From e1d686568c4ca32d7dde3deb53313e59dfd1bd05 Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Fri, 30 Oct 2026 15:33:05 +0000 Subject: [PATCH 1/5] chore(forge): camelCase tool names and arguments grouped by place Bumps forge to cloudflare/forge@8bd67ce (cloudflare/forge#71), which names tools with each group and the method in camelCase joined by `_` and groups arguments by where they go: `path`, `query` and `headers`, keyed by wire name, next to `body`. Regenerated from the same pinned release, so the spec artifacts are unchanged. The Cloudflare policy now makes `path.account_id` and `path.account_or_zone_id` optional, and `path` itself when nothing else in it is required. plan() reads and fills the account inside `path`. 2,055 of the 3,041 tools under ?codemode=false&experimentalForge=true are renamed, for example zero_trust_access_applications_list is now zeroTrust_access_applications_list. --- AGENTS.md | 6 +- forge.json | 2 +- src/forge-tools/cloudflare.ts | 52 +- src/forge-tools/plan.ts | 35 +- src/generated/forge-mcp/_/tool.ts | 58 +- .../forge-mcp/abuseReports/appeals/outputs.ts | 2 +- .../forge-mcp/abuseReports/appeals/tools.ts | 58 +- .../forge-mcp/abuseReports/emails/outputs.ts | 4 +- .../forge-mcp/abuseReports/emails/tools.ts | 164 +- .../abuseReports/mitigations/outputs.ts | 8 +- .../abuseReports/mitigations/schemas.ts | 14 +- .../abuseReports/mitigations/tools.ts | 273 +- .../forge-mcp/abuseReports/outputs.ts | 108 +- .../forge-mcp/abuseReports/schemas.ts | 32 +- src/generated/forge-mcp/abuseReports/tools.ts | 756 ++-- .../accounts/applications/outputs.ts | 50 +- .../forge-mcp/accounts/applications/tools.ts | 828 ++-- .../accounts/billing/history/outputs.ts | 2 +- .../accounts/billing/history/tools.ts | 99 +- .../forge-mcp/accounts/billing/outputs.ts | 12 +- .../billing/paymentMethods/outputs.ts | 6 +- .../billing/paymentMethods/schemas.ts | 2 +- .../accounts/billing/paymentMethods/tools.ts | 327 +- .../forge-mcp/accounts/billing/tools.ts | 311 +- .../forge-mcp/accounts/categories/outputs.ts | 14 +- .../forge-mcp/accounts/categories/tools.ts | 185 +- .../accounts/entitlements/outputs.ts | 14 +- .../forge-mcp/accounts/entitlements/tools.ts | 60 +- .../forge-mcp/accounts/logs/audit/outputs.ts | 12 +- .../forge-mcp/accounts/logs/audit/tools.ts | 1204 +++--- .../forge-mcp/accounts/members/outputs.ts | 6 +- .../forge-mcp/accounts/members/schemas.ts | 10 +- .../forge-mcp/accounts/members/tools.ts | 761 ++-- .../forge-mcp/accounts/organizations/tools.ts | 48 +- src/generated/forge-mcp/accounts/outputs.ts | 22 +- .../forge-mcp/accounts/profile/tools.ts | 58 +- src/generated/forge-mcp/accounts/schemas.ts | 6 +- .../accounts/subscriptions/outputs.ts | 8 +- .../accounts/subscriptions/schemas.ts | 2 +- .../forge-mcp/accounts/subscriptions/tools.ts | 736 ++-- .../accounts/tokens/permissionGroups/tools.ts | 83 +- .../forge-mcp/accounts/tokens/tools.ts | 903 +++-- src/generated/forge-mcp/accounts/tools.ts | 332 +- .../accounts/transformations/outputs.ts | 2 +- .../accounts/transformations/tools.ts | 38 +- .../forge-mcp/accounts/utBilling/outputs.ts | 4 +- .../forge-mcp/accounts/utBilling/tools.ts | 100 +- .../forge-mcp/acm/customTrustStore/outputs.ts | 16 +- .../forge-mcp/acm/customTrustStore/schemas.ts | 4 +- .../forge-mcp/acm/customTrustStore/tools.ts | 369 +- .../forge-mcp/acm/totalTls/outputs.ts | 8 +- .../forge-mcp/acm/totalTls/schemas.ts | 4 +- src/generated/forge-mcp/acm/totalTls/tools.ts | 118 +- .../addressing/addressMaps/accounts/tools.ts | 114 +- .../addressing/addressMaps/ips/tools.ts | 202 +- .../addressing/addressMaps/outputs.ts | 36 +- .../addressing/addressMaps/schemas.ts | 4 +- .../forge-mcp/addressing/addressMaps/tools.ts | 472 ++- .../addressing/addressMaps/zones/tools.ts | 202 +- .../forge-mcp/addressing/leases/outputs.ts | 14 +- .../forge-mcp/addressing/leases/schemas.ts | 2 +- .../forge-mcp/addressing/leases/tools.ts | 84 +- .../addressing/loaDocuments/outputs.ts | 14 +- .../addressing/loaDocuments/tools.ts | 144 +- src/generated/forge-mcp/addressing/outputs.ts | 20 +- .../prefixes/bgpPrefixes/outputs.ts | 28 +- .../addressing/prefixes/bgpPrefixes/tools.ts | 541 +-- .../prefixes/delegations/outputs.ts | 12 +- .../addressing/prefixes/delegations/tools.ts | 234 +- .../forge-mcp/addressing/prefixes/outputs.ts | 32 +- .../prefixes/serviceBindings/outputs.ts | 6 +- .../prefixes/serviceBindings/tools.ts | 281 +- .../forge-mcp/addressing/prefixes/tools.ts | 518 +-- .../addressing/prefixes/validate/tools.ts | 152 +- .../addressing/regionalHostnames/outputs.ts | 18 +- .../regionalHostnames/regions/tools.ts | 48 +- .../addressing/regionalHostnames/tools.ts | 294 +- .../forge-mcp/addressing/services/tools.ts | 44 +- src/generated/forge-mcp/agentMemory/tools.ts | 633 +-- src/generated/forge-mcp/ai/authors/tools.ts | 14 +- .../forge-mcp/ai/finetunes/assets/tools.ts | 52 +- .../forge-mcp/ai/finetunes/public/tools.ts | 53 +- src/generated/forge-mcp/ai/finetunes/tools.ts | 52 +- src/generated/forge-mcp/ai/models/tools.ts | 123 +- src/generated/forge-mcp/ai/tasks/tools.ts | 14 +- src/generated/forge-mcp/ai/tools.ts | 136 +- .../forge-mcp/aiAudit/robots/outputs.ts | 14 +- .../forge-mcp/aiAudit/robots/tools.ts | 115 +- .../aiGateway/customDomains/tools.ts | 183 +- .../aiGateway/customProviders/tools.ts | 165 +- .../forge-mcp/aiGateway/datasets/tools.ts | 207 +- .../dynamicRouting/deployments/tools.ts | 66 +- .../aiGateway/dynamicRouting/tools.ts | 171 +- .../dynamicRouting/versions/tools.ts | 106 +- .../aiGateway/evaluationTypes/tools.ts | 69 +- .../forge-mcp/aiGateway/evaluations/tools.ts | 173 +- .../aiGateway/gateways/providers/tools.ts | 181 +- .../forge-mcp/aiGateway/gateways/tools.ts | 191 +- .../forge-mcp/aiGateway/logs/tools.ts | 810 ++-- .../forge-mcp/aiSearch/items/tools.ts | 569 +-- .../forge-mcp/aiSearch/jobs/tools.ts | 274 +- .../forge-mcp/aiSearch/namespace/tools.ts | 153 +- .../forge-mcp/aiSearch/tokens/tools.ts | 159 +- src/generated/forge-mcp/aiSearch/tools.ts | 511 ++- .../aiSecurity/customTopics/outputs.ts | 6 +- .../aiSecurity/customTopics/schemas.ts | 4 +- .../aiSecurity/customTopics/tools.ts | 118 +- src/generated/forge-mcp/aiSecurity/outputs.ts | 6 +- src/generated/forge-mcp/aiSecurity/schemas.ts | 4 +- src/generated/forge-mcp/aiSecurity/tools.ts | 104 +- .../alerting/availableAlerts/outputs.ts | 12 +- .../alerting/availableAlerts/tools.ts | 76 +- .../alerting/destinations/eligible/outputs.ts | 10 +- .../alerting/destinations/eligible/tools.ts | 66 +- .../destinations/pagerduty/outputs.ts | 10 +- .../destinations/pagerduty/schemas.ts | 2 +- .../alerting/destinations/pagerduty/tools.ts | 186 +- .../alerting/destinations/webhooks/outputs.ts | 22 +- .../alerting/destinations/webhooks/schemas.ts | 4 +- .../alerting/destinations/webhooks/tools.ts | 330 +- .../forge-mcp/alerting/history/outputs.ts | 16 +- .../forge-mcp/alerting/history/tools.ts | 165 +- src/generated/forge-mcp/alerting/outputs.ts | 22 +- .../alerting/policies/email/outputs.ts | 8 +- .../alerting/policies/email/tools.ts | 195 +- .../forge-mcp/alerting/policies/outputs.ts | 20 +- .../forge-mcp/alerting/policies/schemas.ts | 2 +- .../forge-mcp/alerting/policies/tools.ts | 424 +- src/generated/forge-mcp/alerting/schemas.ts | 6 +- .../forge-mcp/alerting/silences/outputs.ts | 8 +- .../forge-mcp/alerting/silences/schemas.ts | 2 +- .../forge-mcp/alerting/silences/tools.ts | 259 +- .../analytics/latency/colos/tools.ts | 48 +- .../forge-mcp/analytics/latency/outputs.ts | 10 +- .../forge-mcp/analytics/latency/schemas.ts | 2 +- .../forge-mcp/analytics/latency/tools.ts | 61 +- .../dataSecurity/contentFindings/tools.ts | 50 +- .../query/dataSecurity/findings/outputs.ts | 4 +- .../query/dataSecurity/findings/tools.ts | 102 +- .../forge-mcp/analytics/query/outputs.ts | 18 +- .../forge-mcp/analytics/query/tools.ts | 160 +- .../sql/accounts/introspection/tools.ts | 147 +- .../forge-mcp/analytics/sql/accounts/tools.ts | 122 +- .../forge-mcp/analytics/sql/tools.ts | 48 +- .../forge-mcp/apiSecurity/outputs.ts | 2 +- .../schemaValidation/schemas/hosts/outputs.ts | 2 +- .../schemaValidation/schemas/hosts/tools.ts | 107 +- .../schemas/operations/tools.ts | 345 +- .../schemaValidation/schemas/outputs.ts | 6 +- .../schemaValidation/schemas/tools.ts | 422 +- .../settings/operations/outputs.ts | 4 +- .../settings/operations/tools.ts | 291 +- .../schemaValidation/settings/outputs.ts | 2 +- .../schemaValidation/settings/schemas.ts | 2 +- .../schemaValidation/settings/tools.ts | 120 +- .../apiSecurity/sessionIdentifiers/outputs.ts | 10 +- .../apiSecurity/sessionIdentifiers/schemas.ts | 8 +- .../apiSecurity/sessionIdentifiers/tools.ts | 166 +- .../configurations/credentials/schemas.ts | 6 +- .../configurations/credentials/tools.ts | 238 +- .../tokenValidation/configurations/outputs.ts | 30 +- .../tokenValidation/configurations/schemas.ts | 28 +- .../tokenValidation/configurations/tools.ts | 611 +-- .../tokenValidation/rules/outputs.ts | 20 +- .../tokenValidation/rules/schemas.ts | 30 +- .../tokenValidation/rules/tools.ts | 911 +++-- .../credentialSets/credentials/outputs.ts | 4 +- .../credentialSets/credentials/schemas.ts | 8 +- .../credentialSets/credentials/tools.ts | 402 +- .../credentialSets/outputs.ts | 2 +- .../credentialSets/schemas.ts | 6 +- .../credentialSets/tools.ts | 301 +- .../vulnerabilityScanner/outputs.ts | 10 +- .../vulnerabilityScanner/scans/outputs.ts | 48 +- .../vulnerabilityScanner/scans/schemas.ts | 6 +- .../vulnerabilityScanner/scans/tools.ts | 521 +-- .../targetEnvironments/outputs.ts | 6 +- .../targetEnvironments/schemas.ts | 10 +- .../targetEnvironments/tools.ts | 361 +- .../forge-mcp/argo/smartRouting/outputs.ts | 18 +- .../forge-mcp/argo/smartRouting/schemas.ts | 6 +- .../forge-mcp/argo/smartRouting/tools.ts | 172 +- .../forge-mcp/argo/tieredCaching/outputs.ts | 6 +- .../forge-mcp/argo/tieredCaching/schemas.ts | 4 +- .../forge-mcp/argo/tieredCaching/tools.ts | 176 +- .../artifacts/namespaces/repos/blobs/tools.ts | 46 +- .../namespaces/repos/commits/tools.ts | 46 +- .../artifacts/namespaces/repos/files/tools.ts | 66 +- .../artifacts/namespaces/repos/logs/tools.ts | 67 +- .../artifacts/namespaces/repos/raw/tools.ts | 52 +- .../namespaces/repos/tokens/tools.ts | 83 +- .../artifacts/namespaces/repos/tools.ts | 265 +- .../artifacts/namespaces/repos/trees/tools.ts | 46 +- .../artifacts/namespaces/tokens/tools.ts | 62 +- .../forge-mcp/artifacts/namespaces/tools.ts | 109 +- src/generated/forge-mcp/auditLogs/tools.ts | 217 +- .../basinCatalog/credentials/tools.ts | 126 +- .../basinCatalog/maintenanceConfigs/tools.ts | 208 +- .../tables/maintenanceConfigs/tools.ts | 332 +- .../tables/maintenanceRuns/tools.ts | 121 +- .../basinCatalog/namespaces/tables/tools.ts | 241 +- .../basinCatalog/namespaces/tools.ts | 145 +- src/generated/forge-mcp/basinCatalog/tools.ts | 349 +- .../forge-mcp/billing/addresses/outputs.ts | 4 +- .../forge-mcp/billing/addresses/schemas.ts | 2 +- .../forge-mcp/billing/addresses/tools.ts | 38 +- .../forge-mcp/billing/profiles/outputs.ts | 2 +- .../forge-mcp/billing/profiles/schemas.ts | 2 +- .../forge-mcp/billing/profiles/tools.ts | 250 +- .../forge-mcp/billing/ratePlans/outputs.ts | 2 +- .../forge-mcp/billing/ratePlans/tools.ts | 48 +- .../billing/spendPolicies/activity/outputs.ts | 4 +- .../billing/spendPolicies/activity/tools.ts | 109 +- .../billing/spendPolicies/audit/outputs.ts | 4 +- .../billing/spendPolicies/audit/tools.ts | 89 +- .../billing/spendPolicies/outputs.ts | 22 +- .../billing/spendPolicies/schemas.ts | 10 +- .../forge-mcp/billing/spendPolicies/tools.ts | 380 +- .../forge-mcp/billing/usage/outputs.ts | 18 +- .../forge-mcp/billing/usage/schemas.ts | 10 +- .../forge-mcp/billing/usage/tools.ts | 434 +- .../botManagement/feedback/outputs.ts | 12 +- .../botManagement/feedback/schemas.ts | 12 +- .../forge-mcp/botManagement/feedback/tools.ts | 116 +- .../forge-mcp/botManagement/outputs.ts | 80 +- .../forge-mcp/botManagement/schemas.ts | 60 +- .../forge-mcp/botManagement/tools.ts | 556 +-- .../forge-mcp/botnetFeed/asn/schemas.ts | 2 +- .../forge-mcp/botnetFeed/asn/tools.ts | 110 +- .../forge-mcp/botnetFeed/configs/asn/tools.ts | 82 +- src/generated/forge-mcp/botnetFeed/outputs.ts | 6 +- src/generated/forge-mcp/botnetFeed/schemas.ts | 4 +- .../brandProtection/logoMatches/tools.ts | 100 +- .../forge-mcp/brandProtection/logos/tools.ts | 85 +- .../brandProtection/matches/tools.ts | 144 +- .../brandProtection/queries/tools.ts | 115 +- .../forge-mcp/brandProtection/tools.ts | 61 +- .../forge-mcp/brandProtection/trial/tools.ts | 20 +- .../forge-mcp/browserRun/crawl/tools.ts | 160 +- .../devtools/browser/liveView/tools.ts | 32 +- .../devtools/browser/targets/tools.ts | 222 +- .../browserRun/devtools/browser/tools.ts | 173 +- .../browserRun/devtools/json/tools.ts | 49 +- .../browserRun/devtools/session/tools.ts | 75 +- .../browserRun/quickAction/outputs.ts | 2 +- .../forge-mcp/browserRun/quickAction/tools.ts | 437 +- .../browserRun/recording/network/tools.ts | 60 +- .../forge-mcp/browserRun/recording/tools.ts | 30 +- .../forge-mcp/builds/deployHooks/outputs.ts | 8 +- .../forge-mcp/builds/deployHooks/tools.ts | 482 ++- .../forge-mcp/builds/limits/outputs.ts | 2 +- .../forge-mcp/builds/limits/tools.ts | 44 +- .../forge-mcp/builds/logs/outputs.ts | 4 +- src/generated/forge-mcp/builds/logs/tools.ts | 80 +- src/generated/forge-mcp/builds/outputs.ts | 2 +- .../builds/repos/configAutofill/outputs.ts | 4 +- .../builds/repos/configAutofill/tools.ts | 114 +- .../builds/repos/connections/tools.ts | 158 +- .../forge-mcp/builds/tokens/outputs.ts | 8 +- .../forge-mcp/builds/tokens/tools.ts | 203 +- src/generated/forge-mcp/builds/tools.ts | 699 ++-- .../forge-mcp/builds/triggers/cache/tools.ts | 48 +- .../triggers/environmentVariables/tools.ts | 180 +- .../forge-mcp/builds/triggers/outputs.ts | 2 +- .../forge-mcp/builds/triggers/tools.ts | 552 +-- .../forge-mcp/builds/versions/outputs.ts | 2 +- .../forge-mcp/builds/versions/tools.ts | 262 +- .../forge-mcp/builds/workers/tools.ts | 503 +-- .../cache/originCloudRegions/bulk/outputs.ts | 4 +- .../cache/originCloudRegions/bulk/tools.ts | 94 +- .../cache/originCloudRegions/outputs.ts | 6 +- .../originCloudRegions/regions/outputs.ts | 4 +- .../cache/originCloudRegions/regions/tools.ts | 52 +- .../cache/originCloudRegions/schemas.ts | 2 +- .../cache/originCloudRegions/tools.ts | 219 +- src/generated/forge-mcp/cache/outputs.ts | 8 +- src/generated/forge-mcp/cache/schemas.ts | 14 +- .../settings/regionalTieredCache/outputs.ts | 6 +- .../settings/regionalTieredCache/schemas.ts | 2 +- .../settings/regionalTieredCache/tools.ts | 174 +- .../cache/settings/reserve/outputs.ts | 16 +- .../cache/settings/reserve/schemas.ts | 2 +- .../forge-mcp/cache/settings/reserve/tools.ts | 282 +- .../settings/smartTieredCache/outputs.ts | 6 +- .../settings/smartTieredCache/schemas.ts | 2 +- .../cache/settings/smartTieredCache/tools.ts | 308 +- .../cache/settings/variants/outputs.ts | 6 +- .../cache/settings/variants/schemas.ts | 2 +- .../cache/settings/variants/tools.ts | 228 +- src/generated/forge-mcp/cache/tools.ts | 222 +- .../clientSideSecurity/connections/outputs.ts | 6 +- .../clientSideSecurity/connections/tools.ts | 275 +- .../clientSideSecurity/cookies/outputs.ts | 6 +- .../clientSideSecurity/cookies/tools.ts | 311 +- .../forge-mcp/clientSideSecurity/outputs.ts | 14 +- .../clientSideSecurity/policies/outputs.ts | 18 +- .../clientSideSecurity/policies/schemas.ts | 12 +- .../clientSideSecurity/policies/tools.ts | 408 +- .../forge-mcp/clientSideSecurity/schemas.ts | 2 +- .../clientSideSecurity/scripts/outputs.ts | 24 +- .../clientSideSecurity/scripts/tools.ts | 375 +- .../clientSideSecurity/settings/outputs.ts | 16 +- .../clientSideSecurity/settings/schemas.ts | 6 +- .../clientSideSecurity/settings/tools.ts | 152 +- .../forge-mcp/cloudConnector/rules/outputs.ts | 12 +- .../forge-mcp/cloudConnector/rules/schemas.ts | 6 +- .../forge-mcp/cloudConnector/rules/tools.ts | 108 +- .../cloudforceOne/binaryStorage/tools.ts | 30 +- .../credentialMonitor/domains/tools.ts | 97 +- .../credentialMonitor/matches/tools.ts | 69 +- .../priorityIntelligence/constants/tools.ts | 18 +- .../priorityIntelligence/filters/tools.ts | 20 +- .../interests/backtests/tools.ts | 52 +- .../interests/evaluations/tools.ts | 52 +- .../priorityIntelligence/interests/tools.ts | 139 +- .../priorityIntelligence/matches/tools.ts | 390 +- .../priorityIntelligence/profile/tools.ts | 52 +- .../priorityIntelligence/quota/tools.ts | 18 +- .../priorityIntelligence/tools.ts | 139 +- .../cloudforceOne/requests/assets/tools.ts | 204 +- .../cloudforceOne/requests/constants/tools.ts | 56 +- .../requests/legalResponse/tools.ts | 20 +- .../cloudforceOne/requests/messages/tools.ts | 217 +- .../cloudforceOne/requests/metadata/tools.ts | 81 +- .../cloudforceOne/requests/quota/tools.ts | 56 +- .../forge-mcp/cloudforceOne/requests/tools.ts | 379 +- .../cloudforceOne/requests/types/tools.ts | 26 +- .../cloudforceOne/requests/user/tools.ts | 30 +- .../cloudforceOne/rules/approvals/outputs.ts | 6 +- .../cloudforceOne/rules/approvals/schemas.ts | 2 +- .../cloudforceOne/rules/approvals/tools.ts | 335 +- .../rules/email/approvals/tools.ts | 87 +- .../cloudforceOne/rules/email/outputs.ts | 8 +- .../cloudforceOne/rules/email/schema/tools.ts | 24 +- .../cloudforceOne/rules/email/schemas.ts | 10 +- .../cloudforceOne/rules/email/tools.ts | 470 ++- .../cloudforceOne/rules/exemptions/outputs.ts | 2 +- .../cloudforceOne/rules/exemptions/schemas.ts | 6 +- .../cloudforceOne/rules/exemptions/tools.ts | 122 +- .../cloudforceOne/rules/managed/tools.ts | 24 +- .../forge-mcp/cloudforceOne/rules/outputs.ts | 30 +- .../forge-mcp/cloudforceOne/rules/schemas.ts | 10 +- .../cloudforceOne/rules/stats/outputs.ts | 2 +- .../cloudforceOne/rules/stats/tools.ts | 30 +- .../forge-mcp/cloudforceOne/rules/tools.ts | 663 +-- .../cloudforceOne/rules/tree/outputs.ts | 4 +- .../cloudforceOne/rules/tree/tools.ts | 36 +- .../cloudforceOne/scans/config/outputs.ts | 8 +- .../cloudforceOne/scans/config/schemas.ts | 6 +- .../cloudforceOne/scans/config/tools.ts | 212 +- .../forge-mcp/cloudforceOne/scans/outputs.ts | 6 +- .../cloudforceOne/scans/results/outputs.ts | 2 +- .../cloudforceOne/scans/results/tools.ts | 86 +- .../datasets/access/groups/members/tools.ts | 88 +- .../datasets/access/groups/tools.ts | 118 +- .../datasets/access/permissions/tools.ts | 138 +- .../threatIntel/datasets/tools.ts | 161 +- .../threatIntel/events/attackers/tools.ts | 39 +- .../events/categories/catalog/tools.ts | 20 +- .../threatIntel/events/categories/tools.ts | 149 +- .../threatIntel/events/countries/tools.ts | 20 +- .../threatIntel/events/legacy/raw/tools.ts | 78 +- .../events/legacy/references/tools.ts | 58 +- .../threatIntel/events/legacy/tags/tools.ts | 58 +- .../threatIntel/events/legacy/tools.ts | 20 +- .../threatIntel/events/queries/tools.ts | 124 +- .../threatIntel/events/raw/tools.ts | 40 +- .../threatIntel/events/relationships/tools.ts | 158 +- .../events/targetIndustries/catalog/tools.ts | 20 +- .../events/targetIndustries/legacy/tools.ts | 32 +- .../events/targetIndustries/tools.ts | 39 +- .../cloudforceOne/threatIntel/events/tools.ts | 1562 ++++---- .../indicators/relationships/tools.ts | 349 +- .../threatIntel/indicators/tags/tools.ts | 30 +- .../threatIntel/indicators/tools.ts | 659 +-- .../threatIntel/indicators/types/tools.ts | 67 +- .../cloudforceOne/threatIntel/outputs.ts | 4 +- .../threatIntel/tags/actors/tools.ts | 155 +- .../threatIntel/tags/categories/outputs.ts | 2 +- .../threatIntel/tags/categories/schemas.ts | 2 +- .../threatIntel/tags/categories/tools.ts | 161 +- .../threatIntel/tags/indicators/tools.ts | 183 +- .../threatIntel/tags/relationships/tools.ts | 349 +- .../cloudforceOne/threatIntel/tags/tools.ts | 281 +- .../cloudforceOne/threatIntel/tools.ts | 22 +- .../threatSignals/articles/skills/tools.ts | 120 +- .../threatSignals/articles/tags/tools.ts | 100 +- .../threatSignals/articles/tools.ts | 630 +-- .../threatSignals/categories/tools.ts | 18 +- .../threatSignals/feeds/skills/tools.ts | 58 +- .../threatSignals/feeds/tools.ts | 283 +- .../threatSignals/indicators/tools.ts | 103 +- .../skills/tagCategories/tools.ts | 62 +- .../threatSignals/skills/tools.ts | 143 +- .../cloudforceOne/threatSignals/tools.ts | 56 +- .../forge-mcp/connectorInterrupts/outputs.ts | 8 +- .../forge-mcp/connectorInterrupts/tools.ts | 128 +- .../connectorTelemetryEvents/outputs.ts | 12 +- .../connectorTelemetryEvents/tools.ts | 186 +- .../connectorTelemetrySnapshots/outputs.ts | 30 +- .../connectorTelemetrySnapshots/tools.ts | 222 +- src/generated/forge-mcp/connectors/outputs.ts | 20 +- src/generated/forge-mcp/connectors/tools.ts | 439 +- .../applications/instances/outputs.ts | 18 +- .../applications/instances/tools.ts | 283 +- .../containers/applications/outputs.ts | 92 +- .../applications/rollouts/outputs.ts | 6 +- .../containers/applications/rollouts/tools.ts | 234 +- .../containers/applications/tools.ts | 1141 +++--- .../applications/versions/outputs.ts | 2 +- .../containers/applications/versions/tools.ts | 126 +- .../forge-mcp/containers/images/outputs.ts | 4 +- .../forge-mcp/containers/images/tools.ts | 56 +- src/generated/forge-mcp/containers/outputs.ts | 12 +- .../registries/credentials/outputs.ts | 2 +- .../registries/credentials/tools.ts | 54 +- .../containers/registries/outputs.ts | 10 +- .../forge-mcp/containers/registries/tools.ts | 160 +- .../contentScan/expressions/outputs.ts | 10 +- .../contentScan/expressions/schemas.ts | 4 +- .../contentScan/expressions/tools.ts | 270 +- .../forge-mcp/contentScan/outputs.ts | 10 +- src/generated/forge-mcp/contentScan/tools.ts | 100 +- src/generated/forge-mcp/cps/outputs.ts | 10 +- src/generated/forge-mcp/cps/tools.ts | 46 +- .../forge-mcp/csamScanner/outputs.ts | 12 +- .../forge-mcp/csamScanner/schemas.ts | 6 +- src/generated/forge-mcp/csamScanner/tools.ts | 108 +- src/generated/forge-mcp/customCsrs/outputs.ts | 10 +- src/generated/forge-mcp/customCsrs/schemas.ts | 4 +- src/generated/forge-mcp/customCsrs/tools.ts | 361 +- .../certificatePack/certificates/tools.ts | 246 +- .../customHostnames/fallbackOrigin/outputs.ts | 14 +- .../customHostnames/fallbackOrigin/schemas.ts | 2 +- .../customHostnames/fallbackOrigin/tools.ts | 202 +- .../forge-mcp/customHostnames/outputs.ts | 40 +- .../customHostnames/quota/outputs.ts | 6 +- .../forge-mcp/customHostnames/quota/tools.ts | 58 +- .../forge-mcp/customHostnames/schemas.ts | 20 +- .../forge-mcp/customHostnames/tools.ts | 857 ++-- .../forge-mcp/customNameservers/outputs.ts | 8 +- .../forge-mcp/customNameservers/schemas.ts | 2 +- .../forge-mcp/customNameservers/tools.ts | 230 +- .../customPages/accountAssets/outputs.ts | 12 +- .../customPages/accountAssets/schemas.ts | 6 +- .../customPages/accountAssets/tools.ts | 441 +- .../customPages/accountCustomPages/outputs.ts | 10 +- .../previewTokens/outputs.ts | 4 +- .../previewTokens/schemas.ts | 2 +- .../accountCustomPages/previewTokens/tools.ts | 76 +- .../customPages/accountCustomPages/schemas.ts | 6 +- .../customPages/accountCustomPages/tools.ts | 264 +- .../forge-mcp/customPages/outputs.ts | 12 +- .../forge-mcp/customPages/schemas.ts | 2 +- src/generated/forge-mcp/d1/outputs.ts | 36 +- src/generated/forge-mcp/d1/schemas.ts | 18 +- .../forge-mcp/d1/timeTravel/outputs.ts | 4 +- .../forge-mcp/d1/timeTravel/schemas.ts | 4 +- .../forge-mcp/d1/timeTravel/tools.ts | 158 +- src/generated/forge-mcp/d1/tools.ts | 740 ++-- .../endpointHealthchecks/outputs.ts | 12 +- .../endpointHealthchecks/schemas.ts | 6 +- .../diagnostics/endpointHealthchecks/tools.ts | 304 +- .../forge-mcp/diagnostics/outputs.ts | 6 +- .../forge-mcp/diagnostics/schemas.ts | 2 +- .../diagnostics/traceroutes/outputs.ts | 48 +- .../diagnostics/traceroutes/schemas.ts | 16 +- .../diagnostics/traceroutes/tools.ts | 214 +- src/generated/forge-mcp/dls/outputs.ts | 10 +- .../prefixBindings/outputs.ts | 6 +- .../regionalServices/prefixBindings/tools.ts | 273 +- .../forge-mcp/dls/regions/outputs.ts | 6 +- src/generated/forge-mcp/dls/regions/tools.ts | 143 +- .../forge-mcp/dns/dnssec/list/outputs.ts | 14 +- .../forge-mcp/dns/dnssec/list/tools.ts | 74 +- src/generated/forge-mcp/dns/dnssec/outputs.ts | 40 +- src/generated/forge-mcp/dns/dnssec/tools.ts | 260 +- .../forge-mcp/dns/domainconnect/outputs.ts | 6 +- .../forge-mcp/dns/domainconnect/schemas.ts | 2 +- .../forge-mcp/dns/domainconnect/tools.ts | 127 +- src/generated/forge-mcp/dns/outputs.ts | 8 +- .../forge-mcp/dns/records/outputs.ts | 82 +- .../forge-mcp/dns/records/schemas.ts | 98 +- src/generated/forge-mcp/dns/records/tools.ts | 2452 ++++++------ src/generated/forge-mcp/dns/schemas.ts | 2 +- .../account/nameserverSets/outputs.ts | 32 +- .../account/nameserverSets/schemas.ts | 16 +- .../settings/account/nameserverSets/tools.ts | 533 +-- .../forge-mcp/dns/settings/account/outputs.ts | 44 +- .../forge-mcp/dns/settings/account/schemas.ts | 28 +- .../forge-mcp/dns/settings/account/tools.ts | 308 +- .../dns/settings/account/views/outputs.ts | 16 +- .../dns/settings/account/views/schemas.ts | 16 +- .../dns/settings/account/views/tools.ts | 508 +-- .../forge-mcp/dns/usage/account/outputs.ts | 2 +- .../forge-mcp/dns/usage/account/tools.ts | 58 +- .../dns/zoneTransfers/acls/outputs.ts | 10 +- .../dns/zoneTransfers/acls/schemas.ts | 6 +- .../forge-mcp/dns/zoneTransfers/acls/tools.ts | 312 +- .../dns/zoneTransfers/forceAxfr/outputs.ts | 4 +- .../dns/zoneTransfers/forceAxfr/tools.ts | 50 +- .../dns/zoneTransfers/incoming/outputs.ts | 4 +- .../dns/zoneTransfers/incoming/schemas.ts | 4 +- .../dns/zoneTransfers/incoming/tools.ts | 254 +- .../dns/zoneTransfers/outgoing/outputs.ts | 14 +- .../dns/zoneTransfers/outgoing/schemas.ts | 2 +- .../zoneTransfers/outgoing/status/tools.ts | 50 +- .../dns/zoneTransfers/outgoing/tools.ts | 354 +- .../forge-mcp/dns/zoneTransfers/outputs.ts | 26 +- .../dns/zoneTransfers/peers/outputs.ts | 16 +- .../dns/zoneTransfers/peers/schemas.ts | 12 +- .../dns/zoneTransfers/peers/tools.ts | 374 +- .../forge-mcp/dns/zoneTransfers/schemas.ts | 10 +- .../dns/zoneTransfers/tsigs/outputs.ts | 16 +- .../dns/zoneTransfers/tsigs/schemas.ts | 10 +- .../dns/zoneTransfers/tsigs/tools.ts | 336 +- .../forge-mcp/dnsFirewall/outputs.ts | 44 +- .../dnsFirewall/reverseDns/outputs.ts | 4 +- .../dnsFirewall/reverseDns/schemas.ts | 2 +- .../forge-mcp/dnsFirewall/reverseDns/tools.ts | 114 +- .../forge-mcp/dnsFirewall/schemas.ts | 30 +- src/generated/forge-mcp/dnsFirewall/tools.ts | 599 +-- .../namespaces/objects/outputs.ts | 4 +- .../namespaces/objects/tools.ts | 93 +- .../durableObjects/namespaces/outputs.ts | 6 +- .../durableObjects/namespaces/schemas.ts | 8 +- .../durableObjects/namespaces/tools.ts | 143 +- .../emailAuth/dmarcReports/outputs.ts | 12 +- .../emailAuth/dmarcReports/schemas.ts | 2 +- .../forge-mcp/emailAuth/dmarcReports/tools.ts | 134 +- src/generated/forge-mcp/emailAuth/outputs.ts | 6 +- src/generated/forge-mcp/emailAuth/schemas.ts | 2 +- .../forge-mcp/emailAuth/spf/outputs.ts | 8 +- .../forge-mcp/emailAuth/spf/tools.ts | 84 +- .../forge-mcp/emailDomains/outputs.ts | 22 +- src/generated/forge-mcp/emailDomains/tools.ts | 438 +- .../emailRouting/addresses/outputs.ts | 14 +- .../forge-mcp/emailRouting/addresses/tools.ts | 433 +- .../forge-mcp/emailRouting/dns/tools.ts | 167 +- .../forge-mcp/emailRouting/outputs.ts | 22 +- .../emailRouting/rules/catchAll/outputs.ts | 4 +- .../emailRouting/rules/catchAll/tools.ts | 196 +- .../forge-mcp/emailRouting/rules/outputs.ts | 48 +- .../forge-mcp/emailRouting/rules/schemas.ts | 8 +- .../forge-mcp/emailRouting/rules/tools.ts | 689 ++-- .../forge-mcp/emailRouting/settings/tools.ts | 239 +- src/generated/forge-mcp/emailRouting/tools.ts | 175 +- .../emailSecurity/allowPolicies/outputs.ts | 8 +- .../emailSecurity/allowPolicies/schemas.ts | 6 +- .../emailSecurity/allowPolicies/tools.ts | 581 +-- .../analytics/monthlyReport/tools.ts | 40 +- .../emailSecurity/blockSenders/outputs.ts | 8 +- .../emailSecurity/blockSenders/schemas.ts | 6 +- .../emailSecurity/blockSenders/tools.ts | 541 +-- .../bulkActions/messages/outputs.ts | 6 +- .../bulkActions/messages/schemas.ts | 2 +- .../bulkActions/messages/tools.ts | 181 +- .../emailSecurity/bulkActions/outputs.ts | 8 +- .../emailSecurity/bulkActions/schemas.ts | 8 +- .../emailSecurity/bulkActions/tools.ts | 413 +- .../emailSecurity/contentPolicies/outputs.ts | 10 +- .../emailSecurity/contentPolicies/schemas.ts | 8 +- .../emailSecurity/contentPolicies/tools.ts | 477 ++- .../emailSecurity/domains/outputs.ts | 24 +- .../emailSecurity/domains/schemas.ts | 16 +- .../forge-mcp/emailSecurity/domains/tools.ts | 813 ++-- .../domains/verification/outputs.ts | 2 +- .../domains/verification/tools.ts | 66 +- .../impersonationRegistry/outputs.ts | 10 +- .../impersonationRegistry/schemas.ts | 8 +- .../impersonationRegistry/tools.ts | 395 +- .../investigate/actionLog/outputs.ts | 4 +- .../investigate/actionLog/tools.ts | 101 +- .../investigate/detections/outputs.ts | 12 +- .../investigate/detections/tools.ts | 108 +- .../emailSecurity/investigate/outputs.ts | 4 +- .../investigate/preview/outputs.ts | 2 +- .../investigate/preview/tools.ts | 98 +- .../emailSecurity/investigate/raw/outputs.ts | 2 +- .../emailSecurity/investigate/raw/tools.ts | 60 +- .../emailSecurity/investigate/tools.ts | 526 +-- .../investigate/trace/outputs.ts | 4 +- .../emailSecurity/investigate/trace/tools.ts | 66 +- .../forge-mcp/emailSecurity/outputs.ts | 36 +- .../phishguard/reports/outputs.ts | 4 +- .../emailSecurity/phishguard/reports/tools.ts | 145 +- .../forge-mcp/emailSecurity/schemas.ts | 14 +- .../sendingDomainRestrictions/outputs.ts | 8 +- .../sendingDomainRestrictions/schemas.ts | 6 +- .../sendingDomainRestrictions/tools.ts | 359 +- .../emailSecurity/submissions/outputs.ts | 10 +- .../emailSecurity/submissions/schemas.ts | 6 +- .../emailSecurity/submissions/tools.ts | 317 +- .../emailSecurity/trustedDomains/outputs.ts | 8 +- .../emailSecurity/trustedDomains/schemas.ts | 6 +- .../emailSecurity/trustedDomains/tools.ts | 501 ++- .../urlIgnorePatterns/outputs.ts | 6 +- .../urlIgnorePatterns/schemas.ts | 6 +- .../emailSecurity/urlIgnorePatterns/tools.ts | 341 +- .../forge-mcp/emailSending/limits/outputs.ts | 4 +- .../forge-mcp/emailSending/limits/tools.ts | 45 +- .../forge-mcp/emailSending/outputs.ts | 4 +- .../emailSending/reputation/outputs.ts | 8 +- .../emailSending/reputation/tools.ts | 57 +- .../forge-mcp/emailSending/schemas.ts | 12 +- .../emailSending/subdomains/dns/outputs.ts | 2 +- .../emailSending/subdomains/dns/tools.ts | 162 +- .../emailSending/subdomains/outputs.ts | 12 +- .../subdomains/reputation/outputs.ts | 4 +- .../subdomains/reputation/tools.ts | 86 +- .../emailSending/subdomains/tools.ts | 318 +- .../emailSending/suppressions/tools.ts | 247 +- src/generated/forge-mcp/emailSending/tools.ts | 104 +- .../forge-mcp/fieldExtractors/outputs.ts | 14 +- .../forge-mcp/fieldExtractors/tools.ts | 154 +- .../forge-mcp/firewall/accessRules/outputs.ts | 10 +- .../forge-mcp/firewall/accessRules/schemas.ts | 2 +- .../forge-mcp/firewall/accessRules/tools.ts | 727 ++-- .../forge-mcp/firewall/lockdowns/outputs.ts | 22 +- .../forge-mcp/firewall/lockdowns/schemas.ts | 10 +- .../forge-mcp/firewall/lockdowns/tools.ts | 543 +-- src/generated/forge-mcp/firewall/outputs.ts | 4 +- .../firewall/payloadLogging/outputs.ts | 4 +- .../firewall/payloadLogging/tools.ts | 176 +- src/generated/forge-mcp/firewall/schemas.ts | 2 +- .../forge-mcp/firewall/uaRules/outputs.ts | 14 +- .../forge-mcp/firewall/uaRules/schemas.ts | 2 +- .../forge-mcp/firewall/uaRules/tools.ts | 441 +- .../flagship/apps/definitions/outputs.ts | 4 +- .../flagship/apps/definitions/tools.ts | 125 +- .../forge-mcp/flagship/apps/evaluate/tools.ts | 80 +- .../flagship/apps/flags/changelog/outputs.ts | 4 +- .../flagship/apps/flags/changelog/tools.ts | 172 +- .../forge-mcp/flagship/apps/flags/outputs.ts | 10 +- .../forge-mcp/flagship/apps/flags/tools.ts | 683 ++-- .../forge-mcp/flagship/apps/outputs.ts | 36 +- .../forge-mcp/flagship/apps/tools.ts | 162 +- src/generated/forge-mcp/fraud/outputs.ts | 18 +- src/generated/forge-mcp/fraud/tools.ts | 134 +- .../googleTagGateway/config/outputs.ts | 8 +- .../googleTagGateway/config/schemas.ts | 4 +- .../googleTagGateway/config/tools.ts | 84 +- .../forge-mcp/healthchecks/outputs.ts | 54 +- .../forge-mcp/healthchecks/previews/tools.ts | 340 +- src/generated/forge-mcp/healthchecks/tools.ts | 743 ++-- .../integration/planetscale/outputs.ts | 2 +- .../integration/planetscale/tools.ts | 38 +- src/generated/forge-mcp/hyperdrive/outputs.ts | 40 +- src/generated/forge-mcp/hyperdrive/schemas.ts | 50 +- src/generated/forge-mcp/hyperdrive/tools.ts | 801 ++-- .../forge-mcp/iam/oauthClients/outputs.ts | 24 +- .../forge-mcp/iam/oauthClients/tools.ts | 496 ++- .../forge-mcp/iam/oauthScopes/outputs.ts | 4 +- .../forge-mcp/iam/oauthScopes/tools.ts | 44 +- .../forge-mcp/iam/permissionGroups/outputs.ts | 4 +- .../forge-mcp/iam/permissionGroups/tools.ts | 181 +- .../forge-mcp/iam/resourceGroups/schemas.ts | 2 +- .../forge-mcp/iam/resourceGroups/tools.ts | 327 +- src/generated/forge-mcp/iam/sso/outputs.ts | 14 +- src/generated/forge-mcp/iam/sso/tools.ts | 388 +- .../iam/userGroups/members/outputs.ts | 4 +- .../forge-mcp/iam/userGroups/members/tools.ts | 347 +- .../forge-mcp/iam/userGroups/outputs.ts | 6 +- .../forge-mcp/iam/userGroups/tools.ts | 549 +-- src/generated/forge-mcp/images/flows/tools.ts | 32 +- .../forge-mcp/images/import/outputs.ts | 22 +- .../images/import/sources/outputs.ts | 14 +- .../forge-mcp/images/import/sources/tools.ts | 381 +- .../forge-mcp/images/import/tools.ts | 514 ++- .../forge-mcp/images/keys/outputs.ts | 10 +- src/generated/forge-mcp/images/keys/tools.ts | 170 +- src/generated/forge-mcp/images/outputs.ts | 52 +- src/generated/forge-mcp/images/tools.ts | 527 +-- .../forge-mcp/images/variants/outputs.ts | 26 +- .../forge-mcp/images/variants/tools.ts | 404 +- src/generated/forge-mcp/intel/asn/outputs.ts | 4 +- .../forge-mcp/intel/asn/subnets/outputs.ts | 6 +- .../forge-mcp/intel/asn/subnets/tools.ts | 60 +- src/generated/forge-mcp/intel/asn/tools.ts | 60 +- .../attackSurfaceReport/issueTypes/tools.ts | 40 +- src/generated/forge-mcp/intel/dns/outputs.ts | 10 +- src/generated/forge-mcp/intel/dns/tools.ts | 101 +- .../forge-mcp/intel/domainHistory/outputs.ts | 4 +- .../forge-mcp/intel/domainHistory/tools.ts | 80 +- .../forge-mcp/intel/domains/bulks/outputs.ts | 2 +- .../forge-mcp/intel/domains/bulks/tools.ts | 147 +- .../forge-mcp/intel/domains/outputs.ts | 26 +- .../forge-mcp/intel/domains/tools.ts | 155 +- .../intel/indicatorFeeds/downloads/tools.ts | 70 +- .../forge-mcp/intel/indicatorFeeds/outputs.ts | 46 +- .../indicatorFeeds/permissions/outputs.ts | 8 +- .../indicatorFeeds/permissions/schemas.ts | 2 +- .../intel/indicatorFeeds/permissions/tools.ts | 188 +- .../intel/indicatorFeeds/providers/outputs.ts | 4 +- .../intel/indicatorFeeds/providers/schemas.ts | 2 +- .../intel/indicatorFeeds/providers/tools.ts | 62 +- .../forge-mcp/intel/indicatorFeeds/schemas.ts | 12 +- .../forge-mcp/intel/indicatorFeeds/tools.ts | 392 +- .../intel/indicatorFeeds/uploads/outputs.ts | 4 +- .../intel/indicatorFeeds/uploads/tools.ts | 84 +- .../forge-mcp/intel/ipLists/outputs.ts | 4 +- .../forge-mcp/intel/ipLists/tools.ts | 60 +- src/generated/forge-mcp/intel/ips/outputs.ts | 10 +- src/generated/forge-mcp/intel/ips/tools.ts | 95 +- .../intel/miscategorizations/tools.ts | 38 +- src/generated/forge-mcp/intel/outputs.ts | 16 +- .../intel/sinkholes/ingresses/outputs.ts | 6 +- .../intel/sinkholes/ingresses/schemas.ts | 2 +- .../intel/sinkholes/ingresses/tools.ts | 290 +- .../forge-mcp/intel/sinkholes/outputs.ts | 14 +- .../forge-mcp/intel/sinkholes/schemas.ts | 4 +- .../forge-mcp/intel/sinkholes/tools.ts | 226 +- src/generated/forge-mcp/intel/urls/outputs.ts | 6 +- src/generated/forge-mcp/intel/urls/tools.ts | 74 +- .../forge-mcp/intel/whois/outputs.ts | 14 +- .../forge-mcp/intel/whois/schemas.ts | 2 +- src/generated/forge-mcp/intel/whois/tools.ts | 71 +- .../forge-mcp/internal/submit/tools.ts | 4 +- src/generated/forge-mcp/ips/outputs.ts | 18 +- src/generated/forge-mcp/ips/tools.ts | 67 +- src/generated/forge-mcp/k2/streams/outputs.ts | 18 +- src/generated/forge-mcp/k2/streams/schemas.ts | 14 +- .../k2/streams/subscriptions/outputs.ts | 6 +- .../k2/streams/subscriptions/tools.ts | 64 +- src/generated/forge-mcp/k2/streams/tools.ts | 347 +- src/generated/forge-mcp/kv/bulk/outputs.ts | 6 +- src/generated/forge-mcp/kv/bulk/schemas.ts | 6 +- src/generated/forge-mcp/kv/bulk/tools.ts | 206 +- src/generated/forge-mcp/kv/keys/outputs.ts | 6 +- src/generated/forge-mcp/kv/keys/tools.ts | 229 +- src/generated/forge-mcp/kv/metadata/tools.ts | 76 +- .../forge-mcp/kv/namespaces/outputs.ts | 12 +- .../forge-mcp/kv/namespaces/schemas.ts | 8 +- .../forge-mcp/kv/namespaces/tools.ts | 377 +- src/generated/forge-mcp/kv/outputs.ts | 18 +- src/generated/forge-mcp/kv/schemas.ts | 14 +- .../detections/outputs.ts | 10 +- .../detections/schemas.ts | 4 +- .../detections/tools.ts | 300 +- .../leakedCredentialChecks/outputs.ts | 6 +- .../leakedCredentialChecks/schemas.ts | 2 +- .../forge-mcp/leakedCredentialChecks/tools.ts | 104 +- src/generated/forge-mcp/live/tools.ts | 4 +- .../loadBalancers/account/outputs.ts | 68 +- .../loadBalancers/account/schemas.ts | 50 +- .../forge-mcp/loadBalancers/account/tools.ts | 1326 +++--- .../loadBalancers/account/usage/outputs.ts | 2 +- .../loadBalancers/account/usage/tools.ts | 52 +- .../loadBalancers/monitorGroups/outputs.ts | 8 +- .../monitorGroups/references/outputs.ts | 2 +- .../monitorGroups/references/tools.ts | 58 +- .../loadBalancers/monitorGroups/schemas.ts | 4 +- .../loadBalancers/monitorGroups/tools.ts | 396 +- .../loadBalancers/monitors/previews/tools.ts | 138 +- .../monitors/references/tools.ts | 58 +- .../forge-mcp/loadBalancers/monitors/tools.ts | 878 ++-- .../loadBalancers/pools/health/tools.ts | 194 +- .../loadBalancers/pools/references/tools.ts | 58 +- .../forge-mcp/loadBalancers/pools/tools.ts | 1401 +++---- .../loadBalancers/previews/schemas.ts | 2 +- .../forge-mcp/loadBalancers/previews/tools.ts | 76 +- .../loadBalancers/regions/outputs.ts | 2 +- .../loadBalancers/regions/schemas.ts | 2 +- .../forge-mcp/loadBalancers/regions/tools.ts | 145 +- .../forge-mcp/loadBalancers/schemas.ts | 2 +- .../loadBalancers/searches/outputs.ts | 6 +- .../forge-mcp/loadBalancers/searches/tools.ts | 127 +- .../logpush/accountDatasets/fields/outputs.ts | 2 +- .../logpush/accountDatasets/fields/tools.ts | 70 +- .../logpush/accountDatasets/jobs/tools.ts | 179 +- .../forge-mcp/logpush/accountJobs/outputs.ts | 2 +- .../forge-mcp/logpush/accountJobs/tools.ts | 638 +-- .../logpush/accountOwnership/outputs.ts | 2 +- .../logpush/accountOwnership/tools.ts | 62 +- .../accountOwnership/validate/outputs.ts | 2 +- .../accountOwnership/validate/tools.ts | 62 +- .../accountValidate/destination/tools.ts | 62 +- .../logpush/accountValidate/origin/tools.ts | 62 +- .../logpush/accountValidate/outputs.ts | 4 +- .../logpush/accountValidate/tools.ts | 62 +- .../forge-mcp/logpush/edge/outputs.ts | 16 +- .../forge-mcp/logpush/edge/schemas.ts | 2 +- src/generated/forge-mcp/logpush/edge/tools.ts | 144 +- src/generated/forge-mcp/logpush/outputs.ts | 44 +- .../logpush/transformers/content/outputs.ts | 2 +- .../logpush/transformers/content/tools.ts | 63 +- .../forge-mcp/logpush/transformers/outputs.ts | 20 +- .../forge-mcp/logpush/transformers/tools.ts | 358 +- .../logpush/transformers/versions/outputs.ts | 4 +- .../logpush/transformers/versions/tools.ts | 71 +- .../logs/control/cmb/config/outputs.ts | 10 +- .../logs/control/cmb/config/tools.ts | 138 +- .../forge-mcp/logs/control/outputs.ts | 6 +- .../logs/control/retention/outputs.ts | 6 +- .../forge-mcp/logs/control/retention/tools.ts | 97 +- .../forge-mcp/logs/datasets/outputs.ts | 18 +- .../forge-mcp/logs/datasets/tools.ts | 385 +- src/generated/forge-mcp/logs/list/tools.ts | 106 +- src/generated/forge-mcp/logs/outputs.ts | 6 +- src/generated/forge-mcp/logs/rayid/tools.ts | 67 +- .../forge-mcp/logs/received/fields/outputs.ts | 2 +- .../forge-mcp/logs/received/fields/tools.ts | 30 +- .../forge-mcp/logs/received/tools.ts | 102 +- .../forge-mcp/logs/retrieve/tools.ts | 96 +- .../configs/full/tools.ts | 92 +- .../magicNetworkMonitoring/configs/outputs.ts | 16 +- .../magicNetworkMonitoring/configs/schemas.ts | 12 +- .../magicNetworkMonitoring/configs/tools.ts | 402 +- .../magicNetworkMonitoring/outputs.ts | 8 +- .../rules/advertisements/outputs.ts | 4 +- .../rules/advertisements/tools.ts | 76 +- .../rules/bulk/tools.ts | 302 +- .../magicNetworkMonitoring/rules/outputs.ts | 34 +- .../magicNetworkMonitoring/rules/schemas.ts | 26 +- .../magicNetworkMonitoring/rules/tools.ts | 716 ++-- .../magicNetworkMonitoring/schemas.ts | 2 +- .../vpcFlows/tokens/outputs.ts | 4 +- .../vpcFlows/tokens/tools.ts | 56 +- .../configs/dns/protection/rules/outputs.ts | 6 +- .../configs/dns/protection/rules/schemas.ts | 4 +- .../configs/dns/protection/rules/tools.ts | 327 +- .../configs/allowlist/outputs.ts | 6 +- .../configs/allowlist/prefix/schemas.ts | 2 +- .../configs/allowlist/prefix/tools.ts | 163 +- .../configs/allowlist/schemas.ts | 2 +- .../configs/allowlist/tools.ts | 179 +- .../advancedTcpProtection/configs/outputs.ts | 6 +- .../configs/prefixes/bulk/tools.ts | 64 +- .../configs/prefixes/outputs.ts | 6 +- .../configs/prefixes/schemas.ts | 4 +- .../configs/prefixes/tools.ts | 327 +- .../advancedTcpProtection/configs/schemas.ts | 4 +- .../configs/syn/protection/filters/tools.ts | 337 +- .../configs/syn/protection/rules/outputs.ts | 6 +- .../configs/syn/protection/rules/schemas.ts | 4 +- .../configs/syn/protection/rules/tools.ts | 327 +- .../tcp/flow/protection/filters/tools.ts | 337 +- .../tcp/flow/protection/rules/outputs.ts | 6 +- .../tcp/flow/protection/rules/schemas.ts | 4 +- .../tcp/flow/protection/rules/tools.ts | 327 +- .../configs/tcp/protection/status/outputs.ts | 4 +- .../configs/tcp/protection/status/schemas.ts | 2 +- .../configs/tcp/protection/status/tools.ts | 96 +- .../forge-mcp/magicTransit/apps/outputs.ts | 20 +- .../forge-mcp/magicTransit/apps/tools.ts | 360 +- .../magicTransit/bgpFilterProfiles/outputs.ts | 8 +- .../magicTransit/bgpFilterProfiles/tools.ts | 294 +- .../magicTransit/bgpSettings/outputs.ts | 6 +- .../magicTransit/bgpSettings/tools.ts | 106 +- .../magicTransit/cf1Sites/outputs.ts | 8 +- .../magicTransit/cf1Sites/ramps/outputs.ts | 10 +- .../magicTransit/cf1Sites/ramps/tools.ts | 304 +- .../forge-mcp/magicTransit/cf1Sites/tools.ts | 314 +- .../magicTransit/cfInterconnects/outputs.ts | 24 +- .../magicTransit/cfInterconnects/schemas.ts | 6 +- .../magicTransit/cfInterconnects/tools.ts | 546 +-- .../magicTransit/greTunnels/outputs.ts | 26 +- .../magicTransit/greTunnels/schemas.ts | 2 +- .../magicTransit/greTunnels/tools.ts | 868 ++-- .../magicTransit/ipsecTunnels/outputs.ts | 38 +- .../magicTransit/ipsecTunnels/schemas.ts | 2 +- .../magicTransit/ipsecTunnels/tools.ts | 1081 ++--- .../forge-mcp/magicTransit/outputs.ts | 50 +- .../magicTransit/pcaps/download/tools.ts | 42 +- .../forge-mcp/magicTransit/pcaps/outputs.ts | 50 +- .../magicTransit/pcaps/ownership/outputs.ts | 8 +- .../magicTransit/pcaps/ownership/schemas.ts | 6 +- .../magicTransit/pcaps/ownership/tools.ts | 226 +- .../forge-mcp/magicTransit/pcaps/schemas.ts | 28 +- .../forge-mcp/magicTransit/pcaps/tools.ts | 474 ++- .../magicTransit/redundancyGroups/outputs.ts | 14 +- .../magicTransit/redundancyGroups/tools.ts | 272 +- .../forge-mcp/magicTransit/routes/outputs.ts | 40 +- .../forge-mcp/magicTransit/routes/tools.ts | 792 ++-- .../forge-mcp/magicTransit/schemas.ts | 4 +- .../magicTransit/sites/acls/outputs.ts | 20 +- .../magicTransit/sites/acls/schemas.ts | 6 +- .../magicTransit/sites/acls/tools.ts | 672 ++-- .../sites/appConfiguration/outputs.ts | 12 +- .../sites/appConfiguration/tools.ts | 366 +- .../magicTransit/sites/lans/outputs.ts | 26 +- .../magicTransit/sites/lans/tools.ts | 761 ++-- .../sites/netflowConfig/outputs.ts | 4 +- .../magicTransit/sites/netflowConfig/tools.ts | 264 +- .../forge-mcp/magicTransit/sites/outputs.ts | 24 +- .../forge-mcp/magicTransit/sites/schemas.ts | 10 +- .../forge-mcp/magicTransit/sites/tools.ts | 506 +-- .../magicTransit/sites/wans/outputs.ts | 12 +- .../magicTransit/sites/wans/tools.ts | 561 +-- .../vulnerabilityDiscovery/outputs.ts | 52 +- .../vulnerabilityDiscovery/reports/outputs.ts | 4 +- .../vulnerabilityDiscovery/reports/tools.ts | 180 +- .../repositories/outputs.ts | 18 +- .../repositories/schemas.ts | 2 +- .../repositories/tools.ts | 291 +- .../vulnerabilityDiscovery/scans/outputs.ts | 12 +- .../vulnerabilityDiscovery/scans/schemas.ts | 2 +- .../vulnerabilityDiscovery/scans/tools.ts | 454 ++- .../vulnerabilityDiscovery/schemas.ts | 2 +- .../forge-mcp/managedTransforms/outputs.ts | 6 +- .../forge-mcp/managedTransforms/tools.ts | 142 +- src/generated/forge-mcp/mcp/portals/tools.ts | 339 +- src/generated/forge-mcp/mcp/servers/tools.ts | 266 +- src/generated/forge-mcp/media/usage/tools.ts | 153 +- .../mesh/nodes/configurations/outputs.ts | 14 +- .../mesh/nodes/configurations/tools.ts | 189 +- .../mesh/nodes/connections/outputs.ts | 2 +- .../forge-mcp/mesh/nodes/connections/tools.ts | 134 +- .../mesh/nodes/connectors/outputs.ts | 2 +- .../forge-mcp/mesh/nodes/connectors/tools.ts | 136 +- src/generated/forge-mcp/mesh/nodes/outputs.ts | 12 +- .../forge-mcp/mesh/nodes/token/tools.ts | 56 +- src/generated/forge-mcp/mesh/nodes/tools.ts | 821 ++-- .../accountEligibility/outputs.ts | 6 +- .../accountEligibility/schemas.ts | 4 +- .../monetization/accountEligibility/tools.ts | 132 +- .../forge-mcp/monetization/outputs.ts | 6 +- .../forge-mcp/monetization/rules/outputs.ts | 18 +- .../forge-mcp/monetization/rules/schemas.ts | 16 +- .../forge-mcp/monetization/rules/tools.ts | 454 ++- src/generated/forge-mcp/network/outputs.ts | 4 +- .../forge-mcp/network/routes/cidr/outputs.ts | 6 +- .../forge-mcp/network/routes/cidr/tools.ts | 561 +-- .../network/routes/hostname/outputs.ts | 16 +- .../network/routes/hostname/schemas.ts | 2 +- .../network/routes/hostname/tools.ts | 523 +-- .../forge-mcp/network/routes/outputs.ts | 12 +- .../forge-mcp/network/routes/tools.ts | 139 +- .../network/subnets/cloudflareSource/tools.ts | 208 +- .../subnets/initialResolvedIp/tools.ts | 208 +- .../forge-mcp/network/subnets/outputs.ts | 20 +- .../forge-mcp/network/subnets/tools.ts | 243 +- .../forge-mcp/network/subnets/warp/outputs.ts | 2 +- .../forge-mcp/network/subnets/warp/tools.ts | 364 +- .../network/virtualNetworks/outputs.ts | 10 +- .../network/virtualNetworks/tools.ts | 459 ++- .../networkInterconnects/cnis/outputs.ts | 10 +- .../networkInterconnects/cnis/tools.ts | 343 +- .../interconnects/outputs.ts | 16 +- .../interconnects/tools.ts | 398 +- .../forge-mcp/networkInterconnects/outputs.ts | 4 +- .../networkInterconnects/settings/outputs.ts | 2 +- .../networkInterconnects/settings/tools.ts | 50 +- .../networkInterconnects/slots/outputs.ts | 4 +- .../networkInterconnects/slots/tools.ts | 217 +- .../forge-mcp/o11y/agents/sessions/outputs.ts | 4 +- .../forge-mcp/o11y/agents/sessions/tools.ts | 206 +- .../forge-mcp/o11y/destinations/tools.ts | 141 +- .../o11y/issues/automations/tools.ts | 127 +- .../forge-mcp/o11y/issues/outputs.ts | 2 +- src/generated/forge-mcp/o11y/issues/tools.ts | 391 +- .../forge-mcp/o11y/metricsExport/tools.ts | 40 +- src/generated/forge-mcp/o11y/outputs.ts | 16 +- src/generated/forge-mcp/o11y/queries/tools.ts | 249 +- src/generated/forge-mcp/o11y/schemas.ts | 4 +- .../forge-mcp/o11y/sharedQueries/tools.ts | 131 +- .../forge-mcp/o11y/telemetry/tools.ts | 160 +- src/generated/forge-mcp/o11y/tools.ts | 58 +- .../forge-mcp/o11y/tracing/rules/tools.ts | 48 +- .../forge-mcp/o11y/tracing/settings/tools.ts | 48 +- .../observability/usageLimit/outputs.ts | 2 +- .../observability/usageLimit/tools.ts | 26 +- .../forge-mcp/organization/account/outputs.ts | 8 +- .../forge-mcp/organization/account/tools.ts | 278 +- .../forge-mcp/organization/invite/outputs.ts | 2 +- .../forge-mcp/organization/invite/schemas.ts | 2 +- .../forge-mcp/organization/invite/tools.ts | 62 +- .../organization/member/batch/schemas.ts | 2 +- .../organization/member/batch/tools.ts | 72 +- .../forge-mcp/organization/member/outputs.ts | 10 +- .../forge-mcp/organization/member/schemas.ts | 4 +- .../forge-mcp/organization/member/tools.ts | 315 +- .../forge-mcp/organization/outputs.ts | 8 +- .../forge-mcp/organization/profile/outputs.ts | 2 +- .../forge-mcp/organization/profile/tools.ts | 66 +- .../forge-mcp/organization/schemas.ts | 8 +- .../forge-mcp/organization/share/tools.ts | 307 +- src/generated/forge-mcp/organization/tools.ts | 365 +- .../organizations/billing/usage/tools.ts | 71 +- .../organizations/logs/audit/outputs.ts | 6 +- .../organizations/logs/audit/tools.ts | 998 ++--- src/generated/forge-mcp/outputs.ts | 1162 +++--- src/generated/forge-mcp/pageRules/outputs.ts | 94 +- src/generated/forge-mcp/pageRules/tools.ts | 1421 +++---- .../forge-mcp/pages/buildCache/tools.ts | 46 +- .../pages/deployments/history/logs/outputs.ts | 2 +- .../pages/deployments/history/logs/tools.ts | 58 +- .../forge-mcp/pages/deployments/tools.ts | 481 ++- .../forge-mcp/pages/domains/outputs.ts | 4 +- .../forge-mcp/pages/domains/tools.ts | 210 +- .../pages/domains/validation/tools.ts | 66 +- src/generated/forge-mcp/pages/outputs.ts | 32 +- src/generated/forge-mcp/pages/source/tools.ts | 212 +- src/generated/forge-mcp/pages/tools.ts | 435 +- .../forge-mcp/payPerCrawl/config/outputs.ts | 6 +- .../forge-mcp/payPerCrawl/config/schemas.ts | 6 +- .../forge-mcp/payPerCrawl/config/tools.ts | 178 +- .../payPerCrawl/crawler/stripe/tools.ts | 152 +- .../forge-mcp/payPerCrawl/crawlers/outputs.ts | 4 +- .../forge-mcp/payPerCrawl/crawlers/tools.ts | 62 +- .../forge-mcp/payPerCrawl/outputs.ts | 8 +- .../payPerCrawl/publisher/stripe/tools.ts | 152 +- .../forge-mcp/payPerCrawl/terms/outputs.ts | 10 +- .../forge-mcp/payPerCrawl/terms/tools.ts | 245 +- .../forge-mcp/payPerCrawl/zones/outputs.ts | 8 +- .../forge-mcp/payPerCrawl/zones/schemas.ts | 6 +- .../forge-mcp/payPerCrawl/zones/tools.ts | 172 +- .../payPerUse/enabledDomains/outputs.ts | 6 +- .../payPerUse/enabledDomains/tools.ts | 83 +- .../forge-mcp/payPerUse/operator/outputs.ts | 8 +- .../forge-mcp/payPerUse/operator/schemas.ts | 4 +- .../forge-mcp/payPerUse/operator/tools.ts | 166 +- src/generated/forge-mcp/payPerUse/outputs.ts | 4 +- .../forge-mcp/payPerUse/pricing/outputs.ts | 6 +- .../forge-mcp/payPerUse/pricing/schemas.ts | 10 +- .../forge-mcp/payPerUse/pricing/tools.ts | 231 +- .../forge-mcp/payPerUse/proposals/outputs.ts | 6 +- .../forge-mcp/payPerUse/proposals/schemas.ts | 2 +- .../forge-mcp/payPerUse/proposals/tools.ts | 151 +- .../forge-mcp/payPerUse/usageStats/outputs.ts | 10 +- .../forge-mcp/payPerUse/usageStats/tools.ts | 144 +- .../forge-mcp/payPerUse/zones/outputs.ts | 12 +- .../forge-mcp/payPerUse/zones/schemas.ts | 6 +- .../forge-mcp/payPerUse/zones/tools.ts | 218 +- src/generated/forge-mcp/pipelines/outputs.ts | 32 +- src/generated/forge-mcp/pipelines/schemas.ts | 28 +- .../forge-mcp/pipelines/sinks/outputs.ts | 16 +- .../forge-mcp/pipelines/sinks/schemas.ts | 14 +- .../forge-mcp/pipelines/sinks/tools.ts | 525 +-- .../forge-mcp/pipelines/streams/outputs.ts | 2 +- .../forge-mcp/pipelines/streams/schemas.ts | 4 +- .../forge-mcp/pipelines/streams/tools.ts | 523 +-- src/generated/forge-mcp/pipelines/tools.ts | 197 +- src/generated/forge-mcp/precursor/outputs.ts | 18 +- src/generated/forge-mcp/precursor/tools.ts | 184 +- src/generated/forge-mcp/previews/tools.ts | 69 +- .../forge-mcp/queues/consumers/schemas.ts | 6 +- .../forge-mcp/queues/consumers/tools.ts | 532 +-- .../forge-mcp/queues/messages/outputs.ts | 8 +- .../forge-mcp/queues/messages/schemas.ts | 10 +- .../forge-mcp/queues/messages/tools.ts | 378 +- .../forge-mcp/queues/metrics/tools.ts | 54 +- src/generated/forge-mcp/queues/outputs.ts | 46 +- src/generated/forge-mcp/queues/purge/tools.ts | 202 +- src/generated/forge-mcp/queues/schemas.ts | 18 +- .../forge-mcp/queues/subscriptions/outputs.ts | 26 +- .../forge-mcp/queues/subscriptions/schemas.ts | 24 +- .../forge-mcp/queues/subscriptions/tools.ts | 599 +-- src/generated/forge-mcp/queues/tools.ts | 544 +-- .../forge-mcp/r2/buckets/cors/outputs.ts | 2 +- .../forge-mcp/r2/buckets/cors/schemas.ts | 2 +- .../forge-mcp/r2/buckets/cors/tools.ts | 221 +- .../r2/buckets/domains/custom/outputs.ts | 10 +- .../r2/buckets/domains/custom/tools.ts | 405 +- .../r2/buckets/domains/managed/outputs.ts | 2 +- .../r2/buckets/domains/managed/tools.ts | 154 +- .../r2/buckets/eventNotifications/outputs.ts | 8 +- .../r2/buckets/eventNotifications/schemas.ts | 2 +- .../r2/buckets/eventNotifications/tools.ts | 364 +- .../forge-mcp/r2/buckets/jobs/outputs.ts | 6 +- .../forge-mcp/r2/buckets/jobs/tools.ts | 348 +- .../forge-mcp/r2/buckets/lifecycle/outputs.ts | 10 +- .../forge-mcp/r2/buckets/lifecycle/schemas.ts | 8 +- .../forge-mcp/r2/buckets/lifecycle/tools.ts | 190 +- .../r2/buckets/localUploads/outputs.ts | 2 +- .../r2/buckets/localUploads/tools.ts | 100 +- .../forge-mcp/r2/buckets/locks/outputs.ts | 10 +- .../forge-mcp/r2/buckets/locks/schemas.ts | 8 +- .../forge-mcp/r2/buckets/locks/tools.ts | 257 +- .../forge-mcp/r2/buckets/metrics/outputs.ts | 6 +- .../forge-mcp/r2/buckets/metrics/tools.ts | 56 +- src/generated/forge-mcp/r2/buckets/outputs.ts | 10 +- .../forge-mcp/r2/buckets/sippy/outputs.ts | 2 +- .../forge-mcp/r2/buckets/sippy/tools.ts | 221 +- src/generated/forge-mcp/r2/buckets/tools.ts | 642 +-- src/generated/forge-mcp/r2/objects/outputs.ts | 8 +- src/generated/forge-mcp/r2/objects/tools.ts | 432 +- src/generated/forge-mcp/r2/outputs.ts | 16 +- .../connectivityPrecheck/outputs.ts | 2 +- .../connectivityPrecheck/tools.ts | 120 +- .../r2/superSlurper/jobs/logs/outputs.ts | 2 +- .../r2/superSlurper/jobs/logs/tools.ts | 75 +- .../forge-mcp/r2/superSlurper/jobs/outputs.ts | 6 +- .../forge-mcp/r2/superSlurper/jobs/schemas.ts | 2 +- .../forge-mcp/r2/superSlurper/jobs/tools.ts | 427 +- .../forge-mcp/r2/superSlurper/outputs.ts | 10 +- .../forge-mcp/r2/superSlurper/schemas.ts | 16 +- .../r2/temporaryCredentials/outputs.ts | 2 +- .../r2/temporaryCredentials/tools.ts | 50 +- .../forge-mcp/radar/agentReadiness/tools.ts | 87 +- .../forge-mcp/radar/ai/bots/tools.ts | 714 ++-- .../forge-mcp/radar/ai/inference/tools.ts | 378 +- .../radar/ai/markdownForAgents/tools.ts | 204 +- .../radar/ai/timeseriesGroups/tools.ts | 343 +- .../radar/annotations/outages/tools.ts | 578 +-- .../forge-mcp/radar/annotations/tools.ts | 572 +-- src/generated/forge-mcp/radar/as112/tools.ts | 1341 ++++--- .../forge-mcp/radar/as112/top/tools.ts | 588 +-- .../forge-mcp/radar/attacks/layer3/tools.ts | 777 ++-- .../attacks/layer3/top/locations/tools.ts | 368 +- .../radar/attacks/layer3/top/tools.ts | 255 +- .../forge-mcp/radar/attacks/layer7/tools.ts | 1161 +++--- .../radar/attacks/layer7/top/ases/tools.ts | 329 +- .../attacks/layer7/top/locations/tools.ts | 478 +-- .../radar/attacks/layer7/top/tools.ts | 235 +- .../radar/bgp/hijacks/events/tools.ts | 197 +- .../forge-mcp/radar/bgp/ips/tools.ts | 155 +- .../forge-mcp/radar/bgp/ips/top/tools.ts | 75 +- .../forge-mcp/radar/bgp/leaks/events/tools.ts | 165 +- .../forge-mcp/radar/bgp/routes/paths/tools.ts | 67 +- .../forge-mcp/radar/bgp/routes/tools.ts | 279 +- .../radar/bgp/routes/upstreams/tools.ts | 91 +- .../forge-mcp/radar/bgp/rpki/aspa/tools.ts | 235 +- .../forge-mcp/radar/bgp/rpki/roas/tools.ts | 121 +- src/generated/forge-mcp/radar/bgp/tools.ts | 167 +- .../forge-mcp/radar/bgp/top/ases/tools.ts | 198 +- .../forge-mcp/radar/bgp/top/tools.ts | 141 +- src/generated/forge-mcp/radar/bots/tools.ts | 1089 ++--- .../forge-mcp/radar/bots/webCrawlers/tools.ts | 554 +-- .../forge-mcp/radar/ct/authorities/tools.ts | 82 +- .../forge-mcp/radar/ct/logs/tools.ts | 80 +- src/generated/forge-mcp/radar/ct/tools.ts | 1489 +++---- .../forge-mcp/radar/datasets/tools.ts | 114 +- src/generated/forge-mcp/radar/dns/tools.ts | 2031 +++++----- .../forge-mcp/radar/dns/top/tools.ts | 1276 +++--- .../forge-mcp/radar/email/routing/tools.ts | 582 +-- .../forge-mcp/radar/email/security/tools.ts | 554 +-- .../security/top/tlds/malicious/tools.ts | 271 +- .../email/security/top/tlds/spam/tools.ts | 271 +- .../email/security/top/tlds/spoof/tools.ts | 271 +- .../radar/email/security/top/tlds/tools.ts | 251 +- .../forge-mcp/radar/entities/asns/tools.ts | 371 +- .../radar/entities/locations/tools.ts | 136 +- .../forge-mcp/radar/entities/tools.ts | 36 +- .../forge-mcp/radar/geolocations/tools.ts | 100 +- .../radar/http/ases/botClass/tools.ts | 381 +- .../radar/http/ases/browserFamily/tools.ts | 381 +- .../radar/http/ases/deviceType/tools.ts | 381 +- .../radar/http/ases/httpMethod/tools.ts | 381 +- .../radar/http/ases/httpProtocol/tools.ts | 381 +- .../radar/http/ases/ipVersion/tools.ts | 381 +- .../forge-mcp/radar/http/ases/os/tools.ts | 377 +- .../radar/http/ases/tlsVersion/tools.ts | 381 +- .../forge-mcp/radar/http/ases/tools.ts | 381 +- .../radar/http/locations/botClass/tools.ts | 381 +- .../http/locations/browserFamily/tools.ts | 381 +- .../radar/http/locations/deviceType/tools.ts | 381 +- .../radar/http/locations/httpMethod/tools.ts | 381 +- .../http/locations/httpProtocol/tools.ts | 381 +- .../radar/http/locations/ipVersion/tools.ts | 381 +- .../radar/http/locations/os/tools.ts | 377 +- .../radar/http/locations/tlsVersion/tools.ts | 381 +- .../forge-mcp/radar/http/locations/tools.ts | 381 +- src/generated/forge-mcp/radar/http/tools.ts | 1473 +++---- .../radar/leakedCredentials/tools.ts | 504 +-- .../forge-mcp/radar/netflows/tools.ts | 683 ++-- .../forge-mcp/radar/netflows/top/tools.ts | 328 +- .../forge-mcp/radar/origins/tools.ts | 710 ++-- .../radar/postQuantum/origin/tools.ts | 218 +- .../forge-mcp/radar/postQuantum/tls/tools.ts | 24 +- .../forge-mcp/radar/quality/iqi/tools.ts | 352 +- .../forge-mcp/radar/quality/speed/tools.ts | 236 +- .../radar/quality/speed/top/tools.ts | 304 +- .../forge-mcp/radar/ranking/domain/tools.ts | 111 +- .../radar/ranking/internetServices/tools.ts | 267 +- .../forge-mcp/radar/ranking/tools.ts | 290 +- .../forge-mcp/radar/robotsTxt/top/tools.ts | 89 +- .../radar/robotsTxt/top/userAgents/tools.ts | 123 +- src/generated/forge-mcp/radar/search/tools.ts | 142 +- .../radar/tcpResetsTimeouts/tools.ts | 300 +- .../forge-mcp/radar/tlds/performance/tools.ts | 380 +- src/generated/forge-mcp/radar/tlds/tools.ts | 124 +- .../radar/trafficAnomalies/locations/tools.ts | 89 +- .../forge-mcp/radar/trafficAnomalies/tools.ts | 254 +- src/generated/forge-mcp/ready/tools.ts | 4 +- .../kit/analytics/livestreams/daily/tools.ts | 69 +- .../kit/analytics/livestreams/tools.ts | 69 +- .../realtime/kit/analytics/usage/tools.ts | 59 +- .../forge-mcp/realtime/kit/apps/tools.ts | 167 +- .../kit/livestreams/sessions/tools.ts | 100 +- .../realtime/kit/livestreams/tools.ts | 304 +- .../realtime/kit/meetings/active/outputs.ts | 2 +- .../kit/meetings/active/polls/outputs.ts | 2 +- .../kit/meetings/active/polls/tools.ts | 42 +- .../realtime/kit/meetings/active/tools.ts | 224 +- .../realtime/kit/meetings/livestream/tools.ts | 137 +- .../realtime/kit/meetings/outputs.ts | 6 +- .../kit/meetings/participants/outputs.ts | 2 +- .../kit/meetings/participants/tokens/tools.ts | 118 +- .../kit/meetings/participants/tools.ts | 377 +- .../forge-mcp/realtime/kit/meetings/tools.ts | 582 +-- .../forge-mcp/realtime/kit/outputs.ts | 32 +- .../forge-mcp/realtime/kit/presets/outputs.ts | 6 +- .../forge-mcp/realtime/kit/presets/tools.ts | 367 +- .../realtime/kit/recordings/active/tools.ts | 56 +- .../realtime/kit/recordings/outputs.ts | 6 +- .../realtime/kit/recordings/tools.ts | 431 +- .../realtime/kit/recordings/tracks/tools.ts | 48 +- .../realtime/kit/sessions/chat/outputs.ts | 2 +- .../realtime/kit/sessions/chat/tools.ts | 52 +- .../kit/sessions/livestreams/tools.ts | 81 +- .../realtime/kit/sessions/outputs.ts | 2 +- .../kit/sessions/participants/outputs.ts | 2 +- .../kit/sessions/participants/tools.ts | 234 +- .../realtime/kit/sessions/peers/outputs.ts | 38 +- .../realtime/kit/sessions/peers/tools.ts | 205 +- .../kit/sessions/summaries/outputs.ts | 2 +- .../realtime/kit/sessions/summaries/tools.ts | 90 +- .../forge-mcp/realtime/kit/sessions/tools.ts | 226 +- .../kit/sessions/transcripts/outputs.ts | 2 +- .../kit/sessions/transcripts/tools.ts | 79 +- .../realtime/kit/webhooks/events/outputs.ts | 2 +- .../realtime/kit/webhooks/events/tools.ts | 40 +- .../realtime/kit/webhooks/outputs.ts | 6 +- .../forge-mcp/realtime/kit/webhooks/tools.ts | 272 +- .../forge-mcp/realtime/moq/relays/outputs.ts | 24 +- .../realtime/moq/relays/tokens/outputs.ts | 2 +- .../realtime/moq/relays/tokens/tools.ts | 150 +- .../forge-mcp/realtime/moq/relays/tools.ts | 299 +- src/generated/forge-mcp/realtime/outputs.ts | 16 +- .../forge-mcp/realtime/sfu/apps/outputs.ts | 12 +- .../forge-mcp/realtime/sfu/apps/tools.ts | 328 +- .../forge-mcp/realtime/turn/keys/outputs.ts | 14 +- .../forge-mcp/realtime/turn/keys/tools.ts | 331 +- .../forge-mcp/registrar/extensions/outputs.ts | 6 +- .../forge-mcp/registrar/extensions/tools.ts | 173 +- src/generated/forge-mcp/registrar/outputs.ts | 6 +- .../registrar/registrations/outputs.ts | 38 +- .../registrar/registrations/schemas.ts | 20 +- .../registrar/registrations/tools.ts | 822 ++-- src/generated/forge-mcp/registrar/schemas.ts | 2 +- .../registrarSandbox/extensions/outputs.ts | 6 +- .../registrarSandbox/extensions/tools.ts | 179 +- .../forge-mcp/registrarSandbox/outputs.ts | 6 +- .../registrarSandbox/registrations/outputs.ts | 30 +- .../registrarSandbox/registrations/schemas.ts | 16 +- .../registrarSandbox/registrations/tools.ts | 627 +-- .../forge-mcp/registrarSandbox/schemas.ts | 2 +- .../forge-mcp/reporting/industry/outputs.ts | 6 +- .../forge-mcp/reporting/industry/tools.ts | 70 +- src/generated/forge-mcp/reporting/outputs.ts | 6 +- .../forge-mcp/reporting/policies/outputs.ts | 4 +- .../forge-mcp/reporting/policies/tools.ts | 82 +- .../forge-mcp/reporting/reports/outputs.ts | 10 +- .../forge-mcp/reporting/reports/tools.ts | 100 +- .../requestTracers/traces/outputs.ts | 8 +- .../requestTracers/traces/schemas.ts | 2 +- .../forge-mcp/requestTracers/traces/tools.ts | 48 +- .../excludedRecipients/outputs.ts | 12 +- .../excludedRecipients/schemas.ts | 6 +- .../excludedRecipients/tools.ts | 449 ++- .../forge-mcp/resourceSharing/outputs.ts | 4 +- .../resourceSharing/recipients/outputs.ts | 20 +- .../resourceSharing/recipients/schemas.ts | 4 +- .../resourceSharing/recipients/tools.ts | 586 +-- .../resourceSharing/resources/outputs.ts | 8 +- .../resourceSharing/resources/schemas.ts | 2 +- .../resourceSharing/resources/tools.ts | 645 +-- .../forge-mcp/resourceSharing/schemas.ts | 8 +- .../forge-mcp/resourceSharing/tools.ts | 908 +++-- .../rules/lists/bulkOperations/outputs.ts | 12 +- .../rules/lists/bulkOperations/tools.ts | 95 +- .../forge-mcp/rules/lists/items/outputs.ts | 40 +- .../forge-mcp/rules/lists/items/schemas.ts | 2 +- .../forge-mcp/rules/lists/items/tools.ts | 533 +-- .../forge-mcp/rules/lists/outputs.ts | 34 +- src/generated/forge-mcp/rules/lists/tools.ts | 386 +- .../forge-mcp/rulesets/entrypoint/tools.ts | 1293 +++--- src/generated/forge-mcp/rulesets/outputs.ts | 216 +- .../forge-mcp/rulesets/rules/tools.ts | 1989 ++++----- src/generated/forge-mcp/rulesets/tools.ts | 2118 +++++----- src/generated/forge-mcp/rum/outputs.ts | 14 +- src/generated/forge-mcp/rum/rules/outputs.ts | 6 +- src/generated/forge-mcp/rum/rules/schemas.ts | 4 +- src/generated/forge-mcp/rum/rules/tools.ts | 375 +- .../forge-mcp/rum/siteInfo/outputs.ts | 24 +- .../forge-mcp/rum/siteInfo/schemas.ts | 4 +- src/generated/forge-mcp/rum/siteInfo/tools.ts | 638 +-- src/generated/forge-mcp/schemas.ts | 260 +- .../forge-mcp/scim/groups/outputs.ts | 8 +- src/generated/forge-mcp/scim/groups/tools.ts | 255 +- src/generated/forge-mcp/scim/outputs.ts | 2 +- .../forge-mcp/scim/resourceTypes/outputs.ts | 8 +- .../forge-mcp/scim/resourceTypes/tools.ts | 102 +- .../forge-mcp/scim/schemas/outputs.ts | 8 +- src/generated/forge-mcp/scim/schemas/tools.ts | 90 +- .../scim/serviceProviderConfig/outputs.ts | 10 +- .../scim/serviceProviderConfig/tools.ts | 58 +- src/generated/forge-mcp/scim/users/outputs.ts | 8 +- src/generated/forge-mcp/scim/users/tools.ts | 287 +- .../forge-mcp/secretsStore/outputs.ts | 14 +- .../forge-mcp/secretsStore/quota/outputs.ts | 10 +- .../forge-mcp/secretsStore/quota/tools.ts | 72 +- .../forge-mcp/secretsStore/secrets/outputs.ts | 20 +- .../forge-mcp/secretsStore/secrets/schemas.ts | 20 +- .../forge-mcp/secretsStore/secrets/tools.ts | 717 ++-- .../forge-mcp/secretsStore/stores/outputs.ts | 10 +- .../forge-mcp/secretsStore/stores/tools.ts | 221 +- .../securityInsights/auditLogs/outputs.ts | 4 +- .../securityInsights/auditLogs/tools.ts | 326 +- .../securityInsights/context/tools.ts | 48 +- .../securityInsights/count/outputs.ts | 2 +- .../forge-mcp/securityInsights/count/tools.ts | 629 +-- .../securityInsights/partners/outputs.ts | 8 +- .../partners/settings/outputs.ts | 6 +- .../partners/settings/schemas.ts | 2 +- .../partners/settings/tools.ts | 120 +- .../partners/shadowHosts/tools.ts | 105 +- .../partners/shadowZoneHosts/tools.ts | 115 +- .../partners/shadowZones/outputs.ts | 4 +- .../partners/shadowZones/tools.ts | 105 +- .../securityInsights/scans/outputs.ts | 8 +- .../securityInsights/scans/schemas.ts | 2 +- .../forge-mcp/securityInsights/scans/tools.ts | 142 +- .../forge-mcp/securityInsights/schemas.ts | 2 +- .../securityInsights/state/outputs.ts | 2 +- .../securityInsights/state/schemas.ts | 2 +- .../forge-mcp/securityInsights/state/tools.ts | 86 +- .../forge-mcp/securityInsights/tools.ts | 405 +- .../forge-mcp/securityTxt/outputs.ts | 2 +- .../forge-mcp/securityTxt/schemas.ts | 2 +- src/generated/forge-mcp/securityTxt/tools.ts | 112 +- src/generated/forge-mcp/signedUrl/tools.ts | 8 +- .../smartShield/cacheReserveClear/outputs.ts | 12 +- .../smartShield/cacheReserveClear/tools.ts | 134 +- .../smartShield/healthChecks/outputs.ts | 44 +- .../smartShield/healthChecks/tools.ts | 771 ++-- .../forge-mcp/smartShield/outputs.ts | 20 +- .../forge-mcp/smartShield/schemas.ts | 4 +- src/generated/forge-mcp/smartShield/tools.ts | 104 +- .../forge-mcp/snippets/content/tools.ts | 42 +- src/generated/forge-mcp/snippets/outputs.ts | 18 +- .../forge-mcp/snippets/rules/outputs.ts | 2 +- .../forge-mcp/snippets/rules/tools.ts | 143 +- src/generated/forge-mcp/snippets/tools.ts | 203 +- .../analytics/aggregates/currents/outputs.ts | 2 +- .../analytics/aggregates/currents/schemas.ts | 2 +- .../analytics/aggregates/currents/tools.ts | 77 +- .../analytics/events/bytimes/tools.ts | 224 +- .../spectrum/analytics/events/outputs.ts | 16 +- .../spectrum/analytics/events/schemas.ts | 8 +- .../analytics/events/summaries/tools.ts | 191 +- .../forge-mcp/spectrum/analytics/outputs.ts | 14 +- .../forge-mcp/spectrum/analytics/schemas.ts | 8 +- .../analytics/zones/report/outputs.ts | 8 +- .../spectrum/analytics/zones/report/tools.ts | 103 +- .../forge-mcp/spectrum/apps/outputs.ts | 58 +- .../forge-mcp/spectrum/apps/schemas.ts | 46 +- .../forge-mcp/spectrum/apps/tools.ts | 907 +++-- src/generated/forge-mcp/spectrum/outputs.ts | 10 +- .../forge-mcp/spectrum/protocols/outputs.ts | 4 +- .../forge-mcp/spectrum/protocols/tools.ts | 58 +- src/generated/forge-mcp/spectrum/schemas.ts | 4 +- .../forge-mcp/speed/availabilities/outputs.ts | 6 +- .../forge-mcp/speed/availabilities/tools.ts | 62 +- src/generated/forge-mcp/speed/outputs.ts | 30 +- .../forge-mcp/speed/pages/outputs.ts | 8 +- .../forge-mcp/speed/pages/tests/outputs.ts | 6 +- .../forge-mcp/speed/pages/tests/tools.ts | 424 +- src/generated/forge-mcp/speed/pages/tools.ts | 242 +- .../forge-mcp/speed/schedule/outputs.ts | 6 +- .../forge-mcp/speed/schedule/tools.ts | 315 +- src/generated/forge-mcp/sql/tools.ts | 194 +- .../forge-mcp/ssl/analyze/outputs.ts | 2 +- src/generated/forge-mcp/ssl/analyze/tools.ts | 50 +- .../forge-mcp/ssl/autoOriginTlsKex/outputs.ts | 8 +- .../forge-mcp/ssl/autoOriginTlsKex/tools.ts | 84 +- .../forge-mcp/ssl/automaticUpgrader/tools.ts | 70 +- .../hostnameAssociations/outputs.ts | 4 +- .../hostnameAssociations/schemas.ts | 4 +- .../hostnameAssociations/tools.ts | 113 +- .../forge-mcp/ssl/certificatePacks/outputs.ts | 30 +- .../ssl/certificatePacks/quota/outputs.ts | 4 +- .../ssl/certificatePacks/quota/tools.ts | 52 +- .../forge-mcp/ssl/certificatePacks/schemas.ts | 14 +- .../forge-mcp/ssl/certificatePacks/tools.ts | 559 +-- .../ssl/clientCertificates/outputs.ts | 42 +- .../ssl/clientCertificates/schemas.ts | 6 +- .../forge-mcp/ssl/clientCertificates/tools.ts | 727 ++-- .../forge-mcp/ssl/ctAlerting/outputs.ts | 8 +- .../forge-mcp/ssl/ctAlerting/schemas.ts | 6 +- .../forge-mcp/ssl/ctAlerting/tools.ts | 122 +- .../ssl/customCertificates/outputs.ts | 26 +- .../customCertificates/prioritize/tools.ts | 206 +- .../ssl/customCertificates/schemas.ts | 16 +- .../forge-mcp/ssl/customCertificates/tools.ts | 803 ++-- .../forge-mcp/ssl/dcvDelegation/outputs.ts | 6 +- .../forge-mcp/ssl/dcvDelegation/tools.ts | 58 +- .../ssl/keylessCertificates/outputs.ts | 8 +- .../ssl/keylessCertificates/schemas.ts | 6 +- .../ssl/keylessCertificates/tools.ts | 466 ++- .../mtlsCertificates/associations/outputs.ts | 8 +- .../mtlsCertificates/associations/tools.ts | 84 +- .../forge-mcp/ssl/mtlsCertificates/outputs.ts | 28 +- .../forge-mcp/ssl/mtlsCertificates/schemas.ts | 10 +- .../forge-mcp/ssl/mtlsCertificates/tools.ts | 439 +- .../ssl/originCaCertificates/outputs.ts | 24 +- .../ssl/originCaCertificates/schemas.ts | 10 +- .../ssl/originCaCertificates/tools.ts | 324 +- .../hostnameAssociations/outputs.ts | 4 +- .../hostnameAssociations/tools.ts | 149 +- .../hostnameCertificates/outputs.ts | 6 +- .../hostnameCertificates/tools.ts | 354 +- .../originTlsClientAuth/hostnames/outputs.ts | 8 +- .../originTlsClientAuth/hostnames/schemas.ts | 4 +- .../originTlsClientAuth/hostnames/tools.ts | 264 +- .../ssl/originTlsClientAuth/outputs.ts | 26 +- .../ssl/originTlsClientAuth/schemas.ts | 14 +- .../originTlsClientAuth/settings/outputs.ts | 2 +- .../ssl/originTlsClientAuth/settings/tools.ts | 94 +- .../zoneCertificates/outputs.ts | 20 +- .../zoneCertificates/schemas.ts | 6 +- .../zoneCertificates/tools.ts | 390 +- src/generated/forge-mcp/ssl/outputs.ts | 30 +- src/generated/forge-mcp/ssl/schemas.ts | 16 +- .../ssl/universal/settings/outputs.ts | 6 +- .../ssl/universal/settings/schemas.ts | 4 +- .../forge-mcp/ssl/universal/settings/tools.ts | 102 +- .../forge-mcp/ssl/verification/outputs.ts | 26 +- .../forge-mcp/ssl/verification/schemas.ts | 6 +- .../forge-mcp/ssl/verification/tools.ts | 177 +- .../forge-mcp/stream/keys/outputs.ts | 12 +- src/generated/forge-mcp/stream/keys/tools.ts | 160 +- .../forge-mcp/stream/liveInputs/outputs.ts | 80 +- .../stream/liveInputs/outputs/outputs.ts | 14 +- .../stream/liveInputs/outputs/tools.ts | 286 +- .../forge-mcp/stream/liveInputs/tools.ts | 1398 ++++--- src/generated/forge-mcp/stream/outputs.ts | 40 +- src/generated/forge-mcp/stream/schemas.ts | 2 +- src/generated/forge-mcp/stream/tools.ts | 68 +- src/generated/forge-mcp/stream/usage/tools.ts | 153 +- .../stream/videos/audioTracks/outputs.ts | 12 +- .../stream/videos/audioTracks/tools.ts | 292 +- .../videos/captions/language/outputs.ts | 2 +- .../stream/videos/captions/language/tools.ts | 222 +- .../videos/captions/language/vtt/tools.ts | 48 +- .../stream/videos/captions/outputs.ts | 12 +- .../forge-mcp/stream/videos/captions/tools.ts | 82 +- .../stream/videos/directUpload/outputs.ts | 2 +- .../stream/videos/directUpload/tools.ts | 148 +- .../stream/videos/downloads/tools.ts | 144 +- .../stream/videos/downloadsDefault/tools.ts | 186 +- .../forge-mcp/stream/videos/outputs.ts | 68 +- .../forge-mcp/stream/videos/token/outputs.ts | 2 +- .../forge-mcp/stream/videos/token/tools.ts | 48 +- .../forge-mcp/stream/videos/tools.ts | 1433 +++---- .../forge-mcp/stream/watermarks/outputs.ts | 4 +- .../forge-mcp/stream/watermarks/tools.ts | 338 +- .../forge-mcp/stream/webhooks/outputs.ts | 2 +- .../forge-mcp/stream/webhooks/tools.ts | 102 +- .../tags/accountResources/outputs.ts | 2 +- .../tags/accountResources/schemas.ts | 18 +- .../forge-mcp/tags/accountResources/tools.ts | 910 +++-- src/generated/forge-mcp/tags/keys/outputs.ts | 2 +- src/generated/forge-mcp/tags/keys/tools.ts | 65 +- src/generated/forge-mcp/tags/outputs.ts | 130 +- .../forge-mcp/tags/resources/outputs.ts | 2 +- .../forge-mcp/tags/resources/tools.ts | 519 +-- src/generated/forge-mcp/tags/schemas.ts | 12 +- .../forge-mcp/tags/summary/outputs.ts | 4 +- src/generated/forge-mcp/tags/summary/tools.ts | 71 +- .../forge-mcp/tags/values/outputs.ts | 2 +- src/generated/forge-mcp/tags/values/tools.ts | 89 +- .../tenantCustomNameservers/outputs.ts | 8 +- .../tenantCustomNameservers/schemas.ts | 2 +- .../tenantCustomNameservers/tools.ts | 194 +- src/generated/forge-mcp/tunnel/outputs.ts | 2 +- src/generated/forge-mcp/tunnel/tools.ts | 305 +- .../forge-mcp/tunnels/config/outputs.ts | 16 +- .../forge-mcp/tunnels/config/tools.ts | 199 +- .../forge-mcp/tunnels/connections/outputs.ts | 2 +- .../forge-mcp/tunnels/connections/tools.ts | 199 +- .../forge-mcp/tunnels/connectors/outputs.ts | 2 +- .../forge-mcp/tunnels/connectors/tools.ts | 140 +- .../tunnels/managementToken/schemas.ts | 2 +- .../tunnels/managementToken/tools.ts | 62 +- src/generated/forge-mcp/tunnels/outputs.ts | 10 +- .../forge-mcp/tunnels/token/tools.ts | 54 +- src/generated/forge-mcp/tunnels/tools.ts | 835 ++-- .../forge-mcp/turnstile/widgets/outputs.ts | 40 +- .../forge-mcp/turnstile/widgets/tools.ts | 806 ++-- .../forge-mcp/urlNormalization/outputs.ts | 2 +- .../forge-mcp/urlNormalization/tools.ts | 118 +- .../forge-mcp/urlScanner/responses/tools.ts | 30 +- .../forge-mcp/urlScanner/scans/tools.ts | 226 +- .../forge-mcp/user/auditLogs/tools.ts | 197 +- .../user/firewall/accessRules/outputs.ts | 6 +- .../user/firewall/accessRules/tools.ts | 515 +-- .../forge-mcp/user/invites/outputs.ts | 16 +- .../forge-mcp/user/invites/schemas.ts | 2 +- src/generated/forge-mcp/user/invites/tools.ts | 202 +- .../loadBalancers/monitors/preview/tools.ts | 124 +- .../monitors/references/tools.ts | 44 +- .../user/loadBalancers/monitors/tools.ts | 790 ++-- .../loadBalancers/pools/edit/pools/tools.ts | 508 +-- .../user/loadBalancers/pools/health/tools.ts | 56 +- .../user/loadBalancers/pools/preview/tools.ts | 124 +- .../loadBalancers/pools/references/tools.ts | 44 +- .../user/loadBalancers/pools/tools.ts | 931 ++--- .../user/loadBalancers/preview/schemas.ts | 2 +- .../user/loadBalancers/preview/tools.ts | 62 +- .../user/loadBalancers/regions/tools.ts | 61 +- .../loadBalancingAnalytics/events/outputs.ts | 14 +- .../loadBalancingAnalytics/events/schemas.ts | 6 +- .../loadBalancingAnalytics/events/tools.ts | 187 +- .../forge-mcp/user/memberships/outputs.ts | 16 +- .../forge-mcp/user/memberships/schemas.ts | 2 +- .../forge-mcp/user/memberships/tools.ts | 673 ++-- src/generated/forge-mcp/user/outputs.ts | 20 +- .../forge-mcp/user/subscriptions/outputs.ts | 4 +- .../forge-mcp/user/subscriptions/tools.ts | 220 +- .../user/tokens/permissionGroups/tools.ts | 63 +- src/generated/forge-mcp/user/tokens/tools.ts | 797 ++-- src/generated/forge-mcp/user/tools.ts | 177 +- .../vectorize/metadataIndex/outputs.ts | 6 +- .../vectorize/metadataIndex/schemas.ts | 4 +- .../vectorize/metadataIndex/tools.ts | 174 +- src/generated/forge-mcp/vectorize/outputs.ts | 38 +- src/generated/forge-mcp/vectorize/schemas.ts | 26 +- src/generated/forge-mcp/vectorize/tools.ts | 591 +-- .../accountWaitingRooms/outputs.ts | 2 +- .../waitingRooms/accountWaitingRooms/tools.ts | 249 +- .../waitingRooms/events/details/outputs.ts | 16 +- .../waitingRooms/events/details/tools.ts | 164 +- .../forge-mcp/waitingRooms/events/outputs.ts | 40 +- .../forge-mcp/waitingRooms/events/tools.ts | 801 ++-- .../forge-mcp/waitingRooms/outputs.ts | 68 +- .../forge-mcp/waitingRooms/page/outputs.ts | 4 +- .../forge-mcp/waitingRooms/page/tools.ts | 54 +- .../forge-mcp/waitingRooms/rules/outputs.ts | 16 +- .../forge-mcp/waitingRooms/rules/tools.ts | 464 ++- .../waitingRooms/settings/outputs.ts | 4 +- .../forge-mcp/waitingRooms/settings/tools.ts | 140 +- .../waitingRooms/statuses/outputs.ts | 12 +- .../forge-mcp/waitingRooms/statuses/tools.ts | 86 +- src/generated/forge-mcp/waitingRooms/tools.ts | 752 ++-- .../contentLists/entries/outputs.ts | 4 +- .../contentLists/entries/tools.ts | 426 +- .../contentLists/outputs.ts | 16 +- .../ipfsUniversalPaths/contentLists/tools.ts | 128 +- .../forge-mcp/web3/hostnames/outputs.ts | 34 +- .../forge-mcp/web3/hostnames/tools.ts | 434 +- .../webAssets/discovery/operations/outputs.ts | 18 +- .../webAssets/discovery/operations/schemas.ts | 10 +- .../webAssets/discovery/operations/tools.ts | 489 +-- .../forge-mcp/webAssets/discovery/outputs.ts | 4 +- .../forge-mcp/webAssets/discovery/tools.ts | 66 +- .../labels/managed/operations/tools.ts | 132 +- .../webAssets/labels/managed/outputs.ts | 2 +- .../webAssets/labels/managed/tools.ts | 133 +- .../forge-mcp/webAssets/labels/outputs.ts | 4 +- .../forge-mcp/webAssets/labels/schemas.ts | 2 +- .../forge-mcp/webAssets/labels/tools.ts | 207 +- .../webAssets/labels/user/operations/tools.ts | 126 +- .../webAssets/labels/user/schemas.ts | 6 +- .../forge-mcp/webAssets/labels/user/tools.ts | 495 ++- .../webAssets/operations/labels/outputs.ts | 2 +- .../webAssets/operations/labels/schemas.ts | 12 +- .../webAssets/operations/labels/tools.ts | 680 ++-- .../forge-mcp/webAssets/operations/outputs.ts | 10 +- .../forge-mcp/webAssets/operations/schemas.ts | 2 +- .../forge-mcp/webAssets/operations/tools.ts | 944 +++-- src/generated/forge-mcp/webAssets/outputs.ts | 10 +- src/generated/forge-mcp/webAssets/schemas.ts | 10 +- .../forge-mcp/webAssets/schemas/outputs.ts | 4 +- .../forge-mcp/webAssets/schemas/tools.ts | 121 +- .../workers/accountSettings/outputs.ts | 2 +- .../workers/accountSettings/schemas.ts | 2 +- .../workers/accountSettings/tools.ts | 80 +- .../forge-mcp/workers/assets/upload/tools.ts | 58 +- .../forge-mcp/workers/deployments/outputs.ts | 2 +- .../forge-mcp/workers/deployments/tools.ts | 278 +- .../forge-mcp/workers/domains/outputs.ts | 2 +- .../forge-mcp/workers/domains/tools.ts | 229 +- .../workers/legacy/scripts/content/tools.ts | 34 +- .../workers/legacy/scripts/outputs.ts | 2 +- .../scriptAndVersionSettings/outputs.ts | 4 +- .../scripts/scriptAndVersionSettings/tools.ts | 526 +-- .../legacy/scripts/settings/outputs.ts | 4 +- .../legacy/scripts/settings/schemas.ts | 2 +- .../workers/legacy/scripts/settings/tools.ts | 184 +- .../legacy/scripts/subdomain/outputs.ts | 2 +- .../workers/legacy/scripts/subdomain/tools.ts | 128 +- .../forge-mcp/workers/legacy/scripts/tools.ts | 353 +- .../legacy/scripts/usageModel/outputs.ts | 4 +- .../legacy/scripts/usageModel/tools.ts | 122 +- .../legacy/scripts/versions/outputs.ts | 8 +- .../legacy/scripts/versions/schemas.ts | 2 +- .../workers/legacy/scripts/versions/tools.ts | 477 +-- src/generated/forge-mcp/workers/outputs.ts | 44 +- .../workers/placement/regions/outputs.ts | 6 +- .../workers/placement/regions/tools.ts | 50 +- .../workers/previews/deployments/outputs.ts | 8 +- .../workers/previews/deployments/tools.ts | 1938 ++++----- .../forge-mcp/workers/previews/outputs.ts | 2 +- .../forge-mcp/workers/previews/tools.ts | 387 +- .../forge-mcp/workers/routes/tools.ts | 224 +- .../workers/scripts/schedules/outputs.ts | 2 +- .../workers/scripts/schedules/tools.ts | 92 +- .../forge-mcp/workers/scripts/tools.ts | 135 +- .../forge-mcp/workers/secrets/tools.ts | 344 +- .../forge-mcp/workers/subdomains/outputs.ts | 2 +- .../forge-mcp/workers/subdomains/schemas.ts | 2 +- .../forge-mcp/workers/subdomains/tools.ts | 94 +- .../forge-mcp/workers/tail/outputs.ts | 2 +- src/generated/forge-mcp/workers/tail/tools.ts | 155 +- src/generated/forge-mcp/workers/tools.ts | 678 ++-- .../workers/versions/latest/tools.ts | 557 +-- .../forge-mcp/workers/versions/outputs.ts | 2 +- .../forge-mcp/workers/versions/tools.ts | 1368 ++++--- .../workersBuilds/workers/previews/outputs.ts | 8 +- .../workersBuilds/workers/previews/tools.ts | 860 ++-- .../forge-mcp/workersBuilds/workers/tools.ts | 173 +- .../dispatchNamespaces/outputs.ts | 14 +- .../scripts/assets/upload/tools.ts | 71 +- .../scripts/bindings/tools.ts | 308 +- .../scripts/content/tools.ts | 48 +- .../dispatchNamespaces/scripts/outputs.ts | 6 +- .../scripts/secrets/tools.ts | 406 +- .../scripts/settings/outputs.ts | 2 +- .../scripts/settings/tools.ts | 530 +-- .../scripts/tags/outputs.ts | 4 +- .../dispatchNamespaces/scripts/tags/tools.ts | 361 +- .../dispatchNamespaces/scripts/tools.ts | 605 +-- .../dispatchNamespaces/tools.ts | 454 ++- .../forge-mcp/workersVpc/services/outputs.ts | 28 +- .../forge-mcp/workersVpc/services/tools.ts | 521 +-- .../forge-mcp/workflows/concurrency/tools.ts | 133 +- .../workflows/instances/batch/tools.ts | 22 +- .../workflows/instances/events/tools.ts | 40 +- .../workflows/instances/step/tools.ts | 80 +- .../forge-mcp/workflows/instances/tools.ts | 382 +- .../forge-mcp/workflows/settings/tools.ts | 30 +- src/generated/forge-mcp/workflows/tools.ts | 93 +- .../forge-mcp/workflows/versions/tools.ts | 111 +- .../forge-mcp/zaraz/config/schemas.ts | 2 +- src/generated/forge-mcp/zaraz/config/tools.ts | 292 +- .../forge-mcp/zaraz/default/tools.ts | 134 +- src/generated/forge-mcp/zaraz/export/tools.ts | 120 +- .../zaraz/history/configs/outputs.ts | 2 +- .../forge-mcp/zaraz/history/configs/tools.ts | 164 +- .../forge-mcp/zaraz/history/outputs.ts | 4 +- .../forge-mcp/zaraz/history/tools.ts | 237 +- src/generated/forge-mcp/zaraz/outputs.ts | 40 +- .../forge-mcp/zaraz/publish/tools.ts | 32 +- src/generated/forge-mcp/zaraz/schemas.ts | 24 +- .../forge-mcp/zaraz/workflow/outputs.ts | 4 +- .../forge-mcp/zaraz/workflow/schemas.ts | 2 +- .../forge-mcp/zaraz/workflow/tools.ts | 82 +- .../zeroTrust/access/applications/outputs.ts | 216 +- .../access/applications/policies/outputs.ts | 6 +- .../access/applications/policies/tools.ts | 1096 ++--- .../applications/policyTests/outputs.ts | 26 +- .../access/applications/policyTests/tools.ts | 185 +- .../applications/policyTests/users/outputs.ts | 6 +- .../applications/policyTests/users/tools.ts | 130 +- .../zeroTrust/access/applications/schemas.ts | 12 +- .../access/applications/settings/outputs.ts | 4 +- .../access/applications/settings/tools.ts | 97 +- .../shortLivedCertificates/outputs.ts | 14 +- .../shortLivedCertificates/tools.ts | 333 +- .../zeroTrust/access/applications/tools.ts | 3549 +++++++++-------- .../applications/userPolicyChecks/outputs.ts | 2 +- .../applications/userPolicyChecks/tools.ts | 79 +- .../zeroTrust/access/customPages/outputs.ts | 24 +- .../zeroTrust/access/customPages/schemas.ts | 6 +- .../zeroTrust/access/customPages/tools.ts | 543 +-- .../auditSshSettings/outputs.ts | 8 +- .../auditSshSettings/schemas.ts | 2 +- .../infrastructure/auditSshSettings/tools.ts | 176 +- .../access/infrastructure/sshCa/outputs.ts | 6 +- .../access/infrastructure/sshCa/tools.ts | 151 +- .../access/logs/accessRequests/outputs.ts | 20 +- .../access/logs/accessRequests/schemas.ts | 2 +- .../access/logs/accessRequests/tools.ts | 420 +- .../access/logs/jitRequests/outputs.ts | 14 +- .../access/logs/jitRequests/tools.ts | 219 +- .../access/logs/scim/updates/outputs.ts | 4 +- .../access/logs/scim/updates/schemas.ts | 6 +- .../access/logs/scim/updates/tools.ts | 230 +- .../mfa/authenticatorCatalog/outputs.ts | 8 +- .../access/mfa/authenticatorCatalog/tools.ts | 66 +- .../access/mtlsCertificates/outputs.ts | 12 +- .../access/mtlsCertificates/schemas.ts | 2 +- .../mtlsCertificates/settings/outputs.ts | 4 +- .../access/mtlsCertificates/settings/tools.ts | 134 +- .../access/mtlsCertificates/tools.ts | 483 ++- .../forge-mcp/zeroTrust/access/outputs.ts | 106 +- .../zeroTrust/access/policies/outputs.ts | 10 +- .../zeroTrust/access/policies/tools.ts | 1301 +++--- .../zeroTrust/access/ruleGroups/outputs.ts | 14 +- .../zeroTrust/access/ruleGroups/schemas.ts | 2 +- .../zeroTrust/access/ruleGroups/tools.ts | 1088 ++--- .../samlEncryptionCertificates/outputs.ts | 8 +- .../samlEncryptionCertificates/tools.ts | 235 +- .../forge-mcp/zeroTrust/access/schemas.ts | 16 +- .../zeroTrust/access/serviceTokens/outputs.ts | 6 +- .../zeroTrust/access/serviceTokens/tools.ts | 825 ++-- .../zeroTrust/access/signingKeys/outputs.ts | 10 +- .../zeroTrust/access/signingKeys/tools.ts | 168 +- .../zeroTrust/access/tags/outputs.ts | 10 +- .../zeroTrust/access/tags/schemas.ts | 2 +- .../forge-mcp/zeroTrust/access/tags/tools.ts | 362 +- .../zeroTrust/access/targets/bulk/tools.ts | 143 +- .../zeroTrust/access/targets/outputs.ts | 8 +- .../zeroTrust/access/targets/tools.ts | 677 ++-- .../access/userPopulations/outputs.ts | 8 +- .../zeroTrust/access/userPopulations/tools.ts | 372 +- .../access/userPopulations/users/outputs.ts | 14 +- .../access/userPopulations/users/tools.ts | 490 ++- .../access/users/activeSessions/outputs.ts | 4 +- .../access/users/activeSessions/tools.ts | 148 +- .../access/users/failedLogins/outputs.ts | 2 +- .../access/users/failedLogins/tools.ts | 58 +- .../access/users/lastSeenIdentity/outputs.ts | 2 +- .../access/users/lastSeenIdentity/tools.ts | 88 +- .../zeroTrust/access/users/outputs.ts | 34 +- .../forge-mcp/zeroTrust/access/users/tools.ts | 554 +-- .../casb/applications/authMethods/outputs.ts | 6 +- .../casb/applications/authMethods/tools.ts | 107 +- .../zeroTrust/casb/applications/outputs.ts | 20 +- .../zeroTrust/casb/applications/tools.ts | 181 +- .../zeroTrust/casb/assetSchemas/outputs.ts | 10 +- .../zeroTrust/casb/assetSchemas/tools.ts | 157 +- .../zeroTrust/casb/content/outputs.ts | 4 +- .../zeroTrust/casb/content/schemas.ts | 10 +- .../forge-mcp/zeroTrust/casb/content/tools.ts | 303 +- .../zeroTrust/casb/exports/outputs.ts | 2 +- .../forge-mcp/zeroTrust/casb/exports/tools.ts | 159 +- .../zeroTrust/casb/findingTypes/outputs.ts | 14 +- .../findingTypes/remediationTypes/outputs.ts | 4 +- .../findingTypes/remediationTypes/tools.ts | 113 +- .../zeroTrust/casb/findingTypes/schemas.ts | 8 +- .../zeroTrust/casb/findingTypes/tools.ts | 605 +-- .../casb/findings/instances/outputs.ts | 16 +- .../casb/findings/instances/schemas.ts | 6 +- .../casb/findings/instances/tools.ts | 603 +-- .../zeroTrust/casb/findings/outputs.ts | 12 +- .../zeroTrust/casb/findings/schemas.ts | 10 +- .../zeroTrust/casb/findings/tools.ts | 983 ++--- .../zeroTrust/casb/integrations/outputs.ts | 16 +- .../zeroTrust/casb/integrations/tools.ts | 369 +- .../forge-mcp/zeroTrust/casb/outputs.ts | 46 +- .../zeroTrust/casb/policies/outputs.ts | 10 +- .../zeroTrust/casb/policies/schemas.ts | 10 +- .../zeroTrust/casb/policies/tools.ts | 315 +- .../casb/remediations/jobs/outputs.ts | 16 +- .../casb/remediations/jobs/schemas.ts | 8 +- .../zeroTrust/casb/remediations/jobs/tools.ts | 361 +- .../forge-mcp/zeroTrust/casb/schemas.ts | 14 +- .../zeroTrust/casb/webhooks/jobs/outputs.ts | 14 +- .../zeroTrust/casb/webhooks/jobs/schemas.ts | 2 +- .../zeroTrust/casb/webhooks/jobs/tools.ts | 84 +- .../zeroTrust/casb/webhooks/outputs.ts | 8 +- .../zeroTrust/casb/webhooks/schemas.ts | 8 +- .../zeroTrust/casb/webhooks/tools.ts | 316 +- .../zeroTrust/connectivitySettings/outputs.ts | 6 +- .../zeroTrust/connectivitySettings/tools.ts | 104 +- .../cws/basicAuthCredentials/outputs.ts | 6 +- .../basicAuthCredentials/secrets/outputs.ts | 6 +- .../cws/basicAuthCredentials/secrets/tools.ts | 303 +- .../cws/basicAuthCredentials/tools.ts | 283 +- .../zeroTrust/cws/deployments/outputs.ts | 6 +- .../zeroTrust/cws/deployments/tools.ts | 319 +- .../zeroTrust/cws/domainAcls/outputs.ts | 8 +- .../zeroTrust/cws/domainAcls/tools.ts | 355 +- .../forge-mcp/zeroTrust/cws/outputs.ts | 12 +- .../zeroTrust/cws/policies/outputs.ts | 6 +- .../forge-mcp/zeroTrust/cws/policies/tools.ts | 341 +- .../zeroTrust/cws/policySets/outputs.ts | 8 +- .../zeroTrust/cws/policySets/tools.ts | 349 +- .../zeroTrust/cws/regoMetadata/outputs.ts | 10 +- .../zeroTrust/cws/regoMetadata/tools.ts | 377 +- .../zeroTrust/cws/regoModules/outputs.ts | 6 +- .../zeroTrust/cws/regoModules/tools.ts | 329 +- .../cws/tenantStructures/nodes/outputs.ts | 10 +- .../cws/tenantStructures/nodes/tools.ts | 469 ++- .../zeroTrust/cws/tenantStructures/outputs.ts | 6 +- .../zeroTrust/cws/tenantStructures/tools.ts | 329 +- .../zeroTrust/cws/workloads/outputs.ts | 6 +- .../zeroTrust/cws/workloads/tools.ts | 331 +- .../devices/clientVersions/outputs.ts | 2 +- .../targetEnvironments/outputs.ts | 2 +- .../targetEnvironments/tools.ts | 34 +- .../zeroTrust/devices/clientVersions/tools.ts | 102 +- .../devices/deploymentGroups/outputs.ts | 14 +- .../devices/deploymentGroups/schemas.ts | 8 +- .../devices/deploymentGroups/tools.ts | 323 +- .../devices/emergencyDisconnect/outputs.ts | 8 +- .../devices/emergencyDisconnect/schemas.ts | 6 +- .../devices/emergencyDisconnect/tools.ts | 130 +- .../zeroTrust/devices/ipProfiles/outputs.ts | 20 +- .../zeroTrust/devices/ipProfiles/schemas.ts | 14 +- .../zeroTrust/devices/ipProfiles/tools.ts | 393 +- .../zeroTrust/devices/networks/outputs.ts | 14 +- .../zeroTrust/devices/networks/schemas.ts | 8 +- .../zeroTrust/devices/networks/tools.ts | 405 +- .../forge-mcp/zeroTrust/devices/outputs.ts | 38 +- .../devices/overrideCodes/outputs.ts | 2 +- .../devices/overrideCodes/schemas.ts | 2 +- .../zeroTrust/devices/overrideCodes/tools.ts | 40 +- .../devices/posture/integrations/outputs.ts | 18 +- .../devices/posture/integrations/schemas.ts | 24 +- .../devices/posture/integrations/tools.ts | 445 ++- .../devices/posture/rules/outputs.ts | 78 +- .../devices/posture/rules/schemas.ts | 70 +- .../zeroTrust/devices/posture/rules/tools.ts | 1127 +++--- .../devices/profiles/custom/outputs.ts | 18 +- .../devices/profiles/custom/schemas.ts | 10 +- .../devices/profiles/custom/tools.ts | 1561 ++++---- .../devices/profiles/default/outputs.ts | 4 +- .../devices/profiles/default/tools.ts | 628 +-- .../zeroTrust/devices/profiles/outputs.ts | 82 +- .../zeroTrust/devices/profiles/schemas.ts | 74 +- .../devices/registrations/outputs.ts | 4 +- .../registrations/overrideCodes/outputs.ts | 2 +- .../registrations/overrideCodes/tools.ts | 42 +- .../zeroTrust/devices/registrations/tools.ts | 424 +- .../forge-mcp/zeroTrust/devices/schemas.ts | 8 +- .../zeroTrust/devices/settings/outputs.ts | 4 +- .../zeroTrust/devices/settings/schemas.ts | 2 +- .../zeroTrust/devices/settings/tools.ts | 142 +- .../forge-mcp/zeroTrust/devices/tools.ts | 426 +- .../forge-mcp/zeroTrust/dex/colos/outputs.ts | 2 +- .../forge-mcp/zeroTrust/dex/colos/tools.ts | 94 +- .../dex/commands/eligibleDevices/outputs.ts | 2 +- .../dex/commands/eligibleDevices/tools.ts | 120 +- .../zeroTrust/dex/commands/outputs.ts | 4 +- .../zeroTrust/dex/commands/quota/outputs.ts | 2 +- .../zeroTrust/dex/commands/quota/tools.ts | 52 +- .../zeroTrust/dex/commands/results/schemas.ts | 2 +- .../zeroTrust/dex/commands/results/tools.ts | 56 +- .../forge-mcp/zeroTrust/dex/commands/tools.ts | 210 +- .../dex/devices/aggregates/live/outputs.ts | 4 +- .../dex/devices/aggregates/live/tools.ts | 84 +- .../dex/devices/aggregates/outputs.ts | 2 +- .../devices/aggregates/overTime/outputs.ts | 4 +- .../dex/devices/aggregates/overTime/tools.ts | 128 +- .../zeroTrust/dex/devices/outputs.ts | 20 +- .../zeroTrust/dex/devices/overTime/outputs.ts | 20 +- .../zeroTrust/dex/devices/overTime/tools.ts | 212 +- .../zeroTrust/dex/devices/schemas.ts | 16 +- .../forge-mcp/zeroTrust/dex/devices/tools.ts | 466 ++- .../forge-mcp/zeroTrust/dex/isps/outputs.ts | 8 +- .../forge-mcp/zeroTrust/dex/isps/tools.ts | 184 +- .../forge-mcp/zeroTrust/dex/outputs.ts | 24 +- .../zeroTrust/dex/overview/tests/outputs.ts | 10 +- .../zeroTrust/dex/overview/tests/tools.ts | 165 +- .../overview/tests/uniqueDevices/outputs.ts | 2 +- .../dex/overview/tests/uniqueDevices/tools.ts | 75 +- .../forge-mcp/zeroTrust/dex/rules/outputs.ts | 6 +- .../forge-mcp/zeroTrust/dex/rules/schemas.ts | 4 +- .../forge-mcp/zeroTrust/dex/rules/tools.ts | 376 +- .../forge-mcp/zeroTrust/dex/schemas.ts | 16 +- .../zeroTrust/dex/testResults/http/outputs.ts | 2 +- .../testResults/http/percentiles/outputs.ts | 2 +- .../dex/testResults/http/percentiles/tools.ts | 122 +- .../zeroTrust/dex/testResults/http/tools.ts | 152 +- .../zeroTrust/dex/testResults/outputs.ts | 6 +- .../traceroute/networkPath/outputs.ts | 4 +- .../traceroute/networkPath/tools.ts | 78 +- .../dex/testResults/traceroute/outputs.ts | 2 +- .../traceroute/percentiles/outputs.ts | 2 +- .../traceroute/percentiles/tools.ts | 122 +- .../dex/testResults/traceroute/tools.ts | 152 +- .../dex/tests/networkPath/outputs.ts | 2 +- .../zeroTrust/dex/tests/networkPath/tools.ts | 128 +- .../forge-mcp/zeroTrust/dex/tests/outputs.ts | 24 +- .../forge-mcp/zeroTrust/dex/tests/schemas.ts | 16 +- .../forge-mcp/zeroTrust/dex/tests/tools.ts | 561 +-- .../zeroTrust/dex/warpChangeEvents/outputs.ts | 10 +- .../zeroTrust/dex/warpChangeEvents/tools.ts | 212 +- .../dlp/customPromptTopics/outputs.ts | 2 +- .../zeroTrust/dlp/customPromptTopics/tools.ts | 194 +- .../zeroTrust/dlp/dataClasses/outputs.ts | 4 +- .../zeroTrust/dlp/dataClasses/tools.ts | 222 +- .../dlp/dataTagCategories/outputs.ts | 4 +- .../zeroTrust/dlp/dataTagCategories/tools.ts | 219 +- .../dlp/dataTagCategoryTemplates/outputs.ts | 6 +- .../dlp/dataTagCategoryTemplates/tools.ts | 96 +- .../zeroTrust/dlp/dataTags/outputs.ts | 2 +- .../forge-mcp/zeroTrust/dlp/dataTags/tools.ts | 248 +- .../zeroTrust/dlp/datasets/outputs.ts | 12 +- .../forge-mcp/zeroTrust/dlp/datasets/tools.ts | 298 +- .../dlp/documentFingerprints/outputs.ts | 4 +- .../dlp/documentFingerprints/tools.ts | 206 +- .../dlp/email/accountMapping/outputs.ts | 4 +- .../dlp/email/accountMapping/tools.ts | 88 +- .../zeroTrust/dlp/email/rules/outputs.ts | 14 +- .../zeroTrust/dlp/email/rules/tools.ts | 386 +- .../zeroTrust/dlp/entries/outputs.ts | 6 +- .../forge-mcp/zeroTrust/dlp/entries/tools.ts | 415 +- .../forge-mcp/zeroTrust/dlp/limits/outputs.ts | 2 +- .../forge-mcp/zeroTrust/dlp/limits/tools.ts | 40 +- .../forge-mcp/zeroTrust/dlp/outputs.ts | 34 +- .../zeroTrust/dlp/patterns/outputs.ts | 2 +- .../forge-mcp/zeroTrust/dlp/patterns/tools.ts | 44 +- .../zeroTrust/dlp/profiles/custom/tools.ts | 353 +- .../zeroTrust/dlp/profiles/outputs.ts | 16 +- .../dlp/profiles/predefined/tools.ts | 179 +- .../forge-mcp/zeroTrust/dlp/profiles/tools.ts | 301 +- .../dlp/sensitivityGroupTemplates/outputs.ts | 6 +- .../dlp/sensitivityGroupTemplates/tools.ts | 96 +- .../dlp/sensitivityGroups/outputs.ts | 6 +- .../zeroTrust/dlp/sensitivityGroups/tools.ts | 304 +- .../dlp/sensitivityLevels/outputs.ts | 2 +- .../zeroTrust/dlp/sensitivityLevels/tools.ts | 248 +- .../zeroTrust/dlp/settings/outputs.ts | 6 +- .../forge-mcp/zeroTrust/dlp/settings/tools.ts | 176 +- .../zeroTrust/dlp/validators/outputs.ts | 20 +- .../dlp/validators/proximityWords/outputs.ts | 2 +- .../dlp/validators/proximityWords/tools.ts | 303 +- .../zeroTrust/dlp/validators/tools.ts | 193 +- .../dlp/validators/worker/outputs.ts | 2 +- .../dlp/validators/worker/status/outputs.ts | 4 +- .../dlp/validators/worker/status/tools.ts | 57 +- .../zeroTrust/dlp/validators/worker/tools.ts | 278 +- .../zeroTrust/gateway/appTypes/outputs.ts | 14 +- .../zeroTrust/gateway/appTypes/tools.ts | 100 +- .../zeroTrust/gateway/categories/outputs.ts | 16 +- .../zeroTrust/gateway/categories/tools.ts | 100 +- .../zeroTrust/gateway/certificates/outputs.ts | 14 +- .../zeroTrust/gateway/certificates/schemas.ts | 4 +- .../zeroTrust/gateway/certificates/tools.ts | 444 ++- .../gateway/configurations/outputs.ts | 42 +- .../gateway/configurations/schemas.ts | 40 +- .../zeroTrust/gateway/configurations/tools.ts | 532 +-- .../gateway/dnsDestinationIps/outputs.ts | 4 +- .../gateway/dnsDestinationIps/tools.ts | 64 +- .../zeroTrust/gateway/lists/items/outputs.ts | 2 +- .../zeroTrust/gateway/lists/items/tools.ts | 125 +- .../zeroTrust/gateway/lists/outputs.ts | 24 +- .../zeroTrust/gateway/lists/schemas.ts | 14 +- .../zeroTrust/gateway/lists/tools.ts | 621 +-- .../zeroTrust/gateway/locations/outputs.ts | 46 +- .../zeroTrust/gateway/locations/schemas.ts | 34 +- .../zeroTrust/gateway/locations/tools.ts | 815 ++-- .../zeroTrust/gateway/logging/outputs.ts | 6 +- .../zeroTrust/gateway/logging/schemas.ts | 4 +- .../zeroTrust/gateway/logging/tools.ts | 110 +- .../forge-mcp/zeroTrust/gateway/outputs.ts | 20 +- .../zeroTrust/gateway/pacfiles/outputs.ts | 16 +- .../zeroTrust/gateway/pacfiles/schemas.ts | 6 +- .../zeroTrust/gateway/pacfiles/tools.ts | 417 +- .../gateway/proxyEndpoints/outputs.ts | 16 +- .../gateway/proxyEndpoints/schemas.ts | 8 +- .../zeroTrust/gateway/proxyEndpoints/tools.ts | 461 ++- .../zeroTrust/gateway/rules/outputs.ts | 48 +- .../zeroTrust/gateway/rules/schemas.ts | 30 +- .../zeroTrust/gateway/rules/tools.ts | 1109 ++--- .../forge-mcp/zeroTrust/gateway/schemas.ts | 8 +- .../forge-mcp/zeroTrust/gateway/tools.ts | 110 +- .../federationGrants/outputs.ts | 8 +- .../federationGrants/tools.ts | 242 +- .../zeroTrust/identityProviders/outputs.ts | 52 +- .../samlCertificate/outputs.ts | 2 +- .../samlCertificate/tools.ts | 64 +- .../zeroTrust/identityProviders/schemas.ts | 12 +- .../identityProviders/scim/groups/outputs.ts | 10 +- .../identityProviders/scim/groups/schemas.ts | 2 +- .../identityProviders/scim/groups/tools.ts | 259 +- .../identityProviders/scim/outputs.ts | 4 +- .../identityProviders/scim/users/outputs.ts | 6 +- .../identityProviders/scim/users/schemas.ts | 6 +- .../identityProviders/scim/users/tools.ts | 275 +- .../zeroTrust/identityProviders/tools.ts | 857 ++-- .../zeroTrust/organization/doh/outputs.ts | 2 +- .../zeroTrust/organization/doh/tools.ts | 216 +- .../zeroTrust/organization/outputs.ts | 46 +- .../forge-mcp/zeroTrust/organization/tools.ts | 528 +-- .../organization/trustSettings/outputs.ts | 6 +- .../organization/trustSettings/tools.ts | 190 +- src/generated/forge-mcp/zeroTrust/outputs.ts | 58 +- .../riskScoring/behaviours/outputs.ts | 8 +- .../zeroTrust/riskScoring/behaviours/tools.ts | 111 +- .../riskScoring/integrations/outputs.ts | 6 +- .../integrations/references/tools.ts | 54 +- .../riskScoring/integrations/tools.ts | 222 +- .../zeroTrust/riskScoring/outputs.ts | 10 +- .../zeroTrust/riskScoring/summary/outputs.ts | 4 +- .../zeroTrust/riskScoring/summary/tools.ts | 56 +- .../forge-mcp/zeroTrust/riskScoring/tools.ts | 112 +- src/generated/forge-mcp/zeroTrust/schemas.ts | 4 +- .../forge-mcp/zeroTrust/seats/outputs.ts | 10 +- .../forge-mcp/zeroTrust/seats/schemas.ts | 2 +- .../forge-mcp/zeroTrust/seats/tools.ts | 94 +- .../users/mfa/authenticators/tools.ts | 62 +- .../forge-mcp/zeroTrust/users/outputs.ts | 2 +- .../zeroTrust/users/passkeys/tools.ts | 62 +- .../zones/activationCheck/outputs.ts | 8 +- .../zones/activationCheck/schemas.ts | 2 +- .../forge-mcp/zones/activationCheck/tools.ts | 46 +- .../forge-mcp/zones/aegis/outputs.ts | 6 +- .../forge-mcp/zones/aegis/schemas.ts | 2 +- src/generated/forge-mcp/zones/aegis/tools.ts | 236 +- .../automaticPlatformOptimization/outputs.ts | 4 +- .../automaticPlatformOptimization/tools.ts | 98 +- .../forge-mcp/zones/binaryAst/outputs.ts | 4 +- .../forge-mcp/zones/binaryAst/tools.ts | 98 +- .../forge-mcp/zones/fonts/outputs.ts | 4 +- src/generated/forge-mcp/zones/fonts/tools.ts | 92 +- .../zones/h2Prioritization/outputs.ts | 4 +- .../forge-mcp/zones/h2Prioritization/tools.ts | 98 +- .../forge-mcp/zones/holds/outputs.ts | 4 +- src/generated/forge-mcp/zones/holds/tools.ts | 176 +- .../zones/hostnames/settings/outputs.ts | 14 +- .../zones/hostnames/settings/schemas.ts | 6 +- .../zones/hostnames/settings/tls/outputs.ts | 6 +- .../zones/hostnames/settings/tls/tools.ts | 268 +- .../hostnames/settings/tlsSingle/tools.ts | 110 +- .../forge-mcp/zones/imageResizing/outputs.ts | 4 +- .../forge-mcp/zones/imageResizing/tools.ts | 98 +- .../zones/originH2MaxStreams/outputs.ts | 6 +- .../zones/originH2MaxStreams/schemas.ts | 2 +- .../zones/originH2MaxStreams/tools.ts | 114 +- .../zones/originMaxHttpVersion/outputs.ts | 6 +- .../zones/originMaxHttpVersion/schemas.ts | 2 +- .../zones/originMaxHttpVersion/tools.ts | 174 +- .../zones/originTlsComplianceModes/outputs.ts | 6 +- .../zones/originTlsComplianceModes/schemas.ts | 2 +- .../zones/originTlsComplianceModes/tools.ts | 308 +- src/generated/forge-mcp/zones/outputs.ts | 22 +- .../forge-mcp/zones/plans/outputs.ts | 12 +- src/generated/forge-mcp/zones/plans/tools.ts | 192 +- .../forge-mcp/zones/ratePlans/outputs.ts | 18 +- .../forge-mcp/zones/ratePlans/tools.ts | 124 +- src/generated/forge-mcp/zones/rum/outputs.ts | 10 +- src/generated/forge-mcp/zones/rum/schemas.ts | 2 +- src/generated/forge-mcp/zones/rum/tools.ts | 118 +- .../forge-mcp/zones/settings/outputs.ts | 276 +- .../forge-mcp/zones/settings/schemas.ts | 6 +- .../forge-mcp/zones/settings/tools.ts | 1500 +++---- .../forge-mcp/zones/speedBrain/outputs.ts | 2 +- .../forge-mcp/zones/speedBrain/tools.ts | 84 +- .../forge-mcp/zones/subscriptions/outputs.ts | 6 +- .../forge-mcp/zones/subscriptions/tools.ts | 436 +- src/generated/forge-mcp/zones/tools.ts | 379 +- .../transformationsAllowedOrigins/outputs.ts | 4 +- .../transformationsAllowedOrigins/tools.ts | 98 +- .../zones/transformationsC2pa/outputs.ts | 4 +- .../zones/transformationsC2pa/tools.ts | 98 +- .../zones/transformationsConfig/outputs.ts | 4 +- .../zones/transformationsConfig/tools.ts | 98 +- tests/filtered-lists.test.ts | 6 +- tests/forge-tools-cloudflare.test.ts | 56 +- tests/forge-tools-plan.test.ts | 23 +- tests/forge-tools-worker.test.ts | 25 +- tests/response-validation-worker.test.ts | 4 +- 2048 files changed, 164091 insertions(+), 136618 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 3dad62d5b..88ca363bb 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -197,14 +197,14 @@ The consent page offers minimal, read-only and full-access templates. Minimal is `?codemode=false` asks for direct tools; `?experimentalForge=true` changes how they are built: from code forge generates instead of `mcp-tools.json`. The flag is opt-in while the forge tools soak, and is meant to become how `?codemode=false` works. Code Mode ignores it, since it already reads the Forge spec. The earlier `?forge=true` preview param is gone; it now serves Code Mode. -- `src/generated/forge-mcp/` is TypeScript that `forge openapi.forge.json --target mcp` writes, committed and never edited by hand. Each group's `tools.ts` has its tools: schema, hints, the method's extensions, and a `request(args)` function that builds the API request. Each tool also has `responses`: the JSON Schema of every response body the method declares, by status, from the shared `outputs.ts` models; `tools/list` never sends them (see Response schema checks). Each tool with a JSON body on every 2xx response also has `outputSchema`, that body's schema (or `anyOf` the distinct ones) with the models it reaches in `$defs`; `listTools` sends it only when asked (see the output schema bullet below). `schemas.ts` files hold the shared argument models, `source.json` the `openapi.forge.json` release they came from (written by `generate-tools.ts`), `index.ts` exports every tool, `README.md` lists the methods without a tool and why, and `_/tool.ts` is forge's runtime: `listTools`, `toolsByName`, and `buildRequest`, which returns a call's request as plain data (`{ method, url, headers, body? }`) that `plan()` hands over RPC as it is. Forge generates no server. oxfmt and oxlint skip it +- `src/generated/forge-mcp/` is TypeScript that `forge openapi.forge.json --target mcp` writes, committed and never edited by hand. Each group's `tools.ts` has its tools: schema, hints, the method's extensions, and a `request(args)` function that builds the API request. Each tool also has `responses`: the JSON Schema of every response body the method declares, by status, from the shared `outputs.ts` models; `tools/list` never sends them (see Response schema checks). Each tool with a JSON body on every 2xx response also has `outputSchema`, that body's schema (or `anyOf` the distinct ones) with the models it reaches in `$defs`; `listTools` sends it only when asked (see the output schema bullet below). `schemas.ts` files hold the shared argument models, `source.json` the `openapi.forge.json` release they came from (written by `generate-tools.ts`), `index.ts` exports every tool, `README.md` lists the methods without a tool and why, and `_/tool.ts` is forge's runtime: `listTools`, `toolsByName`, `param`/`pathParam`, which read a parameter from the `path`, `query` or `headers` argument, and `buildRequest`, which returns a call's request as plain data (`{ method, url, headers, body? }`) that `plan()` hands over RPC as it is. Forge generates no server. oxfmt and oxlint skip it - The MCP target is proposed for `cloudflare/forge`'s main in cloudflare/forge#71; until it merges, `forge.json` pins a commit of that PR's `mcp` branch. `FORGE_BINARY=… npm run generate:tools` regenerates locally. `.github/workflows/forge-tools.yml` builds that forge, regenerates from the latest `openapi.forge.json` every six hours, runs the type check and tests, and opens or updates the `bot/forge-tools` pull request when the code changes. That pull request also moves `source.json`, the spec pin Code Mode follows, and its summary counts the tools with permissions before and after, warning when a release drops many. The pull request is opened with `GITHUB_TOKEN`, so CI doesn't run on it; the workflow's own type check and tests are the check. Merging it deploys both Workers through Workers Builds. To change the generator, bump `forge.json`'s `ref` - The generated tools run in their own Worker, the **forge tools service** (`src/forge-tools/worker.ts`, `wrangler.forge-tools.jsonc`, `cloudflare-api-mcp-forge-tools[-staging|-dev]`), which the main Worker reaches through its `FORGE_TOOLS` service binding. Code Mode isolates never compile the ~10 MB of generated code: workerd compiles every module a Worker uploads at startup, so in the main Worker a lazy import still cost ~27 ms per isolate, and a separate uploaded module didn't help. The service holds no credentials, makes no requests, and has no route. Its RPC methods are `search(code)`, which runs Code Mode's search code in a `LOADER` sandbox against the spec, `listJson({ outputSchema })`, the tools as `tools/list` sends them as one JSON string, with or without their output schemas, which the main Worker parses once per isolate (`getForgeToolList()` in `src/isolate-cache.ts`; decoding ~3,000 nested objects over RPC cost ~200–300 ms of CPU per `tools/list`), `plan(name, args, { baseUrl, sessionAccountId })`, the request a call makes (`src/forge-tools/plan.ts`), `checkResponse(...)`, which checks a trimmed response against the generated response schemas, and `specArtifact(name)`, which streams one of the pinned release's spec artifacts (`spec.json`, `products.json`, `mcp-tools.json`). `scripts/generate-tools.ts` writes those to `src/generated/spec/` as text modules from the same release as the tools (`src/forge-tools/spec.ts` imports them), so a pin bump carries both. It returns a stream because `spec.json` (~27 MB) is close to RPC's 32 MiB message limit. The service bundle is ~51 MB of Workers' 64 MiB limit, about 31 MB of it the spec -- `src/forge-tools/cloudflare.ts` applies the Cloudflare policy once per service isolate: `account_id` is optional with one description, and so is a merged tool's `account_or_zone_id` (the document gives `account_or_zone` its values). Permissions come from each tool's `x-api-token-group` extension, which clients never see +- `src/forge-tools/cloudflare.ts` applies the Cloudflare policy once per service isolate: `path.account_id` is optional with one description, and so is a merged tool's `path.account_or_zone_id` (the document gives `account_or_zone` its values); when that leaves no path parameter required, `path` is optional too. Permissions come from each tool's `x-api-token-group` extension, which clients never see - `src/tools/forge-tools.ts`, in the main Worker, serves `?codemode=false&experimentalForge=true`: `docs` and `whoami` itself, and the generated tools from the service. It sends each planned request with the session's token, which never leaves the main Worker, and explains refused calls and steps up OAuth scopes like the other direct tools - `&experimentalOutputSchema=true` (only with `?codemode=false&experimentalForge=true`) turns on output schemas for 2026-07-28 requests: `tools/list` sends each tool's generated `outputSchema`, and a successful call returns the whole response body, which its output schema describes, as `structuredContent`, never truncated, next to the text, which stays the whole response. A request is 2026-07-28 when its `_meta` envelope names a protocol version (`ctx.mcpReq.envelope`); 2025-era requests are served as without the flag, since their clients expect object output schemas and most generated ones are a `$ref`, `allOf` or scalar. The output schemas come straight from the generator, so the Worker only picks a listing. They are the soak's schemas, so a strict client will reject results the response schema checks flag (Hyperdrive's write-only `origin.password`, cloudflare/forge#63). The listing grows from ~6 MB to ~12 MB (0.64 to 0.98 MB gzipped), loaded only when asked for - Workers Builds deploys the service and the main Worker on every push to `main`. Ship a new RPC method in the service before the main Worker calls it, and in a new environment deploy the service first (`npm run deploy:forge-tools` / `deploy:forge-tools:prod`), since the main Worker binds to it. `npm run dev` runs both, and `npm run types` reads both configs to type the binding. Vitest builds the service with `wrangler deploy --dry-run` and runs it as an auxiliary Worker, so tests call it over the real binding -- Tool names are forge's (`d1_list`, `zones_list`), not `src/openapi.ts`'s, so switching `?codemode=false` to forge renames every tool for its clients; that is why the flag soaks first +- Tool names are forge's: each group and the method in camelCase, joined by `_` (`d1_list`, `zeroTrust_access_applications_list`), not `src/openapi.ts`'s. Arguments are grouped by where they go: `path`, `query` and `headers`, each keyed by wire name, plus `body` (`{ path: { account_id }, query: { per_page }, body }`), not the endpoint tools' flat arguments. So switching `?codemode=false` to forge renames every tool and changes its arguments for its clients; that is why the flag soaks first ### Skills over MCP diff --git a/forge.json b/forge.json index f8b797cbd..10453b482 100644 --- a/forge.json +++ b/forge.json @@ -1,5 +1,5 @@ { "$comment": "The forge that generates src/generated/forge-mcp: a commit of cloudflare/forge. Bump ref to pick up generator changes; CI builds it.", "repository": "cloudflare/forge", - "ref": "580804fccf9c3f04d0449d2bc22506a2f2a8e419" + "ref": "8bd67ce7c57f14c2ac3e57645c9d5ee15cb80454" } diff --git a/src/forge-tools/cloudflare.ts b/src/forge-tools/cloudflare.ts index 1251bc1ff..2d727c138 100644 --- a/src/forge-tools/cloudflare.ts +++ b/src/forge-tools/cloudflare.ts @@ -5,44 +5,64 @@ import { PERMISSIONS_EXTENSION } from './policy' +/** The account path parameters the server can fill in, with their descriptions. */ +const OPTIONAL_PATH_PARAMS: Readonly> = { + account_id: FORGE_ACCOUNT_ID_DESCRIPTION, + account_or_zone_id: ACCOUNT_OR_ZONE_ID_DESCRIPTION +} + /** * The Cloudflare policy on top of a generated tool: * - * - `account_id` is optional with one description, so tool lists don't depend - * on the session; the server fills it in when the session has one account. + * - `path.account_id` is optional with one description, so tool lists don't + * depend on the session; the server fills it in when the session has one + * account. * - Forge merges methods that exist under both accounts and zones into * `/{account_or_zone}/{account_or_zone_id}/…`. The document gives * `account_or_zone` its two values (cloudflare/forge#59); - * `account_or_zone_id` is optional here like `account_id`, since the server - * fills in the session's account for `accounts`. + * `path.account_or_zone_id` is optional here like `path.account_id`, since + * the server fills in the session's account for `accounts`. * + * When that leaves no path parameter required, `path` itself is optional. * The tool's request code is kept, so calls build the same requests. */ export function cloudflareTool(tool: Tool): Tool { - const properties = tool.inputSchema.properties - if (!properties || !('account_id' in properties || 'account_or_zone_id' in properties)) + const path = tool.inputSchema.properties?.path as PathSchema | undefined + const params = path?.properties + if (!path || !params || !Object.keys(params).some((key) => key in OPTIONAL_PATH_PARAMS)) { return tool + } - const changed: Record = { ...properties } - const optional = new Set() - if ('account_id' in changed) { - changed.account_id = { type: 'string', description: FORGE_ACCOUNT_ID_DESCRIPTION } - optional.add('account_id') + const changed: Record = { ...params } + for (const [key, description] of Object.entries(OPTIONAL_PATH_PARAMS)) { + if (key in changed) changed[key] = { type: 'string', description } } - if ('account_or_zone_id' in changed) { - changed.account_or_zone_id = { type: 'string', description: ACCOUNT_OR_ZONE_ID_DESCRIPTION } - optional.add('account_or_zone_id') + const pathRequired = (path.required ?? []).filter((key) => !(key in OPTIONAL_PATH_PARAMS)) + const { required: _pathRequired, ...pathRest } = path + const pathSchema: JsonSchema = { + ...pathRest, + properties: changed, + ...(pathRequired.length > 0 && { required: pathRequired }) } - const required = (tool.inputSchema.required ?? []).filter((key) => !optional.has(key)) + + const required = (tool.inputSchema.required ?? []).filter( + (key) => key !== 'path' || pathRequired.length > 0 + ) const { required: _required, ...schema } = tool.inputSchema const inputSchema: InputSchema = { ...schema, - properties: changed, + properties: { ...tool.inputSchema.properties, path: pathSchema }, ...(required.length > 0 && { required }) } return { ...tool, inputSchema } } +/** The `path` argument of a generated tool: an object of its path parameters. */ +interface PathSchema extends JsonSchema { + readonly properties?: Readonly> + readonly required?: readonly string[] +} + /** The API token permissions `tool` accepts, if its method lists them. */ export function permissionsOf(tool: Tool): string[] | undefined { const value = tool.extensions?.[PERMISSIONS_EXTENSION] diff --git a/src/forge-tools/plan.ts b/src/forge-tools/plan.ts index f90b29e12..4b022ce29 100644 --- a/src/forge-tools/plan.ts +++ b/src/forge-tools/plan.ts @@ -1,6 +1,7 @@ import { buildRequest, InvalidArguments, + param, type Args, type HttpRequest, type Tool @@ -44,22 +45,22 @@ export type CallPlan = * as it is. */ export function planCall(tool: Tool, given: Args, options: PlanOptions): CallPlan { - const key = accountKey(tool, given) - let args = given - if (key && given[key] === undefined) { - if (!options.sessionAccountId) return { kind: 'needs_account' } - args = { ...given, [key]: options.sessionAccountId } - } - let request: HttpRequest + let accountId: string | undefined try { + const key = accountKey(tool, given) + let args = given + if (key && param(given, 'path', key) === undefined) { + if (!options.sessionAccountId) return { kind: 'needs_account' } + args = withPathParam(given, key, options.sessionAccountId) + } request = buildRequest(tool, args, options.baseUrl) + accountId = accountIdOf(args) } catch (error) { if (error instanceof InvalidArguments) return { kind: 'invalid', message: error.message } throw error } const permissions = permissionsOf(tool) - const accountId = accountIdOf(args) return { kind: 'request', ...request, @@ -69,16 +70,28 @@ export function planCall(tool: Tool, given: Args, options: PlanOptions): CallPla } } -/** The argument that names the account, when the tool takes one for these arguments. */ +/** The path parameter that names the account, when the tool takes one for these arguments. */ function accountKey(tool: Tool, args: Args): string | undefined { if (tool.path.includes('{account_id}')) return 'account_id' - if (tool.path.startsWith(ACCOUNT_OR_ZONE_PREFIX) && args.account_or_zone === 'accounts') { + if ( + tool.path.startsWith(ACCOUNT_OR_ZONE_PREFIX) && + param(args, 'path', 'account_or_zone') === 'accounts' + ) { return 'account_or_zone_id' } return undefined } +/** Returns `args` with the path parameter `key` set to `value`. */ +function withPathParam(args: Args, key: string, value: string): Args { + const path = (args.path ?? {}) as Readonly> + return { ...args, path: { ...path, [key]: value } } +} + function accountIdOf(args: Args): string | undefined { - const id = args.account_or_zone === 'accounts' ? args.account_or_zone_id : args.account_id + const id = + param(args, 'path', 'account_or_zone') === 'accounts' + ? param(args, 'path', 'account_or_zone_id') + : param(args, 'path', 'account_id') return typeof id === 'string' ? id : undefined } diff --git a/src/generated/forge-mcp/_/tool.ts b/src/generated/forge-mcp/_/tool.ts index 642759cc4..1e6182f4a 100644 --- a/src/generated/forge-mcp/_/tool.ts +++ b/src/generated/forge-mcp/_/tool.ts @@ -3,9 +3,16 @@ import type { Tool as McpTool } from '@modelcontextprotocol/server'; -/** The arguments of a tool call, as the client sent them. */ +/** + * The arguments of a tool call, as the client sent them: the parameters by + * where they go, `path`, `query` and `headers`, each an object keyed by the + * parameters' names on the wire, and the JSON body as `body`. + */ export type Args = Readonly>; +/** Where a parameter goes: the argument that holds it. */ +export type ParamLocation = 'path' | 'query' | 'headers'; + /** A JSON Schema, as plain JSON. */ export type JsonSchema = { readonly [key: string]: unknown }; @@ -108,15 +115,52 @@ export class InvalidArguments extends Error { } /** - * Returns the argument `key`, for the path: a string, number or boolean, + * Returns the parameter `name` in `location`: `args[location][name]`, or + * `undefined` if either is missing. Throws {@link InvalidArguments} when + * `args[location]` isn't an object. + */ +export function param(args: Args, location: ParamLocation, name: string): unknown { + const values = args[location]; + if (values === undefined || values === null) { + return undefined; + } + if (typeof values !== 'object' || Array.isArray(values)) { + throw new InvalidArguments(`${location} must be an object`); + } + return (values as Readonly>)[name]; +} + +/** + * Returns the path parameter `name`: a string, number or boolean, * percent-encoded. Throws {@link InvalidArguments} when it is missing. */ -export function pathParam(args: Args, key: string): string { - const value = args[key]; +export function pathParam(args: Args, name: string): string { + const value = param(args, 'path', name); if (value === undefined || value === null || value === '') { - throw new InvalidArguments(`Missing path parameter: ${key}`); + throw new InvalidArguments(`Missing path parameter: ${name}`); } - return encodeURIComponent(scalar(key, value)); + return encodeURIComponent(scalar(name, value)); +} + +/** + * Returns the required arguments of `tool` that `args` leaves out: a + * top-level argument such as `body`, or a parameter such as `query.page` in + * a place `args` has. + */ +function missingArguments(tool: Tool, args: Args): string[] { + const missing = (tool.inputSchema.required ?? []).filter((key) => args[key] === undefined); + for (const location of ['path', 'query', 'headers'] as const) { + const required = tool.inputSchema.properties?.[location]?.['required']; + if (args[location] === undefined || !Array.isArray(required)) { + continue; + } + for (const name of required as readonly string[]) { + if (param(args, location, name) === undefined) { + missing.push(`${location}.${name}`); + } + } + } + return missing; } /** @@ -126,7 +170,7 @@ export function pathParam(args: Args, key: string): string { * Throws {@link InvalidArguments}. */ export function buildRequest(tool: Tool, args: Args, baseUrl: string): HttpRequest { - const missing = (tool.inputSchema.required ?? []).filter((key) => args[key] === undefined); + const missing = missingArguments(tool, args); if (missing.length > 0) { throw new InvalidArguments(`Missing required arguments: ${missing.join(', ')}`); } diff --git a/src/generated/forge-mcp/abuseReports/appeals/outputs.ts b/src/generated/forge-mcp/abuseReports/appeals/outputs.ts index a36891e6c..df40d2699 100644 --- a/src/generated/forge-mcp/abuseReports/appeals/outputs.ts +++ b/src/generated/forge-mcp/abuseReports/appeals/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `abuse-reports_AppealEligibility` in responses. */ -export const abuse_reports_AppealEligibility_output: JsonSchema = { +export const abuse$$reports_AppealEligibility: JsonSchema = { "properties": { "appeal_count": { "type": "integer" diff --git a/src/generated/forge-mcp/abuseReports/appeals/tools.ts b/src/generated/forge-mcp/abuseReports/appeals/tools.ts index a9cc96fa9..6470f4f35 100644 --- a/src/generated/forge-mcp/abuseReports/appeals/tools.ts +++ b/src/generated/forge-mcp/abuseReports/appeals/tools.ts @@ -3,37 +3,45 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - abuse_reports_AuthErrorResponse_output, - abuse_reports_CloudflareAPIErrorResponse_output, - abuse_reports_ErrorMessage_output, - abuse_reports_Message_output, - abuse_reports_UnauthorizedErrorResponse_output, + abuse$$reports_AuthErrorResponse, + abuse$$reports_CloudflareAPIErrorResponse, + abuse$$reports_ErrorMessage, + abuse$$reports_Message, + abuse$$reports_UnauthorizedErrorResponse, } from "../outputs.js"; -import { abuse_reports_AppealEligibility_output } from "./outputs.js"; +import { abuse$$reports_AppealEligibility } from "./outputs.js"; /** - * The tools of `abuse_reports.appeals`. + * The tools of `abuseReports.appeals`. */ export const tools: readonly Tool[] = [ { - name: "abuse_reports_appeals_eligibility", + name: "abuseReports_appeals_eligibility", title: "Check whether a report can be appealed", description: "Returns whether the report is currently appealable, along with the signals behind that decision: whether it already has an open appeal, how many appeals have been submitted against it, and whether it has at least one mitigation that an appeal could reverse.\nReport-level appeals are currently available only for DMCA (copyright) reports. For other report types this operation returns the same `404 Report not found` response as a report that does not exist for the account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, - "report_id": { - "description": "Abuse Report ID", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + }, + "report_id": { + "description": "Abuse Report ID", + "type": "string" + } + }, + "required": [ + "account_id", + "report_id" + ], + "type": "object" } }, required: [ - "account_id", - "report_id" + "path" ], }, outputSchema: { @@ -62,8 +70,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "abuse-reports_AppealEligibility": abuse_reports_AppealEligibility_output, - "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_AppealEligibility": abuse$$reports_AppealEligibility, + "abuse-reports_Message": abuse$$reports_Message, }, }, annotations: { @@ -151,12 +159,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "abuse-reports_AppealEligibility": abuse_reports_AppealEligibility_output, - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_AppealEligibility": abuse$$reports_AppealEligibility, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/abuseReports/emails/outputs.ts b/src/generated/forge-mcp/abuseReports/emails/outputs.ts index dc7da03e5..b7e3e9c1d 100644 --- a/src/generated/forge-mcp/abuseReports/emails/outputs.ts +++ b/src/generated/forge-mcp/abuseReports/emails/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `abuse-reports_EmailListItem` in responses. */ -export const abuse_reports_EmailListItem_output: JsonSchema = { +export const abuse$$reports_EmailListItem: JsonSchema = { "properties": { "body": { "type": "string" @@ -37,7 +37,7 @@ export const abuse_reports_EmailListItem_output: JsonSchema = { /** * The schema of `abuse-reports_EmailListResponse` in responses. */ -export const abuse_reports_EmailListResponse_output: JsonSchema = { +export const abuse$$reports_EmailListResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/abuseReports/emails/tools.ts b/src/generated/forge-mcp/abuseReports/emails/tools.ts index 59be3d55c..8008e0096 100644 --- a/src/generated/forge-mcp/abuseReports/emails/tools.ts +++ b/src/generated/forge-mcp/abuseReports/emails/tools.ts @@ -1,51 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - abuse_reports_AuthErrorResponse_output, - abuse_reports_CloudflareAPIErrorResponse_output, - abuse_reports_ErrorMessage_output, - abuse_reports_Message_output, - abuse_reports_ResultInfo_output, - abuse_reports_UnauthorizedErrorResponse_output, + abuse$$reports_AuthErrorResponse, + abuse$$reports_CloudflareAPIErrorResponse, + abuse$$reports_ErrorMessage, + abuse$$reports_Message, + abuse$$reports_ResultInfo, + abuse$$reports_UnauthorizedErrorResponse, } from "../outputs.js"; import { - abuse_reports_EmailListItem_output, - abuse_reports_EmailListResponse_output, + abuse$$reports_EmailListItem, + abuse$$reports_EmailListResponse, } from "./outputs.js"; /** - * The tools of `abuse_reports.emails`. + * The tools of `abuseReports.emails`. */ export const tools: readonly Tool[] = [ { - name: "abuse_reports_emails_list", + name: "abuseReports_emails_list", title: "List abuse report emails", description: "List emails sent to the customer for an abuse report. Returns all successful customer emails sent for the specified abuse report. Does not include emails sent to hosts or submitters.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, - "page": { - "description": "Page number to retrieve (default 1)", - "type": "integer" - }, - "per_page": { - "description": "Number of emails per page (default 20, max 100)", - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + }, + "report_id": { + "description": "Abuse Report ID", + "type": "string" + } + }, + "required": [ + "account_id", + "report_id" + ], + "type": "object" }, - "report_id": { - "description": "Abuse Report ID", - "type": "string" + "query": { + "properties": { + "page": { + "description": "Page number to retrieve (default 1)", + "type": "integer" + }, + "per_page": { + "description": "Number of emails per page (default 20, max 100)", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "report_id" + "path" ], }, outputSchema: { @@ -112,8 +125,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "abuse-reports_EmailListItem": abuse_reports_EmailListItem_output, - "abuse-reports_Message": abuse_reports_Message_output, + "abuse-reports_EmailListItem": abuse$$reports_EmailListItem, + "abuse-reports_Message": abuse$$reports_Message, }, }, annotations: { @@ -251,59 +264,72 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_EmailListItem": abuse_reports_EmailListItem_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_EmailListItem": abuse$$reports_EmailListItem, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_id")}/emails`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "abuse_reports_emails_list_submitted", + name: "abuseReports_emails_listSubmitted", title: "List emails sent to an abuse report submitter", description: "List successful emails sent to the submitter of a report submitted by the account. Does not include emails sent to customers or hosts.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, - "page": { - "description": "Page number to retrieve (default 1).", - "type": "integer" - }, - "per_page": { - "description": "Number of emails per page (default 20, max 100).", - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + }, + "report_id": { + "description": "Public report code.", + "type": "string" + } + }, + "required": [ + "account_id", + "report_id" + ], + "type": "object" }, - "report_id": { - "description": "Public report code.", - "type": "string" + "query": { + "properties": { + "page": { + "description": "Page number to retrieve (default 1).", + "type": "integer" + }, + "per_page": { + "description": "Number of emails per page (default 20, max 100).", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "report_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/abuse-reports_EmailListResponse", $defs: { - "abuse-reports_EmailListItem": abuse_reports_EmailListItem_output, - "abuse-reports_EmailListResponse": abuse_reports_EmailListResponse_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_ResultInfo": abuse_reports_ResultInfo_output, + "abuse-reports_EmailListItem": abuse$$reports_EmailListItem, + "abuse-reports_EmailListResponse": abuse$$reports_EmailListResponse, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_ResultInfo": abuse$$reports_ResultInfo, }, }, annotations: { @@ -337,21 +363,21 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_EmailListItem": abuse_reports_EmailListItem_output, - "abuse-reports_EmailListResponse": abuse_reports_EmailListResponse_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_ResultInfo": abuse_reports_ResultInfo_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_EmailListItem": abuse$$reports_EmailListItem, + "abuse-reports_EmailListResponse": abuse$$reports_EmailListResponse, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_ResultInfo": abuse$$reports_ResultInfo, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/submitted/${pathParam(args, "report_id")}/emails`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts b/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts index 5768f0271..41b90dd53 100644 --- a/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts +++ b/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `abuse-reports_MitigatedEntityType` in responses. */ -export const abuse_reports_MitigatedEntityType_output: JsonSchema = { +export const abuse$$reports_MitigatedEntityType: JsonSchema = { "enum": [ "url_pattern", "account", @@ -19,7 +19,7 @@ export const abuse_reports_MitigatedEntityType_output: JsonSchema = { /** * The schema of `abuse-reports_MitigationAppealResult` in responses. */ -export const abuse_reports_MitigationAppealResult_output: JsonSchema = { +export const abuse$$reports_MitigationAppealResult: JsonSchema = { "properties": { "errors": { "items": { @@ -80,7 +80,7 @@ export const abuse_reports_MitigationAppealResult_output: JsonSchema = { /** * The schema of `abuse-reports_MitigationListItem` in responses. */ -export const abuse_reports_MitigationListItem_output: JsonSchema = { +export const abuse$$reports_MitigationListItem: JsonSchema = { "properties": { "effective_date": { "type": "string" @@ -115,6 +115,6 @@ export const abuse_reports_MitigationListItem_output: JsonSchema = { /** * The schema of `abuse-reports_MitigationType` in responses. */ -export const abuse_reports_MitigationType_output: JsonSchema = { +export const abuse$$reports_MitigationType: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/abuseReports/mitigations/schemas.ts b/src/generated/forge-mcp/abuseReports/mitigations/schemas.ts index be8f6a8ad..e775cdd29 100644 --- a/src/generated/forge-mcp/abuseReports/mitigations/schemas.ts +++ b/src/generated/forge-mcp/abuseReports/mitigations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `abuse-reports_AppealReason`. */ -export const abuse_reports_AppealReason: JsonSchema = { +export const abuse$$reports_AppealReason: JsonSchema = { "description": "Reason why the customer is appealing.", "enum": [ "removed", @@ -18,7 +18,7 @@ export const abuse_reports_AppealReason: JsonSchema = { /** * The schema of `abuse-reports_AppealType`. */ -export const abuse_reports_AppealType: JsonSchema = { +export const abuse$$reports_AppealType: JsonSchema = { "description": "The type of appeal being submitted.", "enum": [ "counter_notice", @@ -30,7 +30,7 @@ export const abuse_reports_AppealType: JsonSchema = { /** * The schema of `abuse-reports_DMCACounterNotice`. */ -export const abuse_reports_DMCACounterNotice: JsonSchema = { +export const abuse$$reports_DMCACounterNotice: JsonSchema = { "description": "Counter-notice details supporting an appeal.", "properties": { "city": { @@ -99,7 +99,7 @@ export const abuse_reports_DMCACounterNotice: JsonSchema = { /** * The schema of `abuse-reports_MitigatedEntityType`. */ -export const abuse_reports_MitigatedEntityType: JsonSchema = { +export const abuse$$reports_MitigatedEntityType: JsonSchema = { "description": "The type of entity targeted by a mitigation.", "enum": [ "url_pattern", @@ -113,7 +113,7 @@ export const abuse_reports_MitigatedEntityType: JsonSchema = { /** * The schema of `abuse-reports_MitigationAppeal`. */ -export const abuse_reports_MitigationAppeal: JsonSchema = { +export const abuse$$reports_MitigationAppeal: JsonSchema = { "properties": { "id": { "description": "ID of the mitigation to appeal.", @@ -134,7 +134,7 @@ export const abuse_reports_MitigationAppeal: JsonSchema = { /** * The schema of `abuse-reports_MitigationAppealRequest`. */ -export const abuse_reports_MitigationAppealRequest: JsonSchema = { +export const abuse$$reports_MitigationAppealRequest: JsonSchema = { "description": "Submit an appeal for a report. Provide either a list of mitigations to appeal, or an appeal type with its supporting details, but not both. When type is \"counter_notice\", the counter-notice details are required. A \"content_removed\" appeal takes an optional explanation instead and is accepted only while the report is in its Notice and Takedown notice period (`has_pending_notice` on the eligibility response). Reports that allow a single appeal (`max_appeals` of 1) never have a notice period and accept it whenever `appealable` is true.", "properties": { "appeals": { @@ -163,7 +163,7 @@ export const abuse_reports_MitigationAppealRequest: JsonSchema = { /** * The schema of `abuse-reports_MitigationType`. */ -export const abuse_reports_MitigationType: JsonSchema = { +export const abuse$$reports_MitigationType: JsonSchema = { "description": "The type of mitigation applied to a reported entity.", "type": "string" }; diff --git a/src/generated/forge-mcp/abuseReports/mitigations/tools.ts b/src/generated/forge-mcp/abuseReports/mitigations/tools.ts index 56992ded1..532ae3cd2 100644 --- a/src/generated/forge-mcp/abuseReports/mitigations/tools.ts +++ b/src/generated/forge-mcp/abuseReports/mitigations/tools.ts @@ -1,102 +1,115 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - abuse_reports_AuthErrorResponse_output, - abuse_reports_CloudflareAPIErrorResponse_output, - abuse_reports_ErrorMessage_output, - abuse_reports_Message_output, - abuse_reports_MitigationStatus_output, - abuse_reports_UnauthorizedErrorResponse_output, + abuse$$reports_AuthErrorResponse, + abuse$$reports_CloudflareAPIErrorResponse, + abuse$$reports_ErrorMessage, + abuse$$reports_Message, + abuse$$reports_MitigationStatus, + abuse$$reports_UnauthorizedErrorResponse, } from "../outputs.js"; -import { abuse_reports_MitigationStatus } from "../schemas.js"; +import { abuse$$reports_MitigationStatus as abuse$$reports_MitigationStatus$ } from "../schemas.js"; import { - abuse_reports_MitigatedEntityType_output, - abuse_reports_MitigationAppealResult_output, - abuse_reports_MitigationListItem_output, - abuse_reports_MitigationType_output, + abuse$$reports_MitigatedEntityType, + abuse$$reports_MitigationAppealResult, + abuse$$reports_MitigationListItem, + abuse$$reports_MitigationType, } from "./outputs.js"; import { - abuse_reports_AppealReason, - abuse_reports_AppealType, - abuse_reports_DMCACounterNotice, - abuse_reports_MitigatedEntityType, - abuse_reports_MitigationAppeal, - abuse_reports_MitigationAppealRequest, - abuse_reports_MitigationType, + abuse$$reports_AppealReason, + abuse$$reports_AppealType, + abuse$$reports_DMCACounterNotice, + abuse$$reports_MitigatedEntityType as abuse$$reports_MitigatedEntityType$, + abuse$$reports_MitigationAppeal, + abuse$$reports_MitigationAppealRequest, + abuse$$reports_MitigationType as abuse$$reports_MitigationType$, } from "./schemas.js"; /** - * The tools of `abuse_reports.mitigations`. + * The tools of `abuseReports.mitigations`. */ export const tools: readonly Tool[] = [ { - name: "abuse_reports_mitigations_list", + name: "abuseReports_mitigations_list", title: "List abuse report mitigations", description: "List mitigations done to remediate the abuse report.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, - "effective_after": { - "description": "Returns mitigation that were dispatched after the given date", - "type": "string" - }, - "effective_before": { - "description": "Returns mitigations that were dispatched before the given date", - "type": "string" - }, - "entity_type": { - "$ref": "#/$defs/abuse-reports_MitigatedEntityType", - "description": "Filter by the type of entity the mitigation impacts." - }, - "page": { - "description": "Where in pagination to start listing abuse reports", - "type": "integer" - }, - "per_page": { - "description": "How many abuse reports per page to list", - "type": "integer" - }, - "report_id": { - "description": "Abuse Report ID", - "type": "string" - }, - "sort": { - "description": "A property to sort by, followed by the order", - "enum": [ - "type,asc", - "type,desc", - "effective_date,asc", - "effective_date,desc", - "status,asc", - "status,desc", - "entity_type,asc", - "entity_type,desc" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + }, + "report_id": { + "description": "Abuse Report ID", + "type": "string" + } + }, + "required": [ + "account_id", + "report_id" ], - "type": "string" - }, - "status": { - "$ref": "#/$defs/abuse-reports_MitigationStatus", - "description": "Filter by the status of the mitigation." + "type": "object" }, - "type": { - "$ref": "#/$defs/abuse-reports_MitigationType", - "description": "Filter by the type of mitigation. This filter parameter can be specified multiple times to include multiple types of mitigations in the result set." + "query": { + "properties": { + "effective_after": { + "description": "Returns mitigation that were dispatched after the given date", + "type": "string" + }, + "effective_before": { + "description": "Returns mitigations that were dispatched before the given date", + "type": "string" + }, + "entity_type": { + "$ref": "#/$defs/abuse-reports_MitigatedEntityType", + "description": "Filter by the type of entity the mitigation impacts." + }, + "page": { + "description": "Where in pagination to start listing abuse reports", + "type": "integer" + }, + "per_page": { + "description": "How many abuse reports per page to list", + "type": "integer" + }, + "sort": { + "description": "A property to sort by, followed by the order", + "enum": [ + "type,asc", + "type,desc", + "effective_date,asc", + "effective_date,desc", + "status,asc", + "status,desc", + "entity_type,asc", + "entity_type,desc" + ], + "type": "string" + }, + "status": { + "$ref": "#/$defs/abuse-reports_MitigationStatus", + "description": "Filter by the status of the mitigation." + }, + "type": { + "$ref": "#/$defs/abuse-reports_MitigationType", + "description": "Filter by the type of mitigation. This filter parameter can be specified multiple times to include multiple types of mitigations in the result set." + } + }, + "type": "object" } }, required: [ - "account_id", - "report_id" + "path" ], $defs: { - "abuse-reports_MitigatedEntityType": abuse_reports_MitigatedEntityType, - "abuse-reports_MitigationStatus": abuse_reports_MitigationStatus, - "abuse-reports_MitigationType": abuse_reports_MitigationType, + "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType$, + "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus$, + "abuse-reports_MitigationType": abuse$$reports_MitigationType$, }, }, outputSchema: { @@ -163,11 +176,11 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_MitigatedEntityType": abuse_reports_MitigatedEntityType_output, - "abuse-reports_MitigationListItem": abuse_reports_MitigationListItem_output, - "abuse-reports_MitigationStatus": abuse_reports_MitigationStatus_output, - "abuse-reports_MitigationType": abuse_reports_MitigationType_output, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType, + "abuse-reports_MitigationListItem": abuse$$reports_MitigationListItem, + "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, + "abuse-reports_MitigationType": abuse$$reports_MitigationType, }, }, annotations: { @@ -282,72 +295,80 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_MitigatedEntityType": abuse_reports_MitigatedEntityType_output, - "abuse-reports_MitigationListItem": abuse_reports_MitigationListItem_output, - "abuse-reports_MitigationStatus": abuse_reports_MitigationStatus_output, - "abuse-reports_MitigationType": abuse_reports_MitigationType_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType, + "abuse-reports_MitigationListItem": abuse$$reports_MitigationListItem, + "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, + "abuse-reports_MitigationType": abuse$$reports_MitigationType, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_id")}/mitigations`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["sort", args["sort"], true], - ["type", args["type"], true], - ["effective_before", args["effective_before"], true], - ["effective_after", args["effective_after"], true], - ["status", args["status"], true], - ["entity_type", args["entity_type"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["sort", param(args, "query", "sort"), true], + ["type", param(args, "query", "type"), true], + ["effective_before", param(args, "query", "effective_before"), true], + ["effective_after", param(args, "query", "effective_after"), true], + ["status", param(args, "query", "status"), true], + ["entity_type", param(args, "query", "entity_type"), true], ], }), }, { - name: "abuse_reports_mitigations_review", + name: "abuseReports_mitigations_review", title: "Request review on mitigations", description: "Request a review of mitigations applied because of an abuse report, or submit a report-level appeal.\n\n- To request a review of specific mitigations, send `appeals` with the mitigation IDs and reasons. Repeating a request for a mitigation with an unresolved appeal is idempotent and returns that mitigation in the in-review state.\n- To submit a report-level appeal, send `type` and, for a `counter_notice`, the counter-notice details in `data`. Report-level appeals are currently available only for DMCA (copyright) reports.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, "body": { "$ref": "#/$defs/abuse-reports_MitigationAppealRequest" }, - "report_id": { - "description": "Abuse Report ID", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + }, + "report_id": { + "description": "Abuse Report ID", + "type": "string" + } + }, + "required": [ + "account_id", + "report_id" + ], + "type": "object" } }, required: [ - "account_id", - "report_id", + "path", "body" ], $defs: { - "abuse-reports_AppealReason": abuse_reports_AppealReason, - "abuse-reports_AppealType": abuse_reports_AppealType, - "abuse-reports_DMCACounterNotice": abuse_reports_DMCACounterNotice, - "abuse-reports_MitigationAppeal": abuse_reports_MitigationAppeal, - "abuse-reports_MitigationAppealRequest": abuse_reports_MitigationAppealRequest, + "abuse-reports_AppealReason": abuse$$reports_AppealReason, + "abuse-reports_AppealType": abuse$$reports_AppealType, + "abuse-reports_DMCACounterNotice": abuse$$reports_DMCACounterNotice, + "abuse-reports_MitigationAppeal": abuse$$reports_MitigationAppeal, + "abuse-reports_MitigationAppealRequest": abuse$$reports_MitigationAppealRequest, }, }, outputSchema: { "$ref": "#/$defs/abuse-reports_MitigationAppealResult", $defs: { - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_MitigatedEntityType": abuse_reports_MitigatedEntityType_output, - "abuse-reports_MitigationAppealResult": abuse_reports_MitigationAppealResult_output, - "abuse-reports_MitigationListItem": abuse_reports_MitigationListItem_output, - "abuse-reports_MitigationStatus": abuse_reports_MitigationStatus_output, - "abuse-reports_MitigationType": abuse_reports_MitigationType_output, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType, + "abuse-reports_MitigationAppealResult": abuse$$reports_MitigationAppealResult, + "abuse-reports_MitigationListItem": abuse$$reports_MitigationListItem, + "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, + "abuse-reports_MitigationType": abuse$$reports_MitigationType, }, }, annotations: { @@ -403,16 +424,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_MitigatedEntityType": abuse_reports_MitigatedEntityType_output, - "abuse-reports_MitigationAppealResult": abuse_reports_MitigationAppealResult_output, - "abuse-reports_MitigationListItem": abuse_reports_MitigationListItem_output, - "abuse-reports_MitigationStatus": abuse_reports_MitigationStatus_output, - "abuse-reports_MitigationType": abuse_reports_MitigationType_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType, + "abuse-reports_MitigationAppealResult": abuse$$reports_MitigationAppealResult, + "abuse-reports_MitigationListItem": abuse$$reports_MitigationListItem, + "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, + "abuse-reports_MitigationType": abuse$$reports_MitigationType, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/abuseReports/outputs.ts b/src/generated/forge-mcp/abuseReports/outputs.ts index cbbcfaa0a..ab38c445e 100644 --- a/src/generated/forge-mcp/abuseReports/outputs.ts +++ b/src/generated/forge-mcp/abuseReports/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `abuse-reports_AbuseReport` in responses. */ -export const abuse_reports_AbuseReport_output: JsonSchema = { +export const abuse$$reports_AbuseReport: JsonSchema = { "properties": { "cdate": { "type": "string" @@ -56,7 +56,7 @@ export const abuse_reports_AbuseReport_output: JsonSchema = { /** * The schema of `abuse-reports_AuthErrorResponse` in responses. */ -export const abuse_reports_AuthErrorResponse_output: JsonSchema = { +export const abuse$$reports_AuthErrorResponse: JsonSchema = { "properties": { "err_code": { "type": "string" @@ -83,98 +83,98 @@ export const abuse_reports_AuthErrorResponse_output: JsonSchema = { /** * The schema of `abuse-reports_BadActError` in responses. */ -export const abuse_reports_BadActError_output: JsonSchema = { +export const abuse$$reports_BadActError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadAddressError` in responses. */ -export const abuse_reports_BadAddressError_output: JsonSchema = { +export const abuse$$reports_BadAddressError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadAgentNameError` in responses. */ -export const abuse_reports_BadAgentNameError_output: JsonSchema = { +export const abuse$$reports_BadAgentNameError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadCityError` in responses. */ -export const abuse_reports_BadCityError_output: JsonSchema = { +export const abuse$$reports_BadCityError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadCommentsError` in responses. */ -export const abuse_reports_BadCommentsError_output: JsonSchema = { +export const abuse$$reports_BadCommentsError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadCountryError` in responses. */ -export const abuse_reports_BadCountryError_output: JsonSchema = { +export const abuse$$reports_BadCountryError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadEmailError` in responses. */ -export const abuse_reports_BadEmailError_output: JsonSchema = { +export const abuse$$reports_BadEmailError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadIPError` in responses. */ -export const abuse_reports_BadIPError_output: JsonSchema = { +export const abuse$$reports_BadIPError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadJustError` in responses. */ -export const abuse_reports_BadJustError_output: JsonSchema = { +export const abuse$$reports_BadJustError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadNameError` in responses. */ -export const abuse_reports_BadNameError_output: JsonSchema = { +export const abuse$$reports_BadNameError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadPortsProtocolError` in responses. */ -export const abuse_reports_BadPortsProtocolError_output: JsonSchema = { +export const abuse$$reports_BadPortsProtocolError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadStateError` in responses. */ -export const abuse_reports_BadStateError_output: JsonSchema = { +export const abuse$$reports_BadStateError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_BadUrlsError` in responses. */ -export const abuse_reports_BadUrlsError_output: JsonSchema = { +export const abuse$$reports_BadUrlsError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_CloudflareAPIErrorResponse` in responses. */ -export const abuse_reports_CloudflareAPIErrorResponse_output: JsonSchema = { +export const abuse$$reports_CloudflareAPIErrorResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -214,35 +214,35 @@ export const abuse_reports_CloudflareAPIErrorResponse_output: JsonSchema = { /** * The schema of `abuse-reports_DBError` in responses. */ -export const abuse_reports_DBError_output: JsonSchema = { +export const abuse$$reports_DBError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_DedupeError` in responses. */ -export const abuse_reports_DedupeError_output: JsonSchema = { +export const abuse$$reports_DedupeError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_DiffEmailError` in responses. */ -export const abuse_reports_DiffEmailError_output: JsonSchema = { +export const abuse$$reports_DiffEmailError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_EmailError` in responses. */ -export const abuse_reports_EmailError_output: JsonSchema = { +export const abuse$$reports_EmailError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_ErrorCode` in responses. */ -export const abuse_reports_ErrorCode_output: JsonSchema = { +export const abuse$$reports_ErrorCode: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/abuse-reports_BadActError" @@ -337,7 +337,7 @@ export const abuse_reports_ErrorCode_output: JsonSchema = { /** * The schema of `abuse-reports_ErrorMessage` in responses. */ -export const abuse_reports_ErrorMessage_output: JsonSchema = { +export const abuse$$reports_ErrorMessage: JsonSchema = { "properties": { "code": { "oneOf": [ @@ -362,28 +362,28 @@ export const abuse_reports_ErrorMessage_output: JsonSchema = { /** * The schema of `abuse-reports_InternalError` in responses. */ -export const abuse_reports_InternalError_output: JsonSchema = { +export const abuse$$reports_InternalError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_InvalidNotifyError` in responses. */ -export const abuse_reports_InvalidNotifyError_output: JsonSchema = { +export const abuse$$reports_InvalidNotifyError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_MaxIPsError` in responses. */ -export const abuse_reports_MaxIPsError_output: JsonSchema = { +export const abuse$$reports_MaxIPsError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_Message` in responses. */ -export const abuse_reports_Message_output: JsonSchema = { +export const abuse$$reports_Message: JsonSchema = { "properties": { "message": { "type": "string" @@ -398,7 +398,7 @@ export const abuse_reports_Message_output: JsonSchema = { /** * The schema of `abuse-reports_MitigationStatus` in responses. */ -export const abuse_reports_MitigationStatus_output: JsonSchema = { +export const abuse$$reports_MitigationStatus: JsonSchema = { "enum": [ "pending", "active", @@ -412,7 +412,7 @@ export const abuse_reports_MitigationStatus_output: JsonSchema = { /** * The schema of `abuse-reports_MitigationSummary` in responses. */ -export const abuse_reports_MitigationSummary_output: JsonSchema = { +export const abuse$$reports_MitigationSummary: JsonSchema = { "properties": { "accepted_url_count": { "type": "integer" @@ -443,49 +443,49 @@ export const abuse_reports_MitigationSummary_output: JsonSchema = { /** * The schema of `abuse-reports_MustNotifyError` in responses. */ -export const abuse_reports_MustNotifyError_output: JsonSchema = { +export const abuse$$reports_MustNotifyError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_NoAgreeError` in responses. */ -export const abuse_reports_NoAgreeError_output: JsonSchema = { +export const abuse$$reports_NoAgreeError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_NoOriginalWorkError` in responses. */ -export const abuse_reports_NoOriginalWorkError_output: JsonSchema = { +export const abuse$$reports_NoOriginalWorkError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_NoSigError` in responses. */ -export const abuse_reports_NoSigError_output: JsonSchema = { +export const abuse$$reports_NoSigError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_PortsProtocolError` in responses. */ -export const abuse_reports_PortsProtocolError_output: JsonSchema = { +export const abuse$$reports_PortsProtocolError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_RateLimitedError` in responses. */ -export const abuse_reports_RateLimitedError_output: JsonSchema = { +export const abuse$$reports_RateLimitedError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_RateLimitedErrorResponse` in responses. */ -export const abuse_reports_RateLimitedErrorResponse_output: JsonSchema = { +export const abuse$$reports_RateLimitedErrorResponse: JsonSchema = { "properties": { "err_code": { "$ref": "#/$defs/abuse-reports_RateLimitedError" @@ -524,7 +524,7 @@ export const abuse_reports_RateLimitedErrorResponse_output: JsonSchema = { /** * The schema of `abuse-reports_RegistrarWhoIsFields` in responses. */ -export const abuse_reports_RegistrarWhoIsFields_output: JsonSchema = { +export const abuse$$reports_RegistrarWhoIsFields: JsonSchema = { "properties": { "reg_who_authorization_statement": { "type": "string" @@ -594,7 +594,7 @@ export const abuse_reports_RegistrarWhoIsFields_output: JsonSchema = { /** * The schema of `abuse-reports_ReportStatus` in responses. */ -export const abuse_reports_ReportStatus_output: JsonSchema = { +export const abuse$$reports_ReportStatus: JsonSchema = { "enum": [ "accepted", "in_review" @@ -605,7 +605,7 @@ export const abuse_reports_ReportStatus_output: JsonSchema = { /** * The schema of `abuse-reports_ReportType` in responses. */ -export const abuse_reports_ReportType_output: JsonSchema = { +export const abuse$$reports_ReportType: JsonSchema = { "enum": [ "PHISH", "GEN", @@ -623,7 +623,7 @@ export const abuse_reports_ReportType_output: JsonSchema = { /** * The schema of `abuse-reports_ResultInfo` in responses. */ -export const abuse_reports_ResultInfo_output: JsonSchema = { +export const abuse$$reports_ResultInfo: JsonSchema = { "properties": { "count": { "type": "number" @@ -654,14 +654,14 @@ export const abuse_reports_ResultInfo_output: JsonSchema = { /** * The schema of `abuse-reports_SubmissionReportType` in responses. */ -export const abuse_reports_SubmissionReportType_output: JsonSchema = { +export const abuse$$reports_SubmissionReportType: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_SubmitErrorResponse` in responses. */ -export const abuse_reports_SubmitErrorResponse_output: JsonSchema = { +export const abuse$$reports_SubmitErrorResponse: JsonSchema = { "properties": { "err_code": { "$ref": "#/$defs/abuse-reports_ErrorCode" @@ -700,7 +700,7 @@ export const abuse_reports_SubmitErrorResponse_output: JsonSchema = { /** * The schema of `abuse-reports_SubmitReportResponse` in responses. */ -export const abuse_reports_SubmitReportResponse_output: JsonSchema = { +export const abuse$$reports_SubmitReportResponse: JsonSchema = { "properties": { "abuse_rand": { "type": "string" @@ -731,7 +731,7 @@ export const abuse_reports_SubmitReportResponse_output: JsonSchema = { /** * The schema of `abuse-reports_SubmittedAbuseReportDenialReason` in responses. */ -export const abuse_reports_SubmittedAbuseReportDenialReason_output: JsonSchema = { +export const abuse$$reports_SubmittedAbuseReportDenialReason: JsonSchema = { "enum": [ "unable_to_confirm", "incomplete_report", @@ -753,7 +753,7 @@ export const abuse_reports_SubmittedAbuseReportDenialReason_output: JsonSchema = /** * The schema of `abuse-reports_SubmittedAbuseReportDetail` in responses. */ -export const abuse_reports_SubmittedAbuseReportDetail_output: JsonSchema = { +export const abuse$$reports_SubmittedAbuseReportDetail: JsonSchema = { "allOf": [ { "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportListItem" @@ -852,7 +852,7 @@ export const abuse_reports_SubmittedAbuseReportDetail_output: JsonSchema = { * The schema of `abuse-reports_SubmittedAbuseReportDetailResponse` in * responses. */ -export const abuse_reports_SubmittedAbuseReportDetailResponse_output: JsonSchema = { +export const abuse$$reports_SubmittedAbuseReportDetailResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -883,7 +883,7 @@ export const abuse_reports_SubmittedAbuseReportDetailResponse_output: JsonSchema /** * The schema of `abuse-reports_SubmittedAbuseReportListItem` in responses. */ -export const abuse_reports_SubmittedAbuseReportListItem_output: JsonSchema = { +export const abuse$$reports_SubmittedAbuseReportListItem: JsonSchema = { "properties": { "cdate": { "format": "date-time", @@ -929,7 +929,7 @@ export const abuse_reports_SubmittedAbuseReportListItem_output: JsonSchema = { /** * The schema of `abuse-reports_SubmittedAbuseReportListResponse` in responses. */ -export const abuse_reports_SubmittedAbuseReportListResponse_output: JsonSchema = { +export const abuse$$reports_SubmittedAbuseReportListResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -974,7 +974,7 @@ export const abuse_reports_SubmittedAbuseReportListResponse_output: JsonSchema = /** * The schema of `abuse-reports_SubmittedAbuseReportStatus` in responses. */ -export const abuse_reports_SubmittedAbuseReportStatus_output: JsonSchema = { +export const abuse$$reports_SubmittedAbuseReportStatus: JsonSchema = { "enum": [ "submitted", "accepted", @@ -986,7 +986,7 @@ export const abuse_reports_SubmittedAbuseReportStatus_output: JsonSchema = { /** * The schema of `abuse-reports_SubmitterDetails` in responses. */ -export const abuse_reports_SubmitterDetails_output: JsonSchema = { +export const abuse$$reports_SubmitterDetails: JsonSchema = { "properties": { "company": { "type": "string" @@ -1007,7 +1007,7 @@ export const abuse_reports_SubmitterDetails_output: JsonSchema = { /** * The schema of `abuse-reports_UnauthorizedErrorResponse` in responses. */ -export const abuse_reports_UnauthorizedErrorResponse_output: JsonSchema = { +export const abuse$$reports_UnauthorizedErrorResponse: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/abuse-reports_CloudflareAPIErrorResponse" @@ -1021,27 +1021,27 @@ export const abuse_reports_UnauthorizedErrorResponse_output: JsonSchema = { /** * The schema of `abuse-reports_UnexpectedActError` in responses. */ -export const abuse_reports_UnexpectedActError_output: JsonSchema = { +export const abuse$$reports_UnexpectedActError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_UnknownError` in responses. */ -export const abuse_reports_UnknownError_output: JsonSchema = { +export const abuse$$reports_UnknownError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_UrlNotOrangeError` in responses. */ -export const abuse_reports_UrlNotOrangeError_output: JsonSchema = { +export const abuse$$reports_UrlNotOrangeError: JsonSchema = { "type": "string" }; /** * The schema of `abuse-reports_UrlNotvalidError` in responses. */ -export const abuse_reports_UrlNotvalidError_output: JsonSchema = { +export const abuse$$reports_UrlNotvalidError: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/abuseReports/schemas.ts b/src/generated/forge-mcp/abuseReports/schemas.ts index dc308aca2..decbdf819 100644 --- a/src/generated/forge-mcp/abuseReports/schemas.ts +++ b/src/generated/forge-mcp/abuseReports/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `abuse-reports_BaseReportFields`. */ -export const abuse_reports_BaseReportFields: JsonSchema = { +export const abuse$$reports_BaseReportFields: JsonSchema = { "properties": { "act": { "$ref": "#/$defs/abuse-reports_SubmissionReportType", @@ -66,7 +66,7 @@ export const abuse_reports_BaseReportFields: JsonSchema = { /** * The schema of `abuse-reports_CSAMReport`. */ -export const abuse_reports_CSAMReport: JsonSchema = { +export const abuse$$reports_CSAMReport: JsonSchema = { "allOf": [ { "$ref": "#/$defs/abuse-reports_BaseReportFields" @@ -127,7 +127,7 @@ export const abuse_reports_CSAMReport: JsonSchema = { /** * The schema of `abuse-reports_DMCAReport`. */ -export const abuse_reports_DMCAReport: JsonSchema = { +export const abuse$$reports_DMCAReport: JsonSchema = { "allOf": [ { "$ref": "#/$defs/abuse-reports_BaseReportFields" @@ -210,7 +210,7 @@ export const abuse_reports_DMCAReport: JsonSchema = { /** * The schema of `abuse-reports_GeneralReport`. */ -export const abuse_reports_GeneralReport: JsonSchema = { +export const abuse$$reports_GeneralReport: JsonSchema = { "allOf": [ { "$ref": "#/$defs/abuse-reports_BaseReportFields" @@ -269,7 +269,7 @@ export const abuse_reports_GeneralReport: JsonSchema = { /** * The schema of `abuse-reports_MitigationStatus`. */ -export const abuse_reports_MitigationStatus: JsonSchema = { +export const abuse$$reports_MitigationStatus: JsonSchema = { "description": "The status of a mitigation", "enum": [ "pending", @@ -284,7 +284,7 @@ export const abuse_reports_MitigationStatus: JsonSchema = { /** * The schema of `abuse-reports_NCSEIReport`. */ -export const abuse_reports_NCSEIReport: JsonSchema = { +export const abuse$$reports_NCSEIReport: JsonSchema = { "allOf": [ { "$ref": "#/$defs/abuse-reports_BaseReportFields" @@ -336,7 +336,7 @@ export const abuse_reports_NCSEIReport: JsonSchema = { /** * The schema of `abuse-reports_PhishingReport`. */ -export const abuse_reports_PhishingReport: JsonSchema = { +export const abuse$$reports_PhishingReport: JsonSchema = { "allOf": [ { "$ref": "#/$defs/abuse-reports_BaseReportFields" @@ -387,7 +387,7 @@ export const abuse_reports_PhishingReport: JsonSchema = { /** * The schema of `abuse-reports_RegistrarWhoIsFields`. */ -export const abuse_reports_RegistrarWhoIsFields: JsonSchema = { +export const abuse$$reports_RegistrarWhoIsFields: JsonSchema = { "description": "RDP-mandated fields for registrar WHOIS data disclosure requests.", "properties": { "reg_who_authorization_statement": { @@ -465,7 +465,7 @@ export const abuse_reports_RegistrarWhoIsFields: JsonSchema = { /** * The schema of `abuse-reports_RegistrarWhoisReport`. */ -export const abuse_reports_RegistrarWhoisReport: JsonSchema = { +export const abuse$$reports_RegistrarWhoisReport: JsonSchema = { "allOf": [ { "$ref": "#/$defs/abuse-reports_BaseReportFields" @@ -503,7 +503,7 @@ export const abuse_reports_RegistrarWhoisReport: JsonSchema = { /** * The schema of `abuse-reports_ReportStatus`. */ -export const abuse_reports_ReportStatus: JsonSchema = { +export const abuse$$reports_ReportStatus: JsonSchema = { "description": "An enum value that represents the status of an abuse record", "enum": [ "accepted", @@ -515,7 +515,7 @@ export const abuse_reports_ReportStatus: JsonSchema = { /** * The schema of `abuse-reports_ReportType`. */ -export const abuse_reports_ReportType: JsonSchema = { +export const abuse$$reports_ReportType: JsonSchema = { "description": "The abuse report type", "enum": [ "PHISH", @@ -534,7 +534,7 @@ export const abuse_reports_ReportType: JsonSchema = { /** * The schema of `abuse-reports_SubmissionReportType`. */ -export const abuse_reports_SubmissionReportType: JsonSchema = { +export const abuse$$reports_SubmissionReportType: JsonSchema = { "description": "The report type for submitted reports.", "type": "string" }; @@ -542,7 +542,7 @@ export const abuse_reports_SubmissionReportType: JsonSchema = { /** * The schema of `abuse-reports_SubmitReportRequest`. */ -export const abuse_reports_SubmitReportRequest: JsonSchema = { +export const abuse$$reports_SubmitReportRequest: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/abuse-reports_DMCAReport" @@ -574,7 +574,7 @@ export const abuse_reports_SubmitReportRequest: JsonSchema = { /** * The schema of `abuse-reports_SubmittedAbuseReportStatus`. */ -export const abuse_reports_SubmittedAbuseReportStatus: JsonSchema = { +export const abuse$$reports_SubmittedAbuseReportStatus: JsonSchema = { "description": "Status visible to the account that submitted the report.", "enum": [ "submitted", @@ -587,7 +587,7 @@ export const abuse_reports_SubmittedAbuseReportStatus: JsonSchema = { /** * The schema of `abuse-reports_ThreatReport`. */ -export const abuse_reports_ThreatReport: JsonSchema = { +export const abuse$$reports_ThreatReport: JsonSchema = { "allOf": [ { "$ref": "#/$defs/abuse-reports_BaseReportFields" @@ -634,7 +634,7 @@ export const abuse_reports_ThreatReport: JsonSchema = { /** * The schema of `abuse-reports_TrademarkReport`. */ -export const abuse_reports_TrademarkReport: JsonSchema = { +export const abuse$$reports_TrademarkReport: JsonSchema = { "allOf": [ { "$ref": "#/$defs/abuse-reports_BaseReportFields" diff --git a/src/generated/forge-mcp/abuseReports/tools.ts b/src/generated/forge-mcp/abuseReports/tools.ts index 7da90a498..5c6365586 100644 --- a/src/generated/forge-mcp/abuseReports/tools.ts +++ b/src/generated/forge-mcp/abuseReports/tools.ts @@ -1,129 +1,137 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - abuse_reports_AbuseReport_output, - abuse_reports_AuthErrorResponse_output, - abuse_reports_BadActError_output, - abuse_reports_BadAddressError_output, - abuse_reports_BadAgentNameError_output, - abuse_reports_BadCityError_output, - abuse_reports_BadCommentsError_output, - abuse_reports_BadCountryError_output, - abuse_reports_BadEmailError_output, - abuse_reports_BadIPError_output, - abuse_reports_BadJustError_output, - abuse_reports_BadNameError_output, - abuse_reports_BadPortsProtocolError_output, - abuse_reports_BadStateError_output, - abuse_reports_BadUrlsError_output, - abuse_reports_CloudflareAPIErrorResponse_output, - abuse_reports_DBError_output, - abuse_reports_DedupeError_output, - abuse_reports_DiffEmailError_output, - abuse_reports_EmailError_output, - abuse_reports_ErrorCode_output, - abuse_reports_ErrorMessage_output, - abuse_reports_InternalError_output, - abuse_reports_InvalidNotifyError_output, - abuse_reports_MaxIPsError_output, - abuse_reports_Message_output, - abuse_reports_MitigationSummary_output, - abuse_reports_MustNotifyError_output, - abuse_reports_NoAgreeError_output, - abuse_reports_NoOriginalWorkError_output, - abuse_reports_NoSigError_output, - abuse_reports_PortsProtocolError_output, - abuse_reports_RateLimitedErrorResponse_output, - abuse_reports_RateLimitedError_output, - abuse_reports_RegistrarWhoIsFields_output, - abuse_reports_ReportStatus_output, - abuse_reports_ReportType_output, - abuse_reports_ResultInfo_output, - abuse_reports_SubmissionReportType_output, - abuse_reports_SubmitErrorResponse_output, - abuse_reports_SubmitReportResponse_output, - abuse_reports_SubmittedAbuseReportDenialReason_output, - abuse_reports_SubmittedAbuseReportDetailResponse_output, - abuse_reports_SubmittedAbuseReportDetail_output, - abuse_reports_SubmittedAbuseReportListItem_output, - abuse_reports_SubmittedAbuseReportListResponse_output, - abuse_reports_SubmittedAbuseReportStatus_output, - abuse_reports_SubmitterDetails_output, - abuse_reports_UnauthorizedErrorResponse_output, - abuse_reports_UnexpectedActError_output, - abuse_reports_UnknownError_output, - abuse_reports_UrlNotOrangeError_output, - abuse_reports_UrlNotvalidError_output, + abuse$$reports_AbuseReport, + abuse$$reports_AuthErrorResponse, + abuse$$reports_BadActError, + abuse$$reports_BadAddressError, + abuse$$reports_BadAgentNameError, + abuse$$reports_BadCityError, + abuse$$reports_BadCommentsError, + abuse$$reports_BadCountryError, + abuse$$reports_BadEmailError, + abuse$$reports_BadIPError, + abuse$$reports_BadJustError, + abuse$$reports_BadNameError, + abuse$$reports_BadPortsProtocolError, + abuse$$reports_BadStateError, + abuse$$reports_BadUrlsError, + abuse$$reports_CloudflareAPIErrorResponse, + abuse$$reports_DBError, + abuse$$reports_DedupeError, + abuse$$reports_DiffEmailError, + abuse$$reports_EmailError, + abuse$$reports_ErrorCode, + abuse$$reports_ErrorMessage, + abuse$$reports_InternalError, + abuse$$reports_InvalidNotifyError, + abuse$$reports_MaxIPsError, + abuse$$reports_Message, + abuse$$reports_MitigationSummary, + abuse$$reports_MustNotifyError, + abuse$$reports_NoAgreeError, + abuse$$reports_NoOriginalWorkError, + abuse$$reports_NoSigError, + abuse$$reports_PortsProtocolError, + abuse$$reports_RateLimitedError, + abuse$$reports_RateLimitedErrorResponse, + abuse$$reports_RegistrarWhoIsFields, + abuse$$reports_ReportStatus, + abuse$$reports_ReportType, + abuse$$reports_ResultInfo, + abuse$$reports_SubmissionReportType, + abuse$$reports_SubmitErrorResponse, + abuse$$reports_SubmitReportResponse, + abuse$$reports_SubmittedAbuseReportDenialReason, + abuse$$reports_SubmittedAbuseReportDetail, + abuse$$reports_SubmittedAbuseReportDetailResponse, + abuse$$reports_SubmittedAbuseReportListItem, + abuse$$reports_SubmittedAbuseReportListResponse, + abuse$$reports_SubmittedAbuseReportStatus, + abuse$$reports_SubmitterDetails, + abuse$$reports_UnauthorizedErrorResponse, + abuse$$reports_UnexpectedActError, + abuse$$reports_UnknownError, + abuse$$reports_UrlNotOrangeError, + abuse$$reports_UrlNotvalidError, } from "./outputs.js"; import { - abuse_reports_BaseReportFields, - abuse_reports_CSAMReport, - abuse_reports_DMCAReport, - abuse_reports_GeneralReport, - abuse_reports_MitigationStatus, - abuse_reports_NCSEIReport, - abuse_reports_PhishingReport, - abuse_reports_RegistrarWhoIsFields, - abuse_reports_RegistrarWhoisReport, - abuse_reports_ReportStatus, - abuse_reports_ReportType, - abuse_reports_SubmissionReportType, - abuse_reports_SubmitReportRequest, - abuse_reports_SubmittedAbuseReportStatus, - abuse_reports_ThreatReport, - abuse_reports_TrademarkReport, + abuse$$reports_BaseReportFields, + abuse$$reports_CSAMReport, + abuse$$reports_DMCAReport, + abuse$$reports_GeneralReport, + abuse$$reports_MitigationStatus, + abuse$$reports_NCSEIReport, + abuse$$reports_PhishingReport, + abuse$$reports_RegistrarWhoIsFields as abuse$$reports_RegistrarWhoIsFields$, + abuse$$reports_RegistrarWhoisReport, + abuse$$reports_ReportStatus as abuse$$reports_ReportStatus$, + abuse$$reports_ReportType as abuse$$reports_ReportType$, + abuse$$reports_SubmissionReportType as abuse$$reports_SubmissionReportType$, + abuse$$reports_SubmitReportRequest, + abuse$$reports_SubmittedAbuseReportStatus as abuse$$reports_SubmittedAbuseReportStatus$, + abuse$$reports_ThreatReport, + abuse$$reports_TrademarkReport, } from "./schemas.js"; /** - * The tools of `abuse_reports`. + * The tools of `abuseReports`. */ export const tools: readonly Tool[] = [ { - name: "abuse_reports_create", + name: "abuseReports_create", title: "Submit an abuse report", description: "Submit an abuse report of a particular type.\n\nRequires the abuse-reports entitlement on the account (Enterprise\naccounts have it by default; other accounts must request access) and an\nAPI token with the `Trust and Safety Write` permission. If the account\nis not entitled, the request is rejected with an HTTP `401` response\n(see below).\n\nDelegated reports: In limited circumstances, Cloudflare works with\nselect customers who have established abuse-handling programs. For\nthese customers, Cloudflare may forward abuse reports directly and in\nfull—including reporter contact information, comments, and supporting\nevidence—without redaction or preprocessing by Cloudflare. This allows\nthe customer to investigate and respond using their own policies and\nprocesses. For delegated reports, the report—including contact\ninformation and comments—will be forwarded to the customer in full\nregardless of the `host_notification` and `owner_notification` values.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, "body": { "$ref": "#/$defs/abuse-reports_SubmitReportRequest" }, - "report_type": { - "$ref": "#/$defs/abuse-reports_SubmissionReportType", - "description": "The report type to be submitted. Example: abuse_general" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + }, + "report_param": { + "$ref": "#/$defs/abuse-reports_SubmissionReportType", + "description": "The report type to be submitted. Example: abuse_general" + } + }, + "required": [ + "account_id", + "report_param" + ], + "type": "object" } }, required: [ - "account_id", - "report_type", + "path", "body" ], $defs: { - "abuse-reports_BaseReportFields": abuse_reports_BaseReportFields, - "abuse-reports_CSAMReport": abuse_reports_CSAMReport, - "abuse-reports_DMCAReport": abuse_reports_DMCAReport, - "abuse-reports_GeneralReport": abuse_reports_GeneralReport, - "abuse-reports_NCSEIReport": abuse_reports_NCSEIReport, - "abuse-reports_PhishingReport": abuse_reports_PhishingReport, - "abuse-reports_RegistrarWhoIsFields": abuse_reports_RegistrarWhoIsFields, - "abuse-reports_RegistrarWhoisReport": abuse_reports_RegistrarWhoisReport, - "abuse-reports_SubmissionReportType": abuse_reports_SubmissionReportType, - "abuse-reports_SubmitReportRequest": abuse_reports_SubmitReportRequest, - "abuse-reports_ThreatReport": abuse_reports_ThreatReport, - "abuse-reports_TrademarkReport": abuse_reports_TrademarkReport, + "abuse-reports_BaseReportFields": abuse$$reports_BaseReportFields, + "abuse-reports_CSAMReport": abuse$$reports_CSAMReport, + "abuse-reports_DMCAReport": abuse$$reports_DMCAReport, + "abuse-reports_GeneralReport": abuse$$reports_GeneralReport, + "abuse-reports_NCSEIReport": abuse$$reports_NCSEIReport, + "abuse-reports_PhishingReport": abuse$$reports_PhishingReport, + "abuse-reports_RegistrarWhoIsFields": abuse$$reports_RegistrarWhoIsFields$, + "abuse-reports_RegistrarWhoisReport": abuse$$reports_RegistrarWhoisReport, + "abuse-reports_SubmissionReportType": abuse$$reports_SubmissionReportType$, + "abuse-reports_SubmitReportRequest": abuse$$reports_SubmitReportRequest, + "abuse-reports_ThreatReport": abuse$$reports_ThreatReport, + "abuse-reports_TrademarkReport": abuse$$reports_TrademarkReport, }, }, outputSchema: { "$ref": "#/$defs/abuse-reports_SubmitReportResponse", $defs: { - "abuse-reports_SubmissionReportType": abuse_reports_SubmissionReportType_output, - "abuse-reports_SubmitReportResponse": abuse_reports_SubmitReportResponse_output, + "abuse-reports_SubmissionReportType": abuse$$reports_SubmissionReportType, + "abuse-reports_SubmitReportResponse": abuse$$reports_SubmitReportResponse, }, }, annotations: { @@ -162,72 +170,80 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_BadActError": abuse_reports_BadActError_output, - "abuse-reports_BadAddressError": abuse_reports_BadAddressError_output, - "abuse-reports_BadAgentNameError": abuse_reports_BadAgentNameError_output, - "abuse-reports_BadCityError": abuse_reports_BadCityError_output, - "abuse-reports_BadCommentsError": abuse_reports_BadCommentsError_output, - "abuse-reports_BadCountryError": abuse_reports_BadCountryError_output, - "abuse-reports_BadEmailError": abuse_reports_BadEmailError_output, - "abuse-reports_BadIPError": abuse_reports_BadIPError_output, - "abuse-reports_BadJustError": abuse_reports_BadJustError_output, - "abuse-reports_BadNameError": abuse_reports_BadNameError_output, - "abuse-reports_BadPortsProtocolError": abuse_reports_BadPortsProtocolError_output, - "abuse-reports_BadStateError": abuse_reports_BadStateError_output, - "abuse-reports_BadUrlsError": abuse_reports_BadUrlsError_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_DBError": abuse_reports_DBError_output, - "abuse-reports_DedupeError": abuse_reports_DedupeError_output, - "abuse-reports_DiffEmailError": abuse_reports_DiffEmailError_output, - "abuse-reports_EmailError": abuse_reports_EmailError_output, - "abuse-reports_ErrorCode": abuse_reports_ErrorCode_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_InternalError": abuse_reports_InternalError_output, - "abuse-reports_InvalidNotifyError": abuse_reports_InvalidNotifyError_output, - "abuse-reports_MaxIPsError": abuse_reports_MaxIPsError_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_MustNotifyError": abuse_reports_MustNotifyError_output, - "abuse-reports_NoAgreeError": abuse_reports_NoAgreeError_output, - "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_SubmissionReportType": abuse_reports_SubmissionReportType_output, - "abuse-reports_SubmitErrorResponse": abuse_reports_SubmitErrorResponse_output, - "abuse-reports_SubmitReportResponse": abuse_reports_SubmitReportResponse_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, - "abuse-reports_UnexpectedActError": abuse_reports_UnexpectedActError_output, - "abuse-reports_UnknownError": abuse_reports_UnknownError_output, - "abuse-reports_UrlNotOrangeError": abuse_reports_UrlNotOrangeError_output, - "abuse-reports_UrlNotvalidError": abuse_reports_UrlNotvalidError_output, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_BadActError": abuse$$reports_BadActError, + "abuse-reports_BadAddressError": abuse$$reports_BadAddressError, + "abuse-reports_BadAgentNameError": abuse$$reports_BadAgentNameError, + "abuse-reports_BadCityError": abuse$$reports_BadCityError, + "abuse-reports_BadCommentsError": abuse$$reports_BadCommentsError, + "abuse-reports_BadCountryError": abuse$$reports_BadCountryError, + "abuse-reports_BadEmailError": abuse$$reports_BadEmailError, + "abuse-reports_BadIPError": abuse$$reports_BadIPError, + "abuse-reports_BadJustError": abuse$$reports_BadJustError, + "abuse-reports_BadNameError": abuse$$reports_BadNameError, + "abuse-reports_BadPortsProtocolError": abuse$$reports_BadPortsProtocolError, + "abuse-reports_BadStateError": abuse$$reports_BadStateError, + "abuse-reports_BadUrlsError": abuse$$reports_BadUrlsError, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_DBError": abuse$$reports_DBError, + "abuse-reports_DedupeError": abuse$$reports_DedupeError, + "abuse-reports_DiffEmailError": abuse$$reports_DiffEmailError, + "abuse-reports_EmailError": abuse$$reports_EmailError, + "abuse-reports_ErrorCode": abuse$$reports_ErrorCode, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_InternalError": abuse$$reports_InternalError, + "abuse-reports_InvalidNotifyError": abuse$$reports_InvalidNotifyError, + "abuse-reports_MaxIPsError": abuse$$reports_MaxIPsError, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_MustNotifyError": abuse$$reports_MustNotifyError, + "abuse-reports_NoAgreeError": abuse$$reports_NoAgreeError, + "abuse-reports_NoOriginalWorkError": abuse$$reports_NoOriginalWorkError, + "abuse-reports_NoSigError": abuse$$reports_NoSigError, + "abuse-reports_PortsProtocolError": abuse$$reports_PortsProtocolError, + "abuse-reports_RateLimitedError": abuse$$reports_RateLimitedError, + "abuse-reports_RateLimitedErrorResponse": abuse$$reports_RateLimitedErrorResponse, + "abuse-reports_SubmissionReportType": abuse$$reports_SubmissionReportType, + "abuse-reports_SubmitErrorResponse": abuse$$reports_SubmitErrorResponse, + "abuse-reports_SubmitReportResponse": abuse$$reports_SubmitReportResponse, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, + "abuse-reports_UnexpectedActError": abuse$$reports_UnexpectedActError, + "abuse-reports_UnknownError": abuse$$reports_UnknownError, + "abuse-reports_UrlNotOrangeError": abuse$$reports_UrlNotOrangeError, + "abuse-reports_UrlNotvalidError": abuse$$reports_UrlNotvalidError, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_type")}`, + path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_param")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "abuse_reports_get", + name: "abuseReports_get", title: "Get an abuse report against the account", description: "Retrieve the details of an abuse report made against a domain or other content associated with the account. To retrieve a report that the account submitted, use the submitted abuse report endpoint instead.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, - "report_id": { - "description": "Public report ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + }, + "report_param": { + "description": "Public report ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "report_param" + ], + "type": "object" } }, required: [ - "account_id", - "report_id" + "path" ], }, outputSchema: { @@ -257,13 +273,13 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "abuse-reports_AbuseReport": abuse_reports_AbuseReport_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_MitigationSummary": abuse_reports_MitigationSummary_output, - "abuse-reports_ReportStatus": abuse_reports_ReportStatus_output, - "abuse-reports_ReportType": abuse_reports_ReportType_output, - "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, + "abuse-reports_AbuseReport": abuse$$reports_AbuseReport, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_MitigationSummary": abuse$$reports_MitigationSummary, + "abuse-reports_ReportStatus": abuse$$reports_ReportStatus, + "abuse-reports_ReportType": abuse$$reports_ReportType, + "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, }, }, annotations: { @@ -372,56 +388,64 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "abuse-reports_AbuseReport": abuse_reports_AbuseReport_output, - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_MitigationSummary": abuse_reports_MitigationSummary_output, - "abuse-reports_ReportStatus": abuse_reports_ReportStatus_output, - "abuse-reports_ReportType": abuse_reports_ReportType_output, - "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_AbuseReport": abuse$$reports_AbuseReport, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_MitigationSummary": abuse$$reports_MitigationSummary, + "abuse-reports_ReportStatus": abuse$$reports_ReportStatus, + "abuse-reports_ReportType": abuse$$reports_ReportType, + "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/${pathParam(args, "report_param")}`, }), }, { - name: "abuse_reports_get_submitted", + name: "abuseReports_getSubmitted", title: "Get a submitted abuse report", description: "Retrieve a report submitted by the account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, - "report_id": { - "description": "Public report code.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + }, + "report_id": { + "description": "Public report code.", + "type": "string" + } + }, + "required": [ + "account_id", + "report_id" + ], + "type": "object" } }, required: [ - "account_id", - "report_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportDetailResponse", $defs: { - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_RegistrarWhoIsFields": abuse_reports_RegistrarWhoIsFields_output, - "abuse-reports_ReportType": abuse_reports_ReportType_output, - "abuse-reports_SubmittedAbuseReportDenialReason": abuse_reports_SubmittedAbuseReportDenialReason_output, - "abuse-reports_SubmittedAbuseReportDetail": abuse_reports_SubmittedAbuseReportDetail_output, - "abuse-reports_SubmittedAbuseReportDetailResponse": abuse_reports_SubmittedAbuseReportDetailResponse_output, - "abuse-reports_SubmittedAbuseReportListItem": abuse_reports_SubmittedAbuseReportListItem_output, - "abuse-reports_SubmittedAbuseReportStatus": abuse_reports_SubmittedAbuseReportStatus_output, - "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_RegistrarWhoIsFields": abuse$$reports_RegistrarWhoIsFields, + "abuse-reports_ReportType": abuse$$reports_ReportType, + "abuse-reports_SubmittedAbuseReportDenialReason": abuse$$reports_SubmittedAbuseReportDenialReason, + "abuse-reports_SubmittedAbuseReportDetail": abuse$$reports_SubmittedAbuseReportDetail, + "abuse-reports_SubmittedAbuseReportDetailResponse": abuse$$reports_SubmittedAbuseReportDetailResponse, + "abuse-reports_SubmittedAbuseReportListItem": abuse$$reports_SubmittedAbuseReportListItem, + "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus, + "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, }, }, annotations: { @@ -455,19 +479,19 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_RegistrarWhoIsFields": abuse_reports_RegistrarWhoIsFields_output, - "abuse-reports_ReportType": abuse_reports_ReportType_output, - "abuse-reports_SubmittedAbuseReportDenialReason": abuse_reports_SubmittedAbuseReportDenialReason_output, - "abuse-reports_SubmittedAbuseReportDetail": abuse_reports_SubmittedAbuseReportDetail_output, - "abuse-reports_SubmittedAbuseReportDetailResponse": abuse_reports_SubmittedAbuseReportDetailResponse_output, - "abuse-reports_SubmittedAbuseReportListItem": abuse_reports_SubmittedAbuseReportListItem_output, - "abuse-reports_SubmittedAbuseReportStatus": abuse_reports_SubmittedAbuseReportStatus_output, - "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_RegistrarWhoIsFields": abuse$$reports_RegistrarWhoIsFields, + "abuse-reports_ReportType": abuse$$reports_ReportType, + "abuse-reports_SubmittedAbuseReportDenialReason": abuse$$reports_SubmittedAbuseReportDenialReason, + "abuse-reports_SubmittedAbuseReportDetail": abuse$$reports_SubmittedAbuseReportDetail, + "abuse-reports_SubmittedAbuseReportDetailResponse": abuse$$reports_SubmittedAbuseReportDetailResponse, + "abuse-reports_SubmittedAbuseReportListItem": abuse$$reports_SubmittedAbuseReportListItem, + "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus, + "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, request: (args) => ({ @@ -475,64 +499,77 @@ export const tools: readonly Tool[] = [ }), }, { - name: "abuse_reports_list", + name: "abuseReports_list", title: "List abuse reports against the account", description: "List abuse reports made against domains or other content associated with the account. To list reports that the account submitted, use the submitted abuse reports endpoint instead.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, - "created_after": { - "description": "Returns reports created after the specified date", - "type": "string" - }, - "created_before": { - "description": "Returns reports created before the specified date", - "type": "string" - }, - "domain": { - "description": "Filter by domain name related to the abuse report", - "type": "string" - }, - "mitigation_status": { - "$ref": "#/$defs/abuse-reports_MitigationStatus", - "description": "Filter reports that have any mitigations in the given status." - }, - "page": { - "description": "Where in pagination to start listing abuse reports", - "type": "integer" - }, - "per_page": { - "description": "How many abuse reports per page to list", - "type": "integer" - }, - "search": { - "description": "Free-text search. Returns reports whose report ID starts with the term or whose domain contains the term, both case-insensitively. Surrounding whitespace is ignored, and an empty value is treated as absent. Combined with the other filters using AND.", - "type": "string" - }, - "sort": { - "description": "A property to sort by, followed by the order (id, cdate, domain, type, status)", - "type": "string" - }, - "status": { - "$ref": "#/$defs/abuse-reports_ReportStatus", - "description": "Filter by the status of the report." + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "type": { - "$ref": "#/$defs/abuse-reports_ReportType", - "description": "Filter by the type of the report." + "query": { + "properties": { + "created_after": { + "description": "Returns reports created after the specified date", + "type": "string" + }, + "created_before": { + "description": "Returns reports created before the specified date", + "type": "string" + }, + "domain": { + "description": "Filter by domain name related to the abuse report", + "type": "string" + }, + "mitigation_status": { + "$ref": "#/$defs/abuse-reports_MitigationStatus", + "description": "Filter reports that have any mitigations in the given status." + }, + "page": { + "description": "Where in pagination to start listing abuse reports", + "type": "integer" + }, + "per_page": { + "description": "How many abuse reports per page to list", + "type": "integer" + }, + "search": { + "description": "Free-text search. Returns reports whose report ID starts with the term or whose domain contains the term, both case-insensitively. Surrounding whitespace is ignored, and an empty value is treated as absent. Combined with the other filters using AND.", + "type": "string" + }, + "sort": { + "description": "A property to sort by, followed by the order (id, cdate, domain, type, status)", + "type": "string" + }, + "status": { + "$ref": "#/$defs/abuse-reports_ReportStatus", + "description": "Filter by the status of the report." + }, + "type": { + "$ref": "#/$defs/abuse-reports_ReportType", + "description": "Filter by the type of the report." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "abuse-reports_MitigationStatus": abuse_reports_MitigationStatus, - "abuse-reports_ReportStatus": abuse_reports_ReportStatus, - "abuse-reports_ReportType": abuse_reports_ReportType, + "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, + "abuse-reports_ReportStatus": abuse$$reports_ReportStatus$, + "abuse-reports_ReportType": abuse$$reports_ReportType$, }, }, outputSchema: { @@ -599,12 +636,12 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "abuse-reports_AbuseReport": abuse_reports_AbuseReport_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_MitigationSummary": abuse_reports_MitigationSummary_output, - "abuse-reports_ReportStatus": abuse_reports_ReportStatus_output, - "abuse-reports_ReportType": abuse_reports_ReportType_output, - "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, + "abuse-reports_AbuseReport": abuse$$reports_AbuseReport, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_MitigationSummary": abuse$$reports_MitigationSummary, + "abuse-reports_ReportStatus": abuse$$reports_ReportStatus, + "abuse-reports_ReportType": abuse$$reports_ReportType, + "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, }, }, annotations: { @@ -720,115 +757,128 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "abuse-reports_AbuseReport": abuse_reports_AbuseReport_output, - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_MitigationSummary": abuse_reports_MitigationSummary_output, - "abuse-reports_ReportStatus": abuse_reports_ReportStatus_output, - "abuse-reports_ReportType": abuse_reports_ReportType_output, - "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_AbuseReport": abuse$$reports_AbuseReport, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_MitigationSummary": abuse$$reports_MitigationSummary, + "abuse-reports_ReportStatus": abuse$$reports_ReportStatus, + "abuse-reports_ReportType": abuse$$reports_ReportType, + "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["sort", args["sort"], true], - ["search", args["search"], true], - ["domain", args["domain"], true], - ["created_before", args["created_before"], true], - ["created_after", args["created_after"], true], - ["status", args["status"], true], - ["type", args["type"], true], - ["mitigation_status", args["mitigation_status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["sort", param(args, "query", "sort"), true], + ["search", param(args, "query", "search"), true], + ["domain", param(args, "query", "domain"), true], + ["created_before", param(args, "query", "created_before"), true], + ["created_after", param(args, "query", "created_after"), true], + ["status", param(args, "query", "status"), true], + ["type", param(args, "query", "type"), true], + ["mitigation_status", param(args, "query", "mitigation_status"), true], ], }), }, { - name: "abuse_reports_list_submitted", + name: "abuseReports_listSubmitted", title: "List submitted abuse reports", description: "List abuse reports submitted by the account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID", - "type": "string" - }, - "created_after": { - "description": "Return reports submitted after this time.", - "format": "date-time", - "type": "string" - }, - "created_before": { - "description": "Return reports submitted before this time.", - "format": "date-time", - "type": "string" - }, - "domain": { - "description": "Filter by reported domain. This parameter can be specified multiple times.", - "items": { - "type": "string" - }, - "type": "array" - }, - "id": { - "description": "Filter by report code.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page of submitted reports to return.", - "type": "integer" - }, - "per_page": { - "default": 100, - "description": "Number of submitted reports per page.", - "type": "integer" - }, - "sort": { - "description": "A property and direction to sort by (id, cdate, domain, type, status).", - "type": "string" - }, - "status": { - "description": "Filter by submitter-facing status. This parameter can be specified multiple times.", - "items": { - "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportStatus" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID", + "type": "string" + } }, - "type": "array" + "required": [ + "account_id" + ], + "type": "object" }, - "type": { - "description": "Filter by report type. This parameter can be specified multiple times.", - "items": { - "$ref": "#/$defs/abuse-reports_ReportType" + "query": { + "properties": { + "created_after": { + "description": "Return reports submitted after this time.", + "format": "date-time", + "type": "string" + }, + "created_before": { + "description": "Return reports submitted before this time.", + "format": "date-time", + "type": "string" + }, + "domain": { + "description": "Filter by reported domain. This parameter can be specified multiple times.", + "items": { + "type": "string" + }, + "type": "array" + }, + "id": { + "description": "Filter by report code.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page of submitted reports to return.", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Number of submitted reports per page.", + "type": "integer" + }, + "sort": { + "description": "A property and direction to sort by (id, cdate, domain, type, status).", + "type": "string" + }, + "status": { + "description": "Filter by submitter-facing status. This parameter can be specified multiple times.", + "items": { + "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportStatus" + }, + "type": "array" + }, + "type": { + "description": "Filter by report type. This parameter can be specified multiple times.", + "items": { + "$ref": "#/$defs/abuse-reports_ReportType" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "abuse-reports_ReportType": abuse_reports_ReportType, - "abuse-reports_SubmittedAbuseReportStatus": abuse_reports_SubmittedAbuseReportStatus, + "abuse-reports_ReportType": abuse$$reports_ReportType$, + "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus$, }, }, outputSchema: { "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportListResponse", $defs: { - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_ReportType": abuse_reports_ReportType_output, - "abuse-reports_ResultInfo": abuse_reports_ResultInfo_output, - "abuse-reports_SubmittedAbuseReportDenialReason": abuse_reports_SubmittedAbuseReportDenialReason_output, - "abuse-reports_SubmittedAbuseReportListItem": abuse_reports_SubmittedAbuseReportListItem_output, - "abuse-reports_SubmittedAbuseReportListResponse": abuse_reports_SubmittedAbuseReportListResponse_output, - "abuse-reports_SubmittedAbuseReportStatus": abuse_reports_SubmittedAbuseReportStatus_output, - "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_ReportType": abuse$$reports_ReportType, + "abuse-reports_ResultInfo": abuse$$reports_ResultInfo, + "abuse-reports_SubmittedAbuseReportDenialReason": abuse$$reports_SubmittedAbuseReportDenialReason, + "abuse-reports_SubmittedAbuseReportListItem": abuse$$reports_SubmittedAbuseReportListItem, + "abuse-reports_SubmittedAbuseReportListResponse": abuse$$reports_SubmittedAbuseReportListResponse, + "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus, + "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, }, }, annotations: { @@ -861,32 +911,32 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "abuse-reports_AuthErrorResponse": abuse_reports_AuthErrorResponse_output, - "abuse-reports_CloudflareAPIErrorResponse": abuse_reports_CloudflareAPIErrorResponse_output, - "abuse-reports_ErrorMessage": abuse_reports_ErrorMessage_output, - "abuse-reports_Message": abuse_reports_Message_output, - "abuse-reports_ReportType": abuse_reports_ReportType_output, - "abuse-reports_ResultInfo": abuse_reports_ResultInfo_output, - "abuse-reports_SubmittedAbuseReportDenialReason": abuse_reports_SubmittedAbuseReportDenialReason_output, - "abuse-reports_SubmittedAbuseReportListItem": abuse_reports_SubmittedAbuseReportListItem_output, - "abuse-reports_SubmittedAbuseReportListResponse": abuse_reports_SubmittedAbuseReportListResponse_output, - "abuse-reports_SubmittedAbuseReportStatus": abuse_reports_SubmittedAbuseReportStatus_output, - "abuse-reports_SubmitterDetails": abuse_reports_SubmitterDetails_output, - "abuse-reports_UnauthorizedErrorResponse": abuse_reports_UnauthorizedErrorResponse_output, + "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, + "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, + "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, + "abuse-reports_Message": abuse$$reports_Message, + "abuse-reports_ReportType": abuse$$reports_ReportType, + "abuse-reports_ResultInfo": abuse$$reports_ResultInfo, + "abuse-reports_SubmittedAbuseReportDenialReason": abuse$$reports_SubmittedAbuseReportDenialReason, + "abuse-reports_SubmittedAbuseReportListItem": abuse$$reports_SubmittedAbuseReportListItem, + "abuse-reports_SubmittedAbuseReportListResponse": abuse$$reports_SubmittedAbuseReportListResponse, + "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus, + "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, + "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/abuse-reports/submitted`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["sort", args["sort"], true], - ["id", args["id"], true], - ["domain", args["domain"], true], - ["created_before", args["created_before"], true], - ["created_after", args["created_after"], true], - ["status", args["status"], true], - ["type", args["type"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["sort", param(args, "query", "sort"), true], + ["id", param(args, "query", "id"), true], + ["domain", param(args, "query", "domain"), true], + ["created_before", param(args, "query", "created_before"), true], + ["created_after", param(args, "query", "created_after"), true], + ["status", param(args, "query", "status"), true], + ["type", param(args, "query", "type"), true], ], }), }, diff --git a/src/generated/forge-mcp/accounts/applications/outputs.ts b/src/generated/forge-mcp/accounts/applications/outputs.ts index e13402577..9a46092a5 100644 --- a/src/generated/forge-mcp/accounts/applications/outputs.ts +++ b/src/generated/forge-mcp/accounts/applications/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `alexandria_application` in responses. */ -export const alexandria_application_output: JsonSchema = { +export const alexandria_application: JsonSchema = { "properties": { "application_confidence_score": { "$ref": "#/$defs/alexandria_application_confidence_score" @@ -88,28 +88,28 @@ export const alexandria_application_output: JsonSchema = { /** * The schema of `alexandria_application_confidence_score` in responses. */ -export const alexandria_application_confidence_score_output: JsonSchema = { +export const alexandria_application_confidence_score: JsonSchema = { "type": "number" }; /** * The schema of `alexandria_application_created_at` in responses. */ -export const alexandria_application_created_at_output: JsonSchema = { +export const alexandria_application_created_at: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_application_gen_ai_score` in responses. */ -export const alexandria_application_gen_ai_score_output: JsonSchema = { +export const alexandria_application_gen_ai_score: JsonSchema = { "type": "number" }; /** * The schema of `alexandria_application_hostnames` in responses. */ -export const alexandria_application_hostnames_output: JsonSchema = { +export const alexandria_application_hostnames: JsonSchema = { "items": { "type": "string" }, @@ -119,21 +119,21 @@ export const alexandria_application_hostnames_output: JsonSchema = { /** * The schema of `alexandria_application_human_id` in responses. */ -export const alexandria_application_human_id_output: JsonSchema = { +export const alexandria_application_human_id: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_application_id` in responses. */ -export const alexandria_application_id_output: JsonSchema = { +export const alexandria_application_id: JsonSchema = { "type": "integer" }; /** * The schema of `alexandria_application_ip_subnets` in responses. */ -export const alexandria_application_ip_subnets_output: JsonSchema = { +export const alexandria_application_ip_subnets: JsonSchema = { "items": { "type": "string" }, @@ -143,7 +143,7 @@ export const alexandria_application_ip_subnets_output: JsonSchema = { /** * The schema of `alexandria_application_list_item` in responses. */ -export const alexandria_application_list_item_output: JsonSchema = { +export const alexandria_application_list_item: JsonSchema = { "properties": { "application_confidence_score": { "$ref": "#/$defs/alexandria_application_confidence_score" @@ -218,14 +218,14 @@ export const alexandria_application_list_item_output: JsonSchema = { /** * The schema of `alexandria_application_name` in responses. */ -export const alexandria_application_name_output: JsonSchema = { +export const alexandria_application_name: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_application_port_protocols` in responses. */ -export const alexandria_application_port_protocols_output: JsonSchema = { +export const alexandria_application_port_protocols: JsonSchema = { "items": { "type": "string" }, @@ -235,7 +235,7 @@ export const alexandria_application_port_protocols_output: JsonSchema = { /** * The schema of `alexandria_application_reference` in responses. */ -export const alexandria_application_reference_output: JsonSchema = { +export const alexandria_application_reference: JsonSchema = { "properties": { "id": { "type": "string" @@ -258,7 +258,7 @@ export const alexandria_application_reference_output: JsonSchema = { /** * The schema of `alexandria_application_score_composition` in responses. */ -export const alexandria_application_score_composition_output: JsonSchema = { +export const alexandria_application_score_composition: JsonSchema = { "oneOf": [ { "type": "object" @@ -272,14 +272,14 @@ export const alexandria_application_score_composition_output: JsonSchema = { /** * The schema of `alexandria_application_source` in responses. */ -export const alexandria_application_source_output: JsonSchema = { +export const alexandria_application_source: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_application_support_domains` in responses. */ -export const alexandria_application_support_domains_output: JsonSchema = { +export const alexandria_application_support_domains: JsonSchema = { "items": { "type": "string" }, @@ -289,7 +289,7 @@ export const alexandria_application_support_domains_output: JsonSchema = { /** * The schema of `alexandria_application_supported` in responses. */ -export const alexandria_application_supported_output: JsonSchema = { +export const alexandria_application_supported: JsonSchema = { "items": { "enum": [ "GATEWAY", @@ -304,35 +304,35 @@ export const alexandria_application_supported_output: JsonSchema = { /** * The schema of `alexandria_application_type` in responses. */ -export const alexandria_application_type_output: JsonSchema = { +export const alexandria_application_type: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_application_type_description` in responses. */ -export const alexandria_application_type_description_output: JsonSchema = { +export const alexandria_application_type_description: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_application_updated_at` in responses. */ -export const alexandria_application_updated_at_output: JsonSchema = { +export const alexandria_application_updated_at: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_application_version` in responses. */ -export const alexandria_application_version_output: JsonSchema = { +export const alexandria_application_version: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_applications` in responses. */ -export const alexandria_applications_output: JsonSchema = { +export const alexandria_applications: JsonSchema = { "items": { "$ref": "#/$defs/alexandria_application_list_item" }, @@ -342,7 +342,7 @@ export const alexandria_applications_output: JsonSchema = { /** * The schema of `alexandria_delete_application_conflict_response` in responses. */ -export const alexandria_delete_application_conflict_response_output: JsonSchema = { +export const alexandria_delete_application_conflict_response: JsonSchema = { "properties": { "errors": { "items": { @@ -405,7 +405,7 @@ export const alexandria_delete_application_conflict_response_output: JsonSchema /** * The schema of `alexandria_delete_application_response` in responses. */ -export const alexandria_delete_application_response_output: JsonSchema = { +export const alexandria_delete_application_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/alexandria_api-response-common" @@ -427,7 +427,7 @@ export const alexandria_delete_application_response_output: JsonSchema = { /** * The schema of `alexandria_get_application_response` in responses. */ -export const alexandria_get_application_response_output: JsonSchema = { +export const alexandria_get_application_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/alexandria_api-response-common" @@ -446,7 +446,7 @@ export const alexandria_get_application_response_output: JsonSchema = { /** * The schema of `alexandria_get_applications_response` in responses. */ -export const alexandria_get_applications_response_output: JsonSchema = { +export const alexandria_get_applications_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/alexandria_api-response-collection" diff --git a/src/generated/forge-mcp/accounts/applications/tools.ts b/src/generated/forge-mcp/accounts/applications/tools.ts index 00dbac511..57998c61e 100644 --- a/src/generated/forge-mcp/accounts/applications/tools.ts +++ b/src/generated/forge-mcp/accounts/applications/tools.ts @@ -1,50 +1,50 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - alexandria_api_response_collection_output, - alexandria_api_response_common_failure_output, - alexandria_api_response_common_output, - alexandria_category_id_output, - alexandria_messages_output, + alexandria_api$$response$$collection, + alexandria_api$$response$$common, + alexandria_api_response_common_failure, + alexandria_category_id, + alexandria_messages, } from "../outputs.js"; -import { alexandria_category_id } from "../schemas.js"; -import { - alexandria_application_confidence_score_output, - alexandria_application_created_at_output, - alexandria_application_gen_ai_score_output, - alexandria_application_hostnames_output, - alexandria_application_human_id_output, - alexandria_application_id_output, - alexandria_application_ip_subnets_output, - alexandria_application_list_item_output, - alexandria_application_name_output, - alexandria_application_output, - alexandria_application_port_protocols_output, - alexandria_application_reference_output, - alexandria_application_score_composition_output, - alexandria_application_source_output, - alexandria_application_support_domains_output, - alexandria_application_supported_output, - alexandria_application_type_description_output, - alexandria_application_type_output, - alexandria_application_updated_at_output, - alexandria_application_version_output, - alexandria_applications_output, - alexandria_delete_application_conflict_response_output, - alexandria_delete_application_response_output, - alexandria_get_application_response_output, - alexandria_get_applications_response_output, -} from "./outputs.js"; +import { alexandria_category_id as alexandria_category_id$ } from "../schemas.js"; import { + alexandria_application, + alexandria_application_confidence_score, + alexandria_application_created_at, + alexandria_application_gen_ai_score, alexandria_application_hostnames, alexandria_application_human_id, alexandria_application_id, alexandria_application_ip_subnets, + alexandria_application_list_item, alexandria_application_name, alexandria_application_port_protocols, + alexandria_application_reference, + alexandria_application_score_composition, + alexandria_application_source, alexandria_application_support_domains, + alexandria_application_supported, + alexandria_application_type, + alexandria_application_type_description, + alexandria_application_updated_at, + alexandria_application_version, + alexandria_applications, + alexandria_delete_application_conflict_response, + alexandria_delete_application_response, + alexandria_get_application_response, + alexandria_get_applications_response, +} from "./outputs.js"; +import { + alexandria_application_hostnames as alexandria_application_hostnames$, + alexandria_application_human_id as alexandria_application_human_id$, + alexandria_application_id as alexandria_application_id$, + alexandria_application_ip_subnets as alexandria_application_ip_subnets$, + alexandria_application_name as alexandria_application_name$, + alexandria_application_port_protocols as alexandria_application_port_protocols$, + alexandria_application_support_domains as alexandria_application_support_domains$, alexandria_create_application_request, alexandria_lookup_applications_request, alexandria_update_application_request, @@ -61,54 +61,62 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/alexandria_create_application_request" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { + "alexandria_application_hostnames": alexandria_application_hostnames$, + "alexandria_application_human_id": alexandria_application_human_id$, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets$, + "alexandria_application_name": alexandria_application_name$, + "alexandria_application_port_protocols": alexandria_application_port_protocols$, + "alexandria_application_support_domains": alexandria_application_support_domains$, + "alexandria_category_id": alexandria_category_id$, + "alexandria_create_application_request": alexandria_create_application_request, + }, + }, + outputSchema: { + "$ref": "#/$defs/alexandria_get_application_response", + $defs: { + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_application": alexandria_application, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, "alexandria_category_id": alexandria_category_id, - "alexandria_create_application_request": alexandria_create_application_request, - }, - }, - outputSchema: { - "$ref": "#/$defs/alexandria_get_application_response", - $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_application": alexandria_application_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_application_response": alexandria_get_application_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_get_application_response": alexandria_get_application_response, + "alexandria_messages": alexandria_messages, }, }, annotations: { @@ -136,29 +144,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, - "alexandria_application": alexandria_application_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_application_response": alexandria_get_application_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_api_response_common_failure": alexandria_api_response_common_failure, + "alexandria_application": alexandria_application, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, + "alexandria_application_hostnames": alexandria_application_hostnames, + "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets, + "alexandria_application_name": alexandria_application_name, + "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, + "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, + "alexandria_category_id": alexandria_category_id, + "alexandria_get_application_response": alexandria_get_application_response, + "alexandria_messages": alexandria_messages, }, }, request: (args) => ({ @@ -173,29 +181,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "id": { - "$ref": "#/$defs/alexandria_application_id", - "description": "Application ID." + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "id": { + "$ref": "#/$defs/alexandria_application_id", + "description": "Application ID." + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "alexandria_application_id": alexandria_application_id, + "alexandria_application_id": alexandria_application_id$, }, }, outputSchema: { "$ref": "#/$defs/alexandria_delete_application_response", $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_delete_application_response": alexandria_delete_application_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_delete_application_response": alexandria_delete_application_response, + "alexandria_messages": alexandria_messages, }, }, annotations: { @@ -229,12 +245,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, - "alexandria_application_reference": alexandria_application_reference_output, - "alexandria_delete_application_conflict_response": alexandria_delete_application_conflict_response_output, - "alexandria_delete_application_response": alexandria_delete_application_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_api_response_common_failure": alexandria_api_response_common_failure, + "alexandria_application_reference": alexandria_application_reference, + "alexandria_delete_application_conflict_response": alexandria_delete_application_conflict_response, + "alexandria_delete_application_response": alexandria_delete_application_response, + "alexandria_messages": alexandria_messages, }, }, request: (args) => ({ @@ -248,48 +264,56 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "id": { - "$ref": "#/$defs/alexandria_application_id", - "description": "Application ID." + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "id": { + "$ref": "#/$defs/alexandria_application_id", + "description": "Application ID." + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "alexandria_application_id": alexandria_application_id, + "alexandria_application_id": alexandria_application_id$, }, }, outputSchema: { "$ref": "#/$defs/alexandria_get_application_response", $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_application": alexandria_application_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_application_response": alexandria_get_application_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_application": alexandria_application, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, + "alexandria_application_hostnames": alexandria_application_hostnames, + "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets, + "alexandria_application_name": alexandria_application_name, + "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, + "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, + "alexandria_category_id": alexandria_category_id, + "alexandria_get_application_response": alexandria_get_application_response, + "alexandria_messages": alexandria_messages, }, }, annotations: { @@ -319,29 +343,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, - "alexandria_application": alexandria_application_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_application_response": alexandria_get_application_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_api_response_common_failure": alexandria_api_response_common_failure, + "alexandria_application": alexandria_application, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, + "alexandria_application_hostnames": alexandria_application_hostnames, + "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets, + "alexandria_application_name": alexandria_application_name, + "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, + "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, + "alexandria_category_id": alexandria_category_id, + "alexandria_get_application_response": alexandria_get_application_response, + "alexandria_messages": alexandria_messages, }, }, request: (args) => ({ @@ -355,76 +379,89 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "cursor": { - "description": "Opaque value from `result_info.cursor` of the previous response. Returns the\nresults that follow it. Send the same `filter`, `search`, `lookup`, and\n`order_by` values as the request that returned it; `limit` and `fields` may\nchange. An empty value is the same as no cursor. A modified cursor, or one used\nwith different values, returns `400`.\n", - "type": "string" - }, - "fields": { - "description": "Return only the listed properties on each application, as a comma-separated list.\nUse this to keep responses small when you only need part of each application, for\nexample populating a picker with `fields=id,name` instead of downloading every\nhostname and IP subnet.\n\nOmit this parameter to receive the full application object, including\nwhen lookup is used.\n\n`id` is always returned.\n\nSelectable properties: `id`, `name`, `human_id`, `version`, `hostnames`,\n`support_domains`, `ip_subnets`, `port_protocols`, `supported`, `gen_ai_score`,\n`application_confidence_score`, `created_at`, `updated_at`, `review_status`.\n\nUnknown or empty property names return `400`.\n", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "filter": { - "description": "Filter applications using `key:value` format. Supported filter keys:\n- `name`: application name (for example, `name:HR`).\n- `id`: application ID (for example, `id:498`).\n- `human_id`: human-readable ID (for example, `human_id:HR`).\n- `hostname`: hostname or support domain (for example, `hostname:portal.example.com`).\n- `source`: application source name (for example, `source:cloudflare`).\n- `ip_subnet`: CIDR containment; returns applications where a stored subnet contains the search value (for example, `ip_subnet:10.0.1.5/32` matches `10.0.0.0/16`).\n- `category_id`: category ID (for example, `category_id:12`).\n- `category_name`: category name (for example, `category_name:HR`).\n- `supported`: supported Cloudflare product. Values: `GATEWAY`, `ACCESS`, `CASB`.\n- `review_status`: account-specific Gateway review status. Values: `approved`, `unapproved`, `in_review`, `unreviewed`.\n", - "type": "string" - }, - "limit": { - "default": 25, - "description": "Number of results to return. Defaults to 25; values are clamped to 1–250.", - "type": "integer" - }, - "lookup": { - "description": "Find complete, case-insensitive application name mentions in a phrase or\nrule sentence. Misspelled names do not match. Returns matching applications\nranked by relevance. Must be between 2 and 1000 characters, with no control\ncharacters other than tab and line breaks. Uses the same\nfilters, fields, and pagination as listing. `search` cannot be combined\nwith lookup. Results are ranked by relevance, so `order_by` is ignored.\nTo keep the text out of URLs, send it to `POST .../applications/lookup` instead.\n", - "type": "string" - }, - "offset": { - "default": 0, - "description": "Number of results to skip. Defaults to 0; negative values are clamped to 0. Ignored when `cursor` is provided.", - "type": "integer" - }, - "order_by": { - "description": "Order results using field:direction format. Supported fields are name, id, human_id,\ncategory_id, application_type, application_confidence_score, and gen_ai_score.\nSupported directions are asc and desc. Ignored when search is provided; results are\nranked by relevance instead. Also ignored when lookup is provided.\n", - "type": "string" - }, - "search": { - "description": "Fuzzy search across application name and hostnames. Results are ranked by relevance. Must be between 2 and 200 characters. Can be combined with filter parameters.", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Opaque value from `result_info.cursor` of the previous response. Returns the\nresults that follow it. Send the same `filter`, `search`, `lookup`, and\n`order_by` values as the request that returned it; `limit` and `fields` may\nchange. An empty value is the same as no cursor. A modified cursor, or one used\nwith different values, returns `400`.\n", + "type": "string" + }, + "fields": { + "description": "Return only the listed properties on each application, as a comma-separated list.\nUse this to keep responses small when you only need part of each application, for\nexample populating a picker with `fields=id,name` instead of downloading every\nhostname and IP subnet.\n\nOmit this parameter to receive the full application object, including\nwhen lookup is used.\n\n`id` is always returned.\n\nSelectable properties: `id`, `name`, `human_id`, `version`, `hostnames`,\n`support_domains`, `ip_subnets`, `port_protocols`, `supported`, `gen_ai_score`,\n`application_confidence_score`, `created_at`, `updated_at`, `review_status`.\n\nUnknown or empty property names return `400`.\n", + "type": "string" + }, + "filter": { + "description": "Filter applications using `key:value` format. Supported filter keys:\n- `name`: application name (for example, `name:HR`).\n- `id`: application ID (for example, `id:498`).\n- `human_id`: human-readable ID (for example, `human_id:HR`).\n- `hostname`: hostname or support domain (for example, `hostname:portal.example.com`).\n- `source`: application source name (for example, `source:cloudflare`).\n- `ip_subnet`: CIDR containment; returns applications where a stored subnet contains the search value (for example, `ip_subnet:10.0.1.5/32` matches `10.0.0.0/16`).\n- `category_id`: category ID (for example, `category_id:12`).\n- `category_name`: category name (for example, `category_name:HR`).\n- `supported`: supported Cloudflare product. Values: `GATEWAY`, `ACCESS`, `CASB`.\n- `review_status`: account-specific Gateway review status. Values: `approved`, `unapproved`, `in_review`, `unreviewed`.\n", + "type": "string" + }, + "limit": { + "default": 25, + "description": "Number of results to return. Defaults to 25; values are clamped to 1–250.", + "type": "integer" + }, + "lookup": { + "description": "Find complete, case-insensitive application name mentions in a phrase or\nrule sentence. Misspelled names do not match. Returns matching applications\nranked by relevance. Must be between 2 and 1000 characters, with no control\ncharacters other than tab and line breaks. Uses the same\nfilters, fields, and pagination as listing. `search` cannot be combined\nwith lookup. Results are ranked by relevance, so `order_by` is ignored.\nTo keep the text out of URLs, send it to `POST .../applications/lookup` instead.\n", + "type": "string" + }, + "offset": { + "default": 0, + "description": "Number of results to skip. Defaults to 0; negative values are clamped to 0. Ignored when `cursor` is provided.", + "type": "integer" + }, + "order_by": { + "description": "Order results using field:direction format. Supported fields are name, id, human_id,\ncategory_id, application_type, application_confidence_score, and gen_ai_score.\nSupported directions are asc and desc. Ignored when search is provided; results are\nranked by relevance instead. Also ignored when lookup is provided.\n", + "type": "string" + }, + "search": { + "description": "Fuzzy search across application name and hostnames. Results are ranked by relevance. Must be between 2 and 200 characters. Can be combined with filter parameters.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/alexandria_get_applications_response", $defs: { - "alexandria_api-response-collection": alexandria_api_response_collection_output, - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_list_item": alexandria_application_list_item_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_applications": alexandria_applications_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_applications_response": alexandria_get_applications_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-collection": alexandria_api$$response$$collection, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, + "alexandria_application_hostnames": alexandria_application_hostnames, + "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets, + "alexandria_application_list_item": alexandria_application_list_item, + "alexandria_application_name": alexandria_application_name, + "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, + "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, + "alexandria_applications": alexandria_applications, + "alexandria_category_id": alexandria_category_id, + "alexandria_get_applications_response": alexandria_get_applications_response, + "alexandria_messages": alexandria_messages, }, }, annotations: { @@ -463,44 +500,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "alexandria_api-response-collection": alexandria_api_response_collection_output, - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_list_item": alexandria_application_list_item_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_applications": alexandria_applications_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_applications_response": alexandria_get_applications_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-collection": alexandria_api$$response$$collection, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_api_response_common_failure": alexandria_api_response_common_failure, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, + "alexandria_application_hostnames": alexandria_application_hostnames, + "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets, + "alexandria_application_list_item": alexandria_application_list_item, + "alexandria_application_name": alexandria_application_name, + "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, + "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, + "alexandria_applications": alexandria_applications, + "alexandria_category_id": alexandria_category_id, + "alexandria_get_applications_response": alexandria_get_applications_response, + "alexandria_messages": alexandria_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/applications`, query: [ - ["filter", args["filter"], true], - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["cursor", args["cursor"], true], - ["order_by", args["order_by"], true], - ["search", args["search"], true], - ["lookup", args["lookup"], true], - ["fields", args["fields"], true], + ["filter", param(args, "query", "filter"), true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["cursor", param(args, "query", "cursor"), true], + ["order_by", param(args, "query", "order_by"), true], + ["search", param(args, "query", "search"), true], + ["lookup", param(args, "query", "lookup"), true], + ["fields", param(args, "query", "fields"), true], ], }), }, @@ -511,29 +548,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/alexandria_lookup_applications_request" }, - "fields": { - "description": "Return only the listed properties on each application, as a comma-separated list.\nAccepts the same properties as the list endpoint. `id` is always returned.\nOmit this parameter to receive the full application object.\n", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "filter": { - "description": "Filter matches using the same `key:value` filters as the list endpoint.", - "type": "string" - }, - "limit": { - "default": 25, - "description": "Maximum number of matches to return. Defaults to 25; values are clamped to 1–250.", - "type": "integer" + "query": { + "properties": { + "fields": { + "description": "Return only the listed properties on each application, as a comma-separated list.\nAccepts the same properties as the list endpoint. `id` is always returned.\nOmit this parameter to receive the full application object.\n", + "type": "string" + }, + "filter": { + "description": "Filter matches using the same `key:value` filters as the list endpoint.", + "type": "string" + }, + "limit": { + "default": 25, + "description": "Maximum number of matches to return. Defaults to 25; values are clamped to 1–250.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -543,30 +593,30 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/alexandria_get_applications_response", $defs: { - "alexandria_api-response-collection": alexandria_api_response_collection_output, - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_list_item": alexandria_application_list_item_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_applications": alexandria_applications_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_applications_response": alexandria_get_applications_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-collection": alexandria_api$$response$$collection, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, + "alexandria_application_hostnames": alexandria_application_hostnames, + "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets, + "alexandria_application_list_item": alexandria_application_list_item, + "alexandria_application_name": alexandria_application_name, + "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, + "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, + "alexandria_applications": alexandria_applications, + "alexandria_category_id": alexandria_category_id, + "alexandria_get_applications_response": alexandria_get_applications_response, + "alexandria_messages": alexandria_messages, }, }, annotations: { @@ -605,39 +655,39 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "alexandria_api-response-collection": alexandria_api_response_collection_output, - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_list_item": alexandria_application_list_item_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_applications": alexandria_applications_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_applications_response": alexandria_get_applications_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-collection": alexandria_api$$response$$collection, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_api_response_common_failure": alexandria_api_response_common_failure, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, + "alexandria_application_hostnames": alexandria_application_hostnames, + "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets, + "alexandria_application_list_item": alexandria_application_list_item, + "alexandria_application_name": alexandria_application_name, + "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, + "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, + "alexandria_applications": alexandria_applications, + "alexandria_category_id": alexandria_category_id, + "alexandria_get_applications_response": alexandria_get_applications_response, + "alexandria_messages": alexandria_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/applications/lookup`, query: [ - ["filter", args["filter"], true], - ["limit", args["limit"], true], - ["fields", args["fields"], true], + ["filter", param(args, "query", "filter"), true], + ["limit", param(args, "query", "limit"), true], + ["fields", param(args, "query", "fields"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -649,57 +699,65 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/alexandria_update_application_request" }, - "id": { - "$ref": "#/$defs/alexandria_application_id", - "description": "Application ID." + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "id": { + "$ref": "#/$defs/alexandria_application_id", + "description": "Application ID." + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id", + "path", "body" ], $defs: { - "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_id": alexandria_application_id, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets, - "alexandria_application_port_protocols": alexandria_application_port_protocols, - "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_hostnames": alexandria_application_hostnames$, + "alexandria_application_id": alexandria_application_id$, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets$, + "alexandria_application_port_protocols": alexandria_application_port_protocols$, + "alexandria_application_support_domains": alexandria_application_support_domains$, "alexandria_update_application_request": alexandria_update_application_request, }, }, outputSchema: { "$ref": "#/$defs/alexandria_get_application_response", $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_application": alexandria_application_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_application_response": alexandria_get_application_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_application": alexandria_application, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, + "alexandria_application_hostnames": alexandria_application_hostnames, + "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets, + "alexandria_application_name": alexandria_application_name, + "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, + "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, + "alexandria_category_id": alexandria_category_id, + "alexandria_get_application_response": alexandria_get_application_response, + "alexandria_messages": alexandria_messages, }, }, annotations: { @@ -727,29 +785,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, - "alexandria_application": alexandria_application_output, - "alexandria_application_confidence_score": alexandria_application_confidence_score_output, - "alexandria_application_created_at": alexandria_application_created_at_output, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score_output, - "alexandria_application_hostnames": alexandria_application_hostnames_output, - "alexandria_application_human_id": alexandria_application_human_id_output, - "alexandria_application_id": alexandria_application_id_output, - "alexandria_application_ip_subnets": alexandria_application_ip_subnets_output, - "alexandria_application_name": alexandria_application_name_output, - "alexandria_application_port_protocols": alexandria_application_port_protocols_output, - "alexandria_application_score_composition": alexandria_application_score_composition_output, - "alexandria_application_source": alexandria_application_source_output, - "alexandria_application_support_domains": alexandria_application_support_domains_output, - "alexandria_application_supported": alexandria_application_supported_output, - "alexandria_application_type": alexandria_application_type_output, - "alexandria_application_type_description": alexandria_application_type_description_output, - "alexandria_application_updated_at": alexandria_application_updated_at_output, - "alexandria_application_version": alexandria_application_version_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_get_application_response": alexandria_get_application_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_api_response_common_failure": alexandria_api_response_common_failure, + "alexandria_application": alexandria_application, + "alexandria_application_confidence_score": alexandria_application_confidence_score, + "alexandria_application_created_at": alexandria_application_created_at, + "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, + "alexandria_application_hostnames": alexandria_application_hostnames, + "alexandria_application_human_id": alexandria_application_human_id, + "alexandria_application_id": alexandria_application_id, + "alexandria_application_ip_subnets": alexandria_application_ip_subnets, + "alexandria_application_name": alexandria_application_name, + "alexandria_application_port_protocols": alexandria_application_port_protocols, + "alexandria_application_score_composition": alexandria_application_score_composition, + "alexandria_application_source": alexandria_application_source, + "alexandria_application_support_domains": alexandria_application_support_domains, + "alexandria_application_supported": alexandria_application_supported, + "alexandria_application_type": alexandria_application_type, + "alexandria_application_type_description": alexandria_application_type_description, + "alexandria_application_updated_at": alexandria_application_updated_at, + "alexandria_application_version": alexandria_application_version, + "alexandria_category_id": alexandria_category_id, + "alexandria_get_application_response": alexandria_get_application_response, + "alexandria_messages": alexandria_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/billing/history/outputs.ts b/src/generated/forge-mcp/accounts/billing/history/outputs.ts index f8a504c24..56a3442ca 100644 --- a/src/generated/forge-mcp/accounts/billing/history/outputs.ts +++ b/src/generated/forge-mcp/accounts/billing/history/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `bill-subs-api_account_billing_history_collection` in * responses. */ -export const bill_subs_api_account_billing_history_collection_output: JsonSchema = { +export const bill$$subs$$api_account_billing_history_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-collection" diff --git a/src/generated/forge-mcp/accounts/billing/history/tools.ts b/src/generated/forge-mcp/accounts/billing/history/tools.ts index bc6fbb1d3..ad15fbad7 100644 --- a/src/generated/forge-mcp/accounts/billing/history/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/history/tools.ts @@ -1,17 +1,17 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - bill_subs_api_api_response_collection_output, - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_messages_output, - bill_subs_api_result_info_output, + bill$$subs$$api_api$$response$$collection, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_messages, + bill$$subs$$api_result_info, } from "../../../outputs.js"; -import { bill_subs_api_identifier } from "../../../schemas.js"; -import { bill_subs_api_account_billing_history_output } from "../outputs.js"; -import { bill_subs_api_account_billing_history_collection_output } from "./outputs.js"; +import { bill$$subs$$api_identifier } from "../../../schemas.js"; +import { bill$$subs$$api_account_billing_history } from "../outputs.js"; +import { bill$$subs$$api_account_billing_history_collection } from "./outputs.js"; /** * The tools of `accounts.billing.history`. @@ -24,41 +24,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of items per page.", - "type": "integer" - }, - "status": { - "description": "Filter billing history by status.", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of items per page.", + "type": "integer" + }, + "status": { + "description": "Filter billing history by status.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_billing_history_collection", $defs: { - "bill-subs-api_account_billing_history": bill_subs_api_account_billing_history_output, - "bill-subs-api_account_billing_history_collection": bill_subs_api_account_billing_history_collection_output, - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, + "bill-subs-api_account_billing_history": bill$$subs$$api_account_billing_history, + "bill-subs-api_account_billing_history_collection": bill$$subs$$api_account_billing_history_collection, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_result_info": bill$$subs$$api_result_info, }, }, annotations: { @@ -97,21 +110,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_account_billing_history": bill_subs_api_account_billing_history_output, - "bill-subs-api_account_billing_history_collection": bill_subs_api_account_billing_history_collection_output, - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, + "bill-subs-api_account_billing_history": bill$$subs$$api_account_billing_history, + "bill-subs-api_account_billing_history_collection": bill$$subs$$api_account_billing_history_collection, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_result_info": bill$$subs$$api_result_info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/history`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["status", param(args, "query", "status"), true], ], }), }, diff --git a/src/generated/forge-mcp/accounts/billing/outputs.ts b/src/generated/forge-mcp/accounts/billing/outputs.ts index 9a4331f4b..c56598c25 100644 --- a/src/generated/forge-mcp/accounts/billing/outputs.ts +++ b/src/generated/forge-mcp/accounts/billing/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bill-subs-api_account_billing_history` in responses. */ -export const bill_subs_api_account_billing_history_output: JsonSchema = { +export const bill$$subs$$api_account_billing_history: JsonSchema = { "properties": { "action": { "type": "string" @@ -61,7 +61,7 @@ export const bill_subs_api_account_billing_history_output: JsonSchema = { /** * The schema of `bill-subs-api_account_credits_response` in responses. */ -export const bill_subs_api_account_credits_response_output: JsonSchema = { +export const bill$$subs$$api_account_credits_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" @@ -115,7 +115,7 @@ export const bill_subs_api_account_credits_response_output: JsonSchema = { /** * The schema of `bill-subs-api_bad_debt_info` in responses. */ -export const bill_subs_api_bad_debt_info_output: JsonSchema = { +export const bill$$subs$$api_bad_debt_info: JsonSchema = { "properties": { "already_paid": { "type": "number" @@ -139,7 +139,7 @@ export const bill_subs_api_bad_debt_info_output: JsonSchema = { /** * The schema of `bill-subs-api_bad_debt_response_single` in responses. */ -export const bill_subs_api_bad_debt_response_single_output: JsonSchema = { +export const bill$$subs$$api_bad_debt_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" @@ -158,7 +158,7 @@ export const bill_subs_api_bad_debt_response_single_output: JsonSchema = { /** * The schema of `bill-subs-api_client_secret_response_single` in responses. */ -export const bill_subs_api_client_secret_response_single_output: JsonSchema = { +export const bill$$subs$$api_client_secret_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" @@ -182,7 +182,7 @@ export const bill_subs_api_client_secret_response_single_output: JsonSchema = { /** * The schema of `bill-subs-api_unpaid_invoices_response_single` in responses. */ -export const bill_subs_api_unpaid_invoices_response_single_output: JsonSchema = { +export const bill$$subs$$api_unpaid_invoices_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" diff --git a/src/generated/forge-mcp/accounts/billing/paymentMethods/outputs.ts b/src/generated/forge-mcp/accounts/billing/paymentMethods/outputs.ts index a15394566..de657537e 100644 --- a/src/generated/forge-mcp/accounts/billing/paymentMethods/outputs.ts +++ b/src/generated/forge-mcp/accounts/billing/paymentMethods/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `bill-subs-api_payment_method` in responses. */ -export const bill_subs_api_payment_method_output: JsonSchema = { +export const bill$$subs$$api_payment_method: JsonSchema = { "properties": { "address": { "type": "string" @@ -99,7 +99,7 @@ export const bill_subs_api_payment_method_output: JsonSchema = { * The schema of `bill-subs-api_payment_method_response_collection` in * responses. */ -export const bill_subs_api_payment_method_response_collection_output: JsonSchema = { +export const bill$$subs$$api_payment_method_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-collection" @@ -121,7 +121,7 @@ export const bill_subs_api_payment_method_response_collection_output: JsonSchema /** * The schema of `bill-subs-api_payment_method_response_single` in responses. */ -export const bill_subs_api_payment_method_response_single_output: JsonSchema = { +export const bill$$subs$$api_payment_method_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" diff --git a/src/generated/forge-mcp/accounts/billing/paymentMethods/schemas.ts b/src/generated/forge-mcp/accounts/billing/paymentMethods/schemas.ts index 9f83cd616..48c3c8da6 100644 --- a/src/generated/forge-mcp/accounts/billing/paymentMethods/schemas.ts +++ b/src/generated/forge-mcp/accounts/billing/paymentMethods/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `bill-subs-api_payment_method`. */ -export const bill_subs_api_payment_method: JsonSchema = { +export const bill$$subs$$api_payment_method: JsonSchema = { "properties": { "address": { "description": "Billing address line 1.", diff --git a/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts b/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts index 2c10b029e..a688c2fb7 100644 --- a/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts @@ -1,59 +1,67 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - bill_subs_api_api_response_collection_output, - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_api_response_single_output, - bill_subs_api_messages_output, - bill_subs_api_result_info_output, + bill$$subs$$api_api$$response$$collection, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_api$$response$$single, + bill$$subs$$api_messages, + bill$$subs$$api_result_info, } from "../../../outputs.js"; -import { bill_subs_api_identifier } from "../../../schemas.js"; +import { bill$$subs$$api_identifier } from "../../../schemas.js"; import { - bill_subs_api_payment_method_output, - bill_subs_api_payment_method_response_collection_output, - bill_subs_api_payment_method_response_single_output, + bill$$subs$$api_payment_method, + bill$$subs$$api_payment_method_response_collection, + bill$$subs$$api_payment_method_response_single, } from "./outputs.js"; -import { bill_subs_api_payment_method } from "./schemas.js"; +import { bill$$subs$$api_payment_method as bill$$subs$$api_payment_method$ } from "./schemas.js"; /** - * The tools of `accounts.billing.payment_methods`. + * The tools of `accounts.billing.paymentMethods`. */ export const tools: readonly Tool[] = [ { - name: "accounts_billing_payment_methods_create", + name: "accounts_billing_paymentMethods_create", title: "Create Payment Method", description: "Creates a new payment method for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/bill-subs-api_payment_method" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_payment_method": bill_subs_api_payment_method, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_payment_method_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_method": bill_subs_api_payment_method_output, - "bill-subs-api_payment_method_response_single": bill_subs_api_payment_method_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method, + "bill-subs-api_payment_method_response_single": bill$$subs$$api_payment_method_response_single, }, }, annotations: { @@ -92,12 +100,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_method": bill_subs_api_payment_method_output, - "bill-subs-api_payment_method_response_single": bill_subs_api_payment_method_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method, + "bill-subs-api_payment_method_response_single": bill$$subs$$api_payment_method_response_single, }, }, request: (args) => ({ @@ -106,27 +114,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_billing_payment_methods_delete", + name: "accounts_billing_paymentMethods_delete", title: "Delete Payment Method", description: "Deletes a payment method from an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, - "payment_method_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Payment method identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "payment_method_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Payment method identifier." + } + }, + "required": [ + "account_id", + "payment_method_id" + ], + "type": "object" } }, required: [ - "account_id", - "payment_method_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, annotations: { @@ -165,10 +181,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -176,37 +192,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_billing_payment_methods_get", + name: "accounts_billing_paymentMethods_get", title: "Get Payment Method", description: "Gets a specific payment method for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, - "payment_method_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Payment method identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "payment_method_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Payment method identifier." + } + }, + "required": [ + "account_id", + "payment_method_id" + ], + "type": "object" } }, required: [ - "account_id", - "payment_method_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_payment_method_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_method": bill_subs_api_payment_method_output, - "bill-subs-api_payment_method_response_single": bill_subs_api_payment_method_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method, + "bill-subs-api_payment_method_response_single": bill$$subs$$api_payment_method_response_single, }, }, annotations: { @@ -245,12 +269,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_method": bill_subs_api_payment_method_output, - "bill-subs-api_payment_method_response_single": bill_subs_api_payment_method_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method, + "bill-subs-api_payment_method_response_single": bill$$subs$$api_payment_method_response_single, }, }, request: (args) => ({ @@ -258,43 +282,56 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_billing_payment_methods_list", + name: "accounts_billing_paymentMethods_list", title: "List Payment Methods", description: "Lists all payment methods for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of items per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of items per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_payment_method_response_collection", $defs: { - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_method": bill_subs_api_payment_method_output, - "bill-subs-api_payment_method_response_collection": bill_subs_api_payment_method_response_collection_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method, + "bill-subs-api_payment_method_response_collection": bill$$subs$$api_payment_method_response_collection, + "bill-subs-api_result_info": bill$$subs$$api_result_info, }, }, annotations: { @@ -333,45 +370,53 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_method": bill_subs_api_payment_method_output, - "bill-subs-api_payment_method_response_collection": bill_subs_api_payment_method_response_collection_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method, + "bill-subs-api_payment_method_response_collection": bill$$subs$$api_payment_method_response_collection, + "bill-subs-api_result_info": bill$$subs$$api_result_info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/payment-methods`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "accounts_billing_payment_methods_set_default", + name: "accounts_billing_paymentMethods_setDefault", title: "Set Default Payment Method", description: "Sets a payment method as the default for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, - "payment_method_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Payment method identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "payment_method_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Payment method identifier." + } + }, + "required": [ + "account_id", + "payment_method_id" + ], + "type": "object" } }, required: [ - "account_id", - "payment_method_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, annotations: { @@ -411,10 +456,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -422,42 +467,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_billing_payment_methods_update", + name: "accounts_billing_paymentMethods_update", title: "Update Payment Method", description: "Updates a payment method for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/bill-subs-api_payment_method" }, - "payment_method_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Payment method identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "payment_method_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Payment method identifier." + } + }, + "required": [ + "account_id", + "payment_method_id" + ], + "type": "object" } }, required: [ - "account_id", - "payment_method_id", + "path", "body" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_payment_method": bill_subs_api_payment_method, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_payment_method_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_method": bill_subs_api_payment_method_output, - "bill-subs-api_payment_method_response_single": bill_subs_api_payment_method_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method, + "bill-subs-api_payment_method_response_single": bill$$subs$$api_payment_method_response_single, }, }, annotations: { @@ -496,12 +549,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_method": bill_subs_api_payment_method_output, - "bill-subs-api_payment_method_response_single": bill_subs_api_payment_method_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_method": bill$$subs$$api_payment_method, + "bill-subs-api_payment_method_response_single": bill$$subs$$api_payment_method_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/billing/tools.ts b/src/generated/forge-mcp/accounts/billing/tools.ts index 02cabf85d..362ef45e0 100644 --- a/src/generated/forge-mcp/accounts/billing/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/tools.ts @@ -1,21 +1,21 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_api_response_single_output, - bill_subs_api_messages_output, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_api$$response$$single, + bill$$subs$$api_messages, } from "../../outputs.js"; -import { bill_subs_api_identifier } from "../../schemas.js"; +import { bill$$subs$$api_identifier } from "../../schemas.js"; import { - bill_subs_api_account_billing_history_output, - bill_subs_api_account_credits_response_output, - bill_subs_api_bad_debt_info_output, - bill_subs_api_bad_debt_response_single_output, - bill_subs_api_client_secret_response_single_output, - bill_subs_api_unpaid_invoices_response_single_output, + bill$$subs$$api_account_billing_history, + bill$$subs$$api_account_credits_response, + bill$$subs$$api_bad_debt_info, + bill$$subs$$api_bad_debt_response_single, + bill$$subs$$api_client_secret_response_single, + bill$$subs$$api_unpaid_invoices_response_single, } from "./outputs.js"; /** @@ -23,31 +23,39 @@ import { */ export const tools: readonly Tool[] = [ { - name: "accounts_billing_create_setup_intent", + name: "accounts_billing_createSetupIntent", title: "Create Setup Intent", description: "Creates a Stripe setup intent for adding a payment method to an account. Returns a client secret for frontend payment method collection.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_client_secret_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_client_secret_response_single": bill_subs_api_client_secret_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_client_secret_response_single": bill$$subs$$api_client_secret_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -77,11 +85,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_client_secret_response_single": bill_subs_api_client_secret_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_client_secret_response_single": bill$$subs$$api_client_secret_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -89,33 +97,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_billing_get_bad_debt", + name: "accounts_billing_getBadDebt", title: "Get Account Bad Debt", description: "Gets bad debt information for an account, including outstanding invoices and total debt amount.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_bad_debt_response_single", $defs: { - "bill-subs-api_account_billing_history": bill_subs_api_account_billing_history_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_bad_debt_info": bill_subs_api_bad_debt_info_output, - "bill-subs-api_bad_debt_response_single": bill_subs_api_bad_debt_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_account_billing_history": bill$$subs$$api_account_billing_history, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_bad_debt_info": bill$$subs$$api_bad_debt_info, + "bill-subs-api_bad_debt_response_single": bill$$subs$$api_bad_debt_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -145,13 +161,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_account_billing_history": bill_subs_api_account_billing_history_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_bad_debt_info": bill_subs_api_bad_debt_info_output, - "bill-subs-api_bad_debt_response_single": bill_subs_api_bad_debt_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_account_billing_history": bill$$subs$$api_account_billing_history, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_bad_debt_info": bill$$subs$$api_bad_debt_info, + "bill-subs-api_bad_debt_response_single": bill$$subs$$api_bad_debt_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -159,31 +175,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_billing_get_credits", + name: "accounts_billing_getCredits", title: "Get Account Credits", description: "Gets the credit balance and eligibility for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_credits_response", $defs: { - "bill-subs-api_account_credits_response": bill_subs_api_account_credits_response_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_account_credits_response": bill$$subs$$api_account_credits_response, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -222,11 +246,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_account_credits_response": bill_subs_api_account_credits_response_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, + "bill-subs-api_account_credits_response": bill$$subs$$api_account_credits_response, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -234,31 +258,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_billing_get_receipt_pdf", + name: "accounts_billing_getReceiptPdf", title: "Get Receipt PDF", description: "Downloads a receipt as a PDF document.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, - "doctype": { - "description": "The document type to generate.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "receipt_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Receipt identifier." + } + }, + "required": [ + "account_id", + "receipt_id" + ], + "type": "object" }, - "receipt_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Receipt identifier." + "query": { + "properties": { + "doctype": { + "description": "The document type to generate.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "receipt_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, annotations: { @@ -286,44 +323,52 @@ export const tools: readonly Tool[] = [ } }, $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, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/receipts/${pathParam(args, "receipt_id")}/pdf`, query: [ - ["doctype", args["doctype"], true], + ["doctype", param(args, "query", "doctype"), true], ], }), }, { - name: "accounts_billing_get_unpaid_invoices", + name: "accounts_billing_getUnpaidInvoices", title: "Get Unpaid Invoices", description: "Gets unpaid invoice information for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_unpaid_invoices_response_single", $defs: { - "bill-subs-api_account_billing_history": bill_subs_api_account_billing_history_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_unpaid_invoices_response_single": bill_subs_api_unpaid_invoices_response_single_output, + "bill-subs-api_account_billing_history": bill$$subs$$api_account_billing_history, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_unpaid_invoices_response_single": bill$$subs$$api_unpaid_invoices_response_single, }, }, annotations: { @@ -353,12 +398,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_account_billing_history": bill_subs_api_account_billing_history_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_unpaid_invoices_response_single": bill_subs_api_unpaid_invoices_response_single_output, + "bill-subs-api_account_billing_history": bill$$subs$$api_account_billing_history, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_unpaid_invoices_response_single": bill$$subs$$api_unpaid_invoices_response_single, }, }, request: (args) => ({ @@ -366,16 +411,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_billing_pay_invoice", + name: "accounts_billing_payInvoice", title: "Pay Invoice", description: "Pays an outstanding invoice for an account. Returns a Stripe client secret when Strong Customer Authentication (SCA) is required to complete the payment.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "properties": { "invoice_id": { @@ -392,23 +433,35 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_client_secret_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_client_secret_response_single": bill_subs_api_client_secret_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_client_secret_response_single": bill$$subs$$api_client_secret_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -441,11 +494,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_client_secret_response_single": bill_subs_api_client_secret_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_client_secret_response_single": bill$$subs$$api_client_secret_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -454,16 +507,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_billing_toggle_pdf_invoices", + name: "accounts_billing_togglePdfInvoices", title: "Toggle PDF Invoices", description: "Toggles PDF invoice generation for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "properties": { "toggle": { @@ -472,22 +521,34 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_api-response-single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -517,10 +578,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/categories/outputs.ts b/src/generated/forge-mcp/accounts/categories/outputs.ts index 97ef66312..9e01b981e 100644 --- a/src/generated/forge-mcp/accounts/categories/outputs.ts +++ b/src/generated/forge-mcp/accounts/categories/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `alexandria_categories` in responses. */ -export const alexandria_categories_output: JsonSchema = { +export const alexandria_categories: JsonSchema = { "items": { "$ref": "#/$defs/alexandria_category" }, @@ -16,7 +16,7 @@ export const alexandria_categories_output: JsonSchema = { /** * The schema of `alexandria_category` in responses. */ -export const alexandria_category_output: JsonSchema = { +export const alexandria_category: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/alexandria_category_created_at" @@ -43,28 +43,28 @@ export const alexandria_category_output: JsonSchema = { /** * The schema of `alexandria_category_created_at` in responses. */ -export const alexandria_category_created_at_output: JsonSchema = { +export const alexandria_category_created_at: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_category_description` in responses. */ -export const alexandria_category_description_output: JsonSchema = { +export const alexandria_category_description: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_category_name` in responses. */ -export const alexandria_category_name_output: JsonSchema = { +export const alexandria_category_name: JsonSchema = { "type": "string" }; /** * The schema of `alexandria_get_categories_response` in responses. */ -export const alexandria_get_categories_response_output: JsonSchema = { +export const alexandria_get_categories_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/alexandria_api-response-collection" @@ -83,7 +83,7 @@ export const alexandria_get_categories_response_output: JsonSchema = { /** * The schema of `alexandria_get_category_response` in responses. */ -export const alexandria_get_category_response_output: JsonSchema = { +export const alexandria_get_category_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/alexandria_api-response-common" diff --git a/src/generated/forge-mcp/accounts/categories/tools.ts b/src/generated/forge-mcp/accounts/categories/tools.ts index e349aba74..3e64a6069 100644 --- a/src/generated/forge-mcp/accounts/categories/tools.ts +++ b/src/generated/forge-mcp/accounts/categories/tools.ts @@ -1,23 +1,23 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - alexandria_api_response_collection_output, - alexandria_api_response_common_failure_output, - alexandria_api_response_common_output, - alexandria_category_id_output, - alexandria_messages_output, + alexandria_api$$response$$collection, + alexandria_api$$response$$common, + alexandria_api_response_common_failure, + alexandria_category_id, + alexandria_messages, } from "../outputs.js"; -import { alexandria_category_id } from "../schemas.js"; +import { alexandria_category_id as alexandria_category_id$ } from "../schemas.js"; import { - alexandria_categories_output, - alexandria_category_created_at_output, - alexandria_category_description_output, - alexandria_category_name_output, - alexandria_category_output, - alexandria_get_categories_response_output, - alexandria_get_category_response_output, + alexandria_categories, + alexandria_category, + alexandria_category_created_at, + alexandria_category_description, + alexandria_category_name, + alexandria_get_categories_response, + alexandria_get_category_response, } from "./outputs.js"; /** @@ -31,34 +31,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "id": { - "$ref": "#/$defs/alexandria_category_id", - "description": "Application category ID." + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "id": { + "$ref": "#/$defs/alexandria_category_id", + "description": "Application category ID." + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "alexandria_category_id": alexandria_category_id, + "alexandria_category_id": alexandria_category_id$, }, }, outputSchema: { "$ref": "#/$defs/alexandria_get_category_response", $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_category": alexandria_category_output, - "alexandria_category_created_at": alexandria_category_created_at_output, - "alexandria_category_description": alexandria_category_description_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_category_name": alexandria_category_name_output, - "alexandria_get_category_response": alexandria_get_category_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_category": alexandria_category, + "alexandria_category_created_at": alexandria_category_created_at, + "alexandria_category_description": alexandria_category_description, + "alexandria_category_id": alexandria_category_id, + "alexandria_category_name": alexandria_category_name, + "alexandria_get_category_response": alexandria_get_category_response, + "alexandria_messages": alexandria_messages, }, }, annotations: { @@ -88,15 +96,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, - "alexandria_category": alexandria_category_output, - "alexandria_category_created_at": alexandria_category_created_at_output, - "alexandria_category_description": alexandria_category_description_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_category_name": alexandria_category_name_output, - "alexandria_get_category_response": alexandria_get_category_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_api_response_common_failure": alexandria_api_response_common_failure, + "alexandria_category": alexandria_category, + "alexandria_category_created_at": alexandria_category_created_at, + "alexandria_category_description": alexandria_category_description, + "alexandria_category_id": alexandria_category_id, + "alexandria_category_name": alexandria_category_name, + "alexandria_get_category_response": alexandria_get_category_response, + "alexandria_messages": alexandria_messages, }, }, request: (args) => ({ @@ -110,42 +118,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "cursor": { - "description": "Opaque value from `result_info.cursor` of the previous response. Returns the\ncategories that follow it. `limit` may change between requests. An empty value\nis the same as no cursor. A modified cursor, or one returned by a different list,\nreturns `400`.\n", - "type": "string" - }, - "limit": { - "default": 25, - "description": "Number of results to return. Defaults to 25; values are clamped to 1–250.", - "type": "integer" - }, - "offset": { - "default": 0, - "description": "Number of results to skip. Defaults to 0; negative values are clamped to 0. Ignored when `cursor` is provided.", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Opaque value from `result_info.cursor` of the previous response. Returns the\ncategories that follow it. `limit` may change between requests. An empty value\nis the same as no cursor. A modified cursor, or one returned by a different list,\nreturns `400`.\n", + "type": "string" + }, + "limit": { + "default": 25, + "description": "Number of results to return. Defaults to 25; values are clamped to 1–250.", + "type": "integer" + }, + "offset": { + "default": 0, + "description": "Number of results to skip. Defaults to 0; negative values are clamped to 0. Ignored when `cursor` is provided.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/alexandria_get_categories_response", $defs: { - "alexandria_api-response-collection": alexandria_api_response_collection_output, - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_categories": alexandria_categories_output, - "alexandria_category": alexandria_category_output, - "alexandria_category_created_at": alexandria_category_created_at_output, - "alexandria_category_description": alexandria_category_description_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_category_name": alexandria_category_name_output, - "alexandria_get_categories_response": alexandria_get_categories_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-collection": alexandria_api$$response$$collection, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_categories": alexandria_categories, + "alexandria_category": alexandria_category, + "alexandria_category_created_at": alexandria_category_created_at, + "alexandria_category_description": alexandria_category_description, + "alexandria_category_id": alexandria_category_id, + "alexandria_category_name": alexandria_category_name, + "alexandria_get_categories_response": alexandria_get_categories_response, + "alexandria_messages": alexandria_messages, }, }, annotations: { @@ -178,25 +199,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "alexandria_api-response-collection": alexandria_api_response_collection_output, - "alexandria_api-response-common": alexandria_api_response_common_output, - "alexandria_api_response_common_failure": alexandria_api_response_common_failure_output, - "alexandria_categories": alexandria_categories_output, - "alexandria_category": alexandria_category_output, - "alexandria_category_created_at": alexandria_category_created_at_output, - "alexandria_category_description": alexandria_category_description_output, - "alexandria_category_id": alexandria_category_id_output, - "alexandria_category_name": alexandria_category_name_output, - "alexandria_get_categories_response": alexandria_get_categories_response_output, - "alexandria_messages": alexandria_messages_output, + "alexandria_api-response-collection": alexandria_api$$response$$collection, + "alexandria_api-response-common": alexandria_api$$response$$common, + "alexandria_api_response_common_failure": alexandria_api_response_common_failure, + "alexandria_categories": alexandria_categories, + "alexandria_category": alexandria_category, + "alexandria_category_created_at": alexandria_category_created_at, + "alexandria_category_description": alexandria_category_description, + "alexandria_category_id": alexandria_category_id, + "alexandria_category_name": alexandria_category_name, + "alexandria_get_categories_response": alexandria_get_categories_response, + "alexandria_messages": alexandria_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/resource-library/categories`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["cursor", args["cursor"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/accounts/entitlements/outputs.ts b/src/generated/forge-mcp/accounts/entitlements/outputs.ts index 1966b8334..2f0fb5c53 100644 --- a/src/generated/forge-mcp/accounts/entitlements/outputs.ts +++ b/src/generated/forge-mcp/accounts/entitlements/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `entitlements_allocation` in responses. */ -export const entitlements_allocation_output: JsonSchema = { +export const entitlements_allocation: JsonSchema = { "properties": { "type": { "enum": [ @@ -63,7 +63,7 @@ export const entitlements_allocation_output: JsonSchema = { /** * The schema of `entitlements_api_error` in responses. */ -export const entitlements_api_error_output: JsonSchema = { +export const entitlements_api_error: JsonSchema = { "properties": { "code": { "type": "integer" @@ -82,7 +82,7 @@ export const entitlements_api_error_output: JsonSchema = { /** * The schema of `entitlements_api_message` in responses. */ -export const entitlements_api_message_output: JsonSchema = { +export const entitlements_api_message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -101,7 +101,7 @@ export const entitlements_api_message_output: JsonSchema = { /** * The schema of `entitlements_api_response_failure` in responses. */ -export const entitlements_api_response_failure_output: JsonSchema = { +export const entitlements_api_response_failure: JsonSchema = { "properties": { "errors": { "items": { @@ -141,7 +141,7 @@ export const entitlements_api_response_failure_output: JsonSchema = { /** * The schema of `entitlements_entitlement` in responses. */ -export const entitlements_entitlement_output: JsonSchema = { +export const entitlements_entitlement: JsonSchema = { "properties": { "allocation": { "$ref": "#/$defs/entitlements_allocation" @@ -176,7 +176,7 @@ export const entitlements_entitlement_output: JsonSchema = { /** * The schema of `entitlements_entitlements_response` in responses. */ -export const entitlements_entitlements_response_output: JsonSchema = { +export const entitlements_entitlements_response: JsonSchema = { "properties": { "errors": { "items": { @@ -212,7 +212,7 @@ export const entitlements_entitlements_response_output: JsonSchema = { /** * The schema of `entitlements_feature` in responses. */ -export const entitlements_feature_output: JsonSchema = { +export const entitlements_feature: JsonSchema = { "properties": { "feature_set": { "type": "string" diff --git a/src/generated/forge-mcp/accounts/entitlements/tools.ts b/src/generated/forge-mcp/accounts/entitlements/tools.ts index 2aab973d3..509827bef 100644 --- a/src/generated/forge-mcp/accounts/entitlements/tools.ts +++ b/src/generated/forge-mcp/accounts/entitlements/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - entitlements_allocation_output, - entitlements_api_error_output, - entitlements_api_message_output, - entitlements_api_response_failure_output, - entitlements_entitlement_output, - entitlements_entitlements_response_output, - entitlements_feature_output, + entitlements_allocation, + entitlements_api_error, + entitlements_api_message, + entitlements_api_response_failure, + entitlements_entitlement, + entitlements_entitlements_response, + entitlements_feature, } from "./outputs.js"; import { entitlements_identifier } from "./schemas.js"; @@ -24,22 +24,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/entitlements_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/entitlements_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "entitlements_identifier": entitlements_identifier, @@ -88,13 +96,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "entitlements_allocation": entitlements_allocation_output, - "entitlements_api_error": entitlements_api_error_output, - "entitlements_api_message": entitlements_api_message_output, - "entitlements_api_response_failure": entitlements_api_response_failure_output, - "entitlements_entitlement": entitlements_entitlement_output, - "entitlements_entitlements_response": entitlements_entitlements_response_output, - "entitlements_feature": entitlements_feature_output, + "entitlements_allocation": entitlements_allocation, + "entitlements_api_error": entitlements_api_error, + "entitlements_api_message": entitlements_api_message, + "entitlements_api_response_failure": entitlements_api_response_failure, + "entitlements_entitlement": entitlements_entitlement, + "entitlements_entitlements_response": entitlements_entitlements_response, + "entitlements_feature": entitlements_feature, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/logs/audit/outputs.ts b/src/generated/forge-mcp/accounts/logs/audit/outputs.ts index 02d21007c..1d9d1dbfe 100644 --- a/src/generated/forge-mcp/accounts/logs/audit/outputs.ts +++ b/src/generated/forge-mcp/accounts/logs/audit/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `aaa_audit-logs-v2` in responses. */ -export const aaa_audit_logs_v2_output: JsonSchema = { +export const aaa_audit$$logs$$v2: JsonSchema = { "properties": { "account": { "properties": { @@ -91,7 +91,7 @@ export const aaa_audit_logs_v2_output: JsonSchema = { /** * The schema of `aaa_audit-logs-v2-history-response-collection` in responses. */ -export const aaa_audit_logs_v2_history_response_collection_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$history$$response$$collection: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages-2" @@ -125,7 +125,7 @@ export const aaa_audit_logs_v2_history_response_collection_output: JsonSchema = * The schema of `aaa_audit-logs-v2-product-categories-response-collection` in * responses. */ -export const aaa_audit_logs_v2_product_categories_response_collection_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$product$$categories$$response$$collection: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages-2" @@ -149,7 +149,7 @@ export const aaa_audit_logs_v2_product_categories_response_collection_output: Js /** * The schema of `aaa_audit-logs-v2-product-category` in responses. */ -export const aaa_audit_logs_v2_product_category_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$product$$category: JsonSchema = { "properties": { "label": { "type": "string" @@ -170,7 +170,7 @@ export const aaa_audit_logs_v2_product_category_output: JsonSchema = { /** * The schema of `aaa_audit-logs-v2-product-category-item` in responses. */ -export const aaa_audit_logs_v2_product_category_item_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$product$$category$$item: JsonSchema = { "properties": { "label": { "type": "string" @@ -185,7 +185,7 @@ export const aaa_audit_logs_v2_product_category_item_output: JsonSchema = { /** * The schema of `aaa_audit-logs-v2-response-collection` in responses. */ -export const aaa_audit_logs_v2_response_collection_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_audit-logs-response-collection" diff --git a/src/generated/forge-mcp/accounts/logs/audit/tools.ts b/src/generated/forge-mcp/accounts/logs/audit/tools.ts index b2e7376d7..3c83a1714 100644 --- a/src/generated/forge-mcp/accounts/logs/audit/tools.ts +++ b/src/generated/forge-mcp/accounts/logs/audit/tools.ts @@ -1,27 +1,27 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - aaa_api_response_common_failure_2_output, - aaa_audit_log_action_output, - aaa_audit_log_actor_base_output, - aaa_audit_log_raw_output, - aaa_audit_logs_response_collection_output, - aaa_audit_logs_v2_history_not_found_output, - aaa_audit_logs_v2_history_result_info_output, - aaa_history_status_output, - aaa_identifier_2_output, - aaa_messages_2_output, - aaa_result_info_output, + aaa_api$$response$$common$$failure$$2, + aaa_audit$$log$$action, + aaa_audit$$log$$actor$$base, + aaa_audit$$log$$raw, + aaa_audit$$logs$$response$$collection, + aaa_audit$$logs$$v2$$history$$not$$found, + aaa_audit$$logs$$v2$$history$$result$$info, + aaa_history$$status, + aaa_identifier$$2, + aaa_messages$$2, + aaa_result_info, } from "../../../outputs.js"; import { - aaa_audit_logs_v2_history_response_collection_output, - aaa_audit_logs_v2_output, - aaa_audit_logs_v2_product_categories_response_collection_output, - aaa_audit_logs_v2_product_category_item_output, - aaa_audit_logs_v2_product_category_output, - aaa_audit_logs_v2_response_collection_output, + aaa_audit$$logs$$v2, + aaa_audit$$logs$$v2$$history$$response$$collection, + aaa_audit$$logs$$v2$$product$$categories$$response$$collection, + aaa_audit$$logs$$v2$$product$$category, + aaa_audit$$logs$$v2$$product$$category$$item, + aaa_audit$$logs$$v2$$response$$collection, } from "./outputs.js"; /** @@ -35,69 +35,85 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "The unique ID that identifies the account.", - "type": "string" - }, - "action_time": { - "description": "RFC3339 timestamp of the source audit log entry's action time. Used to narrow the source-entry lookup window. Provide the `action.time` value from the audit log identified by `id`.", - "format": "date-time", - "type": "string" - }, - "before": { - "description": "Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", - "format": "date", - "type": "string" - }, - "cursor": { - "description": "The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.", - "type": "string" - }, - "direction": { - "default": "desc", - "description": "Sets sorting order.", - "enum": [ - "desc", - "asc" + "path": { + "properties": { + "account_id": { + "description": "The unique ID that identifies the account.", + "type": "string" + }, + "id": { + "description": "The ID of the audit log to fetch resource history for.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" ], - "type": "string" - }, - "id": { - "description": "The ID of the audit log to fetch resource history for.", - "format": "uuid", - "type": "string" - }, - "limit": { - "default": 100, - "description": "The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", - "type": "number" - }, - "since": { - "description": "Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", - "format": "date", - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "action_time": { + "description": "RFC3339 timestamp of the source audit log entry's action time. Used to narrow the source-entry lookup window. Provide the `action.time` value from the audit log identified by `id`.", + "format": "date-time", + "type": "string" + }, + "before": { + "description": "Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", + "format": "date", + "type": "string" + }, + "cursor": { + "description": "The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.", + "type": "string" + }, + "direction": { + "default": "desc", + "description": "Sets sorting order.", + "enum": [ + "desc", + "asc" + ], + "type": "string" + }, + "limit": { + "default": 100, + "description": "The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", + "type": "number" + }, + "since": { + "description": "Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", + "format": "date", + "type": "string" + } + }, + "required": [ + "action_time", + "since", + "before" + ], + "type": "object" } }, required: [ - "account_id", - "id", - "action_time", - "since", - "before" + "path", + "query" ], }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-history-response-collection", $defs: { - "aaa_audit-log-action": aaa_audit_log_action_output, - "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, - "aaa_audit-log-raw": aaa_audit_log_raw_output, - "aaa_audit-logs-v2": aaa_audit_logs_v2_output, - "aaa_audit-logs-v2-history-response-collection": aaa_audit_logs_v2_history_response_collection_output, - "aaa_audit-logs-v2-history-result-info": aaa_audit_logs_v2_history_result_info_output, - "aaa_history-status": aaa_history_status_output, - "aaa_identifier-2": aaa_identifier_2_output, - "aaa_messages-2": aaa_messages_2_output, + "aaa_audit-log-action": aaa_audit$$log$$action, + "aaa_audit-log-actor-base": aaa_audit$$log$$actor$$base, + "aaa_audit-log-raw": aaa_audit$$log$$raw, + "aaa_audit-logs-v2": aaa_audit$$logs$$v2, + "aaa_audit-logs-v2-history-response-collection": aaa_audit$$logs$$v2$$history$$response$$collection, + "aaa_audit-logs-v2-history-result-info": aaa_audit$$logs$$v2$$history$$result$$info, + "aaa_history-status": aaa_history$$status, + "aaa_identifier-2": aaa_identifier$$2, + "aaa_messages-2": aaa_messages$$2, }, }, annotations: { @@ -134,28 +150,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, - "aaa_audit-log-action": aaa_audit_log_action_output, - "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, - "aaa_audit-log-raw": aaa_audit_log_raw_output, - "aaa_audit-logs-v2": aaa_audit_logs_v2_output, - "aaa_audit-logs-v2-history-not-found": aaa_audit_logs_v2_history_not_found_output, - "aaa_audit-logs-v2-history-response-collection": aaa_audit_logs_v2_history_response_collection_output, - "aaa_audit-logs-v2-history-result-info": aaa_audit_logs_v2_history_result_info_output, - "aaa_history-status": aaa_history_status_output, - "aaa_identifier-2": aaa_identifier_2_output, - "aaa_messages-2": aaa_messages_2_output, + "aaa_api-response-common-failure-2": aaa_api$$response$$common$$failure$$2, + "aaa_audit-log-action": aaa_audit$$log$$action, + "aaa_audit-log-actor-base": aaa_audit$$log$$actor$$base, + "aaa_audit-log-raw": aaa_audit$$log$$raw, + "aaa_audit-logs-v2": aaa_audit$$logs$$v2, + "aaa_audit-logs-v2-history-not-found": aaa_audit$$logs$$v2$$history$$not$$found, + "aaa_audit-logs-v2-history-response-collection": aaa_audit$$logs$$v2$$history$$response$$collection, + "aaa_audit-logs-v2-history-result-info": aaa_audit$$logs$$v2$$history$$result$$info, + "aaa_history-status": aaa_history$$status, + "aaa_identifier-2": aaa_identifier$$2, + "aaa_messages-2": aaa_messages$$2, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/audit/${pathParam(args, "id")}/history`, query: [ - ["action_time", args["action_time"], true], - ["since", args["since"], true], - ["before", args["before"], true], - ["direction", args["direction"], true], - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["action_time", param(args, "query", "action_time"), true], + ["since", param(args, "query", "since"), true], + ["before", param(args, "query", "before"), true], + ["direction", param(args, "query", "direction"), true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, @@ -166,434 +182,450 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "The unique id that identifies the account.", - "type": "string" - }, - "account_name": { - "description": "Filters by the account name.", - "items": { - "type": "string" - }, - "type": "array" - }, - "account_name_not": { - "description": "Filters out audit logs by the account name.", - "items": { - "type": "string" - }, - "type": "array" - }, - "action_result": { - "description": "Filters by whether the action was successful or not.", - "items": { - "enum": [ - "success", - "failure" - ], - "type": "string" - }, - "type": "array" - }, - "action_result_not": { - "description": "Filters out audit logs by whether the action was successful or not.", - "items": { - "enum": [ - "success", - "failure" - ], - "type": "string" - }, - "type": "array" - }, - "action_type": { - "description": "Filters by the action type.", - "items": { - "enum": [ - "create", - "delete", - "view", - "update" - ], - "type": "string" - }, - "type": "array" - }, - "action_type_not": { - "description": "Filters out audit logs by the action type.", - "items": { - "enum": [ - "create", - "delete", - "view", - "update" - ], - "type": "string" - }, - "type": "array" - }, - "actor_context": { - "description": "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", - "items": { - "enum": [ - "api", - "api_key", - "api_token", - "dash", - "oauth", - "origin_ca_key" - ], - "type": "string" - }, - "type": "array" - }, - "actor_context_not": { - "description": "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", - "items": { - "enum": [ - "api", - "api_key", - "api_token", - "dash", - "oauth", - "origin_ca_key" - ], - "type": "string" - }, - "type": "array" - }, - "actor_email": { - "description": "Filters by the actor's email address.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_email_not": { - "description": "Filters out audit logs by the actor's email address.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_id": { - "description": "Filters by the actor ID. This can be either the Account ID or User ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_id_not": { - "description": "Filters out audit logs by the actor ID. This can be either the Account ID or User ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_ip_address": { - "description": "The IP address where the action was initiated.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_ip_address_not": { - "description": "Filters out audit logs IP address where the action was initiated.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_token_id": { - "description": "Filters by the API token ID when the actor context is an api_token or oauth.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_token_id_not": { - "description": "Filters out audit logs by the API token ID when the actor context is an api_token or oauth.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_token_name": { - "description": "Filters by the API token name when the actor context is an api_token or oauth.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_token_name_not": { - "description": "Filters out audit logs by the API token name when the actor context is an api_token or oauth.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_type": { - "description": "Filters by the actor type.", - "items": { - "enum": [ - "account", - "cloudflare_admin", - "delegated_service", - "system", - "user" - ], - "type": "string" - }, - "type": "array" - }, - "actor_type_not": { - "description": "Filters out audit logs by the actor type.", - "items": { - "enum": [ - "account", - "cloudflare_admin", - "delegated_service", - "system", - "user" - ], - "type": "string" - }, - "type": "array" - }, - "audit_log_id": { - "description": "Finds a specific log by its ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "audit_log_id_not": { - "description": "Filters out audit logs by their IDs.", - "items": { - "type": "string" - }, - "type": "array" - }, - "before": { - "description": "Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", - "format": "date", - "type": "string" - }, - "cursor": { - "description": "The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.", - "type": "string" - }, - "direction": { - "default": "desc", - "description": "Sets sorting order.", - "enum": [ - "desc", - "asc" + "path": { + "properties": { + "account_id": { + "description": "The unique id that identifies the account.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "id": { - "description": "Finds a specific log by its ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "id_not": { - "description": "Filters out audit logs by their IDs.", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 100, - "description": "The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", - "type": "number" - }, - "product_category": { - "description": "Filters audit logs by one or more predefined product categories. Each product category expands into a curated set of resource_product values and is unioned with any explicit resource_product filter. Matched case-insensitively; unknown product categories return 400. Repeatable. Use the audit log product categories endpoint to discover the available values.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_cf_ray_id": { - "description": "Filters by the response CF Ray ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_cf_ray_id_not": { - "description": "Filters out audit logs by the response CF Ray ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_method": { - "description": "The HTTP method for the API call.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_method_not": { - "description": "Filters out audit logs by the HTTP method for the API call.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_status_code": { - "description": "The response status code that was returned.", - "items": { - "type": "integer" - }, - "type": "array" - }, - "raw_status_code_not": { - "description": "Filters out audit logs by the response status code that was returned.", - "items": { - "type": "integer" - }, - "type": "array" - }, - "raw_uri": { - "description": "Filters by the request URI.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_uri_not": { - "description": "Filters out audit logs by the request URI.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_id": { - "description": "Filters by the resource ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_id_not": { - "description": "Filters out audit logs by the resource ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_product": { - "description": "Filters audit logs by the Cloudflare product associated with the changed resource.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_product_not": { - "description": "Filters out audit logs by the Cloudflare product associated with the changed resource.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_scope": { - "description": "Filters by the resource scope, specifying whether the resource is associated with an user, an account, a zone, or a membership.", - "items": { - "enum": [ - "accounts", - "user", - "zones", - "memberships" - ], - "type": "string" - }, - "type": "array" - }, - "resource_scope_not": { - "description": "Filters out audit logs by the resource scope, specifying whether the resource is associated with an user, an account, a zone, or a membership.", - "items": { - "enum": [ - "accounts", - "user", - "zones", - "memberships" - ], - "type": "string" - }, - "type": "array" - }, - "resource_type": { - "description": "Filters audit logs based on the unique type of resource changed by the action.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_type_not": { - "description": "Filters out audit logs based on the unique type of resource changed by the action.", - "items": { - "type": "string" - }, - "type": "array" - }, - "since": { - "description": "Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", - "format": "date", - "type": "string" - }, - "zone_id": { - "description": "Filters by the zone ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "zone_id_not": { - "description": "Filters out audit logs by the zone ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "zone_name": { - "description": "Filters by the zone name associated with the change.", - "items": { - "type": "string" - }, - "type": "array" - }, - "zone_name_not": { - "description": "Filters out audit logs by the zone name associated with the change.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" + }, + "query": { + "properties": { + "account_name": { + "description": "Filters by the account name.", + "items": { + "type": "string" + }, + "type": "array" + }, + "account_name.not": { + "description": "Filters out audit logs by the account name.", + "items": { + "type": "string" + }, + "type": "array" + }, + "action_result": { + "description": "Filters by whether the action was successful or not.", + "items": { + "enum": [ + "success", + "failure" + ], + "type": "string" + }, + "type": "array" + }, + "action_result.not": { + "description": "Filters out audit logs by whether the action was successful or not.", + "items": { + "enum": [ + "success", + "failure" + ], + "type": "string" + }, + "type": "array" + }, + "action_type": { + "description": "Filters by the action type.", + "items": { + "enum": [ + "create", + "delete", + "view", + "update" + ], + "type": "string" + }, + "type": "array" + }, + "action_type.not": { + "description": "Filters out audit logs by the action type.", + "items": { + "enum": [ + "create", + "delete", + "view", + "update" + ], + "type": "string" + }, + "type": "array" + }, + "actor_context": { + "description": "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", + "items": { + "enum": [ + "api", + "api_key", + "api_token", + "dash", + "oauth", + "origin_ca_key" + ], + "type": "string" + }, + "type": "array" + }, + "actor_context.not": { + "description": "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", + "items": { + "enum": [ + "api", + "api_key", + "api_token", + "dash", + "oauth", + "origin_ca_key" + ], + "type": "string" + }, + "type": "array" + }, + "actor_email": { + "description": "Filters by the actor's email address.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_email.not": { + "description": "Filters out audit logs by the actor's email address.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_id": { + "description": "Filters by the actor ID. This can be either the Account ID or User ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_id.not": { + "description": "Filters out audit logs by the actor ID. This can be either the Account ID or User ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_ip_address": { + "description": "The IP address where the action was initiated.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_ip_address.not": { + "description": "Filters out audit logs IP address where the action was initiated.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_token_id": { + "description": "Filters by the API token ID when the actor context is an api_token or oauth.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_token_id.not": { + "description": "Filters out audit logs by the API token ID when the actor context is an api_token or oauth.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_token_name": { + "description": "Filters by the API token name when the actor context is an api_token or oauth.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_token_name.not": { + "description": "Filters out audit logs by the API token name when the actor context is an api_token or oauth.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_type": { + "description": "Filters by the actor type.", + "items": { + "enum": [ + "account", + "cloudflare_admin", + "delegated_service", + "system", + "user" + ], + "type": "string" + }, + "type": "array" + }, + "actor_type.not": { + "description": "Filters out audit logs by the actor type.", + "items": { + "enum": [ + "account", + "cloudflare_admin", + "delegated_service", + "system", + "user" + ], + "type": "string" + }, + "type": "array" + }, + "audit_log_id": { + "description": "Finds a specific log by its ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "audit_log_id.not": { + "description": "Filters out audit logs by their IDs.", + "items": { + "type": "string" + }, + "type": "array" + }, + "before": { + "description": "Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", + "format": "date", + "type": "string" + }, + "cursor": { + "description": "The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.", + "type": "string" + }, + "direction": { + "default": "desc", + "description": "Sets sorting order.", + "enum": [ + "desc", + "asc" + ], + "type": "string" + }, + "id": { + "description": "Finds a specific log by its ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "id.not": { + "description": "Filters out audit logs by their IDs.", + "items": { + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 100, + "description": "The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", + "type": "number" + }, + "product_category": { + "description": "Filters audit logs by one or more predefined product categories. Each product category expands into a curated set of resource_product values and is unioned with any explicit resource_product filter. Matched case-insensitively; unknown product categories return 400. Repeatable. Use the audit log product categories endpoint to discover the available values.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_cf_ray_id": { + "description": "Filters by the response CF Ray ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_cf_ray_id.not": { + "description": "Filters out audit logs by the response CF Ray ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_method": { + "description": "The HTTP method for the API call.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_method.not": { + "description": "Filters out audit logs by the HTTP method for the API call.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_status_code": { + "description": "The response status code that was returned.", + "items": { + "type": "integer" + }, + "type": "array" + }, + "raw_status_code.not": { + "description": "Filters out audit logs by the response status code that was returned.", + "items": { + "type": "integer" + }, + "type": "array" + }, + "raw_uri": { + "description": "Filters by the request URI.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_uri.not": { + "description": "Filters out audit logs by the request URI.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_id": { + "description": "Filters by the resource ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_id.not": { + "description": "Filters out audit logs by the resource ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_product": { + "description": "Filters audit logs by the Cloudflare product associated with the changed resource.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_product.not": { + "description": "Filters out audit logs by the Cloudflare product associated with the changed resource.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_scope": { + "description": "Filters by the resource scope, specifying whether the resource is associated with an user, an account, a zone, or a membership.", + "items": { + "enum": [ + "accounts", + "user", + "zones", + "memberships" + ], + "type": "string" + }, + "type": "array" + }, + "resource_scope.not": { + "description": "Filters out audit logs by the resource scope, specifying whether the resource is associated with an user, an account, a zone, or a membership.", + "items": { + "enum": [ + "accounts", + "user", + "zones", + "memberships" + ], + "type": "string" + }, + "type": "array" + }, + "resource_type": { + "description": "Filters audit logs based on the unique type of resource changed by the action.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_type.not": { + "description": "Filters out audit logs based on the unique type of resource changed by the action.", + "items": { + "type": "string" + }, + "type": "array" + }, + "since": { + "description": "Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", + "format": "date", + "type": "string" + }, + "zone_id": { + "description": "Filters by the zone ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "zone_id.not": { + "description": "Filters out audit logs by the zone ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "zone_name": { + "description": "Filters by the zone name associated with the change.", + "items": { + "type": "string" + }, + "type": "array" + }, + "zone_name.not": { + "description": "Filters out audit logs by the zone name associated with the change.", + "items": { + "type": "string" + }, + "type": "array" + } + }, + "required": [ + "since", + "before" + ], + "type": "object" } }, required: [ - "account_id", - "since", - "before" + "path", + "query" ], }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-response-collection", $defs: { - "aaa_audit-log-action": aaa_audit_log_action_output, - "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, - "aaa_audit-log-raw": aaa_audit_log_raw_output, - "aaa_audit-logs-response-collection": aaa_audit_logs_response_collection_output, - "aaa_audit-logs-v2": aaa_audit_logs_v2_output, - "aaa_audit-logs-v2-response-collection": aaa_audit_logs_v2_response_collection_output, - "aaa_identifier-2": aaa_identifier_2_output, - "aaa_messages-2": aaa_messages_2_output, - "aaa_result_info": aaa_result_info_output, + "aaa_audit-log-action": aaa_audit$$log$$action, + "aaa_audit-log-actor-base": aaa_audit$$log$$actor$$base, + "aaa_audit-log-raw": aaa_audit$$log$$raw, + "aaa_audit-logs-response-collection": aaa_audit$$logs$$response$$collection, + "aaa_audit-logs-v2": aaa_audit$$logs$$v2, + "aaa_audit-logs-v2-response-collection": aaa_audit$$logs$$v2$$response$$collection, + "aaa_identifier-2": aaa_identifier$$2, + "aaa_messages-2": aaa_messages$$2, + "aaa_result_info": aaa_result_info, }, }, annotations: { @@ -627,97 +659,105 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, - "aaa_audit-log-action": aaa_audit_log_action_output, - "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, - "aaa_audit-log-raw": aaa_audit_log_raw_output, - "aaa_audit-logs-response-collection": aaa_audit_logs_response_collection_output, - "aaa_audit-logs-v2": aaa_audit_logs_v2_output, - "aaa_audit-logs-v2-response-collection": aaa_audit_logs_v2_response_collection_output, - "aaa_identifier-2": aaa_identifier_2_output, - "aaa_messages-2": aaa_messages_2_output, - "aaa_result_info": aaa_result_info_output, + "aaa_api-response-common-failure-2": aaa_api$$response$$common$$failure$$2, + "aaa_audit-log-action": aaa_audit$$log$$action, + "aaa_audit-log-actor-base": aaa_audit$$log$$actor$$base, + "aaa_audit-log-raw": aaa_audit$$log$$raw, + "aaa_audit-logs-response-collection": aaa_audit$$logs$$response$$collection, + "aaa_audit-logs-v2": aaa_audit$$logs$$v2, + "aaa_audit-logs-v2-response-collection": aaa_audit$$logs$$v2$$response$$collection, + "aaa_identifier-2": aaa_identifier$$2, + "aaa_messages-2": aaa_messages$$2, + "aaa_result_info": aaa_result_info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/audit`, query: [ - ["account_name", args["account_name"], true], - ["action_result", args["action_result"], true], - ["action_type", args["action_type"], true], - ["actor_context", args["actor_context"], true], - ["actor_email", args["actor_email"], true], - ["actor_id", args["actor_id"], true], - ["actor_ip_address", args["actor_ip_address"], true], - ["actor_token_id", args["actor_token_id"], true], - ["actor_token_name", args["actor_token_name"], true], - ["actor_type", args["actor_type"], true], - ["audit_log_id", args["audit_log_id"], true], - ["id", args["id"], true], - ["raw_cf_ray_id", args["raw_cf_ray_id"], true], - ["raw_method", args["raw_method"], true], - ["raw_status_code", args["raw_status_code"], true], - ["raw_uri", args["raw_uri"], true], - ["resource_id", args["resource_id"], true], - ["resource_product", args["resource_product"], true], - ["resource_type", args["resource_type"], true], - ["resource_scope", args["resource_scope"], true], - ["product_category", args["product_category"], true], - ["zone_id", args["zone_id"], true], - ["zone_name", args["zone_name"], true], - ["account_name.not", args["account_name_not"], true], - ["action_result.not", args["action_result_not"], true], - ["action_type.not", args["action_type_not"], true], - ["actor_context.not", args["actor_context_not"], true], - ["actor_email.not", args["actor_email_not"], true], - ["actor_id.not", args["actor_id_not"], true], - ["actor_ip_address.not", args["actor_ip_address_not"], true], - ["actor_token_id.not", args["actor_token_id_not"], true], - ["actor_token_name.not", args["actor_token_name_not"], true], - ["actor_type.not", args["actor_type_not"], true], - ["audit_log_id.not", args["audit_log_id_not"], true], - ["id.not", args["id_not"], true], - ["raw_cf_ray_id.not", args["raw_cf_ray_id_not"], true], - ["raw_method.not", args["raw_method_not"], true], - ["raw_status_code.not", args["raw_status_code_not"], true], - ["raw_uri.not", args["raw_uri_not"], true], - ["resource_id.not", args["resource_id_not"], true], - ["resource_product.not", args["resource_product_not"], true], - ["resource_type.not", args["resource_type_not"], true], - ["resource_scope.not", args["resource_scope_not"], true], - ["zone_id.not", args["zone_id_not"], true], - ["zone_name.not", args["zone_name_not"], true], - ["since", args["since"], true], - ["before", args["before"], true], - ["direction", args["direction"], true], - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["account_name", param(args, "query", "account_name"), true], + ["action_result", param(args, "query", "action_result"), true], + ["action_type", param(args, "query", "action_type"), true], + ["actor_context", param(args, "query", "actor_context"), true], + ["actor_email", param(args, "query", "actor_email"), true], + ["actor_id", param(args, "query", "actor_id"), true], + ["actor_ip_address", param(args, "query", "actor_ip_address"), true], + ["actor_token_id", param(args, "query", "actor_token_id"), true], + ["actor_token_name", param(args, "query", "actor_token_name"), true], + ["actor_type", param(args, "query", "actor_type"), true], + ["audit_log_id", param(args, "query", "audit_log_id"), true], + ["id", param(args, "query", "id"), true], + ["raw_cf_ray_id", param(args, "query", "raw_cf_ray_id"), true], + ["raw_method", param(args, "query", "raw_method"), true], + ["raw_status_code", param(args, "query", "raw_status_code"), true], + ["raw_uri", param(args, "query", "raw_uri"), true], + ["resource_id", param(args, "query", "resource_id"), true], + ["resource_product", param(args, "query", "resource_product"), true], + ["resource_type", param(args, "query", "resource_type"), true], + ["resource_scope", param(args, "query", "resource_scope"), true], + ["product_category", param(args, "query", "product_category"), true], + ["zone_id", param(args, "query", "zone_id"), true], + ["zone_name", param(args, "query", "zone_name"), true], + ["account_name.not", param(args, "query", "account_name.not"), true], + ["action_result.not", param(args, "query", "action_result.not"), true], + ["action_type.not", param(args, "query", "action_type.not"), true], + ["actor_context.not", param(args, "query", "actor_context.not"), true], + ["actor_email.not", param(args, "query", "actor_email.not"), true], + ["actor_id.not", param(args, "query", "actor_id.not"), true], + ["actor_ip_address.not", param(args, "query", "actor_ip_address.not"), true], + ["actor_token_id.not", param(args, "query", "actor_token_id.not"), true], + ["actor_token_name.not", param(args, "query", "actor_token_name.not"), true], + ["actor_type.not", param(args, "query", "actor_type.not"), true], + ["audit_log_id.not", param(args, "query", "audit_log_id.not"), true], + ["id.not", param(args, "query", "id.not"), true], + ["raw_cf_ray_id.not", param(args, "query", "raw_cf_ray_id.not"), true], + ["raw_method.not", param(args, "query", "raw_method.not"), true], + ["raw_status_code.not", param(args, "query", "raw_status_code.not"), true], + ["raw_uri.not", param(args, "query", "raw_uri.not"), true], + ["resource_id.not", param(args, "query", "resource_id.not"), true], + ["resource_product.not", param(args, "query", "resource_product.not"), true], + ["resource_type.not", param(args, "query", "resource_type.not"), true], + ["resource_scope.not", param(args, "query", "resource_scope.not"), true], + ["zone_id.not", param(args, "query", "zone_id.not"), true], + ["zone_name.not", param(args, "query", "zone_name.not"), true], + ["since", param(args, "query", "since"), true], + ["before", param(args, "query", "before"), true], + ["direction", param(args, "query", "direction"), true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, { - name: "accounts_logs_audit_product_categories", + name: "accounts_logs_audit_productCategories", title: "List account audit log product categories (Version 2)", description: "Lists the available audit log product categories and the resource products each one expands to. Use these values with the product_category filter on the account audit logs endpoint.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "The unique id that identifies the account.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "The unique id that identifies the account.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-product-categories-response-collection", $defs: { - "aaa_audit-logs-v2-product-categories-response-collection": aaa_audit_logs_v2_product_categories_response_collection_output, - "aaa_audit-logs-v2-product-category": aaa_audit_logs_v2_product_category_output, - "aaa_audit-logs-v2-product-category-item": aaa_audit_logs_v2_product_category_item_output, - "aaa_messages-2": aaa_messages_2_output, + "aaa_audit-logs-v2-product-categories-response-collection": aaa_audit$$logs$$v2$$product$$categories$$response$$collection, + "aaa_audit-logs-v2-product-category": aaa_audit$$logs$$v2$$product$$category, + "aaa_audit-logs-v2-product-category-item": aaa_audit$$logs$$v2$$product$$category$$item, + "aaa_messages-2": aaa_messages$$2, }, }, annotations: { @@ -751,11 +791,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, - "aaa_audit-logs-v2-product-categories-response-collection": aaa_audit_logs_v2_product_categories_response_collection_output, - "aaa_audit-logs-v2-product-category": aaa_audit_logs_v2_product_category_output, - "aaa_audit-logs-v2-product-category-item": aaa_audit_logs_v2_product_category_item_output, - "aaa_messages-2": aaa_messages_2_output, + "aaa_api-response-common-failure-2": aaa_api$$response$$common$$failure$$2, + "aaa_audit-logs-v2-product-categories-response-collection": aaa_audit$$logs$$v2$$product$$categories$$response$$collection, + "aaa_audit-logs-v2-product-category": aaa_audit$$logs$$v2$$product$$category, + "aaa_audit-logs-v2-product-category-item": aaa_audit$$logs$$v2$$product$$category$$item, + "aaa_messages-2": aaa_messages$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/members/outputs.ts b/src/generated/forge-mcp/accounts/members/outputs.ts index 28fc304c5..0ba209bb1 100644 --- a/src/generated/forge-mcp/accounts/members/outputs.ts +++ b/src/generated/forge-mcp/accounts/members/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_collection_member_response_with_policies` in responses. */ -export const iam_collection_member_response_with_policies_output: JsonSchema = { +export const iam_collection_member_response_with_policies: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -28,7 +28,7 @@ export const iam_collection_member_response_with_policies_output: JsonSchema = { /** * The schema of `iam_member_with_policies` in responses. */ -export const iam_member_with_policies_output: JsonSchema = { +export const iam_member_with_policies: JsonSchema = { "properties": { "email": { "$ref": "#/$defs/iam_email" @@ -85,7 +85,7 @@ export const iam_member_with_policies_output: JsonSchema = { /** * The schema of `iam_single_member_response_with_policies` in responses. */ -export const iam_single_member_response_with_policies_output: JsonSchema = { +export const iam_single_member_response_with_policies: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" diff --git a/src/generated/forge-mcp/accounts/members/schemas.ts b/src/generated/forge-mcp/accounts/members/schemas.ts index 45a12b4ea..f152ff6bb 100644 --- a/src/generated/forge-mcp/accounts/members/schemas.ts +++ b/src/generated/forge-mcp/accounts/members/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_create-member-with-policies`. */ -export const iam_create_member_with_policies: JsonSchema = { +export const iam_create$$member$$with$$policies: JsonSchema = { "description": "Add Member with Policies", "properties": { "email": { @@ -35,7 +35,7 @@ export const iam_create_member_with_policies: JsonSchema = { /** * The schema of `iam_create-member-with-roles`. */ -export const iam_create_member_with_roles: JsonSchema = { +export const iam_create$$member$$with$$roles: JsonSchema = { "description": "Add Member with Account Roles", "properties": { "email": { @@ -91,7 +91,7 @@ export const iam_create_member_policy: JsonSchema = { /** * The schema of `iam_member-invitation-status`. */ -export const iam_member_invitation_status: JsonSchema = { +export const iam_member$$invitation$$status: JsonSchema = { "description": "Status of the member invitation. If not provided during creation, defaults to 'pending'.\nChanging from 'accepted' back to 'pending' will trigger a replacement of the member resource in Terraform.\n", "enum": [ "accepted", @@ -159,7 +159,7 @@ export const iam_member_resource_groups: JsonSchema = { /** * The schema of `iam_update-member-with-policies`. */ -export const iam_update_member_with_policies: JsonSchema = { +export const iam_update$$member$$with$$policies: JsonSchema = { "description": "Update Member with Policies", "properties": { "policies": { @@ -179,7 +179,7 @@ export const iam_update_member_with_policies: JsonSchema = { /** * The schema of `iam_update-member-with-roles`. */ -export const iam_update_member_with_roles: JsonSchema = { +export const iam_update$$member$$with$$roles: JsonSchema = { "description": "Update Member with Account Roles", "properties": { "roles": { diff --git a/src/generated/forge-mcp/accounts/members/tools.ts b/src/generated/forge-mcp/accounts/members/tools.ts index 90194f067..5775e0f6c 100644 --- a/src/generated/forge-mcp/accounts/members/tools.ts +++ b/src/generated/forge-mcp/accounts/members/tools.ts @@ -1,68 +1,68 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - iam_access_output, - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_id_output, - iam_api_response_single_output, - iam_common_components_schemas_identifier_output, - iam_email_output, - iam_first_name_output, - iam_grants_output, - iam_last_name_output, - iam_list_member_policy_output, - iam_membership_components_schemas_identifier_output, - iam_messages_2_output, - iam_permission_group_output, - iam_permission_groups_output, - iam_permissions_output, - iam_policy_identifier_output, - iam_resource_group_output, - iam_resource_groups_output, - iam_result_info_output, - iam_scope_key_output, - iam_scope_object_key_output, - iam_scope_object_output, - iam_scope_output, - iam_two_factor_authentication_enabled_output, -} from "../../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { iam_access, - iam_account_identifier, - iam_common_components_schemas_identifier, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_api$$response$$single$$id, + iam_common_components$$schemas$$identifier, iam_email, + iam_first_name, iam_grants, - iam_membership_components_schemas_identifier, + iam_last_name, + iam_list_member_policy, + iam_membership_components$$schemas$$identifier, + iam_messages$$2, + iam_permission_group, + iam_permission_groups, iam_permissions, + iam_policy_identifier, + iam_resource_group, + iam_resource_groups, + iam_result_info, + iam_scope, + iam_scope_key, + iam_scope_object, + iam_scope_object_key, + iam_two_factor_authentication_enabled, +} from "../../outputs.js"; +import { + iam_access as iam_access$, + iam_account_identifier, + iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, + iam_email as iam_email$, + iam_grants as iam_grants$, + iam_membership_components$$schemas$$identifier as iam_membership_components$$schemas$$identifier$, + iam_permissions as iam_permissions$, } from "../../schemas.js"; import { - iam_role_components_schemas_identifier_output, - iam_role_output, + iam_role, + iam_role_components$$schemas$$identifier, } from "../outputs.js"; import { - iam_role, - iam_role_components_schemas_identifier, + iam_role as iam_role$, + iam_role_components$$schemas$$identifier as iam_role_components$$schemas$$identifier$, } from "../schemas.js"; import { - iam_collection_member_response_with_policies_output, - iam_member_with_policies_output, - iam_single_member_response_with_policies_output, + iam_collection_member_response_with_policies, + iam_member_with_policies, + iam_single_member_response_with_policies, } from "./outputs.js"; import { + iam_create$$member$$with$$policies, + iam_create$$member$$with$$roles, iam_create_member_policy, - iam_create_member_with_policies, - iam_create_member_with_roles, - iam_member_invitation_status, + iam_member$$invitation$$status, iam_member_permission_group, iam_member_permission_groups, iam_member_resource_group, iam_member_resource_groups, - iam_update_member_with_policies, - iam_update_member_with_roles, + iam_update$$member$$with$$policies, + iam_update$$member$$with$$roles, } from "./schemas.js"; /** @@ -76,10 +76,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "oneOf": [ { @@ -89,56 +85,68 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_create-member-with-policies" } ] + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "iam_access": iam_access, + "iam_access": iam_access$, "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_create-member-with-policies": iam_create_member_with_policies, - "iam_create-member-with-roles": iam_create_member_with_roles, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_create-member-with-policies": iam_create$$member$$with$$policies, + "iam_create-member-with-roles": iam_create$$member$$with$$roles, "iam_create_member_policy": iam_create_member_policy, - "iam_email": iam_email, - "iam_member-invitation-status": iam_member_invitation_status, + "iam_email": iam_email$, + "iam_member-invitation-status": iam_member$$invitation$$status, "iam_member_permission_group": iam_member_permission_group, "iam_member_permission_groups": iam_member_permission_groups, "iam_member_resource_group": iam_member_resource_group, "iam_member_resource_groups": iam_member_resource_groups, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_member_response_with_policies", $defs: { - "iam_access": iam_access_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_email": iam_email_output, - "iam_first_name": iam_first_name_output, - "iam_grants": iam_grants_output, - "iam_last_name": iam_last_name_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_member_with_policies": iam_member_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role": iam_role_output, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_member_response_with_policies": iam_single_member_response_with_policies_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_access": iam_access, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_email": iam_email, + "iam_first_name": iam_first_name, + "iam_grants": iam_grants, + "iam_last_name": iam_last_name, + "iam_list_member_policy": iam_list_member_policy, + "iam_member_with_policies": iam_member_with_policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role": iam_role, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_member_response_with_policies": iam_single_member_response_with_policies, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, annotations: { @@ -177,32 +185,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_email": iam_email_output, - "iam_first_name": iam_first_name_output, - "iam_grants": iam_grants_output, - "iam_last_name": iam_last_name_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_member_with_policies": iam_member_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role": iam_role_output, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_member_response_with_policies": iam_single_member_response_with_policies_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_access": iam_access, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_email": iam_email, + "iam_first_name": iam_first_name, + "iam_grants": iam_grants, + "iam_last_name": iam_last_name, + "iam_list_member_policy": iam_list_member_policy, + "iam_member_with_policies": iam_member_with_policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role": iam_role, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_member_response_with_policies": iam_single_member_response_with_policies, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, request: (args) => ({ @@ -217,32 +225,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "member_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "member_id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier", + "description": "Membership identifier tag." + } + }, + "required": [ + "account_id", + "member_id" + ], + "type": "object" } }, required: [ - "account_id", - "member_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -281,11 +297,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -299,53 +315,61 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "member_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "member_id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier", + "description": "Membership identifier tag." + } + }, + "required": [ + "account_id", + "member_id" + ], + "type": "object" } }, required: [ - "account_id", - "member_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_member_response_with_policies", $defs: { - "iam_access": iam_access_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_email": iam_email_output, - "iam_first_name": iam_first_name_output, - "iam_grants": iam_grants_output, - "iam_last_name": iam_last_name_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_member_with_policies": iam_member_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role": iam_role_output, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_member_response_with_policies": iam_single_member_response_with_policies_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_access": iam_access, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_email": iam_email, + "iam_first_name": iam_first_name, + "iam_grants": iam_grants, + "iam_last_name": iam_last_name, + "iam_list_member_policy": iam_list_member_policy, + "iam_member_with_policies": iam_member_with_policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role": iam_role, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_member_response_with_policies": iam_single_member_response_with_policies, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, annotations: { @@ -385,32 +409,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_email": iam_email_output, - "iam_first_name": iam_first_name_output, - "iam_grants": iam_grants_output, - "iam_last_name": iam_last_name_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_member_with_policies": iam_member_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role": iam_role_output, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_member_response_with_policies": iam_single_member_response_with_policies_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_access": iam_access, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_email": iam_email, + "iam_first_name": iam_first_name, + "iam_grants": iam_grants, + "iam_last_name": iam_last_name, + "iam_list_member_policy": iam_list_member_policy, + "iam_member_with_policies": iam_member_with_policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role": iam_role, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_member_response_with_policies": iam_single_member_response_with_policies, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, request: (args) => ({ @@ -424,86 +448,99 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order": { - "description": "Field to order results by.", - "enum": [ - "user.first_name", - "user.last_name", - "user.email", - "status" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "number" - }, - "status": { - "description": "A member's status in the account.", - "enum": [ - "accepted", - "pending", - "rejected" - ], - "type": "string" + "query": { + "properties": { + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "description": "Field to order results by.", + "enum": [ + "user.first_name", + "user.last_name", + "user.email", + "status" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "number" + }, + "status": { + "description": "A member's status in the account.", + "enum": [ + "accepted", + "pending", + "rejected" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_collection_member_response_with_policies", $defs: { - "iam_access": iam_access_output, - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_collection_member_response_with_policies": iam_collection_member_response_with_policies_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_email": iam_email_output, - "iam_first_name": iam_first_name_output, - "iam_grants": iam_grants_output, - "iam_last_name": iam_last_name_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_member_with_policies": iam_member_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_result_info": iam_result_info_output, - "iam_role": iam_role_output, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_access": iam_access, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_collection_member_response_with_policies": iam_collection_member_response_with_policies, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_email": iam_email, + "iam_first_name": iam_first_name, + "iam_grants": iam_grants, + "iam_last_name": iam_last_name, + "iam_list_member_policy": iam_list_member_policy, + "iam_member_with_policies": iam_member_with_policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_result_info": iam_result_info, + "iam_role": iam_role, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, annotations: { @@ -543,44 +580,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_collection_member_response_with_policies": iam_collection_member_response_with_policies_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_email": iam_email_output, - "iam_first_name": iam_first_name_output, - "iam_grants": iam_grants_output, - "iam_last_name": iam_last_name_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_member_with_policies": iam_member_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_result_info": iam_result_info_output, - "iam_role": iam_role_output, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_access": iam_access, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_collection_member_response_with_policies": iam_collection_member_response_with_policies, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_email": iam_email, + "iam_first_name": iam_first_name, + "iam_grants": iam_grants, + "iam_last_name": iam_last_name, + "iam_list_member_policy": iam_list_member_policy, + "iam_member_with_policies": iam_member_with_policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_result_info": iam_result_info, + "iam_role": iam_role, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/members`, query: [ - ["order", args["order"], true], - ["status", args["status"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], + ["order", param(args, "query", "order"), true], + ["status", param(args, "query", "status"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, @@ -591,10 +628,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "oneOf": [ { @@ -605,62 +638,74 @@ export const tools: readonly Tool[] = [ } ] }, - "member_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "member_id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier", + "description": "Membership identifier tag." + } + }, + "required": [ + "account_id", + "member_id" + ], + "type": "object" } }, required: [ - "account_id", - "member_id", + "path", "body" ], $defs: { - "iam_access": iam_access, + "iam_access": iam_access$, "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_create_member_policy": iam_create_member_policy, - "iam_grants": iam_grants, + "iam_grants": iam_grants$, "iam_member_permission_group": iam_member_permission_group, "iam_member_permission_groups": iam_member_permission_groups, "iam_member_resource_group": iam_member_resource_group, "iam_member_resource_groups": iam_member_resource_groups, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier, - "iam_permissions": iam_permissions, - "iam_role": iam_role, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier, - "iam_update-member-with-policies": iam_update_member_with_policies, - "iam_update-member-with-roles": iam_update_member_with_roles, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, + "iam_permissions": iam_permissions$, + "iam_role": iam_role$, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier$, + "iam_update-member-with-policies": iam_update$$member$$with$$policies, + "iam_update-member-with-roles": iam_update$$member$$with$$roles, }, }, outputSchema: { "$ref": "#/$defs/iam_single_member_response_with_policies", $defs: { - "iam_access": iam_access_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_email": iam_email_output, - "iam_first_name": iam_first_name_output, - "iam_grants": iam_grants_output, - "iam_last_name": iam_last_name_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_member_with_policies": iam_member_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role": iam_role_output, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_member_response_with_policies": iam_single_member_response_with_policies_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_access": iam_access, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_email": iam_email, + "iam_first_name": iam_first_name, + "iam_grants": iam_grants, + "iam_last_name": iam_last_name, + "iam_list_member_policy": iam_list_member_policy, + "iam_member_with_policies": iam_member_with_policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role": iam_role, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_member_response_with_policies": iam_single_member_response_with_policies, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, annotations: { @@ -699,32 +744,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_email": iam_email_output, - "iam_first_name": iam_first_name_output, - "iam_grants": iam_grants_output, - "iam_last_name": iam_last_name_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_member_with_policies": iam_member_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role": iam_role_output, - "iam_role_components-schemas-identifier": iam_role_components_schemas_identifier_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_member_response_with_policies": iam_single_member_response_with_policies_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, + "iam_access": iam_access, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_email": iam_email, + "iam_first_name": iam_first_name, + "iam_grants": iam_grants, + "iam_last_name": iam_last_name, + "iam_list_member_policy": iam_list_member_policy, + "iam_member_with_policies": iam_member_with_policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role": iam_role, + "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_member_response_with_policies": iam_single_member_response_with_policies, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/organizations/tools.ts b/src/generated/forge-mcp/accounts/organizations/tools.ts index 1cf038160..6323d1845 100644 --- a/src/generated/forge-mcp/accounts/organizations/tools.ts +++ b/src/generated/forge-mcp/accounts/organizations/tools.ts @@ -3,12 +3,12 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - organizations_api_OrganizationFlags_output, - organizations_api_OrganizationID_output, - organizations_api_Organization_output, - organizations_api_Profile_output, - organizations_api_V4ErrorResponse_output, - organizations_api_V4Message_output, + organizations$$api_Organization, + organizations$$api_OrganizationFlags, + organizations$$api_OrganizationID, + organizations$$api_Profile, + organizations$$api_V4ErrorResponse, + organizations$$api_V4Message, } from "../../outputs.js"; /** @@ -22,12 +22,20 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -66,11 +74,11 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -133,12 +141,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/outputs.ts b/src/generated/forge-mcp/accounts/outputs.ts index a9803e1ae..7216ff8c8 100644 --- a/src/generated/forge-mcp/accounts/outputs.ts +++ b/src/generated/forge-mcp/accounts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `alexandria_api-response-collection` in responses. */ -export const alexandria_api_response_collection_output: JsonSchema = { +export const alexandria_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/alexandria_api-response-common" @@ -45,7 +45,7 @@ export const alexandria_api_response_collection_output: JsonSchema = { /** * The schema of `alexandria_api-response-common` in responses. */ -export const alexandria_api_response_common_output: JsonSchema = { +export const alexandria_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/alexandria_messages" @@ -71,7 +71,7 @@ export const alexandria_api_response_common_output: JsonSchema = { /** * The schema of `alexandria_api_response_common_failure` in responses. */ -export const alexandria_api_response_common_failure_output: JsonSchema = { +export const alexandria_api_response_common_failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/alexandria_messages" @@ -101,14 +101,14 @@ export const alexandria_api_response_common_failure_output: JsonSchema = { /** * The schema of `alexandria_category_id` in responses. */ -export const alexandria_category_id_output: JsonSchema = { +export const alexandria_category_id: JsonSchema = { "type": "integer" }; /** * The schema of `alexandria_messages` in responses. */ -export const alexandria_messages_output: JsonSchema = { +export const alexandria_messages: JsonSchema = { "items": { "properties": { "code": { @@ -141,7 +141,7 @@ export const alexandria_messages_output: JsonSchema = { /** * The schema of `iam_account` in responses. */ -export const iam_account_output: JsonSchema = { +export const iam_account: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -196,7 +196,7 @@ export const iam_account_output: JsonSchema = { /** * The schema of `iam_response_collection_accounts` in responses. */ -export const iam_response_collection_accounts_output: JsonSchema = { +export const iam_response_collection_accounts: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -218,7 +218,7 @@ export const iam_response_collection_accounts_output: JsonSchema = { /** * The schema of `iam_response_single_account` in responses. */ -export const iam_response_single_account_output: JsonSchema = { +export const iam_response_single_account: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -237,7 +237,7 @@ export const iam_response_single_account_output: JsonSchema = { /** * The schema of `iam_role` in responses. */ -export const iam_role_output: JsonSchema = { +export const iam_role: JsonSchema = { "properties": { "description": { "type": "string" @@ -264,14 +264,14 @@ export const iam_role_output: JsonSchema = { /** * The schema of `iam_role_components-schemas-identifier` in responses. */ -export const iam_role_components_schemas_identifier_output: JsonSchema = { +export const iam_role_components$$schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `organizations-api_MoveAccountResult` in responses. */ -export const organizations_api_MoveAccountResult_output: JsonSchema = { +export const organizations$$api_MoveAccountResult: JsonSchema = { "properties": { "account_id": { "type": "string" diff --git a/src/generated/forge-mcp/accounts/profile/tools.ts b/src/generated/forge-mcp/accounts/profile/tools.ts index bca563e8a..81774d427 100644 --- a/src/generated/forge-mcp/accounts/profile/tools.ts +++ b/src/generated/forge-mcp/accounts/profile/tools.ts @@ -3,11 +3,11 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - organizations_api_Profile_output, - organizations_api_V4ErrorResponse_output, - organizations_api_V4Message_output, + organizations$$api_Profile, + organizations$$api_V4ErrorResponse, + organizations$$api_V4Message, } from "../../outputs.js"; -import { organizations_api_ModifyProfileRequest } from "../../schemas.js"; +import { organizations$$api_ModifyProfileRequest } from "../../schemas.js"; /** * The tools of `accounts.profile`. @@ -20,13 +20,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "The ID of the account whose business profile to retrieve.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "The ID of the account whose business profile to retrieve.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -62,8 +70,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -123,9 +131,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ @@ -139,20 +147,28 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "The ID of the account whose business profile to update.", - "type": "string" - }, "body": { "$ref": "#/$defs/organizations-api_ModifyProfileRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "The ID of the account whose business profile to update.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "organizations-api_ModifyProfileRequest": organizations_api_ModifyProfileRequest, + "organizations-api_ModifyProfileRequest": organizations$$api_ModifyProfileRequest, }, }, annotations: { @@ -180,8 +196,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/schemas.ts b/src/generated/forge-mcp/accounts/schemas.ts index 8b8adac91..5eea0ea79 100644 --- a/src/generated/forge-mcp/accounts/schemas.ts +++ b/src/generated/forge-mcp/accounts/schemas.ts @@ -58,7 +58,7 @@ export const iam_account: JsonSchema = { /** * The schema of `iam_components-schemas-account`. */ -export const iam_components_schemas_account: JsonSchema = { +export const iam_components$$schemas$$account: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_account" @@ -78,7 +78,7 @@ export const iam_components_schemas_account: JsonSchema = { /** * The schema of `iam_create-account`. */ -export const iam_create_account: JsonSchema = { +export const iam_create$$account: JsonSchema = { "description": "Create Account", "properties": { "name": { @@ -135,7 +135,7 @@ export const iam_role: JsonSchema = { /** * The schema of `iam_role_components-schemas-identifier`. */ -export const iam_role_components_schemas_identifier: JsonSchema = { +export const iam_role_components$$schemas$$identifier: JsonSchema = { "description": "Role identifier tag.", "type": "string" }; diff --git a/src/generated/forge-mcp/accounts/subscriptions/outputs.ts b/src/generated/forge-mcp/accounts/subscriptions/outputs.ts index 4db26e466..13d0fe9d5 100644 --- a/src/generated/forge-mcp/accounts/subscriptions/outputs.ts +++ b/src/generated/forge-mcp/accounts/subscriptions/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `bill-subs-api_account_subscription_response_collection` in * responses. */ -export const bill_subs_api_account_subscription_response_collection_output: JsonSchema = { +export const bill$$subs$$api_account_subscription_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-collection" @@ -30,7 +30,7 @@ export const bill_subs_api_account_subscription_response_collection_output: Json * The schema of `bill-subs-api_account_subscription_response_single` in * responses. */ -export const bill_subs_api_account_subscription_response_single_output: JsonSchema = { +export const bill$$subs$$api_account_subscription_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" @@ -49,7 +49,7 @@ export const bill_subs_api_account_subscription_response_single_output: JsonSche /** * The schema of `bill-subs-api_cancel_reason` in responses. */ -export const bill_subs_api_cancel_reason_output: JsonSchema = { +export const bill$$subs$$api_cancel_reason: JsonSchema = { "properties": { "id": { "type": "string" @@ -77,7 +77,7 @@ export const bill_subs_api_cancel_reason_output: JsonSchema = { /** * The schema of `bill-subs-api_cancel_reason_response_single` in responses. */ -export const bill_subs_api_cancel_reason_response_single_output: JsonSchema = { +export const bill$$subs$$api_cancel_reason_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" diff --git a/src/generated/forge-mcp/accounts/subscriptions/schemas.ts b/src/generated/forge-mcp/accounts/subscriptions/schemas.ts index a0ceb6fa0..fdea36e48 100644 --- a/src/generated/forge-mcp/accounts/subscriptions/schemas.ts +++ b/src/generated/forge-mcp/accounts/subscriptions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bill-subs-api_cancel_reason_request`. */ -export const bill_subs_api_cancel_reason_request: JsonSchema = { +export const bill$$subs$$api_cancel_reason_request: JsonSchema = { "properties": { "other": { "description": "Additional cancellation details.", diff --git a/src/generated/forge-mcp/accounts/subscriptions/tools.ts b/src/generated/forge-mcp/accounts/subscriptions/tools.ts index c82ebbd10..f2fd81e5a 100644 --- a/src/generated/forge-mcp/accounts/subscriptions/tools.ts +++ b/src/generated/forge-mcp/accounts/subscriptions/tools.ts @@ -3,62 +3,58 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - bill_subs_api_api_response_collection_output, - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_api_response_single_output, - bill_subs_api_component_value_output, - bill_subs_api_component_values_output, - bill_subs_api_currency_output, - bill_subs_api_current_period_end_output, - bill_subs_api_current_period_start_output, - bill_subs_api_frequency_output, - bill_subs_api_identifier_output, - bill_subs_api_install_id_output, - bill_subs_api_messages_output, - bill_subs_api_name_output, - bill_subs_api_price_output, - bill_subs_api_rate_plan_output, - bill_subs_api_result_info_output, - bill_subs_api_schemas_identifier_output, - bill_subs_api_state_output, - bill_subs_api_subscription_output, - bill_subs_api_zone_output, + bill$$subs$$api_api$$response$$collection, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_api$$response$$single, + bill$$subs$$api_component_value, + bill$$subs$$api_component_values, + bill$$subs$$api_currency, + bill$$subs$$api_current_period_end, + bill$$subs$$api_current_period_start, + bill$$subs$$api_frequency, + bill$$subs$$api_identifier, + bill$$subs$$api_install_id, + bill$$subs$$api_messages, + bill$$subs$$api_name, + bill$$subs$$api_price, + bill$$subs$$api_rate_plan, + bill$$subs$$api_result_info, + bill$$subs$$api_schemas$$identifier, + bill$$subs$$api_state, + bill$$subs$$api_subscription, + bill$$subs$$api_zone, } from "../../outputs.js"; import { - bill_subs_api_component_value, - bill_subs_api_component_values, - bill_subs_api_frequency, - bill_subs_api_identifier, - bill_subs_api_install_id, - bill_subs_api_rate_plan, - bill_subs_api_schemas_identifier, - bill_subs_api_subscription_v2, - bill_subs_api_zone, + bill$$subs$$api_component_value as bill$$subs$$api_component_value$, + bill$$subs$$api_component_values as bill$$subs$$api_component_values$, + bill$$subs$$api_frequency as bill$$subs$$api_frequency$, + bill$$subs$$api_identifier as bill$$subs$$api_identifier$, + bill$$subs$$api_install_id as bill$$subs$$api_install_id$, + bill$$subs$$api_rate_plan as bill$$subs$$api_rate_plan$, + bill$$subs$$api_schemas$$identifier as bill$$subs$$api_schemas$$identifier$, + bill$$subs$$api_subscription$$v2, + bill$$subs$$api_zone as bill$$subs$$api_zone$, } from "../../schemas.js"; import { - bill_subs_api_account_subscription_response_collection_output, - bill_subs_api_account_subscription_response_single_output, - bill_subs_api_cancel_reason_output, - bill_subs_api_cancel_reason_response_single_output, + bill$$subs$$api_account_subscription_response_collection, + bill$$subs$$api_account_subscription_response_single, + bill$$subs$$api_cancel_reason, + bill$$subs$$api_cancel_reason_response_single, } from "./outputs.js"; -import { bill_subs_api_cancel_reason_request } from "./schemas.js"; +import { bill$$subs$$api_cancel_reason_request } from "./schemas.js"; /** * The tools of `accounts.subscriptions`. */ export const tools: readonly Tool[] = [ { - name: "accounts_subscriptions_cancel_delayed_downgrade", + name: "accounts_subscriptions_cancelDelayedDowngrade", title: "Cancel Delayed Downgrade", description: "Cancels pending delayed downgrades for the specified subscriptions.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "properties": { "subscription_ids": { @@ -70,14 +66,26 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, }, }, annotations: { @@ -116,10 +124,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -134,60 +142,68 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/bill-subs-api_subscription-v2" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "bill-subs-api_component_value": bill_subs_api_component_value, - "bill-subs-api_component_values": bill_subs_api_component_values, - "bill-subs-api_frequency": bill_subs_api_frequency, - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_install_id": bill_subs_api_install_id, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2, - "bill-subs-api_zone": bill_subs_api_zone, + "bill-subs-api_component_value": bill$$subs$$api_component_value$, + "bill-subs-api_component_values": bill$$subs$$api_component_values$, + "bill-subs-api_frequency": bill$$subs$$api_frequency$, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, + "bill-subs-api_install_id": bill$$subs$$api_install_id$, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, + "bill-subs-api_zone": bill$$subs$$api_zone$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_subscription_response_single", $defs: { - "bill-subs-api_account_subscription_response_single": bill_subs_api_account_subscription_response_single_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_account_subscription_response_single": bill$$subs$$api_account_subscription_response_single, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, annotations: { @@ -226,26 +242,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_account_subscription_response_single": bill_subs_api_account_subscription_response_single_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_account_subscription_response_single": bill$$subs$$api_account_subscription_response_single, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, request: (args) => ({ @@ -254,43 +270,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_subscriptions_create_cancel_reason", + name: "accounts_subscriptions_createCancelReason", title: "Create Cancel Reason", description: "Records a cancellation reason for an account subscription.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/bill-subs-api_cancel_reason_request" }, - "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "subscription_identifier": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier", + "description": "Subscription identifier tag." + } + }, + "required": [ + "account_id", + "subscription_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "subscription_identifier", + "path", "body" ], $defs: { - "bill-subs-api_cancel_reason_request": bill_subs_api_cancel_reason_request, - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier, + "bill-subs-api_cancel_reason_request": bill$$subs$$api_cancel_reason_request, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_cancel_reason_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_cancel_reason": bill_subs_api_cancel_reason_output, - "bill-subs-api_cancel_reason_response_single": bill_subs_api_cancel_reason_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_cancel_reason": bill$$subs$$api_cancel_reason, + "bill-subs-api_cancel_reason_response_single": bill$$subs$$api_cancel_reason_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -328,12 +352,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_cancel_reason": bill_subs_api_cancel_reason_output, - "bill-subs-api_cancel_reason_response_single": bill_subs_api_cancel_reason_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_cancel_reason": bill$$subs$$api_cancel_reason, + "bill-subs-api_cancel_reason_response_single": bill$$subs$$api_cancel_reason_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -348,22 +372,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, - "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "subscription_identifier": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier", + "description": "Subscription identifier tag." + } + }, + "required": [ + "account_id", + "subscription_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "subscription_identifier" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, }, }, outputSchema: { @@ -386,10 +418,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, annotations: { @@ -438,11 +470,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, request: (args) => ({ @@ -456,50 +488,58 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_subscription_response_collection", $defs: { - "bill-subs-api_account_subscription_response_collection": bill_subs_api_account_subscription_response_collection_output, - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_account_subscription_response_collection": bill$$subs$$api_account_subscription_response_collection, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_result_info": bill$$subs$$api_result_info, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, annotations: { @@ -538,27 +578,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_account_subscription_response_collection": bill_subs_api_account_subscription_response_collection_output, - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_account_subscription_response_collection": bill$$subs$$api_account_subscription_response_collection, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_result_info": bill$$subs$$api_result_info, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, request: (args) => ({ @@ -566,52 +606,60 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_subscriptions_get_by_identifier", + name: "accounts_subscriptions_getByIdentifier", title: "Get Subscription", description: "Gets an account subscription by identifier.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, - "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "subscription_identifier": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier", + "description": "Subscription identifier tag." + } + }, + "required": [ + "account_id", + "subscription_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "subscription_identifier" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_subscription_response_single", $defs: { - "bill-subs-api_account_subscription_response_single": bill_subs_api_account_subscription_response_single_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_account_subscription_response_single": bill$$subs$$api_account_subscription_response_single, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, annotations: { @@ -653,26 +701,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_account_subscription_response_single": bill_subs_api_account_subscription_response_single_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_account_subscription_response_single": bill$$subs$$api_account_subscription_response_single, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, request: (args) => ({ @@ -680,38 +728,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_subscriptions_get_cancel_reason", + name: "accounts_subscriptions_getCancelReason", title: "Get Cancel Reason", description: "Gets the cancellation reason for an account subscription.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, - "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "subscription_identifier": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier", + "description": "Subscription identifier tag." + } + }, + "required": [ + "account_id", + "subscription_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "subscription_identifier" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_cancel_reason_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_cancel_reason": bill_subs_api_cancel_reason_output, - "bill-subs-api_cancel_reason_response_single": bill_subs_api_cancel_reason_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_cancel_reason": bill$$subs$$api_cancel_reason, + "bill-subs-api_cancel_reason_response_single": bill$$subs$$api_cancel_reason_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -741,12 +797,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_cancel_reason": bill_subs_api_cancel_reason_output, - "bill-subs-api_cancel_reason_response_single": bill_subs_api_cancel_reason_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_cancel_reason": bill$$subs$$api_cancel_reason, + "bill-subs-api_cancel_reason_response_single": bill$$subs$$api_cancel_reason_response_single, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -760,57 +816,65 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/bill-subs-api_subscription-v2" }, - "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "subscription_identifier": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier", + "description": "Subscription identifier tag." + } + }, + "required": [ + "account_id", + "subscription_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "subscription_identifier", + "path", "body" ], $defs: { - "bill-subs-api_component_value": bill_subs_api_component_value, - "bill-subs-api_component_values": bill_subs_api_component_values, - "bill-subs-api_frequency": bill_subs_api_frequency, - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_install_id": bill_subs_api_install_id, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2, - "bill-subs-api_zone": bill_subs_api_zone, + "bill-subs-api_component_value": bill$$subs$$api_component_value$, + "bill-subs-api_component_values": bill$$subs$$api_component_values$, + "bill-subs-api_frequency": bill$$subs$$api_frequency$, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, + "bill-subs-api_install_id": bill$$subs$$api_install_id$, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, + "bill-subs-api_zone": bill$$subs$$api_zone$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_subscription_response_single", $defs: { - "bill-subs-api_account_subscription_response_single": bill_subs_api_account_subscription_response_single_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_account_subscription_response_single": bill$$subs$$api_account_subscription_response_single, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, annotations: { @@ -849,26 +913,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_account_subscription_response_single": bill_subs_api_account_subscription_response_single_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_account_subscription_response_single": bill$$subs$$api_account_subscription_response_single, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts b/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts index 6b317458a..126a77e4a 100644 --- a/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts +++ b/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts @@ -1,60 +1,73 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_messages_2_output, - iam_permissions_group_response_collection_output, - iam_result_info_output, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_messages$$2, + iam_permissions_group_response_collection, + iam_result_info, } from "../../../outputs.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier, } from "../../../schemas.js"; /** - * The tools of `accounts.tokens.permission_groups`. + * The tools of `accounts.tokens.permissionGroups`. */ export const tools: readonly Tool[] = [ { - name: "accounts_tokens_permission_groups_list", + name: "accounts_tokens_permissionGroups_list", title: "List Permission Groups", description: "Find all available permission groups for Account Owned API Tokens.\nEach permission group indicates whether the caller can select it when\ncreating a token. Token creation performs the authoritative permission\ncheck.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "name": { - "description": "Filter by the name of the permission group.\nThe value must be URL-encoded.", - "type": "string" - }, - "scope": { - "description": "Filter by the scope of the permission group.\nThe value must be URL-encoded.", - "type": "string" + "query": { + "properties": { + "name": { + "description": "Filter by the name of the permission group.\nThe value must be URL-encoded.", + "type": "string" + }, + "scope": { + "description": "Filter by the scope of the permission group.\nThe value must be URL-encoded.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_permissions_group_response_collection", $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_messages-2": iam_messages_2_output, - "iam_permissions_group_response_collection": iam_permissions_group_response_collection_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_messages-2": iam_messages$$2, + "iam_permissions_group_response_collection": iam_permissions_group_response_collection, + "iam_result_info": iam_result_info, }, }, annotations: { @@ -93,19 +106,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_messages-2": iam_messages_2_output, - "iam_permissions_group_response_collection": iam_permissions_group_response_collection_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_messages-2": iam_messages$$2, + "iam_permissions_group_response_collection": iam_permissions_group_response_collection, + "iam_result_info": iam_result_info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens/permission_groups`, query: [ - ["name", args["name"], true], - ["scope", args["scope"], true], + ["name", param(args, "query", "name"), true], + ["scope", param(args, "query", "scope"), true], ], }), }, diff --git a/src/generated/forge-mcp/accounts/tokens/tools.ts b/src/generated/forge-mcp/accounts/tokens/tools.ts index 69abd4590..aaa0bccf5 100644 --- a/src/generated/forge-mcp/accounts/tokens/tools.ts +++ b/src/generated/forge-mcp/accounts/tokens/tools.ts @@ -1,71 +1,71 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_id_output, - iam_api_response_single_output, - iam_cidr_list_output, - iam_collection_tokens_response_output, - iam_common_components_schemas_identifier_output, - iam_condition_output, - iam_creator_email_at_creation_output, - iam_effect_output, - iam_expires_on_output, - iam_issued_on_output, - iam_last_used_on_output, - iam_messages_2_output, - iam_modified_on_output, - iam_name_output, - iam_not_before_output, - iam_permission_group_output, - iam_permission_groups_output, - iam_policy_identifier_output, - iam_policy_with_permission_groups_and_resources_output, - iam_provisioner_id_output, - iam_provisioner_type_output, - iam_request_ip_output, - iam_resources_output, - iam_resources_type_object_nested_output, - iam_resources_type_object_string_output, - iam_response_single_value_output, - iam_result_info_output, - iam_single_token_create_response_output, - iam_single_token_response_output, - iam_token_base_output, - iam_token_identifier_output, - iam_token_policies_output, - iam_token_prefix_output, - iam_token_status_output, - iam_token_suffix_output, - iam_token_verify_response_single_segment_output, - iam_token_with_value_output, - iam_value_output, -} from "../../outputs.js"; -import { - iam_account_identifier, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_api$$response$$single$$id, iam_cidr_list, - iam_common_components_schemas_identifier, + iam_collection_tokens_response, + iam_common_components$$schemas$$identifier, iam_condition, - iam_create_payload, + iam_creator_email_at_creation, iam_effect, iam_expires_on, + iam_issued_on, + iam_last_used_on, + iam_messages$$2, + iam_modified_on, iam_name, iam_not_before, iam_permission_group, iam_permission_groups, + iam_policy_identifier, iam_policy_with_permission_groups_and_resources, + iam_provisioner_id, + iam_provisioner_type, iam_request_ip, iam_resources, iam_resources_type_object_nested, iam_resources_type_object_string, - iam_token_body, + iam_response_single_value, + iam_result_info, + iam_single_token_create_response, + iam_single_token_response, + iam_token_base, iam_token_identifier, iam_token_policies, + iam_token_prefix, iam_token_status, + iam_token_suffix, + iam_token_verify_response_single_segment, + iam_token_with_value, + iam_value, +} from "../../outputs.js"; +import { + iam_account_identifier, + iam_cidr_list as iam_cidr_list$, + iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, + iam_condition as iam_condition$, + iam_create_payload, + iam_effect as iam_effect$, + iam_expires_on as iam_expires_on$, + iam_name as iam_name$, + iam_not_before as iam_not_before$, + iam_permission_group as iam_permission_group$, + iam_permission_groups as iam_permission_groups$, + iam_policy_with_permission_groups_and_resources as iam_policy_with_permission_groups_and_resources$, + iam_request_ip as iam_request_ip$, + iam_resources as iam_resources$, + iam_resources_type_object_nested as iam_resources_type_object_nested$, + iam_resources_type_object_string as iam_resources_type_object_string$, + iam_token_body, + iam_token_identifier as iam_token_identifier$, + iam_token_policies as iam_token_policies$, + iam_token_status as iam_token_status$, } from "../../schemas.js"; /** @@ -79,72 +79,80 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_create_payload" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, + "iam_cidr_list": iam_cidr_list$, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_condition": iam_condition$, + "iam_create_payload": iam_create_payload, + "iam_effect": iam_effect$, + "iam_expires_on": iam_expires_on$, + "iam_name": iam_name$, + "iam_not_before": iam_not_before$, + "iam_permission_group": iam_permission_group$, + "iam_permission_groups": iam_permission_groups$, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources$, + "iam_request_ip": iam_request_ip$, + "iam_resources": iam_resources$, + "iam_resources_type_object_nested": iam_resources_type_object_nested$, + "iam_resources_type_object_string": iam_resources_type_object_string$, + "iam_token_policies": iam_token_policies$, + }, + }, + outputSchema: { + "$ref": "#/$defs/iam_single_token_create_response", + $defs: { + "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, "iam_condition": iam_condition, - "iam_create_payload": iam_create_payload, + "iam_creator_email_at_creation": iam_creator_email_at_creation, "iam_effect": iam_effect, "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, "iam_name": iam_name, "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_create_response": iam_single_token_create_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - }, - }, - outputSchema: { - "$ref": "#/$defs/iam_single_token_create_response", - $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_create_response": iam_single_token_create_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, - "iam_token_with_value": iam_token_with_value_output, - "iam_value": iam_value_output, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, + "iam_token_with_value": iam_token_with_value, + "iam_value": iam_value, }, }, annotations: { @@ -182,38 +190,38 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_create_response": iam_single_token_create_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, - "iam_token_with_value": iam_token_with_value_output, - "iam_value": iam_value_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_cidr_list": iam_cidr_list, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_create_response": iam_single_token_create_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, + "iam_token_with_value": iam_token_with_value, + "iam_value": iam_value, }, }, request: (args) => ({ @@ -228,32 +236,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "token_id": { + "$ref": "#/$defs/iam_token_identifier", + "description": "Token identifier tag." + } + }, + "required": [ + "account_id", + "token_id" + ], + "type": "object" } }, required: [ - "account_id", - "token_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_token_identifier": iam_token_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_token_identifier": iam_token_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -291,11 +307,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -309,57 +325,65 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "token_id": { + "$ref": "#/$defs/iam_token_identifier", + "description": "Token identifier tag." + } + }, + "required": [ + "account_id", + "token_id" + ], + "type": "object" } }, required: [ - "account_id", - "token_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_token_identifier": iam_token_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_token_identifier": iam_token_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_token_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_response": iam_single_token_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_cidr_list": iam_cidr_list, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_response": iam_single_token_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -398,36 +422,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_response": iam_single_token_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_cidr_list": iam_cidr_list, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_response": iam_single_token_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -441,76 +465,89 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "include_expired": { - "default": false, - "description": "When true, includes recently-expired tokens in the response.", - "type": "boolean" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "number" + "query": { + "properties": { + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "include_expired": { + "default": false, + "description": "When true, includes recently-expired tokens in the response.", + "type": "boolean" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_collection_tokens_response", $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_collection_tokens_response": iam_collection_tokens_response_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_result_info": iam_result_info_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_cidr_list": iam_cidr_list, + "iam_collection_tokens_response": iam_collection_tokens_response, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_result_info": iam_result_info, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -550,47 +587,47 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_collection_tokens_response": iam_collection_tokens_response_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_result_info": iam_result_info_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_cidr_list": iam_cidr_list, + "iam_collection_tokens_response": iam_collection_tokens_response, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_result_info": iam_result_info, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tokens`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], - ["include_expired", args["include_expired"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], + ["include_expired", param(args, "query", "include_expired"), true], ], }), }, @@ -601,32 +638,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "token_id": { + "$ref": "#/$defs/iam_token_identifier", + "description": "Token identifier tag." + } + }, + "required": [ + "account_id", + "token_id" + ], + "type": "object" } }, required: [ - "account_id", - "token_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_token_identifier": iam_token_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_token_identifier": iam_token_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_response_single_value", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_value": iam_response_single_value_output, - "iam_value": iam_value_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_response_single_value": iam_response_single_value, + "iam_value": iam_value, }, }, annotations: { @@ -664,11 +709,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_value": iam_response_single_value_output, - "iam_value": iam_value_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_response_single_value": iam_response_single_value, + "iam_value": iam_value, }, }, request: (args) => ({ @@ -682,77 +727,85 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_token_body" }, - "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "token_id": { + "$ref": "#/$defs/iam_token_identifier", + "description": "Token identifier tag." + } + }, + "required": [ + "account_id", + "token_id" + ], + "type": "object" } }, required: [ - "account_id", - "token_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, + "iam_cidr_list": iam_cidr_list$, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_condition": iam_condition$, + "iam_effect": iam_effect$, + "iam_expires_on": iam_expires_on$, + "iam_name": iam_name$, + "iam_not_before": iam_not_before$, + "iam_permission_group": iam_permission_group$, + "iam_permission_groups": iam_permission_groups$, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources$, + "iam_request_ip": iam_request_ip$, + "iam_resources": iam_resources$, + "iam_resources_type_object_nested": iam_resources_type_object_nested$, + "iam_resources_type_object_string": iam_resources_type_object_string$, + "iam_token_body": iam_token_body, + "iam_token_identifier": iam_token_identifier$, + "iam_token_policies": iam_token_policies$, + "iam_token_status": iam_token_status$, + }, + }, + outputSchema: { + "$ref": "#/$defs/iam_single_token_response", + $defs: { + "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, "iam_effect": iam_effect, "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, "iam_name": iam_name, "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, - "iam_token_body": iam_token_body, + "iam_single_token_response": iam_single_token_response, + "iam_token_base": iam_token_base, "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, "iam_token_status": iam_token_status, - }, - }, - outputSchema: { - "$ref": "#/$defs/iam_single_token_response", - $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_response": iam_single_token_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -790,36 +843,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_response": iam_single_token_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_cidr_list": iam_cidr_list, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_response": iam_single_token_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -834,29 +887,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_token_verify_response_single_segment", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_expires_on": iam_expires_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_not_before": iam_not_before_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_status": iam_token_status_output, - "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_expires_on": iam_expires_on, + "iam_messages-2": iam_messages$$2, + "iam_not_before": iam_not_before, + "iam_token_identifier": iam_token_identifier, + "iam_token_status": iam_token_status, + "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment, }, }, annotations: { @@ -886,14 +947,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_expires_on": iam_expires_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_not_before": iam_not_before_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_status": iam_token_status_output, - "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_expires_on": iam_expires_on, + "iam_messages-2": iam_messages$$2, + "iam_not_before": iam_not_before, + "iam_token_identifier": iam_token_identifier, + "iam_token_status": iam_token_status, + "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/tools.ts b/src/generated/forge-mcp/accounts/tools.ts index d74abb34f..fd3d73272 100644 --- a/src/generated/forge-mcp/accounts/tools.ts +++ b/src/generated/forge-mcp/accounts/tools.ts @@ -1,35 +1,35 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - iam_account_type_output, - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_id_output, - iam_api_response_single_output, - iam_common_components_schemas_identifier_output, - iam_messages_2_output, - iam_result_info_output, - organizations_api_V4ErrorResponse_output, - organizations_api_V4Message_output, + iam_account$$type, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_api$$response$$single$$id, + iam_common_components$$schemas$$identifier, + iam_messages$$2, + iam_result_info, + organizations$$api_V4ErrorResponse, + organizations$$api_V4Message, } from "../outputs.js"; import { + iam_account$$type as iam_account$$type$, iam_account_identifier, - iam_account_type, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, } from "../schemas.js"; import { - iam_account_output, - iam_response_collection_accounts_output, - iam_response_single_account_output, - organizations_api_MoveAccountResult_output, + iam_account, + iam_response_collection_accounts, + iam_response_single_account, + organizations$$api_MoveAccountResult, } from "./outputs.js"; import { - iam_account, - iam_components_schemas_account, - iam_create_account, + iam_account as iam_account$, + iam_components$$schemas$$account, + iam_create$$account, } from "./schemas.js"; /** @@ -47,28 +47,33 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_create-account", "description": "Parameters for account creation" }, - "idempotency_key": { - "description": "Optional key that identifies an Account-creation request. Free Account creation can require exactly one valid key, so API clients should send a key with every Account-creation request. Reuse the same key when retrying the same request.", - "type": "string" + "headers": { + "properties": { + "Idempotency-Key": { + "description": "Optional key that identifies an Account-creation request. Free Account creation can require exactly one valid key, so API clients should send a key with every Account-creation request. Reuse the same key when retrying the same request.", + "type": "string" + } + }, + "type": "object" } }, required: [ "body" ], $defs: { - "iam_account-type": iam_account_type, - "iam_create-account": iam_create_account, + "iam_account-type": iam_account$$type$, + "iam_create-account": iam_create$$account, }, }, outputSchema: { "$ref": "#/$defs/iam_response_single_account", $defs: { - "iam_account": iam_account_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_account": iam_response_single_account_output, + "iam_account": iam_account, + "iam_account-type": iam_account$$type, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_response_single_account": iam_response_single_account, }, }, annotations: { @@ -98,19 +103,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_account": iam_account_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_account": iam_response_single_account_output, + "iam_account": iam_account, + "iam_account-type": iam_account$$type, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_response_single_account": iam_response_single_account, }, }, request: (args) => ({ path: `/accounts`, headers: [ - ["Idempotency-Key", args["idempotency_key"]], + ["Idempotency-Key", param(args, "headers", "Idempotency-Key")], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -122,22 +127,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "The account ID of the account to be deleted", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "The account ID of the account to be deleted", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -175,11 +188,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -193,28 +206,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_response_single_account", $defs: { - "iam_account": iam_account_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_account": iam_response_single_account_output, + "iam_account": iam_account, + "iam_account-type": iam_account$$type, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_response_single_account": iam_response_single_account, }, }, annotations: { @@ -280,13 +301,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_account": iam_account_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_account": iam_response_single_account_output, + "iam_account": iam_account, + "iam_account-type": iam_account$$type, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_response_single_account": iam_response_single_account, }, }, request: (args) => ({ @@ -300,41 +321,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "name": { - "description": "Name of the account.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "number" + "query": { + "properties": { + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Name of the account.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "number" + } + }, + "type": "object" } }, }, outputSchema: { "$ref": "#/$defs/iam_response_collection_accounts", $defs: { - "iam_account": iam_account_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_collection_accounts": iam_response_collection_accounts_output, - "iam_result_info": iam_result_info_output, + "iam_account": iam_account, + "iam_account-type": iam_account$$type, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_response_collection_accounts": iam_response_collection_accounts, + "iam_result_info": iam_result_info, }, }, annotations: { @@ -364,24 +390,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_account": iam_account_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_collection_accounts": iam_response_collection_accounts_output, - "iam_result_info": iam_result_info_output, + "iam_account": iam_account, + "iam_account-type": iam_account$$type, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_response_collection_accounts": iam_response_collection_accounts, + "iam_result_info": iam_result_info, }, }, request: (args) => ({ path: `/accounts`, query: [ - ["name", args["name"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], + ["name", param(args, "query", "name"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, @@ -392,10 +418,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "The ID of the account to move.", - "type": "string" - }, "body": { "description": "The destination organization ID is where the account is to be moved.", "properties": { @@ -408,10 +430,22 @@ export const tools: readonly Tool[] = [ "destination_organization_id" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "The ID of the account to move.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -448,8 +482,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_MoveAccountResult": organizations_api_MoveAccountResult_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_MoveAccountResult": organizations$$api_MoveAccountResult, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -507,9 +541,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_MoveAccountResult": organizations_api_MoveAccountResult_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_MoveAccountResult": organizations$$api_MoveAccountResult, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ @@ -524,35 +558,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_components-schemas-account" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "iam_account": iam_account, - "iam_account-type": iam_account_type, + "iam_account": iam_account$, + "iam_account-type": iam_account$$type$, "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_components-schemas-account": iam_components_schemas_account, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_components-schemas-account": iam_components$$schemas$$account, }, }, outputSchema: { "$ref": "#/$defs/iam_response_single_account", $defs: { - "iam_account": iam_account_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_account": iam_response_single_account_output, + "iam_account": iam_account, + "iam_account-type": iam_account$$type, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_response_single_account": iam_response_single_account, }, }, annotations: { @@ -590,13 +632,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_account": iam_account_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_account": iam_response_single_account_output, + "iam_account": iam_account, + "iam_account-type": iam_account$$type, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_response_single_account": iam_response_single_account, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/transformations/outputs.ts b/src/generated/forge-mcp/accounts/transformations/outputs.ts index f3c447aaf..3ab6d1d97 100644 --- a/src/generated/forge-mcp/accounts/transformations/outputs.ts +++ b/src/generated/forge-mcp/accounts/transformations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_zone_config_item` in responses. */ -export const speed_zone_config_item_output: JsonSchema = { +export const speed_zone_config_item: JsonSchema = { "properties": { "cf_zone_tag": { "type": "string" diff --git a/src/generated/forge-mcp/accounts/transformations/tools.ts b/src/generated/forge-mcp/accounts/transformations/tools.ts index 854232f0c..bffc473c4 100644 --- a/src/generated/forge-mcp/accounts/transformations/tools.ts +++ b/src/generated/forge-mcp/accounts/transformations/tools.ts @@ -3,12 +3,12 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; -import { speed_zone_config_item_output } from "./outputs.js"; +import { speed_zone_config_item } from "./outputs.js"; /** * The tools of `accounts.transformations`. @@ -21,13 +21,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -51,9 +59,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_messages": speed_messages_output, - "speed_zone_config_item": speed_zone_config_item_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_messages": speed_messages, + "speed_zone_config_item": speed_zone_config_item, }, }, annotations: { @@ -101,10 +109,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_messages": speed_messages_output, - "speed_zone_config_item": speed_zone_config_item_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_messages": speed_messages, + "speed_zone_config_item": speed_zone_config_item, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/utBilling/outputs.ts b/src/generated/forge-mcp/accounts/utBilling/outputs.ts index e2dbfd8d7..7b6e53d29 100644 --- a/src/generated/forge-mcp/accounts/utBilling/outputs.ts +++ b/src/generated/forge-mcp/accounts/utBilling/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_ut_billing_response` in responses. */ -export const speed_ut_billing_response_output: JsonSchema = { +export const speed_ut_billing_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" @@ -31,7 +31,7 @@ export const speed_ut_billing_response_output: JsonSchema = { /** * The schema of `speed_ut_billing_value` in responses. */ -export const speed_ut_billing_value_output: JsonSchema = { +export const speed_ut_billing_value: JsonSchema = { "enum": [ "on" ], diff --git a/src/generated/forge-mcp/accounts/utBilling/tools.ts b/src/generated/forge-mcp/accounts/utBilling/tools.ts index 2ad8da176..0c0a0fe5d 100644 --- a/src/generated/forge-mcp/accounts/utBilling/tools.ts +++ b/src/generated/forge-mcp/accounts/utBilling/tools.ts @@ -3,33 +3,29 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; import { - speed_ut_billing_response_output, - speed_ut_billing_value_output, + speed_ut_billing_response, + speed_ut_billing_value, } from "./outputs.js"; -import { speed_ut_billing_value } from "./schemas.js"; +import { speed_ut_billing_value as speed_ut_billing_value$ } from "./schemas.js"; /** - * The tools of `accounts.ut_billing`. + * The tools of `accounts.utBilling`. */ export const tools: readonly Tool[] = [ { - name: "accounts_ut_billing_edit", + name: "accounts_utBilling_edit", title: "Change Unique Transformations billing setting", description: "Updates the Unique Transformations billing configuration for an account.\nWhen enabled, billing data is directed to the Transformations pipeline.\nNote: setting the value to \"off\" is not permitted once enabled.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." - }, "body": { "properties": { "value": { @@ -41,15 +37,27 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "speed_identifier": speed_identifier, - "speed_ut_billing_value": speed_ut_billing_value, + "speed_ut_billing_value": speed_ut_billing_value$, }, }, outputSchema: { @@ -67,11 +75,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_ut_billing_response": speed_ut_billing_response_output, - "speed_ut_billing_value": speed_ut_billing_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_ut_billing_response": speed_ut_billing_response, + "speed_ut_billing_value": speed_ut_billing_value, }, }, annotations: { @@ -115,12 +123,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_ut_billing_response": speed_ut_billing_response_output, - "speed_ut_billing_value": speed_ut_billing_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_ut_billing_response": speed_ut_billing_response, + "speed_ut_billing_value": speed_ut_billing_value, }, }, request: (args) => ({ @@ -129,19 +137,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "accounts_ut_billing_get", + name: "accounts_utBilling_get", title: "Get Unique Transformations billing setting", description: "Retrieves the Unique Transformations billing configuration for an account.\nWhen enabled, billing data is directed to the Transformations pipeline.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -162,11 +178,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_ut_billing_response": speed_ut_billing_response_output, - "speed_ut_billing_value": speed_ut_billing_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_ut_billing_response": speed_ut_billing_response, + "speed_ut_billing_value": speed_ut_billing_value, }, }, annotations: { @@ -211,12 +227,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_ut_billing_response": speed_ut_billing_response_output, - "speed_ut_billing_value": speed_ut_billing_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_ut_billing_response": speed_ut_billing_response, + "speed_ut_billing_value": speed_ut_billing_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/acm/customTrustStore/outputs.ts b/src/generated/forge-mcp/acm/customTrustStore/outputs.ts index 9e9fbebe2..0d0bac39b 100644 --- a/src/generated/forge-mcp/acm/customTrustStore/outputs.ts +++ b/src/generated/forge-mcp/acm/customTrustStore/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_certificate-3` in responses. */ -export const tls_certificates_and_hostnames_certificate_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate$$3: JsonSchema = { "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_certificate_3_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_custom-trust-store` in * responses. */ -export const tls_certificates_and_hostnames_custom_trust_store_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom$$trust$$store: JsonSchema = { "properties": { "certificate": { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-3" @@ -58,7 +58,7 @@ export const tls_certificates_and_hostnames_custom_trust_store_output: JsonSchem * The schema of `tls-certificates-and-hostnames_custom_trust_store_identifier` * in responses. */ -export const tls_certificates_and_hostnames_custom_trust_store_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_trust_store_identifier: JsonSchema = { "type": "string" }; @@ -67,7 +67,7 @@ export const tls_certificates_and_hostnames_custom_trust_store_identifier_output * `tls-certificates-and-hostnames_custom_trust_store_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_custom_trust_store_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_trust_store_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -91,7 +91,7 @@ export const tls_certificates_and_hostnames_custom_trust_store_response_collecti * `tls-certificates-and-hostnames_custom_trust_store_response_id_only` in * responses. */ -export const tls_certificates_and_hostnames_custom_trust_store_response_id_only_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_trust_store_response_id_only: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -117,7 +117,7 @@ export const tls_certificates_and_hostnames_custom_trust_store_response_id_only_ * `tls-certificates-and-hostnames_custom_trust_store_response_single` in * responses. */ -export const tls_certificates_and_hostnames_custom_trust_store_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_trust_store_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -136,7 +136,7 @@ export const tls_certificates_and_hostnames_custom_trust_store_response_single_o /** * The schema of `tls-certificates-and-hostnames_status-7` in responses. */ -export const tls_certificates_and_hostnames_status_7_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$7: JsonSchema = { "enum": [ "initializing", "pending_deployment", @@ -151,7 +151,7 @@ export const tls_certificates_and_hostnames_status_7_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_updated_at-2` in responses. */ -export const tls_certificates_and_hostnames_updated_at_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_updated_at$$2: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/acm/customTrustStore/schemas.ts b/src/generated/forge-mcp/acm/customTrustStore/schemas.ts index ab7f4e743..579c6f1a6 100644 --- a/src/generated/forge-mcp/acm/customTrustStore/schemas.ts +++ b/src/generated/forge-mcp/acm/customTrustStore/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_certificate-3`. */ -export const tls_certificates_and_hostnames_certificate_3: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate$$3: JsonSchema = { "description": "The root CA certificate in PEM format. Only root CA certificates are accepted; intermediate and leaf certificates are not supported.", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_certificate_3: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_custom_trust_store_identifier`. */ -export const tls_certificates_and_hostnames_custom_trust_store_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_trust_store_identifier: JsonSchema = { "description": "Certificate identifier tag.", "type": "string" }; diff --git a/src/generated/forge-mcp/acm/customTrustStore/tools.ts b/src/generated/forge-mcp/acm/customTrustStore/tools.ts index 3a5a1cf9d..aa873bdff 100644 --- a/src/generated/forge-mcp/acm/customTrustStore/tools.ts +++ b/src/generated/forge-mcp/acm/customTrustStore/tools.ts @@ -1,40 +1,40 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_expires_on_2_output, - tls_certificates_and_hostnames_issuer_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_signature_output, - tls_certificates_and_hostnames_uploaded_on_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_expires_on$$2, + tls$$certificates$$and$$hostnames_issuer, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_signature, + tls$$certificates$$and$$hostnames_uploaded_on, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_certificate_3_output, - tls_certificates_and_hostnames_custom_trust_store_identifier_output, - tls_certificates_and_hostnames_custom_trust_store_output, - tls_certificates_and_hostnames_custom_trust_store_response_collection_output, - tls_certificates_and_hostnames_custom_trust_store_response_id_only_output, - tls_certificates_and_hostnames_custom_trust_store_response_single_output, - tls_certificates_and_hostnames_status_7_output, - tls_certificates_and_hostnames_updated_at_2_output, + tls$$certificates$$and$$hostnames_certificate$$3, + tls$$certificates$$and$$hostnames_custom$$trust$$store, + tls$$certificates$$and$$hostnames_custom_trust_store_identifier, + tls$$certificates$$and$$hostnames_custom_trust_store_response_collection, + tls$$certificates$$and$$hostnames_custom_trust_store_response_id_only, + tls$$certificates$$and$$hostnames_custom_trust_store_response_single, + tls$$certificates$$and$$hostnames_status$$7, + tls$$certificates$$and$$hostnames_updated_at$$2, } from "./outputs.js"; import { - tls_certificates_and_hostnames_certificate_3, - tls_certificates_and_hostnames_custom_trust_store_identifier, + tls$$certificates$$and$$hostnames_certificate$$3 as tls$$certificates$$and$$hostnames_certificate$$3$, + tls$$certificates$$and$$hostnames_custom_trust_store_identifier as tls$$certificates$$and$$hostnames_custom_trust_store_identifier$, } from "./schemas.js"; /** - * The tools of `acm.custom_trust_store`. + * The tools of `acm.customTrustStore`. */ export const tools: readonly Tool[] = [ { - name: "acm_custom_trust_store_create", + name: "acm_customTrustStore_create", title: "Upload Custom Origin Trust Store", description: "Upload a root CA certificate to the Custom Origin Trust Store for a Zone. Only root CA certificates are accepted.", inputSchema: { @@ -52,35 +52,43 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3_output, - "tls-certificates-and-hostnames_custom-trust-store": tls_certificates_and_hostnames_custom_trust_store_output, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, - "tls-certificates-and-hostnames_custom_trust_store_response_single": tls_certificates_and_hostnames_custom_trust_store_response_single_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-7": tls_certificates_and_hostnames_status_7_output, - "tls-certificates-and-hostnames_updated_at-2": tls_certificates_and_hostnames_updated_at_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, + "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, + "tls-certificates-and-hostnames_custom_trust_store_response_single": tls$$certificates$$and$$hostnames_custom_trust_store_response_single, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, + "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -126,19 +134,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3_output, - "tls-certificates-and-hostnames_custom-trust-store": tls_certificates_and_hostnames_custom_trust_store_output, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, - "tls-certificates-and-hostnames_custom_trust_store_response_single": tls_certificates_and_hostnames_custom_trust_store_response_single_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-7": tls_certificates_and_hostnames_status_7_output, - "tls-certificates-and-hostnames_updated_at-2": tls_certificates_and_hostnames_updated_at_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, + "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, + "tls-certificates-and-hostnames_custom_trust_store_response_single": tls$$certificates$$and$$hostnames_custom_trust_store_response_single, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, + "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -147,37 +155,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "acm_custom_trust_store_delete", + name: "acm_customTrustStore_delete", title: "Delete Custom Origin Trust Store", description: "Removes a root CA certificate from the custom origin trust store. Origins using certificates signed by this CA will no longer be trusted.", inputSchema: { type: "object", properties: { - "custom_origin_trust_store_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier", - "description": "Certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "custom_origin_trust_store_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier", + "description": "Certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_origin_trust_store_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_origin_trust_store_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_id_only", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, - "tls-certificates-and-hostnames_custom_trust_store_response_id_only": tls_certificates_and_hostnames_custom_trust_store_response_id_only_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, + "tls-certificates-and-hostnames_custom_trust_store_response_id_only": tls$$certificates$$and$$hostnames_custom_trust_store_response_id_only, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -223,11 +239,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, - "tls-certificates-and-hostnames_custom_trust_store_response_id_only": tls_certificates_and_hostnames_custom_trust_store_response_id_only_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, + "tls-certificates-and-hostnames_custom_trust_store_response_id_only": tls$$certificates$$and$$hostnames_custom_trust_store_response_id_only, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -235,45 +251,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "acm_custom_trust_store_get", + name: "acm_customTrustStore_get", title: "Custom Origin Trust Store Details", description: "Retrieves details about a specific root CA certificate in the custom origin trust store, including expiration and subject information.", inputSchema: { type: "object", properties: { - "custom_origin_trust_store_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier", - "description": "Certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "custom_origin_trust_store_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier", + "description": "Certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_origin_trust_store_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_origin_trust_store_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3_output, - "tls-certificates-and-hostnames_custom-trust-store": tls_certificates_and_hostnames_custom_trust_store_output, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, - "tls-certificates-and-hostnames_custom_trust_store_response_single": tls_certificates_and_hostnames_custom_trust_store_response_single_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-7": tls_certificates_and_hostnames_status_7_output, - "tls-certificates-and-hostnames_updated_at-2": tls_certificates_and_hostnames_updated_at_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, + "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, + "tls-certificates-and-hostnames_custom_trust_store_response_single": tls$$certificates$$and$$hostnames_custom_trust_store_response_single, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, + "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -319,19 +343,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3_output, - "tls-certificates-and-hostnames_custom-trust-store": tls_certificates_and_hostnames_custom_trust_store_output, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, - "tls-certificates-and-hostnames_custom_trust_store_response_single": tls_certificates_and_hostnames_custom_trust_store_response_single_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-7": tls_certificates_and_hostnames_status_7_output, - "tls-certificates-and-hostnames_updated_at-2": tls_certificates_and_hostnames_updated_at_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, + "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, + "tls-certificates-and-hostnames_custom_trust_store_response_single": tls$$certificates$$and$$hostnames_custom_trust_store_response_single, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, + "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -339,58 +363,71 @@ export const tools: readonly Tool[] = [ }), }, { - name: "acm_custom_trust_store_list", + name: "acm_customTrustStore_list", title: "List Custom Origin Trust Store Details", description: "Get Custom Origin Trust Store for a Zone.", inputSchema: { type: "object", properties: { - "limit": { - "description": "Limit to the number of records returned.", - "type": "integer" - }, - "offset": { - "description": "Offset the results.", - "type": "integer" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Number of records per page.", - "type": "number" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "query": { + "properties": { + "limit": { + "description": "Limit to the number of records returned.", + "type": "integer" + }, + "offset": { + "description": "Offset the results.", + "type": "integer" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Number of records per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3_output, - "tls-certificates-and-hostnames_custom-trust-store": tls_certificates_and_hostnames_custom_trust_store_output, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, - "tls-certificates-and-hostnames_custom_trust_store_response_collection": tls_certificates_and_hostnames_custom_trust_store_response_collection_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-7": tls_certificates_and_hostnames_status_7_output, - "tls-certificates-and-hostnames_updated_at-2": tls_certificates_and_hostnames_updated_at_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, + "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, + "tls-certificates-and-hostnames_custom_trust_store_response_collection": tls$$certificates$$and$$hostnames_custom_trust_store_response_collection, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, + "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -436,29 +473,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate-3": tls_certificates_and_hostnames_certificate_3_output, - "tls-certificates-and-hostnames_custom-trust-store": tls_certificates_and_hostnames_custom_trust_store_output, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls_certificates_and_hostnames_custom_trust_store_identifier_output, - "tls-certificates-and-hostnames_custom_trust_store_response_collection": tls_certificates_and_hostnames_custom_trust_store_response_collection_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-7": tls_certificates_and_hostnames_status_7_output, - "tls-certificates-and-hostnames_updated_at-2": tls_certificates_and_hostnames_updated_at_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, + "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, + "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, + "tls-certificates-and-hostnames_custom_trust_store_response_collection": tls$$certificates$$and$$hostnames_custom_trust_store_response_collection, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, + "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/acm/custom_trust_store`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["limit", args["limit"], true], - ["offset", args["offset"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], ], }), }, diff --git a/src/generated/forge-mcp/acm/totalTls/outputs.ts b/src/generated/forge-mcp/acm/totalTls/outputs.ts index de886b1e3..0b5809cdd 100644 --- a/src/generated/forge-mcp/acm/totalTls/outputs.ts +++ b/src/generated/forge-mcp/acm/totalTls/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `tls-certificates-and-hostnames_certificate_authority-3` in * responses. */ -export const tls_certificates_and_hostnames_certificate_authority_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_authority$$3: JsonSchema = { "enum": [ "google", "lets_encrypt", @@ -19,7 +19,7 @@ export const tls_certificates_and_hostnames_certificate_authority_3_output: Json /** * The schema of `tls-certificates-and-hostnames_enabled-3` in responses. */ -export const tls_certificates_and_hostnames_enabled_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled$$3: JsonSchema = { "type": "boolean" }; @@ -27,7 +27,7 @@ export const tls_certificates_and_hostnames_enabled_3_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_total_tls_settings_response` in * responses. */ -export const tls_certificates_and_hostnames_total_tls_settings_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_total_tls_settings_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -57,7 +57,7 @@ export const tls_certificates_and_hostnames_total_tls_settings_response_output: /** * The schema of `tls-certificates-and-hostnames_validity_period` in responses. */ -export const tls_certificates_and_hostnames_validity_period_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validity_period: JsonSchema = { "enum": [ 90 ], diff --git a/src/generated/forge-mcp/acm/totalTls/schemas.ts b/src/generated/forge-mcp/acm/totalTls/schemas.ts index 31da53533..b81e40678 100644 --- a/src/generated/forge-mcp/acm/totalTls/schemas.ts +++ b/src/generated/forge-mcp/acm/totalTls/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_certificate_authority-3`. */ -export const tls_certificates_and_hostnames_certificate_authority_3: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_authority$$3: JsonSchema = { "description": "The Certificate Authority that Total TLS certificates will be issued through.", "enum": [ "google", @@ -19,7 +19,7 @@ export const tls_certificates_and_hostnames_certificate_authority_3: JsonSchema /** * The schema of `tls-certificates-and-hostnames_enabled-3`. */ -export const tls_certificates_and_hostnames_enabled_3: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled$$3: JsonSchema = { "description": "If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.", "type": "boolean" }; diff --git a/src/generated/forge-mcp/acm/totalTls/tools.ts b/src/generated/forge-mcp/acm/totalTls/tools.ts index f527a0635..9f51986ca 100644 --- a/src/generated/forge-mcp/acm/totalTls/tools.ts +++ b/src/generated/forge-mcp/acm/totalTls/tools.ts @@ -3,28 +3,28 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_certificate_authority_3_output, - tls_certificates_and_hostnames_enabled_3_output, - tls_certificates_and_hostnames_total_tls_settings_response_output, - tls_certificates_and_hostnames_validity_period_output, + tls$$certificates$$and$$hostnames_certificate_authority$$3, + tls$$certificates$$and$$hostnames_enabled$$3, + tls$$certificates$$and$$hostnames_total_tls_settings_response, + tls$$certificates$$and$$hostnames_validity_period, } from "./outputs.js"; import { - tls_certificates_and_hostnames_certificate_authority_3, - tls_certificates_and_hostnames_enabled_3, + tls$$certificates$$and$$hostnames_certificate_authority$$3 as tls$$certificates$$and$$hostnames_certificate_authority$$3$, + tls$$certificates$$and$$hostnames_enabled$$3 as tls$$certificates$$and$$hostnames_enabled$$3$, } from "./schemas.js"; /** - * The tools of `acm.total_tls`. + * The tools of `acm.totalTls`. */ export const tools: readonly Tool[] = [ { - name: "acm_total_tls_edit", + name: "acm_totalTls_edit", title: "Enable or Disable Total TLS", description: "Set Total TLS Settings or disable the feature for a Zone.", inputSchema: { @@ -46,30 +46,38 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_certificate_authority-3": tls_certificates_and_hostnames_certificate_authority_3, - "tls-certificates-and-hostnames_enabled-3": tls_certificates_and_hostnames_enabled_3, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3$, + "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_total_tls_settings_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-3": tls_certificates_and_hostnames_certificate_authority_3_output, - "tls-certificates-and-hostnames_enabled-3": tls_certificates_and_hostnames_enabled_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_total_tls_settings_response": tls_certificates_and_hostnames_total_tls_settings_response_output, - "tls-certificates-and-hostnames_validity_period": tls_certificates_and_hostnames_validity_period_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3, + "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_total_tls_settings_response": tls$$certificates$$and$$hostnames_total_tls_settings_response, + "tls-certificates-and-hostnames_validity_period": tls$$certificates$$and$$hostnames_validity_period, }, }, annotations: { @@ -115,13 +123,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-3": tls_certificates_and_hostnames_certificate_authority_3_output, - "tls-certificates-and-hostnames_enabled-3": tls_certificates_and_hostnames_enabled_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_total_tls_settings_response": tls_certificates_and_hostnames_total_tls_settings_response_output, - "tls-certificates-and-hostnames_validity_period": tls_certificates_and_hostnames_validity_period_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3, + "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_total_tls_settings_response": tls$$certificates$$and$$hostnames_total_tls_settings_response, + "tls-certificates-and-hostnames_validity_period": tls$$certificates$$and$$hostnames_validity_period, }, }, request: (args) => ({ @@ -130,33 +138,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "acm_total_tls_get", + name: "acm_totalTls_get", title: "Total TLS Settings Details", description: "Get Total TLS Settings for a Zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_total_tls_settings_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-3": tls_certificates_and_hostnames_certificate_authority_3_output, - "tls-certificates-and-hostnames_enabled-3": tls_certificates_and_hostnames_enabled_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_total_tls_settings_response": tls_certificates_and_hostnames_total_tls_settings_response_output, - "tls-certificates-and-hostnames_validity_period": tls_certificates_and_hostnames_validity_period_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3, + "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_total_tls_settings_response": tls$$certificates$$and$$hostnames_total_tls_settings_response, + "tls-certificates-and-hostnames_validity_period": tls$$certificates$$and$$hostnames_validity_period, }, }, annotations: { @@ -202,13 +218,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-3": tls_certificates_and_hostnames_certificate_authority_3_output, - "tls-certificates-and-hostnames_enabled-3": tls_certificates_and_hostnames_enabled_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_total_tls_settings_response": tls_certificates_and_hostnames_total_tls_settings_response_output, - "tls-certificates-and-hostnames_validity_period": tls_certificates_and_hostnames_validity_period_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3, + "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_total_tls_settings_response": tls$$certificates$$and$$hostnames_total_tls_settings_response, + "tls-certificates-and-hostnames_validity_period": tls$$certificates$$and$$hostnames_validity_period, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts index cbc04a8fd..3145cb8e1 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts @@ -3,42 +3,50 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - addressing_api_response_collection_output, - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_messages_output, + addressing_api$$response$$collection, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_messages, } from "../../outputs.js"; import { addressing_account_identifier } from "../../schemas.js"; import { addressing_address_map_identifier } from "../schemas.js"; /** - * The tools of `addressing.address_maps.accounts`. + * The tools of `addressing.addressMaps.accounts`. */ export const tools: readonly Tool[] = [ { - name: "addressing_address_maps_accounts_delete", + name: "addressing_addressMaps_accounts_delete", title: "Remove an account membership from an Address Map", description: "Remove an account as a member of a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, - "member_account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + }, + "member_account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id", + "address_map_id", + "member_account_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", - "member_account_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -48,9 +56,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -84,10 +92,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -95,29 +103,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_accounts_update", + name: "addressing_addressMaps_accounts_update", title: "Add an account membership to an Address Map", description: "Add an account as a member of a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, - "member_account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + }, + "member_account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id", + "address_map_id", + "member_account_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", - "member_account_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -127,9 +143,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -158,10 +174,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts index 938c018d9..1a8cf32a8 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts @@ -3,10 +3,10 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - addressing_api_response_collection_output, - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_messages_output, + addressing_api$$response$$collection, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_messages, } from "../../outputs.js"; import { addressing_account_identifier } from "../../schemas.js"; import { @@ -15,33 +15,41 @@ import { } from "../schemas.js"; /** - * The tools of `addressing.address_maps.ips`. + * The tools of `addressing.addressMaps.ips`. */ export const tools: readonly Tool[] = [ { - name: "addressing_address_maps_ips_delete", + name: "addressing_addressMaps_ips_delete", title: "Remove an IP from an Address Map", description: "Remove an IP from a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, - "ip_address": { - "$ref": "#/$defs/addressing_ip_address", - "description": "An IPv4 or IPv6 address." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + }, + "ip_address": { + "$ref": "#/$defs/addressing_ip_address", + "description": "An IPv4 or IPv6 address." + } + }, + "required": [ + "account_id", + "address_map_id", + "ip_address" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", - "ip_address" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -52,9 +60,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -88,10 +96,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -99,20 +107,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_ips_delete_bulk", + name: "addressing_addressMaps_ips_deleteBulk", title: "Remove Multiple IPs from an Address Map", description: "Remove multiple IPs from a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, "body": { "properties": { "ips": { @@ -126,11 +126,27 @@ export const tools: readonly Tool[] = [ "ips" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + } + }, + "required": [ + "account_id", + "address_map_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", + "path", "body" ], $defs: { @@ -142,9 +158,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -178,10 +194,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -190,29 +206,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_ips_update", + name: "addressing_addressMaps_ips_update", title: "Add an IP to an Address Map", description: "Add an IP from a prefix owned by the account to a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, - "ip_address": { - "$ref": "#/$defs/addressing_ip_address", - "description": "An IPv4 or IPv6 address." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + }, + "ip_address": { + "$ref": "#/$defs/addressing_ip_address", + "description": "An IPv4 or IPv6 address." + } + }, + "required": [ + "account_id", + "address_map_id", + "ip_address" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", - "ip_address" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -223,9 +247,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -259,10 +283,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -270,20 +294,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_ips_update_bulk", + name: "addressing_addressMaps_ips_updateBulk", title: "Add Multiple IPs to an Address Map", description: "Add multiple IPs to a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, "body": { "properties": { "ips": { @@ -297,11 +313,27 @@ export const tools: readonly Tool[] = [ "ips" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + } + }, + "required": [ + "account_id", + "address_map_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", + "path", "body" ], $defs: { @@ -313,9 +345,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -344,10 +376,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/addressMaps/outputs.ts b/src/generated/forge-mcp/addressing/addressMaps/outputs.ts index a0a42bd6d..c0a58d8f6 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/outputs.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `addressing_address-maps` in responses. */ -export const addressing_address_maps_output: JsonSchema = { +export const addressing_address$$maps: JsonSchema = { "properties": { "can_delete": { "$ref": "#/$defs/addressing_can_delete" @@ -39,7 +39,7 @@ export const addressing_address_maps_output: JsonSchema = { /** * The schema of `addressing_address-maps-ip` in responses. */ -export const addressing_address_maps_ip_output: JsonSchema = { +export const addressing_address$$maps$$ip: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/addressing_timestamp" @@ -54,7 +54,7 @@ export const addressing_address_maps_ip_output: JsonSchema = { /** * The schema of `addressing_address-maps-membership` in responses. */ -export const addressing_address_maps_membership_output: JsonSchema = { +export const addressing_address$$maps$$membership: JsonSchema = { "properties": { "can_delete": { "$ref": "#/$defs/addressing_can_delete-2" @@ -75,35 +75,35 @@ export const addressing_address_maps_membership_output: JsonSchema = { /** * The schema of `addressing_address_map_identifier` in responses. */ -export const addressing_address_map_identifier_output: JsonSchema = { +export const addressing_address_map_identifier: JsonSchema = { "type": "string" }; /** * The schema of `addressing_can_delete` in responses. */ -export const addressing_can_delete_output: JsonSchema = { +export const addressing_can_delete: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_can_delete-2` in responses. */ -export const addressing_can_delete_2_output: JsonSchema = { +export const addressing_can_delete$$2: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_can_modify_ips` in responses. */ -export const addressing_can_modify_ips_output: JsonSchema = { +export const addressing_can_modify_ips: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_default_sni` in responses. */ -export const addressing_default_sni_output: JsonSchema = { +export const addressing_default_sni: JsonSchema = { "oneOf": [ { "type": "string" @@ -117,7 +117,7 @@ export const addressing_default_sni_output: JsonSchema = { /** * The schema of `addressing_description-2` in responses. */ -export const addressing_description_2_output: JsonSchema = { +export const addressing_description$$2: JsonSchema = { "oneOf": [ { "type": "string" @@ -131,7 +131,7 @@ export const addressing_description_2_output: JsonSchema = { /** * The schema of `addressing_enabled` in responses. */ -export const addressing_enabled_output: JsonSchema = { +export const addressing_enabled: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -145,7 +145,7 @@ export const addressing_enabled_output: JsonSchema = { /** * The schema of `addressing_full_response` in responses. */ -export const addressing_full_response_output: JsonSchema = { +export const addressing_full_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-single" @@ -179,21 +179,21 @@ export const addressing_full_response_output: JsonSchema = { /** * The schema of `addressing_identifier` in responses. */ -export const addressing_identifier_output: JsonSchema = { +export const addressing_identifier: JsonSchema = { "type": "string" }; /** * The schema of `addressing_ip` in responses. */ -export const addressing_ip_output: JsonSchema = { +export const addressing_ip: JsonSchema = { "type": "string" }; /** * The schema of `addressing_ips` in responses. */ -export const addressing_ips_output: JsonSchema = { +export const addressing_ips: JsonSchema = { "items": { "$ref": "#/$defs/addressing_address-maps-ip" }, @@ -203,7 +203,7 @@ export const addressing_ips_output: JsonSchema = { /** * The schema of `addressing_kind` in responses. */ -export const addressing_kind_output: JsonSchema = { +export const addressing_kind: JsonSchema = { "enum": [ "zone", "account" @@ -214,7 +214,7 @@ export const addressing_kind_output: JsonSchema = { /** * The schema of `addressing_memberships` in responses. */ -export const addressing_memberships_output: JsonSchema = { +export const addressing_memberships: JsonSchema = { "items": { "$ref": "#/$defs/addressing_address-maps-membership" }, @@ -224,7 +224,7 @@ export const addressing_memberships_output: JsonSchema = { /** * The schema of `addressing_response_collection-3` in responses. */ -export const addressing_response_collection_3_output: JsonSchema = { +export const addressing_response_collection$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-collection" @@ -246,7 +246,7 @@ export const addressing_response_collection_3_output: JsonSchema = { /** * The schema of `addressing_single_response-3` in responses. */ -export const addressing_single_response_3_output: JsonSchema = { +export const addressing_single_response$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-single" diff --git a/src/generated/forge-mcp/addressing/addressMaps/schemas.ts b/src/generated/forge-mcp/addressing/addressMaps/schemas.ts index 9526160a0..d252f4223 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/schemas.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `addressing_address-maps-membership-request`. */ -export const addressing_address_maps_membership_request: JsonSchema = { +export const addressing_address$$maps$$membership$$request: JsonSchema = { "properties": { "identifier": { "$ref": "#/$defs/addressing_identifier", @@ -46,7 +46,7 @@ export const addressing_default_sni: JsonSchema = { /** * The schema of `addressing_description-2`. */ -export const addressing_description_2: JsonSchema = { +export const addressing_description$$2: JsonSchema = { "description": "An optional description field which may be used to describe the types of IPs or zones on the map.", "oneOf": [ { diff --git a/src/generated/forge-mcp/addressing/addressMaps/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/tools.ts index da65e4896..9bbe5bd54 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/tools.ts @@ -3,61 +3,57 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - addressing_api_response_collection_output, - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_api_response_single_output, - addressing_messages_output, - addressing_timestamp_output, + addressing_api$$response$$collection, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_api$$response$$single, + addressing_messages, + addressing_timestamp, } from "../outputs.js"; import { addressing_account_identifier } from "../schemas.js"; import { - addressing_address_map_identifier_output, - addressing_address_maps_ip_output, - addressing_address_maps_membership_output, - addressing_address_maps_output, - addressing_can_delete_2_output, - addressing_can_delete_output, - addressing_can_modify_ips_output, - addressing_default_sni_output, - addressing_description_2_output, - addressing_enabled_output, - addressing_full_response_output, - addressing_identifier_output, - addressing_ip_output, - addressing_ips_output, - addressing_kind_output, - addressing_memberships_output, - addressing_response_collection_3_output, - addressing_single_response_3_output, -} from "./outputs.js"; -import { + addressing_address$$maps, + addressing_address$$maps$$ip, + addressing_address$$maps$$membership, addressing_address_map_identifier, - addressing_address_maps_membership_request, + addressing_can_delete, + addressing_can_delete$$2, + addressing_can_modify_ips, addressing_default_sni, - addressing_description_2, + addressing_description$$2, addressing_enabled, + addressing_full_response, addressing_identifier, - addressing_ip_address, + addressing_ip, + addressing_ips, addressing_kind, + addressing_memberships, + addressing_response_collection$$3, + addressing_single_response$$3, +} from "./outputs.js"; +import { + addressing_address$$maps$$membership$$request, + addressing_address_map_identifier as addressing_address_map_identifier$, + addressing_default_sni as addressing_default_sni$, + addressing_description$$2 as addressing_description$$2$, + addressing_enabled as addressing_enabled$, + addressing_identifier as addressing_identifier$, + addressing_ip_address, + addressing_kind as addressing_kind$, addressing_membership_requests, } from "./schemas.js"; /** - * The tools of `addressing.address_maps`. + * The tools of `addressing.addressMaps`. */ export const tools: readonly Tool[] = [ { - name: "addressing_address_maps_create", + name: "addressing_addressMaps_create", title: "Create Address Map", description: "Create a new address map under the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, "body": { "properties": { "description": { @@ -81,45 +77,57 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_address-maps-membership-request": addressing_address_maps_membership_request, - "addressing_description-2": addressing_description_2, - "addressing_enabled": addressing_enabled, - "addressing_identifier": addressing_identifier, + "addressing_address-maps-membership-request": addressing_address$$maps$$membership$$request, + "addressing_description-2": addressing_description$$2$, + "addressing_enabled": addressing_enabled$, + "addressing_identifier": addressing_identifier$, "addressing_ip_address": addressing_ip_address, - "addressing_kind": addressing_kind, + "addressing_kind": addressing_kind$, "addressing_membership_requests": addressing_membership_requests, }, }, outputSchema: { "$ref": "#/$defs/addressing_full_response", $defs: { - "addressing_address-maps": addressing_address_maps_output, - "addressing_address-maps-ip": addressing_address_maps_ip_output, - "addressing_address-maps-membership": addressing_address_maps_membership_output, - "addressing_address_map_identifier": addressing_address_map_identifier_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_can_delete": addressing_can_delete_output, - "addressing_can_delete-2": addressing_can_delete_2_output, - "addressing_can_modify_ips": addressing_can_modify_ips_output, - "addressing_default_sni": addressing_default_sni_output, - "addressing_description-2": addressing_description_2_output, - "addressing_enabled": addressing_enabled_output, - "addressing_full_response": addressing_full_response_output, - "addressing_identifier": addressing_identifier_output, - "addressing_ip": addressing_ip_output, - "addressing_ips": addressing_ips_output, - "addressing_kind": addressing_kind_output, - "addressing_memberships": addressing_memberships_output, - "addressing_messages": addressing_messages_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_address-maps": addressing_address$$maps, + "addressing_address-maps-ip": addressing_address$$maps$$ip, + "addressing_address-maps-membership": addressing_address$$maps$$membership, + "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_can_delete": addressing_can_delete, + "addressing_can_delete-2": addressing_can_delete$$2, + "addressing_can_modify_ips": addressing_can_modify_ips, + "addressing_default_sni": addressing_default_sni, + "addressing_description-2": addressing_description$$2, + "addressing_enabled": addressing_enabled, + "addressing_full_response": addressing_full_response, + "addressing_identifier": addressing_identifier, + "addressing_ip": addressing_ip, + "addressing_ips": addressing_ips, + "addressing_kind": addressing_kind, + "addressing_memberships": addressing_memberships, + "addressing_messages": addressing_messages, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -153,26 +161,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_address-maps": addressing_address_maps_output, - "addressing_address-maps-ip": addressing_address_maps_ip_output, - "addressing_address-maps-membership": addressing_address_maps_membership_output, - "addressing_address_map_identifier": addressing_address_map_identifier_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_can_delete": addressing_can_delete_output, - "addressing_can_delete-2": addressing_can_delete_2_output, - "addressing_can_modify_ips": addressing_can_modify_ips_output, - "addressing_default_sni": addressing_default_sni_output, - "addressing_description-2": addressing_description_2_output, - "addressing_enabled": addressing_enabled_output, - "addressing_full_response": addressing_full_response_output, - "addressing_identifier": addressing_identifier_output, - "addressing_ip": addressing_ip_output, - "addressing_ips": addressing_ips_output, - "addressing_kind": addressing_kind_output, - "addressing_memberships": addressing_memberships_output, - "addressing_messages": addressing_messages_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_address-maps": addressing_address$$maps, + "addressing_address-maps-ip": addressing_address$$maps$$ip, + "addressing_address-maps-membership": addressing_address$$maps$$membership, + "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_can_delete": addressing_can_delete, + "addressing_can_delete-2": addressing_can_delete$$2, + "addressing_can_modify_ips": addressing_can_modify_ips, + "addressing_default_sni": addressing_default_sni, + "addressing_description-2": addressing_description$$2, + "addressing_enabled": addressing_enabled, + "addressing_full_response": addressing_full_response, + "addressing_identifier": addressing_identifier, + "addressing_ip": addressing_ip, + "addressing_ips": addressing_ips, + "addressing_kind": addressing_kind, + "addressing_memberships": addressing_memberships, + "addressing_messages": addressing_messages, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -181,36 +189,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_delete", + name: "addressing_addressMaps_delete", title: "Delete Address Map", description: "Delete a particular address map owned by the account. An Address Map must be disabled before it can be deleted.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + } + }, + "required": [ + "account_id", + "address_map_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_address_map_identifier": addressing_address_map_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -244,10 +260,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -255,20 +271,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_edit", + name: "addressing_addressMaps_edit", title: "Update Address Map", description: "Modify properties of an address map owned by the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, "body": { "properties": { "default_sni": { @@ -286,35 +294,51 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + } + }, + "required": [ + "account_id", + "address_map_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", + "path", "body" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - "addressing_default_sni": addressing_default_sni, - "addressing_description-2": addressing_description_2, - "addressing_enabled": addressing_enabled, + "addressing_address_map_identifier": addressing_address_map_identifier$, + "addressing_default_sni": addressing_default_sni$, + "addressing_description-2": addressing_description$$2$, + "addressing_enabled": addressing_enabled$, }, }, outputSchema: { "$ref": "#/$defs/addressing_single_response-3", $defs: { - "addressing_address-maps": addressing_address_maps_output, - "addressing_address_map_identifier": addressing_address_map_identifier_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_can_delete": addressing_can_delete_output, - "addressing_can_modify_ips": addressing_can_modify_ips_output, - "addressing_default_sni": addressing_default_sni_output, - "addressing_description-2": addressing_description_2_output, - "addressing_enabled": addressing_enabled_output, - "addressing_messages": addressing_messages_output, - "addressing_single_response-3": addressing_single_response_3_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_address-maps": addressing_address$$maps, + "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_can_delete": addressing_can_delete, + "addressing_can_modify_ips": addressing_can_modify_ips, + "addressing_default_sni": addressing_default_sni, + "addressing_description-2": addressing_description$$2, + "addressing_enabled": addressing_enabled, + "addressing_messages": addressing_messages, + "addressing_single_response-3": addressing_single_response$$3, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -348,18 +372,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_address-maps": addressing_address_maps_output, - "addressing_address_map_identifier": addressing_address_map_identifier_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_can_delete": addressing_can_delete_output, - "addressing_can_modify_ips": addressing_can_modify_ips_output, - "addressing_default_sni": addressing_default_sni_output, - "addressing_description-2": addressing_description_2_output, - "addressing_enabled": addressing_enabled_output, - "addressing_messages": addressing_messages_output, - "addressing_single_response-3": addressing_single_response_3_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_address-maps": addressing_address$$maps, + "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_can_delete": addressing_can_delete, + "addressing_can_modify_ips": addressing_can_modify_ips, + "addressing_default_sni": addressing_default_sni, + "addressing_description-2": addressing_description$$2, + "addressing_enabled": addressing_enabled, + "addressing_messages": addressing_messages, + "addressing_single_response-3": addressing_single_response$$3, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -368,52 +392,60 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_get", + name: "addressing_addressMaps_get", title: "Address Map Details", description: "Show a particular address map owned by the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + } + }, + "required": [ + "account_id", + "address_map_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_address_map_identifier": addressing_address_map_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_full_response", $defs: { - "addressing_address-maps": addressing_address_maps_output, - "addressing_address-maps-ip": addressing_address_maps_ip_output, - "addressing_address-maps-membership": addressing_address_maps_membership_output, - "addressing_address_map_identifier": addressing_address_map_identifier_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_can_delete": addressing_can_delete_output, - "addressing_can_delete-2": addressing_can_delete_2_output, - "addressing_can_modify_ips": addressing_can_modify_ips_output, - "addressing_default_sni": addressing_default_sni_output, - "addressing_description-2": addressing_description_2_output, - "addressing_enabled": addressing_enabled_output, - "addressing_full_response": addressing_full_response_output, - "addressing_identifier": addressing_identifier_output, - "addressing_ip": addressing_ip_output, - "addressing_ips": addressing_ips_output, - "addressing_kind": addressing_kind_output, - "addressing_memberships": addressing_memberships_output, - "addressing_messages": addressing_messages_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_address-maps": addressing_address$$maps, + "addressing_address-maps-ip": addressing_address$$maps$$ip, + "addressing_address-maps-membership": addressing_address$$maps$$membership, + "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_can_delete": addressing_can_delete, + "addressing_can_delete-2": addressing_can_delete$$2, + "addressing_can_modify_ips": addressing_can_modify_ips, + "addressing_default_sni": addressing_default_sni, + "addressing_description-2": addressing_description$$2, + "addressing_enabled": addressing_enabled, + "addressing_full_response": addressing_full_response, + "addressing_identifier": addressing_identifier, + "addressing_ip": addressing_ip, + "addressing_ips": addressing_ips, + "addressing_kind": addressing_kind, + "addressing_memberships": addressing_memberships, + "addressing_messages": addressing_messages, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -448,26 +480,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_address-maps": addressing_address_maps_output, - "addressing_address-maps-ip": addressing_address_maps_ip_output, - "addressing_address-maps-membership": addressing_address_maps_membership_output, - "addressing_address_map_identifier": addressing_address_map_identifier_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_can_delete": addressing_can_delete_output, - "addressing_can_delete-2": addressing_can_delete_2_output, - "addressing_can_modify_ips": addressing_can_modify_ips_output, - "addressing_default_sni": addressing_default_sni_output, - "addressing_description-2": addressing_description_2_output, - "addressing_enabled": addressing_enabled_output, - "addressing_full_response": addressing_full_response_output, - "addressing_identifier": addressing_identifier_output, - "addressing_ip": addressing_ip_output, - "addressing_ips": addressing_ips_output, - "addressing_kind": addressing_kind_output, - "addressing_memberships": addressing_memberships_output, - "addressing_messages": addressing_messages_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_address-maps": addressing_address$$maps, + "addressing_address-maps-ip": addressing_address$$maps$$ip, + "addressing_address-maps-membership": addressing_address$$maps$$membership, + "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_can_delete": addressing_can_delete, + "addressing_can_delete-2": addressing_can_delete$$2, + "addressing_can_modify_ips": addressing_can_modify_ips, + "addressing_default_sni": addressing_default_sni, + "addressing_description-2": addressing_description$$2, + "addressing_enabled": addressing_enabled, + "addressing_full_response": addressing_full_response, + "addressing_identifier": addressing_identifier, + "addressing_ip": addressing_ip, + "addressing_ips": addressing_ips, + "addressing_kind": addressing_kind, + "addressing_memberships": addressing_memberships, + "addressing_messages": addressing_messages, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -475,19 +507,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_list", + name: "addressing_addressMaps_list", title: "List Address Maps", description: "List all address maps owned by the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -496,18 +536,18 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_response_collection-3", $defs: { - "addressing_address-maps": addressing_address_maps_output, - "addressing_address_map_identifier": addressing_address_map_identifier_output, - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_can_delete": addressing_can_delete_output, - "addressing_can_modify_ips": addressing_can_modify_ips_output, - "addressing_default_sni": addressing_default_sni_output, - "addressing_description-2": addressing_description_2_output, - "addressing_enabled": addressing_enabled_output, - "addressing_messages": addressing_messages_output, - "addressing_response_collection-3": addressing_response_collection_3_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_address-maps": addressing_address$$maps, + "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_can_delete": addressing_can_delete, + "addressing_can_modify_ips": addressing_can_modify_ips, + "addressing_default_sni": addressing_default_sni, + "addressing_description-2": addressing_description$$2, + "addressing_enabled": addressing_enabled, + "addressing_messages": addressing_messages, + "addressing_response_collection-3": addressing_response_collection$$3, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -542,19 +582,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_address-maps": addressing_address_maps_output, - "addressing_address_map_identifier": addressing_address_map_identifier_output, - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_can_delete": addressing_can_delete_output, - "addressing_can_modify_ips": addressing_can_modify_ips_output, - "addressing_default_sni": addressing_default_sni_output, - "addressing_description-2": addressing_description_2_output, - "addressing_enabled": addressing_enabled_output, - "addressing_messages": addressing_messages_output, - "addressing_response_collection-3": addressing_response_collection_3_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_address-maps": addressing_address$$maps, + "addressing_address_map_identifier": addressing_address_map_identifier, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_can_delete": addressing_can_delete, + "addressing_can_modify_ips": addressing_can_modify_ips, + "addressing_default_sni": addressing_default_sni, + "addressing_description-2": addressing_description$$2, + "addressing_enabled": addressing_enabled, + "addressing_messages": addressing_messages, + "addressing_response_collection-3": addressing_response_collection$$3, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts index a67ca0ba1..096106cab 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts @@ -3,43 +3,51 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - addressing_api_response_collection_output, - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_messages_output, + addressing_api$$response$$collection, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_messages, } from "../../outputs.js"; import { addressing_account_identifier } from "../../schemas.js"; import { addressing_address_map_identifier } from "../schemas.js"; import { addressing_zone_identifier } from "./schemas.js"; /** - * The tools of `addressing.address_maps.zones`. + * The tools of `addressing.addressMaps.zones`. */ export const tools: readonly Tool[] = [ { - name: "addressing_address_maps_zones_delete", + name: "addressing_addressMaps_zones_delete", title: "Remove a zone membership from an Address Map", description: "Remove a zone as a member of a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, - "member_zone_id": { - "$ref": "#/$defs/addressing_zone_identifier", - "description": "Identifier of a zone." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + }, + "member_zone_id": { + "$ref": "#/$defs/addressing_zone_identifier", + "description": "Identifier of a zone." + } + }, + "required": [ + "account_id", + "address_map_id", + "member_zone_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", - "member_zone_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -50,9 +58,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -86,10 +94,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -97,20 +105,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_zones_delete_bulk", + name: "addressing_addressMaps_zones_deleteBulk", title: "Remove Multiple Zones from an Address Map", description: "Remove multiple zones as members of a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, "body": { "properties": { "zones": { @@ -124,11 +124,27 @@ export const tools: readonly Tool[] = [ "zones" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + } + }, + "required": [ + "account_id", + "address_map_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", + "path", "body" ], $defs: { @@ -140,9 +156,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -176,10 +192,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -188,29 +204,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_zones_update", + name: "addressing_addressMaps_zones_update", title: "Add a zone membership to an Address Map", description: "Add a zone as a member of a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, - "member_zone_id": { - "$ref": "#/$defs/addressing_zone_identifier", - "description": "Identifier of a zone." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + }, + "member_zone_id": { + "$ref": "#/$defs/addressing_zone_identifier", + "description": "Identifier of a zone." + } + }, + "required": [ + "account_id", + "address_map_id", + "member_zone_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", - "member_zone_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -221,9 +245,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -252,10 +276,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -263,20 +287,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_address_maps_zones_update_bulk", + name: "addressing_addressMaps_zones_updateBulk", title: "Add Multiple Zones to an Address Map", description: "Add multiple zones as members of a particular address map.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." - }, "body": { "properties": { "zones": { @@ -290,11 +306,27 @@ export const tools: readonly Tool[] = [ "zones" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "address_map_id": { + "$ref": "#/$defs/addressing_address_map_identifier", + "description": "Identifier of an Address Map." + } + }, + "required": [ + "account_id", + "address_map_id" + ], + "type": "object" } }, required: [ - "account_id", - "address_map_id", + "path", "body" ], $defs: { @@ -306,9 +338,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -337,10 +369,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/leases/outputs.ts b/src/generated/forge-mcp/addressing/leases/outputs.ts index be805b164..f9efb3bad 100644 --- a/src/generated/forge-mcp/addressing/leases/outputs.ts +++ b/src/generated/forge-mcp/addressing/leases/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `addressing_cidr-2` in responses. */ -export const addressing_cidr_2_output: JsonSchema = { +export const addressing_cidr$$2: JsonSchema = { "type": "string" }; /** * The schema of `addressing_created_at` in responses. */ -export const addressing_created_at_output: JsonSchema = { +export const addressing_created_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -21,7 +21,7 @@ export const addressing_created_at_output: JsonSchema = { /** * The schema of `addressing_lease` in responses. */ -export const addressing_lease_output: JsonSchema = { +export const addressing_lease: JsonSchema = { "properties": { "active_from": { "format": "date-time", @@ -55,21 +55,21 @@ export const addressing_lease_output: JsonSchema = { /** * The schema of `addressing_lease_id` in responses. */ -export const addressing_lease_id_output: JsonSchema = { +export const addressing_lease_id: JsonSchema = { "type": "string" }; /** * The schema of `addressing_lease_owner_id` in responses. */ -export const addressing_lease_owner_id_output: JsonSchema = { +export const addressing_lease_owner_id: JsonSchema = { "type": "string" }; /** * The schema of `addressing_modified_at` in responses. */ -export const addressing_modified_at_output: JsonSchema = { +export const addressing_modified_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -77,7 +77,7 @@ export const addressing_modified_at_output: JsonSchema = { /** * The schema of `addressing_response_collection-4` in responses. */ -export const addressing_response_collection_4_output: JsonSchema = { +export const addressing_response_collection$$4: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-collection" diff --git a/src/generated/forge-mcp/addressing/leases/schemas.ts b/src/generated/forge-mcp/addressing/leases/schemas.ts index fc75c93c7..ceacb718b 100644 --- a/src/generated/forge-mcp/addressing/leases/schemas.ts +++ b/src/generated/forge-mcp/addressing/leases/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `addressing_account_identifier-2`. */ -export const addressing_account_identifier_2: JsonSchema = { +export const addressing_account_identifier$$2: JsonSchema = { "description": "Identifier of a Cloudflare account.", "type": "string" }; diff --git a/src/generated/forge-mcp/addressing/leases/tools.ts b/src/generated/forge-mcp/addressing/leases/tools.ts index c76cf92f8..af0d94bd1 100644 --- a/src/generated/forge-mcp/addressing/leases/tools.ts +++ b/src/generated/forge-mcp/addressing/leases/tools.ts @@ -3,21 +3,21 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - addressing_api_response_collection_output, - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_messages_output, + addressing_api$$response$$collection, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_messages, } from "../outputs.js"; import { - addressing_cidr_2_output, - addressing_created_at_output, - addressing_lease_id_output, - addressing_lease_output, - addressing_lease_owner_id_output, - addressing_modified_at_output, - addressing_response_collection_4_output, + addressing_cidr$$2, + addressing_created_at, + addressing_lease, + addressing_lease_id, + addressing_lease_owner_id, + addressing_modified_at, + addressing_response_collection$$4, } from "./outputs.js"; -import { addressing_account_identifier_2 } from "./schemas.js"; +import { addressing_account_identifier$$2 } from "./schemas.js"; /** * The tools of `addressing.leases`. @@ -30,31 +30,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier-2", - "description": "Identifier of a Cloudflare account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier-2", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "addressing_account_identifier-2": addressing_account_identifier_2, + "addressing_account_identifier-2": addressing_account_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/addressing_response_collection-4", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_cidr-2": addressing_cidr_2_output, - "addressing_created_at": addressing_created_at_output, - "addressing_lease": addressing_lease_output, - "addressing_lease_id": addressing_lease_id_output, - "addressing_lease_owner_id": addressing_lease_owner_id_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at": addressing_modified_at_output, - "addressing_response_collection-4": addressing_response_collection_4_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_cidr-2": addressing_cidr$$2, + "addressing_created_at": addressing_created_at, + "addressing_lease": addressing_lease, + "addressing_lease_id": addressing_lease_id, + "addressing_lease_owner_id": addressing_lease_owner_id, + "addressing_messages": addressing_messages, + "addressing_modified_at": addressing_modified_at, + "addressing_response_collection-4": addressing_response_collection$$4, }, }, annotations: { @@ -86,17 +94,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_cidr-2": addressing_cidr_2_output, - "addressing_created_at": addressing_created_at_output, - "addressing_lease": addressing_lease_output, - "addressing_lease_id": addressing_lease_id_output, - "addressing_lease_owner_id": addressing_lease_owner_id_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at": addressing_modified_at_output, - "addressing_response_collection-4": addressing_response_collection_4_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_cidr-2": addressing_cidr$$2, + "addressing_created_at": addressing_created_at, + "addressing_lease": addressing_lease, + "addressing_lease_id": addressing_lease_id, + "addressing_lease_owner_id": addressing_lease_owner_id, + "addressing_messages": addressing_messages, + "addressing_modified_at": addressing_modified_at, + "addressing_response_collection-4": addressing_response_collection$$4, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts b/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts index fa05c9b03..2d835d218 100644 --- a/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts +++ b/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `addressing_auto_generated` in responses. */ -export const addressing_auto_generated_output: JsonSchema = { +export const addressing_auto_generated: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_filename` in responses. */ -export const addressing_filename_output: JsonSchema = { +export const addressing_filename: JsonSchema = { "type": "string" }; /** * The schema of `addressing_loa_document` in responses. */ -export const addressing_loa_document_output: JsonSchema = { +export const addressing_loa_document: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/addressing_account_identifier" @@ -53,7 +53,7 @@ export const addressing_loa_document_output: JsonSchema = { /** * The schema of `addressing_loa_document_collection` in responses. */ -export const addressing_loa_document_collection_output: JsonSchema = { +export const addressing_loa_document_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-collection" @@ -75,21 +75,21 @@ export const addressing_loa_document_collection_output: JsonSchema = { /** * The schema of `addressing_size_bytes` in responses. */ -export const addressing_size_bytes_output: JsonSchema = { +export const addressing_size_bytes: JsonSchema = { "type": "integer" }; /** * The schema of `addressing_verified` in responses. */ -export const addressing_verified_output: JsonSchema = { +export const addressing_verified: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_verified_at` in responses. */ -export const addressing_verified_at_output: JsonSchema = { +export const addressing_verified_at: JsonSchema = { "oneOf": [ { "format": "date-time", diff --git a/src/generated/forge-mcp/addressing/loaDocuments/tools.ts b/src/generated/forge-mcp/addressing/loaDocuments/tools.ts index 4953695ff..a8c15d061 100644 --- a/src/generated/forge-mcp/addressing/loaDocuments/tools.ts +++ b/src/generated/forge-mcp/addressing/loaDocuments/tools.ts @@ -2,56 +2,64 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - addressing_account_identifier_output, - addressing_api_response_collection_output, - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_loa_document_identifier_output, - addressing_messages_output, - addressing_timestamp_output, -} from "../outputs.js"; import { addressing_account_identifier, + addressing_api$$response$$collection, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, addressing_loa_document_identifier, + addressing_messages, + addressing_timestamp, +} from "../outputs.js"; +import { + addressing_account_identifier as addressing_account_identifier$, + addressing_loa_document_identifier as addressing_loa_document_identifier$, } from "../schemas.js"; import { - addressing_auto_generated_output, - addressing_filename_output, - addressing_loa_document_collection_output, - addressing_loa_document_output, - addressing_size_bytes_output, - addressing_verified_at_output, - addressing_verified_output, + addressing_auto_generated, + addressing_filename, + addressing_loa_document, + addressing_loa_document_collection, + addressing_size_bytes, + addressing_verified, + addressing_verified_at, } from "./outputs.js"; /** - * The tools of `addressing.loa_documents`. + * The tools of `addressing.loaDocuments`. */ export const tools: readonly Tool[] = [ { - name: "addressing_loa_documents_get", + name: "addressing_loaDocuments_get", title: "Download LOA Document", description: "Download specified LOA document under the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "loa_document_id": { - "$ref": "#/$defs/addressing_loa_document_identifier", - "description": "Identifier for the uploaded LOA document." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "loa_document_id": { + "$ref": "#/$defs/addressing_loa_document_identifier", + "description": "Identifier for the uploaded LOA document." + } + }, + "required": [ + "account_id", + "loa_document_id" + ], + "type": "object" } }, required: [ - "account_id", - "loa_document_id" + "path" ], $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_account_identifier": addressing_account_identifier$, + "addressing_loa_document_identifier": addressing_loa_document_identifier$, }, }, annotations: { @@ -77,8 +85,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -86,40 +94,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_loa_documents_list", + name: "addressing_loaDocuments_list", title: "List LOA Documents", description: "List all LOA documents uploaded under the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "addressing_account_identifier": addressing_account_identifier, + "addressing_account_identifier": addressing_account_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_loa_document_collection", $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_auto_generated": addressing_auto_generated_output, - "addressing_filename": addressing_filename_output, - "addressing_loa_document": addressing_loa_document_output, - "addressing_loa_document_collection": addressing_loa_document_collection_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_size_bytes": addressing_size_bytes_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_verified": addressing_verified_output, - "addressing_verified_at": addressing_verified_at_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_auto_generated": addressing_auto_generated, + "addressing_filename": addressing_filename, + "addressing_loa_document": addressing_loa_document, + "addressing_loa_document_collection": addressing_loa_document_collection, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_size_bytes": addressing_size_bytes, + "addressing_timestamp": addressing_timestamp, + "addressing_verified": addressing_verified, + "addressing_verified_at": addressing_verified_at, }, }, annotations: { @@ -154,20 +170,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_auto_generated": addressing_auto_generated_output, - "addressing_filename": addressing_filename_output, - "addressing_loa_document": addressing_loa_document_output, - "addressing_loa_document_collection": addressing_loa_document_collection_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_size_bytes": addressing_size_bytes_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_verified": addressing_verified_output, - "addressing_verified_at": addressing_verified_at_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_auto_generated": addressing_auto_generated, + "addressing_filename": addressing_filename, + "addressing_loa_document": addressing_loa_document, + "addressing_loa_document_collection": addressing_loa_document_collection, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_size_bytes": addressing_size_bytes, + "addressing_timestamp": addressing_timestamp, + "addressing_verified": addressing_verified, + "addressing_verified_at": addressing_verified_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/outputs.ts b/src/generated/forge-mcp/addressing/outputs.ts index 8da72d19a..cf614f53a 100644 --- a/src/generated/forge-mcp/addressing/outputs.ts +++ b/src/generated/forge-mcp/addressing/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `addressing_account_identifier` in responses. */ -export const addressing_account_identifier_output: JsonSchema = { +export const addressing_account_identifier: JsonSchema = { "type": "string" }; /** * The schema of `addressing_api-response-collection` in responses. */ -export const addressing_api_response_collection_output: JsonSchema = { +export const addressing_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-common" @@ -49,7 +49,7 @@ export const addressing_api_response_collection_output: JsonSchema = { /** * The schema of `addressing_api-response-common` in responses. */ -export const addressing_api_response_common_output: JsonSchema = { +export const addressing_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/addressing_messages" @@ -75,7 +75,7 @@ export const addressing_api_response_common_output: JsonSchema = { /** * The schema of `addressing_api-response-common-failure` in responses. */ -export const addressing_api_response_common_failure_output: JsonSchema = { +export const addressing_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/addressing_messages" @@ -105,7 +105,7 @@ export const addressing_api_response_common_failure_output: JsonSchema = { /** * The schema of `addressing_api-response-single` in responses. */ -export const addressing_api_response_single_output: JsonSchema = { +export const addressing_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/addressing_messages" @@ -131,7 +131,7 @@ export const addressing_api_response_single_output: JsonSchema = { /** * The schema of `addressing_loa_document_identifier` in responses. */ -export const addressing_loa_document_identifier_output: JsonSchema = { +export const addressing_loa_document_identifier: JsonSchema = { "oneOf": [ { "type": "string" @@ -145,7 +145,7 @@ export const addressing_loa_document_identifier_output: JsonSchema = { /** * The schema of `addressing_messages` in responses. */ -export const addressing_messages_output: JsonSchema = { +export const addressing_messages: JsonSchema = { "items": { "properties": { "code": { @@ -178,21 +178,21 @@ export const addressing_messages_output: JsonSchema = { /** * The schema of `addressing_service_identifier` in responses. */ -export const addressing_service_identifier_output: JsonSchema = { +export const addressing_service_identifier: JsonSchema = { "type": "string" }; /** * The schema of `addressing_service_name` in responses. */ -export const addressing_service_name_output: JsonSchema = { +export const addressing_service_name: JsonSchema = { "type": "string" }; /** * The schema of `addressing_timestamp` in responses. */ -export const addressing_timestamp_output: JsonSchema = { +export const addressing_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts index 0fa49c3d8..b80f6b7ec 100644 --- a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts +++ b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `addressing_advertised-2` in responses. */ -export const addressing_advertised_2_output: JsonSchema = { +export const addressing_advertised$$2: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -20,7 +20,7 @@ export const addressing_advertised_2_output: JsonSchema = { /** * The schema of `addressing_asn-2` in responses. */ -export const addressing_asn_2_output: JsonSchema = { +export const addressing_asn$$2: JsonSchema = { "oneOf": [ { "type": "integer" @@ -34,21 +34,21 @@ export const addressing_asn_2_output: JsonSchema = { /** * The schema of `addressing_asn_prepend_count` in responses. */ -export const addressing_asn_prepend_count_output: JsonSchema = { +export const addressing_asn_prepend_count: JsonSchema = { "type": "integer" }; /** * The schema of `addressing_auto_advertise_withdraw` in responses. */ -export const addressing_auto_advertise_withdraw_output: JsonSchema = { +export const addressing_auto_advertise_withdraw: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_bgp_on_demand` in responses. */ -export const addressing_bgp_on_demand_output: JsonSchema = { +export const addressing_bgp_on_demand: JsonSchema = { "properties": { "advertised": { "$ref": "#/$defs/addressing_advertised-2" @@ -69,14 +69,14 @@ export const addressing_bgp_on_demand_output: JsonSchema = { /** * The schema of `addressing_bgp_prefix_identifier` in responses. */ -export const addressing_bgp_prefix_identifier_output: JsonSchema = { +export const addressing_bgp_prefix_identifier: JsonSchema = { "type": "string" }; /** * The schema of `addressing_bgp_signal_opts` in responses. */ -export const addressing_bgp_signal_opts_output: JsonSchema = { +export const addressing_bgp_signal_opts: JsonSchema = { "properties": { "enabled": { "$ref": "#/$defs/addressing_bgp_signaling_enabled" @@ -91,14 +91,14 @@ export const addressing_bgp_signal_opts_output: JsonSchema = { /** * The schema of `addressing_bgp_signaling_enabled` in responses. */ -export const addressing_bgp_signaling_enabled_output: JsonSchema = { +export const addressing_bgp_signaling_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_bgp_signaling_modified_at` in responses. */ -export const addressing_bgp_signaling_modified_at_output: JsonSchema = { +export const addressing_bgp_signaling_modified_at: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -113,7 +113,7 @@ export const addressing_bgp_signaling_modified_at_output: JsonSchema = { /** * The schema of `addressing_ipam-bgp-prefixes` in responses. */ -export const addressing_ipam_bgp_prefixes_output: JsonSchema = { +export const addressing_ipam$$bgp$$prefixes: JsonSchema = { "properties": { "asn": { "$ref": "#/$defs/addressing_asn-2" @@ -149,21 +149,21 @@ export const addressing_ipam_bgp_prefixes_output: JsonSchema = { /** * The schema of `addressing_on_demand_enabled-2` in responses. */ -export const addressing_on_demand_enabled_2_output: JsonSchema = { +export const addressing_on_demand_enabled$$2: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_on_demand_locked-2` in responses. */ -export const addressing_on_demand_locked_2_output: JsonSchema = { +export const addressing_on_demand_locked$$2: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_response_collection_bgp` in responses. */ -export const addressing_response_collection_bgp_output: JsonSchema = { +export const addressing_response_collection_bgp: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-single" @@ -185,7 +185,7 @@ export const addressing_response_collection_bgp_output: JsonSchema = { /** * The schema of `addressing_single_response_bgp` in responses. */ -export const addressing_single_response_bgp_output: JsonSchema = { +export const addressing_single_response_bgp: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-single" diff --git a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts index 82db1461d..4546a1095 100644 --- a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts @@ -3,98 +3,109 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_api_response_single_output, - addressing_messages_output, - addressing_timestamp_output, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_api$$response$$single, + addressing_messages, + addressing_timestamp, } from "../../outputs.js"; import { addressing_account_identifier } from "../../schemas.js"; import { - addressing_cidr_output, - addressing_modified_at_nullable_output, + addressing_cidr, + addressing_modified_at_nullable, } from "../outputs.js"; -import { addressing_cidr, addressing_prefix_identifier } from "../schemas.js"; import { - addressing_advertised_2_output, - addressing_asn_2_output, - addressing_asn_prepend_count_output, - addressing_auto_advertise_withdraw_output, - addressing_bgp_on_demand_output, - addressing_bgp_prefix_identifier_output, - addressing_bgp_signal_opts_output, - addressing_bgp_signaling_enabled_output, - addressing_bgp_signaling_modified_at_output, - addressing_ipam_bgp_prefixes_output, - addressing_on_demand_enabled_2_output, - addressing_on_demand_locked_2_output, - addressing_response_collection_bgp_output, - addressing_single_response_bgp_output, -} from "./outputs.js"; + addressing_cidr as addressing_cidr$, + addressing_prefix_identifier, +} from "../schemas.js"; import { + addressing_advertised$$2, + addressing_asn$$2, addressing_asn_prepend_count, addressing_auto_advertise_withdraw, - addressing_bgp_prefix_create, + addressing_bgp_on_demand, addressing_bgp_prefix_identifier, + addressing_bgp_signal_opts, + addressing_bgp_signaling_enabled, + addressing_bgp_signaling_modified_at, + addressing_ipam$$bgp$$prefixes, + addressing_on_demand_enabled$$2, + addressing_on_demand_locked$$2, + addressing_response_collection_bgp, + addressing_single_response_bgp, +} from "./outputs.js"; +import { + addressing_asn_prepend_count as addressing_asn_prepend_count$, + addressing_auto_advertise_withdraw as addressing_auto_advertise_withdraw$, + addressing_bgp_prefix_create, + addressing_bgp_prefix_identifier as addressing_bgp_prefix_identifier$, addressing_bgp_prefix_update_advertisement, } from "./schemas.js"; /** - * The tools of `addressing.prefixes.bgp_prefixes`. + * The tools of `addressing.prefixes.bgpPrefixes`. */ export const tools: readonly Tool[] = [ { - name: "addressing_prefixes_bgp_prefixes_create", + name: "addressing_prefixes_bgpPrefixes_create", title: "Create BGP Prefix", description: "Create a BGP prefix, controlling the BGP advertisement status of a specific subnet. When created, BGP prefixes are initially withdrawn, and can be advertised with the Update BGP Prefix API.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, "body": { "$ref": "#/$defs/addressing_bgp_prefix_create" }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", + "path", "body" ], $defs: { "addressing_account_identifier": addressing_account_identifier, "addressing_bgp_prefix_create": addressing_bgp_prefix_create, - "addressing_cidr": addressing_cidr, + "addressing_cidr": addressing_cidr$, "addressing_prefix_identifier": addressing_prefix_identifier, }, }, outputSchema: { "$ref": "#/$defs/addressing_single_response_bgp", $defs: { - "addressing_advertised-2": addressing_advertised_2_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_asn-2": addressing_asn_2_output, - "addressing_asn_prepend_count": addressing_asn_prepend_count_output, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, - "addressing_bgp_on_demand": addressing_bgp_on_demand_output, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, - "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, - "addressing_cidr": addressing_cidr_output, - "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at_nullable": addressing_modified_at_nullable_output, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, - "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, - "addressing_single_response_bgp": addressing_single_response_bgp_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_advertised-2": addressing_advertised$$2, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_asn-2": addressing_asn$$2, + "addressing_asn_prepend_count": addressing_asn_prepend_count, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, + "addressing_bgp_on_demand": addressing_bgp_on_demand, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, + "addressing_cidr": addressing_cidr, + "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, + "addressing_messages": addressing_messages, + "addressing_modified_at_nullable": addressing_modified_at_nullable, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, + "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, + "addressing_single_response_bgp": addressing_single_response_bgp, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -123,25 +134,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_advertised-2": addressing_advertised_2_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_asn-2": addressing_asn_2_output, - "addressing_asn_prepend_count": addressing_asn_prepend_count_output, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, - "addressing_bgp_on_demand": addressing_bgp_on_demand_output, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, - "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, - "addressing_cidr": addressing_cidr_output, - "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at_nullable": addressing_modified_at_nullable_output, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, - "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, - "addressing_single_response_bgp": addressing_single_response_bgp_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_advertised-2": addressing_advertised$$2, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_asn-2": addressing_asn$$2, + "addressing_asn_prepend_count": addressing_asn_prepend_count, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, + "addressing_bgp_on_demand": addressing_bgp_on_demand, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, + "addressing_cidr": addressing_cidr, + "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, + "addressing_messages": addressing_messages, + "addressing_modified_at_nullable": addressing_modified_at_nullable, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, + "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, + "addressing_single_response_bgp": addressing_single_response_bgp, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -150,41 +161,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_prefixes_bgp_prefixes_delete", + name: "addressing_prefixes_bgpPrefixes_delete", title: "Delete BGP Prefix", description: "Delete a BGP Prefix associated with the specified IP Prefix. A BGP Prefix must be withdrawn before it can be deleted.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "bgp_prefix_id": { - "$ref": "#/$defs/addressing_bgp_prefix_identifier", - "description": "Identifier of BGP Prefix." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "bgp_prefix_id": { + "$ref": "#/$defs/addressing_bgp_prefix_identifier", + "description": "Identifier of BGP Prefix." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id", + "bgp_prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", - "bgp_prefix_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier$, "addressing_prefix_identifier": addressing_prefix_identifier, }, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-common", $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -206,9 +225,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -216,39 +235,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_prefixes_bgp_prefixes_edit", + name: "addressing_prefixes_bgpPrefixes_edit", title: "Update BGP Prefix", description: "Update the properties of a BGP Prefix, such as the on demand advertisement status (advertised or withdrawn).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "bgp_prefix_id": { - "$ref": "#/$defs/addressing_bgp_prefix_identifier", - "description": "Identifier of BGP Prefix." - }, "body": { "$ref": "#/$defs/addressing_bgp_prefix_update_advertisement" }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "bgp_prefix_id": { + "$ref": "#/$defs/addressing_bgp_prefix_identifier", + "description": "Identifier of BGP Prefix." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id", + "bgp_prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", - "bgp_prefix_id", + "path", "body" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_asn_prepend_count": addressing_asn_prepend_count, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_asn_prepend_count": addressing_asn_prepend_count$, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw$, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier$, "addressing_bgp_prefix_update_advertisement": addressing_bgp_prefix_update_advertisement, "addressing_prefix_identifier": addressing_prefix_identifier, }, @@ -256,24 +283,24 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_single_response_bgp", $defs: { - "addressing_advertised-2": addressing_advertised_2_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_asn-2": addressing_asn_2_output, - "addressing_asn_prepend_count": addressing_asn_prepend_count_output, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, - "addressing_bgp_on_demand": addressing_bgp_on_demand_output, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, - "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, - "addressing_cidr": addressing_cidr_output, - "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at_nullable": addressing_modified_at_nullable_output, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, - "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, - "addressing_single_response_bgp": addressing_single_response_bgp_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_advertised-2": addressing_advertised$$2, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_asn-2": addressing_asn$$2, + "addressing_asn_prepend_count": addressing_asn_prepend_count, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, + "addressing_bgp_on_demand": addressing_bgp_on_demand, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, + "addressing_cidr": addressing_cidr, + "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, + "addressing_messages": addressing_messages, + "addressing_modified_at_nullable": addressing_modified_at_nullable, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, + "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, + "addressing_single_response_bgp": addressing_single_response_bgp, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -309,25 +336,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_advertised-2": addressing_advertised_2_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_asn-2": addressing_asn_2_output, - "addressing_asn_prepend_count": addressing_asn_prepend_count_output, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, - "addressing_bgp_on_demand": addressing_bgp_on_demand_output, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, - "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, - "addressing_cidr": addressing_cidr_output, - "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at_nullable": addressing_modified_at_nullable_output, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, - "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, - "addressing_single_response_bgp": addressing_single_response_bgp_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_advertised-2": addressing_advertised$$2, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_asn-2": addressing_asn$$2, + "addressing_asn_prepend_count": addressing_asn_prepend_count, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, + "addressing_bgp_on_demand": addressing_bgp_on_demand, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, + "addressing_cidr": addressing_cidr, + "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, + "addressing_messages": addressing_messages, + "addressing_modified_at_nullable": addressing_modified_at_nullable, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, + "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, + "addressing_single_response_bgp": addressing_single_response_bgp, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -336,57 +363,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_prefixes_bgp_prefixes_get", + name: "addressing_prefixes_bgpPrefixes_get", title: "Fetch BGP Prefix", description: "Retrieve a single BGP Prefix according to its identifier", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "bgp_prefix_id": { - "$ref": "#/$defs/addressing_bgp_prefix_identifier", - "description": "Identifier of BGP Prefix." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "bgp_prefix_id": { + "$ref": "#/$defs/addressing_bgp_prefix_identifier", + "description": "Identifier of BGP Prefix." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id", + "bgp_prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", - "bgp_prefix_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier$, "addressing_prefix_identifier": addressing_prefix_identifier, }, }, outputSchema: { "$ref": "#/$defs/addressing_single_response_bgp", $defs: { - "addressing_advertised-2": addressing_advertised_2_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_asn-2": addressing_asn_2_output, - "addressing_asn_prepend_count": addressing_asn_prepend_count_output, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, - "addressing_bgp_on_demand": addressing_bgp_on_demand_output, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, - "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, - "addressing_cidr": addressing_cidr_output, - "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at_nullable": addressing_modified_at_nullable_output, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, - "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, - "addressing_single_response_bgp": addressing_single_response_bgp_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_advertised-2": addressing_advertised$$2, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_asn-2": addressing_asn$$2, + "addressing_asn_prepend_count": addressing_asn_prepend_count, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, + "addressing_bgp_on_demand": addressing_bgp_on_demand, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, + "addressing_cidr": addressing_cidr, + "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, + "addressing_messages": addressing_messages, + "addressing_modified_at_nullable": addressing_modified_at_nullable, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, + "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, + "addressing_single_response_bgp": addressing_single_response_bgp, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -425,25 +460,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_advertised-2": addressing_advertised_2_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_asn-2": addressing_asn_2_output, - "addressing_asn_prepend_count": addressing_asn_prepend_count_output, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, - "addressing_bgp_on_demand": addressing_bgp_on_demand_output, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, - "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, - "addressing_cidr": addressing_cidr_output, - "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at_nullable": addressing_modified_at_nullable_output, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, - "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, - "addressing_single_response_bgp": addressing_single_response_bgp_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_advertised-2": addressing_advertised$$2, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_asn-2": addressing_asn$$2, + "addressing_asn_prepend_count": addressing_asn_prepend_count, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, + "addressing_bgp_on_demand": addressing_bgp_on_demand, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, + "addressing_cidr": addressing_cidr, + "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, + "addressing_messages": addressing_messages, + "addressing_modified_at_nullable": addressing_modified_at_nullable, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, + "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, + "addressing_single_response_bgp": addressing_single_response_bgp, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -451,24 +486,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_prefixes_bgp_prefixes_list", + name: "addressing_prefixes_bgpPrefixes_list", title: "List BGP Prefixes", description: "List all BGP Prefixes within the specified IP Prefix. BGP Prefixes are used to control which specific subnets are advertised to the Internet. It is possible to advertise subnets more specific than an IP Prefix by creating more specific BGP Prefixes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -478,24 +521,24 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/addressing_response_collection_bgp", $defs: { - "addressing_advertised-2": addressing_advertised_2_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_asn-2": addressing_asn_2_output, - "addressing_asn_prepend_count": addressing_asn_prepend_count_output, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, - "addressing_bgp_on_demand": addressing_bgp_on_demand_output, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, - "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, - "addressing_cidr": addressing_cidr_output, - "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at_nullable": addressing_modified_at_nullable_output, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, - "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, - "addressing_response_collection_bgp": addressing_response_collection_bgp_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_advertised-2": addressing_advertised$$2, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_asn-2": addressing_asn$$2, + "addressing_asn_prepend_count": addressing_asn_prepend_count, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, + "addressing_bgp_on_demand": addressing_bgp_on_demand, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, + "addressing_cidr": addressing_cidr, + "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, + "addressing_messages": addressing_messages, + "addressing_modified_at_nullable": addressing_modified_at_nullable, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, + "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, + "addressing_response_collection_bgp": addressing_response_collection_bgp, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -534,25 +577,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_advertised-2": addressing_advertised_2_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_asn-2": addressing_asn_2_output, - "addressing_asn_prepend_count": addressing_asn_prepend_count_output, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw_output, - "addressing_bgp_on_demand": addressing_bgp_on_demand_output, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier_output, - "addressing_bgp_signal_opts": addressing_bgp_signal_opts_output, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled_output, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at_output, - "addressing_cidr": addressing_cidr_output, - "addressing_ipam-bgp-prefixes": addressing_ipam_bgp_prefixes_output, - "addressing_messages": addressing_messages_output, - "addressing_modified_at_nullable": addressing_modified_at_nullable_output, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled_2_output, - "addressing_on_demand_locked-2": addressing_on_demand_locked_2_output, - "addressing_response_collection_bgp": addressing_response_collection_bgp_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_advertised-2": addressing_advertised$$2, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_asn-2": addressing_asn$$2, + "addressing_asn_prepend_count": addressing_asn_prepend_count, + "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, + "addressing_bgp_on_demand": addressing_bgp_on_demand, + "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, + "addressing_bgp_signal_opts": addressing_bgp_signal_opts, + "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, + "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, + "addressing_cidr": addressing_cidr, + "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, + "addressing_messages": addressing_messages, + "addressing_modified_at_nullable": addressing_modified_at_nullable, + "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, + "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, + "addressing_response_collection_bgp": addressing_response_collection_bgp, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts index fd843d9e7..ecf302b78 100644 --- a/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts +++ b/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `addressing_delegated_account_identifier` in responses. */ -export const addressing_delegated_account_identifier_output: JsonSchema = { +export const addressing_delegated_account_identifier: JsonSchema = { "type": "string" }; /** * The schema of `addressing_delegation_identifier` in responses. */ -export const addressing_delegation_identifier_output: JsonSchema = { +export const addressing_delegation_identifier: JsonSchema = { "type": "string" }; /** * The schema of `addressing_id_response` in responses. */ -export const addressing_id_response_output: JsonSchema = { +export const addressing_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-single" @@ -44,7 +44,7 @@ export const addressing_id_response_output: JsonSchema = { /** * The schema of `addressing_ipam-delegations` in responses. */ -export const addressing_ipam_delegations_output: JsonSchema = { +export const addressing_ipam$$delegations: JsonSchema = { "properties": { "cidr": { "$ref": "#/$defs/addressing_cidr" @@ -71,7 +71,7 @@ export const addressing_ipam_delegations_output: JsonSchema = { /** * The schema of `addressing_response_collection-2` in responses. */ -export const addressing_response_collection_2_output: JsonSchema = { +export const addressing_response_collection$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-collection" @@ -93,7 +93,7 @@ export const addressing_response_collection_2_output: JsonSchema = { /** * The schema of `addressing_single_response-2` in responses. */ -export const addressing_single_response_2_output: JsonSchema = { +export const addressing_single_response$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-single" diff --git a/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts b/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts index 01c06683c..fcddbaa92 100644 --- a/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts @@ -3,30 +3,30 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - addressing_api_response_collection_output, - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_api_response_single_output, - addressing_messages_output, - addressing_timestamp_output, + addressing_api$$response$$collection, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_api$$response$$single, + addressing_messages, + addressing_timestamp, } from "../../outputs.js"; import { addressing_account_identifier } from "../../schemas.js"; +import { addressing_cidr, addressing_prefix_identifier } from "../outputs.js"; import { - addressing_cidr_output, - addressing_prefix_identifier_output, -} from "../outputs.js"; -import { addressing_cidr, addressing_prefix_identifier } from "../schemas.js"; -import { - addressing_delegated_account_identifier_output, - addressing_delegation_identifier_output, - addressing_id_response_output, - addressing_ipam_delegations_output, - addressing_response_collection_2_output, - addressing_single_response_2_output, -} from "./outputs.js"; + addressing_cidr as addressing_cidr$, + addressing_prefix_identifier as addressing_prefix_identifier$, +} from "../schemas.js"; import { addressing_delegated_account_identifier, addressing_delegation_identifier, + addressing_id_response, + addressing_ipam$$delegations, + addressing_response_collection$$2, + addressing_single_response$$2, +} from "./outputs.js"; +import { + addressing_delegated_account_identifier as addressing_delegated_account_identifier$, + addressing_delegation_identifier as addressing_delegation_identifier$, } from "./schemas.js"; /** @@ -40,10 +40,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, "body": { "properties": { "cidr": { @@ -61,35 +57,47 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", + "path", "body" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_cidr": addressing_cidr, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_cidr": addressing_cidr$, + "addressing_delegated_account_identifier": addressing_delegated_account_identifier$, + "addressing_prefix_identifier": addressing_prefix_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_single_response-2", $defs: { - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier_output, - "addressing_delegation_identifier": addressing_delegation_identifier_output, - "addressing_ipam-delegations": addressing_ipam_delegations_output, - "addressing_messages": addressing_messages_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response-2": addressing_single_response_2_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_cidr": addressing_cidr, + "addressing_delegated_account_identifier": addressing_delegated_account_identifier, + "addressing_delegation_identifier": addressing_delegation_identifier, + "addressing_ipam-delegations": addressing_ipam$$delegations, + "addressing_messages": addressing_messages, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response-2": addressing_single_response$$2, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -123,16 +131,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier_output, - "addressing_delegation_identifier": addressing_delegation_identifier_output, - "addressing_ipam-delegations": addressing_ipam_delegations_output, - "addressing_messages": addressing_messages_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response-2": addressing_single_response_2_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_cidr": addressing_cidr, + "addressing_delegated_account_identifier": addressing_delegated_account_identifier, + "addressing_delegation_identifier": addressing_delegation_identifier, + "addressing_ipam-delegations": addressing_ipam$$delegations, + "addressing_messages": addressing_messages, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response-2": addressing_single_response$$2, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -147,37 +155,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "delegation_id": { - "$ref": "#/$defs/addressing_delegation_identifier", - "description": "Identifier of a Delegation." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "delegation_id": { + "$ref": "#/$defs/addressing_delegation_identifier", + "description": "Identifier of a Delegation." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id", + "delegation_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", - "delegation_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_delegation_identifier": addressing_delegation_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_delegation_identifier": addressing_delegation_identifier$, + "addressing_prefix_identifier": addressing_prefix_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_id_response", $defs: { - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_delegation_identifier": addressing_delegation_identifier_output, - "addressing_id_response": addressing_id_response_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_delegation_identifier": addressing_delegation_identifier, + "addressing_id_response": addressing_id_response, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -211,11 +227,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_delegation_identifier": addressing_delegation_identifier_output, - "addressing_id_response": addressing_id_response_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_delegation_identifier": addressing_delegation_identifier, + "addressing_id_response": addressing_id_response, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -229,37 +245,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_prefix_identifier": addressing_prefix_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_response_collection-2", $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier_output, - "addressing_delegation_identifier": addressing_delegation_identifier_output, - "addressing_ipam-delegations": addressing_ipam_delegations_output, - "addressing_messages": addressing_messages_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_response_collection-2": addressing_response_collection_2_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_cidr": addressing_cidr, + "addressing_delegated_account_identifier": addressing_delegated_account_identifier, + "addressing_delegation_identifier": addressing_delegation_identifier, + "addressing_ipam-delegations": addressing_ipam$$delegations, + "addressing_messages": addressing_messages, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_response_collection-2": addressing_response_collection$$2, + "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -288,17 +312,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier_output, - "addressing_delegation_identifier": addressing_delegation_identifier_output, - "addressing_ipam-delegations": addressing_ipam_delegations_output, - "addressing_messages": addressing_messages_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_response_collection-2": addressing_response_collection_2_output, - "addressing_timestamp": addressing_timestamp_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_cidr": addressing_cidr, + "addressing_delegated_account_identifier": addressing_delegated_account_identifier, + "addressing_delegation_identifier": addressing_delegation_identifier, + "addressing_ipam-delegations": addressing_ipam$$delegations, + "addressing_messages": addressing_messages, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_response_collection-2": addressing_response_collection$$2, + "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/prefixes/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/outputs.ts index 9bdc4e9c5..dc156c335 100644 --- a/src/generated/forge-mcp/addressing/prefixes/outputs.ts +++ b/src/generated/forge-mcp/addressing/prefixes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `addressing_advertised` in responses. */ -export const addressing_advertised_output: JsonSchema = { +export const addressing_advertised: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -20,7 +20,7 @@ export const addressing_advertised_output: JsonSchema = { /** * The schema of `addressing_advertised_modified_at_nullable` in responses. */ -export const addressing_advertised_modified_at_nullable_output: JsonSchema = { +export const addressing_advertised_modified_at_nullable: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -35,42 +35,42 @@ export const addressing_advertised_modified_at_nullable_output: JsonSchema = { /** * The schema of `addressing_approved` in responses. */ -export const addressing_approved_output: JsonSchema = { +export const addressing_approved: JsonSchema = { "type": "string" }; /** * The schema of `addressing_asn` in responses. */ -export const addressing_asn_output: JsonSchema = { +export const addressing_asn: JsonSchema = { "type": "integer" }; /** * The schema of `addressing_cidr` in responses. */ -export const addressing_cidr_output: JsonSchema = { +export const addressing_cidr: JsonSchema = { "type": "string" }; /** * The schema of `addressing_delegate_loa_creation` in responses. */ -export const addressing_delegate_loa_creation_output: JsonSchema = { +export const addressing_delegate_loa_creation: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_description` in responses. */ -export const addressing_description_output: JsonSchema = { +export const addressing_description: JsonSchema = { "type": "string" }; /** * The schema of `addressing_ipam-prefixes` in responses. */ -export const addressing_ipam_prefixes_output: JsonSchema = { +export const addressing_ipam$$prefixes: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/addressing_account_identifier" @@ -133,7 +133,7 @@ export const addressing_ipam_prefixes_output: JsonSchema = { /** * The schema of `addressing_modified_at_nullable` in responses. */ -export const addressing_modified_at_nullable_output: JsonSchema = { +export const addressing_modified_at_nullable: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -148,35 +148,35 @@ export const addressing_modified_at_nullable_output: JsonSchema = { /** * The schema of `addressing_on_demand_enabled` in responses. */ -export const addressing_on_demand_enabled_output: JsonSchema = { +export const addressing_on_demand_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_on_demand_locked` in responses. */ -export const addressing_on_demand_locked_output: JsonSchema = { +export const addressing_on_demand_locked: JsonSchema = { "type": "boolean" }; /** * The schema of `addressing_ownership_validation_token` in responses. */ -export const addressing_ownership_validation_token_output: JsonSchema = { +export const addressing_ownership_validation_token: JsonSchema = { "type": "string" }; /** * The schema of `addressing_prefix_identifier` in responses. */ -export const addressing_prefix_identifier_output: JsonSchema = { +export const addressing_prefix_identifier: JsonSchema = { "type": "string" }; /** * The schema of `addressing_response_collection` in responses. */ -export const addressing_response_collection_output: JsonSchema = { +export const addressing_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-single" @@ -198,7 +198,7 @@ export const addressing_response_collection_output: JsonSchema = { /** * The schema of `addressing_single_response` in responses. */ -export const addressing_single_response_output: JsonSchema = { +export const addressing_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/addressing_api-response-single" @@ -217,6 +217,6 @@ export const addressing_single_response_output: JsonSchema = { /** * The schema of `addressing_validation_state` in responses. */ -export const addressing_validation_state_output: JsonSchema = { +export const addressing_validation_state: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts index dc82c9755..44a22b634 100644 --- a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts +++ b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `addressing_provisioning` in responses. */ -export const addressing_provisioning_output: JsonSchema = { +export const addressing_provisioning: JsonSchema = { "properties": { "state": { "enum": [ @@ -23,7 +23,7 @@ export const addressing_provisioning_output: JsonSchema = { /** * The schema of `addressing_service_binding` in responses. */ -export const addressing_service_binding_output: JsonSchema = { +export const addressing_service_binding: JsonSchema = { "properties": { "cidr": { "$ref": "#/$defs/addressing_cidr" @@ -47,6 +47,6 @@ export const addressing_service_binding_output: JsonSchema = { /** * The schema of `addressing_service_binding_identifier` in responses. */ -export const addressing_service_binding_identifier_output: JsonSchema = { +export const addressing_service_binding_identifier: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts index 4145a455f..8624d50ad 100644 --- a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts @@ -3,61 +3,72 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_messages_output, - addressing_service_identifier_output, - addressing_service_name_output, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_messages, + addressing_service_identifier, + addressing_service_name, } from "../../outputs.js"; import { addressing_account_identifier, - addressing_service_identifier, + addressing_service_identifier as addressing_service_identifier$, } from "../../schemas.js"; -import { addressing_cidr_output } from "../outputs.js"; -import { addressing_cidr, addressing_prefix_identifier } from "../schemas.js"; +import { addressing_cidr } from "../outputs.js"; import { - addressing_provisioning_output, - addressing_service_binding_identifier_output, - addressing_service_binding_output, + addressing_cidr as addressing_cidr$, + addressing_prefix_identifier, +} from "../schemas.js"; +import { + addressing_provisioning, + addressing_service_binding, + addressing_service_binding_identifier, } from "./outputs.js"; import { addressing_create_binding_request, - addressing_service_binding_identifier, + addressing_service_binding_identifier as addressing_service_binding_identifier$, } from "./schemas.js"; /** - * The tools of `addressing.prefixes.service_bindings`. + * The tools of `addressing.prefixes.serviceBindings`. */ export const tools: readonly Tool[] = [ { - name: "addressing_prefixes_service_bindings_create", + name: "addressing_prefixes_serviceBindings_create", title: "Create Service Binding", description: "Creates a new Service Binding, routing traffic to IPs within the given CIDR to a service running on Cloudflare's network.\n**NOTE:** The first Service Binding created for an IP Prefix must exactly match the IP Prefix's CIDR. Subsequent Service Bindings may be created with a more-specific CIDR. Refer to the [Service Bindings Documentation](https://developers.cloudflare.com/byoip/service-bindings/) for compatibility details.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, "body": { "$ref": "#/$defs/addressing_create_binding_request" }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, - "addressing_cidr": addressing_cidr, + "addressing_cidr": addressing_cidr$, "addressing_create_binding_request": addressing_create_binding_request, "addressing_prefix_identifier": addressing_prefix_identifier, - "addressing_service_identifier": addressing_service_identifier, + "addressing_service_identifier": addressing_service_identifier$, }, }, outputSchema: { @@ -75,14 +86,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_cidr": addressing_cidr_output, - "addressing_messages": addressing_messages_output, - "addressing_provisioning": addressing_provisioning_output, - "addressing_service_binding": addressing_service_binding_output, - "addressing_service_binding_identifier": addressing_service_binding_identifier_output, - "addressing_service_identifier": addressing_service_identifier_output, - "addressing_service_name": addressing_service_name_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_cidr": addressing_cidr, + "addressing_messages": addressing_messages, + "addressing_provisioning": addressing_provisioning, + "addressing_service_binding": addressing_service_binding, + "addressing_service_binding_identifier": addressing_service_binding_identifier, + "addressing_service_identifier": addressing_service_identifier, + "addressing_service_name": addressing_service_name, }, }, annotations: { @@ -121,15 +132,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_cidr": addressing_cidr_output, - "addressing_messages": addressing_messages_output, - "addressing_provisioning": addressing_provisioning_output, - "addressing_service_binding": addressing_service_binding_output, - "addressing_service_binding_identifier": addressing_service_binding_identifier_output, - "addressing_service_identifier": addressing_service_identifier_output, - "addressing_service_name": addressing_service_name_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_cidr": addressing_cidr, + "addressing_messages": addressing_messages, + "addressing_provisioning": addressing_provisioning, + "addressing_service_binding": addressing_service_binding, + "addressing_service_binding_identifier": addressing_service_binding_identifier, + "addressing_service_identifier": addressing_service_identifier, + "addressing_service_name": addressing_service_name, }, }, request: (args) => ({ @@ -138,41 +149,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_prefixes_service_bindings_delete", + name: "addressing_prefixes_serviceBindings_delete", title: "Delete Service Binding", description: "Delete a Service Binding", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "binding_id": { - "$ref": "#/$defs/addressing_service_binding_identifier", - "description": "Identifier of a Service Binding." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "binding_id": { + "$ref": "#/$defs/addressing_service_binding_identifier", + "description": "Identifier of a Service Binding." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id", + "binding_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", - "binding_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, "addressing_prefix_identifier": addressing_prefix_identifier, - "addressing_service_binding_identifier": addressing_service_binding_identifier, + "addressing_service_binding_identifier": addressing_service_binding_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-common", $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -199,9 +218,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -209,34 +228,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_prefixes_service_bindings_get", + name: "addressing_prefixes_serviceBindings_get", title: "Get Service Binding", description: "Fetch a single Service Binding", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "binding_id": { - "$ref": "#/$defs/addressing_service_binding_identifier", - "description": "Identifier of a Service Binding." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "binding_id": { + "$ref": "#/$defs/addressing_service_binding_identifier", + "description": "Identifier of a Service Binding." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id", + "binding_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", - "binding_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, "addressing_prefix_identifier": addressing_prefix_identifier, - "addressing_service_binding_identifier": addressing_service_binding_identifier, + "addressing_service_binding_identifier": addressing_service_binding_identifier$, }, }, outputSchema: { @@ -254,14 +281,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_cidr": addressing_cidr_output, - "addressing_messages": addressing_messages_output, - "addressing_provisioning": addressing_provisioning_output, - "addressing_service_binding": addressing_service_binding_output, - "addressing_service_binding_identifier": addressing_service_binding_identifier_output, - "addressing_service_identifier": addressing_service_identifier_output, - "addressing_service_name": addressing_service_name_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_cidr": addressing_cidr, + "addressing_messages": addressing_messages, + "addressing_provisioning": addressing_provisioning, + "addressing_service_binding": addressing_service_binding, + "addressing_service_binding_identifier": addressing_service_binding_identifier, + "addressing_service_identifier": addressing_service_identifier, + "addressing_service_name": addressing_service_name, }, }, annotations: { @@ -301,15 +328,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_cidr": addressing_cidr_output, - "addressing_messages": addressing_messages_output, - "addressing_provisioning": addressing_provisioning_output, - "addressing_service_binding": addressing_service_binding_output, - "addressing_service_binding_identifier": addressing_service_binding_identifier_output, - "addressing_service_identifier": addressing_service_identifier_output, - "addressing_service_name": addressing_service_name_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_cidr": addressing_cidr, + "addressing_messages": addressing_messages, + "addressing_provisioning": addressing_provisioning, + "addressing_service_binding": addressing_service_binding, + "addressing_service_binding_identifier": addressing_service_binding_identifier, + "addressing_service_identifier": addressing_service_identifier, + "addressing_service_name": addressing_service_name, }, }, request: (args) => ({ @@ -317,24 +344,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_prefixes_service_bindings_list", + name: "addressing_prefixes_serviceBindings_list", title: "List Service Bindings", description: "List the Cloudflare services this prefix is currently bound to. Traffic sent to an address within an IP prefix will be routed to the Cloudflare service of the most-specific Service Binding matching the address.\n**Example:** binding `192.0.2.0/24` to Cloudflare Magic Transit and `192.0.2.1/32` to the Cloudflare CDN would route traffic for `192.0.2.1` to the CDN, and traffic for all other IPs in the prefix to Cloudflare Magic Transit.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -359,14 +394,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_cidr": addressing_cidr_output, - "addressing_messages": addressing_messages_output, - "addressing_provisioning": addressing_provisioning_output, - "addressing_service_binding": addressing_service_binding_output, - "addressing_service_binding_identifier": addressing_service_binding_identifier_output, - "addressing_service_identifier": addressing_service_identifier_output, - "addressing_service_name": addressing_service_name_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_cidr": addressing_cidr, + "addressing_messages": addressing_messages, + "addressing_provisioning": addressing_provisioning, + "addressing_service_binding": addressing_service_binding, + "addressing_service_binding_identifier": addressing_service_binding_identifier, + "addressing_service_identifier": addressing_service_identifier, + "addressing_service_name": addressing_service_name, }, }, annotations: { @@ -409,15 +444,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_cidr": addressing_cidr_output, - "addressing_messages": addressing_messages_output, - "addressing_provisioning": addressing_provisioning_output, - "addressing_service_binding": addressing_service_binding_output, - "addressing_service_binding_identifier": addressing_service_binding_identifier_output, - "addressing_service_identifier": addressing_service_identifier_output, - "addressing_service_name": addressing_service_name_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_cidr": addressing_cidr, + "addressing_messages": addressing_messages, + "addressing_provisioning": addressing_provisioning, + "addressing_service_binding": addressing_service_binding, + "addressing_service_binding_identifier": addressing_service_binding_identifier, + "addressing_service_identifier": addressing_service_identifier, + "addressing_service_name": addressing_service_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/prefixes/tools.ts b/src/generated/forge-mcp/addressing/prefixes/tools.ts index 336337c37..646454e93 100644 --- a/src/generated/forge-mcp/addressing/prefixes/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/tools.ts @@ -2,43 +2,43 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - addressing_account_identifier_output, - addressing_api_response_collection_output, - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_api_response_single_output, - addressing_loa_document_identifier_output, - addressing_messages_output, - addressing_timestamp_output, -} from "../outputs.js"; import { addressing_account_identifier, + addressing_api$$response$$collection, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_api$$response$$single, addressing_loa_document_identifier, -} from "../schemas.js"; + addressing_messages, + addressing_timestamp, +} from "../outputs.js"; import { - addressing_advertised_modified_at_nullable_output, - addressing_advertised_output, - addressing_approved_output, - addressing_asn_output, - addressing_cidr_output, - addressing_delegate_loa_creation_output, - addressing_description_output, - addressing_ipam_prefixes_output, - addressing_on_demand_enabled_output, - addressing_on_demand_locked_output, - addressing_ownership_validation_token_output, - addressing_prefix_identifier_output, - addressing_response_collection_output, - addressing_single_response_output, - addressing_validation_state_output, -} from "./outputs.js"; + addressing_account_identifier as addressing_account_identifier$, + addressing_loa_document_identifier as addressing_loa_document_identifier$, +} from "../schemas.js"; import { + addressing_advertised, + addressing_advertised_modified_at_nullable, + addressing_approved, addressing_asn, addressing_cidr, addressing_delegate_loa_creation, addressing_description, + addressing_ipam$$prefixes, + addressing_on_demand_enabled, + addressing_on_demand_locked, + addressing_ownership_validation_token, addressing_prefix_identifier, + addressing_response_collection, + addressing_single_response, + addressing_validation_state, +} from "./outputs.js"; +import { + addressing_asn as addressing_asn$, + addressing_cidr as addressing_cidr$, + addressing_delegate_loa_creation as addressing_delegate_loa_creation$, + addressing_description as addressing_description$, + addressing_prefix_identifier as addressing_prefix_identifier$, } from "./schemas.js"; /** @@ -52,10 +52,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, "body": { "properties": { "asn": { @@ -85,43 +81,55 @@ export const tools: readonly Tool[] = [ "cidr" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], + $defs: { + "addressing_account_identifier": addressing_account_identifier$, + "addressing_asn": addressing_asn$, + "addressing_cidr": addressing_cidr$, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation$, + "addressing_description": addressing_description$, + "addressing_loa_document_identifier": addressing_loa_document_identifier$, + }, + }, + outputSchema: { + "$ref": "#/$defs/addressing_single_response", $defs: { "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, "addressing_asn": addressing_asn, "addressing_cidr": addressing_cidr, "addressing_delegate_loa_creation": addressing_delegate_loa_creation, "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, "addressing_loa_document_identifier": addressing_loa_document_identifier, - }, - }, - outputSchema: { - "$ref": "#/$defs/addressing_single_response", - $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response": addressing_single_response_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response": addressing_single_response, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -153,26 +161,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response": addressing_single_response_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, + "addressing_asn": addressing_asn, + "addressing_cidr": addressing_cidr, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation, + "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response": addressing_single_response, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ @@ -187,29 +195,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_account_identifier": addressing_account_identifier$, + "addressing_prefix_identifier": addressing_prefix_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-single", $defs: { - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_messages": addressing_messages, }, }, annotations: { @@ -243,11 +259,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-collection": addressing_api_response_collection_output, - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_messages": addressing_messages_output, + "addressing_api-response-collection": addressing_api$$response$$collection, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_messages": addressing_messages, }, }, request: (args) => ({ @@ -261,10 +277,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, "body": { "properties": { "description": { @@ -277,44 +289,56 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", + "path", "body" ], $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_description": addressing_description, - "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_account_identifier": addressing_account_identifier$, + "addressing_description": addressing_description$, + "addressing_prefix_identifier": addressing_prefix_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_single_response", $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response": addressing_single_response_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, + "addressing_asn": addressing_asn, + "addressing_cidr": addressing_cidr, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation, + "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response": addressing_single_response, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -349,26 +373,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response": addressing_single_response_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, + "addressing_asn": addressing_asn, + "addressing_cidr": addressing_cidr, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation, + "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response": addressing_single_response, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ @@ -383,46 +407,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_account_identifier": addressing_account_identifier$, + "addressing_prefix_identifier": addressing_prefix_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_single_response", $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response": addressing_single_response_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, + "addressing_asn": addressing_asn, + "addressing_cidr": addressing_cidr, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation, + "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response": addressing_single_response, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -461,26 +493,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response": addressing_single_response_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, + "addressing_asn": addressing_asn, + "addressing_cidr": addressing_cidr, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation, + "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response": addressing_single_response, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ @@ -494,40 +526,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "addressing_account_identifier": addressing_account_identifier, + "addressing_account_identifier": addressing_account_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_response_collection", $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_response_collection": addressing_response_collection_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, + "addressing_asn": addressing_asn, + "addressing_cidr": addressing_cidr, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation, + "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_response_collection": addressing_response_collection, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -566,26 +606,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_response_collection": addressing_response_collection_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, + "addressing_asn": addressing_asn, + "addressing_cidr": addressing_cidr, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation, + "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_response_collection": addressing_response_collection, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts b/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts index d677faf85..ad2f6844e 100644 --- a/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - addressing_account_identifier_output, - addressing_api_response_common_failure_output, - addressing_api_response_single_output, - addressing_loa_document_identifier_output, - addressing_messages_output, - addressing_timestamp_output, + addressing_account_identifier, + addressing_api$$response$$common$$failure, + addressing_api$$response$$single, + addressing_loa_document_identifier, + addressing_messages, + addressing_timestamp, } from "../../outputs.js"; -import { addressing_account_identifier } from "../../schemas.js"; +import { addressing_account_identifier as addressing_account_identifier$ } from "../../schemas.js"; import { - addressing_advertised_modified_at_nullable_output, - addressing_advertised_output, - addressing_approved_output, - addressing_asn_output, - addressing_cidr_output, - addressing_delegate_loa_creation_output, - addressing_description_output, - addressing_ipam_prefixes_output, - addressing_on_demand_enabled_output, - addressing_on_demand_locked_output, - addressing_ownership_validation_token_output, - addressing_prefix_identifier_output, - addressing_single_response_output, - addressing_validation_state_output, + addressing_advertised, + addressing_advertised_modified_at_nullable, + addressing_approved, + addressing_asn, + addressing_cidr, + addressing_delegate_loa_creation, + addressing_description, + addressing_ipam$$prefixes, + addressing_on_demand_enabled, + addressing_on_demand_locked, + addressing_ownership_validation_token, + addressing_prefix_identifier, + addressing_single_response, + addressing_validation_state, } from "../outputs.js"; -import { addressing_prefix_identifier } from "../schemas.js"; +import { addressing_prefix_identifier as addressing_prefix_identifier$ } from "../schemas.js"; /** * The tools of `addressing.prefixes.validate`. @@ -40,46 +40,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "prefix_id": { + "$ref": "#/$defs/addressing_prefix_identifier", + "description": "Identifier of an IP Prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_account_identifier": addressing_account_identifier$, + "addressing_prefix_identifier": addressing_prefix_identifier$, }, }, outputSchema: { "$ref": "#/$defs/addressing_single_response", $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response": addressing_single_response_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, + "addressing_asn": addressing_asn, + "addressing_cidr": addressing_cidr, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation, + "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response": addressing_single_response, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -114,26 +122,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier_output, - "addressing_advertised": addressing_advertised_output, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_api-response-single": addressing_api_response_single_output, - "addressing_approved": addressing_approved_output, - "addressing_asn": addressing_asn_output, - "addressing_cidr": addressing_cidr_output, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation_output, - "addressing_description": addressing_description_output, - "addressing_ipam-prefixes": addressing_ipam_prefixes_output, - "addressing_loa_document_identifier": addressing_loa_document_identifier_output, - "addressing_messages": addressing_messages_output, - "addressing_on_demand_enabled": addressing_on_demand_enabled_output, - "addressing_on_demand_locked": addressing_on_demand_locked_output, - "addressing_ownership_validation_token": addressing_ownership_validation_token_output, - "addressing_prefix_identifier": addressing_prefix_identifier_output, - "addressing_single_response": addressing_single_response_output, - "addressing_timestamp": addressing_timestamp_output, - "addressing_validation_state": addressing_validation_state_output, + "addressing_account_identifier": addressing_account_identifier, + "addressing_advertised": addressing_advertised, + "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_api-response-single": addressing_api$$response$$single, + "addressing_approved": addressing_approved, + "addressing_asn": addressing_asn, + "addressing_cidr": addressing_cidr, + "addressing_delegate_loa_creation": addressing_delegate_loa_creation, + "addressing_description": addressing_description, + "addressing_ipam-prefixes": addressing_ipam$$prefixes, + "addressing_loa_document_identifier": addressing_loa_document_identifier, + "addressing_messages": addressing_messages, + "addressing_on_demand_enabled": addressing_on_demand_enabled, + "addressing_on_demand_locked": addressing_on_demand_locked, + "addressing_ownership_validation_token": addressing_ownership_validation_token, + "addressing_prefix_identifier": addressing_prefix_identifier, + "addressing_single_response": addressing_single_response, + "addressing_timestamp": addressing_timestamp, + "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts b/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts index 391ec7a55..02b39c01e 100644 --- a/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts +++ b/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `dls_api-response-collection` in responses. */ -export const dls_api_response_collection_output: JsonSchema = { +export const dls_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dls_api-response-common" @@ -42,7 +42,7 @@ export const dls_api_response_collection_output: JsonSchema = { /** * The schema of `dls_api-response-common` in responses. */ -export const dls_api_response_common_output: JsonSchema = { +export const dls_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dls_messages" @@ -68,7 +68,7 @@ export const dls_api_response_common_output: JsonSchema = { /** * The schema of `dls_api-response-common-failure` in responses. */ -export const dls_api_response_common_failure_output: JsonSchema = { +export const dls_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dls_messages" @@ -98,14 +98,14 @@ export const dls_api_response_common_failure_output: JsonSchema = { /** * The schema of `dls_hostname` in responses. */ -export const dls_hostname_output: JsonSchema = { +export const dls_hostname: JsonSchema = { "type": "string" }; /** * The schema of `dls_messages` in responses. */ -export const dls_messages_output: JsonSchema = { +export const dls_messages: JsonSchema = { "items": { "properties": { "code": { @@ -138,14 +138,14 @@ export const dls_messages_output: JsonSchema = { /** * The schema of `dls_region_key` in responses. */ -export const dls_region_key_output: JsonSchema = { +export const dls_region_key: JsonSchema = { "type": "string" }; /** * The schema of `dls_regional_hostname_response` in responses. */ -export const dls_regional_hostname_response_output: JsonSchema = { +export const dls_regional_hostname_response: JsonSchema = { "properties": { "created_on": { "allOf": [ @@ -182,14 +182,14 @@ export const dls_regional_hostname_response_output: JsonSchema = { /** * The schema of `dls_routing` in responses. */ -export const dls_routing_output: JsonSchema = { +export const dls_routing: JsonSchema = { "type": "string" }; /** * The schema of `dls_timestamp` in responses. */ -export const dls_timestamp_output: JsonSchema = { +export const dls_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts b/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts index a4ae48890..898bef1a9 100644 --- a/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts +++ b/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts @@ -3,32 +3,40 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dls_api_response_collection_output, - dls_api_response_common_failure_output, - dls_api_response_common_output, - dls_messages_output, - dls_region_key_output, + dls_api$$response$$collection, + dls_api$$response$$common, + dls_api$$response$$common$$failure, + dls_messages, + dls_region_key, } from "../outputs.js"; import { dls_identifier } from "../schemas.js"; /** - * The tools of `addressing.regional_hostnames.regions`. + * The tools of `addressing.regionalHostnames.regions`. */ export const tools: readonly Tool[] = [ { - name: "addressing_regional_hostnames_regions_list", + name: "addressing_regionalHostnames_regions_list", title: "List Regions", description: "List all Regional Services regions available for use by this account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dls_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "dls_identifier": dls_identifier, @@ -60,10 +68,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dls_api-response-collection": dls_api_response_collection_output, - "dls_api-response-common": dls_api_response_common_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, + "dls_api-response-collection": dls_api$$response$$collection, + "dls_api-response-common": dls_api$$response$$common, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, }, }, annotations: { @@ -114,11 +122,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_api-response-collection": dls_api_response_collection_output, - "dls_api-response-common": dls_api_response_common_output, - "dls_api-response-common-failure": dls_api_response_common_failure_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, + "dls_api-response-collection": dls_api$$response$$collection, + "dls_api-response-common": dls_api$$response$$common, + "dls_api-response-common-failure": dls_api$$response$$common$$failure, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts b/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts index 70fd6f074..9da1942d7 100644 --- a/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts +++ b/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts @@ -3,29 +3,29 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - dls_api_response_collection_output, - dls_api_response_common_failure_output, - dls_api_response_common_output, - dls_hostname_output, - dls_messages_output, - dls_region_key_output, - dls_regional_hostname_response_output, - dls_routing_output, - dls_timestamp_output, -} from "./outputs.js"; -import { + dls_api$$response$$collection, + dls_api$$response$$common, + dls_api$$response$$common$$failure, dls_hostname, - dls_identifier, + dls_messages, dls_region_key, + dls_regional_hostname_response, dls_routing, + dls_timestamp, +} from "./outputs.js"; +import { + dls_hostname as dls_hostname$, + dls_identifier, + dls_region_key as dls_region_key$, + dls_routing as dls_routing$, } from "./schemas.js"; /** - * The tools of `addressing.regional_hostnames`. + * The tools of `addressing.regionalHostnames`. */ export const tools: readonly Tool[] = [ { - name: "addressing_regional_hostnames_create", + name: "addressing_regionalHostnames_create", title: "Create Regional Hostname", description: "Create a new Regional Hostname entry. Cloudflare will only use data centers that are physically located within the chosen region to decrypt and service HTTPS traffic. Learn more about [Regional Services](https://developers.cloudflare.com/data-localization/regional-services/get-started/).", inputSchema: { @@ -53,19 +53,27 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dls_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "dls_hostname": dls_hostname, + "dls_hostname": dls_hostname$, "dls_identifier": dls_identifier, - "dls_region_key": dls_region_key, - "dls_routing": dls_routing, + "dls_region_key": dls_region_key$, + "dls_routing": dls_routing$, }, }, outputSchema: { @@ -83,13 +91,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dls_api-response-common": dls_api_response_common_output, - "dls_hostname": dls_hostname_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, - "dls_regional_hostname_response": dls_regional_hostname_response_output, - "dls_routing": dls_routing_output, - "dls_timestamp": dls_timestamp_output, + "dls_api-response-common": dls_api$$response$$common, + "dls_hostname": dls_hostname, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, + "dls_regional_hostname_response": dls_regional_hostname_response, + "dls_routing": dls_routing, + "dls_timestamp": dls_timestamp, }, }, annotations: { @@ -128,14 +136,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_api-response-common": dls_api_response_common_output, - "dls_api-response-common-failure": dls_api_response_common_failure_output, - "dls_hostname": dls_hostname_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, - "dls_regional_hostname_response": dls_regional_hostname_response_output, - "dls_routing": dls_routing_output, - "dls_timestamp": dls_timestamp_output, + "dls_api-response-common": dls_api$$response$$common, + "dls_api-response-common-failure": dls_api$$response$$common$$failure, + "dls_hostname": dls_hostname, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, + "dls_regional_hostname_response": dls_regional_hostname_response, + "dls_routing": dls_routing, + "dls_timestamp": dls_timestamp, }, }, request: (args) => ({ @@ -144,35 +152,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_regional_hostnames_delete", + name: "addressing_regionalHostnames_delete", title: "Delete Regional Hostname", description: "Delete the region configuration for a specific Regional Hostname.", inputSchema: { type: "object", properties: { - "hostname": { - "$ref": "#/$defs/dls_hostname", - "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" - }, - "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "path": { + "properties": { + "hostname": { + "$ref": "#/$defs/dls_hostname", + "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" + }, + "zone_id": { + "$ref": "#/$defs/dls_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "hostname" + ], + "type": "object" } }, required: [ - "zone_id", - "hostname" + "path" ], $defs: { - "dls_hostname": dls_hostname, + "dls_hostname": dls_hostname$, "dls_identifier": dls_identifier, }, }, outputSchema: { "$ref": "#/$defs/dls_api-response-common", $defs: { - "dls_api-response-common": dls_api_response_common_output, - "dls_messages": dls_messages_output, + "dls_api-response-common": dls_api$$response$$common, + "dls_messages": dls_messages, }, }, annotations: { @@ -199,9 +215,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_api-response-common": dls_api_response_common_output, - "dls_api-response-common-failure": dls_api_response_common_failure_output, - "dls_messages": dls_messages_output, + "dls_api-response-common": dls_api$$response$$common, + "dls_api-response-common-failure": dls_api$$response$$common$$failure, + "dls_messages": dls_messages, }, }, request: (args) => ({ @@ -209,7 +225,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_regional_hostnames_edit", + name: "addressing_regionalHostnames_edit", title: "Update Regional Hostname", description: "Update the configuration for a specific Regional Hostname. Only the region_key of a hostname is mutable.", inputSchema: { @@ -227,23 +243,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "hostname": { - "$ref": "#/$defs/dls_hostname", - "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" - }, - "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "path": { + "properties": { + "hostname": { + "$ref": "#/$defs/dls_hostname", + "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" + }, + "zone_id": { + "$ref": "#/$defs/dls_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "hostname" + ], + "type": "object" } }, required: [ - "zone_id", - "hostname" + "path" ], $defs: { - "dls_hostname": dls_hostname, + "dls_hostname": dls_hostname$, "dls_identifier": dls_identifier, - "dls_region_key": dls_region_key, + "dls_region_key": dls_region_key$, }, }, outputSchema: { @@ -261,13 +285,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dls_api-response-common": dls_api_response_common_output, - "dls_hostname": dls_hostname_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, - "dls_regional_hostname_response": dls_regional_hostname_response_output, - "dls_routing": dls_routing_output, - "dls_timestamp": dls_timestamp_output, + "dls_api-response-common": dls_api$$response$$common, + "dls_hostname": dls_hostname, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, + "dls_regional_hostname_response": dls_regional_hostname_response, + "dls_routing": dls_routing, + "dls_timestamp": dls_timestamp, }, }, annotations: { @@ -306,14 +330,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_api-response-common": dls_api_response_common_output, - "dls_api-response-common-failure": dls_api_response_common_failure_output, - "dls_hostname": dls_hostname_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, - "dls_regional_hostname_response": dls_regional_hostname_response_output, - "dls_routing": dls_routing_output, - "dls_timestamp": dls_timestamp_output, + "dls_api-response-common": dls_api$$response$$common, + "dls_api-response-common-failure": dls_api$$response$$common$$failure, + "dls_hostname": dls_hostname, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, + "dls_regional_hostname_response": dls_regional_hostname_response, + "dls_routing": dls_routing, + "dls_timestamp": dls_timestamp, }, }, request: (args) => ({ @@ -322,27 +346,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_regional_hostnames_get", + name: "addressing_regionalHostnames_get", title: "Fetch Regional Hostname", description: "Fetch the configuration for a specific Regional Hostname, within a zone.", inputSchema: { type: "object", properties: { - "hostname": { - "$ref": "#/$defs/dls_hostname", - "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" - }, - "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "path": { + "properties": { + "hostname": { + "$ref": "#/$defs/dls_hostname", + "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" + }, + "zone_id": { + "$ref": "#/$defs/dls_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "hostname" + ], + "type": "object" } }, required: [ - "zone_id", - "hostname" + "path" ], $defs: { - "dls_hostname": dls_hostname, + "dls_hostname": dls_hostname$, "dls_identifier": dls_identifier, }, }, @@ -361,13 +393,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dls_api-response-common": dls_api_response_common_output, - "dls_hostname": dls_hostname_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, - "dls_regional_hostname_response": dls_regional_hostname_response_output, - "dls_routing": dls_routing_output, - "dls_timestamp": dls_timestamp_output, + "dls_api-response-common": dls_api$$response$$common, + "dls_hostname": dls_hostname, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, + "dls_regional_hostname_response": dls_regional_hostname_response, + "dls_routing": dls_routing, + "dls_timestamp": dls_timestamp, }, }, annotations: { @@ -407,14 +439,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_api-response-common": dls_api_response_common_output, - "dls_api-response-common-failure": dls_api_response_common_failure_output, - "dls_hostname": dls_hostname_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, - "dls_regional_hostname_response": dls_regional_hostname_response_output, - "dls_routing": dls_routing_output, - "dls_timestamp": dls_timestamp_output, + "dls_api-response-common": dls_api$$response$$common, + "dls_api-response-common-failure": dls_api$$response$$common$$failure, + "dls_hostname": dls_hostname, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, + "dls_regional_hostname_response": dls_regional_hostname_response, + "dls_routing": dls_routing, + "dls_timestamp": dls_timestamp, }, }, request: (args) => ({ @@ -422,19 +454,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "addressing_regional_hostnames_list", + name: "addressing_regionalHostnames_list", title: "List Regional Hostnames", description: "List all Regional Hostnames within a zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dls_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "dls_identifier": dls_identifier, @@ -458,14 +498,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dls_api-response-collection": dls_api_response_collection_output, - "dls_api-response-common": dls_api_response_common_output, - "dls_hostname": dls_hostname_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, - "dls_regional_hostname_response": dls_regional_hostname_response_output, - "dls_routing": dls_routing_output, - "dls_timestamp": dls_timestamp_output, + "dls_api-response-collection": dls_api$$response$$collection, + "dls_api-response-common": dls_api$$response$$common, + "dls_hostname": dls_hostname, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, + "dls_regional_hostname_response": dls_regional_hostname_response, + "dls_routing": dls_routing, + "dls_timestamp": dls_timestamp, }, }, annotations: { @@ -508,15 +548,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_api-response-collection": dls_api_response_collection_output, - "dls_api-response-common": dls_api_response_common_output, - "dls_api-response-common-failure": dls_api_response_common_failure_output, - "dls_hostname": dls_hostname_output, - "dls_messages": dls_messages_output, - "dls_region_key": dls_region_key_output, - "dls_regional_hostname_response": dls_regional_hostname_response_output, - "dls_routing": dls_routing_output, - "dls_timestamp": dls_timestamp_output, + "dls_api-response-collection": dls_api$$response$$collection, + "dls_api-response-common": dls_api$$response$$common, + "dls_api-response-common-failure": dls_api$$response$$common$$failure, + "dls_hostname": dls_hostname, + "dls_messages": dls_messages, + "dls_region_key": dls_region_key, + "dls_regional_hostname_response": dls_regional_hostname_response, + "dls_routing": dls_routing, + "dls_timestamp": dls_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/services/tools.ts b/src/generated/forge-mcp/addressing/services/tools.ts index adaf0bda3..a216a4026 100644 --- a/src/generated/forge-mcp/addressing/services/tools.ts +++ b/src/generated/forge-mcp/addressing/services/tools.ts @@ -3,11 +3,11 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - addressing_api_response_common_failure_output, - addressing_api_response_common_output, - addressing_messages_output, - addressing_service_identifier_output, - addressing_service_name_output, + addressing_api$$response$$common, + addressing_api$$response$$common$$failure, + addressing_messages, + addressing_service_identifier, + addressing_service_name, } from "../outputs.js"; import { addressing_account_identifier } from "../schemas.js"; @@ -22,13 +22,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/addressing_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "addressing_account_identifier": addressing_account_identifier, @@ -60,10 +68,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_messages": addressing_messages_output, - "addressing_service_identifier": addressing_service_identifier_output, - "addressing_service_name": addressing_service_name_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_messages": addressing_messages, + "addressing_service_identifier": addressing_service_identifier, + "addressing_service_name": addressing_service_name, }, }, annotations: { @@ -114,11 +122,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_api-response-common": addressing_api_response_common_output, - "addressing_api-response-common-failure": addressing_api_response_common_failure_output, - "addressing_messages": addressing_messages_output, - "addressing_service_identifier": addressing_service_identifier_output, - "addressing_service_name": addressing_service_name_output, + "addressing_api-response-common": addressing_api$$response$$common, + "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, + "addressing_messages": addressing_messages, + "addressing_service_identifier": addressing_service_identifier, + "addressing_service_name": addressing_service_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/agentMemory/tools.ts b/src/generated/forge-mcp/agentMemory/tools.ts index af1fa81e9..b23242506 100644 --- a/src/generated/forge-mcp/agentMemory/tools.ts +++ b/src/generated/forge-mcp/agentMemory/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; /** - * The tools of `agent_memory`. + * The tools of `agentMemory`. */ export const tools: readonly Tool[] = [ { - name: "agent_memory_create_namespace", + name: "agentMemory_createNamespace", title: "Create a namespace", description: "Creates a new memory namespace owned by the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, "body": { "properties": { "name": { @@ -29,10 +25,22 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -340,34 +348,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_delete_memory", + name: "agentMemory_deleteMemory", title: "Delete a memory", description: "Deletes a memory by ID. Removes the memory and any source messages linked to it. Returns the deleted memory.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the memory and any source messages linked to it.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, - "memory_id": { - "description": "Memory Identifier.", - "type": "string" - }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "memory_id": { + "description": "Memory Identifier.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name", + "profile_name", + "memory_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name", - "profile_name", - "memory_id" + "path" ], }, outputSchema: { @@ -723,24 +739,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_delete_namespace", + name: "agentMemory_deleteNamespace", title: "Delete a namespace", description: "Deletes a namespace.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the namespace along with all memory profiles, memories, and sessions it contains.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name" + "path" ], }, outputSchema: { @@ -1016,29 +1040,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_delete_profile", + name: "agentMemory_deleteProfile", title: "Delete a profile", description: "Marks a profile for deletion.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the profile along with all of its memories and messages.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name", + "profile_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name", - "profile_name" + "path" ], }, outputSchema: { @@ -1314,34 +1346,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_delete_session", + name: "agentMemory_deleteSession", title: "Delete a session", description: "Marks all memories and messages in a profile that are tagged with the given session ID for deletion.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes all memories and messages tagged with this session ID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" - }, - "session_id": { - "description": "Session identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + }, + "session_id": { + "description": "Session identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name", + "profile_name", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name", - "profile_name", - "session_id" + "path" ], }, outputSchema: { @@ -1617,34 +1657,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_get_memory", + name: "agentMemory_getMemory", title: "Get a memory", description: "Retrieves a memory by ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, - "memory_id": { - "description": "Memory Identifier.", - "type": "string" - }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "memory_id": { + "description": "Memory Identifier.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name", + "profile_name", + "memory_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name", - "profile_name", - "memory_id" + "path" ], }, outputSchema: { @@ -2000,24 +2048,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_get_namespace", + name: "agentMemory_getNamespace", title: "Get a namespace", description: "Gets a namespace by name.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name" + "path" ], }, outputSchema: { @@ -2323,16 +2379,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_ingest", + name: "agentMemory_ingest", title: "Ingest messages", description: "Processes a conversation and extracts structured memories from it. Agent Memory identifies facts, events, instructions, and tasks automatically.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, "body": { "properties": { "messages": { @@ -2383,19 +2435,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name", + "profile_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name", - "profile_name", + "path", "body" ], }, @@ -2673,51 +2737,64 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_list_memories", + name: "agentMemory_listMemories", title: "List memories", description: "List memories stored in a profile.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, - "cursor": { - "description": "Continuation cursor for paginated results.", - "type": "string" - }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "per_page": { - "description": "Number of results per page.", - "type": "integer" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" - }, - "session_id": { - "description": "Session identifier for filtering.", - "type": "string" - }, - "type": { - "description": "Memory type for filtering.", - "enum": [ - "fact", - "event", - "instruction", - "task" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name", + "profile_name" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "cursor": { + "description": "Continuation cursor for paginated results.", + "type": "string" + }, + "per_page": { + "description": "Number of results per page.", + "type": "integer" + }, + "session_id": { + "description": "Session identifier for filtering.", + "type": "string" + }, + "type": { + "description": "Memory type for filtering.", + "enum": [ + "fact", + "event", + "instruction", + "task" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace_name", - "profile_name" + "path" ], }, outputSchema: { @@ -3097,51 +3174,64 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles/${pathParam(args, "profile_name")}/memories`, query: [ - ["per_page", args["per_page"], true], - ["cursor", args["cursor"], true], - ["session_id", args["session_id"], true], - ["type", args["type"], true], + ["per_page", param(args, "query", "per_page"), true], + ["cursor", param(args, "query", "cursor"), true], + ["session_id", param(args, "query", "session_id"), true], + ["type", param(args, "query", "type"), true], ], }), }, { - name: "agent_memory_list_namespaces", + name: "agentMemory_listNamespaces", title: "List namespaces", description: "Lists all namespaces for the given account. Results are paginated.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor returned by a previous list response.", - "type": "string" - }, - "direction": { - "description": "Direction to sort the results in.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order": { - "description": "Field to order the results by.", - "enum": [ - "id", - "name" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "per_page": { - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor returned by a previous list response.", + "type": "string" + }, + "direction": { + "description": "Direction to sort the results in.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "description": "Field to order the results by.", + "enum": [ + "id", + "name" + ], + "type": "string" + }, + "per_page": { + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -3479,40 +3569,53 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces`, query: [ - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["cursor", args["cursor"], true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, { - name: "agent_memory_list_profiles", + name: "agentMemory_listProfiles", title: "List profiles", description: "Lists the profiles of a namespace, ordered by name. A profile appears once it has been used.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, - "cursor": { - "description": "Opaque continuation cursor returned by a previous list response.", - "type": "string" - }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name" + ], + "type": "object" }, - "per_page": { - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Opaque continuation cursor returned by a previous list response.", + "type": "string" + }, + "per_page": { + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace_name" + "path" ], }, outputSchema: { @@ -3832,22 +3935,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/agent-memory/namespaces/${pathParam(args, "namespace_name")}/profiles`, query: [ - ["per_page", args["per_page"], true], - ["cursor", args["cursor"], true], + ["per_page", param(args, "query", "per_page"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, { - name: "agent_memory_recall", + name: "agentMemory_recall", title: "Recall memories", description: "Retrieves memories relevant to the query and returns a synthesized answer.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, "body": { "properties": { "query": { @@ -3882,19 +3981,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name", + "profile_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name", - "profile_name", + "path", "body" ], }, @@ -4248,16 +4359,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_remember", + name: "agentMemory_remember", title: "Remember a memory", description: "Stores a single memory explicitly.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, "body": { "properties": { "content": { @@ -4281,19 +4388,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name", + "profile_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name", - "profile_name", + "path", "body" ], }, @@ -4651,16 +4770,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "agent_memory_summary", + name: "agentMemory_summary", title: "Get a profile summary", description: "Generates a paste-ready prompt block summarizing everything stored in a memory profile.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare Account ID.", - "type": "string" - }, "body": { "properties": { "sessionId": { @@ -4677,19 +4792,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "namespace_name": { - "description": "Namespace name.", - "type": "string" - }, - "profile_name": { - "description": "Profile name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare Account ID.", + "type": "string" + }, + "namespace_name": { + "description": "Namespace name.", + "type": "string" + }, + "profile_name": { + "description": "Profile name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace_name", + "profile_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_name", - "profile_name", + "path", "body" ], }, diff --git a/src/generated/forge-mcp/ai/authors/tools.ts b/src/generated/forge-mcp/ai/authors/tools.ts index 667d89110..e88ccd7e2 100644 --- a/src/generated/forge-mcp/ai/authors/tools.ts +++ b/src/generated/forge-mcp/ai/authors/tools.ts @@ -14,12 +14,20 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/ai/finetunes/assets/tools.ts b/src/generated/forge-mcp/ai/finetunes/assets/tools.ts index 8c50c0d9f..37e50761a 100644 --- a/src/generated/forge-mcp/ai/finetunes/assets/tools.ts +++ b/src/generated/forge-mcp/ai/finetunes/assets/tools.ts @@ -14,16 +14,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "finetune_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "finetune_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "finetune_id" + ], + "type": "object" } }, required: [ - "account_id", - "finetune_id" + "path" ], }, outputSchema: { @@ -106,20 +114,28 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "file_name": { - "type": "string" - }, - "finetune_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "file_name": { + "type": "string" + }, + "finetune_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "finetune_id", + "file_name" + ], + "type": "object" } }, required: [ - "account_id", - "finetune_id", - "file_name" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/ai/finetunes/public/tools.ts b/src/generated/forge-mcp/ai/finetunes/public/tools.ts index eb80902d3..7a9580f0f 100644 --- a/src/generated/forge-mcp/ai/finetunes/public/tools.ts +++ b/src/generated/forge-mcp/ai/finetunes/public/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `ai.finetunes.public`. @@ -14,26 +14,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "limit": { - "default": 20, - "description": "Pagination Limit.", - "type": "number" - }, - "offset": { - "default": 0, - "description": "Pagination Offset.", - "type": "number" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "order_by": { - "description": "Order By Column Name.", - "type": "string" + "query": { + "properties": { + "limit": { + "default": 20, + "description": "Pagination Limit.", + "type": "number" + }, + "offset": { + "default": 0, + "description": "Pagination Offset.", + "type": "number" + }, + "orderBy": { + "description": "Order By Column Name.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -203,9 +216,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/finetunes/public`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["orderBy", args["order_by"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["orderBy", param(args, "query", "orderBy"), true], ], }), }, diff --git a/src/generated/forge-mcp/ai/finetunes/tools.ts b/src/generated/forge-mcp/ai/finetunes/tools.ts index 8e5665b5e..fdac35d2e 100644 --- a/src/generated/forge-mcp/ai/finetunes/tools.ts +++ b/src/generated/forge-mcp/ai/finetunes/tools.ts @@ -14,9 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "description": { @@ -38,10 +35,21 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -201,16 +209,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "finetune_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "finetune_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "finetune_id" + ], + "type": "object" } }, required: [ - "account_id", - "finetune_id" + "path" ], }, outputSchema: { @@ -324,12 +340,20 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/ai/models/tools.ts b/src/generated/forge-mcp/ai/models/tools.ts index c9d118117..4337dc896 100644 --- a/src/generated/forge-mcp/ai/models/tools.ts +++ b/src/generated/forge-mcp/ai/models/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `ai.models`. @@ -14,56 +14,69 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "author": { - "default": "", - "description": "Filter by Author.", - "type": "string" - }, - "format": { - "description": "If set, return models in the requested marketplace format instead of the default response.", - "enum": [ - "openrouter" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "hide_experimental": { - "default": false, - "description": "Filter to hide experimental models.", - "type": "boolean" - }, - "include_deprecated": { - "default": false, - "description": "If true, include models for up to three months after their deprecation date. Defaults to false.", - "type": "boolean" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 100, - "type": "integer" - }, - "search": { - "default": "", - "description": "Search.", - "type": "string" - }, - "source": { - "description": "Filter by Source Id.", - "type": "number" + "type": "object" }, - "task": { - "default": "", - "description": "Filter by Task Name.", - "type": "string" + "query": { + "properties": { + "author": { + "default": "", + "description": "Filter by Author.", + "type": "string" + }, + "format": { + "description": "If set, return models in the requested marketplace format instead of the default response.", + "enum": [ + "openrouter" + ], + "type": "string" + }, + "hide_experimental": { + "default": false, + "description": "Filter to hide experimental models.", + "type": "boolean" + }, + "include_deprecated": { + "default": false, + "description": "If true, include models for up to three months after their deprecation date. Defaults to false.", + "type": "boolean" + }, + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 100, + "type": "integer" + }, + "search": { + "default": "", + "description": "Search.", + "type": "string" + }, + "source": { + "description": "Filter by Source Id.", + "type": "number" + }, + "task": { + "default": "", + "description": "Filter by Task Name.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -217,15 +230,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/models/search`, query: [ - ["per_page", args["per_page"], true], - ["page", args["page"], true], - ["task", args["task"], true], - ["author", args["author"], true], - ["source", args["source"], true], - ["hide_experimental", args["hide_experimental"], true], - ["search", args["search"], true], - ["include_deprecated", args["include_deprecated"], true], - ["format", args["format"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], + ["task", param(args, "query", "task"), true], + ["author", param(args, "query", "author"), true], + ["source", param(args, "query", "source"), true], + ["hide_experimental", param(args, "query", "hide_experimental"), true], + ["search", param(args, "query", "search"), true], + ["include_deprecated", param(args, "query", "include_deprecated"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/ai/tasks/tools.ts b/src/generated/forge-mcp/ai/tasks/tools.ts index 6478ad639..8501cf626 100644 --- a/src/generated/forge-mcp/ai/tasks/tools.ts +++ b/src/generated/forge-mcp/ai/tasks/tools.ts @@ -14,12 +14,20 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/ai/tools.ts b/src/generated/forge-mcp/ai/tools.ts index b89228a34..23d7a9739 100644 --- a/src/generated/forge-mcp/ai/tools.ts +++ b/src/generated/forge-mcp/ai/tools.ts @@ -1,31 +1,47 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; /** * The tools of `ai`. */ export const tools: readonly Tool[] = [ { - name: "ai_get_model_schema", + name: "ai_getModelSchema", title: "Get an AI model's input and output schemas", description: "Retrieves the input and output JSON Schema definitions for an AI model. Use these definitions to determine the model-specific request fields and response format.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID used for this AI model request.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID used for this AI model request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "model": { - "description": "AI model identifier, including its namespace and model name.", - "type": "string" + "query": { + "properties": { + "model": { + "description": "AI model identifier, including its namespace and model name.", + "type": "string" + } + }, + "required": [ + "model" + ], + "type": "object" } }, required: [ - "account_id", - "model" + "path", + "query" ], }, outputSchema: { @@ -209,24 +225,32 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai/models/schema`, query: [ - ["model", args["model"], true], + ["model", param(args, "query", "model"), true], ], }), }, { - name: "ai_list_markdown_supported_formats", + name: "ai_listMarkdownSupportedFormats", title: "List supported Markdown conversion formats", description: "Lists the file extensions and MIME types accepted by Workers AI's Markdown conversion endpoint. Use this list to check whether a file can be converted before uploading it.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID used for this AI model request.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID used for this AI model request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -360,10 +384,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID used for this AI model request.", - "type": "string" - }, "body": { "properties": { "input": { @@ -409,10 +429,22 @@ export const tools: readonly Tool[] = [ "model" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID used for this AI model request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -539,16 +571,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_run_model", + name: "ai_runModel", title: "Run a Workers AI model", description: "Runs the Workers AI model specified in the URL path. Send the model's inputs directly in the request body, without a model/input/options wrapper.\n\nAccepts model-specific JSON or binary input. The response format depends on the model and the requested output.\n\nSee the [model catalog](https://developers.cloudflare.com/workers-ai/models/) for supported models and their input formats.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID used for this AI model request.", - "type": "string" - }, "body": { "oneOf": [ { @@ -1339,14 +1367,26 @@ export const tools: readonly Tool[] = [ } ] }, - "model_name": { - "description": "Workers AI model identifier, including its namespace and model name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID used for this AI model request.", + "type": "string" + }, + "model_name": { + "description": "Workers AI model identifier, including its namespace and model name.", + "type": "string" + } + }, + "required": [ + "account_id", + "model_name" + ], + "type": "object" } }, required: [ - "account_id", - "model_name" + "path" ], }, outputSchema: { @@ -1868,19 +1908,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_to_markdown", + name: "ai_toMarkdown", title: "Convert uploaded files to Markdown", description: "Converts files uploaded as multipart form data into Markdown using Workers AI. Returns a conversion result for each file. Use the supported-formats endpoint to check accepted file types.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID used for this AI model request.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID used for this AI model request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2038,9 +2086,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "byokAlias": { @@ -2080,10 +2125,21 @@ export const tools: readonly Tool[] = [ "query" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/aiAudit/robots/outputs.ts b/src/generated/forge-mcp/aiAudit/robots/outputs.ts index 328337b5b..985ec520b 100644 --- a/src/generated/forge-mcp/aiAudit/robots/outputs.ts +++ b/src/generated/forge-mcp/aiAudit/robots/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `ai-audit_api-response-common` in responses. */ -export const ai_audit_api_response_common_output: JsonSchema = { +export const ai$$audit_api$$response$$common: JsonSchema = { "properties": { "errors": { "items": { @@ -36,7 +36,7 @@ export const ai_audit_api_response_common_output: JsonSchema = { /** * The schema of `ai-audit_api-response-common-failure` in responses. */ -export const ai_audit_api_response_common_failure_output: JsonSchema = { +export const ai$$audit_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "items": { @@ -79,7 +79,7 @@ export const ai_audit_api_response_common_failure_output: JsonSchema = { /** * The schema of `ai-audit_api_message` in responses. */ -export const ai_audit_api_message_output: JsonSchema = { +export const ai$$audit_api_message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -98,7 +98,7 @@ export const ai_audit_api_message_output: JsonSchema = { /** * The schema of `ai-audit_bulk_robots_rules` in responses. */ -export const ai_audit_bulk_robots_rules_output: JsonSchema = { +export const ai$$audit_bulk_robots_rules: JsonSchema = { "additionalProperties": { "$ref": "#/$defs/ai-audit_robots_rules" }, @@ -108,7 +108,7 @@ export const ai_audit_bulk_robots_rules_output: JsonSchema = { /** * The schema of `ai-audit_content_signal` in responses. */ -export const ai_audit_content_signal_output: JsonSchema = { +export const ai$$audit_content_signal: JsonSchema = { "properties": { "ai-input": { "enum": [ @@ -138,7 +138,7 @@ export const ai_audit_content_signal_output: JsonSchema = { /** * The schema of `ai-audit_robots_rules` in responses. */ -export const ai_audit_robots_rules_output: JsonSchema = { +export const ai$$audit_robots_rules: JsonSchema = { "properties": { "sitemaps": { "items": { @@ -165,7 +165,7 @@ export const ai_audit_robots_rules_output: JsonSchema = { /** * The schema of `ai-audit_user_agent_rules` in responses. */ -export const ai_audit_user_agent_rules_output: JsonSchema = { +export const ai$$audit_user_agent_rules: JsonSchema = { "properties": { "allow": { "items": { diff --git a/src/generated/forge-mcp/aiAudit/robots/tools.ts b/src/generated/forge-mcp/aiAudit/robots/tools.ts index 4f438be1a..cbb0676a1 100644 --- a/src/generated/forge-mcp/aiAudit/robots/tools.ts +++ b/src/generated/forge-mcp/aiAudit/robots/tools.ts @@ -1,23 +1,23 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - ai_audit_api_message_output, - ai_audit_api_response_common_failure_output, - ai_audit_api_response_common_output, - ai_audit_bulk_robots_rules_output, - ai_audit_content_signal_output, - ai_audit_robots_rules_output, - ai_audit_user_agent_rules_output, + ai$$audit_api$$response$$common, + ai$$audit_api$$response$$common$$failure, + ai$$audit_api_message, + ai$$audit_bulk_robots_rules, + ai$$audit_content_signal, + ai$$audit_robots_rules, + ai$$audit_user_agent_rules, } from "./outputs.js"; /** - * The tools of `ai_audit.robots`. + * The tools of `aiAudit.robots`. */ export const tools: readonly Tool[] = [ { - name: "ai_audit_robots_bulk_get", + name: "aiAudit_robots_bulkGet", title: "Bulk get robots.txt rules", description: "Fetches and parses robots.txt files for multiple domains within a zone in a single request. Each domain must belong to the specified zone. Results are keyed by hostname.", inputSchema: { @@ -30,13 +30,21 @@ export const tools: readonly Tool[] = [ "maxItems": 25, "type": "array" }, - "zone_id": { - "description": "Identifier of the zone.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Identifier of the zone.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], }, @@ -55,12 +63,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "ai-audit_api-response-common": ai_audit_api_response_common_output, - "ai-audit_api_message": ai_audit_api_message_output, - "ai-audit_bulk_robots_rules": ai_audit_bulk_robots_rules_output, - "ai-audit_content_signal": ai_audit_content_signal_output, - "ai-audit_robots_rules": ai_audit_robots_rules_output, - "ai-audit_user_agent_rules": ai_audit_user_agent_rules_output, + "ai-audit_api-response-common": ai$$audit_api$$response$$common, + "ai-audit_api_message": ai$$audit_api_message, + "ai-audit_bulk_robots_rules": ai$$audit_bulk_robots_rules, + "ai-audit_content_signal": ai$$audit_content_signal, + "ai-audit_robots_rules": ai$$audit_robots_rules, + "ai-audit_user_agent_rules": ai$$audit_user_agent_rules, }, }, annotations: { @@ -118,13 +126,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "ai-audit_api-response-common": ai_audit_api_response_common_output, - "ai-audit_api-response-common-failure": ai_audit_api_response_common_failure_output, - "ai-audit_api_message": ai_audit_api_message_output, - "ai-audit_bulk_robots_rules": ai_audit_bulk_robots_rules_output, - "ai-audit_content_signal": ai_audit_content_signal_output, - "ai-audit_robots_rules": ai_audit_robots_rules_output, - "ai-audit_user_agent_rules": ai_audit_user_agent_rules_output, + "ai-audit_api-response-common": ai$$audit_api$$response$$common, + "ai-audit_api-response-common-failure": ai$$audit_api$$response$$common$$failure, + "ai-audit_api_message": ai$$audit_api_message, + "ai-audit_bulk_robots_rules": ai$$audit_bulk_robots_rules, + "ai-audit_content_signal": ai$$audit_content_signal, + "ai-audit_robots_rules": ai$$audit_robots_rules, + "ai-audit_user_agent_rules": ai$$audit_user_agent_rules, }, }, request: (args) => ({ @@ -133,23 +141,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_audit_robots_get", + name: "aiAudit_robots_get", title: "Get robots.txt rules", description: "Fetches and parses the robots.txt file for a zone or a specific subdomain within the zone. Returns parsed user-agent rules, content signals, and sitemaps.", inputSchema: { type: "object", properties: { - "subdomain": { - "description": "Optional subdomain to fetch robots.txt for. If omitted, fetches robots.txt for the zone apex domain.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Identifier of the zone.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "description": "Identifier of the zone.", - "type": "string" + "query": { + "properties": { + "subdomain": { + "description": "Optional subdomain to fetch robots.txt for. If omitted, fetches robots.txt for the zone apex domain.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { @@ -167,11 +188,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "ai-audit_api-response-common": ai_audit_api_response_common_output, - "ai-audit_api_message": ai_audit_api_message_output, - "ai-audit_content_signal": ai_audit_content_signal_output, - "ai-audit_robots_rules": ai_audit_robots_rules_output, - "ai-audit_user_agent_rules": ai_audit_user_agent_rules_output, + "ai-audit_api-response-common": ai$$audit_api$$response$$common, + "ai-audit_api_message": ai$$audit_api_message, + "ai-audit_content_signal": ai$$audit_content_signal, + "ai-audit_robots_rules": ai$$audit_robots_rules, + "ai-audit_user_agent_rules": ai$$audit_user_agent_rules, }, }, annotations: { @@ -226,18 +247,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "ai-audit_api-response-common": ai_audit_api_response_common_output, - "ai-audit_api-response-common-failure": ai_audit_api_response_common_failure_output, - "ai-audit_api_message": ai_audit_api_message_output, - "ai-audit_content_signal": ai_audit_content_signal_output, - "ai-audit_robots_rules": ai_audit_robots_rules_output, - "ai-audit_user_agent_rules": ai_audit_user_agent_rules_output, + "ai-audit_api-response-common": ai$$audit_api$$response$$common, + "ai-audit_api-response-common-failure": ai$$audit_api$$response$$common$$failure, + "ai-audit_api_message": ai$$audit_api_message, + "ai-audit_content_signal": ai$$audit_content_signal, + "ai-audit_robots_rules": ai$$audit_robots_rules, + "ai-audit_user_agent_rules": ai$$audit_user_agent_rules, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ai-audit/robots`, query: [ - ["subdomain", args["subdomain"], true], + ["subdomain", param(args, "query", "subdomain"), true], ], }), }, diff --git a/src/generated/forge-mcp/aiGateway/customDomains/tools.ts b/src/generated/forge-mcp/aiGateway/customDomains/tools.ts index cb98b204c..75b3b1052 100644 --- a/src/generated/forge-mcp/aiGateway/customDomains/tools.ts +++ b/src/generated/forge-mcp/aiGateway/customDomains/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_gateway.custom_domains`. + * The tools of `aiGateway.customDomains`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_custom_domains_create", + name: "aiGateway_customDomains_create", title: "Create a custom domain for a gateway", description: "Provisions a Cloudflare-for-SaaS custom hostname and returns the CNAME target to point DNS at.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "domain": { @@ -43,14 +40,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -224,28 +232,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_custom_domains_delete", + name: "aiGateway_customDomains_delete", title: "Delete a custom domain", description: "Deletes a custom domain from an AI Gateway and removes its Cloudflare for SaaS custom hostname.\n\nConfirm with the user before calling this tool. This deletes the custom domain and its custom hostname. Requests to this hostname will stop reaching the gateway.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "hostname": { - "description": "Custom hostname that you own, such as `ai.example.com`.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "hostname": { + "description": "Custom hostname that you own, such as `ai.example.com`.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "hostname" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "hostname" + "path" ], }, outputSchema: { @@ -426,28 +442,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_custom_domains_get", + name: "aiGateway_customDomains_get", title: "Get a custom domain", description: "Retrieves a custom domain attached to an AI Gateway, including its status and CNAME target.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "hostname": { - "description": "Custom hostname that you own, such as `ai.example.com`.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "hostname": { + "description": "Custom hostname that you own, such as `ai.example.com`.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "hostname" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "hostname" + "path" ], }, outputSchema: { @@ -629,45 +653,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_custom_domains_list", + name: "aiGateway_customDomains_list", title: "List custom domains", description: "Lists the custom domains attached to an AI Gateway, including the certificate and validation status of each domain.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" - }, - "search": { - "description": "Search by hostname", - "type": "string" - }, - "status": { - "enum": [ - "initializing", - "pending_dcv", - "active", - "blocked", - "error" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "search": { + "description": "Search by hostname", + "type": "string" + }, + "status": { + "enum": [ + "initializing", + "pending_dcv", + "active", + "blocked", + "error" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -853,10 +890,10 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/custom-domains`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["status", args["status"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["status", param(args, "query", "status"), true], + ["search", param(args, "query", "search"), true], ], }), }, diff --git a/src/generated/forge-mcp/aiGateway/customProviders/tools.ts b/src/generated/forge-mcp/aiGateway/customProviders/tools.ts index 700ea43c7..9ff27ab5a 100644 --- a/src/generated/forge-mcp/aiGateway/customProviders/tools.ts +++ b/src/generated/forge-mcp/aiGateway/customProviders/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_gateway.custom_providers`. + * The tools of `aiGateway.customProviders`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_custom_providers_create", + name: "aiGateway_customProviders_create", title: "Create a custom provider", description: "Creates an account-level custom provider that forwards AI Gateway requests to the HTTPS base URL you supply. Requests reference the provider as `custom-{slug}`, so the slug must be unique within the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "base_url": { @@ -60,10 +57,21 @@ export const tools: readonly Tool[] = [ "slug" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -301,23 +309,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_custom_providers_delete", + name: "aiGateway_customProviders_delete", title: "Delete a custom provider", description: "Deletes a custom provider and every pricing rule that belongs to it.\n\nConfirm with the user before calling this tool. This permanently deletes the custom provider and all of its pricing rules. Gateway requests that use `custom-{slug}` for this provider will stop routing.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -530,23 +546,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_custom_providers_get", + name: "aiGateway_customProviders_get", title: "Get a custom provider", description: "Retrieves a custom provider, including its slug, base URL, and custom headers.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -760,36 +784,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_custom_providers_list", + name: "aiGateway_customProviders_list", title: "List custom providers", description: "Lists the custom providers configured for the account, ordered by position and then name.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "beta": { - "type": "boolean" - }, - "enable": { - "type": "boolean" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "description": "Search by id, name, slug", - "type": "string" + "query": { + "properties": { + "beta": { + "type": "boolean" + }, + "enable": { + "type": "boolean" + }, + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "search": { + "description": "Search by id, name, slug", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1007,24 +1044,21 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/custom-providers`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["beta", args["beta"], true], - ["enable", args["enable"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["beta", param(args, "query", "beta"), true], + ["enable", param(args, "query", "enable"), true], + ["search", param(args, "query", "search"), true], ], }), }, { - name: "ai_gateway_custom_providers_update", + name: "aiGateway_customProviders_update", title: "Update a custom provider", description: "Updates the specified fields of a custom provider. Changes clear cached entries for the provider.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "base_url": { @@ -1067,14 +1101,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/aiGateway/datasets/tools.ts b/src/generated/forge-mcp/aiGateway/datasets/tools.ts index 0873ef252..9af52ae40 100644 --- a/src/generated/forge-mcp/aiGateway/datasets/tools.ts +++ b/src/generated/forge-mcp/aiGateway/datasets/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_gateway.datasets`. + * The tools of `aiGateway.datasets`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_datasets_create", + name: "aiGateway_datasets_create", title: "Create a dataset (deprecated)", description: "Creates a dataset that selects gateway logs matching the specified filters for use in evaluations. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "enable": { @@ -89,14 +86,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -375,27 +383,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_datasets_delete", + name: "aiGateway_datasets_delete", title: "Delete a dataset (deprecated)", description: "Deletes a dataset. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -666,27 +682,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_datasets_get", + name: "aiGateway_datasets_get", title: "Get a dataset (deprecated)", description: "Retrieves a dataset and its log filters. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -958,41 +982,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_datasets_list", + name: "aiGateway_datasets_list", title: "List datasets (deprecated)", description: "Lists the datasets defined for an AI Gateway. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "enable": { - "type": "boolean" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "name": { - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" }, - "search": { - "description": "Search by id, name, filters", - "type": "string" + "query": { + "properties": { + "enable": { + "type": "boolean" + }, + "name": { + "type": "string" + }, + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "search": { + "description": "Search by id, name, filters", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -1268,24 +1305,21 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/datasets`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["name", args["name"], true], - ["enable", args["enable"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["name", param(args, "query", "name"), true], + ["enable", param(args, "query", "enable"), true], + ["search", param(args, "query", "search"), true], ], }), }, { - name: "ai_gateway_datasets_update", + name: "aiGateway_datasets_update", title: "Update a dataset (deprecated)", description: "Replaces the name, log filters, and enabled state of a dataset. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "enable": { @@ -1358,18 +1392,29 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts b/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts index c53c608af..c0f84e892 100644 --- a/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts +++ b/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts @@ -4,19 +4,16 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `ai_gateway.dynamic_routing.deployments`. + * The tools of `aiGateway.dynamicRouting.deployments`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_dynamic_routing_deployments_create", + name: "aiGateway_dynamicRouting_deployments_create", title: "Deploy a dynamic route version", description: "Deploys the specified version of a dynamic route so that it serves traffic. Deploy an earlier version to roll back.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "version_id": { @@ -28,17 +25,28 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -834,26 +842,34 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_dynamic_routing_deployments_list", + name: "aiGateway_dynamicRouting_deployments_list", title: "List dynamic route deployments", description: "Lists the deployment history of a dynamic route.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts b/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts index b8ca19b2c..85d4cd242 100644 --- a/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts +++ b/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_gateway.dynamic_routing`. + * The tools of `aiGateway.dynamicRouting`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_dynamic_routing_create", + name: "aiGateway_dynamicRouting_create", title: "Create a dynamic route", description: "Creates a dynamic route on an AI Gateway from the specified routing elements. Clients call the route by using `dynamic/{name}` as the model name.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "elements": { @@ -351,13 +348,24 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -1255,26 +1263,34 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_dynamic_routing_delete", + name: "aiGateway_dynamicRouting_delete", title: "Delete a dynamic route", description: "Deletes a dynamic route from an AI Gateway.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -2069,26 +2085,34 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_dynamic_routing_get", + name: "aiGateway_dynamicRouting_get", title: "Get a dynamic route", description: "Retrieves a dynamic route with its routing elements, active version, and current deployment.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -2986,30 +3010,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_dynamic_routing_list", + name: "aiGateway_dynamicRouting_list", title: "List dynamic routes", description: "Lists the dynamic routes configured on an AI Gateway.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "type": "string" - }, - "page": { - "description": "Page number", - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" }, - "per_page": { - "description": "Number of routes per page", - "type": "integer" + "query": { + "properties": { + "page": { + "description": "Page number", + "type": "integer" + }, + "per_page": { + "description": "Number of routes per page", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -3967,21 +4004,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/routes`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "ai_gateway_dynamic_routing_update", + name: "aiGateway_dynamicRouting_update", title: "Rename a dynamic route", description: "Updates the name of a dynamic route. To change routing behaviour, create and deploy a new version.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "name": { @@ -3993,17 +4027,28 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts b/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts index 9a5a8ddaa..f6287f9cb 100644 --- a/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts +++ b/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts @@ -4,19 +4,16 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `ai_gateway.dynamic_routing.versions`. + * The tools of `aiGateway.dynamicRouting.versions`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_dynamic_routing_versions_create", + name: "aiGateway_dynamicRouting_versions_create", title: "Create a dynamic route version", description: "Creates a new version of a dynamic route from the specified routing elements. The version does not serve traffic until you deploy it.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "elements": { @@ -347,17 +344,28 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -1153,30 +1161,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_dynamic_routing_versions_get", + name: "aiGateway_dynamicRouting_versions_get", title: "Get a dynamic route version", description: "Retrieves a saved version of a dynamic route, including its routing elements.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "version_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "version_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id", + "version_id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id", - "version_id" + "path" ], }, outputSchema: { @@ -2008,26 +2024,34 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_dynamic_routing_versions_list", + name: "aiGateway_dynamicRouting_versions_list", title: "List dynamic route versions", description: "Lists the saved versions of a dynamic route.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts b/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts index 2608efa1d..4d363716b 100644 --- a/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts +++ b/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts @@ -1,45 +1,58 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_gateway.evaluation_types`. + * The tools of `aiGateway.evaluationTypes`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_evaluation_types_list", + name: "aiGateway_evaluationTypes_list", title: "List evaluator types (deprecated)", description: "Lists the evaluator types that evaluations can use to score AI Gateway responses. Evaluations are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "order_by": { - "default": "mandatory", - "type": "string" - }, - "order_by_direction": { - "default": "desc", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" + "type": "object" }, - "per_page": { - "default": 20, - "type": "integer" + "query": { + "properties": { + "order_by": { + "default": "mandatory", + "type": "string" + }, + "order_by_direction": { + "default": "desc", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -265,10 +278,10 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/evaluation-types`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order_by", args["order_by"], true], - ["order_by_direction", args["order_by_direction"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order_by", param(args, "query", "order_by"), true], + ["order_by_direction", param(args, "query", "order_by_direction"), true], ], }), }, diff --git a/src/generated/forge-mcp/aiGateway/evaluations/tools.ts b/src/generated/forge-mcp/aiGateway/evaluations/tools.ts index 92dfac6e8..a9fac9250 100644 --- a/src/generated/forge-mcp/aiGateway/evaluations/tools.ts +++ b/src/generated/forge-mcp/aiGateway/evaluations/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_gateway.evaluations`. + * The tools of `aiGateway.evaluations`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_evaluations_create", + name: "aiGateway_evaluations_create", title: "Create an evaluation (deprecated)", description: "Creates an evaluation that scores the logs in a dataset with the specified evaluator types. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "dataset_ids": { @@ -44,14 +41,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -526,27 +534,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_evaluations_delete", + name: "aiGateway_evaluations_delete", title: "Delete an evaluation (deprecated)", description: "Deletes an evaluation and its results. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -1013,27 +1029,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_evaluations_get", + name: "aiGateway_evaluations_get", title: "Get an evaluation (deprecated)", description: "Retrieves an evaluation and its results. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -1501,41 +1525,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_evaluations_list", + name: "aiGateway_evaluations_list", title: "List evaluations (deprecated)", description: "Lists the evaluations run on an AI Gateway. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "name": { - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" - }, - "processed": { - "type": "boolean" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" }, - "search": { - "description": "Search by id, name", - "type": "string" + "query": { + "properties": { + "name": { + "type": "string" + }, + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "processed": { + "type": "boolean" + }, + "search": { + "description": "Search by id, name", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -2007,11 +2044,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/evaluations`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["name", args["name"], true], - ["processed", args["processed"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["name", param(args, "query", "name"), true], + ["processed", param(args, "query", "processed"), true], + ["search", param(args, "query", "search"), true], ], }), }, diff --git a/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts b/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts index 501bc0c2f..12cadbdc3 100644 --- a/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts +++ b/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `ai_gateway.gateways.providers`. + * The tools of `aiGateway.gateways.providers`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_gateways_providers_create", + name: "aiGateway_gateways_providers_create", title: "Store a provider key", description: "Stores an upstream AI provider API key for an AI Gateway in the Secrets Store configured on the gateway, with an optional rate limit. Pass `secret` to store a new key, or omit it to use an existing Secrets Store secret.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "alias": { @@ -50,14 +47,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -270,27 +278,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_gateways_providers_delete", + name: "aiGateway_gateways_providers_delete", title: "Delete a provider key", description: "Deletes a provider key configuration from an AI Gateway and deletes its secret from the Secrets Store.\n\nConfirm with the user before calling this tool. This deletes the stored provider key and its Secrets Store secret. Requests that rely on this key will stop authenticating with it.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -495,27 +511,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_gateways_providers_get", + name: "aiGateway_gateways_providers_get", title: "Get a provider key", description: "Retrieves a provider key configuration for an AI Gateway. The response shows a masked preview of the key, never the key itself.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -717,31 +741,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_gateways_providers_list", + name: "aiGateway_gateways_providers_list", title: "List provider keys", description: "Lists the provider keys stored for an AI Gateway. Responses show a masked preview of each key, never the key itself.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -947,21 +984,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/provider_configs`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "ai_gateway_gateways_providers_update", + name: "aiGateway_gateways_providers_update", title: "Rotate a provider key", description: "Replaces the stored API key of a provider key configuration. Only the key can change.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "secret": { @@ -974,18 +1008,29 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/aiGateway/gateways/tools.ts b/src/generated/forge-mcp/aiGateway/gateways/tools.ts index 300c92fda..08c753fd9 100644 --- a/src/generated/forge-mcp/aiGateway/gateways/tools.ts +++ b/src/generated/forge-mcp/aiGateway/gateways/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_gateway.gateways`. + * The tools of `aiGateway.gateways`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_gateways_create", + name: "aiGateway_gateways_create", title: "Create a gateway", description: "Creates an AI Gateway in the account with the specified caching, rate limiting, logging, and authentication settings. The gateway ID appears in request URLs and must be unique within the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "authentication": { @@ -730,10 +727,21 @@ export const tools: readonly Tool[] = [ "rate_limiting_limit" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2312,23 +2320,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_gateways_delete", + name: "aiGateway_gateways_delete", title: "Delete a gateway", description: "Permanently deletes an AI Gateway, its configuration, and its stored logs.\n\nConfirm with the user before calling this tool. This permanently deletes the gateway, its configuration, and its stored logs. Requests sent to this gateway will fail. This action cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -3932,27 +3948,35 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "id")}`, }), }, { - name: "ai_gateway_gateways_get", + name: "aiGateway_gateways_get", title: "Get a gateway", description: "Retrieves the configuration of an AI Gateway.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -5557,31 +5581,39 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "id")}`, }), }, { - name: "ai_gateway_gateways_get_url", + name: "aiGateway_gateways_getUrl", title: "Get Gateway URL", description: "Retrieves the endpoint URL for an AI Gateway.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "ai_gateway_provider": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "provider": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "provider" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "ai_gateway_provider" + "path" ], }, outputSchema: { @@ -5675,34 +5707,47 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/url/${pathParam(args, "ai_gateway_provider")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/url/${pathParam(args, "provider")}`, }), }, { - name: "ai_gateway_gateways_list", + name: "aiGateway_gateways_list", title: "List gateways", description: "Lists the AI Gateways in the account. Use `search` to filter by gateway ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "description": "Search by id", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "search": { + "description": "Search by id", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -7285,22 +7330,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], ], }), }, { - name: "ai_gateway_gateways_update", + name: "aiGateway_gateways_update", title: "Update a gateway", description: "Updates the configuration of an AI Gateway, such as its caching, rate limiting, logging, and authentication settings.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "authentication": { @@ -8010,14 +8052,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -9621,7 +9674,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, diff --git a/src/generated/forge-mcp/aiGateway/logs/tools.ts b/src/generated/forge-mcp/aiGateway/logs/tools.ts index 8b0a20667..5adaf790e 100644 --- a/src/generated/forge-mcp/aiGateway/logs/tools.ts +++ b/src/generated/forge-mcp/aiGateway/logs/tools.ts @@ -1,131 +1,144 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_gateway.logs`. + * The tools of `aiGateway.logs`. */ export const tools: readonly Tool[] = [ { - name: "ai_gateway_logs_delete", + name: "aiGateway_logs_delete", title: "Delete Gateway Logs", description: "Deletes gateway log entries matching the specified criteria.\n\nConfirm with the user before calling this tool. This permanently deletes every stored log entry on the gateway that matches the filters. Deleted logs cannot be recovered.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" + ], + "type": "object" }, - "filters": { - "items": { - "properties": { - "key": { - "enum": [ - "id", - "created_at", - "request_content_type", - "response_content_type", - "request_type", - "success", - "cached", - "provider", - "model", - "model_type", - "cost", - "tokens", - "tokens_in", - "tokens_out", - "duration", - "feedback", - "event_id", - "metadata.key", - "metadata.value", - "authentication", - "wholesale", - "compatibilityMode", - "dlp_action", - "user_agent" - ], - "type": "string" - }, - "operator": { - "enum": [ - "eq", - "neq", - "contains", - "lt", - "gt" - ], - "type": "string" - }, - "value": { - "description": "Filter values.", - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" + "query": { + "properties": { + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "id", + "created_at", + "request_content_type", + "response_content_type", + "request_type", + "success", + "cached", + "provider", + "model", + "model_type", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback", + "event_id", + "metadata.key", + "metadata.value", + "authentication", + "wholesale", + "compatibilityMode", + "dlp_action", + "user_agent" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "neq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "description": "Filter values.", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] + "type": "array" + } }, - "type": "array" - } + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" }, - "required": [ - "key", - "operator", - "value" - ], - "type": "object" + "limit": { + "default": 10000, + "type": "integer" + }, + "order_by": { + "default": "created_at", + "enum": [ + "created_at", + "provider", + "model", + "model_type", + "success", + "cached", + "cost", + "tokens_in", + "tokens_out", + "duration", + "feedback" + ], + "type": "string" + }, + "order_by_direction": { + "default": "asc", + "enum": [ + "asc", + "desc" + ], + "type": "string" + } }, - "type": "array" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "limit": { - "default": 10000, - "type": "integer" - }, - "order_by": { - "default": "created_at", - "enum": [ - "created_at", - "provider", - "model", - "model_type", - "success", - "cached", - "cost", - "tokens_in", - "tokens_out", - "duration", - "feedback" - ], - "type": "string" - }, - "order_by_direction": { - "default": "asc", - "enum": [ - "asc", - "desc" - ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -212,35 +225,43 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/logs`, query: [ - ["order_by", args["order_by"], true], - ["order_by_direction", args["order_by_direction"], true], - ["filters", args["filters"], true], - ["limit", args["limit"], true], + ["order_by", param(args, "query", "order_by"), true], + ["order_by_direction", param(args, "query", "order_by_direction"), true], + ["filters", param(args, "query", "filters"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, { - name: "ai_gateway_logs_get", + name: "aiGateway_logs_get", title: "Get Gateway Log Detail", description: "Retrieves detailed information for a specific AI Gateway log entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -574,27 +595,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_logs_get_request", + name: "aiGateway_logs_getRequest", title: "Get Gateway Log Request", description: "Retrieves the original request payload for an AI Gateway log entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -668,27 +697,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_logs_get_response", + name: "aiGateway_logs_getResponse", title: "Get Gateway Log Response", description: "Retrieves the response payload for an AI Gateway log entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { @@ -762,205 +799,218 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_gateway_logs_list", + name: "aiGateway_logs_list", title: "List Gateway Logs", description: "Lists request/response log entries for the AI gateway with filtering and pagination.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "ai_gateway_provider": { - "type": "string" - }, - "cached": { - "type": "boolean" - }, - "direction": { - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "end_date": { - "format": "date-time", - "type": "string" - }, - "feedback": { - "enum": [ - -1, - 0, - 1 + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id" ], - "type": "integer" + "type": "object" }, - "filters": { - "items": { - "properties": { - "key": { - "enum": [ - "id", - "created_at", - "request_content_type", - "response_content_type", - "request_type", - "success", - "cached", - "provider", - "model", - "model_type", - "cost", - "tokens", - "tokens_in", - "tokens_out", - "duration", - "feedback", - "event_id", - "metadata.key", - "metadata.value", - "authentication", - "wholesale", - "compatibilityMode", - "dlp_action", - "user_agent" - ], - "type": "string" - }, - "operator": { - "enum": [ - "eq", - "neq", - "contains", - "lt", - "gt" - ], - "type": "string" - }, - "value": { - "description": "Filter values.", - "items": { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "boolean" + "query": { + "properties": { + "cached": { + "type": "boolean" + }, + "direction": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "end_date": { + "format": "date-time", + "type": "string" + }, + "feedback": { + "enum": [ + -1, + 0, + 1 + ], + "type": "integer" + }, + "filters": { + "items": { + "properties": { + "key": { + "enum": [ + "id", + "created_at", + "request_content_type", + "response_content_type", + "request_type", + "success", + "cached", + "provider", + "model", + "model_type", + "cost", + "tokens", + "tokens_in", + "tokens_out", + "duration", + "feedback", + "event_id", + "metadata.key", + "metadata.value", + "authentication", + "wholesale", + "compatibilityMode", + "dlp_action", + "user_agent" + ], + "type": "string" + }, + "operator": { + "enum": [ + "eq", + "neq", + "contains", + "lt", + "gt" + ], + "type": "string" + }, + "value": { + "description": "Filter values.", + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] + "type": "array" + } }, - "type": "array" - } + "required": [ + "key", + "operator", + "value" + ], + "type": "object" + }, + "type": "array" }, - "required": [ - "key", - "operator", - "value" - ], - "type": "object" + "max_cost": { + "type": "number" + }, + "max_duration": { + "type": "number" + }, + "max_tokens_in": { + "type": "number" + }, + "max_tokens_out": { + "type": "number" + }, + "max_total_tokens": { + "type": "number" + }, + "meta_info": { + "type": "boolean" + }, + "min_cost": { + "type": "number" + }, + "min_duration": { + "type": "number" + }, + "min_tokens_in": { + "type": "number" + }, + "min_tokens_out": { + "type": "number" + }, + "min_total_tokens": { + "type": "number" + }, + "model": { + "description": "Model filter.", + "type": "string" + }, + "model_type": { + "type": "string" + }, + "order_by": { + "default": "created_at", + "enum": [ + "created_at", + "provider", + "model", + "model_type", + "success", + "cached" + ], + "type": "string" + }, + "order_by_direction": { + "default": "desc", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "provider": { + "type": "string" + }, + "request_content_type": { + "type": "string" + }, + "response_content_type": { + "type": "string" + }, + "search": { + "description": "Free-text search over log metadata.", + "type": "string" + }, + "start_date": { + "format": "date-time", + "type": "string" + }, + "success": { + "type": "boolean" + } }, - "type": "array" - }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "max_cost": { - "type": "number" - }, - "max_duration": { - "type": "number" - }, - "max_tokens_in": { - "type": "number" - }, - "max_tokens_out": { - "type": "number" - }, - "max_total_tokens": { - "type": "number" - }, - "meta_info": { - "type": "boolean" - }, - "min_cost": { - "type": "number" - }, - "min_duration": { - "type": "number" - }, - "min_tokens_in": { - "type": "number" - }, - "min_tokens_out": { - "type": "number" - }, - "min_total_tokens": { - "type": "number" - }, - "model": { - "description": "Model filter.", - "type": "string" - }, - "model_type": { - "type": "string" - }, - "order_by": { - "default": "created_at", - "enum": [ - "created_at", - "provider", - "model", - "model_type", - "success", - "cached" - ], - "type": "string" - }, - "order_by_direction": { - "default": "desc", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" - }, - "request_content_type": { - "type": "string" - }, - "response_content_type": { - "type": "string" - }, - "search": { - "description": "Free-text search over log metadata.", - "type": "string" - }, - "start_date": { - "format": "date-time", - "type": "string" - }, - "success": { - "type": "boolean" + "type": "object" } }, required: [ - "account_id", - "gateway_id" + "path" ], }, outputSchema: { @@ -1330,47 +1380,44 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-gateway/gateways/${pathParam(args, "gateway_id")}/logs`, query: [ - ["search", args["search"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order_by", args["order_by"], true], - ["order_by_direction", args["order_by_direction"], true], - ["filters", args["filters"], true], - ["meta_info", args["meta_info"], true], - ["direction", args["direction"], true], - ["start_date", args["start_date"], true], - ["end_date", args["end_date"], true], - ["min_cost", args["min_cost"], true], - ["max_cost", args["max_cost"], true], - ["min_tokens_in", args["min_tokens_in"], true], - ["max_tokens_in", args["max_tokens_in"], true], - ["min_tokens_out", args["min_tokens_out"], true], - ["max_tokens_out", args["max_tokens_out"], true], - ["min_total_tokens", args["min_total_tokens"], true], - ["max_total_tokens", args["max_total_tokens"], true], - ["min_duration", args["min_duration"], true], - ["max_duration", args["max_duration"], true], - ["feedback", args["feedback"], true], - ["success", args["success"], true], - ["cached", args["cached"], true], - ["model", args["model"], true], - ["model_type", args["model_type"], true], - ["provider", args["ai_gateway_provider"], true], - ["request_content_type", args["request_content_type"], true], - ["response_content_type", args["response_content_type"], true], + ["search", param(args, "query", "search"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order_by", param(args, "query", "order_by"), true], + ["order_by_direction", param(args, "query", "order_by_direction"), true], + ["filters", param(args, "query", "filters"), true], + ["meta_info", param(args, "query", "meta_info"), true], + ["direction", param(args, "query", "direction"), true], + ["start_date", param(args, "query", "start_date"), true], + ["end_date", param(args, "query", "end_date"), true], + ["min_cost", param(args, "query", "min_cost"), true], + ["max_cost", param(args, "query", "max_cost"), true], + ["min_tokens_in", param(args, "query", "min_tokens_in"), true], + ["max_tokens_in", param(args, "query", "max_tokens_in"), true], + ["min_tokens_out", param(args, "query", "min_tokens_out"), true], + ["max_tokens_out", param(args, "query", "max_tokens_out"), true], + ["min_total_tokens", param(args, "query", "min_total_tokens"), true], + ["max_total_tokens", param(args, "query", "max_total_tokens"), true], + ["min_duration", param(args, "query", "min_duration"), true], + ["max_duration", param(args, "query", "max_duration"), true], + ["feedback", param(args, "query", "feedback"), true], + ["success", param(args, "query", "success"), true], + ["cached", param(args, "query", "cached"), true], + ["model", param(args, "query", "model"), true], + ["model_type", param(args, "query", "model_type"), true], + ["provider", param(args, "query", "provider"), true], + ["request_content_type", param(args, "query", "request_content_type"), true], + ["response_content_type", param(args, "query", "response_content_type"), true], ], }), }, { - name: "ai_gateway_logs_update", + name: "aiGateway_logs_update", title: "Patch Gateway Log", description: "Updates metadata for an AI Gateway log entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "feedback": { @@ -1419,18 +1466,29 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "gateway_id": { - "description": "Unique identifier of the AI Gateway within the account.", - "type": "string" - }, - "id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "gateway_id": { + "description": "Unique identifier of the AI Gateway within the account.", + "type": "string" + }, + "id": { + "type": "string" + } + }, + "required": [ + "account_id", + "gateway_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "gateway_id", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/aiSearch/items/tools.ts b/src/generated/forge-mcp/aiSearch/items/tools.ts index de9e2181b..47b4c91b0 100644 --- a/src/generated/forge-mcp/aiSearch/items/tools.ts +++ b/src/generated/forge-mcp/aiSearch/items/tools.ts @@ -1,48 +1,61 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_search.items`. + * The tools of `aiSearch.items`. */ export const tools: readonly Tool[] = [ { - name: "ai_search_items_chunks", + name: "aiSearch_items_chunks", title: "List Item Chunks.", description: "Lists chunks for a specific item in an AI Search instance, including their text content.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "item_id": { - "type": "string" - }, - "limit": { - "default": 20, - "type": "integer" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "item_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id", + "item_id" + ], + "type": "object" }, - "offset": { - "default": 0, - "type": "integer" + "query": { + "properties": { + "limit": { + "default": 20, + "type": "integer" + }, + "offset": { + "default": 0, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id", - "item_id" + "path" ], }, outputSchema: { @@ -372,41 +385,49 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}/chunks`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/items/${pathParam(args, "item_id")}/chunks`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], ], }), }, { - name: "ai_search_items_delete", + name: "aiSearch_items_delete", title: "Delete Item.", description: "Deletes a file from a managed AI Search instance and removes its indexed data.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "item_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "item_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id", + "item_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id", - "item_id" + "path" ], }, outputSchema: { @@ -651,37 +672,45 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/items/${pathParam(args, "item_id")}`, }), }, { - name: "ai_search_items_download", + name: "aiSearch_items_download", title: "Download Item Content.", description: "Downloads the raw file content for a specific item from the managed AI Search instance storage.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "item_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "item_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id", + "item_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id", - "item_id" + "path" ], }, annotations: { @@ -932,37 +961,45 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}/download`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/items/${pathParam(args, "item_id")}/download`, }), }, { - name: "ai_search_items_get", + name: "aiSearch_items_get", title: "Get Item.", description: "Retrieves a specific indexed item from an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "item_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "item_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id", + "item_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id", - "item_id" + "path" ], }, outputSchema: { @@ -1334,80 +1371,93 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/items/${pathParam(args, "item_id")}`, }), }, { - name: "ai_search_items_list", + name: "aiSearch_items_list", title: "Items List.", description: "Lists indexed items in an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "item_id": { - "description": "Return only the item with this unique ID. Returns at most one item.", - "type": "string" - }, - "key": { - "description": "Return only items with this exact key (object key / filename). Each key is unique within a source, so combine with `source` to disambiguate across data sources.", - "type": "string" - }, - "metadata_filter": { - "description": "JSON-encoded metadata filter using Vectorize filter syntax. Examples: {\"folder\":\"reports/\"}, {\"timestamp\":{\"$gte\":1700000000000}}, {\"folder\":{\"$in\":[\"docs/\",\"reports/\"]}}.", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" - }, - "search": { - "type": "string" - }, - "sort_by": { - "default": "status", - "description": "Sort order for items. \"status\" (default) sorts items according to status priority, then last_seen_at. \"modified_at\" sorts items according to file modification time (most recent first), falling back to created_at.", - "enum": [ - "status", - "modified_at" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" ], - "type": "string" - }, - "source": { - "description": "Return only items with this source_id. Use \"builtin\" for uploaded files, or a source identifier like \"web-crawler:https://example.com\".", - "type": "string" + "type": "object" }, - "status": { - "enum": [ - "queued", - "running", - "completed", - "error", - "skipped", - "outdated" - ], - "type": "string" + "query": { + "properties": { + "item_id": { + "description": "Return only the item with this unique ID. Returns at most one item.", + "type": "string" + }, + "key": { + "description": "Return only items with this exact key (object key / filename). Each key is unique within a source, so combine with `source` to disambiguate across data sources.", + "type": "string" + }, + "metadata_filter": { + "description": "JSON-encoded metadata filter using Vectorize filter syntax. Examples: {\"folder\":\"reports/\"}, {\"timestamp\":{\"$gte\":1700000000000}}, {\"folder\":{\"$in\":[\"docs/\",\"reports/\"]}}.", + "type": "string" + }, + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "search": { + "type": "string" + }, + "sort_by": { + "default": "status", + "description": "Sort order for items. \"status\" (default) sorts items according to status priority, then last_seen_at. \"modified_at\" sorts items according to file modification time (most recent first), falling back to created_at.", + "enum": [ + "status", + "modified_at" + ], + "type": "string" + }, + "source": { + "description": "Return only items with this source_id. Use \"builtin\" for uploaded files, or a source identifier like \"web-crawler:https://example.com\".", + "type": "string" + }, + "status": { + "enum": [ + "queued", + "running", + "completed", + "error", + "skipped", + "outdated" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -1861,55 +1911,68 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/items`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["sort_by", args["sort_by"], true], - ["status", args["status"], true], - ["source", args["source"], true], - ["metadata_filter", args["metadata_filter"], true], - ["item_id", args["item_id"], true], - ["key", args["key"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["sort_by", param(args, "query", "sort_by"), true], + ["status", param(args, "query", "status"), true], + ["source", param(args, "query", "source"), true], + ["metadata_filter", param(args, "query", "metadata_filter"), true], + ["item_id", param(args, "query", "item_id"), true], + ["key", param(args, "query", "key"), true], ], }), }, { - name: "ai_search_items_logs", + name: "aiSearch_items_logs", title: "Item Logs.", description: "Lists processing logs for a specific item in an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "cursor": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "item_id": { - "type": "string" - }, - "limit": { - "default": 50, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "item_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id", + "item_id" + ], + "type": "object" }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "query": { + "properties": { + "cursor": { + "type": "string" + }, + "limit": { + "default": 50, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id", - "item_id" + "path" ], }, outputSchema: { @@ -2277,23 +2340,20 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}/logs`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/items/${pathParam(args, "item_id")}/logs`, query: [ - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, { - name: "ai_search_items_sync", + name: "aiSearch_items_sync", title: "Sync Item.", description: "Synchronizes an item to an AI Search instance index.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "next_action": { @@ -2313,24 +2373,35 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "item_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "item_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id", + "item_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id", - "item_id" + "path" ], }, outputSchema: { @@ -2822,34 +2893,42 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items/${pathParam(args, "item_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/items/${pathParam(args, "item_id")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_items_upload", + name: "aiSearch_items_upload", title: "Upload Item.", description: "Uploads a file to a managed AI Search instance via multipart/form-data.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -3641,19 +3720,16 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/items`, }), }, { - name: "ai_search_items_upsert", + name: "aiSearch_items_upsert", title: "Create or Update Item.", description: "Creates or updates an indexed item in an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "key": { @@ -3678,20 +3754,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -4206,7 +4293,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/items`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/items`, body: { value: args["body"], mediaType: "application/json" }, }), }, diff --git a/src/generated/forge-mcp/aiSearch/jobs/tools.ts b/src/generated/forge-mcp/aiSearch/jobs/tools.ts index 5a9f30bfb..2a7c07167 100644 --- a/src/generated/forge-mcp/aiSearch/jobs/tools.ts +++ b/src/generated/forge-mcp/aiSearch/jobs/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_search.jobs`. + * The tools of `aiSearch.jobs`. */ export const tools: readonly Tool[] = [ { - name: "ai_search_jobs_cancel", + name: "aiSearch_jobs_cancel", title: "Cancel an indexing job.", description: "Cancels an in-progress indexing job for an AI Search instance.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation cancels the running indexing job.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "action": { @@ -31,24 +28,35 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "job_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "job_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id", - "job_id" + "path" ], }, outputSchema: { @@ -285,20 +293,17 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs/${pathParam(args, "job_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/jobs/${pathParam(args, "job_id")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_jobs_create", + name: "aiSearch_jobs_create", title: "Create new job", description: "Creates a new indexing job for an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "description": { @@ -307,20 +312,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -618,38 +634,46 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/jobs`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_jobs_get", + name: "aiSearch_jobs_get", title: "Get a Job Details", description: "Retrieves details for a specific AI Search indexing job.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "job_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "job_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id", - "job_id" + "path" ], }, outputSchema: { @@ -849,41 +873,54 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs/${pathParam(args, "job_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/jobs/${pathParam(args, "job_id")}`, }), }, { - name: "ai_search_jobs_list", + name: "aiSearch_jobs_list", title: "List Jobs", description: "Lists indexing jobs for an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -1174,49 +1211,62 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/jobs`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "ai_search_jobs_logs", + name: "aiSearch_jobs_logs", title: "List Job Logs", description: "Lists log entries for an AI Search indexing job.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "job_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "job_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id", + "job_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id", - "job_id" + "path" ], }, outputSchema: { @@ -1488,10 +1538,10 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/jobs/${pathParam(args, "job_id")}/logs`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/jobs/${pathParam(args, "job_id")}/logs`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/aiSearch/namespace/tools.ts b/src/generated/forge-mcp/aiSearch/namespace/tools.ts index 35555371c..ead5e126d 100644 --- a/src/generated/forge-mcp/aiSearch/namespace/tools.ts +++ b/src/generated/forge-mcp/aiSearch/namespace/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_search.namespace`. + * The tools of `aiSearch.namespace`. */ export const tools: readonly Tool[] = [ { - name: "ai_search_namespace_create", + name: "aiSearch_namespace_create", title: "Create a namespace", description: "Create a namespace for organizing AI Search instances.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "description": { @@ -134,10 +131,21 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -573,22 +581,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_search_namespace_delete", + name: "aiSearch_namespace_delete", title: "Delete a namespace", description: "Deletes a namespace permanently. The namespace must not contain any instances (instances whose deletion is still in progress do not count), and the default namespace cannot be deleted.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "namespace": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "account_id", + "name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, outputSchema: { @@ -758,26 +774,34 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "name")}`, }), }, { - name: "ai_search_namespace_get", + name: "aiSearch_namespace_get", title: "Get a namespace", description: "Retrieve a namespace and its description.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "namespace": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "account_id", + "name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, outputSchema: { @@ -1141,36 +1165,49 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "name")}`, }), }, { - name: "ai_search_namespace_list", + name: "aiSearch_namespace_list", title: "List namespaces", description: "Lists namespaces in the account, including their descriptions and creation times.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number (1-indexed).", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "description": "Filter namespaces whose name or description contains this string (case-insensitive).", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number (1-indexed).", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Filter namespaces whose name or description contains this string (case-insensitive).", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1592,22 +1629,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], ], }), }, { - name: "ai_search_namespace_update", + name: "aiSearch_namespace_update", title: "Update a namespace", description: "Updates the description and/or the public endpoint configuration of an existing namespace. The default namespace's description cannot be modified, but its public endpoint can.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "description": { @@ -1727,13 +1761,24 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "namespace": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "name": { + "type": "string" + } + }, + "required": [ + "account_id", + "name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, outputSchema: { @@ -2163,7 +2208,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "name")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, diff --git a/src/generated/forge-mcp/aiSearch/tokens/tools.ts b/src/generated/forge-mcp/aiSearch/tokens/tools.ts index f6346a842..7f5a232c7 100644 --- a/src/generated/forge-mcp/aiSearch/tokens/tools.ts +++ b/src/generated/forge-mcp/aiSearch/tokens/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `ai_search.tokens`. + * The tools of `aiSearch.tokens`. */ export const tools: readonly Tool[] = [ { - name: "ai_search_tokens_create", + name: "aiSearch_tokens_create", title: "Create a token", description: "Create a stored Cloudflare credential for an AI Search instance to access its data source.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "cf_api_id": { @@ -39,10 +36,21 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -267,23 +275,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_search_tokens_delete", + name: "aiSearch_tokens_delete", title: "Delete a token", description: "Deletes a stored AI Search credential permanently. Credentials in use by an instance cannot be deleted.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the stored credential.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "token_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "token_id" + "path" ], }, outputSchema: { @@ -460,27 +476,35 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens/${pathParam(args, "token_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens/${pathParam(args, "id")}`, }), }, { - name: "ai_search_tokens_get", + name: "aiSearch_tokens_get", title: "Get a token", description: "Retrieve a stored AI Search credential without exposing its secret.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "token_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "token_id" + "path" ], }, outputSchema: { @@ -730,36 +754,49 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens/${pathParam(args, "token_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens/${pathParam(args, "id")}`, }), }, { - name: "ai_search_tokens_list", + name: "aiSearch_tokens_list", title: "List tokens", description: "Lists stored AI Search credentials in the account without exposing their secrets.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number (1-indexed).", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "description": "Filter tokens whose name contains this string (case-insensitive).", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number (1-indexed).", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Filter tokens whose name contains this string (case-insensitive).", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1027,22 +1064,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], ], }), }, { - name: "ai_search_tokens_update", + name: "aiSearch_tokens_update", title: "Update a token", description: "Replace a stored AI Search credential and invalidate cached credentials for instances that use it.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "cf_api_id": { @@ -1066,14 +1100,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "token_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "token_id" + "path" ], }, outputSchema: { @@ -1328,7 +1373,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens/${pathParam(args, "token_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/tokens/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, diff --git a/src/generated/forge-mcp/aiSearch/tools.ts b/src/generated/forge-mcp/aiSearch/tools.ts index 02addfbb5..e6018c750 100644 --- a/src/generated/forge-mcp/aiSearch/tools.ts +++ b/src/generated/forge-mcp/aiSearch/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; /** - * The tools of `ai_search`. + * The tools of `aiSearch`. */ export const tools: readonly Tool[] = [ { - name: "ai_search_chat_completions", + name: "aiSearch_chatCompletions", title: "Chat Completions", description: "Performs a chat completion request against an AI Search instance, using indexed content as context for generating responses.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "ai_search_options": { @@ -292,20 +289,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -1015,20 +1023,17 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/chat/completions`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/chat/completions`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_create", + name: "aiSearch_create", title: "Create an AI Search instance.", description: "Create a new AI Search instance with the given configuration. If type is omitted or null, a non-blank HTTP(S) source infers web-crawler and any other source infers r2; r2 sources must name an existing bucket. A missing or blank source without a type creates a managed upload-only instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "ai_gateway_id": { @@ -1584,15 +1589,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace" + ], + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, outputSchema: { @@ -2959,28 +2975,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_search_delete", + name: "aiSearch_delete", title: "Delete an AI Search instance.", description: "Deletes an AI Search instance and all its indexed data permanently.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the AI Search instance and all its indexed data.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -4223,32 +4247,40 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}`, }), }, { - name: "ai_search_get", + name: "aiSearch_get", title: "Get an AI Search instance.", description: "Retrieve the configuration and status of an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -5458,63 +5490,76 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}`, }), }, { - name: "ai_search_list", + name: "aiSearch_list", title: "List AI Search instances.", description: "Lists all AI Search instances in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "hostname": { - "description": "Return only instances with this exact Search for Agents hostname (case-insensitive).", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" - }, - "order_by": { - "default": "created_at", - "description": "Field to order results by.", - "enum": [ - "created_at" - ], - "type": "string" - }, - "order_by_direction": { - "default": "desc", - "description": "Order direction.", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number (1-indexed).", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" + "type": "object" }, - "search": { - "description": "Filter instances whose id contains this string (case-insensitive).", - "type": "string" + "query": { + "properties": { + "hostname": { + "description": "Return only instances with this exact Search for Agents hostname (case-insensitive).", + "type": "string" + }, + "order_by": { + "default": "created_at", + "description": "Field to order results by.", + "enum": [ + "created_at" + ], + "type": "string" + }, + "order_by_direction": { + "default": "desc", + "description": "Order direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number (1-indexed).", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Filter instances whose id contains this string (case-insensitive).", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, outputSchema: { @@ -7086,25 +7131,22 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["hostname", args["hostname"], true], - ["order_by", args["order_by"], true], - ["order_by_direction", args["order_by_direction"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["hostname", param(args, "query", "hostname"), true], + ["order_by", param(args, "query", "order_by"), true], + ["order_by_direction", param(args, "query", "order_by_direction"), true], ], }), }, { - name: "ai_search_move", + name: "aiSearch_move", title: "Move an instance to a different namespace.", description: "Moves an instance from its current namespace to the specified target namespace. Use 'default' with --destination-namespace to move the instance back to the default namespace. Fails with 400 if the target namespace already has an instance with the same id (ids must be unique within a namespace — the same id can exist in different namespaces).", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "new_namespace": { @@ -7117,19 +7159,30 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "instance_id": { - "description": "Instance id.", - "type": "string" - }, - "source_namespace": { - "description": "Current namespace of the instance.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Instance id.", + "type": "string" + }, + "namespace": { + "description": "Current namespace of the instance.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "source_namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -7331,20 +7384,17 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "source_namespace")}/instances/${pathParam(args, "instance_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_multi_chat_completions", + name: "aiSearch_multiChatCompletions", title: "Multi-Instance Chat Completions", description: "Performs a chat completion request against multiple AI Search instances in parallel, merging retrieved content as context for generating a response.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "ai_search_options": { @@ -7631,14 +7681,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "namespace": { - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "name": { + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, outputSchema: { @@ -8389,20 +8450,17 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/chat/completions`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "name")}/chat/completions`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_multi_search", + name: "aiSearch_multiSearch", title: "Multi-Instance Search", description: "Performs a semantic search query against multiple AI Search instances in parallel, merging the retrieved results into a single ranked response.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "ai_search_options": { @@ -8686,14 +8744,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "namespace": { - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "name": { + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, outputSchema: { @@ -9189,34 +9258,42 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/search`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "name")}/search`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_purge_cache", + name: "aiSearch_purgeCache", title: "Purge search cache.", description: "Purges all cached search results for an AI Search instance. A new internal cache key is generated, immediately orphaning all prior cached entries.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -9343,19 +9420,16 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/purge_cache`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/purge_cache`, }), }, { - name: "ai_search_search", + name: "aiSearch_search", title: "Search", description: "Executes a semantic search query against an AI Search instance to find relevant indexed content.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "ai_search_options": { @@ -9626,20 +9700,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -10094,34 +10179,42 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/search`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/search`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "ai_search_stats", + name: "aiSearch_stats", title: "Get instance statistics.", description: "Retrieve usage and indexing statistics for an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "AI Search instance ID. Lowercase alphanumeric, hyphens, and underscores.", + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -10367,19 +10460,16 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}/stats`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}/stats`, }), }, { - name: "ai_search_update", + name: "aiSearch_update", title: "Update an AI Search instance.", description: "Updates the configuration of an AI Search instance.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "ai_gateway_id": { @@ -10955,19 +11045,30 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "instance_id": { - "type": "string" - }, - "namespace": { - "default": "default", - "description": "Namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "type": "string" + }, + "namespace": { + "default": "default", + "description": "Namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "instance_id" + "path" ], }, outputSchema: { @@ -12282,7 +12383,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "instance_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/ai-search/namespaces/${pathParam(args, "namespace")}/instances/${pathParam(args, "id")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, diff --git a/src/generated/forge-mcp/aiSecurity/customTopics/outputs.ts b/src/generated/forge-mcp/aiSecurity/customTopics/outputs.ts index e14b13fd6..0090f90b2 100644 --- a/src/generated/forge-mcp/aiSecurity/customTopics/outputs.ts +++ b/src/generated/forge-mcp/aiSecurity/customTopics/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waf-product-api-bundle_custom-topic` in responses. */ -export const waf_product_api_bundle_custom_topic_output: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$topic: JsonSchema = { "properties": { "label": { "type": "string" @@ -25,7 +25,7 @@ export const waf_product_api_bundle_custom_topic_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_custom-topics` in responses. */ -export const waf_product_api_bundle_custom_topics_output: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$topics: JsonSchema = { "properties": { "topics": { "items": { @@ -41,7 +41,7 @@ export const waf_product_api_bundle_custom_topics_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_response-custom-topics` in responses. */ -export const waf_product_api_bundle_response_custom_topics_output: JsonSchema = { +export const waf$$product$$api$$bundle_response$$custom$$topics: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-single" diff --git a/src/generated/forge-mcp/aiSecurity/customTopics/schemas.ts b/src/generated/forge-mcp/aiSecurity/customTopics/schemas.ts index ed09215fb..9805bdd0f 100644 --- a/src/generated/forge-mcp/aiSecurity/customTopics/schemas.ts +++ b/src/generated/forge-mcp/aiSecurity/customTopics/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waf-product-api-bundle_custom-topic`. */ -export const waf_product_api_bundle_custom_topic: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$topic: JsonSchema = { "properties": { "label": { "description": "Unique label identifier. Must contain only lowercase letters (a–z), digits (0–9), and hyphens.", @@ -27,7 +27,7 @@ export const waf_product_api_bundle_custom_topic: JsonSchema = { /** * The schema of `waf-product-api-bundle_custom-topics`. */ -export const waf_product_api_bundle_custom_topics: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$topics: JsonSchema = { "properties": { "topics": { "description": "Custom topic categories for AI Security for Apps content detection.", diff --git a/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts b/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts index f91475ff5..88a81c5d6 100644 --- a/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts +++ b/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts @@ -3,54 +3,62 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - waf_product_api_bundle_api_response_common_output, - waf_product_api_bundle_api_response_single_output, - waf_product_api_bundle_messages_output, + waf$$product$$api$$bundle_api$$response$$common, + waf$$product$$api$$bundle_api$$response$$single, + waf$$product$$api$$bundle_messages, } from "../../outputs.js"; -import { waf_product_api_bundle_api_response_common_failure_3_output } from "../outputs.js"; -import { waf_product_api_bundle_zone_id } from "../schemas.js"; +import { waf$$product$$api$$bundle_api$$response$$common$$failure$$3 } from "../outputs.js"; +import { waf$$product$$api$$bundle_zone_id } from "../schemas.js"; import { - waf_product_api_bundle_custom_topic_output, - waf_product_api_bundle_custom_topics_output, - waf_product_api_bundle_response_custom_topics_output, + waf$$product$$api$$bundle_custom$$topic, + waf$$product$$api$$bundle_custom$$topics, + waf$$product$$api$$bundle_response$$custom$$topics, } from "./outputs.js"; import { - waf_product_api_bundle_custom_topic, - waf_product_api_bundle_custom_topics, + waf$$product$$api$$bundle_custom$$topic as waf$$product$$api$$bundle_custom$$topic$, + waf$$product$$api$$bundle_custom$$topics as waf$$product$$api$$bundle_custom$$topics$, } from "./schemas.js"; /** - * The tools of `ai_security.custom_topics`. + * The tools of `aiSecurity.customTopics`. */ export const tools: readonly Tool[] = [ { - name: "ai_security_custom_topics_get", + name: "aiSecurity_customTopics_get", title: "Get the AI Security for Apps custom topics of a zone.", description: "Get the custom topic categories defined for the zone. While AI Security for Apps is enabled, it scores every incoming prompt against these topics and writes the scores to the `cf.llm.prompt.custom_topic_categories` field, keyed by topic label. Topics can be configured while the detection is disabled, but no prompt is scored until you enable it.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_zone_id", - "description": "Defines the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_zone_id", + "description": "Defines the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "waf-product-api-bundle_zone_id": waf_product_api_bundle_zone_id, + "waf-product-api-bundle_zone_id": waf$$product$$api$$bundle_zone_id, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-topics", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-topic": waf_product_api_bundle_custom_topic_output, - "waf-product-api-bundle_custom-topics": waf_product_api_bundle_custom_topics_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-topics": waf_product_api_bundle_response_custom_topics_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-topic": waf$$product$$api$$bundle_custom$$topic, + "waf-product-api-bundle_custom-topics": waf$$product$$api$$bundle_custom$$topics, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-topics": waf$$product$$api$$bundle_response$$custom$$topics, }, }, annotations: { @@ -79,13 +87,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure-3": waf_product_api_bundle_api_response_common_failure_3_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-topic": waf_product_api_bundle_custom_topic_output, - "waf-product-api-bundle_custom-topics": waf_product_api_bundle_custom_topics_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-topics": waf_product_api_bundle_response_custom_topics_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure-3": waf$$product$$api$$bundle_api$$response$$common$$failure$$3, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-topic": waf$$product$$api$$bundle_custom$$topic, + "waf-product-api-bundle_custom-topics": waf$$product$$api$$bundle_custom$$topics, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-topics": waf$$product$$api$$bundle_response$$custom$$topics, }, }, request: (args) => ({ @@ -93,7 +101,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_security_custom_topics_update", + name: "aiSecurity_customTopics_update", title: "Update the AI Security for Apps custom topics of a zone.", description: "Update the custom topic list of the zone, overwriting it entirely with the topics in the request, so include\nevery topic you want to keep. Changes can take up to a minute to propagate.\n\nEach entry has a `label`, used to reference the topic in rule expressions and analytics, and a `topic`\ndescription, which the classifier scores prompts against while AI Security for Apps is enabled. The following\nrules apply:\n\n- A zone can hold at most 20 topics.\n- `label` must be 2–20 characters, using only lowercase letters (a–z), digits (0–9), and hyphens.\n- `topic` must be 2–50 UTF-8 bytes. Text in any language is supported, including spaces, numbers,\n punctuation, and symbols. Tabs, line breaks, invalid text, and invisible formatting characters are not allowed.\n- Labels must be unique within the zone, and so must topic descriptions.\n\nConfirm with the user before calling this tool. This operation overwrites the AI Security for Apps custom topics for a zone.", inputSchema: { @@ -102,30 +110,38 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waf-product-api-bundle_custom-topics" }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_zone_id", - "description": "Defines the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_zone_id", + "description": "Defines the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "waf-product-api-bundle_custom-topic": waf_product_api_bundle_custom_topic, - "waf-product-api-bundle_custom-topics": waf_product_api_bundle_custom_topics, - "waf-product-api-bundle_zone_id": waf_product_api_bundle_zone_id, + "waf-product-api-bundle_custom-topic": waf$$product$$api$$bundle_custom$$topic$, + "waf-product-api-bundle_custom-topics": waf$$product$$api$$bundle_custom$$topics$, + "waf-product-api-bundle_zone_id": waf$$product$$api$$bundle_zone_id, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-topics", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-topic": waf_product_api_bundle_custom_topic_output, - "waf-product-api-bundle_custom-topics": waf_product_api_bundle_custom_topics_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-topics": waf_product_api_bundle_response_custom_topics_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-topic": waf$$product$$api$$bundle_custom$$topic, + "waf-product-api-bundle_custom-topics": waf$$product$$api$$bundle_custom$$topics, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-topics": waf$$product$$api$$bundle_response$$custom$$topics, }, }, annotations: { @@ -154,13 +170,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure-3": waf_product_api_bundle_api_response_common_failure_3_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-topic": waf_product_api_bundle_custom_topic_output, - "waf-product-api-bundle_custom-topics": waf_product_api_bundle_custom_topics_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-topics": waf_product_api_bundle_response_custom_topics_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure-3": waf$$product$$api$$bundle_api$$response$$common$$failure$$3, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-topic": waf$$product$$api$$bundle_custom$$topic, + "waf-product-api-bundle_custom-topics": waf$$product$$api$$bundle_custom$$topics, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-topics": waf$$product$$api$$bundle_response$$custom$$topics, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/aiSecurity/outputs.ts b/src/generated/forge-mcp/aiSecurity/outputs.ts index 2ed4f53c8..92ed0d2d2 100644 --- a/src/generated/forge-mcp/aiSecurity/outputs.ts +++ b/src/generated/forge-mcp/aiSecurity/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../_/tool.js"; * The schema of `waf-product-api-bundle_api-response-common-failure-3` in * responses. */ -export const waf_product_api_bundle_api_response_common_failure_3_output: JsonSchema = { +export const waf$$product$$api$$bundle_api$$response$$common$$failure$$3: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/waf-product-api-bundle_messages" @@ -37,7 +37,7 @@ export const waf_product_api_bundle_api_response_common_failure_3_output: JsonSc /** * The schema of `waf-product-api-bundle_response-settings` in responses. */ -export const waf_product_api_bundle_response_settings_output: JsonSchema = { +export const waf$$product$$api$$bundle_response$$settings: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-single" @@ -56,7 +56,7 @@ export const waf_product_api_bundle_response_settings_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_settings` in responses. */ -export const waf_product_api_bundle_settings_output: JsonSchema = { +export const waf$$product$$api$$bundle_settings: JsonSchema = { "properties": { "enabled": { "type": "boolean" diff --git a/src/generated/forge-mcp/aiSecurity/schemas.ts b/src/generated/forge-mcp/aiSecurity/schemas.ts index 4b178b11d..a183e8d73 100644 --- a/src/generated/forge-mcp/aiSecurity/schemas.ts +++ b/src/generated/forge-mcp/aiSecurity/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `waf-product-api-bundle_settings`. */ -export const waf_product_api_bundle_settings: JsonSchema = { +export const waf$$product$$api$$bundle_settings: JsonSchema = { "description": "AI Security for Apps enablement status for a zone.", "properties": { "enabled": { @@ -20,7 +20,7 @@ export const waf_product_api_bundle_settings: JsonSchema = { /** * The schema of `waf-product-api-bundle_zone_id`. */ -export const waf_product_api_bundle_zone_id: JsonSchema = { +export const waf$$product$$api$$bundle_zone_id: JsonSchema = { "description": "Defines the zone.", "type": "string" }; diff --git a/src/generated/forge-mcp/aiSecurity/tools.ts b/src/generated/forge-mcp/aiSecurity/tools.ts index 4d4e49d0e..cf851f62e 100644 --- a/src/generated/forge-mcp/aiSecurity/tools.ts +++ b/src/generated/forge-mcp/aiSecurity/tools.ts @@ -3,51 +3,59 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - waf_product_api_bundle_api_response_common_output, - waf_product_api_bundle_api_response_single_output, - waf_product_api_bundle_messages_output, + waf$$product$$api$$bundle_api$$response$$common, + waf$$product$$api$$bundle_api$$response$$single, + waf$$product$$api$$bundle_messages, } from "../outputs.js"; import { - waf_product_api_bundle_api_response_common_failure_3_output, - waf_product_api_bundle_response_settings_output, - waf_product_api_bundle_settings_output, + waf$$product$$api$$bundle_api$$response$$common$$failure$$3, + waf$$product$$api$$bundle_response$$settings, + waf$$product$$api$$bundle_settings, } from "./outputs.js"; import { - waf_product_api_bundle_settings, - waf_product_api_bundle_zone_id, + waf$$product$$api$$bundle_settings as waf$$product$$api$$bundle_settings$, + waf$$product$$api$$bundle_zone_id, } from "./schemas.js"; /** - * The tools of `ai_security`. + * The tools of `aiSecurity`. */ export const tools: readonly Tool[] = [ { - name: "ai_security_get", + name: "aiSecurity_get", title: "Get the AI Security for Apps status for a zone.", description: "Get the current AI Security for Apps status for the zone. While enabled, Cloudflare scans prompts sent to endpoints labeled `cf-llm` for personally identifiable information, unsafe topics, and prompt injection attempts.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_zone_id", - "description": "Defines the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_zone_id", + "description": "Defines the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "waf-product-api-bundle_zone_id": waf_product_api_bundle_zone_id, + "waf-product-api-bundle_zone_id": waf$$product$$api$$bundle_zone_id, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-settings", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-settings": waf_product_api_bundle_response_settings_output, - "waf-product-api-bundle_settings": waf_product_api_bundle_settings_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-settings": waf$$product$$api$$bundle_response$$settings, + "waf-product-api-bundle_settings": waf$$product$$api$$bundle_settings, }, }, annotations: { @@ -76,12 +84,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure-3": waf_product_api_bundle_api_response_common_failure_3_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-settings": waf_product_api_bundle_response_settings_output, - "waf-product-api-bundle_settings": waf_product_api_bundle_settings_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure-3": waf$$product$$api$$bundle_api$$response$$common$$failure$$3, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-settings": waf$$product$$api$$bundle_response$$settings, + "waf-product-api-bundle_settings": waf$$product$$api$$bundle_settings, }, }, request: (args) => ({ @@ -89,7 +97,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ai_security_update", + name: "aiSecurity_update", title: "Update the AI Security for Apps status for a zone.", description: "Update the AI Security for Apps status for the zone, enabling or disabling the detection. The detection results are exposed as `cf.llm.prompt.*` fields for use in custom rules and rate limiting rules; changes can take up to a minute to propagate.\n\nConfirm with the user before calling this tool. This operation toggles AI Security for Apps for a zone.", inputSchema: { @@ -98,28 +106,36 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waf-product-api-bundle_settings" }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_zone_id", - "description": "Defines the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_zone_id", + "description": "Defines the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "waf-product-api-bundle_settings": waf_product_api_bundle_settings, - "waf-product-api-bundle_zone_id": waf_product_api_bundle_zone_id, + "waf-product-api-bundle_settings": waf$$product$$api$$bundle_settings$, + "waf-product-api-bundle_zone_id": waf$$product$$api$$bundle_zone_id, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-settings", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-settings": waf_product_api_bundle_response_settings_output, - "waf-product-api-bundle_settings": waf_product_api_bundle_settings_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-settings": waf$$product$$api$$bundle_response$$settings, + "waf-product-api-bundle_settings": waf$$product$$api$$bundle_settings, }, }, annotations: { @@ -148,12 +164,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure-3": waf_product_api_bundle_api_response_common_failure_3_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-settings": waf_product_api_bundle_response_settings_output, - "waf-product-api-bundle_settings": waf_product_api_bundle_settings_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure-3": waf$$product$$api$$bundle_api$$response$$common$$failure$$3, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-settings": waf$$product$$api$$bundle_response$$settings, + "waf-product-api-bundle_settings": waf$$product$$api$$bundle_settings, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts b/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts index 771b37663..c089f0eb2 100644 --- a/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts +++ b/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `aaa_alert-types` in responses. */ -export const aaa_alert_types_output: JsonSchema = { +export const aaa_alert$$types: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/aaa_description" @@ -27,7 +27,7 @@ export const aaa_alert_types_output: JsonSchema = { /** * The schema of `aaa_alerts-response_collection` in responses. */ -export const aaa_alerts_response_collection_output: JsonSchema = { +export const aaa_alerts$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-common-2" @@ -52,21 +52,21 @@ export const aaa_alerts_response_collection_output: JsonSchema = { /** * The schema of `aaa_description` in responses. */ -export const aaa_description_output: JsonSchema = { +export const aaa_description: JsonSchema = { "type": "string" }; /** * The schema of `aaa_display_name` in responses. */ -export const aaa_display_name_output: JsonSchema = { +export const aaa_display_name: JsonSchema = { "type": "string" }; /** * The schema of `aaa_filter_options` in responses. */ -export const aaa_filter_options_output: JsonSchema = { +export const aaa_filter_options: JsonSchema = { "items": { "type": "object" }, @@ -76,6 +76,6 @@ export const aaa_filter_options_output: JsonSchema = { /** * The schema of `aaa_type` in responses. */ -export const aaa_type_output: JsonSchema = { +export const aaa_type: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/availableAlerts/tools.ts b/src/generated/forge-mcp/alerting/availableAlerts/tools.ts index 577e9f8ff..c7a0a0382 100644 --- a/src/generated/forge-mcp/alerting/availableAlerts/tools.ts +++ b/src/generated/forge-mcp/alerting/availableAlerts/tools.ts @@ -3,54 +3,62 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - aaa_api_response_common_2_output, - aaa_api_response_common_failure_3_output, - aaa_messages_3_output, + aaa_api$$response$$common$$2, + aaa_api$$response$$common$$failure$$3, + aaa_messages$$3, } from "../outputs.js"; -import { aaa_account_id } from "../schemas.js"; +import { aaa_account$$id } from "../schemas.js"; import { - aaa_alert_types_output, - aaa_alerts_response_collection_output, - aaa_description_output, - aaa_display_name_output, - aaa_filter_options_output, - aaa_type_output, + aaa_alert$$types, + aaa_alerts$$response_collection, + aaa_description, + aaa_display_name, + aaa_filter_options, + aaa_type, } from "./outputs.js"; /** - * The tools of `alerting.available_alerts`. + * The tools of `alerting.availableAlerts`. */ export const tools: readonly Tool[] = [ { - name: "alerting_available_alerts_list", + name: "alerting_availableAlerts_list", title: "Get Alert Types", description: "Gets a list of all alert types for which an account is eligible.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, + "aaa_account-id": aaa_account$$id, }, }, outputSchema: { "$ref": "#/$defs/aaa_alerts-response_collection", $defs: { - "aaa_alert-types": aaa_alert_types_output, - "aaa_alerts-response_collection": aaa_alerts_response_collection_output, - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_description": aaa_description_output, - "aaa_display_name": aaa_display_name_output, - "aaa_filter_options": aaa_filter_options_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_type": aaa_type_output, + "aaa_alert-types": aaa_alert$$types, + "aaa_alerts-response_collection": aaa_alerts$$response_collection, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_description": aaa_description, + "aaa_display_name": aaa_display_name, + "aaa_filter_options": aaa_filter_options, + "aaa_messages-3": aaa_messages$$3, + "aaa_type": aaa_type, }, }, annotations: { @@ -81,15 +89,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_alert-types": aaa_alert_types_output, - "aaa_alerts-response_collection": aaa_alerts_response_collection_output, - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_description": aaa_description_output, - "aaa_display_name": aaa_display_name_output, - "aaa_filter_options": aaa_filter_options_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_type": aaa_type_output, + "aaa_alert-types": aaa_alert$$types, + "aaa_alerts-response_collection": aaa_alerts$$response_collection, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_description": aaa_description, + "aaa_display_name": aaa_display_name, + "aaa_filter_options": aaa_filter_options, + "aaa_messages-3": aaa_messages$$3, + "aaa_type": aaa_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts b/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts index d16bb8eb5..d445886df 100644 --- a/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts +++ b/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `aaa_eligibility` in responses. */ -export const aaa_eligibility_output: JsonSchema = { +export const aaa_eligibility: JsonSchema = { "properties": { "eligible": { "$ref": "#/$defs/aaa_eligible" @@ -24,21 +24,21 @@ export const aaa_eligibility_output: JsonSchema = { /** * The schema of `aaa_eligible` in responses. */ -export const aaa_eligible_output: JsonSchema = { +export const aaa_eligible: JsonSchema = { "type": "boolean" }; /** * The schema of `aaa_ready` in responses. */ -export const aaa_ready_output: JsonSchema = { +export const aaa_ready: JsonSchema = { "type": "boolean" }; /** * The schema of `aaa_schemas-response_collection` in responses. */ -export const aaa_schemas_response_collection_output: JsonSchema = { +export const aaa_schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-common-2" @@ -63,7 +63,7 @@ export const aaa_schemas_response_collection_output: JsonSchema = { /** * The schema of `aaa_schemas-type` in responses. */ -export const aaa_schemas_type_output: JsonSchema = { +export const aaa_schemas$$type: JsonSchema = { "enum": [ "email", "pagerduty", diff --git a/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts b/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts index 76b9b27b5..4acee759a 100644 --- a/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts +++ b/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts @@ -3,17 +3,17 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - aaa_api_response_common_2_output, - aaa_api_response_common_failure_3_output, - aaa_messages_3_output, + aaa_api$$response$$common$$2, + aaa_api$$response$$common$$failure$$3, + aaa_messages$$3, } from "../../outputs.js"; -import { aaa_account_id } from "../../schemas.js"; +import { aaa_account$$id } from "../../schemas.js"; import { - aaa_eligibility_output, - aaa_eligible_output, - aaa_ready_output, - aaa_schemas_response_collection_output, - aaa_schemas_type_output, + aaa_eligibility, + aaa_eligible, + aaa_ready, + aaa_schemas$$response_collection, + aaa_schemas$$type, } from "./outputs.js"; /** @@ -27,28 +27,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, + "aaa_account-id": aaa_account$$id, }, }, outputSchema: { "$ref": "#/$defs/aaa_schemas-response_collection", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_eligibility": aaa_eligibility_output, - "aaa_eligible": aaa_eligible_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_ready": aaa_ready_output, - "aaa_schemas-response_collection": aaa_schemas_response_collection_output, - "aaa_schemas-type": aaa_schemas_type_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_eligibility": aaa_eligibility, + "aaa_eligible": aaa_eligible, + "aaa_messages-3": aaa_messages$$3, + "aaa_ready": aaa_ready, + "aaa_schemas-response_collection": aaa_schemas$$response_collection, + "aaa_schemas-type": aaa_schemas$$type, }, }, annotations: { @@ -70,14 +78,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_eligibility": aaa_eligibility_output, - "aaa_eligible": aaa_eligible_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_ready": aaa_ready_output, - "aaa_schemas-response_collection": aaa_schemas_response_collection_output, - "aaa_schemas-type": aaa_schemas_type_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_eligibility": aaa_eligibility, + "aaa_eligible": aaa_eligible, + "aaa_messages-3": aaa_messages$$3, + "aaa_ready": aaa_ready, + "aaa_schemas-response_collection": aaa_schemas$$response_collection, + "aaa_schemas-type": aaa_schemas$$type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts b/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts index 3a5ffcc49..8b0714e3b 100644 --- a/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts +++ b/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `aaa_components-schemas-response_collection` in responses. */ -export const aaa_components_schemas_response_collection_output: JsonSchema = { +export const aaa_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-common-2" @@ -28,14 +28,14 @@ export const aaa_components_schemas_response_collection_output: JsonSchema = { /** * The schema of `aaa_name` in responses. */ -export const aaa_name_output: JsonSchema = { +export const aaa_name: JsonSchema = { "type": "string" }; /** * The schema of `aaa_pagerduty` in responses. */ -export const aaa_pagerduty_output: JsonSchema = { +export const aaa_pagerduty: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/aaa_uuid" @@ -50,7 +50,7 @@ export const aaa_pagerduty_output: JsonSchema = { /** * The schema of `aaa_sensitive_id_response` in responses. */ -export const aaa_sensitive_id_response_output: JsonSchema = { +export const aaa_sensitive_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-single" @@ -74,6 +74,6 @@ export const aaa_sensitive_id_response_output: JsonSchema = { /** * The schema of `aaa_token` in responses. */ -export const aaa_token_output: JsonSchema = { +export const aaa_token: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/destinations/pagerduty/schemas.ts b/src/generated/forge-mcp/alerting/destinations/pagerduty/schemas.ts index bc67f58a8..e5c8667a1 100644 --- a/src/generated/forge-mcp/alerting/destinations/pagerduty/schemas.ts +++ b/src/generated/forge-mcp/alerting/destinations/pagerduty/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `aaa_integration-token`. */ -export const aaa_integration_token: JsonSchema = { +export const aaa_integration$$token: JsonSchema = { "description": "The token integration key", "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts b/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts index 4454b4f45..1521be586 100644 --- a/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts +++ b/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts @@ -3,22 +3,22 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - aaa_api_response_common_2_output, - aaa_api_response_common_failure_3_output, - aaa_api_response_single_output, - aaa_id_response_output, - aaa_messages_3_output, - aaa_uuid_output, + aaa_api$$response$$common$$2, + aaa_api$$response$$common$$failure$$3, + aaa_api$$response$$single, + aaa_id_response, + aaa_messages$$3, + aaa_uuid, } from "../../outputs.js"; -import { aaa_account_id } from "../../schemas.js"; +import { aaa_account$$id } from "../../schemas.js"; import { - aaa_components_schemas_response_collection_output, - aaa_name_output, - aaa_pagerduty_output, - aaa_sensitive_id_response_output, - aaa_token_output, + aaa_components$$schemas$$response_collection, + aaa_name, + aaa_pagerduty, + aaa_sensitive_id_response, + aaa_token, } from "./outputs.js"; -import { aaa_integration_token } from "./schemas.js"; +import { aaa_integration$$token } from "./schemas.js"; /** * The tools of `alerting.destinations.pagerduty`. @@ -31,25 +31,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, + "aaa_account-id": aaa_account$$id, }, }, outputSchema: { "$ref": "#/$defs/aaa_sensitive_id_response", $defs: { - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_sensitive_id_response": aaa_sensitive_id_response_output, - "aaa_token": aaa_token_output, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_messages-3": aaa_messages$$3, + "aaa_sensitive_id_response": aaa_sensitive_id_response, + "aaa_token": aaa_token, }, }, annotations: { @@ -84,13 +92,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_sensitive_id_response": aaa_sensitive_id_response_output, - "aaa_token": aaa_token_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_sensitive_id_response": aaa_sensitive_id_response, + "aaa_token": aaa_token, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -104,23 +112,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, + "aaa_account-id": aaa_account$$id, }, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-common-2", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_messages-3": aaa_messages_3_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_messages-3": aaa_messages$$3, }, }, annotations: { @@ -148,9 +164,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_messages-3": aaa_messages_3_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_messages-3": aaa_messages$$3, }, }, request: (args) => ({ @@ -164,27 +180,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, + "aaa_account-id": aaa_account$$id, }, }, outputSchema: { "$ref": "#/$defs/aaa_components-schemas-response_collection", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_components-schemas-response_collection": aaa_components_schemas_response_collection_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_name": aaa_name_output, - "aaa_pagerduty": aaa_pagerduty_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_components-schemas-response_collection": aaa_components$$schemas$$response_collection, + "aaa_messages-3": aaa_messages$$3, + "aaa_name": aaa_name, + "aaa_pagerduty": aaa_pagerduty, + "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -221,13 +245,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_components-schemas-response_collection": aaa_components_schemas_response_collection_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_name": aaa_name_output, - "aaa_pagerduty": aaa_pagerduty_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_components-schemas-response_collection": aaa_components$$schemas$$response_collection, + "aaa_messages-3": aaa_messages$$3, + "aaa_name": aaa_name, + "aaa_pagerduty": aaa_pagerduty, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -241,31 +265,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "token_id": { - "$ref": "#/$defs/aaa_integration-token", - "description": "The token integration key" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "token_id": { + "$ref": "#/$defs/aaa_integration-token", + "description": "The token integration key" + } + }, + "required": [ + "account_id", + "token_id" + ], + "type": "object" } }, required: [ - "account_id", - "token_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_integration-token": aaa_integration_token, + "aaa_account-id": aaa_account$$id, + "aaa_integration-token": aaa_integration$$token, }, }, outputSchema: { "$ref": "#/$defs/aaa_id_response", $defs: { - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -300,11 +332,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts b/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts index c4b5a36de..851e3ca54 100644 --- a/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts +++ b/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `aaa_components-schemas-name` in responses. */ -export const aaa_components_schemas_name_output: JsonSchema = { +export const aaa_components$$schemas$$name: JsonSchema = { "type": "string" }; /** * The schema of `aaa_components-schemas-type` in responses. */ -export const aaa_components_schemas_type_output: JsonSchema = { +export const aaa_components$$schemas$$type: JsonSchema = { "enum": [ "datadog", "discord", @@ -30,7 +30,7 @@ export const aaa_components_schemas_type_output: JsonSchema = { /** * The schema of `aaa_created_at` in responses. */ -export const aaa_created_at_output: JsonSchema = { +export const aaa_created_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -38,7 +38,7 @@ export const aaa_created_at_output: JsonSchema = { /** * The schema of `aaa_last_failure` in responses. */ -export const aaa_last_failure_output: JsonSchema = { +export const aaa_last_failure: JsonSchema = { "format": "date-time", "type": "string" }; @@ -46,7 +46,7 @@ export const aaa_last_failure_output: JsonSchema = { /** * The schema of `aaa_last_success` in responses. */ -export const aaa_last_success_output: JsonSchema = { +export const aaa_last_success: JsonSchema = { "format": "date-time", "type": "string" }; @@ -54,7 +54,7 @@ export const aaa_last_success_output: JsonSchema = { /** * The schema of `aaa_schemas-single_response` in responses. */ -export const aaa_schemas_single_response_output: JsonSchema = { +export const aaa_schemas$$single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-single" @@ -73,28 +73,28 @@ export const aaa_schemas_single_response_output: JsonSchema = { /** * The schema of `aaa_secret` in responses. */ -export const aaa_secret_output: JsonSchema = { +export const aaa_secret: JsonSchema = { "type": "string" }; /** * The schema of `aaa_url` in responses. */ -export const aaa_url_output: JsonSchema = { +export const aaa_url: JsonSchema = { "type": "string" }; /** * The schema of `aaa_webhook-id` in responses. */ -export const aaa_webhook_id_output: JsonSchema = { +export const aaa_webhook$$id: JsonSchema = { "type": "string" }; /** * The schema of `aaa_webhooks` in responses. */ -export const aaa_webhooks_output: JsonSchema = { +export const aaa_webhooks: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/aaa_created_at" @@ -128,7 +128,7 @@ export const aaa_webhooks_output: JsonSchema = { * The schema of `aaa_webhooks_components-schemas-response_collection` in * responses. */ -export const aaa_webhooks_components_schemas_response_collection_output: JsonSchema = { +export const aaa_webhooks_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-common-2" diff --git a/src/generated/forge-mcp/alerting/destinations/webhooks/schemas.ts b/src/generated/forge-mcp/alerting/destinations/webhooks/schemas.ts index 480808bd8..783f5aa01 100644 --- a/src/generated/forge-mcp/alerting/destinations/webhooks/schemas.ts +++ b/src/generated/forge-mcp/alerting/destinations/webhooks/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `aaa_components-schemas-name`. */ -export const aaa_components_schemas_name: JsonSchema = { +export const aaa_components$$schemas$$name: JsonSchema = { "description": "The name of the webhook destination. This will be included in the request body when you receive a webhook notification.", "type": "string" }; @@ -30,7 +30,7 @@ export const aaa_url: JsonSchema = { /** * The schema of `aaa_webhook-id`. */ -export const aaa_webhook_id: JsonSchema = { +export const aaa_webhook$$id: JsonSchema = { "description": "The unique identifier of a webhook", "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts b/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts index 1851ac3ec..7fd6712cc 100644 --- a/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts +++ b/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts @@ -3,32 +3,32 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - aaa_api_response_common_2_output, - aaa_api_response_common_failure_3_output, - aaa_api_response_single_output, - aaa_id_response_output, - aaa_messages_3_output, - aaa_uuid_output, + aaa_api$$response$$common$$2, + aaa_api$$response$$common$$failure$$3, + aaa_api$$response$$single, + aaa_id_response, + aaa_messages$$3, + aaa_uuid, } from "../../outputs.js"; -import { aaa_account_id } from "../../schemas.js"; +import { aaa_account$$id } from "../../schemas.js"; import { - aaa_components_schemas_name_output, - aaa_components_schemas_type_output, - aaa_created_at_output, - aaa_last_failure_output, - aaa_last_success_output, - aaa_schemas_single_response_output, - aaa_secret_output, - aaa_url_output, - aaa_webhook_id_output, - aaa_webhooks_components_schemas_response_collection_output, - aaa_webhooks_output, -} from "./outputs.js"; -import { - aaa_components_schemas_name, + aaa_components$$schemas$$name, + aaa_components$$schemas$$type, + aaa_created_at, + aaa_last_failure, + aaa_last_success, + aaa_schemas$$single_response, aaa_secret, aaa_url, - aaa_webhook_id, + aaa_webhook$$id, + aaa_webhooks, + aaa_webhooks_components$$schemas$$response_collection, +} from "./outputs.js"; +import { + aaa_components$$schemas$$name as aaa_components$$schemas$$name$, + aaa_secret as aaa_secret$, + aaa_url as aaa_url$, + aaa_webhook$$id as aaa_webhook$$id$, } from "./schemas.js"; /** @@ -42,10 +42,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, "body": { "properties": { "name": { @@ -66,26 +62,38 @@ export const tools: readonly Tool[] = [ "url" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_components-schemas-name": aaa_components_schemas_name, - "aaa_secret": aaa_secret, - "aaa_url": aaa_url, + "aaa_account-id": aaa_account$$id, + "aaa_components-schemas-name": aaa_components$$schemas$$name$, + "aaa_secret": aaa_secret$, + "aaa_url": aaa_url$, }, }, outputSchema: { "$ref": "#/$defs/aaa_id_response", $defs: { - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -126,11 +134,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -145,29 +153,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "webhook_id": { - "$ref": "#/$defs/aaa_webhook-id", - "description": "The unique identifier of a webhook" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "webhook_id": { + "$ref": "#/$defs/aaa_webhook-id", + "description": "The unique identifier of a webhook" + } + }, + "required": [ + "account_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "webhook_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_webhook-id": aaa_webhook_id, + "aaa_account-id": aaa_account$$id, + "aaa_webhook-id": aaa_webhook$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-common-2", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_messages-3": aaa_messages_3_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_messages-3": aaa_messages$$3, }, }, annotations: { @@ -201,9 +217,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_messages-3": aaa_messages_3_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_messages-3": aaa_messages$$3, }, }, request: (args) => ({ @@ -217,39 +233,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "webhook_id": { - "$ref": "#/$defs/aaa_webhook-id", - "description": "The unique identifier of a webhook" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "webhook_id": { + "$ref": "#/$defs/aaa_webhook-id", + "description": "The unique identifier of a webhook" + } + }, + "required": [ + "account_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "webhook_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_webhook-id": aaa_webhook_id, + "aaa_account-id": aaa_account$$id, + "aaa_webhook-id": aaa_webhook$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_schemas-single_response", $defs: { - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_components-schemas-name": aaa_components_schemas_name_output, - "aaa_components-schemas-type": aaa_components_schemas_type_output, - "aaa_created_at": aaa_created_at_output, - "aaa_last_failure": aaa_last_failure_output, - "aaa_last_success": aaa_last_success_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_schemas-single_response": aaa_schemas_single_response_output, - "aaa_secret": aaa_secret_output, - "aaa_url": aaa_url_output, - "aaa_webhook-id": aaa_webhook_id_output, - "aaa_webhooks": aaa_webhooks_output, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_components-schemas-name": aaa_components$$schemas$$name, + "aaa_components-schemas-type": aaa_components$$schemas$$type, + "aaa_created_at": aaa_created_at, + "aaa_last_failure": aaa_last_failure, + "aaa_last_success": aaa_last_success, + "aaa_messages-3": aaa_messages$$3, + "aaa_schemas-single_response": aaa_schemas$$single_response, + "aaa_secret": aaa_secret, + "aaa_url": aaa_url, + "aaa_webhook-id": aaa_webhook$$id, + "aaa_webhooks": aaa_webhooks, }, }, annotations: { @@ -293,19 +317,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_components-schemas-name": aaa_components_schemas_name_output, - "aaa_components-schemas-type": aaa_components_schemas_type_output, - "aaa_created_at": aaa_created_at_output, - "aaa_last_failure": aaa_last_failure_output, - "aaa_last_success": aaa_last_success_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_schemas-single_response": aaa_schemas_single_response_output, - "aaa_secret": aaa_secret_output, - "aaa_url": aaa_url_output, - "aaa_webhook-id": aaa_webhook_id_output, - "aaa_webhooks": aaa_webhooks_output, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_components-schemas-name": aaa_components$$schemas$$name, + "aaa_components-schemas-type": aaa_components$$schemas$$type, + "aaa_created_at": aaa_created_at, + "aaa_last_failure": aaa_last_failure, + "aaa_last_success": aaa_last_success, + "aaa_messages-3": aaa_messages$$3, + "aaa_schemas-single_response": aaa_schemas$$single_response, + "aaa_secret": aaa_secret, + "aaa_url": aaa_url, + "aaa_webhook-id": aaa_webhook$$id, + "aaa_webhooks": aaa_webhooks, }, }, request: (args) => ({ @@ -319,33 +343,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, + "aaa_account-id": aaa_account$$id, }, }, outputSchema: { "$ref": "#/$defs/aaa_webhooks_components-schemas-response_collection", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_components-schemas-name": aaa_components_schemas_name_output, - "aaa_components-schemas-type": aaa_components_schemas_type_output, - "aaa_created_at": aaa_created_at_output, - "aaa_last_failure": aaa_last_failure_output, - "aaa_last_success": aaa_last_success_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_secret": aaa_secret_output, - "aaa_url": aaa_url_output, - "aaa_webhook-id": aaa_webhook_id_output, - "aaa_webhooks": aaa_webhooks_output, - "aaa_webhooks_components-schemas-response_collection": aaa_webhooks_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_components-schemas-name": aaa_components$$schemas$$name, + "aaa_components-schemas-type": aaa_components$$schemas$$type, + "aaa_created_at": aaa_created_at, + "aaa_last_failure": aaa_last_failure, + "aaa_last_success": aaa_last_success, + "aaa_messages-3": aaa_messages$$3, + "aaa_secret": aaa_secret, + "aaa_url": aaa_url, + "aaa_webhook-id": aaa_webhook$$id, + "aaa_webhooks": aaa_webhooks, + "aaa_webhooks_components-schemas-response_collection": aaa_webhooks_components$$schemas$$response_collection, }, }, annotations: { @@ -389,19 +421,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_components-schemas-name": aaa_components_schemas_name_output, - "aaa_components-schemas-type": aaa_components_schemas_type_output, - "aaa_created_at": aaa_created_at_output, - "aaa_last_failure": aaa_last_failure_output, - "aaa_last_success": aaa_last_success_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_secret": aaa_secret_output, - "aaa_url": aaa_url_output, - "aaa_webhook-id": aaa_webhook_id_output, - "aaa_webhooks": aaa_webhooks_output, - "aaa_webhooks_components-schemas-response_collection": aaa_webhooks_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_components-schemas-name": aaa_components$$schemas$$name, + "aaa_components-schemas-type": aaa_components$$schemas$$type, + "aaa_created_at": aaa_created_at, + "aaa_last_failure": aaa_last_failure, + "aaa_last_success": aaa_last_success, + "aaa_messages-3": aaa_messages$$3, + "aaa_secret": aaa_secret, + "aaa_url": aaa_url, + "aaa_webhook-id": aaa_webhook$$id, + "aaa_webhooks": aaa_webhooks, + "aaa_webhooks_components-schemas-response_collection": aaa_webhooks_components$$schemas$$response_collection, }, }, request: (args) => ({ @@ -415,10 +447,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, "body": { "properties": { "name": { @@ -440,31 +468,43 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "webhook_id": { - "$ref": "#/$defs/aaa_webhook-id", - "description": "The unique identifier of a webhook" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "webhook_id": { + "$ref": "#/$defs/aaa_webhook-id", + "description": "The unique identifier of a webhook" + } + }, + "required": [ + "account_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "webhook_id", + "path", "body" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_components-schemas-name": aaa_components_schemas_name, - "aaa_secret": aaa_secret, - "aaa_url": aaa_url, - "aaa_webhook-id": aaa_webhook_id, + "aaa_account-id": aaa_account$$id, + "aaa_components-schemas-name": aaa_components$$schemas$$name$, + "aaa_secret": aaa_secret$, + "aaa_url": aaa_url$, + "aaa_webhook-id": aaa_webhook$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_id_response", $defs: { - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -505,11 +545,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/history/outputs.ts b/src/generated/forge-mcp/alerting/history/outputs.ts index a46c44937..638ffc142 100644 --- a/src/generated/forge-mcp/alerting/history/outputs.ts +++ b/src/generated/forge-mcp/alerting/history/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `aaa_alert_body` in responses. */ -export const aaa_alert_body_output: JsonSchema = { +export const aaa_alert_body: JsonSchema = { "type": "string" }; /** * The schema of `aaa_components-schemas-description` in responses. */ -export const aaa_components_schemas_description_output: JsonSchema = { +export const aaa_components$$schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `aaa_history` in responses. */ -export const aaa_history_output: JsonSchema = { +export const aaa_history: JsonSchema = { "properties": { "alert_body": { "$ref": "#/$defs/aaa_alert_body" @@ -57,7 +57,7 @@ export const aaa_history_output: JsonSchema = { * The schema of `aaa_history_components-schemas-response_collection` in * responses. */ -export const aaa_history_components_schemas_response_collection_output: JsonSchema = { +export const aaa_history_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-collection" @@ -82,14 +82,14 @@ export const aaa_history_components_schemas_response_collection_output: JsonSche /** * The schema of `aaa_mechanism` in responses. */ -export const aaa_mechanism_output: JsonSchema = { +export const aaa_mechanism: JsonSchema = { "type": "string" }; /** * The schema of `aaa_mechanism_type` in responses. */ -export const aaa_mechanism_type_output: JsonSchema = { +export const aaa_mechanism_type: JsonSchema = { "enum": [ "email", "pagerduty", @@ -101,14 +101,14 @@ export const aaa_mechanism_type_output: JsonSchema = { /** * The schema of `aaa_schemas-alert_type` in responses. */ -export const aaa_schemas_alert_type_output: JsonSchema = { +export const aaa_schemas$$alert_type: JsonSchema = { "type": "string" }; /** * The schema of `aaa_sent` in responses. */ -export const aaa_sent_output: JsonSchema = { +export const aaa_sent: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/history/tools.ts b/src/generated/forge-mcp/alerting/history/tools.ts index e7a215e91..3fbd7c4f1 100644 --- a/src/generated/forge-mcp/alerting/history/tools.ts +++ b/src/generated/forge-mcp/alerting/history/tools.ts @@ -1,27 +1,27 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - aaa_api_response_collection_output, - aaa_api_response_common_2_output, - aaa_api_response_common_failure_3_output, - aaa_messages_3_output, - aaa_policy_id_output, - aaa_result_info_2_output, - aaa_schemas_name_output, - aaa_uuid_output, + aaa_api$$response$$collection, + aaa_api$$response$$common$$2, + aaa_api$$response$$common$$failure$$3, + aaa_messages$$3, + aaa_policy$$id, + aaa_result_info$$2, + aaa_schemas$$name, + aaa_uuid, } from "../outputs.js"; -import { aaa_account_id } from "../schemas.js"; +import { aaa_account$$id } from "../schemas.js"; import { - aaa_alert_body_output, - aaa_components_schemas_description_output, - aaa_history_components_schemas_response_collection_output, - aaa_history_output, - aaa_mechanism_output, - aaa_mechanism_type_output, - aaa_schemas_alert_type_output, - aaa_sent_output, + aaa_alert_body, + aaa_components$$schemas$$description, + aaa_history, + aaa_history_components$$schemas$$response_collection, + aaa_mechanism, + aaa_mechanism_type, + aaa_schemas$$alert_type, + aaa_sent, } from "./outputs.js"; import { aaa_before, aaa_per_page } from "./schemas.js"; @@ -36,35 +36,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "before": { - "$ref": "#/$defs/aaa_before", - "description": "Limit the returned results to history records older than the specified date. This must be a timestamp that conforms to RFC3339." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "$ref": "#/$defs/aaa_per_page", - "default": 25, - "description": "Number of items per page." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "since": { - "description": "Limit the returned results to history records newer than the specified date. This must be a timestamp that conforms to RFC3339.", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "before": { + "$ref": "#/$defs/aaa_before", + "description": "Limit the returned results to history records older than the specified date. This must be a timestamp that conforms to RFC3339." + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "$ref": "#/$defs/aaa_per_page", + "default": 25, + "description": "Number of items per page." + }, + "since": { + "description": "Limit the returned results to history records newer than the specified date. This must be a timestamp that conforms to RFC3339.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, + "aaa_account-id": aaa_account$$id, "aaa_before": aaa_before, "aaa_per_page": aaa_per_page, }, @@ -72,21 +85,21 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/aaa_history_components-schemas-response_collection", $defs: { - "aaa_alert_body": aaa_alert_body_output, - "aaa_api-response-collection": aaa_api_response_collection_output, - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_components-schemas-description": aaa_components_schemas_description_output, - "aaa_history": aaa_history_output, - "aaa_history_components-schemas-response_collection": aaa_history_components_schemas_response_collection_output, - "aaa_mechanism": aaa_mechanism_output, - "aaa_mechanism_type": aaa_mechanism_type_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_result_info-2": aaa_result_info_2_output, - "aaa_schemas-alert_type": aaa_schemas_alert_type_output, - "aaa_schemas-name": aaa_schemas_name_output, - "aaa_sent": aaa_sent_output, - "aaa_uuid": aaa_uuid_output, + "aaa_alert_body": aaa_alert_body, + "aaa_api-response-collection": aaa_api$$response$$collection, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_components-schemas-description": aaa_components$$schemas$$description, + "aaa_history": aaa_history, + "aaa_history_components-schemas-response_collection": aaa_history_components$$schemas$$response_collection, + "aaa_mechanism": aaa_mechanism, + "aaa_mechanism_type": aaa_mechanism_type, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_result_info-2": aaa_result_info$$2, + "aaa_schemas-alert_type": aaa_schemas$$alert_type, + "aaa_schemas-name": aaa_schemas$$name, + "aaa_sent": aaa_sent, + "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -124,31 +137,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_alert_body": aaa_alert_body_output, - "aaa_api-response-collection": aaa_api_response_collection_output, - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_components-schemas-description": aaa_components_schemas_description_output, - "aaa_history": aaa_history_output, - "aaa_history_components-schemas-response_collection": aaa_history_components_schemas_response_collection_output, - "aaa_mechanism": aaa_mechanism_output, - "aaa_mechanism_type": aaa_mechanism_type_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_result_info-2": aaa_result_info_2_output, - "aaa_schemas-alert_type": aaa_schemas_alert_type_output, - "aaa_schemas-name": aaa_schemas_name_output, - "aaa_sent": aaa_sent_output, - "aaa_uuid": aaa_uuid_output, + "aaa_alert_body": aaa_alert_body, + "aaa_api-response-collection": aaa_api$$response$$collection, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_components-schemas-description": aaa_components$$schemas$$description, + "aaa_history": aaa_history, + "aaa_history_components-schemas-response_collection": aaa_history_components$$schemas$$response_collection, + "aaa_mechanism": aaa_mechanism, + "aaa_mechanism_type": aaa_mechanism_type, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_result_info-2": aaa_result_info$$2, + "aaa_schemas-alert_type": aaa_schemas$$alert_type, + "aaa_schemas-name": aaa_schemas$$name, + "aaa_sent": aaa_sent, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/history`, query: [ - ["per_page", args["per_page"], true], - ["before", args["before"], true], - ["page", args["page"], true], - ["since", args["since"], true], + ["per_page", param(args, "query", "per_page"), true], + ["before", param(args, "query", "before"), true], + ["page", param(args, "query", "page"), true], + ["since", param(args, "query", "since"), true], ], }), }, diff --git a/src/generated/forge-mcp/alerting/outputs.ts b/src/generated/forge-mcp/alerting/outputs.ts index 22693098a..5e31cc51d 100644 --- a/src/generated/forge-mcp/alerting/outputs.ts +++ b/src/generated/forge-mcp/alerting/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `aaa_account-id` in responses. */ -export const aaa_account_id_output: JsonSchema = { +export const aaa_account$$id: JsonSchema = { "type": "string" }; /** * The schema of `aaa_api-response-collection` in responses. */ -export const aaa_api_response_collection_output: JsonSchema = { +export const aaa_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-common-2" @@ -32,7 +32,7 @@ export const aaa_api_response_collection_output: JsonSchema = { /** * The schema of `aaa_api-response-common-2` in responses. */ -export const aaa_api_response_common_2_output: JsonSchema = { +export const aaa_api$$response$$common$$2: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages-3" @@ -58,7 +58,7 @@ export const aaa_api_response_common_2_output: JsonSchema = { /** * The schema of `aaa_api-response-common-failure-3` in responses. */ -export const aaa_api_response_common_failure_3_output: JsonSchema = { +export const aaa_api$$response$$common$$failure$$3: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages-3" @@ -84,7 +84,7 @@ export const aaa_api_response_common_failure_3_output: JsonSchema = { /** * The schema of `aaa_api-response-single` in responses. */ -export const aaa_api_response_single_output: JsonSchema = { +export const aaa_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages-3" @@ -110,7 +110,7 @@ export const aaa_api_response_single_output: JsonSchema = { /** * The schema of `aaa_id_response` in responses. */ -export const aaa_id_response_output: JsonSchema = { +export const aaa_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-single" @@ -134,7 +134,7 @@ export const aaa_id_response_output: JsonSchema = { /** * The schema of `aaa_messages-3` in responses. */ -export const aaa_messages_3_output: JsonSchema = { +export const aaa_messages$$3: JsonSchema = { "items": { "properties": { "code": { @@ -155,14 +155,14 @@ export const aaa_messages_3_output: JsonSchema = { /** * The schema of `aaa_policy-id` in responses. */ -export const aaa_policy_id_output: JsonSchema = { +export const aaa_policy$$id: JsonSchema = { "type": "string" }; /** * The schema of `aaa_result_info-2` in responses. */ -export const aaa_result_info_2_output: JsonSchema = { +export const aaa_result_info$$2: JsonSchema = { "properties": { "count": { "type": "number" @@ -183,13 +183,13 @@ export const aaa_result_info_2_output: JsonSchema = { /** * The schema of `aaa_schemas-name` in responses. */ -export const aaa_schemas_name_output: JsonSchema = { +export const aaa_schemas$$name: JsonSchema = { "type": "string" }; /** * The schema of `aaa_uuid` in responses. */ -export const aaa_uuid_output: JsonSchema = { +export const aaa_uuid: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/policies/email/outputs.ts b/src/generated/forge-mcp/alerting/policies/email/outputs.ts index 6dc7a8a6b..ca6ff6f0d 100644 --- a/src/generated/forge-mcp/alerting/policies/email/outputs.ts +++ b/src/generated/forge-mcp/alerting/policies/email/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `aaa_unsubscribe_email` in responses. */ -export const aaa_unsubscribe_email_output: JsonSchema = { +export const aaa_unsubscribe_email: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/aaa_account-id" @@ -30,7 +30,7 @@ export const aaa_unsubscribe_email_output: JsonSchema = { /** * The schema of `aaa_unsubscribe_email_post` in responses. */ -export const aaa_unsubscribe_email_post_output: JsonSchema = { +export const aaa_unsubscribe_email_post: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/aaa_account-id" @@ -48,7 +48,7 @@ export const aaa_unsubscribe_email_post_output: JsonSchema = { /** * The schema of `aaa_unsubscribe_email_post_single_response` in responses. */ -export const aaa_unsubscribe_email_post_single_response_output: JsonSchema = { +export const aaa_unsubscribe_email_post_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-single" @@ -67,7 +67,7 @@ export const aaa_unsubscribe_email_post_single_response_output: JsonSchema = { /** * The schema of `aaa_unsubscribe_email_single_response` in responses. */ -export const aaa_unsubscribe_email_single_response_output: JsonSchema = { +export const aaa_unsubscribe_email_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-single" diff --git a/src/generated/forge-mcp/alerting/policies/email/tools.ts b/src/generated/forge-mcp/alerting/policies/email/tools.ts index 9a1d6adec..63b827da0 100644 --- a/src/generated/forge-mcp/alerting/policies/email/tools.ts +++ b/src/generated/forge-mcp/alerting/policies/email/tools.ts @@ -1,21 +1,24 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - aaa_account_id_output, - aaa_api_response_common_failure_3_output, - aaa_api_response_single_output, - aaa_messages_3_output, - aaa_policy_id_output, - aaa_schemas_name_output, + aaa_account$$id, + aaa_api$$response$$common$$failure$$3, + aaa_api$$response$$single, + aaa_messages$$3, + aaa_policy$$id, + aaa_schemas$$name, } from "../../outputs.js"; -import { aaa_account_id, aaa_policy_id } from "../../schemas.js"; import { - aaa_unsubscribe_email_output, - aaa_unsubscribe_email_post_output, - aaa_unsubscribe_email_post_single_response_output, - aaa_unsubscribe_email_single_response_output, + aaa_account$$id as aaa_account$$id$, + aaa_policy$$id as aaa_policy$$id$, +} from "../../schemas.js"; +import { + aaa_unsubscribe_email, + aaa_unsubscribe_email_post, + aaa_unsubscribe_email_post_single_response, + aaa_unsubscribe_email_single_response, } from "./outputs.js"; /** @@ -29,42 +32,58 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "email": { - "type": "string" - }, - "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "policy_id": { + "$ref": "#/$defs/aaa_policy-id", + "description": "The unique identifier of a notification policy" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" }, - "token": { - "type": "string" + "query": { + "properties": { + "email": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "email", + "token" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", - "email", - "token" + "path", + "query" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_policy-id": aaa_policy_id, + "aaa_account-id": aaa_account$$id$, + "aaa_policy-id": aaa_policy$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_unsubscribe_email_single_response", $defs: { - "aaa_account-id": aaa_account_id_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_schemas-name": aaa_schemas_name_output, - "aaa_unsubscribe_email": aaa_unsubscribe_email_output, - "aaa_unsubscribe_email_single_response": aaa_unsubscribe_email_single_response_output, + "aaa_account-id": aaa_account$$id, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_schemas-name": aaa_schemas$$name, + "aaa_unsubscribe_email": aaa_unsubscribe_email, + "aaa_unsubscribe_email_single_response": aaa_unsubscribe_email_single_response, }, }, annotations: { @@ -95,21 +114,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_account-id": aaa_account_id_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_schemas-name": aaa_schemas_name_output, - "aaa_unsubscribe_email": aaa_unsubscribe_email_output, - "aaa_unsubscribe_email_single_response": aaa_unsubscribe_email_single_response_output, + "aaa_account-id": aaa_account$$id, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_schemas-name": aaa_schemas$$name, + "aaa_unsubscribe_email": aaa_unsubscribe_email, + "aaa_unsubscribe_email_single_response": aaa_unsubscribe_email_single_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies/${pathParam(args, "policy_id")}/email/unsubscribe`, query: [ - ["email", args["email"], true], - ["token", args["token"], true], + ["email", param(args, "query", "email"), true], + ["token", param(args, "query", "token"), true], ], }), }, @@ -120,41 +139,57 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "email": { - "type": "string" - }, - "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "policy_id": { + "$ref": "#/$defs/aaa_policy-id", + "description": "The unique identifier of a notification policy" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" }, - "token": { - "type": "string" + "query": { + "properties": { + "email": { + "type": "string" + }, + "token": { + "type": "string" + } + }, + "required": [ + "email", + "token" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", - "email", - "token" + "path", + "query" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_policy-id": aaa_policy_id, + "aaa_account-id": aaa_account$$id$, + "aaa_policy-id": aaa_policy$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_unsubscribe_email_post_single_response", $defs: { - "aaa_account-id": aaa_account_id_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_unsubscribe_email_post": aaa_unsubscribe_email_post_output, - "aaa_unsubscribe_email_post_single_response": aaa_unsubscribe_email_post_single_response_output, + "aaa_account-id": aaa_account$$id, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_unsubscribe_email_post": aaa_unsubscribe_email_post, + "aaa_unsubscribe_email_post_single_response": aaa_unsubscribe_email_post_single_response, }, }, annotations: { @@ -176,20 +211,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_account-id": aaa_account_id_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_unsubscribe_email_post": aaa_unsubscribe_email_post_output, - "aaa_unsubscribe_email_post_single_response": aaa_unsubscribe_email_post_single_response_output, + "aaa_account-id": aaa_account$$id, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_unsubscribe_email_post": aaa_unsubscribe_email_post, + "aaa_unsubscribe_email_post_single_response": aaa_unsubscribe_email_post_single_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/alerting/v3/policies/${pathParam(args, "policy_id")}/email/unsubscribe`, query: [ - ["email", args["email"], true], - ["token", args["token"], true], + ["email", param(args, "query", "email"), true], + ["token", param(args, "query", "token"), true], ], }), }, diff --git a/src/generated/forge-mcp/alerting/policies/outputs.ts b/src/generated/forge-mcp/alerting/policies/outputs.ts index e0f0acfaa..fd4619680 100644 --- a/src/generated/forge-mcp/alerting/policies/outputs.ts +++ b/src/generated/forge-mcp/alerting/policies/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `aaa_alert_interval` in responses. */ -export const aaa_alert_interval_output: JsonSchema = { +export const aaa_alert_interval: JsonSchema = { "type": "string" }; /** * The schema of `aaa_alert_type` in responses. */ -export const aaa_alert_type_output: JsonSchema = { +export const aaa_alert_type: JsonSchema = { "enum": [ "abuse_report_alert", "access_custom_certificate_expiration_type", @@ -91,14 +91,14 @@ export const aaa_alert_type_output: JsonSchema = { /** * The schema of `aaa_enabled` in responses. */ -export const aaa_enabled_output: JsonSchema = { +export const aaa_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `aaa_filters` in responses. */ -export const aaa_filters_output: JsonSchema = { +export const aaa_filters: JsonSchema = { "properties": { "actions": { "items": { @@ -381,7 +381,7 @@ export const aaa_filters_output: JsonSchema = { /** * The schema of `aaa_mechanisms` in responses. */ -export const aaa_mechanisms_output: JsonSchema = { +export const aaa_mechanisms: JsonSchema = { "properties": { "email": { "items": { @@ -423,7 +423,7 @@ export const aaa_mechanisms_output: JsonSchema = { /** * The schema of `aaa_policies` in responses. */ -export const aaa_policies_output: JsonSchema = { +export const aaa_policies: JsonSchema = { "properties": { "alert_interval": { "$ref": "#/$defs/aaa_alert_interval" @@ -463,7 +463,7 @@ export const aaa_policies_output: JsonSchema = { * The schema of `aaa_policies_components-schemas-response_collection` in * responses. */ -export const aaa_policies_components_schemas_response_collection_output: JsonSchema = { +export const aaa_policies_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-common-2" @@ -485,14 +485,14 @@ export const aaa_policies_components_schemas_response_collection_output: JsonSch /** * The schema of `aaa_schemas-description` in responses. */ -export const aaa_schemas_description_output: JsonSchema = { +export const aaa_schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `aaa_single_response` in responses. */ -export const aaa_single_response_output: JsonSchema = { +export const aaa_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-single" @@ -511,7 +511,7 @@ export const aaa_single_response_output: JsonSchema = { /** * The schema of `aaa_timestamp` in responses. */ -export const aaa_timestamp_output: JsonSchema = { +export const aaa_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/policies/schemas.ts b/src/generated/forge-mcp/alerting/policies/schemas.ts index 1f96172ae..3747fc1ee 100644 --- a/src/generated/forge-mcp/alerting/policies/schemas.ts +++ b/src/generated/forge-mcp/alerting/policies/schemas.ts @@ -475,7 +475,7 @@ export const aaa_mechanisms: JsonSchema = { /** * The schema of `aaa_schemas-description`. */ -export const aaa_schemas_description: JsonSchema = { +export const aaa_schemas$$description: JsonSchema = { "description": "Optional description for the Notification policy.", "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/policies/tools.ts b/src/generated/forge-mcp/alerting/policies/tools.ts index a9625b420..18c4dda33 100644 --- a/src/generated/forge-mcp/alerting/policies/tools.ts +++ b/src/generated/forge-mcp/alerting/policies/tools.ts @@ -3,42 +3,42 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - aaa_api_response_collection_output, - aaa_api_response_common_2_output, - aaa_api_response_common_failure_3_output, - aaa_api_response_single_output, - aaa_id_response_output, - aaa_messages_3_output, - aaa_policy_id_output, - aaa_result_info_2_output, - aaa_schemas_name_output, - aaa_uuid_output, + aaa_api$$response$$collection, + aaa_api$$response$$common$$2, + aaa_api$$response$$common$$failure$$3, + aaa_api$$response$$single, + aaa_id_response, + aaa_messages$$3, + aaa_policy$$id, + aaa_result_info$$2, + aaa_schemas$$name, + aaa_uuid, } from "../outputs.js"; import { - aaa_account_id, - aaa_policy_id, - aaa_schemas_name, - aaa_uuid, + aaa_account$$id, + aaa_policy$$id as aaa_policy$$id$, + aaa_schemas$$name as aaa_schemas$$name$, + aaa_uuid as aaa_uuid$, } from "../schemas.js"; -import { - aaa_alert_interval_output, - aaa_alert_type_output, - aaa_enabled_output, - aaa_filters_output, - aaa_mechanisms_output, - aaa_policies_components_schemas_response_collection_output, - aaa_policies_output, - aaa_schemas_description_output, - aaa_single_response_output, - aaa_timestamp_output, -} from "./outputs.js"; import { aaa_alert_interval, aaa_alert_type, aaa_enabled, aaa_filters, aaa_mechanisms, - aaa_schemas_description, + aaa_policies, + aaa_policies_components$$schemas$$response_collection, + aaa_schemas$$description, + aaa_single_response, + aaa_timestamp, +} from "./outputs.js"; +import { + aaa_alert_interval as aaa_alert_interval$, + aaa_alert_type as aaa_alert_type$, + aaa_enabled as aaa_enabled$, + aaa_filters as aaa_filters$, + aaa_mechanisms as aaa_mechanisms$, + aaa_schemas$$description as aaa_schemas$$description$, } from "./schemas.js"; /** @@ -52,10 +52,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, "body": { "properties": { "alert_interval": { @@ -95,31 +91,43 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_alert_interval": aaa_alert_interval, - "aaa_alert_type": aaa_alert_type, - "aaa_enabled": aaa_enabled, - "aaa_filters": aaa_filters, - "aaa_mechanisms": aaa_mechanisms, - "aaa_schemas-description": aaa_schemas_description, - "aaa_schemas-name": aaa_schemas_name, - "aaa_uuid": aaa_uuid, + "aaa_account-id": aaa_account$$id, + "aaa_alert_interval": aaa_alert_interval$, + "aaa_alert_type": aaa_alert_type$, + "aaa_enabled": aaa_enabled$, + "aaa_filters": aaa_filters$, + "aaa_mechanisms": aaa_mechanisms$, + "aaa_schemas-description": aaa_schemas$$description$, + "aaa_schemas-name": aaa_schemas$$name$, + "aaa_uuid": aaa_uuid$, }, }, outputSchema: { "$ref": "#/$defs/aaa_id_response", $defs: { - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -154,11 +162,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -173,31 +181,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "policy_id": { + "$ref": "#/$defs/aaa_policy-id", + "description": "The unique identifier of a notification policy" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_policy-id": aaa_policy_id, + "aaa_account-id": aaa_account$$id, + "aaa_policy-id": aaa_policy$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-collection", $defs: { - "aaa_api-response-collection": aaa_api_response_collection_output, - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_result_info-2": aaa_result_info_2_output, + "aaa_api-response-collection": aaa_api$$response$$collection, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_messages-3": aaa_messages$$3, + "aaa_result_info-2": aaa_result_info$$2, }, }, annotations: { @@ -232,11 +248,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-collection": aaa_api_response_collection_output, - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_result_info-2": aaa_result_info_2_output, + "aaa_api-response-collection": aaa_api$$response$$collection, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_messages-3": aaa_messages$$3, + "aaa_result_info-2": aaa_result_info$$2, }, }, request: (args) => ({ @@ -250,41 +266,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "policy_id": { + "$ref": "#/$defs/aaa_policy-id", + "description": "The unique identifier of a notification policy" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_policy-id": aaa_policy_id, + "aaa_account-id": aaa_account$$id, + "aaa_policy-id": aaa_policy$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_single_response", $defs: { - "aaa_alert_interval": aaa_alert_interval_output, - "aaa_alert_type": aaa_alert_type_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_enabled": aaa_enabled_output, - "aaa_filters": aaa_filters_output, - "aaa_mechanisms": aaa_mechanisms_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policies": aaa_policies_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_schemas-description": aaa_schemas_description_output, - "aaa_schemas-name": aaa_schemas_name_output, - "aaa_single_response": aaa_single_response_output, - "aaa_timestamp": aaa_timestamp_output, - "aaa_uuid": aaa_uuid_output, + "aaa_alert_interval": aaa_alert_interval, + "aaa_alert_type": aaa_alert_type, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_enabled": aaa_enabled, + "aaa_filters": aaa_filters, + "aaa_mechanisms": aaa_mechanisms, + "aaa_messages-3": aaa_messages$$3, + "aaa_policies": aaa_policies, + "aaa_policy-id": aaa_policy$$id, + "aaa_schemas-description": aaa_schemas$$description, + "aaa_schemas-name": aaa_schemas$$name, + "aaa_single_response": aaa_single_response, + "aaa_timestamp": aaa_timestamp, + "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -322,21 +346,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_alert_interval": aaa_alert_interval_output, - "aaa_alert_type": aaa_alert_type_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_enabled": aaa_enabled_output, - "aaa_filters": aaa_filters_output, - "aaa_mechanisms": aaa_mechanisms_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policies": aaa_policies_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_schemas-description": aaa_schemas_description_output, - "aaa_schemas-name": aaa_schemas_name_output, - "aaa_single_response": aaa_single_response_output, - "aaa_timestamp": aaa_timestamp_output, - "aaa_uuid": aaa_uuid_output, + "aaa_alert_interval": aaa_alert_interval, + "aaa_alert_type": aaa_alert_type, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_enabled": aaa_enabled, + "aaa_filters": aaa_filters, + "aaa_mechanisms": aaa_mechanisms, + "aaa_messages-3": aaa_messages$$3, + "aaa_policies": aaa_policies, + "aaa_policy-id": aaa_policy$$id, + "aaa_schemas-description": aaa_schemas$$description, + "aaa_schemas-name": aaa_schemas$$name, + "aaa_single_response": aaa_single_response, + "aaa_timestamp": aaa_timestamp, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -350,35 +374,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, + "aaa_account-id": aaa_account$$id, }, }, outputSchema: { "$ref": "#/$defs/aaa_policies_components-schemas-response_collection", $defs: { - "aaa_alert_interval": aaa_alert_interval_output, - "aaa_alert_type": aaa_alert_type_output, - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_enabled": aaa_enabled_output, - "aaa_filters": aaa_filters_output, - "aaa_mechanisms": aaa_mechanisms_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policies": aaa_policies_output, - "aaa_policies_components-schemas-response_collection": aaa_policies_components_schemas_response_collection_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_schemas-description": aaa_schemas_description_output, - "aaa_schemas-name": aaa_schemas_name_output, - "aaa_timestamp": aaa_timestamp_output, - "aaa_uuid": aaa_uuid_output, + "aaa_alert_interval": aaa_alert_interval, + "aaa_alert_type": aaa_alert_type, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_enabled": aaa_enabled, + "aaa_filters": aaa_filters, + "aaa_mechanisms": aaa_mechanisms, + "aaa_messages-3": aaa_messages$$3, + "aaa_policies": aaa_policies, + "aaa_policies_components-schemas-response_collection": aaa_policies_components$$schemas$$response_collection, + "aaa_policy-id": aaa_policy$$id, + "aaa_schemas-description": aaa_schemas$$description, + "aaa_schemas-name": aaa_schemas$$name, + "aaa_timestamp": aaa_timestamp, + "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -409,21 +441,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_alert_interval": aaa_alert_interval_output, - "aaa_alert_type": aaa_alert_type_output, - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_enabled": aaa_enabled_output, - "aaa_filters": aaa_filters_output, - "aaa_mechanisms": aaa_mechanisms_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policies": aaa_policies_output, - "aaa_policies_components-schemas-response_collection": aaa_policies_components_schemas_response_collection_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_schemas-description": aaa_schemas_description_output, - "aaa_schemas-name": aaa_schemas_name_output, - "aaa_timestamp": aaa_timestamp_output, - "aaa_uuid": aaa_uuid_output, + "aaa_alert_interval": aaa_alert_interval, + "aaa_alert_type": aaa_alert_type, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_enabled": aaa_enabled, + "aaa_filters": aaa_filters, + "aaa_mechanisms": aaa_mechanisms, + "aaa_messages-3": aaa_messages$$3, + "aaa_policies": aaa_policies, + "aaa_policies_components-schemas-response_collection": aaa_policies_components$$schemas$$response_collection, + "aaa_policy-id": aaa_policy$$id, + "aaa_schemas-description": aaa_schemas$$description, + "aaa_schemas-name": aaa_schemas$$name, + "aaa_timestamp": aaa_timestamp, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -437,10 +469,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, "body": { "description": "Optional configuration for the test notification. When omitted, a default INFO-severity test alert is sent.", "properties": { @@ -475,25 +503,37 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "policy_id": { + "$ref": "#/$defs/aaa_policy-id", + "description": "The unique identifier of a notification policy" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_policy-id": aaa_policy_id, + "aaa_account-id": aaa_account$$id, + "aaa_policy-id": aaa_policy$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-common-2", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_messages-3": aaa_messages_3_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_messages-3": aaa_messages$$3, }, }, annotations: { @@ -521,9 +561,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_messages-3": aaa_messages_3_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_messages-3": aaa_messages$$3, }, }, request: (args) => ({ @@ -538,10 +578,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, "body": { "properties": { "alert_interval": { @@ -576,36 +612,48 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "policy_id": { + "$ref": "#/$defs/aaa_policy-id", + "description": "The unique identifier of a notification policy" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", + "path", "body" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_alert_interval": aaa_alert_interval, - "aaa_alert_type": aaa_alert_type, - "aaa_enabled": aaa_enabled, - "aaa_filters": aaa_filters, - "aaa_mechanisms": aaa_mechanisms, - "aaa_policy-id": aaa_policy_id, - "aaa_schemas-description": aaa_schemas_description, - "aaa_schemas-name": aaa_schemas_name, - "aaa_uuid": aaa_uuid, + "aaa_account-id": aaa_account$$id, + "aaa_alert_interval": aaa_alert_interval$, + "aaa_alert_type": aaa_alert_type$, + "aaa_enabled": aaa_enabled$, + "aaa_filters": aaa_filters$, + "aaa_mechanisms": aaa_mechanisms$, + "aaa_policy-id": aaa_policy$$id$, + "aaa_schemas-description": aaa_schemas$$description$, + "aaa_schemas-name": aaa_schemas$$name$, + "aaa_uuid": aaa_uuid$, }, }, outputSchema: { "$ref": "#/$defs/aaa_id_response", $defs: { - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -640,11 +688,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_api-response-single": aaa_api_response_single_output, - "aaa_id_response": aaa_id_response_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_uuid": aaa_uuid_output, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_api-response-single": aaa_api$$response$$single, + "aaa_id_response": aaa_id_response, + "aaa_messages-3": aaa_messages$$3, + "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/schemas.ts b/src/generated/forge-mcp/alerting/schemas.ts index 21726e03d..4e24a3d74 100644 --- a/src/generated/forge-mcp/alerting/schemas.ts +++ b/src/generated/forge-mcp/alerting/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `aaa_account-id`. */ -export const aaa_account_id: JsonSchema = { +export const aaa_account$$id: JsonSchema = { "description": "The account id", "type": "string" }; @@ -14,7 +14,7 @@ export const aaa_account_id: JsonSchema = { /** * The schema of `aaa_policy-id`. */ -export const aaa_policy_id: JsonSchema = { +export const aaa_policy$$id: JsonSchema = { "description": "The unique identifier of a notification policy", "type": "string" }; @@ -22,7 +22,7 @@ export const aaa_policy_id: JsonSchema = { /** * The schema of `aaa_schemas-name`. */ -export const aaa_schemas_name: JsonSchema = { +export const aaa_schemas$$name: JsonSchema = { "description": "Name of the policy.", "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/silences/outputs.ts b/src/generated/forge-mcp/alerting/silences/outputs.ts index 9070f6ae3..a91bb70c0 100644 --- a/src/generated/forge-mcp/alerting/silences/outputs.ts +++ b/src/generated/forge-mcp/alerting/silences/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `aaa_silence` in responses. */ -export const aaa_silence_output: JsonSchema = { +export const aaa_silence: JsonSchema = { "properties": { "created_at": { "type": "string" @@ -33,7 +33,7 @@ export const aaa_silence_output: JsonSchema = { /** * The schema of `aaa_silence-id` in responses. */ -export const aaa_silence_id_output: JsonSchema = { +export const aaa_silence$$id: JsonSchema = { "type": "string" }; @@ -41,7 +41,7 @@ export const aaa_silence_id_output: JsonSchema = { * The schema of `aaa_silence_components-schemas-response_collection` in * responses. */ -export const aaa_silence_components_schemas_response_collection_output: JsonSchema = { +export const aaa_silence_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-common-2" @@ -61,7 +61,7 @@ export const aaa_silence_components_schemas_response_collection_output: JsonSche * The schema of `aaa_silences_components-schemas-response_collection` in * responses. */ -export const aaa_silences_components_schemas_response_collection_output: JsonSchema = { +export const aaa_silences_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_api-response-common-2" diff --git a/src/generated/forge-mcp/alerting/silences/schemas.ts b/src/generated/forge-mcp/alerting/silences/schemas.ts index 931f8f165..38b39d766 100644 --- a/src/generated/forge-mcp/alerting/silences/schemas.ts +++ b/src/generated/forge-mcp/alerting/silences/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `aaa_silence-id`. */ -export const aaa_silence_id: JsonSchema = { +export const aaa_silence$$id: JsonSchema = { "description": "Silence ID", "type": "string" }; diff --git a/src/generated/forge-mcp/alerting/silences/tools.ts b/src/generated/forge-mcp/alerting/silences/tools.ts index 988dfc777..30d83f196 100644 --- a/src/generated/forge-mcp/alerting/silences/tools.ts +++ b/src/generated/forge-mcp/alerting/silences/tools.ts @@ -3,21 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - aaa_api_response_common_2_output, - aaa_api_response_common_failure_3_output, - aaa_messages_3_output, - aaa_policy_id_output, + aaa_api$$response$$common$$2, + aaa_api$$response$$common$$failure$$3, + aaa_messages$$3, + aaa_policy$$id, } from "../outputs.js"; -import { aaa_account_id, aaa_policy_id } from "../schemas.js"; import { - aaa_silence_components_schemas_response_collection_output, - aaa_silence_id_output, - aaa_silence_output, - aaa_silences_components_schemas_response_collection_output, + aaa_account$$id, + aaa_policy$$id as aaa_policy$$id$, +} from "../schemas.js"; +import { + aaa_silence, + aaa_silence$$id, + aaa_silence_components$$schemas$$response_collection, + aaa_silences_components$$schemas$$response_collection, } from "./outputs.js"; import { + aaa_silence$$id as aaa_silence$$id$, aaa_silence_create_request, - aaa_silence_id, aaa_silence_update_request, } from "./schemas.js"; @@ -32,32 +35,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, "body": { "items": { "$ref": "#/$defs/aaa_silence_create_request" }, "type": "array" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_policy-id": aaa_policy_id, + "aaa_account-id": aaa_account$$id, + "aaa_policy-id": aaa_policy$$id$, "aaa_silence_create_request": aaa_silence_create_request, }, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-common-2", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_messages-3": aaa_messages_3_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_messages-3": aaa_messages$$3, }, }, annotations: { @@ -92,13 +103,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_silence": aaa_silence_output, - "aaa_silence-id": aaa_silence_id_output, - "aaa_silences_components-schemas-response_collection": aaa_silences_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_silence": aaa_silence, + "aaa_silence-id": aaa_silence$$id, + "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, request: (args) => ({ @@ -113,29 +124,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "silence_id": { - "$ref": "#/$defs/aaa_silence-id", - "description": "Silence ID" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "silence_id": { + "$ref": "#/$defs/aaa_silence-id", + "description": "Silence ID" + } + }, + "required": [ + "account_id", + "silence_id" + ], + "type": "object" } }, required: [ - "account_id", - "silence_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_silence-id": aaa_silence_id, + "aaa_account-id": aaa_account$$id, + "aaa_silence-id": aaa_silence$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-common-2", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_messages-3": aaa_messages_3_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_messages-3": aaa_messages$$3, }, }, annotations: { @@ -170,13 +189,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_silence": aaa_silence_output, - "aaa_silence-id": aaa_silence_id_output, - "aaa_silence_components-schemas-response_collection": aaa_silence_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_silence": aaa_silence, + "aaa_silence-id": aaa_silence$$id, + "aaa_silence_components-schemas-response_collection": aaa_silence_components$$schemas$$response_collection, }, }, request: (args) => ({ @@ -190,33 +209,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, - "silence_id": { - "$ref": "#/$defs/aaa_silence-id", - "description": "Silence ID" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + }, + "silence_id": { + "$ref": "#/$defs/aaa_silence-id", + "description": "Silence ID" + } + }, + "required": [ + "account_id", + "silence_id" + ], + "type": "object" } }, required: [ - "account_id", - "silence_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_silence-id": aaa_silence_id, + "aaa_account-id": aaa_account$$id, + "aaa_silence-id": aaa_silence$$id$, }, }, outputSchema: { "$ref": "#/$defs/aaa_silence_components-schemas-response_collection", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_silence": aaa_silence_output, - "aaa_silence-id": aaa_silence_id_output, - "aaa_silence_components-schemas-response_collection": aaa_silence_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_silence": aaa_silence, + "aaa_silence-id": aaa_silence$$id, + "aaa_silence_components-schemas-response_collection": aaa_silence_components$$schemas$$response_collection, }, }, annotations: { @@ -254,13 +281,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_silence": aaa_silence_output, - "aaa_silence-id": aaa_silence_id_output, - "aaa_silence_components-schemas-response_collection": aaa_silence_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_silence": aaa_silence, + "aaa_silence-id": aaa_silence$$id, + "aaa_silence_components-schemas-response_collection": aaa_silence_components$$schemas$$response_collection, }, }, request: (args) => ({ @@ -274,27 +301,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_account-id": aaa_account_id, + "aaa_account-id": aaa_account$$id, }, }, outputSchema: { "$ref": "#/$defs/aaa_silences_components-schemas-response_collection", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_silence": aaa_silence_output, - "aaa_silence-id": aaa_silence_id_output, - "aaa_silences_components-schemas-response_collection": aaa_silences_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_silence": aaa_silence, + "aaa_silence-id": aaa_silence$$id, + "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, annotations: { @@ -332,13 +367,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_silence": aaa_silence_output, - "aaa_silence-id": aaa_silence_id_output, - "aaa_silences_components-schemas-response_collection": aaa_silences_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_silence": aaa_silence, + "aaa_silence-id": aaa_silence$$id, + "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, request: (args) => ({ @@ -352,36 +387,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" - }, "body": { "items": { "$ref": "#/$defs/aaa_silence_update_request" }, "type": "array" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_account-id", + "description": "The account id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "aaa_account-id": aaa_account_id, - "aaa_silence-id": aaa_silence_id, + "aaa_account-id": aaa_account$$id, + "aaa_silence-id": aaa_silence$$id$, "aaa_silence_update_request": aaa_silence_update_request, }, }, outputSchema: { "$ref": "#/$defs/aaa_silences_components-schemas-response_collection", $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_silence": aaa_silence_output, - "aaa_silence-id": aaa_silence_id_output, - "aaa_silences_components-schemas-response_collection": aaa_silences_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_silence": aaa_silence, + "aaa_silence-id": aaa_silence$$id, + "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, annotations: { @@ -416,13 +459,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-2": aaa_api_response_common_2_output, - "aaa_api-response-common-failure-3": aaa_api_response_common_failure_3_output, - "aaa_messages-3": aaa_messages_3_output, - "aaa_policy-id": aaa_policy_id_output, - "aaa_silence": aaa_silence_output, - "aaa_silence-id": aaa_silence_id_output, - "aaa_silences_components-schemas-response_collection": aaa_silences_components_schemas_response_collection_output, + "aaa_api-response-common-2": aaa_api$$response$$common$$2, + "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, + "aaa_messages-3": aaa_messages$$3, + "aaa_policy-id": aaa_policy$$id, + "aaa_silence": aaa_silence, + "aaa_silence-id": aaa_silence$$id, + "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/analytics/latency/colos/tools.ts b/src/generated/forge-mcp/analytics/latency/colos/tools.ts index ba227ddbc..13a2f0750 100644 --- a/src/generated/forge-mcp/analytics/latency/colos/tools.ts +++ b/src/generated/forge-mcp/analytics/latency/colos/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - argo_analytics_api_response_common_failure_output, - argo_analytics_api_response_common_output, - argo_analytics_api_response_single_output, - argo_analytics_messages_output, - argo_analytics_response_single_output, + argo$$analytics_api$$response$$common, + argo$$analytics_api$$response$$common$$failure, + argo$$analytics_api$$response$$single, + argo$$analytics_messages, + argo$$analytics_response_single, } from "../outputs.js"; -import { argo_analytics_identifier } from "../schemas.js"; +import { argo$$analytics_identifier } from "../schemas.js"; /** * The tools of `analytics.latency.colos`. @@ -22,25 +22,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/argo-analytics_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/argo-analytics_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "argo-analytics_identifier": argo_analytics_identifier, + "argo-analytics_identifier": argo$$analytics_identifier, }, }, outputSchema: { "$ref": "#/$defs/argo-analytics_response_single", $defs: { - "argo-analytics_api-response-common": argo_analytics_api_response_common_output, - "argo-analytics_api-response-single": argo_analytics_api_response_single_output, - "argo-analytics_messages": argo_analytics_messages_output, - "argo-analytics_response_single": argo_analytics_response_single_output, + "argo-analytics_api-response-common": argo$$analytics_api$$response$$common, + "argo-analytics_api-response-single": argo$$analytics_api$$response$$single, + "argo-analytics_messages": argo$$analytics_messages, + "argo-analytics_response_single": argo$$analytics_response_single, }, }, annotations: { @@ -80,11 +88,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "argo-analytics_api-response-common": argo_analytics_api_response_common_output, - "argo-analytics_api-response-common-failure": argo_analytics_api_response_common_failure_output, - "argo-analytics_api-response-single": argo_analytics_api_response_single_output, - "argo-analytics_messages": argo_analytics_messages_output, - "argo-analytics_response_single": argo_analytics_response_single_output, + "argo-analytics_api-response-common": argo$$analytics_api$$response$$common, + "argo-analytics_api-response-common-failure": argo$$analytics_api$$response$$common$$failure, + "argo-analytics_api-response-single": argo$$analytics_api$$response$$single, + "argo-analytics_messages": argo$$analytics_messages, + "argo-analytics_response_single": argo$$analytics_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/analytics/latency/outputs.ts b/src/generated/forge-mcp/analytics/latency/outputs.ts index fd6fb0439..5009b9b9a 100644 --- a/src/generated/forge-mcp/analytics/latency/outputs.ts +++ b/src/generated/forge-mcp/analytics/latency/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `argo-analytics_api-response-common` in responses. */ -export const argo_analytics_api_response_common_output: JsonSchema = { +export const argo$$analytics_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/argo-analytics_messages" @@ -47,7 +47,7 @@ export const argo_analytics_api_response_common_output: JsonSchema = { /** * The schema of `argo-analytics_api-response-common-failure` in responses. */ -export const argo_analytics_api_response_common_failure_output: JsonSchema = { +export const argo$$analytics_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/argo-analytics_messages" @@ -77,7 +77,7 @@ export const argo_analytics_api_response_common_failure_output: JsonSchema = { /** * The schema of `argo-analytics_api-response-single` in responses. */ -export const argo_analytics_api_response_single_output: JsonSchema = { +export const argo$$analytics_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/argo-analytics_api-response-common" @@ -106,7 +106,7 @@ export const argo_analytics_api_response_single_output: JsonSchema = { /** * The schema of `argo-analytics_messages` in responses. */ -export const argo_analytics_messages_output: JsonSchema = { +export const argo$$analytics_messages: JsonSchema = { "items": { "properties": { "code": { @@ -128,7 +128,7 @@ export const argo_analytics_messages_output: JsonSchema = { /** * The schema of `argo-analytics_response_single` in responses. */ -export const argo_analytics_response_single_output: JsonSchema = { +export const argo$$analytics_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/argo-analytics_api-response-single" diff --git a/src/generated/forge-mcp/analytics/latency/schemas.ts b/src/generated/forge-mcp/analytics/latency/schemas.ts index 8883586c8..0a4bfe70c 100644 --- a/src/generated/forge-mcp/analytics/latency/schemas.ts +++ b/src/generated/forge-mcp/analytics/latency/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `argo-analytics_identifier`. */ -export const argo_analytics_identifier: JsonSchema = { +export const argo$$analytics_identifier: JsonSchema = { "description": "Identifier", "type": "string" }; diff --git a/src/generated/forge-mcp/analytics/latency/tools.ts b/src/generated/forge-mcp/analytics/latency/tools.ts index af9d50fb7..6b0b314df 100644 --- a/src/generated/forge-mcp/analytics/latency/tools.ts +++ b/src/generated/forge-mcp/analytics/latency/tools.ts @@ -1,15 +1,15 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - argo_analytics_api_response_common_failure_output, - argo_analytics_api_response_common_output, - argo_analytics_api_response_single_output, - argo_analytics_messages_output, - argo_analytics_response_single_output, + argo$$analytics_api$$response$$common, + argo$$analytics_api$$response$$common$$failure, + argo$$analytics_api$$response$$single, + argo$$analytics_messages, + argo$$analytics_response_single, } from "./outputs.js"; -import { argo_analytics_identifier } from "./schemas.js"; +import { argo$$analytics_identifier } from "./schemas.js"; /** * The tools of `analytics.latency`. @@ -22,28 +22,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "bins": { - "type": "string" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/argo-analytics_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/argo-analytics_identifier", - "description": "Identifier" + "query": { + "properties": { + "bins": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "argo-analytics_identifier": argo_analytics_identifier, + "argo-analytics_identifier": argo$$analytics_identifier, }, }, outputSchema: { "$ref": "#/$defs/argo-analytics_response_single", $defs: { - "argo-analytics_api-response-common": argo_analytics_api_response_common_output, - "argo-analytics_api-response-single": argo_analytics_api_response_single_output, - "argo-analytics_messages": argo_analytics_messages_output, - "argo-analytics_response_single": argo_analytics_response_single_output, + "argo-analytics_api-response-common": argo$$analytics_api$$response$$common, + "argo-analytics_api-response-single": argo$$analytics_api$$response$$single, + "argo-analytics_messages": argo$$analytics_messages, + "argo-analytics_response_single": argo$$analytics_response_single, }, }, annotations: { @@ -88,17 +101,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "argo-analytics_api-response-common": argo_analytics_api_response_common_output, - "argo-analytics_api-response-common-failure": argo_analytics_api_response_common_failure_output, - "argo-analytics_api-response-single": argo_analytics_api_response_single_output, - "argo-analytics_messages": argo_analytics_messages_output, - "argo-analytics_response_single": argo_analytics_response_single_output, + "argo-analytics_api-response-common": argo$$analytics_api$$response$$common, + "argo-analytics_api-response-common-failure": argo$$analytics_api$$response$$common$$failure, + "argo-analytics_api-response-single": argo$$analytics_api$$response$$single, + "argo-analytics_messages": argo$$analytics_messages, + "argo-analytics_response_single": argo$$analytics_response_single, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/analytics/latency`, query: [ - ["bins", args["bins"], true], + ["bins", param(args, "query", "bins"), true], ], }), }, diff --git a/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts b/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts index 137d20262..24eebf5d2 100644 --- a/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts +++ b/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts @@ -3,36 +3,44 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - art_APIError_output, - art_APIMessage_output, - art_ErrorResponse_output, - art_ResultValues_output, - art_TopNResponse_output, + art_APIError, + art_APIMessage, + art_ErrorResponse, + art_ResultValues, + art_TopNResponse, } from "../../outputs.js"; import { art_Filter } from "../../schemas.js"; import { art_DataSecurityContentFindingsTopNQuery } from "./schemas.js"; /** - * The tools of `analytics.query.data_security.content_findings`. + * The tools of `analytics.query.dataSecurity.contentFindings`. */ export const tools: readonly Tool[] = [ { - name: "analytics_query_data_security_content_findings_top_n", + name: "analytics_query_dataSecurity_contentFindings_topN", title: "Top integrations by content findings", description: "Returns the top N integrations ranked by total content findings.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/art_DataSecurityContentFindingsTopNQuery" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -43,10 +51,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/art_TopNResponse", $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ResultValues": art_ResultValues_output, - "art_TopNResponse": art_TopNResponse_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ResultValues": art_ResultValues, + "art_TopNResponse": art_TopNResponse, }, }, annotations: { @@ -80,11 +88,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ErrorResponse": art_ErrorResponse_output, - "art_ResultValues": art_ResultValues_output, - "art_TopNResponse": art_TopNResponse_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ErrorResponse": art_ErrorResponse, + "art_ResultValues": art_ResultValues, + "art_TopNResponse": art_TopNResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/analytics/query/dataSecurity/findings/outputs.ts b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/outputs.ts index e2280a0b0..f7f2fb770 100644 --- a/src/generated/forge-mcp/analytics/query/dataSecurity/findings/outputs.ts +++ b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `art_DataSecurityFindingsTimeseriesResponse` in responses. */ -export const art_DataSecurityFindingsTimeseriesResponse_output: JsonSchema = { +export const art_DataSecurityFindingsTimeseriesResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -39,7 +39,7 @@ export const art_DataSecurityFindingsTimeseriesResponse_output: JsonSchema = { /** * The schema of `art_DataSecurityFindingsTimeseriesResult` in responses. */ -export const art_DataSecurityFindingsTimeseriesResult_output: JsonSchema = { +export const art_DataSecurityFindingsTimeseriesResult: JsonSchema = { "properties": { "resolution": { "oneOf": [ diff --git a/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts index 01199d6c6..47210d6cf 100644 --- a/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts +++ b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts @@ -3,17 +3,17 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - art_APIError_output, - art_APIMessage_output, - art_ErrorResponse_output, - art_ResultValues_output, - art_SummaryResponse_output, - art_SummaryResult_output, + art_APIError, + art_APIMessage, + art_ErrorResponse, + art_ResultValues, + art_SummaryResponse, + art_SummaryResult, } from "../../outputs.js"; import { art_Filter } from "../../schemas.js"; import { - art_DataSecurityFindingsTimeseriesResponse_output, - art_DataSecurityFindingsTimeseriesResult_output, + art_DataSecurityFindingsTimeseriesResponse, + art_DataSecurityFindingsTimeseriesResult, } from "./outputs.js"; import { art_DataSecurityFindingsSummaryQuery, @@ -21,26 +21,34 @@ import { } from "./schemas.js"; /** - * The tools of `analytics.query.data_security.findings`. + * The tools of `analytics.query.dataSecurity.findings`. */ export const tools: readonly Tool[] = [ { - name: "analytics_query_data_security_findings_summary", + name: "analytics_query_dataSecurity_findings_summary", title: "Data security findings summary", description: "Returns aggregate current-period and previous-period totals for CASB findings.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/art_DataSecurityFindingsSummaryQuery" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -51,11 +59,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/art_SummaryResponse", $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ResultValues": art_ResultValues_output, - "art_SummaryResponse": art_SummaryResponse_output, - "art_SummaryResult": art_SummaryResult_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ResultValues": art_ResultValues, + "art_SummaryResponse": art_SummaryResponse, + "art_SummaryResult": art_SummaryResult, }, }, annotations: { @@ -89,12 +97,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ErrorResponse": art_ErrorResponse_output, - "art_ResultValues": art_ResultValues_output, - "art_SummaryResponse": art_SummaryResponse_output, - "art_SummaryResult": art_SummaryResult_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ErrorResponse": art_ErrorResponse, + "art_ResultValues": art_ResultValues, + "art_SummaryResponse": art_SummaryResponse, + "art_SummaryResult": art_SummaryResult, }, }, request: (args) => ({ @@ -103,22 +111,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "analytics_query_data_security_findings_timeseries", + name: "analytics_query_dataSecurity_findings_timeseries", title: "Data security findings timeseries", description: "Returns merged time-bucketed CASB findings.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/art_DataSecurityFindingsTimeseriesQuery" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -129,11 +145,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/art_DataSecurityFindingsTimeseriesResponse", $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_DataSecurityFindingsTimeseriesResponse": art_DataSecurityFindingsTimeseriesResponse_output, - "art_DataSecurityFindingsTimeseriesResult": art_DataSecurityFindingsTimeseriesResult_output, - "art_ResultValues": art_ResultValues_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_DataSecurityFindingsTimeseriesResponse": art_DataSecurityFindingsTimeseriesResponse, + "art_DataSecurityFindingsTimeseriesResult": art_DataSecurityFindingsTimeseriesResult, + "art_ResultValues": art_ResultValues, }, }, annotations: { @@ -167,12 +183,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_DataSecurityFindingsTimeseriesResponse": art_DataSecurityFindingsTimeseriesResponse_output, - "art_DataSecurityFindingsTimeseriesResult": art_DataSecurityFindingsTimeseriesResult_output, - "art_ErrorResponse": art_ErrorResponse_output, - "art_ResultValues": art_ResultValues_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_DataSecurityFindingsTimeseriesResponse": art_DataSecurityFindingsTimeseriesResponse, + "art_DataSecurityFindingsTimeseriesResult": art_DataSecurityFindingsTimeseriesResult, + "art_ErrorResponse": art_ErrorResponse, + "art_ResultValues": art_ResultValues, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/analytics/query/outputs.ts b/src/generated/forge-mcp/analytics/query/outputs.ts index 6090dd1e7..02816a463 100644 --- a/src/generated/forge-mcp/analytics/query/outputs.ts +++ b/src/generated/forge-mcp/analytics/query/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `art_APIError` in responses. */ -export const art_APIError_output: JsonSchema = { +export const art_APIError: JsonSchema = { "properties": { "code": { "type": "integer" @@ -21,7 +21,7 @@ export const art_APIError_output: JsonSchema = { /** * The schema of `art_APIMessage` in responses. */ -export const art_APIMessage_output: JsonSchema = { +export const art_APIMessage: JsonSchema = { "properties": { "code": { "type": "integer" @@ -36,7 +36,7 @@ export const art_APIMessage_output: JsonSchema = { /** * The schema of `art_ErrorResponse` in responses. */ -export const art_ErrorResponse_output: JsonSchema = { +export const art_ErrorResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -75,14 +75,14 @@ export const art_ErrorResponse_output: JsonSchema = { /** * The schema of `art_ResultValues` in responses. */ -export const art_ResultValues_output: JsonSchema = { +export const art_ResultValues: JsonSchema = { "type": "object" }; /** * The schema of `art_SummaryResponse` in responses. */ -export const art_SummaryResponse_output: JsonSchema = { +export const art_SummaryResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -115,7 +115,7 @@ export const art_SummaryResponse_output: JsonSchema = { /** * The schema of `art_SummaryResult` in responses. */ -export const art_SummaryResult_output: JsonSchema = { +export const art_SummaryResult: JsonSchema = { "properties": { "currentTotal": { "items": { @@ -140,7 +140,7 @@ export const art_SummaryResult_output: JsonSchema = { /** * The schema of `art_TimeseriesResponse` in responses. */ -export const art_TimeseriesResponse_output: JsonSchema = { +export const art_TimeseriesResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -173,7 +173,7 @@ export const art_TimeseriesResponse_output: JsonSchema = { /** * The schema of `art_TimeseriesResult` in responses. */ -export const art_TimeseriesResult_output: JsonSchema = { +export const art_TimeseriesResult: JsonSchema = { "properties": { "resolution": { "type": "string" @@ -195,7 +195,7 @@ export const art_TimeseriesResult_output: JsonSchema = { /** * The schema of `art_TopNResponse` in responses. */ -export const art_TopNResponse_output: JsonSchema = { +export const art_TopNResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/analytics/query/tools.ts b/src/generated/forge-mcp/analytics/query/tools.ts index faf606e7d..51a6b4e56 100644 --- a/src/generated/forge-mcp/analytics/query/tools.ts +++ b/src/generated/forge-mcp/analytics/query/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - art_APIError_output, - art_APIMessage_output, - art_ErrorResponse_output, - art_ResultValues_output, - art_SummaryResponse_output, - art_SummaryResult_output, - art_TimeseriesResponse_output, - art_TimeseriesResult_output, - art_TopNResponse_output, + art_APIError, + art_APIMessage, + art_ErrorResponse, + art_ResultValues, + art_SummaryResponse, + art_SummaryResult, + art_TimeseriesResponse, + art_TimeseriesResult, + art_TopNResponse, } from "./outputs.js"; import { art_CommonQuery, @@ -32,21 +32,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/art_QuerySummary" }, - "dataset": { - "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.\n", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "dataset": { + "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.\n", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset" + ], + "type": "object" } }, required: [ - "account_id", - "dataset", + "path", "body" ], $defs: { @@ -57,11 +65,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/art_SummaryResponse", $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ResultValues": art_ResultValues_output, - "art_SummaryResponse": art_SummaryResponse_output, - "art_SummaryResult": art_SummaryResult_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ResultValues": art_ResultValues, + "art_SummaryResponse": art_SummaryResponse, + "art_SummaryResult": art_SummaryResult, }, }, annotations: { @@ -95,12 +103,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ErrorResponse": art_ErrorResponse_output, - "art_ResultValues": art_ResultValues_output, - "art_SummaryResponse": art_SummaryResponse_output, - "art_SummaryResult": art_SummaryResult_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ErrorResponse": art_ErrorResponse, + "art_ResultValues": art_ResultValues, + "art_SummaryResponse": art_SummaryResponse, + "art_SummaryResult": art_SummaryResult, }, }, request: (args) => ({ @@ -115,21 +123,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/art_QueryTimeseries" }, - "dataset": { - "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.\n", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "dataset": { + "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.\n", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset" + ], + "type": "object" } }, required: [ - "account_id", - "dataset", + "path", "body" ], $defs: { @@ -141,11 +157,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/art_TimeseriesResponse", $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ResultValues": art_ResultValues_output, - "art_TimeseriesResponse": art_TimeseriesResponse_output, - "art_TimeseriesResult": art_TimeseriesResult_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ResultValues": art_ResultValues, + "art_TimeseriesResponse": art_TimeseriesResponse, + "art_TimeseriesResult": art_TimeseriesResult, }, }, annotations: { @@ -179,12 +195,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ErrorResponse": art_ErrorResponse_output, - "art_ResultValues": art_ResultValues_output, - "art_TimeseriesResponse": art_TimeseriesResponse_output, - "art_TimeseriesResult": art_TimeseriesResult_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ErrorResponse": art_ErrorResponse, + "art_ResultValues": art_ResultValues, + "art_TimeseriesResponse": art_TimeseriesResponse, + "art_TimeseriesResult": art_TimeseriesResult, }, }, request: (args) => ({ @@ -193,27 +209,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "analytics_query_top_n", + name: "analytics_query_topN", title: "Query analytics top-N", description: "Returns the top N results for a dataset by a specified stat. Includes an array of result rows, each containing the requested stats and group-by dimensions.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/art_QueryTopN" }, - "dataset": { - "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.\n", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "dataset": { + "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.\n", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset" + ], + "type": "object" } }, required: [ - "account_id", - "dataset", + "path", "body" ], $defs: { @@ -225,10 +249,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/art_TopNResponse", $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ResultValues": art_ResultValues_output, - "art_TopNResponse": art_TopNResponse_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ResultValues": art_ResultValues, + "art_TopNResponse": art_TopNResponse, }, }, annotations: { @@ -262,11 +286,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "art_APIError": art_APIError_output, - "art_APIMessage": art_APIMessage_output, - "art_ErrorResponse": art_ErrorResponse_output, - "art_ResultValues": art_ResultValues_output, - "art_TopNResponse": art_TopNResponse_output, + "art_APIError": art_APIError, + "art_APIMessage": art_APIMessage, + "art_ErrorResponse": art_ErrorResponse, + "art_ResultValues": art_ResultValues, + "art_TopNResponse": art_TopNResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts b/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts index a2ef3099f..61a967603 100644 --- a/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts +++ b/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts @@ -1,18 +1,18 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - analytics_sql_ApiErrorResponse_output, - analytics_sql_Attribute_output, - analytics_sql_CustomAttribute_output, - analytics_sql_DatasetAvailability_output, - analytics_sql_GatewayApiErrorResponse_output, - analytics_sql_IntrospectionColumn_output, - analytics_sql_IntrospectionDatasetKind_output, - analytics_sql_IntrospectionDataset_output, - analytics_sql_IntrospectionResponse_output, - analytics_sql_IntrospectionSampling_output, + analytics$$sql_ApiErrorResponse, + analytics$$sql_Attribute, + analytics$$sql_CustomAttribute, + analytics$$sql_DatasetAvailability, + analytics$$sql_GatewayApiErrorResponse, + analytics$$sql_IntrospectionColumn, + analytics$$sql_IntrospectionDataset, + analytics$$sql_IntrospectionDatasetKind, + analytics$$sql_IntrospectionResponse, + analytics$$sql_IntrospectionSampling, } from "../../../../outputs.js"; /** @@ -26,55 +26,68 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account that authorizes and scopes the request.", - "type": "string" - }, - "dataset_name": { - "description": "Return only the dataset with this exact name. An empty value is treated as if the parameter had been omitted, and does not filter the catalogue. A name that matches no dataset in this deployment's catalogue is rejected with `422`; a dataset that exists but is not describable here is rejected identically, so the two cases cannot be told apart.\n\nA Workers Analytics Engine dataset is named in full, as `events.analyticsEngine.`; the namespace on its own returns every such dataset the account has. A `dataset_name` the account does not have is rejected with `422` like any other unknown name.\n", - "type": "string" - }, - "include_attributes": { - "default": false, - "description": "Include a capped set of attribute names and types observed during the preceding seven days, as `attributes`. Requires a nonempty dataset_name. Replaces `include_custom_attributes`, which is deprecated.\n", - "type": "boolean" - }, - "include_columns": { - "default": false, - "description": "Include column metadata for each returned dataset.", - "type": "boolean" - }, - "include_custom_attributes": { - "default": false, - "description": "Include a capped set of custom attribute names and types observed during the preceding seven days, as `custom_attributes`. Requires a nonempty dataset_name. Deprecated in favor of `include_attributes`.\n", - "type": "boolean" - }, - "include_lex": { - "default": true, - "description": "Include Log Explorer datasets, which are listed only where the account has them. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "description": "Account that authorizes and scopes the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "include_wae": { - "default": true, - "description": "Include Workers Analytics Engine datasets, which are discovered from the account's own data. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", - "type": "boolean" + "query": { + "properties": { + "dataset_name": { + "description": "Return only the dataset with this exact name. An empty value is treated as if the parameter had been omitted, and does not filter the catalogue. A name that matches no dataset in this deployment's catalogue is rejected with `422`; a dataset that exists but is not describable here is rejected identically, so the two cases cannot be told apart.\n\nA Workers Analytics Engine dataset is named in full, as `events.analyticsEngine.`; the namespace on its own returns every such dataset the account has. A `dataset_name` the account does not have is rejected with `422` like any other unknown name.\n", + "type": "string" + }, + "include_attributes": { + "default": false, + "description": "Include a capped set of attribute names and types observed during the preceding seven days, as `attributes`. Requires a nonempty dataset_name. Replaces `include_custom_attributes`, which is deprecated.\n", + "type": "boolean" + }, + "include_columns": { + "default": false, + "description": "Include column metadata for each returned dataset.", + "type": "boolean" + }, + "include_custom_attributes": { + "default": false, + "description": "Include a capped set of custom attribute names and types observed during the preceding seven days, as `custom_attributes`. Requires a nonempty dataset_name. Deprecated in favor of `include_attributes`.\n", + "type": "boolean" + }, + "include_lex": { + "default": true, + "description": "Include Log Explorer datasets, which are listed only where the account has them. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", + "type": "boolean" + }, + "include_wae": { + "default": true, + "description": "Include Workers Analytics Engine datasets, which are discovered from the account's own data. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/analytics-sql_IntrospectionResponse", $defs: { - "analytics-sql_Attribute": analytics_sql_Attribute_output, - "analytics-sql_CustomAttribute": analytics_sql_CustomAttribute_output, - "analytics-sql_DatasetAvailability": analytics_sql_DatasetAvailability_output, - "analytics-sql_IntrospectionColumn": analytics_sql_IntrospectionColumn_output, - "analytics-sql_IntrospectionDataset": analytics_sql_IntrospectionDataset_output, - "analytics-sql_IntrospectionDatasetKind": analytics_sql_IntrospectionDatasetKind_output, - "analytics-sql_IntrospectionResponse": analytics_sql_IntrospectionResponse_output, - "analytics-sql_IntrospectionSampling": analytics_sql_IntrospectionSampling_output, + "analytics-sql_Attribute": analytics$$sql_Attribute, + "analytics-sql_CustomAttribute": analytics$$sql_CustomAttribute, + "analytics-sql_DatasetAvailability": analytics$$sql_DatasetAvailability, + "analytics-sql_IntrospectionColumn": analytics$$sql_IntrospectionColumn, + "analytics-sql_IntrospectionDataset": analytics$$sql_IntrospectionDataset, + "analytics-sql_IntrospectionDatasetKind": analytics$$sql_IntrospectionDatasetKind, + "analytics-sql_IntrospectionResponse": analytics$$sql_IntrospectionResponse, + "analytics-sql_IntrospectionSampling": analytics$$sql_IntrospectionSampling, }, }, annotations: { @@ -115,27 +128,27 @@ export const tools: readonly Tool[] = [ "503": null }, $defs: { - "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, - "analytics-sql_Attribute": analytics_sql_Attribute_output, - "analytics-sql_CustomAttribute": analytics_sql_CustomAttribute_output, - "analytics-sql_DatasetAvailability": analytics_sql_DatasetAvailability_output, - "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, - "analytics-sql_IntrospectionColumn": analytics_sql_IntrospectionColumn_output, - "analytics-sql_IntrospectionDataset": analytics_sql_IntrospectionDataset_output, - "analytics-sql_IntrospectionDatasetKind": analytics_sql_IntrospectionDatasetKind_output, - "analytics-sql_IntrospectionResponse": analytics_sql_IntrospectionResponse_output, - "analytics-sql_IntrospectionSampling": analytics_sql_IntrospectionSampling_output, + "analytics-sql_ApiErrorResponse": analytics$$sql_ApiErrorResponse, + "analytics-sql_Attribute": analytics$$sql_Attribute, + "analytics-sql_CustomAttribute": analytics$$sql_CustomAttribute, + "analytics-sql_DatasetAvailability": analytics$$sql_DatasetAvailability, + "analytics-sql_GatewayApiErrorResponse": analytics$$sql_GatewayApiErrorResponse, + "analytics-sql_IntrospectionColumn": analytics$$sql_IntrospectionColumn, + "analytics-sql_IntrospectionDataset": analytics$$sql_IntrospectionDataset, + "analytics-sql_IntrospectionDatasetKind": analytics$$sql_IntrospectionDatasetKind, + "analytics-sql_IntrospectionResponse": analytics$$sql_IntrospectionResponse, + "analytics-sql_IntrospectionSampling": analytics$$sql_IntrospectionSampling, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/analytics/sql/introspection`, query: [ - ["include_columns", args["include_columns"], true], - ["include_custom_attributes", args["include_custom_attributes"], true], - ["include_attributes", args["include_attributes"], true], - ["include_wae", args["include_wae"], true], - ["include_lex", args["include_lex"], true], - ["dataset_name", args["dataset_name"], true], + ["include_columns", param(args, "query", "include_columns"), true], + ["include_custom_attributes", param(args, "query", "include_custom_attributes"), true], + ["include_attributes", param(args, "query", "include_attributes"), true], + ["include_wae", param(args, "query", "include_wae"), true], + ["include_lex", param(args, "query", "include_lex"), true], + ["dataset_name", param(args, "query", "dataset_name"), true], ], }), }, diff --git a/src/generated/forge-mcp/analytics/sql/accounts/tools.ts b/src/generated/forge-mcp/analytics/sql/accounts/tools.ts index 6ffa8b6da..d65efb0d8 100644 --- a/src/generated/forge-mcp/analytics/sql/accounts/tools.ts +++ b/src/generated/forge-mcp/analytics/sql/accounts/tools.ts @@ -1,21 +1,21 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - analytics_sql_ApiErrorResponse_output, - analytics_sql_ClickHouseJsonQueryResponse_output, - analytics_sql_GatewayApiErrorResponse_output, - analytics_sql_LogExplorerQueryResponse_output, - analytics_sql_SqlQueryResponse_output, - analytics_sql_SqlQueryStatistics_output, + analytics$$sql_ApiErrorResponse, + analytics$$sql_ClickHouseJsonQueryResponse, + analytics$$sql_GatewayApiErrorResponse, + analytics$$sql_LogExplorerQueryResponse, + analytics$$sql_SqlQueryResponse, + analytics$$sql_SqlQueryStatistics, } from "../../../outputs.js"; import { - analytics_sql_SqlQueryAccountScope, - analytics_sql_SqlQueryRequest, - analytics_sql_SqlQueryScope, - analytics_sql_SqlQueryTimeRange, - analytics_sql_SqlQueryZoneScope, + analytics$$sql_SqlQueryAccountScope, + analytics$$sql_SqlQueryRequest, + analytics$$sql_SqlQueryScope, + analytics$$sql_SqlQueryTimeRange, + analytics$$sql_SqlQueryZoneScope, } from "../../../schemas.js"; /** @@ -29,17 +29,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account that authorizes and scopes the request.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account that authorizes and scopes the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, "query": { - "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.\n", - "type": "string" + "properties": { + "query": { + "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.\n", + "type": "string" + } + }, + "required": [ + "query" + ], + "type": "object" } }, required: [ - "account_id", + "path", "query" ], }, @@ -56,10 +72,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, - "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, - "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, - "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + "analytics-sql_ClickHouseJsonQueryResponse": analytics$$sql_ClickHouseJsonQueryResponse, + "analytics-sql_LogExplorerQueryResponse": analytics$$sql_LogExplorerQueryResponse, + "analytics-sql_SqlQueryResponse": analytics$$sql_SqlQueryResponse, + "analytics-sql_SqlQueryStatistics": analytics$$sql_SqlQueryStatistics, }, }, annotations: { @@ -113,18 +129,18 @@ export const tools: readonly Tool[] = [ "507": null }, $defs: { - "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, - "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, - "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, - "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, - "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, - "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + "analytics-sql_ApiErrorResponse": analytics$$sql_ApiErrorResponse, + "analytics-sql_ClickHouseJsonQueryResponse": analytics$$sql_ClickHouseJsonQueryResponse, + "analytics-sql_GatewayApiErrorResponse": analytics$$sql_GatewayApiErrorResponse, + "analytics-sql_LogExplorerQueryResponse": analytics$$sql_LogExplorerQueryResponse, + "analytics-sql_SqlQueryResponse": analytics$$sql_SqlQueryResponse, + "analytics-sql_SqlQueryStatistics": analytics$$sql_SqlQueryStatistics, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/analytics/sql`, query: [ - ["query", args["query"], true], + ["query", param(args, "query", "query"), true], ], }), }, @@ -135,24 +151,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account that authorizes and scopes the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/analytics-sql_SqlQueryRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Account that authorizes and scopes the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "analytics-sql_SqlQueryAccountScope": analytics_sql_SqlQueryAccountScope, - "analytics-sql_SqlQueryRequest": analytics_sql_SqlQueryRequest, - "analytics-sql_SqlQueryScope": analytics_sql_SqlQueryScope, - "analytics-sql_SqlQueryTimeRange": analytics_sql_SqlQueryTimeRange, - "analytics-sql_SqlQueryZoneScope": analytics_sql_SqlQueryZoneScope, + "analytics-sql_SqlQueryAccountScope": analytics$$sql_SqlQueryAccountScope, + "analytics-sql_SqlQueryRequest": analytics$$sql_SqlQueryRequest, + "analytics-sql_SqlQueryScope": analytics$$sql_SqlQueryScope, + "analytics-sql_SqlQueryTimeRange": analytics$$sql_SqlQueryTimeRange, + "analytics-sql_SqlQueryZoneScope": analytics$$sql_SqlQueryZoneScope, }, }, outputSchema: { @@ -168,10 +192,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, - "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, - "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, - "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + "analytics-sql_ClickHouseJsonQueryResponse": analytics$$sql_ClickHouseJsonQueryResponse, + "analytics-sql_LogExplorerQueryResponse": analytics$$sql_LogExplorerQueryResponse, + "analytics-sql_SqlQueryResponse": analytics$$sql_SqlQueryResponse, + "analytics-sql_SqlQueryStatistics": analytics$$sql_SqlQueryStatistics, }, }, annotations: { @@ -225,12 +249,12 @@ export const tools: readonly Tool[] = [ "507": null }, $defs: { - "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, - "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, - "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, - "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, - "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, - "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + "analytics-sql_ApiErrorResponse": analytics$$sql_ApiErrorResponse, + "analytics-sql_ClickHouseJsonQueryResponse": analytics$$sql_ClickHouseJsonQueryResponse, + "analytics-sql_GatewayApiErrorResponse": analytics$$sql_GatewayApiErrorResponse, + "analytics-sql_LogExplorerQueryResponse": analytics$$sql_LogExplorerQueryResponse, + "analytics-sql_SqlQueryResponse": analytics$$sql_SqlQueryResponse, + "analytics-sql_SqlQueryStatistics": analytics$$sql_SqlQueryStatistics, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/analytics/sql/tools.ts b/src/generated/forge-mcp/analytics/sql/tools.ts index e706a0ea2..25c22c297 100644 --- a/src/generated/forge-mcp/analytics/sql/tools.ts +++ b/src/generated/forge-mcp/analytics/sql/tools.ts @@ -1,14 +1,14 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../_/tool.js"; +import { type Tool, param } from "../../_/tool.js"; import { - analytics_sql_ApiErrorResponse_output, - analytics_sql_ClickHouseJsonQueryResponse_output, - analytics_sql_GatewayApiErrorResponse_output, - analytics_sql_LogExplorerQueryResponse_output, - analytics_sql_SqlQueryResponse_output, - analytics_sql_SqlQueryStatistics_output, + analytics$$sql_ApiErrorResponse, + analytics$$sql_ClickHouseJsonQueryResponse, + analytics$$sql_GatewayApiErrorResponse, + analytics$$sql_LogExplorerQueryResponse, + analytics$$sql_SqlQueryResponse, + analytics$$sql_SqlQueryStatistics, } from "../../outputs.js"; /** @@ -23,8 +23,16 @@ export const tools: readonly Tool[] = [ type: "object", properties: { "query": { - "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.\n", - "type": "string" + "properties": { + "query": { + "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.\n", + "type": "string" + } + }, + "required": [ + "query" + ], + "type": "object" } }, required: [ @@ -44,10 +52,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, - "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, - "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, - "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + "analytics-sql_ClickHouseJsonQueryResponse": analytics$$sql_ClickHouseJsonQueryResponse, + "analytics-sql_LogExplorerQueryResponse": analytics$$sql_LogExplorerQueryResponse, + "analytics-sql_SqlQueryResponse": analytics$$sql_SqlQueryResponse, + "analytics-sql_SqlQueryStatistics": analytics$$sql_SqlQueryStatistics, }, }, annotations: { @@ -101,18 +109,18 @@ export const tools: readonly Tool[] = [ "507": null }, $defs: { - "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, - "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, - "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, - "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, - "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, - "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + "analytics-sql_ApiErrorResponse": analytics$$sql_ApiErrorResponse, + "analytics-sql_ClickHouseJsonQueryResponse": analytics$$sql_ClickHouseJsonQueryResponse, + "analytics-sql_GatewayApiErrorResponse": analytics$$sql_GatewayApiErrorResponse, + "analytics-sql_LogExplorerQueryResponse": analytics$$sql_LogExplorerQueryResponse, + "analytics-sql_SqlQueryResponse": analytics$$sql_SqlQueryResponse, + "analytics-sql_SqlQueryStatistics": analytics$$sql_SqlQueryStatistics, }, }, request: (args) => ({ path: `/analytics/sql`, query: [ - ["query", args["query"], true], + ["query", param(args, "query", "query"), true], ], }), }, diff --git a/src/generated/forge-mcp/apiSecurity/outputs.ts b/src/generated/forge-mcp/apiSecurity/outputs.ts index 86173fb08..82cf107c1 100644 --- a/src/generated/forge-mcp/apiSecurity/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `api-shield_api-response-single` in responses. */ -export const api_shield_api_response_single_output: JsonSchema = { +export const api$$shield_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/api-shield_messages" diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts index e195cd89a..8e31b5902 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `api-shield_schema_hosts` in responses. */ -export const api_shield_schema_hosts_output: JsonSchema = { +export const api$$shield_schema_hosts: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/api-shield_timestamp-2" diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts index cc081fb17..da56bb8dd 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts @@ -1,54 +1,67 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, - api_shield_uuid_2_output, - api_shield_uuid_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, + api$$shield_identifier, + api$$shield_identifier$$2, } from "../../../../schemas.js"; -import { api_shield_schema_hosts_output } from "./outputs.js"; +import { api$$shield_schema_hosts } from "./outputs.js"; /** - * The tools of `api_security.schema_validation.schemas.hosts`. + * The tools of `apiSecurity.schemaValidation.schemas.hosts`. */ export const tools: readonly Tool[] = [ { - name: "api_security_schema_validation_schemas_hosts_list", + name: "apiSecurity_schemaValidation_schemas_hosts_list", title: "List hosts covered by uploaded schemas", description: "Lists all unique hosts found in uploaded OpenAPI schemas for the zone.", inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -72,14 +85,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_schema_hosts": api_shield_schema_hosts_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_schema_hosts": api$$shield_schema_hosts, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -127,22 +140,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_schema_hosts": api_shield_schema_hosts_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_schema_hosts": api$$shield_schema_hosts, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas/hosts`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts index 118b8f29b..837e0ef2e 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts @@ -1,131 +1,144 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_auth_id_tokens_output, - api_shield_basic_operation_output, - api_shield_confidence_intervals_bounds_output, - api_shield_data_points_output, - api_shield_endpoint_output, - api_shield_host_output, - api_shield_messages_output, - api_shield_method_output, - api_shield_operation_feature_api_routing_output, - api_shield_operation_feature_confidence_intervals_output, - api_shield_operation_feature_parameter_schemas_output, - api_shield_operation_feature_schema_info_output, - api_shield_operation_feature_thresholds_output, - api_shield_operation_features_output, - api_shield_operation_output, - api_shield_p50_output, - api_shield_p90_output, - api_shield_p99_output, - api_shield_parameter_schemas_definition_output, - api_shield_period_seconds_output, - api_shield_requests_output, - api_shield_standard_operation_output, - api_shield_suggested_threshold_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, - api_shield_uuid_2_output, - api_shield_uuid_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_auth_id_tokens, + api$$shield_basic_operation, + api$$shield_confidence_intervals_bounds, + api$$shield_data_points, + api$$shield_endpoint, + api$$shield_host, + api$$shield_messages, + api$$shield_method, + api$$shield_operation, + api$$shield_operation_feature_api_routing, + api$$shield_operation_feature_confidence_intervals, + api$$shield_operation_feature_parameter_schemas, + api$$shield_operation_feature_schema_info, + api$$shield_operation_feature_thresholds, + api$$shield_operation_features, + api$$shield_p50, + api$$shield_p90, + api$$shield_p99, + api$$shield_parameter_schemas_definition, + api$$shield_period_seconds, + api$$shield_requests, + api$$shield_standard_operation, + api$$shield_suggested_threshold, + api$$shield_timestamp, + api$$shield_timestamp$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid as api$$shield_uuid$, + api$$shield_uuid$$2 as api$$shield_uuid$$2$, } from "../../../../schemas.js"; /** - * The tools of `api_security.schema_validation.schemas.operations`. + * The tools of `apiSecurity.schemaValidation.schemas.operations`. */ export const tools: readonly Tool[] = [ { - name: "api_security_schema_validation_schemas_operations_list", + name: "apiSecurity_schemaValidation_schemas_operations_list", title: "Retrieve all operations from the schema", description: "Retrieves all operations from the schema. Operations that already exist in API Shield Endpoint Management will be returned as full operations.", inputSchema: { type: "object", properties: { - "endpoint": { - "description": "Filter results to only include endpoints containing this pattern.", - "type": "string" - }, - "feature": { - "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", - "items": { - "enum": [ - "thresholds", - "parameter_schemas", - "schema_info", - "confidence_intervals" - ], - "type": "string" - }, - "type": "array" - }, - "host": { - "description": "Filter results to only include the specified hosts.", - "items": { - "type": "string" - }, - "type": "array" - }, - "method": { - "description": "Filter results to only include the specified HTTP methods.", - "items": { - "type": "string" + "path": { + "properties": { + "schema_id": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_uuid-2" + }, + { + "format": "uuid", + "type": "string" + } + ], + "description": "The unique identifier of the schema" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } }, - "type": "array" - }, - "operation_status": { - "description": "Filter results by whether operations exist in Web Asset Management or not. `new` will just return operations from the schema that do not exist otherwise. `existing` will just return operations from the schema that already exist.", - "enum": [ - "new", - "existing" + "required": [ + "zone_id", + "schema_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" + "type": "object" }, - "schema_id": { - "allOf": [ - { - "$ref": "#/$defs/api-shield_uuid-2" + "query": { + "properties": { + "endpoint": { + "description": "Filter results to only include endpoints containing this pattern.", + "type": "string" }, - { - "format": "uuid", + "feature": { + "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", + "items": { + "enum": [ + "thresholds", + "parameter_schemas", + "schema_info", + "confidence_intervals" + ], + "type": "string" + }, + "type": "array" + }, + "host": { + "description": "Filter results to only include the specified hosts.", + "items": { + "type": "string" + }, + "type": "array" + }, + "method": { + "description": "Filter results to only include the specified HTTP methods.", + "items": { + "type": "string" + }, + "type": "array" + }, + "operation_status": { + "description": "Filter results by whether operations exist in Web Asset Management or not. `new` will just return operations from the schema that do not exist otherwise. `existing` will just return operations from the schema that already exist.", + "enum": [ + "new", + "existing" + ], "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" } - ], - "description": "The unique identifier of the schema" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + }, + "type": "object" } }, required: [ - "zone_id", - "schema_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -156,35 +169,35 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -239,48 +252,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas/${pathParam(args, "schema_id")}/operations`, query: [ - ["feature", args["feature"], true], - ["host", args["host"], true], - ["method", args["method"], true], - ["endpoint", args["endpoint"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["operation_status", args["operation_status"], true], + ["feature", param(args, "query", "feature"), true], + ["host", param(args, "query", "host"), true], + ["method", param(args, "query", "method"), true], + ["endpoint", param(args, "query", "endpoint"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["operation_status", param(args, "query", "operation_status"), true], ], }), }, diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts index a4bc50b4d..81a7b6f71 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_public_schema` in responses. */ -export const api_shield_public_schema_output: JsonSchema = { +export const api$$shield_public_schema: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/api-shield_timestamp-2" @@ -51,7 +51,7 @@ export const api_shield_public_schema_output: JsonSchema = { /** * The schema of `api-shield_public_schema_success_result` in responses. */ -export const api_shield_public_schema_success_result_output: JsonSchema = { +export const api$$shield_public_schema_success_result: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" @@ -73,7 +73,7 @@ export const api_shield_public_schema_success_result_output: JsonSchema = { /** * The schema of `api-shield_schema_issue_notification` in responses. */ -export const api_shield_schema_issue_notification_output: JsonSchema = { +export const api$$shield_schema_issue_notification: JsonSchema = { "properties": { "code": { "type": "integer" diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts index 21f09b9af..afa393853 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts @@ -1,36 +1,36 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, - api_shield_uuid_2_output, - api_shield_uuid_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid as api$$shield_uuid$, + api$$shield_uuid$$2 as api$$shield_uuid$$2$, } from "../../../schemas.js"; -import { api_shield_api_response_single_output } from "../../outputs.js"; +import { api$$shield_api$$response$$single } from "../../outputs.js"; import { - api_shield_public_schema_output, - api_shield_public_schema_success_result_output, - api_shield_schema_issue_notification_output, + api$$shield_public_schema, + api$$shield_public_schema_success_result, + api$$shield_schema_issue_notification, } from "./outputs.js"; /** - * The tools of `api_security.schema_validation.schemas`. + * The tools of `apiSecurity.schemaValidation.schemas`. */ export const tools: readonly Tool[] = [ { - name: "api_security_schema_validation_schemas_create", + name: "apiSecurity_schemaValidation_schemas_create", title: "Upload a schema", description: "Uploads an OpenAPI schema that defines expected request formats for API operations.", inputSchema: { @@ -66,17 +66,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -106,15 +114,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_public_schema": api_shield_public_schema_output, - "api-shield_public_schema_success_result": api_shield_public_schema_success_result_output, - "api-shield_schema_issue_notification": api_shield_schema_issue_notification_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_public_schema": api$$shield_public_schema, + "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, + "api-shield_schema_issue_notification": api$$shield_schema_issue_notification, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -190,16 +198,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_public_schema": api_shield_public_schema_output, - "api-shield_public_schema_success_result": api_shield_public_schema_success_result_output, - "api-shield_schema_issue_notification": api_shield_schema_issue_notification_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_public_schema": api$$shield_public_schema, + "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, + "api-shield_schema_issue_notification": api$$shield_schema_issue_notification, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -208,37 +216,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_schema_validation_schemas_delete", + name: "apiSecurity_schemaValidation_schemas_delete", title: "Delete a schema", description: "Permanently removes an uploaded OpenAPI schema from API Security. Operations using this schema will lose their validation rules.\n\nConfirm with the user before calling this tool. This operation permanently deletes the uploaded schema and removes its validation coverage.", inputSchema: { type: "object", properties: { - "schema_id": { - "allOf": [ - { - "$ref": "#/$defs/api-shield_uuid-2" + "path": { + "properties": { + "schema_id": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_uuid-2" + }, + { + "format": "uuid", + "type": "string" + } + ], + "description": "The unique identifier of the schema" }, - { - "format": "uuid", - "type": "string" + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" } + }, + "required": [ + "zone_id", + "schema_id" ], - "description": "The unique identifier of the schema" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "type": "object" } }, required: [ - "zone_id", - "schema_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -266,8 +282,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -317,9 +333,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ @@ -327,55 +343,68 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_schema_validation_schemas_get", + name: "apiSecurity_schemaValidation_schemas_get", title: "Get details of a schema", description: "Gets the contents and metadata of a specific OpenAPI schema uploaded to API Security.", inputSchema: { type: "object", properties: { - "omit_source": { - "default": false, - "description": "Omit the source-files of schemas and only retrieve their meta-data.", - "type": "boolean" - }, - "schema_id": { - "allOf": [ - { - "$ref": "#/$defs/api-shield_uuid-2" + "path": { + "properties": { + "schema_id": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_uuid-2" + }, + { + "format": "uuid", + "type": "string" + } + ], + "description": "The unique identifier of the schema" }, - { - "format": "uuid", - "type": "string" + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" } + }, + "required": [ + "zone_id", + "schema_id" ], - "description": "The unique identifier of the schema" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "omit_source": { + "default": false, + "description": "Omit the source-files of schemas and only retrieve their meta-data.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", - "schema_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_public_schema_success_result", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_public_schema": api_shield_public_schema_output, - "api-shield_public_schema_success_result": api_shield_public_schema_success_result_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_public_schema": api$$shield_public_schema, + "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -405,60 +434,73 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_public_schema": api_shield_public_schema_output, - "api-shield_public_schema_success_result": api_shield_public_schema_success_result_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_public_schema": api$$shield_public_schema, + "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas/${pathParam(args, "schema_id")}`, query: [ - ["omit_source", args["omit_source"], true], + ["omit_source", param(args, "query", "omit_source"), true], ], }), }, { - name: "api_security_schema_validation_schemas_list", + name: "apiSecurity_schemaValidation_schemas_list", title: "List all uploaded schemas", description: "Lists all OpenAPI schemas uploaded to API Security.", inputSchema: { type: "object", properties: { - "omit_source": { - "default": false, - "description": "Omit the source-files of schemas and only retrieve their meta-data.", - "type": "boolean" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" - }, - "validation_enabled": { - "description": "Filter for enabled schemas", - "type": "boolean" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "omit_source": { + "default": false, + "description": "Omit the source-files of schemas and only retrieve their meta-data.", + "type": "boolean" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" + }, + "validation_enabled": { + "description": "Filter for enabled schemas", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -482,14 +524,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_public_schema": api_shield_public_schema_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_public_schema": api$$shield_public_schema, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -537,29 +579,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_public_schema": api_shield_public_schema_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_public_schema": api$$shield_public_schema, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/schemas`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["omit_source", args["omit_source"], true], - ["validation_enabled", args["validation_enabled"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["omit_source", param(args, "query", "omit_source"), true], + ["validation_enabled", param(args, "query", "validation_enabled"), true], ], }), }, { - name: "api_security_schema_validation_schemas_set_validation", + name: "apiSecurity_schemaValidation_schemas_setValidation", title: "Set schema validation state", description: "Enables or disables validation for an uploaded OpenAPI schema without changing the schema document.", inputSchema: { @@ -574,45 +616,53 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "schema_id": { - "allOf": [ - { - "$ref": "#/$defs/api-shield_uuid-2" + "path": { + "properties": { + "schema_id": { + "allOf": [ + { + "$ref": "#/$defs/api-shield_uuid-2" + }, + { + "format": "uuid", + "type": "string" + } + ], + "description": "The unique identifier of the schema" }, - { - "format": "uuid", - "type": "string" + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" } + }, + "required": [ + "zone_id", + "schema_id" ], - "description": "The unique identifier of the schema" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "type": "object" } }, required: [ - "zone_id", - "schema_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_public_schema_success_result", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_public_schema": api_shield_public_schema_output, - "api-shield_public_schema_success_result": api_shield_public_schema_success_result_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_public_schema": api$$shield_public_schema, + "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -640,15 +690,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_public_schema": api_shield_public_schema_output, - "api-shield_public_schema_success_result": api_shield_public_schema_success_result_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_public_schema": api$$shield_public_schema, + "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts index 4dfe45c62..69422f169 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `api-shield_per_operation_setting` in responses. */ -export const api_shield_per_operation_setting_output: JsonSchema = { +export const api$$shield_per_operation_setting: JsonSchema = { "properties": { "mitigation_action": { "enum": [ @@ -30,7 +30,7 @@ export const api_shield_per_operation_setting_output: JsonSchema = { /** * The schema of `api-shield_per_operation_setting_change_base` in responses. */ -export const api_shield_per_operation_setting_change_base_output: JsonSchema = { +export const api$$shield_per_operation_setting_change_base: JsonSchema = { "properties": { "mitigation_action": { "oneOf": [ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts index 205e075f6..c7b0247b8 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts @@ -1,31 +1,31 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_uuid_2_output, - api_shield_uuid_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid as api$$shield_uuid$, } from "../../../../schemas.js"; import { - api_shield_per_operation_setting_change_base_output, - api_shield_per_operation_setting_output, + api$$shield_per_operation_setting, + api$$shield_per_operation_setting_change_base, } from "./outputs.js"; /** - * The tools of `api_security.schema_validation.settings.operations`. + * The tools of `apiSecurity.schemaValidation.settings.operations`. */ export const tools: readonly Tool[] = [ { - name: "api_security_schema_validation_settings_operations_bulk_edit", + name: "apiSecurity_schemaValidation_settings_operations_bulkEdit", title: "Bulk edit per-operation schema validation settings", description: "Updates schema validation settings for multiple API operations in a single request. Efficient for applying consistent validation rules across endpoints.", inputSchema: { @@ -55,17 +55,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -89,9 +97,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_per_operation_setting_change_base": api_shield_per_operation_setting_change_base_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_per_operation_setting_change_base": api$$shield_per_operation_setting_change_base, }, }, annotations: { @@ -137,10 +145,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_per_operation_setting_change_base": api_shield_per_operation_setting_change_base_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_per_operation_setting_change_base": api$$shield_per_operation_setting_change_base, }, }, request: (args) => ({ @@ -149,28 +157,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_schema_validation_settings_operations_delete", + name: "apiSecurity_schemaValidation_settings_operations_delete", title: "Delete per-operation schema validation setting", description: "Removes custom schema validation settings for a specific API operation, reverting to zone-level defaults.\n\nConfirm with the user before calling this tool. This operation deletes the operation-specific schema validation setting and restores the zone default.", inputSchema: { type: "object", properties: { - "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "operation_id": { + "$ref": "#/$defs/api-shield_uuid", + "description": "Identifier for the operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "operation_id" + ], + "type": "object" } }, required: [ - "zone_id", - "operation_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { @@ -196,10 +212,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -247,11 +263,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -259,28 +275,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_schema_validation_settings_operations_get", + name: "apiSecurity_schemaValidation_settings_operations_get", title: "Get per-operation schema validation setting", description: "Retrieves the schema validation settings configured for a specific API operation.", inputSchema: { type: "object", properties: { - "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "operation_id": { + "$ref": "#/$defs/api-shield_uuid", + "description": "Identifier for the operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "operation_id" + ], + "type": "object" } }, required: [ - "zone_id", - "operation_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { @@ -301,11 +325,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_per_operation_setting": api_shield_per_operation_setting_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_per_operation_setting": api$$shield_per_operation_setting, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -350,12 +374,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_per_operation_setting": api_shield_per_operation_setting_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_per_operation_setting": api$$shield_per_operation_setting, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -363,32 +387,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_schema_validation_settings_operations_list", + name: "apiSecurity_schemaValidation_settings_operations_list", title: "List per-operation schema validation settings", description: "Lists per-operation schema validation settings configured for the zone.", inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -412,12 +449,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_per_operation_setting": api_shield_per_operation_setting_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_per_operation_setting": api$$shield_per_operation_setting, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -465,25 +502,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_per_operation_setting": api_shield_per_operation_setting_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_per_operation_setting": api$$shield_per_operation_setting, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/schema_validation/settings/operations`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "api_security_schema_validation_settings_operations_update", + name: "apiSecurity_schemaValidation_settings_operations_update", title: "Update per-operation schema validation setting", description: "Fully updates schema validation settings for a specific API operation.", inputSchema: { @@ -513,23 +550,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "operation_id": { + "$ref": "#/$defs/api-shield_uuid", + "description": "Identifier for the operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "operation_id" + ], + "type": "object" } }, required: [ - "zone_id", - "operation_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { @@ -550,11 +595,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_per_operation_setting": api_shield_per_operation_setting_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_per_operation_setting": api$$shield_per_operation_setting, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -597,12 +642,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_per_operation_setting": api_shield_per_operation_setting_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_per_operation_setting": api$$shield_per_operation_setting, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/outputs.ts index eb92061c4..c6394d5de 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_global_settings` in responses. */ -export const api_shield_global_settings_output: JsonSchema = { +export const api$$shield_global_settings: JsonSchema = { "properties": { "validation_default_mitigation_action": { "enum": [ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/schemas.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/schemas.ts index 094ae5a09..17db0cd3c 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_global_setting_change_base`. */ -export const api_shield_global_setting_change_base: JsonSchema = { +export const api$$shield_global_setting_change_base: JsonSchema = { "properties": { "validation_default_mitigation_action": { "description": "The default mitigation action used\nMitigation actions are as follows:\n\n - `\"log\"` - log request when request does not conform to schema\n - `\"block\"` - deny access to the site when request does not conform to schema\n - `\"none\"` - skip running schema validation\n", diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts index 063474e93..b2cd695d8 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts @@ -3,23 +3,23 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - api_shield_api_response_common_failure_output, - api_shield_messages_output, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, } from "../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, + api$$shield_identifier, + api$$shield_identifier$$2, } from "../../../schemas.js"; -import { api_shield_api_response_single_output } from "../../outputs.js"; -import { api_shield_global_settings_output } from "./outputs.js"; -import { api_shield_global_setting_change_base } from "./schemas.js"; +import { api$$shield_api$$response$$single } from "../../outputs.js"; +import { api$$shield_global_settings } from "./outputs.js"; +import { api$$shield_global_setting_change_base } from "./schemas.js"; /** - * The tools of `api_security.schema_validation.settings`. + * The tools of `apiSecurity.schemaValidation.settings`. */ export const tools: readonly Tool[] = [ { - name: "api_security_schema_validation_settings_edit", + name: "apiSecurity_schemaValidation_settings_edit", title: "Edit global schema validation settings", description: "Partially updates global schema validation settings for a zone using PATCH semantics.", inputSchema: { @@ -28,18 +28,26 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_global_setting_change_base" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_global_setting_change_base": api_shield_global_setting_change_base, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_global_setting_change_base": api$$shield_global_setting_change_base, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -60,9 +68,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_global_settings": api_shield_global_settings_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_global_settings": api$$shield_global_settings, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -105,10 +113,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_global_settings": api_shield_global_settings_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_global_settings": api$$shield_global_settings, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ @@ -117,22 +125,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_schema_validation_settings_get", + name: "apiSecurity_schemaValidation_settings_get", title: "Get global schema validation settings", description: "Retrieves the current global schema validation settings for a zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -153,9 +169,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_global_settings": api_shield_global_settings_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_global_settings": api$$shield_global_settings, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -200,10 +216,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_global_settings": api_shield_global_settings_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_global_settings": api$$shield_global_settings, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ @@ -211,7 +227,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_schema_validation_settings_update", + name: "apiSecurity_schemaValidation_settings_update", title: "Update global schema validation settings", description: "Fully updates global schema validation settings for a zone, replacing existing configuration.", inputSchema: { @@ -248,17 +264,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -279,9 +303,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_global_settings": api_shield_global_settings_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_global_settings": api$$shield_global_settings, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -324,10 +348,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_global_settings": api_shield_global_settings_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_global_settings": api$$shield_global_settings, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/outputs.ts b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/outputs.ts index af5a91888..b2a858b88 100644 --- a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `api-shield_auth_id_characteristic` in responses. */ -export const api_shield_auth_id_characteristic_output: JsonSchema = { +export const api$$shield_auth_id_characteristic: JsonSchema = { "properties": { "name": { "type": "string" @@ -29,7 +29,7 @@ export const api_shield_auth_id_characteristic_output: JsonSchema = { /** * The schema of `api-shield_auth_id_characteristic_jwt_claim` in responses. */ -export const api_shield_auth_id_characteristic_jwt_claim_output: JsonSchema = { +export const api$$shield_auth_id_characteristic_jwt_claim: JsonSchema = { "properties": { "name": { "type": "string" @@ -51,7 +51,7 @@ export const api_shield_auth_id_characteristic_jwt_claim_output: JsonSchema = { /** * The schema of `api-shield_auth_id_characteristics` in responses. */ -export const api_shield_auth_id_characteristics_output: JsonSchema = { +export const api$$shield_auth_id_characteristics: JsonSchema = { "items": { "anyOf": [ { @@ -69,7 +69,7 @@ export const api_shield_auth_id_characteristics_output: JsonSchema = { /** * The schema of `api-shield_configuration` in responses. */ -export const api_shield_configuration_output: JsonSchema = { +export const api$$shield_configuration: JsonSchema = { "properties": { "auth_id_characteristics": { "$ref": "#/$defs/api-shield_auth_id_characteristics" @@ -84,7 +84,7 @@ export const api_shield_configuration_output: JsonSchema = { /** * The schema of `api-shield_configuration-single-response` in responses. */ -export const api_shield_configuration_single_response_output: JsonSchema = { +export const api$$shield_configuration$$single$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" diff --git a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/schemas.ts b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/schemas.ts index c9aceda32..6b6577990 100644 --- a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `api-shield_auth_id_characteristic`. */ -export const api_shield_auth_id_characteristic: JsonSchema = { +export const api$$shield_auth_id_characteristic: JsonSchema = { "description": "Auth ID Characteristic", "properties": { "name": { @@ -32,7 +32,7 @@ export const api_shield_auth_id_characteristic: JsonSchema = { /** * The schema of `api-shield_auth_id_characteristic_jwt_claim`. */ -export const api_shield_auth_id_characteristic_jwt_claim: JsonSchema = { +export const api$$shield_auth_id_characteristic_jwt_claim: JsonSchema = { "description": "Auth ID Characteristic extracted from JWT Token Claims", "properties": { "name": { @@ -57,7 +57,7 @@ export const api_shield_auth_id_characteristic_jwt_claim: JsonSchema = { /** * The schema of `api-shield_auth_id_characteristics`. */ -export const api_shield_auth_id_characteristics: JsonSchema = { +export const api$$shield_auth_id_characteristics: JsonSchema = { "items": { "anyOf": [ { @@ -75,7 +75,7 @@ export const api_shield_auth_id_characteristics: JsonSchema = { /** * The schema of `api-shield_configuration`. */ -export const api_shield_configuration: JsonSchema = { +export const api$$shield_configuration: JsonSchema = { "properties": { "auth_id_characteristics": { "$ref": "#/$defs/api-shield_auth_id_characteristics" diff --git a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts index eb21690c5..24fc1c4a4 100644 --- a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts @@ -1,67 +1,80 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, } from "../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, + api$$shield_identifier, + api$$shield_identifier$$2, } from "../../schemas.js"; import { - api_shield_auth_id_characteristic_jwt_claim_output, - api_shield_auth_id_characteristic_output, - api_shield_auth_id_characteristics_output, - api_shield_configuration_output, - api_shield_configuration_single_response_output, + api$$shield_auth_id_characteristic, + api$$shield_auth_id_characteristic_jwt_claim, + api$$shield_auth_id_characteristics, + api$$shield_configuration, + api$$shield_configuration$$single$$response, } from "./outputs.js"; import { - api_shield_auth_id_characteristic, - api_shield_auth_id_characteristic_jwt_claim, - api_shield_auth_id_characteristics, - api_shield_configuration, + api$$shield_auth_id_characteristic as api$$shield_auth_id_characteristic$, + api$$shield_auth_id_characteristic_jwt_claim as api$$shield_auth_id_characteristic_jwt_claim$, + api$$shield_auth_id_characteristics as api$$shield_auth_id_characteristics$, + api$$shield_configuration as api$$shield_configuration$, } from "./schemas.js"; /** - * The tools of `api_security.session_identifiers`. + * The tools of `apiSecurity.sessionIdentifiers`. */ export const tools: readonly Tool[] = [ { - name: "api_security_session_identifiers_get", + name: "apiSecurity_sessionIdentifiers_get", title: "Get session identifier settings", description: "Returns the authentication identifier characteristics configured for the zone. Header, cookie, or JWT claim values identify distinct API sessions.", inputSchema: { type: "object", properties: { - "normalize": { - "description": "Ensures that the configuration is written or retrieved in normalized fashion", - "type": "boolean" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "normalize": { + "description": "Ensures that the configuration is written or retrieved in normalized fashion", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/api-shield_configuration-single-response", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_auth_id_characteristic": api_shield_auth_id_characteristic_output, - "api-shield_auth_id_characteristic_jwt_claim": api_shield_auth_id_characteristic_jwt_claim_output, - "api-shield_auth_id_characteristics": api_shield_auth_id_characteristics_output, - "api-shield_configuration": api_shield_configuration_output, - "api-shield_configuration-single-response": api_shield_configuration_single_response_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_auth_id_characteristic": api$$shield_auth_id_characteristic, + "api-shield_auth_id_characteristic_jwt_claim": api$$shield_auth_id_characteristic_jwt_claim, + "api-shield_auth_id_characteristics": api$$shield_auth_id_characteristics, + "api-shield_configuration": api$$shield_configuration, + "api-shield_configuration-single-response": api$$shield_configuration$$single$$response, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -91,25 +104,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_auth_id_characteristic": api_shield_auth_id_characteristic_output, - "api-shield_auth_id_characteristic_jwt_claim": api_shield_auth_id_characteristic_jwt_claim_output, - "api-shield_auth_id_characteristics": api_shield_auth_id_characteristics_output, - "api-shield_configuration": api_shield_configuration_output, - "api-shield_configuration-single-response": api_shield_configuration_single_response_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_auth_id_characteristic": api$$shield_auth_id_characteristic, + "api-shield_auth_id_characteristic_jwt_claim": api$$shield_auth_id_characteristic_jwt_claim, + "api-shield_auth_id_characteristics": api$$shield_auth_id_characteristics, + "api-shield_configuration": api$$shield_configuration, + "api-shield_configuration-single-response": api$$shield_configuration$$single$$response, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/configuration`, query: [ - ["normalize", args["normalize"], true], + ["normalize", param(args, "query", "normalize"), true], ], }), }, { - name: "api_security_session_identifiers_update", + name: "apiSecurity_sessionIdentifiers_update", title: "Update session identifier settings", description: "Replaces the zone's authentication identifier characteristics used to identify distinct API sessions.", inputSchema: { @@ -118,37 +131,50 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_configuration" }, - "normalize": { - "description": "Ensures that the configuration is written or retrieved in normalized fashion", - "type": "boolean" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "normalize": { + "description": "Ensures that the configuration is written or retrieved in normalized fashion", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_auth_id_characteristic": api_shield_auth_id_characteristic, - "api-shield_auth_id_characteristic_jwt_claim": api_shield_auth_id_characteristic_jwt_claim, - "api-shield_auth_id_characteristics": api_shield_auth_id_characteristics, - "api-shield_configuration": api_shield_configuration, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_auth_id_characteristic": api$$shield_auth_id_characteristic$, + "api-shield_auth_id_characteristic_jwt_claim": api$$shield_auth_id_characteristic_jwt_claim$, + "api-shield_auth_id_characteristics": api$$shield_auth_id_characteristics$, + "api-shield_configuration": api$$shield_configuration$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/api-shield_configuration-single-response", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_auth_id_characteristic": api_shield_auth_id_characteristic_output, - "api-shield_auth_id_characteristic_jwt_claim": api_shield_auth_id_characteristic_jwt_claim_output, - "api-shield_auth_id_characteristics": api_shield_auth_id_characteristics_output, - "api-shield_configuration": api_shield_configuration_output, - "api-shield_configuration-single-response": api_shield_configuration_single_response_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_auth_id_characteristic": api$$shield_auth_id_characteristic, + "api-shield_auth_id_characteristic_jwt_claim": api$$shield_auth_id_characteristic_jwt_claim, + "api-shield_auth_id_characteristics": api$$shield_auth_id_characteristics, + "api-shield_configuration": api$$shield_configuration, + "api-shield_configuration-single-response": api$$shield_configuration$$single$$response, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -176,20 +202,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_auth_id_characteristic": api_shield_auth_id_characteristic_output, - "api-shield_auth_id_characteristic_jwt_claim": api_shield_auth_id_characteristic_jwt_claim_output, - "api-shield_auth_id_characteristics": api_shield_auth_id_characteristics_output, - "api-shield_configuration": api_shield_configuration_output, - "api-shield_configuration-single-response": api_shield_configuration_single_response_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_auth_id_characteristic": api$$shield_auth_id_characteristic, + "api-shield_auth_id_characteristic_jwt_claim": api$$shield_auth_id_characteristic_jwt_claim, + "api-shield_auth_id_characteristics": api$$shield_auth_id_characteristics, + "api-shield_configuration": api$$shield_configuration, + "api-shield_configuration-single-response": api$$shield_configuration$$single$$response, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/configuration`, query: [ - ["normalize", args["normalize"], true], + ["normalize", param(args, "query", "normalize"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/schemas.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/schemas.ts index f7bad4537..05c3ffcee 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `api-shield_credentials-JWT-Key-oct-patch-request`. */ -export const api_shield_credentials_JWT_Key_oct_patch_request: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$oct$$patch$$request: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" @@ -47,7 +47,7 @@ export const api_shield_credentials_JWT_Key_oct_patch_request: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-patch-request`. */ -export const api_shield_credentials_JWT_Key_patch_request: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$patch$$request: JsonSchema = { "description": "JSON representation of a JWKS key for PATCH credentials requests.", "oneOf": [ { @@ -68,7 +68,7 @@ export const api_shield_credentials_JWT_Key_patch_request: JsonSchema = { /** * The schema of `api-shield_credentials-patch-request`. */ -export const api_shield_credentials_patch_request: JsonSchema = { +export const api$$shield_credentials$$patch$$request: JsonSchema = { "description": "Request payload for PATCH credentials. Provided keys define the complete stored key set, and stored keys omitted from payload are removed. For each provided key identity (`{alg,kid}`), payload fields overwrite the stored key before validation and omitted fields inherit from the stored key. Key identities must be unique.", "properties": { "keys": { diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts index b0b40610d..ec073919b 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts @@ -3,48 +3,48 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, } from "../../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../../schemas.js"; import { - api_shield_credentials_JWT_Key_EC_ES256_output, - api_shield_credentials_JWT_Key_EC_ES384_output, - api_shield_credentials_JWT_Key_EC_common_output, - api_shield_credentials_JWT_Key_RSA_output, - api_shield_credentials_JWT_Key_common_output, - api_shield_credentials_JWT_Key_oct_response_output, - api_shield_credentials_JWT_Key_response_output, - api_shield_credentials_output, + api$$shield_credentials, + api$$shield_credentials$$JWT$$Key$$EC$$ES256, + api$$shield_credentials$$JWT$$Key$$EC$$ES384, + api$$shield_credentials$$JWT$$Key$$EC$$common, + api$$shield_credentials$$JWT$$Key$$RSA, + api$$shield_credentials$$JWT$$Key$$common, + api$$shield_credentials$$JWT$$Key$$oct$$response, + api$$shield_credentials$$JWT$$Key$$response, } from "../outputs.js"; import { - api_shield_credentials_JWT_Key_EC_ES256, - api_shield_credentials_JWT_Key_EC_ES384, - api_shield_credentials_JWT_Key_EC_common, - api_shield_credentials_JWT_Key_RSA, - api_shield_credentials_JWT_Key_common, - api_shield_credentials_JWT_Key_oct_request, - api_shield_credentials_JWT_Key_request, - api_shield_credentials_request, + api$$shield_credentials$$JWT$$Key$$EC$$ES256 as api$$shield_credentials$$JWT$$Key$$EC$$ES256$, + api$$shield_credentials$$JWT$$Key$$EC$$ES384 as api$$shield_credentials$$JWT$$Key$$EC$$ES384$, + api$$shield_credentials$$JWT$$Key$$EC$$common as api$$shield_credentials$$JWT$$Key$$EC$$common$, + api$$shield_credentials$$JWT$$Key$$RSA as api$$shield_credentials$$JWT$$Key$$RSA$, + api$$shield_credentials$$JWT$$Key$$common as api$$shield_credentials$$JWT$$Key$$common$, + api$$shield_credentials$$JWT$$Key$$oct$$request, + api$$shield_credentials$$JWT$$Key$$request, + api$$shield_credentials$$request, } from "../schemas.js"; import { - api_shield_credentials_JWT_Key_oct_patch_request, - api_shield_credentials_JWT_Key_patch_request, - api_shield_credentials_patch_request, + api$$shield_credentials$$JWT$$Key$$oct$$patch$$request, + api$$shield_credentials$$JWT$$Key$$patch$$request, + api$$shield_credentials$$patch$$request, } from "./schemas.js"; /** - * The tools of `api_security.token_validation.configurations.credentials`. + * The tools of `apiSecurity.tokenValidation.configurations.credentials`. */ export const tools: readonly Tool[] = [ { - name: "api_security_token_validation_configurations_credentials_edit", + name: "apiSecurity_tokenValidation_configurations_credentials_edit", title: "Edit token validation credentials", description: "Updates the configuration's complete key set while allowing omitted fields on existing keys to retain stored values. Omitted key identities are removed.", inputSchema: { @@ -53,32 +53,40 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_credentials-patch-request" }, - "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Token Configuration ID" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "config_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Token Configuration ID" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "config_id" + ], + "type": "object" } }, required: [ - "zone_id", - "config_id", + "path", "body" ], $defs: { - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common, - "api-shield_credentials-JWT-Key-oct-patch-request": api_shield_credentials_JWT_Key_oct_patch_request, - "api-shield_credentials-JWT-Key-patch-request": api_shield_credentials_JWT_Key_patch_request, - "api-shield_credentials-patch-request": api_shield_credentials_patch_request, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256$, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384$, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common$, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA$, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common$, + "api-shield_credentials-JWT-Key-oct-patch-request": api$$shield_credentials$$JWT$$Key$$oct$$patch$$request, + "api-shield_credentials-JWT-Key-patch-request": api$$shield_credentials$$JWT$$Key$$patch$$request, + "api-shield_credentials-patch-request": api$$shield_credentials$$patch$$request, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, outputSchema: { @@ -99,16 +107,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -151,17 +159,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ @@ -170,7 +178,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_configurations_credentials_update", + name: "apiSecurity_tokenValidation_configurations_credentials_update", title: "Replace token validation credentials", description: "Replaces the configuration's complete key set. Symmetric keys must include their key material.", inputSchema: { @@ -179,32 +187,40 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_credentials-request" }, - "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Token Configuration ID" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "config_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Token Configuration ID" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "config_id" + ], + "type": "object" } }, required: [ - "zone_id", - "config_id", + "path", "body" ], $defs: { - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common, - "api-shield_credentials-JWT-Key-oct-request": api_shield_credentials_JWT_Key_oct_request, - "api-shield_credentials-JWT-Key-request": api_shield_credentials_JWT_Key_request, - "api-shield_credentials-request": api_shield_credentials_request, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256$, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384$, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common$, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA$, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common$, + "api-shield_credentials-JWT-Key-oct-request": api$$shield_credentials$$JWT$$Key$$oct$$request, + "api-shield_credentials-JWT-Key-request": api$$shield_credentials$$JWT$$Key$$request, + "api-shield_credentials-request": api$$shield_credentials$$request, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, outputSchema: { @@ -225,16 +241,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -277,17 +293,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts index 169d80a7b..7eb783e21 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_TokenConfiguration` in responses. */ -export const api_shield_TokenConfiguration_output: JsonSchema = { +export const api$$shield_TokenConfiguration: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/api-shield_timestamp-2" @@ -49,14 +49,14 @@ export const api_shield_TokenConfiguration_output: JsonSchema = { /** * The schema of `api-shield_cookie` in responses. */ -export const api_shield_cookie_output: JsonSchema = { +export const api$$shield_cookie: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_credentials` in responses. */ -export const api_shield_credentials_output: JsonSchema = { +export const api$$shield_credentials: JsonSchema = { "properties": { "keys": { "items": { @@ -76,7 +76,7 @@ export const api_shield_credentials_output: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-EC-ES256` in responses. */ -export const api_shield_credentials_JWT_Key_EC_ES256_output: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$EC$$ES256: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" @@ -111,7 +111,7 @@ export const api_shield_credentials_JWT_Key_EC_ES256_output: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-EC-ES384` in responses. */ -export const api_shield_credentials_JWT_Key_EC_ES384_output: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$EC$$ES384: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" @@ -146,7 +146,7 @@ export const api_shield_credentials_JWT_Key_EC_ES384_output: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-EC-common` in responses. */ -export const api_shield_credentials_JWT_Key_EC_common_output: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$EC$$common: JsonSchema = { "properties": { "kty": { "enum": [ @@ -172,7 +172,7 @@ export const api_shield_credentials_JWT_Key_EC_common_output: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-RSA` in responses. */ -export const api_shield_credentials_JWT_Key_RSA_output: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$RSA: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" @@ -217,7 +217,7 @@ export const api_shield_credentials_JWT_Key_RSA_output: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-common` in responses. */ -export const api_shield_credentials_JWT_Key_common_output: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$common: JsonSchema = { "properties": { "kid": { "type": "string" @@ -232,7 +232,7 @@ export const api_shield_credentials_JWT_Key_common_output: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-oct-response` in responses. */ -export const api_shield_credentials_JWT_Key_oct_response_output: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$oct$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" @@ -266,7 +266,7 @@ export const api_shield_credentials_JWT_Key_oct_response_output: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-response` in responses. */ -export const api_shield_credentials_JWT_Key_response_output: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$response: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-RSA" @@ -286,28 +286,28 @@ export const api_shield_credentials_JWT_Key_response_output: JsonSchema = { /** * The schema of `api-shield_description` in responses. */ -export const api_shield_description_output: JsonSchema = { +export const api$$shield_description: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_header` in responses. */ -export const api_shield_header_output: JsonSchema = { +export const api$$shield_header: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_title` in responses. */ -export const api_shield_title_output: JsonSchema = { +export const api$$shield_title: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_token_sources` in responses. */ -export const api_shield_token_sources_output: JsonSchema = { +export const api$$shield_token_sources: JsonSchema = { "items": { "anyOf": [ { @@ -326,7 +326,7 @@ export const api_shield_token_sources_output: JsonSchema = { /** * The schema of `api-shield_token_type` in responses. */ -export const api_shield_token_type_output: JsonSchema = { +export const api$$shield_token_type: JsonSchema = { "enum": [ "JWT" ], diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/schemas.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/schemas.ts index 7c7123270..67565990e 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_cookie`. */ -export const api_shield_cookie: JsonSchema = { +export const api$$shield_cookie: JsonSchema = { "description": "HTTP request cookie", "type": "string" }; @@ -14,7 +14,7 @@ export const api_shield_cookie: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-EC-ES256`. */ -export const api_shield_credentials_JWT_Key_EC_ES256: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$EC$$ES256: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" @@ -52,7 +52,7 @@ export const api_shield_credentials_JWT_Key_EC_ES256: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-EC-ES384`. */ -export const api_shield_credentials_JWT_Key_EC_ES384: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$EC$$ES384: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" @@ -90,7 +90,7 @@ export const api_shield_credentials_JWT_Key_EC_ES384: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-EC-common`. */ -export const api_shield_credentials_JWT_Key_EC_common: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$EC$$common: JsonSchema = { "properties": { "kty": { "description": "Key Type", @@ -119,7 +119,7 @@ export const api_shield_credentials_JWT_Key_EC_common: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-RSA`. */ -export const api_shield_credentials_JWT_Key_RSA: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$RSA: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" @@ -169,7 +169,7 @@ export const api_shield_credentials_JWT_Key_RSA: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-common`. */ -export const api_shield_credentials_JWT_Key_common: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$common: JsonSchema = { "properties": { "kid": { "description": "Key ID", @@ -185,7 +185,7 @@ export const api_shield_credentials_JWT_Key_common: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-oct-request`. */ -export const api_shield_credentials_JWT_Key_oct_request: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$oct$$request: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_credentials-JWT-Key-common" @@ -227,7 +227,7 @@ export const api_shield_credentials_JWT_Key_oct_request: JsonSchema = { /** * The schema of `api-shield_credentials-JWT-Key-request`. */ -export const api_shield_credentials_JWT_Key_request: JsonSchema = { +export const api$$shield_credentials$$JWT$$Key$$request: JsonSchema = { "description": "JSON representation of a JWKS key for create and PUT requests.", "oneOf": [ { @@ -248,7 +248,7 @@ export const api_shield_credentials_JWT_Key_request: JsonSchema = { /** * The schema of `api-shield_credentials-request`. */ -export const api_shield_credentials_request: JsonSchema = { +export const api$$shield_credentials$$request: JsonSchema = { "description": "Request payload for create and PUT credentials operations. Provided keys define the complete stored key set. Key identities (`{alg,kid}`) must be unique.", "properties": { "keys": { @@ -269,14 +269,14 @@ export const api_shield_credentials_request: JsonSchema = { /** * The schema of `api-shield_description`. */ -export const api_shield_description: JsonSchema = { +export const api$$shield_description: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_header`. */ -export const api_shield_header: JsonSchema = { +export const api$$shield_header: JsonSchema = { "description": "HTTP request header (must be lowercase)", "type": "string" }; @@ -284,14 +284,14 @@ export const api_shield_header: JsonSchema = { /** * The schema of `api-shield_title`. */ -export const api_shield_title: JsonSchema = { +export const api$$shield_title: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_token_sources`. */ -export const api_shield_token_sources: JsonSchema = { +export const api$$shield_token_sources: JsonSchema = { "items": { "anyOf": [ { @@ -310,7 +310,7 @@ export const api_shield_token_sources: JsonSchema = { /** * The schema of `api-shield_token_type`. */ -export const api_shield_token_type: JsonSchema = { +export const api$$shield_token_type: JsonSchema = { "enum": [ "JWT" ], diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts index 7c981b347..1ae563752 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts @@ -1,63 +1,63 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, - api_shield_uuid_2_output, - api_shield_uuid_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid as api$$shield_uuid$, + api$$shield_uuid$$2 as api$$shield_uuid$$2$, } from "../../../schemas.js"; import { - api_shield_TokenConfiguration_output, - api_shield_cookie_output, - api_shield_credentials_JWT_Key_EC_ES256_output, - api_shield_credentials_JWT_Key_EC_ES384_output, - api_shield_credentials_JWT_Key_EC_common_output, - api_shield_credentials_JWT_Key_RSA_output, - api_shield_credentials_JWT_Key_common_output, - api_shield_credentials_JWT_Key_oct_response_output, - api_shield_credentials_JWT_Key_response_output, - api_shield_credentials_output, - api_shield_description_output, - api_shield_header_output, - api_shield_title_output, - api_shield_token_sources_output, - api_shield_token_type_output, + api$$shield_TokenConfiguration, + api$$shield_cookie, + api$$shield_credentials, + api$$shield_credentials$$JWT$$Key$$EC$$ES256, + api$$shield_credentials$$JWT$$Key$$EC$$ES384, + api$$shield_credentials$$JWT$$Key$$EC$$common, + api$$shield_credentials$$JWT$$Key$$RSA, + api$$shield_credentials$$JWT$$Key$$common, + api$$shield_credentials$$JWT$$Key$$oct$$response, + api$$shield_credentials$$JWT$$Key$$response, + api$$shield_description, + api$$shield_header, + api$$shield_title, + api$$shield_token_sources, + api$$shield_token_type, } from "./outputs.js"; import { - api_shield_cookie, - api_shield_credentials_JWT_Key_EC_ES256, - api_shield_credentials_JWT_Key_EC_ES384, - api_shield_credentials_JWT_Key_EC_common, - api_shield_credentials_JWT_Key_RSA, - api_shield_credentials_JWT_Key_common, - api_shield_credentials_JWT_Key_oct_request, - api_shield_credentials_JWT_Key_request, - api_shield_credentials_request, - api_shield_description, - api_shield_header, - api_shield_title, - api_shield_token_sources, - api_shield_token_type, + api$$shield_cookie as api$$shield_cookie$, + api$$shield_credentials$$JWT$$Key$$EC$$ES256 as api$$shield_credentials$$JWT$$Key$$EC$$ES256$, + api$$shield_credentials$$JWT$$Key$$EC$$ES384 as api$$shield_credentials$$JWT$$Key$$EC$$ES384$, + api$$shield_credentials$$JWT$$Key$$EC$$common as api$$shield_credentials$$JWT$$Key$$EC$$common$, + api$$shield_credentials$$JWT$$Key$$RSA as api$$shield_credentials$$JWT$$Key$$RSA$, + api$$shield_credentials$$JWT$$Key$$common as api$$shield_credentials$$JWT$$Key$$common$, + api$$shield_credentials$$JWT$$Key$$oct$$request, + api$$shield_credentials$$JWT$$Key$$request, + api$$shield_credentials$$request, + api$$shield_description as api$$shield_description$, + api$$shield_header as api$$shield_header$, + api$$shield_title as api$$shield_title$, + api$$shield_token_sources as api$$shield_token_sources$, + api$$shield_token_type as api$$shield_token_type$, } from "./schemas.js"; /** - * The tools of `api_security.token_validation.configurations`. + * The tools of `apiSecurity.tokenValidation.configurations`. */ export const tools: readonly Tool[] = [ { - name: "api_security_token_validation_configurations_create", + name: "apiSecurity_tokenValidation_configurations_create", title: "Create a token validation configuration", description: "Creates a JWT validation configuration for the zone.", inputSchema: { @@ -91,31 +91,39 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_cookie": api_shield_cookie, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common, - "api-shield_credentials-JWT-Key-oct-request": api_shield_credentials_JWT_Key_oct_request, - "api-shield_credentials-JWT-Key-request": api_shield_credentials_JWT_Key_request, - "api-shield_credentials-request": api_shield_credentials_request, - "api-shield_description": api_shield_description, - "api-shield_header": api_shield_header, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_title": api_shield_title, - "api-shield_token_sources": api_shield_token_sources, - "api-shield_token_type": api_shield_token_type, + "api-shield_cookie": api$$shield_cookie$, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256$, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384$, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common$, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA$, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common$, + "api-shield_credentials-JWT-Key-oct-request": api$$shield_credentials$$JWT$$Key$$oct$$request, + "api-shield_credentials-JWT-Key-request": api$$shield_credentials$$JWT$$Key$$request, + "api-shield_credentials-request": api$$shield_credentials$$request, + "api-shield_description": api$$shield_description$, + "api-shield_header": api$$shield_header$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_title": api$$shield_title$, + "api-shield_token_sources": api$$shield_token_sources$, + "api-shield_token_type": api$$shield_token_type$, }, }, outputSchema: { @@ -136,27 +144,27 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_TokenConfiguration": api_shield_TokenConfiguration_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_cookie": api_shield_cookie_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_description": api_shield_description_output, - "api-shield_header": api_shield_header_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title": api_shield_title_output, - "api-shield_token_sources": api_shield_token_sources_output, - "api-shield_token_type": api_shield_token_type_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_cookie": api$$shield_cookie, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_description": api$$shield_description, + "api-shield_header": api$$shield_header, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title": api$$shield_title, + "api-shield_token_sources": api$$shield_token_sources, + "api-shield_token_type": api$$shield_token_type, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -199,28 +207,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_TokenConfiguration": api_shield_TokenConfiguration_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_cookie": api_shield_cookie_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_description": api_shield_description_output, - "api-shield_header": api_shield_header_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title": api_shield_title_output, - "api-shield_token_sources": api_shield_token_sources_output, - "api-shield_token_type": api_shield_token_type_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_cookie": api$$shield_cookie, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_description": api$$shield_description, + "api-shield_header": api$$shield_header, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title": api$$shield_title, + "api-shield_token_sources": api$$shield_token_sources, + "api-shield_token_type": api$$shield_token_type, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -229,29 +237,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_configurations_delete", + name: "apiSecurity_tokenValidation_configurations_delete", title: "Delete a token validation configuration", description: "Deletes a JWT validation configuration from the zone.\n\nConfirm with the user before calling this tool. This operation deletes the token validation configuration. The request is rejected if rules, operations, or JWT authentication identifiers still reference it.", inputSchema: { type: "object", properties: { - "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Token Configuration ID" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "config_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Token Configuration ID" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "config_id" + ], + "type": "object" } }, required: [ - "zone_id", - "config_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -277,10 +293,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -328,11 +344,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -340,7 +356,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_configurations_edit", + name: "apiSecurity_tokenValidation_configurations_edit", title: "Edit a token validation configuration", description: "Updates only the supplied fields on a JWT validation configuration.", inputSchema: { @@ -360,29 +376,37 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Token Configuration ID" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "config_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Token Configuration ID" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "config_id" + ], + "type": "object" } }, required: [ - "zone_id", - "config_id", + "path", "body" ], $defs: { - "api-shield_cookie": api_shield_cookie, - "api-shield_description": api_shield_description, - "api-shield_header": api_shield_header, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_title": api_shield_title, - "api-shield_token_sources": api_shield_token_sources, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_cookie": api$$shield_cookie$, + "api-shield_description": api$$shield_description$, + "api-shield_header": api$$shield_header$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_title": api$$shield_title$, + "api-shield_token_sources": api$$shield_token_sources$, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -417,15 +441,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_cookie": api_shield_cookie_output, - "api-shield_description": api_shield_description_output, - "api-shield_header": api_shield_header_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_title": api_shield_title_output, - "api-shield_token_sources": api_shield_token_sources_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_cookie": api$$shield_cookie, + "api-shield_description": api$$shield_description, + "api-shield_header": api$$shield_header, + "api-shield_messages": api$$shield_messages, + "api-shield_title": api$$shield_title, + "api-shield_token_sources": api$$shield_token_sources, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -482,16 +506,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_cookie": api_shield_cookie_output, - "api-shield_description": api_shield_description_output, - "api-shield_header": api_shield_header_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_title": api_shield_title_output, - "api-shield_token_sources": api_shield_token_sources_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_cookie": api$$shield_cookie, + "api-shield_description": api$$shield_description, + "api-shield_header": api$$shield_header, + "api-shield_messages": api$$shield_messages, + "api-shield_title": api$$shield_title, + "api-shield_token_sources": api$$shield_token_sources, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -500,29 +524,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_configurations_get", + name: "apiSecurity_tokenValidation_configurations_get", title: "Get a token validation configuration", description: "Returns a JWT validation configuration by ID.", inputSchema: { type: "object", properties: { - "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Token Configuration ID" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "config_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Token Configuration ID" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "config_id" + ], + "type": "object" } }, required: [ - "zone_id", - "config_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -543,27 +575,27 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_TokenConfiguration": api_shield_TokenConfiguration_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_cookie": api_shield_cookie_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_description": api_shield_description_output, - "api-shield_header": api_shield_header_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title": api_shield_title_output, - "api-shield_token_sources": api_shield_token_sources_output, - "api-shield_token_type": api_shield_token_type_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_cookie": api$$shield_cookie, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_description": api$$shield_description, + "api-shield_header": api$$shield_header, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title": api$$shield_title, + "api-shield_token_sources": api$$shield_token_sources, + "api-shield_token_type": api$$shield_token_type, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -608,28 +640,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_TokenConfiguration": api_shield_TokenConfiguration_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_cookie": api_shield_cookie_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_description": api_shield_description_output, - "api-shield_header": api_shield_header_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title": api_shield_title_output, - "api-shield_token_sources": api_shield_token_sources_output, - "api-shield_token_type": api_shield_token_type_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_cookie": api$$shield_cookie, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_description": api$$shield_description, + "api-shield_header": api$$shield_header, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title": api$$shield_title, + "api-shield_token_sources": api$$shield_token_sources, + "api-shield_token_type": api$$shield_token_type, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -637,32 +669,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_configurations_list", + name: "apiSecurity_tokenValidation_configurations_list", title: "List token validation configurations", description: "Lists the JWT validation configurations defined for the zone.", inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -686,28 +731,28 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_TokenConfiguration": api_shield_TokenConfiguration_output, - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_cookie": api_shield_cookie_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_description": api_shield_description_output, - "api-shield_header": api_shield_header_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title": api_shield_title_output, - "api-shield_token_sources": api_shield_token_sources_output, - "api-shield_token_type": api_shield_token_type_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_cookie": api$$shield_cookie, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_description": api$$shield_description, + "api-shield_header": api$$shield_header, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title": api$$shield_title, + "api-shield_token_sources": api$$shield_token_sources, + "api-shield_token_type": api$$shield_token_type, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -755,36 +800,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_TokenConfiguration": api_shield_TokenConfiguration_output, - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_cookie": api_shield_cookie_output, - "api-shield_credentials": api_shield_credentials_output, - "api-shield_credentials-JWT-Key-EC-ES256": api_shield_credentials_JWT_Key_EC_ES256_output, - "api-shield_credentials-JWT-Key-EC-ES384": api_shield_credentials_JWT_Key_EC_ES384_output, - "api-shield_credentials-JWT-Key-EC-common": api_shield_credentials_JWT_Key_EC_common_output, - "api-shield_credentials-JWT-Key-RSA": api_shield_credentials_JWT_Key_RSA_output, - "api-shield_credentials-JWT-Key-common": api_shield_credentials_JWT_Key_common_output, - "api-shield_credentials-JWT-Key-oct-response": api_shield_credentials_JWT_Key_oct_response_output, - "api-shield_credentials-JWT-Key-response": api_shield_credentials_JWT_Key_response_output, - "api-shield_description": api_shield_description_output, - "api-shield_header": api_shield_header_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title": api_shield_title_output, - "api-shield_token_sources": api_shield_token_sources_output, - "api-shield_token_type": api_shield_token_type_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_cookie": api$$shield_cookie, + "api-shield_credentials": api$$shield_credentials, + "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, + "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, + "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common, + "api-shield_credentials-JWT-Key-RSA": api$$shield_credentials$$JWT$$Key$$RSA, + "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, + "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, + "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, + "api-shield_description": api$$shield_description, + "api-shield_header": api$$shield_header, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title": api$$shield_title, + "api-shield_token_sources": api$$shield_token_sources, + "api-shield_token_type": api$$shield_token_type, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/config`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts index a504dac12..6eee5659d 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_Rule` in responses. */ -export const api_shield_Rule_output: JsonSchema = { +export const api$$shield_Rule: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/api-shield_action" @@ -50,7 +50,7 @@ export const api_shield_Rule_output: JsonSchema = { /** * The schema of `api-shield_action` in responses. */ -export const api_shield_action_output: JsonSchema = { +export const api$$shield_action: JsonSchema = { "enum": [ "log", "block" @@ -61,7 +61,7 @@ export const api_shield_action_output: JsonSchema = { /** * The schema of `api-shield_api-response-single-obj` in responses. */ -export const api_shield_api_response_single_obj_output: JsonSchema = { +export const api$$shield_api$$response$$single$$obj: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" @@ -80,28 +80,28 @@ export const api_shield_api_response_single_obj_output: JsonSchema = { /** * The schema of `api-shield_description-2` in responses. */ -export const api_shield_description_2_output: JsonSchema = { +export const api$$shield_description$$2: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_enabled` in responses. */ -export const api_shield_enabled_output: JsonSchema = { +export const api$$shield_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `api-shield_expression` in responses. */ -export const api_shield_expression_output: JsonSchema = { +export const api$$shield_expression: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_selector` in responses. */ -export const api_shield_selector_output: JsonSchema = { +export const api$$shield_selector: JsonSchema = { "properties": { "exclude": { "oneOf": [ @@ -136,7 +136,7 @@ export const api_shield_selector_output: JsonSchema = { /** * The schema of `api-shield_selector-exclude` in responses. */ -export const api_shield_selector_exclude_output: JsonSchema = { +export const api$$shield_selector$$exclude: JsonSchema = { "properties": { "operation_ids": { "items": { @@ -151,7 +151,7 @@ export const api_shield_selector_exclude_output: JsonSchema = { /** * The schema of `api-shield_selector-include` in responses. */ -export const api_shield_selector_include_output: JsonSchema = { +export const api$$shield_selector$$include: JsonSchema = { "properties": { "host": { "items": { @@ -166,6 +166,6 @@ export const api_shield_selector_include_output: JsonSchema = { /** * The schema of `api-shield_title-2` in responses. */ -export const api_shield_title_2_output: JsonSchema = { +export const api$$shield_title$$2: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/schemas.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/schemas.ts index 865dcf86b..e92dbfb05 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_action`. */ -export const api_shield_action: JsonSchema = { +export const api$$shield_action: JsonSchema = { "description": "Action to take on requests that match operations included in `selector` and fail `expression`.", "enum": [ "log", @@ -18,7 +18,7 @@ export const api_shield_action: JsonSchema = { /** * The schema of `api-shield_after`. */ -export const api_shield_after: JsonSchema = { +export const api$$shield_after: JsonSchema = { "description": "Move rule to before rule with ID.", "properties": { "after": { @@ -33,7 +33,7 @@ export const api_shield_after: JsonSchema = { /** * The schema of `api-shield_before`. */ -export const api_shield_before: JsonSchema = { +export const api$$shield_before: JsonSchema = { "description": "Move rule to after rule with ID.", "properties": { "before": { @@ -48,7 +48,7 @@ export const api_shield_before: JsonSchema = { /** * The schema of `api-shield_create-single-rule-request`. */ -export const api_shield_create_single_rule_request: JsonSchema = { +export const api$$shield_create$$single$$rule$$request: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/api-shield_action", @@ -89,7 +89,7 @@ export const api_shield_create_single_rule_request: JsonSchema = { /** * The schema of `api-shield_description-2`. */ -export const api_shield_description_2: JsonSchema = { +export const api$$shield_description$$2: JsonSchema = { "description": "A human-readable description that gives more details than `title`.", "type": "string" }; @@ -97,7 +97,7 @@ export const api_shield_description_2: JsonSchema = { /** * The schema of `api-shield_edit-single-rule-request`. */ -export const api_shield_edit_single_rule_request: JsonSchema = { +export const api$$shield_edit$$single$$rule$$request: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_rule-properties" @@ -117,7 +117,7 @@ export const api_shield_edit_single_rule_request: JsonSchema = { /** * The schema of `api-shield_enabled`. */ -export const api_shield_enabled: JsonSchema = { +export const api$$shield_enabled: JsonSchema = { "description": "Toggle rule on or off.", "type": "boolean" }; @@ -125,7 +125,7 @@ export const api_shield_enabled: JsonSchema = { /** * The schema of `api-shield_expression`. */ -export const api_shield_expression: JsonSchema = { +export const api$$shield_expression: JsonSchema = { "description": "Rule expression. Requests that fail to match this expression will be subject to `action`.\n\nFor details on expressions, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).\n", "type": "string" }; @@ -133,7 +133,7 @@ export const api_shield_expression: JsonSchema = { /** * The schema of `api-shield_index`. */ -export const api_shield_index: JsonSchema = { +export const api$$shield_index: JsonSchema = { "properties": { "index": { "description": "Move rule to this position", @@ -149,7 +149,7 @@ export const api_shield_index: JsonSchema = { /** * The schema of `api-shield_position`. */ -export const api_shield_position: JsonSchema = { +export const api$$shield_position: JsonSchema = { "description": "Update rule order among zone rules.", "oneOf": [ { @@ -167,7 +167,7 @@ export const api_shield_position: JsonSchema = { /** * The schema of `api-shield_rule-properties`. */ -export const api_shield_rule_properties: JsonSchema = { +export const api$$shield_rule$$properties: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/api-shield_action", @@ -200,7 +200,7 @@ export const api_shield_rule_properties: JsonSchema = { /** * The schema of `api-shield_selector`. */ -export const api_shield_selector: JsonSchema = { +export const api$$shield_selector: JsonSchema = { "description": "Select operations covered by this rule.\n\nFor details on selectors, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).\n", "properties": { "exclude": { @@ -238,7 +238,7 @@ export const api_shield_selector: JsonSchema = { /** * The schema of `api-shield_selector-exclude`. */ -export const api_shield_selector_exclude: JsonSchema = { +export const api$$shield_selector$$exclude: JsonSchema = { "properties": { "operation_ids": { "description": "Excluded operation IDs.", @@ -254,7 +254,7 @@ export const api_shield_selector_exclude: JsonSchema = { /** * The schema of `api-shield_selector-include`. */ -export const api_shield_selector_include: JsonSchema = { +export const api$$shield_selector$$include: JsonSchema = { "properties": { "host": { "description": "Included hostnames.", @@ -270,7 +270,7 @@ export const api_shield_selector_include: JsonSchema = { /** * The schema of `api-shield_title-2`. */ -export const api_shield_title_2: JsonSchema = { +export const api$$shield_title$$2: JsonSchema = { "description": "A human-readable name for the rule.", "type": "string" }; diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts index f74057270..c944cd4c8 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts @@ -1,62 +1,62 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_host_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, - api_shield_uuid_2_output, - api_shield_uuid_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_host, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../outputs.js"; import { - api_shield_host, - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_host as api$$shield_host$, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid as api$$shield_uuid$, + api$$shield_uuid$$2 as api$$shield_uuid$$2$, } from "../../../schemas.js"; -import { api_shield_api_response_single_output } from "../../outputs.js"; +import { api$$shield_api$$response$$single } from "../../outputs.js"; import { - api_shield_Rule_output, - api_shield_action_output, - api_shield_api_response_single_obj_output, - api_shield_description_2_output, - api_shield_enabled_output, - api_shield_expression_output, - api_shield_selector_exclude_output, - api_shield_selector_include_output, - api_shield_selector_output, - api_shield_title_2_output, + api$$shield_Rule, + api$$shield_action, + api$$shield_api$$response$$single$$obj, + api$$shield_description$$2, + api$$shield_enabled, + api$$shield_expression, + api$$shield_selector, + api$$shield_selector$$exclude, + api$$shield_selector$$include, + api$$shield_title$$2, } from "./outputs.js"; import { - api_shield_action, - api_shield_after, - api_shield_before, - api_shield_create_single_rule_request, - api_shield_description_2, - api_shield_edit_single_rule_request, - api_shield_enabled, - api_shield_expression, - api_shield_index, - api_shield_position, - api_shield_rule_properties, - api_shield_selector, - api_shield_selector_exclude, - api_shield_selector_include, - api_shield_title_2, + api$$shield_action as api$$shield_action$, + api$$shield_after, + api$$shield_before, + api$$shield_create$$single$$rule$$request, + api$$shield_description$$2 as api$$shield_description$$2$, + api$$shield_edit$$single$$rule$$request, + api$$shield_enabled as api$$shield_enabled$, + api$$shield_expression as api$$shield_expression$, + api$$shield_index, + api$$shield_position, + api$$shield_rule$$properties, + api$$shield_selector as api$$shield_selector$, + api$$shield_selector$$exclude as api$$shield_selector$$exclude$, + api$$shield_selector$$include as api$$shield_selector$$include$, + api$$shield_title$$2 as api$$shield_title$$2$, } from "./schemas.js"; /** - * The tools of `api_security.token_validation.rules`. + * The tools of `apiSecurity.tokenValidation.rules`. */ export const tools: readonly Tool[] = [ { - name: "api_security_token_validation_rules_bulk_create", + name: "apiSecurity_tokenValidation_rules_bulkCreate", title: "Create token validation rules", description: "Creates multiple token validation rules for the zone in one request.", inputSchema: { @@ -68,29 +68,37 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_action": api_shield_action, - "api-shield_create-single-rule-request": api_shield_create_single_rule_request, - "api-shield_description-2": api_shield_description_2, - "api-shield_enabled": api_shield_enabled, - "api-shield_expression": api_shield_expression, - "api-shield_host": api_shield_host, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_selector": api_shield_selector, - "api-shield_selector-exclude": api_shield_selector_exclude, - "api-shield_selector-include": api_shield_selector_include, - "api-shield_title-2": api_shield_title_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_action": api$$shield_action$, + "api-shield_create-single-rule-request": api$$shield_create$$single$$rule$$request, + "api-shield_description-2": api$$shield_description$$2$, + "api-shield_enabled": api$$shield_enabled$, + "api-shield_expression": api$$shield_expression$, + "api-shield_host": api$$shield_host$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_selector": api$$shield_selector$, + "api-shield_selector-exclude": api$$shield_selector$$exclude$, + "api-shield_selector-include": api$$shield_selector$$include$, + "api-shield_title-2": api$$shield_title$$2$, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -114,23 +122,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -176,24 +184,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -202,7 +210,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_rules_bulk_edit", + name: "apiSecurity_tokenValidation_rules_bulkEdit", title: "Edit token validation rules", description: "Updates and reorders multiple token validation rules in one request, then returns the updated rules.", inputSchema: { @@ -231,34 +239,42 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_action": api_shield_action, - "api-shield_after": api_shield_after, - "api-shield_before": api_shield_before, - "api-shield_description-2": api_shield_description_2, - "api-shield_edit-single-rule-request": api_shield_edit_single_rule_request, - "api-shield_enabled": api_shield_enabled, - "api-shield_expression": api_shield_expression, - "api-shield_host": api_shield_host, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_index": api_shield_index, - "api-shield_position": api_shield_position, - "api-shield_rule-properties": api_shield_rule_properties, - "api-shield_selector": api_shield_selector, - "api-shield_selector-exclude": api_shield_selector_exclude, - "api-shield_selector-include": api_shield_selector_include, - "api-shield_title-2": api_shield_title_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_action": api$$shield_action$, + "api-shield_after": api$$shield_after, + "api-shield_before": api$$shield_before, + "api-shield_description-2": api$$shield_description$$2$, + "api-shield_edit-single-rule-request": api$$shield_edit$$single$$rule$$request, + "api-shield_enabled": api$$shield_enabled$, + "api-shield_expression": api$$shield_expression$, + "api-shield_host": api$$shield_host$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_index": api$$shield_index, + "api-shield_position": api$$shield_position, + "api-shield_rule-properties": api$$shield_rule$$properties, + "api-shield_selector": api$$shield_selector$, + "api-shield_selector-exclude": api$$shield_selector$$exclude$, + "api-shield_selector-include": api$$shield_selector$$include$, + "api-shield_title-2": api$$shield_title$$2$, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -282,23 +298,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -344,24 +360,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -370,7 +386,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_rules_create", + name: "apiSecurity_tokenValidation_rules_create", title: "Create a token validation rule", description: "Creates a token validation rule for the zone.", inputSchema: { @@ -379,29 +395,37 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_create-single-rule-request" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_action": api_shield_action, - "api-shield_create-single-rule-request": api_shield_create_single_rule_request, - "api-shield_description-2": api_shield_description_2, - "api-shield_enabled": api_shield_enabled, - "api-shield_expression": api_shield_expression, - "api-shield_host": api_shield_host, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_selector": api_shield_selector, - "api-shield_selector-exclude": api_shield_selector_exclude, - "api-shield_selector-include": api_shield_selector_include, - "api-shield_title-2": api_shield_title_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_action": api$$shield_action$, + "api-shield_create-single-rule-request": api$$shield_create$$single$$rule$$request, + "api-shield_description-2": api$$shield_description$$2$, + "api-shield_enabled": api$$shield_enabled$, + "api-shield_expression": api$$shield_expression$, + "api-shield_host": api$$shield_host$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_selector": api$$shield_selector$, + "api-shield_selector-exclude": api$$shield_selector$$exclude$, + "api-shield_selector-include": api$$shield_selector$$include$, + "api-shield_title-2": api$$shield_title$$2$, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -422,22 +446,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -480,23 +504,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -505,37 +529,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_rules_delete", + name: "apiSecurity_tokenValidation_rules_delete", title: "Delete a token validation rule", description: "Deletes a token validation rule from the zone.\n\nConfirm with the user before calling this tool. This operation deletes the token validation rule from the zone.", inputSchema: { type: "object", properties: { - "rule_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Token Validation Rule ID" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Token Validation Rule ID" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "rule_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_api-response-single-obj", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-single-obj": api_shield_api_response_single_obj_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-single-obj": api$$shield_api$$response$$single$$obj, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -563,10 +595,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api-response-single-obj": api_shield_api_response_single_obj_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api-response-single-obj": api$$shield_api$$response$$single$$obj, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ @@ -574,7 +606,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_rules_edit", + name: "apiSecurity_tokenValidation_rules_edit", title: "Edit a token validation rule", description: "Updates only the supplied fields on a token validation rule.", inputSchema: { @@ -583,39 +615,47 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_edit-single-rule-request" }, - "rule_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Token Validation Rule ID" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Token Validation Rule ID" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "rule_id", + "path", "body" ], $defs: { - "api-shield_action": api_shield_action, - "api-shield_after": api_shield_after, - "api-shield_before": api_shield_before, - "api-shield_description-2": api_shield_description_2, - "api-shield_edit-single-rule-request": api_shield_edit_single_rule_request, - "api-shield_enabled": api_shield_enabled, - "api-shield_expression": api_shield_expression, - "api-shield_host": api_shield_host, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_index": api_shield_index, - "api-shield_position": api_shield_position, - "api-shield_rule-properties": api_shield_rule_properties, - "api-shield_selector": api_shield_selector, - "api-shield_selector-exclude": api_shield_selector_exclude, - "api-shield_selector-include": api_shield_selector_include, - "api-shield_title-2": api_shield_title_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_action": api$$shield_action$, + "api-shield_after": api$$shield_after, + "api-shield_before": api$$shield_before, + "api-shield_description-2": api$$shield_description$$2$, + "api-shield_edit-single-rule-request": api$$shield_edit$$single$$rule$$request, + "api-shield_enabled": api$$shield_enabled$, + "api-shield_expression": api$$shield_expression$, + "api-shield_host": api$$shield_host$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_index": api$$shield_index, + "api-shield_position": api$$shield_position, + "api-shield_rule-properties": api$$shield_rule$$properties, + "api-shield_selector": api$$shield_selector$, + "api-shield_selector-exclude": api$$shield_selector$$exclude$, + "api-shield_selector-include": api$$shield_selector$$include$, + "api-shield_title-2": api$$shield_title$$2$, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -636,22 +676,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -694,23 +734,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api-response-single": api_shield_api_response_single_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api-response-single": api$$shield_api$$response$$single, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -719,29 +759,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_rules_get", + name: "apiSecurity_tokenValidation_rules_get", title: "Get a token validation rule", description: "Returns a token validation rule by ID.", inputSchema: { type: "object", properties: { - "rule_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Token Validation Rule ID" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Token Validation Rule ID" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "rule_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -762,22 +810,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -822,23 +870,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -846,68 +894,81 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_token_validation_rules_list", + name: "apiSecurity_tokenValidation_rules_list", title: "List token validation rules", description: "Lists token validation rules for the zone, with filters for configuration, action, state, ID, and host.", inputSchema: { type: "object", properties: { - "action": { - "$ref": "#/$defs/api-shield_action", - "description": "Action to take on requests that match operations included in `selector` and fail `expression`." - }, - "enabled": { - "$ref": "#/$defs/api-shield_enabled", - "description": "Toggle rule on or off." - }, - "host": { - "$ref": "#/$defs/api-shield_host", - "description": "Select rules with this host in `include`." - }, - "hostname": { - "$ref": "#/$defs/api-shield_host", - "description": "Select rules with this host in `include`." - }, - "id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Select rules with these IDs." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" - }, - "rule_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Select rules with these IDs." - }, - "token_configuration": { - "description": "Select rules using any of these token configurations.", - "items": { - "$ref": "#/$defs/api-shield_uuid-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } }, - "type": "array" + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "action": { + "$ref": "#/$defs/api-shield_action", + "description": "Action to take on requests that match operations included in `selector` and fail `expression`." + }, + "enabled": { + "$ref": "#/$defs/api-shield_enabled", + "description": "Toggle rule on or off." + }, + "host": { + "$ref": "#/$defs/api-shield_host", + "description": "Select rules with this host in `include`." + }, + "hostname": { + "$ref": "#/$defs/api-shield_host", + "description": "Select rules with this host in `include`." + }, + "id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Select rules with these IDs." + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" + }, + "rule_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Select rules with these IDs." + }, + "token_configuration": { + "description": "Select rules using any of these token configurations.", + "items": { + "$ref": "#/$defs/api-shield_uuid-2" + }, + "type": "array" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_action": api_shield_action, - "api-shield_enabled": api_shield_enabled, - "api-shield_host": api_shield_host, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_action": api$$shield_action$, + "api-shield_enabled": api$$shield_enabled$, + "api-shield_host": api$$shield_host$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -931,23 +992,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -995,38 +1056,38 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_Rule": api_shield_Rule_output, - "api-shield_action": api_shield_action_output, - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_description-2": api_shield_description_2_output, - "api-shield_enabled": api_shield_enabled_output, - "api-shield_expression": api_shield_expression_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_selector": api_shield_selector_output, - "api-shield_selector-exclude": api_shield_selector_exclude_output, - "api-shield_selector-include": api_shield_selector_include_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_title-2": api_shield_title_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_Rule": api$$shield_Rule, + "api-shield_action": api$$shield_action, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_description-2": api$$shield_description$$2, + "api-shield_enabled": api$$shield_enabled, + "api-shield_expression": api$$shield_expression, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_selector": api$$shield_selector, + "api-shield_selector-exclude": api$$shield_selector$$exclude, + "api-shield_selector-include": api$$shield_selector$$include, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_title-2": api$$shield_title$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/token_validation/rules`, query: [ - ["per_page", args["per_page"], true], - ["page", args["page"], true], - ["token_configuration", args["token_configuration"], true], - ["action", args["action"], true], - ["enabled", args["enabled"], true], - ["id", args["id"], true], - ["rule_id", args["rule_id"], true], - ["host", args["host"], true], - ["hostname", args["hostname"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], + ["token_configuration", param(args, "query", "token_configuration"), true], + ["action", param(args, "query", "action"), true], + ["enabled", param(args, "query", "enabled"), true], + ["id", param(args, "query", "id"), true], + ["rule_id", param(args, "query", "rule_id"), true], + ["host", param(args, "query", "host"), true], + ["hostname", param(args, "query", "hostname"), true], ], }), }, diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts index cab69944e..8407757ac 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `vuln_scanner_credential` in responses. */ -export const vuln_scanner_credential_output: JsonSchema = { +export const vuln_scanner_credential: JsonSchema = { "properties": { "credential_set_id": { "format": "uuid", @@ -39,7 +39,7 @@ export const vuln_scanner_credential_output: JsonSchema = { /** * The schema of `vuln_scanner_credential-location` in responses. */ -export const vuln_scanner_credential_location_output: JsonSchema = { +export const vuln_scanner_credential$$location: JsonSchema = { "enum": [ "header", "cookie" diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/schemas.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/schemas.ts index a186084ae..a9168c7ef 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `vuln_scanner_create-credential-request`. */ -export const vuln_scanner_create_credential_request: JsonSchema = { +export const vuln_scanner_create$$credential$$request: JsonSchema = { "properties": { "location": { "$ref": "#/$defs/vuln_scanner_credential-location", @@ -37,7 +37,7 @@ export const vuln_scanner_create_credential_request: JsonSchema = { /** * The schema of `vuln_scanner_credential-location`. */ -export const vuln_scanner_credential_location: JsonSchema = { +export const vuln_scanner_credential$$location: JsonSchema = { "description": "Where the credential is attached in outgoing requests.", "enum": [ "header", @@ -49,7 +49,7 @@ export const vuln_scanner_credential_location: JsonSchema = { /** * The schema of `vuln_scanner_patch-credential-request`. */ -export const vuln_scanner_patch_credential_request: JsonSchema = { +export const vuln_scanner_patch$$credential$$request: JsonSchema = { "description": "Applies a partial update. Only the provided fields change; omitted fields remain unchanged.", "properties": { "location": { @@ -75,7 +75,7 @@ export const vuln_scanner_patch_credential_request: JsonSchema = { /** * The schema of `vuln_scanner_update-credential-request`. */ -export const vuln_scanner_update_credential_request: JsonSchema = { +export const vuln_scanner_update$$credential$$request: JsonSchema = { "description": "Full replacement. Provide all fields.", "properties": { "location": { diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts index 604dcae24..f9a4ca693 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts @@ -1,59 +1,66 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - vuln_scanner_api_response_collection_output, - vuln_scanner_api_response_common_failure_output, - vuln_scanner_api_response_common_output, - vuln_scanner_empty_response_output, - vuln_scanner_messages_output, + vuln_scanner_api$$response$$collection, + vuln_scanner_api$$response$$common, + vuln_scanner_api$$response$$common$$failure, + vuln_scanner_empty$$response, + vuln_scanner_messages, } from "../../outputs.js"; import { vuln_scanner_identifier } from "../../schemas.js"; import { - vuln_scanner_credential_location_output, - vuln_scanner_credential_output, + vuln_scanner_credential, + vuln_scanner_credential$$location, } from "./outputs.js"; import { - vuln_scanner_create_credential_request, - vuln_scanner_credential_location, - vuln_scanner_patch_credential_request, - vuln_scanner_update_credential_request, + vuln_scanner_create$$credential$$request, + vuln_scanner_credential$$location as vuln_scanner_credential$$location$, + vuln_scanner_patch$$credential$$request, + vuln_scanner_update$$credential$$request, } from "./schemas.js"; /** - * The tools of - * `api_security.vulnerability_scanner.credential_sets.credentials`. + * The tools of `apiSecurity.vulnerabilityScanner.credentialSets.credentials`. */ export const tools: readonly Tool[] = [ { - name: "api_security_vulnerability_scanner_credential_sets_credentials_create", + name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_create", title: "Create credential", description: "Creates a new credential within a credential set.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_create-credential-request" }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_set_id", + "path", "body" ], $defs: { - "vuln_scanner_create-credential-request": vuln_scanner_create_credential_request, - "vuln_scanner_credential-location": vuln_scanner_credential_location, + "vuln_scanner_create-credential-request": vuln_scanner_create$$credential$$request, + "vuln_scanner_credential-location": vuln_scanner_credential$$location$, "vuln_scanner_identifier": vuln_scanner_identifier, }, }, @@ -82,10 +89,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -129,11 +136,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -142,31 +149,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_credential_sets_credentials_delete", + name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_delete", title: "Delete credential", description: "Deletes a credential.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the credential from the credential set.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "credential_id": { - "description": "Credential identifier.", - "format": "uuid", - "type": "string" - }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_id": { + "description": "Credential identifier.", + "format": "uuid", + "type": "string" + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id", + "credential_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_set_id", - "credential_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -175,9 +190,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/vuln_scanner_empty-response", $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_empty-response": vuln_scanner_empty_response_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_empty-response": vuln_scanner_empty$$response, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -199,10 +214,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_empty-response": vuln_scanner_empty_response_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_empty-response": vuln_scanner_empty$$response, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -210,40 +225,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_credential_sets_credentials_edit", + name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_edit", title: "Edit credential", description: "Updates a credential with only the provided fields; omitted fields remain unchanged.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_patch-credential-request" }, - "credential_id": { - "description": "Credential identifier.", - "format": "uuid", - "type": "string" - }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_id": { + "description": "Credential identifier.", + "format": "uuid", + "type": "string" + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id", + "credential_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_set_id", - "credential_id", + "path", "body" ], $defs: { - "vuln_scanner_credential-location": vuln_scanner_credential_location, + "vuln_scanner_credential-location": vuln_scanner_credential$$location$, "vuln_scanner_identifier": vuln_scanner_identifier, - "vuln_scanner_patch-credential-request": vuln_scanner_patch_credential_request, + "vuln_scanner_patch-credential-request": vuln_scanner_patch$$credential$$request, }, }, outputSchema: { @@ -271,10 +294,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -318,11 +341,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -331,31 +354,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_credential_sets_credentials_get", + name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_get", title: "Get credential", description: "Returns a single credential by ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "credential_id": { - "description": "Credential identifier.", - "format": "uuid", - "type": "string" - }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_id": { + "description": "Credential identifier.", + "format": "uuid", + "type": "string" + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id", + "credential_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_set_id", - "credential_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -386,10 +417,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -433,11 +464,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -445,35 +476,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_credential_sets_credentials_list", + name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_list", title: "List credentials", description: "Returns all credentials within a credential set.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "credential_set_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -497,11 +541,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-collection": vuln_scanner_api_response_collection_output, - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-collection": vuln_scanner_api$$response$$collection, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -538,57 +582,65 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-collection": vuln_scanner_api_response_collection_output, - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-collection": vuln_scanner_api$$response$$collection, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets/${pathParam(args, "credential_set_id")}/credentials`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "api_security_vulnerability_scanner_credential_sets_credentials_update", + name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_update", title: "Update credential", description: "Replaces a credential. All fields must be provided.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_update-credential-request" }, - "credential_id": { - "description": "Credential identifier.", - "format": "uuid", - "type": "string" - }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_id": { + "description": "Credential identifier.", + "format": "uuid", + "type": "string" + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id", + "credential_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_set_id", - "credential_id", + "path", "body" ], $defs: { - "vuln_scanner_credential-location": vuln_scanner_credential_location, + "vuln_scanner_credential-location": vuln_scanner_credential$$location$, "vuln_scanner_identifier": vuln_scanner_identifier, - "vuln_scanner_update-credential-request": vuln_scanner_update_credential_request, + "vuln_scanner_update-credential-request": vuln_scanner_update$$credential$$request, }, }, outputSchema: { @@ -616,10 +668,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -663,11 +715,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential": vuln_scanner_credential_output, - "vuln_scanner_credential-location": vuln_scanner_credential_location_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential": vuln_scanner_credential, + "vuln_scanner_credential-location": vuln_scanner_credential$$location, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/outputs.ts index 966d38ca1..96c8174ef 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `vuln_scanner_credential-set` in responses. */ -export const vuln_scanner_credential_set_output: JsonSchema = { +export const vuln_scanner_credential$$set: JsonSchema = { "properties": { "id": { "format": "uuid", diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/schemas.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/schemas.ts index b7665fe62..b54a11526 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `vuln_scanner_create-credential-set-request`. */ -export const vuln_scanner_create_credential_set_request: JsonSchema = { +export const vuln_scanner_create$$credential$$set$$request: JsonSchema = { "properties": { "name": { "description": "Human-readable name.", @@ -22,7 +22,7 @@ export const vuln_scanner_create_credential_set_request: JsonSchema = { /** * The schema of `vuln_scanner_patch-credential-set-request`. */ -export const vuln_scanner_patch_credential_set_request: JsonSchema = { +export const vuln_scanner_patch$$credential$$set$$request: JsonSchema = { "description": "Applies a partial update. Only the provided fields change; omitted fields remain unchanged.", "properties": { "name": { @@ -36,7 +36,7 @@ export const vuln_scanner_patch_credential_set_request: JsonSchema = { /** * The schema of `vuln_scanner_update-credential-set-request`. */ -export const vuln_scanner_update_credential_set_request: JsonSchema = { +export const vuln_scanner_update$$credential$$set$$request: JsonSchema = { "description": "Full replacement. Provide all fields.", "properties": { "name": { diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts index b092b9110..7641d1d1a 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts @@ -1,47 +1,55 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - vuln_scanner_api_response_collection_output, - vuln_scanner_api_response_common_failure_output, - vuln_scanner_api_response_common_output, - vuln_scanner_empty_response_output, - vuln_scanner_messages_output, + vuln_scanner_api$$response$$collection, + vuln_scanner_api$$response$$common, + vuln_scanner_api$$response$$common$$failure, + vuln_scanner_empty$$response, + vuln_scanner_messages, } from "../outputs.js"; import { vuln_scanner_identifier } from "../schemas.js"; -import { vuln_scanner_credential_set_output } from "./outputs.js"; +import { vuln_scanner_credential$$set } from "./outputs.js"; import { - vuln_scanner_create_credential_set_request, - vuln_scanner_patch_credential_set_request, - vuln_scanner_update_credential_set_request, + vuln_scanner_create$$credential$$set$$request, + vuln_scanner_patch$$credential$$set$$request, + vuln_scanner_update$$credential$$set$$request, } from "./schemas.js"; /** - * The tools of `api_security.vulnerability_scanner.credential_sets`. + * The tools of `apiSecurity.vulnerabilityScanner.credentialSets`. */ export const tools: readonly Tool[] = [ { - name: "api_security_vulnerability_scanner_credential_sets_create", + name: "apiSecurity_vulnerabilityScanner_credentialSets_create", title: "Create credential set", description: "Creates a new credential set.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_create-credential-set-request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "vuln_scanner_create-credential-set-request": vuln_scanner_create_credential_set_request, + "vuln_scanner_create-credential-set-request": vuln_scanner_create$$credential$$set$$request, "vuln_scanner_identifier": vuln_scanner_identifier, }, }, @@ -70,9 +78,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -116,10 +124,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -128,25 +136,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_credential_sets_delete", + name: "apiSecurity_vulnerabilityScanner_credentialSets_delete", title: "Delete credential set", description: "Deletes a credential set and all of its credentials.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the credential set and every credential it contains.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_set_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -155,9 +171,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/vuln_scanner_empty-response", $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_empty-response": vuln_scanner_empty_response_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_empty-response": vuln_scanner_empty$$response, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -179,10 +195,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_empty-response": vuln_scanner_empty_response_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_empty-response": vuln_scanner_empty$$response, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -190,33 +206,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_credential_sets_edit", + name: "apiSecurity_vulnerabilityScanner_credentialSets_edit", title: "Edit credential set", description: "Updates a credential set with only the provided fields; omitted fields remain unchanged.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_patch-credential-set-request" }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_set_id", + "path", "body" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, - "vuln_scanner_patch-credential-set-request": vuln_scanner_patch_credential_set_request, + "vuln_scanner_patch-credential-set-request": vuln_scanner_patch$$credential$$set$$request, }, }, outputSchema: { @@ -244,9 +268,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -290,10 +314,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -302,25 +326,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_credential_sets_get", + name: "apiSecurity_vulnerabilityScanner_credentialSets_get", title: "Get credential set", description: "Returns a single credential set by ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_set_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -351,9 +383,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -397,10 +429,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -408,29 +440,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_credential_sets_list", + name: "apiSecurity_vulnerabilityScanner_credentialSets_list", title: "List credential sets", description: "Returns all credential sets for the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -454,10 +499,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-collection": vuln_scanner_api_response_collection_output, - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-collection": vuln_scanner_api$$response$$collection, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -494,49 +539,57 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-collection": vuln_scanner_api_response_collection_output, - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-collection": vuln_scanner_api$$response$$collection, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/credential_sets`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "api_security_vulnerability_scanner_credential_sets_update", + name: "apiSecurity_vulnerabilityScanner_credentialSets_update", title: "Update credential set", description: "Replaces a credential set. All fields must be provided.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_update-credential-set-request" }, - "credential_set_id": { - "description": "Credential set identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "credential_set_id": { + "description": "Credential set identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_set_id", + "path", "body" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, - "vuln_scanner_update-credential-set-request": vuln_scanner_update_credential_set_request, + "vuln_scanner_update-credential-set-request": vuln_scanner_update$$credential$$set$$request, }, }, outputSchema: { @@ -564,9 +617,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -610,10 +663,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_credential-set": vuln_scanner_credential_set_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_credential-set": vuln_scanner_credential$$set, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/outputs.ts index 6323d7a53..6a38e7dc9 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `vuln_scanner_api-response-collection` in responses. */ -export const vuln_scanner_api_response_collection_output: JsonSchema = { +export const vuln_scanner_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/vuln_scanner_api-response-common" @@ -42,7 +42,7 @@ export const vuln_scanner_api_response_collection_output: JsonSchema = { /** * The schema of `vuln_scanner_api-response-common` in responses. */ -export const vuln_scanner_api_response_common_output: JsonSchema = { +export const vuln_scanner_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/vuln_scanner_messages" @@ -68,7 +68,7 @@ export const vuln_scanner_api_response_common_output: JsonSchema = { /** * The schema of `vuln_scanner_api-response-common-failure` in responses. */ -export const vuln_scanner_api_response_common_failure_output: JsonSchema = { +export const vuln_scanner_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/vuln_scanner_messages" @@ -98,7 +98,7 @@ export const vuln_scanner_api_response_common_failure_output: JsonSchema = { /** * The schema of `vuln_scanner_empty-response` in responses. */ -export const vuln_scanner_empty_response_output: JsonSchema = { +export const vuln_scanner_empty$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/vuln_scanner_api-response-common" @@ -134,7 +134,7 @@ export const vuln_scanner_empty_response_output: JsonSchema = { /** * The schema of `vuln_scanner_messages` in responses. */ -export const vuln_scanner_messages_output: JsonSchema = { +export const vuln_scanner_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts index a80b0239d..87a0d4b2c 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `vuln_scanner_bola-assertion-kind` in responses. */ -export const vuln_scanner_bola_assertion_kind_output: JsonSchema = { +export const vuln_scanner_bola$$assertion$$kind: JsonSchema = { "properties": { "parameters": { "$ref": "#/$defs/vuln_scanner_bola-http-status-range" @@ -28,7 +28,7 @@ export const vuln_scanner_bola_assertion_kind_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-body-response` in responses. */ -export const vuln_scanner_bola_body_response_output: JsonSchema = { +export const vuln_scanner_bola$$body$$response: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/vuln_scanner_bola-body-response-not-found" @@ -48,7 +48,7 @@ export const vuln_scanner_bola_body_response_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-body-response-bytes` in responses. */ -export const vuln_scanner_bola_body_response_bytes_output: JsonSchema = { +export const vuln_scanner_bola$$body$$response$$bytes: JsonSchema = { "properties": { "contents": { "type": "string" @@ -74,7 +74,7 @@ export const vuln_scanner_bola_body_response_bytes_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-body-response-json` in responses. */ -export const vuln_scanner_bola_body_response_json_output: JsonSchema = { +export const vuln_scanner_bola$$body$$response$$json: JsonSchema = { "properties": { "contents": { "type": "string" @@ -100,7 +100,7 @@ export const vuln_scanner_bola_body_response_json_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-body-response-not-found` in responses. */ -export const vuln_scanner_bola_body_response_not_found_output: JsonSchema = { +export const vuln_scanner_bola$$body$$response$$not$$found: JsonSchema = { "properties": { "kind": { "enum": [ @@ -118,7 +118,7 @@ export const vuln_scanner_bola_body_response_not_found_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-body-response-text` in responses. */ -export const vuln_scanner_bola_body_response_text_output: JsonSchema = { +export const vuln_scanner_bola$$body$$response$$text: JsonSchema = { "properties": { "contents": { "type": "string" @@ -144,7 +144,7 @@ export const vuln_scanner_bola_body_response_text_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-credential-role` in responses. */ -export const vuln_scanner_bola_credential_role_output: JsonSchema = { +export const vuln_scanner_bola$$credential$$role: JsonSchema = { "enum": [ "owner", "attacker" @@ -155,7 +155,7 @@ export const vuln_scanner_bola_credential_role_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-http-status-range` in responses. */ -export const vuln_scanner_bola_http_status_range_output: JsonSchema = { +export const vuln_scanner_bola$$http$$status$$range: JsonSchema = { "properties": { "max": { "type": "integer" @@ -174,7 +174,7 @@ export const vuln_scanner_bola_http_status_range_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-method` in responses. */ -export const vuln_scanner_bola_method_output: JsonSchema = { +export const vuln_scanner_bola$$method: JsonSchema = { "enum": [ "GET", "DELETE", @@ -188,7 +188,7 @@ export const vuln_scanner_bola_method_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-outcome` in responses. */ -export const vuln_scanner_bola_outcome_output: JsonSchema = { +export const vuln_scanner_bola$$outcome: JsonSchema = { "enum": [ "ok", "fail", @@ -200,7 +200,7 @@ export const vuln_scanner_bola_outcome_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-report` in responses. */ -export const vuln_scanner_bola_report_output: JsonSchema = { +export const vuln_scanner_bola$$report: JsonSchema = { "properties": { "report": { "$ref": "#/$defs/vuln_scanner_bola-report-v1" @@ -222,7 +222,7 @@ export const vuln_scanner_bola_report_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-report-summary` in responses. */ -export const vuln_scanner_bola_report_summary_output: JsonSchema = { +export const vuln_scanner_bola$$report$$summary: JsonSchema = { "properties": { "verdict": { "$ref": "#/$defs/vuln_scanner_bola-verdict" @@ -237,7 +237,7 @@ export const vuln_scanner_bola_report_summary_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-report-v1` in responses. */ -export const vuln_scanner_bola_report_v1_output: JsonSchema = { +export const vuln_scanner_bola$$report$$v1: JsonSchema = { "properties": { "summary": { "$ref": "#/$defs/vuln_scanner_bola-report-summary" @@ -259,7 +259,7 @@ export const vuln_scanner_bola_report_v1_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-test` in responses. */ -export const vuln_scanner_bola_test_output: JsonSchema = { +export const vuln_scanner_bola$$test: JsonSchema = { "properties": { "preflight_errors": { "items": { @@ -287,7 +287,7 @@ export const vuln_scanner_bola_test_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-test-assertion` in responses. */ -export const vuln_scanner_bola_test_assertion_output: JsonSchema = { +export const vuln_scanner_bola$$test$$assertion: JsonSchema = { "properties": { "description": { "type": "string" @@ -321,7 +321,7 @@ export const vuln_scanner_bola_test_assertion_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-test-credential-set` in responses. */ -export const vuln_scanner_bola_test_credential_set_output: JsonSchema = { +export const vuln_scanner_bola$$test$$credential$$set: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -341,7 +341,7 @@ export const vuln_scanner_bola_test_credential_set_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-test-error` in responses. */ -export const vuln_scanner_bola_test_error_output: JsonSchema = { +export const vuln_scanner_bola$$test$$error: JsonSchema = { "properties": { "description": { "type": "string" @@ -366,7 +366,7 @@ export const vuln_scanner_bola_test_error_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-test-request` in responses. */ -export const vuln_scanner_bola_test_request_output: JsonSchema = { +export const vuln_scanner_bola$$test$$request: JsonSchema = { "properties": { "body": { "oneOf": [ @@ -413,7 +413,7 @@ export const vuln_scanner_bola_test_request_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-test-response` in responses. */ -export const vuln_scanner_bola_test_response_output: JsonSchema = { +export const vuln_scanner_bola$$test$$response: JsonSchema = { "properties": { "body": { "$ref": "#/$defs/vuln_scanner_bola-body-response" @@ -449,7 +449,7 @@ export const vuln_scanner_bola_test_response_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-test-step` in responses. */ -export const vuln_scanner_bola_test_step_output: JsonSchema = { +export const vuln_scanner_bola$$test$$step: JsonSchema = { "properties": { "assertions": { "items": { @@ -493,7 +493,7 @@ export const vuln_scanner_bola_test_step_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-variable-capture` in responses. */ -export const vuln_scanner_bola_variable_capture_output: JsonSchema = { +export const vuln_scanner_bola$$variable$$capture: JsonSchema = { "properties": { "json_path": { "type": "string" @@ -512,7 +512,7 @@ export const vuln_scanner_bola_variable_capture_output: JsonSchema = { /** * The schema of `vuln_scanner_bola-verdict` in responses. */ -export const vuln_scanner_bola_verdict_output: JsonSchema = { +export const vuln_scanner_bola$$verdict: JsonSchema = { "enum": [ "ok", "warning", @@ -524,7 +524,7 @@ export const vuln_scanner_bola_verdict_output: JsonSchema = { /** * The schema of `vuln_scanner_delete-scan-response` in responses. */ -export const vuln_scanner_delete_scan_response_output: JsonSchema = { +export const vuln_scanner_delete$$scan$$response: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -540,7 +540,7 @@ export const vuln_scanner_delete_scan_response_output: JsonSchema = { /** * The schema of `vuln_scanner_scan` in responses. */ -export const vuln_scanner_scan_output: JsonSchema = { +export const vuln_scanner_scan: JsonSchema = { "properties": { "id": { "format": "uuid", diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/schemas.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/schemas.ts index 9237205c3..830934e71 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `vuln_scanner_bola-credential-sets`. */ -export const vuln_scanner_bola_credential_sets: JsonSchema = { +export const vuln_scanner_bola$$credential$$sets: JsonSchema = { "description": "Credential set references for a BOLA scan. The scanner uses the\n`owner` credentials for legitimate requests and the `attacker`\ncredentials to attempt unauthorized access.\n", "properties": { "attacker": { @@ -30,7 +30,7 @@ export const vuln_scanner_bola_credential_sets: JsonSchema = { /** * The schema of `vuln_scanner_create-bola-scan-request`. */ -export const vuln_scanner_create_bola_scan_request: JsonSchema = { +export const vuln_scanner_create$$bola$$scan$$request: JsonSchema = { "properties": { "credential_sets": { "$ref": "#/$defs/vuln_scanner_bola-credential-sets", @@ -64,7 +64,7 @@ export const vuln_scanner_create_bola_scan_request: JsonSchema = { /** * The schema of `vuln_scanner_create-scan-request`. */ -export const vuln_scanner_create_scan_request: JsonSchema = { +export const vuln_scanner_create$$scan$$request: JsonSchema = { "$ref": "#/$defs/vuln_scanner_create-bola-scan-request", "description": "Create a new vulnerability scan. The `scan_type` discriminator\nselects the scan variant and its required context fields.\n" }; diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts index 9a573d41f..48fee6e20 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts @@ -1,73 +1,81 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - vuln_scanner_api_response_collection_output, - vuln_scanner_api_response_common_failure_output, - vuln_scanner_api_response_common_output, - vuln_scanner_messages_output, + vuln_scanner_api$$response$$collection, + vuln_scanner_api$$response$$common, + vuln_scanner_api$$response$$common$$failure, + vuln_scanner_messages, } from "../outputs.js"; import { vuln_scanner_identifier } from "../schemas.js"; import { - vuln_scanner_bola_assertion_kind_output, - vuln_scanner_bola_body_response_bytes_output, - vuln_scanner_bola_body_response_json_output, - vuln_scanner_bola_body_response_not_found_output, - vuln_scanner_bola_body_response_output, - vuln_scanner_bola_body_response_text_output, - vuln_scanner_bola_credential_role_output, - vuln_scanner_bola_http_status_range_output, - vuln_scanner_bola_method_output, - vuln_scanner_bola_outcome_output, - vuln_scanner_bola_report_output, - vuln_scanner_bola_report_summary_output, - vuln_scanner_bola_report_v1_output, - vuln_scanner_bola_test_assertion_output, - vuln_scanner_bola_test_credential_set_output, - vuln_scanner_bola_test_error_output, - vuln_scanner_bola_test_output, - vuln_scanner_bola_test_request_output, - vuln_scanner_bola_test_response_output, - vuln_scanner_bola_test_step_output, - vuln_scanner_bola_variable_capture_output, - vuln_scanner_bola_verdict_output, - vuln_scanner_delete_scan_response_output, - vuln_scanner_scan_output, + vuln_scanner_bola$$assertion$$kind, + vuln_scanner_bola$$body$$response, + vuln_scanner_bola$$body$$response$$bytes, + vuln_scanner_bola$$body$$response$$json, + vuln_scanner_bola$$body$$response$$not$$found, + vuln_scanner_bola$$body$$response$$text, + vuln_scanner_bola$$credential$$role, + vuln_scanner_bola$$http$$status$$range, + vuln_scanner_bola$$method, + vuln_scanner_bola$$outcome, + vuln_scanner_bola$$report, + vuln_scanner_bola$$report$$summary, + vuln_scanner_bola$$report$$v1, + vuln_scanner_bola$$test, + vuln_scanner_bola$$test$$assertion, + vuln_scanner_bola$$test$$credential$$set, + vuln_scanner_bola$$test$$error, + vuln_scanner_bola$$test$$request, + vuln_scanner_bola$$test$$response, + vuln_scanner_bola$$test$$step, + vuln_scanner_bola$$variable$$capture, + vuln_scanner_bola$$verdict, + vuln_scanner_delete$$scan$$response, + vuln_scanner_scan, } from "./outputs.js"; import { - vuln_scanner_bola_credential_sets, - vuln_scanner_create_bola_scan_request, - vuln_scanner_create_scan_request, + vuln_scanner_bola$$credential$$sets, + vuln_scanner_create$$bola$$scan$$request, + vuln_scanner_create$$scan$$request, } from "./schemas.js"; /** - * The tools of `api_security.vulnerability_scanner.scans`. + * The tools of `apiSecurity.vulnerabilityScanner.scans`. */ export const tools: readonly Tool[] = [ { - name: "api_security_vulnerability_scanner_scans_create", + name: "apiSecurity_vulnerabilityScanner_scans_create", title: "Create scan", description: "Creates and starts a new vulnerability scan. The response may include non-fatal warnings in the `messages` array.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_create-scan-request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "vuln_scanner_bola-credential-sets": vuln_scanner_bola_credential_sets, - "vuln_scanner_create-bola-scan-request": vuln_scanner_create_bola_scan_request, - "vuln_scanner_create-scan-request": vuln_scanner_create_scan_request, + "vuln_scanner_bola-credential-sets": vuln_scanner_bola$$credential$$sets, + "vuln_scanner_create-bola-scan-request": vuln_scanner_create$$bola$$scan$$request, + "vuln_scanner_create-scan-request": vuln_scanner_create$$scan$$request, "vuln_scanner_identifier": vuln_scanner_identifier, }, }, @@ -96,31 +104,31 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_bola-assertion-kind": vuln_scanner_bola_assertion_kind_output, - "vuln_scanner_bola-body-response": vuln_scanner_bola_body_response_output, - "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola_body_response_bytes_output, - "vuln_scanner_bola-body-response-json": vuln_scanner_bola_body_response_json_output, - "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola_body_response_not_found_output, - "vuln_scanner_bola-body-response-text": vuln_scanner_bola_body_response_text_output, - "vuln_scanner_bola-credential-role": vuln_scanner_bola_credential_role_output, - "vuln_scanner_bola-http-status-range": vuln_scanner_bola_http_status_range_output, - "vuln_scanner_bola-method": vuln_scanner_bola_method_output, - "vuln_scanner_bola-outcome": vuln_scanner_bola_outcome_output, - "vuln_scanner_bola-report": vuln_scanner_bola_report_output, - "vuln_scanner_bola-report-summary": vuln_scanner_bola_report_summary_output, - "vuln_scanner_bola-report-v1": vuln_scanner_bola_report_v1_output, - "vuln_scanner_bola-test": vuln_scanner_bola_test_output, - "vuln_scanner_bola-test-assertion": vuln_scanner_bola_test_assertion_output, - "vuln_scanner_bola-test-credential-set": vuln_scanner_bola_test_credential_set_output, - "vuln_scanner_bola-test-error": vuln_scanner_bola_test_error_output, - "vuln_scanner_bola-test-request": vuln_scanner_bola_test_request_output, - "vuln_scanner_bola-test-response": vuln_scanner_bola_test_response_output, - "vuln_scanner_bola-test-step": vuln_scanner_bola_test_step_output, - "vuln_scanner_bola-variable-capture": vuln_scanner_bola_variable_capture_output, - "vuln_scanner_bola-verdict": vuln_scanner_bola_verdict_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_scan": vuln_scanner_scan_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_bola-assertion-kind": vuln_scanner_bola$$assertion$$kind, + "vuln_scanner_bola-body-response": vuln_scanner_bola$$body$$response, + "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola$$body$$response$$bytes, + "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, + "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, + "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, + "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, + "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, + "vuln_scanner_bola-method": vuln_scanner_bola$$method, + "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, + "vuln_scanner_bola-report": vuln_scanner_bola$$report, + "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, + "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, + "vuln_scanner_bola-test": vuln_scanner_bola$$test, + "vuln_scanner_bola-test-assertion": vuln_scanner_bola$$test$$assertion, + "vuln_scanner_bola-test-credential-set": vuln_scanner_bola$$test$$credential$$set, + "vuln_scanner_bola-test-error": vuln_scanner_bola$$test$$error, + "vuln_scanner_bola-test-request": vuln_scanner_bola$$test$$request, + "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, + "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, + "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, + "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_scan": vuln_scanner_scan, }, }, annotations: { @@ -164,32 +172,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_bola-assertion-kind": vuln_scanner_bola_assertion_kind_output, - "vuln_scanner_bola-body-response": vuln_scanner_bola_body_response_output, - "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola_body_response_bytes_output, - "vuln_scanner_bola-body-response-json": vuln_scanner_bola_body_response_json_output, - "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola_body_response_not_found_output, - "vuln_scanner_bola-body-response-text": vuln_scanner_bola_body_response_text_output, - "vuln_scanner_bola-credential-role": vuln_scanner_bola_credential_role_output, - "vuln_scanner_bola-http-status-range": vuln_scanner_bola_http_status_range_output, - "vuln_scanner_bola-method": vuln_scanner_bola_method_output, - "vuln_scanner_bola-outcome": vuln_scanner_bola_outcome_output, - "vuln_scanner_bola-report": vuln_scanner_bola_report_output, - "vuln_scanner_bola-report-summary": vuln_scanner_bola_report_summary_output, - "vuln_scanner_bola-report-v1": vuln_scanner_bola_report_v1_output, - "vuln_scanner_bola-test": vuln_scanner_bola_test_output, - "vuln_scanner_bola-test-assertion": vuln_scanner_bola_test_assertion_output, - "vuln_scanner_bola-test-credential-set": vuln_scanner_bola_test_credential_set_output, - "vuln_scanner_bola-test-error": vuln_scanner_bola_test_error_output, - "vuln_scanner_bola-test-request": vuln_scanner_bola_test_request_output, - "vuln_scanner_bola-test-response": vuln_scanner_bola_test_response_output, - "vuln_scanner_bola-test-step": vuln_scanner_bola_test_step_output, - "vuln_scanner_bola-variable-capture": vuln_scanner_bola_variable_capture_output, - "vuln_scanner_bola-verdict": vuln_scanner_bola_verdict_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_scan": vuln_scanner_scan_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_bola-assertion-kind": vuln_scanner_bola$$assertion$$kind, + "vuln_scanner_bola-body-response": vuln_scanner_bola$$body$$response, + "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola$$body$$response$$bytes, + "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, + "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, + "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, + "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, + "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, + "vuln_scanner_bola-method": vuln_scanner_bola$$method, + "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, + "vuln_scanner_bola-report": vuln_scanner_bola$$report, + "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, + "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, + "vuln_scanner_bola-test": vuln_scanner_bola$$test, + "vuln_scanner_bola-test-assertion": vuln_scanner_bola$$test$$assertion, + "vuln_scanner_bola-test-credential-set": vuln_scanner_bola$$test$$credential$$set, + "vuln_scanner_bola-test-error": vuln_scanner_bola$$test$$error, + "vuln_scanner_bola-test-request": vuln_scanner_bola$$test$$request, + "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, + "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, + "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, + "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_scan": vuln_scanner_scan, }, }, request: (args) => ({ @@ -198,25 +206,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_scans_delete", + name: "apiSecurity_vulnerabilityScanner_scans_delete", title: "Delete scan", description: "Deletes a scan and all associated data. Only scans in a terminal state (`finished`, `failed`) may be deleted. Attempting to delete a scan that is still being created or executed (`created`, `scheduled`, `planning`, `running`) returns `400`.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the completed or failed scan and all associated scan data.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "scan_id": { - "description": "Scan identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "scan_id": { + "description": "Scan identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "scan_id" + ], + "type": "object" } }, required: [ - "account_id", - "scan_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -247,9 +263,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_delete-scan-response": vuln_scanner_delete_scan_response_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_delete-scan-response": vuln_scanner_delete$$scan$$response, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -293,10 +309,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_delete-scan-response": vuln_scanner_delete_scan_response_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_delete-scan-response": vuln_scanner_delete$$scan$$response, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -304,25 +320,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_scans_get", + name: "apiSecurity_vulnerabilityScanner_scans_get", title: "Get scan", description: "Returns a single scan by ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "scan_id": { - "description": "Scan identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "scan_id": { + "description": "Scan identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "scan_id" + ], + "type": "object" } }, required: [ - "account_id", - "scan_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -353,31 +377,31 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_bola-assertion-kind": vuln_scanner_bola_assertion_kind_output, - "vuln_scanner_bola-body-response": vuln_scanner_bola_body_response_output, - "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola_body_response_bytes_output, - "vuln_scanner_bola-body-response-json": vuln_scanner_bola_body_response_json_output, - "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola_body_response_not_found_output, - "vuln_scanner_bola-body-response-text": vuln_scanner_bola_body_response_text_output, - "vuln_scanner_bola-credential-role": vuln_scanner_bola_credential_role_output, - "vuln_scanner_bola-http-status-range": vuln_scanner_bola_http_status_range_output, - "vuln_scanner_bola-method": vuln_scanner_bola_method_output, - "vuln_scanner_bola-outcome": vuln_scanner_bola_outcome_output, - "vuln_scanner_bola-report": vuln_scanner_bola_report_output, - "vuln_scanner_bola-report-summary": vuln_scanner_bola_report_summary_output, - "vuln_scanner_bola-report-v1": vuln_scanner_bola_report_v1_output, - "vuln_scanner_bola-test": vuln_scanner_bola_test_output, - "vuln_scanner_bola-test-assertion": vuln_scanner_bola_test_assertion_output, - "vuln_scanner_bola-test-credential-set": vuln_scanner_bola_test_credential_set_output, - "vuln_scanner_bola-test-error": vuln_scanner_bola_test_error_output, - "vuln_scanner_bola-test-request": vuln_scanner_bola_test_request_output, - "vuln_scanner_bola-test-response": vuln_scanner_bola_test_response_output, - "vuln_scanner_bola-test-step": vuln_scanner_bola_test_step_output, - "vuln_scanner_bola-variable-capture": vuln_scanner_bola_variable_capture_output, - "vuln_scanner_bola-verdict": vuln_scanner_bola_verdict_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_scan": vuln_scanner_scan_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_bola-assertion-kind": vuln_scanner_bola$$assertion$$kind, + "vuln_scanner_bola-body-response": vuln_scanner_bola$$body$$response, + "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola$$body$$response$$bytes, + "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, + "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, + "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, + "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, + "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, + "vuln_scanner_bola-method": vuln_scanner_bola$$method, + "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, + "vuln_scanner_bola-report": vuln_scanner_bola$$report, + "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, + "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, + "vuln_scanner_bola-test": vuln_scanner_bola$$test, + "vuln_scanner_bola-test-assertion": vuln_scanner_bola$$test$$assertion, + "vuln_scanner_bola-test-credential-set": vuln_scanner_bola$$test$$credential$$set, + "vuln_scanner_bola-test-error": vuln_scanner_bola$$test$$error, + "vuln_scanner_bola-test-request": vuln_scanner_bola$$test$$request, + "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, + "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, + "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, + "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_scan": vuln_scanner_scan, }, }, annotations: { @@ -421,32 +445,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_bola-assertion-kind": vuln_scanner_bola_assertion_kind_output, - "vuln_scanner_bola-body-response": vuln_scanner_bola_body_response_output, - "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola_body_response_bytes_output, - "vuln_scanner_bola-body-response-json": vuln_scanner_bola_body_response_json_output, - "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola_body_response_not_found_output, - "vuln_scanner_bola-body-response-text": vuln_scanner_bola_body_response_text_output, - "vuln_scanner_bola-credential-role": vuln_scanner_bola_credential_role_output, - "vuln_scanner_bola-http-status-range": vuln_scanner_bola_http_status_range_output, - "vuln_scanner_bola-method": vuln_scanner_bola_method_output, - "vuln_scanner_bola-outcome": vuln_scanner_bola_outcome_output, - "vuln_scanner_bola-report": vuln_scanner_bola_report_output, - "vuln_scanner_bola-report-summary": vuln_scanner_bola_report_summary_output, - "vuln_scanner_bola-report-v1": vuln_scanner_bola_report_v1_output, - "vuln_scanner_bola-test": vuln_scanner_bola_test_output, - "vuln_scanner_bola-test-assertion": vuln_scanner_bola_test_assertion_output, - "vuln_scanner_bola-test-credential-set": vuln_scanner_bola_test_credential_set_output, - "vuln_scanner_bola-test-error": vuln_scanner_bola_test_error_output, - "vuln_scanner_bola-test-request": vuln_scanner_bola_test_request_output, - "vuln_scanner_bola-test-response": vuln_scanner_bola_test_response_output, - "vuln_scanner_bola-test-step": vuln_scanner_bola_test_step_output, - "vuln_scanner_bola-variable-capture": vuln_scanner_bola_variable_capture_output, - "vuln_scanner_bola-verdict": vuln_scanner_bola_verdict_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_scan": vuln_scanner_scan_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_bola-assertion-kind": vuln_scanner_bola$$assertion$$kind, + "vuln_scanner_bola-body-response": vuln_scanner_bola$$body$$response, + "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola$$body$$response$$bytes, + "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, + "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, + "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, + "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, + "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, + "vuln_scanner_bola-method": vuln_scanner_bola$$method, + "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, + "vuln_scanner_bola-report": vuln_scanner_bola$$report, + "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, + "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, + "vuln_scanner_bola-test": vuln_scanner_bola$$test, + "vuln_scanner_bola-test-assertion": vuln_scanner_bola$$test$$assertion, + "vuln_scanner_bola-test-credential-set": vuln_scanner_bola$$test$$credential$$set, + "vuln_scanner_bola-test-error": vuln_scanner_bola$$test$$error, + "vuln_scanner_bola-test-request": vuln_scanner_bola$$test$$request, + "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, + "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, + "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, + "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_scan": vuln_scanner_scan, }, }, request: (args) => ({ @@ -454,29 +478,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_scans_list", + name: "apiSecurity_vulnerabilityScanner_scans_list", title: "List scans", description: "Returns all scans for the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -500,32 +537,32 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-collection": vuln_scanner_api_response_collection_output, - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_bola-assertion-kind": vuln_scanner_bola_assertion_kind_output, - "vuln_scanner_bola-body-response": vuln_scanner_bola_body_response_output, - "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola_body_response_bytes_output, - "vuln_scanner_bola-body-response-json": vuln_scanner_bola_body_response_json_output, - "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola_body_response_not_found_output, - "vuln_scanner_bola-body-response-text": vuln_scanner_bola_body_response_text_output, - "vuln_scanner_bola-credential-role": vuln_scanner_bola_credential_role_output, - "vuln_scanner_bola-http-status-range": vuln_scanner_bola_http_status_range_output, - "vuln_scanner_bola-method": vuln_scanner_bola_method_output, - "vuln_scanner_bola-outcome": vuln_scanner_bola_outcome_output, - "vuln_scanner_bola-report": vuln_scanner_bola_report_output, - "vuln_scanner_bola-report-summary": vuln_scanner_bola_report_summary_output, - "vuln_scanner_bola-report-v1": vuln_scanner_bola_report_v1_output, - "vuln_scanner_bola-test": vuln_scanner_bola_test_output, - "vuln_scanner_bola-test-assertion": vuln_scanner_bola_test_assertion_output, - "vuln_scanner_bola-test-credential-set": vuln_scanner_bola_test_credential_set_output, - "vuln_scanner_bola-test-error": vuln_scanner_bola_test_error_output, - "vuln_scanner_bola-test-request": vuln_scanner_bola_test_request_output, - "vuln_scanner_bola-test-response": vuln_scanner_bola_test_response_output, - "vuln_scanner_bola-test-step": vuln_scanner_bola_test_step_output, - "vuln_scanner_bola-variable-capture": vuln_scanner_bola_variable_capture_output, - "vuln_scanner_bola-verdict": vuln_scanner_bola_verdict_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_scan": vuln_scanner_scan_output, + "vuln_scanner_api-response-collection": vuln_scanner_api$$response$$collection, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_bola-assertion-kind": vuln_scanner_bola$$assertion$$kind, + "vuln_scanner_bola-body-response": vuln_scanner_bola$$body$$response, + "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola$$body$$response$$bytes, + "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, + "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, + "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, + "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, + "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, + "vuln_scanner_bola-method": vuln_scanner_bola$$method, + "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, + "vuln_scanner_bola-report": vuln_scanner_bola$$report, + "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, + "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, + "vuln_scanner_bola-test": vuln_scanner_bola$$test, + "vuln_scanner_bola-test-assertion": vuln_scanner_bola$$test$$assertion, + "vuln_scanner_bola-test-credential-set": vuln_scanner_bola$$test$$credential$$set, + "vuln_scanner_bola-test-error": vuln_scanner_bola$$test$$error, + "vuln_scanner_bola-test-request": vuln_scanner_bola$$test$$request, + "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, + "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, + "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, + "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_scan": vuln_scanner_scan, }, }, annotations: { @@ -562,40 +599,40 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-collection": vuln_scanner_api_response_collection_output, - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_bola-assertion-kind": vuln_scanner_bola_assertion_kind_output, - "vuln_scanner_bola-body-response": vuln_scanner_bola_body_response_output, - "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola_body_response_bytes_output, - "vuln_scanner_bola-body-response-json": vuln_scanner_bola_body_response_json_output, - "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola_body_response_not_found_output, - "vuln_scanner_bola-body-response-text": vuln_scanner_bola_body_response_text_output, - "vuln_scanner_bola-credential-role": vuln_scanner_bola_credential_role_output, - "vuln_scanner_bola-http-status-range": vuln_scanner_bola_http_status_range_output, - "vuln_scanner_bola-method": vuln_scanner_bola_method_output, - "vuln_scanner_bola-outcome": vuln_scanner_bola_outcome_output, - "vuln_scanner_bola-report": vuln_scanner_bola_report_output, - "vuln_scanner_bola-report-summary": vuln_scanner_bola_report_summary_output, - "vuln_scanner_bola-report-v1": vuln_scanner_bola_report_v1_output, - "vuln_scanner_bola-test": vuln_scanner_bola_test_output, - "vuln_scanner_bola-test-assertion": vuln_scanner_bola_test_assertion_output, - "vuln_scanner_bola-test-credential-set": vuln_scanner_bola_test_credential_set_output, - "vuln_scanner_bola-test-error": vuln_scanner_bola_test_error_output, - "vuln_scanner_bola-test-request": vuln_scanner_bola_test_request_output, - "vuln_scanner_bola-test-response": vuln_scanner_bola_test_response_output, - "vuln_scanner_bola-test-step": vuln_scanner_bola_test_step_output, - "vuln_scanner_bola-variable-capture": vuln_scanner_bola_variable_capture_output, - "vuln_scanner_bola-verdict": vuln_scanner_bola_verdict_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_scan": vuln_scanner_scan_output, + "vuln_scanner_api-response-collection": vuln_scanner_api$$response$$collection, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_bola-assertion-kind": vuln_scanner_bola$$assertion$$kind, + "vuln_scanner_bola-body-response": vuln_scanner_bola$$body$$response, + "vuln_scanner_bola-body-response-bytes": vuln_scanner_bola$$body$$response$$bytes, + "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, + "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, + "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, + "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, + "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, + "vuln_scanner_bola-method": vuln_scanner_bola$$method, + "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, + "vuln_scanner_bola-report": vuln_scanner_bola$$report, + "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, + "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, + "vuln_scanner_bola-test": vuln_scanner_bola$$test, + "vuln_scanner_bola-test-assertion": vuln_scanner_bola$$test$$assertion, + "vuln_scanner_bola-test-credential-set": vuln_scanner_bola$$test$$credential$$set, + "vuln_scanner_bola-test-error": vuln_scanner_bola$$test$$error, + "vuln_scanner_bola-test-request": vuln_scanner_bola$$test$$request, + "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, + "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, + "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, + "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_scan": vuln_scanner_scan, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/scans`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/outputs.ts index 5e167b8fc..5d16c96f7 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `vuln_scanner_target-environment` in responses. */ -export const vuln_scanner_target_environment_output: JsonSchema = { +export const vuln_scanner_target$$environment: JsonSchema = { "properties": { "description": { "oneOf": [ @@ -40,14 +40,14 @@ export const vuln_scanner_target_environment_output: JsonSchema = { /** * The schema of `vuln_scanner_target-type` in responses. */ -export const vuln_scanner_target_type_output: JsonSchema = { +export const vuln_scanner_target$$type: JsonSchema = { "$ref": "#/$defs/vuln_scanner_zone-target" }; /** * The schema of `vuln_scanner_zone-target` in responses. */ -export const vuln_scanner_zone_target_output: JsonSchema = { +export const vuln_scanner_zone$$target: JsonSchema = { "properties": { "type": { "enum": [ diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/schemas.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/schemas.ts index 6b9c49519..5cfbf7fc2 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `vuln_scanner_create-target-environment-request`. */ -export const vuln_scanner_create_target_environment_request: JsonSchema = { +export const vuln_scanner_create$$target$$environment$$request: JsonSchema = { "properties": { "description": { "description": "Optional description.", @@ -38,7 +38,7 @@ export const vuln_scanner_create_target_environment_request: JsonSchema = { /** * The schema of `vuln_scanner_patch-target-environment-request`. */ -export const vuln_scanner_patch_target_environment_request: JsonSchema = { +export const vuln_scanner_patch$$target$$environment$$request: JsonSchema = { "description": "Applies a partial update. Only the provided fields change; omitted fields remain unchanged.\n\nThe `description` field supports three states:\n- **omitted**: leave unchanged\n- **`null`**: clear the description\n- **`\"value\"`**: set to the given string\n", "properties": { "description": { @@ -67,7 +67,7 @@ export const vuln_scanner_patch_target_environment_request: JsonSchema = { /** * The schema of `vuln_scanner_target-type`. */ -export const vuln_scanner_target_type: JsonSchema = { +export const vuln_scanner_target$$type: JsonSchema = { "$ref": "#/$defs/vuln_scanner_zone-target", "description": "Identifies the Cloudflare asset to scan. Uses a `type` discriminator.\nCurrently the service supports only `zone` targets.\n" }; @@ -75,7 +75,7 @@ export const vuln_scanner_target_type: JsonSchema = { /** * The schema of `vuln_scanner_update-target-environment-request`. */ -export const vuln_scanner_update_target_environment_request: JsonSchema = { +export const vuln_scanner_update$$target$$environment$$request: JsonSchema = { "description": "Full replacement.", "properties": { "description": { @@ -108,7 +108,7 @@ export const vuln_scanner_update_target_environment_request: JsonSchema = { /** * The schema of `vuln_scanner_zone-target`. */ -export const vuln_scanner_zone_target: JsonSchema = { +export const vuln_scanner_zone$$target: JsonSchema = { "properties": { "type": { "enum": [ diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts index 900849729..9b7dac351 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts @@ -1,56 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - vuln_scanner_api_response_collection_output, - vuln_scanner_api_response_common_failure_output, - vuln_scanner_api_response_common_output, - vuln_scanner_empty_response_output, - vuln_scanner_messages_output, + vuln_scanner_api$$response$$collection, + vuln_scanner_api$$response$$common, + vuln_scanner_api$$response$$common$$failure, + vuln_scanner_empty$$response, + vuln_scanner_messages, } from "../outputs.js"; import { vuln_scanner_identifier } from "../schemas.js"; import { - vuln_scanner_target_environment_output, - vuln_scanner_target_type_output, - vuln_scanner_zone_target_output, + vuln_scanner_target$$environment, + vuln_scanner_target$$type, + vuln_scanner_zone$$target, } from "./outputs.js"; import { - vuln_scanner_create_target_environment_request, - vuln_scanner_patch_target_environment_request, - vuln_scanner_target_type, - vuln_scanner_update_target_environment_request, - vuln_scanner_zone_target, + vuln_scanner_create$$target$$environment$$request, + vuln_scanner_patch$$target$$environment$$request, + vuln_scanner_target$$type as vuln_scanner_target$$type$, + vuln_scanner_update$$target$$environment$$request, + vuln_scanner_zone$$target as vuln_scanner_zone$$target$, } from "./schemas.js"; /** - * The tools of `api_security.vulnerability_scanner.target_environments`. + * The tools of `apiSecurity.vulnerabilityScanner.targetEnvironments`. */ export const tools: readonly Tool[] = [ { - name: "api_security_vulnerability_scanner_target_environments_create", + name: "apiSecurity_vulnerabilityScanner_targetEnvironments_create", title: "Create target environment", description: "Creates a new target environment for the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_create-target-environment-request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "vuln_scanner_create-target-environment-request": vuln_scanner_create_target_environment_request, + "vuln_scanner_create-target-environment-request": vuln_scanner_create$$target$$environment$$request, "vuln_scanner_identifier": vuln_scanner_identifier, - "vuln_scanner_target-type": vuln_scanner_target_type, - "vuln_scanner_zone-target": vuln_scanner_zone_target, + "vuln_scanner_target-type": vuln_scanner_target$$type$, + "vuln_scanner_zone-target": vuln_scanner_zone$$target$, }, }, outputSchema: { @@ -78,11 +86,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, annotations: { @@ -126,12 +134,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, request: (args) => ({ @@ -140,25 +148,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_target_environments_delete", + name: "apiSecurity_vulnerabilityScanner_targetEnvironments_delete", title: "Delete target environment", description: "Removes a target environment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the target environment from Vulnerability Scanner.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "target_environment_id": { - "description": "Target environment identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "target_environment_id": { + "description": "Target environment identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "target_environment_id" + ], + "type": "object" } }, required: [ - "account_id", - "target_environment_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -167,9 +183,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/vuln_scanner_empty-response", $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_empty-response": vuln_scanner_empty_response_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_empty-response": vuln_scanner_empty$$response, + "vuln_scanner_messages": vuln_scanner_messages, }, }, annotations: { @@ -191,10 +207,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_empty-response": vuln_scanner_empty_response_output, - "vuln_scanner_messages": vuln_scanner_messages_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_empty-response": vuln_scanner_empty$$response, + "vuln_scanner_messages": vuln_scanner_messages, }, }, request: (args) => ({ @@ -202,35 +218,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_target_environments_edit", + name: "apiSecurity_vulnerabilityScanner_targetEnvironments_edit", title: "Edit target environment", description: "Updates a target environment with only the provided fields; omitted fields remain unchanged.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_patch-target-environment-request" }, - "target_environment_id": { - "description": "Target environment identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "target_environment_id": { + "description": "Target environment identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "target_environment_id" + ], + "type": "object" } }, required: [ - "account_id", - "target_environment_id", + "path", "body" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, - "vuln_scanner_patch-target-environment-request": vuln_scanner_patch_target_environment_request, - "vuln_scanner_target-type": vuln_scanner_target_type, - "vuln_scanner_zone-target": vuln_scanner_zone_target, + "vuln_scanner_patch-target-environment-request": vuln_scanner_patch$$target$$environment$$request, + "vuln_scanner_target-type": vuln_scanner_target$$type$, + "vuln_scanner_zone-target": vuln_scanner_zone$$target$, }, }, outputSchema: { @@ -258,11 +282,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, annotations: { @@ -306,12 +330,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, request: (args) => ({ @@ -320,25 +344,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_target_environments_get", + name: "apiSecurity_vulnerabilityScanner_targetEnvironments_get", title: "Get target environment", description: "Returns a single target environment by ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "target_environment_id": { - "description": "Target environment identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "target_environment_id": { + "description": "Target environment identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "target_environment_id" + ], + "type": "object" } }, required: [ - "account_id", - "target_environment_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -369,11 +401,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, annotations: { @@ -417,12 +449,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, request: (args) => ({ @@ -430,29 +462,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "api_security_vulnerability_scanner_target_environments_list", + name: "apiSecurity_vulnerabilityScanner_targetEnvironments_list", title: "List target environments", description: "Returns all target environments for the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, @@ -476,12 +521,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-collection": vuln_scanner_api_response_collection_output, - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-collection": vuln_scanner_api$$response$$collection, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, annotations: { @@ -518,53 +563,61 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-collection": vuln_scanner_api_response_collection_output, - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-collection": vuln_scanner_api$$response$$collection, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vuln_scanner/target_environments`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "api_security_vulnerability_scanner_target_environments_update", + name: "apiSecurity_vulnerabilityScanner_targetEnvironments_update", title: "Update target environment", description: "Replaces a target environment. All fields must be provided.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/vuln_scanner_update-target-environment-request" }, - "target_environment_id": { - "description": "Target environment identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vuln_scanner_identifier", + "description": "Account identifier." + }, + "target_environment_id": { + "description": "Target environment identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "target_environment_id" + ], + "type": "object" } }, required: [ - "account_id", - "target_environment_id", + "path", "body" ], $defs: { "vuln_scanner_identifier": vuln_scanner_identifier, - "vuln_scanner_target-type": vuln_scanner_target_type, - "vuln_scanner_update-target-environment-request": vuln_scanner_update_target_environment_request, - "vuln_scanner_zone-target": vuln_scanner_zone_target, + "vuln_scanner_target-type": vuln_scanner_target$$type$, + "vuln_scanner_update-target-environment-request": vuln_scanner_update$$target$$environment$$request, + "vuln_scanner_zone-target": vuln_scanner_zone$$target$, }, }, outputSchema: { @@ -592,11 +645,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, annotations: { @@ -640,12 +693,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vuln_scanner_api-response-common": vuln_scanner_api_response_common_output, - "vuln_scanner_api-response-common-failure": vuln_scanner_api_response_common_failure_output, - "vuln_scanner_messages": vuln_scanner_messages_output, - "vuln_scanner_target-environment": vuln_scanner_target_environment_output, - "vuln_scanner_target-type": vuln_scanner_target_type_output, - "vuln_scanner_zone-target": vuln_scanner_zone_target_output, + "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, + "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, + "vuln_scanner_messages": vuln_scanner_messages, + "vuln_scanner_target-environment": vuln_scanner_target$$environment, + "vuln_scanner_target-type": vuln_scanner_target$$type, + "vuln_scanner_zone-target": vuln_scanner_zone$$target, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/argo/smartRouting/outputs.ts b/src/generated/forge-mcp/argo/smartRouting/outputs.ts index f3169a12a..7cb75ed8d 100644 --- a/src/generated/forge-mcp/argo/smartRouting/outputs.ts +++ b/src/generated/forge-mcp/argo/smartRouting/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `argo-config_api_response_common_failure` in responses. */ -export const argo_config_api_response_common_failure_output: JsonSchema = { +export const argo$$config_api_response_common_failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/argo-config_messages" @@ -36,7 +36,7 @@ export const argo_config_api_response_common_failure_output: JsonSchema = { /** * The schema of `argo-config_api_response_single` in responses. */ -export const argo_config_api_response_single_output: JsonSchema = { +export const argo$$config_api_response_single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/argo-config_messages" @@ -66,7 +66,7 @@ export const argo_config_api_response_single_output: JsonSchema = { /** * The schema of `argo-config_count_zones_response` in responses. */ -export const argo_config_count_zones_response_output: JsonSchema = { +export const argo$$config_count_zones_response: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/argo-config_messages" @@ -96,14 +96,14 @@ export const argo_config_count_zones_response_output: JsonSchema = { /** * The schema of `argo-config_editable` in responses. */ -export const argo_config_editable_output: JsonSchema = { +export const argo$$config_editable: JsonSchema = { "type": "boolean" }; /** * The schema of `argo-config_messages` in responses. */ -export const argo_config_messages_output: JsonSchema = { +export const argo$$config_messages: JsonSchema = { "items": { "properties": { "code": { @@ -125,7 +125,7 @@ export const argo_config_messages_output: JsonSchema = { /** * The schema of `argo-config_modified_on` in responses. */ -export const argo_config_modified_on_output: JsonSchema = { +export const argo$$config_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -133,7 +133,7 @@ export const argo_config_modified_on_output: JsonSchema = { /** * The schema of `argo-config_result_object` in responses. */ -export const argo_config_result_object_output: JsonSchema = { +export const argo$$config_result_object: JsonSchema = { "properties": { "editable": { "$ref": "#/$defs/argo-config_editable" @@ -159,14 +159,14 @@ export const argo_config_result_object_output: JsonSchema = { /** * The schema of `argo-config_setting_id` in responses. */ -export const argo_config_setting_id_output: JsonSchema = { +export const argo$$config_setting_id: JsonSchema = { "type": "string" }; /** * The schema of `argo-config_setting_value` in responses. */ -export const argo_config_setting_value_output: JsonSchema = { +export const argo$$config_setting_value: JsonSchema = { "enum": [ "on", "off" diff --git a/src/generated/forge-mcp/argo/smartRouting/schemas.ts b/src/generated/forge-mcp/argo/smartRouting/schemas.ts index 31c8916c3..96c44558b 100644 --- a/src/generated/forge-mcp/argo/smartRouting/schemas.ts +++ b/src/generated/forge-mcp/argo/smartRouting/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `argo-config_identifier`. */ -export const argo_config_identifier: JsonSchema = { +export const argo$$config_identifier: JsonSchema = { "description": "Specifies the zone associated with the API call.", "type": "string" }; @@ -14,7 +14,7 @@ export const argo_config_identifier: JsonSchema = { /** * The schema of `argo-config_patch`. */ -export const argo_config_patch: JsonSchema = { +export const argo$$config_patch: JsonSchema = { "description": "Configures the enablement of Argo Smart Routing.", "properties": { "value": { @@ -31,7 +31,7 @@ export const argo_config_patch: JsonSchema = { /** * The schema of `argo-config_setting_value`. */ -export const argo_config_setting_value: JsonSchema = { +export const argo$$config_setting_value: JsonSchema = { "description": "Specifies the enablement value of Argo Smart Routing.", "enum": [ "on", diff --git a/src/generated/forge-mcp/argo/smartRouting/tools.ts b/src/generated/forge-mcp/argo/smartRouting/tools.ts index 077610b39..14ef7514c 100644 --- a/src/generated/forge-mcp/argo/smartRouting/tools.ts +++ b/src/generated/forge-mcp/argo/smartRouting/tools.ts @@ -3,50 +3,58 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - argo_config_api_response_common_failure_output, - argo_config_api_response_single_output, - argo_config_count_zones_response_output, - argo_config_editable_output, - argo_config_messages_output, - argo_config_modified_on_output, - argo_config_result_object_output, - argo_config_setting_id_output, - argo_config_setting_value_output, + argo$$config_api_response_common_failure, + argo$$config_api_response_single, + argo$$config_count_zones_response, + argo$$config_editable, + argo$$config_messages, + argo$$config_modified_on, + argo$$config_result_object, + argo$$config_setting_id, + argo$$config_setting_value, } from "./outputs.js"; import { - argo_config_identifier, - argo_config_patch, - argo_config_setting_value, + argo$$config_identifier, + argo$$config_patch, + argo$$config_setting_value as argo$$config_setting_value$, } from "./schemas.js"; /** - * The tools of `argo.smart_routing`. + * The tools of `argo.smartRouting`. */ export const tools: readonly Tool[] = [ { - name: "argo_smart_routing_count_zones_enabled_for_account", + name: "argo_smartRouting_countZonesEnabledForAccount", title: "Get count of zones with Argo Smart Routing enabled for account", description: "Returns the number of zones that have Argo Smart Routing enabled for the specified account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/argo-config_identifier", - "description": "Identifier of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/argo-config_identifier", + "description": "Identifier of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "argo-config_identifier": argo_config_identifier, + "argo-config_identifier": argo$$config_identifier, }, }, outputSchema: { "$ref": "#/$defs/argo-config_count_zones_response", $defs: { - "argo-config_count_zones_response": argo_config_count_zones_response_output, - "argo-config_messages": argo_config_messages_output, + "argo-config_count_zones_response": argo$$config_count_zones_response, + "argo-config_messages": argo$$config_messages, }, }, annotations: { @@ -87,9 +95,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "argo-config_api_response_common_failure": argo_config_api_response_common_failure_output, - "argo-config_count_zones_response": argo_config_count_zones_response_output, - "argo-config_messages": argo_config_messages_output, + "argo-config_api_response_common_failure": argo$$config_api_response_common_failure, + "argo-config_count_zones_response": argo$$config_count_zones_response, + "argo-config_messages": argo$$config_messages, }, }, request: (args) => ({ @@ -97,7 +105,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "argo_smart_routing_count_zones_enabled_for_user", + name: "argo_smartRouting_countZonesEnabledForUser", title: "Get count of zones with Argo Smart Routing enabled for user", description: "Returns the number of zones that have Argo Smart Routing enabled for the authenticated user.", inputSchema: { @@ -107,8 +115,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/argo-config_count_zones_response", $defs: { - "argo-config_count_zones_response": argo_config_count_zones_response_output, - "argo-config_messages": argo_config_messages_output, + "argo-config_count_zones_response": argo$$config_count_zones_response, + "argo-config_messages": argo$$config_messages, }, }, annotations: { @@ -149,9 +157,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "argo-config_api_response_common_failure": argo_config_api_response_common_failure_output, - "argo-config_count_zones_response": argo_config_count_zones_response_output, - "argo-config_messages": argo_config_messages_output, + "argo-config_api_response_common_failure": argo$$config_api_response_common_failure, + "argo-config_count_zones_response": argo$$config_count_zones_response, + "argo-config_messages": argo$$config_messages, }, }, request: (_args) => ({ @@ -159,7 +167,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "argo_smart_routing_edit", + name: "argo_smartRouting_edit", title: "Patch Argo Smart Routing setting", description: "Configures the value of the Argo Smart Routing enablement setting.", inputSchema: { @@ -168,31 +176,39 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/argo-config_patch" }, - "zone_id": { - "$ref": "#/$defs/argo-config_identifier", - "description": "Specifies the zone associated with the API call." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/argo-config_identifier", + "description": "Specifies the zone associated with the API call." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "argo-config_identifier": argo_config_identifier, - "argo-config_patch": argo_config_patch, - "argo-config_setting_value": argo_config_setting_value, + "argo-config_identifier": argo$$config_identifier, + "argo-config_patch": argo$$config_patch, + "argo-config_setting_value": argo$$config_setting_value$, }, }, outputSchema: { "$ref": "#/$defs/argo-config_api_response_single", $defs: { - "argo-config_api_response_single": argo_config_api_response_single_output, - "argo-config_editable": argo_config_editable_output, - "argo-config_messages": argo_config_messages_output, - "argo-config_modified_on": argo_config_modified_on_output, - "argo-config_result_object": argo_config_result_object_output, - "argo-config_setting_id": argo_config_setting_id_output, - "argo-config_setting_value": argo_config_setting_value_output, + "argo-config_api_response_single": argo$$config_api_response_single, + "argo-config_editable": argo$$config_editable, + "argo-config_messages": argo$$config_messages, + "argo-config_modified_on": argo$$config_modified_on, + "argo-config_result_object": argo$$config_result_object, + "argo-config_setting_id": argo$$config_setting_id, + "argo-config_setting_value": argo$$config_setting_value, }, }, annotations: { @@ -231,14 +247,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "argo-config_api_response_common_failure": argo_config_api_response_common_failure_output, - "argo-config_api_response_single": argo_config_api_response_single_output, - "argo-config_editable": argo_config_editable_output, - "argo-config_messages": argo_config_messages_output, - "argo-config_modified_on": argo_config_modified_on_output, - "argo-config_result_object": argo_config_result_object_output, - "argo-config_setting_id": argo_config_setting_id_output, - "argo-config_setting_value": argo_config_setting_value_output, + "argo-config_api_response_common_failure": argo$$config_api_response_common_failure, + "argo-config_api_response_single": argo$$config_api_response_single, + "argo-config_editable": argo$$config_editable, + "argo-config_messages": argo$$config_messages, + "argo-config_modified_on": argo$$config_modified_on, + "argo-config_result_object": argo$$config_result_object, + "argo-config_setting_id": argo$$config_setting_id, + "argo-config_setting_value": argo$$config_setting_value, }, }, request: (args) => ({ @@ -247,34 +263,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "argo_smart_routing_get", + name: "argo_smartRouting_get", title: "Get Argo Smart Routing setting", description: "Retrieves the value of Argo Smart Routing enablement setting.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/argo-config_identifier", - "description": "Specifies the zone associated with the API call." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/argo-config_identifier", + "description": "Specifies the zone associated with the API call." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "argo-config_identifier": argo_config_identifier, + "argo-config_identifier": argo$$config_identifier, }, }, outputSchema: { "$ref": "#/$defs/argo-config_api_response_single", $defs: { - "argo-config_api_response_single": argo_config_api_response_single_output, - "argo-config_editable": argo_config_editable_output, - "argo-config_messages": argo_config_messages_output, - "argo-config_modified_on": argo_config_modified_on_output, - "argo-config_result_object": argo_config_result_object_output, - "argo-config_setting_id": argo_config_setting_id_output, - "argo-config_setting_value": argo_config_setting_value_output, + "argo-config_api_response_single": argo$$config_api_response_single, + "argo-config_editable": argo$$config_editable, + "argo-config_messages": argo$$config_messages, + "argo-config_modified_on": argo$$config_modified_on, + "argo-config_result_object": argo$$config_result_object, + "argo-config_setting_id": argo$$config_setting_id, + "argo-config_setting_value": argo$$config_setting_value, }, }, annotations: { @@ -313,14 +337,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "argo-config_api_response_common_failure": argo_config_api_response_common_failure_output, - "argo-config_api_response_single": argo_config_api_response_single_output, - "argo-config_editable": argo_config_editable_output, - "argo-config_messages": argo_config_messages_output, - "argo-config_modified_on": argo_config_modified_on_output, - "argo-config_result_object": argo_config_result_object_output, - "argo-config_setting_id": argo_config_setting_id_output, - "argo-config_setting_value": argo_config_setting_value_output, + "argo-config_api_response_common_failure": argo$$config_api_response_common_failure, + "argo-config_api_response_single": argo$$config_api_response_single, + "argo-config_editable": argo$$config_editable, + "argo-config_messages": argo$$config_messages, + "argo-config_modified_on": argo$$config_modified_on, + "argo-config_result_object": argo$$config_result_object, + "argo-config_setting_id": argo$$config_setting_id, + "argo-config_setting_value": argo$$config_setting_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/argo/tieredCaching/outputs.ts b/src/generated/forge-mcp/argo/tieredCaching/outputs.ts index 999a3f19d..395dbbdd8 100644 --- a/src/generated/forge-mcp/argo/tieredCaching/outputs.ts +++ b/src/generated/forge-mcp/argo/tieredCaching/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_tiered_cache` in responses. */ -export const cache_settings_tiered_cache_output: JsonSchema = { +export const cache$$settings_tiered_cache: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -28,7 +28,7 @@ export const cache_settings_tiered_cache_output: JsonSchema = { /** * The schema of `cache-settings_tiered_cache_response_value` in responses. */ -export const cache_settings_tiered_cache_response_value_output: JsonSchema = { +export const cache$$settings_tiered_cache_response_value: JsonSchema = { "properties": { "result": { "allOf": [ @@ -55,7 +55,7 @@ export const cache_settings_tiered_cache_response_value_output: JsonSchema = { /** * The schema of `cache-settings_tiered_cache_value` in responses. */ -export const cache_settings_tiered_cache_value_output: JsonSchema = { +export const cache$$settings_tiered_cache_value: JsonSchema = { "enum": [ "on", "off" diff --git a/src/generated/forge-mcp/argo/tieredCaching/schemas.ts b/src/generated/forge-mcp/argo/tieredCaching/schemas.ts index a49fe44e2..b49f28bf2 100644 --- a/src/generated/forge-mcp/argo/tieredCaching/schemas.ts +++ b/src/generated/forge-mcp/argo/tieredCaching/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_patch`. */ -export const cache_settings_patch: JsonSchema = { +export const cache$$settings_patch: JsonSchema = { "description": "Update enablement of Tiered Caching.", "properties": { "value": { @@ -23,7 +23,7 @@ export const cache_settings_patch: JsonSchema = { /** * The schema of `cache-settings_value`. */ -export const cache_settings_value: JsonSchema = { +export const cache$$settings_value: JsonSchema = { "description": "Enables Tiered Caching.", "enum": [ "on", diff --git a/src/generated/forge-mcp/argo/tieredCaching/tools.ts b/src/generated/forge-mcp/argo/tieredCaching/tools.ts index 1907d58fd..9b3d20b48 100644 --- a/src/generated/forge-mcp/argo/tieredCaching/tools.ts +++ b/src/generated/forge-mcp/argo/tieredCaching/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_base_output, - cache_settings_editable_output, - cache_settings_messages_output, - cache_settings_modified_on_output, - cache_settings_result_object_output, - cache_settings_setting_id_output, - cache_settings_setting_value_output, - cache_settings_zone_cache_settings_response_single_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_base, + cache$$settings_editable, + cache$$settings_messages, + cache$$settings_modified_on, + cache$$settings_result$$object, + cache$$settings_setting_id, + cache$$settings_setting_value, + cache$$settings_zone_cache_settings_response_single, } from "../../outputs.js"; -import { cache_settings_identifier } from "../../schemas.js"; +import { cache$$settings_identifier } from "../../schemas.js"; import { - cache_settings_tiered_cache_output, - cache_settings_tiered_cache_response_value_output, - cache_settings_tiered_cache_value_output, + cache$$settings_tiered_cache, + cache$$settings_tiered_cache_response_value, + cache$$settings_tiered_cache_value, } from "./outputs.js"; -import { cache_settings_patch, cache_settings_value } from "./schemas.js"; +import { cache$$settings_patch, cache$$settings_value } from "./schemas.js"; /** - * The tools of `argo.tiered_caching`. + * The tools of `argo.tieredCaching`. */ export const tools: readonly Tool[] = [ { - name: "argo_tiered_caching_edit", + name: "argo_tieredCaching_edit", title: "Patch Tiered Caching setting", description: "Tiered Cache works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier must ask an upper-tier to see if it has the content. If the upper-tier does not have the content, only the upper-tier can ask the origin for content. This practice improves bandwidth efficiency by limiting the number of data centers that can ask the origin for content, which reduces origin load and makes websites more cost-effective to operate. Additionally, Tiered Cache concentrates connections to origin servers so they come from a small number of data centers rather than the full set of network locations. This results in fewer open connections using server resources.", inputSchema: { @@ -36,19 +36,27 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/cache-settings_patch" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_patch": cache_settings_patch, - "cache-settings_value": cache_settings_value, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_patch": cache$$settings_patch, + "cache-settings_value": cache$$settings_value, }, }, outputSchema: { @@ -61,18 +69,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_tiered_cache": cache_settings_tiered_cache_output, - "cache-settings_tiered_cache_response_value": cache_settings_tiered_cache_response_value_output, - "cache-settings_tiered_cache_value": cache_settings_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_tiered_cache": cache$$settings_tiered_cache, + "cache-settings_tiered_cache_response_value": cache$$settings_tiered_cache_response_value, + "cache-settings_tiered_cache_value": cache$$settings_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -109,19 +117,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_tiered_cache": cache_settings_tiered_cache_output, - "cache-settings_tiered_cache_response_value": cache_settings_tiered_cache_response_value_output, - "cache-settings_tiered_cache_value": cache_settings_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_tiered_cache": cache$$settings_tiered_cache, + "cache-settings_tiered_cache_response_value": cache$$settings_tiered_cache_response_value, + "cache-settings_tiered_cache_value": cache$$settings_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -130,22 +138,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "argo_tiered_caching_get", + name: "argo_tieredCaching_get", title: "Get Tiered Caching setting", description: "Tiered Cache works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier must ask an upper-tier to see if it has the content. If the upper-tier does not have the content, only the upper-tier can ask the origin for content. This practice improves bandwidth efficiency by limiting the number of data centers that can ask the origin for content, which reduces origin load and makes websites more cost-effective to operate. Additionally, Tiered Cache concentrates connections to origin servers so they come from a small number of data centers rather than the full set of network locations. This results in fewer open connections using server resources.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -158,18 +174,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_tiered_cache": cache_settings_tiered_cache_output, - "cache-settings_tiered_cache_response_value": cache_settings_tiered_cache_response_value_output, - "cache-settings_tiered_cache_value": cache_settings_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_tiered_cache": cache$$settings_tiered_cache, + "cache-settings_tiered_cache_response_value": cache$$settings_tiered_cache_response_value, + "cache-settings_tiered_cache_value": cache$$settings_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -206,19 +222,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_tiered_cache": cache_settings_tiered_cache_output, - "cache-settings_tiered_cache_response_value": cache_settings_tiered_cache_response_value_output, - "cache-settings_tiered_cache_value": cache_settings_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_tiered_cache": cache$$settings_tiered_cache, + "cache-settings_tiered_cache_response_value": cache$$settings_tiered_cache_response_value, + "cache-settings_tiered_cache_value": cache$$settings_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts index b53272dae..6b8eb8697 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts @@ -14,28 +14,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "hash": { - "description": "40-character lowercase hexadecimal Git object hash.", - "type": "string" - }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "hash": { + "description": "40-character lowercase hexadecimal Git object hash.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name", + "hash" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "name", - "hash" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts index 75a5ee1b3..2c7cd52a0 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts @@ -14,28 +14,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "hash": { - "description": "40-character lowercase hexadecimal Git object hash.", - "type": "string" - }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "hash": { + "description": "40-character lowercase hexadecimal Git object hash.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name", + "hash" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "name", - "hash" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts index 9a8814aa6..4babae774 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** * The tools of `artifacts.namespaces.repos.files`. @@ -14,33 +14,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" - }, "path": { - "description": "File path.", - "type": "string" + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name" + ], + "type": "object" }, - "ref": { - "description": "Git ref, branch, tag, or commit hash.", - "type": "string" + "query": { + "properties": { + "path": { + "description": "File path.", + "type": "string" + }, + "ref": { + "description": "Git ref, branch, tag, or commit hash.", + "type": "string" + } + }, + "required": [ + "ref", + "path" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "name", - "ref", - "path" + "path", + "query" ], }, annotations: { @@ -582,8 +598,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/file`, query: [ - ["ref", args["ref"], true], - ["path", args["path"], true], + ["ref", param(args, "query", "ref"), true], + ["path", param(args, "query", "path"), true], ], }), }, diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts index c99e30297..a2d36793f 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** * The tools of `artifacts.namespaces.repos.logs`. @@ -14,33 +14,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "limit": { - "type": "integer" - }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" - }, - "offset": { - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name" + ], + "type": "object" }, - "ref": { - "description": "Git ref, branch, tag, or commit hash. Defaults to HEAD.", - "type": "string" + "query": { + "properties": { + "limit": { + "type": "integer" + }, + "offset": { + "type": "integer" + }, + "ref": { + "description": "Git ref, branch, tag, or commit hash. Defaults to HEAD.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace", - "name" + "path" ], }, outputSchema: { @@ -883,9 +896,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/log`, query: [ - ["ref", args["ref"], true], - ["limit", args["limit"], true], - ["offset", args["offset"], true], + ["ref", param(args, "query", "ref"), true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], ], }), }, diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts index fa51b05b3..f60ff94c6 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts @@ -14,32 +14,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" - }, "path": { - "description": "File path. May contain slashes.", - "type": "string" - }, - "ref": { - "description": "Git ref, branch, tag, or 40-character commit hash.", - "type": "string" + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + }, + "path": { + "description": "File path. May contain slashes.", + "type": "string" + }, + "ref": { + "description": "Git ref, branch, tag, or 40-character commit hash.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name", + "ref", + "path" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "name", - "ref", "path" ], }, diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts index 402189199..a337b99a6 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** * The tools of `artifacts.namespaces.repos.tokens`. @@ -14,41 +14,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 30, - "type": "integer" - }, - "state": { - "default": "active", - "enum": [ - "active", - "expired", - "revoked", - "all" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 30, + "type": "integer" + }, + "state": { + "default": "active", + "enum": [ + "active", + "expired", + "revoked", + "all" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace", - "name" + "path" ], }, outputSchema: { @@ -921,9 +934,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos/${pathParam(args, "name")}/tokens`, query: [ - ["state", args["state"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["state", param(args, "query", "state"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts index 1eedf74d7..5a8664e1b 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `artifacts.namespaces.repos`. @@ -14,10 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "default_branch": { @@ -39,14 +35,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", + "path", "body" ], }, @@ -837,23 +845,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "name" + "path" ], }, outputSchema: { @@ -1588,10 +1604,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "default_branch_only": { @@ -1612,19 +1624,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "name", + "path", "body" ], }, @@ -2595,23 +2619,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "name" + "path" ], }, outputSchema: { @@ -3552,10 +3584,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "branch": { @@ -3577,19 +3605,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "name", + "path", "body" ], }, @@ -4896,46 +4936,59 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "cursor": { - "type": "string" - }, - "direction": { - "default": "desc", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace" ], - "type": "string" - }, - "limit": { - "default": 50, - "type": "integer" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" - }, - "search": { - "type": "string" + "type": "object" }, - "sort": { - "default": "created_at", - "enum": [ - "created_at", - "updated_at", - "last_push_at", - "name" - ], - "type": "string" + "query": { + "properties": { + "cursor": { + "type": "string" + }, + "direction": { + "default": "desc", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "limit": { + "default": 50, + "type": "integer" + }, + "search": { + "type": "string" + }, + "sort": { + "default": "created_at", + "enum": [ + "created_at", + "updated_at", + "last_push_at", + "name" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, outputSchema: { @@ -5702,11 +5755,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces/${pathParam(args, "namespace")}/repos`, query: [ - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], - ["search", args["search"], true], - ["sort", args["sort"], true], - ["direction", args["direction"], true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], + ["search", param(args, "query", "search"), true], + ["sort", param(args, "query", "sort"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts index 571a4080f..7476691cf 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts @@ -14,28 +14,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "hash": { - "description": "40-character lowercase hexadecimal Git object hash.", - "type": "string" - }, - "name": { - "description": "Repository name.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "hash": { + "description": "40-character lowercase hexadecimal Git object hash.", + "type": "string" + }, + "name": { + "description": "Repository name.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "name", + "hash" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "name", - "hash" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts index 8fe0c6bd0..803eb94c9 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts @@ -14,10 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "repo": { @@ -39,14 +35,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", + "path", "body" ], }, @@ -903,23 +911,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "id": { - "description": "Token ID. Must match /^[0-9a-z]{16}$/.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "Token ID. Must match /^[0-9a-z]{16}$/.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/artifacts/namespaces/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/tools.ts index aafb2b8e4..05999d7a5 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `artifacts.namespaces`. @@ -14,10 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "jurisdiction": { @@ -38,10 +34,22 @@ export const tools: readonly Tool[] = [ "namespace" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -826,18 +834,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace" + ], + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, annotations: { @@ -1387,18 +1403,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "namespace": { - "description": "Artifacts namespace name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "namespace": { + "description": "Artifacts namespace name.", + "type": "string" + } + }, + "required": [ + "account_id", + "namespace" + ], + "type": "object" } }, required: [ - "account_id", - "namespace" + "path" ], }, outputSchema: { @@ -2181,20 +2205,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "cursor": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "limit": { - "default": 100, - "type": "integer" + "query": { + "properties": { + "cursor": { + "type": "string" + }, + "limit": { + "default": 100, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2889,8 +2926,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/artifacts/namespaces`, query: [ - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/auditLogs/tools.ts b/src/generated/forge-mcp/auditLogs/tools.ts index 4acc35d07..4dd19b2b6 100644 --- a/src/generated/forge-mcp/auditLogs/tools.ts +++ b/src/generated/forge-mcp/auditLogs/tools.ts @@ -1,120 +1,133 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - aaa_api_response_common_failure_output, - aaa_api_response_common_output, - aaa_audit_logs_output, - aaa_audit_logs_response_collection_output$, - aaa_identifier_output, - aaa_messages_output, + aaa_api$$response$$common, + aaa_api$$response$$common$$failure, + aaa_audit$$logs, + aaa_audit_logs_response_collection, + aaa_identifier, + aaa_messages, } from "../outputs.js"; -import { aaa_identifier } from "../schemas.js"; +import { aaa_identifier as aaa_identifier$ } from "../schemas.js"; /** - * The tools of `audit_logs`. + * The tools of `auditLogs`. */ export const tools: readonly Tool[] = [ { - name: "audit_logs_list", + name: "auditLogs_list", title: "Get account audit logs", description: "Gets a list of audit logs for an account. Can be filtered by who made the change, on which zone, and the timeframe of the change.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/aaa_identifier", - "description": "Identifier" - }, - "action_type": { - "description": "Filters by the action type.", - "type": "string" - }, - "actor_email": { - "description": "Filters by the email address of the actor that made the change.", - "type": "string" - }, - "actor_ip": { - "description": "Filters by the IP address of the request that made the change by specific IP address or valid CIDR Range.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/aaa_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "before": { - "oneOf": [ - { - "format": "date", + "query": { + "properties": { + "action.type": { + "description": "Filters by the action type.", "type": "string" }, - { - "format": "date-time", + "actor.email": { + "description": "Filters by the email address of the actor that made the change.", "type": "string" - } - ] - }, - "direction": { - "default": "desc", - "description": "Changes the direction of the chronological sorting.", - "enum": [ - "desc", - "asc" - ], - "type": "string" - }, - "export": { - "description": "Indicates that this request is an export of logs in CSV format.", - "type": "boolean" - }, - "hide_user_logs": { - "default": false, - "description": "Indicates whether or not to hide user level audit logs.", - "type": "boolean" - }, - "id": { - "description": "Finds a specific log by its ID.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Defines which page of results to return.", - "type": "number" - }, - "per_page": { - "default": 100, - "description": "Sets the number of results to return per page.", - "type": "number" - }, - "since": { - "oneOf": [ - { - "format": "date", + }, + "actor.ip": { + "description": "Filters by the IP address of the request that made the change by specific IP address or valid CIDR Range.", "type": "string" }, - { - "format": "date-time", + "before": { + "oneOf": [ + { + "format": "date", + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "direction": { + "default": "desc", + "description": "Changes the direction of the chronological sorting.", + "enum": [ + "desc", + "asc" + ], + "type": "string" + }, + "export": { + "description": "Indicates that this request is an export of logs in CSV format.", + "type": "boolean" + }, + "hide_user_logs": { + "default": false, + "description": "Indicates whether or not to hide user level audit logs.", + "type": "boolean" + }, + "id": { + "description": "Finds a specific log by its ID.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Defines which page of results to return.", + "type": "number" + }, + "per_page": { + "default": 100, + "description": "Sets the number of results to return per page.", + "type": "number" + }, + "since": { + "oneOf": [ + { + "format": "date", + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "zone.name": { + "description": "Filters by the name of the zone associated to the change.", "type": "string" } - ] - }, - "zone_name": { - "description": "Filters by the name of the zone associated to the change.", - "type": "string" + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "aaa_identifier": aaa_identifier, + "aaa_identifier": aaa_identifier$, }, }, outputSchema: { "$ref": "#/$defs/aaa_audit_logs_response_collection", $defs: { - "aaa_api-response-common": aaa_api_response_common_output, - "aaa_audit-logs": aaa_audit_logs_output, - "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection_output$, - "aaa_identifier": aaa_identifier_output, - "aaa_messages": aaa_messages_output, + "aaa_api-response-common": aaa_api$$response$$common, + "aaa_audit-logs": aaa_audit$$logs, + "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection, + "aaa_identifier": aaa_identifier, + "aaa_messages": aaa_messages, }, }, annotations: { @@ -155,29 +168,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common": aaa_api_response_common_output, - "aaa_api-response-common-failure": aaa_api_response_common_failure_output, - "aaa_audit-logs": aaa_audit_logs_output, - "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection_output$, - "aaa_identifier": aaa_identifier_output, - "aaa_messages": aaa_messages_output, + "aaa_api-response-common": aaa_api$$response$$common, + "aaa_api-response-common-failure": aaa_api$$response$$common$$failure, + "aaa_audit-logs": aaa_audit$$logs, + "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection, + "aaa_identifier": aaa_identifier, + "aaa_messages": aaa_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/audit_logs`, query: [ - ["id", args["id"], true], - ["export", args["export"], true], - ["action.type", args["action_type"], true], - ["actor.ip", args["actor_ip"], true], - ["actor.email", args["actor_email"], true], - ["since", args["since"], true], - ["before", args["before"], true], - ["zone.name", args["zone_name"], true], - ["direction", args["direction"], true], - ["per_page", args["per_page"], true], - ["page", args["page"], true], - ["hide_user_logs", args["hide_user_logs"], true], + ["id", param(args, "query", "id"), true], + ["export", param(args, "query", "export"), true], + ["action.type", param(args, "query", "action.type"), true], + ["actor.ip", param(args, "query", "actor.ip"), true], + ["actor.email", param(args, "query", "actor.email"), true], + ["since", param(args, "query", "since"), true], + ["before", param(args, "query", "before"), true], + ["zone.name", param(args, "query", "zone.name"), true], + ["direction", param(args, "query", "direction"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], + ["hide_user_logs", param(args, "query", "hide_user_logs"), true], ], }), }, diff --git a/src/generated/forge-mcp/basinCatalog/credentials/tools.ts b/src/generated/forge-mcp/basinCatalog/credentials/tools.ts index 4fc993801..79d721f66 100644 --- a/src/generated/forge-mcp/basinCatalog/credentials/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/credentials/tools.ts @@ -3,51 +3,59 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - r2_data_catalog_api_response_common_failure_output, - r2_data_catalog_api_response_errors_output, - r2_data_catalog_api_response_messages_output, - r2_data_catalog_api_response_single_output, - r2_data_catalog_api_response_success_output, - r2_data_catalog_credential_probe_status_output, + r2$$data$$catalog_api$$response$$common$$failure, + r2$$data$$catalog_api$$response$$errors, + r2$$data$$catalog_api$$response$$messages, + r2$$data$$catalog_api$$response$$single, + r2$$data$$catalog_api$$response$$success, + r2$$data$$catalog_credential$$probe$$status, } from "../../outputs.js"; import { - r2_data_catalog_account_id, - r2_data_catalog_bucket_name, - r2_data_catalog_catalog_credential_request, + r2$$data$$catalog_account$$id, + r2$$data$$catalog_bucket$$name, + r2$$data$$catalog_catalog$$credential$$request, } from "../../schemas.js"; /** - * The tools of `basin_catalog.credentials`. + * The tools of `basinCatalog.credentials`. */ export const tools: readonly Tool[] = [ { - name: "basin_catalog_credentials_create", + name: "basinCatalog_credentials_create", title: "Store catalog credentials", description: "Store authentication credentials for a catalog. These credentials are used\nto authenticate with R2 storage when performing catalog operations.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, "body": { "$ref": "#/$defs/r2-data-catalog_catalog-credential-request" }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, - "r2-data-catalog_catalog-credential-request": r2_data_catalog_catalog_credential_request, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, + "r2-data-catalog_catalog-credential-request": r2$$data$$catalog_catalog$$credential$$request, }, }, outputSchema: { @@ -72,10 +80,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, }, }, annotations: { @@ -133,11 +141,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, }, }, request: (args) => ({ @@ -146,28 +154,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "basin_catalog_credentials_status", + name: "basinCatalog_credentials_status", title: "Get Basin Catalog credential status", description: "Check whether the configured catalog credentials are valid, invalid,\nor absent by probing authentication against the catalog.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, outputSchema: { @@ -193,11 +209,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_credential-probe-status": r2_data_catalog_credential_probe_status_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_credential-probe-status": r2$$data$$catalog_credential$$probe$$status, }, }, annotations: { @@ -257,12 +273,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_credential-probe-status": r2_data_catalog_credential_probe_status_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_credential-probe-status": r2$$data$$catalog_credential$$probe$$status, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts b/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts index aa0034e24..6027aac97 100644 --- a/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts @@ -3,57 +3,65 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - r2_data_catalog_api_response_common_failure_output, - r2_data_catalog_api_response_errors_output, - r2_data_catalog_api_response_messages_output, - r2_data_catalog_api_response_single_output, - r2_data_catalog_api_response_success_output, - r2_data_catalog_catalog_compaction_config_output, - r2_data_catalog_catalog_maintenance_config_output, - r2_data_catalog_catalog_maintenance_config_response_output, - r2_data_catalog_catalog_maintenance_state_output, - r2_data_catalog_catalog_target_file_size_output, - r2_data_catalog_credential_status_output, - r2_data_catalog_maintenance_interval_output, - r2_data_catalog_snapshot_expiration_config_output, + r2$$data$$catalog_api$$response$$common$$failure, + r2$$data$$catalog_api$$response$$errors, + r2$$data$$catalog_api$$response$$messages, + r2$$data$$catalog_api$$response$$single, + r2$$data$$catalog_api$$response$$success, + r2$$data$$catalog_catalog$$compaction$$config, + r2$$data$$catalog_catalog$$maintenance$$config, + r2$$data$$catalog_catalog$$maintenance$$config$$response, + r2$$data$$catalog_catalog$$maintenance$$state, + r2$$data$$catalog_catalog$$target$$file$$size, + r2$$data$$catalog_credential$$status, + r2$$data$$catalog_maintenance$$interval, + r2$$data$$catalog_snapshot$$expiration$$config, } from "../../outputs.js"; import { - r2_data_catalog_account_id, - r2_data_catalog_bucket_name, - r2_data_catalog_catalog_maintenance_state, - r2_data_catalog_catalog_maintenance_update_request, - r2_data_catalog_catalog_target_file_size, - r2_data_catalog_compaction_update_params, - r2_data_catalog_snapshot_expiration_update_params, + r2$$data$$catalog_account$$id, + r2$$data$$catalog_bucket$$name, + r2$$data$$catalog_catalog$$maintenance$$state as r2$$data$$catalog_catalog$$maintenance$$state$, + r2$$data$$catalog_catalog$$maintenance$$update$$request, + r2$$data$$catalog_catalog$$target$$file$$size as r2$$data$$catalog_catalog$$target$$file$$size$, + r2$$data$$catalog_compaction$$update$$params, + r2$$data$$catalog_snapshot$$expiration$$update$$params, } from "../../schemas.js"; /** - * The tools of `basin_catalog.maintenance_configs`. + * The tools of `basinCatalog.maintenanceConfigs`. */ export const tools: readonly Tool[] = [ { - name: "basin_catalog_maintenance_configs_get", + name: "basinCatalog_maintenanceConfigs_get", title: "Get catalog maintenance configuration", description: "Retrieve the maintenance configuration for a specific catalog,\nincluding compaction settings and credential status.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, outputSchema: { @@ -71,18 +79,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, - "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, - "r2-data-catalog_catalog-maintenance-config-response": r2_data_catalog_catalog_maintenance_config_response_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_credential-status": r2_data_catalog_credential_status_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, + "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, + "r2-data-catalog_catalog-maintenance-config-response": r2$$data$$catalog_catalog$$maintenance$$config$$response, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, annotations: { @@ -134,19 +142,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, - "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, - "r2-data-catalog_catalog-maintenance-config-response": r2_data_catalog_catalog_maintenance_config_response_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_credential-status": r2_data_catalog_credential_status_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, + "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, + "r2-data-catalog_catalog-maintenance-config-response": r2$$data$$catalog_catalog$$maintenance$$config$$response, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, request: (args) => ({ @@ -154,37 +162,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "basin_catalog_maintenance_configs_update", + name: "basinCatalog_maintenanceConfigs_update", title: "Update catalog maintenance configuration", description: "Update the maintenance configuration for a catalog. This allows you to\nenable or disable compaction and adjust target file sizes for optimization.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, "body": { "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-update-request" }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state, - "r2-data-catalog_catalog-maintenance-update-request": r2_data_catalog_catalog_maintenance_update_request, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size, - "r2-data-catalog_compaction-update-params": r2_data_catalog_compaction_update_params, - "r2-data-catalog_snapshot-expiration-update-params": r2_data_catalog_snapshot_expiration_update_params, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state$, + "r2-data-catalog_catalog-maintenance-update-request": r2$$data$$catalog_catalog$$maintenance$$update$$request, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size$, + "r2-data-catalog_compaction-update-params": r2$$data$$catalog_compaction$$update$$params, + "r2-data-catalog_snapshot-expiration-update-params": r2$$data$$catalog_snapshot$$expiration$$update$$params, }, }, outputSchema: { @@ -202,16 +218,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, - "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, + "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, annotations: { @@ -262,17 +278,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, - "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, + "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts index 354b4e501..61e7212dc 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts @@ -3,68 +3,76 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - r2_data_catalog_api_response_common_failure_output, - r2_data_catalog_api_response_errors_output, - r2_data_catalog_api_response_messages_output, - r2_data_catalog_api_response_single_output, - r2_data_catalog_api_response_success_output, - r2_data_catalog_catalog_maintenance_state_output, - r2_data_catalog_catalog_target_file_size_output, - r2_data_catalog_maintenance_interval_output, - r2_data_catalog_queue_maintenance_response_output, - r2_data_catalog_table_compaction_config_output, - r2_data_catalog_table_maintenance_config_output, - r2_data_catalog_table_maintenance_config_response_output, - r2_data_catalog_table_snapshot_expiration_config_output, + r2$$data$$catalog_api$$response$$common$$failure, + r2$$data$$catalog_api$$response$$errors, + r2$$data$$catalog_api$$response$$messages, + r2$$data$$catalog_api$$response$$single, + r2$$data$$catalog_api$$response$$success, + r2$$data$$catalog_catalog$$maintenance$$state, + r2$$data$$catalog_catalog$$target$$file$$size, + r2$$data$$catalog_maintenance$$interval, + r2$$data$$catalog_queue$$maintenance$$response, + r2$$data$$catalog_table$$compaction$$config, + r2$$data$$catalog_table$$maintenance$$config, + r2$$data$$catalog_table$$maintenance$$config$$response, + r2$$data$$catalog_table$$snapshot$$expiration$$config, } from "../../../../outputs.js"; import { - r2_data_catalog_account_id, - r2_data_catalog_bucket_name, - r2_data_catalog_catalog_maintenance_state, - r2_data_catalog_catalog_target_file_size, - r2_data_catalog_queue_maintenance_request, - r2_data_catalog_snapshot_expiration_update_params, - r2_data_catalog_table_compaction_update_params, - r2_data_catalog_table_maintenance_update_request, + r2$$data$$catalog_account$$id, + r2$$data$$catalog_bucket$$name, + r2$$data$$catalog_catalog$$maintenance$$state as r2$$data$$catalog_catalog$$maintenance$$state$, + r2$$data$$catalog_catalog$$target$$file$$size as r2$$data$$catalog_catalog$$target$$file$$size$, + r2$$data$$catalog_queue$$maintenance$$request, + r2$$data$$catalog_snapshot$$expiration$$update$$params, + r2$$data$$catalog_table$$compaction$$update$$params, + r2$$data$$catalog_table$$maintenance$$update$$request, } from "../../../../schemas.js"; /** - * The tools of `basin_catalog.namespaces.tables.maintenance_configs`. + * The tools of `basinCatalog.namespaces.tables.maintenanceConfigs`. */ export const tools: readonly Tool[] = [ { - name: "basin_catalog_namespaces_tables_maintenance_configs_get", + name: "basinCatalog_namespaces_tables_maintenanceConfigs_get", title: "Get table maintenance configuration", description: "Retrieve the maintenance configuration for a specific table,\nincluding compaction settings.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." - }, - "namespace": { - "description": "The namespace identifier (use %1F as separator for nested namespaces).", - "type": "string" - }, - "table_name": { - "description": "The table name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + }, + "namespace": { + "description": "The namespace identifier (use %1F as separator for nested namespaces).", + "type": "string" + }, + "table_name": { + "description": "The table name.", + "type": "string" + } + }, + "required": [ + "account_id", + "bucket_name", + "namespace", + "table_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "namespace", - "table_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, outputSchema: { @@ -82,17 +90,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_table-compaction-config": r2_data_catalog_table_compaction_config_output, - "r2-data-catalog_table-maintenance-config": r2_data_catalog_table_maintenance_config_output, - "r2-data-catalog_table-maintenance-config-response": r2_data_catalog_table_maintenance_config_response_output, - "r2-data-catalog_table-snapshot-expiration-config": r2_data_catalog_table_snapshot_expiration_config_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_table-compaction-config": r2$$data$$catalog_table$$compaction$$config, + "r2-data-catalog_table-maintenance-config": r2$$data$$catalog_table$$maintenance$$config, + "r2-data-catalog_table-maintenance-config-response": r2$$data$$catalog_table$$maintenance$$config$$response, + "r2-data-catalog_table-snapshot-expiration-config": r2$$data$$catalog_table$$snapshot$$expiration$$config, }, }, annotations: { @@ -144,18 +152,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_table-compaction-config": r2_data_catalog_table_compaction_config_output, - "r2-data-catalog_table-maintenance-config": r2_data_catalog_table_maintenance_config_output, - "r2-data-catalog_table-maintenance-config-response": r2_data_catalog_table_maintenance_config_response_output, - "r2-data-catalog_table-snapshot-expiration-config": r2_data_catalog_table_snapshot_expiration_config_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_table-compaction-config": r2$$data$$catalog_table$$compaction$$config, + "r2-data-catalog_table-maintenance-config": r2$$data$$catalog_table$$maintenance$$config, + "r2-data-catalog_table-maintenance-config-response": r2$$data$$catalog_table$$maintenance$$config$$response, + "r2-data-catalog_table-snapshot-expiration-config": r2$$data$$catalog_table$$snapshot$$expiration$$config, }, }, request: (args) => ({ @@ -163,49 +171,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "basin_catalog_namespaces_tables_maintenance_configs_queue", + name: "basinCatalog_namespaces_tables_maintenanceConfigs_queue", title: "Queue table maintenance", description: "Queue maintenance for normal polling. This request does not start a run.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Use this to identify the account." - }, "body": { "$ref": "#/$defs/r2-data-catalog_queue-maintenance-request" }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." - }, - "configuration_type": { - "enum": [ - "compaction", - "snapshot_expiration" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Use this to identify the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + }, + "configuration_type": { + "enum": [ + "compaction", + "snapshot_expiration" + ], + "type": "string" + }, + "namespace": { + "type": "string" + }, + "table_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "bucket_name", + "namespace", + "table_name", + "configuration_type" ], - "type": "string" - }, - "namespace": { - "type": "string" - }, - "table_name": { - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "namespace", - "table_name", - "configuration_type", + "path", "body" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, - "r2-data-catalog_queue-maintenance-request": r2_data_catalog_queue_maintenance_request, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, + "r2-data-catalog_queue-maintenance-request": r2$$data$$catalog_queue$$maintenance$$request, }, }, outputSchema: { @@ -223,11 +239,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_queue-maintenance-response": r2_data_catalog_queue_maintenance_response_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_queue-maintenance-response": r2$$data$$catalog_queue$$maintenance$$response, }, }, annotations: { @@ -273,12 +289,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_queue-maintenance-response": r2_data_catalog_queue_maintenance_response_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_queue-maintenance-response": r2$$data$$catalog_queue$$maintenance$$response, }, }, request: (args) => ({ @@ -287,47 +303,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "basin_catalog_namespaces_tables_maintenance_configs_update", + name: "basinCatalog_namespaces_tables_maintenanceConfigs_update", title: "Update table maintenance configuration", description: "Update the maintenance configuration for a specific table. This allows you to\nenable or disable compaction and adjust target file sizes for optimization.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, "body": { "$ref": "#/$defs/r2-data-catalog_table-maintenance-update-request" }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." - }, - "namespace": { - "description": "The namespace identifier (use %1F as separator for nested namespaces).", - "type": "string" - }, - "table_name": { - "description": "The table name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + }, + "namespace": { + "description": "The namespace identifier (use %1F as separator for nested namespaces).", + "type": "string" + }, + "table_name": { + "description": "The table name.", + "type": "string" + } + }, + "required": [ + "account_id", + "bucket_name", + "namespace", + "table_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "namespace", - "table_name", + "path", "body" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size, - "r2-data-catalog_snapshot-expiration-update-params": r2_data_catalog_snapshot_expiration_update_params, - "r2-data-catalog_table-compaction-update-params": r2_data_catalog_table_compaction_update_params, - "r2-data-catalog_table-maintenance-update-request": r2_data_catalog_table_maintenance_update_request, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state$, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size$, + "r2-data-catalog_snapshot-expiration-update-params": r2$$data$$catalog_snapshot$$expiration$$update$$params, + "r2-data-catalog_table-compaction-update-params": r2$$data$$catalog_table$$compaction$$update$$params, + "r2-data-catalog_table-maintenance-update-request": r2$$data$$catalog_table$$maintenance$$update$$request, }, }, outputSchema: { @@ -345,16 +369,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_table-compaction-config": r2_data_catalog_table_compaction_config_output, - "r2-data-catalog_table-maintenance-config": r2_data_catalog_table_maintenance_config_output, - "r2-data-catalog_table-snapshot-expiration-config": r2_data_catalog_table_snapshot_expiration_config_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_table-compaction-config": r2$$data$$catalog_table$$compaction$$config, + "r2-data-catalog_table-maintenance-config": r2$$data$$catalog_table$$maintenance$$config, + "r2-data-catalog_table-snapshot-expiration-config": r2$$data$$catalog_table$$snapshot$$expiration$$config, }, }, annotations: { @@ -405,17 +429,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_table-compaction-config": r2_data_catalog_table_compaction_config_output, - "r2-data-catalog_table-maintenance-config": r2_data_catalog_table_maintenance_config_output, - "r2-data-catalog_table-snapshot-expiration-config": r2_data_catalog_table_snapshot_expiration_config_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_table-compaction-config": r2$$data$$catalog_table$$compaction$$config, + "r2-data-catalog_table-maintenance-config": r2$$data$$catalog_table$$maintenance$$config, + "r2-data-catalog_table-snapshot-expiration-config": r2$$data$$catalog_table$$snapshot$$expiration$$config, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts index 8a83111a7..a1a94a13f 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts @@ -1,63 +1,76 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - r2_data_catalog_api_response_common_failure_output, - r2_data_catalog_api_response_errors_output, - r2_data_catalog_api_response_messages_output, - r2_data_catalog_api_response_single_output, - r2_data_catalog_api_response_success_output, - r2_data_catalog_maintenance_run_operation_output, - r2_data_catalog_maintenance_run_record_output, - r2_data_catalog_maintenance_runs_response_output, + r2$$data$$catalog_api$$response$$common$$failure, + r2$$data$$catalog_api$$response$$errors, + r2$$data$$catalog_api$$response$$messages, + r2$$data$$catalog_api$$response$$single, + r2$$data$$catalog_api$$response$$success, + r2$$data$$catalog_maintenance$$run$$operation, + r2$$data$$catalog_maintenance$$run$$record, + r2$$data$$catalog_maintenance$$runs$$response, } from "../../../../outputs.js"; import { - r2_data_catalog_account_id, - r2_data_catalog_bucket_name, + r2$$data$$catalog_account$$id, + r2$$data$$catalog_bucket$$name, } from "../../../../schemas.js"; /** - * The tools of `basin_catalog.namespaces.tables.maintenance_runs`. + * The tools of `basinCatalog.namespaces.tables.maintenanceRuns`. */ export const tools: readonly Tool[] = [ { - name: "basin_catalog_namespaces_tables_maintenance_runs_list", + name: "basinCatalog_namespaces_tables_maintenanceRuns_list", title: "List table maintenance runs", description: "Retrieves recent table maintenance runs for the current table.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Use this to identify the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." - }, - "namespace": { - "type": "string" - }, - "page_size": { - "type": "integer" - }, - "page_token": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Use this to identify the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + }, + "namespace": { + "type": "string" + }, + "table_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "bucket_name", + "namespace", + "table_name" + ], + "type": "object" }, - "table_name": { - "type": "string" + "query": { + "properties": { + "page_size": { + "type": "integer" + }, + "page_token": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "namespace", - "table_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, outputSchema: { @@ -75,13 +88,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_maintenance-run-operation": r2_data_catalog_maintenance_run_operation_output, - "r2-data-catalog_maintenance-run-record": r2_data_catalog_maintenance_run_record_output, - "r2-data-catalog_maintenance-runs-response": r2_data_catalog_maintenance_runs_response_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_maintenance-run-operation": r2$$data$$catalog_maintenance$$run$$operation, + "r2-data-catalog_maintenance-run-record": r2$$data$$catalog_maintenance$$run$$record, + "r2-data-catalog_maintenance-runs-response": r2$$data$$catalog_maintenance$$runs$$response, }, }, annotations: { @@ -124,21 +137,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_maintenance-run-operation": r2_data_catalog_maintenance_run_operation_output, - "r2-data-catalog_maintenance-run-record": r2_data_catalog_maintenance_run_record_output, - "r2-data-catalog_maintenance-runs-response": r2_data_catalog_maintenance_runs_response_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_maintenance-run-operation": r2$$data$$catalog_maintenance$$run$$operation, + "r2-data-catalog_maintenance-run-record": r2$$data$$catalog_maintenance$$run$$record, + "r2-data-catalog_maintenance-runs-response": r2$$data$$catalog_maintenance$$runs$$response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces/${pathParam(args, "namespace")}/tables/${pathParam(args, "table_name")}/maintenance-runs`, query: [ - ["page_size", args["page_size"], true], - ["page_token", args["page_token"], true], + ["page_size", param(args, "query", "page_size"), true], + ["page_token", param(args, "query", "page_token"), true], ], }), }, diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts index ba6d44dc1..efa098ade 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts @@ -1,62 +1,70 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - r2_data_catalog_api_response_common_failure_output, - r2_data_catalog_api_response_errors_output, - r2_data_catalog_api_response_messages_output, - r2_data_catalog_api_response_single_output, - r2_data_catalog_api_response_success_output, - r2_data_catalog_get_table_response_output, - r2_data_catalog_namespace_identifier_output, - r2_data_catalog_table_details_output, - r2_data_catalog_table_identifier_output, - r2_data_catalog_table_list_response_output, - r2_data_catalog_table_metadata_output, + r2$$data$$catalog_api$$response$$common$$failure, + r2$$data$$catalog_api$$response$$errors, + r2$$data$$catalog_api$$response$$messages, + r2$$data$$catalog_api$$response$$single, + r2$$data$$catalog_api$$response$$success, + r2$$data$$catalog_get$$table$$response, + r2$$data$$catalog_namespace$$identifier, + r2$$data$$catalog_table$$details, + r2$$data$$catalog_table$$identifier, + r2$$data$$catalog_table$$list$$response, + r2$$data$$catalog_table$$metadata, } from "../../../outputs.js"; import { - r2_data_catalog_account_id, - r2_data_catalog_bucket_name, + r2$$data$$catalog_account$$id, + r2$$data$$catalog_bucket$$name, } from "../../../schemas.js"; /** - * The tools of `basin_catalog.namespaces.tables`. + * The tools of `basinCatalog.namespaces.tables`. */ export const tools: readonly Tool[] = [ { - name: "basin_catalog_namespaces_tables_get", + name: "basinCatalog_namespaces_tables_get", title: "Get table details", description: "Returns full Apache Iceberg metadata for a single table: schema,\npartition specs, sort orders, properties, and recent snapshot history.\nDesigned for catalog introspection UIs that need per-table details\nwithout holding R2 credentials.\n\nThe `metadata.snapshots`, `metadata.snapshot-log`, and\n`metadata.metadata-log` arrays are pruned to the most recent 10\nentries by `timestamp-ms`. Use `total_snapshots` and\n`returned_snapshots` to surface the truncation to end users.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." - }, - "namespace": { - "description": "The namespace identifier.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\n", - "type": "string" - }, - "table_name": { - "description": "The table name within the given namespace.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + }, + "namespace": { + "description": "The namespace identifier.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\n", + "type": "string" + }, + "table_name": { + "description": "The table name within the given namespace.", + "type": "string" + } + }, + "required": [ + "account_id", + "bucket_name", + "namespace", + "table_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "namespace", - "table_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, outputSchema: { @@ -74,14 +82,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_get-table-response": r2_data_catalog_get_table_response_output, - "r2-data-catalog_namespace-identifier": r2_data_catalog_namespace_identifier_output, - "r2-data-catalog_table-identifier": r2_data_catalog_table_identifier_output, - "r2-data-catalog_table-metadata": r2_data_catalog_table_metadata_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_get-table-response": r2$$data$$catalog_get$$table$$response, + "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, + "r2-data-catalog_table-identifier": r2$$data$$catalog_table$$identifier, + "r2-data-catalog_table-metadata": r2$$data$$catalog_table$$metadata, }, }, annotations: { @@ -133,15 +141,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_get-table-response": r2_data_catalog_get_table_response_output, - "r2-data-catalog_namespace-identifier": r2_data_catalog_namespace_identifier_output, - "r2-data-catalog_table-identifier": r2_data_catalog_table_identifier_output, - "r2-data-catalog_table-metadata": r2_data_catalog_table_metadata_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_get-table-response": r2$$data$$catalog_get$$table$$response, + "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, + "r2-data-catalog_table-identifier": r2$$data$$catalog_table$$identifier, + "r2-data-catalog_table-metadata": r2$$data$$catalog_table$$metadata, }, }, request: (args) => ({ @@ -149,52 +157,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "basin_catalog_namespaces_tables_list", + name: "basinCatalog_namespaces_tables_list", title: "List tables in namespace", description: "Returns a list of tables in the specified namespace within a Basin Catalog.\nSupports pagination for efficient traversal of large table collections.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." - }, - "namespace": { - "description": "The namespace identifier.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\n", - "type": "string" - }, - "page_size": { - "default": 100, - "description": "Maximum number of tables to return per page.\nDefaults to 100, maximum 1000.\n", - "type": "integer" - }, - "page_token": { - "description": "Opaque pagination token from a previous response.\nUse this to fetch the next page of results.\n", - "type": "string" - }, - "return_details": { - "default": false, - "description": "Whether to include additional metadata (timestamps, locations).\nWhen true, response includes created_at, updated_at, metadata_locations, and locations arrays.\n", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + }, + "namespace": { + "description": "The namespace identifier.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\n", + "type": "string" + } + }, + "required": [ + "account_id", + "bucket_name", + "namespace" + ], + "type": "object" }, - "return_uuids": { - "default": false, - "description": "Whether to include table UUIDs in the response.\nSet to true to receive the table_uuids array.\n", - "type": "boolean" + "query": { + "properties": { + "page_size": { + "default": 100, + "description": "Maximum number of tables to return per page.\nDefaults to 100, maximum 1000.\n", + "type": "integer" + }, + "page_token": { + "description": "Opaque pagination token from a previous response.\nUse this to fetch the next page of results.\n", + "type": "string" + }, + "return_details": { + "default": false, + "description": "Whether to include additional metadata (timestamps, locations).\nWhen true, response includes created_at, updated_at, metadata_locations, and locations arrays.\n", + "type": "boolean" + }, + "return_uuids": { + "default": false, + "description": "Whether to include table UUIDs in the response.\nSet to true to receive the table_uuids array.\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "namespace" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, outputSchema: { @@ -212,14 +233,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_namespace-identifier": r2_data_catalog_namespace_identifier_output, - "r2-data-catalog_table-details": r2_data_catalog_table_details_output, - "r2-data-catalog_table-identifier": r2_data_catalog_table_identifier_output, - "r2-data-catalog_table-list-response": r2_data_catalog_table_list_response_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, + "r2-data-catalog_table-details": r2$$data$$catalog_table$$details, + "r2-data-catalog_table-identifier": r2$$data$$catalog_table$$identifier, + "r2-data-catalog_table-list-response": r2$$data$$catalog_table$$list$$response, }, }, annotations: { @@ -271,24 +292,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_namespace-identifier": r2_data_catalog_namespace_identifier_output, - "r2-data-catalog_table-details": r2_data_catalog_table_details_output, - "r2-data-catalog_table-identifier": r2_data_catalog_table_identifier_output, - "r2-data-catalog_table-list-response": r2_data_catalog_table_list_response_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, + "r2-data-catalog_table-details": r2$$data$$catalog_table$$details, + "r2-data-catalog_table-identifier": r2$$data$$catalog_table$$identifier, + "r2-data-catalog_table-list-response": r2$$data$$catalog_table$$list$$response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces/${pathParam(args, "namespace")}/tables`, query: [ - ["page_token", args["page_token"], true], - ["page_size", args["page_size"], true], - ["return_uuids", args["return_uuids"], true], - ["return_details", args["return_details"], true], + ["page_token", param(args, "query", "page_token"), true], + ["page_size", param(args, "query", "page_size"), true], + ["return_uuids", param(args, "query", "return_uuids"), true], + ["return_details", param(args, "query", "return_details"), true], ], }), }, diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts index 4366cf01e..e4fdd63a7 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts @@ -1,72 +1,85 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - r2_data_catalog_api_response_common_failure_output, - r2_data_catalog_api_response_errors_output, - r2_data_catalog_api_response_messages_output, - r2_data_catalog_api_response_single_output, - r2_data_catalog_api_response_success_output, - r2_data_catalog_namespace_details_output, - r2_data_catalog_namespace_identifier_output, - r2_data_catalog_namespace_list_response_output, + r2$$data$$catalog_api$$response$$common$$failure, + r2$$data$$catalog_api$$response$$errors, + r2$$data$$catalog_api$$response$$messages, + r2$$data$$catalog_api$$response$$single, + r2$$data$$catalog_api$$response$$success, + r2$$data$$catalog_namespace$$details, + r2$$data$$catalog_namespace$$identifier, + r2$$data$$catalog_namespace$$list$$response, } from "../../outputs.js"; import { - r2_data_catalog_account_id, - r2_data_catalog_bucket_name, + r2$$data$$catalog_account$$id, + r2$$data$$catalog_bucket$$name, } from "../../schemas.js"; /** - * The tools of `basin_catalog.namespaces`. + * The tools of `basinCatalog.namespaces`. */ export const tools: readonly Tool[] = [ { - name: "basin_catalog_namespaces_list", + name: "basinCatalog_namespaces_list", title: "List namespaces in catalog", description: "Returns a list of namespaces in the specified Basin Catalog.\nSupports hierarchical filtering and pagination for efficient traversal\nof large namespace hierarchies.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." - }, - "page_size": { - "default": 100, - "description": "Maximum number of namespaces to return per page.\nDefaults to 100, maximum 1000.\n", - "type": "integer" - }, - "page_token": { - "description": "Opaque pagination token from a previous response.\nUse this to fetch the next page of results.\n", - "type": "string" - }, - "parent": { - "description": "Parent namespace to filter by. Only returns direct children of this namespace.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\nOmit this parameter to list top-level namespaces.\n", - "type": "string" - }, - "return_details": { - "default": false, - "description": "Whether to include additional metadata (timestamps).\nWhen true, response includes created_at and updated_at arrays.\n", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" }, - "return_uuids": { - "default": false, - "description": "Whether to include namespace UUIDs in the response.\nSet to true to receive the namespace_uuids array.\n", - "type": "boolean" + "query": { + "properties": { + "page_size": { + "default": 100, + "description": "Maximum number of namespaces to return per page.\nDefaults to 100, maximum 1000.\n", + "type": "integer" + }, + "page_token": { + "description": "Opaque pagination token from a previous response.\nUse this to fetch the next page of results.\n", + "type": "string" + }, + "parent": { + "description": "Parent namespace to filter by. Only returns direct children of this namespace.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\nOmit this parameter to list top-level namespaces.\n", + "type": "string" + }, + "return_details": { + "default": false, + "description": "Whether to include additional metadata (timestamps).\nWhen true, response includes created_at and updated_at arrays.\n", + "type": "boolean" + }, + "return_uuids": { + "default": false, + "description": "Whether to include namespace UUIDs in the response.\nSet to true to receive the namespace_uuids array.\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, outputSchema: { @@ -84,13 +97,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_namespace-details": r2_data_catalog_namespace_details_output, - "r2-data-catalog_namespace-identifier": r2_data_catalog_namespace_identifier_output, - "r2-data-catalog_namespace-list-response": r2_data_catalog_namespace_list_response_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_namespace-details": r2$$data$$catalog_namespace$$details, + "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, + "r2-data-catalog_namespace-list-response": r2$$data$$catalog_namespace$$list$$response, }, }, annotations: { @@ -142,24 +155,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_namespace-details": r2_data_catalog_namespace_details_output, - "r2-data-catalog_namespace-identifier": r2_data_catalog_namespace_identifier_output, - "r2-data-catalog_namespace-list-response": r2_data_catalog_namespace_list_response_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_namespace-details": r2$$data$$catalog_namespace$$details, + "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, + "r2-data-catalog_namespace-list-response": r2$$data$$catalog_namespace$$list$$response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/namespaces`, query: [ - ["page_token", args["page_token"], true], - ["page_size", args["page_size"], true], - ["parent", args["parent"], true], - ["return_uuids", args["return_uuids"], true], - ["return_details", args["return_details"], true], + ["page_token", param(args, "query", "page_token"), true], + ["page_size", param(args, "query", "page_size"), true], + ["parent", param(args, "query", "parent"), true], + ["return_uuids", param(args, "query", "return_uuids"), true], + ["return_details", param(args, "query", "return_details"), true], ], }), }, diff --git a/src/generated/forge-mcp/basinCatalog/tools.ts b/src/generated/forge-mcp/basinCatalog/tools.ts index 9ac7fe8f1..16c4621a4 100644 --- a/src/generated/forge-mcp/basinCatalog/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/tools.ts @@ -1,64 +1,77 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - r2_data_catalog_api_response_common_failure_output, - r2_data_catalog_api_response_errors_output, - r2_data_catalog_api_response_messages_output, - r2_data_catalog_api_response_single_output, - r2_data_catalog_api_response_success_output, - r2_data_catalog_catalog_activation_response_output, - r2_data_catalog_catalog_compaction_config_output, - r2_data_catalog_catalog_list_output, - r2_data_catalog_catalog_maintenance_config_output, - r2_data_catalog_catalog_maintenance_state_output, - r2_data_catalog_catalog_output, - r2_data_catalog_catalog_status_output, - r2_data_catalog_catalog_target_file_size_output, - r2_data_catalog_credential_status_output, - r2_data_catalog_maintenance_interval_output, - r2_data_catalog_snapshot_expiration_config_output, + r2$$data$$catalog_api$$response$$common$$failure, + r2$$data$$catalog_api$$response$$errors, + r2$$data$$catalog_api$$response$$messages, + r2$$data$$catalog_api$$response$$single, + r2$$data$$catalog_api$$response$$success, + r2$$data$$catalog_catalog, + r2$$data$$catalog_catalog$$activation$$response, + r2$$data$$catalog_catalog$$compaction$$config, + r2$$data$$catalog_catalog$$list, + r2$$data$$catalog_catalog$$maintenance$$config, + r2$$data$$catalog_catalog$$maintenance$$state, + r2$$data$$catalog_catalog$$status, + r2$$data$$catalog_catalog$$target$$file$$size, + r2$$data$$catalog_credential$$status, + r2$$data$$catalog_maintenance$$interval, + r2$$data$$catalog_snapshot$$expiration$$config, } from "../outputs.js"; import { - r2_data_catalog_account_id, - r2_data_catalog_bucket_name, - r2_data_catalog_catalog_activation_request, - r2_data_catalog_catalog_credential_request, + r2$$data$$catalog_account$$id, + r2$$data$$catalog_bucket$$name, + r2$$data$$catalog_catalog$$activation$$request, + r2$$data$$catalog_catalog$$credential$$request, } from "../schemas.js"; /** - * The tools of `basin_catalog`. + * The tools of `basinCatalog`. */ export const tools: readonly Tool[] = [ { - name: "basin_catalog_delete", + name: "basinCatalog_delete", title: "Delete Basin Catalog metadata", description: "Removes the catalog from the control plane without deleting R2 bucket objects.\nSet force=true to remove catalog namespaces, tables, views, and maintenance\nmetadata. Force deletion is limited to a configured catalog object count.\n\nConfirm with the user before calling this tool. This removes catalog metadata. R2 bucket objects are retained.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Use this to identify the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Use this to identify the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" }, - "cascade": { - "default": false, - "description": "Remove child metadata before deleting the catalog.", - "type": "boolean" + "query": { + "properties": { + "force": { + "default": false, + "description": "Remove child metadata before deleting the catalog.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, annotations: { @@ -89,39 +102,47 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/basin-catalog/${pathParam(args, "bucket_name")}/delete`, query: [ - ["force", args["cascade"], true], + ["force", param(args, "query", "force"), true], ], }), }, { - name: "basin_catalog_disable", + name: "basinCatalog_disable", title: "Disable Basin Catalog", description: "Disable an R2 bucket as a catalog. This operation deactivates the catalog\nbut preserves existing metadata and data files. The catalog can be\nre-enabled later.\n\nConfirm with the user before calling this tool. This operation turns off the data catalog for the bucket. Existing namespace or table state remains, but writes stop.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name to disable as catalog." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name to disable as catalog." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, annotations: { @@ -158,7 +179,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, }, }, request: (args) => ({ @@ -166,33 +187,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "basin_catalog_enable", + name: "basinCatalog_enable", title: "Enable R2 bucket as a catalog", description: "Enable an R2 bucket as an Apache Iceberg catalog. This operation creates\nthe necessary catalog infrastructure and activates the bucket for storing\nIceberg metadata and data files.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, "body": { "$ref": "#/$defs/r2-data-catalog_catalog-activation-request" }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name to enable as catalog." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name to enable as catalog." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, - "r2-data-catalog_catalog-activation-request": r2_data_catalog_catalog_activation_request, - "r2-data-catalog_catalog-credential-request": r2_data_catalog_catalog_credential_request, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, + "r2-data-catalog_catalog-activation-request": r2$$data$$catalog_catalog$$activation$$request, + "r2-data-catalog_catalog-credential-request": r2$$data$$catalog_catalog$$credential$$request, }, }, outputSchema: { @@ -210,11 +239,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-activation-response": r2_data_catalog_catalog_activation_response_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-activation-response": r2$$data$$catalog_catalog$$activation$$response, }, }, annotations: { @@ -268,12 +297,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog-activation-response": r2_data_catalog_catalog_activation_response_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog-activation-response": r2$$data$$catalog_catalog$$activation$$response, }, }, request: (args) => ({ @@ -282,28 +311,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "basin_catalog_get", + name: "basinCatalog_get", title: "Get Basin Catalog details", description: "Retrieve detailed information about a specific Basin Catalog by bucket name.\nReturns catalog status, maintenance configuration, and credential status.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." - }, - "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + }, + "bucket_name": { + "$ref": "#/$defs/r2-data-catalog_bucket-name", + "description": "Specifies the R2 bucket name." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, - "r2-data-catalog_bucket-name": r2_data_catalog_bucket_name, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, + "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, }, }, outputSchema: { @@ -321,19 +358,19 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog": r2_data_catalog_catalog_output, - "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, - "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-status": r2_data_catalog_catalog_status_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_credential-status": r2_data_catalog_credential_status_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog": r2$$data$$catalog_catalog, + "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, + "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-status": r2$$data$$catalog_catalog$$status, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, annotations: { @@ -385,20 +422,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog": r2_data_catalog_catalog_output, - "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, - "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-status": r2_data_catalog_catalog_status_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_credential-status": r2_data_catalog_credential_status_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog": r2$$data$$catalog_catalog, + "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, + "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-status": r2$$data$$catalog_catalog$$status, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, request: (args) => ({ @@ -406,22 +443,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "basin_catalog_list", + name: "basinCatalog_list", title: "List Basin Catalogs", description: "Returns a list of R2 buckets that have been enabled as Apache Iceberg catalogs\nfor the specified account. Each catalog represents an R2 bucket configured\nto store Iceberg metadata and data files.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2-data-catalog_account-id", + "description": "Identifies the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "r2-data-catalog_account-id": r2_data_catalog_account_id, + "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, }, }, outputSchema: { @@ -439,20 +484,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog": r2_data_catalog_catalog_output, - "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, - "r2-data-catalog_catalog-list": r2_data_catalog_catalog_list_output, - "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-status": r2_data_catalog_catalog_status_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_credential-status": r2_data_catalog_credential_status_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog": r2$$data$$catalog_catalog, + "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, + "r2-data-catalog_catalog-list": r2$$data$$catalog_catalog$$list, + "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-status": r2$$data$$catalog_catalog$$status, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, annotations: { @@ -501,21 +546,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-data-catalog_api-response-common-failure": r2_data_catalog_api_response_common_failure_output, - "r2-data-catalog_api-response-errors": r2_data_catalog_api_response_errors_output, - "r2-data-catalog_api-response-messages": r2_data_catalog_api_response_messages_output, - "r2-data-catalog_api-response-single": r2_data_catalog_api_response_single_output, - "r2-data-catalog_api-response-success": r2_data_catalog_api_response_success_output, - "r2-data-catalog_catalog": r2_data_catalog_catalog_output, - "r2-data-catalog_catalog-compaction-config": r2_data_catalog_catalog_compaction_config_output, - "r2-data-catalog_catalog-list": r2_data_catalog_catalog_list_output, - "r2-data-catalog_catalog-maintenance-config": r2_data_catalog_catalog_maintenance_config_output, - "r2-data-catalog_catalog-maintenance-state": r2_data_catalog_catalog_maintenance_state_output, - "r2-data-catalog_catalog-status": r2_data_catalog_catalog_status_output, - "r2-data-catalog_catalog-target-file-size": r2_data_catalog_catalog_target_file_size_output, - "r2-data-catalog_credential-status": r2_data_catalog_credential_status_output, - "r2-data-catalog_maintenance-interval": r2_data_catalog_maintenance_interval_output, - "r2-data-catalog_snapshot-expiration-config": r2_data_catalog_snapshot_expiration_config_output, + "r2-data-catalog_api-response-common-failure": r2$$data$$catalog_api$$response$$common$$failure, + "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, + "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, + "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, + "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, + "r2-data-catalog_catalog": r2$$data$$catalog_catalog, + "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, + "r2-data-catalog_catalog-list": r2$$data$$catalog_catalog$$list, + "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, + "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, + "r2-data-catalog_catalog-status": r2$$data$$catalog_catalog$$status, + "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, + "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, + "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, + "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/billing/addresses/outputs.ts b/src/generated/forge-mcp/billing/addresses/outputs.ts index 04a9f39c1..0c8b7e48a 100644 --- a/src/generated/forge-mcp/billing/addresses/outputs.ts +++ b/src/generated/forge-mcp/billing/addresses/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `bill-subs-api_address_validation_response_single` in * responses. */ -export const bill_subs_api_address_validation_response_single_output: JsonSchema = { +export const bill$$subs$$api_address_validation_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" @@ -34,7 +34,7 @@ export const bill_subs_api_address_validation_response_single_output: JsonSchema /** * The schema of `bill-subs-api_validated_address` in responses. */ -export const bill_subs_api_validated_address_output: JsonSchema = { +export const bill$$subs$$api_validated_address: JsonSchema = { "properties": { "address": { "type": "string" diff --git a/src/generated/forge-mcp/billing/addresses/schemas.ts b/src/generated/forge-mcp/billing/addresses/schemas.ts index 8ed1c5560..2692be03e 100644 --- a/src/generated/forge-mcp/billing/addresses/schemas.ts +++ b/src/generated/forge-mcp/billing/addresses/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bill-subs-api_address_validation_request`. */ -export const bill_subs_api_address_validation_request: JsonSchema = { +export const bill$$subs$$api_address_validation_request: JsonSchema = { "properties": { "address": { "description": "Address line 1.", diff --git a/src/generated/forge-mcp/billing/addresses/tools.ts b/src/generated/forge-mcp/billing/addresses/tools.ts index e74d1b7e3..b1369c3f0 100644 --- a/src/generated/forge-mcp/billing/addresses/tools.ts +++ b/src/generated/forge-mcp/billing/addresses/tools.ts @@ -3,16 +3,16 @@ import type { Tool } from "../../_/tool.js"; import { - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_api_response_single_output, - bill_subs_api_messages_output, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_api$$response$$single, + bill$$subs$$api_messages, } from "../../outputs.js"; import { - bill_subs_api_address_validation_response_single_output, - bill_subs_api_validated_address_output, + bill$$subs$$api_address_validation_response_single, + bill$$subs$$api_validated_address, } from "./outputs.js"; -import { bill_subs_api_address_validation_request } from "./schemas.js"; +import { bill$$subs$$api_address_validation_request } from "./schemas.js"; /** * The tools of `billing.addresses`. @@ -33,17 +33,17 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "bill-subs-api_address_validation_request": bill_subs_api_address_validation_request, + "bill-subs-api_address_validation_request": bill$$subs$$api_address_validation_request, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_address_validation_response_single", $defs: { - "bill-subs-api_address_validation_response_single": bill_subs_api_address_validation_response_single_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_validated_address": bill_subs_api_validated_address_output, + "bill-subs-api_address_validation_response_single": bill$$subs$$api_address_validation_response_single, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_validated_address": bill$$subs$$api_validated_address, }, }, annotations: { @@ -73,12 +73,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_address_validation_response_single": bill_subs_api_address_validation_response_single_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_validated_address": bill_subs_api_validated_address_output, + "bill-subs-api_address_validation_response_single": bill$$subs$$api_address_validation_response_single, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_validated_address": bill$$subs$$api_validated_address, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/billing/profiles/outputs.ts b/src/generated/forge-mcp/billing/profiles/outputs.ts index 5a49a3392..2be4806f5 100644 --- a/src/generated/forge-mcp/billing/profiles/outputs.ts +++ b/src/generated/forge-mcp/billing/profiles/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bill-subs-api_payment_intent_response_single` in responses. */ -export const bill_subs_api_payment_intent_response_single_output: JsonSchema = { +export const bill$$subs$$api_payment_intent_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" diff --git a/src/generated/forge-mcp/billing/profiles/schemas.ts b/src/generated/forge-mcp/billing/profiles/schemas.ts index fe837ccbe..1b490bf6e 100644 --- a/src/generated/forge-mcp/billing/profiles/schemas.ts +++ b/src/generated/forge-mcp/billing/profiles/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bill-subs-api_billing_profile_request`. */ -export const bill_subs_api_billing_profile_request: JsonSchema = { +export const bill$$subs$$api_billing_profile_request: JsonSchema = { "description": "Request body for creating or updating a billing profile.", "properties": { "address": { diff --git a/src/generated/forge-mcp/billing/profiles/tools.ts b/src/generated/forge-mcp/billing/profiles/tools.ts index ac90b9b85..1af2acf01 100644 --- a/src/generated/forge-mcp/billing/profiles/tools.ts +++ b/src/generated/forge-mcp/billing/profiles/tools.ts @@ -3,16 +3,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_api_response_single_output, - bill_subs_api_billing_response_single_output, - bill_subs_api_components_schemas_identifier_output, - bill_subs_api_messages_output, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_api$$response$$single, + bill$$subs$$api_billing_response_single, + bill$$subs$$api_components$$schemas$$identifier, + bill$$subs$$api_messages, } from "../../outputs.js"; -import { bill_subs_api_identifier } from "../../schemas.js"; -import { bill_subs_api_payment_intent_response_single_output } from "./outputs.js"; -import { bill_subs_api_billing_profile_request } from "./schemas.js"; +import { bill$$subs$$api_identifier } from "../../schemas.js"; +import { bill$$subs$$api_payment_intent_response_single } from "./outputs.js"; +import { bill$$subs$$api_billing_profile_request } from "./schemas.js"; /** * The tools of `billing.profiles`. @@ -25,31 +25,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/bill-subs-api_billing_profile_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "bill-subs-api_billing_profile_request": bill_subs_api_billing_profile_request, - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_billing_profile_request": bill$$subs$$api_billing_profile_request, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_billing_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_billing_response_single": bill_subs_api_billing_response_single_output, - "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, + "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -88,12 +96,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_billing_response_single": bill_subs_api_billing_response_single_output, - "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, + "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -102,31 +110,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "billing_profiles_create_payment_intent", + name: "billing_profiles_createPaymentIntent", title: "Create Payment Intent for Billing Profile", description: "Creates a Stripe payment intent for adding or updating a payment method on the account's billing profile. Returns a client secret for frontend payment method collection.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_payment_intent_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_intent_response_single": bill_subs_api_payment_intent_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_intent_response_single": bill$$subs$$api_payment_intent_response_single, }, }, annotations: { @@ -159,11 +175,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_payment_intent_response_single": bill_subs_api_payment_intent_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_payment_intent_response_single": bill$$subs$$api_payment_intent_response_single, }, }, request: (args) => ({ @@ -177,16 +193,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, annotations: { @@ -222,8 +246,8 @@ export const tools: readonly Tool[] = [ } }, $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, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -237,26 +261,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_billing_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_billing_response_single": bill_subs_api_billing_response_single_output, - "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, + "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -295,12 +327,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_billing_response_single": bill_subs_api_billing_response_single_output, - "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, + "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -314,31 +346,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/bill-subs-api_billing_profile_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "bill-subs-api_billing_profile_request": bill_subs_api_billing_profile_request, - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_billing_profile_request": bill$$subs$$api_billing_profile_request, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_billing_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_billing_response_single": bill_subs_api_billing_response_single_output, - "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, + "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -377,12 +417,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_billing_response_single": bill_subs_api_billing_response_single_output, - "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, + "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ @@ -391,16 +431,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "billing_profiles_update_email", + name: "billing_profiles_updateEmail", title: "Update Billing Email", description: "Updates the billing email addresses and preferred locale for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, "body": { "properties": { "billing_email": { @@ -414,24 +450,36 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_billing_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_billing_response_single": bill_subs_api_billing_response_single_output, - "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, + "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, annotations: { @@ -470,12 +518,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_billing_response_single": bill_subs_api_billing_response_single_output, - "bill-subs-api_components-schemas-identifier": bill_subs_api_components_schemas_identifier_output, - "bill-subs-api_messages": bill_subs_api_messages_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, + "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, + "bill-subs-api_messages": bill$$subs$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/billing/ratePlans/outputs.ts b/src/generated/forge-mcp/billing/ratePlans/outputs.ts index e23ed1a59..652b16ce9 100644 --- a/src/generated/forge-mcp/billing/ratePlans/outputs.ts +++ b/src/generated/forge-mcp/billing/ratePlans/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bill-subs-api_rate_plan_simple_response` in responses. */ -export const bill_subs_api_rate_plan_simple_response_output: JsonSchema = { +export const bill$$subs$$api_rate_plan_simple_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" diff --git a/src/generated/forge-mcp/billing/ratePlans/tools.ts b/src/generated/forge-mcp/billing/ratePlans/tools.ts index b90a68617..c50d6a738 100644 --- a/src/generated/forge-mcp/billing/ratePlans/tools.ts +++ b/src/generated/forge-mcp/billing/ratePlans/tools.ts @@ -3,40 +3,48 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_api_response_single_output, - bill_subs_api_messages_output, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_api$$response$$single, + bill$$subs$$api_messages, } from "../../outputs.js"; -import { bill_subs_api_rate_plan_simple_response_output } from "./outputs.js"; +import { bill$$subs$$api_rate_plan_simple_response } from "./outputs.js"; /** - * The tools of `billing.rate_plans`. + * The tools of `billing.ratePlans`. */ export const tools: readonly Tool[] = [ { - name: "billing_rate_plans_get", + name: "billing_ratePlans_get", title: "Get Rate Plan by Public Key", description: "Gets a rate plan's details by its public key (e.g., 'teams_free', 'cf_pro_20_20'). This is a public catalog endpoint, so authentication is not enforced and credentials are accepted but not required.", inputSchema: { type: "object", properties: { - "public_key": { - "description": "The public key identifier for the rate plan.", - "type": "string" + "path": { + "properties": { + "public_key": { + "description": "The public key identifier for the rate plan.", + "type": "string" + } + }, + "required": [ + "public_key" + ], + "type": "object" } }, required: [ - "public_key" + "path" ], }, outputSchema: { "$ref": "#/$defs/bill-subs-api_rate_plan_simple_response", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_rate_plan_simple_response": bill_subs_api_rate_plan_simple_response_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_rate_plan_simple_response": bill$$subs$$api_rate_plan_simple_response, }, }, annotations: { @@ -66,11 +74,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_rate_plan_simple_response": bill_subs_api_rate_plan_simple_response_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_rate_plan_simple_response": bill$$subs$$api_rate_plan_simple_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/billing/spendPolicies/activity/outputs.ts b/src/generated/forge-mcp/billing/spendPolicies/activity/outputs.ts index 1b7672249..c8ee16d55 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/activity/outputs.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/activity/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `billing-spend-policies_policy_activity_event` in responses. */ -export const billing_spend_policies_policy_activity_event_output: JsonSchema = { +export const billing$$spend$$policies_policy_activity_event: JsonSchema = { "properties": { "action": { "enum": [ @@ -72,7 +72,7 @@ export const billing_spend_policies_policy_activity_event_output: JsonSchema = { /** * The schema of `billing-spend-policies_policy_activity_response` in responses. */ -export const billing_spend_policies_policy_activity_response_output: JsonSchema = { +export const billing$$spend$$policies_policy_activity_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/billing-spend-policies_api-response-common-success" diff --git a/src/generated/forge-mcp/billing/spendPolicies/activity/tools.ts b/src/generated/forge-mcp/billing/spendPolicies/activity/tools.ts index 18509ed65..8434d9cac 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/activity/tools.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/activity/tools.ts @@ -1,67 +1,80 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - billing_spend_policies_api_response_common_failure_output, - billing_spend_policies_api_response_common_success_output, - billing_spend_policies_message_output, - billing_spend_policies_policy_action_output, - billing_spend_policies_policy_current_state_output, - billing_spend_policies_policy_id_output, - billing_spend_policies_policy_output, - billing_spend_policies_product_id_output, + billing$$spend$$policies_api$$response$$common$$failure, + billing$$spend$$policies_api$$response$$common$$success, + billing$$spend$$policies_message, + billing$$spend$$policies_policy, + billing$$spend$$policies_policy_action, + billing$$spend$$policies_policy_current_state, + billing$$spend$$policies_policy_id, + billing$$spend$$policies_product_id, } from "../outputs.js"; -import { billing_spend_policies_identifier } from "../schemas.js"; +import { billing$$spend$$policies_identifier } from "../schemas.js"; import { - billing_spend_policies_policy_activity_event_output, - billing_spend_policies_policy_activity_response_output, + billing$$spend$$policies_policy_activity_event, + billing$$spend$$policies_policy_activity_response, } from "./outputs.js"; /** - * The tools of `billing.spend_policies.activity`. + * The tools of `billing.spendPolicies.activity`. */ export const tools: readonly Tool[] = [ { - name: "billing_spend_policies_activity_list", + name: "billing_spendPolicies_activity_list", title: "List Spend Policy Activity", description: "Returns configuration history from immutable policy revisions for the account, including deleted policies. Entries contain before/after values and verified actor attribution. Pages use descending revision IDs, not event or commit order; refresh the first page for new entries. This cursor is not an incremental consumer checkpoint.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billing-spend-policies_identifier", + "description": "Identifies the Cloudflare account (account tag)." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "cursor": { - "description": "Opaque token from the preceding response's result_info.cursor. Pass it unchanged to retrieve older entries.", - "type": "string" - }, - "limit": { - "default": 50, - "description": "Maximum number of audit entries to return. Defaults to 50. Values above 100 are capped at 100 rather than rejected.", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Opaque token from the preceding response's result_info.cursor. Pass it unchanged to retrieve older entries.", + "type": "string" + }, + "limit": { + "default": 50, + "description": "Maximum number of audit entries to return. Defaults to 50. Values above 100 are capped at 100 rather than rejected.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "billing-spend-policies_identifier": billing_spend_policies_identifier, + "billing-spend-policies_identifier": billing$$spend$$policies_identifier, }, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_activity_response", $defs: { - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_activity_event": billing_spend_policies_policy_activity_event_output, - "billing-spend-policies_policy_activity_response": billing_spend_policies_policy_activity_response_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_activity_event": billing$$spend$$policies_policy_activity_event, + "billing-spend-policies_policy_activity_response": billing$$spend$$policies_policy_activity_response, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -101,23 +114,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billing-spend-policies_api-response-common-failure": billing_spend_policies_api_response_common_failure_output, - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_activity_event": billing_spend_policies_policy_activity_event_output, - "billing-spend-policies_policy_activity_response": billing_spend_policies_policy_activity_response_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-failure": billing$$spend$$policies_api$$response$$common$$failure, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_activity_event": billing$$spend$$policies_policy_activity_event, + "billing-spend-policies_policy_activity_response": billing$$spend$$policies_policy_activity_response, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/spend-policies/activity`, query: [ - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/billing/spendPolicies/audit/outputs.ts b/src/generated/forge-mcp/billing/spendPolicies/audit/outputs.ts index ff94d9e72..129db9f34 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/audit/outputs.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/audit/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `billing-spend-policies_policy_audit_entry` in responses. */ -export const billing_spend_policies_policy_audit_entry_output: JsonSchema = { +export const billing$$spend$$policies_policy_audit_entry: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/billing-spend-policies_policy_action" @@ -68,7 +68,7 @@ export const billing_spend_policies_policy_audit_entry_output: JsonSchema = { /** * The schema of `billing-spend-policies_policy_audit_response` in responses. */ -export const billing_spend_policies_policy_audit_response_output: JsonSchema = { +export const billing$$spend$$policies_policy_audit_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/billing-spend-policies_api-response-common-success" diff --git a/src/generated/forge-mcp/billing/spendPolicies/audit/tools.ts b/src/generated/forge-mcp/billing/spendPolicies/audit/tools.ts index 6dc5255dc..3c5c81bc1 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/audit/tools.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/audit/tools.ts @@ -1,64 +1,77 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - billing_spend_policies_api_response_common_failure_output, - billing_spend_policies_api_response_common_success_output, - billing_spend_policies_message_output, - billing_spend_policies_policy_action_output, + billing$$spend$$policies_api$$response$$common$$failure, + billing$$spend$$policies_api$$response$$common$$success, + billing$$spend$$policies_message, + billing$$spend$$policies_policy_action, } from "../outputs.js"; import { - billing_spend_policies_identifier, - billing_spend_policies_policy_id, + billing$$spend$$policies_identifier, + billing$$spend$$policies_policy_id, } from "../schemas.js"; import { - billing_spend_policies_policy_audit_entry_output, - billing_spend_policies_policy_audit_response_output, + billing$$spend$$policies_policy_audit_entry, + billing$$spend$$policies_policy_audit_response, } from "./outputs.js"; /** - * The tools of `billing.spend_policies.audit`. + * The tools of `billing.spendPolicies.audit`. */ export const tools: readonly Tool[] = [ { - name: "billing_spend_policies_audit_list", + name: "billing_spendPolicies_audit_list", title: "List Spend Policy Audit Entries", description: "Returns the policy's evaluation history, newest first. At most one entry is recorded per trigger (`approaching_limit` or `limit_reached`), policy version and billing period, so a policy update can record a new entry without any change in balance. Disabled policies still return their history; deleted policies return `404`. There is no pagination: use `limit` to set how many entries come back.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billing-spend-policies_identifier", + "description": "Identifies the Cloudflare account (account tag)." + }, + "policy_id": { + "$ref": "#/$defs/billing-spend-policies_policy_id", + "description": "Identifies the spend policy." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" }, - "limit": { - "default": 50, - "description": "Maximum number of audit entries to return. Defaults to 50. Values above 100 are capped at 100 rather than rejected.", - "type": "integer" - }, - "policy_id": { - "$ref": "#/$defs/billing-spend-policies_policy_id", - "description": "Identifies the spend policy." + "query": { + "properties": { + "limit": { + "default": 50, + "description": "Maximum number of audit entries to return. Defaults to 50. Values above 100 are capped at 100 rather than rejected.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "billing-spend-policies_identifier": billing_spend_policies_identifier, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id, + "billing-spend-policies_identifier": billing$$spend$$policies_identifier, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, }, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_audit_response", $defs: { - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_audit_entry": billing_spend_policies_policy_audit_entry_output, - "billing-spend-policies_policy_audit_response": billing_spend_policies_policy_audit_response_output, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_audit_entry": billing$$spend$$policies_policy_audit_entry, + "billing-spend-policies_policy_audit_response": billing$$spend$$policies_policy_audit_response, }, }, annotations: { @@ -98,18 +111,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billing-spend-policies_api-response-common-failure": billing_spend_policies_api_response_common_failure_output, - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_audit_entry": billing_spend_policies_policy_audit_entry_output, - "billing-spend-policies_policy_audit_response": billing_spend_policies_policy_audit_response_output, + "billing-spend-policies_api-response-common-failure": billing$$spend$$policies_api$$response$$common$$failure, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_audit_entry": billing$$spend$$policies_policy_audit_entry, + "billing-spend-policies_policy_audit_response": billing$$spend$$policies_policy_audit_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/spend-policies/${pathParam(args, "policy_id")}/audit`, query: [ - ["limit", args["limit"], true], + ["limit", param(args, "query", "limit"), true], ], }), }, diff --git a/src/generated/forge-mcp/billing/spendPolicies/outputs.ts b/src/generated/forge-mcp/billing/spendPolicies/outputs.ts index c245aad6f..65823619e 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/outputs.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `billing-spend-policies_api-response-common-failure` in * responses. */ -export const billing_spend_policies_api_response_common_failure_output: JsonSchema = { +export const billing$$spend$$policies_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "items": { @@ -52,7 +52,7 @@ export const billing_spend_policies_api_response_common_failure_output: JsonSche * The schema of `billing-spend-policies_api-response-common-success` in * responses. */ -export const billing_spend_policies_api_response_common_success_output: JsonSchema = { +export const billing$$spend$$policies_api$$response$$common$$success: JsonSchema = { "properties": { "errors": { "items": { @@ -84,7 +84,7 @@ export const billing_spend_policies_api_response_common_success_output: JsonSche /** * The schema of `billing-spend-policies_message` in responses. */ -export const billing_spend_policies_message_output: JsonSchema = { +export const billing$$spend$$policies_message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -102,7 +102,7 @@ export const billing_spend_policies_message_output: JsonSchema = { /** * The schema of `billing-spend-policies_policy` in responses. */ -export const billing_spend_policies_policy_output: JsonSchema = { +export const billing$$spend$$policies_policy: JsonSchema = { "properties": { "account_id": { "type": "integer" @@ -152,7 +152,7 @@ export const billing_spend_policies_policy_output: JsonSchema = { /** * The schema of `billing-spend-policies_policy_action` in responses. */ -export const billing_spend_policies_policy_action_output: JsonSchema = { +export const billing$$spend$$policies_policy_action: JsonSchema = { "enum": [ "notification", "usage_block" @@ -163,7 +163,7 @@ export const billing_spend_policies_policy_action_output: JsonSchema = { /** * The schema of `billing-spend-policies_policy_current_state` in responses. */ -export const billing_spend_policies_policy_current_state_output: JsonSchema = { +export const billing$$spend$$policies_policy_current_state: JsonSchema = { "properties": { "balance_cents": { "oneOf": [ @@ -279,7 +279,7 @@ export const billing_spend_policies_policy_current_state_output: JsonSchema = { /** * The schema of `billing-spend-policies_policy_delete_response` in responses. */ -export const billing_spend_policies_policy_delete_response_output: JsonSchema = { +export const billing$$spend$$policies_policy_delete_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/billing-spend-policies_api-response-common-success" @@ -309,7 +309,7 @@ export const billing_spend_policies_policy_delete_response_output: JsonSchema = /** * The schema of `billing-spend-policies_policy_id` in responses. */ -export const billing_spend_policies_policy_id_output: JsonSchema = { +export const billing$$spend$$policies_policy_id: JsonSchema = { "format": "uuid", "type": "string" }; @@ -317,7 +317,7 @@ export const billing_spend_policies_policy_id_output: JsonSchema = { /** * The schema of `billing-spend-policies_policy_list_response` in responses. */ -export const billing_spend_policies_policy_list_response_output: JsonSchema = { +export const billing$$spend$$policies_policy_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/billing-spend-policies_api-response-common-success" @@ -342,7 +342,7 @@ export const billing_spend_policies_policy_list_response_output: JsonSchema = { /** * The schema of `billing-spend-policies_policy_response` in responses. */ -export const billing_spend_policies_policy_response_output: JsonSchema = { +export const billing$$spend$$policies_policy_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/billing-spend-policies_api-response-common-success" @@ -364,7 +364,7 @@ export const billing_spend_policies_policy_response_output: JsonSchema = { /** * The schema of `billing-spend-policies_product_id` in responses. */ -export const billing_spend_policies_product_id_output: JsonSchema = { +export const billing$$spend$$policies_product_id: JsonSchema = { "enum": [ "workers", "durable_objects" diff --git a/src/generated/forge-mcp/billing/spendPolicies/schemas.ts b/src/generated/forge-mcp/billing/spendPolicies/schemas.ts index dd6e3d7e4..44887bdf4 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/schemas.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `billing-spend-policies_identifier`. */ -export const billing_spend_policies_identifier: JsonSchema = { +export const billing$$spend$$policies_identifier: JsonSchema = { "description": "Represents a Cloudflare resource identifier tag.", "type": "string" }; @@ -14,7 +14,7 @@ export const billing_spend_policies_identifier: JsonSchema = { /** * The schema of `billing-spend-policies_policy_action`. */ -export const billing_spend_policies_policy_action: JsonSchema = { +export const billing$$spend$$policies_policy_action: JsonSchema = { "description": "The action taken when the threshold is reached. `notification` sends an email to `notification_email`. `usage_block` blocks further usage of the product until the end of the billing period. Raising the threshold above the current balance, disabling the policy, or deleting it lifts the block early.", "enum": [ "notification", @@ -26,7 +26,7 @@ export const billing_spend_policies_policy_action: JsonSchema = { /** * The schema of `billing-spend-policies_policy_id`. */ -export const billing_spend_policies_policy_id: JsonSchema = { +export const billing$$spend$$policies_policy_id: JsonSchema = { "description": "The unique identifier of the spend policy.", "format": "uuid", "type": "string" @@ -35,7 +35,7 @@ export const billing_spend_policies_policy_id: JsonSchema = { /** * The schema of `billing-spend-policies_policy_input`. */ -export const billing_spend_policies_policy_input: JsonSchema = { +export const billing$$spend$$policies_policy_input: JsonSchema = { "description": "A spend policy as sent on create and on full replacement. Unknown fields and trailing JSON are rejected. Only the first 1 MiB of the body is read.", "properties": { "action": { @@ -76,7 +76,7 @@ export const billing_spend_policies_policy_input: JsonSchema = { /** * The schema of `billing-spend-policies_product_id`. */ -export const billing_spend_policies_product_id: JsonSchema = { +export const billing$$spend$$policies_product_id: JsonSchema = { "description": "The product the policy applies to: `workers` or `durable_objects`. Each product's balance and policies are separate. Both products support `notification` and `usage_block` policies on create and update.", "enum": [ "workers", diff --git a/src/generated/forge-mcp/billing/spendPolicies/tools.ts b/src/generated/forge-mcp/billing/spendPolicies/tools.ts index daf55d530..166111314 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/tools.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/tools.ts @@ -1,69 +1,77 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - billing_spend_policies_api_response_common_failure_output, - billing_spend_policies_api_response_common_success_output, - billing_spend_policies_message_output, - billing_spend_policies_policy_action_output, - billing_spend_policies_policy_current_state_output, - billing_spend_policies_policy_delete_response_output, - billing_spend_policies_policy_id_output, - billing_spend_policies_policy_list_response_output, - billing_spend_policies_policy_output, - billing_spend_policies_policy_response_output, - billing_spend_policies_product_id_output, + billing$$spend$$policies_api$$response$$common$$failure, + billing$$spend$$policies_api$$response$$common$$success, + billing$$spend$$policies_message, + billing$$spend$$policies_policy, + billing$$spend$$policies_policy_action, + billing$$spend$$policies_policy_current_state, + billing$$spend$$policies_policy_delete_response, + billing$$spend$$policies_policy_id, + billing$$spend$$policies_policy_list_response, + billing$$spend$$policies_policy_response, + billing$$spend$$policies_product_id, } from "./outputs.js"; import { - billing_spend_policies_identifier, - billing_spend_policies_policy_action, - billing_spend_policies_policy_id, - billing_spend_policies_policy_input, - billing_spend_policies_product_id, + billing$$spend$$policies_identifier, + billing$$spend$$policies_policy_action as billing$$spend$$policies_policy_action$, + billing$$spend$$policies_policy_id as billing$$spend$$policies_policy_id$, + billing$$spend$$policies_policy_input, + billing$$spend$$policies_product_id as billing$$spend$$policies_product_id$, } from "./schemas.js"; /** - * The tools of `billing.spend_policies`. + * The tools of `billing.spendPolicies`. */ export const tools: readonly Tool[] = [ { - name: "billing_spend_policies_create", + name: "billing_spendPolicies_create", title: "Create Spend Policy", description: "Creates a spend policy. Each account can have only one enabled `usage_block` policy per product. A second one returns `409`. There is no limit on `notification` policies.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." - }, "body": { "$ref": "#/$defs/billing-spend-policies_policy_input" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billing-spend-policies_identifier", + "description": "Identifies the Cloudflare account (account tag)." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "billing-spend-policies_identifier": billing_spend_policies_identifier, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action, - "billing-spend-policies_policy_input": billing_spend_policies_policy_input, - "billing-spend-policies_product_id": billing_spend_policies_product_id, + "billing-spend-policies_identifier": billing$$spend$$policies_identifier, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action$, + "billing-spend-policies_policy_input": billing$$spend$$policies_policy_input, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id$, }, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_response", $defs: { - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_policy_response": billing_spend_policies_policy_response_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -106,15 +114,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billing-spend-policies_api-response-common-failure": billing_spend_policies_api_response_common_failure_output, - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_policy_response": billing_spend_policies_policy_response_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-failure": billing$$spend$$policies_api$$response$$common$$failure, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ @@ -123,42 +131,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "billing_spend_policies_delete", + name: "billing_spendPolicies_delete", title: "Delete Spend Policy", description: "Soft-deletes the spend policy. The policy is disabled and no longer appears in list, get or audit responses. The `If-Match` header must equal the policy's current `version`.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." - }, - "if_match": { - "description": "The policy `version` the change is based on, as returned in `ETag`. Quoted (`\"3\"`) and bare (`3`) values are both accepted. Weak ETags (`W/\"3\"`) and `*` are not.", - "type": "string" - }, - "policy_id": { - "$ref": "#/$defs/billing-spend-policies_policy_id", - "description": "Identifies the spend policy." + "headers": { + "properties": { + "If-Match": { + "description": "The policy `version` the change is based on, as returned in `ETag`. Quoted (`\"3\"`) and bare (`3`) values are both accepted. Weak ETags (`W/\"3\"`) and `*` are not.", + "type": "string" + } + }, + "required": [ + "If-Match" + ], + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billing-spend-policies_identifier", + "description": "Identifies the Cloudflare account (account tag)." + }, + "policy_id": { + "$ref": "#/$defs/billing-spend-policies_policy_id", + "description": "Identifies the spend policy." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", - "if_match" + "path", + "headers" ], $defs: { - "billing-spend-policies_identifier": billing_spend_policies_identifier, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id, + "billing-spend-policies_identifier": billing$$spend$$policies_identifier, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id$, }, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_delete_response", $defs: { - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy_delete_response": billing_spend_policies_policy_delete_response_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy_delete_response": billing$$spend$$policies_policy_delete_response, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, }, }, annotations: { @@ -204,56 +228,64 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billing-spend-policies_api-response-common-failure": billing_spend_policies_api_response_common_failure_output, - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy_delete_response": billing_spend_policies_policy_delete_response_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, + "billing-spend-policies_api-response-common-failure": billing$$spend$$policies_api$$response$$common$$failure, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy_delete_response": billing$$spend$$policies_policy_delete_response, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/spend-policies/${pathParam(args, "policy_id")}`, headers: [ - ["If-Match", args["if_match"]], + ["If-Match", param(args, "headers", "If-Match")], ], }), }, { - name: "billing_spend_policies_get", + name: "billing_spendPolicies_get", title: "Get Spend Policy", description: "Returns one spend policy. The `ETag` response header holds the current `version`; send it as `If-Match` on a later update or delete.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." - }, - "policy_id": { - "$ref": "#/$defs/billing-spend-policies_policy_id", - "description": "Identifies the spend policy." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billing-spend-policies_identifier", + "description": "Identifies the Cloudflare account (account tag)." + }, + "policy_id": { + "$ref": "#/$defs/billing-spend-policies_policy_id", + "description": "Identifies the spend policy." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "billing-spend-policies_identifier": billing_spend_policies_identifier, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id, + "billing-spend-policies_identifier": billing$$spend$$policies_identifier, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id$, }, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_response", $defs: { - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_policy_response": billing_spend_policies_policy_response_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -293,15 +325,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billing-spend-policies_api-response-common-failure": billing_spend_policies_api_response_common_failure_output, - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_policy_response": billing_spend_policies_policy_response_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-failure": billing$$spend$$policies_api$$response$$common$$failure, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ @@ -309,35 +341,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "billing_spend_policies_list", + name: "billing_spendPolicies_list", title: "List Spend Policies", description: "Returns every spend policy on the account that has not been deleted, including disabled ones. Results are sorted by `name`, then `id`. There is no pagination.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billing-spend-policies_identifier", + "description": "Identifies the Cloudflare account (account tag)." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "billing-spend-policies_identifier": billing_spend_policies_identifier, + "billing-spend-policies_identifier": billing$$spend$$policies_identifier, }, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_list_response", $defs: { - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_policy_list_response": billing_spend_policies_policy_list_response_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_policy_list_response": billing$$spend$$policies_policy_list_response, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -377,15 +417,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billing-spend-policies_api-response-common-failure": billing_spend_policies_api_response_common_failure_output, - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_policy_list_response": billing_spend_policies_policy_list_response_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-failure": billing$$spend$$policies_api$$response$$common$$failure, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_policy_list_response": billing$$spend$$policies_policy_list_response, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ @@ -393,53 +433,69 @@ export const tools: readonly Tool[] = [ }), }, { - name: "billing_spend_policies_update", + name: "billing_spendPolicies_update", title: "Update Spend Policy", description: "Replaces the whole spend policy. Every field is required, as on create; there are no partial updates and `PATCH` is not supported. The `If-Match` header must equal the policy's current `version`. On success, `version` goes up by one and the new value is returned in `ETag`.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." - }, "body": { "$ref": "#/$defs/billing-spend-policies_policy_input" }, - "if_match": { - "description": "The policy `version` the change is based on, as returned in `ETag`. Quoted (`\"3\"`) and bare (`3`) values are both accepted. Weak ETags (`W/\"3\"`) and `*` are not.", - "type": "string" - }, - "policy_id": { - "$ref": "#/$defs/billing-spend-policies_policy_id", - "description": "Identifies the spend policy." + "headers": { + "properties": { + "If-Match": { + "description": "The policy `version` the change is based on, as returned in `ETag`. Quoted (`\"3\"`) and bare (`3`) values are both accepted. Weak ETags (`W/\"3\"`) and `*` are not.", + "type": "string" + } + }, + "required": [ + "If-Match" + ], + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billing-spend-policies_identifier", + "description": "Identifies the Cloudflare account (account tag)." + }, + "policy_id": { + "$ref": "#/$defs/billing-spend-policies_policy_id", + "description": "Identifies the spend policy." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", - "if_match", + "path", + "headers", "body" ], $defs: { - "billing-spend-policies_identifier": billing_spend_policies_identifier, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id, - "billing-spend-policies_policy_input": billing_spend_policies_policy_input, - "billing-spend-policies_product_id": billing_spend_policies_product_id, + "billing-spend-policies_identifier": billing$$spend$$policies_identifier, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action$, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id$, + "billing-spend-policies_policy_input": billing$$spend$$policies_policy_input, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id$, }, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_response", $defs: { - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_policy_response": billing_spend_policies_policy_response_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -488,21 +544,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billing-spend-policies_api-response-common-failure": billing_spend_policies_api_response_common_failure_output, - "billing-spend-policies_api-response-common-success": billing_spend_policies_api_response_common_success_output, - "billing-spend-policies_message": billing_spend_policies_message_output, - "billing-spend-policies_policy": billing_spend_policies_policy_output, - "billing-spend-policies_policy_action": billing_spend_policies_policy_action_output, - "billing-spend-policies_policy_current_state": billing_spend_policies_policy_current_state_output, - "billing-spend-policies_policy_id": billing_spend_policies_policy_id_output, - "billing-spend-policies_policy_response": billing_spend_policies_policy_response_output, - "billing-spend-policies_product_id": billing_spend_policies_product_id_output, + "billing-spend-policies_api-response-common-failure": billing$$spend$$policies_api$$response$$common$$failure, + "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, + "billing-spend-policies_message": billing$$spend$$policies_message, + "billing-spend-policies_policy": billing$$spend$$policies_policy, + "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, + "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, + "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, + "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, + "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/spend-policies/${pathParam(args, "policy_id")}`, headers: [ - ["If-Match", args["if_match"]], + ["If-Match", param(args, "headers", "If-Match")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/billing/usage/outputs.ts b/src/generated/forge-mcp/billing/usage/outputs.ts index 65ddc0789..08925d77b 100644 --- a/src/generated/forge-mcp/billing/usage/outputs.ts +++ b/src/generated/forge-mcp/billing/usage/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `billable-usage-api_usage_info_response` in responses. */ -export const billable_usage_api_usage_info_response_output: JsonSchema = { +export const billable$$usage$$api_usage_info_response: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -93,7 +93,7 @@ export const billable_usage_api_usage_info_response_output: JsonSchema = { /** * The schema of `billable-usage-api_usage_record` in responses. */ -export const billable_usage_api_usage_record_output: JsonSchema = { +export const billable$$usage$$api_usage_record: JsonSchema = { "properties": { "BilledCost": { "type": "number" @@ -256,7 +256,7 @@ export const billable_usage_api_usage_record_output: JsonSchema = { /** * The schema of `billable-usage-api_usage_response` in responses. */ -export const billable_usage_api_usage_response_output: JsonSchema = { +export const billable$$usage$$api_usage_response: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -309,7 +309,7 @@ export const billable_usage_api_usage_response_output: JsonSchema = { /** * The schema of `billable-usage-api_v2_account_billable_metric` in responses. */ -export const billable_usage_api_v2_account_billable_metric_output: JsonSchema = { +export const billable$$usage$$api_v2_account_billable_metric: JsonSchema = { "properties": { "DimensionKeys": { "items": { @@ -350,7 +350,7 @@ export const billable_usage_api_v2_account_billable_metric_output: JsonSchema = * The schema of `billable-usage-api_v2_account_billable_metrics_response` in * responses. */ -export const billable_usage_api_v2_account_billable_metrics_response_output: JsonSchema = { +export const billable$$usage$$api_v2_account_billable_metrics_response: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -403,7 +403,7 @@ export const billable_usage_api_v2_account_billable_metrics_response_output: Jso /** * The schema of `billable-usage-api_v2_product_category` in responses. */ -export const billable_usage_api_v2_product_category_output: JsonSchema = { +export const billable$$usage$$api_v2_product_category: JsonSchema = { "properties": { "Id": { "type": "string" @@ -422,7 +422,7 @@ export const billable_usage_api_v2_product_category_output: JsonSchema = { /** * The schema of `billable-usage-api_v2_product_family` in responses. */ -export const billable_usage_api_v2_product_family_output: JsonSchema = { +export const billable$$usage$$api_v2_product_family: JsonSchema = { "properties": { "Id": { "type": "string" @@ -441,7 +441,7 @@ export const billable_usage_api_v2_product_family_output: JsonSchema = { /** * The schema of `usage-analytics_billing_usage_data_point` in responses. */ -export const usage_analytics_billing_usage_data_point_output: JsonSchema = { +export const usage$$analytics_billing_usage_data_point: JsonSchema = { "properties": { "argoAcceleratedBytes": { "type": "integer" @@ -480,7 +480,7 @@ export const usage_analytics_billing_usage_data_point_output: JsonSchema = { /** * The schema of `usage-analytics_billing_usage_response` in responses. */ -export const usage_analytics_billing_usage_response_output: JsonSchema = { +export const usage$$analytics_billing_usage_response: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/billing/usage/schemas.ts b/src/generated/forge-mcp/billing/usage/schemas.ts index 4b62ee6c1..7e5fff42b 100644 --- a/src/generated/forge-mcp/billing/usage/schemas.ts +++ b/src/generated/forge-mcp/billing/usage/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `billable-usage-api_v2_filter_by`. */ -export const billable_usage_api_v2_filter_by: JsonSchema = { +export const billable$$usage$$api_v2_filter_by: JsonSchema = { "description": "Usage filters. Filters of different kinds are combined with AND, so a record must match every filter present to be returned.", "properties": { "BillableMetricIds": { @@ -41,7 +41,7 @@ export const billable_usage_api_v2_filter_by: JsonSchema = { /** * The schema of `billable-usage-api_v2_group_by`. */ -export const billable_usage_api_v2_group_by: JsonSchema = { +export const billable$$usage$$api_v2_group_by: JsonSchema = { "description": "A definition used to split result rows. TAG groups by a case-sensitive resource-tag key. DIMENSION groups by a usage dimension key — account_id, zone_id and region are the documented keys, and any other dimension key carried by the usage data is accepted and returned under that same key.", "properties": { "Key": { @@ -67,7 +67,7 @@ export const billable_usage_api_v2_group_by: JsonSchema = { /** * The schema of `billable-usage-api_v2_tag_filter`. */ -export const billable_usage_api_v2_tag_filter: JsonSchema = { +export const billable$$usage$$api_v2_tag_filter: JsonSchema = { "description": "Values accepted for one resource-tag key.", "properties": { "Key": { @@ -94,7 +94,7 @@ export const billable_usage_api_v2_tag_filter: JsonSchema = { /** * The schema of `billable-usage-api_v2_time_period`. */ -export const billable_usage_api_v2_time_period: JsonSchema = { +export const billable$$usage$$api_v2_time_period: JsonSchema = { "description": "Charge period to query, i.e. when consumption happened, not when it was billed. `From` is inclusive and `To` is exclusive. `From` and `To` must be supplied together; supplying one without the other is an error. When both are omitted the range defaults to the start of the current month through today.", "properties": { "From": { @@ -114,7 +114,7 @@ export const billable_usage_api_v2_time_period: JsonSchema = { /** * The schema of `billable-usage-api_v2_usage_query`. */ -export const billable_usage_api_v2_usage_query: JsonSchema = { +export const billable$$usage$$api_v2_usage_query: JsonSchema = { "description": "Filter criteria for a usage query. Every field is optional; an empty object is equivalent to omitting the body entirely. Unknown fields are rejected.", "properties": { "FilterBy": { diff --git a/src/generated/forge-mcp/billing/usage/tools.ts b/src/generated/forge-mcp/billing/usage/tools.ts index 635d73d31..825bf8f6a 100644 --- a/src/generated/forge-mcp/billing/usage/tools.ts +++ b/src/generated/forge-mcp/billing/usage/tools.ts @@ -1,37 +1,37 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - billable_usage_api_api_response_common_failure_output, - billable_usage_api_cost_and_usage_data_output, - billable_usage_api_message_output, - billable_usage_api_v2_usage_response_output, - usage_analytics_api_error_output, - usage_analytics_api_message_output, - usage_analytics_error_response_output, + billable$$usage$$api_api$$response$$common$$failure, + billable$$usage$$api_cost_and_usage_data, + billable$$usage$$api_message, + billable$$usage$$api_v2_usage_response, + usage$$analytics_api_error, + usage$$analytics_api_message, + usage$$analytics_error_response, } from "../../outputs.js"; import { - billable_usage_api_identifier, - usage_analytics_identifier, + billable$$usage$$api_identifier, + usage$$analytics_identifier, } from "../../schemas.js"; import { - billable_usage_api_usage_info_response_output, - billable_usage_api_usage_record_output, - billable_usage_api_usage_response_output, - billable_usage_api_v2_account_billable_metric_output, - billable_usage_api_v2_account_billable_metrics_response_output, - billable_usage_api_v2_product_category_output, - billable_usage_api_v2_product_family_output, - usage_analytics_billing_usage_data_point_output, - usage_analytics_billing_usage_response_output, + billable$$usage$$api_usage_info_response, + billable$$usage$$api_usage_record, + billable$$usage$$api_usage_response, + billable$$usage$$api_v2_account_billable_metric, + billable$$usage$$api_v2_account_billable_metrics_response, + billable$$usage$$api_v2_product_category, + billable$$usage$$api_v2_product_family, + usage$$analytics_billing_usage_data_point, + usage$$analytics_billing_usage_response, } from "./outputs.js"; import { - billable_usage_api_v2_filter_by, - billable_usage_api_v2_group_by, - billable_usage_api_v2_tag_filter, - billable_usage_api_v2_time_period, - billable_usage_api_v2_usage_query, + billable$$usage$$api_v2_filter_by, + billable$$usage$$api_v2_group_by, + billable$$usage$$api_v2_tag_filter, + billable$$usage$$api_v2_time_period, + billable$$usage$$api_v2_usage_query, } from "./schemas.js"; /** @@ -45,61 +45,74 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/usage-analytics_identifier", - "description": "Standard Cloudflare hex account identifier. The API gateway translates this to an internal numeric ID before forwarding to the backend service.\n" - }, - "filters": { - "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.\n", - "type": "string" - }, - "limit": { - "default": 100, - "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.\n", - "type": "integer" - }, - "metrics": { - "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.\n", - "type": "string" - }, - "since": { - "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.\n", - "format": "date-time", - "type": "string" - }, - "time_delta": { - "default": "hour", - "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.\n", - "enum": [ - "hour", - "day", - "week", - "month", - "quarter", - "year" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/usage-analytics_identifier", + "description": "Standard Cloudflare hex account identifier. The API gateway translates this to an internal numeric ID before forwarding to the backend service.\n" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "until": { - "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.\n", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "filters": { + "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.\n", + "type": "string" + }, + "limit": { + "default": 100, + "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.\n", + "type": "integer" + }, + "metrics": { + "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.\n", + "type": "string" + }, + "since": { + "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.\n", + "format": "date-time", + "type": "string" + }, + "time_delta": { + "default": "hour", + "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.\n", + "enum": [ + "hour", + "day", + "week", + "month", + "quarter", + "year" + ], + "type": "string" + }, + "until": { + "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.\n", + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "usage-analytics_identifier": usage_analytics_identifier, + "usage-analytics_identifier": usage$$analytics_identifier, }, }, outputSchema: { "$ref": "#/$defs/usage-analytics_billing_usage_response", $defs: { - "usage-analytics_api_error": usage_analytics_api_error_output, - "usage-analytics_api_message": usage_analytics_api_message_output, - "usage-analytics_billing_usage_data_point": usage_analytics_billing_usage_data_point_output, - "usage-analytics_billing_usage_response": usage_analytics_billing_usage_response_output, + "usage-analytics_api_error": usage$$analytics_api_error, + "usage-analytics_api_message": usage$$analytics_api_message, + "usage-analytics_billing_usage_data_point": usage$$analytics_billing_usage_data_point, + "usage-analytics_billing_usage_response": usage$$analytics_billing_usage_response, }, }, annotations: { @@ -132,62 +145,75 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "usage-analytics_api_error": usage_analytics_api_error_output, - "usage-analytics_api_message": usage_analytics_api_message_output, - "usage-analytics_billing_usage_data_point": usage_analytics_billing_usage_data_point_output, - "usage-analytics_billing_usage_response": usage_analytics_billing_usage_response_output, - "usage-analytics_error_response": usage_analytics_error_response_output, + "usage-analytics_api_error": usage$$analytics_api_error, + "usage-analytics_api_message": usage$$analytics_api_message, + "usage-analytics_billing_usage_data_point": usage$$analytics_billing_usage_data_point, + "usage-analytics_billing_usage_response": usage$$analytics_billing_usage_response, + "usage-analytics_error_response": usage$$analytics_error_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billing/usage`, query: [ - ["metrics", args["metrics"], true], - ["since", args["since"], true], - ["until", args["until"], true], - ["time_delta", args["time_delta"], true], - ["limit", args["limit"], true], - ["filters", args["filters"], true], + ["metrics", param(args, "query", "metrics"), true], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], + ["time_delta", param(args, "query", "time_delta"), true], + ["limit", param(args, "query", "limit"), true], + ["filters", param(args, "query", "filters"), true], ], }), }, { - name: "billing_usage_get_account_billable_metrics", + name: "billing_usage_getAccountBillableMetrics", title: "List Account Billable Metrics (Version 2, Alpha, Restricted)", description: "Lists billable metrics available to the account through contracts and\nsubscriptions that overlap the requested period. Results are\ndeduplicated and ordered. If no qualifying contract exists, the\nresult is an empty array.\n\nWhen `from` and `to` are omitted, the period defaults to the start of\nthe current month through today. The maximum date range is 31 days.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." - }, - "from": { - "description": "Start date for the usage query (ISO 8601). Required if `to` is set. When omitted along with `to`, defaults to the start of the current month. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", - "format": "date", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billable-usage-api_identifier", + "description": "Identifies the Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "to": { - "description": "End date for the usage query (ISO 8601). Required if `from` is set. When omitted along with `from`, defaults to today. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", - "format": "date", - "type": "string" + "query": { + "properties": { + "from": { + "description": "Start date for the usage query (ISO 8601). Required if `to` is set. When omitted along with `to`, defaults to the start of the current month. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", + "format": "date", + "type": "string" + }, + "to": { + "description": "End date for the usage query (ISO 8601). Required if `from` is set. When omitted along with `from`, defaults to today. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", + "format": "date", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "billable-usage-api_identifier": billable_usage_api_identifier, + "billable-usage-api_identifier": billable$$usage$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_v2_account_billable_metrics_response", $defs: { - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_v2_account_billable_metric": billable_usage_api_v2_account_billable_metric_output, - "billable-usage-api_v2_account_billable_metrics_response": billable_usage_api_v2_account_billable_metrics_response_output, - "billable-usage-api_v2_product_category": billable_usage_api_v2_product_category_output, - "billable-usage-api_v2_product_family": billable_usage_api_v2_product_family_output, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_v2_account_billable_metric": billable$$usage$$api_v2_account_billable_metric, + "billable-usage-api_v2_account_billable_metrics_response": billable$$usage$$api_v2_account_billable_metrics_response, + "billable-usage-api_v2_product_category": billable$$usage$$api_v2_product_category, + "billable-usage-api_v2_product_family": billable$$usage$$api_v2_product_family, }, }, annotations: { @@ -217,57 +243,70 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_v2_account_billable_metric": billable_usage_api_v2_account_billable_metric_output, - "billable-usage-api_v2_account_billable_metrics_response": billable_usage_api_v2_account_billable_metrics_response_output, - "billable-usage-api_v2_product_category": billable_usage_api_v2_product_category_output, - "billable-usage-api_v2_product_family": billable_usage_api_v2_product_family_output, + "billable-usage-api_api-response-common-failure": billable$$usage$$api_api$$response$$common$$failure, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_v2_account_billable_metric": billable$$usage$$api_v2_account_billable_metric, + "billable-usage-api_v2_account_billable_metrics_response": billable$$usage$$api_v2_account_billable_metrics_response, + "billable-usage-api_v2_product_category": billable$$usage$$api_v2_product_category, + "billable-usage-api_v2_product_family": billable$$usage$$api_v2_product_family, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billable/usage/billable-metrics`, query: [ - ["from", args["from"], true], - ["to", args["to"], true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], ], }), }, { - name: "billing_usage_get_account_usage_v2", + name: "billing_usage_getAccountUsageV2", title: "Get Account Usage (Version 2, Alpha, Restricted)", description: "Returns cost and usage data for a single Cloudflare account, aligned\nwith the [FinOps FOCUS v1.3](https://focus.finops.org/focus-specification/v1-3/)\nCost and Usage dataset specification.\n\nEach record represents one billable metric for one account on one day.\nThis includes all metered usage, including usage that falls within\nfree-tier allowances and may result in zero cost.\n\n**Note:** This endpoint serves `usage` records only; cost and pricing\nfields are absent from responses. To retrieve rated costs, use `POST`\non the same path with `Metric: cost`.\n\nWhen `from` and `to` are omitted, defaults to the start of the current\nmonth through today. The maximum date range is 31 days.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." - }, - "from": { - "description": "Start date for the usage query (ISO 8601). Required if `to` is set. When omitted along with `to`, defaults to the start of the current month. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", - "format": "date", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billable-usage-api_identifier", + "description": "Identifies the Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "to": { - "description": "End date for the usage query (ISO 8601). Required if `from` is set. When omitted along with `from`, defaults to today. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", - "format": "date", - "type": "string" + "query": { + "properties": { + "from": { + "description": "Start date for the usage query (ISO 8601). Required if `to` is set. When omitted along with `to`, defaults to the start of the current month. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", + "format": "date", + "type": "string" + }, + "to": { + "description": "End date for the usage query (ISO 8601). Required if `from` is set. When omitted along with `from`, defaults to today. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", + "format": "date", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "billable-usage-api_identifier": billable_usage_api_identifier, + "billable-usage-api_identifier": billable$$usage$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_v2_usage_response", $defs: { - "billable-usage-api_cost_and_usage_data": billable_usage_api_cost_and_usage_data_output, - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_v2_usage_response": billable_usage_api_v2_usage_response_output, + "billable-usage-api_cost_and_usage_data": billable$$usage$$api_cost_and_usage_data, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_v2_usage_response": billable$$usage$$api_v2_usage_response, }, }, annotations: { @@ -297,44 +336,52 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, - "billable-usage-api_cost_and_usage_data": billable_usage_api_cost_and_usage_data_output, - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_v2_usage_response": billable_usage_api_v2_usage_response_output, + "billable-usage-api_api-response-common-failure": billable$$usage$$api_api$$response$$common$$failure, + "billable-usage-api_cost_and_usage_data": billable$$usage$$api_cost_and_usage_data, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_v2_usage_response": billable$$usage$$api_v2_usage_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billable/usage`, query: [ - ["from", args["from"], true], - ["to", args["to"], true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], ], }), }, { - name: "billing_usage_get_info_v1", + name: "billing_usage_getInfoV1", title: "Get Account Billable Usage Info (Version 1, Alpha)", description: "Returns high-level usage information for the account, including coverage,\nand subscription metadata.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billable-usage-api_identifier", + "description": "Identifies the Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "billable-usage-api_identifier": billable_usage_api_identifier, + "billable-usage-api_identifier": billable$$usage$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_usage_info_response", $defs: { - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_usage_info_response": billable_usage_api_usage_info_response_output, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_usage_info_response": billable$$usage$$api_usage_info_response, }, }, annotations: { @@ -364,9 +411,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_usage_info_response": billable_usage_api_usage_info_response_output, + "billable-usage-api_api-response-common-failure": billable$$usage$$api_api$$response$$common$$failure, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_usage_info_response": billable$$usage$$api_usage_info_response, }, }, request: (args) => ({ @@ -374,40 +421,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "billing_usage_get_v1", + name: "billing_usage_getV1", title: "Get Account Billable Usage (Version 1, Alpha)", description: "Returns billable usage data for the account.\nWhen no query parameters are provided, returns usage for the current\nbilling period.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." - }, - "from": { - "description": "Start date for the usage query (ISO 8601). The provided time range must include the subscription billing cycle anchor day, otherwise no usage data is returned. Use the info endpoint to retrieve the subscription anchor day.", - "format": "date", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billable-usage-api_identifier", + "description": "Identifies the Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "to": { - "description": "End date for the usage query (ISO 8601).", - "format": "date", - "type": "string" + "query": { + "properties": { + "from": { + "description": "Start date for the usage query (ISO 8601). The provided time range must include the subscription billing cycle anchor day, otherwise no usage data is returned. Use the info endpoint to retrieve the subscription anchor day.", + "format": "date", + "type": "string" + }, + "to": { + "description": "End date for the usage query (ISO 8601).", + "format": "date", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "billable-usage-api_identifier": billable_usage_api_identifier, + "billable-usage-api_identifier": billable$$usage$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_usage_response", $defs: { - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_usage_record": billable_usage_api_usage_record_output, - "billable-usage-api_usage_response": billable_usage_api_usage_response_output, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_usage_record": billable$$usage$$api_usage_record, + "billable-usage-api_usage_response": billable$$usage$$api_usage_response, }, }, annotations: { @@ -437,17 +497,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_usage_record": billable_usage_api_usage_record_output, - "billable-usage-api_usage_response": billable_usage_api_usage_response_output, + "billable-usage-api_api-response-common-failure": billable$$usage$$api_api$$response$$common$$failure, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_usage_record": billable$$usage$$api_usage_record, + "billable-usage-api_usage_response": billable$$usage$$api_usage_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/billable-usage`, query: [ - ["from", args["from"], true], - ["to", args["to"], true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], ], }), }, @@ -458,32 +518,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." - }, "body": { "$ref": "#/$defs/billable-usage-api_v2_usage_query" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/billable-usage-api_identifier", + "description": "Identifies the Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "billable-usage-api_identifier": billable_usage_api_identifier, - "billable-usage-api_v2_filter_by": billable_usage_api_v2_filter_by, - "billable-usage-api_v2_group_by": billable_usage_api_v2_group_by, - "billable-usage-api_v2_tag_filter": billable_usage_api_v2_tag_filter, - "billable-usage-api_v2_time_period": billable_usage_api_v2_time_period, - "billable-usage-api_v2_usage_query": billable_usage_api_v2_usage_query, + "billable-usage-api_identifier": billable$$usage$$api_identifier, + "billable-usage-api_v2_filter_by": billable$$usage$$api_v2_filter_by, + "billable-usage-api_v2_group_by": billable$$usage$$api_v2_group_by, + "billable-usage-api_v2_tag_filter": billable$$usage$$api_v2_tag_filter, + "billable-usage-api_v2_time_period": billable$$usage$$api_v2_time_period, + "billable-usage-api_v2_usage_query": billable$$usage$$api_v2_usage_query, }, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_v2_usage_response", $defs: { - "billable-usage-api_cost_and_usage_data": billable_usage_api_cost_and_usage_data_output, - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_v2_usage_response": billable_usage_api_v2_usage_response_output, + "billable-usage-api_cost_and_usage_data": billable$$usage$$api_cost_and_usage_data, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_v2_usage_response": billable$$usage$$api_v2_usage_response, }, }, annotations: { @@ -513,10 +581,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, - "billable-usage-api_cost_and_usage_data": billable_usage_api_cost_and_usage_data_output, - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_v2_usage_response": billable_usage_api_v2_usage_response_output, + "billable-usage-api_api-response-common-failure": billable$$usage$$api_api$$response$$common$$failure, + "billable-usage-api_cost_and_usage_data": billable$$usage$$api_cost_and_usage_data, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_v2_usage_response": billable$$usage$$api_v2_usage_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/botManagement/feedback/outputs.ts b/src/generated/forge-mcp/botManagement/feedback/outputs.ts index ebe6a0caa..11d6c197b 100644 --- a/src/generated/forge-mcp/botManagement/feedback/outputs.ts +++ b/src/generated/forge-mcp/botManagement/feedback/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bot-management_feedback_report` in responses. */ -export const bot_management_feedback_report_output: JsonSchema = { +export const bot$$management_feedback_report: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -62,7 +62,7 @@ export const bot_management_feedback_report_output: JsonSchema = { /** * The schema of `bot-management_feedback_type` in responses. */ -export const bot_management_feedback_type_output: JsonSchema = { +export const bot$$management_feedback_type: JsonSchema = { "enum": [ "false_positive", "false_negative" @@ -73,7 +73,7 @@ export const bot_management_feedback_type_output: JsonSchema = { /** * The schema of `bot-management_metric_requests` in responses. */ -export const bot_management_metric_requests_output: JsonSchema = { +export const bot$$management_metric_requests: JsonSchema = { "properties": { "metric": { "type": "string" @@ -92,7 +92,7 @@ export const bot_management_metric_requests_output: JsonSchema = { /** * The schema of `bot-management_requests_by_attribute` in responses. */ -export const bot_management_requests_by_attribute_output: JsonSchema = { +export const bot$$management_requests_by_attribute: JsonSchema = { "additionalProperties": { "items": { "$ref": "#/$defs/bot-management_metric_requests" @@ -105,7 +105,7 @@ export const bot_management_requests_by_attribute_output: JsonSchema = { /** * The schema of `bot-management_requests_by_score` in responses. */ -export const bot_management_requests_by_score_output: JsonSchema = { +export const bot$$management_requests_by_score: JsonSchema = { "additionalProperties": { "type": "integer" }, @@ -115,7 +115,7 @@ export const bot_management_requests_by_score_output: JsonSchema = { /** * The schema of `bot-management_requests_by_score_src` in responses. */ -export const bot_management_requests_by_score_src_output: JsonSchema = { +export const bot$$management_requests_by_score_src: JsonSchema = { "additionalProperties": { "type": "integer" }, diff --git a/src/generated/forge-mcp/botManagement/feedback/schemas.ts b/src/generated/forge-mcp/botManagement/feedback/schemas.ts index 3851d67eb..6e79c6ec1 100644 --- a/src/generated/forge-mcp/botManagement/feedback/schemas.ts +++ b/src/generated/forge-mcp/botManagement/feedback/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bot-management_feedback_report`. */ -export const bot_management_feedback_report: JsonSchema = { +export const bot$$management_feedback_report: JsonSchema = { "properties": { "description": { "type": "string" @@ -63,7 +63,7 @@ export const bot_management_feedback_report: JsonSchema = { /** * The schema of `bot-management_feedback_type`. */ -export const bot_management_feedback_type: JsonSchema = { +export const bot$$management_feedback_type: JsonSchema = { "description": "Type of feedback report.", "enum": [ "false_positive", @@ -75,7 +75,7 @@ export const bot_management_feedback_type: JsonSchema = { /** * The schema of `bot-management_metric_requests`. */ -export const bot_management_metric_requests: JsonSchema = { +export const bot$$management_metric_requests: JsonSchema = { "properties": { "metric": { "type": "string" @@ -94,7 +94,7 @@ export const bot_management_metric_requests: JsonSchema = { /** * The schema of `bot-management_requests_by_attribute`. */ -export const bot_management_requests_by_attribute: JsonSchema = { +export const bot$$management_requests_by_attribute: JsonSchema = { "additionalProperties": { "items": { "$ref": "#/$defs/bot-management_metric_requests" @@ -108,7 +108,7 @@ export const bot_management_requests_by_attribute: JsonSchema = { /** * The schema of `bot-management_requests_by_score`. */ -export const bot_management_requests_by_score: JsonSchema = { +export const bot$$management_requests_by_score: JsonSchema = { "additionalProperties": { "type": "integer" }, @@ -119,7 +119,7 @@ export const bot_management_requests_by_score: JsonSchema = { /** * The schema of `bot-management_requests_by_score_src`. */ -export const bot_management_requests_by_score_src: JsonSchema = { +export const bot$$management_requests_by_score_src: JsonSchema = { "additionalProperties": { "type": "integer" }, diff --git a/src/generated/forge-mcp/botManagement/feedback/tools.ts b/src/generated/forge-mcp/botManagement/feedback/tools.ts index c82bf63d9..52317006c 100644 --- a/src/generated/forge-mcp/botManagement/feedback/tools.ts +++ b/src/generated/forge-mcp/botManagement/feedback/tools.ts @@ -3,33 +3,33 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - bot_management_api_response_common_failure_output, - bot_management_messages_output, + bot$$management_api$$response$$common$$failure, + bot$$management_messages, } from "../outputs.js"; -import { bot_management_identifier } from "../schemas.js"; +import { bot$$management_identifier } from "../schemas.js"; import { - bot_management_feedback_report_output, - bot_management_feedback_type_output, - bot_management_metric_requests_output, - bot_management_requests_by_attribute_output, - bot_management_requests_by_score_output, - bot_management_requests_by_score_src_output, + bot$$management_feedback_report, + bot$$management_feedback_type, + bot$$management_metric_requests, + bot$$management_requests_by_attribute, + bot$$management_requests_by_score, + bot$$management_requests_by_score_src, } from "./outputs.js"; import { - bot_management_feedback_report, - bot_management_feedback_type, - bot_management_metric_requests, - bot_management_requests_by_attribute, - bot_management_requests_by_score, - bot_management_requests_by_score_src, + bot$$management_feedback_report as bot$$management_feedback_report$, + bot$$management_feedback_type as bot$$management_feedback_type$, + bot$$management_metric_requests as bot$$management_metric_requests$, + bot$$management_requests_by_attribute as bot$$management_requests_by_attribute$, + bot$$management_requests_by_score as bot$$management_requests_by_score$, + bot$$management_requests_by_score_src as bot$$management_requests_by_score_src$, } from "./schemas.js"; /** - * The tools of `bot_management.feedback`. + * The tools of `botManagement.feedback`. */ export const tools: readonly Tool[] = [ { - name: "bot_management_feedback_create", + name: "botManagement_feedback_create", title: "Submit a feedback report", description: "Submit a feedback report for the specified zone. Use `type` to indicate whether the report is a false positive (good traffic flagged as bot) or a false negative (bot traffic missed). Furthermore, you can also use `expression` as a wirefilter to identify the affected traffic sample.\n\nSee more accepted API fields and expression types at https://developers.cloudflare.com/bots/concepts/feedback-loop/#api-fields and https://developers.cloudflare.com/bots/concepts/feedback-loop/#expression-fields, respectively.", inputSchema: { @@ -38,23 +38,31 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/bot-management_feedback_report" }, - "zone_id": { - "$ref": "#/$defs/bot-management_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bot-management_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "bot-management_feedback_report": bot_management_feedback_report, - "bot-management_feedback_type": bot_management_feedback_type, - "bot-management_identifier": bot_management_identifier, - "bot-management_metric_requests": bot_management_metric_requests, - "bot-management_requests_by_attribute": bot_management_requests_by_attribute, - "bot-management_requests_by_score": bot_management_requests_by_score, - "bot-management_requests_by_score_src": bot_management_requests_by_score_src, + "bot-management_feedback_report": bot$$management_feedback_report$, + "bot-management_feedback_type": bot$$management_feedback_type$, + "bot-management_identifier": bot$$management_identifier, + "bot-management_metric_requests": bot$$management_metric_requests$, + "bot-management_requests_by_attribute": bot$$management_requests_by_attribute$, + "bot-management_requests_by_score": bot$$management_requests_by_score$, + "bot-management_requests_by_score_src": bot$$management_requests_by_score_src$, }, }, annotations: { @@ -88,8 +96,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bot-management_api-response-common-failure": bot_management_api_response_common_failure_output, - "bot-management_messages": bot_management_messages_output, + "bot-management_api-response-common-failure": bot$$management_api$$response$$common$$failure, + "bot-management_messages": bot$$management_messages, }, }, request: (args) => ({ @@ -98,22 +106,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "bot_management_feedback_list", + name: "botManagement_feedback_list", title: "List zone feedback reports", description: "Returns all feedback reports previously submitted for the specified zone. Feedback reports help improve detection by sharing samples of traffic that were misclassified as bots or humans.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/bot-management_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bot-management_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "bot-management_identifier": bot_management_identifier, + "bot-management_identifier": bot$$management_identifier, }, }, outputSchema: { @@ -122,12 +138,12 @@ export const tools: readonly Tool[] = [ }, "type": "array", $defs: { - "bot-management_feedback_report": bot_management_feedback_report_output, - "bot-management_feedback_type": bot_management_feedback_type_output, - "bot-management_metric_requests": bot_management_metric_requests_output, - "bot-management_requests_by_attribute": bot_management_requests_by_attribute_output, - "bot-management_requests_by_score": bot_management_requests_by_score_output, - "bot-management_requests_by_score_src": bot_management_requests_by_score_src_output, + "bot-management_feedback_report": bot$$management_feedback_report, + "bot-management_feedback_type": bot$$management_feedback_type, + "bot-management_metric_requests": bot$$management_metric_requests, + "bot-management_requests_by_attribute": bot$$management_requests_by_attribute, + "bot-management_requests_by_score": bot$$management_requests_by_score, + "bot-management_requests_by_score_src": bot$$management_requests_by_score_src, }, }, annotations: { @@ -166,14 +182,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bot-management_api-response-common-failure": bot_management_api_response_common_failure_output, - "bot-management_feedback_report": bot_management_feedback_report_output, - "bot-management_feedback_type": bot_management_feedback_type_output, - "bot-management_messages": bot_management_messages_output, - "bot-management_metric_requests": bot_management_metric_requests_output, - "bot-management_requests_by_attribute": bot_management_requests_by_attribute_output, - "bot-management_requests_by_score": bot_management_requests_by_score_output, - "bot-management_requests_by_score_src": bot_management_requests_by_score_src_output, + "bot-management_api-response-common-failure": bot$$management_api$$response$$common$$failure, + "bot-management_feedback_report": bot$$management_feedback_report, + "bot-management_feedback_type": bot$$management_feedback_type, + "bot-management_messages": bot$$management_messages, + "bot-management_metric_requests": bot$$management_metric_requests, + "bot-management_requests_by_attribute": bot$$management_requests_by_attribute, + "bot-management_requests_by_score": bot$$management_requests_by_score, + "bot-management_requests_by_score_src": bot$$management_requests_by_score_src, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/botManagement/outputs.ts b/src/generated/forge-mcp/botManagement/outputs.ts index 3a68148e2..721102a69 100644 --- a/src/generated/forge-mcp/botManagement/outputs.ts +++ b/src/generated/forge-mcp/botManagement/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `bot-management_ai_agent_action` in responses. */ -export const bot_management_ai_agent_action_output: JsonSchema = { +export const bot$$management_ai_agent_action: JsonSchema = { "enum": [ "disabled", "block", @@ -18,7 +18,7 @@ export const bot_management_ai_agent_action_output: JsonSchema = { /** * The schema of `bot-management_ai_agents` in responses. */ -export const bot_management_ai_agents_output: JsonSchema = { +export const bot$$management_ai_agents: JsonSchema = { "properties": { "anthropic_agent": { "$ref": "#/$defs/bot-management_ai_agent_action" @@ -42,14 +42,14 @@ export const bot_management_ai_agents_output: JsonSchema = { /** * The schema of `bot-management_ai_bots_migration_opt_out` in responses. */ -export const bot_management_ai_bots_migration_opt_out_output: JsonSchema = { +export const bot$$management_ai_bots_migration_opt_out: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_ai_bots_protection` in responses. */ -export const bot_management_ai_bots_protection_output: JsonSchema = { +export const bot$$management_ai_bots_protection: JsonSchema = { "enum": [ "block", "disabled", @@ -61,7 +61,7 @@ export const bot_management_ai_bots_protection_output: JsonSchema = { /** * The schema of `bot-management_ai_search` in responses. */ -export const bot_management_ai_search_output: JsonSchema = { +export const bot$$management_ai_search: JsonSchema = { "enum": [ "disabled", "block", @@ -73,7 +73,7 @@ export const bot_management_ai_search_output: JsonSchema = { /** * The schema of `bot-management_ai_training` in responses. */ -export const bot_management_ai_training_output: JsonSchema = { +export const bot$$management_ai_training: JsonSchema = { "enum": [ "disabled", "disallow", @@ -86,7 +86,7 @@ export const bot_management_ai_training_output: JsonSchema = { /** * The schema of `bot-management_ai_user` in responses. */ -export const bot_management_ai_user_output: JsonSchema = { +export const bot$$management_ai_user: JsonSchema = { "enum": [ "disabled", "block", @@ -98,7 +98,7 @@ export const bot_management_ai_user_output: JsonSchema = { /** * The schema of `bot-management_api-response-common-failure` in responses. */ -export const bot_management_api_response_common_failure_output: JsonSchema = { +export const bot$$management_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/bot-management_messages" @@ -128,7 +128,7 @@ export const bot_management_api_response_common_failure_output: JsonSchema = { /** * The schema of `bot-management_api-response-single` in responses. */ -export const bot_management_api_response_single_output: JsonSchema = { +export const bot$$management_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/bot-management_messages" @@ -154,14 +154,14 @@ export const bot_management_api_response_single_output: JsonSchema = { /** * The schema of `bot-management_auto_update_model` in responses. */ -export const bot_management_auto_update_model_output: JsonSchema = { +export const bot$$management_auto_update_model: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_base_config` in responses. */ -export const bot_management_base_config_output: JsonSchema = { +export const bot$$management_base_config: JsonSchema = { "properties": { "ai_agents": { "$ref": "#/$defs/bot-management_ai_agents" @@ -212,14 +212,14 @@ export const bot_management_base_config_output: JsonSchema = { /** * The schema of `bot-management_bm_cookie_enabled` in responses. */ -export const bot_management_bm_cookie_enabled_output: JsonSchema = { +export const bot$$management_bm_cookie_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_bm_subscription_config` in responses. */ -export const bot_management_bm_subscription_config_output: JsonSchema = { +export const bot$$management_bm_subscription_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bot-management_base_config" @@ -267,7 +267,7 @@ export const bot_management_bm_subscription_config_output: JsonSchema = { /** * The schema of `bot-management_bot_fight_mode_config` in responses. */ -export const bot_management_bot_fight_mode_config_output: JsonSchema = { +export const bot$$management_bot_fight_mode_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bot-management_base_config" @@ -309,7 +309,7 @@ export const bot_management_bot_fight_mode_config_output: JsonSchema = { /** * The schema of `bot-management_bot_management_response_body` in responses. */ -export const bot_management_bot_management_response_body_output: JsonSchema = { +export const bot$$management_bot_management_response_body: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bot-management_api-response-single" @@ -341,14 +341,14 @@ export const bot_management_bot_management_response_body_output: JsonSchema = { /** * The schema of `bot-management_bot_preference_sync_enabled` in responses. */ -export const bot_management_bot_preference_sync_enabled_output: JsonSchema = { +export const bot$$management_bot_preference_sync_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_cf_robots_variant` in responses. */ -export const bot_management_cf_robots_variant_output: JsonSchema = { +export const bot$$management_cf_robots_variant: JsonSchema = { "enum": [ "off", "policy_only" @@ -359,7 +359,7 @@ export const bot_management_cf_robots_variant_output: JsonSchema = { /** * The schema of `bot-management_content_bots_protection` in responses. */ -export const bot_management_content_bots_protection_output: JsonSchema = { +export const bot$$management_content_bots_protection: JsonSchema = { "enum": [ "block", "disabled" @@ -370,7 +370,7 @@ export const bot_management_content_bots_protection_output: JsonSchema = { /** * The schema of `bot-management_crawler_protection` in responses. */ -export const bot_management_crawler_protection_output: JsonSchema = { +export const bot$$management_crawler_protection: JsonSchema = { "enum": [ "enabled", "disabled" @@ -381,42 +381,42 @@ export const bot_management_crawler_protection_output: JsonSchema = { /** * The schema of `bot-management_enable_js` in responses. */ -export const bot_management_enable_js_output: JsonSchema = { +export const bot$$management_enable_js: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_fight_mode` in responses. */ -export const bot_management_fight_mode_output: JsonSchema = { +export const bot$$management_fight_mode: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_fight_mode_turned_on` in responses. */ -export const bot_management_fight_mode_turned_on_output: JsonSchema = { +export const bot$$management_fight_mode_turned_on: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_is_robots_txt_managed` in responses. */ -export const bot_management_is_robots_txt_managed_output: JsonSchema = { +export const bot$$management_is_robots_txt_managed: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_jsd_api_results_enabled` in responses. */ -export const bot_management_jsd_api_results_enabled_output: JsonSchema = { +export const bot$$management_jsd_api_results_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_messages` in responses. */ -export const bot_management_messages_output: JsonSchema = { +export const bot$$management_messages: JsonSchema = { "items": { "properties": { "code": { @@ -449,21 +449,21 @@ export const bot_management_messages_output: JsonSchema = { /** * The schema of `bot-management_optimize_wordpress` in responses. */ -export const bot_management_optimize_wordpress_output: JsonSchema = { +export const bot$$management_optimize_wordpress: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_optimize_wordpress_turned_on` in responses. */ -export const bot_management_optimize_wordpress_turned_on_output: JsonSchema = { +export const bot$$management_optimize_wordpress_turned_on: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_sbfm_definitely_automated` in responses. */ -export const bot_management_sbfm_definitely_automated_output: JsonSchema = { +export const bot$$management_sbfm_definitely_automated: JsonSchema = { "enum": [ "allow", "block", @@ -476,14 +476,14 @@ export const bot_management_sbfm_definitely_automated_output: JsonSchema = { * The schema of `bot-management_sbfm_definitely_automated_turned_on` in * responses. */ -export const bot_management_sbfm_definitely_automated_turned_on_output: JsonSchema = { +export const bot$$management_sbfm_definitely_automated_turned_on: JsonSchema = { "type": "string" }; /** * The schema of `bot-management_sbfm_definitely_config` in responses. */ -export const bot_management_sbfm_definitely_config_output: JsonSchema = { +export const bot$$management_sbfm_definitely_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bot-management_base_config" @@ -522,7 +522,7 @@ export const bot_management_sbfm_definitely_config_output: JsonSchema = { /** * The schema of `bot-management_sbfm_likely_automated` in responses. */ -export const bot_management_sbfm_likely_automated_output: JsonSchema = { +export const bot$$management_sbfm_likely_automated: JsonSchema = { "enum": [ "allow", "block", @@ -534,14 +534,14 @@ export const bot_management_sbfm_likely_automated_output: JsonSchema = { /** * The schema of `bot-management_sbfm_likely_automated_turned_on` in responses. */ -export const bot_management_sbfm_likely_automated_turned_on_output: JsonSchema = { +export const bot$$management_sbfm_likely_automated_turned_on: JsonSchema = { "type": "string" }; /** * The schema of `bot-management_sbfm_likely_config` in responses. */ -export const bot_management_sbfm_likely_config_output: JsonSchema = { +export const bot$$management_sbfm_likely_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bot-management_base_config" @@ -580,7 +580,7 @@ export const bot_management_sbfm_likely_config_output: JsonSchema = { /** * The schema of `bot-management_sbfm_static_resource_protection` in responses. */ -export const bot_management_sbfm_static_resource_protection_output: JsonSchema = { +export const bot$$management_sbfm_static_resource_protection: JsonSchema = { "type": "boolean" }; @@ -588,14 +588,14 @@ export const bot_management_sbfm_static_resource_protection_output: JsonSchema = * The schema of `bot-management_sbfm_static_resource_protection_turned_on` in * responses. */ -export const bot_management_sbfm_static_resource_protection_turned_on_output: JsonSchema = { +export const bot$$management_sbfm_static_resource_protection_turned_on: JsonSchema = { "type": "string" }; /** * The schema of `bot-management_sbfm_verified_bots` in responses. */ -export const bot_management_sbfm_verified_bots_output: JsonSchema = { +export const bot$$management_sbfm_verified_bots: JsonSchema = { "enum": [ "allow", "block" @@ -606,14 +606,14 @@ export const bot_management_sbfm_verified_bots_output: JsonSchema = { /** * The schema of `bot-management_sbfm_verified_bots_turned_on` in responses. */ -export const bot_management_sbfm_verified_bots_turned_on_output: JsonSchema = { +export const bot$$management_sbfm_verified_bots_turned_on: JsonSchema = { "type": "string" }; /** * The schema of `bot-management_suppress_session_score` in responses. */ -export const bot_management_suppress_session_score_output: JsonSchema = { +export const bot$$management_suppress_session_score: JsonSchema = { "type": "boolean" }; @@ -621,13 +621,13 @@ export const bot_management_suppress_session_score_output: JsonSchema = { * The schema of `bot-management_suppress_session_score_turned_off` in * responses. */ -export const bot_management_suppress_session_score_turned_off_output: JsonSchema = { +export const bot$$management_suppress_session_score_turned_off: JsonSchema = { "type": "boolean" }; /** * The schema of `bot-management_using_latest_model` in responses. */ -export const bot_management_using_latest_model_output: JsonSchema = { +export const bot$$management_using_latest_model: JsonSchema = { "type": "boolean" }; diff --git a/src/generated/forge-mcp/botManagement/schemas.ts b/src/generated/forge-mcp/botManagement/schemas.ts index f5e8338e9..bdb3fc40b 100644 --- a/src/generated/forge-mcp/botManagement/schemas.ts +++ b/src/generated/forge-mcp/botManagement/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `bot-management_ai_agent_action`. */ -export const bot_management_ai_agent_action: JsonSchema = { +export const bot$$management_ai_agent_action: JsonSchema = { "description": "Action to apply to one supported personal AI agent.", "enum": [ "disabled", @@ -19,7 +19,7 @@ export const bot_management_ai_agent_action: JsonSchema = { /** * The schema of `bot-management_ai_agents`. */ -export const bot_management_ai_agents: JsonSchema = { +export const bot$$management_ai_agents: JsonSchema = { "description": "Configure blocking behavior for supported personal AI agents.", "properties": { "anthropic_agent": { @@ -49,7 +49,7 @@ export const bot_management_ai_agents: JsonSchema = { /** * The schema of `bot-management_ai_bots_migration_opt_out`. */ -export const bot_management_ai_bots_migration_opt_out: JsonSchema = { +export const bot$$management_ai_bots_migration_opt_out: JsonSchema = { "description": "Temporary migration flag tracking zones opted out of AI bots managed-rule updates.", "type": "boolean" }; @@ -57,7 +57,7 @@ export const bot_management_ai_bots_migration_opt_out: JsonSchema = { /** * The schema of `bot-management_ai_bots_protection`. */ -export const bot_management_ai_bots_protection: JsonSchema = { +export const bot$$management_ai_bots_protection: JsonSchema = { "description": "Enable rule to block AI Scrapers and Crawlers.", "enum": [ "block", @@ -70,7 +70,7 @@ export const bot_management_ai_bots_protection: JsonSchema = { /** * The schema of `bot-management_ai_search`. */ -export const bot_management_ai_search: JsonSchema = { +export const bot$$management_ai_search: JsonSchema = { "description": "Configure robots.txt policy for AI search bots.", "enum": [ "disabled", @@ -83,7 +83,7 @@ export const bot_management_ai_search: JsonSchema = { /** * The schema of `bot-management_ai_training`. */ -export const bot_management_ai_training: JsonSchema = { +export const bot$$management_ai_training: JsonSchema = { "description": "Configure robots.txt policy for AI model training bots.", "enum": [ "disabled", @@ -97,7 +97,7 @@ export const bot_management_ai_training: JsonSchema = { /** * The schema of `bot-management_ai_user`. */ -export const bot_management_ai_user: JsonSchema = { +export const bot$$management_ai_user: JsonSchema = { "description": "Configure robots.txt policy for AI assistant and agent bots.", "enum": [ "disabled", @@ -110,7 +110,7 @@ export const bot_management_ai_user: JsonSchema = { /** * The schema of `bot-management_auto_update_model`. */ -export const bot_management_auto_update_model: JsonSchema = { +export const bot$$management_auto_update_model: JsonSchema = { "description": "Automatically update to the newest bot detection models created by Cloudflare as they are released. [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes)", "type": "boolean" }; @@ -118,7 +118,7 @@ export const bot_management_auto_update_model: JsonSchema = { /** * The schema of `bot-management_base_config`. */ -export const bot_management_base_config: JsonSchema = { +export const bot$$management_base_config: JsonSchema = { "description": "Shared Config", "properties": { "ai_agents": { @@ -183,7 +183,7 @@ export const bot_management_base_config: JsonSchema = { /** * The schema of `bot-management_bm_cookie_enabled`. */ -export const bot_management_bm_cookie_enabled: JsonSchema = { +export const bot$$management_bm_cookie_enabled: JsonSchema = { "description": "Indicates that the bot management cookie can be placed on end user devices accessing the site. Defaults to true", "type": "boolean" }; @@ -191,7 +191,7 @@ export const bot_management_bm_cookie_enabled: JsonSchema = { /** * The schema of `bot-management_bm_subscription_config`. */ -export const bot_management_bm_subscription_config: JsonSchema = { +export const bot$$management_bm_subscription_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bot-management_base_config" @@ -220,7 +220,7 @@ export const bot_management_bm_subscription_config: JsonSchema = { /** * The schema of `bot-management_bot_fight_mode_config`. */ -export const bot_management_bot_fight_mode_config: JsonSchema = { +export const bot$$management_bot_fight_mode_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bot-management_base_config" @@ -241,7 +241,7 @@ export const bot_management_bot_fight_mode_config: JsonSchema = { /** * The schema of `bot-management_bot_preference_sync_enabled`. */ -export const bot_management_bot_preference_sync_enabled: JsonSchema = { +export const bot$$management_bot_preference_sync_enabled: JsonSchema = { "description": "Enable Bot Preference Sync for this zone. When enabled, Cloudflare can serve robots.txt content derived from the zone's AI Search, AI User, and AI Training preferences.", "type": "boolean" }; @@ -249,7 +249,7 @@ export const bot_management_bot_preference_sync_enabled: JsonSchema = { /** * The schema of `bot-management_cf_robots_variant`. */ -export const bot_management_cf_robots_variant: JsonSchema = { +export const bot$$management_cf_robots_variant: JsonSchema = { "description": "Specifies the Robots Access Control License variant to use.", "enum": [ "off", @@ -261,7 +261,7 @@ export const bot_management_cf_robots_variant: JsonSchema = { /** * The schema of `bot-management_config_single`. */ -export const bot_management_config_single: JsonSchema = { +export const bot$$management_config_single: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/bot-management_bot_fight_mode_config" @@ -281,7 +281,7 @@ export const bot_management_config_single: JsonSchema = { /** * The schema of `bot-management_content_bots_protection`. */ -export const bot_management_content_bots_protection: JsonSchema = { +export const bot$$management_content_bots_protection: JsonSchema = { "description": "Enable rule to block content bots. When enabled, blocks automated traffic with low bot scores, excluding safe verified bot categories. Exceptions should be managed via skip rules.", "enum": [ "block", @@ -293,7 +293,7 @@ export const bot_management_content_bots_protection: JsonSchema = { /** * The schema of `bot-management_crawler_protection`. */ -export const bot_management_crawler_protection: JsonSchema = { +export const bot$$management_crawler_protection: JsonSchema = { "description": "Enable rule to punish AI Scrapers and Crawlers via a link maze.", "enum": [ "enabled", @@ -305,7 +305,7 @@ export const bot_management_crawler_protection: JsonSchema = { /** * The schema of `bot-management_enable_js`. */ -export const bot_management_enable_js: JsonSchema = { +export const bot$$management_enable_js: JsonSchema = { "description": "Use lightweight, invisible JavaScript detections to improve Bot Management. [Learn more about JavaScript Detections](https://developers.cloudflare.com/bots/reference/javascript-detections/).", "type": "boolean" }; @@ -313,7 +313,7 @@ export const bot_management_enable_js: JsonSchema = { /** * The schema of `bot-management_fight_mode`. */ -export const bot_management_fight_mode: JsonSchema = { +export const bot$$management_fight_mode: JsonSchema = { "description": "Whether to enable Bot Fight Mode.", "type": "boolean" }; @@ -321,7 +321,7 @@ export const bot_management_fight_mode: JsonSchema = { /** * The schema of `bot-management_identifier`. */ -export const bot_management_identifier: JsonSchema = { +export const bot$$management_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -329,7 +329,7 @@ export const bot_management_identifier: JsonSchema = { /** * The schema of `bot-management_is_robots_txt_managed`. */ -export const bot_management_is_robots_txt_managed: JsonSchema = { +export const bot$$management_is_robots_txt_managed: JsonSchema = { "description": "Enable cloudflare managed robots.txt. If an existing robots.txt is detected, then managed robots.txt will be prepended to the existing robots.txt.", "type": "boolean" }; @@ -337,7 +337,7 @@ export const bot_management_is_robots_txt_managed: JsonSchema = { /** * The schema of `bot-management_jsd_api_results_enabled`. */ -export const bot_management_jsd_api_results_enabled: JsonSchema = { +export const bot$$management_jsd_api_results_enabled: JsonSchema = { "description": "Whether to use JavaScript Detection results submitted through the API for this zone.", "type": "boolean" }; @@ -345,7 +345,7 @@ export const bot_management_jsd_api_results_enabled: JsonSchema = { /** * The schema of `bot-management_optimize_wordpress`. */ -export const bot_management_optimize_wordpress: JsonSchema = { +export const bot$$management_optimize_wordpress: JsonSchema = { "description": "Whether to optimize Super Bot Fight Mode protections for Wordpress.", "type": "boolean" }; @@ -353,7 +353,7 @@ export const bot_management_optimize_wordpress: JsonSchema = { /** * The schema of `bot-management_sbfm_definitely_automated`. */ -export const bot_management_sbfm_definitely_automated: JsonSchema = { +export const bot$$management_sbfm_definitely_automated: JsonSchema = { "description": "Super Bot Fight Mode (SBFM) action to take on definitely automated requests.", "enum": [ "allow", @@ -366,7 +366,7 @@ export const bot_management_sbfm_definitely_automated: JsonSchema = { /** * The schema of `bot-management_sbfm_definitely_config`. */ -export const bot_management_sbfm_definitely_config: JsonSchema = { +export const bot$$management_sbfm_definitely_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bot-management_base_config" @@ -399,7 +399,7 @@ export const bot_management_sbfm_definitely_config: JsonSchema = { /** * The schema of `bot-management_sbfm_likely_automated`. */ -export const bot_management_sbfm_likely_automated: JsonSchema = { +export const bot$$management_sbfm_likely_automated: JsonSchema = { "description": "Super Bot Fight Mode (SBFM) action to take on likely automated requests.", "enum": [ "allow", @@ -412,7 +412,7 @@ export const bot_management_sbfm_likely_automated: JsonSchema = { /** * The schema of `bot-management_sbfm_likely_config`. */ -export const bot_management_sbfm_likely_config: JsonSchema = { +export const bot$$management_sbfm_likely_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bot-management_base_config" @@ -449,7 +449,7 @@ export const bot_management_sbfm_likely_config: JsonSchema = { /** * The schema of `bot-management_sbfm_static_resource_protection`. */ -export const bot_management_sbfm_static_resource_protection: JsonSchema = { +export const bot$$management_sbfm_static_resource_protection: JsonSchema = { "description": "Super Bot Fight Mode (SBFM) to enable static resource protection.\nEnable if static resources on your application need bot protection.\nNote: Static resource protection can also result in legitimate traffic being blocked.\n", "type": "boolean" }; @@ -457,7 +457,7 @@ export const bot_management_sbfm_static_resource_protection: JsonSchema = { /** * The schema of `bot-management_sbfm_verified_bots`. */ -export const bot_management_sbfm_verified_bots: JsonSchema = { +export const bot$$management_sbfm_verified_bots: JsonSchema = { "description": "Super Bot Fight Mode (SBFM) action to take on verified bots requests.", "enum": [ "allow", @@ -469,7 +469,7 @@ export const bot_management_sbfm_verified_bots: JsonSchema = { /** * The schema of `bot-management_suppress_session_score`. */ -export const bot_management_suppress_session_score: JsonSchema = { +export const bot$$management_suppress_session_score: JsonSchema = { "description": "Whether to disable tracking the highest bot score for a session in the Bot Management cookie.", "type": "boolean" }; diff --git a/src/generated/forge-mcp/botManagement/tools.ts b/src/generated/forge-mcp/botManagement/tools.ts index 2c84cf020..19a1b9ce4 100644 --- a/src/generated/forge-mcp/botManagement/tools.ts +++ b/src/generated/forge-mcp/botManagement/tools.ts @@ -3,145 +3,153 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - bot_management_ai_agent_action_output, - bot_management_ai_agents_output, - bot_management_ai_bots_migration_opt_out_output, - bot_management_ai_bots_protection_output, - bot_management_ai_search_output, - bot_management_ai_training_output, - bot_management_ai_user_output, - bot_management_api_response_common_failure_output, - bot_management_api_response_single_output, - bot_management_auto_update_model_output, - bot_management_base_config_output, - bot_management_bm_cookie_enabled_output, - bot_management_bm_subscription_config_output, - bot_management_bot_fight_mode_config_output, - bot_management_bot_management_response_body_output, - bot_management_bot_preference_sync_enabled_output, - bot_management_cf_robots_variant_output, - bot_management_content_bots_protection_output, - bot_management_crawler_protection_output, - bot_management_enable_js_output, - bot_management_fight_mode_output, - bot_management_fight_mode_turned_on_output, - bot_management_is_robots_txt_managed_output, - bot_management_jsd_api_results_enabled_output, - bot_management_messages_output, - bot_management_optimize_wordpress_output, - bot_management_optimize_wordpress_turned_on_output, - bot_management_sbfm_definitely_automated_output, - bot_management_sbfm_definitely_automated_turned_on_output, - bot_management_sbfm_definitely_config_output, - bot_management_sbfm_likely_automated_output, - bot_management_sbfm_likely_automated_turned_on_output, - bot_management_sbfm_likely_config_output, - bot_management_sbfm_static_resource_protection_output, - bot_management_sbfm_static_resource_protection_turned_on_output, - bot_management_sbfm_verified_bots_output, - bot_management_sbfm_verified_bots_turned_on_output, - bot_management_suppress_session_score_output, - bot_management_suppress_session_score_turned_off_output, - bot_management_using_latest_model_output, + bot$$management_ai_agent_action, + bot$$management_ai_agents, + bot$$management_ai_bots_migration_opt_out, + bot$$management_ai_bots_protection, + bot$$management_ai_search, + bot$$management_ai_training, + bot$$management_ai_user, + bot$$management_api$$response$$common$$failure, + bot$$management_api$$response$$single, + bot$$management_auto_update_model, + bot$$management_base_config, + bot$$management_bm_cookie_enabled, + bot$$management_bm_subscription_config, + bot$$management_bot_fight_mode_config, + bot$$management_bot_management_response_body, + bot$$management_bot_preference_sync_enabled, + bot$$management_cf_robots_variant, + bot$$management_content_bots_protection, + bot$$management_crawler_protection, + bot$$management_enable_js, + bot$$management_fight_mode, + bot$$management_fight_mode_turned_on, + bot$$management_is_robots_txt_managed, + bot$$management_jsd_api_results_enabled, + bot$$management_messages, + bot$$management_optimize_wordpress, + bot$$management_optimize_wordpress_turned_on, + bot$$management_sbfm_definitely_automated, + bot$$management_sbfm_definitely_automated_turned_on, + bot$$management_sbfm_definitely_config, + bot$$management_sbfm_likely_automated, + bot$$management_sbfm_likely_automated_turned_on, + bot$$management_sbfm_likely_config, + bot$$management_sbfm_static_resource_protection, + bot$$management_sbfm_static_resource_protection_turned_on, + bot$$management_sbfm_verified_bots, + bot$$management_sbfm_verified_bots_turned_on, + bot$$management_suppress_session_score, + bot$$management_suppress_session_score_turned_off, + bot$$management_using_latest_model, } from "./outputs.js"; import { - bot_management_ai_agent_action, - bot_management_ai_agents, - bot_management_ai_bots_migration_opt_out, - bot_management_ai_bots_protection, - bot_management_ai_search, - bot_management_ai_training, - bot_management_ai_user, - bot_management_auto_update_model, - bot_management_base_config, - bot_management_bm_cookie_enabled, - bot_management_bm_subscription_config, - bot_management_bot_fight_mode_config, - bot_management_bot_preference_sync_enabled, - bot_management_cf_robots_variant, - bot_management_config_single, - bot_management_content_bots_protection, - bot_management_crawler_protection, - bot_management_enable_js, - bot_management_fight_mode, - bot_management_identifier, - bot_management_is_robots_txt_managed, - bot_management_jsd_api_results_enabled, - bot_management_optimize_wordpress, - bot_management_sbfm_definitely_automated, - bot_management_sbfm_definitely_config, - bot_management_sbfm_likely_automated, - bot_management_sbfm_likely_config, - bot_management_sbfm_static_resource_protection, - bot_management_sbfm_verified_bots, - bot_management_suppress_session_score, + bot$$management_ai_agent_action as bot$$management_ai_agent_action$, + bot$$management_ai_agents as bot$$management_ai_agents$, + bot$$management_ai_bots_migration_opt_out as bot$$management_ai_bots_migration_opt_out$, + bot$$management_ai_bots_protection as bot$$management_ai_bots_protection$, + bot$$management_ai_search as bot$$management_ai_search$, + bot$$management_ai_training as bot$$management_ai_training$, + bot$$management_ai_user as bot$$management_ai_user$, + bot$$management_auto_update_model as bot$$management_auto_update_model$, + bot$$management_base_config as bot$$management_base_config$, + bot$$management_bm_cookie_enabled as bot$$management_bm_cookie_enabled$, + bot$$management_bm_subscription_config as bot$$management_bm_subscription_config$, + bot$$management_bot_fight_mode_config as bot$$management_bot_fight_mode_config$, + bot$$management_bot_preference_sync_enabled as bot$$management_bot_preference_sync_enabled$, + bot$$management_cf_robots_variant as bot$$management_cf_robots_variant$, + bot$$management_config_single, + bot$$management_content_bots_protection as bot$$management_content_bots_protection$, + bot$$management_crawler_protection as bot$$management_crawler_protection$, + bot$$management_enable_js as bot$$management_enable_js$, + bot$$management_fight_mode as bot$$management_fight_mode$, + bot$$management_identifier, + bot$$management_is_robots_txt_managed as bot$$management_is_robots_txt_managed$, + bot$$management_jsd_api_results_enabled as bot$$management_jsd_api_results_enabled$, + bot$$management_optimize_wordpress as bot$$management_optimize_wordpress$, + bot$$management_sbfm_definitely_automated as bot$$management_sbfm_definitely_automated$, + bot$$management_sbfm_definitely_config as bot$$management_sbfm_definitely_config$, + bot$$management_sbfm_likely_automated as bot$$management_sbfm_likely_automated$, + bot$$management_sbfm_likely_config as bot$$management_sbfm_likely_config$, + bot$$management_sbfm_static_resource_protection as bot$$management_sbfm_static_resource_protection$, + bot$$management_sbfm_verified_bots as bot$$management_sbfm_verified_bots$, + bot$$management_suppress_session_score as bot$$management_suppress_session_score$, } from "./schemas.js"; /** - * The tools of `bot_management`. + * The tools of `botManagement`. */ export const tools: readonly Tool[] = [ { - name: "bot_management_get", + name: "botManagement_get", title: "Get Zone Bot Management Config", description: "Retrieve a zone's Bot Management Config", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/bot-management_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bot-management_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "bot-management_identifier": bot_management_identifier, + "bot-management_identifier": bot$$management_identifier, }, }, outputSchema: { "$ref": "#/$defs/bot-management_bot_management_response_body", $defs: { - "bot-management_ai_agent_action": bot_management_ai_agent_action_output, - "bot-management_ai_agents": bot_management_ai_agents_output, - "bot-management_ai_bots_migration_opt_out": bot_management_ai_bots_migration_opt_out_output, - "bot-management_ai_bots_protection": bot_management_ai_bots_protection_output, - "bot-management_ai_search": bot_management_ai_search_output, - "bot-management_ai_training": bot_management_ai_training_output, - "bot-management_ai_user": bot_management_ai_user_output, - "bot-management_api-response-single": bot_management_api_response_single_output, - "bot-management_auto_update_model": bot_management_auto_update_model_output, - "bot-management_base_config": bot_management_base_config_output, - "bot-management_bm_cookie_enabled": bot_management_bm_cookie_enabled_output, - "bot-management_bm_subscription_config": bot_management_bm_subscription_config_output, - "bot-management_bot_fight_mode_config": bot_management_bot_fight_mode_config_output, - "bot-management_bot_management_response_body": bot_management_bot_management_response_body_output, - "bot-management_bot_preference_sync_enabled": bot_management_bot_preference_sync_enabled_output, - "bot-management_cf_robots_variant": bot_management_cf_robots_variant_output, - "bot-management_content_bots_protection": bot_management_content_bots_protection_output, - "bot-management_crawler_protection": bot_management_crawler_protection_output, - "bot-management_enable_js": bot_management_enable_js_output, - "bot-management_fight_mode": bot_management_fight_mode_output, - "bot-management_fight_mode_turned_on": bot_management_fight_mode_turned_on_output, - "bot-management_is_robots_txt_managed": bot_management_is_robots_txt_managed_output, - "bot-management_jsd_api_results_enabled": bot_management_jsd_api_results_enabled_output, - "bot-management_messages": bot_management_messages_output, - "bot-management_optimize_wordpress": bot_management_optimize_wordpress_output, - "bot-management_optimize_wordpress_turned_on": bot_management_optimize_wordpress_turned_on_output, - "bot-management_sbfm_definitely_automated": bot_management_sbfm_definitely_automated_output, - "bot-management_sbfm_definitely_automated_turned_on": bot_management_sbfm_definitely_automated_turned_on_output, - "bot-management_sbfm_definitely_config": bot_management_sbfm_definitely_config_output, - "bot-management_sbfm_likely_automated": bot_management_sbfm_likely_automated_output, - "bot-management_sbfm_likely_automated_turned_on": bot_management_sbfm_likely_automated_turned_on_output, - "bot-management_sbfm_likely_config": bot_management_sbfm_likely_config_output, - "bot-management_sbfm_static_resource_protection": bot_management_sbfm_static_resource_protection_output, - "bot-management_sbfm_static_resource_protection_turned_on": bot_management_sbfm_static_resource_protection_turned_on_output, - "bot-management_sbfm_verified_bots": bot_management_sbfm_verified_bots_output, - "bot-management_sbfm_verified_bots_turned_on": bot_management_sbfm_verified_bots_turned_on_output, - "bot-management_suppress_session_score": bot_management_suppress_session_score_output, - "bot-management_suppress_session_score_turned_off": bot_management_suppress_session_score_turned_off_output, - "bot-management_using_latest_model": bot_management_using_latest_model_output, + "bot-management_ai_agent_action": bot$$management_ai_agent_action, + "bot-management_ai_agents": bot$$management_ai_agents, + "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out, + "bot-management_ai_bots_protection": bot$$management_ai_bots_protection, + "bot-management_ai_search": bot$$management_ai_search, + "bot-management_ai_training": bot$$management_ai_training, + "bot-management_ai_user": bot$$management_ai_user, + "bot-management_api-response-single": bot$$management_api$$response$$single, + "bot-management_auto_update_model": bot$$management_auto_update_model, + "bot-management_base_config": bot$$management_base_config, + "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled, + "bot-management_bm_subscription_config": bot$$management_bm_subscription_config, + "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config, + "bot-management_bot_management_response_body": bot$$management_bot_management_response_body, + "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled, + "bot-management_cf_robots_variant": bot$$management_cf_robots_variant, + "bot-management_content_bots_protection": bot$$management_content_bots_protection, + "bot-management_crawler_protection": bot$$management_crawler_protection, + "bot-management_enable_js": bot$$management_enable_js, + "bot-management_fight_mode": bot$$management_fight_mode, + "bot-management_fight_mode_turned_on": bot$$management_fight_mode_turned_on, + "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed, + "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled, + "bot-management_messages": bot$$management_messages, + "bot-management_optimize_wordpress": bot$$management_optimize_wordpress, + "bot-management_optimize_wordpress_turned_on": bot$$management_optimize_wordpress_turned_on, + "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated, + "bot-management_sbfm_definitely_automated_turned_on": bot$$management_sbfm_definitely_automated_turned_on, + "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config, + "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated, + "bot-management_sbfm_likely_automated_turned_on": bot$$management_sbfm_likely_automated_turned_on, + "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config, + "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection, + "bot-management_sbfm_static_resource_protection_turned_on": bot$$management_sbfm_static_resource_protection_turned_on, + "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots, + "bot-management_sbfm_verified_bots_turned_on": bot$$management_sbfm_verified_bots_turned_on, + "bot-management_suppress_session_score": bot$$management_suppress_session_score, + "bot-management_suppress_session_score_turned_off": bot$$management_suppress_session_score_turned_off, + "bot-management_using_latest_model": bot$$management_using_latest_model, }, }, annotations: { @@ -175,46 +183,46 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bot-management_ai_agent_action": bot_management_ai_agent_action_output, - "bot-management_ai_agents": bot_management_ai_agents_output, - "bot-management_ai_bots_migration_opt_out": bot_management_ai_bots_migration_opt_out_output, - "bot-management_ai_bots_protection": bot_management_ai_bots_protection_output, - "bot-management_ai_search": bot_management_ai_search_output, - "bot-management_ai_training": bot_management_ai_training_output, - "bot-management_ai_user": bot_management_ai_user_output, - "bot-management_api-response-common-failure": bot_management_api_response_common_failure_output, - "bot-management_api-response-single": bot_management_api_response_single_output, - "bot-management_auto_update_model": bot_management_auto_update_model_output, - "bot-management_base_config": bot_management_base_config_output, - "bot-management_bm_cookie_enabled": bot_management_bm_cookie_enabled_output, - "bot-management_bm_subscription_config": bot_management_bm_subscription_config_output, - "bot-management_bot_fight_mode_config": bot_management_bot_fight_mode_config_output, - "bot-management_bot_management_response_body": bot_management_bot_management_response_body_output, - "bot-management_bot_preference_sync_enabled": bot_management_bot_preference_sync_enabled_output, - "bot-management_cf_robots_variant": bot_management_cf_robots_variant_output, - "bot-management_content_bots_protection": bot_management_content_bots_protection_output, - "bot-management_crawler_protection": bot_management_crawler_protection_output, - "bot-management_enable_js": bot_management_enable_js_output, - "bot-management_fight_mode": bot_management_fight_mode_output, - "bot-management_fight_mode_turned_on": bot_management_fight_mode_turned_on_output, - "bot-management_is_robots_txt_managed": bot_management_is_robots_txt_managed_output, - "bot-management_jsd_api_results_enabled": bot_management_jsd_api_results_enabled_output, - "bot-management_messages": bot_management_messages_output, - "bot-management_optimize_wordpress": bot_management_optimize_wordpress_output, - "bot-management_optimize_wordpress_turned_on": bot_management_optimize_wordpress_turned_on_output, - "bot-management_sbfm_definitely_automated": bot_management_sbfm_definitely_automated_output, - "bot-management_sbfm_definitely_automated_turned_on": bot_management_sbfm_definitely_automated_turned_on_output, - "bot-management_sbfm_definitely_config": bot_management_sbfm_definitely_config_output, - "bot-management_sbfm_likely_automated": bot_management_sbfm_likely_automated_output, - "bot-management_sbfm_likely_automated_turned_on": bot_management_sbfm_likely_automated_turned_on_output, - "bot-management_sbfm_likely_config": bot_management_sbfm_likely_config_output, - "bot-management_sbfm_static_resource_protection": bot_management_sbfm_static_resource_protection_output, - "bot-management_sbfm_static_resource_protection_turned_on": bot_management_sbfm_static_resource_protection_turned_on_output, - "bot-management_sbfm_verified_bots": bot_management_sbfm_verified_bots_output, - "bot-management_sbfm_verified_bots_turned_on": bot_management_sbfm_verified_bots_turned_on_output, - "bot-management_suppress_session_score": bot_management_suppress_session_score_output, - "bot-management_suppress_session_score_turned_off": bot_management_suppress_session_score_turned_off_output, - "bot-management_using_latest_model": bot_management_using_latest_model_output, + "bot-management_ai_agent_action": bot$$management_ai_agent_action, + "bot-management_ai_agents": bot$$management_ai_agents, + "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out, + "bot-management_ai_bots_protection": bot$$management_ai_bots_protection, + "bot-management_ai_search": bot$$management_ai_search, + "bot-management_ai_training": bot$$management_ai_training, + "bot-management_ai_user": bot$$management_ai_user, + "bot-management_api-response-common-failure": bot$$management_api$$response$$common$$failure, + "bot-management_api-response-single": bot$$management_api$$response$$single, + "bot-management_auto_update_model": bot$$management_auto_update_model, + "bot-management_base_config": bot$$management_base_config, + "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled, + "bot-management_bm_subscription_config": bot$$management_bm_subscription_config, + "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config, + "bot-management_bot_management_response_body": bot$$management_bot_management_response_body, + "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled, + "bot-management_cf_robots_variant": bot$$management_cf_robots_variant, + "bot-management_content_bots_protection": bot$$management_content_bots_protection, + "bot-management_crawler_protection": bot$$management_crawler_protection, + "bot-management_enable_js": bot$$management_enable_js, + "bot-management_fight_mode": bot$$management_fight_mode, + "bot-management_fight_mode_turned_on": bot$$management_fight_mode_turned_on, + "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed, + "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled, + "bot-management_messages": bot$$management_messages, + "bot-management_optimize_wordpress": bot$$management_optimize_wordpress, + "bot-management_optimize_wordpress_turned_on": bot$$management_optimize_wordpress_turned_on, + "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated, + "bot-management_sbfm_definitely_automated_turned_on": bot$$management_sbfm_definitely_automated_turned_on, + "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config, + "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated, + "bot-management_sbfm_likely_automated_turned_on": bot$$management_sbfm_likely_automated_turned_on, + "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config, + "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection, + "bot-management_sbfm_static_resource_protection_turned_on": bot$$management_sbfm_static_resource_protection_turned_on, + "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots, + "bot-management_sbfm_verified_bots_turned_on": bot$$management_sbfm_verified_bots_turned_on, + "bot-management_suppress_session_score": bot$$management_suppress_session_score, + "bot-management_suppress_session_score_turned_off": bot$$management_suppress_session_score_turned_off, + "bot-management_using_latest_model": bot$$management_using_latest_model, }, }, request: (args) => ({ @@ -222,7 +230,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "bot_management_update", + name: "botManagement_update", title: "Update Zone Bot Management Config", description: "Updates the Bot Management configuration for a zone.\n\nThis API is used to update:\n- **Bot Fight Mode**\n- **Super Bot Fight Mode**\n- **Bot Management for Enterprise**\n\nSee [Bot Plans](https://developers.cloudflare.com/bots/plans/) for more information on the different plans\n\\\nIf you recently upgraded or downgraded your plan, refer to the following examples to clean up old configurations.\nCopy and paste the example body to remove old zone configurations based on your current plan.\n#### Clean up configuration for Bot Fight Mode plan\n```json\n{\n \"sbfm_likely_automated\": \"allow\",\n \"sbfm_definitely_automated\": \"allow\",\n \"sbfm_verified_bots\": \"allow\",\n \"sbfm_static_resource_protection\": false,\n \"optimize_wordpress\": false,\n \"suppress_session_score\": false\n}\n```\n#### Clean up configuration for SBFM Pro plan\n```json\n{\n \"sbfm_likely_automated\": \"allow\",\n \"fight_mode\": false\n}\n```\n#### Clean up configuration for SBFM Biz plan\n```json\n{\n \"fight_mode\": false\n}\n```\n#### Clean up configuration for BM Enterprise Subscription plan\nIt is strongly recommended that you ensure you have [custom rules](https://developers.cloudflare.com/waf/custom-rules/) in place to protect your zone before disabling the SBFM rules. Without these protections, your zone is vulnerable to attacks.\n```json\n{\n \"sbfm_likely_automated\": \"allow\",\n \"sbfm_definitely_automated\": \"allow\",\n \"sbfm_verified_bots\": \"allow\",\n \"sbfm_static_resource_protection\": false,\n \"optimize_wordpress\": false,\n \"fight_mode\": false\n}\n```", inputSchema: { @@ -231,90 +239,98 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/bot-management_config_single" }, - "zone_id": { - "$ref": "#/$defs/bot-management_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bot-management_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "bot-management_ai_agent_action": bot_management_ai_agent_action, - "bot-management_ai_agents": bot_management_ai_agents, - "bot-management_ai_bots_migration_opt_out": bot_management_ai_bots_migration_opt_out, - "bot-management_ai_bots_protection": bot_management_ai_bots_protection, - "bot-management_ai_search": bot_management_ai_search, - "bot-management_ai_training": bot_management_ai_training, - "bot-management_ai_user": bot_management_ai_user, - "bot-management_auto_update_model": bot_management_auto_update_model, - "bot-management_base_config": bot_management_base_config, - "bot-management_bm_cookie_enabled": bot_management_bm_cookie_enabled, - "bot-management_bm_subscription_config": bot_management_bm_subscription_config, - "bot-management_bot_fight_mode_config": bot_management_bot_fight_mode_config, - "bot-management_bot_preference_sync_enabled": bot_management_bot_preference_sync_enabled, - "bot-management_cf_robots_variant": bot_management_cf_robots_variant, - "bot-management_config_single": bot_management_config_single, - "bot-management_content_bots_protection": bot_management_content_bots_protection, - "bot-management_crawler_protection": bot_management_crawler_protection, - "bot-management_enable_js": bot_management_enable_js, - "bot-management_fight_mode": bot_management_fight_mode, - "bot-management_identifier": bot_management_identifier, - "bot-management_is_robots_txt_managed": bot_management_is_robots_txt_managed, - "bot-management_jsd_api_results_enabled": bot_management_jsd_api_results_enabled, - "bot-management_optimize_wordpress": bot_management_optimize_wordpress, - "bot-management_sbfm_definitely_automated": bot_management_sbfm_definitely_automated, - "bot-management_sbfm_definitely_config": bot_management_sbfm_definitely_config, - "bot-management_sbfm_likely_automated": bot_management_sbfm_likely_automated, - "bot-management_sbfm_likely_config": bot_management_sbfm_likely_config, - "bot-management_sbfm_static_resource_protection": bot_management_sbfm_static_resource_protection, - "bot-management_sbfm_verified_bots": bot_management_sbfm_verified_bots, - "bot-management_suppress_session_score": bot_management_suppress_session_score, + "bot-management_ai_agent_action": bot$$management_ai_agent_action$, + "bot-management_ai_agents": bot$$management_ai_agents$, + "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out$, + "bot-management_ai_bots_protection": bot$$management_ai_bots_protection$, + "bot-management_ai_search": bot$$management_ai_search$, + "bot-management_ai_training": bot$$management_ai_training$, + "bot-management_ai_user": bot$$management_ai_user$, + "bot-management_auto_update_model": bot$$management_auto_update_model$, + "bot-management_base_config": bot$$management_base_config$, + "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled$, + "bot-management_bm_subscription_config": bot$$management_bm_subscription_config$, + "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config$, + "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled$, + "bot-management_cf_robots_variant": bot$$management_cf_robots_variant$, + "bot-management_config_single": bot$$management_config_single, + "bot-management_content_bots_protection": bot$$management_content_bots_protection$, + "bot-management_crawler_protection": bot$$management_crawler_protection$, + "bot-management_enable_js": bot$$management_enable_js$, + "bot-management_fight_mode": bot$$management_fight_mode$, + "bot-management_identifier": bot$$management_identifier, + "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed$, + "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled$, + "bot-management_optimize_wordpress": bot$$management_optimize_wordpress$, + "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated$, + "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config$, + "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated$, + "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config$, + "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection$, + "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots$, + "bot-management_suppress_session_score": bot$$management_suppress_session_score$, }, }, outputSchema: { "$ref": "#/$defs/bot-management_bot_management_response_body", $defs: { - "bot-management_ai_agent_action": bot_management_ai_agent_action_output, - "bot-management_ai_agents": bot_management_ai_agents_output, - "bot-management_ai_bots_migration_opt_out": bot_management_ai_bots_migration_opt_out_output, - "bot-management_ai_bots_protection": bot_management_ai_bots_protection_output, - "bot-management_ai_search": bot_management_ai_search_output, - "bot-management_ai_training": bot_management_ai_training_output, - "bot-management_ai_user": bot_management_ai_user_output, - "bot-management_api-response-single": bot_management_api_response_single_output, - "bot-management_auto_update_model": bot_management_auto_update_model_output, - "bot-management_base_config": bot_management_base_config_output, - "bot-management_bm_cookie_enabled": bot_management_bm_cookie_enabled_output, - "bot-management_bm_subscription_config": bot_management_bm_subscription_config_output, - "bot-management_bot_fight_mode_config": bot_management_bot_fight_mode_config_output, - "bot-management_bot_management_response_body": bot_management_bot_management_response_body_output, - "bot-management_bot_preference_sync_enabled": bot_management_bot_preference_sync_enabled_output, - "bot-management_cf_robots_variant": bot_management_cf_robots_variant_output, - "bot-management_content_bots_protection": bot_management_content_bots_protection_output, - "bot-management_crawler_protection": bot_management_crawler_protection_output, - "bot-management_enable_js": bot_management_enable_js_output, - "bot-management_fight_mode": bot_management_fight_mode_output, - "bot-management_fight_mode_turned_on": bot_management_fight_mode_turned_on_output, - "bot-management_is_robots_txt_managed": bot_management_is_robots_txt_managed_output, - "bot-management_jsd_api_results_enabled": bot_management_jsd_api_results_enabled_output, - "bot-management_messages": bot_management_messages_output, - "bot-management_optimize_wordpress": bot_management_optimize_wordpress_output, - "bot-management_optimize_wordpress_turned_on": bot_management_optimize_wordpress_turned_on_output, - "bot-management_sbfm_definitely_automated": bot_management_sbfm_definitely_automated_output, - "bot-management_sbfm_definitely_automated_turned_on": bot_management_sbfm_definitely_automated_turned_on_output, - "bot-management_sbfm_definitely_config": bot_management_sbfm_definitely_config_output, - "bot-management_sbfm_likely_automated": bot_management_sbfm_likely_automated_output, - "bot-management_sbfm_likely_automated_turned_on": bot_management_sbfm_likely_automated_turned_on_output, - "bot-management_sbfm_likely_config": bot_management_sbfm_likely_config_output, - "bot-management_sbfm_static_resource_protection": bot_management_sbfm_static_resource_protection_output, - "bot-management_sbfm_static_resource_protection_turned_on": bot_management_sbfm_static_resource_protection_turned_on_output, - "bot-management_sbfm_verified_bots": bot_management_sbfm_verified_bots_output, - "bot-management_sbfm_verified_bots_turned_on": bot_management_sbfm_verified_bots_turned_on_output, - "bot-management_suppress_session_score": bot_management_suppress_session_score_output, - "bot-management_suppress_session_score_turned_off": bot_management_suppress_session_score_turned_off_output, - "bot-management_using_latest_model": bot_management_using_latest_model_output, + "bot-management_ai_agent_action": bot$$management_ai_agent_action, + "bot-management_ai_agents": bot$$management_ai_agents, + "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out, + "bot-management_ai_bots_protection": bot$$management_ai_bots_protection, + "bot-management_ai_search": bot$$management_ai_search, + "bot-management_ai_training": bot$$management_ai_training, + "bot-management_ai_user": bot$$management_ai_user, + "bot-management_api-response-single": bot$$management_api$$response$$single, + "bot-management_auto_update_model": bot$$management_auto_update_model, + "bot-management_base_config": bot$$management_base_config, + "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled, + "bot-management_bm_subscription_config": bot$$management_bm_subscription_config, + "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config, + "bot-management_bot_management_response_body": bot$$management_bot_management_response_body, + "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled, + "bot-management_cf_robots_variant": bot$$management_cf_robots_variant, + "bot-management_content_bots_protection": bot$$management_content_bots_protection, + "bot-management_crawler_protection": bot$$management_crawler_protection, + "bot-management_enable_js": bot$$management_enable_js, + "bot-management_fight_mode": bot$$management_fight_mode, + "bot-management_fight_mode_turned_on": bot$$management_fight_mode_turned_on, + "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed, + "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled, + "bot-management_messages": bot$$management_messages, + "bot-management_optimize_wordpress": bot$$management_optimize_wordpress, + "bot-management_optimize_wordpress_turned_on": bot$$management_optimize_wordpress_turned_on, + "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated, + "bot-management_sbfm_definitely_automated_turned_on": bot$$management_sbfm_definitely_automated_turned_on, + "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config, + "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated, + "bot-management_sbfm_likely_automated_turned_on": bot$$management_sbfm_likely_automated_turned_on, + "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config, + "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection, + "bot-management_sbfm_static_resource_protection_turned_on": bot$$management_sbfm_static_resource_protection_turned_on, + "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots, + "bot-management_sbfm_verified_bots_turned_on": bot$$management_sbfm_verified_bots_turned_on, + "bot-management_suppress_session_score": bot$$management_suppress_session_score, + "bot-management_suppress_session_score_turned_off": bot$$management_suppress_session_score_turned_off, + "bot-management_using_latest_model": bot$$management_using_latest_model, }, }, annotations: { @@ -347,46 +363,46 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bot-management_ai_agent_action": bot_management_ai_agent_action_output, - "bot-management_ai_agents": bot_management_ai_agents_output, - "bot-management_ai_bots_migration_opt_out": bot_management_ai_bots_migration_opt_out_output, - "bot-management_ai_bots_protection": bot_management_ai_bots_protection_output, - "bot-management_ai_search": bot_management_ai_search_output, - "bot-management_ai_training": bot_management_ai_training_output, - "bot-management_ai_user": bot_management_ai_user_output, - "bot-management_api-response-common-failure": bot_management_api_response_common_failure_output, - "bot-management_api-response-single": bot_management_api_response_single_output, - "bot-management_auto_update_model": bot_management_auto_update_model_output, - "bot-management_base_config": bot_management_base_config_output, - "bot-management_bm_cookie_enabled": bot_management_bm_cookie_enabled_output, - "bot-management_bm_subscription_config": bot_management_bm_subscription_config_output, - "bot-management_bot_fight_mode_config": bot_management_bot_fight_mode_config_output, - "bot-management_bot_management_response_body": bot_management_bot_management_response_body_output, - "bot-management_bot_preference_sync_enabled": bot_management_bot_preference_sync_enabled_output, - "bot-management_cf_robots_variant": bot_management_cf_robots_variant_output, - "bot-management_content_bots_protection": bot_management_content_bots_protection_output, - "bot-management_crawler_protection": bot_management_crawler_protection_output, - "bot-management_enable_js": bot_management_enable_js_output, - "bot-management_fight_mode": bot_management_fight_mode_output, - "bot-management_fight_mode_turned_on": bot_management_fight_mode_turned_on_output, - "bot-management_is_robots_txt_managed": bot_management_is_robots_txt_managed_output, - "bot-management_jsd_api_results_enabled": bot_management_jsd_api_results_enabled_output, - "bot-management_messages": bot_management_messages_output, - "bot-management_optimize_wordpress": bot_management_optimize_wordpress_output, - "bot-management_optimize_wordpress_turned_on": bot_management_optimize_wordpress_turned_on_output, - "bot-management_sbfm_definitely_automated": bot_management_sbfm_definitely_automated_output, - "bot-management_sbfm_definitely_automated_turned_on": bot_management_sbfm_definitely_automated_turned_on_output, - "bot-management_sbfm_definitely_config": bot_management_sbfm_definitely_config_output, - "bot-management_sbfm_likely_automated": bot_management_sbfm_likely_automated_output, - "bot-management_sbfm_likely_automated_turned_on": bot_management_sbfm_likely_automated_turned_on_output, - "bot-management_sbfm_likely_config": bot_management_sbfm_likely_config_output, - "bot-management_sbfm_static_resource_protection": bot_management_sbfm_static_resource_protection_output, - "bot-management_sbfm_static_resource_protection_turned_on": bot_management_sbfm_static_resource_protection_turned_on_output, - "bot-management_sbfm_verified_bots": bot_management_sbfm_verified_bots_output, - "bot-management_sbfm_verified_bots_turned_on": bot_management_sbfm_verified_bots_turned_on_output, - "bot-management_suppress_session_score": bot_management_suppress_session_score_output, - "bot-management_suppress_session_score_turned_off": bot_management_suppress_session_score_turned_off_output, - "bot-management_using_latest_model": bot_management_using_latest_model_output, + "bot-management_ai_agent_action": bot$$management_ai_agent_action, + "bot-management_ai_agents": bot$$management_ai_agents, + "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out, + "bot-management_ai_bots_protection": bot$$management_ai_bots_protection, + "bot-management_ai_search": bot$$management_ai_search, + "bot-management_ai_training": bot$$management_ai_training, + "bot-management_ai_user": bot$$management_ai_user, + "bot-management_api-response-common-failure": bot$$management_api$$response$$common$$failure, + "bot-management_api-response-single": bot$$management_api$$response$$single, + "bot-management_auto_update_model": bot$$management_auto_update_model, + "bot-management_base_config": bot$$management_base_config, + "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled, + "bot-management_bm_subscription_config": bot$$management_bm_subscription_config, + "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config, + "bot-management_bot_management_response_body": bot$$management_bot_management_response_body, + "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled, + "bot-management_cf_robots_variant": bot$$management_cf_robots_variant, + "bot-management_content_bots_protection": bot$$management_content_bots_protection, + "bot-management_crawler_protection": bot$$management_crawler_protection, + "bot-management_enable_js": bot$$management_enable_js, + "bot-management_fight_mode": bot$$management_fight_mode, + "bot-management_fight_mode_turned_on": bot$$management_fight_mode_turned_on, + "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed, + "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled, + "bot-management_messages": bot$$management_messages, + "bot-management_optimize_wordpress": bot$$management_optimize_wordpress, + "bot-management_optimize_wordpress_turned_on": bot$$management_optimize_wordpress_turned_on, + "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated, + "bot-management_sbfm_definitely_automated_turned_on": bot$$management_sbfm_definitely_automated_turned_on, + "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config, + "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated, + "bot-management_sbfm_likely_automated_turned_on": bot$$management_sbfm_likely_automated_turned_on, + "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config, + "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection, + "bot-management_sbfm_static_resource_protection_turned_on": bot$$management_sbfm_static_resource_protection_turned_on, + "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots, + "bot-management_sbfm_verified_bots_turned_on": bot$$management_sbfm_verified_bots_turned_on, + "bot-management_suppress_session_score": bot$$management_suppress_session_score, + "bot-management_suppress_session_score_turned_off": bot$$management_suppress_session_score_turned_off, + "bot-management_using_latest_model": bot$$management_using_latest_model, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/botnetFeed/asn/schemas.ts b/src/generated/forge-mcp/botnetFeed/asn/schemas.ts index a629d7d20..85c514e2a 100644 --- a/src/generated/forge-mcp/botnetFeed/asn/schemas.ts +++ b/src/generated/forge-mcp/botnetFeed/asn/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `botnet-feed-api_timestamp`. */ -export const botnet_feed_api_timestamp: JsonSchema = { +export const botnet$$feed$$api_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/botnetFeed/asn/tools.ts b/src/generated/forge-mcp/botnetFeed/asn/tools.ts index 52adebccf..af407ffeb 100644 --- a/src/generated/forge-mcp/botnetFeed/asn/tools.ts +++ b/src/generated/forge-mcp/botnetFeed/asn/tools.ts @@ -1,45 +1,61 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - botnet_feed_api_api_response_common_failure_output, - botnet_feed_api_api_response_common_output, - botnet_feed_api_messages_output, + botnet$$feed$$api_api$$response$$common, + botnet$$feed$$api_api$$response$$common$$failure, + botnet$$feed$$api_messages, } from "../outputs.js"; -import { botnet_feed_api_asn, botnet_feed_api_identifier } from "../schemas.js"; -import { botnet_feed_api_timestamp } from "./schemas.js"; +import { + botnet$$feed$$api_asn, + botnet$$feed$$api_identifier, +} from "../schemas.js"; +import { botnet$$feed$$api_timestamp } from "./schemas.js"; /** - * The tools of `botnet_feed.asn`. + * The tools of `botnetFeed.asn`. */ export const tools: readonly Tool[] = [ { - name: "botnet_feed_asn_day_report", + name: "botnetFeed_asn_dayReport", title: "Get daily report", description: "Gets all the data the botnet tracking database has for a given ASN registered to user account for given date. If no date is given, it will return results for the previous day.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/botnet-feed-api_identifier", - "description": "Identifier." - }, - "asn_id": { - "$ref": "#/$defs/botnet-feed-api_asn" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/botnet-feed-api_identifier", + "description": "Identifier." + }, + "asn_id": { + "$ref": "#/$defs/botnet-feed-api_asn" + } + }, + "required": [ + "account_id", + "asn_id" + ], + "type": "object" }, - "date": { - "$ref": "#/$defs/botnet-feed-api_timestamp" + "query": { + "properties": { + "date": { + "$ref": "#/$defs/botnet-feed-api_timestamp" + } + }, + "type": "object" } }, required: [ - "account_id", - "asn_id" + "path" ], $defs: { - "botnet-feed-api_asn": botnet_feed_api_asn, - "botnet-feed-api_identifier": botnet_feed_api_identifier, - "botnet-feed-api_timestamp": botnet_feed_api_timestamp, + "botnet-feed-api_asn": botnet$$feed$$api_asn, + "botnet-feed-api_identifier": botnet$$feed$$api_identifier, + "botnet-feed-api_timestamp": botnet$$feed$$api_timestamp, }, }, outputSchema: { @@ -69,8 +85,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "botnet-feed-api_api-response-common": botnet_feed_api_api_response_common_output, - "botnet-feed-api_messages": botnet_feed_api_messages_output, + "botnet-feed-api_api-response-common": botnet$$feed$$api_api$$response$$common, + "botnet-feed-api_messages": botnet$$feed$$api_messages, }, }, annotations: { @@ -122,40 +138,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "botnet-feed-api_api-response-common": botnet_feed_api_api_response_common_output, - "botnet-feed-api_api-response-common-failure": botnet_feed_api_api_response_common_failure_output, - "botnet-feed-api_messages": botnet_feed_api_messages_output, + "botnet-feed-api_api-response-common": botnet$$feed$$api_api$$response$$common, + "botnet-feed-api_api-response-common-failure": botnet$$feed$$api_api$$response$$common$$failure, + "botnet-feed-api_messages": botnet$$feed$$api_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/botnet_feed/asn/${pathParam(args, "asn_id")}/day_report`, query: [ - ["date", args["date"], true], + ["date", param(args, "query", "date"), true], ], }), }, { - name: "botnet_feed_asn_full_report", + name: "botnetFeed_asn_fullReport", title: "Get full report", description: "Gets all the data the botnet threat feed tracking database has for a given ASN registered to user account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/botnet-feed-api_identifier", - "description": "Identifier." - }, - "asn_id": { - "$ref": "#/$defs/botnet-feed-api_asn" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/botnet-feed-api_identifier", + "description": "Identifier." + }, + "asn_id": { + "$ref": "#/$defs/botnet-feed-api_asn" + } + }, + "required": [ + "account_id", + "asn_id" + ], + "type": "object" } }, required: [ - "account_id", - "asn_id" + "path" ], $defs: { - "botnet-feed-api_asn": botnet_feed_api_asn, - "botnet-feed-api_identifier": botnet_feed_api_identifier, + "botnet-feed-api_asn": botnet$$feed$$api_asn, + "botnet-feed-api_identifier": botnet$$feed$$api_identifier, }, }, outputSchema: { @@ -185,8 +209,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "botnet-feed-api_api-response-common": botnet_feed_api_api_response_common_output, - "botnet-feed-api_messages": botnet_feed_api_messages_output, + "botnet-feed-api_api-response-common": botnet$$feed$$api_api$$response$$common, + "botnet-feed-api_messages": botnet$$feed$$api_messages, }, }, annotations: { @@ -238,9 +262,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "botnet-feed-api_api-response-common": botnet_feed_api_api_response_common_output, - "botnet-feed-api_api-response-common-failure": botnet_feed_api_api_response_common_failure_output, - "botnet-feed-api_messages": botnet_feed_api_messages_output, + "botnet-feed-api_api-response-common": botnet$$feed$$api_api$$response$$common, + "botnet-feed-api_api-response-common-failure": botnet$$feed$$api_api$$response$$common$$failure, + "botnet-feed-api_messages": botnet$$feed$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts b/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts index 5b301f74b..09e14c047 100644 --- a/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts +++ b/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts @@ -3,41 +3,49 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - botnet_feed_api_api_response_common_failure_output, - botnet_feed_api_api_response_common_output, - botnet_feed_api_messages_output, + botnet$$feed$$api_api$$response$$common, + botnet$$feed$$api_api$$response$$common$$failure, + botnet$$feed$$api_messages, } from "../../outputs.js"; import { - botnet_feed_api_asn, - botnet_feed_api_identifier, + botnet$$feed$$api_asn, + botnet$$feed$$api_identifier, } from "../../schemas.js"; /** - * The tools of `botnet_feed.configs.asn`. + * The tools of `botnetFeed.configs.asn`. */ export const tools: readonly Tool[] = [ { - name: "botnet_feed_configs_asn_delete", + name: "botnetFeed_configs_asn_delete", title: "Delete an ASN", description: "Delete an ASN from botnet threat feed for a given user.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/botnet-feed-api_identifier", - "description": "Identifier." - }, - "asn_id": { - "$ref": "#/$defs/botnet-feed-api_asn" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/botnet-feed-api_identifier", + "description": "Identifier." + }, + "asn_id": { + "$ref": "#/$defs/botnet-feed-api_asn" + } + }, + "required": [ + "account_id", + "asn_id" + ], + "type": "object" } }, required: [ - "account_id", - "asn_id" + "path" ], $defs: { - "botnet-feed-api_asn": botnet_feed_api_asn, - "botnet-feed-api_identifier": botnet_feed_api_identifier, + "botnet-feed-api_asn": botnet$$feed$$api_asn, + "botnet-feed-api_identifier": botnet$$feed$$api_identifier, }, }, outputSchema: { @@ -60,8 +68,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "botnet-feed-api_api-response-common": botnet_feed_api_api_response_common_output, - "botnet-feed-api_messages": botnet_feed_api_messages_output, + "botnet-feed-api_api-response-common": botnet$$feed$$api_api$$response$$common, + "botnet-feed-api_messages": botnet$$feed$$api_messages, }, }, annotations: { @@ -105,9 +113,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "botnet-feed-api_api-response-common": botnet_feed_api_api_response_common_output, - "botnet-feed-api_api-response-common-failure": botnet_feed_api_api_response_common_failure_output, - "botnet-feed-api_messages": botnet_feed_api_messages_output, + "botnet-feed-api_api-response-common": botnet$$feed$$api_api$$response$$common, + "botnet-feed-api_api-response-common-failure": botnet$$feed$$api_api$$response$$common$$failure, + "botnet-feed-api_messages": botnet$$feed$$api_messages, }, }, request: (args) => ({ @@ -115,22 +123,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "botnet_feed_configs_asn_get", + name: "botnetFeed_configs_asn_get", title: "Get list of ASNs", description: "Gets a list of all ASNs registered for a user for the DDoS Botnet Feed API.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/botnet-feed-api_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/botnet-feed-api_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "botnet-feed-api_identifier": botnet_feed_api_identifier, + "botnet-feed-api_identifier": botnet$$feed$$api_identifier, }, }, outputSchema: { @@ -153,8 +169,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "botnet-feed-api_api-response-common": botnet_feed_api_api_response_common_output, - "botnet-feed-api_messages": botnet_feed_api_messages_output, + "botnet-feed-api_api-response-common": botnet$$feed$$api_api$$response$$common, + "botnet-feed-api_messages": botnet$$feed$$api_messages, }, }, annotations: { @@ -199,9 +215,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "botnet-feed-api_api-response-common": botnet_feed_api_api_response_common_output, - "botnet-feed-api_api-response-common-failure": botnet_feed_api_api_response_common_failure_output, - "botnet-feed-api_messages": botnet_feed_api_messages_output, + "botnet-feed-api_api-response-common": botnet$$feed$$api_api$$response$$common, + "botnet-feed-api_api-response-common-failure": botnet$$feed$$api_api$$response$$common$$failure, + "botnet-feed-api_messages": botnet$$feed$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/botnetFeed/outputs.ts b/src/generated/forge-mcp/botnetFeed/outputs.ts index 5aabdccf9..dd5e7429d 100644 --- a/src/generated/forge-mcp/botnetFeed/outputs.ts +++ b/src/generated/forge-mcp/botnetFeed/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `botnet-feed-api_api-response-common` in responses. */ -export const botnet_feed_api_api_response_common_output: JsonSchema = { +export const botnet$$feed$$api_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/botnet-feed-api_messages" @@ -32,7 +32,7 @@ export const botnet_feed_api_api_response_common_output: JsonSchema = { /** * The schema of `botnet-feed-api_api-response-common-failure` in responses. */ -export const botnet_feed_api_api_response_common_failure_output: JsonSchema = { +export const botnet$$feed$$api_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/botnet-feed-api_messages" @@ -62,7 +62,7 @@ export const botnet_feed_api_api_response_common_failure_output: JsonSchema = { /** * The schema of `botnet-feed-api_messages` in responses. */ -export const botnet_feed_api_messages_output: JsonSchema = { +export const botnet$$feed$$api_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/botnetFeed/schemas.ts b/src/generated/forge-mcp/botnetFeed/schemas.ts index bd215b7a5..b5326ad04 100644 --- a/src/generated/forge-mcp/botnetFeed/schemas.ts +++ b/src/generated/forge-mcp/botnetFeed/schemas.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `botnet-feed-api_asn`. */ -export const botnet_feed_api_asn: JsonSchema = { +export const botnet$$feed$$api_asn: JsonSchema = { "type": "integer" }; /** * The schema of `botnet-feed-api_identifier`. */ -export const botnet_feed_api_identifier: JsonSchema = { +export const botnet$$feed$$api_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts b/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts index 15d7e9907..90e5e42bd 100644 --- a/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts +++ b/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts @@ -1,58 +1,74 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `brand_protection.logo_matches`. + * The tools of `brandProtection.logoMatches`. */ export const tools: readonly Tool[] = [ { - name: "brand_protection_logo_matches_get", + name: "brandProtection_logoMatches_get", title: "List logo matches", description: "Get paginated list of logo matches for a specific brand protection logo query", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "download": { - "type": "string" - }, - "limit": { - "default": "50", - "type": "string" - }, - "offset": { - "default": "0", - "type": "string" - }, - "order": { - "description": "Sort order. Options: 'asc' (ascending) or 'desc' (descending)", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "order_by": { - "description": "Column to sort by. Options: 'matchedAt', 'domain', 'similarityScore', or 'registrar'", - "enum": [ - "matchedAt", - "domain", - "similarityScore", - "registrar" + "query": { + "properties": { + "download": { + "type": "string" + }, + "limit": { + "default": "50", + "type": "string" + }, + "offset": { + "default": "0", + "type": "string" + }, + "order": { + "description": "Sort order. Options: 'asc' (ascending) or 'desc' (descending)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "orderBy": { + "description": "Column to sort by. Options: 'matchedAt', 'domain', 'similarityScore', or 'registrar'", + "enum": [ + "matchedAt", + "domain", + "similarityScore", + "registrar" + ], + "type": "string" + }, + "query_id": { + "type": "string" + } + }, + "required": [ + "query_id" ], - "type": "string" - }, - "query_id": { - "type": "string" + "type": "object" } }, required: [ - "account_id", - "query_id" + "path", + "query" ], }, outputSchema: { @@ -246,12 +262,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/logo/matches`, query: [ - ["offset", args["offset"], true], - ["limit", args["limit"], true], - ["query_id", args["query_id"], true], - ["download", args["download"], true], - ["orderBy", args["order_by"], true], - ["order", args["order"], true], + ["offset", param(args, "query", "offset"), true], + ["limit", param(args, "query", "limit"), true], + ["query_id", param(args, "query", "query_id"), true], + ["download", param(args, "query", "download"), true], + ["orderBy", param(args, "query", "orderBy"), true], + ["order", param(args, "query", "order"), true], ], }), }, diff --git a/src/generated/forge-mcp/brandProtection/logos/tools.ts b/src/generated/forge-mcp/brandProtection/logos/tools.ts index 57e07dbaf..b85d0ddd7 100644 --- a/src/generated/forge-mcp/brandProtection/logos/tools.ts +++ b/src/generated/forge-mcp/brandProtection/logos/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `brand_protection.logos`. + * The tools of `brandProtection.logos`. */ export const tools: readonly Tool[] = [ { - name: "brand_protection_logos_create", + name: "brandProtection_logos_create", title: "Insert logo query", description: "Create a new saved brand protection logo query for visual similarity matching", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "image_data": { @@ -43,10 +40,21 @@ export const tools: readonly Tool[] = [ "tag" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -110,22 +118,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "brand_protection_logos_delete", + name: "brandProtection_logos_delete", title: "Delete logo query", description: "Delete a saved brand protection logo query. Returns 404 if the query ID doesn't exist.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "query_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "query_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "query_id" + ], + "type": "object" } }, required: [ - "account_id", - "query_id" + "path" ], }, outputSchema: { @@ -182,26 +198,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "brand_protection_logos_get", + name: "brandProtection_logos_get", title: "Get logo queries", description: "Get all saved brand protection logo queries for an account. Optionally specify id to get a single query. Set download=true to include base64-encoded image data.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "download": { - "description": "If true, include base64-encoded image data in the response", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "id": { - "description": "Optional query ID to retrieve a specific logo query", - "type": "string" + "query": { + "properties": { + "download": { + "description": "If true, include base64-encoded image data in the response", + "type": "string" + }, + "id": { + "description": "Optional query ID to retrieve a specific logo query", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -313,8 +342,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/logo/queries`, query: [ - ["id", args["id"], true], - ["download", args["download"], true], + ["id", param(args, "query", "id"), true], + ["download", param(args, "query", "download"), true], ], }), }, diff --git a/src/generated/forge-mcp/brandProtection/matches/tools.ts b/src/generated/forge-mcp/brandProtection/matches/tools.ts index 874d47fff..ff88bafac 100644 --- a/src/generated/forge-mcp/brandProtection/matches/tools.ts +++ b/src/generated/forge-mcp/brandProtection/matches/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `brand_protection.matches`. + * The tools of `brandProtection.matches`. */ export const tools: readonly Tool[] = [ { - name: "brand_protection_matches_bulk_dismiss", + name: "brandProtection_matches_bulkDismiss", title: "Bulk dismiss or undismiss matches", description: "Dismiss or undismiss multiple matches in a single request. Accepts either the new format (matches: [{query_id, domain_id}]) for per-query control, or the legacy format (match_ids: [number]) which dismisses for all queries sharing each match's hash. Returns per-item success/error results.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "action": { @@ -59,10 +56,21 @@ export const tools: readonly Tool[] = [ "action" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -270,62 +278,78 @@ export const tools: readonly Tool[] = [ }), }, { - name: "brand_protection_matches_get", + name: "brandProtection_matches_get", title: "List saved query matches", description: "Get paginated list of domain matches for one or more brand protection queries. When multiple query_ids are provided (comma-separated), matches are deduplicated across queries and each match includes a match_details array with per-match query metadata and individual dismissed state.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "domain_search": { - "description": "Filter matches by domain name (substring match)", - "type": "string" - }, - "include_dismissed": { - "type": "string" - }, - "include_domain_id": { - "default": "false", - "type": "string" - }, - "limit": { - "default": "50", - "type": "string" - }, - "offset": { - "default": "0", - "type": "string" - }, - "order": { - "description": "Sort order. Options: 'asc' (ascending) or 'desc' (descending)", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order_by": { - "description": "Column to sort by. Options: 'domain', 'first_seen', or 'registrar'", - "enum": [ - "domain", - "first_seen", - "registrar" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "query_id": { - "description": "Query ID or comma-separated list of Query IDs. When multiple IDs are provided, matches are deduplicated across queries and each match includes a match_details array with per-match query metadata and dismissed state.", - "items": { - "type": "string" + "query": { + "properties": { + "domain_search": { + "description": "Filter matches by domain name (substring match)", + "type": "string" + }, + "include_dismissed": { + "type": "string" + }, + "include_domain_id": { + "default": "false", + "type": "string" + }, + "limit": { + "default": "50", + "type": "string" + }, + "offset": { + "default": "0", + "type": "string" + }, + "order": { + "description": "Sort order. Options: 'asc' (ascending) or 'desc' (descending)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "orderBy": { + "description": "Column to sort by. Options: 'domain', 'first_seen', or 'registrar'", + "enum": [ + "domain", + "first_seen", + "registrar" + ], + "type": "string" + }, + "query_id": { + "description": "Query ID or comma-separated list of Query IDs. When multiple IDs are provided, matches are deduplicated across queries and each match includes a match_details array with per-match query metadata and dismissed state.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "required": [ + "query_id" + ], + "type": "object" } }, required: [ - "account_id", - "query_id" + "path", + "query" ], }, outputSchema: { @@ -595,14 +619,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/domain/matches`, query: [ - ["offset", args["offset"], true], - ["limit", args["limit"], true], - ["query_id", args["query_id"], true], - ["include_domain_id", args["include_domain_id"], true], - ["include_dismissed", args["include_dismissed"], true], - ["domain_search", args["domain_search"], true], - ["orderBy", args["order_by"], true], - ["order", args["order"], true], + ["offset", param(args, "query", "offset"), true], + ["limit", param(args, "query", "limit"), true], + ["query_id", param(args, "query", "query_id"), true], + ["include_domain_id", param(args, "query", "include_domain_id"), true], + ["include_dismissed", param(args, "query", "include_dismissed"), true], + ["domain_search", param(args, "query", "domain_search"), true], + ["orderBy", param(args, "query", "orderBy"), true], + ["order", param(args, "query", "order"), true], ], }), }, diff --git a/src/generated/forge-mcp/brandProtection/queries/tools.ts b/src/generated/forge-mcp/brandProtection/queries/tools.ts index a0d434788..2d2048faf 100644 --- a/src/generated/forge-mcp/brandProtection/queries/tools.ts +++ b/src/generated/forge-mcp/brandProtection/queries/tools.ts @@ -1,33 +1,41 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `brand_protection.queries`. + * The tools of `brandProtection.queries`. */ export const tools: readonly Tool[] = [ { - name: "brand_protection_queries_dismiss", + name: "brandProtection_queries_dismiss", title: "Dismiss a match", description: "Mark a specific domain as dismissed for a given query. Dismissals are per-query — dismissing a domain in one query does not affect other queries.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "domain_id": { - "type": "integer" - }, - "query_id": { - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "domain_id": { + "type": "integer" + }, + "query_id": { + "type": "integer" + } + }, + "required": [ + "account_id", + "query_id", + "domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "query_id", - "domain_id" + "path" ], }, outputSchema: { @@ -116,29 +124,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "brand_protection_queries_get", + name: "brandProtection_queries_get", title: "Get queries", description: "Get all saved brand protection queries for an account", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "page": { - "description": "Optional page number for paginated list requests. Defaults to 1 when only per_page is supplied. Omit page and per_page to preserve the legacy full-list response.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "description": "Optional number of queries per page for paginated list requests. Defaults to 100 when only page is supplied. Maximum 100. Omit page and per_page to preserve the legacy full-list response.", - "type": "integer" + "query": { + "properties": { + "id": { + "type": "string" + }, + "page": { + "description": "Optional page number for paginated list requests. Defaults to 1 when only per_page is supplied. Omit page and per_page to preserve the legacy full-list response.", + "type": "integer" + }, + "per_page": { + "description": "Optional number of queries per page for paginated list requests. Defaults to 100 when only page is supplied. Maximum 100. Omit page and per_page to preserve the legacy full-list response.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -600,33 +621,41 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/domain/queries`, query: [ - ["id", args["id"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["id", param(args, "query", "id"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "brand_protection_queries_undismiss", + name: "brandProtection_queries_undismiss", title: "Undismiss a match", description: "Remove the dismissed status from a specific domain for a given query. Undismissals are per-query — undismissing a domain in one query does not affect other queries.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "domain_id": { - "type": "integer" - }, - "query_id": { - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "domain_id": { + "type": "integer" + }, + "query_id": { + "type": "integer" + } + }, + "required": [ + "account_id", + "query_id", + "domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "query_id", - "domain_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/brandProtection/tools.ts b/src/generated/forge-mcp/brandProtection/tools.ts index 56650e563..3c4f38326 100644 --- a/src/generated/forge-mcp/brandProtection/tools.ts +++ b/src/generated/forge-mcp/brandProtection/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; /** - * The tools of `brand_protection`. + * The tools of `brandProtection`. */ export const tools: readonly Tool[] = [ { - name: "brand_protection_submit", + name: "brandProtection_submit", title: "Search scanned images", description: "Submit an image and find the n closest matches from the scanned images index without creating any match records. Returns similarity scores and metadata for each match.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "image_data": { @@ -39,18 +36,34 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "download": { - "description": "If true, include base64-encoded image data in the response", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "show_historic": { - "default": "false", - "description": "Include scanned images without domain metadata (historic data). Default: false (only show images with domain)", - "type": "string" + "query": { + "properties": { + "download": { + "description": "If true, include base64-encoded image data in the response", + "type": "string" + }, + "showHistoric": { + "default": "false", + "description": "Include scanned images without domain metadata (historic data). Default: false (only show images with domain)", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -185,25 +198,33 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/brand-protection/logo/search`, query: [ - ["showHistoric", args["show_historic"], true], - ["download", args["download"], true], + ["showHistoric", param(args, "query", "showHistoric"), true], + ["download", param(args, "query", "download"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "brand_protection_url_info", + name: "brandProtection_urlInfo", title: "Get total queries", description: "Get the total number of saved brand protection queries (domain + logo) for an account", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/brandProtection/trial/tools.ts b/src/generated/forge-mcp/brandProtection/trial/tools.ts index a99040f07..e9ad547b8 100644 --- a/src/generated/forge-mcp/brandProtection/trial/tools.ts +++ b/src/generated/forge-mcp/brandProtection/trial/tools.ts @@ -4,19 +4,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; /** - * The tools of `brand_protection.trial`. + * The tools of `brandProtection.trial`. */ export const tools: readonly Tool[] = [ { - name: "brand_protection_trial_create", + name: "brandProtection_trial_create", title: "Analyze domains for brand impersonation", description: "Uses AI to scan all domains in the lookback table and identify potential phishing or impersonation attempts against the given brand string.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "brand": { @@ -27,10 +24,21 @@ export const tools: readonly Tool[] = [ "brand" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/browserRun/crawl/tools.ts b/src/generated/forge-mcp/browserRun/crawl/tools.ts index e389e32e9..fdc663524 100644 --- a/src/generated/forge-mcp/browserRun/crawl/tools.ts +++ b/src/generated/forge-mcp/browserRun/crawl/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `browser_run.crawl`. + * The tools of `browserRun.crawl`. */ export const tools: readonly Tool[] = [ { - name: "browser_run_crawl_create", + name: "browserRun_crawl_create", title: "Crawl websites.", description: "Starts a crawl job for the provided URL and its children. Check available options like `gotoOptions` and `waitFor*` to control page load behaviour.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "anyOf": [ { @@ -704,14 +700,31 @@ export const tools: readonly Tool[] = [ } ] }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" + }, + "query": { + "properties": { + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -901,30 +914,38 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/crawl`, query: [ - ["cacheTTL", args["cache_ttl"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_crawl_delete", + name: "browserRun_crawl_delete", title: "Cancel a crawl job.", description: "Cancels an ongoing crawl job by setting its status to cancelled and stopping all queued URLs.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "job_id": { - "description": "The ID of the crawl job to cancel.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "job_id": { + "description": "The ID of the crawl job to cancel.", + "type": "string" + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], }, outputSchema: { @@ -1136,51 +1157,64 @@ export const tools: readonly Tool[] = [ }), }, { - name: "browser_run_crawl_get", + name: "browserRun_crawl_get", title: "Get crawl result.", description: "Returns the result of a crawl job.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" - }, - "cursor": { - "default": 0, - "description": "Cursor for pagination.", - "type": "number" - }, - "job_id": { - "description": "Crawl job ID.", - "type": "string" - }, - "limit": { - "default": 50, - "description": "Limit for pagination.", - "type": "number" - }, - "status": { - "description": "Filter by URL status.", - "enum": [ - "queued", - "errored", - "completed", - "disallowed", - "skipped", - "cancelled" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "job_id": { + "description": "Crawl job ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "job_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + }, + "cursor": { + "default": 0, + "description": "Cursor for pagination.", + "type": "number" + }, + "limit": { + "default": 50, + "description": "Limit for pagination.", + "type": "number" + }, + "status": { + "description": "Filter by URL status.", + "enum": [ + "queued", + "errored", + "completed", + "disallowed", + "skipped", + "cancelled" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], }, outputSchema: { @@ -1657,10 +1691,10 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/crawl/${pathParam(args, "job_id")}`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["status", args["status"], true], - ["cursor", args["cursor"], true], - ["limit", args["limit"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["status", param(args, "query", "status"), true], + ["cursor", param(args, "query", "cursor"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, diff --git a/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts b/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts index 49dc9bd8e..1caca2e7d 100644 --- a/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `browser_run.devtools.browser.live_view`. + * The tools of `browserRun.devtools.browser.liveView`. */ export const tools: readonly Tool[] = [ { - name: "browser_run_devtools_browser_live_view_create", + name: "browserRun_devtools_browser_liveView_create", title: "Mint live view URLs for a browser session", description: "Generates time-limited URLs to view a remote browser session. Set `guardrails: { mode: 'readonly' }` to create a view-only link.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "expiresInMs": { @@ -57,15 +53,27 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "session_id": { - "description": "Browser session ID", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "session_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts b/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts index 2e2371dde..eeacfc713 100644 --- a/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts @@ -1,37 +1,45 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `browser_run.devtools.browser.targets`. + * The tools of `browserRun.devtools.browser.targets`. */ export const tools: readonly Tool[] = [ { - name: "browser_run_devtools_browser_targets_activate", + name: "browserRun_devtools_browser_targets_activate", title: "Activate a browser target.", description: "Activates (brings to front) a specific browser target by its ID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "session_id": { - "description": "Browser session ID.", - "format": "uuid", - "type": "string" - }, - "target_id": { - "description": "Target ID to activate.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID.", + "format": "uuid", + "type": "string" + }, + "target_id": { + "description": "Target ID to activate.", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id", + "target_id" + ], + "type": "object" } }, required: [ - "account_id", - "session_id", - "target_id" + "path" ], }, outputSchema: { @@ -179,30 +187,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "browser_run_devtools_browser_targets_close", + name: "browserRun_devtools_browser_targets_close", title: "Close a browser target.", description: "Closes a specific browser target (tab, page, etc.) by its ID. Returns 'Target is closing' on success or an error if the target is not found.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "session_id": { - "description": "Browser session ID.", - "format": "uuid", - "type": "string" - }, - "target_id": { - "description": "Target ID to close.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID.", + "format": "uuid", + "type": "string" + }, + "target_id": { + "description": "Target ID to close.", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id", + "target_id" + ], + "type": "object" } }, required: [ - "account_id", - "session_id", - "target_id" + "path" ], }, outputSchema: { @@ -350,33 +366,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "browser_run_devtools_browser_targets_create", + name: "browserRun_devtools_browser_targets_create", title: "Open a new browser tab.", description: "Opens a new tab in the browser. Optionally specify a URL to navigate to.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "live_view_url_expires_in_ms": { - "default": 300000, - "description": "How long the live view URL remains valid, in milliseconds (max 60 minutes)", - "type": "number" - }, - "session_id": { - "description": "Browser session ID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" }, - "url": { - "type": "string" + "query": { + "properties": { + "liveViewUrlExpiresInMs": { + "default": 300000, + "description": "How long the live view URL remains valid, in milliseconds (max 60 minutes)", + "type": "number" + }, + "url": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "session_id" + "path" ], }, outputSchema: { @@ -529,36 +558,44 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json/new`, query: [ - ["url", args["url"], true], - ["liveViewUrlExpiresInMs", args["live_view_url_expires_in_ms"], true], + ["url", param(args, "query", "url"), true], + ["liveViewUrlExpiresInMs", param(args, "query", "liveViewUrlExpiresInMs"), true], ], }), }, { - name: "browser_run_devtools_browser_targets_get", + name: "browserRun_devtools_browser_targets_get", title: "Get a target by ID.", description: "Returns the debuggable target with the given ID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "session_id": { - "description": "Browser session ID.", - "format": "uuid", - "type": "string" - }, - "target_id": { - "description": "Target ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID.", + "format": "uuid", + "type": "string" + }, + "target_id": { + "description": "Target ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id", + "target_id" + ], + "type": "object" } }, required: [ - "account_id", - "session_id", - "target_id" + "path" ], }, outputSchema: { @@ -746,30 +783,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "browser_run_devtools_browser_targets_list", + name: "browserRun_devtools_browser_targets_list", title: "List targets.", description: "Returns a list of all debuggable targets including tabs, pages, service workers, and other browser contexts.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "live_view_url_expires_in_ms": { - "default": 300000, - "description": "How long the live view URLs remain valid, in milliseconds (max 60 minutes)", - "type": "number" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" }, - "session_id": { - "description": "Browser session ID.", - "format": "uuid", - "type": "string" + "query": { + "properties": { + "liveViewUrlExpiresInMs": { + "default": 300000, + "description": "How long the live view URLs remain valid, in milliseconds (max 60 minutes)", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", - "session_id" + "path" ], }, outputSchema: { @@ -932,7 +982,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json/list`, query: [ - ["liveViewUrlExpiresInMs", args["live_view_url_expires_in_ms"], true], + ["liveViewUrlExpiresInMs", param(args, "query", "liveViewUrlExpiresInMs"), true], ], }), }, diff --git a/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts b/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts index d63351c66..e09fab44c 100644 --- a/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `browser_run.devtools.browser`. + * The tools of `browserRun.devtools.browser`. */ export const tools: readonly Tool[] = [ { - name: "browser_run_devtools_browser_create", + name: "browserRun_devtools_browser_create", title: "Get a browser session ID.", description: "Acquires a browser and returns its session ID and websocket URL. Optionally accepts a JSON body with session guardrails to restrict outbound HTTP/S traffic.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "guardrails": { @@ -44,33 +40,50 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "keep_alive": { - "default": 60000, - "description": "Keep-alive time in milliseconds.", - "type": "number" - }, - "lab": { - "default": false, - "description": "Use experimental browser.", - "type": "boolean" - }, - "live_view_url_expires_in_ms": { - "default": 300000, - "description": "How long the live view URL remains valid, in milliseconds (max 60 minutes). Only used when targets is true.", - "type": "number" - }, - "recording": { - "default": false, - "type": "boolean" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "targets": { - "default": false, - "description": "Include browser targets in response.", - "type": "boolean" + "query": { + "properties": { + "keep_alive": { + "default": 60000, + "description": "Keep-alive time in milliseconds.", + "type": "number" + }, + "lab": { + "default": false, + "description": "Use experimental browser.", + "type": "boolean" + }, + "liveViewUrlExpiresInMs": { + "default": 300000, + "description": "How long the live view URL remains valid, in milliseconds (max 60 minutes). Only used when targets is true.", + "type": "number" + }, + "recording": { + "default": false, + "type": "boolean" + }, + "targets": { + "default": false, + "description": "Include browser targets in response.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -163,35 +176,43 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser`, query: [ - ["keep_alive", args["keep_alive"], true], - ["lab", args["lab"], true], - ["targets", args["targets"], true], - ["liveViewUrlExpiresInMs", args["live_view_url_expires_in_ms"], true], - ["recording", args["recording"], true], + ["keep_alive", param(args, "query", "keep_alive"), true], + ["lab", param(args, "query", "lab"), true], + ["targets", param(args, "query", "targets"), true], + ["liveViewUrlExpiresInMs", param(args, "query", "liveViewUrlExpiresInMs"), true], + ["recording", param(args, "query", "recording"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_devtools_browser_delete", + name: "browserRun_devtools_browser_delete", title: "Close browser session.", description: "Closes an existing browser session.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "session_id": { - "description": "Browser session ID to close.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID to close.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "session_id" + "path" ], }, outputSchema: { @@ -257,25 +278,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "browser_run_devtools_browser_protocol", + name: "browserRun_devtools_browser_protocol", title: "Get Chrome DevTools Protocol schema.", description: "Returns the complete Chrome DevTools Protocol schema including all domains, commands, events, and types. This schema describes the entire CDP API surface.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "session_id": { - "description": "Browser session ID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "session_id" + "path" ], }, outputSchema: { @@ -560,25 +589,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "browser_run_devtools_browser_version", + name: "browserRun_devtools_browser_version", title: "Get browser version metadata.", description: "Get browser version metadata.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "session_id": { - "description": "Browser session ID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "session_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/browserRun/devtools/json/tools.ts b/src/generated/forge-mcp/browserRun/devtools/json/tools.ts index 07d1f1fcb..6e71c8aac 100644 --- a/src/generated/forge-mcp/browserRun/devtools/json/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/json/tools.ts @@ -1,37 +1,50 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `browser_run.devtools.json`. + * The tools of `browserRun.devtools.json`. */ export const tools: readonly Tool[] = [ { - name: "browser_run_devtools_json_get", + name: "browserRun_devtools_json_get", title: "List targets.", description: "Returns a list of all debuggable targets including tabs, pages, service workers, and other browser contexts.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "live_view_url_expires_in_ms": { - "default": 300000, - "description": "How long the live view URLs remain valid, in milliseconds (max 60 minutes)", - "type": "number" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Browser session ID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" }, - "session_id": { - "description": "Browser session ID.", - "format": "uuid", - "type": "string" + "query": { + "properties": { + "liveViewUrlExpiresInMs": { + "default": 300000, + "description": "How long the live view URLs remain valid, in milliseconds (max 60 minutes)", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", - "session_id" + "path" ], }, outputSchema: { @@ -194,7 +207,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/browser/${pathParam(args, "session_id")}/json`, query: [ - ["liveViewUrlExpiresInMs", args["live_view_url_expires_in_ms"], true], + ["liveViewUrlExpiresInMs", param(args, "query", "liveViewUrlExpiresInMs"), true], ], }), }, diff --git a/src/generated/forge-mcp/browserRun/devtools/session/tools.ts b/src/generated/forge-mcp/browserRun/devtools/session/tools.ts index c08014d4d..9306574ae 100644 --- a/src/generated/forge-mcp/browserRun/devtools/session/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/session/tools.ts @@ -1,32 +1,40 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `browser_run.devtools.session`. + * The tools of `browserRun.devtools.session`. */ export const tools: readonly Tool[] = [ { - name: "browser_run_devtools_session_get", + name: "browserRun_devtools_session_get", title: "Get session details.", description: "Get details for a specific browser session.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "session_id": { - "description": "Session ID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Session ID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "session_id" + "path" ], }, outputSchema: { @@ -164,27 +172,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "browser_run_devtools_session_list", + name: "browserRun_devtools_session_list", title: "List sessions.", description: "List active browser sessions.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "limit": { - "default": 200, - "type": "number" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "offset": { - "default": 0, - "type": "number" + "query": { + "properties": { + "limit": { + "default": 200, + "type": "number" + }, + "offset": { + "default": 0, + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -313,8 +334,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/devtools/session`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], ], }), }, diff --git a/src/generated/forge-mcp/browserRun/quickAction/outputs.ts b/src/generated/forge-mcp/browserRun/quickAction/outputs.ts index fcf334831..8244f2e2f 100644 --- a/src/generated/forge-mcp/browserRun/quickAction/outputs.ts +++ b/src/generated/forge-mcp/browserRun/quickAction/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `brapi_SerializedAXNode` in responses. */ -export const brapi_SerializedAXNode_output: JsonSchema = { +export const brapi_SerializedAXNode: JsonSchema = { "properties": { "autocomplete": { "type": "string" diff --git a/src/generated/forge-mcp/browserRun/quickAction/tools.ts b/src/generated/forge-mcp/browserRun/quickAction/tools.ts index ee205a673..70855e64c 100644 --- a/src/generated/forge-mcp/browserRun/quickAction/tools.ts +++ b/src/generated/forge-mcp/browserRun/quickAction/tools.ts @@ -1,24 +1,20 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { brapi_SerializedAXNode_output } from "./outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; +import { brapi_SerializedAXNode } from "./outputs.js"; /** - * The tools of `browser_run.quick_action`. + * The tools of `browserRun.quickAction`. */ export const tools: readonly Tool[] = [ { - name: "browser_run_quick_action_accessibility_tree", + name: "browserRun_quickAction_accessibilityTree", title: "Get accessibility tree page", description: "Returns the page's accessibility tree. Use `interestingOnly` to only return semantically meaningful nodes; use `root` to scope the tree to a CSS-selector-anchored subtree. Control page loading with `gotoOptions` and `waitFor*` options.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "allOf": [ { @@ -395,21 +391,38 @@ export const tools: readonly Tool[] = [ } ] }, - "browser": { - "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", - "enum": [ - "kitesurf" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "query": { + "properties": { + "browser": { + "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", + "enum": [ + "kitesurf" + ], + "type": "string" + }, + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -500,7 +513,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "brapi_SerializedAXNode": brapi_SerializedAXNode_output, + "brapi_SerializedAXNode": brapi_SerializedAXNode, }, }, annotations: { @@ -736,29 +749,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "brapi_SerializedAXNode": brapi_SerializedAXNode_output, + "brapi_SerializedAXNode": brapi_SerializedAXNode, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/accessibilityTree`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["browser", args["browser"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["browser", param(args, "query", "browser"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_quick_action_content", + name: "browserRun_quickAction_content", title: "Get HTML content.", description: "Fetches rendered HTML content from provided URL or HTML. Check available options like `gotoOptions` and `waitFor*` to control page load behaviour.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "allOf": [ { @@ -1129,21 +1138,38 @@ export const tools: readonly Tool[] = [ } ] }, - "browser": { - "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", - "enum": [ - "kitesurf" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "query": { + "properties": { + "browser": { + "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", + "enum": [ + "kitesurf" + ], + "type": "string" + }, + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -1452,23 +1478,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/content`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["browser", args["browser"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["browser", param(args, "query", "browser"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_quick_action_json", + name: "browserRun_quickAction_json", title: "Get json.", description: "Gets json from a webpage from a provided URL or HTML. Pass `prompt` or `schema` in the body. Control page loading with `gotoOptions` and `waitFor*` options.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "allOf": [ { @@ -1884,21 +1906,38 @@ export const tools: readonly Tool[] = [ } ] }, - "browser": { - "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", - "enum": [ - "kitesurf" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "query": { + "properties": { + "browser": { + "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", + "enum": [ + "kitesurf" + ], + "type": "string" + }, + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -2232,23 +2271,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/json`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["browser", args["browser"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["browser", param(args, "query", "browser"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_quick_action_links", + name: "browserRun_quickAction_links", title: "Get Links.", description: "Get links from a web page.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "allOf": [ { @@ -2627,21 +2662,38 @@ export const tools: readonly Tool[] = [ } ] }, - "browser": { - "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", - "enum": [ - "kitesurf" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "query": { + "properties": { + "browser": { + "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", + "enum": [ + "kitesurf" + ], + "type": "string" + }, + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -2958,23 +3010,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/links`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["browser", args["browser"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["browser", param(args, "query", "browser"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_quick_action_markdown", + name: "browserRun_quickAction_markdown", title: "Get markdown.", description: "Gets markdown of a webpage from provided URL or HTML. Control page loading with `gotoOptions` and `waitFor*` options.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "allOf": [ { @@ -3345,21 +3393,38 @@ export const tools: readonly Tool[] = [ } ] }, - "browser": { - "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", - "enum": [ - "kitesurf" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "query": { + "properties": { + "browser": { + "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", + "enum": [ + "kitesurf" + ], + "type": "string" + }, + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -3668,23 +3733,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/markdown`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["browser", args["browser"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["browser", param(args, "query", "browser"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_quick_action_pdf", + name: "browserRun_quickAction_pdf", title: "Get PDF.", description: "Fetches rendered PDF from provided URL or HTML. Check available options like `gotoOptions` and `waitFor*` to control page load behaviour.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "allOf": [ { @@ -4205,21 +4266,38 @@ export const tools: readonly Tool[] = [ } ] }, - "browser": { - "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", - "enum": [ - "kitesurf" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "query": { + "properties": { + "browser": { + "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", + "enum": [ + "kitesurf" + ], + "type": "string" + }, + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -4373,23 +4451,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/pdf`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["browser", args["browser"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["browser", param(args, "query", "browser"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_quick_action_scrape", + name: "browserRun_quickAction_scrape", title: "Scrape elements.", description: "Get meta attributes like height, width, text and others of selected elements.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "allOf": [ { @@ -4778,21 +4852,38 @@ export const tools: readonly Tool[] = [ } ] }, - "browser": { - "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", - "enum": [ - "kitesurf" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "query": { + "properties": { + "browser": { + "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", + "enum": [ + "kitesurf" + ], + "type": "string" + }, + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -5227,23 +5318,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/scrape`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["browser", args["browser"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["browser", param(args, "query", "browser"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_quick_action_screenshot", + name: "browserRun_quickAction_screenshot", title: "Get screenshot.", description: "Takes a screenshot of a webpage from provided URL or HTML. Control page loading with `gotoOptions` and `waitFor*` options. Customize screenshots with `viewport`, `fullPage`, `clip` and others.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "allOf": [ { @@ -5688,21 +5775,38 @@ export const tools: readonly Tool[] = [ } ] }, - "browser": { - "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", - "enum": [ - "kitesurf" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "query": { + "properties": { + "browser": { + "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", + "enum": [ + "kitesurf" + ], + "type": "string" + }, + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -5913,23 +6017,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/screenshot`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["browser", args["browser"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["browser", param(args, "query", "browser"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "browser_run_quick_action_snapshot", + name: "browserRun_quickAction_snapshot", title: "Get HTML content and screenshot.", description: "Returns the page's HTML content and screenshot. Control page loading with `gotoOptions` and `waitFor*` options. Customize screenshots with `viewport`, `fullPage`, `clip` and others.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "allOf": [ { @@ -6375,21 +6475,38 @@ export const tools: readonly Tool[] = [ } ] }, - "browser": { - "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", - "enum": [ - "kitesurf" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "cache_ttl": { - "default": 5, - "description": "Cache TTL default is 5s. Set to 0 to disable.", - "type": "number" + "query": { + "properties": { + "browser": { + "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", + "enum": [ + "kitesurf" + ], + "type": "string" + }, + "cacheTTL": { + "default": 5, + "description": "Cache TTL default is 5s. Set to 0 to disable.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -6485,7 +6602,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "brapi_SerializedAXNode": brapi_SerializedAXNode_output, + "brapi_SerializedAXNode": brapi_SerializedAXNode, }, }, annotations: { @@ -6726,14 +6843,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "brapi_SerializedAXNode": brapi_SerializedAXNode_output, + "brapi_SerializedAXNode": brapi_SerializedAXNode, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/snapshot`, query: [ - ["cacheTTL", args["cache_ttl"], true], - ["browser", args["browser"], true], + ["cacheTTL", param(args, "query", "cacheTTL"), true], + ["browser", param(args, "query", "browser"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/browserRun/recording/network/tools.ts b/src/generated/forge-mcp/browserRun/recording/network/tools.ts index 5b622b619..4f8cca8ec 100644 --- a/src/generated/forge-mcp/browserRun/recording/network/tools.ts +++ b/src/generated/forge-mcp/browserRun/recording/network/tools.ts @@ -1,40 +1,56 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `browser_run.recording.network`. + * The tools of `browserRun.recording.network`. */ export const tools: readonly Tool[] = [ { - name: "browser_run_recording_network_get", + name: "browserRun_recording_network_get", title: "Get network recording data.", description: "Returns network recording events for the requested target ID. Use ?format=har for a HAR JSON document.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "format": { - "description": "Set to `har` to return a HAR JSON document.", - "type": "string" - }, - "session_id": { - "description": "Session ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Session ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" }, - "target": { - "description": "Target ID to include in the response.", - "type": "string" + "query": { + "properties": { + "format": { + "description": "Set to `har` to return a HAR JSON document.", + "type": "string" + }, + "target": { + "description": "Target ID to include in the response.", + "type": "string" + } + }, + "required": [ + "target" + ], + "type": "object" } }, required: [ - "account_id", - "session_id", - "target" + "path", + "query" ], }, outputSchema: { @@ -155,8 +171,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/browser-rendering/recording/${pathParam(args, "session_id")}/network`, query: [ - ["format", args["format"], true], - ["target", args["target"], true], + ["format", param(args, "query", "format"), true], + ["target", param(args, "query", "target"), true], ], }), }, diff --git a/src/generated/forge-mcp/browserRun/recording/tools.ts b/src/generated/forge-mcp/browserRun/recording/tools.ts index 83269f6f0..cb5b5c50b 100644 --- a/src/generated/forge-mcp/browserRun/recording/tools.ts +++ b/src/generated/forge-mcp/browserRun/recording/tools.ts @@ -4,28 +4,36 @@ import { type Tool, pathParam } from "../../_/tool.js"; /** - * The tools of `browser_run.recording`. + * The tools of `browserRun.recording`. */ export const tools: readonly Tool[] = [ { - name: "browser_run_recording_get", + name: "browserRun_recording_get", title: "Get recording data.", description: "Returns the recording data for a given session as a dictionary of events per targetId.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "session_id": { - "description": "Session ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "session_id": { + "description": "Session ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "session_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/builds/deployHooks/outputs.ts b/src/generated/forge-mcp/builds/deployHooks/outputs.ts index c0a518e3d..8ce00b032 100644 --- a/src/generated/forge-mcp/builds/deployHooks/outputs.ts +++ b/src/generated/forge-mcp/builds/deployHooks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `builds_DeployHookResponse` in responses. */ -export const builds_DeployHookResponse_output: JsonSchema = { +export const builds_DeployHookResponse: JsonSchema = { "properties": { "branch": { "$ref": "#/$defs/builds_branch" @@ -33,7 +33,7 @@ export const builds_DeployHookResponse_output: JsonSchema = { /** * The schema of `builds_DetailedDeployHookResponse` in responses. */ -export const builds_DetailedDeployHookResponse_output: JsonSchema = { +export const builds_DetailedDeployHookResponse: JsonSchema = { "properties": { "branch": { "$ref": "#/$defs/builds_branch" @@ -75,7 +75,7 @@ export const builds_DetailedDeployHookResponse_output: JsonSchema = { /** * The schema of `builds_TriggerDeployHookResponse` in responses. */ -export const builds_TriggerDeployHookResponse_output: JsonSchema = { +export const builds_TriggerDeployHookResponse: JsonSchema = { "properties": { "already_exists": { "type": "boolean" @@ -96,7 +96,7 @@ export const builds_TriggerDeployHookResponse_output: JsonSchema = { /** * The schema of `builds_deploy_hook_uuid` in responses. */ -export const builds_deploy_hook_uuid_output: JsonSchema = { +export const builds_deploy_hook_uuid: JsonSchema = { "format": "uuid", "type": "string" }; diff --git a/src/generated/forge-mcp/builds/deployHooks/tools.ts b/src/generated/forge-mcp/builds/deployHooks/tools.ts index 71dae72f3..04ae0639f 100644 --- a/src/generated/forge-mcp/builds/deployHooks/tools.ts +++ b/src/generated/forge-mcp/builds/deployHooks/tools.ts @@ -3,68 +3,76 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_BuildStatus_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_branch_output, - builds_build_uuid_output, - builds_created_on_output, - builds_deploy_hook_name_output, - builds_external_script_id_output, - builds_modified_on_output, + builds_APIResponse, + builds_ApiError, + builds_BuildStatus, + builds_ErrorResponse, + builds_PaginationInfo, + builds_branch, + builds_build_uuid, + builds_created_on, + builds_deploy_hook_name, + builds_external_script_id, + builds_modified_on, } from "../../outputs.js"; import { builds_account_id, - builds_branch, - builds_deploy_hook_name, + builds_branch as builds_branch$, + builds_deploy_hook_name as builds_deploy_hook_name$, } from "../../schemas.js"; import { - builds_DeployHookResponse_output, - builds_DetailedDeployHookResponse_output, - builds_TriggerDeployHookResponse_output, - builds_deploy_hook_uuid_output, + builds_DeployHookResponse, + builds_DetailedDeployHookResponse, + builds_TriggerDeployHookResponse, + builds_deploy_hook_uuid, } from "./outputs.js"; import { builds_CreateDeployHookRequest, - builds_deploy_hook_uuid, + builds_deploy_hook_uuid as builds_deploy_hook_uuid$, builds_script_name, } from "./schemas.js"; /** - * The tools of `builds.deploy_hooks`. + * The tools of `builds.deployHooks`. */ export const tools: readonly Tool[] = [ { - name: "builds_deploy_hooks_create", + name: "builds_deployHooks_create", title: "Create a deploy hook", description: "Create an HTTP hook that starts a build for a selected Worker branch.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_CreateDeployHookRequest" }, - "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "script_name": { + "$ref": "#/$defs/builds_script_name", + "description": "Human-readable name of the worker." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", + "path", "body" ], $defs: { "builds_CreateDeployHookRequest": builds_CreateDeployHookRequest, "builds_account_id": builds_account_id, - "builds_branch": builds_branch, - "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_branch": builds_branch$, + "builds_deploy_hook_name": builds_deploy_hook_name$, "builds_script_name": builds_script_name, }, }, @@ -83,16 +91,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DeployHookResponse": builds_DeployHookResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DeployHookResponse": builds_DeployHookResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -140,17 +148,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DeployHookResponse": builds_DeployHookResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DeployHookResponse": builds_DeployHookResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ @@ -159,33 +167,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "builds_deploy_hooks_delete", + name: "builds_deployHooks_delete", title: "Delete a deploy hook", description: "Delete a deploy hook so its UUID can no longer start builds.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid", - "description": "Deploy hook UUID" - }, - "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "deploy_hook_uuid": { + "$ref": "#/$defs/builds_deploy_hook_uuid", + "description": "Deploy hook UUID" + }, + "script_name": { + "$ref": "#/$defs/builds_script_name", + "description": "Human-readable name of the worker." + } + }, + "required": [ + "account_id", + "script_name", + "deploy_hook_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", - "deploy_hook_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid$, "builds_script_name": builds_script_name, }, }, @@ -204,16 +220,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DeployHookResponse": builds_DeployHookResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DeployHookResponse": builds_DeployHookResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -255,17 +271,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DeployHookResponse": builds_DeployHookResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DeployHookResponse": builds_DeployHookResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ @@ -273,33 +289,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "builds_deploy_hooks_get", + name: "builds_deployHooks_get", title: "Get a deploy hook", description: "Retrieve the name, branch, Worker identifier, and timestamps for a deploy hook.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid", - "description": "Deploy hook UUID" - }, - "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "deploy_hook_uuid": { + "$ref": "#/$defs/builds_deploy_hook_uuid", + "description": "Deploy hook UUID" + }, + "script_name": { + "$ref": "#/$defs/builds_script_name", + "description": "Human-readable name of the worker." + } + }, + "required": [ + "account_id", + "script_name", + "deploy_hook_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", - "deploy_hook_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid$, "builds_script_name": builds_script_name, }, }, @@ -318,16 +342,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DeployHookResponse": builds_DeployHookResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DeployHookResponse": builds_DeployHookResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -370,17 +394,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DeployHookResponse": builds_DeployHookResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DeployHookResponse": builds_DeployHookResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ @@ -388,24 +412,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "builds_deploy_hooks_list", + name: "builds_deployHooks_list", title: "List deploy hooks", description: "List the branch-specific deploy hooks configured for a Worker.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "script_name": { + "$ref": "#/$defs/builds_script_name", + "description": "Human-readable name of the worker." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "builds_account_id": builds_account_id, @@ -430,16 +462,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DetailedDeployHookResponse": builds_DetailedDeployHookResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DetailedDeployHookResponse": builds_DetailedDeployHookResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -482,17 +514,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DetailedDeployHookResponse": builds_DetailedDeployHookResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DetailedDeployHookResponse": builds_DetailedDeployHookResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ @@ -500,22 +532,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "builds_deploy_hooks_trigger", + name: "builds_deployHooks_trigger", title: "Trigger deploy hook", description: "Trigger a build using a deploy hook. This endpoint does not require authentication - the deploy_hook_uuid acts as a secret token.", inputSchema: { type: "object", properties: { - "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid", - "description": "Deploy hook UUID" + "path": { + "properties": { + "deploy_hook_uuid": { + "$ref": "#/$defs/builds_deploy_hook_uuid", + "description": "Deploy hook UUID" + } + }, + "required": [ + "deploy_hook_uuid" + ], + "type": "object" } }, required: [ - "deploy_hook_uuid" + "path" ], $defs: { - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid$, }, }, outputSchema: { @@ -533,13 +573,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_TriggerDeployHookResponse": builds_TriggerDeployHookResponse_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_created_on": builds_created_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildStatus": builds_BuildStatus, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_TriggerDeployHookResponse": builds_TriggerDeployHookResponse, + "builds_build_uuid": builds_build_uuid, + "builds_created_on": builds_created_on, }, }, annotations: { @@ -576,14 +616,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_TriggerDeployHookResponse": builds_TriggerDeployHookResponse_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_created_on": builds_created_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildStatus": builds_BuildStatus, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_TriggerDeployHookResponse": builds_TriggerDeployHookResponse, + "builds_build_uuid": builds_build_uuid, + "builds_created_on": builds_created_on, }, }, request: (args) => ({ @@ -591,40 +631,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "builds_deploy_hooks_update", + name: "builds_deployHooks_update", title: "Update a deploy hook", description: "Replace the name and target branch for a deploy hook.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_CreateDeployHookRequest" }, - "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid", - "description": "Deploy hook UUID" - }, - "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "deploy_hook_uuid": { + "$ref": "#/$defs/builds_deploy_hook_uuid", + "description": "Deploy hook UUID" + }, + "script_name": { + "$ref": "#/$defs/builds_script_name", + "description": "Human-readable name of the worker." + } + }, + "required": [ + "account_id", + "script_name", + "deploy_hook_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", - "deploy_hook_uuid", + "path", "body" ], $defs: { "builds_CreateDeployHookRequest": builds_CreateDeployHookRequest, "builds_account_id": builds_account_id, - "builds_branch": builds_branch, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_branch": builds_branch$, + "builds_deploy_hook_name": builds_deploy_hook_name$, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid$, "builds_script_name": builds_script_name, }, }, @@ -643,16 +691,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DeployHookResponse": builds_DeployHookResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DeployHookResponse": builds_DeployHookResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -700,17 +748,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_DeployHookResponse": builds_DeployHookResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_branch": builds_branch_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_DeployHookResponse": builds_DeployHookResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_branch": builds_branch, + "builds_created_on": builds_created_on, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_deploy_hook_uuid": builds_deploy_hook_uuid, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/limits/outputs.ts b/src/generated/forge-mcp/builds/limits/outputs.ts index 531b8a4f2..fd35fbfd6 100644 --- a/src/generated/forge-mcp/builds/limits/outputs.ts +++ b/src/generated/forge-mcp/builds/limits/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `builds_GetAccountLimitResponse` in responses. */ -export const builds_GetAccountLimitResponse_output: JsonSchema = { +export const builds_GetAccountLimitResponse: JsonSchema = { "properties": { "build_minutes_refresh_on": { "oneOf": [ diff --git a/src/generated/forge-mcp/builds/limits/tools.ts b/src/generated/forge-mcp/builds/limits/tools.ts index 527153931..6770ad74f 100644 --- a/src/generated/forge-mcp/builds/limits/tools.ts +++ b/src/generated/forge-mcp/builds/limits/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, + builds_APIResponse, + builds_ApiError, + builds_ErrorResponse, + builds_PaginationInfo, } from "../../outputs.js"; import { builds_account_id } from "../../schemas.js"; -import { builds_GetAccountLimitResponse_output } from "./outputs.js"; +import { builds_GetAccountLimitResponse } from "./outputs.js"; /** * The tools of `builds.limits`. @@ -22,13 +22,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "builds_account_id": builds_account_id, @@ -49,10 +57,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_GetAccountLimitResponse": builds_GetAccountLimitResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_GetAccountLimitResponse": builds_GetAccountLimitResponse, + "builds_PaginationInfo": builds_PaginationInfo, }, }, annotations: { @@ -92,11 +100,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_GetAccountLimitResponse": builds_GetAccountLimitResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_GetAccountLimitResponse": builds_GetAccountLimitResponse, + "builds_PaginationInfo": builds_PaginationInfo, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/logs/outputs.ts b/src/generated/forge-mcp/builds/logs/outputs.ts index 4a9264449..a8886ccf8 100644 --- a/src/generated/forge-mcp/builds/logs/outputs.ts +++ b/src/generated/forge-mcp/builds/logs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `builds_BuildLogsResponse` in responses. */ -export const builds_BuildLogsResponse_output: JsonSchema = { +export const builds_BuildLogsResponse: JsonSchema = { "properties": { "cursor": { "$ref": "#/$defs/builds_cursor" @@ -39,6 +39,6 @@ export const builds_BuildLogsResponse_output: JsonSchema = { /** * The schema of `builds_cursor` in responses. */ -export const builds_cursor_output: JsonSchema = { +export const builds_cursor: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/builds/logs/tools.ts b/src/generated/forge-mcp/builds/logs/tools.ts index 5fc4ae87c..2a5f62366 100644 --- a/src/generated/forge-mcp/builds/logs/tools.ts +++ b/src/generated/forge-mcp/builds/logs/tools.ts @@ -1,19 +1,16 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, + builds_APIResponse, + builds_ApiError, + builds_ErrorResponse, + builds_PaginationInfo, } from "../../outputs.js"; import { builds_account_id, builds_build_uuid } from "../../schemas.js"; -import { - builds_BuildLogsResponse_output, - builds_cursor_output, -} from "./outputs.js"; -import { builds_cursor } from "./schemas.js"; +import { builds_BuildLogsResponse, builds_cursor } from "./outputs.js"; +import { builds_cursor as builds_cursor$ } from "./schemas.js"; /** * The tools of `builds.logs`. @@ -26,27 +23,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "build_uuid": { - "$ref": "#/$defs/builds_build_uuid", - "description": "Build UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "build_uuid": { + "$ref": "#/$defs/builds_build_uuid", + "description": "Build UUID." + } + }, + "required": [ + "account_id", + "build_uuid" + ], + "type": "object" }, - "cursor": { - "$ref": "#/$defs/builds_cursor", - "description": "Pagination cursor for log retrieval." + "query": { + "properties": { + "cursor": { + "$ref": "#/$defs/builds_cursor", + "description": "Pagination cursor for log retrieval." + } + }, + "type": "object" } }, required: [ - "account_id", - "build_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, "builds_build_uuid": builds_build_uuid, - "builds_cursor": builds_cursor, + "builds_cursor": builds_cursor$, }, }, outputSchema: { @@ -64,11 +74,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildLogsResponse": builds_BuildLogsResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_cursor": builds_cursor_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildLogsResponse": builds_BuildLogsResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_cursor": builds_cursor, }, }, annotations: { @@ -111,18 +121,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildLogsResponse": builds_BuildLogsResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_cursor": builds_cursor_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildLogsResponse": builds_BuildLogsResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_cursor": builds_cursor, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/builds/${pathParam(args, "build_uuid")}/logs`, query: [ - ["cursor", args["cursor"], true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/builds/outputs.ts b/src/generated/forge-mcp/builds/outputs.ts index 4b52f0071..406465633 100644 --- a/src/generated/forge-mcp/builds/outputs.ts +++ b/src/generated/forge-mcp/builds/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `builds_CanceledBuildResponse` in responses. */ -export const builds_CanceledBuildResponse_output: JsonSchema = { +export const builds_CanceledBuildResponse: JsonSchema = { "properties": { "build_outcome": { "$ref": "#/$defs/builds_BuildOutcome" diff --git a/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts b/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts index 7cf3a1f12..bb1280f72 100644 --- a/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts +++ b/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `builds_ConfigAutofillResponse` in responses. */ -export const builds_ConfigAutofillResponse_output: JsonSchema = { +export const builds_ConfigAutofillResponse: JsonSchema = { "properties": { "config_file": { "oneOf": [ @@ -64,7 +64,7 @@ export const builds_ConfigAutofillResponse_output: JsonSchema = { /** * The schema of `builds_PackageManager` in responses. */ -export const builds_PackageManager_output: JsonSchema = { +export const builds_PackageManager: JsonSchema = { "enum": [ "npm", "yarn", diff --git a/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts b/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts index 6908f613d..ba2d34591 100644 --- a/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts +++ b/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts @@ -1,12 +1,12 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, + builds_APIResponse, + builds_ApiError, + builds_ErrorResponse, + builds_PaginationInfo, } from "../../../outputs.js"; import { builds_SCMProviderType, @@ -17,52 +17,68 @@ import { builds_root_directory, } from "../../../schemas.js"; import { - builds_ConfigAutofillResponse_output, - builds_PackageManager_output, + builds_ConfigAutofillResponse, + builds_PackageManager, } from "./outputs.js"; /** - * The tools of `builds.repos.config_autofill`. + * The tools of `builds.repos.configAutofill`. */ export const tools: readonly Tool[] = [ { - name: "builds_repos_config_autofill_get", + name: "builds_repos_configAutofill_get", title: "Get repository configuration autofill", description: "Analyze repository for automatic configuration detection", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "branch": { - "$ref": "#/$defs/builds_branch", - "description": "Git branch name." - }, - "provider_account_id": { - "$ref": "#/$defs/builds_provider_account_id", - "description": "Provider-specific identifier of the account or namespace that owns the repository." - }, - "provider_type": { - "$ref": "#/$defs/builds_SCMProviderType", - "description": "SCM provider type" - }, - "repo_id": { - "$ref": "#/$defs/builds_repo_id", - "description": "Provider-specific repository identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "provider_account_id": { + "$ref": "#/$defs/builds_provider_account_id", + "description": "Provider-specific identifier of the account or namespace that owns the repository." + }, + "provider_type": { + "$ref": "#/$defs/builds_SCMProviderType", + "description": "SCM provider type" + }, + "repo_id": { + "$ref": "#/$defs/builds_repo_id", + "description": "Provider-specific repository identifier." + } + }, + "required": [ + "account_id", + "provider_type", + "provider_account_id", + "repo_id" + ], + "type": "object" }, - "root_directory": { - "$ref": "#/$defs/builds_root_directory", - "description": "Repository directory in which build and deploy commands run." + "query": { + "properties": { + "branch": { + "$ref": "#/$defs/builds_branch", + "description": "Git branch name." + }, + "root_directory": { + "$ref": "#/$defs/builds_root_directory", + "description": "Repository directory in which build and deploy commands run." + } + }, + "required": [ + "branch" + ], + "type": "object" } }, required: [ - "account_id", - "provider_type", - "provider_account_id", - "repo_id", - "branch" + "path", + "query" ], $defs: { "builds_SCMProviderType": builds_SCMProviderType, @@ -88,11 +104,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ConfigAutofillResponse": builds_ConfigAutofillResponse_output, - "builds_PackageManager": builds_PackageManager_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ConfigAutofillResponse": builds_ConfigAutofillResponse, + "builds_PackageManager": builds_PackageManager, + "builds_PaginationInfo": builds_PaginationInfo, }, }, annotations: { @@ -132,19 +148,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ConfigAutofillResponse": builds_ConfigAutofillResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PackageManager": builds_PackageManager_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ConfigAutofillResponse": builds_ConfigAutofillResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PackageManager": builds_PackageManager, + "builds_PaginationInfo": builds_PaginationInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/repos/${pathParam(args, "provider_type")}/${pathParam(args, "provider_account_id")}/${pathParam(args, "repo_id")}/config_autofill`, query: [ - ["branch", args["branch"], true], - ["root_directory", args["root_directory"], true], + ["branch", param(args, "query", "branch"), true], + ["root_directory", param(args, "query", "root_directory"), true], ], }), }, diff --git a/src/generated/forge-mcp/builds/repos/connections/tools.ts b/src/generated/forge-mcp/builds/repos/connections/tools.ts index 9835c20e2..51c373556 100644 --- a/src/generated/forge-mcp/builds/repos/connections/tools.ts +++ b/src/generated/forge-mcp/builds/repos/connections/tools.ts @@ -3,29 +3,29 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_SCMProviderType_output, - builds_UpsertRepoConnectionResponse_output, - builds_created_on_output, - builds_deleted_on_output, - builds_modified_on_output, - builds_provider_account_id_output, - builds_provider_account_name_output, - builds_repo_connection_uuid_output, - builds_repo_id_output, - builds_repo_name_output, -} from "../../../outputs.js"; -import { + builds_APIResponse, + builds_ApiError, + builds_ErrorResponse, + builds_PaginationInfo, builds_SCMProviderType, - builds_account_id, + builds_UpsertRepoConnectionResponse, + builds_created_on, + builds_deleted_on, + builds_modified_on, builds_provider_account_id, builds_provider_account_name, builds_repo_connection_uuid, builds_repo_id, builds_repo_name, +} from "../../../outputs.js"; +import { + builds_SCMProviderType as builds_SCMProviderType$, + builds_account_id, + builds_provider_account_id as builds_provider_account_id$, + builds_provider_account_name as builds_provider_account_name$, + builds_repo_connection_uuid as builds_repo_connection_uuid$, + builds_repo_id as builds_repo_id$, + builds_repo_name as builds_repo_name$, } from "../../../schemas.js"; import { builds_UpsertRepoConnectionRequest } from "./schemas.js"; @@ -40,30 +40,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "repo_connection_uuid": { - "$ref": "#/$defs/builds_repo_connection_uuid", - "description": "Repository connection UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "repo_connection_uuid": { + "$ref": "#/$defs/builds_repo_connection_uuid", + "description": "Repository connection UUID." + } + }, + "required": [ + "account_id", + "repo_connection_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "repo_connection_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_connection_uuid": builds_repo_connection_uuid$, }, }, outputSchema: { "$ref": "#/$defs/builds_APIResponse", $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, }, }, annotations: { @@ -93,10 +101,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, }, }, request: (args) => ({ @@ -110,26 +118,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_UpsertRepoConnectionRequest" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "builds_SCMProviderType": builds_SCMProviderType, + "builds_SCMProviderType": builds_SCMProviderType$, "builds_UpsertRepoConnectionRequest": builds_UpsertRepoConnectionRequest, "builds_account_id": builds_account_id, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, + "builds_provider_account_id": builds_provider_account_id$, + "builds_provider_account_name": builds_provider_account_name$, + "builds_repo_id": builds_repo_id$, + "builds_repo_name": builds_repo_name$, }, }, outputSchema: { @@ -147,19 +163,19 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_modified_on": builds_modified_on_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_modified_on": builds_modified_on, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, }, }, annotations: { @@ -198,20 +214,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_modified_on": builds_modified_on_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_modified_on": builds_modified_on, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/tokens/outputs.ts b/src/generated/forge-mcp/builds/tokens/outputs.ts index 225887198..609980751 100644 --- a/src/generated/forge-mcp/builds/tokens/outputs.ts +++ b/src/generated/forge-mcp/builds/tokens/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `builds_CreateBuildTokenResponse` in responses. */ -export const builds_CreateBuildTokenResponse_output: JsonSchema = { +export const builds_CreateBuildTokenResponse: JsonSchema = { "properties": { "build_token_name": { "$ref": "#/$defs/builds_build_token_name" @@ -27,7 +27,7 @@ export const builds_CreateBuildTokenResponse_output: JsonSchema = { /** * The schema of `builds_ListTokensResponse` in responses. */ -export const builds_ListTokensResponse_output: JsonSchema = { +export const builds_ListTokensResponse: JsonSchema = { "properties": { "build_token_name": { "$ref": "#/$defs/builds_build_token_name" @@ -48,13 +48,13 @@ export const builds_ListTokensResponse_output: JsonSchema = { /** * The schema of `builds_cloudflare_token_id` in responses. */ -export const builds_cloudflare_token_id_output: JsonSchema = { +export const builds_cloudflare_token_id: JsonSchema = { "type": "string" }; /** * The schema of `builds_owner_type` in responses. */ -export const builds_owner_type_output: JsonSchema = { +export const builds_owner_type: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/builds/tokens/tools.ts b/src/generated/forge-mcp/builds/tokens/tools.ts index 21c90d649..0aa60dac1 100644 --- a/src/generated/forge-mcp/builds/tokens/tools.ts +++ b/src/generated/forge-mcp/builds/tokens/tools.ts @@ -1,29 +1,29 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_build_token_name_output, - builds_build_token_uuid_output, + builds_APIResponse, + builds_ApiError, + builds_ErrorResponse, + builds_PaginationInfo, + builds_build_token_name, + builds_build_token_uuid, } from "../../outputs.js"; import { builds_account_id, - builds_build_token_name, - builds_build_token_uuid, + builds_build_token_name as builds_build_token_name$, + builds_build_token_uuid as builds_build_token_uuid$, } from "../../schemas.js"; import { - builds_CreateBuildTokenResponse_output, - builds_ListTokensResponse_output, - builds_cloudflare_token_id_output, - builds_owner_type_output, + builds_CreateBuildTokenResponse, + builds_ListTokensResponse, + builds_cloudflare_token_id, + builds_owner_type, } from "./outputs.js"; import { builds_CreateBuildTokenRequest, - builds_cloudflare_token_id, + builds_cloudflare_token_id as builds_cloudflare_token_id$, } from "./schemas.js"; /** @@ -37,23 +37,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_CreateBuildTokenRequest" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "builds_CreateBuildTokenRequest": builds_CreateBuildTokenRequest, "builds_account_id": builds_account_id, - "builds_build_token_name": builds_build_token_name, - "builds_cloudflare_token_id": builds_cloudflare_token_id, + "builds_build_token_name": builds_build_token_name$, + "builds_cloudflare_token_id": builds_cloudflare_token_id$, }, }, outputSchema: { @@ -71,14 +79,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_CreateBuildTokenResponse": builds_CreateBuildTokenResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_cloudflare_token_id": builds_cloudflare_token_id_output, - "builds_owner_type": builds_owner_type_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_CreateBuildTokenResponse": builds_CreateBuildTokenResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_cloudflare_token_id": builds_cloudflare_token_id, + "builds_owner_type": builds_owner_type, }, }, annotations: { @@ -117,15 +125,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_CreateBuildTokenResponse": builds_CreateBuildTokenResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_cloudflare_token_id": builds_cloudflare_token_id_output, - "builds_owner_type": builds_owner_type_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_CreateBuildTokenResponse": builds_CreateBuildTokenResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_cloudflare_token_id": builds_cloudflare_token_id, + "builds_owner_type": builds_owner_type, }, }, request: (args) => ({ @@ -140,30 +148,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid", - "description": "UUID of the build token used when deploying the Worker." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "build_token_uuid": { + "$ref": "#/$defs/builds_build_token_uuid", + "description": "UUID of the build token used when deploying the Worker." + } + }, + "required": [ + "account_id", + "build_token_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "build_token_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_token_uuid": builds_build_token_uuid$, }, }, outputSchema: { "$ref": "#/$defs/builds_APIResponse", $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, }, }, annotations: { @@ -193,10 +209,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, }, }, request: (args) => ({ @@ -210,23 +226,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "page": { - "default": 1, - "description": "Page number for pagination", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 50, - "description": "Number of items per page", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number for pagination", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of items per page", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "builds_account_id": builds_account_id, @@ -253,14 +282,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ListTokensResponse": builds_ListTokensResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_cloudflare_token_id": builds_cloudflare_token_id_output, - "builds_owner_type": builds_owner_type_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ListTokensResponse": builds_ListTokensResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_cloudflare_token_id": builds_cloudflare_token_id, + "builds_owner_type": builds_owner_type, }, }, annotations: { @@ -306,22 +335,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_ListTokensResponse": builds_ListTokensResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_cloudflare_token_id": builds_cloudflare_token_id_output, - "builds_owner_type": builds_owner_type_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_ListTokensResponse": builds_ListTokensResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_cloudflare_token_id": builds_cloudflare_token_id, + "builds_owner_type": builds_owner_type, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/tokens`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/builds/tools.ts b/src/generated/forge-mcp/builds/tools.ts index 8bad9daa4..5487e7156 100644 --- a/src/generated/forge-mcp/builds/tools.ts +++ b/src/generated/forge-mcp/builds/tools.ts @@ -1,58 +1,58 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_BuildOutcome_output, - builds_BuildResponse_output, - builds_BuildStatus_output, - builds_BuildTriggerMetadataResponse_output, - builds_BuildTriggerSource_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_SCMProviderType_output, - builds_UpsertRepoConnectionResponse_output, - builds_branch_excludes_output, - builds_branch_includes_output, - builds_branch_output, - builds_build_caching_enabled_output, - builds_build_command_output, - builds_build_token_name_output, - builds_build_token_uuid_output, - builds_build_uuid_output, - builds_commit_hash_output, - builds_created_on_output, - builds_deleted_on_output, - builds_deploy_command_output, - builds_deploy_hook_name_output, - builds_external_script_id_output, - builds_modified_on_output, - builds_path_excludes_output, - builds_path_includes_output, - builds_provider_account_id_output, - builds_provider_account_name_output, - builds_repo_connection_uuid_output, - builds_repo_id_output, - builds_repo_name_output, - builds_root_directory_output, - builds_stopped_on_output, - builds_trigger_name_output, - builds_trigger_uuid_output, + builds_APIResponse, + builds_ApiError, + builds_BuildOutcome, + builds_BuildResponse, + builds_BuildStatus, + builds_BuildTriggerMetadataResponse, + builds_BuildTriggerSource, + builds_ErrorResponse, + builds_PaginationInfo, + builds_SCMProviderType, + builds_UpsertRepoConnectionResponse, + builds_branch, + builds_branch_excludes, + builds_branch_includes, + builds_build_caching_enabled, + builds_build_command, + builds_build_token_name, + builds_build_token_uuid, + builds_build_uuid, + builds_commit_hash, + builds_created_on, + builds_deleted_on, + builds_deploy_command, + builds_deploy_hook_name, + builds_external_script_id, + builds_modified_on, + builds_path_excludes, + builds_path_includes, + builds_provider_account_id, + builds_provider_account_name, + builds_repo_connection_uuid, + builds_repo_id, + builds_repo_name, + builds_root_directory, + builds_stopped_on, + builds_trigger_name, + builds_trigger_uuid, } from "../outputs.js"; import { builds_BuildSeedRepoInput, builds_BuildSeedRepoInputFile, builds_CreateBuildRequest, builds_account_id, - builds_branch, - builds_build_uuid, - builds_commit_hash, - builds_external_script_id, - builds_trigger_uuid, + builds_branch as builds_branch$, + builds_build_uuid as builds_build_uuid$, + builds_commit_hash as builds_commit_hash$, + builds_external_script_id as builds_external_script_id$, + builds_trigger_uuid as builds_trigger_uuid$, } from "../schemas.js"; -import { builds_CanceledBuildResponse_output } from "./outputs.js"; +import { builds_CanceledBuildResponse } from "./outputs.js"; /** * The tools of `builds`. @@ -65,22 +65,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "build_uuid": { - "$ref": "#/$defs/builds_build_uuid", - "description": "Build UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "build_uuid": { + "$ref": "#/$defs/builds_build_uuid", + "description": "Build UUID." + } + }, + "required": [ + "account_id", + "build_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "build_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_build_uuid": builds_build_uuid, + "builds_build_uuid": builds_build_uuid$, }, }, outputSchema: { @@ -98,13 +106,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_CanceledBuildResponse": builds_CanceledBuildResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_stopped_on": builds_stopped_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_CanceledBuildResponse": builds_CanceledBuildResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_build_uuid": builds_build_uuid, + "builds_stopped_on": builds_stopped_on, }, }, annotations: { @@ -146,14 +154,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_CanceledBuildResponse": builds_CanceledBuildResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_stopped_on": builds_stopped_on_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_CanceledBuildResponse": builds_CanceledBuildResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_build_uuid": builds_build_uuid, + "builds_stopped_on": builds_stopped_on, }, }, request: (args) => ({ @@ -167,21 +175,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_CreateBuildRequest" }, - "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "trigger_uuid": { + "$ref": "#/$defs/builds_trigger_uuid", + "description": "Trigger UUID." + } + }, + "required": [ + "account_id", + "trigger_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "trigger_uuid", + "path", "body" ], $defs: { @@ -189,9 +205,9 @@ export const tools: readonly Tool[] = [ "builds_BuildSeedRepoInputFile": builds_BuildSeedRepoInputFile, "builds_CreateBuildRequest": builds_CreateBuildRequest, "builds_account_id": builds_account_id, - "builds_branch": builds_branch, - "builds_commit_hash": builds_commit_hash, - "builds_trigger_uuid": builds_trigger_uuid, + "builds_branch": builds_branch$, + "builds_commit_hash": builds_commit_hash$, + "builds_trigger_uuid": builds_trigger_uuid$, }, }, outputSchema: { @@ -209,42 +225,42 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -283,43 +299,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -334,22 +350,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "build_uuid": { - "$ref": "#/$defs/builds_build_uuid", - "description": "Build UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "build_uuid": { + "$ref": "#/$defs/builds_build_uuid", + "description": "Build UUID." + } + }, + "required": [ + "account_id", + "build_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "build_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_build_uuid": builds_build_uuid, + "builds_build_uuid": builds_build_uuid$, }, }, outputSchema: { @@ -367,42 +391,42 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -445,43 +469,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -495,32 +519,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "external_script_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "System-generated tag of the Worker. This is not the Worker name." - }, - "page": { - "default": 1, - "description": "Page number for pagination", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "external_script_id": { + "$ref": "#/$defs/builds_external_script_id", + "description": "System-generated tag of the Worker. This is not the Worker name." + } + }, + "required": [ + "account_id", + "external_script_id" + ], + "type": "object" }, - "per_page": { - "default": 50, - "description": "Number of items per page", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number for pagination", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of items per page", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "external_script_id" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id, + "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -544,42 +581,42 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -625,50 +662,50 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "external_script_id")}/builds`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/builds/triggers/cache/tools.ts b/src/generated/forge-mcp/builds/triggers/cache/tools.ts index ef0973a79..989909990 100644 --- a/src/generated/forge-mcp/builds/triggers/cache/tools.ts +++ b/src/generated/forge-mcp/builds/triggers/cache/tools.ts @@ -3,10 +3,10 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, + builds_APIResponse, + builds_ApiError, + builds_ErrorResponse, + builds_PaginationInfo, } from "../../../outputs.js"; import { builds_account_id, builds_trigger_uuid } from "../../../schemas.js"; @@ -21,18 +21,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "trigger_uuid": { + "$ref": "#/$defs/builds_trigger_uuid", + "description": "Trigger UUID." + } + }, + "required": [ + "account_id", + "trigger_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "trigger_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, @@ -42,9 +50,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/builds_APIResponse", $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, }, }, annotations: { @@ -74,10 +82,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts b/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts index 0180c87f4..f207a1b3a 100644 --- a/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts +++ b/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts @@ -3,50 +3,58 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_EnvironmentVariablesResponse_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_created_on_output, - builds_is_secret_output, + builds_APIResponse, + builds_ApiError, + builds_EnvironmentVariablesResponse, + builds_ErrorResponse, + builds_PaginationInfo, + builds_created_on, + builds_is_secret, } from "../../../outputs.js"; import { builds_account_id, - builds_is_secret, + builds_is_secret as builds_is_secret$, builds_trigger_uuid, } from "../../../schemas.js"; import { builds_EnvironmentVariablesRequest } from "../../schemas.js"; import { builds_environment_variable_key } from "./schemas.js"; /** - * The tools of `builds.triggers.environment_variables`. + * The tools of `builds.triggers.environmentVariables`. */ export const tools: readonly Tool[] = [ { - name: "builds_triggers_environment_variables_delete", + name: "builds_triggers_environmentVariables_delete", title: "Delete a build variable", description: "Delete one build-time variable or secret by key.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "environment_variable_key": { - "$ref": "#/$defs/builds_environment_variable_key", - "description": "Environment variable key." - }, - "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "environment_variable_key": { + "$ref": "#/$defs/builds_environment_variable_key", + "description": "Environment variable key." + }, + "trigger_uuid": { + "$ref": "#/$defs/builds_trigger_uuid", + "description": "Trigger UUID." + } + }, + "required": [ + "account_id", + "trigger_uuid", + "environment_variable_key" + ], + "type": "object" } }, required: [ - "account_id", - "trigger_uuid", - "environment_variable_key" + "path" ], $defs: { "builds_account_id": builds_account_id, @@ -57,9 +65,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/builds_APIResponse", $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, }, }, annotations: { @@ -89,10 +97,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, }, }, request: (args) => ({ @@ -100,24 +108,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "builds_triggers_environment_variables_list", + name: "builds_triggers_environmentVariables_list", title: "List build variables", description: "List build-time variables configured for a trigger. Secret values are not returned.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "trigger_uuid": { + "$ref": "#/$defs/builds_trigger_uuid", + "description": "Trigger UUID." + } + }, + "required": [ + "account_id", + "trigger_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "trigger_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, @@ -139,12 +155,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_created_on": builds_created_on_output, - "builds_is_secret": builds_is_secret_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_created_on": builds_created_on, + "builds_is_secret": builds_is_secret, }, }, annotations: { @@ -184,13 +200,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_created_on": builds_created_on_output, - "builds_is_secret": builds_is_secret_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_created_on": builds_created_on, + "builds_is_secret": builds_is_secret, }, }, request: (args) => ({ @@ -198,33 +214,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "builds_triggers_environment_variables_upsert", + name: "builds_triggers_environmentVariables_upsert", title: "Set build variables", description: "Add or replace build-time variables and secrets without changing unspecified keys.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_EnvironmentVariablesRequest" }, - "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "trigger_uuid": { + "$ref": "#/$defs/builds_trigger_uuid", + "description": "Trigger UUID." + } + }, + "required": [ + "account_id", + "trigger_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "trigger_uuid", + "path", "body" ], $defs: { "builds_EnvironmentVariablesRequest": builds_EnvironmentVariablesRequest, "builds_account_id": builds_account_id, - "builds_is_secret": builds_is_secret, + "builds_is_secret": builds_is_secret$, "builds_trigger_uuid": builds_trigger_uuid, }, }, @@ -243,12 +267,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_created_on": builds_created_on_output, - "builds_is_secret": builds_is_secret_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_created_on": builds_created_on, + "builds_is_secret": builds_is_secret, }, }, annotations: { @@ -290,13 +314,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_created_on": builds_created_on_output, - "builds_is_secret": builds_is_secret_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_created_on": builds_created_on, + "builds_is_secret": builds_is_secret, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/triggers/outputs.ts b/src/generated/forge-mcp/builds/triggers/outputs.ts index 04bc747ff..6b9be6184 100644 --- a/src/generated/forge-mcp/builds/triggers/outputs.ts +++ b/src/generated/forge-mcp/builds/triggers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `builds_TriggerResponse` in responses. */ -export const builds_TriggerResponse_output: JsonSchema = { +export const builds_TriggerResponse: JsonSchema = { "properties": { "branch_excludes": { "$ref": "#/$defs/builds_branch_excludes" diff --git a/src/generated/forge-mcp/builds/triggers/tools.ts b/src/generated/forge-mcp/builds/triggers/tools.ts index 13852722d..7d8c57f99 100644 --- a/src/generated/forge-mcp/builds/triggers/tools.ts +++ b/src/generated/forge-mcp/builds/triggers/tools.ts @@ -3,51 +3,51 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_SCMProviderType_output, - builds_UpsertRepoConnectionResponse_output, - builds_branch_excludes_output, - builds_branch_includes_output, - builds_build_caching_enabled_output, - builds_build_command_output, - builds_build_token_name_output, - builds_build_token_uuid_output, - builds_created_on_output, - builds_deleted_on_output, - builds_deploy_command_output, - builds_external_script_id_output, - builds_modified_on_output, - builds_path_excludes_output, - builds_path_includes_output, - builds_provider_account_id_output, - builds_provider_account_name_output, - builds_repo_connection_uuid_output, - builds_repo_id_output, - builds_repo_name_output, - builds_root_directory_output, - builds_trigger_name_output, - builds_trigger_uuid_output, -} from "../../outputs.js"; -import { - builds_account_id, + builds_APIResponse, + builds_ApiError, + builds_ErrorResponse, + builds_PaginationInfo, + builds_SCMProviderType, + builds_UpsertRepoConnectionResponse, builds_branch_excludes, builds_branch_includes, builds_build_caching_enabled, builds_build_command, + builds_build_token_name, builds_build_token_uuid, + builds_created_on, + builds_deleted_on, builds_deploy_command, builds_external_script_id, + builds_modified_on, builds_path_excludes, builds_path_includes, + builds_provider_account_id, + builds_provider_account_name, builds_repo_connection_uuid, + builds_repo_id, + builds_repo_name, builds_root_directory, builds_trigger_name, builds_trigger_uuid, +} from "../../outputs.js"; +import { + builds_account_id, + builds_branch_excludes as builds_branch_excludes$, + builds_branch_includes as builds_branch_includes$, + builds_build_caching_enabled as builds_build_caching_enabled$, + builds_build_command as builds_build_command$, + builds_build_token_uuid as builds_build_token_uuid$, + builds_deploy_command as builds_deploy_command$, + builds_external_script_id as builds_external_script_id$, + builds_path_excludes as builds_path_excludes$, + builds_path_includes as builds_path_includes$, + builds_repo_connection_uuid as builds_repo_connection_uuid$, + builds_root_directory as builds_root_directory$, + builds_trigger_name as builds_trigger_name$, + builds_trigger_uuid as builds_trigger_uuid$, } from "../../schemas.js"; -import { builds_TriggerResponse_output } from "./outputs.js"; +import { builds_TriggerResponse } from "./outputs.js"; import { builds_CreateTriggerRequest, builds_UpdateTriggerRequest, @@ -64,33 +64,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_CreateTriggerRequest" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "builds_CreateTriggerRequest": builds_CreateTriggerRequest, "builds_account_id": builds_account_id, - "builds_branch_excludes": builds_branch_excludes, - "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_path_excludes": builds_path_excludes, - "builds_path_includes": builds_path_includes, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_root_directory": builds_root_directory, - "builds_trigger_name": builds_trigger_name, + "builds_branch_excludes": builds_branch_excludes$, + "builds_branch_includes": builds_branch_includes$, + "builds_build_caching_enabled": builds_build_caching_enabled$, + "builds_build_command": builds_build_command$, + "builds_build_token_uuid": builds_build_token_uuid$, + "builds_deploy_command": builds_deploy_command$, + "builds_external_script_id": builds_external_script_id$, + "builds_path_excludes": builds_path_excludes$, + "builds_path_includes": builds_path_includes$, + "builds_repo_connection_uuid": builds_repo_connection_uuid$, + "builds_root_directory": builds_root_directory$, + "builds_trigger_name": builds_trigger_name$, }, }, outputSchema: { @@ -108,33 +116,33 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_TriggerResponse": builds_TriggerResponse_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_TriggerResponse": builds_TriggerResponse, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -173,34 +181,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_TriggerResponse": builds_TriggerResponse_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_TriggerResponse": builds_TriggerResponse, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -215,30 +223,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "trigger_uuid": { + "$ref": "#/$defs/builds_trigger_uuid", + "description": "Trigger UUID." + } + }, + "required": [ + "account_id", + "trigger_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "trigger_uuid" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_trigger_uuid": builds_trigger_uuid, + "builds_trigger_uuid": builds_trigger_uuid$, }, }, outputSchema: { "$ref": "#/$defs/builds_APIResponse", $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, }, }, annotations: { @@ -268,10 +284,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, }, }, request: (args) => ({ @@ -285,22 +301,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "external_script_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "System-generated tag of the Worker. This is not the Worker name." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "external_script_id": { + "$ref": "#/$defs/builds_external_script_id", + "description": "System-generated tag of the Worker. This is not the Worker name." + } + }, + "required": [ + "account_id", + "external_script_id" + ], + "type": "object" } }, required: [ - "account_id", - "external_script_id" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id, + "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -321,33 +345,33 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_TriggerResponse": builds_TriggerResponse_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_TriggerResponse": builds_TriggerResponse, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -390,34 +414,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_TriggerResponse": builds_TriggerResponse_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_TriggerResponse": builds_TriggerResponse, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -431,37 +455,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_UpdateTriggerRequest" }, - "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "trigger_uuid": { + "$ref": "#/$defs/builds_trigger_uuid", + "description": "Trigger UUID." + } + }, + "required": [ + "account_id", + "trigger_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "trigger_uuid", + "path", "body" ], $defs: { "builds_UpdateTriggerRequest": builds_UpdateTriggerRequest, "builds_account_id": builds_account_id, - "builds_branch_excludes": builds_branch_excludes, - "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_deploy_command": builds_deploy_command, - "builds_path_excludes": builds_path_excludes, - "builds_path_includes": builds_path_includes, - "builds_root_directory": builds_root_directory, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, + "builds_branch_excludes": builds_branch_excludes$, + "builds_branch_includes": builds_branch_includes$, + "builds_build_caching_enabled": builds_build_caching_enabled$, + "builds_build_command": builds_build_command$, + "builds_build_token_uuid": builds_build_token_uuid$, + "builds_deploy_command": builds_deploy_command$, + "builds_path_excludes": builds_path_excludes$, + "builds_path_includes": builds_path_includes$, + "builds_root_directory": builds_root_directory$, + "builds_trigger_name": builds_trigger_name$, + "builds_trigger_uuid": builds_trigger_uuid$, }, }, outputSchema: { @@ -479,33 +511,33 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_TriggerResponse": builds_TriggerResponse_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_TriggerResponse": builds_TriggerResponse, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -547,34 +579,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_TriggerResponse": builds_TriggerResponse_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_TriggerResponse": builds_TriggerResponse, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/versions/outputs.ts b/src/generated/forge-mcp/builds/versions/outputs.ts index 247bd9e7a..1ad6cf86d 100644 --- a/src/generated/forge-mcp/builds/versions/outputs.ts +++ b/src/generated/forge-mcp/builds/versions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `builds_BuildsByVersionResponse` in responses. */ -export const builds_BuildsByVersionResponse_output: JsonSchema = { +export const builds_BuildsByVersionResponse: JsonSchema = { "properties": { "builds": { "additionalProperties": { diff --git a/src/generated/forge-mcp/builds/versions/tools.ts b/src/generated/forge-mcp/builds/versions/tools.ts index 2de640dbd..dcc0344e9 100644 --- a/src/generated/forge-mcp/builds/versions/tools.ts +++ b/src/generated/forge-mcp/builds/versions/tools.ts @@ -1,48 +1,48 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_BuildOutcome_output, - builds_BuildResponse_output, - builds_BuildStatus_output, - builds_BuildTriggerMetadataResponse_output, - builds_BuildTriggerSource_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_SCMProviderType_output, - builds_UpsertRepoConnectionResponse_output, - builds_branch_excludes_output, - builds_branch_includes_output, - builds_branch_output, - builds_build_caching_enabled_output, - builds_build_command_output, - builds_build_token_name_output, - builds_build_token_uuid_output, - builds_build_uuid_output, - builds_commit_hash_output, - builds_created_on_output, - builds_deleted_on_output, - builds_deploy_command_output, - builds_deploy_hook_name_output, - builds_external_script_id_output, - builds_modified_on_output, - builds_path_excludes_output, - builds_path_includes_output, - builds_provider_account_id_output, - builds_provider_account_name_output, - builds_repo_connection_uuid_output, - builds_repo_id_output, - builds_repo_name_output, - builds_root_directory_output, - builds_stopped_on_output, - builds_trigger_name_output, - builds_trigger_uuid_output, + builds_APIResponse, + builds_ApiError, + builds_BuildOutcome, + builds_BuildResponse, + builds_BuildStatus, + builds_BuildTriggerMetadataResponse, + builds_BuildTriggerSource, + builds_ErrorResponse, + builds_PaginationInfo, + builds_SCMProviderType, + builds_UpsertRepoConnectionResponse, + builds_branch, + builds_branch_excludes, + builds_branch_includes, + builds_build_caching_enabled, + builds_build_command, + builds_build_token_name, + builds_build_token_uuid, + builds_build_uuid, + builds_commit_hash, + builds_created_on, + builds_deleted_on, + builds_deploy_command, + builds_deploy_hook_name, + builds_external_script_id, + builds_modified_on, + builds_path_excludes, + builds_path_includes, + builds_provider_account_id, + builds_provider_account_name, + builds_repo_connection_uuid, + builds_repo_id, + builds_repo_name, + builds_root_directory, + builds_stopped_on, + builds_trigger_name, + builds_trigger_uuid, } from "../../outputs.js"; import { builds_account_id } from "../../schemas.js"; -import { builds_BuildsByVersionResponse_output } from "./outputs.js"; +import { builds_BuildsByVersionResponse } from "./outputs.js"; import { builds_version_ids } from "./schemas.js"; /** @@ -56,18 +56,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "version_ids": { - "$ref": "#/$defs/builds_version_ids", - "description": "Comma-separated list of version UUIDs (max 20)." + "query": { + "properties": { + "version_ids": { + "$ref": "#/$defs/builds_version_ids", + "description": "Comma-separated list of version UUIDs (max 20)." + } + }, + "required": [ + "version_ids" + ], + "type": "object" } }, required: [ - "account_id", - "version_ids" + "path", + "query" ], $defs: { "builds_account_id": builds_account_id, @@ -89,43 +105,43 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_BuildsByVersionResponse": builds_BuildsByVersionResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_BuildsByVersionResponse": builds_BuildsByVersionResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -165,50 +181,50 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_BuildsByVersionResponse": builds_BuildsByVersionResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_BuildsByVersionResponse": builds_BuildsByVersionResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/builds`, query: [ - ["version_ids", args["version_ids"], true], + ["version_ids", param(args, "query", "version_ids"), true], ], }), }, diff --git a/src/generated/forge-mcp/builds/workers/tools.ts b/src/generated/forge-mcp/builds/workers/tools.ts index fcce2368d..b23820bfa 100644 --- a/src/generated/forge-mcp/builds/workers/tools.ts +++ b/src/generated/forge-mcp/builds/workers/tools.ts @@ -1,38 +1,21 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_EnvironmentVariablesResponse_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_SCMProviderType_output, - builds_WorkerBuildSettings_output, - builds_WorkerGitRepository_output, - builds_WorkerResponse_output, - builds_build_caching_enabled_output, - builds_build_command_output, - builds_build_token_uuid_output, - builds_created_on_output, - builds_deploy_command_output, - builds_external_script_id_output, - builds_is_secret_output, - builds_path_excludes_output, - builds_path_includes_output, - builds_provider_account_id_output, - builds_provider_account_name_output, - builds_repo_id_output, - builds_repo_name_output, - builds_root_directory_output, -} from "../../outputs.js"; -import { - builds_UpdateWorkerBuildSettingsInput, - builds_account_id, + builds_APIResponse, + builds_ApiError, + builds_EnvironmentVariablesResponse, + builds_ErrorResponse, + builds_PaginationInfo, + builds_SCMProviderType, + builds_WorkerBuildSettings, + builds_WorkerGitRepository, + builds_WorkerResponse, builds_build_caching_enabled, builds_build_command, builds_build_token_uuid, + builds_created_on, builds_deploy_command, builds_external_script_id, builds_is_secret, @@ -43,6 +26,23 @@ import { builds_repo_id, builds_repo_name, builds_root_directory, +} from "../../outputs.js"; +import { + builds_UpdateWorkerBuildSettingsInput, + builds_account_id, + builds_build_caching_enabled as builds_build_caching_enabled$, + builds_build_command as builds_build_command$, + builds_build_token_uuid as builds_build_token_uuid$, + builds_deploy_command as builds_deploy_command$, + builds_external_script_id as builds_external_script_id$, + builds_is_secret as builds_is_secret$, + builds_path_excludes as builds_path_excludes$, + builds_path_includes as builds_path_includes$, + builds_provider_account_id as builds_provider_account_id$, + builds_provider_account_name as builds_provider_account_name$, + builds_repo_id as builds_repo_id$, + builds_repo_name as builds_repo_name$, + builds_root_directory as builds_root_directory$, } from "../../schemas.js"; import { builds_EnvironmentVariablesRequest } from "../schemas.js"; import { @@ -65,16 +65,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_CreateWorkerRequest" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -85,18 +93,18 @@ export const tools: readonly Tool[] = [ "builds_CreateWorkerRequest": builds_CreateWorkerRequest, "builds_EnvironmentVariablesRequest": builds_EnvironmentVariablesRequest, "builds_account_id": builds_account_id, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, - "builds_path_excludes": builds_path_excludes, - "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, + "builds_build_command": builds_build_command$, + "builds_build_token_uuid": builds_build_token_uuid$, + "builds_deploy_command": builds_deploy_command$, + "builds_external_script_id": builds_external_script_id$, + "builds_is_secret": builds_is_secret$, + "builds_path_excludes": builds_path_excludes$, + "builds_path_includes": builds_path_includes$, + "builds_provider_account_id": builds_provider_account_id$, + "builds_provider_account_name": builds_provider_account_name$, + "builds_repo_id": builds_repo_id$, + "builds_repo_name": builds_repo_name$, + "builds_root_directory": builds_root_directory$, }, }, outputSchema: { @@ -114,28 +122,28 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_WorkerGitRepository": builds_WorkerGitRepository_output, - "builds_WorkerResponse": builds_WorkerResponse_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_WorkerGitRepository": builds_WorkerGitRepository, + "builds_WorkerResponse": builds_WorkerResponse, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -183,29 +191,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_WorkerGitRepository": builds_WorkerGitRepository_output, - "builds_WorkerResponse": builds_WorkerResponse_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_WorkerGitRepository": builds_WorkerGitRepository, + "builds_WorkerResponse": builds_WorkerResponse, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ @@ -220,22 +228,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The Worker script tag (external script ID)" + } + }, + "required": [ + "account_id", + "script_tag" + ], + "type": "object" } }, required: [ - "account_id", - "script_tag" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id, + "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -253,9 +269,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, }, }, annotations: { @@ -297,10 +313,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, }, }, request: (args) => ({ @@ -314,22 +330,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The Worker script tag (external script ID)" + } + }, + "required": [ + "account_id", + "script_tag" + ], + "type": "object" } }, required: [ - "account_id", - "script_tag" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id, + "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -347,28 +371,28 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_WorkerGitRepository": builds_WorkerGitRepository_output, - "builds_WorkerResponse": builds_WorkerResponse_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_WorkerGitRepository": builds_WorkerGitRepository, + "builds_WorkerResponse": builds_WorkerResponse, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -411,29 +435,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_WorkerGitRepository": builds_WorkerGitRepository_output, - "builds_WorkerResponse": builds_WorkerResponse_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_WorkerGitRepository": builds_WorkerGitRepository, + "builds_WorkerResponse": builds_WorkerResponse, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ @@ -447,45 +471,58 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_UpdateWorkerRequest" }, - "patch_existing_previews": { - "default": "false", - "description": "Apply a previews_base_config patch to every existing Preview of the Worker as well as to the base config.", - "enum": [ - "true", - "false" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The Worker script tag (external script ID)" + } + }, + "required": [ + "account_id", + "script_tag" ], - "type": "string" + "type": "object" }, - "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "query": { + "properties": { + "patch_existing_previews": { + "default": "false", + "description": "Apply a previews_base_config patch to every existing Preview of the Worker as well as to the base config.", + "enum": [ + "true", + "false" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "script_tag", + "path", "body" ], $defs: { "builds_UpdateWorkerBuildSettingsInput": builds_UpdateWorkerBuildSettingsInput, "builds_UpdateWorkerRequest": builds_UpdateWorkerRequest, "builds_account_id": builds_account_id, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, - "builds_path_excludes": builds_path_excludes, - "builds_path_includes": builds_path_includes, - "builds_root_directory": builds_root_directory, + "builds_build_caching_enabled": builds_build_caching_enabled$, + "builds_build_command": builds_build_command$, + "builds_build_token_uuid": builds_build_token_uuid$, + "builds_deploy_command": builds_deploy_command$, + "builds_external_script_id": builds_external_script_id$, + "builds_is_secret": builds_is_secret$, + "builds_path_excludes": builds_path_excludes$, + "builds_path_includes": builds_path_includes$, + "builds_root_directory": builds_root_directory$, }, }, outputSchema: { @@ -503,28 +540,28 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_WorkerGitRepository": builds_WorkerGitRepository_output, - "builds_WorkerResponse": builds_WorkerResponse_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_WorkerGitRepository": builds_WorkerGitRepository, + "builds_WorkerResponse": builds_WorkerResponse, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -569,35 +606,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_WorkerGitRepository": builds_WorkerGitRepository_output, - "builds_WorkerResponse": builds_WorkerResponse_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_WorkerGitRepository": builds_WorkerGitRepository, + "builds_WorkerResponse": builds_WorkerResponse, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}`, query: [ - ["patch_existing_previews", args["patch_existing_previews"], true], + ["patch_existing_previews", param(args, "query", "patch_existing_previews"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/cache/originCloudRegions/bulk/outputs.ts b/src/generated/forge-mcp/cache/originCloudRegions/bulk/outputs.ts index f8f94e479..2f68a7fbc 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/bulk/outputs.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/bulk/outputs.ts @@ -7,7 +7,7 @@ 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 = { +export const cache$$settings_origin_cloud_region_v2_batch_item_result: JsonSchema = { "properties": { "error": { "type": "string" @@ -32,7 +32,7 @@ export const cache_settings_origin_cloud_region_v2_batch_item_result_output: Jso * 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 = { +export const cache$$settings_origin_cloud_region_v2_batch_result: JsonSchema = { "properties": { "failed": { "items": { diff --git a/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts index 5904e36f9..d9ef9899f 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts @@ -3,23 +3,23 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_messages_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_messages, } from "../../../outputs.js"; -import { cache_settings_identifier } from "../../../schemas.js"; -import { cache_settings_origin_cloud_region_v2_request } from "../schemas.js"; +import { cache$$settings_identifier } from "../../../schemas.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, + cache$$settings_origin_cloud_region_v2_batch_item_result, + cache$$settings_origin_cloud_region_v2_batch_result, } from "./outputs.js"; /** - * The tools of `cache.origin_cloud_regions.bulk`. + * The tools of `cache.originCloudRegions.bulk`. */ export const tools: readonly Tool[] = [ { - name: "cache_origin_cloud_regions_bulk_delete", + name: "cache_originCloudRegions_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: { @@ -32,17 +32,25 @@ export const tools: readonly Tool[] = [ "maxItems": 100, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -60,10 +68,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_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, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_batch_item_result": cache$$settings_origin_cloud_region_v2_batch_item_result, + "cache-settings_origin_cloud_region_v2_batch_result": cache$$settings_origin_cloud_region_v2_batch_result, }, }, annotations: { @@ -105,11 +113,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "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, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_batch_item_result": cache$$settings_origin_cloud_region_v2_batch_item_result, + "cache-settings_origin_cloud_region_v2_batch_result": cache$$settings_origin_cloud_region_v2_batch_result, }, }, request: (args) => ({ @@ -118,7 +126,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cache_origin_cloud_regions_bulk_update", + name: "cache_originCloudRegions_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: { @@ -131,18 +139,26 @@ export const tools: readonly Tool[] = [ "maxItems": 100, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_origin_cloud_region_v2_request": cache_settings_origin_cloud_region_v2_request, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_origin_cloud_region_v2_request": cache$$settings_origin_cloud_region_v2_request, }, }, outputSchema: { @@ -160,10 +176,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_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, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_batch_item_result": cache$$settings_origin_cloud_region_v2_batch_item_result, + "cache-settings_origin_cloud_region_v2_batch_result": cache$$settings_origin_cloud_region_v2_batch_result, }, }, annotations: { @@ -205,11 +221,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "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, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_batch_item_result": cache$$settings_origin_cloud_region_v2_batch_item_result, + "cache-settings_origin_cloud_region_v2_batch_result": cache$$settings_origin_cloud_region_v2_batch_result, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts b/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts index b0a20d2a3..1bba1cac5 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `cache-settings_origin_cloud_region_v2_delete_result` in * responses. */ -export const cache_settings_origin_cloud_region_v2_delete_result_output: JsonSchema = { +export const cache$$settings_origin_cloud_region_v2_delete_result: JsonSchema = { "properties": { "origin_ip": { "type": "string" @@ -22,7 +22,7 @@ export const cache_settings_origin_cloud_region_v2_delete_result_output: JsonSch /** * The schema of `cache-settings_origin_cloud_region_v2_entry` in responses. */ -export const cache_settings_origin_cloud_region_v2_entry_output: JsonSchema = { +export const cache$$settings_origin_cloud_region_v2_entry: JsonSchema = { "properties": { "modified_on": { "format": "date-time", @@ -56,7 +56,7 @@ export const cache_settings_origin_cloud_region_v2_entry_output: JsonSchema = { * The schema of `cache-settings_origin_cloud_region_v2_result_info` in * responses. */ -export const cache_settings_origin_cloud_region_v2_result_info_output: JsonSchema = { +export const cache$$settings_origin_cloud_region_v2_result_info: JsonSchema = { "properties": { "count": { "type": "integer" diff --git a/src/generated/forge-mcp/cache/originCloudRegions/regions/outputs.ts b/src/generated/forge-mcp/cache/originCloudRegions/regions/outputs.ts index 1932e6a9d..775c7cdd6 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/regions/outputs.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/regions/outputs.ts @@ -6,7 +6,7 @@ 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 = { +export const cache$$settings_supported_cloud_region: JsonSchema = { "properties": { "name": { "type": "string" @@ -28,7 +28,7 @@ export const cache_settings_supported_cloud_region_output: JsonSchema = { /** * The schema of `cache-settings_supported_cloud_regions_result` in responses. */ -export const cache_settings_supported_cloud_regions_result_output: JsonSchema = { +export const cache$$settings_supported_cloud_regions_result: JsonSchema = { "properties": { "obtained_codes": { "type": "boolean" diff --git a/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts index 27dcbe066..7c384455d 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts @@ -3,37 +3,45 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_messages_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_messages, } from "../../../outputs.js"; -import { cache_settings_identifier } from "../../../schemas.js"; +import { cache$$settings_identifier } from "../../../schemas.js"; import { - cache_settings_supported_cloud_region_output, - cache_settings_supported_cloud_regions_result_output, + cache$$settings_supported_cloud_region, + cache$$settings_supported_cloud_regions_result, } from "./outputs.js"; /** - * The tools of `cache.origin_cloud_regions.regions`. + * The tools of `cache.originCloudRegions.regions`. */ export const tools: readonly Tool[] = [ { - name: "cache_origin_cloud_regions_regions_list_supported", + name: "cache_originCloudRegions_regions_listSupported", 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": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -51,10 +59,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_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, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_supported_cloud_region": cache$$settings_supported_cloud_region, + "cache-settings_supported_cloud_regions_result": cache$$settings_supported_cloud_regions_result, }, }, annotations: { @@ -96,11 +104,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "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, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_supported_cloud_region": cache$$settings_supported_cloud_region, + "cache-settings_supported_cloud_regions_result": cache$$settings_supported_cloud_regions_result, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cache/originCloudRegions/schemas.ts b/src/generated/forge-mcp/cache/originCloudRegions/schemas.ts index 8e5823339..4cbf9c75d 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/schemas.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_origin_cloud_region_v2_request`. */ -export const cache_settings_origin_cloud_region_v2_request: JsonSchema = { +export const cache$$settings_origin_cloud_region_v2_request: JsonSchema = { "description": "Request body for creating or replacing an origin cloud region mapping.", "properties": { "origin_ip": { diff --git a/src/generated/forge-mcp/cache/originCloudRegions/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/tools.ts index 74f65b8b4..eef5823ae 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/tools.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/tools.ts @@ -1,46 +1,54 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_messages_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_messages, } from "../../outputs.js"; -import { cache_settings_identifier } from "../../schemas.js"; +import { cache$$settings_identifier } from "../../schemas.js"; import { - 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_origin_cloud_region_v2_delete_result, + cache$$settings_origin_cloud_region_v2_entry, + cache$$settings_origin_cloud_region_v2_result_info, } from "./outputs.js"; -import { cache_settings_origin_cloud_region_v2_request } from "./schemas.js"; +import { cache$$settings_origin_cloud_region_v2_request } from "./schemas.js"; /** - * The tools of `cache.origin_cloud_regions`. + * The tools of `cache.originCloudRegions`. */ export const tools: readonly Tool[] = [ { - name: "cache_origin_cloud_regions_delete", + name: "cache_originCloudRegions_delete", title: "Delete an origin cloud region mapping", description: "Removes the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup. Returns the deleted IP on success. Returns 404 if no mapping exists for the specified IP. When the last mapping for the zone is removed the underlying rule record is also deleted.\n\nConfirm with the user before calling this tool. Are you sure you want to delete this Origin Cloud Region configuration?", inputSchema: { type: "object", properties: { - "origin_ip": { - "description": "Origin IP address whose mapping should be deleted.", - "type": "string" - }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "origin_ip": { + "description": "Origin IP address whose mapping should be deleted.", + "type": "string" + }, + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "origin_ip" + ], + "type": "object" } }, required: [ - "zone_id", - "origin_ip" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -58,9 +66,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_cloud_region_v2_delete_result": cache_settings_origin_cloud_region_v2_delete_result_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_delete_result": cache$$settings_origin_cloud_region_v2_delete_result, }, }, annotations: { @@ -102,10 +110,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "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_delete_result": cache_settings_origin_cloud_region_v2_delete_result_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_delete_result": cache$$settings_origin_cloud_region_v2_delete_result, }, }, request: (args) => ({ @@ -113,27 +121,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cache_origin_cloud_regions_get", + name: "cache_originCloudRegions_get", title: "Get an origin cloud region mapping", description: "Returns the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup (RFC 5952 for IPv6). Returns 404 if the zone has no mappings or if the specified IP has no mapping.", inputSchema: { type: "object", properties: { - "origin_ip": { - "description": "Origin IP address to look up. IPv4 and IPv6 are supported.", - "type": "string" - }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "origin_ip": { + "description": "Origin IP address to look up. IPv4 and IPv6 are supported.", + "type": "string" + }, + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "origin_ip" + ], + "type": "object" } }, required: [ - "zone_id", - "origin_ip" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -151,9 +167,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_cloud_region_v2_entry": cache_settings_origin_cloud_region_v2_entry_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_entry": cache$$settings_origin_cloud_region_v2_entry, }, }, annotations: { @@ -195,10 +211,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "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_entry": cache_settings_origin_cloud_region_v2_entry_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_entry": cache$$settings_origin_cloud_region_v2_entry, }, }, request: (args) => ({ @@ -206,32 +222,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cache_origin_cloud_regions_list", + name: "cache_originCloudRegions_list", title: "List origin cloud region mappings", description: "Returns all IP-to-cloud-region mappings configured for the zone with pagination support. Each mapping tells Cloudflare which cloud vendor and region hosts the origin at that IP, enabling the edge to route via the nearest Tiered Cache upper-tier co-located with that cloud provider. Returns an empty array when no mappings exist.", inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of items per page.", - "type": "integer" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of items per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -259,10 +288,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_cloud_region_v2_entry": cache_settings_origin_cloud_region_v2_entry_output, - "cache-settings_origin_cloud_region_v2_result_info": cache_settings_origin_cloud_region_v2_result_info_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_entry": cache$$settings_origin_cloud_region_v2_entry, + "cache-settings_origin_cloud_region_v2_result_info": cache$$settings_origin_cloud_region_v2_result_info, }, }, annotations: { @@ -314,23 +343,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "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_entry": cache_settings_origin_cloud_region_v2_entry_output, - "cache-settings_origin_cloud_region_v2_result_info": cache_settings_origin_cloud_region_v2_result_info_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_entry": cache$$settings_origin_cloud_region_v2_entry, + "cache-settings_origin_cloud_region_v2_result_info": cache$$settings_origin_cloud_region_v2_result_info, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin/cloud_regions`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "cache_origin_cloud_regions_update", + name: "cache_originCloudRegions_update", title: "Create or replace an origin cloud region mapping", description: "Creates a new IP-to-cloud-region mapping or replaces the existing mapping for the specified IP. PUT is idempotent — calling it repeatedly with the same body produces the same result. The IP path parameter is normalized to canonical form (RFC 5952 for IPv6) before storage. The vendor and region are validated against the list from `GET /zones/{zone_id}/origin/cloud_regions/supported_regions`. Returns 400 if the `origin_ip` in the body does not match the URL path parameter. Returns 403 (code 1164) when the zone has reached the limit of 3,500 IP mappings.", inputSchema: { @@ -339,23 +368,31 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_request" }, - "origin_ip": { - "description": "Origin IP address to create or replace.", - "type": "string" - }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "origin_ip": { + "description": "Origin IP address to create or replace.", + "type": "string" + }, + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "origin_ip" + ], + "type": "object" } }, required: [ - "zone_id", - "origin_ip", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_origin_cloud_region_v2_request": cache_settings_origin_cloud_region_v2_request, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_origin_cloud_region_v2_request": cache$$settings_origin_cloud_region_v2_request, }, }, outputSchema: { @@ -373,9 +410,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_cloud_region_v2_entry": cache_settings_origin_cloud_region_v2_entry_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_entry": cache$$settings_origin_cloud_region_v2_entry, }, }, annotations: { @@ -417,10 +454,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "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_entry": cache_settings_origin_cloud_region_v2_entry_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_cloud_region_v2_entry": cache$$settings_origin_cloud_region_v2_entry, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cache/outputs.ts b/src/generated/forge-mcp/cache/outputs.ts index d4e90b155..6847d0f37 100644 --- a/src/generated/forge-mcp/cache/outputs.ts +++ b/src/generated/forge-mcp/cache/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `cache-purge_api-response-common-failure` in responses. */ -export const cache_purge_api_response_common_failure_output: JsonSchema = { +export const cache$$purge_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cache-purge_messages" @@ -40,7 +40,7 @@ export const cache_purge_api_response_common_failure_output: JsonSchema = { /** * The schema of `cache-purge_api-response-single-id` in responses. */ -export const cache_purge_api_response_single_id_output: JsonSchema = { +export const cache$$purge_api$$response$$single$$id: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cache-purge_messages" @@ -81,14 +81,14 @@ export const cache_purge_api_response_single_id_output: JsonSchema = { /** * The schema of `cache-purge_identifier` in responses. */ -export const cache_purge_identifier_output: JsonSchema = { +export const cache$$purge_identifier: JsonSchema = { "type": "string" }; /** * The schema of `cache-purge_messages` in responses. */ -export const cache_purge_messages_output: JsonSchema = { +export const cache$$purge_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/cache/schemas.ts b/src/generated/forge-mcp/cache/schemas.ts index 2998f78ae..7f46eded4 100644 --- a/src/generated/forge-mcp/cache/schemas.ts +++ b/src/generated/forge-mcp/cache/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `cache-purge_Everything`. */ -export const cache_purge_Everything: JsonSchema = { +export const cache$$purge_Everything: JsonSchema = { "description": "Purge everything", "properties": { "purge_everything": { @@ -20,7 +20,7 @@ export const cache_purge_Everything: JsonSchema = { /** * The schema of `cache-purge_FlexPurgeByHostnames`. */ -export const cache_purge_FlexPurgeByHostnames: JsonSchema = { +export const cache$$purge_FlexPurgeByHostnames: JsonSchema = { "description": "Purge by hostnames", "properties": { "hosts": { @@ -37,7 +37,7 @@ export const cache_purge_FlexPurgeByHostnames: JsonSchema = { /** * The schema of `cache-purge_FlexPurgeByPrefixes`. */ -export const cache_purge_FlexPurgeByPrefixes: JsonSchema = { +export const cache$$purge_FlexPurgeByPrefixes: JsonSchema = { "description": "Purge by prefixes", "properties": { "prefixes": { @@ -54,7 +54,7 @@ export const cache_purge_FlexPurgeByPrefixes: JsonSchema = { /** * The schema of `cache-purge_FlexPurgeByTags`. */ -export const cache_purge_FlexPurgeByTags: JsonSchema = { +export const cache$$purge_FlexPurgeByTags: JsonSchema = { "description": "Purge by tags", "properties": { "tags": { @@ -71,7 +71,7 @@ export const cache_purge_FlexPurgeByTags: JsonSchema = { /** * The schema of `cache-purge_SingleFile`. */ -export const cache_purge_SingleFile: JsonSchema = { +export const cache$$purge_SingleFile: JsonSchema = { "description": "Purge files", "properties": { "files": { @@ -88,7 +88,7 @@ export const cache_purge_SingleFile: JsonSchema = { /** * The schema of `cache-purge_SingleFileWithUrlAndHeaders`. */ -export const cache_purge_SingleFileWithUrlAndHeaders: JsonSchema = { +export const cache$$purge_SingleFileWithUrlAndHeaders: JsonSchema = { "description": "Purge files with URL and headers", "properties": { "files": { @@ -118,6 +118,6 @@ export const cache_purge_SingleFileWithUrlAndHeaders: JsonSchema = { /** * The schema of `cache-purge_identifier`. */ -export const cache_purge_identifier: JsonSchema = { +export const cache$$purge_identifier: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts b/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts index fa81ad726..5a97b0a11 100644 --- a/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts +++ b/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cache-settings_regional_tiered_cache` in responses. */ -export const cache_settings_regional_tiered_cache_output: JsonSchema = { +export const cache$$settings_regional_tiered_cache: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -29,7 +29,7 @@ export const cache_settings_regional_tiered_cache_output: JsonSchema = { * The schema of `cache-settings_regional_tiered_cache_response_value` in * responses. */ -export const cache_settings_regional_tiered_cache_response_value_output: JsonSchema = { +export const cache$$settings_regional_tiered_cache_response_value: JsonSchema = { "properties": { "result": { "allOf": [ @@ -56,7 +56,7 @@ export const cache_settings_regional_tiered_cache_response_value_output: JsonSch /** * The schema of `cache-settings_regional_tiered_cache_value` in responses. */ -export const cache_settings_regional_tiered_cache_value_output: JsonSchema = { +export const cache$$settings_regional_tiered_cache_value: JsonSchema = { "enum": [ "on", "off" diff --git a/src/generated/forge-mcp/cache/settings/regionalTieredCache/schemas.ts b/src/generated/forge-mcp/cache/settings/regionalTieredCache/schemas.ts index 6e4cb71c2..8431aef56 100644 --- a/src/generated/forge-mcp/cache/settings/regionalTieredCache/schemas.ts +++ b/src/generated/forge-mcp/cache/settings/regionalTieredCache/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cache-settings_regional_tiered_cache_value`. */ -export const cache_settings_regional_tiered_cache_value: JsonSchema = { +export const cache$$settings_regional_tiered_cache_value: JsonSchema = { "description": "Value of the Regional Tiered Cache zone setting.", "enum": [ "on", diff --git a/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts b/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts index 09b515e4a..85009b8de 100644 --- a/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts +++ b/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_base_output, - cache_settings_editable_output, - cache_settings_messages_output, - cache_settings_modified_on_output, - cache_settings_result_object_output, - cache_settings_setting_id_output, - cache_settings_setting_value_output, - cache_settings_zone_cache_settings_response_single_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_base, + cache$$settings_editable, + cache$$settings_messages, + cache$$settings_modified_on, + cache$$settings_result$$object, + cache$$settings_setting_id, + cache$$settings_setting_value, + cache$$settings_zone_cache_settings_response_single, } from "../../../outputs.js"; -import { cache_settings_identifier } from "../../../schemas.js"; +import { cache$$settings_identifier } from "../../../schemas.js"; import { - cache_settings_regional_tiered_cache_output, - cache_settings_regional_tiered_cache_response_value_output, - cache_settings_regional_tiered_cache_value_output, + cache$$settings_regional_tiered_cache, + cache$$settings_regional_tiered_cache_response_value, + cache$$settings_regional_tiered_cache_value, } from "./outputs.js"; -import { cache_settings_regional_tiered_cache_value } from "./schemas.js"; +import { cache$$settings_regional_tiered_cache_value as cache$$settings_regional_tiered_cache_value$ } from "./schemas.js"; /** - * The tools of `cache.settings.regional_tiered_cache`. + * The tools of `cache.settings.regionalTieredCache`. */ export const tools: readonly Tool[] = [ { - name: "cache_settings_regional_tiered_cache_edit", + name: "cache_settings_regionalTieredCache_edit", title: "Change Regional Tiered Cache setting", description: "Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies.", inputSchema: { @@ -46,18 +46,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_regional_tiered_cache_value": cache_settings_regional_tiered_cache_value, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value$, }, }, outputSchema: { @@ -70,18 +78,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_regional_tiered_cache": cache_settings_regional_tiered_cache_output, - "cache-settings_regional_tiered_cache_response_value": cache_settings_regional_tiered_cache_response_value_output, - "cache-settings_regional_tiered_cache_value": cache_settings_regional_tiered_cache_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_regional_tiered_cache": cache$$settings_regional_tiered_cache, + "cache-settings_regional_tiered_cache_response_value": cache$$settings_regional_tiered_cache_response_value, + "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -127,19 +135,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_regional_tiered_cache": cache_settings_regional_tiered_cache_output, - "cache-settings_regional_tiered_cache_response_value": cache_settings_regional_tiered_cache_response_value_output, - "cache-settings_regional_tiered_cache_value": cache_settings_regional_tiered_cache_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_regional_tiered_cache": cache$$settings_regional_tiered_cache, + "cache-settings_regional_tiered_cache_response_value": cache$$settings_regional_tiered_cache_response_value, + "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -148,22 +156,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cache_settings_regional_tiered_cache_get", + name: "cache_settings_regionalTieredCache_get", title: "Get Regional Tiered Cache setting", description: "Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -176,18 +192,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_regional_tiered_cache": cache_settings_regional_tiered_cache_output, - "cache-settings_regional_tiered_cache_response_value": cache_settings_regional_tiered_cache_response_value_output, - "cache-settings_regional_tiered_cache_value": cache_settings_regional_tiered_cache_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_regional_tiered_cache": cache$$settings_regional_tiered_cache, + "cache-settings_regional_tiered_cache_response_value": cache$$settings_regional_tiered_cache_response_value, + "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -235,19 +251,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_regional_tiered_cache": cache_settings_regional_tiered_cache_output, - "cache-settings_regional_tiered_cache_response_value": cache_settings_regional_tiered_cache_response_value_output, - "cache-settings_regional_tiered_cache_value": cache_settings_regional_tiered_cache_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_regional_tiered_cache": cache$$settings_regional_tiered_cache, + "cache-settings_regional_tiered_cache_response_value": cache$$settings_regional_tiered_cache_response_value, + "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cache/settings/reserve/outputs.ts b/src/generated/forge-mcp/cache/settings/reserve/outputs.ts index 6dece1841..fe69979b1 100644 --- a/src/generated/forge-mcp/cache/settings/reserve/outputs.ts +++ b/src/generated/forge-mcp/cache/settings/reserve/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cache-settings_cache_reserve` in responses. */ -export const cache_settings_cache_reserve_output: JsonSchema = { +export const cache$$settings_cache_reserve: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -28,7 +28,7 @@ export const cache_settings_cache_reserve_output: JsonSchema = { /** * The schema of `cache-settings_cache_reserve_clear` in responses. */ -export const cache_settings_cache_reserve_clear_output: JsonSchema = { +export const cache$$settings_cache_reserve_clear: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -50,7 +50,7 @@ export const cache_settings_cache_reserve_clear_output: JsonSchema = { /** * The schema of `cache-settings_cache_reserve_clear_end_ts` in responses. */ -export const cache_settings_cache_reserve_clear_end_ts_output: JsonSchema = { +export const cache$$settings_cache_reserve_clear_end_ts: JsonSchema = { "format": "date-time", "type": "string" }; @@ -59,7 +59,7 @@ export const cache_settings_cache_reserve_clear_end_ts_output: JsonSchema = { * The schema of `cache-settings_cache_reserve_clear_response_value` in * responses. */ -export const cache_settings_cache_reserve_clear_response_value_output: JsonSchema = { +export const cache$$settings_cache_reserve_clear_response_value: JsonSchema = { "properties": { "result": { "allOf": [ @@ -93,7 +93,7 @@ export const cache_settings_cache_reserve_clear_response_value_output: JsonSchem /** * The schema of `cache-settings_cache_reserve_clear_start_ts` in responses. */ -export const cache_settings_cache_reserve_clear_start_ts_output: JsonSchema = { +export const cache$$settings_cache_reserve_clear_start_ts: JsonSchema = { "format": "date-time", "type": "string" }; @@ -101,7 +101,7 @@ export const cache_settings_cache_reserve_clear_start_ts_output: JsonSchema = { /** * The schema of `cache-settings_cache_reserve_clear_state` in responses. */ -export const cache_settings_cache_reserve_clear_state_output: JsonSchema = { +export const cache$$settings_cache_reserve_clear_state: JsonSchema = { "enum": [ "In-progress", "Completed" @@ -112,7 +112,7 @@ export const cache_settings_cache_reserve_clear_state_output: JsonSchema = { /** * The schema of `cache-settings_cache_reserve_response_value` in responses. */ -export const cache_settings_cache_reserve_response_value_output: JsonSchema = { +export const cache$$settings_cache_reserve_response_value: JsonSchema = { "properties": { "result": { "allOf": [ @@ -139,7 +139,7 @@ export const cache_settings_cache_reserve_response_value_output: JsonSchema = { /** * The schema of `cache-settings_cache_reserve_value` in responses. */ -export const cache_settings_cache_reserve_value_output: JsonSchema = { +export const cache$$settings_cache_reserve_value: JsonSchema = { "enum": [ "on", "off" diff --git a/src/generated/forge-mcp/cache/settings/reserve/schemas.ts b/src/generated/forge-mcp/cache/settings/reserve/schemas.ts index a8de76650..367019f64 100644 --- a/src/generated/forge-mcp/cache/settings/reserve/schemas.ts +++ b/src/generated/forge-mcp/cache/settings/reserve/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cache-settings_cache_reserve_value`. */ -export const cache_settings_cache_reserve_value: JsonSchema = { +export const cache$$settings_cache_reserve_value: JsonSchema = { "description": "Value of the Cache Reserve zone setting.", "enum": [ "on", diff --git a/src/generated/forge-mcp/cache/settings/reserve/tools.ts b/src/generated/forge-mcp/cache/settings/reserve/tools.ts index 1d6d1a4ae..a00b02b86 100644 --- a/src/generated/forge-mcp/cache/settings/reserve/tools.ts +++ b/src/generated/forge-mcp/cache/settings/reserve/tools.ts @@ -3,29 +3,29 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_base_output, - cache_settings_editable_output, - cache_settings_messages_output, - cache_settings_modified_on_output, - cache_settings_result_object_output, - cache_settings_setting_id_output, - cache_settings_setting_value_output, - cache_settings_zone_cache_settings_response_single_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_base, + cache$$settings_editable, + cache$$settings_messages, + cache$$settings_modified_on, + cache$$settings_result$$object, + cache$$settings_setting_id, + cache$$settings_setting_value, + cache$$settings_zone_cache_settings_response_single, } from "../../../outputs.js"; -import { cache_settings_identifier } from "../../../schemas.js"; +import { cache$$settings_identifier } from "../../../schemas.js"; import { - cache_settings_cache_reserve_clear_end_ts_output, - cache_settings_cache_reserve_clear_output, - cache_settings_cache_reserve_clear_response_value_output, - cache_settings_cache_reserve_clear_start_ts_output, - cache_settings_cache_reserve_clear_state_output, - cache_settings_cache_reserve_output, - cache_settings_cache_reserve_response_value_output, - cache_settings_cache_reserve_value_output, + cache$$settings_cache_reserve, + cache$$settings_cache_reserve_clear, + cache$$settings_cache_reserve_clear_end_ts, + cache$$settings_cache_reserve_clear_response_value, + cache$$settings_cache_reserve_clear_start_ts, + cache$$settings_cache_reserve_clear_state, + cache$$settings_cache_reserve_response_value, + cache$$settings_cache_reserve_value, } from "./outputs.js"; -import { cache_settings_cache_reserve_value } from "./schemas.js"; +import { cache$$settings_cache_reserve_value as cache$$settings_cache_reserve_value$ } from "./schemas.js"; /** * The tools of `cache.settings.reserve`. @@ -38,16 +38,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -60,14 +68,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_cache_reserve_clear": cache_settings_cache_reserve_clear_output, - "cache-settings_cache_reserve_clear_end_ts": cache_settings_cache_reserve_clear_end_ts_output, - "cache-settings_cache_reserve_clear_response_value": cache_settings_cache_reserve_clear_response_value_output, - "cache-settings_cache_reserve_clear_start_ts": cache_settings_cache_reserve_clear_start_ts_output, - "cache-settings_cache_reserve_clear_state": cache_settings_cache_reserve_clear_state_output, - "cache-settings_messages": cache_settings_messages_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_cache_reserve_clear": cache$$settings_cache_reserve_clear, + "cache-settings_cache_reserve_clear_end_ts": cache$$settings_cache_reserve_clear_end_ts, + "cache-settings_cache_reserve_clear_response_value": cache$$settings_cache_reserve_clear_response_value, + "cache-settings_cache_reserve_clear_start_ts": cache$$settings_cache_reserve_clear_start_ts, + "cache-settings_cache_reserve_clear_state": cache$$settings_cache_reserve_clear_state, + "cache-settings_messages": cache$$settings_messages, }, }, annotations: { @@ -113,15 +121,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_cache_reserve_clear": cache_settings_cache_reserve_clear_output, - "cache-settings_cache_reserve_clear_end_ts": cache_settings_cache_reserve_clear_end_ts_output, - "cache-settings_cache_reserve_clear_response_value": cache_settings_cache_reserve_clear_response_value_output, - "cache-settings_cache_reserve_clear_start_ts": cache_settings_cache_reserve_clear_start_ts_output, - "cache-settings_cache_reserve_clear_state": cache_settings_cache_reserve_clear_state_output, - "cache-settings_messages": cache_settings_messages_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_cache_reserve_clear": cache$$settings_cache_reserve_clear, + "cache-settings_cache_reserve_clear_end_ts": cache$$settings_cache_reserve_clear_end_ts, + "cache-settings_cache_reserve_clear_response_value": cache$$settings_cache_reserve_clear_response_value, + "cache-settings_cache_reserve_clear_start_ts": cache$$settings_cache_reserve_clear_start_ts, + "cache-settings_cache_reserve_clear_state": cache$$settings_cache_reserve_clear_state, + "cache-settings_messages": cache$$settings_messages, }, }, request: (args) => ({ @@ -148,18 +156,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_cache_reserve_value": cache_settings_cache_reserve_value, - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value$, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -172,18 +188,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_cache_reserve": cache_settings_cache_reserve_output, - "cache-settings_cache_reserve_response_value": cache_settings_cache_reserve_response_value_output, - "cache-settings_cache_reserve_value": cache_settings_cache_reserve_value_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_cache_reserve": cache$$settings_cache_reserve, + "cache-settings_cache_reserve_response_value": cache$$settings_cache_reserve_response_value, + "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -229,19 +245,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_cache_reserve": cache_settings_cache_reserve_output, - "cache-settings_cache_reserve_response_value": cache_settings_cache_reserve_response_value_output, - "cache-settings_cache_reserve_value": cache_settings_cache_reserve_value_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_cache_reserve": cache$$settings_cache_reserve, + "cache-settings_cache_reserve_response_value": cache$$settings_cache_reserve_response_value, + "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -256,16 +272,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -278,18 +302,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_cache_reserve": cache_settings_cache_reserve_output, - "cache-settings_cache_reserve_response_value": cache_settings_cache_reserve_response_value_output, - "cache-settings_cache_reserve_value": cache_settings_cache_reserve_value_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_cache_reserve": cache$$settings_cache_reserve, + "cache-settings_cache_reserve_response_value": cache$$settings_cache_reserve_response_value, + "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -337,19 +361,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_cache_reserve": cache_settings_cache_reserve_output, - "cache-settings_cache_reserve_response_value": cache_settings_cache_reserve_response_value_output, - "cache-settings_cache_reserve_value": cache_settings_cache_reserve_value_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_cache_reserve": cache$$settings_cache_reserve, + "cache-settings_cache_reserve_response_value": cache$$settings_cache_reserve_response_value, + "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -363,16 +387,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -385,14 +417,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_cache_reserve_clear": cache_settings_cache_reserve_clear_output, - "cache-settings_cache_reserve_clear_end_ts": cache_settings_cache_reserve_clear_end_ts_output, - "cache-settings_cache_reserve_clear_response_value": cache_settings_cache_reserve_clear_response_value_output, - "cache-settings_cache_reserve_clear_start_ts": cache_settings_cache_reserve_clear_start_ts_output, - "cache-settings_cache_reserve_clear_state": cache_settings_cache_reserve_clear_state_output, - "cache-settings_messages": cache_settings_messages_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_cache_reserve_clear": cache$$settings_cache_reserve_clear, + "cache-settings_cache_reserve_clear_end_ts": cache$$settings_cache_reserve_clear_end_ts, + "cache-settings_cache_reserve_clear_response_value": cache$$settings_cache_reserve_clear_response_value, + "cache-settings_cache_reserve_clear_start_ts": cache$$settings_cache_reserve_clear_start_ts, + "cache-settings_cache_reserve_clear_state": cache$$settings_cache_reserve_clear_state, + "cache-settings_messages": cache$$settings_messages, }, }, annotations: { @@ -440,15 +472,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_cache_reserve_clear": cache_settings_cache_reserve_clear_output, - "cache-settings_cache_reserve_clear_end_ts": cache_settings_cache_reserve_clear_end_ts_output, - "cache-settings_cache_reserve_clear_response_value": cache_settings_cache_reserve_clear_response_value_output, - "cache-settings_cache_reserve_clear_start_ts": cache_settings_cache_reserve_clear_start_ts_output, - "cache-settings_cache_reserve_clear_state": cache_settings_cache_reserve_clear_state_output, - "cache-settings_messages": cache_settings_messages_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_cache_reserve_clear": cache$$settings_cache_reserve_clear, + "cache-settings_cache_reserve_clear_end_ts": cache$$settings_cache_reserve_clear_end_ts, + "cache-settings_cache_reserve_clear_response_value": cache$$settings_cache_reserve_clear_response_value, + "cache-settings_cache_reserve_clear_start_ts": cache$$settings_cache_reserve_clear_start_ts, + "cache-settings_cache_reserve_clear_state": cache$$settings_cache_reserve_clear_state, + "cache-settings_messages": cache$$settings_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts b/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts index eeb09bf1e..e549b4349 100644 --- a/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts +++ b/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cache-settings_smart_tiered_cache` in responses. */ -export const cache_settings_smart_tiered_cache_output: JsonSchema = { +export const cache$$settings_smart_tiered_cache: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -29,7 +29,7 @@ export const cache_settings_smart_tiered_cache_output: JsonSchema = { * The schema of `cache-settings_smart_tiered_cache_response_value` in * responses. */ -export const cache_settings_smart_tiered_cache_response_value_output: JsonSchema = { +export const cache$$settings_smart_tiered_cache_response_value: JsonSchema = { "properties": { "result": { "allOf": [ @@ -56,7 +56,7 @@ export const cache_settings_smart_tiered_cache_response_value_output: JsonSchema /** * The schema of `cache-settings_smart_tiered_cache_value` in responses. */ -export const cache_settings_smart_tiered_cache_value_output: JsonSchema = { +export const cache$$settings_smart_tiered_cache_value: JsonSchema = { "enum": [ "on", "off" diff --git a/src/generated/forge-mcp/cache/settings/smartTieredCache/schemas.ts b/src/generated/forge-mcp/cache/settings/smartTieredCache/schemas.ts index 38bd710f6..6a9a08deb 100644 --- a/src/generated/forge-mcp/cache/settings/smartTieredCache/schemas.ts +++ b/src/generated/forge-mcp/cache/settings/smartTieredCache/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cache-settings_smart_tiered_cache_patch`. */ -export const cache_settings_smart_tiered_cache_patch: JsonSchema = { +export const cache$$settings_smart_tiered_cache_patch: JsonSchema = { "description": "Update enablement of Smart Tiered Cache.", "properties": { "value": { diff --git a/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts b/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts index 5fc8baa2d..55c54863a 100644 --- a/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts +++ b/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts @@ -3,33 +3,33 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_base_output, - cache_settings_editable_output, - cache_settings_messages_output, - cache_settings_modified_on_output, - cache_settings_result_object_delete_output, - cache_settings_result_object_output, - cache_settings_setting_id_output, - cache_settings_setting_value_output, - cache_settings_zone_cache_settings_delete_response_single_output, - cache_settings_zone_cache_settings_response_single_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_base, + cache$$settings_editable, + cache$$settings_messages, + cache$$settings_modified_on, + cache$$settings_result$$object, + cache$$settings_result$$object$$delete, + cache$$settings_setting_id, + cache$$settings_setting_value, + cache$$settings_zone_cache_settings_delete_response_single, + cache$$settings_zone_cache_settings_response_single, } from "../../../outputs.js"; -import { cache_settings_identifier } from "../../../schemas.js"; +import { cache$$settings_identifier } from "../../../schemas.js"; import { - cache_settings_smart_tiered_cache_output, - cache_settings_smart_tiered_cache_response_value_output, - cache_settings_smart_tiered_cache_value_output, + cache$$settings_smart_tiered_cache, + cache$$settings_smart_tiered_cache_response_value, + cache$$settings_smart_tiered_cache_value, } from "./outputs.js"; -import { cache_settings_smart_tiered_cache_patch } from "./schemas.js"; +import { cache$$settings_smart_tiered_cache_patch } from "./schemas.js"; /** - * The tools of `cache.settings.smart_tiered_cache`. + * The tools of `cache.settings.smartTieredCache`. */ export const tools: readonly Tool[] = [ { - name: "cache_settings_smart_tiered_cache_create", + name: "cache_settings_smartTieredCache_create", title: "Create Smart Tiered Cache setting", description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website's origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.", inputSchema: { @@ -38,18 +38,26 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/cache-settings_smart_tiered_cache_patch" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_smart_tiered_cache_patch": cache_settings_smart_tiered_cache_patch, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_smart_tiered_cache_patch": cache$$settings_smart_tiered_cache_patch, }, }, outputSchema: { @@ -62,18 +70,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, - "cache-settings_smart_tiered_cache_response_value": cache_settings_smart_tiered_cache_response_value_output, - "cache-settings_smart_tiered_cache_value": cache_settings_smart_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, + "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, + "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -120,19 +128,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, - "cache-settings_smart_tiered_cache_response_value": cache_settings_smart_tiered_cache_response_value_output, - "cache-settings_smart_tiered_cache_value": cache_settings_smart_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, + "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, + "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -141,22 +149,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cache_settings_smart_tiered_cache_delete", + name: "cache_settings_smartTieredCache_delete", title: "Delete Smart Tiered Cache setting", description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -174,15 +190,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object-delete": cache_settings_result_object_delete_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, - "cache-settings_zone_cache_settings_delete_response_single": cache_settings_zone_cache_settings_delete_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, + "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, annotations: { @@ -233,16 +249,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object-delete": cache_settings_result_object_delete_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, - "cache-settings_zone_cache_settings_delete_response_single": cache_settings_zone_cache_settings_delete_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, + "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, request: (args) => ({ @@ -250,7 +266,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cache_settings_smart_tiered_cache_edit", + name: "cache_settings_smartTieredCache_edit", title: "Patch Smart Tiered Cache setting", description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.", inputSchema: { @@ -259,18 +275,26 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/cache-settings_smart_tiered_cache_patch" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_smart_tiered_cache_patch": cache_settings_smart_tiered_cache_patch, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_smart_tiered_cache_patch": cache$$settings_smart_tiered_cache_patch, }, }, outputSchema: { @@ -283,18 +307,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, - "cache-settings_smart_tiered_cache_response_value": cache_settings_smart_tiered_cache_response_value_output, - "cache-settings_smart_tiered_cache_value": cache_settings_smart_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, + "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, + "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -341,19 +365,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, - "cache-settings_smart_tiered_cache_response_value": cache_settings_smart_tiered_cache_response_value_output, - "cache-settings_smart_tiered_cache_value": cache_settings_smart_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, + "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, + "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -362,22 +386,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cache_settings_smart_tiered_cache_get", + name: "cache_settings_smartTieredCache_get", title: "Get Smart Tiered Cache setting", description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -390,18 +422,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, - "cache-settings_smart_tiered_cache_response_value": cache_settings_smart_tiered_cache_response_value_output, - "cache-settings_smart_tiered_cache_value": cache_settings_smart_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, + "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, + "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -449,19 +481,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_smart_tiered_cache": cache_settings_smart_tiered_cache_output, - "cache-settings_smart_tiered_cache_response_value": cache_settings_smart_tiered_cache_response_value_output, - "cache-settings_smart_tiered_cache_value": cache_settings_smart_tiered_cache_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, + "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, + "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cache/settings/variants/outputs.ts b/src/generated/forge-mcp/cache/settings/variants/outputs.ts index 0df5251b2..d1e5de559 100644 --- a/src/generated/forge-mcp/cache/settings/variants/outputs.ts +++ b/src/generated/forge-mcp/cache/settings/variants/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cache-settings_variants` in responses. */ -export const cache_settings_variants_output: JsonSchema = { +export const cache$$settings_variants: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -28,7 +28,7 @@ export const cache_settings_variants_output: JsonSchema = { /** * The schema of `cache-settings_variants_response_value` in responses. */ -export const cache_settings_variants_response_value_output: JsonSchema = { +export const cache$$settings_variants_response_value: JsonSchema = { "properties": { "result": { "allOf": [ @@ -55,7 +55,7 @@ export const cache_settings_variants_response_value_output: JsonSchema = { /** * The schema of `cache-settings_variants_value` in responses. */ -export const cache_settings_variants_value_output: JsonSchema = { +export const cache$$settings_variants_value: JsonSchema = { "properties": { "avif": { "items": { diff --git a/src/generated/forge-mcp/cache/settings/variants/schemas.ts b/src/generated/forge-mcp/cache/settings/variants/schemas.ts index 7662da933..483be5f24 100644 --- a/src/generated/forge-mcp/cache/settings/variants/schemas.ts +++ b/src/generated/forge-mcp/cache/settings/variants/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cache-settings_variants_value`. */ -export const cache_settings_variants_value: JsonSchema = { +export const cache$$settings_variants_value: JsonSchema = { "description": "Value of the zone setting.", "properties": { "avif": { diff --git a/src/generated/forge-mcp/cache/settings/variants/tools.ts b/src/generated/forge-mcp/cache/settings/variants/tools.ts index 7ad59bc1c..58ed9848d 100644 --- a/src/generated/forge-mcp/cache/settings/variants/tools.ts +++ b/src/generated/forge-mcp/cache/settings/variants/tools.ts @@ -3,26 +3,26 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_base_output, - cache_settings_editable_output, - cache_settings_messages_output, - cache_settings_modified_on_output, - cache_settings_result_object_delete_output, - cache_settings_result_object_output, - cache_settings_setting_id_output, - cache_settings_setting_value_output, - cache_settings_zone_cache_settings_delete_response_single_output, - cache_settings_zone_cache_settings_response_single_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_base, + cache$$settings_editable, + cache$$settings_messages, + cache$$settings_modified_on, + cache$$settings_result$$object, + cache$$settings_result$$object$$delete, + cache$$settings_setting_id, + cache$$settings_setting_value, + cache$$settings_zone_cache_settings_delete_response_single, + cache$$settings_zone_cache_settings_response_single, } from "../../../outputs.js"; -import { cache_settings_identifier } from "../../../schemas.js"; +import { cache$$settings_identifier } from "../../../schemas.js"; import { - cache_settings_variants_output, - cache_settings_variants_response_value_output, - cache_settings_variants_value_output, + cache$$settings_variants, + cache$$settings_variants_response_value, + cache$$settings_variants_value, } from "./outputs.js"; -import { cache_settings_variants_value } from "./schemas.js"; +import { cache$$settings_variants_value as cache$$settings_variants_value$ } from "./schemas.js"; /** * The tools of `cache.settings.variants`. @@ -35,16 +35,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -62,15 +70,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object-delete": cache_settings_result_object_delete_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_variants": cache_settings_variants_output, - "cache-settings_zone_cache_settings_delete_response_single": cache_settings_zone_cache_settings_delete_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_variants": cache$$settings_variants, + "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, annotations: { @@ -121,16 +129,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object-delete": cache_settings_result_object_delete_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_variants": cache_settings_variants_output, - "cache-settings_zone_cache_settings_delete_response_single": cache_settings_zone_cache_settings_delete_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_variants": cache$$settings_variants, + "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, request: (args) => ({ @@ -156,18 +164,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_variants_value": cache_settings_variants_value, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_variants_value": cache$$settings_variants_value$, }, }, outputSchema: { @@ -180,18 +196,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_variants": cache_settings_variants_output, - "cache-settings_variants_response_value": cache_settings_variants_response_value_output, - "cache-settings_variants_value": cache_settings_variants_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_variants": cache$$settings_variants, + "cache-settings_variants_response_value": cache$$settings_variants_response_value, + "cache-settings_variants_value": cache$$settings_variants_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -237,19 +253,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_variants": cache_settings_variants_output, - "cache-settings_variants_response_value": cache_settings_variants_response_value_output, - "cache-settings_variants_value": cache_settings_variants_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_variants": cache$$settings_variants, + "cache-settings_variants_response_value": cache$$settings_variants_response_value, + "cache-settings_variants_value": cache$$settings_variants_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -264,16 +280,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -286,18 +310,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_variants": cache_settings_variants_output, - "cache-settings_variants_response_value": cache_settings_variants_response_value_output, - "cache-settings_variants_value": cache_settings_variants_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_variants": cache$$settings_variants, + "cache-settings_variants_response_value": cache$$settings_variants_response_value, + "cache-settings_variants_value": cache$$settings_variants_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -345,19 +369,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_variants": cache_settings_variants_output, - "cache-settings_variants_response_value": cache_settings_variants_response_value_output, - "cache-settings_variants_value": cache_settings_variants_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_variants": cache$$settings_variants, + "cache-settings_variants_response_value": cache$$settings_variants_response_value, + "cache-settings_variants_value": cache$$settings_variants_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cache/tools.ts b/src/generated/forge-mcp/cache/tools.ts index 828ac115a..de01e7089 100644 --- a/src/generated/forge-mcp/cache/tools.ts +++ b/src/generated/forge-mcp/cache/tools.ts @@ -3,19 +3,19 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - cache_purge_api_response_common_failure_output, - cache_purge_api_response_single_id_output, - cache_purge_identifier_output, - cache_purge_messages_output, + cache$$purge_api$$response$$common$$failure, + cache$$purge_api$$response$$single$$id, + cache$$purge_identifier, + cache$$purge_messages, } from "./outputs.js"; import { - cache_purge_Everything, - cache_purge_FlexPurgeByHostnames, - cache_purge_FlexPurgeByPrefixes, - cache_purge_FlexPurgeByTags, - cache_purge_SingleFile, - cache_purge_SingleFileWithUrlAndHeaders, - cache_purge_identifier, + cache$$purge_Everything, + cache$$purge_FlexPurgeByHostnames, + cache$$purge_FlexPurgeByPrefixes, + cache$$purge_FlexPurgeByTags, + cache$$purge_SingleFile, + cache$$purge_SingleFileWithUrlAndHeaders, + cache$$purge_identifier as cache$$purge_identifier$, } from "./schemas.js"; /** @@ -51,31 +51,39 @@ export const tools: readonly Tool[] = [ } ] }, - "zone_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The zone ID." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-purge_identifier", + "description": "The zone ID." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-purge_Everything": cache_purge_Everything, - "cache-purge_FlexPurgeByHostnames": cache_purge_FlexPurgeByHostnames, - "cache-purge_FlexPurgeByPrefixes": cache_purge_FlexPurgeByPrefixes, - "cache-purge_FlexPurgeByTags": cache_purge_FlexPurgeByTags, - "cache-purge_SingleFile": cache_purge_SingleFile, - "cache-purge_SingleFileWithUrlAndHeaders": cache_purge_SingleFileWithUrlAndHeaders, - "cache-purge_identifier": cache_purge_identifier, + "cache-purge_Everything": cache$$purge_Everything, + "cache-purge_FlexPurgeByHostnames": cache$$purge_FlexPurgeByHostnames, + "cache-purge_FlexPurgeByPrefixes": cache$$purge_FlexPurgeByPrefixes, + "cache-purge_FlexPurgeByTags": cache$$purge_FlexPurgeByTags, + "cache-purge_SingleFile": cache$$purge_SingleFile, + "cache-purge_SingleFileWithUrlAndHeaders": cache$$purge_SingleFileWithUrlAndHeaders, + "cache-purge_identifier": cache$$purge_identifier$, }, }, outputSchema: { "$ref": "#/$defs/cache-purge_api-response-single-id", $defs: { - "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, - "cache-purge_identifier": cache_purge_identifier_output, - "cache-purge_messages": cache_purge_messages_output, + "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, + "cache-purge_identifier": cache$$purge_identifier, + "cache-purge_messages": cache$$purge_messages, }, }, annotations: { @@ -104,10 +112,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-purge_api-response-common-failure": cache_purge_api_response_common_failure_output, - "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, - "cache-purge_identifier": cache_purge_identifier_output, - "cache-purge_messages": cache_purge_messages_output, + "cache-purge_api-response-common-failure": cache$$purge_api$$response$$common$$failure, + "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, + "cache-purge_identifier": cache$$purge_identifier, + "cache-purge_messages": cache$$purge_messages, }, }, request: (args) => ({ @@ -116,7 +124,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cache_invalidate_environment", + name: "cache_invalidateEnvironment", title: "Invalidate Cached Content by Environment", description: "Marks cached content as stale for one environment of the zone. Content cached for the zone's other environments, including production, is not affected. Otherwise this works like `POST /zones/{zone_id}/invalidate_cache`: the next request for invalidated content makes Cloudflare revalidate it with your origin, and the request body takes the same fields.\n\nEnvironments are part of [Version Management](https://developers.cloudflare.com/version-management/). To delete the content instead, use `POST /zones/{zone_id}/environments/{environment_id}/purge_cache`.\n\nInvalidating by URL (`files`) does not work for environments that select requests by IP address, country, ASN, or threat score, and fails with error `1136`. Use `tags`, `hosts`, `prefixes`, or `purge_everything` for those environments.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation marks the selected content in the environment's cache as stale.", inputSchema: { @@ -144,36 +152,44 @@ export const tools: readonly Tool[] = [ } ] }, - "environment_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The environment ID, from Version Management." - }, - "zone_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The zone ID." + "path": { + "properties": { + "environment_id": { + "$ref": "#/$defs/cache-purge_identifier", + "description": "The environment ID, from Version Management." + }, + "zone_id": { + "$ref": "#/$defs/cache-purge_identifier", + "description": "The zone ID." + } + }, + "required": [ + "zone_id", + "environment_id" + ], + "type": "object" } }, required: [ - "zone_id", - "environment_id", + "path", "body" ], $defs: { - "cache-purge_Everything": cache_purge_Everything, - "cache-purge_FlexPurgeByHostnames": cache_purge_FlexPurgeByHostnames, - "cache-purge_FlexPurgeByPrefixes": cache_purge_FlexPurgeByPrefixes, - "cache-purge_FlexPurgeByTags": cache_purge_FlexPurgeByTags, - "cache-purge_SingleFile": cache_purge_SingleFile, - "cache-purge_SingleFileWithUrlAndHeaders": cache_purge_SingleFileWithUrlAndHeaders, - "cache-purge_identifier": cache_purge_identifier, + "cache-purge_Everything": cache$$purge_Everything, + "cache-purge_FlexPurgeByHostnames": cache$$purge_FlexPurgeByHostnames, + "cache-purge_FlexPurgeByPrefixes": cache$$purge_FlexPurgeByPrefixes, + "cache-purge_FlexPurgeByTags": cache$$purge_FlexPurgeByTags, + "cache-purge_SingleFile": cache$$purge_SingleFile, + "cache-purge_SingleFileWithUrlAndHeaders": cache$$purge_SingleFileWithUrlAndHeaders, + "cache-purge_identifier": cache$$purge_identifier$, }, }, outputSchema: { "$ref": "#/$defs/cache-purge_api-response-single-id", $defs: { - "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, - "cache-purge_identifier": cache_purge_identifier_output, - "cache-purge_messages": cache_purge_messages_output, + "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, + "cache-purge_identifier": cache$$purge_identifier, + "cache-purge_messages": cache$$purge_messages, }, }, annotations: { @@ -207,10 +223,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-purge_api-response-common-failure": cache_purge_api_response_common_failure_output, - "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, - "cache-purge_identifier": cache_purge_identifier_output, - "cache-purge_messages": cache_purge_messages_output, + "cache-purge_api-response-common-failure": cache$$purge_api$$response$$common$$failure, + "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, + "cache-purge_identifier": cache$$purge_identifier, + "cache-purge_messages": cache$$purge_messages, }, }, request: (args) => ({ @@ -247,31 +263,39 @@ export const tools: readonly Tool[] = [ } ] }, - "zone_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The zone ID." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-purge_identifier", + "description": "The zone ID." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-purge_Everything": cache_purge_Everything, - "cache-purge_FlexPurgeByHostnames": cache_purge_FlexPurgeByHostnames, - "cache-purge_FlexPurgeByPrefixes": cache_purge_FlexPurgeByPrefixes, - "cache-purge_FlexPurgeByTags": cache_purge_FlexPurgeByTags, - "cache-purge_SingleFile": cache_purge_SingleFile, - "cache-purge_SingleFileWithUrlAndHeaders": cache_purge_SingleFileWithUrlAndHeaders, - "cache-purge_identifier": cache_purge_identifier, + "cache-purge_Everything": cache$$purge_Everything, + "cache-purge_FlexPurgeByHostnames": cache$$purge_FlexPurgeByHostnames, + "cache-purge_FlexPurgeByPrefixes": cache$$purge_FlexPurgeByPrefixes, + "cache-purge_FlexPurgeByTags": cache$$purge_FlexPurgeByTags, + "cache-purge_SingleFile": cache$$purge_SingleFile, + "cache-purge_SingleFileWithUrlAndHeaders": cache$$purge_SingleFileWithUrlAndHeaders, + "cache-purge_identifier": cache$$purge_identifier$, }, }, outputSchema: { "$ref": "#/$defs/cache-purge_api-response-single-id", $defs: { - "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, - "cache-purge_identifier": cache_purge_identifier_output, - "cache-purge_messages": cache_purge_messages_output, + "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, + "cache-purge_identifier": cache$$purge_identifier, + "cache-purge_messages": cache$$purge_messages, }, }, annotations: { @@ -310,10 +334,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-purge_api-response-common-failure": cache_purge_api_response_common_failure_output, - "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, - "cache-purge_identifier": cache_purge_identifier_output, - "cache-purge_messages": cache_purge_messages_output, + "cache-purge_api-response-common-failure": cache$$purge_api$$response$$common$$failure, + "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, + "cache-purge_identifier": cache$$purge_identifier, + "cache-purge_messages": cache$$purge_messages, }, }, request: (args) => ({ @@ -322,7 +346,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cache_purge_environment", + name: "cache_purgeEnvironment", title: "Purge Cached Content by Environment", description: "Deletes cached content for one environment of the zone. Content cached for the zone's other environments, including production, is not affected. Otherwise this works like `POST /zones/{zone_id}/purge_cache`: the next request for purged content is a cache `MISS`, and the request body takes the same fields.\n\nEnvironments are part of [Version Management](https://developers.cloudflare.com/version-management/). To keep content cached and have Cloudflare revalidate it instead, use `POST /zones/{zone_id}/environments/{environment_id}/invalidate_cache`.\n\nPurging by URL (`files`) does not work for environments that select requests by IP address, country, ASN, or threat score, and fails with error `1136`. Use `tags`, `hosts`, `prefixes`, or `purge_everything` for those environments.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation deletes the selected content from the environment's cache.", inputSchema: { @@ -350,36 +374,44 @@ export const tools: readonly Tool[] = [ } ] }, - "environment_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The environment ID, from Version Management." - }, - "zone_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The zone ID." + "path": { + "properties": { + "environment_id": { + "$ref": "#/$defs/cache-purge_identifier", + "description": "The environment ID, from Version Management." + }, + "zone_id": { + "$ref": "#/$defs/cache-purge_identifier", + "description": "The zone ID." + } + }, + "required": [ + "zone_id", + "environment_id" + ], + "type": "object" } }, required: [ - "zone_id", - "environment_id", + "path", "body" ], $defs: { - "cache-purge_Everything": cache_purge_Everything, - "cache-purge_FlexPurgeByHostnames": cache_purge_FlexPurgeByHostnames, - "cache-purge_FlexPurgeByPrefixes": cache_purge_FlexPurgeByPrefixes, - "cache-purge_FlexPurgeByTags": cache_purge_FlexPurgeByTags, - "cache-purge_SingleFile": cache_purge_SingleFile, - "cache-purge_SingleFileWithUrlAndHeaders": cache_purge_SingleFileWithUrlAndHeaders, - "cache-purge_identifier": cache_purge_identifier, + "cache-purge_Everything": cache$$purge_Everything, + "cache-purge_FlexPurgeByHostnames": cache$$purge_FlexPurgeByHostnames, + "cache-purge_FlexPurgeByPrefixes": cache$$purge_FlexPurgeByPrefixes, + "cache-purge_FlexPurgeByTags": cache$$purge_FlexPurgeByTags, + "cache-purge_SingleFile": cache$$purge_SingleFile, + "cache-purge_SingleFileWithUrlAndHeaders": cache$$purge_SingleFileWithUrlAndHeaders, + "cache-purge_identifier": cache$$purge_identifier$, }, }, outputSchema: { "$ref": "#/$defs/cache-purge_api-response-single-id", $defs: { - "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, - "cache-purge_identifier": cache_purge_identifier_output, - "cache-purge_messages": cache_purge_messages_output, + "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, + "cache-purge_identifier": cache$$purge_identifier, + "cache-purge_messages": cache$$purge_messages, }, }, annotations: { @@ -418,10 +450,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-purge_api-response-common-failure": cache_purge_api_response_common_failure_output, - "cache-purge_api-response-single-id": cache_purge_api_response_single_id_output, - "cache-purge_identifier": cache_purge_identifier_output, - "cache-purge_messages": cache_purge_messages_output, + "cache-purge_api-response-common-failure": cache$$purge_api$$response$$common$$failure, + "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, + "cache-purge_identifier": cache$$purge_identifier, + "cache-purge_messages": cache$$purge_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts index d88782ef8..7f07d8f37 100644 --- a/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `client-side-security_connection` in responses. */ -export const client_side_security_connection_output: JsonSchema = { +export const client$$side$$security_connection: JsonSchema = { "properties": { "added_at": { "format": "date-time", @@ -76,7 +76,7 @@ export const client_side_security_connection_output: JsonSchema = { * The schema of `client-side-security_get-zone-connection-response` in * responses. */ -export const client_side_security_get_zone_connection_response_output: JsonSchema = { +export const client$$side$$security_get$$zone$$connection$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-get-response-collection" @@ -99,7 +99,7 @@ export const client_side_security_get_zone_connection_response_output: JsonSchem * The schema of `client-side-security_list-zone-connections-response` in * responses. */ -export const client_side_security_list_zone_connections_response_output: JsonSchema = { +export const client$$side$$security_list$$zone$$connections$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-list-response-collection" diff --git a/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts b/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts index 565e282ab..cf90bc0eb 100644 --- a/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts @@ -1,60 +1,68 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - client_side_security_api_get_response_collection_output, - client_side_security_api_list_response_collection_output, - client_side_security_api_response_common_failure_output, - client_side_security_api_response_common_output, - client_side_security_id_output, - client_side_security_messages_output, - client_side_security_result_info_output, + client$$side$$security_api$$get$$response$$collection, + client$$side$$security_api$$list$$response$$collection, + client$$side$$security_api$$response$$common, + client$$side$$security_api$$response$$common$$failure, + client$$side$$security_id, + client$$side$$security_messages, + client$$side$$security_result_info, } from "../outputs.js"; -import { client_side_security_id } from "../schemas.js"; +import { client$$side$$security_id as client$$side$$security_id$ } from "../schemas.js"; import { - client_side_security_connection_output, - client_side_security_get_zone_connection_response_output, - client_side_security_list_zone_connections_response_output, + client$$side$$security_connection, + client$$side$$security_get$$zone$$connection$$response, + client$$side$$security_list$$zone$$connections$$response, } from "./outputs.js"; /** - * The tools of `client_side_security.connections`. + * The tools of `clientSideSecurity.connections`. */ export const tools: readonly Tool[] = [ { - name: "client_side_security_connections_get", + name: "clientSideSecurity_connections_get", title: "Get a detected connection", description: "Returns a webpage connection detected on the zone by connection ID.", inputSchema: { type: "object", properties: { - "connection_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "connection_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "connection_id" + ], + "type": "object" } }, required: [ - "zone_id", - "connection_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-connection-response", $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_connection": client_side_security_connection_output, - "client-side-security_get-zone-connection-response": client_side_security_get_zone_connection_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_connection": client$$side$$security_connection, + "client-side-security_get-zone-connection-response": client$$side$$security_get$$zone$$connection$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, }, }, annotations: { @@ -92,13 +100,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_connection": client_side_security_connection_output, - "client-side-security_get-zone-connection-response": client_side_security_get_zone_connection_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_connection": client$$side$$security_connection, + "client-side-security_get-zone-connection-response": client$$side$$security_get$$zone$$connection$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, }, }, request: (args) => ({ @@ -106,93 +114,106 @@ export const tools: readonly Tool[] = [ }), }, { - name: "client_side_security_connections_list", + name: "clientSideSecurity_connections_list", title: "List detected connections", description: "Lists outbound connections made by webpages in the zone.", inputSchema: { type: "object", properties: { - "direction": { - "description": "The direction used to sort returned connections.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "exclude_cdn_cgi": { - "description": "When true, excludes connections seen in a `/cdn-cgi` path from the returned connections. The default value is true.", - "type": "boolean" - }, - "exclude_urls": { - "description": "Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.\n", - "type": "string" - }, - "export": { - "description": "Export the list of connections as a file, limited to 50000 entries.", - "enum": [ - "csv" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id" ], - "type": "string" - }, - "hosts": { - "description": "Includes connections that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", - "type": "string" - }, - "order_by": { - "description": "The field used to sort returned connections.", - "enum": [ - "first_seen_at", - "last_seen_at" - ], - "type": "string" - }, - "page": { - "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the connections\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of connections\n", - "type": "string" - }, - "page_url": { - "description": "Includes connections that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", - "type": "string" - }, - "per_page": { - "description": "The number of results per page.", - "type": "number" - }, - "prioritize_malicious": { - "description": "When true, malicious connections appear first in the returned connections.", - "type": "boolean" - }, - "status": { - "description": "Filters the returned connections using a comma-separated list of connection statuses. Accepted values: `active`, `infrequent`, and `inactive`. The default value is `active`.", - "type": "string" - }, - "urls": { - "description": "Includes connections whose URL contain one or more URL-encoded URLs separated by commas.\n", - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "query": { + "properties": { + "direction": { + "description": "The direction used to sort returned connections.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "exclude_cdn_cgi": { + "description": "When true, excludes connections seen in a `/cdn-cgi` path from the returned connections. The default value is true.", + "type": "boolean" + }, + "exclude_urls": { + "description": "Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.\n", + "type": "string" + }, + "export": { + "description": "Export the list of connections as a file, limited to 50000 entries.", + "enum": [ + "csv" + ], + "type": "string" + }, + "hosts": { + "description": "Includes connections that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "type": "string" + }, + "order_by": { + "description": "The field used to sort returned connections.", + "enum": [ + "first_seen_at", + "last_seen_at" + ], + "type": "string" + }, + "page": { + "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the connections\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of connections\n", + "type": "string" + }, + "page_url": { + "description": "Includes connections that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "type": "string" + }, + "per_page": { + "description": "The number of results per page.", + "type": "number" + }, + "prioritize_malicious": { + "description": "When true, malicious connections appear first in the returned connections.", + "type": "boolean" + }, + "status": { + "description": "Filters the returned connections using a comma-separated list of connection statuses. Accepted values: `active`, `infrequent`, and `inactive`. The default value is `active`.", + "type": "string" + }, + "urls": { + "description": "Includes connections whose URL contain one or more URL-encoded URLs separated by commas.\n", + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_list-zone-connections-response", $defs: { - "client-side-security_api-list-response-collection": client_side_security_api_list_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_connection": client_side_security_connection_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_list-zone-connections-response": client_side_security_list_zone_connections_response_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_result_info": client_side_security_result_info_output, + "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_connection": client$$side$$security_connection, + "client-side-security_id": client$$side$$security_id, + "client-side-security_list-zone-connections-response": client$$side$$security_list$$zone$$connections$$response, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_result_info": client$$side$$security_result_info, }, }, annotations: { @@ -230,31 +251,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-list-response-collection": client_side_security_api_list_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_connection": client_side_security_connection_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_list-zone-connections-response": client_side_security_list_zone_connections_response_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_result_info": client_side_security_result_info_output, + "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_connection": client$$side$$security_connection, + "client-side-security_id": client$$side$$security_id, + "client-side-security_list-zone-connections-response": client$$side$$security_list$$zone$$connections$$response, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_result_info": client$$side$$security_result_info, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/connections`, query: [ - ["exclude_urls", args["exclude_urls"], true], - ["urls", args["urls"], true], - ["hosts", args["hosts"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order_by", args["order_by"], true], - ["direction", args["direction"], true], - ["prioritize_malicious", args["prioritize_malicious"], true], - ["exclude_cdn_cgi", args["exclude_cdn_cgi"], true], - ["status", args["status"], true], - ["page_url", args["page_url"], true], - ["export", args["export"], true], + ["exclude_urls", param(args, "query", "exclude_urls"), true], + ["urls", param(args, "query", "urls"), true], + ["hosts", param(args, "query", "hosts"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order_by", param(args, "query", "order_by"), true], + ["direction", param(args, "query", "direction"), true], + ["prioritize_malicious", param(args, "query", "prioritize_malicious"), true], + ["exclude_cdn_cgi", param(args, "query", "exclude_cdn_cgi"), true], + ["status", param(args, "query", "status"), true], + ["page_url", param(args, "query", "page_url"), true], + ["export", param(args, "query", "export"), true], ], }), }, diff --git a/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts index 877aa93c8..46087a8bf 100644 --- a/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `client-side-security_cookie` in responses. */ -export const client_side_security_cookie_output: JsonSchema = { +export const client$$side$$security_cookie: JsonSchema = { "properties": { "domain_attribute": { "type": "string" @@ -80,7 +80,7 @@ export const client_side_security_cookie_output: JsonSchema = { /** * The schema of `client-side-security_get-zone-cookie-response` in responses. */ -export const client_side_security_get_zone_cookie_response_output: JsonSchema = { +export const client$$side$$security_get$$zone$$cookie$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-get-response-collection" @@ -102,7 +102,7 @@ export const client_side_security_get_zone_cookie_response_output: JsonSchema = /** * The schema of `client-side-security_list-zone-cookies-response` in responses. */ -export const client_side_security_list_zone_cookies_response_output: JsonSchema = { +export const client$$side$$security_list$$zone$$cookies$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-list-response-collection" diff --git a/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts b/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts index 236eea15c..e8430602f 100644 --- a/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts @@ -1,60 +1,68 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - client_side_security_api_get_response_collection_output, - client_side_security_api_list_response_collection_output, - client_side_security_api_response_common_failure_output, - client_side_security_api_response_common_output, - client_side_security_id_output, - client_side_security_messages_output, - client_side_security_result_info_output, + client$$side$$security_api$$get$$response$$collection, + client$$side$$security_api$$list$$response$$collection, + client$$side$$security_api$$response$$common, + client$$side$$security_api$$response$$common$$failure, + client$$side$$security_id, + client$$side$$security_messages, + client$$side$$security_result_info, } from "../outputs.js"; -import { client_side_security_id } from "../schemas.js"; +import { client$$side$$security_id as client$$side$$security_id$ } from "../schemas.js"; import { - client_side_security_cookie_output, - client_side_security_get_zone_cookie_response_output, - client_side_security_list_zone_cookies_response_output, + client$$side$$security_cookie, + client$$side$$security_get$$zone$$cookie$$response, + client$$side$$security_list$$zone$$cookies$$response, } from "./outputs.js"; /** - * The tools of `client_side_security.cookies`. + * The tools of `clientSideSecurity.cookies`. */ export const tools: readonly Tool[] = [ { - name: "client_side_security_cookies_get", + name: "clientSideSecurity_cookies_get", title: "Get a detected cookie", description: "Returns a cookie detected on the zone by cookie ID.", inputSchema: { type: "object", properties: { - "cookie_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "cookie_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "cookie_id" + ], + "type": "object" } }, required: [ - "zone_id", - "cookie_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-cookie-response", $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_cookie": client_side_security_cookie_output, - "client-side-security_get-zone-cookie-response": client_side_security_get_zone_cookie_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_cookie": client$$side$$security_cookie, + "client-side-security_get-zone-cookie-response": client$$side$$security_get$$zone$$cookie$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, }, }, annotations: { @@ -92,13 +100,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_cookie": client_side_security_cookie_output, - "client-side-security_get-zone-cookie-response": client_side_security_get_zone_cookie_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_cookie": client$$side$$security_cookie, + "client-side-security_get-zone-cookie-response": client$$side$$security_get$$zone$$cookie$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, }, }, request: (args) => ({ @@ -106,110 +114,123 @@ export const tools: readonly Tool[] = [ }), }, { - name: "client_side_security_cookies_list", + name: "clientSideSecurity_cookies_list", title: "List detected cookies", description: "Lists cookies detected on the zone.", inputSchema: { type: "object", properties: { - "direction": { - "description": "The direction used to sort returned cookies.'", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "domain": { - "description": "Filters the returned cookies that match the specified domain attribute", - "type": "string" - }, - "export": { - "description": "Export the list of cookies as a file, limited to 50000 entries.", - "enum": [ - "csv" - ], - "type": "string" - }, - "hosts": { - "description": "Includes cookies that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", - "type": "string" - }, - "http_only": { - "description": "Filters the returned cookies that are set with HttpOnly", - "type": "boolean" - }, - "name": { - "description": "Filters the returned cookies that match the specified name.\nWildcards are supported at the start and end to support starts with, ends with\nand contains. e.g. session*\n", - "type": "string" - }, - "order_by": { - "description": "The field used to sort returned cookies.", - "enum": [ - "first_seen_at", - "last_seen_at" - ], - "type": "string" - }, - "page": { - "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the cookies\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of cookies\n", - "type": "string" - }, - "page_url": { - "description": "Includes connections that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", - "type": "string" - }, "path": { - "description": "Filters the returned cookies that match the specified path attribute", - "type": "string" - }, - "per_page": { - "description": "The number of results per page.", - "type": "number" - }, - "same_site": { - "description": "Filters the returned cookies that match the specified same_site attribute", - "enum": [ - "lax", - "strict", - "none" - ], - "type": "string" - }, - "secure": { - "description": "Filters the returned cookies that are set with Secure", - "type": "boolean" - }, - "type": { - "description": "Filters the returned cookies that match the specified type attribute", - "enum": [ - "first_party", - "unknown" + "properties": { + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id" ], - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "query": { + "properties": { + "direction": { + "description": "The direction used to sort returned cookies.'", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "domain": { + "description": "Filters the returned cookies that match the specified domain attribute", + "type": "string" + }, + "export": { + "description": "Export the list of cookies as a file, limited to 50000 entries.", + "enum": [ + "csv" + ], + "type": "string" + }, + "hosts": { + "description": "Includes cookies that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "type": "string" + }, + "http_only": { + "description": "Filters the returned cookies that are set with HttpOnly", + "type": "boolean" + }, + "name": { + "description": "Filters the returned cookies that match the specified name.\nWildcards are supported at the start and end to support starts with, ends with\nand contains. e.g. session*\n", + "type": "string" + }, + "order_by": { + "description": "The field used to sort returned cookies.", + "enum": [ + "first_seen_at", + "last_seen_at" + ], + "type": "string" + }, + "page": { + "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the cookies\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of cookies\n", + "type": "string" + }, + "page_url": { + "description": "Includes connections that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "type": "string" + }, + "path": { + "description": "Filters the returned cookies that match the specified path attribute", + "type": "string" + }, + "per_page": { + "description": "The number of results per page.", + "type": "number" + }, + "same_site": { + "description": "Filters the returned cookies that match the specified same_site attribute", + "enum": [ + "lax", + "strict", + "none" + ], + "type": "string" + }, + "secure": { + "description": "Filters the returned cookies that are set with Secure", + "type": "boolean" + }, + "type": { + "description": "Filters the returned cookies that match the specified type attribute", + "enum": [ + "first_party", + "unknown" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_list-zone-cookies-response", $defs: { - "client-side-security_api-list-response-collection": client_side_security_api_list_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_cookie": client_side_security_cookie_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_list-zone-cookies-response": client_side_security_list_zone_cookies_response_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_result_info": client_side_security_result_info_output, + "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_cookie": client$$side$$security_cookie, + "client-side-security_id": client$$side$$security_id, + "client-side-security_list-zone-cookies-response": client$$side$$security_list$$zone$$cookies$$response, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_result_info": client$$side$$security_result_info, }, }, annotations: { @@ -247,33 +268,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-list-response-collection": client_side_security_api_list_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_cookie": client_side_security_cookie_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_list-zone-cookies-response": client_side_security_list_zone_cookies_response_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_result_info": client_side_security_result_info_output, + "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_cookie": client$$side$$security_cookie, + "client-side-security_id": client$$side$$security_id, + "client-side-security_list-zone-cookies-response": client$$side$$security_list$$zone$$cookies$$response, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_result_info": client$$side$$security_result_info, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/cookies`, query: [ - ["hosts", args["hosts"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order_by", args["order_by"], true], - ["direction", args["direction"], true], - ["page_url", args["page_url"], true], - ["export", args["export"], true], - ["name", args["name"], true], - ["secure", args["secure"], true], - ["http_only", args["http_only"], true], - ["same_site", args["same_site"], true], - ["type", args["type"], true], - ["path", args["path"], true], - ["domain", args["domain"], true], + ["hosts", param(args, "query", "hosts"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order_by", param(args, "query", "order_by"), true], + ["direction", param(args, "query", "direction"), true], + ["page_url", param(args, "query", "page_url"), true], + ["export", param(args, "query", "export"), true], + ["name", param(args, "query", "name"), true], + ["secure", param(args, "query", "secure"), true], + ["http_only", param(args, "query", "http_only"), true], + ["same_site", param(args, "query", "same_site"), true], + ["type", param(args, "query", "type"), true], + ["path", param(args, "query", "path"), true], + ["domain", param(args, "query", "domain"), true], ], }), }, diff --git a/src/generated/forge-mcp/clientSideSecurity/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/outputs.ts index 493900b8b..5933fcbe9 100644 --- a/src/generated/forge-mcp/clientSideSecurity/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../_/tool.js"; * The schema of `client-side-security_api-get-response-collection` in * responses. */ -export const client_side_security_api_get_response_collection_output: JsonSchema = { +export const client$$side$$security_api$$get$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-response-common" @@ -34,7 +34,7 @@ export const client_side_security_api_get_response_collection_output: JsonSchema * The schema of `client-side-security_api-list-response-collection` in * responses. */ -export const client_side_security_api_list_response_collection_output: JsonSchema = { +export const client$$side$$security_api$$list$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-response-common" @@ -56,7 +56,7 @@ export const client_side_security_api_list_response_collection_output: JsonSchem /** * The schema of `client-side-security_api-response-common` in responses. */ -export const client_side_security_api_response_common_output: JsonSchema = { +export const client$$side$$security_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/client-side-security_messages" @@ -81,7 +81,7 @@ export const client_side_security_api_response_common_output: JsonSchema = { * The schema of `client-side-security_api-response-common-failure` in * responses. */ -export const client_side_security_api_response_common_failure_output: JsonSchema = { +export const client$$side$$security_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/client-side-security_messages" @@ -109,14 +109,14 @@ export const client_side_security_api_response_common_failure_output: JsonSchema /** * The schema of `client-side-security_id` in responses. */ -export const client_side_security_id_output: JsonSchema = { +export const client$$side$$security_id: JsonSchema = { "type": "string" }; /** * The schema of `client-side-security_messages` in responses. */ -export const client_side_security_messages_output: JsonSchema = { +export const client$$side$$security_messages: JsonSchema = { "items": { "properties": { "code": { @@ -138,7 +138,7 @@ export const client_side_security_messages_output: JsonSchema = { /** * The schema of `client-side-security_result_info` in responses. */ -export const client_side_security_result_info_output: JsonSchema = { +export const client$$side$$security_result_info: JsonSchema = { "properties": { "count": { "type": "number" diff --git a/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts index fc61e8ab9..b8fbc23ad 100644 --- a/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `client-side-security_get-zone-policy-response` in responses. */ -export const client_side_security_get_zone_policy_response_output: JsonSchema = { +export const client$$side$$security_get$$zone$$policy$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-get-response-collection" @@ -29,7 +29,7 @@ export const client_side_security_get_zone_policy_response_output: JsonSchema = * The schema of `client-side-security_list-zone-policies-response` in * responses. */ -export const client_side_security_list_zone_policies_response_output: JsonSchema = { +export const client$$side$$security_list$$zone$$policies$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-list-response-collection" @@ -54,7 +54,7 @@ export const client_side_security_list_zone_policies_response_output: JsonSchema /** * The schema of `client-side-security_policy` in responses. */ -export const client_side_security_policy_output: JsonSchema = { +export const client$$side$$security_policy: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/client-side-security_policy-action" @@ -85,7 +85,7 @@ export const client_side_security_policy_output: JsonSchema = { /** * The schema of `client-side-security_policy-action` in responses. */ -export const client_side_security_policy_action_output: JsonSchema = { +export const client$$side$$security_policy$$action: JsonSchema = { "enum": [ "allow", "log", @@ -97,35 +97,35 @@ export const client_side_security_policy_action_output: JsonSchema = { /** * The schema of `client-side-security_policy-description` in responses. */ -export const client_side_security_policy_description_output: JsonSchema = { +export const client$$side$$security_policy$$description: JsonSchema = { "type": "string" }; /** * The schema of `client-side-security_policy-enabled` in responses. */ -export const client_side_security_policy_enabled_output: JsonSchema = { +export const client$$side$$security_policy$$enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `client-side-security_policy-expression` in responses. */ -export const client_side_security_policy_expression_output: JsonSchema = { +export const client$$side$$security_policy$$expression: JsonSchema = { "type": "string" }; /** * The schema of `client-side-security_policy-value` in responses. */ -export const client_side_security_policy_value_output: JsonSchema = { +export const client$$side$$security_policy$$value: JsonSchema = { "type": "string" }; /** * The schema of `client-side-security_policy-with-id` in responses. */ -export const client_side_security_policy_with_id_output: JsonSchema = { +export const client$$side$$security_policy$$with$$id: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_policy" diff --git a/src/generated/forge-mcp/clientSideSecurity/policies/schemas.ts b/src/generated/forge-mcp/clientSideSecurity/policies/schemas.ts index b9136b6fb..fcbb34221 100644 --- a/src/generated/forge-mcp/clientSideSecurity/policies/schemas.ts +++ b/src/generated/forge-mcp/clientSideSecurity/policies/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `client-side-security_policy`. */ -export const client_side_security_policy: JsonSchema = { +export const client$$side$$security_policy: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/client-side-security_policy-action", @@ -42,7 +42,7 @@ export const client_side_security_policy: JsonSchema = { /** * The schema of `client-side-security_policy-action`. */ -export const client_side_security_policy_action: JsonSchema = { +export const client$$side$$security_policy$$action: JsonSchema = { "description": "The action to take if the expression matches", "enum": [ "allow", @@ -55,7 +55,7 @@ export const client_side_security_policy_action: JsonSchema = { /** * The schema of `client-side-security_policy-description`. */ -export const client_side_security_policy_description: JsonSchema = { +export const client$$side$$security_policy$$description: JsonSchema = { "description": "A description for the policy", "type": "string" }; @@ -63,7 +63,7 @@ export const client_side_security_policy_description: JsonSchema = { /** * The schema of `client-side-security_policy-enabled`. */ -export const client_side_security_policy_enabled: JsonSchema = { +export const client$$side$$security_policy$$enabled: JsonSchema = { "description": "Whether the policy is enabled", "type": "boolean" }; @@ -71,7 +71,7 @@ export const client_side_security_policy_enabled: JsonSchema = { /** * The schema of `client-side-security_policy-expression`. */ -export const client_side_security_policy_expression: JsonSchema = { +export const client$$side$$security_policy$$expression: JsonSchema = { "description": "The expression which must match for the policy to be applied, using the Cloudflare Firewall rule expression syntax", "type": "string" }; @@ -79,7 +79,7 @@ export const client_side_security_policy_expression: JsonSchema = { /** * The schema of `client-side-security_policy-value`. */ -export const client_side_security_policy_value: JsonSchema = { +export const client$$side$$security_policy$$value: JsonSchema = { "description": "The policy which will be applied", "type": "string" }; diff --git a/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts b/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts index 7464830f6..7104f066d 100644 --- a/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts @@ -3,41 +3,41 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - client_side_security_api_get_response_collection_output, - client_side_security_api_list_response_collection_output, - client_side_security_api_response_common_failure_output, - client_side_security_api_response_common_output, - client_side_security_id_output, - client_side_security_messages_output, - client_side_security_result_info_output, + client$$side$$security_api$$get$$response$$collection, + client$$side$$security_api$$list$$response$$collection, + client$$side$$security_api$$response$$common, + client$$side$$security_api$$response$$common$$failure, + client$$side$$security_id, + client$$side$$security_messages, + client$$side$$security_result_info, } from "../outputs.js"; -import { client_side_security_id } from "../schemas.js"; +import { client$$side$$security_id as client$$side$$security_id$ } from "../schemas.js"; import { - client_side_security_get_zone_policy_response_output, - client_side_security_list_zone_policies_response_output, - client_side_security_policy_action_output, - client_side_security_policy_description_output, - client_side_security_policy_enabled_output, - client_side_security_policy_expression_output, - client_side_security_policy_output, - client_side_security_policy_value_output, - client_side_security_policy_with_id_output, + client$$side$$security_get$$zone$$policy$$response, + client$$side$$security_list$$zone$$policies$$response, + client$$side$$security_policy, + client$$side$$security_policy$$action, + client$$side$$security_policy$$description, + client$$side$$security_policy$$enabled, + client$$side$$security_policy$$expression, + client$$side$$security_policy$$value, + client$$side$$security_policy$$with$$id, } from "./outputs.js"; import { - client_side_security_policy, - client_side_security_policy_action, - client_side_security_policy_description, - client_side_security_policy_enabled, - client_side_security_policy_expression, - client_side_security_policy_value, + client$$side$$security_policy as client$$side$$security_policy$, + client$$side$$security_policy$$action as client$$side$$security_policy$$action$, + client$$side$$security_policy$$description as client$$side$$security_policy$$description$, + client$$side$$security_policy$$enabled as client$$side$$security_policy$$enabled$, + client$$side$$security_policy$$expression as client$$side$$security_policy$$expression$, + client$$side$$security_policy$$value as client$$side$$security_policy$$value$, } from "./schemas.js"; /** - * The tools of `client_side_security.policies`. + * The tools of `clientSideSecurity.policies`. */ export const tools: readonly Tool[] = [ { - name: "client_side_security_policies_create", + name: "clientSideSecurity_policies_create", title: "Create a content security rule", description: "Creates a rule that applies a client-side security action when its filter expression matches.", inputSchema: { @@ -46,40 +46,48 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/client-side-security_policy" }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "client-side-security_id": client_side_security_id, - "client-side-security_policy": client_side_security_policy, - "client-side-security_policy-action": client_side_security_policy_action, - "client-side-security_policy-description": client_side_security_policy_description, - "client-side-security_policy-enabled": client_side_security_policy_enabled, - "client-side-security_policy-expression": client_side_security_policy_expression, - "client-side-security_policy-value": client_side_security_policy_value, + "client-side-security_id": client$$side$$security_id$, + "client-side-security_policy": client$$side$$security_policy$, + "client-side-security_policy-action": client$$side$$security_policy$$action$, + "client-side-security_policy-description": client$$side$$security_policy$$description$, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled$, + "client-side-security_policy-expression": client$$side$$security_policy$$expression$, + "client-side-security_policy-value": client$$side$$security_policy$$value$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-policy-response", $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_get-zone-policy-response": client_side_security_get_zone_policy_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_policy": client_side_security_policy_output, - "client-side-security_policy-action": client_side_security_policy_action_output, - "client-side-security_policy-description": client_side_security_policy_description_output, - "client-side-security_policy-enabled": client_side_security_policy_enabled_output, - "client-side-security_policy-expression": client_side_security_policy_expression_output, - "client-side-security_policy-value": client_side_security_policy_value_output, - "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_policy": client$$side$$security_policy, + "client-side-security_policy-action": client$$side$$security_policy$$action, + "client-side-security_policy-description": client$$side$$security_policy$$description, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, + "client-side-security_policy-expression": client$$side$$security_policy$$expression, + "client-side-security_policy-value": client$$side$$security_policy$$value, + "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, annotations: { @@ -114,19 +122,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_get-zone-policy-response": client_side_security_get_zone_policy_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_policy": client_side_security_policy_output, - "client-side-security_policy-action": client_side_security_policy_action_output, - "client-side-security_policy-description": client_side_security_policy_description_output, - "client-side-security_policy-enabled": client_side_security_policy_enabled_output, - "client-side-security_policy-expression": client_side_security_policy_expression_output, - "client-side-security_policy-value": client_side_security_policy_value_output, - "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_policy": client$$side$$security_policy, + "client-side-security_policy-action": client$$side$$security_policy$$action, + "client-side-security_policy-description": client$$side$$security_policy$$description, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, + "client-side-security_policy-expression": client$$side$$security_policy$$expression, + "client-side-security_policy-value": client$$side$$security_policy$$value, + "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, request: (args) => ({ @@ -135,27 +143,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "client_side_security_policies_delete", + name: "clientSideSecurity_policies_delete", title: "Delete a content security rule", description: "Permanently deletes a content security rule by ID.\n\nConfirm with the user before calling this tool. This operation permanently deletes the content security rule from the zone.", inputSchema: { type: "object", properties: { - "policy_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "policy_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "policy_id" + ], + "type": "object" } }, required: [ - "zone_id", - "policy_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id$, }, }, annotations: { @@ -188,8 +204,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_messages": client_side_security_messages_output, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_messages": client$$side$$security_messages, }, }, request: (args) => ({ @@ -197,44 +213,52 @@ export const tools: readonly Tool[] = [ }), }, { - name: "client_side_security_policies_get", + name: "clientSideSecurity_policies_get", title: "Get a content security rule", description: "Returns a content security rule by ID.", inputSchema: { type: "object", properties: { - "policy_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "policy_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "policy_id" + ], + "type": "object" } }, required: [ - "zone_id", - "policy_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-policy-response", $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_get-zone-policy-response": client_side_security_get_zone_policy_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_policy": client_side_security_policy_output, - "client-side-security_policy-action": client_side_security_policy_action_output, - "client-side-security_policy-description": client_side_security_policy_description_output, - "client-side-security_policy-enabled": client_side_security_policy_enabled_output, - "client-side-security_policy-expression": client_side_security_policy_expression_output, - "client-side-security_policy-value": client_side_security_policy_value_output, - "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_policy": client$$side$$security_policy, + "client-side-security_policy-action": client$$side$$security_policy$$action, + "client-side-security_policy-description": client$$side$$security_policy$$description, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, + "client-side-security_policy-expression": client$$side$$security_policy$$expression, + "client-side-security_policy-value": client$$side$$security_policy$$value, + "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, annotations: { @@ -272,19 +296,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_get-zone-policy-response": client_side_security_get_zone_policy_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_policy": client_side_security_policy_output, - "client-side-security_policy-action": client_side_security_policy_action_output, - "client-side-security_policy-description": client_side_security_policy_description_output, - "client-side-security_policy-enabled": client_side_security_policy_enabled_output, - "client-side-security_policy-expression": client_side_security_policy_expression_output, - "client-side-security_policy-value": client_side_security_policy_value_output, - "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_policy": client$$side$$security_policy, + "client-side-security_policy-action": client$$side$$security_policy$$action, + "client-side-security_policy-description": client$$side$$security_policy$$description, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, + "client-side-security_policy-expression": client$$side$$security_policy$$expression, + "client-side-security_policy-value": client$$side$$security_policy$$value, + "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, request: (args) => ({ @@ -292,40 +316,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "client_side_security_policies_list", + name: "clientSideSecurity_policies_list", title: "List content security rules", description: "Lists content security rules configured for the zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_list-zone-policies-response", $defs: { - "client-side-security_api-list-response-collection": client_side_security_api_list_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_list-zone-policies-response": client_side_security_list_zone_policies_response_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_policy": client_side_security_policy_output, - "client-side-security_policy-action": client_side_security_policy_action_output, - "client-side-security_policy-description": client_side_security_policy_description_output, - "client-side-security_policy-enabled": client_side_security_policy_enabled_output, - "client-side-security_policy-expression": client_side_security_policy_expression_output, - "client-side-security_policy-value": client_side_security_policy_value_output, - "client-side-security_policy-with-id": client_side_security_policy_with_id_output, - "client-side-security_result_info": client_side_security_result_info_output, + "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_id": client$$side$$security_id, + "client-side-security_list-zone-policies-response": client$$side$$security_list$$zone$$policies$$response, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_policy": client$$side$$security_policy, + "client-side-security_policy-action": client$$side$$security_policy$$action, + "client-side-security_policy-description": client$$side$$security_policy$$description, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, + "client-side-security_policy-expression": client$$side$$security_policy$$expression, + "client-side-security_policy-value": client$$side$$security_policy$$value, + "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, + "client-side-security_result_info": client$$side$$security_result_info, }, }, annotations: { @@ -363,20 +395,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-list-response-collection": client_side_security_api_list_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_list-zone-policies-response": client_side_security_list_zone_policies_response_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_policy": client_side_security_policy_output, - "client-side-security_policy-action": client_side_security_policy_action_output, - "client-side-security_policy-description": client_side_security_policy_description_output, - "client-side-security_policy-enabled": client_side_security_policy_enabled_output, - "client-side-security_policy-expression": client_side_security_policy_expression_output, - "client-side-security_policy-value": client_side_security_policy_value_output, - "client-side-security_policy-with-id": client_side_security_policy_with_id_output, - "client-side-security_result_info": client_side_security_result_info_output, + "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_id": client$$side$$security_id, + "client-side-security_list-zone-policies-response": client$$side$$security_list$$zone$$policies$$response, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_policy": client$$side$$security_policy, + "client-side-security_policy-action": client$$side$$security_policy$$action, + "client-side-security_policy-description": client$$side$$security_policy$$description, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, + "client-side-security_policy-expression": client$$side$$security_policy$$expression, + "client-side-security_policy-value": client$$side$$security_policy$$value, + "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, + "client-side-security_result_info": client$$side$$security_result_info, }, }, request: (args) => ({ @@ -384,7 +416,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "client_side_security_policies_update", + name: "clientSideSecurity_policies_update", title: "Update a content security rule", description: "Updates the description, action, expression, enabled state, and policy value for a content security rule.", inputSchema: { @@ -415,44 +447,52 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "policy_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "policy_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "policy_id" + ], + "type": "object" } }, required: [ - "zone_id", - "policy_id", + "path", "body" ], $defs: { - "client-side-security_id": client_side_security_id, - "client-side-security_policy-action": client_side_security_policy_action, - "client-side-security_policy-description": client_side_security_policy_description, - "client-side-security_policy-enabled": client_side_security_policy_enabled, - "client-side-security_policy-expression": client_side_security_policy_expression, - "client-side-security_policy-value": client_side_security_policy_value, + "client-side-security_id": client$$side$$security_id$, + "client-side-security_policy-action": client$$side$$security_policy$$action$, + "client-side-security_policy-description": client$$side$$security_policy$$description$, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled$, + "client-side-security_policy-expression": client$$side$$security_policy$$expression$, + "client-side-security_policy-value": client$$side$$security_policy$$value$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-policy-response", $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_get-zone-policy-response": client_side_security_get_zone_policy_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_policy": client_side_security_policy_output, - "client-side-security_policy-action": client_side_security_policy_action_output, - "client-side-security_policy-description": client_side_security_policy_description_output, - "client-side-security_policy-enabled": client_side_security_policy_enabled_output, - "client-side-security_policy-expression": client_side_security_policy_expression_output, - "client-side-security_policy-value": client_side_security_policy_value_output, - "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_policy": client$$side$$security_policy, + "client-side-security_policy-action": client$$side$$security_policy$$action, + "client-side-security_policy-description": client$$side$$security_policy$$description, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, + "client-side-security_policy-expression": client$$side$$security_policy$$expression, + "client-side-security_policy-value": client$$side$$security_policy$$value, + "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, annotations: { @@ -487,19 +527,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_get-zone-policy-response": client_side_security_get_zone_policy_response_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_policy": client_side_security_policy_output, - "client-side-security_policy-action": client_side_security_policy_action_output, - "client-side-security_policy-description": client_side_security_policy_description_output, - "client-side-security_policy-enabled": client_side_security_policy_enabled_output, - "client-side-security_policy-expression": client_side_security_policy_expression_output, - "client-side-security_policy-value": client_side_security_policy_value_output, - "client-side-security_policy-with-id": client_side_security_policy_with_id_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, + "client-side-security_id": client$$side$$security_id, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_policy": client$$side$$security_policy, + "client-side-security_policy-action": client$$side$$security_policy$$action, + "client-side-security_policy-description": client$$side$$security_policy$$description, + "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, + "client-side-security_policy-expression": client$$side$$security_policy$$expression, + "client-side-security_policy-value": client$$side$$security_policy$$value, + "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/clientSideSecurity/schemas.ts b/src/generated/forge-mcp/clientSideSecurity/schemas.ts index b9302883a..ece7e733b 100644 --- a/src/generated/forge-mcp/clientSideSecurity/schemas.ts +++ b/src/generated/forge-mcp/clientSideSecurity/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `client-side-security_id`. */ -export const client_side_security_id: JsonSchema = { +export const client$$side$$security_id: JsonSchema = { "description": "Identifier", "type": "string" }; diff --git a/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts index 6b15d66a8..996a66e1b 100644 --- a/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `client-side-security_cryptomining_score` in responses. */ -export const client_side_security_cryptomining_score_output: JsonSchema = { +export const client$$side$$security_cryptomining_score: JsonSchema = { "oneOf": [ { "type": "integer" @@ -20,7 +20,7 @@ export const client_side_security_cryptomining_score_output: JsonSchema = { /** * The schema of `client-side-security_dataflow_score` in responses. */ -export const client_side_security_dataflow_score_output: JsonSchema = { +export const client$$side$$security_dataflow_score: JsonSchema = { "oneOf": [ { "type": "integer" @@ -34,7 +34,7 @@ export const client_side_security_dataflow_score_output: JsonSchema = { /** * The schema of `client-side-security_fetched_at` in responses. */ -export const client_side_security_fetched_at_output: JsonSchema = { +export const client$$side$$security_fetched_at: JsonSchema = { "oneOf": [ { "type": "string" @@ -48,7 +48,7 @@ export const client_side_security_fetched_at_output: JsonSchema = { /** * The schema of `client-side-security_get-zone-script-response` in responses. */ -export const client_side_security_get_zone_script_response_output: JsonSchema = { +export const client$$side$$security_get$$zone$$script$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-get-response-collection" @@ -92,7 +92,7 @@ export const client_side_security_get_zone_script_response_output: JsonSchema = /** * The schema of `client-side-security_hash` in responses. */ -export const client_side_security_hash_output: JsonSchema = { +export const client$$side$$security_hash: JsonSchema = { "oneOf": [ { "type": "string" @@ -106,7 +106,7 @@ export const client_side_security_hash_output: JsonSchema = { /** * The schema of `client-side-security_js_integrity_score` in responses. */ -export const client_side_security_js_integrity_score_output: JsonSchema = { +export const client$$side$$security_js_integrity_score: JsonSchema = { "oneOf": [ { "type": "integer" @@ -120,7 +120,7 @@ export const client_side_security_js_integrity_score_output: JsonSchema = { /** * The schema of `client-side-security_list-zone-scripts-response` in responses. */ -export const client_side_security_list_zone_scripts_response_output: JsonSchema = { +export const client$$side$$security_list$$zone$$scripts$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-list-response-collection" @@ -145,7 +145,7 @@ export const client_side_security_list_zone_scripts_response_output: JsonSchema /** * The schema of `client-side-security_magecart_score` in responses. */ -export const client_side_security_magecart_score_output: JsonSchema = { +export const client$$side$$security_magecart_score: JsonSchema = { "oneOf": [ { "type": "integer" @@ -159,7 +159,7 @@ export const client_side_security_magecart_score_output: JsonSchema = { /** * The schema of `client-side-security_malware_score` in responses. */ -export const client_side_security_malware_score_output: JsonSchema = { +export const client$$side$$security_malware_score: JsonSchema = { "oneOf": [ { "type": "integer" @@ -173,7 +173,7 @@ export const client_side_security_malware_score_output: JsonSchema = { /** * The schema of `client-side-security_obfuscation_score` in responses. */ -export const client_side_security_obfuscation_score_output: JsonSchema = { +export const client$$side$$security_obfuscation_score: JsonSchema = { "oneOf": [ { "type": "integer" @@ -187,7 +187,7 @@ export const client_side_security_obfuscation_score_output: JsonSchema = { /** * The schema of `client-side-security_script` in responses. */ -export const client_side_security_script_output: JsonSchema = { +export const client$$side$$security_script: JsonSchema = { "properties": { "added_at": { "format": "date-time", @@ -280,7 +280,7 @@ export const client_side_security_script_output: JsonSchema = { /** * The schema of `client-side-security_version` in responses. */ -export const client_side_security_version_output: JsonSchema = { +export const client$$side$$security_version: JsonSchema = { "properties": { "cryptomining_score": { "$ref": "#/$defs/client-side-security_cryptomining_score" diff --git a/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts b/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts index 09a4acc0e..e5b6734a2 100644 --- a/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts @@ -1,78 +1,86 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - client_side_security_api_get_response_collection_output, - client_side_security_api_list_response_collection_output, - client_side_security_api_response_common_failure_output, - client_side_security_api_response_common_output, - client_side_security_id_output, - client_side_security_messages_output, - client_side_security_result_info_output, + client$$side$$security_api$$get$$response$$collection, + client$$side$$security_api$$list$$response$$collection, + client$$side$$security_api$$response$$common, + client$$side$$security_api$$response$$common$$failure, + client$$side$$security_id, + client$$side$$security_messages, + client$$side$$security_result_info, } from "../outputs.js"; -import { client_side_security_id } from "../schemas.js"; +import { client$$side$$security_id as client$$side$$security_id$ } from "../schemas.js"; import { - client_side_security_cryptomining_score_output, - client_side_security_dataflow_score_output, - client_side_security_fetched_at_output, - client_side_security_get_zone_script_response_output, - client_side_security_hash_output, - client_side_security_js_integrity_score_output, - client_side_security_list_zone_scripts_response_output, - client_side_security_magecart_score_output, - client_side_security_malware_score_output, - client_side_security_obfuscation_score_output, - client_side_security_script_output, - client_side_security_version_output, + client$$side$$security_cryptomining_score, + client$$side$$security_dataflow_score, + client$$side$$security_fetched_at, + client$$side$$security_get$$zone$$script$$response, + client$$side$$security_hash, + client$$side$$security_js_integrity_score, + client$$side$$security_list$$zone$$scripts$$response, + client$$side$$security_magecart_score, + client$$side$$security_malware_score, + client$$side$$security_obfuscation_score, + client$$side$$security_script, + client$$side$$security_version, } from "./outputs.js"; /** - * The tools of `client_side_security.scripts`. + * The tools of `clientSideSecurity.scripts`. */ export const tools: readonly Tool[] = [ { - name: "client_side_security_scripts_get", + name: "clientSideSecurity_scripts_get", title: "Get a detected script", description: "Returns a script detected on the zone by script ID.", inputSchema: { type: "object", properties: { - "script_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "script_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "script_id" + ], + "type": "object" } }, required: [ - "zone_id", - "script_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-script-response", $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_cryptomining_score": client_side_security_cryptomining_score_output, - "client-side-security_dataflow_score": client_side_security_dataflow_score_output, - "client-side-security_fetched_at": client_side_security_fetched_at_output, - "client-side-security_get-zone-script-response": client_side_security_get_zone_script_response_output, - "client-side-security_hash": client_side_security_hash_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_js_integrity_score": client_side_security_js_integrity_score_output, - "client-side-security_magecart_score": client_side_security_magecart_score_output, - "client-side-security_malware_score": client_side_security_malware_score_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_obfuscation_score": client_side_security_obfuscation_score_output, - "client-side-security_script": client_side_security_script_output, - "client-side-security_version": client_side_security_version_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_cryptomining_score": client$$side$$security_cryptomining_score, + "client-side-security_dataflow_score": client$$side$$security_dataflow_score, + "client-side-security_fetched_at": client$$side$$security_fetched_at, + "client-side-security_get-zone-script-response": client$$side$$security_get$$zone$$script$$response, + "client-side-security_hash": client$$side$$security_hash, + "client-side-security_id": client$$side$$security_id, + "client-side-security_js_integrity_score": client$$side$$security_js_integrity_score, + "client-side-security_magecart_score": client$$side$$security_magecart_score, + "client-side-security_malware_score": client$$side$$security_malware_score, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_obfuscation_score": client$$side$$security_obfuscation_score, + "client-side-security_script": client$$side$$security_script, + "client-side-security_version": client$$side$$security_version, }, }, annotations: { @@ -110,22 +118,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_cryptomining_score": client_side_security_cryptomining_score_output, - "client-side-security_dataflow_score": client_side_security_dataflow_score_output, - "client-side-security_fetched_at": client_side_security_fetched_at_output, - "client-side-security_get-zone-script-response": client_side_security_get_zone_script_response_output, - "client-side-security_hash": client_side_security_hash_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_js_integrity_score": client_side_security_js_integrity_score_output, - "client-side-security_magecart_score": client_side_security_magecart_score_output, - "client-side-security_malware_score": client_side_security_malware_score_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_obfuscation_score": client_side_security_obfuscation_score_output, - "client-side-security_script": client_side_security_script_output, - "client-side-security_version": client_side_security_version_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_cryptomining_score": client$$side$$security_cryptomining_score, + "client-side-security_dataflow_score": client$$side$$security_dataflow_score, + "client-side-security_fetched_at": client$$side$$security_fetched_at, + "client-side-security_get-zone-script-response": client$$side$$security_get$$zone$$script$$response, + "client-side-security_hash": client$$side$$security_hash, + "client-side-security_id": client$$side$$security_id, + "client-side-security_js_integrity_score": client$$side$$security_js_integrity_score, + "client-side-security_magecart_score": client$$side$$security_magecart_score, + "client-side-security_malware_score": client$$side$$security_malware_score, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_obfuscation_score": client$$side$$security_obfuscation_score, + "client-side-security_script": client$$side$$security_script, + "client-side-security_version": client$$side$$security_version, }, }, request: (args) => ({ @@ -133,107 +141,120 @@ export const tools: readonly Tool[] = [ }), }, { - name: "client_side_security_scripts_list", + name: "clientSideSecurity_scripts_list", title: "List detected scripts", description: "Lists scripts detected on webpages in the zone, with filtering and pagination.", inputSchema: { type: "object", properties: { - "direction": { - "description": "The direction used to sort returned scripts.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "exclude_cdn_cgi": { - "default": true, - "description": "When true, excludes scripts seen in a `/cdn-cgi` path from the returned scripts. The default value is true.", - "type": "boolean" - }, - "exclude_duplicates": { - "default": true, - "description": "When true, excludes duplicate scripts. We consider a script duplicate of another if their javascript\ncontent matches and they share the same url host and zone hostname. In such case, we return the most\nrecent script for the URL host and zone hostname combination.\n", - "type": "boolean" - }, - "exclude_urls": { - "description": "Excludes scripts whose URL contains one of the URL-encoded URLs separated by commas.\n", - "type": "string" - }, - "export": { - "description": "Export the list of scripts as a file, limited to 50000 entries.", - "enum": [ - "csv" - ], - "type": "string" - }, - "hosts": { - "description": "Includes scripts that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", - "type": "string" - }, - "order_by": { - "description": "The field used to sort returned scripts.", - "enum": [ - "first_seen_at", - "last_seen_at" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id" ], - "type": "string" - }, - "page": { - "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the scripts\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of scripts\n", - "type": "string" - }, - "page_url": { - "description": "Includes scripts that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", - "type": "string" - }, - "per_page": { - "description": "The number of results per page.", - "type": "number" - }, - "prioritize_malicious": { - "description": "When true, malicious scripts appear first in the returned scripts.", - "type": "boolean" - }, - "status": { - "description": "Filters the returned scripts using a comma-separated list of scripts statuses. Accepted values: `active`, `infrequent`, and `inactive`. The default value is `active`.", - "type": "string" - }, - "urls": { - "description": "Includes scripts whose URL contain one or more URL-encoded URLs separated by commas.\n", - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "query": { + "properties": { + "direction": { + "description": "The direction used to sort returned scripts.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "exclude_cdn_cgi": { + "default": true, + "description": "When true, excludes scripts seen in a `/cdn-cgi` path from the returned scripts. The default value is true.", + "type": "boolean" + }, + "exclude_duplicates": { + "default": true, + "description": "When true, excludes duplicate scripts. We consider a script duplicate of another if their javascript\ncontent matches and they share the same url host and zone hostname. In such case, we return the most\nrecent script for the URL host and zone hostname combination.\n", + "type": "boolean" + }, + "exclude_urls": { + "description": "Excludes scripts whose URL contains one of the URL-encoded URLs separated by commas.\n", + "type": "string" + }, + "export": { + "description": "Export the list of scripts as a file, limited to 50000 entries.", + "enum": [ + "csv" + ], + "type": "string" + }, + "hosts": { + "description": "Includes scripts that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "type": "string" + }, + "order_by": { + "description": "The field used to sort returned scripts.", + "enum": [ + "first_seen_at", + "last_seen_at" + ], + "type": "string" + }, + "page": { + "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the scripts\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of scripts\n", + "type": "string" + }, + "page_url": { + "description": "Includes scripts that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "type": "string" + }, + "per_page": { + "description": "The number of results per page.", + "type": "number" + }, + "prioritize_malicious": { + "description": "When true, malicious scripts appear first in the returned scripts.", + "type": "boolean" + }, + "status": { + "description": "Filters the returned scripts using a comma-separated list of scripts statuses. Accepted values: `active`, `infrequent`, and `inactive`. The default value is `active`.", + "type": "string" + }, + "urls": { + "description": "Includes scripts whose URL contain one or more URL-encoded URLs separated by commas.\n", + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id$, }, }, outputSchema: { "$ref": "#/$defs/client-side-security_list-zone-scripts-response", $defs: { - "client-side-security_api-list-response-collection": client_side_security_api_list_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_cryptomining_score": client_side_security_cryptomining_score_output, - "client-side-security_dataflow_score": client_side_security_dataflow_score_output, - "client-side-security_fetched_at": client_side_security_fetched_at_output, - "client-side-security_hash": client_side_security_hash_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_js_integrity_score": client_side_security_js_integrity_score_output, - "client-side-security_list-zone-scripts-response": client_side_security_list_zone_scripts_response_output, - "client-side-security_magecart_score": client_side_security_magecart_score_output, - "client-side-security_malware_score": client_side_security_malware_score_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_obfuscation_score": client_side_security_obfuscation_score_output, - "client-side-security_result_info": client_side_security_result_info_output, - "client-side-security_script": client_side_security_script_output, + "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_cryptomining_score": client$$side$$security_cryptomining_score, + "client-side-security_dataflow_score": client$$side$$security_dataflow_score, + "client-side-security_fetched_at": client$$side$$security_fetched_at, + "client-side-security_hash": client$$side$$security_hash, + "client-side-security_id": client$$side$$security_id, + "client-side-security_js_integrity_score": client$$side$$security_js_integrity_score, + "client-side-security_list-zone-scripts-response": client$$side$$security_list$$zone$$scripts$$response, + "client-side-security_magecart_score": client$$side$$security_magecart_score, + "client-side-security_malware_score": client$$side$$security_malware_score, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_obfuscation_score": client$$side$$security_obfuscation_score, + "client-side-security_result_info": client$$side$$security_result_info, + "client-side-security_script": client$$side$$security_script, }, }, annotations: { @@ -271,40 +292,40 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-list-response-collection": client_side_security_api_list_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_cryptomining_score": client_side_security_cryptomining_score_output, - "client-side-security_dataflow_score": client_side_security_dataflow_score_output, - "client-side-security_fetched_at": client_side_security_fetched_at_output, - "client-side-security_hash": client_side_security_hash_output, - "client-side-security_id": client_side_security_id_output, - "client-side-security_js_integrity_score": client_side_security_js_integrity_score_output, - "client-side-security_list-zone-scripts-response": client_side_security_list_zone_scripts_response_output, - "client-side-security_magecart_score": client_side_security_magecart_score_output, - "client-side-security_malware_score": client_side_security_malware_score_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_obfuscation_score": client_side_security_obfuscation_score_output, - "client-side-security_result_info": client_side_security_result_info_output, - "client-side-security_script": client_side_security_script_output, + "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_cryptomining_score": client$$side$$security_cryptomining_score, + "client-side-security_dataflow_score": client$$side$$security_dataflow_score, + "client-side-security_fetched_at": client$$side$$security_fetched_at, + "client-side-security_hash": client$$side$$security_hash, + "client-side-security_id": client$$side$$security_id, + "client-side-security_js_integrity_score": client$$side$$security_js_integrity_score, + "client-side-security_list-zone-scripts-response": client$$side$$security_list$$zone$$scripts$$response, + "client-side-security_magecart_score": client$$side$$security_magecart_score, + "client-side-security_malware_score": client$$side$$security_malware_score, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_obfuscation_score": client$$side$$security_obfuscation_score, + "client-side-security_result_info": client$$side$$security_result_info, + "client-side-security_script": client$$side$$security_script, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/page_shield/scripts`, query: [ - ["exclude_urls", args["exclude_urls"], true], - ["urls", args["urls"], true], - ["hosts", args["hosts"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order_by", args["order_by"], true], - ["direction", args["direction"], true], - ["prioritize_malicious", args["prioritize_malicious"], true], - ["exclude_cdn_cgi", args["exclude_cdn_cgi"], true], - ["exclude_duplicates", args["exclude_duplicates"], true], - ["status", args["status"], true], - ["page_url", args["page_url"], true], - ["export", args["export"], true], + ["exclude_urls", param(args, "query", "exclude_urls"), true], + ["urls", param(args, "query", "urls"), true], + ["hosts", param(args, "query", "hosts"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order_by", param(args, "query", "order_by"), true], + ["direction", param(args, "query", "direction"), true], + ["prioritize_malicious", param(args, "query", "prioritize_malicious"), true], + ["exclude_cdn_cgi", param(args, "query", "exclude_cdn_cgi"), true], + ["exclude_duplicates", param(args, "query", "exclude_duplicates"), true], + ["status", param(args, "query", "status"), true], + ["page_url", param(args, "query", "page_url"), true], + ["export", param(args, "query", "export"), true], ], }), }, diff --git a/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts index eebcf031f..a5eb102d3 100644 --- a/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `client-side-security_api-response-single` in responses. */ -export const client_side_security_api_response_single_output: JsonSchema = { +export const client$$side$$security_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-response-common" @@ -25,14 +25,14 @@ export const client_side_security_api_response_single_output: JsonSchema = { /** * The schema of `client-side-security_enabled` in responses. */ -export const client_side_security_enabled_output: JsonSchema = { +export const client$$side$$security_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `client-side-security_get-zone-settings-response` in responses. */ -export const client_side_security_get_zone_settings_response_output: JsonSchema = { +export const client$$side$$security_get$$zone$$settings$$response: JsonSchema = { "properties": { "enabled": { "$ref": "#/$defs/client-side-security_enabled" @@ -60,7 +60,7 @@ export const client_side_security_get_zone_settings_response_output: JsonSchema * The schema of `client-side-security_update-zone-settings-response` in * responses. */ -export const client_side_security_update_zone_settings_response_output: JsonSchema = { +export const client$$side$$security_update$$zone$$settings$$response: JsonSchema = { "properties": { "enabled": { "$ref": "#/$defs/client-side-security_enabled" @@ -87,7 +87,7 @@ export const client_side_security_update_zone_settings_response_output: JsonSche /** * The schema of `client-side-security_updated_at` in responses. */ -export const client_side_security_updated_at_output: JsonSchema = { +export const client$$side$$security_updated_at: JsonSchema = { "type": "string" }; @@ -95,14 +95,14 @@ export const client_side_security_updated_at_output: JsonSchema = { * The schema of `client-side-security_use_cloudflare_reporting_endpoint` in * responses. */ -export const client_side_security_use_cloudflare_reporting_endpoint_output: JsonSchema = { +export const client$$side$$security_use_cloudflare_reporting_endpoint: JsonSchema = { "type": "boolean" }; /** * The schema of `client-side-security_use_connection_url_path` in responses. */ -export const client_side_security_use_connection_url_path_output: JsonSchema = { +export const client$$side$$security_use_connection_url_path: JsonSchema = { "type": "boolean" }; @@ -110,7 +110,7 @@ export const client_side_security_use_connection_url_path_output: JsonSchema = { * The schema of `client-side-security_zone_settings_response_single` in * responses. */ -export const client_side_security_zone_settings_response_single_output: JsonSchema = { +export const client$$side$$security_zone_settings_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/client-side-security_api-response-single" diff --git a/src/generated/forge-mcp/clientSideSecurity/settings/schemas.ts b/src/generated/forge-mcp/clientSideSecurity/settings/schemas.ts index 272d0d3ad..aea4a08cd 100644 --- a/src/generated/forge-mcp/clientSideSecurity/settings/schemas.ts +++ b/src/generated/forge-mcp/clientSideSecurity/settings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `client-side-security_enabled`. */ -export const client_side_security_enabled: JsonSchema = { +export const client$$side$$security_enabled: JsonSchema = { "description": "When true, indicates that Client-Side Security is enabled.", "type": "boolean" }; @@ -14,7 +14,7 @@ export const client_side_security_enabled: JsonSchema = { /** * The schema of `client-side-security_use_cloudflare_reporting_endpoint`. */ -export const client_side_security_use_cloudflare_reporting_endpoint: JsonSchema = { +export const client$$side$$security_use_cloudflare_reporting_endpoint: JsonSchema = { "description": "When true, CSP reports will be sent to https://csp-reporting.cloudflare.com/cdn-cgi/script_monitor/report", "type": "boolean" }; @@ -22,7 +22,7 @@ export const client_side_security_use_cloudflare_reporting_endpoint: JsonSchema /** * The schema of `client-side-security_use_connection_url_path`. */ -export const client_side_security_use_connection_url_path: JsonSchema = { +export const client$$side$$security_use_connection_url_path: JsonSchema = { "description": "When true, the paths associated with connections URLs will also be analyzed.", "type": "boolean" }; diff --git a/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts b/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts index e08a2066c..b85145ad1 100644 --- a/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts @@ -3,49 +3,57 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - client_side_security_api_get_response_collection_output, - client_side_security_api_response_common_failure_output, - client_side_security_api_response_common_output, - client_side_security_messages_output, + client$$side$$security_api$$get$$response$$collection, + client$$side$$security_api$$response$$common, + client$$side$$security_api$$response$$common$$failure, + client$$side$$security_messages, } from "../outputs.js"; -import { client_side_security_id } from "../schemas.js"; +import { client$$side$$security_id } from "../schemas.js"; import { - client_side_security_api_response_single_output, - client_side_security_enabled_output, - client_side_security_get_zone_settings_response_output, - client_side_security_update_zone_settings_response_output, - client_side_security_updated_at_output, - client_side_security_use_cloudflare_reporting_endpoint_output, - client_side_security_use_connection_url_path_output, - client_side_security_zone_settings_response_single_output, + client$$side$$security_api$$response$$single, + client$$side$$security_enabled, + client$$side$$security_get$$zone$$settings$$response, + client$$side$$security_update$$zone$$settings$$response, + client$$side$$security_updated_at, + client$$side$$security_use_cloudflare_reporting_endpoint, + client$$side$$security_use_connection_url_path, + client$$side$$security_zone_settings_response_single, } from "./outputs.js"; import { - client_side_security_enabled, - client_side_security_use_cloudflare_reporting_endpoint, - client_side_security_use_connection_url_path, + client$$side$$security_enabled as client$$side$$security_enabled$, + client$$side$$security_use_cloudflare_reporting_endpoint as client$$side$$security_use_cloudflare_reporting_endpoint$, + client$$side$$security_use_connection_url_path as client$$side$$security_use_connection_url_path$, } from "./schemas.js"; /** - * The tools of `client_side_security.settings`. + * The tools of `clientSideSecurity.settings`. */ export const tools: readonly Tool[] = [ { - name: "client_side_security_settings_get", + name: "clientSideSecurity_settings_get", title: "Get client-side security settings", description: "Returns the client-side security product enablement status and reporting behaviors.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "client-side-security_id": client_side_security_id, + "client-side-security_id": client$$side$$security_id, }, }, outputSchema: { @@ -63,14 +71,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_enabled": client_side_security_enabled_output, - "client-side-security_get-zone-settings-response": client_side_security_get_zone_settings_response_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_updated_at": client_side_security_updated_at_output, - "client-side-security_use_cloudflare_reporting_endpoint": client_side_security_use_cloudflare_reporting_endpoint_output, - "client-side-security_use_connection_url_path": client_side_security_use_connection_url_path_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_enabled": client$$side$$security_enabled, + "client-side-security_get-zone-settings-response": client$$side$$security_get$$zone$$settings$$response, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_updated_at": client$$side$$security_updated_at, + "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint, + "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path, }, }, annotations: { @@ -120,15 +128,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-get-response-collection": client_side_security_api_get_response_collection_output, - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_enabled": client_side_security_enabled_output, - "client-side-security_get-zone-settings-response": client_side_security_get_zone_settings_response_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_updated_at": client_side_security_updated_at_output, - "client-side-security_use_cloudflare_reporting_endpoint": client_side_security_use_cloudflare_reporting_endpoint_output, - "client-side-security_use_connection_url_path": client_side_security_use_connection_url_path_output, + "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_enabled": client$$side$$security_enabled, + "client-side-security_get-zone-settings-response": client$$side$$security_get$$zone$$settings$$response, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_updated_at": client$$side$$security_updated_at, + "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint, + "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path, }, }, request: (args) => ({ @@ -136,7 +144,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "client_side_security_settings_update", + name: "clientSideSecurity_settings_update", title: "Update client-side security settings", description: "Updates client-side security enablement and reporting behaviors for the zone.", inputSchema: { @@ -159,20 +167,28 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/client-side-security_id", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "client-side-security_enabled": client_side_security_enabled, - "client-side-security_id": client_side_security_id, - "client-side-security_use_cloudflare_reporting_endpoint": client_side_security_use_cloudflare_reporting_endpoint, - "client-side-security_use_connection_url_path": client_side_security_use_connection_url_path, + "client-side-security_enabled": client$$side$$security_enabled$, + "client-side-security_id": client$$side$$security_id, + "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint$, + "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path$, }, }, outputSchema: { @@ -190,15 +206,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-single": client_side_security_api_response_single_output, - "client-side-security_enabled": client_side_security_enabled_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_update-zone-settings-response": client_side_security_update_zone_settings_response_output, - "client-side-security_updated_at": client_side_security_updated_at_output, - "client-side-security_use_cloudflare_reporting_endpoint": client_side_security_use_cloudflare_reporting_endpoint_output, - "client-side-security_use_connection_url_path": client_side_security_use_connection_url_path_output, - "client-side-security_zone_settings_response_single": client_side_security_zone_settings_response_single_output, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-single": client$$side$$security_api$$response$$single, + "client-side-security_enabled": client$$side$$security_enabled, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_update-zone-settings-response": client$$side$$security_update$$zone$$settings$$response, + "client-side-security_updated_at": client$$side$$security_updated_at, + "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint, + "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path, + "client-side-security_zone_settings_response_single": client$$side$$security_zone_settings_response_single, }, }, annotations: { @@ -245,16 +261,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "client-side-security_api-response-common": client_side_security_api_response_common_output, - "client-side-security_api-response-common-failure": client_side_security_api_response_common_failure_output, - "client-side-security_api-response-single": client_side_security_api_response_single_output, - "client-side-security_enabled": client_side_security_enabled_output, - "client-side-security_messages": client_side_security_messages_output, - "client-side-security_update-zone-settings-response": client_side_security_update_zone_settings_response_output, - "client-side-security_updated_at": client_side_security_updated_at_output, - "client-side-security_use_cloudflare_reporting_endpoint": client_side_security_use_cloudflare_reporting_endpoint_output, - "client-side-security_use_connection_url_path": client_side_security_use_connection_url_path_output, - "client-side-security_zone_settings_response_single": client_side_security_zone_settings_response_single_output, + "client-side-security_api-response-common": client$$side$$security_api$$response$$common, + "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, + "client-side-security_api-response-single": client$$side$$security_api$$response$$single, + "client-side-security_enabled": client$$side$$security_enabled, + "client-side-security_messages": client$$side$$security_messages, + "client-side-security_update-zone-settings-response": client$$side$$security_update$$zone$$settings$$response, + "client-side-security_updated_at": client$$side$$security_updated_at, + "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint, + "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path, + "client-side-security_zone_settings_response_single": client$$side$$security_zone_settings_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudConnector/rules/outputs.ts b/src/generated/forge-mcp/cloudConnector/rules/outputs.ts index 76e79bc1e..e2606c1df 100644 --- a/src/generated/forge-mcp/cloudConnector/rules/outputs.ts +++ b/src/generated/forge-mcp/cloudConnector/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloud-connector_api-response-common` in responses. */ -export const cloud_connector_api_response_common_output: JsonSchema = { +export const cloud$$connector_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cloud-connector_messages" @@ -32,7 +32,7 @@ export const cloud_connector_api_response_common_output: JsonSchema = { /** * The schema of `cloud-connector_api-response-common-failure` in responses. */ -export const cloud_connector_api_response_common_failure_output: JsonSchema = { +export const cloud$$connector_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cloud-connector_messages" @@ -62,7 +62,7 @@ export const cloud_connector_api_response_common_failure_output: JsonSchema = { /** * The schema of `cloud-connector_messages` in responses. */ -export const cloud_connector_messages_output: JsonSchema = { +export const cloud$$connector_messages: JsonSchema = { "items": { "properties": { "code": { @@ -95,7 +95,7 @@ export const cloud_connector_messages_output: JsonSchema = { /** * The schema of `cloud-connector_provider` in responses. */ -export const cloud_connector_provider_output: JsonSchema = { +export const cloud$$connector_provider: JsonSchema = { "enum": [ "aws_s3", "cloudflare_r2", @@ -109,7 +109,7 @@ export const cloud_connector_provider_output: JsonSchema = { /** * The schema of `cloud-connector_rule` in responses. */ -export const cloud_connector_rule_output: JsonSchema = { +export const cloud$$connector_rule: JsonSchema = { "properties": { "description": { "type": "string" @@ -141,7 +141,7 @@ export const cloud_connector_rule_output: JsonSchema = { /** * The schema of `cloud-connector_rules` in responses. */ -export const cloud_connector_rules_output: JsonSchema = { +export const cloud$$connector_rules: JsonSchema = { "items": { "$ref": "#/$defs/cloud-connector_rule" }, diff --git a/src/generated/forge-mcp/cloudConnector/rules/schemas.ts b/src/generated/forge-mcp/cloudConnector/rules/schemas.ts index 8c43b61fa..8903918d7 100644 --- a/src/generated/forge-mcp/cloudConnector/rules/schemas.ts +++ b/src/generated/forge-mcp/cloudConnector/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloud-connector_identifier`. */ -export const cloud_connector_identifier: JsonSchema = { +export const cloud$$connector_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -14,7 +14,7 @@ export const cloud_connector_identifier: JsonSchema = { /** * The schema of `cloud-connector_provider`. */ -export const cloud_connector_provider: JsonSchema = { +export const cloud$$connector_provider: JsonSchema = { "description": "Cloud Provider type", "enum": [ "aws_s3", @@ -29,7 +29,7 @@ export const cloud_connector_provider: JsonSchema = { /** * The schema of `cloud-connector_rule`. */ -export const cloud_connector_rule: JsonSchema = { +export const cloud$$connector_rule: JsonSchema = { "properties": { "description": { "type": "string" diff --git a/src/generated/forge-mcp/cloudConnector/rules/tools.ts b/src/generated/forge-mcp/cloudConnector/rules/tools.ts index 79a9ac9e5..851c19585 100644 --- a/src/generated/forge-mcp/cloudConnector/rules/tools.ts +++ b/src/generated/forge-mcp/cloudConnector/rules/tools.ts @@ -3,40 +3,48 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cloud_connector_api_response_common_failure_output, - cloud_connector_api_response_common_output, - cloud_connector_messages_output, - cloud_connector_provider_output, - cloud_connector_rule_output, - cloud_connector_rules_output, + cloud$$connector_api$$response$$common, + cloud$$connector_api$$response$$common$$failure, + cloud$$connector_messages, + cloud$$connector_provider, + cloud$$connector_rule, + cloud$$connector_rules, } from "./outputs.js"; import { - cloud_connector_identifier, - cloud_connector_provider, - cloud_connector_rule, + cloud$$connector_identifier, + cloud$$connector_provider as cloud$$connector_provider$, + cloud$$connector_rule as cloud$$connector_rule$, } from "./schemas.js"; /** - * The tools of `cloud_connector.rules`. + * The tools of `cloudConnector.rules`. */ export const tools: readonly Tool[] = [ { - name: "cloud_connector_rules_list", + name: "cloudConnector_rules_list", title: "Rules", description: "Retrieves the Cloud Connector rules configured for a zone. Rules define how traffic is routed to cloud services.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cloud-connector_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cloud-connector_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cloud-connector_identifier": cloud_connector_identifier, + "cloud-connector_identifier": cloud$$connector_identifier, }, }, outputSchema: { @@ -54,11 +62,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloud-connector_api-response-common": cloud_connector_api_response_common_output, - "cloud-connector_messages": cloud_connector_messages_output, - "cloud-connector_provider": cloud_connector_provider_output, - "cloud-connector_rule": cloud_connector_rule_output, - "cloud-connector_rules": cloud_connector_rules_output, + "cloud-connector_api-response-common": cloud$$connector_api$$response$$common, + "cloud-connector_messages": cloud$$connector_messages, + "cloud-connector_provider": cloud$$connector_provider, + "cloud-connector_rule": cloud$$connector_rule, + "cloud-connector_rules": cloud$$connector_rules, }, }, annotations: { @@ -107,12 +115,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloud-connector_api-response-common": cloud_connector_api_response_common_output, - "cloud-connector_api-response-common-failure": cloud_connector_api_response_common_failure_output, - "cloud-connector_messages": cloud_connector_messages_output, - "cloud-connector_provider": cloud_connector_provider_output, - "cloud-connector_rule": cloud_connector_rule_output, - "cloud-connector_rules": cloud_connector_rules_output, + "cloud-connector_api-response-common": cloud$$connector_api$$response$$common, + "cloud-connector_api-response-common-failure": cloud$$connector_api$$response$$common$$failure, + "cloud-connector_messages": cloud$$connector_messages, + "cloud-connector_provider": cloud$$connector_provider, + "cloud-connector_rule": cloud$$connector_rule, + "cloud-connector_rules": cloud$$connector_rules, }, }, request: (args) => ({ @@ -120,7 +128,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloud_connector_rules_update", + name: "cloudConnector_rules_update", title: "Put Rules", description: "Updates Cloud Connector rules for a zone, replacing the existing rule configuration.", inputSchema: { @@ -132,19 +140,27 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/cloud-connector_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cloud-connector_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cloud-connector_identifier": cloud_connector_identifier, - "cloud-connector_provider": cloud_connector_provider, - "cloud-connector_rule": cloud_connector_rule, + "cloud-connector_identifier": cloud$$connector_identifier, + "cloud-connector_provider": cloud$$connector_provider$, + "cloud-connector_rule": cloud$$connector_rule$, }, }, outputSchema: { @@ -162,11 +178,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloud-connector_api-response-common": cloud_connector_api_response_common_output, - "cloud-connector_messages": cloud_connector_messages_output, - "cloud-connector_provider": cloud_connector_provider_output, - "cloud-connector_rule": cloud_connector_rule_output, - "cloud-connector_rules": cloud_connector_rules_output, + "cloud-connector_api-response-common": cloud$$connector_api$$response$$common, + "cloud-connector_messages": cloud$$connector_messages, + "cloud-connector_provider": cloud$$connector_provider, + "cloud-connector_rule": cloud$$connector_rule, + "cloud-connector_rules": cloud$$connector_rules, }, }, annotations: { @@ -214,12 +230,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloud-connector_api-response-common": cloud_connector_api_response_common_output, - "cloud-connector_api-response-common-failure": cloud_connector_api_response_common_failure_output, - "cloud-connector_messages": cloud_connector_messages_output, - "cloud-connector_provider": cloud_connector_provider_output, - "cloud-connector_rule": cloud_connector_rule_output, - "cloud-connector_rules": cloud_connector_rules_output, + "cloud-connector_api-response-common": cloud$$connector_api$$response$$common, + "cloud-connector_api-response-common-failure": cloud$$connector_api$$response$$common$$failure, + "cloud-connector_messages": cloud$$connector_messages, + "cloud-connector_provider": cloud$$connector_provider, + "cloud-connector_rule": cloud$$connector_rule, + "cloud-connector_rules": cloud$$connector_rules, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts b/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts index b74f05d15..f9416402c 100644 --- a/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts @@ -4,28 +4,36 @@ import { type Tool, pathParam } from "../../_/tool.js"; /** - * The tools of `cloudforce_one.binary_storage`. + * The tools of `cloudforceOne.binaryStorage`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_binary_storage_get", + name: "cloudforceOne_binaryStorage_get", title: "Retrieves a file from Binary Storage", description: "Retrieves a binary file from the Cloudforce One binary storage for analysis.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "hash": { - "description": "hash of the binary", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "hash": { + "description": "hash of the binary", + "type": "string" + } + }, + "required": [ + "account_id", + "hash" + ], + "type": "object" } }, required: [ - "account_id", - "hash" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts index 9489c38b3..8df7bd83e 100644 --- a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.credential_monitor.domains`. + * The tools of `cloudforceOne.credentialMonitor.domains`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_credential_monitor_domains_create", + name: "cloudforceOne_credentialMonitor_domains_create", title: "Create monitored domain", description: "Register a domain for credential monitoring.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, "body": { "properties": { "domain": { @@ -29,10 +25,22 @@ export const tools: readonly Tool[] = [ "domain" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -173,24 +181,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_credential_monitor_domains_delete", + name: "cloudforceOne_credentialMonitor_domains_delete", title: "Delete monitored domain", description: "Remove a domain from credential monitoring.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "id": { - "description": "Domain ID", - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + }, + "id": { + "description": "Domain ID", + "type": "integer" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -314,29 +330,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_credential_monitor_domains_list", + name: "cloudforceOne_credentialMonitor_domains_list", title: "List monitored domains", description: "List all domains registered for credential monitoring.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number", - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 100, - "description": "Items per page", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Items per page", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -507,8 +536,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/credential-monitor/domains`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts index 3557b8188..e3eac415f 100644 --- a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts @@ -1,44 +1,57 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.credential_monitor.matches`. + * The tools of `cloudforceOne.credentialMonitor.matches`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_credential_monitor_matches_list", + name: "cloudforceOne_credentialMonitor_matches_list", title: "List credential matches", description: "Get credential matches for the account's monitored domains.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "domain": { - "description": "Filter by domain (exact match)", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number", - "type": "integer" - }, - "per_page": { - "default": 100, - "description": "Items per page", - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "username": { - "description": "Filter by username (partial match)", - "type": "string" + "query": { + "properties": { + "domain": { + "description": "Filter by domain (exact match)", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Items per page", + "type": "integer" + }, + "username": { + "description": "Filter by username (partial match)", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -217,10 +230,10 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/credential-monitor/matches`, query: [ - ["domain", args["domain"], true], - ["username", args["username"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["domain", param(args, "query", "domain"), true], + ["username", param(args, "query", "username"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts index 8cb23b33e..fc9a25c11 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts @@ -4,22 +4,30 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.priority_intelligence.constants`. + * The tools of `cloudforceOne.priorityIntelligence.constants`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_priority_intelligence_constants_get", + name: "cloudforceOne_priorityIntelligence_constants_get", title: "Get PIR constants (methods, dimensions, and TLP values)", description: "Requirements is the existing free-form PIR method. Interests is the experimental structured-interest method, evaluated independently from requirements.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts index 84f72bdd8..fa626e19b 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts @@ -4,19 +4,16 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.priority_intelligence.filters`. + * The tools of `cloudforceOne.priorityIntelligence.filters`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_priority_intelligence_filters_generate", + name: "cloudforceOne_priorityIntelligence_filters_generate", title: "Generate event filters from a PIR", description: "Translates a natural-language Priority Intelligence Requirement into Threat Events `searchBranches` with Workers AI. Terms that cannot be expressed as event filters are returned in `unresolved_terms`. Nothing is stored or executed.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "requirement": { @@ -28,10 +25,21 @@ export const tools: readonly Tool[] = [ "requirement" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts index 6ea8d5f65..2f2e995af 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.priority_intelligence.interests.backtests`. + * The tools of `cloudforceOne.priorityIntelligence.interests.backtests`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_priority_intelligence_interests_backtests_create", + name: "cloudforceOne_priorityIntelligence_interests_backtests_create", title: "Backtest account-interest change detection", description: "Uses bounded full-span top-N candidates and daily event-date buckets. Results are conservative rather than an exact historical replay.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, "body": { "properties": { "as_of": { @@ -64,10 +60,22 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { @@ -96,25 +104,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_priority_intelligence_interests_backtests_get", + name: "cloudforceOne_priorityIntelligence_interests_backtests_get", title: "Get a persisted account-interest backtest", description: "Returns a previously completed account-interest backtest by ID. The backtest must belong to this account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "backtest_id": { - "description": "Backtest UUID", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + }, + "backtest_id": { + "description": "Backtest UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "backtest_id" + ], + "type": "object" } }, required: [ - "account_id", - "backtest_id" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts index fd9c7dc2f..bf109a513 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.priority_intelligence.interests.evaluations`. + * The tools of `cloudforceOne.priorityIntelligence.interests.evaluations`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_priority_intelligence_interests_evaluations_create", + name: "cloudforceOne_priorityIntelligence_interests_evaluations_create", title: "Evaluate recent event-dated changes for account interests", description: "Compares the trailing event-date window with the preceding window. Results are precision-gated to enabled account interests. Late ingestion can cause an older event to appear in a later evaluation, so results describe changes in event-dated intelligence rather than exact adversary-activity timing.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, "body": { "properties": { "as_of": { @@ -60,10 +56,22 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { @@ -92,25 +100,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_priority_intelligence_interests_evaluations_get", + name: "cloudforceOne_priorityIntelligence_interests_evaluations_get", title: "Get a persisted account-interest evaluation", description: "Returns a previously completed live account-interest evaluation by ID. The evaluation must belong to this account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "evaluation_id": { - "description": "Evaluation UUID", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + }, + "evaluation_id": { + "description": "Evaluation UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "evaluation_id" + ], + "type": "object" } }, required: [ - "account_id", - "evaluation_id" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts index a8d882770..3d1ba35de 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.priority_intelligence.interests`. + * The tools of `cloudforceOne.priorityIntelligence.interests`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_priority_intelligence_interests_create", + name: "cloudforceOne_priorityIntelligence_interests_create", title: "Create an account interest for PIR Option 2", description: "Creates a structured account interest used by Priority Intelligence Option 2 evaluations. Interests are evaluated independently from free-form PIR requirements.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, "body": { "properties": { "dimension": { @@ -47,10 +43,22 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { @@ -80,25 +88,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_priority_intelligence_interests_delete", + name: "cloudforceOne_priorityIntelligence_interests_delete", title: "Delete an account interest for PIR Option 2", description: "Deletes a structured account interest so later Priority Intelligence Option 2 evaluations no longer include it.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "interest_id": { - "description": "Interest UUID", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + }, + "interest_id": { + "description": "Interest UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "interest_id" + ], + "type": "object" } }, required: [ - "account_id", - "interest_id" + "path" ], }, annotations: { @@ -126,34 +142,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_priority_intelligence_interests_list", + name: "cloudforceOne_priorityIntelligence_interests_list", title: "List account interests for PIR Option 2", description: "Lists structured account interests for Priority Intelligence Option 2. Filter by enabled state and paginate results.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "enabled": { - "enum": [ - "true", - "false" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" + "type": "object" }, - "per_page": { - "default": 20, - "type": "integer" + "query": { + "properties": { + "enabled": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { @@ -180,23 +209,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/interests`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["enabled", args["enabled"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["enabled", param(args, "query", "enabled"), true], ], }), }, { - name: "cloudforce_one_priority_intelligence_interests_update", + name: "cloudforceOne_priorityIntelligence_interests_update", title: "Update an account interest for PIR Option 2", description: "Updates a structured account interest used by Priority Intelligence Option 2 evaluations. Changing the value re-resolves the interest against the current catalog.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, "body": { "properties": { "enabled": { @@ -208,15 +233,27 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "interest_id": { - "description": "Interest UUID", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + }, + "interest_id": { + "description": "Interest UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "interest_id" + ], + "type": "object" } }, required: [ - "account_id", - "interest_id" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts index bfca5b117..21e0d138d 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts @@ -1,63 +1,79 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.priority_intelligence.matches`. + * The tools of `cloudforceOne.priorityIntelligence.matches`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_priority_intelligence_matches_aggregate", + name: "cloudforceOne_priorityIntelligence_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": { - "default": "true", - "description": "Include matches from the 30 days before activation. Defaults to true.", - "enum": [ - "true", - "false" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "priority_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "priority_id" ], - "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" + "type": "object" }, - "triage_state": { - "description": "Only matches in this triage state.", - "enum": [ - "new", - "relevant", - "not_relevant" + "query": { + "properties": { + "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": { + "default": "true", + "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": [ + "aggregate_by" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "priority_id", - "aggregate_by" + "path", + "query" ], }, outputSchema: { @@ -567,60 +583,76 @@ export const tools: readonly Tool[] = [ 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], + ["aggregate_by", param(args, "query", "aggregate_by"), true], + ["limit", param(args, "query", "limit"), true], + ["since", param(args, "query", "since"), true], + ["triage_state", param(args, "query", "triage_state"), true], + ["include_backfill", param(args, "query", "include_backfill"), true], ], }), }, { - name: "cloudforce_one_priority_intelligence_matches_aggregate_all", + name: "cloudforceOne_priorityIntelligence_matches_aggregateAll", 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": { - "default": "true", - "description": "Include matches from the 30 days before activation. Defaults to true.", - "enum": [ - "true", - "false" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" ], - "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" + "type": "object" }, - "triage_state": { - "description": "Only matches in this triage state.", - "enum": [ - "new", - "relevant", - "not_relevant" + "query": { + "properties": { + "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": { + "default": "true", + "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": [ + "aggregate_by" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "aggregate_by" + "path", + "query" ], }, outputSchema: { @@ -1513,50 +1545,63 @@ export const tools: readonly Tool[] = [ 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], + ["aggregate_by", param(args, "query", "aggregate_by"), true], + ["limit", param(args, "query", "limit"), true], + ["since", param(args, "query", "since"), true], + ["triage_state", param(args, "query", "triage_state"), true], + ["include_backfill", param(args, "query", "include_backfill"), true], ], }), }, { - name: "cloudforce_one_priority_intelligence_matches_list", + name: "cloudforceOne_priorityIntelligence_matches_list", title: "List a priority intelligence requirement's matched events", description: "Returns the events matched by the PIR's query, newest match first. Each item has the Event List event fields plus the match fields. Only datasets the account can read now are included, and deleted events are left out, so a page can hold fewer items than `per_page` while `result_info.cursor` is still set. `backfill` matches came from the 30 days before the PIR was activated or its query changed and are never notified. `delivered` matches were included in a digest that the notification service accepted; who receives it depends on the account's notification policies for the PIR. Requires the Threat Events entitlement.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "cursor": { - "description": "`result_info.cursor` from the previous page. Omit for the newest matches.", - "type": "string" - }, - "per_page": { - "default": 50, - "description": "Matches per page.", - "type": "integer" - }, - "priority_id": { - "format": "uuid", - "type": "string" - }, - "triage_state": { - "description": "Only matches in this triage state.", - "enum": [ - "new", - "relevant", - "not_relevant" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "priority_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "priority_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "cursor": { + "description": "`result_info.cursor` from the previous page. Omit for the newest matches.", + "type": "string" + }, + "per_page": { + "default": 50, + "description": "Matches per page.", + "type": "integer" + }, + "triage_state": { + "description": "Only matches in this triage state.", + "enum": [ + "new", + "relevant", + "not_relevant" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "priority_id" + "path" ], }, annotations: { @@ -1585,58 +1630,71 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence/${pathParam(args, "priority_id")}/matches`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], - ["triage_state", args["triage_state"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], + ["triage_state", param(args, "query", "triage_state"), true], ], }), }, { - name: "cloudforce_one_priority_intelligence_matches_series", + name: "cloudforceOne_priorityIntelligence_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": { - "default": "true", - "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" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "priority_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "priority_id" ], - "type": "string" + "type": "object" }, - "until": { - "description": "End of the range, exclusive. ISO 8601; defaults to now. The range is at most 90 days.", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "include_backfill": { + "default": "true", + "description": "Include matches from the 30 days before activation. Defaults to true.", + "enum": [ + "true", + "false" + ], + "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" + } + }, + "type": "object" } }, required: [ - "account_id", - "priority_id" + "path" ], }, outputSchema: { @@ -1766,23 +1824,20 @@ export const tools: readonly Tool[] = [ 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], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], + ["triage_state", param(args, "query", "triage_state"), true], + ["include_backfill", param(args, "query", "include_backfill"), true], ], }), }, { - name: "cloudforce_one_priority_intelligence_matches_update", + name: "cloudforceOne_priorityIntelligence_matches_update", title: "Triage a priority intelligence requirement's matched events", description: "Sets `triage_state` (`new`, `relevant`, or `not_relevant`) on up to 100 matches. Matches that do not exist, or are in datasets the account can no longer read, are returned in `not_found`. Setting `new` clears `triaged_at` and `triaged_by`. Requires the Threat Events entitlement.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "matches": { @@ -1825,14 +1880,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "priority_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "priority_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "priority_id" + ], + "type": "object" } }, required: [ - "account_id", - "priority_id" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts index be1ddc654..5abc4945f 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts @@ -4,22 +4,30 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.priority_intelligence.profile`. + * The tools of `cloudforceOne.priorityIntelligence.profile`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_priority_intelligence_profile_delete", + name: "cloudforceOne_priorityIntelligence_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" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { @@ -48,18 +56,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_priority_intelligence_profile_get", + name: "cloudforceOne_priorityIntelligence_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" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { @@ -89,15 +105,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_priority_intelligence_profile_update", + name: "cloudforceOne_priorityIntelligence_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": { @@ -109,10 +122,21 @@ export const tools: readonly Tool[] = [ "profile" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts index b7b3e98c3..2f3fd36a9 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts @@ -4,22 +4,30 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.priority_intelligence.quota`. + * The tools of `cloudforceOne.priorityIntelligence.quota`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_priority_intelligence_quota_create", + name: "cloudforceOne_priorityIntelligence_quota_create", title: "Get PIR quota for an account", description: "Returns the account's PIR quota. `quota` and `remaining` count active PIRs against the entitlement limit; moving a PIR to draft or deleting it frees its slot. `total_quota` and `total_remaining` count every PIR, drafts included, against five times the limit. Anniversary dates are informational.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts index abf409e57..126e2c8bb 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `cloudforce_one.priority_intelligence`. + * The tools of `cloudforceOne.priorityIntelligence`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_priority_intelligence_create", + name: "cloudforceOne_priorityIntelligence_create", title: "Create a priority intelligence requirement", description: "Creates a new PIR for the account. The cfone.priority_intelligence_requirement_limit entitlement sets how many PIRs can be active; drafts do not count, but the account can hold at most five times that many PIRs in total. An active PIR requires a query.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "dataset_scope": { @@ -510,10 +507,21 @@ export const tools: readonly Tool[] = [ "requirement" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { @@ -545,23 +553,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_priority_intelligence_delete", + name: "cloudforceOne_priorityIntelligence_delete", title: "Delete a priority intelligence requirement", description: "Soft-deletes a PIR. The PIR will no longer count against quota.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "priority_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "priority_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "priority_id" + ], + "type": "object" } }, required: [ - "account_id", - "priority_id" + "path" ], }, annotations: { @@ -590,23 +606,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_priority_intelligence_get", + name: "cloudforceOne_priorityIntelligence_get", title: "Get a priority intelligence requirement by ID", description: "Returns a single free-form Priority Intelligence Requirement for the authenticated account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "priority_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "priority_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "priority_id" + ], + "type": "object" } }, required: [ - "account_id", - "priority_id" + "path" ], }, annotations: { @@ -636,26 +660,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_priority_intelligence_list", + name: "cloudforceOne_priorityIntelligence_list", title: "List priority intelligence requirements for an account", description: "Lists free-form Priority Intelligence Requirements for the account. Results are scoped to the authenticated account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, annotations: { @@ -683,21 +720,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/priority-intelligence`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "cloudforce_one_priority_intelligence_update", + name: "cloudforceOne_priorityIntelligence_update", title: "Update a priority intelligence requirement", description: "Updates a Priority Intelligence Requirement for the authenticated account. Changing the query increments its version; editing the requirement without saving a query marks the query stale. Activating a draft needs a free slot in the active PIR quota; setting `active` on a PIR the matcher paused resumes it without one.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "confirm_query": { @@ -1222,14 +1256,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "priority_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "priority_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "priority_id" + ], + "type": "object" } }, required: [ - "account_id", - "priority_id" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts index 79ba2408a..187923704 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts @@ -4,52 +4,60 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.requests.assets`. + * The tools of `cloudforceOne.requests.assets`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_requests_assets_download", + name: "cloudforceOne_requests_assets_download", title: "Download asset (Customer)", description: "Download a file asset from R2 storage. Customer can only download from their own account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "asset_id": { - "description": "Asset UUID", - "type": "string" - }, - "project_type": { - "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "asset_id": { + "description": "Asset UUID", + "type": "string" + }, + "project_type": { + "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + }, + "request_id": { + "description": "RFI UUID", + "type": "string" + } + }, + "required": [ + "account_id", + "project_type", + "request_id", + "asset_id" ], - "type": "string" - }, - "request_id": { - "description": "RFI UUID", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "project_type", - "request_id", - "asset_id" + "path" ], }, annotations: { @@ -79,43 +87,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_requests_assets_list", + name: "cloudforceOne_requests_assets_list", title: "List assets in request (Customer)", description: "List all file assets for a request. Customer can only list assets from their own account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "project_type": { - "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "project_type": { + "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + }, + "request_id": { + "description": "RFI UUID", + "type": "string" + } + }, + "required": [ + "account_id", + "project_type", + "request_id" ], - "type": "string" - }, - "request_id": { - "description": "RFI UUID", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "project_type", - "request_id" + "path" ], }, outputSchema: { @@ -683,43 +699,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_requests_assets_upload", + name: "cloudforceOne_requests_assets_upload", title: "Upload asset to request (Customer)", description: "Upload a file asset to R2 storage and associate it with a request. Customer can only upload to their own account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "project_type": { - "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "project_type": { + "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + }, + "request_id": { + "description": "RFI UUID", + "type": "string" + } + }, + "required": [ + "account_id", + "project_type", + "request_id" ], - "type": "string" - }, - "request_id": { - "description": "RFI UUID", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "project_type", - "request_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts index c6cdaa4d2..9f1dffe3a 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts @@ -4,42 +4,50 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.requests.constants`. + * The tools of `cloudforceOne.requests.constants`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_requests_constants_get", + name: "cloudforceOne_requests_constants_get", title: "Get request constants", description: "Returns available priorities, statuses, and TLP levels for request workflows", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "project_type": { - "description": "Project type", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + }, + "project_type": { + "description": "Project type", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "project_type" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "project_type" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts index 73187b7ab..a8943bf69 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts @@ -4,23 +4,31 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.requests.legal_response`. + * The tools of `cloudforceOne.requests.legalResponse`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_requests_legal_response_access_check", + name: "cloudforceOne_requests_legalResponse_accessCheck", title: "Check if current user is allowlisted for Legal Response", description: "Returns whether the JWT-authenticated user's email is on the legal-response allowlist. This endpoint is purely informational for UI gating; actual access enforcement is performed by `legalResponseMiddleware` on real legal-response endpoints. Read-only — no Durable Object writes are performed.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID (used for JWT validation only)", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID (used for JWT validation only)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts index 0f1942726..869e569e7 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.requests.messages`. + * The tools of `cloudforceOne.requests.messages`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_requests_messages_create", + name: "cloudforceOne_requests_messages_create", title: "Create a customer follow-on message on an RFI request", description: "Creates a customer dashboard message on an RFI request. Messages are always published on send. Workflow-enabled projects require Idempotency-Key and atomically record message activity and any policy transition. For token-billed project types, substantive follow-on messages consume message tokens and are subject to quarterly quota enforcement.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "attachment_asset_ids": { @@ -56,28 +53,44 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "idempotency_key": { - "description": "Client command key. Required when publishing a message for a workflow-enabled project; trimmed and limited to 255 characters.", - "oneOf": [ - { + "headers": { + "properties": { + "Idempotency-Key": { + "description": "Client command key. Required when publishing a message for a workflow-enabled project; trimmed and limited to 255 characters.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { "type": "string" }, - { - "type": "null" + "project_type": { + "type": "string" + }, + "request_id": { + "type": "string" } - ] - }, - "project_type": { - "type": "string" - }, - "request_id": { - "type": "string" + }, + "required": [ + "account_id", + "project_type", + "request_id" + ], + "type": "object" } }, required: [ - "account_id", - "project_type", - "request_id" + "path" ], }, outputSchema: { @@ -315,36 +328,44 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/messages/new`, headers: [ - ["Idempotency-Key", args["idempotency_key"]], + ["Idempotency-Key", param(args, "headers", "Idempotency-Key")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_requests_messages_get", + name: "cloudforceOne_requests_messages_get", title: "Read a single message for an RFI request", description: "Returns the details for a specific message belonging to an RFI request.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "message_id": { - "type": "string" - }, - "project_type": { - "type": "string" - }, - "request_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "message_id": { + "type": "string" + }, + "project_type": { + "type": "string" + }, + "request_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "project_type", + "request_id", + "message_id" + ], + "type": "object" } }, required: [ - "account_id", - "project_type", - "request_id", - "message_id" + "path" ], }, outputSchema: { @@ -583,34 +604,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_requests_messages_list", + name: "cloudforceOne_requests_messages_list", title: "List messages for an RFI request", description: "Retrieves the published, non-deleted messages visible to the agent for an RFI request, with pagination.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": "1", - "type": "string" - }, - "per_page": { - "default": "10", - "type": "string" - }, - "project_type": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "project_type": { + "type": "string" + }, + "request_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "project_type", + "request_id" + ], + "type": "object" }, - "request_id": { - "type": "string" + "query": { + "properties": { + "page": { + "default": "1", + "type": "string" + }, + "per_page": { + "default": "10", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "project_type", - "request_id" + "path" ], }, outputSchema: { @@ -917,21 +951,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/messages`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "cloudforce_one_requests_messages_update", + name: "cloudforceOne_requests_messages_update", title: "Update/publish a message for an RFI request", description: "Updates an existing message, typically to publish a draft by setting publish=true. Workflow-enabled publication requires Idempotency-Key and atomically records message activity and any policy transition.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "attachment_asset_ids": { @@ -965,32 +996,48 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "idempotency_key": { - "description": "Client command key. Required when publishing a message for a workflow-enabled project; trimmed and limited to 255 characters.", - "oneOf": [ - { + "headers": { + "properties": { + "Idempotency-Key": { + "description": "Client command key. Required when publishing a message for a workflow-enabled project; trimmed and limited to 255 characters.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { "type": "string" }, - { - "type": "null" + "message_id": { + "type": "string" + }, + "project_type": { + "type": "string" + }, + "request_id": { + "type": "string" } - ] - }, - "message_id": { - "type": "string" - }, - "project_type": { - "type": "string" - }, - "request_id": { - "type": "string" + }, + "required": [ + "account_id", + "project_type", + "request_id", + "message_id" + ], + "type": "object" } }, required: [ - "account_id", - "project_type", - "request_id", - "message_id" + "path" ], }, outputSchema: { @@ -1244,7 +1291,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/${pathParam(args, "request_id")}/messages/${pathParam(args, "message_id")}`, headers: [ - ["Idempotency-Key", args["idempotency_key"]], + ["Idempotency-Key", param(args, "headers", "Idempotency-Key")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts index bb47c1a1f..c4676509d 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts @@ -1,53 +1,66 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.requests.metadata`. + * The tools of `cloudforceOne.requests.metadata`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_requests_metadata_list", + name: "cloudforceOne_requests_metadata_list", title: "List metadata fields for an RFI type", description: "Get custom metadata fields available for the specified project type", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "country": { - "description": "Exclude fields restricted for this alpha-2 country code", - "type": "string" - }, - "project_type": { - "description": "Project type", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + }, + "project_type": { + "description": "Project type", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "project_type" ], - "type": "string" + "type": "object" }, - "request_type": { - "description": "Filter fields to those applicable to this request type. Fields without request type restrictions are always included.", - "type": "string" + "query": { + "properties": { + "country": { + "description": "Exclude fields restricted for this alpha-2 country code", + "type": "string" + }, + "request_type": { + "description": "Filter fields to those applicable to this request type. Fields without request type restrictions are always included.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "project_type" + "path" ], }, outputSchema: { @@ -455,8 +468,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}/metadata`, query: [ - ["request_type", args["request_type"], true], - ["country", args["country"], true], + ["request_type", param(args, "query", "request_type"), true], + ["country", param(args, "query", "country"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts index 96a30d78a..6b863b123 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts @@ -4,42 +4,50 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.requests.quota`. + * The tools of `cloudforceOne.requests.quota`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_requests_quota_get", + name: "cloudforceOne_requests_quota_get", title: "Get request token quota", description: "Returns the account's token quota for the current anniversary quarter: total granted, used, remaining, and the quarter/anniversary boundaries.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "project_type": { - "description": "RFI project type", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "project_type": { + "description": "RFI project type", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "project_type" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "project_type" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/tools.ts index 2ada6c457..8fccd1e8c 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/tools.ts @@ -1,97 +1,110 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `cloudforce_one.requests`. + * The tools of `cloudforceOne.requests`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_requests_get_request_list", + name: "cloudforceOne_requests_getRequestList", title: "List RFIs", description: "Retrieves a paginated list of RFIs with filtering and sorting options.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "assignee": { - "type": "string" - }, - "created_by": { - "description": "Filter by creator email. NOTE: For the `legal-response` project type this query parameter is **rejected with HTTP 400** — the server derives the filter from the authenticated user's JWT automatically and does not accept a client-supplied value. Requests to `legal-response` with no valid JWT identity are rejected with HTTP 401.", - "type": "string" - }, - "filter_account_id": { - "type": "string" - }, - "id": { - "type": "string" - }, - "metadata": { - "description": "JSON string object of metadata filters. Supports two formats: 1) Simple values for exact match (backward compatible): {\"status\": \"open\"} 2) Operator objects for advanced filtering: {\"identifiers\": {\"operator\": \"contains_line\", \"value\": \"blah.com\"}}. Available operators: 'eq' (exact match, default), 'contains' (substring match), 'contains_line' (match complete line in newline-separated text). Date fields are automatically normalized to YYYY-MM-DD format.", - "type": "string" - }, - "order": { - "type": "string" - }, - "order_by": { - "description": "Sort field. SOC Communications support customer-safe latest_activity ordering.", - "type": "string" - }, - "page": { - "type": "number" - }, - "page_size": { - "type": "number" - }, - "priority": { - "type": "string" - }, - "project_type": { - "description": "RFI project type", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "project_type": { + "description": "RFI project type", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "project_type" ], - "type": "string" - }, - "readable_id": { - "type": "string" - }, - "request_type": { - "type": "string" - }, - "search": { - "type": "string" - }, - "status": { - "description": "Status filter. Projects with a narrowed dashboard vocabulary accept only their customer-facing values.", - "type": "string" - }, - "summary": { - "type": "string" + "type": "object" }, - "tlp": { - "type": "string" + "query": { + "properties": { + "accountId": { + "type": "string" + }, + "assignee": { + "type": "string" + }, + "createdBy": { + "description": "Filter by creator email. NOTE: For the `legal-response` project type this query parameter is **rejected with HTTP 400** — the server derives the filter from the authenticated user's JWT automatically and does not accept a client-supplied value. Requests to `legal-response` with no valid JWT identity are rejected with HTTP 401.", + "type": "string" + }, + "id": { + "type": "string" + }, + "metadata": { + "description": "JSON string object of metadata filters. Supports two formats: 1) Simple values for exact match (backward compatible): {\"status\": \"open\"} 2) Operator objects for advanced filtering: {\"identifiers\": {\"operator\": \"contains_line\", \"value\": \"blah.com\"}}. Available operators: 'eq' (exact match, default), 'contains' (substring match), 'contains_line' (match complete line in newline-separated text). Date fields are automatically normalized to YYYY-MM-DD format.", + "type": "string" + }, + "order": { + "type": "string" + }, + "orderBy": { + "description": "Sort field. SOC Communications support customer-safe latest_activity ordering.", + "type": "string" + }, + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "priority": { + "type": "string" + }, + "readableId": { + "type": "string" + }, + "requestType": { + "type": "string" + }, + "search": { + "type": "string" + }, + "status": { + "description": "Status filter. Projects with a narrowed dashboard vocabulary accept only their customer-facing values.", + "type": "string" + }, + "summary": { + "type": "string" + }, + "tlp": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "project_type" + "path" ], }, outputSchema: { @@ -301,63 +314,71 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/requests/${pathParam(args, "project_type")}`, query: [ - ["page", args["page"], true], - ["pageSize", args["page_size"], true], - ["status", args["status"], true], - ["search", args["search"], true], - ["createdBy", args["created_by"], true], - ["assignee", args["assignee"], true], - ["requestType", args["request_type"], true], - ["priority", args["priority"], true], - ["tlp", args["tlp"], true], - ["id", args["id"], true], - ["readableId", args["readable_id"], true], - ["summary", args["summary"], true], - ["accountId", args["filter_account_id"], true], - ["metadata", args["metadata"], true], - ["orderBy", args["order_by"], true], - ["order", args["order"], true], + ["page", param(args, "query", "page"), true], + ["pageSize", param(args, "query", "pageSize"), true], + ["status", param(args, "query", "status"), true], + ["search", param(args, "query", "search"), true], + ["createdBy", param(args, "query", "createdBy"), true], + ["assignee", param(args, "query", "assignee"), true], + ["requestType", param(args, "query", "requestType"), true], + ["priority", param(args, "query", "priority"), true], + ["tlp", param(args, "query", "tlp"), true], + ["id", param(args, "query", "id"), true], + ["readableId", param(args, "query", "readableId"), true], + ["summary", param(args, "query", "summary"), true], + ["accountId", param(args, "query", "accountId"), true], + ["metadata", param(args, "query", "metadata"), true], + ["orderBy", param(args, "query", "orderBy"), true], + ["order", param(args, "query", "order"), true], ], }), }, { - name: "cloudforce_one_requests_get_request_read", + name: "cloudforceOne_requests_getRequestRead", title: "Get an RFI by ID", description: "Retrieves a specific RFI by its UUID with related data.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "project_type": { - "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "project_type": { + "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + }, + "request_id": { + "description": "RFI UUID", + "type": "string" + } + }, + "required": [ + "account_id", + "project_type", + "request_id" ], - "type": "string" - }, - "request_id": { - "description": "RFI UUID", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "project_type", - "request_id" + "path" ], }, outputSchema: { @@ -834,16 +855,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_requests_post_request_create", + name: "cloudforceOne_requests_postRequestCreate", title: "Creates a new RFI", description: "Creates a new Request for Information with the specified project type and details.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "description": { @@ -921,28 +938,40 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "project_type": { - "description": "RFI project type", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "project_type": { + "description": "RFI project type", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "project_type" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "project_type" + "path" ], }, outputSchema: { @@ -1419,16 +1448,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_requests_put_request_update", + name: "cloudforceOne_requests_putRequestUpdate", title: "Update an RFI", description: "Updates an existing RFI with the provided fields. Only provided fields will be updated.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "description": { @@ -1485,33 +1510,45 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "project_type": { - "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", - "enum": [ - "threat-intelligence", - "incident-response", - "ir-emergency-response", - "table-top", - "pentest", - "irp", - "threat-hunting", - "cybersecurity-assessment", - "react-general", - "legal-response", - "soc-alerts", - "demo" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "project_type": { + "description": "RFI project type. Valid values: threat-intelligence, incident-response, ir-emergency-response, table-top, pentest, irp, threat-hunting, cybersecurity-assessment, react-general, legal-response, soc-alerts, demo", + "enum": [ + "threat-intelligence", + "incident-response", + "ir-emergency-response", + "table-top", + "pentest", + "irp", + "threat-hunting", + "cybersecurity-assessment", + "react-general", + "legal-response", + "soc-alerts", + "demo" + ], + "type": "string" + }, + "request_id": { + "description": "RFI UUID", + "type": "string" + } + }, + "required": [ + "account_id", + "project_type", + "request_id" ], - "type": "string" - }, - "request_id": { - "description": "RFI UUID", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "project_type", - "request_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts index fd2b8cc3c..0baaeee94 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts @@ -4,26 +4,34 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.requests.types`. + * The tools of `cloudforceOne.requests.types`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_requests_types_list", + name: "cloudforceOne_requests_types_list", title: "List visible request types for a project (dashboard)", description: "Returns request types available to dashboard (external) callers. For restricted project types (e.g. legal-response), only the allowlisted subset is returned.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "project_type": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "project_type": { + "type": "string" + } + }, + "required": [ + "account_id", + "project_type" + ], + "type": "object" } }, required: [ - "account_id", - "project_type" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts index 7754dbb87..5fa3f9e7c 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts @@ -4,28 +4,36 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.requests.user`. + * The tools of `cloudforceOne.requests.user`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_requests_user_get", + name: "cloudforceOne_requests_user_get", title: "Get current user profile", description: "Get the current user's profile in a specific RFI project.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID", - "type": "string" - }, - "project_type": { - "description": "RFI project type", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID", + "type": "string" + }, + "project_type": { + "description": "RFI project type", + "type": "string" + } + }, + "required": [ + "account_id", + "project_type" + ], + "type": "object" } }, required: [ - "account_id", - "project_type" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/rules/approvals/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/approvals/outputs.ts index 4f9b72305..69ede2be7 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/approvals/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/approvals/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one_CompilerWarning` in responses. */ -export const cloudforce_one_CompilerWarning_output: JsonSchema = { +export const cloudforce$$one_CompilerWarning: JsonSchema = { "properties": { "code": { "type": "string" @@ -106,7 +106,7 @@ export const cloudforce_one_CompilerWarning_output: JsonSchema = { /** * The schema of `cloudforce-one_RuleApprovalDetailResponse` in responses. */ -export const cloudforce_one_RuleApprovalDetailResponse_output: JsonSchema = { +export const cloudforce$$one_RuleApprovalDetailResponse: JsonSchema = { "properties": { "approval": { "properties": { @@ -289,7 +289,7 @@ export const cloudforce_one_RuleApprovalDetailResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_RuleApprovalsListResponse` in responses. */ -export const cloudforce_one_RuleApprovalsListResponse_output: JsonSchema = { +export const cloudforce$$one_RuleApprovalsListResponse: JsonSchema = { "properties": { "approvals": { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/rules/approvals/schemas.ts b/src/generated/forge-mcp/cloudforceOne/rules/approvals/schemas.ts index f696bb1d8..f2149c51f 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/approvals/schemas.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/approvals/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one_ResubmitApprovalRequest`. */ -export const cloudforce_one_ResubmitApprovalRequest: JsonSchema = { +export const cloudforce$$one_ResubmitApprovalRequest: JsonSchema = { "properties": { "commit_message": { "type": "string" diff --git a/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts index d657e12d8..827d85318 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts @@ -1,52 +1,60 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cloudforce_one_ApprovalProposedChanges_output, - cloudforce_one_ErrorResponse_output, - cloudforce_one_PendingRuleChange_output, - cloudforce_one_ResubmitApprovalResponse_output, - cloudforce_one_RuleMetaEntry_output, - cloudforce_one_RulePreview_output, - cloudforce_one_SuccessResponse_output, + cloudforce$$one_ApprovalProposedChanges, + cloudforce$$one_ErrorResponse, + cloudforce$$one_PendingRuleChange, + cloudforce$$one_ResubmitApprovalResponse, + cloudforce$$one_RuleMetaEntry, + cloudforce$$one_RulePreview, + cloudforce$$one_SuccessResponse, } from "../outputs.js"; import { - cloudforce_one_CompilerWarning_output, - cloudforce_one_RuleApprovalDetailResponse_output, - cloudforce_one_RuleApprovalsListResponse_output, + cloudforce$$one_CompilerWarning, + cloudforce$$one_RuleApprovalDetailResponse, + cloudforce$$one_RuleApprovalsListResponse, } from "./outputs.js"; -import { cloudforce_one_ResubmitApprovalRequest } from "./schemas.js"; +import { cloudforce$$one_ResubmitApprovalRequest } from "./schemas.js"; /** - * The tools of `cloudforce_one.rules.approvals`. + * The tools of `cloudforceOne.rules.approvals`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_rules_approvals_cancel", + name: "cloudforceOne_rules_approvals_cancel", title: "Cancel a pending approval", description: "Cancel a pending rule approval. Only its original requester may cancel it.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "id": { - "description": "The unique identifier for the approval.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the approval.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_SuccessResponse", $defs: { - "cloudforce-one_SuccessResponse": cloudforce_one_SuccessResponse_output, + "cloudforce-one_SuccessResponse": cloudforce$$one_SuccessResponse, }, }, annotations: { @@ -74,8 +82,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_SuccessResponse": cloudforce_one_SuccessResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_SuccessResponse": cloudforce$$one_SuccessResponse, }, }, request: (args) => ({ @@ -83,35 +91,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_approvals_get", + name: "cloudforceOne_rules_approvals_get", title: "Get rule approval details", description: "Get a single rule approval with current rule data.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "id": { - "description": "The unique identifier for the approval.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the approval.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RuleApprovalDetailResponse", $defs: { - "cloudforce-one_ApprovalProposedChanges": cloudforce_one_ApprovalProposedChanges_output, - "cloudforce-one_CompilerWarning": cloudforce_one_CompilerWarning_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleApprovalDetailResponse": cloudforce_one_RuleApprovalDetailResponse_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalProposedChanges": cloudforce$$one_ApprovalProposedChanges, + "cloudforce-one_CompilerWarning": cloudforce$$one_CompilerWarning, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleApprovalDetailResponse": cloudforce$$one_RuleApprovalDetailResponse, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, annotations: { @@ -139,13 +155,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ApprovalProposedChanges": cloudforce_one_ApprovalProposedChanges_output, - "cloudforce-one_CompilerWarning": cloudforce_one_CompilerWarning_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleApprovalDetailResponse": cloudforce_one_RuleApprovalDetailResponse_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalProposedChanges": cloudforce$$one_ApprovalProposedChanges, + "cloudforce-one_CompilerWarning": cloudforce$$one_CompilerWarning, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleApprovalDetailResponse": cloudforce$$one_RuleApprovalDetailResponse, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, request: (args) => ({ @@ -153,104 +169,117 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_approvals_list", + name: "cloudforceOne_rules_approvals_list", title: "List rule approvals", description: "Returns rule approvals with optional status, revision, reviewer-scope, and mutation-type filtering.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "change_type": { - "description": "Limits approvals to the specified mutation type.", - "enum": [ - "create", - "update", - "delete" - ], - "type": "string" - }, - "latest_only": { - "default": "false", - "description": "When true, returns the newest revision in each approval chain.", - "enum": [ - "true", - "false" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "limit": { - "default": 50, - "type": "number" + "type": "object" }, - "offset": { - "default": 0, - "oneOf": [ - { + "query": { + "properties": { + "change_type": { + "description": "Limits approvals to the specified mutation type.", + "enum": [ + "create", + "update", + "delete" + ], + "type": "string" + }, + "latest_only": { + "default": "false", + "description": "When true, returns the newest revision in each approval chain.", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "limit": { + "default": 50, "type": "number" }, - { - "type": "null" - } - ] - }, - "reviewer_scope": { - "description": "Limits approvals to the specified reviewer scope.", - "enum": [ - "default", - "email", - "unresolved" - ], - "type": "string" - }, - "rule_id": { - "description": "Filter approvals by rule ID.", - "format": "uuid", - "type": "string" - }, - "status": { - "anyOf": [ - { - "items": { - "enum": [ - "pending", - "approved", - "rejected", - "cancelled", - "all" - ], - "type": "string" - }, - "maxItems": 4, - "minItems": 1, - "type": "array" + "offset": { + "default": 0, + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, - { + "reviewer_scope": { + "description": "Limits approvals to the specified reviewer scope.", "enum": [ - "pending", - "approved", - "rejected", - "cancelled", - "all" + "default", + "email", + "unresolved" ], "type": "string" + }, + "rule_id": { + "description": "Filter approvals by rule ID.", + "format": "uuid", + "type": "string" + }, + "status": { + "anyOf": [ + { + "items": { + "enum": [ + "pending", + "approved", + "rejected", + "cancelled", + "all" + ], + "type": "string" + }, + "maxItems": 4, + "minItems": 1, + "type": "array" + }, + { + "enum": [ + "pending", + "approved", + "rejected", + "cancelled", + "all" + ], + "type": "string" + } + ], + "default": "pending", + "description": "Selects approval statuses. Repeat the parameter to OR-match statuses (for example, status=pending&status=rejected). Use status=all alone to disable status filtering." } - ], - "default": "pending", - "description": "Selects approval statuses. Repeat the parameter to OR-match statuses (for example, status=pending&status=rejected). Use status=all alone to disable status filtering." + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RuleApprovalsListResponse", $defs: { - "cloudforce-one_ApprovalProposedChanges": cloudforce_one_ApprovalProposedChanges_output, - "cloudforce-one_RuleApprovalsListResponse": cloudforce_one_RuleApprovalsListResponse_output, + "cloudforce-one_ApprovalProposedChanges": cloudforce$$one_ApprovalProposedChanges, + "cloudforce-one_RuleApprovalsListResponse": cloudforce$$one_RuleApprovalsListResponse, }, }, annotations: { @@ -275,55 +304,63 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ApprovalProposedChanges": cloudforce_one_ApprovalProposedChanges_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_RuleApprovalsListResponse": cloudforce_one_RuleApprovalsListResponse_output, + "cloudforce-one_ApprovalProposedChanges": cloudforce$$one_ApprovalProposedChanges, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_RuleApprovalsListResponse": cloudforce$$one_RuleApprovalsListResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/approvals`, query: [ - ["status", args["status"], true], - ["latest_only", args["latest_only"], true], - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["reviewer_scope", args["reviewer_scope"], true], - ["change_type", args["change_type"], true], - ["rule_id", args["rule_id"], true], + ["status", param(args, "query", "status"), true], + ["latest_only", param(args, "query", "latest_only"), true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["reviewer_scope", param(args, "query", "reviewer_scope"), true], + ["change_type", param(args, "query", "change_type"), true], + ["rule_id", param(args, "query", "rule_id"), true], ], }), }, { - name: "cloudforce_one_rules_approvals_resubmit", + name: "cloudforceOne_rules_approvals_resubmit", title: "Revise and resubmit a rejected approval", description: "Create a new pending revision from a rejected rule approval. Only the original requester may resubmit the latest revision.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/cloudforce-one_ResubmitApprovalRequest" }, - "id": { - "description": "The unique identifier for the approval.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the approval.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "cloudforce-one_ResubmitApprovalRequest": cloudforce_one_ResubmitApprovalRequest, + "cloudforce-one_ResubmitApprovalRequest": cloudforce$$one_ResubmitApprovalRequest, }, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_ResubmitApprovalResponse", $defs: { - "cloudforce-one_ResubmitApprovalResponse": cloudforce_one_ResubmitApprovalResponse_output, + "cloudforce-one_ResubmitApprovalResponse": cloudforce$$one_ResubmitApprovalResponse, }, }, annotations: { @@ -354,8 +391,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_ResubmitApprovalResponse": cloudforce_one_ResubmitApprovalResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_ResubmitApprovalResponse": cloudforce$$one_ResubmitApprovalResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts index 0cd2a0a9c..a3f82ade6 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts @@ -1,35 +1,31 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - cloudforce_one_ErrorResponse_output, - cloudforce_one_ResubmitApprovalResponse_output, + cloudforce$$one_ErrorResponse, + cloudforce$$one_ResubmitApprovalResponse, } from "../../outputs.js"; -import { cloudforce_one_MetaInputEntry } from "../../schemas.js"; +import { cloudforce$$one_MetaInputEntry } from "../../schemas.js"; import { - cloudforce_one_EmailRuleArrayCondition, - cloudforce_one_EmailRuleCondition, - cloudforce_one_EmailRuleConditionGroup, - cloudforce_one_EmailRuleHeaderCondition, - cloudforce_one_EmailRuleScalarCondition, + cloudforce$$one_EmailRuleArrayCondition, + cloudforce$$one_EmailRuleCondition, + cloudforce$$one_EmailRuleConditionGroup, + cloudforce$$one_EmailRuleHeaderCondition, + cloudforce$$one_EmailRuleScalarCondition, } from "../schemas.js"; /** - * The tools of `cloudforce_one.rules.email.approvals`. + * The tools of `cloudforceOne.rules.email.approvals`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_rules_email_approvals_resubmit", + name: "cloudforceOne_rules_email_approvals_resubmit", title: "Revise and resubmit a rejected structured email rule approval", description: "Validates and compiles a complete structured email rule, then creates an immutable pending revision of its rejected approval.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "condition": { @@ -118,36 +114,53 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "id": { - "description": "The unique identifier for the approval.", - "type": "string" - }, - "module": { - "default": "eml", - "description": "Structured rule module.", - "enum": [ - "eml" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the approval.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "module": { + "default": "eml", + "description": "Structured rule module.", + "enum": [ + "eml" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "cloudforce-one_EmailRuleArrayCondition": cloudforce_one_EmailRuleArrayCondition, - "cloudforce-one_EmailRuleCondition": cloudforce_one_EmailRuleCondition, - "cloudforce-one_EmailRuleConditionGroup": cloudforce_one_EmailRuleConditionGroup, - "cloudforce-one_EmailRuleHeaderCondition": cloudforce_one_EmailRuleHeaderCondition, - "cloudforce-one_EmailRuleScalarCondition": cloudforce_one_EmailRuleScalarCondition, - "cloudforce-one_MetaInputEntry": cloudforce_one_MetaInputEntry, + "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, + "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, + "cloudforce-one_EmailRuleConditionGroup": cloudforce$$one_EmailRuleConditionGroup, + "cloudforce-one_EmailRuleHeaderCondition": cloudforce$$one_EmailRuleHeaderCondition, + "cloudforce-one_EmailRuleScalarCondition": cloudforce$$one_EmailRuleScalarCondition, + "cloudforce-one_MetaInputEntry": cloudforce$$one_MetaInputEntry, }, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_ResubmitApprovalResponse", $defs: { - "cloudforce-one_ResubmitApprovalResponse": cloudforce_one_ResubmitApprovalResponse_output, + "cloudforce-one_ResubmitApprovalResponse": cloudforce$$one_ResubmitApprovalResponse, }, }, annotations: { @@ -178,14 +191,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_ResubmitApprovalResponse": cloudforce_one_ResubmitApprovalResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_ResubmitApprovalResponse": cloudforce$$one_ResubmitApprovalResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/approvals/${pathParam(args, "id")}/resubmit`, query: [ - ["module", args["module"], true], + ["module", param(args, "query", "module"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/outputs.ts index 41defe6fa..eae6f6af3 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one_EditApprovalResponse` in responses. */ -export const cloudforce_one_EditApprovalResponse_output: JsonSchema = { +export const cloudforce$$one_EditApprovalResponse: JsonSchema = { "properties": { "approval": { "allOf": [ @@ -40,7 +40,7 @@ export const cloudforce_one_EditApprovalResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_EmailRuleValidationResponse` in responses. */ -export const cloudforce_one_EmailRuleValidationResponse_output: JsonSchema = { +export const cloudforce$$one_EmailRuleValidationResponse: JsonSchema = { "properties": { "compiled_yara": { "type": "string" @@ -61,7 +61,7 @@ export const cloudforce_one_EmailRuleValidationResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_EmailRulesListResponse` in responses. */ -export const cloudforce_one_EmailRulesListResponse_output: JsonSchema = { +export const cloudforce$$one_EmailRulesListResponse: JsonSchema = { "properties": { "rules": { "items": { @@ -83,7 +83,7 @@ export const cloudforce_one_EmailRulesListResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_PendingApproval` in responses. */ -export const cloudforce_one_PendingApproval_output: JsonSchema = { +export const cloudforce$$one_PendingApproval: JsonSchema = { "properties": { "audit_log_id": { "type": "number" diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts index 1e6086366..1f0b7b3c0 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts @@ -2,26 +2,34 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../_/tool.js"; -import { cloudforce_one_ErrorResponse_output } from "../../outputs.js"; +import { cloudforce$$one_ErrorResponse } from "../../outputs.js"; /** - * The tools of `cloudforce_one.rules.email.schema`. + * The tools of `cloudforceOne.rules.email.schema`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_rules_email_schema_get", + name: "cloudforceOne_rules_email_schema_get", title: "Get email rule schema", description: "Get the field catalog for structured email rules.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -456,7 +464,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/schemas.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/schemas.ts index c907b6d1f..c9c6f31cc 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/schemas.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one_EmailRuleArrayCondition`. */ -export const cloudforce_one_EmailRuleArrayCondition: JsonSchema = { +export const cloudforce$$one_EmailRuleArrayCondition: JsonSchema = { "properties": { "conditions": { "items": { @@ -81,7 +81,7 @@ export const cloudforce_one_EmailRuleArrayCondition: JsonSchema = { /** * The schema of `cloudforce-one_EmailRuleCondition`. */ -export const cloudforce_one_EmailRuleCondition: JsonSchema = { +export const cloudforce$$one_EmailRuleCondition: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/cloudforce-one_EmailRuleScalarCondition" @@ -101,7 +101,7 @@ export const cloudforce_one_EmailRuleCondition: JsonSchema = { /** * The schema of `cloudforce-one_EmailRuleConditionGroup`. */ -export const cloudforce_one_EmailRuleConditionGroup: JsonSchema = { +export const cloudforce$$one_EmailRuleConditionGroup: JsonSchema = { "description": "Nested condition groups support up to 10 levels of depth.", "properties": { "conditions": { @@ -137,7 +137,7 @@ export const cloudforce_one_EmailRuleConditionGroup: JsonSchema = { /** * The schema of `cloudforce-one_EmailRuleHeaderCondition`. */ -export const cloudforce_one_EmailRuleHeaderCondition: JsonSchema = { +export const cloudforce$$one_EmailRuleHeaderCondition: JsonSchema = { "properties": { "header_name": { "type": "string" @@ -195,7 +195,7 @@ export const cloudforce_one_EmailRuleHeaderCondition: JsonSchema = { /** * The schema of `cloudforce-one_EmailRuleScalarCondition`. */ -export const cloudforce_one_EmailRuleScalarCondition: JsonSchema = { +export const cloudforce$$one_EmailRuleScalarCondition: JsonSchema = { "properties": { "field": { "type": "string" diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts index 2a6f65f68..186c97ba1 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts @@ -1,47 +1,43 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cloudforce_one_ApprovalConflictResponse_output, - cloudforce_one_ApprovalPendingResponse_output, - cloudforce_one_ApprovalProposedChanges_output, - cloudforce_one_ErrorResponse_output, - cloudforce_one_PendingRuleChange_output, - cloudforce_one_RuleMetaEntry_output, - cloudforce_one_RulePreview_output, - cloudforce_one_SuccessResponse_output, + cloudforce$$one_ApprovalConflictResponse, + cloudforce$$one_ApprovalPendingResponse, + cloudforce$$one_ApprovalProposedChanges, + cloudforce$$one_ErrorResponse, + cloudforce$$one_PendingRuleChange, + cloudforce$$one_RuleMetaEntry, + cloudforce$$one_RulePreview, + cloudforce$$one_SuccessResponse, } from "../outputs.js"; -import { cloudforce_one_MetaInputEntry } from "../schemas.js"; +import { cloudforce$$one_MetaInputEntry } from "../schemas.js"; import { - cloudforce_one_EditApprovalResponse_output, - cloudforce_one_EmailRuleValidationResponse_output, - cloudforce_one_EmailRulesListResponse_output, - cloudforce_one_PendingApproval_output, + cloudforce$$one_EditApprovalResponse, + cloudforce$$one_EmailRuleValidationResponse, + cloudforce$$one_EmailRulesListResponse, + cloudforce$$one_PendingApproval, } from "./outputs.js"; import { - cloudforce_one_EmailRuleArrayCondition, - cloudforce_one_EmailRuleCondition, - cloudforce_one_EmailRuleConditionGroup, - cloudforce_one_EmailRuleHeaderCondition, - cloudforce_one_EmailRuleScalarCondition, + cloudforce$$one_EmailRuleArrayCondition, + cloudforce$$one_EmailRuleCondition, + cloudforce$$one_EmailRuleConditionGroup, + cloudforce$$one_EmailRuleHeaderCondition, + cloudforce$$one_EmailRuleScalarCondition, } from "./schemas.js"; /** - * The tools of `cloudforce_one.rules.email`. + * The tools of `cloudforceOne.rules.email`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_rules_email_create", + name: "cloudforceOne_rules_email_create", title: "Create an email rule", description: "Create a structured email rule.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "condition": { @@ -129,18 +125,30 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudforce-one_EmailRuleArrayCondition": cloudforce_one_EmailRuleArrayCondition, - "cloudforce-one_EmailRuleCondition": cloudforce_one_EmailRuleCondition, - "cloudforce-one_EmailRuleConditionGroup": cloudforce_one_EmailRuleConditionGroup, - "cloudforce-one_EmailRuleHeaderCondition": cloudforce_one_EmailRuleHeaderCondition, - "cloudforce-one_EmailRuleScalarCondition": cloudforce_one_EmailRuleScalarCondition, - "cloudforce-one_MetaInputEntry": cloudforce_one_MetaInputEntry, + "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, + "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, + "cloudforce-one_EmailRuleConditionGroup": cloudforce$$one_EmailRuleConditionGroup, + "cloudforce-one_EmailRuleHeaderCondition": cloudforce$$one_EmailRuleHeaderCondition, + "cloudforce-one_EmailRuleScalarCondition": cloudforce$$one_EmailRuleScalarCondition, + "cloudforce-one_MetaInputEntry": cloudforce$$one_MetaInputEntry, }, }, outputSchema: { @@ -153,10 +161,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, annotations: { @@ -184,11 +192,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, request: (args) => ({ @@ -197,25 +205,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_email_delete", + name: "cloudforceOne_rules_email_delete", title: "Delete an email rule", description: "Delete an existing structured email rule.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "id": { - "description": "The unique identifier for the rule.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the rule.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -228,8 +244,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_SuccessResponse": cloudforce_one_SuccessResponse_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_SuccessResponse": cloudforce$$one_SuccessResponse, }, }, annotations: { @@ -263,10 +279,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ApprovalConflictResponse": cloudforce_one_ApprovalConflictResponse_output, - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_SuccessResponse": cloudforce_one_SuccessResponse_output, + "cloudforce-one_ApprovalConflictResponse": cloudforce$$one_ApprovalConflictResponse, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_SuccessResponse": cloudforce$$one_SuccessResponse, }, }, request: (args) => ({ @@ -274,33 +290,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_email_get", + name: "cloudforceOne_rules_email_get", title: "Get an email rule", description: "Get a structured email rule by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "id": { - "description": "The unique identifier for the rule.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the rule.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RulePreview", $defs: { - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, annotations: { @@ -325,10 +349,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, request: (args) => ({ @@ -336,46 +360,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_email_list", + name: "cloudforceOne_rules_email_list", title: "List email rules", description: "Returns structured email rules.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "limit": { - "default": 50, - "type": "number" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "offset": { - "default": 0, - "oneOf": [ - { + "query": { + "properties": { + "limit": { + "default": 50, "type": "number" }, - { - "type": "null" + "offset": { + "default": 0, + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "search": { + "type": "string" } - ] - }, - "search": { - "type": "string" + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_EmailRulesListResponse", $defs: { - "cloudforce-one_EmailRulesListResponse": cloudforce_one_EmailRulesListResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_EmailRulesListResponse": cloudforce$$one_EmailRulesListResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, annotations: { @@ -397,33 +434,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_EmailRulesListResponse": cloudforce_one_EmailRulesListResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_EmailRulesListResponse": cloudforce$$one_EmailRulesListResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["search", args["search"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["search", param(args, "query", "search"), true], ], }), }, { - name: "cloudforce_one_rules_email_test", + name: "cloudforceOne_rules_email_test", title: "Test an email rule", description: "Test a structured email rule against sample email JSON.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "sample_json": { @@ -435,15 +468,27 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "id": { - "description": "The unique identifier for the rule.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the rule.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -507,7 +552,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, }, }, request: (args) => ({ @@ -516,16 +561,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_email_update", + name: "cloudforceOne_rules_email_update", title: "Update an email rule", description: "Updates an existing structured email rule.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "condition": { @@ -607,23 +648,35 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "id": { - "description": "The unique identifier for the rule.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the rule.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "cloudforce-one_EmailRuleArrayCondition": cloudforce_one_EmailRuleArrayCondition, - "cloudforce-one_EmailRuleCondition": cloudforce_one_EmailRuleCondition, - "cloudforce-one_EmailRuleConditionGroup": cloudforce_one_EmailRuleConditionGroup, - "cloudforce-one_EmailRuleHeaderCondition": cloudforce_one_EmailRuleHeaderCondition, - "cloudforce-one_EmailRuleScalarCondition": cloudforce_one_EmailRuleScalarCondition, - "cloudforce-one_MetaInputEntry": cloudforce_one_MetaInputEntry, + "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, + "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, + "cloudforce-one_EmailRuleConditionGroup": cloudforce$$one_EmailRuleConditionGroup, + "cloudforce-one_EmailRuleHeaderCondition": cloudforce$$one_EmailRuleHeaderCondition, + "cloudforce-one_EmailRuleScalarCondition": cloudforce$$one_EmailRuleScalarCondition, + "cloudforce-one_MetaInputEntry": cloudforce$$one_MetaInputEntry, }, }, outputSchema: { @@ -636,10 +689,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, annotations: { @@ -673,12 +726,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ApprovalConflictResponse": cloudforce_one_ApprovalConflictResponse_output, - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalConflictResponse": cloudforce$$one_ApprovalConflictResponse, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, request: (args) => ({ @@ -687,16 +740,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_email_update_pending_approval", + name: "cloudforceOne_rules_email_updatePendingApproval", title: "Update a pending structured email rule approval", description: "Validate, compile, and replace the proposed structured email rule on a pending approval. Only the original requester may update it.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "condition": { @@ -785,41 +834,58 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "id": { - "description": "The unique identifier for the approval.", - "type": "string" - }, - "module": { - "default": "eml", - "description": "Structured rule module.", - "enum": [ - "eml" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the approval.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "module": { + "default": "eml", + "description": "Structured rule module.", + "enum": [ + "eml" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "cloudforce-one_EmailRuleArrayCondition": cloudforce_one_EmailRuleArrayCondition, - "cloudforce-one_EmailRuleCondition": cloudforce_one_EmailRuleCondition, - "cloudforce-one_EmailRuleConditionGroup": cloudforce_one_EmailRuleConditionGroup, - "cloudforce-one_EmailRuleHeaderCondition": cloudforce_one_EmailRuleHeaderCondition, - "cloudforce-one_EmailRuleScalarCondition": cloudforce_one_EmailRuleScalarCondition, - "cloudforce-one_MetaInputEntry": cloudforce_one_MetaInputEntry, + "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, + "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, + "cloudforce-one_EmailRuleConditionGroup": cloudforce$$one_EmailRuleConditionGroup, + "cloudforce-one_EmailRuleHeaderCondition": cloudforce$$one_EmailRuleHeaderCondition, + "cloudforce-one_EmailRuleScalarCondition": cloudforce$$one_EmailRuleScalarCondition, + "cloudforce-one_MetaInputEntry": cloudforce$$one_MetaInputEntry, }, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_EditApprovalResponse", $defs: { - "cloudforce-one_ApprovalProposedChanges": cloudforce_one_ApprovalProposedChanges_output, - "cloudforce-one_EditApprovalResponse": cloudforce_one_EditApprovalResponse_output, - "cloudforce-one_PendingApproval": cloudforce_one_PendingApproval_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalProposedChanges": cloudforce$$one_ApprovalProposedChanges, + "cloudforce-one_EditApprovalResponse": cloudforce$$one_EditApprovalResponse, + "cloudforce-one_PendingApproval": cloudforce$$one_PendingApproval, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, annotations: { @@ -850,34 +916,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ApprovalProposedChanges": cloudforce_one_ApprovalProposedChanges_output, - "cloudforce-one_EditApprovalResponse": cloudforce_one_EditApprovalResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingApproval": cloudforce_one_PendingApproval_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalProposedChanges": cloudforce$$one_ApprovalProposedChanges, + "cloudforce-one_EditApprovalResponse": cloudforce$$one_EditApprovalResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingApproval": cloudforce$$one_PendingApproval, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/structured/approvals/${pathParam(args, "id")}`, query: [ - ["module", args["module"], true], + ["module", param(args, "query", "module"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_rules_email_validate", + name: "cloudforceOne_rules_email_validate", title: "Validate an email rule", description: "Validates structured email rule syntax and metadata.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "condition": { @@ -970,24 +1032,36 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudforce-one_EmailRuleArrayCondition": cloudforce_one_EmailRuleArrayCondition, - "cloudforce-one_EmailRuleCondition": cloudforce_one_EmailRuleCondition, - "cloudforce-one_EmailRuleConditionGroup": cloudforce_one_EmailRuleConditionGroup, - "cloudforce-one_EmailRuleHeaderCondition": cloudforce_one_EmailRuleHeaderCondition, - "cloudforce-one_EmailRuleScalarCondition": cloudforce_one_EmailRuleScalarCondition, - "cloudforce-one_MetaInputEntry": cloudforce_one_MetaInputEntry, + "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, + "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, + "cloudforce-one_EmailRuleConditionGroup": cloudforce$$one_EmailRuleConditionGroup, + "cloudforce-one_EmailRuleHeaderCondition": cloudforce$$one_EmailRuleHeaderCondition, + "cloudforce-one_EmailRuleScalarCondition": cloudforce$$one_EmailRuleScalarCondition, + "cloudforce-one_MetaInputEntry": cloudforce$$one_MetaInputEntry, }, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_EmailRuleValidationResponse", $defs: { - "cloudforce-one_EmailRuleValidationResponse": cloudforce_one_EmailRuleValidationResponse_output, + "cloudforce-one_EmailRuleValidationResponse": cloudforce$$one_EmailRuleValidationResponse, }, }, annotations: { @@ -1009,8 +1083,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_EmailRuleValidationResponse": cloudforce_one_EmailRuleValidationResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_EmailRuleValidationResponse": cloudforce$$one_EmailRuleValidationResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/outputs.ts index d230b7803..177644c3d 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one_AccountExemptions` in responses. */ -export const cloudforce_one_AccountExemptions_output: JsonSchema = { +export const cloudforce$$one_AccountExemptions: JsonSchema = { "properties": { "namespace": { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/schemas.ts b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/schemas.ts index ef1507c7f..209ac521c 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/schemas.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one_ExemptionUpdateEntry`. */ -export const cloudforce_one_ExemptionUpdateEntry: JsonSchema = { +export const cloudforce$$one_ExemptionUpdateEntry: JsonSchema = { "properties": { "new_pattern": { "type": "string" @@ -25,7 +25,7 @@ export const cloudforce_one_ExemptionUpdateEntry: JsonSchema = { /** * The schema of `cloudforce-one_PartialAccountExemptions`. */ -export const cloudforce_one_PartialAccountExemptions: JsonSchema = { +export const cloudforce$$one_PartialAccountExemptions: JsonSchema = { "properties": { "namespace": { "items": { @@ -52,7 +52,7 @@ export const cloudforce_one_PartialAccountExemptions: JsonSchema = { /** * The schema of `cloudforce-one_UpdateAccountExemptionsBody`. */ -export const cloudforce_one_UpdateAccountExemptionsBody: JsonSchema = { +export const cloudforce$$one_UpdateAccountExemptionsBody: JsonSchema = { "properties": { "namespace": { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts index 2582f9856..01034a9d1 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts @@ -2,44 +2,52 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; -import { cloudforce_one_ErrorResponse_output } from "../outputs.js"; -import { cloudforce_one_AccountExemptions_output } from "./outputs.js"; +import { cloudforce$$one_ErrorResponse } from "../outputs.js"; +import { cloudforce$$one_AccountExemptions } from "./outputs.js"; import { - cloudforce_one_ExemptionUpdateEntry, - cloudforce_one_PartialAccountExemptions, - cloudforce_one_UpdateAccountExemptionsBody, + cloudforce$$one_ExemptionUpdateEntry, + cloudforce$$one_PartialAccountExemptions, + cloudforce$$one_UpdateAccountExemptionsBody, } from "./schemas.js"; /** - * The tools of `cloudforce_one.rules.exemptions`. + * The tools of `cloudforceOne.rules.exemptions`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_rules_exemptions_create", + name: "cloudforceOne_rules_exemptions_create", title: "Add patterns to exemption rules", description: "Add regex patterns to per-account exemption rules (union semantics). Missing keys leave that type untouched; duplicates are silently deduped.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/cloudforce-one_PartialAccountExemptions" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudforce-one_PartialAccountExemptions": cloudforce_one_PartialAccountExemptions, + "cloudforce-one_PartialAccountExemptions": cloudforce$$one_PartialAccountExemptions, }, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_AccountExemptions", $defs: { - "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, + "cloudforce-one_AccountExemptions": cloudforce$$one_AccountExemptions, }, }, annotations: { @@ -67,8 +75,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_AccountExemptions": cloudforce$$one_AccountExemptions, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, }, }, request: (args) => ({ @@ -77,31 +85,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_exemptions_delete", + name: "cloudforceOne_rules_exemptions_delete", title: "Remove patterns from exemption rules", description: "Remove regex patterns from per-account exemption rules. Missing keys leave that type untouched; non-existent patterns are silently skipped.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/cloudforce-one_PartialAccountExemptions" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudforce-one_PartialAccountExemptions": cloudforce_one_PartialAccountExemptions, + "cloudforce-one_PartialAccountExemptions": cloudforce$$one_PartialAccountExemptions, }, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_AccountExemptions", $defs: { - "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, + "cloudforce-one_AccountExemptions": cloudforce$$one_AccountExemptions, }, }, annotations: { @@ -129,8 +145,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_AccountExemptions": cloudforce$$one_AccountExemptions, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, }, }, request: (args) => ({ @@ -139,25 +155,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_exemptions_get", + name: "cloudforceOne_rules_exemptions_get", title: "Get exemption rules for an account", description: "Get all exemption rule patterns for the account, grouped by type.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_AccountExemptions", $defs: { - "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, + "cloudforce-one_AccountExemptions": cloudforce$$one_AccountExemptions, }, }, annotations: { @@ -185,8 +209,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_AccountExemptions": cloudforce$$one_AccountExemptions, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, }, }, request: (args) => ({ @@ -194,32 +218,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_exemptions_update", + name: "cloudforceOne_rules_exemptions_update", title: "Update exemption rule patterns", description: "Replace existing exemption patterns with new values. Each key maps to an array of {old_pattern, new_pattern} entries. Missing keys leave that type untouched. Fails if any old pattern is not found or any new pattern already exists.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/cloudforce-one_UpdateAccountExemptionsBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudforce-one_ExemptionUpdateEntry": cloudforce_one_ExemptionUpdateEntry, - "cloudforce-one_UpdateAccountExemptionsBody": cloudforce_one_UpdateAccountExemptionsBody, + "cloudforce-one_ExemptionUpdateEntry": cloudforce$$one_ExemptionUpdateEntry, + "cloudforce-one_UpdateAccountExemptionsBody": cloudforce$$one_UpdateAccountExemptionsBody, }, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_AccountExemptions", $defs: { - "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, + "cloudforce-one_AccountExemptions": cloudforce$$one_AccountExemptions, }, }, annotations: { @@ -253,8 +285,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_AccountExemptions": cloudforce_one_AccountExemptions_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_AccountExemptions": cloudforce$$one_AccountExemptions, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts index 8b27210e8..b35051212 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts @@ -2,26 +2,34 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; -import { cloudforce_one_ErrorResponse_output } from "../outputs.js"; +import { cloudforce$$one_ErrorResponse } from "../outputs.js"; /** - * The tools of `cloudforce_one.rules.managed`. + * The tools of `cloudforceOne.rules.managed`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_rules_managed_get", + name: "cloudforceOne_rules_managed_get", title: "Get managed rules", description: "Get DFP managed rule metadata (name and description) from YARA rules.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -124,7 +132,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/rules/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/outputs.ts index a5f1487c6..5c8f724c9 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudforce-one_ApprovalConflictResponse` in responses. */ -export const cloudforce_one_ApprovalConflictResponse_output: JsonSchema = { +export const cloudforce$$one_ApprovalConflictResponse: JsonSchema = { "properties": { "approval_id": { "type": "number" @@ -32,7 +32,7 @@ export const cloudforce_one_ApprovalConflictResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_ApprovalPendingResponse` in responses. */ -export const cloudforce_one_ApprovalPendingResponse_output: JsonSchema = { +export const cloudforce$$one_ApprovalPendingResponse: JsonSchema = { "properties": { "approval_id": { "type": "number" @@ -51,7 +51,7 @@ export const cloudforce_one_ApprovalPendingResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_ApprovalProposedChanges` in responses. */ -export const cloudforce_one_ApprovalProposedChanges_output: JsonSchema = { +export const cloudforce$$one_ApprovalProposedChanges: JsonSchema = { "oneOf": [ { "properties": { @@ -216,7 +216,7 @@ export const cloudforce_one_ApprovalProposedChanges_output: JsonSchema = { /** * The schema of `cloudforce-one_DeleteAllResponse` in responses. */ -export const cloudforce_one_DeleteAllResponse_output: JsonSchema = { +export const cloudforce$$one_DeleteAllResponse: JsonSchema = { "properties": { "deleted": { "type": "number" @@ -231,7 +231,7 @@ export const cloudforce_one_DeleteAllResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_ErrorResponse` in responses. */ -export const cloudforce_one_ErrorResponse_output: JsonSchema = { +export const cloudforce$$one_ErrorResponse: JsonSchema = { "properties": { "error": { "type": "string" @@ -246,7 +246,7 @@ export const cloudforce_one_ErrorResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_PendingRuleChange` in responses. */ -export const cloudforce_one_PendingRuleChange_output: JsonSchema = { +export const cloudforce$$one_PendingRuleChange: JsonSchema = { "oneOf": [ { "properties": { @@ -284,7 +284,7 @@ export const cloudforce_one_PendingRuleChange_output: JsonSchema = { /** * The schema of `cloudforce-one_ResubmitApprovalResponse` in responses. */ -export const cloudforce_one_ResubmitApprovalResponse_output: JsonSchema = { +export const cloudforce$$one_ResubmitApprovalResponse: JsonSchema = { "properties": { "approval_id": { "type": "number" @@ -318,7 +318,7 @@ export const cloudforce_one_ResubmitApprovalResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_Rule` in responses. */ -export const cloudforce_one_Rule_output: JsonSchema = { +export const cloudforce$$one_Rule: JsonSchema = { "properties": { "content": { "type": "string" @@ -412,7 +412,7 @@ export const cloudforce_one_Rule_output: JsonSchema = { /** * The schema of `cloudforce-one_RuleMetaEntry` in responses. */ -export const cloudforce_one_RuleMetaEntry_output: JsonSchema = { +export const cloudforce$$one_RuleMetaEntry: JsonSchema = { "properties": { "key": { "type": "string" @@ -450,7 +450,7 @@ export const cloudforce_one_RuleMetaEntry_output: JsonSchema = { /** * The schema of `cloudforce-one_RulePreview` in responses. */ -export const cloudforce_one_RulePreview_output: JsonSchema = { +export const cloudforce$$one_RulePreview: JsonSchema = { "properties": { "content": { "type": "string" @@ -543,7 +543,7 @@ export const cloudforce_one_RulePreview_output: JsonSchema = { /** * The schema of `cloudforce-one_RuleSearchResult` in responses. */ -export const cloudforce_one_RuleSearchResult_output: JsonSchema = { +export const cloudforce$$one_RuleSearchResult: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cloudforce-one_RulePreview" @@ -585,7 +585,7 @@ export const cloudforce_one_RuleSearchResult_output: JsonSchema = { /** * The schema of `cloudforce-one_RulesPreviewListResponse` in responses. */ -export const cloudforce_one_RulesPreviewListResponse_output: JsonSchema = { +export const cloudforce$$one_RulesPreviewListResponse: JsonSchema = { "properties": { "rules": { "items": { @@ -607,7 +607,7 @@ export const cloudforce_one_RulesPreviewListResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_RulesSearchResponse` in responses. */ -export const cloudforce_one_RulesSearchResponse_output: JsonSchema = { +export const cloudforce$$one_RulesSearchResponse: JsonSchema = { "properties": { "fallback": { "type": "boolean" @@ -660,7 +660,7 @@ export const cloudforce_one_RulesSearchResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_SuccessResponse` in responses. */ -export const cloudforce_one_SuccessResponse_output: JsonSchema = { +export const cloudforce$$one_SuccessResponse: JsonSchema = { "properties": { "success": { "type": "boolean" @@ -675,7 +675,7 @@ export const cloudforce_one_SuccessResponse_output: JsonSchema = { /** * The schema of `cloudforce-one_ValidationResponse` in responses. */ -export const cloudforce_one_ValidationResponse_output: JsonSchema = { +export const cloudforce$$one_ValidationResponse: JsonSchema = { "properties": { "error": { "type": "string" diff --git a/src/generated/forge-mcp/cloudforceOne/rules/schemas.ts b/src/generated/forge-mcp/cloudforceOne/rules/schemas.ts index 331723910..91eed6c27 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/schemas.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudforce-one_CreateRule`. */ -export const cloudforce_one_CreateRule: JsonSchema = { +export const cloudforce$$one_CreateRule: JsonSchema = { "properties": { "actions": { "items": { @@ -69,7 +69,7 @@ export const cloudforce_one_CreateRule: JsonSchema = { /** * The schema of `cloudforce-one_DeleteRuleBody`. */ -export const cloudforce_one_DeleteRuleBody: JsonSchema = { +export const cloudforce$$one_DeleteRuleBody: JsonSchema = { "properties": { "commit_message": { "description": "Human-readable justification for the deletion. Required for internal-account submissions; optional for customer accounts and automated sync.", @@ -82,7 +82,7 @@ export const cloudforce_one_DeleteRuleBody: JsonSchema = { /** * The schema of `cloudforce-one_MetaInputEntry`. */ -export const cloudforce_one_MetaInputEntry: JsonSchema = { +export const cloudforce$$one_MetaInputEntry: JsonSchema = { "description": "A YARA meta entry. The server resolves its value type. The 'detection' key accepts MALICIOUS, SUSPICIOUS, SPAM, or SPOOF.", "properties": { "key": { @@ -112,7 +112,7 @@ export const cloudforce_one_MetaInputEntry: JsonSchema = { /** * The schema of `cloudforce-one_RuleAction`. */ -export const cloudforce_one_RuleAction: JsonSchema = { +export const cloudforce$$one_RuleAction: JsonSchema = { "properties": { "action_config": { "additionalProperties": { @@ -171,7 +171,7 @@ export const cloudforce_one_RuleAction: JsonSchema = { /** * The schema of `cloudforce-one_UpdateRule`. */ -export const cloudforce_one_UpdateRule: JsonSchema = { +export const cloudforce$$one_UpdateRule: JsonSchema = { "properties": { "commit_message": { "description": "Human-readable justification for this change. Required for internal-account submissions; optional for customer accounts and automated sync.", diff --git a/src/generated/forge-mcp/cloudforceOne/rules/stats/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/stats/outputs.ts index 8f848dea5..d6034c260 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/stats/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/stats/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one_StatsResponse` in responses. */ -export const cloudforce_one_StatsResponse_output: JsonSchema = { +export const cloudforce$$one_StatsResponse: JsonSchema = { "properties": { "pending_approvals": { "type": "number" diff --git a/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts index 96d9fb66e..d8b0eac1f 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts @@ -2,33 +2,41 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; -import { cloudforce_one_ErrorResponse_output } from "../outputs.js"; -import { cloudforce_one_StatsResponse_output } from "./outputs.js"; +import { cloudforce$$one_ErrorResponse } from "../outputs.js"; +import { cloudforce$$one_StatsResponse } from "./outputs.js"; /** - * The tools of `cloudforce_one.rules.stats`. + * The tools of `cloudforceOne.rules.stats`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_rules_stats_get", + name: "cloudforceOne_rules_stats_get", title: "Get dashboard stats", description: "Get statistics about rules for the dashboard.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_StatsResponse", $defs: { - "cloudforce-one_StatsResponse": cloudforce_one_StatsResponse_output, + "cloudforce-one_StatsResponse": cloudforce$$one_StatsResponse, }, }, annotations: { @@ -50,8 +58,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_StatsResponse": cloudforce_one_StatsResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_StatsResponse": cloudforce$$one_StatsResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/rules/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/tools.ts index e679ea1e6..4568a659f 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/tools.ts @@ -1,56 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - cloudforce_one_ApprovalConflictResponse_output, - cloudforce_one_ApprovalPendingResponse_output, - cloudforce_one_DeleteAllResponse_output, - cloudforce_one_ErrorResponse_output, - cloudforce_one_PendingRuleChange_output, - cloudforce_one_RuleMetaEntry_output, - cloudforce_one_RulePreview_output, - cloudforce_one_RuleSearchResult_output, - cloudforce_one_Rule_output, - cloudforce_one_RulesPreviewListResponse_output, - cloudforce_one_RulesSearchResponse_output, - cloudforce_one_SuccessResponse_output, - cloudforce_one_ValidationResponse_output, + cloudforce$$one_ApprovalConflictResponse, + cloudforce$$one_ApprovalPendingResponse, + cloudforce$$one_DeleteAllResponse, + cloudforce$$one_ErrorResponse, + cloudforce$$one_PendingRuleChange, + cloudforce$$one_Rule, + cloudforce$$one_RuleMetaEntry, + cloudforce$$one_RulePreview, + cloudforce$$one_RuleSearchResult, + cloudforce$$one_RulesPreviewListResponse, + cloudforce$$one_RulesSearchResponse, + cloudforce$$one_SuccessResponse, + cloudforce$$one_ValidationResponse, } from "./outputs.js"; import { - cloudforce_one_CreateRule, - cloudforce_one_DeleteRuleBody, - cloudforce_one_MetaInputEntry, - cloudforce_one_RuleAction, - cloudforce_one_UpdateRule, + cloudforce$$one_CreateRule, + cloudforce$$one_DeleteRuleBody, + cloudforce$$one_MetaInputEntry, + cloudforce$$one_RuleAction, + cloudforce$$one_UpdateRule, } from "./schemas.js"; /** - * The tools of `cloudforce_one.rules`. + * The tools of `cloudforceOne.rules`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_rules_create", + name: "cloudforceOne_rules_create", title: "Create a rule", description: "Create a new detection rule.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/cloudforce-one_CreateRule" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudforce-one_CreateRule": cloudforce_one_CreateRule, - "cloudforce-one_MetaInputEntry": cloudforce_one_MetaInputEntry, - "cloudforce-one_RuleAction": cloudforce_one_RuleAction, + "cloudforce-one_CreateRule": cloudforce$$one_CreateRule, + "cloudforce-one_MetaInputEntry": cloudforce$$one_MetaInputEntry, + "cloudforce-one_RuleAction": cloudforce$$one_RuleAction, }, }, outputSchema: { @@ -63,10 +71,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_Rule": cloudforce_one_Rule_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_Rule": cloudforce$$one_Rule, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, }, }, annotations: { @@ -94,11 +102,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_Rule": cloudforce_one_Rule_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_Rule": cloudforce$$one_Rule, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, }, }, request: (args) => ({ @@ -107,31 +115,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_delete", + name: "cloudforceOne_rules_delete", title: "Delete a rule", description: "Delete an existing rule.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/cloudforce-one_DeleteRuleBody" }, - "id": { - "description": "The unique identifier for the rule.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the rule.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "cloudforce-one_DeleteRuleBody": cloudforce_one_DeleteRuleBody, + "cloudforce-one_DeleteRuleBody": cloudforce$$one_DeleteRuleBody, }, }, outputSchema: { @@ -144,8 +160,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_SuccessResponse": cloudforce_one_SuccessResponse_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_SuccessResponse": cloudforce$$one_SuccessResponse, }, }, annotations: { @@ -179,10 +195,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ApprovalConflictResponse": cloudforce_one_ApprovalConflictResponse_output, - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_SuccessResponse": cloudforce_one_SuccessResponse_output, + "cloudforce-one_ApprovalConflictResponse": cloudforce$$one_ApprovalConflictResponse, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_SuccessResponse": cloudforce$$one_SuccessResponse, }, }, request: (args) => ({ @@ -191,25 +207,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_delete_all", + name: "cloudforceOne_rules_deleteAll", title: "Delete all rules", description: "Delete all rules in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_DeleteAllResponse", $defs: { - "cloudforce-one_DeleteAllResponse": cloudforce_one_DeleteAllResponse_output, + "cloudforce-one_DeleteAllResponse": cloudforce$$one_DeleteAllResponse, }, }, annotations: { @@ -234,8 +258,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_DeleteAllResponse": cloudforce_one_DeleteAllResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, + "cloudforce-one_DeleteAllResponse": cloudforce$$one_DeleteAllResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, }, }, request: (args) => ({ @@ -243,33 +267,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_get", + name: "cloudforceOne_rules_get", title: "Get a rule", description: "Get a single rule by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "id": { - "description": "The unique identifier for the rule.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the rule.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RulePreview", $defs: { - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, annotations: { @@ -294,10 +326,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, request: (args) => ({ @@ -305,92 +337,105 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_list", + name: "cloudforceOne_rules_list", title: "List rules", description: "Returns all rules for an account with optional filtering.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "is_public": { - "description": "Limits rules to the specified public visibility.", - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "limit": { - "default": 50, - "type": "number" - }, - "namespace": { - "anyOf": [ - { + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", "type": "string" - }, - { - "items": { - "type": "string" - }, - "maxItems": 50, - "type": "array" } + }, + "required": [ + "account_id" ], - "description": "Selects namespaces. Repeat the parameter to select multiple namespaces (for example, namespace=foo&namespace=bar)." + "type": "object" }, - "offset": { - "default": 0, - "oneOf": [ - { + "query": { + "properties": { + "is_public": { + "description": "Limits rules to the specified public visibility.", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "limit": { + "default": 50, "type": "number" }, - { - "type": "null" - } - ] - }, - "path": { - "anyOf": [ - { + "namespace": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "maxItems": 50, + "type": "array" + } + ], + "description": "Selects namespaces. Repeat the parameter to select multiple namespaces (for example, namespace=foo&namespace=bar)." + }, + "offset": { + "default": 0, + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "path": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "maxItems": 50, + "type": "array" + } + ], + "description": "Selects paths with exact-match semantics. Omit the parameter to return rules from all paths. Pass an empty string (path=) to return only rules with an empty or uncategorized path. Pass a value (for example, path=yara) to match that exact path. Repeat the parameter (for example, path=yara&path=expr) to OR-match multiple paths with SQL `IN (...)` semantics. The `recursive` flag affects only customer-account namespace selection." + }, + "recursive": { + "description": "For customer accounts, true enables descendant matching for namespaces. Paths always use exact matching.", + "enum": [ + "true", + "false" + ], "type": "string" }, - { - "items": { - "type": "string" - }, - "maxItems": 50, - "type": "array" + "search": { + "type": "string" } - ], - "description": "Selects paths with exact-match semantics. Omit the parameter to return rules from all paths. Pass an empty string (path=) to return only rules with an empty or uncategorized path. Pass a value (for example, path=yara) to match that exact path. Repeat the parameter (for example, path=yara&path=expr) to OR-match multiple paths with SQL `IN (...)` semantics. The `recursive` flag affects only customer-account namespace selection." - }, - "recursive": { - "description": "For customer accounts, true enables descendant matching for namespaces. Paths always use exact matching.", - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "search": { - "type": "string" + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RulesPreviewListResponse", $defs: { - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, - "cloudforce-one_RulesPreviewListResponse": cloudforce_one_RulesPreviewListResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, + "cloudforce-one_RulesPreviewListResponse": cloudforce$$one_RulesPreviewListResponse, }, }, annotations: { @@ -412,138 +457,154 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, - "cloudforce-one_RulesPreviewListResponse": cloudforce_one_RulesPreviewListResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, + "cloudforce-one_RulesPreviewListResponse": cloudforce$$one_RulesPreviewListResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules`, query: [ - ["namespace", args["namespace"], true], - ["path", args["path"], true], - ["recursive", args["recursive"], true], - ["search", args["search"], true], - ["is_public", args["is_public"], true], - ["limit", args["limit"], true], - ["offset", args["offset"], true], + ["namespace", param(args, "query", "namespace"), true], + ["path", param(args, "query", "path"), true], + ["recursive", param(args, "query", "recursive"), true], + ["search", param(args, "query", "search"), true], + ["is_public", param(args, "query", "is_public"), true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], ], }), }, { - name: "cloudforce_one_rules_search", + name: "cloudforceOne_rules_search", title: "Search rules", description: "Search rules using hybrid, vector, keyword, or exact retrieval, backed by AI Search with a SQL fallback.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "is_public": { - "description": "Limits rules to the specified public visibility.", - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "language": { - "description": "Limits results to the specified rule language.", - "enum": [ - "yara", - "js" - ], - "type": "string" - }, - "limit": { - "default": 50, - "type": "number" - }, - "namespace": { - "anyOf": [ - { + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", "type": "string" - }, - { - "items": { - "type": "string" - }, - "maxItems": 50, - "type": "array" } + }, + "required": [ + "account_id" ], - "description": "Selects namespaces. Repeat the parameter to select multiple namespaces (for example, namespace=foo&namespace=bar)." + "type": "object" }, - "offset": { - "default": 0, - "oneOf": [ - { + "query": { + "properties": { + "is_public": { + "description": "Limits rules to the specified public visibility.", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "language": { + "description": "Limits results to the specified rule language.", + "enum": [ + "yara", + "js" + ], + "type": "string" + }, + "limit": { + "default": 50, "type": "number" }, - { - "type": "null" - } - ] - }, - "path": { - "anyOf": [ - { + "mode": { + "default": "hybrid", + "description": "Retrieval strategy used for the query.", + "enum": [ + "exact", + "hybrid", + "vector", + "keyword" + ], "type": "string" }, - { - "items": { - "type": "string" - }, - "maxItems": 50, - "type": "array" + "namespace": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "maxItems": 50, + "type": "array" + } + ], + "description": "Selects namespaces. Repeat the parameter to select multiple namespaces (for example, namespace=foo&namespace=bar)." + }, + "offset": { + "default": 0, + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] + }, + "path": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "maxItems": 50, + "type": "array" + } + ], + "description": "Selects paths with exact-match semantics. Omit the parameter to return rules from all paths. Pass an empty string (path=) to return only rules with an empty or uncategorized path. Pass a value (for example, path=yara) to match that exact path. Repeat the parameter (for example, path=yara&path=expr) to OR-match multiple paths with SQL `IN (...)` semantics. The `recursive` flag affects only customer-account namespace selection." + }, + "query": { + "description": "Natural-language or keyword search query.", + "type": "string" + }, + "recursive": { + "description": "For customer accounts, true enables descendant matching for namespaces. Paths always use exact matching.", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "search": { + "type": "string" } + }, + "required": [ + "query" ], - "description": "Selects paths with exact-match semantics. Omit the parameter to return rules from all paths. Pass an empty string (path=) to return only rules with an empty or uncategorized path. Pass a value (for example, path=yara) to match that exact path. Repeat the parameter (for example, path=yara&path=expr) to OR-match multiple paths with SQL `IN (...)` semantics. The `recursive` flag affects only customer-account namespace selection." - }, - "query": { - "description": "Natural-language or keyword search query.", - "type": "string" - }, - "recursive": { - "description": "For customer accounts, true enables descendant matching for namespaces. Paths always use exact matching.", - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "search": { - "type": "string" - }, - "search_mode": { - "default": "hybrid", - "description": "Retrieval strategy used for the query.", - "enum": [ - "exact", - "hybrid", - "vector", - "keyword" - ], - "type": "string" + "type": "object" } }, required: [ - "account_id", + "path", "query" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RulesSearchResponse", $defs: { - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, - "cloudforce-one_RuleSearchResult": cloudforce_one_RuleSearchResult_output, - "cloudforce-one_RulesSearchResponse": cloudforce_one_RulesSearchResponse_output, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, + "cloudforce-one_RuleSearchResult": cloudforce$$one_RuleSearchResult, + "cloudforce-one_RulesSearchResponse": cloudforce$$one_RulesSearchResponse, }, }, annotations: { @@ -568,57 +629,65 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, - "cloudforce-one_RuleSearchResult": cloudforce_one_RuleSearchResult_output, - "cloudforce-one_RulesSearchResponse": cloudforce_one_RulesSearchResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, + "cloudforce-one_RuleSearchResult": cloudforce$$one_RuleSearchResult, + "cloudforce-one_RulesSearchResponse": cloudforce$$one_RulesSearchResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/rules/search`, query: [ - ["namespace", args["namespace"], true], - ["path", args["path"], true], - ["recursive", args["recursive"], true], - ["search", args["search"], true], - ["is_public", args["is_public"], true], - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["query", args["query"], true], - ["mode", args["search_mode"], true], - ["language", args["language"], true], + ["namespace", param(args, "query", "namespace"), true], + ["path", param(args, "query", "path"), true], + ["recursive", param(args, "query", "recursive"), true], + ["search", param(args, "query", "search"), true], + ["is_public", param(args, "query", "is_public"), true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["query", param(args, "query", "query"), true], + ["mode", param(args, "query", "mode"), true], + ["language", param(args, "query", "language"), true], ], }), }, { - name: "cloudforce_one_rules_update", + name: "cloudforceOne_rules_update", title: "Update a rule", description: "Updates an existing rule.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/cloudforce-one_UpdateRule" }, - "id": { - "description": "The unique identifier for the rule.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "The unique identifier for the rule.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "cloudforce-one_MetaInputEntry": cloudforce_one_MetaInputEntry, - "cloudforce-one_UpdateRule": cloudforce_one_UpdateRule, + "cloudforce-one_MetaInputEntry": cloudforce$$one_MetaInputEntry, + "cloudforce-one_UpdateRule": cloudforce$$one_UpdateRule, }, }, outputSchema: { @@ -631,10 +700,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, annotations: { @@ -665,12 +734,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ApprovalConflictResponse": cloudforce_one_ApprovalConflictResponse_output, - "cloudforce-one_ApprovalPendingResponse": cloudforce_one_ApprovalPendingResponse_output, - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_PendingRuleChange": cloudforce_one_PendingRuleChange_output, - "cloudforce-one_RuleMetaEntry": cloudforce_one_RuleMetaEntry_output, - "cloudforce-one_RulePreview": cloudforce_one_RulePreview_output, + "cloudforce-one_ApprovalConflictResponse": cloudforce$$one_ApprovalConflictResponse, + "cloudforce-one_ApprovalPendingResponse": cloudforce$$one_ApprovalPendingResponse, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_PendingRuleChange": cloudforce$$one_PendingRuleChange, + "cloudforce-one_RuleMetaEntry": cloudforce$$one_RuleMetaEntry, + "cloudforce-one_RulePreview": cloudforce$$one_RulePreview, }, }, request: (args) => ({ @@ -679,16 +748,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_rules_validate", + name: "cloudforceOne_rules_validate", title: "Validate rule with context", description: "Validates rule syntax, name uniqueness, namespace, and metadata.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "content": { @@ -717,16 +782,28 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_ValidationResponse", $defs: { - "cloudforce-one_ValidationResponse": cloudforce_one_ValidationResponse_output, + "cloudforce-one_ValidationResponse": cloudforce$$one_ValidationResponse, }, }, annotations: { @@ -748,8 +825,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_ValidationResponse": cloudforce_one_ValidationResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_ValidationResponse": cloudforce$$one_ValidationResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/rules/tree/outputs.ts b/src/generated/forge-mcp/cloudforceOne/rules/tree/outputs.ts index 0ef437fa5..846f14ac0 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/tree/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/tree/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one_TreeNode` in responses. */ -export const cloudforce_one_TreeNode_output: JsonSchema = { +export const cloudforce$$one_TreeNode: JsonSchema = { "properties": { "children": { "items": { @@ -36,7 +36,7 @@ export const cloudforce_one_TreeNode_output: JsonSchema = { /** * The schema of `cloudforce-one_TreeResponse` in responses. */ -export const cloudforce_one_TreeResponse_output: JsonSchema = { +export const cloudforce$$one_TreeResponse: JsonSchema = { "properties": { "tree": { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts index b1ab87498..6ac2bfd53 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts @@ -2,37 +2,45 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; -import { cloudforce_one_ErrorResponse_output } from "../outputs.js"; +import { cloudforce$$one_ErrorResponse } from "../outputs.js"; import { - cloudforce_one_TreeNode_output, - cloudforce_one_TreeResponse_output, + cloudforce$$one_TreeNode, + cloudforce$$one_TreeResponse, } from "./outputs.js"; /** - * The tools of `cloudforce_one.rules.tree`. + * The tools of `cloudforceOne.rules.tree`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_rules_tree_get", + name: "cloudforceOne_rules_tree_get", title: "Get folder tree structure", description: "Get the folder tree structure for rules navigation.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cloudforce-one_TreeResponse", $defs: { - "cloudforce-one_TreeNode": cloudforce_one_TreeNode_output, - "cloudforce-one_TreeResponse": cloudforce_one_TreeResponse_output, + "cloudforce-one_TreeNode": cloudforce$$one_TreeNode, + "cloudforce-one_TreeResponse": cloudforce$$one_TreeResponse, }, }, annotations: { @@ -54,9 +62,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one_ErrorResponse": cloudforce_one_ErrorResponse_output, - "cloudforce-one_TreeNode": cloudforce_one_TreeNode_output, - "cloudforce-one_TreeResponse": cloudforce_one_TreeResponse_output, + "cloudforce-one_ErrorResponse": cloudforce$$one_ErrorResponse, + "cloudforce-one_TreeNode": cloudforce$$one_TreeNode, + "cloudforce-one_TreeResponse": cloudforce$$one_TreeResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts b/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts index de8c66293..7ab60c0a7 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one-port-scan-api_frequency` in responses. */ -export const cloudforce_one_port_scan_api_frequency_output: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_frequency: JsonSchema = { "type": "number" }; /** * The schema of `cloudforce-one-port-scan-api_ips` in responses. */ -export const cloudforce_one_port_scan_api_ips_output: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_ips: JsonSchema = { "items": { "type": "string" }, @@ -23,7 +23,7 @@ export const cloudforce_one_port_scan_api_ips_output: JsonSchema = { /** * The schema of `cloudforce-one-port-scan-api_ports` in responses. */ -export const cloudforce_one_port_scan_api_ports_output: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_ports: JsonSchema = { "items": { "type": "string" }, @@ -33,7 +33,7 @@ export const cloudforce_one_port_scan_api_ports_output: JsonSchema = { /** * The schema of `cloudforce-one-port-scan-api_scan-config` in responses. */ -export const cloudforce_one_port_scan_api_scan_config_output: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_scan$$config: JsonSchema = { "properties": { "account_id": { "type": "string" diff --git a/src/generated/forge-mcp/cloudforceOne/scans/config/schemas.ts b/src/generated/forge-mcp/cloudforceOne/scans/config/schemas.ts index eaa797ac8..88d41311b 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/config/schemas.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/config/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one-port-scan-api_frequency`. */ -export const cloudforce_one_port_scan_api_frequency: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_frequency: JsonSchema = { "description": "Defines the number of days between each scan (0 = One-off scan).", "type": "number" }; @@ -14,7 +14,7 @@ export const cloudforce_one_port_scan_api_frequency: JsonSchema = { /** * The schema of `cloudforce-one-port-scan-api_ips`. */ -export const cloudforce_one_port_scan_api_ips: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_ips: JsonSchema = { "description": "Defines a list of IP addresses or CIDR blocks to scan. The maximum number of total IP addresses allowed is 5000.", "items": { "type": "string" @@ -25,7 +25,7 @@ export const cloudforce_one_port_scan_api_ips: JsonSchema = { /** * The schema of `cloudforce-one-port-scan-api_ports`. */ -export const cloudforce_one_port_scan_api_ports: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_ports: JsonSchema = { "description": "Defines a list of ports to scan. Valid values are:\"default\", \"all\", or a comma-separated list of ports or range of ports (e.g. [\"1-80\", \"443\"]). \"default\" scans the 100 most commonly open ports.", "items": { "type": "string" diff --git a/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts b/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts index 01192be97..3bb6b32d5 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts @@ -3,37 +3,33 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cloudforce_one_port_scan_api_api_response_common_failure_output, - cloudforce_one_port_scan_api_api_response_common_output, - cloudforce_one_port_scan_api_messages_output, + cloudforce$$one$$port$$scan$$api_api$$response$$common, + cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, + cloudforce$$one$$port$$scan$$api_messages, } from "../outputs.js"; import { - cloudforce_one_port_scan_api_frequency_output, - cloudforce_one_port_scan_api_ips_output, - cloudforce_one_port_scan_api_ports_output, - cloudforce_one_port_scan_api_scan_config_output, + cloudforce$$one$$port$$scan$$api_frequency, + cloudforce$$one$$port$$scan$$api_ips, + cloudforce$$one$$port$$scan$$api_ports, + cloudforce$$one$$port$$scan$$api_scan$$config, } from "./outputs.js"; import { - cloudforce_one_port_scan_api_frequency, - cloudforce_one_port_scan_api_ips, - cloudforce_one_port_scan_api_ports, + cloudforce$$one$$port$$scan$$api_frequency as cloudforce$$one$$port$$scan$$api_frequency$, + cloudforce$$one$$port$$scan$$api_ips as cloudforce$$one$$port$$scan$$api_ips$, + cloudforce$$one$$port$$scan$$api_ports as cloudforce$$one$$port$$scan$$api_ports$, } from "./schemas.js"; /** - * The tools of `cloudforce_one.scans.config`. + * The tools of `cloudforceOne.scans.config`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_scans_config_create", + name: "cloudforceOne_scans_config_create", title: "Create a new Scan Config", description: "Creates a new scan configuration for Cloudforce One's network scanning service.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Defines the Account ID.", - "type": "string" - }, "body": { "properties": { "frequency": { @@ -53,15 +49,27 @@ export const tools: readonly Tool[] = [ "ips" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Defines the Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency, - "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips, - "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports, + "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency$, + "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips$, + "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports$, }, }, outputSchema: { @@ -79,12 +87,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloudforce-one-port-scan-api_api-response-common": cloudforce_one_port_scan_api_api_response_common_output, - "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency_output, - "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips_output, - "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, - "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports_output, - "cloudforce-one-port-scan-api_scan-config": cloudforce_one_port_scan_api_scan_config_output, + "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, + "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, + "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, + "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, + "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, + "cloudforce-one-port-scan-api_scan-config": cloudforce$$one$$port$$scan$$api_scan$$config, }, }, annotations: { @@ -123,13 +131,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-port-scan-api_api-response-common": cloudforce_one_port_scan_api_api_response_common_output, - "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, - "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency_output, - "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips_output, - "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, - "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports_output, - "cloudforce-one-port-scan-api_scan-config": cloudforce_one_port_scan_api_scan_config_output, + "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, + "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, + "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, + "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, + "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, + "cloudforce-one-port-scan-api_scan-config": cloudforce$$one$$port$$scan$$api_scan$$config, }, }, request: (args) => ({ @@ -138,24 +146,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_scans_config_delete", + name: "cloudforceOne_scans_config_delete", title: "Delete a Scan Config", description: "Deletes a scan configuration from Cloudforce One's network scanning service.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Defines the Account ID.", - "type": "string" - }, - "config_id": { - "description": "Defines the Config ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Defines the Account ID.", + "type": "string" + }, + "config_id": { + "description": "Defines the Config ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "config_id" + ], + "type": "object" } }, required: [ - "account_id", - "config_id" + "path" ], }, outputSchema: { @@ -237,9 +253,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-port-scan-api_api-response-common": cloudforce_one_port_scan_api_api_response_common_output, - "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, - "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, + "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, + "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, }, }, request: (args) => ({ @@ -247,16 +263,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_scans_config_edit", + name: "cloudforceOne_scans_config_edit", title: "Update an existing Scan Config", description: "Updates an existing scan configuration in Cloudforce One's network scanning service.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Defines the Account ID.", - "type": "string" - }, "body": { "properties": { "frequency": { @@ -274,19 +286,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "config_id": { - "description": "Defines the Config ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Defines the Account ID.", + "type": "string" + }, + "config_id": { + "description": "Defines the Config ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "config_id" + ], + "type": "object" } }, required: [ - "account_id", - "config_id" + "path" ], $defs: { - "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency, - "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips, - "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports, + "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency$, + "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips$, + "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports$, }, }, outputSchema: { @@ -304,12 +328,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloudforce-one-port-scan-api_api-response-common": cloudforce_one_port_scan_api_api_response_common_output, - "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency_output, - "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips_output, - "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, - "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports_output, - "cloudforce-one-port-scan-api_scan-config": cloudforce_one_port_scan_api_scan_config_output, + "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, + "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, + "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, + "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, + "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, + "cloudforce-one-port-scan-api_scan-config": cloudforce$$one$$port$$scan$$api_scan$$config, }, }, annotations: { @@ -348,13 +372,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-port-scan-api_api-response-common": cloudforce_one_port_scan_api_api_response_common_output, - "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, - "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency_output, - "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips_output, - "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, - "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports_output, - "cloudforce-one-port-scan-api_scan-config": cloudforce_one_port_scan_api_scan_config_output, + "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, + "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, + "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, + "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, + "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, + "cloudforce-one-port-scan-api_scan-config": cloudforce$$one$$port$$scan$$api_scan$$config, }, }, request: (args) => ({ @@ -363,19 +387,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_scans_config_list", + name: "cloudforceOne_scans_config_list", title: "List Scan Configs", description: "Lists scan configurations for Cloudforce One's network scanning service.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Defines the Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Defines the Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -396,12 +428,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cloudforce-one-port-scan-api_api-response-common": cloudforce_one_port_scan_api_api_response_common_output, - "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency_output, - "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips_output, - "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, - "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports_output, - "cloudforce-one-port-scan-api_scan-config": cloudforce_one_port_scan_api_scan_config_output, + "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, + "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, + "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, + "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, + "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, + "cloudforce-one-port-scan-api_scan-config": cloudforce$$one$$port$$scan$$api_scan$$config, }, }, annotations: { @@ -444,13 +476,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-port-scan-api_api-response-common": cloudforce_one_port_scan_api_api_response_common_output, - "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, - "cloudforce-one-port-scan-api_frequency": cloudforce_one_port_scan_api_frequency_output, - "cloudforce-one-port-scan-api_ips": cloudforce_one_port_scan_api_ips_output, - "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, - "cloudforce-one-port-scan-api_ports": cloudforce_one_port_scan_api_ports_output, - "cloudforce-one-port-scan-api_scan-config": cloudforce_one_port_scan_api_scan_config_output, + "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, + "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, + "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, + "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, + "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, + "cloudforce-one-port-scan-api_scan-config": cloudforce$$one$$port$$scan$$api_scan$$config, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/scans/outputs.ts b/src/generated/forge-mcp/cloudforceOne/scans/outputs.ts index 9bce41f2e..7864ef628 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `cloudforce-one-port-scan-api_api-response-common` in * responses. */ -export const cloudforce_one_port_scan_api_api_response_common_output: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cloudforce-one-port-scan-api_messages" @@ -34,7 +34,7 @@ export const cloudforce_one_port_scan_api_api_response_common_output: JsonSchema * The schema of `cloudforce-one-port-scan-api_api-response-common-failure` in * responses. */ -export const cloudforce_one_port_scan_api_api_response_common_failure_output: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cloudforce-one-port-scan-api_api-response-common" @@ -56,7 +56,7 @@ export const cloudforce_one_port_scan_api_api_response_common_failure_output: Js /** * The schema of `cloudforce-one-port-scan-api_messages` in responses. */ -export const cloudforce_one_port_scan_api_messages_output: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/cloudforceOne/scans/results/outputs.ts b/src/generated/forge-mcp/cloudforceOne/scans/results/outputs.ts index 15a4fb3fd..17543eed0 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/results/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/results/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudforce-one-port-scan-api_port` in responses. */ -export const cloudforce_one_port_scan_api_port_output: JsonSchema = { +export const cloudforce$$one$$port$$scan$$api_port: JsonSchema = { "properties": { "number": { "type": "number" diff --git a/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts b/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts index c21e23d68..e3425e162 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts @@ -3,35 +3,43 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cloudforce_one_port_scan_api_api_response_common_failure_output, - cloudforce_one_port_scan_api_api_response_common_output, - cloudforce_one_port_scan_api_messages_output, + cloudforce$$one$$port$$scan$$api_api$$response$$common, + cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, + cloudforce$$one$$port$$scan$$api_messages, } from "../outputs.js"; -import { cloudforce_one_port_scan_api_port_output } from "./outputs.js"; +import { cloudforce$$one$$port$$scan$$api_port } from "./outputs.js"; /** - * The tools of `cloudforce_one.scans.results`. + * The tools of `cloudforceOne.scans.results`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_scans_results_get", + name: "cloudforceOne_scans_results_get", title: "Get the Latest Scan Result", description: "Retrieves the latest scan results for a Cloudforce One scan configuration, including discovered open ports.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Defines the Account ID.", - "type": "string" - }, - "config_id": { - "description": "Defines the Config ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Defines the Account ID.", + "type": "string" + }, + "config_id": { + "description": "Defines the Config ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "config_id" + ], + "type": "object" } }, required: [ - "account_id", - "config_id" + "path" ], }, outputSchema: { @@ -74,7 +82,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudforce-one-port-scan-api_port": cloudforce_one_port_scan_api_port_output, + "cloudforce-one-port-scan-api_port": cloudforce$$one$$port$$scan$$api_port, }, }, annotations: { @@ -139,10 +147,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-port-scan-api_api-response-common": cloudforce_one_port_scan_api_api_response_common_output, - "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, - "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, - "cloudforce-one-port-scan-api_port": cloudforce_one_port_scan_api_port_output, + "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, + "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, + "cloudforce-one-port-scan-api_port": cloudforce$$one$$port$$scan$$api_port, }, }, request: (args) => ({ @@ -150,24 +158,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_scans_results_get_banners", + name: "cloudforceOne_scans_results_getBanners", title: "Get the Latest Banner Grab Result", description: "Retrieves the latest banner grab results for a Cloudforce One scan configuration, including service banners from open ports.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Defines the Account ID.", - "type": "string" - }, - "config_id": { - "description": "Defines the Config ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Defines the Account ID.", + "type": "string" + }, + "config_id": { + "description": "Defines the Config ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "config_id" + ], + "type": "object" } }, required: [ - "account_id", - "config_id" + "path" ], }, outputSchema: { @@ -210,7 +226,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudforce-one-port-scan-api_port": cloudforce_one_port_scan_api_port_output, + "cloudforce-one-port-scan-api_port": cloudforce$$one$$port$$scan$$api_port, }, }, annotations: { @@ -269,10 +285,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-port-scan-api_api-response-common": cloudforce_one_port_scan_api_api_response_common_output, - "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce_one_port_scan_api_api_response_common_failure_output, - "cloudforce-one-port-scan-api_messages": cloudforce_one_port_scan_api_messages_output, - "cloudforce-one-port-scan-api_port": cloudforce_one_port_scan_api_port_output, + "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, + "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, + "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, + "cloudforce-one-port-scan-api_port": cloudforce$$one$$port$$scan$$api_port, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts index 459f03278..fca15a97f 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.datasets.access.groups.members`. + * The tools of `cloudforceOne.threatIntel.datasets.access.groups.members`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_datasets_access_groups_members_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "accountId": { @@ -29,13 +25,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "group_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], }, outputSchema: { @@ -145,27 +153,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_access_groups_members_delete", + name: "cloudforceOne_threatIntel_datasets_access_groups_members_delete", title: "Remove an account from a group", description: "Removes an account from an account group.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "group_id": { - "type": "string" - }, - "member_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "group_id": { + "type": "string" + }, + "member_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "group_id", + "member_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id", - "member_id" + "path" ], }, outputSchema: { @@ -243,23 +259,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_access_groups_members_list", + name: "cloudforceOne_threatIntel_datasets_access_groups_members_list", title: "List group members", description: "Lists the accounts in an account group.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "group_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts index 78a479b01..d1fb7a76f 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.datasets.access.groups`. + * The tools of `cloudforceOne.threatIntel.datasets.access.groups`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_datasets_access_groups_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "description": { @@ -32,10 +28,22 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -151,23 +159,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_access_groups_delete", + name: "cloudforceOne_threatIntel_datasets_access_groups_delete", title: "Delete an account group", description: "Deletes an account group by its ID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "group_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], }, outputSchema: { @@ -245,23 +261,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_access_groups_get", + name: "cloudforceOne_threatIntel_datasets_access_groups_get", title: "Get an account group", description: "Returns an account group by its ID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "group_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], }, outputSchema: { @@ -436,19 +460,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_access_groups_list", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -569,16 +601,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_access_groups_update", + name: "cloudforceOne_threatIntel_datasets_access_groups_update", title: "Update an account group", description: "Replaces an account group's `name` and `description`.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "description": { @@ -594,13 +622,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "group_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts index 33fdaec3c..ad72d27a1 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.datasets.access.permissions`. + * The tools of `cloudforceOne.threatIntel.datasets.access.permissions`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_datasets_access_permissions_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "role": { @@ -45,15 +41,27 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -213,29 +221,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_access_permissions_delete", + name: "cloudforceOne_threatIntel_datasets_access_permissions_delete", title: "Revoke access to a dataset", description: "Removes an access grant from a dataset.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - }, - "grant_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + }, + "grant_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id", + "grant_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "grant_id" + "path" ], }, outputSchema: { @@ -343,25 +359,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_access_permissions_list", + name: "cloudforceOne_threatIntel_datasets_access_permissions_list", title: "List dataset permissions", description: "Lists the access grants on a dataset.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -556,16 +580,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_access_permissions_update", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "role": { @@ -581,19 +601,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - }, - "grant_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + }, + "grant_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id", + "grant_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "grant_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts index c510f6eaf..f119aee50 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.datasets`. + * The tools of `cloudforceOne.threatIntel.datasets`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_datasets_create", + name: "cloudforceOne_threatIntel_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": { @@ -34,10 +30,22 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -141,24 +149,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_delete", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID to delete", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -274,25 +290,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_get", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -425,23 +449,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_list", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "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" + "query": { + "properties": { + "includeDeleted": { + "description": "When true, include soft-deleted datasets in the response. Each item includes a `deletedAt` field (ISO 8601 or null). Default: false.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -572,24 +609,32 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset`, query: [ - ["includeDeleted", args["include_deleted"], true], + ["includeDeleted", param(args, "query", "includeDeleted"), true], ], }), }, { - name: "cloudforce_one_threat_intel_datasets_populate", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1692,16 +1737,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_datasets_update", + name: "cloudforceOne_threatIntel_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": { @@ -1719,15 +1760,27 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "dataset_id": { - "description": "Dataset ID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts index 6498caf27..53fbcee86 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts @@ -1,33 +1,46 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.attackers`. + * The tools of `cloudforceOne.threatIntel.events.attackers`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_attackers_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "dataset_ids": { - "description": "Array of dataset IDs to query attackers from. If not provided, uses the default dataset.", - "items": { - "type": "string" + "query": { + "properties": { + "datasetIds": { + "description": "Array of dataset IDs to query attackers from. If not provided, uses the default dataset.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -128,7 +141,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/attackers`, query: [ - ["datasetIds", args["dataset_ids"], true], + ["datasetIds", param(args, "query", "datasetIds"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts index 99d8116c2..91100c779 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts @@ -4,23 +4,31 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.categories.catalog`. + * The tools of `cloudforceOne.threatIntel.events.categories.catalog`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_categories_catalog_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts index c2cdad8bc..17957dba2 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.categories`. + * The tools of `cloudforceOne.threatIntel.events.categories`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_categories_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "killChain": { @@ -47,10 +43,22 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -176,25 +184,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_categories_delete", + name: "cloudforceOne_threatIntel_events_categories_delete", title: "Delete an event category", description: "Deletes an event category by its ID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "category_id": { - "description": "Category UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "category_id": { + "description": "Category UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id" + "path" ], }, outputSchema: { @@ -272,25 +288,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_categories_get", + name: "cloudforceOne_threatIntel_events_categories_get", title: "Get an event category", description: "Returns an event category by its ID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "category_id": { - "description": "Category UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "category_id": { + "description": "Category UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id" + "path" ], }, outputSchema: { @@ -415,26 +439,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_categories_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "dataset_ids": { - "description": "Array of dataset IDs to query categories from. If not provided, uses the default dataset.", - "items": { - "type": "string" + "query": { + "properties": { + "datasetIds": { + "description": "Array of dataset IDs to query categories from. If not provided, uses the default dataset.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -563,21 +600,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/categories`, query: [ - ["datasetIds", args["dataset_ids"], true], + ["datasetIds", param(args, "query", "datasetIds"), true], ], }), }, { - name: "cloudforce_one_threat_intel_events_categories_update", + name: "cloudforceOne_threatIntel_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": { @@ -604,15 +637,27 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "category_id": { - "description": "Category UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "category_id": { + "description": "Category UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts index 8136ba039..3dbb319ff 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts @@ -4,23 +4,31 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.countries`. + * The tools of `cloudforceOne.threatIntel.events.countries`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_countries_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts index 27b1a070d..f45280c2b 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts @@ -4,33 +4,41 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.legacy.raw`. + * The tools of `cloudforceOne.threatIntel.events.legacy.raw`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_legacy_raw_get", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "event_id": { - "description": "Event UUID.", - "type": "string" - }, - "raw_id": { - "description": "Raw Event UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + }, + "raw_id": { + "description": "Raw Event UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "event_id", + "raw_id" + ], + "type": "object" } }, required: [ - "account_id", - "event_id", - "raw_id" + "path" ], }, outputSchema: { @@ -149,16 +157,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_legacy_raw_update", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "data": { @@ -173,19 +177,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "event_id": { - "description": "Event UUID.", - "type": "string" - }, - "raw_id": { - "description": "Raw Event UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + }, + "raw_id": { + "description": "Raw Event UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "event_id", + "raw_id" + ], + "type": "object" } }, required: [ - "account_id", - "event_id", - "raw_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts index 7c8aa01d6..183a35bc8 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.legacy.references`. + * The tools of `cloudforceOne.threatIntel.events.legacy.references`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_legacy_references_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "events": { @@ -32,14 +28,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "event_id": { - "description": "Event UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "event_id" + ], + "type": "object" } }, required: [ - "account_id", - "event_id" + "path" ], }, outputSchema: { @@ -143,16 +151,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_legacy_references_delete", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "events": { @@ -167,14 +171,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "event_id": { - "description": "Event UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "event_id" + ], + "type": "object" } }, required: [ - "account_id", - "event_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts index 22c9aa77f..be89a149d 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.legacy.tags`. + * The tools of `cloudforceOne.threatIntel.events.legacy.tags`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_legacy_tags_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "tags": { @@ -32,14 +28,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "event_id": { - "description": "Event UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "event_id" + ], + "type": "object" } }, required: [ - "account_id", - "event_id" + "path" ], }, outputSchema: { @@ -143,16 +151,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_legacy_tags_delete", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "tags": { @@ -167,14 +171,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "event_id": { - "description": "Event UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "event_id" + ], + "type": "object" } }, required: [ - "account_id", - "event_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts index aeaf6a1e4..c4526380b 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts @@ -4,23 +4,31 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.legacy`. + * The tools of `cloudforceOne.threatIntel.events.legacy`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_legacy_graphql", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts index c35257981..a747a27da 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.queries`. + * The tools of `cloudforceOne.threatIntel.events.queries`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_queries_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "alert_enabled": { @@ -57,10 +53,22 @@ export const tools: readonly Tool[] = [ "query_json" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -244,24 +252,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_queries_delete", + name: "cloudforceOne_threatIntel_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": "integer" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "query_id": { + "description": "Event query ID", + "type": "integer" + } + }, + "required": [ + "account_id", + "query_id" + ], + "type": "object" } }, required: [ - "account_id", - "query_id" + "path" ], }, annotations: { @@ -318,24 +334,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_queries_get", + name: "cloudforceOne_threatIntel_events_queries_get", title: "Get a saved event query", description: "Returns 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": "integer" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "query_id": { + "description": "Event query ID", + "type": "integer" + } + }, + "required": [ + "account_id", + "query_id" + ], + "type": "object" } }, required: [ - "account_id", - "query_id" + "path" ], }, outputSchema: { @@ -518,19 +542,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_queries_list", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -720,16 +752,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_queries_update", + name: "cloudforceOne_threatIntel_events_queries_update", title: "Update a saved event query", description: "Updates the given fields of a saved event query.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "alert_enabled": { @@ -763,14 +791,26 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "query_id": { - "description": "Event query ID", - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "query_id": { + "description": "Event query ID", + "type": "integer" + } + }, + "required": [ + "account_id", + "query_id" + ], + "type": "object" } }, required: [ - "account_id", - "query_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts index 0b90e8f5d..00afee9de 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts @@ -4,33 +4,41 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.raw`. + * The tools of `cloudforceOne.threatIntel.events.raw`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_raw_get", + name: "cloudforceOne_threatIntel_events_raw_get", title: "Get raw data for an event", description: "Returns the raw source data stored with an event.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" - }, - "event_id": { - "description": "Event ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "type": "string" + }, + "event_id": { + "description": "Event ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id", + "event_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "event_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts index e97b42d49..4b687fb4d 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.relationships`. + * The tools of `cloudforceOne.threatIntel.events.relationships`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_relationships_create", + name: "cloudforceOne_threatIntel_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": { @@ -55,10 +51,22 @@ export const tools: readonly Tool[] = [ "relationshipType" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -286,75 +294,91 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_relationships_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "The dataset ID to search within.", - "type": "string" - }, - "direction": { - "default": "both", - "description": "The direction to traverse the graph. Defaults to 'both' to search all.", - "enum": [ - "ancestors", - "descendants", - "both" - ], - "type": "string" - }, - "event_id": { - "description": "Event UUID.", - "type": "string" - }, - "include_parent": { - "default": true, - "description": "Whether to include the starting event in the results. Defaults to true.", - "type": "boolean" - }, - "indicator_type_ids": { - "description": "An optional array of indicator type IDs to filter the results by.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + } }, - "type": "array" - }, - "max_depth": { - "description": "The maximum depth to traverse. Defaults to 5.", - "type": "number" - }, - "page": { - "type": "number" - }, - "page_size": { - "type": "number" + "required": [ + "account_id", + "event_id" + ], + "type": "object" }, - "relationship_types": { - "anyOf": [ - { + "query": { + "properties": { + "datasetId": { + "description": "The dataset ID to search within.", "type": "string" }, - { + "direction": { + "default": "both", + "description": "The direction to traverse the graph. Defaults to 'both' to search all.", + "enum": [ + "ancestors", + "descendants", + "both" + ], + "type": "string" + }, + "includeParent": { + "default": true, + "description": "Whether to include the starting event in the results. Defaults to true.", + "type": "boolean" + }, + "indicatorTypeIds": { + "description": "An optional array of indicator type IDs to filter the results by.", "items": { "type": "string" }, "type": "array" + }, + "maxDepth": { + "description": "The maximum depth to traverse. Defaults to 5.", + "type": "number" + }, + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "relationshipTypes": { + "anyOf": [ + { + "type": "string" + }, + { + "items": { + "type": "string" + }, + "type": "array" + } + ], + "description": "An optional array of relationship types to filter by." } + }, + "required": [ + "datasetId" ], - "description": "An optional array of relationship types to filter by." + "type": "object" } }, required: [ - "account_id", - "event_id", - "dataset_id" + "path", + "query" ], }, outputSchema: { @@ -699,14 +723,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/by-id/${pathParam(args, "event_id")}/relationships`, query: [ - ["direction", args["direction"], true], - ["maxDepth", args["max_depth"], true], - ["relationshipTypes", args["relationship_types"], true], - ["indicatorTypeIds", args["indicator_type_ids"], true], - ["datasetId", args["dataset_id"], true], - ["includeParent", args["include_parent"], true], - ["page", args["page"], true], - ["pageSize", args["page_size"], true], + ["direction", param(args, "query", "direction"), true], + ["maxDepth", param(args, "query", "maxDepth"), true], + ["relationshipTypes", param(args, "query", "relationshipTypes"), true], + ["indicatorTypeIds", param(args, "query", "indicatorTypeIds"), true], + ["datasetId", param(args, "query", "datasetId"), true], + ["includeParent", param(args, "query", "includeParent"), true], + ["page", param(args, "query", "page"), true], + ["pageSize", param(args, "query", "pageSize"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts index 94ed7f89b..348dccf04 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts @@ -4,23 +4,31 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.target_industries.catalog`. + * The tools of `cloudforceOne.threatIntel.events.targetIndustries.catalog`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_target_industries_catalog_list", + name: "cloudforceOne_threatIntel_events_targetIndustries_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: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts index 989e98a8f..e3cb14f52 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts @@ -4,29 +4,37 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.target_industries.legacy`. + * The tools of `cloudforceOne.threatIntel.events.targetIndustries.legacy`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_target_industries_legacy_list", + name: "cloudforceOne_threatIntel_events_targetIndustries_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts index 8a9b9f364..37c2612a9 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts @@ -1,33 +1,46 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events.target_industries`. + * The tools of `cloudforceOne.threatIntel.events.targetIndustries`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_target_industries_list", + name: "cloudforceOne_threatIntel_events_targetIndustries_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: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "dataset_ids": { - "description": "Array of dataset IDs to query target industries from. If not provided, uses the default dataset.", - "items": { - "type": "string" + "query": { + "properties": { + "datasetIds": { + "description": "Array of dataset IDs to query target industries from. If not provided, uses the default dataset.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -128,7 +141,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/targetIndustries`, query: [ - ["datasetIds", args["dataset_ids"], true], + ["datasetIds", param(args, "query", "datasetIds"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts index c75a91b73..827ef2993 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts @@ -1,55 +1,71 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.events`. + * The tools of `cloudforceOne.threatIntel.events`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_events_aggregate", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "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" + "required": [ + "account_id" + ], + "type": "object" }, - "start_date": { - "description": "Start date for filtering (ISO 8601 format, e.g., '2024-01-01')", - "type": "string" + "query": { + "properties": { + "aggregateBy": { + "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" + }, + "datasetId": { + "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" + }, + "endDate": { + "description": "End date for filtering (ISO 8601 format, e.g., '2024-12-31')", + "type": "string" + }, + "groupByDate": { + "description": "Whether to group results by date (daily aggregation)", + "type": "boolean" + }, + "limit": { + "default": 100, + "description": "Maximum number of results to return", + "type": "number" + }, + "startDate": { + "description": "Start date for filtering (ISO 8601 format, e.g., '2024-01-01')", + "type": "string" + } + }, + "required": [ + "aggregateBy" + ], + "type": "object" } }, required: [ - "account_id", - "aggregate_by" + "path", + "query" ], }, outputSchema: { @@ -226,26 +242,22 @@ export const tools: readonly Tool[] = [ 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], + ["aggregateBy", param(args, "query", "aggregateBy"), true], + ["datasetId", param(args, "query", "datasetId"), true], + ["startDate", param(args, "query", "startDate"), true], + ["endDate", param(args, "query", "endDate"), true], + ["groupByDate", param(args, "query", "groupByDate"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, { - name: "cloudforce_one_threat_intel_events_bulk_create", + name: "cloudforceOne_threatIntel_events_bulkCreate", 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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "data": { @@ -374,10 +386,22 @@ export const tools: readonly Tool[] = [ "datasetId" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -571,16 +595,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_bulk_update", + name: "cloudforceOne_threatIntel_events_bulkUpdate", 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": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "datasetId": { @@ -671,10 +691,22 @@ export const tools: readonly Tool[] = [ "updates" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -797,16 +829,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_copy", + name: "cloudforceOne_threatIntel_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": { @@ -825,19 +853,36 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" }, - "keep_raw_data": { - "description": "If true, copies raw data to the destination dataset. Default is false (raw data is stripped/not copied).", - "type": "boolean" + "query": { + "properties": { + "keepRawData": { + "description": "If true, copies raw data to the destination dataset. Default is false (raw data is stripped/not copied).", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -966,22 +1011,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/copy`, query: [ - ["keepRawData", args["keep_raw_data"], true], + ["keepRawData", param(args, "query", "keepRawData"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_threat_intel_events_create", + name: "cloudforceOne_threatIntel_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": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "accountId": { @@ -1129,10 +1170,22 @@ export const tools: readonly Tool[] = [ "tlp" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1474,33 +1527,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_delete", + name: "cloudforceOne_threatIntel_events_delete", title: "Delete events", description: "Deletes one or more events from a dataset. Pass the event UUIDs in `eventIds`.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" }, - "event_ids": { - "description": "Array of Event IDs to delete.", - "items": { - "type": "string" + "query": { + "properties": { + "eventIds": { + "description": "Array of Event IDs to delete.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "required": [ + "eventIds" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "event_ids" + "path", + "query" ], }, outputSchema: { @@ -1560,34 +1629,42 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/datasets/${pathParam(args, "dataset_id")}/events`, query: [ - ["eventIds", args["event_ids"], true], + ["eventIds", param(args, "query", "eventIds"), true], ], }), }, { - name: "cloudforce_one_threat_intel_events_get", + name: "cloudforceOne_threatIntel_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" + "path": { + "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" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "event_id" + "path" ], }, outputSchema: { @@ -1928,19 +2005,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_graphql", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2053,600 +2138,613 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_events_list", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } }, - "type": "array" - }, - "force_refresh": { - "type": "boolean" - }, - "format": { - "enum": [ - "json", - "stix2", - "taxii" - ], - "type": "string" - }, - "order": { - "enum": [ - "asc", - "desc" + "required": [ + "account_id" ], - "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" + "type": "object" }, - "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" + "query": { + "properties": { + "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" + }, + "datasetId": { + "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" }, - { - "properties": { - "field": { - "enum": [ - "killChain" - ], - "type": "string" - }, - "op": { - "enum": [ - "in" - ], - "type": "string" - }, - "value": { - "items": { - "anyOf": [ - { - "type": "number" - }, - { - "type": "string" - } - ] + "type": "array" + }, + "forceRefresh": { + "type": "boolean" + }, + "format": { + "enum": [ + "json", + "stix2", + "taxii" + ], + "type": "string" + }, + "order": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "orderBy": { + "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" + }, + "pageSize": { + "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" + } }, - "maxItems": 100, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - { - "properties": { - "field": { - "enum": [ - "hasChildren" + "required": [ + "field", + "op", + "value" ], - "type": "string" + "type": "object" }, - "op": { - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte" + { + "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": "string" + "type": "object" }, - "value": { - "anyOf": [ - { - "type": "boolean" + { + "properties": { + "field": { + "enum": [ + "killChain" + ], + "type": "string" }, - { + "op": { "enum": [ - "true", - "false", - 1, - 0, - "1", - "0" + "equals", + "not", + "gt", + "gte", + "lt", + "lte" + ], + "type": "string" + }, + "value": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } ] } - ] - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - { - "properties": { - "field": { - "enum": [ - "hasChildren" - ], - "type": "string" - }, - "op": { - "enum": [ - "in" + }, + "required": [ + "field", + "op", + "value" ], - "type": "string" + "type": "object" }, - "value": { - "items": { - "anyOf": [ - { - "type": "boolean" - }, - { - "enum": [ - "true", - "false", - 1, - 0, - "1", - "0" + { + "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" - } - ] - }, - "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": [ - { - "properties": { - "field": { - "enum": [ - "attacker", - "attackerCountry", - "category", - "createdAt", - "date", - "event", - "indicator", - "indicatorType", - "mitreAttack", - "mitreCapec", - "tags", - "targetCountry", - "targetIndustry", - "tlp", - "uuid" - ], - "type": "string" + }, + "maxItems": 100, + "minItems": 1, + "type": "array" + } }, - "op": { - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte", - "like", - "contains", - "startsWith", - "endsWith", - "find" - ], - "type": "string" + "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" + ] + } + ] + } }, - "value": { - "type": "string" - } + "required": [ + "field", + "op", + "value" + ], + "type": "object" }, - "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" + { + "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" + } }, - "op": { - "enum": [ - "in" + "required": [ + "field", + "op", + "value" + ], + "type": "object" + } + ] + }, + "maxItems": 10, + "type": "array" + }, + "searchBranches": { + "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": [ + { + "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": "string" + "type": "object" }, - "value": { - "items": { - "type": "string" + { + "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" + } }, - "maxItems": 100, - "minItems": 1, - "type": "array" - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - { - "properties": { - "field": { - "enum": [ - "killChain" + "required": [ + "field", + "op", + "value" ], - "type": "string" + "type": "object" }, - "op": { - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte" + { + "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": "string" + "type": "object" }, - "value": { - "anyOf": [ - { - "type": "number" + { + "properties": { + "field": { + "enum": [ + "killChain" + ], + "type": "string" }, - { + "op": { + "enum": [ + "in" + ], "type": "string" - } - ] - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - }, - { - "properties": { - "field": { - "enum": [ - "killChain" - ], - "type": "string" - }, - "op": { - "enum": [ - "in" - ], - "type": "string" - }, - "value": { - "items": { - "anyOf": [ - { - "type": "number" + }, + "value": { + "items": { + "anyOf": [ + { + "type": "number" + }, + { + "type": "string" + } + ] }, - { - "type": "string" - } - ] + "maxItems": 100, + "minItems": 1, + "type": "array" + } }, - "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" + "required": [ + "field", + "op", + "value" ], - "type": "string" + "type": "object" }, - "value": { - "anyOf": [ - { - "type": "boolean" + { + "properties": { + "field": { + "enum": [ + "hasChildren" + ], + "type": "string" }, - { + "op": { "enum": [ - "true", - "false", - 1, - 0, - "1", - "0" + "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" + }, + "required": [ + "field", + "op", + "value" ], - "type": "string" + "type": "object" }, - "value": { - "items": { - "anyOf": [ - { - "type": "boolean" - }, - { - "enum": [ - "true", - "false", - 1, - 0, - "1", - "0" + { + "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" + } }, - "maxItems": 100, - "minItems": 1, - "type": "array" + "required": [ + "field", + "op", + "value" + ], + "type": "object" } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" - } - ] - }, - "maxItems": 10, - "minItems": 1, - "type": "array" + ] + }, + "maxItems": 10, + "minItems": 1, + "type": "array" + }, + "maxItems": 8, + "minItems": 1, + "type": "array" + } }, - "maxItems": 8, - "minItems": 1, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2991,31 +3089,27 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events`, query: [ - ["cursor", args["cursor"], true], - ["search", args["search"], true], - ["searchBranches", args["search_branches"], true], - ["page", args["page"], true], - ["pageSize", args["page_size"], true], - ["orderBy", args["order_by"], true], - ["order", args["order"], true], - ["datasetId", args["dataset_id"], true], - ["forceRefresh", args["force_refresh"], true], - ["format", args["format"], true], - ["cache", args["cache"], true], + ["cursor", param(args, "query", "cursor"), true], + ["search", param(args, "query", "search"), true], + ["searchBranches", param(args, "query", "searchBranches"), true], + ["page", param(args, "query", "page"), true], + ["pageSize", param(args, "query", "pageSize"), true], + ["orderBy", param(args, "query", "orderBy"), true], + ["order", param(args, "query", "order"), true], + ["datasetId", param(args, "query", "datasetId"), true], + ["forceRefresh", param(args, "query", "forceRefresh"), true], + ["format", param(args, "query", "format"), true], + ["cache", param(args, "query", "cache"), true], ], }), }, { - name: "cloudforce_one_threat_intel_events_move", + name: "cloudforceOne_threatIntel_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": { @@ -3034,19 +3128,36 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" }, - "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" + "query": { + "properties": { + "keepRawData": { + "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" + } + }, + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -3211,22 +3322,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/move`, query: [ - ["keepRawData", args["keep_raw_data"], true], + ["keepRawData", param(args, "query", "keepRawData"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_threat_intel_events_search", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "cursor": { @@ -3794,28 +3901,45 @@ export const tools: readonly Tool[] = [ }, "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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "force_refresh": { - "type": "boolean" + "type": "object" }, - "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" + "query": { + "properties": { + "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" + }, + "forceRefresh": { + "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" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -4160,24 +4284,20 @@ 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], + ["forceRefresh", param(args, "query", "forceRefresh"), true], + ["format", param(args, "query", "format"), true], + ["cache", param(args, "query", "cache"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "cloudforce_one_threat_intel_events_update", + name: "cloudforceOne_threatIntel_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": { @@ -4256,14 +4376,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "event_id": { - "description": "Event UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "event_id": { + "description": "Event UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "event_id" + ], + "type": "object" } }, required: [ - "account_id", - "event_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts index 1f8bd506e..22e2f67fa 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts @@ -1,27 +1,23 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - cloudforce_one_events_HydratedEntity_output, - cloudforce_one_events_RelationshipEdge_output, + cloudforce$$one$$events_HydratedEntity, + cloudforce$$one$$events_RelationshipEdge, } from "../../outputs.js"; /** - * The tools of `cloudforce_one.threat_intel.indicators.relationships`. + * The tools of `cloudforceOne.threatIntel.indicators.relationships`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_indicators_relationships_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "confidence": { @@ -56,20 +52,32 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - }, - "indicator_id": { - "description": "Indicator UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + }, + "indicator_id": { + "description": "Indicator UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id", + "indicator_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "indicator_id" + "path" ], }, outputSchema: { @@ -183,36 +191,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_indicators_relationships_delete", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - }, - "indicator_id": { - "description": "Indicator UUID.", - "type": "string" - }, - "rel_uuid": { - "description": "Relationship UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + }, + "indicator_id": { + "description": "Indicator UUID.", + "type": "string" + }, + "rel_uuid": { + "description": "Relationship UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id", + "indicator_id", + "rel_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "indicator_id", - "rel_uuid" + "path" ], }, outputSchema: { @@ -300,109 +316,122 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_indicators_relationships_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "cursor": { - "description": "Keyset cursor from a previous page.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - }, - "expand": { - "description": "Comma-separated entity types to hydrate (event, indicator, tag).", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + }, + "indicator_id": { + "description": "Indicator UUID.", + "type": "string" + } }, - "type": "array" - }, - "indicator_id": { - "description": "Indicator UUID.", - "type": "string" - }, - "page_size": { - "default": 25, - "description": "Page size (1–100, default 25).", - "type": "integer" + "required": [ + "account_id", + "dataset_id", + "indicator_id" + ], + "type": "object" }, - "search": { - "description": "JSON array of {field, op, value} filters, AND-combined. Fields: entityType (other-end type), type (relationship type), confidence (0–100), metadata.. Example: [{\"field\":\"type\",\"op\":\"equals\",\"value\":\"appears_in\"},{\"field\":\"confidence\",\"op\":\"gte\",\"value\":50}]", - "items": { - "properties": { - "field": { - "description": "entityType | type | confidence | metadata.", - "type": "string" - }, - "op": { - "description": "Search operator. 'exists' only valid for metadata. fields.", - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte", - "like", - "contains", - "startsWith", - "endsWith", - "in", - "find", - "exists" - ], + "query": { + "properties": { + "cursor": { + "description": "Keyset cursor from a previous page.", + "type": "string" + }, + "expand": { + "description": "Comma-separated entity types to hydrate (event, indicator, tag).", + "items": { "type": "string" }, - "value": { - "anyOf": [ - { + "type": "array" + }, + "pageSize": { + "default": 25, + "description": "Page size (1–100, default 25).", + "type": "integer" + }, + "search": { + "description": "JSON array of {field, op, value} filters, AND-combined. Fields: entityType (other-end type), type (relationship type), confidence (0–100), metadata.. Example: [{\"field\":\"type\",\"op\":\"equals\",\"value\":\"appears_in\"},{\"field\":\"confidence\",\"op\":\"gte\",\"value\":50}]", + "items": { + "properties": { + "field": { + "description": "entityType | type | confidence | metadata.", "type": "string" }, - { - "type": "number" - }, - { - "type": "boolean" + "op": { + "description": "Search operator. 'exists' only valid for metadata. fields.", + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte", + "like", + "contains", + "startsWith", + "endsWith", + "in", + "find", + "exists" + ], + "type": "string" }, - { - "items": { - "anyOf": [ - { - "type": "string" + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] }, - { - "type": "number" - } - ] - }, - "type": "array" + "type": "array" + } + ], + "description": "Value to compare against. Omit for 'exists' op." } + }, + "required": [ + "field", + "op" ], - "description": "Value to compare against. Omit for 'exists' op." - } - }, - "required": [ - "field", - "op" - ], - "type": "object" + "type": "object" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "indicator_id" + "path" ], }, outputSchema: { @@ -449,8 +478,8 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "cloudforce-one-events_HydratedEntity": cloudforce_one_events_HydratedEntity_output, - "cloudforce-one-events_RelationshipEdge": cloudforce_one_events_RelationshipEdge_output, + "cloudforce-one-events_HydratedEntity": cloudforce$$one$$events_HydratedEntity, + "cloudforce-one-events_RelationshipEdge": cloudforce$$one$$events_RelationshipEdge, }, }, annotations: { @@ -546,31 +575,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-events_HydratedEntity": cloudforce_one_events_HydratedEntity_output, - "cloudforce-one-events_RelationshipEdge": cloudforce_one_events_RelationshipEdge_output, + "cloudforce-one-events_HydratedEntity": cloudforce$$one$$events_HydratedEntity, + "cloudforce-one-events_RelationshipEdge": cloudforce$$one$$events_RelationshipEdge, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators/${pathParam(args, "indicator_id")}/relationships`, query: [ - ["search", args["search"], true], - ["expand", args["expand"], true], - ["cursor", args["cursor"], true], - ["pageSize", args["page_size"], true], + ["search", param(args, "query", "search"), true], + ["expand", param(args, "query", "expand"), true], + ["cursor", param(args, "query", "cursor"), true], + ["pageSize", param(args, "query", "pageSize"), true], ], }), }, { - name: "cloudforce_one_threat_intel_indicators_relationships_update", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "confidence": { @@ -602,26 +627,38 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" - }, - "indicator_id": { - "description": "Indicator UUID.", - "type": "string" - }, - "rel_uuid": { - "description": "Relationship UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + }, + "indicator_id": { + "description": "Indicator UUID.", + "type": "string" + }, + "rel_uuid": { + "description": "Relationship UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id", + "indicator_id", + "rel_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "indicator_id", - "rel_uuid" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts index bec9d70ad..9e2be623d 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts @@ -4,28 +4,36 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.indicators.tags`. + * The tools of `cloudforceOne.threatIntel.indicators.tags`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_indicators_tags_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts index b7aba8d18..80df01494 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.indicators`. + * The tools of `cloudforceOne.threatIntel.indicators`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_indicators_bulk_create", + name: "cloudforceOne_threatIntel_indicators_bulkCreate", 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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "autoCreateType": { @@ -98,15 +94,27 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -170,35 +178,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_indicators_bulk_delete", + name: "cloudforceOne_threatIntel_indicators_bulkDelete", title: "Delete indicators in bulk", description: "Deletes up to 200 indicators from a dataset. Pass the indicator UUIDs in `indicatorIds`; UUIDs that are not found are returned in `missingUUIDs`.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" }, - "indicator_ids": { - "description": "Indicator UUIDs to delete, 1-200 per request.", - "items": { - "format": "uuid", - "type": "string" + "query": { + "properties": { + "indicatorIds": { + "description": "Indicator UUIDs to delete, 1-200 per request.", + "items": { + "format": "uuid", + "type": "string" + }, + "maxItems": 200, + "minItems": 1, + "type": "array" + } }, - "maxItems": 200, - "minItems": 1, - "type": "array" + "required": [ + "indicatorIds" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "indicator_ids" + "path", + "query" ], }, outputSchema: { @@ -316,21 +340,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/dataset/${pathParam(args, "dataset_id")}/indicators`, query: [ - ["indicatorIds", args["indicator_ids"], true], + ["indicatorIds", param(args, "query", "indicatorIds"), true], ], }), }, { - name: "cloudforce_one_threat_intel_indicators_create", + name: "cloudforceOne_threatIntel_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": { @@ -396,15 +416,27 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "dataset_id": { - "description": "Dataset UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -662,29 +694,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_indicators_delete", + name: "cloudforceOne_threatIntel_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" + "path": { + "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" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "indicator_id" + "path" ], }, outputSchema: { @@ -762,29 +802,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_indicators_get", + name: "cloudforceOne_threatIntel_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" + "path": { + "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" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "indicator_id" + "path" ], }, outputSchema: { @@ -1041,223 +1089,236 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_indicators_list", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "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" + "required": [ + "account_id" ], - "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" + "type": "object" }, - "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" - ], + "query": { + "properties": { + "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" + }, + "createdAfter": { + "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" + }, + "createdBefore": { + "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" + }, + "datasetIds": { + "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" }, - "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": "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" + }, + "includeTags": { + "description": "Whether to include full tag details for each indicator. Defaults to true.", + "type": "boolean" + }, + "includeTotalCount": { + "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" + }, + "indicatorType": { + "type": "string" + }, + "name": { + "description": "Filter indicators by value using substring match (LIKE). Legacy alternative to structured search.", + "type": "string" + }, + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "relatedEvents": { + "description": "Filter by related event IDs", + "items": { "type": "string" }, - "value": { - "anyOf": [ - { + "type": "array" + }, + "relatedEventsLimit": { + "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" }, - { - "items": { - "type": "string" - }, - "type": "array" + "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" ], - "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" + "type": "object" }, - "value": { - "anyOf": [ - { + "type": "array" + }, + "tagSearch": { + "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" }, - { - "type": "number" + "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" }, - { - "items": { - "anyOf": [ - { - "type": "string" + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] }, - { - "type": "number" - } - ] - }, - "type": "array" + "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" ], - "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." - } + "type": "object" + }, + "type": "array" }, - "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" + "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" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2186,37 +2247,33 @@ export const tools: readonly Tool[] = [ 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], + ["datasetIds", param(args, "query", "datasetIds"), true], + ["page", param(args, "query", "page"), true], + ["pageSize", param(args, "query", "pageSize"), true], + ["search", param(args, "query", "search"), true], + ["name", param(args, "query", "name"), true], + ["indicatorType", param(args, "query", "indicatorType"), true], + ["relatedEvents", param(args, "query", "relatedEvents"), true], + ["tags", param(args, "query", "tags"), true], + ["tagSearch", param(args, "query", "tagSearch"), true], + ["createdAfter", param(args, "query", "createdAfter"), true], + ["createdBefore", param(args, "query", "createdBefore"), true], + ["relatedEventsLimit", param(args, "query", "relatedEventsLimit"), true], + ["includeTags", param(args, "query", "includeTags"), true], + ["includeTotalCount", param(args, "query", "includeTotalCount"), true], + ["format", param(args, "query", "format"), true], + ["cache", param(args, "query", "cache"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, { - name: "cloudforce_one_threat_intel_indicators_update", + name: "cloudforceOne_threatIntel_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": { @@ -2274,19 +2331,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" - }, - "indicator_id": { - "description": "Indicator UUID.", - "type": "string" + "path": { + "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" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", - "indicator_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts index a2ab658ad..ece26ceb7 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.indicators.types`. + * The tools of `cloudforceOne.threatIntel.indicators.types`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_indicators_types_create", + name: "cloudforceOne_threatIntel_indicators_types_create", title: "Create an indicator type", description: "Creates an indicator type in a dataset.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "description": { @@ -34,14 +30,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "dataset_id": { - "description": "Dataset ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "dataset_id": { + "description": "Dataset ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -223,26 +231,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_indicators_types_list", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "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" + "query": { + "properties": { + "datasetIds": { + "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" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -343,7 +364,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/indicator-types`, query: [ - ["datasetIds", args["dataset_ids"], true], + ["datasetIds", param(args, "query", "datasetIds"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/outputs.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/outputs.ts index 1a97ef485..732e86f00 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudforce-one-events_HydratedEntity` in responses. */ -export const cloudforce_one_events_HydratedEntity_output: JsonSchema = { +export const cloudforce$$one$$events_HydratedEntity: JsonSchema = { "type": "object" }; /** * The schema of `cloudforce-one-events_RelationshipEdge` in responses. */ -export const cloudforce_one_events_RelationshipEdge_output: JsonSchema = { +export const cloudforce$$one$$events_RelationshipEdge: JsonSchema = { "properties": { "confidence": { "oneOf": [ diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts index a6de64889..325a33efb 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts @@ -1,95 +1,108 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.tags.actors`. + * The tools of `cloudforceOne.threatIntel.tags.actors`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_tags_actors_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "filters": { - "description": "Structured filters as a JSON array of {field, op, value} objects. Same shape as the events search API. Common use: filter actors by country with filters=[{\"field\":\"originCountryISO\",\"op\":\"in\",\"value\":[\"IR\",\"CN\"]}]. Country values may be passed as alpha-2, alpha-3, name, or alias (e.g. \"iran\"). Max 10 entries per request, max 100 values per 'in'. Accounts other than the catalog owner may only filter on fields that are also public-readable (`uuid`, `value`, `categoryName`, `aliasGroupNames`, `originCountryISO`); filtering on a redacted field returns 400. `uuid` filters accept only the `equals` and `in` operators. Performance notes: `originCountryISO` uses its B-tree index for equals/in. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on 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 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": [ - { + "query": { + "properties": { + "filters": { + "description": "Structured filters as a JSON array of {field, op, value} objects. Same shape as the events search API. Common use: filter actors by country with filters=[{\"field\":\"originCountryISO\",\"op\":\"in\",\"value\":[\"IR\",\"CN\"]}]. Country values may be passed as alpha-2, alpha-3, name, or alias (e.g. \"iran\"). Max 10 entries per request, max 100 values per 'in'. Accounts other than the catalog owner may only filter on fields that are also public-readable (`uuid`, `value`, `categoryName`, `aliasGroupNames`, `originCountryISO`); filtering on a redacted field returns 400. `uuid` filters accept only the `equals` and `in` operators. Performance notes: `originCountryISO` uses its B-tree index for equals/in. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on 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 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" }, - { - "type": "number" + "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" }, - { - "items": { - "anyOf": [ - { - "type": "string" + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] }, - { - "type": "number" - } - ] - }, - "type": "array" + "type": "array" + } + ], + "description": "Search value. String or number for most operators. Array for 'in' (max 100 items)." } + }, + "required": [ + "field", + "op" ], - "description": "Search value. String or number for most operators. Array for 'in' (max 100 items)." - } + "type": "object" + }, + "type": "array" }, - "required": [ - "field", - "op" - ], - "type": "object" + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "value": { + "description": "Free-text substring match on actor name (Tag.value).", + "type": "string" + } }, - "type": "array" - }, - "page": { - "type": "number" - }, - "page_size": { - "type": "number" - }, - "value": { - "description": "Free-text substring match on actor name (Tag.value).", - "type": "string" + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1290,10 +1303,10 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/categories/actors`, query: [ - ["page", args["page"], true], - ["pageSize", args["page_size"], true], - ["value", args["value"], true], - ["filters", args["filters"], true], + ["page", param(args, "query", "page"), true], + ["pageSize", param(args, "query", "pageSize"), true], + ["value", param(args, "query", "value"), true], + ["filters", param(args, "query", "filters"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/outputs.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/outputs.ts index 4319bf126..c8b3ef480 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `cloudforce-one-events_FieldDefinition` in responses. */ -export const cloudforce_one_events_FieldDefinition_output: JsonSchema = { +export const cloudforce$$one$$events_FieldDefinition: JsonSchema = { "properties": { "allowedValues": { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/schemas.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/schemas.ts index 90c25ef37..1695cf452 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/schemas.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `cloudforce-one-events_FieldDefinition`. */ -export const cloudforce_one_events_FieldDefinition: JsonSchema = { +export const cloudforce$$one$$events_FieldDefinition: JsonSchema = { "properties": { "allowedValues": { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts index 767d24122..97c88ef4d 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts @@ -1,25 +1,21 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; -import { cloudforce_one_events_FieldDefinition_output } from "./outputs.js"; -import { cloudforce_one_events_FieldDefinition } from "./schemas.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; +import { cloudforce$$one$$events_FieldDefinition } from "./outputs.js"; +import { cloudforce$$one$$events_FieldDefinition as cloudforce$$one$$events_FieldDefinition$ } from "./schemas.js"; /** - * The tools of `cloudforce_one.threat_intel.tags.categories`. + * The tools of `cloudforceOne.threatIntel.tags.categories`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_tags_categories_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "description": { @@ -40,13 +36,25 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition$, }, }, outputSchema: { @@ -86,7 +94,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition, }, }, annotations: { @@ -205,7 +213,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition, }, }, request: (args) => ({ @@ -214,24 +222,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_tags_categories_delete", + name: "cloudforceOne_threatIntel_tags_categories_delete", title: "Delete a tag category", description: "Deletes a tag category by its UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "category_uuid": { - "description": "Tag Category UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "category_uuid": { + "description": "Tag Category UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "category_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "category_uuid" + "path" ], }, outputSchema: { @@ -339,24 +355,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_tags_categories_get", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "category_uuid": { - "description": "Tag Category UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "category_uuid": { + "description": "Tag Category UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "category_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "category_uuid" + "path" ], }, outputSchema: { @@ -396,7 +420,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition, }, }, annotations: { @@ -485,7 +509,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition, }, }, request: (args) => ({ @@ -493,22 +517,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_tags_categories_list", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "type": "string" + "query": { + "properties": { + "search": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -559,7 +596,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition, }, }, annotations: { @@ -659,27 +696,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/categories`, query: [ - ["search", args["search"], true], + ["search", param(args, "query", "search"), true], ], }), }, { - name: "cloudforce_one_threat_intel_tags_categories_update", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "description": { @@ -698,17 +731,29 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "category_uuid": { - "description": "Tag Category UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "category_uuid": { + "description": "Tag Category UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "category_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "category_uuid" + "path" ], $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition$, }, }, outputSchema: { @@ -748,7 +793,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition, }, }, annotations: { @@ -896,7 +941,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-events_FieldDefinition": cloudforce_one_events_FieldDefinition_output, + "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts index 757fa08e9..86ece4cef 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts @@ -1,109 +1,122 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.tags.indicators`. + * The tools of `cloudforceOne.threatIntel.tags.indicators`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_tags_indicators_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_ids": { - "description": "Dataset UUIDs to scope to (repeat the param for multiple), or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Analytics datasets do not expose tag associations, so 'analytics' returns an empty result. Omit for 'all'.", - "items": { - "type": "string" - }, - "type": "array" - }, - "indicator_type": { - "type": "string" - }, - "page": { - "type": "number" - }, - "page_size": { - "type": "number" - }, - "related_event": { - "description": "Filter indicators by related event UUID(s). Multiple UUIDs can be provided by repeating the parameter.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } }, - "type": "array" + "required": [ + "account_id", + "tag_uuid" + ], + "type": "object" }, - "search": { - "description": "Structured search as a JSON array of {field, op, value} objects. Searchable fields: value, indicatorType. 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" - ], + "query": { + "properties": { + "datasetIds": { + "description": "Dataset UUIDs to scope to (repeat the param for multiple), or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Analytics datasets do not expose tag associations, so 'analytics' returns an empty result. Omit for 'all'.", + "items": { "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": "array" + }, + "indicatorType": { + "type": "string" + }, + "page": { + "type": "number" + }, + "pageSize": { + "type": "number" + }, + "relatedEvent": { + "description": "Filter indicators by related event UUID(s). Multiple UUIDs can be provided by repeating the parameter.", + "items": { "type": "string" }, - "value": { - "anyOf": [ - { + "type": "array" + }, + "search": { + "description": "Structured search as a JSON array of {field, op, value} objects. Searchable fields: value, indicatorType. 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" }, - { - "items": { - "type": "string" - }, - "type": "array" + "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" ], - "description": "Search value. String for most operators. Array of strings for 'in' operator (max 100 items)." - } - }, - "required": [ - "field", - "op", - "value" - ], - "type": "object" + "type": "object" + }, + "type": "array" + } }, - "type": "array" - }, - "tag_uuid": { - "description": "Tag UUID.", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "tag_uuid" + "path" ], }, outputSchema: { @@ -488,12 +501,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}/indicators`, query: [ - ["datasetIds", args["dataset_ids"], true], - ["page", args["page"], true], - ["pageSize", args["page_size"], true], - ["indicatorType", args["indicator_type"], true], - ["relatedEvent", args["related_event"], true], - ["search", args["search"], true], + ["datasetIds", param(args, "query", "datasetIds"), true], + ["page", param(args, "query", "page"), true], + ["pageSize", param(args, "query", "pageSize"), true], + ["indicatorType", param(args, "query", "indicatorType"), true], + ["relatedEvent", param(args, "query", "relatedEvent"), true], + ["search", param(args, "query", "search"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts index 526430edb..9d8c8149c 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts @@ -1,27 +1,23 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - cloudforce_one_events_HydratedEntity_output, - cloudforce_one_events_RelationshipEdge_output, + cloudforce$$one$$events_HydratedEntity, + cloudforce$$one$$events_RelationshipEdge, } from "../../outputs.js"; /** - * The tools of `cloudforce_one.threat_intel.tags.relationships`. + * The tools of `cloudforceOne.threatIntel.tags.relationships`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_tags_relationships_create", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "confidence": { @@ -61,14 +57,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "tag_uuid": { - "description": "Tag UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "tag_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "tag_uuid" + "path" ], }, outputSchema: { @@ -156,35 +164,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_tags_relationships_delete", + name: "cloudforceOne_threatIntel_tags_relationships_delete", title: "Delete a tag relationship", description: "Deletes a tag relationship by its UUID. `datasetId` is required. Returns `deleted: false` if the relationship doesn't exist.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "dataset_id": { - "description": "Dataset UUID containing the relationship.", - "type": "string" - }, - "rel_uuid": { - "description": "Relationship UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "rel_uuid": { + "description": "Relationship UUID.", + "format": "uuid", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "tag_uuid", + "rel_uuid" + ], + "type": "object" }, - "tag_uuid": { - "description": "Tag UUID.", - "type": "string" + "query": { + "properties": { + "datasetId": { + "description": "Dataset UUID containing the relationship.", + "type": "string" + } + }, + "required": [ + "datasetId" + ], + "type": "object" } }, required: [ - "account_id", - "tag_uuid", - "rel_uuid", - "dataset_id" + "path", + "query" ], }, outputSchema: { @@ -270,115 +294,128 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}/relationships/${pathParam(args, "rel_uuid")}`, query: [ - ["datasetId", args["dataset_id"], true], + ["datasetId", param(args, "query", "datasetId"), true], ], }), }, { - name: "cloudforce_one_threat_intel_tags_relationships_list", + name: "cloudforceOne_threatIntel_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: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "cursor": { - "description": "Offset cursor from a previous page.", - "type": "string" - }, - "datasets": { - "description": "Comma-separated dataset UUIDs to scope to, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Analytics datasets do not expose tag associations, so 'analytics' returns an empty result. Omit for 'all'.", - "items": { - "type": "string" - }, - "type": "array" - }, - "expand": { - "description": "Comma-separated entity types to hydrate (event, indicator, tag).", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } }, - "type": "array" - }, - "page_size": { - "default": 25, - "description": "Page size (1–100, default 25).", - "type": "integer" + "required": [ + "account_id", + "tag_uuid" + ], + "type": "object" }, - "search": { - "description": "JSON array of {field, op, value} filters (same as indicator list search).", - "items": { - "properties": { - "field": { - "description": "entityType | type | confidence | metadata.", + "query": { + "properties": { + "cursor": { + "description": "Offset cursor from a previous page.", + "type": "string" + }, + "datasets": { + "description": "Comma-separated dataset UUIDs to scope to, or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Analytics datasets do not expose tag associations, so 'analytics' returns an empty result. Omit for 'all'.", + "items": { "type": "string" }, - "op": { - "description": "Search operator. 'exists' only valid for metadata. fields.", - "enum": [ - "equals", - "not", - "gt", - "gte", - "lt", - "lte", - "like", - "contains", - "startsWith", - "endsWith", - "in", - "find", - "exists" - ], + "type": "array" + }, + "expand": { + "description": "Comma-separated entity types to hydrate (event, indicator, tag).", + "items": { "type": "string" }, - "value": { - "anyOf": [ - { + "type": "array" + }, + "pageSize": { + "default": 25, + "description": "Page size (1–100, default 25).", + "type": "integer" + }, + "search": { + "description": "JSON array of {field, op, value} filters (same as indicator list search).", + "items": { + "properties": { + "field": { + "description": "entityType | type | confidence | metadata.", "type": "string" }, - { - "type": "number" - }, - { - "type": "boolean" + "op": { + "description": "Search operator. 'exists' only valid for metadata. fields.", + "enum": [ + "equals", + "not", + "gt", + "gte", + "lt", + "lte", + "like", + "contains", + "startsWith", + "endsWith", + "in", + "find", + "exists" + ], + "type": "string" }, - { - "items": { - "anyOf": [ - { - "type": "string" + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "boolean" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] }, - { - "type": "number" - } - ] - }, - "type": "array" + "type": "array" + } + ], + "description": "Value to compare against. Omit for 'exists' op." } + }, + "required": [ + "field", + "op" ], - "description": "Value to compare against. Omit for 'exists' op." - } - }, - "required": [ - "field", - "op" - ], - "type": "object" + "type": "object" + }, + "type": "array" + } }, - "type": "array" - }, - "tag_uuid": { - "description": "Tag UUID.", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "tag_uuid" + "path" ], }, outputSchema: { @@ -431,8 +468,8 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "cloudforce-one-events_HydratedEntity": cloudforce_one_events_HydratedEntity_output, - "cloudforce-one-events_RelationshipEdge": cloudforce_one_events_RelationshipEdge_output, + "cloudforce-one-events_HydratedEntity": cloudforce$$one$$events_HydratedEntity, + "cloudforce-one-events_RelationshipEdge": cloudforce$$one$$events_RelationshipEdge, }, }, annotations: { @@ -534,32 +571,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-events_HydratedEntity": cloudforce_one_events_HydratedEntity_output, - "cloudforce-one-events_RelationshipEdge": cloudforce_one_events_RelationshipEdge_output, + "cloudforce-one-events_HydratedEntity": cloudforce$$one$$events_HydratedEntity, + "cloudforce-one-events_RelationshipEdge": cloudforce$$one$$events_RelationshipEdge, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}/relationships`, query: [ - ["datasets", args["datasets"], true], - ["search", args["search"], true], - ["expand", args["expand"], true], - ["cursor", args["cursor"], true], - ["pageSize", args["page_size"], true], + ["datasets", param(args, "query", "datasets"), true], + ["search", param(args, "query", "search"), true], + ["expand", param(args, "query", "expand"), true], + ["cursor", param(args, "query", "cursor"), true], + ["pageSize", param(args, "query", "pageSize"), true], ], }), }, { - name: "cloudforce_one_threat_intel_tags_relationships_update", + name: "cloudforceOne_threatIntel_tags_relationships_update", title: "Update a tag relationship", description: "Updates the given fields of a tag relationship and leaves the other fields unchanged. `datasetId` is required.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "confidence": { @@ -591,25 +624,45 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "dataset_id": { - "description": "Dataset UUID containing the relationship.", - "type": "string" - }, - "rel_uuid": { - "description": "Relationship UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "rel_uuid": { + "description": "Relationship UUID.", + "format": "uuid", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "tag_uuid", + "rel_uuid" + ], + "type": "object" }, - "tag_uuid": { - "description": "Tag UUID.", - "type": "string" + "query": { + "properties": { + "datasetId": { + "description": "Dataset UUID containing the relationship.", + "type": "string" + } + }, + "required": [ + "datasetId" + ], + "type": "object" } }, required: [ - "account_id", - "tag_uuid", - "rel_uuid", - "dataset_id" + "path", + "query" ], }, outputSchema: { @@ -723,7 +776,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/events/tags/${pathParam(args, "tag_uuid")}/relationships/${pathParam(args, "rel_uuid")}`, query: [ - ["datasetId", args["dataset_id"], true], + ["datasetId", param(args, "query", "datasetId"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts index 05241c9b5..4f8dc3f99 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel.tags`. + * The tools of `cloudforceOne.threatIntel.tags`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_tags_create", + name: "cloudforceOne_threatIntel_tags_create", title: "Create a tag", description: "Creates a tag in the account and returns the complete tag.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "activeDuration": { @@ -461,10 +457,22 @@ export const tools: readonly Tool[] = [ "value" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1628,24 +1636,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_tags_delete", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "tag_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "tag_uuid" + "path" ], }, outputSchema: { @@ -1753,24 +1769,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_tags_get", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "tag_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "tag_uuid" + "path" ], }, outputSchema: { @@ -2903,98 +2927,111 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_intel_tags_list", + name: "cloudforceOne_threatIntel_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" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "category_uuid": { - "type": "string" + "type": "object" }, - "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": [ - { + "query": { + "properties": { + "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" + }, + "categoryUuid": { + "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" }, - { - "type": "number" + "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" }, - { - "items": { - "anyOf": [ - { - "type": "string" + "value": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "items": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + } + ] }, - { - "type": "number" - } - ] - }, - "type": "array" + "type": "array" + } + ], + "description": "Search value. String or number for most operators. Array for 'in' (max 100 items)." } + }, + "required": [ + "field", + "op" ], - "description": "Search value. String or number for most operators. Array for 'in' (max 100 items)." - } + "type": "object" + }, + "type": "array" }, - "required": [ - "field", - "op" - ], - "type": "object" + "page": { + "type": "number" + }, + "pageSize": { + "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" + } }, - "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" + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -4195,26 +4232,22 @@ export const tools: readonly Tool[] = [ 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], + ["page", param(args, "query", "page"), true], + ["pageSize", param(args, "query", "pageSize"), true], + ["search", param(args, "query", "search"), true], + ["categoryUuid", param(args, "query", "categoryUuid"), true], + ["filters", param(args, "query", "filters"), true], + ["cache", param(args, "query", "cache"), true], ], }), }, { - name: "cloudforce_one_threat_intel_tags_update", + name: "cloudforceOne_threatIntel_tags_update", title: "Update a tag", description: "Updates the given fields of a tag and returns the complete tag.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "activeDuration": { @@ -4656,14 +4689,26 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "tag_uuid": { - "description": "Tag UUID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "tag_uuid": { + "description": "Tag UUID.", + "type": "string" + } + }, + "required": [ + "account_id", + "tag_uuid" + ], + "type": "object" } }, required: [ - "account_id", - "tag_uuid" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts index 8e19d98eb..d5b5d5943 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts @@ -4,20 +4,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_intel`. + * The tools of `cloudforceOne.threatIntel`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_intel_search", + name: "cloudforceOne_threatIntel_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": { @@ -62,10 +58,22 @@ export const tools: readonly Tool[] = [ "query" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts index 1c5759ab7..da3b80eca 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts @@ -4,33 +4,41 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals.articles.skills`. + * The tools of `cloudforceOne.threatSignals.articles.skills`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_articles_skills_get_output", + name: "cloudforceOne_threatSignals_articles_skills_getOutput", title: "Get Threat Signals article skill output", description: "Retrieves the stored output of a skill for a Threat Signals article. The custom_output field is parsed JSON when the stored output is valid JSON, otherwise the raw string.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" - }, - "skill_id": { - "description": "Custom Skill UUID or a Managed Default Skill ID (IOC-context: default-ioc-context-skill)", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", + "format": "uuid", + "type": "string" + }, + "skill_id": { + "description": "Custom Skill UUID or a Managed Default Skill ID (IOC-context: default-ioc-context-skill)", + "type": "string" + } + }, + "required": [ + "account_id", + "article_id", + "skill_id" + ], + "type": "object" } }, required: [ - "account_id", - "article_id", - "skill_id" + "path" ], }, outputSchema: { @@ -404,24 +412,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_articles_skills_list", + name: "cloudforceOne_threatSignals_articles_skills_list", title: "List Threat Signals article custom skills", description: "Lists active custom skills currently assigned to the article's feed and whether each has a stored output. Output content and skill configuration are retrieved separately. Free Threat Signals accounts cannot read Custom Skills.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "article_id" + ], + "type": "object" } }, required: [ - "account_id", - "article_id" + "path" ], }, outputSchema: { @@ -737,45 +753,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_articles_skills_run", + name: "cloudforceOne_threatSignals_articles_skills_run", title: "Run and persist skill output for a Threat Signals article", description: "Run an active Custom Skill assigned to the article's feed, or run a managed default skill. Requires a paid Threat Signals subscription and the Cloudforce One Write permission. Always persists output; rerunning overwrites the previous result. Does not expose diagnostic model data or accept server-preview inputs.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" - }, "body": { "type": "object" }, - "skill_id": { - "anyOf": [ - { + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", "format": "uuid", "type": "string" }, - { - "enum": [ - "default-tagging-skill", - "default-ioc-context-skill", - "default-summary-skill" + "skill_id": { + "anyOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "enum": [ + "default-tagging-skill", + "default-ioc-context-skill", + "default-summary-skill" + ], + "type": "string" + } ], - "type": "string" + "description": "UUID of an active Custom Skill that is assigned to the article's feed, or a managed default skill ID. Requires a paid Threat Signals subscription and the Cloudforce One Write permission. Always persists output; rerunning overwrites the previous result. No diagnostic or server-preview inputs." } + }, + "required": [ + "account_id", + "article_id", + "skill_id" ], - "description": "UUID of an active Custom Skill that is assigned to the article's feed, or a managed default skill ID. Requires a paid Threat Signals subscription and the Cloudforce One Write permission. Always persists output; rerunning overwrites the previous result. No diagnostic or server-preview inputs." + "type": "object" } }, required: [ - "account_id", - "article_id", - "skill_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts index 82c5d3b4b..56516e4c6 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts @@ -4,24 +4,16 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals.articles.tags`. + * The tools of `cloudforceOne.threatSignals.articles.tags`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_articles_tags_add", + name: "cloudforceOne_threatSignals_articles_tags_add", title: "Add tag to Threat Signals article", description: "Applies a tag from the account's tag catalog to a Threat Signals article.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" - }, "body": { "properties": { "tag_id": { @@ -34,11 +26,27 @@ export const tools: readonly Tool[] = [ "tag_id" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "article_id" + ], + "type": "object" } }, required: [ - "account_id", - "article_id" + "path" ], }, outputSchema: { @@ -290,24 +298,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_articles_tags_generate", + name: "cloudforceOne_threatSignals_articles_tags_generate", title: "Generate Threat Signals article AI tags", description: "Runs the default AI tagging skill on an article and replaces its AI-applied tags.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "article_id" + ], + "type": "object" } }, required: [ - "account_id", - "article_id" + "path" ], }, outputSchema: { @@ -588,30 +604,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_articles_tags_remove", + name: "cloudforceOne_threatSignals_articles_tags_remove", title: "Remove tag from Threat Signals article", description: "Removes a tag from a Threat Signals article.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" - }, - "tag_id": { - "description": "UUID of a tag from the account's catalog", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", + "format": "uuid", + "type": "string" + }, + "tag_id": { + "description": "UUID of a tag from the account's catalog", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "article_id", + "tag_id" + ], + "type": "object" } }, required: [ - "account_id", - "article_id", - "tag_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts index 2ba721389..ac3727cb0 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts @@ -1,39 +1,52 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals.articles`. + * The tools of `cloudforceOne.threatSignals.articles`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_articles_aggregate_relevance", + name: "cloudforceOne_threatSignals_articles_aggregateRelevance", 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. read counts only read or only unread articles. 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" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "read": { - "description": "Filter by read state. Accepts true, false, 1, or 0; omit to include read and unread articles.", - "type": "boolean" + "query": { + "properties": { + "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" + }, + "read": { + "description": "Filter by read state. Accepts true, false, 1, or 0; omit to include read and unread articles.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -262,53 +275,66 @@ export const tools: readonly Tool[] = [ 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], - ["read", args["read"], true], + ["published_after", param(args, "query", "published_after"), true], + ["published_before", param(args, "query", "published_before"), true], + ["read", param(args, "query", "read"), true], ], }), }, { - name: "cloudforce_one_threat_signals_articles_aggregate_severity", + name: "cloudforceOne_threatSignals_articles_aggregateSeverity", 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 one reported as its severity, from informational to critical. Articles without a severity are not counted. Also counts, for each active Priority Intelligence Requirement, the articles scored against it. min_relevance counts only articles at or above a relevance band: overall, for any active PIR; per PIR, for that PIR, the same rule as the per-PIR relevance counts. pir_id counts for one active PIR only. read counts only read or only unread articles, in both articles and priorities. 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 and priorities is empty. 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: in articles, for any active Priority Intelligence Requirement, as the article list's min_relevance does without pir_id; in each priority, for that PIR. Excludes articles that have not been scored against an active PIR.", - "enum": [ - "low", - "medium", - "high" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "pir_id": { - "description": "Beta. Active Priority Intelligence Requirement to count for. articles then counts only articles scored against it, min_relevance applies to its score, and priorities lists only it. 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", - "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" + "type": "object" }, - "read": { - "description": "Filter by read state. Accepts true, false, 1, or 0; omit to include read and unread articles.", - "type": "boolean" + "query": { + "properties": { + "min_relevance": { + "description": "Beta. Count only articles at or above this relevance band: in articles, for any active Priority Intelligence Requirement, as the article list's min_relevance does without pir_id; in each priority, for that PIR. Excludes articles that have not been scored against an active PIR.", + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + "pir_id": { + "description": "Beta. Active Priority Intelligence Requirement to count for. articles then counts only articles scored against it, min_relevance applies to its score, and priorities lists only it. 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", + "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" + }, + "read": { + "description": "Filter by read state. Accepts true, false, 1, or 0; omit to include read and unread articles.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -553,24 +579,21 @@ export const tools: readonly Tool[] = [ 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], - ["read", args["read"], true], - ["pir_id", args["pir_id"], true], - ["min_relevance", args["min_relevance"], true], + ["published_after", param(args, "query", "published_after"), true], + ["published_before", param(args, "query", "published_before"), true], + ["read", param(args, "query", "read"), true], + ["pir_id", param(args, "query", "pir_id"), true], + ["min_relevance", param(args, "query", "min_relevance"), true], ], }), }, { - name: "cloudforce_one_threat_signals_articles_bulk_mark_read", + name: "cloudforceOne_threatSignals_articles_bulkMarkRead", title: "Bulk update Threat Signals article read status", description: "Marks up to 50 Threat Signals articles as read or unread.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "article_ids": { @@ -593,10 +616,21 @@ export const tools: readonly Tool[] = [ "read" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -796,24 +830,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_articles_get", + name: "cloudforceOne_threatSignals_articles_get", title: "Get Threat Signals article", 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: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "article_id" + ], + "type": "object" } }, required: [ - "account_id", - "article_id" + "path" ], }, outputSchema: { @@ -1497,32 +1539,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_articles_get_content", + name: "cloudforceOne_threatSignals_articles_getContent", title: "Get Threat Signals article content", description: "Retrieves the stored content of a Threat Signals article, unchanged. Depending on how the article was captured from its source, the content is HTML, Markdown, or plain text. The format parameter sets only the response Content-Type; it does not convert the content.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" - }, - "format": { - "description": "Response Content-Type: text (the default) for text/plain or html for text/html. Neither value converts the content. html is deprecated; use text.", - "enum": [ - "text", - "html" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "article_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "format": { + "description": "Response Content-Type: text (the default) for text/plain or html for text/html. Neither value converts the content. html is deprecated; use text.", + "enum": [ + "text", + "html" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "article_id" + "path" ], }, annotations: { @@ -1549,162 +1604,175 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles/${pathParam(args, "article_id")}/content`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "cloudforce_one_threat_signals_articles_list", + name: "cloudforceOne_threatSignals_articles_list", title: "List Threat Signals articles", description: "Lists articles from the account's Threat Signals feeds.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Repeatable article UUID filter. Returns the union of matching account-owned articles; use this to list every Threat Signals article referenced by an indicator's sources.", - "items": { - "format": "uuid", - "type": "string" - }, - "maxItems": 90, - "minItems": 1, - "type": "array" - }, - "cursor": { - "description": "Opaque cursor from a previous response's `next_cursor`. When provided, pagination, ordering, totals, and article filters come from the cursor. Sending `per_page`, `sort`, `include_total`, or any article filter alongside it returns a 400 `CursorFilterConflictError`.", - "type": "string" - }, - "feed_category": { - "description": "Exact feed-category filter after trimming. Omit to include every category.", - "type": "string" - }, - "feed_id": { - "description": "Feed UUID filter. Omit to include articles from every account feed.", - "format": "uuid", - "type": "string" - }, - "fetched_after": { - "description": "Include articles fetched at or after this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", - "format": "date-time", - "type": "string" - }, - "fetched_before": { - "description": "Include articles fetched at or before this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", - "format": "date-time", - "type": "string" - }, - "include_total": { - "default": false, - "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", - "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" - }, - "read": { - "description": "Filter by read state. Accepts true, false, 1, or 0; omit to include read and unread articles.", - "type": "boolean" - }, - "search": { - "description": "NFC-normalized, trimmed literal substring filter on article titles; ASCII case-insensitive, from 1 to 500 characters.", - "type": "string" - }, - "severity": { - "description": "Beta. Repeatable intrinsic severity band filter. An article matches any selected band, the band reported as its severity. Excludes articles without a severity. Like the severity field, severity is reported only while the account has an active Priority Intelligence Requirement; otherwise no articles match.", - "items": { - "enum": [ - "informational", - "low", - "medium", - "high", - "critical" - ], - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } }, - "maxItems": 5, - "minItems": 1, - "type": "array" - }, - "sort": { - "default": "-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": { - "description": "Filter by curated or custom feed source. Omit to include both source types.", - "enum": [ - "curated", - "custom" - ], - "type": "string" - }, - "tag": { - "description": "Legacy human-readable tag-value filter. Ignored when tag_id is supplied; prefer tag_id.", - "type": "string" - }, - "tag_applied_by": { - "description": "Assignment provenance filter. When combined with tag_id or tag_category_id, the matching assignment must have this provenance.", - "enum": [ - "ai", - "analyst", - "system" + "required": [ + "account_id" ], - "type": "string" - }, - "tag_category": { - "description": "Legacy category-name disambiguator for tag. It has no effect without tag; prefer tag_category_id.", - "type": "string" - }, - "tag_category_id": { - "description": "Repeatable tag-category UUID filter. An article matches any selected category; when tag_id is also present, the tag and category groups are ANDed.", - "items": { - "format": "uuid", - "type": "string" - }, - "maxItems": 90, - "minItems": 1, - "type": "array" + "type": "object" }, - "tag_id": { - "description": "Repeatable tag UUID filter. An article matches any selected tag.", - "items": { - "format": "uuid", - "type": "string" + "query": { + "properties": { + "article_id": { + "description": "Repeatable article UUID filter. Returns the union of matching account-owned articles; use this to list every Threat Signals article referenced by an indicator's sources.", + "items": { + "format": "uuid", + "type": "string" + }, + "maxItems": 90, + "minItems": 1, + "type": "array" + }, + "cursor": { + "description": "Opaque cursor from a previous response's `next_cursor`. When provided, pagination, ordering, totals, and article filters come from the cursor. Sending `per_page`, `sort`, `include_total`, or any article filter alongside it returns a 400 `CursorFilterConflictError`.", + "type": "string" + }, + "feed_category": { + "description": "Exact feed-category filter after trimming. Omit to include every category.", + "type": "string" + }, + "feed_id": { + "description": "Feed UUID filter. Omit to include articles from every account feed.", + "format": "uuid", + "type": "string" + }, + "fetched_after": { + "description": "Include articles fetched at or after this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", + "format": "date-time", + "type": "string" + }, + "fetched_before": { + "description": "Include articles fetched at or before this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", + "format": "date-time", + "type": "string" + }, + "include_total": { + "default": false, + "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", + "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" + }, + "read": { + "description": "Filter by read state. Accepts true, false, 1, or 0; omit to include read and unread articles.", + "type": "boolean" + }, + "search": { + "description": "NFC-normalized, trimmed literal substring filter on article titles; ASCII case-insensitive, from 1 to 500 characters.", + "type": "string" + }, + "severity": { + "description": "Beta. Repeatable intrinsic severity band filter. An article matches any selected band, the band reported as its severity. Excludes articles without a severity. Like the severity field, severity is reported only while the account has an active Priority Intelligence Requirement; otherwise no articles match.", + "items": { + "enum": [ + "informational", + "low", + "medium", + "high", + "critical" + ], + "type": "string" + }, + "maxItems": 5, + "minItems": 1, + "type": "array" + }, + "sort": { + "default": "-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": { + "description": "Filter by curated or custom feed source. Omit to include both source types.", + "enum": [ + "curated", + "custom" + ], + "type": "string" + }, + "tag": { + "description": "Legacy human-readable tag-value filter. Ignored when tag_id is supplied; prefer tag_id.", + "type": "string" + }, + "tag_applied_by": { + "description": "Assignment provenance filter. When combined with tag_id or tag_category_id, the matching assignment must have this provenance.", + "enum": [ + "ai", + "analyst", + "system" + ], + "type": "string" + }, + "tag_category": { + "description": "Legacy category-name disambiguator for tag. It has no effect without tag; prefer tag_category_id.", + "type": "string" + }, + "tag_category_id": { + "description": "Repeatable tag-category UUID filter. An article matches any selected category; when tag_id is also present, the tag and category groups are ANDed.", + "items": { + "format": "uuid", + "type": "string" + }, + "maxItems": 90, + "minItems": 1, + "type": "array" + }, + "tag_id": { + "description": "Repeatable tag UUID filter. An article matches any selected tag.", + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2324,46 +2392,38 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/articles`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], - ["feed_id", args["feed_id"], true], - ["article_id", args["article_id"], true], - ["read", args["read"], true], - ["tag_id", args["tag_id"], true], - ["tag_category_id", args["tag_category_id"], true], - ["tag", args["tag"], true], - ["tag_category", args["tag_category"], true], - ["include_total", args["include_total"], true], - ["search", args["search"], true], - ["published_after", args["published_after"], true], - ["published_before", args["published_before"], true], - ["fetched_after", args["fetched_after"], true], - ["fetched_before", args["fetched_before"], true], - ["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], - ["severity", args["severity"], true], - ["sort", args["sort"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], + ["feed_id", param(args, "query", "feed_id"), true], + ["article_id", param(args, "query", "article_id"), true], + ["read", param(args, "query", "read"), true], + ["tag_id", param(args, "query", "tag_id"), true], + ["tag_category_id", param(args, "query", "tag_category_id"), true], + ["tag", param(args, "query", "tag"), true], + ["tag_category", param(args, "query", "tag_category"), true], + ["include_total", param(args, "query", "include_total"), true], + ["search", param(args, "query", "search"), true], + ["published_after", param(args, "query", "published_after"), true], + ["published_before", param(args, "query", "published_before"), true], + ["fetched_after", param(args, "query", "fetched_after"), true], + ["fetched_before", param(args, "query", "fetched_before"), true], + ["feed_category", param(args, "query", "feed_category"), true], + ["source_type", param(args, "query", "source_type"), true], + ["tag_applied_by", param(args, "query", "tag_applied_by"), true], + ["pir_id", param(args, "query", "pir_id"), true], + ["min_relevance", param(args, "query", "min_relevance"), true], + ["severity", param(args, "query", "severity"), true], + ["sort", param(args, "query", "sort"), true], ], }), }, { - name: "cloudforce_one_threat_signals_articles_mark_read", + name: "cloudforceOne_threatSignals_articles_markRead", title: "Update Threat Signals article read status", description: "Marks a Threat Signals article as read or unread.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" - }, "body": { "properties": { "read": { @@ -2375,11 +2435,27 @@ export const tools: readonly Tool[] = [ "read" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "article_id" + ], + "type": "object" } }, required: [ - "account_id", - "article_id" + "path" ], }, outputSchema: { @@ -2955,27 +3031,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_articles_reprocess", + name: "cloudforceOne_threatSignals_articles_reprocess", title: "Reprocess a Threat Signals article", description: "Synchronously re-runs every processing step for a Threat Signals article: pull content, clean content, extract IOCs, filter IOCs, summary, CVE tags, IOC context, article tags, and Event publication. Replaces the article's summary, AI tags, and indicators; indicators no longer found are removed. Creates a Threat Event only when the article has none; an existing Event is never updated. Takes over the article from any queued processing. Requires a paid Threat Signals subscription and the Cloudforce One Write permission.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Threat Signals article UUID", - "format": "uuid", - "type": "string" - }, "body": { "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "article_id": { + "description": "Threat Signals article UUID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "article_id" + ], + "type": "object" } }, required: [ - "account_id", - "article_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts index fac94eb9a..0359338cd 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts @@ -4,22 +4,30 @@ import { type Tool, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals.categories`. + * The tools of `cloudforceOne.threatSignals.categories`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_categories_list", + name: "cloudforceOne_threatSignals_categories_list", title: "List Threat Signals feed categories", description: "Lists the predefined categories that can be assigned to feeds.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts index ee017b311..071e4b823 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts @@ -4,28 +4,36 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals.feeds.skills`. + * The tools of `cloudforceOne.threatSignals.feeds.skills`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_feeds_skills_get", + name: "cloudforceOne_threatSignals_feeds_skills_get", title: "Get Threat Signals feed skills", description: "Retrieves active non-IOC-context Managed Default Skills followed by active Custom Skills assigned to the feed, with each entry's source. Free Threat Signals accounts receive only those Managed Default Skills.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "feed_id": { - "description": "UUID of the Threat Signals feed", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "feed_id": { + "description": "UUID of the Threat Signals feed", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "feed_id" + ], + "type": "object" } }, required: [ - "account_id", - "feed_id" + "path" ], }, outputSchema: { @@ -365,15 +373,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_feeds_skills_update", + name: "cloudforceOne_threatSignals_feeds_skills_update", title: "Set Threat Signals feed skills", description: "Replaces the ordered custom skills assigned to a Threat Signals feed. Requires a paid Threat Signals subscription.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "skill_ids": { @@ -391,15 +396,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "feed_id": { - "description": "UUID of the Threat Signals feed", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "feed_id": { + "description": "UUID of the Threat Signals feed", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "feed_id" + ], + "type": "object" } }, required: [ - "account_id", - "feed_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts index 18b9b888c..0caa4c68b 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals.feeds`. + * The tools of `cloudforceOne.threatSignals.feeds`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_feeds_create", + name: "cloudforceOne_threatSignals_feeds_create", title: "Create Threat Signals feed", description: "Subscribes the account to a custom or curated Threat Signals feed. Adding a custom feed when the account is at its custom-feed limit returns 403 with `errors[0].reason` `threat_signals_feed_limit`, and `errors[0].custom_feed_limit` and `errors[0].custom_feed_count` give the limit and current count. Curated feeds are not subject to this limit.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "category_id": { @@ -83,10 +80,21 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -821,24 +829,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_feeds_delete", + name: "cloudforceOne_threatSignals_feeds_delete", title: "Delete Threat Signals feed", description: "Unsubscribes the account from a Threat Signals feed and deletes its articles.\n\nConfirm with the user before calling this tool. This unsubscribes the account from the feed and permanently deletes its stored articles, including their extracted indicators, tags, and skill outputs.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "feed_id": { - "description": "UUID of the Threat Signals feed", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "feed_id": { + "description": "UUID of the Threat Signals feed", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "feed_id" + ], + "type": "object" } }, required: [ - "account_id", - "feed_id" + "path" ], }, outputSchema: { @@ -1249,31 +1265,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_feeds_get_raw", + name: "cloudforceOne_threatSignals_feeds_getRaw", title: "Get Threat Signals feed XML", description: "Retrieves the feed document fetched by the most recent poll as text/plain by default or application/xml when format is xml.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "feed_id": { - "description": "UUID of the Threat Signals feed", - "format": "uuid", - "type": "string" - }, - "format": { - "description": "Response format. Use xml for application/xml; omit it for the default text/plain response.", - "enum": [ - "xml" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "feed_id": { + "description": "UUID of the Threat Signals feed", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "feed_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "format": { + "description": "Response format. Use xml for application/xml; omit it for the default text/plain response.", + "enum": [ + "xml" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "feed_id" + "path" ], }, annotations: { @@ -1300,62 +1329,75 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds/${pathParam(args, "feed_id")}/raw`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "cloudforce_one_threat_signals_feeds_list", + name: "cloudforceOne_threatSignals_feeds_list", title: "List Threat Signals feeds", description: "Lists the account's Threat Signals feed subscriptions.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "category": { - "description": "Exact feed-category filter, up to 100 characters. Omit to include all categories.", - "type": "string" - }, - "enabled": { - "description": "Filter by enabled state. Accepts true, false, 1, or 0; omit to include enabled and disabled feeds.", - "type": "boolean" - }, - "limit": { - "description": "Optional 1–100 alias for per_page. When provided, limit takes precedence.", - "type": "integer" - }, - "page": { - "default": 1, - "description": "1-based page number. Minimum 1; defaults to 1.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of feeds per page, from 1 to 100. Defaults to 20.", - "type": "integer" - }, - "sort": { - "default": "-created_at", - "description": "Sort by created_at, title, category, or url. Prefix the field with - for descending order; defaults to -created_at.", - "type": "string" - }, - "source_type": { - "description": "Filter by curated or custom feed source. Omit to include both source types.", - "enum": [ - "curated", - "custom" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "status": { - "description": "Exact stored polling-status filter, such as active or error. Omit to include every status.", - "type": "string" + "query": { + "properties": { + "category": { + "description": "Exact feed-category filter, up to 100 characters. Omit to include all categories.", + "type": "string" + }, + "enabled": { + "description": "Filter by enabled state. Accepts true, false, 1, or 0; omit to include enabled and disabled feeds.", + "type": "boolean" + }, + "limit": { + "description": "Optional 1–100 alias for per_page. When provided, limit takes precedence.", + "type": "integer" + }, + "page": { + "default": 1, + "description": "1-based page number. Minimum 1; defaults to 1.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of feeds per page, from 1 to 100. Defaults to 20.", + "type": "integer" + }, + "sort": { + "default": "-created_at", + "description": "Sort by created_at, title, category, or url. Prefix the field with - for descending order; defaults to -created_at.", + "type": "string" + }, + "source_type": { + "description": "Filter by curated or custom feed source. Omit to include both source types.", + "enum": [ + "curated", + "custom" + ], + "type": "string" + }, + "status": { + "description": "Exact stored polling-status filter, such as active or error. Omit to include every status.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1943,45 +1985,58 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["limit", args["limit"], true], - ["sort", args["sort"], true], - ["category", args["category"], true], - ["source_type", args["source_type"], true], - ["enabled", args["enabled"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["limit", param(args, "query", "limit"), true], + ["sort", param(args, "query", "sort"), true], + ["category", param(args, "query", "category"), true], + ["source_type", param(args, "query", "source_type"), true], + ["enabled", param(args, "query", "enabled"), true], + ["status", param(args, "query", "status"), true], ], }), }, { - name: "cloudforce_one_threat_signals_feeds_poll", + name: "cloudforceOne_threatSignals_feeds_poll", title: "Trigger Threat Signals feed poll", description: "Starts an immediate poll of one or all Threat Signals feeds.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "feed_id": { - "anyOf": [ - { - "format": "uuid", - "type": "string" - }, - { - "enum": [ - "all" - ], + "path": { + "properties": { + "account_id": { "type": "string" } + }, + "required": [ + "account_id" ], - "description": "UUID of a specific feed to poll, or \"all\" to poll all feeds. Omit or pass \"all\" for all feeds." + "type": "object" + }, + "query": { + "properties": { + "feed_id": { + "anyOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "enum": [ + "all" + ], + "type": "string" + } + ], + "description": "UUID of a specific feed to poll, or \"all\" to poll all feeds. Omit or pass \"all\" for all feeds." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2158,20 +2213,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/feeds/poll`, query: [ - ["feed_id", args["feed_id"], true], + ["feed_id", param(args, "query", "feed_id"), true], ], }), }, { - name: "cloudforce_one_threat_signals_feeds_update", + name: "cloudforceOne_threatSignals_feeds_update", title: "Update Threat Signals feed", description: "Updates a Threat Signals feed subscription.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "category_id": { @@ -2228,15 +2280,26 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "feed_id": { - "description": "UUID of the Threat Signals feed", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "feed_id": { + "description": "UUID of the Threat Signals feed", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "feed_id" + ], + "type": "object" } }, required: [ - "account_id", - "feed_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts index 8b4d5f674..7704cff8f 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts @@ -1,58 +1,71 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals.indicators`. + * The tools of `cloudforceOne.threatSignals.indicators`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_indicators_list", + name: "cloudforceOne_threatSignals_indicators_list", title: "List Threat Signals article indicators", description: "Lists indicators of compromise extracted from the account's Threat Signals articles.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "article_id": { - "description": "Article UUID filter. Omit to include indicators from every article.", - "format": "uuid", - "type": "string" - }, - "cursor": { - "description": "Opaque cursor from the previous response's `pagination.cursor`. When provided, page size, ordering, and filters come from the cursor. Sending `per_page`, `sort`, `include_total`, `feed_id`, `article_id`, or `search` alongside it returns a 400 `CursorFilterConflictError`.", - "type": "string" - }, - "feed_id": { - "description": "Feed UUID filter. Omit to include indicators from every account feed.", - "format": "uuid", - "type": "string" - }, - "include_total": { - "default": false, - "description": "When true on the first page, count matching indicators and return an exact total. Defaults to false; cursor pages do not recalculate totals.", - "type": "boolean" - }, - "per_page": { - "default": 20, - "description": "Number of indicators per cursor page, from 1 to 100. Defaults to 20.", - "type": "integer" - }, - "search": { - "description": "NFC-normalized and trimmed, case-insensitive literal substring search of indicator values. Requires 3–500 Unicode code points; the upper code-point bound is described here because OpenAPI string length cannot precisely express it without imposing UTF-16 semantics.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "sort": { - "default": "id", - "description": "Sort by id. Use id for ascending or -id for descending order; defaults to id.", - "type": "string" + "query": { + "properties": { + "article_id": { + "description": "Article UUID filter. Omit to include indicators from every article.", + "format": "uuid", + "type": "string" + }, + "cursor": { + "description": "Opaque cursor from the previous response's `pagination.cursor`. When provided, page size, ordering, and filters come from the cursor. Sending `per_page`, `sort`, `include_total`, `feed_id`, `article_id`, or `search` alongside it returns a 400 `CursorFilterConflictError`.", + "type": "string" + }, + "feed_id": { + "description": "Feed UUID filter. Omit to include indicators from every account feed.", + "format": "uuid", + "type": "string" + }, + "include_total": { + "default": false, + "description": "When true on the first page, count matching indicators and return an exact total. Defaults to false; cursor pages do not recalculate totals.", + "type": "boolean" + }, + "per_page": { + "default": 20, + "description": "Number of indicators per cursor page, from 1 to 100. Defaults to 20.", + "type": "integer" + }, + "search": { + "description": "NFC-normalized and trimmed, case-insensitive literal substring search of indicator values. Requires 3–500 Unicode code points; the upper code-point bound is described here because OpenAPI string length cannot precisely express it without imposing UTF-16 semantics.", + "type": "string" + }, + "sort": { + "default": "id", + "description": "Sort by id. Use id for ascending or -id for descending order; defaults to id.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -386,13 +399,13 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/indicators`, query: [ - ["feed_id", args["feed_id"], true], - ["article_id", args["article_id"], true], - ["search", args["search"], true], - ["per_page", args["per_page"], true], - ["sort", args["sort"], true], - ["include_total", args["include_total"], true], - ["cursor", args["cursor"], true], + ["feed_id", param(args, "query", "feed_id"), true], + ["article_id", param(args, "query", "article_id"), true], + ["search", param(args, "query", "search"), true], + ["per_page", param(args, "query", "per_page"), true], + ["sort", param(args, "query", "sort"), true], + ["include_total", param(args, "query", "include_total"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts index 236a10fd1..f6ba3b65d 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts @@ -4,30 +4,38 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals.skills.tag_categories`. + * The tools of `cloudforceOne.threatSignals.skills.tagCategories`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_skills_tag_categories_get", + name: "cloudforceOne_threatSignals_skills_tagCategories_get", title: "Get Threat Signals skill tag categories", description: "Retrieves the Tag Categories the managed default tagging skill may select tags from. This configures the managed default tagging skill, not Custom Skills.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "skill_id": { - "description": "Must be default-tagging-skill; configures the managed default tagging skill", - "enum": [ - "default-tagging-skill" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "skill_id": { + "description": "Must be default-tagging-skill; configures the managed default tagging skill", + "enum": [ + "default-tagging-skill" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "skill_id" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "skill_id" + "path" ], }, outputSchema: { @@ -159,15 +167,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_skills_tag_categories_update", + name: "cloudforceOne_threatSignals_skills_tagCategories_update", title: "Replace Threat Signals skill tag categories", description: "Replaces the Tag Categories the managed default tagging skill may select tags from. This configures the managed default tagging skill, not Custom Skills.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "category_uuids": { @@ -185,17 +190,28 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "skill_id": { - "description": "Must be default-tagging-skill; configures the managed default tagging skill", - "enum": [ - "default-tagging-skill" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "skill_id": { + "description": "Must be default-tagging-skill; configures the managed default tagging skill", + "enum": [ + "default-tagging-skill" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "skill_id" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "skill_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts index 90445cc21..12f8cca93 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts @@ -1,22 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals.skills`. + * The tools of `cloudforceOne.threatSignals.skills`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_skills_create", + name: "cloudforceOne_threatSignals_skills_create", title: "Create Threat Signals skill", description: "Creates a Custom Skill for the account. Free Threat Signals accounts cannot create Custom Skills.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "name": { @@ -47,10 +44,21 @@ export const tools: readonly Tool[] = [ "prompt" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -358,23 +366,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_skills_delete", + name: "cloudforceOne_threatSignals_skills_delete", title: "Delete Threat Signals skill", description: "Deletes a Custom Skill. The skill's stored outputs on articles are deleted with it. Managed Default Skills cannot be deleted. Free Threat Signals accounts cannot delete Custom Skills.\n\nConfirm with the user before calling this tool. This permanently deletes the custom skill, removes it from every feed it is assigned to, and deletes the outputs it stored on articles.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "skill_id": { - "description": "Custom Skill UUID or a Managed Default Skill ID", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "skill_id": { + "description": "Custom Skill UUID or a Managed Default Skill ID", + "type": "string" + } + }, + "required": [ + "account_id", + "skill_id" + ], + "type": "object" } }, required: [ - "account_id", - "skill_id" + "path" ], }, outputSchema: { @@ -681,23 +697,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_skills_get", + name: "cloudforceOne_threatSignals_skills_get", title: "Get Threat Signals skill", description: "Retrieves a Managed Default Skill or Custom Skill. Managed catalog definitions are readable. Free Threat Signals accounts cannot read Custom Skills.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "skill_id": { - "description": "Custom Skill UUID or a Managed Default Skill ID", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "skill_id": { + "description": "Custom Skill UUID or a Managed Default Skill ID", + "type": "string" + } + }, + "required": [ + "account_id", + "skill_id" + ], + "type": "object" } }, required: [ - "account_id", - "skill_id" + "path" ], }, outputSchema: { @@ -1005,28 +1029,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "cloudforce_one_threat_signals_skills_list", + name: "cloudforceOne_threatSignals_skills_list", title: "List Threat Signals skills", description: "Lists active Managed Default Skills and Custom Skills. Free Threat Signals accounts see active managed defaults only, with custom_skills_available: false.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number (≥ 1, default 1).", - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Results per page (1–100, default 20).", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number (≥ 1, default 1).", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Results per page (1–100, default 20).", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1394,21 +1431,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/skills`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "cloudforce_one_threat_signals_skills_update", + name: "cloudforceOne_threatSignals_skills_update", title: "Update Threat Signals skill", description: "Updates a Custom Skill. Managed Default Skills cannot be updated. Free Threat Signals accounts cannot update Custom Skills.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "config": { @@ -1434,14 +1468,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "skill_id": { - "description": "Custom Skill UUID or a Managed Default Skill ID", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "skill_id": { + "description": "Custom Skill UUID or a Managed Default Skill ID", + "type": "string" + } + }, + "required": [ + "account_id", + "skill_id" + ], + "type": "object" } }, required: [ - "account_id", - "skill_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts index 3e385a550..3d3f27d38 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts @@ -1,38 +1,54 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `cloudforce_one.threat_signals`. + * The tools of `cloudforceOne.threatSignals`. */ export const tools: readonly Tool[] = [ { - name: "cloudforce_one_threat_signals_search", + name: "cloudforceOne_threatSignals_search", title: "Search Threat Signals articles using AI Search", description: "Searches the account's Threat Signals articles using keyword and semantic retrieval.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "feed_id": { - "description": "Optional feed UUID that restricts results to articles from that feed.", - "format": "uuid", - "type": "string" - }, - "max_results": { - "description": "Maximum search matches to request, an integer from 1 to 50. Defaults to 20 when omitted or empty; multiple matches from one article can produce fewer returned articles.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, "query": { - "description": "Keyword and semantic article-search text, from 1 to 1000 characters.", - "type": "string" + "properties": { + "feed_id": { + "description": "Optional feed UUID that restricts results to articles from that feed.", + "format": "uuid", + "type": "string" + }, + "max_results": { + "description": "Maximum search matches to request, an integer from 1 to 50. Defaults to 20 when omitted or empty; multiple matches from one article can produce fewer returned articles.", + "type": "string" + }, + "query": { + "description": "Keyword and semantic article-search text, from 1 to 1000 characters.", + "type": "string" + } + }, + "required": [ + "query" + ], + "type": "object" } }, required: [ - "account_id", + "path", "query" ], }, @@ -247,9 +263,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cloudforce-one/v2/threat-signals/search`, query: [ - ["query", args["query"], true], - ["max_results", args["max_results"], true], - ["feed_id", args["feed_id"], true], + ["query", param(args, "query", "query"), true], + ["max_results", param(args, "query", "max_results"), true], + ["feed_id", param(args, "query", "feed_id"), true], ], }), }, diff --git a/src/generated/forge-mcp/connectorInterrupts/outputs.ts b/src/generated/forge-mcp/connectorInterrupts/outputs.ts index fa32a3da7..d7876a735 100644 --- a/src/generated/forge-mcp/connectorInterrupts/outputs.ts +++ b/src/generated/forge-mcp/connectorInterrupts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `mconn_connector_interrupts_create_response` in responses. */ -export const mconn_connector_interrupts_create_response_output: JsonSchema = { +export const mconn_connector_interrupts_create_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_good_response" @@ -25,7 +25,7 @@ export const mconn_connector_interrupts_create_response_output: JsonSchema = { /** * The schema of `mconn_connector_interrupts_list_response` in responses. */ -export const mconn_connector_interrupts_list_response_output: JsonSchema = { +export const mconn_connector_interrupts_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_good_response" @@ -47,7 +47,7 @@ export const mconn_connector_interrupts_list_response_output: JsonSchema = { /** * The schema of `mconn_connector_interrupts_result` in responses. */ -export const mconn_connector_interrupts_result_output: JsonSchema = { +export const mconn_connector_interrupts_result: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_interrupt" @@ -72,7 +72,7 @@ export const mconn_connector_interrupts_result_output: JsonSchema = { /** * The schema of `mconn_interrupt` in responses. */ -export const mconn_interrupt_output: JsonSchema = { +export const mconn_interrupt: JsonSchema = { "properties": { "reboot": { "properties": { diff --git a/src/generated/forge-mcp/connectorInterrupts/tools.ts b/src/generated/forge-mcp/connectorInterrupts/tools.ts index a3d930cd1..f23ef91d2 100644 --- a/src/generated/forge-mcp/connectorInterrupts/tools.ts +++ b/src/generated/forge-mcp/connectorInterrupts/tools.ts @@ -3,62 +3,70 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - mconn_bad_response_output, - mconn_coded_message_output, - mconn_good_response_output, - mconn_none_output, - mconn_response_output, + mconn_bad_response, + mconn_coded_message, + mconn_good_response, + mconn_none, + mconn_response, } from "../outputs.js"; import { mconn_account_id, mconn_uuid } from "../schemas.js"; import { - mconn_connector_interrupts_create_response_output, - mconn_connector_interrupts_list_response_output, - mconn_connector_interrupts_result_output, - mconn_interrupt_output, + mconn_connector_interrupts_create_response, + mconn_connector_interrupts_list_response, + mconn_connector_interrupts_result, + mconn_interrupt, } from "./outputs.js"; -import { mconn_interrupt } from "./schemas.js"; +import { mconn_interrupt as mconn_interrupt$ } from "./schemas.js"; /** - * The tools of `connector_interrupts`. + * The tools of `connectorInterrupts`. */ export const tools: readonly Tool[] = [ { - name: "connector_interrupts_create", + name: "connectorInterrupts_create", title: "Create Interrupt", description: "Creates an interrupt for a Magic WAN Connector.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn_account_id" - }, "body": { "$ref": "#/$defs/mconn_interrupt" }, - "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn_account_id" + }, + "connector_id": { + "$ref": "#/$defs/mconn_uuid" + } + }, + "required": [ + "account_id", + "connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id", + "path", "body" ], $defs: { "mconn_account_id": mconn_account_id, - "mconn_interrupt": mconn_interrupt, + "mconn_interrupt": mconn_interrupt$, "mconn_uuid": mconn_uuid, }, }, outputSchema: { "$ref": "#/$defs/mconn_connector_interrupts_create_response", $defs: { - "mconn_coded_message": mconn_coded_message_output, - "mconn_connector_interrupts_create_response": mconn_connector_interrupts_create_response_output, - "mconn_connector_interrupts_result": mconn_connector_interrupts_result_output, - "mconn_good_response": mconn_good_response_output, - "mconn_interrupt": mconn_interrupt_output, - "mconn_response": mconn_response_output, + "mconn_coded_message": mconn_coded_message, + "mconn_connector_interrupts_create_response": mconn_connector_interrupts_create_response, + "mconn_connector_interrupts_result": mconn_connector_interrupts_result, + "mconn_good_response": mconn_good_response, + "mconn_interrupt": mconn_interrupt, + "mconn_response": mconn_response, }, }, annotations: { @@ -103,14 +111,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn_bad_response": mconn_bad_response_output, - "mconn_coded_message": mconn_coded_message_output, - "mconn_connector_interrupts_create_response": mconn_connector_interrupts_create_response_output, - "mconn_connector_interrupts_result": mconn_connector_interrupts_result_output, - "mconn_good_response": mconn_good_response_output, - "mconn_interrupt": mconn_interrupt_output, - "mconn_none": mconn_none_output, - "mconn_response": mconn_response_output, + "mconn_bad_response": mconn_bad_response, + "mconn_coded_message": mconn_coded_message, + "mconn_connector_interrupts_create_response": mconn_connector_interrupts_create_response, + "mconn_connector_interrupts_result": mconn_connector_interrupts_result, + "mconn_good_response": mconn_good_response, + "mconn_interrupt": mconn_interrupt, + "mconn_none": mconn_none, + "mconn_response": mconn_response, }, }, request: (args) => ({ @@ -119,22 +127,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "connector_interrupts_list", + name: "connectorInterrupts_list", title: "List Interrupts", description: "Lists interrupts for a Magic WAN Connector.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn_account_id" - }, - "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn_account_id" + }, + "connector_id": { + "$ref": "#/$defs/mconn_uuid" + } + }, + "required": [ + "account_id", + "connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id" + "path" ], $defs: { "mconn_account_id": mconn_account_id, @@ -144,12 +160,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/mconn_connector_interrupts_list_response", $defs: { - "mconn_coded_message": mconn_coded_message_output, - "mconn_connector_interrupts_list_response": mconn_connector_interrupts_list_response_output, - "mconn_connector_interrupts_result": mconn_connector_interrupts_result_output, - "mconn_good_response": mconn_good_response_output, - "mconn_interrupt": mconn_interrupt_output, - "mconn_response": mconn_response_output, + "mconn_coded_message": mconn_coded_message, + "mconn_connector_interrupts_list_response": mconn_connector_interrupts_list_response, + "mconn_connector_interrupts_result": mconn_connector_interrupts_result, + "mconn_good_response": mconn_good_response, + "mconn_interrupt": mconn_interrupt, + "mconn_response": mconn_response, }, }, annotations: { @@ -195,14 +211,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn_bad_response": mconn_bad_response_output, - "mconn_coded_message": mconn_coded_message_output, - "mconn_connector_interrupts_list_response": mconn_connector_interrupts_list_response_output, - "mconn_connector_interrupts_result": mconn_connector_interrupts_result_output, - "mconn_good_response": mconn_good_response_output, - "mconn_interrupt": mconn_interrupt_output, - "mconn_none": mconn_none_output, - "mconn_response": mconn_response_output, + "mconn_bad_response": mconn_bad_response, + "mconn_coded_message": mconn_coded_message, + "mconn_connector_interrupts_list_response": mconn_connector_interrupts_list_response, + "mconn_connector_interrupts_result": mconn_connector_interrupts_result, + "mconn_good_response": mconn_good_response, + "mconn_interrupt": mconn_interrupt, + "mconn_none": mconn_none, + "mconn_response": mconn_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/connectorTelemetryEvents/outputs.ts b/src/generated/forge-mcp/connectorTelemetryEvents/outputs.ts index 42dbf75f7..f8965616b 100644 --- a/src/generated/forge-mcp/connectorTelemetryEvents/outputs.ts +++ b/src/generated/forge-mcp/connectorTelemetryEvents/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `mconn-telemetry_customer_events_get_success` in responses. */ -export const mconn_telemetry_customer_events_get_success_output: JsonSchema = { +export const mconn$$telemetry_customer_events_get_success: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn-telemetry_envelope" @@ -28,7 +28,7 @@ export const mconn_telemetry_customer_events_get_success_output: JsonSchema = { /** * The schema of `mconn-telemetry_customer_events_list_result` in responses. */ -export const mconn_telemetry_customer_events_list_result_output: JsonSchema = { +export const mconn$$telemetry_customer_events_list_result: JsonSchema = { "properties": { "count": { "type": "number" @@ -53,7 +53,7 @@ export const mconn_telemetry_customer_events_list_result_output: JsonSchema = { /** * The schema of `mconn-telemetry_customer_events_list_success` in responses. */ -export const mconn_telemetry_customer_events_list_success_output: JsonSchema = { +export const mconn$$telemetry_customer_events_list_success: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn-telemetry_envelope" @@ -75,7 +75,7 @@ export const mconn_telemetry_customer_events_list_success_output: JsonSchema = { /** * The schema of `mconn-telemetry_event` in responses. */ -export const mconn_telemetry_event_output: JsonSchema = { +export const mconn$$telemetry_event: JsonSchema = { "properties": { "k": { "enum": [ @@ -121,7 +121,7 @@ export const mconn_telemetry_event_output: JsonSchema = { /** * The schema of `mconn-telemetry_event_metadata` in responses. */ -export const mconn_telemetry_event_metadata_output: JsonSchema = { +export const mconn$$telemetry_event_metadata: JsonSchema = { "properties": { "a": { "type": "number" @@ -148,7 +148,7 @@ export const mconn_telemetry_event_metadata_output: JsonSchema = { /** * The schema of `mconn-telemetry_recorded_event` in responses. */ -export const mconn_telemetry_recorded_event_output: JsonSchema = { +export const mconn$$telemetry_recorded_event: JsonSchema = { "properties": { "e": { "$ref": "#/$defs/mconn-telemetry_event" diff --git a/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts b/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts index 606f6b3fb..1ee7102ae 100644 --- a/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts +++ b/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts @@ -1,64 +1,72 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - mconn_telemetry_coded_message_output, - mconn_telemetry_envelope_output, + mconn$$telemetry_coded_message, + mconn$$telemetry_envelope, } from "../outputs.js"; -import { mconn_telemetry_account_id } from "../schemas.js"; +import { mconn$$telemetry_account_id } from "../schemas.js"; import { - mconn_telemetry_customer_events_get_success_output, - mconn_telemetry_customer_events_list_result_output, - mconn_telemetry_customer_events_list_success_output, - mconn_telemetry_event_metadata_output, - mconn_telemetry_event_output, - mconn_telemetry_recorded_event_output, + mconn$$telemetry_customer_events_get_success, + mconn$$telemetry_customer_events_list_result, + mconn$$telemetry_customer_events_list_success, + mconn$$telemetry_event, + mconn$$telemetry_event_metadata, + mconn$$telemetry_recorded_event, } from "./outputs.js"; /** - * The tools of `connector_telemetry_events`. + * The tools of `connectorTelemetryEvents`. */ export const tools: readonly Tool[] = [ { - name: "connector_telemetry_events_get", + name: "connectorTelemetryEvents_get", title: "Get Event", description: "Gets Magic WAN Connector Telemetry Event", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn-telemetry_account_id", - "description": "Account identifier" - }, - "connector_id": { - "type": "string" - }, - "event_n": { - "type": "number" - }, - "event_t": { - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn-telemetry_account_id", + "description": "Account identifier" + }, + "connector_id": { + "type": "string" + }, + "event_n": { + "type": "number" + }, + "event_t": { + "type": "number" + } + }, + "required": [ + "account_id", + "connector_id", + "event_t", + "event_n" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id", - "event_t", - "event_n" + "path" ], $defs: { - "mconn-telemetry_account_id": mconn_telemetry_account_id, + "mconn-telemetry_account_id": mconn$$telemetry_account_id, }, }, outputSchema: { "$ref": "#/$defs/mconn-telemetry_customer_events_get_success", $defs: { - "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, - "mconn-telemetry_customer_events_get_success": mconn_telemetry_customer_events_get_success_output, - "mconn-telemetry_envelope": mconn_telemetry_envelope_output, - "mconn-telemetry_event": mconn_telemetry_event_output, - "mconn-telemetry_recorded_event": mconn_telemetry_recorded_event_output, + "mconn-telemetry_coded_message": mconn$$telemetry_coded_message, + "mconn-telemetry_customer_events_get_success": mconn$$telemetry_customer_events_get_success, + "mconn-telemetry_envelope": mconn$$telemetry_envelope, + "mconn-telemetry_event": mconn$$telemetry_event, + "mconn-telemetry_recorded_event": mconn$$telemetry_recorded_event, }, }, annotations: { @@ -107,11 +115,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, - "mconn-telemetry_customer_events_get_success": mconn_telemetry_customer_events_get_success_output, - "mconn-telemetry_envelope": mconn_telemetry_envelope_output, - "mconn-telemetry_event": mconn_telemetry_event_output, - "mconn-telemetry_recorded_event": mconn_telemetry_recorded_event_output, + "mconn-telemetry_coded_message": mconn$$telemetry_coded_message, + "mconn-telemetry_customer_events_get_success": mconn$$telemetry_customer_events_get_success, + "mconn-telemetry_envelope": mconn$$telemetry_envelope, + "mconn-telemetry_event": mconn$$telemetry_event, + "mconn-telemetry_recorded_event": mconn$$telemetry_recorded_event, }, }, request: (args) => ({ @@ -119,54 +127,70 @@ export const tools: readonly Tool[] = [ }), }, { - name: "connector_telemetry_events_list", + name: "connectorTelemetryEvents_list", title: "List Events", description: "Lists Magic WAN Connector Telemetry Events", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn-telemetry_account_id", - "description": "Account identifier" - }, - "connector_id": { - "type": "string" - }, - "cursor": { - "type": "string" - }, - "from": { - "type": "number" - }, - "kind": { - "description": "Filter by event kind", - "type": "string" - }, - "limit": { - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn-telemetry_account_id", + "description": "Account identifier" + }, + "connector_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "connector_id" + ], + "type": "object" }, - "to": { - "type": "number" + "query": { + "properties": { + "cursor": { + "type": "string" + }, + "from": { + "type": "number" + }, + "k": { + "description": "Filter by event kind", + "type": "string" + }, + "limit": { + "type": "number" + }, + "to": { + "type": "number" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id", - "from", - "to" + "path", + "query" ], $defs: { - "mconn-telemetry_account_id": mconn_telemetry_account_id, + "mconn-telemetry_account_id": mconn$$telemetry_account_id, }, }, outputSchema: { "$ref": "#/$defs/mconn-telemetry_customer_events_list_success", $defs: { - "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, - "mconn-telemetry_customer_events_list_result": mconn_telemetry_customer_events_list_result_output, - "mconn-telemetry_customer_events_list_success": mconn_telemetry_customer_events_list_success_output, - "mconn-telemetry_envelope": mconn_telemetry_envelope_output, - "mconn-telemetry_event_metadata": mconn_telemetry_event_metadata_output, + "mconn-telemetry_coded_message": mconn$$telemetry_coded_message, + "mconn-telemetry_customer_events_list_result": mconn$$telemetry_customer_events_list_result, + "mconn-telemetry_customer_events_list_success": mconn$$telemetry_customer_events_list_success, + "mconn-telemetry_envelope": mconn$$telemetry_envelope, + "mconn-telemetry_event_metadata": mconn$$telemetry_event_metadata, }, }, annotations: { @@ -212,21 +236,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, - "mconn-telemetry_customer_events_list_result": mconn_telemetry_customer_events_list_result_output, - "mconn-telemetry_customer_events_list_success": mconn_telemetry_customer_events_list_success_output, - "mconn-telemetry_envelope": mconn_telemetry_envelope_output, - "mconn-telemetry_event_metadata": mconn_telemetry_event_metadata_output, + "mconn-telemetry_coded_message": mconn$$telemetry_coded_message, + "mconn-telemetry_customer_events_list_result": mconn$$telemetry_customer_events_list_result, + "mconn-telemetry_customer_events_list_success": mconn$$telemetry_customer_events_list_success, + "mconn-telemetry_envelope": mconn$$telemetry_envelope, + "mconn-telemetry_event_metadata": mconn$$telemetry_event_metadata, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}/telemetry/events`, query: [ - ["from", args["from"], true], - ["to", args["to"], true], - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], - ["k", args["kind"], true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], + ["k", param(args, "query", "k"), true], ], }), }, diff --git a/src/generated/forge-mcp/connectorTelemetrySnapshots/outputs.ts b/src/generated/forge-mcp/connectorTelemetrySnapshots/outputs.ts index 0f24e3c7a..37e65c10a 100644 --- a/src/generated/forge-mcp/connectorTelemetrySnapshots/outputs.ts +++ b/src/generated/forge-mcp/connectorTelemetrySnapshots/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `mconn-telemetry_customer_snapshots_get_success` in responses. */ -export const mconn_telemetry_customer_snapshots_get_success_output: JsonSchema = { +export const mconn$$telemetry_customer_snapshots_get_success: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn-telemetry_envelope" @@ -28,7 +28,7 @@ export const mconn_telemetry_customer_snapshots_get_success_output: JsonSchema = /** * The schema of `mconn-telemetry_customer_snapshots_list_result` in responses. */ -export const mconn_telemetry_customer_snapshots_list_result_output: JsonSchema = { +export const mconn$$telemetry_customer_snapshots_list_result: JsonSchema = { "properties": { "count": { "type": "number" @@ -53,7 +53,7 @@ export const mconn_telemetry_customer_snapshots_list_result_output: JsonSchema = /** * The schema of `mconn-telemetry_customer_snapshots_list_success` in responses. */ -export const mconn_telemetry_customer_snapshots_list_success_output: JsonSchema = { +export const mconn$$telemetry_customer_snapshots_list_success: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn-telemetry_envelope" @@ -75,7 +75,7 @@ export const mconn_telemetry_customer_snapshots_list_success_output: JsonSchema /** * The schema of `mconn-telemetry_snapshot` in responses. */ -export const mconn_telemetry_snapshot_output: JsonSchema = { +export const mconn$$telemetry_snapshot: JsonSchema = { "properties": { "bonds": { "items": { @@ -644,7 +644,7 @@ export const mconn_telemetry_snapshot_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_bond` in responses. */ -export const mconn_telemetry_snapshot_bond_output: JsonSchema = { +export const mconn$$telemetry_snapshot_bond: JsonSchema = { "properties": { "name": { "type": "string" @@ -663,7 +663,7 @@ export const mconn_telemetry_snapshot_bond_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_dhcp_lease` in responses. */ -export const mconn_telemetry_snapshot_dhcp_lease_output: JsonSchema = { +export const mconn$$telemetry_snapshot_dhcp_lease: JsonSchema = { "properties": { "client_id": { "type": "string" @@ -698,7 +698,7 @@ export const mconn_telemetry_snapshot_dhcp_lease_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_disk` in responses. */ -export const mconn_telemetry_snapshot_disk_output: JsonSchema = { +export const mconn$$telemetry_snapshot_disk: JsonSchema = { "properties": { "discards": { "type": "number" @@ -783,7 +783,7 @@ export const mconn_telemetry_snapshot_disk_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_interface` in responses. */ -export const mconn_telemetry_snapshot_interface_output: JsonSchema = { +export const mconn$$telemetry_snapshot_interface: JsonSchema = { "properties": { "health_reason": { "type": "string" @@ -817,7 +817,7 @@ export const mconn_telemetry_snapshot_interface_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_interface_address` in responses. */ -export const mconn_telemetry_snapshot_interface_address_output: JsonSchema = { +export const mconn$$telemetry_snapshot_interface_address: JsonSchema = { "properties": { "interface_name": { "type": "string" @@ -836,7 +836,7 @@ export const mconn_telemetry_snapshot_interface_address_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_metadata` in responses. */ -export const mconn_telemetry_snapshot_metadata_output: JsonSchema = { +export const mconn$$telemetry_snapshot_metadata: JsonSchema = { "properties": { "a": { "type": "number" @@ -855,7 +855,7 @@ export const mconn_telemetry_snapshot_metadata_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_mount` in responses. */ -export const mconn_telemetry_snapshot_mount_output: JsonSchema = { +export const mconn$$telemetry_snapshot_mount: JsonSchema = { "properties": { "available_bytes": { "type": "number" @@ -900,7 +900,7 @@ export const mconn_telemetry_snapshot_mount_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_netdev` in responses. */ -export const mconn_telemetry_snapshot_netdev_output: JsonSchema = { +export const mconn$$telemetry_snapshot_netdev: JsonSchema = { "properties": { "name": { "type": "string" @@ -979,7 +979,7 @@ export const mconn_telemetry_snapshot_netdev_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_route` in responses. */ -export const mconn_telemetry_snapshot_route_output: JsonSchema = { +export const mconn$$telemetry_snapshot_route: JsonSchema = { "properties": { "destination": { "type": "string" @@ -1012,7 +1012,7 @@ export const mconn_telemetry_snapshot_route_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_thermal` in responses. */ -export const mconn_telemetry_snapshot_thermal_output: JsonSchema = { +export const mconn$$telemetry_snapshot_thermal: JsonSchema = { "properties": { "critical_celcius": { "type": "number" @@ -1036,7 +1036,7 @@ export const mconn_telemetry_snapshot_thermal_output: JsonSchema = { /** * The schema of `mconn-telemetry_snapshot_tunnel` in responses. */ -export const mconn_telemetry_snapshot_tunnel_output: JsonSchema = { +export const mconn$$telemetry_snapshot_tunnel: JsonSchema = { "properties": { "health_state": { "type": "string" diff --git a/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts b/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts index afcd1d210..89f7bae09 100644 --- a/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts +++ b/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts @@ -1,78 +1,86 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - mconn_telemetry_coded_message_output, - mconn_telemetry_envelope_output, + mconn$$telemetry_coded_message, + mconn$$telemetry_envelope, } from "../outputs.js"; -import { mconn_telemetry_account_id } from "../schemas.js"; +import { mconn$$telemetry_account_id } from "../schemas.js"; import { - mconn_telemetry_customer_snapshots_get_success_output, - mconn_telemetry_customer_snapshots_list_result_output, - mconn_telemetry_customer_snapshots_list_success_output, - mconn_telemetry_snapshot_bond_output, - mconn_telemetry_snapshot_dhcp_lease_output, - mconn_telemetry_snapshot_disk_output, - mconn_telemetry_snapshot_interface_address_output, - mconn_telemetry_snapshot_interface_output, - mconn_telemetry_snapshot_metadata_output, - mconn_telemetry_snapshot_mount_output, - mconn_telemetry_snapshot_netdev_output, - mconn_telemetry_snapshot_output, - mconn_telemetry_snapshot_route_output, - mconn_telemetry_snapshot_thermal_output, - mconn_telemetry_snapshot_tunnel_output, + mconn$$telemetry_customer_snapshots_get_success, + mconn$$telemetry_customer_snapshots_list_result, + mconn$$telemetry_customer_snapshots_list_success, + mconn$$telemetry_snapshot, + mconn$$telemetry_snapshot_bond, + mconn$$telemetry_snapshot_dhcp_lease, + mconn$$telemetry_snapshot_disk, + mconn$$telemetry_snapshot_interface, + mconn$$telemetry_snapshot_interface_address, + mconn$$telemetry_snapshot_metadata, + mconn$$telemetry_snapshot_mount, + mconn$$telemetry_snapshot_netdev, + mconn$$telemetry_snapshot_route, + mconn$$telemetry_snapshot_thermal, + mconn$$telemetry_snapshot_tunnel, } from "./outputs.js"; /** - * The tools of `connector_telemetry_snapshots`. + * The tools of `connectorTelemetrySnapshots`. */ export const tools: readonly Tool[] = [ { - name: "connector_telemetry_snapshots_get", + name: "connectorTelemetrySnapshots_get", title: "Get Snapshot", description: "Gets Magic WAN Connector Telemetry Snapshot", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn-telemetry_account_id", - "description": "Account identifier" - }, - "connector_id": { - "type": "string" - }, - "snapshot_t": { - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn-telemetry_account_id", + "description": "Account identifier" + }, + "connector_id": { + "type": "string" + }, + "snapshot_t": { + "type": "number" + } + }, + "required": [ + "account_id", + "connector_id", + "snapshot_t" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id", - "snapshot_t" + "path" ], $defs: { - "mconn-telemetry_account_id": mconn_telemetry_account_id, + "mconn-telemetry_account_id": mconn$$telemetry_account_id, }, }, outputSchema: { "$ref": "#/$defs/mconn-telemetry_customer_snapshots_get_success", $defs: { - "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, - "mconn-telemetry_customer_snapshots_get_success": mconn_telemetry_customer_snapshots_get_success_output, - "mconn-telemetry_envelope": mconn_telemetry_envelope_output, - "mconn-telemetry_snapshot": mconn_telemetry_snapshot_output, - "mconn-telemetry_snapshot_bond": mconn_telemetry_snapshot_bond_output, - "mconn-telemetry_snapshot_dhcp_lease": mconn_telemetry_snapshot_dhcp_lease_output, - "mconn-telemetry_snapshot_disk": mconn_telemetry_snapshot_disk_output, - "mconn-telemetry_snapshot_interface": mconn_telemetry_snapshot_interface_output, - "mconn-telemetry_snapshot_interface_address": mconn_telemetry_snapshot_interface_address_output, - "mconn-telemetry_snapshot_mount": mconn_telemetry_snapshot_mount_output, - "mconn-telemetry_snapshot_netdev": mconn_telemetry_snapshot_netdev_output, - "mconn-telemetry_snapshot_route": mconn_telemetry_snapshot_route_output, - "mconn-telemetry_snapshot_thermal": mconn_telemetry_snapshot_thermal_output, - "mconn-telemetry_snapshot_tunnel": mconn_telemetry_snapshot_tunnel_output, + "mconn-telemetry_coded_message": mconn$$telemetry_coded_message, + "mconn-telemetry_customer_snapshots_get_success": mconn$$telemetry_customer_snapshots_get_success, + "mconn-telemetry_envelope": mconn$$telemetry_envelope, + "mconn-telemetry_snapshot": mconn$$telemetry_snapshot, + "mconn-telemetry_snapshot_bond": mconn$$telemetry_snapshot_bond, + "mconn-telemetry_snapshot_dhcp_lease": mconn$$telemetry_snapshot_dhcp_lease, + "mconn-telemetry_snapshot_disk": mconn$$telemetry_snapshot_disk, + "mconn-telemetry_snapshot_interface": mconn$$telemetry_snapshot_interface, + "mconn-telemetry_snapshot_interface_address": mconn$$telemetry_snapshot_interface_address, + "mconn-telemetry_snapshot_mount": mconn$$telemetry_snapshot_mount, + "mconn-telemetry_snapshot_netdev": mconn$$telemetry_snapshot_netdev, + "mconn-telemetry_snapshot_route": mconn$$telemetry_snapshot_route, + "mconn-telemetry_snapshot_thermal": mconn$$telemetry_snapshot_thermal, + "mconn-telemetry_snapshot_tunnel": mconn$$telemetry_snapshot_tunnel, }, }, annotations: { @@ -121,20 +129,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, - "mconn-telemetry_customer_snapshots_get_success": mconn_telemetry_customer_snapshots_get_success_output, - "mconn-telemetry_envelope": mconn_telemetry_envelope_output, - "mconn-telemetry_snapshot": mconn_telemetry_snapshot_output, - "mconn-telemetry_snapshot_bond": mconn_telemetry_snapshot_bond_output, - "mconn-telemetry_snapshot_dhcp_lease": mconn_telemetry_snapshot_dhcp_lease_output, - "mconn-telemetry_snapshot_disk": mconn_telemetry_snapshot_disk_output, - "mconn-telemetry_snapshot_interface": mconn_telemetry_snapshot_interface_output, - "mconn-telemetry_snapshot_interface_address": mconn_telemetry_snapshot_interface_address_output, - "mconn-telemetry_snapshot_mount": mconn_telemetry_snapshot_mount_output, - "mconn-telemetry_snapshot_netdev": mconn_telemetry_snapshot_netdev_output, - "mconn-telemetry_snapshot_route": mconn_telemetry_snapshot_route_output, - "mconn-telemetry_snapshot_thermal": mconn_telemetry_snapshot_thermal_output, - "mconn-telemetry_snapshot_tunnel": mconn_telemetry_snapshot_tunnel_output, + "mconn-telemetry_coded_message": mconn$$telemetry_coded_message, + "mconn-telemetry_customer_snapshots_get_success": mconn$$telemetry_customer_snapshots_get_success, + "mconn-telemetry_envelope": mconn$$telemetry_envelope, + "mconn-telemetry_snapshot": mconn$$telemetry_snapshot, + "mconn-telemetry_snapshot_bond": mconn$$telemetry_snapshot_bond, + "mconn-telemetry_snapshot_dhcp_lease": mconn$$telemetry_snapshot_dhcp_lease, + "mconn-telemetry_snapshot_disk": mconn$$telemetry_snapshot_disk, + "mconn-telemetry_snapshot_interface": mconn$$telemetry_snapshot_interface, + "mconn-telemetry_snapshot_interface_address": mconn$$telemetry_snapshot_interface_address, + "mconn-telemetry_snapshot_mount": mconn$$telemetry_snapshot_mount, + "mconn-telemetry_snapshot_netdev": mconn$$telemetry_snapshot_netdev, + "mconn-telemetry_snapshot_route": mconn$$telemetry_snapshot_route, + "mconn-telemetry_snapshot_thermal": mconn$$telemetry_snapshot_thermal, + "mconn-telemetry_snapshot_tunnel": mconn$$telemetry_snapshot_tunnel, }, }, request: (args) => ({ @@ -142,50 +150,66 @@ export const tools: readonly Tool[] = [ }), }, { - name: "connector_telemetry_snapshots_list", + name: "connectorTelemetrySnapshots_list", title: "List Snapshots", description: "Lists Magic WAN Connector Telemetry Snapshots", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn-telemetry_account_id", - "description": "Account identifier" - }, - "connector_id": { - "type": "string" - }, - "cursor": { - "type": "string" - }, - "from": { - "type": "number" - }, - "limit": { - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn-telemetry_account_id", + "description": "Account identifier" + }, + "connector_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "connector_id" + ], + "type": "object" }, - "to": { - "type": "number" + "query": { + "properties": { + "cursor": { + "type": "string" + }, + "from": { + "type": "number" + }, + "limit": { + "type": "number" + }, + "to": { + "type": "number" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id", - "from", - "to" + "path", + "query" ], $defs: { - "mconn-telemetry_account_id": mconn_telemetry_account_id, + "mconn-telemetry_account_id": mconn$$telemetry_account_id, }, }, outputSchema: { "$ref": "#/$defs/mconn-telemetry_customer_snapshots_list_success", $defs: { - "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, - "mconn-telemetry_customer_snapshots_list_result": mconn_telemetry_customer_snapshots_list_result_output, - "mconn-telemetry_customer_snapshots_list_success": mconn_telemetry_customer_snapshots_list_success_output, - "mconn-telemetry_envelope": mconn_telemetry_envelope_output, - "mconn-telemetry_snapshot_metadata": mconn_telemetry_snapshot_metadata_output, + "mconn-telemetry_coded_message": mconn$$telemetry_coded_message, + "mconn-telemetry_customer_snapshots_list_result": mconn$$telemetry_customer_snapshots_list_result, + "mconn-telemetry_customer_snapshots_list_success": mconn$$telemetry_customer_snapshots_list_success, + "mconn-telemetry_envelope": mconn$$telemetry_envelope, + "mconn-telemetry_snapshot_metadata": mconn$$telemetry_snapshot_metadata, }, }, annotations: { @@ -231,20 +255,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn-telemetry_coded_message": mconn_telemetry_coded_message_output, - "mconn-telemetry_customer_snapshots_list_result": mconn_telemetry_customer_snapshots_list_result_output, - "mconn-telemetry_customer_snapshots_list_success": mconn_telemetry_customer_snapshots_list_success_output, - "mconn-telemetry_envelope": mconn_telemetry_envelope_output, - "mconn-telemetry_snapshot_metadata": mconn_telemetry_snapshot_metadata_output, + "mconn-telemetry_coded_message": mconn$$telemetry_coded_message, + "mconn-telemetry_customer_snapshots_list_result": mconn$$telemetry_customer_snapshots_list_result, + "mconn-telemetry_customer_snapshots_list_success": mconn$$telemetry_customer_snapshots_list_success, + "mconn-telemetry_envelope": mconn$$telemetry_envelope, + "mconn-telemetry_snapshot_metadata": mconn$$telemetry_snapshot_metadata, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors/${pathParam(args, "connector_id")}/telemetry/snapshots`, query: [ - ["from", args["from"], true], - ["to", args["to"], true], - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/connectors/outputs.ts b/src/generated/forge-mcp/connectors/outputs.ts index 5da975b76..2e0e17638 100644 --- a/src/generated/forge-mcp/connectors/outputs.ts +++ b/src/generated/forge-mcp/connectors/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `mconn_customer_connector` in responses. */ -export const mconn_customer_connector_output: JsonSchema = { +export const mconn_customer_connector: JsonSchema = { "properties": { "activated": { "type": "boolean" @@ -72,7 +72,7 @@ export const mconn_customer_connector_output: JsonSchema = { /** * The schema of `mconn_customer_connectors_create_response` in responses. */ -export const mconn_customer_connectors_create_response_output: JsonSchema = { +export const mconn_customer_connectors_create_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_good_response" @@ -91,7 +91,7 @@ export const mconn_customer_connectors_create_response_output: JsonSchema = { /** * The schema of `mconn_customer_connectors_delete_response` in responses. */ -export const mconn_customer_connectors_delete_response_output: JsonSchema = { +export const mconn_customer_connectors_delete_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_good_response" @@ -110,7 +110,7 @@ export const mconn_customer_connectors_delete_response_output: JsonSchema = { /** * The schema of `mconn_customer_connectors_edit_response` in responses. */ -export const mconn_customer_connectors_edit_response_output: JsonSchema = { +export const mconn_customer_connectors_edit_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_good_response" @@ -129,7 +129,7 @@ export const mconn_customer_connectors_edit_response_output: JsonSchema = { /** * The schema of `mconn_customer_connectors_get_response` in responses. */ -export const mconn_customer_connectors_get_response_output: JsonSchema = { +export const mconn_customer_connectors_get_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_good_response" @@ -148,7 +148,7 @@ export const mconn_customer_connectors_get_response_output: JsonSchema = { /** * The schema of `mconn_customer_connectors_list_response` in responses. */ -export const mconn_customer_connectors_list_response_output: JsonSchema = { +export const mconn_customer_connectors_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_good_response" @@ -170,7 +170,7 @@ export const mconn_customer_connectors_list_response_output: JsonSchema = { /** * The schema of `mconn_customer_connectors_update_response` in responses. */ -export const mconn_customer_connectors_update_response_output: JsonSchema = { +export const mconn_customer_connectors_update_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_good_response" @@ -189,7 +189,7 @@ export const mconn_customer_connectors_update_response_output: JsonSchema = { /** * The schema of `mconn_customer_device` in responses. */ -export const mconn_customer_device_output: JsonSchema = { +export const mconn_customer_device: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/mconn_uuid" @@ -214,7 +214,7 @@ export const mconn_customer_device_output: JsonSchema = { /** * The schema of `mconn_day_of_week` in responses. */ -export const mconn_day_of_week_output: JsonSchema = { +export const mconn_day_of_week: JsonSchema = { "enum": [ "Sunday", "Monday", @@ -230,6 +230,6 @@ export const mconn_day_of_week_output: JsonSchema = { /** * The schema of `mconn_embargo_date` in responses. */ -export const mconn_embargo_date_output: JsonSchema = { +export const mconn_embargo_date: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/connectors/tools.ts b/src/generated/forge-mcp/connectors/tools.ts index 5132070b1..7d149b756 100644 --- a/src/generated/forge-mcp/connectors/tools.ts +++ b/src/generated/forge-mcp/connectors/tools.ts @@ -1,27 +1,27 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - mconn_bad_response_output, - mconn_coded_message_output, - mconn_good_response_output, - mconn_none_output, - mconn_response_output, - mconn_uuid_output, + mconn_bad_response, + mconn_coded_message, + mconn_good_response, + mconn_none, + mconn_response, + mconn_uuid, } from "../outputs.js"; -import { mconn_account_id, mconn_uuid } from "../schemas.js"; +import { mconn_account_id, mconn_uuid as mconn_uuid$ } from "../schemas.js"; import { - mconn_customer_connector_output, - mconn_customer_connectors_create_response_output, - mconn_customer_connectors_delete_response_output, - mconn_customer_connectors_edit_response_output, - mconn_customer_connectors_get_response_output, - mconn_customer_connectors_list_response_output, - mconn_customer_connectors_update_response_output, - mconn_customer_device_output, - mconn_day_of_week_output, - mconn_embargo_date_output, + mconn_customer_connector, + mconn_customer_connectors_create_response, + mconn_customer_connectors_delete_response, + mconn_customer_connectors_edit_response, + mconn_customer_connectors_get_response, + mconn_customer_connectors_list_response, + mconn_customer_connectors_update_response, + mconn_customer_device, + mconn_day_of_week, + mconn_embargo_date, } from "./outputs.js"; import { mconn_customer_connector_fields, @@ -29,8 +29,8 @@ import { mconn_customer_connectors_edit_request, mconn_customer_connectors_update_request, mconn_customer_device_options, - mconn_day_of_week, - mconn_embargo_date, + mconn_day_of_week as mconn_day_of_week$, + mconn_embargo_date as mconn_embargo_date$, } from "./schemas.js"; /** @@ -44,15 +44,23 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn_account_id" - }, "body": { "$ref": "#/$defs/mconn_customer_connectors_create_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn_account_id" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -60,22 +68,22 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector_fields": mconn_customer_connector_fields, "mconn_customer_connectors_create_request": mconn_customer_connectors_create_request, "mconn_customer_device_options": mconn_customer_device_options, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, + "mconn_day_of_week": mconn_day_of_week$, + "mconn_embargo_date": mconn_embargo_date$, }, }, outputSchema: { "$ref": "#/$defs/mconn_customer_connectors_create_response", $defs: { - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_create_response": mconn_customer_connectors_create_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_create_response": mconn_customer_connectors_create_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -123,17 +131,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn_bad_response": mconn_bad_response_output, - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_create_response": mconn_customer_connectors_create_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_none": mconn_none_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_bad_response": mconn_bad_response, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_create_response": mconn_customer_connectors_create_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_none": mconn_none, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ @@ -148,34 +156,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn_account_id" - }, - "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn_account_id" + }, + "connector_id": { + "$ref": "#/$defs/mconn_uuid" + } + }, + "required": [ + "account_id", + "connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id" + "path" ], $defs: { "mconn_account_id": mconn_account_id, - "mconn_uuid": mconn_uuid, + "mconn_uuid": mconn_uuid$, }, }, outputSchema: { "$ref": "#/$defs/mconn_customer_connectors_delete_response", $defs: { - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_delete_response": mconn_customer_connectors_delete_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_delete_response": mconn_customer_connectors_delete_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -220,17 +236,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn_bad_response": mconn_bad_response_output, - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_delete_response": mconn_customer_connectors_delete_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_none": mconn_none_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_bad_response": mconn_bad_response, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_delete_response": mconn_customer_connectors_delete_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_none": mconn_none, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ @@ -244,42 +260,50 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn_account_id" - }, "body": { "$ref": "#/$defs/mconn_customer_connectors_edit_request" }, - "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn_account_id" + }, + "connector_id": { + "$ref": "#/$defs/mconn_uuid" + } + }, + "required": [ + "account_id", + "connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id", + "path", "body" ], $defs: { "mconn_account_id": mconn_account_id, "mconn_customer_connector_fields": mconn_customer_connector_fields, "mconn_customer_connectors_edit_request": mconn_customer_connectors_edit_request, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, - "mconn_uuid": mconn_uuid, + "mconn_day_of_week": mconn_day_of_week$, + "mconn_embargo_date": mconn_embargo_date$, + "mconn_uuid": mconn_uuid$, }, }, outputSchema: { "$ref": "#/$defs/mconn_customer_connectors_edit_response", $defs: { - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_edit_response": mconn_customer_connectors_edit_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_edit_response": mconn_customer_connectors_edit_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -324,17 +348,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn_bad_response": mconn_bad_response_output, - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_edit_response": mconn_customer_connectors_edit_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_none": mconn_none_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_bad_response": mconn_bad_response, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_edit_response": mconn_customer_connectors_edit_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_none": mconn_none, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ @@ -349,34 +373,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn_account_id" - }, - "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn_account_id" + }, + "connector_id": { + "$ref": "#/$defs/mconn_uuid" + } + }, + "required": [ + "account_id", + "connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id" + "path" ], $defs: { "mconn_account_id": mconn_account_id, - "mconn_uuid": mconn_uuid, + "mconn_uuid": mconn_uuid$, }, }, outputSchema: { "$ref": "#/$defs/mconn_customer_connectors_get_response", $defs: { - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_get_response": mconn_customer_connectors_get_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_get_response": mconn_customer_connectors_get_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -422,17 +454,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn_bad_response": mconn_bad_response_output, - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_get_response": mconn_customer_connectors_get_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_none": mconn_none_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_bad_response": mconn_bad_response, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_get_response": mconn_customer_connectors_get_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_none": mconn_none, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ @@ -446,20 +478,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn_account_id" - }, - "device_type": { - "description": "Filter connectors by device type.", - "enum": [ - "MANAGED", - "LICENSED" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn_account_id" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "device_type": { + "description": "Filter connectors by device type.", + "enum": [ + "MANAGED", + "LICENSED" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "mconn_account_id": mconn_account_id, @@ -468,15 +513,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/mconn_customer_connectors_list_response", $defs: { - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_list_response": mconn_customer_connectors_list_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_list_response": mconn_customer_connectors_list_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -519,23 +564,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn_bad_response": mconn_bad_response_output, - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_list_response": mconn_customer_connectors_list_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_none": mconn_none_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_bad_response": mconn_bad_response, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_list_response": mconn_customer_connectors_list_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_none": mconn_none, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/connectors`, query: [ - ["device_type", args["device_type"], true], + ["device_type", param(args, "query", "device_type"), true], ], }), }, @@ -546,42 +591,50 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mconn_account_id" - }, "body": { "$ref": "#/$defs/mconn_customer_connectors_update_request" }, - "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mconn_account_id" + }, + "connector_id": { + "$ref": "#/$defs/mconn_uuid" + } + }, + "required": [ + "account_id", + "connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "connector_id", + "path", "body" ], $defs: { "mconn_account_id": mconn_account_id, "mconn_customer_connector_fields": mconn_customer_connector_fields, "mconn_customer_connectors_update_request": mconn_customer_connectors_update_request, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, - "mconn_uuid": mconn_uuid, + "mconn_day_of_week": mconn_day_of_week$, + "mconn_embargo_date": mconn_embargo_date$, + "mconn_uuid": mconn_uuid$, }, }, outputSchema: { "$ref": "#/$defs/mconn_customer_connectors_update_response", $defs: { - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_update_response": mconn_customer_connectors_update_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_update_response": mconn_customer_connectors_update_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -626,17 +679,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mconn_bad_response": mconn_bad_response_output, - "mconn_coded_message": mconn_coded_message_output, - "mconn_customer_connector": mconn_customer_connector_output, - "mconn_customer_connectors_update_response": mconn_customer_connectors_update_response_output, - "mconn_customer_device": mconn_customer_device_output, - "mconn_day_of_week": mconn_day_of_week_output, - "mconn_embargo_date": mconn_embargo_date_output, - "mconn_good_response": mconn_good_response_output, - "mconn_none": mconn_none_output, - "mconn_response": mconn_response_output, - "mconn_uuid": mconn_uuid_output, + "mconn_bad_response": mconn_bad_response, + "mconn_coded_message": mconn_coded_message, + "mconn_customer_connector": mconn_customer_connector, + "mconn_customer_connectors_update_response": mconn_customer_connectors_update_response, + "mconn_customer_device": mconn_customer_device, + "mconn_day_of_week": mconn_day_of_week, + "mconn_embargo_date": mconn_embargo_date, + "mconn_good_response": mconn_good_response, + "mconn_none": mconn_none, + "mconn_response": mconn_response, + "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/containers/applications/instances/outputs.ts b/src/generated/forge-mcp/containers/applications/instances/outputs.ts index d0c462ab7..a3767ec6a 100644 --- a/src/generated/forge-mcp/containers/applications/instances/outputs.ts +++ b/src/generated/forge-mcp/containers/applications/instances/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cc_ContainerInstance` in responses. */ -export const cc_ContainerInstance_output: JsonSchema = { +export const cc_ContainerInstance: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cc_ContainerInstanceBase" @@ -32,7 +32,7 @@ export const cc_ContainerInstance_output: JsonSchema = { /** * The schema of `cc_ContainerInstanceBase` in responses. */ -export const cc_ContainerInstanceBase_output: JsonSchema = { +export const cc_ContainerInstanceBase: JsonSchema = { "properties": { "application_id": { "$ref": "#/$defs/cc_ApplicationID" @@ -69,7 +69,7 @@ export const cc_ContainerInstanceBase_output: JsonSchema = { /** * The schema of `cc_ContainerInstanceConfiguration` in responses. */ -export const cc_ContainerInstanceConfiguration_output: JsonSchema = { +export const cc_ContainerInstanceConfiguration: JsonSchema = { "properties": { "disk": { "type": "integer" @@ -92,14 +92,14 @@ export const cc_ContainerInstanceConfiguration_output: JsonSchema = { /** * The schema of `cc_ContainerInstanceID` in responses. */ -export const cc_ContainerInstanceID_output: JsonSchema = { +export const cc_ContainerInstanceID: JsonSchema = { "type": "string" }; /** * The schema of `cc_ContainerInstanceLocation` in responses. */ -export const cc_ContainerInstanceLocation_output: JsonSchema = { +export const cc_ContainerInstanceLocation: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/cc_LocationID" @@ -118,7 +118,7 @@ export const cc_ContainerInstanceLocation_output: JsonSchema = { /** * The schema of `cc_ContainerInstanceStatus` in responses. */ -export const cc_ContainerInstanceStatus_output: JsonSchema = { +export const cc_ContainerInstanceStatus: JsonSchema = { "properties": { "exit_code": { "type": "integer" @@ -140,7 +140,7 @@ export const cc_ContainerInstanceStatus_output: JsonSchema = { /** * The schema of `cc_ContainerInstanceStatusState` in responses. */ -export const cc_ContainerInstanceStatusState_output: JsonSchema = { +export const cc_ContainerInstanceStatusState: JsonSchema = { "enum": [ "provisioning", "running", @@ -157,7 +157,7 @@ export const cc_ContainerInstanceStatusState_output: JsonSchema = { /** * The schema of `cc_ContainersListContainerInstancesV2` in responses. */ -export const cc_ContainersListContainerInstancesV2_output: JsonSchema = { +export const cc_ContainersListContainerInstancesV2: JsonSchema = { "items": { "$ref": "#/$defs/cc_ContainerInstance" }, @@ -167,6 +167,6 @@ export const cc_ContainersListContainerInstancesV2_output: JsonSchema = { /** * The schema of `cc_LocationID` in responses. */ -export const cc_LocationID_output: JsonSchema = { +export const cc_LocationID: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/containers/applications/instances/tools.ts b/src/generated/forge-mcp/containers/applications/instances/tools.ts index bb0618046..b9011abcc 100644 --- a/src/generated/forge-mcp/containers/applications/instances/tools.ts +++ b/src/generated/forge-mcp/containers/applications/instances/tools.ts @@ -1,32 +1,32 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cc_ISO8601Timestamp_output, - cc_Image_output, - cc_Messages_output, - cc_V4BaseErrorResponse_output, - cc_V4BaseResponse_output, + cc_ISO8601Timestamp, + cc_Image, + cc_Messages, + cc_V4BaseErrorResponse, + cc_V4BaseResponse, } from "../../outputs.js"; import { - cc_ApplicationID_output, - cc_Region_output, - cc_V4PaginatedResultInfo_output, + cc_ApplicationID, + cc_Region, + cc_V4PaginatedResultInfo, } from "../outputs.js"; -import { cc_ApplicationID } from "../schemas.js"; +import { cc_ApplicationID as cc_ApplicationID$ } from "../schemas.js"; import { - cc_ContainerInstanceBase_output, - cc_ContainerInstanceConfiguration_output, - cc_ContainerInstanceID_output, - cc_ContainerInstanceLocation_output, - cc_ContainerInstanceStatusState_output, - cc_ContainerInstanceStatus_output, - cc_ContainerInstance_output, - cc_ContainersListContainerInstancesV2_output, - cc_LocationID_output, + cc_ContainerInstance, + cc_ContainerInstanceBase, + cc_ContainerInstanceConfiguration, + cc_ContainerInstanceID, + cc_ContainerInstanceLocation, + cc_ContainerInstanceStatus, + cc_ContainerInstanceStatusState, + cc_ContainersListContainerInstancesV2, + cc_LocationID, } from "./outputs.js"; -import { cc_ContainerInstanceID } from "./schemas.js"; +import { cc_ContainerInstanceID as cc_ContainerInstanceID$ } from "./schemas.js"; /** * The tools of `containers.applications.instances`. @@ -39,27 +39,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." - }, - "instance_id": { - "$ref": "#/$defs/cc_ContainerInstanceID", - "description": "A container instance ID (64-character hex Durable Object actor ID)." + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "application_id": { + "$ref": "#/$defs/cc_ApplicationID", + "description": "An Application ID represents an identifier of an application." + }, + "instance_id": { + "$ref": "#/$defs/cc_ContainerInstanceID", + "description": "A container instance ID (64-character hex Durable Object actor ID)." + } + }, + "required": [ + "account_id", + "application_id", + "instance_id" + ], + "type": "object" } }, required: [ - "account_id", - "application_id", - "instance_id" + "path" ], $defs: { - "cc_ApplicationID": cc_ApplicationID, - "cc_ContainerInstanceID": cc_ContainerInstanceID, + "cc_ApplicationID": cc_ApplicationID$, + "cc_ContainerInstanceID": cc_ContainerInstanceID$, }, }, outputSchema: { @@ -80,20 +88,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ContainerInstance": cc_ContainerInstance_output, - "cc_ContainerInstanceBase": cc_ContainerInstanceBase_output, - "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration_output, - "cc_ContainerInstanceID": cc_ContainerInstanceID_output, - "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation_output, - "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus_output, - "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_LocationID": cc_LocationID_output, - "cc_Messages": cc_Messages_output, - "cc_Region": cc_Region_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ApplicationID": cc_ApplicationID, + "cc_ContainerInstance": cc_ContainerInstance, + "cc_ContainerInstanceBase": cc_ContainerInstanceBase, + "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration, + "cc_ContainerInstanceID": cc_ContainerInstanceID, + "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation, + "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus, + "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_LocationID": cc_LocationID, + "cc_Messages": cc_Messages, + "cc_Region": cc_Region, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, annotations: { @@ -145,21 +153,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ContainerInstance": cc_ContainerInstance_output, - "cc_ContainerInstanceBase": cc_ContainerInstanceBase_output, - "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration_output, - "cc_ContainerInstanceID": cc_ContainerInstanceID_output, - "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation_output, - "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus_output, - "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_LocationID": cc_LocationID_output, - "cc_Messages": cc_Messages_output, - "cc_Region": cc_Region_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ApplicationID": cc_ApplicationID, + "cc_ContainerInstance": cc_ContainerInstance, + "cc_ContainerInstanceBase": cc_ContainerInstanceBase, + "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration, + "cc_ContainerInstanceID": cc_ContainerInstanceID, + "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation, + "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus, + "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_LocationID": cc_LocationID, + "cc_Messages": cc_Messages, + "cc_Region": cc_Region, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, request: (args) => ({ @@ -173,41 +181,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." - }, - "name_prefix": { - "description": "Filter instances by a case-sensitive name prefix, falling back to the actor ID when no name is known. Keep the same prefix when using a page token.\n", - "type": "string" - }, - "page_token": { - "description": "Opaque token from a previous response to retrieve the next page.", - "type": "string" - }, - "per_page": { - "description": "Maximum number of instances to return per page. Defaults to 100.", - "type": "integer" - }, - "state": { - "description": "Filters instances by lifecycle state. `active` includes provisioning, running, and stopping instances; `not-active` includes stopped and failed instances. When omitted, all instances are returned.\n", - "enum": [ - "active", - "not-active" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "application_id": { + "$ref": "#/$defs/cc_ApplicationID", + "description": "An Application ID represents an identifier of an application." + } + }, + "required": [ + "account_id", + "application_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "name_prefix": { + "description": "Filter instances by a case-sensitive name prefix, falling back to the actor ID when no name is known. Keep the same prefix when using a page token.\n", + "type": "string" + }, + "page_token": { + "description": "Opaque token from a previous response to retrieve the next page.", + "type": "string" + }, + "per_page": { + "description": "Maximum number of instances to return per page. Defaults to 100.", + "type": "integer" + }, + "state": { + "description": "Filters instances by lifecycle state. `active` includes provisioning, running, and stopping instances; `not-active` includes stopped and failed instances. When omitted, all instances are returned.\n", + "enum": [ + "active", + "not-active" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "application_id" + "path" ], $defs: { - "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationID": cc_ApplicationID$, }, }, outputSchema: { @@ -232,22 +253,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ContainerInstance": cc_ContainerInstance_output, - "cc_ContainerInstanceBase": cc_ContainerInstanceBase_output, - "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration_output, - "cc_ContainerInstanceID": cc_ContainerInstanceID_output, - "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation_output, - "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus_output, - "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState_output, - "cc_ContainersListContainerInstancesV2": cc_ContainersListContainerInstancesV2_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_LocationID": cc_LocationID_output, - "cc_Messages": cc_Messages_output, - "cc_Region": cc_Region_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo_output, + "cc_ApplicationID": cc_ApplicationID, + "cc_ContainerInstance": cc_ContainerInstance, + "cc_ContainerInstanceBase": cc_ContainerInstanceBase, + "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration, + "cc_ContainerInstanceID": cc_ContainerInstanceID, + "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation, + "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus, + "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState, + "cc_ContainersListContainerInstancesV2": cc_ContainersListContainerInstancesV2, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_LocationID": cc_LocationID, + "cc_Messages": cc_Messages, + "cc_Region": cc_Region, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo, }, }, annotations: { @@ -308,32 +329,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ContainerInstance": cc_ContainerInstance_output, - "cc_ContainerInstanceBase": cc_ContainerInstanceBase_output, - "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration_output, - "cc_ContainerInstanceID": cc_ContainerInstanceID_output, - "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation_output, - "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus_output, - "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState_output, - "cc_ContainersListContainerInstancesV2": cc_ContainersListContainerInstancesV2_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_LocationID": cc_LocationID_output, - "cc_Messages": cc_Messages_output, - "cc_Region": cc_Region_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo_output, + "cc_ApplicationID": cc_ApplicationID, + "cc_ContainerInstance": cc_ContainerInstance, + "cc_ContainerInstanceBase": cc_ContainerInstanceBase, + "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration, + "cc_ContainerInstanceID": cc_ContainerInstanceID, + "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation, + "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus, + "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState, + "cc_ContainersListContainerInstancesV2": cc_ContainersListContainerInstancesV2, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_LocationID": cc_LocationID, + "cc_Messages": cc_Messages, + "cc_Region": cc_Region, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications/${pathParam(args, "application_id")}/instances-v2`, query: [ - ["per_page", args["per_page"], true], - ["page_token", args["page_token"], true], - ["state", args["state"], true], - ["name_prefix", args["name_prefix"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page_token", param(args, "query", "page_token"), true], + ["state", param(args, "query", "state"), true], + ["name_prefix", param(args, "query", "name_prefix"), true], ], }), }, diff --git a/src/generated/forge-mcp/containers/applications/outputs.ts b/src/generated/forge-mcp/containers/applications/outputs.ts index 459b140d3..df925781c 100644 --- a/src/generated/forge-mcp/containers/applications/outputs.ts +++ b/src/generated/forge-mcp/containers/applications/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cc_Application` in responses. */ -export const cc_Application_output: JsonSchema = { +export const cc_Application: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/cc_AccountID" @@ -74,7 +74,7 @@ export const cc_Application_output: JsonSchema = { /** * The schema of `cc_ApplicationConstraints` in responses. */ -export const cc_ApplicationConstraints_output: JsonSchema = { +export const cc_ApplicationConstraints: JsonSchema = { "properties": { "jurisdiction": { "$ref": "#/$defs/cc_ApplicationJurisdiction" @@ -92,14 +92,14 @@ export const cc_ApplicationConstraints_output: JsonSchema = { /** * The schema of `cc_ApplicationDurableObjectsConfiguration` in responses. */ -export const cc_ApplicationDurableObjectsConfiguration_output: JsonSchema = { +export const cc_ApplicationDurableObjectsConfiguration: JsonSchema = { "$ref": "#/$defs/cc_DurableObjectsConfigurationNamespaceId" }; /** * The schema of `cc_ApplicationHealth` in responses. */ -export const cc_ApplicationHealth_output: JsonSchema = { +export const cc_ApplicationHealth: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cc_ApplicationHealthErrors" @@ -127,7 +127,7 @@ export const cc_ApplicationHealth_output: JsonSchema = { /** * The schema of `cc_ApplicationHealthError` in responses. */ -export const cc_ApplicationHealthError_output: JsonSchema = { +export const cc_ApplicationHealthError: JsonSchema = { "properties": { "event": { "$ref": "#/$defs/cc_PlacementEvent" @@ -146,7 +146,7 @@ export const cc_ApplicationHealthError_output: JsonSchema = { /** * The schema of `cc_ApplicationHealthErrors` in responses. */ -export const cc_ApplicationHealthErrors_output: JsonSchema = { +export const cc_ApplicationHealthErrors: JsonSchema = { "items": { "$ref": "#/$defs/cc_ApplicationHealthError" }, @@ -156,7 +156,7 @@ export const cc_ApplicationHealthErrors_output: JsonSchema = { /** * The schema of `cc_ApplicationHealthInstances` in responses. */ -export const cc_ApplicationHealthInstances_output: JsonSchema = { +export const cc_ApplicationHealthInstances: JsonSchema = { "properties": { "active": { "type": "integer" @@ -175,28 +175,28 @@ export const cc_ApplicationHealthInstances_output: JsonSchema = { /** * The schema of `cc_ApplicationID` in responses. */ -export const cc_ApplicationID_output: JsonSchema = { +export const cc_ApplicationID: JsonSchema = { "type": "string" }; /** * The schema of `cc_ApplicationJurisdiction` in responses. */ -export const cc_ApplicationJurisdiction_output: JsonSchema = { +export const cc_ApplicationJurisdiction: JsonSchema = { "type": "string" }; /** * The schema of `cc_ApplicationName` in responses. */ -export const cc_ApplicationName_output: JsonSchema = { +export const cc_ApplicationName: JsonSchema = { "type": "string" }; /** * The schema of `cc_ApplicationObservability` in responses. */ -export const cc_ApplicationObservability_output: JsonSchema = { +export const cc_ApplicationObservability: JsonSchema = { "properties": { "logs": { "$ref": "#/$defs/cc_ObservabilityLogs" @@ -208,14 +208,14 @@ export const cc_ApplicationObservability_output: JsonSchema = { /** * The schema of `cc_ApplicationRolloutActiveGracePeriod` in responses. */ -export const cc_ApplicationRolloutActiveGracePeriod_output: JsonSchema = { +export const cc_ApplicationRolloutActiveGracePeriod: JsonSchema = { "type": "integer" }; /** * The schema of `cc_Command` in responses. */ -export const cc_Command_output: JsonSchema = { +export const cc_Command: JsonSchema = { "items": { "$ref": "#/$defs/cc_ExecFormParam" }, @@ -225,7 +225,7 @@ export const cc_Command_output: JsonSchema = { /** * The schema of `cc_ContainersApplicationResponse` in responses. */ -export const cc_ContainersApplicationResponse_output: JsonSchema = { +export const cc_ContainersApplicationResponse: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/cc_ScheduledApplication" @@ -239,7 +239,7 @@ export const cc_ContainersApplicationResponse_output: JsonSchema = { /** * The schema of `cc_ContainersDeleteApplicationResponseBody` in responses. */ -export const cc_ContainersDeleteApplicationResponseBody_output: JsonSchema = { +export const cc_ContainersDeleteApplicationResponseBody: JsonSchema = { "properties": { "message": { "type": "string" @@ -254,7 +254,7 @@ export const cc_ContainersDeleteApplicationResponseBody_output: JsonSchema = { /** * The schema of `cc_ContainersListApplications` in responses. */ -export const cc_ContainersListApplications_output: JsonSchema = { +export const cc_ContainersListApplications: JsonSchema = { "items": { "$ref": "#/$defs/cc_ContainersApplicationResponse" }, @@ -264,7 +264,7 @@ export const cc_ContainersListApplications_output: JsonSchema = { /** * The schema of `cc_DeploymentObservability` in responses. */ -export const cc_DeploymentObservability_output: JsonSchema = { +export const cc_DeploymentObservability: JsonSchema = { "properties": { "logs": { "$ref": "#/$defs/cc_ObservabilityLogs" @@ -276,7 +276,7 @@ export const cc_DeploymentObservability_output: JsonSchema = { /** * The schema of `cc_DurableObjectApplication` in responses. */ -export const cc_DurableObjectApplication_output: JsonSchema = { +export const cc_DurableObjectApplication: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/cc_AccountID" @@ -327,7 +327,7 @@ export const cc_DurableObjectApplication_output: JsonSchema = { /** * The schema of `cc_DurableObjectApplicationConfiguration` in responses. */ -export const cc_DurableObjectApplicationConfiguration_output: JsonSchema = { +export const cc_DurableObjectApplicationConfiguration: JsonSchema = { "properties": { "authorized_keys": { "items": { @@ -345,7 +345,7 @@ export const cc_DurableObjectApplicationConfiguration_output: JsonSchema = { /** * The schema of `cc_DurableObjectApplicationConstraints` in responses. */ -export const cc_DurableObjectApplicationConstraints_output: JsonSchema = { +export const cc_DurableObjectApplicationConstraints: JsonSchema = { "properties": { "jurisdiction": { "enum": [ @@ -365,7 +365,7 @@ export const cc_DurableObjectApplicationConstraints_output: JsonSchema = { /** * The schema of `cc_DurableObjectApplicationHealth` in responses. */ -export const cc_DurableObjectApplicationHealth_output: JsonSchema = { +export const cc_DurableObjectApplicationHealth: JsonSchema = { "properties": { "instances": { "properties": { @@ -398,7 +398,7 @@ export const cc_DurableObjectApplicationHealth_output: JsonSchema = { /** * The schema of `cc_DurableObjectApplicationObservability` in responses. */ -export const cc_DurableObjectApplicationObservability_output: JsonSchema = { +export const cc_DurableObjectApplicationObservability: JsonSchema = { "properties": { "logs": { "properties": { @@ -415,7 +415,7 @@ export const cc_DurableObjectApplicationObservability_output: JsonSchema = { /** * The schema of `cc_DurableObjectApplicationSchedulingPolicy` in responses. */ -export const cc_DurableObjectApplicationSchedulingPolicy_output: JsonSchema = { +export const cc_DurableObjectApplicationSchedulingPolicy: JsonSchema = { "enum": [ "durable_object" ], @@ -425,7 +425,7 @@ export const cc_DurableObjectApplicationSchedulingPolicy_output: JsonSchema = { /** * The schema of `cc_DurableObjectsConfigurationNamespaceId` in responses. */ -export const cc_DurableObjectsConfigurationNamespaceId_output: JsonSchema = { +export const cc_DurableObjectsConfigurationNamespaceId: JsonSchema = { "properties": { "namespace_id": { "type": "string" @@ -440,7 +440,7 @@ export const cc_DurableObjectsConfigurationNamespaceId_output: JsonSchema = { /** * The schema of `cc_Entrypoint` in responses. */ -export const cc_Entrypoint_output: JsonSchema = { +export const cc_Entrypoint: JsonSchema = { "items": { "$ref": "#/$defs/cc_ExecFormParam" }, @@ -450,7 +450,7 @@ export const cc_Entrypoint_output: JsonSchema = { /** * The schema of `cc_EnvironmentVariable` in responses. */ -export const cc_EnvironmentVariable_output: JsonSchema = { +export const cc_EnvironmentVariable: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/cc_EnvironmentVariableName" @@ -469,21 +469,21 @@ export const cc_EnvironmentVariable_output: JsonSchema = { /** * The schema of `cc_EnvironmentVariableName` in responses. */ -export const cc_EnvironmentVariableName_output: JsonSchema = { +export const cc_EnvironmentVariableName: JsonSchema = { "type": "string" }; /** * The schema of `cc_EnvironmentVariableValue` in responses. */ -export const cc_EnvironmentVariableValue_output: JsonSchema = { +export const cc_EnvironmentVariableValue: JsonSchema = { "type": "string" }; /** * The schema of `cc_EventName` in responses. */ -export const cc_EventName_output: JsonSchema = { +export const cc_EventName: JsonSchema = { "enum": [ "SchedulerPlaced", "NetworkingIPAssigned", @@ -509,7 +509,7 @@ export const cc_EventName_output: JsonSchema = { /** * The schema of `cc_EventType` in responses. */ -export const cc_EventType_output: JsonSchema = { +export const cc_EventType: JsonSchema = { "enum": [ "Info", "Error", @@ -523,21 +523,21 @@ export const cc_EventType_output: JsonSchema = { /** * The schema of `cc_ExecFormParam` in responses. */ -export const cc_ExecFormParam_output: JsonSchema = { +export const cc_ExecFormParam: JsonSchema = { "type": "string" }; /** * The schema of `cc_InstanceID` in responses. */ -export const cc_InstanceID_output: JsonSchema = { +export const cc_InstanceID: JsonSchema = { "type": "string" }; /** * The schema of `cc_InstanceType` in responses. */ -export const cc_InstanceType_output: JsonSchema = { +export const cc_InstanceType: JsonSchema = { "enum": [ "lite", "basic", @@ -552,7 +552,7 @@ export const cc_InstanceType_output: JsonSchema = { /** * The schema of `cc_ModifyUserDeploymentConfiguration` in responses. */ -export const cc_ModifyUserDeploymentConfiguration_output: JsonSchema = { +export const cc_ModifyUserDeploymentConfiguration: JsonSchema = { "properties": { "authorized_keys": { "items": { @@ -588,7 +588,7 @@ export const cc_ModifyUserDeploymentConfiguration_output: JsonSchema = { /** * The schema of `cc_ObservabilityLogs` in responses. */ -export const cc_ObservabilityLogs_output: JsonSchema = { +export const cc_ObservabilityLogs: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -600,7 +600,7 @@ export const cc_ObservabilityLogs_output: JsonSchema = { /** * The schema of `cc_PlacementEvent` in responses. */ -export const cc_PlacementEvent_output: JsonSchema = { +export const cc_PlacementEvent: JsonSchema = { "properties": { "details": { "type": "object" @@ -639,28 +639,28 @@ export const cc_PlacementEvent_output: JsonSchema = { /** * The schema of `cc_Region` in responses. */ -export const cc_Region_output: JsonSchema = { +export const cc_Region: JsonSchema = { "type": "string" }; /** * The schema of `cc_RolloutID` in responses. */ -export const cc_RolloutID_output: JsonSchema = { +export const cc_RolloutID: JsonSchema = { "type": "string" }; /** * The schema of `cc_SSHPublicKey` in responses. */ -export const cc_SSHPublicKey_output: JsonSchema = { +export const cc_SSHPublicKey: JsonSchema = { "type": "string" }; /** * The schema of `cc_ScheduledApplication` in responses. */ -export const cc_ScheduledApplication_output: JsonSchema = { +export const cc_ScheduledApplication: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cc_Application" @@ -682,7 +682,7 @@ export const cc_ScheduledApplication_output: JsonSchema = { /** * The schema of `cc_ScheduledApplicationSchedulingPolicy` in responses. */ -export const cc_ScheduledApplicationSchedulingPolicy_output: JsonSchema = { +export const cc_ScheduledApplicationSchedulingPolicy: JsonSchema = { "enum": [ "default" ], @@ -692,7 +692,7 @@ export const cc_ScheduledApplicationSchedulingPolicy_output: JsonSchema = { /** * The schema of `cc_SchedulingPolicy` in responses. */ -export const cc_SchedulingPolicy_output: JsonSchema = { +export const cc_SchedulingPolicy: JsonSchema = { "enum": [ "default", "durable_object" @@ -703,7 +703,7 @@ export const cc_SchedulingPolicy_output: JsonSchema = { /** * The schema of `cc_UserDeploymentConfiguration` in responses. */ -export const cc_UserDeploymentConfiguration_output: JsonSchema = { +export const cc_UserDeploymentConfiguration: JsonSchema = { "properties": { "authorized_keys": { "items": { @@ -742,7 +742,7 @@ export const cc_UserDeploymentConfiguration_output: JsonSchema = { /** * The schema of `cc_UserSSHPublicKey` in responses. */ -export const cc_UserSSHPublicKey_output: JsonSchema = { +export const cc_UserSSHPublicKey: JsonSchema = { "properties": { "name": { "type": "string" @@ -760,7 +760,7 @@ export const cc_UserSSHPublicKey_output: JsonSchema = { /** * The schema of `cc_V4PaginatedResultInfo` in responses. */ -export const cc_V4PaginatedResultInfo_output: JsonSchema = { +export const cc_V4PaginatedResultInfo: JsonSchema = { "properties": { "next_page_token": { "type": "string" @@ -778,7 +778,7 @@ export const cc_V4PaginatedResultInfo_output: JsonSchema = { /** * The schema of `cc_WranglerSSHConfig` in responses. */ -export const cc_WranglerSSHConfig_output: JsonSchema = { +export const cc_WranglerSSHConfig: JsonSchema = { "properties": { "enabled": { "type": "boolean" diff --git a/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts b/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts index 401eb6309..a59a4189f 100644 --- a/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts +++ b/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cc_ApplicationRollout` in responses. */ -export const cc_ApplicationRollout_output: JsonSchema = { +export const cc_ApplicationRollout: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/cc_ISO8601Timestamp" @@ -112,7 +112,7 @@ export const cc_ApplicationRollout_output: JsonSchema = { /** * The schema of `cc_ApplicationRolloutProgress` in responses. */ -export const cc_ApplicationRolloutProgress_output: JsonSchema = { +export const cc_ApplicationRolloutProgress: JsonSchema = { "properties": { "current_step": { "type": "integer" @@ -156,7 +156,7 @@ export const cc_ApplicationRolloutProgress_output: JsonSchema = { /** * The schema of `cc_RolloutStep` in responses. */ -export const cc_RolloutStep_output: JsonSchema = { +export const cc_RolloutStep: JsonSchema = { "properties": { "completed_at": { "$ref": "#/$defs/cc_ISO8601Timestamp" diff --git a/src/generated/forge-mcp/containers/applications/rollouts/tools.ts b/src/generated/forge-mcp/containers/applications/rollouts/tools.ts index 571b6fca7..2fbd907fa 100644 --- a/src/generated/forge-mcp/containers/applications/rollouts/tools.ts +++ b/src/generated/forge-mcp/containers/applications/rollouts/tools.ts @@ -3,55 +3,55 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cc_ISO8601Timestamp_output, - cc_Image_output, - cc_Messages_output, - cc_V4BaseErrorResponse_output, - cc_V4BaseResponse_output, + cc_ISO8601Timestamp, + cc_Image, + cc_Messages, + cc_V4BaseErrorResponse, + cc_V4BaseResponse, } from "../../outputs.js"; -import { cc_Image } from "../../schemas.js"; +import { cc_Image as cc_Image$ } from "../../schemas.js"; import { - cc_ApplicationHealthError_output, - cc_ApplicationHealthErrors_output, - cc_ApplicationHealthInstances_output, - cc_ApplicationHealth_output, - cc_Command_output, - cc_DeploymentObservability_output, - cc_Entrypoint_output, - cc_EnvironmentVariableName_output, - cc_EnvironmentVariableValue_output, - cc_EnvironmentVariable_output, - cc_EventName_output, - cc_EventType_output, - cc_ExecFormParam_output, - cc_InstanceID_output, - cc_InstanceType_output, - cc_ModifyUserDeploymentConfiguration_output, - cc_ObservabilityLogs_output, - cc_PlacementEvent_output, - cc_RolloutID_output, - cc_SSHPublicKey_output, - cc_UserSSHPublicKey_output, -} from "../outputs.js"; -import { - cc_ApplicationID, + cc_ApplicationHealth, + cc_ApplicationHealthError, + cc_ApplicationHealthErrors, + cc_ApplicationHealthInstances, cc_Command, cc_DeploymentObservability, cc_Entrypoint, cc_EnvironmentVariable, cc_EnvironmentVariableName, cc_EnvironmentVariableValue, + cc_EventName, + cc_EventType, cc_ExecFormParam, + cc_InstanceID, cc_InstanceType, cc_ModifyUserDeploymentConfiguration, cc_ObservabilityLogs, + cc_PlacementEvent, + cc_RolloutID, cc_SSHPublicKey, cc_UserSSHPublicKey, +} from "../outputs.js"; +import { + cc_ApplicationID, + cc_Command as cc_Command$, + cc_DeploymentObservability as cc_DeploymentObservability$, + cc_Entrypoint as cc_Entrypoint$, + cc_EnvironmentVariable as cc_EnvironmentVariable$, + cc_EnvironmentVariableName as cc_EnvironmentVariableName$, + cc_EnvironmentVariableValue as cc_EnvironmentVariableValue$, + cc_ExecFormParam as cc_ExecFormParam$, + cc_InstanceType as cc_InstanceType$, + cc_ModifyUserDeploymentConfiguration as cc_ModifyUserDeploymentConfiguration$, + cc_ObservabilityLogs as cc_ObservabilityLogs$, + cc_SSHPublicKey as cc_SSHPublicKey$, + cc_UserSSHPublicKey as cc_UserSSHPublicKey$, } from "../schemas.js"; import { - cc_ApplicationRolloutProgress_output, - cc_ApplicationRollout_output, - cc_RolloutStep_output, + cc_ApplicationRollout, + cc_ApplicationRolloutProgress, + cc_RolloutStep, } from "./outputs.js"; import { cc_ContainersCreateApplicationRolloutRequest, @@ -69,40 +69,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." - }, "body": { "$ref": "#/$defs/cc_ContainersCreateApplicationRolloutRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "application_id": { + "$ref": "#/$defs/cc_ApplicationID", + "description": "An Application ID represents an identifier of an application." + } + }, + "required": [ + "account_id", + "application_id" + ], + "type": "object" } }, required: [ - "account_id", - "application_id", + "path", "body" ], $defs: { "cc_ApplicationID": cc_ApplicationID, - "cc_Command": cc_Command, + "cc_Command": cc_Command$, "cc_ContainersCreateApplicationRolloutRequest": cc_ContainersCreateApplicationRolloutRequest, - "cc_DeploymentObservability": cc_DeploymentObservability, - "cc_Entrypoint": cc_Entrypoint, - "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_Image": cc_Image, - "cc_InstanceType": cc_InstanceType, - "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration, - "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_DeploymentObservability": cc_DeploymentObservability$, + "cc_Entrypoint": cc_Entrypoint$, + "cc_EnvironmentVariable": cc_EnvironmentVariable$, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName$, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue$, + "cc_ExecFormParam": cc_ExecFormParam$, + "cc_Image": cc_Image$, + "cc_InstanceType": cc_InstanceType$, + "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration$, + "cc_ObservabilityLogs": cc_ObservabilityLogs$, "cc_RolloutStepRequest": cc_RolloutStepRequest, - "cc_SSHPublicKey": cc_SSHPublicKey, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_SSHPublicKey": cc_SSHPublicKey$, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey$, }, }, outputSchema: { @@ -123,34 +131,34 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationRollout": cc_ApplicationRollout_output, - "cc_ApplicationRolloutProgress": cc_ApplicationRolloutProgress_output, - "cc_Command": cc_Command_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_RolloutStep": cc_RolloutStep_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationRollout": cc_ApplicationRollout, + "cc_ApplicationRolloutProgress": cc_ApplicationRolloutProgress, + "cc_Command": cc_Command, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_RolloutID": cc_RolloutID, + "cc_RolloutStep": cc_RolloutStep, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, annotations: { @@ -199,35 +207,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationRollout": cc_ApplicationRollout_output, - "cc_ApplicationRolloutProgress": cc_ApplicationRolloutProgress_output, - "cc_Command": cc_Command_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_RolloutStep": cc_RolloutStep_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationRollout": cc_ApplicationRollout, + "cc_ApplicationRolloutProgress": cc_ApplicationRolloutProgress, + "cc_Command": cc_Command, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_RolloutID": cc_RolloutID, + "cc_RolloutStep": cc_RolloutStep, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/containers/applications/tools.ts b/src/generated/forge-mcp/containers/applications/tools.ts index 4a53c8d92..35bdf468c 100644 --- a/src/generated/forge-mcp/containers/applications/tools.ts +++ b/src/generated/forge-mcp/containers/applications/tools.ts @@ -1,97 +1,97 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - cc_AccountID_output, - cc_ISO8601Timestamp_output, - cc_Image_output, - cc_Messages_output, - cc_V4BaseErrorResponse_output, - cc_V4BaseResponse_output, + cc_AccountID, + cc_ISO8601Timestamp, + cc_Image, + cc_Messages, + cc_V4BaseErrorResponse, + cc_V4BaseResponse, } from "../outputs.js"; -import { cc_Image } from "../schemas.js"; -import { - cc_ApplicationConstraints_output, - cc_ApplicationDurableObjectsConfiguration_output, - cc_ApplicationHealthError_output, - cc_ApplicationHealthErrors_output, - cc_ApplicationHealthInstances_output, - cc_ApplicationHealth_output, - cc_ApplicationID_output, - cc_ApplicationJurisdiction_output, - cc_ApplicationName_output, - cc_ApplicationObservability_output, - cc_ApplicationRolloutActiveGracePeriod_output, - cc_Application_output, - cc_Command_output, - cc_ContainersApplicationResponse_output, - cc_ContainersDeleteApplicationResponseBody_output, - cc_ContainersListApplications_output, - cc_DeploymentObservability_output, - cc_DurableObjectApplicationConfiguration_output, - cc_DurableObjectApplicationConstraints_output, - cc_DurableObjectApplicationHealth_output, - cc_DurableObjectApplicationObservability_output, - cc_DurableObjectApplicationSchedulingPolicy_output, - cc_DurableObjectApplication_output, - cc_DurableObjectsConfigurationNamespaceId_output, - cc_Entrypoint_output, - cc_EnvironmentVariableName_output, - cc_EnvironmentVariableValue_output, - cc_EnvironmentVariable_output, - cc_EventName_output, - cc_EventType_output, - cc_ExecFormParam_output, - cc_InstanceID_output, - cc_InstanceType_output, - cc_ObservabilityLogs_output, - cc_PlacementEvent_output, - cc_Region_output, - cc_RolloutID_output, - cc_SSHPublicKey_output, - cc_ScheduledApplicationSchedulingPolicy_output, - cc_ScheduledApplication_output, - cc_SchedulingPolicy_output, - cc_UserDeploymentConfiguration_output, - cc_UserSSHPublicKey_output, - cc_V4PaginatedResultInfo_output, - cc_WranglerSSHConfig_output, -} from "./outputs.js"; +import { cc_Image as cc_Image$ } from "../schemas.js"; import { + cc_Application, cc_ApplicationConstraints, + cc_ApplicationDurableObjectsConfiguration, + cc_ApplicationHealth, + cc_ApplicationHealthError, + cc_ApplicationHealthErrors, + cc_ApplicationHealthInstances, cc_ApplicationID, cc_ApplicationJurisdiction, cc_ApplicationName, cc_ApplicationObservability, cc_ApplicationRolloutActiveGracePeriod, cc_Command, - cc_ContainersCreateApplicationRequest, - cc_ContainersCreateDurableObjectApplicationRequest, - cc_ContainersCreateScheduledApplicationRequest, - cc_ContainersModifyApplicationConfiguration, - cc_ContainersModifyApplicationRequestBody, + cc_ContainersApplicationResponse, + cc_ContainersDeleteApplicationResponseBody, + cc_ContainersListApplications, cc_DeploymentObservability, + cc_DurableObjectApplication, cc_DurableObjectApplicationConfiguration, cc_DurableObjectApplicationConstraints, + cc_DurableObjectApplicationHealth, cc_DurableObjectApplicationObservability, cc_DurableObjectApplicationSchedulingPolicy, - cc_DurableObjectsConfiguration, cc_DurableObjectsConfigurationNamespaceId, - cc_DurableObjectsConfigurationScriptAndClass, cc_Entrypoint, cc_EnvironmentVariable, cc_EnvironmentVariableName, cc_EnvironmentVariableValue, + cc_EventName, + cc_EventType, cc_ExecFormParam, + cc_InstanceID, cc_InstanceType, cc_ObservabilityLogs, + cc_PlacementEvent, cc_Region, + cc_RolloutID, cc_SSHPublicKey, + cc_ScheduledApplication, cc_ScheduledApplicationSchedulingPolicy, + cc_SchedulingPolicy, cc_UserDeploymentConfiguration, cc_UserSSHPublicKey, + cc_V4PaginatedResultInfo, cc_WranglerSSHConfig, +} from "./outputs.js"; +import { + cc_ApplicationConstraints as cc_ApplicationConstraints$, + cc_ApplicationID as cc_ApplicationID$, + cc_ApplicationJurisdiction as cc_ApplicationJurisdiction$, + cc_ApplicationName as cc_ApplicationName$, + cc_ApplicationObservability as cc_ApplicationObservability$, + cc_ApplicationRolloutActiveGracePeriod as cc_ApplicationRolloutActiveGracePeriod$, + cc_Command as cc_Command$, + cc_ContainersCreateApplicationRequest, + cc_ContainersCreateDurableObjectApplicationRequest, + cc_ContainersCreateScheduledApplicationRequest, + cc_ContainersModifyApplicationConfiguration, + cc_ContainersModifyApplicationRequestBody, + cc_DeploymentObservability as cc_DeploymentObservability$, + cc_DurableObjectApplicationConfiguration as cc_DurableObjectApplicationConfiguration$, + cc_DurableObjectApplicationConstraints as cc_DurableObjectApplicationConstraints$, + cc_DurableObjectApplicationObservability as cc_DurableObjectApplicationObservability$, + cc_DurableObjectApplicationSchedulingPolicy as cc_DurableObjectApplicationSchedulingPolicy$, + cc_DurableObjectsConfiguration, + cc_DurableObjectsConfigurationNamespaceId as cc_DurableObjectsConfigurationNamespaceId$, + cc_DurableObjectsConfigurationScriptAndClass, + cc_Entrypoint as cc_Entrypoint$, + cc_EnvironmentVariable as cc_EnvironmentVariable$, + cc_EnvironmentVariableName as cc_EnvironmentVariableName$, + cc_EnvironmentVariableValue as cc_EnvironmentVariableValue$, + cc_ExecFormParam as cc_ExecFormParam$, + cc_InstanceType as cc_InstanceType$, + cc_ObservabilityLogs as cc_ObservabilityLogs$, + cc_Region as cc_Region$, + cc_SSHPublicKey as cc_SSHPublicKey$, + cc_ScheduledApplicationSchedulingPolicy as cc_ScheduledApplicationSchedulingPolicy$, + cc_UserDeploymentConfiguration as cc_UserDeploymentConfiguration$, + cc_UserSSHPublicKey as cc_UserSSHPublicKey$, + cc_WranglerSSHConfig as cc_WranglerSSHConfig$, } from "./schemas.js"; /** @@ -105,49 +105,57 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/cc_ContainersCreateApplicationRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "cc_ApplicationConstraints": cc_ApplicationConstraints, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, - "cc_Command": cc_Command, + "cc_ApplicationConstraints": cc_ApplicationConstraints$, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction$, + "cc_ApplicationObservability": cc_ApplicationObservability$, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod$, + "cc_Command": cc_Command$, "cc_ContainersCreateApplicationRequest": cc_ContainersCreateApplicationRequest, "cc_ContainersCreateDurableObjectApplicationRequest": cc_ContainersCreateDurableObjectApplicationRequest, "cc_ContainersCreateScheduledApplicationRequest": cc_ContainersCreateScheduledApplicationRequest, - "cc_DeploymentObservability": cc_DeploymentObservability, - "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration, - "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, - "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, + "cc_DeploymentObservability": cc_DeploymentObservability$, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration$, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints$, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability$, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy$, "cc_DurableObjectsConfiguration": cc_DurableObjectsConfiguration, - "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId$, "cc_DurableObjectsConfigurationScriptAndClass": cc_DurableObjectsConfigurationScriptAndClass, - "cc_Entrypoint": cc_Entrypoint, - "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_Image": cc_Image, - "cc_InstanceType": cc_InstanceType, - "cc_ObservabilityLogs": cc_ObservabilityLogs, - "cc_Region": cc_Region, - "cc_SSHPublicKey": cc_SSHPublicKey, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, - "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig, + "cc_Entrypoint": cc_Entrypoint$, + "cc_EnvironmentVariable": cc_EnvironmentVariable$, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName$, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue$, + "cc_ExecFormParam": cc_ExecFormParam$, + "cc_Image": cc_Image$, + "cc_InstanceType": cc_InstanceType$, + "cc_ObservabilityLogs": cc_ObservabilityLogs$, + "cc_Region": cc_Region$, + "cc_SSHPublicKey": cc_SSHPublicKey$, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy$, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration$, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey$, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig$, }, }, outputSchema: { @@ -168,53 +176,53 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_Application": cc_Application_output, - "cc_ApplicationConstraints": cc_ApplicationConstraints_output, - "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, - "cc_ApplicationName": cc_ApplicationName_output, - "cc_ApplicationObservability": cc_ApplicationObservability_output, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, - "cc_Command": cc_Command_output, - "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_DurableObjectApplication": cc_DurableObjectApplication_output, - "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, - "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, - "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, - "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, - "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_Region": cc_Region_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_ScheduledApplication": cc_ScheduledApplication_output, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, - "cc_SchedulingPolicy": cc_SchedulingPolicy_output, - "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + "cc_AccountID": cc_AccountID, + "cc_Application": cc_Application, + "cc_ApplicationConstraints": cc_ApplicationConstraints, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, + "cc_ApplicationName": cc_ApplicationName, + "cc_ApplicationObservability": cc_ApplicationObservability, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, + "cc_Command": cc_Command, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_DurableObjectApplication": cc_DurableObjectApplication, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_Region": cc_Region, + "cc_RolloutID": cc_RolloutID, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_ScheduledApplication": cc_ScheduledApplication, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, + "cc_SchedulingPolicy": cc_SchedulingPolicy, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig, }, }, annotations: { @@ -260,54 +268,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_Application": cc_Application_output, - "cc_ApplicationConstraints": cc_ApplicationConstraints_output, - "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, - "cc_ApplicationName": cc_ApplicationName_output, - "cc_ApplicationObservability": cc_ApplicationObservability_output, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, - "cc_Command": cc_Command_output, - "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_DurableObjectApplication": cc_DurableObjectApplication_output, - "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, - "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, - "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, - "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, - "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_Region": cc_Region_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_ScheduledApplication": cc_ScheduledApplication_output, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, - "cc_SchedulingPolicy": cc_SchedulingPolicy_output, - "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + "cc_AccountID": cc_AccountID, + "cc_Application": cc_Application, + "cc_ApplicationConstraints": cc_ApplicationConstraints, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, + "cc_ApplicationName": cc_ApplicationName, + "cc_ApplicationObservability": cc_ApplicationObservability, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, + "cc_Command": cc_Command, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_DurableObjectApplication": cc_DurableObjectApplication, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_Region": cc_Region, + "cc_RolloutID": cc_RolloutID, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_ScheduledApplication": cc_ScheduledApplication, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, + "cc_SchedulingPolicy": cc_SchedulingPolicy, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig, }, }, request: (args) => ({ @@ -322,21 +330,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "application_id": { + "$ref": "#/$defs/cc_ApplicationID", + "description": "An Application ID represents an identifier of an application." + } + }, + "required": [ + "account_id", + "application_id" + ], + "type": "object" } }, required: [ - "account_id", - "application_id" + "path" ], $defs: { - "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationID": cc_ApplicationID$, }, }, outputSchema: { @@ -357,9 +373,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_ContainersDeleteApplicationResponseBody": cc_ContainersDeleteApplicationResponseBody_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ContainersDeleteApplicationResponseBody": cc_ContainersDeleteApplicationResponseBody, + "cc_Messages": cc_Messages, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, annotations: { @@ -407,10 +423,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_ContainersDeleteApplicationResponseBody": cc_ContainersDeleteApplicationResponseBody_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ContainersDeleteApplicationResponseBody": cc_ContainersDeleteApplicationResponseBody, + "cc_Messages": cc_Messages, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, request: (args) => ({ @@ -424,36 +440,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." - }, "body": { "$ref": "#/$defs/cc_ContainersModifyApplicationRequestBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "application_id": { + "$ref": "#/$defs/cc_ApplicationID", + "description": "An Application ID represents an identifier of an application." + } + }, + "required": [ + "account_id", + "application_id" + ], + "type": "object" } }, required: [ - "account_id", - "application_id", + "path", "body" ], $defs: { - "cc_ApplicationConstraints": cc_ApplicationConstraints, - "cc_ApplicationID": cc_ApplicationID, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, + "cc_ApplicationConstraints": cc_ApplicationConstraints$, + "cc_ApplicationID": cc_ApplicationID$, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction$, + "cc_ApplicationObservability": cc_ApplicationObservability$, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod$, "cc_ContainersModifyApplicationConfiguration": cc_ContainersModifyApplicationConfiguration, "cc_ContainersModifyApplicationRequestBody": cc_ContainersModifyApplicationRequestBody, - "cc_ObservabilityLogs": cc_ObservabilityLogs, - "cc_Region": cc_Region, - "cc_SSHPublicKey": cc_SSHPublicKey, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig, + "cc_ObservabilityLogs": cc_ObservabilityLogs$, + "cc_Region": cc_Region$, + "cc_SSHPublicKey": cc_SSHPublicKey$, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey$, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig$, }, }, outputSchema: { @@ -474,53 +498,53 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_Application": cc_Application_output, - "cc_ApplicationConstraints": cc_ApplicationConstraints_output, - "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, - "cc_ApplicationName": cc_ApplicationName_output, - "cc_ApplicationObservability": cc_ApplicationObservability_output, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, - "cc_Command": cc_Command_output, - "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_DurableObjectApplication": cc_DurableObjectApplication_output, - "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, - "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, - "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, - "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, - "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_Region": cc_Region_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_ScheduledApplication": cc_ScheduledApplication_output, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, - "cc_SchedulingPolicy": cc_SchedulingPolicy_output, - "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + "cc_AccountID": cc_AccountID, + "cc_Application": cc_Application, + "cc_ApplicationConstraints": cc_ApplicationConstraints, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, + "cc_ApplicationName": cc_ApplicationName, + "cc_ApplicationObservability": cc_ApplicationObservability, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, + "cc_Command": cc_Command, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_DurableObjectApplication": cc_DurableObjectApplication, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_Region": cc_Region, + "cc_RolloutID": cc_RolloutID, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_ScheduledApplication": cc_ScheduledApplication, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, + "cc_SchedulingPolicy": cc_SchedulingPolicy, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig, }, }, annotations: { @@ -574,54 +598,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_Application": cc_Application_output, - "cc_ApplicationConstraints": cc_ApplicationConstraints_output, - "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, - "cc_ApplicationName": cc_ApplicationName_output, - "cc_ApplicationObservability": cc_ApplicationObservability_output, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, - "cc_Command": cc_Command_output, - "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_DurableObjectApplication": cc_DurableObjectApplication_output, - "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, - "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, - "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, - "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, - "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_Region": cc_Region_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_ScheduledApplication": cc_ScheduledApplication_output, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, - "cc_SchedulingPolicy": cc_SchedulingPolicy_output, - "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + "cc_AccountID": cc_AccountID, + "cc_Application": cc_Application, + "cc_ApplicationConstraints": cc_ApplicationConstraints, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, + "cc_ApplicationName": cc_ApplicationName, + "cc_ApplicationObservability": cc_ApplicationObservability, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, + "cc_Command": cc_Command, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_DurableObjectApplication": cc_DurableObjectApplication, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_Region": cc_Region, + "cc_RolloutID": cc_RolloutID, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_ScheduledApplication": cc_ScheduledApplication, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, + "cc_SchedulingPolicy": cc_SchedulingPolicy, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig, }, }, request: (args) => ({ @@ -636,21 +660,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "application_id": { + "$ref": "#/$defs/cc_ApplicationID", + "description": "An Application ID represents an identifier of an application." + } + }, + "required": [ + "account_id", + "application_id" + ], + "type": "object" } }, required: [ - "account_id", - "application_id" + "path" ], $defs: { - "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationID": cc_ApplicationID$, }, }, outputSchema: { @@ -671,53 +703,53 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_Application": cc_Application_output, - "cc_ApplicationConstraints": cc_ApplicationConstraints_output, - "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, - "cc_ApplicationName": cc_ApplicationName_output, - "cc_ApplicationObservability": cc_ApplicationObservability_output, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, - "cc_Command": cc_Command_output, - "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_DurableObjectApplication": cc_DurableObjectApplication_output, - "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, - "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, - "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, - "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, - "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_Region": cc_Region_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_ScheduledApplication": cc_ScheduledApplication_output, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, - "cc_SchedulingPolicy": cc_SchedulingPolicy_output, - "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + "cc_AccountID": cc_AccountID, + "cc_Application": cc_Application, + "cc_ApplicationConstraints": cc_ApplicationConstraints, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, + "cc_ApplicationName": cc_ApplicationName, + "cc_ApplicationObservability": cc_ApplicationObservability, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, + "cc_Command": cc_Command, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_DurableObjectApplication": cc_DurableObjectApplication, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_Region": cc_Region, + "cc_RolloutID": cc_RolloutID, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_ScheduledApplication": cc_ScheduledApplication, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, + "cc_SchedulingPolicy": cc_SchedulingPolicy, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig, }, }, annotations: { @@ -766,54 +798,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_Application": cc_Application_output, - "cc_ApplicationConstraints": cc_ApplicationConstraints_output, - "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, - "cc_ApplicationName": cc_ApplicationName_output, - "cc_ApplicationObservability": cc_ApplicationObservability_output, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, - "cc_Command": cc_Command_output, - "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_DurableObjectApplication": cc_DurableObjectApplication_output, - "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, - "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, - "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, - "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, - "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_Region": cc_Region_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_ScheduledApplication": cc_ScheduledApplication_output, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, - "cc_SchedulingPolicy": cc_SchedulingPolicy_output, - "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + "cc_AccountID": cc_AccountID, + "cc_Application": cc_Application, + "cc_ApplicationConstraints": cc_ApplicationConstraints, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, + "cc_ApplicationName": cc_ApplicationName, + "cc_ApplicationObservability": cc_ApplicationObservability, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, + "cc_Command": cc_Command, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_DurableObjectApplication": cc_DurableObjectApplication, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_Region": cc_Region, + "cc_RolloutID": cc_RolloutID, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_ScheduledApplication": cc_ScheduledApplication, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, + "cc_SchedulingPolicy": cc_SchedulingPolicy, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig, }, }, request: (args) => ({ @@ -827,33 +859,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "image": { - "$ref": "#/$defs/cc_Image", - "description": "Filter applications by image." - }, - "name": { - "$ref": "#/$defs/cc_ApplicationName", - "description": "Filter applications by name." - }, - "page_token": { - "description": "Opaque token from a previous response to retrieve the next page.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "description": "Maximum number of applications to return per page. Defaults to all, or 100 when `page_token` is set.", - "type": "integer" + "query": { + "properties": { + "image": { + "$ref": "#/$defs/cc_Image", + "description": "Filter applications by image." + }, + "name": { + "$ref": "#/$defs/cc_ApplicationName", + "description": "Filter applications by name." + }, + "page_token": { + "description": "Opaque token from a previous response to retrieve the next page.", + "type": "string" + }, + "per_page": { + "description": "Maximum number of applications to return per page. Defaults to all, or 100 when `page_token` is set.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cc_ApplicationName": cc_ApplicationName, - "cc_Image": cc_Image, + "cc_ApplicationName": cc_ApplicationName$, + "cc_Image": cc_Image$, }, }, outputSchema: { @@ -878,55 +923,55 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_Application": cc_Application_output, - "cc_ApplicationConstraints": cc_ApplicationConstraints_output, - "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, - "cc_ApplicationName": cc_ApplicationName_output, - "cc_ApplicationObservability": cc_ApplicationObservability_output, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, - "cc_Command": cc_Command_output, - "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, - "cc_ContainersListApplications": cc_ContainersListApplications_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_DurableObjectApplication": cc_DurableObjectApplication_output, - "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, - "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, - "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, - "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, - "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_Region": cc_Region_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_ScheduledApplication": cc_ScheduledApplication_output, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, - "cc_SchedulingPolicy": cc_SchedulingPolicy_output, - "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo_output, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + "cc_AccountID": cc_AccountID, + "cc_Application": cc_Application, + "cc_ApplicationConstraints": cc_ApplicationConstraints, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, + "cc_ApplicationName": cc_ApplicationName, + "cc_ApplicationObservability": cc_ApplicationObservability, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, + "cc_Command": cc_Command, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, + "cc_ContainersListApplications": cc_ContainersListApplications, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_DurableObjectApplication": cc_DurableObjectApplication, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_Region": cc_Region, + "cc_RolloutID": cc_RolloutID, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_ScheduledApplication": cc_ScheduledApplication, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, + "cc_SchedulingPolicy": cc_SchedulingPolicy, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig, }, }, annotations: { @@ -980,65 +1025,65 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_Application": cc_Application_output, - "cc_ApplicationConstraints": cc_ApplicationConstraints_output, - "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration_output, - "cc_ApplicationHealth": cc_ApplicationHealth_output, - "cc_ApplicationHealthError": cc_ApplicationHealthError_output, - "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors_output, - "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances_output, - "cc_ApplicationID": cc_ApplicationID_output, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction_output, - "cc_ApplicationName": cc_ApplicationName_output, - "cc_ApplicationObservability": cc_ApplicationObservability_output, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod_output, - "cc_Command": cc_Command_output, - "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse_output, - "cc_ContainersListApplications": cc_ContainersListApplications_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_DurableObjectApplication": cc_DurableObjectApplication_output, - "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration_output, - "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints_output, - "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth_output, - "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability_output, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy_output, - "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_EventName": cc_EventName_output, - "cc_EventType": cc_EventType_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Image": cc_Image_output, - "cc_InstanceID": cc_InstanceID_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_PlacementEvent": cc_PlacementEvent_output, - "cc_Region": cc_Region_output, - "cc_RolloutID": cc_RolloutID_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_ScheduledApplication": cc_ScheduledApplication_output, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy_output, - "cc_SchedulingPolicy": cc_SchedulingPolicy_output, - "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, - "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo_output, - "cc_WranglerSSHConfig": cc_WranglerSSHConfig_output, + "cc_AccountID": cc_AccountID, + "cc_Application": cc_Application, + "cc_ApplicationConstraints": cc_ApplicationConstraints, + "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, + "cc_ApplicationHealth": cc_ApplicationHealth, + "cc_ApplicationHealthError": cc_ApplicationHealthError, + "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, + "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, + "cc_ApplicationID": cc_ApplicationID, + "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, + "cc_ApplicationName": cc_ApplicationName, + "cc_ApplicationObservability": cc_ApplicationObservability, + "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, + "cc_Command": cc_Command, + "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, + "cc_ContainersListApplications": cc_ContainersListApplications, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_DurableObjectApplication": cc_DurableObjectApplication, + "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration, + "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, + "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, + "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, + "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, + "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_EventName": cc_EventName, + "cc_EventType": cc_EventType, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Image": cc_Image, + "cc_InstanceID": cc_InstanceID, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_PlacementEvent": cc_PlacementEvent, + "cc_Region": cc_Region, + "cc_RolloutID": cc_RolloutID, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_ScheduledApplication": cc_ScheduledApplication, + "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, + "cc_SchedulingPolicy": cc_SchedulingPolicy, + "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, + "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo, + "cc_WranglerSSHConfig": cc_WranglerSSHConfig, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/containers/applications`, query: [ - ["per_page", args["per_page"], true], - ["page_token", args["page_token"], true], - ["name", args["name"], true], - ["image", args["image"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page_token", param(args, "query", "page_token"), true], + ["name", param(args, "query", "name"), true], + ["image", param(args, "query", "image"), true], ], }), }, diff --git a/src/generated/forge-mcp/containers/applications/versions/outputs.ts b/src/generated/forge-mcp/containers/applications/versions/outputs.ts index 8b1887014..0c43fa458 100644 --- a/src/generated/forge-mcp/containers/applications/versions/outputs.ts +++ b/src/generated/forge-mcp/containers/applications/versions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cc_ApplicationVersion` in responses. */ -export const cc_ApplicationVersion_output: JsonSchema = { +export const cc_ApplicationVersion: JsonSchema = { "properties": { "configuration": { "$ref": "#/$defs/cc_ModifyUserDeploymentConfiguration" diff --git a/src/generated/forge-mcp/containers/applications/versions/tools.ts b/src/generated/forge-mcp/containers/applications/versions/tools.ts index ef696a35e..19b27b084 100644 --- a/src/generated/forge-mcp/containers/applications/versions/tools.ts +++ b/src/generated/forge-mcp/containers/applications/versions/tools.ts @@ -3,27 +3,27 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cc_Image_output, - cc_Messages_output, - cc_V4BaseErrorResponse_output, - cc_V4BaseResponse_output, + cc_Image, + cc_Messages, + cc_V4BaseErrorResponse, + cc_V4BaseResponse, } from "../../outputs.js"; import { - cc_Command_output, - cc_DeploymentObservability_output, - cc_Entrypoint_output, - cc_EnvironmentVariableName_output, - cc_EnvironmentVariableValue_output, - cc_EnvironmentVariable_output, - cc_ExecFormParam_output, - cc_InstanceType_output, - cc_ModifyUserDeploymentConfiguration_output, - cc_ObservabilityLogs_output, - cc_SSHPublicKey_output, - cc_UserSSHPublicKey_output, + cc_Command, + cc_DeploymentObservability, + cc_Entrypoint, + cc_EnvironmentVariable, + cc_EnvironmentVariableName, + cc_EnvironmentVariableValue, + cc_ExecFormParam, + cc_InstanceType, + cc_ModifyUserDeploymentConfiguration, + cc_ObservabilityLogs, + cc_SSHPublicKey, + cc_UserSSHPublicKey, } from "../outputs.js"; import { cc_ApplicationID } from "../schemas.js"; -import { cc_ApplicationVersion_output } from "./outputs.js"; +import { cc_ApplicationVersion } from "./outputs.js"; /** * The tools of `containers.applications.versions`. @@ -36,18 +36,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "application_id": { + "$ref": "#/$defs/cc_ApplicationID", + "description": "An Application ID represents an identifier of an application." + } + }, + "required": [ + "account_id", + "application_id" + ], + "type": "object" } }, required: [ - "account_id", - "application_id" + "path" ], $defs: { "cc_ApplicationID": cc_ApplicationID, @@ -74,22 +82,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_ApplicationVersion": cc_ApplicationVersion_output, - "cc_Command": cc_Command_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_Image": cc_Image_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ApplicationVersion": cc_ApplicationVersion, + "cc_Command": cc_Command, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_Image": cc_Image, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, annotations: { @@ -141,23 +149,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_ApplicationVersion": cc_ApplicationVersion_output, - "cc_Command": cc_Command_output, - "cc_DeploymentObservability": cc_DeploymentObservability_output, - "cc_Entrypoint": cc_Entrypoint_output, - "cc_EnvironmentVariable": cc_EnvironmentVariable_output, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName_output, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue_output, - "cc_ExecFormParam": cc_ExecFormParam_output, - "cc_Image": cc_Image_output, - "cc_InstanceType": cc_InstanceType_output, - "cc_Messages": cc_Messages_output, - "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration_output, - "cc_ObservabilityLogs": cc_ObservabilityLogs_output, - "cc_SSHPublicKey": cc_SSHPublicKey_output, - "cc_UserSSHPublicKey": cc_UserSSHPublicKey_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ApplicationVersion": cc_ApplicationVersion, + "cc_Command": cc_Command, + "cc_DeploymentObservability": cc_DeploymentObservability, + "cc_Entrypoint": cc_Entrypoint, + "cc_EnvironmentVariable": cc_EnvironmentVariable, + "cc_EnvironmentVariableName": cc_EnvironmentVariableName, + "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, + "cc_ExecFormParam": cc_ExecFormParam, + "cc_Image": cc_Image, + "cc_InstanceType": cc_InstanceType, + "cc_Messages": cc_Messages, + "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration, + "cc_ObservabilityLogs": cc_ObservabilityLogs, + "cc_SSHPublicKey": cc_SSHPublicKey, + "cc_UserSSHPublicKey": cc_UserSSHPublicKey, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/containers/images/outputs.ts b/src/generated/forge-mcp/containers/images/outputs.ts index 84aee58e9..64d9f6b41 100644 --- a/src/generated/forge-mcp/containers/images/outputs.ts +++ b/src/generated/forge-mcp/containers/images/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cc_ContainerImagePreparation` in responses. */ -export const cc_ContainerImagePreparation_output: JsonSchema = { +export const cc_ContainerImagePreparation: JsonSchema = { "properties": { "artifact_digest": { "type": "string" @@ -31,7 +31,7 @@ export const cc_ContainerImagePreparation_output: JsonSchema = { /** * The schema of `cc_ContainerImagePreparationStatus` in responses. */ -export const cc_ContainerImagePreparationStatus_output: JsonSchema = { +export const cc_ContainerImagePreparationStatus: JsonSchema = { "enum": [ "pending", "ready", diff --git a/src/generated/forge-mcp/containers/images/tools.ts b/src/generated/forge-mcp/containers/images/tools.ts index d5b216924..cbffc31ed 100644 --- a/src/generated/forge-mcp/containers/images/tools.ts +++ b/src/generated/forge-mcp/containers/images/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cc_Image_output, - cc_Messages_output, - cc_V4BaseErrorResponse_output, - cc_V4BaseResponse_output, + cc_Image, + cc_Messages, + cc_V4BaseErrorResponse, + cc_V4BaseResponse, } from "../outputs.js"; -import { cc_Image } from "../schemas.js"; +import { cc_Image as cc_Image$ } from "../schemas.js"; import { - cc_ContainerImagePreparationStatus_output, - cc_ContainerImagePreparation_output, + cc_ContainerImagePreparation, + cc_ContainerImagePreparationStatus, } from "./outputs.js"; import { cc_PrepareContainerImageRequestBody } from "./schemas.js"; @@ -26,20 +26,28 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/cc_PrepareContainerImageRequestBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "cc_Image": cc_Image, + "cc_Image": cc_Image$, "cc_PrepareContainerImageRequestBody": cc_PrepareContainerImageRequestBody, }, }, @@ -61,11 +69,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_ContainerImagePreparation": cc_ContainerImagePreparation_output, - "cc_ContainerImagePreparationStatus": cc_ContainerImagePreparationStatus_output, - "cc_Image": cc_Image_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ContainerImagePreparation": cc_ContainerImagePreparation, + "cc_ContainerImagePreparationStatus": cc_ContainerImagePreparationStatus, + "cc_Image": cc_Image, + "cc_Messages": cc_Messages, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, annotations: { @@ -129,12 +137,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_ContainerImagePreparation": cc_ContainerImagePreparation_output, - "cc_ContainerImagePreparationStatus": cc_ContainerImagePreparationStatus_output, - "cc_Image": cc_Image_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ContainerImagePreparation": cc_ContainerImagePreparation, + "cc_ContainerImagePreparationStatus": cc_ContainerImagePreparationStatus, + "cc_Image": cc_Image, + "cc_Messages": cc_Messages, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/containers/outputs.ts b/src/generated/forge-mcp/containers/outputs.ts index a6b524c17..c89a6667e 100644 --- a/src/generated/forge-mcp/containers/outputs.ts +++ b/src/generated/forge-mcp/containers/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `cc_AccountID` in responses. */ -export const cc_AccountID_output: JsonSchema = { +export const cc_AccountID: JsonSchema = { "type": "string" }; /** * The schema of `cc_ISO8601Timestamp` in responses. */ -export const cc_ISO8601Timestamp_output: JsonSchema = { +export const cc_ISO8601Timestamp: JsonSchema = { "type": "string" }; /** * The schema of `cc_Image` in responses. */ -export const cc_Image_output: JsonSchema = { +export const cc_Image: JsonSchema = { "type": "string" }; /** * The schema of `cc_Messages` in responses. */ -export const cc_Messages_output: JsonSchema = { +export const cc_Messages: JsonSchema = { "items": { "properties": { "code": { @@ -60,7 +60,7 @@ export const cc_Messages_output: JsonSchema = { /** * The schema of `cc_V4BaseErrorResponse` in responses. */ -export const cc_V4BaseErrorResponse_output: JsonSchema = { +export const cc_V4BaseErrorResponse: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cc_Messages" @@ -87,7 +87,7 @@ export const cc_V4BaseErrorResponse_output: JsonSchema = { /** * The schema of `cc_V4BaseResponse` in responses. */ -export const cc_V4BaseResponse_output: JsonSchema = { +export const cc_V4BaseResponse: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cc_Messages" diff --git a/src/generated/forge-mcp/containers/registries/credentials/outputs.ts b/src/generated/forge-mcp/containers/registries/credentials/outputs.ts index a7b9c1178..1668c35e9 100644 --- a/src/generated/forge-mcp/containers/registries/credentials/outputs.ts +++ b/src/generated/forge-mcp/containers/registries/credentials/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cc_ContainersAccountRegistryToken` in responses. */ -export const cc_ContainersAccountRegistryToken_output: JsonSchema = { +export const cc_ContainersAccountRegistryToken: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/cc_AccountID" diff --git a/src/generated/forge-mcp/containers/registries/credentials/tools.ts b/src/generated/forge-mcp/containers/registries/credentials/tools.ts index df4194383..3309a1b78 100644 --- a/src/generated/forge-mcp/containers/registries/credentials/tools.ts +++ b/src/generated/forge-mcp/containers/registries/credentials/tools.ts @@ -3,12 +3,12 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cc_AccountID_output, - cc_Messages_output, - cc_V4BaseErrorResponse_output, - cc_V4BaseResponse_output, + cc_AccountID, + cc_Messages, + cc_V4BaseErrorResponse, + cc_V4BaseResponse, } from "../../outputs.js"; -import { cc_ContainersAccountRegistryToken_output } from "./outputs.js"; +import { cc_ContainersAccountRegistryToken } from "./outputs.js"; import { cc_ImageRegistryCredentialsConfiguration, cc_ImageRegistryPermissions, @@ -25,21 +25,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/cc_ImageRegistryCredentialsConfiguration" }, - "domain": { - "description": "The domain to get credentials for.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "domain": { + "description": "The domain to get credentials for.", + "type": "string" + } + }, + "required": [ + "account_id", + "domain" + ], + "type": "object" } }, required: [ - "account_id", - "domain", + "path", "body" ], $defs: { @@ -65,10 +73,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_ContainersAccountRegistryToken": cc_ContainersAccountRegistryToken_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_AccountID": cc_AccountID, + "cc_ContainersAccountRegistryToken": cc_ContainersAccountRegistryToken, + "cc_Messages": cc_Messages, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, annotations: { @@ -117,11 +125,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID_output, - "cc_ContainersAccountRegistryToken": cc_ContainersAccountRegistryToken_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_AccountID": cc_AccountID, + "cc_ContainersAccountRegistryToken": cc_ContainersAccountRegistryToken, + "cc_Messages": cc_Messages, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/containers/registries/outputs.ts b/src/generated/forge-mcp/containers/registries/outputs.ts index 529a3d60d..b49df27bb 100644 --- a/src/generated/forge-mcp/containers/registries/outputs.ts +++ b/src/generated/forge-mcp/containers/registries/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cc_ContainersDeleteImageRegistryResponseBody` in responses. */ -export const cc_ContainersDeleteImageRegistryResponseBody_output: JsonSchema = { +export const cc_ContainersDeleteImageRegistryResponseBody: JsonSchema = { "properties": { "domain": { "$ref": "#/$defs/cc_Domain" @@ -21,7 +21,7 @@ export const cc_ContainersDeleteImageRegistryResponseBody_output: JsonSchema = { /** * The schema of `cc_CustomerImageRegistry` in responses. */ -export const cc_CustomerImageRegistry_output: JsonSchema = { +export const cc_CustomerImageRegistry: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/cc_ISO8601Timestamp" @@ -53,7 +53,7 @@ export const cc_CustomerImageRegistry_output: JsonSchema = { /** * The schema of `cc_DefaultImageRegistryKind` in responses. */ -export const cc_DefaultImageRegistryKind_output: JsonSchema = { +export const cc_DefaultImageRegistryKind: JsonSchema = { "enum": [ "default" ], @@ -63,14 +63,14 @@ export const cc_DefaultImageRegistryKind_output: JsonSchema = { /** * The schema of `cc_Domain` in responses. */ -export const cc_Domain_output: JsonSchema = { +export const cc_Domain: JsonSchema = { "type": "string" }; /** * The schema of `cc_ExternalRegistryKind` in responses. */ -export const cc_ExternalRegistryKind_output: JsonSchema = { +export const cc_ExternalRegistryKind: JsonSchema = { "enum": [ "ECR", "DockerHub", diff --git a/src/generated/forge-mcp/containers/registries/tools.ts b/src/generated/forge-mcp/containers/registries/tools.ts index 579240c64..0b21165be 100644 --- a/src/generated/forge-mcp/containers/registries/tools.ts +++ b/src/generated/forge-mcp/containers/registries/tools.ts @@ -3,22 +3,22 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cc_ISO8601Timestamp_output, - cc_Messages_output, - cc_V4BaseErrorResponse_output, - cc_V4BaseResponse_output, + cc_ISO8601Timestamp, + cc_Messages, + cc_V4BaseErrorResponse, + cc_V4BaseResponse, } from "../outputs.js"; import { - cc_ContainersDeleteImageRegistryResponseBody_output, - cc_CustomerImageRegistry_output, - cc_DefaultImageRegistryKind_output, - cc_Domain_output, - cc_ExternalRegistryKind_output, + cc_ContainersDeleteImageRegistryResponseBody, + cc_CustomerImageRegistry, + cc_DefaultImageRegistryKind, + cc_Domain, + cc_ExternalRegistryKind, } from "./outputs.js"; import { cc_ContainersCreateImageRegistryRequestBody, cc_ContainersImageRegistryAuth, - cc_ExternalRegistryKind, + cc_ExternalRegistryKind as cc_ExternalRegistryKind$, cc_SecretsStoreRef, } from "./schemas.js"; @@ -33,22 +33,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/cc_ContainersCreateImageRegistryRequestBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "cc_ContainersCreateImageRegistryRequestBody": cc_ContainersCreateImageRegistryRequestBody, "cc_ContainersImageRegistryAuth": cc_ContainersImageRegistryAuth, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind, + "cc_ExternalRegistryKind": cc_ExternalRegistryKind$, "cc_SecretsStoreRef": cc_SecretsStoreRef, }, }, @@ -70,13 +78,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_CustomerImageRegistry": cc_CustomerImageRegistry_output, - "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind_output, - "cc_Domain": cc_Domain_output, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_CustomerImageRegistry": cc_CustomerImageRegistry, + "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind, + "cc_Domain": cc_Domain, + "cc_ExternalRegistryKind": cc_ExternalRegistryKind, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Messages": cc_Messages, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, annotations: { @@ -127,14 +135,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_CustomerImageRegistry": cc_CustomerImageRegistry_output, - "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind_output, - "cc_Domain": cc_Domain_output, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_CustomerImageRegistry": cc_CustomerImageRegistry, + "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind, + "cc_Domain": cc_Domain, + "cc_ExternalRegistryKind": cc_ExternalRegistryKind, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Messages": cc_Messages, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, request: (args) => ({ @@ -149,18 +157,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "domain": { - "description": "The domain to delete.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "domain": { + "description": "The domain to delete.", + "type": "string" + } + }, + "required": [ + "account_id", + "domain" + ], + "type": "object" } }, required: [ - "account_id", - "domain" + "path" ], }, outputSchema: { @@ -181,10 +197,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_ContainersDeleteImageRegistryResponseBody": cc_ContainersDeleteImageRegistryResponseBody_output, - "cc_Domain": cc_Domain_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ContainersDeleteImageRegistryResponseBody": cc_ContainersDeleteImageRegistryResponseBody, + "cc_Domain": cc_Domain, + "cc_Messages": cc_Messages, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, annotations: { @@ -235,11 +251,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_ContainersDeleteImageRegistryResponseBody": cc_ContainersDeleteImageRegistryResponseBody_output, - "cc_Domain": cc_Domain_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_ContainersDeleteImageRegistryResponseBody": cc_ContainersDeleteImageRegistryResponseBody, + "cc_Domain": cc_Domain, + "cc_Messages": cc_Messages, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, request: (args) => ({ @@ -253,13 +269,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -283,13 +307,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_CustomerImageRegistry": cc_CustomerImageRegistry_output, - "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind_output, - "cc_Domain": cc_Domain_output, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_CustomerImageRegistry": cc_CustomerImageRegistry, + "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind, + "cc_Domain": cc_Domain, + "cc_ExternalRegistryKind": cc_ExternalRegistryKind, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Messages": cc_Messages, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, annotations: { @@ -338,14 +362,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_CustomerImageRegistry": cc_CustomerImageRegistry_output, - "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind_output, - "cc_Domain": cc_Domain_output, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind_output, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp_output, - "cc_Messages": cc_Messages_output, - "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse_output, - "cc_V4BaseResponse": cc_V4BaseResponse_output, + "cc_CustomerImageRegistry": cc_CustomerImageRegistry, + "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind, + "cc_Domain": cc_Domain, + "cc_ExternalRegistryKind": cc_ExternalRegistryKind, + "cc_ISO8601Timestamp": cc_ISO8601Timestamp, + "cc_Messages": cc_Messages, + "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, + "cc_V4BaseResponse": cc_V4BaseResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/contentScan/expressions/outputs.ts b/src/generated/forge-mcp/contentScan/expressions/outputs.ts index 4bfe9441a..878e9cd02 100644 --- a/src/generated/forge-mcp/contentScan/expressions/outputs.ts +++ b/src/generated/forge-mcp/contentScan/expressions/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `waf-product-api-bundle_api-response-collection-2` in * responses. */ -export const waf_product_api_bundle_api_response_collection_2_output: JsonSchema = { +export const waf$$product$$api$$bundle_api$$response$$collection$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-common-2" @@ -36,7 +36,7 @@ export const waf_product_api_bundle_api_response_collection_2_output: JsonSchema /** * The schema of `waf-product-api-bundle_custom-scan` in responses. */ -export const waf_product_api_bundle_custom_scan_output: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$scan: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/waf-product-api-bundle_custom-scan-id" @@ -51,14 +51,14 @@ export const waf_product_api_bundle_custom_scan_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_custom-scan-id` in responses. */ -export const waf_product_api_bundle_custom_scan_id_output: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$scan$$id: JsonSchema = { "$ref": "#/$defs/waf-product-api-bundle_identifier" }; /** * The schema of `waf-product-api-bundle_custom-scan-payload` in responses. */ -export const waf_product_api_bundle_custom_scan_payload_output: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$scan$$payload: JsonSchema = { "type": "string" }; @@ -66,7 +66,7 @@ export const waf_product_api_bundle_custom_scan_payload_output: JsonSchema = { * The schema of `waf-product-api-bundle_response-custom-scan-collection` in * responses. */ -export const waf_product_api_bundle_response_custom_scan_collection_output: JsonSchema = { +export const waf$$product$$api$$bundle_response$$custom$$scan$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-collection-2" diff --git a/src/generated/forge-mcp/contentScan/expressions/schemas.ts b/src/generated/forge-mcp/contentScan/expressions/schemas.ts index f6f1afe85..66c05a492 100644 --- a/src/generated/forge-mcp/contentScan/expressions/schemas.ts +++ b/src/generated/forge-mcp/contentScan/expressions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waf-product-api-bundle_custom-scan-id`. */ -export const waf_product_api_bundle_custom_scan_id: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$scan$$id: JsonSchema = { "$ref": "#/$defs/waf-product-api-bundle_identifier", "description": "Defines the unique ID for this Content Scanning custom expression." }; @@ -14,7 +14,7 @@ export const waf_product_api_bundle_custom_scan_id: JsonSchema = { /** * The schema of `waf-product-api-bundle_custom-scan-payload`. */ -export const waf_product_api_bundle_custom_scan_payload: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$scan$$payload: JsonSchema = { "description": "Defines the custom content extraction expression used to reach content objects in the request.", "type": "string" }; diff --git a/src/generated/forge-mcp/contentScan/expressions/tools.ts b/src/generated/forge-mcp/contentScan/expressions/tools.ts index 11644d88e..192641323 100644 --- a/src/generated/forge-mcp/contentScan/expressions/tools.ts +++ b/src/generated/forge-mcp/contentScan/expressions/tools.ts @@ -3,32 +3,32 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - waf_product_api_bundle_identifier_output, - waf_product_api_bundle_messages_output, + waf$$product$$api$$bundle_identifier, + waf$$product$$api$$bundle_messages, } from "../../outputs.js"; -import { waf_product_api_bundle_identifier } from "../../schemas.js"; +import { waf$$product$$api$$bundle_identifier as waf$$product$$api$$bundle_identifier$ } from "../../schemas.js"; import { - waf_product_api_bundle_api_response_common_2_output, - waf_product_api_bundle_api_response_common_failure_2_output, + waf$$product$$api$$bundle_api$$response$$common$$2, + waf$$product$$api$$bundle_api$$response$$common$$failure$$2, } from "../outputs.js"; import { - waf_product_api_bundle_api_response_collection_2_output, - waf_product_api_bundle_custom_scan_id_output, - waf_product_api_bundle_custom_scan_output, - waf_product_api_bundle_custom_scan_payload_output, - waf_product_api_bundle_response_custom_scan_collection_output, + waf$$product$$api$$bundle_api$$response$$collection$$2, + waf$$product$$api$$bundle_custom$$scan, + waf$$product$$api$$bundle_custom$$scan$$id, + waf$$product$$api$$bundle_custom$$scan$$payload, + waf$$product$$api$$bundle_response$$custom$$scan$$collection, } from "./outputs.js"; import { - waf_product_api_bundle_custom_scan_id, - waf_product_api_bundle_custom_scan_payload, + waf$$product$$api$$bundle_custom$$scan$$id as waf$$product$$api$$bundle_custom$$scan$$id$, + waf$$product$$api$$bundle_custom$$scan$$payload as waf$$product$$api$$bundle_custom$$scan$$payload$, } from "./schemas.js"; /** - * The tools of `content_scan.expressions`. + * The tools of `contentScan.expressions`. */ export const tools: readonly Tool[] = [ { - name: "content_scan_expressions_create", + name: "contentScan_expressions_create", title: "Create Content Scanning custom expressions for a zone.", description: "Create one or more Content Scanning custom expressions, appending them to the existing list of the zone, and return the updated list. Each expression reaches content objects the scanner cannot find automatically, for example `lookup_json_string(http.request.body.raw, \"file\")`.", inputSchema: { @@ -50,31 +50,39 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload$, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection", $defs: { - "waf-product-api-bundle_api-response-collection-2": waf_product_api_bundle_api_response_collection_2_output, - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, }, annotations: { @@ -109,15 +117,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-collection-2": waf_product_api_bundle_api_response_collection_2_output, - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, - "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, + "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, }, request: (args) => ({ @@ -126,41 +134,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "content_scan_expressions_delete", + name: "contentScan_expressions_delete", title: "Delete a Content Scanning custom expression from a zone.", description: "Delete the Content Scanning custom expression with the given identifier and return the expressions that remain. Content objects reached only by the deleted expression are no longer scanned.\n\nConfirm with the user before calling this tool. This operation deletes a Content Scanning custom expression.", inputSchema: { type: "object", properties: { - "expression_id": { - "$ref": "#/$defs/waf-product-api-bundle_custom-scan-id", - "description": "Defines the unique ID for this Content Scanning custom expression." - }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "expression_id": { + "$ref": "#/$defs/waf-product-api-bundle_custom-scan-id", + "description": "Defines the unique ID for this Content Scanning custom expression." + }, + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "expression_id" + ], + "type": "object" } }, required: [ - "zone_id", - "expression_id" + "path" ], $defs: { - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id$, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection", $defs: { - "waf-product-api-bundle_api-response-collection-2": waf_product_api_bundle_api_response_collection_2_output, - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, }, annotations: { @@ -195,15 +211,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-collection-2": waf_product_api_bundle_api_response_collection_2_output, - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, - "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, + "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, }, request: (args) => ({ @@ -211,35 +227,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "content_scan_expressions_list", + name: "contentScan_expressions_list", title: "List the Content Scanning custom expressions of a zone.", description: "List the Content Scanning custom expressions configured for the zone, each with its own identifier. A custom expression tells the scanner how to reach content objects in a request it cannot parse on its own, such as files Base64-encoded inside a JSON body.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection", $defs: { - "waf-product-api-bundle_api-response-collection-2": waf_product_api_bundle_api_response_collection_2_output, - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, }, annotations: { @@ -276,15 +300,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-collection-2": waf_product_api_bundle_api_response_collection_2_output, - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, - "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, + "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, }, request: (args) => ({ @@ -292,7 +316,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "content_scan_expressions_update", + name: "contentScan_expressions_update", title: "Update a Content Scanning custom expression for a zone.", description: "Update the Content Scanning custom expression with the given identifier and return the updated list of expressions.", inputSchema: { @@ -311,37 +335,45 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "expression_id": { - "$ref": "#/$defs/waf-product-api-bundle_custom-scan-id", - "description": "Defines the unique ID for this Content Scanning custom expression." - }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "expression_id": { + "$ref": "#/$defs/waf-product-api-bundle_custom-scan-id", + "description": "Defines the unique ID for this Content Scanning custom expression." + }, + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "expression_id" + ], + "type": "object" } }, required: [ - "zone_id", - "expression_id", + "path", "body" ], $defs: { - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id, - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id$, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload$, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection", $defs: { - "waf-product-api-bundle_api-response-collection-2": waf_product_api_bundle_api_response_collection_2_output, - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, }, annotations: { @@ -376,15 +408,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-collection-2": waf_product_api_bundle_api_response_collection_2_output, - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, - "waf-product-api-bundle_custom-scan": waf_product_api_bundle_custom_scan_output, - "waf-product-api-bundle_custom-scan-id": waf_product_api_bundle_custom_scan_id_output, - "waf-product-api-bundle_custom-scan-payload": waf_product_api_bundle_custom_scan_payload_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-scan-collection": waf_product_api_bundle_response_custom_scan_collection_output, + "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, + "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, + "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, + "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/contentScan/outputs.ts b/src/generated/forge-mcp/contentScan/outputs.ts index 8f0a6561d..425bb7b29 100644 --- a/src/generated/forge-mcp/contentScan/outputs.ts +++ b/src/generated/forge-mcp/contentScan/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `waf-product-api-bundle_api-response-common-2` in responses. */ -export const waf_product_api_bundle_api_response_common_2_output: JsonSchema = { +export const waf$$product$$api$$bundle_api$$response$$common$$2: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/waf-product-api-bundle_messages" @@ -53,7 +53,7 @@ export const waf_product_api_bundle_api_response_common_2_output: JsonSchema = { * The schema of `waf-product-api-bundle_api-response-common-failure-2` in * responses. */ -export const waf_product_api_bundle_api_response_common_failure_2_output: JsonSchema = { +export const waf$$product$$api$$bundle_api$$response$$common$$failure$$2: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/waf-product-api-bundle_messages" @@ -83,7 +83,7 @@ export const waf_product_api_bundle_api_response_common_failure_2_output: JsonSc /** * The schema of `waf-product-api-bundle_api-response-single-2` in responses. */ -export const waf_product_api_bundle_api_response_single_2_output: JsonSchema = { +export const waf$$product$$api$$bundle_api$$response$$single$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-common-2" @@ -112,7 +112,7 @@ export const waf_product_api_bundle_api_response_single_2_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_response-status-2` in responses. */ -export const waf_product_api_bundle_response_status_2_output: JsonSchema = { +export const waf$$product$$api$$bundle_response$$status$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-single-2" @@ -131,7 +131,7 @@ export const waf_product_api_bundle_response_status_2_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_status-2` in responses. */ -export const waf_product_api_bundle_status_2_output: JsonSchema = { +export const waf$$product$$api$$bundle_status$$2: JsonSchema = { "properties": { "modified": { "type": "string" diff --git a/src/generated/forge-mcp/contentScan/tools.ts b/src/generated/forge-mcp/contentScan/tools.ts index c7dd2295e..75be759c3 100644 --- a/src/generated/forge-mcp/contentScan/tools.ts +++ b/src/generated/forge-mcp/contentScan/tools.ts @@ -2,47 +2,55 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; -import { waf_product_api_bundle_messages_output } from "../outputs.js"; -import { waf_product_api_bundle_identifier } from "../schemas.js"; +import { waf$$product$$api$$bundle_messages } from "../outputs.js"; +import { waf$$product$$api$$bundle_identifier } from "../schemas.js"; import { - waf_product_api_bundle_api_response_common_2_output, - waf_product_api_bundle_api_response_common_failure_2_output, - waf_product_api_bundle_api_response_single_2_output, - waf_product_api_bundle_response_status_2_output, - waf_product_api_bundle_status_2_output, + waf$$product$$api$$bundle_api$$response$$common$$2, + waf$$product$$api$$bundle_api$$response$$common$$failure$$2, + waf$$product$$api$$bundle_api$$response$$single$$2, + waf$$product$$api$$bundle_response$$status$$2, + waf$$product$$api$$bundle_status$$2, } from "./outputs.js"; /** - * The tools of `content_scan`. + * The tools of `contentScan`. */ export const tools: readonly Tool[] = [ { - name: "content_scan_get", + name: "contentScan_get", title: "Get the Content Scanning status for a zone.", description: "Get the current Content Scanning status for the zone, together with the date the status was last modified.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-status-2", $defs: { - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_api-response-single-2": waf_product_api_bundle_api_response_single_2_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-status-2": waf_product_api_bundle_response_status_2_output, - "waf-product-api-bundle_status-2": waf_product_api_bundle_status_2_output, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_api-response-single-2": waf$$product$$api$$bundle_api$$response$$single$$2, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-status-2": waf$$product$$api$$bundle_response$$status$$2, + "waf-product-api-bundle_status-2": waf$$product$$api$$bundle_status$$2, }, }, annotations: { @@ -72,12 +80,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, - "waf-product-api-bundle_api-response-single-2": waf_product_api_bundle_api_response_single_2_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-status-2": waf_product_api_bundle_response_status_2_output, - "waf-product-api-bundle_status-2": waf_product_api_bundle_status_2_output, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, + "waf-product-api-bundle_api-response-single-2": waf$$product$$api$$bundle_api$$response$$single$$2, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-status-2": waf$$product$$api$$bundle_response$$status$$2, + "waf-product-api-bundle_status-2": waf$$product$$api$$bundle_status$$2, }, }, request: (args) => ({ @@ -85,7 +93,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "content_scan_update", + name: "contentScan_update", title: "Update the Content Scanning status for a zone.", description: "Update the Content Scanning status by setting the status value to `enabled` or `disabled`. This is equivalent to calling the dedicated enable and disable endpoints.\n\nConfirm with the user before calling this tool. This operation toggles Content Scanning for a zone.", inputSchema: { @@ -108,27 +116,35 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-status-2", $defs: { - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_api-response-single-2": waf_product_api_bundle_api_response_single_2_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-status-2": waf_product_api_bundle_response_status_2_output, - "waf-product-api-bundle_status-2": waf_product_api_bundle_status_2_output, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_api-response-single-2": waf$$product$$api$$bundle_api$$response$$single$$2, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-status-2": waf$$product$$api$$bundle_response$$status$$2, + "waf-product-api-bundle_status-2": waf$$product$$api$$bundle_status$$2, }, }, annotations: { @@ -156,12 +172,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common-2": waf_product_api_bundle_api_response_common_2_output, - "waf-product-api-bundle_api-response-common-failure-2": waf_product_api_bundle_api_response_common_failure_2_output, - "waf-product-api-bundle_api-response-single-2": waf_product_api_bundle_api_response_single_2_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-status-2": waf_product_api_bundle_response_status_2_output, - "waf-product-api-bundle_status-2": waf_product_api_bundle_status_2_output, + "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, + "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, + "waf-product-api-bundle_api-response-single-2": waf$$product$$api$$bundle_api$$response$$single$$2, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-status-2": waf$$product$$api$$bundle_response$$status$$2, + "waf-product-api-bundle_status-2": waf$$product$$api$$bundle_status$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cps/outputs.ts b/src/generated/forge-mcp/cps/outputs.ts index fbe4cc2ad..b72011da2 100644 --- a/src/generated/forge-mcp/cps/outputs.ts +++ b/src/generated/forge-mcp/cps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `cps_api_response_common_failure` in responses. */ -export const cps_api_response_common_failure_output: JsonSchema = { +export const cps_api_response_common_failure: JsonSchema = { "properties": { "errors": { "items": { @@ -43,7 +43,7 @@ export const cps_api_response_common_failure_output: JsonSchema = { /** * The schema of `cps_api_response_message` in responses. */ -export const cps_api_response_message_output: JsonSchema = { +export const cps_api_response_message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -62,7 +62,7 @@ export const cps_api_response_message_output: JsonSchema = { /** * The schema of `cps_communication_preferences` in responses. */ -export const cps_communication_preferences_output: JsonSchema = { +export const cps_communication_preferences: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -118,7 +118,7 @@ export const cps_communication_preferences_output: JsonSchema = { /** * The schema of `cps_communication_preferences_response` in responses. */ -export const cps_communication_preferences_response_output: JsonSchema = { +export const cps_communication_preferences_response: JsonSchema = { "properties": { "errors": { "items": { @@ -151,7 +151,7 @@ export const cps_communication_preferences_response_output: JsonSchema = { /** * The schema of `cps_customer_preference` in responses. */ -export const cps_customer_preference_output: JsonSchema = { +export const cps_customer_preference: JsonSchema = { "properties": { "created_on": { "format": "date-time", diff --git a/src/generated/forge-mcp/cps/tools.ts b/src/generated/forge-mcp/cps/tools.ts index 33a7d9a45..940de7499 100644 --- a/src/generated/forge-mcp/cps/tools.ts +++ b/src/generated/forge-mcp/cps/tools.ts @@ -3,11 +3,11 @@ import type { Tool } from "../_/tool.js"; import { - cps_api_response_common_failure_output, - cps_api_response_message_output, - cps_communication_preferences_output, - cps_communication_preferences_response_output, - cps_customer_preference_output, + cps_api_response_common_failure, + cps_api_response_message, + cps_communication_preferences, + cps_communication_preferences_response, + cps_customer_preference, } from "./outputs.js"; import { cps_update_communication_preferences_request } from "./schemas.js"; @@ -26,10 +26,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cps_communication_preferences_response", $defs: { - "cps_api_response_message": cps_api_response_message_output, - "cps_communication_preferences": cps_communication_preferences_output, - "cps_communication_preferences_response": cps_communication_preferences_response_output, - "cps_customer_preference": cps_customer_preference_output, + "cps_api_response_message": cps_api_response_message, + "cps_communication_preferences": cps_communication_preferences, + "cps_communication_preferences_response": cps_communication_preferences_response, + "cps_customer_preference": cps_customer_preference, }, }, annotations: { @@ -68,11 +68,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cps_api_response_common_failure": cps_api_response_common_failure_output, - "cps_api_response_message": cps_api_response_message_output, - "cps_communication_preferences": cps_communication_preferences_output, - "cps_communication_preferences_response": cps_communication_preferences_response_output, - "cps_customer_preference": cps_customer_preference_output, + "cps_api_response_common_failure": cps_api_response_common_failure, + "cps_api_response_message": cps_api_response_message, + "cps_communication_preferences": cps_communication_preferences, + "cps_communication_preferences_response": cps_communication_preferences_response, + "cps_customer_preference": cps_customer_preference, }, }, request: (_args) => ({ @@ -100,10 +100,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cps_communication_preferences_response", $defs: { - "cps_api_response_message": cps_api_response_message_output, - "cps_communication_preferences": cps_communication_preferences_output, - "cps_communication_preferences_response": cps_communication_preferences_response_output, - "cps_customer_preference": cps_customer_preference_output, + "cps_api_response_message": cps_api_response_message, + "cps_communication_preferences": cps_communication_preferences, + "cps_communication_preferences_response": cps_communication_preferences_response, + "cps_customer_preference": cps_customer_preference, }, }, annotations: { @@ -142,11 +142,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cps_api_response_common_failure": cps_api_response_common_failure_output, - "cps_api_response_message": cps_api_response_message_output, - "cps_communication_preferences": cps_communication_preferences_output, - "cps_communication_preferences_response": cps_communication_preferences_response_output, - "cps_customer_preference": cps_customer_preference_output, + "cps_api_response_common_failure": cps_api_response_common_failure, + "cps_api_response_message": cps_api_response_message, + "cps_communication_preferences": cps_communication_preferences, + "cps_communication_preferences_response": cps_communication_preferences_response, + "cps_customer_preference": cps_customer_preference, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/csamScanner/outputs.ts b/src/generated/forge-mcp/csamScanner/outputs.ts index 8bb1b3ff0..213806d5f 100644 --- a/src/generated/forge-mcp/csamScanner/outputs.ts +++ b/src/generated/forge-mcp/csamScanner/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `csam-config-service_api_response_common_failure` in responses. */ -export const csam_config_service_api_response_common_failure_output: JsonSchema = { +export const csam$$config$$service_api_response_common_failure: JsonSchema = { "properties": { "errors": { "items": { @@ -45,7 +45,7 @@ export const csam_config_service_api_response_common_failure_output: JsonSchema /** * The schema of `csam-config-service_api_response_message` in responses. */ -export const csam_config_service_api_response_message_output: JsonSchema = { +export const csam$$config$$service_api_response_message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -64,7 +64,7 @@ export const csam_config_service_api_response_message_output: JsonSchema = { /** * The schema of `csam-config-service_api_response_single` in responses. */ -export const csam_config_service_api_response_single_output: JsonSchema = { +export const csam$$config$$service_api_response_single: JsonSchema = { "properties": { "errors": { "items": { @@ -96,7 +96,7 @@ export const csam_config_service_api_response_single_output: JsonSchema = { /** * The schema of `csam-config-service_csam_scanner_setting` in responses. */ -export const csam_config_service_csam_scanner_setting_output: JsonSchema = { +export const csam$$config$$service_csam_scanner_setting: JsonSchema = { "properties": { "editable": { "type": "boolean" @@ -129,7 +129,7 @@ export const csam_config_service_csam_scanner_setting_output: JsonSchema = { * The schema of `csam-config-service_csam_scanner_single_response` in * responses. */ -export const csam_config_service_csam_scanner_single_response_output: JsonSchema = { +export const csam$$config$$service_csam_scanner_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/csam-config-service_api_response_single" @@ -148,7 +148,7 @@ export const csam_config_service_csam_scanner_single_response_output: JsonSchema /** * The schema of `csam-config-service_csam_scanner_value` in responses. */ -export const csam_config_service_csam_scanner_value_output: JsonSchema = { +export const csam$$config$$service_csam_scanner_value: JsonSchema = { "properties": { "email": { "type": "string" diff --git a/src/generated/forge-mcp/csamScanner/schemas.ts b/src/generated/forge-mcp/csamScanner/schemas.ts index d19fbd670..19c982207 100644 --- a/src/generated/forge-mcp/csamScanner/schemas.ts +++ b/src/generated/forge-mcp/csamScanner/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `csam-config-service_csam_scanner_third_party_update_request`. */ -export const csam_config_service_csam_scanner_third_party_update_request: JsonSchema = { +export const csam$$config$$service_csam_scanner_third_party_update_request: JsonSchema = { "description": "Request body for updating CSAM Scanner configuration.\n", "properties": { "id": { @@ -27,7 +27,7 @@ export const csam_config_service_csam_scanner_third_party_update_request: JsonSc /** * The schema of `csam-config-service_csam_scanner_third_party_update_value`. */ -export const csam_config_service_csam_scanner_third_party_update_value: JsonSchema = { +export const csam$$config$$service_csam_scanner_third_party_update_value: JsonSchema = { "description": "Writable CSAM Scanner feature configuration values.\n", "properties": { "email": { @@ -56,7 +56,7 @@ export const csam_config_service_csam_scanner_third_party_update_value: JsonSche /** * The schema of `csam-config-service_zone_identifier`. */ -export const csam_config_service_zone_identifier: JsonSchema = { +export const csam$$config$$service_zone_identifier: JsonSchema = { "description": "Identifier for the zone.", "type": "string" }; diff --git a/src/generated/forge-mcp/csamScanner/tools.ts b/src/generated/forge-mcp/csamScanner/tools.ts index 8ffb83993..2c1afe8c2 100644 --- a/src/generated/forge-mcp/csamScanner/tools.ts +++ b/src/generated/forge-mcp/csamScanner/tools.ts @@ -3,25 +3,25 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - csam_config_service_api_response_common_failure_output, - csam_config_service_api_response_message_output, - csam_config_service_api_response_single_output, - csam_config_service_csam_scanner_setting_output, - csam_config_service_csam_scanner_single_response_output, - csam_config_service_csam_scanner_value_output, + csam$$config$$service_api_response_common_failure, + csam$$config$$service_api_response_message, + csam$$config$$service_api_response_single, + csam$$config$$service_csam_scanner_setting, + csam$$config$$service_csam_scanner_single_response, + csam$$config$$service_csam_scanner_value, } from "./outputs.js"; import { - csam_config_service_csam_scanner_third_party_update_request, - csam_config_service_csam_scanner_third_party_update_value, - csam_config_service_zone_identifier, + csam$$config$$service_csam_scanner_third_party_update_request, + csam$$config$$service_csam_scanner_third_party_update_value, + csam$$config$$service_zone_identifier, } from "./schemas.js"; /** - * The tools of `csam_scanner`. + * The tools of `csamScanner`. */ export const tools: readonly Tool[] = [ { - name: "csam_scanner_edit", + name: "csamScanner_edit", title: "Update CSAM Scanner setting", description: "Update the CSAM Scanner configuration for a zone. Allows enabling or\ndisabling CSAM scanning, updating the notification email, and\nconfiguring scanning sources.\n\nThis is a partial update: fields omitted from `value` keep their\ncurrent setting, and `sources` is merged per source (`null` clears\nall sources). Send an empty `email` to clear the notification\naddress.\n\nWhen a new email is provided, email verification is triggered\nautomatically. The `enabled` field is a toggle; the server may\nadjust it based on whether the notification email is verified.\n\nReturns 403 if the zone or account is locked by Trust & Safety.", inputSchema: { @@ -30,29 +30,37 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/csam-config-service_csam_scanner_third_party_update_request" }, - "zone_id": { - "$ref": "#/$defs/csam-config-service_zone_identifier", - "description": "Identifier for the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/csam-config-service_zone_identifier", + "description": "Identifier for the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "csam-config-service_csam_scanner_third_party_update_request": csam_config_service_csam_scanner_third_party_update_request, - "csam-config-service_csam_scanner_third_party_update_value": csam_config_service_csam_scanner_third_party_update_value, - "csam-config-service_zone_identifier": csam_config_service_zone_identifier, + "csam-config-service_csam_scanner_third_party_update_request": csam$$config$$service_csam_scanner_third_party_update_request, + "csam-config-service_csam_scanner_third_party_update_value": csam$$config$$service_csam_scanner_third_party_update_value, + "csam-config-service_zone_identifier": csam$$config$$service_zone_identifier, }, }, outputSchema: { "$ref": "#/$defs/csam-config-service_csam_scanner_single_response", $defs: { - "csam-config-service_api_response_message": csam_config_service_api_response_message_output, - "csam-config-service_api_response_single": csam_config_service_api_response_single_output, - "csam-config-service_csam_scanner_setting": csam_config_service_csam_scanner_setting_output, - "csam-config-service_csam_scanner_single_response": csam_config_service_csam_scanner_single_response_output, - "csam-config-service_csam_scanner_value": csam_config_service_csam_scanner_value_output, + "csam-config-service_api_response_message": csam$$config$$service_api_response_message, + "csam-config-service_api_response_single": csam$$config$$service_api_response_single, + "csam-config-service_csam_scanner_setting": csam$$config$$service_csam_scanner_setting, + "csam-config-service_csam_scanner_single_response": csam$$config$$service_csam_scanner_single_response, + "csam-config-service_csam_scanner_value": csam$$config$$service_csam_scanner_value, }, }, annotations: { @@ -91,12 +99,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "csam-config-service_api_response_common_failure": csam_config_service_api_response_common_failure_output, - "csam-config-service_api_response_message": csam_config_service_api_response_message_output, - "csam-config-service_api_response_single": csam_config_service_api_response_single_output, - "csam-config-service_csam_scanner_setting": csam_config_service_csam_scanner_setting_output, - "csam-config-service_csam_scanner_single_response": csam_config_service_csam_scanner_single_response_output, - "csam-config-service_csam_scanner_value": csam_config_service_csam_scanner_value_output, + "csam-config-service_api_response_common_failure": csam$$config$$service_api_response_common_failure, + "csam-config-service_api_response_message": csam$$config$$service_api_response_message, + "csam-config-service_api_response_single": csam$$config$$service_api_response_single, + "csam-config-service_csam_scanner_setting": csam$$config$$service_csam_scanner_setting, + "csam-config-service_csam_scanner_single_response": csam$$config$$service_csam_scanner_single_response, + "csam-config-service_csam_scanner_value": csam$$config$$service_csam_scanner_value, }, }, request: (args) => ({ @@ -105,32 +113,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "csam_scanner_get", + name: "csamScanner_get", title: "Get CSAM Scanner setting", description: "Retrieve the current CSAM Scanner configuration for a zone.\n\nThe notification email is masked by default in responses.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/csam-config-service_zone_identifier", - "description": "Identifier for the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/csam-config-service_zone_identifier", + "description": "Identifier for the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "csam-config-service_zone_identifier": csam_config_service_zone_identifier, + "csam-config-service_zone_identifier": csam$$config$$service_zone_identifier, }, }, outputSchema: { "$ref": "#/$defs/csam-config-service_csam_scanner_single_response", $defs: { - "csam-config-service_api_response_message": csam_config_service_api_response_message_output, - "csam-config-service_api_response_single": csam_config_service_api_response_single_output, - "csam-config-service_csam_scanner_setting": csam_config_service_csam_scanner_setting_output, - "csam-config-service_csam_scanner_single_response": csam_config_service_csam_scanner_single_response_output, - "csam-config-service_csam_scanner_value": csam_config_service_csam_scanner_value_output, + "csam-config-service_api_response_message": csam$$config$$service_api_response_message, + "csam-config-service_api_response_single": csam$$config$$service_api_response_single, + "csam-config-service_csam_scanner_setting": csam$$config$$service_csam_scanner_setting, + "csam-config-service_csam_scanner_single_response": csam$$config$$service_csam_scanner_single_response, + "csam-config-service_csam_scanner_value": csam$$config$$service_csam_scanner_value, }, }, annotations: { @@ -169,12 +185,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "csam-config-service_api_response_common_failure": csam_config_service_api_response_common_failure_output, - "csam-config-service_api_response_message": csam_config_service_api_response_message_output, - "csam-config-service_api_response_single": csam_config_service_api_response_single_output, - "csam-config-service_csam_scanner_setting": csam_config_service_csam_scanner_setting_output, - "csam-config-service_csam_scanner_single_response": csam_config_service_csam_scanner_single_response_output, - "csam-config-service_csam_scanner_value": csam_config_service_csam_scanner_value_output, + "csam-config-service_api_response_common_failure": csam$$config$$service_api_response_common_failure, + "csam-config-service_api_response_message": csam$$config$$service_api_response_message, + "csam-config-service_api_response_single": csam$$config$$service_api_response_single, + "csam-config-service_csam_scanner_setting": csam$$config$$service_csam_scanner_setting, + "csam-config-service_csam_scanner_single_response": csam$$config$$service_csam_scanner_single_response, + "csam-config-service_csam_scanner_value": csam$$config$$service_csam_scanner_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customCsrs/outputs.ts b/src/generated/forge-mcp/customCsrs/outputs.ts index c9e410b20..a7b77e462 100644 --- a/src/generated/forge-mcp/customCsrs/outputs.ts +++ b/src/generated/forge-mcp/customCsrs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_custom_csr-2` in responses. */ -export const tls_certificates_and_hostnames_custom_csr_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_csr$$2: JsonSchema = { "properties": { "account_tag": { "type": "string" @@ -71,7 +71,7 @@ export const tls_certificates_and_hostnames_custom_csr_2_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_custom_csr_identifier` in * responses. */ -export const tls_certificates_and_hostnames_custom_csr_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_csr_identifier: JsonSchema = { "type": "string" }; @@ -80,7 +80,7 @@ export const tls_certificates_and_hostnames_custom_csr_identifier_output: JsonSc * `tls-certificates-and-hostnames_custom_csr_response_collection-2` in * responses. */ -export const tls_certificates_and_hostnames_custom_csr_response_collection_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_csr_response_collection$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -103,7 +103,7 @@ export const tls_certificates_and_hostnames_custom_csr_response_collection_2_out * The schema of `tls-certificates-and-hostnames_custom_csr_response_id_only` in * responses. */ -export const tls_certificates_and_hostnames_custom_csr_response_id_only_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_csr_response_id_only: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -128,7 +128,7 @@ export const tls_certificates_and_hostnames_custom_csr_response_id_only_output: * The schema of `tls-certificates-and-hostnames_custom_csr_response_single-2` * in responses. */ -export const tls_certificates_and_hostnames_custom_csr_response_single_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_csr_response_single$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" diff --git a/src/generated/forge-mcp/customCsrs/schemas.ts b/src/generated/forge-mcp/customCsrs/schemas.ts index fb3a19112..e5f047784 100644 --- a/src/generated/forge-mcp/customCsrs/schemas.ts +++ b/src/generated/forge-mcp/customCsrs/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_custom_csr_create_request-2`. */ -export const tls_certificates_and_hostnames_custom_csr_create_request_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_csr_create_request$$2: JsonSchema = { "description": "Request body for creating a custom CSR.", "properties": { "common_name": { @@ -74,7 +74,7 @@ export const tls_certificates_and_hostnames_custom_csr_create_request_2: JsonSch /** * The schema of `tls-certificates-and-hostnames_custom_csr_identifier`. */ -export const tls_certificates_and_hostnames_custom_csr_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_csr_identifier: JsonSchema = { "description": "Custom CSR identifier tag.", "type": "string" }; diff --git a/src/generated/forge-mcp/customCsrs/tools.ts b/src/generated/forge-mcp/customCsrs/tools.ts index 67ac484df..589b124dd 100644 --- a/src/generated/forge-mcp/customCsrs/tools.ts +++ b/src/generated/forge-mcp/customCsrs/tools.ts @@ -1,72 +1,80 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../schemas.js"; import { - tls_certificates_and_hostnames_custom_csr_2_output, - tls_certificates_and_hostnames_custom_csr_identifier_output, - tls_certificates_and_hostnames_custom_csr_response_collection_2_output, - tls_certificates_and_hostnames_custom_csr_response_id_only_output, - tls_certificates_and_hostnames_custom_csr_response_single_2_output, + tls$$certificates$$and$$hostnames_custom_csr$$2, + tls$$certificates$$and$$hostnames_custom_csr_identifier, + tls$$certificates$$and$$hostnames_custom_csr_response_collection$$2, + tls$$certificates$$and$$hostnames_custom_csr_response_id_only, + tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, } from "./outputs.js"; import { - tls_certificates_and_hostnames_custom_csr_create_request_2, - tls_certificates_and_hostnames_custom_csr_identifier, + tls$$certificates$$and$$hostnames_custom_csr_create_request$$2, + tls$$certificates$$and$$hostnames_custom_csr_identifier as tls$$certificates$$and$$hostnames_custom_csr_identifier$, } from "./schemas.js"; /** - * The tools of `custom_csrs`. + * The tools of `customCsrs`. */ export const tools: readonly Tool[] = [ { - name: "custom_csrs_create", + name: "customCsrs_create", title: "Create Custom CSR", description: "Generate a new custom Certificate Signing Request (CSR) for an account or zone. Cloudflare generates and securely stores the private key associated with the CSR.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_create_request-2" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_custom_csr_create_request-2": tls_certificates_and_hostnames_custom_csr_create_request_2, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_csr_create_request-2": tls$$certificates$$and$$hostnames_custom_csr_create_request$$2, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_single-2", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_custom_csr-2": tls_certificates_and_hostnames_custom_csr_2_output, - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, - "tls-certificates-and-hostnames_custom_csr_response_single-2": tls_certificates_and_hostnames_custom_csr_response_single_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, + "tls-certificates-and-hostnames_custom_csr_response_single-2": tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -111,12 +119,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_custom_csr-2": tls_certificates_and_hostnames_custom_csr_2_output, - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, - "tls-certificates-and-hostnames_custom_csr_response_single-2": tls_certificates_and_hostnames_custom_csr_response_single_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, + "tls-certificates-and-hostnames_custom_csr_response_single-2": tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -125,46 +133,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_csrs_delete", + name: "customCsrs_delete", title: "Delete Custom CSR", description: "Delete a custom Certificate Signing Request (CSR) and its associated private key.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "custom_csr_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier", + "description": "Custom CSR identifier tag." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "custom_csr_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "custom_csr_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier", - "description": "Custom CSR identifier tag." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "custom_csr_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_id_only", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, - "tls-certificates-and-hostnames_custom_csr_response_id_only": tls_certificates_and_hostnames_custom_csr_response_id_only_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, + "tls-certificates-and-hostnames_custom_csr_response_id_only": tls$$certificates$$and$$hostnames_custom_csr_response_id_only, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -209,11 +225,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, - "tls-certificates-and-hostnames_custom_csr_response_id_only": tls_certificates_and_hostnames_custom_csr_response_id_only_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, + "tls-certificates-and-hostnames_custom_csr_response_id_only": tls$$certificates$$and$$hostnames_custom_csr_response_id_only, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -221,47 +237,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_csrs_get", + name: "customCsrs_get", title: "Custom CSR Details", description: "Retrieve details for a specific custom Certificate Signing Request (CSR).", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "custom_csr_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier", + "description": "Custom CSR identifier tag." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "custom_csr_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "custom_csr_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier", - "description": "Custom CSR identifier tag." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "custom_csr_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_single-2", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_custom_csr-2": tls_certificates_and_hostnames_custom_csr_2_output, - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, - "tls-certificates-and-hostnames_custom_csr_response_single-2": tls_certificates_and_hostnames_custom_csr_response_single_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, + "tls-certificates-and-hostnames_custom_csr_response_single-2": tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -307,12 +331,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_custom_csr-2": tls_certificates_and_hostnames_custom_csr_2_output, - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, - "tls-certificates-and-hostnames_custom_csr_response_single-2": tls_certificates_and_hostnames_custom_csr_response_single_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, + "tls-certificates-and-hostnames_custom_csr_response_single-2": tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -320,71 +344,84 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_csrs_list", + name: "customCsrs_list", title: "List Custom CSRs", description: "List all custom Certificate Signing Requests (CSRs) for an account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "direction": { - "default": "asc", - "description": "The direction to sort by.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order": { - "default": "created_at", - "description": "The field to sort the returned custom CSRs by.", - "enum": [ - "name", - "account_tag", - "created_at" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" + "type": "object" }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 50, - "description": "Number of custom CSRs per page.", - "type": "number" + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "The direction to sort by.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "default": "created_at", + "description": "The field to sort the returned custom CSRs by.", + "enum": [ + "name", + "account_tag", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 50, + "description": "Number of custom CSRs per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_collection-2", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_custom_csr-2": tls_certificates_and_hostnames_custom_csr_2_output, - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, - "tls-certificates-and-hostnames_custom_csr_response_collection-2": tls_certificates_and_hostnames_custom_csr_response_collection_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, + "tls-certificates-and-hostnames_custom_csr_response_collection-2": tls$$certificates$$and$$hostnames_custom_csr_response_collection$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -430,22 +467,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_custom_csr-2": tls_certificates_and_hostnames_custom_csr_2_output, - "tls-certificates-and-hostnames_custom_csr_identifier": tls_certificates_and_hostnames_custom_csr_identifier_output, - "tls-certificates-and-hostnames_custom_csr_response_collection-2": tls_certificates_and_hostnames_custom_csr_response_collection_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, + "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, + "tls-certificates-and-hostnames_custom_csr_response_collection-2": tls$$certificates$$and$$hostnames_custom_csr_response_collection$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_csrs`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, diff --git a/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts b/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts index 9e4d02d44..4e41bee54 100644 --- a/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts +++ b/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts @@ -3,73 +3,81 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_validation_record_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_validation_record, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { - tls_certificates_and_hostnames_certificate_authority_output, - tls_certificates_and_hostnames_created_at_output, - tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - tls_certificates_and_hostnames_custom_hostname_identifier_output, - tls_certificates_and_hostnames_custom_hostname_output, - tls_certificates_and_hostnames_custom_hostname_response_messages_output, - tls_certificates_and_hostnames_custom_hostname_response_single_output, - tls_certificates_and_hostnames_custom_metadata_output, - tls_certificates_and_hostnames_custom_origin_server_output, - tls_certificates_and_hostnames_custom_origin_sni_output, - tls_certificates_and_hostnames_customhostname_output, - tls_certificates_and_hostnames_hostname_output, - tls_certificates_and_hostnames_ownership_verification_http_output, - tls_certificates_and_hostnames_ownership_verification_output, - tls_certificates_and_hostnames_ssl_output, - tls_certificates_and_hostnames_sslsettings_output, - tls_certificates_and_hostnames_status_3_output, - tls_certificates_and_hostnames_verification_errors_output, + tls$$certificates$$and$$hostnames_certificate_authority, + tls$$certificates$$and$$hostnames_created_at, + tls$$certificates$$and$$hostnames_custom$$hostname, + tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + tls$$certificates$$and$$hostnames_custom_hostname_identifier, + tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + tls$$certificates$$and$$hostnames_custom_hostname_response_single, + tls$$certificates$$and$$hostnames_custom_metadata, + tls$$certificates$$and$$hostnames_custom_origin_server, + tls$$certificates$$and$$hostnames_custom_origin_sni, + tls$$certificates$$and$$hostnames_customhostname, + tls$$certificates$$and$$hostnames_hostname, + tls$$certificates$$and$$hostnames_ownership_verification, + tls$$certificates$$and$$hostnames_ownership_verification_http, + tls$$certificates$$and$$hostnames_ssl, + tls$$certificates$$and$$hostnames_sslsettings, + tls$$certificates$$and$$hostnames_status$$3, + tls$$certificates$$and$$hostnames_verification_errors, } from "../../outputs.js"; import { - tls_certificates_and_hostnames_custom_cert_and_key, - tls_certificates_and_hostnames_custom_hostname_identifier, + tls$$certificates$$and$$hostnames_custom_cert_and_key, + tls$$certificates$$and$$hostnames_custom_hostname_identifier as tls$$certificates$$and$$hostnames_custom_hostname_identifier$, } from "../../schemas.js"; /** - * The tools of `custom_hostnames.certificate_pack.certificates`. + * The tools of `customHostnames.certificatePack.certificates`. */ export const tools: readonly Tool[] = [ { - name: "custom_hostnames_certificate_pack_certificates_delete", + name: "customHostnames_certificatePack_certificates_delete", title: "Delete Single Certificate And Key For Custom Hostname", description: "Delete a single custom certificate from a certificate pack that contains two bundled certificates. Deletion is subject to the following constraints. You cannot delete a certificate if it is the only remaining certificate in the pack. At least one certificate must remain in the pack.", inputSchema: { type: "object", properties: { - "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." - }, - "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." - }, - "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", + "description": "Custom hostname identifier tag." + }, + "certificate_pack_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", + "description": "Custom hostname identifier tag." + }, + "custom_hostname_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", + "description": "Custom hostname identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_hostname_id", + "certificate_pack_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_hostname_id", - "certificate_pack_id", - "certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { @@ -80,7 +88,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, }, }, annotations: { @@ -130,9 +138,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -140,7 +148,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_hostnames_certificate_pack_certificates_update", + name: "customHostnames_certificatePack_certificates_update", title: "Replace Custom Certificate and Custom Key In Custom Hostname", description: "Replace a single custom certificate within a certificate pack that contains two bundled certificates. The replacement must adhere to the following constraints. You can only replace an RSA certificate with another RSA certificate or an ECDSA certificate with another ECDSA certificate.", inputSchema: { @@ -149,59 +157,67 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_cert_and_key" }, - "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." - }, - "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." - }, - "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", + "description": "Custom hostname identifier tag." + }, + "certificate_pack_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", + "description": "Custom hostname identifier tag." + }, + "custom_hostname_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", + "description": "Custom hostname identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_hostname_id", + "certificate_pack_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_hostname_id", - "certificate_pack_id", - "certificate_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_custom_cert_and_key": tls_certificates_and_hostnames_custom_cert_and_key, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_cert_and_key": tls$$certificates$$and$$hostnames_custom_cert_and_key, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, annotations: { @@ -241,27 +257,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts b/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts index b88c1df4c..2f477fb5e 100644 --- a/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts +++ b/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_created_at-2` in responses. */ -export const tls_certificates_and_hostnames_created_at_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_created_at$$2: JsonSchema = { "format": "date-time", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_created_at_2_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_errors` in responses. */ -export const tls_certificates_and_hostnames_errors_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_errors: JsonSchema = { "items": { "type": "string" }, @@ -25,7 +25,7 @@ export const tls_certificates_and_hostnames_errors_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_fallback_origin_response` in * responses. */ -export const tls_certificates_and_hostnames_fallback_origin_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_fallback_origin_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -44,7 +44,7 @@ export const tls_certificates_and_hostnames_fallback_origin_response_output: Jso /** * The schema of `tls-certificates-and-hostnames_fallbackorigin` in responses. */ -export const tls_certificates_and_hostnames_fallbackorigin_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_fallbackorigin: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-2" @@ -68,14 +68,14 @@ export const tls_certificates_and_hostnames_fallbackorigin_output: JsonSchema = /** * The schema of `tls-certificates-and-hostnames_origin` in responses. */ -export const tls_certificates_and_hostnames_origin_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_origin: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_status-4` in responses. */ -export const tls_certificates_and_hostnames_status_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$4: JsonSchema = { "enum": [ "initializing", "pending_deployment", @@ -90,7 +90,7 @@ export const tls_certificates_and_hostnames_status_4_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_updated_at` in responses. */ -export const tls_certificates_and_hostnames_updated_at_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_updated_at: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/customHostnames/fallbackOrigin/schemas.ts b/src/generated/forge-mcp/customHostnames/fallbackOrigin/schemas.ts index ca4ffedce..9354507e5 100644 --- a/src/generated/forge-mcp/customHostnames/fallbackOrigin/schemas.ts +++ b/src/generated/forge-mcp/customHostnames/fallbackOrigin/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_origin`. */ -export const tls_certificates_and_hostnames_origin: JsonSchema = { +export const tls$$certificates$$and$$hostnames_origin: JsonSchema = { "description": "Your origin hostname that requests to your custom hostnames will be sent to.", "type": "string" }; diff --git a/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts b/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts index 98cf0f08a..77303b1d6 100644 --- a/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts +++ b/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts @@ -3,57 +3,65 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_created_at_2_output, - tls_certificates_and_hostnames_errors_output, - tls_certificates_and_hostnames_fallback_origin_response_output, - tls_certificates_and_hostnames_fallbackorigin_output, - tls_certificates_and_hostnames_origin_output, - tls_certificates_and_hostnames_status_4_output, - tls_certificates_and_hostnames_updated_at_output, + tls$$certificates$$and$$hostnames_created_at$$2, + tls$$certificates$$and$$hostnames_errors, + tls$$certificates$$and$$hostnames_fallback_origin_response, + tls$$certificates$$and$$hostnames_fallbackorigin, + tls$$certificates$$and$$hostnames_origin, + tls$$certificates$$and$$hostnames_status$$4, + tls$$certificates$$and$$hostnames_updated_at, } from "./outputs.js"; -import { tls_certificates_and_hostnames_origin } from "./schemas.js"; +import { tls$$certificates$$and$$hostnames_origin as tls$$certificates$$and$$hostnames_origin$ } from "./schemas.js"; /** - * The tools of `custom_hostnames.fallback_origin`. + * The tools of `customHostnames.fallbackOrigin`. */ export const tools: readonly Tool[] = [ { - name: "custom_hostnames_fallback_origin_delete", + name: "customHostnames_fallbackOrigin_delete", title: "Delete Fallback Origin for Custom Hostnames", description: "Removes the fallback origin configuration for custom hostnames on a zone. Custom hostnames without specific origins will no longer have a fallback.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_fallback_origin_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-2": tls_certificates_and_hostnames_created_at_2_output, - "tls-certificates-and-hostnames_errors": tls_certificates_and_hostnames_errors_output, - "tls-certificates-and-hostnames_fallback_origin_response": tls_certificates_and_hostnames_fallback_origin_response_output, - "tls-certificates-and-hostnames_fallbackorigin": tls_certificates_and_hostnames_fallbackorigin_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin_output, - "tls-certificates-and-hostnames_status-4": tls_certificates_and_hostnames_status_4_output, - "tls-certificates-and-hostnames_updated_at": tls_certificates_and_hostnames_updated_at_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, + "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, + "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, + "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, + "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, + "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, annotations: { @@ -98,16 +106,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-2": tls_certificates_and_hostnames_created_at_2_output, - "tls-certificates-and-hostnames_errors": tls_certificates_and_hostnames_errors_output, - "tls-certificates-and-hostnames_fallback_origin_response": tls_certificates_and_hostnames_fallback_origin_response_output, - "tls-certificates-and-hostnames_fallbackorigin": tls_certificates_and_hostnames_fallbackorigin_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin_output, - "tls-certificates-and-hostnames_status-4": tls_certificates_and_hostnames_status_4_output, - "tls-certificates-and-hostnames_updated_at": tls_certificates_and_hostnames_updated_at_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, + "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, + "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, + "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, + "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, + "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, request: (args) => ({ @@ -115,36 +123,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_hostnames_fallback_origin_get", + name: "customHostnames_fallbackOrigin_get", title: "Get Fallback Origin for Custom Hostnames", description: "Retrieves the current fallback origin configuration for custom hostnames on a zone. The fallback origin handles traffic when specific custom hostname origins are unavailable.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_fallback_origin_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-2": tls_certificates_and_hostnames_created_at_2_output, - "tls-certificates-and-hostnames_errors": tls_certificates_and_hostnames_errors_output, - "tls-certificates-and-hostnames_fallback_origin_response": tls_certificates_and_hostnames_fallback_origin_response_output, - "tls-certificates-and-hostnames_fallbackorigin": tls_certificates_and_hostnames_fallbackorigin_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin_output, - "tls-certificates-and-hostnames_status-4": tls_certificates_and_hostnames_status_4_output, - "tls-certificates-and-hostnames_updated_at": tls_certificates_and_hostnames_updated_at_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, + "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, + "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, + "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, + "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, + "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, annotations: { @@ -190,16 +206,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-2": tls_certificates_and_hostnames_created_at_2_output, - "tls-certificates-and-hostnames_errors": tls_certificates_and_hostnames_errors_output, - "tls-certificates-and-hostnames_fallback_origin_response": tls_certificates_and_hostnames_fallback_origin_response_output, - "tls-certificates-and-hostnames_fallbackorigin": tls_certificates_and_hostnames_fallbackorigin_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin_output, - "tls-certificates-and-hostnames_status-4": tls_certificates_and_hostnames_status_4_output, - "tls-certificates-and-hostnames_updated_at": tls_certificates_and_hostnames_updated_at_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, + "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, + "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, + "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, + "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, + "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, request: (args) => ({ @@ -207,7 +223,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_hostnames_fallback_origin_update", + name: "customHostnames_fallbackOrigin_update", title: "Update Fallback Origin for Custom Hostnames", description: "Updates the fallback origin configuration for custom hostnames on a zone. Sets the default origin server for custom hostname traffic.", inputSchema: { @@ -225,32 +241,40 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_fallback_origin_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-2": tls_certificates_and_hostnames_created_at_2_output, - "tls-certificates-and-hostnames_errors": tls_certificates_and_hostnames_errors_output, - "tls-certificates-and-hostnames_fallback_origin_response": tls_certificates_and_hostnames_fallback_origin_response_output, - "tls-certificates-and-hostnames_fallbackorigin": tls_certificates_and_hostnames_fallbackorigin_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin_output, - "tls-certificates-and-hostnames_status-4": tls_certificates_and_hostnames_status_4_output, - "tls-certificates-and-hostnames_updated_at": tls_certificates_and_hostnames_updated_at_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, + "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, + "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, + "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, + "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, + "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, annotations: { @@ -295,16 +319,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-2": tls_certificates_and_hostnames_created_at_2_output, - "tls-certificates-and-hostnames_errors": tls_certificates_and_hostnames_errors_output, - "tls-certificates-and-hostnames_fallback_origin_response": tls_certificates_and_hostnames_fallback_origin_response_output, - "tls-certificates-and-hostnames_fallbackorigin": tls_certificates_and_hostnames_fallbackorigin_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin": tls_certificates_and_hostnames_origin_output, - "tls-certificates-and-hostnames_status-4": tls_certificates_and_hostnames_status_4_output, - "tls-certificates-and-hostnames_updated_at": tls_certificates_and_hostnames_updated_at_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, + "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, + "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, + "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, + "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, + "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customHostnames/outputs.ts b/src/generated/forge-mcp/customHostnames/outputs.ts index 1a80cb85f..e5baa8cec 100644 --- a/src/generated/forge-mcp/customHostnames/outputs.ts +++ b/src/generated/forge-mcp/customHostnames/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../_/tool.js"; * The schema of `tls-certificates-and-hostnames_certificate_authority` in * responses. */ -export const tls_certificates_and_hostnames_certificate_authority_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_authority: JsonSchema = { "enum": [ "digicert", "google", @@ -20,7 +20,7 @@ export const tls_certificates_and_hostnames_certificate_authority_output: JsonSc /** * The schema of `tls-certificates-and-hostnames_created_at` in responses. */ -export const tls_certificates_and_hostnames_created_at_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_created_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -28,7 +28,7 @@ export const tls_certificates_and_hostnames_created_at_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_custom-hostname` in responses. */ -export const tls_certificates_and_hostnames_custom_hostname_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom$$hostname: JsonSchema = { "allOf": [ { "properties": { @@ -59,7 +59,7 @@ export const tls_certificates_and_hostnames_custom_hostname_output: JsonSchema = * `tls-certificates-and-hostnames_custom_hostname_api_response_common` in * responses. */ -export const tls_certificates_and_hostnames_custom_hostname_api_response_common_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_hostname_api_response_common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/tls-certificates-and-hostnames_messages" @@ -86,7 +86,7 @@ export const tls_certificates_and_hostnames_custom_hostname_api_response_common_ * The schema of `tls-certificates-and-hostnames_custom_hostname_identifier` in * responses. */ -export const tls_certificates_and_hostnames_custom_hostname_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_hostname_identifier: JsonSchema = { "type": "string" }; @@ -95,7 +95,7 @@ export const tls_certificates_and_hostnames_custom_hostname_identifier_output: J * `tls-certificates-and-hostnames_custom_hostname_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_custom_hostname_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_hostname_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_api_response_common" @@ -122,7 +122,7 @@ export const tls_certificates_and_hostnames_custom_hostname_response_collection_ * `tls-certificates-and-hostnames_custom_hostname_response_messages` in * responses. */ -export const tls_certificates_and_hostnames_custom_hostname_response_messages_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_hostname_response_messages: JsonSchema = { "items": { "type": "string" }, @@ -134,7 +134,7 @@ export const tls_certificates_and_hostnames_custom_hostname_response_messages_ou * `tls-certificates-and-hostnames_custom_hostname_response_single` in * responses. */ -export const tls_certificates_and_hostnames_custom_hostname_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_hostname_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_api_response_common" @@ -153,7 +153,7 @@ export const tls_certificates_and_hostnames_custom_hostname_response_single_outp /** * The schema of `tls-certificates-and-hostnames_custom_metadata` in responses. */ -export const tls_certificates_and_hostnames_custom_metadata_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_metadata: JsonSchema = { "additionalProperties": { "type": "string" }, @@ -164,7 +164,7 @@ export const tls_certificates_and_hostnames_custom_metadata_output: JsonSchema = * The schema of `tls-certificates-and-hostnames_custom_origin_server` in * responses. */ -export const tls_certificates_and_hostnames_custom_origin_server_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_origin_server: JsonSchema = { "type": "string" }; @@ -172,14 +172,14 @@ export const tls_certificates_and_hostnames_custom_origin_server_output: JsonSch * The schema of `tls-certificates-and-hostnames_custom_origin_sni` in * responses. */ -export const tls_certificates_and_hostnames_custom_origin_sni_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_origin_sni: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_customhostname` in responses. */ -export const tls_certificates_and_hostnames_customhostname_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_customhostname: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/tls-certificates-and-hostnames_created_at" @@ -221,7 +221,7 @@ export const tls_certificates_and_hostnames_customhostname_output: JsonSchema = /** * The schema of `tls-certificates-and-hostnames_hostname` in responses. */ -export const tls_certificates_and_hostnames_hostname_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname: JsonSchema = { "type": "string" }; @@ -229,7 +229,7 @@ export const tls_certificates_and_hostnames_hostname_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_ownership_verification` in * responses. */ -export const tls_certificates_and_hostnames_ownership_verification_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ownership_verification: JsonSchema = { "properties": { "name": { "type": "string" @@ -251,7 +251,7 @@ export const tls_certificates_and_hostnames_ownership_verification_output: JsonS * The schema of `tls-certificates-and-hostnames_ownership_verification_http` in * responses. */ -export const tls_certificates_and_hostnames_ownership_verification_http_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ownership_verification_http: JsonSchema = { "properties": { "http_body": { "type": "string" @@ -266,7 +266,7 @@ export const tls_certificates_and_hostnames_ownership_verification_http_output: /** * The schema of `tls-certificates-and-hostnames_result_info` in responses. */ -export const tls_certificates_and_hostnames_result_info_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -290,7 +290,7 @@ export const tls_certificates_and_hostnames_result_info_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_ssl` in responses. */ -export const tls_certificates_and_hostnames_ssl_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ssl: JsonSchema = { "properties": { "bundle_method": { "enum": [ @@ -414,7 +414,7 @@ export const tls_certificates_and_hostnames_ssl_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_sslsettings` in responses. */ -export const tls_certificates_and_hostnames_sslsettings_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_sslsettings: JsonSchema = { "properties": { "ciphers": { "items": { @@ -459,7 +459,7 @@ export const tls_certificates_and_hostnames_sslsettings_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_status-3` in responses. */ -export const tls_certificates_and_hostnames_status_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$3: JsonSchema = { "enum": [ "active", "pending", @@ -485,7 +485,7 @@ export const tls_certificates_and_hostnames_status_3_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_verification_errors` in * responses. */ -export const tls_certificates_and_hostnames_verification_errors_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_verification_errors: JsonSchema = { "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/customHostnames/quota/outputs.ts b/src/generated/forge-mcp/customHostnames/quota/outputs.ts index 93b1f8a0f..e960cd1a9 100644 --- a/src/generated/forge-mcp/customHostnames/quota/outputs.ts +++ b/src/generated/forge-mcp/customHostnames/quota/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../_/tool.js"; * `tls-certificates-and-hostnames_custom_hostname_api_response_failure` in * responses. */ -export const tls_certificates_and_hostnames_custom_hostname_api_response_failure_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_hostname_api_response_failure: JsonSchema = { "properties": { "errors": { "allOf": [ @@ -50,7 +50,7 @@ export const tls_certificates_and_hostnames_custom_hostname_api_response_failure * The schema of `tls-certificates-and-hostnames_custom_hostname_quota` in * responses. */ -export const tls_certificates_and_hostnames_custom_hostname_quota_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_hostname_quota: JsonSchema = { "properties": { "allocated": { "type": "integer" @@ -78,7 +78,7 @@ export const tls_certificates_and_hostnames_custom_hostname_quota_output: JsonSc * The schema of `tls-certificates-and-hostnames_custom_hostname_quota_response` * in responses. */ -export const tls_certificates_and_hostnames_custom_hostname_quota_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_hostname_quota_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_api_response_common" diff --git a/src/generated/forge-mcp/customHostnames/quota/tools.ts b/src/generated/forge-mcp/customHostnames/quota/tools.ts index 34d7339c2..1e0518a03 100644 --- a/src/generated/forge-mcp/customHostnames/quota/tools.ts +++ b/src/generated/forge-mcp/customHostnames/quota/tools.ts @@ -2,49 +2,57 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { tls_certificates_and_hostnames_messages_output } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_messages } from "../../outputs.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - tls_certificates_and_hostnames_custom_hostname_response_messages_output, + tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + tls$$certificates$$and$$hostnames_custom_hostname_response_messages, } from "../outputs.js"; import { - tls_certificates_and_hostnames_custom_hostname_api_response_failure_output, - tls_certificates_and_hostnames_custom_hostname_quota_output, - tls_certificates_and_hostnames_custom_hostname_quota_response_output, + tls$$certificates$$and$$hostnames_custom_hostname_api_response_failure, + tls$$certificates$$and$$hostnames_custom_hostname_quota, + tls$$certificates$$and$$hostnames_custom_hostname_quota_response, } from "./outputs.js"; /** - * The tools of `custom_hostnames.quota`. + * The tools of `customHostnames.quota`. */ export const tools: readonly Tool[] = [ { - name: "custom_hostnames_quota_get", + name: "customHostnames_quota_get", title: "Get Custom Hostname Quota", description: "Returns custom hostname quota usage for a zone. The allocated quota is a soft limit; creating custom hostnames after usage exceeds this limit can still succeed until the hard cap is reached. Use the exceeded and hard_cap fields to track when usage is above the soft limit and when new custom hostname creation will be rejected.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_quota_response", $defs: { - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_quota": tls_certificates_and_hostnames_custom_hostname_quota_output, - "tls-certificates-and-hostnames_custom_hostname_quota_response": tls_certificates_and_hostnames_custom_hostname_quota_response_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_quota": tls$$certificates$$and$$hostnames_custom_hostname_quota, + "tls-certificates-and-hostnames_custom_hostname_quota_response": tls$$certificates$$and$$hostnames_custom_hostname_quota_response, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -78,12 +86,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_failure": tls_certificates_and_hostnames_custom_hostname_api_response_failure_output, - "tls-certificates-and-hostnames_custom_hostname_quota": tls_certificates_and_hostnames_custom_hostname_quota_output, - "tls-certificates-and-hostnames_custom_hostname_quota_response": tls_certificates_and_hostnames_custom_hostname_quota_response_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_api_response_failure": tls$$certificates$$and$$hostnames_custom_hostname_api_response_failure, + "tls-certificates-and-hostnames_custom_hostname_quota": tls$$certificates$$and$$hostnames_custom_hostname_quota, + "tls-certificates-and-hostnames_custom_hostname_quota_response": tls$$certificates$$and$$hostnames_custom_hostname_quota_response, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customHostnames/schemas.ts b/src/generated/forge-mcp/customHostnames/schemas.ts index b460e0527..c2f5182d8 100644 --- a/src/generated/forge-mcp/customHostnames/schemas.ts +++ b/src/generated/forge-mcp/customHostnames/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_certificate_authority`. */ -export const tls_certificates_and_hostnames_certificate_authority: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_authority: JsonSchema = { "description": "The Certificate Authority that will issue the certificate.", "enum": [ "digicert", @@ -20,7 +20,7 @@ export const tls_certificates_and_hostnames_certificate_authority: JsonSchema = /** * The schema of `tls-certificates-and-hostnames_custom_cert_and_key`. */ -export const tls_certificates_and_hostnames_custom_cert_and_key: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_cert_and_key: JsonSchema = { "properties": { "custom_certificate": { "description": "If a custom uploaded certificate is used.", @@ -41,7 +41,7 @@ export const tls_certificates_and_hostnames_custom_cert_and_key: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_custom_cert_bundle`. */ -export const tls_certificates_and_hostnames_custom_cert_bundle: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_cert_bundle: JsonSchema = { "description": "Array of custom certificate and key pairs (1 or 2 pairs allowed).", "items": { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_cert_and_key" @@ -54,7 +54,7 @@ export const tls_certificates_and_hostnames_custom_cert_bundle: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_custom_hostname_identifier`. */ -export const tls_certificates_and_hostnames_custom_hostname_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_hostname_identifier: JsonSchema = { "description": "Custom hostname identifier tag.", "type": "string" }; @@ -62,7 +62,7 @@ export const tls_certificates_and_hostnames_custom_hostname_identifier: JsonSche /** * The schema of `tls-certificates-and-hostnames_custom_metadata`. */ -export const tls_certificates_and_hostnames_custom_metadata: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_metadata: JsonSchema = { "additionalProperties": { "type": "string" }, @@ -73,7 +73,7 @@ export const tls_certificates_and_hostnames_custom_metadata: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_custom_origin_server`. */ -export const tls_certificates_and_hostnames_custom_origin_server: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_origin_server: JsonSchema = { "description": "a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.", "type": "string" }; @@ -81,7 +81,7 @@ export const tls_certificates_and_hostnames_custom_origin_server: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_custom_origin_sni`. */ -export const tls_certificates_and_hostnames_custom_origin_sni: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_origin_sni: JsonSchema = { "description": "A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.", "type": "string" }; @@ -89,7 +89,7 @@ export const tls_certificates_and_hostnames_custom_origin_sni: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_hostname_post`. */ -export const tls_certificates_and_hostnames_hostname_post: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_post: JsonSchema = { "description": "The custom hostname that will point to your hostname via CNAME.", "type": "string" }; @@ -97,7 +97,7 @@ export const tls_certificates_and_hostnames_hostname_post: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_sslpost`. */ -export const tls_certificates_and_hostnames_sslpost: JsonSchema = { +export const tls$$certificates$$and$$hostnames_sslpost: JsonSchema = { "description": "SSL properties used when creating the custom hostname.", "properties": { "bundle_method": { @@ -165,7 +165,7 @@ export const tls_certificates_and_hostnames_sslpost: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_sslsettings`. */ -export const tls_certificates_and_hostnames_sslsettings: JsonSchema = { +export const tls$$certificates$$and$$hostnames_sslsettings: JsonSchema = { "description": "SSL specific settings.", "properties": { "ciphers": { diff --git a/src/generated/forge-mcp/customHostnames/tools.ts b/src/generated/forge-mcp/customHostnames/tools.ts index c7d929a51..27643c05f 100644 --- a/src/generated/forge-mcp/customHostnames/tools.ts +++ b/src/generated/forge-mcp/customHostnames/tools.ts @@ -1,54 +1,54 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_validation_record_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_validation_record, } from "../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../schemas.js"; import { - tls_certificates_and_hostnames_certificate_authority_output, - tls_certificates_and_hostnames_created_at_output, - tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - tls_certificates_and_hostnames_custom_hostname_identifier_output, - tls_certificates_and_hostnames_custom_hostname_output, - tls_certificates_and_hostnames_custom_hostname_response_collection_output, - tls_certificates_and_hostnames_custom_hostname_response_messages_output, - tls_certificates_and_hostnames_custom_hostname_response_single_output, - tls_certificates_and_hostnames_custom_metadata_output, - tls_certificates_and_hostnames_custom_origin_server_output, - tls_certificates_and_hostnames_custom_origin_sni_output, - tls_certificates_and_hostnames_customhostname_output, - tls_certificates_and_hostnames_hostname_output, - tls_certificates_and_hostnames_ownership_verification_http_output, - tls_certificates_and_hostnames_ownership_verification_output, - tls_certificates_and_hostnames_result_info_output, - tls_certificates_and_hostnames_ssl_output, - tls_certificates_and_hostnames_sslsettings_output, - tls_certificates_and_hostnames_status_3_output, - tls_certificates_and_hostnames_verification_errors_output, + tls$$certificates$$and$$hostnames_certificate_authority, + tls$$certificates$$and$$hostnames_created_at, + tls$$certificates$$and$$hostnames_custom$$hostname, + tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + tls$$certificates$$and$$hostnames_custom_hostname_identifier, + tls$$certificates$$and$$hostnames_custom_hostname_response_collection, + tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + tls$$certificates$$and$$hostnames_custom_hostname_response_single, + tls$$certificates$$and$$hostnames_custom_metadata, + tls$$certificates$$and$$hostnames_custom_origin_server, + tls$$certificates$$and$$hostnames_custom_origin_sni, + tls$$certificates$$and$$hostnames_customhostname, + tls$$certificates$$and$$hostnames_hostname, + tls$$certificates$$and$$hostnames_ownership_verification, + tls$$certificates$$and$$hostnames_ownership_verification_http, + tls$$certificates$$and$$hostnames_result_info, + tls$$certificates$$and$$hostnames_ssl, + tls$$certificates$$and$$hostnames_sslsettings, + tls$$certificates$$and$$hostnames_status$$3, + tls$$certificates$$and$$hostnames_verification_errors, } from "./outputs.js"; import { - tls_certificates_and_hostnames_certificate_authority, - tls_certificates_and_hostnames_custom_cert_and_key, - tls_certificates_and_hostnames_custom_cert_bundle, - tls_certificates_and_hostnames_custom_hostname_identifier, - tls_certificates_and_hostnames_custom_metadata, - tls_certificates_and_hostnames_custom_origin_server, - tls_certificates_and_hostnames_custom_origin_sni, - tls_certificates_and_hostnames_hostname_post, - tls_certificates_and_hostnames_sslpost, - tls_certificates_and_hostnames_sslsettings, + tls$$certificates$$and$$hostnames_certificate_authority as tls$$certificates$$and$$hostnames_certificate_authority$, + tls$$certificates$$and$$hostnames_custom_cert_and_key, + tls$$certificates$$and$$hostnames_custom_cert_bundle, + tls$$certificates$$and$$hostnames_custom_hostname_identifier as tls$$certificates$$and$$hostnames_custom_hostname_identifier$, + tls$$certificates$$and$$hostnames_custom_metadata as tls$$certificates$$and$$hostnames_custom_metadata$, + tls$$certificates$$and$$hostnames_custom_origin_server as tls$$certificates$$and$$hostnames_custom_origin_server$, + tls$$certificates$$and$$hostnames_custom_origin_sni as tls$$certificates$$and$$hostnames_custom_origin_sni$, + tls$$certificates$$and$$hostnames_hostname_post, + tls$$certificates$$and$$hostnames_sslpost, + tls$$certificates$$and$$hostnames_sslsettings as tls$$certificates$$and$$hostnames_sslsettings$, } from "./schemas.js"; /** - * The tools of `custom_hostnames`. + * The tools of `customHostnames`. */ export const tools: readonly Tool[] = [ { - name: "custom_hostnames_create", + name: "customHostnames_create", title: "Create Custom Hostname", description: "Add a new custom hostname and request that an SSL certificate be issued for it. One of three validation methods—http, txt, email—should be used, with 'http' recommended if the CNAME is already in place (or will be soon). Specifying 'email' will send an email to the WHOIS contacts on file for the base domain plus hostmaster, postmaster, webmaster, admin, administrator. If http is used and the domain is not already pointing to the Managed CNAME host, the PATCH method must be used once it is (to complete validation). Enable bundling of certificates using the custom_cert_bundle field. The bundling process requires the following condition One certificate in the bundle must use an RSA, and the other must use an ECDSA.", inputSchema: { @@ -82,51 +82,59 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority, - "tls-certificates-and-hostnames_custom_cert_and_key": tls_certificates_and_hostnames_custom_cert_and_key, - "tls-certificates-and-hostnames_custom_cert_bundle": tls_certificates_and_hostnames_custom_cert_bundle, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni, - "tls-certificates-and-hostnames_hostname_post": tls_certificates_and_hostnames_hostname_post, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_sslpost": tls_certificates_and_hostnames_sslpost, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority$, + "tls-certificates-and-hostnames_custom_cert_and_key": tls$$certificates$$and$$hostnames_custom_cert_and_key, + "tls-certificates-and-hostnames_custom_cert_bundle": tls$$certificates$$and$$hostnames_custom_cert_bundle, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata$, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server$, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni$, + "tls-certificates-and-hostnames_hostname_post": tls$$certificates$$and$$hostnames_hostname_post, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_sslpost": tls$$certificates$$and$$hostnames_sslpost, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, annotations: { @@ -171,27 +179,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, request: (args) => ({ @@ -200,28 +208,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_hostnames_delete", + name: "customHostnames_delete", title: "Delete Custom Hostname (and any issued SSL certificates)", description: "Permanently deletes a custom hostname and revokes any SSL certificates that were issued for it. This action cannot be undone.", inputSchema: { type: "object", properties: { - "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "custom_hostname_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", + "description": "Custom hostname identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_hostname_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_hostname_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { @@ -232,7 +248,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, }, }, annotations: { @@ -287,9 +303,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -297,7 +313,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_hostnames_edit", + name: "customHostnames_edit", title: "Edit Custom Hostname", description: "Modify SSL configuration for a custom hostname. When sent with SSL config that matches existing config, used to indicate that hostname should pass domain control validation (DCV). Can also be used to change validation type, e.g., from 'http' to 'email'. Bundle an existing certificate with another certificate by using the \"custom_cert_bundle\" field. The bundling process supports combining certificates as long as the following condition is met. One certificate must use the RSA algorithm, and the other must use the ECDSA algorithm.", inputSchema: { @@ -324,56 +340,64 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "custom_hostname_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", + "description": "Custom hostname identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_hostname_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_hostname_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority, - "tls-certificates-and-hostnames_custom_cert_and_key": tls_certificates_and_hostnames_custom_cert_and_key, - "tls-certificates-and-hostnames_custom_cert_bundle": tls_certificates_and_hostnames_custom_cert_bundle, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_sslpost": tls_certificates_and_hostnames_sslpost, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority$, + "tls-certificates-and-hostnames_custom_cert_and_key": tls$$certificates$$and$$hostnames_custom_cert_and_key, + "tls-certificates-and-hostnames_custom_cert_bundle": tls$$certificates$$and$$hostnames_custom_cert_bundle, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata$, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server$, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_sslpost": tls$$certificates$$and$$hostnames_sslpost, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, annotations: { @@ -418,27 +442,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, request: (args) => ({ @@ -447,53 +471,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_hostnames_get", + name: "customHostnames_get", title: "Custom Hostname Details", description: "Retrieves detailed information about a specific custom hostname, including SSL certificate status, ownership verification, and origin configuration.", inputSchema: { type: "object", properties: { - "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "custom_hostname_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", + "description": "Custom hostname identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_hostname_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_hostname_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, annotations: { @@ -539,27 +571,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_hostname_response_single": tls_certificates_and_hostnames_custom_hostname_response_single_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, request: (args) => ({ @@ -567,170 +599,183 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_hostnames_list", + name: "customHostnames_list", title: "List Custom Hostnames", description: "List, search, sort, and filter all of your custom hostnames.", inputSchema: { type: "object", properties: { - "certificate_authority": { - "description": "Filter by the certificate authority that issued the SSL certificate.", - "enum": [ - "google", - "lets_encrypt", - "ssl_com" - ], - "type": "string" - }, - "custom_origin_server": { - "description": "Filter by custom origin server name.", - "type": "string" - }, - "direction": { - "description": "Direction to order hostnames.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "hostname": { - "description": "Fully qualified domain name to match against. This parameter cannot be used with the 'id', 'hostname.exact', 'hostname.contain', or 'hostname.startsWith' parameters.", - "type": "string" - }, - "hostname_contain": { - "description": "Filters hostnames by a substring match on the hostname value. This parameter cannot be used with the 'id', 'hostname', 'hostname.exact', or 'hostname.startsWith' parameters.", - "type": "string" - }, - "hostname_exact": { - "description": "Fully qualified domain name to match against. This parameter cannot be used with the 'id', 'hostname', 'hostname.contain', or 'hostname.startsWith' parameters.", - "type": "string" - }, - "hostname_starts_with": { - "description": "Filters hostnames by a prefix match on the hostname value. This parameter cannot be used with the 'id', 'hostname', 'hostname.exact', or 'hostname.contain' parameters.", - "type": "string" - }, - "hostname_status": { - "description": "Filter by the hostname's activation status.", - "enum": [ - "active", - "pending", - "active_redeploying", - "moved", - "pending_deletion", - "deleted", - "pending_blocked", - "pending_migration", - "pending_provisioned", - "test_pending", - "test_active", - "test_active_apex", - "test_blocked", - "test_failed", - "provisioned", - "blocked" - ], - "type": "string" - }, - "id": { - "description": "Hostname ID to match against. This ID was generated and returned during the initial custom_hostname creation. This parameter cannot be used with the 'hostname', 'hostname.exact', 'hostname.contain', or 'hostname.startsWith' parameters.", - "type": "string" - }, - "order": { - "default": "ssl", - "description": "Field to order hostnames by.", - "enum": [ - "ssl", - "ssl_status" - ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Number of hostnames per page.", - "type": "number" - }, - "ssl": { - "default": 0, - "description": "Whether to filter hostnames based on if they have SSL enabled.", - "enum": [ - 0, - 1 - ], - "type": "integer" - }, - "ssl_status": { - "description": "Filter by SSL certificate status.", - "enum": [ - "initializing", - "pending_validation", - "deleted", - "pending_issuance", - "pending_deployment", - "pending_deletion", - "pending_expiration", - "expired", - "active", - "initializing_timed_out", - "validation_timed_out", - "issuance_timed_out", - "deployment_timed_out", - "deletion_timed_out", - "pending_cleanup", - "staging_deployment", - "staging_active", - "deactivating", - "inactive", - "backup_issued", - "holding_deployment" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" ], - "type": "string" - }, - "wildcard": { - "description": "Filter by whether the custom hostname is a wildcard hostname.", - "type": "boolean" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "query": { + "properties": { + "certificate_authority": { + "description": "Filter by the certificate authority that issued the SSL certificate.", + "enum": [ + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" + }, + "custom_origin_server": { + "description": "Filter by custom origin server name.", + "type": "string" + }, + "direction": { + "description": "Direction to order hostnames.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "hostname": { + "description": "Fully qualified domain name to match against. This parameter cannot be used with the 'id', 'hostname.exact', 'hostname.contain', or 'hostname.startsWith' parameters.", + "type": "string" + }, + "hostname.contain": { + "description": "Filters hostnames by a substring match on the hostname value. This parameter cannot be used with the 'id', 'hostname', 'hostname.exact', or 'hostname.startsWith' parameters.", + "type": "string" + }, + "hostname.exact": { + "description": "Fully qualified domain name to match against. This parameter cannot be used with the 'id', 'hostname', 'hostname.contain', or 'hostname.startsWith' parameters.", + "type": "string" + }, + "hostname.startsWith": { + "description": "Filters hostnames by a prefix match on the hostname value. This parameter cannot be used with the 'id', 'hostname', 'hostname.exact', or 'hostname.contain' parameters.", + "type": "string" + }, + "hostname_status": { + "description": "Filter by the hostname's activation status.", + "enum": [ + "active", + "pending", + "active_redeploying", + "moved", + "pending_deletion", + "deleted", + "pending_blocked", + "pending_migration", + "pending_provisioned", + "test_pending", + "test_active", + "test_active_apex", + "test_blocked", + "test_failed", + "provisioned", + "blocked" + ], + "type": "string" + }, + "id": { + "description": "Hostname ID to match against. This ID was generated and returned during the initial custom_hostname creation. This parameter cannot be used with the 'hostname', 'hostname.exact', 'hostname.contain', or 'hostname.startsWith' parameters.", + "type": "string" + }, + "order": { + "default": "ssl", + "description": "Field to order hostnames by.", + "enum": [ + "ssl", + "ssl_status" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Number of hostnames per page.", + "type": "number" + }, + "ssl": { + "default": 0, + "description": "Whether to filter hostnames based on if they have SSL enabled.", + "enum": [ + 0, + 1 + ], + "type": "integer" + }, + "ssl_status": { + "description": "Filter by SSL certificate status.", + "enum": [ + "initializing", + "pending_validation", + "deleted", + "pending_issuance", + "pending_deployment", + "pending_deletion", + "pending_expiration", + "expired", + "active", + "initializing_timed_out", + "validation_timed_out", + "issuance_timed_out", + "deployment_timed_out", + "deletion_timed_out", + "pending_cleanup", + "staging_deployment", + "staging_active", + "deactivating", + "inactive", + "backup_issued", + "holding_deployment" + ], + "type": "string" + }, + "wildcard": { + "description": "Filter by whether the custom hostname is a wildcard hostname.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_collection", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_collection": tls_certificates_and_hostnames_custom_hostname_response_collection_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_result_info": tls_certificates_and_hostnames_result_info_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_collection": tls$$certificates$$and$$hostnames_custom_hostname_response_collection, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_result_info": tls$$certificates$$and$$hostnames_result_info, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, annotations: { @@ -776,48 +821,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate_authority": tls_certificates_and_hostnames_certificate_authority_output, - "tls-certificates-and-hostnames_created_at": tls_certificates_and_hostnames_created_at_output, - "tls-certificates-and-hostnames_custom-hostname": tls_certificates_and_hostnames_custom_hostname_output, - "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls_certificates_and_hostnames_custom_hostname_api_response_common_output, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls_certificates_and_hostnames_custom_hostname_identifier_output, - "tls-certificates-and-hostnames_custom_hostname_response_collection": tls_certificates_and_hostnames_custom_hostname_response_collection_output, - "tls-certificates-and-hostnames_custom_hostname_response_messages": tls_certificates_and_hostnames_custom_hostname_response_messages_output, - "tls-certificates-and-hostnames_custom_metadata": tls_certificates_and_hostnames_custom_metadata_output, - "tls-certificates-and-hostnames_custom_origin_server": tls_certificates_and_hostnames_custom_origin_server_output, - "tls-certificates-and-hostnames_custom_origin_sni": tls_certificates_and_hostnames_custom_origin_sni_output, - "tls-certificates-and-hostnames_customhostname": tls_certificates_and_hostnames_customhostname_output, - "tls-certificates-and-hostnames_hostname": tls_certificates_and_hostnames_hostname_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ownership_verification": tls_certificates_and_hostnames_ownership_verification_output, - "tls-certificates-and-hostnames_ownership_verification_http": tls_certificates_and_hostnames_ownership_verification_http_output, - "tls-certificates-and-hostnames_result_info": tls_certificates_and_hostnames_result_info_output, - "tls-certificates-and-hostnames_ssl": tls_certificates_and_hostnames_ssl_output, - "tls-certificates-and-hostnames_sslsettings": tls_certificates_and_hostnames_sslsettings_output, - "tls-certificates-and-hostnames_status-3": tls_certificates_and_hostnames_status_3_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_verification_errors": tls_certificates_and_hostnames_verification_errors_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, + "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, + "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, + "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, + "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, + "tls-certificates-and-hostnames_custom_hostname_response_collection": tls$$certificates$$and$$hostnames_custom_hostname_response_collection, + "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, + "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, + "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, + "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, + "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, + "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, + "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, + "tls-certificates-and-hostnames_result_info": tls$$certificates$$and$$hostnames_result_info, + "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, + "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, + "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_hostnames`, query: [ - ["hostname", args["hostname"], true], - ["hostname.exact", args["hostname_exact"], true], - ["hostname.startsWith", args["hostname_starts_with"], true], - ["hostname.contain", args["hostname_contain"], true], - ["id", args["id"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["ssl_status", args["ssl_status"], true], - ["hostname_status", args["hostname_status"], true], - ["certificate_authority", args["certificate_authority"], true], - ["wildcard", args["wildcard"], true], - ["custom_origin_server", args["custom_origin_server"], true], - ["ssl", args["ssl"], true], + ["hostname", param(args, "query", "hostname"), true], + ["hostname.exact", param(args, "query", "hostname.exact"), true], + ["hostname.startsWith", param(args, "query", "hostname.startsWith"), true], + ["hostname.contain", param(args, "query", "hostname.contain"), true], + ["id", param(args, "query", "id"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["ssl_status", param(args, "query", "ssl_status"), true], + ["hostname_status", param(args, "query", "hostname_status"), true], + ["certificate_authority", param(args, "query", "certificate_authority"), true], + ["wildcard", param(args, "query", "wildcard"), true], + ["custom_origin_server", param(args, "query", "custom_origin_server"), true], + ["ssl", param(args, "query", "ssl"), true], ], }), }, diff --git a/src/generated/forge-mcp/customNameservers/outputs.ts b/src/generated/forge-mcp/customNameservers/outputs.ts index f525c44fc..f64d9cb3f 100644 --- a/src/generated/forge-mcp/customNameservers/outputs.ts +++ b/src/generated/forge-mcp/customNameservers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `dns-custom-nameservers_CustomNS` in responses. */ -export const dns_custom_nameservers_CustomNS_output: JsonSchema = { +export const dns$$custom$$nameservers_CustomNS: JsonSchema = { "properties": { "dns_records": { "items": { @@ -56,7 +56,7 @@ export const dns_custom_nameservers_CustomNS_output: JsonSchema = { /** * The schema of `dns-custom-nameservers_acns_response_collection` in responses. */ -export const dns_custom_nameservers_acns_response_collection_output: JsonSchema = { +export const dns$$custom$$nameservers_acns_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-custom-nameservers_api-response-collection" @@ -78,7 +78,7 @@ export const dns_custom_nameservers_acns_response_collection_output: JsonSchema /** * The schema of `dns-custom-nameservers_acns_response_single` in responses. */ -export const dns_custom_nameservers_acns_response_single_output: JsonSchema = { +export const dns$$custom$$nameservers_acns_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-custom-nameservers_api-response-single" @@ -97,7 +97,7 @@ export const dns_custom_nameservers_acns_response_single_output: JsonSchema = { /** * The schema of `dns-custom-nameservers_empty_response` in responses. */ -export const dns_custom_nameservers_empty_response_output: JsonSchema = { +export const dns$$custom$$nameservers_empty_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-custom-nameservers_api-response-collection" diff --git a/src/generated/forge-mcp/customNameservers/schemas.ts b/src/generated/forge-mcp/customNameservers/schemas.ts index 363c7ad5f..d809ce4a8 100644 --- a/src/generated/forge-mcp/customNameservers/schemas.ts +++ b/src/generated/forge-mcp/customNameservers/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `dns-custom-nameservers_identifier`. */ -export const dns_custom_nameservers_identifier: JsonSchema = { +export const dns$$custom$$nameservers_identifier: JsonSchema = { "description": "Account identifier tag.", "type": "string" }; diff --git a/src/generated/forge-mcp/customNameservers/tools.ts b/src/generated/forge-mcp/customNameservers/tools.ts index f36a2c0aa..94d65cb22 100644 --- a/src/generated/forge-mcp/customNameservers/tools.ts +++ b/src/generated/forge-mcp/customNameservers/tools.ts @@ -3,77 +3,85 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - dns_custom_nameservers_api_response_collection_output, - dns_custom_nameservers_api_response_common_failure_output, - dns_custom_nameservers_api_response_common_output, - dns_custom_nameservers_api_response_single_output, - dns_custom_nameservers_identifier_2_output, - dns_custom_nameservers_messages_output, - dns_custom_nameservers_ns_name_output, - dns_custom_nameservers_ns_set_output, + dns$$custom$$nameservers_api$$response$$collection, + dns$$custom$$nameservers_api$$response$$common, + dns$$custom$$nameservers_api$$response$$common$$failure, + dns$$custom$$nameservers_api$$response$$single, + dns$$custom$$nameservers_identifier$$2, + dns$$custom$$nameservers_messages, + dns$$custom$$nameservers_ns_name, + dns$$custom$$nameservers_ns_set, } from "../outputs.js"; import { - dns_custom_nameservers_CustomNSInput, - dns_custom_nameservers_ns_name, - dns_custom_nameservers_ns_set, + dns$$custom$$nameservers_CustomNSInput, + dns$$custom$$nameservers_ns_name as dns$$custom$$nameservers_ns_name$, + dns$$custom$$nameservers_ns_set as dns$$custom$$nameservers_ns_set$, } from "../schemas.js"; import { - dns_custom_nameservers_CustomNS_output, - dns_custom_nameservers_acns_response_collection_output, - dns_custom_nameservers_acns_response_single_output, - dns_custom_nameservers_empty_response_output, + dns$$custom$$nameservers_CustomNS, + dns$$custom$$nameservers_acns_response_collection, + dns$$custom$$nameservers_acns_response_single, + dns$$custom$$nameservers_empty_response, } from "./outputs.js"; -import { dns_custom_nameservers_identifier } from "./schemas.js"; +import { dns$$custom$$nameservers_identifier } from "./schemas.js"; /** - * The tools of `custom_nameservers`. + * The tools of `customNameservers`. */ export const tools: readonly Tool[] = [ { - name: "custom_nameservers_create", + name: "customNameservers_create", title: "Add account or zone Custom Nameserver", description: "Adds a custom nameserver to the account or zone for use as a vanity nameserver on zones.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/dns-custom-nameservers_CustomNSInput" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/dns-custom-nameservers_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "dns-custom-nameservers_CustomNSInput": dns_custom_nameservers_CustomNSInput, - "dns-custom-nameservers_identifier": dns_custom_nameservers_identifier, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set, + "dns-custom-nameservers_CustomNSInput": dns$$custom$$nameservers_CustomNSInput, + "dns-custom-nameservers_identifier": dns$$custom$$nameservers_identifier, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name$, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set$, }, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_acns_response_single", $defs: { - "dns-custom-nameservers_CustomNS": dns_custom_nameservers_CustomNS_output, - "dns-custom-nameservers_acns_response_single": dns_custom_nameservers_acns_response_single_output, - "dns-custom-nameservers_api-response-single": dns_custom_nameservers_api_response_single_output, - "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, + "dns-custom-nameservers_CustomNS": dns$$custom$$nameservers_CustomNS, + "dns-custom-nameservers_acns_response_single": dns$$custom$$nameservers_acns_response_single, + "dns-custom-nameservers_api-response-single": dns$$custom$$nameservers_api$$response$$single, + "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, }, }, annotations: { @@ -118,14 +126,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-custom-nameservers_CustomNS": dns_custom_nameservers_CustomNS_output, - "dns-custom-nameservers_acns_response_single": dns_custom_nameservers_acns_response_single_output, - "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, - "dns-custom-nameservers_api-response-single": dns_custom_nameservers_api_response_single_output, - "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, + "dns-custom-nameservers_CustomNS": dns$$custom$$nameservers_CustomNS, + "dns-custom-nameservers_acns_response_single": dns$$custom$$nameservers_acns_response_single, + "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, + "dns-custom-nameservers_api-response-single": dns$$custom$$nameservers_api$$response$$single, + "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, }, }, request: (args) => ({ @@ -134,37 +142,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_nameservers_delete", + name: "customNameservers_delete", title: "Delete Account Custom Nameserver", description: "Removes a custom nameserver from the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier", - "description": "Account identifier tag." - }, - "custom_ns_id": { - "$ref": "#/$defs/dns-custom-nameservers_ns_name", - "description": "The FQDN of the name server." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-custom-nameservers_identifier", + "description": "Account identifier tag." + }, + "custom_ns_id": { + "$ref": "#/$defs/dns-custom-nameservers_ns_name", + "description": "The FQDN of the name server." + } + }, + "required": [ + "account_id", + "custom_ns_id" + ], + "type": "object" } }, required: [ - "account_id", - "custom_ns_id" + "path" ], $defs: { - "dns-custom-nameservers_identifier": dns_custom_nameservers_identifier, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name, + "dns-custom-nameservers_identifier": dns$$custom$$nameservers_identifier, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name$, }, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_empty_response", $defs: { - "dns-custom-nameservers_api-response-collection": dns_custom_nameservers_api_response_collection_output, - "dns-custom-nameservers_api-response-common": dns_custom_nameservers_api_response_common_output, - "dns-custom-nameservers_empty_response": dns_custom_nameservers_empty_response_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, + "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, + "dns-custom-nameservers_empty_response": dns$$custom$$nameservers_empty_response, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, }, }, annotations: { @@ -201,11 +217,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-custom-nameservers_api-response-collection": dns_custom_nameservers_api_response_collection_output, - "dns-custom-nameservers_api-response-common": dns_custom_nameservers_api_response_common_output, - "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, - "dns-custom-nameservers_empty_response": dns_custom_nameservers_empty_response_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, + "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, + "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, + "dns-custom-nameservers_empty_response": dns$$custom$$nameservers_empty_response, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, }, }, request: (args) => ({ @@ -213,44 +229,52 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_nameservers_get", + name: "customNameservers_get", title: "List account or zone Custom Nameservers", description: "List an account or zone's custom nameservers.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/dns-custom-nameservers_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "dns-custom-nameservers_identifier": dns_custom_nameservers_identifier, + "dns-custom-nameservers_identifier": dns$$custom$$nameservers_identifier, }, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_acns_response_collection", $defs: { - "dns-custom-nameservers_CustomNS": dns_custom_nameservers_CustomNS_output, - "dns-custom-nameservers_acns_response_collection": dns_custom_nameservers_acns_response_collection_output, - "dns-custom-nameservers_api-response-collection": dns_custom_nameservers_api_response_collection_output, - "dns-custom-nameservers_api-response-common": dns_custom_nameservers_api_response_common_output, - "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, + "dns-custom-nameservers_CustomNS": dns$$custom$$nameservers_CustomNS, + "dns-custom-nameservers_acns_response_collection": dns$$custom$$nameservers_acns_response_collection, + "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, + "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, + "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, }, }, annotations: { @@ -296,15 +320,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-custom-nameservers_CustomNS": dns_custom_nameservers_CustomNS_output, - "dns-custom-nameservers_acns_response_collection": dns_custom_nameservers_acns_response_collection_output, - "dns-custom-nameservers_api-response-collection": dns_custom_nameservers_api_response_collection_output, - "dns-custom-nameservers_api-response-common": dns_custom_nameservers_api_response_common_output, - "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, - "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, + "dns-custom-nameservers_CustomNS": dns$$custom$$nameservers_CustomNS, + "dns-custom-nameservers_acns_response_collection": dns$$custom$$nameservers_acns_response_collection, + "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, + "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, + "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, + "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customPages/accountAssets/outputs.ts b/src/generated/forge-mcp/customPages/accountAssets/outputs.ts index 245b990ce..8092928f1 100644 --- a/src/generated/forge-mcp/customPages/accountAssets/outputs.ts +++ b/src/generated/forge-mcp/customPages/accountAssets/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `custom-pages_asset_description` in responses. */ -export const custom_pages_asset_description_output: JsonSchema = { +export const custom$$pages_asset_description: JsonSchema = { "type": "string" }; /** * The schema of `custom-pages_asset_name` in responses. */ -export const custom_pages_asset_name_output: JsonSchema = { +export const custom$$pages_asset_name: JsonSchema = { "type": "string" }; /** * The schema of `custom-pages_asset_url` in responses. */ -export const custom_pages_asset_url_output: JsonSchema = { +export const custom$$pages_asset_url: JsonSchema = { "type": "string" }; /** * The schema of `custom-pages_custom_asset` in responses. */ -export const custom_pages_custom_asset_output: JsonSchema = { +export const custom$$pages_custom_asset: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/custom-pages_asset_description" @@ -51,7 +51,7 @@ export const custom_pages_custom_asset_output: JsonSchema = { /** * The schema of `custom-pages_custom_asset_result` in responses. */ -export const custom_pages_custom_asset_result_output: JsonSchema = { +export const custom$$pages_custom_asset_result: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-pages_api-response-single" @@ -70,7 +70,7 @@ export const custom_pages_custom_asset_result_output: JsonSchema = { /** * The schema of `custom-pages_custom_asset_result_list` in responses. */ -export const custom_pages_custom_asset_result_list_output: JsonSchema = { +export const custom$$pages_custom_asset_result_list: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-pages_api-response-collection" diff --git a/src/generated/forge-mcp/customPages/accountAssets/schemas.ts b/src/generated/forge-mcp/customPages/accountAssets/schemas.ts index bd13816f6..b0add67ef 100644 --- a/src/generated/forge-mcp/customPages/accountAssets/schemas.ts +++ b/src/generated/forge-mcp/customPages/accountAssets/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `custom-pages_asset_description`. */ -export const custom_pages_asset_description: JsonSchema = { +export const custom$$pages_asset_description: JsonSchema = { "description": "A short description of the custom asset.", "type": "string" }; @@ -14,7 +14,7 @@ export const custom_pages_asset_description: JsonSchema = { /** * The schema of `custom-pages_asset_name`. */ -export const custom_pages_asset_name: JsonSchema = { +export const custom$$pages_asset_name: JsonSchema = { "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_).", "type": "string" }; @@ -22,7 +22,7 @@ export const custom_pages_asset_name: JsonSchema = { /** * The schema of `custom-pages_asset_url`. */ -export const custom_pages_asset_url: JsonSchema = { +export const custom$$pages_asset_url: JsonSchema = { "description": "The URL where the asset content is fetched from.", "type": "string" }; diff --git a/src/generated/forge-mcp/customPages/accountAssets/tools.ts b/src/generated/forge-mcp/customPages/accountAssets/tools.ts index 3e976aeca..447f4c605 100644 --- a/src/generated/forge-mcp/customPages/accountAssets/tools.ts +++ b/src/generated/forge-mcp/customPages/accountAssets/tools.ts @@ -1,53 +1,41 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - custom_pages_api_response_collection_output, - custom_pages_api_response_common_failure_output, - custom_pages_api_response_common_output, - custom_pages_api_response_single_output, - custom_pages_messages_output, - custom_pages_timestamp_output, + custom$$pages_api$$response$$collection, + custom$$pages_api$$response$$common, + custom$$pages_api$$response$$common$$failure, + custom$$pages_api$$response$$single, + custom$$pages_messages, + custom$$pages_timestamp, } from "../outputs.js"; -import { custom_pages_identifier } from "../schemas.js"; +import { custom$$pages_identifier } from "../schemas.js"; import { - custom_pages_asset_description_output, - custom_pages_asset_name_output, - custom_pages_asset_url_output, - custom_pages_custom_asset_output, - custom_pages_custom_asset_result_list_output, - custom_pages_custom_asset_result_output, + custom$$pages_asset_description, + custom$$pages_asset_name, + custom$$pages_asset_url, + custom$$pages_custom_asset, + custom$$pages_custom_asset_result, + custom$$pages_custom_asset_result_list, } from "./outputs.js"; import { - custom_pages_asset_description, - custom_pages_asset_name, - custom_pages_asset_url, + custom$$pages_asset_description as custom$$pages_asset_description$, + custom$$pages_asset_name as custom$$pages_asset_name$, + custom$$pages_asset_url as custom$$pages_asset_url$, } from "./schemas.js"; /** - * The tools of `custom_pages.account_assets`. + * The tools of `customPages.accountAssets`. */ export const tools: readonly Tool[] = [ { - name: "custom_pages_account_assets_create", + name: "customPages_accountAssets_create", title: "Create a custom asset", description: "Creates a custom asset for an account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "description": { @@ -69,31 +57,51 @@ export const tools: readonly Tool[] = [ "url" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/custom-pages_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "custom-pages_asset_description": custom_pages_asset_description, - "custom-pages_asset_name": custom_pages_asset_name, - "custom-pages_asset_url": custom_pages_asset_url, - "custom-pages_identifier": custom_pages_identifier, + "custom-pages_asset_description": custom$$pages_asset_description$, + "custom-pages_asset_name": custom$$pages_asset_name$, + "custom-pages_asset_url": custom$$pages_asset_url$, + "custom-pages_identifier": custom$$pages_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_asset_result", $defs: { - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_asset_description": custom_pages_asset_description_output, - "custom-pages_asset_name": custom_pages_asset_name_output, - "custom-pages_asset_url": custom_pages_asset_url_output, - "custom-pages_custom_asset": custom_pages_custom_asset_output, - "custom-pages_custom_asset_result": custom_pages_custom_asset_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_asset_description": custom$$pages_asset_description, + "custom-pages_asset_name": custom$$pages_asset_name, + "custom-pages_asset_url": custom$$pages_asset_url, + "custom-pages_custom_asset": custom$$pages_custom_asset, + "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_timestamp": custom$$pages_timestamp, }, }, annotations: { @@ -124,15 +132,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_asset_description": custom_pages_asset_description_output, - "custom-pages_asset_name": custom_pages_asset_name_output, - "custom-pages_asset_url": custom_pages_asset_url_output, - "custom-pages_custom_asset": custom_pages_custom_asset_output, - "custom-pages_custom_asset_result": custom_pages_custom_asset_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_asset_description": custom$$pages_asset_description, + "custom-pages_asset_name": custom$$pages_asset_name, + "custom-pages_asset_url": custom$$pages_asset_url, + "custom-pages_custom_asset": custom$$pages_custom_asset, + "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_timestamp": custom$$pages_timestamp, }, }, request: (args) => ({ @@ -141,37 +149,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_pages_account_assets_delete", + name: "customPages_accountAssets_delete", title: "Delete a custom asset", description: "Deletes a custom asset from an account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/custom-pages_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "asset_name": { + "$ref": "#/$defs/custom-pages_asset_name", + "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "asset_name" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "asset_name": { - "$ref": "#/$defs/custom-pages_asset_name", - "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "asset_name" + "path" ], $defs: { - "custom-pages_asset_name": custom_pages_asset_name, - "custom-pages_identifier": custom_pages_identifier, + "custom-pages_asset_name": custom$$pages_asset_name$, + "custom-pages_identifier": custom$$pages_identifier, }, }, annotations: { @@ -200,8 +216,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, - "custom-pages_messages": custom_pages_messages_output, + "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, + "custom-pages_messages": custom$$pages_messages, }, }, request: (args) => ({ @@ -209,50 +225,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_pages_account_assets_get", + name: "customPages_accountAssets_get", title: "Get a custom asset", description: "Returns a custom asset for an account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/custom-pages_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "asset_name": { + "$ref": "#/$defs/custom-pages_asset_name", + "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "asset_name" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "asset_name": { - "$ref": "#/$defs/custom-pages_asset_name", - "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "asset_name" + "path" ], $defs: { - "custom-pages_asset_name": custom_pages_asset_name, - "custom-pages_identifier": custom_pages_identifier, + "custom-pages_asset_name": custom$$pages_asset_name$, + "custom-pages_identifier": custom$$pages_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_asset_result", $defs: { - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_asset_description": custom_pages_asset_description_output, - "custom-pages_asset_name": custom_pages_asset_name_output, - "custom-pages_asset_url": custom_pages_asset_url_output, - "custom-pages_custom_asset": custom_pages_custom_asset_output, - "custom-pages_custom_asset_result": custom_pages_custom_asset_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_asset_description": custom$$pages_asset_description, + "custom-pages_asset_name": custom$$pages_asset_name, + "custom-pages_asset_url": custom$$pages_asset_url, + "custom-pages_custom_asset": custom$$pages_custom_asset, + "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_timestamp": custom$$pages_timestamp, }, }, annotations: { @@ -283,15 +307,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_asset_description": custom_pages_asset_description_output, - "custom-pages_asset_name": custom_pages_asset_name_output, - "custom-pages_asset_url": custom_pages_asset_url_output, - "custom-pages_custom_asset": custom_pages_custom_asset_output, - "custom-pages_custom_asset_result": custom_pages_custom_asset_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_asset_description": custom$$pages_asset_description, + "custom-pages_asset_name": custom$$pages_asset_name, + "custom-pages_asset_url": custom$$pages_asset_url, + "custom-pages_custom_asset": custom$$pages_custom_asset, + "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_timestamp": custom$$pages_timestamp, }, }, request: (args) => ({ @@ -299,55 +323,68 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_pages_account_assets_list", + name: "customPages_accountAssets_list", title: "List custom assets", description: "Lists custom assets for an account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/custom-pages_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of custom assets per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of custom assets per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "custom-pages_identifier": custom_pages_identifier, + "custom-pages_identifier": custom$$pages_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_asset_result_list", $defs: { - "custom-pages_api-response-collection": custom_pages_api_response_collection_output, - "custom-pages_api-response-common": custom_pages_api_response_common_output, - "custom-pages_asset_description": custom_pages_asset_description_output, - "custom-pages_asset_name": custom_pages_asset_name_output, - "custom-pages_asset_url": custom_pages_asset_url_output, - "custom-pages_custom_asset": custom_pages_custom_asset_output, - "custom-pages_custom_asset_result_list": custom_pages_custom_asset_result_list_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_api-response-collection": custom$$pages_api$$response$$collection, + "custom-pages_api-response-common": custom$$pages_api$$response$$common, + "custom-pages_asset_description": custom$$pages_asset_description, + "custom-pages_asset_name": custom$$pages_asset_name, + "custom-pages_asset_url": custom$$pages_asset_url, + "custom-pages_custom_asset": custom$$pages_custom_asset, + "custom-pages_custom_asset_result_list": custom$$pages_custom_asset_result_list, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_timestamp": custom$$pages_timestamp, }, }, annotations: { @@ -378,49 +415,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-pages_api-response-collection": custom_pages_api_response_collection_output, - "custom-pages_api-response-common": custom_pages_api_response_common_output, - "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, - "custom-pages_asset_description": custom_pages_asset_description_output, - "custom-pages_asset_name": custom_pages_asset_name_output, - "custom-pages_asset_url": custom_pages_asset_url_output, - "custom-pages_custom_asset": custom_pages_custom_asset_output, - "custom-pages_custom_asset_result_list": custom_pages_custom_asset_result_list_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_api-response-collection": custom$$pages_api$$response$$collection, + "custom-pages_api-response-common": custom$$pages_api$$response$$common, + "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, + "custom-pages_asset_description": custom$$pages_asset_description, + "custom-pages_asset_name": custom$$pages_asset_name, + "custom-pages_asset_url": custom$$pages_asset_url, + "custom-pages_custom_asset": custom$$pages_custom_asset, + "custom-pages_custom_asset_result_list": custom$$pages_custom_asset_result_list, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_timestamp": custom$$pages_timestamp, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/custom_pages/assets`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "custom_pages_account_assets_update", + name: "customPages_accountAssets_update", title: "Update a custom asset", description: "Updates a custom asset for an account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "asset_name": { - "$ref": "#/$defs/custom-pages_asset_name", - "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." - }, "body": { "properties": { "description": { @@ -437,32 +458,56 @@ export const tools: readonly Tool[] = [ "url" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/custom-pages_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "asset_name": { + "$ref": "#/$defs/custom-pages_asset_name", + "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "asset_name" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "asset_name", + "path", "body" ], $defs: { - "custom-pages_asset_description": custom_pages_asset_description, - "custom-pages_asset_name": custom_pages_asset_name, - "custom-pages_asset_url": custom_pages_asset_url, - "custom-pages_identifier": custom_pages_identifier, + "custom-pages_asset_description": custom$$pages_asset_description$, + "custom-pages_asset_name": custom$$pages_asset_name$, + "custom-pages_asset_url": custom$$pages_asset_url$, + "custom-pages_identifier": custom$$pages_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_asset_result", $defs: { - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_asset_description": custom_pages_asset_description_output, - "custom-pages_asset_name": custom_pages_asset_name_output, - "custom-pages_asset_url": custom_pages_asset_url_output, - "custom-pages_custom_asset": custom_pages_custom_asset_output, - "custom-pages_custom_asset_result": custom_pages_custom_asset_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_asset_description": custom$$pages_asset_description, + "custom-pages_asset_name": custom$$pages_asset_name, + "custom-pages_asset_url": custom$$pages_asset_url, + "custom-pages_custom_asset": custom$$pages_custom_asset, + "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_timestamp": custom$$pages_timestamp, }, }, annotations: { @@ -493,15 +538,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_asset_description": custom_pages_asset_description_output, - "custom-pages_asset_name": custom_pages_asset_name_output, - "custom-pages_asset_url": custom_pages_asset_url_output, - "custom-pages_custom_asset": custom_pages_custom_asset_output, - "custom-pages_custom_asset_result": custom_pages_custom_asset_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_timestamp": custom_pages_timestamp_output, + "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_asset_description": custom$$pages_asset_description, + "custom-pages_asset_name": custom$$pages_asset_name, + "custom-pages_asset_url": custom$$pages_asset_url, + "custom-pages_custom_asset": custom$$pages_custom_asset, + "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_timestamp": custom$$pages_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts b/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts index 5143c4538..d4a6a716e 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `custom-pages_custom_page` in responses. */ -export const custom_pages_custom_page_output: JsonSchema = { +export const custom$$pages_custom_page: JsonSchema = { "properties": { "created_on": { "$ref": "#/$defs/custom-pages_timestamp" @@ -42,7 +42,7 @@ export const custom_pages_custom_page_output: JsonSchema = { /** * The schema of `custom-pages_custom_page_result` in responses. */ -export const custom_pages_custom_page_result_output: JsonSchema = { +export const custom$$pages_custom_page_result: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-pages_api-response-single" @@ -61,7 +61,7 @@ export const custom_pages_custom_page_result_output: JsonSchema = { /** * The schema of `custom-pages_custom_page_result_list` in responses. */ -export const custom_pages_custom_page_result_list_output: JsonSchema = { +export const custom$$pages_custom_page_result_list: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-pages_api-response-collection" @@ -83,7 +83,7 @@ export const custom_pages_custom_page_result_list_output: JsonSchema = { /** * The schema of `custom-pages_state` in responses. */ -export const custom_pages_state_output: JsonSchema = { +export const custom$$pages_state: JsonSchema = { "enum": [ "default", "customized" @@ -94,6 +94,6 @@ export const custom_pages_state_output: JsonSchema = { /** * The schema of `custom-pages_url` in responses. */ -export const custom_pages_url_output: JsonSchema = { +export const custom$$pages_url: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/outputs.ts b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/outputs.ts index a83693b37..0914de76b 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/outputs.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `custom-pages_preview_token` in responses. */ -export const custom_pages_preview_token_output: JsonSchema = { +export const custom$$pages_preview_token: JsonSchema = { "properties": { "cep_jwt": { "type": "string" @@ -21,7 +21,7 @@ export const custom_pages_preview_token_output: JsonSchema = { /** * The schema of `custom-pages_preview_token_result` in responses. */ -export const custom_pages_preview_token_result_output: JsonSchema = { +export const custom$$pages_preview_token_result: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-pages_api-response-single" diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/schemas.ts b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/schemas.ts index ab91af6c5..1667a9f1f 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/schemas.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `custom-pages_preview_request`. */ -export const custom_pages_preview_request: JsonSchema = { +export const custom$$pages_preview_request: JsonSchema = { "properties": { "act": { "description": "The preview action type. Required for request parsing but not used in token generation. Typically set to \"preview\".", diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts index aca5dccc9..f5a080f19 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts @@ -3,61 +3,69 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - custom_pages_api_response_common_failure_output, - custom_pages_api_response_single_output, - custom_pages_messages_output, + custom$$pages_api$$response$$common$$failure, + custom$$pages_api$$response$$single, + custom$$pages_messages, } from "../../outputs.js"; -import { custom_pages_identifier } from "../../schemas.js"; +import { custom$$pages_identifier } from "../../schemas.js"; import { - custom_pages_preview_token_output, - custom_pages_preview_token_result_output, + custom$$pages_preview_token, + custom$$pages_preview_token_result, } from "./outputs.js"; -import { custom_pages_preview_request } from "./schemas.js"; +import { custom$$pages_preview_request } from "./schemas.js"; /** - * The tools of `custom_pages.account_custom_pages.preview_tokens`. + * The tools of `customPages.accountCustomPages.previewTokens`. */ export const tools: readonly Tool[] = [ { - name: "custom_pages_account_custom_pages_preview_tokens_create", + name: "customPages_accountCustomPages_previewTokens_create", title: "Create a preview token", description: "Creates a signed JWT for previewing an account or zone-level custom page before it is published.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/custom-pages_preview_request" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/custom-pages_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "custom-pages_identifier": custom_pages_identifier, - "custom-pages_preview_request": custom_pages_preview_request, + "custom-pages_identifier": custom$$pages_identifier, + "custom-pages_preview_request": custom$$pages_preview_request, }, }, outputSchema: { "$ref": "#/$defs/custom-pages_preview_token_result", $defs: { - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_preview_token": custom_pages_preview_token_output, - "custom-pages_preview_token_result": custom_pages_preview_token_result_output, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_preview_token": custom$$pages_preview_token, + "custom-pages_preview_token_result": custom$$pages_preview_token_result, }, }, annotations: { @@ -99,11 +107,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_preview_token": custom_pages_preview_token_output, - "custom-pages_preview_token_result": custom_pages_preview_token_result_output, + "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_preview_token": custom$$pages_preview_token, + "custom-pages_preview_token_result": custom$$pages_preview_token_result, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/schemas.ts b/src/generated/forge-mcp/customPages/accountCustomPages/schemas.ts index 257cf7de8..1f75a24ef 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/schemas.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `custom-pages_error_page_type`. */ -export const custom_pages_error_page_type: JsonSchema = { +export const custom$$pages_error_page_type: JsonSchema = { "description": "Custom page type.", "enum": [ "1000_errors", @@ -26,7 +26,7 @@ export const custom_pages_error_page_type: JsonSchema = { /** * The schema of `custom-pages_state`. */ -export const custom_pages_state: JsonSchema = { +export const custom$$pages_state: JsonSchema = { "description": "The custom page state.", "enum": [ "default", @@ -38,7 +38,7 @@ export const custom_pages_state: JsonSchema = { /** * The schema of `custom-pages_url`. */ -export const custom_pages_url: JsonSchema = { +export const custom$$pages_url: JsonSchema = { "description": "The URL associated with the custom page.", "type": "string" }; diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts b/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts index 9bf14888e..e2ed9904f 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts @@ -3,75 +3,83 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - custom_pages_api_response_collection_output, - custom_pages_api_response_common_failure_output, - custom_pages_api_response_common_output, - custom_pages_api_response_single_output, - custom_pages_messages_output, - custom_pages_timestamp_output, + custom$$pages_api$$response$$collection, + custom$$pages_api$$response$$common, + custom$$pages_api$$response$$common$$failure, + custom$$pages_api$$response$$single, + custom$$pages_messages, + custom$$pages_timestamp, } from "../outputs.js"; -import { custom_pages_identifier } from "../schemas.js"; +import { custom$$pages_identifier } from "../schemas.js"; import { - custom_pages_custom_page_output, - custom_pages_custom_page_result_list_output, - custom_pages_custom_page_result_output, - custom_pages_state_output, - custom_pages_url_output, + custom$$pages_custom_page, + custom$$pages_custom_page_result, + custom$$pages_custom_page_result_list, + custom$$pages_state, + custom$$pages_url, } from "./outputs.js"; import { - custom_pages_error_page_type, - custom_pages_state, - custom_pages_url, + custom$$pages_error_page_type, + custom$$pages_state as custom$$pages_state$, + custom$$pages_url as custom$$pages_url$, } from "./schemas.js"; /** - * The tools of `custom_pages.account_custom_pages`. + * The tools of `customPages.accountCustomPages`. */ export const tools: readonly Tool[] = [ { - name: "custom_pages_account_custom_pages_get", + name: "customPages_accountCustomPages_get", title: "Get a custom page", description: "Returns the configuration for a custom page type.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/custom-pages_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "identifier": { + "$ref": "#/$defs/custom-pages_error_page_type", + "description": "Custom page type." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "identifier" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "identifier": { - "$ref": "#/$defs/custom-pages_error_page_type", - "description": "Custom page type." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "identifier" + "path" ], $defs: { - "custom-pages_error_page_type": custom_pages_error_page_type, - "custom-pages_identifier": custom_pages_identifier, + "custom-pages_error_page_type": custom$$pages_error_page_type, + "custom-pages_identifier": custom$$pages_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_page_result", $defs: { - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_custom_page": custom_pages_custom_page_output, - "custom-pages_custom_page_result": custom_pages_custom_page_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_state": custom_pages_state_output, - "custom-pages_timestamp": custom_pages_timestamp_output, - "custom-pages_url": custom_pages_url_output, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_custom_page": custom$$pages_custom_page, + "custom-pages_custom_page_result": custom$$pages_custom_page_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_state": custom$$pages_state, + "custom-pages_timestamp": custom$$pages_timestamp, + "custom-pages_url": custom$$pages_url, }, }, annotations: { @@ -108,14 +116,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_custom_page": custom_pages_custom_page_output, - "custom-pages_custom_page_result": custom_pages_custom_page_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_state": custom_pages_state_output, - "custom-pages_timestamp": custom_pages_timestamp_output, - "custom-pages_url": custom_pages_url_output, + "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_custom_page": custom$$pages_custom_page, + "custom-pages_custom_page_result": custom$$pages_custom_page_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_state": custom$$pages_state, + "custom-pages_timestamp": custom$$pages_timestamp, + "custom-pages_url": custom$$pages_url, }, }, request: (args) => ({ @@ -123,44 +131,52 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_pages_account_custom_pages_list", + name: "customPages_accountCustomPages_list", title: "List custom pages", description: "Lists all custom page configurations for an account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/custom-pages_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "custom-pages_identifier": custom_pages_identifier, + "custom-pages_identifier": custom$$pages_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_page_result_list", $defs: { - "custom-pages_api-response-collection": custom_pages_api_response_collection_output, - "custom-pages_api-response-common": custom_pages_api_response_common_output, - "custom-pages_custom_page": custom_pages_custom_page_output, - "custom-pages_custom_page_result_list": custom_pages_custom_page_result_list_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_state": custom_pages_state_output, - "custom-pages_timestamp": custom_pages_timestamp_output, - "custom-pages_url": custom_pages_url_output, + "custom-pages_api-response-collection": custom$$pages_api$$response$$collection, + "custom-pages_api-response-common": custom$$pages_api$$response$$common, + "custom-pages_custom_page": custom$$pages_custom_page, + "custom-pages_custom_page_result_list": custom$$pages_custom_page_result_list, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_state": custom$$pages_state, + "custom-pages_timestamp": custom$$pages_timestamp, + "custom-pages_url": custom$$pages_url, }, }, annotations: { @@ -202,15 +218,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-pages_api-response-collection": custom_pages_api_response_collection_output, - "custom-pages_api-response-common": custom_pages_api_response_common_output, - "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, - "custom-pages_custom_page": custom_pages_custom_page_output, - "custom-pages_custom_page_result_list": custom_pages_custom_page_result_list_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_state": custom_pages_state_output, - "custom-pages_timestamp": custom_pages_timestamp_output, - "custom-pages_url": custom_pages_url_output, + "custom-pages_api-response-collection": custom$$pages_api$$response$$collection, + "custom-pages_api-response-common": custom$$pages_api$$response$$common, + "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, + "custom-pages_custom_page": custom$$pages_custom_page, + "custom-pages_custom_page_result_list": custom$$pages_custom_page_result_list, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_state": custom$$pages_state, + "custom-pages_timestamp": custom$$pages_timestamp, + "custom-pages_url": custom$$pages_url, }, }, request: (args) => ({ @@ -218,24 +234,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "custom_pages_account_custom_pages_update", + name: "customPages_accountCustomPages_update", title: "Update a custom page", description: "Updates the configuration for a custom page type.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "state": { @@ -254,34 +258,54 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "identifier": { - "$ref": "#/$defs/custom-pages_error_page_type", - "description": "Custom page type." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/custom-pages_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "identifier": { + "$ref": "#/$defs/custom-pages_error_page_type", + "description": "Custom page type." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "identifier", + "path", "body" ], $defs: { - "custom-pages_error_page_type": custom_pages_error_page_type, - "custom-pages_identifier": custom_pages_identifier, - "custom-pages_state": custom_pages_state, - "custom-pages_url": custom_pages_url, + "custom-pages_error_page_type": custom$$pages_error_page_type, + "custom-pages_identifier": custom$$pages_identifier, + "custom-pages_state": custom$$pages_state$, + "custom-pages_url": custom$$pages_url$, }, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_page_result", $defs: { - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_custom_page": custom_pages_custom_page_output, - "custom-pages_custom_page_result": custom_pages_custom_page_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_state": custom_pages_state_output, - "custom-pages_timestamp": custom_pages_timestamp_output, - "custom-pages_url": custom_pages_url_output, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_custom_page": custom$$pages_custom_page, + "custom-pages_custom_page_result": custom$$pages_custom_page_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_state": custom$$pages_state, + "custom-pages_timestamp": custom$$pages_timestamp, + "custom-pages_url": custom$$pages_url, }, }, annotations: { @@ -315,14 +339,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-pages_api-response-common-failure": custom_pages_api_response_common_failure_output, - "custom-pages_api-response-single": custom_pages_api_response_single_output, - "custom-pages_custom_page": custom_pages_custom_page_output, - "custom-pages_custom_page_result": custom_pages_custom_page_result_output, - "custom-pages_messages": custom_pages_messages_output, - "custom-pages_state": custom_pages_state_output, - "custom-pages_timestamp": custom_pages_timestamp_output, - "custom-pages_url": custom_pages_url_output, + "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, + "custom-pages_api-response-single": custom$$pages_api$$response$$single, + "custom-pages_custom_page": custom$$pages_custom_page, + "custom-pages_custom_page_result": custom$$pages_custom_page_result, + "custom-pages_messages": custom$$pages_messages, + "custom-pages_state": custom$$pages_state, + "custom-pages_timestamp": custom$$pages_timestamp, + "custom-pages_url": custom$$pages_url, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customPages/outputs.ts b/src/generated/forge-mcp/customPages/outputs.ts index cb401f775..51c526d93 100644 --- a/src/generated/forge-mcp/customPages/outputs.ts +++ b/src/generated/forge-mcp/customPages/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `custom-pages_api-response-collection` in responses. */ -export const custom_pages_api_response_collection_output: JsonSchema = { +export const custom$$pages_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-pages_api-response-common" @@ -42,7 +42,7 @@ export const custom_pages_api_response_collection_output: JsonSchema = { /** * The schema of `custom-pages_api-response-common` in responses. */ -export const custom_pages_api_response_common_output: JsonSchema = { +export const custom$$pages_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/custom-pages_messages" @@ -68,7 +68,7 @@ export const custom_pages_api_response_common_output: JsonSchema = { /** * The schema of `custom-pages_api-response-common-failure` in responses. */ -export const custom_pages_api_response_common_failure_output: JsonSchema = { +export const custom$$pages_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/custom-pages_messages" @@ -98,7 +98,7 @@ export const custom_pages_api_response_common_failure_output: JsonSchema = { /** * The schema of `custom-pages_api-response-single` in responses. */ -export const custom_pages_api_response_single_output: JsonSchema = { +export const custom$$pages_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/custom-pages_messages" @@ -124,7 +124,7 @@ export const custom_pages_api_response_single_output: JsonSchema = { /** * The schema of `custom-pages_messages` in responses. */ -export const custom_pages_messages_output: JsonSchema = { +export const custom$$pages_messages: JsonSchema = { "items": { "properties": { "code": { @@ -157,7 +157,7 @@ export const custom_pages_messages_output: JsonSchema = { /** * The schema of `custom-pages_timestamp` in responses. */ -export const custom_pages_timestamp_output: JsonSchema = { +export const custom$$pages_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/customPages/schemas.ts b/src/generated/forge-mcp/customPages/schemas.ts index f17b6e47a..1531338fd 100644 --- a/src/generated/forge-mcp/customPages/schemas.ts +++ b/src/generated/forge-mcp/customPages/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `custom-pages_identifier`. */ -export const custom_pages_identifier: JsonSchema = { +export const custom$$pages_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/d1/outputs.ts b/src/generated/forge-mcp/d1/outputs.ts index dfea0a4d5..3b1307f42 100644 --- a/src/generated/forge-mcp/d1/outputs.ts +++ b/src/generated/forge-mcp/d1/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `d1_api-response-common` in responses. */ -export const d1_api_response_common_output: JsonSchema = { +export const d1_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/d1_messages" @@ -32,7 +32,7 @@ export const d1_api_response_common_output: JsonSchema = { /** * The schema of `d1_api-response-common-failure` in responses. */ -export const d1_api_response_common_failure_output: JsonSchema = { +export const d1_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/d1_messages" @@ -62,7 +62,7 @@ export const d1_api_response_common_failure_output: JsonSchema = { /** * The schema of `d1_created-at` in responses. */ -export const d1_created_at_output: JsonSchema = { +export const d1_created$$at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -70,7 +70,7 @@ export const d1_created_at_output: JsonSchema = { /** * The schema of `d1_database-details-response` in responses. */ -export const d1_database_details_response_output: JsonSchema = { +export const d1_database$$details$$response: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/d1_created-at" @@ -103,21 +103,21 @@ export const d1_database_details_response_output: JsonSchema = { /** * The schema of `d1_database-identifier` in responses. */ -export const d1_database_identifier_output: JsonSchema = { +export const d1_database$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `d1_database-name` in responses. */ -export const d1_database_name_output: JsonSchema = { +export const d1_database$$name: JsonSchema = { "type": "string" }; /** * The schema of `d1_database-response` in responses. */ -export const d1_database_response_output: JsonSchema = { +export const d1_database$$response: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/d1_created-at" @@ -141,21 +141,21 @@ export const d1_database_response_output: JsonSchema = { /** * The schema of `d1_database-version` in responses. */ -export const d1_database_version_output: JsonSchema = { +export const d1_database$$version: JsonSchema = { "type": "string" }; /** * The schema of `d1_file-size` in responses. */ -export const d1_file_size_output: JsonSchema = { +export const d1_file$$size: JsonSchema = { "type": "number" }; /** * The schema of `d1_jurisdiction-nullable` in responses. */ -export const d1_jurisdiction_nullable_output: JsonSchema = { +export const d1_jurisdiction$$nullable: JsonSchema = { "oneOf": [ { "enum": [ @@ -174,7 +174,7 @@ export const d1_jurisdiction_nullable_output: JsonSchema = { /** * The schema of `d1_messages` in responses. */ -export const d1_messages_output: JsonSchema = { +export const d1_messages: JsonSchema = { "items": { "properties": { "code": { @@ -196,7 +196,7 @@ export const d1_messages_output: JsonSchema = { /** * The schema of `d1_query-meta` in responses. */ -export const d1_query_meta_output: JsonSchema = { +export const d1_query$$meta: JsonSchema = { "properties": { "changed_db": { "type": "boolean" @@ -243,7 +243,7 @@ export const d1_query_meta_output: JsonSchema = { /** * The schema of `d1_query-result-response` in responses. */ -export const d1_query_result_response_output: JsonSchema = { +export const d1_query$$result$$response: JsonSchema = { "properties": { "meta": { "$ref": "#/$defs/d1_query-meta" @@ -264,7 +264,7 @@ export const d1_query_result_response_output: JsonSchema = { /** * The schema of `d1_raw-result-response` in responses. */ -export const d1_raw_result_response_output: JsonSchema = { +export const d1_raw$$result$$response: JsonSchema = { "properties": { "meta": { "$ref": "#/$defs/d1_query-meta" @@ -309,7 +309,7 @@ export const d1_raw_result_response_output: JsonSchema = { /** * The schema of `d1_read-replication-details-for-response` in responses. */ -export const d1_read_replication_details_for_response_output: JsonSchema = { +export const d1_read$$replication$$details$$for$$response: JsonSchema = { "properties": { "mode": { "enum": [ @@ -328,14 +328,14 @@ export const d1_read_replication_details_for_response_output: JsonSchema = { /** * The schema of `d1_served-by-colo` in responses. */ -export const d1_served_by_colo_output: JsonSchema = { +export const d1_served$$by$$colo: JsonSchema = { "type": "string" }; /** * The schema of `d1_served-by-region` in responses. */ -export const d1_served_by_region_output: JsonSchema = { +export const d1_served$$by$$region: JsonSchema = { "enum": [ "WNAM", "ENAM", @@ -350,6 +350,6 @@ export const d1_served_by_region_output: JsonSchema = { /** * The schema of `d1_table-count` in responses. */ -export const d1_table_count_output: JsonSchema = { +export const d1_table$$count: JsonSchema = { "type": "number" }; diff --git a/src/generated/forge-mcp/d1/schemas.ts b/src/generated/forge-mcp/d1/schemas.ts index 371ac6f44..9eedf8885 100644 --- a/src/generated/forge-mcp/d1/schemas.ts +++ b/src/generated/forge-mcp/d1/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `d1_account-identifier`. */ -export const d1_account_identifier: JsonSchema = { +export const d1_account$$identifier: JsonSchema = { "description": "Account identifier tag.", "type": "string" }; @@ -14,7 +14,7 @@ export const d1_account_identifier: JsonSchema = { /** * The schema of `d1_batch-query`. */ -export const d1_batch_query: JsonSchema = { +export const d1_batch$$query: JsonSchema = { "description": "A single query object or a batch query object", "oneOf": [ { @@ -40,7 +40,7 @@ export const d1_batch_query: JsonSchema = { /** * The schema of `d1_database-identifier`. */ -export const d1_database_identifier: JsonSchema = { +export const d1_database$$identifier: JsonSchema = { "description": "D1 database identifier (UUID).", "type": "string" }; @@ -48,7 +48,7 @@ export const d1_database_identifier: JsonSchema = { /** * The schema of `d1_database-name`. */ -export const d1_database_name: JsonSchema = { +export const d1_database$$name: JsonSchema = { "description": "D1 database name.", "type": "string" }; @@ -56,7 +56,7 @@ export const d1_database_name: JsonSchema = { /** * The schema of `d1_database-update-partial-request-body`. */ -export const d1_database_update_partial_request_body: JsonSchema = { +export const d1_database$$update$$partial$$request$$body: JsonSchema = { "properties": { "read_replication": { "$ref": "#/$defs/d1_read-replication-details-for-request", @@ -69,7 +69,7 @@ export const d1_database_update_partial_request_body: JsonSchema = { /** * The schema of `d1_database-update-request-body`. */ -export const d1_database_update_request_body: JsonSchema = { +export const d1_database$$update$$request$$body: JsonSchema = { "properties": { "read_replication": { "$ref": "#/$defs/d1_read-replication-details-for-request", @@ -108,7 +108,7 @@ export const d1_params: JsonSchema = { /** * The schema of `d1_primary-location-hint`. */ -export const d1_primary_location_hint: JsonSchema = { +export const d1_primary$$location$$hint: JsonSchema = { "description": "Specify the region to create the D1 primary, if available. If this option is omitted, the D1 will be created as close as possible to the current user.", "enum": [ "wnam", @@ -124,7 +124,7 @@ export const d1_primary_location_hint: JsonSchema = { /** * The schema of `d1_read-replication-details-for-request`. */ -export const d1_read_replication_details_for_request: JsonSchema = { +export const d1_read$$replication$$details$$for$$request: JsonSchema = { "description": "Configuration for D1 read replication.", "properties": { "mode": { @@ -145,7 +145,7 @@ export const d1_read_replication_details_for_request: JsonSchema = { /** * The schema of `d1_single-query`. */ -export const d1_single_query: JsonSchema = { +export const d1_single$$query: JsonSchema = { "description": "A single query with or without parameters", "properties": { "params": { diff --git a/src/generated/forge-mcp/d1/timeTravel/outputs.ts b/src/generated/forge-mcp/d1/timeTravel/outputs.ts index 5d36d3130..cd4766bdb 100644 --- a/src/generated/forge-mcp/d1/timeTravel/outputs.ts +++ b/src/generated/forge-mcp/d1/timeTravel/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `d1_time-travel-bookmark` in responses. */ -export const d1_time_travel_bookmark_output: JsonSchema = { +export const d1_time$$travel$$bookmark: JsonSchema = { "type": "string" }; /** * The schema of `d1_time-travel-restore-response` in responses. */ -export const d1_time_travel_restore_response_output: JsonSchema = { +export const d1_time$$travel$$restore$$response: JsonSchema = { "properties": { "bookmark": { "allOf": [ diff --git a/src/generated/forge-mcp/d1/timeTravel/schemas.ts b/src/generated/forge-mcp/d1/timeTravel/schemas.ts index 3d0b13a97..139a8152f 100644 --- a/src/generated/forge-mcp/d1/timeTravel/schemas.ts +++ b/src/generated/forge-mcp/d1/timeTravel/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `d1_time-travel-bookmark`. */ -export const d1_time_travel_bookmark: JsonSchema = { +export const d1_time$$travel$$bookmark: JsonSchema = { "description": "A bookmark representing a specific state of the database at a specific point in time.", "type": "string" }; @@ -14,7 +14,7 @@ export const d1_time_travel_bookmark: JsonSchema = { /** * The schema of `d1_time-travel-timestamp`. */ -export const d1_time_travel_timestamp: JsonSchema = { +export const d1_time$$travel$$timestamp: JsonSchema = { "description": "An ISO 8601 timestamp used for time travel operations. The database will be restored to the nearest available bookmark at or before this timestamp.", "format": "date-time", "type": "string" diff --git a/src/generated/forge-mcp/d1/timeTravel/tools.ts b/src/generated/forge-mcp/d1/timeTravel/tools.ts index a4ebb6223..5ab03745f 100644 --- a/src/generated/forge-mcp/d1/timeTravel/tools.ts +++ b/src/generated/forge-mcp/d1/timeTravel/tools.ts @@ -1,54 +1,67 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - d1_api_response_common_failure_output, - d1_api_response_common_output, - d1_messages_output, + d1_api$$response$$common, + d1_api$$response$$common$$failure, + d1_messages, } from "../outputs.js"; -import { d1_account_identifier, d1_database_identifier } from "../schemas.js"; +import { d1_account$$identifier, d1_database$$identifier } from "../schemas.js"; import { - d1_time_travel_bookmark_output, - d1_time_travel_restore_response_output, + d1_time$$travel$$bookmark, + d1_time$$travel$$restore$$response, } from "./outputs.js"; import { - d1_time_travel_bookmark, - d1_time_travel_timestamp, + d1_time$$travel$$bookmark as d1_time$$travel$$bookmark$, + d1_time$$travel$$timestamp, } from "./schemas.js"; /** - * The tools of `d1.time_travel`. + * The tools of `d1.timeTravel`. */ export const tools: readonly Tool[] = [ { - name: "d1_time_travel_get_bookmark", + name: "d1_timeTravel_getBookmark", title: "Get D1 database bookmark", description: "Retrieve the current bookmark, or the nearest bookmark at or before a provided timestamp.\nBookmarks can be used with the restore endpoint to revert the database to a previous point in time.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, - "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + }, + "database_id": { + "$ref": "#/$defs/d1_database-identifier", + "description": "D1 database identifier (UUID)." + } + }, + "required": [ + "account_id", + "database_id" + ], + "type": "object" }, - "timestamp": { - "$ref": "#/$defs/d1_time-travel-timestamp", - "description": "An optional ISO 8601 timestamp. If provided, returns the nearest available bookmark at or before this timestamp. If omitted, returns the current bookmark." + "query": { + "properties": { + "timestamp": { + "$ref": "#/$defs/d1_time-travel-timestamp", + "description": "An optional ISO 8601 timestamp. If provided, returns the nearest available bookmark at or before this timestamp. If omitted, returns the current bookmark." + } + }, + "type": "object" } }, required: [ - "account_id", - "database_id" + "path" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_database-identifier": d1_database_identifier, - "d1_time-travel-timestamp": d1_time_travel_timestamp, + "d1_account-identifier": d1_account$$identifier, + "d1_database-identifier": d1_database$$identifier, + "d1_time-travel-timestamp": d1_time$$travel$$timestamp, }, }, outputSchema: { @@ -71,9 +84,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_messages": d1_messages_output, - "d1_time-travel-bookmark": d1_time_travel_bookmark_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_messages": d1_messages, + "d1_time-travel-bookmark": d1_time$$travel$$bookmark, }, }, annotations: { @@ -119,52 +132,65 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_messages": d1_messages_output, - "d1_time-travel-bookmark": d1_time_travel_bookmark_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_messages": d1_messages, + "d1_time-travel-bookmark": d1_time$$travel$$bookmark, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}/time_travel/bookmark`, query: [ - ["timestamp", args["timestamp"], true], + ["timestamp", param(args, "query", "timestamp"), true], ], }), }, { - name: "d1_time_travel_restore", + name: "d1_timeTravel_restore", title: "Restore D1 Database to a bookmark or point in time", description: "Restore a D1 database to a previous point in time either via a bookmark or a timestamp.\n\nConfirm with the user before calling this tool. This reverts the D1 database to a previous point in time. Data written after the bookmark will be lost.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, - "bookmark": { - "$ref": "#/$defs/d1_time-travel-bookmark", - "description": "A bookmark to restore the database to. Required if `timestamp` is not provided." - }, - "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + }, + "database_id": { + "$ref": "#/$defs/d1_database-identifier", + "description": "D1 database identifier (UUID)." + } + }, + "required": [ + "account_id", + "database_id" + ], + "type": "object" }, - "timestamp": { - "$ref": "#/$defs/d1_time-travel-timestamp", - "description": "An ISO 8601 timestamp to restore the database to. Required if `bookmark` is not provided." + "query": { + "properties": { + "bookmark": { + "$ref": "#/$defs/d1_time-travel-bookmark", + "description": "A bookmark to restore the database to. Required if `timestamp` is not provided." + }, + "timestamp": { + "$ref": "#/$defs/d1_time-travel-timestamp", + "description": "An ISO 8601 timestamp to restore the database to. Required if `bookmark` is not provided." + } + }, + "type": "object" } }, required: [ - "account_id", - "database_id" + "path" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_database-identifier": d1_database_identifier, - "d1_time-travel-bookmark": d1_time_travel_bookmark, - "d1_time-travel-timestamp": d1_time_travel_timestamp, + "d1_account-identifier": d1_account$$identifier, + "d1_database-identifier": d1_database$$identifier, + "d1_time-travel-bookmark": d1_time$$travel$$bookmark$, + "d1_time-travel-timestamp": d1_time$$travel$$timestamp, }, }, outputSchema: { @@ -182,10 +208,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_messages": d1_messages_output, - "d1_time-travel-bookmark": d1_time_travel_bookmark_output, - "d1_time-travel-restore-response": d1_time_travel_restore_response_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_messages": d1_messages, + "d1_time-travel-bookmark": d1_time$$travel$$bookmark, + "d1_time-travel-restore-response": d1_time$$travel$$restore$$response, }, }, annotations: { @@ -222,18 +248,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_messages": d1_messages_output, - "d1_time-travel-bookmark": d1_time_travel_bookmark_output, - "d1_time-travel-restore-response": d1_time_travel_restore_response_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_messages": d1_messages, + "d1_time-travel-bookmark": d1_time$$travel$$bookmark, + "d1_time-travel-restore-response": d1_time$$travel$$restore$$response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}/time_travel/restore`, query: [ - ["bookmark", args["bookmark"], true], - ["timestamp", args["timestamp"], true], + ["bookmark", param(args, "query", "bookmark"), true], + ["timestamp", param(args, "query", "timestamp"), true], ], }), }, diff --git a/src/generated/forge-mcp/d1/tools.ts b/src/generated/forge-mcp/d1/tools.ts index 1f208ce12..94b392331 100644 --- a/src/generated/forge-mcp/d1/tools.ts +++ b/src/generated/forge-mcp/d1/tools.ts @@ -1,39 +1,39 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - d1_api_response_common_failure_output, - d1_api_response_common_output, - d1_created_at_output, - d1_database_details_response_output, - d1_database_identifier_output, - d1_database_name_output, - d1_database_response_output, - d1_database_version_output, - d1_file_size_output, - d1_jurisdiction_nullable_output, - d1_messages_output, - d1_query_meta_output, - d1_query_result_response_output, - d1_raw_result_response_output, - d1_read_replication_details_for_response_output, - d1_served_by_colo_output, - d1_served_by_region_output, - d1_table_count_output, + d1_api$$response$$common, + d1_api$$response$$common$$failure, + d1_created$$at, + d1_database$$details$$response, + d1_database$$identifier, + d1_database$$name, + d1_database$$response, + d1_database$$version, + d1_file$$size, + d1_jurisdiction$$nullable, + d1_messages, + d1_query$$meta, + d1_query$$result$$response, + d1_raw$$result$$response, + d1_read$$replication$$details$$for$$response, + d1_served$$by$$colo, + d1_served$$by$$region, + d1_table$$count, } from "./outputs.js"; import { - d1_account_identifier, - d1_batch_query, - d1_database_identifier, - d1_database_name, - d1_database_update_partial_request_body, - d1_database_update_request_body, + d1_account$$identifier, + d1_batch$$query, + d1_database$$identifier as d1_database$$identifier$, + d1_database$$name as d1_database$$name$, + d1_database$$update$$partial$$request$$body, + d1_database$$update$$request$$body, d1_jurisdiction, d1_params, - d1_primary_location_hint, - d1_read_replication_details_for_request, - d1_single_query, + d1_primary$$location$$hint, + d1_read$$replication$$details$$for$$request, + d1_single$$query, d1_sql, } from "./schemas.js"; @@ -48,10 +48,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "jurisdiction": { @@ -75,18 +71,30 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_database-name": d1_database_name, + "d1_account-identifier": d1_account$$identifier, + "d1_database-name": d1_database$$name$, "d1_jurisdiction": d1_jurisdiction, - "d1_primary-location-hint": d1_primary_location_hint, - "d1_read-replication-details-for-request": d1_read_replication_details_for_request, + "d1_primary-location-hint": d1_primary$$location$$hint, + "d1_read-replication-details-for-request": d1_read$$replication$$details$$for$$request, }, }, outputSchema: { @@ -104,17 +112,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, annotations: { @@ -154,18 +162,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, request: (args) => ({ @@ -180,22 +188,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, - "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + }, + "database_id": { + "$ref": "#/$defs/d1_database-identifier", + "description": "D1 database identifier (UUID)." + } + }, + "required": [ + "account_id", + "database_id" + ], + "type": "object" } }, required: [ - "account_id", - "database_id" + "path" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_database-identifier": d1_database_identifier, + "d1_account-identifier": d1_account$$identifier, + "d1_database-identifier": d1_database$$identifier$, }, }, outputSchema: { @@ -213,8 +229,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_messages": d1_messages_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_messages": d1_messages, }, }, annotations: { @@ -254,9 +270,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_messages": d1_messages_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_messages": d1_messages, }, }, request: (args) => ({ @@ -270,28 +286,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/d1_database-update-partial-request-body" }, - "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + }, + "database_id": { + "$ref": "#/$defs/d1_database-identifier", + "description": "D1 database identifier (UUID)." + } + }, + "required": [ + "account_id", + "database_id" + ], + "type": "object" } }, required: [ - "account_id", - "database_id", + "path", "body" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_database-identifier": d1_database_identifier, - "d1_database-update-partial-request-body": d1_database_update_partial_request_body, - "d1_read-replication-details-for-request": d1_read_replication_details_for_request, + "d1_account-identifier": d1_account$$identifier, + "d1_database-identifier": d1_database$$identifier$, + "d1_database-update-partial-request-body": d1_database$$update$$partial$$request$$body, + "d1_read-replication-details-for-request": d1_read$$replication$$details$$for$$request, }, }, outputSchema: { @@ -309,17 +333,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, annotations: { @@ -358,18 +382,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, request: (args) => ({ @@ -384,47 +408,60 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, - "database_id": { - "oneOf": [ - { - "$ref": "#/$defs/d1_database-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." }, - { - "$ref": "#/$defs/d1_database-name" + "database_id": { + "oneOf": [ + { + "$ref": "#/$defs/d1_database-identifier" + }, + { + "$ref": "#/$defs/d1_database-name" + } + ] } - ] + }, + "required": [ + "account_id", + "database_id" + ], + "type": "object" }, - "fields": { - "description": "Comma-separated list of fields to include in the response. When omitted,\nall fields are returned.\n", - "items": { - "enum": [ - "uuid", - "name", - "created_at", - "version", - "jurisdiction", - "num_tables", - "file_size", - "running_in_region", - "read_replication" - ], - "type": "string" + "query": { + "properties": { + "fields": { + "description": "Comma-separated list of fields to include in the response. When omitted,\nall fields are returned.\n", + "items": { + "enum": [ + "uuid", + "name", + "created_at", + "version", + "jurisdiction", + "num_tables", + "file_size", + "running_in_region", + "read_replication" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id", - "database_id" + "path" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_database-identifier": d1_database_identifier, - "d1_database-name": d1_database_name, + "d1_account-identifier": d1_account$$identifier, + "d1_database-identifier": d1_database$$identifier$, + "d1_database-name": d1_database$$name$, }, }, outputSchema: { @@ -442,17 +479,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, annotations: { @@ -493,24 +530,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database/${pathParam(args, "database_id")}`, query: [ - ["fields", args["fields"], false], + ["fields", param(args, "query", "fields"), false], ], }), }, @@ -521,30 +558,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, - "name": { - "description": "a database name to search for.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 1000, - "description": "Number of items per page.", - "type": "number" + "query": { + "properties": { + "name": { + "description": "a database name to search for.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 1000, + "description": "Number of items per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "d1_account-identifier": d1_account_identifier, + "d1_account-identifier": d1_account$$identifier, }, }, outputSchema: { @@ -582,14 +632,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_created-at": d1_created_at_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-response": d1_database_response_output, - "d1_database-version": d1_database_version_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_created-at": d1_created$$at, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-response": d1_database$$response, + "d1_database-version": d1_database$$version, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, }, }, annotations: { @@ -650,23 +700,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_created-at": d1_created_at_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-response": d1_database_response_output, - "d1_database-version": d1_database_version_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_created-at": d1_created$$at, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-response": d1_database$$response, + "d1_database-version": d1_database$$version, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/d1/database`, query: [ - ["name", args["name"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["name", param(args, "query", "name"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -677,29 +727,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/d1_batch-query" }, - "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + }, + "database_id": { + "$ref": "#/$defs/d1_database-identifier", + "description": "D1 database identifier (UUID)." + } + }, + "required": [ + "account_id", + "database_id" + ], + "type": "object" } }, required: [ - "account_id", - "database_id", + "path", "body" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_batch-query": d1_batch_query, - "d1_database-identifier": d1_database_identifier, + "d1_account-identifier": d1_account$$identifier, + "d1_batch-query": d1_batch$$query, + "d1_database-identifier": d1_database$$identifier$, "d1_params": d1_params, - "d1_single-query": d1_single_query, + "d1_single-query": d1_single$$query, "d1_sql": d1_sql, }, }, @@ -721,12 +779,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_messages": d1_messages_output, - "d1_query-meta": d1_query_meta_output, - "d1_query-result-response": d1_query_result_response_output, - "d1_served-by-colo": d1_served_by_colo_output, - "d1_served-by-region": d1_served_by_region_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_messages": d1_messages, + "d1_query-meta": d1_query$$meta, + "d1_query-result-response": d1_query$$result$$response, + "d1_served-by-colo": d1_served$$by$$colo, + "d1_served-by-region": d1_served$$by$$region, }, }, annotations: { @@ -770,13 +828,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_messages": d1_messages_output, - "d1_query-meta": d1_query_meta_output, - "d1_query-result-response": d1_query_result_response_output, - "d1_served-by-colo": d1_served_by_colo_output, - "d1_served-by-region": d1_served_by_region_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_messages": d1_messages, + "d1_query-meta": d1_query$$meta, + "d1_query-result-response": d1_query$$result$$response, + "d1_served-by-colo": d1_served$$by$$colo, + "d1_served-by-region": d1_served$$by$$region, }, }, request: (args) => ({ @@ -791,29 +849,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/d1_batch-query" }, - "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + }, + "database_id": { + "$ref": "#/$defs/d1_database-identifier", + "description": "D1 database identifier (UUID)." + } + }, + "required": [ + "account_id", + "database_id" + ], + "type": "object" } }, required: [ - "account_id", - "database_id", + "path", "body" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_batch-query": d1_batch_query, - "d1_database-identifier": d1_database_identifier, + "d1_account-identifier": d1_account$$identifier, + "d1_batch-query": d1_batch$$query, + "d1_database-identifier": d1_database$$identifier$, "d1_params": d1_params, - "d1_single-query": d1_single_query, + "d1_single-query": d1_single$$query, "d1_sql": d1_sql, }, }, @@ -835,12 +901,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_messages": d1_messages_output, - "d1_query-meta": d1_query_meta_output, - "d1_raw-result-response": d1_raw_result_response_output, - "d1_served-by-colo": d1_served_by_colo_output, - "d1_served-by-region": d1_served_by_region_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_messages": d1_messages, + "d1_query-meta": d1_query$$meta, + "d1_raw-result-response": d1_raw$$result$$response, + "d1_served-by-colo": d1_served$$by$$colo, + "d1_served-by-region": d1_served$$by$$region, }, }, annotations: { @@ -884,13 +950,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_messages": d1_messages_output, - "d1_query-meta": d1_query_meta_output, - "d1_raw-result-response": d1_raw_result_response_output, - "d1_served-by-colo": d1_served_by_colo_output, - "d1_served-by-region": d1_served_by_region_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_messages": d1_messages, + "d1_query-meta": d1_query$$meta, + "d1_raw-result-response": d1_raw$$result$$response, + "d1_served-by-colo": d1_served$$by$$colo, + "d1_served-by-region": d1_served$$by$$region, }, }, request: (args) => ({ @@ -905,10 +971,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "new_name": { @@ -918,19 +980,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + }, + "database_id": { + "$ref": "#/$defs/d1_database-identifier", + "description": "D1 database identifier (UUID)." + } + }, + "required": [ + "account_id", + "database_id" + ], + "type": "object" } }, required: [ - "account_id", - "database_id" + "path" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_database-identifier": d1_database_identifier, - "d1_database-name": d1_database_name, + "d1_account-identifier": d1_account$$identifier, + "d1_database-identifier": d1_database$$identifier$, + "d1_database-name": d1_database$$name$, }, }, outputSchema: { @@ -948,17 +1022,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, annotations: { @@ -995,18 +1069,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, request: (args) => ({ @@ -1021,28 +1095,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/d1_database-update-request-body" }, - "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/d1_account-identifier", + "description": "Account identifier tag." + }, + "database_id": { + "$ref": "#/$defs/d1_database-identifier", + "description": "D1 database identifier (UUID)." + } + }, + "required": [ + "account_id", + "database_id" + ], + "type": "object" } }, required: [ - "account_id", - "database_id", + "path", "body" ], $defs: { - "d1_account-identifier": d1_account_identifier, - "d1_database-identifier": d1_database_identifier, - "d1_database-update-request-body": d1_database_update_request_body, - "d1_read-replication-details-for-request": d1_read_replication_details_for_request, + "d1_account-identifier": d1_account$$identifier, + "d1_database-identifier": d1_database$$identifier$, + "d1_database-update-request-body": d1_database$$update$$request$$body, + "d1_read-replication-details-for-request": d1_read$$replication$$details$$for$$request, }, }, outputSchema: { @@ -1060,17 +1142,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, annotations: { @@ -1110,18 +1192,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "d1_api-response-common": d1_api_response_common_output, - "d1_api-response-common-failure": d1_api_response_common_failure_output, - "d1_created-at": d1_created_at_output, - "d1_database-details-response": d1_database_details_response_output, - "d1_database-identifier": d1_database_identifier_output, - "d1_database-name": d1_database_name_output, - "d1_database-version": d1_database_version_output, - "d1_file-size": d1_file_size_output, - "d1_jurisdiction-nullable": d1_jurisdiction_nullable_output, - "d1_messages": d1_messages_output, - "d1_read-replication-details-for-response": d1_read_replication_details_for_response_output, - "d1_table-count": d1_table_count_output, + "d1_api-response-common": d1_api$$response$$common, + "d1_api-response-common-failure": d1_api$$response$$common$$failure, + "d1_created-at": d1_created$$at, + "d1_database-details-response": d1_database$$details$$response, + "d1_database-identifier": d1_database$$identifier, + "d1_database-name": d1_database$$name, + "d1_database-version": d1_database$$version, + "d1_file-size": d1_file$$size, + "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, + "d1_messages": d1_messages, + "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, + "d1_table-count": d1_table$$count, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts index 94a24e680..66e09c1e0 100644 --- a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts +++ b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-transit_check_type` in responses. */ -export const magic_transit_check_type_output: JsonSchema = { +export const magic$$transit_check_type: JsonSchema = { "enum": [ "icmp" ], @@ -16,7 +16,7 @@ export const magic_transit_check_type_output: JsonSchema = { /** * The schema of `magic-transit_endpoint_health_check` in responses. */ -export const magic_transit_endpoint_health_check_output: JsonSchema = { +export const magic$$transit_endpoint_health_check: JsonSchema = { "properties": { "check_type": { "$ref": "#/$defs/magic-transit_check_type" @@ -38,7 +38,7 @@ export const magic_transit_endpoint_health_check_output: JsonSchema = { /** * The schema of `magic-transit_endpoint_health_check_response` in responses. */ -export const magic_transit_endpoint_health_check_response_output: JsonSchema = { +export const magic$$transit_endpoint_health_check_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-transit_endpoint_health_check" @@ -58,7 +58,7 @@ export const magic_transit_endpoint_health_check_response_output: JsonSchema = { * The schema of `magic-transit_endpoint_health_check_response_collection` in * responses. */ -export const magic_transit_endpoint_health_check_response_collection_output: JsonSchema = { +export const magic$$transit_endpoint_health_check_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-transit_api-response-common" @@ -81,7 +81,7 @@ export const magic_transit_endpoint_health_check_response_collection_output: Jso * The schema of `magic-transit_endpoint_health_check_response_single` in * responses. */ -export const magic_transit_endpoint_health_check_response_single_output: JsonSchema = { +export const magic$$transit_endpoint_health_check_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-transit_api-response-common" @@ -100,6 +100,6 @@ export const magic_transit_endpoint_health_check_response_single_output: JsonSch /** * The schema of `magic-transit_uuid` in responses. */ -export const magic_transit_uuid_output: JsonSchema = { +export const magic$$transit_uuid: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/schemas.ts b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/schemas.ts index d13962acc..c03217e7e 100644 --- a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/schemas.ts +++ b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-transit_check_type`. */ -export const magic_transit_check_type: JsonSchema = { +export const magic$$transit_check_type: JsonSchema = { "description": "type of check to perform", "enum": [ "icmp" @@ -17,7 +17,7 @@ export const magic_transit_check_type: JsonSchema = { /** * The schema of `magic-transit_endpoint_health_check`. */ -export const magic_transit_endpoint_health_check: JsonSchema = { +export const magic$$transit_endpoint_health_check: JsonSchema = { "properties": { "check_type": { "$ref": "#/$defs/magic-transit_check_type", @@ -43,7 +43,7 @@ export const magic_transit_endpoint_health_check: JsonSchema = { /** * The schema of `magic-transit_uuid`. */ -export const magic_transit_uuid: JsonSchema = { +export const magic$$transit_uuid: JsonSchema = { "description": "UUID.", "type": "string" }; diff --git a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts index 6584f4658..59a3b5aaf 100644 --- a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts +++ b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts @@ -3,64 +3,72 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_transit_api_response_common_failure_output, - magic_transit_api_response_common_output, - magic_transit_messages_output, + magic$$transit_api$$response$$common, + magic$$transit_api$$response$$common$$failure, + magic$$transit_messages, } from "../outputs.js"; -import { magic_transit_identifier } from "../schemas.js"; +import { magic$$transit_identifier } from "../schemas.js"; import { - magic_transit_check_type_output, - magic_transit_endpoint_health_check_output, - magic_transit_endpoint_health_check_response_collection_output, - magic_transit_endpoint_health_check_response_output, - magic_transit_endpoint_health_check_response_single_output, - magic_transit_uuid_output, + magic$$transit_check_type, + magic$$transit_endpoint_health_check, + magic$$transit_endpoint_health_check_response, + magic$$transit_endpoint_health_check_response_collection, + magic$$transit_endpoint_health_check_response_single, + magic$$transit_uuid, } from "./outputs.js"; import { - magic_transit_check_type, - magic_transit_endpoint_health_check, - magic_transit_uuid, + magic$$transit_check_type as magic$$transit_check_type$, + magic$$transit_endpoint_health_check as magic$$transit_endpoint_health_check$, + magic$$transit_uuid as magic$$transit_uuid$, } from "./schemas.js"; /** - * The tools of `diagnostics.endpoint_healthchecks`. + * The tools of `diagnostics.endpointHealthchecks`. */ export const tools: readonly Tool[] = [ { - name: "diagnostics_endpoint_healthchecks_create", + name: "diagnostics_endpointHealthchecks_create", title: "Endpoint Health Check", description: "Create Endpoint Health Check.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic-transit_endpoint_health_check" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-transit_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-transit_check_type": magic_transit_check_type, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check, - "magic-transit_identifier": magic_transit_identifier, + "magic-transit_check_type": magic$$transit_check_type$, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check$, + "magic-transit_identifier": magic$$transit_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-transit_endpoint_health_check_response_single", $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_check_type": magic_transit_check_type_output, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check_output, - "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, - "magic-transit_endpoint_health_check_response_single": magic_transit_endpoint_health_check_response_single_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_uuid": magic_transit_uuid_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_check_type": magic$$transit_check_type, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, + "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, + "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_uuid": magic$$transit_uuid, }, }, annotations: { @@ -93,14 +101,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, - "magic-transit_check_type": magic_transit_check_type_output, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check_output, - "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, - "magic-transit_endpoint_health_check_response_single": magic_transit_endpoint_health_check_response_single_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_uuid": magic_transit_uuid_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, + "magic-transit_check_type": magic$$transit_check_type, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, + "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, + "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_uuid": magic$$transit_uuid, }, }, request: (args) => ({ @@ -109,35 +117,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "diagnostics_endpoint_healthchecks_delete", + name: "diagnostics_endpointHealthchecks_delete", title: "Delete Endpoint Health Check", description: "Delete Endpoint Health Check.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" - }, - "id": { - "$ref": "#/$defs/magic-transit_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-transit_identifier", + "description": "Identifier" + }, + "id": { + "$ref": "#/$defs/magic-transit_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "magic-transit_identifier": magic_transit_identifier, - "magic-transit_uuid": magic_transit_uuid, + "magic-transit_identifier": magic$$transit_identifier, + "magic-transit_uuid": magic$$transit_uuid$, }, }, outputSchema: { "$ref": "#/$defs/magic-transit_api-response-common", $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_messages": magic_transit_messages_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_messages": magic$$transit_messages, }, }, annotations: { @@ -167,9 +183,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, - "magic-transit_messages": magic_transit_messages_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, + "magic-transit_messages": magic$$transit_messages, }, }, request: (args) => ({ @@ -177,40 +193,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "diagnostics_endpoint_healthchecks_get", + name: "diagnostics_endpointHealthchecks_get", title: "Get Endpoint Health Check", description: "Get a single Endpoint Health Check.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" - }, - "id": { - "$ref": "#/$defs/magic-transit_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-transit_identifier", + "description": "Identifier" + }, + "id": { + "$ref": "#/$defs/magic-transit_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { - "magic-transit_identifier": magic_transit_identifier, - "magic-transit_uuid": magic_transit_uuid, + "magic-transit_identifier": magic$$transit_identifier, + "magic-transit_uuid": magic$$transit_uuid$, }, }, outputSchema: { "$ref": "#/$defs/magic-transit_endpoint_health_check_response_single", $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_check_type": magic_transit_check_type_output, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check_output, - "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, - "magic-transit_endpoint_health_check_response_single": magic_transit_endpoint_health_check_response_single_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_uuid": magic_transit_uuid_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_check_type": magic$$transit_check_type, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, + "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, + "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_uuid": magic$$transit_uuid, }, }, annotations: { @@ -243,14 +267,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, - "magic-transit_check_type": magic_transit_check_type_output, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check_output, - "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, - "magic-transit_endpoint_health_check_response_single": magic_transit_endpoint_health_check_response_single_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_uuid": magic_transit_uuid_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, + "magic-transit_check_type": magic$$transit_check_type, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, + "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, + "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_uuid": magic$$transit_uuid, }, }, request: (args) => ({ @@ -258,34 +282,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "diagnostics_endpoint_healthchecks_list", + name: "diagnostics_endpointHealthchecks_list", title: "List Endpoint Health Checks", description: "List Endpoint Health Checks.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-transit_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic-transit_identifier": magic_transit_identifier, + "magic-transit_identifier": magic$$transit_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-transit_endpoint_health_check_response_collection", $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_check_type": magic_transit_check_type_output, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check_output, - "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, - "magic-transit_endpoint_health_check_response_collection": magic_transit_endpoint_health_check_response_collection_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_uuid": magic_transit_uuid_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_check_type": magic$$transit_check_type, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, + "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, + "magic-transit_endpoint_health_check_response_collection": magic$$transit_endpoint_health_check_response_collection, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_uuid": magic$$transit_uuid, }, }, annotations: { @@ -318,14 +350,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, - "magic-transit_check_type": magic_transit_check_type_output, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check_output, - "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, - "magic-transit_endpoint_health_check_response_collection": magic_transit_endpoint_health_check_response_collection_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_uuid": magic_transit_uuid_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, + "magic-transit_check_type": magic$$transit_check_type, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, + "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, + "magic-transit_endpoint_health_check_response_collection": magic$$transit_endpoint_health_check_response_collection, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_uuid": magic$$transit_uuid, }, }, request: (args) => ({ @@ -333,46 +365,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "diagnostics_endpoint_healthchecks_update", + name: "diagnostics_endpointHealthchecks_update", title: "Update Endpoint Health Check", description: "Update an Endpoint Health Check.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic-transit_endpoint_health_check" }, - "id": { - "$ref": "#/$defs/magic-transit_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-transit_identifier", + "description": "Identifier" + }, + "id": { + "$ref": "#/$defs/magic-transit_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id", + "path", "body" ], $defs: { - "magic-transit_check_type": magic_transit_check_type, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check, - "magic-transit_identifier": magic_transit_identifier, - "magic-transit_uuid": magic_transit_uuid, + "magic-transit_check_type": magic$$transit_check_type$, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check$, + "magic-transit_identifier": magic$$transit_identifier, + "magic-transit_uuid": magic$$transit_uuid$, }, }, outputSchema: { "$ref": "#/$defs/magic-transit_endpoint_health_check_response_single", $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_check_type": magic_transit_check_type_output, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check_output, - "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, - "magic-transit_endpoint_health_check_response_single": magic_transit_endpoint_health_check_response_single_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_uuid": magic_transit_uuid_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_check_type": magic$$transit_check_type, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, + "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, + "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_uuid": magic$$transit_uuid, }, }, annotations: { @@ -402,14 +442,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, - "magic-transit_check_type": magic_transit_check_type_output, - "magic-transit_endpoint_health_check": magic_transit_endpoint_health_check_output, - "magic-transit_endpoint_health_check_response": magic_transit_endpoint_health_check_response_output, - "magic-transit_endpoint_health_check_response_single": magic_transit_endpoint_health_check_response_single_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_uuid": magic_transit_uuid_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, + "magic-transit_check_type": magic$$transit_check_type, + "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, + "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, + "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_uuid": magic$$transit_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/diagnostics/outputs.ts b/src/generated/forge-mcp/diagnostics/outputs.ts index 5fda82486..4682fdc13 100644 --- a/src/generated/forge-mcp/diagnostics/outputs.ts +++ b/src/generated/forge-mcp/diagnostics/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `magic-transit_api-response-common` in responses. */ -export const magic_transit_api_response_common_output: JsonSchema = { +export const magic$$transit_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic-transit_messages" @@ -32,7 +32,7 @@ export const magic_transit_api_response_common_output: JsonSchema = { /** * The schema of `magic-transit_api-response-common-failure` in responses. */ -export const magic_transit_api_response_common_failure_output: JsonSchema = { +export const magic$$transit_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic-transit_messages" @@ -69,7 +69,7 @@ export const magic_transit_api_response_common_failure_output: JsonSchema = { /** * The schema of `magic-transit_messages` in responses. */ -export const magic_transit_messages_output: JsonSchema = { +export const magic$$transit_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/diagnostics/schemas.ts b/src/generated/forge-mcp/diagnostics/schemas.ts index d307d3feb..fe8c20576 100644 --- a/src/generated/forge-mcp/diagnostics/schemas.ts +++ b/src/generated/forge-mcp/diagnostics/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `magic-transit_identifier`. */ -export const magic_transit_identifier: JsonSchema = { +export const magic$$transit_identifier: JsonSchema = { "description": "Identifier", "type": "string" }; diff --git a/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts b/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts index 4ec5f8be7..e63574209 100644 --- a/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts +++ b/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-transit_asn` in responses. */ -export const magic_transit_asn_output: JsonSchema = { +export const magic$$transit_asn: JsonSchema = { "type": "string" }; /** * The schema of `magic-transit_colo` in responses. */ -export const magic_transit_colo_output: JsonSchema = { +export const magic$$transit_colo: JsonSchema = { "properties": { "city": { "$ref": "#/$defs/magic-transit_colo_city" @@ -28,21 +28,21 @@ export const magic_transit_colo_output: JsonSchema = { /** * The schema of `magic-transit_colo_city` in responses. */ -export const magic_transit_colo_city_output: JsonSchema = { +export const magic$$transit_colo_city: JsonSchema = { "type": "string" }; /** * The schema of `magic-transit_colo_name` in responses. */ -export const magic_transit_colo_name_output: JsonSchema = { +export const magic$$transit_colo_name: JsonSchema = { "type": "string" }; /** * The schema of `magic-transit_colo_result` in responses. */ -export const magic_transit_colo_result_output: JsonSchema = { +export const magic$$transit_colo_result: JsonSchema = { "properties": { "colo": { "$ref": "#/$defs/magic-transit_colo" @@ -69,7 +69,7 @@ export const magic_transit_colo_result_output: JsonSchema = { /** * The schema of `magic-transit_error` in responses. */ -export const magic_transit_error_output: JsonSchema = { +export const magic$$transit_error: JsonSchema = { "enum": [ "", "Could not gather traceroute data: Code 1", @@ -83,7 +83,7 @@ export const magic_transit_error_output: JsonSchema = { /** * The schema of `magic-transit_hop_result` in responses. */ -export const magic_transit_hop_result_output: JsonSchema = { +export const magic$$transit_hop_result: JsonSchema = { "properties": { "nodes": { "items": { @@ -107,14 +107,14 @@ export const magic_transit_hop_result_output: JsonSchema = { /** * The schema of `magic-transit_ip` in responses. */ -export const magic_transit_ip_output: JsonSchema = { +export const magic$$transit_ip: JsonSchema = { "type": "string" }; /** * The schema of `magic-transit_labels` in responses. */ -export const magic_transit_labels_output: JsonSchema = { +export const magic$$transit_labels: JsonSchema = { "items": { "type": "string" }, @@ -124,35 +124,35 @@ export const magic_transit_labels_output: JsonSchema = { /** * The schema of `magic-transit_max_rtt_ms` in responses. */ -export const magic_transit_max_rtt_ms_output: JsonSchema = { +export const magic$$transit_max_rtt_ms: JsonSchema = { "type": "number" }; /** * The schema of `magic-transit_mean_rtt_ms` in responses. */ -export const magic_transit_mean_rtt_ms_output: JsonSchema = { +export const magic$$transit_mean_rtt_ms: JsonSchema = { "type": "number" }; /** * The schema of `magic-transit_min_rtt_ms` in responses. */ -export const magic_transit_min_rtt_ms_output: JsonSchema = { +export const magic$$transit_min_rtt_ms: JsonSchema = { "type": "number" }; /** * The schema of `magic-transit_name` in responses. */ -export const magic_transit_name_output: JsonSchema = { +export const magic$$transit_name: JsonSchema = { "type": "string" }; /** * The schema of `magic-transit_node_result` in responses. */ -export const magic_transit_node_result_output: JsonSchema = { +export const magic$$transit_node_result: JsonSchema = { "properties": { "asn": { "$ref": "#/$defs/magic-transit_asn" @@ -188,49 +188,49 @@ export const magic_transit_node_result_output: JsonSchema = { /** * The schema of `magic-transit_packet_count` in responses. */ -export const magic_transit_packet_count_output: JsonSchema = { +export const magic$$transit_packet_count: JsonSchema = { "type": "integer" }; /** * The schema of `magic-transit_packets_lost` in responses. */ -export const magic_transit_packets_lost_output: JsonSchema = { +export const magic$$transit_packets_lost: JsonSchema = { "type": "integer" }; /** * The schema of `magic-transit_packets_sent` in responses. */ -export const magic_transit_packets_sent_output: JsonSchema = { +export const magic$$transit_packets_sent: JsonSchema = { "type": "integer" }; /** * The schema of `magic-transit_packets_ttl` in responses. */ -export const magic_transit_packets_ttl_output: JsonSchema = { +export const magic$$transit_packets_ttl: JsonSchema = { "type": "integer" }; /** * The schema of `magic-transit_std_dev_rtt_ms` in responses. */ -export const magic_transit_std_dev_rtt_ms_output: JsonSchema = { +export const magic$$transit_std_dev_rtt_ms: JsonSchema = { "type": "number" }; /** * The schema of `magic-transit_target` in responses. */ -export const magic_transit_target_output: JsonSchema = { +export const magic$$transit_target: JsonSchema = { "type": "string" }; /** * The schema of `magic-transit_target_result` in responses. */ -export const magic_transit_target_result_output: JsonSchema = { +export const magic$$transit_target_result: JsonSchema = { "properties": { "colos": { "items": { @@ -248,14 +248,14 @@ export const magic_transit_target_result_output: JsonSchema = { /** * The schema of `magic-transit_target_summary` in responses. */ -export const magic_transit_target_summary_output: JsonSchema = { +export const magic$$transit_target_summary: JsonSchema = { "type": "object" }; /** * The schema of `magic-transit_traceroute_response_collection` in responses. */ -export const magic_transit_traceroute_response_collection_output: JsonSchema = { +export const magic$$transit_traceroute_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-transit_api-response-common" @@ -277,6 +277,6 @@ export const magic_transit_traceroute_response_collection_output: JsonSchema = { /** * The schema of `magic-transit_traceroute_time_ms` in responses. */ -export const magic_transit_traceroute_time_ms_output: JsonSchema = { +export const magic$$transit_traceroute_time_ms: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/diagnostics/traceroutes/schemas.ts b/src/generated/forge-mcp/diagnostics/traceroutes/schemas.ts index fcaf00642..23c25ba34 100644 --- a/src/generated/forge-mcp/diagnostics/traceroutes/schemas.ts +++ b/src/generated/forge-mcp/diagnostics/traceroutes/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-transit_colos`. */ -export const magic_transit_colos: JsonSchema = { +export const magic$$transit_colos: JsonSchema = { "description": "If no source colo names specified, all colos will be used. China colos are unavailable for traceroutes.", "items": { "type": "string" @@ -17,7 +17,7 @@ export const magic_transit_colos: JsonSchema = { /** * The schema of `magic-transit_max_ttl`. */ -export const magic_transit_max_ttl: JsonSchema = { +export const magic$$transit_max_ttl: JsonSchema = { "description": "Max TTL.", "type": "integer" }; @@ -25,7 +25,7 @@ export const magic_transit_max_ttl: JsonSchema = { /** * The schema of `magic-transit_options`. */ -export const magic_transit_options: JsonSchema = { +export const magic$$transit_options: JsonSchema = { "properties": { "max_ttl": { "$ref": "#/$defs/magic-transit_max_ttl", @@ -59,7 +59,7 @@ export const magic_transit_options: JsonSchema = { /** * The schema of `magic-transit_packet_type`. */ -export const magic_transit_packet_type: JsonSchema = { +export const magic$$transit_packet_type: JsonSchema = { "description": "Type of packet sent.", "enum": [ "icmp", @@ -74,7 +74,7 @@ export const magic_transit_packet_type: JsonSchema = { /** * The schema of `magic-transit_packets_per_ttl`. */ -export const magic_transit_packets_per_ttl: JsonSchema = { +export const magic$$transit_packets_per_ttl: JsonSchema = { "description": "Number of packets sent at each TTL.", "type": "integer" }; @@ -82,7 +82,7 @@ export const magic_transit_packets_per_ttl: JsonSchema = { /** * The schema of `magic-transit_port`. */ -export const magic_transit_port: JsonSchema = { +export const magic$$transit_port: JsonSchema = { "description": "For UDP and TCP, specifies the destination port. For ICMP, specifies the initial ICMP sequence value. Default value 0 will choose the best value to use for each protocol.", "type": "integer" }; @@ -90,7 +90,7 @@ export const magic_transit_port: JsonSchema = { /** * The schema of `magic-transit_targets`. */ -export const magic_transit_targets: JsonSchema = { +export const magic$$transit_targets: JsonSchema = { "items": { "type": "string" }, @@ -101,7 +101,7 @@ export const magic_transit_targets: JsonSchema = { /** * The schema of `magic-transit_wait_time`. */ -export const magic_transit_wait_time: JsonSchema = { +export const magic$$transit_wait_time: JsonSchema = { "description": "Set the time (in seconds) to wait for a response to a probe.", "type": "integer" }; diff --git a/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts b/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts index 55cf53837..ab3518a17 100644 --- a/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts +++ b/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts @@ -3,46 +3,46 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_transit_api_response_common_failure_output, - magic_transit_api_response_common_output, - magic_transit_messages_output, + magic$$transit_api$$response$$common, + magic$$transit_api$$response$$common$$failure, + magic$$transit_messages, } from "../outputs.js"; -import { magic_transit_identifier } from "../schemas.js"; +import { magic$$transit_identifier } from "../schemas.js"; import { - magic_transit_asn_output, - magic_transit_colo_city_output, - magic_transit_colo_name_output, - magic_transit_colo_output, - magic_transit_colo_result_output, - magic_transit_error_output, - magic_transit_hop_result_output, - magic_transit_ip_output, - magic_transit_labels_output, - magic_transit_max_rtt_ms_output, - magic_transit_mean_rtt_ms_output, - magic_transit_min_rtt_ms_output, - magic_transit_name_output, - magic_transit_node_result_output, - magic_transit_packet_count_output, - magic_transit_packets_lost_output, - magic_transit_packets_sent_output, - magic_transit_packets_ttl_output, - magic_transit_std_dev_rtt_ms_output, - magic_transit_target_output, - magic_transit_target_result_output, - magic_transit_target_summary_output, - magic_transit_traceroute_response_collection_output, - magic_transit_traceroute_time_ms_output, + magic$$transit_asn, + magic$$transit_colo, + magic$$transit_colo_city, + magic$$transit_colo_name, + magic$$transit_colo_result, + magic$$transit_error, + magic$$transit_hop_result, + magic$$transit_ip, + magic$$transit_labels, + magic$$transit_max_rtt_ms, + magic$$transit_mean_rtt_ms, + magic$$transit_min_rtt_ms, + magic$$transit_name, + magic$$transit_node_result, + magic$$transit_packet_count, + magic$$transit_packets_lost, + magic$$transit_packets_sent, + magic$$transit_packets_ttl, + magic$$transit_std_dev_rtt_ms, + magic$$transit_target, + magic$$transit_target_result, + magic$$transit_target_summary, + magic$$transit_traceroute_response_collection, + magic$$transit_traceroute_time_ms, } from "./outputs.js"; import { - magic_transit_colos, - magic_transit_max_ttl, - magic_transit_options, - magic_transit_packet_type, - magic_transit_packets_per_ttl, - magic_transit_port, - magic_transit_targets, - magic_transit_wait_time, + magic$$transit_colos, + magic$$transit_max_ttl, + magic$$transit_options, + magic$$transit_packet_type, + magic$$transit_packets_per_ttl, + magic$$transit_port, + magic$$transit_targets, + magic$$transit_wait_time, } from "./schemas.js"; /** @@ -56,10 +56,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" - }, "body": { "properties": { "colos": { @@ -77,53 +73,65 @@ export const tools: readonly Tool[] = [ "targets" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-transit_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-transit_colos": magic_transit_colos, - "magic-transit_identifier": magic_transit_identifier, - "magic-transit_max_ttl": magic_transit_max_ttl, - "magic-transit_options": magic_transit_options, - "magic-transit_packet_type": magic_transit_packet_type, - "magic-transit_packets_per_ttl": magic_transit_packets_per_ttl, - "magic-transit_port": magic_transit_port, - "magic-transit_targets": magic_transit_targets, - "magic-transit_wait_time": magic_transit_wait_time, + "magic-transit_colos": magic$$transit_colos, + "magic-transit_identifier": magic$$transit_identifier, + "magic-transit_max_ttl": magic$$transit_max_ttl, + "magic-transit_options": magic$$transit_options, + "magic-transit_packet_type": magic$$transit_packet_type, + "magic-transit_packets_per_ttl": magic$$transit_packets_per_ttl, + "magic-transit_port": magic$$transit_port, + "magic-transit_targets": magic$$transit_targets, + "magic-transit_wait_time": magic$$transit_wait_time, }, }, outputSchema: { "$ref": "#/$defs/magic-transit_traceroute_response_collection", $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_asn": magic_transit_asn_output, - "magic-transit_colo": magic_transit_colo_output, - "magic-transit_colo_city": magic_transit_colo_city_output, - "magic-transit_colo_name": magic_transit_colo_name_output, - "magic-transit_colo_result": magic_transit_colo_result_output, - "magic-transit_error": magic_transit_error_output, - "magic-transit_hop_result": magic_transit_hop_result_output, - "magic-transit_ip": magic_transit_ip_output, - "magic-transit_labels": magic_transit_labels_output, - "magic-transit_max_rtt_ms": magic_transit_max_rtt_ms_output, - "magic-transit_mean_rtt_ms": magic_transit_mean_rtt_ms_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_min_rtt_ms": magic_transit_min_rtt_ms_output, - "magic-transit_name": magic_transit_name_output, - "magic-transit_node_result": magic_transit_node_result_output, - "magic-transit_packet_count": magic_transit_packet_count_output, - "magic-transit_packets_lost": magic_transit_packets_lost_output, - "magic-transit_packets_sent": magic_transit_packets_sent_output, - "magic-transit_packets_ttl": magic_transit_packets_ttl_output, - "magic-transit_std_dev_rtt_ms": magic_transit_std_dev_rtt_ms_output, - "magic-transit_target": magic_transit_target_output, - "magic-transit_target_result": magic_transit_target_result_output, - "magic-transit_target_summary": magic_transit_target_summary_output, - "magic-transit_traceroute_response_collection": magic_transit_traceroute_response_collection_output, - "magic-transit_traceroute_time_ms": magic_transit_traceroute_time_ms_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_asn": magic$$transit_asn, + "magic-transit_colo": magic$$transit_colo, + "magic-transit_colo_city": magic$$transit_colo_city, + "magic-transit_colo_name": magic$$transit_colo_name, + "magic-transit_colo_result": magic$$transit_colo_result, + "magic-transit_error": magic$$transit_error, + "magic-transit_hop_result": magic$$transit_hop_result, + "magic-transit_ip": magic$$transit_ip, + "magic-transit_labels": magic$$transit_labels, + "magic-transit_max_rtt_ms": magic$$transit_max_rtt_ms, + "magic-transit_mean_rtt_ms": magic$$transit_mean_rtt_ms, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_min_rtt_ms": magic$$transit_min_rtt_ms, + "magic-transit_name": magic$$transit_name, + "magic-transit_node_result": magic$$transit_node_result, + "magic-transit_packet_count": magic$$transit_packet_count, + "magic-transit_packets_lost": magic$$transit_packets_lost, + "magic-transit_packets_sent": magic$$transit_packets_sent, + "magic-transit_packets_ttl": magic$$transit_packets_ttl, + "magic-transit_std_dev_rtt_ms": magic$$transit_std_dev_rtt_ms, + "magic-transit_target": magic$$transit_target, + "magic-transit_target_result": magic$$transit_target_result, + "magic-transit_target_summary": magic$$transit_target_summary, + "magic-transit_traceroute_response_collection": magic$$transit_traceroute_response_collection, + "magic-transit_traceroute_time_ms": magic$$transit_traceroute_time_ms, }, }, annotations: { @@ -156,33 +164,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-transit_api-response-common": magic_transit_api_response_common_output, - "magic-transit_api-response-common-failure": magic_transit_api_response_common_failure_output, - "magic-transit_asn": magic_transit_asn_output, - "magic-transit_colo": magic_transit_colo_output, - "magic-transit_colo_city": magic_transit_colo_city_output, - "magic-transit_colo_name": magic_transit_colo_name_output, - "magic-transit_colo_result": magic_transit_colo_result_output, - "magic-transit_error": magic_transit_error_output, - "magic-transit_hop_result": magic_transit_hop_result_output, - "magic-transit_ip": magic_transit_ip_output, - "magic-transit_labels": magic_transit_labels_output, - "magic-transit_max_rtt_ms": magic_transit_max_rtt_ms_output, - "magic-transit_mean_rtt_ms": magic_transit_mean_rtt_ms_output, - "magic-transit_messages": magic_transit_messages_output, - "magic-transit_min_rtt_ms": magic_transit_min_rtt_ms_output, - "magic-transit_name": magic_transit_name_output, - "magic-transit_node_result": magic_transit_node_result_output, - "magic-transit_packet_count": magic_transit_packet_count_output, - "magic-transit_packets_lost": magic_transit_packets_lost_output, - "magic-transit_packets_sent": magic_transit_packets_sent_output, - "magic-transit_packets_ttl": magic_transit_packets_ttl_output, - "magic-transit_std_dev_rtt_ms": magic_transit_std_dev_rtt_ms_output, - "magic-transit_target": magic_transit_target_output, - "magic-transit_target_result": magic_transit_target_result_output, - "magic-transit_target_summary": magic_transit_target_summary_output, - "magic-transit_traceroute_response_collection": magic_transit_traceroute_response_collection_output, - "magic-transit_traceroute_time_ms": magic_transit_traceroute_time_ms_output, + "magic-transit_api-response-common": magic$$transit_api$$response$$common, + "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, + "magic-transit_asn": magic$$transit_asn, + "magic-transit_colo": magic$$transit_colo, + "magic-transit_colo_city": magic$$transit_colo_city, + "magic-transit_colo_name": magic$$transit_colo_name, + "magic-transit_colo_result": magic$$transit_colo_result, + "magic-transit_error": magic$$transit_error, + "magic-transit_hop_result": magic$$transit_hop_result, + "magic-transit_ip": magic$$transit_ip, + "magic-transit_labels": magic$$transit_labels, + "magic-transit_max_rtt_ms": magic$$transit_max_rtt_ms, + "magic-transit_mean_rtt_ms": magic$$transit_mean_rtt_ms, + "magic-transit_messages": magic$$transit_messages, + "magic-transit_min_rtt_ms": magic$$transit_min_rtt_ms, + "magic-transit_name": magic$$transit_name, + "magic-transit_node_result": magic$$transit_node_result, + "magic-transit_packet_count": magic$$transit_packet_count, + "magic-transit_packets_lost": magic$$transit_packets_lost, + "magic-transit_packets_sent": magic$$transit_packets_sent, + "magic-transit_packets_ttl": magic$$transit_packets_ttl, + "magic-transit_std_dev_rtt_ms": magic$$transit_std_dev_rtt_ms, + "magic-transit_target": magic$$transit_target, + "magic-transit_target_result": magic$$transit_target_result, + "magic-transit_target_summary": magic$$transit_target_summary, + "magic-transit_traceroute_response_collection": magic$$transit_traceroute_response_collection, + "magic-transit_traceroute_time_ms": magic$$transit_traceroute_time_ms, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dls/outputs.ts b/src/generated/forge-mcp/dls/outputs.ts index 338ba7c75..0859ad053 100644 --- a/src/generated/forge-mcp/dls/outputs.ts +++ b/src/generated/forge-mcp/dls/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `dls_bad_response` in responses. */ -export const dls_bad_response_output: JsonSchema = { +export const dls_bad_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dls_response" @@ -34,7 +34,7 @@ export const dls_bad_response_output: JsonSchema = { /** * The schema of `dls_coded_message` in responses. */ -export const dls_coded_message_output: JsonSchema = { +export const dls_coded_message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -59,7 +59,7 @@ export const dls_coded_message_output: JsonSchema = { /** * The schema of `dls_good_response` in responses. */ -export const dls_good_response_output: JsonSchema = { +export const dls_good_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dls_response" @@ -81,7 +81,7 @@ export const dls_good_response_output: JsonSchema = { /** * The schema of `dls_none` in responses. */ -export const dls_none_output: JsonSchema = { +export const dls_none: JsonSchema = { "oneOf": [ { "type": "object" @@ -95,7 +95,7 @@ export const dls_none_output: JsonSchema = { /** * The schema of `dls_response` in responses. */ -export const dls_response_output: JsonSchema = { +export const dls_response: JsonSchema = { "properties": { "messages": { "items": { diff --git a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/outputs.ts b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/outputs.ts index 2bee1bfdc..84db830bf 100644 --- a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/outputs.ts +++ b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dls_PrefixBinding` in responses. */ -export const dls_PrefixBinding_output: JsonSchema = { +export const dls_PrefixBinding: JsonSchema = { "properties": { "cidr": { "type": "string" @@ -33,7 +33,7 @@ export const dls_PrefixBinding_output: JsonSchema = { /** * The schema of `dls_PrefixBindingPaginatedListResponse` in responses. */ -export const dls_PrefixBindingPaginatedListResponse_output: JsonSchema = { +export const dls_PrefixBindingPaginatedListResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -89,7 +89,7 @@ export const dls_PrefixBindingPaginatedListResponse_output: JsonSchema = { /** * The schema of `dls_PrefixBindingResponse` in responses. */ -export const dls_PrefixBindingResponse_output: JsonSchema = { +export const dls_PrefixBindingResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dls_good_response" diff --git a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts index 9c560bd3e..5f167edb7 100644 --- a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts +++ b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - dls_bad_response_output, - dls_coded_message_output, - dls_good_response_output, - dls_none_output, - dls_response_output, + dls_bad_response, + dls_coded_message, + dls_good_response, + dls_none, + dls_response, } from "../../outputs.js"; import { dls_account_identifier } from "../../schemas.js"; import { - dls_PrefixBindingPaginatedListResponse_output, - dls_PrefixBindingResponse_output, - dls_PrefixBinding_output, + dls_PrefixBinding, + dls_PrefixBindingPaginatedListResponse, + dls_PrefixBindingResponse, } from "./outputs.js"; import { dls_CreatePrefixBindingInput, @@ -21,26 +21,34 @@ import { } from "./schemas.js"; /** - * The tools of `dls.regional_services.prefix_bindings`. + * The tools of `dls.regionalServices.prefixBindings`. */ export const tools: readonly Tool[] = [ { - name: "dls_regional_services_prefix_bindings_create", + name: "dls_regionalServices_prefixBindings_create", title: "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: { - "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." - }, "body": { "$ref": "#/$defs/dls_CreatePrefixBindingInput" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dls_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -51,11 +59,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dls_PrefixBindingResponse", $defs: { - "dls_PrefixBinding": dls_PrefixBinding_output, - "dls_PrefixBindingResponse": dls_PrefixBindingResponse_output, - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_response": dls_response_output, + "dls_PrefixBinding": dls_PrefixBinding, + "dls_PrefixBindingResponse": dls_PrefixBindingResponse, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_response": dls_response, }, }, annotations: { @@ -95,13 +103,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_PrefixBinding": dls_PrefixBinding_output, - "dls_PrefixBindingResponse": dls_PrefixBindingResponse_output, - "dls_bad_response": dls_bad_response_output, - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_none": dls_none_output, - "dls_response": dls_response_output, + "dls_PrefixBinding": dls_PrefixBinding, + "dls_PrefixBindingResponse": dls_PrefixBindingResponse, + "dls_bad_response": dls_bad_response, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_none": dls_none, + "dls_response": dls_response, }, }, request: (args) => ({ @@ -110,24 +118,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dls_regional_services_prefix_bindings_delete", + name: "dls_regionalServices_prefixBindings_delete", title: "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: { - "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "binding_id": { - "description": "Unique identifier for the prefix binding.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dls_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "binding_id": { + "description": "Unique identifier for the prefix binding.", + "type": "string" + } + }, + "required": [ + "account_id", + "binding_id" + ], + "type": "object" } }, required: [ - "account_id", - "binding_id" + "path" ], $defs: { "dls_account_identifier": dls_account_identifier, @@ -136,9 +152,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dls_good_response", $defs: { - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_response": dls_response_output, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_response": dls_response, }, }, annotations: { @@ -175,11 +191,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_bad_response": dls_bad_response_output, - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_none": dls_none_output, - "dls_response": dls_response_output, + "dls_bad_response": dls_bad_response, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_none": dls_none, + "dls_response": dls_response, }, }, request: (args) => ({ @@ -187,27 +203,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dls_regional_services_prefix_bindings_edit", + name: "dls_regionalServices_prefixBindings_edit", title: "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: { - "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "binding_id": { - "description": "Unique identifier for the prefix binding.", - "type": "string" - }, "body": { "$ref": "#/$defs/dls_UpdatePrefixBindingInput" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dls_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "binding_id": { + "description": "Unique identifier for the prefix binding.", + "type": "string" + } + }, + "required": [ + "account_id", + "binding_id" + ], + "type": "object" } }, required: [ - "account_id", - "binding_id", + "path", "body" ], $defs: { @@ -218,11 +242,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dls_PrefixBindingResponse", $defs: { - "dls_PrefixBinding": dls_PrefixBinding_output, - "dls_PrefixBindingResponse": dls_PrefixBindingResponse_output, - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_response": dls_response_output, + "dls_PrefixBinding": dls_PrefixBinding, + "dls_PrefixBindingResponse": dls_PrefixBindingResponse, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_response": dls_response, }, }, annotations: { @@ -262,13 +286,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_PrefixBinding": dls_PrefixBinding_output, - "dls_PrefixBindingResponse": dls_PrefixBindingResponse_output, - "dls_bad_response": dls_bad_response_output, - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_none": dls_none_output, - "dls_response": dls_response_output, + "dls_PrefixBinding": dls_PrefixBinding, + "dls_PrefixBindingResponse": dls_PrefixBindingResponse, + "dls_bad_response": dls_bad_response, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_none": dls_none, + "dls_response": dls_response, }, }, request: (args) => ({ @@ -277,24 +301,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dls_regional_services_prefix_bindings_get", + name: "dls_regionalServices_prefixBindings_get", title: "Get a DLS prefix binding", description: "Retrieve a single BYOIP prefix binding by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "binding_id": { - "description": "Unique identifier for the prefix binding.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dls_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "binding_id": { + "description": "Unique identifier for the prefix binding.", + "type": "string" + } + }, + "required": [ + "account_id", + "binding_id" + ], + "type": "object" } }, required: [ - "account_id", - "binding_id" + "path" ], $defs: { "dls_account_identifier": dls_account_identifier, @@ -303,11 +335,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dls_PrefixBindingResponse", $defs: { - "dls_PrefixBinding": dls_PrefixBinding_output, - "dls_PrefixBindingResponse": dls_PrefixBindingResponse_output, - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_response": dls_response_output, + "dls_PrefixBinding": dls_PrefixBinding, + "dls_PrefixBindingResponse": dls_PrefixBindingResponse, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_response": dls_response, }, }, annotations: { @@ -344,13 +376,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_PrefixBinding": dls_PrefixBinding_output, - "dls_PrefixBindingResponse": dls_PrefixBindingResponse_output, - "dls_bad_response": dls_bad_response_output, - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_none": dls_none_output, - "dls_response": dls_response_output, + "dls_PrefixBinding": dls_PrefixBinding, + "dls_PrefixBindingResponse": dls_PrefixBindingResponse, + "dls_bad_response": dls_bad_response, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_none": dls_none, + "dls_response": dls_response, }, }, request: (args) => ({ @@ -358,27 +390,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dls_regional_services_prefix_bindings_list", + name: "dls_regionalServices_prefixBindings_list", title: "List DLS prefix bindings for an account", description: "List the BYOIP prefix bindings configured for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "cursor": { - "description": "Opaque token for cursor-based pagination. Omit for the first page. Pass the value from a previous response to fetch the next page.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dls_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 25, - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Opaque token for cursor-based pagination. Omit for the first page. Pass the value from a previous response to fetch the next page.", + "type": "string" + }, + "per_page": { + "default": 25, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "dls_account_identifier": dls_account_identifier, @@ -387,9 +432,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dls_PrefixBindingPaginatedListResponse", $defs: { - "dls_PrefixBinding": dls_PrefixBinding_output, - "dls_PrefixBindingPaginatedListResponse": dls_PrefixBindingPaginatedListResponse_output, - "dls_coded_message": dls_coded_message_output, + "dls_PrefixBinding": dls_PrefixBinding, + "dls_PrefixBindingPaginatedListResponse": dls_PrefixBindingPaginatedListResponse, + "dls_coded_message": dls_coded_message, }, }, annotations: { @@ -426,19 +471,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_PrefixBinding": dls_PrefixBinding_output, - "dls_PrefixBindingPaginatedListResponse": dls_PrefixBindingPaginatedListResponse_output, - "dls_bad_response": dls_bad_response_output, - "dls_coded_message": dls_coded_message_output, - "dls_none": dls_none_output, - "dls_response": dls_response_output, + "dls_PrefixBinding": dls_PrefixBinding, + "dls_PrefixBindingPaginatedListResponse": dls_PrefixBindingPaginatedListResponse, + "dls_bad_response": dls_bad_response, + "dls_coded_message": dls_coded_message, + "dls_none": dls_none, + "dls_response": dls_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dls/regional_services/prefix_bindings`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/dls/regions/outputs.ts b/src/generated/forge-mcp/dls/regions/outputs.ts index c20e52841..1d2a36ab0 100644 --- a/src/generated/forge-mcp/dls/regions/outputs.ts +++ b/src/generated/forge-mcp/dls/regions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `dls_FetchPublicRegionResponse` in responses. */ -export const dls_FetchPublicRegionResponse_output: JsonSchema = { +export const dls_FetchPublicRegionResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dls_good_response" @@ -28,7 +28,7 @@ export const dls_FetchPublicRegionResponse_output: JsonSchema = { /** * The schema of `dls_RegionPublic` in responses. */ -export const dls_RegionPublic_output: JsonSchema = { +export const dls_RegionPublic: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -70,7 +70,7 @@ export const dls_RegionPublic_output: JsonSchema = { /** * The schema of `dls_RegionPublicPaginatedListResponse` in responses. */ -export const dls_RegionPublicPaginatedListResponse_output: JsonSchema = { +export const dls_RegionPublicPaginatedListResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/dls/regions/tools.ts b/src/generated/forge-mcp/dls/regions/tools.ts index 2afa9413b..7567c0b74 100644 --- a/src/generated/forge-mcp/dls/regions/tools.ts +++ b/src/generated/forge-mcp/dls/regions/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - dls_bad_response_output, - dls_coded_message_output, - dls_good_response_output, - dls_none_output, - dls_response_output, + dls_bad_response, + dls_coded_message, + dls_good_response, + dls_none, + dls_response, } from "../outputs.js"; import { dls_account_identifier } from "../schemas.js"; import { - dls_FetchPublicRegionResponse_output, - dls_RegionPublicPaginatedListResponse_output, - dls_RegionPublic_output, + dls_FetchPublicRegionResponse, + dls_RegionPublic, + dls_RegionPublicPaginatedListResponse, } from "./outputs.js"; /** @@ -27,18 +27,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "region_id": { - "description": "UUID of the region (custom or managed) or region_key of a managed region.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dls_account_identifier", + "description": "Identifier of a Cloudflare account." + }, + "region_id": { + "description": "UUID of the region (custom or managed) or region_key of a managed region.", + "type": "string" + } + }, + "required": [ + "account_id", + "region_id" + ], + "type": "object" } }, required: [ - "account_id", - "region_id" + "path" ], $defs: { "dls_account_identifier": dls_account_identifier, @@ -47,11 +55,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dls_FetchPublicRegionResponse", $defs: { - "dls_FetchPublicRegionResponse": dls_FetchPublicRegionResponse_output, - "dls_RegionPublic": dls_RegionPublic_output, - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_response": dls_response_output, + "dls_FetchPublicRegionResponse": dls_FetchPublicRegionResponse, + "dls_RegionPublic": dls_RegionPublic, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_response": dls_response, }, }, annotations: { @@ -88,13 +96,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_FetchPublicRegionResponse": dls_FetchPublicRegionResponse_output, - "dls_RegionPublic": dls_RegionPublic_output, - "dls_bad_response": dls_bad_response_output, - "dls_coded_message": dls_coded_message_output, - "dls_good_response": dls_good_response_output, - "dls_none": dls_none_output, - "dls_response": dls_response_output, + "dls_FetchPublicRegionResponse": dls_FetchPublicRegionResponse, + "dls_RegionPublic": dls_RegionPublic, + "dls_bad_response": dls_bad_response, + "dls_coded_message": dls_coded_message, + "dls_good_response": dls_good_response, + "dls_none": dls_none, + "dls_response": dls_response, }, }, request: (args) => ({ @@ -108,29 +116,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." - }, - "cursor": { - "description": "Opaque token for cursor-based pagination. Omit for the first page. Pass the value from a previous response to fetch the next page.", - "type": "string" - }, - "per_page": { - "default": 25, - "type": "integer" - }, - "type": { - "description": "Filter regions by type. Omit to return all regions.", - "enum": [ - "managed", - "custom" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dls_account_identifier", + "description": "Identifier of a Cloudflare account." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "cursor": { + "description": "Opaque token for cursor-based pagination. Omit for the first page. Pass the value from a previous response to fetch the next page.", + "type": "string" + }, + "per_page": { + "default": 25, + "type": "integer" + }, + "type": { + "description": "Filter regions by type. Omit to return all regions.", + "enum": [ + "managed", + "custom" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "dls_account_identifier": dls_account_identifier, @@ -139,9 +160,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dls_RegionPublicPaginatedListResponse", $defs: { - "dls_RegionPublic": dls_RegionPublic_output, - "dls_RegionPublicPaginatedListResponse": dls_RegionPublicPaginatedListResponse_output, - "dls_coded_message": dls_coded_message_output, + "dls_RegionPublic": dls_RegionPublic, + "dls_RegionPublicPaginatedListResponse": dls_RegionPublicPaginatedListResponse, + "dls_coded_message": dls_coded_message, }, }, annotations: { @@ -178,20 +199,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dls_RegionPublic": dls_RegionPublic_output, - "dls_RegionPublicPaginatedListResponse": dls_RegionPublicPaginatedListResponse_output, - "dls_bad_response": dls_bad_response_output, - "dls_coded_message": dls_coded_message_output, - "dls_none": dls_none_output, - "dls_response": dls_response_output, + "dls_RegionPublic": dls_RegionPublic, + "dls_RegionPublicPaginatedListResponse": dls_RegionPublicPaginatedListResponse, + "dls_bad_response": dls_bad_response, + "dls_coded_message": dls_coded_message, + "dls_none": dls_none, + "dls_response": dls_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dls/regions`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], - ["type", args["type"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], + ["type", param(args, "query", "type"), true], ], }), }, diff --git a/src/generated/forge-mcp/dns/dnssec/list/outputs.ts b/src/generated/forge-mcp/dns/dnssec/list/outputs.ts index 57b89e676..8578f7a80 100644 --- a/src/generated/forge-mcp/dns/dnssec/list/outputs.ts +++ b/src/generated/forge-mcp/dns/dnssec/list/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dnssec_dnskey_record` in responses. */ -export const dnssec_dnskey_record_output: JsonSchema = { +export const dnssec_dnskey_record: JsonSchema = { "properties": { "Algorithm": { "oneOf": [ @@ -58,7 +58,7 @@ export const dnssec_dnskey_record_output: JsonSchema = { /** * The schema of `dnssec_dnskey_record_header` in responses. */ -export const dnssec_dnskey_record_header_output: JsonSchema = { +export const dnssec_dnskey_record_header: JsonSchema = { "properties": { "Class": { "oneOf": [ @@ -117,7 +117,7 @@ export const dnssec_dnskey_record_header_output: JsonSchema = { /** * The schema of `dnssec_dnskey_signing_key` in responses. */ -export const dnssec_dnskey_signing_key_output: JsonSchema = { +export const dnssec_dnskey_signing_key: JsonSchema = { "properties": { "kek": { "oneOf": [ @@ -157,7 +157,7 @@ export const dnssec_dnskey_signing_key_output: JsonSchema = { /** * The schema of `dnssec_dnssec_key_state` in responses. */ -export const dnssec_dnssec_key_state_output: JsonSchema = { +export const dnssec_dnssec_key_state: JsonSchema = { "enum": [ "active", "publish", @@ -172,7 +172,7 @@ export const dnssec_dnssec_key_state_output: JsonSchema = { /** * The schema of `dnssec_dnssec_zsk` in responses. */ -export const dnssec_dnssec_zsk_output: JsonSchema = { +export const dnssec_dnssec_zsk: JsonSchema = { "properties": { "DNSKEY": { "$ref": "#/$defs/dnssec_dnskey_record" @@ -196,7 +196,7 @@ export const dnssec_dnssec_zsk_output: JsonSchema = { /** * The schema of `dnssec_dnssec_zsk_response_collection` in responses. */ -export const dnssec_dnssec_zsk_response_collection_output: JsonSchema = { +export const dnssec_dnssec_zsk_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dnssec_api-response-single" @@ -218,7 +218,7 @@ export const dnssec_dnssec_zsk_response_collection_output: JsonSchema = { /** * The schema of `dnssec_key_storage_location` in responses. */ -export const dnssec_key_storage_location_output: JsonSchema = { +export const dnssec_key_storage_location: JsonSchema = { "enum": [ "database", "vault" diff --git a/src/generated/forge-mcp/dns/dnssec/list/tools.ts b/src/generated/forge-mcp/dns/dnssec/list/tools.ts index 65aa55431..6e19500f9 100644 --- a/src/generated/forge-mcp/dns/dnssec/list/tools.ts +++ b/src/generated/forge-mcp/dns/dnssec/list/tools.ts @@ -3,19 +3,19 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dnssec_api_response_common_failure_output, - dnssec_api_response_single_output, - dnssec_messages_output, + dnssec_api$$response$$common$$failure, + dnssec_api$$response$$single, + dnssec_messages, } from "../outputs.js"; import { dnssec_identifier } from "../schemas.js"; import { - dnssec_dnskey_record_header_output, - dnssec_dnskey_record_output, - dnssec_dnskey_signing_key_output, - dnssec_dnssec_key_state_output, - dnssec_dnssec_zsk_output, - dnssec_dnssec_zsk_response_collection_output, - dnssec_key_storage_location_output, + dnssec_dnskey_record, + dnssec_dnskey_record_header, + dnssec_dnskey_signing_key, + dnssec_dnssec_key_state, + dnssec_dnssec_zsk, + dnssec_dnssec_zsk_response_collection, + dnssec_key_storage_location, } from "./outputs.js"; /** @@ -29,13 +29,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/dnssec_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dnssec_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "dnssec_identifier": dnssec_identifier, @@ -44,15 +52,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dnssec_dnssec_zsk_response_collection", $defs: { - "dnssec_api-response-single": dnssec_api_response_single_output, - "dnssec_dnskey_record": dnssec_dnskey_record_output, - "dnssec_dnskey_record_header": dnssec_dnskey_record_header_output, - "dnssec_dnskey_signing_key": dnssec_dnskey_signing_key_output, - "dnssec_dnssec_key_state": dnssec_dnssec_key_state_output, - "dnssec_dnssec_zsk": dnssec_dnssec_zsk_output, - "dnssec_dnssec_zsk_response_collection": dnssec_dnssec_zsk_response_collection_output, - "dnssec_key_storage_location": dnssec_key_storage_location_output, - "dnssec_messages": dnssec_messages_output, + "dnssec_api-response-single": dnssec_api$$response$$single, + "dnssec_dnskey_record": dnssec_dnskey_record, + "dnssec_dnskey_record_header": dnssec_dnskey_record_header, + "dnssec_dnskey_signing_key": dnssec_dnskey_signing_key, + "dnssec_dnssec_key_state": dnssec_dnssec_key_state, + "dnssec_dnssec_zsk": dnssec_dnssec_zsk, + "dnssec_dnssec_zsk_response_collection": dnssec_dnssec_zsk_response_collection, + "dnssec_key_storage_location": dnssec_key_storage_location, + "dnssec_messages": dnssec_messages, }, }, annotations: { @@ -86,16 +94,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dnssec_api-response-common-failure": dnssec_api_response_common_failure_output, - "dnssec_api-response-single": dnssec_api_response_single_output, - "dnssec_dnskey_record": dnssec_dnskey_record_output, - "dnssec_dnskey_record_header": dnssec_dnskey_record_header_output, - "dnssec_dnskey_signing_key": dnssec_dnskey_signing_key_output, - "dnssec_dnssec_key_state": dnssec_dnssec_key_state_output, - "dnssec_dnssec_zsk": dnssec_dnssec_zsk_output, - "dnssec_dnssec_zsk_response_collection": dnssec_dnssec_zsk_response_collection_output, - "dnssec_key_storage_location": dnssec_key_storage_location_output, - "dnssec_messages": dnssec_messages_output, + "dnssec_api-response-common-failure": dnssec_api$$response$$common$$failure, + "dnssec_api-response-single": dnssec_api$$response$$single, + "dnssec_dnskey_record": dnssec_dnskey_record, + "dnssec_dnskey_record_header": dnssec_dnskey_record_header, + "dnssec_dnskey_signing_key": dnssec_dnskey_signing_key, + "dnssec_dnssec_key_state": dnssec_dnssec_key_state, + "dnssec_dnssec_zsk": dnssec_dnssec_zsk, + "dnssec_dnssec_zsk_response_collection": dnssec_dnssec_zsk_response_collection, + "dnssec_key_storage_location": dnssec_key_storage_location, + "dnssec_messages": dnssec_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/dnssec/outputs.ts b/src/generated/forge-mcp/dns/dnssec/outputs.ts index 37782cd9e..806eeaf64 100644 --- a/src/generated/forge-mcp/dns/dnssec/outputs.ts +++ b/src/generated/forge-mcp/dns/dnssec/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `dnssec_algorithm` in responses. */ -export const dnssec_algorithm_output: JsonSchema = { +export const dnssec_algorithm: JsonSchema = { "oneOf": [ { "type": "string" @@ -20,7 +20,7 @@ export const dnssec_algorithm_output: JsonSchema = { /** * The schema of `dnssec_api-response-common-failure` in responses. */ -export const dnssec_api_response_common_failure_output: JsonSchema = { +export const dnssec_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dnssec_messages" @@ -50,7 +50,7 @@ export const dnssec_api_response_common_failure_output: JsonSchema = { /** * The schema of `dnssec_api-response-single` in responses. */ -export const dnssec_api_response_single_output: JsonSchema = { +export const dnssec_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dnssec_messages" @@ -76,7 +76,7 @@ export const dnssec_api_response_single_output: JsonSchema = { /** * The schema of `dnssec_delete_dnssec_response_single` in responses. */ -export const dnssec_delete_dnssec_response_single_output: JsonSchema = { +export const dnssec_delete_dnssec_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dnssec_api-response-single" @@ -95,7 +95,7 @@ export const dnssec_delete_dnssec_response_single_output: JsonSchema = { /** * The schema of `dnssec_digest` in responses. */ -export const dnssec_digest_output: JsonSchema = { +export const dnssec_digest: JsonSchema = { "oneOf": [ { "type": "string" @@ -109,7 +109,7 @@ export const dnssec_digest_output: JsonSchema = { /** * The schema of `dnssec_digest_algorithm` in responses. */ -export const dnssec_digest_algorithm_output: JsonSchema = { +export const dnssec_digest_algorithm: JsonSchema = { "oneOf": [ { "type": "string" @@ -123,7 +123,7 @@ export const dnssec_digest_algorithm_output: JsonSchema = { /** * The schema of `dnssec_digest_type` in responses. */ -export const dnssec_digest_type_output: JsonSchema = { +export const dnssec_digest_type: JsonSchema = { "oneOf": [ { "type": "string" @@ -137,7 +137,7 @@ export const dnssec_digest_type_output: JsonSchema = { /** * The schema of `dnssec_dnssec` in responses. */ -export const dnssec_dnssec_output: JsonSchema = { +export const dnssec_dnssec: JsonSchema = { "properties": { "algorithm": { "$ref": "#/$defs/dnssec_algorithm" @@ -188,21 +188,21 @@ export const dnssec_dnssec_output: JsonSchema = { /** * The schema of `dnssec_dnssec_multi_signer` in responses. */ -export const dnssec_dnssec_multi_signer_output: JsonSchema = { +export const dnssec_dnssec_multi_signer: JsonSchema = { "type": "boolean" }; /** * The schema of `dnssec_dnssec_presigned` in responses. */ -export const dnssec_dnssec_presigned_output: JsonSchema = { +export const dnssec_dnssec_presigned: JsonSchema = { "type": "boolean" }; /** * The schema of `dnssec_dnssec_response_single` in responses. */ -export const dnssec_dnssec_response_single_output: JsonSchema = { +export const dnssec_dnssec_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dnssec_api-response-single" @@ -221,14 +221,14 @@ export const dnssec_dnssec_response_single_output: JsonSchema = { /** * The schema of `dnssec_dnssec_use_nsec3` in responses. */ -export const dnssec_dnssec_use_nsec3_output: JsonSchema = { +export const dnssec_dnssec_use_nsec3: JsonSchema = { "type": "boolean" }; /** * The schema of `dnssec_ds` in responses. */ -export const dnssec_ds_output: JsonSchema = { +export const dnssec_ds: JsonSchema = { "oneOf": [ { "type": "string" @@ -242,7 +242,7 @@ export const dnssec_ds_output: JsonSchema = { /** * The schema of `dnssec_flags` in responses. */ -export const dnssec_flags_output: JsonSchema = { +export const dnssec_flags: JsonSchema = { "oneOf": [ { "type": "number" @@ -256,7 +256,7 @@ export const dnssec_flags_output: JsonSchema = { /** * The schema of `dnssec_key_tag` in responses. */ -export const dnssec_key_tag_output: JsonSchema = { +export const dnssec_key_tag: JsonSchema = { "oneOf": [ { "type": "number" @@ -270,7 +270,7 @@ export const dnssec_key_tag_output: JsonSchema = { /** * The schema of `dnssec_key_type` in responses. */ -export const dnssec_key_type_output: JsonSchema = { +export const dnssec_key_type: JsonSchema = { "oneOf": [ { "type": "string" @@ -284,7 +284,7 @@ export const dnssec_key_type_output: JsonSchema = { /** * The schema of `dnssec_messages` in responses. */ -export const dnssec_messages_output: JsonSchema = { +export const dnssec_messages: JsonSchema = { "items": { "properties": { "code": { @@ -317,7 +317,7 @@ export const dnssec_messages_output: JsonSchema = { /** * The schema of `dnssec_modified_on` in responses. */ -export const dnssec_modified_on_output: JsonSchema = { +export const dnssec_modified_on: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -332,7 +332,7 @@ export const dnssec_modified_on_output: JsonSchema = { /** * The schema of `dnssec_public_key` in responses. */ -export const dnssec_public_key_output: JsonSchema = { +export const dnssec_public_key: JsonSchema = { "oneOf": [ { "type": "string" @@ -346,7 +346,7 @@ export const dnssec_public_key_output: JsonSchema = { /** * The schema of `dnssec_status` in responses. */ -export const dnssec_status_output: JsonSchema = { +export const dnssec_status: JsonSchema = { "enum": [ "active", "pending", diff --git a/src/generated/forge-mcp/dns/dnssec/tools.ts b/src/generated/forge-mcp/dns/dnssec/tools.ts index f18bd8e26..16481c8f7 100644 --- a/src/generated/forge-mcp/dns/dnssec/tools.ts +++ b/src/generated/forge-mcp/dns/dnssec/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - dnssec_algorithm_output, - dnssec_api_response_common_failure_output, - dnssec_api_response_single_output, - dnssec_delete_dnssec_response_single_output, - dnssec_digest_algorithm_output, - dnssec_digest_output, - dnssec_digest_type_output, - dnssec_dnssec_multi_signer_output, - dnssec_dnssec_output, - dnssec_dnssec_presigned_output, - dnssec_dnssec_response_single_output, - dnssec_dnssec_use_nsec3_output, - dnssec_ds_output, - dnssec_flags_output, - dnssec_key_tag_output, - dnssec_key_type_output, - dnssec_messages_output, - dnssec_modified_on_output, - dnssec_public_key_output, - dnssec_status_output, -} from "./outputs.js"; -import { + dnssec_algorithm, + dnssec_api$$response$$common$$failure, + dnssec_api$$response$$single, + dnssec_delete_dnssec_response_single, + dnssec_digest, + dnssec_digest_algorithm, + dnssec_digest_type, + dnssec_dnssec, dnssec_dnssec_multi_signer, dnssec_dnssec_presigned, + dnssec_dnssec_response_single, dnssec_dnssec_use_nsec3, + dnssec_ds, + dnssec_flags, + dnssec_key_tag, + dnssec_key_type, + dnssec_messages, + dnssec_modified_on, + dnssec_public_key, + dnssec_status, +} from "./outputs.js"; +import { + dnssec_dnssec_multi_signer as dnssec_dnssec_multi_signer$, + dnssec_dnssec_presigned as dnssec_dnssec_presigned$, + dnssec_dnssec_use_nsec3 as dnssec_dnssec_use_nsec3$, dnssec_identifier, } from "./schemas.js"; @@ -42,13 +42,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/dnssec_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dnssec_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "dnssec_identifier": dnssec_identifier, @@ -57,9 +65,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dnssec_delete_dnssec_response_single", $defs: { - "dnssec_api-response-single": dnssec_api_response_single_output, - "dnssec_delete_dnssec_response_single": dnssec_delete_dnssec_response_single_output, - "dnssec_messages": dnssec_messages_output, + "dnssec_api-response-single": dnssec_api$$response$$single, + "dnssec_delete_dnssec_response_single": dnssec_delete_dnssec_response_single, + "dnssec_messages": dnssec_messages, }, }, annotations: { @@ -97,10 +105,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dnssec_api-response-common-failure": dnssec_api_response_common_failure_output, - "dnssec_api-response-single": dnssec_api_response_single_output, - "dnssec_delete_dnssec_response_single": dnssec_delete_dnssec_response_single_output, - "dnssec_messages": dnssec_messages_output, + "dnssec_api-response-common-failure": dnssec_api$$response$$common$$failure, + "dnssec_api-response-single": dnssec_api$$response$$single, + "dnssec_delete_dnssec_response_single": dnssec_delete_dnssec_response_single, + "dnssec_messages": dnssec_messages, }, }, request: (args) => ({ @@ -139,43 +147,51 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "zone_id": { - "$ref": "#/$defs/dnssec_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dnssec_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3, + "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer$, + "dnssec_dnssec_presigned": dnssec_dnssec_presigned$, + "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3$, "dnssec_identifier": dnssec_identifier, }, }, outputSchema: { "$ref": "#/$defs/dnssec_dnssec_response_single", $defs: { - "dnssec_algorithm": dnssec_algorithm_output, - "dnssec_api-response-single": dnssec_api_response_single_output, - "dnssec_digest": dnssec_digest_output, - "dnssec_digest_algorithm": dnssec_digest_algorithm_output, - "dnssec_digest_type": dnssec_digest_type_output, - "dnssec_dnssec": dnssec_dnssec_output, - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer_output, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned_output, - "dnssec_dnssec_response_single": dnssec_dnssec_response_single_output, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3_output, - "dnssec_ds": dnssec_ds_output, - "dnssec_flags": dnssec_flags_output, - "dnssec_key_tag": dnssec_key_tag_output, - "dnssec_key_type": dnssec_key_type_output, - "dnssec_messages": dnssec_messages_output, - "dnssec_modified_on": dnssec_modified_on_output, - "dnssec_public_key": dnssec_public_key_output, - "dnssec_status": dnssec_status_output, + "dnssec_algorithm": dnssec_algorithm, + "dnssec_api-response-single": dnssec_api$$response$$single, + "dnssec_digest": dnssec_digest, + "dnssec_digest_algorithm": dnssec_digest_algorithm, + "dnssec_digest_type": dnssec_digest_type, + "dnssec_dnssec": dnssec_dnssec, + "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer, + "dnssec_dnssec_presigned": dnssec_dnssec_presigned, + "dnssec_dnssec_response_single": dnssec_dnssec_response_single, + "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3, + "dnssec_ds": dnssec_ds, + "dnssec_flags": dnssec_flags, + "dnssec_key_tag": dnssec_key_tag, + "dnssec_key_type": dnssec_key_type, + "dnssec_messages": dnssec_messages, + "dnssec_modified_on": dnssec_modified_on, + "dnssec_public_key": dnssec_public_key, + "dnssec_status": dnssec_status, }, }, annotations: { @@ -213,25 +229,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dnssec_algorithm": dnssec_algorithm_output, - "dnssec_api-response-common-failure": dnssec_api_response_common_failure_output, - "dnssec_api-response-single": dnssec_api_response_single_output, - "dnssec_digest": dnssec_digest_output, - "dnssec_digest_algorithm": dnssec_digest_algorithm_output, - "dnssec_digest_type": dnssec_digest_type_output, - "dnssec_dnssec": dnssec_dnssec_output, - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer_output, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned_output, - "dnssec_dnssec_response_single": dnssec_dnssec_response_single_output, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3_output, - "dnssec_ds": dnssec_ds_output, - "dnssec_flags": dnssec_flags_output, - "dnssec_key_tag": dnssec_key_tag_output, - "dnssec_key_type": dnssec_key_type_output, - "dnssec_messages": dnssec_messages_output, - "dnssec_modified_on": dnssec_modified_on_output, - "dnssec_public_key": dnssec_public_key_output, - "dnssec_status": dnssec_status_output, + "dnssec_algorithm": dnssec_algorithm, + "dnssec_api-response-common-failure": dnssec_api$$response$$common$$failure, + "dnssec_api-response-single": dnssec_api$$response$$single, + "dnssec_digest": dnssec_digest, + "dnssec_digest_algorithm": dnssec_digest_algorithm, + "dnssec_digest_type": dnssec_digest_type, + "dnssec_dnssec": dnssec_dnssec, + "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer, + "dnssec_dnssec_presigned": dnssec_dnssec_presigned, + "dnssec_dnssec_response_single": dnssec_dnssec_response_single, + "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3, + "dnssec_ds": dnssec_ds, + "dnssec_flags": dnssec_flags, + "dnssec_key_tag": dnssec_key_tag, + "dnssec_key_type": dnssec_key_type, + "dnssec_messages": dnssec_messages, + "dnssec_modified_on": dnssec_modified_on, + "dnssec_public_key": dnssec_public_key, + "dnssec_status": dnssec_status, }, }, request: (args) => ({ @@ -246,13 +262,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/dnssec_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dnssec_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "dnssec_identifier": dnssec_identifier, @@ -261,24 +285,24 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/dnssec_dnssec_response_single", $defs: { - "dnssec_algorithm": dnssec_algorithm_output, - "dnssec_api-response-single": dnssec_api_response_single_output, - "dnssec_digest": dnssec_digest_output, - "dnssec_digest_algorithm": dnssec_digest_algorithm_output, - "dnssec_digest_type": dnssec_digest_type_output, - "dnssec_dnssec": dnssec_dnssec_output, - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer_output, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned_output, - "dnssec_dnssec_response_single": dnssec_dnssec_response_single_output, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3_output, - "dnssec_ds": dnssec_ds_output, - "dnssec_flags": dnssec_flags_output, - "dnssec_key_tag": dnssec_key_tag_output, - "dnssec_key_type": dnssec_key_type_output, - "dnssec_messages": dnssec_messages_output, - "dnssec_modified_on": dnssec_modified_on_output, - "dnssec_public_key": dnssec_public_key_output, - "dnssec_status": dnssec_status_output, + "dnssec_algorithm": dnssec_algorithm, + "dnssec_api-response-single": dnssec_api$$response$$single, + "dnssec_digest": dnssec_digest, + "dnssec_digest_algorithm": dnssec_digest_algorithm, + "dnssec_digest_type": dnssec_digest_type, + "dnssec_dnssec": dnssec_dnssec, + "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer, + "dnssec_dnssec_presigned": dnssec_dnssec_presigned, + "dnssec_dnssec_response_single": dnssec_dnssec_response_single, + "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3, + "dnssec_ds": dnssec_ds, + "dnssec_flags": dnssec_flags, + "dnssec_key_tag": dnssec_key_tag, + "dnssec_key_type": dnssec_key_type, + "dnssec_messages": dnssec_messages, + "dnssec_modified_on": dnssec_modified_on, + "dnssec_public_key": dnssec_public_key, + "dnssec_status": dnssec_status, }, }, annotations: { @@ -317,25 +341,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dnssec_algorithm": dnssec_algorithm_output, - "dnssec_api-response-common-failure": dnssec_api_response_common_failure_output, - "dnssec_api-response-single": dnssec_api_response_single_output, - "dnssec_digest": dnssec_digest_output, - "dnssec_digest_algorithm": dnssec_digest_algorithm_output, - "dnssec_digest_type": dnssec_digest_type_output, - "dnssec_dnssec": dnssec_dnssec_output, - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer_output, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned_output, - "dnssec_dnssec_response_single": dnssec_dnssec_response_single_output, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3_output, - "dnssec_ds": dnssec_ds_output, - "dnssec_flags": dnssec_flags_output, - "dnssec_key_tag": dnssec_key_tag_output, - "dnssec_key_type": dnssec_key_type_output, - "dnssec_messages": dnssec_messages_output, - "dnssec_modified_on": dnssec_modified_on_output, - "dnssec_public_key": dnssec_public_key_output, - "dnssec_status": dnssec_status_output, + "dnssec_algorithm": dnssec_algorithm, + "dnssec_api-response-common-failure": dnssec_api$$response$$common$$failure, + "dnssec_api-response-single": dnssec_api$$response$$single, + "dnssec_digest": dnssec_digest, + "dnssec_digest_algorithm": dnssec_digest_algorithm, + "dnssec_digest_type": dnssec_digest_type, + "dnssec_dnssec": dnssec_dnssec, + "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer, + "dnssec_dnssec_presigned": dnssec_dnssec_presigned, + "dnssec_dnssec_response_single": dnssec_dnssec_response_single, + "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3, + "dnssec_ds": dnssec_ds, + "dnssec_flags": dnssec_flags, + "dnssec_key_tag": dnssec_key_tag, + "dnssec_key_type": dnssec_key_type, + "dnssec_messages": dnssec_messages, + "dnssec_modified_on": dnssec_modified_on, + "dnssec_public_key": dnssec_public_key, + "dnssec_status": dnssec_status, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/domainconnect/outputs.ts b/src/generated/forge-mcp/dns/domainconnect/outputs.ts index 7ff4f58bd..ef8b0cc10 100644 --- a/src/generated/forge-mcp/dns/domainconnect/outputs.ts +++ b/src/generated/forge-mcp/dns/domainconnect/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `domain-connect_httpError` in responses. */ -export const domain_connect_httpError_output: JsonSchema = { +export const domain$$connect_httpError: JsonSchema = { "properties": { "error": { "type": "string" @@ -18,7 +18,7 @@ export const domain_connect_httpError_output: JsonSchema = { /** * The schema of `domain-connect_neededByStratus` in responses. */ -export const domain_connect_neededByStratus_output: JsonSchema = { +export const domain$$connect_neededByStratus: JsonSchema = { "properties": { "logo": { "type": "string" @@ -36,7 +36,7 @@ export const domain_connect_neededByStratus_output: JsonSchema = { /** * The schema of `domain-connect_templateSpec` in responses. */ -export const domain_connect_templateSpec_output: JsonSchema = { +export const domain$$connect_templateSpec: JsonSchema = { "properties": { "accountTags": { "items": { diff --git a/src/generated/forge-mcp/dns/domainconnect/schemas.ts b/src/generated/forge-mcp/dns/domainconnect/schemas.ts index 29652ecd0..1890bc203 100644 --- a/src/generated/forge-mcp/dns/domainconnect/schemas.ts +++ b/src/generated/forge-mcp/dns/domainconnect/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `domain-connect_PostData`. */ -export const domain_connect_PostData: JsonSchema = { +export const domain$$connect_PostData: JsonSchema = { "properties": { "domain": { "type": "string" diff --git a/src/generated/forge-mcp/dns/domainconnect/tools.ts b/src/generated/forge-mcp/dns/domainconnect/tools.ts index b71376651..70fa60b9d 100644 --- a/src/generated/forge-mcp/dns/domainconnect/tools.ts +++ b/src/generated/forge-mcp/dns/domainconnect/tools.ts @@ -1,32 +1,40 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - domain_connect_httpError_output, - domain_connect_neededByStratus_output, - domain_connect_templateSpec_output, + domain$$connect_httpError, + domain$$connect_neededByStratus, + domain$$connect_templateSpec, } from "./outputs.js"; -import { domain_connect_PostData } from "./schemas.js"; +import { domain$$connect_PostData } from "./schemas.js"; /** * The tools of `dns.domainconnect`. */ export const tools: readonly Tool[] = [ { - name: "dns_domainconnect_get_domain_settings", + name: "dns_domainconnect_getDomainSettings", title: "Provide settings if domain is served by Cloudflare", description: "Checks whether a domain is in Quicksilver and returns its settings.", inputSchema: { type: "object", properties: { - "domain": { - "description": "Domain name.", - "type": "string" + "path": { + "properties": { + "domain": { + "description": "Domain name.", + "type": "string" + } + }, + "required": [ + "domain" + ], + "type": "object" } }, required: [ - "domain" + "path" ], }, outputSchema: { @@ -57,7 +65,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "domain-connect_httpError": domain_connect_httpError_output, + "domain-connect_httpError": domain$$connect_httpError, }, }, request: (args) => ({ @@ -65,7 +73,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_domainconnect_get_heartbeat", + name: "dns_domainconnect_getHeartbeat", title: "Heartbeat response", description: "Used by Kubernetes readiness and liveness probes, and CI builder by executing test/staging.sh.", inputSchema: { @@ -92,36 +100,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_domainconnect_get_provider_configuration", + name: "dns_domainconnect_getProviderConfiguration", title: "Serve a provider configuration", description: "Provides Stratus with extra information about domain connect provider(s).", inputSchema: { type: "object", properties: { - "account": { - "description": "Account ID.", - "type": "string" - }, - "provider": { - "description": "Provider ID.", - "type": "string" - }, - "service": { - "description": "Service ID.", - "type": "string" + "path": { + "properties": { + "account": { + "description": "Account ID.", + "type": "string" + }, + "provider": { + "description": "Provider ID.", + "type": "string" + }, + "service": { + "description": "Service ID.", + "type": "string" + } + }, + "required": [ + "provider", + "service", + "account" + ], + "type": "object" } }, required: [ - "provider", - "service", - "account" + "path" ], }, outputSchema: { "$ref": "#/$defs/domain-connect_neededByStratus", $defs: { - "domain-connect_neededByStratus": domain_connect_neededByStratus_output, - "domain-connect_templateSpec": domain_connect_templateSpec_output, + "domain-connect_neededByStratus": domain$$connect_neededByStratus, + "domain-connect_templateSpec": domain$$connect_templateSpec, }, }, annotations: { @@ -152,9 +168,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "domain-connect_httpError": domain_connect_httpError_output, - "domain-connect_neededByStratus": domain_connect_neededByStratus_output, - "domain-connect_templateSpec": domain_connect_templateSpec_output, + "domain-connect_httpError": domain$$connect_httpError, + "domain-connect_neededByStratus": domain$$connect_neededByStratus, + "domain-connect_templateSpec": domain$$connect_templateSpec, }, }, request: (args) => ({ @@ -162,28 +178,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_domainconnect_get_provider_template", + name: "dns_domainconnect_getProviderTemplate", title: "Serve a provider template", description: "Providers are the external parties that are configured to interact with Cloudflare.", inputSchema: { type: "object", properties: { - "dump": { - "description": "Dump raw template.", - "type": "string" - }, - "provider": { - "description": "Provider name.", - "type": "string" + "path": { + "properties": { + "provider": { + "description": "Provider name.", + "type": "string" + }, + "service": { + "description": "Service name.", + "type": "string" + } + }, + "required": [ + "provider", + "service" + ], + "type": "object" }, - "service": { - "description": "Service name.", - "type": "string" + "query": { + "properties": { + "dump": { + "description": "Dump raw template.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "provider", - "service" + "path" ], }, outputSchema: { @@ -211,18 +240,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "domain-connect_httpError": domain_connect_httpError_output, + "domain-connect_httpError": domain$$connect_httpError, }, }, request: (args) => ({ path: `/v2/domainTemplates/providers/${pathParam(args, "provider")}/services/${pathParam(args, "service")}`, query: [ - ["dump", args["dump"], true], + ["dump", param(args, "query", "dump"), true], ], }), }, { - name: "dns_domainconnect_post_verify", + name: "dns_domainconnect_postVerify", title: "Request domain connect validation", description: "Validates a Domain Connect signed request using DNS TXT public keys.", inputSchema: { @@ -236,7 +265,7 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "domain-connect_PostData": domain_connect_PostData, + "domain-connect_PostData": domain$$connect_PostData, }, }, annotations: { diff --git a/src/generated/forge-mcp/dns/outputs.ts b/src/generated/forge-mcp/dns/outputs.ts index 53f4a9569..edbc6344d 100644 --- a/src/generated/forge-mcp/dns/outputs.ts +++ b/src/generated/forge-mcp/dns/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `dns-records_api-response-common-failure` in responses. */ -export const dns_records_api_response_common_failure_output: JsonSchema = { +export const dns$$records_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-records_messages" @@ -36,7 +36,7 @@ export const dns_records_api_response_common_failure_output: JsonSchema = { /** * The schema of `dns-records_api-response-single` in responses. */ -export const dns_records_api_response_single_output: JsonSchema = { +export const dns$$records_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-records_messages" @@ -62,14 +62,14 @@ export const dns_records_api_response_single_output: JsonSchema = { /** * The schema of `dns-records_identifier` in responses. */ -export const dns_records_identifier_output: JsonSchema = { +export const dns$$records_identifier: JsonSchema = { "type": "string" }; /** * The schema of `dns-records_messages` in responses. */ -export const dns_records_messages_output: JsonSchema = { +export const dns$$records_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/dns/records/outputs.ts b/src/generated/forge-mcp/dns/records/outputs.ts index ab787efb0..e8e3f9b3b 100644 --- a/src/generated/forge-mcp/dns/records/outputs.ts +++ b/src/generated/forge-mcp/dns/records/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `dns-records_AAAARecord` in responses. */ -export const dns_records_AAAARecord_output: JsonSchema = { +export const dns$$records_AAAARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -34,7 +34,7 @@ export const dns_records_AAAARecord_output: JsonSchema = { /** * The schema of `dns-records_ARecord` in responses. */ -export const dns_records_ARecord_output: JsonSchema = { +export const dns$$records_ARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -62,7 +62,7 @@ export const dns_records_ARecord_output: JsonSchema = { /** * The schema of `dns-records_CAARecord` in responses. */ -export const dns_records_CAARecord_output: JsonSchema = { +export const dns$$records_CAARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -101,7 +101,7 @@ export const dns_records_CAARecord_output: JsonSchema = { /** * The schema of `dns-records_CERTRecord` in responses. */ -export const dns_records_CERTRecord_output: JsonSchema = { +export const dns$$records_CERTRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -143,7 +143,7 @@ export const dns_records_CERTRecord_output: JsonSchema = { /** * The schema of `dns-records_CNAMERecord` in responses. */ -export const dns_records_CNAMERecord_output: JsonSchema = { +export const dns$$records_CNAMERecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -176,7 +176,7 @@ export const dns_records_CNAMERecord_output: JsonSchema = { /** * The schema of `dns-records_DNSKEYRecord` in responses. */ -export const dns_records_DNSKEYRecord_output: JsonSchema = { +export const dns$$records_DNSKEYRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -218,7 +218,7 @@ export const dns_records_DNSKEYRecord_output: JsonSchema = { /** * The schema of `dns-records_DSRecord` in responses. */ -export const dns_records_DSRecord_output: JsonSchema = { +export const dns$$records_DSRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -260,7 +260,7 @@ export const dns_records_DSRecord_output: JsonSchema = { /** * The schema of `dns-records_HTTPSRecord` in responses. */ -export const dns_records_HTTPSRecord_output: JsonSchema = { +export const dns$$records_HTTPSRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -299,7 +299,7 @@ export const dns_records_HTTPSRecord_output: JsonSchema = { /** * The schema of `dns-records_LOCRecord` in responses. */ -export const dns_records_LOCRecord_output: JsonSchema = { +export const dns$$records_LOCRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -373,7 +373,7 @@ export const dns_records_LOCRecord_output: JsonSchema = { /** * The schema of `dns-records_MXRecord` in responses. */ -export const dns_records_MXRecord_output: JsonSchema = { +export const dns$$records_MXRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -401,7 +401,7 @@ export const dns_records_MXRecord_output: JsonSchema = { /** * The schema of `dns-records_NAPTRRecord` in responses. */ -export const dns_records_NAPTRRecord_output: JsonSchema = { +export const dns$$records_NAPTRRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -449,7 +449,7 @@ export const dns_records_NAPTRRecord_output: JsonSchema = { /** * The schema of `dns-records_NSRecord` in responses. */ -export const dns_records_NSRecord_output: JsonSchema = { +export const dns$$records_NSRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -474,7 +474,7 @@ export const dns_records_NSRecord_output: JsonSchema = { /** * The schema of `dns-records_OPENPGPKEYRecord` in responses. */ -export const dns_records_OPENPGPKEYRecord_output: JsonSchema = { +export const dns$$records_OPENPGPKEYRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -499,7 +499,7 @@ export const dns_records_OPENPGPKEYRecord_output: JsonSchema = { /** * The schema of `dns-records_PTRRecord` in responses. */ -export const dns_records_PTRRecord_output: JsonSchema = { +export const dns$$records_PTRRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -524,7 +524,7 @@ export const dns_records_PTRRecord_output: JsonSchema = { /** * The schema of `dns-records_SMIMEARecord` in responses. */ -export const dns_records_SMIMEARecord_output: JsonSchema = { +export const dns$$records_SMIMEARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -566,7 +566,7 @@ export const dns_records_SMIMEARecord_output: JsonSchema = { /** * The schema of `dns-records_SRVRecord` in responses. */ -export const dns_records_SRVRecord_output: JsonSchema = { +export const dns$$records_SRVRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -608,7 +608,7 @@ export const dns_records_SRVRecord_output: JsonSchema = { /** * The schema of `dns-records_SSHFPRecord` in responses. */ -export const dns_records_SSHFPRecord_output: JsonSchema = { +export const dns$$records_SSHFPRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -647,7 +647,7 @@ export const dns_records_SSHFPRecord_output: JsonSchema = { /** * The schema of `dns-records_SVCBRecord` in responses. */ -export const dns_records_SVCBRecord_output: JsonSchema = { +export const dns$$records_SVCBRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -686,7 +686,7 @@ export const dns_records_SVCBRecord_output: JsonSchema = { /** * The schema of `dns-records_TLSARecord` in responses. */ -export const dns_records_TLSARecord_output: JsonSchema = { +export const dns$$records_TLSARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -728,7 +728,7 @@ export const dns_records_TLSARecord_output: JsonSchema = { /** * The schema of `dns-records_TXTRecord` in responses. */ -export const dns_records_TXTRecord_output: JsonSchema = { +export const dns$$records_TXTRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -753,7 +753,7 @@ export const dns_records_TXTRecord_output: JsonSchema = { /** * The schema of `dns-records_URIRecord` in responses. */ -export const dns_records_URIRecord_output: JsonSchema = { +export const dns$$records_URIRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -792,7 +792,7 @@ export const dns_records_URIRecord_output: JsonSchema = { /** * The schema of `dns-records_api-response-collection` in responses. */ -export const dns_records_api_response_collection_output: JsonSchema = { +export const dns$$records_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_api-response-common" @@ -828,7 +828,7 @@ export const dns_records_api_response_collection_output: JsonSchema = { /** * The schema of `dns-records_api-response-common` in responses. */ -export const dns_records_api_response_common_output: JsonSchema = { +export const dns$$records_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-records_messages" @@ -854,14 +854,14 @@ export const dns_records_api_response_common_output: JsonSchema = { /** * The schema of `dns-records_comment` in responses. */ -export const dns_records_comment_output: JsonSchema = { +export const dns$$records_comment: JsonSchema = { "type": "string" }; /** * The schema of `dns-records_dns-record-response` in responses. */ -export const dns_records_dns_record_response_output: JsonSchema = { +export const dns$$records_dns$$record$$response: JsonSchema = { "allOf": [ { "anyOf": [ @@ -933,7 +933,7 @@ export const dns_records_dns_record_response_output: JsonSchema = { /** * The schema of `dns-records_dns-record-shared-fields` in responses. */ -export const dns_records_dns_record_shared_fields_output: JsonSchema = { +export const dns$$records_dns$$record$$shared$$fields: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/dns-records_comment" @@ -960,7 +960,7 @@ export const dns_records_dns_record_shared_fields_output: JsonSchema = { /** * The schema of `dns-records_dns-record-with-data` in responses. */ -export const dns_records_dns_record_with_data_output: JsonSchema = { +export const dns$$records_dns$$record$$with$$data: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/dns-records_CAARecord" @@ -1007,7 +1007,7 @@ export const dns_records_dns_record_with_data_output: JsonSchema = { /** * The schema of `dns-records_dns-record-without-data` in responses. */ -export const dns_records_dns_record_without_data_output: JsonSchema = { +export const dns$$records_dns$$record$$without$$data: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/dns-records_ARecord" @@ -1039,7 +1039,7 @@ export const dns_records_dns_record_without_data_output: JsonSchema = { /** * The schema of `dns-records_dns-response-batch-object` in responses. */ -export const dns_records_dns_response_batch_object_output: JsonSchema = { +export const dns$$records_dns$$response$$batch$$object: JsonSchema = { "properties": { "deletes": { "items": { @@ -1072,7 +1072,7 @@ export const dns_records_dns_response_batch_object_output: JsonSchema = { /** * The schema of `dns-records_dns-response-review-scan-object` in responses. */ -export const dns_records_dns_response_review_scan_object_output: JsonSchema = { +export const dns$$records_dns$$response$$review$$scan$$object: JsonSchema = { "properties": { "accepts": { "items": { @@ -1093,7 +1093,7 @@ export const dns_records_dns_response_review_scan_object_output: JsonSchema = { /** * The schema of `dns-records_dns_response_batch` in responses. */ -export const dns_records_dns_response_batch_output: JsonSchema = { +export const dns$$records_dns_response_batch: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_api-response-single" @@ -1112,7 +1112,7 @@ export const dns_records_dns_response_batch_output: JsonSchema = { /** * The schema of `dns-records_dns_response_collection` in responses. */ -export const dns_records_dns_response_collection_output: JsonSchema = { +export const dns$$records_dns_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_api-response-collection" @@ -1134,7 +1134,7 @@ export const dns_records_dns_response_collection_output: JsonSchema = { /** * The schema of `dns-records_dns_response_review_scan` in responses. */ -export const dns_records_dns_response_review_scan_output: JsonSchema = { +export const dns$$records_dns_response_review_scan: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_api-response-single" @@ -1153,7 +1153,7 @@ export const dns_records_dns_response_review_scan_output: JsonSchema = { /** * The schema of `dns-records_dns_response_single` in responses. */ -export const dns_records_dns_response_single_output: JsonSchema = { +export const dns$$records_dns_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_api-response-single" @@ -1172,7 +1172,7 @@ export const dns_records_dns_response_single_output: JsonSchema = { /** * The schema of `dns-records_dns_response_trigger_scan` in responses. */ -export const dns_records_dns_response_trigger_scan_output: JsonSchema = { +export const dns$$records_dns_response_trigger_scan: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-records_messages" @@ -1198,28 +1198,28 @@ export const dns_records_dns_response_trigger_scan_output: JsonSchema = { /** * The schema of `dns-records_name` in responses. */ -export const dns_records_name_output: JsonSchema = { +export const dns$$records_name: JsonSchema = { "type": "string" }; /** * The schema of `dns-records_priority` in responses. */ -export const dns_records_priority_output: JsonSchema = { +export const dns$$records_priority: JsonSchema = { "type": "number" }; /** * The schema of `dns-records_proxied` in responses. */ -export const dns_records_proxied_output: JsonSchema = { +export const dns$$records_proxied: JsonSchema = { "type": "boolean" }; /** * The schema of `dns-records_settings` in responses. */ -export const dns_records_settings_output: JsonSchema = { +export const dns$$records_settings: JsonSchema = { "properties": { "ipv4_only": { "type": "boolean" @@ -1234,7 +1234,7 @@ export const dns_records_settings_output: JsonSchema = { /** * The schema of `dns-records_tags` in responses. */ -export const dns_records_tags_output: JsonSchema = { +export const dns$$records_tags: JsonSchema = { "items": { "type": "string" }, @@ -1244,7 +1244,7 @@ export const dns_records_tags_output: JsonSchema = { /** * The schema of `dns-records_ttl` in responses. */ -export const dns_records_ttl_output: JsonSchema = { +export const dns$$records_ttl: JsonSchema = { "anyOf": [ { "type": "number" diff --git a/src/generated/forge-mcp/dns/records/schemas.ts b/src/generated/forge-mcp/dns/records/schemas.ts index f9bf0ea1b..a9b801b1c 100644 --- a/src/generated/forge-mcp/dns/records/schemas.ts +++ b/src/generated/forge-mcp/dns/records/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `dns-records_AAAARecord`. */ -export const dns_records_AAAARecord: JsonSchema = { +export const dns$$records_AAAARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -39,7 +39,7 @@ export const dns_records_AAAARecord: JsonSchema = { /** * The schema of `dns-records_ARecord`. */ -export const dns_records_ARecord: JsonSchema = { +export const dns$$records_ARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -72,7 +72,7 @@ export const dns_records_ARecord: JsonSchema = { /** * The schema of `dns-records_CAARecord`. */ -export const dns_records_CAARecord: JsonSchema = { +export const dns$$records_CAARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -114,7 +114,7 @@ export const dns_records_CAARecord: JsonSchema = { /** * The schema of `dns-records_CERTRecord`. */ -export const dns_records_CERTRecord: JsonSchema = { +export const dns$$records_CERTRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -160,7 +160,7 @@ export const dns_records_CERTRecord: JsonSchema = { /** * The schema of `dns-records_CNAMERecord`. */ -export const dns_records_CNAMERecord: JsonSchema = { +export const dns$$records_CNAMERecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -198,7 +198,7 @@ export const dns_records_CNAMERecord: JsonSchema = { /** * The schema of `dns-records_DNSKEYRecord`. */ -export const dns_records_DNSKEYRecord: JsonSchema = { +export const dns$$records_DNSKEYRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -244,7 +244,7 @@ export const dns_records_DNSKEYRecord: JsonSchema = { /** * The schema of `dns-records_DSRecord`. */ -export const dns_records_DSRecord: JsonSchema = { +export const dns$$records_DSRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -290,7 +290,7 @@ export const dns_records_DSRecord: JsonSchema = { /** * The schema of `dns-records_HTTPSRecord`. */ -export const dns_records_HTTPSRecord: JsonSchema = { +export const dns$$records_HTTPSRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -332,7 +332,7 @@ export const dns_records_HTTPSRecord: JsonSchema = { /** * The schema of `dns-records_LOCRecord`. */ -export const dns_records_LOCRecord: JsonSchema = { +export const dns$$records_LOCRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -418,7 +418,7 @@ export const dns_records_LOCRecord: JsonSchema = { /** * The schema of `dns-records_MXRecord`. */ -export const dns_records_MXRecord: JsonSchema = { +export const dns$$records_MXRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -449,7 +449,7 @@ export const dns_records_MXRecord: JsonSchema = { /** * The schema of `dns-records_NAPTRRecord`. */ -export const dns_records_NAPTRRecord: JsonSchema = { +export const dns$$records_NAPTRRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -503,7 +503,7 @@ export const dns_records_NAPTRRecord: JsonSchema = { /** * The schema of `dns-records_NSRecord`. */ -export const dns_records_NSRecord: JsonSchema = { +export const dns$$records_NSRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -531,7 +531,7 @@ export const dns_records_NSRecord: JsonSchema = { /** * The schema of `dns-records_OPENPGPKEYRecord`. */ -export const dns_records_OPENPGPKEYRecord: JsonSchema = { +export const dns$$records_OPENPGPKEYRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -559,7 +559,7 @@ export const dns_records_OPENPGPKEYRecord: JsonSchema = { /** * The schema of `dns-records_PTRRecord`. */ -export const dns_records_PTRRecord: JsonSchema = { +export const dns$$records_PTRRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -587,7 +587,7 @@ export const dns_records_PTRRecord: JsonSchema = { /** * The schema of `dns-records_SMIMEARecord`. */ -export const dns_records_SMIMEARecord: JsonSchema = { +export const dns$$records_SMIMEARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -633,7 +633,7 @@ export const dns_records_SMIMEARecord: JsonSchema = { /** * The schema of `dns-records_SRVRecord`. */ -export const dns_records_SRVRecord: JsonSchema = { +export const dns$$records_SRVRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -678,7 +678,7 @@ export const dns_records_SRVRecord: JsonSchema = { /** * The schema of `dns-records_SSHFPRecord`. */ -export const dns_records_SSHFPRecord: JsonSchema = { +export const dns$$records_SSHFPRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -720,7 +720,7 @@ export const dns_records_SSHFPRecord: JsonSchema = { /** * The schema of `dns-records_SVCBRecord`. */ -export const dns_records_SVCBRecord: JsonSchema = { +export const dns$$records_SVCBRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -762,7 +762,7 @@ export const dns_records_SVCBRecord: JsonSchema = { /** * The schema of `dns-records_TLSARecord`. */ -export const dns_records_TLSARecord: JsonSchema = { +export const dns$$records_TLSARecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -808,7 +808,7 @@ export const dns_records_TLSARecord: JsonSchema = { /** * The schema of `dns-records_TXTRecord`. */ -export const dns_records_TXTRecord: JsonSchema = { +export const dns$$records_TXTRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -836,7 +836,7 @@ export const dns_records_TXTRecord: JsonSchema = { /** * The schema of `dns-records_URIRecord`. */ -export const dns_records_URIRecord: JsonSchema = { +export const dns$$records_URIRecord: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_dns-record-shared-fields" @@ -877,7 +877,7 @@ export const dns_records_URIRecord: JsonSchema = { /** * The schema of `dns-records_comment`. */ -export const dns_records_comment: JsonSchema = { +export const dns$$records_comment: JsonSchema = { "description": "Comments or notes about the DNS record. This field has no effect on DNS responses.", "type": "string" }; @@ -885,7 +885,7 @@ export const dns_records_comment: JsonSchema = { /** * The schema of `dns-records_direction`. */ -export const dns_records_direction: JsonSchema = { +export const dns$$records_direction: JsonSchema = { "description": "Direction to order DNS records in.", "enum": [ "asc", @@ -897,7 +897,7 @@ export const dns_records_direction: JsonSchema = { /** * The schema of `dns-records_dns-record-batch-delete`. */ -export const dns_records_dns_record_batch_delete: JsonSchema = { +export const dns$$records_dns$$record$$batch$$delete: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/dns-records_identifier", @@ -910,7 +910,7 @@ export const dns_records_dns_record_batch_delete: JsonSchema = { /** * The schema of `dns-records_dns-record-batch-patch`. */ -export const dns_records_dns_record_batch_patch: JsonSchema = { +export const dns$$records_dns$$record$$batch$$patch: JsonSchema = { "allOf": [ { "properties": { @@ -933,14 +933,14 @@ export const dns_records_dns_record_batch_patch: JsonSchema = { /** * The schema of `dns-records_dns-record-batch-post`. */ -export const dns_records_dns_record_batch_post: JsonSchema = { +export const dns$$records_dns$$record$$batch$$post: JsonSchema = { "$ref": "#/$defs/dns-records_dns-record-post" }; /** * The schema of `dns-records_dns-record-batch-put`. */ -export const dns_records_dns_record_batch_put: JsonSchema = { +export const dns$$records_dns$$record$$batch$$put: JsonSchema = { "allOf": [ { "properties": { @@ -963,7 +963,7 @@ export const dns_records_dns_record_batch_put: JsonSchema = { /** * The schema of `dns-records_dns-record-patch`. */ -export const dns_records_dns_record_patch: JsonSchema = { +export const dns$$records_dns$$record$$patch: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/dns-records_dns-record-without-data" @@ -977,7 +977,7 @@ export const dns_records_dns_record_patch: JsonSchema = { /** * The schema of `dns-records_dns-record-post`. */ -export const dns_records_dns_record_post: JsonSchema = { +export const dns$$records_dns$$record$$post: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/dns-records_dns-record-without-data" @@ -991,14 +991,14 @@ export const dns_records_dns_record_post: JsonSchema = { /** * The schema of `dns-records_dns-record-scan-batch-accept`. */ -export const dns_records_dns_record_scan_batch_accept: JsonSchema = { +export const dns$$records_dns$$record$$scan$$batch$$accept: JsonSchema = { "$ref": "#/$defs/dns-records_dns-record-patch" }; /** * The schema of `dns-records_dns-record-scan-batch-reject`. */ -export const dns_records_dns_record_scan_batch_reject: JsonSchema = { +export const dns$$records_dns$$record$$scan$$batch$$reject: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/dns-records_identifier", @@ -1011,7 +1011,7 @@ export const dns_records_dns_record_scan_batch_reject: JsonSchema = { /** * The schema of `dns-records_dns-record-shared-fields`. */ -export const dns_records_dns_record_shared_fields: JsonSchema = { +export const dns$$records_dns$$record$$shared$$fields: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/dns-records_comment", @@ -1047,7 +1047,7 @@ export const dns_records_dns_record_shared_fields: JsonSchema = { /** * The schema of `dns-records_dns-record-with-data`. */ -export const dns_records_dns_record_with_data: JsonSchema = { +export const dns$$records_dns$$record$$with$$data: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/dns-records_CAARecord" @@ -1094,7 +1094,7 @@ export const dns_records_dns_record_with_data: JsonSchema = { /** * The schema of `dns-records_dns-record-without-data`. */ -export const dns_records_dns_record_without_data: JsonSchema = { +export const dns$$records_dns$$record$$without$$data: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/dns-records_ARecord" @@ -1126,7 +1126,7 @@ export const dns_records_dns_record_without_data: JsonSchema = { /** * The schema of `dns-records_dns-request-batch-object`. */ -export const dns_records_dns_request_batch_object: JsonSchema = { +export const dns$$records_dns$$request$$batch$$object: JsonSchema = { "properties": { "deletes": { "items": { @@ -1159,7 +1159,7 @@ export const dns_records_dns_request_batch_object: JsonSchema = { /** * The schema of `dns-records_dns-request-review-scan-object`. */ -export const dns_records_dns_request_review_scan_object: JsonSchema = { +export const dns$$records_dns$$request$$review$$scan$$object: JsonSchema = { "properties": { "accepts": { "items": { @@ -1180,7 +1180,7 @@ export const dns_records_dns_request_review_scan_object: JsonSchema = { /** * The schema of `dns-records_match`. */ -export const dns_records_match: JsonSchema = { +export const dns$$records_match: JsonSchema = { "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead. Note that the interaction between tag filters is controlled by the `tag-match` parameter instead.\n", "enum": [ "any", @@ -1192,7 +1192,7 @@ export const dns_records_match: JsonSchema = { /** * The schema of `dns-records_name`. */ -export const dns_records_name: JsonSchema = { +export const dns$$records_name: JsonSchema = { "description": "Complete DNS record name, including the zone name, in Punycode.", "type": "string" }; @@ -1200,7 +1200,7 @@ export const dns_records_name: JsonSchema = { /** * The schema of `dns-records_order`. */ -export const dns_records_order: JsonSchema = { +export const dns$$records_order: JsonSchema = { "description": "Field to order DNS records by.", "enum": [ "type", @@ -1215,7 +1215,7 @@ export const dns_records_order: JsonSchema = { /** * The schema of `dns-records_page`. */ -export const dns_records_page: JsonSchema = { +export const dns$$records_page: JsonSchema = { "description": "Page number of paginated results.", "type": "number" }; @@ -1223,7 +1223,7 @@ export const dns_records_page: JsonSchema = { /** * The schema of `dns-records_per_page`. */ -export const dns_records_per_page: JsonSchema = { +export const dns$$records_per_page: JsonSchema = { "description": "Number of DNS records per page.", "type": "number" }; @@ -1231,7 +1231,7 @@ export const dns_records_per_page: JsonSchema = { /** * The schema of `dns-records_priority`. */ -export const dns_records_priority: JsonSchema = { +export const dns$$records_priority: JsonSchema = { "description": "Required for MX and URI records; ignored for other record types (but may still be returned by the API). Records with lower priorities are preferred. This field is to be deprecated in favor of the priority field within the data map.", "type": "number" }; @@ -1239,7 +1239,7 @@ export const dns_records_priority: JsonSchema = { /** * The schema of `dns-records_proxied`. */ -export const dns_records_proxied: JsonSchema = { +export const dns$$records_proxied: JsonSchema = { "description": "Whether the record is receiving the performance and security benefits of Cloudflare.", "type": "boolean" }; @@ -1247,7 +1247,7 @@ export const dns_records_proxied: JsonSchema = { /** * The schema of `dns-records_search`. */ -export const dns_records_search: JsonSchema = { +export const dns$$records_search: JsonSchema = { "description": "Allows searching in multiple properties of a DNS record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future. This parameter works independently of the `match` setting. For automated searches, please use the other available parameters.\n", "type": "string" }; @@ -1255,7 +1255,7 @@ export const dns_records_search: JsonSchema = { /** * The schema of `dns-records_settings`. */ -export const dns_records_settings: JsonSchema = { +export const dns$$records_settings: JsonSchema = { "description": "Settings for the DNS record.", "properties": { "ipv4_only": { @@ -1275,7 +1275,7 @@ export const dns_records_settings: JsonSchema = { /** * The schema of `dns-records_tag_match`. */ -export const dns_records_tag_match: JsonSchema = { +export const dns$$records_tag_match: JsonSchema = { "description": "Whether to match all tag search requirements or at least one (any). If set to `all`, acts like a logical AND between tag filters. If set to `any`, acts like a logical OR instead. Note that the regular `match` parameter is still used to combine the resulting condition with other filters that aren't related to tags.\n", "enum": [ "any", @@ -1287,7 +1287,7 @@ export const dns_records_tag_match: JsonSchema = { /** * The schema of `dns-records_tags`. */ -export const dns_records_tags: JsonSchema = { +export const dns$$records_tags: JsonSchema = { "description": "Custom tags for the DNS record. This field has no effect on DNS responses.", "items": { "type": "string" @@ -1298,7 +1298,7 @@ export const dns_records_tags: JsonSchema = { /** * The schema of `dns-records_ttl`. */ -export const dns_records_ttl: JsonSchema = { +export const dns$$records_ttl: JsonSchema = { "anyOf": [ { "type": "number" @@ -1316,7 +1316,7 @@ export const dns_records_ttl: JsonSchema = { /** * The schema of `dns-records_type`. */ -export const dns_records_type: JsonSchema = { +export const dns$$records_type: JsonSchema = { "description": "Record type.", "enum": [ "A", diff --git a/src/generated/forge-mcp/dns/records/tools.ts b/src/generated/forge-mcp/dns/records/tools.ts index 104fd95bc..69c03d037 100644 --- a/src/generated/forge-mcp/dns/records/tools.ts +++ b/src/generated/forge-mcp/dns/records/tools.ts @@ -1,107 +1,107 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - dns_records_api_response_common_failure_output, - dns_records_api_response_single_output, - dns_records_identifier_output, - dns_records_messages_output, + dns$$records_api$$response$$common$$failure, + dns$$records_api$$response$$single, + dns$$records_identifier, + dns$$records_messages, } from "../outputs.js"; -import { dns_records_identifier } from "../schemas.js"; +import { dns$$records_identifier as dns$$records_identifier$ } from "../schemas.js"; import { - dns_records_AAAARecord_output, - dns_records_ARecord_output, - dns_records_CAARecord_output, - dns_records_CERTRecord_output, - dns_records_CNAMERecord_output, - dns_records_DNSKEYRecord_output, - dns_records_DSRecord_output, - dns_records_HTTPSRecord_output, - dns_records_LOCRecord_output, - dns_records_MXRecord_output, - dns_records_NAPTRRecord_output, - dns_records_NSRecord_output, - dns_records_OPENPGPKEYRecord_output, - dns_records_PTRRecord_output, - dns_records_SMIMEARecord_output, - dns_records_SRVRecord_output, - dns_records_SSHFPRecord_output, - dns_records_SVCBRecord_output, - dns_records_TLSARecord_output, - dns_records_TXTRecord_output, - dns_records_URIRecord_output, - dns_records_api_response_collection_output, - dns_records_api_response_common_output, - dns_records_comment_output, - dns_records_dns_record_response_output, - dns_records_dns_record_shared_fields_output, - dns_records_dns_record_with_data_output, - dns_records_dns_record_without_data_output, - dns_records_dns_response_batch_object_output, - dns_records_dns_response_batch_output, - dns_records_dns_response_collection_output, - dns_records_dns_response_review_scan_object_output, - dns_records_dns_response_review_scan_output, - dns_records_dns_response_single_output, - dns_records_dns_response_trigger_scan_output, - dns_records_name_output, - dns_records_priority_output, - dns_records_proxied_output, - dns_records_settings_output, - dns_records_tags_output, - dns_records_ttl_output, + dns$$records_AAAARecord, + dns$$records_ARecord, + dns$$records_CAARecord, + dns$$records_CERTRecord, + dns$$records_CNAMERecord, + dns$$records_DNSKEYRecord, + dns$$records_DSRecord, + dns$$records_HTTPSRecord, + dns$$records_LOCRecord, + dns$$records_MXRecord, + dns$$records_NAPTRRecord, + dns$$records_NSRecord, + dns$$records_OPENPGPKEYRecord, + dns$$records_PTRRecord, + dns$$records_SMIMEARecord, + dns$$records_SRVRecord, + dns$$records_SSHFPRecord, + dns$$records_SVCBRecord, + dns$$records_TLSARecord, + dns$$records_TXTRecord, + dns$$records_URIRecord, + dns$$records_api$$response$$collection, + dns$$records_api$$response$$common, + dns$$records_comment, + dns$$records_dns$$record$$response, + dns$$records_dns$$record$$shared$$fields, + dns$$records_dns$$record$$with$$data, + dns$$records_dns$$record$$without$$data, + dns$$records_dns$$response$$batch$$object, + dns$$records_dns$$response$$review$$scan$$object, + dns$$records_dns_response_batch, + dns$$records_dns_response_collection, + dns$$records_dns_response_review_scan, + dns$$records_dns_response_single, + dns$$records_dns_response_trigger_scan, + dns$$records_name, + dns$$records_priority, + dns$$records_proxied, + dns$$records_settings, + dns$$records_tags, + dns$$records_ttl, } from "./outputs.js"; import { - dns_records_AAAARecord, - dns_records_ARecord, - dns_records_CAARecord, - dns_records_CERTRecord, - dns_records_CNAMERecord, - dns_records_DNSKEYRecord, - dns_records_DSRecord, - dns_records_HTTPSRecord, - dns_records_LOCRecord, - dns_records_MXRecord, - dns_records_NAPTRRecord, - dns_records_NSRecord, - dns_records_OPENPGPKEYRecord, - dns_records_PTRRecord, - dns_records_SMIMEARecord, - dns_records_SRVRecord, - dns_records_SSHFPRecord, - dns_records_SVCBRecord, - dns_records_TLSARecord, - dns_records_TXTRecord, - dns_records_URIRecord, - dns_records_comment, - dns_records_direction, - dns_records_dns_record_batch_delete, - dns_records_dns_record_batch_patch, - dns_records_dns_record_batch_post, - dns_records_dns_record_batch_put, - dns_records_dns_record_patch, - dns_records_dns_record_post, - dns_records_dns_record_scan_batch_accept, - dns_records_dns_record_scan_batch_reject, - dns_records_dns_record_shared_fields, - dns_records_dns_record_with_data, - dns_records_dns_record_without_data, - dns_records_dns_request_batch_object, - dns_records_dns_request_review_scan_object, - dns_records_match, - dns_records_name, - dns_records_order, - dns_records_page, - dns_records_per_page, - dns_records_priority, - dns_records_proxied, - dns_records_search, - dns_records_settings, - dns_records_tag_match, - dns_records_tags, - dns_records_ttl, - dns_records_type, + dns$$records_AAAARecord as dns$$records_AAAARecord$, + dns$$records_ARecord as dns$$records_ARecord$, + dns$$records_CAARecord as dns$$records_CAARecord$, + dns$$records_CERTRecord as dns$$records_CERTRecord$, + dns$$records_CNAMERecord as dns$$records_CNAMERecord$, + dns$$records_DNSKEYRecord as dns$$records_DNSKEYRecord$, + dns$$records_DSRecord as dns$$records_DSRecord$, + dns$$records_HTTPSRecord as dns$$records_HTTPSRecord$, + dns$$records_LOCRecord as dns$$records_LOCRecord$, + dns$$records_MXRecord as dns$$records_MXRecord$, + dns$$records_NAPTRRecord as dns$$records_NAPTRRecord$, + dns$$records_NSRecord as dns$$records_NSRecord$, + dns$$records_OPENPGPKEYRecord as dns$$records_OPENPGPKEYRecord$, + dns$$records_PTRRecord as dns$$records_PTRRecord$, + dns$$records_SMIMEARecord as dns$$records_SMIMEARecord$, + dns$$records_SRVRecord as dns$$records_SRVRecord$, + dns$$records_SSHFPRecord as dns$$records_SSHFPRecord$, + dns$$records_SVCBRecord as dns$$records_SVCBRecord$, + dns$$records_TLSARecord as dns$$records_TLSARecord$, + dns$$records_TXTRecord as dns$$records_TXTRecord$, + dns$$records_URIRecord as dns$$records_URIRecord$, + dns$$records_comment as dns$$records_comment$, + dns$$records_direction, + dns$$records_dns$$record$$batch$$delete, + dns$$records_dns$$record$$batch$$patch, + dns$$records_dns$$record$$batch$$post, + dns$$records_dns$$record$$batch$$put, + dns$$records_dns$$record$$patch, + dns$$records_dns$$record$$post, + dns$$records_dns$$record$$scan$$batch$$accept, + dns$$records_dns$$record$$scan$$batch$$reject, + dns$$records_dns$$record$$shared$$fields as dns$$records_dns$$record$$shared$$fields$, + dns$$records_dns$$record$$with$$data as dns$$records_dns$$record$$with$$data$, + dns$$records_dns$$record$$without$$data as dns$$records_dns$$record$$without$$data$, + dns$$records_dns$$request$$batch$$object, + dns$$records_dns$$request$$review$$scan$$object, + dns$$records_match, + dns$$records_name as dns$$records_name$, + dns$$records_order, + dns$$records_page, + dns$$records_per_page, + dns$$records_priority as dns$$records_priority$, + dns$$records_proxied as dns$$records_proxied$, + dns$$records_search, + dns$$records_settings as dns$$records_settings$, + dns$$records_tag_match, + dns$$records_tags as dns$$records_tags$, + dns$$records_ttl as dns$$records_ttl$, + dns$$records_type, } from "./schemas.js"; /** @@ -118,102 +118,115 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/dns-records_dns-request-batch-object" }, - "include_shadow_metadata": { - "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", - "type": "boolean" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "query": { + "properties": { + "include_shadow_metadata": { + "default": false, + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord, - "dns-records_ARecord": dns_records_ARecord, - "dns-records_CAARecord": dns_records_CAARecord, - "dns-records_CERTRecord": dns_records_CERTRecord, - "dns-records_CNAMERecord": dns_records_CNAMERecord, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord, - "dns-records_DSRecord": dns_records_DSRecord, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord, - "dns-records_LOCRecord": dns_records_LOCRecord, - "dns-records_MXRecord": dns_records_MXRecord, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord, - "dns-records_NSRecord": dns_records_NSRecord, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord, - "dns-records_PTRRecord": dns_records_PTRRecord, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord, - "dns-records_SRVRecord": dns_records_SRVRecord, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord, - "dns-records_SVCBRecord": dns_records_SVCBRecord, - "dns-records_TLSARecord": dns_records_TLSARecord, - "dns-records_TXTRecord": dns_records_TXTRecord, - "dns-records_URIRecord": dns_records_URIRecord, - "dns-records_comment": dns_records_comment, - "dns-records_dns-record-batch-delete": dns_records_dns_record_batch_delete, - "dns-records_dns-record-batch-patch": dns_records_dns_record_batch_patch, - "dns-records_dns-record-batch-post": dns_records_dns_record_batch_post, - "dns-records_dns-record-batch-put": dns_records_dns_record_batch_put, - "dns-records_dns-record-patch": dns_records_dns_record_patch, - "dns-records_dns-record-post": dns_records_dns_record_post, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data, - "dns-records_dns-request-batch-object": dns_records_dns_request_batch_object, - "dns-records_identifier": dns_records_identifier, - "dns-records_name": dns_records_name, - "dns-records_priority": dns_records_priority, - "dns-records_proxied": dns_records_proxied, - "dns-records_settings": dns_records_settings, - "dns-records_tags": dns_records_tags, - "dns-records_ttl": dns_records_ttl, + "dns-records_AAAARecord": dns$$records_AAAARecord$, + "dns-records_ARecord": dns$$records_ARecord$, + "dns-records_CAARecord": dns$$records_CAARecord$, + "dns-records_CERTRecord": dns$$records_CERTRecord$, + "dns-records_CNAMERecord": dns$$records_CNAMERecord$, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord$, + "dns-records_DSRecord": dns$$records_DSRecord$, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord$, + "dns-records_LOCRecord": dns$$records_LOCRecord$, + "dns-records_MXRecord": dns$$records_MXRecord$, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord$, + "dns-records_NSRecord": dns$$records_NSRecord$, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord$, + "dns-records_PTRRecord": dns$$records_PTRRecord$, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord$, + "dns-records_SRVRecord": dns$$records_SRVRecord$, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord$, + "dns-records_SVCBRecord": dns$$records_SVCBRecord$, + "dns-records_TLSARecord": dns$$records_TLSARecord$, + "dns-records_TXTRecord": dns$$records_TXTRecord$, + "dns-records_URIRecord": dns$$records_URIRecord$, + "dns-records_comment": dns$$records_comment$, + "dns-records_dns-record-batch-delete": dns$$records_dns$$record$$batch$$delete, + "dns-records_dns-record-batch-patch": dns$$records_dns$$record$$batch$$patch, + "dns-records_dns-record-batch-post": dns$$records_dns$$record$$batch$$post, + "dns-records_dns-record-batch-put": dns$$records_dns$$record$$batch$$put, + "dns-records_dns-record-patch": dns$$records_dns$$record$$patch, + "dns-records_dns-record-post": dns$$records_dns$$record$$post, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields$, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, + "dns-records_dns-request-batch-object": dns$$records_dns$$request$$batch$$object, + "dns-records_identifier": dns$$records_identifier$, + "dns-records_name": dns$$records_name$, + "dns-records_priority": dns$$records_priority$, + "dns-records_proxied": dns$$records_proxied$, + "dns-records_settings": dns$$records_settings$, + "dns-records_tags": dns$$records_tags$, + "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_batch", $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns-response-batch-object": dns_records_dns_response_batch_object_output, - "dns-records_dns_response_batch": dns_records_dns_response_batch_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns-response-batch-object": dns$$records_dns$$response$$batch$$object, + "dns-records_dns_response_batch": dns$$records_dns_response_batch, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -251,50 +264,50 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns-response-batch-object": dns_records_dns_response_batch_object_output, - "dns-records_dns_response_batch": dns_records_dns_response_batch_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns-response-batch-object": dns$$records_dns$$response$$batch$$object, + "dns-records_dns_response_batch": dns$$records_dns_response_batch, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/batch`, query: [ - ["include_shadow_metadata", args["include_shadow_metadata"], true], + ["include_shadow_metadata", param(args, "query", "include_shadow_metadata"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -309,95 +322,108 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/dns-records_dns-record-post" }, - "include_shadow_metadata": { - "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", - "type": "boolean" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "query": { + "properties": { + "include_shadow_metadata": { + "default": false, + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord, - "dns-records_ARecord": dns_records_ARecord, - "dns-records_CAARecord": dns_records_CAARecord, - "dns-records_CERTRecord": dns_records_CERTRecord, - "dns-records_CNAMERecord": dns_records_CNAMERecord, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord, - "dns-records_DSRecord": dns_records_DSRecord, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord, - "dns-records_LOCRecord": dns_records_LOCRecord, - "dns-records_MXRecord": dns_records_MXRecord, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord, - "dns-records_NSRecord": dns_records_NSRecord, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord, - "dns-records_PTRRecord": dns_records_PTRRecord, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord, - "dns-records_SRVRecord": dns_records_SRVRecord, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord, - "dns-records_SVCBRecord": dns_records_SVCBRecord, - "dns-records_TLSARecord": dns_records_TLSARecord, - "dns-records_TXTRecord": dns_records_TXTRecord, - "dns-records_URIRecord": dns_records_URIRecord, - "dns-records_comment": dns_records_comment, - "dns-records_dns-record-post": dns_records_dns_record_post, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data, - "dns-records_identifier": dns_records_identifier, - "dns-records_name": dns_records_name, - "dns-records_priority": dns_records_priority, - "dns-records_proxied": dns_records_proxied, - "dns-records_settings": dns_records_settings, - "dns-records_tags": dns_records_tags, - "dns-records_ttl": dns_records_ttl, + "dns-records_AAAARecord": dns$$records_AAAARecord$, + "dns-records_ARecord": dns$$records_ARecord$, + "dns-records_CAARecord": dns$$records_CAARecord$, + "dns-records_CERTRecord": dns$$records_CERTRecord$, + "dns-records_CNAMERecord": dns$$records_CNAMERecord$, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord$, + "dns-records_DSRecord": dns$$records_DSRecord$, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord$, + "dns-records_LOCRecord": dns$$records_LOCRecord$, + "dns-records_MXRecord": dns$$records_MXRecord$, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord$, + "dns-records_NSRecord": dns$$records_NSRecord$, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord$, + "dns-records_PTRRecord": dns$$records_PTRRecord$, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord$, + "dns-records_SRVRecord": dns$$records_SRVRecord$, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord$, + "dns-records_SVCBRecord": dns$$records_SVCBRecord$, + "dns-records_TLSARecord": dns$$records_TLSARecord$, + "dns-records_TXTRecord": dns$$records_TXTRecord$, + "dns-records_URIRecord": dns$$records_URIRecord$, + "dns-records_comment": dns$$records_comment$, + "dns-records_dns-record-post": dns$$records_dns$$record$$post, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields$, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, + "dns-records_identifier": dns$$records_identifier$, + "dns-records_name": dns$$records_name$, + "dns-records_priority": dns$$records_priority$, + "dns-records_proxied": dns$$records_proxied$, + "dns-records_settings": dns$$records_settings$, + "dns-records_tags": dns$$records_tags$, + "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_single", $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_single": dns_records_dns_response_single_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_single": dns$$records_dns_response_single, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -435,49 +461,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_single": dns_records_dns_response_single_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_single": dns$$records_dns_response_single, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records`, query: [ - ["include_shadow_metadata", args["include_shadow_metadata"], true], + ["include_shadow_metadata", param(args, "query", "include_shadow_metadata"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -489,21 +515,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "dns_record_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "path": { + "properties": { + "dns_record_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "dns_record_id" + ], + "type": "object" } }, required: [ - "zone_id", - "dns_record_id" + "path" ], $defs: { - "dns-records_identifier": dns_records_identifier, + "dns-records_identifier": dns$$records_identifier$, }, }, outputSchema: { @@ -519,7 +553,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "dns-records_identifier": dns_records_identifier_output, + "dns-records_identifier": dns$$records_identifier, }, }, annotations: { @@ -584,9 +618,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, }, }, request: (args) => ({ @@ -603,100 +637,113 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/dns-records_dns-record-patch" }, - "dns_record_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." - }, - "include_shadow_metadata": { - "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", - "type": "boolean" + "path": { + "properties": { + "dns_record_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "dns_record_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "query": { + "properties": { + "include_shadow_metadata": { + "default": false, + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", - "dns_record_id", + "path", "body" ], $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord, - "dns-records_ARecord": dns_records_ARecord, - "dns-records_CAARecord": dns_records_CAARecord, - "dns-records_CERTRecord": dns_records_CERTRecord, - "dns-records_CNAMERecord": dns_records_CNAMERecord, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord, - "dns-records_DSRecord": dns_records_DSRecord, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord, - "dns-records_LOCRecord": dns_records_LOCRecord, - "dns-records_MXRecord": dns_records_MXRecord, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord, - "dns-records_NSRecord": dns_records_NSRecord, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord, - "dns-records_PTRRecord": dns_records_PTRRecord, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord, - "dns-records_SRVRecord": dns_records_SRVRecord, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord, - "dns-records_SVCBRecord": dns_records_SVCBRecord, - "dns-records_TLSARecord": dns_records_TLSARecord, - "dns-records_TXTRecord": dns_records_TXTRecord, - "dns-records_URIRecord": dns_records_URIRecord, - "dns-records_comment": dns_records_comment, - "dns-records_dns-record-patch": dns_records_dns_record_patch, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data, - "dns-records_identifier": dns_records_identifier, - "dns-records_name": dns_records_name, - "dns-records_priority": dns_records_priority, - "dns-records_proxied": dns_records_proxied, - "dns-records_settings": dns_records_settings, - "dns-records_tags": dns_records_tags, - "dns-records_ttl": dns_records_ttl, + "dns-records_AAAARecord": dns$$records_AAAARecord$, + "dns-records_ARecord": dns$$records_ARecord$, + "dns-records_CAARecord": dns$$records_CAARecord$, + "dns-records_CERTRecord": dns$$records_CERTRecord$, + "dns-records_CNAMERecord": dns$$records_CNAMERecord$, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord$, + "dns-records_DSRecord": dns$$records_DSRecord$, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord$, + "dns-records_LOCRecord": dns$$records_LOCRecord$, + "dns-records_MXRecord": dns$$records_MXRecord$, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord$, + "dns-records_NSRecord": dns$$records_NSRecord$, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord$, + "dns-records_PTRRecord": dns$$records_PTRRecord$, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord$, + "dns-records_SRVRecord": dns$$records_SRVRecord$, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord$, + "dns-records_SVCBRecord": dns$$records_SVCBRecord$, + "dns-records_TLSARecord": dns$$records_TLSARecord$, + "dns-records_TXTRecord": dns$$records_TXTRecord$, + "dns-records_URIRecord": dns$$records_URIRecord$, + "dns-records_comment": dns$$records_comment$, + "dns-records_dns-record-patch": dns$$records_dns$$record$$patch, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields$, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, + "dns-records_identifier": dns$$records_identifier$, + "dns-records_name": dns$$records_name$, + "dns-records_priority": dns$$records_priority$, + "dns-records_proxied": dns$$records_proxied$, + "dns-records_settings": dns$$records_settings$, + "dns-records_tags": dns$$records_tags$, + "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_single", $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_single": dns_records_dns_response_single_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_single": dns$$records_dns_response_single, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -734,49 +781,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_single": dns_records_dns_response_single_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_single": dns$$records_dns_response_single, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/${pathParam(args, "dns_record_id")}`, query: [ - ["include_shadow_metadata", args["include_shadow_metadata"], true], + ["include_shadow_metadata", param(args, "query", "include_shadow_metadata"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -788,16 +835,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "dns-records_identifier": dns_records_identifier, + "dns-records_identifier": dns$$records_identifier$, }, }, annotations: { @@ -834,8 +889,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_messages": dns_records_messages_output, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_messages": dns$$records_messages, }, }, request: (args) => ({ @@ -849,67 +904,80 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "dns_record_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." - }, - "include_shadow_metadata": { - "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", - "type": "boolean" + "path": { + "properties": { + "dns_record_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "dns_record_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "query": { + "properties": { + "include_shadow_metadata": { + "default": false, + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", - "dns_record_id" + "path" ], $defs: { - "dns-records_identifier": dns_records_identifier, + "dns-records_identifier": dns$$records_identifier$, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_single", $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_single": dns_records_dns_response_single_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_single": dns$$records_dns_response_single, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -948,49 +1016,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_single": dns_records_dns_response_single_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_single": dns$$records_dns_response_single, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/${pathParam(args, "dns_record_id")}`, query: [ - ["include_shadow_metadata", args["include_shadow_metadata"], true], + ["include_shadow_metadata", param(args, "query", "include_shadow_metadata"), true], ], }), }, @@ -1001,219 +1069,232 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "comment": { - "description": "Exact value of the DNS record comment. This is a convenience alias for `comment.exact`.\n", - "type": "string" - }, - "comment_absent": { - "description": "If this parameter is present, only records *without* a comment are returned.\n", - "type": "string" - }, - "comment_contains": { - "description": "Substring of the DNS record comment. Comment filters are case-insensitive.\n", - "type": "string" - }, - "comment_endswith": { - "description": "Suffix of the DNS record comment. Comment filters are case-insensitive.\n", - "type": "string" - }, - "comment_exact": { - "description": "Exact value of the DNS record comment. Comment filters are case-insensitive.\n", - "type": "string" - }, - "comment_present": { - "description": "If this parameter is present, only records *with* a comment are returned.\n", - "type": "string" - }, - "comment_startswith": { - "description": "Prefix of the DNS record comment. Comment filters are case-insensitive.\n", - "type": "string" - }, - "content": { - "description": "Exact value of the DNS record content. This is a convenience alias for `content.exact`.\n", - "type": "string" - }, - "content_contains": { - "description": "Substring of the DNS record content. Content filters are case-insensitive.\n", - "type": "string" - }, - "content_endswith": { - "description": "Suffix of the DNS record content. Content filters are case-insensitive.\n", - "type": "string" - }, - "content_exact": { - "description": "Exact value of the DNS record content. Content filters are case-insensitive.\n", - "type": "string" - }, - "content_startswith": { - "description": "Prefix of the DNS record content. Content filters are case-insensitive.\n", - "type": "string" - }, - "direction": { - "$ref": "#/$defs/dns-records_direction", - "default": "asc", - "description": "Direction to order DNS records in." - }, - "include_shadow_metadata": { - "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", - "type": "boolean" - }, - "match": { - "$ref": "#/$defs/dns-records_match", - "default": "all", - "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead. Note that the interaction between tag filters is controlled by the `tag-match` parameter instead.\n" - }, - "name": { - "description": "Exact value of the DNS record name. This is a convenience alias for `name.exact`.\n", - "type": "string" - }, - "name_contains": { - "description": "Substring of the DNS record name. Name filters are case-insensitive.\n", - "type": "string" - }, - "name_endswith": { - "description": "Suffix of the DNS record name. Name filters are case-insensitive.\n", - "type": "string" - }, - "name_exact": { - "description": "Exact value of the DNS record name. Name filters are case-insensitive.\n", - "type": "string" - }, - "name_startswith": { - "description": "Prefix of the DNS record name. Name filters are case-insensitive.\n", - "type": "string" - }, - "order": { - "$ref": "#/$defs/dns-records_order", - "default": "type", - "description": "Field to order DNS records by." - }, - "page": { - "$ref": "#/$defs/dns-records_page", - "default": 1, - "description": "Page number of paginated results." - }, - "per_page": { - "$ref": "#/$defs/dns-records_per_page", - "default": 100, - "description": "Number of DNS records per page." - }, - "proxied": { - "$ref": "#/$defs/dns-records_proxied", - "default": false, - "description": "Whether the record is receiving the performance and security benefits of Cloudflare." - }, - "search": { - "$ref": "#/$defs/dns-records_search", - "description": "Allows searching in multiple properties of a DNS record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future. This parameter works independently of the `match` setting. For automated searches, please use the other available parameters.\n" - }, - "shadowed_by_name": { - "description": "Filters the response to records at or below the specified NS delegation name. NS, DS, and NSEC records at the delegation name are excluded because they are not shadowed by that delegation. Those record types are included only when they exist below the delegation. The value must be a non-apex subdomain of the zone. Requires `include_shadow_metadata=true`. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", - "type": "string" - }, - "shadowing_name": { - "description": "Returns NS records that shadow the given name, searching at the name itself and each of its ancestor names within the zone, excluding the zone apex. The value must be a subdomain of the zone; the zone apex is not accepted. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", - "type": "string" - }, - "tag": { - "description": "Condition on the DNS record tag.\n\nParameter values can be of the form `:` to search for an exact `name:value` pair, or just `` to search for records with a specific tag name regardless of its value.\n\nThis is a convenience shorthand for the more powerful `tag.` parameters.\nExamples:\n- `tag=important` is equivalent to `tag.present=important`\n- `tag=team:DNS` is equivalent to `tag.exact=team:DNS`\n", - "type": "string" - }, - "tag_absent": { - "description": "Name of a tag which must *not* be present on the DNS record. Tag filters are case-insensitive.\n", - "type": "string" - }, - "tag_contains": { - "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value contains ``. Tag filters are case-insensitive.\n", - "type": "string" - }, - "tag_endswith": { - "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value ends with ``. Tag filters are case-insensitive.\n", - "type": "string" - }, - "tag_exact": { - "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value is ``. Tag filters are case-insensitive.\n", - "type": "string" - }, - "tag_match": { - "$ref": "#/$defs/dns-records_tag_match", - "default": "all", - "description": "Whether to match all tag search requirements or at least one (any). If set to `all`, acts like a logical AND between tag filters. If set to `any`, acts like a logical OR instead. Note that the regular `match` parameter is still used to combine the resulting condition with other filters that aren't related to tags.\n" - }, - "tag_present": { - "description": "Name of a tag which must be present on the DNS record. Tag filters are case-insensitive.\n", - "type": "string" - }, - "tag_startswith": { - "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value starts with ``. Tag filters are case-insensitive.\n", - "type": "string" - }, - "type": { - "$ref": "#/$defs/dns-records_type", - "description": "Record type." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "query": { + "properties": { + "comment": { + "description": "Exact value of the DNS record comment. This is a convenience alias for `comment.exact`.\n", + "type": "string" + }, + "comment.absent": { + "description": "If this parameter is present, only records *without* a comment are returned.\n", + "type": "string" + }, + "comment.contains": { + "description": "Substring of the DNS record comment. Comment filters are case-insensitive.\n", + "type": "string" + }, + "comment.endswith": { + "description": "Suffix of the DNS record comment. Comment filters are case-insensitive.\n", + "type": "string" + }, + "comment.exact": { + "description": "Exact value of the DNS record comment. Comment filters are case-insensitive.\n", + "type": "string" + }, + "comment.present": { + "description": "If this parameter is present, only records *with* a comment are returned.\n", + "type": "string" + }, + "comment.startswith": { + "description": "Prefix of the DNS record comment. Comment filters are case-insensitive.\n", + "type": "string" + }, + "content": { + "description": "Exact value of the DNS record content. This is a convenience alias for `content.exact`.\n", + "type": "string" + }, + "content.contains": { + "description": "Substring of the DNS record content. Content filters are case-insensitive.\n", + "type": "string" + }, + "content.endswith": { + "description": "Suffix of the DNS record content. Content filters are case-insensitive.\n", + "type": "string" + }, + "content.exact": { + "description": "Exact value of the DNS record content. Content filters are case-insensitive.\n", + "type": "string" + }, + "content.startswith": { + "description": "Prefix of the DNS record content. Content filters are case-insensitive.\n", + "type": "string" + }, + "direction": { + "$ref": "#/$defs/dns-records_direction", + "default": "asc", + "description": "Direction to order DNS records in." + }, + "include_shadow_metadata": { + "default": false, + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "type": "boolean" + }, + "match": { + "$ref": "#/$defs/dns-records_match", + "default": "all", + "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead. Note that the interaction between tag filters is controlled by the `tag-match` parameter instead.\n" + }, + "name": { + "description": "Exact value of the DNS record name. This is a convenience alias for `name.exact`.\n", + "type": "string" + }, + "name.contains": { + "description": "Substring of the DNS record name. Name filters are case-insensitive.\n", + "type": "string" + }, + "name.endswith": { + "description": "Suffix of the DNS record name. Name filters are case-insensitive.\n", + "type": "string" + }, + "name.exact": { + "description": "Exact value of the DNS record name. Name filters are case-insensitive.\n", + "type": "string" + }, + "name.startswith": { + "description": "Prefix of the DNS record name. Name filters are case-insensitive.\n", + "type": "string" + }, + "order": { + "$ref": "#/$defs/dns-records_order", + "default": "type", + "description": "Field to order DNS records by." + }, + "page": { + "$ref": "#/$defs/dns-records_page", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "$ref": "#/$defs/dns-records_per_page", + "default": 100, + "description": "Number of DNS records per page." + }, + "proxied": { + "$ref": "#/$defs/dns-records_proxied", + "default": false, + "description": "Whether the record is receiving the performance and security benefits of Cloudflare." + }, + "search": { + "$ref": "#/$defs/dns-records_search", + "description": "Allows searching in multiple properties of a DNS record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future. This parameter works independently of the `match` setting. For automated searches, please use the other available parameters.\n" + }, + "shadowed_by_name": { + "description": "Filters the response to records at or below the specified NS delegation name. NS, DS, and NSEC records at the delegation name are excluded because they are not shadowed by that delegation. Those record types are included only when they exist below the delegation. The value must be a non-apex subdomain of the zone. Requires `include_shadow_metadata=true`. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "type": "string" + }, + "shadowing_name": { + "description": "Returns NS records that shadow the given name, searching at the name itself and each of its ancestor names within the zone, excluding the zone apex. The value must be a subdomain of the zone; the zone apex is not accepted. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "type": "string" + }, + "tag": { + "description": "Condition on the DNS record tag.\n\nParameter values can be of the form `:` to search for an exact `name:value` pair, or just `` to search for records with a specific tag name regardless of its value.\n\nThis is a convenience shorthand for the more powerful `tag.` parameters.\nExamples:\n- `tag=important` is equivalent to `tag.present=important`\n- `tag=team:DNS` is equivalent to `tag.exact=team:DNS`\n", + "type": "string" + }, + "tag.absent": { + "description": "Name of a tag which must *not* be present on the DNS record. Tag filters are case-insensitive.\n", + "type": "string" + }, + "tag.contains": { + "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value contains ``. Tag filters are case-insensitive.\n", + "type": "string" + }, + "tag.endswith": { + "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value ends with ``. Tag filters are case-insensitive.\n", + "type": "string" + }, + "tag.exact": { + "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value is ``. Tag filters are case-insensitive.\n", + "type": "string" + }, + "tag.present": { + "description": "Name of a tag which must be present on the DNS record. Tag filters are case-insensitive.\n", + "type": "string" + }, + "tag.startswith": { + "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value starts with ``. Tag filters are case-insensitive.\n", + "type": "string" + }, + "tag_match": { + "$ref": "#/$defs/dns-records_tag_match", + "default": "all", + "description": "Whether to match all tag search requirements or at least one (any). If set to `all`, acts like a logical AND between tag filters. If set to `any`, acts like a logical OR instead. Note that the regular `match` parameter is still used to combine the resulting condition with other filters that aren't related to tags.\n" + }, + "type": { + "$ref": "#/$defs/dns-records_type", + "description": "Record type." + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "dns-records_direction": dns_records_direction, - "dns-records_identifier": dns_records_identifier, - "dns-records_match": dns_records_match, - "dns-records_order": dns_records_order, - "dns-records_page": dns_records_page, - "dns-records_per_page": dns_records_per_page, - "dns-records_proxied": dns_records_proxied, - "dns-records_search": dns_records_search, - "dns-records_tag_match": dns_records_tag_match, - "dns-records_type": dns_records_type, + "dns-records_direction": dns$$records_direction, + "dns-records_identifier": dns$$records_identifier$, + "dns-records_match": dns$$records_match, + "dns-records_order": dns$$records_order, + "dns-records_page": dns$$records_page, + "dns-records_per_page": dns$$records_per_page, + "dns-records_proxied": dns$$records_proxied$, + "dns-records_search": dns$$records_search, + "dns-records_tag_match": dns$$records_tag_match, + "dns-records_type": dns$$records_type, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_collection", $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-collection": dns_records_api_response_collection_output, - "dns-records_api-response-common": dns_records_api_response_common_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_collection": dns_records_dns_response_collection_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-collection": dns$$records_api$$response$$collection, + "dns-records_api-response-common": dns$$records_api$$response$$common, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_collection": dns$$records_dns_response_collection, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -1257,147 +1338,155 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-collection": dns_records_api_response_collection_output, - "dns-records_api-response-common": dns_records_api_response_common_output, - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_collection": dns_records_dns_response_collection_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-collection": dns$$records_api$$response$$collection, + "dns-records_api-response-common": dns$$records_api$$response$$common, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_collection": dns$$records_dns_response_collection, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records`, query: [ - ["name", args["name"], true], - ["name.exact", args["name_exact"], true], - ["name.contains", args["name_contains"], true], - ["name.startswith", args["name_startswith"], true], - ["name.endswith", args["name_endswith"], true], - ["type", args["type"], true], - ["content", args["content"], true], - ["content.exact", args["content_exact"], true], - ["content.contains", args["content_contains"], true], - ["content.startswith", args["content_startswith"], true], - ["content.endswith", args["content_endswith"], true], - ["proxied", args["proxied"], true], - ["match", args["match"], true], - ["comment", args["comment"], true], - ["comment.present", args["comment_present"], true], - ["comment.absent", args["comment_absent"], true], - ["comment.exact", args["comment_exact"], true], - ["comment.contains", args["comment_contains"], true], - ["comment.startswith", args["comment_startswith"], true], - ["comment.endswith", args["comment_endswith"], true], - ["tag", args["tag"], true], - ["tag.present", args["tag_present"], true], - ["tag.absent", args["tag_absent"], true], - ["tag.exact", args["tag_exact"], true], - ["tag.contains", args["tag_contains"], true], - ["tag.startswith", args["tag_startswith"], true], - ["tag.endswith", args["tag_endswith"], true], - ["search", args["search"], true], - ["tag_match", args["tag_match"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["include_shadow_metadata", args["include_shadow_metadata"], true], - ["shadowed_by_name", args["shadowed_by_name"], true], - ["shadowing_name", args["shadowing_name"], true], + ["name", param(args, "query", "name"), true], + ["name.exact", param(args, "query", "name.exact"), true], + ["name.contains", param(args, "query", "name.contains"), true], + ["name.startswith", param(args, "query", "name.startswith"), true], + ["name.endswith", param(args, "query", "name.endswith"), true], + ["type", param(args, "query", "type"), true], + ["content", param(args, "query", "content"), true], + ["content.exact", param(args, "query", "content.exact"), true], + ["content.contains", param(args, "query", "content.contains"), true], + ["content.startswith", param(args, "query", "content.startswith"), true], + ["content.endswith", param(args, "query", "content.endswith"), true], + ["proxied", param(args, "query", "proxied"), true], + ["match", param(args, "query", "match"), true], + ["comment", param(args, "query", "comment"), true], + ["comment.present", param(args, "query", "comment.present"), true], + ["comment.absent", param(args, "query", "comment.absent"), true], + ["comment.exact", param(args, "query", "comment.exact"), true], + ["comment.contains", param(args, "query", "comment.contains"), true], + ["comment.startswith", param(args, "query", "comment.startswith"), true], + ["comment.endswith", param(args, "query", "comment.endswith"), true], + ["tag", param(args, "query", "tag"), true], + ["tag.present", param(args, "query", "tag.present"), true], + ["tag.absent", param(args, "query", "tag.absent"), true], + ["tag.exact", param(args, "query", "tag.exact"), true], + ["tag.contains", param(args, "query", "tag.contains"), true], + ["tag.startswith", param(args, "query", "tag.startswith"), true], + ["tag.endswith", param(args, "query", "tag.endswith"), true], + ["search", param(args, "query", "search"), true], + ["tag_match", param(args, "query", "tag_match"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["include_shadow_metadata", param(args, "query", "include_shadow_metadata"), true], + ["shadowed_by_name", param(args, "query", "shadowed_by_name"), true], + ["shadowing_name", param(args, "query", "shadowing_name"), true], ], }), }, { - name: "dns_records_scan_list", + name: "dns_records_scanList", title: "List Scanned DNS Records", description: "Retrieves the list of DNS records discovered up to this point by the asynchronous scan. These records are temporary until explicitly accepted or rejected via `POST /scan/review`. Additional records may be discovered by the scan later.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "dns-records_identifier": dns_records_identifier, + "dns-records_identifier": dns$$records_identifier$, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_collection", $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-collection": dns_records_api_response_collection_output, - "dns-records_api-response-common": dns_records_api_response_common_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_collection": dns_records_dns_response_collection_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-collection": dns$$records_api$$response$$collection, + "dns-records_api-response-common": dns$$records_api$$response$$common, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_collection": dns$$records_dns_response_collection, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -1436,44 +1525,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-collection": dns_records_api_response_collection_output, - "dns-records_api-response-common": dns_records_api_response_common_output, - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_collection": dns_records_dns_response_collection_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-collection": dns$$records_api$$response$$collection, + "dns-records_api-response-common": dns$$records_api$$response$$common, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_collection": dns$$records_dns_response_collection, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ @@ -1481,7 +1570,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_records_scan_review", + name: "dns_records_scanReview", title: "Review Scanned DNS Records", description: "Accept or reject DNS records found by the DNS records scan. Accepted records will be permanently added to the zone, while rejected records will be permanently deleted.", inputSchema: { @@ -1490,94 +1579,102 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/dns-records_dns-request-review-scan-object" }, - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord, - "dns-records_ARecord": dns_records_ARecord, - "dns-records_CAARecord": dns_records_CAARecord, - "dns-records_CERTRecord": dns_records_CERTRecord, - "dns-records_CNAMERecord": dns_records_CNAMERecord, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord, - "dns-records_DSRecord": dns_records_DSRecord, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord, - "dns-records_LOCRecord": dns_records_LOCRecord, - "dns-records_MXRecord": dns_records_MXRecord, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord, - "dns-records_NSRecord": dns_records_NSRecord, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord, - "dns-records_PTRRecord": dns_records_PTRRecord, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord, - "dns-records_SRVRecord": dns_records_SRVRecord, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord, - "dns-records_SVCBRecord": dns_records_SVCBRecord, - "dns-records_TLSARecord": dns_records_TLSARecord, - "dns-records_TXTRecord": dns_records_TXTRecord, - "dns-records_URIRecord": dns_records_URIRecord, - "dns-records_comment": dns_records_comment, - "dns-records_dns-record-patch": dns_records_dns_record_patch, - "dns-records_dns-record-scan-batch-accept": dns_records_dns_record_scan_batch_accept, - "dns-records_dns-record-scan-batch-reject": dns_records_dns_record_scan_batch_reject, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data, - "dns-records_dns-request-review-scan-object": dns_records_dns_request_review_scan_object, - "dns-records_identifier": dns_records_identifier, - "dns-records_name": dns_records_name, - "dns-records_priority": dns_records_priority, - "dns-records_proxied": dns_records_proxied, - "dns-records_settings": dns_records_settings, - "dns-records_tags": dns_records_tags, - "dns-records_ttl": dns_records_ttl, + "dns-records_AAAARecord": dns$$records_AAAARecord$, + "dns-records_ARecord": dns$$records_ARecord$, + "dns-records_CAARecord": dns$$records_CAARecord$, + "dns-records_CERTRecord": dns$$records_CERTRecord$, + "dns-records_CNAMERecord": dns$$records_CNAMERecord$, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord$, + "dns-records_DSRecord": dns$$records_DSRecord$, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord$, + "dns-records_LOCRecord": dns$$records_LOCRecord$, + "dns-records_MXRecord": dns$$records_MXRecord$, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord$, + "dns-records_NSRecord": dns$$records_NSRecord$, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord$, + "dns-records_PTRRecord": dns$$records_PTRRecord$, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord$, + "dns-records_SRVRecord": dns$$records_SRVRecord$, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord$, + "dns-records_SVCBRecord": dns$$records_SVCBRecord$, + "dns-records_TLSARecord": dns$$records_TLSARecord$, + "dns-records_TXTRecord": dns$$records_TXTRecord$, + "dns-records_URIRecord": dns$$records_URIRecord$, + "dns-records_comment": dns$$records_comment$, + "dns-records_dns-record-patch": dns$$records_dns$$record$$patch, + "dns-records_dns-record-scan-batch-accept": dns$$records_dns$$record$$scan$$batch$$accept, + "dns-records_dns-record-scan-batch-reject": dns$$records_dns$$record$$scan$$batch$$reject, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields$, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, + "dns-records_dns-request-review-scan-object": dns$$records_dns$$request$$review$$scan$$object, + "dns-records_identifier": dns$$records_identifier$, + "dns-records_name": dns$$records_name$, + "dns-records_priority": dns$$records_priority$, + "dns-records_proxied": dns$$records_proxied$, + "dns-records_settings": dns$$records_settings$, + "dns-records_tags": dns$$records_tags$, + "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_review_scan", $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns-response-review-scan-object": dns_records_dns_response_review_scan_object_output, - "dns-records_dns_response_review_scan": dns_records_dns_response_review_scan_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns-response-review-scan-object": dns$$records_dns$$response$$review$$scan$$object, + "dns-records_dns_response_review_scan": dns$$records_dns_response_review_scan, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -1615,44 +1712,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns-response-review-scan-object": dns_records_dns_response_review_scan_object_output, - "dns-records_dns_response_review_scan": dns_records_dns_response_review_scan_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns-response-review-scan-object": dns$$records_dns$$response$$review$$scan$$object, + "dns-records_dns_response_review_scan": dns$$records_dns_response_review_scan, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ @@ -1661,29 +1758,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_records_scan_trigger", + name: "dns_records_scanTrigger", title: "Trigger DNS Record Scan", description: "Initiates an asynchronous scan for common DNS records on your domain. Note that this **does not** automatically add records to your zone. The scan runs in the background, and results can be reviewed later using the `/scan/review` endpoints. Useful if you haven't updated your nameservers yet.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "dns-records_identifier": dns_records_identifier, + "dns-records_identifier": dns$$records_identifier$, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_trigger_scan", $defs: { - "dns-records_dns_response_trigger_scan": dns_records_dns_response_trigger_scan_output, - "dns-records_messages": dns_records_messages_output, + "dns-records_dns_response_trigger_scan": dns$$records_dns_response_trigger_scan, + "dns-records_messages": dns$$records_messages, }, }, annotations: { @@ -1721,9 +1826,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_dns_response_trigger_scan": dns_records_dns_response_trigger_scan_output, - "dns-records_messages": dns_records_messages_output, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_dns_response_trigger_scan": dns$$records_dns_response_trigger_scan, + "dns-records_messages": dns$$records_messages, }, }, request: (args) => ({ @@ -1740,100 +1845,113 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/dns-records_dns-record-post" }, - "dns_record_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." - }, - "include_shadow_metadata": { - "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", - "type": "boolean" + "path": { + "properties": { + "dns_record_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "dns_record_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "query": { + "properties": { + "include_shadow_metadata": { + "default": false, + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", - "dns_record_id", + "path", "body" ], $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord, - "dns-records_ARecord": dns_records_ARecord, - "dns-records_CAARecord": dns_records_CAARecord, - "dns-records_CERTRecord": dns_records_CERTRecord, - "dns-records_CNAMERecord": dns_records_CNAMERecord, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord, - "dns-records_DSRecord": dns_records_DSRecord, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord, - "dns-records_LOCRecord": dns_records_LOCRecord, - "dns-records_MXRecord": dns_records_MXRecord, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord, - "dns-records_NSRecord": dns_records_NSRecord, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord, - "dns-records_PTRRecord": dns_records_PTRRecord, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord, - "dns-records_SRVRecord": dns_records_SRVRecord, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord, - "dns-records_SVCBRecord": dns_records_SVCBRecord, - "dns-records_TLSARecord": dns_records_TLSARecord, - "dns-records_TXTRecord": dns_records_TXTRecord, - "dns-records_URIRecord": dns_records_URIRecord, - "dns-records_comment": dns_records_comment, - "dns-records_dns-record-post": dns_records_dns_record_post, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data, - "dns-records_identifier": dns_records_identifier, - "dns-records_name": dns_records_name, - "dns-records_priority": dns_records_priority, - "dns-records_proxied": dns_records_proxied, - "dns-records_settings": dns_records_settings, - "dns-records_tags": dns_records_tags, - "dns-records_ttl": dns_records_ttl, + "dns-records_AAAARecord": dns$$records_AAAARecord$, + "dns-records_ARecord": dns$$records_ARecord$, + "dns-records_CAARecord": dns$$records_CAARecord$, + "dns-records_CERTRecord": dns$$records_CERTRecord$, + "dns-records_CNAMERecord": dns$$records_CNAMERecord$, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord$, + "dns-records_DSRecord": dns$$records_DSRecord$, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord$, + "dns-records_LOCRecord": dns$$records_LOCRecord$, + "dns-records_MXRecord": dns$$records_MXRecord$, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord$, + "dns-records_NSRecord": dns$$records_NSRecord$, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord$, + "dns-records_PTRRecord": dns$$records_PTRRecord$, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord$, + "dns-records_SRVRecord": dns$$records_SRVRecord$, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord$, + "dns-records_SVCBRecord": dns$$records_SVCBRecord$, + "dns-records_TLSARecord": dns$$records_TLSARecord$, + "dns-records_TXTRecord": dns$$records_TXTRecord$, + "dns-records_URIRecord": dns$$records_URIRecord$, + "dns-records_comment": dns$$records_comment$, + "dns-records_dns-record-post": dns$$records_dns$$record$$post, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields$, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, + "dns-records_identifier": dns$$records_identifier$, + "dns-records_name": dns$$records_name$, + "dns-records_priority": dns$$records_priority$, + "dns-records_proxied": dns$$records_proxied$, + "dns-records_settings": dns$$records_settings$, + "dns-records_tags": dns$$records_tags$, + "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_single", $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_single": dns_records_dns_response_single_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_single": dns$$records_dns_response_single, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -1871,49 +1989,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_AAAARecord": dns_records_AAAARecord_output, - "dns-records_ARecord": dns_records_ARecord_output, - "dns-records_CAARecord": dns_records_CAARecord_output, - "dns-records_CERTRecord": dns_records_CERTRecord_output, - "dns-records_CNAMERecord": dns_records_CNAMERecord_output, - "dns-records_DNSKEYRecord": dns_records_DNSKEYRecord_output, - "dns-records_DSRecord": dns_records_DSRecord_output, - "dns-records_HTTPSRecord": dns_records_HTTPSRecord_output, - "dns-records_LOCRecord": dns_records_LOCRecord_output, - "dns-records_MXRecord": dns_records_MXRecord_output, - "dns-records_NAPTRRecord": dns_records_NAPTRRecord_output, - "dns-records_NSRecord": dns_records_NSRecord_output, - "dns-records_OPENPGPKEYRecord": dns_records_OPENPGPKEYRecord_output, - "dns-records_PTRRecord": dns_records_PTRRecord_output, - "dns-records_SMIMEARecord": dns_records_SMIMEARecord_output, - "dns-records_SRVRecord": dns_records_SRVRecord_output, - "dns-records_SSHFPRecord": dns_records_SSHFPRecord_output, - "dns-records_SVCBRecord": dns_records_SVCBRecord_output, - "dns-records_TLSARecord": dns_records_TLSARecord_output, - "dns-records_TXTRecord": dns_records_TXTRecord_output, - "dns-records_URIRecord": dns_records_URIRecord_output, - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_comment": dns_records_comment_output, - "dns-records_dns-record-response": dns_records_dns_record_response_output, - "dns-records_dns-record-shared-fields": dns_records_dns_record_shared_fields_output, - "dns-records_dns-record-with-data": dns_records_dns_record_with_data_output, - "dns-records_dns-record-without-data": dns_records_dns_record_without_data_output, - "dns-records_dns_response_single": dns_records_dns_response_single_output, - "dns-records_identifier": dns_records_identifier_output, - "dns-records_messages": dns_records_messages_output, - "dns-records_name": dns_records_name_output, - "dns-records_priority": dns_records_priority_output, - "dns-records_proxied": dns_records_proxied_output, - "dns-records_settings": dns_records_settings_output, - "dns-records_tags": dns_records_tags_output, - "dns-records_ttl": dns_records_ttl_output, + "dns-records_AAAARecord": dns$$records_AAAARecord, + "dns-records_ARecord": dns$$records_ARecord, + "dns-records_CAARecord": dns$$records_CAARecord, + "dns-records_CERTRecord": dns$$records_CERTRecord, + "dns-records_CNAMERecord": dns$$records_CNAMERecord, + "dns-records_DNSKEYRecord": dns$$records_DNSKEYRecord, + "dns-records_DSRecord": dns$$records_DSRecord, + "dns-records_HTTPSRecord": dns$$records_HTTPSRecord, + "dns-records_LOCRecord": dns$$records_LOCRecord, + "dns-records_MXRecord": dns$$records_MXRecord, + "dns-records_NAPTRRecord": dns$$records_NAPTRRecord, + "dns-records_NSRecord": dns$$records_NSRecord, + "dns-records_OPENPGPKEYRecord": dns$$records_OPENPGPKEYRecord, + "dns-records_PTRRecord": dns$$records_PTRRecord, + "dns-records_SMIMEARecord": dns$$records_SMIMEARecord, + "dns-records_SRVRecord": dns$$records_SRVRecord, + "dns-records_SSHFPRecord": dns$$records_SSHFPRecord, + "dns-records_SVCBRecord": dns$$records_SVCBRecord, + "dns-records_TLSARecord": dns$$records_TLSARecord, + "dns-records_TXTRecord": dns$$records_TXTRecord, + "dns-records_URIRecord": dns$$records_URIRecord, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_comment": dns$$records_comment, + "dns-records_dns-record-response": dns$$records_dns$$record$$response, + "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, + "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, + "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, + "dns-records_dns_response_single": dns$$records_dns_response_single, + "dns-records_identifier": dns$$records_identifier, + "dns-records_messages": dns$$records_messages, + "dns-records_name": dns$$records_name, + "dns-records_priority": dns$$records_priority, + "dns-records_proxied": dns$$records_proxied, + "dns-records_settings": dns$$records_settings, + "dns-records_tags": dns$$records_tags, + "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/dns_records/${pathParam(args, "dns_record_id")}`, query: [ - ["include_shadow_metadata", args["include_shadow_metadata"], true], + ["include_shadow_metadata", param(args, "query", "include_shadow_metadata"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/dns/schemas.ts b/src/generated/forge-mcp/dns/schemas.ts index 102680812..caedcd80f 100644 --- a/src/generated/forge-mcp/dns/schemas.ts +++ b/src/generated/forge-mcp/dns/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `dns-records_identifier`. */ -export const dns_records_identifier: JsonSchema = { +export const dns$$records_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts b/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts index 386e9c3cf..90000b4bb 100644 --- a/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts +++ b/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `dns-settings_nameserver-name` in responses. */ -export const dns_settings_nameserver_name_output: JsonSchema = { +export const dns$$settings_nameserver$$name: JsonSchema = { "type": "string" }; /** * The schema of `dns-settings_nameserver-set-address-groups` in responses. */ -export const dns_settings_nameserver_set_address_groups_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$address$$groups: JsonSchema = { "items": { "enum": [ "a", @@ -29,7 +29,7 @@ export const dns_settings_nameserver_set_address_groups_output: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-advanced-response` in responses. */ -export const dns_settings_nameserver_set_advanced_response_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$advanced$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_nameserver-set-response-base" @@ -64,7 +64,7 @@ export const dns_settings_nameserver_set_advanced_response_output: JsonSchema = * The schema of `dns-settings_nameserver-set-advanced-response-member` in * responses. */ -export const dns_settings_nameserver_set_advanced_response_member_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$advanced$$response$$member: JsonSchema = { "properties": { "ipv4": { "$ref": "#/$defs/dns-settings_nameserver-set-ipv4-addresses" @@ -95,21 +95,21 @@ export const dns_settings_nameserver_set_advanced_response_member_output: JsonSc /** * The schema of `dns-settings_nameserver-set-id` in responses. */ -export const dns_settings_nameserver_set_id_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$id: JsonSchema = { "type": "string" }; /** * The schema of `dns-settings_nameserver-set-ip-set` in responses. */ -export const dns_settings_nameserver_set_ip_set_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$ip$$set: JsonSchema = { "type": "integer" }; /** * The schema of `dns-settings_nameserver-set-ipv4-addresses` in responses. */ -export const dns_settings_nameserver_set_ipv4_addresses_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$ipv4$$addresses: JsonSchema = { "items": { "type": "string" }, @@ -120,7 +120,7 @@ export const dns_settings_nameserver_set_ipv4_addresses_output: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-ipv6-addresses` in responses. */ -export const dns_settings_nameserver_set_ipv6_addresses_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$ipv6$$addresses: JsonSchema = { "items": { "type": "string" }, @@ -131,14 +131,14 @@ export const dns_settings_nameserver_set_ipv6_addresses_output: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-name` in responses. */ -export const dns_settings_nameserver_set_name_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$name: JsonSchema = { "type": "string" }; /** * The schema of `dns-settings_nameserver-set-response` in responses. */ -export const dns_settings_nameserver_set_response_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$response: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/dns-settings_nameserver-set-standard-response" @@ -152,7 +152,7 @@ export const dns_settings_nameserver_set_response_output: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-response-base` in responses. */ -export const dns_settings_nameserver_set_response_base_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$response$$base: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -180,7 +180,7 @@ export const dns_settings_nameserver_set_response_base_output: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-response-member` in responses. */ -export const dns_settings_nameserver_set_response_member_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$response$$member: JsonSchema = { "properties": { "ipv4": { "$ref": "#/$defs/dns-settings_nameserver-set-ipv4-addresses" @@ -203,7 +203,7 @@ export const dns_settings_nameserver_set_response_member_output: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-standard-response` in responses. */ -export const dns_settings_nameserver_set_standard_response_output: JsonSchema = { +export const dns$$settings_nameserver$$set$$standard$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_nameserver-set-response-base" @@ -237,7 +237,7 @@ export const dns_settings_nameserver_set_standard_response_output: JsonSchema = /** * The schema of `dns-settings_nameserver_set_delete_response` in responses. */ -export const dns_settings_nameserver_set_delete_response_output: JsonSchema = { +export const dns$$settings_nameserver_set_delete_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_api-response-single" @@ -267,7 +267,7 @@ export const dns_settings_nameserver_set_delete_response_output: JsonSchema = { /** * The schema of `dns-settings_nameserver_set_response_collection` in responses. */ -export const dns_settings_nameserver_set_response_collection_output: JsonSchema = { +export const dns$$settings_nameserver_set_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_api-response-collection" @@ -292,7 +292,7 @@ export const dns_settings_nameserver_set_response_collection_output: JsonSchema /** * The schema of `dns-settings_nameserver_set_response_single` in responses. */ -export const dns_settings_nameserver_set_response_single_output: JsonSchema = { +export const dns$$settings_nameserver_set_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_api-response-single" diff --git a/src/generated/forge-mcp/dns/settings/account/nameserverSets/schemas.ts b/src/generated/forge-mcp/dns/settings/account/nameserverSets/schemas.ts index d46ce88e1..473e34345 100644 --- a/src/generated/forge-mcp/dns/settings/account/nameserverSets/schemas.ts +++ b/src/generated/forge-mcp/dns/settings/account/nameserverSets/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `dns-settings_nameserver-name`. */ -export const dns_settings_nameserver_name: JsonSchema = { +export const dns$$settings_nameserver$$name: JsonSchema = { "description": "A unique lowercase Punycode nameserver name within the set.", "type": "string" }; @@ -14,7 +14,7 @@ export const dns_settings_nameserver_name: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-create`. */ -export const dns_settings_nameserver_set_create: JsonSchema = { +export const dns$$settings_nameserver$$set$$create: JsonSchema = { "properties": { "advanced": { "default": false, @@ -50,7 +50,7 @@ export const dns_settings_nameserver_set_create: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-create-member`. */ -export const dns_settings_nameserver_set_create_member: JsonSchema = { +export const dns$$settings_nameserver$$set$$create$$member: JsonSchema = { "properties": { "ip_count": { "$ref": "#/$defs/dns-settings_nameserver-set-ip-count", @@ -71,7 +71,7 @@ export const dns_settings_nameserver_set_create_member: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-id`. */ -export const dns_settings_nameserver_set_id: JsonSchema = { +export const dns$$settings_nameserver$$set$$id: JsonSchema = { "description": "Identifier for a nameserver set.", "type": "string" }; @@ -79,7 +79,7 @@ export const dns_settings_nameserver_set_id: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-ip-count`. */ -export const dns_settings_nameserver_set_ip_count: JsonSchema = { +export const dns$$settings_nameserver$$set$$ip$$count: JsonSchema = { "description": "Number of IPv4 addresses and number of IPv6 addresses to allocate to this nameserver. All nameservers in an Advanced nameserver set must use the same value.", "type": "integer" }; @@ -87,7 +87,7 @@ export const dns_settings_nameserver_set_ip_count: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-ip-set`. */ -export const dns_settings_nameserver_set_ip_set: JsonSchema = { +export const dns$$settings_nameserver$$set$$ip$$set: JsonSchema = { "description": "Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same `ip_set` and `advanced` value may reuse addresses; otherwise, they use disjoint address groups.", "type": "integer" }; @@ -95,7 +95,7 @@ export const dns_settings_nameserver_set_ip_set: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-name`. */ -export const dns_settings_nameserver_set_name: JsonSchema = { +export const dns$$settings_nameserver$$set$$name: JsonSchema = { "description": "Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set's nameservers or addresses.", "type": "string" }; @@ -103,7 +103,7 @@ export const dns_settings_nameserver_set_name: JsonSchema = { /** * The schema of `dns-settings_nameserver-set-patch`. */ -export const dns_settings_nameserver_set_patch: JsonSchema = { +export const dns$$settings_nameserver$$set$$patch: JsonSchema = { "description": "Updates only the customer-defined name. All other fields are rejected, even if unchanged. An empty object or the current name succeeds without changing the set. A null name is invalid. Requires the account-scoped creation entitlements, including eligibility for the set's current IP set and the Advanced entitlement for an Advanced set.", "properties": { "name": { diff --git a/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts b/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts index e54f741a6..c54a9caa0 100644 --- a/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts +++ b/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts @@ -1,96 +1,104 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - dns_settings_api_response_collection_output, - dns_settings_api_response_common_failure_output, - dns_settings_api_response_common_output, - dns_settings_api_response_single_output, - dns_settings_messages_output, + dns$$settings_api$$response$$collection, + dns$$settings_api$$response$$common, + dns$$settings_api$$response$$common$$failure, + dns$$settings_api$$response$$single, + dns$$settings_messages, } from "../outputs.js"; -import { dns_settings_identifier, dns_settings_page } from "../schemas.js"; +import { dns$$settings_identifier, dns$$settings_page } from "../schemas.js"; import { - dns_settings_nameserver_name_output, - dns_settings_nameserver_set_address_groups_output, - dns_settings_nameserver_set_advanced_response_member_output, - dns_settings_nameserver_set_advanced_response_output, - dns_settings_nameserver_set_delete_response_output, - dns_settings_nameserver_set_id_output, - dns_settings_nameserver_set_ip_set_output, - dns_settings_nameserver_set_ipv4_addresses_output, - dns_settings_nameserver_set_ipv6_addresses_output, - dns_settings_nameserver_set_name_output, - dns_settings_nameserver_set_response_base_output, - dns_settings_nameserver_set_response_collection_output, - dns_settings_nameserver_set_response_member_output, - dns_settings_nameserver_set_response_output, - dns_settings_nameserver_set_response_single_output, - dns_settings_nameserver_set_standard_response_output, + dns$$settings_nameserver$$name, + dns$$settings_nameserver$$set$$address$$groups, + dns$$settings_nameserver$$set$$advanced$$response, + dns$$settings_nameserver$$set$$advanced$$response$$member, + dns$$settings_nameserver$$set$$id, + dns$$settings_nameserver$$set$$ip$$set, + dns$$settings_nameserver$$set$$ipv4$$addresses, + dns$$settings_nameserver$$set$$ipv6$$addresses, + dns$$settings_nameserver$$set$$name, + dns$$settings_nameserver$$set$$response, + dns$$settings_nameserver$$set$$response$$base, + dns$$settings_nameserver$$set$$response$$member, + dns$$settings_nameserver$$set$$standard$$response, + dns$$settings_nameserver_set_delete_response, + dns$$settings_nameserver_set_response_collection, + dns$$settings_nameserver_set_response_single, } from "./outputs.js"; import { - dns_settings_nameserver_name, - dns_settings_nameserver_set_create, - dns_settings_nameserver_set_create_member, - dns_settings_nameserver_set_id, - dns_settings_nameserver_set_ip_count, - dns_settings_nameserver_set_ip_set, - dns_settings_nameserver_set_name, - dns_settings_nameserver_set_patch, + dns$$settings_nameserver$$name as dns$$settings_nameserver$$name$, + dns$$settings_nameserver$$set$$create, + dns$$settings_nameserver$$set$$create$$member, + dns$$settings_nameserver$$set$$id as dns$$settings_nameserver$$set$$id$, + dns$$settings_nameserver$$set$$ip$$count, + dns$$settings_nameserver$$set$$ip$$set as dns$$settings_nameserver$$set$$ip$$set$, + dns$$settings_nameserver$$set$$name as dns$$settings_nameserver$$set$$name$, + dns$$settings_nameserver$$set$$patch, } from "./schemas.js"; /** - * The tools of `dns.settings.account.nameserver_sets`. + * The tools of `dns.settings.account.nameserverSets`. */ export const tools: readonly Tool[] = [ { - name: "dns_settings_account_nameserver_sets_create", + name: "dns_settings_account_nameserverSets_create", title: "Create Custom Nameserver Set", description: "Creates a named Custom Nameserver Set. Only the customer-defined name can be changed later. To change nameservers or addresses, create a new set, move any zone assignments, and delete the old set. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/dns-settings_nameserver-set-create" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "dns-settings_identifier": dns_settings_identifier, - "dns-settings_nameserver-name": dns_settings_nameserver_name, - "dns-settings_nameserver-set-create": dns_settings_nameserver_set_create, - "dns-settings_nameserver-set-create-member": dns_settings_nameserver_set_create_member, - "dns-settings_nameserver-set-ip-count": dns_settings_nameserver_set_ip_count, - "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_nameserver-name": dns$$settings_nameserver$$name$, + "dns-settings_nameserver-set-create": dns$$settings_nameserver$$set$$create, + "dns-settings_nameserver-set-create-member": dns$$settings_nameserver$$set$$create$$member, + "dns-settings_nameserver-set-ip-count": dns$$settings_nameserver$$set$$ip$$count, + "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set$, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name$, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_nameserver_set_response_single", $defs: { - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-name": dns_settings_nameserver_name_output, - "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, - "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, - "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, - "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, - "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name_output, - "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, - "dns-settings_nameserver-set-response-base": dns_settings_nameserver_set_response_base_output, - "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, - "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, - "dns-settings_nameserver_set_response_single": dns_settings_nameserver_set_response_single_output, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-name": dns$$settings_nameserver$$name, + "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, + "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, + "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, + "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, + "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, + "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, + "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, + "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, + "dns-settings_nameserver-set-standard-response": dns$$settings_nameserver$$set$$standard$$response, + "dns-settings_nameserver_set_response_single": dns$$settings_nameserver_set_response_single, }, }, annotations: { @@ -120,23 +128,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-name": dns_settings_nameserver_name_output, - "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, - "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, - "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, - "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, - "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name_output, - "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, - "dns-settings_nameserver-set-response-base": dns_settings_nameserver_set_response_base_output, - "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, - "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, - "dns-settings_nameserver_set_response_single": dns_settings_nameserver_set_response_single_output, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-name": dns$$settings_nameserver$$name, + "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, + "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, + "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, + "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, + "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, + "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, + "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, + "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, + "dns-settings_nameserver-set-standard-response": dns$$settings_nameserver$$set$$standard$$response, + "dns-settings_nameserver_set_response_single": dns$$settings_nameserver_set_response_single, }, }, request: (args) => ({ @@ -145,37 +153,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_settings_account_nameserver_sets_delete", + name: "dns_settings_account_nameserverSets_delete", title: "Delete Custom Nameserver Set", description: "Deletes an unassigned Custom Nameserver Set. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, - "nameserver_set_id": { - "$ref": "#/$defs/dns-settings_nameserver-set-id", - "description": "Identifier for a nameserver set." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + }, + "nameserver_set_id": { + "$ref": "#/$defs/dns-settings_nameserver-set-id", + "description": "Identifier for a nameserver set." + } + }, + "required": [ + "account_id", + "nameserver_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "nameserver_set_id" + "path" ], $defs: { - "dns-settings_identifier": dns_settings_identifier, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id$, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_nameserver_set_delete_response", $defs: { - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver_set_delete_response": dns_settings_nameserver_set_delete_response_output, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver_set_delete_response": dns$$settings_nameserver_set_delete_response, }, }, annotations: { @@ -205,11 +221,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver_set_delete_response": dns_settings_nameserver_set_delete_response_output, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver_set_delete_response": dns$$settings_nameserver_set_delete_response, }, }, request: (args) => ({ @@ -217,55 +233,63 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_settings_account_nameserver_sets_edit", + name: "dns_settings_account_nameserverSets_edit", title: "Update Custom Nameserver Set", description: "Renames a Custom Nameserver Set owned by the account. Only name may be supplied; immutable and unknown fields are rejected even if unchanged. An empty object or the existing name is a successful no-op. Requires the account-scoped creation entitlements for the existing set.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/dns-settings_nameserver-set-patch" }, - "nameserver_set_id": { - "$ref": "#/$defs/dns-settings_nameserver-set-id", - "description": "Identifier for a nameserver set." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + }, + "nameserver_set_id": { + "$ref": "#/$defs/dns-settings_nameserver-set-id", + "description": "Identifier for a nameserver set." + } + }, + "required": [ + "account_id", + "nameserver_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "nameserver_set_id", + "path", "body" ], $defs: { - "dns-settings_identifier": dns_settings_identifier, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name, - "dns-settings_nameserver-set-patch": dns_settings_nameserver_set_patch, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id$, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name$, + "dns-settings_nameserver-set-patch": dns$$settings_nameserver$$set$$patch, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_nameserver_set_response_single", $defs: { - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-name": dns_settings_nameserver_name_output, - "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, - "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, - "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, - "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, - "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name_output, - "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, - "dns-settings_nameserver-set-response-base": dns_settings_nameserver_set_response_base_output, - "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, - "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, - "dns-settings_nameserver_set_response_single": dns_settings_nameserver_set_response_single_output, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-name": dns$$settings_nameserver$$name, + "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, + "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, + "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, + "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, + "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, + "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, + "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, + "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, + "dns-settings_nameserver-set-standard-response": dns$$settings_nameserver$$set$$standard$$response, + "dns-settings_nameserver_set_response_single": dns$$settings_nameserver_set_response_single, }, }, annotations: { @@ -298,23 +322,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-name": dns_settings_nameserver_name_output, - "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, - "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, - "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, - "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, - "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name_output, - "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, - "dns-settings_nameserver-set-response-base": dns_settings_nameserver_set_response_base_output, - "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, - "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, - "dns-settings_nameserver_set_response_single": dns_settings_nameserver_set_response_single_output, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-name": dns$$settings_nameserver$$name, + "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, + "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, + "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, + "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, + "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, + "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, + "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, + "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, + "dns-settings_nameserver-set-standard-response": dns$$settings_nameserver$$set$$standard$$response, + "dns-settings_nameserver_set_response_single": dns$$settings_nameserver_set_response_single, }, }, request: (args) => ({ @@ -323,49 +347,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_settings_account_nameserver_sets_get", + name: "dns_settings_account_nameserverSets_get", title: "Get Custom Nameserver Set", description: "Gets a Custom Nameserver Set owned by an account. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, - "nameserver_set_id": { - "$ref": "#/$defs/dns-settings_nameserver-set-id", - "description": "Identifier for a nameserver set." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + }, + "nameserver_set_id": { + "$ref": "#/$defs/dns-settings_nameserver-set-id", + "description": "Identifier for a nameserver set." + } + }, + "required": [ + "account_id", + "nameserver_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "nameserver_set_id" + "path" ], $defs: { - "dns-settings_identifier": dns_settings_identifier, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id$, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_nameserver_set_response_single", $defs: { - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-name": dns_settings_nameserver_name_output, - "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, - "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, - "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, - "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, - "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name_output, - "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, - "dns-settings_nameserver-set-response-base": dns_settings_nameserver_set_response_base_output, - "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, - "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, - "dns-settings_nameserver_set_response_single": dns_settings_nameserver_set_response_single_output, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-name": dns$$settings_nameserver$$name, + "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, + "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, + "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, + "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, + "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, + "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, + "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, + "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, + "dns-settings_nameserver-set-standard-response": dns$$settings_nameserver$$set$$standard$$response, + "dns-settings_nameserver_set_response_single": dns$$settings_nameserver_set_response_single, }, }, annotations: { @@ -399,23 +431,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-name": dns_settings_nameserver_name_output, - "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, - "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, - "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, - "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, - "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name_output, - "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, - "dns-settings_nameserver-set-response-base": dns_settings_nameserver_set_response_base_output, - "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, - "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, - "dns-settings_nameserver_set_response_single": dns_settings_nameserver_set_response_single_output, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-name": dns$$settings_nameserver$$name, + "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, + "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, + "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, + "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, + "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, + "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, + "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, + "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, + "dns-settings_nameserver-set-standard-response": dns$$settings_nameserver$$set$$standard$$response, + "dns-settings_nameserver_set_response_single": dns$$settings_nameserver_set_response_single, }, }, request: (args) => ({ @@ -423,55 +455,68 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_settings_account_nameserver_sets_list", + name: "dns_settings_account_nameserverSets_list", title: "List Custom Nameserver Sets", description: "Lists an account's Custom Nameserver Sets. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, - "page": { - "$ref": "#/$defs/dns-settings_page", - "default": 1, - "description": "Page number of paginated results." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 100, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "$ref": "#/$defs/dns-settings_page", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "default": 100, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "dns-settings_identifier": dns_settings_identifier, - "dns-settings_page": dns_settings_page, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_page": dns$$settings_page, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_nameserver_set_response_collection", $defs: { - "dns-settings_api-response-collection": dns_settings_api_response_collection_output, - "dns-settings_api-response-common": dns_settings_api_response_common_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-name": dns_settings_nameserver_name_output, - "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, - "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, - "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, - "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, - "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name_output, - "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, - "dns-settings_nameserver-set-response-base": dns_settings_nameserver_set_response_base_output, - "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, - "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, - "dns-settings_nameserver_set_response_collection": dns_settings_nameserver_set_response_collection_output, + "dns-settings_api-response-collection": dns$$settings_api$$response$$collection, + "dns-settings_api-response-common": dns$$settings_api$$response$$common, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-name": dns$$settings_nameserver$$name, + "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, + "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, + "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, + "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, + "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, + "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, + "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, + "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, + "dns-settings_nameserver-set-standard-response": dns$$settings_nameserver$$set$$standard$$response, + "dns-settings_nameserver_set_response_collection": dns$$settings_nameserver_set_response_collection, }, }, annotations: { @@ -505,31 +550,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-collection": dns_settings_api_response_collection_output, - "dns-settings_api-response-common": dns_settings_api_response_common_output, - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_nameserver-name": dns_settings_nameserver_name_output, - "dns-settings_nameserver-set-address-groups": dns_settings_nameserver_set_address_groups_output, - "dns-settings_nameserver-set-advanced-response": dns_settings_nameserver_set_advanced_response_output, - "dns-settings_nameserver-set-advanced-response-member": dns_settings_nameserver_set_advanced_response_member_output, - "dns-settings_nameserver-set-id": dns_settings_nameserver_set_id_output, - "dns-settings_nameserver-set-ip-set": dns_settings_nameserver_set_ip_set_output, - "dns-settings_nameserver-set-ipv4-addresses": dns_settings_nameserver_set_ipv4_addresses_output, - "dns-settings_nameserver-set-ipv6-addresses": dns_settings_nameserver_set_ipv6_addresses_output, - "dns-settings_nameserver-set-name": dns_settings_nameserver_set_name_output, - "dns-settings_nameserver-set-response": dns_settings_nameserver_set_response_output, - "dns-settings_nameserver-set-response-base": dns_settings_nameserver_set_response_base_output, - "dns-settings_nameserver-set-response-member": dns_settings_nameserver_set_response_member_output, - "dns-settings_nameserver-set-standard-response": dns_settings_nameserver_set_standard_response_output, - "dns-settings_nameserver_set_response_collection": dns_settings_nameserver_set_response_collection_output, + "dns-settings_api-response-collection": dns$$settings_api$$response$$collection, + "dns-settings_api-response-common": dns$$settings_api$$response$$common, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_nameserver-name": dns$$settings_nameserver$$name, + "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, + "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, + "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, + "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, + "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, + "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, + "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, + "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, + "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, + "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, + "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, + "dns-settings_nameserver-set-standard-response": dns$$settings_nameserver$$set$$standard$$response, + "dns-settings_nameserver_set_response_collection": dns$$settings_nameserver_set_response_collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/nameserver_sets`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/dns/settings/account/outputs.ts b/src/generated/forge-mcp/dns/settings/account/outputs.ts index 0a09ce00a..654bd2d4f 100644 --- a/src/generated/forge-mcp/dns/settings/account/outputs.ts +++ b/src/generated/forge-mcp/dns/settings/account/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dns-settings_account_settings` in responses. */ -export const dns_settings_account_settings_output: JsonSchema = { +export const dns$$settings_account_settings: JsonSchema = { "properties": { "enforce_dns_only": { "$ref": "#/$defs/dns-settings_enforce_dns_only" @@ -24,7 +24,7 @@ export const dns_settings_account_settings_output: JsonSchema = { /** * The schema of `dns-settings_api-response-collection` in responses. */ -export const dns_settings_api_response_collection_output: JsonSchema = { +export const dns$$settings_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_api-response-common" @@ -60,7 +60,7 @@ export const dns_settings_api_response_collection_output: JsonSchema = { /** * The schema of `dns-settings_api-response-common` in responses. */ -export const dns_settings_api_response_common_output: JsonSchema = { +export const dns$$settings_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-settings_messages" @@ -86,7 +86,7 @@ export const dns_settings_api_response_common_output: JsonSchema = { /** * The schema of `dns-settings_api-response-common-failure` in responses. */ -export const dns_settings_api_response_common_failure_output: JsonSchema = { +export const dns$$settings_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-settings_messages" @@ -116,7 +116,7 @@ export const dns_settings_api_response_common_failure_output: JsonSchema = { /** * The schema of `dns-settings_api-response-single` in responses. */ -export const dns_settings_api_response_single_output: JsonSchema = { +export const dns$$settings_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-settings_messages" @@ -142,7 +142,7 @@ export const dns_settings_api_response_single_output: JsonSchema = { /** * The schema of `dns-settings_dns-settings-account-response` in responses. */ -export const dns_settings_dns_settings_account_response_output: JsonSchema = { +export const dns$$settings_dns$$settings$$account$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_dns-settings-response" @@ -179,7 +179,7 @@ export const dns_settings_dns_settings_account_response_output: JsonSchema = { /** * The schema of `dns-settings_dns-settings-base` in responses. */ -export const dns_settings_dns_settings_base_output: JsonSchema = { +export const dns$$settings_dns$$settings$$base: JsonSchema = { "properties": { "flatten_all_cnames": { "$ref": "#/$defs/dns-settings_flatten_all_cnames" @@ -212,7 +212,7 @@ export const dns_settings_dns_settings_base_output: JsonSchema = { /** * The schema of `dns-settings_dns-settings-response` in responses. */ -export const dns_settings_dns_settings_response_output: JsonSchema = { +export const dns$$settings_dns$$settings$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_dns-settings-base" @@ -238,7 +238,7 @@ export const dns_settings_dns_settings_response_output: JsonSchema = { /** * The schema of `dns-settings_dns_response_single` in responses. */ -export const dns_settings_dns_response_single_output: JsonSchema = { +export const dns$$settings_dns_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_api-response-single" @@ -257,35 +257,35 @@ export const dns_settings_dns_response_single_output: JsonSchema = { /** * The schema of `dns-settings_enforce_dns_only` in responses. */ -export const dns_settings_enforce_dns_only_output: JsonSchema = { +export const dns$$settings_enforce_dns_only: JsonSchema = { "type": "boolean" }; /** * The schema of `dns-settings_flatten_all_cnames` in responses. */ -export const dns_settings_flatten_all_cnames_output: JsonSchema = { +export const dns$$settings_flatten_all_cnames: JsonSchema = { "type": "boolean" }; /** * The schema of `dns-settings_foundation_dns` in responses. */ -export const dns_settings_foundation_dns_output: JsonSchema = { +export const dns$$settings_foundation_dns: JsonSchema = { "type": "boolean" }; /** * The schema of `dns-settings_identifier` in responses. */ -export const dns_settings_identifier_output: JsonSchema = { +export const dns$$settings_identifier: JsonSchema = { "type": "string" }; /** * The schema of `dns-settings_internal_dns_base` in responses. */ -export const dns_settings_internal_dns_base_output: JsonSchema = { +export const dns$$settings_internal_dns_base: JsonSchema = { "properties": { "reference_zone_id": { "type": "string" @@ -297,7 +297,7 @@ export const dns_settings_internal_dns_base_output: JsonSchema = { /** * The schema of `dns-settings_internal_dns_response` in responses. */ -export const dns_settings_internal_dns_response_output: JsonSchema = { +export const dns$$settings_internal_dns_response: JsonSchema = { "properties": { "reference_zone_id": { "type": "string" @@ -312,7 +312,7 @@ export const dns_settings_internal_dns_response_output: JsonSchema = { /** * The schema of `dns-settings_messages` in responses. */ -export const dns_settings_messages_output: JsonSchema = { +export const dns$$settings_messages: JsonSchema = { "items": { "properties": { "code": { @@ -345,28 +345,28 @@ export const dns_settings_messages_output: JsonSchema = { /** * The schema of `dns-settings_multi_provider` in responses. */ -export const dns_settings_multi_provider_output: JsonSchema = { +export const dns$$settings_multi_provider: JsonSchema = { "type": "boolean" }; /** * The schema of `dns-settings_ns_ttl` in responses. */ -export const dns_settings_ns_ttl_output: JsonSchema = { +export const dns$$settings_ns_ttl: JsonSchema = { "type": "number" }; /** * The schema of `dns-settings_secondary_overrides` in responses. */ -export const dns_settings_secondary_overrides_output: JsonSchema = { +export const dns$$settings_secondary_overrides: JsonSchema = { "type": "boolean" }; /** * The schema of `dns-settings_soa-base` in responses. */ -export const dns_settings_soa_base_output: JsonSchema = { +export const dns$$settings_soa$$base: JsonSchema = { "properties": { "expire": { "type": "number" @@ -403,7 +403,7 @@ export const dns_settings_soa_base_output: JsonSchema = { /** * The schema of `dns-settings_soa-response` in responses. */ -export const dns_settings_soa_response_output: JsonSchema = { +export const dns$$settings_soa$$response: JsonSchema = { "properties": { "expire": { "type": "number" @@ -449,7 +449,7 @@ export const dns_settings_soa_response_output: JsonSchema = { /** * The schema of `dns-settings_zone_mode` in responses. */ -export const dns_settings_zone_mode_output: JsonSchema = { +export const dns$$settings_zone_mode: JsonSchema = { "enum": [ "standard", "cdn_only", diff --git a/src/generated/forge-mcp/dns/settings/account/schemas.ts b/src/generated/forge-mcp/dns/settings/account/schemas.ts index cdb8328ff..5d19d8981 100644 --- a/src/generated/forge-mcp/dns/settings/account/schemas.ts +++ b/src/generated/forge-mcp/dns/settings/account/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dns-settings_account_settings_patch`. */ -export const dns_settings_account_settings_patch: JsonSchema = { +export const dns$$settings_account_settings_patch: JsonSchema = { "properties": { "enforce_dns_only": { "$ref": "#/$defs/dns-settings_enforce_dns_only", @@ -23,7 +23,7 @@ export const dns_settings_account_settings_patch: JsonSchema = { /** * The schema of `dns-settings_dns-settings-account-patch`. */ -export const dns_settings_dns_settings_account_patch: JsonSchema = { +export const dns$$settings_dns$$settings$$account$$patch: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_dns-settings-patch" @@ -57,7 +57,7 @@ export const dns_settings_dns_settings_account_patch: JsonSchema = { /** * The schema of `dns-settings_dns-settings-patch`. */ -export const dns_settings_dns_settings_patch: JsonSchema = { +export const dns$$settings_dns$$settings$$patch: JsonSchema = { "properties": { "flatten_all_cnames": { "$ref": "#/$defs/dns-settings_flatten_all_cnames", @@ -98,7 +98,7 @@ export const dns_settings_dns_settings_patch: JsonSchema = { /** * The schema of `dns-settings_enforce_dns_only`. */ -export const dns_settings_enforce_dns_only: JsonSchema = { +export const dns$$settings_enforce_dns_only: JsonSchema = { "description": "When enabled, forces all proxied DNS records in the account to behave as DNS-only at the edge, regardless of each record's individual proxy setting. Note that this account-level override does not modify the records themselves; it only affects how they are served at the edge. See more on [Enforce DNS-only](https://developers.cloudflare.com/dns/proxy-status/enforce-dns-only).", "type": "boolean" }; @@ -106,7 +106,7 @@ export const dns_settings_enforce_dns_only: JsonSchema = { /** * The schema of `dns-settings_flatten_all_cnames`. */ -export const dns_settings_flatten_all_cnames: JsonSchema = { +export const dns$$settings_flatten_all_cnames: JsonSchema = { "description": "Whether to flatten all CNAME records in the zone. Note that, due to DNS limitations, a CNAME record at the zone apex will always be flattened.", "type": "boolean" }; @@ -114,7 +114,7 @@ export const dns_settings_flatten_all_cnames: JsonSchema = { /** * The schema of `dns-settings_foundation_dns`. */ -export const dns_settings_foundation_dns: JsonSchema = { +export const dns$$settings_foundation_dns: JsonSchema = { "deprecated": true, "description": "Deprecated. Use nameservers.type to configure Advanced Nameservers.", "type": "boolean" @@ -123,7 +123,7 @@ export const dns_settings_foundation_dns: JsonSchema = { /** * The schema of `dns-settings_identifier`. */ -export const dns_settings_identifier: JsonSchema = { +export const dns$$settings_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -131,7 +131,7 @@ export const dns_settings_identifier: JsonSchema = { /** * The schema of `dns-settings_internal_dns_base`. */ -export const dns_settings_internal_dns_base: JsonSchema = { +export const dns$$settings_internal_dns_base: JsonSchema = { "description": "Settings for this internal zone.", "properties": { "reference_zone_id": { @@ -145,7 +145,7 @@ export const dns_settings_internal_dns_base: JsonSchema = { /** * The schema of `dns-settings_multi_provider`. */ -export const dns_settings_multi_provider: JsonSchema = { +export const dns$$settings_multi_provider: JsonSchema = { "description": "Whether to enable multi-provider DNS, which causes Cloudflare to activate the zone even when non-Cloudflare NS records exist, and to respect NS records at the zone apex during outbound zone transfers.", "type": "boolean" }; @@ -153,7 +153,7 @@ export const dns_settings_multi_provider: JsonSchema = { /** * The schema of `dns-settings_ns_ttl`. */ -export const dns_settings_ns_ttl: JsonSchema = { +export const dns$$settings_ns_ttl: JsonSchema = { "description": "The time to live (TTL) of the zone's nameserver (NS) records.", "type": "number" }; @@ -161,7 +161,7 @@ export const dns_settings_ns_ttl: JsonSchema = { /** * The schema of `dns-settings_page`. */ -export const dns_settings_page: JsonSchema = { +export const dns$$settings_page: JsonSchema = { "description": "Page number of paginated results.", "type": "integer" }; @@ -169,7 +169,7 @@ export const dns_settings_page: JsonSchema = { /** * The schema of `dns-settings_secondary_overrides`. */ -export const dns_settings_secondary_overrides: JsonSchema = { +export const dns$$settings_secondary_overrides: JsonSchema = { "description": "Allows a Secondary DNS zone to use (proxied) override records and CNAME flattening at the zone apex.", "type": "boolean" }; @@ -177,7 +177,7 @@ export const dns_settings_secondary_overrides: JsonSchema = { /** * The schema of `dns-settings_soa-base`. */ -export const dns_settings_soa_base: JsonSchema = { +export const dns$$settings_soa$$base: JsonSchema = { "description": "Components of the zone's SOA record.", "properties": { "expire": { @@ -222,7 +222,7 @@ export const dns_settings_soa_base: JsonSchema = { /** * The schema of `dns-settings_zone_mode`. */ -export const dns_settings_zone_mode: JsonSchema = { +export const dns$$settings_zone_mode: JsonSchema = { "description": "Whether the zone mode is a regular or CDN/DNS only zone.", "enum": [ "standard", diff --git a/src/generated/forge-mcp/dns/settings/account/tools.ts b/src/generated/forge-mcp/dns/settings/account/tools.ts index 3390ca291..00a122ab1 100644 --- a/src/generated/forge-mcp/dns/settings/account/tools.ts +++ b/src/generated/forge-mcp/dns/settings/account/tools.ts @@ -3,40 +3,40 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dns_settings_account_settings_output, - dns_settings_api_response_common_failure_output, - dns_settings_api_response_single_output, - dns_settings_dns_response_single_output, - dns_settings_dns_settings_account_response_output, - dns_settings_dns_settings_base_output, - dns_settings_dns_settings_response_output, - dns_settings_enforce_dns_only_output, - dns_settings_flatten_all_cnames_output, - dns_settings_foundation_dns_output, - dns_settings_internal_dns_base_output, - dns_settings_internal_dns_response_output, - dns_settings_messages_output, - dns_settings_multi_provider_output, - dns_settings_ns_ttl_output, - dns_settings_secondary_overrides_output, - dns_settings_soa_base_output, - dns_settings_soa_response_output, - dns_settings_zone_mode_output, + dns$$settings_account_settings, + dns$$settings_api$$response$$common$$failure, + dns$$settings_api$$response$$single, + dns$$settings_dns$$settings$$account$$response, + dns$$settings_dns$$settings$$base, + dns$$settings_dns$$settings$$response, + dns$$settings_dns_response_single, + dns$$settings_enforce_dns_only, + dns$$settings_flatten_all_cnames, + dns$$settings_foundation_dns, + dns$$settings_internal_dns_base, + dns$$settings_internal_dns_response, + dns$$settings_messages, + dns$$settings_multi_provider, + dns$$settings_ns_ttl, + dns$$settings_secondary_overrides, + dns$$settings_soa$$base, + dns$$settings_soa$$response, + dns$$settings_zone_mode, } from "./outputs.js"; import { - dns_settings_account_settings_patch, - dns_settings_dns_settings_account_patch, - dns_settings_dns_settings_patch, - dns_settings_enforce_dns_only, - dns_settings_flatten_all_cnames, - dns_settings_foundation_dns, - dns_settings_identifier, - dns_settings_internal_dns_base, - dns_settings_multi_provider, - dns_settings_ns_ttl, - dns_settings_secondary_overrides, - dns_settings_soa_base, - dns_settings_zone_mode, + dns$$settings_account_settings_patch, + dns$$settings_dns$$settings$$account$$patch, + dns$$settings_dns$$settings$$patch, + dns$$settings_enforce_dns_only as dns$$settings_enforce_dns_only$, + dns$$settings_flatten_all_cnames as dns$$settings_flatten_all_cnames$, + dns$$settings_foundation_dns as dns$$settings_foundation_dns$, + dns$$settings_identifier, + dns$$settings_internal_dns_base as dns$$settings_internal_dns_base$, + dns$$settings_multi_provider as dns$$settings_multi_provider$, + dns$$settings_ns_ttl as dns$$settings_ns_ttl$, + dns$$settings_secondary_overrides as dns$$settings_secondary_overrides$, + dns$$settings_soa$$base as dns$$settings_soa$$base$, + dns$$settings_zone_mode as dns$$settings_zone_mode$, } from "./schemas.js"; /** @@ -50,64 +50,72 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/dns-settings_account_settings_patch" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "dns-settings_account_settings_patch": dns_settings_account_settings_patch, - "dns-settings_dns-settings-account-patch": dns_settings_dns_settings_account_patch, - "dns-settings_dns-settings-patch": dns_settings_dns_settings_patch, - "dns-settings_enforce_dns_only": dns_settings_enforce_dns_only, - "dns-settings_flatten_all_cnames": dns_settings_flatten_all_cnames, - "dns-settings_foundation_dns": dns_settings_foundation_dns, - "dns-settings_identifier": dns_settings_identifier, - "dns-settings_internal_dns_base": dns_settings_internal_dns_base, - "dns-settings_multi_provider": dns_settings_multi_provider, - "dns-settings_ns_ttl": dns_settings_ns_ttl, - "dns-settings_secondary_overrides": dns_settings_secondary_overrides, - "dns-settings_soa-base": dns_settings_soa_base, - "dns-settings_zone_mode": dns_settings_zone_mode, + "dns-settings_account_settings_patch": dns$$settings_account_settings_patch, + "dns-settings_dns-settings-account-patch": dns$$settings_dns$$settings$$account$$patch, + "dns-settings_dns-settings-patch": dns$$settings_dns$$settings$$patch, + "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only$, + "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames$, + "dns-settings_foundation_dns": dns$$settings_foundation_dns$, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_internal_dns_base": dns$$settings_internal_dns_base$, + "dns-settings_multi_provider": dns$$settings_multi_provider$, + "dns-settings_ns_ttl": dns$$settings_ns_ttl$, + "dns-settings_secondary_overrides": dns$$settings_secondary_overrides$, + "dns-settings_soa-base": dns$$settings_soa$$base$, + "dns-settings_zone_mode": dns$$settings_zone_mode$, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_dns_response_single", $defs: { - "dns-settings_account_settings": dns_settings_account_settings_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_dns-settings-account-response": dns_settings_dns_settings_account_response_output, - "dns-settings_dns-settings-base": dns_settings_dns_settings_base_output, - "dns-settings_dns-settings-response": dns_settings_dns_settings_response_output, - "dns-settings_dns_response_single": dns_settings_dns_response_single_output, - "dns-settings_enforce_dns_only": dns_settings_enforce_dns_only_output, - "dns-settings_flatten_all_cnames": dns_settings_flatten_all_cnames_output, - "dns-settings_foundation_dns": dns_settings_foundation_dns_output, - "dns-settings_internal_dns_base": dns_settings_internal_dns_base_output, - "dns-settings_internal_dns_response": dns_settings_internal_dns_response_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_multi_provider": dns_settings_multi_provider_output, - "dns-settings_ns_ttl": dns_settings_ns_ttl_output, - "dns-settings_secondary_overrides": dns_settings_secondary_overrides_output, - "dns-settings_soa-base": dns_settings_soa_base_output, - "dns-settings_soa-response": dns_settings_soa_response_output, - "dns-settings_zone_mode": dns_settings_zone_mode_output, + "dns-settings_account_settings": dns$$settings_account_settings, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_dns-settings-account-response": dns$$settings_dns$$settings$$account$$response, + "dns-settings_dns-settings-base": dns$$settings_dns$$settings$$base, + "dns-settings_dns-settings-response": dns$$settings_dns$$settings$$response, + "dns-settings_dns_response_single": dns$$settings_dns_response_single, + "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only, + "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames, + "dns-settings_foundation_dns": dns$$settings_foundation_dns, + "dns-settings_internal_dns_base": dns$$settings_internal_dns_base, + "dns-settings_internal_dns_response": dns$$settings_internal_dns_response, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_multi_provider": dns$$settings_multi_provider, + "dns-settings_ns_ttl": dns$$settings_ns_ttl, + "dns-settings_secondary_overrides": dns$$settings_secondary_overrides, + "dns-settings_soa-base": dns$$settings_soa$$base, + "dns-settings_soa-response": dns$$settings_soa$$response, + "dns-settings_zone_mode": dns$$settings_zone_mode, }, }, annotations: { @@ -152,25 +160,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_account_settings": dns_settings_account_settings_output, - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_dns-settings-account-response": dns_settings_dns_settings_account_response_output, - "dns-settings_dns-settings-base": dns_settings_dns_settings_base_output, - "dns-settings_dns-settings-response": dns_settings_dns_settings_response_output, - "dns-settings_dns_response_single": dns_settings_dns_response_single_output, - "dns-settings_enforce_dns_only": dns_settings_enforce_dns_only_output, - "dns-settings_flatten_all_cnames": dns_settings_flatten_all_cnames_output, - "dns-settings_foundation_dns": dns_settings_foundation_dns_output, - "dns-settings_internal_dns_base": dns_settings_internal_dns_base_output, - "dns-settings_internal_dns_response": dns_settings_internal_dns_response_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_multi_provider": dns_settings_multi_provider_output, - "dns-settings_ns_ttl": dns_settings_ns_ttl_output, - "dns-settings_secondary_overrides": dns_settings_secondary_overrides_output, - "dns-settings_soa-base": dns_settings_soa_base_output, - "dns-settings_soa-response": dns_settings_soa_response_output, - "dns-settings_zone_mode": dns_settings_zone_mode_output, + "dns-settings_account_settings": dns$$settings_account_settings, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_dns-settings-account-response": dns$$settings_dns$$settings$$account$$response, + "dns-settings_dns-settings-base": dns$$settings_dns$$settings$$base, + "dns-settings_dns-settings-response": dns$$settings_dns$$settings$$response, + "dns-settings_dns_response_single": dns$$settings_dns_response_single, + "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only, + "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames, + "dns-settings_foundation_dns": dns$$settings_foundation_dns, + "dns-settings_internal_dns_base": dns$$settings_internal_dns_base, + "dns-settings_internal_dns_response": dns$$settings_internal_dns_response, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_multi_provider": dns$$settings_multi_provider, + "dns-settings_ns_ttl": dns$$settings_ns_ttl, + "dns-settings_secondary_overrides": dns$$settings_secondary_overrides, + "dns-settings_soa-base": dns$$settings_soa$$base, + "dns-settings_soa-response": dns$$settings_soa$$response, + "dns-settings_zone_mode": dns$$settings_zone_mode, }, }, request: (args) => ({ @@ -185,48 +193,56 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "dns-settings_identifier": dns_settings_identifier, + "dns-settings_identifier": dns$$settings_identifier, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_dns_response_single", $defs: { - "dns-settings_account_settings": dns_settings_account_settings_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_dns-settings-account-response": dns_settings_dns_settings_account_response_output, - "dns-settings_dns-settings-base": dns_settings_dns_settings_base_output, - "dns-settings_dns-settings-response": dns_settings_dns_settings_response_output, - "dns-settings_dns_response_single": dns_settings_dns_response_single_output, - "dns-settings_enforce_dns_only": dns_settings_enforce_dns_only_output, - "dns-settings_flatten_all_cnames": dns_settings_flatten_all_cnames_output, - "dns-settings_foundation_dns": dns_settings_foundation_dns_output, - "dns-settings_internal_dns_base": dns_settings_internal_dns_base_output, - "dns-settings_internal_dns_response": dns_settings_internal_dns_response_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_multi_provider": dns_settings_multi_provider_output, - "dns-settings_ns_ttl": dns_settings_ns_ttl_output, - "dns-settings_secondary_overrides": dns_settings_secondary_overrides_output, - "dns-settings_soa-base": dns_settings_soa_base_output, - "dns-settings_soa-response": dns_settings_soa_response_output, - "dns-settings_zone_mode": dns_settings_zone_mode_output, + "dns-settings_account_settings": dns$$settings_account_settings, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_dns-settings-account-response": dns$$settings_dns$$settings$$account$$response, + "dns-settings_dns-settings-base": dns$$settings_dns$$settings$$base, + "dns-settings_dns-settings-response": dns$$settings_dns$$settings$$response, + "dns-settings_dns_response_single": dns$$settings_dns_response_single, + "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only, + "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames, + "dns-settings_foundation_dns": dns$$settings_foundation_dns, + "dns-settings_internal_dns_base": dns$$settings_internal_dns_base, + "dns-settings_internal_dns_response": dns$$settings_internal_dns_response, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_multi_provider": dns$$settings_multi_provider, + "dns-settings_ns_ttl": dns$$settings_ns_ttl, + "dns-settings_secondary_overrides": dns$$settings_secondary_overrides, + "dns-settings_soa-base": dns$$settings_soa$$base, + "dns-settings_soa-response": dns$$settings_soa$$response, + "dns-settings_zone_mode": dns$$settings_zone_mode, }, }, annotations: { @@ -272,25 +288,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_account_settings": dns_settings_account_settings_output, - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_dns-settings-account-response": dns_settings_dns_settings_account_response_output, - "dns-settings_dns-settings-base": dns_settings_dns_settings_base_output, - "dns-settings_dns-settings-response": dns_settings_dns_settings_response_output, - "dns-settings_dns_response_single": dns_settings_dns_response_single_output, - "dns-settings_enforce_dns_only": dns_settings_enforce_dns_only_output, - "dns-settings_flatten_all_cnames": dns_settings_flatten_all_cnames_output, - "dns-settings_foundation_dns": dns_settings_foundation_dns_output, - "dns-settings_internal_dns_base": dns_settings_internal_dns_base_output, - "dns-settings_internal_dns_response": dns_settings_internal_dns_response_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_multi_provider": dns_settings_multi_provider_output, - "dns-settings_ns_ttl": dns_settings_ns_ttl_output, - "dns-settings_secondary_overrides": dns_settings_secondary_overrides_output, - "dns-settings_soa-base": dns_settings_soa_base_output, - "dns-settings_soa-response": dns_settings_soa_response_output, - "dns-settings_zone_mode": dns_settings_zone_mode_output, + "dns-settings_account_settings": dns$$settings_account_settings, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_dns-settings-account-response": dns$$settings_dns$$settings$$account$$response, + "dns-settings_dns-settings-base": dns$$settings_dns$$settings$$base, + "dns-settings_dns-settings-response": dns$$settings_dns$$settings$$response, + "dns-settings_dns_response_single": dns$$settings_dns_response_single, + "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only, + "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames, + "dns-settings_foundation_dns": dns$$settings_foundation_dns, + "dns-settings_internal_dns_base": dns$$settings_internal_dns_base, + "dns-settings_internal_dns_response": dns$$settings_internal_dns_response, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_multi_provider": dns$$settings_multi_provider, + "dns-settings_ns_ttl": dns$$settings_ns_ttl, + "dns-settings_secondary_overrides": dns$$settings_secondary_overrides, + "dns-settings_soa-base": dns$$settings_soa$$base, + "dns-settings_soa-response": dns$$settings_soa$$response, + "dns-settings_zone_mode": dns$$settings_zone_mode, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/settings/account/views/outputs.ts b/src/generated/forge-mcp/dns/settings/account/views/outputs.ts index d03a4356f..2e8e08921 100644 --- a/src/generated/forge-mcp/dns/settings/account/views/outputs.ts +++ b/src/generated/forge-mcp/dns/settings/account/views/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `dns-settings_created_time` in responses. */ -export const dns_settings_created_time_output: JsonSchema = { +export const dns$$settings_created_time: JsonSchema = { "format": "date-time", "type": "string" }; @@ -14,7 +14,7 @@ export const dns_settings_created_time_output: JsonSchema = { /** * The schema of `dns-settings_dns-view` in responses. */ -export const dns_settings_dns_view_output: JsonSchema = { +export const dns$$settings_dns$$view: JsonSchema = { "properties": { "created_time": { "$ref": "#/$defs/dns-settings_created_time" @@ -35,7 +35,7 @@ export const dns_settings_dns_view_output: JsonSchema = { /** * The schema of `dns-settings_dns-view-response` in responses. */ -export const dns_settings_dns_view_response_output: JsonSchema = { +export const dns$$settings_dns$$view$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_dns-view" @@ -57,7 +57,7 @@ export const dns_settings_dns_view_response_output: JsonSchema = { /** * The schema of `dns-settings_dns_view_response_collection` in responses. */ -export const dns_settings_dns_view_response_collection_output: JsonSchema = { +export const dns$$settings_dns_view_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_api-response-collection" @@ -79,7 +79,7 @@ export const dns_settings_dns_view_response_collection_output: JsonSchema = { /** * The schema of `dns-settings_dns_view_response_single` in responses. */ -export const dns_settings_dns_view_response_single_output: JsonSchema = { +export const dns$$settings_dns_view_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-settings_api-response-single" @@ -98,7 +98,7 @@ export const dns_settings_dns_view_response_single_output: JsonSchema = { /** * The schema of `dns-settings_modified_time` in responses. */ -export const dns_settings_modified_time_output: JsonSchema = { +export const dns$$settings_modified_time: JsonSchema = { "format": "date-time", "type": "string" }; @@ -106,14 +106,14 @@ export const dns_settings_modified_time_output: JsonSchema = { /** * The schema of `dns-settings_name` in responses. */ -export const dns_settings_name_output: JsonSchema = { +export const dns$$settings_name: JsonSchema = { "type": "string" }; /** * The schema of `dns-settings_zones` in responses. */ -export const dns_settings_zones_output: JsonSchema = { +export const dns$$settings_zones: JsonSchema = { "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/dns/settings/account/views/schemas.ts b/src/generated/forge-mcp/dns/settings/account/views/schemas.ts index 81645520b..c439e3612 100644 --- a/src/generated/forge-mcp/dns/settings/account/views/schemas.ts +++ b/src/generated/forge-mcp/dns/settings/account/views/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `dns-settings_direction`. */ -export const dns_settings_direction: JsonSchema = { +export const dns$$settings_direction: JsonSchema = { "description": "Direction to order DNS views in.", "enum": [ "asc", @@ -18,7 +18,7 @@ export const dns_settings_direction: JsonSchema = { /** * The schema of `dns-settings_dns-view-patch`. */ -export const dns_settings_dns_view_patch: JsonSchema = { +export const dns$$settings_dns$$view$$patch: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/dns-settings_name", @@ -35,7 +35,7 @@ export const dns_settings_dns_view_patch: JsonSchema = { /** * The schema of `dns-settings_dns-view-post`. */ -export const dns_settings_dns_view_post: JsonSchema = { +export const dns$$settings_dns$$view$$post: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/dns-settings_name", @@ -56,7 +56,7 @@ export const dns_settings_dns_view_post: JsonSchema = { /** * The schema of `dns-settings_match`. */ -export const dns_settings_match: JsonSchema = { +export const dns$$settings_match: JsonSchema = { "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead.\n", "enum": [ "any", @@ -68,7 +68,7 @@ export const dns_settings_match: JsonSchema = { /** * The schema of `dns-settings_name`. */ -export const dns_settings_name: JsonSchema = { +export const dns$$settings_name: JsonSchema = { "description": "The name of the view.", "type": "string" }; @@ -76,7 +76,7 @@ export const dns_settings_name: JsonSchema = { /** * The schema of `dns-settings_order`. */ -export const dns_settings_order: JsonSchema = { +export const dns$$settings_order: JsonSchema = { "description": "Field to order DNS views by.", "enum": [ "name", @@ -89,7 +89,7 @@ export const dns_settings_order: JsonSchema = { /** * The schema of `dns-settings_per_page`. */ -export const dns_settings_per_page: JsonSchema = { +export const dns$$settings_per_page: JsonSchema = { "description": "Number of results per page.", "type": "integer" }; @@ -97,7 +97,7 @@ export const dns_settings_per_page: JsonSchema = { /** * The schema of `dns-settings_zones`. */ -export const dns_settings_zones: JsonSchema = { +export const dns$$settings_zones: JsonSchema = { "description": "The list of zones linked to this view.", "items": { "type": "string" diff --git a/src/generated/forge-mcp/dns/settings/account/views/tools.ts b/src/generated/forge-mcp/dns/settings/account/views/tools.ts index b5416ac2e..8e221dbb0 100644 --- a/src/generated/forge-mcp/dns/settings/account/views/tools.ts +++ b/src/generated/forge-mcp/dns/settings/account/views/tools.ts @@ -1,35 +1,38 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - dns_settings_api_response_collection_output, - dns_settings_api_response_common_failure_output, - dns_settings_api_response_common_output, - dns_settings_api_response_single_output, - dns_settings_identifier_output, - dns_settings_messages_output, + dns$$settings_api$$response$$collection, + dns$$settings_api$$response$$common, + dns$$settings_api$$response$$common$$failure, + dns$$settings_api$$response$$single, + dns$$settings_identifier, + dns$$settings_messages, } from "../outputs.js"; -import { dns_settings_identifier, dns_settings_page } from "../schemas.js"; import { - dns_settings_created_time_output, - dns_settings_dns_view_output, - dns_settings_dns_view_response_collection_output, - dns_settings_dns_view_response_output, - dns_settings_dns_view_response_single_output, - dns_settings_modified_time_output, - dns_settings_name_output, - dns_settings_zones_output, + dns$$settings_identifier as dns$$settings_identifier$, + dns$$settings_page, +} from "../schemas.js"; +import { + dns$$settings_created_time, + dns$$settings_dns$$view, + dns$$settings_dns$$view$$response, + dns$$settings_dns_view_response_collection, + dns$$settings_dns_view_response_single, + dns$$settings_modified_time, + dns$$settings_name, + dns$$settings_zones, } from "./outputs.js"; import { - dns_settings_direction, - dns_settings_dns_view_patch, - dns_settings_dns_view_post, - dns_settings_match, - dns_settings_name, - dns_settings_order, - dns_settings_per_page, - dns_settings_zones, + dns$$settings_direction, + dns$$settings_dns$$view$$patch, + dns$$settings_dns$$view$$post, + dns$$settings_match, + dns$$settings_name as dns$$settings_name$, + dns$$settings_order, + dns$$settings_per_page, + dns$$settings_zones as dns$$settings_zones$, } from "./schemas.js"; /** @@ -43,38 +46,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/dns-settings_dns-view-post" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "dns-settings_dns-view-post": dns_settings_dns_view_post, - "dns-settings_identifier": dns_settings_identifier, - "dns-settings_name": dns_settings_name, - "dns-settings_zones": dns_settings_zones, + "dns-settings_dns-view-post": dns$$settings_dns$$view$$post, + "dns-settings_identifier": dns$$settings_identifier$, + "dns-settings_name": dns$$settings_name$, + "dns-settings_zones": dns$$settings_zones$, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_dns_view_response_single", $defs: { - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_created_time": dns_settings_created_time_output, - "dns-settings_dns-view": dns_settings_dns_view_output, - "dns-settings_dns-view-response": dns_settings_dns_view_response_output, - "dns-settings_dns_view_response_single": dns_settings_dns_view_response_single_output, - "dns-settings_identifier": dns_settings_identifier_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_modified_time": dns_settings_modified_time_output, - "dns-settings_name": dns_settings_name_output, - "dns-settings_zones": dns_settings_zones_output, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_created_time": dns$$settings_created_time, + "dns-settings_dns-view": dns$$settings_dns$$view, + "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, + "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_modified_time": dns$$settings_modified_time, + "dns-settings_name": dns$$settings_name, + "dns-settings_zones": dns$$settings_zones, }, }, annotations: { @@ -119,17 +130,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_created_time": dns_settings_created_time_output, - "dns-settings_dns-view": dns_settings_dns_view_output, - "dns-settings_dns-view-response": dns_settings_dns_view_response_output, - "dns-settings_dns_view_response_single": dns_settings_dns_view_response_single_output, - "dns-settings_identifier": dns_settings_identifier_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_modified_time": dns_settings_modified_time_output, - "dns-settings_name": dns_settings_name_output, - "dns-settings_zones": dns_settings_zones_output, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_created_time": dns$$settings_created_time, + "dns-settings_dns-view": dns$$settings_dns$$view, + "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, + "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_modified_time": dns$$settings_modified_time, + "dns-settings_name": dns$$settings_name, + "dns-settings_zones": dns$$settings_zones, }, }, request: (args) => ({ @@ -144,21 +155,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, - "view_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + }, + "view_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "view_id" + ], + "type": "object" } }, required: [ - "account_id", - "view_id" + "path" ], $defs: { - "dns-settings_identifier": dns_settings_identifier, + "dns-settings_identifier": dns$$settings_identifier$, }, }, outputSchema: { @@ -174,7 +193,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "dns-settings_identifier": dns_settings_identifier_output, + "dns-settings_identifier": dns$$settings_identifier, }, }, annotations: { @@ -239,9 +258,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_identifier": dns_settings_identifier_output, - "dns-settings_messages": dns_settings_messages_output, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_messages": dns$$settings_messages, }, }, request: (args) => ({ @@ -255,43 +274,51 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/dns-settings_dns-view-patch" }, - "view_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + }, + "view_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "view_id" + ], + "type": "object" } }, required: [ - "account_id", - "view_id", + "path", "body" ], $defs: { - "dns-settings_dns-view-patch": dns_settings_dns_view_patch, - "dns-settings_identifier": dns_settings_identifier, - "dns-settings_name": dns_settings_name, - "dns-settings_zones": dns_settings_zones, + "dns-settings_dns-view-patch": dns$$settings_dns$$view$$patch, + "dns-settings_identifier": dns$$settings_identifier$, + "dns-settings_name": dns$$settings_name$, + "dns-settings_zones": dns$$settings_zones$, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_dns_view_response_single", $defs: { - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_created_time": dns_settings_created_time_output, - "dns-settings_dns-view": dns_settings_dns_view_output, - "dns-settings_dns-view-response": dns_settings_dns_view_response_output, - "dns-settings_dns_view_response_single": dns_settings_dns_view_response_single_output, - "dns-settings_identifier": dns_settings_identifier_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_modified_time": dns_settings_modified_time_output, - "dns-settings_name": dns_settings_name_output, - "dns-settings_zones": dns_settings_zones_output, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_created_time": dns$$settings_created_time, + "dns-settings_dns-view": dns$$settings_dns$$view, + "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, + "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_modified_time": dns$$settings_modified_time, + "dns-settings_name": dns$$settings_name, + "dns-settings_zones": dns$$settings_zones, }, }, annotations: { @@ -336,17 +363,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_created_time": dns_settings_created_time_output, - "dns-settings_dns-view": dns_settings_dns_view_output, - "dns-settings_dns-view-response": dns_settings_dns_view_response_output, - "dns-settings_dns_view_response_single": dns_settings_dns_view_response_single_output, - "dns-settings_identifier": dns_settings_identifier_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_modified_time": dns_settings_modified_time_output, - "dns-settings_name": dns_settings_name_output, - "dns-settings_zones": dns_settings_zones_output, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_created_time": dns$$settings_created_time, + "dns-settings_dns-view": dns$$settings_dns$$view, + "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, + "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_modified_time": dns$$settings_modified_time, + "dns-settings_name": dns$$settings_name, + "dns-settings_zones": dns$$settings_zones, }, }, request: (args) => ({ @@ -361,36 +388,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, - "view_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + }, + "view_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "view_id" + ], + "type": "object" } }, required: [ - "account_id", - "view_id" + "path" ], $defs: { - "dns-settings_identifier": dns_settings_identifier, + "dns-settings_identifier": dns$$settings_identifier$, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_dns_view_response_single", $defs: { - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_created_time": dns_settings_created_time_output, - "dns-settings_dns-view": dns_settings_dns_view_output, - "dns-settings_dns-view-response": dns_settings_dns_view_response_output, - "dns-settings_dns_view_response_single": dns_settings_dns_view_response_single_output, - "dns-settings_identifier": dns_settings_identifier_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_modified_time": dns_settings_modified_time_output, - "dns-settings_name": dns_settings_name_output, - "dns-settings_zones": dns_settings_zones_output, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_created_time": dns$$settings_created_time, + "dns-settings_dns-view": dns$$settings_dns$$view, + "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, + "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_modified_time": dns$$settings_modified_time, + "dns-settings_name": dns$$settings_name, + "dns-settings_zones": dns$$settings_zones, }, }, annotations: { @@ -436,17 +471,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_api-response-single": dns_settings_api_response_single_output, - "dns-settings_created_time": dns_settings_created_time_output, - "dns-settings_dns-view": dns_settings_dns_view_output, - "dns-settings_dns-view-response": dns_settings_dns_view_response_output, - "dns-settings_dns_view_response_single": dns_settings_dns_view_response_single_output, - "dns-settings_identifier": dns_settings_identifier_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_modified_time": dns_settings_modified_time_output, - "dns-settings_name": dns_settings_name_output, - "dns-settings_zones": dns_settings_zones_output, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_api-response-single": dns$$settings_api$$response$$single, + "dns-settings_created_time": dns$$settings_created_time, + "dns-settings_dns-view": dns$$settings_dns$$view, + "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, + "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_modified_time": dns$$settings_modified_time, + "dns-settings_name": dns$$settings_name, + "dns-settings_zones": dns$$settings_zones, }, }, request: (args) => ({ @@ -460,90 +495,103 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." - }, - "direction": { - "$ref": "#/$defs/dns-settings_direction", - "default": "asc", - "description": "Direction to order DNS views in." - }, - "match": { - "$ref": "#/$defs/dns-settings_match", - "default": "all", - "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead.\n" - }, - "name": { - "description": "Exact value of the DNS view name. This is a convenience alias for `name.exact`.\n", - "type": "string" - }, - "name_contains": { - "description": "Substring of the DNS view name.\n", - "type": "string" - }, - "name_endswith": { - "description": "Suffix of the DNS view name.\n", - "type": "string" - }, - "name_exact": { - "description": "Exact value of the DNS view name.\n", - "type": "string" - }, - "name_startswith": { - "description": "Prefix of the DNS view name.\n", - "type": "string" - }, - "order": { - "$ref": "#/$defs/dns-settings_order", - "default": "type", - "description": "Field to order DNS views by." - }, - "page": { - "$ref": "#/$defs/dns-settings_page", - "default": 1, - "description": "Page number of paginated results." - }, - "per_page": { - "$ref": "#/$defs/dns-settings_per_page", - "default": 100, - "description": "Number of results per page." - }, - "zone_id": { - "description": "A zone ID that exists in the zones list for the view.\n", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "zone_name": { - "description": "A zone name that exists in the zones list for the view.\n", - "type": "string" + "query": { + "properties": { + "direction": { + "$ref": "#/$defs/dns-settings_direction", + "default": "asc", + "description": "Direction to order DNS views in." + }, + "match": { + "$ref": "#/$defs/dns-settings_match", + "default": "all", + "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead.\n" + }, + "name": { + "description": "Exact value of the DNS view name. This is a convenience alias for `name.exact`.\n", + "type": "string" + }, + "name.contains": { + "description": "Substring of the DNS view name.\n", + "type": "string" + }, + "name.endswith": { + "description": "Suffix of the DNS view name.\n", + "type": "string" + }, + "name.exact": { + "description": "Exact value of the DNS view name.\n", + "type": "string" + }, + "name.startswith": { + "description": "Prefix of the DNS view name.\n", + "type": "string" + }, + "order": { + "$ref": "#/$defs/dns-settings_order", + "default": "type", + "description": "Field to order DNS views by." + }, + "page": { + "$ref": "#/$defs/dns-settings_page", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "$ref": "#/$defs/dns-settings_per_page", + "default": 100, + "description": "Number of results per page." + }, + "zone_id": { + "description": "A zone ID that exists in the zones list for the view.\n", + "type": "string" + }, + "zone_name": { + "description": "A zone name that exists in the zones list for the view.\n", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "dns-settings_direction": dns_settings_direction, - "dns-settings_identifier": dns_settings_identifier, - "dns-settings_match": dns_settings_match, - "dns-settings_order": dns_settings_order, - "dns-settings_page": dns_settings_page, - "dns-settings_per_page": dns_settings_per_page, + "dns-settings_direction": dns$$settings_direction, + "dns-settings_identifier": dns$$settings_identifier$, + "dns-settings_match": dns$$settings_match, + "dns-settings_order": dns$$settings_order, + "dns-settings_page": dns$$settings_page, + "dns-settings_per_page": dns$$settings_per_page, }, }, outputSchema: { "$ref": "#/$defs/dns-settings_dns_view_response_collection", $defs: { - "dns-settings_api-response-collection": dns_settings_api_response_collection_output, - "dns-settings_api-response-common": dns_settings_api_response_common_output, - "dns-settings_created_time": dns_settings_created_time_output, - "dns-settings_dns-view": dns_settings_dns_view_output, - "dns-settings_dns-view-response": dns_settings_dns_view_response_output, - "dns-settings_dns_view_response_collection": dns_settings_dns_view_response_collection_output, - "dns-settings_identifier": dns_settings_identifier_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_modified_time": dns_settings_modified_time_output, - "dns-settings_name": dns_settings_name_output, - "dns-settings_zones": dns_settings_zones_output, + "dns-settings_api-response-collection": dns$$settings_api$$response$$collection, + "dns-settings_api-response-common": dns$$settings_api$$response$$common, + "dns-settings_created_time": dns$$settings_created_time, + "dns-settings_dns-view": dns$$settings_dns$$view, + "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, + "dns-settings_dns_view_response_collection": dns$$settings_dns_view_response_collection, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_modified_time": dns$$settings_modified_time, + "dns-settings_name": dns$$settings_name, + "dns-settings_zones": dns$$settings_zones, }, }, annotations: { @@ -589,35 +637,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-settings_api-response-collection": dns_settings_api_response_collection_output, - "dns-settings_api-response-common": dns_settings_api_response_common_output, - "dns-settings_api-response-common-failure": dns_settings_api_response_common_failure_output, - "dns-settings_created_time": dns_settings_created_time_output, - "dns-settings_dns-view": dns_settings_dns_view_output, - "dns-settings_dns-view-response": dns_settings_dns_view_response_output, - "dns-settings_dns_view_response_collection": dns_settings_dns_view_response_collection_output, - "dns-settings_identifier": dns_settings_identifier_output, - "dns-settings_messages": dns_settings_messages_output, - "dns-settings_modified_time": dns_settings_modified_time_output, - "dns-settings_name": dns_settings_name_output, - "dns-settings_zones": dns_settings_zones_output, + "dns-settings_api-response-collection": dns$$settings_api$$response$$collection, + "dns-settings_api-response-common": dns$$settings_api$$response$$common, + "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, + "dns-settings_created_time": dns$$settings_created_time, + "dns-settings_dns-view": dns$$settings_dns$$view, + "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, + "dns-settings_dns_view_response_collection": dns$$settings_dns_view_response_collection, + "dns-settings_identifier": dns$$settings_identifier, + "dns-settings_messages": dns$$settings_messages, + "dns-settings_modified_time": dns$$settings_modified_time, + "dns-settings_name": dns$$settings_name, + "dns-settings_zones": dns$$settings_zones, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_settings/views`, query: [ - ["name", args["name"], true], - ["name.exact", args["name_exact"], true], - ["name.contains", args["name_contains"], true], - ["name.startswith", args["name_startswith"], true], - ["name.endswith", args["name_endswith"], true], - ["zone_id", args["zone_id"], true], - ["zone_name", args["zone_name"], true], - ["match", args["match"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["name", param(args, "query", "name"), true], + ["name.exact", param(args, "query", "name.exact"), true], + ["name.contains", param(args, "query", "name.contains"), true], + ["name.startswith", param(args, "query", "name.startswith"), true], + ["name.endswith", param(args, "query", "name.endswith"), true], + ["zone_id", param(args, "query", "zone_id"), true], + ["zone_name", param(args, "query", "zone_name"), true], + ["match", param(args, "query", "match"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, diff --git a/src/generated/forge-mcp/dns/usage/account/outputs.ts b/src/generated/forge-mcp/dns/usage/account/outputs.ts index 0d465ae47..38258e3e6 100644 --- a/src/generated/forge-mcp/dns/usage/account/outputs.ts +++ b/src/generated/forge-mcp/dns/usage/account/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dns-records_dns_response_account_usage` in responses. */ -export const dns_records_dns_response_account_usage_output: JsonSchema = { +export const dns$$records_dns_response_account_usage: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-records_api-response-single" diff --git a/src/generated/forge-mcp/dns/usage/account/tools.ts b/src/generated/forge-mcp/dns/usage/account/tools.ts index d6d815cd5..c27131578 100644 --- a/src/generated/forge-mcp/dns/usage/account/tools.ts +++ b/src/generated/forge-mcp/dns/usage/account/tools.ts @@ -3,12 +3,12 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dns_records_api_response_common_failure_output, - dns_records_api_response_single_output, - dns_records_messages_output, + dns$$records_api$$response$$common$$failure, + dns$$records_api$$response$$single, + dns$$records_messages, } from "../../outputs.js"; -import { dns_records_identifier } from "../../schemas.js"; -import { dns_records_dns_response_account_usage_output } from "./outputs.js"; +import { dns$$records_identifier } from "../../schemas.js"; +import { dns$$records_dns_response_account_usage } from "./outputs.js"; /** * The tools of `dns.usage.account`. @@ -21,33 +21,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/dns-records_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "dns-records_identifier": dns_records_identifier, + "dns-records_identifier": dns$$records_identifier, }, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_account_usage", $defs: { - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_dns_response_account_usage": dns_records_dns_response_account_usage_output, - "dns-records_messages": dns_records_messages_output, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_dns_response_account_usage": dns$$records_dns_response_account_usage, + "dns-records_messages": dns$$records_messages, }, }, annotations: { @@ -86,10 +94,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-records_api-response-common-failure": dns_records_api_response_common_failure_output, - "dns-records_api-response-single": dns_records_api_response_single_output, - "dns-records_dns_response_account_usage": dns_records_dns_response_account_usage_output, - "dns-records_messages": dns_records_messages_output, + "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, + "dns-records_api-response-single": dns$$records_api$$response$$single, + "dns-records_dns_response_account_usage": dns$$records_dns_response_account_usage, + "dns-records_messages": dns$$records_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts index b123b29ba..bb2e4af23 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_acl` in responses. */ -export const secondary_dns_acl_output: JsonSchema = { +export const secondary$$dns_acl: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/secondary-dns_identifier-3" @@ -29,21 +29,21 @@ export const secondary_dns_acl_output: JsonSchema = { /** * The schema of `secondary-dns_ip_range` in responses. */ -export const secondary_dns_ip_range_output: JsonSchema = { +export const secondary$$dns_ip_range: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_name-4` in responses. */ -export const secondary_dns_name_4_output: JsonSchema = { +export const secondary$$dns_name$$4: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_response_collection-3` in responses. */ -export const secondary_dns_response_collection_3_output: JsonSchema = { +export const secondary$$dns_response_collection$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-collection" @@ -65,7 +65,7 @@ export const secondary_dns_response_collection_3_output: JsonSchema = { /** * The schema of `secondary-dns_single_response-3` in responses. */ -export const secondary_dns_single_response_3_output: JsonSchema = { +export const secondary$$dns_single_response$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" diff --git a/src/generated/forge-mcp/dns/zoneTransfers/acls/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/acls/schemas.ts index 336e826af..aac6b4ae9 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/acls/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/acls/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_acl`. */ -export const secondary_dns_acl: JsonSchema = { +export const secondary$$dns_acl: JsonSchema = { "properties": { "ip_range": { "$ref": "#/$defs/secondary-dns_ip_range", @@ -27,7 +27,7 @@ export const secondary_dns_acl: JsonSchema = { /** * The schema of `secondary-dns_ip_range`. */ -export const secondary_dns_ip_range: JsonSchema = { +export const secondary$$dns_ip_range: JsonSchema = { "description": "Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.", "type": "string" }; @@ -35,7 +35,7 @@ export const secondary_dns_ip_range: JsonSchema = { /** * The schema of `secondary-dns_name-4`. */ -export const secondary_dns_name_4: JsonSchema = { +export const secondary$$dns_name$$4: JsonSchema = { "description": "The name of the acl.", "type": "string" }; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts index 31a63470b..9a2af0469 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts @@ -3,45 +3,42 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - secondary_dns_api_response_collection_output, - secondary_dns_api_response_common_failure_output, - secondary_dns_api_response_common_output, - secondary_dns_api_response_single_output, - secondary_dns_id_response_3_output, - secondary_dns_identifier_3_output, - secondary_dns_messages_output, + secondary$$dns_api$$response$$collection, + secondary$$dns_api$$response$$common, + secondary$$dns_api$$response$$common$$failure, + secondary$$dns_api$$response$$single, + secondary$$dns_id_response$$3, + secondary$$dns_identifier$$3, + secondary$$dns_messages, } from "../outputs.js"; import { - secondary_dns_account_identifier, - secondary_dns_identifier_3, + secondary$$dns_account_identifier, + secondary$$dns_identifier$$3 as secondary$$dns_identifier$$3$, } from "../schemas.js"; import { - secondary_dns_acl_output, - secondary_dns_ip_range_output, - secondary_dns_name_4_output, - secondary_dns_response_collection_3_output, - secondary_dns_single_response_3_output, + secondary$$dns_acl, + secondary$$dns_ip_range, + secondary$$dns_name$$4, + secondary$$dns_response_collection$$3, + secondary$$dns_single_response$$3, } from "./outputs.js"; import { - secondary_dns_acl, - secondary_dns_ip_range, - secondary_dns_name_4, + secondary$$dns_acl as secondary$$dns_acl$, + secondary$$dns_ip_range as secondary$$dns_ip_range$, + secondary$$dns_name$$4 as secondary$$dns_name$$4$, } from "./schemas.js"; /** - * The tools of `dns.zone_transfers.acls`. + * The tools of `dns.zoneTransfers.acls`. */ export const tools: readonly Tool[] = [ { - name: "dns_zone_transfers_acls_create", + name: "dns_zoneTransfers_acls_create", title: "Create ACL", description: "Create ACL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, "body": { "properties": { "ip_range": { @@ -58,28 +55,39 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_ip_range": secondary_dns_ip_range, - "secondary-dns_name-4": secondary_dns_name_4, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_ip_range": secondary$$dns_ip_range$, + "secondary-dns_name-4": secondary$$dns_name$$4$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-3", $defs: { - "secondary-dns_acl": secondary_dns_acl_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip_range": secondary_dns_ip_range_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-4": secondary_dns_name_4_output, - "secondary-dns_single_response-3": secondary_dns_single_response_3_output, + "secondary-dns_acl": secondary$$dns_acl, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip_range": secondary$$dns_ip_range, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-4": secondary$$dns_name$$4, + "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, annotations: { @@ -119,14 +127,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_acl": secondary_dns_acl_output, - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip_range": secondary_dns_ip_range_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-4": secondary_dns_name_4_output, - "secondary-dns_single_response-3": secondary_dns_single_response_3_output, + "secondary-dns_acl": secondary$$dns_acl, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip_range": secondary$$dns_ip_range, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-4": secondary$$dns_name$$4, + "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, request: (args) => ({ @@ -135,35 +143,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_acls_delete", + name: "dns_zoneTransfers_acls_delete", title: "Delete ACL", description: "Delete ACL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, - "acl_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + }, + "acl_id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + } + }, + "required": [ + "account_id", + "acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "acl_id" + "path" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_identifier-3": secondary_dns_identifier_3, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response-3", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response-3": secondary_dns_id_response_3_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response-3": secondary$$dns_id_response$$3, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -203,11 +219,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response-3": secondary_dns_id_response_3_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response-3": secondary$$dns_id_response$$3, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ @@ -215,38 +231,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_acls_get", + name: "dns_zoneTransfers_acls_get", title: "ACL Details", description: "Get ACL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, - "acl_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + }, + "acl_id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + } + }, + "required": [ + "account_id", + "acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "acl_id" + "path" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_identifier-3": secondary_dns_identifier_3, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-3", $defs: { - "secondary-dns_acl": secondary_dns_acl_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip_range": secondary_dns_ip_range_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-4": secondary_dns_name_4_output, - "secondary-dns_single_response-3": secondary_dns_single_response_3_output, + "secondary-dns_acl": secondary$$dns_acl, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip_range": secondary$$dns_ip_range, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-4": secondary$$dns_name$$4, + "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, annotations: { @@ -287,14 +311,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_acl": secondary_dns_acl_output, - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip_range": secondary_dns_ip_range_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-4": secondary_dns_name_4_output, - "secondary-dns_single_response-3": secondary_dns_single_response_3_output, + "secondary-dns_acl": secondary$$dns_acl, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip_range": secondary$$dns_ip_range, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-4": secondary$$dns_name$$4, + "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, request: (args) => ({ @@ -302,34 +326,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_acls_list", + name: "dns_zoneTransfers_acls_list", title: "List ACLs", description: "List ACLs.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_response_collection-3", $defs: { - "secondary-dns_acl": secondary_dns_acl_output, - "secondary-dns_api-response-collection": secondary_dns_api_response_collection_output, - "secondary-dns_api-response-common": secondary_dns_api_response_common_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip_range": secondary_dns_ip_range_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-4": secondary_dns_name_4_output, - "secondary-dns_response_collection-3": secondary_dns_response_collection_3_output, + "secondary-dns_acl": secondary$$dns_acl, + "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, + "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip_range": secondary$$dns_ip_range, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-4": secondary$$dns_name$$4, + "secondary-dns_response_collection-3": secondary$$dns_response_collection$$3, }, }, annotations: { @@ -370,15 +402,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_acl": secondary_dns_acl_output, - "secondary-dns_api-response-collection": secondary_dns_api_response_collection_output, - "secondary-dns_api-response-common": secondary_dns_api_response_common_output, - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip_range": secondary_dns_ip_range_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-4": secondary_dns_name_4_output, - "secondary-dns_response_collection-3": secondary_dns_response_collection_3_output, + "secondary-dns_acl": secondary$$dns_acl, + "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, + "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip_range": secondary$$dns_ip_range, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-4": secondary$$dns_name$$4, + "secondary-dns_response_collection-3": secondary$$dns_response_collection$$3, }, }, request: (args) => ({ @@ -386,45 +418,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_acls_update", + name: "dns_zoneTransfers_acls_update", title: "Update ACL", description: "Modify ACL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, - "acl_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" - }, "body": { "$ref": "#/$defs/secondary-dns_acl" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + }, + "acl_id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + } + }, + "required": [ + "account_id", + "acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "acl_id", + "path", "body" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_acl": secondary_dns_acl, - "secondary-dns_identifier-3": secondary_dns_identifier_3, - "secondary-dns_ip_range": secondary_dns_ip_range, - "secondary-dns_name-4": secondary_dns_name_4, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_acl": secondary$$dns_acl$, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, + "secondary-dns_ip_range": secondary$$dns_ip_range$, + "secondary-dns_name-4": secondary$$dns_name$$4$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-3", $defs: { - "secondary-dns_acl": secondary_dns_acl_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip_range": secondary_dns_ip_range_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-4": secondary_dns_name_4_output, - "secondary-dns_single_response-3": secondary_dns_single_response_3_output, + "secondary-dns_acl": secondary$$dns_acl, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip_range": secondary$$dns_ip_range, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-4": secondary$$dns_name$$4, + "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, annotations: { @@ -464,14 +504,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_acl": secondary_dns_acl_output, - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip_range": secondary_dns_ip_range_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-4": secondary_dns_name_4_output, - "secondary-dns_single_response-3": secondary_dns_single_response_3_output, + "secondary-dns_acl": secondary$$dns_acl, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip_range": secondary$$dns_ip_range, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-4": secondary$$dns_name$$4, + "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts index d34955d6a..099139c04 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_force_response` in responses. */ -export const secondary_dns_force_response_output: JsonSchema = { +export const secondary$$dns_force_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" @@ -25,6 +25,6 @@ export const secondary_dns_force_response_output: JsonSchema = { /** * The schema of `secondary-dns_force_result` in responses. */ -export const secondary_dns_force_result_output: JsonSchema = { +export const secondary$$dns_force_result: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts index 956932421..17e6cb65a 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts @@ -3,45 +3,53 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - secondary_dns_api_response_common_failure_output, - secondary_dns_api_response_single_output, - secondary_dns_messages_output, + secondary$$dns_api$$response$$common$$failure, + secondary$$dns_api$$response$$single, + secondary$$dns_messages, } from "../outputs.js"; -import { secondary_dns_identifier } from "../schemas.js"; +import { secondary$$dns_identifier } from "../schemas.js"; import { - secondary_dns_force_response_output, - secondary_dns_force_result_output, + secondary$$dns_force_response, + secondary$$dns_force_result, } from "./outputs.js"; /** - * The tools of `dns.zone_transfers.force_axfr`. + * The tools of `dns.zoneTransfers.forceAxfr`. */ export const tools: readonly Tool[] = [ { - name: "dns_zone_transfers_force_axfr_create", + name: "dns_zoneTransfers_forceAxfr_create", title: "Force AXFR", description: "Sends AXFR zone transfer request to primary nameserver(s).", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, + "secondary-dns_identifier": secondary$$dns_identifier, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_force_response", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_force_response": secondary_dns_force_response_output, - "secondary-dns_force_result": secondary_dns_force_result_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_force_response": secondary$$dns_force_response, + "secondary-dns_force_result": secondary$$dns_force_result, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -83,11 +91,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_force_response": secondary_dns_force_response_output, - "secondary-dns_force_result": secondary_dns_force_result_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_force_response": secondary$$dns_force_response, + "secondary-dns_force_result": secondary$$dns_force_result, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts index f3f9cf117..972ef3b1e 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_auto_refresh_seconds` in responses. */ -export const secondary_dns_auto_refresh_seconds_output: JsonSchema = { +export const secondary$$dns_auto_refresh_seconds: JsonSchema = { "type": "number" }; /** * The schema of `secondary-dns_single_response_incoming` in responses. */ -export const secondary_dns_single_response_incoming_output: JsonSchema = { +export const secondary$$dns_single_response_incoming: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" diff --git a/src/generated/forge-mcp/dns/zoneTransfers/incoming/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/incoming/schemas.ts index be2513729..0698168bf 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/incoming/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/incoming/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_auto_refresh_seconds`. */ -export const secondary_dns_auto_refresh_seconds: JsonSchema = { +export const secondary$$dns_auto_refresh_seconds: JsonSchema = { "description": "How often should a secondary zone auto refresh regardless of DNS NOTIFY.\nNot applicable for primary zones.", "type": "number" }; @@ -14,7 +14,7 @@ export const secondary_dns_auto_refresh_seconds: JsonSchema = { /** * The schema of `secondary-dns_dns-secondary-secondary-zone`. */ -export const secondary_dns_dns_secondary_secondary_zone: JsonSchema = { +export const secondary$$dns_dns$$secondary$$secondary$$zone: JsonSchema = { "properties": { "auto_refresh_seconds": { "$ref": "#/$defs/secondary-dns_auto_refresh_seconds", diff --git a/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts index 063a7dad1..1f728f9e8 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts @@ -3,36 +3,36 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - secondary_dns_api_response_common_failure_output, - secondary_dns_api_response_single_output, - secondary_dns_id_response_output, - secondary_dns_identifier_output, - secondary_dns_messages_output, - secondary_dns_name_output, - secondary_dns_peers_output, - secondary_dns_soa_serial_output, - secondary_dns_time_output, + secondary$$dns_api$$response$$common$$failure, + secondary$$dns_api$$response$$single, + secondary$$dns_id_response, + secondary$$dns_identifier, + secondary$$dns_messages, + secondary$$dns_name, + secondary$$dns_peers, + secondary$$dns_soa_serial, + secondary$$dns_time, } from "../outputs.js"; import { - secondary_dns_identifier, - secondary_dns_name, - secondary_dns_peers, + secondary$$dns_identifier as secondary$$dns_identifier$, + secondary$$dns_name as secondary$$dns_name$, + secondary$$dns_peers as secondary$$dns_peers$, } from "../schemas.js"; import { - secondary_dns_auto_refresh_seconds_output, - secondary_dns_single_response_incoming_output, + secondary$$dns_auto_refresh_seconds, + secondary$$dns_single_response_incoming, } from "./outputs.js"; import { - secondary_dns_auto_refresh_seconds, - secondary_dns_dns_secondary_secondary_zone, + secondary$$dns_auto_refresh_seconds as secondary$$dns_auto_refresh_seconds$, + secondary$$dns_dns$$secondary$$secondary$$zone, } from "./schemas.js"; /** - * The tools of `dns.zone_transfers.incoming`. + * The tools of `dns.zoneTransfers.incoming`. */ export const tools: readonly Tool[] = [ { - name: "dns_zone_transfers_incoming_create", + name: "dns_zoneTransfers_incoming_create", title: "Create Secondary Zone Configuration", description: "Create secondary zone configuration for incoming zone transfers.", inputSchema: { @@ -41,34 +41,42 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/secondary-dns_dns-secondary-secondary-zone" }, - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds, - "secondary-dns_dns-secondary-secondary-zone": secondary_dns_dns_secondary_secondary_zone, - "secondary-dns_identifier": secondary_dns_identifier, - "secondary-dns_name": secondary_dns_name, - "secondary-dns_peers": secondary_dns_peers, + "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds$, + "secondary-dns_dns-secondary-secondary-zone": secondary$$dns_dns$$secondary$$secondary$$zone, + "secondary-dns_identifier": secondary$$dns_identifier$, + "secondary-dns_name": secondary$$dns_name$, + "secondary-dns_peers": secondary$$dns_peers$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response_incoming", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_incoming": secondary_dns_single_response_incoming_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -110,16 +118,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_incoming": secondary_dns_single_response_incoming_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ @@ -128,30 +136,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_incoming_delete", + name: "dns_zoneTransfers_incoming_delete", title: "Delete Secondary Zone Configuration", description: "Delete secondary zone configuration for incoming zone transfers.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, + "secondary-dns_identifier": secondary$$dns_identifier$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response": secondary_dns_id_response_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response": secondary$$dns_id_response, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -193,11 +209,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response": secondary_dns_id_response_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response": secondary$$dns_id_response, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ @@ -205,35 +221,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_incoming_get", + name: "dns_zoneTransfers_incoming_get", title: "Secondary Zone Configuration Details", description: "Get secondary zone configuration for incoming zone transfers.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, + "secondary-dns_identifier": secondary$$dns_identifier$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response_incoming", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_incoming": secondary_dns_single_response_incoming_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -277,16 +301,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_incoming": secondary_dns_single_response_incoming_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ @@ -294,7 +318,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_incoming_update", + name: "dns_zoneTransfers_incoming_update", title: "Update Secondary Zone Configuration", description: "Update secondary zone configuration for incoming zone transfers.", inputSchema: { @@ -303,34 +327,42 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/secondary-dns_dns-secondary-secondary-zone" }, - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds, - "secondary-dns_dns-secondary-secondary-zone": secondary_dns_dns_secondary_secondary_zone, - "secondary-dns_identifier": secondary_dns_identifier, - "secondary-dns_name": secondary_dns_name, - "secondary-dns_peers": secondary_dns_peers, + "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds$, + "secondary-dns_dns-secondary-secondary-zone": secondary$$dns_dns$$secondary$$secondary$$zone, + "secondary-dns_identifier": secondary$$dns_identifier$, + "secondary-dns_name": secondary$$dns_name$, + "secondary-dns_peers": secondary$$dns_peers$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response_incoming", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_incoming": secondary_dns_single_response_incoming_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -372,16 +404,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_auto_refresh_seconds": secondary_dns_auto_refresh_seconds_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_incoming": secondary_dns_single_response_incoming_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts index a6e78743e..ab67f75e7 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_disable_transfer_response` in responses. */ -export const secondary_dns_disable_transfer_response_output: JsonSchema = { +export const secondary$$dns_disable_transfer_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" @@ -25,14 +25,14 @@ export const secondary_dns_disable_transfer_response_output: JsonSchema = { /** * The schema of `secondary-dns_disable_transfer_result` in responses. */ -export const secondary_dns_disable_transfer_result_output: JsonSchema = { +export const secondary$$dns_disable_transfer_result: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_enable_transfer_response` in responses. */ -export const secondary_dns_enable_transfer_response_output: JsonSchema = { +export const secondary$$dns_enable_transfer_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" @@ -51,14 +51,14 @@ export const secondary_dns_enable_transfer_response_output: JsonSchema = { /** * The schema of `secondary-dns_enable_transfer_result` in responses. */ -export const secondary_dns_enable_transfer_result_output: JsonSchema = { +export const secondary$$dns_enable_transfer_result: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_force_response-2` in responses. */ -export const secondary_dns_force_response_2_output: JsonSchema = { +export const secondary$$dns_force_response$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" @@ -77,14 +77,14 @@ export const secondary_dns_force_response_2_output: JsonSchema = { /** * The schema of `secondary-dns_force_result-2` in responses. */ -export const secondary_dns_force_result_2_output: JsonSchema = { +export const secondary$$dns_force_result$$2: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_single_response_outgoing` in responses. */ -export const secondary_dns_single_response_outgoing_output: JsonSchema = { +export const secondary$$dns_single_response_outgoing: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/schemas.ts index a85bdd5d5..a535bfbef 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_single_request_outgoing`. */ -export const secondary_dns_single_request_outgoing: JsonSchema = { +export const secondary$$dns_single_request_outgoing: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/secondary-dns_name", diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts index 888433b2e..cd3bbc713 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts @@ -3,45 +3,53 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - secondary_dns_api_response_common_failure_output, - secondary_dns_api_response_single_output, - secondary_dns_messages_output, + secondary$$dns_api$$response$$common$$failure, + secondary$$dns_api$$response$$single, + secondary$$dns_messages, } from "../../outputs.js"; -import { secondary_dns_identifier } from "../../schemas.js"; +import { secondary$$dns_identifier } from "../../schemas.js"; import { - secondary_dns_enable_transfer_response_output, - secondary_dns_enable_transfer_result_output, + secondary$$dns_enable_transfer_response, + secondary$$dns_enable_transfer_result, } from "../outputs.js"; /** - * The tools of `dns.zone_transfers.outgoing.status`. + * The tools of `dns.zoneTransfers.outgoing.status`. */ export const tools: readonly Tool[] = [ { - name: "dns_zone_transfers_outgoing_status_get", + name: "dns_zoneTransfers_outgoing_status_get", title: "Get Outgoing Zone Transfer Status", description: "Get primary zone transfer status.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, + "secondary-dns_identifier": secondary$$dns_identifier, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_enable_transfer_response", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_enable_transfer_response": secondary_dns_enable_transfer_response_output, - "secondary-dns_enable_transfer_result": secondary_dns_enable_transfer_result_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_enable_transfer_response": secondary$$dns_enable_transfer_response, + "secondary-dns_enable_transfer_result": secondary$$dns_enable_transfer_result, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -85,11 +93,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_enable_transfer_response": secondary_dns_enable_transfer_response_output, - "secondary-dns_enable_transfer_result": secondary_dns_enable_transfer_result_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_enable_transfer_response": secondary$$dns_enable_transfer_response, + "secondary-dns_enable_transfer_result": secondary$$dns_enable_transfer_result, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts index 422e3b5f0..a3dd8224c 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts @@ -3,38 +3,38 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - secondary_dns_api_response_common_failure_output, - secondary_dns_api_response_single_output, - secondary_dns_id_response_output, - secondary_dns_identifier_output, - secondary_dns_messages_output, - secondary_dns_name_output, - secondary_dns_peers_output, - secondary_dns_soa_serial_output, - secondary_dns_time_output, + secondary$$dns_api$$response$$common$$failure, + secondary$$dns_api$$response$$single, + secondary$$dns_id_response, + secondary$$dns_identifier, + secondary$$dns_messages, + secondary$$dns_name, + secondary$$dns_peers, + secondary$$dns_soa_serial, + secondary$$dns_time, } from "../outputs.js"; import { - secondary_dns_identifier, - secondary_dns_name, - secondary_dns_peers, + secondary$$dns_identifier as secondary$$dns_identifier$, + secondary$$dns_name as secondary$$dns_name$, + secondary$$dns_peers as secondary$$dns_peers$, } from "../schemas.js"; import { - secondary_dns_disable_transfer_response_output, - secondary_dns_disable_transfer_result_output, - secondary_dns_enable_transfer_response_output, - secondary_dns_enable_transfer_result_output, - secondary_dns_force_response_2_output, - secondary_dns_force_result_2_output, - secondary_dns_single_response_outgoing_output, + secondary$$dns_disable_transfer_response, + secondary$$dns_disable_transfer_result, + secondary$$dns_enable_transfer_response, + secondary$$dns_enable_transfer_result, + secondary$$dns_force_response$$2, + secondary$$dns_force_result$$2, + secondary$$dns_single_response_outgoing, } from "./outputs.js"; -import { secondary_dns_single_request_outgoing } from "./schemas.js"; +import { secondary$$dns_single_request_outgoing } from "./schemas.js"; /** - * The tools of `dns.zone_transfers.outgoing`. + * The tools of `dns.zoneTransfers.outgoing`. */ export const tools: readonly Tool[] = [ { - name: "dns_zone_transfers_outgoing_create", + name: "dns_zoneTransfers_outgoing_create", title: "Create Primary Zone Configuration", description: "Create primary zone configuration for outgoing zone transfers.", inputSchema: { @@ -43,32 +43,40 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/secondary-dns_single_request_outgoing" }, - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, - "secondary-dns_name": secondary_dns_name, - "secondary-dns_peers": secondary_dns_peers, - "secondary-dns_single_request_outgoing": secondary_dns_single_request_outgoing, + "secondary-dns_identifier": secondary$$dns_identifier$, + "secondary-dns_name": secondary$$dns_name$, + "secondary-dns_peers": secondary$$dns_peers$, + "secondary-dns_single_request_outgoing": secondary$$dns_single_request_outgoing, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response_outgoing", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_outgoing": secondary_dns_single_response_outgoing_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -110,15 +118,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_outgoing": secondary_dns_single_response_outgoing_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ @@ -127,30 +135,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_outgoing_delete", + name: "dns_zoneTransfers_outgoing_delete", title: "Delete Primary Zone Configuration", description: "Delete primary zone configuration for outgoing zone transfers.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, + "secondary-dns_identifier": secondary$$dns_identifier$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response": secondary_dns_id_response_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response": secondary$$dns_id_response, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -192,11 +208,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response": secondary_dns_id_response_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response": secondary$$dns_id_response, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ @@ -204,30 +220,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_outgoing_disable", + name: "dns_zoneTransfers_outgoing_disable", title: "Disable Outgoing Zone Transfers", description: "Disable outgoing zone transfers for primary zone and clears IXFR backlog of primary zone.\n\nConfirm with the user before calling this tool. This operation turns off outgoing zone transfers for the primary zone, which means secondary zones will stop receiving updates.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, + "secondary-dns_identifier": secondary$$dns_identifier$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_disable_transfer_response", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_disable_transfer_response": secondary_dns_disable_transfer_response_output, - "secondary-dns_disable_transfer_result": secondary_dns_disable_transfer_result_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_disable_transfer_response": secondary$$dns_disable_transfer_response, + "secondary-dns_disable_transfer_result": secondary$$dns_disable_transfer_result, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -269,11 +293,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_disable_transfer_response": secondary_dns_disable_transfer_response_output, - "secondary-dns_disable_transfer_result": secondary_dns_disable_transfer_result_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_disable_transfer_response": secondary$$dns_disable_transfer_response, + "secondary-dns_disable_transfer_result": secondary$$dns_disable_transfer_result, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ @@ -281,30 +305,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_outgoing_enable", + name: "dns_zoneTransfers_outgoing_enable", title: "Enable Outgoing Zone Transfers", description: "Enable outgoing zone transfers for primary zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, + "secondary-dns_identifier": secondary$$dns_identifier$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_enable_transfer_response", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_enable_transfer_response": secondary_dns_enable_transfer_response_output, - "secondary-dns_enable_transfer_result": secondary_dns_enable_transfer_result_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_enable_transfer_response": secondary$$dns_enable_transfer_response, + "secondary-dns_enable_transfer_result": secondary$$dns_enable_transfer_result, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -346,11 +378,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_enable_transfer_response": secondary_dns_enable_transfer_response_output, - "secondary-dns_enable_transfer_result": secondary_dns_enable_transfer_result_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_enable_transfer_response": secondary$$dns_enable_transfer_response, + "secondary-dns_enable_transfer_result": secondary$$dns_enable_transfer_result, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ @@ -358,30 +390,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_outgoing_force_notify", + name: "dns_zoneTransfers_outgoing_forceNotify", title: "Force DNS NOTIFY", description: "Notifies the secondary nameserver(s) and clears IXFR backlog of primary zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, + "secondary-dns_identifier": secondary$$dns_identifier$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_force_response-2", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_force_response-2": secondary_dns_force_response_2_output, - "secondary-dns_force_result-2": secondary_dns_force_result_2_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_force_response-2": secondary$$dns_force_response$$2, + "secondary-dns_force_result-2": secondary$$dns_force_result$$2, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -423,11 +463,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_force_response-2": secondary_dns_force_response_2_output, - "secondary-dns_force_result-2": secondary_dns_force_result_2_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_force_response-2": secondary$$dns_force_response$$2, + "secondary-dns_force_result-2": secondary$$dns_force_result$$2, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ @@ -435,34 +475,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_outgoing_get", + name: "dns_zoneTransfers_outgoing_get", title: "Primary Zone Configuration Details", description: "Get primary zone configuration for outgoing zone transfers.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, + "secondary-dns_identifier": secondary$$dns_identifier$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response_outgoing", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_outgoing": secondary_dns_single_response_outgoing_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -506,15 +554,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_outgoing": secondary_dns_single_response_outgoing_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ @@ -522,7 +570,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_outgoing_update", + name: "dns_zoneTransfers_outgoing_update", title: "Update Primary Zone Configuration", description: "Update primary zone configuration for outgoing zone transfers.", inputSchema: { @@ -531,32 +579,40 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/secondary-dns_single_request_outgoing" }, - "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/secondary-dns_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "secondary-dns_identifier": secondary_dns_identifier, - "secondary-dns_name": secondary_dns_name, - "secondary-dns_peers": secondary_dns_peers, - "secondary-dns_single_request_outgoing": secondary_dns_single_request_outgoing, + "secondary-dns_identifier": secondary$$dns_identifier$, + "secondary-dns_name": secondary$$dns_name$, + "secondary-dns_peers": secondary$$dns_peers$, + "secondary-dns_single_request_outgoing": secondary$$dns_single_request_outgoing, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response_outgoing", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_outgoing": secondary_dns_single_response_outgoing_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -598,15 +654,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier": secondary_dns_identifier_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name": secondary_dns_name_output, - "secondary-dns_peers": secondary_dns_peers_output, - "secondary-dns_single_response_outgoing": secondary_dns_single_response_outgoing_output, - "secondary-dns_soa_serial": secondary_dns_soa_serial_output, - "secondary-dns_time": secondary_dns_time_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier": secondary$$dns_identifier, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name": secondary$$dns_name, + "secondary-dns_peers": secondary$$dns_peers, + "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, + "secondary-dns_soa_serial": secondary$$dns_soa_serial, + "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts index 2294563e2..7d08c9dad 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `secondary-dns_api-response-collection` in responses. */ -export const secondary_dns_api_response_collection_output: JsonSchema = { +export const secondary$$dns_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-common" @@ -42,7 +42,7 @@ export const secondary_dns_api_response_collection_output: JsonSchema = { /** * The schema of `secondary-dns_api-response-common` in responses. */ -export const secondary_dns_api_response_common_output: JsonSchema = { +export const secondary$$dns_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/secondary-dns_messages" @@ -68,7 +68,7 @@ export const secondary_dns_api_response_common_output: JsonSchema = { /** * The schema of `secondary-dns_api-response-common-failure` in responses. */ -export const secondary_dns_api_response_common_failure_output: JsonSchema = { +export const secondary$$dns_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/secondary-dns_messages" @@ -98,7 +98,7 @@ export const secondary_dns_api_response_common_failure_output: JsonSchema = { /** * The schema of `secondary-dns_api-response-single` in responses. */ -export const secondary_dns_api_response_single_output: JsonSchema = { +export const secondary$$dns_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/secondary-dns_messages" @@ -124,7 +124,7 @@ export const secondary_dns_api_response_single_output: JsonSchema = { /** * The schema of `secondary-dns_id_response` in responses. */ -export const secondary_dns_id_response_output: JsonSchema = { +export const secondary$$dns_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" @@ -148,7 +148,7 @@ export const secondary_dns_id_response_output: JsonSchema = { /** * The schema of `secondary-dns_id_response-3` in responses. */ -export const secondary_dns_id_response_3_output: JsonSchema = { +export const secondary$$dns_id_response$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" @@ -172,21 +172,21 @@ export const secondary_dns_id_response_3_output: JsonSchema = { /** * The schema of `secondary-dns_identifier` in responses. */ -export const secondary_dns_identifier_output: JsonSchema = { +export const secondary$$dns_identifier: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_identifier-3` in responses. */ -export const secondary_dns_identifier_3_output: JsonSchema = { +export const secondary$$dns_identifier$$3: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_messages` in responses. */ -export const secondary_dns_messages_output: JsonSchema = { +export const secondary$$dns_messages: JsonSchema = { "items": { "properties": { "code": { @@ -219,14 +219,14 @@ export const secondary_dns_messages_output: JsonSchema = { /** * The schema of `secondary-dns_name` in responses. */ -export const secondary_dns_name_output: JsonSchema = { +export const secondary$$dns_name: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_peers` in responses. */ -export const secondary_dns_peers_output: JsonSchema = { +export const secondary$$dns_peers: JsonSchema = { "items": { "$ref": "#/$defs/secondary-dns_identifier" }, @@ -236,13 +236,13 @@ export const secondary_dns_peers_output: JsonSchema = { /** * The schema of `secondary-dns_soa_serial` in responses. */ -export const secondary_dns_soa_serial_output: JsonSchema = { +export const secondary$$dns_soa_serial: JsonSchema = { "type": "number" }; /** * The schema of `secondary-dns_time` in responses. */ -export const secondary_dns_time_output: JsonSchema = { +export const secondary$$dns_time: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts index d2a841450..8d48193ca 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_ip` in responses. */ -export const secondary_dns_ip_output: JsonSchema = { +export const secondary$$dns_ip: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_ixfr_enable` in responses. */ -export const secondary_dns_ixfr_enable_output: JsonSchema = { +export const secondary$$dns_ixfr_enable: JsonSchema = { "type": "boolean" }; /** * The schema of `secondary-dns_name-3` in responses. */ -export const secondary_dns_name_3_output: JsonSchema = { +export const secondary$$dns_name$$3: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_peer` in responses. */ -export const secondary_dns_peer_output: JsonSchema = { +export const secondary$$dns_peer: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/secondary-dns_identifier-3" @@ -58,14 +58,14 @@ export const secondary_dns_peer_output: JsonSchema = { /** * The schema of `secondary-dns_port` in responses. */ -export const secondary_dns_port_output: JsonSchema = { +export const secondary$$dns_port: JsonSchema = { "type": "number" }; /** * The schema of `secondary-dns_response_collection-2` in responses. */ -export const secondary_dns_response_collection_2_output: JsonSchema = { +export const secondary$$dns_response_collection$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-collection" @@ -87,7 +87,7 @@ export const secondary_dns_response_collection_2_output: JsonSchema = { /** * The schema of `secondary-dns_single_response-2` in responses. */ -export const secondary_dns_single_response_2_output: JsonSchema = { +export const secondary$$dns_single_response$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" @@ -106,6 +106,6 @@ export const secondary_dns_single_response_2_output: JsonSchema = { /** * The schema of `secondary-dns_tsig_id` in responses. */ -export const secondary_dns_tsig_id_output: JsonSchema = { +export const secondary$$dns_tsig_id: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/peers/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/peers/schemas.ts index ab3dce73f..5d69c8fcc 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/peers/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/peers/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_ip`. */ -export const secondary_dns_ip: JsonSchema = { +export const secondary$$dns_ip: JsonSchema = { "description": "IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to.", "type": "string" }; @@ -14,7 +14,7 @@ export const secondary_dns_ip: JsonSchema = { /** * The schema of `secondary-dns_ixfr_enable`. */ -export const secondary_dns_ixfr_enable: JsonSchema = { +export const secondary$$dns_ixfr_enable: JsonSchema = { "description": "Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.", "type": "boolean" }; @@ -22,7 +22,7 @@ export const secondary_dns_ixfr_enable: JsonSchema = { /** * The schema of `secondary-dns_name-3`. */ -export const secondary_dns_name_3: JsonSchema = { +export const secondary$$dns_name$$3: JsonSchema = { "description": "The name of the peer.", "type": "string" }; @@ -30,7 +30,7 @@ export const secondary_dns_name_3: JsonSchema = { /** * The schema of `secondary-dns_peer`. */ -export const secondary_dns_peer: JsonSchema = { +export const secondary$$dns_peer: JsonSchema = { "properties": { "ip": { "$ref": "#/$defs/secondary-dns_ip", @@ -62,7 +62,7 @@ export const secondary_dns_peer: JsonSchema = { /** * The schema of `secondary-dns_port`. */ -export const secondary_dns_port: JsonSchema = { +export const secondary$$dns_port: JsonSchema = { "description": "DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.", "type": "number" }; @@ -70,7 +70,7 @@ export const secondary_dns_port: JsonSchema = { /** * The schema of `secondary-dns_tsig_id`. */ -export const secondary_dns_tsig_id: JsonSchema = { +export const secondary$$dns_tsig_id: JsonSchema = { "description": "TSIG authentication will be used for zone transfer if configured.", "type": "string" }; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts index 1092c5638..9ef1a0319 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts @@ -3,51 +3,48 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - secondary_dns_api_response_collection_output, - secondary_dns_api_response_common_failure_output, - secondary_dns_api_response_common_output, - secondary_dns_api_response_single_output, - secondary_dns_id_response_3_output, - secondary_dns_identifier_3_output, - secondary_dns_messages_output, + secondary$$dns_api$$response$$collection, + secondary$$dns_api$$response$$common, + secondary$$dns_api$$response$$common$$failure, + secondary$$dns_api$$response$$single, + secondary$$dns_id_response$$3, + secondary$$dns_identifier$$3, + secondary$$dns_messages, } from "../outputs.js"; import { - secondary_dns_account_identifier, - secondary_dns_identifier_3, + secondary$$dns_account_identifier, + secondary$$dns_identifier$$3 as secondary$$dns_identifier$$3$, } from "../schemas.js"; import { - secondary_dns_ip_output, - secondary_dns_ixfr_enable_output, - secondary_dns_name_3_output, - secondary_dns_peer_output, - secondary_dns_port_output, - secondary_dns_response_collection_2_output, - secondary_dns_single_response_2_output, - secondary_dns_tsig_id_output, + secondary$$dns_ip, + secondary$$dns_ixfr_enable, + secondary$$dns_name$$3, + secondary$$dns_peer, + secondary$$dns_port, + secondary$$dns_response_collection$$2, + secondary$$dns_single_response$$2, + secondary$$dns_tsig_id, } from "./outputs.js"; import { - secondary_dns_ip, - secondary_dns_ixfr_enable, - secondary_dns_name_3, - secondary_dns_peer, - secondary_dns_port, - secondary_dns_tsig_id, + secondary$$dns_ip as secondary$$dns_ip$, + secondary$$dns_ixfr_enable as secondary$$dns_ixfr_enable$, + secondary$$dns_name$$3 as secondary$$dns_name$$3$, + secondary$$dns_peer as secondary$$dns_peer$, + secondary$$dns_port as secondary$$dns_port$, + secondary$$dns_tsig_id as secondary$$dns_tsig_id$, } from "./schemas.js"; /** - * The tools of `dns.zone_transfers.peers`. + * The tools of `dns.zoneTransfers.peers`. */ export const tools: readonly Tool[] = [ { - name: "dns_zone_transfers_peers_create", + name: "dns_zoneTransfers_peers_create", title: "Create Peer", description: "Create Peer.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, "body": { "properties": { "name": { @@ -59,30 +56,41 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_name-3": secondary_dns_name_3, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_name-3": secondary$$dns_name$$3$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-2", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip": secondary_dns_ip_output, - "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-3": secondary_dns_name_3_output, - "secondary-dns_peer": secondary_dns_peer_output, - "secondary-dns_port": secondary_dns_port_output, - "secondary-dns_single_response-2": secondary_dns_single_response_2_output, - "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip": secondary$$dns_ip, + "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-3": secondary$$dns_name$$3, + "secondary-dns_peer": secondary$$dns_peer, + "secondary-dns_port": secondary$$dns_port, + "secondary-dns_single_response-2": secondary$$dns_single_response$$2, + "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, annotations: { @@ -122,17 +130,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip": secondary_dns_ip_output, - "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-3": secondary_dns_name_3_output, - "secondary-dns_peer": secondary_dns_peer_output, - "secondary-dns_port": secondary_dns_port_output, - "secondary-dns_single_response-2": secondary_dns_single_response_2_output, - "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip": secondary$$dns_ip, + "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-3": secondary$$dns_name$$3, + "secondary-dns_peer": secondary$$dns_peer, + "secondary-dns_port": secondary$$dns_port, + "secondary-dns_single_response-2": secondary$$dns_single_response$$2, + "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, request: (args) => ({ @@ -141,35 +149,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_peers_delete", + name: "dns_zoneTransfers_peers_delete", title: "Delete Peer", description: "Delete Peer.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, - "peer_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + }, + "peer_id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + } + }, + "required": [ + "account_id", + "peer_id" + ], + "type": "object" } }, required: [ - "account_id", - "peer_id" + "path" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_identifier-3": secondary_dns_identifier_3, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response-3", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response-3": secondary_dns_id_response_3_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response-3": secondary$$dns_id_response$$3, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -209,11 +225,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response-3": secondary_dns_id_response_3_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response-3": secondary$$dns_id_response$$3, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ @@ -221,41 +237,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_peers_get", + name: "dns_zoneTransfers_peers_get", title: "Peer Details", description: "Get Peer.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, - "peer_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + }, + "peer_id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + } + }, + "required": [ + "account_id", + "peer_id" + ], + "type": "object" } }, required: [ - "account_id", - "peer_id" + "path" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_identifier-3": secondary_dns_identifier_3, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-2", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip": secondary_dns_ip_output, - "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-3": secondary_dns_name_3_output, - "secondary-dns_peer": secondary_dns_peer_output, - "secondary-dns_port": secondary_dns_port_output, - "secondary-dns_single_response-2": secondary_dns_single_response_2_output, - "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip": secondary$$dns_ip, + "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-3": secondary$$dns_name$$3, + "secondary-dns_peer": secondary$$dns_peer, + "secondary-dns_port": secondary$$dns_port, + "secondary-dns_single_response-2": secondary$$dns_single_response$$2, + "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, annotations: { @@ -296,17 +320,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip": secondary_dns_ip_output, - "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-3": secondary_dns_name_3_output, - "secondary-dns_peer": secondary_dns_peer_output, - "secondary-dns_port": secondary_dns_port_output, - "secondary-dns_single_response-2": secondary_dns_single_response_2_output, - "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip": secondary$$dns_ip, + "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-3": secondary$$dns_name$$3, + "secondary-dns_peer": secondary$$dns_peer, + "secondary-dns_port": secondary$$dns_port, + "secondary-dns_single_response-2": secondary$$dns_single_response$$2, + "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, request: (args) => ({ @@ -314,37 +338,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_peers_list", + name: "dns_zoneTransfers_peers_list", title: "List Peers", description: "List Peers.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_response_collection-2", $defs: { - "secondary-dns_api-response-collection": secondary_dns_api_response_collection_output, - "secondary-dns_api-response-common": secondary_dns_api_response_common_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip": secondary_dns_ip_output, - "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-3": secondary_dns_name_3_output, - "secondary-dns_peer": secondary_dns_peer_output, - "secondary-dns_port": secondary_dns_port_output, - "secondary-dns_response_collection-2": secondary_dns_response_collection_2_output, - "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, + "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip": secondary$$dns_ip, + "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-3": secondary$$dns_name$$3, + "secondary-dns_peer": secondary$$dns_peer, + "secondary-dns_port": secondary$$dns_port, + "secondary-dns_response_collection-2": secondary$$dns_response_collection$$2, + "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, annotations: { @@ -385,18 +417,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-collection": secondary_dns_api_response_collection_output, - "secondary-dns_api-response-common": secondary_dns_api_response_common_output, - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip": secondary_dns_ip_output, - "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-3": secondary_dns_name_3_output, - "secondary-dns_peer": secondary_dns_peer_output, - "secondary-dns_port": secondary_dns_port_output, - "secondary-dns_response_collection-2": secondary_dns_response_collection_2_output, - "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, + "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip": secondary$$dns_ip, + "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-3": secondary$$dns_name$$3, + "secondary-dns_peer": secondary$$dns_peer, + "secondary-dns_port": secondary$$dns_port, + "secondary-dns_response_collection-2": secondary$$dns_response_collection$$2, + "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, request: (args) => ({ @@ -404,51 +436,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_peers_update", + name: "dns_zoneTransfers_peers_update", title: "Update Peer", description: "Modify Peer.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, "body": { "$ref": "#/$defs/secondary-dns_peer" }, - "peer_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + }, + "peer_id": { + "$ref": "#/$defs/secondary-dns_identifier-3" + } + }, + "required": [ + "account_id", + "peer_id" + ], + "type": "object" } }, required: [ - "account_id", - "peer_id", + "path", "body" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_identifier-3": secondary_dns_identifier_3, - "secondary-dns_ip": secondary_dns_ip, - "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable, - "secondary-dns_name-3": secondary_dns_name_3, - "secondary-dns_peer": secondary_dns_peer, - "secondary-dns_port": secondary_dns_port, - "secondary-dns_tsig_id": secondary_dns_tsig_id, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, + "secondary-dns_ip": secondary$$dns_ip$, + "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable$, + "secondary-dns_name-3": secondary$$dns_name$$3$, + "secondary-dns_peer": secondary$$dns_peer$, + "secondary-dns_port": secondary$$dns_port$, + "secondary-dns_tsig_id": secondary$$dns_tsig_id$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-2", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip": secondary_dns_ip_output, - "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-3": secondary_dns_name_3_output, - "secondary-dns_peer": secondary_dns_peer_output, - "secondary-dns_port": secondary_dns_port_output, - "secondary-dns_single_response-2": secondary_dns_single_response_2_output, - "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip": secondary$$dns_ip, + "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-3": secondary$$dns_name$$3, + "secondary-dns_peer": secondary$$dns_peer, + "secondary-dns_port": secondary$$dns_port, + "secondary-dns_single_response-2": secondary$$dns_single_response$$2, + "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, annotations: { @@ -488,17 +528,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-3": secondary_dns_identifier_3_output, - "secondary-dns_ip": secondary_dns_ip_output, - "secondary-dns_ixfr_enable": secondary_dns_ixfr_enable_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-3": secondary_dns_name_3_output, - "secondary-dns_peer": secondary_dns_peer_output, - "secondary-dns_port": secondary_dns_port_output, - "secondary-dns_single_response-2": secondary_dns_single_response_2_output, - "secondary-dns_tsig_id": secondary_dns_tsig_id_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-3": secondary$$dns_identifier$$3, + "secondary-dns_ip": secondary$$dns_ip, + "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-3": secondary$$dns_name$$3, + "secondary-dns_peer": secondary$$dns_peer, + "secondary-dns_port": secondary$$dns_port, + "secondary-dns_single_response-2": secondary$$dns_single_response$$2, + "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/schemas.ts index 60ca3f1e7..2e7bfb2b4 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/schemas.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `secondary-dns_account_identifier`. */ -export const secondary_dns_account_identifier: JsonSchema = { +export const secondary$$dns_account_identifier: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_identifier`. */ -export const secondary_dns_identifier: JsonSchema = { +export const secondary$$dns_identifier: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_identifier-3`. */ -export const secondary_dns_identifier_3: JsonSchema = { +export const secondary$$dns_identifier$$3: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_name`. */ -export const secondary_dns_name: JsonSchema = { +export const secondary$$dns_name: JsonSchema = { "description": "Zone name.", "type": "string" }; @@ -35,7 +35,7 @@ export const secondary_dns_name: JsonSchema = { /** * The schema of `secondary-dns_peers`. */ -export const secondary_dns_peers: JsonSchema = { +export const secondary$$dns_peers: JsonSchema = { "description": "A list of peer tags.", "items": { "$ref": "#/$defs/secondary-dns_identifier" diff --git a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts index 45797fbd8..8131b2e7b 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_algo` in responses. */ -export const secondary_dns_algo_output: JsonSchema = { +export const secondary$$dns_algo: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_id_response-2` in responses. */ -export const secondary_dns_id_response_2_output: JsonSchema = { +export const secondary$$dns_id_response$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" @@ -37,21 +37,21 @@ export const secondary_dns_id_response_2_output: JsonSchema = { /** * The schema of `secondary-dns_identifier-2` in responses. */ -export const secondary_dns_identifier_2_output: JsonSchema = { +export const secondary$$dns_identifier$$2: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_name-2` in responses. */ -export const secondary_dns_name_2_output: JsonSchema = { +export const secondary$$dns_name$$2: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_response_collection` in responses. */ -export const secondary_dns_response_collection_output: JsonSchema = { +export const secondary$$dns_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-collection" @@ -73,14 +73,14 @@ export const secondary_dns_response_collection_output: JsonSchema = { /** * The schema of `secondary-dns_secret` in responses. */ -export const secondary_dns_secret_output: JsonSchema = { +export const secondary$$dns_secret: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_single_response` in responses. */ -export const secondary_dns_single_response_output: JsonSchema = { +export const secondary$$dns_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secondary-dns_api-response-single" @@ -99,7 +99,7 @@ export const secondary_dns_single_response_output: JsonSchema = { /** * The schema of `secondary-dns_tsig` in responses. */ -export const secondary_dns_tsig_output: JsonSchema = { +export const secondary$$dns_tsig: JsonSchema = { "properties": { "algo": { "$ref": "#/$defs/secondary-dns_algo" diff --git a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/schemas.ts index f27913075..f5024abe9 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `secondary-dns_algo`. */ -export const secondary_dns_algo: JsonSchema = { +export const secondary$$dns_algo: JsonSchema = { "description": "TSIG algorithm.", "type": "string" }; @@ -14,14 +14,14 @@ export const secondary_dns_algo: JsonSchema = { /** * The schema of `secondary-dns_identifier-2`. */ -export const secondary_dns_identifier_2: JsonSchema = { +export const secondary$$dns_identifier$$2: JsonSchema = { "type": "string" }; /** * The schema of `secondary-dns_name-2`. */ -export const secondary_dns_name_2: JsonSchema = { +export const secondary$$dns_name$$2: JsonSchema = { "description": "TSIG key name.", "type": "string" }; @@ -29,7 +29,7 @@ export const secondary_dns_name_2: JsonSchema = { /** * The schema of `secondary-dns_secret`. */ -export const secondary_dns_secret: JsonSchema = { +export const secondary$$dns_secret: JsonSchema = { "description": "TSIG secret.", "type": "string" }; @@ -37,7 +37,7 @@ export const secondary_dns_secret: JsonSchema = { /** * The schema of `secondary-dns_tsig`. */ -export const secondary_dns_tsig: JsonSchema = { +export const secondary$$dns_tsig: JsonSchema = { "properties": { "algo": { "$ref": "#/$defs/secondary-dns_algo", diff --git a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts index 7904313b7..0267f5308 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts @@ -3,72 +3,80 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - secondary_dns_api_response_collection_output, - secondary_dns_api_response_common_failure_output, - secondary_dns_api_response_common_output, - secondary_dns_api_response_single_output, - secondary_dns_messages_output, + secondary$$dns_api$$response$$collection, + secondary$$dns_api$$response$$common, + secondary$$dns_api$$response$$common$$failure, + secondary$$dns_api$$response$$single, + secondary$$dns_messages, } from "../outputs.js"; -import { secondary_dns_account_identifier } from "../schemas.js"; +import { secondary$$dns_account_identifier } from "../schemas.js"; import { - secondary_dns_algo_output, - secondary_dns_id_response_2_output, - secondary_dns_identifier_2_output, - secondary_dns_name_2_output, - secondary_dns_response_collection_output, - secondary_dns_secret_output, - secondary_dns_single_response_output, - secondary_dns_tsig_output, + secondary$$dns_algo, + secondary$$dns_id_response$$2, + secondary$$dns_identifier$$2, + secondary$$dns_name$$2, + secondary$$dns_response_collection, + secondary$$dns_secret, + secondary$$dns_single_response, + secondary$$dns_tsig, } from "./outputs.js"; import { - secondary_dns_algo, - secondary_dns_identifier_2, - secondary_dns_name_2, - secondary_dns_secret, - secondary_dns_tsig, + secondary$$dns_algo as secondary$$dns_algo$, + secondary$$dns_identifier$$2 as secondary$$dns_identifier$$2$, + secondary$$dns_name$$2 as secondary$$dns_name$$2$, + secondary$$dns_secret as secondary$$dns_secret$, + secondary$$dns_tsig as secondary$$dns_tsig$, } from "./schemas.js"; /** - * The tools of `dns.zone_transfers.tsigs`. + * The tools of `dns.zoneTransfers.tsigs`. */ export const tools: readonly Tool[] = [ { - name: "dns_zone_transfers_tsigs_create", + name: "dns_zoneTransfers_tsigs_create", title: "Create TSIG", description: "Create TSIG.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, "body": { "$ref": "#/$defs/secondary-dns_tsig" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_algo": secondary_dns_algo, - "secondary-dns_name-2": secondary_dns_name_2, - "secondary-dns_secret": secondary_dns_secret, - "secondary-dns_tsig": secondary_dns_tsig, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_algo": secondary$$dns_algo$, + "secondary-dns_name-2": secondary$$dns_name$$2$, + "secondary-dns_secret": secondary$$dns_secret$, + "secondary-dns_tsig": secondary$$dns_tsig$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response", $defs: { - "secondary-dns_algo": secondary_dns_algo_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-2": secondary_dns_name_2_output, - "secondary-dns_secret": secondary_dns_secret_output, - "secondary-dns_single_response": secondary_dns_single_response_output, - "secondary-dns_tsig": secondary_dns_tsig_output, + "secondary-dns_algo": secondary$$dns_algo, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-2": secondary$$dns_name$$2, + "secondary-dns_secret": secondary$$dns_secret, + "secondary-dns_single_response": secondary$$dns_single_response, + "secondary-dns_tsig": secondary$$dns_tsig, }, }, annotations: { @@ -108,15 +116,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_algo": secondary_dns_algo_output, - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-2": secondary_dns_name_2_output, - "secondary-dns_secret": secondary_dns_secret_output, - "secondary-dns_single_response": secondary_dns_single_response_output, - "secondary-dns_tsig": secondary_dns_tsig_output, + "secondary-dns_algo": secondary$$dns_algo, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-2": secondary$$dns_name$$2, + "secondary-dns_secret": secondary$$dns_secret, + "secondary-dns_single_response": secondary$$dns_single_response, + "secondary-dns_tsig": secondary$$dns_tsig, }, }, request: (args) => ({ @@ -125,35 +133,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_tsigs_delete", + name: "dns_zoneTransfers_tsigs_delete", title: "Delete TSIG", description: "Delete TSIG.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, - "tsig_id": { - "$ref": "#/$defs/secondary-dns_identifier-2" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + }, + "tsig_id": { + "$ref": "#/$defs/secondary-dns_identifier-2" + } + }, + "required": [ + "account_id", + "tsig_id" + ], + "type": "object" } }, required: [ - "account_id", - "tsig_id" + "path" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_identifier-2": secondary_dns_identifier_2, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response-2", $defs: { - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response-2": secondary_dns_id_response_2_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response-2": secondary$$dns_id_response$$2, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, }, }, annotations: { @@ -193,11 +209,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_id_response-2": secondary_dns_id_response_2_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_id_response-2": secondary$$dns_id_response$$2, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, }, }, request: (args) => ({ @@ -205,39 +221,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_tsigs_get", + name: "dns_zoneTransfers_tsigs_get", title: "TSIG Details", description: "Get TSIG.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, - "tsig_id": { - "$ref": "#/$defs/secondary-dns_identifier-2" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + }, + "tsig_id": { + "$ref": "#/$defs/secondary-dns_identifier-2" + } + }, + "required": [ + "account_id", + "tsig_id" + ], + "type": "object" } }, required: [ - "account_id", - "tsig_id" + "path" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_identifier-2": secondary_dns_identifier_2, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response", $defs: { - "secondary-dns_algo": secondary_dns_algo_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-2": secondary_dns_name_2_output, - "secondary-dns_secret": secondary_dns_secret_output, - "secondary-dns_single_response": secondary_dns_single_response_output, - "secondary-dns_tsig": secondary_dns_tsig_output, + "secondary-dns_algo": secondary$$dns_algo, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-2": secondary$$dns_name$$2, + "secondary-dns_secret": secondary$$dns_secret, + "secondary-dns_single_response": secondary$$dns_single_response, + "secondary-dns_tsig": secondary$$dns_tsig, }, }, annotations: { @@ -278,15 +302,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_algo": secondary_dns_algo_output, - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-2": secondary_dns_name_2_output, - "secondary-dns_secret": secondary_dns_secret_output, - "secondary-dns_single_response": secondary_dns_single_response_output, - "secondary-dns_tsig": secondary_dns_tsig_output, + "secondary-dns_algo": secondary$$dns_algo, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-2": secondary$$dns_name$$2, + "secondary-dns_secret": secondary$$dns_secret, + "secondary-dns_single_response": secondary$$dns_single_response, + "secondary-dns_tsig": secondary$$dns_tsig, }, }, request: (args) => ({ @@ -294,35 +318,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_tsigs_list", + name: "dns_zoneTransfers_tsigs_list", title: "List TSIGs", description: "List TSIGs.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_response_collection", $defs: { - "secondary-dns_algo": secondary_dns_algo_output, - "secondary-dns_api-response-collection": secondary_dns_api_response_collection_output, - "secondary-dns_api-response-common": secondary_dns_api_response_common_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-2": secondary_dns_name_2_output, - "secondary-dns_response_collection": secondary_dns_response_collection_output, - "secondary-dns_secret": secondary_dns_secret_output, - "secondary-dns_tsig": secondary_dns_tsig_output, + "secondary-dns_algo": secondary$$dns_algo, + "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, + "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-2": secondary$$dns_name$$2, + "secondary-dns_response_collection": secondary$$dns_response_collection, + "secondary-dns_secret": secondary$$dns_secret, + "secondary-dns_tsig": secondary$$dns_tsig, }, }, annotations: { @@ -363,16 +395,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_algo": secondary_dns_algo_output, - "secondary-dns_api-response-collection": secondary_dns_api_response_collection_output, - "secondary-dns_api-response-common": secondary_dns_api_response_common_output, - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-2": secondary_dns_name_2_output, - "secondary-dns_response_collection": secondary_dns_response_collection_output, - "secondary-dns_secret": secondary_dns_secret_output, - "secondary-dns_tsig": secondary_dns_tsig_output, + "secondary-dns_algo": secondary$$dns_algo, + "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, + "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-2": secondary$$dns_name$$2, + "secondary-dns_response_collection": secondary$$dns_response_collection, + "secondary-dns_secret": secondary$$dns_secret, + "secondary-dns_tsig": secondary$$dns_tsig, }, }, request: (args) => ({ @@ -380,47 +412,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_zone_transfers_tsigs_update", + name: "dns_zoneTransfers_tsigs_update", title: "Update TSIG", description: "Modify TSIG.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" - }, "body": { "$ref": "#/$defs/secondary-dns_tsig" }, - "tsig_id": { - "$ref": "#/$defs/secondary-dns_identifier-2" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/secondary-dns_account_identifier" + }, + "tsig_id": { + "$ref": "#/$defs/secondary-dns_identifier-2" + } + }, + "required": [ + "account_id", + "tsig_id" + ], + "type": "object" } }, required: [ - "account_id", - "tsig_id", + "path", "body" ], $defs: { - "secondary-dns_account_identifier": secondary_dns_account_identifier, - "secondary-dns_algo": secondary_dns_algo, - "secondary-dns_identifier-2": secondary_dns_identifier_2, - "secondary-dns_name-2": secondary_dns_name_2, - "secondary-dns_secret": secondary_dns_secret, - "secondary-dns_tsig": secondary_dns_tsig, + "secondary-dns_account_identifier": secondary$$dns_account_identifier, + "secondary-dns_algo": secondary$$dns_algo$, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2$, + "secondary-dns_name-2": secondary$$dns_name$$2$, + "secondary-dns_secret": secondary$$dns_secret$, + "secondary-dns_tsig": secondary$$dns_tsig$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response", $defs: { - "secondary-dns_algo": secondary_dns_algo_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-2": secondary_dns_name_2_output, - "secondary-dns_secret": secondary_dns_secret_output, - "secondary-dns_single_response": secondary_dns_single_response_output, - "secondary-dns_tsig": secondary_dns_tsig_output, + "secondary-dns_algo": secondary$$dns_algo, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-2": secondary$$dns_name$$2, + "secondary-dns_secret": secondary$$dns_secret, + "secondary-dns_single_response": secondary$$dns_single_response, + "secondary-dns_tsig": secondary$$dns_tsig, }, }, annotations: { @@ -460,15 +500,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_algo": secondary_dns_algo_output, - "secondary-dns_api-response-common-failure": secondary_dns_api_response_common_failure_output, - "secondary-dns_api-response-single": secondary_dns_api_response_single_output, - "secondary-dns_identifier-2": secondary_dns_identifier_2_output, - "secondary-dns_messages": secondary_dns_messages_output, - "secondary-dns_name-2": secondary_dns_name_2_output, - "secondary-dns_secret": secondary_dns_secret_output, - "secondary-dns_single_response": secondary_dns_single_response_output, - "secondary-dns_tsig": secondary_dns_tsig_output, + "secondary-dns_algo": secondary$$dns_algo, + "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, + "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, + "secondary-dns_identifier-2": secondary$$dns_identifier$$2, + "secondary-dns_messages": secondary$$dns_messages, + "secondary-dns_name-2": secondary$$dns_name$$2, + "secondary-dns_secret": secondary$$dns_secret, + "secondary-dns_single_response": secondary$$dns_single_response, + "secondary-dns_tsig": secondary$$dns_tsig, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dnsFirewall/outputs.ts b/src/generated/forge-mcp/dnsFirewall/outputs.ts index 4e7006d93..a0181546f 100644 --- a/src/generated/forge-mcp/dnsFirewall/outputs.ts +++ b/src/generated/forge-mcp/dnsFirewall/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `dns-firewall_api-response-collection` in responses. */ -export const dns_firewall_api_response_collection_output: JsonSchema = { +export const dns$$firewall_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-firewall_api-response-common" @@ -42,7 +42,7 @@ export const dns_firewall_api_response_collection_output: JsonSchema = { /** * The schema of `dns-firewall_api-response-common` in responses. */ -export const dns_firewall_api_response_common_output: JsonSchema = { +export const dns$$firewall_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-firewall_messages" @@ -68,7 +68,7 @@ export const dns_firewall_api_response_common_output: JsonSchema = { /** * The schema of `dns-firewall_api-response-common-failure` in responses. */ -export const dns_firewall_api_response_common_failure_output: JsonSchema = { +export const dns$$firewall_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-firewall_messages" @@ -98,7 +98,7 @@ export const dns_firewall_api_response_common_failure_output: JsonSchema = { /** * The schema of `dns-firewall_api-response-single` in responses. */ -export const dns_firewall_api_response_single_output: JsonSchema = { +export const dns$$firewall_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-firewall_messages" @@ -124,7 +124,7 @@ export const dns_firewall_api_response_single_output: JsonSchema = { /** * The schema of `dns-firewall_attack_mitigation` in responses. */ -export const dns_firewall_attack_mitigation_output: JsonSchema = { +export const dns$$firewall_attack_mitigation: JsonSchema = { "oneOf": [ { "properties": { @@ -146,14 +146,14 @@ export const dns_firewall_attack_mitigation_output: JsonSchema = { /** * The schema of `dns-firewall_deprecate_any_requests` in responses. */ -export const dns_firewall_deprecate_any_requests_output: JsonSchema = { +export const dns$$firewall_deprecate_any_requests: JsonSchema = { "type": "boolean" }; /** * The schema of `dns-firewall_dns-firewall-cluster` in responses. */ -export const dns_firewall_dns_firewall_cluster_output: JsonSchema = { +export const dns$$firewall_dns$$firewall$$cluster: JsonSchema = { "properties": { "attack_mitigation": { "$ref": "#/$defs/dns-firewall_attack_mitigation" @@ -192,7 +192,7 @@ export const dns_firewall_dns_firewall_cluster_output: JsonSchema = { /** * The schema of `dns-firewall_dns-firewall-cluster-response` in responses. */ -export const dns_firewall_dns_firewall_cluster_response_output: JsonSchema = { +export const dns$$firewall_dns$$firewall$$cluster$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-firewall_dns-firewall-cluster" @@ -222,7 +222,7 @@ export const dns_firewall_dns_firewall_cluster_response_output: JsonSchema = { /** * The schema of `dns-firewall_dns_firewall_ips` in responses. */ -export const dns_firewall_dns_firewall_ips_output: JsonSchema = { +export const dns$$firewall_dns_firewall_ips: JsonSchema = { "items": { "type": "string" }, @@ -232,7 +232,7 @@ export const dns_firewall_dns_firewall_ips_output: JsonSchema = { /** * The schema of `dns-firewall_dns_firewall_response_collection` in responses. */ -export const dns_firewall_dns_firewall_response_collection_output: JsonSchema = { +export const dns$$firewall_dns_firewall_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-firewall_api-response-collection" @@ -254,7 +254,7 @@ export const dns_firewall_dns_firewall_response_collection_output: JsonSchema = /** * The schema of `dns-firewall_dns_firewall_single_response` in responses. */ -export const dns_firewall_dns_firewall_single_response_output: JsonSchema = { +export const dns$$firewall_dns_firewall_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-firewall_api-response-single" @@ -273,28 +273,28 @@ export const dns_firewall_dns_firewall_single_response_output: JsonSchema = { /** * The schema of `dns-firewall_ecs_fallback` in responses. */ -export const dns_firewall_ecs_fallback_output: JsonSchema = { +export const dns$$firewall_ecs_fallback: JsonSchema = { "type": "boolean" }; /** * The schema of `dns-firewall_identifier` in responses. */ -export const dns_firewall_identifier_output: JsonSchema = { +export const dns$$firewall_identifier: JsonSchema = { "type": "string" }; /** * The schema of `dns-firewall_maximum_cache_ttl` in responses. */ -export const dns_firewall_maximum_cache_ttl_output: JsonSchema = { +export const dns$$firewall_maximum_cache_ttl: JsonSchema = { "type": "number" }; /** * The schema of `dns-firewall_messages` in responses. */ -export const dns_firewall_messages_output: JsonSchema = { +export const dns$$firewall_messages: JsonSchema = { "items": { "properties": { "code": { @@ -327,14 +327,14 @@ export const dns_firewall_messages_output: JsonSchema = { /** * The schema of `dns-firewall_minimum_cache_ttl` in responses. */ -export const dns_firewall_minimum_cache_ttl_output: JsonSchema = { +export const dns$$firewall_minimum_cache_ttl: JsonSchema = { "type": "number" }; /** * The schema of `dns-firewall_modified_on` in responses. */ -export const dns_firewall_modified_on_output: JsonSchema = { +export const dns$$firewall_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -342,14 +342,14 @@ export const dns_firewall_modified_on_output: JsonSchema = { /** * The schema of `dns-firewall_name` in responses. */ -export const dns_firewall_name_output: JsonSchema = { +export const dns$$firewall_name: JsonSchema = { "type": "string" }; /** * The schema of `dns-firewall_negative_cache_ttl` in responses. */ -export const dns_firewall_negative_cache_ttl_output: JsonSchema = { +export const dns$$firewall_negative_cache_ttl: JsonSchema = { "oneOf": [ { "type": "number" @@ -363,7 +363,7 @@ export const dns_firewall_negative_cache_ttl_output: JsonSchema = { /** * The schema of `dns-firewall_ratelimit` in responses. */ -export const dns_firewall_ratelimit_output: JsonSchema = { +export const dns$$firewall_ratelimit: JsonSchema = { "oneOf": [ { "type": "number" @@ -377,14 +377,14 @@ export const dns_firewall_ratelimit_output: JsonSchema = { /** * The schema of `dns-firewall_retries` in responses. */ -export const dns_firewall_retries_output: JsonSchema = { +export const dns$$firewall_retries: JsonSchema = { "type": "number" }; /** * The schema of `dns-firewall_upstream_ips` in responses. */ -export const dns_firewall_upstream_ips_output: JsonSchema = { +export const dns$$firewall_upstream_ips: JsonSchema = { "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts b/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts index e0580577d..d52d32084 100644 --- a/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts +++ b/src/generated/forge-mcp/dnsFirewall/reverseDns/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `dns-firewall_dns-firewall-reverse-dns-response` in responses. */ -export const dns_firewall_dns_firewall_reverse_dns_response_output: JsonSchema = { +export const dns$$firewall_dns$$firewall$$reverse$$dns$$response: JsonSchema = { "properties": { "ptr": { "additionalProperties": { @@ -24,7 +24,7 @@ export const dns_firewall_dns_firewall_reverse_dns_response_output: JsonSchema = /** * The schema of `dns-firewall_dns_firewall_reverse_dns_response` in responses. */ -export const dns_firewall_dns_firewall_reverse_dns_response_output$: JsonSchema = { +export const dns$$firewall_dns_firewall_reverse_dns_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-firewall_api-response-single" diff --git a/src/generated/forge-mcp/dnsFirewall/reverseDns/schemas.ts b/src/generated/forge-mcp/dnsFirewall/reverseDns/schemas.ts index 7ffe80106..d0c4b5692 100644 --- a/src/generated/forge-mcp/dnsFirewall/reverseDns/schemas.ts +++ b/src/generated/forge-mcp/dnsFirewall/reverseDns/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `dns-firewall_dns-firewall-reverse-dns-patch`. */ -export const dns_firewall_dns_firewall_reverse_dns_patch: JsonSchema = { +export const dns$$firewall_dns$$firewall$$reverse$$dns$$patch: JsonSchema = { "properties": { "ptr": { "additionalProperties": { diff --git a/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts b/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts index d4e79e9e9..b2fc541d7 100644 --- a/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts +++ b/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts @@ -3,57 +3,65 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - dns_firewall_api_response_common_failure_output, - dns_firewall_api_response_single_output, - dns_firewall_messages_output, + dns$$firewall_api$$response$$common$$failure, + dns$$firewall_api$$response$$single, + dns$$firewall_messages, } from "../outputs.js"; -import { dns_firewall_identifier } from "../schemas.js"; +import { dns$$firewall_identifier } from "../schemas.js"; import { - dns_firewall_dns_firewall_reverse_dns_response_output, - dns_firewall_dns_firewall_reverse_dns_response_output$, + dns$$firewall_dns$$firewall$$reverse$$dns$$response, + dns$$firewall_dns_firewall_reverse_dns_response, } from "./outputs.js"; -import { dns_firewall_dns_firewall_reverse_dns_patch } from "./schemas.js"; +import { dns$$firewall_dns$$firewall$$reverse$$dns$$patch } from "./schemas.js"; /** - * The tools of `dns_firewall.reverse_dns`. + * The tools of `dnsFirewall.reverseDns`. */ export const tools: readonly Tool[] = [ { - name: "dns_firewall_reverse_dns_edit", + name: "dnsFirewall_reverseDns_edit", title: "Update DNS Firewall Cluster Reverse DNS", description: "Update reverse DNS configuration (PTR records) for a DNS Firewall cluster", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/dns-firewall_dns-firewall-reverse-dns-patch" }, - "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + }, + "dns_firewall_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "dns_firewall_id" + ], + "type": "object" } }, required: [ - "account_id", - "dns_firewall_id", + "path", "body" ], $defs: { - "dns-firewall_dns-firewall-reverse-dns-patch": dns_firewall_dns_firewall_reverse_dns_patch, - "dns-firewall_identifier": dns_firewall_identifier, + "dns-firewall_dns-firewall-reverse-dns-patch": dns$$firewall_dns$$firewall$$reverse$$dns$$patch, + "dns-firewall_identifier": dns$$firewall_identifier, }, }, outputSchema: { "$ref": "#/$defs/dns-firewall_dns_firewall_reverse_dns_response", $defs: { - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_dns-firewall-reverse-dns-response": dns_firewall_dns_firewall_reverse_dns_response_output, - "dns-firewall_dns_firewall_reverse_dns_response": dns_firewall_dns_firewall_reverse_dns_response_output$, - "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_dns-firewall-reverse-dns-response": dns$$firewall_dns$$firewall$$reverse$$dns$$response, + "dns-firewall_dns_firewall_reverse_dns_response": dns$$firewall_dns_firewall_reverse_dns_response, + "dns-firewall_messages": dns$$firewall_messages, }, }, annotations: { @@ -91,11 +99,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_dns-firewall-reverse-dns-response": dns_firewall_dns_firewall_reverse_dns_response_output, - "dns-firewall_dns_firewall_reverse_dns_response": dns_firewall_dns_firewall_reverse_dns_response_output$, - "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_dns-firewall-reverse-dns-response": dns$$firewall_dns$$firewall$$reverse$$dns$$response, + "dns-firewall_dns_firewall_reverse_dns_response": dns$$firewall_dns_firewall_reverse_dns_response, + "dns-firewall_messages": dns$$firewall_messages, }, }, request: (args) => ({ @@ -104,36 +112,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_firewall_reverse_dns_get", + name: "dnsFirewall_reverseDns_get", title: "Show DNS Firewall Cluster Reverse DNS", description: "Show reverse DNS configuration (PTR records) for a DNS Firewall cluster", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." - }, - "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + }, + "dns_firewall_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "dns_firewall_id" + ], + "type": "object" } }, required: [ - "account_id", - "dns_firewall_id" + "path" ], $defs: { - "dns-firewall_identifier": dns_firewall_identifier, + "dns-firewall_identifier": dns$$firewall_identifier, }, }, outputSchema: { "$ref": "#/$defs/dns-firewall_dns_firewall_reverse_dns_response", $defs: { - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_dns-firewall-reverse-dns-response": dns_firewall_dns_firewall_reverse_dns_response_output, - "dns-firewall_dns_firewall_reverse_dns_response": dns_firewall_dns_firewall_reverse_dns_response_output$, - "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_dns-firewall-reverse-dns-response": dns$$firewall_dns$$firewall$$reverse$$dns$$response, + "dns-firewall_dns_firewall_reverse_dns_response": dns$$firewall_dns_firewall_reverse_dns_response, + "dns-firewall_messages": dns$$firewall_messages, }, }, annotations: { @@ -172,11 +188,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_dns-firewall-reverse-dns-response": dns_firewall_dns_firewall_reverse_dns_response_output, - "dns-firewall_dns_firewall_reverse_dns_response": dns_firewall_dns_firewall_reverse_dns_response_output$, - "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_dns-firewall-reverse-dns-response": dns$$firewall_dns$$firewall$$reverse$$dns$$response, + "dns-firewall_dns_firewall_reverse_dns_response": dns$$firewall_dns_firewall_reverse_dns_response, + "dns-firewall_messages": dns$$firewall_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dnsFirewall/schemas.ts b/src/generated/forge-mcp/dnsFirewall/schemas.ts index 692018d35..da1e719e1 100644 --- a/src/generated/forge-mcp/dnsFirewall/schemas.ts +++ b/src/generated/forge-mcp/dnsFirewall/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `dns-firewall_attack_mitigation`. */ -export const dns_firewall_attack_mitigation: JsonSchema = { +export const dns$$firewall_attack_mitigation: JsonSchema = { "description": "Attack mitigation settings", "oneOf": [ { @@ -32,7 +32,7 @@ export const dns_firewall_attack_mitigation: JsonSchema = { /** * The schema of `dns-firewall_deprecate_any_requests`. */ -export const dns_firewall_deprecate_any_requests: JsonSchema = { +export const dns$$firewall_deprecate_any_requests: JsonSchema = { "description": "Whether to refuse to answer queries for the ANY type", "type": "boolean" }; @@ -40,7 +40,7 @@ export const dns_firewall_deprecate_any_requests: JsonSchema = { /** * The schema of `dns-firewall_dns-firewall-cluster`. */ -export const dns_firewall_dns_firewall_cluster: JsonSchema = { +export const dns$$firewall_dns$$firewall$$cluster: JsonSchema = { "properties": { "attack_mitigation": { "$ref": "#/$defs/dns-firewall_attack_mitigation", @@ -91,7 +91,7 @@ export const dns_firewall_dns_firewall_cluster: JsonSchema = { /** * The schema of `dns-firewall_dns-firewall-cluster-patch`. */ -export const dns_firewall_dns_firewall_cluster_patch: JsonSchema = { +export const dns$$firewall_dns$$firewall$$cluster$$patch: JsonSchema = { "properties": { "attack_mitigation": { "$ref": "#/$defs/dns-firewall_attack_mitigation", @@ -142,7 +142,7 @@ export const dns_firewall_dns_firewall_cluster_patch: JsonSchema = { /** * The schema of `dns-firewall_dns-firewall-cluster-post`. */ -export const dns_firewall_dns_firewall_cluster_post: JsonSchema = { +export const dns$$firewall_dns$$firewall$$cluster$$post: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-firewall_dns-firewall-cluster" @@ -163,7 +163,7 @@ export const dns_firewall_dns_firewall_cluster_post: JsonSchema = { /** * The schema of `dns-firewall_dns_firewall_ip_count`. */ -export const dns_firewall_dns_firewall_ip_count: JsonSchema = { +export const dns$$firewall_dns_firewall_ip_count: JsonSchema = { "description": "Number of IPv4 addresses to assign to the DNS Firewall cluster. Only used during cluster creation and cannot be changed later.", "type": "integer" }; @@ -171,7 +171,7 @@ export const dns_firewall_dns_firewall_ip_count: JsonSchema = { /** * The schema of `dns-firewall_ecs_fallback`. */ -export const dns_firewall_ecs_fallback: JsonSchema = { +export const dns$$firewall_ecs_fallback: JsonSchema = { "description": "Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent", "type": "boolean" }; @@ -179,7 +179,7 @@ export const dns_firewall_ecs_fallback: JsonSchema = { /** * The schema of `dns-firewall_identifier`. */ -export const dns_firewall_identifier: JsonSchema = { +export const dns$$firewall_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -187,7 +187,7 @@ export const dns_firewall_identifier: JsonSchema = { /** * The schema of `dns-firewall_maximum_cache_ttl`. */ -export const dns_firewall_maximum_cache_ttl: JsonSchema = { +export const dns$$firewall_maximum_cache_ttl: JsonSchema = { "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets an upper bound on this duration. For caching purposes, higher TTLs\nwill be decreased to the maximum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n", "type": "number" }; @@ -195,7 +195,7 @@ export const dns_firewall_maximum_cache_ttl: JsonSchema = { /** * The schema of `dns-firewall_minimum_cache_ttl`. */ -export const dns_firewall_minimum_cache_ttl: JsonSchema = { +export const dns$$firewall_minimum_cache_ttl: JsonSchema = { "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets a lower bound on this duration. For caching purposes, lower TTLs\nwill be increased to the minimum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n\nNote that, even with this setting, there is no guarantee that a\nresponse will be cached for at least the specified duration. Cached\nresponses may be removed earlier for capacity or other operational\nreasons.\n", "type": "number" }; @@ -203,7 +203,7 @@ export const dns_firewall_minimum_cache_ttl: JsonSchema = { /** * The schema of `dns-firewall_name`. */ -export const dns_firewall_name: JsonSchema = { +export const dns$$firewall_name: JsonSchema = { "description": "DNS Firewall cluster name", "type": "string" }; @@ -211,7 +211,7 @@ export const dns_firewall_name: JsonSchema = { /** * The schema of `dns-firewall_negative_cache_ttl`. */ -export const dns_firewall_negative_cache_ttl: JsonSchema = { +export const dns$$firewall_negative_cache_ttl: JsonSchema = { "description": "This setting controls how long DNS Firewall should cache negative\nresponses (e.g., NXDOMAIN) from the upstream servers.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n", "oneOf": [ { @@ -226,7 +226,7 @@ export const dns_firewall_negative_cache_ttl: JsonSchema = { /** * The schema of `dns-firewall_ratelimit`. */ -export const dns_firewall_ratelimit: JsonSchema = { +export const dns$$firewall_ratelimit: JsonSchema = { "description": "Maximum number of DNS queries per second that will be forwarded to your upstream nameservers. The limit is enforced per server, where each server receives a fraction of the configured value. The actual aggregate rate for a data center may vary depending on how many servers are present. Responses served from cache do not count toward this limit. Set to null to disable rate limiting.", "oneOf": [ { @@ -241,7 +241,7 @@ export const dns_firewall_ratelimit: JsonSchema = { /** * The schema of `dns-firewall_retries`. */ -export const dns_firewall_retries: JsonSchema = { +export const dns$$firewall_retries: JsonSchema = { "description": "Number of retries for fetching DNS responses from upstream nameservers (not counting the initial attempt)", "type": "number" }; @@ -249,7 +249,7 @@ export const dns_firewall_retries: JsonSchema = { /** * The schema of `dns-firewall_upstream_ips`. */ -export const dns_firewall_upstream_ips: JsonSchema = { +export const dns$$firewall_upstream_ips: JsonSchema = { "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/dnsFirewall/tools.ts b/src/generated/forge-mcp/dnsFirewall/tools.ts index 1a4ef8eb4..daa1bfe37 100644 --- a/src/generated/forge-mcp/dnsFirewall/tools.ts +++ b/src/generated/forge-mcp/dnsFirewall/tools.ts @@ -1,110 +1,118 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - dns_firewall_api_response_collection_output, - dns_firewall_api_response_common_failure_output, - dns_firewall_api_response_common_output, - dns_firewall_api_response_single_output, - dns_firewall_attack_mitigation_output, - dns_firewall_deprecate_any_requests_output, - dns_firewall_dns_firewall_cluster_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_single_response_output, - dns_firewall_ecs_fallback_output, - dns_firewall_identifier_output, - dns_firewall_maximum_cache_ttl_output, - dns_firewall_messages_output, - dns_firewall_minimum_cache_ttl_output, - dns_firewall_modified_on_output, - dns_firewall_name_output, - dns_firewall_negative_cache_ttl_output, - dns_firewall_ratelimit_output, - dns_firewall_retries_output, - dns_firewall_upstream_ips_output, + dns$$firewall_api$$response$$collection, + dns$$firewall_api$$response$$common, + dns$$firewall_api$$response$$common$$failure, + dns$$firewall_api$$response$$single, + dns$$firewall_attack_mitigation, + dns$$firewall_deprecate_any_requests, + dns$$firewall_dns$$firewall$$cluster, + dns$$firewall_dns$$firewall$$cluster$$response, + dns$$firewall_dns_firewall_ips, + dns$$firewall_dns_firewall_response_collection, + dns$$firewall_dns_firewall_single_response, + dns$$firewall_ecs_fallback, + dns$$firewall_identifier, + dns$$firewall_maximum_cache_ttl, + dns$$firewall_messages, + dns$$firewall_minimum_cache_ttl, + dns$$firewall_modified_on, + dns$$firewall_name, + dns$$firewall_negative_cache_ttl, + dns$$firewall_ratelimit, + dns$$firewall_retries, + dns$$firewall_upstream_ips, } from "./outputs.js"; import { - dns_firewall_attack_mitigation, - dns_firewall_deprecate_any_requests, - dns_firewall_dns_firewall_cluster, - dns_firewall_dns_firewall_cluster_patch, - dns_firewall_dns_firewall_cluster_post, - dns_firewall_dns_firewall_ip_count, - dns_firewall_ecs_fallback, - dns_firewall_identifier, - dns_firewall_maximum_cache_ttl, - dns_firewall_minimum_cache_ttl, - dns_firewall_name, - dns_firewall_negative_cache_ttl, - dns_firewall_ratelimit, - dns_firewall_retries, - dns_firewall_upstream_ips, + dns$$firewall_attack_mitigation as dns$$firewall_attack_mitigation$, + dns$$firewall_deprecate_any_requests as dns$$firewall_deprecate_any_requests$, + dns$$firewall_dns$$firewall$$cluster as dns$$firewall_dns$$firewall$$cluster$, + dns$$firewall_dns$$firewall$$cluster$$patch, + dns$$firewall_dns$$firewall$$cluster$$post, + dns$$firewall_dns_firewall_ip_count, + dns$$firewall_ecs_fallback as dns$$firewall_ecs_fallback$, + dns$$firewall_identifier as dns$$firewall_identifier$, + dns$$firewall_maximum_cache_ttl as dns$$firewall_maximum_cache_ttl$, + dns$$firewall_minimum_cache_ttl as dns$$firewall_minimum_cache_ttl$, + dns$$firewall_name as dns$$firewall_name$, + dns$$firewall_negative_cache_ttl as dns$$firewall_negative_cache_ttl$, + dns$$firewall_ratelimit as dns$$firewall_ratelimit$, + dns$$firewall_retries as dns$$firewall_retries$, + dns$$firewall_upstream_ips as dns$$firewall_upstream_ips$, } from "./schemas.js"; /** - * The tools of `dns_firewall`. + * The tools of `dnsFirewall`. */ export const tools: readonly Tool[] = [ { - name: "dns_firewall_create", + name: "dnsFirewall_create", title: "Create DNS Firewall Cluster", description: "Create a DNS Firewall cluster", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-post" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests, - "dns-firewall_dns-firewall-cluster": dns_firewall_dns_firewall_cluster, - "dns-firewall_dns-firewall-cluster-post": dns_firewall_dns_firewall_cluster_post, - "dns-firewall_dns_firewall_ip_count": dns_firewall_dns_firewall_ip_count, - "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback, - "dns-firewall_identifier": dns_firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl, - "dns-firewall_name": dns_firewall_name, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns_firewall_ratelimit, - "dns-firewall_retries": dns_firewall_retries, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation$, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests$, + "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster$, + "dns-firewall_dns-firewall-cluster-post": dns$$firewall_dns$$firewall$$cluster$$post, + "dns-firewall_dns_firewall_ip_count": dns$$firewall_dns_firewall_ip_count, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback$, + "dns-firewall_identifier": dns$$firewall_identifier$, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl$, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl$, + "dns-firewall_name": dns$$firewall_name$, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl$, + "dns-firewall_ratelimit": dns$$firewall_ratelimit$, + "dns-firewall_retries": dns$$firewall_retries$, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips$, }, }, outputSchema: { "$ref": "#/$defs/dns-firewall_dns_firewall_single_response", $defs: { - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, - "dns-firewall_dns-firewall-cluster": dns_firewall_dns_firewall_cluster_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, - "dns-firewall_messages": dns_firewall_messages_output, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, - "dns-firewall_modified_on": dns_firewall_modified_on_output, - "dns-firewall_name": dns_firewall_name_output, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, - "dns-firewall_ratelimit": dns_firewall_ratelimit_output, - "dns-firewall_retries": dns_firewall_retries_output, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, + "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, + "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, + "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, + "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, + "dns-firewall_messages": dns$$firewall_messages, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, + "dns-firewall_modified_on": dns$$firewall_modified_on, + "dns-firewall_name": dns$$firewall_name, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, + "dns-firewall_ratelimit": dns$$firewall_ratelimit, + "dns-firewall_retries": dns$$firewall_retries, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, annotations: { @@ -142,25 +150,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, - "dns-firewall_dns-firewall-cluster": dns_firewall_dns_firewall_cluster_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, - "dns-firewall_messages": dns_firewall_messages_output, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, - "dns-firewall_modified_on": dns_firewall_modified_on_output, - "dns-firewall_name": dns_firewall_name_output, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, - "dns-firewall_ratelimit": dns_firewall_ratelimit_output, - "dns-firewall_retries": dns_firewall_retries_output, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, + "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, + "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, + "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, + "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, + "dns-firewall_messages": dns$$firewall_messages, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, + "dns-firewall_modified_on": dns$$firewall_modified_on, + "dns-firewall_name": dns$$firewall_name, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, + "dns-firewall_ratelimit": dns$$firewall_ratelimit, + "dns-firewall_retries": dns$$firewall_retries, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, request: (args) => ({ @@ -169,27 +177,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_firewall_delete", + name: "dnsFirewall_delete", title: "Delete DNS Firewall Cluster", description: "Delete a DNS Firewall cluster", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." - }, - "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + }, + "dns_firewall_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "dns_firewall_id" + ], + "type": "object" } }, required: [ - "account_id", - "dns_firewall_id" + "path" ], $defs: { - "dns-firewall_identifier": dns_firewall_identifier, + "dns-firewall_identifier": dns$$firewall_identifier$, }, }, outputSchema: { @@ -212,9 +228,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_identifier": dns_firewall_identifier_output, - "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_messages": dns$$firewall_messages, }, }, annotations: { @@ -269,10 +285,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_identifier": dns_firewall_identifier_output, - "dns-firewall_messages": dns_firewall_messages_output, + "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_messages": dns$$firewall_messages, }, }, request: (args) => ({ @@ -280,65 +296,73 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_firewall_edit", + name: "dnsFirewall_edit", title: "Update DNS Firewall Cluster", description: "Modify the configuration of a DNS Firewall cluster", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-patch" }, - "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + }, + "dns_firewall_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "dns_firewall_id" + ], + "type": "object" } }, required: [ - "account_id", - "dns_firewall_id", + "path", "body" ], $defs: { - "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests, - "dns-firewall_dns-firewall-cluster-patch": dns_firewall_dns_firewall_cluster_patch, - "dns-firewall_ecs_fallback": dns_firewall_ecs_fallback, - "dns-firewall_identifier": dns_firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns_firewall_maximum_cache_ttl, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl, - "dns-firewall_name": dns_firewall_name, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns_firewall_ratelimit, - "dns-firewall_retries": dns_firewall_retries, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation$, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests$, + "dns-firewall_dns-firewall-cluster-patch": dns$$firewall_dns$$firewall$$cluster$$patch, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback$, + "dns-firewall_identifier": dns$$firewall_identifier$, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl$, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl$, + "dns-firewall_name": dns$$firewall_name$, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl$, + "dns-firewall_ratelimit": dns$$firewall_ratelimit$, + "dns-firewall_retries": dns$$firewall_retries$, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips$, }, }, outputSchema: { "$ref": "#/$defs/dns-firewall_dns_firewall_single_response", $defs: { - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, - "dns-firewall_dns-firewall-cluster": dns_firewall_dns_firewall_cluster_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, - "dns-firewall_messages": dns_firewall_messages_output, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, - "dns-firewall_modified_on": dns_firewall_modified_on_output, - "dns-firewall_name": dns_firewall_name_output, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, - "dns-firewall_ratelimit": dns_firewall_ratelimit_output, - "dns-firewall_retries": dns_firewall_retries_output, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, + "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, + "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, + "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, + "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, + "dns-firewall_messages": dns$$firewall_messages, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, + "dns-firewall_modified_on": dns$$firewall_modified_on, + "dns-firewall_name": dns$$firewall_name, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, + "dns-firewall_ratelimit": dns$$firewall_ratelimit, + "dns-firewall_retries": dns$$firewall_retries, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, annotations: { @@ -376,25 +400,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, - "dns-firewall_dns-firewall-cluster": dns_firewall_dns_firewall_cluster_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, - "dns-firewall_messages": dns_firewall_messages_output, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, - "dns-firewall_modified_on": dns_firewall_modified_on_output, - "dns-firewall_name": dns_firewall_name_output, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, - "dns-firewall_ratelimit": dns_firewall_ratelimit_output, - "dns-firewall_retries": dns_firewall_retries_output, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, + "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, + "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, + "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, + "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, + "dns-firewall_messages": dns$$firewall_messages, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, + "dns-firewall_modified_on": dns$$firewall_modified_on, + "dns-firewall_name": dns$$firewall_name, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, + "dns-firewall_ratelimit": dns$$firewall_ratelimit, + "dns-firewall_retries": dns$$firewall_retries, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, request: (args) => ({ @@ -403,50 +427,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_firewall_get", + name: "dnsFirewall_get", title: "DNS Firewall Cluster Details", description: "Show a single DNS Firewall cluster for an account", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." - }, - "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + }, + "dns_firewall_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "dns_firewall_id" + ], + "type": "object" } }, required: [ - "account_id", - "dns_firewall_id" + "path" ], $defs: { - "dns-firewall_identifier": dns_firewall_identifier, + "dns-firewall_identifier": dns$$firewall_identifier$, }, }, outputSchema: { "$ref": "#/$defs/dns-firewall_dns_firewall_single_response", $defs: { - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, - "dns-firewall_dns-firewall-cluster": dns_firewall_dns_firewall_cluster_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, - "dns-firewall_messages": dns_firewall_messages_output, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, - "dns-firewall_modified_on": dns_firewall_modified_on_output, - "dns-firewall_name": dns_firewall_name_output, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, - "dns-firewall_ratelimit": dns_firewall_ratelimit_output, - "dns-firewall_retries": dns_firewall_retries_output, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, + "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, + "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, + "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, + "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, + "dns-firewall_messages": dns$$firewall_messages, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, + "dns-firewall_modified_on": dns$$firewall_modified_on, + "dns-firewall_name": dns$$firewall_name, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, + "dns-firewall_ratelimit": dns$$firewall_ratelimit, + "dns-firewall_retries": dns$$firewall_retries, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, annotations: { @@ -485,25 +517,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-firewall_api-response-common-failure": dns_firewall_api_response_common_failure_output, - "dns-firewall_api-response-single": dns_firewall_api_response_single_output, - "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, - "dns-firewall_dns-firewall-cluster": dns_firewall_dns_firewall_cluster_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, - "dns-firewall_messages": dns_firewall_messages_output, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, - "dns-firewall_modified_on": dns_firewall_modified_on_output, - "dns-firewall_name": dns_firewall_name_output, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, - "dns-firewall_ratelimit": dns_firewall_ratelimit_output, - "dns-firewall_retries": dns_firewall_retries_output, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, + "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, + "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, + "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, + "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, + "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, + "dns-firewall_messages": dns$$firewall_messages, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, + "dns-firewall_modified_on": dns$$firewall_modified_on, + "dns-firewall_name": dns$$firewall_name, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, + "dns-firewall_ratelimit": dns$$firewall_ratelimit, + "dns-firewall_retries": dns$$firewall_retries, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, request: (args) => ({ @@ -511,56 +543,69 @@ export const tools: readonly Tool[] = [ }), }, { - name: "dns_firewall_list", + name: "dnsFirewall_list", title: "List DNS Firewall Clusters", description: "List DNS Firewall clusters for an account", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." - }, - "page": { - "default": 1, - "description": "Page number of paginated results", - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/dns-firewall_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of clusters per page", - "type": "number" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Number of clusters per page", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "dns-firewall_identifier": dns_firewall_identifier, + "dns-firewall_identifier": dns$$firewall_identifier$, }, }, outputSchema: { "$ref": "#/$defs/dns-firewall_dns_firewall_response_collection", $defs: { - "dns-firewall_api-response-collection": dns_firewall_api_response_collection_output, - "dns-firewall_api-response-common": dns_firewall_api_response_common_output, - "dns-firewall_attack_mitigation": dns_firewall_attack_mitigation_output, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, - "dns-firewall_dns-firewall-cluster": dns_firewall_dns_firewall_cluster_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_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, - "dns-firewall_messages": dns_firewall_messages_output, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, - "dns-firewall_modified_on": dns_firewall_modified_on_output, - "dns-firewall_name": dns_firewall_name_output, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, - "dns-firewall_ratelimit": dns_firewall_ratelimit_output, - "dns-firewall_retries": dns_firewall_retries_output, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + "dns-firewall_api-response-collection": dns$$firewall_api$$response$$collection, + "dns-firewall_api-response-common": dns$$firewall_api$$response$$common, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, + "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, + "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, + "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, + "dns-firewall_dns_firewall_response_collection": dns$$firewall_dns_firewall_response_collection, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, + "dns-firewall_messages": dns$$firewall_messages, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, + "dns-firewall_modified_on": dns$$firewall_modified_on, + "dns-firewall_name": dns$$firewall_name, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, + "dns-firewall_ratelimit": dns$$firewall_ratelimit, + "dns-firewall_retries": dns$$firewall_retries, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, annotations: { @@ -599,33 +644,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-firewall_api-response-collection": dns_firewall_api_response_collection_output, - "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_attack_mitigation": dns_firewall_attack_mitigation_output, - "dns-firewall_deprecate_any_requests": dns_firewall_deprecate_any_requests_output, - "dns-firewall_dns-firewall-cluster": dns_firewall_dns_firewall_cluster_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_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, - "dns-firewall_messages": dns_firewall_messages_output, - "dns-firewall_minimum_cache_ttl": dns_firewall_minimum_cache_ttl_output, - "dns-firewall_modified_on": dns_firewall_modified_on_output, - "dns-firewall_name": dns_firewall_name_output, - "dns-firewall_negative_cache_ttl": dns_firewall_negative_cache_ttl_output, - "dns-firewall_ratelimit": dns_firewall_ratelimit_output, - "dns-firewall_retries": dns_firewall_retries_output, - "dns-firewall_upstream_ips": dns_firewall_upstream_ips_output, + "dns-firewall_api-response-collection": dns$$firewall_api$$response$$collection, + "dns-firewall_api-response-common": dns$$firewall_api$$response$$common, + "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, + "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, + "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, + "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, + "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, + "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, + "dns-firewall_dns_firewall_response_collection": dns$$firewall_dns_firewall_response_collection, + "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, + "dns-firewall_identifier": dns$$firewall_identifier, + "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, + "dns-firewall_messages": dns$$firewall_messages, + "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, + "dns-firewall_modified_on": dns$$firewall_modified_on, + "dns-firewall_name": dns$$firewall_name, + "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, + "dns-firewall_ratelimit": dns$$firewall_ratelimit, + "dns-firewall_retries": dns$$firewall_retries, + "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dns_firewall`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts b/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts index 63678ee61..c8e2646d9 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `workers_cursor` in responses. */ -export const workers_cursor_output: JsonSchema = { +export const workers_cursor: JsonSchema = { "type": "string" }; /** * The schema of `workers_object` in responses. */ -export const workers_object_output: JsonSchema = { +export const workers_object: JsonSchema = { "properties": { "hasStoredData": { "type": "boolean" diff --git a/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts b/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts index 71a2222f2..6ae560ceb 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts @@ -1,53 +1,66 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - workers_api_response_collection_output, - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$collection, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../../../outputs.js"; import { workers_identifier } from "../../../schemas.js"; -import { workers_schemas_id } from "../schemas.js"; -import { workers_cursor_output, workers_object_output } from "./outputs.js"; +import { workers_schemas$$id } from "../schemas.js"; +import { workers_cursor, workers_object } from "./outputs.js"; /** - * The tools of `durable_objects.namespaces.objects`. + * The tools of `durableObjects.namespaces.objects`. */ export const tools: readonly Tool[] = [ { - name: "durable_objects_namespaces_objects_list", + name: "durableObjects_namespaces_objects_list", title: "List Objects in a Durable Object namespace", description: "Returns the Durable Objects in a given Durable Object namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "cursor": { - "description": "Opaque token indicating the position from which to continue when requesting the next set of records. A valid value for the cursor can be obtained from the cursors object in the result_info structure.", - "type": "string" - }, - "id": { - "$ref": "#/$defs/workers_schemas-id", - "description": "ID of the namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "id": { + "$ref": "#/$defs/workers_schemas-id", + "description": "ID of the namespace." + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" }, - "limit": { - "default": 1000, - "description": "The number of objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", - "type": "number" + "query": { + "properties": { + "cursor": { + "description": "Opaque token indicating the position from which to continue when requesting the next set of records. A valid value for the cursor can be obtained from the cursors object in the result_info structure.", + "type": "string" + }, + "limit": { + "default": 1000, + "description": "The number of objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { "workers_identifier": workers_identifier, - "workers_schemas-id": workers_schemas_id, + "workers_schemas-id": workers_schemas$$id, }, }, outputSchema: { @@ -79,11 +92,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_cursor": workers_cursor_output, - "workers_messages": workers_messages_output, - "workers_object": workers_object_output, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_cursor": workers_cursor, + "workers_messages": workers_messages, + "workers_object": workers_object, }, }, annotations: { @@ -174,19 +187,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_cursor": workers_cursor_output, - "workers_messages": workers_messages_output, - "workers_object": workers_object_output, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_cursor": workers_cursor, + "workers_messages": workers_messages, + "workers_object": workers_object, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/durable_objects/namespaces/${pathParam(args, "id")}/objects`, query: [ - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/durableObjects/namespaces/outputs.ts b/src/generated/forge-mcp/durableObjects/namespaces/outputs.ts index 1603599a3..44946aa3d 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/outputs.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_namespace` in responses. */ -export const workers_namespace_output: JsonSchema = { +export const workers_namespace: JsonSchema = { "properties": { "class": { "type": "string" @@ -30,7 +30,7 @@ export const workers_namespace_output: JsonSchema = { /** * The schema of `workers_query-result` in responses. */ -export const workers_query_result_output: JsonSchema = { +export const workers_query$$result: JsonSchema = { "properties": { "error": { "type": "string" @@ -84,7 +84,7 @@ export const workers_query_result_output: JsonSchema = { /** * The schema of `workers_query-value` in responses. */ -export const workers_query_value_output: JsonSchema = { +export const workers_query$$value: JsonSchema = { "anyOf": [ { "type": "string" diff --git a/src/generated/forge-mcp/durableObjects/namespaces/schemas.ts b/src/generated/forge-mcp/durableObjects/namespaces/schemas.ts index 9cf12b1d1..c763ec065 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/schemas.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/schemas.ts @@ -28,7 +28,7 @@ export const workers_query: JsonSchema = { /** * The schema of `workers_query-by-id`. */ -export const workers_query_by_id: JsonSchema = { +export const workers_query$$by$$id: JsonSchema = { "properties": { "durable_object_id": { "type": "string" @@ -50,7 +50,7 @@ export const workers_query_by_id: JsonSchema = { /** * The schema of `workers_query-by-name`. */ -export const workers_query_by_name: JsonSchema = { +export const workers_query$$by$$name: JsonSchema = { "properties": { "durable_object_name": { "type": "string" @@ -81,7 +81,7 @@ export const workers_query_by_name: JsonSchema = { /** * The schema of `workers_query-param`. */ -export const workers_query_param: JsonSchema = { +export const workers_query$$param: JsonSchema = { "anyOf": [ { "type": "string" @@ -98,7 +98,7 @@ export const workers_query_param: JsonSchema = { /** * The schema of `workers_schemas-id`. */ -export const workers_schemas_id: JsonSchema = { +export const workers_schemas$$id: JsonSchema = { "description": "ID of the namespace.", "type": "string" }; diff --git a/src/generated/forge-mcp/durableObjects/namespaces/tools.ts b/src/generated/forge-mcp/durableObjects/namespaces/tools.ts index b3ff6f713..35ad987f6 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/tools.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/tools.ts @@ -1,55 +1,68 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - workers_api_response_collection_output, - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$collection, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../../outputs.js"; import { workers_identifier } from "../../schemas.js"; import { - workers_namespace_output, - workers_query_result_output, - workers_query_value_output, + workers_namespace, + workers_query$$result, + workers_query$$value, } from "./outputs.js"; import { workers_query, - workers_query_by_id, - workers_query_by_name, - workers_query_param, - workers_schemas_id, + workers_query$$by$$id, + workers_query$$by$$name, + workers_query$$param, + workers_schemas$$id, } from "./schemas.js"; /** - * The tools of `durable_objects.namespaces`. + * The tools of `durableObjects.namespaces`. */ export const tools: readonly Tool[] = [ { - name: "durable_objects_namespaces_list", + name: "durableObjects_namespaces_list", title: "List Durable Object Namespaces", description: "Returns the Durable Object namespaces owned by an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "page": { - "default": 1, - "description": "Current page.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Items per-page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Current page.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Items per-page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -73,10 +86,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_namespace": workers_namespace_output, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_namespace": workers_namespace, }, }, annotations: { @@ -145,32 +158,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_namespace": workers_namespace_output, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_namespace": workers_namespace, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/durable_objects/namespaces`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "durable_objects_namespaces_query", + name: "durableObjects_namespaces_query", title: "Query a Durable Object", description: "Executes one or more SQL queries against a Durable Object.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "oneOf": [ { @@ -181,23 +190,35 @@ export const tools: readonly Tool[] = [ } ] }, - "id": { - "$ref": "#/$defs/workers_schemas-id", - "description": "ID of the namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "id": { + "$ref": "#/$defs/workers_schemas-id", + "description": "ID of the namespace." + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id", + "path", "body" ], $defs: { "workers_identifier": workers_identifier, "workers_query": workers_query, - "workers_query-by-id": workers_query_by_id, - "workers_query-by-name": workers_query_by_name, - "workers_query-param": workers_query_param, - "workers_schemas-id": workers_schemas_id, + "workers_query-by-id": workers_query$$by$$id, + "workers_query-by-name": workers_query$$by$$name, + "workers_query-param": workers_query$$param, + "workers_schemas-id": workers_schemas$$id, }, }, outputSchema: { @@ -215,10 +236,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_query-result": workers_query_result_output, - "workers_query-value": workers_query_value_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_query-result": workers_query$$result, + "workers_query-value": workers_query$$value, }, }, annotations: { @@ -260,11 +281,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_query-result": workers_query_result_output, - "workers_query-value": workers_query_value_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_query-result": workers_query$$result, + "workers_query-value": workers_query$$value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts b/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts index 7bc5f7694..b71e603a2 100644 --- a/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts +++ b/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-auth_ApprovedSourceResponse` in responses. */ -export const email_auth_ApprovedSourceResponse_output: JsonSchema = { +export const email$$auth_ApprovedSourceResponse: JsonSchema = { "properties": { "created": { "format": "date-time", @@ -49,7 +49,7 @@ export const email_auth_ApprovedSourceResponse_output: JsonSchema = { /** * The schema of `email-auth_DmarcReportResponse` in responses. */ -export const email_auth_DmarcReportResponse_output: JsonSchema = { +export const email$$auth_DmarcReportResponse: JsonSchema = { "properties": { "approved_sources": { "items": { @@ -101,7 +101,7 @@ export const email_auth_DmarcReportResponse_output: JsonSchema = { /** * The schema of `email-auth_DmarcStatus` in responses. */ -export const email_auth_DmarcStatus_output: JsonSchema = { +export const email$$auth_DmarcStatus: JsonSchema = { "enum": [ "missing-dmarc-report", "multiple-dmarc-reports", @@ -115,7 +115,7 @@ export const email_auth_DmarcStatus_output: JsonSchema = { /** * The schema of `email-auth_DnsRecordInfo` in responses. */ -export const email_auth_DnsRecordInfo_output: JsonSchema = { +export const email$$auth_DnsRecordInfo: JsonSchema = { "properties": { "content": { "type": "string" @@ -152,7 +152,7 @@ export const email_auth_DnsRecordInfo_output: JsonSchema = { /** * The schema of `email-auth_ResolvedDmarcRecord` in responses. */ -export const email_auth_ResolvedDmarcRecord_output: JsonSchema = { +export const email$$auth_ResolvedDmarcRecord: JsonSchema = { "properties": { "content": { "type": "string" @@ -167,7 +167,7 @@ export const email_auth_ResolvedDmarcRecord_output: JsonSchema = { /** * The schema of `email-auth_ZoneDnsRecords` in responses. */ -export const email_auth_ZoneDnsRecords_output: JsonSchema = { +export const email$$auth_ZoneDnsRecords: JsonSchema = { "properties": { "bimi_records": { "items": { diff --git a/src/generated/forge-mcp/emailAuth/dmarcReports/schemas.ts b/src/generated/forge-mcp/emailAuth/dmarcReports/schemas.ts index 4c8eb43ce..9cdf23bdd 100644 --- a/src/generated/forge-mcp/emailAuth/dmarcReports/schemas.ts +++ b/src/generated/forge-mcp/emailAuth/dmarcReports/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-auth_ConfigureDmarcReportsRequest`. */ -export const email_auth_ConfigureDmarcReportsRequest: JsonSchema = { +export const email$$auth_ConfigureDmarcReportsRequest: JsonSchema = { "description": "Request body for PATCH /dmarc-reports", "properties": { "enabled": { diff --git a/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts b/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts index 52c39c9f7..fd7625d20 100644 --- a/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts +++ b/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts @@ -3,27 +3,27 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - email_auth_api_response_common_failure_output, - email_auth_api_response_single_output, - email_auth_messages_output, + email$$auth_api$$response$$common$$failure, + email$$auth_api$$response$$single, + email$$auth_messages, } from "../outputs.js"; -import { email_auth_identifier } from "../schemas.js"; +import { email$$auth_identifier } from "../schemas.js"; import { - email_auth_ApprovedSourceResponse_output, - email_auth_DmarcReportResponse_output, - email_auth_DmarcStatus_output, - email_auth_DnsRecordInfo_output, - email_auth_ResolvedDmarcRecord_output, - email_auth_ZoneDnsRecords_output, + email$$auth_ApprovedSourceResponse, + email$$auth_DmarcReportResponse, + email$$auth_DmarcStatus, + email$$auth_DnsRecordInfo, + email$$auth_ResolvedDmarcRecord, + email$$auth_ZoneDnsRecords, } from "./outputs.js"; -import { email_auth_ConfigureDmarcReportsRequest } from "./schemas.js"; +import { email$$auth_ConfigureDmarcReportsRequest } from "./schemas.js"; /** - * The tools of `email_auth.dmarc_reports`. + * The tools of `emailAuth.dmarcReports`. */ export const tools: readonly Tool[] = [ { - name: "email_auth_dmarc_reports_edit", + name: "emailAuth_dmarcReports_edit", title: "Configure DMARC Reports", description: "Updates the DMARC report configuration for a zone.\nAt least one of `enabled` or `skip_wizard` must be provided.\nWhen enabling, the handler will ensure the DMARC RUA record exists in DNS.", inputSchema: { @@ -32,18 +32,26 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email-auth_ConfigureDmarcReportsRequest" }, - "zone_id": { - "$ref": "#/$defs/email-auth_identifier", - "description": "Zone identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email-auth_identifier", + "description": "Zone identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "email-auth_ConfigureDmarcReportsRequest": email_auth_ConfigureDmarcReportsRequest, - "email-auth_identifier": email_auth_identifier, + "email-auth_ConfigureDmarcReportsRequest": email$$auth_ConfigureDmarcReportsRequest, + "email-auth_identifier": email$$auth_identifier, }, }, outputSchema: { @@ -61,14 +69,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-auth_ApprovedSourceResponse": email_auth_ApprovedSourceResponse_output, - "email-auth_DmarcReportResponse": email_auth_DmarcReportResponse_output, - "email-auth_DmarcStatus": email_auth_DmarcStatus_output, - "email-auth_DnsRecordInfo": email_auth_DnsRecordInfo_output, - "email-auth_ResolvedDmarcRecord": email_auth_ResolvedDmarcRecord_output, - "email-auth_ZoneDnsRecords": email_auth_ZoneDnsRecords_output, - "email-auth_api-response-single": email_auth_api_response_single_output, - "email-auth_messages": email_auth_messages_output, + "email-auth_ApprovedSourceResponse": email$$auth_ApprovedSourceResponse, + "email-auth_DmarcReportResponse": email$$auth_DmarcReportResponse, + "email-auth_DmarcStatus": email$$auth_DmarcStatus, + "email-auth_DnsRecordInfo": email$$auth_DnsRecordInfo, + "email-auth_ResolvedDmarcRecord": email$$auth_ResolvedDmarcRecord, + "email-auth_ZoneDnsRecords": email$$auth_ZoneDnsRecords, + "email-auth_api-response-single": email$$auth_api$$response$$single, + "email-auth_messages": email$$auth_messages, }, }, annotations: { @@ -102,15 +110,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-auth_ApprovedSourceResponse": email_auth_ApprovedSourceResponse_output, - "email-auth_DmarcReportResponse": email_auth_DmarcReportResponse_output, - "email-auth_DmarcStatus": email_auth_DmarcStatus_output, - "email-auth_DnsRecordInfo": email_auth_DnsRecordInfo_output, - "email-auth_ResolvedDmarcRecord": email_auth_ResolvedDmarcRecord_output, - "email-auth_ZoneDnsRecords": email_auth_ZoneDnsRecords_output, - "email-auth_api-response-common-failure": email_auth_api_response_common_failure_output, - "email-auth_api-response-single": email_auth_api_response_single_output, - "email-auth_messages": email_auth_messages_output, + "email-auth_ApprovedSourceResponse": email$$auth_ApprovedSourceResponse, + "email-auth_DmarcReportResponse": email$$auth_DmarcReportResponse, + "email-auth_DmarcStatus": email$$auth_DmarcStatus, + "email-auth_DnsRecordInfo": email$$auth_DnsRecordInfo, + "email-auth_ResolvedDmarcRecord": email$$auth_ResolvedDmarcRecord, + "email-auth_ZoneDnsRecords": email$$auth_ZoneDnsRecords, + "email-auth_api-response-common-failure": email$$auth_api$$response$$common$$failure, + "email-auth_api-response-single": email$$auth_api$$response$$single, + "email-auth_messages": email$$auth_messages, }, }, request: (args) => ({ @@ -119,22 +127,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_auth_dmarc_reports_get", + name: "emailAuth_dmarcReports_get", title: "Get DMARC Report Status", description: "Retrieves the current DMARC report configuration and status for a zone.\nReturns the RUA prefix, enabled status, approved sources, and DNS records.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/email-auth_identifier", - "description": "Zone identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email-auth_identifier", + "description": "Zone identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "email-auth_identifier": email_auth_identifier, + "email-auth_identifier": email$$auth_identifier, }, }, outputSchema: { @@ -152,14 +168,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-auth_ApprovedSourceResponse": email_auth_ApprovedSourceResponse_output, - "email-auth_DmarcReportResponse": email_auth_DmarcReportResponse_output, - "email-auth_DmarcStatus": email_auth_DmarcStatus_output, - "email-auth_DnsRecordInfo": email_auth_DnsRecordInfo_output, - "email-auth_ResolvedDmarcRecord": email_auth_ResolvedDmarcRecord_output, - "email-auth_ZoneDnsRecords": email_auth_ZoneDnsRecords_output, - "email-auth_api-response-single": email_auth_api_response_single_output, - "email-auth_messages": email_auth_messages_output, + "email-auth_ApprovedSourceResponse": email$$auth_ApprovedSourceResponse, + "email-auth_DmarcReportResponse": email$$auth_DmarcReportResponse, + "email-auth_DmarcStatus": email$$auth_DmarcStatus, + "email-auth_DnsRecordInfo": email$$auth_DnsRecordInfo, + "email-auth_ResolvedDmarcRecord": email$$auth_ResolvedDmarcRecord, + "email-auth_ZoneDnsRecords": email$$auth_ZoneDnsRecords, + "email-auth_api-response-single": email$$auth_api$$response$$single, + "email-auth_messages": email$$auth_messages, }, }, annotations: { @@ -193,15 +209,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-auth_ApprovedSourceResponse": email_auth_ApprovedSourceResponse_output, - "email-auth_DmarcReportResponse": email_auth_DmarcReportResponse_output, - "email-auth_DmarcStatus": email_auth_DmarcStatus_output, - "email-auth_DnsRecordInfo": email_auth_DnsRecordInfo_output, - "email-auth_ResolvedDmarcRecord": email_auth_ResolvedDmarcRecord_output, - "email-auth_ZoneDnsRecords": email_auth_ZoneDnsRecords_output, - "email-auth_api-response-common-failure": email_auth_api_response_common_failure_output, - "email-auth_api-response-single": email_auth_api_response_single_output, - "email-auth_messages": email_auth_messages_output, + "email-auth_ApprovedSourceResponse": email$$auth_ApprovedSourceResponse, + "email-auth_DmarcReportResponse": email$$auth_DmarcReportResponse, + "email-auth_DmarcStatus": email$$auth_DmarcStatus, + "email-auth_DnsRecordInfo": email$$auth_DnsRecordInfo, + "email-auth_ResolvedDmarcRecord": email$$auth_ResolvedDmarcRecord, + "email-auth_ZoneDnsRecords": email$$auth_ZoneDnsRecords, + "email-auth_api-response-common-failure": email$$auth_api$$response$$common$$failure, + "email-auth_api-response-single": email$$auth_api$$response$$single, + "email-auth_messages": email$$auth_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailAuth/outputs.ts b/src/generated/forge-mcp/emailAuth/outputs.ts index 8dae27e8c..fdc2af169 100644 --- a/src/generated/forge-mcp/emailAuth/outputs.ts +++ b/src/generated/forge-mcp/emailAuth/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `email-auth_api-response-common-failure` in responses. */ -export const email_auth_api_response_common_failure_output: JsonSchema = { +export const email$$auth_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/email-auth_messages" @@ -36,7 +36,7 @@ export const email_auth_api_response_common_failure_output: JsonSchema = { /** * The schema of `email-auth_api-response-single` in responses. */ -export const email_auth_api_response_single_output: JsonSchema = { +export const email$$auth_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/email-auth_messages" @@ -62,7 +62,7 @@ export const email_auth_api_response_single_output: JsonSchema = { /** * The schema of `email-auth_messages` in responses. */ -export const email_auth_messages_output: JsonSchema = { +export const email$$auth_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/emailAuth/schemas.ts b/src/generated/forge-mcp/emailAuth/schemas.ts index a2d4d4857..ebdcba388 100644 --- a/src/generated/forge-mcp/emailAuth/schemas.ts +++ b/src/generated/forge-mcp/emailAuth/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `email-auth_identifier`. */ -export const email_auth_identifier: JsonSchema = { +export const email$$auth_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/emailAuth/spf/outputs.ts b/src/generated/forge-mcp/emailAuth/spf/outputs.ts index e1838f749..7f2f2e0e9 100644 --- a/src/generated/forge-mcp/emailAuth/spf/outputs.ts +++ b/src/generated/forge-mcp/emailAuth/spf/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-auth_InspectError` in responses. */ -export const email_auth_InspectError_output: JsonSchema = { +export const email$$auth_InspectError: JsonSchema = { "properties": { "code": { "type": "string" @@ -32,7 +32,7 @@ export const email_auth_InspectError_output: JsonSchema = { /** * The schema of `email-auth_SpfComponent` in responses. */ -export const email_auth_SpfComponent_output: JsonSchema = { +export const email$$auth_SpfComponent: JsonSchema = { "properties": { "lookup_count": { "type": "integer" @@ -73,7 +73,7 @@ export const email_auth_SpfComponent_output: JsonSchema = { /** * The schema of `email-auth_SpfResult` in responses. */ -export const email_auth_SpfResult_output: JsonSchema = { +export const email$$auth_SpfResult: JsonSchema = { "enum": [ "pass", "neutral", @@ -89,7 +89,7 @@ export const email_auth_SpfResult_output: JsonSchema = { /** * The schema of `email-auth_SpfTree` in responses. */ -export const email_auth_SpfTree_output: JsonSchema = { +export const email$$auth_SpfTree: JsonSchema = { "properties": { "components": { "items": { diff --git a/src/generated/forge-mcp/emailAuth/spf/tools.ts b/src/generated/forge-mcp/emailAuth/spf/tools.ts index 27ec499e5..ed3165c49 100644 --- a/src/generated/forge-mcp/emailAuth/spf/tools.ts +++ b/src/generated/forge-mcp/emailAuth/spf/tools.ts @@ -1,46 +1,62 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_auth_api_response_common_failure_output, - email_auth_api_response_single_output, - email_auth_messages_output, + email$$auth_api$$response$$common$$failure, + email$$auth_api$$response$$single, + email$$auth_messages, } from "../outputs.js"; -import { email_auth_identifier } from "../schemas.js"; +import { email$$auth_identifier } from "../schemas.js"; import { - email_auth_InspectError_output, - email_auth_SpfComponent_output, - email_auth_SpfResult_output, - email_auth_SpfTree_output, + email$$auth_InspectError, + email$$auth_SpfComponent, + email$$auth_SpfResult, + email$$auth_SpfTree, } from "./outputs.js"; /** - * The tools of `email_auth.spf`. + * The tools of `emailAuth.spf`. */ export const tools: readonly Tool[] = [ { - name: "email_auth_spf_inspect", + name: "emailAuth_spf_inspect", title: "Inspect SPF Record", description: "Inspects a specific SPF TXT record and returns a parsed tree structure\nin the spflimit-worker format.\n\nThe record ID must be provided via the `id` query parameter.\n\nReturns a recursive tree showing:\n- Parsed components with their qualifiers and types\n- Nested includes recursively resolved within components\n- Per-component and total lookup counts\n- Detailed error information with context", inputSchema: { type: "object", properties: { - "id": { - "description": "DNS record ID (rec_tag) to inspect", - "type": "string" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email-auth_identifier", + "description": "Zone identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/email-auth_identifier", - "description": "Zone identifier." + "query": { + "properties": { + "id": { + "description": "DNS record ID (rec_tag) to inspect", + "type": "string" + } + }, + "required": [ + "id" + ], + "type": "object" } }, required: [ - "zone_id", - "id" + "path", + "query" ], $defs: { - "email-auth_identifier": email_auth_identifier, + "email-auth_identifier": email$$auth_identifier, }, }, outputSchema: { @@ -58,12 +74,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-auth_InspectError": email_auth_InspectError_output, - "email-auth_SpfComponent": email_auth_SpfComponent_output, - "email-auth_SpfResult": email_auth_SpfResult_output, - "email-auth_SpfTree": email_auth_SpfTree_output, - "email-auth_api-response-single": email_auth_api_response_single_output, - "email-auth_messages": email_auth_messages_output, + "email-auth_InspectError": email$$auth_InspectError, + "email-auth_SpfComponent": email$$auth_SpfComponent, + "email-auth_SpfResult": email$$auth_SpfResult, + "email-auth_SpfTree": email$$auth_SpfTree, + "email-auth_api-response-single": email$$auth_api$$response$$single, + "email-auth_messages": email$$auth_messages, }, }, annotations: { @@ -97,19 +113,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-auth_InspectError": email_auth_InspectError_output, - "email-auth_SpfComponent": email_auth_SpfComponent_output, - "email-auth_SpfResult": email_auth_SpfResult_output, - "email-auth_SpfTree": email_auth_SpfTree_output, - "email-auth_api-response-common-failure": email_auth_api_response_common_failure_output, - "email-auth_api-response-single": email_auth_api_response_single_output, - "email-auth_messages": email_auth_messages_output, + "email-auth_InspectError": email$$auth_InspectError, + "email-auth_SpfComponent": email$$auth_SpfComponent, + "email-auth_SpfResult": email$$auth_SpfResult, + "email-auth_SpfTree": email$$auth_SpfTree, + "email-auth_api-response-common-failure": email$$auth_api$$response$$common$$failure, + "email-auth_api-response-single": email$$auth_api$$response$$single, + "email-auth_messages": email$$auth_messages, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/auth/spf/inspect`, query: [ - ["id", args["id"], true], + ["id", param(args, "query", "id"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailDomains/outputs.ts b/src/generated/forge-mcp/emailDomains/outputs.ts index 5a9c83ac5..4806dec34 100644 --- a/src/generated/forge-mcp/emailDomains/outputs.ts +++ b/src/generated/forge-mcp/emailDomains/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `email_email_domain` in responses. */ -export const email_email_domain_output: JsonSchema = { +export const email_email_domain: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/email_identifier" @@ -83,7 +83,7 @@ export const email_email_domain_output: JsonSchema = { /** * The schema of `email_email_domain_capability` in responses. */ -export const email_email_domain_capability_output: JsonSchema = { +export const email_email_domain_capability: JsonSchema = { "properties": { "reason": { "type": "string" @@ -111,7 +111,7 @@ export const email_email_domain_capability_output: JsonSchema = { /** * The schema of `email_email_domain_change` in responses. */ -export const email_email_domain_change_output: JsonSchema = { +export const email_email_domain_change: JsonSchema = { "properties": { "email_domain": { "$ref": "#/$defs/email_email_domain" @@ -136,7 +136,7 @@ export const email_email_domain_change_output: JsonSchema = { /** * The schema of `email_email_domain_change_collection_response` in responses. */ -export const email_email_domain_change_collection_response_output: JsonSchema = { +export const email_email_domain_change_collection_response: JsonSchema = { "properties": { "errors": { "items": { @@ -200,7 +200,7 @@ export const email_email_domain_change_collection_response_output: JsonSchema = /** * The schema of `email_email_domain_collection_response` in responses. */ -export const email_email_domain_collection_response_output: JsonSchema = { +export const email_email_domain_collection_response: JsonSchema = { "properties": { "errors": { "items": { @@ -256,7 +256,7 @@ export const email_email_domain_collection_response_output: JsonSchema = { /** * The schema of `email_email_domain_dns_record` in responses. */ -export const email_email_domain_dns_record_output: JsonSchema = { +export const email_email_domain_dns_record: JsonSchema = { "properties": { "content": { "type": "string" @@ -338,7 +338,7 @@ export const email_email_domain_dns_record_output: JsonSchema = { /** * The schema of `email_email_domain_error_response` in responses. */ -export const email_email_domain_error_response_output: JsonSchema = { +export const email_email_domain_error_response: JsonSchema = { "properties": { "errors": { "items": { @@ -405,7 +405,7 @@ export const email_email_domain_error_response_output: JsonSchema = { /** * The schema of `email_email_domain_platform_status` in responses. */ -export const email_email_domain_platform_status_output: JsonSchema = { +export const email_email_domain_platform_status: JsonSchema = { "properties": { "routing": { "$ref": "#/$defs/email_email_domain_capability" @@ -424,7 +424,7 @@ export const email_email_domain_platform_status_output: JsonSchema = { /** * The schema of `email_email_domain_response` in responses. */ -export const email_email_domain_response_output: JsonSchema = { +export const email_email_domain_response: JsonSchema = { "properties": { "errors": { "items": { @@ -457,7 +457,7 @@ export const email_email_domain_response_output: JsonSchema = { /** * The schema of `email_email_domain_tombstone` in responses. */ -export const email_email_domain_tombstone_output: JsonSchema = { +export const email_email_domain_tombstone: JsonSchema = { "properties": { "hostname": { "type": "string" @@ -492,7 +492,7 @@ export const email_email_domain_tombstone_output: JsonSchema = { /** * The schema of `email_email_domain_verification` in responses. */ -export const email_email_domain_verification_output: JsonSchema = { +export const email_email_domain_verification: JsonSchema = { "properties": { "expires_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/emailDomains/tools.ts b/src/generated/forge-mcp/emailDomains/tools.ts index 3a98ddf9d..cbad659bf 100644 --- a/src/generated/forge-mcp/emailDomains/tools.ts +++ b/src/generated/forge-mcp/emailDomains/tools.ts @@ -1,73 +1,86 @@ // 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_identifier } from "../schemas.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; +import { email_identifier } from "../outputs.js"; +import { email_identifier as email_identifier$ } from "../schemas.js"; import { - email_email_domain_capability_output, - email_email_domain_change_collection_response_output, - email_email_domain_change_output, - email_email_domain_collection_response_output, - email_email_domain_dns_record_output, - email_email_domain_error_response_output, - email_email_domain_output, - email_email_domain_platform_status_output, - email_email_domain_response_output, - email_email_domain_tombstone_output, - email_email_domain_verification_output, + email_email_domain, + email_email_domain_capability, + email_email_domain_change, + email_email_domain_change_collection_response, + email_email_domain_collection_response, + email_email_domain_dns_record, + email_email_domain_error_response, + email_email_domain_platform_status, + email_email_domain_response, + email_email_domain_tombstone, + email_email_domain_verification, } from "./outputs.js"; import { email_email_domain_create } from "./schemas.js"; /** - * The tools of `email_domains`. + * The tools of `emailDomains`. */ export const tools: readonly Tool[] = [ { - name: "email_domains_changes", + name: "emailDomains_changes", title: "List Email Domain changes", description: "Returns retained domain-specific state changes and completed-removal tombstones in a transaction-safe opaque order. The top-level platform field is the current shared gate and must be combined with each domain's state. Store next_cursor after processing every response, and continue immediately while has_more is true. To take a checkpoint, request this operation with modified_since set to the current time, follow has_more to the end, and save the final next_cursor; it replays every change committed after the first of those requests. Initial bootstrap and error 2086 recovery take a checkpoint, list the full inventory, then replay from the saved checkpoint, so changes made during the inventory are not lost. Only a tombstone proves that a domain was removed. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, - "cursor": { - "description": "Opaque cursor returned by the previous change page. Omit it for the first page.", - "type": "string" - }, - "modified_since": { - "description": "Optional RFC 3339 lower bound for the first request only. Values outside the retained history return error 2086. A value up to one minute ahead of the server clock is read as the current time; a later value returns 400.", - "format": "date-time", - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Maximum changes to return in one page.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" + }, + "query": { + "properties": { + "cursor": { + "description": "Opaque cursor returned by the previous change page. Omit it for the first page.", + "type": "string" + }, + "modified_since": { + "description": "Optional RFC 3339 lower bound for the first request only. Values outside the retained history return error 2086. A value up to one minute ahead of the server clock is read as the current time; a later value returns 400.", + "format": "date-time", + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Maximum changes to return in one page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email_identifier": email_identifier, + "email_identifier": email_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_email_domain_change_collection_response", $defs: { - "email_email_domain": email_email_domain_output, - "email_email_domain_capability": email_email_domain_capability_output, - "email_email_domain_change": email_email_domain_change_output, - "email_email_domain_change_collection_response": email_email_domain_change_collection_response_output, - "email_email_domain_dns_record": email_email_domain_dns_record_output, - "email_email_domain_platform_status": email_email_domain_platform_status_output, - "email_email_domain_tombstone": email_email_domain_tombstone_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_change": email_email_domain_change, + "email_email_domain_change_collection_response": email_email_domain_change_collection_response, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_platform_status": email_email_domain_platform_status, + "email_email_domain_tombstone": email_email_domain_tombstone, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, annotations: { @@ -111,60 +124,68 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email_email_domain": email_email_domain_output, - "email_email_domain_capability": email_email_domain_capability_output, - "email_email_domain_change": email_email_domain_change_output, - "email_email_domain_change_collection_response": email_email_domain_change_collection_response_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_platform_status": email_email_domain_platform_status_output, - "email_email_domain_tombstone": email_email_domain_tombstone_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_change": email_email_domain_change, + "email_email_domain_change_collection_response": email_email_domain_change_collection_response, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_error_response": email_email_domain_error_response, + "email_email_domain_platform_status": email_email_domain_platform_status, + "email_email_domain_tombstone": email_email_domain_tombstone, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/domain-changes`, query: [ - ["per_page", args["per_page"], false], - ["cursor", args["cursor"], false], - ["modified_since", args["modified_since"], false], + ["per_page", param(args, "query", "per_page"), false], + ["cursor", param(args, "query", "cursor"), false], + ["modified_since", param(args, "query", "modified_since"), false], ], }), }, { - name: "email_domains_create", + name: "emailDomains_create", title: "Create an Email Domain", description: "Creates a candidate and four DNS instructions. Rejects hostnames with more than 16 labels or whose assigned Return-Path exceeds 201 ASCII characters; error 2077 names the hostname rule that failed. Creation follows read-only checks of the saved provider bundle and published exclusion. Hostnames inside an active full Cloudflare DNS zone, including zones under a PSL private suffix such as workers.dev, or held by another enrollment, return the generic hostname conflict error 2083. While an earlier enrollment of this account with the same hostname or client_reference is being deleted, create returns error 2084 with Retry-After set to the expected completion time. 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 2089. A full domain quota returns error 2081 and frees only when domains are deleted or candidates expire, so it is not retryable; the create rate limit returns 429 with error 2088 and Retry-After. Requests rejected before the Cloudflare zone check do not count toward the rate limit. Final public-DNS, namespace protection and runtime readiness are separate gates. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/email_email_domain_create" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "email_email_domain_create": email_email_domain_create, - "email_identifier": email_identifier, + "email_identifier": email_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_email_domain_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_response": email_email_domain_response_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_response": email_email_domain_response, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, annotations: { @@ -211,13 +232,13 @@ export const tools: readonly Tool[] = [ } }, $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_response": email_email_domain_response_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_error_response": email_email_domain_error_response, + "email_email_domain_response": email_email_domain_response, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, request: (args) => ({ @@ -226,38 +247,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_domains_delete", + name: "emailDomains_delete", title: "Delete an Email Domain", description: "Requires an empty body. Unclaimed, unpublished candidates are removed immediately after token retirement. Acquired or published resources retain deleting state and claims until the deletion worker acknowledges safe revocation and token retirement: deletion completes after the last authorization FWDR may still hold has expired, up to about 31 minutes after the request. Until then the hostname and client_reference cannot be enrolled again. Repeated requests while deleting are idempotent. Retry-After is the expected time until GET returns 404; follow the Location header after it. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, - "email_domain_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + }, + "email_domain_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "email_domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "email_domain_id" + "path" ], $defs: { - "email_identifier": email_identifier, + "email_identifier": email_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_email_domain_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_response": email_email_domain_response_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_response": email_email_domain_response, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, annotations: { @@ -301,13 +330,13 @@ export const tools: readonly Tool[] = [ } }, $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_response": email_email_domain_response_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_error_response": email_email_domain_error_response, + "email_email_domain_response": email_email_domain_response, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, request: (args) => ({ @@ -315,38 +344,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_domains_get", + name: "emailDomains_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; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, - "email_domain_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + }, + "email_domain_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "email_domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "email_domain_id" + "path" ], $defs: { - "email_identifier": email_identifier, + "email_identifier": email_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_email_domain_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_response": email_email_domain_response_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_response": email_email_domain_response, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, annotations: { @@ -387,13 +424,13 @@ export const tools: readonly Tool[] = [ } }, $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_response": email_email_domain_response_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_error_response": email_email_domain_error_response, + "email_email_domain_response": email_email_domain_response, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, request: (args) => ({ @@ -401,52 +438,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_domains_list", + name: "emailDomains_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; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, - "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" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "per_page": { - "default": 20, - "type": "integer" + "type": "object" + }, + "query": { + "properties": { + "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" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email_identifier": email_identifier, + "email_identifier": email_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_email_domain_collection_response", $defs: { - "email_email_domain": email_email_domain_output, - "email_email_domain_capability": email_email_domain_capability_output, - "email_email_domain_collection_response": email_email_domain_collection_response_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, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_collection_response": email_email_domain_collection_response, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, annotations: { @@ -487,58 +537,66 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email_email_domain": email_email_domain_output, - "email_email_domain_capability": email_email_domain_capability_output, - "email_email_domain_collection_response": email_email_domain_collection_response_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_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_collection_response": email_email_domain_collection_response, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_error_response": email_email_domain_error_response, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, 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], + ["per_page", param(args, "query", "per_page"), false], + ["cursor", param(args, "query", "cursor"), false], + ["hostname", param(args, "query", "hostname"), false], + ["include", param(args, "query", "include"), false], ], }), }, { - name: "email_domains_verify", + name: "emailDomains_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. A repeat within 30 seconds returns error 2082 with the remaining cooldown in Retry-After. Only a request that schedules a check counts toward the account rate limit, error 2088. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, - "email_domain_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + }, + "email_domain_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "email_domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "email_domain_id" + "path" ], $defs: { - "email_identifier": email_identifier, + "email_identifier": email_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_email_domain_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_response": email_email_domain_response_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_response": email_email_domain_response, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, annotations: { @@ -585,13 +643,13 @@ export const tools: readonly Tool[] = [ } }, $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_response": email_email_domain_response_output, - "email_email_domain_verification": email_email_domain_verification_output, - "email_identifier": email_identifier_output, + "email_email_domain": email_email_domain, + "email_email_domain_capability": email_email_domain_capability, + "email_email_domain_dns_record": email_email_domain_dns_record, + "email_email_domain_error_response": email_email_domain_error_response, + "email_email_domain_response": email_email_domain_response, + "email_email_domain_verification": email_email_domain_verification, + "email_identifier": email_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailRouting/addresses/outputs.ts b/src/generated/forge-mcp/emailRouting/addresses/outputs.ts index d7802257c..e197d014b 100644 --- a/src/generated/forge-mcp/emailRouting/addresses/outputs.ts +++ b/src/generated/forge-mcp/emailRouting/addresses/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email_addresses` in responses. */ -export const email_addresses_output: JsonSchema = { +export const email_addresses: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/email_created" @@ -33,14 +33,14 @@ export const email_addresses_output: JsonSchema = { /** * The schema of `email_destination_address_identifier` in responses. */ -export const email_destination_address_identifier_output: JsonSchema = { +export const email_destination_address_identifier: JsonSchema = { "type": "string" }; /** * The schema of `email_destination_address_response_single` in responses. */ -export const email_destination_address_response_single_output: JsonSchema = { +export const email_destination_address_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" @@ -59,14 +59,14 @@ export const email_destination_address_response_single_output: JsonSchema = { /** * The schema of `email_destination_address_tag` in responses. */ -export const email_destination_address_tag_output: JsonSchema = { +export const email_destination_address_tag: JsonSchema = { "type": "string" }; /** * The schema of `email_destination_addresses_response_collection` in responses. */ -export const email_destination_addresses_response_collection_output: JsonSchema = { +export const email_destination_addresses_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-collection" @@ -105,14 +105,14 @@ export const email_destination_addresses_response_collection_output: JsonSchema /** * The schema of `email_email` in responses. */ -export const email_email_output: JsonSchema = { +export const email_email: JsonSchema = { "type": "string" }; /** * The schema of `email_verified` in responses. */ -export const email_verified_output: JsonSchema = { +export const email_verified: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/emailRouting/addresses/tools.ts b/src/generated/forge-mcp/emailRouting/addresses/tools.ts index bd34a7d81..e7c59922b 100644 --- a/src/generated/forge-mcp/emailRouting/addresses/tools.ts +++ b/src/generated/forge-mcp/emailRouting/addresses/tools.ts @@ -1,74 +1,82 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_api_response_collection_output, - email_api_response_common_output, - email_api_response_single_output, - email_created_output, - email_messages_output, - email_modified_output, + email_api$$response$$collection, + email_api$$response$$common, + email_api$$response$$single, + email_created, + email_messages, + email_modified, } from "../../outputs.js"; import { email_identifier } from "../../schemas.js"; import { - email_addresses_output, - email_destination_address_identifier_output, - email_destination_address_response_single_output, - email_destination_address_tag_output, - email_destination_addresses_response_collection_output, - email_email_output, - email_verified_output, + email_addresses, + email_destination_address_identifier, + email_destination_address_response_single, + email_destination_address_tag, + email_destination_addresses_response_collection, + email_email, + email_verified, } from "./outputs.js"; import { email_create_destination_address_properties, - email_destination_address_identifier, - email_email, + email_destination_address_identifier as email_destination_address_identifier$, + email_email as email_email$, email_update_destination_address_properties, } from "./schemas.js"; /** - * The tools of `email_routing.addresses`. + * The tools of `emailRouting.addresses`. */ export const tools: readonly Tool[] = [ { - name: "email_routing_addresses_create", + name: "emailRouting_addresses_create", title: "Create a destination address", description: "Create a destination address to forward your emails to. Destination addresses need to be verified before they can be used.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/email_create_destination_address_properties" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "email_create_destination_address_properties": email_create_destination_address_properties, - "email_email": email_email, + "email_email": email_email$, "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_destination_address_response_single", $defs: { - "email_addresses": email_addresses_output, - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_response_single": email_destination_address_response_single_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_response_single": email_destination_address_response_single, + "email_destination_address_tag": email_destination_address_tag, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, annotations: { @@ -104,16 +112,16 @@ export const tools: readonly Tool[] = [ "422": null }, $defs: { - "email_addresses": email_addresses_output, - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_response_single": email_destination_address_response_single_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_response_single": email_destination_address_response_single, + "email_destination_address_tag": email_destination_address_tag, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, request: (args) => ({ @@ -122,43 +130,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_addresses_delete", + name: "emailRouting_addresses_delete", title: "Delete destination address", description: "Deletes a specific destination address.\n\nConfirm with the user before calling this tool. This operation permanently deletes a destination address.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, - "destination_address_identifier": { - "$ref": "#/$defs/email_destination_address_identifier", - "description": "Destination address identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + }, + "destination_address_identifier": { + "$ref": "#/$defs/email_destination_address_identifier", + "description": "Destination address identifier." + } + }, + "required": [ + "account_id", + "destination_address_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "destination_address_identifier" + "path" ], $defs: { - "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_identifier": email_destination_address_identifier$, "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_destination_address_response_single", $defs: { - "email_addresses": email_addresses_output, - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_response_single": email_destination_address_response_single_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_response_single": email_destination_address_response_single, + "email_destination_address_tag": email_destination_address_tag, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, annotations: { @@ -194,16 +210,16 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_addresses": email_addresses_output, - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_response_single": email_destination_address_response_single_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_response_single": email_destination_address_response_single, + "email_destination_address_tag": email_destination_address_tag, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, request: (args) => ({ @@ -211,43 +227,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_addresses_get", + name: "emailRouting_addresses_get", title: "Get a destination address", description: "Gets information for a specific destination email already created.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, - "destination_address_identifier": { - "$ref": "#/$defs/email_destination_address_identifier", - "description": "Destination address identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + }, + "destination_address_identifier": { + "$ref": "#/$defs/email_destination_address_identifier", + "description": "Destination address identifier." + } + }, + "required": [ + "account_id", + "destination_address_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "destination_address_identifier" + "path" ], $defs: { - "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_identifier": email_destination_address_identifier$, "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_destination_address_response_single", $defs: { - "email_addresses": email_addresses_output, - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_response_single": email_destination_address_response_single_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_response_single": email_destination_address_response_single, + "email_destination_address_tag": email_destination_address_tag, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, annotations: { @@ -284,16 +308,16 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_addresses": email_addresses_output, - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_response_single": email_destination_address_response_single_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_response_single": email_destination_address_response_single, + "email_destination_address_tag": email_destination_address_tag, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, request: (args) => ({ @@ -301,47 +325,60 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_addresses_list", + name: "emailRouting_addresses_list", title: "List destination addresses", description: "Lists destination addresses configured for Email Routing in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, - "direction": { - "default": "asc", - "description": "Sorts results in an ascending or descending order.", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "number" + "type": "object" }, - "verified": { - "default": true, - "description": "Filter by verified destination addresses.", - "enum": [ - true, - false - ], - "type": "boolean" + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "Sorts results in an ascending or descending order.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "number" + }, + "verified": { + "default": true, + "description": "Filter by verified destination addresses.", + "enum": [ + true, + false + ], + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "email_identifier": email_identifier, @@ -350,17 +387,17 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_destination_addresses_response_collection", $defs: { - "email_addresses": email_addresses_output, - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_destination_addresses_response_collection": email_destination_addresses_response_collection_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_tag": email_destination_address_tag, + "email_destination_addresses_response_collection": email_destination_addresses_response_collection, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, annotations: { @@ -397,55 +434,63 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_addresses": email_addresses_output, - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_destination_addresses_response_collection": email_destination_addresses_response_collection_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_tag": email_destination_address_tag, + "email_destination_addresses_response_collection": email_destination_addresses_response_collection, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/routing/addresses`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], - ["verified", args["verified"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], + ["verified", param(args, "query", "verified"), true], ], }), }, { - name: "email_routing_addresses_update", + name: "emailRouting_addresses_update", title: "Update destination address", description: "Updates the status of a specific destination address.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/email_update_destination_address_properties" }, - "destination_address_identifier": { - "$ref": "#/$defs/email_destination_address_identifier", - "description": "Destination address identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + }, + "destination_address_identifier": { + "$ref": "#/$defs/email_destination_address_identifier", + "description": "Destination address identifier." + } + }, + "required": [ + "account_id", + "destination_address_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "destination_address_identifier", + "path", "body" ], $defs: { - "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_identifier": email_destination_address_identifier$, "email_identifier": email_identifier, "email_update_destination_address_properties": email_update_destination_address_properties, }, @@ -453,16 +498,16 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_destination_address_response_single", $defs: { - "email_addresses": email_addresses_output, - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_response_single": email_destination_address_response_single_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_response_single": email_destination_address_response_single, + "email_destination_address_tag": email_destination_address_tag, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, annotations: { @@ -498,16 +543,16 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_addresses": email_addresses_output, - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_destination_address_identifier": email_destination_address_identifier_output, - "email_destination_address_response_single": email_destination_address_response_single_output, - "email_destination_address_tag": email_destination_address_tag_output, - "email_email": email_email_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_verified": email_verified_output, + "email_addresses": email_addresses, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_destination_address_identifier": email_destination_address_identifier, + "email_destination_address_response_single": email_destination_address_response_single, + "email_destination_address_tag": email_destination_address_tag, + "email_email": email_email, + "email_messages": email_messages, + "email_modified": email_modified, + "email_verified": email_verified, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailRouting/dns/tools.ts b/src/generated/forge-mcp/emailRouting/dns/tools.ts index ae67f5b34..eea947941 100644 --- a/src/generated/forge-mcp/emailRouting/dns/tools.ts +++ b/src/generated/forge-mcp/emailRouting/dns/tools.ts @@ -1,71 +1,84 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_api_response_collection_output, - email_api_response_common_output, - email_api_response_single_output, - email_dns_record_output, - email_dns_settings_response_collection_output, - email_messages_output, + email_api$$response$$collection, + email_api$$response$$common, + email_api$$response$$single, + email_dns_record, + email_dns_settings_response_collection, + email_messages, } from "../../outputs.js"; import { email_identifier } from "../../schemas.js"; import { - email_email_setting_created_output, - email_email_setting_enabled_output, - email_email_setting_identifier_output, - email_email_setting_modified_output, - email_email_setting_name_output, - email_email_setting_skip_wizard_output, - email_email_setting_status_output, - email_email_setting_support_subaddress_output, - email_email_setting_tag_output, - email_email_settings_response_single_output, - email_settings_output, + email_email_setting_created, + email_email_setting_enabled, + email_email_setting_identifier, + email_email_setting_modified, + email_email_setting_name, + email_email_setting_skip$$wizard, + email_email_setting_status, + email_email_setting_support_subaddress, + email_email_setting_tag, + email_email_settings_response_single, + email_settings, } from "../outputs.js"; import { email_email_setting_dns_request_body, - email_email_setting_name, + email_email_setting_name as email_email_setting_name$, } from "../schemas.js"; /** - * The tools of `email_routing.dns`. + * The tools of `emailRouting.dns`. */ export const tools: readonly Tool[] = [ { - name: "email_routing_dns_get", + name: "emailRouting_dns_get", title: "Email Routing - DNS settings", description: "Show the DNS records needed to configure your Email Routing zone.", inputSchema: { type: "object", properties: { - "subdomain": { - "$ref": "#/$defs/email_email_setting_name", - "deprecated": true, - "description": "Deprecated. When supplied, the response shape differs from the documented default and is not modeled in generated SDKs. Do not rely on this parameter." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "query": { + "properties": { + "subdomain": { + "$ref": "#/$defs/email_email_setting_name", + "deprecated": true, + "description": "Deprecated. When supplied, the response shape differs from the documented default and is not modeled in generated SDKs. Do not rely on this parameter." + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "email_email_setting_name": email_email_setting_name, + "email_email_setting_name": email_email_setting_name$, "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_dns_settings_response_collection", $defs: { - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_dns_record": email_dns_record_output, - "email_dns_settings_response_collection": email_dns_settings_response_collection_output, - "email_messages": email_messages_output, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_dns_record": email_dns_record, + "email_dns_settings_response_collection": email_dns_settings_response_collection, + "email_messages": email_messages, }, }, annotations: { @@ -102,22 +115,22 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_dns_record": email_dns_record_output, - "email_dns_settings_response_collection": email_dns_settings_response_collection_output, - "email_messages": email_messages_output, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_dns_record": email_dns_record, + "email_dns_settings_response_collection": email_dns_settings_response_collection, + "email_messages": email_messages, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/routing/dns`, query: [ - ["subdomain", args["subdomain"], true], + ["subdomain", param(args, "query", "subdomain"), true], ], }), }, { - name: "email_routing_dns_unlock", + name: "emailRouting_dns_unlock", title: "Unlock Email Routing DNS records", description: "Unlock MX Records previously locked by Email Routing.", inputSchema: { @@ -126,36 +139,44 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_email_setting_dns_request_body" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "email_email_setting_dns_request_body": email_email_setting_dns_request_body, - "email_email_setting_name": email_email_setting_name, + "email_email_setting_name": email_email_setting_name$, "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, annotations: { @@ -191,19 +212,19 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailRouting/outputs.ts b/src/generated/forge-mcp/emailRouting/outputs.ts index 9fba529e5..f4b3c7d3a 100644 --- a/src/generated/forge-mcp/emailRouting/outputs.ts +++ b/src/generated/forge-mcp/emailRouting/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `email_email_setting_created` in responses. */ -export const email_email_setting_created_output: JsonSchema = { +export const email_email_setting_created: JsonSchema = { "format": "date-time", "type": "string" }; @@ -14,7 +14,7 @@ export const email_email_setting_created_output: JsonSchema = { /** * The schema of `email_email_setting_enabled` in responses. */ -export const email_email_setting_enabled_output: JsonSchema = { +export const email_email_setting_enabled: JsonSchema = { "enum": [ true, false @@ -25,14 +25,14 @@ export const email_email_setting_enabled_output: JsonSchema = { /** * The schema of `email_email_setting_identifier` in responses. */ -export const email_email_setting_identifier_output: JsonSchema = { +export const email_email_setting_identifier: JsonSchema = { "type": "string" }; /** * The schema of `email_email_setting_modified` in responses. */ -export const email_email_setting_modified_output: JsonSchema = { +export const email_email_setting_modified: JsonSchema = { "format": "date-time", "type": "string" }; @@ -40,14 +40,14 @@ export const email_email_setting_modified_output: JsonSchema = { /** * The schema of `email_email_setting_name` in responses. */ -export const email_email_setting_name_output: JsonSchema = { +export const email_email_setting_name: JsonSchema = { "type": "string" }; /** * The schema of `email_email_setting_skip-wizard` in responses. */ -export const email_email_setting_skip_wizard_output: JsonSchema = { +export const email_email_setting_skip$$wizard: JsonSchema = { "enum": [ true, false @@ -58,7 +58,7 @@ export const email_email_setting_skip_wizard_output: JsonSchema = { /** * The schema of `email_email_setting_status` in responses. */ -export const email_email_setting_status_output: JsonSchema = { +export const email_email_setting_status: JsonSchema = { "enum": [ "ready", "unconfigured", @@ -72,7 +72,7 @@ export const email_email_setting_status_output: JsonSchema = { /** * The schema of `email_email_setting_support_subaddress` in responses. */ -export const email_email_setting_support_subaddress_output: JsonSchema = { +export const email_email_setting_support_subaddress: JsonSchema = { "enum": [ true, false @@ -83,14 +83,14 @@ export const email_email_setting_support_subaddress_output: JsonSchema = { /** * The schema of `email_email_setting_tag` in responses. */ -export const email_email_setting_tag_output: JsonSchema = { +export const email_email_setting_tag: JsonSchema = { "type": "string" }; /** * The schema of `email_email_settings_response_single` in responses. */ -export const email_email_settings_response_single_output: JsonSchema = { +export const email_email_settings_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" @@ -109,7 +109,7 @@ export const email_email_settings_response_single_output: JsonSchema = { /** * The schema of `email_settings` in responses. */ -export const email_settings_output: JsonSchema = { +export const email_settings: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/email_email_setting_created" diff --git a/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts b/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts index 64187b59f..4b49f284f 100644 --- a/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts +++ b/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email_catch_all_rule` in responses. */ -export const email_catch_all_rule_output: JsonSchema = { +export const email_catch_all_rule: JsonSchema = { "properties": { "actions": { "$ref": "#/$defs/email_rule_catchall-actions" @@ -36,7 +36,7 @@ export const email_catch_all_rule_output: JsonSchema = { /** * The schema of `email_catch_all_rule_response_single` in responses. */ -export const email_catch_all_rule_response_single_output: JsonSchema = { +export const email_catch_all_rule_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" diff --git a/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts b/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts index 610d7db42..997bdf026 100644 --- a/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts +++ b/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts @@ -3,55 +3,63 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - email_api_response_single_output, - email_messages_output, + email_api$$response$$single, + email_messages, } from "../../../outputs.js"; import { email_identifier } from "../../../schemas.js"; import { - email_rule_catchall_action_output, - email_rule_catchall_actions_output, - email_rule_catchall_matcher_output, - email_rule_catchall_matchers_output, - email_rule_enabled_output, - email_rule_identifier_output, - email_rule_name_output, - email_rule_source_output, - email_rule_tag_output, -} from "../outputs.js"; -import { - email_rule_catchall_action, - email_rule_catchall_actions, - email_rule_catchall_matcher, - email_rule_catchall_matchers, + email_rule_catchall$$action, + email_rule_catchall$$actions, + email_rule_catchall$$matcher, + email_rule_catchall$$matchers, email_rule_enabled, + email_rule_identifier, email_rule_name, - email_rule_owner_worker_tag, email_rule_source, + email_rule_tag, +} from "../outputs.js"; +import { + email_rule_catchall$$action as email_rule_catchall$$action$, + email_rule_catchall$$actions as email_rule_catchall$$actions$, + email_rule_catchall$$matcher as email_rule_catchall$$matcher$, + email_rule_catchall$$matchers as email_rule_catchall$$matchers$, + email_rule_enabled as email_rule_enabled$, + email_rule_name as email_rule_name$, + email_rule_owner_worker_tag, + email_rule_source as email_rule_source$, } from "../schemas.js"; import { - email_catch_all_rule_output, - email_catch_all_rule_response_single_output, + email_catch_all_rule, + email_catch_all_rule_response_single, } from "./outputs.js"; import { email_update_catch_all_rule_properties } from "./schemas.js"; /** - * The tools of `email_routing.rules.catch_all`. + * The tools of `emailRouting.rules.catchAll`. */ export const tools: readonly Tool[] = [ { - name: "email_routing_rules_catch_all_get", + name: "emailRouting_rules_catchAll_get", title: "Get catch-all rule", description: "Get information on the default catch-all routing rule.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "email_identifier": email_identifier, @@ -60,19 +68,19 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_catch_all_rule_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_catch_all_rule": email_catch_all_rule_output, - "email_catch_all_rule_response_single": email_catch_all_rule_response_single_output, - "email_messages": email_messages_output, - "email_rule_catchall-action": email_rule_catchall_action_output, - "email_rule_catchall-actions": email_rule_catchall_actions_output, - "email_rule_catchall-matcher": email_rule_catchall_matcher_output, - "email_rule_catchall-matchers": email_rule_catchall_matchers_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_name": email_rule_name_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, + "email_api-response-single": email_api$$response$$single, + "email_catch_all_rule": email_catch_all_rule, + "email_catch_all_rule_response_single": email_catch_all_rule_response_single, + "email_messages": email_messages, + "email_rule_catchall-action": email_rule_catchall$$action, + "email_rule_catchall-actions": email_rule_catchall$$actions, + "email_rule_catchall-matcher": email_rule_catchall$$matcher, + "email_rule_catchall-matchers": email_rule_catchall$$matchers, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_name": email_rule_name, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, }, }, annotations: { @@ -109,19 +117,19 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_catch_all_rule": email_catch_all_rule_output, - "email_catch_all_rule_response_single": email_catch_all_rule_response_single_output, - "email_messages": email_messages_output, - "email_rule_catchall-action": email_rule_catchall_action_output, - "email_rule_catchall-actions": email_rule_catchall_actions_output, - "email_rule_catchall-matcher": email_rule_catchall_matcher_output, - "email_rule_catchall-matchers": email_rule_catchall_matchers_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_name": email_rule_name_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, + "email_api-response-single": email_api$$response$$single, + "email_catch_all_rule": email_catch_all_rule, + "email_catch_all_rule_response_single": email_catch_all_rule_response_single, + "email_messages": email_messages, + "email_rule_catchall-action": email_rule_catchall$$action, + "email_rule_catchall-actions": email_rule_catchall$$actions, + "email_rule_catchall-matcher": email_rule_catchall$$matcher, + "email_rule_catchall-matchers": email_rule_catchall$$matchers, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_name": email_rule_name, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, }, }, request: (args) => ({ @@ -129,7 +137,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_rules_catch_all_update", + name: "emailRouting_rules_catchAll_update", title: "Update catch-all rule", description: "Enable or disable catch-all routing rule, or change action to forward to a specific destination address. Forward actions require exactly one verified destination address.", inputSchema: { @@ -138,44 +146,52 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_update_catch_all_rule_properties" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "email_identifier": email_identifier, - "email_rule_catchall-action": email_rule_catchall_action, - "email_rule_catchall-actions": email_rule_catchall_actions, - "email_rule_catchall-matcher": email_rule_catchall_matcher, - "email_rule_catchall-matchers": email_rule_catchall_matchers, - "email_rule_enabled": email_rule_enabled, - "email_rule_name": email_rule_name, + "email_rule_catchall-action": email_rule_catchall$$action$, + "email_rule_catchall-actions": email_rule_catchall$$actions$, + "email_rule_catchall-matcher": email_rule_catchall$$matcher$, + "email_rule_catchall-matchers": email_rule_catchall$$matchers$, + "email_rule_enabled": email_rule_enabled$, + "email_rule_name": email_rule_name$, "email_rule_owner_worker_tag": email_rule_owner_worker_tag, - "email_rule_source": email_rule_source, + "email_rule_source": email_rule_source$, "email_update_catch_all_rule_properties": email_update_catch_all_rule_properties, }, }, outputSchema: { "$ref": "#/$defs/email_catch_all_rule_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_catch_all_rule": email_catch_all_rule_output, - "email_catch_all_rule_response_single": email_catch_all_rule_response_single_output, - "email_messages": email_messages_output, - "email_rule_catchall-action": email_rule_catchall_action_output, - "email_rule_catchall-actions": email_rule_catchall_actions_output, - "email_rule_catchall-matcher": email_rule_catchall_matcher_output, - "email_rule_catchall-matchers": email_rule_catchall_matchers_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_name": email_rule_name_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, + "email_api-response-single": email_api$$response$$single, + "email_catch_all_rule": email_catch_all_rule, + "email_catch_all_rule_response_single": email_catch_all_rule_response_single, + "email_messages": email_messages, + "email_rule_catchall-action": email_rule_catchall$$action, + "email_rule_catchall-actions": email_rule_catchall$$actions, + "email_rule_catchall-matcher": email_rule_catchall$$matcher, + "email_rule_catchall-matchers": email_rule_catchall$$matchers, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_name": email_rule_name, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, }, }, annotations: { @@ -212,19 +228,19 @@ export const tools: readonly Tool[] = [ "422": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_catch_all_rule": email_catch_all_rule_output, - "email_catch_all_rule_response_single": email_catch_all_rule_response_single_output, - "email_messages": email_messages_output, - "email_rule_catchall-action": email_rule_catchall_action_output, - "email_rule_catchall-actions": email_rule_catchall_actions_output, - "email_rule_catchall-matcher": email_rule_catchall_matcher_output, - "email_rule_catchall-matchers": email_rule_catchall_matchers_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_name": email_rule_name_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, + "email_api-response-single": email_api$$response$$single, + "email_catch_all_rule": email_catch_all_rule, + "email_catch_all_rule_response_single": email_catch_all_rule_response_single, + "email_messages": email_messages, + "email_rule_catchall-action": email_rule_catchall$$action, + "email_rule_catchall-actions": email_rule_catchall$$actions, + "email_rule_catchall-matcher": email_rule_catchall$$matcher, + "email_rule_catchall-matchers": email_rule_catchall$$matchers, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_name": email_rule_name, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailRouting/rules/outputs.ts b/src/generated/forge-mcp/emailRouting/rules/outputs.ts index 28eafc7da..1472fe141 100644 --- a/src/generated/forge-mcp/emailRouting/rules/outputs.ts +++ b/src/generated/forge-mcp/emailRouting/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email_account_rule` in responses. */ -export const email_account_rule_output: JsonSchema = { +export const email_account_rule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_rule_properties" @@ -33,7 +33,7 @@ export const email_account_rule_output: JsonSchema = { /** * The schema of `email_account_rules_plan` in responses. */ -export const email_account_rules_plan_output: JsonSchema = { +export const email_account_rules_plan: JsonSchema = { "properties": { "zones": { "items": { @@ -48,7 +48,7 @@ export const email_account_rules_plan_output: JsonSchema = { /** * The schema of `email_account_rules_plan_change` in responses. */ -export const email_account_rules_plan_change_output: JsonSchema = { +export const email_account_rules_plan_change: JsonSchema = { "properties": { "remote": { "$ref": "#/$defs/email_account_rules_plan_remote_rule" @@ -72,7 +72,7 @@ export const email_account_rules_plan_change_output: JsonSchema = { /** * The schema of `email_account_rules_plan_remote_rule` in responses. */ -export const email_account_rules_plan_remote_rule_output: JsonSchema = { +export const email_account_rules_plan_remote_rule: JsonSchema = { "properties": { "actions": { "$ref": "#/$defs/email_rule_actions" @@ -99,7 +99,7 @@ export const email_account_rules_plan_remote_rule_output: JsonSchema = { /** * The schema of `email_account_rules_plan_response_single` in responses. */ -export const email_account_rules_plan_response_single_output: JsonSchema = { +export const email_account_rules_plan_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" @@ -118,7 +118,7 @@ export const email_account_rules_plan_response_single_output: JsonSchema = { /** * The schema of `email_account_rules_plan_zone` in responses. */ -export const email_account_rules_plan_zone_output: JsonSchema = { +export const email_account_rules_plan_zone: JsonSchema = { "properties": { "changes": { "items": { @@ -139,7 +139,7 @@ export const email_account_rules_plan_zone_output: JsonSchema = { /** * The schema of `email_account_rules_response_collection` in responses. */ -export const email_account_rules_response_collection_output: JsonSchema = { +export const email_account_rules_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-collection" @@ -178,7 +178,7 @@ export const email_account_rules_response_collection_output: JsonSchema = { /** * The schema of `email_rule_action` in responses. */ -export const email_rule_action_output: JsonSchema = { +export const email_rule_action: JsonSchema = { "properties": { "type": { "enum": [ @@ -205,7 +205,7 @@ export const email_rule_action_output: JsonSchema = { /** * The schema of `email_rule_actions` in responses. */ -export const email_rule_actions_output: JsonSchema = { +export const email_rule_actions: JsonSchema = { "items": { "$ref": "#/$defs/email_rule_action" }, @@ -217,7 +217,7 @@ export const email_rule_actions_output: JsonSchema = { /** * The schema of `email_rule_catchall-action` in responses. */ -export const email_rule_catchall_action_output: JsonSchema = { +export const email_rule_catchall$$action: JsonSchema = { "properties": { "type": { "enum": [ @@ -244,7 +244,7 @@ export const email_rule_catchall_action_output: JsonSchema = { /** * The schema of `email_rule_catchall-actions` in responses. */ -export const email_rule_catchall_actions_output: JsonSchema = { +export const email_rule_catchall$$actions: JsonSchema = { "items": { "$ref": "#/$defs/email_rule_catchall-action" }, @@ -256,7 +256,7 @@ export const email_rule_catchall_actions_output: JsonSchema = { /** * The schema of `email_rule_catchall-matcher` in responses. */ -export const email_rule_catchall_matcher_output: JsonSchema = { +export const email_rule_catchall$$matcher: JsonSchema = { "properties": { "type": { "enum": [ @@ -274,7 +274,7 @@ export const email_rule_catchall_matcher_output: JsonSchema = { /** * The schema of `email_rule_catchall-matchers` in responses. */ -export const email_rule_catchall_matchers_output: JsonSchema = { +export const email_rule_catchall$$matchers: JsonSchema = { "items": { "$ref": "#/$defs/email_rule_catchall-matcher" }, @@ -284,7 +284,7 @@ export const email_rule_catchall_matchers_output: JsonSchema = { /** * The schema of `email_rule_enabled` in responses. */ -export const email_rule_enabled_output: JsonSchema = { +export const email_rule_enabled: JsonSchema = { "enum": [ true, false @@ -295,14 +295,14 @@ export const email_rule_enabled_output: JsonSchema = { /** * The schema of `email_rule_identifier` in responses. */ -export const email_rule_identifier_output: JsonSchema = { +export const email_rule_identifier: JsonSchema = { "type": "string" }; /** * The schema of `email_rule_matcher` in responses. */ -export const email_rule_matcher_output: JsonSchema = { +export const email_rule_matcher: JsonSchema = { "properties": { "field": { "enum": [ @@ -330,7 +330,7 @@ export const email_rule_matcher_output: JsonSchema = { /** * The schema of `email_rule_matchers` in responses. */ -export const email_rule_matchers_output: JsonSchema = { +export const email_rule_matchers: JsonSchema = { "items": { "$ref": "#/$defs/email_rule_matcher" }, @@ -340,21 +340,21 @@ export const email_rule_matchers_output: JsonSchema = { /** * The schema of `email_rule_name` in responses. */ -export const email_rule_name_output: JsonSchema = { +export const email_rule_name: JsonSchema = { "type": "string" }; /** * The schema of `email_rule_priority` in responses. */ -export const email_rule_priority_output: JsonSchema = { +export const email_rule_priority: JsonSchema = { "type": "number" }; /** * The schema of `email_rule_properties` in responses. */ -export const email_rule_properties_output: JsonSchema = { +export const email_rule_properties: JsonSchema = { "properties": { "actions": { "$ref": "#/$defs/email_rule_actions" @@ -387,7 +387,7 @@ export const email_rule_properties_output: JsonSchema = { /** * The schema of `email_rule_response_single` in responses. */ -export const email_rule_response_single_output: JsonSchema = { +export const email_rule_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" @@ -406,7 +406,7 @@ export const email_rule_response_single_output: JsonSchema = { /** * The schema of `email_rule_source` in responses. */ -export const email_rule_source_output: JsonSchema = { +export const email_rule_source: JsonSchema = { "enum": [ "api", "wrangler" @@ -417,14 +417,14 @@ export const email_rule_source_output: JsonSchema = { /** * The schema of `email_rule_tag` in responses. */ -export const email_rule_tag_output: JsonSchema = { +export const email_rule_tag: JsonSchema = { "type": "string" }; /** * The schema of `email_rules` in responses. */ -export const email_rules_output: JsonSchema = { +export const email_rules: JsonSchema = { "properties": { "actions": { "$ref": "#/$defs/email_rule_actions" diff --git a/src/generated/forge-mcp/emailRouting/rules/schemas.ts b/src/generated/forge-mcp/emailRouting/rules/schemas.ts index 99178a3ee..5a2cb873c 100644 --- a/src/generated/forge-mcp/emailRouting/rules/schemas.ts +++ b/src/generated/forge-mcp/emailRouting/rules/schemas.ts @@ -195,7 +195,7 @@ export const email_rule_actions: JsonSchema = { /** * The schema of `email_rule_catchall-action`. */ -export const email_rule_catchall_action: JsonSchema = { +export const email_rule_catchall$$action: JsonSchema = { "description": "Action for the catch-all routing rule.", "properties": { "type": { @@ -225,7 +225,7 @@ export const email_rule_catchall_action: JsonSchema = { /** * The schema of `email_rule_catchall-actions`. */ -export const email_rule_catchall_actions: JsonSchema = { +export const email_rule_catchall$$actions: JsonSchema = { "description": "List actions for the catch-all routing rule.", "items": { "$ref": "#/$defs/email_rule_catchall-action" @@ -238,7 +238,7 @@ export const email_rule_catchall_actions: JsonSchema = { /** * The schema of `email_rule_catchall-matcher`. */ -export const email_rule_catchall_matcher: JsonSchema = { +export const email_rule_catchall$$matcher: JsonSchema = { "description": "Matcher for catch-all routing rule.", "properties": { "type": { @@ -258,7 +258,7 @@ export const email_rule_catchall_matcher: JsonSchema = { /** * The schema of `email_rule_catchall-matchers`. */ -export const email_rule_catchall_matchers: JsonSchema = { +export const email_rule_catchall$$matchers: JsonSchema = { "description": "List of matchers for the catch-all routing rule.", "items": { "$ref": "#/$defs/email_rule_catchall-matcher" diff --git a/src/generated/forge-mcp/emailRouting/rules/tools.ts b/src/generated/forge-mcp/emailRouting/rules/tools.ts index 60a78c4fd..1f87e6be0 100644 --- a/src/generated/forge-mcp/emailRouting/rules/tools.ts +++ b/src/generated/forge-mcp/emailRouting/rules/tools.ts @@ -1,66 +1,66 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_api_response_collection_output, - email_api_response_common_output, - email_api_response_single_output, - email_identifier_output, - email_messages_output, + email_api$$response$$collection, + email_api$$response$$common, + email_api$$response$$single, + email_identifier, + email_messages, } from "../../outputs.js"; -import { email_identifier } from "../../schemas.js"; +import { email_identifier as email_identifier$ } from "../../schemas.js"; import { - email_account_rule_output, - email_account_rules_plan_change_output, - email_account_rules_plan_output, - email_account_rules_plan_remote_rule_output, - email_account_rules_plan_response_single_output, - email_account_rules_plan_zone_output, - email_account_rules_response_collection_output, - email_rule_action_output, - email_rule_actions_output, - email_rule_enabled_output, - email_rule_identifier_output, - email_rule_matcher_output, - email_rule_matchers_output, - email_rule_name_output, - email_rule_priority_output, - email_rule_properties_output, - email_rule_response_single_output, - email_rule_source_output, - email_rule_tag_output, - email_rules_output, -} from "./outputs.js"; -import { - email_account_rules_plan_catch_all_entry, - email_account_rules_plan_catch_all_rule, - email_account_rules_plan_request, - email_account_rules_plan_rule, - email_create_rule_properties, + email_account_rule, + email_account_rules_plan, + email_account_rules_plan_change, + email_account_rules_plan_remote_rule, + email_account_rules_plan_response_single, + email_account_rules_plan_zone, + email_account_rules_response_collection, email_rule_action, email_rule_actions, - email_rule_catchall_action, - email_rule_catchall_actions, - email_rule_catchall_matcher, - email_rule_catchall_matchers, email_rule_enabled, email_rule_identifier, email_rule_matcher, email_rule_matchers, email_rule_name, - email_rule_owner_worker_tag, email_rule_priority, + email_rule_properties, + email_rule_response_single, email_rule_source, + email_rule_tag, + email_rules, +} from "./outputs.js"; +import { + email_account_rules_plan_catch_all_entry, + email_account_rules_plan_catch_all_rule, + email_account_rules_plan_request, + email_account_rules_plan_rule, + email_create_rule_properties, + email_rule_action as email_rule_action$, + email_rule_actions as email_rule_actions$, + email_rule_catchall$$action, + email_rule_catchall$$actions, + email_rule_catchall$$matcher, + email_rule_catchall$$matchers, + email_rule_enabled as email_rule_enabled$, + email_rule_identifier as email_rule_identifier$, + email_rule_matcher as email_rule_matcher$, + email_rule_matchers as email_rule_matchers$, + email_rule_name as email_rule_name$, + email_rule_owner_worker_tag, + email_rule_priority as email_rule_priority$, + email_rule_source as email_rule_source$, email_update_rule_properties, } from "./schemas.js"; /** - * The tools of `email_routing.rules`. + * The tools of `emailRouting.rules`. */ export const tools: readonly Tool[] = [ { - name: "email_routing_rules_create", + name: "emailRouting_rules_create", title: "Create routing rule", description: "Rules consist of a set of criteria for matching emails (such as an email being sent to a specific custom email address) plus a set of actions to take on the email (like forwarding it to a specific destination address). Forward actions require exactly one verified destination address.", inputSchema: { @@ -69,46 +69,54 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_create_rule_properties" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "email_create_rule_properties": email_create_rule_properties, - "email_identifier": email_identifier, + "email_identifier": email_identifier$, + "email_rule_action": email_rule_action$, + "email_rule_actions": email_rule_actions$, + "email_rule_enabled": email_rule_enabled$, + "email_rule_matcher": email_rule_matcher$, + "email_rule_matchers": email_rule_matchers$, + "email_rule_name": email_rule_name$, + "email_rule_owner_worker_tag": email_rule_owner_worker_tag, + "email_rule_priority": email_rule_priority$, + "email_rule_source": email_rule_source$, + }, + }, + outputSchema: { + "$ref": "#/$defs/email_rule_response_single", + $defs: { + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, "email_rule_name": email_rule_name, - "email_rule_owner_worker_tag": email_rule_owner_worker_tag, "email_rule_priority": email_rule_priority, + "email_rule_response_single": email_rule_response_single, "email_rule_source": email_rule_source, - }, - }, - outputSchema: { - "$ref": "#/$defs/email_rule_response_single", - $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_response_single": email_rule_response_single_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, - "email_rules": email_rules_output, + "email_rule_tag": email_rule_tag, + "email_rules": email_rules, }, }, annotations: { @@ -145,20 +153,20 @@ export const tools: readonly Tool[] = [ "422": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_response_single": email_rule_response_single_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, - "email_rules": email_rules_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_name": email_rule_name, + "email_rule_priority": email_rule_priority, + "email_rule_response_single": email_rule_response_single, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, + "email_rules": email_rules, }, }, request: (args) => ({ @@ -167,47 +175,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_rules_delete", + name: "emailRouting_rules_delete", title: "Delete routing rule", description: "Deletes a routing rule so matching incoming messages are no longer forwarded by it.\n\nConfirm with the user before calling this tool. This operation permanently deletes an Email Routing rule.", inputSchema: { type: "object", properties: { - "rule_identifier": { - "$ref": "#/$defs/email_rule_identifier", - "description": "Routing rule identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "rule_identifier": { + "$ref": "#/$defs/email_rule_identifier", + "description": "Routing rule identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "rule_identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "rule_identifier" + "path" ], $defs: { - "email_identifier": email_identifier, - "email_rule_identifier": email_rule_identifier, + "email_identifier": email_identifier$, + "email_rule_identifier": email_rule_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_rule_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_response_single": email_rule_response_single_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, - "email_rules": email_rules_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_name": email_rule_name, + "email_rule_priority": email_rule_priority, + "email_rule_response_single": email_rule_response_single, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, + "email_rules": email_rules, }, }, annotations: { @@ -243,20 +259,20 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_response_single": email_rule_response_single_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, - "email_rules": email_rules_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_name": email_rule_name, + "email_rule_priority": email_rule_priority, + "email_rule_response_single": email_rule_response_single, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, + "email_rules": email_rules, }, }, request: (args) => ({ @@ -264,47 +280,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_rules_get", + name: "emailRouting_rules_get", title: "Get routing rule", description: "Get information for a specific routing rule already created.", inputSchema: { type: "object", properties: { - "rule_identifier": { - "$ref": "#/$defs/email_rule_identifier", - "description": "Routing rule identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "rule_identifier": { + "$ref": "#/$defs/email_rule_identifier", + "description": "Routing rule identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "rule_identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "rule_identifier" + "path" ], $defs: { - "email_identifier": email_identifier, - "email_rule_identifier": email_rule_identifier, + "email_identifier": email_identifier$, + "email_rule_identifier": email_rule_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_rule_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_response_single": email_rule_response_single_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, - "email_rules": email_rules_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_name": email_rule_name, + "email_rule_priority": email_rule_priority, + "email_rule_response_single": email_rule_response_single, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, + "email_rules": email_rules, }, }, annotations: { @@ -341,20 +365,20 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_response_single": email_rule_response_single_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, - "email_rules": email_rules_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_name": email_rule_name, + "email_rule_priority": email_rule_priority, + "email_rule_response_single": email_rule_response_single, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, + "email_rules": email_rules, }, }, request: (args) => ({ @@ -362,70 +386,83 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_rules_list_account", + name: "emailRouting_rules_listAccount", title: "List account or zone routing rules", description: "Lists existing routing rules across all zones in the account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" + "type": "object" }, - "account_or_zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "enabled": { - "description": "Filter by enabled routing rules.", - "enum": [ - true, - false - ], - "type": "boolean" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "number" + "query": { + "properties": { + "enabled": { + "description": "Filter by enabled routing rules.", + "enum": [ + true, + false + ], + "type": "boolean" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "email_identifier": email_identifier, + "email_identifier": email_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_account_rules_response_collection", $defs: { - "email_account_rule": email_account_rule_output, - "email_account_rules_response_collection": email_account_rules_response_collection_output, - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_properties": email_rule_properties_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, + "email_account_rule": email_account_rule, + "email_account_rules_response_collection": email_account_rules_response_collection, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_name": email_rule_name, + "email_rule_priority": email_rule_priority, + "email_rule_properties": email_rule_properties, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, }, }, annotations: { @@ -454,50 +491,58 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_account_rule": email_account_rule_output, - "email_account_rules_response_collection": email_account_rules_response_collection_output, - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_properties": email_rule_properties_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, + "email_account_rule": email_account_rule, + "email_account_rules_response_collection": email_account_rules_response_collection, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_name": email_rule_name, + "email_rule_priority": email_rule_priority, + "email_rule_properties": email_rule_properties, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/email/routing/rules`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["enabled", args["enabled"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["enabled", param(args, "query", "enabled"), true], ], }), }, { - name: "email_routing_rules_plan", + name: "emailRouting_rules_plan", title: "Plan account routing rule changes", description: "Computes the Email Routing rule changes that would be needed to reconcile a Wrangler-managed desired ruleset. This endpoint is read-only and does not create, update, or delete rules.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/email_account_rules_plan_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -505,37 +550,37 @@ export const tools: readonly Tool[] = [ "email_account_rules_plan_catch_all_rule": email_account_rules_plan_catch_all_rule, "email_account_rules_plan_request": email_account_rules_plan_request, "email_account_rules_plan_rule": email_account_rules_plan_rule, - "email_identifier": email_identifier, - "email_rule_action": email_rule_action, - "email_rule_actions": email_rule_actions, - "email_rule_catchall-action": email_rule_catchall_action, - "email_rule_catchall-actions": email_rule_catchall_actions, - "email_rule_catchall-matcher": email_rule_catchall_matcher, - "email_rule_catchall-matchers": email_rule_catchall_matchers, - "email_rule_enabled": email_rule_enabled, - "email_rule_matcher": email_rule_matcher, - "email_rule_matchers": email_rule_matchers, + "email_identifier": email_identifier$, + "email_rule_action": email_rule_action$, + "email_rule_actions": email_rule_actions$, + "email_rule_catchall-action": email_rule_catchall$$action, + "email_rule_catchall-actions": email_rule_catchall$$actions, + "email_rule_catchall-matcher": email_rule_catchall$$matcher, + "email_rule_catchall-matchers": email_rule_catchall$$matchers, + "email_rule_enabled": email_rule_enabled$, + "email_rule_matcher": email_rule_matcher$, + "email_rule_matchers": email_rule_matchers$, "email_rule_owner_worker_tag": email_rule_owner_worker_tag, }, }, outputSchema: { "$ref": "#/$defs/email_account_rules_plan_response_single", $defs: { - "email_account_rules_plan": email_account_rules_plan_output, - "email_account_rules_plan_change": email_account_rules_plan_change_output, - "email_account_rules_plan_remote_rule": email_account_rules_plan_remote_rule_output, - "email_account_rules_plan_response_single": email_account_rules_plan_response_single_output, - "email_account_rules_plan_zone": email_account_rules_plan_zone_output, - "email_api-response-single": email_api_response_single_output, - "email_identifier": email_identifier_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_source": email_rule_source_output, + "email_account_rules_plan": email_account_rules_plan, + "email_account_rules_plan_change": email_account_rules_plan_change, + "email_account_rules_plan_remote_rule": email_account_rules_plan_remote_rule, + "email_account_rules_plan_response_single": email_account_rules_plan_response_single, + "email_account_rules_plan_zone": email_account_rules_plan_zone, + "email_api-response-single": email_api$$response$$single, + "email_identifier": email_identifier, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_source": email_rule_source, }, }, annotations: { @@ -566,21 +611,21 @@ export const tools: readonly Tool[] = [ "422": null }, $defs: { - "email_account_rules_plan": email_account_rules_plan_output, - "email_account_rules_plan_change": email_account_rules_plan_change_output, - "email_account_rules_plan_remote_rule": email_account_rules_plan_remote_rule_output, - "email_account_rules_plan_response_single": email_account_rules_plan_response_single_output, - "email_account_rules_plan_zone": email_account_rules_plan_zone_output, - "email_api-response-single": email_api_response_single_output, - "email_identifier": email_identifier_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_source": email_rule_source_output, + "email_account_rules_plan": email_account_rules_plan, + "email_account_rules_plan_change": email_account_rules_plan_change, + "email_account_rules_plan_remote_rule": email_account_rules_plan_remote_rule, + "email_account_rules_plan_response_single": email_account_rules_plan_response_single, + "email_account_rules_plan_zone": email_account_rules_plan_zone, + "email_api-response-single": email_api$$response$$single, + "email_identifier": email_identifier, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_source": email_rule_source, }, }, request: (args) => ({ @@ -589,7 +634,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_rules_update", + name: "emailRouting_rules_update", title: "Update routing rule", description: "Update actions and matches, or enable/disable specific routing rules. Forward actions require exactly one verified destination address.", inputSchema: { @@ -598,22 +643,48 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_update_rule_properties" }, - "rule_identifier": { - "$ref": "#/$defs/email_rule_identifier", - "description": "Routing rule identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "rule_identifier": { + "$ref": "#/$defs/email_rule_identifier", + "description": "Routing rule identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "rule_identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "rule_identifier", + "path", "body" ], $defs: { - "email_identifier": email_identifier, + "email_identifier": email_identifier$, + "email_rule_action": email_rule_action$, + "email_rule_actions": email_rule_actions$, + "email_rule_enabled": email_rule_enabled$, + "email_rule_identifier": email_rule_identifier$, + "email_rule_matcher": email_rule_matcher$, + "email_rule_matchers": email_rule_matchers$, + "email_rule_name": email_rule_name$, + "email_rule_owner_worker_tag": email_rule_owner_worker_tag, + "email_rule_priority": email_rule_priority$, + "email_rule_source": email_rule_source$, + "email_update_rule_properties": email_update_rule_properties, + }, + }, + outputSchema: { + "$ref": "#/$defs/email_rule_response_single", + $defs: { + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, "email_rule_enabled": email_rule_enabled, @@ -621,29 +692,11 @@ export const tools: readonly Tool[] = [ "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, "email_rule_name": email_rule_name, - "email_rule_owner_worker_tag": email_rule_owner_worker_tag, "email_rule_priority": email_rule_priority, + "email_rule_response_single": email_rule_response_single, "email_rule_source": email_rule_source, - "email_update_rule_properties": email_update_rule_properties, - }, - }, - outputSchema: { - "$ref": "#/$defs/email_rule_response_single", - $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_response_single": email_rule_response_single_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, - "email_rules": email_rules_output, + "email_rule_tag": email_rule_tag, + "email_rules": email_rules, }, }, annotations: { @@ -680,20 +733,20 @@ export const tools: readonly Tool[] = [ "422": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_rule_action": email_rule_action_output, - "email_rule_actions": email_rule_actions_output, - "email_rule_enabled": email_rule_enabled_output, - "email_rule_identifier": email_rule_identifier_output, - "email_rule_matcher": email_rule_matcher_output, - "email_rule_matchers": email_rule_matchers_output, - "email_rule_name": email_rule_name_output, - "email_rule_priority": email_rule_priority_output, - "email_rule_response_single": email_rule_response_single_output, - "email_rule_source": email_rule_source_output, - "email_rule_tag": email_rule_tag_output, - "email_rules": email_rules_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_rule_action": email_rule_action, + "email_rule_actions": email_rule_actions, + "email_rule_enabled": email_rule_enabled, + "email_rule_identifier": email_rule_identifier, + "email_rule_matcher": email_rule_matcher, + "email_rule_matchers": email_rule_matchers, + "email_rule_name": email_rule_name, + "email_rule_priority": email_rule_priority, + "email_rule_response_single": email_rule_response_single, + "email_rule_source": email_rule_source, + "email_rule_tag": email_rule_tag, + "email_rules": email_rules, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailRouting/settings/tools.ts b/src/generated/forge-mcp/emailRouting/settings/tools.ts index 2eff5de40..25eff465e 100644 --- a/src/generated/forge-mcp/emailRouting/settings/tools.ts +++ b/src/generated/forge-mcp/emailRouting/settings/tools.ts @@ -2,32 +2,29 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - email_api_response_single_output, - email_messages_output, -} from "../../outputs.js"; +import { email_api$$response$$single, email_messages } from "../../outputs.js"; import { email_identifier } from "../../schemas.js"; import { - email_email_setting_created_output, - email_email_setting_enabled_output, - email_email_setting_identifier_output, - email_email_setting_modified_output, - email_email_setting_name_output, - email_email_setting_skip_wizard_output, - email_email_setting_status_output, - email_email_setting_support_subaddress_output, - email_email_setting_tag_output, - email_email_settings_response_single_output, - email_settings_output, + email_email_setting_created, + email_email_setting_enabled, + email_email_setting_identifier, + email_email_setting_modified, + email_email_setting_name, + email_email_setting_skip$$wizard, + email_email_setting_status, + email_email_setting_support_subaddress, + email_email_setting_tag, + email_email_settings_response_single, + email_settings, } from "../outputs.js"; import { email_update_email_routing_settings_properties } from "./schemas.js"; /** - * The tools of `email_routing.settings`. + * The tools of `emailRouting.settings`. */ export const tools: readonly Tool[] = [ { - name: "email_routing_settings_apply", + name: "emailRouting_settings_apply", title: "Apply Email Routing settings", description: "Apply the provided settings to your Email Routing zone. Omitted settings retain their current values, as with PATCH.", inputSchema: { @@ -36,13 +33,21 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_update_email_routing_settings_properties" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { @@ -53,19 +58,19 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, annotations: { @@ -101,19 +106,19 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, request: (args) => ({ @@ -122,19 +127,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_settings_get", + name: "emailRouting_settings_get", title: "Get Email Routing settings", description: "Get information about the settings for your Email Routing zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "email_identifier": email_identifier, @@ -143,19 +156,19 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, annotations: { @@ -192,19 +205,19 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, request: (args) => ({ @@ -212,7 +225,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_settings_update", + name: "emailRouting_settings_update", title: "Update Email Routing settings", description: "Update the settings for your Email Routing zone.", inputSchema: { @@ -221,13 +234,21 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_update_email_routing_settings_properties" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { @@ -238,19 +259,19 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, annotations: { @@ -286,19 +307,19 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailRouting/tools.ts b/src/generated/forge-mcp/emailRouting/tools.ts index 38b10266d..eb91b736d 100644 --- a/src/generated/forge-mcp/emailRouting/tools.ts +++ b/src/generated/forge-mcp/emailRouting/tools.ts @@ -2,35 +2,32 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; -import { - email_api_response_single_output, - email_messages_output, -} from "../outputs.js"; +import { email_api$$response$$single, email_messages } from "../outputs.js"; import { email_identifier } from "../schemas.js"; import { - email_email_setting_created_output, - email_email_setting_enabled_output, - email_email_setting_identifier_output, - email_email_setting_modified_output, - email_email_setting_name_output, - email_email_setting_skip_wizard_output, - email_email_setting_status_output, - email_email_setting_support_subaddress_output, - email_email_setting_tag_output, - email_email_settings_response_single_output, - email_settings_output, + email_email_setting_created, + email_email_setting_enabled, + email_email_setting_identifier, + email_email_setting_modified, + email_email_setting_name, + email_email_setting_skip$$wizard, + email_email_setting_status, + email_email_setting_support_subaddress, + email_email_setting_tag, + email_email_settings_response_single, + email_settings, } from "./outputs.js"; import { email_email_setting_dns_request_body, - email_email_setting_name, + email_email_setting_name as email_email_setting_name$, } from "./schemas.js"; /** - * The tools of `email_routing`. + * The tools of `emailRouting`. */ export const tools: readonly Tool[] = [ { - name: "email_routing_disable", + name: "emailRouting_disable", title: "Disable Email Routing", description: "Disable your Email Routing zone. Also removes additional MX records previously required for Email Routing to work.\n\nConfirm with the user before calling this tool. This operation disables Email Routing and removes its DNS records.", inputSchema: { @@ -39,36 +36,44 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_email_setting_dns_request_body" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "email_email_setting_dns_request_body": email_email_setting_dns_request_body, - "email_email_setting_name": email_email_setting_name, + "email_email_setting_name": email_email_setting_name$, "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, annotations: { @@ -99,19 +104,19 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, request: (args) => ({ @@ -120,7 +125,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_routing_enable", + name: "emailRouting_enable", title: "Enable Email Routing", description: "Enable your Email Routing zone. Add and lock the necessary MX and SPF records.", inputSchema: { @@ -129,36 +134,44 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_email_setting_dns_request_body" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "email_email_setting_dns_request_body": email_email_setting_dns_request_body, - "email_email_setting_name": email_email_setting_name, + "email_email_setting_name": email_email_setting_name$, "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, annotations: { @@ -194,19 +207,19 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_email_setting_created": email_email_setting_created_output, - "email_email_setting_enabled": email_email_setting_enabled_output, - "email_email_setting_identifier": email_email_setting_identifier_output, - "email_email_setting_modified": email_email_setting_modified_output, - "email_email_setting_name": email_email_setting_name_output, - "email_email_setting_skip-wizard": email_email_setting_skip_wizard_output, - "email_email_setting_status": email_email_setting_status_output, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress_output, - "email_email_setting_tag": email_email_setting_tag_output, - "email_email_settings_response_single": email_email_settings_response_single_output, - "email_messages": email_messages_output, - "email_settings": email_settings_output, + "email_api-response-single": email_api$$response$$single, + "email_email_setting_created": email_email_setting_created, + "email_email_setting_enabled": email_email_setting_enabled, + "email_email_setting_identifier": email_email_setting_identifier, + "email_email_setting_modified": email_email_setting_modified, + "email_email_setting_name": email_email_setting_name, + "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, + "email_email_setting_status": email_email_setting_status, + "email_email_setting_support_subaddress": email_email_setting_support_subaddress, + "email_email_setting_tag": email_email_setting_tag, + "email_email_settings_response_single": email_email_settings_response_single, + "email_messages": email_messages, + "email_settings": email_settings, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts b/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts index 0f2a2533d..65539443b 100644 --- a/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_AllowPolicy` in responses. */ -export const email_security_AllowPolicy_output: JsonSchema = { +export const email$$security_AllowPolicy: JsonSchema = { "properties": { "comments": { "oneOf": [ @@ -83,7 +83,7 @@ export const email_security_AllowPolicy_output: JsonSchema = { /** * The schema of `email-security_AllowPolicyId` in responses. */ -export const email_security_AllowPolicyId_output: JsonSchema = { +export const email$$security_AllowPolicyId: JsonSchema = { "format": "uuid", "type": "string" }; @@ -91,7 +91,7 @@ export const email_security_AllowPolicyId_output: JsonSchema = { /** * The schema of `email-security_AllowPolicyList` in responses. */ -export const email_security_AllowPolicyList_output: JsonSchema = { +export const email$$security_AllowPolicyList: JsonSchema = { "items": { "$ref": "#/$defs/email-security_AllowPolicy" }, @@ -101,7 +101,7 @@ export const email_security_AllowPolicyList_output: JsonSchema = { /** * The schema of `email-security_DeletedAllowPolicy` in responses. */ -export const email_security_DeletedAllowPolicy_output: JsonSchema = { +export const email$$security_DeletedAllowPolicy: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/email-security_AllowPolicyId" diff --git a/src/generated/forge-mcp/emailSecurity/allowPolicies/schemas.ts b/src/generated/forge-mcp/emailSecurity/allowPolicies/schemas.ts index f9b2822dc..cb19a3166 100644 --- a/src/generated/forge-mcp/emailSecurity/allowPolicies/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/allowPolicies/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_AllowPolicyId`. */ -export const email_security_AllowPolicyId: JsonSchema = { +export const email$$security_AllowPolicyId: JsonSchema = { "description": "Allow policy identifier.", "format": "uuid", "type": "string" @@ -15,7 +15,7 @@ export const email_security_AllowPolicyId: JsonSchema = { /** * The schema of `email-security_CreateAllowPolicy`. */ -export const email_security_CreateAllowPolicy: JsonSchema = { +export const email$$security_CreateAllowPolicy: JsonSchema = { "description": "Create an allow policy.", "properties": { "comments": { @@ -98,7 +98,7 @@ export const email_security_CreateAllowPolicy: JsonSchema = { /** * The schema of `email-security_UpdateAllowPolicy`. */ -export const email_security_UpdateAllowPolicy: JsonSchema = { +export const email$$security_UpdateAllowPolicy: JsonSchema = { "description": "Update an allow policy.", "properties": { "comments": { diff --git a/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts b/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts index cd9ad9e22..01cada12a 100644 --- a/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts @@ -1,47 +1,43 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_PatternType_output, - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_api_response_single_output, - email_security_messages_output, - email_security_timestamp_output, + email$$security_PatternType, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, + email$$security_timestamp, } from "../outputs.js"; import { - email_security_PatternType, - email_security_identifier, + email$$security_PatternType as email$$security_PatternType$, + email$$security_identifier, } from "../schemas.js"; import { - email_security_AllowPolicyId_output, - email_security_AllowPolicyList_output, - email_security_AllowPolicy_output, - email_security_DeletedAllowPolicy_output, + email$$security_AllowPolicy, + email$$security_AllowPolicyId, + email$$security_AllowPolicyList, + email$$security_DeletedAllowPolicy, } from "./outputs.js"; import { - email_security_AllowPolicyId, - email_security_CreateAllowPolicy, - email_security_UpdateAllowPolicy, + email$$security_AllowPolicyId as email$$security_AllowPolicyId$, + email$$security_CreateAllowPolicy, + email$$security_UpdateAllowPolicy, } from "./schemas.js"; /** - * The tools of `email_security.allow_policies`. + * The tools of `emailSecurity.allowPolicies`. */ export const tools: readonly Tool[] = [ { - name: "email_security_allow_policies_batch", + name: "emailSecurity_allowPolicies_batch", title: "Batch allow policy operations", description: "Executes multiple allow policy operations atomically: delete, partially update,\nreplace, and create allow policies in a single request. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected allow policies and restore normal security scanning and disposition actions for matching emails.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "deletes": { @@ -123,18 +119,30 @@ export const tools: readonly Tool[] = [ "puts" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_AllowPolicyId": email_security_AllowPolicyId, - "email-security_CreateAllowPolicy": email_security_CreateAllowPolicy, - "email-security_PatternType": email_security_PatternType, - "email-security_UpdateAllowPolicy": email_security_UpdateAllowPolicy, - "email-security_identifier": email_security_identifier, + "email-security_AllowPolicyId": email$$security_AllowPolicyId$, + "email-security_CreateAllowPolicy": email$$security_CreateAllowPolicy, + "email-security_PatternType": email$$security_PatternType$, + "email-security_UpdateAllowPolicy": email$$security_UpdateAllowPolicy, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -169,14 +177,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_AllowPolicyList": email_security_AllowPolicyList_output, - "email-security_DeletedAllowPolicy": email_security_DeletedAllowPolicy_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_AllowPolicyList": email$$security_AllowPolicyList, + "email-security_DeletedAllowPolicy": email$$security_DeletedAllowPolicy, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -233,15 +241,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_AllowPolicyList": email_security_AllowPolicyList_output, - "email-security_DeletedAllowPolicy": email_security_DeletedAllowPolicy_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_AllowPolicyList": email$$security_AllowPolicyList, + "email-security_DeletedAllowPolicy": email$$security_DeletedAllowPolicy, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -250,28 +258,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_allow_policies_create", + name: "emailSecurity_allowPolicies_create", title: "Create email allow policy", description: "Creates a new allow policy that exempts matching emails from security detections. Use with caution as this bypasses email security scanning. Policies can match on sender patterns and apply to specific detections or all detections.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateAllowPolicy" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateAllowPolicy": email_security_CreateAllowPolicy, - "email-security_PatternType": email_security_PatternType, - "email-security_identifier": email_security_identifier, + "email-security_CreateAllowPolicy": email$$security_CreateAllowPolicy, + "email-security_PatternType": email$$security_PatternType$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -289,12 +305,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -334,13 +350,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -349,28 +365,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_allow_policies_delete", + name: "emailSecurity_allowPolicies_delete", title: "Delete an email allow policy", description: "Removes an allow policy. After deletion, emails matching this pattern will be subject to normal security scanning and disposition actions.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the allow policy and restores normal security scanning and disposition actions for matching emails.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "policy_id": { - "$ref": "#/$defs/email-security_AllowPolicyId", - "description": "Allow policy identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "policy_id": { + "$ref": "#/$defs/email-security_AllowPolicyId", + "description": "Allow policy identifier." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "email-security_AllowPolicyId": email_security_AllowPolicyId, - "email-security_identifier": email_security_identifier, + "email-security_AllowPolicyId": email$$security_AllowPolicyId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -388,10 +412,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_DeletedAllowPolicy": email_security_DeletedAllowPolicy_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_DeletedAllowPolicy": email$$security_DeletedAllowPolicy, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -431,11 +455,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_DeletedAllowPolicy": email_security_DeletedAllowPolicy_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_DeletedAllowPolicy": email$$security_DeletedAllowPolicy, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -443,34 +467,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_allow_policies_edit", + name: "emailSecurity_allowPolicies_edit", title: "Update an email allow policy", description: "Updates an existing allow policy. Only provided fields will be modified. Changes take effect for new emails matching the pattern.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_UpdateAllowPolicy" }, - "policy_id": { - "$ref": "#/$defs/email-security_AllowPolicyId", - "description": "Allow policy identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "policy_id": { + "$ref": "#/$defs/email-security_AllowPolicyId", + "description": "Allow policy identifier." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", + "path", "body" ], $defs: { - "email-security_AllowPolicyId": email_security_AllowPolicyId, - "email-security_PatternType": email_security_PatternType, - "email-security_UpdateAllowPolicy": email_security_UpdateAllowPolicy, - "email-security_identifier": email_security_identifier, + "email-security_AllowPolicyId": email$$security_AllowPolicyId$, + "email-security_PatternType": email$$security_PatternType$, + "email-security_UpdateAllowPolicy": email$$security_UpdateAllowPolicy, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -488,12 +520,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -533,13 +565,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -548,28 +580,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_allow_policies_get", + name: "emailSecurity_allowPolicies_get", title: "Get an email allow policy", description: "Retrieves details for a specific allow policy including its pattern, dispositions that are exempted, and whether it applies to all detections.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "policy_id": { - "$ref": "#/$defs/email-security_AllowPolicyId", - "description": "Allow policy identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "policy_id": { + "$ref": "#/$defs/email-security_AllowPolicyId", + "description": "Allow policy identifier." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "email-security_AllowPolicyId": email_security_AllowPolicyId, - "email-security_identifier": email_security_identifier, + "email-security_AllowPolicyId": email$$security_AllowPolicyId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -587,12 +627,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -633,13 +673,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -647,81 +687,94 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_allow_policies_list", + name: "emailSecurity_allowPolicies_list", title: "List email allow policies", description: "Returns a paginated list of email allow policies. These policies exempt matching emails from security detection, allowing them to bypass disposition actions. Supports filtering by pattern type and policy attributes.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "direction": { - "description": "The sorting direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "expired": { - "description": "Filter to return only expired policies (`true`) or only policies that still apply (`false`). Omit to return both.", - "type": "boolean" - }, - "is_acceptable_sender": { - "description": "Filter to show only policies where messages from the sender are exempted from Spam, Spoof, and Bulk dispositions (not Malicious or Suspicious).", - "type": "boolean" - }, - "is_exempt_recipient": { - "description": "Filter to show only policies where messages to the recipient bypass all detections.", - "type": "boolean" - }, - "is_trusted_sender": { - "description": "Filter to show only policies where messages from the sender bypass all detections and link following.", - "type": "boolean" - }, - "order": { - "description": "Field to sort by.", - "enum": [ - "pattern", - "created_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "pattern": { - "description": "Filter by exact pattern value.", - "type": "string" - }, - "pattern_type": { - "$ref": "#/$defs/email-security_PatternType", - "description": "Filter by pattern type." - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" - }, - "search": { - "description": "Search term for filtering records. Behavior may change.", - "type": "string" + "type": "object" }, - "verify_sender": { - "description": "Filter to show only policies that enforce DMARC, SPF, or DKIM authentication.", - "type": "boolean" + "query": { + "properties": { + "direction": { + "description": "The sorting direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "expired": { + "description": "Filter to return only expired policies (`true`) or only policies that still apply (`false`). Omit to return both.", + "type": "boolean" + }, + "is_acceptable_sender": { + "description": "Filter to show only policies where messages from the sender are exempted from Spam, Spoof, and Bulk dispositions (not Malicious or Suspicious).", + "type": "boolean" + }, + "is_exempt_recipient": { + "description": "Filter to show only policies where messages to the recipient bypass all detections.", + "type": "boolean" + }, + "is_trusted_sender": { + "description": "Filter to show only policies where messages from the sender bypass all detections and link following.", + "type": "boolean" + }, + "order": { + "description": "Field to sort by.", + "enum": [ + "pattern", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "pattern": { + "description": "Filter by exact pattern value.", + "type": "string" + }, + "pattern_type": { + "$ref": "#/$defs/email-security_PatternType", + "description": "Filter by pattern type." + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "search": { + "description": "Search term for filtering records. Behavior may change.", + "type": "string" + }, + "verify_sender": { + "description": "Filter to show only policies that enforce DMARC, SPF, or DKIM authentication.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_PatternType": email_security_PatternType, - "email-security_identifier": email_security_identifier, + "email-security_PatternType": email$$security_PatternType$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -739,14 +792,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_AllowPolicyList": email_security_AllowPolicyList_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_AllowPolicyList": email$$security_AllowPolicyList, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -787,64 +840,72 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_AllowPolicyList": email_security_AllowPolicyList_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_AllowPolicyList": email$$security_AllowPolicyList, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/allow_policies`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["is_exempt_recipient", args["is_exempt_recipient"], true], - ["is_trusted_sender", args["is_trusted_sender"], true], - ["is_acceptable_sender", args["is_acceptable_sender"], true], - ["verify_sender", args["verify_sender"], true], - ["pattern_type", args["pattern_type"], true], - ["pattern", args["pattern"], true], - ["expired", args["expired"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["is_exempt_recipient", param(args, "query", "is_exempt_recipient"), true], + ["is_trusted_sender", param(args, "query", "is_trusted_sender"), true], + ["is_acceptable_sender", param(args, "query", "is_acceptable_sender"), true], + ["verify_sender", param(args, "query", "verify_sender"), true], + ["pattern_type", param(args, "query", "pattern_type"), true], + ["pattern", param(args, "query", "pattern"), true], + ["expired", param(args, "query", "expired"), true], ], }), }, { - name: "email_security_allow_policies_update", + name: "emailSecurity_allowPolicies_update", title: "Replace an email allow policy", description: "Replaces an existing allow policy in full. Unlike PATCH, every field is taken from the request body, so optional fields that are omitted are reset rather than left untouched. Use this when managing policies declaratively.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateAllowPolicy" }, - "policy_id": { - "$ref": "#/$defs/email-security_AllowPolicyId", - "description": "Allow policy identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "policy_id": { + "$ref": "#/$defs/email-security_AllowPolicyId", + "description": "Allow policy identifier." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", + "path", "body" ], $defs: { - "email-security_AllowPolicyId": email_security_AllowPolicyId, - "email-security_CreateAllowPolicy": email_security_CreateAllowPolicy, - "email-security_PatternType": email_security_PatternType, - "email-security_identifier": email_security_identifier, + "email-security_AllowPolicyId": email$$security_AllowPolicyId$, + "email-security_CreateAllowPolicy": email$$security_CreateAllowPolicy, + "email-security_PatternType": email$$security_PatternType$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -862,12 +923,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -904,13 +965,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_AllowPolicy": email_security_AllowPolicy_output, - "email-security_AllowPolicyId": email_security_AllowPolicyId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_AllowPolicy": email$$security_AllowPolicy, + "email-security_AllowPolicyId": email$$security_AllowPolicyId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts b/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts index a3b76abf8..6a6050567 100644 --- a/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts @@ -3,33 +3,41 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - email_security_api_response_common_failure_output, - email_security_api_response_single_output, - email_security_messages_output, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, } from "../../outputs.js"; -import { email_security_identifier } from "../../schemas.js"; +import { email$$security_identifier } from "../../schemas.js"; /** - * The tools of `email_security.analytics.monthly_report`. + * The tools of `emailSecurity.analytics.monthlyReport`. */ export const tools: readonly Tool[] = [ { - name: "email_security_analytics_monthly_report_get", + name: "emailSecurity_analytics_monthlyReport_get", title: "Get monthly report", description: "Returns an aggregated monthly email security report including detections, dispositions, and policy activity for the trailing 12 months.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_identifier": email_security_identifier, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -66,8 +74,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -124,9 +132,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts b/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts index ae18592c1..431a462c5 100644 --- a/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_BlockedSender` in responses. */ -export const email_security_BlockedSender_output: JsonSchema = { +export const email$$security_BlockedSender: JsonSchema = { "properties": { "comments": { "oneOf": [ @@ -57,7 +57,7 @@ export const email_security_BlockedSender_output: JsonSchema = { /** * The schema of `email-security_BlockedSenderId` in responses. */ -export const email_security_BlockedSenderId_output: JsonSchema = { +export const email$$security_BlockedSenderId: JsonSchema = { "format": "uuid", "type": "string" }; @@ -65,7 +65,7 @@ export const email_security_BlockedSenderId_output: JsonSchema = { /** * The schema of `email-security_BlockedSenderList` in responses. */ -export const email_security_BlockedSenderList_output: JsonSchema = { +export const email$$security_BlockedSenderList: JsonSchema = { "items": { "$ref": "#/$defs/email-security_BlockedSender" }, @@ -75,7 +75,7 @@ export const email_security_BlockedSenderList_output: JsonSchema = { /** * The schema of `email-security_DeletedBlockedSender` in responses. */ -export const email_security_DeletedBlockedSender_output: JsonSchema = { +export const email$$security_DeletedBlockedSender: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/email-security_BlockedSenderId" diff --git a/src/generated/forge-mcp/emailSecurity/blockSenders/schemas.ts b/src/generated/forge-mcp/emailSecurity/blockSenders/schemas.ts index 8ccaacd89..ce2243fc5 100644 --- a/src/generated/forge-mcp/emailSecurity/blockSenders/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/blockSenders/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_BlockedSenderId`. */ -export const email_security_BlockedSenderId: JsonSchema = { +export const email$$security_BlockedSenderId: JsonSchema = { "description": "Blocked sender pattern identifier.", "format": "uuid", "type": "string" @@ -15,7 +15,7 @@ export const email_security_BlockedSenderId: JsonSchema = { /** * The schema of `email-security_CreateBlockedSender`. */ -export const email_security_CreateBlockedSender: JsonSchema = { +export const email$$security_CreateBlockedSender: JsonSchema = { "description": "Create a blocked sender pattern.", "properties": { "comments": { @@ -64,7 +64,7 @@ export const email_security_CreateBlockedSender: JsonSchema = { /** * The schema of `email-security_UpdateBlockedSender`. */ -export const email_security_UpdateBlockedSender: JsonSchema = { +export const email$$security_UpdateBlockedSender: JsonSchema = { "description": "Update a blocked sender pattern.", "properties": { "comments": { diff --git a/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts b/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts index 3e7456b3d..d9686779b 100644 --- a/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts @@ -1,47 +1,43 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_PatternType_output, - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_api_response_single_output, - email_security_messages_output, - email_security_timestamp_output, + email$$security_PatternType, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, + email$$security_timestamp, } from "../outputs.js"; import { - email_security_PatternType, - email_security_identifier, + email$$security_PatternType as email$$security_PatternType$, + email$$security_identifier, } from "../schemas.js"; import { - email_security_BlockedSenderId_output, - email_security_BlockedSenderList_output, - email_security_BlockedSender_output, - email_security_DeletedBlockedSender_output, + email$$security_BlockedSender, + email$$security_BlockedSenderId, + email$$security_BlockedSenderList, + email$$security_DeletedBlockedSender, } from "./outputs.js"; import { - email_security_BlockedSenderId, - email_security_CreateBlockedSender, - email_security_UpdateBlockedSender, + email$$security_BlockedSenderId as email$$security_BlockedSenderId$, + email$$security_CreateBlockedSender, + email$$security_UpdateBlockedSender, } from "./schemas.js"; /** - * The tools of `email_security.block_senders`. + * The tools of `emailSecurity.blockSenders`. */ export const tools: readonly Tool[] = [ { - name: "email_security_block_senders_batch", + name: "emailSecurity_blockSenders_batch", title: "Batch blocked sender operations", description: "Executes multiple blocked sender operations atomically: delete, partially update,\nreplace, and create blocked sender patterns in a single request. All four operation\narrays (deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected blocked sender patterns and stop automatically blocking matching emails based on those rules.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "deletes": { @@ -123,18 +119,30 @@ export const tools: readonly Tool[] = [ "puts" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_BlockedSenderId": email_security_BlockedSenderId, - "email-security_CreateBlockedSender": email_security_CreateBlockedSender, - "email-security_PatternType": email_security_PatternType, - "email-security_UpdateBlockedSender": email_security_UpdateBlockedSender, - "email-security_identifier": email_security_identifier, + "email-security_BlockedSenderId": email$$security_BlockedSenderId$, + "email-security_CreateBlockedSender": email$$security_CreateBlockedSender, + "email-security_PatternType": email$$security_PatternType$, + "email-security_UpdateBlockedSender": email$$security_UpdateBlockedSender, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -169,14 +177,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_BlockedSenderList": email_security_BlockedSenderList_output, - "email-security_DeletedBlockedSender": email_security_DeletedBlockedSender_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_BlockedSenderList": email$$security_BlockedSenderList, + "email-security_DeletedBlockedSender": email$$security_DeletedBlockedSender, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -233,15 +241,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_BlockedSenderList": email_security_BlockedSenderList_output, - "email-security_DeletedBlockedSender": email_security_DeletedBlockedSender_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_BlockedSenderList": email$$security_BlockedSenderList, + "email-security_DeletedBlockedSender": email$$security_DeletedBlockedSender, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -250,28 +258,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_block_senders_create", + name: "emailSecurity_blockSenders_create", title: "Create blocked email sender", description: "Creates a new blocked sender pattern. Emails matching this pattern will be blocked from delivery. Patterns can be email addresses, domains, or IP addresses, and support regular expressions.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateBlockedSender" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateBlockedSender": email_security_CreateBlockedSender, - "email-security_PatternType": email_security_PatternType, - "email-security_identifier": email_security_identifier, + "email-security_CreateBlockedSender": email$$security_CreateBlockedSender, + "email-security_PatternType": email$$security_PatternType$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -289,12 +305,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -334,13 +350,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -349,28 +365,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_block_senders_delete", + name: "emailSecurity_blockSenders_delete", title: "Delete a blocked email sender", description: "Removes a blocked sender pattern. After deletion, emails from this sender will no longer be automatically blocked based on this rule.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the blocked sender pattern and stops automatically blocking matching emails based on this rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "pattern_id": { - "$ref": "#/$defs/email-security_BlockedSenderId", - "description": "Blocked sender pattern identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "pattern_id": { + "$ref": "#/$defs/email-security_BlockedSenderId", + "description": "Blocked sender pattern identifier." + } + }, + "required": [ + "account_id", + "pattern_id" + ], + "type": "object" } }, required: [ - "account_id", - "pattern_id" + "path" ], $defs: { - "email-security_BlockedSenderId": email_security_BlockedSenderId, - "email-security_identifier": email_security_identifier, + "email-security_BlockedSenderId": email$$security_BlockedSenderId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -388,10 +412,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_DeletedBlockedSender": email_security_DeletedBlockedSender_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_DeletedBlockedSender": email$$security_DeletedBlockedSender, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -431,11 +455,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_DeletedBlockedSender": email_security_DeletedBlockedSender_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_DeletedBlockedSender": email$$security_DeletedBlockedSender, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -443,34 +467,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_block_senders_edit", + name: "emailSecurity_blockSenders_edit", title: "Update a blocked email sender", description: "Updates an existing blocked sender pattern. Only provided fields will be modified. The pattern will continue blocking emails until deleted.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_UpdateBlockedSender" }, - "pattern_id": { - "$ref": "#/$defs/email-security_BlockedSenderId", - "description": "Blocked sender pattern identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "pattern_id": { + "$ref": "#/$defs/email-security_BlockedSenderId", + "description": "Blocked sender pattern identifier." + } + }, + "required": [ + "account_id", + "pattern_id" + ], + "type": "object" } }, required: [ - "account_id", - "pattern_id", + "path", "body" ], $defs: { - "email-security_BlockedSenderId": email_security_BlockedSenderId, - "email-security_PatternType": email_security_PatternType, - "email-security_UpdateBlockedSender": email_security_UpdateBlockedSender, - "email-security_identifier": email_security_identifier, + "email-security_BlockedSenderId": email$$security_BlockedSenderId$, + "email-security_PatternType": email$$security_PatternType$, + "email-security_UpdateBlockedSender": email$$security_UpdateBlockedSender, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -488,12 +520,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -533,13 +565,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -548,28 +580,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_block_senders_get", + name: "emailSecurity_blockSenders_get", title: "Get a blocked email sender", description: "Retrieves details for a specific blocked sender pattern including its pattern type, value, and metadata.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "pattern_id": { - "$ref": "#/$defs/email-security_BlockedSenderId", - "description": "Blocked sender pattern identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "pattern_id": { + "$ref": "#/$defs/email-security_BlockedSenderId", + "description": "Blocked sender pattern identifier." + } + }, + "required": [ + "account_id", + "pattern_id" + ], + "type": "object" } }, required: [ - "account_id", - "pattern_id" + "path" ], $defs: { - "email-security_BlockedSenderId": email_security_BlockedSenderId, - "email-security_identifier": email_security_identifier, + "email-security_BlockedSenderId": email$$security_BlockedSenderId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -587,12 +627,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -633,13 +673,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -647,65 +687,78 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_block_senders_list", + name: "emailSecurity_blockSenders_list", title: "List blocked email senders", description: "Returns a paginated list of blocked email sender patterns. These patterns prevent emails from matching senders from being delivered. Supports filtering by pattern type and searching across patterns.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "direction": { - "description": "The sorting direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "expired": { - "description": "Filter to return only expired patterns (`true`) or only patterns that still apply (`false`). Omit to return both.", - "type": "boolean" - }, - "order": { - "description": "Field to sort by.", - "enum": [ - "pattern", - "created_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "pattern": { - "description": "Filter by pattern value.", - "type": "string" - }, - "pattern_type": { - "$ref": "#/$defs/email-security_PatternType", - "description": "Filter by pattern type." - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" + "type": "object" }, - "search": { - "description": "Search term for filtering records. Behavior may change.", - "type": "string" + "query": { + "properties": { + "direction": { + "description": "The sorting direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "expired": { + "description": "Filter to return only expired patterns (`true`) or only patterns that still apply (`false`). Omit to return both.", + "type": "boolean" + }, + "order": { + "description": "Field to sort by.", + "enum": [ + "pattern", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "pattern": { + "description": "Filter by pattern value.", + "type": "string" + }, + "pattern_type": { + "$ref": "#/$defs/email-security_PatternType", + "description": "Filter by pattern type." + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "search": { + "description": "Search term for filtering records. Behavior may change.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_PatternType": email_security_PatternType, - "email-security_identifier": email_security_identifier, + "email-security_PatternType": email$$security_PatternType$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -723,14 +776,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_BlockedSenderList": email_security_BlockedSenderList_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_BlockedSenderList": email$$security_BlockedSenderList, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -771,60 +824,68 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_BlockedSenderList": email_security_BlockedSenderList_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_BlockedSenderList": email$$security_BlockedSenderList, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/block_senders`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["pattern_type", args["pattern_type"], true], - ["pattern", args["pattern"], true], - ["expired", args["expired"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["pattern_type", param(args, "query", "pattern_type"), true], + ["pattern", param(args, "query", "pattern"), true], + ["expired", param(args, "query", "expired"), true], ], }), }, { - name: "email_security_block_senders_update", + name: "emailSecurity_blockSenders_update", title: "Replace a blocked email sender", description: "Replaces an existing blocked sender pattern in full. Unlike PATCH, every field is taken from the request body, so optional fields that are omitted are reset rather than left untouched. Use this when managing blocked senders declaratively.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateBlockedSender" }, - "pattern_id": { - "$ref": "#/$defs/email-security_BlockedSenderId", - "description": "Blocked sender pattern identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "pattern_id": { + "$ref": "#/$defs/email-security_BlockedSenderId", + "description": "Blocked sender pattern identifier." + } + }, + "required": [ + "account_id", + "pattern_id" + ], + "type": "object" } }, required: [ - "account_id", - "pattern_id", + "path", "body" ], $defs: { - "email-security_BlockedSenderId": email_security_BlockedSenderId, - "email-security_CreateBlockedSender": email_security_CreateBlockedSender, - "email-security_PatternType": email_security_PatternType, - "email-security_identifier": email_security_identifier, + "email-security_BlockedSenderId": email$$security_BlockedSenderId$, + "email-security_CreateBlockedSender": email$$security_CreateBlockedSender, + "email-security_PatternType": email$$security_PatternType$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -842,12 +903,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -884,13 +945,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BlockedSender": email_security_BlockedSender_output, - "email-security_BlockedSenderId": email_security_BlockedSenderId_output, - "email-security_PatternType": email_security_PatternType_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_BlockedSender": email$$security_BlockedSender, + "email-security_BlockedSenderId": email$$security_BlockedSenderId, + "email-security_PatternType": email$$security_PatternType, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts index 2ca89f33a..67b9e01b6 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email-security_BulkActionMessageDetail` in responses. */ -export const email_security_BulkActionMessageDetail_output: JsonSchema = { +export const email$$security_BulkActionMessageDetail: JsonSchema = { "properties": { "action_params": { "$ref": "#/$defs/email-security_BulkMessageActionParams" @@ -106,7 +106,7 @@ export const email_security_BulkActionMessageDetail_output: JsonSchema = { /** * The schema of `email-security_BulkActionMessageStatus` in responses. */ -export const email_security_BulkActionMessageStatus_output: JsonSchema = { +export const email$$security_BulkActionMessageStatus: JsonSchema = { "enum": [ "PENDING", "PROCESSING", @@ -121,7 +121,7 @@ export const email_security_BulkActionMessageStatus_output: JsonSchema = { /** * The schema of `email-security_BulkMessageActionParams` in responses. */ -export const email_security_BulkMessageActionParams_output: JsonSchema = { +export const email$$security_BulkMessageActionParams: JsonSchema = { "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/schemas.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/schemas.ts index 4ed991480..20b972b32 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email-security_BulkActionMessageStatus`. */ -export const email_security_BulkActionMessageStatus: JsonSchema = { +export const email$$security_BulkActionMessageStatus: JsonSchema = { "description": "Status of a message within a bulk action job.", "enum": [ "PENDING", diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts index 1075cc2d8..22b4712b4 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts @@ -1,74 +1,87 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - email_security_ActionLogEntry_output, - email_security_CursorResultInfo_output, - email_security_DispositionLabel_output, - email_security_InvestigateId_output, - email_security_MailboxDestination_output, - email_security_MessageDeliveryMode_output, - email_security_MessageDeliveryStatus_output, - email_security_MessageDetails_output, - email_security_PostfixId_output, - email_security_ValidationStatus_output, - email_security_Validation_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_messages_output, + email$$security_ActionLogEntry, + email$$security_CursorResultInfo, + email$$security_DispositionLabel, + email$$security_InvestigateId, + email$$security_MailboxDestination, + email$$security_MessageDeliveryMode, + email$$security_MessageDeliveryStatus, + email$$security_MessageDetails, + email$$security_PostfixId, + email$$security_Validation, + email$$security_ValidationStatus, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_messages, } from "../../outputs.js"; -import { email_security_identifier } from "../../schemas.js"; -import { email_security_BulkJobId } from "../schemas.js"; +import { email$$security_identifier } from "../../schemas.js"; +import { email$$security_BulkJobId } from "../schemas.js"; import { - email_security_BulkActionMessageDetail_output, - email_security_BulkActionMessageStatus_output, - email_security_BulkMessageActionParams_output, + email$$security_BulkActionMessageDetail, + email$$security_BulkActionMessageStatus, + email$$security_BulkMessageActionParams, } from "./outputs.js"; -import { email_security_BulkActionMessageStatus } from "./schemas.js"; +import { email$$security_BulkActionMessageStatus as email$$security_BulkActionMessageStatus$ } from "./schemas.js"; /** - * The tools of `email_security.bulk_actions.messages`. + * The tools of `emailSecurity.bulkActions.messages`. */ export const tools: readonly Tool[] = [ { - name: "email_security_bulk_actions_messages_list", + name: "emailSecurity_bulkActions_messages_list", title: "List messages for a bulk action job", description: "Returns the individual messages associated with a bulk action job, including their processing status.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "job_id": { - "$ref": "#/$defs/email-security_BulkJobId", - "description": "Identifier of the bulk action job whose messages to list." - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "job_id": { + "$ref": "#/$defs/email-security_BulkJobId", + "description": "Identifier of the bulk action job whose messages to list." + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" }, - "status": { - "$ref": "#/$defs/email-security_BulkActionMessageStatus", - "description": "Filter the job's messages by their processing status." + "query": { + "properties": { + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "status": { + "$ref": "#/$defs/email-security_BulkActionMessageStatus", + "description": "Filter the job's messages by their processing status." + } + }, + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], $defs: { - "email-security_BulkActionMessageStatus": email_security_BulkActionMessageStatus, - "email-security_BulkJobId": email_security_BulkJobId, - "email-security_identifier": email_security_identifier, + "email-security_BulkActionMessageStatus": email$$security_BulkActionMessageStatus$, + "email-security_BulkJobId": email$$security_BulkJobId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -96,22 +109,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ActionLogEntry": email_security_ActionLogEntry_output, - "email-security_BulkActionMessageDetail": email_security_BulkActionMessageDetail_output, - "email-security_BulkActionMessageStatus": email_security_BulkActionMessageStatus_output, - "email-security_BulkMessageActionParams": email_security_BulkMessageActionParams_output, - "email-security_CursorResultInfo": email_security_CursorResultInfo_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_InvestigateId": email_security_InvestigateId_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryMode": email_security_MessageDeliveryMode_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_MessageDetails": email_security_MessageDetails_output, - "email-security_PostfixId": email_security_PostfixId_output, - "email-security_Validation": email_security_Validation_output, - "email-security_ValidationStatus": email_security_ValidationStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_ActionLogEntry": email$$security_ActionLogEntry, + "email-security_BulkActionMessageDetail": email$$security_BulkActionMessageDetail, + "email-security_BulkActionMessageStatus": email$$security_BulkActionMessageStatus, + "email-security_BulkMessageActionParams": email$$security_BulkMessageActionParams, + "email-security_CursorResultInfo": email$$security_CursorResultInfo, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_MessageDetails": email$$security_MessageDetails, + "email-security_PostfixId": email$$security_PostfixId, + "email-security_Validation": email$$security_Validation, + "email-security_ValidationStatus": email$$security_ValidationStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -162,31 +175,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ActionLogEntry": email_security_ActionLogEntry_output, - "email-security_BulkActionMessageDetail": email_security_BulkActionMessageDetail_output, - "email-security_BulkActionMessageStatus": email_security_BulkActionMessageStatus_output, - "email-security_BulkMessageActionParams": email_security_BulkMessageActionParams_output, - "email-security_CursorResultInfo": email_security_CursorResultInfo_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_InvestigateId": email_security_InvestigateId_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryMode": email_security_MessageDeliveryMode_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_MessageDetails": email_security_MessageDetails_output, - "email-security_PostfixId": email_security_PostfixId_output, - "email-security_Validation": email_security_Validation_output, - "email-security_ValidationStatus": email_security_ValidationStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_ActionLogEntry": email$$security_ActionLogEntry, + "email-security_BulkActionMessageDetail": email$$security_BulkActionMessageDetail, + "email-security_BulkActionMessageStatus": email$$security_BulkActionMessageStatus, + "email-security_BulkMessageActionParams": email$$security_BulkMessageActionParams, + "email-security_CursorResultInfo": email$$security_CursorResultInfo, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_MessageDetails": email$$security_MessageDetails, + "email-security_PostfixId": email$$security_PostfixId, + "email-security_Validation": email$$security_Validation, + "email-security_ValidationStatus": email$$security_ValidationStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/bulk/${pathParam(args, "job_id")}/messages`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["status", param(args, "query", "status"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts index c8fd85f78..d6114c6ed 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_BulkJobActionParams` in responses. */ -export const email_security_BulkJobActionParams_output: JsonSchema = { +export const email$$security_BulkJobActionParams: JsonSchema = { "oneOf": [ { "properties": { @@ -56,7 +56,7 @@ export const email_security_BulkJobActionParams_output: JsonSchema = { /** * The schema of `email-security_BulkJobDetail` in responses. */ -export const email_security_BulkJobDetail_output: JsonSchema = { +export const email$$security_BulkJobDetail: JsonSchema = { "properties": { "action_params": { "$ref": "#/$defs/email-security_BulkJobActionParams" @@ -163,7 +163,7 @@ export const email_security_BulkJobDetail_output: JsonSchema = { /** * The schema of `email-security_BulkJobStatus` in responses. */ -export const email_security_BulkJobStatus_output: JsonSchema = { +export const email$$security_BulkJobStatus: JsonSchema = { "enum": [ "PENDING", "DISCOVERING", @@ -178,7 +178,7 @@ export const email_security_BulkJobStatus_output: JsonSchema = { /** * The schema of `email-security_BulkSearchParams` in responses. */ -export const email_security_BulkSearchParams_output: JsonSchema = { +export const email$$security_BulkSearchParams: JsonSchema = { "properties": { "action_log": { "type": "boolean" diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/schemas.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/schemas.ts index e0f914ba1..0f2358eaa 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_BulkActionRequest`. */ -export const email_security_BulkActionRequest: JsonSchema = { +export const email$$security_BulkActionRequest: JsonSchema = { "properties": { "action": { "description": "The action the job performs on every message matching the search parameters.", @@ -57,7 +57,7 @@ export const email_security_BulkActionRequest: JsonSchema = { /** * The schema of `email-security_BulkJobId`. */ -export const email_security_BulkJobId: JsonSchema = { +export const email$$security_BulkJobId: JsonSchema = { "description": "Bulk action job identifier.", "format": "uuid", "type": "string" @@ -66,7 +66,7 @@ export const email_security_BulkJobId: JsonSchema = { /** * The schema of `email-security_BulkJobStatus`. */ -export const email_security_BulkJobStatus: JsonSchema = { +export const email$$security_BulkJobStatus: JsonSchema = { "description": "Status of a bulk action job.", "enum": [ "PENDING", @@ -82,7 +82,7 @@ export const email_security_BulkJobStatus: JsonSchema = { /** * The schema of `email-security_BulkSearchParams`. */ -export const email_security_BulkSearchParams: JsonSchema = { +export const email$$security_BulkSearchParams: JsonSchema = { "properties": { "action_log": { "default": false, diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts index e1b32a8f5..757db850f 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts @@ -1,63 +1,71 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_CursorResultInfo_output, - email_security_DispositionLabel_output, - email_security_MailboxDestination_output, - email_security_MessageDeliveryStatus_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_api_response_single_output, - email_security_messages_output, + email$$security_CursorResultInfo, + email$$security_DispositionLabel, + email$$security_MailboxDestination, + email$$security_MessageDeliveryStatus, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, } from "../outputs.js"; import { - email_security_DispositionLabel, - email_security_MailboxDestination, - email_security_MessageDeliveryStatus, - email_security_identifier, + email$$security_DispositionLabel as email$$security_DispositionLabel$, + email$$security_MailboxDestination as email$$security_MailboxDestination$, + email$$security_MessageDeliveryStatus as email$$security_MessageDeliveryStatus$, + email$$security_identifier, } from "../schemas.js"; import { - email_security_BulkJobActionParams_output, - email_security_BulkJobDetail_output, - email_security_BulkJobStatus_output, - email_security_BulkSearchParams_output, + email$$security_BulkJobActionParams, + email$$security_BulkJobDetail, + email$$security_BulkJobStatus, + email$$security_BulkSearchParams, } from "./outputs.js"; import { - email_security_BulkActionRequest, - email_security_BulkJobId, - email_security_BulkJobStatus, - email_security_BulkSearchParams, + email$$security_BulkActionRequest, + email$$security_BulkJobId, + email$$security_BulkJobStatus as email$$security_BulkJobStatus$, + email$$security_BulkSearchParams as email$$security_BulkSearchParams$, } from "./schemas.js"; /** - * The tools of `email_security.bulk_actions`. + * The tools of `emailSecurity.bulkActions`. */ export const tools: readonly Tool[] = [ { - name: "email_security_bulk_actions_cancel", + name: "emailSecurity_bulkActions_cancel", title: "Cancel a bulk action job", description: "Cancels the job, marking it as cancelled and stopping any pending message processing. The job record remains visible in list and detail endpoints.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "job_id": { - "$ref": "#/$defs/email-security_BulkJobId", - "description": "Identifier of the bulk action job to cancel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "job_id": { + "$ref": "#/$defs/email-security_BulkJobId", + "description": "Identifier of the bulk action job to cancel." + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], $defs: { - "email-security_BulkJobId": email_security_BulkJobId, - "email-security_identifier": email_security_identifier, + "email-security_BulkJobId": email$$security_BulkJobId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -78,15 +86,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, - "email-security_BulkJobDetail": email_security_BulkJobDetail_output, - "email-security_BulkJobStatus": email_security_BulkJobStatus_output, - "email-security_BulkSearchParams": email_security_BulkSearchParams_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, + "email-security_BulkJobDetail": email$$security_BulkJobDetail, + "email-security_BulkJobStatus": email$$security_BulkJobStatus, + "email-security_BulkSearchParams": email$$security_BulkSearchParams, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -129,16 +137,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, - "email-security_BulkJobDetail": email_security_BulkJobDetail_output, - "email-security_BulkJobStatus": email_security_BulkJobStatus_output, - "email-security_BulkSearchParams": email_security_BulkSearchParams_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, + "email-security_BulkJobDetail": email$$security_BulkJobDetail, + "email-security_BulkJobStatus": email$$security_BulkJobStatus, + "email-security_BulkSearchParams": email$$security_BulkSearchParams, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -146,31 +154,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_bulk_actions_create", + name: "emailSecurity_bulkActions_create", title: "Create a bulk action job", description: "Creates a new bulk action job to move or release messages that match the provided search parameters. To move or release an explicit list of known messages instead of a search, use the move or release endpoints.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_BulkActionRequest" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_BulkActionRequest": email_security_BulkActionRequest, - "email-security_BulkSearchParams": email_security_BulkSearchParams, - "email-security_DispositionLabel": email_security_DispositionLabel, - "email-security_MailboxDestination": email_security_MailboxDestination, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus, - "email-security_identifier": email_security_identifier, + "email-security_BulkActionRequest": email$$security_BulkActionRequest, + "email-security_BulkSearchParams": email$$security_BulkSearchParams$, + "email-security_DispositionLabel": email$$security_DispositionLabel$, + "email-security_MailboxDestination": email$$security_MailboxDestination$, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -191,15 +207,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, - "email-security_BulkJobDetail": email_security_BulkJobDetail_output, - "email-security_BulkJobStatus": email_security_BulkJobStatus_output, - "email-security_BulkSearchParams": email_security_BulkSearchParams_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, + "email-security_BulkJobDetail": email$$security_BulkJobDetail, + "email-security_BulkJobStatus": email$$security_BulkJobStatus, + "email-security_BulkSearchParams": email$$security_BulkSearchParams, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -242,16 +258,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, - "email-security_BulkJobDetail": email_security_BulkJobDetail_output, - "email-security_BulkJobStatus": email_security_BulkJobStatus_output, - "email-security_BulkSearchParams": email_security_BulkSearchParams_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, + "email-security_BulkJobDetail": email$$security_BulkJobDetail, + "email-security_BulkJobStatus": email$$security_BulkJobStatus, + "email-security_BulkSearchParams": email$$security_BulkSearchParams, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -260,28 +276,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_bulk_actions_delete", + name: "emailSecurity_bulkActions_delete", title: "Delete a bulk action job", description: "Deletes the job, removing it from all list and detail endpoints. Only jobs in a terminal state (`COMPLETED`, `CANCELLED`, or `FAILED`) can be deleted. To stop an in-progress job without removing it, use the cancel endpoint instead.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the completed, cancelled, or failed bulk action job from all list and detail endpoints.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "job_id": { - "$ref": "#/$defs/email-security_BulkJobId", - "description": "Identifier of the bulk action job." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "job_id": { + "$ref": "#/$defs/email-security_BulkJobId", + "description": "Identifier of the bulk action job." + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], $defs: { - "email-security_BulkJobId": email_security_BulkJobId, - "email-security_identifier": email_security_identifier, + "email-security_BulkJobId": email$$security_BulkJobId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -311,8 +335,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -361,9 +385,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -371,28 +395,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_bulk_actions_get", + name: "emailSecurity_bulkActions_get", title: "Get bulk action job details", description: "Returns the status and details of a specific bulk action job.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "job_id": { - "$ref": "#/$defs/email-security_BulkJobId", - "description": "Identifier of the bulk action job." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "job_id": { + "$ref": "#/$defs/email-security_BulkJobId", + "description": "Identifier of the bulk action job." + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], $defs: { - "email-security_BulkJobId": email_security_BulkJobId, - "email-security_identifier": email_security_identifier, + "email-security_BulkJobId": email$$security_BulkJobId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -413,15 +445,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, - "email-security_BulkJobDetail": email_security_BulkJobDetail_output, - "email-security_BulkJobStatus": email_security_BulkJobStatus_output, - "email-security_BulkSearchParams": email_security_BulkSearchParams_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, + "email-security_BulkJobDetail": email$$security_BulkJobDetail, + "email-security_BulkJobStatus": email$$security_BulkJobStatus, + "email-security_BulkSearchParams": email$$security_BulkSearchParams, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -465,16 +497,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, - "email-security_BulkJobDetail": email_security_BulkJobDetail_output, - "email-security_BulkJobStatus": email_security_BulkJobStatus_output, - "email-security_BulkSearchParams": email_security_BulkSearchParams_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, + "email-security_BulkJobDetail": email$$security_BulkJobDetail, + "email-security_BulkJobStatus": email$$security_BulkJobStatus, + "email-security_BulkSearchParams": email$$security_BulkSearchParams, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -482,45 +514,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_bulk_actions_list", + name: "emailSecurity_bulkActions_list", title: "List bulk action jobs", description: "Returns a paginated list of bulk action jobs for the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "action_type": { - "description": "Filter jobs by the action they perform.", - "enum": [ - "MOVE", - "RELEASE" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" + "type": "object" }, - "status": { - "$ref": "#/$defs/email-security_BulkJobStatus", - "description": "Filter jobs by their processing status." + "query": { + "properties": { + "action_type": { + "description": "Filter jobs by the action they perform.", + "enum": [ + "MOVE", + "RELEASE" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "status": { + "$ref": "#/$defs/email-security_BulkJobStatus", + "description": "Filter jobs by their processing status." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_BulkJobStatus": email_security_BulkJobStatus, - "email-security_identifier": email_security_identifier, + "email-security_BulkJobStatus": email$$security_BulkJobStatus$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -548,16 +593,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, - "email-security_BulkJobDetail": email_security_BulkJobDetail_output, - "email-security_BulkJobStatus": email_security_BulkJobStatus_output, - "email-security_BulkSearchParams": email_security_BulkSearchParams_output, - "email-security_CursorResultInfo": email_security_CursorResultInfo_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, + "email-security_BulkJobDetail": email$$security_BulkJobDetail, + "email-security_BulkJobStatus": email$$security_BulkJobStatus, + "email-security_BulkSearchParams": email$$security_BulkSearchParams, + "email-security_CursorResultInfo": email$$security_CursorResultInfo, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -608,26 +653,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BulkJobActionParams": email_security_BulkJobActionParams_output, - "email-security_BulkJobDetail": email_security_BulkJobDetail_output, - "email-security_BulkJobStatus": email_security_BulkJobStatus_output, - "email-security_BulkSearchParams": email_security_BulkSearchParams_output, - "email-security_CursorResultInfo": email_security_CursorResultInfo_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_MailboxDestination": email_security_MailboxDestination_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, + "email-security_BulkJobDetail": email$$security_BulkJobDetail, + "email-security_BulkJobStatus": email$$security_BulkJobStatus, + "email-security_BulkSearchParams": email$$security_BulkSearchParams, + "email-security_CursorResultInfo": email$$security_CursorResultInfo, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/bulk`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["action_type", args["action_type"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["action_type", param(args, "query", "action_type"), true], + ["status", param(args, "query", "status"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts b/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts index 44b241b8f..aea25f9da 100644 --- a/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_ContentPolicy` in responses. */ -export const email_security_ContentPolicy_output: JsonSchema = { +export const email$$security_ContentPolicy: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/email-security_timestamp" @@ -61,7 +61,7 @@ export const email_security_ContentPolicy_output: JsonSchema = { /** * The schema of `email-security_ContentPolicyId` in responses. */ -export const email_security_ContentPolicyId_output: JsonSchema = { +export const email$$security_ContentPolicyId: JsonSchema = { "format": "uuid", "type": "string" }; @@ -69,7 +69,7 @@ export const email_security_ContentPolicyId_output: JsonSchema = { /** * The schema of `email-security_ContentPolicyList` in responses. */ -export const email_security_ContentPolicyList_output: JsonSchema = { +export const email$$security_ContentPolicyList: JsonSchema = { "items": { "$ref": "#/$defs/email-security_ContentPolicy" }, @@ -79,7 +79,7 @@ export const email_security_ContentPolicyList_output: JsonSchema = { /** * The schema of `email-security_ContentPolicyTarget` in responses. */ -export const email_security_ContentPolicyTarget_output: JsonSchema = { +export const email$$security_ContentPolicyTarget: JsonSchema = { "enum": [ "SUBJECT", "BODY" @@ -90,7 +90,7 @@ export const email_security_ContentPolicyTarget_output: JsonSchema = { /** * The schema of `email-security_DeletedContentPolicy` in responses. */ -export const email_security_DeletedContentPolicy_output: JsonSchema = { +export const email$$security_DeletedContentPolicy: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/email-security_ContentPolicyId" diff --git a/src/generated/forge-mcp/emailSecurity/contentPolicies/schemas.ts b/src/generated/forge-mcp/emailSecurity/contentPolicies/schemas.ts index 4224852dc..b33b320e0 100644 --- a/src/generated/forge-mcp/emailSecurity/contentPolicies/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/contentPolicies/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_ContentPolicyId`. */ -export const email_security_ContentPolicyId: JsonSchema = { +export const email$$security_ContentPolicyId: JsonSchema = { "description": "Content policy identifier.", "format": "uuid", "type": "string" @@ -15,7 +15,7 @@ export const email_security_ContentPolicyId: JsonSchema = { /** * The schema of `email-security_ContentPolicyTarget`. */ -export const email_security_ContentPolicyTarget: JsonSchema = { +export const email$$security_ContentPolicyTarget: JsonSchema = { "description": "The part of the email to match the pattern against.", "enum": [ "SUBJECT", @@ -27,7 +27,7 @@ export const email_security_ContentPolicyTarget: JsonSchema = { /** * The schema of `email-security_CreateContentPolicy`. */ -export const email_security_CreateContentPolicy: JsonSchema = { +export const email$$security_CreateContentPolicy: JsonSchema = { "description": "Create a content policy.", "properties": { "enabled": { @@ -86,7 +86,7 @@ export const email_security_CreateContentPolicy: JsonSchema = { /** * The schema of `email-security_UpdateContentPolicy`. */ -export const email_security_UpdateContentPolicy: JsonSchema = { +export const email$$security_UpdateContentPolicy: JsonSchema = { "description": "Update a content policy.", "properties": { "enabled": { diff --git a/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts b/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts index 594c1f77e..791ff26a5 100644 --- a/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts @@ -1,45 +1,41 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_api_response_single_output, - email_security_messages_output, - email_security_timestamp_output, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, + email$$security_timestamp, } from "../outputs.js"; -import { email_security_identifier } from "../schemas.js"; +import { email$$security_identifier } from "../schemas.js"; import { - email_security_ContentPolicyId_output, - email_security_ContentPolicyList_output, - email_security_ContentPolicyTarget_output, - email_security_ContentPolicy_output, - email_security_DeletedContentPolicy_output, + email$$security_ContentPolicy, + email$$security_ContentPolicyId, + email$$security_ContentPolicyList, + email$$security_ContentPolicyTarget, + email$$security_DeletedContentPolicy, } from "./outputs.js"; import { - email_security_ContentPolicyId, - email_security_ContentPolicyTarget, - email_security_CreateContentPolicy, - email_security_UpdateContentPolicy, + email$$security_ContentPolicyId as email$$security_ContentPolicyId$, + email$$security_ContentPolicyTarget as email$$security_ContentPolicyTarget$, + email$$security_CreateContentPolicy, + email$$security_UpdateContentPolicy, } from "./schemas.js"; /** - * The tools of `email_security.content_policies`. + * The tools of `emailSecurity.contentPolicies`. */ export const tools: readonly Tool[] = [ { - name: "email_security_content_policies_batch", + name: "emailSecurity_contentPolicies_batch", title: "Batch content policy operations", description: "Executes multiple content policy operations atomically: delete, partially update,\nreplace, and create content policies in a single request. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected content policies and stop evaluating emails against their patterns.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "deletes": { @@ -121,18 +117,30 @@ export const tools: readonly Tool[] = [ "puts" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_ContentPolicyId": email_security_ContentPolicyId, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget, - "email-security_CreateContentPolicy": email_security_CreateContentPolicy, - "email-security_UpdateContentPolicy": email_security_UpdateContentPolicy, - "email-security_identifier": email_security_identifier, + "email-security_ContentPolicyId": email$$security_ContentPolicyId$, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget$, + "email-security_CreateContentPolicy": email$$security_CreateContentPolicy, + "email-security_UpdateContentPolicy": email$$security_UpdateContentPolicy, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -167,14 +175,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyList": email_security_ContentPolicyList_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_DeletedContentPolicy": email_security_DeletedContentPolicy_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyList": email$$security_ContentPolicyList, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_DeletedContentPolicy": email$$security_DeletedContentPolicy, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -231,15 +239,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyList": email_security_ContentPolicyList_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_DeletedContentPolicy": email_security_DeletedContentPolicy_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyList": email$$security_ContentPolicyList, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_DeletedContentPolicy": email$$security_DeletedContentPolicy, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -248,28 +256,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_content_policies_create", + name: "emailSecurity_contentPolicies_create", title: "Create a content policy", description: "Creates a new content policy. Emails whose subject or body matches the pattern will be subject to the configured action.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateContentPolicy" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget, - "email-security_CreateContentPolicy": email_security_CreateContentPolicy, - "email-security_identifier": email_security_identifier, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget$, + "email-security_CreateContentPolicy": email$$security_CreateContentPolicy, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -287,12 +303,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -332,13 +348,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -347,28 +363,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_content_policies_delete", + name: "emailSecurity_contentPolicies_delete", title: "Delete a content policy", description: "Removes a content policy. After deletion, emails will no longer be evaluated against this pattern.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the content policy and stops evaluating emails against its pattern.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "policy_id": { - "$ref": "#/$defs/email-security_ContentPolicyId", - "description": "Content policy identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "policy_id": { + "$ref": "#/$defs/email-security_ContentPolicyId", + "description": "Content policy identifier." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "email-security_ContentPolicyId": email_security_ContentPolicyId, - "email-security_identifier": email_security_identifier, + "email-security_ContentPolicyId": email$$security_ContentPolicyId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -386,10 +410,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_DeletedContentPolicy": email_security_DeletedContentPolicy_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_DeletedContentPolicy": email$$security_DeletedContentPolicy, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -429,11 +453,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_DeletedContentPolicy": email_security_DeletedContentPolicy_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_DeletedContentPolicy": email$$security_DeletedContentPolicy, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -441,34 +465,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_content_policies_edit", + name: "emailSecurity_contentPolicies_edit", title: "Update a content policy", description: "Updates an existing content policy. Only provided fields will be modified.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_UpdateContentPolicy" }, - "policy_id": { - "$ref": "#/$defs/email-security_ContentPolicyId", - "description": "Content policy identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "policy_id": { + "$ref": "#/$defs/email-security_ContentPolicyId", + "description": "Content policy identifier." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", + "path", "body" ], $defs: { - "email-security_ContentPolicyId": email_security_ContentPolicyId, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget, - "email-security_UpdateContentPolicy": email_security_UpdateContentPolicy, - "email-security_identifier": email_security_identifier, + "email-security_ContentPolicyId": email$$security_ContentPolicyId$, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget$, + "email-security_UpdateContentPolicy": email$$security_UpdateContentPolicy, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -486,12 +518,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -531,13 +563,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -546,28 +578,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_content_policies_get", + name: "emailSecurity_contentPolicies_get", title: "Get a content policy", description: "Retrieves details for a specific content policy including its pattern, targets, and metadata.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "policy_id": { - "$ref": "#/$defs/email-security_ContentPolicyId", - "description": "Content policy identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "policy_id": { + "$ref": "#/$defs/email-security_ContentPolicyId", + "description": "Content policy identifier." + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "email-security_ContentPolicyId": email_security_ContentPolicyId, - "email-security_identifier": email_security_identifier, + "email-security_ContentPolicyId": email$$security_ContentPolicyId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -585,12 +625,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -631,13 +671,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -645,64 +685,77 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_content_policies_list", + name: "emailSecurity_contentPolicies_list", title: "List content policies", description: "Returns a paginated list of content policies. These policies match against the subject or body of emails using a pattern. Supports filtering by name or enabled status, and searching across name and pattern fields.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "direction": { - "description": "The sorting direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "enabled": { - "description": "Filter by enabled status.", - "type": "boolean" - }, - "expired": { - "description": "Filter to return only expired policies (`true`) or only policies that still apply (`false`). Omit to return both.", - "type": "boolean" - }, - "name": { - "description": "Filter by exact policy name.", - "type": "string" - }, - "order": { - "description": "Field to sort by.", - "enum": [ - "name", - "created_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" + "type": "object" }, - "search": { - "description": "Search term for filtering records. Behavior may change.", - "type": "string" + "query": { + "properties": { + "direction": { + "description": "The sorting direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "enabled": { + "description": "Filter by enabled status.", + "type": "boolean" + }, + "expired": { + "description": "Filter to return only expired policies (`true`) or only policies that still apply (`false`). Omit to return both.", + "type": "boolean" + }, + "name": { + "description": "Filter by exact policy name.", + "type": "string" + }, + "order": { + "description": "Field to sort by.", + "enum": [ + "name", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "search": { + "description": "Search term for filtering records. Behavior may change.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_identifier": email_security_identifier, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -720,14 +773,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyList": email_security_ContentPolicyList_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyList": email$$security_ContentPolicyList, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -768,28 +821,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ContentPolicy": email_security_ContentPolicy_output, - "email-security_ContentPolicyId": email_security_ContentPolicyId_output, - "email-security_ContentPolicyList": email_security_ContentPolicyList_output, - "email-security_ContentPolicyTarget": email_security_ContentPolicyTarget_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ContentPolicy": email$$security_ContentPolicy, + "email-security_ContentPolicyId": email$$security_ContentPolicyId, + "email-security_ContentPolicyList": email$$security_ContentPolicyList, + "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/content_policies`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["enabled", args["enabled"], true], - ["name", args["name"], true], - ["expired", args["expired"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["enabled", param(args, "query", "enabled"), true], + ["name", param(args, "query", "name"), true], + ["expired", param(args, "query", "expired"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSecurity/domains/outputs.ts b/src/generated/forge-mcp/emailSecurity/domains/outputs.ts index 0e8116e83..138931bbe 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_DeletedDomain` in responses. */ -export const email_security_DeletedDomain_output: JsonSchema = { +export const email$$security_DeletedDomain: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/email-security_DomainId" @@ -21,7 +21,7 @@ export const email_security_DeletedDomain_output: JsonSchema = { /** * The schema of `email-security_DeliveryMode` in responses. */ -export const email_security_DeliveryMode_output: JsonSchema = { +export const email$$security_DeliveryMode: JsonSchema = { "enum": [ "DIRECT", "BCC", @@ -35,7 +35,7 @@ export const email_security_DeliveryMode_output: JsonSchema = { /** * The schema of `email-security_DmarcStatus` in responses. */ -export const email_security_DmarcStatus_output: JsonSchema = { +export const email$$security_DmarcStatus: JsonSchema = { "oneOf": [ { "enum": [ @@ -54,7 +54,7 @@ export const email_security_DmarcStatus_output: JsonSchema = { /** * The schema of `email-security_Domain` in responses. */ -export const email_security_Domain_output: JsonSchema = { +export const email$$security_Domain: JsonSchema = { "properties": { "allowed_delivery_modes": { "items": { @@ -195,7 +195,7 @@ export const email_security_Domain_output: JsonSchema = { /** * The schema of `email-security_DomainAuthorization` in responses. */ -export const email_security_DomainAuthorization_output: JsonSchema = { +export const email$$security_DomainAuthorization: JsonSchema = { "oneOf": [ { "properties": { @@ -232,7 +232,7 @@ export const email_security_DomainAuthorization_output: JsonSchema = { /** * The schema of `email-security_DomainId` in responses. */ -export const email_security_DomainId_output: JsonSchema = { +export const email$$security_DomainId: JsonSchema = { "format": "uuid", "type": "string" }; @@ -240,7 +240,7 @@ export const email_security_DomainId_output: JsonSchema = { /** * The schema of `email-security_DomainList` in responses. */ -export const email_security_DomainList_output: JsonSchema = { +export const email$$security_DomainList: JsonSchema = { "items": { "$ref": "#/$defs/email-security_Domain" }, @@ -250,7 +250,7 @@ export const email_security_DomainList_output: JsonSchema = { /** * The schema of `email-security_DomainStatus` in responses. */ -export const email_security_DomainStatus_output: JsonSchema = { +export const email$$security_DomainStatus: JsonSchema = { "oneOf": [ { "enum": [ @@ -270,7 +270,7 @@ export const email_security_DomainStatus_output: JsonSchema = { /** * The schema of `email-security_EmailsProcessed` in responses. */ -export const email_security_EmailsProcessed_output: JsonSchema = { +export const email$$security_EmailsProcessed: JsonSchema = { "oneOf": [ { "properties": { @@ -301,7 +301,7 @@ export const email_security_EmailsProcessed_output: JsonSchema = { /** * The schema of `email-security_Region` in responses. */ -export const email_security_Region_output: JsonSchema = { +export const email$$security_Region: JsonSchema = { "enum": [ "GLOBAL", "AU", @@ -315,7 +315,7 @@ export const email_security_Region_output: JsonSchema = { /** * The schema of `email-security_ScannableFolder` in responses. */ -export const email_security_ScannableFolder_output: JsonSchema = { +export const email$$security_ScannableFolder: JsonSchema = { "oneOf": [ { "enum": [ @@ -333,7 +333,7 @@ export const email_security_ScannableFolder_output: JsonSchema = { /** * The schema of `email-security_SpfStatus` in responses. */ -export const email_security_SpfStatus_output: JsonSchema = { +export const email$$security_SpfStatus: JsonSchema = { "oneOf": [ { "enum": [ diff --git a/src/generated/forge-mcp/emailSecurity/domains/schemas.ts b/src/generated/forge-mcp/emailSecurity/domains/schemas.ts index 20150cda2..560dcfebd 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_CreateDomain`. */ -export const email_security_CreateDomain: JsonSchema = { +export const email$$security_CreateDomain: JsonSchema = { "properties": { "allowed_delivery_modes": { "description": "Delivery modes to onboard the domain through.", @@ -120,7 +120,7 @@ export const email_security_CreateDomain: JsonSchema = { /** * The schema of `email-security_DeliveryMode`. */ -export const email_security_DeliveryMode: JsonSchema = { +export const email$$security_DeliveryMode: JsonSchema = { "enum": [ "DIRECT", "BCC", @@ -134,7 +134,7 @@ export const email_security_DeliveryMode: JsonSchema = { /** * The schema of `email-security_DomainId`. */ -export const email_security_DomainId: JsonSchema = { +export const email$$security_DomainId: JsonSchema = { "description": "Domain identifier.", "format": "uuid", "type": "string" @@ -143,7 +143,7 @@ export const email_security_DomainId: JsonSchema = { /** * The schema of `email-security_DomainStatus`. */ -export const email_security_DomainStatus: JsonSchema = { +export const email$$security_DomainStatus: JsonSchema = { "oneOf": [ { "enum": [ @@ -163,7 +163,7 @@ export const email_security_DomainStatus: JsonSchema = { /** * The schema of `email-security_Region`. */ -export const email_security_Region: JsonSchema = { +export const email$$security_Region: JsonSchema = { "description": "The region that processes messages for this domain.", "enum": [ "GLOBAL", @@ -178,7 +178,7 @@ export const email_security_Region: JsonSchema = { /** * The schema of `email-security_ReplaceDomain`. */ -export const email_security_ReplaceDomain: JsonSchema = { +export const email$$security_ReplaceDomain: JsonSchema = { "description": "Request body for replacing an email domain. The `domain` field is intentionally\nabsent — the domain name is immutable after creation.\n", "properties": { "allowed_delivery_modes": { @@ -288,7 +288,7 @@ export const email_security_ReplaceDomain: JsonSchema = { /** * The schema of `email-security_ScannableFolder`. */ -export const email_security_ScannableFolder: JsonSchema = { +export const email$$security_ScannableFolder: JsonSchema = { "description": "The mailbox folder to scan, for API-scanning domains.", "oneOf": [ { @@ -307,7 +307,7 @@ export const email_security_ScannableFolder: JsonSchema = { /** * The schema of `email-security_UpdateDomain`. */ -export const email_security_UpdateDomain: JsonSchema = { +export const email$$security_UpdateDomain: JsonSchema = { "properties": { "allowed_delivery_modes": { "description": "Delivery modes to onboard the domain through.", diff --git a/src/generated/forge-mcp/emailSecurity/domains/tools.ts b/src/generated/forge-mcp/emailSecurity/domains/tools.ts index 3fcd0868c..d59c1f7bc 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/tools.ts @@ -1,60 +1,56 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_DispositionLabel_output, - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_api_response_single_output, - email_security_messages_output, - email_security_timestamp_output, + email$$security_DispositionLabel, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, + email$$security_timestamp, } from "../outputs.js"; import { - email_security_DispositionLabel, - email_security_identifier, + email$$security_DispositionLabel as email$$security_DispositionLabel$, + email$$security_identifier, } from "../schemas.js"; import { - email_security_DeletedDomain_output, - email_security_DeliveryMode_output, - email_security_DmarcStatus_output, - email_security_DomainAuthorization_output, - email_security_DomainId_output, - email_security_DomainList_output, - email_security_DomainStatus_output, - email_security_Domain_output, - email_security_EmailsProcessed_output, - email_security_Region_output, - email_security_ScannableFolder_output, - email_security_SpfStatus_output, + email$$security_DeletedDomain, + email$$security_DeliveryMode, + email$$security_DmarcStatus, + email$$security_Domain, + email$$security_DomainAuthorization, + email$$security_DomainId, + email$$security_DomainList, + email$$security_DomainStatus, + email$$security_EmailsProcessed, + email$$security_Region, + email$$security_ScannableFolder, + email$$security_SpfStatus, } from "./outputs.js"; import { - email_security_CreateDomain, - email_security_DeliveryMode, - email_security_DomainId, - email_security_DomainStatus, - email_security_Region, - email_security_ReplaceDomain, - email_security_ScannableFolder, - email_security_UpdateDomain, + email$$security_CreateDomain, + email$$security_DeliveryMode as email$$security_DeliveryMode$, + email$$security_DomainId as email$$security_DomainId$, + email$$security_DomainStatus as email$$security_DomainStatus$, + email$$security_Region as email$$security_Region$, + email$$security_ReplaceDomain, + email$$security_ScannableFolder as email$$security_ScannableFolder$, + email$$security_UpdateDomain, } from "./schemas.js"; /** - * The tools of `email_security.domains`. + * The tools of `emailSecurity.domains`. */ export const tools: readonly Tool[] = [ { - name: "email_security_domains_batch", + name: "emailSecurity_domains_batch", title: "Batch domain operations", description: "Executes multiple domain operations in a single request. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may permanently delete protection for the selected email domains. Emails for those domains will no longer be processed by Email Security.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "deletes": { @@ -138,22 +134,34 @@ export const tools: readonly Tool[] = [ "puts" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateDomain": email_security_CreateDomain, - "email-security_DeliveryMode": email_security_DeliveryMode, - "email-security_DispositionLabel": email_security_DispositionLabel, - "email-security_DomainId": email_security_DomainId, - "email-security_Region": email_security_Region, - "email-security_ReplaceDomain": email_security_ReplaceDomain, - "email-security_ScannableFolder": email_security_ScannableFolder, - "email-security_UpdateDomain": email_security_UpdateDomain, - "email-security_identifier": email_security_identifier, + "email-security_CreateDomain": email$$security_CreateDomain, + "email-security_DeliveryMode": email$$security_DeliveryMode$, + "email-security_DispositionLabel": email$$security_DispositionLabel$, + "email-security_DomainId": email$$security_DomainId$, + "email-security_Region": email$$security_Region$, + "email-security_ReplaceDomain": email$$security_ReplaceDomain, + "email-security_ScannableFolder": email$$security_ScannableFolder$, + "email-security_UpdateDomain": email$$security_UpdateDomain, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -194,22 +202,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeletedDomain": email_security_DeletedDomain_output, - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainList": email_security_DomainList_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeletedDomain": email$$security_DeletedDomain, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainList": email$$security_DomainList, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -272,23 +280,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeletedDomain": email_security_DeletedDomain_output, - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainList": email_security_DomainList_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeletedDomain": email$$security_DeletedDomain, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainList": email$$security_DomainList, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -297,31 +305,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_domains_create", + name: "emailSecurity_domains_create", title: "Add a new email domain", description: "Protects a new email domain by adding it to Email Security. Accepts a flat configuration object covering all delivery modes. Returns the newly created domain configuration.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateDomain" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateDomain": email_security_CreateDomain, - "email-security_DeliveryMode": email_security_DeliveryMode, - "email-security_DispositionLabel": email_security_DispositionLabel, - "email-security_Region": email_security_Region, - "email-security_ScannableFolder": email_security_ScannableFolder, - "email-security_identifier": email_security_identifier, + "email-security_CreateDomain": email$$security_CreateDomain, + "email-security_DeliveryMode": email$$security_DeliveryMode$, + "email-security_DispositionLabel": email$$security_DispositionLabel$, + "email-security_Region": email$$security_Region$, + "email-security_ScannableFolder": email$$security_ScannableFolder$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -339,20 +355,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -392,21 +408,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -415,28 +431,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_domains_delete", + name: "emailSecurity_domains_delete", title: "Unprotect an email domain", description: "Removes email security protection from a domain. After deletion, emails for this domain will no longer be processed by Email Security. This action cannot be undone.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes protection for the email domain. Emails for this domain will no longer be processed by Email Security.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "domain_id": { + "$ref": "#/$defs/email-security_DomainId", + "description": "Domain identifier." + } + }, + "required": [ + "account_id", + "domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_id" + "path" ], $defs: { - "email-security_DomainId": email_security_DomainId, - "email-security_identifier": email_security_identifier, + "email-security_DomainId": email$$security_DomainId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -454,10 +478,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeletedDomain": email_security_DeletedDomain_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedDomain": email$$security_DeletedDomain, + "email-security_DomainId": email$$security_DomainId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -497,11 +521,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeletedDomain": email_security_DeletedDomain_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedDomain": email$$security_DeletedDomain, + "email-security_DomainId": email$$security_DomainId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -509,37 +533,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_domains_edit", + name: "emailSecurity_domains_edit", title: "Update an email domain", description: "Updates configuration for a protected email domain. Only provided fields will be modified. Changes affect delivery mode, security settings, and regional processing.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_UpdateDomain" }, - "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "domain_id": { + "$ref": "#/$defs/email-security_DomainId", + "description": "Domain identifier." + } + }, + "required": [ + "account_id", + "domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_id", + "path", "body" ], $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode, - "email-security_DispositionLabel": email_security_DispositionLabel, - "email-security_DomainId": email_security_DomainId, - "email-security_Region": email_security_Region, - "email-security_ScannableFolder": email_security_ScannableFolder, - "email-security_UpdateDomain": email_security_UpdateDomain, - "email-security_identifier": email_security_identifier, + "email-security_DeliveryMode": email$$security_DeliveryMode$, + "email-security_DispositionLabel": email$$security_DispositionLabel$, + "email-security_DomainId": email$$security_DomainId$, + "email-security_Region": email$$security_Region$, + "email-security_ScannableFolder": email$$security_ScannableFolder$, + "email-security_UpdateDomain": email$$security_UpdateDomain, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -557,20 +589,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -610,21 +642,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -633,28 +665,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_domains_get", + name: "emailSecurity_domains_get", title: "Get an email domain", description: "Retrieves detailed information for a specific protected email domain including its delivery configuration, SPF/DMARC status, and authorization state.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "domain_id": { + "$ref": "#/$defs/email-security_DomainId", + "description": "Domain identifier." + } + }, + "required": [ + "account_id", + "domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_id" + "path" ], $defs: { - "email-security_DomainId": email_security_DomainId, - "email-security_identifier": email_security_identifier, + "email-security_DomainId": email$$security_DomainId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -672,20 +712,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -726,21 +766,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -748,78 +788,91 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_domains_list", + name: "emailSecurity_domains_list", title: "List protected email domains", description: "Returns a paginated list of email domains protected by Email Security. Includes domain configuration, delivery modes, and authorization status. Supports filtering by delivery mode and integration ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "active_delivery_mode": { - "$ref": "#/$defs/email-security_DeliveryMode", - "description": "Currently active delivery mode to filter by." - }, - "allowed_delivery_mode": { - "$ref": "#/$defs/email-security_DeliveryMode", - "description": "Delivery mode to filter by." - }, - "direction": { - "description": "The sorting direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "domain": { - "description": "Domain names to filter by.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } }, - "type": "array" - }, - "integration_id": { - "description": "Integration ID to filter by.", - "format": "uuid", - "type": "string" - }, - "order": { - "description": "Field to sort by.", - "enum": [ - "domain", - "created_at" + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" - }, - "search": { - "description": "Search term for filtering records. Behavior may change.", - "type": "string" + "type": "object" }, - "status": { - "$ref": "#/$defs/email-security_DomainStatus", - "description": "Filters response to domains with the provided status." + "query": { + "properties": { + "active_delivery_mode": { + "$ref": "#/$defs/email-security_DeliveryMode", + "description": "Currently active delivery mode to filter by." + }, + "allowed_delivery_mode": { + "$ref": "#/$defs/email-security_DeliveryMode", + "description": "Delivery mode to filter by." + }, + "direction": { + "description": "The sorting direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "domain": { + "description": "Domain names to filter by.", + "items": { + "type": "string" + }, + "type": "array" + }, + "integration_id": { + "description": "Integration ID to filter by.", + "format": "uuid", + "type": "string" + }, + "order": { + "description": "Field to sort by.", + "enum": [ + "domain", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "search": { + "description": "Search term for filtering records. Behavior may change.", + "type": "string" + }, + "status": { + "$ref": "#/$defs/email-security_DomainStatus", + "description": "Filters response to domains with the provided status." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode, - "email-security_DomainStatus": email_security_DomainStatus, - "email-security_identifier": email_security_identifier, + "email-security_DeliveryMode": email$$security_DeliveryMode$, + "email-security_DomainStatus": email$$security_DomainStatus$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -837,22 +890,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainList": email_security_DomainList_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainList": email$$security_DomainList, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -893,73 +946,81 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainList": email_security_DomainList_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainList": email$$security_DomainList, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/domains`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["allowed_delivery_mode", args["allowed_delivery_mode"], true], - ["domain", args["domain"], true], - ["active_delivery_mode", args["active_delivery_mode"], true], - ["integration_id", args["integration_id"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["allowed_delivery_mode", param(args, "query", "allowed_delivery_mode"), true], + ["domain", param(args, "query", "domain"), true], + ["active_delivery_mode", param(args, "query", "active_delivery_mode"), true], + ["integration_id", param(args, "query", "integration_id"), true], + ["status", param(args, "query", "status"), true], ], }), }, { - name: "email_security_domains_update", + name: "emailSecurity_domains_update", title: "Replace an email domain", description: "Replaces all mutable fields of a protected email domain in a single atomic operation. Unlike PATCH, all non-computed fields are required.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_ReplaceDomain" }, - "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "domain_id": { + "$ref": "#/$defs/email-security_DomainId", + "description": "Domain identifier." + } + }, + "required": [ + "account_id", + "domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_id", + "path", "body" ], $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode, - "email-security_DispositionLabel": email_security_DispositionLabel, - "email-security_DomainId": email_security_DomainId, - "email-security_Region": email_security_Region, - "email-security_ReplaceDomain": email_security_ReplaceDomain, - "email-security_ScannableFolder": email_security_ScannableFolder, - "email-security_identifier": email_security_identifier, + "email-security_DeliveryMode": email$$security_DeliveryMode$, + "email-security_DispositionLabel": email$$security_DispositionLabel$, + "email-security_DomainId": email$$security_DomainId$, + "email-security_Region": email$$security_Region$, + "email-security_ReplaceDomain": email$$security_ReplaceDomain, + "email-security_ScannableFolder": email$$security_ScannableFolder$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -977,20 +1038,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -1027,21 +1088,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email_security_DeliveryMode_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_DmarcStatus": email_security_DmarcStatus_output, - "email-security_Domain": email_security_Domain_output, - "email-security_DomainAuthorization": email_security_DomainAuthorization_output, - "email-security_DomainId": email_security_DomainId_output, - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_EmailsProcessed": email_security_EmailsProcessed_output, - "email-security_Region": email_security_Region_output, - "email-security_ScannableFolder": email_security_ScannableFolder_output, - "email-security_SpfStatus": email_security_SpfStatus_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeliveryMode": email$$security_DeliveryMode, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_DmarcStatus": email$$security_DmarcStatus, + "email-security_Domain": email$$security_Domain, + "email-security_DomainAuthorization": email$$security_DomainAuthorization, + "email-security_DomainId": email$$security_DomainId, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_EmailsProcessed": email$$security_EmailsProcessed, + "email-security_Region": email$$security_Region, + "email-security_ScannableFolder": email$$security_ScannableFolder, + "email-security_SpfStatus": email$$security_SpfStatus, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts b/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts index 6a0cfd67f..4a0c2bdce 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email-security_DomainVerificationInfo` in responses. */ -export const email_security_DomainVerificationInfo_output: JsonSchema = { +export const email$$security_DomainVerificationInfo: JsonSchema = { "properties": { "last_checked_at": { "oneOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts b/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts index d10fff1ee..aadb68eb9 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts @@ -3,42 +3,50 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - email_security_api_response_common_failure_output, - email_security_api_response_single_output, - email_security_messages_output, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, } from "../../outputs.js"; -import { email_security_identifier } from "../../schemas.js"; -import { email_security_DomainStatus_output } from "../outputs.js"; -import { email_security_DomainId } from "../schemas.js"; -import { email_security_DomainVerificationInfo_output } from "./outputs.js"; +import { email$$security_identifier } from "../../schemas.js"; +import { email$$security_DomainStatus } from "../outputs.js"; +import { email$$security_DomainId } from "../schemas.js"; +import { email$$security_DomainVerificationInfo } from "./outputs.js"; /** - * The tools of `email_security.domains.verification`. + * The tools of `emailSecurity.domains.verification`. */ export const tools: readonly Tool[] = [ { - name: "email_security_domains_verification_get", + name: "emailSecurity_domains_verification_get", title: "Get domain verification details", description: "Returns the DNS TXT record information when the domain ownership isn't\nverified through Cloudflare zone ownership or CASB integration.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "domain_id": { + "$ref": "#/$defs/email-security_DomainId", + "description": "Domain identifier." + } + }, + "required": [ + "account_id", + "domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_id" + "path" ], $defs: { - "email-security_DomainId": email_security_DomainId, - "email-security_identifier": email_security_identifier, + "email-security_DomainId": email$$security_DomainId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -56,10 +64,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_DomainVerificationInfo": email_security_DomainVerificationInfo_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_DomainVerificationInfo": email$$security_DomainVerificationInfo, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -100,11 +108,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DomainStatus": email_security_DomainStatus_output, - "email-security_DomainVerificationInfo": email_security_DomainVerificationInfo_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DomainStatus": email$$security_DomainStatus, + "email-security_DomainVerificationInfo": email$$security_DomainVerificationInfo, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts index 1a706a9a8..929a571df 100644 --- a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_DeletedImpersonationRegistry` in responses. */ -export const email_security_DeletedImpersonationRegistry_output: JsonSchema = { +export const email$$security_DeletedImpersonationRegistry: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/email-security_ImpersonationRegistryId" @@ -21,7 +21,7 @@ export const email_security_DeletedImpersonationRegistry_output: JsonSchema = { /** * The schema of `email-security_ImpersonationRegistry` in responses. */ -export const email_security_ImpersonationRegistry_output: JsonSchema = { +export const email$$security_ImpersonationRegistry: JsonSchema = { "properties": { "comments": { "oneOf": [ @@ -101,7 +101,7 @@ export const email_security_ImpersonationRegistry_output: JsonSchema = { /** * The schema of `email-security_ImpersonationRegistryId` in responses. */ -export const email_security_ImpersonationRegistryId_output: JsonSchema = { +export const email$$security_ImpersonationRegistryId: JsonSchema = { "format": "uuid", "type": "string" }; @@ -109,7 +109,7 @@ export const email_security_ImpersonationRegistryId_output: JsonSchema = { /** * The schema of `email-security_ImpersonationRegistryList` in responses. */ -export const email_security_ImpersonationRegistryList_output: JsonSchema = { +export const email$$security_ImpersonationRegistryList: JsonSchema = { "items": { "$ref": "#/$defs/email-security_ImpersonationRegistry" }, @@ -119,7 +119,7 @@ export const email_security_ImpersonationRegistryList_output: JsonSchema = { /** * The schema of `email-security_Provenance` in responses. */ -export const email_security_Provenance_output: JsonSchema = { +export const email$$security_Provenance: JsonSchema = { "enum": [ "A1S_INTERNAL", "SNOOPY-CASB_OFFICE_365", diff --git a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/schemas.ts b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/schemas.ts index e7abcfc27..1158ea560 100644 --- a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_CreateImpersonationRegistry`. */ -export const email_security_CreateImpersonationRegistry: JsonSchema = { +export const email$$security_CreateImpersonationRegistry: JsonSchema = { "description": "Create an impersonation registry entry.", "properties": { "comments": { @@ -89,7 +89,7 @@ export const email_security_CreateImpersonationRegistry: JsonSchema = { /** * The schema of `email-security_ImpersonationRegistryId`. */ -export const email_security_ImpersonationRegistryId: JsonSchema = { +export const email$$security_ImpersonationRegistryId: JsonSchema = { "description": "Impersonation registry entry identifier.", "format": "uuid", "type": "string" @@ -98,7 +98,7 @@ export const email_security_ImpersonationRegistryId: JsonSchema = { /** * The schema of `email-security_Provenance`. */ -export const email_security_Provenance: JsonSchema = { +export const email$$security_Provenance: JsonSchema = { "enum": [ "A1S_INTERNAL", "SNOOPY-CASB_OFFICE_365", @@ -111,7 +111,7 @@ export const email_security_Provenance: JsonSchema = { /** * The schema of `email-security_UpdateImpersonationRegistry`. */ -export const email_security_UpdateImpersonationRegistry: JsonSchema = { +export const email$$security_UpdateImpersonationRegistry: JsonSchema = { "description": "Update an impersonation registry entry.", "properties": { "comments": { diff --git a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts index 02898d0bb..5491d5870 100644 --- a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts @@ -1,57 +1,65 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_api_response_single_output, - email_security_messages_output, - email_security_timestamp_output, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, + email$$security_timestamp, } from "../outputs.js"; -import { email_security_identifier } from "../schemas.js"; +import { email$$security_identifier } from "../schemas.js"; import { - email_security_DeletedImpersonationRegistry_output, - email_security_ImpersonationRegistryId_output, - email_security_ImpersonationRegistryList_output, - email_security_ImpersonationRegistry_output, - email_security_Provenance_output, + email$$security_DeletedImpersonationRegistry, + email$$security_ImpersonationRegistry, + email$$security_ImpersonationRegistryId, + email$$security_ImpersonationRegistryList, + email$$security_Provenance, } from "./outputs.js"; import { - email_security_CreateImpersonationRegistry, - email_security_ImpersonationRegistryId, - email_security_Provenance, - email_security_UpdateImpersonationRegistry, + email$$security_CreateImpersonationRegistry, + email$$security_ImpersonationRegistryId as email$$security_ImpersonationRegistryId$, + email$$security_Provenance as email$$security_Provenance$, + email$$security_UpdateImpersonationRegistry, } from "./schemas.js"; /** - * The tools of `email_security.impersonation_registry`. + * The tools of `emailSecurity.impersonationRegistry`. */ export const tools: readonly Tool[] = [ { - name: "email_security_impersonation_registry_create", + name: "emailSecurity_impersonationRegistry_create", title: "Create impersonation registry entry", description: "Creates a new entry in the impersonation registry to protect against impersonation. Emails attempting to impersonate this identity will be flagged. Supports regex patterns for flexible email matching.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateImpersonationRegistry" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateImpersonationRegistry": email_security_CreateImpersonationRegistry, - "email-security_Provenance": email_security_Provenance, - "email-security_identifier": email_security_identifier, + "email-security_CreateImpersonationRegistry": email$$security_CreateImpersonationRegistry, + "email-security_Provenance": email$$security_Provenance$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -69,12 +77,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_Provenance": email_security_Provenance_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_Provenance": email$$security_Provenance, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -114,13 +122,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_Provenance": email_security_Provenance_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_Provenance": email$$security_Provenance, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -129,28 +137,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_impersonation_registry_delete", + name: "emailSecurity_impersonationRegistry_delete", title: "Delete an impersonation registry entry", description: "Removes an entry from the impersonation registry. After deletion, this identity will no longer be protected from impersonation.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the impersonation registry entry and stops protecting the identity from impersonation.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "impersonation_registry_id": { - "$ref": "#/$defs/email-security_ImpersonationRegistryId", - "description": "Impersonation registry entry identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "impersonation_registry_id": { + "$ref": "#/$defs/email-security_ImpersonationRegistryId", + "description": "Impersonation registry entry identifier." + } + }, + "required": [ + "account_id", + "impersonation_registry_id" + ], + "type": "object" } }, required: [ - "account_id", - "impersonation_registry_id" + "path" ], $defs: { - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId, - "email-security_identifier": email_security_identifier, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -168,10 +184,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeletedImpersonationRegistry": email_security_DeletedImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedImpersonationRegistry": email$$security_DeletedImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -211,11 +227,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeletedImpersonationRegistry": email_security_DeletedImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedImpersonationRegistry": email$$security_DeletedImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -223,34 +239,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_impersonation_registry_edit", + name: "emailSecurity_impersonationRegistry_edit", title: "Update an impersonation registry entry", description: "Updates an existing impersonation registry entry. Only provided fields will be modified. Directory-synced entries can't be updated.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_UpdateImpersonationRegistry" }, - "impersonation_registry_id": { - "$ref": "#/$defs/email-security_ImpersonationRegistryId", - "description": "Impersonation registry entry identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "impersonation_registry_id": { + "$ref": "#/$defs/email-security_ImpersonationRegistryId", + "description": "Impersonation registry entry identifier." + } + }, + "required": [ + "account_id", + "impersonation_registry_id" + ], + "type": "object" } }, required: [ - "account_id", - "impersonation_registry_id", + "path", "body" ], $defs: { - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId, - "email-security_Provenance": email_security_Provenance, - "email-security_UpdateImpersonationRegistry": email_security_UpdateImpersonationRegistry, - "email-security_identifier": email_security_identifier, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId$, + "email-security_Provenance": email$$security_Provenance$, + "email-security_UpdateImpersonationRegistry": email$$security_UpdateImpersonationRegistry, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -268,12 +292,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_Provenance": email_security_Provenance_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_Provenance": email$$security_Provenance, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -313,13 +337,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_Provenance": email_security_Provenance_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_Provenance": email$$security_Provenance, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -328,28 +352,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_impersonation_registry_get", + name: "emailSecurity_impersonationRegistry_get", title: "Get an impersonation registry entry", description: "Retrieves details for a specific impersonation registry entry including the protected identity, email pattern, and synchronization source if directory-synced.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "impersonation_registry_id": { - "$ref": "#/$defs/email-security_ImpersonationRegistryId", - "description": "Impersonation registry entry identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "impersonation_registry_id": { + "$ref": "#/$defs/email-security_ImpersonationRegistryId", + "description": "Impersonation registry entry identifier." + } + }, + "required": [ + "account_id", + "impersonation_registry_id" + ], + "type": "object" } }, required: [ - "account_id", - "impersonation_registry_id" + "path" ], $defs: { - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId, - "email-security_identifier": email_security_identifier, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -367,12 +399,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_Provenance": email_security_Provenance_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_Provenance": email$$security_Provenance, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -413,13 +445,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_Provenance": email_security_Provenance_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_Provenance": email$$security_Provenance, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -427,57 +459,70 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_impersonation_registry_list", + name: "emailSecurity_impersonationRegistry_list", title: "List impersonation registry entries", description: "Returns a paginated list of protected identities in the impersonation registry. These entries define identities and email addresses to protect from impersonation attacks. Can be manually added or automatically synced from directory integrations.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "direction": { - "description": "The sorting direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order": { - "description": "Field to sort by.", - "enum": [ - "name", - "email", - "created_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" - }, - "provenance": { - "$ref": "#/$defs/email-security_Provenance" + "type": "object" }, - "search": { - "description": "Search term for filtering records. Behavior may change.", - "type": "string" + "query": { + "properties": { + "direction": { + "description": "The sorting direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "description": "Field to sort by.", + "enum": [ + "name", + "email", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "provenance": { + "$ref": "#/$defs/email-security_Provenance" + }, + "search": { + "description": "Search term for filtering records. Behavior may change.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_Provenance": email_security_Provenance, - "email-security_identifier": email_security_identifier, + "email-security_Provenance": email$$security_Provenance$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -495,14 +540,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_ImpersonationRegistryList": email_security_ImpersonationRegistryList_output, - "email-security_Provenance": email_security_Provenance_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_ImpersonationRegistryList": email$$security_ImpersonationRegistryList, + "email-security_Provenance": email$$security_Provenance, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -543,26 +588,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ImpersonationRegistry": email_security_ImpersonationRegistry_output, - "email-security_ImpersonationRegistryId": email_security_ImpersonationRegistryId_output, - "email-security_ImpersonationRegistryList": email_security_ImpersonationRegistryList_output, - "email-security_Provenance": email_security_Provenance_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, + "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, + "email-security_ImpersonationRegistryList": email$$security_ImpersonationRegistryList, + "email-security_Provenance": email$$security_Provenance, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/impersonation_registry`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["provenance", args["provenance"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["provenance", param(args, "query", "provenance"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSecurity/investigate/actionLog/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/outputs.ts index 7cfb45b09..ca7810177 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/actionLog/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email-security_ActionEntry` in responses. */ -export const email_security_ActionEntry_output: JsonSchema = { +export const email$$security_ActionEntry: JsonSchema = { "properties": { "completed_at": { "oneOf": [ @@ -79,7 +79,7 @@ export const email_security_ActionEntry_output: JsonSchema = { /** * The schema of `email-security_ActionEntryProperties` in responses. */ -export const email_security_ActionEntryProperties_output: JsonSchema = { +export const email$$security_ActionEntryProperties: JsonSchema = { "properties": { "folder": { "oneOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts index 1b27dab9c..6778c8904 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts @@ -1,59 +1,72 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_messages_output, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_messages, } from "../../outputs.js"; import { - email_security_InvestigateId, - email_security_identifier, + email$$security_InvestigateId, + email$$security_identifier, } from "../../schemas.js"; import { - email_security_ActionEntryProperties_output, - email_security_ActionEntry_output, + email$$security_ActionEntry, + email$$security_ActionEntryProperties, } from "./outputs.js"; /** - * The tools of `email_security.investigate.action_log`. + * The tools of `emailSecurity.investigate.actionLog`. */ export const tools: readonly Tool[] = [ { - name: "email_security_investigate_action_log_list", + name: "emailSecurity_investigate_actionLog_list", title: "List post-delivery actions for a message", description: "Returns the list of post-delivery actions (moves, quarantine releases, previews, etc.) that have been applied to a specific email message.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "investigate_id": { + "$ref": "#/$defs/email-security_InvestigateId", + "description": "Unique identifier for a message retrieved from investigation." + } + }, + "required": [ + "account_id", + "investigate_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "investigate_id" + "path" ], $defs: { - "email-security_InvestigateId": email_security_InvestigateId, - "email-security_identifier": email_security_identifier, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -77,11 +90,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ActionEntry": email_security_ActionEntry_output, - "email-security_ActionEntryProperties": email_security_ActionEntryProperties_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_ActionEntry": email$$security_ActionEntry, + "email-security_ActionEntryProperties": email$$security_ActionEntryProperties, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -128,19 +141,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ActionEntry": email_security_ActionEntry_output, - "email-security_ActionEntryProperties": email_security_ActionEntryProperties_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_ActionEntry": email$$security_ActionEntry, + "email-security_ActionEntryProperties": email$$security_ActionEntryProperties, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/${pathParam(args, "investigate_id")}/action_log`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts index 390d93a1e..87c848100 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email-security_Attachment` in responses. */ -export const email_security_Attachment_output: JsonSchema = { +export const email$$security_Attachment: JsonSchema = { "properties": { "content_type": { "oneOf": [ @@ -101,7 +101,7 @@ export const email_security_Attachment_output: JsonSchema = { /** * The schema of `email-security_Finding` in responses. */ -export const email_security_Finding_output: JsonSchema = { +export const email$$security_Finding: JsonSchema = { "properties": { "attachment": { "oneOf": [ @@ -200,7 +200,7 @@ export const email_security_Finding_output: JsonSchema = { /** * The schema of `email-security_Link` in responses. */ -export const email_security_Link_output: JsonSchema = { +export const email$$security_Link: JsonSchema = { "properties": { "href": { "type": "string" @@ -225,7 +225,7 @@ export const email_security_Link_output: JsonSchema = { /** * The schema of `email-security_MessageDetectionDetails` in responses. */ -export const email_security_MessageDetectionDetails_output: JsonSchema = { +export const email$$security_MessageDetectionDetails: JsonSchema = { "properties": { "action": { "type": "string" @@ -352,7 +352,7 @@ export const email_security_MessageDetectionDetails_output: JsonSchema = { /** * The schema of `email-security_MessageHeader` in responses. */ -export const email_security_MessageHeader_output: JsonSchema = { +export const email$$security_MessageHeader: JsonSchema = { "properties": { "name": { "type": "string" @@ -371,7 +371,7 @@ export const email_security_MessageHeader_output: JsonSchema = { /** * The schema of `email-security_ThreatCategory` in responses. */ -export const email_security_ThreatCategory_output: JsonSchema = { +export const email$$security_ThreatCategory: JsonSchema = { "properties": { "description": { "oneOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts index af2edf10c..ef7a1d74e 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts @@ -3,53 +3,61 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - email_security_DispositionLabel_output, - email_security_ValidationStatus_output, - email_security_Validation_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_messages_output, + email$$security_DispositionLabel, + email$$security_Validation, + email$$security_ValidationStatus, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_messages, } from "../../outputs.js"; import { - email_security_InvestigateId, - email_security_identifier, + email$$security_InvestigateId, + email$$security_identifier, } from "../../schemas.js"; import { - email_security_Attachment_output, - email_security_Finding_output, - email_security_Link_output, - email_security_MessageDetectionDetails_output, - email_security_MessageHeader_output, - email_security_ThreatCategory_output, + email$$security_Attachment, + email$$security_Finding, + email$$security_Link, + email$$security_MessageDetectionDetails, + email$$security_MessageHeader, + email$$security_ThreatCategory, } from "./outputs.js"; /** - * The tools of `email_security.investigate.detections`. + * The tools of `emailSecurity.investigate.detections`. */ export const tools: readonly Tool[] = [ { - name: "email_security_investigate_detections_get", + name: "emailSecurity_investigate_detections_get", title: "Get message detection details", description: "Returns detection details such as threat categories and sender information for messages with a detection.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "investigate_id": { + "$ref": "#/$defs/email-security_InvestigateId", + "description": "Unique identifier for a message retrieved from investigation." + } + }, + "required": [ + "account_id", + "investigate_id" + ], + "type": "object" } }, required: [ - "account_id", - "investigate_id" + "path" ], $defs: { - "email-security_InvestigateId": email_security_InvestigateId, - "email-security_identifier": email_security_identifier, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -70,17 +78,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_Attachment": email_security_Attachment_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_Finding": email_security_Finding_output, - "email-security_Link": email_security_Link_output, - "email-security_MessageDetectionDetails": email_security_MessageDetectionDetails_output, - "email-security_MessageHeader": email_security_MessageHeader_output, - "email-security_ThreatCategory": email_security_ThreatCategory_output, - "email-security_Validation": email_security_Validation_output, - "email-security_ValidationStatus": email_security_ValidationStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_Attachment": email$$security_Attachment, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_Finding": email$$security_Finding, + "email-security_Link": email$$security_Link, + "email-security_MessageDetectionDetails": email$$security_MessageDetectionDetails, + "email-security_MessageHeader": email$$security_MessageHeader, + "email-security_ThreatCategory": email$$security_ThreatCategory, + "email-security_Validation": email$$security_Validation, + "email-security_ValidationStatus": email$$security_ValidationStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -124,18 +132,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_Attachment": email_security_Attachment_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_Finding": email_security_Finding_output, - "email-security_Link": email_security_Link_output, - "email-security_MessageDetectionDetails": email_security_MessageDetectionDetails_output, - "email-security_MessageHeader": email_security_MessageHeader_output, - "email-security_ThreatCategory": email_security_ThreatCategory_output, - "email-security_Validation": email_security_Validation_output, - "email-security_ValidationStatus": email_security_ValidationStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_Attachment": email$$security_Attachment, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_Finding": email$$security_Finding, + "email-security_Link": email$$security_Link, + "email-security_MessageDetectionDetails": email$$security_MessageDetectionDetails, + "email-security_MessageHeader": email$$security_MessageHeader, + "email-security_ThreatCategory": email$$security_ThreatCategory, + "email-security_Validation": email$$security_Validation, + "email-security_ValidationStatus": email$$security_ValidationStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts index ba397a65f..95c1381b3 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_MoveResponseItem` in responses. */ -export const email_security_MoveResponseItem_output: JsonSchema = { +export const email$$security_MoveResponseItem: JsonSchema = { "properties": { "completed_at": { "oneOf": [ @@ -89,7 +89,7 @@ export const email_security_MoveResponseItem_output: JsonSchema = { /** * The schema of `email-security_ReleaseResponse` in responses. */ -export const email_security_ReleaseResponse_output: JsonSchema = { +export const email$$security_ReleaseResponse: JsonSchema = { "properties": { "delivered": { "oneOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/preview/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/preview/outputs.ts index 6214e262c..39cdec1ca 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/preview/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/preview/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email-security_MessagePreview` in responses. */ -export const email_security_MessagePreview_output: JsonSchema = { +export const email$$security_MessagePreview: JsonSchema = { "properties": { "screenshot": { "type": "string" diff --git a/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts index a0df2676c..56ff70752 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts @@ -3,31 +3,27 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_messages_output, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_messages, } from "../../outputs.js"; import { - email_security_InvestigateId, - email_security_identifier, + email$$security_InvestigateId, + email$$security_identifier, } from "../../schemas.js"; -import { email_security_MessagePreview_output } from "./outputs.js"; +import { email$$security_MessagePreview } from "./outputs.js"; /** - * The tools of `email_security.investigate.preview`. + * The tools of `emailSecurity.investigate.preview`. */ export const tools: readonly Tool[] = [ { - name: "email_security_investigate_preview_generate", + name: "emailSecurity_investigate_preview_generate", title: "Generate preview for a non-detection message", description: "Generates a preview image for a message that was not flagged as a detection. The message is rendered from the copy in the recipient's mailbox, so this requires an active integration and only works while the message is still in the recipient's inbox. Returns a base64-encoded PNG screenshot of the email body. For messages with a detection, use the detection preview endpoint instead.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "id": { @@ -39,15 +35,27 @@ export const tools: readonly Tool[] = [ "id" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_InvestigateId": email_security_InvestigateId, - "email-security_identifier": email_security_identifier, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -68,9 +76,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_MessagePreview": email_security_MessagePreview_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_MessagePreview": email$$security_MessagePreview, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -113,10 +121,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_MessagePreview": email_security_MessagePreview_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_MessagePreview": email$$security_MessagePreview, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -125,28 +133,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_investigate_preview_get", + name: "emailSecurity_investigate_preview_get", title: "Get preview for a detection", description: "Returns a preview of the message body as a base64-encoded PNG image for any message with a detection. For messages without a detection, use the non-detection preview endpoint instead.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "investigate_id": { + "$ref": "#/$defs/email-security_InvestigateId", + "description": "Unique identifier for a message retrieved from investigation." + } + }, + "required": [ + "account_id", + "investigate_id" + ], + "type": "object" } }, required: [ - "account_id", - "investigate_id" + "path" ], $defs: { - "email-security_InvestigateId": email_security_InvestigateId, - "email-security_identifier": email_security_identifier, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -167,9 +183,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_MessagePreview": email_security_MessagePreview_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_MessagePreview": email$$security_MessagePreview, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -213,10 +229,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_MessagePreview": email_security_MessagePreview_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_MessagePreview": email$$security_MessagePreview, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/raw/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/raw/outputs.ts index 225359d0a..16c96da32 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/raw/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/raw/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email-security_MessageRaw` in responses. */ -export const email_security_MessageRaw_output: JsonSchema = { +export const email$$security_MessageRaw: JsonSchema = { "properties": { "raw": { "type": "string" diff --git a/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts index 6269903f2..ded2d12bd 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts @@ -3,43 +3,51 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_messages_output, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_messages, } from "../../outputs.js"; import { - email_security_InvestigateId, - email_security_identifier, + email$$security_InvestigateId, + email$$security_identifier, } from "../../schemas.js"; -import { email_security_MessageRaw_output } from "./outputs.js"; +import { email$$security_MessageRaw } from "./outputs.js"; /** - * The tools of `email_security.investigate.raw`. + * The tools of `emailSecurity.investigate.raw`. */ export const tools: readonly Tool[] = [ { - name: "email_security_investigate_raw_get", + name: "emailSecurity_investigate_raw_get", title: "Get raw email content", description: "Returns the raw EML content of any message with a detection.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "investigate_id": { + "$ref": "#/$defs/email-security_InvestigateId", + "description": "Unique identifier for a message retrieved from investigation." + } + }, + "required": [ + "account_id", + "investigate_id" + ], + "type": "object" } }, required: [ - "account_id", - "investigate_id" + "path" ], $defs: { - "email-security_InvestigateId": email_security_InvestigateId, - "email-security_identifier": email_security_identifier, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -60,9 +68,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_MessageRaw": email_security_MessageRaw_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_MessageRaw": email$$security_MessageRaw, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -106,10 +114,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_MessageRaw": email_security_MessageRaw_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_MessageRaw": email$$security_MessageRaw, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/tools.ts index 9ef9f1e34..033f3d13d 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/tools.ts @@ -1,66 +1,79 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_ActionLogEntry_output, - email_security_CursorResultInfo_output, - email_security_DispositionLabel_output, - email_security_InvestigateId_output, - email_security_MessageDeliveryMode_output, - email_security_MessageDeliveryStatus_output, - email_security_MessageDetails_output, - email_security_PostfixId_output, - email_security_ValidationStatus_output, - email_security_Validation_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_messages_output, + email$$security_ActionLogEntry, + email$$security_CursorResultInfo, + email$$security_DispositionLabel, + email$$security_InvestigateId, + email$$security_MessageDeliveryMode, + email$$security_MessageDeliveryStatus, + email$$security_MessageDetails, + email$$security_PostfixId, + email$$security_Validation, + email$$security_ValidationStatus, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_messages, } from "../outputs.js"; import { - email_security_DispositionLabel, - email_security_InvestigateId, - email_security_MailboxDestination, - email_security_MessageDeliveryStatus, - email_security_PostfixId, - email_security_identifier, + email$$security_DispositionLabel as email$$security_DispositionLabel$, + email$$security_InvestigateId as email$$security_InvestigateId$, + email$$security_MailboxDestination, + email$$security_MessageDeliveryStatus as email$$security_MessageDeliveryStatus$, + email$$security_PostfixId as email$$security_PostfixId$, + email$$security_identifier, } from "../schemas.js"; import { - email_security_MoveResponseItem_output, - email_security_ReleaseResponse_output, + email$$security_MoveResponseItem, + email$$security_ReleaseResponse, } from "./outputs.js"; /** - * The tools of `email_security.investigate`. + * The tools of `emailSecurity.investigate`. */ export const tools: readonly Tool[] = [ { - name: "email_security_investigate_get", + name: "emailSecurity_investigate_get", title: "Get message details", description: "Retrieves comprehensive details for a specific email message including headers, recipients, sender information, and current quarantine status. Use the investigate_id from search results to fetch detailed information.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "investigate_id": { + "$ref": "#/$defs/email-security_InvestigateId", + "description": "Unique identifier for a message retrieved from investigation." + } + }, + "required": [ + "account_id", + "investigate_id" + ], + "type": "object" }, - "submission": { - "description": "When true, search the submissions datastore only. When false or omitted, search the\nregular datastore only.", - "type": "boolean" + "query": { + "properties": { + "submission": { + "description": "When true, search the submissions datastore only. When false or omitted, search the\nregular datastore only.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "investigate_id" + "path" ], $defs: { - "email-security_InvestigateId": email_security_InvestigateId, - "email-security_identifier": email_security_identifier, + "email-security_InvestigateId": email$$security_InvestigateId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -81,17 +94,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ActionLogEntry": email_security_ActionLogEntry_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_InvestigateId": email_security_InvestigateId_output, - "email-security_MessageDeliveryMode": email_security_MessageDeliveryMode_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_MessageDetails": email_security_MessageDetails_output, - "email-security_PostfixId": email_security_PostfixId_output, - "email-security_Validation": email_security_Validation_output, - "email-security_ValidationStatus": email_security_ValidationStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_ActionLogEntry": email$$security_ActionLogEntry, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_MessageDetails": email$$security_MessageDetails, + "email-security_PostfixId": email$$security_PostfixId, + "email-security_Validation": email$$security_Validation, + "email-security_ValidationStatus": email$$security_ValidationStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -135,143 +148,156 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ActionLogEntry": email_security_ActionLogEntry_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_InvestigateId": email_security_InvestigateId_output, - "email-security_MessageDeliveryMode": email_security_MessageDeliveryMode_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_MessageDetails": email_security_MessageDetails_output, - "email-security_PostfixId": email_security_PostfixId_output, - "email-security_Validation": email_security_Validation_output, - "email-security_ValidationStatus": email_security_ValidationStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_ActionLogEntry": email$$security_ActionLogEntry, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_MessageDetails": email$$security_MessageDetails, + "email-security_PostfixId": email$$security_PostfixId, + "email-security_Validation": email$$security_Validation, + "email-security_ValidationStatus": email$$security_ValidationStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate/${pathParam(args, "investigate_id")}`, query: [ - ["submission", args["submission"], true], + ["submission", param(args, "query", "submission"), true], ], }), }, { - name: "email_security_investigate_list", + name: "emailSecurity_investigate_list", title: "Search email messages", description: "Returns information for each email that matches the provided search parameters.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "alert_id": { - "description": "Filter by alert ID.", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from the previous response's `result_info`.", - "type": "string" - }, - "delivery_status": { - "$ref": "#/$defs/email-security_MessageDeliveryStatus", - "description": "Delivery status to filter by." - }, - "detections_only": { - "default": true, - "description": "Whether to include only detections in search results.", - "type": "boolean" - }, - "domain": { - "description": "Filter by a domain found in the email — sender domain, recipient domain, or a domain in a link.", - "type": "string" - }, - "end": { - "description": "The end of the search date range. Defaults to `now`.", - "format": "date-time", - "type": "string" - }, - "final_disposition": { - "description": "Dispositions to filter by.", - "enum": [ - "MALICIOUS", - "SUSPICIOUS", - "SPOOF", - "SPAM", - "BULK", - "NONE" - ], - "type": "string" - }, - "message_action": { - "description": "Message actions to filter by.", - "enum": [ - "PREVIEW", - "QUARANTINE_RELEASED", - "MOVED" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "message_id": { - "description": "Filter by the RFC 5322 Message-ID header.", - "type": "string" - }, - "metric": { - "description": "Metric to aggregate the results by.", - "type": "string" + "type": "object" }, - "page": { - "default": 1, - "deprecated": true, - "description": "Deprecated: Use cursor pagination instead. End of life: November 1, 2026.", - "oneOf": [ - { + "query": { + "properties": { + "alert_id": { + "description": "Filter by alert ID.", + "type": "string" + }, + "cursor": { + "description": "Pagination cursor from the previous response's `result_info`.", + "type": "string" + }, + "delivery_status": { + "$ref": "#/$defs/email-security_MessageDeliveryStatus", + "description": "Delivery status to filter by." + }, + "detections_only": { + "default": true, + "description": "Whether to include only detections in search results.", + "type": "boolean" + }, + "domain": { + "description": "Filter by a domain found in the email — sender domain, recipient domain, or a domain in a link.", + "type": "string" + }, + "end": { + "description": "The end of the search date range. Defaults to `now`.", + "format": "date-time", + "type": "string" + }, + "final_disposition": { + "description": "Dispositions to filter by.", + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" + }, + "message_action": { + "description": "Message actions to filter by.", + "enum": [ + "PREVIEW", + "QUARANTINE_RELEASED", + "MOVED" + ], + "type": "string" + }, + "message_id": { + "description": "Filter by the RFC 5322 Message-ID header.", + "type": "string" + }, + "metric": { + "description": "Metric to aggregate the results by.", + "type": "string" + }, + "page": { + "default": 1, + "deprecated": true, + "description": "Deprecated: Use cursor pagination instead. End of life: November 1, 2026.", + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", "type": "integer" }, - { - "type": "null" + "query": { + "description": "Space-delimited term matched case-insensitively against message metadata — sender, recipient, subject, attachment names and hashes, and message ID.", + "type": "string" + }, + "recipient": { + "description": "Filter by recipient. Matches an email address or a domain.", + "type": "string" + }, + "sender": { + "description": "Filter by sender. Matches an email address or a domain.", + "type": "string" + }, + "smtp_helo_ip": { + "description": "Matches messages whose SMTP HELO server IP address equals this value.", + "type": "string" + }, + "start": { + "description": "The beginning of the search date range. Defaults to `now - 30 days`. Must not be in the future.", + "format": "date-time", + "type": "string" + }, + "subject": { + "description": "Search for messages containing individual keywords in any order within the subject.", + "type": "string" } - ] - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" - }, - "query": { - "description": "Space-delimited term matched case-insensitively against message metadata — sender, recipient, subject, attachment names and hashes, and message ID.", - "type": "string" - }, - "recipient": { - "description": "Filter by recipient. Matches an email address or a domain.", - "type": "string" - }, - "sender": { - "description": "Filter by sender. Matches an email address or a domain.", - "type": "string" - }, - "smtp_helo_ip": { - "description": "Matches messages whose SMTP HELO server IP address equals this value.", - "type": "string" - }, - "start": { - "description": "The beginning of the search date range. Defaults to `now - 30 days`. Must not be in the future.", - "format": "date-time", - "type": "string" - }, - "subject": { - "description": "Search for messages containing individual keywords in any order within the subject.", - "type": "string" + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus, - "email-security_identifier": email_security_identifier, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -329,18 +355,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ActionLogEntry": email_security_ActionLogEntry_output, - "email-security_CursorResultInfo": email_security_CursorResultInfo_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_InvestigateId": email_security_InvestigateId_output, - "email-security_MessageDeliveryMode": email_security_MessageDeliveryMode_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_MessageDetails": email_security_MessageDetails_output, - "email-security_PostfixId": email_security_PostfixId_output, - "email-security_Validation": email_security_Validation_output, - "email-security_ValidationStatus": email_security_ValidationStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_ActionLogEntry": email$$security_ActionLogEntry, + "email-security_CursorResultInfo": email$$security_CursorResultInfo, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_MessageDetails": email$$security_MessageDetails, + "email-security_PostfixId": email$$security_PostfixId, + "email-security_Validation": email$$security_Validation, + "email-security_ValidationStatus": email$$security_ValidationStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -417,56 +443,52 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ActionLogEntry": email_security_ActionLogEntry_output, - "email-security_CursorResultInfo": email_security_CursorResultInfo_output, - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_InvestigateId": email_security_InvestigateId_output, - "email-security_MessageDeliveryMode": email_security_MessageDeliveryMode_output, - "email-security_MessageDeliveryStatus": email_security_MessageDeliveryStatus_output, - "email-security_MessageDetails": email_security_MessageDetails_output, - "email-security_PostfixId": email_security_PostfixId_output, - "email-security_Validation": email_security_Validation_output, - "email-security_ValidationStatus": email_security_ValidationStatus_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_ActionLogEntry": email$$security_ActionLogEntry, + "email-security_CursorResultInfo": email$$security_CursorResultInfo, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, + "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, + "email-security_MessageDetails": email$$security_MessageDetails, + "email-security_PostfixId": email$$security_PostfixId, + "email-security_Validation": email$$security_Validation, + "email-security_ValidationStatus": email$$security_ValidationStatus, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/investigate`, query: [ - ["start", args["start"], true], - ["end", args["end"], true], - ["query", args["query"], true], - ["detections_only", args["detections_only"], true], - ["final_disposition", args["final_disposition"], true], - ["metric", args["metric"], true], - ["message_action", args["message_action"], true], - ["recipient", args["recipient"], true], - ["sender", args["sender"], true], - ["smtp_helo_ip", args["smtp_helo_ip"], true], - ["alert_id", args["alert_id"], true], - ["domain", args["domain"], true], - ["message_id", args["message_id"], true], - ["subject", args["subject"], true], - ["delivery_status", args["delivery_status"], true], - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], - ["page", args["page"], true], + ["start", param(args, "query", "start"), true], + ["end", param(args, "query", "end"), true], + ["query", param(args, "query", "query"), true], + ["detections_only", param(args, "query", "detections_only"), true], + ["final_disposition", param(args, "query", "final_disposition"), true], + ["metric", param(args, "query", "metric"), true], + ["message_action", param(args, "query", "message_action"), true], + ["recipient", param(args, "query", "recipient"), true], + ["sender", param(args, "query", "sender"), true], + ["smtp_helo_ip", param(args, "query", "smtp_helo_ip"), true], + ["alert_id", param(args, "query", "alert_id"), true], + ["domain", param(args, "query", "domain"), true], + ["message_id", param(args, "query", "message_id"), true], + ["subject", param(args, "query", "subject"), true], + ["delivery_status", param(args, "query", "delivery_status"), true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], ], }), }, { - name: "email_security_investigate_move", + name: "emailSecurity_investigate_move", title: "Move messages", description: "Moves one or more messages to a specified mailbox folder (Inbox, JunkEmail, DeletedItems, RecoverableItemsDeletions, or RecoverableItemsPurges). Requires active integration. Operates on an explicit list of messages; to move all messages matching a search, create a bulk action job instead.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "destination": { @@ -508,18 +530,30 @@ export const tools: readonly Tool[] = [ "ids" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_DispositionLabel": email_security_DispositionLabel, - "email-security_InvestigateId": email_security_InvestigateId, - "email-security_MailboxDestination": email_security_MailboxDestination, - "email-security_PostfixId": email_security_PostfixId, - "email-security_identifier": email_security_identifier, + "email-security_DispositionLabel": email$$security_DispositionLabel$, + "email-security_InvestigateId": email$$security_InvestigateId$, + "email-security_MailboxDestination": email$$security_MailboxDestination, + "email-security_PostfixId": email$$security_PostfixId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -543,9 +577,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_MoveResponseItem": email_security_MoveResponseItem_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_MoveResponseItem": email$$security_MoveResponseItem, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -591,10 +625,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_MoveResponseItem": email_security_MoveResponseItem_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_MoveResponseItem": email$$security_MoveResponseItem, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -603,16 +637,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_investigate_release", + name: "emailSecurity_investigate_release", title: "Release messages from quarantine", description: "Delivers one or more quarantined messages to their intended recipients, for cases where a message was incorrectly quarantined. Operates on an explicit list of messages; to release all messages matching a search, create a bulk action job instead. The response includes delivery status for each recipient.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "description": "The messages to release, identified by their investigate IDs.", "properties": { @@ -629,15 +659,27 @@ export const tools: readonly Tool[] = [ "ids" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_InvestigateId": email_security_InvestigateId, - "email-security_identifier": email_security_identifier, + "email-security_InvestigateId": email$$security_InvestigateId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -661,11 +703,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_InvestigateId": email_security_InvestigateId_output, - "email-security_PostfixId": email_security_PostfixId_output, - "email-security_ReleaseResponse": email_security_ReleaseResponse_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_PostfixId": email$$security_PostfixId, + "email-security_ReleaseResponse": email$$security_ReleaseResponse, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -711,12 +753,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_InvestigateId": email_security_InvestigateId_output, - "email-security_PostfixId": email_security_PostfixId_output, - "email-security_ReleaseResponse": email_security_ReleaseResponse_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_PostfixId": email$$security_PostfixId, + "email-security_ReleaseResponse": email$$security_ReleaseResponse, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/trace/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/trace/outputs.ts index 19fcf0d7e..bd8c5d21b 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/trace/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/trace/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email-security_MessageTrace` in responses. */ -export const email_security_MessageTrace_output: JsonSchema = { +export const email$$security_MessageTrace: JsonSchema = { "properties": { "inbound": { "properties": { @@ -75,7 +75,7 @@ export const email_security_MessageTrace_output: JsonSchema = { /** * The schema of `email-security_TraceLine` in responses. */ -export const email_security_TraceLine_output: JsonSchema = { +export const email$$security_TraceLine: JsonSchema = { "properties": { "lineno": { "type": "integer" diff --git a/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts index aa10ee2c3..355943bd3 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts @@ -3,46 +3,54 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_messages_output, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_messages, } from "../../outputs.js"; import { - email_security_InvestigateId, - email_security_identifier, + email$$security_InvestigateId, + email$$security_identifier, } from "../../schemas.js"; import { - email_security_MessageTrace_output, - email_security_TraceLine_output, + email$$security_MessageTrace, + email$$security_TraceLine, } from "./outputs.js"; /** - * The tools of `email_security.investigate.trace`. + * The tools of `emailSecurity.investigate.trace`. */ export const tools: readonly Tool[] = [ { - name: "email_security_investigate_trace_get", + name: "emailSecurity_investigate_trace_get", title: "Get email trace", description: "Retrieves delivery and processing trace information for an email message. Shows the delivery path, retraction history, and move operations performed on the message. Useful for debugging delivery issues.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "investigate_id": { + "$ref": "#/$defs/email-security_InvestigateId", + "description": "Unique identifier for a message retrieved from investigation." + } + }, + "required": [ + "account_id", + "investigate_id" + ], + "type": "object" } }, required: [ - "account_id", - "investigate_id" + "path" ], $defs: { - "email-security_InvestigateId": email_security_InvestigateId, - "email-security_identifier": email_security_identifier, + "email-security_InvestigateId": email$$security_InvestigateId, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -63,10 +71,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_MessageTrace": email_security_MessageTrace_output, - "email-security_TraceLine": email_security_TraceLine_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_MessageTrace": email$$security_MessageTrace, + "email-security_TraceLine": email$$security_TraceLine, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -110,11 +118,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_MessageTrace": email_security_MessageTrace_output, - "email-security_TraceLine": email_security_TraceLine_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_MessageTrace": email$$security_MessageTrace, + "email-security_TraceLine": email$$security_TraceLine, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/outputs.ts b/src/generated/forge-mcp/emailSecurity/outputs.ts index 4425253e5..3051d0a33 100644 --- a/src/generated/forge-mcp/emailSecurity/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `email-security_ActionLogEntry` in responses. */ -export const email_security_ActionLogEntry_output: JsonSchema = { +export const email$$security_ActionLogEntry: JsonSchema = { "properties": { "completed_at": { "format": "date-time", @@ -58,7 +58,7 @@ export const email_security_ActionLogEntry_output: JsonSchema = { /** * The schema of `email-security_CursorResultInfo` in responses. */ -export const email_security_CursorResultInfo_output: JsonSchema = { +export const email$$security_CursorResultInfo: JsonSchema = { "properties": { "count": { "type": "integer" @@ -104,7 +104,7 @@ export const email_security_CursorResultInfo_output: JsonSchema = { /** * The schema of `email-security_DispositionLabel` in responses. */ -export const email_security_DispositionLabel_output: JsonSchema = { +export const email$$security_DispositionLabel: JsonSchema = { "enum": [ "MALICIOUS", "MALICIOUS-BEC", @@ -123,14 +123,14 @@ export const email_security_DispositionLabel_output: JsonSchema = { /** * The schema of `email-security_InvestigateId` in responses. */ -export const email_security_InvestigateId_output: JsonSchema = { +export const email$$security_InvestigateId: JsonSchema = { "type": "string" }; /** * The schema of `email-security_MailboxDestination` in responses. */ -export const email_security_MailboxDestination_output: JsonSchema = { +export const email$$security_MailboxDestination: JsonSchema = { "enum": [ "Inbox", "JunkEmail", @@ -144,7 +144,7 @@ export const email_security_MailboxDestination_output: JsonSchema = { /** * The schema of `email-security_MessageDeliveryMode` in responses. */ -export const email_security_MessageDeliveryMode_output: JsonSchema = { +export const email$$security_MessageDeliveryMode: JsonSchema = { "oneOf": [ { "enum": [ @@ -171,7 +171,7 @@ export const email_security_MessageDeliveryMode_output: JsonSchema = { /** * The schema of `email-security_MessageDeliveryStatus` in responses. */ -export const email_security_MessageDeliveryStatus_output: JsonSchema = { +export const email$$security_MessageDeliveryStatus: JsonSchema = { "enum": [ "delivered", "moved", @@ -188,7 +188,7 @@ export const email_security_MessageDeliveryStatus_output: JsonSchema = { /** * The schema of `email-security_MessageDetails` in responses. */ -export const email_security_MessageDetails_output: JsonSchema = { +export const email$$security_MessageDetails: JsonSchema = { "properties": { "action_log": { "items": { @@ -697,7 +697,7 @@ export const email_security_MessageDetails_output: JsonSchema = { /** * The schema of `email-security_PatternType` in responses. */ -export const email_security_PatternType_output: JsonSchema = { +export const email$$security_PatternType: JsonSchema = { "enum": [ "EMAIL", "DOMAIN", @@ -710,14 +710,14 @@ export const email_security_PatternType_output: JsonSchema = { /** * The schema of `email-security_PostfixId` in responses. */ -export const email_security_PostfixId_output: JsonSchema = { +export const email$$security_PostfixId: JsonSchema = { "type": "string" }; /** * The schema of `email-security_Validation` in responses. */ -export const email_security_Validation_output: JsonSchema = { +export const email$$security_Validation: JsonSchema = { "properties": { "comment": { "oneOf": [ @@ -766,7 +766,7 @@ export const email_security_Validation_output: JsonSchema = { /** * The schema of `email-security_ValidationStatus` in responses. */ -export const email_security_ValidationStatus_output: JsonSchema = { +export const email$$security_ValidationStatus: JsonSchema = { "oneOf": [ { "enum": [ @@ -787,7 +787,7 @@ export const email_security_ValidationStatus_output: JsonSchema = { /** * The schema of `email-security_api-response-collection` in responses. */ -export const email_security_api_response_collection_output: JsonSchema = { +export const email$$security_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email-security_api-response-common" @@ -820,7 +820,7 @@ export const email_security_api_response_collection_output: JsonSchema = { /** * The schema of `email-security_api-response-common` in responses. */ -export const email_security_api_response_common_output: JsonSchema = { +export const email$$security_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/email-security_messages" @@ -846,7 +846,7 @@ export const email_security_api_response_common_output: JsonSchema = { /** * The schema of `email-security_api-response-common-failure` in responses. */ -export const email_security_api_response_common_failure_output: JsonSchema = { +export const email$$security_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/email-security_messages" @@ -876,7 +876,7 @@ export const email_security_api_response_common_failure_output: JsonSchema = { /** * The schema of `email-security_api-response-single` in responses. */ -export const email_security_api_response_single_output: JsonSchema = { +export const email$$security_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/email-security_messages" @@ -902,7 +902,7 @@ export const email_security_api_response_single_output: JsonSchema = { /** * The schema of `email-security_messages` in responses. */ -export const email_security_messages_output: JsonSchema = { +export const email$$security_messages: JsonSchema = { "items": { "properties": { "code": { @@ -935,7 +935,7 @@ export const email_security_messages_output: JsonSchema = { /** * The schema of `email-security_timestamp` in responses. */ -export const email_security_timestamp_output: JsonSchema = { +export const email$$security_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts b/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts index d59c6a07b..3998b6b06 100644 --- a/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email-security_PhishGuardReport` in responses. */ -export const email_security_PhishGuardReport_output: JsonSchema = { +export const email$$security_PhishGuardReport: JsonSchema = { "properties": { "content": { "type": "string" @@ -119,7 +119,7 @@ export const email_security_PhishGuardReport_output: JsonSchema = { /** * The schema of `email-security_PhishGuardReportTag` in responses. */ -export const email_security_PhishGuardReportTag_output: JsonSchema = { +export const email$$security_PhishGuardReportTag: JsonSchema = { "properties": { "category": { "type": "string" diff --git a/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts b/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts index 86583bdf6..c86915c89 100644 --- a/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts @@ -1,73 +1,86 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - email_security_DispositionLabel_output, - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_messages_output, + email$$security_DispositionLabel, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_messages, } from "../../outputs.js"; -import { email_security_identifier } from "../../schemas.js"; +import { email$$security_identifier } from "../../schemas.js"; import { - email_security_PhishGuardReportTag_output, - email_security_PhishGuardReport_output, + email$$security_PhishGuardReport, + email$$security_PhishGuardReportTag, } from "./outputs.js"; /** - * The tools of `email_security.phishguard.reports`. + * The tools of `emailSecurity.phishguard.reports`. */ export const tools: readonly Tool[] = [ { - name: "email_security_phishguard_reports_list", + name: "emailSecurity_phishguard_reports_list", title: "List PhishGuard reports", description: "Retrieves PhishGuard security alert reports for a specified date range. Reports include detected threats, dispositions, and contextual information. Use for security monitoring and threat analysis.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "end": { - "description": "End of the time range (RFC3339). Takes precedence over to_date.", - "format": "date-time", - "type": "string" - }, - "from_date": { - "deprecated": true, - "description": "Deprecated, use `start` instead. Start date in YYYY-MM-DD format.", - "format": "date", - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" - }, - "start": { - "description": "Start of the time range (RFC3339). Takes precedence over from_date.", - "format": "date-time", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "to_date": { - "deprecated": true, - "description": "Deprecated, use `end` instead. End date in YYYY-MM-DD format.", - "format": "date", - "type": "string" + "query": { + "properties": { + "end": { + "description": "End of the time range (RFC3339). Takes precedence over to_date.", + "format": "date-time", + "type": "string" + }, + "from_date": { + "deprecated": true, + "description": "Deprecated, use `start` instead. Start date in YYYY-MM-DD format.", + "format": "date", + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "start": { + "description": "Start of the time range (RFC3339). Takes precedence over from_date.", + "format": "date-time", + "type": "string" + }, + "to_date": { + "deprecated": true, + "description": "Deprecated, use `end` instead. End date in YYYY-MM-DD format.", + "format": "date", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_identifier": email_security_identifier, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -91,12 +104,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_PhishGuardReport": email_security_PhishGuardReport_output, - "email-security_PhishGuardReportTag": email_security_PhishGuardReportTag_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_PhishGuardReport": email$$security_PhishGuardReport, + "email-security_PhishGuardReportTag": email$$security_PhishGuardReportTag, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -143,24 +156,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DispositionLabel": email_security_DispositionLabel_output, - "email-security_PhishGuardReport": email_security_PhishGuardReport_output, - "email-security_PhishGuardReportTag": email_security_PhishGuardReportTag_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_DispositionLabel": email$$security_DispositionLabel, + "email-security_PhishGuardReport": email$$security_PhishGuardReport, + "email-security_PhishGuardReportTag": email$$security_PhishGuardReportTag, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/phishguard/reports`, query: [ - ["start", args["start"], true], - ["end", args["end"], true], - ["from_date", args["from_date"], true], - ["to_date", args["to_date"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["start", param(args, "query", "start"), true], + ["end", param(args, "query", "end"), true], + ["from_date", param(args, "query", "from_date"), true], + ["to_date", param(args, "query", "to_date"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSecurity/schemas.ts b/src/generated/forge-mcp/emailSecurity/schemas.ts index eed52c5dc..8b12ff2db 100644 --- a/src/generated/forge-mcp/emailSecurity/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `email-security_DispositionLabel`. */ -export const email_security_DispositionLabel: JsonSchema = { +export const email$$security_DispositionLabel: JsonSchema = { "description": "The verdict Email Security assigns to a message.", "enum": [ "MALICIOUS", @@ -26,7 +26,7 @@ export const email_security_DispositionLabel: JsonSchema = { /** * The schema of `email-security_InvestigateId`. */ -export const email_security_InvestigateId: JsonSchema = { +export const email$$security_InvestigateId: JsonSchema = { "description": "Unique identifier for a message retrieved from investigation.", "type": "string" }; @@ -34,7 +34,7 @@ export const email_security_InvestigateId: JsonSchema = { /** * The schema of `email-security_MailboxDestination`. */ -export const email_security_MailboxDestination: JsonSchema = { +export const email$$security_MailboxDestination: JsonSchema = { "description": "The mailbox folder to move messages to.", "enum": [ "Inbox", @@ -49,7 +49,7 @@ export const email_security_MailboxDestination: JsonSchema = { /** * The schema of `email-security_MessageDeliveryStatus`. */ -export const email_security_MessageDeliveryStatus: JsonSchema = { +export const email$$security_MessageDeliveryStatus: JsonSchema = { "description": "Delivery status of the message.", "enum": [ "delivered", @@ -67,7 +67,7 @@ export const email_security_MessageDeliveryStatus: JsonSchema = { /** * The schema of `email-security_PatternType`. */ -export const email_security_PatternType: JsonSchema = { +export const email$$security_PatternType: JsonSchema = { "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.\n", "enum": [ "EMAIL", @@ -81,7 +81,7 @@ export const email_security_PatternType: JsonSchema = { /** * The schema of `email-security_PostfixId`. */ -export const email_security_PostfixId: JsonSchema = { +export const email$$security_PostfixId: JsonSchema = { "description": "The identifier of the message.", "type": "string" }; @@ -89,7 +89,7 @@ export const email_security_PostfixId: JsonSchema = { /** * The schema of `email-security_identifier`. */ -export const email_security_identifier: JsonSchema = { +export const email$$security_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts index 57de100b1..aaba6e03b 100644 --- a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_DeletedSendingDomainRestriction` in responses. */ -export const email_security_DeletedSendingDomainRestriction_output: JsonSchema = { +export const email$$security_DeletedSendingDomainRestriction: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/email-security_SendingDomainRestrictionId" @@ -21,7 +21,7 @@ export const email_security_DeletedSendingDomainRestriction_output: JsonSchema = /** * The schema of `email-security_SendingDomainRestriction` in responses. */ -export const email_security_SendingDomainRestriction_output: JsonSchema = { +export const email$$security_SendingDomainRestriction: JsonSchema = { "properties": { "comments": { "oneOf": [ @@ -61,7 +61,7 @@ export const email_security_SendingDomainRestriction_output: JsonSchema = { /** * The schema of `email-security_SendingDomainRestrictionId` in responses. */ -export const email_security_SendingDomainRestrictionId_output: JsonSchema = { +export const email$$security_SendingDomainRestrictionId: JsonSchema = { "format": "uuid", "type": "string" }; @@ -69,7 +69,7 @@ export const email_security_SendingDomainRestrictionId_output: JsonSchema = { /** * The schema of `email-security_SendingDomainRestrictionList` in responses. */ -export const email_security_SendingDomainRestrictionList_output: JsonSchema = { +export const email$$security_SendingDomainRestrictionList: JsonSchema = { "items": { "$ref": "#/$defs/email-security_SendingDomainRestriction" }, diff --git a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/schemas.ts b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/schemas.ts index 740df847b..40db614b2 100644 --- a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_CreateSendingDomainRestriction`. */ -export const email_security_CreateSendingDomainRestriction: JsonSchema = { +export const email$$security_CreateSendingDomainRestriction: JsonSchema = { "description": "Create a sending domain restriction.", "properties": { "comments": { @@ -41,7 +41,7 @@ export const email_security_CreateSendingDomainRestriction: JsonSchema = { /** * The schema of `email-security_SendingDomainRestrictionId`. */ -export const email_security_SendingDomainRestrictionId: JsonSchema = { +export const email$$security_SendingDomainRestrictionId: JsonSchema = { "description": "Sending domain restriction identifier.", "format": "uuid", "type": "string" @@ -50,7 +50,7 @@ export const email_security_SendingDomainRestrictionId: JsonSchema = { /** * The schema of `email-security_UpdateSendingDomainRestriction`. */ -export const email_security_UpdateSendingDomainRestriction: JsonSchema = { +export const email$$security_UpdateSendingDomainRestriction: JsonSchema = { "description": "Update a sending domain restriction.", "properties": { "comments": { diff --git a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts index fc0b0b95f..2d98701db 100644 --- a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts @@ -1,54 +1,62 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_api_response_single_output, - email_security_messages_output, - email_security_timestamp_output, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, + email$$security_timestamp, } from "../outputs.js"; -import { email_security_identifier } from "../schemas.js"; +import { email$$security_identifier } from "../schemas.js"; import { - email_security_DeletedSendingDomainRestriction_output, - email_security_SendingDomainRestrictionId_output, - email_security_SendingDomainRestrictionList_output, - email_security_SendingDomainRestriction_output, + email$$security_DeletedSendingDomainRestriction, + email$$security_SendingDomainRestriction, + email$$security_SendingDomainRestrictionId, + email$$security_SendingDomainRestrictionList, } from "./outputs.js"; import { - email_security_CreateSendingDomainRestriction, - email_security_SendingDomainRestrictionId, - email_security_UpdateSendingDomainRestriction, + email$$security_CreateSendingDomainRestriction, + email$$security_SendingDomainRestrictionId as email$$security_SendingDomainRestrictionId$, + email$$security_UpdateSendingDomainRestriction, } from "./schemas.js"; /** - * The tools of `email_security.sending_domain_restrictions`. + * The tools of `emailSecurity.sendingDomainRestrictions`. */ export const tools: readonly Tool[] = [ { - name: "email_security_sending_domain_restrictions_create", + name: "emailSecurity_sendingDomainRestrictions_create", title: "Create a sending domain restriction", description: "Creates a new sending domain restriction to enforce TLS requirements for a domain. Emails without TLS from this domain will be dropped unless the subdomain is in the exclude list.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateSendingDomainRestriction" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateSendingDomainRestriction": email_security_CreateSendingDomainRestriction, - "email-security_identifier": email_security_identifier, + "email-security_CreateSendingDomainRestriction": email$$security_CreateSendingDomainRestriction, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -66,11 +74,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -110,12 +118,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -124,28 +132,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_sending_domain_restrictions_delete", + name: "emailSecurity_sendingDomainRestrictions_delete", title: "Delete a sending domain restriction", description: "Removes a sending domain restriction. After deletion, TLS will no longer be enforced for emails from this domain.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the sending domain restriction and removes TLS enforcement for emails from this domain.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "sending_domain_restriction_id": { - "$ref": "#/$defs/email-security_SendingDomainRestrictionId", - "description": "Sending domain restriction identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "sending_domain_restriction_id": { + "$ref": "#/$defs/email-security_SendingDomainRestrictionId", + "description": "Sending domain restriction identifier." + } + }, + "required": [ + "account_id", + "sending_domain_restriction_id" + ], + "type": "object" } }, required: [ - "account_id", - "sending_domain_restriction_id" + "path" ], $defs: { - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId, - "email-security_identifier": email_security_identifier, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -163,10 +179,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeletedSendingDomainRestriction": email_security_DeletedSendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedSendingDomainRestriction": email$$security_DeletedSendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -206,11 +222,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeletedSendingDomainRestriction": email_security_DeletedSendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedSendingDomainRestriction": email$$security_DeletedSendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -218,33 +234,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_sending_domain_restrictions_edit", + name: "emailSecurity_sendingDomainRestrictions_edit", title: "Update a sending domain restriction", description: "Updates an existing sending domain restriction. Only provided fields will be modified. Changes affect which domains require TLS and which subdomains are excluded.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_UpdateSendingDomainRestriction" }, - "sending_domain_restriction_id": { - "$ref": "#/$defs/email-security_SendingDomainRestrictionId", - "description": "Sending domain restriction identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "sending_domain_restriction_id": { + "$ref": "#/$defs/email-security_SendingDomainRestrictionId", + "description": "Sending domain restriction identifier." + } + }, + "required": [ + "account_id", + "sending_domain_restriction_id" + ], + "type": "object" } }, required: [ - "account_id", - "sending_domain_restriction_id", + "path", "body" ], $defs: { - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId, - "email-security_UpdateSendingDomainRestriction": email_security_UpdateSendingDomainRestriction, - "email-security_identifier": email_security_identifier, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId$, + "email-security_UpdateSendingDomainRestriction": email$$security_UpdateSendingDomainRestriction, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -262,11 +286,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -306,12 +330,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -320,28 +344,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_sending_domain_restrictions_get", + name: "emailSecurity_sendingDomainRestrictions_get", title: "Get a sending domain restriction", description: "Retrieves details for a specific sending domain restriction including the domain requiring TLS and any excluded subdomains exempt from the TLS requirement.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "sending_domain_restriction_id": { - "$ref": "#/$defs/email-security_SendingDomainRestrictionId", - "description": "Sending domain restriction identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "sending_domain_restriction_id": { + "$ref": "#/$defs/email-security_SendingDomainRestrictionId", + "description": "Sending domain restriction identifier." + } + }, + "required": [ + "account_id", + "sending_domain_restriction_id" + ], + "type": "object" } }, required: [ - "account_id", - "sending_domain_restriction_id" + "path" ], $defs: { - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId, - "email-security_identifier": email_security_identifier, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -359,11 +391,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -404,12 +436,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -417,52 +449,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_sending_domain_restrictions_list", + name: "emailSecurity_sendingDomainRestrictions_list", title: "List sending domain restrictions", description: "Returns a paginated list of sending domain restrictions. These restrictions enforce TLS requirements for emails from specific domains. Mail without TLS from restricted domains will be dropped unless the subdomain is in the exclude list. Supports sorting and searching.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "direction": { - "description": "The sorting direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order": { - "description": "Field to sort by.", - "enum": [ - "domain", - "created_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" + "type": "object" }, - "search": { - "description": "Search term for filtering records. Behavior may change.", - "type": "string" + "query": { + "properties": { + "direction": { + "description": "The sorting direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "description": "Field to sort by.", + "enum": [ + "domain", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "search": { + "description": "Search term for filtering records. Behavior may change.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_identifier": email_security_identifier, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -480,13 +525,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_SendingDomainRestrictionList": email_security_SendingDomainRestrictionList_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_SendingDomainRestrictionList": email$$security_SendingDomainRestrictionList, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -527,24 +572,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_SendingDomainRestriction": email_security_SendingDomainRestriction_output, - "email-security_SendingDomainRestrictionId": email_security_SendingDomainRestrictionId_output, - "email-security_SendingDomainRestrictionList": email_security_SendingDomainRestrictionList_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, + "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, + "email-security_SendingDomainRestrictionList": email$$security_SendingDomainRestrictionList, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/sending_domain_restrictions`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts b/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts index 9fc758592..2361594b2 100644 --- a/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_CustomerStatus` in responses. */ -export const email_security_CustomerStatus_output: JsonSchema = { +export const email$$security_CustomerStatus: JsonSchema = { "oneOf": [ { "enum": [ @@ -25,7 +25,7 @@ export const email_security_CustomerStatus_output: JsonSchema = { /** * The schema of `email-security_OptionalSubmissionDisposition` in responses. */ -export const email_security_OptionalSubmissionDisposition_output: JsonSchema = { +export const email$$security_OptionalSubmissionDisposition: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/email-security_SubmissionDisposition" @@ -39,7 +39,7 @@ export const email_security_OptionalSubmissionDisposition_output: JsonSchema = { /** * The schema of `email-security_Submission` in responses. */ -export const email_security_Submission_output: JsonSchema = { +export const email$$security_Submission: JsonSchema = { "properties": { "customer_status": { "$ref": "#/$defs/email-security_CustomerStatus" @@ -182,7 +182,7 @@ export const email_security_Submission_output: JsonSchema = { /** * The schema of `email-security_SubmissionDisposition` in responses. */ -export const email_security_SubmissionDisposition_output: JsonSchema = { +export const email$$security_SubmissionDisposition: JsonSchema = { "enum": [ "MALICIOUS", "SUSPICIOUS", @@ -197,7 +197,7 @@ export const email_security_SubmissionDisposition_output: JsonSchema = { /** * The schema of `email-security_SubmissionResult` in responses. */ -export const email_security_SubmissionResult_output: JsonSchema = { +export const email$$security_SubmissionResult: JsonSchema = { "properties": { "accepted": { "type": "boolean" diff --git a/src/generated/forge-mcp/emailSecurity/submissions/schemas.ts b/src/generated/forge-mcp/emailSecurity/submissions/schemas.ts index 3c087b366..8b3f7f435 100644 --- a/src/generated/forge-mcp/emailSecurity/submissions/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/submissions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_MissedDetectionSubmission`. */ -export const email_security_MissedDetectionSubmission: JsonSchema = { +export const email$$security_MissedDetectionSubmission: JsonSchema = { "properties": { "eml_content": { "description": "Base64 encoded content of the EML file.", @@ -49,7 +49,7 @@ export const email_security_MissedDetectionSubmission: JsonSchema = { /** * The schema of `email-security_ReclassificationSubmission`. */ -export const email_security_ReclassificationSubmission: JsonSchema = { +export const email$$security_ReclassificationSubmission: JsonSchema = { "properties": { "alert_id": { "description": "Alert ID of the detection to reclassify.", @@ -74,7 +74,7 @@ export const email_security_ReclassificationSubmission: JsonSchema = { /** * The schema of `email-security_SubmissionDisposition`. */ -export const email_security_SubmissionDisposition: JsonSchema = { +export const email$$security_SubmissionDisposition: JsonSchema = { "description": "The disposition a message is submitted to have.", "enum": [ "MALICIOUS", diff --git a/src/generated/forge-mcp/emailSecurity/submissions/tools.ts b/src/generated/forge-mcp/emailSecurity/submissions/tools.ts index 8bfdae776..ce092b5df 100644 --- a/src/generated/forge-mcp/emailSecurity/submissions/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/submissions/tools.ts @@ -1,45 +1,41 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_messages_output, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_messages, } from "../outputs.js"; import { - email_security_PostfixId, - email_security_identifier, + email$$security_PostfixId, + email$$security_identifier, } from "../schemas.js"; import { - email_security_CustomerStatus_output, - email_security_OptionalSubmissionDisposition_output, - email_security_SubmissionDisposition_output, - email_security_SubmissionResult_output, - email_security_Submission_output, + email$$security_CustomerStatus, + email$$security_OptionalSubmissionDisposition, + email$$security_Submission, + email$$security_SubmissionDisposition, + email$$security_SubmissionResult, } from "./outputs.js"; import { - email_security_MissedDetectionSubmission, - email_security_ReclassificationSubmission, - email_security_SubmissionDisposition, + email$$security_MissedDetectionSubmission, + email$$security_ReclassificationSubmission, + email$$security_SubmissionDisposition as email$$security_SubmissionDisposition$, } from "./schemas.js"; /** - * The tools of `email_security.submissions`. + * The tools of `emailSecurity.submissions`. */ export const tools: readonly Tool[] = [ { - name: "email_security_submissions_create", + name: "emailSecurity_submissions_create", title: "Create new submissions", description: "Submits messages for reclassification or to report missed detections.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "oneOf": [ { @@ -85,18 +81,30 @@ export const tools: readonly Tool[] = [ "type": "object" } ] + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_MissedDetectionSubmission": email_security_MissedDetectionSubmission, - "email-security_PostfixId": email_security_PostfixId, - "email-security_ReclassificationSubmission": email_security_ReclassificationSubmission, - "email-security_SubmissionDisposition": email_security_SubmissionDisposition, - "email-security_identifier": email_security_identifier, + "email-security_MissedDetectionSubmission": email$$security_MissedDetectionSubmission, + "email-security_PostfixId": email$$security_PostfixId, + "email-security_ReclassificationSubmission": email$$security_ReclassificationSubmission, + "email-security_SubmissionDisposition": email$$security_SubmissionDisposition$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -128,9 +136,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_SubmissionResult": email_security_SubmissionResult_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_SubmissionResult": email$$security_SubmissionResult, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -181,10 +189,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_SubmissionResult": email_security_SubmissionResult_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_SubmissionResult": email$$security_SubmissionResult, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -193,107 +201,120 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_submissions_list", + name: "emailSecurity_submissions_list", title: "List reclassify submissions", description: "Returns information for submissions made to reclassify emails. Shows the status, outcome, and disposition changes for reclassification requests made by users or the security team. Useful for tracking false positive/negative reports.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "direction": { - "description": "The sorting direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "end": { - "description": "The end of the search date range. Defaults to `now`.", - "format": "date-time", - "type": "string" - }, - "escalated_from_user": { - "description": "When true, return only submissions that were escalated by an end user (vs. by the security team). When false, return only submissions that were not escalated by an end user. When omitted, no filter is applied.", - "type": "boolean" - }, - "order": { - "default": "requested_at", - "description": "Field to sort by.", - "enum": [ - "submission_id", - "subject", - "original_disposition", - "requested_disposition", - "outcome_disposition", - "requested_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "original_disposition": { - "$ref": "#/$defs/email-security_SubmissionDisposition", - "description": "The disposition a message is submitted to have." - }, - "outcome_disposition": { - "$ref": "#/$defs/email-security_SubmissionDisposition", - "description": "The disposition a message is submitted to have." - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" + "type": "object" }, "query": { - "description": "Search term for filtering submissions.", - "oneOf": [ - { + "properties": { + "direction": { + "description": "The sorting direction.", + "enum": [ + "asc", + "desc" + ], "type": "string" }, - { - "type": "null" + "end": { + "description": "The end of the search date range. Defaults to `now`.", + "format": "date-time", + "type": "string" + }, + "escalated_from_user": { + "description": "When true, return only submissions that were escalated by an end user (vs. by the security team). When false, return only submissions that were not escalated by an end user. When omitted, no filter is applied.", + "type": "boolean" + }, + "order": { + "default": "requested_at", + "description": "Field to sort by.", + "enum": [ + "submission_id", + "subject", + "original_disposition", + "requested_disposition", + "outcome_disposition", + "requested_at" + ], + "type": "string" + }, + "original_disposition": { + "$ref": "#/$defs/email-security_SubmissionDisposition", + "description": "The disposition a message is submitted to have." + }, + "outcome_disposition": { + "$ref": "#/$defs/email-security_SubmissionDisposition", + "description": "The disposition a message is submitted to have." + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "query": { + "description": "Search term for filtering submissions.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "requested_disposition": { + "$ref": "#/$defs/email-security_SubmissionDisposition", + "description": "The disposition a message is submitted to have." + }, + "start": { + "description": "The beginning of the search date range. Defaults to `now - 30 days`.", + "format": "date-time", + "type": "string" + }, + "status": { + "description": "Filter by review status — `escalated`, `reviewed`, or `unreviewed`.", + "type": "string" + }, + "submission_id": { + "description": "Filter by a specific submission ID.", + "type": "string" + }, + "type": { + "description": "Filter by who created the submission — `TEAM` for security team members or `USER` for end users.", + "enum": [ + "TEAM", + "USER" + ], + "type": "string" } - ] - }, - "requested_disposition": { - "$ref": "#/$defs/email-security_SubmissionDisposition", - "description": "The disposition a message is submitted to have." - }, - "start": { - "description": "The beginning of the search date range. Defaults to `now - 30 days`.", - "format": "date-time", - "type": "string" - }, - "status": { - "description": "Filter by review status — `escalated`, `reviewed`, or `unreviewed`.", - "type": "string" - }, - "submission_id": { - "description": "Filter by a specific submission ID.", - "type": "string" - }, - "type": { - "description": "Filter by who created the submission — `TEAM` for security team members or `USER` for end users.", - "enum": [ - "TEAM", - "USER" - ], - "type": "string" + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_SubmissionDisposition": email_security_SubmissionDisposition, - "email-security_identifier": email_security_identifier, + "email-security_SubmissionDisposition": email$$security_SubmissionDisposition$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -314,13 +335,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_CustomerStatus": email_security_CustomerStatus_output, - "email-security_OptionalSubmissionDisposition": email_security_OptionalSubmissionDisposition_output, - "email-security_Submission": email_security_Submission_output, - "email-security_SubmissionDisposition": email_security_SubmissionDisposition_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_CustomerStatus": email$$security_CustomerStatus, + "email-security_OptionalSubmissionDisposition": email$$security_OptionalSubmissionDisposition, + "email-security_Submission": email$$security_Submission, + "email-security_SubmissionDisposition": email$$security_SubmissionDisposition, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -361,33 +382,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_CustomerStatus": email_security_CustomerStatus_output, - "email-security_OptionalSubmissionDisposition": email_security_OptionalSubmissionDisposition_output, - "email-security_Submission": email_security_Submission_output, - "email-security_SubmissionDisposition": email_security_SubmissionDisposition_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_CustomerStatus": email$$security_CustomerStatus, + "email-security_OptionalSubmissionDisposition": email$$security_OptionalSubmissionDisposition, + "email-security_Submission": email$$security_Submission, + "email-security_SubmissionDisposition": email$$security_SubmissionDisposition, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/submissions`, query: [ - ["start", args["start"], true], - ["end", args["end"], true], - ["type", args["type"], true], - ["submission_id", args["submission_id"], true], - ["original_disposition", args["original_disposition"], true], - ["requested_disposition", args["requested_disposition"], true], - ["outcome_disposition", args["outcome_disposition"], true], - ["status", args["status"], true], - ["query", args["query"], true], - ["escalated_from_user", args["escalated_from_user"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["start", param(args, "query", "start"), true], + ["end", param(args, "query", "end"), true], + ["type", param(args, "query", "type"), true], + ["submission_id", param(args, "query", "submission_id"), true], + ["original_disposition", param(args, "query", "original_disposition"), true], + ["requested_disposition", param(args, "query", "requested_disposition"), true], + ["outcome_disposition", param(args, "query", "outcome_disposition"), true], + ["status", param(args, "query", "status"), true], + ["query", param(args, "query", "query"), true], + ["escalated_from_user", param(args, "query", "escalated_from_user"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts b/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts index ffa71a1f0..70aac0f32 100644 --- a/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_DeletedTrustedDomain` in responses. */ -export const email_security_DeletedTrustedDomain_output: JsonSchema = { +export const email$$security_DeletedTrustedDomain: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/email-security_TrustedDomainId" @@ -21,7 +21,7 @@ export const email_security_DeletedTrustedDomain_output: JsonSchema = { /** * The schema of `email-security_TrustedDomain` in responses. */ -export const email_security_TrustedDomain_output: JsonSchema = { +export const email$$security_TrustedDomain: JsonSchema = { "properties": { "comments": { "oneOf": [ @@ -64,7 +64,7 @@ export const email_security_TrustedDomain_output: JsonSchema = { /** * The schema of `email-security_TrustedDomainId` in responses. */ -export const email_security_TrustedDomainId_output: JsonSchema = { +export const email$$security_TrustedDomainId: JsonSchema = { "format": "uuid", "type": "string" }; @@ -72,7 +72,7 @@ export const email_security_TrustedDomainId_output: JsonSchema = { /** * The schema of `email-security_TrustedDomainList` in responses. */ -export const email_security_TrustedDomainList_output: JsonSchema = { +export const email$$security_TrustedDomainList: JsonSchema = { "items": { "$ref": "#/$defs/email-security_TrustedDomain" }, diff --git a/src/generated/forge-mcp/emailSecurity/trustedDomains/schemas.ts b/src/generated/forge-mcp/emailSecurity/trustedDomains/schemas.ts index e0fefcf85..cb343c952 100644 --- a/src/generated/forge-mcp/emailSecurity/trustedDomains/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/trustedDomains/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_CreateTrustedDomain`. */ -export const email_security_CreateTrustedDomain: JsonSchema = { +export const email$$security_CreateTrustedDomain: JsonSchema = { "description": "Create a trusted domain.", "properties": { "comments": { @@ -48,7 +48,7 @@ export const email_security_CreateTrustedDomain: JsonSchema = { /** * The schema of `email-security_TrustedDomainId`. */ -export const email_security_TrustedDomainId: JsonSchema = { +export const email$$security_TrustedDomainId: JsonSchema = { "description": "Trusted domain identifier.", "format": "uuid", "type": "string" @@ -57,7 +57,7 @@ export const email_security_TrustedDomainId: JsonSchema = { /** * The schema of `email-security_UpdateTrustedDomain`. */ -export const email_security_UpdateTrustedDomain: JsonSchema = { +export const email$$security_UpdateTrustedDomain: JsonSchema = { "description": "Update a trusted domain.", "properties": { "comments": { diff --git a/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts b/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts index 11b3a7ba5..431067e7b 100644 --- a/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts @@ -1,43 +1,39 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_api_response_single_output, - email_security_messages_output, - email_security_timestamp_output, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, + email$$security_timestamp, } from "../outputs.js"; -import { email_security_identifier } from "../schemas.js"; +import { email$$security_identifier } from "../schemas.js"; import { - email_security_DeletedTrustedDomain_output, - email_security_TrustedDomainId_output, - email_security_TrustedDomainList_output, - email_security_TrustedDomain_output, + email$$security_DeletedTrustedDomain, + email$$security_TrustedDomain, + email$$security_TrustedDomainId, + email$$security_TrustedDomainList, } from "./outputs.js"; import { - email_security_CreateTrustedDomain, - email_security_TrustedDomainId, - email_security_UpdateTrustedDomain, + email$$security_CreateTrustedDomain, + email$$security_TrustedDomainId as email$$security_TrustedDomainId$, + email$$security_UpdateTrustedDomain, } from "./schemas.js"; /** - * The tools of `email_security.trusted_domains`. + * The tools of `emailSecurity.trustedDomains`. */ export const tools: readonly Tool[] = [ { - name: "email_security_trusted_domains_batch", + name: "emailSecurity_trustedDomains_batch", title: "Batch trusted domain operations", description: "Executes multiple trusted domain operations atomically: delete, partially update,\nreplace, and create trusted domain patterns in a single request. All four operation\narrays (deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected trusted domain patterns and restore normal recent domain and similarity checks for matching emails.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "deletes": { @@ -119,17 +115,29 @@ export const tools: readonly Tool[] = [ "puts" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateTrustedDomain": email_security_CreateTrustedDomain, - "email-security_TrustedDomainId": email_security_TrustedDomainId, - "email-security_UpdateTrustedDomain": email_security_UpdateTrustedDomain, - "email-security_identifier": email_security_identifier, + "email-security_CreateTrustedDomain": email$$security_CreateTrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId$, + "email-security_UpdateTrustedDomain": email$$security_UpdateTrustedDomain, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -164,13 +172,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeletedTrustedDomain": email_security_DeletedTrustedDomain_output, - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_TrustedDomainList": email_security_TrustedDomainList_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeletedTrustedDomain": email$$security_DeletedTrustedDomain, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_TrustedDomainList": email$$security_TrustedDomainList, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -227,14 +235,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeletedTrustedDomain": email_security_DeletedTrustedDomain_output, - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_TrustedDomainList": email_security_TrustedDomainList_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_DeletedTrustedDomain": email$$security_DeletedTrustedDomain, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_TrustedDomainList": email$$security_TrustedDomainList, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -243,27 +251,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_trusted_domains_create", + name: "emailSecurity_trustedDomains_create", title: "Create trusted email domain", description: "Creates a new trusted domain pattern. Use for partner domains or approved senders that should bypass recent domain registration and similarity checks. Configure whether it prevents recent domain or spoof dispositions.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateTrustedDomain" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateTrustedDomain": email_security_CreateTrustedDomain, - "email-security_identifier": email_security_identifier, + "email-security_CreateTrustedDomain": email$$security_CreateTrustedDomain, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -281,11 +297,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -325,12 +341,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -339,28 +355,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_trusted_domains_delete", + name: "emailSecurity_trustedDomains_delete", title: "Delete a trusted email domain", description: "Removes a trusted domain pattern. After deletion, emails from this domain will be subject to normal recent domain and similarity checks.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the trusted domain pattern and restores normal recent domain and similarity checks for matching emails.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "trusted_domain_id": { - "$ref": "#/$defs/email-security_TrustedDomainId", - "description": "Trusted domain identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "trusted_domain_id": { + "$ref": "#/$defs/email-security_TrustedDomainId", + "description": "Trusted domain identifier." + } + }, + "required": [ + "account_id", + "trusted_domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "trusted_domain_id" + "path" ], $defs: { - "email-security_TrustedDomainId": email_security_TrustedDomainId, - "email-security_identifier": email_security_identifier, + "email-security_TrustedDomainId": email$$security_TrustedDomainId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -378,10 +402,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeletedTrustedDomain": email_security_DeletedTrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedTrustedDomain": email$$security_DeletedTrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -421,11 +445,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeletedTrustedDomain": email_security_DeletedTrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedTrustedDomain": email$$security_DeletedTrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -433,33 +457,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_trusted_domains_edit", + name: "emailSecurity_trustedDomains_edit", title: "Update a trusted email domain", description: "Updates an existing trusted domain pattern. Only provided fields will be modified. Changes take effect for new emails matching the pattern.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_UpdateTrustedDomain" }, - "trusted_domain_id": { - "$ref": "#/$defs/email-security_TrustedDomainId", - "description": "Trusted domain identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "trusted_domain_id": { + "$ref": "#/$defs/email-security_TrustedDomainId", + "description": "Trusted domain identifier." + } + }, + "required": [ + "account_id", + "trusted_domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "trusted_domain_id", + "path", "body" ], $defs: { - "email-security_TrustedDomainId": email_security_TrustedDomainId, - "email-security_UpdateTrustedDomain": email_security_UpdateTrustedDomain, - "email-security_identifier": email_security_identifier, + "email-security_TrustedDomainId": email$$security_TrustedDomainId$, + "email-security_UpdateTrustedDomain": email$$security_UpdateTrustedDomain, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -477,11 +509,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -521,12 +553,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -535,28 +567,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_trusted_domains_get", + name: "emailSecurity_trustedDomains_get", title: "Get a trusted email domain", description: "Retrieves details for a specific trusted domain pattern including its pattern value, whether it uses regex matching, and which detection types it affects.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "trusted_domain_id": { - "$ref": "#/$defs/email-security_TrustedDomainId", - "description": "Trusted domain identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "trusted_domain_id": { + "$ref": "#/$defs/email-security_TrustedDomainId", + "description": "Trusted domain identifier." + } + }, + "required": [ + "account_id", + "trusted_domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "trusted_domain_id" + "path" ], $defs: { - "email-security_TrustedDomainId": email_security_TrustedDomainId, - "email-security_identifier": email_security_identifier, + "email-security_TrustedDomainId": email$$security_TrustedDomainId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -574,11 +614,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -619,12 +659,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -632,63 +672,76 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_trusted_domains_list", + name: "emailSecurity_trustedDomains_list", title: "List trusted email domains", description: "Returns a paginated list of trusted domain patterns. Trusted domains prevent false positives for recently registered domains and lookalike domain detections. Patterns can use regular expressions for flexible matching.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "direction": { - "description": "The sorting direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "is_recent": { - "description": "Filter to show only recently registered domains that are trusted to prevent triggering Suspicious or Malicious dispositions.", - "type": "boolean" - }, - "is_similarity": { - "description": "Filter to show only proximity domains (partner or approved domains with similar spelling to connected domains) that prevent Spoof dispositions.", - "type": "boolean" - }, - "order": { - "description": "Field to sort by.", - "enum": [ - "pattern", - "created_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" - }, - "pattern": { - "type": "string" - }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" + "type": "object" }, - "search": { - "description": "Search term for filtering records. Behavior may change.", - "type": "string" + "query": { + "properties": { + "direction": { + "description": "The sorting direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "is_recent": { + "description": "Filter to show only recently registered domains that are trusted to prevent triggering Suspicious or Malicious dispositions.", + "type": "boolean" + }, + "is_similarity": { + "description": "Filter to show only proximity domains (partner or approved domains with similar spelling to connected domains) that prevent Spoof dispositions.", + "type": "boolean" + }, + "order": { + "description": "Field to sort by.", + "enum": [ + "pattern", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "pattern": { + "type": "string" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + }, + "search": { + "description": "Search term for filtering records. Behavior may change.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_identifier": email_security_identifier, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -706,13 +759,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_TrustedDomainList": email_security_TrustedDomainList_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_TrustedDomainList": email$$security_TrustedDomainList, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -753,58 +806,66 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_TrustedDomainList": email_security_TrustedDomainList_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_TrustedDomainList": email$$security_TrustedDomainList, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/trusted_domains`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["is_recent", args["is_recent"], true], - ["is_similarity", args["is_similarity"], true], - ["pattern", args["pattern"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["is_recent", param(args, "query", "is_recent"), true], + ["is_similarity", param(args, "query", "is_similarity"), true], + ["pattern", param(args, "query", "pattern"), true], ], }), }, { - name: "email_security_trusted_domains_update", + name: "emailSecurity_trustedDomains_update", title: "Replace a trusted email domain", description: "Replaces an existing trusted domain in full. Unlike PATCH, every field is taken from the request body, so optional fields that are omitted are reset rather than left untouched. Use this when managing trusted domains declaratively.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateTrustedDomain" }, - "trusted_domain_id": { - "$ref": "#/$defs/email-security_TrustedDomainId", - "description": "Trusted domain identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "trusted_domain_id": { + "$ref": "#/$defs/email-security_TrustedDomainId", + "description": "Trusted domain identifier." + } + }, + "required": [ + "account_id", + "trusted_domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "trusted_domain_id", + "path", "body" ], $defs: { - "email-security_CreateTrustedDomain": email_security_CreateTrustedDomain, - "email-security_TrustedDomainId": email_security_TrustedDomainId, - "email-security_identifier": email_security_identifier, + "email-security_CreateTrustedDomain": email$$security_CreateTrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -822,11 +883,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -863,12 +924,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_TrustedDomain": email_security_TrustedDomain_output, - "email-security_TrustedDomainId": email_security_TrustedDomainId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, - "email-security_timestamp": email_security_timestamp_output, + "email-security_TrustedDomain": email$$security_TrustedDomain, + "email-security_TrustedDomainId": email$$security_TrustedDomainId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, + "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts index 19e38d963..a45f1f75b 100644 --- a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_DeletedUrlIgnorePattern` in responses. */ -export const email_security_DeletedUrlIgnorePattern_output: JsonSchema = { +export const email$$security_DeletedUrlIgnorePattern: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/email-security_UrlIgnorePatternId" @@ -21,7 +21,7 @@ export const email_security_DeletedUrlIgnorePattern_output: JsonSchema = { /** * The schema of `email-security_UrlIgnorePattern` in responses. */ -export const email_security_UrlIgnorePattern_output: JsonSchema = { +export const email$$security_UrlIgnorePattern: JsonSchema = { "properties": { "comments": { "oneOf": [ @@ -63,7 +63,7 @@ export const email_security_UrlIgnorePattern_output: JsonSchema = { /** * The schema of `email-security_UrlIgnorePatternId` in responses. */ -export const email_security_UrlIgnorePatternId_output: JsonSchema = { +export const email$$security_UrlIgnorePatternId: JsonSchema = { "format": "uuid", "type": "string" }; diff --git a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/schemas.ts b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/schemas.ts index 0f54def9d..c97d0c76c 100644 --- a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email-security_CreateUrlIgnorePattern`. */ -export const email_security_CreateUrlIgnorePattern: JsonSchema = { +export const email$$security_CreateUrlIgnorePattern: JsonSchema = { "description": "Creates a URL ignore pattern that exempts matching URLs from rewriting.", "properties": { "comments": { @@ -34,7 +34,7 @@ export const email_security_CreateUrlIgnorePattern: JsonSchema = { /** * The schema of `email-security_UpdateUrlIgnorePattern`. */ -export const email_security_UpdateUrlIgnorePattern: JsonSchema = { +export const email$$security_UpdateUrlIgnorePattern: JsonSchema = { "description": "Updates a URL rewrite ignore pattern; modifies only the provided fields.", "properties": { "comments": { @@ -59,7 +59,7 @@ export const email_security_UpdateUrlIgnorePattern: JsonSchema = { /** * The schema of `email-security_UrlIgnorePatternId`. */ -export const email_security_UrlIgnorePatternId: JsonSchema = { +export const email$$security_UrlIgnorePatternId: JsonSchema = { "description": "URL ignore pattern identifier.", "format": "uuid", "type": "string" diff --git a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts index 1b2ca5b86..10244da42 100644 --- a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts @@ -1,41 +1,37 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email_security_api_response_collection_output, - email_security_api_response_common_failure_output, - email_security_api_response_common_output, - email_security_api_response_single_output, - email_security_messages_output, + email$$security_api$$response$$collection, + email$$security_api$$response$$common, + email$$security_api$$response$$common$$failure, + email$$security_api$$response$$single, + email$$security_messages, } from "../outputs.js"; -import { email_security_identifier } from "../schemas.js"; +import { email$$security_identifier } from "../schemas.js"; import { - email_security_DeletedUrlIgnorePattern_output, - email_security_UrlIgnorePatternId_output, - email_security_UrlIgnorePattern_output, + email$$security_DeletedUrlIgnorePattern, + email$$security_UrlIgnorePattern, + email$$security_UrlIgnorePatternId, } from "./outputs.js"; import { - email_security_CreateUrlIgnorePattern, - email_security_UpdateUrlIgnorePattern, - email_security_UrlIgnorePatternId, + email$$security_CreateUrlIgnorePattern, + email$$security_UpdateUrlIgnorePattern, + email$$security_UrlIgnorePatternId as email$$security_UrlIgnorePatternId$, } from "./schemas.js"; /** - * The tools of `email_security.url_ignore_patterns`. + * The tools of `emailSecurity.urlIgnorePatterns`. */ export const tools: readonly Tool[] = [ { - name: "email_security_url_ignore_patterns_batch", + name: "emailSecurity_urlIgnorePatterns_batch", title: "Batch URL ignore pattern operations", description: "Executes multiple operations atomically. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected URL rewrite ignore patterns and cause matching URLs to be rewritten again.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "deletes": { @@ -117,17 +113,29 @@ export const tools: readonly Tool[] = [ "puts" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateUrlIgnorePattern": email_security_CreateUrlIgnorePattern, - "email-security_UpdateUrlIgnorePattern": email_security_UpdateUrlIgnorePattern, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId, - "email-security_identifier": email_security_identifier, + "email-security_CreateUrlIgnorePattern": email$$security_CreateUrlIgnorePattern, + "email-security_UpdateUrlIgnorePattern": email$$security_UpdateUrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -180,11 +188,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeletedUrlIgnorePattern": email_security_DeletedUrlIgnorePattern_output, - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedUrlIgnorePattern": email$$security_DeletedUrlIgnorePattern, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -259,12 +267,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeletedUrlIgnorePattern": email_security_DeletedUrlIgnorePattern_output, - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedUrlIgnorePattern": email$$security_DeletedUrlIgnorePattern, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -273,27 +281,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_url_ignore_patterns_create", + name: "emailSecurity_urlIgnorePatterns_create", title: "Create a URL ignore pattern", description: "Creates a new URL rewrite ignore pattern. URLs matching this pattern will not be rewritten.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_CreateUrlIgnorePattern" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-security_CreateUrlIgnorePattern": email_security_CreateUrlIgnorePattern, - "email-security_identifier": email_security_identifier, + "email-security_CreateUrlIgnorePattern": email$$security_CreateUrlIgnorePattern, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -311,10 +327,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -354,11 +370,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -367,28 +383,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_url_ignore_patterns_delete", + name: "emailSecurity_urlIgnorePatterns_delete", title: "Delete a URL ignore pattern", description: "Removes a URL rewrite ignore pattern. After deletion, URLs matching this pattern will be rewritten again.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the URL rewrite ignore pattern and causes matching URLs to be rewritten again.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "pattern_id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId", - "description": "URL ignore pattern identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "pattern_id": { + "$ref": "#/$defs/email-security_UrlIgnorePatternId", + "description": "URL ignore pattern identifier." + } + }, + "required": [ + "account_id", + "pattern_id" + ], + "type": "object" } }, required: [ - "account_id", - "pattern_id" + "path" ], $defs: { - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId, - "email-security_identifier": email_security_identifier, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -406,10 +430,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeletedUrlIgnorePattern": email_security_DeletedUrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedUrlIgnorePattern": email$$security_DeletedUrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -449,11 +473,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeletedUrlIgnorePattern": email_security_DeletedUrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_DeletedUrlIgnorePattern": email$$security_DeletedUrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -461,33 +485,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_url_ignore_patterns_edit", + name: "emailSecurity_urlIgnorePatterns_edit", title: "Update a URL ignore pattern", description: "Updates an existing URL rewrite ignore pattern. Only provided fields will be modified.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/email-security_UpdateUrlIgnorePattern" }, - "pattern_id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId", - "description": "URL ignore pattern identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "pattern_id": { + "$ref": "#/$defs/email-security_UrlIgnorePatternId", + "description": "URL ignore pattern identifier." + } + }, + "required": [ + "account_id", + "pattern_id" + ], + "type": "object" } }, required: [ - "account_id", - "pattern_id", + "path", "body" ], $defs: { - "email-security_UpdateUrlIgnorePattern": email_security_UpdateUrlIgnorePattern, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId, - "email-security_identifier": email_security_identifier, + "email-security_UpdateUrlIgnorePattern": email$$security_UpdateUrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -505,10 +537,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -548,11 +580,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -561,28 +593,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_url_ignore_patterns_get", + name: "emailSecurity_urlIgnorePatterns_get", title: "Get a URL ignore pattern", description: "Returns a single URL rewrite ignore pattern by its identifier.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "pattern_id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId", - "description": "URL ignore pattern identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + }, + "pattern_id": { + "$ref": "#/$defs/email-security_UrlIgnorePatternId", + "description": "URL ignore pattern identifier." + } + }, + "required": [ + "account_id", + "pattern_id" + ], + "type": "object" } }, required: [ - "account_id", - "pattern_id" + "path" ], $defs: { - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId, - "email-security_identifier": email_security_identifier, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId$, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -600,10 +640,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -644,11 +684,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_api-response-single": email_security_api_response_single_output, - "email-security_messages": email_security_messages_output, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_api-response-single": email$$security_api$$response$$single, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ @@ -656,32 +696,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_security_url_ignore_patterns_list", + name: "emailSecurity_urlIgnorePatterns_list", title: "List URL ignore patterns", description: "Returns a paginated list of URL rewrite ignore patterns for the account. URLs matching these patterns will not be rewritten.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." - }, - "page": { - "default": 1, - "description": "Current page within paginated list of results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email-security_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "The number of results per page. Maximum value is 1000.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Current page within paginated list of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The number of results per page. Maximum value is 1000.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "email-security_identifier": email_security_identifier, + "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -702,11 +755,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_messages": email_security_messages_output, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_messages": email$$security_messages, }, }, annotations: { @@ -750,19 +803,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_UrlIgnorePattern": email_security_UrlIgnorePattern_output, - "email-security_UrlIgnorePatternId": email_security_UrlIgnorePatternId_output, - "email-security_api-response-collection": email_security_api_response_collection_output, - "email-security_api-response-common": email_security_api_response_common_output, - "email-security_api-response-common-failure": email_security_api_response_common_failure_output, - "email-security_messages": email_security_messages_output, + "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, + "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, + "email-security_api-response-collection": email$$security_api$$response$$collection, + "email-security_api-response-common": email$$security_api$$response$$common, + "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, + "email-security_messages": email$$security_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email-security/settings/url_ignore_patterns`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSending/limits/outputs.ts b/src/generated/forge-mcp/emailSending/limits/outputs.ts index d6cb25e5e..83e9e0b74 100644 --- a/src/generated/forge-mcp/emailSending/limits/outputs.ts +++ b/src/generated/forge-mcp/emailSending/limits/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email_sending_limits_properties` in responses. */ -export const email_sending_limits_properties_output: JsonSchema = { +export const email_sending_limits_properties: JsonSchema = { "properties": { "quota": { "oneOf": [ @@ -66,7 +66,7 @@ export const email_sending_limits_properties_output: JsonSchema = { /** * The schema of `email_sending_limits_response_single` in responses. */ -export const email_sending_limits_response_single_output: JsonSchema = { +export const email_sending_limits_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" diff --git a/src/generated/forge-mcp/emailSending/limits/tools.ts b/src/generated/forge-mcp/emailSending/limits/tools.ts index 44b30bfdc..dddb6076b 100644 --- a/src/generated/forge-mcp/emailSending/limits/tools.ts +++ b/src/generated/forge-mcp/emailSending/limits/tools.ts @@ -2,34 +2,39 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - email_api_response_single_output, - email_messages_output, -} from "../../outputs.js"; +import { email_api$$response$$single, email_messages } from "../../outputs.js"; import { email_identifier } from "../../schemas.js"; import { - email_sending_limits_properties_output, - email_sending_limits_response_single_output, + email_sending_limits_properties, + email_sending_limits_response_single, } from "./outputs.js"; /** - * The tools of `email_sending.limits`. + * The tools of `emailSending.limits`. */ export const tools: readonly Tool[] = [ { - name: "email_sending_limits_get", + name: "emailSending_limits_get", title: "Get sending limits", description: "Returns the current daily sending quota for the account and, when a quota is resolved, the account's current usage against it. Quota is null when not yet available; usage is null when there is no resolved quota or usage is temporarily unavailable.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "email_identifier": email_identifier, @@ -38,10 +43,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_sending_limits_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_sending_limits_properties": email_sending_limits_properties_output, - "email_sending_limits_response_single": email_sending_limits_response_single_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_sending_limits_properties": email_sending_limits_properties, + "email_sending_limits_response_single": email_sending_limits_response_single, }, }, annotations: { @@ -74,10 +79,10 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_sending_limits_properties": email_sending_limits_properties_output, - "email_sending_limits_response_single": email_sending_limits_response_single_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_sending_limits_properties": email_sending_limits_properties, + "email_sending_limits_response_single": email_sending_limits_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSending/outputs.ts b/src/generated/forge-mcp/emailSending/outputs.ts index 2cf8dc10d..3c41d6890 100644 --- a/src/generated/forge-mcp/emailSending/outputs.ts +++ b/src/generated/forge-mcp/emailSending/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `email-sending_EmailApiError` in responses. */ -export const email_sending_EmailApiError_output: JsonSchema = { +export const email$$sending_EmailApiError: JsonSchema = { "properties": { "errors": { "items": { @@ -67,7 +67,7 @@ export const email_sending_EmailApiError_output: JsonSchema = { /** * The schema of `email-sending_EmailSendResponse` in responses. */ -export const email_sending_EmailSendResponse_output: JsonSchema = { +export const email$$sending_EmailSendResponse: JsonSchema = { "properties": { "delivered": { "items": { diff --git a/src/generated/forge-mcp/emailSending/reputation/outputs.ts b/src/generated/forge-mcp/emailSending/reputation/outputs.ts index 638af7524..a4f03b64d 100644 --- a/src/generated/forge-mcp/emailSending/reputation/outputs.ts +++ b/src/generated/forge-mcp/emailSending/reputation/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email_ReputationPolicy` in responses. */ -export const email_ReputationPolicy_output: JsonSchema = { +export const email_ReputationPolicy: JsonSchema = { "properties": { "complaint": { "$ref": "#/$defs/email_ReputationThreshold" @@ -33,7 +33,7 @@ export const email_ReputationPolicy_output: JsonSchema = { /** * The schema of `email_ReputationThreshold` in responses. */ -export const email_ReputationThreshold_output: JsonSchema = { +export const email_ReputationThreshold: JsonSchema = { "properties": { "at_risk_at": { "type": "number" @@ -56,7 +56,7 @@ export const email_ReputationThreshold_output: JsonSchema = { /** * The schema of `email_sending_reputation_properties` in responses. */ -export const email_sending_reputation_properties_output: JsonSchema = { +export const email_sending_reputation_properties: JsonSchema = { "properties": { "active_policy": { "$ref": "#/$defs/email_ReputationPolicy" @@ -117,7 +117,7 @@ export const email_sending_reputation_properties_output: JsonSchema = { /** * The schema of `email_sending_reputation_response_single` in responses. */ -export const email_sending_reputation_response_single_output: JsonSchema = { +export const email_sending_reputation_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" diff --git a/src/generated/forge-mcp/emailSending/reputation/tools.ts b/src/generated/forge-mcp/emailSending/reputation/tools.ts index 640f4d26d..924d58bef 100644 --- a/src/generated/forge-mcp/emailSending/reputation/tools.ts +++ b/src/generated/forge-mcp/emailSending/reputation/tools.ts @@ -2,36 +2,41 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - email_api_response_single_output, - email_messages_output, -} from "../../outputs.js"; +import { email_api$$response$$single, email_messages } from "../../outputs.js"; import { email_identifier } from "../../schemas.js"; import { - email_ReputationPolicy_output, - email_ReputationThreshold_output, - email_sending_reputation_properties_output, - email_sending_reputation_response_single_output, + email_ReputationPolicy, + email_ReputationThreshold, + email_sending_reputation_properties, + email_sending_reputation_response_single, } from "./outputs.js"; /** - * The tools of `email_sending.reputation`. + * The tools of `emailSending.reputation`. */ export const tools: readonly Tool[] = [ { - name: "email_sending_reputation_get", + name: "emailSending_reputation_get", title: "Get account reputation", description: "Returns the authoritative Email Sending reputation state and active evaluation policy. Accounts without an evaluation are Healthy with null evaluation timestamps.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "email_identifier": email_identifier, @@ -40,12 +45,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_sending_reputation_response_single", $defs: { - "email_ReputationPolicy": email_ReputationPolicy_output, - "email_ReputationThreshold": email_ReputationThreshold_output, - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_sending_reputation_properties": email_sending_reputation_properties_output, - "email_sending_reputation_response_single": email_sending_reputation_response_single_output, + "email_ReputationPolicy": email_ReputationPolicy, + "email_ReputationThreshold": email_ReputationThreshold, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_sending_reputation_properties": email_sending_reputation_properties, + "email_sending_reputation_response_single": email_sending_reputation_response_single, }, }, annotations: { @@ -78,12 +83,12 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_ReputationPolicy": email_ReputationPolicy_output, - "email_ReputationThreshold": email_ReputationThreshold_output, - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_sending_reputation_properties": email_sending_reputation_properties_output, - "email_sending_reputation_response_single": email_sending_reputation_response_single_output, + "email_ReputationPolicy": email_ReputationPolicy, + "email_ReputationThreshold": email_ReputationThreshold, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_sending_reputation_properties": email_sending_reputation_properties, + "email_sending_reputation_response_single": email_sending_reputation_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSending/schemas.ts b/src/generated/forge-mcp/emailSending/schemas.ts index 36d4e1143..9ef641b8a 100644 --- a/src/generated/forge-mcp/emailSending/schemas.ts +++ b/src/generated/forge-mcp/emailSending/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `email-sending_EmailAddressObject`. */ -export const email_sending_EmailAddressObject: JsonSchema = { +export const email$$sending_EmailAddressObject: JsonSchema = { "properties": { "address": { "description": "Email address (e.g., 'user@example.com').", @@ -33,7 +33,7 @@ export const email_sending_EmailAddressObject: JsonSchema = { /** * The schema of `email-sending_EmailAddressString`. */ -export const email_sending_EmailAddressString: JsonSchema = { +export const email$$sending_EmailAddressString: JsonSchema = { "description": "An email address as a plain string.", "type": "string" }; @@ -41,7 +41,7 @@ export const email_sending_EmailAddressString: JsonSchema = { /** * The schema of `email-sending_EmailAttachment`. */ -export const email_sending_EmailAttachment: JsonSchema = { +export const email$$sending_EmailAttachment: JsonSchema = { "properties": { "content": { "description": "Base64-encoded content of the attachment.", @@ -75,7 +75,7 @@ export const email_sending_EmailAttachment: JsonSchema = { /** * The schema of `email-sending_EmailBuilder`. */ -export const email_sending_EmailBuilder: JsonSchema = { +export const email$$sending_EmailBuilder: JsonSchema = { "allOf": [ { "properties": { @@ -221,7 +221,7 @@ export const email_sending_EmailBuilder: JsonSchema = { /** * The schema of `email-sending_EmailInlineAttachment`. */ -export const email_sending_EmailInlineAttachment: JsonSchema = { +export const email$$sending_EmailInlineAttachment: JsonSchema = { "properties": { "content": { "description": "Base64-encoded content of the attachment.", @@ -260,7 +260,7 @@ export const email_sending_EmailInlineAttachment: JsonSchema = { /** * The schema of `email-sending_SendRawRequest`. */ -export const email_sending_SendRawRequest: JsonSchema = { +export const email$$sending_SendRawRequest: JsonSchema = { "properties": { "from": { "description": "Sender email address.", diff --git a/src/generated/forge-mcp/emailSending/subdomains/dns/outputs.ts b/src/generated/forge-mcp/emailSending/subdomains/dns/outputs.ts index d1b1103ea..0c43235f7 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/dns/outputs.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/dns/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email_sending_subdomain_dns_status_response` in responses. */ -export const email_sending_subdomain_dns_status_response_output: JsonSchema = { +export const email_sending_subdomain_dns_status_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" diff --git a/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts b/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts index 1e495158b..584a0fe8e 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts @@ -3,41 +3,49 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - email_api_response_collection_output, - email_api_response_common_output, - email_api_response_single_output, - email_dns_record_output, - email_dns_settings_response_collection_output, - email_messages_output, + email_api$$response$$collection, + email_api$$response$$common, + email_api$$response$$single, + email_dns_record, + email_dns_settings_response_collection, + email_messages, } from "../../../outputs.js"; import { email_identifier } from "../../../schemas.js"; -import { email_sending_subdomain_config_error_output } from "../outputs.js"; +import { email_sending_subdomain_config_error } from "../outputs.js"; import { email_sending_subdomain_identifier } from "../schemas.js"; -import { email_sending_subdomain_dns_status_response_output } from "./outputs.js"; +import { email_sending_subdomain_dns_status_response } from "./outputs.js"; /** - * The tools of `email_sending.subdomains.dns`. + * The tools of `emailSending.subdomains.dns`. */ export const tools: readonly Tool[] = [ { - name: "email_sending_subdomains_dns_fix", + name: "emailSending_subdomains_dns_fix", title: "Fix sending subdomain DNS records", description: "Idempotently re-applies the sending DNS records (creates missing records, re-applies the email_routing lock on records whose lock has been cleared). Refuses with a 409 if foreign MX, multiple SPF, multiple DMARC, or multiple DKIM records exist at the relevant DNS names — those require manual cleanup.", inputSchema: { type: "object", properties: { - "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "subdomain_id": { + "$ref": "#/$defs/email_sending_subdomain_identifier", + "description": "Sending subdomain identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "subdomain_id" + ], + "type": "object" } }, required: [ - "zone_id", - "subdomain_id" + "path" ], $defs: { "email_identifier": email_identifier, @@ -47,11 +55,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_sending_subdomain_dns_status_response", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_dns_record": email_dns_record_output, - "email_messages": email_messages_output, - "email_sending_subdomain_config_error": email_sending_subdomain_config_error_output, - "email_sending_subdomain_dns_status_response": email_sending_subdomain_dns_status_response_output, + "email_api-response-single": email_api$$response$$single, + "email_dns_record": email_dns_record, + "email_messages": email_messages, + "email_sending_subdomain_config_error": email_sending_subdomain_config_error, + "email_sending_subdomain_dns_status_response": email_sending_subdomain_dns_status_response, }, }, annotations: { @@ -87,11 +95,11 @@ export const tools: readonly Tool[] = [ "409": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_dns_record": email_dns_record_output, - "email_messages": email_messages_output, - "email_sending_subdomain_config_error": email_sending_subdomain_config_error_output, - "email_sending_subdomain_dns_status_response": email_sending_subdomain_dns_status_response_output, + "email_api-response-single": email_api$$response$$single, + "email_dns_record": email_dns_record, + "email_messages": email_messages, + "email_sending_subdomain_config_error": email_sending_subdomain_config_error, + "email_sending_subdomain_dns_status_response": email_sending_subdomain_dns_status_response, }, }, request: (args) => ({ @@ -99,24 +107,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_subdomains_dns_get", + name: "emailSending_subdomains_dns_get", title: "Get sending subdomain DNS records", description: "Returns the expected DNS records for a sending subdomain.", inputSchema: { type: "object", properties: { - "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "subdomain_id": { + "$ref": "#/$defs/email_sending_subdomain_identifier", + "description": "Sending subdomain identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "subdomain_id" + ], + "type": "object" } }, required: [ - "zone_id", - "subdomain_id" + "path" ], $defs: { "email_identifier": email_identifier, @@ -126,11 +142,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_dns_settings_response_collection", $defs: { - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_dns_record": email_dns_record_output, - "email_dns_settings_response_collection": email_dns_settings_response_collection_output, - "email_messages": email_messages_output, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_dns_record": email_dns_record, + "email_dns_settings_response_collection": email_dns_settings_response_collection, + "email_messages": email_messages, }, }, annotations: { @@ -163,11 +179,11 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_dns_record": email_dns_record_output, - "email_dns_settings_response_collection": email_dns_settings_response_collection_output, - "email_messages": email_messages_output, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_dns_record": email_dns_record, + "email_dns_settings_response_collection": email_dns_settings_response_collection, + "email_messages": email_messages, }, }, request: (args) => ({ @@ -175,24 +191,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_subdomains_dns_status", + name: "emailSending_subdomains_dns_status", title: "Get sending subdomain DNS status", description: "Returns the desired DNS records for a sending subdomain along with a live diff against actual DNS state. Use this to detect missing, unlocked, foreign, or multi-record conflicts before deciding whether to call the fix endpoint. For wildcard sending rows, each call also rechecks the governing organizational-domain DMARC policy and reports policy drift that DNS Fix cannot repair.", inputSchema: { type: "object", properties: { - "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "subdomain_id": { + "$ref": "#/$defs/email_sending_subdomain_identifier", + "description": "Sending subdomain identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "subdomain_id" + ], + "type": "object" } }, required: [ - "zone_id", - "subdomain_id" + "path" ], $defs: { "email_identifier": email_identifier, @@ -202,11 +226,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_sending_subdomain_dns_status_response", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_dns_record": email_dns_record_output, - "email_messages": email_messages_output, - "email_sending_subdomain_config_error": email_sending_subdomain_config_error_output, - "email_sending_subdomain_dns_status_response": email_sending_subdomain_dns_status_response_output, + "email_api-response-single": email_api$$response$$single, + "email_dns_record": email_dns_record, + "email_messages": email_messages, + "email_sending_subdomain_config_error": email_sending_subdomain_config_error, + "email_sending_subdomain_dns_status_response": email_sending_subdomain_dns_status_response, }, }, annotations: { @@ -240,11 +264,11 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_dns_record": email_dns_record_output, - "email_messages": email_messages_output, - "email_sending_subdomain_config_error": email_sending_subdomain_config_error_output, - "email_sending_subdomain_dns_status_response": email_sending_subdomain_dns_status_response_output, + "email_api-response-single": email_api$$response$$single, + "email_dns_record": email_dns_record, + "email_messages": email_messages, + "email_sending_subdomain_config_error": email_sending_subdomain_config_error, + "email_sending_subdomain_dns_status_response": email_sending_subdomain_dns_status_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSending/subdomains/outputs.ts b/src/generated/forge-mcp/emailSending/subdomains/outputs.ts index b62ee7566..1006bfd8d 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/outputs.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `email_sending_subdomain` in responses. */ -export const email_sending_subdomain_output: JsonSchema = { +export const email_sending_subdomain: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/email_created" @@ -47,7 +47,7 @@ export const email_sending_subdomain_output: JsonSchema = { /** * The schema of `email_sending_subdomain_config_error` in responses. */ -export const email_sending_subdomain_config_error_output: JsonSchema = { +export const email_sending_subdomain_config_error: JsonSchema = { "properties": { "code": { "enum": [ @@ -91,14 +91,14 @@ export const email_sending_subdomain_config_error_output: JsonSchema = { /** * The schema of `email_sending_subdomain_identifier` in responses. */ -export const email_sending_subdomain_identifier_output: JsonSchema = { +export const email_sending_subdomain_identifier: JsonSchema = { "type": "string" }; /** * The schema of `email_sending_subdomain_preview_response` in responses. */ -export const email_sending_subdomain_preview_response_output: JsonSchema = { +export const email_sending_subdomain_preview_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" @@ -131,7 +131,7 @@ export const email_sending_subdomain_preview_response_output: JsonSchema = { /** * The schema of `email_sending_subdomain_response_single` in responses. */ -export const email_sending_subdomain_response_single_output: JsonSchema = { +export const email_sending_subdomain_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" @@ -150,7 +150,7 @@ export const email_sending_subdomain_response_single_output: JsonSchema = { /** * The schema of `email_sending_subdomains_response_collection` in responses. */ -export const email_sending_subdomains_response_collection_output: JsonSchema = { +export const email_sending_subdomains_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-collection" diff --git a/src/generated/forge-mcp/emailSending/subdomains/reputation/outputs.ts b/src/generated/forge-mcp/emailSending/subdomains/reputation/outputs.ts index afd0c6c21..e04dbd8bd 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/reputation/outputs.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/reputation/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `email_sending_subdomain_reputation_complaints` in responses. */ -export const email_sending_subdomain_reputation_complaints_output: JsonSchema = { +export const email_sending_subdomain_reputation_complaints: JsonSchema = { "properties": { "complaints": { "type": "integer" @@ -22,7 +22,7 @@ export const email_sending_subdomain_reputation_complaints_output: JsonSchema = * The schema of `email_sending_subdomain_reputation_complaints_response` in * responses. */ -export const email_sending_subdomain_reputation_complaints_response_output: JsonSchema = { +export const email_sending_subdomain_reputation_complaints_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-single" diff --git a/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts b/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts index 031219d11..688c0d1f2 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts @@ -1,51 +1,67 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - email_api_response_single_output, - email_messages_output, + email_api$$response$$single, + email_messages, } from "../../../outputs.js"; import { email_identifier } from "../../../schemas.js"; import { email_sending_subdomain_identifier } from "../schemas.js"; import { - email_sending_subdomain_reputation_complaints_output, - email_sending_subdomain_reputation_complaints_response_output, + email_sending_subdomain_reputation_complaints, + email_sending_subdomain_reputation_complaints_response, } from "./outputs.js"; /** - * The tools of `email_sending.subdomains.reputation`. + * The tools of `emailSending.subdomains.reputation`. */ export const tools: readonly Tool[] = [ { - name: "email_sending_subdomains_reputation_get_complaints", + name: "emailSending_subdomains_reputation_getComplaints", title: "Get sending subdomain complaint count", description: "Returns the matched complaint count for a sending subdomain in a half-open time window of up to seven days.", inputSchema: { type: "object", properties: { - "end_at": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "subdomain_id": { + "$ref": "#/$defs/email_sending_subdomain_identifier", + "description": "Sending subdomain identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "subdomain_id" + ], + "type": "object" }, - "start_at": { - "format": "date-time", - "type": "string" - }, - "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "query": { + "properties": { + "end_at": { + "format": "date-time", + "type": "string" + }, + "start_at": { + "format": "date-time", + "type": "string" + } + }, + "required": [ + "start_at", + "end_at" + ], + "type": "object" } }, required: [ - "zone_id", - "subdomain_id", - "start_at", - "end_at" + "path", + "query" ], $defs: { "email_identifier": email_identifier, @@ -55,10 +71,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_sending_subdomain_reputation_complaints_response", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_sending_subdomain_reputation_complaints": email_sending_subdomain_reputation_complaints_output, - "email_sending_subdomain_reputation_complaints_response": email_sending_subdomain_reputation_complaints_response_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_sending_subdomain_reputation_complaints": email_sending_subdomain_reputation_complaints, + "email_sending_subdomain_reputation_complaints_response": email_sending_subdomain_reputation_complaints_response, }, }, annotations: { @@ -94,17 +110,17 @@ export const tools: readonly Tool[] = [ "502": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, - "email_sending_subdomain_reputation_complaints": email_sending_subdomain_reputation_complaints_output, - "email_sending_subdomain_reputation_complaints_response": email_sending_subdomain_reputation_complaints_response_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, + "email_sending_subdomain_reputation_complaints": email_sending_subdomain_reputation_complaints, + "email_sending_subdomain_reputation_complaints_response": email_sending_subdomain_reputation_complaints_response, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/email/sending/subdomains/${pathParam(args, "subdomain_id")}/reputation/complaints`, query: [ - ["start_at", args["start_at"], true], - ["end_at", args["end_at"], true], + ["start_at", param(args, "query", "start_at"), true], + ["end_at", param(args, "query", "end_at"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSending/subdomains/tools.ts b/src/generated/forge-mcp/emailSending/subdomains/tools.ts index 60d0f045a..85149c346 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/tools.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/tools.ts @@ -3,35 +3,35 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - email_api_response_collection_output, - email_api_response_common_output, - email_api_response_single_output, - email_created_output, - email_dns_record_output, - email_messages_output, - email_modified_output, + email_api$$response$$collection, + email_api$$response$$common, + email_api$$response$$single, + email_created, + email_dns_record, + email_messages, + email_modified, } from "../../outputs.js"; import { email_identifier } from "../../schemas.js"; import { - email_sending_subdomain_config_error_output, - email_sending_subdomain_identifier_output, - email_sending_subdomain_output, - email_sending_subdomain_preview_response_output, - email_sending_subdomain_response_single_output, - email_sending_subdomains_response_collection_output, + email_sending_subdomain, + email_sending_subdomain_config_error, + email_sending_subdomain_identifier, + email_sending_subdomain_preview_response, + email_sending_subdomain_response_single, + email_sending_subdomains_response_collection, } from "./outputs.js"; import { email_create_sending_subdomain_properties, - email_sending_subdomain_identifier, + email_sending_subdomain_identifier as email_sending_subdomain_identifier$, email_update_sending_subdomain_properties, } from "./schemas.js"; /** - * The tools of `email_sending.subdomains`. + * The tools of `emailSending.subdomains`. */ export const tools: readonly Tool[] = [ { - name: "email_sending_subdomains_create", + name: "emailSending_subdomains_create", title: "Create a sending subdomain", description: "Creates a new sending subdomain or re-enables sending on an existing subdomain that had it disabled. If zone-level Email Sending has not been enabled yet, the zone flag is automatically set when the entitlement is present. A leftmost wildcard such as `*.example.com` is accepted only for accounts with wildcard Email Sending enabled. Wildcard senders share the base domain's DKIM signing identity and `cf-bounce.` return path.", inputSchema: { @@ -40,13 +40,21 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_create_sending_subdomain_properties" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { @@ -57,13 +65,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_sending_subdomain_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_sending_subdomain": email_sending_subdomain_output, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, - "email_sending_subdomain_response_single": email_sending_subdomain_response_single_output, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_messages": email_messages, + "email_modified": email_modified, + "email_sending_subdomain": email_sending_subdomain, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, annotations: { @@ -96,13 +104,13 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_sending_subdomain": email_sending_subdomain_output, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, - "email_sending_subdomain_response_single": email_sending_subdomain_response_single_output, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_messages": email_messages, + "email_modified": email_modified, + "email_sending_subdomain": email_sending_subdomain, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, request: (args) => ({ @@ -111,35 +119,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_subdomains_delete", + name: "emailSending_subdomains_delete", title: "Delete a sending subdomain", description: "Disables sending on a subdomain and removes its DNS records. If routing is still active on the subdomain, only sending is disabled.\n\nConfirm with the user before calling this tool. This operation disables sending and removes the subdomain's Email Sending DNS records.", inputSchema: { type: "object", properties: { - "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "subdomain_id": { + "$ref": "#/$defs/email_sending_subdomain_identifier", + "description": "Sending subdomain identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "subdomain_id" + ], + "type": "object" } }, required: [ - "zone_id", - "subdomain_id" + "path" ], $defs: { "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_api-response-single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, }, }, annotations: { @@ -172,8 +188,8 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_messages": email_messages_output, + "email_api-response-single": email_api$$response$$single, + "email_messages": email_messages, }, }, request: (args) => ({ @@ -181,40 +197,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_subdomains_get", + name: "emailSending_subdomains_get", title: "Get a sending subdomain", description: "Gets information for a specific sending subdomain.", inputSchema: { type: "object", properties: { - "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "subdomain_id": { + "$ref": "#/$defs/email_sending_subdomain_identifier", + "description": "Sending subdomain identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "subdomain_id" + ], + "type": "object" } }, required: [ - "zone_id", - "subdomain_id" + "path" ], $defs: { "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier$, }, }, outputSchema: { "$ref": "#/$defs/email_sending_subdomain_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_sending_subdomain": email_sending_subdomain_output, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, - "email_sending_subdomain_response_single": email_sending_subdomain_response_single_output, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_messages": email_messages, + "email_modified": email_modified, + "email_sending_subdomain": email_sending_subdomain, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, annotations: { @@ -247,13 +271,13 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_sending_subdomain": email_sending_subdomain_output, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, - "email_sending_subdomain_response_single": email_sending_subdomain_response_single_output, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_messages": email_messages, + "email_modified": email_modified, + "email_sending_subdomain": email_sending_subdomain, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, request: (args) => ({ @@ -261,19 +285,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_subdomains_list", + name: "emailSending_subdomains_list", title: "List sending subdomains", description: "Lists all sending-enabled subdomains for the zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "email_identifier": email_identifier, @@ -282,14 +314,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_sending_subdomains_response_collection", $defs: { - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_created": email_created_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_sending_subdomain": email_sending_subdomain_output, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, - "email_sending_subdomains_response_collection": email_sending_subdomains_response_collection_output, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_created": email_created, + "email_messages": email_messages, + "email_modified": email_modified, + "email_sending_subdomain": email_sending_subdomain, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomains_response_collection": email_sending_subdomains_response_collection, }, }, annotations: { @@ -322,14 +354,14 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-collection": email_api_response_collection_output, - "email_api-response-common": email_api_response_common_output, - "email_created": email_created_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_sending_subdomain": email_sending_subdomain_output, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, - "email_sending_subdomains_response_collection": email_sending_subdomains_response_collection_output, + "email_api-response-collection": email_api$$response$$collection, + "email_api-response-common": email_api$$response$$common, + "email_created": email_created, + "email_messages": email_messages, + "email_modified": email_modified, + "email_sending_subdomain": email_sending_subdomain, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomains_response_collection": email_sending_subdomains_response_collection, }, }, request: (args) => ({ @@ -337,7 +369,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_subdomains_preview", + name: "emailSending_subdomains_preview", title: "Preview sending subdomain DNS", description: "Returns the DNS records that would be created for a sending subdomain, flags which records are missing, and reports any conflicts with existing DNS records. This is a read-only dry-run — no records are created or modified. Use before or after creating a subdomain to check DNS status. A leftmost wildcard requires wildcard Email Sending to be enabled for the account and previews base-scoped DKIM and return-path records.", inputSchema: { @@ -346,13 +378,21 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_create_sending_subdomain_properties" }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { @@ -363,11 +403,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/email_sending_subdomain_preview_response", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_dns_record": email_dns_record_output, - "email_messages": email_messages_output, - "email_sending_subdomain_config_error": email_sending_subdomain_config_error_output, - "email_sending_subdomain_preview_response": email_sending_subdomain_preview_response_output, + "email_api-response-single": email_api$$response$$single, + "email_dns_record": email_dns_record, + "email_messages": email_messages, + "email_sending_subdomain_config_error": email_sending_subdomain_config_error, + "email_sending_subdomain_preview_response": email_sending_subdomain_preview_response, }, }, annotations: { @@ -400,11 +440,11 @@ export const tools: readonly Tool[] = [ "403": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_dns_record": email_dns_record_output, - "email_messages": email_messages_output, - "email_sending_subdomain_config_error": email_sending_subdomain_config_error_output, - "email_sending_subdomain_preview_response": email_sending_subdomain_preview_response_output, + "email_api-response-single": email_api$$response$$single, + "email_dns_record": email_dns_record, + "email_messages": email_messages, + "email_sending_subdomain_config_error": email_sending_subdomain_config_error, + "email_sending_subdomain_preview_response": email_sending_subdomain_preview_response, }, }, request: (args) => ({ @@ -413,7 +453,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_subdomains_update", + name: "emailSending_subdomains_update", title: "Update a sending subdomain", description: "Updates the activity-log preview preference for a sending subdomain.", inputSchema: { @@ -422,36 +462,44 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/email_update_sending_subdomain_properties" }, - "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." - }, - "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "path": { + "properties": { + "subdomain_id": { + "$ref": "#/$defs/email_sending_subdomain_identifier", + "description": "Sending subdomain identifier." + }, + "zone_id": { + "$ref": "#/$defs/email_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "subdomain_id" + ], + "type": "object" } }, required: [ - "zone_id", - "subdomain_id", + "path", "body" ], $defs: { "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier$, "email_update_sending_subdomain_properties": email_update_sending_subdomain_properties, }, }, outputSchema: { "$ref": "#/$defs/email_sending_subdomain_response_single", $defs: { - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_sending_subdomain": email_sending_subdomain_output, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, - "email_sending_subdomain_response_single": email_sending_subdomain_response_single_output, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_messages": email_messages, + "email_modified": email_modified, + "email_sending_subdomain": email_sending_subdomain, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, annotations: { @@ -484,13 +532,13 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "email_api-response-single": email_api_response_single_output, - "email_created": email_created_output, - "email_messages": email_messages_output, - "email_modified": email_modified_output, - "email_sending_subdomain": email_sending_subdomain_output, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier_output, - "email_sending_subdomain_response_single": email_sending_subdomain_response_single_output, + "email_api-response-single": email_api$$response$$single, + "email_created": email_created, + "email_messages": email_messages, + "email_modified": email_modified, + "email_sending_subdomain": email_sending_subdomain, + "email_sending_subdomain_identifier": email_sending_subdomain_identifier, + "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSending/suppressions/tools.ts b/src/generated/forge-mcp/emailSending/suppressions/tools.ts index de6cc95fd..3f15812b7 100644 --- a/src/generated/forge-mcp/emailSending/suppressions/tools.ts +++ b/src/generated/forge-mcp/emailSending/suppressions/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `email_sending.suppressions`. + * The tools of `emailSending.suppressions`. */ export const tools: readonly Tool[] = [ { - name: "email_sending_suppressions_create", + name: "emailSending_suppressions_create", title: "Create account Email Sending suppression", description: "Creates a suppression for every sending domain of the account (default) or for one sending domain (`scope.type = sending_domain`). Creating an existing active suppression returns its identifier. If a mutable legacy zone-linked account row already exists, it is promoted without changing its identifier.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "email": { @@ -85,10 +81,22 @@ export const tools: readonly Tool[] = [ "email" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -438,25 +446,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_suppressions_delete", + name: "emailSending_suppressions_delete", title: "Delete account Email Sending suppression", description: "Deletes the suppression, its note, and every legacy internal zone membership, allowing future delivery attempts to the address.\n\nConfirm with the user before calling this tool. This operation removes an Email Sending suppression and may allow email delivery to resume for the address.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "suppression_id": { - "description": "The suppression's identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "suppression_id": { + "description": "The suppression's identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "suppression_id" + ], + "type": "object" } }, required: [ - "account_id", - "suppression_id" + "path" ], }, outputSchema: { @@ -805,16 +821,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_suppressions_edit", + name: "emailSending_suppressions_edit", title: "Update account Email Sending suppression", description: "Updates expiry or advisory note fields without changing legacy internal zone memberships. Scope cannot be changed.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "expires_at": { @@ -840,15 +852,27 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "suppression_id": { - "description": "The suppression's identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "suppression_id": { + "description": "The suppression's identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "suppression_id" + ], + "type": "object" } }, required: [ - "account_id", - "suppression_id" + "path" ], }, outputSchema: { @@ -1231,25 +1255,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_suppressions_get", + name: "emailSending_suppressions_get", title: "Get account Email Sending suppression", description: "Gets an Email Sending suppression owned by the account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "suppression_id": { - "description": "The suppression's identifier.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "suppression_id": { + "description": "The suppression's identifier.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "suppression_id" + ], + "type": "object" } }, required: [ - "account_id", - "suppression_id" + "path" ], }, outputSchema: { @@ -1541,16 +1573,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_suppressions_import", + name: "emailSending_suppressions_import", title: "Bulk import account Email Sending suppressions", description: "Imports up to 1,000 Email Sending suppressions in one request. Each item applies to every sending domain of the account (default) or to one sending domain.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "items": { @@ -1631,10 +1659,22 @@ export const tools: readonly Tool[] = [ "items" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1957,59 +1997,72 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_suppressions_list", + name: "emailSending_suppressions_list", title: "List account Email Sending suppressions", description: "Lists every active Email Sending suppression owned by the account: sending-domain suppressions first, then account-wide suppressions (including legacy rows with internal zone memberships). Each group is newest first.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "cursor": { - "description": "Opaque pagination cursor returned as `result_info.next_cursor`. It carries the filters that produced it.", - "type": "string" - }, - "email": { - "description": "Exact email-address filter.", - "type": "string" - }, - "per_page": { - "default": 100, - "description": "Maximum number of suppressions to return per page.", - "type": "integer" - }, - "reason": { - "description": "Filter to suppressions with this reason.", - "enum": [ - "manual", - "complaint", - "hard_bounce", - "soft_bounce", - "policy" - ], - "type": "string" - }, - "scope_type": { - "description": "Filter by scope: `account` returns only account-wide suppressions, `sending_domain` only sending-domain suppressions. Omit to list both, sending-domain suppressions first.", - "enum": [ - "account", - "sending_domain" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "scope_value": { - "description": "Exact sending-domain filter. Requires `scope_type=sending_domain`.", - "type": "string" + "type": "object" }, - "search": { - "description": "A complete address is an exact match; a value ending in `@` matches that username across every domain. Prefix searches may return short intermediate pages while the bounded account scan advances.", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Opaque pagination cursor returned as `result_info.next_cursor`. It carries the filters that produced it.", + "type": "string" + }, + "email": { + "description": "Exact email-address filter.", + "type": "string" + }, + "per_page": { + "default": 100, + "description": "Maximum number of suppressions to return per page.", + "type": "integer" + }, + "reason": { + "description": "Filter to suppressions with this reason.", + "enum": [ + "manual", + "complaint", + "hard_bounce", + "soft_bounce", + "policy" + ], + "type": "string" + }, + "scope_type": { + "description": "Filter by scope: `account` returns only account-wide suppressions, `sending_domain` only sending-domain suppressions. Omit to list both, sending-domain suppressions first.", + "enum": [ + "account", + "sending_domain" + ], + "type": "string" + }, + "scope_value": { + "description": "Exact sending-domain filter. Requires `scope_type=sending_domain`.", + "type": "string" + }, + "search": { + "description": "A complete address is an exact match; a value ending in `@` matches that username across every domain. Prefix searches may return short intermediate pages while the bounded account scan advances.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2359,13 +2412,13 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/email/sending/suppressions`, query: [ - ["per_page", args["per_page"], true], - ["cursor", args["cursor"], true], - ["email", args["email"], true], - ["search", args["search"], true], - ["reason", args["reason"], true], - ["scope_type", args["scope_type"], true], - ["scope_value", args["scope_value"], true], + ["per_page", param(args, "query", "per_page"), true], + ["cursor", param(args, "query", "cursor"), true], + ["email", param(args, "query", "email"), true], + ["search", param(args, "query", "search"), true], + ["reason", param(args, "query", "reason"), true], + ["scope_type", param(args, "query", "scope_type"), true], + ["scope_value", param(args, "query", "scope_value"), true], ], }), }, diff --git a/src/generated/forge-mcp/emailSending/tools.ts b/src/generated/forge-mcp/emailSending/tools.ts index d5fa6dd7b..839897e08 100644 --- a/src/generated/forge-mcp/emailSending/tools.ts +++ b/src/generated/forge-mcp/emailSending/tools.ts @@ -3,39 +3,47 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - email_sending_EmailApiError_output, - email_sending_EmailSendResponse_output, + email$$sending_EmailApiError, + email$$sending_EmailSendResponse, } from "./outputs.js"; import { - email_sending_EmailAddressObject, - email_sending_EmailAddressString, - email_sending_EmailAttachment, - email_sending_EmailBuilder, - email_sending_EmailInlineAttachment, - email_sending_SendRawRequest, + email$$sending_EmailAddressObject, + email$$sending_EmailAddressString, + email$$sending_EmailAttachment, + email$$sending_EmailBuilder, + email$$sending_EmailInlineAttachment, + email$$sending_SendRawRequest, } from "./schemas.js"; /** - * The tools of `email_sending`. + * The tools of `emailSending`. */ export const tools: readonly Tool[] = [ { - name: "email_sending_get", + name: "emailSending_get", title: "Fetch an email message", description: "Returns the raw RFC 5322 MIME message for the given account and message id.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "message_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "message_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "message_id" + ], + "type": "object" } }, required: [ - "account_id", - "message_id" + "path" ], }, annotations: { @@ -71,7 +79,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-sending_EmailApiError": email_sending_EmailApiError_output, + "email-sending_EmailApiError": email$$sending_EmailApiError, }, }, request: (args) => ({ @@ -79,30 +87,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_send", + name: "emailSending_send", title: "Send an email", description: "Send an email for the specified account using the structured builder. Provide the sender, recipients, subject, and at least one of text or html; attachments are optional.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Identifier of the account.", - "type": "string" - }, "body": { "$ref": "#/$defs/email-sending_EmailBuilder" + }, + "path": { + "properties": { + "account_id": { + "description": "Identifier of the account.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-sending_EmailAddressObject": email_sending_EmailAddressObject, - "email-sending_EmailAddressString": email_sending_EmailAddressString, - "email-sending_EmailAttachment": email_sending_EmailAttachment, - "email-sending_EmailBuilder": email_sending_EmailBuilder, - "email-sending_EmailInlineAttachment": email_sending_EmailInlineAttachment, + "email-sending_EmailAddressObject": email$$sending_EmailAddressObject, + "email-sending_EmailAddressString": email$$sending_EmailAddressString, + "email-sending_EmailAttachment": email$$sending_EmailAttachment, + "email-sending_EmailBuilder": email$$sending_EmailBuilder, + "email-sending_EmailInlineAttachment": email$$sending_EmailInlineAttachment, }, }, outputSchema: { @@ -186,7 +202,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "email-sending_EmailSendResponse": email_sending_EmailSendResponse_output, + "email-sending_EmailSendResponse": email$$sending_EmailSendResponse, }, }, annotations: { @@ -572,7 +588,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-sending_EmailSendResponse": email_sending_EmailSendResponse_output, + "email-sending_EmailSendResponse": email$$sending_EmailSendResponse, }, }, request: (args) => ({ @@ -581,26 +597,34 @@ export const tools: readonly Tool[] = [ }), }, { - name: "email_sending_send_raw", + name: "emailSending_sendRaw", title: "Send a raw MIME email", description: "Send a raw RFC 5322 (MIME) email for the specified account. Provide the full MIME message plus the SMTP envelope (from and recipients).", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Identifier of the account.", - "type": "string" - }, "body": { "$ref": "#/$defs/email-sending_SendRawRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Identifier of the account.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "email-sending_SendRawRequest": email_sending_SendRawRequest, + "email-sending_SendRawRequest": email$$sending_SendRawRequest, }, }, outputSchema: { @@ -684,7 +708,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "email-sending_EmailSendResponse": email_sending_EmailSendResponse_output, + "email-sending_EmailSendResponse": email$$sending_EmailSendResponse, }, }, annotations: { @@ -1070,7 +1094,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-sending_EmailSendResponse": email_sending_EmailSendResponse_output, + "email-sending_EmailSendResponse": email$$sending_EmailSendResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/fieldExtractors/outputs.ts b/src/generated/forge-mcp/fieldExtractors/outputs.ts index 2d8860d1a..5aa9096c9 100644 --- a/src/generated/forge-mcp/fieldExtractors/outputs.ts +++ b/src/generated/forge-mcp/fieldExtractors/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `field-extractors_ApiError` in responses. */ -export const field_extractors_ApiError_output: JsonSchema = { +export const field$$extractors_ApiError: JsonSchema = { "properties": { "code": { "type": "number" @@ -36,7 +36,7 @@ export const field_extractors_ApiError_output: JsonSchema = { /** * The schema of `field-extractors_DeleteResponse` in responses. */ -export const field_extractors_DeleteResponse_output: JsonSchema = { +export const field$$extractors_DeleteResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -91,7 +91,7 @@ export const field_extractors_DeleteResponse_output: JsonSchema = { /** * The schema of `field-extractors_ErrorResponse` in responses. */ -export const field_extractors_ErrorResponse_output: JsonSchema = { +export const field$$extractors_ErrorResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -146,7 +146,7 @@ export const field_extractors_ErrorResponse_output: JsonSchema = { /** * The schema of `field-extractors_ExtractorResult` in responses. */ -export const field_extractors_ExtractorResult_output: JsonSchema = { +export const field$$extractors_ExtractorResult: JsonSchema = { "properties": { "extractor": { "type": "string" @@ -169,7 +169,7 @@ export const field_extractors_ExtractorResult_output: JsonSchema = { /** * The schema of `field-extractors_FieldOutput` in responses. */ -export const field_extractors_FieldOutput_output: JsonSchema = { +export const field$$extractors_FieldOutput: JsonSchema = { "properties": { "expression": { "type": "string" @@ -188,7 +188,7 @@ export const field_extractors_FieldOutput_output: JsonSchema = { /** * The schema of `field-extractors_RuleOutput` in responses. */ -export const field_extractors_RuleOutput_output: JsonSchema = { +export const field$$extractors_RuleOutput: JsonSchema = { "properties": { "description": { "type": "string" @@ -213,7 +213,7 @@ export const field_extractors_RuleOutput_output: JsonSchema = { /** * The schema of `field-extractors_SuccessResponse` in responses. */ -export const field_extractors_SuccessResponse_output: JsonSchema = { +export const field$$extractors_SuccessResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/fieldExtractors/tools.ts b/src/generated/forge-mcp/fieldExtractors/tools.ts index 703d16cc3..f81624b2f 100644 --- a/src/generated/forge-mcp/fieldExtractors/tools.ts +++ b/src/generated/forge-mcp/fieldExtractors/tools.ts @@ -3,45 +3,53 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - field_extractors_ApiError_output, - field_extractors_DeleteResponse_output, - field_extractors_ErrorResponse_output, - field_extractors_ExtractorResult_output, - field_extractors_FieldOutput_output, - field_extractors_RuleOutput_output, - field_extractors_SuccessResponse_output, + field$$extractors_ApiError, + field$$extractors_DeleteResponse, + field$$extractors_ErrorResponse, + field$$extractors_ExtractorResult, + field$$extractors_FieldOutput, + field$$extractors_RuleOutput, + field$$extractors_SuccessResponse, } from "./outputs.js"; /** - * The tools of `field_extractors`. + * The tools of `fieldExtractors`. */ export const tools: readonly Tool[] = [ { - name: "field_extractors_delete", + name: "fieldExtractors_delete", title: "Delete Field Extractor", description: "Deletes all custom extraction rules for an extractor type.\n\nThis method is alpha.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "extractor": { - "description": "Extractor type.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "extractor": { + "description": "Extractor type.", + "type": "string" + } + }, + "required": [ + "account_id", + "extractor" + ], + "type": "object" } }, required: [ - "account_id", - "extractor" + "path" ], }, outputSchema: { "$ref": "#/$defs/field-extractors_DeleteResponse", $defs: { - "field-extractors_ApiError": field_extractors_ApiError_output, - "field-extractors_DeleteResponse": field_extractors_DeleteResponse_output, + "field-extractors_ApiError": field$$extractors_ApiError, + "field-extractors_DeleteResponse": field$$extractors_DeleteResponse, }, }, annotations: { @@ -63,9 +71,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "field-extractors_ApiError": field_extractors_ApiError_output, - "field-extractors_DeleteResponse": field_extractors_DeleteResponse_output, - "field-extractors_ErrorResponse": field_extractors_ErrorResponse_output, + "field-extractors_ApiError": field$$extractors_ApiError, + "field-extractors_DeleteResponse": field$$extractors_DeleteResponse, + "field-extractors_ErrorResponse": field$$extractors_ErrorResponse, }, }, request: (args) => ({ @@ -73,34 +81,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "field_extractors_get", + name: "fieldExtractors_get", title: "Get Field Extractor", description: "Retrieves the custom extraction rules configured for a given extractor type.\n\nThis method is alpha.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, - "extractor": { - "description": "Extractor type.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "extractor": { + "description": "Extractor type.", + "type": "string" + } + }, + "required": [ + "account_id", + "extractor" + ], + "type": "object" } }, required: [ - "account_id", - "extractor" + "path" ], }, outputSchema: { "$ref": "#/$defs/field-extractors_SuccessResponse", $defs: { - "field-extractors_ApiError": field_extractors_ApiError_output, - "field-extractors_ExtractorResult": field_extractors_ExtractorResult_output, - "field-extractors_FieldOutput": field_extractors_FieldOutput_output, - "field-extractors_RuleOutput": field_extractors_RuleOutput_output, - "field-extractors_SuccessResponse": field_extractors_SuccessResponse_output, + "field-extractors_ApiError": field$$extractors_ApiError, + "field-extractors_ExtractorResult": field$$extractors_ExtractorResult, + "field-extractors_FieldOutput": field$$extractors_FieldOutput, + "field-extractors_RuleOutput": field$$extractors_RuleOutput, + "field-extractors_SuccessResponse": field$$extractors_SuccessResponse, }, }, annotations: { @@ -122,12 +138,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "field-extractors_ApiError": field_extractors_ApiError_output, - "field-extractors_ErrorResponse": field_extractors_ErrorResponse_output, - "field-extractors_ExtractorResult": field_extractors_ExtractorResult_output, - "field-extractors_FieldOutput": field_extractors_FieldOutput_output, - "field-extractors_RuleOutput": field_extractors_RuleOutput_output, - "field-extractors_SuccessResponse": field_extractors_SuccessResponse_output, + "field-extractors_ApiError": field$$extractors_ApiError, + "field-extractors_ErrorResponse": field$$extractors_ErrorResponse, + "field-extractors_ExtractorResult": field$$extractors_ExtractorResult, + "field-extractors_FieldOutput": field$$extractors_FieldOutput, + "field-extractors_RuleOutput": field$$extractors_RuleOutput, + "field-extractors_SuccessResponse": field$$extractors_SuccessResponse, }, }, request: (args) => ({ @@ -135,16 +151,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "field_extractors_update", + name: "fieldExtractors_update", title: "Update Field Extractor", description: "Replaces all custom extraction rules for an extractor type. Omitted rules are deleted.\n\nThis method is alpha.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Desired-state replacement of all rules for this extractor type.", "properties": { @@ -193,24 +205,36 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "extractor": { - "description": "Extractor type.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID.", + "type": "string" + }, + "extractor": { + "description": "Extractor type.", + "type": "string" + } + }, + "required": [ + "account_id", + "extractor" + ], + "type": "object" } }, required: [ - "account_id", - "extractor" + "path" ], }, outputSchema: { "$ref": "#/$defs/field-extractors_SuccessResponse", $defs: { - "field-extractors_ApiError": field_extractors_ApiError_output, - "field-extractors_ExtractorResult": field_extractors_ExtractorResult_output, - "field-extractors_FieldOutput": field_extractors_FieldOutput_output, - "field-extractors_RuleOutput": field_extractors_RuleOutput_output, - "field-extractors_SuccessResponse": field_extractors_SuccessResponse_output, + "field-extractors_ApiError": field$$extractors_ApiError, + "field-extractors_ExtractorResult": field$$extractors_ExtractorResult, + "field-extractors_FieldOutput": field$$extractors_FieldOutput, + "field-extractors_RuleOutput": field$$extractors_RuleOutput, + "field-extractors_SuccessResponse": field$$extractors_SuccessResponse, }, }, annotations: { @@ -235,12 +259,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "field-extractors_ApiError": field_extractors_ApiError_output, - "field-extractors_ErrorResponse": field_extractors_ErrorResponse_output, - "field-extractors_ExtractorResult": field_extractors_ExtractorResult_output, - "field-extractors_FieldOutput": field_extractors_FieldOutput_output, - "field-extractors_RuleOutput": field_extractors_RuleOutput_output, - "field-extractors_SuccessResponse": field_extractors_SuccessResponse_output, + "field-extractors_ApiError": field$$extractors_ApiError, + "field-extractors_ErrorResponse": field$$extractors_ErrorResponse, + "field-extractors_ExtractorResult": field$$extractors_ExtractorResult, + "field-extractors_FieldOutput": field$$extractors_FieldOutput, + "field-extractors_RuleOutput": field$$extractors_RuleOutput, + "field-extractors_SuccessResponse": field$$extractors_SuccessResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/firewall/accessRules/outputs.ts b/src/generated/forge-mcp/firewall/accessRules/outputs.ts index ca1584ab9..8213ed822 100644 --- a/src/generated/forge-mcp/firewall/accessRules/outputs.ts +++ b/src/generated/forge-mcp/firewall/accessRules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `firewall_api-response-single-id` in responses. */ -export const firewall_api_response_single_id_output: JsonSchema = { +export const firewall_api$$response$$single$$id: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-common" @@ -40,14 +40,14 @@ export const firewall_api_response_single_id_output: JsonSchema = { /** * The schema of `firewall_email` in responses. */ -export const firewall_email_output: JsonSchema = { +export const firewall_email: JsonSchema = { "type": "string" }; /** * The schema of `firewall_response_collection` in responses. */ -export const firewall_response_collection_output: JsonSchema = { +export const firewall_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-collection" @@ -69,7 +69,7 @@ export const firewall_response_collection_output: JsonSchema = { /** * The schema of `firewall_response_single` in responses. */ -export const firewall_response_single_output: JsonSchema = { +export const firewall_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-single" @@ -88,7 +88,7 @@ export const firewall_response_single_output: JsonSchema = { /** * The schema of `firewall_schemas-rule` in responses. */ -export const firewall_schemas_rule_output: JsonSchema = { +export const firewall_schemas$$rule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_rule" diff --git a/src/generated/forge-mcp/firewall/accessRules/schemas.ts b/src/generated/forge-mcp/firewall/accessRules/schemas.ts index a80008f0e..350dd6dd9 100644 --- a/src/generated/forge-mcp/firewall/accessRules/schemas.ts +++ b/src/generated/forge-mcp/firewall/accessRules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `firewall_schemas-rule`. */ -export const firewall_schemas_rule: JsonSchema = { +export const firewall_schemas$$rule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_rule" diff --git a/src/generated/forge-mcp/firewall/accessRules/tools.ts b/src/generated/forge-mcp/firewall/accessRules/tools.ts index bdb395ddc..255bd7b3c 100644 --- a/src/generated/forge-mcp/firewall/accessRules/tools.ts +++ b/src/generated/forge-mcp/firewall/accessRules/tools.ts @@ -1,71 +1,59 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - firewall_api_response_collection_output, - firewall_api_response_common_failure_output, - firewall_api_response_common_output, - firewall_api_response_single_output, - firewall_asn_configuration_output, - firewall_cidr_configuration_output, - firewall_configuration_output, - firewall_country_configuration_output, - firewall_ip_configuration_output, - firewall_ipv6_configuration_output, - firewall_messages_output, - firewall_notes_output, - firewall_result_info_output, - firewall_rule_output, - firewall_schemas_identifier_output, - firewall_schemas_mode_output, -} from "../../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { + firewall_api$$response$$collection, + firewall_api$$response$$common, + firewall_api$$response$$common$$failure, + firewall_api$$response$$single, firewall_asn_configuration, firewall_cidr_configuration, firewall_configuration, firewall_country_configuration, firewall_ip_configuration, firewall_ipv6_configuration, + firewall_messages, firewall_notes, + firewall_result_info, firewall_rule, + firewall_schemas$$identifier, + firewall_schemas$$mode, +} from "../../outputs.js"; +import { + firewall_asn_configuration as firewall_asn_configuration$, + firewall_cidr_configuration as firewall_cidr_configuration$, + firewall_configuration as firewall_configuration$, + firewall_country_configuration as firewall_country_configuration$, + firewall_ip_configuration as firewall_ip_configuration$, + firewall_ipv6_configuration as firewall_ipv6_configuration$, + firewall_notes as firewall_notes$, + firewall_rule as firewall_rule$, firewall_rule_identifier, - firewall_schemas_mode, + firewall_schemas$$mode as firewall_schemas$$mode$, } from "../../schemas.js"; -import { firewall_identifier_output } from "../outputs.js"; +import { firewall_identifier } from "../outputs.js"; import { firewall_account_identifier } from "../schemas.js"; import { - firewall_api_response_single_id_output, - firewall_email_output, - firewall_response_collection_output, - firewall_response_single_output, - firewall_schemas_rule_output, + firewall_api$$response$$single$$id, + firewall_email, + firewall_response_collection, + firewall_response_single, + firewall_schemas$$rule, } from "./outputs.js"; -import { firewall_schemas_rule } from "./schemas.js"; +import { firewall_schemas$$rule as firewall_schemas$$rule$ } from "./schemas.js"; /** - * The tools of `firewall.access_rules`. + * The tools of `firewall.accessRules`. */ export const tools: readonly Tool[] = [ { - name: "firewall_access_rules_create", + name: "firewall_accessRules_create", title: "Create an IP Access rule", description: "Creates a new IP Access rule for an account or zone. The rule will apply to all zones in the account or zone.\n\nNote: To create an IP Access rule that applies to a single zone, refer to the [IP Access rules for a zone](#ip-access-rules-for-a-zone) endpoints.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "configuration": { @@ -85,45 +73,65 @@ export const tools: readonly Tool[] = [ "mode" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/firewall_account_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { "firewall_account_identifier": firewall_account_identifier, + "firewall_asn_configuration": firewall_asn_configuration$, + "firewall_cidr_configuration": firewall_cidr_configuration$, + "firewall_configuration": firewall_configuration$, + "firewall_country_configuration": firewall_country_configuration$, + "firewall_ip_configuration": firewall_ip_configuration$, + "firewall_ipv6_configuration": firewall_ipv6_configuration$, + "firewall_notes": firewall_notes$, + "firewall_schemas-mode": firewall_schemas$$mode$, + }, + }, + outputSchema: { + "$ref": "#/$defs/firewall_response_single", + $defs: { + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, "firewall_asn_configuration": firewall_asn_configuration, "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, + "firewall_email": firewall_email, + "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, "firewall_notes": firewall_notes, - "firewall_schemas-mode": firewall_schemas_mode, - }, - }, - outputSchema: { - "$ref": "#/$defs/firewall_response_single", - $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_email": firewall_email_output, - "firewall_identifier": firewall_identifier_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_response_single": firewall_response_single_output, - "firewall_rule": firewall_rule_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, - "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_response_single": firewall_response_single, + "firewall_rule": firewall_rule, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-rule": firewall_schemas$$rule, }, }, annotations: { @@ -161,24 +169,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_email": firewall_email_output, - "firewall_identifier": firewall_identifier_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_response_single": firewall_response_single_output, - "firewall_rule": firewall_rule_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, - "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_email": firewall_email, + "firewall_identifier": firewall_identifier, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_response_single": firewall_response_single, + "firewall_rule": firewall_rule, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-rule": firewall_schemas$$rule, }, }, request: (args) => ({ @@ -187,33 +195,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "firewall_access_rules_delete", + name: "firewall_accessRules_delete", title: "Delete an IP Access rule", description: "Deletes an existing IP Access rule defined.\n\nNote: This operation will affect all zones in the account or zone.\n\nConfirm with the user before calling this tool. This operation deletes the account-level IP Access Rule and affects every zone in the account.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/firewall_account_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "rule_id": { + "$ref": "#/$defs/firewall_rule_identifier", + "description": "Unique identifier for a rule." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "rule_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "rule_id" + "path" ], $defs: { "firewall_account_identifier": firewall_account_identifier, @@ -223,10 +239,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/firewall_api-response-single-id", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single-id": firewall_api_response_single_id_output, - "firewall_identifier": firewall_identifier_output, - "firewall_messages": firewall_messages_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single-id": firewall_api$$response$$single$$id, + "firewall_identifier": firewall_identifier, + "firewall_messages": firewall_messages, }, }, annotations: { @@ -264,11 +280,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single-id": firewall_api_response_single_id_output, - "firewall_identifier": firewall_identifier_output, - "firewall_messages": firewall_messages_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single-id": firewall_api$$response$$single$$id, + "firewall_identifier": firewall_identifier, + "firewall_messages": firewall_messages, }, }, request: (args) => ({ @@ -276,73 +292,81 @@ export const tools: readonly Tool[] = [ }), }, { - name: "firewall_access_rules_edit", + name: "firewall_accessRules_edit", title: "Update an IP Access rule", description: "Updates an IP Access rule defined.\n\nNote: This operation will affect all zones in the account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/firewall_schemas-rule" }, - "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/firewall_account_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "rule_id": { + "$ref": "#/$defs/firewall_rule_identifier", + "description": "Unique identifier for a rule." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "rule_id", + "path", "body" ], $defs: { "firewall_account_identifier": firewall_account_identifier, + "firewall_asn_configuration": firewall_asn_configuration$, + "firewall_cidr_configuration": firewall_cidr_configuration$, + "firewall_configuration": firewall_configuration$, + "firewall_country_configuration": firewall_country_configuration$, + "firewall_ip_configuration": firewall_ip_configuration$, + "firewall_ipv6_configuration": firewall_ipv6_configuration$, + "firewall_notes": firewall_notes$, + "firewall_rule": firewall_rule$, + "firewall_rule_identifier": firewall_rule_identifier, + "firewall_schemas-mode": firewall_schemas$$mode$, + "firewall_schemas-rule": firewall_schemas$$rule$, + }, + }, + outputSchema: { + "$ref": "#/$defs/firewall_response_single", + $defs: { + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, "firewall_asn_configuration": firewall_asn_configuration, "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, + "firewall_email": firewall_email, + "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, "firewall_notes": firewall_notes, + "firewall_response_single": firewall_response_single, "firewall_rule": firewall_rule, - "firewall_rule_identifier": firewall_rule_identifier, - "firewall_schemas-mode": firewall_schemas_mode, - "firewall_schemas-rule": firewall_schemas_rule, - }, - }, - outputSchema: { - "$ref": "#/$defs/firewall_response_single", - $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_email": firewall_email_output, - "firewall_identifier": firewall_identifier_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_response_single": firewall_response_single_output, - "firewall_rule": firewall_rule_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, - "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-rule": firewall_schemas$$rule, }, }, annotations: { @@ -380,24 +404,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_email": firewall_email_output, - "firewall_identifier": firewall_identifier_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_response_single": firewall_response_single_output, - "firewall_rule": firewall_rule_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, - "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_email": firewall_email, + "firewall_identifier": firewall_identifier, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_response_single": firewall_response_single, + "firewall_rule": firewall_rule, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-rule": firewall_schemas$$rule, }, }, request: (args) => ({ @@ -406,33 +430,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "firewall_access_rules_get", + name: "firewall_accessRules_get", title: "Get an IP Access rule", description: "Fetches the details of an IP Access rule defined.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/firewall_account_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "rule_id": { + "$ref": "#/$defs/firewall_rule_identifier", + "description": "Unique identifier for a rule." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "rule_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "rule_id" + "path" ], $defs: { "firewall_account_identifier": firewall_account_identifier, @@ -442,23 +474,23 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/firewall_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_email": firewall_email_output, - "firewall_identifier": firewall_identifier_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_response_single": firewall_response_single_output, - "firewall_rule": firewall_rule_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, - "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_email": firewall_email, + "firewall_identifier": firewall_identifier, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_response_single": firewall_response_single, + "firewall_rule": firewall_rule, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-rule": firewall_schemas$$rule, }, }, annotations: { @@ -497,24 +529,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_email": firewall_email_output, - "firewall_identifier": firewall_identifier_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_response_single": firewall_response_single_output, - "firewall_rule": firewall_rule_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, - "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_email": firewall_email, + "firewall_identifier": firewall_identifier, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_response_single": firewall_response_single, + "firewall_rule": firewall_rule, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-rule": firewall_schemas$$rule, }, }, request: (args) => ({ @@ -522,111 +554,124 @@ export const tools: readonly Tool[] = [ }), }, { - name: "firewall_access_rules_list", + name: "firewall_accessRules_list", title: "List IP Access rules", description: "Fetches IP Access rules of an account or zone. These rules apply to all the zones in the account or zone. You can filter the results using several optional parameters.", inputSchema: { type: "object", properties: { - "access_rule_mode": { - "$ref": "#/$defs/firewall_schemas-mode", - "description": "The action to apply to a matched request." - }, - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "configuration_target": { - "description": "Defines the target to search in existing rules.", - "enum": [ - "ip", - "ip_range", - "asn", - "country" - ], - "type": "string" - }, - "configuration_value": { - "description": "Defines the target value to search for in existing rules: an IP address, an IP address range, or a country code, depending on the provided `configuration.target`.\nNotes: You can search for a single IPv4 address, an IP address range with a subnet of '/16' or '/24', or a two-letter ISO-3166-1 alpha-2 country code.", - "type": "string" - }, - "direction": { - "description": "Defines the direction used to sort returned rules.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "match": { - "default": "all", - "description": "Defines the search requirements. When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match.", - "enum": [ - "any", - "all" - ], - "type": "string" - }, - "notes": { - "description": "Defines the string to search for in the notes of existing IP Access rules.\nNotes: For example, the string 'attack' would match IP Access rules with notes 'Attack 26/02' and 'Attack 27/02'. The search is case insensitive.", - "type": "string" - }, - "order": { - "description": "Defines the field used to sort returned rules.", - "enum": [ - "configuration.target", - "configuration.value", - "mode" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/firewall_account_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "page": { - "description": "Defines the requested page within paginated list of results.", - "type": "number" + "type": "object" }, - "per_page": { - "description": "Defines the maximum number of results requested.", - "type": "number" + "query": { + "properties": { + "configuration.target": { + "description": "Defines the target to search in existing rules.", + "enum": [ + "ip", + "ip_range", + "asn", + "country" + ], + "type": "string" + }, + "configuration.value": { + "description": "Defines the target value to search for in existing rules: an IP address, an IP address range, or a country code, depending on the provided `configuration.target`.\nNotes: You can search for a single IPv4 address, an IP address range with a subnet of '/16' or '/24', or a two-letter ISO-3166-1 alpha-2 country code.", + "type": "string" + }, + "direction": { + "description": "Defines the direction used to sort returned rules.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "match": { + "default": "all", + "description": "Defines the search requirements. When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match.", + "enum": [ + "any", + "all" + ], + "type": "string" + }, + "mode": { + "$ref": "#/$defs/firewall_schemas-mode", + "description": "The action to apply to a matched request." + }, + "notes": { + "description": "Defines the string to search for in the notes of existing IP Access rules.\nNotes: For example, the string 'attack' would match IP Access rules with notes 'Attack 26/02' and 'Attack 27/02'. The search is case insensitive.", + "type": "string" + }, + "order": { + "description": "Defines the field used to sort returned rules.", + "enum": [ + "configuration.target", + "configuration.value", + "mode" + ], + "type": "string" + }, + "page": { + "description": "Defines the requested page within paginated list of results.", + "type": "number" + }, + "per_page": { + "description": "Defines the maximum number of results requested.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "firewall_account_identifier": firewall_account_identifier, - "firewall_schemas-mode": firewall_schemas_mode, + "firewall_schemas-mode": firewall_schemas$$mode$, }, }, outputSchema: { "$ref": "#/$defs/firewall_response_collection", $defs: { - "firewall_api-response-collection": firewall_api_response_collection_output, - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_email": firewall_email_output, - "firewall_identifier": firewall_identifier_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_response_collection": firewall_response_collection_output, - "firewall_result_info": firewall_result_info_output, - "firewall_rule": firewall_rule_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, - "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_api-response-collection": firewall_api$$response$$collection, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_email": firewall_email, + "firewall_identifier": firewall_identifier, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_response_collection": firewall_response_collection, + "firewall_result_info": firewall_result_info, + "firewall_rule": firewall_rule, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-rule": firewall_schemas$$rule, }, }, annotations: { @@ -665,39 +710,39 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-collection": firewall_api_response_collection_output, - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_email": firewall_email_output, - "firewall_identifier": firewall_identifier_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_response_collection": firewall_response_collection_output, - "firewall_result_info": firewall_result_info_output, - "firewall_rule": firewall_rule_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, - "firewall_schemas-rule": firewall_schemas_rule_output, + "firewall_api-response-collection": firewall_api$$response$$collection, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_email": firewall_email, + "firewall_identifier": firewall_identifier, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_response_collection": firewall_response_collection, + "firewall_result_info": firewall_result_info, + "firewall_rule": firewall_rule, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-rule": firewall_schemas$$rule, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/firewall/access_rules/rules`, query: [ - ["mode", args["access_rule_mode"], true], - ["configuration.target", args["configuration_target"], true], - ["configuration.value", args["configuration_value"], true], - ["notes", args["notes"], true], - ["match", args["match"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["mode", param(args, "query", "mode"), true], + ["configuration.target", param(args, "query", "configuration.target"), true], + ["configuration.value", param(args, "query", "configuration.value"), true], + ["notes", param(args, "query", "notes"), true], + ["match", param(args, "query", "match"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, diff --git a/src/generated/forge-mcp/firewall/lockdowns/outputs.ts b/src/generated/forge-mcp/firewall/lockdowns/outputs.ts index 50e297ccf..5b9f18b59 100644 --- a/src/generated/forge-mcp/firewall/lockdowns/outputs.ts +++ b/src/generated/forge-mcp/firewall/lockdowns/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `firewall_configurations` in responses. */ -export const firewall_configurations_output: JsonSchema = { +export const firewall_configurations: JsonSchema = { "items": { "anyOf": [ { @@ -23,7 +23,7 @@ export const firewall_configurations_output: JsonSchema = { /** * The schema of `firewall_created_on` in responses. */ -export const firewall_created_on_output: JsonSchema = { +export const firewall_created_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -32,21 +32,21 @@ export const firewall_created_on_output: JsonSchema = { * The schema of `firewall_lockdowns_components-schemas-description` in * responses. */ -export const firewall_lockdowns_components_schemas_description_output: JsonSchema = { +export const firewall_lockdowns_components$$schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `firewall_lockdowns_components-schemas-id` in responses. */ -export const firewall_lockdowns_components_schemas_id_output: JsonSchema = { +export const firewall_lockdowns_components$$schemas$$id: JsonSchema = { "type": "string" }; /** * The schema of `firewall_modified_on` in responses. */ -export const firewall_modified_on_output: JsonSchema = { +export const firewall_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -54,7 +54,7 @@ export const firewall_modified_on_output: JsonSchema = { /** * The schema of `firewall_schemas-cidr_configuration` in responses. */ -export const firewall_schemas_cidr_configuration_output: JsonSchema = { +export const firewall_schemas$$cidr_configuration: JsonSchema = { "properties": { "target": { "enum": [ @@ -72,7 +72,7 @@ export const firewall_schemas_cidr_configuration_output: JsonSchema = { /** * The schema of `firewall_schemas-ip_configuration` in responses. */ -export const firewall_schemas_ip_configuration_output: JsonSchema = { +export const firewall_schemas$$ip_configuration: JsonSchema = { "properties": { "target": { "enum": [ @@ -90,7 +90,7 @@ export const firewall_schemas_ip_configuration_output: JsonSchema = { /** * The schema of `firewall_schemas-urls` in responses. */ -export const firewall_schemas_urls_output: JsonSchema = { +export const firewall_schemas$$urls: JsonSchema = { "items": { "type": "string" }, @@ -100,7 +100,7 @@ export const firewall_schemas_urls_output: JsonSchema = { /** * The schema of `firewall_zonelockdown` in responses. */ -export const firewall_zonelockdown_output: JsonSchema = { +export const firewall_zonelockdown: JsonSchema = { "properties": { "configurations": { "$ref": "#/$defs/firewall_configurations" @@ -139,7 +139,7 @@ export const firewall_zonelockdown_output: JsonSchema = { /** * The schema of `firewall_zonelockdown_response_collection` in responses. */ -export const firewall_zonelockdown_response_collection_output: JsonSchema = { +export const firewall_zonelockdown_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-collection" @@ -164,7 +164,7 @@ export const firewall_zonelockdown_response_collection_output: JsonSchema = { /** * The schema of `firewall_zonelockdown_response_single` in responses. */ -export const firewall_zonelockdown_response_single_output: JsonSchema = { +export const firewall_zonelockdown_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-single" diff --git a/src/generated/forge-mcp/firewall/lockdowns/schemas.ts b/src/generated/forge-mcp/firewall/lockdowns/schemas.ts index c6d6cfa08..d7c71927f 100644 --- a/src/generated/forge-mcp/firewall/lockdowns/schemas.ts +++ b/src/generated/forge-mcp/firewall/lockdowns/schemas.ts @@ -40,7 +40,7 @@ export const firewall_ip_search: JsonSchema = { /** * The schema of `firewall_lockdowns_components-schemas-id`. */ -export const firewall_lockdowns_components_schemas_id: JsonSchema = { +export const firewall_lockdowns_components$$schemas$$id: JsonSchema = { "description": "The unique identifier of the Zone Lockdown rule.", "type": "string" }; @@ -57,7 +57,7 @@ export const firewall_modified_on: JsonSchema = { /** * The schema of `firewall_schemas-cidr_configuration`. */ -export const firewall_schemas_cidr_configuration: JsonSchema = { +export const firewall_schemas$$cidr_configuration: JsonSchema = { "description": "An IP address range configuration.", "properties": { "target": { @@ -78,7 +78,7 @@ export const firewall_schemas_cidr_configuration: JsonSchema = { /** * The schema of `firewall_schemas-description_search`. */ -export const firewall_schemas_description_search: JsonSchema = { +export const firewall_schemas$$description_search: JsonSchema = { "description": "A string to search for in the description of existing rules.", "type": "string" }; @@ -86,7 +86,7 @@ export const firewall_schemas_description_search: JsonSchema = { /** * The schema of `firewall_schemas-ip_configuration`. */ -export const firewall_schemas_ip_configuration: JsonSchema = { +export const firewall_schemas$$ip_configuration: JsonSchema = { "description": "An IP address configuration.", "properties": { "target": { @@ -107,7 +107,7 @@ export const firewall_schemas_ip_configuration: JsonSchema = { /** * The schema of `firewall_schemas-priority`. */ -export const firewall_schemas_priority: JsonSchema = { +export const firewall_schemas$$priority: JsonSchema = { "description": "The priority of the rule to control the processing order. A lower number indicates higher priority. If not provided, any rules with a configured priority will be processed before rules without a priority.", "type": "number" }; diff --git a/src/generated/forge-mcp/firewall/lockdowns/tools.ts b/src/generated/forge-mcp/firewall/lockdowns/tools.ts index f7854b786..98d4c2d63 100644 --- a/src/generated/forge-mcp/firewall/lockdowns/tools.ts +++ b/src/generated/forge-mcp/firewall/lockdowns/tools.ts @@ -1,44 +1,44 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - firewall_api_response_collection_output, - firewall_api_response_common_failure_output, - firewall_api_response_common_output, - firewall_api_response_single_output, - firewall_messages_output, - firewall_result_info_output, + firewall_api$$response$$collection, + firewall_api$$response$$common, + firewall_api$$response$$common$$failure, + firewall_api$$response$$single, + firewall_messages, + firewall_result_info, } from "../../outputs.js"; -import { firewall_schemas_paused_output } from "../outputs.js"; +import { firewall_schemas$$paused } from "../outputs.js"; import { firewall_description, firewall_identifier, - firewall_schemas_paused, + firewall_schemas$$paused as firewall_schemas$$paused$, } from "../schemas.js"; import { - firewall_configurations_output, - firewall_created_on_output, - firewall_lockdowns_components_schemas_description_output, - firewall_lockdowns_components_schemas_id_output, - firewall_modified_on_output, - firewall_schemas_cidr_configuration_output, - firewall_schemas_ip_configuration_output, - firewall_schemas_urls_output, - firewall_zonelockdown_output, - firewall_zonelockdown_response_collection_output, - firewall_zonelockdown_response_single_output, + firewall_configurations, + firewall_created_on, + firewall_lockdowns_components$$schemas$$description, + firewall_lockdowns_components$$schemas$$id, + firewall_modified_on, + firewall_schemas$$cidr_configuration, + firewall_schemas$$ip_configuration, + firewall_schemas$$urls, + firewall_zonelockdown, + firewall_zonelockdown_response_collection, + firewall_zonelockdown_response_single, } from "./outputs.js"; import { - firewall_configurations, + firewall_configurations as firewall_configurations$, firewall_ip_range_search, firewall_ip_search, - firewall_lockdowns_components_schemas_id, - firewall_modified_on, - firewall_schemas_cidr_configuration, - firewall_schemas_description_search, - firewall_schemas_ip_configuration, - firewall_schemas_priority, + firewall_lockdowns_components$$schemas$$id as firewall_lockdowns_components$$schemas$$id$, + firewall_modified_on as firewall_modified_on$, + firewall_schemas$$cidr_configuration as firewall_schemas$$cidr_configuration$, + firewall_schemas$$description_search, + firewall_schemas$$ip_configuration as firewall_schemas$$ip_configuration$, + firewall_schemas$$priority, firewall_uri_search, firewall_urls, } from "./schemas.js"; @@ -83,43 +83,51 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "firewall_configurations": firewall_configurations, + "firewall_configurations": firewall_configurations$, "firewall_description": firewall_description, "firewall_identifier": firewall_identifier, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration, - "firewall_schemas-paused": firewall_schemas_paused, - "firewall_schemas-priority": firewall_schemas_priority, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration$, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration$, + "firewall_schemas-paused": firewall_schemas$$paused$, + "firewall_schemas-priority": firewall_schemas$$priority, "firewall_urls": firewall_urls, }, }, outputSchema: { "$ref": "#/$defs/firewall_zonelockdown_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_configurations": firewall_configurations_output, - "firewall_created_on": firewall_created_on_output, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, - "firewall_messages": firewall_messages_output, - "firewall_modified_on": firewall_modified_on_output, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, - "firewall_schemas-urls": firewall_schemas_urls_output, - "firewall_zonelockdown": firewall_zonelockdown_output, - "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_configurations": firewall_configurations, + "firewall_created_on": firewall_created_on, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, + "firewall_messages": firewall_messages, + "firewall_modified_on": firewall_modified_on, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, + "firewall_schemas-paused": firewall_schemas$$paused, + "firewall_schemas-urls": firewall_schemas$$urls, + "firewall_zonelockdown": firewall_zonelockdown, + "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, }, }, annotations: { @@ -152,21 +160,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_configurations": firewall_configurations_output, - "firewall_created_on": firewall_created_on_output, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, - "firewall_messages": firewall_messages_output, - "firewall_modified_on": firewall_modified_on_output, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, - "firewall_schemas-urls": firewall_schemas_urls_output, - "firewall_zonelockdown": firewall_zonelockdown_output, - "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_configurations": firewall_configurations, + "firewall_created_on": firewall_created_on, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, + "firewall_messages": firewall_messages, + "firewall_modified_on": firewall_modified_on, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, + "firewall_schemas-paused": firewall_schemas$$paused, + "firewall_schemas-urls": firewall_schemas$$urls, + "firewall_zonelockdown": firewall_zonelockdown, + "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, }, }, request: (args) => ({ @@ -181,22 +189,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "lock_downs_id": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-id", - "description": "The unique identifier of the Zone Lockdown rule." - }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "lock_downs_id": { + "$ref": "#/$defs/firewall_lockdowns_components-schemas-id", + "description": "The unique identifier of the Zone Lockdown rule." + }, + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "lock_downs_id" + ], + "type": "object" } }, required: [ - "zone_id", - "lock_downs_id" + "path" ], $defs: { "firewall_identifier": firewall_identifier, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id$, }, }, outputSchema: { @@ -212,7 +228,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, }, }, annotations: { @@ -255,9 +271,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, - "firewall_messages": firewall_messages_output, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, + "firewall_messages": firewall_messages, }, }, request: (args) => ({ @@ -271,41 +287,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "lock_downs_id": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-id", - "description": "The unique identifier of the Zone Lockdown rule." - }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "lock_downs_id": { + "$ref": "#/$defs/firewall_lockdowns_components-schemas-id", + "description": "The unique identifier of the Zone Lockdown rule." + }, + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "lock_downs_id" + ], + "type": "object" } }, required: [ - "zone_id", - "lock_downs_id" + "path" ], $defs: { "firewall_identifier": firewall_identifier, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id$, }, }, outputSchema: { "$ref": "#/$defs/firewall_zonelockdown_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_configurations": firewall_configurations_output, - "firewall_created_on": firewall_created_on_output, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, - "firewall_messages": firewall_messages_output, - "firewall_modified_on": firewall_modified_on_output, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, - "firewall_schemas-urls": firewall_schemas_urls_output, - "firewall_zonelockdown": firewall_zonelockdown_output, - "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_configurations": firewall_configurations, + "firewall_created_on": firewall_created_on, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, + "firewall_messages": firewall_messages, + "firewall_modified_on": firewall_modified_on, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, + "firewall_schemas-paused": firewall_schemas$$paused, + "firewall_schemas-urls": firewall_schemas$$urls, + "firewall_zonelockdown": firewall_zonelockdown, + "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, }, }, annotations: { @@ -339,21 +363,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_configurations": firewall_configurations_output, - "firewall_created_on": firewall_created_on_output, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, - "firewall_messages": firewall_messages_output, - "firewall_modified_on": firewall_modified_on_output, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, - "firewall_schemas-urls": firewall_schemas_urls_output, - "firewall_zonelockdown": firewall_zonelockdown_output, - "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_configurations": firewall_configurations, + "firewall_created_on": firewall_created_on, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, + "firewall_messages": firewall_messages, + "firewall_modified_on": firewall_modified_on, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, + "firewall_schemas-paused": firewall_schemas$$paused, + "firewall_schemas-urls": firewall_schemas$$urls, + "firewall_zonelockdown": firewall_zonelockdown, + "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, }, }, request: (args) => ({ @@ -367,83 +391,96 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "created_on": { - "description": "The timestamp of when the rule was created.", - "format": "date-time", - "type": "string" - }, - "description": { - "$ref": "#/$defs/firewall_schemas-description_search" - }, - "description_search": { - "description": "A string to search for in the description of existing rules.", - "type": "string" - }, - "ip": { - "$ref": "#/$defs/firewall_ip_search" - }, - "ip_range_search": { - "$ref": "#/$defs/firewall_ip_range_search" - }, - "ip_search": { - "description": "A single IP address to search for in existing rules.", - "type": "string" - }, - "modified_on": { - "$ref": "#/$defs/firewall_modified_on" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "The maximum number of results per page. You can only set the value to `1` or to a multiple of 5 such as `5`, `10`, `15`, or `20`.", - "type": "number" - }, - "priority": { - "$ref": "#/$defs/firewall_schemas-priority" - }, - "uri_search": { - "$ref": "#/$defs/firewall_uri_search" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "query": { + "properties": { + "created_on": { + "description": "The timestamp of when the rule was created.", + "format": "date-time", + "type": "string" + }, + "description": { + "$ref": "#/$defs/firewall_schemas-description_search" + }, + "description_search": { + "description": "A string to search for in the description of existing rules.", + "type": "string" + }, + "ip": { + "$ref": "#/$defs/firewall_ip_search" + }, + "ip_range_search": { + "$ref": "#/$defs/firewall_ip_range_search" + }, + "ip_search": { + "description": "A single IP address to search for in existing rules.", + "type": "string" + }, + "modified_on": { + "$ref": "#/$defs/firewall_modified_on" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "The maximum number of results per page. You can only set the value to `1` or to a multiple of 5 such as `5`, `10`, `15`, or `20`.", + "type": "number" + }, + "priority": { + "$ref": "#/$defs/firewall_schemas-priority" + }, + "uri_search": { + "$ref": "#/$defs/firewall_uri_search" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "firewall_identifier": firewall_identifier, "firewall_ip_range_search": firewall_ip_range_search, "firewall_ip_search": firewall_ip_search, - "firewall_modified_on": firewall_modified_on, - "firewall_schemas-description_search": firewall_schemas_description_search, - "firewall_schemas-priority": firewall_schemas_priority, + "firewall_modified_on": firewall_modified_on$, + "firewall_schemas-description_search": firewall_schemas$$description_search, + "firewall_schemas-priority": firewall_schemas$$priority, "firewall_uri_search": firewall_uri_search, }, }, outputSchema: { "$ref": "#/$defs/firewall_zonelockdown_response_collection", $defs: { - "firewall_api-response-collection": firewall_api_response_collection_output, - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_configurations": firewall_configurations_output, - "firewall_created_on": firewall_created_on_output, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, - "firewall_messages": firewall_messages_output, - "firewall_modified_on": firewall_modified_on_output, - "firewall_result_info": firewall_result_info_output, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, - "firewall_schemas-urls": firewall_schemas_urls_output, - "firewall_zonelockdown": firewall_zonelockdown_output, - "firewall_zonelockdown_response_collection": firewall_zonelockdown_response_collection_output, + "firewall_api-response-collection": firewall_api$$response$$collection, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_configurations": firewall_configurations, + "firewall_created_on": firewall_created_on, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, + "firewall_messages": firewall_messages, + "firewall_modified_on": firewall_modified_on, + "firewall_result_info": firewall_result_info, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, + "firewall_schemas-paused": firewall_schemas$$paused, + "firewall_schemas-urls": firewall_schemas$$urls, + "firewall_zonelockdown": firewall_zonelockdown, + "firewall_zonelockdown_response_collection": firewall_zonelockdown_response_collection, }, }, annotations: { @@ -477,38 +514,38 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-collection": firewall_api_response_collection_output, - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_configurations": firewall_configurations_output, - "firewall_created_on": firewall_created_on_output, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, - "firewall_messages": firewall_messages_output, - "firewall_modified_on": firewall_modified_on_output, - "firewall_result_info": firewall_result_info_output, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, - "firewall_schemas-urls": firewall_schemas_urls_output, - "firewall_zonelockdown": firewall_zonelockdown_output, - "firewall_zonelockdown_response_collection": firewall_zonelockdown_response_collection_output, + "firewall_api-response-collection": firewall_api$$response$$collection, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_configurations": firewall_configurations, + "firewall_created_on": firewall_created_on, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, + "firewall_messages": firewall_messages, + "firewall_modified_on": firewall_modified_on, + "firewall_result_info": firewall_result_info, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, + "firewall_schemas-paused": firewall_schemas$$paused, + "firewall_schemas-urls": firewall_schemas$$urls, + "firewall_zonelockdown": firewall_zonelockdown, + "firewall_zonelockdown_response_collection": firewall_zonelockdown_response_collection, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/lockdowns`, query: [ - ["page", args["page"], true], - ["description", args["description"], true], - ["modified_on", args["modified_on"], true], - ["ip", args["ip"], true], - ["priority", args["priority"], true], - ["uri_search", args["uri_search"], true], - ["ip_range_search", args["ip_range_search"], true], - ["per_page", args["per_page"], true], - ["created_on", args["created_on"], true], - ["description_search", args["description_search"], true], - ["ip_search", args["ip_search"], true], + ["page", param(args, "query", "page"), true], + ["description", param(args, "query", "description"), true], + ["modified_on", param(args, "query", "modified_on"), true], + ["ip", param(args, "query", "ip"), true], + ["priority", param(args, "query", "priority"), true], + ["uri_search", param(args, "query", "uri_search"), true], + ["ip_range_search", param(args, "query", "ip_range_search"), true], + ["per_page", param(args, "query", "per_page"), true], + ["created_on", param(args, "query", "created_on"), true], + ["description_search", param(args, "query", "description_search"), true], + ["ip_search", param(args, "query", "ip_search"), true], ], }), }, @@ -536,46 +573,54 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "lock_downs_id": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-id", - "description": "The unique identifier of the Zone Lockdown rule." - }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "lock_downs_id": { + "$ref": "#/$defs/firewall_lockdowns_components-schemas-id", + "description": "The unique identifier of the Zone Lockdown rule." + }, + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "lock_downs_id" + ], + "type": "object" } }, required: [ - "zone_id", - "lock_downs_id", + "path", "body" ], $defs: { - "firewall_configurations": firewall_configurations, + "firewall_configurations": firewall_configurations$, "firewall_identifier": firewall_identifier, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id$, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration$, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration$, "firewall_urls": firewall_urls, }, }, outputSchema: { "$ref": "#/$defs/firewall_zonelockdown_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_configurations": firewall_configurations_output, - "firewall_created_on": firewall_created_on_output, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, - "firewall_messages": firewall_messages_output, - "firewall_modified_on": firewall_modified_on_output, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, - "firewall_schemas-urls": firewall_schemas_urls_output, - "firewall_zonelockdown": firewall_zonelockdown_output, - "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_configurations": firewall_configurations, + "firewall_created_on": firewall_created_on, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, + "firewall_messages": firewall_messages, + "firewall_modified_on": firewall_modified_on, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, + "firewall_schemas-paused": firewall_schemas$$paused, + "firewall_schemas-urls": firewall_schemas$$urls, + "firewall_zonelockdown": firewall_zonelockdown, + "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, }, }, annotations: { @@ -608,21 +653,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_configurations": firewall_configurations_output, - "firewall_created_on": firewall_created_on_output, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components_schemas_description_output, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components_schemas_id_output, - "firewall_messages": firewall_messages_output, - "firewall_modified_on": firewall_modified_on_output, - "firewall_schemas-cidr_configuration": firewall_schemas_cidr_configuration_output, - "firewall_schemas-ip_configuration": firewall_schemas_ip_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, - "firewall_schemas-urls": firewall_schemas_urls_output, - "firewall_zonelockdown": firewall_zonelockdown_output, - "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_configurations": firewall_configurations, + "firewall_created_on": firewall_created_on, + "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, + "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, + "firewall_messages": firewall_messages, + "firewall_modified_on": firewall_modified_on, + "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, + "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, + "firewall_schemas-paused": firewall_schemas$$paused, + "firewall_schemas-urls": firewall_schemas$$urls, + "firewall_zonelockdown": firewall_zonelockdown, + "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/firewall/outputs.ts b/src/generated/forge-mcp/firewall/outputs.ts index 88cdd0d25..f8b868ee1 100644 --- a/src/generated/forge-mcp/firewall/outputs.ts +++ b/src/generated/forge-mcp/firewall/outputs.ts @@ -6,13 +6,13 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `firewall_identifier` in responses. */ -export const firewall_identifier_output: JsonSchema = { +export const firewall_identifier: JsonSchema = { "type": "string" }; /** * The schema of `firewall_schemas-paused` in responses. */ -export const firewall_schemas_paused_output: JsonSchema = { +export const firewall_schemas$$paused: JsonSchema = { "type": "boolean" }; diff --git a/src/generated/forge-mcp/firewall/payloadLogging/outputs.ts b/src/generated/forge-mcp/firewall/payloadLogging/outputs.ts index 308bbd0da..4f49cb593 100644 --- a/src/generated/forge-mcp/firewall/payloadLogging/outputs.ts +++ b/src/generated/forge-mcp/firewall/payloadLogging/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `firewall_payload_logging_key` in responses. */ -export const firewall_payload_logging_key_output: JsonSchema = { +export const firewall_payload_logging_key: JsonSchema = { "properties": { "public_key": { "type": "string" @@ -21,7 +21,7 @@ export const firewall_payload_logging_key_output: JsonSchema = { /** * The schema of `firewall_payload_logging_key_response_single` in responses. */ -export const firewall_payload_logging_key_response_single_output: JsonSchema = { +export const firewall_payload_logging_key_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-common" diff --git a/src/generated/forge-mcp/firewall/payloadLogging/tools.ts b/src/generated/forge-mcp/firewall/payloadLogging/tools.ts index 20aa29d82..9fe4adbb6 100644 --- a/src/generated/forge-mcp/firewall/payloadLogging/tools.ts +++ b/src/generated/forge-mcp/firewall/payloadLogging/tools.ts @@ -3,44 +3,52 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - firewall_api_response_common_failure_output, - firewall_api_response_common_output, - firewall_messages_output, + firewall_api$$response$$common, + firewall_api$$response$$common$$failure, + firewall_messages, } from "../../outputs.js"; import { firewall_account_identifier } from "../schemas.js"; import { - firewall_payload_logging_key_output, - firewall_payload_logging_key_response_single_output, + firewall_payload_logging_key, + firewall_payload_logging_key_response_single, } from "./outputs.js"; -import { firewall_payload_logging_key } from "./schemas.js"; +import { firewall_payload_logging_key as firewall_payload_logging_key$ } from "./schemas.js"; /** - * The tools of `firewall.payload_logging`. + * The tools of `firewall.payloadLogging`. */ export const tools: readonly Tool[] = [ { - name: "firewall_payload_logging_delete", + name: "firewall_payloadLogging_delete", title: "Delete the payload logging key", description: "Deletes the payload logging public key of the account or zone.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/firewall_account_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "firewall_account_identifier": firewall_account_identifier, @@ -49,10 +57,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/firewall_payload_logging_key_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_messages": firewall_messages_output, - "firewall_payload_logging_key": firewall_payload_logging_key_output, - "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_messages": firewall_messages, + "firewall_payload_logging_key": firewall_payload_logging_key, + "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single, }, }, annotations: { @@ -82,11 +90,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_messages": firewall_messages_output, - "firewall_payload_logging_key": firewall_payload_logging_key_output, - "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_messages": firewall_messages, + "firewall_payload_logging_key": firewall_payload_logging_key, + "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single, }, }, request: (args) => ({ @@ -94,28 +102,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "firewall_payload_logging_get", + name: "firewall_payloadLogging_get", title: "Get the payload logging key", description: "Fetches the public key that payload logging uses to encrypt matched payloads for the account or zone.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/firewall_account_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "firewall_account_identifier": firewall_account_identifier, @@ -124,10 +140,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/firewall_payload_logging_key_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_messages": firewall_messages_output, - "firewall_payload_logging_key": firewall_payload_logging_key_output, - "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_messages": firewall_messages, + "firewall_payload_logging_key": firewall_payload_logging_key, + "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single, }, }, annotations: { @@ -157,11 +173,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_messages": firewall_messages_output, - "firewall_payload_logging_key": firewall_payload_logging_key_output, - "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_messages": firewall_messages, + "firewall_payload_logging_key": firewall_payload_logging_key, + "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single, }, }, request: (args) => ({ @@ -169,45 +185,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "firewall_payload_logging_update", + name: "firewall_payloadLogging_update", title: "Set the payload logging key", description: "Creates or replaces the public key that payload logging uses to encrypt matched payloads for the account or zone. It applies to every zone in the account or zone that has no zone key. Requires a plan that includes payload logging (Enterprise); otherwise it returns 403.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/firewall_payload_logging_key" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/firewall_account_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { "firewall_account_identifier": firewall_account_identifier, - "firewall_payload_logging_key": firewall_payload_logging_key, + "firewall_payload_logging_key": firewall_payload_logging_key$, }, }, outputSchema: { "$ref": "#/$defs/firewall_payload_logging_key_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_messages": firewall_messages_output, - "firewall_payload_logging_key": firewall_payload_logging_key_output, - "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_messages": firewall_messages, + "firewall_payload_logging_key": firewall_payload_logging_key, + "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single, }, }, annotations: { @@ -237,11 +261,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_messages": firewall_messages_output, - "firewall_payload_logging_key": firewall_payload_logging_key_output, - "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_messages": firewall_messages, + "firewall_payload_logging_key": firewall_payload_logging_key, + "firewall_payload_logging_key_response_single": firewall_payload_logging_key_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/firewall/schemas.ts b/src/generated/forge-mcp/firewall/schemas.ts index d8cc04b8f..e481693da 100644 --- a/src/generated/forge-mcp/firewall/schemas.ts +++ b/src/generated/forge-mcp/firewall/schemas.ts @@ -30,7 +30,7 @@ export const firewall_identifier: JsonSchema = { /** * The schema of `firewall_schemas-paused`. */ -export const firewall_schemas_paused: JsonSchema = { +export const firewall_schemas$$paused: JsonSchema = { "description": "When true, indicates that the rule is currently paused.", "type": "boolean" }; diff --git a/src/generated/forge-mcp/firewall/uaRules/outputs.ts b/src/generated/forge-mcp/firewall/uaRules/outputs.ts index c9fb718dc..6387666fa 100644 --- a/src/generated/forge-mcp/firewall/uaRules/outputs.ts +++ b/src/generated/forge-mcp/firewall/uaRules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `firewall_components-schemas-mode` in responses. */ -export const firewall_components_schemas_mode_output: JsonSchema = { +export const firewall_components$$schemas$$mode: JsonSchema = { "enum": [ "block", "challenge", @@ -19,14 +19,14 @@ export const firewall_components_schemas_mode_output: JsonSchema = { /** * The schema of `firewall_components-ua-rule-id` in responses. */ -export const firewall_components_ua_rule_id_output: JsonSchema = { +export const firewall_components$$ua$$rule$$id: JsonSchema = { "type": "string" }; /** * The schema of `firewall_firewalluablock` in responses. */ -export const firewall_firewalluablock_output: JsonSchema = { +export const firewall_firewalluablock: JsonSchema = { "properties": { "configuration": { "$ref": "#/$defs/firewall_schemas-configuration" @@ -51,14 +51,14 @@ export const firewall_firewalluablock_output: JsonSchema = { * The schema of `firewall_firewalluablock_components-schemas-description` in * responses. */ -export const firewall_firewalluablock_components_schemas_description_output: JsonSchema = { +export const firewall_firewalluablock_components$$schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `firewall_firewalluablock_response_collection` in responses. */ -export const firewall_firewalluablock_response_collection_output: JsonSchema = { +export const firewall_firewalluablock_response_collection: JsonSchema = { "allOf": [ { "properties": { @@ -80,7 +80,7 @@ export const firewall_firewalluablock_response_collection_output: JsonSchema = { /** * The schema of `firewall_firewalluablock_response_single` in responses. */ -export const firewall_firewalluablock_response_single_output: JsonSchema = { +export const firewall_firewalluablock_response_single: JsonSchema = { "allOf": [ { "properties": { @@ -99,7 +99,7 @@ export const firewall_firewalluablock_response_single_output: JsonSchema = { /** * The schema of `firewall_schemas-configuration` in responses. */ -export const firewall_schemas_configuration_output: JsonSchema = { +export const firewall_schemas$$configuration: JsonSchema = { "properties": { "target": { "type": "string" diff --git a/src/generated/forge-mcp/firewall/uaRules/schemas.ts b/src/generated/forge-mcp/firewall/uaRules/schemas.ts index d4a9b36c2..6e900a868 100644 --- a/src/generated/forge-mcp/firewall/uaRules/schemas.ts +++ b/src/generated/forge-mcp/firewall/uaRules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `firewall_components-ua-rule-id`. */ -export const firewall_components_ua_rule_id: JsonSchema = { +export const firewall_components$$ua$$rule$$id: JsonSchema = { "description": "The unique identifier of the User Agent Blocking rule.", "type": "string" }; diff --git a/src/generated/forge-mcp/firewall/uaRules/tools.ts b/src/generated/forge-mcp/firewall/uaRules/tools.ts index 5914a601c..f2220bb61 100644 --- a/src/generated/forge-mcp/firewall/uaRules/tools.ts +++ b/src/generated/forge-mcp/firewall/uaRules/tools.ts @@ -1,14 +1,14 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - firewall_api_response_collection_output, - firewall_api_response_common_failure_output, - firewall_api_response_common_output, - firewall_api_response_single_output, - firewall_messages_output, - firewall_result_info_output, + firewall_api$$response$$collection, + firewall_api$$response$$common, + firewall_api$$response$$common$$failure, + firewall_api$$response$$single, + firewall_messages, + firewall_result_info, } from "../../outputs.js"; import { firewall_asn_configuration, @@ -17,35 +17,35 @@ import { firewall_country_configuration, firewall_ip_configuration, firewall_ipv6_configuration, - firewall_schemas_mode, + firewall_schemas$$mode, } from "../../schemas.js"; -import { firewall_schemas_paused_output } from "../outputs.js"; +import { firewall_schemas$$paused } from "../outputs.js"; import { firewall_description, firewall_identifier, - firewall_schemas_paused, + firewall_schemas$$paused as firewall_schemas$$paused$, } from "../schemas.js"; import { - firewall_components_schemas_mode_output, - firewall_components_ua_rule_id_output, - firewall_firewalluablock_components_schemas_description_output, - firewall_firewalluablock_output, - firewall_firewalluablock_response_collection_output, - firewall_firewalluablock_response_single_output, - firewall_schemas_configuration_output, + firewall_components$$schemas$$mode, + firewall_components$$ua$$rule$$id, + firewall_firewalluablock, + firewall_firewalluablock_components$$schemas$$description, + firewall_firewalluablock_response_collection, + firewall_firewalluablock_response_single, + firewall_schemas$$configuration, } from "./outputs.js"; import { - firewall_components_ua_rule_id, + firewall_components$$ua$$rule$$id as firewall_components$$ua$$rule$$id$, firewall_description_search, firewall_ua_configuration, } from "./schemas.js"; /** - * The tools of `firewall.ua_rules`. + * The tools of `firewall.uaRules`. */ export const tools: readonly Tool[] = [ { - name: "firewall_ua_rules_create", + name: "firewall_uaRules_create", title: "Create a User Agent Blocking rule", description: "Creates a new User Agent Blocking rule in a zone.", inputSchema: { @@ -74,36 +74,44 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "firewall_description": firewall_description, "firewall_identifier": firewall_identifier, - "firewall_schemas-mode": firewall_schemas_mode, - "firewall_schemas-paused": firewall_schemas_paused, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-paused": firewall_schemas$$paused$, "firewall_ua_configuration": firewall_ua_configuration, }, }, outputSchema: { "$ref": "#/$defs/firewall_firewalluablock_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, + "firewall_messages": firewall_messages, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -136,17 +144,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, + "firewall_messages": firewall_messages, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ @@ -155,27 +163,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "firewall_ua_rules_delete", + name: "firewall_uaRules_delete", title: "Delete a User Agent Blocking rule", description: "Deletes an existing User Agent Blocking rule.\n\nConfirm with the user before calling this tool. This operation deletes the User Agent Blocking rule from the zone.", inputSchema: { type: "object", properties: { - "ua_rule_id": { - "$ref": "#/$defs/firewall_components-ua-rule-id", - "description": "The unique identifier of the User Agent Blocking rule." - }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "ua_rule_id": { + "$ref": "#/$defs/firewall_components-ua-rule-id", + "description": "The unique identifier of the User Agent Blocking rule." + }, + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "ua_rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "ua_rule_id" + "path" ], $defs: { - "firewall_components-ua-rule-id": firewall_components_ua_rule_id, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id$, "firewall_identifier": firewall_identifier, }, }, @@ -199,16 +215,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, + "firewall_messages": firewall_messages, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -258,17 +274,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, + "firewall_messages": firewall_messages, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ @@ -276,43 +292,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "firewall_ua_rules_get", + name: "firewall_uaRules_get", title: "Get a User Agent Blocking rule", description: "Fetches the details of a User Agent Blocking rule.", inputSchema: { type: "object", properties: { - "ua_rule_id": { - "$ref": "#/$defs/firewall_components-ua-rule-id", - "description": "The unique identifier of the User Agent Blocking rule." - }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "ua_rule_id": { + "$ref": "#/$defs/firewall_components-ua-rule-id", + "description": "The unique identifier of the User Agent Blocking rule." + }, + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "ua_rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "ua_rule_id" + "path" ], $defs: { - "firewall_components-ua-rule-id": firewall_components_ua_rule_id, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id$, "firewall_identifier": firewall_identifier, }, }, outputSchema: { "$ref": "#/$defs/firewall_firewalluablock_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, + "firewall_messages": firewall_messages, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -346,17 +370,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, + "firewall_messages": firewall_messages, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ @@ -364,40 +388,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "firewall_ua_rules_list", + name: "firewall_uaRules_list", title: "List User Agent Blocking rules", description: "Fetches User Agent Blocking rules in a zone. You can filter the results using several optional parameters.", inputSchema: { type: "object", properties: { - "description": { - "$ref": "#/$defs/firewall_description_search" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "paused": { - "description": "When true, indicates that the rule is currently paused.", - "type": "boolean" - }, - "per_page": { - "default": 20, - "description": "The maximum number of results per page. You can only set the value to `1` or to a multiple of 5 such as `5`, `10`, `15`, or `20`.", - "type": "number" - }, - "user_agent": { - "description": "A string to search for in the user agent values of existing rules.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "query": { + "properties": { + "description": { + "$ref": "#/$defs/firewall_description_search" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "paused": { + "description": "When true, indicates that the rule is currently paused.", + "type": "boolean" + }, + "per_page": { + "default": 20, + "description": "The maximum number of results per page. You can only set the value to `1` or to a multiple of 5 such as `5`, `10`, `15`, or `20`.", + "type": "number" + }, + "user_agent": { + "description": "A string to search for in the user agent values of existing rules.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "firewall_description_search": firewall_description_search, @@ -407,17 +444,17 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/firewall_firewalluablock_response_collection", $defs: { - "firewall_api-response-collection": firewall_api_response_collection_output, - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_collection": firewall_firewalluablock_response_collection_output, - "firewall_messages": firewall_messages_output, - "firewall_result_info": firewall_result_info_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-collection": firewall_api$$response$$collection, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_collection": firewall_firewalluablock_response_collection, + "firewall_messages": firewall_messages, + "firewall_result_info": firewall_result_info, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -451,33 +488,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-collection": firewall_api_response_collection_output, - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_collection": firewall_firewalluablock_response_collection_output, - "firewall_messages": firewall_messages_output, - "firewall_result_info": firewall_result_info_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-collection": firewall_api$$response$$collection, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_collection": firewall_firewalluablock_response_collection, + "firewall_messages": firewall_messages, + "firewall_result_info": firewall_result_info, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/firewall/ua_rules`, query: [ - ["page", args["page"], true], - ["description", args["description"], true], - ["per_page", args["per_page"], true], - ["user_agent", args["user_agent"], true], - ["paused", args["paused"], true], + ["page", param(args, "query", "page"), true], + ["description", param(args, "query", "description"), true], + ["per_page", param(args, "query", "per_page"), true], + ["user_agent", param(args, "query", "user_agent"), true], + ["paused", param(args, "query", "paused"), true], ], }), }, { - name: "firewall_ua_rules_update", + name: "firewall_uaRules_update", title: "Update a User Agent Blocking rule", description: "Updates an existing User Agent Blocking rule.", inputSchema: { @@ -507,47 +544,55 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "ua_rule_id": { - "$ref": "#/$defs/firewall_components-ua-rule-id", - "description": "The unique identifier of the User Agent Blocking rule." - }, - "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "ua_rule_id": { + "$ref": "#/$defs/firewall_components-ua-rule-id", + "description": "The unique identifier of the User Agent Blocking rule." + }, + "zone_id": { + "$ref": "#/$defs/firewall_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "ua_rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "ua_rule_id", + "path", "body" ], $defs: { "firewall_asn_configuration": firewall_asn_configuration, "firewall_cidr_configuration": firewall_cidr_configuration, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id$, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, "firewall_description": firewall_description, "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, - "firewall_schemas-mode": firewall_schemas_mode, - "firewall_schemas-paused": firewall_schemas_paused, + "firewall_schemas-mode": firewall_schemas$$mode, + "firewall_schemas-paused": firewall_schemas$$paused$, }, }, outputSchema: { "$ref": "#/$defs/firewall_firewalluablock_response_single", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, + "firewall_messages": firewall_messages, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -580,17 +625,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_components-schemas-mode": firewall_components_schemas_mode_output, - "firewall_components-ua-rule-id": firewall_components_ua_rule_id_output, - "firewall_firewalluablock": firewall_firewalluablock_output, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components_schemas_description_output, - "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_schemas-configuration": firewall_schemas_configuration_output, - "firewall_schemas-paused": firewall_schemas_paused_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_components-schemas-mode": firewall_components$$schemas$$mode, + "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, + "firewall_firewalluablock": firewall_firewalluablock, + "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, + "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, + "firewall_messages": firewall_messages, + "firewall_schemas-configuration": firewall_schemas$$configuration, + "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts b/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts index 21afa4f35..6884332e0 100644 --- a/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts +++ b/src/generated/forge-mcp/flagship/apps/definitions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `flagship_EvaluationRule` in responses. */ -export const flagship_EvaluationRule_output: JsonSchema = { +export const flagship_EvaluationRule: JsonSchema = { "properties": { "conditions": { "items": { @@ -42,7 +42,7 @@ export const flagship_EvaluationRule_output: JsonSchema = { /** * The schema of `flagship_FlagDefinitions` in responses. */ -export const flagship_FlagDefinitions_output: JsonSchema = { +export const flagship_FlagDefinitions: JsonSchema = { "properties": { "flags": { "additionalProperties": { diff --git a/src/generated/forge-mcp/flagship/apps/definitions/tools.ts b/src/generated/forge-mcp/flagship/apps/definitions/tools.ts index 47088f73f..b568e70e1 100644 --- a/src/generated/forge-mcp/flagship/apps/definitions/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/definitions/tools.ts @@ -1,24 +1,24 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.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, + 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 "../outputs.js"; import { - flagship_EvaluationRule_output, - flagship_FlagDefinitions_output, + flagship_EvaluationRule, + flagship_FlagDefinitions, } from "./outputs.js"; /** @@ -32,41 +32,54 @@ export const tools: readonly Tool[] = [ 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" + "headers": { + "properties": { + "If-None-Match": { + "description": "Previously returned ETag, or `*`.", + "type": "string" + } + }, + "type": "object" }, - "if_none_match": { - "description": "Previously returned ETag, or `*`.", - "type": "string" + "path": { + "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" + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], }, 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_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, + "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_EvaluationRule": flagship_EvaluationRule, + "flagship_FlagDefinitions": flagship_FlagDefinitions, + "flagship_JsonValue": flagship_JsonValue, + "flagship_LogicalCondition": flagship_LogicalCondition, + "flagship_LogicalCondition1": flagship_LogicalCondition1, + "flagship_LogicalCondition2": flagship_LogicalCondition2, + "flagship_LogicalCondition3": flagship_LogicalCondition3, + "flagship_LogicalCondition4": flagship_LogicalCondition4, }, }, annotations: { @@ -193,26 +206,26 @@ 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_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, + "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_EvaluationRule": flagship_EvaluationRule, + "flagship_FlagDefinitions": flagship_FlagDefinitions, + "flagship_JsonValue": flagship_JsonValue, + "flagship_LogicalCondition": flagship_LogicalCondition, + "flagship_LogicalCondition1": flagship_LogicalCondition1, + "flagship_LogicalCondition2": flagship_LogicalCondition2, + "flagship_LogicalCondition3": flagship_LogicalCondition3, + "flagship_LogicalCondition4": flagship_LogicalCondition4, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/definitions`, headers: [ - ["If-None-Match", args["if_none_match"]], + ["If-None-Match", param(args, "headers", "If-None-Match")], ], }), }, diff --git a/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts b/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts index 5ab8724fc..a2944d460 100644 --- a/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts @@ -1,13 +1,13 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - flagship_ApiMessage_output, - flagship_Error_output, - flagship_EvaluationError_output, - flagship_EvaluationResult_output, - flagship_JsonValue_output, + flagship_ApiMessage, + flagship_Error, + flagship_EvaluationError, + flagship_EvaluationResult, + flagship_JsonValue, } from "../outputs.js"; /** @@ -21,34 +21,50 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID that owns the Flagship app.", - "type": "string" + "path": { + "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" + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" }, - "app_id": { - "description": "Flagship app ID returned when the app was created.", - "type": "string" - }, - "flag_key": { - "description": "The flag key to evaluate.", - "type": "string" - }, - "targeting_key": { - "description": "Context targeting key (per OpenFeature spec); used for percentage rollout bucketing.", - "type": "string" + "query": { + "properties": { + "flagKey": { + "description": "The flag key to evaluate.", + "type": "string" + }, + "targetingKey": { + "description": "Context targeting key (per OpenFeature spec); used for percentage rollout bucketing.", + "type": "string" + } + }, + "required": [ + "flagKey" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "flag_key" + "path", + "query" ], }, outputSchema: { "$ref": "#/$defs/flagship_EvaluationResult", $defs: { - "flagship_EvaluationResult": flagship_EvaluationResult_output, - "flagship_JsonValue": flagship_JsonValue_output, + "flagship_EvaluationResult": flagship_EvaluationResult, + "flagship_JsonValue": flagship_JsonValue, }, }, annotations: { @@ -103,18 +119,18 @@ export const tools: readonly Tool[] = [ } }, $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, + "flagship_ApiMessage": flagship_ApiMessage, + "flagship_Error": flagship_Error, + "flagship_EvaluationError": flagship_EvaluationError, + "flagship_EvaluationResult": flagship_EvaluationResult, + "flagship_JsonValue": flagship_JsonValue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/evaluate`, query: [ - ["flagKey", args["flag_key"], true], - ["targetingKey", args["targeting_key"], true], + ["flagKey", param(args, "query", "flagKey"), true], + ["targetingKey", param(args, "query", "targetingKey"), true], ], }), }, diff --git a/src/generated/forge-mcp/flagship/apps/flags/changelog/outputs.ts b/src/generated/forge-mcp/flagship/apps/flags/changelog/outputs.ts index 62906cbe0..5a6b55bad 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/changelog/outputs.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/changelog/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `flagship_ChangelogEntry` in responses. */ -export const flagship_ChangelogEntry_output: JsonSchema = { +export const flagship_ChangelogEntry: JsonSchema = { "oneOf": [ { "properties": { @@ -95,7 +95,7 @@ export const flagship_ChangelogEntry_output: JsonSchema = { /** * The schema of `flagship_ChangelogPage` in responses. */ -export const flagship_ChangelogPage_output: JsonSchema = { +export const flagship_ChangelogPage: JsonSchema = { "items": { "$ref": "#/$defs/flagship_ChangelogEntry" }, 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 c6052b933..14059cb9b 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts @@ -1,32 +1,29 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, 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, + flagship_ApiMessage, + flagship_BaseCondition, + flagship_Condition, + flagship_Condition1, + flagship_Condition2, + flagship_Condition3, + flagship_Condition4, + flagship_Error, + flagship_JsonValue, + flagship_LogicalCondition, + flagship_LogicalCondition1, + flagship_LogicalCondition2, + flagship_LogicalCondition3, + flagship_LogicalCondition4, } from "../../outputs.js"; import { - flagship_Flag_output, - flagship_ResultInfo_output, - flagship_Rule_output, + flagship_Flag, + flagship_ResultInfo, + flagship_Rule, } from "../outputs.js"; -import { - flagship_ChangelogEntry_output, - flagship_ChangelogPage_output, -} from "./outputs.js"; +import { flagship_ChangelogEntry, flagship_ChangelogPage } from "./outputs.js"; /** * The tools of `flagship.apps.flags.changelog`. @@ -39,31 +36,44 @@ export const tools: readonly Tool[] = [ 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" - }, - "cursor": { - "description": "Pagination cursor from a previous response.", - "type": "string" - }, - "flag_key": { - "description": "Case-sensitive key identifying the flag within the app.", - "type": "string" + "path": { + "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" + }, + "flag_key": { + "description": "Case-sensitive key identifying the flag within the app.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "flag_key" + ], + "type": "object" }, - "limit": { - "description": "Max items to return (1–200).", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from a previous response.", + "type": "string" + }, + "limit": { + "description": "Max items to return (1–200).", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "flag_key" + "path" ], }, outputSchema: { @@ -115,23 +125,23 @@ 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_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_BaseCondition": flagship_BaseCondition, + "flagship_ChangelogEntry": flagship_ChangelogEntry, + "flagship_ChangelogPage": flagship_ChangelogPage, + "flagship_Condition": flagship_Condition, + "flagship_Condition1": flagship_Condition1, + "flagship_Condition2": flagship_Condition2, + "flagship_Condition3": flagship_Condition3, + "flagship_Condition4": flagship_Condition4, + "flagship_Flag": flagship_Flag, + "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_ResultInfo": flagship_ResultInfo, + "flagship_Rule": flagship_Rule, }, }, annotations: { @@ -231,32 +241,32 @@ 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_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_ApiMessage": flagship_ApiMessage, + "flagship_BaseCondition": flagship_BaseCondition, + "flagship_ChangelogEntry": flagship_ChangelogEntry, + "flagship_ChangelogPage": flagship_ChangelogPage, + "flagship_Condition": flagship_Condition, + "flagship_Condition1": flagship_Condition1, + "flagship_Condition2": flagship_Condition2, + "flagship_Condition3": flagship_Condition3, + "flagship_Condition4": flagship_Condition4, + "flagship_Error": flagship_Error, + "flagship_Flag": flagship_Flag, + "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_ResultInfo": flagship_ResultInfo, + "flagship_Rule": flagship_Rule, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/flags/${pathParam(args, "flag_key")}/changelog`, query: [ - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/flagship/apps/flags/outputs.ts b/src/generated/forge-mcp/flagship/apps/flags/outputs.ts index e6bc57e06..eef7cd0dd 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/outputs.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `flagship_DeleteFlagResult` in responses. */ -export const flagship_DeleteFlagResult_output: JsonSchema = { +export const flagship_DeleteFlagResult: JsonSchema = { "properties": { "key": { "type": "string" @@ -21,7 +21,7 @@ export const flagship_DeleteFlagResult_output: JsonSchema = { /** * The schema of `flagship_Flag` in responses. */ -export const flagship_Flag_output: JsonSchema = { +export const flagship_Flag: JsonSchema = { "properties": { "default_variation": { "type": "string" @@ -100,7 +100,7 @@ export const flagship_Flag_output: JsonSchema = { /** * The schema of `flagship_FlagsPage` in responses. */ -export const flagship_FlagsPage_output: JsonSchema = { +export const flagship_FlagsPage: JsonSchema = { "items": { "$ref": "#/$defs/flagship_Flag" }, @@ -110,7 +110,7 @@ export const flagship_FlagsPage_output: JsonSchema = { /** * The schema of `flagship_ResultInfo` in responses. */ -export const flagship_ResultInfo_output: JsonSchema = { +export const flagship_ResultInfo: JsonSchema = { "properties": { "count": { "type": "integer" @@ -136,7 +136,7 @@ export const flagship_ResultInfo_output: JsonSchema = { /** * The schema of `flagship_Rule` in responses. */ -export const flagship_Rule_output: JsonSchema = { +export const flagship_Rule: JsonSchema = { "properties": { "conditions": { "items": { diff --git a/src/generated/forge-mcp/flagship/apps/flags/tools.ts b/src/generated/forge-mcp/flagship/apps/flags/tools.ts index b3ef855aa..a12f59bda 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/tools.ts @@ -1,47 +1,47 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -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 { type Tool, param, pathParam } from "../../../_/tool.js"; import { + flagship_ApiMessage, flagship_BaseCondition, flagship_Condition, flagship_Condition1, flagship_Condition2, flagship_Condition3, flagship_Condition4, + flagship_Error, + flagship_EvaluationError, + flagship_EvaluationResult, flagship_JsonValue, flagship_LogicalCondition, flagship_LogicalCondition1, flagship_LogicalCondition2, flagship_LogicalCondition3, flagship_LogicalCondition4, +} from "../outputs.js"; +import { + flagship_BaseCondition as flagship_BaseCondition$, + flagship_Condition as flagship_Condition$, + flagship_Condition1 as flagship_Condition1$, + flagship_Condition2 as flagship_Condition2$, + flagship_Condition3 as flagship_Condition3$, + flagship_Condition4 as flagship_Condition4$, + flagship_JsonValue as flagship_JsonValue$, + flagship_LogicalCondition as flagship_LogicalCondition$, + flagship_LogicalCondition1 as flagship_LogicalCondition1$, + flagship_LogicalCondition2 as flagship_LogicalCondition2$, + flagship_LogicalCondition3 as flagship_LogicalCondition3$, + flagship_LogicalCondition4 as flagship_LogicalCondition4$, } from "../schemas.js"; import { - flagship_DeleteFlagResult_output, - flagship_Flag_output, - flagship_FlagsPage_output, - flagship_ResultInfo_output, - flagship_Rule_output, + flagship_DeleteFlagResult, + flagship_Flag, + flagship_FlagsPage, + flagship_ResultInfo, + flagship_Rule, } from "./outputs.js"; -import { flagship_Rule } from "./schemas.js"; +import { flagship_Rule as flagship_Rule$ } from "./schemas.js"; /** * The tools of `flagship.apps.flags`. @@ -54,14 +54,6 @@ export const tools: readonly Tool[] = [ 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": { @@ -145,27 +137,43 @@ export const tools: readonly Tool[] = [ "variations" ], "type": "object" + }, + "path": { + "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" + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "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_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$, }, }, outputSchema: { @@ -213,20 +221,20 @@ 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_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_BaseCondition": flagship_BaseCondition, + "flagship_Condition": flagship_Condition, + "flagship_Condition1": flagship_Condition1, + "flagship_Condition2": flagship_Condition2, + "flagship_Condition3": flagship_Condition3, + "flagship_Condition4": flagship_Condition4, + "flagship_Flag": flagship_Flag, + "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, }, }, annotations: { @@ -321,22 +329,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_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_ApiMessage": flagship_ApiMessage, + "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_Error": flagship_Error, + "flagship_Flag": flagship_Flag, + "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, }, }, request: (args) => ({ @@ -351,23 +359,31 @@ export const tools: readonly Tool[] = [ 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" - }, - "flag_key": { - "description": "Case-sensitive key identifying the flag within the app.", - "type": "string" + "path": { + "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" + }, + "flag_key": { + "description": "Case-sensitive key identifying the flag within the app.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "flag_key" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "flag_key" + "path" ], }, outputSchema: { @@ -415,7 +431,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "flagship_DeleteFlagResult": flagship_DeleteFlagResult_output, + "flagship_DeleteFlagResult": flagship_DeleteFlagResult, }, }, annotations: { @@ -510,9 +526,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "flagship_ApiMessage": flagship_ApiMessage_output, - "flagship_DeleteFlagResult": flagship_DeleteFlagResult_output, - "flagship_Error": flagship_Error_output, + "flagship_ApiMessage": flagship_ApiMessage, + "flagship_DeleteFlagResult": flagship_DeleteFlagResult, + "flagship_Error": flagship_Error, }, }, request: (args) => ({ @@ -526,14 +542,6 @@ export const tools: readonly Tool[] = [ 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": { "context": { @@ -553,22 +561,38 @@ export const tools: readonly Tool[] = [ "flagKey" ], "type": "object" + }, + "path": { + "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" + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "body" ], $defs: { - "flagship_JsonValue": flagship_JsonValue, + "flagship_JsonValue": flagship_JsonValue$, }, }, outputSchema: { "$ref": "#/$defs/flagship_EvaluationResult", $defs: { - "flagship_EvaluationResult": flagship_EvaluationResult_output, - "flagship_JsonValue": flagship_JsonValue_output, + "flagship_EvaluationResult": flagship_EvaluationResult, + "flagship_JsonValue": flagship_JsonValue, }, }, annotations: { @@ -623,11 +647,11 @@ export const tools: readonly Tool[] = [ } }, $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, + "flagship_ApiMessage": flagship_ApiMessage, + "flagship_Error": flagship_Error, + "flagship_EvaluationError": flagship_EvaluationError, + "flagship_EvaluationResult": flagship_EvaluationResult, + "flagship_JsonValue": flagship_JsonValue, }, }, request: (args) => ({ @@ -642,23 +666,31 @@ export const tools: readonly Tool[] = [ 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" - }, - "flag_key": { - "description": "Case-sensitive key identifying the flag within the app.", - "type": "string" + "path": { + "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" + }, + "flag_key": { + "description": "Case-sensitive key identifying the flag within the app.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "flag_key" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "flag_key" + "path" ], }, outputSchema: { @@ -706,20 +738,20 @@ 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_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_BaseCondition": flagship_BaseCondition, + "flagship_Condition": flagship_Condition, + "flagship_Condition1": flagship_Condition1, + "flagship_Condition2": flagship_Condition2, + "flagship_Condition3": flagship_Condition3, + "flagship_Condition4": flagship_Condition4, + "flagship_Flag": flagship_Flag, + "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, }, }, annotations: { @@ -815,22 +847,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_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_ApiMessage": flagship_ApiMessage, + "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_Error": flagship_Error, + "flagship_Flag": flagship_Flag, + "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, }, }, request: (args) => ({ @@ -844,26 +876,39 @@ export const tools: readonly Tool[] = [ 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" - }, - "cursor": { - "description": "Pagination cursor from a previous response.", - "type": "string" + "path": { + "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" + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" }, - "limit": { - "description": "Max items to return (1–200).", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from a previous response.", + "type": "string" + }, + "limit": { + "description": "Max items to return (1–200).", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], }, outputSchema: { @@ -915,22 +960,22 @@ 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_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_BaseCondition": flagship_BaseCondition, + "flagship_Condition": flagship_Condition, + "flagship_Condition1": flagship_Condition1, + "flagship_Condition2": flagship_Condition2, + "flagship_Condition3": flagship_Condition3, + "flagship_Condition4": flagship_Condition4, + "flagship_Flag": flagship_Flag, + "flagship_FlagsPage": flagship_FlagsPage, + "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_ResultInfo": flagship_ResultInfo, + "flagship_Rule": flagship_Rule, }, }, annotations: { @@ -1030,31 +1075,31 @@ 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_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_ApiMessage": flagship_ApiMessage, + "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_Error": flagship_Error, + "flagship_Flag": flagship_Flag, + "flagship_FlagsPage": flagship_FlagsPage, + "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_ResultInfo": flagship_ResultInfo, + "flagship_Rule": flagship_Rule, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/flagship/apps/${pathParam(args, "app_id")}/flags`, query: [ - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, @@ -1065,14 +1110,6 @@ export const tools: readonly Tool[] = [ 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": { @@ -1121,15 +1158,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "flag_key": { - "description": "Case-sensitive key identifying the flag within the app.", - "type": "string" + "path": { + "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" + }, + "flag_key": { + "description": "Case-sensitive key identifying the flag within the app.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "flag_key" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "flag_key", + "path", "body" ], }, @@ -1178,20 +1231,20 @@ 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_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_BaseCondition": flagship_BaseCondition, + "flagship_Condition": flagship_Condition, + "flagship_Condition1": flagship_Condition1, + "flagship_Condition2": flagship_Condition2, + "flagship_Condition3": flagship_Condition3, + "flagship_Condition4": flagship_Condition4, + "flagship_Flag": flagship_Flag, + "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, }, }, annotations: { @@ -1286,22 +1339,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_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_ApiMessage": flagship_ApiMessage, + "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_Error": flagship_Error, + "flagship_Flag": flagship_Flag, + "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, }, }, request: (args) => ({ @@ -1316,14 +1369,6 @@ export const tools: readonly Tool[] = [ 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": { @@ -1408,31 +1453,47 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "flag_key": { - "description": "Case-sensitive key identifying the flag within the app.", - "type": "string" + "path": { + "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" + }, + "flag_key": { + "description": "Case-sensitive key identifying the flag within the app.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "flag_key" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "flag_key", + "path", "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_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$, }, }, outputSchema: { @@ -1480,20 +1541,20 @@ 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_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_BaseCondition": flagship_BaseCondition, + "flagship_Condition": flagship_Condition, + "flagship_Condition1": flagship_Condition1, + "flagship_Condition2": flagship_Condition2, + "flagship_Condition3": flagship_Condition3, + "flagship_Condition4": flagship_Condition4, + "flagship_Flag": flagship_Flag, + "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, }, }, annotations: { @@ -1588,22 +1649,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_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_ApiMessage": flagship_ApiMessage, + "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_Error": flagship_Error, + "flagship_Flag": flagship_Flag, + "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, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/flagship/apps/outputs.ts b/src/generated/forge-mcp/flagship/apps/outputs.ts index ee1d1edab..e6c779cd0 100644 --- a/src/generated/forge-mcp/flagship/apps/outputs.ts +++ b/src/generated/forge-mcp/flagship/apps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `flagship_ApiMessage` in responses. */ -export const flagship_ApiMessage_output: JsonSchema = { +export const flagship_ApiMessage: JsonSchema = { "properties": { "message": { "type": "string" @@ -21,7 +21,7 @@ export const flagship_ApiMessage_output: JsonSchema = { /** * The schema of `flagship_App` in responses. */ -export const flagship_App_output: JsonSchema = { +export const flagship_App: JsonSchema = { "properties": { "created_at": { "type": "string" @@ -52,7 +52,7 @@ export const flagship_App_output: JsonSchema = { /** * The schema of `flagship_BaseCondition` in responses. */ -export const flagship_BaseCondition_output: JsonSchema = { +export const flagship_BaseCondition: JsonSchema = { "properties": { "attribute": { "type": "string" @@ -90,7 +90,7 @@ export const flagship_BaseCondition_output: JsonSchema = { /** * The schema of `flagship_Condition` in responses. */ -export const flagship_Condition_output: JsonSchema = { +export const flagship_Condition: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/flagship_BaseCondition" @@ -104,7 +104,7 @@ export const flagship_Condition_output: JsonSchema = { /** * The schema of `flagship_Condition1` in responses. */ -export const flagship_Condition1_output: JsonSchema = { +export const flagship_Condition1: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/flagship_BaseCondition" @@ -118,7 +118,7 @@ export const flagship_Condition1_output: JsonSchema = { /** * The schema of `flagship_Condition2` in responses. */ -export const flagship_Condition2_output: JsonSchema = { +export const flagship_Condition2: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/flagship_BaseCondition" @@ -132,7 +132,7 @@ export const flagship_Condition2_output: JsonSchema = { /** * The schema of `flagship_Condition3` in responses. */ -export const flagship_Condition3_output: JsonSchema = { +export const flagship_Condition3: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/flagship_BaseCondition" @@ -146,7 +146,7 @@ export const flagship_Condition3_output: JsonSchema = { /** * The schema of `flagship_Condition4` in responses. */ -export const flagship_Condition4_output: JsonSchema = { +export const flagship_Condition4: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/flagship_BaseCondition" @@ -160,7 +160,7 @@ export const flagship_Condition4_output: JsonSchema = { /** * The schema of `flagship_DeleteAppResult` in responses. */ -export const flagship_DeleteAppResult_output: JsonSchema = { +export const flagship_DeleteAppResult: JsonSchema = { "properties": { "id": { "type": "string" @@ -175,7 +175,7 @@ export const flagship_DeleteAppResult_output: JsonSchema = { /** * The schema of `flagship_Error` in responses. */ -export const flagship_Error_output: JsonSchema = { +export const flagship_Error: JsonSchema = { "properties": { "errors": { "items": { @@ -208,7 +208,7 @@ export const flagship_Error_output: JsonSchema = { /** * The schema of `flagship_EvaluationError` in responses. */ -export const flagship_EvaluationError_output: JsonSchema = { +export const flagship_EvaluationError: JsonSchema = { "allOf": [ { "$ref": "#/$defs/flagship_Error" @@ -239,7 +239,7 @@ export const flagship_EvaluationError_output: JsonSchema = { /** * The schema of `flagship_EvaluationResult` in responses. */ -export const flagship_EvaluationResult_output: JsonSchema = { +export const flagship_EvaluationResult: JsonSchema = { "properties": { "flagKey": { "type": "string" @@ -288,7 +288,7 @@ export const flagship_EvaluationResult_output: JsonSchema = { /** * The schema of `flagship_JsonValue` in responses. */ -export const flagship_JsonValue_output: JsonSchema = { +export const flagship_JsonValue: JsonSchema = { "oneOf": [ { "type": "string" @@ -320,7 +320,7 @@ export const flagship_JsonValue_output: JsonSchema = { /** * The schema of `flagship_LogicalCondition` in responses. */ -export const flagship_LogicalCondition_output: JsonSchema = { +export const flagship_LogicalCondition: JsonSchema = { "properties": { "clauses": { "items": { @@ -347,7 +347,7 @@ export const flagship_LogicalCondition_output: JsonSchema = { /** * The schema of `flagship_LogicalCondition1` in responses. */ -export const flagship_LogicalCondition1_output: JsonSchema = { +export const flagship_LogicalCondition1: JsonSchema = { "properties": { "clauses": { "items": { @@ -374,7 +374,7 @@ export const flagship_LogicalCondition1_output: JsonSchema = { /** * The schema of `flagship_LogicalCondition2` in responses. */ -export const flagship_LogicalCondition2_output: JsonSchema = { +export const flagship_LogicalCondition2: JsonSchema = { "properties": { "clauses": { "items": { @@ -401,7 +401,7 @@ export const flagship_LogicalCondition2_output: JsonSchema = { /** * The schema of `flagship_LogicalCondition3` in responses. */ -export const flagship_LogicalCondition3_output: JsonSchema = { +export const flagship_LogicalCondition3: JsonSchema = { "properties": { "clauses": { "items": { @@ -428,7 +428,7 @@ export const flagship_LogicalCondition3_output: JsonSchema = { /** * The schema of `flagship_LogicalCondition4` in responses. */ -export const flagship_LogicalCondition4_output: JsonSchema = { +export const flagship_LogicalCondition4: JsonSchema = { "properties": { "clauses": { "items": { diff --git a/src/generated/forge-mcp/flagship/apps/tools.ts b/src/generated/forge-mcp/flagship/apps/tools.ts index 631ac7cbb..edccc85af 100644 --- a/src/generated/forge-mcp/flagship/apps/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/tools.ts @@ -3,10 +3,10 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - flagship_ApiMessage_output, - flagship_App_output, - flagship_DeleteAppResult_output, - flagship_Error_output, + flagship_ApiMessage, + flagship_App, + flagship_DeleteAppResult, + flagship_Error, } from "./outputs.js"; /** @@ -20,10 +20,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID that owns the Flagship app.", - "type": "string" - }, "body": { "properties": { "name": { @@ -35,10 +31,22 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID that owns the Flagship app.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -87,7 +95,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "flagship_App": flagship_App_output, + "flagship_App": flagship_App, }, }, annotations: { @@ -182,9 +190,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "flagship_ApiMessage": flagship_ApiMessage_output, - "flagship_App": flagship_App_output, - "flagship_Error": flagship_Error_output, + "flagship_ApiMessage": flagship_ApiMessage, + "flagship_App": flagship_App, + "flagship_Error": flagship_Error, }, }, request: (args) => ({ @@ -199,18 +207,26 @@ export const tools: readonly Tool[] = [ 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" + "path": { + "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" + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], }, outputSchema: { @@ -258,7 +274,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "flagship_DeleteAppResult": flagship_DeleteAppResult_output, + "flagship_DeleteAppResult": flagship_DeleteAppResult, }, }, annotations: { @@ -356,9 +372,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "flagship_ApiMessage": flagship_ApiMessage_output, - "flagship_DeleteAppResult": flagship_DeleteAppResult_output, - "flagship_Error": flagship_Error_output, + "flagship_ApiMessage": flagship_ApiMessage, + "flagship_DeleteAppResult": flagship_DeleteAppResult, + "flagship_Error": flagship_Error, }, }, request: (args) => ({ @@ -372,18 +388,26 @@ export const tools: readonly Tool[] = [ 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" + "path": { + "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" + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], }, outputSchema: { @@ -431,7 +455,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "flagship_App": flagship_App_output, + "flagship_App": flagship_App, }, }, annotations: { @@ -527,9 +551,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "flagship_ApiMessage": flagship_ApiMessage_output, - "flagship_App": flagship_App_output, - "flagship_Error": flagship_Error_output, + "flagship_ApiMessage": flagship_ApiMessage, + "flagship_App": flagship_App, + "flagship_Error": flagship_Error, }, }, request: (args) => ({ @@ -543,13 +567,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID that owns the Flagship app.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID that owns the Flagship app.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -600,7 +632,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "flagship_App": flagship_App_output, + "flagship_App": flagship_App, }, }, annotations: { @@ -699,9 +731,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "flagship_ApiMessage": flagship_ApiMessage_output, - "flagship_App": flagship_App_output, - "flagship_Error": flagship_Error_output, + "flagship_ApiMessage": flagship_ApiMessage, + "flagship_App": flagship_App, + "flagship_Error": flagship_Error, }, }, request: (args) => ({ @@ -715,14 +747,6 @@ export const tools: readonly Tool[] = [ 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": { "name": { @@ -731,11 +755,27 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "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" + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "body" ], }, @@ -784,7 +824,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "flagship_App": flagship_App_output, + "flagship_App": flagship_App, }, }, annotations: { @@ -879,9 +919,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "flagship_ApiMessage": flagship_ApiMessage_output, - "flagship_App": flagship_App_output, - "flagship_Error": flagship_Error_output, + "flagship_ApiMessage": flagship_ApiMessage, + "flagship_App": flagship_App, + "flagship_Error": flagship_Error, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/fraud/outputs.ts b/src/generated/forge-mcp/fraud/outputs.ts index 828ecbd21..5bfe10239 100644 --- a/src/generated/forge-mcp/fraud/outputs.ts +++ b/src/generated/forge-mcp/fraud/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `fraud_api-response-common-failure` in responses. */ -export const fraud_api_response_common_failure_output: JsonSchema = { +export const fraud_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/fraud_messages" @@ -36,7 +36,7 @@ export const fraud_api_response_common_failure_output: JsonSchema = { /** * The schema of `fraud_api-response-single` in responses. */ -export const fraud_api_response_single_output: JsonSchema = { +export const fraud_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/fraud_messages" @@ -62,7 +62,7 @@ export const fraud_api_response_single_output: JsonSchema = { /** * The schema of `fraud_auth_criteria` in responses. */ -export const fraud_auth_criteria_output: JsonSchema = { +export const fraud_auth_criteria: JsonSchema = { "properties": { "kind": { "enum": [ @@ -87,7 +87,7 @@ export const fraud_auth_criteria_output: JsonSchema = { /** * The schema of `fraud_authentication_settings` in responses. */ -export const fraud_authentication_settings_output: JsonSchema = { +export const fraud_authentication_settings: JsonSchema = { "properties": { "failure_criteria": { "$ref": "#/$defs/fraud_auth_criteria" @@ -102,7 +102,7 @@ export const fraud_authentication_settings_output: JsonSchema = { /** * The schema of `fraud_fraud_settings` in responses. */ -export const fraud_fraud_settings_output: JsonSchema = { +export const fraud_fraud_settings: JsonSchema = { "properties": { "authentication_settings": { "$ref": "#/$defs/fraud_authentication_settings" @@ -120,7 +120,7 @@ export const fraud_fraud_settings_output: JsonSchema = { /** * The schema of `fraud_fraud_settings_response_body` in responses. */ -export const fraud_fraud_settings_response_body_output: JsonSchema = { +export const fraud_fraud_settings_response_body: JsonSchema = { "allOf": [ { "$ref": "#/$defs/fraud_api-response-single" @@ -139,7 +139,7 @@ export const fraud_fraud_settings_response_body_output: JsonSchema = { /** * The schema of `fraud_messages` in responses. */ -export const fraud_messages_output: JsonSchema = { +export const fraud_messages: JsonSchema = { "items": { "properties": { "code": { @@ -172,7 +172,7 @@ export const fraud_messages_output: JsonSchema = { /** * The schema of `fraud_user_profiles_status` in responses. */ -export const fraud_user_profiles_status_output: JsonSchema = { +export const fraud_user_profiles_status: JsonSchema = { "enum": [ "enabled", "disabled" @@ -183,7 +183,7 @@ export const fraud_user_profiles_status_output: JsonSchema = { /** * The schema of `fraud_username_expressions` in responses. */ -export const fraud_username_expressions_output: JsonSchema = { +export const fraud_username_expressions: JsonSchema = { "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/fraud/tools.ts b/src/generated/forge-mcp/fraud/tools.ts index 969b10efc..a8f59a538 100644 --- a/src/generated/forge-mcp/fraud/tools.ts +++ b/src/generated/forge-mcp/fraud/tools.ts @@ -3,23 +3,23 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - fraud_api_response_common_failure_output, - fraud_api_response_single_output, - fraud_auth_criteria_output, - fraud_authentication_settings_output, - fraud_fraud_settings_output, - fraud_fraud_settings_response_body_output, - fraud_messages_output, - fraud_user_profiles_status_output, - fraud_username_expressions_output, -} from "./outputs.js"; -import { + fraud_api$$response$$common$$failure, + fraud_api$$response$$single, fraud_auth_criteria, fraud_authentication_settings, fraud_fraud_settings, - fraud_identifier, + fraud_fraud_settings_response_body, + fraud_messages, fraud_user_profiles_status, fraud_username_expressions, +} from "./outputs.js"; +import { + fraud_auth_criteria as fraud_auth_criteria$, + fraud_authentication_settings as fraud_authentication_settings$, + fraud_fraud_settings as fraud_fraud_settings$, + fraud_identifier, + fraud_user_profiles_status as fraud_user_profiles_status$, + fraud_username_expressions as fraud_username_expressions$, } from "./schemas.js"; /** @@ -33,13 +33,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/fraud_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/fraud_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "fraud_identifier": fraud_identifier, @@ -48,14 +56,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/fraud_fraud_settings_response_body", $defs: { - "fraud_api-response-single": fraud_api_response_single_output, - "fraud_auth_criteria": fraud_auth_criteria_output, - "fraud_authentication_settings": fraud_authentication_settings_output, - "fraud_fraud_settings": fraud_fraud_settings_output, - "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body_output, - "fraud_messages": fraud_messages_output, - "fraud_user_profiles_status": fraud_user_profiles_status_output, - "fraud_username_expressions": fraud_username_expressions_output, + "fraud_api-response-single": fraud_api$$response$$single, + "fraud_auth_criteria": fraud_auth_criteria, + "fraud_authentication_settings": fraud_authentication_settings, + "fraud_fraud_settings": fraud_fraud_settings, + "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body, + "fraud_messages": fraud_messages, + "fraud_user_profiles_status": fraud_user_profiles_status, + "fraud_username_expressions": fraud_username_expressions, }, }, annotations: { @@ -83,15 +91,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "fraud_api-response-common-failure": fraud_api_response_common_failure_output, - "fraud_api-response-single": fraud_api_response_single_output, - "fraud_auth_criteria": fraud_auth_criteria_output, - "fraud_authentication_settings": fraud_authentication_settings_output, - "fraud_fraud_settings": fraud_fraud_settings_output, - "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body_output, - "fraud_messages": fraud_messages_output, - "fraud_user_profiles_status": fraud_user_profiles_status_output, - "fraud_username_expressions": fraud_username_expressions_output, + "fraud_api-response-common-failure": fraud_api$$response$$common$$failure, + "fraud_api-response-single": fraud_api$$response$$single, + "fraud_auth_criteria": fraud_auth_criteria, + "fraud_authentication_settings": fraud_authentication_settings, + "fraud_fraud_settings": fraud_fraud_settings, + "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body, + "fraud_messages": fraud_messages, + "fraud_user_profiles_status": fraud_user_profiles_status, + "fraud_username_expressions": fraud_username_expressions, }, }, request: (args) => ({ @@ -108,35 +116,43 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/fraud_fraud_settings" }, - "zone_id": { - "$ref": "#/$defs/fraud_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/fraud_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "fraud_auth_criteria": fraud_auth_criteria, - "fraud_authentication_settings": fraud_authentication_settings, - "fraud_fraud_settings": fraud_fraud_settings, + "fraud_auth_criteria": fraud_auth_criteria$, + "fraud_authentication_settings": fraud_authentication_settings$, + "fraud_fraud_settings": fraud_fraud_settings$, "fraud_identifier": fraud_identifier, - "fraud_user_profiles_status": fraud_user_profiles_status, - "fraud_username_expressions": fraud_username_expressions, + "fraud_user_profiles_status": fraud_user_profiles_status$, + "fraud_username_expressions": fraud_username_expressions$, }, }, outputSchema: { "$ref": "#/$defs/fraud_fraud_settings_response_body", $defs: { - "fraud_api-response-single": fraud_api_response_single_output, - "fraud_auth_criteria": fraud_auth_criteria_output, - "fraud_authentication_settings": fraud_authentication_settings_output, - "fraud_fraud_settings": fraud_fraud_settings_output, - "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body_output, - "fraud_messages": fraud_messages_output, - "fraud_user_profiles_status": fraud_user_profiles_status_output, - "fraud_username_expressions": fraud_username_expressions_output, + "fraud_api-response-single": fraud_api$$response$$single, + "fraud_auth_criteria": fraud_auth_criteria, + "fraud_authentication_settings": fraud_authentication_settings, + "fraud_fraud_settings": fraud_fraud_settings, + "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body, + "fraud_messages": fraud_messages, + "fraud_user_profiles_status": fraud_user_profiles_status, + "fraud_username_expressions": fraud_username_expressions, }, }, annotations: { @@ -163,15 +179,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "fraud_api-response-common-failure": fraud_api_response_common_failure_output, - "fraud_api-response-single": fraud_api_response_single_output, - "fraud_auth_criteria": fraud_auth_criteria_output, - "fraud_authentication_settings": fraud_authentication_settings_output, - "fraud_fraud_settings": fraud_fraud_settings_output, - "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body_output, - "fraud_messages": fraud_messages_output, - "fraud_user_profiles_status": fraud_user_profiles_status_output, - "fraud_username_expressions": fraud_username_expressions_output, + "fraud_api-response-common-failure": fraud_api$$response$$common$$failure, + "fraud_api-response-single": fraud_api$$response$$single, + "fraud_auth_criteria": fraud_auth_criteria, + "fraud_authentication_settings": fraud_authentication_settings, + "fraud_fraud_settings": fraud_fraud_settings, + "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body, + "fraud_messages": fraud_messages, + "fraud_user_profiles_status": fraud_user_profiles_status, + "fraud_username_expressions": fraud_username_expressions, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/googleTagGateway/config/outputs.ts b/src/generated/forge-mcp/googleTagGateway/config/outputs.ts index a4fda4070..7ea63cfc3 100644 --- a/src/generated/forge-mcp/googleTagGateway/config/outputs.ts +++ b/src/generated/forge-mcp/googleTagGateway/config/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `google-tag-gateway_api-response-common` in responses. */ -export const google_tag_gateway_api_response_common_output: JsonSchema = { +export const google$$tag$$gateway_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/google-tag-gateway_messages" @@ -32,7 +32,7 @@ export const google_tag_gateway_api_response_common_output: JsonSchema = { /** * The schema of `google-tag-gateway_api-response-common-failure` in responses. */ -export const google_tag_gateway_api_response_common_failure_output: JsonSchema = { +export const google$$tag$$gateway_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/google-tag-gateway_messages" @@ -62,7 +62,7 @@ export const google_tag_gateway_api_response_common_failure_output: JsonSchema = /** * The schema of `google-tag-gateway_google-tag-gateway-config` in responses. */ -export const google_tag_gateway_google_tag_gateway_config_output: JsonSchema = { +export const google$$tag$$gateway_google$$tag$$gateway$$config: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -99,7 +99,7 @@ export const google_tag_gateway_google_tag_gateway_config_output: JsonSchema = { /** * The schema of `google-tag-gateway_messages` in responses. */ -export const google_tag_gateway_messages_output: JsonSchema = { +export const google$$tag$$gateway_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/googleTagGateway/config/schemas.ts b/src/generated/forge-mcp/googleTagGateway/config/schemas.ts index 9d409667e..69afb631d 100644 --- a/src/generated/forge-mcp/googleTagGateway/config/schemas.ts +++ b/src/generated/forge-mcp/googleTagGateway/config/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `google-tag-gateway_google-tag-gateway-config`. */ -export const google_tag_gateway_google_tag_gateway_config: JsonSchema = { +export const google$$tag$$gateway_google$$tag$$gateway$$config: JsonSchema = { "description": "Google Tag Gateway configuration for a zone.", "properties": { "enabled": { @@ -49,7 +49,7 @@ export const google_tag_gateway_google_tag_gateway_config: JsonSchema = { /** * The schema of `google-tag-gateway_identifier`. */ -export const google_tag_gateway_identifier: JsonSchema = { +export const google$$tag$$gateway_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/googleTagGateway/config/tools.ts b/src/generated/forge-mcp/googleTagGateway/config/tools.ts index 1e9424abc..09e3f38e4 100644 --- a/src/generated/forge-mcp/googleTagGateway/config/tools.ts +++ b/src/generated/forge-mcp/googleTagGateway/config/tools.ts @@ -3,37 +3,45 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - google_tag_gateway_api_response_common_failure_output, - google_tag_gateway_api_response_common_output, - google_tag_gateway_google_tag_gateway_config_output, - google_tag_gateway_messages_output, + google$$tag$$gateway_api$$response$$common, + google$$tag$$gateway_api$$response$$common$$failure, + google$$tag$$gateway_google$$tag$$gateway$$config, + google$$tag$$gateway_messages, } from "./outputs.js"; import { - google_tag_gateway_google_tag_gateway_config, - google_tag_gateway_identifier, + google$$tag$$gateway_google$$tag$$gateway$$config as google$$tag$$gateway_google$$tag$$gateway$$config$, + google$$tag$$gateway_identifier, } from "./schemas.js"; /** - * The tools of `google_tag_gateway.config`. + * The tools of `googleTagGateway.config`. */ export const tools: readonly Tool[] = [ { - name: "google_tag_gateway_config_get", + name: "googleTagGateway_config_get", title: "Get Google Tag Gateway configuration", description: "Gets the Google Tag Gateway configuration for a zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/google-tag-gateway_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/google-tag-gateway_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "google-tag-gateway_identifier": google_tag_gateway_identifier, + "google-tag-gateway_identifier": google$$tag$$gateway_identifier, }, }, outputSchema: { @@ -51,9 +59,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "google-tag-gateway_api-response-common": google_tag_gateway_api_response_common_output, - "google-tag-gateway_google-tag-gateway-config": google_tag_gateway_google_tag_gateway_config_output, - "google-tag-gateway_messages": google_tag_gateway_messages_output, + "google-tag-gateway_api-response-common": google$$tag$$gateway_api$$response$$common, + "google-tag-gateway_google-tag-gateway-config": google$$tag$$gateway_google$$tag$$gateway$$config, + "google-tag-gateway_messages": google$$tag$$gateway_messages, }, }, annotations: { @@ -105,10 +113,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "google-tag-gateway_api-response-common": google_tag_gateway_api_response_common_output, - "google-tag-gateway_api-response-common-failure": google_tag_gateway_api_response_common_failure_output, - "google-tag-gateway_google-tag-gateway-config": google_tag_gateway_google_tag_gateway_config_output, - "google-tag-gateway_messages": google_tag_gateway_messages_output, + "google-tag-gateway_api-response-common": google$$tag$$gateway_api$$response$$common, + "google-tag-gateway_api-response-common-failure": google$$tag$$gateway_api$$response$$common$$failure, + "google-tag-gateway_google-tag-gateway-config": google$$tag$$gateway_google$$tag$$gateway$$config, + "google-tag-gateway_messages": google$$tag$$gateway_messages, }, }, request: (args) => ({ @@ -116,7 +124,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "google_tag_gateway_config_update", + name: "googleTagGateway_config_update", title: "Update Google Tag Gateway configuration", description: "Updates the Google Tag Gateway configuration for a zone.", inputSchema: { @@ -125,18 +133,26 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/google-tag-gateway_google-tag-gateway-config" }, - "zone_id": { - "$ref": "#/$defs/google-tag-gateway_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/google-tag-gateway_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "google-tag-gateway_google-tag-gateway-config": google_tag_gateway_google_tag_gateway_config, - "google-tag-gateway_identifier": google_tag_gateway_identifier, + "google-tag-gateway_google-tag-gateway-config": google$$tag$$gateway_google$$tag$$gateway$$config$, + "google-tag-gateway_identifier": google$$tag$$gateway_identifier, }, }, outputSchema: { @@ -154,9 +170,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "google-tag-gateway_api-response-common": google_tag_gateway_api_response_common_output, - "google-tag-gateway_google-tag-gateway-config": google_tag_gateway_google_tag_gateway_config_output, - "google-tag-gateway_messages": google_tag_gateway_messages_output, + "google-tag-gateway_api-response-common": google$$tag$$gateway_api$$response$$common, + "google-tag-gateway_google-tag-gateway-config": google$$tag$$gateway_google$$tag$$gateway$$config, + "google-tag-gateway_messages": google$$tag$$gateway_messages, }, }, annotations: { @@ -207,10 +223,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "google-tag-gateway_api-response-common": google_tag_gateway_api_response_common_output, - "google-tag-gateway_api-response-common-failure": google_tag_gateway_api_response_common_failure_output, - "google-tag-gateway_google-tag-gateway-config": google_tag_gateway_google_tag_gateway_config_output, - "google-tag-gateway_messages": google_tag_gateway_messages_output, + "google-tag-gateway_api-response-common": google$$tag$$gateway_api$$response$$common, + "google-tag-gateway_api-response-common-failure": google$$tag$$gateway_api$$response$$common$$failure, + "google-tag-gateway_google-tag-gateway-config": google$$tag$$gateway_google$$tag$$gateway$$config, + "google-tag-gateway_messages": google$$tag$$gateway_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/healthchecks/outputs.ts b/src/generated/forge-mcp/healthchecks/outputs.ts index 2f965c392..668609e63 100644 --- a/src/generated/forge-mcp/healthchecks/outputs.ts +++ b/src/generated/forge-mcp/healthchecks/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `healthchecks_address` in responses. */ -export const healthchecks_address_output: JsonSchema = { +export const healthchecks_address: JsonSchema = { "type": "string" }; /** * The schema of `healthchecks_api-response-collection` in responses. */ -export const healthchecks_api_response_collection_output: JsonSchema = { +export const healthchecks_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/healthchecks_api-response-common" @@ -45,7 +45,7 @@ export const healthchecks_api_response_collection_output: JsonSchema = { /** * The schema of `healthchecks_api-response-common` in responses. */ -export const healthchecks_api_response_common_output: JsonSchema = { +export const healthchecks_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/healthchecks_messages" @@ -88,7 +88,7 @@ export const healthchecks_api_response_common_output: JsonSchema = { /** * The schema of `healthchecks_api-response-common-failure` in responses. */ -export const healthchecks_api_response_common_failure_output: JsonSchema = { +export const healthchecks_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/healthchecks_messages" @@ -118,7 +118,7 @@ export const healthchecks_api_response_common_failure_output: JsonSchema = { /** * The schema of `healthchecks_api-response-single` in responses. */ -export const healthchecks_api_response_single_output: JsonSchema = { +export const healthchecks_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/healthchecks_api-response-common" @@ -144,7 +144,7 @@ export const healthchecks_api_response_single_output: JsonSchema = { /** * The schema of `healthchecks_check_regions` in responses. */ -export const healthchecks_check_regions_output: JsonSchema = { +export const healthchecks_check_regions: JsonSchema = { "oneOf": [ { "items": { @@ -177,35 +177,35 @@ export const healthchecks_check_regions_output: JsonSchema = { /** * The schema of `healthchecks_consecutive_fails` in responses. */ -export const healthchecks_consecutive_fails_output: JsonSchema = { +export const healthchecks_consecutive_fails: JsonSchema = { "type": "integer" }; /** * The schema of `healthchecks_consecutive_successes` in responses. */ -export const healthchecks_consecutive_successes_output: JsonSchema = { +export const healthchecks_consecutive_successes: JsonSchema = { "type": "integer" }; /** * The schema of `healthchecks_description` in responses. */ -export const healthchecks_description_output: JsonSchema = { +export const healthchecks_description: JsonSchema = { "type": "string" }; /** * The schema of `healthchecks_failure_reason` in responses. */ -export const healthchecks_failure_reason_output: JsonSchema = { +export const healthchecks_failure_reason: JsonSchema = { "type": "string" }; /** * The schema of `healthchecks_healthchecks` in responses. */ -export const healthchecks_healthchecks_output: JsonSchema = { +export const healthchecks_healthchecks: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/healthchecks_address" @@ -268,7 +268,7 @@ export const healthchecks_healthchecks_output: JsonSchema = { /** * The schema of `healthchecks_http_config` in responses. */ -export const healthchecks_http_config_output: JsonSchema = { +export const healthchecks_http_config: JsonSchema = { "oneOf": [ { "properties": { @@ -335,7 +335,7 @@ export const healthchecks_http_config_output: JsonSchema = { /** * The schema of `healthchecks_id_response` in responses. */ -export const healthchecks_id_response_output: JsonSchema = { +export const healthchecks_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/healthchecks_api-response-single" @@ -359,21 +359,21 @@ export const healthchecks_id_response_output: JsonSchema = { /** * The schema of `healthchecks_identifier` in responses. */ -export const healthchecks_identifier_output: JsonSchema = { +export const healthchecks_identifier: JsonSchema = { "type": "string" }; /** * The schema of `healthchecks_interval` in responses. */ -export const healthchecks_interval_output: JsonSchema = { +export const healthchecks_interval: JsonSchema = { "type": "integer" }; /** * The schema of `healthchecks_messages` in responses. */ -export const healthchecks_messages_output: JsonSchema = { +export const healthchecks_messages: JsonSchema = { "items": { "properties": { "code": { @@ -395,14 +395,14 @@ export const healthchecks_messages_output: JsonSchema = { /** * The schema of `healthchecks_name` in responses. */ -export const healthchecks_name_output: JsonSchema = { +export const healthchecks_name: JsonSchema = { "type": "string" }; /** * The schema of `healthchecks_response_collection` in responses. */ -export const healthchecks_response_collection_output: JsonSchema = { +export const healthchecks_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/healthchecks_api-response-collection" @@ -424,7 +424,7 @@ export const healthchecks_response_collection_output: JsonSchema = { /** * The schema of `healthchecks_result_info` in responses. */ -export const healthchecks_result_info_output: JsonSchema = { +export const healthchecks_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -445,14 +445,14 @@ export const healthchecks_result_info_output: JsonSchema = { /** * The schema of `healthchecks_retries` in responses. */ -export const healthchecks_retries_output: JsonSchema = { +export const healthchecks_retries: JsonSchema = { "type": "integer" }; /** * The schema of `healthchecks_single_response` in responses. */ -export const healthchecks_single_response_output: JsonSchema = { +export const healthchecks_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/healthchecks_api-response-single" @@ -471,7 +471,7 @@ export const healthchecks_single_response_output: JsonSchema = { /** * The schema of `healthchecks_status` in responses. */ -export const healthchecks_status_output: JsonSchema = { +export const healthchecks_status: JsonSchema = { "enum": [ "unknown", "healthy", @@ -484,14 +484,14 @@ export const healthchecks_status_output: JsonSchema = { /** * The schema of `healthchecks_suspended` in responses. */ -export const healthchecks_suspended_output: JsonSchema = { +export const healthchecks_suspended: JsonSchema = { "type": "boolean" }; /** * The schema of `healthchecks_tcp_config` in responses. */ -export const healthchecks_tcp_config_output: JsonSchema = { +export const healthchecks_tcp_config: JsonSchema = { "oneOf": [ { "properties": { @@ -516,14 +516,14 @@ export const healthchecks_tcp_config_output: JsonSchema = { /** * The schema of `healthchecks_timeout` in responses. */ -export const healthchecks_timeout_output: JsonSchema = { +export const healthchecks_timeout: JsonSchema = { "type": "integer" }; /** * The schema of `healthchecks_timestamp` in responses. */ -export const healthchecks_timestamp_output: JsonSchema = { +export const healthchecks_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -531,6 +531,6 @@ export const healthchecks_timestamp_output: JsonSchema = { /** * The schema of `healthchecks_type` in responses. */ -export const healthchecks_type_output: JsonSchema = { +export const healthchecks_type: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/healthchecks/previews/tools.ts b/src/generated/forge-mcp/healthchecks/previews/tools.ts index d74e694e6..071a81068 100644 --- a/src/generated/forge-mcp/healthchecks/previews/tools.ts +++ b/src/generated/forge-mcp/healthchecks/previews/tools.ts @@ -2,48 +2,48 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - healthchecks_address_output, - healthchecks_api_response_common_failure_output, - healthchecks_api_response_common_output, - healthchecks_api_response_single_output, - healthchecks_check_regions_output, - healthchecks_consecutive_fails_output, - healthchecks_consecutive_successes_output, - healthchecks_description_output, - healthchecks_failure_reason_output, - healthchecks_healthchecks_output, - healthchecks_http_config_output, - healthchecks_id_response_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, - healthchecks_timeout_output, - healthchecks_timestamp_output, - healthchecks_type_output, -} from "../outputs.js"; import { healthchecks_address, + healthchecks_api$$response$$common, + healthchecks_api$$response$$common$$failure, + healthchecks_api$$response$$single, healthchecks_check_regions, healthchecks_consecutive_fails, healthchecks_consecutive_successes, healthchecks_description, + healthchecks_failure_reason, + healthchecks_healthchecks, healthchecks_http_config, + healthchecks_id_response, healthchecks_identifier, healthchecks_interval, + healthchecks_messages, healthchecks_name, - healthchecks_query_healthcheck, healthchecks_retries, + healthchecks_single_response, + healthchecks_status, healthchecks_suspended, healthchecks_tcp_config, healthchecks_timeout, + healthchecks_timestamp, healthchecks_type, +} from "../outputs.js"; +import { + healthchecks_address as healthchecks_address$, + healthchecks_check_regions as healthchecks_check_regions$, + healthchecks_consecutive_fails as healthchecks_consecutive_fails$, + healthchecks_consecutive_successes as healthchecks_consecutive_successes$, + healthchecks_description as healthchecks_description$, + healthchecks_http_config as healthchecks_http_config$, + healthchecks_identifier as healthchecks_identifier$, + healthchecks_interval as healthchecks_interval$, + healthchecks_name as healthchecks_name$, + healthchecks_query_healthcheck, + healthchecks_retries as healthchecks_retries$, + healthchecks_suspended as healthchecks_suspended$, + healthchecks_tcp_config as healthchecks_tcp_config$, + healthchecks_timeout as healthchecks_timeout$, + healthchecks_type as healthchecks_type$, } from "../schemas.js"; /** @@ -60,60 +60,68 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/healthchecks_query_healthcheck" }, - "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], + $defs: { + "healthchecks_address": healthchecks_address$, + "healthchecks_check_regions": healthchecks_check_regions$, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails$, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes$, + "healthchecks_description": healthchecks_description$, + "healthchecks_http_config": healthchecks_http_config$, + "healthchecks_identifier": healthchecks_identifier$, + "healthchecks_interval": healthchecks_interval$, + "healthchecks_name": healthchecks_name$, + "healthchecks_query_healthcheck": healthchecks_query_healthcheck, + "healthchecks_retries": healthchecks_retries$, + "healthchecks_suspended": healthchecks_suspended$, + "healthchecks_tcp_config": healthchecks_tcp_config$, + "healthchecks_timeout": healthchecks_timeout$, + "healthchecks_type": healthchecks_type$, + }, + }, + outputSchema: { + "$ref": "#/$defs/healthchecks_single_response", $defs: { "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, "healthchecks_consecutive_fails": healthchecks_consecutive_fails, "healthchecks_consecutive_successes": healthchecks_consecutive_successes, "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, "healthchecks_identifier": healthchecks_identifier, "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, "healthchecks_name": healthchecks_name, - "healthchecks_query_healthcheck": healthchecks_query_healthcheck, "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, "healthchecks_type": healthchecks_type, }, }, - outputSchema: { - "$ref": "#/$defs/healthchecks_single_response", - $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -144,29 +152,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ @@ -181,31 +189,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id" + "path" ], $defs: { - "healthchecks_identifier": healthchecks_identifier, + "healthchecks_identifier": healthchecks_identifier$, }, }, outputSchema: { "$ref": "#/$defs/healthchecks_id_response", $defs: { - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_id_response": healthchecks_id_response_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_messages": healthchecks_messages_output, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_id_response": healthchecks_id_response, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_messages": healthchecks_messages, }, }, annotations: { @@ -238,12 +254,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_id_response": healthchecks_id_response_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_messages": healthchecks_messages_output, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_id_response": healthchecks_id_response, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_messages": healthchecks_messages, }, }, request: (args) => ({ @@ -257,48 +273,56 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id" + "path" ], $defs: { - "healthchecks_identifier": healthchecks_identifier, + "healthchecks_identifier": healthchecks_identifier$, }, }, outputSchema: { "$ref": "#/$defs/healthchecks_single_response", $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -332,29 +356,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/healthchecks/tools.ts b/src/generated/forge-mcp/healthchecks/tools.ts index d6322c76a..73dd8bd77 100644 --- a/src/generated/forge-mcp/healthchecks/tools.ts +++ b/src/generated/forge-mcp/healthchecks/tools.ts @@ -1,52 +1,52 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; -import { - healthchecks_address_output, - healthchecks_api_response_collection_output, - healthchecks_api_response_common_failure_output, - healthchecks_api_response_common_output, - healthchecks_api_response_single_output, - healthchecks_check_regions_output, - healthchecks_consecutive_fails_output, - healthchecks_consecutive_successes_output, - healthchecks_description_output, - healthchecks_failure_reason_output, - healthchecks_healthchecks_output, - healthchecks_http_config_output, - healthchecks_id_response_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, - healthchecks_timeout_output, - healthchecks_timestamp_output, - healthchecks_type_output, -} from "./outputs.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { healthchecks_address, + healthchecks_api$$response$$collection, + healthchecks_api$$response$$common, + healthchecks_api$$response$$common$$failure, + healthchecks_api$$response$$single, healthchecks_check_regions, healthchecks_consecutive_fails, healthchecks_consecutive_successes, healthchecks_description, + healthchecks_failure_reason, + healthchecks_healthchecks, healthchecks_http_config, + healthchecks_id_response, healthchecks_identifier, healthchecks_interval, + healthchecks_messages, healthchecks_name, - healthchecks_query_healthcheck, + healthchecks_response_collection, + healthchecks_result_info, healthchecks_retries, + healthchecks_single_response, + healthchecks_status, healthchecks_suspended, healthchecks_tcp_config, healthchecks_timeout, + healthchecks_timestamp, healthchecks_type, +} from "./outputs.js"; +import { + healthchecks_address as healthchecks_address$, + healthchecks_check_regions as healthchecks_check_regions$, + healthchecks_consecutive_fails as healthchecks_consecutive_fails$, + healthchecks_consecutive_successes as healthchecks_consecutive_successes$, + healthchecks_description as healthchecks_description$, + healthchecks_http_config as healthchecks_http_config$, + healthchecks_identifier as healthchecks_identifier$, + healthchecks_interval as healthchecks_interval$, + healthchecks_name as healthchecks_name$, + healthchecks_query_healthcheck, + healthchecks_retries as healthchecks_retries$, + healthchecks_suspended as healthchecks_suspended$, + healthchecks_tcp_config as healthchecks_tcp_config$, + healthchecks_timeout as healthchecks_timeout$, + healthchecks_type as healthchecks_type$, } from "./schemas.js"; /** @@ -63,60 +63,68 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/healthchecks_query_healthcheck" }, - "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], + $defs: { + "healthchecks_address": healthchecks_address$, + "healthchecks_check_regions": healthchecks_check_regions$, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails$, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes$, + "healthchecks_description": healthchecks_description$, + "healthchecks_http_config": healthchecks_http_config$, + "healthchecks_identifier": healthchecks_identifier$, + "healthchecks_interval": healthchecks_interval$, + "healthchecks_name": healthchecks_name$, + "healthchecks_query_healthcheck": healthchecks_query_healthcheck, + "healthchecks_retries": healthchecks_retries$, + "healthchecks_suspended": healthchecks_suspended$, + "healthchecks_tcp_config": healthchecks_tcp_config$, + "healthchecks_timeout": healthchecks_timeout$, + "healthchecks_type": healthchecks_type$, + }, + }, + outputSchema: { + "$ref": "#/$defs/healthchecks_single_response", $defs: { "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, "healthchecks_consecutive_fails": healthchecks_consecutive_fails, "healthchecks_consecutive_successes": healthchecks_consecutive_successes, "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, "healthchecks_identifier": healthchecks_identifier, "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, "healthchecks_name": healthchecks_name, - "healthchecks_query_healthcheck": healthchecks_query_healthcheck, "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, "healthchecks_type": healthchecks_type, }, }, - outputSchema: { - "$ref": "#/$defs/healthchecks_single_response", - $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -147,29 +155,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ @@ -184,31 +192,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id" + "path" ], $defs: { - "healthchecks_identifier": healthchecks_identifier, + "healthchecks_identifier": healthchecks_identifier$, }, }, outputSchema: { "$ref": "#/$defs/healthchecks_id_response", $defs: { - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_id_response": healthchecks_id_response_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_messages": healthchecks_messages_output, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_id_response": healthchecks_id_response, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_messages": healthchecks_messages, }, }, annotations: { @@ -241,12 +257,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_id_response": healthchecks_id_response_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_messages": healthchecks_messages_output, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_id_response": healthchecks_id_response, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_messages": healthchecks_messages, }, }, request: (args) => ({ @@ -263,65 +279,73 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/healthchecks_query_healthcheck" }, - "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id", + "path", "body" ], + $defs: { + "healthchecks_address": healthchecks_address$, + "healthchecks_check_regions": healthchecks_check_regions$, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails$, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes$, + "healthchecks_description": healthchecks_description$, + "healthchecks_http_config": healthchecks_http_config$, + "healthchecks_identifier": healthchecks_identifier$, + "healthchecks_interval": healthchecks_interval$, + "healthchecks_name": healthchecks_name$, + "healthchecks_query_healthcheck": healthchecks_query_healthcheck, + "healthchecks_retries": healthchecks_retries$, + "healthchecks_suspended": healthchecks_suspended$, + "healthchecks_tcp_config": healthchecks_tcp_config$, + "healthchecks_timeout": healthchecks_timeout$, + "healthchecks_type": healthchecks_type$, + }, + }, + outputSchema: { + "$ref": "#/$defs/healthchecks_single_response", $defs: { "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, "healthchecks_consecutive_fails": healthchecks_consecutive_fails, "healthchecks_consecutive_successes": healthchecks_consecutive_successes, "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, "healthchecks_identifier": healthchecks_identifier, "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, "healthchecks_name": healthchecks_name, - "healthchecks_query_healthcheck": healthchecks_query_healthcheck, "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, "healthchecks_type": healthchecks_type, }, }, - outputSchema: { - "$ref": "#/$defs/healthchecks_single_response", - $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -352,29 +376,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ @@ -389,48 +413,56 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id" + "path" ], $defs: { - "healthchecks_identifier": healthchecks_identifier, + "healthchecks_identifier": healthchecks_identifier$, }, }, outputSchema: { "$ref": "#/$defs/healthchecks_single_response", $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -464,29 +496,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ @@ -500,54 +532,67 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 25, - "description": "Maximum number of results per page. Must be a multiple of 5.", - "type": "number" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 25, + "description": "Maximum number of results per page. Must be a multiple of 5.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "healthchecks_identifier": healthchecks_identifier, + "healthchecks_identifier": healthchecks_identifier$, }, }, outputSchema: { "$ref": "#/$defs/healthchecks_response_collection", $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-collection": healthchecks_api_response_collection_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "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, - "healthchecks_suspended": healthchecks_suspended_output, - "healthchecks_tcp_config": healthchecks_tcp_config_output, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-collection": healthchecks_api$$response$$collection, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_response_collection": healthchecks_response_collection, + "healthchecks_result_info": healthchecks_result_info, + "healthchecks_retries": healthchecks_retries, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -581,37 +626,37 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-collection": healthchecks_api_response_collection_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "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, - "healthchecks_suspended": healthchecks_suspended_output, - "healthchecks_tcp_config": healthchecks_tcp_config_output, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-collection": healthchecks_api$$response$$collection, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_response_collection": healthchecks_response_collection, + "healthchecks_result_info": healthchecks_result_info, + "healthchecks_retries": healthchecks_retries, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/healthchecks`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -625,65 +670,73 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/healthchecks_query_healthcheck" }, - "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/healthchecks_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id", + "path", "body" ], + $defs: { + "healthchecks_address": healthchecks_address$, + "healthchecks_check_regions": healthchecks_check_regions$, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails$, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes$, + "healthchecks_description": healthchecks_description$, + "healthchecks_http_config": healthchecks_http_config$, + "healthchecks_identifier": healthchecks_identifier$, + "healthchecks_interval": healthchecks_interval$, + "healthchecks_name": healthchecks_name$, + "healthchecks_query_healthcheck": healthchecks_query_healthcheck, + "healthchecks_retries": healthchecks_retries$, + "healthchecks_suspended": healthchecks_suspended$, + "healthchecks_tcp_config": healthchecks_tcp_config$, + "healthchecks_timeout": healthchecks_timeout$, + "healthchecks_type": healthchecks_type$, + }, + }, + outputSchema: { + "$ref": "#/$defs/healthchecks_single_response", $defs: { "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, "healthchecks_consecutive_fails": healthchecks_consecutive_fails, "healthchecks_consecutive_successes": healthchecks_consecutive_successes, "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, "healthchecks_identifier": healthchecks_identifier, "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, "healthchecks_name": healthchecks_name, - "healthchecks_query_healthcheck": healthchecks_query_healthcheck, "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, "healthchecks_type": healthchecks_type, }, }, - outputSchema: { - "$ref": "#/$defs/healthchecks_single_response", - $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -714,29 +767,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address_output, - "healthchecks_api-response-common": healthchecks_api_response_common_output, - "healthchecks_api-response-common-failure": healthchecks_api_response_common_failure_output, - "healthchecks_api-response-single": healthchecks_api_response_single_output, - "healthchecks_check_regions": healthchecks_check_regions_output, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails_output, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes_output, - "healthchecks_description": healthchecks_description_output, - "healthchecks_failure_reason": healthchecks_failure_reason_output, - "healthchecks_healthchecks": healthchecks_healthchecks_output, - "healthchecks_http_config": healthchecks_http_config_output, - "healthchecks_identifier": healthchecks_identifier_output, - "healthchecks_interval": healthchecks_interval_output, - "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, - "healthchecks_timeout": healthchecks_timeout_output, - "healthchecks_timestamp": healthchecks_timestamp_output, - "healthchecks_type": healthchecks_type_output, + "healthchecks_address": healthchecks_address, + "healthchecks_api-response-common": healthchecks_api$$response$$common, + "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, + "healthchecks_api-response-single": healthchecks_api$$response$$single, + "healthchecks_check_regions": healthchecks_check_regions, + "healthchecks_consecutive_fails": healthchecks_consecutive_fails, + "healthchecks_consecutive_successes": healthchecks_consecutive_successes, + "healthchecks_description": healthchecks_description, + "healthchecks_failure_reason": healthchecks_failure_reason, + "healthchecks_healthchecks": healthchecks_healthchecks, + "healthchecks_http_config": healthchecks_http_config, + "healthchecks_identifier": healthchecks_identifier, + "healthchecks_interval": healthchecks_interval, + "healthchecks_messages": healthchecks_messages, + "healthchecks_name": healthchecks_name, + "healthchecks_retries": healthchecks_retries, + "healthchecks_single_response": healthchecks_single_response, + "healthchecks_status": healthchecks_status, + "healthchecks_suspended": healthchecks_suspended, + "healthchecks_tcp_config": healthchecks_tcp_config, + "healthchecks_timeout": healthchecks_timeout, + "healthchecks_timestamp": healthchecks_timestamp, + "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/hyperdrive/integration/planetscale/outputs.ts b/src/generated/forge-mcp/hyperdrive/integration/planetscale/outputs.ts index 7cf60231c..0f64068e0 100644 --- a/src/generated/forge-mcp/hyperdrive/integration/planetscale/outputs.ts +++ b/src/generated/forge-mcp/hyperdrive/integration/planetscale/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `hyperdrive_hyperdrive-database-signature-response` in * responses. */ -export const hyperdrive_hyperdrive_database_signature_response_output: JsonSchema = { +export const hyperdrive_hyperdrive$$database$$signature$$response: JsonSchema = { "properties": { "account_id": { "type": "string" diff --git a/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts b/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts index b66b35bab..34fc2641f 100644 --- a/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts +++ b/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts @@ -3,12 +3,12 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - hyperdrive_api_response_common_failure_output, - hyperdrive_api_response_single_output, - hyperdrive_messages_output, + hyperdrive_api$$response$$common$$failure, + hyperdrive_api$$response$$single, + hyperdrive_messages, } from "../../outputs.js"; import { hyperdrive_identifier } from "../../schemas.js"; -import { hyperdrive_hyperdrive_database_signature_response_output } from "./outputs.js"; +import { hyperdrive_hyperdrive$$database$$signature$$response } from "./outputs.js"; /** * The tools of `hyperdrive.integration.planetscale`. @@ -21,13 +21,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "hyperdrive_identifier": hyperdrive_identifier, @@ -48,9 +56,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-database-signature-response": hyperdrive_hyperdrive_database_signature_response_output, - "hyperdrive_messages": hyperdrive_messages_output, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-database-signature-response": hyperdrive_hyperdrive$$database$$signature$$response, + "hyperdrive_messages": hyperdrive_messages, }, }, annotations: { @@ -84,10 +92,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-database-signature-response": hyperdrive_hyperdrive_database_signature_response_output, - "hyperdrive_messages": hyperdrive_messages_output, + "hyperdrive_api-response-common-failure": hyperdrive_api$$response$$common$$failure, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-database-signature-response": hyperdrive_hyperdrive$$database$$signature$$response, + "hyperdrive_messages": hyperdrive_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/hyperdrive/outputs.ts b/src/generated/forge-mcp/hyperdrive/outputs.ts index d127de62e..05cd441b5 100644 --- a/src/generated/forge-mcp/hyperdrive/outputs.ts +++ b/src/generated/forge-mcp/hyperdrive/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `hyperdrive_api-response-collection` in responses. */ -export const hyperdrive_api_response_collection_output: JsonSchema = { +export const hyperdrive_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/hyperdrive_api-response-common" @@ -25,7 +25,7 @@ export const hyperdrive_api_response_collection_output: JsonSchema = { /** * The schema of `hyperdrive_api-response-common` in responses. */ -export const hyperdrive_api_response_common_output: JsonSchema = { +export const hyperdrive_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/hyperdrive_messages" @@ -51,7 +51,7 @@ export const hyperdrive_api_response_common_output: JsonSchema = { /** * The schema of `hyperdrive_api-response-common-failure` in responses. */ -export const hyperdrive_api_response_common_failure_output: JsonSchema = { +export const hyperdrive_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/hyperdrive_messages" @@ -81,7 +81,7 @@ export const hyperdrive_api_response_common_failure_output: JsonSchema = { /** * The schema of `hyperdrive_api-response-single` in responses. */ -export const hyperdrive_api_response_single_output: JsonSchema = { +export const hyperdrive_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/hyperdrive_messages" @@ -107,7 +107,7 @@ export const hyperdrive_api_response_single_output: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-caching-response` in responses. */ -export const hyperdrive_hyperdrive_caching_response_output: JsonSchema = { +export const hyperdrive_hyperdrive$$caching$$response: JsonSchema = { "properties": { "disabled": { "type": "boolean" @@ -128,7 +128,7 @@ export const hyperdrive_hyperdrive_caching_response_output: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-config-response` in responses. */ -export const hyperdrive_hyperdrive_config_response_output: JsonSchema = { +export const hyperdrive_hyperdrive$$config$$response: JsonSchema = { "properties": { "caching": { "$ref": "#/$defs/hyperdrive_hyperdrive-caching-response" @@ -183,7 +183,7 @@ export const hyperdrive_hyperdrive_config_response_output: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-database-full` in responses. */ -export const hyperdrive_hyperdrive_database_full_output: JsonSchema = { +export const hyperdrive_hyperdrive$$database$$full: JsonSchema = { "properties": { "database": { "type": "string" @@ -210,7 +210,7 @@ export const hyperdrive_hyperdrive_database_full_output: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-integration-provider` in responses. */ -export const hyperdrive_hyperdrive_integration_provider_output: JsonSchema = { +export const hyperdrive_hyperdrive$$integration$$provider: JsonSchema = { "enum": [ "planetscale" ], @@ -220,7 +220,7 @@ export const hyperdrive_hyperdrive_integration_provider_output: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-mtls` in responses. */ -export const hyperdrive_hyperdrive_mtls_output: JsonSchema = { +export const hyperdrive_hyperdrive$$mtls: JsonSchema = { "properties": { "ca_certificate_id": { "type": "string" @@ -238,21 +238,21 @@ export const hyperdrive_hyperdrive_mtls_output: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-name` in responses. */ -export const hyperdrive_hyperdrive_name_output: JsonSchema = { +export const hyperdrive_hyperdrive$$name: JsonSchema = { "type": "string" }; /** * The schema of `hyperdrive_hyperdrive-origin-connection-limit` in responses. */ -export const hyperdrive_hyperdrive_origin_connection_limit_output: JsonSchema = { +export const hyperdrive_hyperdrive$$origin$$connection$$limit: JsonSchema = { "type": "integer" }; /** * The schema of `hyperdrive_hyperdrive-origin-full` in responses. */ -export const hyperdrive_hyperdrive_origin_full_output: JsonSchema = { +export const hyperdrive_hyperdrive$$origin$$full: JsonSchema = { "oneOf": [ { "allOf": [ @@ -290,7 +290,7 @@ export const hyperdrive_hyperdrive_origin_full_output: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-planet-scale-integration` in responses. */ -export const hyperdrive_hyperdrive_planet_scale_integration_output: JsonSchema = { +export const hyperdrive_hyperdrive$$planet$$scale$$integration: JsonSchema = { "properties": { "custom_database_name": { "type": "string" @@ -324,7 +324,7 @@ export const hyperdrive_hyperdrive_planet_scale_integration_output: JsonSchema = /** * The schema of `hyperdrive_hyperdrive-scheme` in responses. */ -export const hyperdrive_hyperdrive_scheme_output: JsonSchema = { +export const hyperdrive_hyperdrive$$scheme: JsonSchema = { "enum": [ "postgres", "postgresql", @@ -336,14 +336,14 @@ export const hyperdrive_hyperdrive_scheme_output: JsonSchema = { /** * The schema of `hyperdrive_identifier` in responses. */ -export const hyperdrive_identifier_output: JsonSchema = { +export const hyperdrive_identifier: JsonSchema = { "type": "string" }; /** * The schema of `hyperdrive_internet-origin` in responses. */ -export const hyperdrive_internet_origin_output: JsonSchema = { +export const hyperdrive_internet$$origin: JsonSchema = { "properties": { "host": { "type": "string" @@ -362,7 +362,7 @@ export const hyperdrive_internet_origin_output: JsonSchema = { /** * The schema of `hyperdrive_messages` in responses. */ -export const hyperdrive_messages_output: JsonSchema = { +export const hyperdrive_messages: JsonSchema = { "items": { "properties": { "code": { @@ -384,7 +384,7 @@ export const hyperdrive_messages_output: JsonSchema = { /** * The schema of `hyperdrive_over-access-origin` in responses. */ -export const hyperdrive_over_access_origin_output: JsonSchema = { +export const hyperdrive_over$$access$$origin: JsonSchema = { "properties": { "access_client_id": { "type": "string" @@ -407,7 +407,7 @@ export const hyperdrive_over_access_origin_output: JsonSchema = { /** * The schema of `hyperdrive_result_info` in responses. */ -export const hyperdrive_result_info_output: JsonSchema = { +export const hyperdrive_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -428,7 +428,7 @@ export const hyperdrive_result_info_output: JsonSchema = { /** * The schema of `hyperdrive_vpc-service-origin` in responses. */ -export const hyperdrive_vpc_service_origin_output: JsonSchema = { +export const hyperdrive_vpc$$service$$origin: JsonSchema = { "properties": { "service_id": { "type": "string" diff --git a/src/generated/forge-mcp/hyperdrive/schemas.ts b/src/generated/forge-mcp/hyperdrive/schemas.ts index 7f9a3c28d..cfb925f9a 100644 --- a/src/generated/forge-mcp/hyperdrive/schemas.ts +++ b/src/generated/forge-mcp/hyperdrive/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `hyperdrive_hyperdrive-caching`. */ -export const hyperdrive_hyperdrive_caching: JsonSchema = { +export const hyperdrive_hyperdrive$$caching: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/hyperdrive_hyperdrive-caching-disabled" @@ -20,7 +20,7 @@ export const hyperdrive_hyperdrive_caching: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-caching-common`. */ -export const hyperdrive_hyperdrive_caching_common: JsonSchema = { +export const hyperdrive_hyperdrive$$caching$$common: JsonSchema = { "properties": { "disabled": { "description": "Set to true to disable caching of SQL responses. Default is false.", @@ -33,7 +33,7 @@ export const hyperdrive_hyperdrive_caching_common: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-caching-create`. */ -export const hyperdrive_hyperdrive_caching_create: JsonSchema = { +export const hyperdrive_hyperdrive$$caching$$create: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/hyperdrive_hyperdrive-caching-create-disabled" @@ -47,7 +47,7 @@ export const hyperdrive_hyperdrive_caching_create: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-caching-create-disabled`. */ -export const hyperdrive_hyperdrive_caching_create_disabled: JsonSchema = { +export const hyperdrive_hyperdrive$$caching$$create$$disabled: JsonSchema = { "description": "Caching disabled", "properties": { "disabled": { @@ -86,7 +86,7 @@ export const hyperdrive_hyperdrive_caching_create_disabled: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-caching-create-enabled`. */ -export const hyperdrive_hyperdrive_caching_create_enabled: JsonSchema = { +export const hyperdrive_hyperdrive$$caching$$create$$enabled: JsonSchema = { "description": "Caching enabled", "properties": { "disabled": { @@ -124,7 +124,7 @@ export const hyperdrive_hyperdrive_caching_create_enabled: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-caching-disabled`. */ -export const hyperdrive_hyperdrive_caching_disabled: JsonSchema = { +export const hyperdrive_hyperdrive$$caching$$disabled: JsonSchema = { "description": "Caching disabled", "properties": { "disabled": { @@ -138,7 +138,7 @@ export const hyperdrive_hyperdrive_caching_disabled: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-caching-enabled`. */ -export const hyperdrive_hyperdrive_caching_enabled: JsonSchema = { +export const hyperdrive_hyperdrive$$caching$$enabled: JsonSchema = { "allOf": [ { "$ref": "#/$defs/hyperdrive_hyperdrive-caching-common" @@ -163,7 +163,7 @@ export const hyperdrive_hyperdrive_caching_enabled: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-config`. */ -export const hyperdrive_hyperdrive_config: JsonSchema = { +export const hyperdrive_hyperdrive$$config: JsonSchema = { "properties": { "caching": { "$ref": "#/$defs/hyperdrive_hyperdrive-caching" @@ -195,7 +195,7 @@ export const hyperdrive_hyperdrive_config: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-config-create`. */ -export const hyperdrive_hyperdrive_config_create: JsonSchema = { +export const hyperdrive_hyperdrive$$config$$create: JsonSchema = { "description": "A request to create a Hyperdrive configuration using exactly one of caller-supplied origin credentials or a managed integration.", "oneOf": [ { @@ -210,7 +210,7 @@ export const hyperdrive_hyperdrive_config_create: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-config-create-common`. */ -export const hyperdrive_hyperdrive_config_create_common: JsonSchema = { +export const hyperdrive_hyperdrive$$config$$create$$common: JsonSchema = { "properties": { "caching": { "$ref": "#/$defs/hyperdrive_hyperdrive-caching-create" @@ -237,7 +237,7 @@ export const hyperdrive_hyperdrive_config_create_common: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-config-create-with-integration`. */ -export const hyperdrive_hyperdrive_config_create_with_integration: JsonSchema = { +export const hyperdrive_hyperdrive$$config$$create$$with$$integration: JsonSchema = { "allOf": [ { "$ref": "#/$defs/hyperdrive_hyperdrive-config-create-common" @@ -271,7 +271,7 @@ export const hyperdrive_hyperdrive_config_create_with_integration: JsonSchema = /** * The schema of `hyperdrive_hyperdrive-config-create-with-origin`. */ -export const hyperdrive_hyperdrive_config_create_with_origin: JsonSchema = { +export const hyperdrive_hyperdrive$$config$$create$$with$$origin: JsonSchema = { "allOf": [ { "$ref": "#/$defs/hyperdrive_hyperdrive-config-create-common" @@ -305,7 +305,7 @@ export const hyperdrive_hyperdrive_config_create_with_origin: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-config-patch`. */ -export const hyperdrive_hyperdrive_config_patch: JsonSchema = { +export const hyperdrive_hyperdrive$$config$$patch: JsonSchema = { "properties": { "caching": { "$ref": "#/$defs/hyperdrive_hyperdrive-caching" @@ -345,7 +345,7 @@ export const hyperdrive_hyperdrive_config_patch: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-database`. */ -export const hyperdrive_hyperdrive_database: JsonSchema = { +export const hyperdrive_hyperdrive$$database: JsonSchema = { "description": "Connection Options", "properties": { "database": { @@ -371,7 +371,7 @@ export const hyperdrive_hyperdrive_database: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-database-full`. */ -export const hyperdrive_hyperdrive_database_full: JsonSchema = { +export const hyperdrive_hyperdrive$$database$$full: JsonSchema = { "properties": { "database": { "description": "Set the name of your origin database.", @@ -402,7 +402,7 @@ export const hyperdrive_hyperdrive_database_full: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-integration-provider`. */ -export const hyperdrive_hyperdrive_integration_provider: JsonSchema = { +export const hyperdrive_hyperdrive$$integration$$provider: JsonSchema = { "description": "The database integration provider used by this operation.", "enum": [ "planetscale" @@ -413,7 +413,7 @@ export const hyperdrive_hyperdrive_integration_provider: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-mtls`. */ -export const hyperdrive_hyperdrive_mtls: JsonSchema = { +export const hyperdrive_hyperdrive$$mtls: JsonSchema = { "description": "mTLS configuration for the origin connection. Cannot be used with VPC Service origins; TLS must be managed on the VPC Service.", "properties": { "ca_certificate_id": { @@ -435,7 +435,7 @@ export const hyperdrive_hyperdrive_mtls: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-name`. */ -export const hyperdrive_hyperdrive_name: JsonSchema = { +export const hyperdrive_hyperdrive$$name: JsonSchema = { "description": "The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.", "type": "string" }; @@ -443,7 +443,7 @@ export const hyperdrive_hyperdrive_name: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-origin-connection-limit`. */ -export const hyperdrive_hyperdrive_origin_connection_limit: JsonSchema = { +export const hyperdrive_hyperdrive$$origin$$connection$$limit: JsonSchema = { "description": "The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.\n\nMaximum allowed: 20 for free tier accounts, 100 for paid tier accounts.\nIf not specified, defaults to 20 for free tier and 60 for paid tier.\nCertain Cloudflare-managed origins may be permitted a higher limit.\nContact Cloudflare if you need a higher limit.\n", "type": "integer" }; @@ -451,7 +451,7 @@ export const hyperdrive_hyperdrive_origin_connection_limit: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-origin-full`. */ -export const hyperdrive_hyperdrive_origin_full: JsonSchema = { +export const hyperdrive_hyperdrive$$origin$$full: JsonSchema = { "description": "Combines database connection fields with exactly one supported network location.", "oneOf": [ { @@ -490,7 +490,7 @@ export const hyperdrive_hyperdrive_origin_full: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-planet-scale-integration`. */ -export const hyperdrive_hyperdrive_planet_scale_integration: JsonSchema = { +export const hyperdrive_hyperdrive$$planet$$scale$$integration: JsonSchema = { "description": "Selects a PlanetScale database and provisions credentials managed by Cloudflare when creating a Hyperdrive configuration. The Cloudflare account must already be linked to PlanetScale in the Hyperdrive dashboard. The selection is returned as read-only metadata and cannot be changed with replace or update operations.", "properties": { "custom_database_name": { @@ -531,7 +531,7 @@ export const hyperdrive_hyperdrive_planet_scale_integration: JsonSchema = { /** * The schema of `hyperdrive_hyperdrive-scheme`. */ -export const hyperdrive_hyperdrive_scheme: JsonSchema = { +export const hyperdrive_hyperdrive$$scheme: JsonSchema = { "description": "Specifies the URL scheme used to connect to your origin database.", "enum": [ "postgres", @@ -552,7 +552,7 @@ export const hyperdrive_identifier: JsonSchema = { /** * The schema of `hyperdrive_internet-origin`. */ -export const hyperdrive_internet_origin: JsonSchema = { +export const hyperdrive_internet$$origin: JsonSchema = { "description": "Public Database", "properties": { "host": { @@ -574,7 +574,7 @@ export const hyperdrive_internet_origin: JsonSchema = { /** * The schema of `hyperdrive_over-access-origin`. */ -export const hyperdrive_over_access_origin: JsonSchema = { +export const hyperdrive_over$$access$$origin: JsonSchema = { "description": "Access-protected Database behind Cloudflare Tunnel", "properties": { "access_client_id": { @@ -601,7 +601,7 @@ export const hyperdrive_over_access_origin: JsonSchema = { /** * The schema of `hyperdrive_vpc-service-origin`. */ -export const hyperdrive_vpc_service_origin: JsonSchema = { +export const hyperdrive_vpc$$service$$origin: JsonSchema = { "description": "Connect to a database through a Workers VPC Service. TLS settings (mTLS, sslmode) cannot be configured on the Hyperdrive when using a VPC Service origin; TLS must be managed on the VPC Service itself.\n", "properties": { "service_id": { diff --git a/src/generated/forge-mcp/hyperdrive/tools.ts b/src/generated/forge-mcp/hyperdrive/tools.ts index d15a51a5a..c9fb7cd94 100644 --- a/src/generated/forge-mcp/hyperdrive/tools.ts +++ b/src/generated/forge-mcp/hyperdrive/tools.ts @@ -1,56 +1,56 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - hyperdrive_api_response_collection_output, - hyperdrive_api_response_common_failure_output, - hyperdrive_api_response_common_output, - hyperdrive_api_response_single_output, - hyperdrive_hyperdrive_caching_response_output, - hyperdrive_hyperdrive_config_response_output, - hyperdrive_hyperdrive_database_full_output, - hyperdrive_hyperdrive_integration_provider_output, - hyperdrive_hyperdrive_mtls_output, - hyperdrive_hyperdrive_name_output, - hyperdrive_hyperdrive_origin_connection_limit_output, - hyperdrive_hyperdrive_origin_full_output, - hyperdrive_hyperdrive_planet_scale_integration_output, - hyperdrive_hyperdrive_scheme_output, - hyperdrive_identifier_output, - hyperdrive_internet_origin_output, - hyperdrive_messages_output, - hyperdrive_over_access_origin_output, - hyperdrive_result_info_output, - hyperdrive_vpc_service_origin_output, + hyperdrive_api$$response$$collection, + hyperdrive_api$$response$$common, + hyperdrive_api$$response$$common$$failure, + hyperdrive_api$$response$$single, + hyperdrive_hyperdrive$$caching$$response, + hyperdrive_hyperdrive$$config$$response, + hyperdrive_hyperdrive$$database$$full, + hyperdrive_hyperdrive$$integration$$provider, + hyperdrive_hyperdrive$$mtls, + hyperdrive_hyperdrive$$name, + hyperdrive_hyperdrive$$origin$$connection$$limit, + hyperdrive_hyperdrive$$origin$$full, + hyperdrive_hyperdrive$$planet$$scale$$integration, + hyperdrive_hyperdrive$$scheme, + hyperdrive_identifier, + hyperdrive_internet$$origin, + hyperdrive_messages, + hyperdrive_over$$access$$origin, + hyperdrive_result_info, + hyperdrive_vpc$$service$$origin, } from "./outputs.js"; import { - hyperdrive_hyperdrive_caching, - hyperdrive_hyperdrive_caching_common, - hyperdrive_hyperdrive_caching_create, - hyperdrive_hyperdrive_caching_create_disabled, - hyperdrive_hyperdrive_caching_create_enabled, - hyperdrive_hyperdrive_caching_disabled, - hyperdrive_hyperdrive_caching_enabled, - hyperdrive_hyperdrive_config, - hyperdrive_hyperdrive_config_create, - hyperdrive_hyperdrive_config_create_common, - hyperdrive_hyperdrive_config_create_with_integration, - hyperdrive_hyperdrive_config_create_with_origin, - hyperdrive_hyperdrive_config_patch, - hyperdrive_hyperdrive_database, - hyperdrive_hyperdrive_database_full, - hyperdrive_hyperdrive_integration_provider, - hyperdrive_hyperdrive_mtls, - hyperdrive_hyperdrive_name, - hyperdrive_hyperdrive_origin_connection_limit, - hyperdrive_hyperdrive_origin_full, - hyperdrive_hyperdrive_planet_scale_integration, - hyperdrive_hyperdrive_scheme, - hyperdrive_identifier, - hyperdrive_internet_origin, - hyperdrive_over_access_origin, - hyperdrive_vpc_service_origin, + hyperdrive_hyperdrive$$caching, + hyperdrive_hyperdrive$$caching$$common, + hyperdrive_hyperdrive$$caching$$create, + hyperdrive_hyperdrive$$caching$$create$$disabled, + hyperdrive_hyperdrive$$caching$$create$$enabled, + hyperdrive_hyperdrive$$caching$$disabled, + hyperdrive_hyperdrive$$caching$$enabled, + hyperdrive_hyperdrive$$config, + hyperdrive_hyperdrive$$config$$create, + hyperdrive_hyperdrive$$config$$create$$common, + hyperdrive_hyperdrive$$config$$create$$with$$integration, + hyperdrive_hyperdrive$$config$$create$$with$$origin, + hyperdrive_hyperdrive$$config$$patch, + hyperdrive_hyperdrive$$database, + hyperdrive_hyperdrive$$database$$full as hyperdrive_hyperdrive$$database$$full$, + hyperdrive_hyperdrive$$integration$$provider as hyperdrive_hyperdrive$$integration$$provider$, + hyperdrive_hyperdrive$$mtls as hyperdrive_hyperdrive$$mtls$, + hyperdrive_hyperdrive$$name as hyperdrive_hyperdrive$$name$, + hyperdrive_hyperdrive$$origin$$connection$$limit as hyperdrive_hyperdrive$$origin$$connection$$limit$, + hyperdrive_hyperdrive$$origin$$full as hyperdrive_hyperdrive$$origin$$full$, + hyperdrive_hyperdrive$$planet$$scale$$integration as hyperdrive_hyperdrive$$planet$$scale$$integration$, + hyperdrive_hyperdrive$$scheme as hyperdrive_hyperdrive$$scheme$, + hyperdrive_identifier as hyperdrive_identifier$, + hyperdrive_internet$$origin as hyperdrive_internet$$origin$, + hyperdrive_over$$access$$origin as hyperdrive_over$$access$$origin$, + hyperdrive_vpc$$service$$origin as hyperdrive_vpc$$service$$origin$, } from "./schemas.js"; /** @@ -64,38 +64,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." - }, "body": { "$ref": "#/$defs/hyperdrive_hyperdrive-config-create" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "hyperdrive_hyperdrive-caching-create": hyperdrive_hyperdrive_caching_create, - "hyperdrive_hyperdrive-caching-create-disabled": hyperdrive_hyperdrive_caching_create_disabled, - "hyperdrive_hyperdrive-caching-create-enabled": hyperdrive_hyperdrive_caching_create_enabled, - "hyperdrive_hyperdrive-config-create": hyperdrive_hyperdrive_config_create, - "hyperdrive_hyperdrive-config-create-common": hyperdrive_hyperdrive_config_create_common, - "hyperdrive_hyperdrive-config-create-with-integration": hyperdrive_hyperdrive_config_create_with_integration, - "hyperdrive_hyperdrive-config-create-with-origin": hyperdrive_hyperdrive_config_create_with_origin, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme, - "hyperdrive_identifier": hyperdrive_identifier, - "hyperdrive_internet-origin": hyperdrive_internet_origin, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin, + "hyperdrive_hyperdrive-caching-create": hyperdrive_hyperdrive$$caching$$create, + "hyperdrive_hyperdrive-caching-create-disabled": hyperdrive_hyperdrive$$caching$$create$$disabled, + "hyperdrive_hyperdrive-caching-create-enabled": hyperdrive_hyperdrive$$caching$$create$$enabled, + "hyperdrive_hyperdrive-config-create": hyperdrive_hyperdrive$$config$$create, + "hyperdrive_hyperdrive-config-create-common": hyperdrive_hyperdrive$$config$$create$$common, + "hyperdrive_hyperdrive-config-create-with-integration": hyperdrive_hyperdrive$$config$$create$$with$$integration, + "hyperdrive_hyperdrive-config-create-with-origin": hyperdrive_hyperdrive$$config$$create$$with$$origin, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full$, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider$, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls$, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name$, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit$, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full$, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration$, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme$, + "hyperdrive_identifier": hyperdrive_identifier$, + "hyperdrive_internet-origin": hyperdrive_internet$$origin$, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin$, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin$, }, }, outputSchema: { @@ -113,22 +121,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, annotations: { @@ -184,23 +192,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-common-failure": hyperdrive_api$$response$$common$$failure, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, request: (args) => ({ @@ -215,21 +223,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." - }, - "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The Cloudflare account ID." + }, + "hyperdrive_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The unique identifier of the Hyperdrive configuration." + } + }, + "required": [ + "account_id", + "hyperdrive_id" + ], + "type": "object" } }, required: [ - "account_id", - "hyperdrive_id" + "path" ], $defs: { - "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_identifier": hyperdrive_identifier$, }, }, outputSchema: { @@ -254,8 +270,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_messages": hyperdrive_messages_output, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_messages": hyperdrive_messages, }, }, annotations: { @@ -306,9 +322,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_messages": hyperdrive_messages_output, + "hyperdrive_api-response-common-failure": hyperdrive_api$$response$$common$$failure, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_messages": hyperdrive_messages, }, }, request: (args) => ({ @@ -322,21 +338,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." - }, - "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The Cloudflare account ID." + }, + "hyperdrive_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The unique identifier of the Hyperdrive configuration." + } + }, + "required": [ + "account_id", + "hyperdrive_id" + ], + "type": "object" } }, required: [ - "account_id", - "hyperdrive_id" + "path" ], $defs: { - "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_identifier": hyperdrive_identifier$, }, }, outputSchema: { @@ -354,22 +378,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, annotations: { @@ -414,23 +438,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-common-failure": hyperdrive_api$$response$$common$$failure, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, request: (args) => ({ @@ -444,26 +468,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_identifier": hyperdrive_identifier$, }, }, outputSchema: { @@ -484,24 +521,24 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "hyperdrive_api-response-collection": hyperdrive_api_response_collection_output, - "hyperdrive_api-response-common": hyperdrive_api_response_common_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_result_info": hyperdrive_result_info_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-collection": hyperdrive_api$$response$$collection, + "hyperdrive_api-response-common": hyperdrive_api$$response$$common, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_result_info": hyperdrive_result_info, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, annotations: { @@ -549,32 +586,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "hyperdrive_api-response-collection": hyperdrive_api_response_collection_output, - "hyperdrive_api-response-common": hyperdrive_api_response_common_output, - "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_result_info": hyperdrive_result_info_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-collection": hyperdrive_api$$response$$collection, + "hyperdrive_api-response-common": hyperdrive_api$$response$$common, + "hyperdrive_api-response-common-failure": hyperdrive_api$$response$$common$$failure, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_result_info": hyperdrive_result_info, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/hyperdrive/configs`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -585,39 +622,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." - }, "body": { "$ref": "#/$defs/hyperdrive_hyperdrive-config" }, - "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The Cloudflare account ID." + }, + "hyperdrive_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The unique identifier of the Hyperdrive configuration." + } + }, + "required": [ + "account_id", + "hyperdrive_id" + ], + "type": "object" } }, required: [ - "account_id", - "hyperdrive_id", + "path", "body" ], $defs: { - "hyperdrive_hyperdrive-caching": hyperdrive_hyperdrive_caching, - "hyperdrive_hyperdrive-caching-common": hyperdrive_hyperdrive_caching_common, - "hyperdrive_hyperdrive-caching-disabled": hyperdrive_hyperdrive_caching_disabled, - "hyperdrive_hyperdrive-caching-enabled": hyperdrive_hyperdrive_caching_enabled, - "hyperdrive_hyperdrive-config": hyperdrive_hyperdrive_config, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme, - "hyperdrive_identifier": hyperdrive_identifier, - "hyperdrive_internet-origin": hyperdrive_internet_origin, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin, + "hyperdrive_hyperdrive-caching": hyperdrive_hyperdrive$$caching, + "hyperdrive_hyperdrive-caching-common": hyperdrive_hyperdrive$$caching$$common, + "hyperdrive_hyperdrive-caching-disabled": hyperdrive_hyperdrive$$caching$$disabled, + "hyperdrive_hyperdrive-caching-enabled": hyperdrive_hyperdrive$$caching$$enabled, + "hyperdrive_hyperdrive-config": hyperdrive_hyperdrive$$config, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full$, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls$, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name$, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit$, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full$, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme$, + "hyperdrive_identifier": hyperdrive_identifier$, + "hyperdrive_internet-origin": hyperdrive_internet$$origin$, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin$, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin$, }, }, outputSchema: { @@ -635,22 +680,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, annotations: { @@ -706,23 +751,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-common-failure": hyperdrive_api$$response$$common$$failure, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, request: (args) => ({ @@ -737,21 +782,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." - }, - "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The Cloudflare account ID." + }, + "hyperdrive_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The unique identifier of the Hyperdrive configuration." + } + }, + "required": [ + "account_id", + "hyperdrive_id" + ], + "type": "object" } }, required: [ - "account_id", - "hyperdrive_id" + "path" ], $defs: { - "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_identifier": hyperdrive_identifier$, }, }, outputSchema: { @@ -769,22 +822,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, annotations: { @@ -823,23 +876,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, - "hyperdrive_api-response-single": hyperdrive_api_response_single_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-common-failure": hyperdrive_api$$response$$common$$failure, + "hyperdrive_api-response-single": hyperdrive_api$$response$$single, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, request: (args) => ({ @@ -853,37 +906,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." - }, "body": { "$ref": "#/$defs/hyperdrive_hyperdrive-config-patch" }, - "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The Cloudflare account ID." + }, + "hyperdrive_id": { + "$ref": "#/$defs/hyperdrive_identifier", + "description": "The unique identifier of the Hyperdrive configuration." + } + }, + "required": [ + "account_id", + "hyperdrive_id" + ], + "type": "object" } }, required: [ - "account_id", - "hyperdrive_id", + "path", "body" ], $defs: { - "hyperdrive_hyperdrive-caching": hyperdrive_hyperdrive_caching, - "hyperdrive_hyperdrive-caching-common": hyperdrive_hyperdrive_caching_common, - "hyperdrive_hyperdrive-caching-disabled": hyperdrive_hyperdrive_caching_disabled, - "hyperdrive_hyperdrive-caching-enabled": hyperdrive_hyperdrive_caching_enabled, - "hyperdrive_hyperdrive-config-patch": hyperdrive_hyperdrive_config_patch, - "hyperdrive_hyperdrive-database": hyperdrive_hyperdrive_database, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme, - "hyperdrive_identifier": hyperdrive_identifier, - "hyperdrive_internet-origin": hyperdrive_internet_origin, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin, + "hyperdrive_hyperdrive-caching": hyperdrive_hyperdrive$$caching, + "hyperdrive_hyperdrive-caching-common": hyperdrive_hyperdrive$$caching$$common, + "hyperdrive_hyperdrive-caching-disabled": hyperdrive_hyperdrive$$caching$$disabled, + "hyperdrive_hyperdrive-caching-enabled": hyperdrive_hyperdrive$$caching$$enabled, + "hyperdrive_hyperdrive-config-patch": hyperdrive_hyperdrive$$config$$patch, + "hyperdrive_hyperdrive-database": hyperdrive_hyperdrive$$database, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls$, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit$, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme$, + "hyperdrive_identifier": hyperdrive_identifier$, + "hyperdrive_internet-origin": hyperdrive_internet$$origin$, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin$, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin$, }, }, outputSchema: { @@ -901,22 +962,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "hyperdrive_api-response-common": hyperdrive_api_response_common_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-common": hyperdrive_api$$response$$common, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, annotations: { @@ -972,23 +1033,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "hyperdrive_api-response-common": hyperdrive_api_response_common_output, - "hyperdrive_api-response-common-failure": hyperdrive_api_response_common_failure_output, - "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive_caching_response_output, - "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive_config_response_output, - "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive_database_full_output, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive_integration_provider_output, - "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive_mtls_output, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive_name_output, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive_origin_connection_limit_output, - "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive_origin_full_output, - "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive_planet_scale_integration_output, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive_scheme_output, - "hyperdrive_identifier": hyperdrive_identifier_output, - "hyperdrive_internet-origin": hyperdrive_internet_origin_output, - "hyperdrive_messages": hyperdrive_messages_output, - "hyperdrive_over-access-origin": hyperdrive_over_access_origin_output, - "hyperdrive_vpc-service-origin": hyperdrive_vpc_service_origin_output, + "hyperdrive_api-response-common": hyperdrive_api$$response$$common, + "hyperdrive_api-response-common-failure": hyperdrive_api$$response$$common$$failure, + "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, + "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, + "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, + "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, + "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, + "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, + "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, + "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, + "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, + "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, + "hyperdrive_identifier": hyperdrive_identifier, + "hyperdrive_internet-origin": hyperdrive_internet$$origin, + "hyperdrive_messages": hyperdrive_messages, + "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, + "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/iam/oauthClients/outputs.ts b/src/generated/forge-mcp/iam/oauthClients/outputs.ts index f3a82b158..90f25d0d8 100644 --- a/src/generated/forge-mcp/iam/oauthClients/outputs.ts +++ b/src/generated/forge-mcp/iam/oauthClients/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_collection_oauth_client_response` in responses. */ -export const iam_collection_oauth_client_response_output: JsonSchema = { +export const iam_collection_oauth_client_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -28,7 +28,7 @@ export const iam_collection_oauth_client_response_output: JsonSchema = { /** * The schema of `iam_oauth_client` in responses. */ -export const iam_oauth_client_output: JsonSchema = { +export const iam_oauth_client: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_oauth_client_common" @@ -76,7 +76,7 @@ export const iam_oauth_client_output: JsonSchema = { /** * The schema of `iam_oauth_client_common` in responses. */ -export const iam_oauth_client_common_output: JsonSchema = { +export const iam_oauth_client_common: JsonSchema = { "properties": { "allowed_cors_origins": { "items": { @@ -139,7 +139,7 @@ export const iam_oauth_client_common_output: JsonSchema = { /** * The schema of `iam_oauth_client_grant_types` in responses. */ -export const iam_oauth_client_grant_types_output: JsonSchema = { +export const iam_oauth_client_grant_types: JsonSchema = { "items": { "enum": [ "authorization_code", @@ -153,14 +153,14 @@ export const iam_oauth_client_grant_types_output: JsonSchema = { /** * The schema of `iam_oauth_client_identifier` in responses. */ -export const iam_oauth_client_identifier_output: JsonSchema = { +export const iam_oauth_client_identifier: JsonSchema = { "type": "string" }; /** * The schema of `iam_oauth_client_response_types` in responses. */ -export const iam_oauth_client_response_types_output: JsonSchema = { +export const iam_oauth_client_response_types: JsonSchema = { "items": { "enum": [ "token", @@ -175,7 +175,7 @@ export const iam_oauth_client_response_types_output: JsonSchema = { /** * The schema of `iam_oauth_client_rotate_secret_response` in responses. */ -export const iam_oauth_client_rotate_secret_response_output: JsonSchema = { +export const iam_oauth_client_rotate_secret_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -199,7 +199,7 @@ export const iam_oauth_client_rotate_secret_response_output: JsonSchema = { /** * The schema of `iam_oauth_client_token_endpoint_auth_method` in responses. */ -export const iam_oauth_client_token_endpoint_auth_method_output: JsonSchema = { +export const iam_oauth_client_token_endpoint_auth_method: JsonSchema = { "enum": [ "none", "client_secret_basic", @@ -211,7 +211,7 @@ export const iam_oauth_client_token_endpoint_auth_method_output: JsonSchema = { /** * The schema of `iam_oauth_client_uri_verification` in responses. */ -export const iam_oauth_client_uri_verification_output: JsonSchema = { +export const iam_oauth_client_uri_verification: JsonSchema = { "properties": { "status": { "enum": [ @@ -232,7 +232,7 @@ export const iam_oauth_client_uri_verification_output: JsonSchema = { /** * The schema of `iam_oauth_client_with_secret` in responses. */ -export const iam_oauth_client_with_secret_output: JsonSchema = { +export const iam_oauth_client_with_secret: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_oauth_client" @@ -251,7 +251,7 @@ export const iam_oauth_client_with_secret_output: JsonSchema = { /** * The schema of `iam_single_oauth_client_create_response` in responses. */ -export const iam_single_oauth_client_create_response_output: JsonSchema = { +export const iam_single_oauth_client_create_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -270,7 +270,7 @@ export const iam_single_oauth_client_create_response_output: JsonSchema = { /** * The schema of `iam_single_oauth_client_response` in responses. */ -export const iam_single_oauth_client_response_output: JsonSchema = { +export const iam_single_oauth_client_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" diff --git a/src/generated/forge-mcp/iam/oauthClients/tools.ts b/src/generated/forge-mcp/iam/oauthClients/tools.ts index 13932e26a..88b8452ad 100644 --- a/src/generated/forge-mcp/iam/oauthClients/tools.ts +++ b/src/generated/forge-mcp/iam/oauthClients/tools.ts @@ -3,89 +3,97 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_id_output, - iam_api_response_single_output, - iam_common_components_schemas_identifier_output, - iam_messages_2_output, - iam_result_info_output, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_api$$response$$single$$id, + iam_common_components$$schemas$$identifier, + iam_messages$$2, + iam_result_info, } from "../../outputs.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, } from "../../schemas.js"; import { - iam_collection_oauth_client_response_output, - iam_oauth_client_common_output, - iam_oauth_client_grant_types_output, - iam_oauth_client_identifier_output, - iam_oauth_client_output, - iam_oauth_client_response_types_output, - iam_oauth_client_rotate_secret_response_output, - iam_oauth_client_token_endpoint_auth_method_output, - iam_oauth_client_uri_verification_output, - iam_oauth_client_with_secret_output, - iam_single_oauth_client_create_response_output, - iam_single_oauth_client_response_output, -} from "./outputs.js"; -import { + iam_collection_oauth_client_response, + iam_oauth_client, iam_oauth_client_common, - iam_oauth_client_create_request, iam_oauth_client_grant_types, iam_oauth_client_identifier, iam_oauth_client_response_types, + iam_oauth_client_rotate_secret_response, iam_oauth_client_token_endpoint_auth_method, + iam_oauth_client_uri_verification, + iam_oauth_client_with_secret, + iam_single_oauth_client_create_response, + iam_single_oauth_client_response, +} from "./outputs.js"; +import { + iam_oauth_client_common as iam_oauth_client_common$, + iam_oauth_client_create_request, + iam_oauth_client_grant_types as iam_oauth_client_grant_types$, + iam_oauth_client_identifier as iam_oauth_client_identifier$, + iam_oauth_client_response_types as iam_oauth_client_response_types$, + iam_oauth_client_token_endpoint_auth_method as iam_oauth_client_token_endpoint_auth_method$, iam_oauth_client_update_request, } from "./schemas.js"; /** - * The tools of `iam.oauth_clients`. + * The tools of `iam.oauthClients`. */ export const tools: readonly Tool[] = [ { - name: "iam_oauth_clients_create", + name: "iam_oauthClients_create", title: "Create OAuth Client", description: "Create a new OAuth client for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_oauth_client_create_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_oauth_client_create_request": iam_oauth_client_create_request, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types$, + "iam_oauth_client_response_types": iam_oauth_client_response_types$, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_oauth_client_create_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client": iam_oauth_client_output, - "iam_oauth_client_common": iam_oauth_client_common_output, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, - "iam_oauth_client_identifier": iam_oauth_client_identifier_output, - "iam_oauth_client_response_types": iam_oauth_client_response_types_output, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, - "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, - "iam_oauth_client_with_secret": iam_oauth_client_with_secret_output, - "iam_single_oauth_client_create_response": iam_single_oauth_client_create_response_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client": iam_oauth_client, + "iam_oauth_client_common": iam_oauth_client_common, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types, + "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_oauth_client_response_types": iam_oauth_client_response_types, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, + "iam_oauth_client_with_secret": iam_oauth_client_with_secret, + "iam_single_oauth_client_create_response": iam_single_oauth_client_create_response, }, }, annotations: { @@ -123,18 +131,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client": iam_oauth_client_output, - "iam_oauth_client_common": iam_oauth_client_common_output, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, - "iam_oauth_client_identifier": iam_oauth_client_identifier_output, - "iam_oauth_client_response_types": iam_oauth_client_response_types_output, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, - "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, - "iam_oauth_client_with_secret": iam_oauth_client_with_secret_output, - "iam_single_oauth_client_create_response": iam_single_oauth_client_create_response_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client": iam_oauth_client, + "iam_oauth_client_common": iam_oauth_client_common, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types, + "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_oauth_client_response_types": iam_oauth_client_response_types, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, + "iam_oauth_client_with_secret": iam_oauth_client_with_secret, + "iam_single_oauth_client_create_response": iam_single_oauth_client_create_response, }, }, request: (args) => ({ @@ -143,38 +151,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_oauth_clients_delete", + name: "iam_oauthClients_delete", title: "Delete OAuth Client", description: "Delete an OAuth client.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "oauth_client_id": { + "$ref": "#/$defs/iam_oauth_client_identifier", + "description": "The unique identifier for an OAuth client." + } + }, + "required": [ + "account_id", + "oauth_client_id" + ], + "type": "object" } }, required: [ - "account_id", - "oauth_client_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_oauth_client_identifier": iam_oauth_client_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -212,11 +228,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -224,38 +240,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_oauth_clients_delete_rotated_secret", + name: "iam_oauthClients_deleteRotatedSecret", title: "Delete Rotated OAuth Client Secret", description: "Removes the old client secret after a rotation, keeping only the new one. Use this after you have updated your client configuration to use the new secret. The `has_rotated_secret` field on the client indicates whether there is an old secret to delete.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "oauth_client_id": { + "$ref": "#/$defs/iam_oauth_client_identifier", + "description": "The unique identifier for an OAuth client." + } + }, + "required": [ + "account_id", + "oauth_client_id" + ], + "type": "object" } }, required: [ - "account_id", - "oauth_client_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_oauth_client_identifier": iam_oauth_client_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -293,11 +317,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -305,44 +329,52 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_oauth_clients_get", + name: "iam_oauthClients_get", title: "OAuth Client Details", description: "Get details of a specific OAuth client.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "oauth_client_id": { + "$ref": "#/$defs/iam_oauth_client_identifier", + "description": "The unique identifier for an OAuth client." + } + }, + "required": [ + "account_id", + "oauth_client_id" + ], + "type": "object" } }, required: [ - "account_id", - "oauth_client_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_oauth_client_identifier": iam_oauth_client_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_oauth_client_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client": iam_oauth_client_output, - "iam_oauth_client_common": iam_oauth_client_common_output, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, - "iam_oauth_client_identifier": iam_oauth_client_identifier_output, - "iam_oauth_client_response_types": iam_oauth_client_response_types_output, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, - "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, - "iam_single_oauth_client_response": iam_single_oauth_client_response_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client": iam_oauth_client, + "iam_oauth_client_common": iam_oauth_client_common, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types, + "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_oauth_client_response_types": iam_oauth_client_response_types, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, + "iam_single_oauth_client_response": iam_single_oauth_client_response, }, }, annotations: { @@ -380,17 +412,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client": iam_oauth_client_output, - "iam_oauth_client_common": iam_oauth_client_common_output, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, - "iam_oauth_client_identifier": iam_oauth_client_identifier_output, - "iam_oauth_client_response_types": iam_oauth_client_response_types_output, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, - "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, - "iam_single_oauth_client_response": iam_single_oauth_client_response_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client": iam_oauth_client, + "iam_oauth_client_common": iam_oauth_client_common, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types, + "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_oauth_client_response_types": iam_oauth_client_response_types, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, + "iam_single_oauth_client_response": iam_single_oauth_client_response, }, }, request: (args) => ({ @@ -398,40 +430,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_oauth_clients_list", + name: "iam_oauthClients_list", title: "List OAuth Clients", description: "List all OAuth clients for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_collection_oauth_client_response", $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_collection_oauth_client_response": iam_collection_oauth_client_response_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client": iam_oauth_client_output, - "iam_oauth_client_common": iam_oauth_client_common_output, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, - "iam_oauth_client_identifier": iam_oauth_client_identifier_output, - "iam_oauth_client_response_types": iam_oauth_client_response_types_output, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, - "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_collection_oauth_client_response": iam_collection_oauth_client_response, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client": iam_oauth_client, + "iam_oauth_client_common": iam_oauth_client_common, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types, + "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_oauth_client_response_types": iam_oauth_client_response_types, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, + "iam_result_info": iam_result_info, }, }, annotations: { @@ -469,19 +509,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_collection_oauth_client_response": iam_collection_oauth_client_response_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client": iam_oauth_client_output, - "iam_oauth_client_common": iam_oauth_client_common_output, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, - "iam_oauth_client_identifier": iam_oauth_client_identifier_output, - "iam_oauth_client_response_types": iam_oauth_client_response_types_output, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, - "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_collection_oauth_client_response": iam_collection_oauth_client_response, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client": iam_oauth_client, + "iam_oauth_client_common": iam_oauth_client_common, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types, + "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_oauth_client_response_types": iam_oauth_client_response_types, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, + "iam_result_info": iam_result_info, }, }, request: (args) => ({ @@ -489,37 +529,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_oauth_clients_rotate_secret", + name: "iam_oauthClients_rotateSecret", title: "Rotate OAuth Client Secret", description: "Creates a second client secret so you can update your client configuration before deleting the old one. The `has_rotated_secret` field on the client will be set to `true`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "oauth_client_id": { + "$ref": "#/$defs/iam_oauth_client_identifier", + "description": "The unique identifier for an OAuth client." + } + }, + "required": [ + "account_id", + "oauth_client_id" + ], + "type": "object" } }, required: [ - "account_id", - "oauth_client_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_oauth_client_identifier": iam_oauth_client_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_oauth_client_rotate_secret_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client_rotate_secret_response": iam_oauth_client_rotate_secret_response_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client_rotate_secret_response": iam_oauth_client_rotate_secret_response, }, }, annotations: { @@ -557,10 +605,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client_rotate_secret_response": iam_oauth_client_rotate_secret_response_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client_rotate_secret_response": iam_oauth_client_rotate_secret_response, }, }, request: (args) => ({ @@ -568,53 +616,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_oauth_clients_update", + name: "iam_oauthClients_update", title: "Update OAuth Client", description: "Update an existing OAuth client. Only include fields you want to update.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_oauth_client_update_request" }, - "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "oauth_client_id": { + "$ref": "#/$defs/iam_oauth_client_identifier", + "description": "The unique identifier for an OAuth client." + } + }, + "required": [ + "account_id", + "oauth_client_id" + ], + "type": "object" } }, required: [ - "account_id", - "oauth_client_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_oauth_client_common": iam_oauth_client_common, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_identifier": iam_oauth_client_identifier, - "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_oauth_client_common": iam_oauth_client_common$, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types$, + "iam_oauth_client_identifier": iam_oauth_client_identifier$, + "iam_oauth_client_response_types": iam_oauth_client_response_types$, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method$, "iam_oauth_client_update_request": iam_oauth_client_update_request, }, }, outputSchema: { "$ref": "#/$defs/iam_single_oauth_client_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client": iam_oauth_client_output, - "iam_oauth_client_common": iam_oauth_client_common_output, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, - "iam_oauth_client_identifier": iam_oauth_client_identifier_output, - "iam_oauth_client_response_types": iam_oauth_client_response_types_output, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, - "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, - "iam_single_oauth_client_response": iam_single_oauth_client_response_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client": iam_oauth_client, + "iam_oauth_client_common": iam_oauth_client_common, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types, + "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_oauth_client_response_types": iam_oauth_client_response_types, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, + "iam_single_oauth_client_response": iam_single_oauth_client_response, }, }, annotations: { @@ -652,17 +708,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_client": iam_oauth_client_output, - "iam_oauth_client_common": iam_oauth_client_common_output, - "iam_oauth_client_grant_types": iam_oauth_client_grant_types_output, - "iam_oauth_client_identifier": iam_oauth_client_identifier_output, - "iam_oauth_client_response_types": iam_oauth_client_response_types_output, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method_output, - "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification_output, - "iam_single_oauth_client_response": iam_single_oauth_client_response_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_oauth_client": iam_oauth_client, + "iam_oauth_client_common": iam_oauth_client_common, + "iam_oauth_client_grant_types": iam_oauth_client_grant_types, + "iam_oauth_client_identifier": iam_oauth_client_identifier, + "iam_oauth_client_response_types": iam_oauth_client_response_types, + "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, + "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, + "iam_single_oauth_client_response": iam_single_oauth_client_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/iam/oauthScopes/outputs.ts b/src/generated/forge-mcp/iam/oauthScopes/outputs.ts index 26f377138..777b70cd2 100644 --- a/src/generated/forge-mcp/iam/oauthScopes/outputs.ts +++ b/src/generated/forge-mcp/iam/oauthScopes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_collection_oauth_scopes_response` in responses. */ -export const iam_collection_oauth_scopes_response_output: JsonSchema = { +export const iam_collection_oauth_scopes_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -28,7 +28,7 @@ export const iam_collection_oauth_scopes_response_output: JsonSchema = { /** * The schema of `iam_oauth_scope` in responses. */ -export const iam_oauth_scope_output: JsonSchema = { +export const iam_oauth_scope: JsonSchema = { "properties": { "category": { "type": "string" diff --git a/src/generated/forge-mcp/iam/oauthScopes/tools.ts b/src/generated/forge-mcp/iam/oauthScopes/tools.ts index 4b9d95bb5..c8f4ea65f 100644 --- a/src/generated/forge-mcp/iam/oauthScopes/tools.ts +++ b/src/generated/forge-mcp/iam/oauthScopes/tools.ts @@ -3,23 +3,23 @@ import type { Tool } from "../../_/tool.js"; import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_messages_2_output, - iam_result_info_output, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_messages$$2, + iam_result_info, } from "../../outputs.js"; import { - iam_collection_oauth_scopes_response_output, - iam_oauth_scope_output, + iam_collection_oauth_scopes_response, + iam_oauth_scope, } from "./outputs.js"; /** - * The tools of `iam.oauth_scopes`. + * The tools of `iam.oauthScopes`. */ export const tools: readonly Tool[] = [ { - name: "iam_oauth_scopes_list", + name: "iam_oauthScopes_list", title: "List OAuth Scopes", description: "List all available OAuth scopes. This endpoint requires authentication but has no authorization role requirements.", inputSchema: { @@ -29,12 +29,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/iam_collection_oauth_scopes_response", $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_collection_oauth_scopes_response": iam_collection_oauth_scopes_response_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_scope": iam_oauth_scope_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_collection_oauth_scopes_response": iam_collection_oauth_scopes_response, + "iam_messages-2": iam_messages$$2, + "iam_oauth_scope": iam_oauth_scope, + "iam_result_info": iam_result_info, }, }, annotations: { @@ -64,13 +64,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_collection_oauth_scopes_response": iam_collection_oauth_scopes_response_output, - "iam_messages-2": iam_messages_2_output, - "iam_oauth_scope": iam_oauth_scope_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_collection_oauth_scopes_response": iam_collection_oauth_scopes_response, + "iam_messages-2": iam_messages$$2, + "iam_oauth_scope": iam_oauth_scope, + "iam_result_info": iam_result_info, }, }, request: (_args) => ({ diff --git a/src/generated/forge-mcp/iam/permissionGroups/outputs.ts b/src/generated/forge-mcp/iam/permissionGroups/outputs.ts index 1f99b1f59..0560c6988 100644 --- a/src/generated/forge-mcp/iam/permissionGroups/outputs.ts +++ b/src/generated/forge-mcp/iam/permissionGroups/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_collection_permission_groups_response` in responses. */ -export const iam_collection_permission_groups_response_output: JsonSchema = { +export const iam_collection_permission_groups_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -25,7 +25,7 @@ export const iam_collection_permission_groups_response_output: JsonSchema = { /** * The schema of `iam_single_permission_groups_response` in responses. */ -export const iam_single_permission_groups_response_output: JsonSchema = { +export const iam_single_permission_groups_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" diff --git a/src/generated/forge-mcp/iam/permissionGroups/tools.ts b/src/generated/forge-mcp/iam/permissionGroups/tools.ts index 4a654c9df..dc1b51054 100644 --- a/src/generated/forge-mcp/iam/permissionGroups/tools.ts +++ b/src/generated/forge-mcp/iam/permissionGroups/tools.ts @@ -1,64 +1,72 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_output, - iam_messages_2_output, - iam_permission_group_output, - iam_permission_groups_output, - iam_result_info_output, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_messages$$2, + iam_permission_group, + iam_permission_groups, + iam_result_info, } from "../../outputs.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier, } from "../../schemas.js"; import { iam_permission_group_identifier } from "../schemas.js"; import { - iam_collection_permission_groups_response_output, - iam_single_permission_groups_response_output, + iam_collection_permission_groups_response, + iam_single_permission_groups_response, } from "./outputs.js"; /** - * The tools of `iam.permission_groups`. + * The tools of `iam.permissionGroups`. */ export const tools: readonly Tool[] = [ { - name: "iam_permission_groups_get", + name: "iam_permissionGroups_get", title: "Permission Group Details", description: "Get information about a specific permission group in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "permission_group_id": { - "$ref": "#/$defs/iam_permission_group_identifier", - "description": "Permission Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "permission_group_id": { + "$ref": "#/$defs/iam_permission_group_identifier", + "description": "Permission Group identifier tag." + } + }, + "required": [ + "account_id", + "permission_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "permission_group_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_permission_group_identifier": iam_permission_group_identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_single_permission_groups_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_single_permission_groups_response": iam_single_permission_groups_response_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_single_permission_groups_response": iam_single_permission_groups_response, }, }, annotations: { @@ -124,11 +132,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_single_permission_groups_response": iam_single_permission_groups_response_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_single_permission_groups_response": iam_single_permission_groups_response, }, }, request: (args) => ({ @@ -136,57 +144,70 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_permission_groups_list", + name: "iam_permissionGroups_list", title: "List Account Permission Groups", description: "List all the permissions groups for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "id": { - "description": "ID of the permission group to be fetched.", - "type": "string" - }, - "label": { - "description": "Label of the permission group to be fetched.", - "type": "string" - }, - "name": { - "description": "Name of the permission group to be fetched.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "number" + "query": { + "properties": { + "id": { + "description": "ID of the permission group to be fetched.", + "type": "string" + }, + "label": { + "description": "Label of the permission group to be fetched.", + "type": "string" + }, + "name": { + "description": "Name of the permission group to be fetched.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_collection_permission_groups_response", $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_collection_permission_groups_response": iam_collection_permission_groups_response_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_collection_permission_groups_response": iam_collection_permission_groups_response, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_result_info": iam_result_info, }, }, annotations: { @@ -252,24 +273,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_collection_permission_groups_response": iam_collection_permission_groups_response_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_collection_permission_groups_response": iam_collection_permission_groups_response, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_result_info": iam_result_info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/permission_groups`, query: [ - ["id", args["id"], true], - ["name", args["name"], true], - ["label", args["label"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["id", param(args, "query", "id"), true], + ["name", param(args, "query", "name"), true], + ["label", param(args, "query", "label"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/iam/resourceGroups/schemas.ts b/src/generated/forge-mcp/iam/resourceGroups/schemas.ts index 904222783..4fe0a5b2a 100644 --- a/src/generated/forge-mcp/iam/resourceGroups/schemas.ts +++ b/src/generated/forge-mcp/iam/resourceGroups/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_create-scope`. */ -export const iam_create_scope: JsonSchema = { +export const iam_create$$scope: JsonSchema = { "description": "A scope is a combination of scope objects which provides additional context.", "properties": { "key": { diff --git a/src/generated/forge-mcp/iam/resourceGroups/tools.ts b/src/generated/forge-mcp/iam/resourceGroups/tools.ts index 0e19cff65..b22cbc966 100644 --- a/src/generated/forge-mcp/iam/resourceGroups/tools.ts +++ b/src/generated/forge-mcp/iam/resourceGroups/tools.ts @@ -1,61 +1,69 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_id_output, - iam_api_response_single_output, - iam_common_components_schemas_identifier_output, - iam_messages_2_output, - iam_resource_group_output, - iam_scope_key_output, - iam_scope_object_key_output, - iam_scope_object_output, - iam_scope_output, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_api$$response$$single$$id, + iam_common_components$$schemas$$identifier, + iam_messages$$2, + iam_resource_group, + iam_scope, + iam_scope_key, + iam_scope_object, + iam_scope_object_key, } from "../../outputs.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, } from "../../schemas.js"; import { iam_resource_group_identifier } from "../schemas.js"; import { + iam_create$$scope, iam_create_resource_group_scope_scope_key, iam_create_resource_group_scope_scope_object, iam_create_resource_group_scope_scope_object_key, - iam_create_scope, iam_request_create_resource_group, iam_request_update_resource_group, } from "./schemas.js"; /** - * The tools of `iam.resource_groups`. + * The tools of `iam.resourceGroups`. */ export const tools: readonly Tool[] = [ { - name: "iam_resource_groups_create", + name: "iam_resourceGroups_create", title: "Create Resource Group", description: "Create a new Resource Group under the specified account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_request_create_resource_group" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_create-scope": iam_create_scope, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_create-scope": iam_create$$scope, "iam_create_resource_group_scope_scope_key": iam_create_resource_group_scope_scope_key, "iam_create_resource_group_scope_scope_object": iam_create_resource_group_scope_scope_object, "iam_create_resource_group_scope_scope_object_key": iam_create_resource_group_scope_scope_object_key, @@ -77,13 +85,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_resource_group": iam_resource_group_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_resource_group": iam_resource_group, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -134,14 +142,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_resource_group": iam_resource_group_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_resource_group": iam_resource_group, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ @@ -150,38 +158,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_resource_groups_delete", + name: "iam_resourceGroups_delete", title: "Remove Resource Group", description: "Remove a resource group from an account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "resource_group_id": { - "$ref": "#/$defs/iam_resource_group_identifier", - "description": "Resource Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "resource_group_id": { + "$ref": "#/$defs/iam_resource_group_identifier", + "description": "Resource Group identifier tag." + } + }, + "required": [ + "account_id", + "resource_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "resource_group_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_resource_group_identifier": iam_resource_group_identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -220,11 +236,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -232,28 +248,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_resource_groups_get", + name: "iam_resourceGroups_get", title: "Resource Group Details", description: "Get information about a specific resource group in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "resource_group_id": { - "$ref": "#/$defs/iam_resource_group_identifier", - "description": "Resource Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "resource_group_id": { + "$ref": "#/$defs/iam_resource_group_identifier", + "description": "Resource Group identifier tag." + } + }, + "required": [ + "account_id", + "resource_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "resource_group_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_resource_group_identifier": iam_resource_group_identifier, }, }, @@ -272,13 +296,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_resource_group": iam_resource_group_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_resource_group": iam_resource_group, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -330,14 +354,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_resource_group": iam_resource_group_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_resource_group": iam_resource_group, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ @@ -345,31 +369,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_resource_groups_list", + name: "iam_resourceGroups_list", title: "List Resource Groups", description: "List all the resource groups for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "id": { - "$ref": "#/$defs/iam_resource_group_identifier", - "description": "ID of the resource group to be fetched." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "name": { - "description": "Name of the resource group to be fetched.", - "type": "string" + "query": { + "properties": { + "id": { + "$ref": "#/$defs/iam_resource_group_identifier", + "description": "ID of the resource group to be fetched." + }, + "name": { + "description": "Name of the resource group to be fetched.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_resource_group_identifier": iam_resource_group_identifier, }, }, @@ -391,13 +428,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_messages-2": iam_messages_2_output, - "iam_resource_group": iam_resource_group_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_messages-2": iam_messages$$2, + "iam_resource_group": iam_resource_group, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -452,52 +489,60 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_messages-2": iam_messages_2_output, - "iam_resource_group": iam_resource_group_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_messages-2": iam_messages$$2, + "iam_resource_group": iam_resource_group, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/resource_groups`, query: [ - ["id", args["id"], true], - ["name", args["name"], true], + ["id", param(args, "query", "id"), true], + ["name", param(args, "query", "name"), true], ], }), }, { - name: "iam_resource_groups_update", + name: "iam_resourceGroups_update", title: "Update Resource Group", description: "Modify an existing resource group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_request_update_resource_group" }, - "resource_group_id": { - "$ref": "#/$defs/iam_resource_group_identifier", - "description": "Resource Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "resource_group_id": { + "$ref": "#/$defs/iam_resource_group_identifier", + "description": "Resource Group identifier tag." + } + }, + "required": [ + "account_id", + "resource_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "resource_group_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_create-scope": iam_create_scope, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_create-scope": iam_create$$scope, "iam_create_resource_group_scope_scope_key": iam_create_resource_group_scope_scope_key, "iam_create_resource_group_scope_scope_object": iam_create_resource_group_scope_scope_object, "iam_create_resource_group_scope_scope_object_key": iam_create_resource_group_scope_scope_object_key, @@ -520,13 +565,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_resource_group": iam_resource_group_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_resource_group": iam_resource_group, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -577,14 +622,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_resource_group": iam_resource_group_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_resource_group": iam_resource_group, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/iam/sso/outputs.ts b/src/generated/forge-mcp/iam/sso/outputs.ts index 5be64e4f4..2edbc8626 100644 --- a/src/generated/forge-mcp/iam/sso/outputs.ts +++ b/src/generated/forge-mcp/iam/sso/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_dns_verification_code` in responses. */ -export const iam_dns_verification_code_output: JsonSchema = { +export const iam_dns_verification_code: JsonSchema = { "type": "string" }; /** * The schema of `iam_sso_connector` in responses. */ -export const iam_sso_connector_output: JsonSchema = { +export const iam_sso_connector: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -45,7 +45,7 @@ export const iam_sso_connector_output: JsonSchema = { /** * The schema of `iam_sso_connector_collection_response` in responses. */ -export const iam_sso_connector_collection_response_output: JsonSchema = { +export const iam_sso_connector_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -67,14 +67,14 @@ export const iam_sso_connector_collection_response_output: JsonSchema = { /** * The schema of `iam_sso_connector_identifier` in responses. */ -export const iam_sso_connector_identifier_output: JsonSchema = { +export const iam_sso_connector_identifier: JsonSchema = { "$ref": "#/$defs/iam_common_components-schemas-identifier" }; /** * The schema of `iam_sso_connector_response` in responses. */ -export const iam_sso_connector_response_output: JsonSchema = { +export const iam_sso_connector_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -93,7 +93,7 @@ export const iam_sso_connector_response_output: JsonSchema = { /** * The schema of `iam_sso_connector_verification_info` in responses. */ -export const iam_sso_connector_verification_info_output: JsonSchema = { +export const iam_sso_connector_verification_info: JsonSchema = { "properties": { "code": { "$ref": "#/$defs/iam_dns_verification_code" @@ -114,6 +114,6 @@ export const iam_sso_connector_verification_info_output: JsonSchema = { /** * The schema of `iam_use_fedramp_language` in responses. */ -export const iam_use_fedramp_language_output: JsonSchema = { +export const iam_use_fedramp_language: JsonSchema = { "type": "boolean" }; diff --git a/src/generated/forge-mcp/iam/sso/tools.ts b/src/generated/forge-mcp/iam/sso/tools.ts index 91de79a1e..7f0e266f4 100644 --- a/src/generated/forge-mcp/iam/sso/tools.ts +++ b/src/generated/forge-mcp/iam/sso/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_id_output, - iam_api_response_single_output, - iam_common_components_schemas_identifier_output, - iam_messages_2_output, - iam_result_info_output, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_api$$response$$single$$id, + iam_common_components$$schemas$$identifier, + iam_messages$$2, + iam_result_info, } from "../../outputs.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, } from "../../schemas.js"; import { - iam_dns_verification_code_output, - iam_sso_connector_collection_response_output, - iam_sso_connector_identifier_output, - iam_sso_connector_output, - iam_sso_connector_response_output, - iam_sso_connector_verification_info_output, - iam_use_fedramp_language_output, -} from "./outputs.js"; -import { + iam_dns_verification_code, + iam_sso_connector, + iam_sso_connector_collection_response, iam_sso_connector_identifier, + iam_sso_connector_response, + iam_sso_connector_verification_info, iam_use_fedramp_language, +} from "./outputs.js"; +import { + iam_sso_connector_identifier as iam_sso_connector_identifier$, + iam_use_fedramp_language as iam_use_fedramp_language$, } from "./schemas.js"; /** @@ -35,36 +35,44 @@ import { */ export const tools: readonly Tool[] = [ { - name: "iam_sso_begin_verification", + name: "iam_sso_beginVerification", title: "Begin SSO connector verification", description: "Validates the user has added the DNS TXT record required for validating ownership of the domain they are trying to set up a connector for.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "sso_connector_id": { - "$ref": "#/$defs/iam_sso_connector_identifier", - "description": "SSO Connector identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "sso_connector_id": { + "$ref": "#/$defs/iam_sso_connector_identifier", + "description": "SSO Connector identifier tag." + } + }, + "required": [ + "account_id", + "sso_connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "sso_connector_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_sso_connector_identifier": iam_sso_connector_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -97,9 +105,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -113,10 +121,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "begin_verification": { @@ -138,29 +142,41 @@ export const tools: readonly Tool[] = [ "email_domain" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_use_fedramp_language": iam_use_fedramp_language, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_use_fedramp_language": iam_use_fedramp_language$, }, }, outputSchema: { "$ref": "#/$defs/iam_sso_connector_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_dns_verification_code": iam_dns_verification_code_output, - "iam_messages-2": iam_messages_2_output, - "iam_sso_connector": iam_sso_connector_output, - "iam_sso_connector_identifier": iam_sso_connector_identifier_output, - "iam_sso_connector_response": iam_sso_connector_response_output, - "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, - "iam_use_fedramp_language": iam_use_fedramp_language_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_dns_verification_code": iam_dns_verification_code, + "iam_messages-2": iam_messages$$2, + "iam_sso_connector": iam_sso_connector, + "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_sso_connector_response": iam_sso_connector_response, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info, + "iam_use_fedramp_language": iam_use_fedramp_language, }, }, annotations: { @@ -193,16 +209,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_dns_verification_code": iam_dns_verification_code_output, - "iam_messages-2": iam_messages_2_output, - "iam_sso_connector": iam_sso_connector_output, - "iam_sso_connector_identifier": iam_sso_connector_identifier_output, - "iam_sso_connector_response": iam_sso_connector_response_output, - "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, - "iam_use_fedramp_language": iam_use_fedramp_language_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_dns_verification_code": iam_dns_verification_code, + "iam_messages-2": iam_messages$$2, + "iam_sso_connector": iam_sso_connector, + "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_sso_connector_response": iam_sso_connector_response, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info, + "iam_use_fedramp_language": iam_use_fedramp_language, }, }, request: (args) => ({ @@ -217,32 +233,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "sso_connector_id": { - "$ref": "#/$defs/iam_sso_connector_identifier", - "description": "SSO Connector identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "sso_connector_id": { + "$ref": "#/$defs/iam_sso_connector_identifier", + "description": "SSO Connector identifier tag." + } + }, + "required": [ + "account_id", + "sso_connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "sso_connector_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_sso_connector_identifier": iam_sso_connector_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -275,11 +299,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -293,37 +317,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "sso_connector_id": { - "$ref": "#/$defs/iam_sso_connector_identifier", - "description": "SSO Connector identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "sso_connector_id": { + "$ref": "#/$defs/iam_sso_connector_identifier", + "description": "SSO Connector identifier tag." + } + }, + "required": [ + "account_id", + "sso_connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "sso_connector_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_sso_connector_identifier": iam_sso_connector_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_sso_connector_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_dns_verification_code": iam_dns_verification_code_output, - "iam_messages-2": iam_messages_2_output, - "iam_sso_connector": iam_sso_connector_output, - "iam_sso_connector_identifier": iam_sso_connector_identifier_output, - "iam_sso_connector_response": iam_sso_connector_response_output, - "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, - "iam_use_fedramp_language": iam_use_fedramp_language_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_dns_verification_code": iam_dns_verification_code, + "iam_messages-2": iam_messages$$2, + "iam_sso_connector": iam_sso_connector, + "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_sso_connector_response": iam_sso_connector_response, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info, + "iam_use_fedramp_language": iam_use_fedramp_language, }, }, annotations: { @@ -356,16 +388,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_dns_verification_code": iam_dns_verification_code_output, - "iam_messages-2": iam_messages_2_output, - "iam_sso_connector": iam_sso_connector_output, - "iam_sso_connector_identifier": iam_sso_connector_identifier_output, - "iam_sso_connector_response": iam_sso_connector_response_output, - "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, - "iam_use_fedramp_language": iam_use_fedramp_language_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_dns_verification_code": iam_dns_verification_code, + "iam_messages-2": iam_messages$$2, + "iam_sso_connector": iam_sso_connector, + "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_sso_connector_response": iam_sso_connector_response, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info, + "iam_use_fedramp_language": iam_use_fedramp_language, }, }, request: (args) => ({ @@ -379,33 +411,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_sso_connector_collection_response", $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_dns_verification_code": iam_dns_verification_code_output, - "iam_messages-2": iam_messages_2_output, - "iam_result_info": iam_result_info_output, - "iam_sso_connector": iam_sso_connector_output, - "iam_sso_connector_collection_response": iam_sso_connector_collection_response_output, - "iam_sso_connector_identifier": iam_sso_connector_identifier_output, - "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, - "iam_use_fedramp_language": iam_use_fedramp_language_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_dns_verification_code": iam_dns_verification_code, + "iam_messages-2": iam_messages$$2, + "iam_result_info": iam_result_info, + "iam_sso_connector": iam_sso_connector, + "iam_sso_connector_collection_response": iam_sso_connector_collection_response, + "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info, + "iam_use_fedramp_language": iam_use_fedramp_language, }, }, annotations: { @@ -438,18 +478,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_dns_verification_code": iam_dns_verification_code_output, - "iam_messages-2": iam_messages_2_output, - "iam_result_info": iam_result_info_output, - "iam_sso_connector": iam_sso_connector_output, - "iam_sso_connector_collection_response": iam_sso_connector_collection_response_output, - "iam_sso_connector_identifier": iam_sso_connector_identifier_output, - "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, - "iam_use_fedramp_language": iam_use_fedramp_language_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_dns_verification_code": iam_dns_verification_code, + "iam_messages-2": iam_messages$$2, + "iam_result_info": iam_result_info, + "iam_sso_connector": iam_sso_connector, + "iam_sso_connector_collection_response": iam_sso_connector_collection_response, + "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info, + "iam_use_fedramp_language": iam_use_fedramp_language, }, }, request: (args) => ({ @@ -463,10 +503,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "properties": { "enabled": { @@ -481,34 +517,46 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "sso_connector_id": { - "$ref": "#/$defs/iam_sso_connector_identifier", - "description": "SSO Connector identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "sso_connector_id": { + "$ref": "#/$defs/iam_sso_connector_identifier", + "description": "SSO Connector identifier tag." + } + }, + "required": [ + "account_id", + "sso_connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "sso_connector_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_sso_connector_identifier": iam_sso_connector_identifier, - "iam_use_fedramp_language": iam_use_fedramp_language, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_sso_connector_identifier": iam_sso_connector_identifier$, + "iam_use_fedramp_language": iam_use_fedramp_language$, }, }, outputSchema: { "$ref": "#/$defs/iam_sso_connector_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_dns_verification_code": iam_dns_verification_code_output, - "iam_messages-2": iam_messages_2_output, - "iam_sso_connector": iam_sso_connector_output, - "iam_sso_connector_identifier": iam_sso_connector_identifier_output, - "iam_sso_connector_response": iam_sso_connector_response_output, - "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, - "iam_use_fedramp_language": iam_use_fedramp_language_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_dns_verification_code": iam_dns_verification_code, + "iam_messages-2": iam_messages$$2, + "iam_sso_connector": iam_sso_connector, + "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_sso_connector_response": iam_sso_connector_response, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info, + "iam_use_fedramp_language": iam_use_fedramp_language, }, }, annotations: { @@ -541,16 +589,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_dns_verification_code": iam_dns_verification_code_output, - "iam_messages-2": iam_messages_2_output, - "iam_sso_connector": iam_sso_connector_output, - "iam_sso_connector_identifier": iam_sso_connector_identifier_output, - "iam_sso_connector_response": iam_sso_connector_response_output, - "iam_sso_connector_verification_info": iam_sso_connector_verification_info_output, - "iam_use_fedramp_language": iam_use_fedramp_language_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_dns_verification_code": iam_dns_verification_code, + "iam_messages-2": iam_messages$$2, + "iam_sso_connector": iam_sso_connector, + "iam_sso_connector_identifier": iam_sso_connector_identifier, + "iam_sso_connector_response": iam_sso_connector_response, + "iam_sso_connector_verification_info": iam_sso_connector_verification_info, + "iam_use_fedramp_language": iam_use_fedramp_language, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/iam/userGroups/members/outputs.ts b/src/generated/forge-mcp/iam/userGroups/members/outputs.ts index 4e56e3826..33e4022fe 100644 --- a/src/generated/forge-mcp/iam/userGroups/members/outputs.ts +++ b/src/generated/forge-mcp/iam/userGroups/members/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `iam_user_group_member` in responses. */ -export const iam_user_group_member_output: JsonSchema = { +export const iam_user_group_member: JsonSchema = { "properties": { "email": { "$ref": "#/$defs/iam_email" @@ -31,7 +31,7 @@ export const iam_user_group_member_output: JsonSchema = { /** * The schema of `iam_user_group_member_detailed` in responses. */ -export const iam_user_group_member_detailed_output: JsonSchema = { +export const iam_user_group_member_detailed: JsonSchema = { "properties": { "created_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/iam/userGroups/members/tools.ts b/src/generated/forge-mcp/iam/userGroups/members/tools.ts index 8bb1ee212..57be0c408 100644 --- a/src/generated/forge-mcp/iam/userGroups/members/tools.ts +++ b/src/generated/forge-mcp/iam/userGroups/members/tools.ts @@ -1,42 +1,38 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_output, - iam_email_output, - iam_messages_2_output, - iam_result_info_output, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_email, + iam_messages$$2, + iam_result_info, } from "../../../outputs.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier, } from "../../../schemas.js"; import { iam_user_group_identifier } from "../schemas.js"; import { - iam_user_group_member_detailed_output, - iam_user_group_member_output, + iam_user_group_member, + iam_user_group_member_detailed, } from "./outputs.js"; import { iam_user_group_member_identifier } from "./schemas.js"; /** - * The tools of `iam.user_groups.members`. + * The tools of `iam.userGroups.members`. */ export const tools: readonly Tool[] = [ { - name: "iam_user_groups_members_create", + name: "iam_userGroups_members_create", title: "Add User Group Members", description: "Add members to a User Group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "items": { "properties": { @@ -52,19 +48,31 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_group_id": { + "$ref": "#/$defs/iam_user_group_identifier", + "description": "User Group identifier tag." + } + }, + "required": [ + "account_id", + "user_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_group_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_user_group_identifier": iam_user_group_identifier, "iam_user_group_member_identifier": iam_user_group_member_identifier, }, @@ -87,10 +95,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_user_group_member": iam_user_group_member_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_user_group_member": iam_user_group_member, }, }, annotations: { @@ -144,11 +152,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_user_group_member": iam_user_group_member_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_user_group_member": iam_user_group_member, }, }, request: (args) => ({ @@ -157,33 +165,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_user_groups_members_delete", + name: "iam_userGroups_members_delete", title: "Remove User Group Member", description: "Remove a member from User Group\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "member_id": { - "$ref": "#/$defs/iam_user_group_member_identifier", - "description": "The identifier of an existing account Member." - }, - "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "member_id": { + "$ref": "#/$defs/iam_user_group_member_identifier", + "description": "The identifier of an existing account Member." + }, + "user_group_id": { + "$ref": "#/$defs/iam_user_group_identifier", + "description": "User Group identifier tag." + } + }, + "required": [ + "account_id", + "user_group_id", + "member_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_group_id", - "member_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_user_group_identifier": iam_user_group_identifier, "iam_user_group_member_identifier": iam_user_group_member_identifier, }, @@ -203,10 +219,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_user_group_member": iam_user_group_member_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_user_group_member": iam_user_group_member, }, }, annotations: { @@ -257,11 +273,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_user_group_member": iam_user_group_member_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_user_group_member": iam_user_group_member, }, }, request: (args) => ({ @@ -269,33 +285,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_user_groups_members_get", + name: "iam_userGroups_members_get", title: "Get User Group Member", description: "Get details of a specific member in a user group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "member_id": { - "$ref": "#/$defs/iam_user_group_member_identifier", - "description": "The identifier of an existing account Member." - }, - "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "member_id": { + "$ref": "#/$defs/iam_user_group_member_identifier", + "description": "The identifier of an existing account Member." + }, + "user_group_id": { + "$ref": "#/$defs/iam_user_group_identifier", + "description": "User Group identifier tag." + } + }, + "required": [ + "account_id", + "user_group_id", + "member_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_group_id", - "member_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_user_group_identifier": iam_user_group_identifier, "iam_user_group_member_identifier": iam_user_group_member_identifier, }, @@ -315,10 +339,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_user_group_member_detailed": iam_user_group_member_detailed_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_user_group_member_detailed": iam_user_group_member_detailed, }, }, annotations: { @@ -370,11 +394,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_user_group_member_detailed": iam_user_group_member_detailed_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_user_group_member_detailed": iam_user_group_member_detailed, }, }, request: (args) => ({ @@ -382,51 +406,64 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_user_groups_members_list", + name: "iam_userGroups_members_list", title: "List User Group Members", description: "List all the members attached to a user group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "direction": { - "default": "asc", - "description": "The sort order of returned user group members by email.", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_group_id": { + "$ref": "#/$defs/iam_user_group_identifier", + "description": "User Group identifier tag." + } + }, + "required": [ + "account_id", + "user_group_id" ], - "type": "string" - }, - "fuzzy_email": { - "description": "A string used for filtering members by partial email match.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 100, - "description": "Maximum number of results per page.", - "type": "number" + "type": "object" }, - "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "The sort order of returned user group members by email.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "fuzzyEmail": { + "description": "A string used for filtering members by partial email match.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 100, + "description": "Maximum number of results per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", - "user_group_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_user_group_identifier": iam_user_group_identifier, }, }, @@ -448,12 +485,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_result_info": iam_result_info_output, - "iam_user_group_member": iam_user_group_member_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_result_info": iam_result_info, + "iam_user_group_member": iam_user_group_member, }, }, annotations: { @@ -508,36 +545,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_result_info": iam_result_info_output, - "iam_user_group_member": iam_user_group_member_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_result_info": iam_result_info, + "iam_user_group_member": iam_user_group_member, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups/${pathParam(args, "user_group_id")}/members`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["fuzzyEmail", args["fuzzy_email"], true], - ["direction", args["direction"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["fuzzyEmail", param(args, "query", "fuzzyEmail"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, { - name: "iam_user_groups_members_update", + name: "iam_userGroups_members_update", title: "Update User Group Members", description: "Replace the set of members attached to a User Group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "items": { "properties": { @@ -553,19 +586,31 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_group_id": { + "$ref": "#/$defs/iam_user_group_identifier", + "description": "User Group identifier tag." + } + }, + "required": [ + "account_id", + "user_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_group_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_user_group_identifier": iam_user_group_identifier, "iam_user_group_member_identifier": iam_user_group_member_identifier, }, @@ -588,10 +633,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_user_group_member": iam_user_group_member_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_user_group_member": iam_user_group_member, }, }, annotations: { @@ -640,11 +685,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_email": iam_email_output, - "iam_messages-2": iam_messages_2_output, - "iam_user_group_member": iam_user_group_member_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_email": iam_email, + "iam_messages-2": iam_messages$$2, + "iam_user_group_member": iam_user_group_member, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/iam/userGroups/outputs.ts b/src/generated/forge-mcp/iam/userGroups/outputs.ts index f5e11eeb8..b36d30364 100644 --- a/src/generated/forge-mcp/iam/userGroups/outputs.ts +++ b/src/generated/forge-mcp/iam/userGroups/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_user_group` in responses. */ -export const iam_user_group_output: JsonSchema = { +export const iam_user_group: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -55,14 +55,14 @@ export const iam_user_group_output: JsonSchema = { /** * The schema of `iam_user_group_identifier` in responses. */ -export const iam_user_group_identifier_output: JsonSchema = { +export const iam_user_group_identifier: JsonSchema = { "$ref": "#/$defs/iam_common_components-schemas-identifier" }; /** * The schema of `iam_user_groups` in responses. */ -export const iam_user_groups_output: JsonSchema = { +export const iam_user_groups: JsonSchema = { "items": { "$ref": "#/$defs/iam_user_group" }, diff --git a/src/generated/forge-mcp/iam/userGroups/tools.ts b/src/generated/forge-mcp/iam/userGroups/tools.ts index 8b5f28a60..d08a7eeb2 100644 --- a/src/generated/forge-mcp/iam/userGroups/tools.ts +++ b/src/generated/forge-mcp/iam/userGroups/tools.ts @@ -1,77 +1,85 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - iam_access_output, - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_id_output, - iam_api_response_single_output, - iam_common_components_schemas_identifier_output, - iam_messages_2_output, - iam_permission_group_output, - iam_permission_groups_output, - iam_policy_identifier_output, - iam_resource_group_output, - iam_resource_groups_output, - iam_result_info_output, - iam_scope_key_output, - iam_scope_object_key_output, - iam_scope_object_output, - iam_scope_output, + iam_access, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_api$$response$$single$$id, + iam_common_components$$schemas$$identifier, + iam_messages$$2, + iam_permission_group, + iam_permission_groups, + iam_policy_identifier, + iam_resource_group, + iam_resource_groups, + iam_result_info, + iam_scope, + iam_scope_key, + iam_scope_object, + iam_scope_object_key, } from "../../outputs.js"; import { - iam_access, + iam_access as iam_access$, iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, } from "../../schemas.js"; import { iam_permission_group_identifier, iam_resource_group_identifier, } from "../schemas.js"; import { - iam_user_group_identifier_output, - iam_user_group_output, - iam_user_groups_output, + iam_user_group, + iam_user_group_identifier, + iam_user_groups, } from "./outputs.js"; import { iam_create_user_group_body, iam_permission_group_ids, iam_resource_group_ids, iam_update_user_group_body, - iam_user_group_identifier, + iam_user_group_identifier as iam_user_group_identifier$, iam_user_group_policy_write_body, } from "./schemas.js"; /** - * The tools of `iam.user_groups`. + * The tools of `iam.userGroups`. */ export const tools: readonly Tool[] = [ { - name: "iam_user_groups_create", + name: "iam_userGroups_create", title: "Create User Group", description: "Create a new user group under the specified account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_create_user_group_body" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "iam_access": iam_access, + "iam_access": iam_access$, "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_create_user_group_body": iam_create_user_group_body, "iam_permission_group_identifier": iam_permission_group_identifier, "iam_permission_group_ids": iam_permission_group_ids, @@ -95,21 +103,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_user_group": iam_user_group_output, - "iam_user_group_identifier": iam_user_group_identifier_output, + "iam_access": iam_access, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_user_group": iam_user_group, + "iam_user_group_identifier": iam_user_group_identifier, }, }, annotations: { @@ -160,22 +168,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_user_group": iam_user_group_output, - "iam_user_group_identifier": iam_user_group_identifier_output, + "iam_access": iam_access, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_user_group": iam_user_group, + "iam_user_group_identifier": iam_user_group_identifier, }, }, request: (args) => ({ @@ -184,38 +192,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_user_groups_delete", + name: "iam_userGroups_delete", title: "Remove User Group", description: "Remove a user group from an account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_group_id": { + "$ref": "#/$defs/iam_user_group_identifier", + "description": "User Group identifier tag." + } + }, + "required": [ + "account_id", + "user_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_group_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_user_group_identifier": iam_user_group_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_user_group_identifier": iam_user_group_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -254,11 +270,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -266,29 +282,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_user_groups_get", + name: "iam_userGroups_get", title: "User Group Details", description: "Get information about a specific user group in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_group_id": { + "$ref": "#/$defs/iam_user_group_identifier", + "description": "User Group identifier tag." + } + }, + "required": [ + "account_id", + "user_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_group_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_user_group_identifier": iam_user_group_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_user_group_identifier": iam_user_group_identifier$, }, }, outputSchema: { @@ -306,21 +330,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_user_group": iam_user_group_output, - "iam_user_group_identifier": iam_user_group_identifier_output, + "iam_access": iam_access, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_user_group": iam_user_group, + "iam_user_group_identifier": iam_user_group_identifier, }, }, annotations: { @@ -372,22 +396,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_user_group": iam_user_group_output, - "iam_user_group_identifier": iam_user_group_identifier_output, + "iam_access": iam_access, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_user_group": iam_user_group, + "iam_user_group_identifier": iam_user_group_identifier, }, }, request: (args) => ({ @@ -395,55 +419,68 @@ export const tools: readonly Tool[] = [ }), }, { - name: "iam_user_groups_list", + name: "iam_userGroups_list", title: "List User Groups", description: "List all the user groups for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "direction": { - "default": "asc", - "description": "The sort order of returned user groups by name (ascending or descending).", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "fuzzy_name": { - "description": "A string used for searching for user groups containing that substring.", - "type": "string" - }, - "id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "ID of the user group to be fetched." - }, - "name": { - "description": "Name of the user group to be fetched.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" + "type": "object" }, - "per_page": { - "default": 100, - "description": "Maximum number of results per page.", - "type": "number" + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "The sort order of returned user groups by name (ascending or descending).", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "fuzzyName": { + "description": "A string used for searching for user groups containing that substring.", + "type": "string" + }, + "id": { + "$ref": "#/$defs/iam_user_group_identifier", + "description": "ID of the user group to be fetched." + }, + "name": { + "description": "Name of the user group to be fetched.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 100, + "description": "Maximum number of results per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_user_group_identifier": iam_user_group_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, + "iam_user_group_identifier": iam_user_group_identifier$, }, }, outputSchema: { @@ -461,24 +498,24 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access_output, - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_result_info": iam_result_info_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_user_group": iam_user_group_output, - "iam_user_group_identifier": iam_user_group_identifier_output, - "iam_user_groups": iam_user_groups_output, + "iam_access": iam_access, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_result_info": iam_result_info, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_user_group": iam_user_group, + "iam_user_group_identifier": iam_user_group_identifier, + "iam_user_groups": iam_user_groups, }, }, annotations: { @@ -530,73 +567,81 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_result_info": iam_result_info_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_user_group": iam_user_group_output, - "iam_user_group_identifier": iam_user_group_identifier_output, - "iam_user_groups": iam_user_groups_output, + "iam_access": iam_access, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_result_info": iam_result_info, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_user_group": iam_user_group, + "iam_user_group_identifier": iam_user_group_identifier, + "iam_user_groups": iam_user_groups, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/iam/user_groups`, query: [ - ["id", args["id"], true], - ["name", args["name"], true], - ["fuzzyName", args["fuzzy_name"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], + ["id", param(args, "query", "id"), true], + ["name", param(args, "query", "name"), true], + ["fuzzyName", param(args, "query", "fuzzyName"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, { - name: "iam_user_groups_update", + name: "iam_userGroups_update", title: "Update User Group", description: "Modify an existing user group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_update_user_group_body" }, - "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_group_id": { + "$ref": "#/$defs/iam_user_group_identifier", + "description": "User Group identifier tag." + } + }, + "required": [ + "account_id", + "user_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_group_id", + "path", "body" ], $defs: { - "iam_access": iam_access, + "iam_access": iam_access$, "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_permission_group_identifier": iam_permission_group_identifier, "iam_permission_group_ids": iam_permission_group_ids, "iam_resource_group_identifier": iam_resource_group_identifier, "iam_resource_group_ids": iam_resource_group_ids, "iam_update_user_group_body": iam_update_user_group_body, - "iam_user_group_identifier": iam_user_group_identifier, + "iam_user_group_identifier": iam_user_group_identifier$, "iam_user_group_policy_write_body": iam_user_group_policy_write_body, }, }, @@ -615,21 +660,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_user_group": iam_user_group_output, - "iam_user_group_identifier": iam_user_group_identifier_output, + "iam_access": iam_access, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_user_group": iam_user_group, + "iam_user_group_identifier": iam_user_group_identifier, }, }, annotations: { @@ -680,22 +725,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_user_group": iam_user_group_output, - "iam_user_group_identifier": iam_user_group_identifier_output, + "iam_access": iam_access, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_user_group": iam_user_group, + "iam_user_group_identifier": iam_user_group_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/images/flows/tools.ts b/src/generated/forge-mcp/images/flows/tools.ts index d0a57817b..05339147a 100644 --- a/src/generated/forge-mcp/images/flows/tools.ts +++ b/src/generated/forge-mcp/images/flows/tools.ts @@ -14,13 +14,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "description": "Zone identifier.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Zone identifier.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { @@ -749,13 +757,21 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "description": "Zone identifier.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Zone identifier.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/images/import/outputs.ts b/src/generated/forge-mcp/images/import/outputs.ts index fc0876abd..9f25dcd96 100644 --- a/src/generated/forge-mcp/images/import/outputs.ts +++ b/src/generated/forge-mcp/images/import/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `images_sourcingkit_acceptable_content_type` in responses. */ -export const images_sourcingkit_acceptable_content_type_output: JsonSchema = { +export const images_sourcingkit_acceptable_content_type: JsonSchema = { "enum": [ "image/jpeg", "image/png", @@ -22,7 +22,7 @@ export const images_sourcingkit_acceptable_content_type_output: JsonSchema = { /** * The schema of `images_sourcingkit_conflict_behaviour` in responses. */ -export const images_sourcingkit_conflict_behaviour_output: JsonSchema = { +export const images_sourcingkit_conflict_behaviour: JsonSchema = { "enum": [ "skip", "overwrite" @@ -33,7 +33,7 @@ export const images_sourcingkit_conflict_behaviour_output: JsonSchema = { /** * The schema of `images_sourcingkit_migration` in responses. */ -export const images_sourcingkit_migration_output: JsonSchema = { +export const images_sourcingkit_migration: JsonSchema = { "properties": { "conflictBehaviour": { "$ref": "#/$defs/images_sourcingkit_conflict_behaviour" @@ -135,7 +135,7 @@ export const images_sourcingkit_migration_output: JsonSchema = { /** * The schema of `images_sourcingkit_migration_create_response` in responses. */ -export const images_sourcingkit_migration_create_response_output: JsonSchema = { +export const images_sourcingkit_migration_create_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -154,7 +154,7 @@ export const images_sourcingkit_migration_create_response_output: JsonSchema = { /** * The schema of `images_sourcingkit_migration_list_response` in responses. */ -export const images_sourcingkit_migration_list_response_output: JsonSchema = { +export const images_sourcingkit_migration_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-common" @@ -181,7 +181,7 @@ export const images_sourcingkit_migration_list_response_output: JsonSchema = { /** * The schema of `images_sourcingkit_migration_log` in responses. */ -export const images_sourcingkit_migration_log_output: JsonSchema = { +export const images_sourcingkit_migration_log: JsonSchema = { "properties": { "createdAt": { "oneOf": [ @@ -214,7 +214,7 @@ export const images_sourcingkit_migration_log_output: JsonSchema = { /** * The schema of `images_sourcingkit_migration_log_list_response` in responses. */ -export const images_sourcingkit_migration_log_list_response_output: JsonSchema = { +export const images_sourcingkit_migration_log_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-common" @@ -241,7 +241,7 @@ export const images_sourcingkit_migration_log_list_response_output: JsonSchema = /** * The schema of `images_sourcingkit_migration_log_type` in responses. */ -export const images_sourcingkit_migration_log_type_output: JsonSchema = { +export const images_sourcingkit_migration_log_type: JsonSchema = { "enum": [ "default", "importSkippedUnsupportedContentType", @@ -262,7 +262,7 @@ export const images_sourcingkit_migration_log_type_output: JsonSchema = { /** * The schema of `images_sourcingkit_migration_progress_response` in responses. */ -export const images_sourcingkit_migration_progress_response_output: JsonSchema = { +export const images_sourcingkit_migration_progress_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -341,7 +341,7 @@ export const images_sourcingkit_migration_progress_response_output: JsonSchema = /** * The schema of `images_sourcingkit_migration_single_response` in responses. */ -export const images_sourcingkit_migration_single_response_output: JsonSchema = { +export const images_sourcingkit_migration_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -360,7 +360,7 @@ export const images_sourcingkit_migration_single_response_output: JsonSchema = { /** * The schema of `images_sourcingkit_migration_status` in responses. */ -export const images_sourcingkit_migration_status_output: JsonSchema = { +export const images_sourcingkit_migration_status: JsonSchema = { "enum": [ "pending", "processing", diff --git a/src/generated/forge-mcp/images/import/sources/outputs.ts b/src/generated/forge-mcp/images/import/sources/outputs.ts index 1128d1f74..e1e9ee7a9 100644 --- a/src/generated/forge-mcp/images/import/sources/outputs.ts +++ b/src/generated/forge-mcp/images/import/sources/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `images_sourcingkit_connectivity_check_response` in responses. */ -export const images_sourcingkit_connectivity_check_response_output: JsonSchema = { +export const images_sourcingkit_connectivity_check_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -54,7 +54,7 @@ export const images_sourcingkit_connectivity_check_response_output: JsonSchema = /** * The schema of `images_sourcingkit_source` in responses. */ -export const images_sourcingkit_source_output: JsonSchema = { +export const images_sourcingkit_source: JsonSchema = { "properties": { "bucket": { "type": "string" @@ -94,7 +94,7 @@ export const images_sourcingkit_source_output: JsonSchema = { /** * The schema of `images_sourcingkit_source_create_response` in responses. */ -export const images_sourcingkit_source_create_response_output: JsonSchema = { +export const images_sourcingkit_source_create_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -113,7 +113,7 @@ export const images_sourcingkit_source_create_response_output: JsonSchema = { /** * The schema of `images_sourcingkit_source_list_response` in responses. */ -export const images_sourcingkit_source_list_response_output: JsonSchema = { +export const images_sourcingkit_source_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-common" @@ -140,7 +140,7 @@ export const images_sourcingkit_source_list_response_output: JsonSchema = { /** * The schema of `images_sourcingkit_source_single_response` in responses. */ -export const images_sourcingkit_source_single_response_output: JsonSchema = { +export const images_sourcingkit_source_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -159,7 +159,7 @@ export const images_sourcingkit_source_single_response_output: JsonSchema = { /** * The schema of `images_sourcingkit_source_update_response` in responses. */ -export const images_sourcingkit_source_update_response_output: JsonSchema = { +export const images_sourcingkit_source_update_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -178,7 +178,7 @@ export const images_sourcingkit_source_update_response_output: JsonSchema = { /** * The schema of `images_sourcingkit_vendor` in responses. */ -export const images_sourcingkit_vendor_output: JsonSchema = { +export const images_sourcingkit_vendor: JsonSchema = { "enum": [ "s3", "r2" diff --git a/src/generated/forge-mcp/images/import/sources/tools.ts b/src/generated/forge-mcp/images/import/sources/tools.ts index c18844f0d..cdbd5b8d7 100644 --- a/src/generated/forge-mcp/images/import/sources/tools.ts +++ b/src/generated/forge-mcp/images/import/sources/tools.ts @@ -1,30 +1,30 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - images_api_response_common_failure_output, - images_api_response_common_output, - images_api_response_single_output, - images_deleted_response_output, - images_messages_output, + images_api$$response$$common, + images_api$$response$$common$$failure, + images_api$$response$$single, + images_deleted_response, + images_messages, } from "../../outputs.js"; import { images_account_identifier } from "../../schemas.js"; import { images_sourcingkit_identifier } from "../schemas.js"; import { - images_sourcingkit_connectivity_check_response_output, - images_sourcingkit_source_create_response_output, - images_sourcingkit_source_list_response_output, - images_sourcingkit_source_output, - images_sourcingkit_source_single_response_output, - images_sourcingkit_source_update_response_output, - images_sourcingkit_vendor_output, + images_sourcingkit_connectivity_check_response, + images_sourcingkit_source, + images_sourcingkit_source_create_response, + images_sourcingkit_source_list_response, + images_sourcingkit_source_single_response, + images_sourcingkit_source_update_response, + images_sourcingkit_vendor, } from "./outputs.js"; import { images_sourcingkit_connectivity_precheck_request, images_sourcingkit_source_create_request, images_sourcingkit_source_update_request, - images_sourcingkit_vendor, + images_sourcingkit_vendor as images_sourcingkit_vendor$, } from "./schemas.js"; /** @@ -38,18 +38,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "source_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "source_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "source_id" + ], + "type": "object" } }, required: [ - "account_id", - "source_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -59,10 +67,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_connectivity_check_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response, }, }, annotations: { @@ -97,11 +105,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response, }, }, request: (args) => ({ @@ -115,33 +123,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/images_sourcingkit_source_create_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "images_account_identifier": images_account_identifier, "images_sourcingkit_source_create_request": images_sourcingkit_source_create_request, - "images_sourcingkit_vendor": images_sourcingkit_vendor, + "images_sourcingkit_vendor": images_sourcingkit_vendor$, }, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_source_create_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_source": images_sourcingkit_source_output, - "images_sourcingkit_source_create_response": images_sourcingkit_source_create_response_output, - "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_source": images_sourcingkit_source, + "images_sourcingkit_source_create_response": images_sourcingkit_source_create_response, + "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, annotations: { @@ -175,13 +191,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_source": images_sourcingkit_source_output, - "images_sourcingkit_source_create_response": images_sourcingkit_source_create_response_output, - "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_source": images_sourcingkit_source, + "images_sourcingkit_source_create_response": images_sourcingkit_source_create_response, + "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, request: (args) => ({ @@ -196,18 +212,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "source_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "source_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "source_id" + ], + "type": "object" } }, required: [ - "account_id", - "source_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -217,10 +241,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_deleted_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_deleted_response": images_deleted_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_deleted_response": images_deleted_response, + "images_messages": images_messages, }, }, annotations: { @@ -254,11 +278,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_deleted_response": images_deleted_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_deleted_response": images_deleted_response, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -272,18 +296,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "source_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "source_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "source_id" + ], + "type": "object" } }, required: [ - "account_id", - "source_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -293,12 +325,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_source_single_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_source": images_sourcingkit_source_output, - "images_sourcingkit_source_single_response": images_sourcingkit_source_single_response_output, - "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_source": images_sourcingkit_source, + "images_sourcingkit_source_single_response": images_sourcingkit_source_single_response, + "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, annotations: { @@ -333,13 +365,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_source": images_sourcingkit_source_output, - "images_sourcingkit_source_single_response": images_sourcingkit_source_single_response_output, - "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_source": images_sourcingkit_source, + "images_sourcingkit_source_single_response": images_sourcingkit_source_single_response, + "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, request: (args) => ({ @@ -353,27 +385,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "limit": { - "default": 25, - "description": "Maximum number of items to return.", - "type": "integer" - }, - "name": { - "description": "Filter sources by name (partial match).", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "offset": { - "default": 0, - "description": "Number of items to skip before returning results.", - "type": "integer" + "query": { + "properties": { + "limit": { + "default": 25, + "description": "Maximum number of items to return.", + "type": "integer" + }, + "name": { + "description": "Filter sources by name (partial match).", + "type": "string" + }, + "offset": { + "default": 0, + "description": "Number of items to skip before returning results.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -382,11 +427,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_source_list_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_messages": images_messages_output, - "images_sourcingkit_source": images_sourcingkit_source_output, - "images_sourcingkit_source_list_response": images_sourcingkit_source_list_response_output, - "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + "images_api-response-common": images_api$$response$$common, + "images_messages": images_messages, + "images_sourcingkit_source": images_sourcingkit_source, + "images_sourcingkit_source_list_response": images_sourcingkit_source_list_response, + "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, annotations: { @@ -421,55 +466,63 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_messages": images_messages_output, - "images_sourcingkit_source": images_sourcingkit_source_output, - "images_sourcingkit_source_list_response": images_sourcingkit_source_list_response_output, - "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_messages": images_messages, + "images_sourcingkit_source": images_sourcingkit_source, + "images_sourcingkit_source_list_response": images_sourcingkit_source_list_response, + "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/sources`, query: [ - ["offset", args["offset"], true], - ["limit", args["limit"], true], - ["name", args["name"], true], + ["offset", param(args, "query", "offset"), true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], ], }), }, { - name: "images_import_sources_pre_check", + name: "images_import_sources_preCheck", title: "Precheck source connectivity", description: "Check S3 credentials without saving a source.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/images_sourcingkit_connectivity_precheck_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "images_account_identifier": images_account_identifier, "images_sourcingkit_connectivity_precheck_request": images_sourcingkit_connectivity_precheck_request, - "images_sourcingkit_vendor": images_sourcingkit_vendor, + "images_sourcingkit_vendor": images_sourcingkit_vendor$, }, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_connectivity_check_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response, }, }, annotations: { @@ -503,11 +556,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_connectivity_check_response": images_sourcingkit_connectivity_check_response, }, }, request: (args) => ({ @@ -522,21 +575,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/images_sourcingkit_source_update_request" }, - "source_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "source_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "source_id" + ], + "type": "object" } }, required: [ - "account_id", - "source_id", + "path", "body" ], $defs: { @@ -548,12 +609,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_source_update_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_source": images_sourcingkit_source_output, - "images_sourcingkit_source_update_response": images_sourcingkit_source_update_response_output, - "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_source": images_sourcingkit_source, + "images_sourcingkit_source_update_response": images_sourcingkit_source_update_response, + "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, annotations: { @@ -587,13 +648,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_source": images_sourcingkit_source_output, - "images_sourcingkit_source_update_response": images_sourcingkit_source_update_response_output, - "images_sourcingkit_vendor": images_sourcingkit_vendor_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_source": images_sourcingkit_source, + "images_sourcingkit_source_update_response": images_sourcingkit_source_update_response, + "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/images/import/tools.ts b/src/generated/forge-mcp/images/import/tools.ts index 7d2e71788..364c99318 100644 --- a/src/generated/forge-mcp/images/import/tools.ts +++ b/src/generated/forge-mcp/images/import/tools.ts @@ -1,31 +1,31 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - images_api_response_common_failure_output, - images_api_response_common_output, - images_api_response_single_output, - images_deleted_response_output, - images_messages_output, + images_api$$response$$common, + images_api$$response$$common$$failure, + images_api$$response$$single, + images_deleted_response, + images_messages, } from "../outputs.js"; import { images_account_identifier } from "../schemas.js"; -import { - images_sourcingkit_acceptable_content_type_output, - images_sourcingkit_conflict_behaviour_output, - images_sourcingkit_migration_create_response_output, - images_sourcingkit_migration_list_response_output, - images_sourcingkit_migration_log_list_response_output, - images_sourcingkit_migration_log_output, - images_sourcingkit_migration_log_type_output, - images_sourcingkit_migration_output, - images_sourcingkit_migration_progress_response_output, - images_sourcingkit_migration_single_response_output, - images_sourcingkit_migration_status_output, -} from "./outputs.js"; import { images_sourcingkit_acceptable_content_type, images_sourcingkit_conflict_behaviour, + images_sourcingkit_migration, + images_sourcingkit_migration_create_response, + images_sourcingkit_migration_list_response, + images_sourcingkit_migration_log, + images_sourcingkit_migration_log_list_response, + images_sourcingkit_migration_log_type, + images_sourcingkit_migration_progress_response, + images_sourcingkit_migration_single_response, + images_sourcingkit_migration_status, +} from "./outputs.js"; +import { + images_sourcingkit_acceptable_content_type as images_sourcingkit_acceptable_content_type$, + images_sourcingkit_conflict_behaviour as images_sourcingkit_conflict_behaviour$, images_sourcingkit_identifier, images_sourcingkit_migration_create_request, } from "./schemas.js"; @@ -41,18 +41,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "migration_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "migration_id" + ], + "type": "object" } }, required: [ - "account_id", - "migration_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -62,14 +70,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_single_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -96,15 +104,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ @@ -118,36 +126,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/images_sourcingkit_migration_create_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "images_account_identifier": images_account_identifier, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type$, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour$, "images_sourcingkit_migration_create_request": images_sourcingkit_migration_create_request, }, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_create_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_create_response": images_sourcingkit_migration_create_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_create_response": images_sourcingkit_migration_create_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -181,15 +197,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_create_response": images_sourcingkit_migration_create_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_create_response": images_sourcingkit_migration_create_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ @@ -204,18 +220,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "migration_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "migration_id" + ], + "type": "object" } }, required: [ - "account_id", - "migration_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -225,10 +249,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_deleted_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_deleted_response": images_deleted_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_deleted_response": images_deleted_response, + "images_messages": images_messages, }, }, annotations: { @@ -262,11 +286,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_deleted_response": images_deleted_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_deleted_response": images_deleted_response, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -280,18 +304,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "migration_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "migration_id" + ], + "type": "object" } }, required: [ - "account_id", - "migration_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -301,14 +333,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_single_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -343,15 +375,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ @@ -365,23 +397,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "limit": { - "default": 25, - "description": "Maximum number of items to return.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "offset": { - "default": 0, - "description": "Number of items to skip before returning results.", - "type": "integer" + "query": { + "properties": { + "limit": { + "default": 25, + "description": "Maximum number of items to return.", + "type": "integer" + }, + "offset": { + "default": 0, + "description": "Number of items to skip before returning results.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -390,13 +435,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_list_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_list_response": images_sourcingkit_migration_list_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_list_response": images_sourcingkit_migration_list_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -431,21 +476,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_list_response": images_sourcingkit_migration_list_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_list_response": images_sourcingkit_migration_list_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations`, query: [ - ["offset", args["offset"], true], - ["limit", args["limit"], true], + ["offset", param(args, "query", "offset"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, @@ -456,28 +501,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "limit": { - "default": 25, - "description": "Maximum number of items to return.", - "type": "integer" - }, - "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "migration_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "migration_id" + ], + "type": "object" }, - "offset": { - "default": 0, - "description": "Number of items to skip before returning results.", - "type": "integer" + "query": { + "properties": { + "limit": { + "default": 25, + "description": "Maximum number of items to return.", + "type": "integer" + }, + "offset": { + "default": 0, + "description": "Number of items to skip before returning results.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "migration_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -487,11 +545,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_log_list_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_messages": images_messages_output, - "images_sourcingkit_migration_log": images_sourcingkit_migration_log_output, - "images_sourcingkit_migration_log_list_response": images_sourcingkit_migration_log_list_response_output, - "images_sourcingkit_migration_log_type": images_sourcingkit_migration_log_type_output, + "images_api-response-common": images_api$$response$$common, + "images_messages": images_messages, + "images_sourcingkit_migration_log": images_sourcingkit_migration_log, + "images_sourcingkit_migration_log_list_response": images_sourcingkit_migration_log_list_response, + "images_sourcingkit_migration_log_type": images_sourcingkit_migration_log_type, }, }, annotations: { @@ -526,19 +584,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_messages": images_messages_output, - "images_sourcingkit_migration_log": images_sourcingkit_migration_log_output, - "images_sourcingkit_migration_log_list_response": images_sourcingkit_migration_log_list_response_output, - "images_sourcingkit_migration_log_type": images_sourcingkit_migration_log_type_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_messages": images_messages, + "images_sourcingkit_migration_log": images_sourcingkit_migration_log, + "images_sourcingkit_migration_log_list_response": images_sourcingkit_migration_log_list_response, + "images_sourcingkit_migration_log_type": images_sourcingkit_migration_log_type, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2/sourcingkit/migrations/${pathParam(args, "migration_id")}/logs`, query: [ - ["offset", args["offset"], true], - ["limit", args["limit"], true], + ["offset", param(args, "query", "offset"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, @@ -549,18 +607,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "migration_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "migration_id" + ], + "type": "object" } }, required: [ - "account_id", - "migration_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -570,11 +636,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_progress_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_migration_progress_response": images_sourcingkit_migration_progress_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_migration_progress_response": images_sourcingkit_migration_progress_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -609,12 +675,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_migration_progress_response": images_sourcingkit_migration_progress_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_migration_progress_response": images_sourcingkit_migration_progress_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ @@ -628,18 +694,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "migration_id": { + "$ref": "#/$defs/images_sourcingkit_identifier", + "description": "Sourcing kit resource identifier." + } + }, + "required": [ + "account_id", + "migration_id" + ], + "type": "object" } }, required: [ - "account_id", - "migration_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -649,14 +723,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_single_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -683,15 +757,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_messages": images_messages_output, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type_output, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour_output, - "images_sourcingkit_migration": images_sourcingkit_migration_output, - "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response_output, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_messages": images_messages, + "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, + "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, + "images_sourcingkit_migration": images_sourcingkit_migration, + "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, + "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/images/keys/outputs.ts b/src/generated/forge-mcp/images/keys/outputs.ts index b77138d14..677b2dafe 100644 --- a/src/generated/forge-mcp/images/keys/outputs.ts +++ b/src/generated/forge-mcp/images/keys/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `images_image_key_name` in responses. */ -export const images_image_key_name_output: JsonSchema = { +export const images_image_key_name: JsonSchema = { "type": "string" }; /** * The schema of `images_image_key_response_collection` in responses. */ -export const images_image_key_response_collection_output: JsonSchema = { +export const images_image_key_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-common" @@ -32,14 +32,14 @@ export const images_image_key_response_collection_output: JsonSchema = { /** * The schema of `images_image_key_value` in responses. */ -export const images_image_key_value_output: JsonSchema = { +export const images_image_key_value: JsonSchema = { "type": "string" }; /** * The schema of `images_image_keys` in responses. */ -export const images_image_keys_output: JsonSchema = { +export const images_image_keys: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/images_image_key_name" @@ -54,7 +54,7 @@ export const images_image_keys_output: JsonSchema = { /** * The schema of `images_image_keys_response` in responses. */ -export const images_image_keys_response_output: JsonSchema = { +export const images_image_keys_response: JsonSchema = { "properties": { "keys": { "items": { diff --git a/src/generated/forge-mcp/images/keys/tools.ts b/src/generated/forge-mcp/images/keys/tools.ts index c892ab633..dd38de496 100644 --- a/src/generated/forge-mcp/images/keys/tools.ts +++ b/src/generated/forge-mcp/images/keys/tools.ts @@ -3,17 +3,17 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - images_api_response_common_failure_output, - images_api_response_common_output, - images_messages_output, + images_api$$response$$common, + images_api$$response$$common$$failure, + images_messages, } from "../outputs.js"; import { images_account_identifier } from "../schemas.js"; import { - images_image_key_name_output, - images_image_key_response_collection_output, - images_image_key_value_output, - images_image_keys_output, - images_image_keys_response_output, + images_image_key_name, + images_image_key_response_collection, + images_image_key_value, + images_image_keys, + images_image_keys_response, } from "./outputs.js"; import { images_signing_key_identifier } from "./schemas.js"; @@ -28,17 +28,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "signing_key_name": { - "$ref": "#/$defs/images_signing_key_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "signing_key_name": { + "$ref": "#/$defs/images_signing_key_identifier" + } + }, + "required": [ + "account_id", + "signing_key_name" + ], + "type": "object" } }, required: [ - "account_id", - "signing_key_name" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -48,13 +56,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_image_key_response_collection", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_image_key_name": images_image_key_name_output, - "images_image_key_response_collection": images_image_key_response_collection_output, - "images_image_key_value": images_image_key_value_output, - "images_image_keys": images_image_keys_output, - "images_image_keys_response": images_image_keys_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_image_key_name": images_image_key_name, + "images_image_key_response_collection": images_image_key_response_collection, + "images_image_key_value": images_image_key_value, + "images_image_keys": images_image_keys, + "images_image_keys_response": images_image_keys_response, + "images_messages": images_messages, }, }, annotations: { @@ -83,14 +91,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_image_key_name": images_image_key_name_output, - "images_image_key_response_collection": images_image_key_response_collection_output, - "images_image_key_value": images_image_key_value_output, - "images_image_keys": images_image_keys_output, - "images_image_keys_response": images_image_keys_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_image_key_name": images_image_key_name, + "images_image_key_response_collection": images_image_key_response_collection, + "images_image_key_value": images_image_key_value, + "images_image_keys": images_image_keys, + "images_image_keys_response": images_image_keys_response, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -104,17 +112,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "signing_key_name": { - "$ref": "#/$defs/images_signing_key_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "signing_key_name": { + "$ref": "#/$defs/images_signing_key_identifier" + } + }, + "required": [ + "account_id", + "signing_key_name" + ], + "type": "object" } }, required: [ - "account_id", - "signing_key_name" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -124,13 +140,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_image_key_response_collection", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_image_key_name": images_image_key_name_output, - "images_image_key_response_collection": images_image_key_response_collection_output, - "images_image_key_value": images_image_key_value_output, - "images_image_keys": images_image_keys_output, - "images_image_keys_response": images_image_keys_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_image_key_name": images_image_key_name, + "images_image_key_response_collection": images_image_key_response_collection, + "images_image_key_value": images_image_key_value, + "images_image_keys": images_image_keys, + "images_image_keys_response": images_image_keys_response, + "images_messages": images_messages, }, }, annotations: { @@ -159,14 +175,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_image_key_name": images_image_key_name_output, - "images_image_key_response_collection": images_image_key_response_collection_output, - "images_image_key_value": images_image_key_value_output, - "images_image_keys": images_image_keys_output, - "images_image_keys_response": images_image_keys_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_image_key_name": images_image_key_name, + "images_image_key_response_collection": images_image_key_response_collection, + "images_image_key_value": images_image_key_value, + "images_image_keys": images_image_keys, + "images_image_keys_response": images_image_keys_response, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -180,13 +196,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -195,13 +219,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_image_key_response_collection", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_image_key_name": images_image_key_name_output, - "images_image_key_response_collection": images_image_key_response_collection_output, - "images_image_key_value": images_image_key_value_output, - "images_image_keys": images_image_keys_output, - "images_image_keys_response": images_image_keys_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_image_key_name": images_image_key_name, + "images_image_key_response_collection": images_image_key_response_collection, + "images_image_key_value": images_image_key_value, + "images_image_keys": images_image_keys, + "images_image_keys_response": images_image_keys_response, + "images_messages": images_messages, }, }, annotations: { @@ -236,14 +260,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_image_key_name": images_image_key_name_output, - "images_image_key_response_collection": images_image_key_response_collection_output, - "images_image_key_value": images_image_key_value_output, - "images_image_keys": images_image_keys_output, - "images_image_keys_response": images_image_keys_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_image_key_name": images_image_key_name, + "images_image_key_response_collection": images_image_key_response_collection, + "images_image_key_value": images_image_key_value, + "images_image_keys": images_image_keys, + "images_image_keys_response": images_image_keys_response, + "images_messages": images_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/images/outputs.ts b/src/generated/forge-mcp/images/outputs.ts index 955d3a0ad..52064f16a 100644 --- a/src/generated/forge-mcp/images/outputs.ts +++ b/src/generated/forge-mcp/images/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `images_api-response-collection-v2` in responses. */ -export const images_api_response_collection_v2_output: JsonSchema = { +export const images_api$$response$$collection$$v2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-common" @@ -30,7 +30,7 @@ export const images_api_response_collection_v2_output: JsonSchema = { /** * The schema of `images_api-response-common` in responses. */ -export const images_api_response_common_output: JsonSchema = { +export const images_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/images_messages" @@ -73,7 +73,7 @@ export const images_api_response_common_output: JsonSchema = { /** * The schema of `images_api-response-common-failure` in responses. */ -export const images_api_response_common_failure_output: JsonSchema = { +export const images_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/images_messages" @@ -103,7 +103,7 @@ export const images_api_response_common_failure_output: JsonSchema = { /** * The schema of `images_api-response-single` in responses. */ -export const images_api_response_single_output: JsonSchema = { +export const images_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-common" @@ -129,7 +129,7 @@ export const images_api_response_single_output: JsonSchema = { /** * The schema of `images_deleted_response` in responses. */ -export const images_deleted_response_output: JsonSchema = { +export const images_deleted_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -148,7 +148,7 @@ export const images_deleted_response_output: JsonSchema = { /** * The schema of `images_image` in responses. */ -export const images_image_output: JsonSchema = { +export const images_image: JsonSchema = { "properties": { "creator": { "$ref": "#/$defs/images_image_creator" @@ -178,7 +178,7 @@ export const images_image_output: JsonSchema = { /** * The schema of `images_image_creator` in responses. */ -export const images_image_creator_output: JsonSchema = { +export const images_image_creator: JsonSchema = { "oneOf": [ { "type": "string" @@ -192,49 +192,49 @@ export const images_image_creator_output: JsonSchema = { /** * The schema of `images_image_filename` in responses. */ -export const images_image_filename_output: JsonSchema = { +export const images_image_filename: JsonSchema = { "type": "string" }; /** * The schema of `images_image_hero_url` in responses. */ -export const images_image_hero_url_output: JsonSchema = { +export const images_image_hero_url: JsonSchema = { "type": "string" }; /** * The schema of `images_image_identifier` in responses. */ -export const images_image_identifier_output: JsonSchema = { +export const images_image_identifier: JsonSchema = { "type": "string" }; /** * The schema of `images_image_metadata` in responses. */ -export const images_image_metadata_output: JsonSchema = { +export const images_image_metadata: JsonSchema = { "type": "object" }; /** * The schema of `images_image_original_url` in responses. */ -export const images_image_original_url_output: JsonSchema = { +export const images_image_original_url: JsonSchema = { "type": "string" }; /** * The schema of `images_image_requireSignedURLs` in responses. */ -export const images_image_requireSignedURLs_output: JsonSchema = { +export const images_image_requireSignedURLs: JsonSchema = { "type": "boolean" }; /** * The schema of `images_image_response_blob` in responses. */ -export const images_image_response_blob_output: JsonSchema = { +export const images_image_response_blob: JsonSchema = { "anyOf": [ { "type": "string" @@ -248,7 +248,7 @@ export const images_image_response_blob_output: JsonSchema = { /** * The schema of `images_image_response_single` in responses. */ -export const images_image_response_single_output: JsonSchema = { +export const images_image_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -267,14 +267,14 @@ export const images_image_response_single_output: JsonSchema = { /** * The schema of `images_image_thumbnail_url` in responses. */ -export const images_image_thumbnail_url_output: JsonSchema = { +export const images_image_thumbnail_url: JsonSchema = { "type": "string" }; /** * The schema of `images_image_uploaded` in responses. */ -export const images_image_uploaded_output: JsonSchema = { +export const images_image_uploaded: JsonSchema = { "format": "date-time", "type": "string" }; @@ -282,7 +282,7 @@ export const images_image_uploaded_output: JsonSchema = { /** * The schema of `images_image_variants` in responses. */ -export const images_image_variants_output: JsonSchema = { +export const images_image_variants: JsonSchema = { "items": { "anyOf": [ { @@ -302,7 +302,7 @@ export const images_image_variants_output: JsonSchema = { /** * The schema of `images_images_list_continuation_token` in responses. */ -export const images_images_list_continuation_token_output: JsonSchema = { +export const images_images_list_continuation_token: JsonSchema = { "oneOf": [ { "type": "string" @@ -316,7 +316,7 @@ export const images_images_list_continuation_token_output: JsonSchema = { /** * The schema of `images_images_list_response_v2` in responses. */ -export const images_images_list_response_v2_output: JsonSchema = { +export const images_images_list_response_v2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-collection-v2" @@ -343,7 +343,7 @@ export const images_images_list_response_v2_output: JsonSchema = { /** * The schema of `images_images_stats` in responses. */ -export const images_images_stats_output: JsonSchema = { +export const images_images_stats: JsonSchema = { "properties": { "count": { "$ref": "#/$defs/images_images_stats_count" @@ -355,14 +355,14 @@ export const images_images_stats_output: JsonSchema = { /** * The schema of `images_images_stats_allowed` in responses. */ -export const images_images_stats_allowed_output: JsonSchema = { +export const images_images_stats_allowed: JsonSchema = { "type": "number" }; /** * The schema of `images_images_stats_count` in responses. */ -export const images_images_stats_count_output: JsonSchema = { +export const images_images_stats_count: JsonSchema = { "properties": { "allowed": { "$ref": "#/$defs/images_images_stats_allowed" @@ -377,14 +377,14 @@ export const images_images_stats_count_output: JsonSchema = { /** * The schema of `images_images_stats_current` in responses. */ -export const images_images_stats_current_output: JsonSchema = { +export const images_images_stats_current: JsonSchema = { "type": "number" }; /** * The schema of `images_images_stats_response` in responses. */ -export const images_images_stats_response_output: JsonSchema = { +export const images_images_stats_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -403,7 +403,7 @@ export const images_images_stats_response_output: JsonSchema = { /** * The schema of `images_messages` in responses. */ -export const images_messages_output: JsonSchema = { +export const images_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/images/tools.ts b/src/generated/forge-mcp/images/tools.ts index f053c0266..98c0734ff 100644 --- a/src/generated/forge-mcp/images/tools.ts +++ b/src/generated/forge-mcp/images/tools.ts @@ -1,40 +1,40 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - images_api_response_collection_v2_output, - images_api_response_common_failure_output, - images_api_response_common_output, - images_api_response_single_output, - images_deleted_response_output, - images_image_creator_output, - images_image_filename_output, - images_image_hero_url_output, - images_image_identifier_output, - images_image_metadata_output, - images_image_original_url_output, - images_image_output, - images_image_requireSignedURLs_output, - images_image_response_blob_output, - images_image_response_single_output, - images_image_thumbnail_url_output, - images_image_uploaded_output, - images_image_variants_output, - images_images_list_continuation_token_output, - images_images_list_response_v2_output, - images_images_stats_allowed_output, - images_images_stats_count_output, - images_images_stats_current_output, - images_images_stats_output, - images_images_stats_response_output, - images_messages_output, + images_api$$response$$collection$$v2, + images_api$$response$$common, + images_api$$response$$common$$failure, + images_api$$response$$single, + images_deleted_response, + images_image, + images_image_creator, + images_image_filename, + images_image_hero_url, + images_image_identifier, + images_image_metadata, + images_image_original_url, + images_image_requireSignedURLs, + images_image_response_blob, + images_image_response_single, + images_image_thumbnail_url, + images_image_uploaded, + images_image_variants, + images_images_list_continuation_token, + images_images_list_response_v2, + images_images_stats, + images_images_stats_allowed, + images_images_stats_count, + images_images_stats_current, + images_images_stats_response, + images_messages, } from "./outputs.js"; import { images_account_identifier, - images_image_identifier, + images_image_identifier as images_image_identifier$, images_image_patch_request, - images_images_list_continuation_token, + images_images_list_continuation_token as images_images_list_continuation_token$, } from "./schemas.js"; /** @@ -48,31 +48,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "image_id": { - "$ref": "#/$defs/images_image_identifier", - "description": "Image unique identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "image_id": { + "$ref": "#/$defs/images_image_identifier", + "description": "Image unique identifier." + } + }, + "required": [ + "account_id", + "image_id" + ], + "type": "object" } }, required: [ - "account_id", - "image_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, - "images_image_identifier": images_image_identifier, + "images_image_identifier": images_image_identifier$, }, }, outputSchema: { "$ref": "#/$defs/images_deleted_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_deleted_response": images_deleted_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_deleted_response": images_deleted_response, + "images_messages": images_messages, }, }, annotations: { @@ -106,11 +114,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_deleted_response": images_deleted_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_deleted_response": images_deleted_response, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -124,47 +132,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/images_image_patch_request" }, - "image_id": { - "$ref": "#/$defs/images_image_identifier", - "description": "Image unique identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "image_id": { + "$ref": "#/$defs/images_image_identifier", + "description": "Image unique identifier." + } + }, + "required": [ + "account_id", + "image_id" + ], + "type": "object" } }, required: [ - "account_id", - "image_id", + "path", "body" ], $defs: { "images_account_identifier": images_account_identifier, - "images_image_identifier": images_image_identifier, + "images_image_identifier": images_image_identifier$, "images_image_patch_request": images_image_patch_request, }, }, outputSchema: { "$ref": "#/$defs/images_image_response_single", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_image": images_image_output, - "images_image_creator": images_image_creator_output, - "images_image_filename": images_image_filename_output, - "images_image_hero_url": images_image_hero_url_output, - "images_image_identifier": images_image_identifier_output, - "images_image_metadata": images_image_metadata_output, - "images_image_original_url": images_image_original_url_output, - "images_image_requireSignedURLs": images_image_requireSignedURLs_output, - "images_image_response_single": images_image_response_single_output, - "images_image_thumbnail_url": images_image_thumbnail_url_output, - "images_image_uploaded": images_image_uploaded_output, - "images_image_variants": images_image_variants_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_image": images_image, + "images_image_creator": images_image_creator, + "images_image_filename": images_image_filename, + "images_image_hero_url": images_image_hero_url, + "images_image_identifier": images_image_identifier, + "images_image_metadata": images_image_metadata, + "images_image_original_url": images_image_original_url, + "images_image_requireSignedURLs": images_image_requireSignedURLs, + "images_image_response_single": images_image_response_single, + "images_image_thumbnail_url": images_image_thumbnail_url, + "images_image_uploaded": images_image_uploaded, + "images_image_variants": images_image_variants, + "images_messages": images_messages, }, }, annotations: { @@ -198,22 +214,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_image": images_image_output, - "images_image_creator": images_image_creator_output, - "images_image_filename": images_image_filename_output, - "images_image_hero_url": images_image_hero_url_output, - "images_image_identifier": images_image_identifier_output, - "images_image_metadata": images_image_metadata_output, - "images_image_original_url": images_image_original_url_output, - "images_image_requireSignedURLs": images_image_requireSignedURLs_output, - "images_image_response_single": images_image_response_single_output, - "images_image_thumbnail_url": images_image_thumbnail_url_output, - "images_image_uploaded": images_image_uploaded_output, - "images_image_variants": images_image_variants_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_image": images_image, + "images_image_creator": images_image_creator, + "images_image_filename": images_image_filename, + "images_image_hero_url": images_image_hero_url, + "images_image_identifier": images_image_identifier, + "images_image_metadata": images_image_metadata, + "images_image_original_url": images_image_original_url, + "images_image_requireSignedURLs": images_image_requireSignedURLs, + "images_image_response_single": images_image_response_single, + "images_image_thumbnail_url": images_image_thumbnail_url, + "images_image_uploaded": images_image_uploaded, + "images_image_variants": images_image_variants, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -228,42 +244,50 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "image_id": { - "$ref": "#/$defs/images_image_identifier", - "description": "Image unique identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "image_id": { + "$ref": "#/$defs/images_image_identifier", + "description": "Image unique identifier." + } + }, + "required": [ + "account_id", + "image_id" + ], + "type": "object" } }, required: [ - "account_id", - "image_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, - "images_image_identifier": images_image_identifier, + "images_image_identifier": images_image_identifier$, }, }, outputSchema: { "$ref": "#/$defs/images_image_response_single", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_image": images_image_output, - "images_image_creator": images_image_creator_output, - "images_image_filename": images_image_filename_output, - "images_image_hero_url": images_image_hero_url_output, - "images_image_identifier": images_image_identifier_output, - "images_image_metadata": images_image_metadata_output, - "images_image_original_url": images_image_original_url_output, - "images_image_requireSignedURLs": images_image_requireSignedURLs_output, - "images_image_response_single": images_image_response_single_output, - "images_image_thumbnail_url": images_image_thumbnail_url_output, - "images_image_uploaded": images_image_uploaded_output, - "images_image_variants": images_image_variants_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_image": images_image, + "images_image_creator": images_image_creator, + "images_image_filename": images_image_filename, + "images_image_hero_url": images_image_hero_url, + "images_image_identifier": images_image_identifier, + "images_image_metadata": images_image_metadata, + "images_image_original_url": images_image_original_url, + "images_image_requireSignedURLs": images_image_requireSignedURLs, + "images_image_response_single": images_image_response_single, + "images_image_thumbnail_url": images_image_thumbnail_url, + "images_image_uploaded": images_image_uploaded, + "images_image_variants": images_image_variants, + "images_messages": images_messages, }, }, annotations: { @@ -298,22 +322,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_image": images_image_output, - "images_image_creator": images_image_creator_output, - "images_image_filename": images_image_filename_output, - "images_image_hero_url": images_image_hero_url_output, - "images_image_identifier": images_image_identifier_output, - "images_image_metadata": images_image_metadata_output, - "images_image_original_url": images_image_original_url_output, - "images_image_requireSignedURLs": images_image_requireSignedURLs_output, - "images_image_response_single": images_image_response_single_output, - "images_image_thumbnail_url": images_image_thumbnail_url_output, - "images_image_uploaded": images_image_uploaded_output, - "images_image_variants": images_image_variants_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_image": images_image, + "images_image_creator": images_image_creator, + "images_image_filename": images_image_filename, + "images_image_hero_url": images_image_hero_url, + "images_image_identifier": images_image_identifier, + "images_image_metadata": images_image_metadata, + "images_image_original_url": images_image_original_url, + "images_image_requireSignedURLs": images_image_requireSignedURLs, + "images_image_response_single": images_image_response_single, + "images_image_thumbnail_url": images_image_thumbnail_url, + "images_image_uploaded": images_image_uploaded, + "images_image_variants": images_image_variants, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -321,28 +345,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "images_get_blob", + name: "images_getBlob", title: "Download image", description: "Download an image from CF Images. For most images this will be the originally uploaded file. For larger images it can be a near-lossless version of the original.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "image_id": { - "$ref": "#/$defs/images_image_identifier", - "description": "Image unique identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "image_id": { + "$ref": "#/$defs/images_image_identifier", + "description": "Image unique identifier." + } + }, + "required": [ + "account_id", + "image_id" + ], + "type": "object" } }, required: [ - "account_id", - "image_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, - "images_image_identifier": images_image_identifier, + "images_image_identifier": images_image_identifier$, }, }, annotations: { @@ -375,9 +407,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_image_response_blob": images_image_response_blob_output, - "images_messages": images_messages_output, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_image_response_blob": images_image_response_blob, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -391,71 +423,84 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "continuation_token": { - "$ref": "#/$defs/images_images_list_continuation_token", - "description": "Continuation token to fetch next page. Passed as a query param when requesting List V2 api endpoint." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "creator": { - "description": "Internal user ID set within the creator field. Setting to empty string \"\" will return images where creator field is not set", - "oneOf": [ - { + "query": { + "properties": { + "continuation_token": { + "$ref": "#/$defs/images_images_list_continuation_token", + "description": "Continuation token to fetch next page. Passed as a query param when requesting List V2 api endpoint." + }, + "creator": { + "description": "Internal user ID set within the creator field. Setting to empty string \"\" will return images where creator field is not set", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "meta.[]": { + "description": "Optional metadata filter(s). Multiple filters can be combined with AND logic.\n\n**Operators:**\n- `eq`, `eq:string`, `eq:number`, `eq:boolean` - Exact match\n- `gt`, `gt:number` - Greater than (number only)\n- `gte`, `gte:number` - Greater than or equal (number only)\n- `lt`, `lt:number` - Less than (number only)\n- `lte`, `lte:number` - Less than or equal (number only)\n- `in`, `in:string`, `in:number` - Match any value in pipe-separated list\n\n**Examples:**\n- `meta.status[eq]=active`\n- `meta.priority[eq:number]=5`\n- `meta.enabled[eq:boolean]=true`\n- `meta.priority[gte:number]=1`\n- `meta.score[lt:number]=100`\n- `meta.region[in]=us-east|us-west|eu-west`\n\n**Note:** Filter consistency is not validated. Contradictory filters (e.g., `meta.priority[eq:number]=5&meta.priority[lte:number]=3`) will return zero results.\n", "type": "string" }, - { - "type": "null" + "per_page": { + "default": 1000, + "description": "Number of items per page", + "type": "number" + }, + "sort_order": { + "default": "desc", + "description": "Sorting order by upload time", + "enum": [ + "asc", + "desc" + ], + "type": "string" } - ] - }, - "meta_field_operator": { - "description": "Optional metadata filter(s). Multiple filters can be combined with AND logic.\n\n**Operators:**\n- `eq`, `eq:string`, `eq:number`, `eq:boolean` - Exact match\n- `gt`, `gt:number` - Greater than (number only)\n- `gte`, `gte:number` - Greater than or equal (number only)\n- `lt`, `lt:number` - Less than (number only)\n- `lte`, `lte:number` - Less than or equal (number only)\n- `in`, `in:string`, `in:number` - Match any value in pipe-separated list\n\n**Examples:**\n- `meta.status[eq]=active`\n- `meta.priority[eq:number]=5`\n- `meta.enabled[eq:boolean]=true`\n- `meta.priority[gte:number]=1`\n- `meta.score[lt:number]=100`\n- `meta.region[in]=us-east|us-west|eu-west`\n\n**Note:** Filter consistency is not validated. Contradictory filters (e.g., `meta.priority[eq:number]=5&meta.priority[lte:number]=3`) will return zero results.\n", - "type": "string" - }, - "per_page": { - "default": 1000, - "description": "Number of items per page", - "type": "number" - }, - "sort_order": { - "default": "desc", - "description": "Sorting order by upload time", - "enum": [ - "asc", - "desc" - ], - "type": "string" + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, - "images_images_list_continuation_token": images_images_list_continuation_token, + "images_images_list_continuation_token": images_images_list_continuation_token$, }, }, outputSchema: { "$ref": "#/$defs/images_images_list_response_v2", $defs: { - "images_api-response-collection-v2": images_api_response_collection_v2_output, - "images_api-response-common": images_api_response_common_output, - "images_image": images_image_output, - "images_image_creator": images_image_creator_output, - "images_image_filename": images_image_filename_output, - "images_image_hero_url": images_image_hero_url_output, - "images_image_identifier": images_image_identifier_output, - "images_image_metadata": images_image_metadata_output, - "images_image_original_url": images_image_original_url_output, - "images_image_requireSignedURLs": images_image_requireSignedURLs_output, - "images_image_thumbnail_url": images_image_thumbnail_url_output, - "images_image_uploaded": images_image_uploaded_output, - "images_image_variants": images_image_variants_output, - "images_images_list_continuation_token": images_images_list_continuation_token_output, - "images_images_list_response_v2": images_images_list_response_v2_output, - "images_messages": images_messages_output, + "images_api-response-collection-v2": images_api$$response$$collection$$v2, + "images_api-response-common": images_api$$response$$common, + "images_image": images_image, + "images_image_creator": images_image_creator, + "images_image_filename": images_image_filename, + "images_image_hero_url": images_image_hero_url, + "images_image_identifier": images_image_identifier, + "images_image_metadata": images_image_metadata, + "images_image_original_url": images_image_original_url, + "images_image_requireSignedURLs": images_image_requireSignedURLs, + "images_image_thumbnail_url": images_image_thumbnail_url, + "images_image_uploaded": images_image_uploaded, + "images_image_variants": images_image_variants, + "images_images_list_continuation_token": images_images_list_continuation_token, + "images_images_list_response_v2": images_images_list_response_v2, + "images_messages": images_messages, }, }, annotations: { @@ -486,33 +531,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-collection-v2": images_api_response_collection_v2_output, - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_image": images_image_output, - "images_image_creator": images_image_creator_output, - "images_image_filename": images_image_filename_output, - "images_image_hero_url": images_image_hero_url_output, - "images_image_identifier": images_image_identifier_output, - "images_image_metadata": images_image_metadata_output, - "images_image_original_url": images_image_original_url_output, - "images_image_requireSignedURLs": images_image_requireSignedURLs_output, - "images_image_thumbnail_url": images_image_thumbnail_url_output, - "images_image_uploaded": images_image_uploaded_output, - "images_image_variants": images_image_variants_output, - "images_images_list_continuation_token": images_images_list_continuation_token_output, - "images_images_list_response_v2": images_images_list_response_v2_output, - "images_messages": images_messages_output, + "images_api-response-collection-v2": images_api$$response$$collection$$v2, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_image": images_image, + "images_image_creator": images_image_creator, + "images_image_filename": images_image_filename, + "images_image_hero_url": images_image_hero_url, + "images_image_identifier": images_image_identifier, + "images_image_metadata": images_image_metadata, + "images_image_original_url": images_image_original_url, + "images_image_requireSignedURLs": images_image_requireSignedURLs, + "images_image_thumbnail_url": images_image_thumbnail_url, + "images_image_uploaded": images_image_uploaded, + "images_image_variants": images_image_variants, + "images_images_list_continuation_token": images_images_list_continuation_token, + "images_images_list_response_v2": images_images_list_response_v2, + "images_messages": images_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/images/v2`, query: [ - ["continuation_token", args["continuation_token"], true], - ["per_page", args["per_page"], true], - ["sort_order", args["sort_order"], true], - ["creator", args["creator"], true], - ["meta.[]", args["meta_field_operator"], true], + ["continuation_token", param(args, "query", "continuation_token"), true], + ["per_page", param(args, "query", "per_page"), true], + ["sort_order", param(args, "query", "sort_order"), true], + ["creator", param(args, "query", "creator"), true], + ["meta.[]", param(args, "query", "meta.[]"), true], ], }), }, @@ -523,13 +568,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -538,14 +591,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_images_stats_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_images_stats": images_images_stats_output, - "images_images_stats_allowed": images_images_stats_allowed_output, - "images_images_stats_count": images_images_stats_count_output, - "images_images_stats_current": images_images_stats_current_output, - "images_images_stats_response": images_images_stats_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_images_stats": images_images_stats, + "images_images_stats_allowed": images_images_stats_allowed, + "images_images_stats_count": images_images_stats_count, + "images_images_stats_current": images_images_stats_current, + "images_images_stats_response": images_images_stats_response, + "images_messages": images_messages, }, }, annotations: { @@ -580,15 +633,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_images_stats": images_images_stats_output, - "images_images_stats_allowed": images_images_stats_allowed_output, - "images_images_stats_count": images_images_stats_count_output, - "images_images_stats_current": images_images_stats_current_output, - "images_images_stats_response": images_images_stats_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_images_stats": images_images_stats, + "images_images_stats_allowed": images_images_stats_allowed, + "images_images_stats_count": images_images_stats_count, + "images_images_stats_current": images_images_stats_current, + "images_images_stats_response": images_images_stats_response, + "images_messages": images_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/images/variants/outputs.ts b/src/generated/forge-mcp/images/variants/outputs.ts index 4efb6a0bd..1267e3f25 100644 --- a/src/generated/forge-mcp/images/variants/outputs.ts +++ b/src/generated/forge-mcp/images/variants/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `images_image_variant_definition` in responses. */ -export const images_image_variant_definition_output: JsonSchema = { +export const images_image_variant_definition: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/images_image_variant_identifier" @@ -28,7 +28,7 @@ export const images_image_variant_definition_output: JsonSchema = { /** * The schema of `images_image_variant_fit` in responses. */ -export const images_image_variant_fit_output: JsonSchema = { +export const images_image_variant_fit: JsonSchema = { "enum": [ "scale-down", "contain", @@ -42,21 +42,21 @@ export const images_image_variant_fit_output: JsonSchema = { /** * The schema of `images_image_variant_height` in responses. */ -export const images_image_variant_height_output: JsonSchema = { +export const images_image_variant_height: JsonSchema = { "type": "number" }; /** * The schema of `images_image_variant_identifier` in responses. */ -export const images_image_variant_identifier_output: JsonSchema = { +export const images_image_variant_identifier: JsonSchema = { "type": "string" }; /** * The schema of `images_image_variant_list_response` in responses. */ -export const images_image_variant_list_response_output: JsonSchema = { +export const images_image_variant_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-common" @@ -75,14 +75,14 @@ export const images_image_variant_list_response_output: JsonSchema = { /** * The schema of `images_image_variant_neverRequireSignedURLs` in responses. */ -export const images_image_variant_neverRequireSignedURLs_output: JsonSchema = { +export const images_image_variant_neverRequireSignedURLs: JsonSchema = { "type": "boolean" }; /** * The schema of `images_image_variant_options` in responses. */ -export const images_image_variant_options_output: JsonSchema = { +export const images_image_variant_options: JsonSchema = { "properties": { "fit": { "$ref": "#/$defs/images_image_variant_fit" @@ -109,7 +109,7 @@ export const images_image_variant_options_output: JsonSchema = { /** * The schema of `images_image_variant_public_request` in responses. */ -export const images_image_variant_public_request_output: JsonSchema = { +export const images_image_variant_public_request: JsonSchema = { "properties": { "hero": { "properties": { @@ -136,7 +136,7 @@ export const images_image_variant_public_request_output: JsonSchema = { /** * The schema of `images_image_variant_response` in responses. */ -export const images_image_variant_response_output: JsonSchema = { +export const images_image_variant_response: JsonSchema = { "properties": { "variant": { "$ref": "#/$defs/images_image_variant_definition" @@ -148,7 +148,7 @@ export const images_image_variant_response_output: JsonSchema = { /** * The schema of `images_image_variant_schemas_metadata` in responses. */ -export const images_image_variant_schemas_metadata_output: JsonSchema = { +export const images_image_variant_schemas_metadata: JsonSchema = { "enum": [ "keep", "copyright", @@ -160,7 +160,7 @@ export const images_image_variant_schemas_metadata_output: JsonSchema = { /** * The schema of `images_image_variant_simple_response` in responses. */ -export const images_image_variant_simple_response_output: JsonSchema = { +export const images_image_variant_simple_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/images_api-response-single" @@ -179,14 +179,14 @@ export const images_image_variant_simple_response_output: JsonSchema = { /** * The schema of `images_image_variant_width` in responses. */ -export const images_image_variant_width_output: JsonSchema = { +export const images_image_variant_width: JsonSchema = { "type": "number" }; /** * The schema of `images_image_variants_response` in responses. */ -export const images_image_variants_response_output: JsonSchema = { +export const images_image_variants_response: JsonSchema = { "properties": { "variants": { "$ref": "#/$defs/images_image_variant_public_request" diff --git a/src/generated/forge-mcp/images/variants/tools.ts b/src/generated/forge-mcp/images/variants/tools.ts index f9a8e2044..00b93f7a6 100644 --- a/src/generated/forge-mcp/images/variants/tools.ts +++ b/src/generated/forge-mcp/images/variants/tools.ts @@ -3,38 +3,38 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - images_api_response_common_failure_output, - images_api_response_common_output, - images_api_response_single_output, - images_deleted_response_output, - images_messages_output, + images_api$$response$$common, + images_api$$response$$common$$failure, + images_api$$response$$single, + images_deleted_response, + images_messages, } from "../outputs.js"; import { images_account_identifier } from "../schemas.js"; -import { - images_image_variant_definition_output, - images_image_variant_fit_output, - images_image_variant_height_output, - images_image_variant_identifier_output, - images_image_variant_list_response_output, - images_image_variant_neverRequireSignedURLs_output, - images_image_variant_options_output, - images_image_variant_public_request_output, - images_image_variant_response_output, - images_image_variant_schemas_metadata_output, - images_image_variant_simple_response_output, - images_image_variant_width_output, - images_image_variants_response_output, -} from "./outputs.js"; import { images_image_variant_definition, images_image_variant_fit, images_image_variant_height, images_image_variant_identifier, + images_image_variant_list_response, images_image_variant_neverRequireSignedURLs, images_image_variant_options, - images_image_variant_patch_request, + images_image_variant_public_request, + images_image_variant_response, images_image_variant_schemas_metadata, + images_image_variant_simple_response, images_image_variant_width, + images_image_variants_response, +} from "./outputs.js"; +import { + images_image_variant_definition as images_image_variant_definition$, + images_image_variant_fit as images_image_variant_fit$, + images_image_variant_height as images_image_variant_height$, + images_image_variant_identifier as images_image_variant_identifier$, + images_image_variant_neverRequireSignedURLs as images_image_variant_neverRequireSignedURLs$, + images_image_variant_options as images_image_variant_options$, + images_image_variant_patch_request, + images_image_variant_schemas_metadata as images_image_variant_schemas_metadata$, + images_image_variant_width as images_image_variant_width$, } from "./schemas.js"; /** @@ -48,46 +48,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/images_image_variant_definition" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "images_account_identifier": images_account_identifier, + "images_image_variant_definition": images_image_variant_definition$, + "images_image_variant_fit": images_image_variant_fit$, + "images_image_variant_height": images_image_variant_height$, + "images_image_variant_identifier": images_image_variant_identifier$, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs$, + "images_image_variant_options": images_image_variant_options$, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata$, + "images_image_variant_width": images_image_variant_width$, + }, + }, + outputSchema: { + "$ref": "#/$defs/images_image_variant_simple_response", + $defs: { + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, "images_image_variant_definition": images_image_variant_definition, "images_image_variant_fit": images_image_variant_fit, "images_image_variant_height": images_image_variant_height, "images_image_variant_identifier": images_image_variant_identifier, "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, + "images_image_variant_response": images_image_variant_response, "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, + "images_image_variant_simple_response": images_image_variant_simple_response, "images_image_variant_width": images_image_variant_width, - }, - }, - outputSchema: { - "$ref": "#/$defs/images_image_variant_simple_response", - $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_image_variant_definition": images_image_variant_definition_output, - "images_image_variant_fit": images_image_variant_fit_output, - "images_image_variant_height": images_image_variant_height_output, - "images_image_variant_identifier": images_image_variant_identifier_output, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, - "images_image_variant_options": images_image_variant_options_output, - "images_image_variant_response": images_image_variant_response_output, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, - "images_image_variant_simple_response": images_image_variant_simple_response_output, - "images_image_variant_width": images_image_variant_width_output, - "images_messages": images_messages_output, + "images_messages": images_messages, }, }, annotations: { @@ -121,20 +129,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_image_variant_definition": images_image_variant_definition_output, - "images_image_variant_fit": images_image_variant_fit_output, - "images_image_variant_height": images_image_variant_height_output, - "images_image_variant_identifier": images_image_variant_identifier_output, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, - "images_image_variant_options": images_image_variant_options_output, - "images_image_variant_response": images_image_variant_response_output, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, - "images_image_variant_simple_response": images_image_variant_simple_response_output, - "images_image_variant_width": images_image_variant_width_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_image_variant_definition": images_image_variant_definition, + "images_image_variant_fit": images_image_variant_fit, + "images_image_variant_height": images_image_variant_height, + "images_image_variant_identifier": images_image_variant_identifier, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, + "images_image_variant_options": images_image_variant_options, + "images_image_variant_response": images_image_variant_response, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, + "images_image_variant_simple_response": images_image_variant_simple_response, + "images_image_variant_width": images_image_variant_width, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -149,30 +157,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "variant_id": { - "$ref": "#/$defs/images_image_variant_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "variant_id": { + "$ref": "#/$defs/images_image_variant_identifier" + } + }, + "required": [ + "account_id", + "variant_id" + ], + "type": "object" } }, required: [ - "account_id", - "variant_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, - "images_image_variant_identifier": images_image_variant_identifier, + "images_image_variant_identifier": images_image_variant_identifier$, }, }, outputSchema: { "$ref": "#/$defs/images_deleted_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_deleted_response": images_deleted_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_deleted_response": images_deleted_response, + "images_messages": images_messages, }, }, annotations: { @@ -206,11 +222,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_deleted_response": images_deleted_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_deleted_response": images_deleted_response, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -224,50 +240,58 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/images_image_variant_patch_request" }, - "variant_id": { - "$ref": "#/$defs/images_image_variant_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "variant_id": { + "$ref": "#/$defs/images_image_variant_identifier" + } + }, + "required": [ + "account_id", + "variant_id" + ], + "type": "object" } }, required: [ - "account_id", - "variant_id", + "path", "body" ], $defs: { "images_account_identifier": images_account_identifier, + "images_image_variant_fit": images_image_variant_fit$, + "images_image_variant_height": images_image_variant_height$, + "images_image_variant_identifier": images_image_variant_identifier$, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs$, + "images_image_variant_options": images_image_variant_options$, + "images_image_variant_patch_request": images_image_variant_patch_request, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata$, + "images_image_variant_width": images_image_variant_width$, + }, + }, + outputSchema: { + "$ref": "#/$defs/images_image_variant_simple_response", + $defs: { + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_image_variant_definition": images_image_variant_definition, "images_image_variant_fit": images_image_variant_fit, "images_image_variant_height": images_image_variant_height, "images_image_variant_identifier": images_image_variant_identifier, "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, - "images_image_variant_patch_request": images_image_variant_patch_request, + "images_image_variant_response": images_image_variant_response, "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, + "images_image_variant_simple_response": images_image_variant_simple_response, "images_image_variant_width": images_image_variant_width, - }, - }, - outputSchema: { - "$ref": "#/$defs/images_image_variant_simple_response", - $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_image_variant_definition": images_image_variant_definition_output, - "images_image_variant_fit": images_image_variant_fit_output, - "images_image_variant_height": images_image_variant_height_output, - "images_image_variant_identifier": images_image_variant_identifier_output, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, - "images_image_variant_options": images_image_variant_options_output, - "images_image_variant_response": images_image_variant_response_output, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, - "images_image_variant_simple_response": images_image_variant_simple_response_output, - "images_image_variant_width": images_image_variant_width_output, - "images_messages": images_messages_output, + "images_messages": images_messages, }, }, annotations: { @@ -301,20 +325,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_image_variant_definition": images_image_variant_definition_output, - "images_image_variant_fit": images_image_variant_fit_output, - "images_image_variant_height": images_image_variant_height_output, - "images_image_variant_identifier": images_image_variant_identifier_output, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, - "images_image_variant_options": images_image_variant_options_output, - "images_image_variant_response": images_image_variant_response_output, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, - "images_image_variant_simple_response": images_image_variant_simple_response_output, - "images_image_variant_width": images_image_variant_width_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_image_variant_definition": images_image_variant_definition, + "images_image_variant_fit": images_image_variant_fit, + "images_image_variant_height": images_image_variant_height, + "images_image_variant_identifier": images_image_variant_identifier, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, + "images_image_variant_options": images_image_variant_options, + "images_image_variant_response": images_image_variant_response, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, + "images_image_variant_simple_response": images_image_variant_simple_response, + "images_image_variant_width": images_image_variant_width, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -329,39 +353,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." - }, - "variant_id": { - "$ref": "#/$defs/images_image_variant_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + }, + "variant_id": { + "$ref": "#/$defs/images_image_variant_identifier" + } + }, + "required": [ + "account_id", + "variant_id" + ], + "type": "object" } }, required: [ - "account_id", - "variant_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, - "images_image_variant_identifier": images_image_variant_identifier, + "images_image_variant_identifier": images_image_variant_identifier$, }, }, outputSchema: { "$ref": "#/$defs/images_image_variant_simple_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-single": images_api_response_single_output, - "images_image_variant_definition": images_image_variant_definition_output, - "images_image_variant_fit": images_image_variant_fit_output, - "images_image_variant_height": images_image_variant_height_output, - "images_image_variant_identifier": images_image_variant_identifier_output, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, - "images_image_variant_options": images_image_variant_options_output, - "images_image_variant_response": images_image_variant_response_output, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, - "images_image_variant_simple_response": images_image_variant_simple_response_output, - "images_image_variant_width": images_image_variant_width_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-single": images_api$$response$$single, + "images_image_variant_definition": images_image_variant_definition, + "images_image_variant_fit": images_image_variant_fit, + "images_image_variant_height": images_image_variant_height, + "images_image_variant_identifier": images_image_variant_identifier, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, + "images_image_variant_options": images_image_variant_options, + "images_image_variant_response": images_image_variant_response, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, + "images_image_variant_simple_response": images_image_variant_simple_response, + "images_image_variant_width": images_image_variant_width, + "images_messages": images_messages, }, }, annotations: { @@ -396,20 +428,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_api-response-single": images_api_response_single_output, - "images_image_variant_definition": images_image_variant_definition_output, - "images_image_variant_fit": images_image_variant_fit_output, - "images_image_variant_height": images_image_variant_height_output, - "images_image_variant_identifier": images_image_variant_identifier_output, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, - "images_image_variant_options": images_image_variant_options_output, - "images_image_variant_response": images_image_variant_response_output, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, - "images_image_variant_simple_response": images_image_variant_simple_response_output, - "images_image_variant_width": images_image_variant_width_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_api-response-single": images_api$$response$$single, + "images_image_variant_definition": images_image_variant_definition, + "images_image_variant_fit": images_image_variant_fit, + "images_image_variant_height": images_image_variant_height, + "images_image_variant_identifier": images_image_variant_identifier, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, + "images_image_variant_options": images_image_variant_options, + "images_image_variant_response": images_image_variant_response, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, + "images_image_variant_simple_response": images_image_variant_simple_response, + "images_image_variant_width": images_image_variant_width, + "images_messages": images_messages, }, }, request: (args) => ({ @@ -423,13 +455,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/images_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "images_account_identifier": images_account_identifier, @@ -438,18 +478,18 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/images_image_variant_list_response", $defs: { - "images_api-response-common": images_api_response_common_output, - "images_image_variant_fit": images_image_variant_fit_output, - "images_image_variant_height": images_image_variant_height_output, - "images_image_variant_identifier": images_image_variant_identifier_output, - "images_image_variant_list_response": images_image_variant_list_response_output, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, - "images_image_variant_options": images_image_variant_options_output, - "images_image_variant_public_request": images_image_variant_public_request_output, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, - "images_image_variant_width": images_image_variant_width_output, - "images_image_variants_response": images_image_variants_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_image_variant_fit": images_image_variant_fit, + "images_image_variant_height": images_image_variant_height, + "images_image_variant_identifier": images_image_variant_identifier, + "images_image_variant_list_response": images_image_variant_list_response, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, + "images_image_variant_options": images_image_variant_options, + "images_image_variant_public_request": images_image_variant_public_request, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, + "images_image_variant_width": images_image_variant_width, + "images_image_variants_response": images_image_variants_response, + "images_messages": images_messages, }, }, annotations: { @@ -484,19 +524,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "images_api-response-common": images_api_response_common_output, - "images_api-response-common-failure": images_api_response_common_failure_output, - "images_image_variant_fit": images_image_variant_fit_output, - "images_image_variant_height": images_image_variant_height_output, - "images_image_variant_identifier": images_image_variant_identifier_output, - "images_image_variant_list_response": images_image_variant_list_response_output, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs_output, - "images_image_variant_options": images_image_variant_options_output, - "images_image_variant_public_request": images_image_variant_public_request_output, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata_output, - "images_image_variant_width": images_image_variant_width_output, - "images_image_variants_response": images_image_variants_response_output, - "images_messages": images_messages_output, + "images_api-response-common": images_api$$response$$common, + "images_api-response-common-failure": images_api$$response$$common$$failure, + "images_image_variant_fit": images_image_variant_fit, + "images_image_variant_height": images_image_variant_height, + "images_image_variant_identifier": images_image_variant_identifier, + "images_image_variant_list_response": images_image_variant_list_response, + "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, + "images_image_variant_options": images_image_variant_options, + "images_image_variant_public_request": images_image_variant_public_request, + "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, + "images_image_variant_width": images_image_variant_width, + "images_image_variants_response": images_image_variants_response, + "images_messages": images_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/asn/outputs.ts b/src/generated/forge-mcp/intel/asn/outputs.ts index 257cbbea8..3931fba48 100644 --- a/src/generated/forge-mcp/intel/asn/outputs.ts +++ b/src/generated/forge-mcp/intel/asn/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `intel_asn` in responses. */ -export const intel_asn_output: JsonSchema = { +export const intel_asn: JsonSchema = { "type": "integer" }; /** * The schema of `intel_asn_components-schemas-response` in responses. */ -export const intel_asn_components_schemas_response_output: JsonSchema = { +export const intel_asn_components$$schemas$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_api-response-single" diff --git a/src/generated/forge-mcp/intel/asn/subnets/outputs.ts b/src/generated/forge-mcp/intel/asn/subnets/outputs.ts index 816f0edbd..35a74ddd5 100644 --- a/src/generated/forge-mcp/intel/asn/subnets/outputs.ts +++ b/src/generated/forge-mcp/intel/asn/subnets/outputs.ts @@ -6,20 +6,20 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `intel_count` in responses. */ -export const intel_count_output: JsonSchema = { +export const intel_count: JsonSchema = { "type": "number" }; /** * The schema of `intel_page` in responses. */ -export const intel_page_output: JsonSchema = { +export const intel_page: JsonSchema = { "type": "number" }; /** * The schema of `intel_per_page` in responses. */ -export const intel_per_page_output: JsonSchema = { +export const intel_per_page: JsonSchema = { "type": "number" }; diff --git a/src/generated/forge-mcp/intel/asn/subnets/tools.ts b/src/generated/forge-mcp/intel/asn/subnets/tools.ts index 45917a7f3..35e3461a8 100644 --- a/src/generated/forge-mcp/intel/asn/subnets/tools.ts +++ b/src/generated/forge-mcp/intel/asn/subnets/tools.ts @@ -3,17 +3,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - intel_api_response_common_failure_output, - intel_messages_output, + intel_api$$response$$common$$failure, + intel_messages, } from "../../outputs.js"; import { intel_identifier } from "../../schemas.js"; -import { intel_asn_output } from "../outputs.js"; -import { intel_asn } from "../schemas.js"; -import { - intel_count_output, - intel_page_output, - intel_per_page_output, -} from "./outputs.js"; +import { intel_asn } from "../outputs.js"; +import { intel_asn as intel_asn$ } from "../schemas.js"; +import { intel_count, intel_page, intel_per_page } from "./outputs.js"; /** * The tools of `intel.asn.subnets`. @@ -26,20 +22,28 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." - }, - "asn": { - "$ref": "#/$defs/intel_asn" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + }, + "asn": { + "$ref": "#/$defs/intel_asn" + } + }, + "required": [ + "account_id", + "asn" + ], + "type": "object" } }, required: [ - "account_id", - "asn" + "path" ], $defs: { - "intel_asn": intel_asn, + "intel_asn": intel_asn$, "intel_identifier": intel_identifier, }, }, @@ -69,10 +73,10 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "intel_asn": intel_asn_output, - "intel_count": intel_count_output, - "intel_page": intel_page_output, - "intel_per_page": intel_per_page_output, + "intel_asn": intel_asn, + "intel_count": intel_count, + "intel_page": intel_page, + "intel_per_page": intel_per_page, }, }, annotations: { @@ -153,12 +157,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_asn": intel_asn_output, - "intel_count": intel_count_output, - "intel_messages": intel_messages_output, - "intel_page": intel_page_output, - "intel_per_page": intel_per_page_output, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_asn": intel_asn, + "intel_count": intel_count, + "intel_messages": intel_messages, + "intel_page": intel_page, + "intel_per_page": intel_per_page, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/asn/tools.ts b/src/generated/forge-mcp/intel/asn/tools.ts index 6f0206426..78d78eef2 100644 --- a/src/generated/forge-mcp/intel/asn/tools.ts +++ b/src/generated/forge-mcp/intel/asn/tools.ts @@ -3,17 +3,17 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - intel_api_response_common_failure_output, - intel_api_response_single_output, - intel_messages_output, - intel_schemas_messages_output, + intel_api$$response$$common$$failure, + intel_api$$response$$single, + intel_messages, + intel_schemas$$messages, } from "../outputs.js"; import { intel_identifier } from "../schemas.js"; import { - intel_asn_components_schemas_response_output, - intel_asn_output, + intel_asn, + intel_asn_components$$schemas$$response, } from "./outputs.js"; -import { intel_asn } from "./schemas.js"; +import { intel_asn as intel_asn$ } from "./schemas.js"; /** * The tools of `intel.asn`. @@ -26,30 +26,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." - }, - "asn": { - "$ref": "#/$defs/intel_asn" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + }, + "asn": { + "$ref": "#/$defs/intel_asn" + } + }, + "required": [ + "account_id", + "asn" + ], + "type": "object" } }, required: [ - "account_id", - "asn" + "path" ], $defs: { - "intel_asn": intel_asn, + "intel_asn": intel_asn$, "intel_identifier": intel_identifier, }, }, outputSchema: { "$ref": "#/$defs/intel_asn_components-schemas-response", $defs: { - "intel_api-response-single": intel_api_response_single_output, - "intel_asn": intel_asn_output, - "intel_asn_components-schemas-response": intel_asn_components_schemas_response_output, - "intel_schemas-messages": intel_schemas_messages_output, + "intel_api-response-single": intel_api$$response$$single, + "intel_asn": intel_asn, + "intel_asn_components-schemas-response": intel_asn_components$$schemas$$response, + "intel_schemas-messages": intel_schemas$$messages, }, }, annotations: { @@ -84,12 +92,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_api-response-single": intel_api_response_single_output, - "intel_asn": intel_asn_output, - "intel_asn_components-schemas-response": intel_asn_components_schemas_response_output, - "intel_messages": intel_messages_output, - "intel_schemas-messages": intel_schemas_messages_output, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_api-response-single": intel_api$$response$$single, + "intel_asn": intel_asn, + "intel_asn_components-schemas-response": intel_asn_components$$schemas$$response, + "intel_messages": intel_messages, + "intel_schemas-messages": intel_schemas$$messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts b/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts index ad6f3af86..ce57d3422 100644 --- a/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts +++ b/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts @@ -3,33 +3,41 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, } from "../../../outputs.js"; -import { security_center_identifier } from "../../../schemas.js"; +import { security$$center_identifier } from "../../../schemas.js"; /** - * The tools of `intel.attack_surface_report.issue_types`. + * The tools of `intel.attackSurfaceReport.issueTypes`. */ export const tools: readonly Tool[] = [ { - name: "intel_attack_surface_report_issue_types_get", + name: "intel_attackSurfaceReport_issueTypes_get", title: "Retrieves Security Center Issues Types", description: "Lists all available issue types in Security Center, describing categories of security issues.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { @@ -50,8 +58,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -94,9 +102,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/dns/outputs.ts b/src/generated/forge-mcp/intel/dns/outputs.ts index 5057c89f7..367b9f23c 100644 --- a/src/generated/forge-mcp/intel/dns/outputs.ts +++ b/src/generated/forge-mcp/intel/dns/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `intel_components-schemas-single_response` in responses. */ -export const intel_components_schemas_single_response_output: JsonSchema = { +export const intel_components$$schemas$$single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_schemas-api-response-collection" @@ -25,7 +25,7 @@ export const intel_components_schemas_single_response_output: JsonSchema = { /** * The schema of `intel_passive-dns-by-ip` in responses. */ -export const intel_passive_dns_by_ip_output: JsonSchema = { +export const intel_passive$$dns$$by$$ip: JsonSchema = { "properties": { "count": { "type": "number" @@ -62,7 +62,7 @@ export const intel_passive_dns_by_ip_output: JsonSchema = { /** * The schema of `intel_schemas-api-response-collection` in responses. */ -export const intel_schemas_api_response_collection_output: JsonSchema = { +export const intel_schemas$$api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_schemas-api-response-common" @@ -81,7 +81,7 @@ export const intel_schemas_api_response_collection_output: JsonSchema = { /** * The schema of `intel_schemas-api-response-common` in responses. */ -export const intel_schemas_api_response_common_output: JsonSchema = { +export const intel_schemas$$api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/intel_schemas-messages" @@ -107,7 +107,7 @@ export const intel_schemas_api_response_common_output: JsonSchema = { /** * The schema of `intel_schemas-result_info` in responses. */ -export const intel_schemas_result_info_output: JsonSchema = { +export const intel_schemas$$result_info: JsonSchema = { "properties": { "count": { "type": "number" diff --git a/src/generated/forge-mcp/intel/dns/tools.ts b/src/generated/forge-mcp/intel/dns/tools.ts index cf31e404d..e3fff23b5 100644 --- a/src/generated/forge-mcp/intel/dns/tools.ts +++ b/src/generated/forge-mcp/intel/dns/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - intel_api_response_common_failure_output, - intel_messages_output, - intel_schemas_messages_output, + intel_api$$response$$common$$failure, + intel_messages, + intel_schemas$$messages, } from "../outputs.js"; import { intel_identifier } from "../schemas.js"; import { - intel_components_schemas_single_response_output, - intel_passive_dns_by_ip_output, - intel_schemas_api_response_collection_output, - intel_schemas_api_response_common_output, - intel_schemas_result_info_output, + intel_components$$schemas$$single_response, + intel_passive$$dns$$by$$ip, + intel_schemas$$api$$response$$collection, + intel_schemas$$api$$response$$common, + intel_schemas$$result_info, } from "./outputs.js"; import { intel_start_end_params } from "./schemas.js"; @@ -28,27 +28,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." - }, - "ipv4": { - "type": "string" - }, - "page": { - "description": "Requested page within paginated list of results.", - "type": "number" - }, - "per_page": { - "description": "Maximum number of results requested.", - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "start_end_params": { - "$ref": "#/$defs/intel_start_end_params" + "query": { + "properties": { + "ipv4": { + "type": "string" + }, + "page": { + "description": "Requested page within paginated list of results.", + "type": "number" + }, + "per_page": { + "description": "Maximum number of results requested.", + "type": "number" + }, + "start_end_params": { + "$ref": "#/$defs/intel_start_end_params" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "intel_identifier": intel_identifier, @@ -58,12 +71,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/intel_components-schemas-single_response", $defs: { - "intel_components-schemas-single_response": intel_components_schemas_single_response_output, - "intel_passive-dns-by-ip": intel_passive_dns_by_ip_output, - "intel_schemas-api-response-collection": intel_schemas_api_response_collection_output, - "intel_schemas-api-response-common": intel_schemas_api_response_common_output, - "intel_schemas-messages": intel_schemas_messages_output, - "intel_schemas-result_info": intel_schemas_result_info_output, + "intel_components-schemas-single_response": intel_components$$schemas$$single_response, + "intel_passive-dns-by-ip": intel_passive$$dns$$by$$ip, + "intel_schemas-api-response-collection": intel_schemas$$api$$response$$collection, + "intel_schemas-api-response-common": intel_schemas$$api$$response$$common, + "intel_schemas-messages": intel_schemas$$messages, + "intel_schemas-result_info": intel_schemas$$result_info, }, }, annotations: { @@ -98,23 +111,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_components-schemas-single_response": intel_components_schemas_single_response_output, - "intel_messages": intel_messages_output, - "intel_passive-dns-by-ip": intel_passive_dns_by_ip_output, - "intel_schemas-api-response-collection": intel_schemas_api_response_collection_output, - "intel_schemas-api-response-common": intel_schemas_api_response_common_output, - "intel_schemas-messages": intel_schemas_messages_output, - "intel_schemas-result_info": intel_schemas_result_info_output, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_components-schemas-single_response": intel_components$$schemas$$single_response, + "intel_messages": intel_messages, + "intel_passive-dns-by-ip": intel_passive$$dns$$by$$ip, + "intel_schemas-api-response-collection": intel_schemas$$api$$response$$collection, + "intel_schemas-api-response-common": intel_schemas$$api$$response$$common, + "intel_schemas-messages": intel_schemas$$messages, + "intel_schemas-result_info": intel_schemas$$result_info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/dns`, query: [ - ["start_end_params", args["start_end_params"], true], - ["ipv4", args["ipv4"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["start_end_params", param(args, "query", "start_end_params"), true], + ["ipv4", param(args, "query", "ipv4"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/intel/domainHistory/outputs.ts b/src/generated/forge-mcp/intel/domainHistory/outputs.ts index f9bf12c45..6c06251e8 100644 --- a/src/generated/forge-mcp/intel/domainHistory/outputs.ts +++ b/src/generated/forge-mcp/intel/domainHistory/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `intel_domain-history` in responses. */ -export const intel_domain_history_output: JsonSchema = { +export const intel_domain$$history: JsonSchema = { "properties": { "categorizations": { "items": { @@ -48,7 +48,7 @@ export const intel_domain_history_output: JsonSchema = { /** * The schema of `intel_response` in responses. */ -export const intel_response_output: JsonSchema = { +export const intel_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_api-response-collection" diff --git a/src/generated/forge-mcp/intel/domainHistory/tools.ts b/src/generated/forge-mcp/intel/domainHistory/tools.ts index 6245b7ef1..e873fa2c7 100644 --- a/src/generated/forge-mcp/intel/domainHistory/tools.ts +++ b/src/generated/forge-mcp/intel/domainHistory/tools.ts @@ -1,42 +1,52 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - intel_api_response_collection_output, - intel_api_response_common_failure_output, - intel_api_response_common_output, - intel_domain_name_output, - intel_messages_output, - intel_result_info_output, + intel_api$$response$$collection, + intel_api$$response$$common, + intel_api$$response$$common$$failure, + intel_domain_name, + intel_messages, + intel_result_info, } from "../outputs.js"; import { intel_identifier } from "../schemas.js"; -import { - intel_domain_history_output, - intel_response_output, -} from "./outputs.js"; +import { intel_domain$$history, intel_response } from "./outputs.js"; /** - * The tools of `intel.domain_history`. + * The tools of `intel.domainHistory`. */ export const tools: readonly Tool[] = [ { - name: "intel_domain_history_get", + name: "intel_domainHistory_get", title: "Get Domain History", description: "Gets historical security threat and content categories currently and previously assigned to a domain.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "domain": { - "type": "string" + "query": { + "properties": { + "domain": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "intel_identifier": intel_identifier, @@ -45,13 +55,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/intel_response", $defs: { - "intel_api-response-collection": intel_api_response_collection_output, - "intel_api-response-common": intel_api_response_common_output, - "intel_domain-history": intel_domain_history_output, - "intel_domain_name": intel_domain_name_output, - "intel_messages": intel_messages_output, - "intel_response": intel_response_output, - "intel_result_info": intel_result_info_output, + "intel_api-response-collection": intel_api$$response$$collection, + "intel_api-response-common": intel_api$$response$$common, + "intel_domain-history": intel_domain$$history, + "intel_domain_name": intel_domain_name, + "intel_messages": intel_messages, + "intel_response": intel_response, + "intel_result_info": intel_result_info, }, }, annotations: { @@ -86,20 +96,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_api-response-collection": intel_api_response_collection_output, - "intel_api-response-common": intel_api_response_common_output, - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_domain-history": intel_domain_history_output, - "intel_domain_name": intel_domain_name_output, - "intel_messages": intel_messages_output, - "intel_response": intel_response_output, - "intel_result_info": intel_result_info_output, + "intel_api-response-collection": intel_api$$response$$collection, + "intel_api-response-common": intel_api$$response$$common, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_domain-history": intel_domain$$history, + "intel_domain_name": intel_domain_name, + "intel_messages": intel_messages, + "intel_response": intel_response, + "intel_result_info": intel_result_info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/domain-history`, query: [ - ["domain", args["domain"], true], + ["domain", param(args, "query", "domain"), true], ], }), }, diff --git a/src/generated/forge-mcp/intel/domains/bulks/outputs.ts b/src/generated/forge-mcp/intel/domains/bulks/outputs.ts index 1e36281da..a90c30e87 100644 --- a/src/generated/forge-mcp/intel/domains/bulks/outputs.ts +++ b/src/generated/forge-mcp/intel/domains/bulks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `intel_collection_response` in responses. */ -export const intel_collection_response_output: JsonSchema = { +export const intel_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_api-response-collection" diff --git a/src/generated/forge-mcp/intel/domains/bulks/tools.ts b/src/generated/forge-mcp/intel/domains/bulks/tools.ts index c5b670cee..a26475ce6 100644 --- a/src/generated/forge-mcp/intel/domains/bulks/tools.ts +++ b/src/generated/forge-mcp/intel/domains/bulks/tools.ts @@ -1,27 +1,27 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - intel_api_response_collection_output, - intel_api_response_common_failure_output, - intel_api_response_common_output, - intel_domain_name_output, - intel_messages_output, - intel_result_info_output, + intel_api$$response$$collection, + intel_api$$response$$common, + intel_api$$response$$common$$failure, + intel_domain_name, + intel_messages, + intel_result_info, } from "../../outputs.js"; import { intel_identifier } from "../../schemas.js"; import { - intel_additional_information_output, - intel_application_output, - intel_categories_with_super_category_ids_example_empty_output, - intel_category_with_super_category_id_output, - intel_content_categories_output, - intel_inherited_from_output, - intel_popularity_rank_output, - intel_risk_score_output, + intel_additional_information, + intel_application, + intel_categories_with_super_category_ids_example_empty, + intel_category_with_super_category_id, + intel_content_categories, + intel_inherited_from, + intel_popularity_rank, + intel_risk_score, } from "../outputs.js"; -import { intel_collection_response_output } from "./outputs.js"; +import { intel_collection_response } from "./outputs.js"; /** * The tools of `intel.domains.bulks`. @@ -34,30 +34,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." - }, - "domain": { - "description": "Accepts multiple values like `?domain=cloudflare.com&domain=example.com`.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + } }, - "type": "array" + "required": [ + "account_id" + ], + "type": "object" }, - "include_ranking": { - "default": false, - "description": "Whether to include domain ranking data in the response. Defaults to\n`false` — ranking lookups are expensive at bulk scale and most\ncallers do not need them. Set to `true` to opt in. This parameter\nreplaces the deprecated `skip_ranking` (see below).\n", - "type": "boolean" - }, - "skip_ranking": { - "deprecated": true, - "description": "**Deprecated.** Previously controlled whether the ranking lookup\nwas skipped (defaulted to `false`, meaning ranking ran). The\nendpoint's default behavior is being flipped — ranking is now\nopt-in via `include_ranking=true` — and this parameter will be\nsilently ignored. Remove it from your callers and use\n`include_ranking` instead.\n", - "type": "boolean" + "query": { + "properties": { + "domain": { + "description": "Accepts multiple values like `?domain=cloudflare.com&domain=example.com`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "include_ranking": { + "default": false, + "description": "Whether to include domain ranking data in the response. Defaults to\n`false` — ranking lookups are expensive at bulk scale and most\ncallers do not need them. Set to `true` to opt in. This parameter\nreplaces the deprecated `skip_ranking` (see below).\n", + "type": "boolean" + }, + "skip_ranking": { + "deprecated": true, + "description": "**Deprecated.** Previously controlled whether the ranking lookup\nwas skipped (defaulted to `false`, meaning ranking ran). The\nendpoint's default behavior is being flipped — ranking is now\nopt-in via `include_ranking=true` — and this parameter will be\nsilently ignored. Remove it from your callers and use\n`include_ranking` instead.\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "intel_identifier": intel_identifier, @@ -66,20 +79,20 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/intel_collection_response", $defs: { - "intel_additional_information": intel_additional_information_output, - "intel_api-response-collection": intel_api_response_collection_output, - "intel_api-response-common": intel_api_response_common_output, - "intel_application": intel_application_output, - "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty_output, - "intel_category_with_super_category_id": intel_category_with_super_category_id_output, - "intel_collection_response": intel_collection_response_output, - "intel_content_categories": intel_content_categories_output, - "intel_domain_name": intel_domain_name_output, - "intel_inherited_from": intel_inherited_from_output, - "intel_messages": intel_messages_output, - "intel_popularity_rank": intel_popularity_rank_output, - "intel_result_info": intel_result_info_output, - "intel_risk_score": intel_risk_score_output, + "intel_additional_information": intel_additional_information, + "intel_api-response-collection": intel_api$$response$$collection, + "intel_api-response-common": intel_api$$response$$common, + "intel_application": intel_application, + "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty, + "intel_category_with_super_category_id": intel_category_with_super_category_id, + "intel_collection_response": intel_collection_response, + "intel_content_categories": intel_content_categories, + "intel_domain_name": intel_domain_name, + "intel_inherited_from": intel_inherited_from, + "intel_messages": intel_messages, + "intel_popularity_rank": intel_popularity_rank, + "intel_result_info": intel_result_info, + "intel_risk_score": intel_risk_score, }, }, annotations: { @@ -114,29 +127,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_additional_information": intel_additional_information_output, - "intel_api-response-collection": intel_api_response_collection_output, - "intel_api-response-common": intel_api_response_common_output, - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_application": intel_application_output, - "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty_output, - "intel_category_with_super_category_id": intel_category_with_super_category_id_output, - "intel_collection_response": intel_collection_response_output, - "intel_content_categories": intel_content_categories_output, - "intel_domain_name": intel_domain_name_output, - "intel_inherited_from": intel_inherited_from_output, - "intel_messages": intel_messages_output, - "intel_popularity_rank": intel_popularity_rank_output, - "intel_result_info": intel_result_info_output, - "intel_risk_score": intel_risk_score_output, + "intel_additional_information": intel_additional_information, + "intel_api-response-collection": intel_api$$response$$collection, + "intel_api-response-common": intel_api$$response$$common, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_application": intel_application, + "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty, + "intel_category_with_super_category_id": intel_category_with_super_category_id, + "intel_collection_response": intel_collection_response, + "intel_content_categories": intel_content_categories, + "intel_domain_name": intel_domain_name, + "intel_inherited_from": intel_inherited_from, + "intel_messages": intel_messages, + "intel_popularity_rank": intel_popularity_rank, + "intel_result_info": intel_result_info, + "intel_risk_score": intel_risk_score, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/domain/bulk`, query: [ - ["domain", args["domain"], true], - ["include_ranking", args["include_ranking"], true], - ["skip_ranking", args["skip_ranking"], true], + ["domain", param(args, "query", "domain"), true], + ["include_ranking", param(args, "query", "include_ranking"), true], + ["skip_ranking", param(args, "query", "skip_ranking"), true], ], }), }, diff --git a/src/generated/forge-mcp/intel/domains/outputs.ts b/src/generated/forge-mcp/intel/domains/outputs.ts index 33b3cbb94..9fb33da35 100644 --- a/src/generated/forge-mcp/intel/domains/outputs.ts +++ b/src/generated/forge-mcp/intel/domains/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `intel_additional_information` in responses. */ -export const intel_additional_information_output: JsonSchema = { +export const intel_additional_information: JsonSchema = { "properties": { "suspected_malware_family": { "type": "string" @@ -18,7 +18,7 @@ export const intel_additional_information_output: JsonSchema = { /** * The schema of `intel_application` in responses. */ -export const intel_application_output: JsonSchema = { +export const intel_application: JsonSchema = { "properties": { "id": { "type": "integer" @@ -34,7 +34,7 @@ export const intel_application_output: JsonSchema = { * The schema of `intel_categories_with_super_category_ids_example_empty` in * responses. */ -export const intel_categories_with_super_category_ids_example_empty_output: JsonSchema = { +export const intel_categories_with_super_category_ids_example_empty: JsonSchema = { "items": { "$ref": "#/$defs/intel_category_with_super_category_id" }, @@ -44,7 +44,7 @@ export const intel_categories_with_super_category_ids_example_empty_output: Json /** * The schema of `intel_category_with_super_category_id` in responses. */ -export const intel_category_with_super_category_id_output: JsonSchema = { +export const intel_category_with_super_category_id: JsonSchema = { "properties": { "id": { "type": "integer" @@ -62,7 +62,7 @@ export const intel_category_with_super_category_id_output: JsonSchema = { /** * The schema of `intel_content_categories` in responses. */ -export const intel_content_categories_output: JsonSchema = { +export const intel_content_categories: JsonSchema = { "items": { "properties": { "id": { @@ -83,7 +83,7 @@ export const intel_content_categories_output: JsonSchema = { /** * The schema of `intel_domain` in responses. */ -export const intel_domain_output: JsonSchema = { +export const intel_domain: JsonSchema = { "properties": { "additional_information": { "$ref": "#/$defs/intel_additional_information" @@ -125,21 +125,21 @@ export const intel_domain_output: JsonSchema = { /** * The schema of `intel_inherited_from` in responses. */ -export const intel_inherited_from_output: JsonSchema = { +export const intel_inherited_from: JsonSchema = { "type": "string" }; /** * The schema of `intel_popularity_rank` in responses. */ -export const intel_popularity_rank_output: JsonSchema = { +export const intel_popularity_rank: JsonSchema = { "type": "integer" }; /** * The schema of `intel_resolves_to_ref` in responses. */ -export const intel_resolves_to_ref_output: JsonSchema = { +export const intel_resolves_to_ref: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/intel_stix_identifier" @@ -154,7 +154,7 @@ export const intel_resolves_to_ref_output: JsonSchema = { /** * The schema of `intel_resolves_to_refs` in responses. */ -export const intel_resolves_to_refs_output: JsonSchema = { +export const intel_resolves_to_refs: JsonSchema = { "items": { "$ref": "#/$defs/intel_resolves_to_ref" }, @@ -164,14 +164,14 @@ export const intel_resolves_to_refs_output: JsonSchema = { /** * The schema of `intel_risk_score` in responses. */ -export const intel_risk_score_output: JsonSchema = { +export const intel_risk_score: JsonSchema = { "type": "number" }; /** * The schema of `intel_single_response` in responses. */ -export const intel_single_response_output: JsonSchema = { +export const intel_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_api-response-single" @@ -190,6 +190,6 @@ export const intel_single_response_output: JsonSchema = { /** * The schema of `intel_stix_identifier` in responses. */ -export const intel_stix_identifier_output: JsonSchema = { +export const intel_stix_identifier: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/intel/domains/tools.ts b/src/generated/forge-mcp/intel/domains/tools.ts index c2c265263..8e4a6c017 100644 --- a/src/generated/forge-mcp/intel/domains/tools.ts +++ b/src/generated/forge-mcp/intel/domains/tools.ts @@ -1,29 +1,29 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - intel_api_response_common_failure_output, - intel_api_response_single_output, - intel_domain_name_output, - intel_messages_output, - intel_schemas_messages_output, + intel_api$$response$$common$$failure, + intel_api$$response$$single, + intel_domain_name, + intel_messages, + intel_schemas$$messages, } from "../outputs.js"; import { intel_identifier } from "../schemas.js"; import { - intel_additional_information_output, - intel_application_output, - intel_categories_with_super_category_ids_example_empty_output, - intel_category_with_super_category_id_output, - intel_content_categories_output, - intel_domain_output, - intel_inherited_from_output, - intel_popularity_rank_output, - intel_resolves_to_ref_output, - intel_resolves_to_refs_output, - intel_risk_score_output, - intel_single_response_output, - intel_stix_identifier_output, + intel_additional_information, + intel_application, + intel_categories_with_super_category_ids_example_empty, + intel_category_with_super_category_id, + intel_content_categories, + intel_domain, + intel_inherited_from, + intel_popularity_rank, + intel_resolves_to_ref, + intel_resolves_to_refs, + intel_risk_score, + intel_single_response, + intel_stix_identifier, } from "./outputs.js"; /** @@ -37,25 +37,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." - }, - "domain": { - "type": "string" - }, - "skip_dns": { - "description": "Skip DNS resolution lookups for faster response.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "skip_ranking": { - "default": false, - "description": "Skip the domain ranking lookup for faster responses. Defaults to\n`false` (ranking is included). Set to `true` to opt out — primarily\nused by callers like Cloudflare Radar that need to avoid a\ncircular dependency when building the domain details page.\nNote: the bulk endpoint (`/intel/domain/bulk`) uses opposite\ndefaults — see `include_ranking` there.\n", - "type": "boolean" + "query": { + "properties": { + "domain": { + "type": "string" + }, + "skip_dns": { + "description": "Skip DNS resolution lookups for faster response.", + "type": "boolean" + }, + "skip_ranking": { + "default": false, + "description": "Skip the domain ranking lookup for faster responses. Defaults to\n`false` (ranking is included). Set to `true` to opt out — primarily\nused by callers like Cloudflare Radar that need to avoid a\ncircular dependency when building the domain details page.\nNote: the bulk endpoint (`/intel/domain/bulk`) uses opposite\ndefaults — see `include_ranking` there.\n", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "intel_identifier": intel_identifier, @@ -64,22 +77,22 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/intel_single_response", $defs: { - "intel_additional_information": intel_additional_information_output, - "intel_api-response-single": intel_api_response_single_output, - "intel_application": intel_application_output, - "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty_output, - "intel_category_with_super_category_id": intel_category_with_super_category_id_output, - "intel_content_categories": intel_content_categories_output, - "intel_domain": intel_domain_output, - "intel_domain_name": intel_domain_name_output, - "intel_inherited_from": intel_inherited_from_output, - "intel_popularity_rank": intel_popularity_rank_output, - "intel_resolves_to_ref": intel_resolves_to_ref_output, - "intel_resolves_to_refs": intel_resolves_to_refs_output, - "intel_risk_score": intel_risk_score_output, - "intel_schemas-messages": intel_schemas_messages_output, - "intel_single_response": intel_single_response_output, - "intel_stix_identifier": intel_stix_identifier_output, + "intel_additional_information": intel_additional_information, + "intel_api-response-single": intel_api$$response$$single, + "intel_application": intel_application, + "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty, + "intel_category_with_super_category_id": intel_category_with_super_category_id, + "intel_content_categories": intel_content_categories, + "intel_domain": intel_domain, + "intel_domain_name": intel_domain_name, + "intel_inherited_from": intel_inherited_from, + "intel_popularity_rank": intel_popularity_rank, + "intel_resolves_to_ref": intel_resolves_to_ref, + "intel_resolves_to_refs": intel_resolves_to_refs, + "intel_risk_score": intel_risk_score, + "intel_schemas-messages": intel_schemas$$messages, + "intel_single_response": intel_single_response, + "intel_stix_identifier": intel_stix_identifier, }, }, annotations: { @@ -114,32 +127,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_additional_information": intel_additional_information_output, - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_api-response-single": intel_api_response_single_output, - "intel_application": intel_application_output, - "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty_output, - "intel_category_with_super_category_id": intel_category_with_super_category_id_output, - "intel_content_categories": intel_content_categories_output, - "intel_domain": intel_domain_output, - "intel_domain_name": intel_domain_name_output, - "intel_inherited_from": intel_inherited_from_output, - "intel_messages": intel_messages_output, - "intel_popularity_rank": intel_popularity_rank_output, - "intel_resolves_to_ref": intel_resolves_to_ref_output, - "intel_resolves_to_refs": intel_resolves_to_refs_output, - "intel_risk_score": intel_risk_score_output, - "intel_schemas-messages": intel_schemas_messages_output, - "intel_single_response": intel_single_response_output, - "intel_stix_identifier": intel_stix_identifier_output, + "intel_additional_information": intel_additional_information, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_api-response-single": intel_api$$response$$single, + "intel_application": intel_application, + "intel_categories_with_super_category_ids_example_empty": intel_categories_with_super_category_ids_example_empty, + "intel_category_with_super_category_id": intel_category_with_super_category_id, + "intel_content_categories": intel_content_categories, + "intel_domain": intel_domain, + "intel_domain_name": intel_domain_name, + "intel_inherited_from": intel_inherited_from, + "intel_messages": intel_messages, + "intel_popularity_rank": intel_popularity_rank, + "intel_resolves_to_ref": intel_resolves_to_ref, + "intel_resolves_to_refs": intel_resolves_to_refs, + "intel_risk_score": intel_risk_score, + "intel_schemas-messages": intel_schemas$$messages, + "intel_single_response": intel_single_response, + "intel_stix_identifier": intel_stix_identifier, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/domain`, query: [ - ["domain", args["domain"], true], - ["skip_dns", args["skip_dns"], true], - ["skip_ranking", args["skip_ranking"], true], + ["domain", param(args, "query", "domain"), true], + ["skip_dns", param(args, "query", "skip_dns"), true], + ["skip_ranking", param(args, "query", "skip_ranking"), true], ], }), }, diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts index 3b5fe8e63..baf985551 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts @@ -3,54 +3,62 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - custom_indicator_feeds_api_response_common_failure_output, - custom_indicator_feeds_api_response_single_output, - custom_indicator_feeds_messages_2_output, - custom_indicator_feeds_messages_output, - custom_indicator_feeds_update_feed_output, - custom_indicator_feeds_update_feed_response_output, + custom$$indicator$$feeds_api$$response$$single, + custom$$indicator$$feeds_api_response_common_failure, + custom$$indicator$$feeds_messages, + custom$$indicator$$feeds_messages$$2, + custom$$indicator$$feeds_update_feed, + custom$$indicator$$feeds_update_feed_response, } from "../outputs.js"; import { - custom_indicator_feeds_feed_id, - custom_indicator_feeds_identifier, + custom$$indicator$$feeds_feed_id, + custom$$indicator$$feeds_identifier, } from "../schemas.js"; /** - * The tools of `intel.indicator_feeds.downloads`. + * The tools of `intel.indicatorFeeds.downloads`. */ export const tools: readonly Tool[] = [ { - name: "intel_indicator_feeds_downloads_get", + name: "intel_indicatorFeeds_downloads_get", title: "Download indicator feed data", description: "Downloads the content of a custom threat indicator feed.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" - }, - "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + }, + "feed_id": { + "$ref": "#/$defs/custom-indicator-feeds_feed_id", + "description": "Indicator feed ID" + } + }, + "required": [ + "account_id", + "feed_id" + ], + "type": "object" } }, required: [ - "account_id", - "feed_id" + "path" ], $defs: { - "custom-indicator-feeds_feed_id": custom_indicator_feeds_feed_id, - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, + "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_update_feed_response", $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_update_feed": custom_indicator_feeds_update_feed_output, - "custom-indicator-feeds_update_feed_response": custom_indicator_feeds_update_feed_response_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_update_feed": custom$$indicator$$feeds_update_feed, + "custom-indicator-feeds_update_feed_response": custom$$indicator$$feeds_update_feed_response, }, }, annotations: { @@ -78,12 +86,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_update_feed": custom_indicator_feeds_update_feed_output, - "custom-indicator-feeds_update_feed_response": custom_indicator_feeds_update_feed_response_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_update_feed": custom$$indicator$$feeds_update_feed, + "custom-indicator-feeds_update_feed_response": custom$$indicator$$feeds_update_feed_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts index 37429da0f..31634c66e 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `custom-indicator-feeds_api-response-common` in responses. */ -export const custom_indicator_feeds_api_response_common_output: JsonSchema = { +export const custom$$indicator$$feeds_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/custom-indicator-feeds_messages-2" @@ -32,7 +32,7 @@ export const custom_indicator_feeds_api_response_common_output: JsonSchema = { /** * The schema of `custom-indicator-feeds_api-response-single` in responses. */ -export const custom_indicator_feeds_api_response_single_output: JsonSchema = { +export const custom$$indicator$$feeds_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/custom-indicator-feeds_messages-2" @@ -59,7 +59,7 @@ export const custom_indicator_feeds_api_response_single_output: JsonSchema = { * The schema of `custom-indicator-feeds_api_response_common_failure` in * responses. */ -export const custom_indicator_feeds_api_response_common_failure_output: JsonSchema = { +export const custom$$indicator$$feeds_api_response_common_failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/custom-indicator-feeds_messages" @@ -89,7 +89,7 @@ export const custom_indicator_feeds_api_response_common_failure_output: JsonSche /** * The schema of `custom-indicator-feeds_create_feed_response` in responses. */ -export const custom_indicator_feeds_create_feed_response_output: JsonSchema = { +export const custom$$indicator$$feeds_create_feed_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-indicator-feeds_api-response-single" @@ -108,28 +108,28 @@ export const custom_indicator_feeds_create_feed_response_output: JsonSchema = { /** * The schema of `custom-indicator-feeds_description` in responses. */ -export const custom_indicator_feeds_description_output: JsonSchema = { +export const custom$$indicator$$feeds_description: JsonSchema = { "type": "string" }; /** * The schema of `custom-indicator-feeds_feed_id` in responses. */ -export const custom_indicator_feeds_feed_id_output: JsonSchema = { +export const custom$$indicator$$feeds_feed_id: JsonSchema = { "type": "integer" }; /** * The schema of `custom-indicator-feeds_id` in responses. */ -export const custom_indicator_feeds_id_output: JsonSchema = { +export const custom$$indicator$$feeds_id: JsonSchema = { "type": "integer" }; /** * The schema of `custom-indicator-feeds_indicator_feed_item` in responses. */ -export const custom_indicator_feeds_indicator_feed_item_output: JsonSchema = { +export const custom$$indicator$$feeds_indicator_feed_item: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -164,7 +164,7 @@ export const custom_indicator_feeds_indicator_feed_item_output: JsonSchema = { /** * The schema of `custom-indicator-feeds_indicator_feed_metadata` in responses. */ -export const custom_indicator_feeds_indicator_feed_metadata_output: JsonSchema = { +export const custom$$indicator$$feeds_indicator_feed_metadata: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -223,7 +223,7 @@ export const custom_indicator_feeds_indicator_feed_metadata_output: JsonSchema = * The schema of `custom-indicator-feeds_indicator_feed_metadata_response` in * responses. */ -export const custom_indicator_feeds_indicator_feed_metadata_response_output: JsonSchema = { +export const custom$$indicator$$feeds_indicator_feed_metadata_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-indicator-feeds_api-response-single" @@ -242,7 +242,7 @@ export const custom_indicator_feeds_indicator_feed_metadata_response_output: Jso /** * The schema of `custom-indicator-feeds_indicator_feed_response` in responses. */ -export const custom_indicator_feeds_indicator_feed_response_output: JsonSchema = { +export const custom$$indicator$$feeds_indicator_feed_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-indicator-feeds_api-response-common" @@ -264,28 +264,28 @@ export const custom_indicator_feeds_indicator_feed_response_output: JsonSchema = /** * The schema of `custom-indicator-feeds_is_attributable` in responses. */ -export const custom_indicator_feeds_is_attributable_output: JsonSchema = { +export const custom$$indicator$$feeds_is_attributable: JsonSchema = { "type": "boolean" }; /** * The schema of `custom-indicator-feeds_is_downloadable` in responses. */ -export const custom_indicator_feeds_is_downloadable_output: JsonSchema = { +export const custom$$indicator$$feeds_is_downloadable: JsonSchema = { "type": "boolean" }; /** * The schema of `custom-indicator-feeds_is_public` in responses. */ -export const custom_indicator_feeds_is_public_output: JsonSchema = { +export const custom$$indicator$$feeds_is_public: JsonSchema = { "type": "boolean" }; /** * The schema of `custom-indicator-feeds_last_upload_summary` in responses. */ -export const custom_indicator_feeds_last_upload_summary_output: JsonSchema = { +export const custom$$indicator$$feeds_last_upload_summary: JsonSchema = { "properties": { "persisted": { "properties": { @@ -345,7 +345,7 @@ export const custom_indicator_feeds_last_upload_summary_output: JsonSchema = { /** * The schema of `custom-indicator-feeds_messages` in responses. */ -export const custom_indicator_feeds_messages_output: JsonSchema = { +export const custom$$indicator$$feeds_messages: JsonSchema = { "items": { "properties": { "code": { @@ -367,7 +367,7 @@ export const custom_indicator_feeds_messages_output: JsonSchema = { /** * The schema of `custom-indicator-feeds_messages-2` in responses. */ -export const custom_indicator_feeds_messages_2_output: JsonSchema = { +export const custom$$indicator$$feeds_messages$$2: JsonSchema = { "items": { "properties": { "code": { @@ -400,28 +400,28 @@ export const custom_indicator_feeds_messages_2_output: JsonSchema = { /** * The schema of `custom-indicator-feeds_name` in responses. */ -export const custom_indicator_feeds_name_output: JsonSchema = { +export const custom$$indicator$$feeds_name: JsonSchema = { "type": "string" }; /** * The schema of `custom-indicator-feeds_provider_id` in responses. */ -export const custom_indicator_feeds_provider_id_output: JsonSchema = { +export const custom$$indicator$$feeds_provider_id: JsonSchema = { "type": "integer" }; /** * The schema of `custom-indicator-feeds_provider_name` in responses. */ -export const custom_indicator_feeds_provider_name_output: JsonSchema = { +export const custom$$indicator$$feeds_provider_name: JsonSchema = { "type": "string" }; /** * The schema of `custom-indicator-feeds_update_feed` in responses. */ -export const custom_indicator_feeds_update_feed_output: JsonSchema = { +export const custom$$indicator$$feeds_update_feed: JsonSchema = { "properties": { "file_id": { "type": "integer" @@ -445,7 +445,7 @@ export const custom_indicator_feeds_update_feed_output: JsonSchema = { /** * The schema of `custom-indicator-feeds_update_feed_response` in responses. */ -export const custom_indicator_feeds_update_feed_response_output: JsonSchema = { +export const custom$$indicator$$feeds_update_feed_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-indicator-feeds_api-response-single" @@ -465,7 +465,7 @@ export const custom_indicator_feeds_update_feed_response_output: JsonSchema = { * The schema of `custom-indicator-feeds_update_public_field_response` in * responses. */ -export const custom_indicator_feeds_update_public_field_response_output: JsonSchema = { +export const custom$$indicator$$feeds_update_public_field_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-indicator-feeds_api-response-single" diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts index 6ed280c93..36a441f60 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `custom-indicator-feeds_permission_list_item` in responses. */ -export const custom_indicator_feeds_permission_list_item_output: JsonSchema = { +export const custom$$indicator$$feeds_permission_list_item: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/custom-indicator-feeds_description" @@ -34,7 +34,7 @@ export const custom_indicator_feeds_permission_list_item_output: JsonSchema = { * The schema of `custom-indicator-feeds_permission_list_item_response` in * responses. */ -export const custom_indicator_feeds_permission_list_item_response_output: JsonSchema = { +export const custom$$indicator$$feeds_permission_list_item_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-indicator-feeds_api-response-common" @@ -56,7 +56,7 @@ export const custom_indicator_feeds_permission_list_item_response_output: JsonSc /** * The schema of `custom-indicator-feeds_permissions_response` in responses. */ -export const custom_indicator_feeds_permissions_response_output: JsonSchema = { +export const custom$$indicator$$feeds_permissions_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-indicator-feeds_api-response-single" @@ -75,7 +75,7 @@ export const custom_indicator_feeds_permissions_response_output: JsonSchema = { /** * The schema of `custom-indicator-feeds_permissions_update` in responses. */ -export const custom_indicator_feeds_permissions_update_output: JsonSchema = { +export const custom$$indicator$$feeds_permissions_update: JsonSchema = { "properties": { "success": { "type": "boolean" diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/schemas.ts b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/schemas.ts index a488338c2..0e22e298f 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/schemas.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `custom-indicator-feeds_permissions_request`. */ -export const custom_indicator_feeds_permissions_request: JsonSchema = { +export const custom$$indicator$$feeds_permissions_request: JsonSchema = { "properties": { "account_tag": { "description": "The Cloudflare account tag of the account to change permissions on", diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts index c21a145c4..3322a50f8 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts @@ -3,62 +3,70 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - custom_indicator_feeds_api_response_common_failure_output, - custom_indicator_feeds_api_response_common_output, - custom_indicator_feeds_api_response_single_output, - custom_indicator_feeds_description_output, - custom_indicator_feeds_id_output, - custom_indicator_feeds_is_attributable_output, - custom_indicator_feeds_is_downloadable_output, - custom_indicator_feeds_is_public_output, - custom_indicator_feeds_messages_2_output, - custom_indicator_feeds_messages_output, - custom_indicator_feeds_name_output, + custom$$indicator$$feeds_api$$response$$common, + custom$$indicator$$feeds_api$$response$$single, + custom$$indicator$$feeds_api_response_common_failure, + custom$$indicator$$feeds_description, + custom$$indicator$$feeds_id, + custom$$indicator$$feeds_is_attributable, + custom$$indicator$$feeds_is_downloadable, + custom$$indicator$$feeds_is_public, + custom$$indicator$$feeds_messages, + custom$$indicator$$feeds_messages$$2, + custom$$indicator$$feeds_name, } from "../outputs.js"; -import { custom_indicator_feeds_identifier } from "../schemas.js"; +import { custom$$indicator$$feeds_identifier } from "../schemas.js"; import { - custom_indicator_feeds_permission_list_item_output, - custom_indicator_feeds_permission_list_item_response_output, - custom_indicator_feeds_permissions_response_output, - custom_indicator_feeds_permissions_update_output, + custom$$indicator$$feeds_permission_list_item, + custom$$indicator$$feeds_permission_list_item_response, + custom$$indicator$$feeds_permissions_response, + custom$$indicator$$feeds_permissions_update, } from "./outputs.js"; -import { custom_indicator_feeds_permissions_request } from "./schemas.js"; +import { custom$$indicator$$feeds_permissions_request } from "./schemas.js"; /** - * The tools of `intel.indicator_feeds.permissions`. + * The tools of `intel.indicatorFeeds.permissions`. */ export const tools: readonly Tool[] = [ { - name: "intel_indicator_feeds_permissions_create", + name: "intel_indicatorFeeds_permissions_create", title: "Grant permission to indicator feed", description: "Grants access permissions for a custom threat indicator feed to other accounts.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/custom-indicator-feeds_permissions_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, - "custom-indicator-feeds_permissions_request": custom_indicator_feeds_permissions_request, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, + "custom-indicator-feeds_permissions_request": custom$$indicator$$feeds_permissions_request, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_permissions_response", $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_permissions_response": custom_indicator_feeds_permissions_response_output, - "custom-indicator-feeds_permissions_update": custom_indicator_feeds_permissions_update_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_permissions_response": custom$$indicator$$feeds_permissions_response, + "custom-indicator-feeds_permissions_update": custom$$indicator$$feeds_permissions_update, }, }, annotations: { @@ -87,12 +95,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_permissions_response": custom_indicator_feeds_permissions_response_output, - "custom-indicator-feeds_permissions_update": custom_indicator_feeds_permissions_update_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_permissions_response": custom$$indicator$$feeds_permissions_response, + "custom-indicator-feeds_permissions_update": custom$$indicator$$feeds_permissions_update, }, }, request: (args) => ({ @@ -101,36 +109,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "intel_indicator_feeds_permissions_delete", + name: "intel_indicatorFeeds_permissions_delete", title: "Revoke permission to indicator feed", description: "Revokes access permissions for a custom threat indicator feed.\n\nConfirm with the user before calling this tool. This operation destructively removes a permission entry.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/custom-indicator-feeds_permissions_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, - "custom-indicator-feeds_permissions_request": custom_indicator_feeds_permissions_request, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, + "custom-indicator-feeds_permissions_request": custom$$indicator$$feeds_permissions_request, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_permissions_response", $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_permissions_response": custom_indicator_feeds_permissions_response_output, - "custom-indicator-feeds_permissions_update": custom_indicator_feeds_permissions_update_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_permissions_response": custom$$indicator$$feeds_permissions_response, + "custom-indicator-feeds_permissions_update": custom$$indicator$$feeds_permissions_update, }, }, annotations: { @@ -159,12 +175,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_permissions_response": custom_indicator_feeds_permissions_response_output, - "custom-indicator-feeds_permissions_update": custom_indicator_feeds_permissions_update_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_permissions_response": custom$$indicator$$feeds_permissions_response, + "custom-indicator-feeds_permissions_update": custom$$indicator$$feeds_permissions_update, }, }, request: (args) => ({ @@ -173,37 +189,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "intel_indicator_feeds_permissions_list", + name: "intel_indicatorFeeds_permissions_list", title: "List indicator feed permissions", description: "Lists current access permissions for custom threat indicator feeds.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_permission_list_item_response", $defs: { - "custom-indicator-feeds_api-response-common": custom_indicator_feeds_api_response_common_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, - "custom-indicator-feeds_permission_list_item": custom_indicator_feeds_permission_list_item_output, - "custom-indicator-feeds_permission_list_item_response": custom_indicator_feeds_permission_list_item_response_output, + "custom-indicator-feeds_api-response-common": custom$$indicator$$feeds_api$$response$$common, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, + "custom-indicator-feeds_permission_list_item": custom$$indicator$$feeds_permission_list_item, + "custom-indicator-feeds_permission_list_item_response": custom$$indicator$$feeds_permission_list_item_response, }, }, annotations: { @@ -238,18 +262,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-common": custom_indicator_feeds_api_response_common_output, - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, - "custom-indicator-feeds_permission_list_item": custom_indicator_feeds_permission_list_item_output, - "custom-indicator-feeds_permission_list_item_response": custom_indicator_feeds_permission_list_item_response_output, + "custom-indicator-feeds_api-response-common": custom$$indicator$$feeds_api$$response$$common, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, + "custom-indicator-feeds_permission_list_item": custom$$indicator$$feeds_permission_list_item, + "custom-indicator-feeds_permission_list_item_response": custom$$indicator$$feeds_permission_list_item_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/providers/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/providers/outputs.ts index 137216680..20ef55e7d 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/providers/outputs.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/providers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `custom-indicator-feeds_create_provider_response` in responses. */ -export const custom_indicator_feeds_create_provider_response_output: JsonSchema = { +export const custom$$indicator$$feeds_create_provider_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-indicator-feeds_api-response-single" @@ -25,7 +25,7 @@ export const custom_indicator_feeds_create_provider_response_output: JsonSchema /** * The schema of `custom-indicator-feeds_create_provider_result` in responses. */ -export const custom_indicator_feeds_create_provider_result_output: JsonSchema = { +export const custom$$indicator$$feeds_create_provider_result: JsonSchema = { "properties": { "account_id": { "type": "integer" diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/providers/schemas.ts b/src/generated/forge-mcp/intel/indicatorFeeds/providers/schemas.ts index 782a0e5f1..6b7919bfc 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/providers/schemas.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/providers/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `custom-indicator-feeds_create_provider_request`. */ -export const custom_indicator_feeds_create_provider_request: JsonSchema = { +export const custom$$indicator$$feeds_create_provider_request: JsonSchema = { "properties": { "account_id": { "description": "The numeric account ID to create the provider for. Distinct from the\npath `account_id` parameter, which carries the account identifier\nstring used for routing.\n", diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts index dc882e76e..e093cac09 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts @@ -3,53 +3,61 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - custom_indicator_feeds_api_response_common_failure_output, - custom_indicator_feeds_api_response_single_output, - custom_indicator_feeds_messages_2_output, - custom_indicator_feeds_messages_output, + custom$$indicator$$feeds_api$$response$$single, + custom$$indicator$$feeds_api_response_common_failure, + custom$$indicator$$feeds_messages, + custom$$indicator$$feeds_messages$$2, } from "../outputs.js"; -import { custom_indicator_feeds_identifier } from "../schemas.js"; +import { custom$$indicator$$feeds_identifier } from "../schemas.js"; import { - custom_indicator_feeds_create_provider_response_output, - custom_indicator_feeds_create_provider_result_output, + custom$$indicator$$feeds_create_provider_response, + custom$$indicator$$feeds_create_provider_result, } from "./outputs.js"; -import { custom_indicator_feeds_create_provider_request } from "./schemas.js"; +import { custom$$indicator$$feeds_create_provider_request } from "./schemas.js"; /** - * The tools of `intel.indicator_feeds.providers`. + * The tools of `intel.indicatorFeeds.providers`. */ export const tools: readonly Tool[] = [ { - name: "intel_indicator_feeds_providers_create", + name: "intel_indicatorFeeds_providers_create", title: "Create indicator feed provider", description: "Creates a new indicator feed provider for an account. Only available to Intel accounts.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/custom-indicator-feeds_create_provider_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "custom-indicator-feeds_create_provider_request": custom_indicator_feeds_create_provider_request, - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, + "custom-indicator-feeds_create_provider_request": custom$$indicator$$feeds_create_provider_request, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_create_provider_response", $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_create_provider_response": custom_indicator_feeds_create_provider_response_output, - "custom-indicator-feeds_create_provider_result": custom_indicator_feeds_create_provider_result_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_create_provider_response": custom$$indicator$$feeds_create_provider_response, + "custom-indicator-feeds_create_provider_result": custom$$indicator$$feeds_create_provider_result, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, }, }, annotations: { @@ -78,12 +86,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_create_provider_response": custom_indicator_feeds_create_provider_response_output, - "custom-indicator-feeds_create_provider_result": custom_indicator_feeds_create_provider_result_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_create_provider_response": custom$$indicator$$feeds_create_provider_response, + "custom-indicator-feeds_create_provider_result": custom$$indicator$$feeds_create_provider_result, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/schemas.ts b/src/generated/forge-mcp/intel/indicatorFeeds/schemas.ts index d060c6605..30a3bd6b3 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/schemas.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `custom-indicator-feeds_create_feed`. */ -export const custom_indicator_feeds_create_feed: JsonSchema = { +export const custom$$indicator$$feeds_create_feed: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/custom-indicator-feeds_description", @@ -23,7 +23,7 @@ export const custom_indicator_feeds_create_feed: JsonSchema = { /** * The schema of `custom-indicator-feeds_description`. */ -export const custom_indicator_feeds_description: JsonSchema = { +export const custom$$indicator$$feeds_description: JsonSchema = { "description": "The description of the example test", "type": "string" }; @@ -31,7 +31,7 @@ export const custom_indicator_feeds_description: JsonSchema = { /** * The schema of `custom-indicator-feeds_feed_id`. */ -export const custom_indicator_feeds_feed_id: JsonSchema = { +export const custom$$indicator$$feeds_feed_id: JsonSchema = { "description": "Indicator feed ID", "type": "integer" }; @@ -39,7 +39,7 @@ export const custom_indicator_feeds_feed_id: JsonSchema = { /** * The schema of `custom-indicator-feeds_identifier`. */ -export const custom_indicator_feeds_identifier: JsonSchema = { +export const custom$$indicator$$feeds_identifier: JsonSchema = { "description": "Identifier", "type": "string" }; @@ -47,7 +47,7 @@ export const custom_indicator_feeds_identifier: JsonSchema = { /** * The schema of `custom-indicator-feeds_name`. */ -export const custom_indicator_feeds_name: JsonSchema = { +export const custom$$indicator$$feeds_name: JsonSchema = { "description": "The name of the indicator feed", "type": "string" }; @@ -55,7 +55,7 @@ export const custom_indicator_feeds_name: JsonSchema = { /** * The schema of `custom-indicator-feeds_update_public_field_request`. */ -export const custom_indicator_feeds_update_public_field_request: JsonSchema = { +export const custom$$indicator$$feeds_update_public_field_request: JsonSchema = { "properties": { "description": { "description": "The new description of the feed", diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts index 4c6ebe79f..39eeae4f3 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts @@ -3,79 +3,87 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - custom_indicator_feeds_api_response_common_failure_output, - custom_indicator_feeds_api_response_common_output, - custom_indicator_feeds_api_response_single_output, - custom_indicator_feeds_create_feed_response_output, - custom_indicator_feeds_description_output, - custom_indicator_feeds_id_output, - custom_indicator_feeds_indicator_feed_item_output, - custom_indicator_feeds_indicator_feed_metadata_output, - custom_indicator_feeds_indicator_feed_metadata_response_output, - custom_indicator_feeds_indicator_feed_response_output, - custom_indicator_feeds_is_attributable_output, - custom_indicator_feeds_is_downloadable_output, - custom_indicator_feeds_is_public_output, - custom_indicator_feeds_last_upload_summary_output, - custom_indicator_feeds_messages_2_output, - custom_indicator_feeds_messages_output, - custom_indicator_feeds_name_output, - custom_indicator_feeds_provider_id_output, - custom_indicator_feeds_provider_name_output, - custom_indicator_feeds_update_public_field_response_output, + custom$$indicator$$feeds_api$$response$$common, + custom$$indicator$$feeds_api$$response$$single, + custom$$indicator$$feeds_api_response_common_failure, + custom$$indicator$$feeds_create_feed_response, + custom$$indicator$$feeds_description, + custom$$indicator$$feeds_id, + custom$$indicator$$feeds_indicator_feed_item, + custom$$indicator$$feeds_indicator_feed_metadata, + custom$$indicator$$feeds_indicator_feed_metadata_response, + custom$$indicator$$feeds_indicator_feed_response, + custom$$indicator$$feeds_is_attributable, + custom$$indicator$$feeds_is_downloadable, + custom$$indicator$$feeds_is_public, + custom$$indicator$$feeds_last_upload_summary, + custom$$indicator$$feeds_messages, + custom$$indicator$$feeds_messages$$2, + custom$$indicator$$feeds_name, + custom$$indicator$$feeds_provider_id, + custom$$indicator$$feeds_provider_name, + custom$$indicator$$feeds_update_public_field_response, } from "./outputs.js"; import { - custom_indicator_feeds_create_feed, - custom_indicator_feeds_description, - custom_indicator_feeds_feed_id, - custom_indicator_feeds_identifier, - custom_indicator_feeds_name, - custom_indicator_feeds_update_public_field_request, + custom$$indicator$$feeds_create_feed, + custom$$indicator$$feeds_description as custom$$indicator$$feeds_description$, + custom$$indicator$$feeds_feed_id, + custom$$indicator$$feeds_identifier, + custom$$indicator$$feeds_name as custom$$indicator$$feeds_name$, + custom$$indicator$$feeds_update_public_field_request, } from "./schemas.js"; /** - * The tools of `intel.indicator_feeds`. + * The tools of `intel.indicatorFeeds`. */ export const tools: readonly Tool[] = [ { - name: "intel_indicator_feeds_create", + name: "intel_indicatorFeeds_create", title: "Create new indicator feed", description: "Creates a new custom threat indicator feed for sharing threat intelligence data.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/custom-indicator-feeds_create_feed" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "custom-indicator-feeds_create_feed": custom_indicator_feeds_create_feed, - "custom-indicator-feeds_description": custom_indicator_feeds_description, - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, - "custom-indicator-feeds_name": custom_indicator_feeds_name, + "custom-indicator-feeds_create_feed": custom$$indicator$$feeds_create_feed, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description$, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name$, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_create_feed_response", $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_create_feed_response": custom_indicator_feeds_create_feed_response_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_indicator_feed_item": custom_indicator_feeds_indicator_feed_item_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_create_feed_response": custom$$indicator$$feeds_create_feed_response, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, }, }, annotations: { @@ -104,18 +112,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_create_feed_response": custom_indicator_feeds_create_feed_response_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_indicator_feed_item": custom_indicator_feeds_indicator_feed_item_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_create_feed_response": custom$$indicator$$feeds_create_feed_response, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, }, }, request: (args) => ({ @@ -124,28 +132,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "intel_indicator_feeds_data", + name: "intel_indicatorFeeds_data", title: "Get indicator feed data", description: "Retrieves the raw data entries in a custom threat indicator feed.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" - }, - "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + }, + "feed_id": { + "$ref": "#/$defs/custom-indicator-feeds_feed_id", + "description": "Indicator feed ID" + } + }, + "required": [ + "account_id", + "feed_id" + ], + "type": "object" } }, required: [ - "account_id", - "feed_id" + "path" ], $defs: { - "custom-indicator-feeds_feed_id": custom_indicator_feeds_feed_id, - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, + "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, }, }, annotations: { @@ -171,8 +187,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, }, }, request: (args) => ({ @@ -180,46 +196,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "intel_indicator_feeds_get", + name: "intel_indicatorFeeds_get", title: "Get indicator feed metadata", description: "Retrieves details for a specific custom threat indicator feed.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" - }, - "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + }, + "feed_id": { + "$ref": "#/$defs/custom-indicator-feeds_feed_id", + "description": "Indicator feed ID" + } + }, + "required": [ + "account_id", + "feed_id" + ], + "type": "object" } }, required: [ - "account_id", - "feed_id" + "path" ], $defs: { - "custom-indicator-feeds_feed_id": custom_indicator_feeds_feed_id, - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, + "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_metadata_response", $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_indicator_feed_metadata": custom_indicator_feeds_indicator_feed_metadata_output, - "custom-indicator-feeds_indicator_feed_metadata_response": custom_indicator_feeds_indicator_feed_metadata_response_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_last_upload_summary": custom_indicator_feeds_last_upload_summary_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, - "custom-indicator-feeds_provider_id": custom_indicator_feeds_provider_id_output, - "custom-indicator-feeds_provider_name": custom_indicator_feeds_provider_name_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_indicator_feed_metadata": custom$$indicator$$feeds_indicator_feed_metadata, + "custom-indicator-feeds_indicator_feed_metadata_response": custom$$indicator$$feeds_indicator_feed_metadata_response, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_last_upload_summary": custom$$indicator$$feeds_last_upload_summary, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, + "custom-indicator-feeds_provider_id": custom$$indicator$$feeds_provider_id, + "custom-indicator-feeds_provider_name": custom$$indicator$$feeds_provider_name, }, }, annotations: { @@ -254,21 +278,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_indicator_feed_metadata": custom_indicator_feeds_indicator_feed_metadata_output, - "custom-indicator-feeds_indicator_feed_metadata_response": custom_indicator_feeds_indicator_feed_metadata_response_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_last_upload_summary": custom_indicator_feeds_last_upload_summary_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, - "custom-indicator-feeds_provider_id": custom_indicator_feeds_provider_id_output, - "custom-indicator-feeds_provider_name": custom_indicator_feeds_provider_name_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_indicator_feed_metadata": custom$$indicator$$feeds_indicator_feed_metadata, + "custom-indicator-feeds_indicator_feed_metadata_response": custom$$indicator$$feeds_indicator_feed_metadata_response, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_last_upload_summary": custom$$indicator$$feeds_last_upload_summary, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, + "custom-indicator-feeds_provider_id": custom$$indicator$$feeds_provider_id, + "custom-indicator-feeds_provider_name": custom$$indicator$$feeds_provider_name, }, }, request: (args) => ({ @@ -276,37 +300,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "intel_indicator_feeds_list", + name: "intel_indicatorFeeds_list", title: "Get indicator feeds owned by this account", description: "Retrieves details for all accessible custom threat indicator feeds.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_response", $defs: { - "custom-indicator-feeds_api-response-common": custom_indicator_feeds_api_response_common_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_indicator_feed_item": custom_indicator_feeds_indicator_feed_item_output, - "custom-indicator-feeds_indicator_feed_response": custom_indicator_feeds_indicator_feed_response_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, + "custom-indicator-feeds_api-response-common": custom$$indicator$$feeds_api$$response$$common, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, + "custom-indicator-feeds_indicator_feed_response": custom$$indicator$$feeds_indicator_feed_response, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, }, }, annotations: { @@ -341,18 +373,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-common": custom_indicator_feeds_api_response_common_output, - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_indicator_feed_item": custom_indicator_feeds_indicator_feed_item_output, - "custom-indicator-feeds_indicator_feed_response": custom_indicator_feeds_indicator_feed_response_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, + "custom-indicator-feeds_api-response-common": custom$$indicator$$feeds_api$$response$$common, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, + "custom-indicator-feeds_indicator_feed_response": custom$$indicator$$feeds_indicator_feed_response, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, }, }, request: (args) => ({ @@ -360,48 +392,56 @@ export const tools: readonly Tool[] = [ }), }, { - name: "intel_indicator_feeds_update", + name: "intel_indicatorFeeds_update", title: "Update indicator feed metadata", description: "Revises details for a specific custom threat indicator feed.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/custom-indicator-feeds_update_public_field_request" }, - "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + }, + "feed_id": { + "$ref": "#/$defs/custom-indicator-feeds_feed_id", + "description": "Indicator feed ID" + } + }, + "required": [ + "account_id", + "feed_id" + ], + "type": "object" } }, required: [ - "account_id", - "feed_id", + "path", "body" ], $defs: { - "custom-indicator-feeds_feed_id": custom_indicator_feeds_feed_id, - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, - "custom-indicator-feeds_update_public_field_request": custom_indicator_feeds_update_public_field_request, + "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, + "custom-indicator-feeds_update_public_field_request": custom$$indicator$$feeds_update_public_field_request, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_update_public_field_response", $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_indicator_feed_item": custom_indicator_feeds_indicator_feed_item_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, - "custom-indicator-feeds_update_public_field_response": custom_indicator_feeds_update_public_field_response_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, + "custom-indicator-feeds_update_public_field_response": custom$$indicator$$feeds_update_public_field_response, }, }, annotations: { @@ -430,18 +470,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_api_response_common_failure": custom_indicator_feeds_api_response_common_failure_output, - "custom-indicator-feeds_description": custom_indicator_feeds_description_output, - "custom-indicator-feeds_id": custom_indicator_feeds_id_output, - "custom-indicator-feeds_indicator_feed_item": custom_indicator_feeds_indicator_feed_item_output, - "custom-indicator-feeds_is_attributable": custom_indicator_feeds_is_attributable_output, - "custom-indicator-feeds_is_downloadable": custom_indicator_feeds_is_downloadable_output, - "custom-indicator-feeds_is_public": custom_indicator_feeds_is_public_output, - "custom-indicator-feeds_messages": custom_indicator_feeds_messages_output, - "custom-indicator-feeds_messages-2": custom_indicator_feeds_messages_2_output, - "custom-indicator-feeds_name": custom_indicator_feeds_name_output, - "custom-indicator-feeds_update_public_field_response": custom_indicator_feeds_update_public_field_response_output, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_description": custom$$indicator$$feeds_description, + "custom-indicator-feeds_id": custom$$indicator$$feeds_id, + "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, + "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, + "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, + "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_name": custom$$indicator$$feeds_name, + "custom-indicator-feeds_update_public_field_response": custom$$indicator$$feeds_update_public_field_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts index a1691fb30..6bcdd74ec 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `custom-indicator-feeds_upload_status` in responses. */ -export const custom_indicator_feeds_upload_status_output: JsonSchema = { +export const custom$$indicator$$feeds_upload_status: JsonSchema = { "properties": { "attempts": { "type": "integer" @@ -63,7 +63,7 @@ export const custom_indicator_feeds_upload_status_output: JsonSchema = { /** * The schema of `custom-indicator-feeds_upload_status_response` in responses. */ -export const custom_indicator_feeds_upload_status_response_output: JsonSchema = { +export const custom$$indicator$$feeds_upload_status_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/custom-indicator-feeds_api-response-single" diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts index 886cdc09c..a869cd365 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts @@ -3,62 +3,70 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - custom_indicator_feeds_api_response_common_failure_output, - custom_indicator_feeds_api_response_single_output, - custom_indicator_feeds_feed_id_output, - custom_indicator_feeds_messages_2_output, - custom_indicator_feeds_messages_output, + custom$$indicator$$feeds_api$$response$$single, + custom$$indicator$$feeds_api_response_common_failure, + custom$$indicator$$feeds_feed_id, + custom$$indicator$$feeds_messages, + custom$$indicator$$feeds_messages$$2, } from "../outputs.js"; import { - custom_indicator_feeds_feed_id, - custom_indicator_feeds_identifier, + custom$$indicator$$feeds_feed_id as custom$$indicator$$feeds_feed_id$, + custom$$indicator$$feeds_identifier, } from "../schemas.js"; import { - custom_indicator_feeds_upload_status_output, - custom_indicator_feeds_upload_status_response_output, + custom$$indicator$$feeds_upload_status, + custom$$indicator$$feeds_upload_status_response, } from "./outputs.js"; /** - * The tools of `intel.indicator_feeds.uploads`. + * The tools of `intel.indicatorFeeds.uploads`. */ export const tools: readonly Tool[] = [ { - name: "intel_indicator_feeds_uploads_get", + name: "intel_indicatorFeeds_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": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" - }, - "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" - }, - "upload_id": { - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/custom-indicator-feeds_identifier", + "description": "Identifier" + }, + "feed_id": { + "$ref": "#/$defs/custom-indicator-feeds_feed_id", + "description": "Indicator feed ID" + }, + "upload_id": { + "type": "integer" + } + }, + "required": [ + "account_id", + "feed_id", + "upload_id" + ], + "type": "object" } }, required: [ - "account_id", - "feed_id", - "upload_id" + "path" ], $defs: { - "custom-indicator-feeds_feed_id": custom_indicator_feeds_feed_id, - "custom-indicator-feeds_identifier": custom_indicator_feeds_identifier, + "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id$, + "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, }, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_upload_status_response", $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "custom-indicator-feeds_feed_id": custom_indicator_feeds_feed_id_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, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_upload_status": custom$$indicator$$feeds_upload_status, + "custom-indicator-feeds_upload_status_response": custom$$indicator$$feeds_upload_status_response, }, }, annotations: { @@ -93,13 +101,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "custom-indicator-feeds_api-response-single": custom_indicator_feeds_api_response_single_output, - "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, + "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, + "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, + "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, + "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, + "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, + "custom-indicator-feeds_upload_status": custom$$indicator$$feeds_upload_status, + "custom-indicator-feeds_upload_status_response": custom$$indicator$$feeds_upload_status_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/ipLists/outputs.ts b/src/generated/forge-mcp/intel/ipLists/outputs.ts index 499bbb51b..46ee62a14 100644 --- a/src/generated/forge-mcp/intel/ipLists/outputs.ts +++ b/src/generated/forge-mcp/intel/ipLists/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `intel_components-schemas-response` in responses. */ -export const intel_components_schemas_response_output: JsonSchema = { +export const intel_components$$schemas$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_api-response-collection" @@ -28,7 +28,7 @@ export const intel_components_schemas_response_output: JsonSchema = { /** * The schema of `intel_ip-list` in responses. */ -export const intel_ip_list_output: JsonSchema = { +export const intel_ip$$list: JsonSchema = { "properties": { "description": { "type": "string" diff --git a/src/generated/forge-mcp/intel/ipLists/tools.ts b/src/generated/forge-mcp/intel/ipLists/tools.ts index 48f5044b3..8e1cb432e 100644 --- a/src/generated/forge-mcp/intel/ipLists/tools.ts +++ b/src/generated/forge-mcp/intel/ipLists/tools.ts @@ -3,36 +3,44 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - intel_api_response_collection_output, - intel_api_response_common_failure_output, - intel_api_response_common_output, - intel_messages_output, - intel_result_info_output, + intel_api$$response$$collection, + intel_api$$response$$common, + intel_api$$response$$common$$failure, + intel_messages, + intel_result_info, } from "../outputs.js"; import { intel_identifier } from "../schemas.js"; import { - intel_components_schemas_response_output, - intel_ip_list_output, + intel_components$$schemas$$response, + intel_ip$$list, } from "./outputs.js"; /** - * The tools of `intel.ip_lists`. + * The tools of `intel.ipLists`. */ export const tools: readonly Tool[] = [ { - name: "intel_ip_lists_get", + name: "intel_ipLists_get", title: "Get Available IP Lists", description: "Returns a list of available IP list categories (e.g., anonymizer, botnetcc, malware, tor, vpn, open_proxies). This endpoint provides metadata about which IP lists are available in the system.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "intel_identifier": intel_identifier, @@ -41,12 +49,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/intel_components-schemas-response", $defs: { - "intel_api-response-collection": intel_api_response_collection_output, - "intel_api-response-common": intel_api_response_common_output, - "intel_components-schemas-response": intel_components_schemas_response_output, - "intel_ip-list": intel_ip_list_output, - "intel_messages": intel_messages_output, - "intel_result_info": intel_result_info_output, + "intel_api-response-collection": intel_api$$response$$collection, + "intel_api-response-common": intel_api$$response$$common, + "intel_components-schemas-response": intel_components$$schemas$$response, + "intel_ip-list": intel_ip$$list, + "intel_messages": intel_messages, + "intel_result_info": intel_result_info, }, }, annotations: { @@ -81,13 +89,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_api-response-collection": intel_api_response_collection_output, - "intel_api-response-common": intel_api_response_common_output, - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_components-schemas-response": intel_components_schemas_response_output, - "intel_ip-list": intel_ip_list_output, - "intel_messages": intel_messages_output, - "intel_result_info": intel_result_info_output, + "intel_api-response-collection": intel_api$$response$$collection, + "intel_api-response-common": intel_api$$response$$common, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_components-schemas-response": intel_components$$schemas$$response, + "intel_ip-list": intel_ip$$list, + "intel_messages": intel_messages, + "intel_result_info": intel_result_info, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/ips/outputs.ts b/src/generated/forge-mcp/intel/ips/outputs.ts index 6de160c5d..d4169d815 100644 --- a/src/generated/forge-mcp/intel/ips/outputs.ts +++ b/src/generated/forge-mcp/intel/ips/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `intel_ip` in responses. */ -export const intel_ip_output: JsonSchema = { +export const intel_ip: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/intel_ipv4" @@ -20,21 +20,21 @@ export const intel_ip_output: JsonSchema = { /** * The schema of `intel_ipv4` in responses. */ -export const intel_ipv4_output: JsonSchema = { +export const intel_ipv4: JsonSchema = { "type": "string" }; /** * The schema of `intel_ipv6` in responses. */ -export const intel_ipv6_output: JsonSchema = { +export const intel_ipv6: JsonSchema = { "type": "string" }; /** * The schema of `intel_schemas-ip` in responses. */ -export const intel_schemas_ip_output: JsonSchema = { +export const intel_schemas$$ip: JsonSchema = { "properties": { "belongs_to_ref": { "properties": { @@ -88,7 +88,7 @@ export const intel_schemas_ip_output: JsonSchema = { /** * The schema of `intel_schemas-response` in responses. */ -export const intel_schemas_response_output: JsonSchema = { +export const intel_schemas$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_api-response-collection" diff --git a/src/generated/forge-mcp/intel/ips/tools.ts b/src/generated/forge-mcp/intel/ips/tools.ts index 050032c3e..963511131 100644 --- a/src/generated/forge-mcp/intel/ips/tools.ts +++ b/src/generated/forge-mcp/intel/ips/tools.ts @@ -1,21 +1,21 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - intel_api_response_collection_output, - intel_api_response_common_failure_output, - intel_api_response_common_output, - intel_messages_output, - intel_result_info_output, + intel_api$$response$$collection, + intel_api$$response$$common, + intel_api$$response$$common$$failure, + intel_messages, + intel_result_info, } from "../outputs.js"; import { intel_identifier } from "../schemas.js"; import { - intel_ip_output, - intel_ipv4_output, - intel_ipv6_output, - intel_schemas_ip_output, - intel_schemas_response_output, + intel_ip, + intel_ipv4, + intel_ipv6, + intel_schemas$$ip, + intel_schemas$$response, } from "./outputs.js"; /** @@ -29,19 +29,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." - }, - "ipv4": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "ipv6": { - "type": "string" + "query": { + "properties": { + "ipv4": { + "type": "string" + }, + "ipv6": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "intel_identifier": intel_identifier, @@ -50,15 +63,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/intel_schemas-response", $defs: { - "intel_api-response-collection": intel_api_response_collection_output, - "intel_api-response-common": intel_api_response_common_output, - "intel_ip": intel_ip_output, - "intel_ipv4": intel_ipv4_output, - "intel_ipv6": intel_ipv6_output, - "intel_messages": intel_messages_output, - "intel_result_info": intel_result_info_output, - "intel_schemas-ip": intel_schemas_ip_output, - "intel_schemas-response": intel_schemas_response_output, + "intel_api-response-collection": intel_api$$response$$collection, + "intel_api-response-common": intel_api$$response$$common, + "intel_ip": intel_ip, + "intel_ipv4": intel_ipv4, + "intel_ipv6": intel_ipv6, + "intel_messages": intel_messages, + "intel_result_info": intel_result_info, + "intel_schemas-ip": intel_schemas$$ip, + "intel_schemas-response": intel_schemas$$response, }, }, annotations: { @@ -93,23 +106,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_api-response-collection": intel_api_response_collection_output, - "intel_api-response-common": intel_api_response_common_output, - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_ip": intel_ip_output, - "intel_ipv4": intel_ipv4_output, - "intel_ipv6": intel_ipv6_output, - "intel_messages": intel_messages_output, - "intel_result_info": intel_result_info_output, - "intel_schemas-ip": intel_schemas_ip_output, - "intel_schemas-response": intel_schemas_response_output, + "intel_api-response-collection": intel_api$$response$$collection, + "intel_api-response-common": intel_api$$response$$common, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_ip": intel_ip, + "intel_ipv4": intel_ipv4, + "intel_ipv6": intel_ipv6, + "intel_messages": intel_messages, + "intel_result_info": intel_result_info, + "intel_schemas-ip": intel_schemas$$ip, + "intel_schemas-response": intel_schemas$$response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/ip`, query: [ - ["ipv4", args["ipv4"], true], - ["ipv6", args["ipv6"], true], + ["ipv4", param(args, "query", "ipv4"), true], + ["ipv6", param(args, "query", "ipv6"), true], ], }), }, diff --git a/src/generated/forge-mcp/intel/miscategorizations/tools.ts b/src/generated/forge-mcp/intel/miscategorizations/tools.ts index 0107d1a58..1f1f341fa 100644 --- a/src/generated/forge-mcp/intel/miscategorizations/tools.ts +++ b/src/generated/forge-mcp/intel/miscategorizations/tools.ts @@ -3,10 +3,10 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - intel_api_response_common_failure_output, - intel_api_response_single_output, - intel_messages_output, - intel_schemas_messages_output, + intel_api$$response$$common$$failure, + intel_api$$response$$single, + intel_messages, + intel_schemas$$messages, } from "../outputs.js"; import { intel_identifier } from "../schemas.js"; import { intel_miscategorization } from "./schemas.js"; @@ -22,16 +22,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/intel_miscategorization" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -42,8 +50,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/intel_api-response-single", $defs: { - "intel_api-response-single": intel_api_response_single_output, - "intel_schemas-messages": intel_schemas_messages_output, + "intel_api-response-single": intel_api$$response$$single, + "intel_schemas-messages": intel_schemas$$messages, }, }, annotations: { @@ -72,10 +80,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_api-response-single": intel_api_response_single_output, - "intel_messages": intel_messages_output, - "intel_schemas-messages": intel_schemas_messages_output, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_api-response-single": intel_api$$response$$single, + "intel_messages": intel_messages, + "intel_schemas-messages": intel_schemas$$messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/outputs.ts b/src/generated/forge-mcp/intel/outputs.ts index 0e14f9820..7c8cf544d 100644 --- a/src/generated/forge-mcp/intel/outputs.ts +++ b/src/generated/forge-mcp/intel/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `intel_api-response-collection` in responses. */ -export const intel_api_response_collection_output: JsonSchema = { +export const intel_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_api-response-common" @@ -45,7 +45,7 @@ export const intel_api_response_collection_output: JsonSchema = { /** * The schema of `intel_api-response-common` in responses. */ -export const intel_api_response_common_output: JsonSchema = { +export const intel_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/intel_messages" @@ -95,7 +95,7 @@ export const intel_api_response_common_output: JsonSchema = { /** * The schema of `intel_api-response-common-failure` in responses. */ -export const intel_api_response_common_failure_output: JsonSchema = { +export const intel_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/intel_messages" @@ -122,7 +122,7 @@ export const intel_api_response_common_failure_output: JsonSchema = { /** * The schema of `intel_api-response-single` in responses. */ -export const intel_api_response_single_output: JsonSchema = { +export const intel_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/intel_schemas-messages" @@ -148,14 +148,14 @@ export const intel_api_response_single_output: JsonSchema = { /** * The schema of `intel_domain_name` in responses. */ -export const intel_domain_name_output: JsonSchema = { +export const intel_domain_name: JsonSchema = { "type": "string" }; /** * The schema of `intel_messages` in responses. */ -export const intel_messages_output: JsonSchema = { +export const intel_messages: JsonSchema = { "items": { "properties": { "code": { @@ -177,7 +177,7 @@ export const intel_messages_output: JsonSchema = { /** * The schema of `intel_result_info` in responses. */ -export const intel_result_info_output: JsonSchema = { +export const intel_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -198,7 +198,7 @@ export const intel_result_info_output: JsonSchema = { /** * The schema of `intel_schemas-messages` in responses. */ -export const intel_schemas_messages_output: JsonSchema = { +export const intel_schemas$$messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/intel/sinkholes/ingresses/outputs.ts b/src/generated/forge-mcp/intel/sinkholes/ingresses/outputs.ts index b6ea90a1b..b37821616 100644 --- a/src/generated/forge-mcp/intel/sinkholes/ingresses/outputs.ts +++ b/src/generated/forge-mcp/intel/sinkholes/ingresses/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `intel-sinkholes_ingress_collection_response` in responses. */ -export const intel_sinkholes_ingress_collection_response_output: JsonSchema = { +export const intel$$sinkholes_ingress_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel-sinkholes_api-response-common" @@ -28,7 +28,7 @@ export const intel_sinkholes_ingress_collection_response_output: JsonSchema = { /** * The schema of `intel-sinkholes_ingress_item` in responses. */ -export const intel_sinkholes_ingress_item_output: JsonSchema = { +export const intel$$sinkholes_ingress_item: JsonSchema = { "properties": { "cidr": { "type": "string" @@ -57,7 +57,7 @@ export const intel_sinkholes_ingress_item_output: JsonSchema = { /** * The schema of `intel-sinkholes_ingress_single_response` in responses. */ -export const intel_sinkholes_ingress_single_response_output: JsonSchema = { +export const intel$$sinkholes_ingress_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel-sinkholes_api-response-common" diff --git a/src/generated/forge-mcp/intel/sinkholes/ingresses/schemas.ts b/src/generated/forge-mcp/intel/sinkholes/ingresses/schemas.ts index 00b24ec53..53c86378e 100644 --- a/src/generated/forge-mcp/intel/sinkholes/ingresses/schemas.ts +++ b/src/generated/forge-mcp/intel/sinkholes/ingresses/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `intel-sinkholes_ingress_create_params`. */ -export const intel_sinkholes_ingress_create_params: JsonSchema = { +export const intel$$sinkholes_ingress_create_params: JsonSchema = { "properties": { "cidr": { "description": "The CIDR block for the ingress rule in IPv4 or IPv6 notation (e.g., 192.0.2.0/24). Provide a Cloudflare BYOIP CIDR that your account owns.", diff --git a/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts b/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts index dbbe73ce1..5c34d4a9d 100644 --- a/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts +++ b/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts @@ -3,18 +3,18 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - intel_sinkholes_api_response_common_failure_output, - intel_sinkholes_api_response_common_output, - intel_sinkholes_api_response_single_empty_output, - intel_sinkholes_messages_output, + intel$$sinkholes_api$$response$$common, + intel$$sinkholes_api_response_common_failure, + intel$$sinkholes_api_response_single_empty, + intel$$sinkholes_messages, } from "../outputs.js"; -import { intel_sinkholes_identifier } from "../schemas.js"; +import { intel$$sinkholes_identifier } from "../schemas.js"; import { - intel_sinkholes_ingress_collection_response_output, - intel_sinkholes_ingress_item_output, - intel_sinkholes_ingress_single_response_output, + intel$$sinkholes_ingress_collection_response, + intel$$sinkholes_ingress_item, + intel$$sinkholes_ingress_single_response, } from "./outputs.js"; -import { intel_sinkholes_ingress_create_params } from "./schemas.js"; +import { intel$$sinkholes_ingress_create_params } from "./schemas.js"; /** * The tools of `intel.sinkholes.ingresses`. @@ -30,32 +30,40 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/intel-sinkholes_ingress_create_params" }, - "sinkhole_id": { - "description": "The unique identifier for the sinkhole.", - "type": "string" - }, - "zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare zone." + "path": { + "properties": { + "sinkhole_id": { + "description": "The unique identifier for the sinkhole.", + "type": "string" + }, + "zone_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The unique identifier for the Cloudflare zone." + } + }, + "required": [ + "zone_id", + "sinkhole_id" + ], + "type": "object" } }, required: [ - "zone_id", - "sinkhole_id", + "path", "body" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, - "intel-sinkholes_ingress_create_params": intel_sinkholes_ingress_create_params, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, + "intel-sinkholes_ingress_create_params": intel$$sinkholes_ingress_create_params, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_ingress_single_response", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_ingress_item": intel_sinkholes_ingress_item_output, - "intel-sinkholes_ingress_single_response": intel_sinkholes_ingress_single_response_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_ingress_item": intel$$sinkholes_ingress_item, + "intel-sinkholes_ingress_single_response": intel$$sinkholes_ingress_single_response, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, annotations: { @@ -82,11 +90,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_ingress_item": intel_sinkholes_ingress_item_output, - "intel-sinkholes_ingress_single_response": intel_sinkholes_ingress_single_response_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_ingress_item": intel$$sinkholes_ingress_item, + "intel-sinkholes_ingress_single_response": intel$$sinkholes_ingress_single_response, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, request: (args) => ({ @@ -101,34 +109,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "ingress_id": { - "description": "The unique identifier for the ingress rule.", - "type": "string" - }, - "sinkhole_id": { - "description": "The unique identifier for the sinkhole.", - "type": "string" - }, - "zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare zone." + "path": { + "properties": { + "ingress_id": { + "description": "The unique identifier for the ingress rule.", + "type": "string" + }, + "sinkhole_id": { + "description": "The unique identifier for the sinkhole.", + "type": "string" + }, + "zone_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The unique identifier for the Cloudflare zone." + } + }, + "required": [ + "zone_id", + "sinkhole_id", + "ingress_id" + ], + "type": "object" } }, required: [ - "zone_id", - "sinkhole_id", - "ingress_id" + "path" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_api_response_single_empty", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_single_empty": intel_sinkholes_api_response_single_empty_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_single_empty": intel$$sinkholes_api_response_single_empty, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, annotations: { @@ -155,10 +171,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_api_response_single_empty": intel_sinkholes_api_response_single_empty_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_api_response_single_empty": intel$$sinkholes_api_response_single_empty, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, request: (args) => ({ @@ -172,35 +188,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "ingress_id": { - "description": "The unique identifier for the ingress rule.", - "type": "string" - }, - "sinkhole_id": { - "description": "The unique identifier for the sinkhole.", - "type": "string" - }, - "zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare zone." + "path": { + "properties": { + "ingress_id": { + "description": "The unique identifier for the ingress rule.", + "type": "string" + }, + "sinkhole_id": { + "description": "The unique identifier for the sinkhole.", + "type": "string" + }, + "zone_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The unique identifier for the Cloudflare zone." + } + }, + "required": [ + "zone_id", + "sinkhole_id", + "ingress_id" + ], + "type": "object" } }, required: [ - "zone_id", - "sinkhole_id", - "ingress_id" + "path" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_ingress_single_response", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_ingress_item": intel_sinkholes_ingress_item_output, - "intel-sinkholes_ingress_single_response": intel_sinkholes_ingress_single_response_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_ingress_item": intel$$sinkholes_ingress_item, + "intel-sinkholes_ingress_single_response": intel$$sinkholes_ingress_single_response, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, annotations: { @@ -228,11 +252,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_ingress_item": intel_sinkholes_ingress_item_output, - "intel-sinkholes_ingress_single_response": intel_sinkholes_ingress_single_response_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_ingress_item": intel$$sinkholes_ingress_item, + "intel-sinkholes_ingress_single_response": intel$$sinkholes_ingress_single_response, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, request: (args) => ({ @@ -246,39 +270,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "sinkhole_id": { + "description": "The unique identifier for the sinkhole.", + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "sinkhole_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "sinkhole_id": { - "description": "The unique identifier for the sinkhole.", - "type": "string" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "sinkhole_id" + "path" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_ingress_collection_response", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_ingress_collection_response": intel_sinkholes_ingress_collection_response_output, - "intel-sinkholes_ingress_item": intel_sinkholes_ingress_item_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_ingress_collection_response": intel$$sinkholes_ingress_collection_response, + "intel-sinkholes_ingress_item": intel$$sinkholes_ingress_item, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, annotations: { @@ -306,11 +338,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_ingress_collection_response": intel_sinkholes_ingress_collection_response_output, - "intel-sinkholes_ingress_item": intel_sinkholes_ingress_item_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_ingress_collection_response": intel$$sinkholes_ingress_collection_response, + "intel-sinkholes_ingress_item": intel$$sinkholes_ingress_item, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, request: (args) => ({ @@ -327,36 +359,44 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/intel-sinkholes_ingress_create_params" }, - "ingress_id": { - "description": "The unique identifier for the ingress rule.", - "type": "string" - }, - "sinkhole_id": { - "description": "The unique identifier for the sinkhole.", - "type": "string" - }, - "zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare zone." + "path": { + "properties": { + "ingress_id": { + "description": "The unique identifier for the ingress rule.", + "type": "string" + }, + "sinkhole_id": { + "description": "The unique identifier for the sinkhole.", + "type": "string" + }, + "zone_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The unique identifier for the Cloudflare zone." + } + }, + "required": [ + "zone_id", + "sinkhole_id", + "ingress_id" + ], + "type": "object" } }, required: [ - "zone_id", - "sinkhole_id", - "ingress_id", + "path", "body" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, - "intel-sinkholes_ingress_create_params": intel_sinkholes_ingress_create_params, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, + "intel-sinkholes_ingress_create_params": intel$$sinkholes_ingress_create_params, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_api_response_single_empty", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_single_empty": intel_sinkholes_api_response_single_empty_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_single_empty": intel$$sinkholes_api_response_single_empty, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, annotations: { @@ -383,10 +423,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_api_response_single_empty": intel_sinkholes_api_response_single_empty_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_api_response_single_empty": intel$$sinkholes_api_response_single_empty, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/sinkholes/outputs.ts b/src/generated/forge-mcp/intel/sinkholes/outputs.ts index d8b8974a4..43239c013 100644 --- a/src/generated/forge-mcp/intel/sinkholes/outputs.ts +++ b/src/generated/forge-mcp/intel/sinkholes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `intel-sinkholes_api-response-common` in responses. */ -export const intel_sinkholes_api_response_common_output: JsonSchema = { +export const intel$$sinkholes_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/intel-sinkholes_messages" @@ -32,7 +32,7 @@ export const intel_sinkholes_api_response_common_output: JsonSchema = { /** * The schema of `intel-sinkholes_api_response_common_failure` in responses. */ -export const intel_sinkholes_api_response_common_failure_output: JsonSchema = { +export const intel$$sinkholes_api_response_common_failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/intel-sinkholes_messages" @@ -62,7 +62,7 @@ export const intel_sinkholes_api_response_common_failure_output: JsonSchema = { /** * The schema of `intel-sinkholes_api_response_single_empty` in responses. */ -export const intel_sinkholes_api_response_single_empty_output: JsonSchema = { +export const intel$$sinkholes_api_response_single_empty: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel-sinkholes_api-response-common" @@ -81,7 +81,7 @@ export const intel_sinkholes_api_response_single_empty_output: JsonSchema = { /** * The schema of `intel-sinkholes_messages` in responses. */ -export const intel_sinkholes_messages_output: JsonSchema = { +export const intel$$sinkholes_messages: JsonSchema = { "items": { "properties": { "code": { @@ -114,7 +114,7 @@ export const intel_sinkholes_messages_output: JsonSchema = { /** * The schema of `intel-sinkholes_sinkhole_collection_response` in responses. */ -export const intel_sinkholes_sinkhole_collection_response_output: JsonSchema = { +export const intel$$sinkholes_sinkhole_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel-sinkholes_api-response-common" @@ -136,7 +136,7 @@ export const intel_sinkholes_sinkhole_collection_response_output: JsonSchema = { /** * The schema of `intel-sinkholes_sinkhole_item` in responses. */ -export const intel_sinkholes_sinkhole_item_output: JsonSchema = { +export const intel$$sinkholes_sinkhole_item: JsonSchema = { "properties": { "account_tag": { "type": "string" @@ -168,7 +168,7 @@ export const intel_sinkholes_sinkhole_item_output: JsonSchema = { /** * The schema of `intel-sinkholes_sinkhole_single_response` in responses. */ -export const intel_sinkholes_sinkhole_single_response_output: JsonSchema = { +export const intel$$sinkholes_sinkhole_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel-sinkholes_api-response-common" diff --git a/src/generated/forge-mcp/intel/sinkholes/schemas.ts b/src/generated/forge-mcp/intel/sinkholes/schemas.ts index 4b7fc5fac..b5ee1875b 100644 --- a/src/generated/forge-mcp/intel/sinkholes/schemas.ts +++ b/src/generated/forge-mcp/intel/sinkholes/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `intel-sinkholes_identifier`. */ -export const intel_sinkholes_identifier: JsonSchema = { +export const intel$$sinkholes_identifier: JsonSchema = { "description": "An identifier for the resource.", "type": "string" }; @@ -14,7 +14,7 @@ export const intel_sinkholes_identifier: JsonSchema = { /** * The schema of `intel-sinkholes_sinkhole_create_params`. */ -export const intel_sinkholes_sinkhole_create_params: JsonSchema = { +export const intel$$sinkholes_sinkhole_create_params: JsonSchema = { "properties": { "name": { "description": "The name of the sinkhole.", diff --git a/src/generated/forge-mcp/intel/sinkholes/tools.ts b/src/generated/forge-mcp/intel/sinkholes/tools.ts index d42181270..bdaba3466 100644 --- a/src/generated/forge-mcp/intel/sinkholes/tools.ts +++ b/src/generated/forge-mcp/intel/sinkholes/tools.ts @@ -3,17 +3,17 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - intel_sinkholes_api_response_common_failure_output, - intel_sinkholes_api_response_common_output, - intel_sinkholes_api_response_single_empty_output, - intel_sinkholes_messages_output, - intel_sinkholes_sinkhole_collection_response_output, - intel_sinkholes_sinkhole_item_output, - intel_sinkholes_sinkhole_single_response_output, + intel$$sinkholes_api$$response$$common, + intel$$sinkholes_api_response_common_failure, + intel$$sinkholes_api_response_single_empty, + intel$$sinkholes_messages, + intel$$sinkholes_sinkhole_collection_response, + intel$$sinkholes_sinkhole_item, + intel$$sinkholes_sinkhole_single_response, } from "./outputs.js"; import { - intel_sinkholes_identifier, - intel_sinkholes_sinkhole_create_params, + intel$$sinkholes_identifier, + intel$$sinkholes_sinkhole_create_params, } from "./schemas.js"; /** @@ -27,30 +27,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." - }, "body": { "$ref": "#/$defs/intel-sinkholes_sinkhole_create_params" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The unique identifier for the Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, - "intel-sinkholes_sinkhole_create_params": intel_sinkholes_sinkhole_create_params, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, + "intel-sinkholes_sinkhole_create_params": intel$$sinkholes_sinkhole_create_params, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_sinkhole_single_response", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, - "intel-sinkholes_sinkhole_item": intel_sinkholes_sinkhole_item_output, - "intel-sinkholes_sinkhole_single_response": intel_sinkholes_sinkhole_single_response_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_messages": intel$$sinkholes_messages, + "intel-sinkholes_sinkhole_item": intel$$sinkholes_sinkhole_item, + "intel-sinkholes_sinkhole_single_response": intel$$sinkholes_sinkhole_single_response, }, }, annotations: { @@ -77,11 +85,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, - "intel-sinkholes_sinkhole_item": intel_sinkholes_sinkhole_item_output, - "intel-sinkholes_sinkhole_single_response": intel_sinkholes_sinkhole_single_response_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_messages": intel$$sinkholes_messages, + "intel-sinkholes_sinkhole_item": intel$$sinkholes_sinkhole_item, + "intel-sinkholes_sinkhole_single_response": intel$$sinkholes_sinkhole_single_response, }, }, request: (args) => ({ @@ -96,29 +104,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." - }, - "sinkhole_id": { - "description": "The unique identifier for the sinkhole.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The unique identifier for the Cloudflare account." + }, + "sinkhole_id": { + "description": "The unique identifier for the sinkhole.", + "type": "string" + } + }, + "required": [ + "account_id", + "sinkhole_id" + ], + "type": "object" } }, required: [ - "account_id", - "sinkhole_id" + "path" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_api_response_single_empty", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_single_empty": intel_sinkholes_api_response_single_empty_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_single_empty": intel$$sinkholes_api_response_single_empty, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, annotations: { @@ -148,10 +164,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_api_response_single_empty": intel_sinkholes_api_response_single_empty_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_api_response_single_empty": intel$$sinkholes_api_response_single_empty, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, request: (args) => ({ @@ -165,30 +181,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." - }, - "sinkhole_id": { - "description": "The unique identifier for the sinkhole.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The unique identifier for the Cloudflare account." + }, + "sinkhole_id": { + "description": "The unique identifier for the sinkhole.", + "type": "string" + } + }, + "required": [ + "account_id", + "sinkhole_id" + ], + "type": "object" } }, required: [ - "account_id", - "sinkhole_id" + "path" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_sinkhole_single_response", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, - "intel-sinkholes_sinkhole_item": intel_sinkholes_sinkhole_item_output, - "intel-sinkholes_sinkhole_single_response": intel_sinkholes_sinkhole_single_response_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_messages": intel$$sinkholes_messages, + "intel-sinkholes_sinkhole_item": intel$$sinkholes_sinkhole_item, + "intel-sinkholes_sinkhole_single_response": intel$$sinkholes_sinkhole_single_response, }, }, annotations: { @@ -216,11 +240,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, - "intel-sinkholes_sinkhole_item": intel_sinkholes_sinkhole_item_output, - "intel-sinkholes_sinkhole_single_response": intel_sinkholes_sinkhole_single_response_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_messages": intel$$sinkholes_messages, + "intel-sinkholes_sinkhole_item": intel$$sinkholes_sinkhole_item, + "intel-sinkholes_sinkhole_single_response": intel$$sinkholes_sinkhole_single_response, }, }, request: (args) => ({ @@ -234,25 +258,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The unique identifier for the Cloudflare account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_sinkhole_collection_response", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, - "intel-sinkholes_sinkhole_collection_response": intel_sinkholes_sinkhole_collection_response_output, - "intel-sinkholes_sinkhole_item": intel_sinkholes_sinkhole_item_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_messages": intel$$sinkholes_messages, + "intel-sinkholes_sinkhole_collection_response": intel$$sinkholes_sinkhole_collection_response, + "intel-sinkholes_sinkhole_item": intel$$sinkholes_sinkhole_item, }, }, annotations: { @@ -280,11 +312,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, - "intel-sinkholes_sinkhole_collection_response": intel_sinkholes_sinkhole_collection_response_output, - "intel-sinkholes_sinkhole_item": intel_sinkholes_sinkhole_item_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_messages": intel$$sinkholes_messages, + "intel-sinkholes_sinkhole_collection_response": intel$$sinkholes_sinkhole_collection_response, + "intel-sinkholes_sinkhole_item": intel$$sinkholes_sinkhole_item, }, }, request: (args) => ({ @@ -298,34 +330,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." - }, "body": { "$ref": "#/$defs/intel-sinkholes_sinkhole_create_params" }, - "sinkhole_id": { - "description": "The unique identifier for the sinkhole.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel-sinkholes_identifier", + "description": "The unique identifier for the Cloudflare account." + }, + "sinkhole_id": { + "description": "The unique identifier for the sinkhole.", + "type": "string" + } + }, + "required": [ + "account_id", + "sinkhole_id" + ], + "type": "object" } }, required: [ - "account_id", - "sinkhole_id", + "path", "body" ], $defs: { - "intel-sinkholes_identifier": intel_sinkholes_identifier, - "intel-sinkholes_sinkhole_create_params": intel_sinkholes_sinkhole_create_params, + "intel-sinkholes_identifier": intel$$sinkholes_identifier, + "intel-sinkholes_sinkhole_create_params": intel$$sinkholes_sinkhole_create_params, }, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_api_response_single_empty", $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_single_empty": intel_sinkholes_api_response_single_empty_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_single_empty": intel$$sinkholes_api_response_single_empty, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, annotations: { @@ -352,10 +392,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel-sinkholes_api-response-common": intel_sinkholes_api_response_common_output, - "intel-sinkholes_api_response_common_failure": intel_sinkholes_api_response_common_failure_output, - "intel-sinkholes_api_response_single_empty": intel_sinkholes_api_response_single_empty_output, - "intel-sinkholes_messages": intel_sinkholes_messages_output, + "intel-sinkholes_api-response-common": intel$$sinkholes_api$$response$$common, + "intel-sinkholes_api_response_common_failure": intel$$sinkholes_api_response_common_failure, + "intel-sinkholes_api_response_single_empty": intel$$sinkholes_api_response_single_empty, + "intel-sinkholes_messages": intel$$sinkholes_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/urls/outputs.ts b/src/generated/forge-mcp/intel/urls/outputs.ts index 1d5ca5231..56fe72550 100644 --- a/src/generated/forge-mcp/intel/urls/outputs.ts +++ b/src/generated/forge-mcp/intel/urls/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `intel_url_intelligence` in responses. */ -export const intel_url_intelligence_output: JsonSchema = { +export const intel_url_intelligence: JsonSchema = { "properties": { "content_categories": { "items": { @@ -43,7 +43,7 @@ export const intel_url_intelligence_output: JsonSchema = { /** * The schema of `intel_url_intelligence_category_with_source` in responses. */ -export const intel_url_intelligence_category_with_source_output: JsonSchema = { +export const intel_url_intelligence_category_with_source: JsonSchema = { "properties": { "id": { "type": "integer" @@ -64,7 +64,7 @@ export const intel_url_intelligence_category_with_source_output: JsonSchema = { /** * The schema of `intel_url_intelligence_single_response` in responses. */ -export const intel_url_intelligence_single_response_output: JsonSchema = { +export const intel_url_intelligence_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/intel_api-response-single" diff --git a/src/generated/forge-mcp/intel/urls/tools.ts b/src/generated/forge-mcp/intel/urls/tools.ts index ddc82108a..28f2f5167 100644 --- a/src/generated/forge-mcp/intel/urls/tools.ts +++ b/src/generated/forge-mcp/intel/urls/tools.ts @@ -1,18 +1,18 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - intel_api_response_common_failure_output, - intel_api_response_single_output, - intel_messages_output, - intel_schemas_messages_output, + intel_api$$response$$common$$failure, + intel_api$$response$$single, + intel_messages, + intel_schemas$$messages, } from "../outputs.js"; import { intel_identifier } from "../schemas.js"; import { - intel_url_intelligence_category_with_source_output, - intel_url_intelligence_output, - intel_url_intelligence_single_response_output, + intel_url_intelligence, + intel_url_intelligence_category_with_source, + intel_url_intelligence_single_response, } from "./outputs.js"; /** @@ -26,18 +26,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/intel_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "url": { - "description": "The URL to look up.", - "type": "string" + "query": { + "properties": { + "url": { + "description": "The URL to look up.", + "type": "string" + } + }, + "required": [ + "url" + ], + "type": "object" } }, required: [ - "account_id", - "url" + "path", + "query" ], $defs: { "intel_identifier": intel_identifier, @@ -46,11 +62,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/intel_url_intelligence_single_response", $defs: { - "intel_api-response-single": intel_api_response_single_output, - "intel_schemas-messages": intel_schemas_messages_output, - "intel_url_intelligence": intel_url_intelligence_output, - "intel_url_intelligence_category_with_source": intel_url_intelligence_category_with_source_output, - "intel_url_intelligence_single_response": intel_url_intelligence_single_response_output, + "intel_api-response-single": intel_api$$response$$single, + "intel_schemas-messages": intel_schemas$$messages, + "intel_url_intelligence": intel_url_intelligence, + "intel_url_intelligence_category_with_source": intel_url_intelligence_category_with_source, + "intel_url_intelligence_single_response": intel_url_intelligence_single_response, }, }, annotations: { @@ -85,19 +101,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "intel_api-response-common-failure": intel_api_response_common_failure_output, - "intel_api-response-single": intel_api_response_single_output, - "intel_messages": intel_messages_output, - "intel_schemas-messages": intel_schemas_messages_output, - "intel_url_intelligence": intel_url_intelligence_output, - "intel_url_intelligence_category_with_source": intel_url_intelligence_category_with_source_output, - "intel_url_intelligence_single_response": intel_url_intelligence_single_response_output, + "intel_api-response-common-failure": intel_api$$response$$common$$failure, + "intel_api-response-single": intel_api$$response$$single, + "intel_messages": intel_messages, + "intel_schemas-messages": intel_schemas$$messages, + "intel_url_intelligence": intel_url_intelligence, + "intel_url_intelligence_category_with_source": intel_url_intelligence_category_with_source, + "intel_url_intelligence_single_response": intel_url_intelligence_single_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/url`, query: [ - ["url", args["url"], true], + ["url", param(args, "query", "url"), true], ], }), }, diff --git a/src/generated/forge-mcp/intel/whois/outputs.ts b/src/generated/forge-mcp/intel/whois/outputs.ts index a6f71f8fe..7f9bc1e88 100644 --- a/src/generated/forge-mcp/intel/whois/outputs.ts +++ b/src/generated/forge-mcp/intel/whois/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `cloudforce-one-whois_api-response-common-failure` in * responses. */ -export const cloudforce_one_whois_api_response_common_failure_output: JsonSchema = { +export const cloudforce$$one$$whois_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cloudforce-one-whois_messages" @@ -37,7 +37,7 @@ export const cloudforce_one_whois_api_response_common_failure_output: JsonSchema /** * The schema of `cloudforce-one-whois_api-response-single` in responses. */ -export const cloudforce_one_whois_api_response_single_output: JsonSchema = { +export const cloudforce$$one$$whois_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cloudforce-one-whois_schemas-messages" @@ -63,14 +63,14 @@ export const cloudforce_one_whois_api_response_single_output: JsonSchema = { /** * The schema of `cloudforce-one-whois_domain_name` in responses. */ -export const cloudforce_one_whois_domain_name_output: JsonSchema = { +export const cloudforce$$one$$whois_domain_name: JsonSchema = { "type": "string" }; /** * The schema of `cloudforce-one-whois_messages` in responses. */ -export const cloudforce_one_whois_messages_output: JsonSchema = { +export const cloudforce$$one$$whois_messages: JsonSchema = { "items": { "properties": { "code": { @@ -92,7 +92,7 @@ export const cloudforce_one_whois_messages_output: JsonSchema = { /** * The schema of `cloudforce-one-whois_schemas-messages` in responses. */ -export const cloudforce_one_whois_schemas_messages_output: JsonSchema = { +export const cloudforce$$one$$whois_schemas$$messages: JsonSchema = { "items": { "properties": { "code": { @@ -125,7 +125,7 @@ export const cloudforce_one_whois_schemas_messages_output: JsonSchema = { /** * The schema of `cloudforce-one-whois_schemas-single_response` in responses. */ -export const cloudforce_one_whois_schemas_single_response_output: JsonSchema = { +export const cloudforce$$one$$whois_schemas$$single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cloudforce-one-whois_api-response-single" @@ -144,7 +144,7 @@ export const cloudforce_one_whois_schemas_single_response_output: JsonSchema = { /** * The schema of `cloudforce-one-whois_whois` in responses. */ -export const cloudforce_one_whois_whois_output: JsonSchema = { +export const cloudforce$$one$$whois_whois: JsonSchema = { "properties": { "administrative_city": { "type": "string" diff --git a/src/generated/forge-mcp/intel/whois/schemas.ts b/src/generated/forge-mcp/intel/whois/schemas.ts index 98a1d2f4b..b37fb19bc 100644 --- a/src/generated/forge-mcp/intel/whois/schemas.ts +++ b/src/generated/forge-mcp/intel/whois/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudforce-one-whois_identifier`. */ -export const cloudforce_one_whois_identifier: JsonSchema = { +export const cloudforce$$one$$whois_identifier: JsonSchema = { "description": "Use to uniquely identify or reference the resource.", "type": "string" }; diff --git a/src/generated/forge-mcp/intel/whois/tools.ts b/src/generated/forge-mcp/intel/whois/tools.ts index bb8fd8d95..4a856df3f 100644 --- a/src/generated/forge-mcp/intel/whois/tools.ts +++ b/src/generated/forge-mcp/intel/whois/tools.ts @@ -1,17 +1,17 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - cloudforce_one_whois_api_response_common_failure_output, - cloudforce_one_whois_api_response_single_output, - cloudforce_one_whois_domain_name_output, - cloudforce_one_whois_messages_output, - cloudforce_one_whois_schemas_messages_output, - cloudforce_one_whois_schemas_single_response_output, - cloudforce_one_whois_whois_output, + cloudforce$$one$$whois_api$$response$$common$$failure, + cloudforce$$one$$whois_api$$response$$single, + cloudforce$$one$$whois_domain_name, + cloudforce$$one$$whois_messages, + cloudforce$$one$$whois_schemas$$messages, + cloudforce$$one$$whois_schemas$$single_response, + cloudforce$$one$$whois_whois, } from "./outputs.js"; -import { cloudforce_one_whois_identifier } from "./schemas.js"; +import { cloudforce$$one$$whois_identifier } from "./schemas.js"; /** * The tools of `intel.whois`. @@ -24,29 +24,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudforce-one-whois_identifier", - "description": "Use to uniquely identify or reference the resource." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudforce-one-whois_identifier", + "description": "Use to uniquely identify or reference the resource." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "domain": { - "type": "string" + "query": { + "properties": { + "domain": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudforce-one-whois_identifier": cloudforce_one_whois_identifier, + "cloudforce-one-whois_identifier": cloudforce$$one$$whois_identifier, }, }, outputSchema: { "$ref": "#/$defs/cloudforce-one-whois_schemas-single_response", $defs: { - "cloudforce-one-whois_api-response-single": cloudforce_one_whois_api_response_single_output, - "cloudforce-one-whois_domain_name": cloudforce_one_whois_domain_name_output, - "cloudforce-one-whois_schemas-messages": cloudforce_one_whois_schemas_messages_output, - "cloudforce-one-whois_schemas-single_response": cloudforce_one_whois_schemas_single_response_output, - "cloudforce-one-whois_whois": cloudforce_one_whois_whois_output, + "cloudforce-one-whois_api-response-single": cloudforce$$one$$whois_api$$response$$single, + "cloudforce-one-whois_domain_name": cloudforce$$one$$whois_domain_name, + "cloudforce-one-whois_schemas-messages": cloudforce$$one$$whois_schemas$$messages, + "cloudforce-one-whois_schemas-single_response": cloudforce$$one$$whois_schemas$$single_response, + "cloudforce-one-whois_whois": cloudforce$$one$$whois_whois, }, }, annotations: { @@ -74,19 +87,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cloudforce-one-whois_api-response-common-failure": cloudforce_one_whois_api_response_common_failure_output, - "cloudforce-one-whois_api-response-single": cloudforce_one_whois_api_response_single_output, - "cloudforce-one-whois_domain_name": cloudforce_one_whois_domain_name_output, - "cloudforce-one-whois_messages": cloudforce_one_whois_messages_output, - "cloudforce-one-whois_schemas-messages": cloudforce_one_whois_schemas_messages_output, - "cloudforce-one-whois_schemas-single_response": cloudforce_one_whois_schemas_single_response_output, - "cloudforce-one-whois_whois": cloudforce_one_whois_whois_output, + "cloudforce-one-whois_api-response-common-failure": cloudforce$$one$$whois_api$$response$$common$$failure, + "cloudforce-one-whois_api-response-single": cloudforce$$one$$whois_api$$response$$single, + "cloudforce-one-whois_domain_name": cloudforce$$one$$whois_domain_name, + "cloudforce-one-whois_messages": cloudforce$$one$$whois_messages, + "cloudforce-one-whois_schemas-messages": cloudforce$$one$$whois_schemas$$messages, + "cloudforce-one-whois_schemas-single_response": cloudforce$$one$$whois_schemas$$single_response, + "cloudforce-one-whois_whois": cloudforce$$one$$whois_whois, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/intel/whois`, query: [ - ["domain", args["domain"], true], + ["domain", param(args, "query", "domain"), true], ], }), }, diff --git a/src/generated/forge-mcp/internal/submit/tools.ts b/src/generated/forge-mcp/internal/submit/tools.ts index 2594c2e96..279233b32 100644 --- a/src/generated/forge-mcp/internal/submit/tools.ts +++ b/src/generated/forge-mcp/internal/submit/tools.ts @@ -2,7 +2,7 @@ /* eslint-disable */ import type { Tool } from "../../_/tool.js"; -import { brand_protection_api_Error_output } from "../../outputs.js"; +import { brand$$protection$$api_Error } from "../../outputs.js"; /** * The tools of `internal.submit`. @@ -45,7 +45,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_Error": brand$$protection$$api_Error, }, }, request: (_args) => ({ diff --git a/src/generated/forge-mcp/ips/outputs.ts b/src/generated/forge-mcp/ips/outputs.ts index 60f0cb6a4..f8267b543 100644 --- a/src/generated/forge-mcp/ips/outputs.ts +++ b/src/generated/forge-mcp/ips/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `public-ip_api-response-common-failure` in responses. */ -export const public_ip_api_response_common_failure_output: JsonSchema = { +export const public$$ip_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/public-ip_messages" @@ -36,7 +36,7 @@ export const public_ip_api_response_common_failure_output: JsonSchema = { /** * The schema of `public-ip_api-response-single` in responses. */ -export const public_ip_api_response_single_output: JsonSchema = { +export const public$$ip_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/public-ip_messages" @@ -62,14 +62,14 @@ export const public_ip_api_response_single_output: JsonSchema = { /** * The schema of `public-ip_etag` in responses. */ -export const public_ip_etag_output: JsonSchema = { +export const public$$ip_etag: JsonSchema = { "type": "string" }; /** * The schema of `public-ip_ips` in responses. */ -export const public_ip_ips_output: JsonSchema = { +export const public$$ip_ips: JsonSchema = { "properties": { "etag": { "$ref": "#/$defs/public-ip_etag" @@ -87,7 +87,7 @@ export const public_ip_ips_output: JsonSchema = { /** * The schema of `public-ip_ips_jdcloud` in responses. */ -export const public_ip_ips_jdcloud_output: JsonSchema = { +export const public$$ip_ips_jdcloud: JsonSchema = { "properties": { "etag": { "$ref": "#/$defs/public-ip_etag" @@ -108,7 +108,7 @@ export const public_ip_ips_jdcloud_output: JsonSchema = { /** * The schema of `public-ip_ipv4_cidrs` in responses. */ -export const public_ip_ipv4_cidrs_output: JsonSchema = { +export const public$$ip_ipv4_cidrs: JsonSchema = { "items": { "type": "string" }, @@ -118,7 +118,7 @@ export const public_ip_ipv4_cidrs_output: JsonSchema = { /** * The schema of `public-ip_ipv6_cidrs` in responses. */ -export const public_ip_ipv6_cidrs_output: JsonSchema = { +export const public$$ip_ipv6_cidrs: JsonSchema = { "items": { "type": "string" }, @@ -128,7 +128,7 @@ export const public_ip_ipv6_cidrs_output: JsonSchema = { /** * The schema of `public-ip_jdcloud_cidrs` in responses. */ -export const public_ip_jdcloud_cidrs_output: JsonSchema = { +export const public$$ip_jdcloud_cidrs: JsonSchema = { "items": { "type": "string" }, @@ -138,7 +138,7 @@ export const public_ip_jdcloud_cidrs_output: JsonSchema = { /** * The schema of `public-ip_messages` in responses. */ -export const public_ip_messages_output: JsonSchema = { +export const public$$ip_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/ips/tools.ts b/src/generated/forge-mcp/ips/tools.ts index d93688bfa..5ccbb6a78 100644 --- a/src/generated/forge-mcp/ips/tools.ts +++ b/src/generated/forge-mcp/ips/tools.ts @@ -1,17 +1,17 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../_/tool.js"; +import { type Tool, param } from "../_/tool.js"; import { - public_ip_api_response_common_failure_output, - public_ip_api_response_single_output, - public_ip_etag_output, - public_ip_ips_jdcloud_output, - public_ip_ips_output, - public_ip_ipv4_cidrs_output, - public_ip_ipv6_cidrs_output, - public_ip_jdcloud_cidrs_output, - public_ip_messages_output, + public$$ip_api$$response$$common$$failure, + public$$ip_api$$response$$single, + public$$ip_etag, + public$$ip_ips, + public$$ip_ips_jdcloud, + public$$ip_ipv4_cidrs, + public$$ip_ipv6_cidrs, + public$$ip_jdcloud_cidrs, + public$$ip_messages, } from "./outputs.js"; /** @@ -25,9 +25,14 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "networks": { - "description": "Specified as `jdcloud` to list IPs used by JD Cloud data centers.", - "type": "string" + "query": { + "properties": { + "networks": { + "description": "Specified as `jdcloud` to list IPs used by JD Cloud data centers.", + "type": "string" + } + }, + "type": "object" } }, }, @@ -53,14 +58,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "public-ip_api-response-single": public_ip_api_response_single_output, - "public-ip_etag": public_ip_etag_output, - "public-ip_ips": public_ip_ips_output, - "public-ip_ips_jdcloud": public_ip_ips_jdcloud_output, - "public-ip_ipv4_cidrs": public_ip_ipv4_cidrs_output, - "public-ip_ipv6_cidrs": public_ip_ipv6_cidrs_output, - "public-ip_jdcloud_cidrs": public_ip_jdcloud_cidrs_output, - "public-ip_messages": public_ip_messages_output, + "public-ip_api-response-single": public$$ip_api$$response$$single, + "public-ip_etag": public$$ip_etag, + "public-ip_ips": public$$ip_ips, + "public-ip_ips_jdcloud": public$$ip_ips_jdcloud, + "public-ip_ipv4_cidrs": public$$ip_ipv4_cidrs, + "public-ip_ipv6_cidrs": public$$ip_ipv6_cidrs, + "public-ip_jdcloud_cidrs": public$$ip_jdcloud_cidrs, + "public-ip_messages": public$$ip_messages, }, }, annotations: { @@ -123,21 +128,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "public-ip_api-response-common-failure": public_ip_api_response_common_failure_output, - "public-ip_api-response-single": public_ip_api_response_single_output, - "public-ip_etag": public_ip_etag_output, - "public-ip_ips": public_ip_ips_output, - "public-ip_ips_jdcloud": public_ip_ips_jdcloud_output, - "public-ip_ipv4_cidrs": public_ip_ipv4_cidrs_output, - "public-ip_ipv6_cidrs": public_ip_ipv6_cidrs_output, - "public-ip_jdcloud_cidrs": public_ip_jdcloud_cidrs_output, - "public-ip_messages": public_ip_messages_output, + "public-ip_api-response-common-failure": public$$ip_api$$response$$common$$failure, + "public-ip_api-response-single": public$$ip_api$$response$$single, + "public-ip_etag": public$$ip_etag, + "public-ip_ips": public$$ip_ips, + "public-ip_ips_jdcloud": public$$ip_ips_jdcloud, + "public-ip_ipv4_cidrs": public$$ip_ipv4_cidrs, + "public-ip_ipv6_cidrs": public$$ip_ipv6_cidrs, + "public-ip_jdcloud_cidrs": public$$ip_jdcloud_cidrs, + "public-ip_messages": public$$ip_messages, }, }, request: (args) => ({ path: `/ips`, query: [ - ["networks", args["networks"], true], + ["networks", param(args, "query", "networks"), true], ], }), }, diff --git a/src/generated/forge-mcp/k2/streams/outputs.ts b/src/generated/forge-mcp/k2/streams/outputs.ts index 18e812f75..6489513e6 100644 --- a/src/generated/forge-mcp/k2/streams/outputs.ts +++ b/src/generated/forge-mcp/k2/streams/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudflare-k2_K2Stream` in responses. */ -export const cloudflare_k2_K2Stream_output: JsonSchema = { +export const cloudflare$$k2_K2Stream: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -51,7 +51,7 @@ export const cloudflare_k2_K2Stream_output: JsonSchema = { /** * The schema of `cloudflare-k2_K2StreamCorsOptions` in responses. */ -export const cloudflare_k2_K2StreamCorsOptions_output: JsonSchema = { +export const cloudflare$$k2_K2StreamCorsOptions: JsonSchema = { "properties": { "origins": { "items": { @@ -67,7 +67,7 @@ export const cloudflare_k2_K2StreamCorsOptions_output: JsonSchema = { /** * The schema of `cloudflare-k2_K2StreamHttpInput` in responses. */ -export const cloudflare_k2_K2StreamHttpInput_output: JsonSchema = { +export const cloudflare$$k2_K2StreamHttpInput: JsonSchema = { "properties": { "authentication": { "type": "boolean" @@ -88,7 +88,7 @@ export const cloudflare_k2_K2StreamHttpInput_output: JsonSchema = { /** * The schema of `cloudflare-k2_K2StreamListResponse` in responses. */ -export const cloudflare_k2_K2StreamListResponse_output: JsonSchema = { +export const cloudflare$$k2_K2StreamListResponse: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cloudflare-k2_workers-k2-messages" @@ -142,7 +142,7 @@ export const cloudflare_k2_K2StreamListResponse_output: JsonSchema = { /** * The schema of `cloudflare-k2_K2StreamResponse` in responses. */ -export const cloudflare_k2_K2StreamResponse_output: JsonSchema = { +export const cloudflare$$k2_K2StreamResponse: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cloudflare-k2_workers-k2-messages" @@ -169,7 +169,7 @@ export const cloudflare_k2_K2StreamResponse_output: JsonSchema = { /** * The schema of `cloudflare-k2_K2StreamWorkerBindingInput` in responses. */ -export const cloudflare_k2_K2StreamWorkerBindingInput_output: JsonSchema = { +export const cloudflare$$k2_K2StreamWorkerBindingInput: JsonSchema = { "oneOf": [ { "properties": { @@ -205,14 +205,14 @@ export const cloudflare_k2_K2StreamWorkerBindingInput_output: JsonSchema = { /** * The schema of `cloudflare-k2_workers-k2-common-success` in responses. */ -export const cloudflare_k2_workers_k2_common_success_output: JsonSchema = { +export const cloudflare$$k2_workers$$k2$$common$$success: JsonSchema = { "type": "boolean" }; /** * The schema of `cloudflare-k2_workers-k2-messages` in responses. */ -export const cloudflare_k2_workers_k2_messages_output: JsonSchema = { +export const cloudflare$$k2_workers$$k2$$messages: JsonSchema = { "items": { "properties": { "code": { @@ -233,6 +233,6 @@ export const cloudflare_k2_workers_k2_messages_output: JsonSchema = { /** * The schema of `cloudflare-k2_workers-k2-stream-id` in responses. */ -export const cloudflare_k2_workers_k2_stream_id_output: JsonSchema = { +export const cloudflare$$k2_workers$$k2$$stream$$id: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/k2/streams/schemas.ts b/src/generated/forge-mcp/k2/streams/schemas.ts index 2d11c4cfd..d1dd1878e 100644 --- a/src/generated/forge-mcp/k2/streams/schemas.ts +++ b/src/generated/forge-mcp/k2/streams/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudflare-k2_CreateK2StreamRequest`. */ -export const cloudflare_k2_CreateK2StreamRequest: JsonSchema = { +export const cloudflare$$k2_CreateK2StreamRequest: JsonSchema = { "properties": { "http": { "$ref": "#/$defs/cloudflare-k2_K2StreamHttpInput", @@ -39,7 +39,7 @@ export const cloudflare_k2_CreateK2StreamRequest: JsonSchema = { /** * The schema of `cloudflare-k2_K2StreamCorsOptions`. */ -export const cloudflare_k2_K2StreamCorsOptions: JsonSchema = { +export const cloudflare$$k2_K2StreamCorsOptions: JsonSchema = { "properties": { "origins": { "description": "Allows browser requests from these HTTP or HTTPS origins. Use a wildcard only as the sole origin. An empty list blocks cross-origin browser requests. Defaults to `['*']` when HTTP is enabled without stored origins.", @@ -56,7 +56,7 @@ export const cloudflare_k2_K2StreamCorsOptions: JsonSchema = { /** * The schema of `cloudflare-k2_K2StreamHttpInput`. */ -export const cloudflare_k2_K2StreamHttpInput: JsonSchema = { +export const cloudflare$$k2_K2StreamHttpInput: JsonSchema = { "description": "Configures the HTTP endpoint. Disabling HTTP keeps `authentication` and `cors`, so enabling it again restores them.", "properties": { "authentication": { @@ -80,7 +80,7 @@ export const cloudflare_k2_K2StreamHttpInput: JsonSchema = { /** * The schema of `cloudflare-k2_K2StreamWorkerBindingInput`. */ -export const cloudflare_k2_K2StreamWorkerBindingInput: JsonSchema = { +export const cloudflare$$k2_K2StreamWorkerBindingInput: JsonSchema = { "oneOf": [ { "properties": { @@ -118,7 +118,7 @@ export const cloudflare_k2_K2StreamWorkerBindingInput: JsonSchema = { /** * The schema of `cloudflare-k2_UpdateK2StreamRequest`. */ -export const cloudflare_k2_UpdateK2StreamRequest: JsonSchema = { +export const cloudflare$$k2_UpdateK2StreamRequest: JsonSchema = { "properties": { "http": { "$ref": "#/$defs/cloudflare-k2_K2StreamHttpInput", @@ -138,7 +138,7 @@ export const cloudflare_k2_UpdateK2StreamRequest: JsonSchema = { /** * The schema of `cloudflare-k2_workers-k2-account-id`. */ -export const cloudflare_k2_workers_k2_account_id: JsonSchema = { +export const cloudflare$$k2_workers$$k2$$account$$id: JsonSchema = { "description": "Specifies the public ID of the account.", "type": "string" }; @@ -146,7 +146,7 @@ export const cloudflare_k2_workers_k2_account_id: JsonSchema = { /** * The schema of `cloudflare-k2_workers-k2-stream-id`. */ -export const cloudflare_k2_workers_k2_stream_id: JsonSchema = { +export const cloudflare$$k2_workers$$k2$$stream$$id: JsonSchema = { "description": "Specifies the public ID of the K2 stream.", "type": "string" }; diff --git a/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts b/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts index fbb429e06..6c0d8f083 100644 --- a/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts +++ b/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cloudflare-k2_K2ConsumerLag` in responses. */ -export const cloudflare_k2_K2ConsumerLag_output: JsonSchema = { +export const cloudflare$$k2_K2ConsumerLag: JsonSchema = { "properties": { "records": { "oneOf": [ @@ -37,7 +37,7 @@ export const cloudflare_k2_K2ConsumerLag_output: JsonSchema = { /** * The schema of `cloudflare-k2_K2MonitoredSubscription` in responses. */ -export const cloudflare_k2_K2MonitoredSubscription_output: JsonSchema = { +export const cloudflare$$k2_K2MonitoredSubscription: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -87,7 +87,7 @@ export const cloudflare_k2_K2MonitoredSubscription_output: JsonSchema = { * The schema of `cloudflare-k2_K2MonitoredSubscriptionListResponse` in * responses. */ -export const cloudflare_k2_K2MonitoredSubscriptionListResponse_output: JsonSchema = { +export const cloudflare$$k2_K2MonitoredSubscriptionListResponse: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cloudflare-k2_workers-k2-messages" diff --git a/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts b/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts index 23a637e46..b15db3863 100644 --- a/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts +++ b/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts @@ -3,17 +3,17 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cloudflare_k2_workers_k2_common_success_output, - cloudflare_k2_workers_k2_messages_output, + cloudflare$$k2_workers$$k2$$common$$success, + cloudflare$$k2_workers$$k2$$messages, } from "../outputs.js"; import { - cloudflare_k2_workers_k2_account_id, - cloudflare_k2_workers_k2_stream_id, + cloudflare$$k2_workers$$k2$$account$$id, + cloudflare$$k2_workers$$k2$$stream$$id, } from "../schemas.js"; import { - cloudflare_k2_K2ConsumerLag_output, - cloudflare_k2_K2MonitoredSubscriptionListResponse_output, - cloudflare_k2_K2MonitoredSubscription_output, + cloudflare$$k2_K2ConsumerLag, + cloudflare$$k2_K2MonitoredSubscription, + cloudflare$$k2_K2MonitoredSubscriptionListResponse, } from "./outputs.js"; /** @@ -27,32 +27,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." - }, - "stream_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", - "description": "Specifies the public ID of the K2 stream." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", + "description": "Specifies the public ID of the account." + }, + "stream_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", + "description": "Specifies the public ID of the K2 stream." + } + }, + "required": [ + "account_id", + "stream_id" + ], + "type": "object" } }, required: [ - "account_id", - "stream_id" + "path" ], $defs: { - "cloudflare-k2_workers-k2-account-id": cloudflare_k2_workers_k2_account_id, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id, + "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, outputSchema: { "$ref": "#/$defs/cloudflare-k2_K2MonitoredSubscriptionListResponse", $defs: { - "cloudflare-k2_K2ConsumerLag": cloudflare_k2_K2ConsumerLag_output, - "cloudflare-k2_K2MonitoredSubscription": cloudflare_k2_K2MonitoredSubscription_output, - "cloudflare-k2_K2MonitoredSubscriptionListResponse": cloudflare_k2_K2MonitoredSubscriptionListResponse_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, + "cloudflare-k2_K2ConsumerLag": cloudflare$$k2_K2ConsumerLag, + "cloudflare-k2_K2MonitoredSubscription": cloudflare$$k2_K2MonitoredSubscription, + "cloudflare-k2_K2MonitoredSubscriptionListResponse": cloudflare$$k2_K2MonitoredSubscriptionListResponse, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, }, }, annotations: { @@ -81,11 +89,11 @@ export const tools: readonly Tool[] = [ "5XX": null }, $defs: { - "cloudflare-k2_K2ConsumerLag": cloudflare_k2_K2ConsumerLag_output, - "cloudflare-k2_K2MonitoredSubscription": cloudflare_k2_K2MonitoredSubscription_output, - "cloudflare-k2_K2MonitoredSubscriptionListResponse": cloudflare_k2_K2MonitoredSubscriptionListResponse_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, + "cloudflare-k2_K2ConsumerLag": cloudflare$$k2_K2ConsumerLag, + "cloudflare-k2_K2MonitoredSubscription": cloudflare$$k2_K2MonitoredSubscription, + "cloudflare-k2_K2MonitoredSubscriptionListResponse": cloudflare$$k2_K2MonitoredSubscriptionListResponse, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/k2/streams/tools.ts b/src/generated/forge-mcp/k2/streams/tools.ts index b0b9c0a83..1fec89ecb 100644 --- a/src/generated/forge-mcp/k2/streams/tools.ts +++ b/src/generated/forge-mcp/k2/streams/tools.ts @@ -1,26 +1,26 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - cloudflare_k2_K2StreamCorsOptions_output, - cloudflare_k2_K2StreamHttpInput_output, - cloudflare_k2_K2StreamListResponse_output, - cloudflare_k2_K2StreamResponse_output, - cloudflare_k2_K2StreamWorkerBindingInput_output, - cloudflare_k2_K2Stream_output, - cloudflare_k2_workers_k2_common_success_output, - cloudflare_k2_workers_k2_messages_output, - cloudflare_k2_workers_k2_stream_id_output, + cloudflare$$k2_K2Stream, + cloudflare$$k2_K2StreamCorsOptions, + cloudflare$$k2_K2StreamHttpInput, + cloudflare$$k2_K2StreamListResponse, + cloudflare$$k2_K2StreamResponse, + cloudflare$$k2_K2StreamWorkerBindingInput, + cloudflare$$k2_workers$$k2$$common$$success, + cloudflare$$k2_workers$$k2$$messages, + cloudflare$$k2_workers$$k2$$stream$$id, } from "./outputs.js"; import { - cloudflare_k2_CreateK2StreamRequest, - cloudflare_k2_K2StreamCorsOptions, - cloudflare_k2_K2StreamHttpInput, - cloudflare_k2_K2StreamWorkerBindingInput, - cloudflare_k2_UpdateK2StreamRequest, - cloudflare_k2_workers_k2_account_id, - cloudflare_k2_workers_k2_stream_id, + cloudflare$$k2_CreateK2StreamRequest, + cloudflare$$k2_K2StreamCorsOptions as cloudflare$$k2_K2StreamCorsOptions$, + cloudflare$$k2_K2StreamHttpInput as cloudflare$$k2_K2StreamHttpInput$, + cloudflare$$k2_K2StreamWorkerBindingInput as cloudflare$$k2_K2StreamWorkerBindingInput$, + cloudflare$$k2_UpdateK2StreamRequest, + cloudflare$$k2_workers$$k2$$account$$id, + cloudflare$$k2_workers$$k2$$stream$$id as cloudflare$$k2_workers$$k2$$stream$$id$, } from "./schemas.js"; /** @@ -34,37 +34,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." - }, "body": { "$ref": "#/$defs/cloudflare-k2_CreateK2StreamRequest" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", + "description": "Specifies the public ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "cloudflare-k2_CreateK2StreamRequest": cloudflare_k2_CreateK2StreamRequest, - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput, - "cloudflare-k2_workers-k2-account-id": cloudflare_k2_workers_k2_account_id, + "cloudflare-k2_CreateK2StreamRequest": cloudflare$$k2_CreateK2StreamRequest, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions$, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput$, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput$, + "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, }, }, outputSchema: { "$ref": "#/$defs/cloudflare-k2_K2StreamResponse", $defs: { - "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, - "cloudflare-k2_K2StreamResponse": cloudflare_k2_K2StreamResponse_output, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + "cloudflare-k2_K2Stream": cloudflare$$k2_K2Stream, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, + "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, annotations: { @@ -93,14 +101,14 @@ export const tools: readonly Tool[] = [ "5XX": null }, $defs: { - "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, - "cloudflare-k2_K2StreamResponse": cloudflare_k2_K2StreamResponse_output, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + "cloudflare-k2_K2Stream": cloudflare$$k2_K2Stream, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, + "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, request: (args) => ({ @@ -115,22 +123,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." - }, - "stream_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", - "description": "Specifies the public ID of the K2 stream." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", + "description": "Specifies the public ID of the account." + }, + "stream_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", + "description": "Specifies the public ID of the K2 stream." + } + }, + "required": [ + "account_id", + "stream_id" + ], + "type": "object" } }, required: [ - "account_id", - "stream_id" + "path" ], $defs: { - "cloudflare-k2_workers-k2-account-id": cloudflare_k2_workers_k2_account_id, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id, + "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id$, }, }, outputSchema: { @@ -156,8 +172,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, }, }, annotations: { @@ -206,8 +222,8 @@ export const tools: readonly Tool[] = [ "5XX": null }, $defs: { - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, }, }, request: (args) => ({ @@ -221,35 +237,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." - }, - "stream_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", - "description": "Specifies the public ID of the K2 stream." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", + "description": "Specifies the public ID of the account." + }, + "stream_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", + "description": "Specifies the public ID of the K2 stream." + } + }, + "required": [ + "account_id", + "stream_id" + ], + "type": "object" } }, required: [ - "account_id", - "stream_id" + "path" ], $defs: { - "cloudflare-k2_workers-k2-account-id": cloudflare_k2_workers_k2_account_id, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id, + "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id$, }, }, outputSchema: { "$ref": "#/$defs/cloudflare-k2_K2StreamResponse", $defs: { - "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, - "cloudflare-k2_K2StreamResponse": cloudflare_k2_K2StreamResponse_output, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + "cloudflare-k2_K2Stream": cloudflare$$k2_K2Stream, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, + "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, annotations: { @@ -278,14 +302,14 @@ export const tools: readonly Tool[] = [ "5XX": null }, $defs: { - "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, - "cloudflare-k2_K2StreamResponse": cloudflare_k2_K2StreamResponse_output, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + "cloudflare-k2_K2Stream": cloudflare$$k2_K2Stream, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, + "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, request: (args) => ({ @@ -299,41 +323,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." - }, - "name": { - "description": "Filters K2 streams by name using a case-insensitive substring.", - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", + "description": "Specifies the public ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 25, - "type": "integer" + "query": { + "properties": { + "name": { + "description": "Filters K2 streams by name using a case-insensitive substring.", + "type": "string" + }, + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 25, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudflare-k2_workers-k2-account-id": cloudflare_k2_workers_k2_account_id, + "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, }, }, outputSchema: { "$ref": "#/$defs/cloudflare-k2_K2StreamListResponse", $defs: { - "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, - "cloudflare-k2_K2StreamListResponse": cloudflare_k2_K2StreamListResponse_output, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + "cloudflare-k2_K2Stream": cloudflare$$k2_K2Stream, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, + "cloudflare-k2_K2StreamListResponse": cloudflare$$k2_K2StreamListResponse, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, annotations: { @@ -362,22 +399,22 @@ export const tools: readonly Tool[] = [ "5XX": null }, $defs: { - "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, - "cloudflare-k2_K2StreamListResponse": cloudflare_k2_K2StreamListResponse_output, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + "cloudflare-k2_K2Stream": cloudflare$$k2_K2Stream, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, + "cloudflare-k2_K2StreamListResponse": cloudflare$$k2_K2StreamListResponse, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/k2/streams`, query: [ - ["name", args["name"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["name", param(args, "query", "name"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -388,43 +425,51 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." - }, "body": { "$ref": "#/$defs/cloudflare-k2_UpdateK2StreamRequest" }, - "stream_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", - "description": "Specifies the public ID of the K2 stream." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", + "description": "Specifies the public ID of the account." + }, + "stream_id": { + "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", + "description": "Specifies the public ID of the K2 stream." + } + }, + "required": [ + "account_id", + "stream_id" + ], + "type": "object" } }, required: [ - "account_id", - "stream_id", + "path", "body" ], $defs: { - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput, - "cloudflare-k2_UpdateK2StreamRequest": cloudflare_k2_UpdateK2StreamRequest, - "cloudflare-k2_workers-k2-account-id": cloudflare_k2_workers_k2_account_id, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions$, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput$, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput$, + "cloudflare-k2_UpdateK2StreamRequest": cloudflare$$k2_UpdateK2StreamRequest, + "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id$, }, }, outputSchema: { "$ref": "#/$defs/cloudflare-k2_K2StreamResponse", $defs: { - "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, - "cloudflare-k2_K2StreamResponse": cloudflare_k2_K2StreamResponse_output, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + "cloudflare-k2_K2Stream": cloudflare$$k2_K2Stream, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, + "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, annotations: { @@ -453,14 +498,14 @@ export const tools: readonly Tool[] = [ "5XX": null }, $defs: { - "cloudflare-k2_K2Stream": cloudflare_k2_K2Stream_output, - "cloudflare-k2_K2StreamCorsOptions": cloudflare_k2_K2StreamCorsOptions_output, - "cloudflare-k2_K2StreamHttpInput": cloudflare_k2_K2StreamHttpInput_output, - "cloudflare-k2_K2StreamResponse": cloudflare_k2_K2StreamResponse_output, - "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare_k2_K2StreamWorkerBindingInput_output, - "cloudflare-k2_workers-k2-common-success": cloudflare_k2_workers_k2_common_success_output, - "cloudflare-k2_workers-k2-messages": cloudflare_k2_workers_k2_messages_output, - "cloudflare-k2_workers-k2-stream-id": cloudflare_k2_workers_k2_stream_id_output, + "cloudflare-k2_K2Stream": cloudflare$$k2_K2Stream, + "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions, + "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, + "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, + "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, + "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, + "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, + "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/kv/bulk/outputs.ts b/src/generated/forge-mcp/kv/bulk/outputs.ts index 1b08d6b6c..e47c7f35a 100644 --- a/src/generated/forge-mcp/kv/bulk/outputs.ts +++ b/src/generated/forge-mcp/kv/bulk/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers-kv_bulk-get-result` in responses. */ -export const workers_kv_bulk_get_result_output: JsonSchema = { +export const workers$$kv_bulk$$get$$result: JsonSchema = { "properties": { "values": { "additionalProperties": { @@ -34,7 +34,7 @@ export const workers_kv_bulk_get_result_output: JsonSchema = { /** * The schema of `workers-kv_bulk-get-result-with-metadata` in responses. */ -export const workers_kv_bulk_get_result_with_metadata_output: JsonSchema = { +export const workers$$kv_bulk$$get$$result$$with$$metadata: JsonSchema = { "properties": { "values": { "additionalProperties": { @@ -71,7 +71,7 @@ export const workers_kv_bulk_get_result_with_metadata_output: JsonSchema = { /** * The schema of `workers-kv_bulk-result` in responses. */ -export const workers_kv_bulk_result_output: JsonSchema = { +export const workers$$kv_bulk$$result: JsonSchema = { "properties": { "successful_key_count": { "type": "number" diff --git a/src/generated/forge-mcp/kv/bulk/schemas.ts b/src/generated/forge-mcp/kv/bulk/schemas.ts index 8e2eac5f7..13fbaaa79 100644 --- a/src/generated/forge-mcp/kv/bulk/schemas.ts +++ b/src/generated/forge-mcp/kv/bulk/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers-kv_bulk_delete`. */ -export const workers_kv_bulk_delete: JsonSchema = { +export const workers$$kv_bulk_delete: JsonSchema = { "items": { "$ref": "#/$defs/workers-kv_key_name_bulk" }, @@ -17,7 +17,7 @@ export const workers_kv_bulk_delete: JsonSchema = { /** * The schema of `workers-kv_bulk_write`. */ -export const workers_kv_bulk_write: JsonSchema = { +export const workers$$kv_bulk_write: JsonSchema = { "items": { "properties": { "base64": { @@ -59,7 +59,7 @@ export const workers_kv_bulk_write: JsonSchema = { /** * The schema of `workers-kv_key_name_bulk`. */ -export const workers_kv_key_name_bulk: JsonSchema = { +export const workers$$kv_key_name_bulk: JsonSchema = { "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid.", "type": "string" }; diff --git a/src/generated/forge-mcp/kv/bulk/tools.ts b/src/generated/forge-mcp/kv/bulk/tools.ts index 8b5cd7c5b..aa95ec00a 100644 --- a/src/generated/forge-mcp/kv/bulk/tools.ts +++ b/src/generated/forge-mcp/kv/bulk/tools.ts @@ -3,30 +3,30 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - workers_kv_any_output, - workers_kv_api_response_common_failure_output, - workers_kv_api_response_common_no_result_output, - workers_kv_api_response_common_output, - workers_kv_expiration_output, - workers_kv_messages_output, + workers$$kv_any, + workers$$kv_api$$response$$common, + workers$$kv_api$$response$$common$$failure, + workers$$kv_api$$response$$common$$no$$result, + workers$$kv_expiration, + workers$$kv_messages, } from "../outputs.js"; import { - workers_kv_any, - workers_kv_expiration, - workers_kv_expiration_ttl, - workers_kv_identifier, - workers_kv_list_metadata, - workers_kv_namespace_identifier, + workers$$kv_any as workers$$kv_any$, + workers$$kv_expiration as workers$$kv_expiration$, + workers$$kv_expiration_ttl, + workers$$kv_identifier, + workers$$kv_list_metadata, + workers$$kv_namespace_identifier, } from "../schemas.js"; import { - workers_kv_bulk_get_result_output, - workers_kv_bulk_get_result_with_metadata_output, - workers_kv_bulk_result_output, + workers$$kv_bulk$$get$$result, + workers$$kv_bulk$$get$$result$$with$$metadata, + workers$$kv_bulk$$result, } from "./outputs.js"; import { - workers_kv_bulk_delete, - workers_kv_bulk_write, - workers_kv_key_name_bulk, + workers$$kv_bulk_delete, + workers$$kv_bulk_write, + workers$$kv_key_name_bulk, } from "./schemas.js"; /** @@ -40,28 +40,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, "body": { "$ref": "#/$defs/workers-kv_bulk_delete" }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_id", + "path", "body" ], $defs: { - "workers-kv_bulk_delete": workers_kv_bulk_delete, - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_key_name_bulk": workers_kv_key_name_bulk, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, + "workers-kv_bulk_delete": workers$$kv_bulk_delete, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_key_name_bulk": workers$$kv_key_name_bulk, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, }, }, outputSchema: { @@ -79,10 +87,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_bulk-result": workers_kv_bulk_result_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_bulk-result": workers$$kv_bulk$$result, + "workers-kv_messages": workers$$kv_messages, }, }, annotations: { @@ -133,10 +141,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_bulk-result": workers_kv_bulk_result_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_bulk-result": workers$$kv_bulk$$result, + "workers-kv_messages": workers$$kv_messages, }, }, request: (args) => ({ @@ -151,10 +159,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, "body": { "properties": { "keys": { @@ -185,20 +189,32 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_id", + "path", "body" ], $defs: { - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_key_name_bulk": workers_kv_key_name_bulk, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_key_name_bulk": workers$$kv_key_name_bulk, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, }, }, outputSchema: { @@ -223,13 +239,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers-kv_any": workers_kv_any_output, - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_bulk-get-result": workers_kv_bulk_get_result_output, - "workers-kv_bulk-get-result-with-metadata": workers_kv_bulk_get_result_with_metadata_output, - "workers-kv_expiration": workers_kv_expiration_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_any": workers$$kv_any, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_bulk-get-result": workers$$kv_bulk$$get$$result, + "workers-kv_bulk-get-result-with-metadata": workers$$kv_bulk$$get$$result$$with$$metadata, + "workers-kv_expiration": workers$$kv_expiration, + "workers-kv_messages": workers$$kv_messages, }, }, annotations: { @@ -276,14 +292,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_any": workers_kv_any_output, - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_bulk-get-result": workers_kv_bulk_get_result_output, - "workers-kv_bulk-get-result-with-metadata": workers_kv_bulk_get_result_with_metadata_output, - "workers-kv_expiration": workers_kv_expiration_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_any": workers$$kv_any, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_bulk-get-result": workers$$kv_bulk$$get$$result, + "workers-kv_bulk-get-result-with-metadata": workers$$kv_bulk$$get$$result$$with$$metadata, + "workers-kv_expiration": workers$$kv_expiration, + "workers-kv_messages": workers$$kv_messages, }, }, request: (args) => ({ @@ -298,32 +314,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, "body": { "$ref": "#/$defs/workers-kv_bulk_write" }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_id", + "path", "body" ], $defs: { - "workers-kv_any": workers_kv_any, - "workers-kv_bulk_write": workers_kv_bulk_write, - "workers-kv_expiration": workers_kv_expiration, - "workers-kv_expiration_ttl": workers_kv_expiration_ttl, - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_key_name_bulk": workers_kv_key_name_bulk, - "workers-kv_list_metadata": workers_kv_list_metadata, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, + "workers-kv_any": workers$$kv_any$, + "workers-kv_bulk_write": workers$$kv_bulk_write, + "workers-kv_expiration": workers$$kv_expiration$, + "workers-kv_expiration_ttl": workers$$kv_expiration_ttl, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_key_name_bulk": workers$$kv_key_name_bulk, + "workers-kv_list_metadata": workers$$kv_list_metadata, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, }, }, outputSchema: { @@ -341,10 +365,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_bulk-result": workers_kv_bulk_result_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_bulk-result": workers$$kv_bulk$$result, + "workers-kv_messages": workers$$kv_messages, }, }, annotations: { @@ -395,10 +419,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_bulk-result": workers_kv_bulk_result_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_bulk-result": workers$$kv_bulk$$result, + "workers-kv_messages": workers$$kv_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/kv/keys/outputs.ts b/src/generated/forge-mcp/kv/keys/outputs.ts index 4e0948da6..d329050ff 100644 --- a/src/generated/forge-mcp/kv/keys/outputs.ts +++ b/src/generated/forge-mcp/kv/keys/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers-kv_cursor` in responses. */ -export const workers_kv_cursor_output: JsonSchema = { +export const workers$$kv_cursor: JsonSchema = { "type": "string" }; /** * The schema of `workers-kv_cursor_result_info` in responses. */ -export const workers_kv_cursor_result_info_output: JsonSchema = { +export const workers$$kv_cursor_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -28,7 +28,7 @@ export const workers_kv_cursor_result_info_output: JsonSchema = { /** * The schema of `workers-kv_key` in responses. */ -export const workers_kv_key_output: JsonSchema = { +export const workers$$kv_key: JsonSchema = { "properties": { "expiration": { "type": "number" diff --git a/src/generated/forge-mcp/kv/keys/tools.ts b/src/generated/forge-mcp/kv/keys/tools.ts index e8fb3c455..2219e54d0 100644 --- a/src/generated/forge-mcp/kv/keys/tools.ts +++ b/src/generated/forge-mcp/kv/keys/tools.ts @@ -1,25 +1,25 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - workers_kv_any_output, - workers_kv_api_response_common_failure_output, - workers_kv_api_response_common_no_result_output, - workers_kv_api_response_common_output, - workers_kv_key_name_output, - workers_kv_list_metadata_output, - workers_kv_messages_output, + workers$$kv_any, + workers$$kv_api$$response$$common, + workers$$kv_api$$response$$common$$failure, + workers$$kv_api$$response$$common$$no$$result, + workers$$kv_key_name, + workers$$kv_list_metadata, + workers$$kv_messages, } from "../outputs.js"; import { - workers_kv_identifier, - workers_kv_key_name, - workers_kv_namespace_identifier, + workers$$kv_identifier, + workers$$kv_key_name as workers$$kv_key_name$, + workers$$kv_namespace_identifier, } from "../schemas.js"; import { - workers_kv_cursor_output, - workers_kv_cursor_result_info_output, - workers_kv_key_output, + workers$$kv_cursor, + workers$$kv_cursor_result_info, + workers$$kv_key, } from "./outputs.js"; /** @@ -33,36 +33,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, - "key_name": { - "$ref": "#/$defs/workers-kv_key_name", - "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL." - }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "key_name": { + "$ref": "#/$defs/workers-kv_key_name", + "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id", + "key_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_id", - "key_name" + "path" ], $defs: { - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_key_name": workers_kv_key_name, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_key_name": workers$$kv_key_name$, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, }, }, outputSchema: { "$ref": "#/$defs/workers-kv_api-response-common-no-result", $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_messages": workers$$kv_messages, }, }, annotations: { @@ -89,10 +97,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_messages": workers$$kv_messages, }, }, request: (args) => ({ @@ -106,28 +114,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, - "key_name": { - "$ref": "#/$defs/workers-kv_key_name", - "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL." - }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "key_name": { + "$ref": "#/$defs/workers-kv_key_name", + "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id", + "key_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_id", - "key_name" + "path" ], $defs: { - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_key_name": workers_kv_key_name, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_key_name": workers$$kv_key_name$, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, }, }, annotations: { @@ -153,8 +169,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_messages": workers$$kv_messages, }, }, request: (args) => ({ @@ -168,35 +184,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, - "cursor": { - "description": "Opaque pagination token from `result_info.cursor` in the previous response. Pass it unchanged to request the next page of keys.", - "type": "string" - }, - "limit": { - "default": 1000, - "description": "Maximum number of keys to return in one response. Pass `result_info.cursor` from the response as `cursor` to request the next page.", - "type": "number" - }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id" + ], + "type": "object" }, - "prefix": { - "description": "Filters returned keys by a name prefix. Exact matches and any key names that begin with the prefix will be returned.", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Opaque pagination token from `result_info.cursor` in the previous response. Pass it unchanged to request the next page of keys.", + "type": "string" + }, + "limit": { + "default": 1000, + "description": "Maximum number of keys to return in one response. Pass `result_info.cursor` from the response as `cursor` to request the next page.", + "type": "number" + }, + "prefix": { + "description": "Filters returned keys by a name prefix. Exact matches and any key names that begin with the prefix will be returned.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "namespace_id" + "path" ], $defs: { - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, }, }, outputSchema: { @@ -220,14 +249,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers-kv_any": workers_kv_any_output, - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_cursor": workers_kv_cursor_output, - "workers-kv_cursor_result_info": workers_kv_cursor_result_info_output, - "workers-kv_key": workers_kv_key_output, - "workers-kv_key_name": workers_kv_key_name_output, - "workers-kv_list_metadata": workers_kv_list_metadata_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_any": workers$$kv_any, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_cursor": workers$$kv_cursor, + "workers-kv_cursor_result_info": workers$$kv_cursor_result_info, + "workers-kv_key": workers$$kv_key, + "workers-kv_key_name": workers$$kv_key_name, + "workers-kv_list_metadata": workers$$kv_list_metadata, + "workers-kv_messages": workers$$kv_messages, }, }, annotations: { @@ -273,23 +302,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_any": workers_kv_any_output, - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_cursor": workers_kv_cursor_output, - "workers-kv_cursor_result_info": workers_kv_cursor_result_info_output, - "workers-kv_key": workers_kv_key_output, - "workers-kv_key_name": workers_kv_key_name_output, - "workers-kv_list_metadata": workers_kv_list_metadata_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_any": workers$$kv_any, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_cursor": workers$$kv_cursor, + "workers-kv_cursor_result_info": workers$$kv_cursor_result_info, + "workers-kv_key": workers$$kv_key, + "workers-kv_key_name": workers$$kv_key_name, + "workers-kv_list_metadata": workers$$kv_list_metadata, + "workers-kv_messages": workers$$kv_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces/${pathParam(args, "namespace_id")}/keys`, query: [ - ["limit", args["limit"], true], - ["prefix", args["prefix"], true], - ["cursor", args["cursor"], true], + ["limit", param(args, "query", "limit"), true], + ["prefix", param(args, "query", "prefix"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/kv/metadata/tools.ts b/src/generated/forge-mcp/kv/metadata/tools.ts index 6bf2937b1..288797bce 100644 --- a/src/generated/forge-mcp/kv/metadata/tools.ts +++ b/src/generated/forge-mcp/kv/metadata/tools.ts @@ -3,16 +3,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - workers_kv_any_output, - workers_kv_api_response_common_failure_output, - workers_kv_api_response_common_output, - workers_kv_list_metadata_output, - workers_kv_messages_output, + workers$$kv_any, + workers$$kv_api$$response$$common, + workers$$kv_api$$response$$common$$failure, + workers$$kv_list_metadata, + workers$$kv_messages, } from "../outputs.js"; import { - workers_kv_identifier, - workers_kv_key_name, - workers_kv_namespace_identifier, + workers$$kv_identifier, + workers$$kv_key_name, + workers$$kv_namespace_identifier, } from "../schemas.js"; /** @@ -26,28 +26,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, - "key_name": { - "$ref": "#/$defs/workers-kv_key_name", - "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL." - }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "key_name": { + "$ref": "#/$defs/workers-kv_key_name", + "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id", + "key_name" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_id", - "key_name" + "path" ], $defs: { - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_key_name": workers_kv_key_name, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_key_name": workers$$kv_key_name, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, }, }, outputSchema: { @@ -65,10 +73,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers-kv_any": workers_kv_any_output, - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_list_metadata": workers_kv_list_metadata_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_any": workers$$kv_any, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_list_metadata": workers$$kv_list_metadata, + "workers-kv_messages": workers$$kv_messages, }, }, annotations: { @@ -108,11 +116,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_any": workers_kv_any_output, - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_list_metadata": workers_kv_list_metadata_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_any": workers$$kv_any, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_list_metadata": workers$$kv_list_metadata, + "workers-kv_messages": workers$$kv_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/kv/namespaces/outputs.ts b/src/generated/forge-mcp/kv/namespaces/outputs.ts index 4287cd257..949288db4 100644 --- a/src/generated/forge-mcp/kv/namespaces/outputs.ts +++ b/src/generated/forge-mcp/kv/namespaces/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers-kv_api-response-collection` in responses. */ -export const workers_kv_api_response_collection_output: JsonSchema = { +export const workers$$kv_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers-kv_api-response-common" @@ -25,7 +25,7 @@ export const workers_kv_api_response_collection_output: JsonSchema = { /** * The schema of `workers-kv_jurisdiction` in responses. */ -export const workers_kv_jurisdiction_output: JsonSchema = { +export const workers$$kv_jurisdiction: JsonSchema = { "enum": [ "eu", "fedramp", @@ -37,7 +37,7 @@ export const workers_kv_jurisdiction_output: JsonSchema = { /** * The schema of `workers-kv_namespace` in responses. */ -export const workers_kv_namespace_output: JsonSchema = { +export const workers$$kv_namespace: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/workers-kv_namespace_identifier" @@ -65,7 +65,7 @@ export const workers_kv_namespace_output: JsonSchema = { /** * The schema of `workers-kv_namespace_mode` in responses. */ -export const workers_kv_namespace_mode_output: JsonSchema = { +export const workers$$kv_namespace_mode: JsonSchema = { "enum": [ "instant" ], @@ -75,14 +75,14 @@ export const workers_kv_namespace_mode_output: JsonSchema = { /** * The schema of `workers-kv_namespace_title` in responses. */ -export const workers_kv_namespace_title_output: JsonSchema = { +export const workers$$kv_namespace_title: JsonSchema = { "type": "string" }; /** * The schema of `workers-kv_result_info` in responses. */ -export const workers_kv_result_info_output: JsonSchema = { +export const workers$$kv_result_info: JsonSchema = { "properties": { "count": { "type": "number" diff --git a/src/generated/forge-mcp/kv/namespaces/schemas.ts b/src/generated/forge-mcp/kv/namespaces/schemas.ts index e7cc07fe5..db3a216d4 100644 --- a/src/generated/forge-mcp/kv/namespaces/schemas.ts +++ b/src/generated/forge-mcp/kv/namespaces/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers-kv_create_namespace_body`. */ -export const workers_kv_create_namespace_body: JsonSchema = { +export const workers$$kv_create_namespace_body: JsonSchema = { "properties": { "jurisdiction": { "$ref": "#/$defs/workers-kv_jurisdiction", @@ -33,7 +33,7 @@ export const workers_kv_create_namespace_body: JsonSchema = { /** * The schema of `workers-kv_create_rename_namespace_body`. */ -export const workers_kv_create_rename_namespace_body: JsonSchema = { +export const workers$$kv_create_rename_namespace_body: JsonSchema = { "properties": { "title": { "$ref": "#/$defs/workers-kv_namespace_title", @@ -49,7 +49,7 @@ export const workers_kv_create_rename_namespace_body: JsonSchema = { /** * The schema of `workers-kv_jurisdiction`. */ -export const workers_kv_jurisdiction: JsonSchema = { +export const workers$$kv_jurisdiction: JsonSchema = { "description": "Specify the jurisdiction to restrict the KV namespace to durably store data within. Can only be set at namespace creation time.", "enum": [ "eu", @@ -62,7 +62,7 @@ export const workers_kv_jurisdiction: JsonSchema = { /** * The schema of `workers-kv_namespace_title`. */ -export const workers_kv_namespace_title: JsonSchema = { +export const workers$$kv_namespace_title: JsonSchema = { "description": "Human-readable string name for a Workers KV namespace.", "type": "string" }; diff --git a/src/generated/forge-mcp/kv/namespaces/tools.ts b/src/generated/forge-mcp/kv/namespaces/tools.ts index 713b0d5ba..614156fe3 100644 --- a/src/generated/forge-mcp/kv/namespaces/tools.ts +++ b/src/generated/forge-mcp/kv/namespaces/tools.ts @@ -1,31 +1,31 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - workers_kv_api_response_common_failure_output, - workers_kv_api_response_common_no_result_output, - workers_kv_api_response_common_output, - workers_kv_messages_output, - workers_kv_namespace_identifier_output, + workers$$kv_api$$response$$common, + workers$$kv_api$$response$$common$$failure, + workers$$kv_api$$response$$common$$no$$result, + workers$$kv_messages, + workers$$kv_namespace_identifier, } from "../outputs.js"; import { - workers_kv_identifier, - workers_kv_namespace_identifier, + workers$$kv_identifier, + workers$$kv_namespace_identifier as workers$$kv_namespace_identifier$, } from "../schemas.js"; import { - workers_kv_api_response_collection_output, - workers_kv_jurisdiction_output, - workers_kv_namespace_mode_output, - workers_kv_namespace_output, - workers_kv_namespace_title_output, - workers_kv_result_info_output, + workers$$kv_api$$response$$collection, + workers$$kv_jurisdiction, + workers$$kv_namespace, + workers$$kv_namespace_mode, + workers$$kv_namespace_title, + workers$$kv_result_info, } from "./outputs.js"; import { - workers_kv_create_namespace_body, - workers_kv_create_rename_namespace_body, - workers_kv_jurisdiction, - workers_kv_namespace_title, + workers$$kv_create_namespace_body, + workers$$kv_create_rename_namespace_body, + workers$$kv_jurisdiction as workers$$kv_jurisdiction$, + workers$$kv_namespace_title as workers$$kv_namespace_title$, } from "./schemas.js"; /** @@ -39,23 +39,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, "body": { "$ref": "#/$defs/workers-kv_create_namespace_body" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers-kv_create_namespace_body": workers_kv_create_namespace_body, - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_jurisdiction": workers_kv_jurisdiction, - "workers-kv_namespace_title": workers_kv_namespace_title, + "workers-kv_create_namespace_body": workers$$kv_create_namespace_body, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_jurisdiction": workers$$kv_jurisdiction$, + "workers-kv_namespace_title": workers$$kv_namespace_title$, }, }, outputSchema: { @@ -73,13 +81,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_jurisdiction": workers_kv_jurisdiction_output, - "workers-kv_messages": workers_kv_messages_output, - "workers-kv_namespace": workers_kv_namespace_output, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, - "workers-kv_namespace_mode": workers_kv_namespace_mode_output, - "workers-kv_namespace_title": workers_kv_namespace_title_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_jurisdiction": workers$$kv_jurisdiction, + "workers-kv_messages": workers$$kv_messages, + "workers-kv_namespace": workers$$kv_namespace, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, + "workers-kv_namespace_mode": workers$$kv_namespace_mode, + "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, annotations: { @@ -118,14 +126,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_jurisdiction": workers_kv_jurisdiction_output, - "workers-kv_messages": workers_kv_messages_output, - "workers-kv_namespace": workers_kv_namespace_output, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, - "workers-kv_namespace_mode": workers_kv_namespace_mode_output, - "workers-kv_namespace_title": workers_kv_namespace_title_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_jurisdiction": workers$$kv_jurisdiction, + "workers-kv_messages": workers$$kv_messages, + "workers-kv_namespace": workers$$kv_namespace, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, + "workers-kv_namespace_mode": workers$$kv_namespace_mode, + "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, request: (args) => ({ @@ -140,30 +148,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_id" + "path" ], $defs: { - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier$, }, }, outputSchema: { "$ref": "#/$defs/workers-kv_api-response-common-no-result", $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_messages": workers$$kv_messages, }, }, annotations: { @@ -190,10 +206,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_api-response-common-no-result": workers_kv_api_response_common_no_result_output, - "workers-kv_messages": workers_kv_messages_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, + "workers-kv_messages": workers$$kv_messages, }, }, request: (args) => ({ @@ -207,22 +223,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_id" + "path" ], $defs: { - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier$, }, }, outputSchema: { @@ -240,13 +264,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_jurisdiction": workers_kv_jurisdiction_output, - "workers-kv_messages": workers_kv_messages_output, - "workers-kv_namespace": workers_kv_namespace_output, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, - "workers-kv_namespace_mode": workers_kv_namespace_mode_output, - "workers-kv_namespace_title": workers_kv_namespace_title_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_jurisdiction": workers$$kv_jurisdiction, + "workers-kv_messages": workers$$kv_messages, + "workers-kv_namespace": workers$$kv_namespace, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, + "workers-kv_namespace_mode": workers$$kv_namespace_mode, + "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, annotations: { @@ -286,14 +310,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_jurisdiction": workers_kv_jurisdiction_output, - "workers-kv_messages": workers_kv_messages_output, - "workers-kv_namespace": workers_kv_namespace_output, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, - "workers-kv_namespace_mode": workers_kv_namespace_mode_output, - "workers-kv_namespace_title": workers_kv_namespace_title_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_jurisdiction": workers$$kv_jurisdiction, + "workers-kv_messages": workers$$kv_messages, + "workers-kv_namespace": workers$$kv_namespace, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, + "workers-kv_namespace_mode": workers$$kv_namespace_mode, + "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, request: (args) => ({ @@ -307,42 +331,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, - "direction": { - "description": "Sort namespaces in ascending (`asc`) or descending (`desc`) order.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order": { - "description": "Namespace field to sort by (`id` or `title`).", - "enum": [ - "id", - "title" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "number" + "query": { + "properties": { + "direction": { + "description": "Sort namespaces in ascending (`asc`) or descending (`desc`) order.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "description": "Namespace field to sort by (`id` or `title`).", + "enum": [ + "id", + "title" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "workers-kv_identifier": workers_kv_identifier, + "workers-kv_identifier": workers$$kv_identifier, }, }, outputSchema: { @@ -363,15 +400,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers-kv_api-response-collection": workers_kv_api_response_collection_output, - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_jurisdiction": workers_kv_jurisdiction_output, - "workers-kv_messages": workers_kv_messages_output, - "workers-kv_namespace": workers_kv_namespace_output, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, - "workers-kv_namespace_mode": workers_kv_namespace_mode_output, - "workers-kv_namespace_title": workers_kv_namespace_title_output, - "workers-kv_result_info": workers_kv_result_info_output, + "workers-kv_api-response-collection": workers$$kv_api$$response$$collection, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_jurisdiction": workers$$kv_jurisdiction, + "workers-kv_messages": workers$$kv_messages, + "workers-kv_namespace": workers$$kv_namespace, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, + "workers-kv_namespace_mode": workers$$kv_namespace_mode, + "workers-kv_namespace_title": workers$$kv_namespace_title, + "workers-kv_result_info": workers$$kv_result_info, }, }, annotations: { @@ -414,25 +451,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_api-response-collection": workers_kv_api_response_collection_output, - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_jurisdiction": workers_kv_jurisdiction_output, - "workers-kv_messages": workers_kv_messages_output, - "workers-kv_namespace": workers_kv_namespace_output, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, - "workers-kv_namespace_mode": workers_kv_namespace_mode_output, - "workers-kv_namespace_title": workers_kv_namespace_title_output, - "workers-kv_result_info": workers_kv_result_info_output, + "workers-kv_api-response-collection": workers$$kv_api$$response$$collection, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_jurisdiction": workers$$kv_jurisdiction, + "workers-kv_messages": workers$$kv_messages, + "workers-kv_namespace": workers$$kv_namespace, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, + "workers-kv_namespace_mode": workers$$kv_namespace_mode, + "workers-kv_namespace_title": workers$$kv_namespace_title, + "workers-kv_result_info": workers$$kv_result_info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/storage/kv/namespaces`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, @@ -443,28 +480,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." - }, "body": { "$ref": "#/$defs/workers-kv_create_rename_namespace_body" }, - "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers-kv_identifier", + "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + }, + "namespace_id": { + "$ref": "#/$defs/workers-kv_namespace_identifier", + "description": "ID of the Workers KV namespace." + } + }, + "required": [ + "account_id", + "namespace_id" + ], + "type": "object" } }, required: [ - "account_id", - "namespace_id", + "path", "body" ], $defs: { - "workers-kv_create_rename_namespace_body": workers_kv_create_rename_namespace_body, - "workers-kv_identifier": workers_kv_identifier, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier, - "workers-kv_namespace_title": workers_kv_namespace_title, + "workers-kv_create_rename_namespace_body": workers$$kv_create_rename_namespace_body, + "workers-kv_identifier": workers$$kv_identifier, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier$, + "workers-kv_namespace_title": workers$$kv_namespace_title$, }, }, outputSchema: { @@ -485,13 +530,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_jurisdiction": workers_kv_jurisdiction_output, - "workers-kv_messages": workers_kv_messages_output, - "workers-kv_namespace": workers_kv_namespace_output, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, - "workers-kv_namespace_mode": workers_kv_namespace_mode_output, - "workers-kv_namespace_title": workers_kv_namespace_title_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_jurisdiction": workers$$kv_jurisdiction, + "workers-kv_messages": workers$$kv_messages, + "workers-kv_namespace": workers$$kv_namespace, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, + "workers-kv_namespace_mode": workers$$kv_namespace_mode, + "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, annotations: { @@ -533,14 +578,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-kv_api-response-common": workers_kv_api_response_common_output, - "workers-kv_api-response-common-failure": workers_kv_api_response_common_failure_output, - "workers-kv_jurisdiction": workers_kv_jurisdiction_output, - "workers-kv_messages": workers_kv_messages_output, - "workers-kv_namespace": workers_kv_namespace_output, - "workers-kv_namespace_identifier": workers_kv_namespace_identifier_output, - "workers-kv_namespace_mode": workers_kv_namespace_mode_output, - "workers-kv_namespace_title": workers_kv_namespace_title_output, + "workers-kv_api-response-common": workers$$kv_api$$response$$common, + "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, + "workers-kv_jurisdiction": workers$$kv_jurisdiction, + "workers-kv_messages": workers$$kv_messages, + "workers-kv_namespace": workers$$kv_namespace, + "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, + "workers-kv_namespace_mode": workers$$kv_namespace_mode, + "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/kv/outputs.ts b/src/generated/forge-mcp/kv/outputs.ts index 7182c2ffb..28dc67a94 100644 --- a/src/generated/forge-mcp/kv/outputs.ts +++ b/src/generated/forge-mcp/kv/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `workers-kv_any` in responses. */ -export const workers_kv_any_output: JsonSchema = { +export const workers$$kv_any: JsonSchema = { "anyOf": [ { "type": "string" @@ -38,7 +38,7 @@ export const workers_kv_any_output: JsonSchema = { /** * The schema of `workers-kv_api-response-common` in responses. */ -export const workers_kv_api_response_common_output: JsonSchema = { +export const workers$$kv_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/workers-kv_messages" @@ -64,7 +64,7 @@ export const workers_kv_api_response_common_output: JsonSchema = { /** * The schema of `workers-kv_api-response-common-failure` in responses. */ -export const workers_kv_api_response_common_failure_output: JsonSchema = { +export const workers$$kv_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/workers-kv_messages" @@ -101,7 +101,7 @@ export const workers_kv_api_response_common_failure_output: JsonSchema = { /** * The schema of `workers-kv_api-response-common-no-result` in responses. */ -export const workers_kv_api_response_common_no_result_output: JsonSchema = { +export const workers$$kv_api$$response$$common$$no$$result: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers-kv_api-response-common" @@ -127,28 +127,28 @@ export const workers_kv_api_response_common_no_result_output: JsonSchema = { /** * The schema of `workers-kv_expiration` in responses. */ -export const workers_kv_expiration_output: JsonSchema = { +export const workers$$kv_expiration: JsonSchema = { "type": "number" }; /** * The schema of `workers-kv_key_name` in responses. */ -export const workers_kv_key_name_output: JsonSchema = { +export const workers$$kv_key_name: JsonSchema = { "type": "string" }; /** * The schema of `workers-kv_list_metadata` in responses. */ -export const workers_kv_list_metadata_output: JsonSchema = { +export const workers$$kv_list_metadata: JsonSchema = { "$ref": "#/$defs/workers-kv_any" }; /** * The schema of `workers-kv_messages` in responses. */ -export const workers_kv_messages_output: JsonSchema = { +export const workers$$kv_messages: JsonSchema = { "items": { "properties": { "code": { @@ -170,6 +170,6 @@ export const workers_kv_messages_output: JsonSchema = { /** * The schema of `workers-kv_namespace_identifier` in responses. */ -export const workers_kv_namespace_identifier_output: JsonSchema = { +export const workers$$kv_namespace_identifier: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/kv/schemas.ts b/src/generated/forge-mcp/kv/schemas.ts index 069df2461..89c157d29 100644 --- a/src/generated/forge-mcp/kv/schemas.ts +++ b/src/generated/forge-mcp/kv/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `workers-kv_any`. */ -export const workers_kv_any: JsonSchema = { +export const workers$$kv_any: JsonSchema = { "anyOf": [ { "type": "string" @@ -38,7 +38,7 @@ export const workers_kv_any: JsonSchema = { /** * The schema of `workers-kv_expiration`. */ -export const workers_kv_expiration: JsonSchema = { +export const workers$$kv_expiration: JsonSchema = { "description": "Expires the key at a certain time, measured in number of seconds since the UNIX epoch.", "type": "number" }; @@ -46,7 +46,7 @@ export const workers_kv_expiration: JsonSchema = { /** * The schema of `workers-kv_expiration_ttl`. */ -export const workers_kv_expiration_ttl: JsonSchema = { +export const workers$$kv_expiration_ttl: JsonSchema = { "description": "Number of seconds until the key expires. Must be at least 60. Takes precedence over `expiration` when both are specified.", "type": "number" }; @@ -54,7 +54,7 @@ export const workers_kv_expiration_ttl: JsonSchema = { /** * The schema of `workers-kv_identifier`. */ -export const workers_kv_identifier: JsonSchema = { +export const workers$$kv_identifier: JsonSchema = { "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", "type": "string" }; @@ -62,7 +62,7 @@ export const workers_kv_identifier: JsonSchema = { /** * The schema of `workers-kv_key_name`. */ -export const workers_kv_key_name: JsonSchema = { +export const workers$$kv_key_name: JsonSchema = { "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL.", "type": "string" }; @@ -70,7 +70,7 @@ export const workers_kv_key_name: JsonSchema = { /** * The schema of `workers-kv_list_metadata`. */ -export const workers_kv_list_metadata: JsonSchema = { +export const workers$$kv_list_metadata: JsonSchema = { "$ref": "#/$defs/workers-kv_any", "description": "Arbitrary JSON that is associated with a key." }; @@ -78,7 +78,7 @@ export const workers_kv_list_metadata: JsonSchema = { /** * The schema of `workers-kv_namespace_identifier`. */ -export const workers_kv_namespace_identifier: JsonSchema = { +export const workers$$kv_namespace_identifier: JsonSchema = { "description": "ID of the Workers KV namespace.", "type": "string" }; diff --git a/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts b/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts index 601d714cf..7c63755fe 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waf-product-api-bundle_api-response-collection` in responses. */ -export const waf_product_api_bundle_api_response_collection_output: JsonSchema = { +export const waf$$product$$api$$bundle_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-common" @@ -35,7 +35,7 @@ export const waf_product_api_bundle_api_response_collection_output: JsonSchema = /** * The schema of `waf-product-api-bundle_custom-detection` in responses. */ -export const waf_product_api_bundle_custom_detection_output: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$detection: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/waf-product-api-bundle_detection-id" @@ -53,7 +53,7 @@ export const waf_product_api_bundle_custom_detection_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_detection-id` in responses. */ -export const waf_product_api_bundle_detection_id_output: JsonSchema = { +export const waf$$product$$api$$bundle_detection$$id: JsonSchema = { "$ref": "#/$defs/waf-product-api-bundle_identifier" }; @@ -61,7 +61,7 @@ export const waf_product_api_bundle_detection_id_output: JsonSchema = { * The schema of `waf-product-api-bundle_response-custom-detection` in * responses. */ -export const waf_product_api_bundle_response_custom_detection_output: JsonSchema = { +export const waf$$product$$api$$bundle_response$$custom$$detection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-single" @@ -81,7 +81,7 @@ export const waf_product_api_bundle_response_custom_detection_output: JsonSchema * The schema of `waf-product-api-bundle_response-custom-detection-collection` * in responses. */ -export const waf_product_api_bundle_response_custom_detection_collection_output: JsonSchema = { +export const waf$$product$$api$$bundle_response$$custom$$detection$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-collection" diff --git a/src/generated/forge-mcp/leakedCredentialChecks/detections/schemas.ts b/src/generated/forge-mcp/leakedCredentialChecks/detections/schemas.ts index aee75d923..8c715fa5d 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/detections/schemas.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/detections/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waf-product-api-bundle_custom-detection`. */ -export const waf_product_api_bundle_custom_detection: JsonSchema = { +export const waf$$product$$api$$bundle_custom$$detection: JsonSchema = { "description": "Defines a custom set of username/password expressions to match Leaked Credential Checks on.", "properties": { "id": { @@ -28,7 +28,7 @@ export const waf_product_api_bundle_custom_detection: JsonSchema = { /** * The schema of `waf-product-api-bundle_detection-id`. */ -export const waf_product_api_bundle_detection_id: JsonSchema = { +export const waf$$product$$api$$bundle_detection$$id: JsonSchema = { "$ref": "#/$defs/waf-product-api-bundle_identifier", "description": "Defines the unique ID for this custom detection." }; diff --git a/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts b/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts index 9e6eab62d..1b951bf45 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - waf_product_api_bundle_api_response_common_output, - waf_product_api_bundle_api_response_single_output, - waf_product_api_bundle_identifier_output, - waf_product_api_bundle_messages_output, + waf$$product$$api$$bundle_api$$response$$common, + waf$$product$$api$$bundle_api$$response$$single, + waf$$product$$api$$bundle_identifier, + waf$$product$$api$$bundle_messages, } from "../../outputs.js"; -import { waf_product_api_bundle_identifier } from "../../schemas.js"; -import { waf_product_api_bundle_api_response_common_failure_output } from "../outputs.js"; +import { waf$$product$$api$$bundle_identifier as waf$$product$$api$$bundle_identifier$ } from "../../schemas.js"; +import { waf$$product$$api$$bundle_api$$response$$common$$failure } from "../outputs.js"; import { - waf_product_api_bundle_api_response_collection_output, - waf_product_api_bundle_custom_detection_output, - waf_product_api_bundle_detection_id_output, - waf_product_api_bundle_response_custom_detection_collection_output, - waf_product_api_bundle_response_custom_detection_output, + waf$$product$$api$$bundle_api$$response$$collection, + waf$$product$$api$$bundle_custom$$detection, + waf$$product$$api$$bundle_detection$$id, + waf$$product$$api$$bundle_response$$custom$$detection, + waf$$product$$api$$bundle_response$$custom$$detection$$collection, } from "./outputs.js"; import { - waf_product_api_bundle_custom_detection, - waf_product_api_bundle_detection_id, + waf$$product$$api$$bundle_custom$$detection as waf$$product$$api$$bundle_custom$$detection$, + waf$$product$$api$$bundle_detection$$id as waf$$product$$api$$bundle_detection$$id$, } from "./schemas.js"; /** - * The tools of `leaked_credential_checks.detections`. + * The tools of `leakedCredentialChecks.detections`. */ export const tools: readonly Tool[] = [ { - name: "leaked_credential_checks_detections_create", + name: "leakedCredentialChecks_detections_create", title: "Create a custom detection location for a zone.", description: "Create a detection location for credentials that the default scan locations do not cover, using Rules language expressions such as `lookup_json_string(http.request.body.raw, \"user\")`. Only the username expression is required, and Leaked Credential Checks must be enabled on the zone.", inputSchema: { @@ -36,31 +36,39 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waf-product-api-bundle_custom-detection" }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection$, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id$, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-detection": waf_product_api_bundle_response_custom_detection_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, }, annotations: { @@ -95,14 +103,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-detection": waf_product_api_bundle_response_custom_detection_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, }, request: (args) => ({ @@ -111,35 +119,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "leaked_credential_checks_detections_delete", + name: "leakedCredentialChecks_detections_delete", title: "Delete a custom detection location from a zone.", description: "Delete a user-defined detection location, identified by its detection ID. Incoming requests are then scanned using only the default scan locations and the detection locations that remain.\n\nConfirm with the user before calling this tool. This operation deletes a Leaked Credential Checks custom detection location.", inputSchema: { type: "object", properties: { - "detection_id": { - "$ref": "#/$defs/waf-product-api-bundle_detection-id", - "description": "Defines the unique ID for this custom detection." - }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "detection_id": { + "$ref": "#/$defs/waf-product-api-bundle_detection-id", + "description": "Defines the unique ID for this custom detection." + }, + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "detection_id" + ], + "type": "object" } }, required: [ - "zone_id", - "detection_id" + "path" ], $defs: { - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id$, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_api-response-common", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, }, }, annotations: { @@ -167,9 +183,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, }, }, request: (args) => ({ @@ -177,40 +193,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "leaked_credential_checks_detections_get", + name: "leakedCredentialChecks_detections_get", title: "Get a custom detection location of a zone.", description: "Get the username and password expressions of a single user-defined detection location, identified by its detection ID.", inputSchema: { type: "object", properties: { - "detection_id": { - "$ref": "#/$defs/waf-product-api-bundle_detection-id", - "description": "Defines the unique ID for this custom detection." - }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "detection_id": { + "$ref": "#/$defs/waf-product-api-bundle_detection-id", + "description": "Defines the unique ID for this custom detection." + }, + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "detection_id" + ], + "type": "object" } }, required: [ - "zone_id", - "detection_id" + "path" ], $defs: { - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id$, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-detection": waf_product_api_bundle_response_custom_detection_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, }, annotations: { @@ -247,14 +271,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-detection": waf_product_api_bundle_response_custom_detection_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, }, request: (args) => ({ @@ -262,34 +286,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "leaked_credential_checks_detections_list", + name: "leakedCredentialChecks_detections_list", title: "List the custom detection locations of a zone.", description: "List the user-defined detection locations configured for Leaked Credential Checks, each with its own identifier. A custom detection location tells the WAF where to find the username and password in requests to your application.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection-collection", $defs: { - "waf-product-api-bundle_api-response-collection": waf_product_api_bundle_api_response_collection_output, - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-detection-collection": waf_product_api_bundle_response_custom_detection_collection_output, + "waf-product-api-bundle_api-response-collection": waf$$product$$api$$bundle_api$$response$$collection, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-detection-collection": waf$$product$$api$$bundle_response$$custom$$detection$$collection, }, }, annotations: { @@ -326,14 +358,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-collection": waf_product_api_bundle_api_response_collection_output, - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-detection-collection": waf_product_api_bundle_response_custom_detection_collection_output, + "waf-product-api-bundle_api-response-collection": waf$$product$$api$$bundle_api$$response$$collection, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-detection-collection": waf$$product$$api$$bundle_response$$custom$$detection$$collection, }, }, request: (args) => ({ @@ -341,7 +373,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "leaked_credential_checks_detections_update", + name: "leakedCredentialChecks_detections_update", title: "Update a custom detection location of a zone.", description: "Update the username and password expressions of an existing detection location, identified by its detection ID. Both expressions are overwritten, so omitting the password expression clears it.", inputSchema: { @@ -350,36 +382,44 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waf-product-api-bundle_custom-detection" }, - "detection_id": { - "$ref": "#/$defs/waf-product-api-bundle_detection-id", - "description": "Defines the unique ID for this custom detection." - }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "detection_id": { + "$ref": "#/$defs/waf-product-api-bundle_detection-id", + "description": "Defines the unique ID for this custom detection." + }, + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id", + "detection_id" + ], + "type": "object" } }, required: [ - "zone_id", - "detection_id", + "path", "body" ], $defs: { - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection$, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id$, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-detection": waf_product_api_bundle_response_custom_detection_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, }, annotations: { @@ -414,14 +454,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_custom-detection": waf_product_api_bundle_custom_detection_output, - "waf-product-api-bundle_detection-id": waf_product_api_bundle_detection_id_output, - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-custom-detection": waf_product_api_bundle_response_custom_detection_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, + "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/leakedCredentialChecks/outputs.ts b/src/generated/forge-mcp/leakedCredentialChecks/outputs.ts index bf6ce45f4..5cdf7d552 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/outputs.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../_/tool.js"; * The schema of `waf-product-api-bundle_api-response-common-failure` in * responses. */ -export const waf_product_api_bundle_api_response_common_failure_output: JsonSchema = { +export const waf$$product$$api$$bundle_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/waf-product-api-bundle_messages" @@ -37,7 +37,7 @@ export const waf_product_api_bundle_api_response_common_failure_output: JsonSche /** * The schema of `waf-product-api-bundle_response-status` in responses. */ -export const waf_product_api_bundle_response_status_output: JsonSchema = { +export const waf$$product$$api$$bundle_response$$status: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-single" @@ -56,7 +56,7 @@ export const waf_product_api_bundle_response_status_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_status` in responses. */ -export const waf_product_api_bundle_status_output: JsonSchema = { +export const waf$$product$$api$$bundle_status: JsonSchema = { "properties": { "enabled": { "type": "boolean" diff --git a/src/generated/forge-mcp/leakedCredentialChecks/schemas.ts b/src/generated/forge-mcp/leakedCredentialChecks/schemas.ts index 6f486e0fd..cd235699f 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/schemas.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `waf-product-api-bundle_status`. */ -export const waf_product_api_bundle_status: JsonSchema = { +export const waf$$product$$api$$bundle_status: JsonSchema = { "description": "Defines the overall status for Leaked Credential Checks.", "properties": { "enabled": { diff --git a/src/generated/forge-mcp/leakedCredentialChecks/tools.ts b/src/generated/forge-mcp/leakedCredentialChecks/tools.ts index 7414bbaee..e80650131 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/tools.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/tools.ts @@ -3,49 +3,57 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - waf_product_api_bundle_api_response_common_output, - waf_product_api_bundle_api_response_single_output, - waf_product_api_bundle_messages_output, + waf$$product$$api$$bundle_api$$response$$common, + waf$$product$$api$$bundle_api$$response$$single, + waf$$product$$api$$bundle_messages, } from "../outputs.js"; -import { waf_product_api_bundle_identifier } from "../schemas.js"; +import { waf$$product$$api$$bundle_identifier } from "../schemas.js"; import { - waf_product_api_bundle_api_response_common_failure_output, - waf_product_api_bundle_response_status_output, - waf_product_api_bundle_status_output, + waf$$product$$api$$bundle_api$$response$$common$$failure, + waf$$product$$api$$bundle_response$$status, + waf$$product$$api$$bundle_status, } from "./outputs.js"; -import { waf_product_api_bundle_status } from "./schemas.js"; +import { waf$$product$$api$$bundle_status as waf$$product$$api$$bundle_status$ } from "./schemas.js"; /** - * The tools of `leaked_credential_checks`. + * The tools of `leakedCredentialChecks`. */ export const tools: readonly Tool[] = [ { - name: "leaked_credential_checks_get", + name: "leakedCredentialChecks_get", title: "Get the Leaked Credential Checks status for a zone.", description: "Get the current Leaked Credential Checks status for the zone. While enabled, Cloudflare scans incoming requests for usernames and passwords that were exposed in known data breaches.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-status", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-status": waf_product_api_bundle_response_status_output, - "waf-product-api-bundle_status": waf_product_api_bundle_status_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-status": waf$$product$$api$$bundle_response$$status, + "waf-product-api-bundle_status": waf$$product$$api$$bundle_status, }, }, annotations: { @@ -82,12 +90,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-status": waf_product_api_bundle_response_status_output, - "waf-product-api-bundle_status": waf_product_api_bundle_status_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-status": waf$$product$$api$$bundle_response$$status, + "waf-product-api-bundle_status": waf$$product$$api$$bundle_status, }, }, request: (args) => ({ @@ -95,7 +103,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "leaked_credential_checks_update", + name: "leakedCredentialChecks_update", title: "Update the Leaked Credential Checks status for a zone.", description: "Update the Leaked Credential Checks status for the zone, enabling or disabling the detection. While enabled, the detection populates the `cf.waf.credential_check.*` fields, which you can reference in custom rules and rate limiting rules to challenge or block requests carrying compromised credentials.\n\nConfirm with the user before calling this tool. This operation toggles Leaked Credential Checks for a zone.", inputSchema: { @@ -104,28 +112,36 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waf-product-api-bundle_status" }, - "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waf-product-api-bundle_identifier", + "description": "Defines an identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "waf-product-api-bundle_identifier": waf_product_api_bundle_identifier, - "waf-product-api-bundle_status": waf_product_api_bundle_status, + "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, + "waf-product-api-bundle_status": waf$$product$$api$$bundle_status$, }, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-status", $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-status": waf_product_api_bundle_response_status_output, - "waf-product-api-bundle_status": waf_product_api_bundle_status_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-status": waf$$product$$api$$bundle_response$$status, + "waf-product-api-bundle_status": waf$$product$$api$$bundle_status, }, }, annotations: { @@ -160,12 +176,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waf-product-api-bundle_api-response-common": waf_product_api_bundle_api_response_common_output, - "waf-product-api-bundle_api-response-common-failure": waf_product_api_bundle_api_response_common_failure_output, - "waf-product-api-bundle_api-response-single": waf_product_api_bundle_api_response_single_output, - "waf-product-api-bundle_messages": waf_product_api_bundle_messages_output, - "waf-product-api-bundle_response-status": waf_product_api_bundle_response_status_output, - "waf-product-api-bundle_status": waf_product_api_bundle_status_output, + "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, + "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, + "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, + "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, + "waf-product-api-bundle_response-status": waf$$product$$api$$bundle_response$$status, + "waf-product-api-bundle_status": waf$$product$$api$$bundle_status, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/live/tools.ts b/src/generated/forge-mcp/live/tools.ts index 6b105749b..2dce56159 100644 --- a/src/generated/forge-mcp/live/tools.ts +++ b/src/generated/forge-mcp/live/tools.ts @@ -2,7 +2,7 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; +import { brand$$protection$$api_Error } from "../outputs.js"; /** * The tools of `live`. @@ -45,7 +45,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_Error": brand$$protection$$api_Error, }, }, request: (_args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/account/outputs.ts b/src/generated/forge-mcp/loadBalancers/account/outputs.ts index 34fe86655..b5caaebd8 100644 --- a/src/generated/forge-mcp/loadBalancers/account/outputs.ts +++ b/src/generated/forge-mcp/loadBalancers/account/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `load-balancing_adaptive_routing` in responses. */ -export const load_balancing_adaptive_routing_output: JsonSchema = { +export const load$$balancing_adaptive_routing: JsonSchema = { "properties": { "failover_across_pools": { "type": "boolean" @@ -18,21 +18,21 @@ export const load_balancing_adaptive_routing_output: JsonSchema = { /** * The schema of `load-balancing_components-schemas-description` in responses. */ -export const load_balancing_components_schemas_description_output: JsonSchema = { +export const load$$balancing_components$$schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_components-schemas-enabled` in responses. */ -export const load_balancing_components_schemas_enabled_output: JsonSchema = { +export const load$$balancing_components$$schemas$$enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `load-balancing_components-schemas-id_response` in responses. */ -export const load_balancing_components_schemas_id_response_output: JsonSchema = { +export const load$$balancing_components$$schemas$$id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -56,21 +56,21 @@ export const load_balancing_components_schemas_id_response_output: JsonSchema = /** * The schema of `load-balancing_components-schemas-name` in responses. */ -export const load_balancing_components_schemas_name_output: JsonSchema = { +export const load$$balancing_components$$schemas$$name: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_components-schemas-zone-name` in responses. */ -export const load_balancing_components_schemas_zone_name_output: JsonSchema = { +export const load$$balancing_components$$schemas$$zone$$name: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_country_pools` in responses. */ -export const load_balancing_country_pools_output: JsonSchema = { +export const load$$balancing_country_pools: JsonSchema = { "additionalProperties": { "items": { "type": "string" @@ -83,7 +83,7 @@ export const load_balancing_country_pools_output: JsonSchema = { /** * The schema of `load-balancing_default_pools` in responses. */ -export const load_balancing_default_pools_output: JsonSchema = { +export const load$$balancing_default_pools: JsonSchema = { "items": { "type": "string" }, @@ -93,14 +93,14 @@ export const load_balancing_default_pools_output: JsonSchema = { /** * The schema of `load-balancing_fallback_pool` in responses. */ -export const load_balancing_fallback_pool_output: JsonSchema = { +export const load$$balancing_fallback_pool: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_fixed_response` in responses. */ -export const load_balancing_fixed_response_output: JsonSchema = { +export const load$$balancing_fixed_response: JsonSchema = { "properties": { "content_type": { "type": "string" @@ -121,7 +121,7 @@ export const load_balancing_fixed_response_output: JsonSchema = { /** * The schema of `load-balancing_load-balancer` in responses. */ -export const load_balancing_load_balancer_output: JsonSchema = { +export const load$$balancing_load$$balancer: JsonSchema = { "properties": { "adaptive_routing": { "$ref": "#/$defs/load-balancing_adaptive_routing" @@ -203,7 +203,7 @@ export const load_balancing_load_balancer_output: JsonSchema = { * The schema of `load-balancing_load-balancer_components-schemas-identifier` in * responses. */ -export const load_balancing_load_balancer_components_schemas_identifier_output: JsonSchema = { +export const load$$balancing_load$$balancer_components$$schemas$$identifier: JsonSchema = { "type": "string" }; @@ -212,7 +212,7 @@ export const load_balancing_load_balancer_components_schemas_identifier_output: * `load-balancing_load-balancer_components-schemas-response_collection` in * responses. */ -export const load_balancing_load_balancer_components_schemas_response_collection_output: JsonSchema = { +export const load$$balancing_load$$balancer_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-paginated-response-collection" @@ -236,7 +236,7 @@ export const load_balancing_load_balancer_components_schemas_response_collection * `load-balancing_load-balancer_components-schemas-single_response` in * responses. */ -export const load_balancing_load_balancer_components_schemas_single_response_output: JsonSchema = { +export const load$$balancing_load$$balancer_components$$schemas$$single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -255,7 +255,7 @@ export const load_balancing_load_balancer_components_schemas_single_response_out /** * The schema of `load-balancing_location_strategy` in responses. */ -export const load_balancing_location_strategy_output: JsonSchema = { +export const load$$balancing_location_strategy: JsonSchema = { "properties": { "mode": { "enum": [ @@ -280,7 +280,7 @@ export const load_balancing_location_strategy_output: JsonSchema = { /** * The schema of `load-balancing_match` in responses. */ -export const load_balancing_match_output: JsonSchema = { +export const load$$balancing_match: JsonSchema = { "properties": { "default": { "type": "boolean" @@ -295,14 +295,14 @@ export const load_balancing_match_output: JsonSchema = { /** * The schema of `load-balancing_pool_default_weight` in responses. */ -export const load_balancing_pool_default_weight_output: JsonSchema = { +export const load$$balancing_pool_default_weight: JsonSchema = { "type": "number" }; /** * The schema of `load-balancing_pool_set` in responses. */ -export const load_balancing_pool_set_output: JsonSchema = { +export const load$$balancing_pool_set: JsonSchema = { "properties": { "disabled": { "type": "boolean" @@ -326,7 +326,7 @@ export const load_balancing_pool_set_output: JsonSchema = { /** * The schema of `load-balancing_pool_set_overrides` in responses. */ -export const load_balancing_pool_set_overrides_output: JsonSchema = { +export const load$$balancing_pool_set_overrides: JsonSchema = { "properties": { "fallback_pool": { "$ref": "#/$defs/load-balancing_fallback_pool" @@ -350,7 +350,7 @@ export const load_balancing_pool_set_overrides_output: JsonSchema = { /** * The schema of `load-balancing_pool_sets` in responses. */ -export const load_balancing_pool_sets_output: JsonSchema = { +export const load$$balancing_pool_sets: JsonSchema = { "items": { "$ref": "#/$defs/load-balancing_pool_set" }, @@ -360,7 +360,7 @@ export const load_balancing_pool_sets_output: JsonSchema = { /** * The schema of `load-balancing_pool_weights` in responses. */ -export const load_balancing_pool_weights_output: JsonSchema = { +export const load$$balancing_pool_weights: JsonSchema = { "additionalProperties": { "type": "number" }, @@ -370,7 +370,7 @@ export const load_balancing_pool_weights_output: JsonSchema = { /** * The schema of `load-balancing_pools` in responses. */ -export const load_balancing_pools_output: JsonSchema = { +export const load$$balancing_pools: JsonSchema = { "items": { "type": "string" }, @@ -380,7 +380,7 @@ export const load_balancing_pools_output: JsonSchema = { /** * The schema of `load-balancing_pop_pools` in responses. */ -export const load_balancing_pop_pools_output: JsonSchema = { +export const load$$balancing_pop_pools: JsonSchema = { "additionalProperties": { "items": { "type": "string" @@ -393,14 +393,14 @@ export const load_balancing_pop_pools_output: JsonSchema = { /** * The schema of `load-balancing_proxied` in responses. */ -export const load_balancing_proxied_output: JsonSchema = { +export const load$$balancing_proxied: JsonSchema = { "type": "boolean" }; /** * The schema of `load-balancing_random_steering` in responses. */ -export const load_balancing_random_steering_output: JsonSchema = { +export const load$$balancing_random_steering: JsonSchema = { "properties": { "default_weight": { "type": "number" @@ -418,7 +418,7 @@ export const load_balancing_random_steering_output: JsonSchema = { /** * The schema of `load-balancing_region_pools` in responses. */ -export const load_balancing_region_pools_output: JsonSchema = { +export const load$$balancing_region_pools: JsonSchema = { "additionalProperties": { "items": { "type": "string" @@ -431,7 +431,7 @@ export const load_balancing_region_pools_output: JsonSchema = { /** * The schema of `load-balancing_rule_overrides` in responses. */ -export const load_balancing_rule_overrides_output: JsonSchema = { +export const load$$balancing_rule_overrides: JsonSchema = { "properties": { "adaptive_routing": { "$ref": "#/$defs/load-balancing_adaptive_routing" @@ -488,7 +488,7 @@ export const load_balancing_rule_overrides_output: JsonSchema = { /** * The schema of `load-balancing_rules` in responses. */ -export const load_balancing_rules_output: JsonSchema = { +export const load$$balancing_rules: JsonSchema = { "items": { "properties": { "condition": { @@ -521,7 +521,7 @@ export const load_balancing_rules_output: JsonSchema = { /** * The schema of `load-balancing_session_affinity` in responses. */ -export const load_balancing_session_affinity_output: JsonSchema = { +export const load$$balancing_session_affinity: JsonSchema = { "enum": [ "none", "cookie", @@ -534,7 +534,7 @@ export const load_balancing_session_affinity_output: JsonSchema = { /** * The schema of `load-balancing_session_affinity_attributes` in responses. */ -export const load_balancing_session_affinity_attributes_output: JsonSchema = { +export const load$$balancing_session_affinity_attributes: JsonSchema = { "properties": { "drain_duration": { "type": "number" @@ -580,14 +580,14 @@ export const load_balancing_session_affinity_attributes_output: JsonSchema = { /** * The schema of `load-balancing_session_affinity_ttl` in responses. */ -export const load_balancing_session_affinity_ttl_output: JsonSchema = { +export const load$$balancing_session_affinity_ttl: JsonSchema = { "type": "number" }; /** * The schema of `load-balancing_steering_policy` in responses. */ -export const load_balancing_steering_policy_output: JsonSchema = { +export const load$$balancing_steering_policy: JsonSchema = { "enum": [ "off", "geo", @@ -604,7 +604,7 @@ export const load_balancing_steering_policy_output: JsonSchema = { /** * The schema of `load-balancing_topology_match` in responses. */ -export const load_balancing_topology_match_output: JsonSchema = { +export const load$$balancing_topology_match: JsonSchema = { "properties": { "countries": { "items": { @@ -634,6 +634,6 @@ export const load_balancing_topology_match_output: JsonSchema = { /** * The schema of `load-balancing_ttl` in responses. */ -export const load_balancing_ttl_output: JsonSchema = { +export const load$$balancing_ttl: JsonSchema = { "type": "number" }; diff --git a/src/generated/forge-mcp/loadBalancers/account/schemas.ts b/src/generated/forge-mcp/loadBalancers/account/schemas.ts index 1ba16c1ef..25ebf1581 100644 --- a/src/generated/forge-mcp/loadBalancers/account/schemas.ts +++ b/src/generated/forge-mcp/loadBalancers/account/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `load-balancing_adaptive_routing`. */ -export const load_balancing_adaptive_routing: JsonSchema = { +export const load$$balancing_adaptive_routing: JsonSchema = { "description": "Controls features that modify the routing of requests to pools and origins in response to dynamic conditions, such as during the interval between active health monitoring requests. For example, zero-downtime failover occurs immediately when an origin becomes unavailable due to HTTP 521, 522, or 523 response codes. If there is another healthy origin in the same pool, the request is retried once against this alternate origin.", "properties": { "failover_across_pools": { @@ -21,7 +21,7 @@ export const load_balancing_adaptive_routing: JsonSchema = { /** * The schema of `load-balancing_components-schemas-description`. */ -export const load_balancing_components_schemas_description: JsonSchema = { +export const load$$balancing_components$$schemas$$description: JsonSchema = { "description": "Object description.", "type": "string" }; @@ -29,7 +29,7 @@ export const load_balancing_components_schemas_description: JsonSchema = { /** * The schema of `load-balancing_components-schemas-enabled`. */ -export const load_balancing_components_schemas_enabled: JsonSchema = { +export const load$$balancing_components$$schemas$$enabled: JsonSchema = { "description": "Whether to enable (the default) this load balancer.", "type": "boolean" }; @@ -37,7 +37,7 @@ export const load_balancing_components_schemas_enabled: JsonSchema = { /** * The schema of `load-balancing_components-schemas-name`. */ -export const load_balancing_components_schemas_name: JsonSchema = { +export const load$$balancing_components$$schemas$$name: JsonSchema = { "description": "The DNS hostname to associate with your Load Balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the Load Balancer will take precedence and the DNS record will not be used.", "type": "string" }; @@ -45,7 +45,7 @@ export const load_balancing_components_schemas_name: JsonSchema = { /** * The schema of `load-balancing_country_pools`. */ -export const load_balancing_country_pools: JsonSchema = { +export const load$$balancing_country_pools: JsonSchema = { "additionalProperties": { "items": { "type": "string" @@ -59,7 +59,7 @@ export const load_balancing_country_pools: JsonSchema = { /** * The schema of `load-balancing_default_pools`. */ -export const load_balancing_default_pools: JsonSchema = { +export const load$$balancing_default_pools: JsonSchema = { "description": "A list of pool IDs ordered by their failover priority. Pools defined here are used by default, or when region_pools are not configured for a given region.", "items": { "type": "string" @@ -70,7 +70,7 @@ export const load_balancing_default_pools: JsonSchema = { /** * The schema of `load-balancing_fallback_pool`. */ -export const load_balancing_fallback_pool: JsonSchema = { +export const load$$balancing_fallback_pool: JsonSchema = { "description": "The pool ID to use when all other pools are detected as unhealthy.", "type": "string" }; @@ -78,7 +78,7 @@ export const load_balancing_fallback_pool: JsonSchema = { /** * The schema of `load-balancing_fixed_response`. */ -export const load_balancing_fixed_response: JsonSchema = { +export const load$$balancing_fixed_response: JsonSchema = { "description": "A collection of fields used to directly respond to the client instead of routing to a pool. When supplied on a rule, that rule stops further rule evaluation.", "properties": { "content_type": { @@ -104,7 +104,7 @@ export const load_balancing_fixed_response: JsonSchema = { /** * The schema of `load-balancing_load-balancer-editable`. */ -export const load_balancing_load_balancer_editable: JsonSchema = { +export const load$$balancing_load$$balancer$$editable: JsonSchema = { "description": "The editable properties shared by load balancer create, update, and patch requests. Operations layer their own `required` constraints on top via `allOf`.", "properties": { "adaptive_routing": { @@ -194,14 +194,14 @@ export const load_balancing_load_balancer_editable: JsonSchema = { /** * The schema of `load-balancing_load-balancer_components-schemas-identifier`. */ -export const load_balancing_load_balancer_components_schemas_identifier: JsonSchema = { +export const load$$balancing_load$$balancer_components$$schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_location_strategy`. */ -export const load_balancing_location_strategy: JsonSchema = { +export const load$$balancing_location_strategy: JsonSchema = { "description": "Controls location-based steering for non-proxied requests. See `steering_policy` to learn how steering is affected.", "properties": { "mode": { @@ -231,7 +231,7 @@ export const load_balancing_location_strategy: JsonSchema = { /** * The schema of `load-balancing_pool_default_weight`. */ -export const load_balancing_pool_default_weight: JsonSchema = { +export const load$$balancing_pool_default_weight: JsonSchema = { "description": "The default weight for pools not listed in `pool_weights`. The declarative alternative to `random_steering.default_weight`; mutually exclusive with `random_steering`.", "type": "number" }; @@ -239,7 +239,7 @@ export const load_balancing_pool_default_weight: JsonSchema = { /** * The schema of `load-balancing_pool_weights`. */ -export const load_balancing_pool_weights: JsonSchema = { +export const load$$balancing_pool_weights: JsonSchema = { "additionalProperties": { "type": "number" }, @@ -250,7 +250,7 @@ export const load_balancing_pool_weights: JsonSchema = { /** * The schema of `load-balancing_pools`. */ -export const load_balancing_pools: JsonSchema = { +export const load$$balancing_pools: JsonSchema = { "description": "A flat, ordered list of pool IDs to route the matched audience to. Replaces the resolved topology with exactly these pools. Mutually exclusive with `fixed_response`.", "items": { "type": "string" @@ -261,7 +261,7 @@ export const load_balancing_pools: JsonSchema = { /** * The schema of `load-balancing_pop_pools`. */ -export const load_balancing_pop_pools: JsonSchema = { +export const load$$balancing_pop_pools: JsonSchema = { "additionalProperties": { "items": { "type": "string" @@ -275,7 +275,7 @@ export const load_balancing_pop_pools: JsonSchema = { /** * The schema of `load-balancing_proxied`. */ -export const load_balancing_proxied: JsonSchema = { +export const load$$balancing_proxied: JsonSchema = { "description": "Whether the hostname should be gray clouded (false) or orange clouded (true).", "type": "boolean" }; @@ -283,7 +283,7 @@ export const load_balancing_proxied: JsonSchema = { /** * The schema of `load-balancing_random_steering`. */ -export const load_balancing_random_steering: JsonSchema = { +export const load$$balancing_random_steering: JsonSchema = { "description": "Configures pool weights.\n- `steering_policy=\"random\"`: A random pool is selected with probability proportional to pool weights.\n- `steering_policy=\"least_outstanding_requests\"`: Use pool weights to scale each pool's outstanding requests.\n- `steering_policy=\"least_connections\"`: Use pool weights to scale each pool's open connections.", "properties": { "default_weight": { @@ -305,7 +305,7 @@ export const load_balancing_random_steering: JsonSchema = { /** * The schema of `load-balancing_region_pools`. */ -export const load_balancing_region_pools: JsonSchema = { +export const load$$balancing_region_pools: JsonSchema = { "additionalProperties": { "items": { "type": "string" @@ -319,7 +319,7 @@ export const load_balancing_region_pools: JsonSchema = { /** * The schema of `load-balancing_rule_overrides`. */ -export const load_balancing_rule_overrides: JsonSchema = { +export const load$$balancing_rule_overrides: JsonSchema = { "description": "A collection of overrides to apply when this rule's condition (or a pool set's `match`) is true. All fields are optional.", "properties": { "adaptive_routing": { @@ -395,7 +395,7 @@ export const load_balancing_rule_overrides: JsonSchema = { /** * The schema of `load-balancing_rules`. */ -export const load_balancing_rules: JsonSchema = { +export const load$$balancing_rules: JsonSchema = { "description": "BETA Field Not General Access: A list of rules for this load balancer to execute.", "items": { "properties": { @@ -438,7 +438,7 @@ export const load_balancing_rules: JsonSchema = { /** * The schema of `load-balancing_session_affinity`. */ -export const load_balancing_session_affinity: JsonSchema = { +export const load$$balancing_session_affinity: JsonSchema = { "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration.", "enum": [ "none", @@ -452,7 +452,7 @@ export const load_balancing_session_affinity: JsonSchema = { /** * The schema of `load-balancing_session_affinity_attributes`. */ -export const load_balancing_session_affinity_attributes: JsonSchema = { +export const load$$balancing_session_affinity_attributes: JsonSchema = { "description": "Configures attributes for session affinity.", "properties": { "drain_duration": { @@ -510,7 +510,7 @@ export const load_balancing_session_affinity_attributes: JsonSchema = { /** * The schema of `load-balancing_session_affinity_ttl`. */ -export const load_balancing_session_affinity_ttl: JsonSchema = { +export const load$$balancing_session_affinity_ttl: JsonSchema = { "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified.", "type": "number" }; @@ -518,7 +518,7 @@ export const load_balancing_session_affinity_ttl: JsonSchema = { /** * The schema of `load-balancing_steering_policy`. */ -export const load_balancing_steering_policy: JsonSchema = { +export const load$$balancing_steering_policy: JsonSchema = { "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`.", "enum": [ "off", @@ -536,7 +536,7 @@ export const load_balancing_steering_policy: JsonSchema = { /** * The schema of `load-balancing_ttl`. */ -export const load_balancing_ttl: JsonSchema = { +export const load$$balancing_ttl: JsonSchema = { "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers.", "type": "number" }; diff --git a/src/generated/forge-mcp/loadBalancers/account/tools.ts b/src/generated/forge-mcp/loadBalancers/account/tools.ts index 0187a6762..49a6246c0 100644 --- a/src/generated/forge-mcp/loadBalancers/account/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/account/tools.ts @@ -3,104 +3,92 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - load_balancing_api_paginated_response_collection_output, - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_messages_output, - load_balancing_networks_output, - load_balancing_result_info_output, - load_balancing_timestamp_output, + load$$balancing_api$$paginated$$response$$collection, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_messages, + load$$balancing_networks, + load$$balancing_result_info, + load$$balancing_timestamp, } from "../../outputs.js"; -import { load_balancing_networks } from "../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../schemas.js"; +import { load$$balancing_networks as load$$balancing_networks$ } from "../../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; import { - load_balancing_adaptive_routing_output, - load_balancing_components_schemas_description_output, - load_balancing_components_schemas_enabled_output, - load_balancing_components_schemas_id_response_output, - load_balancing_components_schemas_name_output, - load_balancing_components_schemas_zone_name_output, - load_balancing_country_pools_output, - load_balancing_default_pools_output, - load_balancing_fallback_pool_output, - load_balancing_fixed_response_output, - load_balancing_load_balancer_components_schemas_identifier_output, - load_balancing_load_balancer_components_schemas_response_collection_output, - load_balancing_load_balancer_components_schemas_single_response_output, - load_balancing_load_balancer_output, - load_balancing_location_strategy_output, - load_balancing_match_output, - load_balancing_pool_default_weight_output, - load_balancing_pool_set_output, - load_balancing_pool_set_overrides_output, - load_balancing_pool_sets_output, - load_balancing_pool_weights_output, - load_balancing_pools_output, - load_balancing_pop_pools_output, - load_balancing_proxied_output, - load_balancing_random_steering_output, - load_balancing_region_pools_output, - load_balancing_rule_overrides_output, - load_balancing_rules_output, - load_balancing_session_affinity_attributes_output, - load_balancing_session_affinity_output, - load_balancing_session_affinity_ttl_output, - load_balancing_steering_policy_output, - load_balancing_topology_match_output, - load_balancing_ttl_output, + load$$balancing_adaptive_routing, + load$$balancing_components$$schemas$$description, + load$$balancing_components$$schemas$$enabled, + load$$balancing_components$$schemas$$id_response, + load$$balancing_components$$schemas$$name, + load$$balancing_components$$schemas$$zone$$name, + load$$balancing_country_pools, + load$$balancing_default_pools, + load$$balancing_fallback_pool, + load$$balancing_fixed_response, + load$$balancing_load$$balancer, + load$$balancing_load$$balancer_components$$schemas$$identifier, + load$$balancing_load$$balancer_components$$schemas$$response_collection, + load$$balancing_load$$balancer_components$$schemas$$single_response, + load$$balancing_location_strategy, + load$$balancing_match, + load$$balancing_pool_default_weight, + load$$balancing_pool_set, + load$$balancing_pool_set_overrides, + load$$balancing_pool_sets, + load$$balancing_pool_weights, + load$$balancing_pools, + load$$balancing_pop_pools, + load$$balancing_proxied, + load$$balancing_random_steering, + load$$balancing_region_pools, + load$$balancing_rule_overrides, + load$$balancing_rules, + load$$balancing_session_affinity, + load$$balancing_session_affinity_attributes, + load$$balancing_session_affinity_ttl, + load$$balancing_steering_policy, + load$$balancing_topology_match, + load$$balancing_ttl, } from "./outputs.js"; import { - load_balancing_adaptive_routing, - load_balancing_components_schemas_description, - load_balancing_components_schemas_enabled, - load_balancing_components_schemas_name, - load_balancing_country_pools, - load_balancing_default_pools, - load_balancing_fallback_pool, - load_balancing_fixed_response, - load_balancing_load_balancer_components_schemas_identifier, - load_balancing_load_balancer_editable, - load_balancing_location_strategy, - load_balancing_pool_default_weight, - load_balancing_pool_weights, - load_balancing_pools, - load_balancing_pop_pools, - load_balancing_proxied, - load_balancing_random_steering, - load_balancing_region_pools, - load_balancing_rule_overrides, - load_balancing_rules, - load_balancing_session_affinity, - load_balancing_session_affinity_attributes, - load_balancing_session_affinity_ttl, - load_balancing_steering_policy, - load_balancing_ttl, + load$$balancing_adaptive_routing as load$$balancing_adaptive_routing$, + load$$balancing_components$$schemas$$description as load$$balancing_components$$schemas$$description$, + load$$balancing_components$$schemas$$enabled as load$$balancing_components$$schemas$$enabled$, + load$$balancing_components$$schemas$$name as load$$balancing_components$$schemas$$name$, + load$$balancing_country_pools as load$$balancing_country_pools$, + load$$balancing_default_pools as load$$balancing_default_pools$, + load$$balancing_fallback_pool as load$$balancing_fallback_pool$, + load$$balancing_fixed_response as load$$balancing_fixed_response$, + load$$balancing_load$$balancer$$editable, + load$$balancing_load$$balancer_components$$schemas$$identifier as load$$balancing_load$$balancer_components$$schemas$$identifier$, + load$$balancing_location_strategy as load$$balancing_location_strategy$, + load$$balancing_pool_default_weight as load$$balancing_pool_default_weight$, + load$$balancing_pool_weights as load$$balancing_pool_weights$, + load$$balancing_pools as load$$balancing_pools$, + load$$balancing_pop_pools as load$$balancing_pop_pools$, + load$$balancing_proxied as load$$balancing_proxied$, + load$$balancing_random_steering as load$$balancing_random_steering$, + load$$balancing_region_pools as load$$balancing_region_pools$, + load$$balancing_rule_overrides as load$$balancing_rule_overrides$, + load$$balancing_rules as load$$balancing_rules$, + load$$balancing_session_affinity as load$$balancing_session_affinity$, + load$$balancing_session_affinity_attributes as load$$balancing_session_affinity_attributes$, + load$$balancing_session_affinity_ttl as load$$balancing_session_affinity_ttl$, + load$$balancing_steering_policy as load$$balancing_steering_policy$, + load$$balancing_ttl as load$$balancing_ttl$, } from "./schemas.js"; /** - * The tools of `load_balancers.account`. + * The tools of `loadBalancers.account`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_account_create", + name: "loadBalancers_account_create", title: "Create account or zone Load Balancer", description: "Create a new account or zone-scoped load balancer.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "adaptive_routing": { @@ -190,81 +178,101 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name, - "load-balancing_country_pools": load_balancing_country_pools, - "load-balancing_default_pools": load_balancing_default_pools, - "load-balancing_fallback_pool": load_balancing_fallback_pool, - "load-balancing_fixed_response": load_balancing_fixed_response, - "load-balancing_location_strategy": load_balancing_location_strategy, - "load-balancing_networks": load_balancing_networks, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight, - "load-balancing_pool_weights": load_balancing_pool_weights, - "load-balancing_pools": load_balancing_pools, - "load-balancing_pop_pools": load_balancing_pop_pools, - "load-balancing_proxied": load_balancing_proxied, - "load-balancing_random_steering": load_balancing_random_steering, - "load-balancing_region_pools": load_balancing_region_pools, - "load-balancing_rule_overrides": load_balancing_rule_overrides, - "load-balancing_rules": load_balancing_rules, - "load-balancing_session_affinity": load_balancing_session_affinity, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl, - "load-balancing_steering_policy": load_balancing_steering_policy, - "load-balancing_ttl": load_balancing_ttl, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing$, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description$, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled$, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name$, + "load-balancing_country_pools": load$$balancing_country_pools$, + "load-balancing_default_pools": load$$balancing_default_pools$, + "load-balancing_fallback_pool": load$$balancing_fallback_pool$, + "load-balancing_fixed_response": load$$balancing_fixed_response$, + "load-balancing_location_strategy": load$$balancing_location_strategy$, + "load-balancing_networks": load$$balancing_networks$, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight$, + "load-balancing_pool_weights": load$$balancing_pool_weights$, + "load-balancing_pools": load$$balancing_pools$, + "load-balancing_pop_pools": load$$balancing_pop_pools$, + "load-balancing_proxied": load$$balancing_proxied$, + "load-balancing_random_steering": load$$balancing_random_steering$, + "load-balancing_region_pools": load$$balancing_region_pools$, + "load-balancing_rule_overrides": load$$balancing_rule_overrides$, + "load-balancing_rules": load$$balancing_rules$, + "load-balancing_session_affinity": load$$balancing_session_affinity$, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes$, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl$, + "load-balancing_steering_policy": load$$balancing_steering_policy$, + "load-balancing_ttl": load$$balancing_ttl$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-single_response", $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-single_response": load_balancing_load_balancer_components_schemas_single_response_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -291,44 +299,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-single_response": load_balancing_load_balancer_components_schemas_single_response_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ @@ -337,46 +345,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_account_delete", + name: "loadBalancers_account_delete", title: "Delete account or zone Load Balancer", description: "Delete a configured account or zone-scoped load balancer.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "load_balancer_id": { + "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "load_balancer_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "load_balancer_id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "load_balancer_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_components-schemas-id_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-id_response": load_balancing_components_schemas_id_response_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-id_response": load$$balancing_components$$schemas$$id_response, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_messages": load$$balancing_messages, }, }, annotations: { @@ -403,12 +419,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-id_response": load_balancing_components_schemas_id_response_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-id_response": load$$balancing_components$$schemas$$id_response, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_messages": load$$balancing_messages, }, }, request: (args) => ({ @@ -416,107 +432,115 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_account_edit", + name: "loadBalancers_account_edit", title: "Patch account or zone Load Balancer", description: "Apply changes to an existing account or zone-scoped load balancer, overwriting the supplied properties.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/load-balancing_load-balancer-editable" }, - "load_balancer_id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "load_balancer_id": { + "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "load_balancer_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "load_balancer_id", + "path", "body" ], $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name, - "load-balancing_country_pools": load_balancing_country_pools, - "load-balancing_default_pools": load_balancing_default_pools, - "load-balancing_fallback_pool": load_balancing_fallback_pool, - "load-balancing_fixed_response": load_balancing_fixed_response, - "load-balancing_load-balancer-editable": load_balancing_load_balancer_editable, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier, - "load-balancing_location_strategy": load_balancing_location_strategy, - "load-balancing_networks": load_balancing_networks, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight, - "load-balancing_pool_weights": load_balancing_pool_weights, - "load-balancing_pools": load_balancing_pools, - "load-balancing_pop_pools": load_balancing_pop_pools, - "load-balancing_proxied": load_balancing_proxied, - "load-balancing_random_steering": load_balancing_random_steering, - "load-balancing_region_pools": load_balancing_region_pools, - "load-balancing_rule_overrides": load_balancing_rule_overrides, - "load-balancing_rules": load_balancing_rules, - "load-balancing_session_affinity": load_balancing_session_affinity, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl, - "load-balancing_steering_policy": load_balancing_steering_policy, - "load-balancing_ttl": load_balancing_ttl, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing$, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description$, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled$, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name$, + "load-balancing_country_pools": load$$balancing_country_pools$, + "load-balancing_default_pools": load$$balancing_default_pools$, + "load-balancing_fallback_pool": load$$balancing_fallback_pool$, + "load-balancing_fixed_response": load$$balancing_fixed_response$, + "load-balancing_load-balancer-editable": load$$balancing_load$$balancer$$editable, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier$, + "load-balancing_location_strategy": load$$balancing_location_strategy$, + "load-balancing_networks": load$$balancing_networks$, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight$, + "load-balancing_pool_weights": load$$balancing_pool_weights$, + "load-balancing_pools": load$$balancing_pools$, + "load-balancing_pop_pools": load$$balancing_pop_pools$, + "load-balancing_proxied": load$$balancing_proxied$, + "load-balancing_random_steering": load$$balancing_random_steering$, + "load-balancing_region_pools": load$$balancing_region_pools$, + "load-balancing_rule_overrides": load$$balancing_rule_overrides$, + "load-balancing_rules": load$$balancing_rules$, + "load-balancing_session_affinity": load$$balancing_session_affinity$, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes$, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl$, + "load-balancing_steering_policy": load$$balancing_steering_policy$, + "load-balancing_ttl": load$$balancing_ttl$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-single_response", $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-single_response": load_balancing_load_balancer_components_schemas_single_response_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -543,44 +567,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-single_response": load_balancing_load_balancer_components_schemas_single_response_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ @@ -589,78 +613,86 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_account_get", + name: "loadBalancers_account_get", title: "account or zone Load Balancer Details", description: "Fetch a single configured account or zone-scoped load balancer.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "load_balancer_id": { + "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "load_balancer_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "load_balancer_id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "load_balancer_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-single_response", $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-single_response": load_balancing_load_balancer_components_schemas_single_response_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -688,44 +720,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-single_response": load_balancing_load_balancer_components_schemas_single_response_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ @@ -733,74 +765,82 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_account_list", + name: "loadBalancers_account_list", title: "List account or zone Load Balancers", description: "List configured account or zone-scoped load balancers.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-response_collection", $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-response_collection": load_balancing_load_balancer_components_schemas_response_collection_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-response_collection": load$$balancing_load$$balancer_components$$schemas$$response_collection, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -828,45 +868,45 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-response_collection": load_balancing_load_balancer_components_schemas_response_collection_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-response_collection": load$$balancing_load$$balancer_components$$schemas$$response_collection, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ @@ -874,24 +914,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_account_update", + name: "loadBalancers_account_update", title: "Update account or zone Load Balancer", description: "Update a configured account or zone-scoped load balancer.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "adaptive_routing": { @@ -982,85 +1010,105 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "load_balancer_id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "load_balancer_id": { + "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "load_balancer_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "load_balancer_id", + "path", "body" ], $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name, - "load-balancing_country_pools": load_balancing_country_pools, - "load-balancing_default_pools": load_balancing_default_pools, - "load-balancing_fallback_pool": load_balancing_fallback_pool, - "load-balancing_fixed_response": load_balancing_fixed_response, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier, - "load-balancing_location_strategy": load_balancing_location_strategy, - "load-balancing_networks": load_balancing_networks, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight, - "load-balancing_pool_weights": load_balancing_pool_weights, - "load-balancing_pools": load_balancing_pools, - "load-balancing_pop_pools": load_balancing_pop_pools, - "load-balancing_proxied": load_balancing_proxied, - "load-balancing_random_steering": load_balancing_random_steering, - "load-balancing_region_pools": load_balancing_region_pools, - "load-balancing_rule_overrides": load_balancing_rule_overrides, - "load-balancing_rules": load_balancing_rules, - "load-balancing_session_affinity": load_balancing_session_affinity, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl, - "load-balancing_steering_policy": load_balancing_steering_policy, - "load-balancing_ttl": load_balancing_ttl, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing$, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description$, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled$, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name$, + "load-balancing_country_pools": load$$balancing_country_pools$, + "load-balancing_default_pools": load$$balancing_default_pools$, + "load-balancing_fallback_pool": load$$balancing_fallback_pool$, + "load-balancing_fixed_response": load$$balancing_fixed_response$, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier$, + "load-balancing_location_strategy": load$$balancing_location_strategy$, + "load-balancing_networks": load$$balancing_networks$, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight$, + "load-balancing_pool_weights": load$$balancing_pool_weights$, + "load-balancing_pools": load$$balancing_pools$, + "load-balancing_pop_pools": load$$balancing_pop_pools$, + "load-balancing_proxied": load$$balancing_proxied$, + "load-balancing_random_steering": load$$balancing_random_steering$, + "load-balancing_region_pools": load$$balancing_region_pools$, + "load-balancing_rule_overrides": load$$balancing_rule_overrides$, + "load-balancing_rules": load$$balancing_rules$, + "load-balancing_session_affinity": load$$balancing_session_affinity$, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes$, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl$, + "load-balancing_steering_policy": load$$balancing_steering_policy$, + "load-balancing_ttl": load$$balancing_ttl$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-single_response", $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-single_response": load_balancing_load_balancer_components_schemas_single_response_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -1087,44 +1135,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_adaptive_routing": load_balancing_adaptive_routing_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-description": load_balancing_components_schemas_description_output, - "load-balancing_components-schemas-enabled": load_balancing_components_schemas_enabled_output, - "load-balancing_components-schemas-name": load_balancing_components_schemas_name_output, - "load-balancing_components-schemas-zone-name": load_balancing_components_schemas_zone_name_output, - "load-balancing_country_pools": load_balancing_country_pools_output, - "load-balancing_default_pools": load_balancing_default_pools_output, - "load-balancing_fallback_pool": load_balancing_fallback_pool_output, - "load-balancing_fixed_response": load_balancing_fixed_response_output, - "load-balancing_load-balancer": load_balancing_load_balancer_output, - "load-balancing_load-balancer_components-schemas-identifier": load_balancing_load_balancer_components_schemas_identifier_output, - "load-balancing_load-balancer_components-schemas-single_response": load_balancing_load_balancer_components_schemas_single_response_output, - "load-balancing_location_strategy": load_balancing_location_strategy_output, - "load-balancing_match": load_balancing_match_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_pool_default_weight": load_balancing_pool_default_weight_output, - "load-balancing_pool_set": load_balancing_pool_set_output, - "load-balancing_pool_set_overrides": load_balancing_pool_set_overrides_output, - "load-balancing_pool_sets": load_balancing_pool_sets_output, - "load-balancing_pool_weights": load_balancing_pool_weights_output, - "load-balancing_pools": load_balancing_pools_output, - "load-balancing_pop_pools": load_balancing_pop_pools_output, - "load-balancing_proxied": load_balancing_proxied_output, - "load-balancing_random_steering": load_balancing_random_steering_output, - "load-balancing_region_pools": load_balancing_region_pools_output, - "load-balancing_rule_overrides": load_balancing_rule_overrides_output, - "load-balancing_rules": load_balancing_rules_output, - "load-balancing_session_affinity": load_balancing_session_affinity_output, - "load-balancing_session_affinity_attributes": load_balancing_session_affinity_attributes_output, - "load-balancing_session_affinity_ttl": load_balancing_session_affinity_ttl_output, - "load-balancing_steering_policy": load_balancing_steering_policy_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_topology_match": load_balancing_topology_match_output, - "load-balancing_ttl": load_balancing_ttl_output, + "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, + "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, + "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, + "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, + "load-balancing_country_pools": load$$balancing_country_pools, + "load-balancing_default_pools": load$$balancing_default_pools, + "load-balancing_fallback_pool": load$$balancing_fallback_pool, + "load-balancing_fixed_response": load$$balancing_fixed_response, + "load-balancing_load-balancer": load$$balancing_load$$balancer, + "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, + "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, + "load-balancing_location_strategy": load$$balancing_location_strategy, + "load-balancing_match": load$$balancing_match, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, + "load-balancing_pool_set": load$$balancing_pool_set, + "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, + "load-balancing_pool_sets": load$$balancing_pool_sets, + "load-balancing_pool_weights": load$$balancing_pool_weights, + "load-balancing_pools": load$$balancing_pools, + "load-balancing_pop_pools": load$$balancing_pop_pools, + "load-balancing_proxied": load$$balancing_proxied, + "load-balancing_random_steering": load$$balancing_random_steering, + "load-balancing_region_pools": load$$balancing_region_pools, + "load-balancing_rule_overrides": load$$balancing_rule_overrides, + "load-balancing_rules": load$$balancing_rules, + "load-balancing_session_affinity": load$$balancing_session_affinity, + "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, + "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, + "load-balancing_steering_policy": load$$balancing_steering_policy, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_topology_match": load$$balancing_topology_match, + "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/account/usage/outputs.ts b/src/generated/forge-mcp/loadBalancers/account/usage/outputs.ts index b16350b18..0d547a122 100644 --- a/src/generated/forge-mcp/loadBalancers/account/usage/outputs.ts +++ b/src/generated/forge-mcp/loadBalancers/account/usage/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * `load-balancing_load-balancer_components-schemas-usage_response` in * responses. */ -export const load_balancing_load_balancer_components_schemas_usage_response_output: JsonSchema = { +export const load$$balancing_load$$balancer_components$$schemas$$usage_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" diff --git a/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts b/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts index be11cbe09..757b90bdc 100644 --- a/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts @@ -3,44 +3,52 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_messages_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_messages, } from "../../../outputs.js"; -import { load_balancing_components_schemas_identifier } from "../../schemas.js"; -import { load_balancing_load_balancer_components_schemas_usage_response_output } from "./outputs.js"; +import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; +import { load$$balancing_load$$balancer_components$$schemas$$usage_response } from "./outputs.js"; /** - * The tools of `load_balancers.account.usage`. + * The tools of `loadBalancers.account.usage`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_account_usage_list", + name: "loadBalancers_account_usage_list", title: "List Load Balancer Usage", description: "Get current load balancer resource usage counts for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-usage_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_load-balancer_components-schemas-usage_response": load_balancing_load_balancer_components_schemas_usage_response_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_load-balancer_components-schemas-usage_response": load$$balancing_load$$balancer_components$$schemas$$usage_response, + "load-balancing_messages": load$$balancing_messages, }, }, annotations: { @@ -68,11 +76,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_load-balancer_components-schemas-usage_response": load_balancing_load_balancer_components_schemas_usage_response_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_load-balancer_components-schemas-usage_response": load$$balancing_load$$balancer_components$$schemas$$usage_response, + "load-balancing_messages": load$$balancing_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts index 933845f01..9997cd90c 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `load-balancing_monitor-group` in responses. */ -export const load_balancing_monitor_group_output: JsonSchema = { +export const load$$balancing_monitor$$group: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -40,7 +40,7 @@ export const load_balancing_monitor_group_output: JsonSchema = { /** * The schema of `load-balancing_monitor-group-member` in responses. */ -export const load_balancing_monitor_group_member_output: JsonSchema = { +export const load$$balancing_monitor$$group$$member: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -76,7 +76,7 @@ export const load_balancing_monitor_group_member_output: JsonSchema = { * The schema of `load-balancing_monitor-group-response-collection` in * responses. */ -export const load_balancing_monitor_group_response_collection_output: JsonSchema = { +export const load$$balancing_monitor$$group$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-common" @@ -101,7 +101,7 @@ export const load_balancing_monitor_group_response_collection_output: JsonSchema /** * The schema of `load-balancing_monitor-group-single-response` in responses. */ -export const load_balancing_monitor_group_single_response_output: JsonSchema = { +export const load$$balancing_monitor$$group$$single$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-common" diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/references/outputs.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/references/outputs.ts index 405a6bf35..c232b409a 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/references/outputs.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/references/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `load-balancing_monitor-group-references-response` in * responses. */ -export const load_balancing_monitor_group_references_response_output: JsonSchema = { +export const load$$balancing_monitor$$group$$references$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-common" diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts index c5c9a9eb9..a19bf431b 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts @@ -3,48 +3,56 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_messages_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_messages, } from "../../../outputs.js"; -import { load_balancing_identifier } from "../../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../../schemas.js"; -import { load_balancing_monitor_group_references_response_output } from "./outputs.js"; +import { load$$balancing_identifier } from "../../../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; +import { load$$balancing_monitor$$group$$references$$response } from "./outputs.js"; /** - * The tools of `load_balancers.monitor_groups.references`. + * The tools of `loadBalancers.monitorGroups.references`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_monitor_groups_references_list", + name: "loadBalancers_monitorGroups_references_list", title: "List Monitor Group References", description: "Get the list of resources that reference the provided monitor group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "monitor_group_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_group_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "account_id", + "monitor_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_group_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_identifier": load_balancing_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_identifier": load$$balancing_identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-references-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group-references-response": load_balancing_monitor_group_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group-references-response": load$$balancing_monitor$$group$$references$$response, }, }, annotations: { @@ -66,10 +74,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group-references-response": load_balancing_monitor_group_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group-references-response": load$$balancing_monitor$$group$$references$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/schemas.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/schemas.ts index 437cdb0cb..54c61a7c6 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/schemas.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `load-balancing_monitor-group`. */ -export const load_balancing_monitor_group: JsonSchema = { +export const load$$balancing_monitor$$group: JsonSchema = { "properties": { "description": { "description": "A short description of the monitor group", @@ -30,7 +30,7 @@ export const load_balancing_monitor_group: JsonSchema = { /** * The schema of `load-balancing_monitor-group-member`. */ -export const load_balancing_monitor_group_member: JsonSchema = { +export const load$$balancing_monitor$$group$$member: JsonSchema = { "properties": { "enabled": { "description": "Whether this monitor is enabled in the group", diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts index f0d5dbc5f..5f1d24349 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts @@ -3,69 +3,77 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_messages_output, - load_balancing_monitor_group_id_output, - load_balancing_monitor_id_output, - load_balancing_result_info_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_messages, + load$$balancing_monitor_group_id, + load$$balancing_monitor_id, + load$$balancing_result_info, } from "../../outputs.js"; import { - load_balancing_monitor_id, - load_balancing_schemas_identifier, + load$$balancing_monitor_id as load$$balancing_monitor_id$, + load$$balancing_schemas$$identifier, } from "../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; import { - load_balancing_monitor_group_member_output, - load_balancing_monitor_group_output, - load_balancing_monitor_group_response_collection_output, - load_balancing_monitor_group_single_response_output, + load$$balancing_monitor$$group, + load$$balancing_monitor$$group$$member, + load$$balancing_monitor$$group$$response$$collection, + load$$balancing_monitor$$group$$single$$response, } from "./outputs.js"; import { - load_balancing_monitor_group, - load_balancing_monitor_group_member, + load$$balancing_monitor$$group as load$$balancing_monitor$$group$, + load$$balancing_monitor$$group$$member as load$$balancing_monitor$$group$$member$, } from "./schemas.js"; /** - * The tools of `load_balancers.monitor_groups`. + * The tools of `loadBalancers.monitorGroups`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_monitor_groups_create", + name: "loadBalancers_monitorGroups_create", title: "Create Monitor Group", description: "Create a new monitor group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/load-balancing_monitor-group" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_monitor-group": load_balancing_monitor_group, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member, - "load-balancing_monitor_id": load_balancing_monitor_id, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_monitor-group": load$$balancing_monitor$$group$, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member$, + "load-balancing_monitor_id": load$$balancing_monitor_id$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-single-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -90,14 +98,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ @@ -106,39 +114,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitor_groups_delete", + name: "loadBalancers_monitorGroups_delete", title: "Delete Monitor Group", description: "Delete a configured monitor group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "monitor_group_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_group_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "monitor_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_group_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-single-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -163,14 +179,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ @@ -178,46 +194,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitor_groups_edit", + name: "loadBalancers_monitorGroups_edit", title: "Patch Monitor Group", description: "Apply changes to an existing monitor group, overwriting the supplied properties.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/load-balancing_monitor-group" }, - "monitor_group_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_group_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "monitor_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_group_id", + "path", "body" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_monitor-group": load_balancing_monitor_group, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member, - "load-balancing_monitor_id": load_balancing_monitor_id, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_monitor-group": load$$balancing_monitor$$group$, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member$, + "load-balancing_monitor_id": load$$balancing_monitor_id$, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-single-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -242,14 +266,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ @@ -258,39 +282,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitor_groups_get", + name: "loadBalancers_monitorGroups_get", title: "Monitor Group Details", description: "Fetch a single configured monitor group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "monitor_group_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_group_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "monitor_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_group_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-single-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -312,14 +344,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ @@ -327,35 +359,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitor_groups_list", + name: "loadBalancers_monitorGroups_list", title: "List Monitor Groups", description: "List configured monitor groups.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-response-collection", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-response-collection": load_balancing_monitor_group_response_collection_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-response-collection": load$$balancing_monitor$$group$$response$$collection, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_result_info": load$$balancing_result_info, }, }, annotations: { @@ -377,15 +417,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-response-collection": load_balancing_monitor_group_response_collection_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_result_info": load_balancing_result_info_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-response-collection": load$$balancing_monitor$$group$$response$$collection, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_result_info": load$$balancing_result_info, }, }, request: (args) => ({ @@ -393,46 +433,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitor_groups_update", + name: "loadBalancers_monitorGroups_update", title: "Update Monitor Group", description: "Modify a configured monitor group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/load-balancing_monitor-group" }, - "monitor_group_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_group_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "monitor_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_group_id", + "path", "body" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_monitor-group": load_balancing_monitor_group, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member, - "load-balancing_monitor_id": load_balancing_monitor_id, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_monitor-group": load$$balancing_monitor$$group$, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member$, + "load-balancing_monitor_id": load$$balancing_monitor_id$, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-single-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -457,14 +505,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-group": load_balancing_monitor_group_output, - "load-balancing_monitor-group-member": load_balancing_monitor_group_member_output, - "load-balancing_monitor-group-single-response": load_balancing_monitor_group_single_response_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-group": load$$balancing_monitor$$group, + "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, + "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts b/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts index 7bf733fe8..c9aecd95c 100644 --- a/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts @@ -3,92 +3,100 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_identifier_output, - load_balancing_messages_output, - load_balancing_preview_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_identifier, + load$$balancing_messages, + load$$balancing_preview_response, } from "../../../outputs.js"; import { - load_balancing_allow_insecure, - load_balancing_consecutive_down, - load_balancing_consecutive_up, - load_balancing_description, - load_balancing_expected_body, - load_balancing_expected_codes, - load_balancing_follow_redirects, - load_balancing_header, - load_balancing_identifier, - load_balancing_interval, - load_balancing_method, - load_balancing_monitor_editable, - load_balancing_path, - load_balancing_port, - load_balancing_probe_zone, - load_balancing_retries, - load_balancing_timeout, - load_balancing_type, + load$$balancing_allow_insecure, + load$$balancing_consecutive_down, + load$$balancing_consecutive_up, + load$$balancing_description, + load$$balancing_expected_body, + load$$balancing_expected_codes, + load$$balancing_follow_redirects, + load$$balancing_header, + load$$balancing_identifier as load$$balancing_identifier$, + load$$balancing_interval, + load$$balancing_method, + load$$balancing_monitor$$editable, + load$$balancing_path, + load$$balancing_port, + load$$balancing_probe_zone, + load$$balancing_retries, + load$$balancing_timeout, + load$$balancing_type, } from "../../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; /** - * The tools of `load_balancers.monitors.previews`. + * The tools of `loadBalancers.monitors.previews`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_monitors_previews_create", + name: "loadBalancers_monitors_previews_create", title: "Preview Monitor", description: "Preview pools using the specified monitor with provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/load-balancing_monitor-editable" }, - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "account_id", + "monitor_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_id", + "path", "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_identifier": load_balancing_identifier, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier$, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_type": load$$balancing_type, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_preview_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_preview_response": load_balancing_preview_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_preview_response": load$$balancing_preview_response, }, }, annotations: { @@ -110,12 +118,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_preview_response": load_balancing_preview_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_preview_response": load$$balancing_preview_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts b/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts index 42ba9cf73..e082d073f 100644 --- a/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts @@ -3,48 +3,56 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_messages_output, - load_balancing_monitor_references_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_messages, + load$$balancing_monitor$$references$$response, } from "../../../outputs.js"; -import { load_balancing_identifier } from "../../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../../schemas.js"; +import { load$$balancing_identifier } from "../../../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; /** - * The tools of `load_balancers.monitors.references`. + * The tools of `loadBalancers.monitors.references`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_monitors_references_get", + name: "loadBalancers_monitors_references_get", title: "List Monitor References", description: "Get the list of resources that reference the provided monitor.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "account_id", + "monitor_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_identifier": load_balancing_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_identifier": load$$balancing_identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-references-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-references-response": load_balancing_monitor_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-references-response": load$$balancing_monitor$$references$$response, }, }, annotations: { @@ -72,10 +80,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-references-response": load_balancing_monitor_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-references-response": load$$balancing_monitor$$references$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/monitors/tools.ts b/src/generated/forge-mcp/loadBalancers/monitors/tools.ts index dd4cb0a4f..48c37f332 100644 --- a/src/generated/forge-mcp/loadBalancers/monitors/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitors/tools.ts @@ -3,129 +3,137 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - load_balancing_allow_insecure_output, - load_balancing_api_paginated_response_collection_output, - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_consecutive_down_output, - load_balancing_consecutive_up_output, - load_balancing_description_output, - load_balancing_expected_body_output, - load_balancing_expected_codes_output, - load_balancing_follow_redirects_output, - load_balancing_header_output, - load_balancing_id_response_output, - load_balancing_identifier_output, - load_balancing_interval_output, - load_balancing_messages_output, - load_balancing_method_output, - load_balancing_monitor_editable_output, - load_balancing_monitor_output, - load_balancing_monitor_response_collection_output, - load_balancing_monitor_response_single_output, - load_balancing_path_output, - load_balancing_port_output, - load_balancing_probe_zone_output, - load_balancing_result_info_output, - load_balancing_retries_output, - load_balancing_timeout_output, - load_balancing_timestamp_output, - load_balancing_type_output, + load$$balancing_allow_insecure, + load$$balancing_api$$paginated$$response$$collection, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_consecutive_down, + load$$balancing_consecutive_up, + load$$balancing_description, + load$$balancing_expected_body, + load$$balancing_expected_codes, + load$$balancing_follow_redirects, + load$$balancing_header, + load$$balancing_id_response, + load$$balancing_identifier, + load$$balancing_interval, + load$$balancing_messages, + load$$balancing_method, + load$$balancing_monitor, + load$$balancing_monitor$$editable, + load$$balancing_monitor$$response$$collection, + load$$balancing_monitor$$response$$single, + load$$balancing_path, + load$$balancing_port, + load$$balancing_probe_zone, + load$$balancing_result_info, + load$$balancing_retries, + load$$balancing_timeout, + load$$balancing_timestamp, + load$$balancing_type, } from "../../outputs.js"; import { - load_balancing_allow_insecure, - load_balancing_consecutive_down, - load_balancing_consecutive_up, - load_balancing_description, - load_balancing_expected_body, - load_balancing_expected_codes, - load_balancing_follow_redirects, - load_balancing_header, - load_balancing_identifier, - load_balancing_interval, - load_balancing_method, - load_balancing_monitor_editable, - load_balancing_path, - load_balancing_port, - load_balancing_probe_zone, - load_balancing_retries, - load_balancing_timeout, - load_balancing_type, + load$$balancing_allow_insecure as load$$balancing_allow_insecure$, + load$$balancing_consecutive_down as load$$balancing_consecutive_down$, + load$$balancing_consecutive_up as load$$balancing_consecutive_up$, + load$$balancing_description as load$$balancing_description$, + load$$balancing_expected_body as load$$balancing_expected_body$, + load$$balancing_expected_codes as load$$balancing_expected_codes$, + load$$balancing_follow_redirects as load$$balancing_follow_redirects$, + load$$balancing_header as load$$balancing_header$, + load$$balancing_identifier as load$$balancing_identifier$, + load$$balancing_interval as load$$balancing_interval$, + load$$balancing_method as load$$balancing_method$, + load$$balancing_monitor$$editable as load$$balancing_monitor$$editable$, + load$$balancing_path as load$$balancing_path$, + load$$balancing_port as load$$balancing_port$, + load$$balancing_probe_zone as load$$balancing_probe_zone$, + load$$balancing_retries as load$$balancing_retries$, + load$$balancing_timeout as load$$balancing_timeout$, + load$$balancing_type as load$$balancing_type$, } from "../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; /** - * The tools of `load_balancers.monitors`. + * The tools of `loadBalancers.monitors`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_monitors_create", + name: "loadBalancers_monitors_create", title: "Create Monitor", description: "Create a configured monitor.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/load-balancing_monitor-editable" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure$, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_consecutive_down": load$$balancing_consecutive_down$, + "load-balancing_consecutive_up": load$$balancing_consecutive_up$, + "load-balancing_description": load$$balancing_description$, + "load-balancing_expected_body": load$$balancing_expected_body$, + "load-balancing_expected_codes": load$$balancing_expected_codes$, + "load-balancing_follow_redirects": load$$balancing_follow_redirects$, + "load-balancing_header": load$$balancing_header$, + "load-balancing_interval": load$$balancing_interval$, + "load-balancing_method": load$$balancing_method$, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, + "load-balancing_path": load$$balancing_path$, + "load-balancing_port": load$$balancing_port$, + "load-balancing_probe_zone": load$$balancing_probe_zone$, + "load-balancing_retries": load$$balancing_retries$, + "load-balancing_timeout": load$$balancing_timeout$, + "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -152,31 +160,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -185,37 +193,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitors_delete", + name: "loadBalancers_monitors_delete", title: "Delete Monitor", description: "Delete a configured monitor.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "account_id", + "monitor_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_identifier": load_balancing_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_identifier": load$$balancing_identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_id_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_id_response": load_balancing_id_response_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_id_response": load$$balancing_id_response, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, }, }, annotations: { @@ -242,12 +258,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_id_response": load_balancing_id_response_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_id_response": load$$balancing_id_response, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, }, }, request: (args) => ({ @@ -255,77 +271,85 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitors_edit", + name: "loadBalancers_monitors_edit", title: "Patch Monitor", description: "Apply changes to an existing monitor, overwriting the supplied properties.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/load-balancing_monitor-editable" }, - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "account_id", + "monitor_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_id", + "path", "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_identifier": load_balancing_identifier, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure$, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_consecutive_down": load$$balancing_consecutive_down$, + "load-balancing_consecutive_up": load$$balancing_consecutive_up$, + "load-balancing_description": load$$balancing_description$, + "load-balancing_expected_body": load$$balancing_expected_body$, + "load-balancing_expected_codes": load$$balancing_expected_codes$, + "load-balancing_follow_redirects": load$$balancing_follow_redirects$, + "load-balancing_header": load$$balancing_header$, + "load-balancing_identifier": load$$balancing_identifier$, + "load-balancing_interval": load$$balancing_interval$, + "load-balancing_method": load$$balancing_method$, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, + "load-balancing_path": load$$balancing_path$, + "load-balancing_port": load$$balancing_port$, + "load-balancing_probe_zone": load$$balancing_probe_zone$, + "load-balancing_retries": load$$balancing_retries$, + "load-balancing_timeout": load$$balancing_timeout$, + "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -352,31 +376,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -385,56 +409,64 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitors_get", + name: "loadBalancers_monitors_get", title: "Monitor Details", description: "Fetch a single configured monitor for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "account_id", + "monitor_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_identifier": load_balancing_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_identifier": load$$balancing_identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -462,31 +494,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -494,52 +526,60 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitors_list", + name: "loadBalancers_monitors_list", title: "List Monitors", description: "List configured monitors for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-collection", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-collection": load_balancing_monitor_response_collection_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-collection": load$$balancing_monitor$$response$$collection, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -567,32 +607,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-collection": load_balancing_monitor_response_collection_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-collection": load$$balancing_monitor$$response$$collection, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -600,77 +640,85 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_monitors_update", + name: "loadBalancers_monitors_update", title: "Update Monitor", description: "Modify a configured monitor.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/load-balancing_monitor-editable" }, - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "account_id", + "monitor_id" + ], + "type": "object" } }, required: [ - "account_id", - "monitor_id", + "path", "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_identifier": load_balancing_identifier, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure$, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_consecutive_down": load$$balancing_consecutive_down$, + "load-balancing_consecutive_up": load$$balancing_consecutive_up$, + "load-balancing_description": load$$balancing_description$, + "load-balancing_expected_body": load$$balancing_expected_body$, + "load-balancing_expected_codes": load$$balancing_expected_codes$, + "load-balancing_follow_redirects": load$$balancing_follow_redirects$, + "load-balancing_header": load$$balancing_header$, + "load-balancing_identifier": load$$balancing_identifier$, + "load-balancing_interval": load$$balancing_interval$, + "load-balancing_method": load$$balancing_method$, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, + "load-balancing_path": load$$balancing_path$, + "load-balancing_port": load$$balancing_port$, + "load-balancing_probe_zone": load$$balancing_probe_zone$, + "load-balancing_retries": load$$balancing_retries$, + "load-balancing_timeout": load$$balancing_timeout$, + "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -697,31 +745,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts b/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts index 30837374a..6bbb7fb9e 100644 --- a/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts @@ -3,94 +3,102 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_health_details_output, - load_balancing_identifier_output, - load_balancing_messages_output, - load_balancing_origin_health_output, - load_balancing_preview_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_health_details, + load$$balancing_identifier, + load$$balancing_messages, + load$$balancing_origin$$health, + load$$balancing_preview_response, } from "../../../outputs.js"; import { - load_balancing_allow_insecure, - load_balancing_consecutive_down, - load_balancing_consecutive_up, - load_balancing_description, - load_balancing_expected_body, - load_balancing_expected_codes, - load_balancing_follow_redirects, - load_balancing_header, - load_balancing_interval, - load_balancing_method, - load_balancing_monitor_editable, - load_balancing_path, - load_balancing_port, - load_balancing_probe_zone, - load_balancing_retries, - load_balancing_schemas_identifier, - load_balancing_timeout, - load_balancing_type, + load$$balancing_allow_insecure, + load$$balancing_consecutive_down, + load$$balancing_consecutive_up, + load$$balancing_description, + load$$balancing_expected_body, + load$$balancing_expected_codes, + load$$balancing_follow_redirects, + load$$balancing_header, + load$$balancing_interval, + load$$balancing_method, + load$$balancing_monitor$$editable, + load$$balancing_path, + load$$balancing_port, + load$$balancing_probe_zone, + load$$balancing_retries, + load$$balancing_schemas$$identifier, + load$$balancing_timeout, + load$$balancing_type, } from "../../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; /** - * The tools of `load_balancers.pools.health`. + * The tools of `loadBalancers.pools.health`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_pools_health_create", + name: "loadBalancers_pools_health_create", title: "Preview Pool", description: "Preview pool health using provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/load-balancing_monitor-editable" }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "pool_id" + ], + "type": "object" } }, required: [ - "account_id", - "pool_id", + "path", "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_type": load$$balancing_type, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_preview_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_preview_response": load_balancing_preview_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_preview_response": load$$balancing_preview_response, }, }, annotations: { @@ -112,12 +120,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_preview_response": load_balancing_preview_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_preview_response": load$$balancing_preview_response, }, }, request: (args) => ({ @@ -126,37 +134,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_pools_health_get", + name: "loadBalancers_pools_health_get", title: "Pool Health Details", description: "Fetch the latest pool health status for a single pool.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "pool_id" + ], + "type": "object" } }, required: [ - "account_id", - "pool_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_health_details", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_health_details": load_balancing_health_details_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin-health": load_balancing_origin_health_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_health_details": load$$balancing_health_details, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin-health": load$$balancing_origin$$health, }, }, annotations: { @@ -184,12 +200,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_health_details": load_balancing_health_details_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin-health": load_balancing_origin_health_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_health_details": load$$balancing_health_details, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin-health": load$$balancing_origin$$health, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts b/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts index dd7896dfa..7c9d6820d 100644 --- a/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts @@ -3,48 +3,56 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_messages_output, - load_balancing_pools_references_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_messages, + load$$balancing_pools$$references$$response, } from "../../../outputs.js"; -import { load_balancing_schemas_identifier } from "../../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../../schemas.js"; +import { load$$balancing_schemas$$identifier } from "../../../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; /** - * The tools of `load_balancers.pools.references`. + * The tools of `loadBalancers.pools.references`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_pools_references_get", + name: "loadBalancers_pools_references_get", title: "List Pool References", description: "Get the list of resources that reference the provided pool.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "pool_id" + ], + "type": "object" } }, required: [ - "account_id", - "pool_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_pools-references-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_pools-references-response": load_balancing_pools_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_pools-references-response": load$$balancing_pools$$references$$response, }, }, annotations: { @@ -72,10 +80,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_pools-references-response": load_balancing_pools_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_pools-references-response": load$$balancing_pools$$references$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/pools/tools.ts b/src/generated/forge-mcp/loadBalancers/pools/tools.ts index a1cd213c7..238889824 100644 --- a/src/generated/forge-mcp/loadBalancers/pools/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/pools/tools.ts @@ -1,97 +1,93 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - load_balancing_Host_output, - load_balancing_address_output, - load_balancing_api_paginated_response_collection_output, - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_check_regions_output, - load_balancing_disabled_at_output, - load_balancing_enabled_output, - load_balancing_filter_options_output, - load_balancing_health_sources_output, - load_balancing_latitude_output, - load_balancing_load_shedding_output, - load_balancing_longitude_output, - load_balancing_messages_output, - load_balancing_minimum_origins_output, - load_balancing_monitor_group_id_output, - load_balancing_monitor_id_output, - load_balancing_name_output, - load_balancing_networks_output, - load_balancing_notification_email_output, - load_balancing_notification_filter_output, - load_balancing_origin_flatten_cname_output, - load_balancing_origin_output, - load_balancing_origin_port_output, - load_balancing_origin_steering_output, - load_balancing_origins_output, - load_balancing_pool_output, - load_balancing_result_info_output, - load_balancing_schemas_description_output, - load_balancing_schemas_disabled_at_output, - load_balancing_schemas_enabled_output, - load_balancing_schemas_header_output, - load_balancing_schemas_id_response_output, - load_balancing_schemas_identifier_output, - load_balancing_schemas_name_output, - load_balancing_schemas_response_collection_output, - load_balancing_schemas_single_response_output, - load_balancing_timestamp_output, - load_balancing_virtual_network_id_output, - load_balancing_weight_output, + load$$balancing_Host, + load$$balancing_address, + load$$balancing_api$$paginated$$response$$collection, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_check_regions, + load$$balancing_disabled_at, + load$$balancing_enabled, + load$$balancing_filter_options, + load$$balancing_health_sources, + load$$balancing_latitude, + load$$balancing_load_shedding, + load$$balancing_longitude, + load$$balancing_messages, + load$$balancing_minimum_origins, + load$$balancing_monitor_group_id, + load$$balancing_monitor_id, + load$$balancing_name, + load$$balancing_networks, + load$$balancing_notification_email, + load$$balancing_notification_filter, + load$$balancing_origin, + load$$balancing_origin_flatten_cname, + load$$balancing_origin_port, + load$$balancing_origin_steering, + load$$balancing_origins, + load$$balancing_pool, + load$$balancing_result_info, + load$$balancing_schemas$$description, + load$$balancing_schemas$$disabled_at, + load$$balancing_schemas$$enabled, + load$$balancing_schemas$$header, + load$$balancing_schemas$$id_response, + load$$balancing_schemas$$identifier, + load$$balancing_schemas$$name, + load$$balancing_schemas$$response_collection, + load$$balancing_schemas$$single_response, + load$$balancing_timestamp, + load$$balancing_virtual_network_id, + load$$balancing_weight, } from "../../outputs.js"; import { - load_balancing_Host, - load_balancing_address, - load_balancing_check_regions, - load_balancing_enabled, - load_balancing_filter_options, - load_balancing_health_sources, - load_balancing_latitude, - load_balancing_load_shedding, - load_balancing_longitude, - load_balancing_minimum_origins, - load_balancing_monitor_group_id, - load_balancing_monitor_id, - load_balancing_name, - load_balancing_notification_email, - load_balancing_notification_filter, - load_balancing_origin, - load_balancing_origin_flatten_cname, - load_balancing_origin_port, - load_balancing_origin_steering, - load_balancing_origins, - load_balancing_patch_pools_notification_email, - load_balancing_schemas_description, - load_balancing_schemas_enabled, - load_balancing_schemas_header, - load_balancing_schemas_identifier, - load_balancing_schemas_name, - load_balancing_virtual_network_id, - load_balancing_weight, + load$$balancing_Host as load$$balancing_Host$, + load$$balancing_address as load$$balancing_address$, + load$$balancing_check_regions as load$$balancing_check_regions$, + load$$balancing_enabled as load$$balancing_enabled$, + load$$balancing_filter_options as load$$balancing_filter_options$, + load$$balancing_health_sources as load$$balancing_health_sources$, + load$$balancing_latitude as load$$balancing_latitude$, + load$$balancing_load_shedding as load$$balancing_load_shedding$, + load$$balancing_longitude as load$$balancing_longitude$, + load$$balancing_minimum_origins as load$$balancing_minimum_origins$, + load$$balancing_monitor_group_id as load$$balancing_monitor_group_id$, + load$$balancing_monitor_id as load$$balancing_monitor_id$, + load$$balancing_name as load$$balancing_name$, + load$$balancing_notification_email as load$$balancing_notification_email$, + load$$balancing_notification_filter as load$$balancing_notification_filter$, + load$$balancing_origin as load$$balancing_origin$, + load$$balancing_origin_flatten_cname as load$$balancing_origin_flatten_cname$, + load$$balancing_origin_port as load$$balancing_origin_port$, + load$$balancing_origin_steering as load$$balancing_origin_steering$, + load$$balancing_origins as load$$balancing_origins$, + load$$balancing_patch_pools_notification_email, + load$$balancing_schemas$$description as load$$balancing_schemas$$description$, + load$$balancing_schemas$$enabled as load$$balancing_schemas$$enabled$, + load$$balancing_schemas$$header as load$$balancing_schemas$$header$, + load$$balancing_schemas$$identifier as load$$balancing_schemas$$identifier$, + load$$balancing_schemas$$name as load$$balancing_schemas$$name$, + load$$balancing_virtual_network_id as load$$balancing_virtual_network_id$, + load$$balancing_weight as load$$balancing_weight$, } from "../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; /** - * The tools of `load_balancers.pools`. + * The tools of `loadBalancers.pools`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_pools_bulk_edit", + name: "loadBalancers_pools_bulkEdit", title: "Patch Pools", description: "Apply changes to a number of existing pools, overwriting the supplied properties. Pools are ordered by ascending `name`. Returns the list of affected pools. Supports the standard pagination query parameters, either `limit`/`offset` or `per_page`/`page`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "properties": { "notification_email": { @@ -100,57 +96,69 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_patch_pools_notification_email": load_balancing_patch_pools_notification_email, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_patch_pools_notification_email": load$$balancing_patch_pools_notification_email, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-response_collection", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-response_collection": load_balancing_schemas_response_collection_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -177,44 +185,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-response_collection": load_balancing_schemas_response_collection_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -223,16 +231,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_pools_create", + name: "loadBalancers_pools_create", title: "Create Pool", description: "Create a new pool.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "properties": { "description": { @@ -297,79 +301,91 @@ export const tools: readonly Tool[] = [ "origins" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "load-balancing_Host": load_balancing_Host, - "load-balancing_address": load_balancing_address, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_enabled": load_balancing_enabled, - "load-balancing_filter_options": load_balancing_filter_options, - "load-balancing_latitude": load_balancing_latitude, - "load-balancing_load_shedding": load_balancing_load_shedding, - "load-balancing_longitude": load_balancing_longitude, - "load-balancing_minimum_origins": load_balancing_minimum_origins, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id, - "load-balancing_monitor_id": load_balancing_monitor_id, - "load-balancing_name": load_balancing_name, - "load-balancing_notification_email": load_balancing_notification_email, - "load-balancing_notification_filter": load_balancing_notification_filter, - "load-balancing_origin": load_balancing_origin, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname, - "load-balancing_origin_port": load_balancing_origin_port, - "load-balancing_origin_steering": load_balancing_origin_steering, - "load-balancing_origins": load_balancing_origins, - "load-balancing_schemas-description": load_balancing_schemas_description, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled, - "load-balancing_schemas-header": load_balancing_schemas_header, - "load-balancing_schemas-name": load_balancing_schemas_name, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id, - "load-balancing_weight": load_balancing_weight, + "load-balancing_Host": load$$balancing_Host$, + "load-balancing_address": load$$balancing_address$, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_enabled": load$$balancing_enabled$, + "load-balancing_filter_options": load$$balancing_filter_options$, + "load-balancing_latitude": load$$balancing_latitude$, + "load-balancing_load_shedding": load$$balancing_load_shedding$, + "load-balancing_longitude": load$$balancing_longitude$, + "load-balancing_minimum_origins": load$$balancing_minimum_origins$, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, + "load-balancing_monitor_id": load$$balancing_monitor_id$, + "load-balancing_name": load$$balancing_name$, + "load-balancing_notification_email": load$$balancing_notification_email$, + "load-balancing_notification_filter": load$$balancing_notification_filter$, + "load-balancing_origin": load$$balancing_origin$, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, + "load-balancing_origin_port": load$$balancing_origin_port$, + "load-balancing_origin_steering": load$$balancing_origin_steering$, + "load-balancing_origins": load$$balancing_origins$, + "load-balancing_schemas-description": load$$balancing_schemas$$description$, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, + "load-balancing_schemas-header": load$$balancing_schemas$$header$, + "load-balancing_schemas-name": load$$balancing_schemas$$name$, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, + "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -396,43 +412,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -441,37 +457,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_pools_delete", + name: "loadBalancers_pools_delete", title: "Delete Pool", description: "Delete a configured pool.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "pool_id" + ], + "type": "object" } }, required: [ - "account_id", - "pool_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-id_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_schemas-id_response": load_balancing_schemas_id_response_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_schemas-id_response": load$$balancing_schemas$$id_response, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, annotations: { @@ -498,12 +522,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_schemas-id_response": load_balancing_schemas_id_response_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_schemas-id_response": load$$balancing_schemas$$id_response, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, request: (args) => ({ @@ -511,16 +535,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_pools_edit", + name: "loadBalancers_pools_edit", title: "Patch Pool", description: "Apply changes to an existing pool, overwriting the supplied properties.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "properties": { "check_regions": { @@ -590,85 +610,97 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "pool_id" + ], + "type": "object" } }, required: [ - "account_id", - "pool_id", + "path", "body" ], $defs: { - "load-balancing_Host": load_balancing_Host, - "load-balancing_address": load_balancing_address, - "load-balancing_check_regions": load_balancing_check_regions, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_enabled": load_balancing_enabled, - "load-balancing_filter_options": load_balancing_filter_options, - "load-balancing_health_sources": load_balancing_health_sources, - "load-balancing_latitude": load_balancing_latitude, - "load-balancing_load_shedding": load_balancing_load_shedding, - "load-balancing_longitude": load_balancing_longitude, - "load-balancing_minimum_origins": load_balancing_minimum_origins, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id, - "load-balancing_monitor_id": load_balancing_monitor_id, - "load-balancing_name": load_balancing_name, - "load-balancing_notification_email": load_balancing_notification_email, - "load-balancing_notification_filter": load_balancing_notification_filter, - "load-balancing_origin": load_balancing_origin, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname, - "load-balancing_origin_port": load_balancing_origin_port, - "load-balancing_origin_steering": load_balancing_origin_steering, - "load-balancing_origins": load_balancing_origins, - "load-balancing_schemas-description": load_balancing_schemas_description, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled, - "load-balancing_schemas-header": load_balancing_schemas_header, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, - "load-balancing_schemas-name": load_balancing_schemas_name, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id, - "load-balancing_weight": load_balancing_weight, + "load-balancing_Host": load$$balancing_Host$, + "load-balancing_address": load$$balancing_address$, + "load-balancing_check_regions": load$$balancing_check_regions$, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_enabled": load$$balancing_enabled$, + "load-balancing_filter_options": load$$balancing_filter_options$, + "load-balancing_health_sources": load$$balancing_health_sources$, + "load-balancing_latitude": load$$balancing_latitude$, + "load-balancing_load_shedding": load$$balancing_load_shedding$, + "load-balancing_longitude": load$$balancing_longitude$, + "load-balancing_minimum_origins": load$$balancing_minimum_origins$, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, + "load-balancing_monitor_id": load$$balancing_monitor_id$, + "load-balancing_name": load$$balancing_name$, + "load-balancing_notification_email": load$$balancing_notification_email$, + "load-balancing_notification_filter": load$$balancing_notification_filter$, + "load-balancing_origin": load$$balancing_origin$, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, + "load-balancing_origin_port": load$$balancing_origin_port$, + "load-balancing_origin_steering": load$$balancing_origin_steering$, + "load-balancing_origins": load$$balancing_origins$, + "load-balancing_schemas-description": load$$balancing_schemas$$description$, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, + "load-balancing_schemas-header": load$$balancing_schemas$$header$, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, + "load-balancing_schemas-name": load$$balancing_schemas$$name$, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, + "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -695,43 +727,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -740,68 +772,76 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_pools_get", + name: "loadBalancers_pools_get", title: "Pool Details", description: "Fetch a single configured pool.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "pool_id" + ], + "type": "object" } }, required: [ - "account_id", - "pool_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -829,43 +869,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -873,68 +913,81 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_pools_list", + name: "loadBalancers_pools_list", title: "List Pools", description: "List configured pools.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "monitor": { - "description": "The ID of the Monitor to use for checking the health of origins within this pool.", - "type": "string" + "query": { + "properties": { + "monitor": { + "description": "The ID of the Monitor to use for checking the health of origins within this pool.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-response_collection", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-response_collection": load_balancing_schemas_response_collection_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -962,64 +1015,60 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-response_collection": load_balancing_schemas_response_collection_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/pools`, query: [ - ["monitor", args["monitor"], true], + ["monitor", param(args, "query", "monitor"), true], ], }), }, { - name: "load_balancers_pools_update", + name: "loadBalancers_pools_update", title: "Update Pool", description: "Modify a configured pool.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, "body": { "properties": { "check_regions": { @@ -1093,85 +1142,97 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "account_id", + "pool_id" + ], + "type": "object" } }, required: [ - "account_id", - "pool_id", + "path", "body" ], $defs: { - "load-balancing_Host": load_balancing_Host, - "load-balancing_address": load_balancing_address, - "load-balancing_check_regions": load_balancing_check_regions, - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_enabled": load_balancing_enabled, - "load-balancing_filter_options": load_balancing_filter_options, - "load-balancing_health_sources": load_balancing_health_sources, - "load-balancing_latitude": load_balancing_latitude, - "load-balancing_load_shedding": load_balancing_load_shedding, - "load-balancing_longitude": load_balancing_longitude, - "load-balancing_minimum_origins": load_balancing_minimum_origins, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id, - "load-balancing_monitor_id": load_balancing_monitor_id, - "load-balancing_name": load_balancing_name, - "load-balancing_notification_email": load_balancing_notification_email, - "load-balancing_notification_filter": load_balancing_notification_filter, - "load-balancing_origin": load_balancing_origin, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname, - "load-balancing_origin_port": load_balancing_origin_port, - "load-balancing_origin_steering": load_balancing_origin_steering, - "load-balancing_origins": load_balancing_origins, - "load-balancing_schemas-description": load_balancing_schemas_description, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled, - "load-balancing_schemas-header": load_balancing_schemas_header, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, - "load-balancing_schemas-name": load_balancing_schemas_name, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id, - "load-balancing_weight": load_balancing_weight, + "load-balancing_Host": load$$balancing_Host$, + "load-balancing_address": load$$balancing_address$, + "load-balancing_check_regions": load$$balancing_check_regions$, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_enabled": load$$balancing_enabled$, + "load-balancing_filter_options": load$$balancing_filter_options$, + "load-balancing_health_sources": load$$balancing_health_sources$, + "load-balancing_latitude": load$$balancing_latitude$, + "load-balancing_load_shedding": load$$balancing_load_shedding$, + "load-balancing_longitude": load$$balancing_longitude$, + "load-balancing_minimum_origins": load$$balancing_minimum_origins$, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, + "load-balancing_monitor_id": load$$balancing_monitor_id$, + "load-balancing_name": load$$balancing_name$, + "load-balancing_notification_email": load$$balancing_notification_email$, + "load-balancing_notification_filter": load$$balancing_notification_filter$, + "load-balancing_origin": load$$balancing_origin$, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, + "load-balancing_origin_port": load$$balancing_origin_port$, + "load-balancing_origin_steering": load$$balancing_origin_steering$, + "load-balancing_origins": load$$balancing_origins$, + "load-balancing_schemas-description": load$$balancing_schemas$$description$, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, + "load-balancing_schemas-header": load$$balancing_schemas$$header$, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, + "load-balancing_schemas-name": load$$balancing_schemas$$name$, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, + "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -1198,43 +1259,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/previews/schemas.ts b/src/generated/forge-mcp/loadBalancers/previews/schemas.ts index dc7a733ec..a7b1177ce 100644 --- a/src/generated/forge-mcp/loadBalancers/previews/schemas.ts +++ b/src/generated/forge-mcp/loadBalancers/previews/schemas.ts @@ -6,6 +6,6 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `load-balancing_schemas-preview_id`. */ -export const load_balancing_schemas_preview_id: JsonSchema = { +export const load$$balancing_schemas$$preview_id: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/loadBalancers/previews/tools.ts b/src/generated/forge-mcp/loadBalancers/previews/tools.ts index 92bbd9eac..40aea18f5 100644 --- a/src/generated/forge-mcp/loadBalancers/previews/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/previews/tools.ts @@ -3,54 +3,62 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_messages_output, - load_balancing_origin_health_data_output, - load_balancing_preview_result_output, - load_balancing_preview_result_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_messages, + load$$balancing_origin_health_data, + load$$balancing_preview_result, + load$$balancing_preview_result_response, } from "../../outputs.js"; -import { load_balancing_components_schemas_identifier } from "../schemas.js"; -import { load_balancing_schemas_preview_id } from "./schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; +import { load$$balancing_schemas$$preview_id } from "./schemas.js"; /** - * The tools of `load_balancers.previews`. + * The tools of `loadBalancers.previews`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_previews_get", + name: "loadBalancers_previews_get", title: "Preview Result", description: "Get the result of a previous preview operation using the provided preview_id.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "preview_id": { - "$ref": "#/$defs/load-balancing_schemas-preview_id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "preview_id": { + "$ref": "#/$defs/load-balancing_schemas-preview_id" + } + }, + "required": [ + "account_id", + "preview_id" + ], + "type": "object" } }, required: [ - "account_id", - "preview_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_schemas-preview_id": load_balancing_schemas_preview_id, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_schemas-preview_id": load$$balancing_schemas$$preview_id, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_preview_result_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin_health_data": load_balancing_origin_health_data_output, - "load-balancing_preview_result": load_balancing_preview_result_output, - "load-balancing_preview_result_response": load_balancing_preview_result_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin_health_data": load$$balancing_origin_health_data, + "load-balancing_preview_result": load$$balancing_preview_result, + "load-balancing_preview_result_response": load$$balancing_preview_result_response, }, }, annotations: { @@ -78,13 +86,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin_health_data": load_balancing_origin_health_data_output, - "load-balancing_preview_result": load_balancing_preview_result_output, - "load-balancing_preview_result_response": load_balancing_preview_result_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin_health_data": load$$balancing_origin_health_data, + "load-balancing_preview_result": load$$balancing_preview_result, + "load-balancing_preview_result_response": load$$balancing_preview_result_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/regions/outputs.ts b/src/generated/forge-mcp/loadBalancers/regions/outputs.ts index 069d5dbea..37ea38153 100644 --- a/src/generated/forge-mcp/loadBalancers/regions/outputs.ts +++ b/src/generated/forge-mcp/loadBalancers/regions/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `load-balancing_components-schemas-single_response` in * responses. */ -export const load_balancing_components_schemas_single_response_output: JsonSchema = { +export const load$$balancing_components$$schemas$$single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" diff --git a/src/generated/forge-mcp/loadBalancers/regions/schemas.ts b/src/generated/forge-mcp/loadBalancers/regions/schemas.ts index 1a9995427..dd27639b8 100644 --- a/src/generated/forge-mcp/loadBalancers/regions/schemas.ts +++ b/src/generated/forge-mcp/loadBalancers/regions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `load-balancing_region_code`. */ -export const load_balancing_region_code: JsonSchema = { +export const load$$balancing_region_code: JsonSchema = { "description": "A list of Cloudflare regions. WNAM: Western North America, ENAM: Eastern North America, WEU: Western Europe, EEU: Eastern Europe, NSAM: Northern South America, SSAM: Southern South America, OC: Oceania, ME: Middle East, NAF: North Africa, SAF: South Africa, SAS: Southern Asia, SEAS: South East Asia, NEAS: North East Asia).", "enum": [ "WNAM", diff --git a/src/generated/forge-mcp/loadBalancers/regions/tools.ts b/src/generated/forge-mcp/loadBalancers/regions/tools.ts index 4bda3a307..8cd879fa6 100644 --- a/src/generated/forge-mcp/loadBalancers/regions/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/regions/tools.ts @@ -1,55 +1,63 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_messages_output, - load_balancing_region_components_schemas_response_collection_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_messages, + load$$balancing_region_components$$schemas$$response_collection, } from "../../outputs.js"; -import { load_balancing_subdivision_code_a2 } from "../../schemas.js"; -import { load_balancing_components_schemas_identifier } from "../schemas.js"; -import { load_balancing_components_schemas_single_response_output } from "./outputs.js"; -import { load_balancing_region_code } from "./schemas.js"; +import { load$$balancing_subdivision_code_a2 } from "../../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; +import { load$$balancing_components$$schemas$$single_response } from "./outputs.js"; +import { load$$balancing_region_code } from "./schemas.js"; /** - * The tools of `load_balancers.regions`. + * The tools of `loadBalancers.regions`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_regions_get", + name: "loadBalancers_regions_get", title: "Get Region", description: "Get a single region mapping.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "region_id": { - "$ref": "#/$defs/load-balancing_region_code", - "description": "A list of Cloudflare regions. WNAM: Western North America, ENAM: Eastern North America, WEU: Western Europe, EEU: Eastern Europe, NSAM: Northern South America, SSAM: Southern South America, OC: Oceania, ME: Middle East, NAF: North Africa, SAF: South Africa, SAS: Southern Asia, SEAS: South East Asia, NEAS: North East Asia)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + }, + "region_id": { + "$ref": "#/$defs/load-balancing_region_code", + "description": "A list of Cloudflare regions. WNAM: Western North America, ENAM: Eastern North America, WEU: Western Europe, EEU: Eastern Europe, NSAM: Northern South America, SSAM: Southern South America, OC: Oceania, ME: Middle East, NAF: North Africa, SAF: South Africa, SAS: Southern Asia, SEAS: South East Asia, NEAS: North East Asia)." + } + }, + "required": [ + "account_id", + "region_id" + ], + "type": "object" } }, required: [ - "account_id", - "region_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_region_code": load_balancing_region_code, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_region_code": load$$balancing_region_code, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_components-schemas-single_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-single_response": load_balancing_components_schemas_single_response_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-single_response": load$$balancing_components$$schemas$$single_response, + "load-balancing_messages": load$$balancing_messages, }, }, annotations: { @@ -77,11 +85,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_components-schemas-single_response": load_balancing_components_schemas_single_response_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_components-schemas-single_response": load$$balancing_components$$schemas$$single_response, + "load-balancing_messages": load$$balancing_messages, }, }, request: (args) => ({ @@ -89,44 +97,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "load_balancers_regions_list", + name: "loadBalancers_regions_list", title: "List Regions", description: "List all region mappings.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "country_code_a2": { - "description": "Two-letter alpha-2 country code followed in ISO 3166-1.", - "type": "string" - }, - "subdivision_code": { - "$ref": "#/$defs/load-balancing_subdivision_code_a2", - "description": "Two-letter subdivision code followed in ISO 3166-2." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "subdivision_code_a2": { - "$ref": "#/$defs/load-balancing_subdivision_code_a2", - "description": "Two-letter subdivision code followed in ISO 3166-2." + "query": { + "properties": { + "country_code_a2": { + "description": "Two-letter alpha-2 country code followed in ISO 3166-1.", + "type": "string" + }, + "subdivision_code": { + "$ref": "#/$defs/load-balancing_subdivision_code_a2", + "description": "Two-letter subdivision code followed in ISO 3166-2." + }, + "subdivision_code_a2": { + "$ref": "#/$defs/load-balancing_subdivision_code_a2", + "description": "Two-letter subdivision code followed in ISO 3166-2." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, - "load-balancing_subdivision_code_a2": load_balancing_subdivision_code_a2, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, + "load-balancing_subdivision_code_a2": load$$balancing_subdivision_code_a2, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_region_components-schemas-response_collection", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_region_components-schemas-response_collection": load_balancing_region_components_schemas_response_collection_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_region_components-schemas-response_collection": load$$balancing_region_components$$schemas$$response_collection, }, }, annotations: { @@ -154,19 +175,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_region_components-schemas-response_collection": load_balancing_region_components_schemas_response_collection_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_region_components-schemas-response_collection": load$$balancing_region_components$$schemas$$response_collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/regions`, query: [ - ["subdivision_code", args["subdivision_code"], true], - ["subdivision_code_a2", args["subdivision_code_a2"], true], - ["country_code_a2", args["country_code_a2"], true], + ["subdivision_code", param(args, "query", "subdivision_code"), true], + ["subdivision_code_a2", param(args, "query", "subdivision_code_a2"), true], + ["country_code_a2", param(args, "query", "country_code_a2"), true], ], }), }, diff --git a/src/generated/forge-mcp/loadBalancers/schemas.ts b/src/generated/forge-mcp/loadBalancers/schemas.ts index 8013e833b..9cdf52813 100644 --- a/src/generated/forge-mcp/loadBalancers/schemas.ts +++ b/src/generated/forge-mcp/loadBalancers/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `load-balancing_components-schemas-identifier`. */ -export const load_balancing_components_schemas_identifier: JsonSchema = { +export const load$$balancing_components$$schemas$$identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/loadBalancers/searches/outputs.ts b/src/generated/forge-mcp/loadBalancers/searches/outputs.ts index 89b749ed6..d84628280 100644 --- a/src/generated/forge-mcp/loadBalancers/searches/outputs.ts +++ b/src/generated/forge-mcp/loadBalancers/searches/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `load-balancing_resource_reference` in responses. */ -export const load_balancing_resource_reference_output: JsonSchema = { +export const load$$balancing_resource_reference: JsonSchema = { "properties": { "reference_type": { "enum": [ @@ -42,7 +42,7 @@ export const load_balancing_resource_reference_output: JsonSchema = { /** * The schema of `load-balancing_search` in responses. */ -export const load_balancing_search_output: JsonSchema = { +export const load$$balancing_search: JsonSchema = { "properties": { "resources": { "items": { @@ -57,7 +57,7 @@ export const load_balancing_search_output: JsonSchema = { /** * The schema of `load-balancing_search_result` in responses. */ -export const load_balancing_search_result_output: JsonSchema = { +export const load$$balancing_search_result: JsonSchema = { "properties": { "result": { "$ref": "#/$defs/load-balancing_search" diff --git a/src/generated/forge-mcp/loadBalancers/searches/tools.ts b/src/generated/forge-mcp/loadBalancers/searches/tools.ts index a0f0242bc..c3ccc56e0 100644 --- a/src/generated/forge-mcp/loadBalancers/searches/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/searches/tools.ts @@ -1,65 +1,78 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - load_balancing_api_paginated_response_collection_output, - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_messages_output, - load_balancing_result_info_output, + load$$balancing_api$$paginated$$response$$collection, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_messages, + load$$balancing_result_info, } from "../../outputs.js"; -import { load_balancing_components_schemas_identifier } from "../schemas.js"; +import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; import { - load_balancing_resource_reference_output, - load_balancing_search_output, - load_balancing_search_result_output, + load$$balancing_resource_reference, + load$$balancing_search, + load$$balancing_search_result, } from "./outputs.js"; /** - * The tools of `load_balancers.searches`. + * The tools of `loadBalancers.searches`. */ export const tools: readonly Tool[] = [ { - name: "load_balancers_searches_list", + name: "loadBalancers_searches_list", title: "Search Resources", description: "Search for Load Balancing resources.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." - }, - "page": { - "type": "number" - }, - "per_page": { - "default": 25, - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/load-balancing_components-schemas-identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, "query": { - "default": "", - "description": "Search query term.", - "type": "string" - }, - "references": { - "default": "", - "description": "The type of references to include. \"*\" to include both referral and referrer references. \"\" to not include any reference information.", - "enum": [ - "", - "*", - "referral", - "referrer" - ], - "type": "string" + "properties": { + "page": { + "type": "number" + }, + "per_page": { + "default": 25, + "type": "number" + }, + "query": { + "default": "", + "description": "Search query term.", + "type": "string" + }, + "references": { + "default": "", + "description": "The type of references to include. \"*\" to include both referral and referrer references. \"\" to not include any reference information.", + "enum": [ + "", + "*", + "referral", + "referrer" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "load-balancing_components-schemas-identifier": load_balancing_components_schemas_identifier, + "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, }, }, outputSchema: { @@ -72,13 +85,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_resource_reference": load_balancing_resource_reference_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_search": load_balancing_search_output, - "load-balancing_search_result": load_balancing_search_result_output, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_resource_reference": load$$balancing_resource_reference, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_search": load$$balancing_search, + "load-balancing_search_result": load$$balancing_search_result, }, }, annotations: { @@ -113,23 +126,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_resource_reference": load_balancing_resource_reference_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_search": load_balancing_search_output, - "load-balancing_search_result": load_balancing_search_result_output, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_resource_reference": load$$balancing_resource_reference, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_search": load$$balancing_search, + "load-balancing_search_result": load$$balancing_search_result, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/load_balancers/search`, query: [ - ["query", args["query"], true], - ["references", args["references"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["query", param(args, "query", "query"), true], + ["references", param(args, "query", "references"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/logpush/accountDatasets/fields/outputs.ts b/src/generated/forge-mcp/logpush/accountDatasets/fields/outputs.ts index 85d61c9a8..3f489a208 100644 --- a/src/generated/forge-mcp/logpush/accountDatasets/fields/outputs.ts +++ b/src/generated/forge-mcp/logpush/accountDatasets/fields/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `logpush_logpush_field_response_collection` in responses. */ -export const logpush_logpush_field_response_collection_output: JsonSchema = { +export const logpush_logpush_field_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-common" diff --git a/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts b/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts index 7e83501cf..07cc92c00 100644 --- a/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts +++ b/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts @@ -3,46 +3,54 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_messages_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_messages, } from "../../outputs.js"; import { logpush_dataset, logpush_identifier } from "../../schemas.js"; -import { logpush_logpush_field_response_collection_output } from "./outputs.js"; +import { logpush_logpush_field_response_collection } from "./outputs.js"; /** - * The tools of `logpush.account_datasets.fields`. + * The tools of `logpush.accountDatasets.fields`. */ export const tools: readonly Tool[] = [ { - name: "logpush_account_datasets_fields_get", + name: "logpush_accountDatasets_fields_get", title: "List fields", description: "Lists all fields available for a dataset. The response result is. an object with key-value pairs, where keys are field names, and values are descriptions.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "dataset_id": { + "$ref": "#/$defs/logpush_dataset", + "default": "http_requests", + "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/)." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "dataset_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "dataset_id": { - "$ref": "#/$defs/logpush_dataset", - "default": "http_requests", - "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/)." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "dataset_id" + "path" ], $defs: { "logpush_dataset": logpush_dataset, @@ -52,9 +60,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_logpush_field_response_collection", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_logpush_field_response_collection": logpush_logpush_field_response_collection_output, - "logpush_messages": logpush_messages_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_logpush_field_response_collection": logpush_logpush_field_response_collection, + "logpush_messages": logpush_messages, }, }, annotations: { @@ -92,10 +100,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_logpush_field_response_collection": logpush_logpush_field_response_collection_output, - "logpush_messages": logpush_messages_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_logpush_field_response_collection": logpush_logpush_field_response_collection, + "logpush_messages": logpush_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts b/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts index 441ddf5e6..62f043676 100644 --- a/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts +++ b/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts @@ -3,92 +3,103 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_dataset_output, - logpush_destination_conf_output, - logpush_enabled_output, - logpush_error_message_output, - logpush_filter_attack_traffic_output, - logpush_frequency_output, - logpush_id_output, - logpush_kind_output, - logpush_last_complete_output, - logpush_last_error_output, - logpush_logpull_options_output, - logpush_logpush_job_output, - logpush_logpush_job_response_collection_output, - logpush_max_upload_bytes_output, - logpush_max_upload_interval_seconds_output, - logpush_max_upload_records_output, - logpush_messages_output, - logpush_name_output, - logpush_output_options_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_dataset, + logpush_destination_conf, + logpush_enabled, + logpush_error_message, + logpush_filter_attack_traffic, + logpush_frequency, + logpush_id, + logpush_kind, + logpush_last_complete, + logpush_last_error, + logpush_logpull_options, + logpush_logpush_job, + logpush_logpush_job_response_collection, + logpush_max_upload_bytes, + logpush_max_upload_interval_seconds, + logpush_max_upload_records, + logpush_messages, + logpush_name, + logpush_output_options, } from "../../outputs.js"; -import { logpush_dataset, logpush_identifier } from "../../schemas.js"; +import { + logpush_dataset as logpush_dataset$, + logpush_identifier, +} from "../../schemas.js"; /** - * The tools of `logpush.account_datasets.jobs`. + * The tools of `logpush.accountDatasets.jobs`. */ export const tools: readonly Tool[] = [ { - name: "logpush_account_datasets_jobs_get", + name: "logpush_accountDatasets_jobs_get", title: "List Logpush jobs for a dataset", description: "Lists Logpush jobs for an account or zone for a dataset.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "dataset_id": { + "$ref": "#/$defs/logpush_dataset", + "default": "http_requests", + "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/)." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "dataset_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "dataset_id": { - "$ref": "#/$defs/logpush_dataset", - "default": "http_requests", - "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/)." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "dataset_id" + "path" ], $defs: { - "logpush_dataset": logpush_dataset, + "logpush_dataset": logpush_dataset$, "logpush_identifier": logpush_identifier, }, }, outputSchema: { "$ref": "#/$defs/logpush_logpush_job_response_collection", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_dataset": logpush_dataset, + "logpush_destination_conf": logpush_destination_conf, + "logpush_enabled": logpush_enabled, + "logpush_error_message": logpush_error_message, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic, + "logpush_frequency": logpush_frequency, + "logpush_id": logpush_id, + "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, + "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection, + "logpush_max_upload_bytes": logpush_max_upload_bytes, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, + "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, + "logpush_name": logpush_name, + "logpush_output_options": logpush_output_options, }, }, annotations: { @@ -126,27 +137,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_dataset": logpush_dataset, + "logpush_destination_conf": logpush_destination_conf, + "logpush_enabled": logpush_enabled, + "logpush_error_message": logpush_error_message, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic, + "logpush_frequency": logpush_frequency, + "logpush_id": logpush_id, + "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, + "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection, + "logpush_max_upload_bytes": logpush_max_upload_bytes, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, + "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, + "logpush_name": logpush_name, + "logpush_output_options": logpush_output_options, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/accountJobs/outputs.ts b/src/generated/forge-mcp/logpush/accountJobs/outputs.ts index 1d9b852bb..30c256750 100644 --- a/src/generated/forge-mcp/logpush/accountJobs/outputs.ts +++ b/src/generated/forge-mcp/logpush/accountJobs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `logpush_logpush_job_response_single` in responses. */ -export const logpush_logpush_job_response_single_output: JsonSchema = { +export const logpush_logpush_job_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-single" diff --git a/src/generated/forge-mcp/logpush/accountJobs/tools.ts b/src/generated/forge-mcp/logpush/accountJobs/tools.ts index a6d5faa87..ff9c79b2d 100644 --- a/src/generated/forge-mcp/logpush/accountJobs/tools.ts +++ b/src/generated/forge-mcp/logpush/accountJobs/tools.ts @@ -3,72 +3,60 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_api_response_single_output, - logpush_dataset_output, - logpush_destination_conf_output, - logpush_enabled_output, - logpush_error_message_output, - logpush_filter_attack_traffic_output, - logpush_frequency_output, - logpush_id_output, - logpush_kind_output, - logpush_last_complete_output, - logpush_last_error_output, - logpush_logpull_options_output, - logpush_logpush_job_output, - logpush_logpush_job_response_collection_output, - logpush_max_upload_bytes_output, - logpush_max_upload_interval_seconds_output, - logpush_max_upload_records_output, - logpush_messages_output, - logpush_name_output, - logpush_output_options_output, -} from "../outputs.js"; -import { + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_api$$response$$single, logpush_dataset, logpush_destination_conf, logpush_enabled, + logpush_error_message, logpush_filter_attack_traffic, logpush_frequency, logpush_id, - logpush_identifier, logpush_kind, + logpush_last_complete, + logpush_last_error, logpush_logpull_options, + logpush_logpush_job, + logpush_logpush_job_response_collection, logpush_max_upload_bytes, logpush_max_upload_interval_seconds, logpush_max_upload_records, + logpush_messages, logpush_name, logpush_output_options, +} from "../outputs.js"; +import { + logpush_dataset as logpush_dataset$, + logpush_destination_conf as logpush_destination_conf$, + logpush_enabled as logpush_enabled$, + logpush_filter_attack_traffic as logpush_filter_attack_traffic$, + logpush_frequency as logpush_frequency$, + logpush_id as logpush_id$, + logpush_identifier, + logpush_kind as logpush_kind$, + logpush_logpull_options as logpush_logpull_options$, + logpush_max_upload_bytes as logpush_max_upload_bytes$, + logpush_max_upload_interval_seconds as logpush_max_upload_interval_seconds$, + logpush_max_upload_records as logpush_max_upload_records$, + logpush_name as logpush_name$, + logpush_output_options as logpush_output_options$, logpush_ownership_challenge, } from "../schemas.js"; -import { logpush_logpush_job_response_single_output } from "./outputs.js"; +import { logpush_logpush_job_response_single } from "./outputs.js"; import { logpush_filter } from "./schemas.js"; /** - * The tools of `logpush.account_jobs`. + * The tools of `logpush.accountJobs`. */ export const tools: readonly Tool[] = [ { - name: "logpush_account_jobs_create", + name: "logpush_accountJobs_create", title: "Create Logpush job", description: "Creates a new Logpush job for an account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "dataset": { @@ -137,54 +125,74 @@ export const tools: readonly Tool[] = [ "destination_conf" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { + "logpush_dataset": logpush_dataset$, + "logpush_destination_conf": logpush_destination_conf$, + "logpush_enabled": logpush_enabled$, + "logpush_filter": logpush_filter, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic$, + "logpush_frequency": logpush_frequency$, + "logpush_identifier": logpush_identifier, + "logpush_kind": logpush_kind$, + "logpush_logpull_options": logpush_logpull_options$, + "logpush_max_upload_bytes": logpush_max_upload_bytes$, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds$, + "logpush_max_upload_records": logpush_max_upload_records$, + "logpush_name": logpush_name$, + "logpush_output_options": logpush_output_options$, + "logpush_ownership_challenge": logpush_ownership_challenge, + }, + }, + outputSchema: { + "$ref": "#/$defs/logpush_logpush_job_response_single", + $defs: { + "logpush_api-response-single": logpush_api$$response$$single, "logpush_dataset": logpush_dataset, "logpush_destination_conf": logpush_destination_conf, "logpush_enabled": logpush_enabled, - "logpush_filter": logpush_filter, + "logpush_error_message": logpush_error_message, "logpush_filter_attack_traffic": logpush_filter_attack_traffic, "logpush_frequency": logpush_frequency, - "logpush_identifier": logpush_identifier, + "logpush_id": logpush_id, "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_single": logpush_logpush_job_response_single, "logpush_max_upload_bytes": logpush_max_upload_bytes, "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, - "logpush_ownership_challenge": logpush_ownership_challenge, - }, - }, - outputSchema: { - "$ref": "#/$defs/logpush_logpush_job_response_single", - $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_single": logpush_logpush_job_response_single_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, }, }, annotations: { @@ -222,27 +230,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_single": logpush_logpush_job_response_single_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_dataset": logpush_dataset, + "logpush_destination_conf": logpush_destination_conf, + "logpush_enabled": logpush_enabled, + "logpush_error_message": logpush_error_message, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic, + "logpush_frequency": logpush_frequency, + "logpush_id": logpush_id, + "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, + "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_single": logpush_logpush_job_response_single, + "logpush_max_upload_bytes": logpush_max_upload_bytes, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, + "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, + "logpush_name": logpush_name, + "logpush_output_options": logpush_output_options, }, }, request: (args) => ({ @@ -251,36 +259,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "logpush_account_jobs_delete", + name: "logpush_accountJobs_delete", title: "Delete Logpush job", description: "Deletes a Logpush job.\n\nConfirm with the user before calling this tool. This operation deletes the Logpush job.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "job_id": { + "$ref": "#/$defs/logpush_id", + "description": "Unique id of the job." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "job_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "job_id": { - "$ref": "#/$defs/logpush_id", - "description": "Unique id of the job." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "job_id" + "path" ], $defs: { - "logpush_id": logpush_id, + "logpush_id": logpush_id$, "logpush_identifier": logpush_identifier, }, }, @@ -304,9 +320,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_id": logpush_id_output, - "logpush_messages": logpush_messages_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_id": logpush_id, + "logpush_messages": logpush_messages, }, }, annotations: { @@ -361,10 +377,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_id": logpush_id_output, - "logpush_messages": logpush_messages_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_id": logpush_id, + "logpush_messages": logpush_messages, }, }, request: (args) => ({ @@ -372,62 +388,70 @@ export const tools: readonly Tool[] = [ }), }, { - name: "logpush_account_jobs_get", + name: "logpush_accountJobs_get", title: "Get Logpush job details", description: "Gets the details of a Logpush job.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "job_id": { + "$ref": "#/$defs/logpush_id", + "description": "Unique id of the job." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "job_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "job_id": { - "$ref": "#/$defs/logpush_id", - "description": "Unique id of the job." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "job_id" + "path" ], $defs: { - "logpush_id": logpush_id, + "logpush_id": logpush_id$, "logpush_identifier": logpush_identifier, }, }, outputSchema: { "$ref": "#/$defs/logpush_logpush_job_response_single", $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_single": logpush_logpush_job_response_single_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_dataset": logpush_dataset, + "logpush_destination_conf": logpush_destination_conf, + "logpush_enabled": logpush_enabled, + "logpush_error_message": logpush_error_message, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic, + "logpush_frequency": logpush_frequency, + "logpush_id": logpush_id, + "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, + "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_single": logpush_logpush_job_response_single, + "logpush_max_upload_bytes": logpush_max_upload_bytes, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, + "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, + "logpush_name": logpush_name, + "logpush_output_options": logpush_output_options, }, }, annotations: { @@ -465,27 +489,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_single": logpush_logpush_job_response_single_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_dataset": logpush_dataset, + "logpush_destination_conf": logpush_destination_conf, + "logpush_enabled": logpush_enabled, + "logpush_error_message": logpush_error_message, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic, + "logpush_frequency": logpush_frequency, + "logpush_id": logpush_id, + "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, + "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_single": logpush_logpush_job_response_single, + "logpush_max_upload_bytes": logpush_max_upload_bytes, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, + "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, + "logpush_name": logpush_name, + "logpush_output_options": logpush_output_options, }, }, request: (args) => ({ @@ -493,28 +517,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "logpush_account_jobs_list", + name: "logpush_accountJobs_list", title: "List Logpush jobs", description: "Lists Logpush jobs for an account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "logpush_identifier": logpush_identifier, @@ -523,26 +555,26 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_logpush_job_response_collection", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_dataset": logpush_dataset, + "logpush_destination_conf": logpush_destination_conf, + "logpush_enabled": logpush_enabled, + "logpush_error_message": logpush_error_message, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic, + "logpush_frequency": logpush_frequency, + "logpush_id": logpush_id, + "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, + "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection, + "logpush_max_upload_bytes": logpush_max_upload_bytes, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, + "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, + "logpush_name": logpush_name, + "logpush_output_options": logpush_output_options, }, }, annotations: { @@ -580,27 +612,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_dataset": logpush_dataset, + "logpush_destination_conf": logpush_destination_conf, + "logpush_enabled": logpush_enabled, + "logpush_error_message": logpush_error_message, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic, + "logpush_frequency": logpush_frequency, + "logpush_id": logpush_id, + "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, + "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection, + "logpush_max_upload_bytes": logpush_max_upload_bytes, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, + "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, + "logpush_name": logpush_name, + "logpush_output_options": logpush_output_options, }, }, request: (args) => ({ @@ -608,24 +640,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "logpush_account_jobs_update", + name: "logpush_accountJobs_update", title: "Update Logpush job", description: "Updates a Logpush job.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "destination_conf": { @@ -687,58 +707,78 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "job_id": { - "$ref": "#/$defs/logpush_id", - "description": "Unique id of the job." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "job_id": { + "$ref": "#/$defs/logpush_id", + "description": "Unique id of the job." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "job_id", + "path", "body" ], $defs: { + "logpush_destination_conf": logpush_destination_conf$, + "logpush_enabled": logpush_enabled$, + "logpush_filter": logpush_filter, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic$, + "logpush_frequency": logpush_frequency$, + "logpush_id": logpush_id$, + "logpush_identifier": logpush_identifier, + "logpush_kind": logpush_kind$, + "logpush_logpull_options": logpush_logpull_options$, + "logpush_max_upload_bytes": logpush_max_upload_bytes$, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds$, + "logpush_max_upload_records": logpush_max_upload_records$, + "logpush_name": logpush_name$, + "logpush_output_options": logpush_output_options$, + "logpush_ownership_challenge": logpush_ownership_challenge, + }, + }, + outputSchema: { + "$ref": "#/$defs/logpush_logpush_job_response_single", + $defs: { + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_dataset": logpush_dataset, "logpush_destination_conf": logpush_destination_conf, "logpush_enabled": logpush_enabled, - "logpush_filter": logpush_filter, + "logpush_error_message": logpush_error_message, "logpush_filter_attack_traffic": logpush_filter_attack_traffic, "logpush_frequency": logpush_frequency, "logpush_id": logpush_id, - "logpush_identifier": logpush_identifier, "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_single": logpush_logpush_job_response_single, "logpush_max_upload_bytes": logpush_max_upload_bytes, "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, - "logpush_ownership_challenge": logpush_ownership_challenge, - }, - }, - outputSchema: { - "$ref": "#/$defs/logpush_logpush_job_response_single", - $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_single": logpush_logpush_job_response_single_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, }, }, annotations: { @@ -776,27 +816,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_dataset": logpush_dataset_output, - "logpush_destination_conf": logpush_destination_conf_output, - "logpush_enabled": logpush_enabled_output, - "logpush_error_message": logpush_error_message_output, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic_output, - "logpush_frequency": logpush_frequency_output, - "logpush_id": logpush_id_output, - "logpush_kind": logpush_kind_output, - "logpush_last_complete": logpush_last_complete_output, - "logpush_last_error": logpush_last_error_output, - "logpush_logpull_options": logpush_logpull_options_output, - "logpush_logpush_job": logpush_logpush_job_output, - "logpush_logpush_job_response_single": logpush_logpush_job_response_single_output, - "logpush_max_upload_bytes": logpush_max_upload_bytes_output, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds_output, - "logpush_max_upload_records": logpush_max_upload_records_output, - "logpush_messages": logpush_messages_output, - "logpush_name": logpush_name_output, - "logpush_output_options": logpush_output_options_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_dataset": logpush_dataset, + "logpush_destination_conf": logpush_destination_conf, + "logpush_enabled": logpush_enabled, + "logpush_error_message": logpush_error_message, + "logpush_filter_attack_traffic": logpush_filter_attack_traffic, + "logpush_frequency": logpush_frequency, + "logpush_id": logpush_id, + "logpush_kind": logpush_kind, + "logpush_last_complete": logpush_last_complete, + "logpush_last_error": logpush_last_error, + "logpush_logpull_options": logpush_logpull_options, + "logpush_logpush_job": logpush_logpush_job, + "logpush_logpush_job_response_single": logpush_logpush_job_response_single, + "logpush_max_upload_bytes": logpush_max_upload_bytes, + "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, + "logpush_max_upload_records": logpush_max_upload_records, + "logpush_messages": logpush_messages, + "logpush_name": logpush_name, + "logpush_output_options": logpush_output_options, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/accountOwnership/outputs.ts b/src/generated/forge-mcp/logpush/accountOwnership/outputs.ts index 1208b6d66..c8960360c 100644 --- a/src/generated/forge-mcp/logpush/accountOwnership/outputs.ts +++ b/src/generated/forge-mcp/logpush/accountOwnership/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `logpush_get_ownership_response` in responses. */ -export const logpush_get_ownership_response_output: JsonSchema = { +export const logpush_get_ownership_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-common" diff --git a/src/generated/forge-mcp/logpush/accountOwnership/tools.ts b/src/generated/forge-mcp/logpush/accountOwnership/tools.ts index 1efb53647..51759c977 100644 --- a/src/generated/forge-mcp/logpush/accountOwnership/tools.ts +++ b/src/generated/forge-mcp/logpush/accountOwnership/tools.ts @@ -3,36 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_messages_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_messages, } from "../outputs.js"; import { logpush_destination_conf, logpush_identifier } from "../schemas.js"; -import { logpush_get_ownership_response_output } from "./outputs.js"; +import { logpush_get_ownership_response } from "./outputs.js"; /** - * The tools of `logpush.account_ownership`. + * The tools of `logpush.accountOwnership`. */ export const tools: readonly Tool[] = [ { - name: "logpush_account_ownership_create", + name: "logpush_accountOwnership_create", title: "Get ownership challenge", description: "Gets a new ownership challenge sent to your destination.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "destination_conf": { @@ -44,11 +32,31 @@ export const tools: readonly Tool[] = [ "destination_conf" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { @@ -59,9 +67,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_get_ownership_response", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_get_ownership_response": logpush_get_ownership_response_output, - "logpush_messages": logpush_messages_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_get_ownership_response": logpush_get_ownership_response, + "logpush_messages": logpush_messages, }, }, annotations: { @@ -99,10 +107,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_get_ownership_response": logpush_get_ownership_response_output, - "logpush_messages": logpush_messages_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_get_ownership_response": logpush_get_ownership_response, + "logpush_messages": logpush_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/accountOwnership/validate/outputs.ts b/src/generated/forge-mcp/logpush/accountOwnership/validate/outputs.ts index 88d0ee487..18859d9a9 100644 --- a/src/generated/forge-mcp/logpush/accountOwnership/validate/outputs.ts +++ b/src/generated/forge-mcp/logpush/accountOwnership/validate/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `logpush_validate_ownership_response` in responses. */ -export const logpush_validate_ownership_response_output: JsonSchema = { +export const logpush_validate_ownership_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-common" diff --git a/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts b/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts index 6e095be0b..f558626e3 100644 --- a/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts +++ b/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts @@ -3,40 +3,28 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_messages_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_messages, } from "../../outputs.js"; import { logpush_destination_conf, logpush_identifier, logpush_ownership_challenge, } from "../../schemas.js"; -import { logpush_validate_ownership_response_output } from "./outputs.js"; +import { logpush_validate_ownership_response } from "./outputs.js"; /** - * The tools of `logpush.account_ownership.validate`. + * The tools of `logpush.accountOwnership.validate`. */ export const tools: readonly Tool[] = [ { - name: "logpush_account_ownership_validate_create", + name: "logpush_accountOwnership_validate_create", title: "Validate ownership challenge", description: "Validates ownership challenge of the destination.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "destination_conf": { @@ -53,11 +41,31 @@ export const tools: readonly Tool[] = [ "ownership_challenge" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { @@ -69,9 +77,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_validate_ownership_response", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_messages": logpush_messages_output, - "logpush_validate_ownership_response": logpush_validate_ownership_response_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_messages": logpush_messages, + "logpush_validate_ownership_response": logpush_validate_ownership_response, }, }, annotations: { @@ -109,10 +117,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_messages": logpush_messages_output, - "logpush_validate_ownership_response": logpush_validate_ownership_response_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_messages": logpush_messages, + "logpush_validate_ownership_response": logpush_validate_ownership_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts b/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts index b89fdc1e4..819fb2b21 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts @@ -3,36 +3,24 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_messages_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_messages, } from "../../outputs.js"; import { logpush_destination_conf, logpush_identifier } from "../../schemas.js"; -import { logpush_validate_response_output } from "../outputs.js"; +import { logpush_validate_response } from "../outputs.js"; /** - * The tools of `logpush.account_validate.destination`. + * The tools of `logpush.accountValidate.destination`. */ export const tools: readonly Tool[] = [ { - name: "logpush_account_validate_destination_delete", + name: "logpush_accountValidate_destination_delete", title: "Validate destination", description: "Validates destination.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "destination_conf": { @@ -44,11 +32,31 @@ export const tools: readonly Tool[] = [ "destination_conf" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { @@ -59,9 +67,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_validate_response", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_messages": logpush_messages_output, - "logpush_validate_response": logpush_validate_response_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_messages": logpush_messages, + "logpush_validate_response": logpush_validate_response, }, }, annotations: { @@ -99,10 +107,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_messages": logpush_messages_output, - "logpush_validate_response": logpush_validate_response_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_messages": logpush_messages, + "logpush_validate_response": logpush_validate_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts b/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts index 629896447..4a3ad7ad5 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts @@ -3,36 +3,24 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_messages_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_messages, } from "../../outputs.js"; import { logpush_identifier, logpush_logpull_options } from "../../schemas.js"; -import { logpush_validate_response_output } from "../outputs.js"; +import { logpush_validate_response } from "../outputs.js"; /** - * The tools of `logpush.account_validate.origin`. + * The tools of `logpush.accountValidate.origin`. */ export const tools: readonly Tool[] = [ { - name: "logpush_account_validate_origin_create", + name: "logpush_accountValidate_origin_create", title: "Validate origin", description: "Validates logpull origin with logpull_options.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "logpull_options": { @@ -44,11 +32,31 @@ export const tools: readonly Tool[] = [ "logpull_options" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { @@ -59,9 +67,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_validate_response", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_messages": logpush_messages_output, - "logpush_validate_response": logpush_validate_response_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_messages": logpush_messages, + "logpush_validate_response": logpush_validate_response, }, }, annotations: { @@ -99,10 +107,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_messages": logpush_messages_output, - "logpush_validate_response": logpush_validate_response_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_messages": logpush_messages, + "logpush_validate_response": logpush_validate_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/accountValidate/outputs.ts b/src/generated/forge-mcp/logpush/accountValidate/outputs.ts index 0b8c738d3..fc90c182b 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/outputs.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `logpush_destination_exists_response` in responses. */ -export const logpush_destination_exists_response_output: JsonSchema = { +export const logpush_destination_exists_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-common" @@ -37,7 +37,7 @@ export const logpush_destination_exists_response_output: JsonSchema = { /** * The schema of `logpush_validate_response` in responses. */ -export const logpush_validate_response_output: JsonSchema = { +export const logpush_validate_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-common" diff --git a/src/generated/forge-mcp/logpush/accountValidate/tools.ts b/src/generated/forge-mcp/logpush/accountValidate/tools.ts index 43bc23ca4..b9d8ac36b 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/tools.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/tools.ts @@ -3,36 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_messages_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_messages, } from "../outputs.js"; import { logpush_destination_conf, logpush_identifier } from "../schemas.js"; -import { logpush_destination_exists_response_output } from "./outputs.js"; +import { logpush_destination_exists_response } from "./outputs.js"; /** - * The tools of `logpush.account_validate`. + * The tools of `logpush.accountValidate`. */ export const tools: readonly Tool[] = [ { - name: "logpush_account_validate_destination_exists_delete", + name: "logpush_accountValidate_destinationExistsDelete", title: "Check destination exists", description: "Checks if there is an existing job with a destination.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "destination_conf": { @@ -44,11 +32,31 @@ export const tools: readonly Tool[] = [ "destination_conf" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { @@ -59,9 +67,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_destination_exists_response", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_destination_exists_response": logpush_destination_exists_response_output, - "logpush_messages": logpush_messages_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_destination_exists_response": logpush_destination_exists_response, + "logpush_messages": logpush_messages, }, }, annotations: { @@ -99,10 +107,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_destination_exists_response": logpush_destination_exists_response_output, - "logpush_messages": logpush_messages_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_destination_exists_response": logpush_destination_exists_response, + "logpush_messages": logpush_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/edge/outputs.ts b/src/generated/forge-mcp/logpush/edge/outputs.ts index 40c0ebb11..0d97beb4d 100644 --- a/src/generated/forge-mcp/logpush/edge/outputs.ts +++ b/src/generated/forge-mcp/logpush/edge/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `logpush_destination_conf-2` in responses. */ -export const logpush_destination_conf_2_output: JsonSchema = { +export const logpush_destination_conf$$2: JsonSchema = { "type": "string" }; /** * The schema of `logpush_fields` in responses. */ -export const logpush_fields_output: JsonSchema = { +export const logpush_fields: JsonSchema = { "type": "string" }; /** * The schema of `logpush_filter-2` in responses. */ -export const logpush_filter_2_output: JsonSchema = { +export const logpush_filter$$2: JsonSchema = { "type": "string" }; /** * The schema of `logpush_instant_logs_job` in responses. */ -export const logpush_instant_logs_job_output: JsonSchema = { +export const logpush_instant_logs_job: JsonSchema = { "oneOf": [ { "properties": { @@ -58,7 +58,7 @@ export const logpush_instant_logs_job_output: JsonSchema = { /** * The schema of `logpush_instant_logs_job_response_collection` in responses. */ -export const logpush_instant_logs_job_response_collection_output: JsonSchema = { +export const logpush_instant_logs_job_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-common" @@ -87,7 +87,7 @@ export const logpush_instant_logs_job_response_collection_output: JsonSchema = { /** * The schema of `logpush_instant_logs_job_response_single` in responses. */ -export const logpush_instant_logs_job_response_single_output: JsonSchema = { +export const logpush_instant_logs_job_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-single" @@ -113,13 +113,13 @@ export const logpush_instant_logs_job_response_single_output: JsonSchema = { /** * The schema of `logpush_sample` in responses. */ -export const logpush_sample_output: JsonSchema = { +export const logpush_sample: JsonSchema = { "type": "integer" }; /** * The schema of `logpush_session_id` in responses. */ -export const logpush_session_id_output: JsonSchema = { +export const logpush_session_id: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/logpush/edge/schemas.ts b/src/generated/forge-mcp/logpush/edge/schemas.ts index da6da5e87..7088e8e4c 100644 --- a/src/generated/forge-mcp/logpush/edge/schemas.ts +++ b/src/generated/forge-mcp/logpush/edge/schemas.ts @@ -14,7 +14,7 @@ export const logpush_fields: JsonSchema = { /** * The schema of `logpush_filter-2`. */ -export const logpush_filter_2: JsonSchema = { +export const logpush_filter$$2: JsonSchema = { "description": "Filters to drill down into specific events.", "type": "string" }; diff --git a/src/generated/forge-mcp/logpush/edge/tools.ts b/src/generated/forge-mcp/logpush/edge/tools.ts index 641e37d1c..9d34cdbb6 100644 --- a/src/generated/forge-mcp/logpush/edge/tools.ts +++ b/src/generated/forge-mcp/logpush/edge/tools.ts @@ -3,23 +3,27 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_api_response_single_output, - logpush_messages_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_api$$response$$single, + logpush_messages, } from "../outputs.js"; import { logpush_identifier } from "../schemas.js"; import { - logpush_destination_conf_2_output, - logpush_fields_output, - logpush_filter_2_output, - logpush_instant_logs_job_output, - logpush_instant_logs_job_response_collection_output, - logpush_instant_logs_job_response_single_output, - logpush_sample_output, - logpush_session_id_output, + logpush_destination_conf$$2, + logpush_fields, + logpush_filter$$2, + logpush_instant_logs_job, + logpush_instant_logs_job_response_collection, + logpush_instant_logs_job_response_single, + logpush_sample, + logpush_session_id, } from "./outputs.js"; -import { logpush_fields, logpush_filter_2, logpush_sample } from "./schemas.js"; +import { + logpush_fields as logpush_fields$, + logpush_filter$$2 as logpush_filter$$2$, + logpush_sample as logpush_sample$, +} from "./schemas.js"; /** * The tools of `logpush.edge`. @@ -49,34 +53,42 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "logpush_fields": logpush_fields, - "logpush_filter-2": logpush_filter_2, + "logpush_fields": logpush_fields$, + "logpush_filter-2": logpush_filter$$2$, "logpush_identifier": logpush_identifier, - "logpush_sample": logpush_sample, + "logpush_sample": logpush_sample$, }, }, outputSchema: { "$ref": "#/$defs/logpush_instant_logs_job_response_single", $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_destination_conf-2": logpush_destination_conf_2_output, - "logpush_fields": logpush_fields_output, - "logpush_filter-2": logpush_filter_2_output, - "logpush_instant_logs_job": logpush_instant_logs_job_output, - "logpush_instant_logs_job_response_single": logpush_instant_logs_job_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_sample": logpush_sample_output, - "logpush_session_id": logpush_session_id_output, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_destination_conf-2": logpush_destination_conf$$2, + "logpush_fields": logpush_fields, + "logpush_filter-2": logpush_filter$$2, + "logpush_instant_logs_job": logpush_instant_logs_job, + "logpush_instant_logs_job_response_single": logpush_instant_logs_job_response_single, + "logpush_messages": logpush_messages, + "logpush_sample": logpush_sample, + "logpush_session_id": logpush_session_id, }, }, annotations: { @@ -121,16 +133,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_destination_conf-2": logpush_destination_conf_2_output, - "logpush_fields": logpush_fields_output, - "logpush_filter-2": logpush_filter_2_output, - "logpush_instant_logs_job": logpush_instant_logs_job_output, - "logpush_instant_logs_job_response_single": logpush_instant_logs_job_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_sample": logpush_sample_output, - "logpush_session_id": logpush_session_id_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_destination_conf-2": logpush_destination_conf$$2, + "logpush_fields": logpush_fields, + "logpush_filter-2": logpush_filter$$2, + "logpush_instant_logs_job": logpush_instant_logs_job, + "logpush_instant_logs_job_response_single": logpush_instant_logs_job_response_single, + "logpush_messages": logpush_messages, + "logpush_sample": logpush_sample, + "logpush_session_id": logpush_session_id, }, }, request: (args) => ({ @@ -145,13 +157,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "logpush_identifier": logpush_identifier, @@ -160,15 +180,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_instant_logs_job_response_collection", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_destination_conf-2": logpush_destination_conf_2_output, - "logpush_fields": logpush_fields_output, - "logpush_filter-2": logpush_filter_2_output, - "logpush_instant_logs_job": logpush_instant_logs_job_output, - "logpush_instant_logs_job_response_collection": logpush_instant_logs_job_response_collection_output, - "logpush_messages": logpush_messages_output, - "logpush_sample": logpush_sample_output, - "logpush_session_id": logpush_session_id_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_destination_conf-2": logpush_destination_conf$$2, + "logpush_fields": logpush_fields, + "logpush_filter-2": logpush_filter$$2, + "logpush_instant_logs_job": logpush_instant_logs_job, + "logpush_instant_logs_job_response_collection": logpush_instant_logs_job_response_collection, + "logpush_messages": logpush_messages, + "logpush_sample": logpush_sample, + "logpush_session_id": logpush_session_id, }, }, annotations: { @@ -213,16 +233,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_destination_conf-2": logpush_destination_conf_2_output, - "logpush_fields": logpush_fields_output, - "logpush_filter-2": logpush_filter_2_output, - "logpush_instant_logs_job": logpush_instant_logs_job_output, - "logpush_instant_logs_job_response_collection": logpush_instant_logs_job_response_collection_output, - "logpush_messages": logpush_messages_output, - "logpush_sample": logpush_sample_output, - "logpush_session_id": logpush_session_id_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_destination_conf-2": logpush_destination_conf$$2, + "logpush_fields": logpush_fields, + "logpush_filter-2": logpush_filter$$2, + "logpush_instant_logs_job": logpush_instant_logs_job, + "logpush_instant_logs_job_response_collection": logpush_instant_logs_job_response_collection, + "logpush_messages": logpush_messages, + "logpush_sample": logpush_sample, + "logpush_session_id": logpush_session_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/outputs.ts b/src/generated/forge-mcp/logpush/outputs.ts index 75a1c8a41..ba6851596 100644 --- a/src/generated/forge-mcp/logpush/outputs.ts +++ b/src/generated/forge-mcp/logpush/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `logpush_api-response-common` in responses. */ -export const logpush_api_response_common_output: JsonSchema = { +export const logpush_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/logpush_messages" @@ -32,7 +32,7 @@ export const logpush_api_response_common_output: JsonSchema = { /** * The schema of `logpush_api-response-common-failure` in responses. */ -export const logpush_api_response_common_failure_output: JsonSchema = { +export const logpush_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/logpush_messages" @@ -62,7 +62,7 @@ export const logpush_api_response_common_failure_output: JsonSchema = { /** * The schema of `logpush_api-response-single` in responses. */ -export const logpush_api_response_single_output: JsonSchema = { +export const logpush_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/logpush_messages" @@ -88,7 +88,7 @@ export const logpush_api_response_single_output: JsonSchema = { /** * The schema of `logpush_dataset` in responses. */ -export const logpush_dataset_output: JsonSchema = { +export const logpush_dataset: JsonSchema = { "oneOf": [ { "enum": [ @@ -142,21 +142,21 @@ export const logpush_dataset_output: JsonSchema = { /** * The schema of `logpush_destination_conf` in responses. */ -export const logpush_destination_conf_output: JsonSchema = { +export const logpush_destination_conf: JsonSchema = { "type": "string" }; /** * The schema of `logpush_enabled` in responses. */ -export const logpush_enabled_output: JsonSchema = { +export const logpush_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `logpush_error_message` in responses. */ -export const logpush_error_message_output: JsonSchema = { +export const logpush_error_message: JsonSchema = { "oneOf": [ { "type": "string" @@ -170,14 +170,14 @@ export const logpush_error_message_output: JsonSchema = { /** * The schema of `logpush_filter_attack_traffic` in responses. */ -export const logpush_filter_attack_traffic_output: JsonSchema = { +export const logpush_filter_attack_traffic: JsonSchema = { "type": "boolean" }; /** * The schema of `logpush_frequency` in responses. */ -export const logpush_frequency_output: JsonSchema = { +export const logpush_frequency: JsonSchema = { "oneOf": [ { "enum": [ @@ -195,14 +195,14 @@ export const logpush_frequency_output: JsonSchema = { /** * The schema of `logpush_id` in responses. */ -export const logpush_id_output: JsonSchema = { +export const logpush_id: JsonSchema = { "type": "integer" }; /** * The schema of `logpush_kind` in responses. */ -export const logpush_kind_output: JsonSchema = { +export const logpush_kind: JsonSchema = { "enum": [ "", "edge" @@ -213,7 +213,7 @@ export const logpush_kind_output: JsonSchema = { /** * The schema of `logpush_last_complete` in responses. */ -export const logpush_last_complete_output: JsonSchema = { +export const logpush_last_complete: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -228,7 +228,7 @@ export const logpush_last_complete_output: JsonSchema = { /** * The schema of `logpush_last_error` in responses. */ -export const logpush_last_error_output: JsonSchema = { +export const logpush_last_error: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -243,7 +243,7 @@ export const logpush_last_error_output: JsonSchema = { /** * The schema of `logpush_logpull_options` in responses. */ -export const logpush_logpull_options_output: JsonSchema = { +export const logpush_logpull_options: JsonSchema = { "oneOf": [ { "type": "string" @@ -257,7 +257,7 @@ export const logpush_logpull_options_output: JsonSchema = { /** * The schema of `logpush_logpush_job` in responses. */ -export const logpush_logpush_job_output: JsonSchema = { +export const logpush_logpush_job: JsonSchema = { "oneOf": [ { "properties": { @@ -321,7 +321,7 @@ export const logpush_logpush_job_output: JsonSchema = { /** * The schema of `logpush_logpush_job_response_collection` in responses. */ -export const logpush_logpush_job_response_collection_output: JsonSchema = { +export const logpush_logpush_job_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-common" @@ -350,7 +350,7 @@ export const logpush_logpush_job_response_collection_output: JsonSchema = { /** * The schema of `logpush_max_upload_bytes` in responses. */ -export const logpush_max_upload_bytes_output: JsonSchema = { +export const logpush_max_upload_bytes: JsonSchema = { "oneOf": [ { "type": "integer" @@ -370,7 +370,7 @@ export const logpush_max_upload_bytes_output: JsonSchema = { /** * The schema of `logpush_max_upload_interval_seconds` in responses. */ -export const logpush_max_upload_interval_seconds_output: JsonSchema = { +export const logpush_max_upload_interval_seconds: JsonSchema = { "oneOf": [ { "type": "integer" @@ -390,7 +390,7 @@ export const logpush_max_upload_interval_seconds_output: JsonSchema = { /** * The schema of `logpush_max_upload_records` in responses. */ -export const logpush_max_upload_records_output: JsonSchema = { +export const logpush_max_upload_records: JsonSchema = { "oneOf": [ { "type": "integer" @@ -410,7 +410,7 @@ export const logpush_max_upload_records_output: JsonSchema = { /** * The schema of `logpush_messages` in responses. */ -export const logpush_messages_output: JsonSchema = { +export const logpush_messages: JsonSchema = { "items": { "properties": { "code": { @@ -443,7 +443,7 @@ export const logpush_messages_output: JsonSchema = { /** * The schema of `logpush_name` in responses. */ -export const logpush_name_output: JsonSchema = { +export const logpush_name: JsonSchema = { "oneOf": [ { "type": "string" @@ -457,7 +457,7 @@ export const logpush_name_output: JsonSchema = { /** * The schema of `logpush_output_options` in responses. */ -export const logpush_output_options_output: JsonSchema = { +export const logpush_output_options: JsonSchema = { "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/logpush/transformers/content/outputs.ts b/src/generated/forge-mcp/logpush/transformers/content/outputs.ts index acd2a7d73..bd632c63f 100644 --- a/src/generated/forge-mcp/logpush/transformers/content/outputs.ts +++ b/src/generated/forge-mcp/logpush/transformers/content/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `logpush_transformer_content_response` in responses. */ -export const logpush_transformer_content_response_output: JsonSchema = { +export const logpush_transformer_content_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-single" diff --git a/src/generated/forge-mcp/logpush/transformers/content/tools.ts b/src/generated/forge-mcp/logpush/transformers/content/tools.ts index c3a92dd19..079c3849a 100644 --- a/src/generated/forge-mcp/logpush/transformers/content/tools.ts +++ b/src/generated/forge-mcp/logpush/transformers/content/tools.ts @@ -1,15 +1,15 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_single_output, - logpush_messages_output, + logpush_api$$response$$common$$failure, + logpush_api$$response$$single, + logpush_messages, } from "../../outputs.js"; import { logpush_identifier } from "../../schemas.js"; import { logpush_transformer_identifier } from "../schemas.js"; -import { logpush_transformer_content_response_output } from "./outputs.js"; +import { logpush_transformer_content_response } from "./outputs.js"; /** * The tools of `logpush.transformers.content`. @@ -22,22 +22,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + }, + "transformer_id": { + "$ref": "#/$defs/logpush_transformer_identifier", + "description": "The transformer ID." + } + }, + "required": [ + "account_id", + "transformer_id" + ], + "type": "object" }, - "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." - }, - "version_id": { - "description": "Specific version ID to retrieve. When omitted, the latest version is returned.", - "type": "integer" + "query": { + "properties": { + "version_id": { + "description": "Specific version ID to retrieve. When omitted, the latest version is returned.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "transformer_id" + "path" ], $defs: { "logpush_identifier": logpush_identifier, @@ -47,9 +60,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_transformer_content_response", $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer_content_response": logpush_transformer_content_response_output, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer_content_response": logpush_transformer_content_response, }, }, annotations: { @@ -87,16 +100,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer_content_response": logpush_transformer_content_response_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer_content_response": logpush_transformer_content_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers/${pathParam(args, "transformer_id")}/content`, query: [ - ["version_id", args["version_id"], true], + ["version_id", param(args, "query", "version_id"), true], ], }), }, diff --git a/src/generated/forge-mcp/logpush/transformers/outputs.ts b/src/generated/forge-mcp/logpush/transformers/outputs.ts index 00e7e8fae..ece8776a5 100644 --- a/src/generated/forge-mcp/logpush/transformers/outputs.ts +++ b/src/generated/forge-mcp/logpush/transformers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `logpush_transformer` in responses. */ -export const logpush_transformer_output: JsonSchema = { +export const logpush_transformer: JsonSchema = { "properties": { "associated_jobs": { "items": { @@ -41,7 +41,7 @@ export const logpush_transformer_output: JsonSchema = { /** * The schema of `logpush_transformer_dataset` in responses. */ -export const logpush_transformer_dataset_output: JsonSchema = { +export const logpush_transformer_dataset: JsonSchema = { "oneOf": [ { "type": "string" @@ -55,7 +55,7 @@ export const logpush_transformer_dataset_output: JsonSchema = { /** * The schema of `logpush_transformer_delete_response` in responses. */ -export const logpush_transformer_delete_response_output: JsonSchema = { +export const logpush_transformer_delete_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-single" @@ -79,21 +79,21 @@ export const logpush_transformer_delete_response_output: JsonSchema = { /** * The schema of `logpush_transformer_description` in responses. */ -export const logpush_transformer_description_output: JsonSchema = { +export const logpush_transformer_description: JsonSchema = { "type": "string" }; /** * The schema of `logpush_transformer_identifier` in responses. */ -export const logpush_transformer_identifier_output: JsonSchema = { +export const logpush_transformer_identifier: JsonSchema = { "type": "integer" }; /** * The schema of `logpush_transformer_job_ref` in responses. */ -export const logpush_transformer_job_ref_output: JsonSchema = { +export const logpush_transformer_job_ref: JsonSchema = { "properties": { "id": { "type": "integer" @@ -118,14 +118,14 @@ export const logpush_transformer_job_ref_output: JsonSchema = { /** * The schema of `logpush_transformer_name` in responses. */ -export const logpush_transformer_name_output: JsonSchema = { +export const logpush_transformer_name: JsonSchema = { "type": "string" }; /** * The schema of `logpush_transformer_preview_response` in responses. */ -export const logpush_transformer_preview_response_output: JsonSchema = { +export const logpush_transformer_preview_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-single" @@ -154,7 +154,7 @@ export const logpush_transformer_preview_response_output: JsonSchema = { /** * The schema of `logpush_transformer_response_collection` in responses. */ -export const logpush_transformer_response_collection_output: JsonSchema = { +export const logpush_transformer_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-common" @@ -176,7 +176,7 @@ export const logpush_transformer_response_collection_output: JsonSchema = { /** * The schema of `logpush_transformer_response_single` in responses. */ -export const logpush_transformer_response_single_output: JsonSchema = { +export const logpush_transformer_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-single" diff --git a/src/generated/forge-mcp/logpush/transformers/tools.ts b/src/generated/forge-mcp/logpush/transformers/tools.ts index fe124d1a7..e152a6352 100644 --- a/src/generated/forge-mcp/logpush/transformers/tools.ts +++ b/src/generated/forge-mcp/logpush/transformers/tools.ts @@ -3,30 +3,30 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_api_response_single_output, - logpush_messages_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_api$$response$$single, + logpush_messages, } from "../outputs.js"; import { logpush_identifier } from "../schemas.js"; import { - logpush_transformer_dataset_output, - logpush_transformer_delete_response_output, - logpush_transformer_description_output, - logpush_transformer_identifier_output, - logpush_transformer_job_ref_output, - logpush_transformer_name_output, - logpush_transformer_output, - logpush_transformer_preview_response_output, - logpush_transformer_response_collection_output, - logpush_transformer_response_single_output, + logpush_transformer, + logpush_transformer_dataset, + logpush_transformer_delete_response, + logpush_transformer_description, + logpush_transformer_identifier, + logpush_transformer_job_ref, + logpush_transformer_name, + logpush_transformer_preview_response, + logpush_transformer_response_collection, + logpush_transformer_response_single, } from "./outputs.js"; import { logpush_transformer_code, logpush_transformer_create_request, - logpush_transformer_description, - logpush_transformer_identifier, - logpush_transformer_name, + logpush_transformer_description as logpush_transformer_description$, + logpush_transformer_identifier as logpush_transformer_identifier$, + logpush_transformer_name as logpush_transformer_name$, logpush_transformer_preview_request, logpush_transformer_update_request, } from "./schemas.js"; @@ -42,38 +42,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/logpush_transformer_create_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "logpush_identifier": logpush_identifier, "logpush_transformer_code": logpush_transformer_code, "logpush_transformer_create_request": logpush_transformer_create_request, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_description": logpush_transformer_description$, + "logpush_transformer_name": logpush_transformer_name$, }, }, outputSchema: { "$ref": "#/$defs/logpush_transformer_response_single", $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer": logpush_transformer_output, - "logpush_transformer_dataset": logpush_transformer_dataset_output, - "logpush_transformer_description": logpush_transformer_description_output, - "logpush_transformer_identifier": logpush_transformer_identifier_output, - "logpush_transformer_job_ref": logpush_transformer_job_ref_output, - "logpush_transformer_name": logpush_transformer_name_output, - "logpush_transformer_response_single": logpush_transformer_response_single_output, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer": logpush_transformer, + "logpush_transformer_dataset": logpush_transformer_dataset, + "logpush_transformer_description": logpush_transformer_description, + "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_job_ref": logpush_transformer_job_ref, + "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_response_single": logpush_transformer_response_single, }, }, annotations: { @@ -111,16 +119,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer": logpush_transformer_output, - "logpush_transformer_dataset": logpush_transformer_dataset_output, - "logpush_transformer_description": logpush_transformer_description_output, - "logpush_transformer_identifier": logpush_transformer_identifier_output, - "logpush_transformer_job_ref": logpush_transformer_job_ref_output, - "logpush_transformer_name": logpush_transformer_name_output, - "logpush_transformer_response_single": logpush_transformer_response_single_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer": logpush_transformer, + "logpush_transformer_dataset": logpush_transformer_dataset, + "logpush_transformer_description": logpush_transformer_description, + "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_job_ref": logpush_transformer_job_ref, + "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_response_single": logpush_transformer_response_single, }, }, request: (args) => ({ @@ -135,30 +143,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." - }, - "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + }, + "transformer_id": { + "$ref": "#/$defs/logpush_transformer_identifier", + "description": "The transformer ID." + } + }, + "required": [ + "account_id", + "transformer_id" + ], + "type": "object" } }, required: [ - "account_id", - "transformer_id" + "path" ], $defs: { "logpush_identifier": logpush_identifier, - "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_identifier": logpush_transformer_identifier$, }, }, outputSchema: { "$ref": "#/$defs/logpush_transformer_delete_response", $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer_delete_response": logpush_transformer_delete_response_output, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer_delete_response": logpush_transformer_delete_response, }, }, annotations: { @@ -199,10 +215,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer_delete_response": logpush_transformer_delete_response_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer_delete_response": logpush_transformer_delete_response, }, }, request: (args) => ({ @@ -216,36 +232,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." - }, - "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + }, + "transformer_id": { + "$ref": "#/$defs/logpush_transformer_identifier", + "description": "The transformer ID." + } + }, + "required": [ + "account_id", + "transformer_id" + ], + "type": "object" } }, required: [ - "account_id", - "transformer_id" + "path" ], $defs: { "logpush_identifier": logpush_identifier, - "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_identifier": logpush_transformer_identifier$, }, }, outputSchema: { "$ref": "#/$defs/logpush_transformer_response_single", $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer": logpush_transformer_output, - "logpush_transformer_dataset": logpush_transformer_dataset_output, - "logpush_transformer_description": logpush_transformer_description_output, - "logpush_transformer_identifier": logpush_transformer_identifier_output, - "logpush_transformer_job_ref": logpush_transformer_job_ref_output, - "logpush_transformer_name": logpush_transformer_name_output, - "logpush_transformer_response_single": logpush_transformer_response_single_output, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer": logpush_transformer, + "logpush_transformer_dataset": logpush_transformer_dataset, + "logpush_transformer_description": logpush_transformer_description, + "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_job_ref": logpush_transformer_job_ref, + "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_response_single": logpush_transformer_response_single, }, }, annotations: { @@ -283,16 +307,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer": logpush_transformer_output, - "logpush_transformer_dataset": logpush_transformer_dataset_output, - "logpush_transformer_description": logpush_transformer_description_output, - "logpush_transformer_identifier": logpush_transformer_identifier_output, - "logpush_transformer_job_ref": logpush_transformer_job_ref_output, - "logpush_transformer_name": logpush_transformer_name_output, - "logpush_transformer_response_single": logpush_transformer_response_single_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer": logpush_transformer, + "logpush_transformer_dataset": logpush_transformer_dataset, + "logpush_transformer_description": logpush_transformer_description, + "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_job_ref": logpush_transformer_job_ref, + "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_response_single": logpush_transformer_response_single, }, }, request: (args) => ({ @@ -306,13 +330,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "logpush_identifier": logpush_identifier, @@ -321,15 +353,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_transformer_response_collection", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer": logpush_transformer_output, - "logpush_transformer_dataset": logpush_transformer_dataset_output, - "logpush_transformer_description": logpush_transformer_description_output, - "logpush_transformer_identifier": logpush_transformer_identifier_output, - "logpush_transformer_job_ref": logpush_transformer_job_ref_output, - "logpush_transformer_name": logpush_transformer_name_output, - "logpush_transformer_response_collection": logpush_transformer_response_collection_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_messages": logpush_messages, + "logpush_transformer": logpush_transformer, + "logpush_transformer_dataset": logpush_transformer_dataset, + "logpush_transformer_description": logpush_transformer_description, + "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_job_ref": logpush_transformer_job_ref, + "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_response_collection": logpush_transformer_response_collection, }, }, annotations: { @@ -367,16 +399,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer": logpush_transformer_output, - "logpush_transformer_dataset": logpush_transformer_dataset_output, - "logpush_transformer_description": logpush_transformer_description_output, - "logpush_transformer_identifier": logpush_transformer_identifier_output, - "logpush_transformer_job_ref": logpush_transformer_job_ref_output, - "logpush_transformer_name": logpush_transformer_name_output, - "logpush_transformer_response_collection": logpush_transformer_response_collection_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_messages": logpush_messages, + "logpush_transformer": logpush_transformer, + "logpush_transformer_dataset": logpush_transformer_dataset, + "logpush_transformer_description": logpush_transformer_description, + "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_job_ref": logpush_transformer_job_ref, + "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_response_collection": logpush_transformer_response_collection, }, }, request: (args) => ({ @@ -390,16 +422,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/logpush_transformer_preview_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -411,9 +451,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_transformer_preview_response", $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer_preview_response": logpush_transformer_preview_response_output, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer_preview_response": logpush_transformer_preview_response, }, }, annotations: { @@ -451,10 +491,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer_preview_response": logpush_transformer_preview_response_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer_preview_response": logpush_transformer_preview_response, }, }, request: (args) => ({ @@ -469,44 +509,52 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/logpush_transformer_update_request" }, - "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + }, + "transformer_id": { + "$ref": "#/$defs/logpush_transformer_identifier", + "description": "The transformer ID." + } + }, + "required": [ + "account_id", + "transformer_id" + ], + "type": "object" } }, required: [ - "account_id", - "transformer_id", + "path", "body" ], $defs: { "logpush_identifier": logpush_identifier, "logpush_transformer_code": logpush_transformer_code, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_identifier": logpush_transformer_identifier, - "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_description": logpush_transformer_description$, + "logpush_transformer_identifier": logpush_transformer_identifier$, + "logpush_transformer_name": logpush_transformer_name$, "logpush_transformer_update_request": logpush_transformer_update_request, }, }, outputSchema: { "$ref": "#/$defs/logpush_transformer_response_single", $defs: { - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer": logpush_transformer_output, - "logpush_transformer_dataset": logpush_transformer_dataset_output, - "logpush_transformer_description": logpush_transformer_description_output, - "logpush_transformer_identifier": logpush_transformer_identifier_output, - "logpush_transformer_job_ref": logpush_transformer_job_ref_output, - "logpush_transformer_name": logpush_transformer_name_output, - "logpush_transformer_response_single": logpush_transformer_response_single_output, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer": logpush_transformer, + "logpush_transformer_dataset": logpush_transformer_dataset, + "logpush_transformer_description": logpush_transformer_description, + "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_job_ref": logpush_transformer_job_ref, + "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_response_single": logpush_transformer_response_single, }, }, annotations: { @@ -544,16 +592,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_api-response-single": logpush_api_response_single_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer": logpush_transformer_output, - "logpush_transformer_dataset": logpush_transformer_dataset_output, - "logpush_transformer_description": logpush_transformer_description_output, - "logpush_transformer_identifier": logpush_transformer_identifier_output, - "logpush_transformer_job_ref": logpush_transformer_job_ref_output, - "logpush_transformer_name": logpush_transformer_name_output, - "logpush_transformer_response_single": logpush_transformer_response_single_output, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_api-response-single": logpush_api$$response$$single, + "logpush_messages": logpush_messages, + "logpush_transformer": logpush_transformer, + "logpush_transformer_dataset": logpush_transformer_dataset, + "logpush_transformer_description": logpush_transformer_description, + "logpush_transformer_identifier": logpush_transformer_identifier, + "logpush_transformer_job_ref": logpush_transformer_job_ref, + "logpush_transformer_name": logpush_transformer_name, + "logpush_transformer_response_single": logpush_transformer_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/transformers/versions/outputs.ts b/src/generated/forge-mcp/logpush/transformers/versions/outputs.ts index fca398843..20ff84942 100644 --- a/src/generated/forge-mcp/logpush/transformers/versions/outputs.ts +++ b/src/generated/forge-mcp/logpush/transformers/versions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `logpush_transformer_version` in responses. */ -export const logpush_transformer_version_output: JsonSchema = { +export const logpush_transformer_version: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -25,7 +25,7 @@ export const logpush_transformer_version_output: JsonSchema = { /** * The schema of `logpush_transformer_version_response_collection` in responses. */ -export const logpush_transformer_version_response_collection_output: JsonSchema = { +export const logpush_transformer_version_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logpush_api-response-common" diff --git a/src/generated/forge-mcp/logpush/transformers/versions/tools.ts b/src/generated/forge-mcp/logpush/transformers/versions/tools.ts index 0e9b79ed8..80a028060 100644 --- a/src/generated/forge-mcp/logpush/transformers/versions/tools.ts +++ b/src/generated/forge-mcp/logpush/transformers/versions/tools.ts @@ -1,17 +1,17 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - logpush_api_response_common_failure_output, - logpush_api_response_common_output, - logpush_messages_output, + logpush_api$$response$$common, + logpush_api$$response$$common$$failure, + logpush_messages, } from "../../outputs.js"; import { logpush_identifier } from "../../schemas.js"; import { logpush_transformer_identifier } from "../schemas.js"; import { - logpush_transformer_version_output, - logpush_transformer_version_response_collection_output, + logpush_transformer_version, + logpush_transformer_version_response_collection, } from "./outputs.js"; /** @@ -25,23 +25,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpush_identifier", + "description": "Identifier." + }, + "transformer_id": { + "$ref": "#/$defs/logpush_transformer_identifier", + "description": "The transformer ID." + } + }, + "required": [ + "account_id", + "transformer_id" + ], + "type": "object" }, - "limit": { - "default": 10, - "description": "Maximum number of versions to return.", - "type": "integer" - }, - "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." + "query": { + "properties": { + "limit": { + "default": 10, + "description": "Maximum number of versions to return.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "transformer_id" + "path" ], $defs: { "logpush_identifier": logpush_identifier, @@ -51,10 +64,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logpush_transformer_version_response_collection", $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer_version": logpush_transformer_version_output, - "logpush_transformer_version_response_collection": logpush_transformer_version_response_collection_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_messages": logpush_messages, + "logpush_transformer_version": logpush_transformer_version, + "logpush_transformer_version_response_collection": logpush_transformer_version_response_collection, }, }, annotations: { @@ -92,17 +105,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logpush_api-response-common": logpush_api_response_common_output, - "logpush_api-response-common-failure": logpush_api_response_common_failure_output, - "logpush_messages": logpush_messages_output, - "logpush_transformer_version": logpush_transformer_version_output, - "logpush_transformer_version_response_collection": logpush_transformer_version_response_collection_output, + "logpush_api-response-common": logpush_api$$response$$common, + "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, + "logpush_messages": logpush_messages, + "logpush_transformer_version": logpush_transformer_version, + "logpush_transformer_version_response_collection": logpush_transformer_version_response_collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logpush/transformers/${pathParam(args, "transformer_id")}/versions`, query: [ - ["limit", args["limit"], true], + ["limit", param(args, "query", "limit"), true], ], }), }, diff --git a/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts b/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts index 1743dbc98..736667b9e 100644 --- a/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts +++ b/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `logcontrol_allow_out_of_region_access` in responses. */ -export const logcontrol_allow_out_of_region_access_output: JsonSchema = { +export const logcontrol_allow_out_of_region_access: JsonSchema = { "type": "boolean" }; /** * The schema of `logcontrol_api-response-common` in responses. */ -export const logcontrol_api_response_common_output: JsonSchema = { +export const logcontrol_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/logcontrol_messages" @@ -39,7 +39,7 @@ export const logcontrol_api_response_common_output: JsonSchema = { /** * The schema of `logcontrol_cmb_config` in responses. */ -export const logcontrol_cmb_config_output: JsonSchema = { +export const logcontrol_cmb_config: JsonSchema = { "oneOf": [ { "properties": { @@ -61,7 +61,7 @@ export const logcontrol_cmb_config_output: JsonSchema = { /** * The schema of `logcontrol_cmb_config_response_single` in responses. */ -export const logcontrol_cmb_config_response_single_output: JsonSchema = { +export const logcontrol_cmb_config_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logcontrol_api-response-single" @@ -87,6 +87,6 @@ export const logcontrol_cmb_config_response_single_output: JsonSchema = { /** * The schema of `logcontrol_regions` in responses. */ -export const logcontrol_regions_output: JsonSchema = { +export const logcontrol_regions: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/logs/control/cmb/config/tools.ts b/src/generated/forge-mcp/logs/control/cmb/config/tools.ts index 4fb2fc1f4..a704555f9 100644 --- a/src/generated/forge-mcp/logs/control/cmb/config/tools.ts +++ b/src/generated/forge-mcp/logs/control/cmb/config/tools.ts @@ -3,22 +3,22 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - logcontrol_api_response_common_failure_output, - logcontrol_api_response_single_output, - logcontrol_messages_output, + logcontrol_api$$response$$common$$failure, + logcontrol_api$$response$$single, + logcontrol_messages, } from "../../outputs.js"; import { logcontrol_identifier } from "../../schemas.js"; -import { - logcontrol_allow_out_of_region_access_output, - logcontrol_api_response_common_output, - logcontrol_cmb_config_output, - logcontrol_cmb_config_response_single_output, - logcontrol_regions_output, -} from "./outputs.js"; import { logcontrol_allow_out_of_region_access, + logcontrol_api$$response$$common, logcontrol_cmb_config, + logcontrol_cmb_config_response_single, logcontrol_regions, +} from "./outputs.js"; +import { + logcontrol_allow_out_of_region_access as logcontrol_allow_out_of_region_access$, + logcontrol_cmb_config as logcontrol_cmb_config$, + logcontrol_regions as logcontrol_regions$, } from "./schemas.js"; /** @@ -32,34 +32,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/logcontrol_cmb_config" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logcontrol_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access, - "logcontrol_cmb_config": logcontrol_cmb_config, + "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access$, + "logcontrol_cmb_config": logcontrol_cmb_config$, "logcontrol_identifier": logcontrol_identifier, - "logcontrol_regions": logcontrol_regions, + "logcontrol_regions": logcontrol_regions$, }, }, outputSchema: { "$ref": "#/$defs/logcontrol_cmb_config_response_single", $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access_output, - "logcontrol_api-response-single": logcontrol_api_response_single_output, - "logcontrol_cmb_config": logcontrol_cmb_config_output, - "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single_output, - "logcontrol_messages": logcontrol_messages_output, - "logcontrol_regions": logcontrol_regions_output, + "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access, + "logcontrol_api-response-single": logcontrol_api$$response$$single, + "logcontrol_cmb_config": logcontrol_cmb_config, + "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single, + "logcontrol_messages": logcontrol_messages, + "logcontrol_regions": logcontrol_regions, }, }, annotations: { @@ -91,13 +99,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access_output, - "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, - "logcontrol_api-response-single": logcontrol_api_response_single_output, - "logcontrol_cmb_config": logcontrol_cmb_config_output, - "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single_output, - "logcontrol_messages": logcontrol_messages_output, - "logcontrol_regions": logcontrol_regions_output, + "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access, + "logcontrol_api-response-common-failure": logcontrol_api$$response$$common$$failure, + "logcontrol_api-response-single": logcontrol_api$$response$$single, + "logcontrol_cmb_config": logcontrol_cmb_config, + "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single, + "logcontrol_messages": logcontrol_messages, + "logcontrol_regions": logcontrol_regions, }, }, request: (args) => ({ @@ -112,13 +120,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logcontrol_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "logcontrol_identifier": logcontrol_identifier, @@ -139,8 +155,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "logcontrol_api-response-common": logcontrol_api_response_common_output, - "logcontrol_messages": logcontrol_messages_output, + "logcontrol_api-response-common": logcontrol_api$$response$$common, + "logcontrol_messages": logcontrol_messages, }, }, annotations: { @@ -184,9 +200,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logcontrol_api-response-common": logcontrol_api_response_common_output, - "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, - "logcontrol_messages": logcontrol_messages_output, + "logcontrol_api-response-common": logcontrol_api$$response$$common, + "logcontrol_api-response-common-failure": logcontrol_api$$response$$common$$failure, + "logcontrol_messages": logcontrol_messages, }, }, request: (args) => ({ @@ -200,13 +216,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logcontrol_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "logcontrol_identifier": logcontrol_identifier, @@ -215,12 +239,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logcontrol_cmb_config_response_single", $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access_output, - "logcontrol_api-response-single": logcontrol_api_response_single_output, - "logcontrol_cmb_config": logcontrol_cmb_config_output, - "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single_output, - "logcontrol_messages": logcontrol_messages_output, - "logcontrol_regions": logcontrol_regions_output, + "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access, + "logcontrol_api-response-single": logcontrol_api$$response$$single, + "logcontrol_cmb_config": logcontrol_cmb_config, + "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single, + "logcontrol_messages": logcontrol_messages, + "logcontrol_regions": logcontrol_regions, }, }, annotations: { @@ -254,13 +278,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access_output, - "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, - "logcontrol_api-response-single": logcontrol_api_response_single_output, - "logcontrol_cmb_config": logcontrol_cmb_config_output, - "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single_output, - "logcontrol_messages": logcontrol_messages_output, - "logcontrol_regions": logcontrol_regions_output, + "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access, + "logcontrol_api-response-common-failure": logcontrol_api$$response$$common$$failure, + "logcontrol_api-response-single": logcontrol_api$$response$$single, + "logcontrol_cmb_config": logcontrol_cmb_config, + "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single, + "logcontrol_messages": logcontrol_messages, + "logcontrol_regions": logcontrol_regions, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logs/control/outputs.ts b/src/generated/forge-mcp/logs/control/outputs.ts index bb48781c4..fb4e06cb3 100644 --- a/src/generated/forge-mcp/logs/control/outputs.ts +++ b/src/generated/forge-mcp/logs/control/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `logcontrol_api-response-common-failure` in responses. */ -export const logcontrol_api_response_common_failure_output: JsonSchema = { +export const logcontrol_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/logcontrol_messages" @@ -36,7 +36,7 @@ export const logcontrol_api_response_common_failure_output: JsonSchema = { /** * The schema of `logcontrol_api-response-single` in responses. */ -export const logcontrol_api_response_single_output: JsonSchema = { +export const logcontrol_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/logcontrol_messages" @@ -62,7 +62,7 @@ export const logcontrol_api_response_single_output: JsonSchema = { /** * The schema of `logcontrol_messages` in responses. */ -export const logcontrol_messages_output: JsonSchema = { +export const logcontrol_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/logs/control/retention/outputs.ts b/src/generated/forge-mcp/logs/control/retention/outputs.ts index f956f4685..829e5f9f5 100644 --- a/src/generated/forge-mcp/logs/control/retention/outputs.ts +++ b/src/generated/forge-mcp/logs/control/retention/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `logcontrol_flag` in responses. */ -export const logcontrol_flag_output: JsonSchema = { +export const logcontrol_flag: JsonSchema = { "type": "boolean" }; /** * The schema of `logcontrol_retention_flag` in responses. */ -export const logcontrol_retention_flag_output: JsonSchema = { +export const logcontrol_retention_flag: JsonSchema = { "oneOf": [ { "properties": { @@ -32,7 +32,7 @@ export const logcontrol_retention_flag_output: JsonSchema = { /** * The schema of `logcontrol_retention_flag_response_single` in responses. */ -export const logcontrol_retention_flag_response_single_output: JsonSchema = { +export const logcontrol_retention_flag_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/logcontrol_api-response-single" diff --git a/src/generated/forge-mcp/logs/control/retention/tools.ts b/src/generated/forge-mcp/logs/control/retention/tools.ts index 3f96c1bbc..a4bfe4ab8 100644 --- a/src/generated/forge-mcp/logs/control/retention/tools.ts +++ b/src/generated/forge-mcp/logs/control/retention/tools.ts @@ -3,17 +3,20 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - logcontrol_api_response_common_failure_output, - logcontrol_api_response_single_output, - logcontrol_messages_output, + logcontrol_api$$response$$common$$failure, + logcontrol_api$$response$$single, + logcontrol_messages, } from "../outputs.js"; import { logcontrol_identifier } from "../schemas.js"; import { - logcontrol_flag_output, - logcontrol_retention_flag_output, - logcontrol_retention_flag_response_single_output, + logcontrol_flag, + logcontrol_retention_flag, + logcontrol_retention_flag_response_single, } from "./outputs.js"; -import { logcontrol_flag, logcontrol_retention_flag } from "./schemas.js"; +import { + logcontrol_flag as logcontrol_flag$, + logcontrol_retention_flag as logcontrol_retention_flag$, +} from "./schemas.js"; /** * The tools of `logs.control.retention`. @@ -29,29 +32,37 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/logcontrol_retention_flag" }, - "zone_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/logcontrol_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "logcontrol_flag": logcontrol_flag, + "logcontrol_flag": logcontrol_flag$, "logcontrol_identifier": logcontrol_identifier, - "logcontrol_retention_flag": logcontrol_retention_flag, + "logcontrol_retention_flag": logcontrol_retention_flag$, }, }, outputSchema: { "$ref": "#/$defs/logcontrol_retention_flag_response_single", $defs: { - "logcontrol_api-response-single": logcontrol_api_response_single_output, - "logcontrol_flag": logcontrol_flag_output, - "logcontrol_messages": logcontrol_messages_output, - "logcontrol_retention_flag": logcontrol_retention_flag_output, - "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single_output, + "logcontrol_api-response-single": logcontrol_api$$response$$single, + "logcontrol_flag": logcontrol_flag, + "logcontrol_messages": logcontrol_messages, + "logcontrol_retention_flag": logcontrol_retention_flag, + "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single, }, }, annotations: { @@ -89,12 +100,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, - "logcontrol_api-response-single": logcontrol_api_response_single_output, - "logcontrol_flag": logcontrol_flag_output, - "logcontrol_messages": logcontrol_messages_output, - "logcontrol_retention_flag": logcontrol_retention_flag_output, - "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single_output, + "logcontrol_api-response-common-failure": logcontrol_api$$response$$common$$failure, + "logcontrol_api-response-single": logcontrol_api$$response$$single, + "logcontrol_flag": logcontrol_flag, + "logcontrol_messages": logcontrol_messages, + "logcontrol_retention_flag": logcontrol_retention_flag, + "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single, }, }, request: (args) => ({ @@ -109,13 +120,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/logcontrol_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "logcontrol_identifier": logcontrol_identifier, @@ -124,11 +143,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logcontrol_retention_flag_response_single", $defs: { - "logcontrol_api-response-single": logcontrol_api_response_single_output, - "logcontrol_flag": logcontrol_flag_output, - "logcontrol_messages": logcontrol_messages_output, - "logcontrol_retention_flag": logcontrol_retention_flag_output, - "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single_output, + "logcontrol_api-response-single": logcontrol_api$$response$$single, + "logcontrol_flag": logcontrol_flag, + "logcontrol_messages": logcontrol_messages, + "logcontrol_retention_flag": logcontrol_retention_flag, + "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single, }, }, annotations: { @@ -168,12 +187,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logcontrol_api-response-common-failure": logcontrol_api_response_common_failure_output, - "logcontrol_api-response-single": logcontrol_api_response_single_output, - "logcontrol_flag": logcontrol_flag_output, - "logcontrol_messages": logcontrol_messages_output, - "logcontrol_retention_flag": logcontrol_retention_flag_output, - "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single_output, + "logcontrol_api-response-common-failure": logcontrol_api$$response$$common$$failure, + "logcontrol_api-response-single": logcontrol_api$$response$$single, + "logcontrol_flag": logcontrol_flag, + "logcontrol_messages": logcontrol_messages, + "logcontrol_retention_flag": logcontrol_retention_flag, + "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logs/datasets/outputs.ts b/src/generated/forge-mcp/logs/datasets/outputs.ts index 599370969..9c974ee49 100644 --- a/src/generated/forge-mcp/logs/datasets/outputs.ts +++ b/src/generated/forge-mcp/logs/datasets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `lex_AvailableDestination` in responses. */ -export const lex_AvailableDestination_output: JsonSchema = { +export const lex_AvailableDestination: JsonSchema = { "properties": { "dataset": { "type": "string" @@ -54,7 +54,7 @@ export const lex_AvailableDestination_output: JsonSchema = { /** * The schema of `lex_AvailableDestinationListResponse` in responses. */ -export const lex_AvailableDestinationListResponse_output: JsonSchema = { +export const lex_AvailableDestinationListResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -96,7 +96,7 @@ export const lex_AvailableDestinationListResponse_output: JsonSchema = { /** * The schema of `lex_DatasetDetailResponse` in responses. */ -export const lex_DatasetDetailResponse_output: JsonSchema = { +export const lex_DatasetDetailResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -128,7 +128,7 @@ export const lex_DatasetDetailResponse_output: JsonSchema = { /** * The schema of `lex_DatasetResponse` in responses. */ -export const lex_DatasetResponse_output: JsonSchema = { +export const lex_DatasetResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/lex_DatasetSummary" @@ -159,7 +159,7 @@ export const lex_DatasetResponse_output: JsonSchema = { /** * The schema of `lex_DatasetSummary` in responses. */ -export const lex_DatasetSummary_output: JsonSchema = { +export const lex_DatasetSummary: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -208,7 +208,7 @@ export const lex_DatasetSummary_output: JsonSchema = { /** * The schema of `lex_DatasetSummaryListResponse` in responses. */ -export const lex_DatasetSummaryListResponse_output: JsonSchema = { +export const lex_DatasetSummaryListResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -250,7 +250,7 @@ export const lex_DatasetSummaryListResponse_output: JsonSchema = { /** * The schema of `lex_ErrorResponse-2` in responses. */ -export const lex_ErrorResponse_2_output: JsonSchema = { +export const lex_ErrorResponse$$2: JsonSchema = { "properties": { "errors": { "items": { @@ -293,7 +293,7 @@ export const lex_ErrorResponse_2_output: JsonSchema = { /** * The schema of `lex_LogField` in responses. */ -export const lex_LogField_output: JsonSchema = { +export const lex_LogField: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -312,7 +312,7 @@ export const lex_LogField_output: JsonSchema = { /** * The schema of `lex_V4Error-2` in responses. */ -export const lex_V4Error_2_output: JsonSchema = { +export const lex_V4Error$$2: JsonSchema = { "properties": { "code": { "type": "integer" diff --git a/src/generated/forge-mcp/logs/datasets/tools.ts b/src/generated/forge-mcp/logs/datasets/tools.ts index dbaa07de1..2e2830360 100644 --- a/src/generated/forge-mcp/logs/datasets/tools.ts +++ b/src/generated/forge-mcp/logs/datasets/tools.ts @@ -1,21 +1,21 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - lex_AvailableDestinationListResponse_output, - lex_AvailableDestination_output, - lex_DatasetDetailResponse_output, - lex_DatasetResponse_output, - lex_DatasetSummaryListResponse_output, - lex_DatasetSummary_output, - lex_ErrorResponse_2_output, - lex_LogField_output, - lex_V4Error_2_output, + lex_AvailableDestination, + lex_AvailableDestinationListResponse, + lex_DatasetDetailResponse, + lex_DatasetResponse, + lex_DatasetSummary, + lex_DatasetSummaryListResponse, + lex_ErrorResponse$$2, + lex_LogField, + lex_V4Error$$2, } from "./outputs.js"; import { lex_CreateDatasetRequest, - lex_LogField, + lex_LogField as lex_LogField$, lex_UpdateDatasetRequest, } from "./schemas.js"; @@ -30,30 +30,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "description": "The account ID or zone ID, as selected by account_or_zone.", - "type": "string" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/lex_AvailableDestinationListResponse", $defs: { - "lex_AvailableDestination": lex_AvailableDestination_output, - "lex_AvailableDestinationListResponse": lex_AvailableDestinationListResponse_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_AvailableDestination": lex_AvailableDestination, + "lex_AvailableDestinationListResponse": lex_AvailableDestinationListResponse, + "lex_V4Error-2": lex_V4Error$$2, }, }, annotations: { @@ -87,10 +95,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lex_AvailableDestination": lex_AvailableDestination_output, - "lex_AvailableDestinationListResponse": lex_AvailableDestinationListResponse_output, - "lex_ErrorResponse-2": lex_ErrorResponse_2_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_AvailableDestination": lex_AvailableDestination, + "lex_AvailableDestinationListResponse": lex_AvailableDestinationListResponse, + "lex_ErrorResponse-2": lex_ErrorResponse$$2, + "lex_V4Error-2": lex_V4Error$$2, }, }, request: (args) => ({ @@ -104,40 +112,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "description": "The account ID or zone ID, as selected by account_or_zone.", - "type": "string" - }, "body": { "$ref": "#/$defs/lex_CreateDatasetRequest" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { "lex_CreateDatasetRequest": lex_CreateDatasetRequest, - "lex_LogField": lex_LogField, + "lex_LogField": lex_LogField$, }, }, outputSchema: { "$ref": "#/$defs/lex_DatasetDetailResponse", $defs: { - "lex_DatasetDetailResponse": lex_DatasetDetailResponse_output, - "lex_DatasetResponse": lex_DatasetResponse_output, - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_LogField": lex_LogField_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetDetailResponse": lex_DatasetDetailResponse, + "lex_DatasetResponse": lex_DatasetResponse, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_LogField": lex_LogField, + "lex_V4Error-2": lex_V4Error$$2, }, }, annotations: { @@ -173,12 +189,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lex_DatasetDetailResponse": lex_DatasetDetailResponse_output, - "lex_DatasetResponse": lex_DatasetResponse_output, - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_ErrorResponse-2": lex_ErrorResponse_2_output, - "lex_LogField": lex_LogField_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetDetailResponse": lex_DatasetDetailResponse, + "lex_DatasetResponse": lex_DatasetResponse, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_ErrorResponse-2": lex_ErrorResponse$$2, + "lex_LogField": lex_LogField, + "lex_V4Error-2": lex_V4Error$$2, }, }, request: (args) => ({ @@ -193,37 +209,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" + }, + "dataset_id": { + "description": "Log Explorer dataset ID.", + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "dataset_id" ], - "type": "string" - }, - "account_or_zone_id": { - "description": "The account ID or zone ID, as selected by account_or_zone.", - "type": "string" - }, - "dataset_id": { - "description": "Log Explorer dataset ID.", - "type": "string" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "dataset_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/lex_DatasetDetailResponse", $defs: { - "lex_DatasetDetailResponse": lex_DatasetDetailResponse_output, - "lex_DatasetResponse": lex_DatasetResponse_output, - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_LogField": lex_LogField_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetDetailResponse": lex_DatasetDetailResponse, + "lex_DatasetResponse": lex_DatasetResponse, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_LogField": lex_LogField, + "lex_V4Error-2": lex_V4Error$$2, }, }, annotations: { @@ -254,12 +278,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lex_DatasetDetailResponse": lex_DatasetDetailResponse_output, - "lex_DatasetResponse": lex_DatasetResponse_output, - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_ErrorResponse-2": lex_ErrorResponse_2_output, - "lex_LogField": lex_LogField_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetDetailResponse": lex_DatasetDetailResponse, + "lex_DatasetResponse": lex_DatasetResponse, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_ErrorResponse-2": lex_ErrorResponse$$2, + "lex_LogField": lex_LogField, + "lex_V4Error-2": lex_V4Error$$2, }, }, request: (args) => ({ @@ -273,37 +297,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" + }, + "dataset_id": { + "description": "Log Explorer dataset ID.", + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "dataset_id" ], - "type": "string" - }, - "account_or_zone_id": { - "description": "The account ID or zone ID, as selected by account_or_zone.", - "type": "string" - }, - "dataset_id": { - "description": "Log Explorer dataset ID.", - "type": "string" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "dataset_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/lex_DatasetDetailResponse", $defs: { - "lex_DatasetDetailResponse": lex_DatasetDetailResponse_output, - "lex_DatasetResponse": lex_DatasetResponse_output, - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_LogField": lex_LogField_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetDetailResponse": lex_DatasetDetailResponse, + "lex_DatasetResponse": lex_DatasetResponse, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_LogField": lex_LogField, + "lex_V4Error-2": lex_V4Error$$2, }, }, annotations: { @@ -336,12 +368,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lex_DatasetDetailResponse": lex_DatasetDetailResponse_output, - "lex_DatasetResponse": lex_DatasetResponse_output, - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_ErrorResponse-2": lex_ErrorResponse_2_output, - "lex_LogField": lex_LogField_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetDetailResponse": lex_DatasetDetailResponse, + "lex_DatasetResponse": lex_DatasetResponse, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_ErrorResponse-2": lex_ErrorResponse$$2, + "lex_LogField": lex_LogField, + "lex_V4Error-2": lex_V4Error$$2, }, }, request: (args) => ({ @@ -355,34 +387,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "description": "The account ID or zone ID, as selected by account_or_zone.", - "type": "string" - }, - "include_zones": { - "description": "Set to true to include zone-scoped datasets belonging to this account.", - "type": "boolean" + "type": "object" + }, + "query": { + "properties": { + "include_zones": { + "description": "Set to true to include zone-scoped datasets belonging to this account.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/lex_DatasetSummaryListResponse", $defs: { - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_DatasetSummaryListResponse": lex_DatasetSummaryListResponse_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_DatasetSummaryListResponse": lex_DatasetSummaryListResponse, + "lex_V4Error-2": lex_V4Error$$2, }, }, annotations: { @@ -416,16 +461,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_DatasetSummaryListResponse": lex_DatasetSummaryListResponse_output, - "lex_ErrorResponse-2": lex_ErrorResponse_2_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_DatasetSummaryListResponse": lex_DatasetSummaryListResponse, + "lex_ErrorResponse-2": lex_ErrorResponse$$2, + "lex_V4Error-2": lex_V4Error$$2, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/logs/explorer/datasets`, query: [ - ["include_zones", args["include_zones"], true], + ["include_zones", param(args, "query", "include_zones"), true], ], }), }, @@ -436,45 +481,53 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "description": "The account ID or zone ID, as selected by account_or_zone.", - "type": "string" - }, "body": { "$ref": "#/$defs/lex_UpdateDatasetRequest" }, - "dataset_id": { - "description": "Log Explorer dataset ID.", - "type": "string" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" + }, + "dataset_id": { + "description": "Log Explorer dataset ID.", + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "dataset_id", + "path", "body" ], $defs: { - "lex_LogField": lex_LogField, + "lex_LogField": lex_LogField$, "lex_UpdateDatasetRequest": lex_UpdateDatasetRequest, }, }, outputSchema: { "$ref": "#/$defs/lex_DatasetDetailResponse", $defs: { - "lex_DatasetDetailResponse": lex_DatasetDetailResponse_output, - "lex_DatasetResponse": lex_DatasetResponse_output, - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_LogField": lex_LogField_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetDetailResponse": lex_DatasetDetailResponse, + "lex_DatasetResponse": lex_DatasetResponse, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_LogField": lex_LogField, + "lex_V4Error-2": lex_V4Error$$2, }, }, annotations: { @@ -507,12 +560,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lex_DatasetDetailResponse": lex_DatasetDetailResponse_output, - "lex_DatasetResponse": lex_DatasetResponse_output, - "lex_DatasetSummary": lex_DatasetSummary_output, - "lex_ErrorResponse-2": lex_ErrorResponse_2_output, - "lex_LogField": lex_LogField_output, - "lex_V4Error-2": lex_V4Error_2_output, + "lex_DatasetDetailResponse": lex_DatasetDetailResponse, + "lex_DatasetResponse": lex_DatasetResponse, + "lex_DatasetSummary": lex_DatasetSummary, + "lex_ErrorResponse-2": lex_ErrorResponse$$2, + "lex_LogField": lex_LogField, + "lex_V4Error-2": lex_V4Error$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logs/list/tools.ts b/src/generated/forge-mcp/logs/list/tools.ts index 1c808feb5..30ea0b339 100644 --- a/src/generated/forge-mcp/logs/list/tools.ts +++ b/src/generated/forge-mcp/logs/list/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { logpull_AccessKeyId, logpull_AccountId, @@ -23,44 +23,68 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpull_AccountId", - "description": "Cloudflare account ID (32-character hex string)." - }, - "bucket": { - "$ref": "#/$defs/logpull_Bucket", - "description": "R2 bucket name." - }, - "end": { - "$ref": "#/$defs/logpull_TimestampRFC3339", - "description": "End time in RFC3339 format." - }, - "limit": { - "$ref": "#/$defs/logpull_Limit", - "description": "Maximum number of results to return." - }, - "prefix": { - "$ref": "#/$defs/logpull_Prefix", - "description": "R2 bucket prefix logs are stored under." - }, - "r2_access_key_id": { - "$ref": "#/$defs/logpull_AccessKeyId" + "headers": { + "properties": { + "R2-Access-Key-Id": { + "$ref": "#/$defs/logpull_AccessKeyId" + }, + "R2-Secret-Access-Key": { + "$ref": "#/$defs/logpull_SecretAccessKey" + } + }, + "required": [ + "R2-Access-Key-Id", + "R2-Secret-Access-Key" + ], + "type": "object" }, - "r2_secret_access_key": { - "$ref": "#/$defs/logpull_SecretAccessKey" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpull_AccountId", + "description": "Cloudflare account ID (32-character hex string)." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "start": { - "$ref": "#/$defs/logpull_TimestampRFC3339", - "description": "Start time in RFC3339 format." + "query": { + "properties": { + "bucket": { + "$ref": "#/$defs/logpull_Bucket", + "description": "R2 bucket name." + }, + "end": { + "$ref": "#/$defs/logpull_TimestampRFC3339", + "description": "End time in RFC3339 format." + }, + "limit": { + "$ref": "#/$defs/logpull_Limit", + "description": "Maximum number of results to return." + }, + "prefix": { + "$ref": "#/$defs/logpull_Prefix", + "description": "R2 bucket prefix logs are stored under." + }, + "start": { + "$ref": "#/$defs/logpull_TimestampRFC3339", + "description": "Start time in RFC3339 format." + } + }, + "required": [ + "start", + "end", + "bucket" + ], + "type": "object" } }, required: [ - "account_id", - "start", - "end", - "bucket", - "r2_access_key_id", - "r2_secret_access_key" + "path", + "query", + "headers" ], $defs: { "logpull_AccessKeyId": logpull_AccessKeyId, @@ -232,15 +256,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/list`, query: [ - ["start", args["start"], true], - ["end", args["end"], true], - ["bucket", args["bucket"], true], - ["prefix", args["prefix"], true], - ["limit", args["limit"], true], + ["start", param(args, "query", "start"), true], + ["end", param(args, "query", "end"), true], + ["bucket", param(args, "query", "bucket"), true], + ["prefix", param(args, "query", "prefix"), true], + ["limit", param(args, "query", "limit"), true], ], headers: [ - ["R2-Access-Key-Id", args["r2_access_key_id"]], - ["R2-Secret-Access-Key", args["r2_secret_access_key"]], + ["R2-Access-Key-Id", param(args, "headers", "R2-Access-Key-Id")], + ["R2-Secret-Access-Key", param(args, "headers", "R2-Secret-Access-Key")], ], }), }, diff --git a/src/generated/forge-mcp/logs/outputs.ts b/src/generated/forge-mcp/logs/outputs.ts index 95c7bd143..f3b147ad9 100644 --- a/src/generated/forge-mcp/logs/outputs.ts +++ b/src/generated/forge-mcp/logs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `logshare_api-response-common-failure` in responses. */ -export const logshare_api_response_common_failure_output: JsonSchema = { +export const logshare_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/logshare_messages" @@ -36,7 +36,7 @@ export const logshare_api_response_common_failure_output: JsonSchema = { /** * The schema of `logshare_logs_response_json_lines` in responses. */ -export const logshare_logs_response_json_lines_output: JsonSchema = { +export const logshare_logs_response_json_lines: JsonSchema = { "anyOf": [ { "type": "string" @@ -50,7 +50,7 @@ export const logshare_logs_response_json_lines_output: JsonSchema = { /** * The schema of `logshare_messages` in responses. */ -export const logshare_messages_output: JsonSchema = { +export const logshare_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/logs/rayid/tools.ts b/src/generated/forge-mcp/logs/rayid/tools.ts index d95e49066..4633eb21f 100644 --- a/src/generated/forge-mcp/logs/rayid/tools.ts +++ b/src/generated/forge-mcp/logs/rayid/tools.ts @@ -1,11 +1,11 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - logshare_api_response_common_failure_output, - logshare_logs_response_json_lines_output, - logshare_messages_output, + logshare_api$$response$$common$$failure, + logshare_logs_response_json_lines, + logshare_messages, } from "../outputs.js"; import { logshare_fields, @@ -25,27 +25,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "fields": { - "$ref": "#/$defs/logshare_fields", - "description": "The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most customers require only a small subset of fields, but that subset varies from customer to customer; 2. Flat schema is much easier to work with downstream (importing into BigTable etc); 3. Performance (time to process, file size). If `?fields=` is not specified, default field set is returned. This default field set may change at any time. When `?fields=` is provided, each record is returned with the specified fields. `fields` must be specified as a comma separated list without any whitespaces, and all fields must exist. The order in which fields are specified does not matter, and the order of fields in the response is not specified." + "path": { + "properties": { + "ray_id": { + "$ref": "#/$defs/logshare_ray_identifier", + "description": "Ray identifier." + }, + "zone_id": { + "$ref": "#/$defs/logshare_zone_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "ray_id" + ], + "type": "object" }, - "ray_id": { - "$ref": "#/$defs/logshare_ray_identifier", - "description": "Ray identifier." - }, - "timestamps": { - "$ref": "#/$defs/logshare_timestamps", - "default": "unixnano", - "description": "By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possible values are: `unix`, `unixnano`, `rfc3339`. Note that `unix` and `unixnano` return timestamps as integers; `rfc3339` returns timestamps as strings." - }, - "zone_id": { - "$ref": "#/$defs/logshare_zone_identifier", - "description": "Identifier." + "query": { + "properties": { + "fields": { + "$ref": "#/$defs/logshare_fields", + "description": "The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most customers require only a small subset of fields, but that subset varies from customer to customer; 2. Flat schema is much easier to work with downstream (importing into BigTable etc); 3. Performance (time to process, file size). If `?fields=` is not specified, default field set is returned. This default field set may change at any time. When `?fields=` is provided, each record is returned with the specified fields. `fields` must be specified as a comma separated list without any whitespaces, and all fields must exist. The order in which fields are specified does not matter, and the order of fields in the response is not specified." + }, + "timestamps": { + "$ref": "#/$defs/logshare_timestamps", + "default": "unixnano", + "description": "By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possible values are: `unix`, `unixnano`, `rfc3339`. Note that `unix` and `unixnano` return timestamps as integers; `rfc3339` returns timestamps as strings." + } + }, + "type": "object" } }, required: [ - "zone_id", - "ray_id" + "path" ], $defs: { "logshare_fields": logshare_fields, @@ -57,7 +70,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logshare_logs_response_json_lines", $defs: { - "logshare_logs_response_json_lines": logshare_logs_response_json_lines_output, + "logshare_logs_response_json_lines": logshare_logs_response_json_lines, }, }, annotations: { @@ -91,16 +104,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logshare_api-response-common-failure": logshare_api_response_common_failure_output, - "logshare_logs_response_json_lines": logshare_logs_response_json_lines_output, - "logshare_messages": logshare_messages_output, + "logshare_api-response-common-failure": logshare_api$$response$$common$$failure, + "logshare_logs_response_json_lines": logshare_logs_response_json_lines, + "logshare_messages": logshare_messages, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/logs/rayids/${pathParam(args, "ray_id")}`, query: [ - ["fields", args["fields"], true], - ["timestamps", args["timestamps"], true], + ["fields", param(args, "query", "fields"), true], + ["timestamps", param(args, "query", "timestamps"), true], ], }), }, diff --git a/src/generated/forge-mcp/logs/received/fields/outputs.ts b/src/generated/forge-mcp/logs/received/fields/outputs.ts index 7fdac31f3..55567e6ed 100644 --- a/src/generated/forge-mcp/logs/received/fields/outputs.ts +++ b/src/generated/forge-mcp/logs/received/fields/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `logshare_fields_response` in responses. */ -export const logshare_fields_response_output: JsonSchema = { +export const logshare_fields_response: JsonSchema = { "properties": { "key": { "type": "string" diff --git a/src/generated/forge-mcp/logs/received/fields/tools.ts b/src/generated/forge-mcp/logs/received/fields/tools.ts index de92783b0..d6a096448 100644 --- a/src/generated/forge-mcp/logs/received/fields/tools.ts +++ b/src/generated/forge-mcp/logs/received/fields/tools.ts @@ -3,11 +3,11 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - logshare_api_response_common_failure_output, - logshare_messages_output, + logshare_api$$response$$common$$failure, + logshare_messages, } from "../../outputs.js"; import { logshare_zone_identifier } from "../../schemas.js"; -import { logshare_fields_response_output } from "./outputs.js"; +import { logshare_fields_response } from "./outputs.js"; /** * The tools of `logs.received.fields`. @@ -20,13 +20,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/logshare_zone_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/logshare_zone_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "logshare_zone_identifier": logshare_zone_identifier, @@ -35,7 +43,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logshare_fields_response", $defs: { - "logshare_fields_response": logshare_fields_response_output, + "logshare_fields_response": logshare_fields_response, }, }, annotations: { @@ -69,9 +77,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logshare_api-response-common-failure": logshare_api_response_common_failure_output, - "logshare_fields_response": logshare_fields_response_output, - "logshare_messages": logshare_messages_output, + "logshare_api-response-common-failure": logshare_api$$response$$common$$failure, + "logshare_fields_response": logshare_fields_response, + "logshare_messages": logshare_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logs/received/tools.ts b/src/generated/forge-mcp/logs/received/tools.ts index 6033be0c3..1fe4766bc 100644 --- a/src/generated/forge-mcp/logs/received/tools.ts +++ b/src/generated/forge-mcp/logs/received/tools.ts @@ -1,11 +1,11 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - logshare_api_response_common_failure_output, - logshare_logs_response_json_lines_output, - logshare_messages_output, + logshare_api$$response$$common$$failure, + logshare_logs_response_json_lines, + logshare_messages, } from "../outputs.js"; import { logshare_fields, @@ -30,39 +30,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "count": { - "$ref": "#/$defs/logshare_count", - "description": "When `?count=` is provided, the response will contain up to `count` results. Since results are not sorted, you are likely to get different data for repeated requests. `count` must be an integer > 0." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/logshare_zone_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "end": { - "$ref": "#/$defs/logshare_end", - "description": "Sets the (exclusive) end of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. `end` must be at least five minutes earlier than now and must be later than `start`. Difference between `start` and `end` must be not greater than one hour." - }, - "fields": { - "$ref": "#/$defs/logshare_fields", - "description": "The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most customers require only a small subset of fields, but that subset varies from customer to customer; 2. Flat schema is much easier to work with downstream (importing into BigTable etc); 3. Performance (time to process, file size). If `?fields=` is not specified, default field set is returned. This default field set may change at any time. When `?fields=` is provided, each record is returned with the specified fields. `fields` must be specified as a comma separated list without any whitespaces, and all fields must exist. The order in which fields are specified does not matter, and the order of fields in the response is not specified." - }, - "sample": { - "$ref": "#/$defs/logshare_sample", - "description": "When `?sample=` is provided, a sample of matching records is returned. If `sample=0.1` then 10% of records will be returned. Sampling is random: repeated calls will not only return different records, but likely will also vary slightly in number of returned records. When `?count=` is also specified, `count` is applied to the number of returned records, not the sampled records. So, with `sample=0.05` and `count=7`, when there is a total of 100 records available, approximately five will be returned. When there are 1000 records, seven will be returned. When there are 10,000 records, seven will be returned." - }, - "start": { - "$ref": "#/$defs/logshare_start", - "description": "Sets the (inclusive) beginning of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. At this point in time, it cannot exceed a time in the past greater than seven days." - }, - "timestamps": { - "$ref": "#/$defs/logshare_timestamps", - "default": "unixnano", - "description": "By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possible values are: `unix`, `unixnano`, `rfc3339`. Note that `unix` and `unixnano` return timestamps as integers; `rfc3339` returns timestamps as strings." - }, - "zone_id": { - "$ref": "#/$defs/logshare_zone_identifier", - "description": "Identifier." + "query": { + "properties": { + "count": { + "$ref": "#/$defs/logshare_count", + "description": "When `?count=` is provided, the response will contain up to `count` results. Since results are not sorted, you are likely to get different data for repeated requests. `count` must be an integer > 0." + }, + "end": { + "$ref": "#/$defs/logshare_end", + "description": "Sets the (exclusive) end of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. `end` must be at least five minutes earlier than now and must be later than `start`. Difference between `start` and `end` must be not greater than one hour." + }, + "fields": { + "$ref": "#/$defs/logshare_fields", + "description": "The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most customers require only a small subset of fields, but that subset varies from customer to customer; 2. Flat schema is much easier to work with downstream (importing into BigTable etc); 3. Performance (time to process, file size). If `?fields=` is not specified, default field set is returned. This default field set may change at any time. When `?fields=` is provided, each record is returned with the specified fields. `fields` must be specified as a comma separated list without any whitespaces, and all fields must exist. The order in which fields are specified does not matter, and the order of fields in the response is not specified." + }, + "sample": { + "$ref": "#/$defs/logshare_sample", + "description": "When `?sample=` is provided, a sample of matching records is returned. If `sample=0.1` then 10% of records will be returned. Sampling is random: repeated calls will not only return different records, but likely will also vary slightly in number of returned records. When `?count=` is also specified, `count` is applied to the number of returned records, not the sampled records. So, with `sample=0.05` and `count=7`, when there is a total of 100 records available, approximately five will be returned. When there are 1000 records, seven will be returned. When there are 10,000 records, seven will be returned." + }, + "start": { + "$ref": "#/$defs/logshare_start", + "description": "Sets the (inclusive) beginning of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. At this point in time, it cannot exceed a time in the past greater than seven days." + }, + "timestamps": { + "$ref": "#/$defs/logshare_timestamps", + "default": "unixnano", + "description": "By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possible values are: `unix`, `unixnano`, `rfc3339`. Note that `unix` and `unixnano` return timestamps as integers; `rfc3339` returns timestamps as strings." + } + }, + "required": [ + "end" + ], + "type": "object" } }, required: [ - "zone_id", - "end" + "path", + "query" ], $defs: { "logshare_count": logshare_count, @@ -77,7 +93,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/logshare_logs_response_json_lines", $defs: { - "logshare_logs_response_json_lines": logshare_logs_response_json_lines_output, + "logshare_logs_response_json_lines": logshare_logs_response_json_lines, }, }, annotations: { @@ -116,20 +132,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logshare_api-response-common-failure": logshare_api_response_common_failure_output, - "logshare_logs_response_json_lines": logshare_logs_response_json_lines_output, - "logshare_messages": logshare_messages_output, + "logshare_api-response-common-failure": logshare_api$$response$$common$$failure, + "logshare_logs_response_json_lines": logshare_logs_response_json_lines, + "logshare_messages": logshare_messages, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/logs/received`, query: [ - ["start", args["start"], true], - ["end", args["end"], true], - ["fields", args["fields"], true], - ["sample", args["sample"], true], - ["count", args["count"], true], - ["timestamps", args["timestamps"], true], + ["start", param(args, "query", "start"), true], + ["end", param(args, "query", "end"), true], + ["fields", param(args, "query", "fields"), true], + ["sample", param(args, "query", "sample"), true], + ["count", param(args, "query", "count"), true], + ["timestamps", param(args, "query", "timestamps"), true], ], }), }, diff --git a/src/generated/forge-mcp/logs/retrieve/tools.ts b/src/generated/forge-mcp/logs/retrieve/tools.ts index d3791896d..38640b153 100644 --- a/src/generated/forge-mcp/logs/retrieve/tools.ts +++ b/src/generated/forge-mcp/logs/retrieve/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { logpull_AccessKeyId, logpull_AccountId, @@ -22,40 +22,64 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/logpull_AccountId", - "description": "Cloudflare account ID (32-character hex string)." - }, - "bucket": { - "$ref": "#/$defs/logpull_Bucket", - "description": "R2 bucket name." - }, - "end": { - "$ref": "#/$defs/logpull_TimestampRFC3339", - "description": "End time in RFC3339 format." - }, - "prefix": { - "$ref": "#/$defs/logpull_Prefix", - "description": "R2 bucket prefix logs are stored under." - }, - "r2_access_key_id": { - "$ref": "#/$defs/logpull_AccessKeyId" + "headers": { + "properties": { + "R2-Access-Key-Id": { + "$ref": "#/$defs/logpull_AccessKeyId" + }, + "R2-Secret-Access-Key": { + "$ref": "#/$defs/logpull_SecretAccessKey" + } + }, + "required": [ + "R2-Access-Key-Id", + "R2-Secret-Access-Key" + ], + "type": "object" }, - "r2_secret_access_key": { - "$ref": "#/$defs/logpull_SecretAccessKey" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/logpull_AccountId", + "description": "Cloudflare account ID (32-character hex string)." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "start": { - "$ref": "#/$defs/logpull_TimestampRFC3339", - "description": "Start time in RFC3339 format." + "query": { + "properties": { + "bucket": { + "$ref": "#/$defs/logpull_Bucket", + "description": "R2 bucket name." + }, + "end": { + "$ref": "#/$defs/logpull_TimestampRFC3339", + "description": "End time in RFC3339 format." + }, + "prefix": { + "$ref": "#/$defs/logpull_Prefix", + "description": "R2 bucket prefix logs are stored under." + }, + "start": { + "$ref": "#/$defs/logpull_TimestampRFC3339", + "description": "Start time in RFC3339 format." + } + }, + "required": [ + "start", + "end", + "bucket" + ], + "type": "object" } }, required: [ - "account_id", - "start", - "end", - "bucket", - "r2_access_key_id", - "r2_secret_access_key" + "path", + "query", + "headers" ], $defs: { "logpull_AccessKeyId": logpull_AccessKeyId, @@ -167,14 +191,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/logs/retrieve`, query: [ - ["start", args["start"], true], - ["end", args["end"], true], - ["bucket", args["bucket"], true], - ["prefix", args["prefix"], true], + ["start", param(args, "query", "start"), true], + ["end", param(args, "query", "end"), true], + ["bucket", param(args, "query", "bucket"), true], + ["prefix", param(args, "query", "prefix"), true], ], headers: [ - ["R2-Access-Key-Id", args["r2_access_key_id"]], - ["R2-Secret-Access-Key", args["r2_secret_access_key"]], + ["R2-Access-Key-Id", param(args, "headers", "R2-Access-Key-Id")], + ["R2-Secret-Access-Key", param(args, "headers", "R2-Secret-Access-Key")], ], }), }, diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts index 7aae2cdd2..699794c7f 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts @@ -3,59 +3,67 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_visibility_mnm_api_response_common_failure_output, - magic_visibility_mnm_api_response_common_output, - magic_visibility_mnm_api_response_single_output, - magic_visibility_mnm_messages_output, + magic$$visibility$$mnm_api$$response$$common, + magic$$visibility$$mnm_api$$response$$common$$failure, + magic$$visibility$$mnm_api$$response$$single, + magic$$visibility$$mnm_messages, } from "../../outputs.js"; -import { magic_visibility_mnm_account_identifier } from "../../schemas.js"; +import { magic$$visibility$$mnm_account_identifier } from "../../schemas.js"; import { - magic_visibility_mnm_mnm_config_default_sampling_output, - magic_visibility_mnm_mnm_config_name_output, - magic_visibility_mnm_mnm_config_output, - magic_visibility_mnm_mnm_config_router_ip_output, - magic_visibility_mnm_mnm_config_router_ips_output, - magic_visibility_mnm_mnm_config_single_response_output, - magic_visibility_mnm_mnm_config_warp_device_output, - magic_visibility_mnm_mnm_config_warp_devices_output, + magic$$visibility$$mnm_mnm_config, + magic$$visibility$$mnm_mnm_config_default_sampling, + magic$$visibility$$mnm_mnm_config_name, + magic$$visibility$$mnm_mnm_config_router_ip, + magic$$visibility$$mnm_mnm_config_router_ips, + magic$$visibility$$mnm_mnm_config_single_response, + magic$$visibility$$mnm_mnm_config_warp_device, + magic$$visibility$$mnm_mnm_config_warp_devices, } from "../outputs.js"; /** - * The tools of `magic_network_monitoring.configs.full`. + * The tools of `magicNetworkMonitoring.configs.full`. */ export const tools: readonly Tool[] = [ { - name: "magic_network_monitoring_configs_full_get", + name: "magicNetworkMonitoring_configs_full_get", title: "List rules and account configuration", description: "Lists default sampling, router IPs, warp devices, and rules for account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, annotations: { @@ -91,18 +99,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts index b884b50cb..3b1e63aa7 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-visibility-mnm_mnm_config` in responses. */ -export const magic_visibility_mnm_mnm_config_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config: JsonSchema = { "properties": { "default_sampling": { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_default_sampling" @@ -34,28 +34,28 @@ export const magic_visibility_mnm_mnm_config_output: JsonSchema = { * The schema of `magic-visibility-mnm_mnm_config_default_sampling` in * responses. */ -export const magic_visibility_mnm_mnm_config_default_sampling_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_default_sampling: JsonSchema = { "type": "number" }; /** * The schema of `magic-visibility-mnm_mnm_config_name` in responses. */ -export const magic_visibility_mnm_mnm_config_name_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_name: JsonSchema = { "type": "string" }; /** * The schema of `magic-visibility-mnm_mnm_config_router_ip` in responses. */ -export const magic_visibility_mnm_mnm_config_router_ip_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_router_ip: JsonSchema = { "type": "string" }; /** * The schema of `magic-visibility-mnm_mnm_config_router_ips` in responses. */ -export const magic_visibility_mnm_mnm_config_router_ips_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_router_ips: JsonSchema = { "items": { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ip" }, @@ -65,7 +65,7 @@ export const magic_visibility_mnm_mnm_config_router_ips_output: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_config_single_response` in responses. */ -export const magic_visibility_mnm_mnm_config_single_response_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-mnm_api-response-single" @@ -84,7 +84,7 @@ export const magic_visibility_mnm_mnm_config_single_response_output: JsonSchema /** * The schema of `magic-visibility-mnm_mnm_config_warp_device` in responses. */ -export const magic_visibility_mnm_mnm_config_warp_device_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_warp_device: JsonSchema = { "properties": { "id": { "type": "string" @@ -107,7 +107,7 @@ export const magic_visibility_mnm_mnm_config_warp_device_output: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_config_warp_devices` in responses. */ -export const magic_visibility_mnm_mnm_config_warp_devices_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_warp_devices: JsonSchema = { "items": { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_warp_device" }, diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/schemas.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/schemas.ts index b2076f895..0472e4333 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/schemas.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-visibility-mnm_mnm_config_default_sampling`. */ -export const magic_visibility_mnm_mnm_config_default_sampling: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_default_sampling: JsonSchema = { "description": "Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.", "type": "number" }; @@ -14,7 +14,7 @@ export const magic_visibility_mnm_mnm_config_default_sampling: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_config_name`. */ -export const magic_visibility_mnm_mnm_config_name: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_name: JsonSchema = { "description": "The account name.", "type": "string" }; @@ -22,7 +22,7 @@ export const magic_visibility_mnm_mnm_config_name: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_config_router_ip`. */ -export const magic_visibility_mnm_mnm_config_router_ip: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_router_ip: JsonSchema = { "description": "IPv4 CIDR of the router sourcing flow data. Only /32 addresses are currently supported.", "type": "string" }; @@ -30,7 +30,7 @@ export const magic_visibility_mnm_mnm_config_router_ip: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_config_router_ips`. */ -export const magic_visibility_mnm_mnm_config_router_ips: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_router_ips: JsonSchema = { "items": { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ip" }, @@ -40,7 +40,7 @@ export const magic_visibility_mnm_mnm_config_router_ips: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_config_warp_device`. */ -export const magic_visibility_mnm_mnm_config_warp_device: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_warp_device: JsonSchema = { "description": "Object representing a warp device with an ID and name.", "properties": { "id": { @@ -67,7 +67,7 @@ export const magic_visibility_mnm_mnm_config_warp_device: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_config_warp_devices`. */ -export const magic_visibility_mnm_mnm_config_warp_devices: JsonSchema = { +export const magic$$visibility$$mnm_mnm_config_warp_devices: JsonSchema = { "items": { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_warp_device" }, diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts index bdae0eb05..77a028253 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts @@ -3,45 +3,42 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_visibility_mnm_api_response_common_failure_output, - magic_visibility_mnm_api_response_common_output, - magic_visibility_mnm_api_response_single_output, - magic_visibility_mnm_messages_output, + magic$$visibility$$mnm_api$$response$$common, + magic$$visibility$$mnm_api$$response$$common$$failure, + magic$$visibility$$mnm_api$$response$$single, + magic$$visibility$$mnm_messages, } from "../outputs.js"; -import { magic_visibility_mnm_account_identifier } from "../schemas.js"; +import { magic$$visibility$$mnm_account_identifier } from "../schemas.js"; import { - magic_visibility_mnm_mnm_config_default_sampling_output, - magic_visibility_mnm_mnm_config_name_output, - magic_visibility_mnm_mnm_config_output, - magic_visibility_mnm_mnm_config_router_ip_output, - magic_visibility_mnm_mnm_config_router_ips_output, - magic_visibility_mnm_mnm_config_single_response_output, - magic_visibility_mnm_mnm_config_warp_device_output, - magic_visibility_mnm_mnm_config_warp_devices_output, + magic$$visibility$$mnm_mnm_config, + magic$$visibility$$mnm_mnm_config_default_sampling, + magic$$visibility$$mnm_mnm_config_name, + magic$$visibility$$mnm_mnm_config_router_ip, + magic$$visibility$$mnm_mnm_config_router_ips, + magic$$visibility$$mnm_mnm_config_single_response, + magic$$visibility$$mnm_mnm_config_warp_device, + magic$$visibility$$mnm_mnm_config_warp_devices, } from "./outputs.js"; import { - magic_visibility_mnm_mnm_config_default_sampling, - magic_visibility_mnm_mnm_config_name, - magic_visibility_mnm_mnm_config_router_ip, - magic_visibility_mnm_mnm_config_router_ips, - magic_visibility_mnm_mnm_config_warp_device, - magic_visibility_mnm_mnm_config_warp_devices, + magic$$visibility$$mnm_mnm_config_default_sampling as magic$$visibility$$mnm_mnm_config_default_sampling$, + magic$$visibility$$mnm_mnm_config_name as magic$$visibility$$mnm_mnm_config_name$, + magic$$visibility$$mnm_mnm_config_router_ip as magic$$visibility$$mnm_mnm_config_router_ip$, + magic$$visibility$$mnm_mnm_config_router_ips as magic$$visibility$$mnm_mnm_config_router_ips$, + magic$$visibility$$mnm_mnm_config_warp_device as magic$$visibility$$mnm_mnm_config_warp_device$, + magic$$visibility$$mnm_mnm_config_warp_devices as magic$$visibility$$mnm_mnm_config_warp_devices$, } from "./schemas.js"; /** - * The tools of `magic_network_monitoring.configs`. + * The tools of `magicNetworkMonitoring.configs`. */ export const tools: readonly Tool[] = [ { - name: "magic_network_monitoring_configs_create", + name: "magicNetworkMonitoring_configs_create", title: "Create account configuration", description: "Create a new network monitoring configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, "body": { "properties": { "default_sampling": { @@ -65,36 +62,47 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling$, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name$, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip$, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips$, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device$, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, annotations: { @@ -128,18 +136,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, request: (args) => ({ @@ -148,37 +156,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_configs_delete", + name: "magicNetworkMonitoring_configs_delete", title: "Delete account configuration", description: "Delete an existing network monitoring configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, annotations: { @@ -212,18 +228,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, request: (args) => ({ @@ -231,15 +247,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_configs_edit", + name: "magicNetworkMonitoring_configs_edit", title: "Update account configuration fields", description: "Update fields in an existing network monitoring configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, "body": { "properties": { "default_sampling": { @@ -259,36 +272,47 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling$, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name$, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip$, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips$, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device$, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, annotations: { @@ -323,18 +347,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, request: (args) => ({ @@ -343,37 +367,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_configs_get", + name: "magicNetworkMonitoring_configs_get", title: "List account configuration", description: "Lists default sampling, router IPs and warp devices for account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, annotations: { @@ -409,18 +441,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, request: (args) => ({ @@ -428,15 +460,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_configs_update", + name: "magicNetworkMonitoring_configs_update", title: "Update an entire account configuration", description: "Update an existing network monitoring configuration, requires the entire configuration to be updated at once.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, "body": { "properties": { "default_sampling": { @@ -460,36 +489,47 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling$, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name$, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip$, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips$, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device$, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, annotations: { @@ -524,18 +564,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_config": magic_visibility_mnm_mnm_config_output, - "magic-visibility-mnm_mnm_config_default_sampling": magic_visibility_mnm_mnm_config_default_sampling_output, - "magic-visibility-mnm_mnm_config_name": magic_visibility_mnm_mnm_config_name_output, - "magic-visibility-mnm_mnm_config_router_ip": magic_visibility_mnm_mnm_config_router_ip_output, - "magic-visibility-mnm_mnm_config_router_ips": magic_visibility_mnm_mnm_config_router_ips_output, - "magic-visibility-mnm_mnm_config_single_response": magic_visibility_mnm_mnm_config_single_response_output, - "magic-visibility-mnm_mnm_config_warp_device": magic_visibility_mnm_mnm_config_warp_device_output, - "magic-visibility-mnm_mnm_config_warp_devices": magic_visibility_mnm_mnm_config_warp_devices_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, + "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, + "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, + "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, + "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, + "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, + "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, + "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/outputs.ts index 0d195e0fc..2506c8be9 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/outputs.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `magic-visibility-mnm_api-response-common` in responses. */ -export const magic_visibility_mnm_api_response_common_output: JsonSchema = { +export const magic$$visibility$$mnm_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic-visibility-mnm_messages" @@ -48,7 +48,7 @@ export const magic_visibility_mnm_api_response_common_output: JsonSchema = { * The schema of `magic-visibility-mnm_api-response-common-failure` in * responses. */ -export const magic_visibility_mnm_api_response_common_failure_output: JsonSchema = { +export const magic$$visibility$$mnm_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic-visibility-mnm_messages" @@ -78,7 +78,7 @@ export const magic_visibility_mnm_api_response_common_failure_output: JsonSchema /** * The schema of `magic-visibility-mnm_api-response-single` in responses. */ -export const magic_visibility_mnm_api_response_single_output: JsonSchema = { +export const magic$$visibility$$mnm_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-mnm_api-response-common" @@ -107,7 +107,7 @@ export const magic_visibility_mnm_api_response_single_output: JsonSchema = { /** * The schema of `magic-visibility-mnm_messages` in responses. */ -export const magic_visibility_mnm_messages_output: JsonSchema = { +export const magic$$visibility$$mnm_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts index bbdb289c7..41033a41e 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `magic-visibility-mnm_mnm_rule_advertisable_response` in * responses. */ -export const magic_visibility_mnm_mnm_rule_advertisable_response_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_advertisable_response: JsonSchema = { "oneOf": [ { "properties": { @@ -30,7 +30,7 @@ export const magic_visibility_mnm_mnm_rule_advertisable_response_output: JsonSch * The schema of `magic-visibility-mnm_mnm_rule_advertisement_single_response` * in responses. */ -export const magic_visibility_mnm_mnm_rule_advertisement_single_response_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_advertisement_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-mnm_api-response-single" diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts index 5c76a50dd..827e9d359 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts @@ -3,56 +3,64 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_visibility_mnm_api_response_common_failure_output, - magic_visibility_mnm_api_response_common_output, - magic_visibility_mnm_api_response_single_output, - magic_visibility_mnm_messages_output, + magic$$visibility$$mnm_api$$response$$common, + magic$$visibility$$mnm_api$$response$$common$$failure, + magic$$visibility$$mnm_api$$response$$single, + magic$$visibility$$mnm_messages, } from "../../outputs.js"; -import { magic_visibility_mnm_account_identifier } from "../../schemas.js"; -import { magic_visibility_mnm_mnm_rule_automatic_advertisement_output } from "../outputs.js"; -import { magic_visibility_mnm_rule_identifier } from "../schemas.js"; +import { magic$$visibility$$mnm_account_identifier } from "../../schemas.js"; +import { magic$$visibility$$mnm_mnm_rule_automatic_advertisement } from "../outputs.js"; +import { magic$$visibility$$mnm_rule_identifier } from "../schemas.js"; import { - magic_visibility_mnm_mnm_rule_advertisable_response_output, - magic_visibility_mnm_mnm_rule_advertisement_single_response_output, + magic$$visibility$$mnm_mnm_rule_advertisable_response, + magic$$visibility$$mnm_mnm_rule_advertisement_single_response, } from "./outputs.js"; /** - * The tools of `magic_network_monitoring.rules.advertisements`. + * The tools of `magicNetworkMonitoring.rules.advertisements`. */ export const tools: readonly Tool[] = [ { - name: "magic_network_monitoring_rules_advertisements_edit", + name: "magicNetworkMonitoring_rules_advertisements_edit", title: "Update advertisement for rule", description: "Update advertisement for rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, - "rule_id": { - "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", - "description": "The id of the rule. Must be unique." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + }, + "rule_id": { + "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", + "description": "The id of the rule. Must be unique." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_advertisement_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule_advertisable_response": magic_visibility_mnm_mnm_rule_advertisable_response_output, - "magic-visibility-mnm_mnm_rule_advertisement_single_response": magic_visibility_mnm_mnm_rule_advertisement_single_response_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule_advertisable_response": magic$$visibility$$mnm_mnm_rule_advertisable_response, + "magic-visibility-mnm_mnm_rule_advertisement_single_response": magic$$visibility$$mnm_mnm_rule_advertisement_single_response, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, }, }, annotations: { @@ -87,13 +95,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule_advertisable_response": magic_visibility_mnm_mnm_rule_advertisable_response_output, - "magic-visibility-mnm_mnm_rule_advertisement_single_response": magic_visibility_mnm_mnm_rule_advertisement_single_response_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule_advertisable_response": magic$$visibility$$mnm_mnm_rule_advertisable_response, + "magic-visibility-mnm_mnm_rule_advertisement_single_response": magic$$visibility$$mnm_mnm_rule_advertisement_single_response, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts index 916a73b4c..87149885b 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts @@ -3,58 +3,55 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_visibility_mnm_api_response_common_failure_output, - magic_visibility_mnm_api_response_common_output, - magic_visibility_mnm_messages_output, + magic$$visibility$$mnm_api$$response$$common, + magic$$visibility$$mnm_api$$response$$common$$failure, + magic$$visibility$$mnm_messages, } from "../../outputs.js"; -import { magic_visibility_mnm_account_identifier } from "../../schemas.js"; +import { magic$$visibility$$mnm_account_identifier } from "../../schemas.js"; import { - magic_visibility_mnm_api_response_collection_output, - magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - magic_visibility_mnm_mnm_rule_duration_output, - magic_visibility_mnm_mnm_rule_ip_prefix_output, - magic_visibility_mnm_mnm_rule_ip_prefixes_output, - magic_visibility_mnm_mnm_rule_name_output, - magic_visibility_mnm_mnm_rule_output, - magic_visibility_mnm_mnm_rule_packet_threshold_output, - magic_visibility_mnm_mnm_rule_prefix_match_output, - magic_visibility_mnm_mnm_rule_type_output, - magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - magic_visibility_mnm_mnm_rule_zscore_target_output, - magic_visibility_mnm_mnm_rules_collection_response_output, - magic_visibility_mnm_result_info_output, - magic_visibility_mnm_rule_identifier_output, + magic$$visibility$$mnm_api$$response$$collection, + magic$$visibility$$mnm_mnm_rule, + magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + magic$$visibility$$mnm_mnm_rule_duration, + magic$$visibility$$mnm_mnm_rule_ip_prefix, + magic$$visibility$$mnm_mnm_rule_ip_prefixes, + magic$$visibility$$mnm_mnm_rule_name, + magic$$visibility$$mnm_mnm_rule_packet_threshold, + magic$$visibility$$mnm_mnm_rule_prefix_match, + magic$$visibility$$mnm_mnm_rule_type, + magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + magic$$visibility$$mnm_mnm_rule_zscore_target, + magic$$visibility$$mnm_mnm_rules_collection_response, + magic$$visibility$$mnm_result_info, + magic$$visibility$$mnm_rule_identifier, } from "../outputs.js"; import { - magic_visibility_mnm_mnm_rule_automatic_advertisement, - magic_visibility_mnm_mnm_rule_bandwidth_threshold, - magic_visibility_mnm_mnm_rule_create, - magic_visibility_mnm_mnm_rule_duration, - magic_visibility_mnm_mnm_rule_ip_prefix, - magic_visibility_mnm_mnm_rule_ip_prefixes, - magic_visibility_mnm_mnm_rule_name, - magic_visibility_mnm_mnm_rule_packet_threshold, - magic_visibility_mnm_mnm_rule_prefix_match, - magic_visibility_mnm_mnm_rule_type, - magic_visibility_mnm_mnm_rule_zscore_sensitivity, - magic_visibility_mnm_mnm_rule_zscore_target, + magic$$visibility$$mnm_mnm_rule_automatic_advertisement as magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, + magic$$visibility$$mnm_mnm_rule_bandwidth_threshold as magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, + magic$$visibility$$mnm_mnm_rule_create, + magic$$visibility$$mnm_mnm_rule_duration as magic$$visibility$$mnm_mnm_rule_duration$, + magic$$visibility$$mnm_mnm_rule_ip_prefix as magic$$visibility$$mnm_mnm_rule_ip_prefix$, + magic$$visibility$$mnm_mnm_rule_ip_prefixes as magic$$visibility$$mnm_mnm_rule_ip_prefixes$, + magic$$visibility$$mnm_mnm_rule_name as magic$$visibility$$mnm_mnm_rule_name$, + magic$$visibility$$mnm_mnm_rule_packet_threshold as magic$$visibility$$mnm_mnm_rule_packet_threshold$, + magic$$visibility$$mnm_mnm_rule_prefix_match as magic$$visibility$$mnm_mnm_rule_prefix_match$, + magic$$visibility$$mnm_mnm_rule_type as magic$$visibility$$mnm_mnm_rule_type$, + magic$$visibility$$mnm_mnm_rule_zscore_sensitivity as magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, + magic$$visibility$$mnm_mnm_rule_zscore_target as magic$$visibility$$mnm_mnm_rule_zscore_target$, } from "../schemas.js"; /** - * The tools of `magic_network_monitoring.rules.bulk`. + * The tools of `magicNetworkMonitoring.rules.bulk`. */ export const tools: readonly Tool[] = [ { - name: "magic_network_monitoring_rules_bulk_create", + name: "magicNetworkMonitoring_rules_bulk_create", title: "Create rules in bulk", description: "Create multiple network monitoring rules for account in a single request. Supports up to 100 rules per request. All rules in a single request must be of the same type.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, "body": { "items": { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_create" @@ -62,49 +59,60 @@ export const tools: readonly Tool[] = [ "maxItems": 100, "minItems": 1, "type": "array" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_create": magic_visibility_mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, + "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_collection_response", $defs: { - "magic-visibility-mnm_api-response-collection": magic_visibility_mnm_api_response_collection_output, - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_collection_response": magic_visibility_mnm_mnm_rules_collection_response_output, - "magic-visibility-mnm_result_info": magic_visibility_mnm_result_info_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-collection": magic$$visibility$$mnm_api$$response$$collection, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, + "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -138,25 +146,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-collection": magic_visibility_mnm_api_response_collection_output, - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_collection_response": magic_visibility_mnm_mnm_rules_collection_response_output, - "magic-visibility-mnm_result_info": magic_visibility_mnm_result_info_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-collection": magic$$visibility$$mnm_api$$response$$collection, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, + "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -165,15 +173,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_rules_bulk_update", + name: "magicNetworkMonitoring_rules_bulk_update", title: "Update rules in bulk", description: "Update multiple network monitoring rules for account in a single request. Supports up to 100 rules per request. All rules in a single request must be of the same type.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, "body": { "items": { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_create" @@ -181,49 +186,60 @@ export const tools: readonly Tool[] = [ "maxItems": 100, "minItems": 1, "type": "array" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_create": magic_visibility_mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, + "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_collection_response", $defs: { - "magic-visibility-mnm_api-response-collection": magic_visibility_mnm_api_response_collection_output, - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_collection_response": magic_visibility_mnm_mnm_rules_collection_response_output, - "magic-visibility-mnm_result_info": magic_visibility_mnm_result_info_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-collection": magic$$visibility$$mnm_api$$response$$collection, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, + "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -258,25 +274,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-collection": magic_visibility_mnm_api_response_collection_output, - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_collection_response": magic_visibility_mnm_mnm_rules_collection_response_output, - "magic-visibility-mnm_result_info": magic_visibility_mnm_result_info_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-collection": magic$$visibility$$mnm_api$$response$$collection, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, + "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts index 919c24f94..aaf081e0f 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-visibility-mnm_api-response-collection` in responses. */ -export const magic_visibility_mnm_api_response_collection_output: JsonSchema = { +export const magic$$visibility$$mnm_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-mnm_api-response-common" @@ -36,7 +36,7 @@ export const magic_visibility_mnm_api_response_collection_output: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule` in responses. */ -export const magic_visibility_mnm_mnm_rule_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule: JsonSchema = { "oneOf": [ { "properties": { @@ -93,7 +93,7 @@ export const magic_visibility_mnm_mnm_rule_output: JsonSchema = { * The schema of `magic-visibility-mnm_mnm_rule_automatic_advertisement` in * responses. */ -export const magic_visibility_mnm_mnm_rule_automatic_advertisement_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_automatic_advertisement: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -108,14 +108,14 @@ export const magic_visibility_mnm_mnm_rule_automatic_advertisement_output: JsonS * The schema of `magic-visibility-mnm_mnm_rule_bandwidth_threshold` in * responses. */ -export const magic_visibility_mnm_mnm_rule_bandwidth_threshold_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_bandwidth_threshold: JsonSchema = { "type": "number" }; /** * The schema of `magic-visibility-mnm_mnm_rule_duration` in responses. */ -export const magic_visibility_mnm_mnm_rule_duration_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_duration: JsonSchema = { "enum": [ "1m", "5m", @@ -132,14 +132,14 @@ export const magic_visibility_mnm_mnm_rule_duration_output: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_ip_prefix` in responses. */ -export const magic_visibility_mnm_mnm_rule_ip_prefix_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_ip_prefix: JsonSchema = { "type": "string" }; /** * The schema of `magic-visibility-mnm_mnm_rule_ip_prefixes` in responses. */ -export const magic_visibility_mnm_mnm_rule_ip_prefixes_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_ip_prefixes: JsonSchema = { "items": { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_ip_prefix" }, @@ -149,21 +149,21 @@ export const magic_visibility_mnm_mnm_rule_ip_prefixes_output: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_name` in responses. */ -export const magic_visibility_mnm_mnm_rule_name_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_name: JsonSchema = { "type": "string" }; /** * The schema of `magic-visibility-mnm_mnm_rule_packet_threshold` in responses. */ -export const magic_visibility_mnm_mnm_rule_packet_threshold_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_packet_threshold: JsonSchema = { "type": "number" }; /** * The schema of `magic-visibility-mnm_mnm_rule_prefix_match` in responses. */ -export const magic_visibility_mnm_mnm_rule_prefix_match_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_prefix_match: JsonSchema = { "oneOf": [ { "enum": [ @@ -182,7 +182,7 @@ export const magic_visibility_mnm_mnm_rule_prefix_match_output: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_type` in responses. */ -export const magic_visibility_mnm_mnm_rule_type_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_type: JsonSchema = { "enum": [ "threshold", "zscore", @@ -195,7 +195,7 @@ export const magic_visibility_mnm_mnm_rule_type_output: JsonSchema = { * The schema of `magic-visibility-mnm_mnm_rule_zscore_sensitivity` in * responses. */ -export const magic_visibility_mnm_mnm_rule_zscore_sensitivity_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_zscore_sensitivity: JsonSchema = { "oneOf": [ { "enum": [ @@ -214,7 +214,7 @@ export const magic_visibility_mnm_mnm_rule_zscore_sensitivity_output: JsonSchema /** * The schema of `magic-visibility-mnm_mnm_rule_zscore_target` in responses. */ -export const magic_visibility_mnm_mnm_rule_zscore_target_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_zscore_target: JsonSchema = { "oneOf": [ { "enum": [ @@ -233,7 +233,7 @@ export const magic_visibility_mnm_mnm_rule_zscore_target_output: JsonSchema = { * The schema of `magic-visibility-mnm_mnm_rules_collection_response` in * responses. */ -export const magic_visibility_mnm_mnm_rules_collection_response_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rules_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-mnm_api-response-collection" @@ -262,7 +262,7 @@ export const magic_visibility_mnm_mnm_rules_collection_response_output: JsonSche /** * The schema of `magic-visibility-mnm_mnm_rules_single_response` in responses. */ -export const magic_visibility_mnm_mnm_rules_single_response_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rules_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-mnm_api-response-single" @@ -281,7 +281,7 @@ export const magic_visibility_mnm_mnm_rules_single_response_output: JsonSchema = /** * The schema of `magic-visibility-mnm_result_info` in responses. */ -export const magic_visibility_mnm_result_info_output: JsonSchema = { +export const magic$$visibility$$mnm_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -302,6 +302,6 @@ export const magic_visibility_mnm_result_info_output: JsonSchema = { /** * The schema of `magic-visibility-mnm_rule_identifier` in responses. */ -export const magic_visibility_mnm_rule_identifier_output: JsonSchema = { +export const magic$$visibility$$mnm_rule_identifier: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/schemas.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/schemas.ts index 4fb7b186d..ef480c599 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/schemas.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-visibility-mnm_mnm_rule_automatic_advertisement`. */ -export const magic_visibility_mnm_mnm_rule_automatic_advertisement: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_automatic_advertisement: JsonSchema = { "description": "Toggle on if you would like Cloudflare to automatically advertise the IP Prefixes within the rule via Magic Transit when the rule is triggered. Only available for users of Magic Transit.", "oneOf": [ { @@ -21,7 +21,7 @@ export const magic_visibility_mnm_mnm_rule_automatic_advertisement: JsonSchema = /** * The schema of `magic-visibility-mnm_mnm_rule_bandwidth_threshold`. */ -export const magic_visibility_mnm_mnm_rule_bandwidth_threshold: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_bandwidth_threshold: JsonSchema = { "description": "The number of bits per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum.", "type": "number" }; @@ -29,7 +29,7 @@ export const magic_visibility_mnm_mnm_rule_bandwidth_threshold: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_create`. */ -export const magic_visibility_mnm_mnm_rule_create: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_create: JsonSchema = { "oneOf": [ { "properties": { @@ -91,7 +91,7 @@ export const magic_visibility_mnm_mnm_rule_create: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_duration`. */ -export const magic_visibility_mnm_mnm_rule_duration: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_duration: JsonSchema = { "description": "The amount of time that the rule threshold must be exceeded to send an alert notification. The final value must be equivalent to one of the following 8 values [\"1m\",\"5m\",\"10m\",\"15m\",\"20m\",\"30m\",\"45m\",\"60m\"].", "enum": [ "1m", @@ -109,7 +109,7 @@ export const magic_visibility_mnm_mnm_rule_duration: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_ip_prefix`. */ -export const magic_visibility_mnm_mnm_rule_ip_prefix: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_ip_prefix: JsonSchema = { "description": "The IP prefixes that are monitored for this rule. Must be a CIDR range like 203.0.113.0/24. Max 5000 different CIDR ranges.", "type": "string" }; @@ -117,7 +117,7 @@ export const magic_visibility_mnm_mnm_rule_ip_prefix: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_ip_prefixes`. */ -export const magic_visibility_mnm_mnm_rule_ip_prefixes: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_ip_prefixes: JsonSchema = { "items": { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_ip_prefix" }, @@ -127,7 +127,7 @@ export const magic_visibility_mnm_mnm_rule_ip_prefixes: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_name`. */ -export const magic_visibility_mnm_mnm_rule_name: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_name: JsonSchema = { "description": "The name of the rule. Must be unique. Supports characters A-Z, a-z, 0-9, underscore (_), dash (-), period (.), and tilde (~). You can’t have a space in the rule name. Max 256 characters.", "type": "string" }; @@ -135,7 +135,7 @@ export const magic_visibility_mnm_mnm_rule_name: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_packet_threshold`. */ -export const magic_visibility_mnm_mnm_rule_packet_threshold: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_packet_threshold: JsonSchema = { "description": "The number of packets per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum.", "type": "number" }; @@ -143,7 +143,7 @@ export const magic_visibility_mnm_mnm_rule_packet_threshold: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_prefix_match`. */ -export const magic_visibility_mnm_mnm_rule_prefix_match: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_prefix_match: JsonSchema = { "description": "Prefix match type to be applied for a prefix auto advertisement when using an advanced_ddos rule.", "oneOf": [ { @@ -163,7 +163,7 @@ export const magic_visibility_mnm_mnm_rule_prefix_match: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_type`. */ -export const magic_visibility_mnm_mnm_rule_type: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_type: JsonSchema = { "description": "MNM rule type.", "enum": [ "threshold", @@ -176,7 +176,7 @@ export const magic_visibility_mnm_mnm_rule_type: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_zscore_sensitivity`. */ -export const magic_visibility_mnm_mnm_rule_zscore_sensitivity: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_zscore_sensitivity: JsonSchema = { "description": "Level of sensitivity set for zscore rules.", "oneOf": [ { @@ -196,7 +196,7 @@ export const magic_visibility_mnm_mnm_rule_zscore_sensitivity: JsonSchema = { /** * The schema of `magic-visibility-mnm_mnm_rule_zscore_target`. */ -export const magic_visibility_mnm_mnm_rule_zscore_target: JsonSchema = { +export const magic$$visibility$$mnm_mnm_rule_zscore_target: JsonSchema = { "description": "Target of the zscore rule analysis.", "oneOf": [ { @@ -215,7 +215,7 @@ export const magic_visibility_mnm_mnm_rule_zscore_target: JsonSchema = { /** * The schema of `magic-visibility-mnm_rule_identifier`. */ -export const magic_visibility_mnm_rule_identifier: JsonSchema = { +export const magic$$visibility$$mnm_rule_identifier: JsonSchema = { "description": "The id of the rule. Must be unique.", "type": "string" }; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts index d213efbe3..d776a4a1d 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts @@ -3,105 +3,113 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_visibility_mnm_api_response_common_failure_output, - magic_visibility_mnm_api_response_common_output, - magic_visibility_mnm_api_response_single_output, - magic_visibility_mnm_messages_output, + magic$$visibility$$mnm_api$$response$$common, + magic$$visibility$$mnm_api$$response$$common$$failure, + magic$$visibility$$mnm_api$$response$$single, + magic$$visibility$$mnm_messages, } from "../outputs.js"; -import { magic_visibility_mnm_account_identifier } from "../schemas.js"; +import { magic$$visibility$$mnm_account_identifier } from "../schemas.js"; import { - magic_visibility_mnm_api_response_collection_output, - magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - magic_visibility_mnm_mnm_rule_duration_output, - magic_visibility_mnm_mnm_rule_ip_prefix_output, - magic_visibility_mnm_mnm_rule_ip_prefixes_output, - magic_visibility_mnm_mnm_rule_name_output, - magic_visibility_mnm_mnm_rule_output, - magic_visibility_mnm_mnm_rule_packet_threshold_output, - magic_visibility_mnm_mnm_rule_prefix_match_output, - magic_visibility_mnm_mnm_rule_type_output, - magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - magic_visibility_mnm_mnm_rule_zscore_target_output, - magic_visibility_mnm_mnm_rules_collection_response_output, - magic_visibility_mnm_mnm_rules_single_response_output, - magic_visibility_mnm_result_info_output, - magic_visibility_mnm_rule_identifier_output, + magic$$visibility$$mnm_api$$response$$collection, + magic$$visibility$$mnm_mnm_rule, + magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + magic$$visibility$$mnm_mnm_rule_duration, + magic$$visibility$$mnm_mnm_rule_ip_prefix, + magic$$visibility$$mnm_mnm_rule_ip_prefixes, + magic$$visibility$$mnm_mnm_rule_name, + magic$$visibility$$mnm_mnm_rule_packet_threshold, + magic$$visibility$$mnm_mnm_rule_prefix_match, + magic$$visibility$$mnm_mnm_rule_type, + magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + magic$$visibility$$mnm_mnm_rule_zscore_target, + magic$$visibility$$mnm_mnm_rules_collection_response, + magic$$visibility$$mnm_mnm_rules_single_response, + magic$$visibility$$mnm_result_info, + magic$$visibility$$mnm_rule_identifier, } from "./outputs.js"; import { - magic_visibility_mnm_mnm_rule_automatic_advertisement, - magic_visibility_mnm_mnm_rule_bandwidth_threshold, - magic_visibility_mnm_mnm_rule_create, - magic_visibility_mnm_mnm_rule_duration, - magic_visibility_mnm_mnm_rule_ip_prefix, - magic_visibility_mnm_mnm_rule_ip_prefixes, - magic_visibility_mnm_mnm_rule_name, - magic_visibility_mnm_mnm_rule_packet_threshold, - magic_visibility_mnm_mnm_rule_prefix_match, - magic_visibility_mnm_mnm_rule_type, - magic_visibility_mnm_mnm_rule_zscore_sensitivity, - magic_visibility_mnm_mnm_rule_zscore_target, - magic_visibility_mnm_rule_identifier, + magic$$visibility$$mnm_mnm_rule_automatic_advertisement as magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, + magic$$visibility$$mnm_mnm_rule_bandwidth_threshold as magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, + magic$$visibility$$mnm_mnm_rule_create, + magic$$visibility$$mnm_mnm_rule_duration as magic$$visibility$$mnm_mnm_rule_duration$, + magic$$visibility$$mnm_mnm_rule_ip_prefix as magic$$visibility$$mnm_mnm_rule_ip_prefix$, + magic$$visibility$$mnm_mnm_rule_ip_prefixes as magic$$visibility$$mnm_mnm_rule_ip_prefixes$, + magic$$visibility$$mnm_mnm_rule_name as magic$$visibility$$mnm_mnm_rule_name$, + magic$$visibility$$mnm_mnm_rule_packet_threshold as magic$$visibility$$mnm_mnm_rule_packet_threshold$, + magic$$visibility$$mnm_mnm_rule_prefix_match as magic$$visibility$$mnm_mnm_rule_prefix_match$, + magic$$visibility$$mnm_mnm_rule_type as magic$$visibility$$mnm_mnm_rule_type$, + magic$$visibility$$mnm_mnm_rule_zscore_sensitivity as magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, + magic$$visibility$$mnm_mnm_rule_zscore_target as magic$$visibility$$mnm_mnm_rule_zscore_target$, + magic$$visibility$$mnm_rule_identifier as magic$$visibility$$mnm_rule_identifier$, } from "./schemas.js"; /** - * The tools of `magic_network_monitoring.rules`. + * The tools of `magicNetworkMonitoring.rules`. */ export const tools: readonly Tool[] = [ { - name: "magic_network_monitoring_rules_create", + name: "magicNetworkMonitoring_rules_create", title: "Create rules", description: "Create network monitoring rules for account. Currently only supports creating a single rule per API request.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, "body": { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_create" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_create": magic_visibility_mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, + "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -135,24 +143,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -161,49 +169,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_rules_delete", + name: "magicNetworkMonitoring_rules_delete", title: "Delete rule", description: "Delete a network monitoring rule for account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, - "rule_id": { - "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", - "description": "The id of the rule. Must be unique." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + }, + "rule_id": { + "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", + "description": "The id of the rule. Must be unique." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -237,24 +253,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -262,65 +278,73 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_rules_edit", + name: "magicNetworkMonitoring_rules_edit", title: "Update rule", description: "Update a network monitoring rule for account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, "body": { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_create" }, - "rule_id": { - "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", - "description": "The id of the rule. Must be unique." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + }, + "rule_id": { + "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", + "description": "The id of the rule. Must be unique." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id", + "path", "body" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_create": magic_visibility_mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, + "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -355,24 +379,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -381,49 +405,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_rules_get", + name: "magicNetworkMonitoring_rules_get", title: "Get rule", description: "List a single network monitoring rule for account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, - "rule_id": { - "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", - "description": "The id of the rule. Must be unique." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + }, + "rule_id": { + "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", + "description": "The id of the rule. Must be unique." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -459,24 +491,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -484,44 +516,52 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_rules_list", + name: "magicNetworkMonitoring_rules_list", title: "List rules", description: "Lists network monitoring rules for account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_collection_response", $defs: { - "magic-visibility-mnm_api-response-collection": magic_visibility_mnm_api_response_collection_output, - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_collection_response": magic_visibility_mnm_mnm_rules_collection_response_output, - "magic-visibility-mnm_result_info": magic_visibility_mnm_result_info_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-collection": magic$$visibility$$mnm_api$$response$$collection, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, + "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -557,25 +597,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-collection": magic_visibility_mnm_api_response_collection_output, - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_collection_response": magic_visibility_mnm_mnm_rules_collection_response_output, - "magic-visibility-mnm_result_info": magic_visibility_mnm_result_info_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-collection": magic$$visibility$$mnm_api$$response$$collection, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, + "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -583,59 +623,67 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_network_monitoring_rules_update", + name: "magicNetworkMonitoring_rules_update", title: "Update rules", description: "Update network monitoring rules for account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" - }, "body": { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_create" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_create": magic_visibility_mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, + "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -670,24 +718,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_rule": magic_visibility_mnm_mnm_rule_output, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic_visibility_mnm_mnm_rule_automatic_advertisement_output, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic_visibility_mnm_mnm_rule_bandwidth_threshold_output, - "magic-visibility-mnm_mnm_rule_duration": magic_visibility_mnm_mnm_rule_duration_output, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic_visibility_mnm_mnm_rule_ip_prefix_output, - "magic-visibility-mnm_mnm_rule_ip_prefixes": magic_visibility_mnm_mnm_rule_ip_prefixes_output, - "magic-visibility-mnm_mnm_rule_name": magic_visibility_mnm_mnm_rule_name_output, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic_visibility_mnm_mnm_rule_packet_threshold_output, - "magic-visibility-mnm_mnm_rule_prefix_match": magic_visibility_mnm_mnm_rule_prefix_match_output, - "magic-visibility-mnm_mnm_rule_type": magic_visibility_mnm_mnm_rule_type_output, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic_visibility_mnm_mnm_rule_zscore_sensitivity_output, - "magic-visibility-mnm_mnm_rule_zscore_target": magic_visibility_mnm_mnm_rule_zscore_target_output, - "magic-visibility-mnm_mnm_rules_single_response": magic_visibility_mnm_mnm_rules_single_response_output, - "magic-visibility-mnm_rule_identifier": magic_visibility_mnm_rule_identifier_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, + "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, + "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, + "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, + "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, + "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, + "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, + "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, + "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, + "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, + "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, + "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, + "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, + "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/schemas.ts b/src/generated/forge-mcp/magicNetworkMonitoring/schemas.ts index 93ac1b044..39d4fc74e 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/schemas.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/schemas.ts @@ -6,6 +6,6 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `magic-visibility-mnm_account_identifier`. */ -export const magic_visibility_mnm_account_identifier: JsonSchema = { +export const magic$$visibility$$mnm_account_identifier: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts index 2d40db3db..ee6dbeb1f 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `magic-visibility-mnm_mnm_vpc_flows_single_response` in * responses. */ -export const magic_visibility_mnm_mnm_vpc_flows_single_response_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_vpc_flows_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-mnm_api-response-single" @@ -26,6 +26,6 @@ export const magic_visibility_mnm_mnm_vpc_flows_single_response_output: JsonSche /** * The schema of `magic-visibility-mnm_mnm_vpc_flows_token` in responses. */ -export const magic_visibility_mnm_mnm_vpc_flows_token_output: JsonSchema = { +export const magic$$visibility$$mnm_mnm_vpc_flows_token: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts index 88b96b1f8..f7888b92d 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts @@ -3,47 +3,55 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_visibility_mnm_api_response_common_failure_output, - magic_visibility_mnm_api_response_common_output, - magic_visibility_mnm_api_response_single_output, - magic_visibility_mnm_messages_output, + magic$$visibility$$mnm_api$$response$$common, + magic$$visibility$$mnm_api$$response$$common$$failure, + magic$$visibility$$mnm_api$$response$$single, + magic$$visibility$$mnm_messages, } from "../../outputs.js"; -import { magic_visibility_mnm_account_identifier } from "../../schemas.js"; +import { magic$$visibility$$mnm_account_identifier } from "../../schemas.js"; import { - magic_visibility_mnm_mnm_vpc_flows_single_response_output, - magic_visibility_mnm_mnm_vpc_flows_token_output, + magic$$visibility$$mnm_mnm_vpc_flows_single_response, + magic$$visibility$$mnm_mnm_vpc_flows_token, } from "./outputs.js"; /** - * The tools of `magic_network_monitoring.vpc_flows.tokens`. + * The tools of `magicNetworkMonitoring.vpcFlows.tokens`. */ export const tools: readonly Tool[] = [ { - name: "magic_network_monitoring_vpc_flows_tokens_create", + name: "magicNetworkMonitoring_vpcFlows_tokens_create", title: "Generate authentication token for VPC flow logs export.", description: "Generate authentication token for VPC flow logs export.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic-visibility-mnm_account_identifier": magic_visibility_mnm_account_identifier, + "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_vpc_flows_single_response", $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_vpc_flows_single_response": magic_visibility_mnm_mnm_vpc_flows_single_response_output, - "magic-visibility-mnm_mnm_vpc_flows_token": magic_visibility_mnm_mnm_vpc_flows_token_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_vpc_flows_single_response": magic$$visibility$$mnm_mnm_vpc_flows_single_response, + "magic-visibility-mnm_mnm_vpc_flows_token": magic$$visibility$$mnm_mnm_vpc_flows_token, }, }, annotations: { @@ -77,12 +85,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-mnm_api-response-common": magic_visibility_mnm_api_response_common_output, - "magic-visibility-mnm_api-response-common-failure": magic_visibility_mnm_api_response_common_failure_output, - "magic-visibility-mnm_api-response-single": magic_visibility_mnm_api_response_single_output, - "magic-visibility-mnm_messages": magic_visibility_mnm_messages_output, - "magic-visibility-mnm_mnm_vpc_flows_single_response": magic_visibility_mnm_mnm_vpc_flows_single_response_output, - "magic-visibility-mnm_mnm_vpc_flows_token": magic_visibility_mnm_mnm_vpc_flows_token_output, + "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, + "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, + "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, + "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, + "magic-visibility-mnm_mnm_vpc_flows_single_response": magic$$visibility$$mnm_mnm_vpc_flows_single_response, + "magic-visibility-mnm_mnm_vpc_flows_token": magic$$visibility$$mnm_mnm_vpc_flows_token, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/outputs.ts index 8a80098c1..603f319b0 100644 --- a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_DnsProtectionRule` in responses. */ -export const advanced_ddos_protection_DnsProtectionRule_output: JsonSchema = { +export const advanced$$ddos$$protection_DnsProtectionRule: JsonSchema = { "properties": { "block_any_queries": { "type": "boolean" @@ -60,7 +60,7 @@ export const advanced_ddos_protection_DnsProtectionRule_output: JsonSchema = { * The schema of `advanced-ddos-protection_dns-protection-rule-list-response` in * responses. */ -export const advanced_ddos_protection_dns_protection_rule_list_response_output: JsonSchema = { +export const advanced$$ddos$$protection_dns$$protection$$rule$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-collection" @@ -83,7 +83,7 @@ export const advanced_ddos_protection_dns_protection_rule_list_response_output: * The schema of `advanced-ddos-protection_dns-protection-rule-response` in * responses. */ -export const advanced_ddos_protection_dns_protection_rule_response_output: JsonSchema = { +export const advanced$$ddos$$protection_dns$$protection$$rule$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-common" diff --git a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/schemas.ts b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/schemas.ts index ac2ffdeed..e7b74975f 100644 --- a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_DnsProtectionRuleUpdate`. */ -export const advanced_ddos_protection_DnsProtectionRuleUpdate: JsonSchema = { +export const advanced$$ddos$$protection_DnsProtectionRuleUpdate: JsonSchema = { "properties": { "block_any_queries": { "description": "The new value for whether to block DNS ANY queries. Optional.", @@ -35,7 +35,7 @@ export const advanced_ddos_protection_DnsProtectionRuleUpdate: JsonSchema = { /** * The schema of `advanced-ddos-protection_NewDnsProtectionRule`. */ -export const advanced_ddos_protection_NewDnsProtectionRule: JsonSchema = { +export const advanced$$ddos$$protection_NewDnsProtectionRule: JsonSchema = { "properties": { "block_any_queries": { "description": "Whether to block DNS ANY queries. Optional. Defaults to true.", diff --git a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts index 0756e93d0..50829de2a 100644 --- a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts @@ -1,56 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_collection_output, - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$collection, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../../../outputs.js"; import { - advanced_ddos_protection_identifier, - advanced_ddos_protection_uuid, + advanced$$ddos$$protection_identifier, + advanced$$ddos$$protection_uuid, } from "../../../../../schemas.js"; import { - advanced_ddos_protection_DnsProtectionRule_output, - advanced_ddos_protection_dns_protection_rule_list_response_output, - advanced_ddos_protection_dns_protection_rule_response_output, + advanced$$ddos$$protection_DnsProtectionRule, + advanced$$ddos$$protection_dns$$protection$$rule$$list$$response, + advanced$$ddos$$protection_dns$$protection$$rule$$response, } from "./outputs.js"; import { - advanced_ddos_protection_DnsProtectionRuleUpdate, - advanced_ddos_protection_NewDnsProtectionRule, + advanced$$ddos$$protection_DnsProtectionRuleUpdate, + advanced$$ddos$$protection_NewDnsProtectionRule, } from "./schemas.js"; /** * The tools of - * `magic_transit.advanced_dns_protection.configs.dns.protection.rules`. + * `magicTransit.advancedDnsProtection.configs.dns.protection.rules`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_dns_protection_configs_dns_protection_rules_bulk_delete", + name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_bulkDelete", title: "Delete all DNS Protection rules.", description: "Delete all DNS Protection rules for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -77,9 +85,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -87,37 +95,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_dns_protection_configs_dns_protection_rules_create", + name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_create", title: "Create DNS Protection rule.", description: "Create a DNS Protection rule for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_NewDnsProtectionRule", "description": "The new DNS Protection rule to add." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_NewDnsProtectionRule": advanced_ddos_protection_NewDnsProtectionRule, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_NewDnsProtectionRule": advanced$$ddos$$protection_NewDnsProtectionRule, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_dns-protection-rule-response", $defs: { - "advanced-ddos-protection_DnsProtectionRule": advanced_ddos_protection_DnsProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_dns-protection-rule-response": advanced_ddos_protection_dns_protection_rule_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_DnsProtectionRule": advanced$$ddos$$protection_DnsProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_dns-protection-rule-response": advanced$$ddos$$protection_dns$$protection$$rule$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -144,11 +160,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_DnsProtectionRule": advanced_ddos_protection_DnsProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_dns-protection-rule-response": advanced_ddos_protection_dns_protection_rule_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_DnsProtectionRule": advanced$$ddos$$protection_DnsProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_dns-protection-rule-response": advanced$$ddos$$protection_dns$$protection$$rule$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -157,35 +173,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_dns_protection_configs_dns_protection_rules_delete", + name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_delete", title: "Delete DNS Protection rule.", description: "Delete a DNS Protection rule specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the DNS Protection rule to delete." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "rule_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the DNS Protection rule to delete." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -212,9 +236,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -222,37 +246,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_dns_protection_configs_dns_protection_rules_get", + name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_get", title: "Get DNS Protection rule.", description: "Get a DNS Protection rule specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the DNS Protection rule." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "rule_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the DNS Protection rule." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_dns-protection-rule-response", $defs: { - "advanced-ddos-protection_DnsProtectionRule": advanced_ddos_protection_DnsProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_dns-protection-rule-response": advanced_ddos_protection_dns_protection_rule_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_DnsProtectionRule": advanced$$ddos$$protection_DnsProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_dns-protection-rule-response": advanced$$ddos$$protection_dns$$protection$$rule$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -280,11 +312,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_DnsProtectionRule": advanced_ddos_protection_DnsProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_dns-protection-rule-response": advanced_ddos_protection_dns_protection_rule_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_DnsProtectionRule": advanced$$ddos$$protection_DnsProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_dns-protection-rule-response": advanced$$ddos$$protection_dns$$protection$$rule$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -292,48 +324,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_dns_protection_configs_dns_protection_rules_list", + name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_list", title: "List all DNS Protection rules.", description: "List all DNS Protection rules for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "direction": { - "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", - "type": "string" - }, - "order": { - "description": "The field to order by. Defaults to 'prefix'.", - "type": "string" - }, - "page": { - "description": "The page number for pagination. Defaults to 1.", - "type": "integer" - }, - "per_page": { - "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", - "type": "integer" + "query": { + "properties": { + "direction": { + "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", + "type": "string" + }, + "order": { + "description": "The field to order by. Defaults to 'prefix'.", + "type": "string" + }, + "page": { + "description": "The page number for pagination. Defaults to 1.", + "type": "integer" + }, + "per_page": { + "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_dns-protection-rule-list-response", $defs: { - "advanced-ddos-protection_DnsProtectionRule": advanced_ddos_protection_DnsProtectionRule_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_dns-protection-rule-list-response": advanced_ddos_protection_dns_protection_rule_list_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_DnsProtectionRule": advanced$$ddos$$protection_DnsProtectionRule, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_dns-protection-rule-list-response": advanced$$ddos$$protection_dns$$protection$$rule$$list$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -361,62 +406,70 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_DnsProtectionRule": advanced_ddos_protection_DnsProtectionRule_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_dns-protection-rule-list-response": advanced_ddos_protection_dns_protection_rule_list_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_DnsProtectionRule": advanced$$ddos$$protection_DnsProtectionRule, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_dns-protection-rule-list-response": advanced$$ddos$$protection_dns$$protection$$rule$$list$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_dns_protection/configs/dns_protection/rules`, query: [ - ["page", args["page"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], + ["page", param(args, "query", "page"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], ], }), }, { - name: "magic_transit_advanced_dns_protection_configs_dns_protection_rules_update", + name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_update", title: "Update DNS Protection rule.", description: "Update a DNS Protection rule specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_DnsProtectionRuleUpdate", "description": "The updates to apply to the DNS Protection rule." }, - "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the DNS Protection rule to update." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "rule_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the DNS Protection rule to update." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_DnsProtectionRuleUpdate": advanced_ddos_protection_DnsProtectionRuleUpdate, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_DnsProtectionRuleUpdate": advanced$$ddos$$protection_DnsProtectionRuleUpdate, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_dns-protection-rule-response", $defs: { - "advanced-ddos-protection_DnsProtectionRule": advanced_ddos_protection_DnsProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_dns-protection-rule-response": advanced_ddos_protection_dns_protection_rule_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_DnsProtectionRule": advanced$$ddos$$protection_DnsProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_dns-protection-rule-response": advanced$$ddos$$protection_dns$$protection$$rule$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -443,11 +496,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_DnsProtectionRule": advanced_ddos_protection_DnsProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_dns-protection-rule-response": advanced_ddos_protection_dns_protection_rule_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_DnsProtectionRule": advanced$$ddos$$protection_DnsProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_dns-protection-rule-response": advanced$$ddos$$protection_dns$$protection$$rule$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/outputs.ts index 011da9bc2..8f500bf7e 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_InfraPrefix` in responses. */ -export const advanced_ddos_protection_InfraPrefix_output: JsonSchema = { +export const advanced$$ddos$$protection_InfraPrefix: JsonSchema = { "properties": { "comment": { "type": "string" @@ -44,7 +44,7 @@ export const advanced_ddos_protection_InfraPrefix_output: JsonSchema = { * The schema of `advanced-ddos-protection_infra-prefix-list-response` in * responses. */ -export const advanced_ddos_protection_infra_prefix_list_response_output: JsonSchema = { +export const advanced$$ddos$$protection_infra$$prefix$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-collection" @@ -66,7 +66,7 @@ export const advanced_ddos_protection_infra_prefix_list_response_output: JsonSch /** * The schema of `advanced-ddos-protection_infra-prefix-response` in responses. */ -export const advanced_ddos_protection_infra_prefix_response_output: JsonSchema = { +export const advanced$$ddos$$protection_infra$$prefix$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-common" diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/schemas.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/schemas.ts index ed28472f6..8df1635d1 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_InfraPrefixUpdate`. */ -export const advanced_ddos_protection_InfraPrefixUpdate: JsonSchema = { +export const advanced$$ddos$$protection_InfraPrefixUpdate: JsonSchema = { "properties": { "comment": { "description": "A comment describing the allowlist prefix. Optional.", diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts index e8ab0d7b3..f90f172af 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts @@ -3,55 +3,62 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../../outputs.js"; import { - advanced_ddos_protection_identifier, - advanced_ddos_protection_uuid, + advanced$$ddos$$protection_identifier, + advanced$$ddos$$protection_uuid, } from "../../../../schemas.js"; import { - advanced_ddos_protection_InfraPrefix_output, - advanced_ddos_protection_infra_prefix_response_output, + advanced$$ddos$$protection_InfraPrefix, + advanced$$ddos$$protection_infra$$prefix$$response, } from "../outputs.js"; -import { advanced_ddos_protection_InfraPrefixUpdate } from "./schemas.js"; +import { advanced$$ddos$$protection_InfraPrefixUpdate } from "./schemas.js"; /** - * The tools of - * `magic_transit.advanced_tcp_protection.configs.allowlist.prefix`. + * The tools of `magicTransit.advancedTcpProtection.configs.allowlist.prefix`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_tcp_protection_configs_allowlist_prefix_delete", + name: "magicTransit_advancedTcpProtection_configs_allowlist_prefix_delete", title: "Delete allowlist prefix.", description: "Delete the allowlist prefix for an account given a UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the allowlist prefix to delete." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "prefix_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the allowlist prefix to delete." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -78,9 +85,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -88,37 +95,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_allowlist_prefix_get", + name: "magicTransit_advancedTcpProtection_configs_allowlist_prefix_get", title: "Get allowlist prefix.", description: "Get an allowlist prefix specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the allowlist prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "prefix_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the allowlist prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_infra-prefix-response", $defs: { - "advanced-ddos-protection_InfraPrefix": advanced_ddos_protection_InfraPrefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_infra-prefix-response": advanced_ddos_protection_infra_prefix_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_InfraPrefix": advanced$$ddos$$protection_InfraPrefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_infra-prefix-response": advanced$$ddos$$protection_infra$$prefix$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -146,11 +161,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_InfraPrefix": advanced_ddos_protection_InfraPrefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_infra-prefix-response": advanced_ddos_protection_infra_prefix_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_InfraPrefix": advanced$$ddos$$protection_InfraPrefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_infra-prefix-response": advanced$$ddos$$protection_infra$$prefix$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -158,43 +173,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_allowlist_prefix_update", + name: "magicTransit_advancedTcpProtection_configs_allowlist_prefix_update", title: "Update allowlist prefix.", description: "Update an allowlist prefix specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_InfraPrefixUpdate", "description": "The updates to apply to the allowlist prefix." }, - "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the allowlist prefix to update." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "prefix_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the allowlist prefix to update." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_InfraPrefixUpdate": advanced_ddos_protection_InfraPrefixUpdate, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_InfraPrefixUpdate": advanced$$ddos$$protection_InfraPrefixUpdate, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_infra-prefix-response", $defs: { - "advanced-ddos-protection_InfraPrefix": advanced_ddos_protection_InfraPrefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_infra-prefix-response": advanced_ddos_protection_infra_prefix_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_InfraPrefix": advanced$$ddos$$protection_InfraPrefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_infra-prefix-response": advanced$$ddos$$protection_infra$$prefix$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -221,11 +244,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_InfraPrefix": advanced_ddos_protection_InfraPrefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_infra-prefix-response": advanced_ddos_protection_infra_prefix_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_InfraPrefix": advanced$$ddos$$protection_InfraPrefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_infra-prefix-response": advanced$$ddos$$protection_infra$$prefix$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/schemas.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/schemas.ts index 22cc2f3e4..7689ff25e 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_NewInfraPrefix`. */ -export const advanced_ddos_protection_NewInfraPrefix: JsonSchema = { +export const advanced$$ddos$$protection_NewInfraPrefix: JsonSchema = { "properties": { "comment": { "description": "An comment describing the allowlist prefix.", diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts index 24b5ae3ae..161aa3dcc 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts @@ -1,49 +1,57 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_collection_output, - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$collection, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../outputs.js"; -import { advanced_ddos_protection_identifier } from "../../../schemas.js"; +import { advanced$$ddos$$protection_identifier } from "../../../schemas.js"; import { - advanced_ddos_protection_InfraPrefix_output, - advanced_ddos_protection_infra_prefix_list_response_output, - advanced_ddos_protection_infra_prefix_response_output, + advanced$$ddos$$protection_InfraPrefix, + advanced$$ddos$$protection_infra$$prefix$$list$$response, + advanced$$ddos$$protection_infra$$prefix$$response, } from "./outputs.js"; -import { advanced_ddos_protection_NewInfraPrefix } from "./schemas.js"; +import { advanced$$ddos$$protection_NewInfraPrefix } from "./schemas.js"; /** - * The tools of `magic_transit.advanced_tcp_protection.configs.allowlist`. + * The tools of `magicTransit.advancedTcpProtection.configs.allowlist`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_tcp_protection_configs_allowlist_bulk_delete", + name: "magicTransit_advancedTcpProtection_configs_allowlist_bulkDelete", title: "Delete all allowlist prefixes.", description: "Delete all allowlist prefixes for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -70,9 +78,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -80,37 +88,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_allowlist_create", + name: "magicTransit_advancedTcpProtection_configs_allowlist_create", title: "Create allowlist prefix.", description: "Create an allowlist prefix for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_NewInfraPrefix", "description": "The new allowlist prefix to create." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_NewInfraPrefix": advanced_ddos_protection_NewInfraPrefix, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_NewInfraPrefix": advanced$$ddos$$protection_NewInfraPrefix, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_infra-prefix-response", $defs: { - "advanced-ddos-protection_InfraPrefix": advanced_ddos_protection_InfraPrefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_infra-prefix-response": advanced_ddos_protection_infra_prefix_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_InfraPrefix": advanced$$ddos$$protection_InfraPrefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_infra-prefix-response": advanced$$ddos$$protection_infra$$prefix$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -137,11 +153,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_InfraPrefix": advanced_ddos_protection_InfraPrefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_infra-prefix-response": advanced_ddos_protection_infra_prefix_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_InfraPrefix": advanced$$ddos$$protection_InfraPrefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_infra-prefix-response": advanced$$ddos$$protection_infra$$prefix$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -150,48 +166,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_allowlist_list", + name: "magicTransit_advancedTcpProtection_configs_allowlist_list", title: "List all allowlist prefixes.", description: "List all allowlist prefixes for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "direction": { - "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", - "type": "string" - }, - "order": { - "description": "The field to order by. Defaults to 'prefix'.", - "type": "string" - }, - "page": { - "description": "The page number for pagination. Defaults to 1.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", - "type": "integer" + "query": { + "properties": { + "direction": { + "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", + "type": "string" + }, + "order": { + "description": "The field to order by. Defaults to 'prefix'.", + "type": "string" + }, + "page": { + "description": "The page number for pagination. Defaults to 1.", + "type": "integer" + }, + "per_page": { + "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_infra-prefix-list-response", $defs: { - "advanced-ddos-protection_InfraPrefix": advanced_ddos_protection_InfraPrefix_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_infra-prefix-list-response": advanced_ddos_protection_infra_prefix_list_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_InfraPrefix": advanced$$ddos$$protection_InfraPrefix, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_infra-prefix-list-response": advanced$$ddos$$protection_infra$$prefix$$list$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -219,21 +248,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_InfraPrefix": advanced_ddos_protection_InfraPrefix_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_infra-prefix-list-response": advanced_ddos_protection_infra_prefix_list_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_InfraPrefix": advanced$$ddos$$protection_InfraPrefix, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_infra-prefix-list-response": advanced$$ddos$$protection_infra$$prefix$$list$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/allowlist`, query: [ - ["page", args["page"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], + ["page", param(args, "query", "page"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], ], }), }, diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/outputs.ts index 1ea714fe3..1abf9b674 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_ExpressionFilter` in responses. */ -export const advanced_ddos_protection_ExpressionFilter_output: JsonSchema = { +export const advanced$$ddos$$protection_ExpressionFilter: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -40,7 +40,7 @@ export const advanced_ddos_protection_ExpressionFilter_output: JsonSchema = { * The schema of `advanced-ddos-protection_expression-filter-list-response` in * responses. */ -export const advanced_ddos_protection_expression_filter_list_response_output: JsonSchema = { +export const advanced$$ddos$$protection_expression$$filter$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-collection" @@ -63,7 +63,7 @@ export const advanced_ddos_protection_expression_filter_list_response_output: Js * The schema of `advanced-ddos-protection_expression-filter-response` in * responses. */ -export const advanced_ddos_protection_expression_filter_response_output: JsonSchema = { +export const advanced$$ddos$$protection_expression$$filter$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-common" diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts index 90bb63a22..79ed90959 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts @@ -3,58 +3,66 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_collection_output, - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$collection, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../../outputs.js"; -import { advanced_ddos_protection_identifier } from "../../../../schemas.js"; +import { advanced$$ddos$$protection_identifier } from "../../../../schemas.js"; import { - advanced_ddos_protection_Prefix_output, - advanced_ddos_protection_prefix_list_response_output, + advanced$$ddos$$protection_Prefix, + advanced$$ddos$$protection_prefix$$list$$response, } from "../outputs.js"; -import { advanced_ddos_protection_NewPrefix } from "../schemas.js"; +import { advanced$$ddos$$protection_NewPrefix } from "../schemas.js"; /** - * The tools of `magic_transit.advanced_tcp_protection.configs.prefixes.bulk`. + * The tools of `magicTransit.advancedTcpProtection.configs.prefixes.bulk`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_tcp_protection_configs_prefixes_bulk_create", + name: "magicTransit_advancedTcpProtection_configs_prefixes_bulk_create", title: "Create multiple prefixes.", description: "Create multiple prefixes for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "description": "The list of new prefixes to create.", "items": { "$ref": "#/$defs/advanced-ddos-protection_NewPrefix" }, "type": "array" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_NewPrefix": advanced_ddos_protection_NewPrefix, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_NewPrefix": advanced$$ddos$$protection_NewPrefix, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_prefix-list-response", $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-list-response": advanced_ddos_protection_prefix_list_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-list-response": advanced$$ddos$$protection_prefix$$list$$response, }, }, annotations: { @@ -81,12 +89,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-list-response": advanced_ddos_protection_prefix_list_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-list-response": advanced$$ddos$$protection_prefix$$list$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/outputs.ts index a31eb7d3d..7535d973a 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_Prefix` in responses. */ -export const advanced_ddos_protection_Prefix_output: JsonSchema = { +export const advanced$$ddos$$protection_Prefix: JsonSchema = { "properties": { "comment": { "type": "string" @@ -43,7 +43,7 @@ export const advanced_ddos_protection_Prefix_output: JsonSchema = { /** * The schema of `advanced-ddos-protection_prefix-list-response` in responses. */ -export const advanced_ddos_protection_prefix_list_response_output: JsonSchema = { +export const advanced$$ddos$$protection_prefix$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-collection" @@ -65,7 +65,7 @@ export const advanced_ddos_protection_prefix_list_response_output: JsonSchema = /** * The schema of `advanced-ddos-protection_prefix-response` in responses. */ -export const advanced_ddos_protection_prefix_response_output: JsonSchema = { +export const advanced$$ddos$$protection_prefix$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-common" diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/schemas.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/schemas.ts index 89c1072f8..50b10612f 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_NewPrefix`. */ -export const advanced_ddos_protection_NewPrefix: JsonSchema = { +export const advanced$$ddos$$protection_NewPrefix: JsonSchema = { "properties": { "comment": { "description": "A comment describing the prefix.", @@ -32,7 +32,7 @@ export const advanced_ddos_protection_NewPrefix: JsonSchema = { /** * The schema of `advanced-ddos-protection_PrefixUpdate`. */ -export const advanced_ddos_protection_PrefixUpdate: JsonSchema = { +export const advanced$$ddos$$protection_PrefixUpdate: JsonSchema = { "properties": { "comment": { "description": "A new comment for the prefix. Optional.", diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts index 457389af8..a3fdb87d6 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts @@ -1,55 +1,63 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_collection_output, - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$collection, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../outputs.js"; import { - advanced_ddos_protection_identifier, - advanced_ddos_protection_uuid, + advanced$$ddos$$protection_identifier, + advanced$$ddos$$protection_uuid, } from "../../../schemas.js"; import { - advanced_ddos_protection_Prefix_output, - advanced_ddos_protection_prefix_list_response_output, - advanced_ddos_protection_prefix_response_output, + advanced$$ddos$$protection_Prefix, + advanced$$ddos$$protection_prefix$$list$$response, + advanced$$ddos$$protection_prefix$$response, } from "./outputs.js"; import { - advanced_ddos_protection_NewPrefix, - advanced_ddos_protection_PrefixUpdate, + advanced$$ddos$$protection_NewPrefix, + advanced$$ddos$$protection_PrefixUpdate, } from "./schemas.js"; /** - * The tools of `magic_transit.advanced_tcp_protection.configs.prefixes`. + * The tools of `magicTransit.advancedTcpProtection.configs.prefixes`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_tcp_protection_configs_prefixes_bulk_delete", + name: "magicTransit_advancedTcpProtection_configs_prefixes_bulkDelete", title: "Delete all prefixes.", description: "Delete all prefixes for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -76,9 +84,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -86,37 +94,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_prefixes_create", + name: "magicTransit_advancedTcpProtection_configs_prefixes_create", title: "Create prefix.", description: "Create a prefix for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_NewPrefix", "description": "The new prefix to create." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_NewPrefix": advanced_ddos_protection_NewPrefix, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_NewPrefix": advanced$$ddos$$protection_NewPrefix, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_prefix-response", $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-response": advanced_ddos_protection_prefix_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-response": advanced$$ddos$$protection_prefix$$response, }, }, annotations: { @@ -143,11 +159,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-response": advanced_ddos_protection_prefix_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-response": advanced$$ddos$$protection_prefix$$response, }, }, request: (args) => ({ @@ -156,35 +172,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_prefixes_delete", + name: "magicTransit_advancedTcpProtection_configs_prefixes_delete", title: "Delete prefix.", description: "Delete the prefix for an account given a UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the prefix to delete." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "prefix_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the prefix to delete." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -211,9 +235,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -221,37 +245,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_prefixes_get", + name: "magicTransit_advancedTcpProtection_configs_prefixes_get", title: "Get prefix.", description: "Get a prefix specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the prefix." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "prefix_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the prefix." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_prefix-response", $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-response": advanced_ddos_protection_prefix_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-response": advanced$$ddos$$protection_prefix$$response, }, }, annotations: { @@ -279,11 +311,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-response": advanced_ddos_protection_prefix_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-response": advanced$$ddos$$protection_prefix$$response, }, }, request: (args) => ({ @@ -291,48 +323,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_prefixes_list", + name: "magicTransit_advancedTcpProtection_configs_prefixes_list", title: "List all prefixes.", description: "List all prefixes for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "direction": { - "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", - "type": "string" - }, - "order": { - "description": "The field to order by. Defaults to 'prefix'.", - "type": "string" - }, - "page": { - "description": "The page number for pagination. Defaults to 1.", - "type": "integer" - }, - "per_page": { - "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", - "type": "integer" + "query": { + "properties": { + "direction": { + "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", + "type": "string" + }, + "order": { + "description": "The field to order by. Defaults to 'prefix'.", + "type": "string" + }, + "page": { + "description": "The page number for pagination. Defaults to 1.", + "type": "integer" + }, + "per_page": { + "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_prefix-list-response", $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-list-response": advanced_ddos_protection_prefix_list_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-list-response": advanced$$ddos$$protection_prefix$$list$$response, }, }, annotations: { @@ -360,62 +405,70 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-list-response": advanced_ddos_protection_prefix_list_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-list-response": advanced$$ddos$$protection_prefix$$list$$response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/prefixes`, query: [ - ["page", args["page"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], + ["page", param(args, "query", "page"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], ], }), }, { - name: "magic_transit_advanced_tcp_protection_configs_prefixes_update", + name: "magicTransit_advancedTcpProtection_configs_prefixes_update", title: "Update prefix.", description: "Update a prefix specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_PrefixUpdate", "description": "The updates to apply to the prefix." }, - "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the prefix to update." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "prefix_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the prefix to update." + } + }, + "required": [ + "account_id", + "prefix_id" + ], + "type": "object" } }, required: [ - "account_id", - "prefix_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_PrefixUpdate": advanced_ddos_protection_PrefixUpdate, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_PrefixUpdate": advanced$$ddos$$protection_PrefixUpdate, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_prefix-response", $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-response": advanced_ddos_protection_prefix_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-response": advanced$$ddos$$protection_prefix$$response, }, }, annotations: { @@ -442,11 +495,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_Prefix": advanced_ddos_protection_Prefix_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_prefix-response": advanced_ddos_protection_prefix_response_output, + "advanced-ddos-protection_Prefix": advanced$$ddos$$protection_Prefix, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_prefix-response": advanced$$ddos$$protection_prefix$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/schemas.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/schemas.ts index 18f0d0ecb..5bb065a32 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_ExpressionFilterUpdate`. */ -export const advanced_ddos_protection_ExpressionFilterUpdate: JsonSchema = { +export const advanced$$ddos$$protection_ExpressionFilterUpdate: JsonSchema = { "properties": { "expression": { "description": "The new filter expression. Optional.", @@ -23,7 +23,7 @@ export const advanced_ddos_protection_ExpressionFilterUpdate: JsonSchema = { /** * The schema of `advanced-ddos-protection_NewExpressionFilter`. */ -export const advanced_ddos_protection_NewExpressionFilter: JsonSchema = { +export const advanced$$ddos$$protection_NewExpressionFilter: JsonSchema = { "properties": { "expression": { "description": "The filter expression.", diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts index 5ee7cc777..98ce40a90 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts @@ -1,56 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_collection_output, - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$collection, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../../../outputs.js"; import { - advanced_ddos_protection_identifier, - advanced_ddos_protection_uuid, + advanced$$ddos$$protection_identifier, + advanced$$ddos$$protection_uuid, } from "../../../../../schemas.js"; import { - advanced_ddos_protection_ExpressionFilter_output, - advanced_ddos_protection_expression_filter_list_response_output, - advanced_ddos_protection_expression_filter_response_output, + advanced$$ddos$$protection_ExpressionFilter, + advanced$$ddos$$protection_expression$$filter$$list$$response, + advanced$$ddos$$protection_expression$$filter$$response, } from "../../../outputs.js"; import { - advanced_ddos_protection_ExpressionFilterUpdate, - advanced_ddos_protection_NewExpressionFilter, + advanced$$ddos$$protection_ExpressionFilterUpdate, + advanced$$ddos$$protection_NewExpressionFilter, } from "../../../schemas.js"; /** * The tools of - * `magic_transit.advanced_tcp_protection.configs.syn.protection.filters`. + * `magicTransit.advancedTcpProtection.configs.syn.protection.filters`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_filters_bulk_delete", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_bulkDelete", title: "Delete all SYN Protection filters.", description: "Delete all SYN Protection filters for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -77,9 +85,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -87,37 +95,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_filters_create", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_create", title: "Create a SYN Protection filter.", description: "Create a SYN Protection filter for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_NewExpressionFilter", "description": "The new filter to create." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_NewExpressionFilter": advanced_ddos_protection_NewExpressionFilter, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_NewExpressionFilter": advanced$$ddos$$protection_NewExpressionFilter, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-response", $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -144,11 +160,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -157,35 +173,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_filters_delete", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_delete", title: "Delete SYN Protection filter.", description: "Delete a SYN Protection filter specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to delete." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "filter_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the filter to delete." + } + }, + "required": [ + "account_id", + "filter_id" + ], + "type": "object" } }, required: [ - "account_id", - "filter_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -212,9 +236,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -222,37 +246,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_filters_get", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_get", title: "Get SYN Protection filter.", description: "Get a SYN Protection filter specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to retrieve." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "filter_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the filter to retrieve." + } + }, + "required": [ + "account_id", + "filter_id" + ], + "type": "object" } }, required: [ - "account_id", - "filter_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-response", $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -280,11 +312,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -292,52 +324,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_filters_list", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_list", title: "List all SYN Protection filters.", description: "List all SYN Protection filters for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "direction": { - "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "filter_mode": { - "description": "The mode of the filters to get. Optional. Valid values: 'enabled', 'disabled', 'monitoring'.", - "type": "string" - }, - "order": { - "description": "The field to order by. Defaults to 'prefix'.", - "type": "string" - }, - "page": { - "description": "The page number for pagination. Defaults to 1.", - "type": "integer" - }, - "per_page": { - "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", - "type": "integer" + "query": { + "properties": { + "direction": { + "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", + "type": "string" + }, + "mode": { + "description": "The mode of the filters to get. Optional. Valid values: 'enabled', 'disabled', 'monitoring'.", + "type": "string" + }, + "order": { + "description": "The field to order by. Defaults to 'prefix'.", + "type": "string" + }, + "page": { + "description": "The page number for pagination. Defaults to 1.", + "type": "integer" + }, + "per_page": { + "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-list-response", $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_expression-filter-list-response": advanced_ddos_protection_expression_filter_list_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_expression-filter-list-response": advanced$$ddos$$protection_expression$$filter$$list$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -365,63 +410,71 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_expression-filter-list-response": advanced_ddos_protection_expression_filter_list_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_expression-filter-list-response": advanced$$ddos$$protection_expression$$filter$$list$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/filters`, query: [ - ["mode", args["filter_mode"], false], - ["page", args["page"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], + ["mode", param(args, "query", "mode"), false], + ["page", param(args, "query", "page"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], ], }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_filters_update", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_update", title: "Update SYN Protection filter.", description: "Update a SYN Protection filter specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_ExpressionFilterUpdate", "description": "The updates to apply to the filter." }, - "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to update." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "filter_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the filter to update." + } + }, + "required": [ + "account_id", + "filter_id" + ], + "type": "object" } }, required: [ - "account_id", - "filter_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_ExpressionFilterUpdate": advanced_ddos_protection_ExpressionFilterUpdate, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_ExpressionFilterUpdate": advanced$$ddos$$protection_ExpressionFilterUpdate, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-response", $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -448,11 +501,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/outputs.ts index 76d5eec7a..e5e8f9480 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_SynProtectionRule` in responses. */ -export const advanced_ddos_protection_SynProtectionRule_output: JsonSchema = { +export const advanced$$ddos$$protection_SynProtectionRule: JsonSchema = { "properties": { "burst_sensitivity": { "type": "string" @@ -56,7 +56,7 @@ export const advanced_ddos_protection_SynProtectionRule_output: JsonSchema = { * The schema of `advanced-ddos-protection_syn-protection-rule-list-response` in * responses. */ -export const advanced_ddos_protection_syn_protection_rule_list_response_output: JsonSchema = { +export const advanced$$ddos$$protection_syn$$protection$$rule$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-collection" @@ -79,7 +79,7 @@ export const advanced_ddos_protection_syn_protection_rule_list_response_output: * The schema of `advanced-ddos-protection_syn-protection-rule-response` in * responses. */ -export const advanced_ddos_protection_syn_protection_rule_response_output: JsonSchema = { +export const advanced$$ddos$$protection_syn$$protection$$rule$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-common" diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/schemas.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/schemas.ts index bab2cc96f..a88925ca0 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_NewSynProtectionRule`. */ -export const advanced_ddos_protection_NewSynProtectionRule: JsonSchema = { +export const advanced$$ddos$$protection_NewSynProtectionRule: JsonSchema = { "properties": { "burst_sensitivity": { "description": "The burst sensitivity. Must be one of 'low', 'medium', 'high'.", @@ -46,7 +46,7 @@ export const advanced_ddos_protection_NewSynProtectionRule: JsonSchema = { /** * The schema of `advanced-ddos-protection_SynProtectionRuleUpdate`. */ -export const advanced_ddos_protection_SynProtectionRuleUpdate: JsonSchema = { +export const advanced$$ddos$$protection_SynProtectionRuleUpdate: JsonSchema = { "properties": { "burst_sensitivity": { "description": "The new burst sensitivity. Optional. Must be one of 'low', 'medium', 'high'.", diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts index 1579171bc..da6484f32 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts @@ -1,56 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_collection_output, - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$collection, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../../../outputs.js"; import { - advanced_ddos_protection_identifier, - advanced_ddos_protection_uuid, + advanced$$ddos$$protection_identifier, + advanced$$ddos$$protection_uuid, } from "../../../../../schemas.js"; import { - advanced_ddos_protection_SynProtectionRule_output, - advanced_ddos_protection_syn_protection_rule_list_response_output, - advanced_ddos_protection_syn_protection_rule_response_output, + advanced$$ddos$$protection_SynProtectionRule, + advanced$$ddos$$protection_syn$$protection$$rule$$list$$response, + advanced$$ddos$$protection_syn$$protection$$rule$$response, } from "./outputs.js"; import { - advanced_ddos_protection_NewSynProtectionRule, - advanced_ddos_protection_SynProtectionRuleUpdate, + advanced$$ddos$$protection_NewSynProtectionRule, + advanced$$ddos$$protection_SynProtectionRuleUpdate, } from "./schemas.js"; /** * The tools of - * `magic_transit.advanced_tcp_protection.configs.syn.protection.rules`. + * `magicTransit.advancedTcpProtection.configs.syn.protection.rules`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_rules_bulk_delete", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_bulkDelete", title: "Delete all SYN Protection rules.", description: "Delete all SYN Protection rules for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -77,9 +85,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -87,37 +95,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_rules_create", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_create", title: "Create SYN Protection rule.", description: "Create a SYN Protection rule for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_NewSynProtectionRule", "description": "The new SYN Protection rule to add." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_NewSynProtectionRule": advanced_ddos_protection_NewSynProtectionRule, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_NewSynProtectionRule": advanced$$ddos$$protection_NewSynProtectionRule, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_syn-protection-rule-response", $defs: { - "advanced-ddos-protection_SynProtectionRule": advanced_ddos_protection_SynProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_syn-protection-rule-response": advanced_ddos_protection_syn_protection_rule_response_output, + "advanced-ddos-protection_SynProtectionRule": advanced$$ddos$$protection_SynProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_syn-protection-rule-response": advanced$$ddos$$protection_syn$$protection$$rule$$response, }, }, annotations: { @@ -144,11 +160,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_SynProtectionRule": advanced_ddos_protection_SynProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_syn-protection-rule-response": advanced_ddos_protection_syn_protection_rule_response_output, + "advanced-ddos-protection_SynProtectionRule": advanced$$ddos$$protection_SynProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_syn-protection-rule-response": advanced$$ddos$$protection_syn$$protection$$rule$$response, }, }, request: (args) => ({ @@ -157,35 +173,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_rules_delete", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_delete", title: "Delete SYN Protection rule.", description: "Delete a SYN Protection rule specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the SYN Protection rule to delete." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "rule_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the SYN Protection rule to delete." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -212,9 +236,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -222,37 +246,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_rules_get", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_get", title: "Get SYN Protection rule.", description: "Get a SYN Protection rule specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the SYN Protection rule." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "rule_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the SYN Protection rule." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_syn-protection-rule-response", $defs: { - "advanced-ddos-protection_SynProtectionRule": advanced_ddos_protection_SynProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_syn-protection-rule-response": advanced_ddos_protection_syn_protection_rule_response_output, + "advanced-ddos-protection_SynProtectionRule": advanced$$ddos$$protection_SynProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_syn-protection-rule-response": advanced$$ddos$$protection_syn$$protection$$rule$$response, }, }, annotations: { @@ -280,11 +312,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_SynProtectionRule": advanced_ddos_protection_SynProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_syn-protection-rule-response": advanced_ddos_protection_syn_protection_rule_response_output, + "advanced-ddos-protection_SynProtectionRule": advanced$$ddos$$protection_SynProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_syn-protection-rule-response": advanced$$ddos$$protection_syn$$protection$$rule$$response, }, }, request: (args) => ({ @@ -292,48 +324,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_rules_list", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_list", title: "List all SYN Protection rules.", description: "List all SYN Protection rules for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "direction": { - "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", - "type": "string" - }, - "order": { - "description": "The field to order by. Defaults to 'prefix'.", - "type": "string" - }, - "page": { - "description": "The page number for pagination. Defaults to 1.", - "type": "integer" - }, - "per_page": { - "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", - "type": "integer" + "query": { + "properties": { + "direction": { + "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", + "type": "string" + }, + "order": { + "description": "The field to order by. Defaults to 'prefix'.", + "type": "string" + }, + "page": { + "description": "The page number for pagination. Defaults to 1.", + "type": "integer" + }, + "per_page": { + "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_syn-protection-rule-list-response", $defs: { - "advanced-ddos-protection_SynProtectionRule": advanced_ddos_protection_SynProtectionRule_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_syn-protection-rule-list-response": advanced_ddos_protection_syn_protection_rule_list_response_output, + "advanced-ddos-protection_SynProtectionRule": advanced$$ddos$$protection_SynProtectionRule, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_syn-protection-rule-list-response": advanced$$ddos$$protection_syn$$protection$$rule$$list$$response, }, }, annotations: { @@ -361,62 +406,70 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_SynProtectionRule": advanced_ddos_protection_SynProtectionRule_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_syn-protection-rule-list-response": advanced_ddos_protection_syn_protection_rule_list_response_output, + "advanced-ddos-protection_SynProtectionRule": advanced$$ddos$$protection_SynProtectionRule, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_syn-protection-rule-list-response": advanced$$ddos$$protection_syn$$protection$$rule$$list$$response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/syn_protection/rules`, query: [ - ["page", args["page"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], + ["page", param(args, "query", "page"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], ], }), }, { - name: "magic_transit_advanced_tcp_protection_configs_syn_protection_rules_update", + name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_update", title: "Update SYN Protection rule.", description: "Update a SYN Protection rule specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_SynProtectionRuleUpdate", "description": "The fields to update on the SYN Protection rule." }, - "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the SYN Protection rule to update." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "rule_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the SYN Protection rule to update." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_SynProtectionRuleUpdate": advanced_ddos_protection_SynProtectionRuleUpdate, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_SynProtectionRuleUpdate": advanced$$ddos$$protection_SynProtectionRuleUpdate, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_syn-protection-rule-response", $defs: { - "advanced-ddos-protection_SynProtectionRule": advanced_ddos_protection_SynProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_syn-protection-rule-response": advanced_ddos_protection_syn_protection_rule_response_output, + "advanced-ddos-protection_SynProtectionRule": advanced$$ddos$$protection_SynProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_syn-protection-rule-response": advanced$$ddos$$protection_syn$$protection$$rule$$response, }, }, annotations: { @@ -443,11 +496,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_SynProtectionRule": advanced_ddos_protection_SynProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_syn-protection-rule-response": advanced_ddos_protection_syn_protection_rule_response_output, + "advanced-ddos-protection_SynProtectionRule": advanced$$ddos$$protection_SynProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_syn-protection-rule-response": advanced$$ddos$$protection_syn$$protection$$rule$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts index b8a9e2a53..563cbfc88 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts @@ -1,56 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_collection_output, - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$collection, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../../../../outputs.js"; import { - advanced_ddos_protection_identifier, - advanced_ddos_protection_uuid, + advanced$$ddos$$protection_identifier, + advanced$$ddos$$protection_uuid, } from "../../../../../../schemas.js"; import { - advanced_ddos_protection_ExpressionFilter_output, - advanced_ddos_protection_expression_filter_list_response_output, - advanced_ddos_protection_expression_filter_response_output, + advanced$$ddos$$protection_ExpressionFilter, + advanced$$ddos$$protection_expression$$filter$$list$$response, + advanced$$ddos$$protection_expression$$filter$$response, } from "../../../../outputs.js"; import { - advanced_ddos_protection_ExpressionFilterUpdate, - advanced_ddos_protection_NewExpressionFilter, + advanced$$ddos$$protection_ExpressionFilterUpdate, + advanced$$ddos$$protection_NewExpressionFilter, } from "../../../../schemas.js"; /** * The tools of - * `magic_transit.advanced_tcp_protection.configs.tcp.flow.protection.filters`. + * `magicTransit.advancedTcpProtection.configs.tcp.flow.protection.filters`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_filters_bulk_delete", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_bulkDelete", title: "Delete all TCP Flow Protection filters.", description: "Delete all TCP Flow Protection filters for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -77,9 +85,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -87,37 +95,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_filters_create", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_create", title: "Create a TCP Flow Protection filter.", description: "Create a TCP Flow Protection filter for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_NewExpressionFilter", "description": "The new filter to create." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_NewExpressionFilter": advanced_ddos_protection_NewExpressionFilter, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_NewExpressionFilter": advanced$$ddos$$protection_NewExpressionFilter, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-response", $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -144,11 +160,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -157,35 +173,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_filters_delete", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_delete", title: "Delete TCP Flow Protection filter.", description: "Delete a TCP Flow Protection filter specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to delete." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "filter_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the filter to delete." + } + }, + "required": [ + "account_id", + "filter_id" + ], + "type": "object" } }, required: [ - "account_id", - "filter_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -212,9 +236,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -222,37 +246,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_filters_get", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_get", title: "Get TCP Flow Protection filter.", description: "Get a TCP Flow Protection filter specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to retrieve." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "filter_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the filter to retrieve." + } + }, + "required": [ + "account_id", + "filter_id" + ], + "type": "object" } }, required: [ - "account_id", - "filter_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-response", $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -280,11 +312,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -292,52 +324,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_filters_list", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_list", title: "List all TCP Flow Protection filters.", description: "List all TCP Flow Protection filters for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "direction": { - "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "filter_mode": { - "description": "The mode of the filters to get. Optional. Valid values: 'enabled', 'disabled', 'monitoring'.", - "type": "string" - }, - "order": { - "description": "The field to order by. Defaults to 'prefix'.", - "type": "string" - }, - "page": { - "description": "The page number for pagination. Defaults to 1.", - "type": "integer" - }, - "per_page": { - "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", - "type": "integer" + "query": { + "properties": { + "direction": { + "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", + "type": "string" + }, + "mode": { + "description": "The mode of the filters to get. Optional. Valid values: 'enabled', 'disabled', 'monitoring'.", + "type": "string" + }, + "order": { + "description": "The field to order by. Defaults to 'prefix'.", + "type": "string" + }, + "page": { + "description": "The page number for pagination. Defaults to 1.", + "type": "integer" + }, + "per_page": { + "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-list-response", $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_expression-filter-list-response": advanced_ddos_protection_expression_filter_list_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_expression-filter-list-response": advanced$$ddos$$protection_expression$$filter$$list$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -365,63 +410,71 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_expression-filter-list-response": advanced_ddos_protection_expression_filter_list_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_expression-filter-list-response": advanced$$ddos$$protection_expression$$filter$$list$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters`, query: [ - ["mode", args["filter_mode"], false], - ["page", args["page"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], + ["mode", param(args, "query", "mode"), false], + ["page", param(args, "query", "page"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], ], }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_filters_update", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_update", title: "Update TCP Flow Protection filter.", description: "Update a TCP Flow Protection filter specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_ExpressionFilterUpdate", "description": "The updates to apply to the filter." }, - "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to update." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "filter_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the filter to update." + } + }, + "required": [ + "account_id", + "filter_id" + ], + "type": "object" } }, required: [ - "account_id", - "filter_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_ExpressionFilterUpdate": advanced_ddos_protection_ExpressionFilterUpdate, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_ExpressionFilterUpdate": advanced$$ddos$$protection_ExpressionFilterUpdate, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-response", $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -448,11 +501,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ExpressionFilter": advanced_ddos_protection_ExpressionFilter_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_expression-filter-response": advanced_ddos_protection_expression_filter_response_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_ExpressionFilter": advanced$$ddos$$protection_ExpressionFilter, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_expression-filter-response": advanced$$ddos$$protection_expression$$filter$$response, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/outputs.ts index afd2cf4ae..0018fd5ab 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_TcpFlowProtectionRule` in responses. */ -export const advanced_ddos_protection_TcpFlowProtectionRule_output: JsonSchema = { +export const advanced$$ddos$$protection_TcpFlowProtectionRule: JsonSchema = { "properties": { "burst_sensitivity": { "type": "string" @@ -53,7 +53,7 @@ export const advanced_ddos_protection_TcpFlowProtectionRule_output: JsonSchema = * `advanced-ddos-protection_tcp-flow-protection-rule-list-response` in * responses. */ -export const advanced_ddos_protection_tcp_flow_protection_rule_list_response_output: JsonSchema = { +export const advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-collection" @@ -76,7 +76,7 @@ export const advanced_ddos_protection_tcp_flow_protection_rule_list_response_out * The schema of `advanced-ddos-protection_tcp-flow-protection-rule-response` in * responses. */ -export const advanced_ddos_protection_tcp_flow_protection_rule_response_output: JsonSchema = { +export const advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-common" diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/schemas.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/schemas.ts index 82a9796d4..921c00ad7 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_NewTcpFlowProtectionRule`. */ -export const advanced_ddos_protection_NewTcpFlowProtectionRule: JsonSchema = { +export const advanced$$ddos$$protection_NewTcpFlowProtectionRule: JsonSchema = { "properties": { "burst_sensitivity": { "description": "The burst sensitivity. Must be one of 'low', 'medium', 'high'.", @@ -42,7 +42,7 @@ export const advanced_ddos_protection_NewTcpFlowProtectionRule: JsonSchema = { /** * The schema of `advanced-ddos-protection_TcpFlowProtectionRuleUpdate`. */ -export const advanced_ddos_protection_TcpFlowProtectionRuleUpdate: JsonSchema = { +export const advanced$$ddos$$protection_TcpFlowProtectionRuleUpdate: JsonSchema = { "properties": { "burst_sensitivity": { "description": "The new burst sensitivity. Optional. Must be one of 'low', 'medium', 'high'.", diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts index 6520eaf13..4f9bfdef5 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts @@ -1,56 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_collection_output, - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$collection, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../../../../outputs.js"; import { - advanced_ddos_protection_identifier, - advanced_ddos_protection_uuid, + advanced$$ddos$$protection_identifier, + advanced$$ddos$$protection_uuid, } from "../../../../../../schemas.js"; import { - advanced_ddos_protection_TcpFlowProtectionRule_output, - advanced_ddos_protection_tcp_flow_protection_rule_list_response_output, - advanced_ddos_protection_tcp_flow_protection_rule_response_output, + advanced$$ddos$$protection_TcpFlowProtectionRule, + advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$list$$response, + advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$response, } from "./outputs.js"; import { - advanced_ddos_protection_NewTcpFlowProtectionRule, - advanced_ddos_protection_TcpFlowProtectionRuleUpdate, + advanced$$ddos$$protection_NewTcpFlowProtectionRule, + advanced$$ddos$$protection_TcpFlowProtectionRuleUpdate, } from "./schemas.js"; /** * The tools of - * `magic_transit.advanced_tcp_protection.configs.tcp.flow.protection.rules`. + * `magicTransit.advancedTcpProtection.configs.tcp.flow.protection.rules`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_rules_bulk_delete", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_bulkDelete", title: "Delete all TCP Flow Protection rules.", description: "Delete all TCP Flow Protection rules for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -77,9 +85,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -87,37 +95,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_rules_create", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_create", title: "Create TCP Flow Protection rule.", description: "Create a TCP Flow Protection rule for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_NewTcpFlowProtectionRule", "description": "The new TCP Flow Protection rule." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_NewTcpFlowProtectionRule": advanced_ddos_protection_NewTcpFlowProtectionRule, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_NewTcpFlowProtectionRule": advanced$$ddos$$protection_NewTcpFlowProtectionRule, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_tcp-flow-protection-rule-response", $defs: { - "advanced-ddos-protection_TcpFlowProtectionRule": advanced_ddos_protection_TcpFlowProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced_ddos_protection_tcp_flow_protection_rule_response_output, + "advanced-ddos-protection_TcpFlowProtectionRule": advanced$$ddos$$protection_TcpFlowProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$response, }, }, annotations: { @@ -144,11 +160,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_TcpFlowProtectionRule": advanced_ddos_protection_TcpFlowProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced_ddos_protection_tcp_flow_protection_rule_response_output, + "advanced-ddos-protection_TcpFlowProtectionRule": advanced$$ddos$$protection_TcpFlowProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$response, }, }, request: (args) => ({ @@ -157,35 +173,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_rules_delete", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_delete", title: "Delete TCP Flow Protection rule.", description: "Delete a TCP Flow Protection rule specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the TCP Flow Protection rule to delete." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "rule_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the TCP Flow Protection rule to delete." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, annotations: { @@ -212,9 +236,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, }, }, request: (args) => ({ @@ -222,37 +246,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_rules_get", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_get", title: "Get TCP Flow Protection rule.", description: "Get a TCP Flow Protection rule specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, - "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the TCP Flow Protection rule." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "rule_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the TCP Flow Protection rule." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_tcp-flow-protection-rule-response", $defs: { - "advanced-ddos-protection_TcpFlowProtectionRule": advanced_ddos_protection_TcpFlowProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced_ddos_protection_tcp_flow_protection_rule_response_output, + "advanced-ddos-protection_TcpFlowProtectionRule": advanced$$ddos$$protection_TcpFlowProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$response, }, }, annotations: { @@ -280,11 +312,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_TcpFlowProtectionRule": advanced_ddos_protection_TcpFlowProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced_ddos_protection_tcp_flow_protection_rule_response_output, + "advanced-ddos-protection_TcpFlowProtectionRule": advanced$$ddos$$protection_TcpFlowProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$response, }, }, request: (args) => ({ @@ -292,48 +324,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_rules_list", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_list", title: "List all TCP Flow Protection rules.", description: "List all TCP Flow Protection rules for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "direction": { - "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", - "type": "string" - }, - "order": { - "description": "The field to order by. Defaults to 'prefix'.", - "type": "string" - }, - "page": { - "description": "The page number for pagination. Defaults to 1.", - "type": "integer" - }, - "per_page": { - "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", - "type": "integer" + "query": { + "properties": { + "direction": { + "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", + "type": "string" + }, + "order": { + "description": "The field to order by. Defaults to 'prefix'.", + "type": "string" + }, + "page": { + "description": "The page number for pagination. Defaults to 1.", + "type": "integer" + }, + "per_page": { + "description": "The number of items per page. Must be between 10 and 1000. Defaults to 25.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_tcp-flow-protection-rule-list-response", $defs: { - "advanced-ddos-protection_TcpFlowProtectionRule": advanced_ddos_protection_TcpFlowProtectionRule_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_tcp-flow-protection-rule-list-response": advanced_ddos_protection_tcp_flow_protection_rule_list_response_output, + "advanced-ddos-protection_TcpFlowProtectionRule": advanced$$ddos$$protection_TcpFlowProtectionRule, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_tcp-flow-protection-rule-list-response": advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$list$$response, }, }, annotations: { @@ -361,62 +406,70 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_TcpFlowProtectionRule": advanced_ddos_protection_TcpFlowProtectionRule_output, - "advanced-ddos-protection_api-response-collection": advanced_ddos_protection_api_response_collection_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_tcp-flow-protection-rule-list-response": advanced_ddos_protection_tcp_flow_protection_rule_list_response_output, + "advanced-ddos-protection_TcpFlowProtectionRule": advanced$$ddos$$protection_TcpFlowProtectionRule, + "advanced-ddos-protection_api-response-collection": advanced$$ddos$$protection_api$$response$$collection, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_tcp-flow-protection-rule-list-response": advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$list$$response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules`, query: [ - ["page", args["page"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], + ["page", param(args, "query", "page"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], ], }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_flow_protection_rules_update", + name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_update", title: "Update TCP Flow Protection rule.", description: "Update a TCP Flow Protection rule specified by the given UUID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_TcpFlowProtectionRuleUpdate", "description": "The updates to apply to the TCP Flow Protection rule." }, - "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the TCP Flow Protection rule to update." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The ID of the account." + }, + "rule_id": { + "$ref": "#/$defs/advanced-ddos-protection_uuid", + "description": "The UUID of the TCP Flow Protection rule to update." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_TcpFlowProtectionRuleUpdate": advanced_ddos_protection_TcpFlowProtectionRuleUpdate, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, - "advanced-ddos-protection_uuid": advanced_ddos_protection_uuid, + "advanced-ddos-protection_TcpFlowProtectionRuleUpdate": advanced$$ddos$$protection_TcpFlowProtectionRuleUpdate, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, + "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_tcp-flow-protection-rule-response", $defs: { - "advanced-ddos-protection_TcpFlowProtectionRule": advanced_ddos_protection_TcpFlowProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced_ddos_protection_tcp_flow_protection_rule_response_output, + "advanced-ddos-protection_TcpFlowProtectionRule": advanced$$ddos$$protection_TcpFlowProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$response, }, }, annotations: { @@ -443,11 +496,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_TcpFlowProtectionRule": advanced_ddos_protection_TcpFlowProtectionRule_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced_ddos_protection_tcp_flow_protection_rule_response_output, + "advanced-ddos-protection_TcpFlowProtectionRule": advanced$$ddos$$protection_TcpFlowProtectionRule, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_tcp-flow-protection-rule-response": advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/outputs.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/outputs.ts index ba54b0cc3..e0c0a4aa4 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_ProtectionStatus` in responses. */ -export const advanced_ddos_protection_ProtectionStatus_output: JsonSchema = { +export const advanced$$ddos$$protection_ProtectionStatus: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -22,7 +22,7 @@ export const advanced_ddos_protection_ProtectionStatus_output: JsonSchema = { * The schema of `advanced-ddos-protection_protection-status-response` in * responses. */ -export const advanced_ddos_protection_protection_status_response_output: JsonSchema = { +export const advanced$$ddos$$protection_protection$$status$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-common" diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/schemas.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/schemas.ts index 7e5df9aed..96b07044c 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../../_/tool.js"; /** * The schema of `advanced-ddos-protection_UpdateProtectionStatus`. */ -export const advanced_ddos_protection_UpdateProtectionStatus: JsonSchema = { +export const advanced$$ddos$$protection_UpdateProtectionStatus: JsonSchema = { "properties": { "enabled": { "description": "Enables or disables protection.", diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts index 0263c253f..b79682c77 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts @@ -3,48 +3,56 @@ import { type Tool, pathParam } from "../../../../../../_/tool.js"; import { - advanced_ddos_protection_api_response_common_failure_output, - advanced_ddos_protection_api_response_common_output, - advanced_ddos_protection_messages_output, + advanced$$ddos$$protection_api$$response$$common, + advanced$$ddos$$protection_api$$response$$common$$failure, + advanced$$ddos$$protection_messages, } from "../../../../../outputs.js"; -import { advanced_ddos_protection_identifier } from "../../../../../schemas.js"; +import { advanced$$ddos$$protection_identifier } from "../../../../../schemas.js"; import { - advanced_ddos_protection_ProtectionStatus_output, - advanced_ddos_protection_protection_status_response_output, + advanced$$ddos$$protection_ProtectionStatus, + advanced$$ddos$$protection_protection$$status$$response, } from "./outputs.js"; -import { advanced_ddos_protection_UpdateProtectionStatus } from "./schemas.js"; +import { advanced$$ddos$$protection_UpdateProtectionStatus } from "./schemas.js"; /** * The tools of - * `magic_transit.advanced_tcp_protection.configs.tcp.protection.status`. + * `magicTransit.advancedTcpProtection.configs.tcp.protection.status`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_advanced_tcp_protection_configs_tcp_protection_status_get", + name: "magicTransit_advancedTcpProtection_configs_tcp_protection_status_get", title: "Get protection status.", description: "Get the protection status of the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The account ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_protection-status-response", $defs: { - "advanced-ddos-protection_ProtectionStatus": advanced_ddos_protection_ProtectionStatus_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_protection-status-response": advanced_ddos_protection_protection_status_response_output, + "advanced-ddos-protection_ProtectionStatus": advanced$$ddos$$protection_ProtectionStatus, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_protection-status-response": advanced$$ddos$$protection_protection$$status$$response, }, }, annotations: { @@ -72,11 +80,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ProtectionStatus": advanced_ddos_protection_ProtectionStatus_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_protection-status-response": advanced_ddos_protection_protection_status_response_output, + "advanced-ddos-protection_ProtectionStatus": advanced$$ddos$$protection_ProtectionStatus, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_protection-status-response": advanced$$ddos$$protection_protection$$status$$response, }, }, request: (args) => ({ @@ -84,37 +92,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_advanced_tcp_protection_configs_tcp_protection_status_update", + name: "magicTransit_advancedTcpProtection_configs_tcp_protection_status_update", title: "Update protection status.", description: "Update the protection status of the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The account ID." - }, "body": { "$ref": "#/$defs/advanced-ddos-protection_UpdateProtectionStatus", "description": "The update to apply to the protection status." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/advanced-ddos-protection_identifier", + "description": "The account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "advanced-ddos-protection_UpdateProtectionStatus": advanced_ddos_protection_UpdateProtectionStatus, - "advanced-ddos-protection_identifier": advanced_ddos_protection_identifier, + "advanced-ddos-protection_UpdateProtectionStatus": advanced$$ddos$$protection_UpdateProtectionStatus, + "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_protection-status-response", $defs: { - "advanced-ddos-protection_ProtectionStatus": advanced_ddos_protection_ProtectionStatus_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_protection-status-response": advanced_ddos_protection_protection_status_response_output, + "advanced-ddos-protection_ProtectionStatus": advanced$$ddos$$protection_ProtectionStatus, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_protection-status-response": advanced$$ddos$$protection_protection$$status$$response, }, }, annotations: { @@ -141,11 +157,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "advanced-ddos-protection_ProtectionStatus": advanced_ddos_protection_ProtectionStatus_output, - "advanced-ddos-protection_api-response-common": advanced_ddos_protection_api_response_common_output, - "advanced-ddos-protection_api-response-common-failure": advanced_ddos_protection_api_response_common_failure_output, - "advanced-ddos-protection_messages": advanced_ddos_protection_messages_output, - "advanced-ddos-protection_protection-status-response": advanced_ddos_protection_protection_status_response_output, + "advanced-ddos-protection_ProtectionStatus": advanced$$ddos$$protection_ProtectionStatus, + "advanced-ddos-protection_api-response-common": advanced$$ddos$$protection_api$$response$$common, + "advanced-ddos-protection_api-response-common-failure": advanced$$ddos$$protection_api$$response$$common$$failure, + "advanced-ddos-protection_messages": advanced$$ddos$$protection_messages, + "advanced-ddos-protection_protection-status-response": advanced$$ddos$$protection_protection$$status$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/apps/outputs.ts b/src/generated/forge-mcp/magicTransit/apps/outputs.ts index 4d2d0ef4c..ad152dfe9 100644 --- a/src/generated/forge-mcp/magicTransit/apps/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/apps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_account_app` in responses. */ -export const magic_account_app_output: JsonSchema = { +export const magic_account_app: JsonSchema = { "properties": { "account_app_id": { "$ref": "#/$defs/magic_account_app_id" @@ -36,7 +36,7 @@ export const magic_account_app_output: JsonSchema = { /** * The schema of `magic_app` in responses. */ -export const magic_app_output: JsonSchema = { +export const magic_app: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/magic_account_app" @@ -50,7 +50,7 @@ export const magic_app_output: JsonSchema = { /** * The schema of `magic_app_hostnames` in responses. */ -export const magic_app_hostnames_output: JsonSchema = { +export const magic_app_hostnames: JsonSchema = { "items": { "type": "string" }, @@ -60,14 +60,14 @@ export const magic_app_hostnames_output: JsonSchema = { /** * The schema of `magic_app_name` in responses. */ -export const magic_app_name_output: JsonSchema = { +export const magic_app_name: JsonSchema = { "type": "string" }; /** * The schema of `magic_app_single_response` in responses. */ -export const magic_app_single_response_output: JsonSchema = { +export const magic_app_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_apps-response-object" @@ -86,7 +86,7 @@ export const magic_app_single_response_output: JsonSchema = { /** * The schema of `magic_app_source_subnets` in responses. */ -export const magic_app_source_subnets_output: JsonSchema = { +export const magic_app_source_subnets: JsonSchema = { "items": { "allOf": [ { @@ -103,7 +103,7 @@ export const magic_app_source_subnets_output: JsonSchema = { /** * The schema of `magic_app_subnets` in responses. */ -export const magic_app_subnets_output: JsonSchema = { +export const magic_app_subnets: JsonSchema = { "items": { "allOf": [ { @@ -120,14 +120,14 @@ export const magic_app_subnets_output: JsonSchema = { /** * The schema of `magic_app_type` in responses. */ -export const magic_app_type_output: JsonSchema = { +export const magic_app_type: JsonSchema = { "type": "string" }; /** * The schema of `magic_apps_collection_response` in responses. */ -export const magic_apps_collection_response_output: JsonSchema = { +export const magic_apps_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_apps-response-array" @@ -149,7 +149,7 @@ export const magic_apps_collection_response_output: JsonSchema = { /** * The schema of `magic_managed_app` in responses. */ -export const magic_managed_app_output: JsonSchema = { +export const magic_managed_app: JsonSchema = { "properties": { "hostnames": { "$ref": "#/$defs/magic_app_hostnames" diff --git a/src/generated/forge-mcp/magicTransit/apps/tools.ts b/src/generated/forge-mcp/magicTransit/apps/tools.ts index 99bd19d93..c0a50b35a 100644 --- a/src/generated/forge-mcp/magicTransit/apps/tools.ts +++ b/src/generated/forge-mcp/magicTransit/apps/tools.ts @@ -3,85 +3,93 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_account_app_id_output, - magic_api_response_common_failure_output, - magic_apps_response_array_output, - magic_apps_response_object_output, - magic_cidr_output, - magic_managed_app_id_output, - magic_messages_output, + magic_account_app_id, + magic_api$$response$$common$$failure, + magic_apps$$response$$array, + magic_apps$$response$$object, + magic_cidr, + magic_managed_app_id, + magic_messages, } from "../outputs.js"; -import { magic_cidr, magic_identifier } from "../schemas.js"; +import { magic_cidr as magic_cidr$, magic_identifier } from "../schemas.js"; import { - magic_account_app_output, - magic_app_hostnames_output, - magic_app_name_output, - magic_app_output, - magic_app_single_response_output, - magic_app_source_subnets_output, - magic_app_subnets_output, - magic_app_type_output, - magic_apps_collection_response_output, - magic_managed_app_output, -} from "./outputs.js"; -import { - magic_app_add_single_request, + magic_account_app, + magic_app, magic_app_hostnames, magic_app_name, + magic_app_single_response, magic_app_source_subnets, magic_app_subnets, magic_app_type, + magic_apps_collection_response, + magic_managed_app, +} from "./outputs.js"; +import { + magic_app_add_single_request, + magic_app_hostnames as magic_app_hostnames$, + magic_app_name as magic_app_name$, + magic_app_source_subnets as magic_app_source_subnets$, + magic_app_subnets as magic_app_subnets$, + magic_app_type as magic_app_type$, magic_app_update_request, } from "./schemas.js"; /** - * The tools of `magic_transit.apps`. + * The tools of `magicTransit.apps`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_apps_create", + name: "magicTransit_apps_create", title: "Create a new App", description: "Creates a new App for an account", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_app_add_single_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "magic_app_add_single_request": magic_app_add_single_request, - "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, - "magic_app_source_subnets": magic_app_source_subnets, - "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, - "magic_cidr": magic_cidr, + "magic_app_hostnames": magic_app_hostnames$, + "magic_app_name": magic_app_name$, + "magic_app_source_subnets": magic_app_source_subnets$, + "magic_app_subnets": magic_app_subnets$, + "magic_app_type": magic_app_type$, + "magic_cidr": magic_cidr$, "magic_identifier": magic_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic_app_single_response", $defs: { - "magic_account_app": magic_account_app_output, - "magic_account_app_id": magic_account_app_id_output, - "magic_app_hostnames": magic_app_hostnames_output, - "magic_app_name": magic_app_name_output, - "magic_app_single_response": magic_app_single_response_output, - "magic_app_source_subnets": magic_app_source_subnets_output, - "magic_app_subnets": magic_app_subnets_output, - "magic_app_type": magic_app_type_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_cidr": magic_cidr_output, - "magic_messages": magic_messages_output, + "magic_account_app": magic_account_app, + "magic_account_app_id": magic_account_app_id, + "magic_app_hostnames": magic_app_hostnames, + "magic_app_name": magic_app_name, + "magic_app_single_response": magic_app_single_response, + "magic_app_source_subnets": magic_app_source_subnets, + "magic_app_subnets": magic_app_subnets, + "magic_app_type": magic_app_type, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_cidr": magic_cidr, + "magic_messages": magic_messages, }, }, annotations: { @@ -115,18 +123,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app": magic_account_app_output, - "magic_account_app_id": magic_account_app_id_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_app_hostnames": magic_app_hostnames_output, - "magic_app_name": magic_app_name_output, - "magic_app_single_response": magic_app_single_response_output, - "magic_app_source_subnets": magic_app_source_subnets_output, - "magic_app_subnets": magic_app_subnets_output, - "magic_app_type": magic_app_type_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_cidr": magic_cidr_output, - "magic_messages": magic_messages_output, + "magic_account_app": magic_account_app, + "magic_account_app_id": magic_account_app_id, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_app_hostnames": magic_app_hostnames, + "magic_app_name": magic_app_name, + "magic_app_single_response": magic_app_single_response, + "magic_app_source_subnets": magic_app_source_subnets, + "magic_app_subnets": magic_app_subnets, + "magic_app_type": magic_app_type, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_cidr": magic_cidr, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -135,24 +143,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_apps_delete", + name: "magicTransit_apps_delete", title: "Delete Account App", description: "Deletes specific Account App.", inputSchema: { type: "object", properties: { - "account_app_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_app_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "account_app_id" + ], + "type": "object" } }, required: [ - "account_id", - "account_app_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -161,17 +177,17 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_app_single_response", $defs: { - "magic_account_app": magic_account_app_output, - "magic_account_app_id": magic_account_app_id_output, - "magic_app_hostnames": magic_app_hostnames_output, - "magic_app_name": magic_app_name_output, - "magic_app_single_response": magic_app_single_response_output, - "magic_app_source_subnets": magic_app_source_subnets_output, - "magic_app_subnets": magic_app_subnets_output, - "magic_app_type": magic_app_type_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_cidr": magic_cidr_output, - "magic_messages": magic_messages_output, + "magic_account_app": magic_account_app, + "magic_account_app_id": magic_account_app_id, + "magic_app_hostnames": magic_app_hostnames, + "magic_app_name": magic_app_name, + "magic_app_single_response": magic_app_single_response, + "magic_app_source_subnets": magic_app_source_subnets, + "magic_app_subnets": magic_app_subnets, + "magic_app_type": magic_app_type, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_cidr": magic_cidr, + "magic_messages": magic_messages, }, }, annotations: { @@ -205,18 +221,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app": magic_account_app_output, - "magic_account_app_id": magic_account_app_id_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_app_hostnames": magic_app_hostnames_output, - "magic_app_name": magic_app_name_output, - "magic_app_single_response": magic_app_single_response_output, - "magic_app_source_subnets": magic_app_source_subnets_output, - "magic_app_subnets": magic_app_subnets_output, - "magic_app_type": magic_app_type_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_cidr": magic_cidr_output, - "magic_messages": magic_messages_output, + "magic_account_app": magic_account_app, + "magic_account_app_id": magic_account_app_id, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_app_hostnames": magic_app_hostnames, + "magic_app_name": magic_app_name, + "magic_app_single_response": magic_app_single_response, + "magic_app_source_subnets": magic_app_source_subnets, + "magic_app_subnets": magic_app_subnets, + "magic_app_type": magic_app_type, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_cidr": magic_cidr, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -224,19 +240,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_apps_list", + name: "magicTransit_apps_list", title: "List Apps", description: "Lists Apps associated with an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -245,20 +269,20 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_apps_collection_response", $defs: { - "magic_account_app": magic_account_app_output, - "magic_account_app_id": magic_account_app_id_output, - "magic_app": magic_app_output, - "magic_app_hostnames": magic_app_hostnames_output, - "magic_app_name": magic_app_name_output, - "magic_app_source_subnets": magic_app_source_subnets_output, - "magic_app_subnets": magic_app_subnets_output, - "magic_app_type": magic_app_type_output, - "magic_apps-response-array": magic_apps_response_array_output, - "magic_apps_collection_response": magic_apps_collection_response_output, - "magic_cidr": magic_cidr_output, - "magic_managed_app": magic_managed_app_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app": magic_account_app, + "magic_account_app_id": magic_account_app_id, + "magic_app": magic_app, + "magic_app_hostnames": magic_app_hostnames, + "magic_app_name": magic_app_name, + "magic_app_source_subnets": magic_app_source_subnets, + "magic_app_subnets": magic_app_subnets, + "magic_app_type": magic_app_type, + "magic_apps-response-array": magic_apps$$response$$array, + "magic_apps_collection_response": magic_apps_collection_response, + "magic_cidr": magic_cidr, + "magic_managed_app": magic_managed_app, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, annotations: { @@ -294,21 +318,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app": magic_account_app_output, - "magic_account_app_id": magic_account_app_id_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_app": magic_app_output, - "magic_app_hostnames": magic_app_hostnames_output, - "magic_app_name": magic_app_name_output, - "magic_app_source_subnets": magic_app_source_subnets_output, - "magic_app_subnets": magic_app_subnets_output, - "magic_app_type": magic_app_type_output, - "magic_apps-response-array": magic_apps_response_array_output, - "magic_apps_collection_response": magic_apps_collection_response_output, - "magic_cidr": magic_cidr_output, - "magic_managed_app": magic_managed_app_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app": magic_account_app, + "magic_account_app_id": magic_account_app_id, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_app": magic_app, + "magic_app_hostnames": magic_app_hostnames, + "magic_app_name": magic_app_name, + "magic_app_source_subnets": magic_app_source_subnets, + "magic_app_subnets": magic_app_subnets, + "magic_app_type": magic_app_type, + "magic_apps-response-array": magic_apps$$response$$array, + "magic_apps_collection_response": magic_apps_collection_response, + "magic_cidr": magic_cidr, + "magic_managed_app": magic_managed_app, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -316,54 +340,62 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_apps_update", + name: "magicTransit_apps_update", title: "Update an App", description: "Updates an Account App", inputSchema: { type: "object", properties: { - "account_app_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_app_update_request" + }, + "path": { + "properties": { + "account_app_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "account_app_id" + ], + "type": "object" } }, required: [ - "account_id", - "account_app_id", + "path", "body" ], $defs: { - "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, - "magic_app_source_subnets": magic_app_source_subnets, - "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, + "magic_app_hostnames": magic_app_hostnames$, + "magic_app_name": magic_app_name$, + "magic_app_source_subnets": magic_app_source_subnets$, + "magic_app_subnets": magic_app_subnets$, + "magic_app_type": magic_app_type$, "magic_app_update_request": magic_app_update_request, - "magic_cidr": magic_cidr, + "magic_cidr": magic_cidr$, "magic_identifier": magic_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic_app_single_response", $defs: { - "magic_account_app": magic_account_app_output, - "magic_account_app_id": magic_account_app_id_output, - "magic_app_hostnames": magic_app_hostnames_output, - "magic_app_name": magic_app_name_output, - "magic_app_single_response": magic_app_single_response_output, - "magic_app_source_subnets": magic_app_source_subnets_output, - "magic_app_subnets": magic_app_subnets_output, - "magic_app_type": magic_app_type_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_cidr": magic_cidr_output, - "magic_messages": magic_messages_output, + "magic_account_app": magic_account_app, + "magic_account_app_id": magic_account_app_id, + "magic_app_hostnames": magic_app_hostnames, + "magic_app_name": magic_app_name, + "magic_app_single_response": magic_app_single_response, + "magic_app_source_subnets": magic_app_source_subnets, + "magic_app_subnets": magic_app_subnets, + "magic_app_type": magic_app_type, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_cidr": magic_cidr, + "magic_messages": magic_messages, }, }, annotations: { @@ -397,18 +429,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app": magic_account_app_output, - "magic_account_app_id": magic_account_app_id_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_app_hostnames": magic_app_hostnames_output, - "magic_app_name": magic_app_name_output, - "magic_app_single_response": magic_app_single_response_output, - "magic_app_source_subnets": magic_app_source_subnets_output, - "magic_app_subnets": magic_app_subnets_output, - "magic_app_type": magic_app_type_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_cidr": magic_cidr_output, - "magic_messages": magic_messages_output, + "magic_account_app": magic_account_app, + "magic_account_app_id": magic_account_app_id, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_app_hostnames": magic_app_hostnames, + "magic_app_name": magic_app_name, + "magic_app_single_response": magic_app_single_response, + "magic_app_source_subnets": magic_app_source_subnets, + "magic_app_subnets": magic_app_subnets, + "magic_app_type": magic_app_type, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_cidr": magic_cidr, + "magic_messages": magic_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts index dacad1d40..e5a32604a 100644 --- a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_bgp_filter_match_action` in responses. */ -export const magic_bgp_filter_match_action_output: JsonSchema = { +export const magic_bgp_filter_match_action: JsonSchema = { "enum": [ "allow", "deny" @@ -17,7 +17,7 @@ export const magic_bgp_filter_match_action_output: JsonSchema = { /** * The schema of `magic_bgp_filter_profile` in responses. */ -export const magic_bgp_filter_profile_output: JsonSchema = { +export const magic_bgp_filter_profile: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -60,7 +60,7 @@ export const magic_bgp_filter_profile_output: JsonSchema = { /** * The schema of `magic_magic_bgp_filter_profile_response` in responses. */ -export const magic_magic_bgp_filter_profile_response_output: JsonSchema = { +export const magic_magic_bgp_filter_profile_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -79,7 +79,7 @@ export const magic_magic_bgp_filter_profile_response_output: JsonSchema = { /** * The schema of `magic_magic_bgp_filter_profiles_list_response` in responses. */ -export const magic_magic_bgp_filter_profiles_list_response_output: JsonSchema = { +export const magic_magic_bgp_filter_profiles_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-common" diff --git a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts index 7be7911d0..6f4754dbf 100644 --- a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts +++ b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts @@ -3,50 +3,58 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_messages_output, - magic_schemas_identifier_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_messages, + magic_schemas$$identifier, } from "../outputs.js"; import { magic_identifier } from "../schemas.js"; import { - magic_bgp_filter_match_action_output, - magic_bgp_filter_profile_output, - magic_magic_bgp_filter_profile_response_output, - magic_magic_bgp_filter_profiles_list_response_output, + magic_bgp_filter_match_action, + magic_bgp_filter_profile, + magic_magic_bgp_filter_profile_response, + magic_magic_bgp_filter_profiles_list_response, } from "./outputs.js"; import { - magic_bgp_filter_match_action, + magic_bgp_filter_match_action as magic_bgp_filter_match_action$, magic_create_bgp_filter_profile_request, magic_update_bgp_filter_profile_request, } from "./schemas.js"; /** - * The tools of `magic_transit.bgp_filter_profiles`. + * The tools of `magicTransit.bgpFilterProfiles`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_bgp_filter_profiles_create", + name: "magicTransit_bgpFilterProfiles_create", title: "Create BGP Filter Profile", description: "Creates a new BGP filter profile for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_create_bgp_filter_profile_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action$, "magic_create_bgp_filter_profile_request": magic_create_bgp_filter_profile_request, "magic_identifier": magic_identifier, }, @@ -54,13 +62,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_magic_bgp_filter_profile_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -91,14 +99,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ @@ -107,24 +115,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_bgp_filter_profiles_delete", + name: "magicTransit_bgpFilterProfiles_delete", title: "Delete BGP Filter Profile", description: "Deletes a BGP filter profile.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "profile_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "profile_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -133,13 +149,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_magic_bgp_filter_profile_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -170,14 +186,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ @@ -185,24 +201,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_bgp_filter_profiles_get", + name: "magicTransit_bgpFilterProfiles_get", title: "Get BGP Filter Profile", description: "Gets a specific BGP filter profile for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "profile_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "profile_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -211,13 +235,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_magic_bgp_filter_profile_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -248,14 +272,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ @@ -263,19 +287,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_bgp_filter_profiles_list", + name: "magicTransit_bgpFilterProfiles_list", title: "List BGP Filter Profiles", description: "Lists all BGP filter profiles for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -284,12 +316,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_magic_bgp_filter_profiles_list_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profiles_list_response": magic_magic_bgp_filter_profiles_list_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profiles_list_response": magic_magic_bgp_filter_profiles_list_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -320,13 +352,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profiles_list_response": magic_magic_bgp_filter_profiles_list_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profiles_list_response": magic_magic_bgp_filter_profiles_list_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ @@ -334,31 +366,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_bgp_filter_profiles_update", + name: "magicTransit_bgpFilterProfiles_update", title: "Update BGP Filter Profile", description: "Updates a BGP filter profile. Omitted properties are left unchanged. To clear an existing description send `description: \"\"`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_update_bgp_filter_profile_request" }, - "profile_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "profile_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id", + "path", "body" ], $defs: { - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action$, "magic_identifier": magic_identifier, "magic_update_bgp_filter_profile_request": magic_update_bgp_filter_profile_request, }, @@ -366,13 +406,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_magic_bgp_filter_profile_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -403,14 +443,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action_output, - "magic_bgp_filter_profile": magic_bgp_filter_profile_output, - "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response_output, - "magic_messages": magic_messages_output, - "magic_schemas-identifier": magic_schemas_identifier_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_filter_match_action": magic_bgp_filter_match_action, + "magic_bgp_filter_profile": magic_bgp_filter_profile, + "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, + "magic_messages": magic_messages, + "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/bgpSettings/outputs.ts b/src/generated/forge-mcp/magicTransit/bgpSettings/outputs.ts index b0b98e4ad..9734e67b7 100644 --- a/src/generated/forge-mcp/magicTransit/bgpSettings/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/bgpSettings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_bgp_redistribute_sources` in responses. */ -export const magic_bgp_redistribute_sources_output: JsonSchema = { +export const magic_bgp_redistribute_sources: JsonSchema = { "properties": { "static:wan": { "type": "boolean" @@ -21,7 +21,7 @@ export const magic_bgp_redistribute_sources_output: JsonSchema = { /** * The schema of `magic_bgp_settings` in responses. */ -export const magic_bgp_settings_output: JsonSchema = { +export const magic_bgp_settings: JsonSchema = { "properties": { "cloudflare_asn": { "type": "integer" @@ -44,7 +44,7 @@ export const magic_bgp_settings_output: JsonSchema = { /** * The schema of `magic_magic_bgp_settings_response` in responses. */ -export const magic_magic_bgp_settings_response_output: JsonSchema = { +export const magic_magic_bgp_settings_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" diff --git a/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts b/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts index 8a51deb75..4ff442fbb 100644 --- a/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts +++ b/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts @@ -3,16 +3,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_messages, } from "../outputs.js"; import { magic_identifier } from "../schemas.js"; import { - magic_bgp_redistribute_sources_output, - magic_bgp_settings_output, - magic_magic_bgp_settings_response_output, + magic_bgp_redistribute_sources, + magic_bgp_settings, + magic_magic_bgp_settings_response, } from "./outputs.js"; import { magic_update_bgp_settings_redistribute_sources, @@ -20,23 +20,31 @@ import { } from "./schemas.js"; /** - * The tools of `magic_transit.bgp_settings`. + * The tools of `magicTransit.bgpSettings`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_bgp_settings_get", + name: "magicTransit_bgpSettings_get", title: "Get BGP Settings", description: "Gets the BGP settings for an account, including the default ASN and redistribution configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -45,12 +53,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_magic_bgp_settings_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources_output, - "magic_bgp_settings": magic_bgp_settings_output, - "magic_magic_bgp_settings_response": magic_magic_bgp_settings_response_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources, + "magic_bgp_settings": magic_bgp_settings, + "magic_magic_bgp_settings_response": magic_magic_bgp_settings_response, + "magic_messages": magic_messages, }, }, annotations: { @@ -81,13 +89,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources_output, - "magic_bgp_settings": magic_bgp_settings_output, - "magic_magic_bgp_settings_response": magic_magic_bgp_settings_response_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources, + "magic_bgp_settings": magic_bgp_settings, + "magic_magic_bgp_settings_response": magic_magic_bgp_settings_response, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -95,22 +103,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_bgp_settings_update", + name: "magicTransit_bgpSettings_update", title: "Update BGP Settings", description: "Modifies the BGP settings for an account, including the default ASN and redistribution configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_update_bgp_settings_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -122,12 +138,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_magic_bgp_settings_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources_output, - "magic_bgp_settings": magic_bgp_settings_output, - "magic_magic_bgp_settings_response": magic_magic_bgp_settings_response_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources, + "magic_bgp_settings": magic_bgp_settings, + "magic_magic_bgp_settings_response": magic_magic_bgp_settings_response, + "magic_messages": magic_messages, }, }, annotations: { @@ -158,13 +174,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources_output, - "magic_bgp_settings": magic_bgp_settings_output, - "magic_magic_bgp_settings_response": magic_magic_bgp_settings_response_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bgp_redistribute_sources": magic_bgp_redistribute_sources, + "magic_bgp_settings": magic_bgp_settings, + "magic_magic_bgp_settings_response": magic_magic_bgp_settings_response, + "magic_messages": magic_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts index 8105ecd74..430fdcfdf 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_cf1_site` in responses. */ -export const magic_cf1_site_output: JsonSchema = { +export const magic_cf1_site: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -38,7 +38,7 @@ export const magic_cf1_site_output: JsonSchema = { /** * The schema of `magic_cf1_site_location` in responses. */ -export const magic_cf1_site_location_output: JsonSchema = { +export const magic_cf1_site_location: JsonSchema = { "properties": { "lat": { "type": "number" @@ -56,7 +56,7 @@ export const magic_cf1_site_location_output: JsonSchema = { /** * The schema of `magic_cf1_site_single_response` in responses. */ -export const magic_cf1_site_single_response_output: JsonSchema = { +export const magic_cf1_site_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -75,7 +75,7 @@ export const magic_cf1_site_single_response_output: JsonSchema = { /** * The schema of `magic_cf1_sites_collection_response` in responses. */ -export const magic_cf1_sites_collection_response_output: JsonSchema = { +export const magic_cf1_sites_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts index 39c0b5b03..6a5f376af 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `magic_cf1_site_managed_ramp` in responses. */ -export const magic_cf1_site_managed_ramp_output: JsonSchema = { +export const magic_cf1_site_managed_ramp: JsonSchema = { "properties": { "managed_by": { "type": "string" @@ -18,7 +18,7 @@ export const magic_cf1_site_managed_ramp_output: JsonSchema = { /** * The schema of `magic_cf1_site_ramp` in responses. */ -export const magic_cf1_site_ramp_output: JsonSchema = { +export const magic_cf1_site_ramp: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -69,7 +69,7 @@ export const magic_cf1_site_ramp_output: JsonSchema = { /** * The schema of `magic_cf1_site_ramp_single_response` in responses. */ -export const magic_cf1_site_ramp_single_response_output: JsonSchema = { +export const magic_cf1_site_ramp_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -88,7 +88,7 @@ export const magic_cf1_site_ramp_single_response_output: JsonSchema = { /** * The schema of `magic_cf1_site_ramp_type` in responses. */ -export const magic_cf1_site_ramp_type_output: JsonSchema = { +export const magic_cf1_site_ramp_type: JsonSchema = { "enum": [ "gre", "gre_interconnect", @@ -102,7 +102,7 @@ export const magic_cf1_site_ramp_type_output: JsonSchema = { /** * The schema of `magic_cf1_site_ramps_collection_response` in responses. */ -export const magic_cf1_site_ramps_collection_response_output: JsonSchema = { +export const magic_cf1_site_ramps_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts index d29480681..2652123c4 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts @@ -3,40 +3,36 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_identifier_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_identifier, + magic_messages, } from "../../outputs.js"; -import { magic_identifier } from "../../schemas.js"; +import { magic_identifier as magic_identifier$ } from "../../schemas.js"; import { - magic_cf1_site_managed_ramp_output, - magic_cf1_site_ramp_output, - magic_cf1_site_ramp_single_response_output, - magic_cf1_site_ramp_type_output, - magic_cf1_site_ramps_collection_response_output, + magic_cf1_site_managed_ramp, + magic_cf1_site_ramp, + magic_cf1_site_ramp_single_response, + magic_cf1_site_ramp_type, + magic_cf1_site_ramps_collection_response, } from "./outputs.js"; import { magic_cf1_site_ramp_body, - magic_cf1_site_ramp_type, + magic_cf1_site_ramp_type as magic_cf1_site_ramp_type$, } from "./schemas.js"; /** - * The tools of `magic_transit.cf1_sites.ramps`. + * The tools of `magicTransit.cf1Sites.ramps`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_cf1_sites_ramps_create", + name: "magicTransit_cf1Sites_ramps_create", title: "Create CF1 Site Ramps", description: "Creates ramps (network connections) for a CF1 Site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "items": { "$ref": "#/$defs/magic_cf1_site_ramp_body" @@ -44,33 +40,45 @@ export const tools: readonly Tool[] = [ "minItems": 1, "type": "array" }, - "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "cf1_site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "cf1_site_id" + ], + "type": "object" } }, required: [ - "account_id", - "cf1_site_id", + "path", "body" ], $defs: { "magic_cf1_site_ramp_body": magic_cf1_site_ramp_body, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, - "magic_identifier": magic_identifier, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type$, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_ramps_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, - "magic_cf1_site_ramp": magic_cf1_site_ramp_output, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, - "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, + "magic_cf1_site_ramp": magic_cf1_site_ramp, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, + "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, annotations: { @@ -100,15 +108,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, - "magic_cf1_site_ramp": magic_cf1_site_ramp_output, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, - "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, + "magic_cf1_site_ramp": magic_cf1_site_ramp, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, + "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -117,45 +125,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_cf1_sites_ramps_delete", + name: "magicTransit_cf1Sites_ramps_delete", title: "Delete CF1 Site Ramp", description: "Deletes a specific ramp from a CF1 Site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "ramp_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "cf1_site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "ramp_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "cf1_site_id", + "ramp_id" + ], + "type": "object" } }, required: [ - "account_id", - "cf1_site_id", - "ramp_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_ramp_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, - "magic_cf1_site_ramp": magic_cf1_site_ramp_output, - "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response_output, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, + "magic_cf1_site_ramp": magic_cf1_site_ramp, + "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, annotations: { @@ -189,15 +205,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, - "magic_cf1_site_ramp": magic_cf1_site_ramp_output, - "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response_output, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, + "magic_cf1_site_ramp": magic_cf1_site_ramp, + "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -205,45 +221,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_cf1_sites_ramps_get", + name: "magicTransit_cf1Sites_ramps_get", title: "Get CF1 Site Ramp", description: "Gets a specific ramp for a CF1 Site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "ramp_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "cf1_site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "ramp_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "cf1_site_id", + "ramp_id" + ], + "type": "object" } }, required: [ - "account_id", - "cf1_site_id", - "ramp_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_ramp_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, - "magic_cf1_site_ramp": magic_cf1_site_ramp_output, - "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response_output, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, + "magic_cf1_site_ramp": magic_cf1_site_ramp, + "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, annotations: { @@ -279,15 +303,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, - "magic_cf1_site_ramp": magic_cf1_site_ramp_output, - "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response_output, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, + "magic_cf1_site_ramp": magic_cf1_site_ramp, + "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -295,40 +319,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_cf1_sites_ramps_list", + name: "magicTransit_cf1Sites_ramps_list", title: "List CF1 Site Ramps", description: "Lists ramps (network connections) associated with a CF1 Site. Ramps represent GRE tunnels, IPsec tunnels, interconnects, or MCONN links.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "cf1_site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "cf1_site_id" + ], + "type": "object" } }, required: [ - "account_id", - "cf1_site_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_ramps_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, - "magic_cf1_site_ramp": magic_cf1_site_ramp_output, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, - "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, + "magic_cf1_site_ramp": magic_cf1_site_ramp, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, + "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, annotations: { @@ -364,15 +396,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp_output, - "magic_cf1_site_ramp": magic_cf1_site_ramp_output, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type_output, - "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, + "magic_cf1_site_ramp": magic_cf1_site_ramp, + "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, + "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts index 753a2bf7c..ffcbadbbb 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts @@ -3,68 +3,76 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_identifier_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_identifier, + magic_messages, } from "../outputs.js"; -import { magic_identifier } from "../schemas.js"; -import { - magic_cf1_site_location_output, - magic_cf1_site_output, - magic_cf1_site_single_response_output, - magic_cf1_sites_collection_response_output, -} from "./outputs.js"; +import { magic_identifier as magic_identifier$ } from "../schemas.js"; import { magic_cf1_site, magic_cf1_site_location, + magic_cf1_site_single_response, + magic_cf1_sites_collection_response, +} from "./outputs.js"; +import { + magic_cf1_site as magic_cf1_site$, + magic_cf1_site_location as magic_cf1_site_location$, magic_cf1_site_update, } from "./schemas.js"; /** - * The tools of `magic_transit.cf1_sites`. + * The tools of `magicTransit.cf1Sites`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_cf1_sites_create", + name: "magicTransit_cf1Sites_create", title: "Create CF1 Sites", description: "Creates new CF1 Sites for an account. Each site must have a unique name within the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "items": { "$ref": "#/$defs/magic_cf1_site" }, "minItems": 1, "type": "array" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic_cf1_site": magic_cf1_site, - "magic_cf1_site_location": magic_cf1_site_location, - "magic_identifier": magic_identifier, + "magic_cf1_site": magic_cf1_site$, + "magic_cf1_site_location": magic_cf1_site_location$, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_cf1_sites_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, annotations: { @@ -103,14 +111,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -119,39 +127,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_cf1_sites_delete", + name: "magicTransit_cf1Sites_delete", title: "Delete CF1 Site", description: "Deletes a specific CF1 Site for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "cf1_site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "cf1_site_id" + ], + "type": "object" } }, required: [ - "account_id", - "cf1_site_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_site_single_response": magic_cf1_site_single_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_site_single_response": magic_cf1_site_single_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, annotations: { @@ -190,14 +206,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_site_single_response": magic_cf1_site_single_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_site_single_response": magic_cf1_site_single_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -205,39 +221,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_cf1_sites_get", + name: "magicTransit_cf1Sites_get", title: "Get CF1 Site", description: "Gets a specific CF1 Site for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "cf1_site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "cf1_site_id" + ], + "type": "object" } }, required: [ - "account_id", - "cf1_site_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_site_single_response": magic_cf1_site_single_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_site_single_response": magic_cf1_site_single_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, annotations: { @@ -278,14 +302,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_site_single_response": magic_cf1_site_single_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_site_single_response": magic_cf1_site_single_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -293,34 +317,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_cf1_sites_list", + name: "magicTransit_cf1Sites_list", title: "List CF1 Sites", description: "Lists CF1 Sites associated with an account. A CF1 Site represents a physical customer network location with optional geographic coordinates.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_cf1_sites_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, annotations: { @@ -361,14 +393,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -376,45 +408,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_cf1_sites_update", + name: "magicTransit_cf1Sites_update", title: "Update CF1 Site", description: "Partially updates a specific CF1 Site for an account. Only the fields included in the request body are modified; omitted fields retain their existing values.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_cf1_site_update" }, - "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "cf1_site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "cf1_site_id" + ], + "type": "object" } }, required: [ - "account_id", - "cf1_site_id", + "path", "body" ], $defs: { - "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_site_location": magic_cf1_site_location$, "magic_cf1_site_update": magic_cf1_site_update, - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_site_single_response": magic_cf1_site_single_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_site_single_response": magic_cf1_site_single_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, annotations: { @@ -453,14 +493,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cf1_site": magic_cf1_site_output, - "magic_cf1_site_location": magic_cf1_site_location_output, - "magic_cf1_site_single_response": magic_cf1_site_single_response_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cf1_site": magic_cf1_site, + "magic_cf1_site_location": magic_cf1_site_location, + "magic_cf1_site_single_response": magic_cf1_site_single_response, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts b/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts index 4a4ac5e53..e844ba6ad 100644 --- a/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `magic_components-schemas-modified_tunnels_collection_response` * in responses. */ -export const magic_components_schemas_modified_tunnels_collection_response_output: JsonSchema = { +export const magic_components$$schemas$$modified_tunnels_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -37,7 +37,7 @@ export const magic_components_schemas_modified_tunnels_collection_response_outpu /** * The schema of `magic_components-schemas-name` in responses. */ -export const magic_components_schemas_name_output: JsonSchema = { +export const magic_components$$schemas$$name: JsonSchema = { "type": "string" }; @@ -45,7 +45,7 @@ export const magic_components_schemas_name_output: JsonSchema = { * The schema of `magic_components-schemas-tunnel_modified_response` in * responses. */ -export const magic_components_schemas_tunnel_modified_response_output: JsonSchema = { +export const magic_components$$schemas$$tunnel_modified_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -72,7 +72,7 @@ export const magic_components_schemas_tunnel_modified_response_output: JsonSchem /** * The schema of `magic_components-schemas-tunnel_single_response` in responses. */ -export const magic_components_schemas_tunnel_single_response_output: JsonSchema = { +export const magic_components$$schemas$$tunnel_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -97,7 +97,7 @@ export const magic_components_schemas_tunnel_single_response_output: JsonSchema * The schema of `magic_components-schemas-tunnels_collection_response` in * responses. */ -export const magic_components_schemas_tunnels_collection_response_output: JsonSchema = { +export const magic_components$$schemas$$tunnels_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -124,7 +124,7 @@ export const magic_components_schemas_tunnels_collection_response_output: JsonSc /** * The schema of `magic_gre` in responses. */ -export const magic_gre_output: JsonSchema = { +export const magic_gre: JsonSchema = { "properties": { "cloudflare_endpoint": { "type": "string" @@ -136,7 +136,7 @@ export const magic_gre_output: JsonSchema = { /** * The schema of `magic_interconnect` in responses. */ -export const magic_interconnect_output: JsonSchema = { +export const magic_interconnect: JsonSchema = { "properties": { "automatic_return_routing": { "$ref": "#/$defs/magic_automatic_return_routing" @@ -197,7 +197,7 @@ export const magic_interconnect_output: JsonSchema = { /** * The schema of `magic_interconnect_bgp_config` in responses. */ -export const magic_interconnect_bgp_config_output: JsonSchema = { +export const magic_interconnect_bgp_config: JsonSchema = { "properties": { "as_no": { "type": "integer" @@ -234,14 +234,14 @@ export const magic_interconnect_bgp_config_output: JsonSchema = { * The schema of `magic_interconnect_components-schemas-description` in * responses. */ -export const magic_interconnect_components_schemas_description_output: JsonSchema = { +export const magic_interconnect_components$$schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `magic_interconnect_health_check` in responses. */ -export const magic_interconnect_health_check_output: JsonSchema = { +export const magic_interconnect_health_check: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_health_check_base" @@ -267,13 +267,13 @@ export const magic_interconnect_health_check_output: JsonSchema = { /** * The schema of `magic_interface_address_interconnect` in responses. */ -export const magic_interface_address_interconnect_output: JsonSchema = { +export const magic_interface_address_interconnect: JsonSchema = { "type": "string" }; /** * The schema of `magic_schemas-mtu` in responses. */ -export const magic_schemas_mtu_output: JsonSchema = { +export const magic_schemas$$mtu: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/magicTransit/cfInterconnects/schemas.ts b/src/generated/forge-mcp/magicTransit/cfInterconnects/schemas.ts index 8d32da9b1..45b276936 100644 --- a/src/generated/forge-mcp/magicTransit/cfInterconnects/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/cfInterconnects/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_components-schemas-name`. */ -export const magic_components_schemas_name: JsonSchema = { +export const magic_components$$schemas$$name: JsonSchema = { "description": "The name of the interconnect. The name cannot share a name with other tunnels.", "type": "string" }; @@ -75,7 +75,7 @@ export const magic_interconnect_bgp_config: JsonSchema = { /** * The schema of `magic_interconnect_components-schemas-description`. */ -export const magic_interconnect_components_schemas_description: JsonSchema = { +export const magic_interconnect_components$$schemas$$description: JsonSchema = { "description": "An optional description of the interconnect.", "type": "string" }; @@ -164,7 +164,7 @@ export const magic_interface_address_interconnect: JsonSchema = { /** * The schema of `magic_schemas-mtu`. */ -export const magic_schemas_mtu: JsonSchema = { +export const magic_schemas$$mtu: JsonSchema = { "description": "The Maximum Transmission Unit (MTU) in bytes for the interconnect. The minimum value is 576.", "type": "integer" }; diff --git a/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts b/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts index f40f7cd62..111e28b53 100644 --- a/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts +++ b/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts @@ -1,77 +1,90 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_automatic_return_routing_output, - magic_health_check_base_output, - magic_health_check_target_output, - magic_interface_address6_output, - magic_messages_output, - magic_schemas_created_on_output, - magic_schemas_identifier_output, - magic_schemas_modified_on_output, -} from "../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, magic_automatic_return_routing, magic_health_check_base, magic_health_check_target, - magic_identifier, magic_interface_address6, -} from "../schemas.js"; + magic_messages, + magic_schemas$$created_on, + magic_schemas$$identifier, + magic_schemas$$modified_on, +} from "../outputs.js"; import { - magic_components_schemas_modified_tunnels_collection_response_output, - magic_components_schemas_name_output, - magic_components_schemas_tunnel_modified_response_output, - magic_components_schemas_tunnel_single_response_output, - magic_components_schemas_tunnels_collection_response_output, - magic_gre_output, - magic_interconnect_bgp_config_output, - magic_interconnect_components_schemas_description_output, - magic_interconnect_health_check_output, - magic_interconnect_output, - magic_interface_address_interconnect_output, - magic_schemas_mtu_output, -} from "./outputs.js"; + magic_automatic_return_routing as magic_automatic_return_routing$, + magic_health_check_base as magic_health_check_base$, + magic_health_check_target as magic_health_check_target$, + magic_identifier, + magic_interface_address6 as magic_interface_address6$, +} from "../schemas.js"; import { - magic_components_schemas_name, + magic_components$$schemas$$modified_tunnels_collection_response, + magic_components$$schemas$$name, + magic_components$$schemas$$tunnel_modified_response, + magic_components$$schemas$$tunnel_single_response, + magic_components$$schemas$$tunnels_collection_response, magic_gre, + magic_interconnect, magic_interconnect_bgp_config, - magic_interconnect_components_schemas_description, + magic_interconnect_components$$schemas$$description, magic_interconnect_health_check, - magic_interconnect_tunnel_update_request, magic_interface_address_interconnect, - magic_schemas_mtu, + magic_schemas$$mtu, +} from "./outputs.js"; +import { + magic_components$$schemas$$name as magic_components$$schemas$$name$, + magic_gre as magic_gre$, + magic_interconnect_bgp_config as magic_interconnect_bgp_config$, + magic_interconnect_components$$schemas$$description as magic_interconnect_components$$schemas$$description$, + magic_interconnect_health_check as magic_interconnect_health_check$, + magic_interconnect_tunnel_update_request, + magic_interface_address_interconnect as magic_interface_address_interconnect$, + magic_schemas$$mtu as magic_schemas$$mtu$, } from "./schemas.js"; /** - * The tools of `magic_transit.cf_interconnects`. + * The tools of `magicTransit.cfInterconnects`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_cf_interconnects_bulk_update", + name: "magicTransit_cfInterconnects_bulkUpdate", title: "Update multiple interconnects", description: "Updates multiple interconnects associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", - "type": "boolean" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -81,25 +94,25 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_components-schemas-modified_tunnels_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_components-schemas-modified_tunnels_collection_response": magic_components_schemas_modified_tunnels_collection_response_output, - "magic_components-schemas-name": magic_components_schemas_name_output, - "magic_gre": magic_gre_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interconnect": magic_interconnect_output, - "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, - "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, - "magic_interconnect_health_check": magic_interconnect_health_check_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_interface_address_interconnect": magic_interface_address_interconnect_output, - "magic_messages": magic_messages_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-mtu": magic_schemas_mtu_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_components-schemas-modified_tunnels_collection_response": magic_components$$schemas$$modified_tunnels_collection_response, + "magic_components-schemas-name": magic_components$$schemas$$name, + "magic_gre": magic_gre, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interconnect": magic_interconnect, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config, + "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, + "magic_interconnect_health_check": magic_interconnect_health_check, + "magic_interface_address6": magic_interface_address6, + "magic_interface_address_interconnect": magic_interface_address_interconnect, + "magic_messages": magic_messages, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-mtu": magic_schemas$$mtu, }, }, annotations: { @@ -133,59 +146,72 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_components-schemas-modified_tunnels_collection_response": magic_components_schemas_modified_tunnels_collection_response_output, - "magic_components-schemas-name": magic_components_schemas_name_output, - "magic_gre": magic_gre_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interconnect": magic_interconnect_output, - "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, - "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, - "magic_interconnect_health_check": magic_interconnect_health_check_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_interface_address_interconnect": magic_interface_address_interconnect_output, - "magic_messages": magic_messages_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-mtu": magic_schemas_mtu_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_components-schemas-modified_tunnels_collection_response": magic_components$$schemas$$modified_tunnels_collection_response, + "magic_components-schemas-name": magic_components$$schemas$$name, + "magic_gre": magic_gre, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interconnect": magic_interconnect, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config, + "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, + "magic_interconnect_health_check": magic_interconnect_health_check, + "magic_interface_address6": magic_interface_address6, + "magic_interface_address_interconnect": magic_interface_address_interconnect, + "magic_messages": magic_messages, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-mtu": magic_schemas$$mtu, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf_interconnects`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "magic_transit_cf_interconnects_get", + name: "magicTransit_cfInterconnects_get", title: "List interconnect Details", description: "Lists details for a specific interconnect.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "cf_interconnect_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "cf_interconnect_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "cf_interconnect_id" + ], + "type": "object" } }, required: [ - "account_id", - "cf_interconnect_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -194,25 +220,25 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_components-schemas-tunnel_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_components-schemas-name": magic_components_schemas_name_output, - "magic_components-schemas-tunnel_single_response": magic_components_schemas_tunnel_single_response_output, - "magic_gre": magic_gre_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interconnect": magic_interconnect_output, - "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, - "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, - "magic_interconnect_health_check": magic_interconnect_health_check_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_interface_address_interconnect": magic_interface_address_interconnect_output, - "magic_messages": magic_messages_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-mtu": magic_schemas_mtu_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_components-schemas-name": magic_components$$schemas$$name, + "magic_components-schemas-tunnel_single_response": magic_components$$schemas$$tunnel_single_response, + "magic_gre": magic_gre, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interconnect": magic_interconnect, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config, + "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, + "magic_interconnect_health_check": magic_interconnect_health_check, + "magic_interface_address6": magic_interface_address6, + "magic_interface_address_interconnect": magic_interface_address_interconnect, + "magic_messages": magic_messages, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-mtu": magic_schemas$$mtu, }, }, annotations: { @@ -248,53 +274,66 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_components-schemas-name": magic_components_schemas_name_output, - "magic_components-schemas-tunnel_single_response": magic_components_schemas_tunnel_single_response_output, - "magic_gre": magic_gre_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interconnect": magic_interconnect_output, - "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, - "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, - "magic_interconnect_health_check": magic_interconnect_health_check_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_interface_address_interconnect": magic_interface_address_interconnect_output, - "magic_messages": magic_messages_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-mtu": magic_schemas_mtu_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_components-schemas-name": magic_components$$schemas$$name, + "magic_components-schemas-tunnel_single_response": magic_components$$schemas$$tunnel_single_response, + "magic_gre": magic_gre, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interconnect": magic_interconnect, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config, + "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, + "magic_interconnect_health_check": magic_interconnect_health_check, + "magic_interface_address6": magic_interface_address6, + "magic_interface_address_interconnect": magic_interface_address_interconnect, + "magic_messages": magic_messages, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-mtu": magic_schemas$$mtu, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf_interconnects/${pathParam(args, "cf_interconnect_id")}`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], }), }, { - name: "magic_transit_cf_interconnects_list", + name: "magicTransit_cfInterconnects_list", title: "List interconnects", description: "Lists interconnects associated with an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -303,25 +342,25 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_components-schemas-tunnels_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_components-schemas-name": magic_components_schemas_name_output, - "magic_components-schemas-tunnels_collection_response": magic_components_schemas_tunnels_collection_response_output, - "magic_gre": magic_gre_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interconnect": magic_interconnect_output, - "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, - "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, - "magic_interconnect_health_check": magic_interconnect_health_check_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_interface_address_interconnect": magic_interface_address_interconnect_output, - "magic_messages": magic_messages_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-mtu": magic_schemas_mtu_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_components-schemas-name": magic_components$$schemas$$name, + "magic_components-schemas-tunnels_collection_response": magic_components$$schemas$$tunnels_collection_response, + "magic_gre": magic_gre, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interconnect": magic_interconnect, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config, + "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, + "magic_interconnect_health_check": magic_interconnect_health_check, + "magic_interface_address6": magic_interface_address6, + "magic_interface_address_interconnect": magic_interface_address_interconnect, + "magic_messages": magic_messages, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-mtu": magic_schemas$$mtu, }, }, annotations: { @@ -357,101 +396,114 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_components-schemas-name": magic_components_schemas_name_output, - "magic_components-schemas-tunnels_collection_response": magic_components_schemas_tunnels_collection_response_output, - "magic_gre": magic_gre_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interconnect": magic_interconnect_output, - "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, - "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, - "magic_interconnect_health_check": magic_interconnect_health_check_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_interface_address_interconnect": magic_interface_address_interconnect_output, - "magic_messages": magic_messages_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-mtu": magic_schemas_mtu_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_components-schemas-name": magic_components$$schemas$$name, + "magic_components-schemas-tunnels_collection_response": magic_components$$schemas$$tunnels_collection_response, + "magic_gre": magic_gre, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interconnect": magic_interconnect, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config, + "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, + "magic_interconnect_health_check": magic_interconnect_health_check, + "magic_interface_address6": magic_interface_address6, + "magic_interface_address_interconnect": magic_interface_address_interconnect, + "magic_messages": magic_messages, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-mtu": magic_schemas$$mtu, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf_interconnects`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], }), }, { - name: "magic_transit_cf_interconnects_update", + name: "magicTransit_cfInterconnects_update", title: "Update interconnect", description: "Updates a specific interconnect associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_interconnect_tunnel_update_request" }, - "cf_interconnect_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "cf_interconnect_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "cf_interconnect_id" + ], + "type": "object" } }, required: [ - "account_id", - "cf_interconnect_id", + "path", "body" ], $defs: { + "magic_automatic_return_routing": magic_automatic_return_routing$, + "magic_components-schemas-name": magic_components$$schemas$$name$, + "magic_gre": magic_gre$, + "magic_health_check_base": magic_health_check_base$, + "magic_health_check_target": magic_health_check_target$, + "magic_identifier": magic_identifier, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config$, + "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description$, + "magic_interconnect_health_check": magic_interconnect_health_check$, + "magic_interconnect_tunnel_update_request": magic_interconnect_tunnel_update_request, + "magic_interface_address6": magic_interface_address6$, + "magic_interface_address_interconnect": magic_interface_address_interconnect$, + "magic_schemas-mtu": magic_schemas$$mtu$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_components-schemas-tunnel_modified_response", + $defs: { + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_automatic_return_routing": magic_automatic_return_routing, - "magic_components-schemas-name": magic_components_schemas_name, + "magic_components-schemas-name": magic_components$$schemas$$name, + "magic_components-schemas-tunnel_modified_response": magic_components$$schemas$$tunnel_modified_response, "magic_gre": magic_gre, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_identifier": magic_identifier, + "magic_interconnect": magic_interconnect, "magic_interconnect_bgp_config": magic_interconnect_bgp_config, - "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description, + "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, "magic_interconnect_health_check": magic_interconnect_health_check, - "magic_interconnect_tunnel_update_request": magic_interconnect_tunnel_update_request, "magic_interface_address6": magic_interface_address6, "magic_interface_address_interconnect": magic_interface_address_interconnect, - "magic_schemas-mtu": magic_schemas_mtu, - }, - }, - outputSchema: { - "$ref": "#/$defs/magic_components-schemas-tunnel_modified_response", - $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_components-schemas-name": magic_components_schemas_name_output, - "magic_components-schemas-tunnel_modified_response": magic_components_schemas_tunnel_modified_response_output, - "magic_gre": magic_gre_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interconnect": magic_interconnect_output, - "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, - "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, - "magic_interconnect_health_check": magic_interconnect_health_check_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_interface_address_interconnect": magic_interface_address_interconnect_output, - "magic_messages": magic_messages_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-mtu": magic_schemas_mtu_output, + "magic_messages": magic_messages, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-mtu": magic_schemas$$mtu, }, }, annotations: { @@ -485,32 +537,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_components-schemas-name": magic_components_schemas_name_output, - "magic_components-schemas-tunnel_modified_response": magic_components_schemas_tunnel_modified_response_output, - "magic_gre": magic_gre_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interconnect": magic_interconnect_output, - "magic_interconnect_bgp_config": magic_interconnect_bgp_config_output, - "magic_interconnect_components-schemas-description": magic_interconnect_components_schemas_description_output, - "magic_interconnect_health_check": magic_interconnect_health_check_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_interface_address_interconnect": magic_interface_address_interconnect_output, - "magic_messages": magic_messages_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-mtu": magic_schemas_mtu_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_components-schemas-name": magic_components$$schemas$$name, + "magic_components-schemas-tunnel_modified_response": magic_components$$schemas$$tunnel_modified_response, + "magic_gre": magic_gre, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interconnect": magic_interconnect, + "magic_interconnect_bgp_config": magic_interconnect_bgp_config, + "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, + "magic_interconnect_health_check": magic_interconnect_health_check, + "magic_interface_address6": magic_interface_address6, + "magic_interface_address_interconnect": magic_interface_address_interconnect, + "magic_messages": magic_messages, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-mtu": magic_schemas$$mtu, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/cf_interconnects/${pathParam(args, "cf_interconnect_id")}`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts b/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts index bfb08f4aa..862e14d74 100644 --- a/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_cloudflare_gre_endpoint` in responses. */ -export const magic_cloudflare_gre_endpoint_output: JsonSchema = { +export const magic_cloudflare_gre_endpoint: JsonSchema = { "type": "string" }; /** * The schema of `magic_create_gre_tunnel_response` in responses. */ -export const magic_create_gre_tunnel_response_output: JsonSchema = { +export const magic_create_gre_tunnel_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -32,14 +32,14 @@ export const magic_create_gre_tunnel_response_output: JsonSchema = { /** * The schema of `magic_customer_gre_endpoint` in responses. */ -export const magic_customer_gre_endpoint_output: JsonSchema = { +export const magic_customer_gre_endpoint: JsonSchema = { "type": "string" }; /** * The schema of `magic_gre-tunnel` in responses. */ -export const magic_gre_tunnel_output: JsonSchema = { +export const magic_gre$$tunnel: JsonSchema = { "properties": { "automatic_return_routing": { "$ref": "#/$defs/magic_automatic_return_routing" @@ -100,14 +100,14 @@ export const magic_gre_tunnel_output: JsonSchema = { /** * The schema of `magic_gre_tunnel_name` in responses. */ -export const magic_gre_tunnel_name_output: JsonSchema = { +export const magic_gre_tunnel_name: JsonSchema = { "type": "string" }; /** * The schema of `magic_modified_tunnels_collection_response` in responses. */ -export const magic_modified_tunnels_collection_response_output: JsonSchema = { +export const magic_modified_tunnels_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -137,28 +137,28 @@ export const magic_modified_tunnels_collection_response_output: JsonSchema = { /** * The schema of `magic_mtu` in responses. */ -export const magic_mtu_output: JsonSchema = { +export const magic_mtu: JsonSchema = { "type": "integer" }; /** * The schema of `magic_schemas-description` in responses. */ -export const magic_schemas_description_output: JsonSchema = { +export const magic_schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `magic_ttl` in responses. */ -export const magic_ttl_output: JsonSchema = { +export const magic_ttl: JsonSchema = { "type": "integer" }; /** * The schema of `magic_tunnel_deleted_response` in responses. */ -export const magic_tunnel_deleted_response_output: JsonSchema = { +export const magic_tunnel_deleted_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -185,7 +185,7 @@ export const magic_tunnel_deleted_response_output: JsonSchema = { /** * The schema of `magic_tunnel_modified_response` in responses. */ -export const magic_tunnel_modified_response_output: JsonSchema = { +export const magic_tunnel_modified_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -212,7 +212,7 @@ export const magic_tunnel_modified_response_output: JsonSchema = { /** * The schema of `magic_tunnel_single_response` in responses. */ -export const magic_tunnel_single_response_output: JsonSchema = { +export const magic_tunnel_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -236,7 +236,7 @@ export const magic_tunnel_single_response_output: JsonSchema = { /** * The schema of `magic_tunnels_collection_response` in responses. */ -export const magic_tunnels_collection_response_output: JsonSchema = { +export const magic_tunnels_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" diff --git a/src/generated/forge-mcp/magicTransit/greTunnels/schemas.ts b/src/generated/forge-mcp/magicTransit/greTunnels/schemas.ts index a45e40aa2..ed041477c 100644 --- a/src/generated/forge-mcp/magicTransit/greTunnels/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/greTunnels/schemas.ts @@ -155,7 +155,7 @@ export const magic_mtu: JsonSchema = { /** * The schema of `magic_schemas-description`. */ -export const magic_schemas_description: JsonSchema = { +export const magic_schemas$$description: JsonSchema = { "description": "An optional description of the GRE tunnel.", "type": "string" }; diff --git a/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts b/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts index d51e31333..3e4618b11 100644 --- a/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts +++ b/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts @@ -1,85 +1,98 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_automatic_return_routing_output, - magic_bgp_config_output, - magic_bgp_status_with_state_output, - magic_health_check_base_output, - magic_health_check_target_output, - magic_interface_address6_output, - magic_interface_address_output, - magic_messages_output, - magic_schemas_created_on_output, - magic_schemas_identifier_output, - magic_schemas_modified_on_output, - magic_tunnel_health_check_output, -} from "../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, magic_automatic_return_routing, magic_bgp_config, + magic_bgp_status_with_state, magic_health_check_base, magic_health_check_target, - magic_identifier, magic_interface_address, magic_interface_address6, + magic_messages, + magic_schemas$$created_on, + magic_schemas$$identifier, + magic_schemas$$modified_on, magic_tunnel_health_check, -} from "../schemas.js"; +} from "../outputs.js"; import { - magic_cloudflare_gre_endpoint_output, - magic_create_gre_tunnel_response_output, - magic_customer_gre_endpoint_output, - magic_gre_tunnel_name_output, - magic_gre_tunnel_output, - magic_modified_tunnels_collection_response_output, - magic_mtu_output, - magic_schemas_description_output, - magic_ttl_output, - magic_tunnel_deleted_response_output, - magic_tunnel_modified_response_output, - magic_tunnel_single_response_output, - magic_tunnels_collection_response_output, -} from "./outputs.js"; + magic_automatic_return_routing as magic_automatic_return_routing$, + magic_bgp_config as magic_bgp_config$, + magic_health_check_base as magic_health_check_base$, + magic_health_check_target as magic_health_check_target$, + magic_identifier, + magic_interface_address as magic_interface_address$, + magic_interface_address6 as magic_interface_address6$, + magic_tunnel_health_check as magic_tunnel_health_check$, +} from "../schemas.js"; import { magic_cloudflare_gre_endpoint, - magic_create_gre_tunnel_request, + magic_create_gre_tunnel_response, magic_customer_gre_endpoint, + magic_gre$$tunnel, magic_gre_tunnel_name, - magic_gre_tunnel_update_request, + magic_modified_tunnels_collection_response, magic_mtu, - magic_schemas_description, + magic_schemas$$description, magic_ttl, + magic_tunnel_deleted_response, + magic_tunnel_modified_response, + magic_tunnel_single_response, + magic_tunnels_collection_response, +} from "./outputs.js"; +import { + magic_cloudflare_gre_endpoint as magic_cloudflare_gre_endpoint$, + magic_create_gre_tunnel_request, + magic_customer_gre_endpoint as magic_customer_gre_endpoint$, + magic_gre_tunnel_name as magic_gre_tunnel_name$, + magic_gre_tunnel_update_request, + magic_mtu as magic_mtu$, + magic_schemas$$description as magic_schemas$$description$, + magic_ttl as magic_ttl$, } from "./schemas.js"; /** - * The tools of `magic_transit.gre_tunnels`. + * The tools of `magicTransit.greTunnels`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_gre_tunnels_bulk_update", + name: "magicTransit_greTunnels_bulkUpdate", title: "Update multiple GRE tunnels", description: "Updates multiple GRE tunnels. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", - "type": "boolean" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -89,28 +102,28 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_modified_tunnels_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_modified_tunnels_collection_response": magic_modified_tunnels_collection_response_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_modified_tunnels_collection_response": magic_modified_tunnels_collection_response, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, annotations: { @@ -144,107 +157,120 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_modified_tunnels_collection_response": magic_modified_tunnels_collection_response_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_modified_tunnels_collection_response": magic_modified_tunnels_collection_response, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "magic_transit_gre_tunnels_create", + name: "magicTransit_greTunnels_create", title: "Create a GRE tunnel", description: "Creates a new GRE tunnel. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_create_gre_tunnel_request" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", - "type": "boolean" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { + "magic_automatic_return_routing": magic_automatic_return_routing$, + "magic_bgp_config": magic_bgp_config$, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint$, + "magic_create_gre_tunnel_request": magic_create_gre_tunnel_request, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint$, + "magic_gre_tunnel_name": magic_gre_tunnel_name$, + "magic_health_check_base": magic_health_check_base$, + "magic_health_check_target": magic_health_check_target$, + "magic_identifier": magic_identifier, + "magic_interface_address": magic_interface_address$, + "magic_interface_address6": magic_interface_address6$, + "magic_mtu": magic_mtu$, + "magic_schemas-description": magic_schemas$$description$, + "magic_ttl": magic_ttl$, + "magic_tunnel_health_check": magic_tunnel_health_check$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_create_gre_tunnel_response", + $defs: { + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_create_gre_tunnel_request": magic_create_gre_tunnel_request, + "magic_create_gre_tunnel_response": magic_create_gre_tunnel_response, "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_identifier": magic_identifier, "magic_interface_address": magic_interface_address, "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, "magic_mtu": magic_mtu, - "magic_schemas-description": magic_schemas_description, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, }, }, - outputSchema: { - "$ref": "#/$defs/magic_create_gre_tunnel_response", - $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_create_gre_tunnel_response": magic_create_gre_tunnel_response_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -276,62 +302,75 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_create_gre_tunnel_response": magic_create_gre_tunnel_response_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_create_gre_tunnel_response": magic_create_gre_tunnel_response, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "magic_transit_gre_tunnels_delete", + name: "magicTransit_greTunnels_delete", title: "Delete GRE Tunnel", description: "Disables and removes a specific static GRE tunnel. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "gre_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "gre_tunnel_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "gre_tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "gre_tunnel_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -340,28 +379,28 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_tunnel_deleted_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_deleted_response": magic_tunnel_deleted_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_deleted_response": magic_tunnel_deleted_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, annotations: { @@ -395,61 +434,74 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_deleted_response": magic_tunnel_deleted_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_deleted_response": magic_tunnel_deleted_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels/${pathParam(args, "gre_tunnel_id")}`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], }), }, { - name: "magic_transit_gre_tunnels_get", + name: "magicTransit_greTunnels_get", title: "List GRE Tunnel Details", description: "Lists informtion for a specific GRE tunnel.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "gre_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "gre_tunnel_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "gre_tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "gre_tunnel_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -458,28 +510,28 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_tunnel_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, - "magic_tunnel_single_response": magic_tunnel_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_health_check": magic_tunnel_health_check, + "magic_tunnel_single_response": magic_tunnel_single_response, }, }, annotations: { @@ -515,56 +567,69 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, - "magic_tunnel_single_response": magic_tunnel_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_health_check": magic_tunnel_health_check, + "magic_tunnel_single_response": magic_tunnel_single_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels/${pathParam(args, "gre_tunnel_id")}`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], }), }, { - name: "magic_transit_gre_tunnels_list", + name: "magicTransit_greTunnels_list", title: "List GRE tunnels", description: "Lists GRE tunnels associated with an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -573,28 +638,28 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_tunnels_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, - "magic_tunnels_collection_response": magic_tunnels_collection_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_health_check": magic_tunnel_health_check, + "magic_tunnels_collection_response": magic_tunnels_collection_response, }, }, annotations: { @@ -630,108 +695,121 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, - "magic_tunnels_collection_response": magic_tunnels_collection_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_health_check": magic_tunnel_health_check, + "magic_tunnels_collection_response": magic_tunnels_collection_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], }), }, { - name: "magic_transit_gre_tunnels_update", + name: "magicTransit_greTunnels_update", title: "Update GRE Tunnel", description: "Updates a specific GRE tunnel. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_gre_tunnel_update_request" }, - "gre_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "gre_tunnel_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "gre_tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "gre_tunnel_id", + "path", "body" ], $defs: { + "magic_automatic_return_routing": magic_automatic_return_routing$, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint$, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint$, + "magic_gre_tunnel_name": magic_gre_tunnel_name$, + "magic_gre_tunnel_update_request": magic_gre_tunnel_update_request, + "magic_health_check_base": magic_health_check_base$, + "magic_health_check_target": magic_health_check_target$, + "magic_identifier": magic_identifier, + "magic_interface_address": magic_interface_address$, + "magic_interface_address6": magic_interface_address6$, + "magic_mtu": magic_mtu$, + "magic_schemas-description": magic_schemas$$description$, + "magic_ttl": magic_ttl$, + "magic_tunnel_health_check": magic_tunnel_health_check$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_tunnel_modified_response", + $defs: { + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, "magic_gre_tunnel_name": magic_gre_tunnel_name, - "magic_gre_tunnel_update_request": magic_gre_tunnel_update_request, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_identifier": magic_identifier, "magic_interface_address": magic_interface_address, "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, "magic_mtu": magic_mtu, - "magic_schemas-description": magic_schemas_description, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, - }, - }, - outputSchema: { - "$ref": "#/$defs/magic_tunnel_modified_response", - $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, - "magic_tunnel_modified_response": magic_tunnel_modified_response_output, + "magic_tunnel_modified_response": magic_tunnel_modified_response, }, }, annotations: { @@ -765,35 +843,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint_output, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint_output, - "magic_gre-tunnel": magic_gre_tunnel_output, - "magic_gre_tunnel_name": magic_gre_tunnel_name_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_messages": magic_messages_output, - "magic_mtu": magic_mtu_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-description": magic_schemas_description_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_ttl": magic_ttl_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, - "magic_tunnel_modified_response": magic_tunnel_modified_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, + "magic_customer_gre_endpoint": magic_customer_gre_endpoint, + "magic_gre-tunnel": magic_gre$$tunnel, + "magic_gre_tunnel_name": magic_gre_tunnel_name, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_messages": magic_messages, + "magic_mtu": magic_mtu, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-description": magic_schemas$$description, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_ttl": magic_ttl, + "magic_tunnel_health_check": magic_tunnel_health_check, + "magic_tunnel_modified_response": magic_tunnel_modified_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/gre_tunnels/${pathParam(args, "gre_tunnel_id")}`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts b/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts index 84bc8eace..ea5d3d196 100644 --- a/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_allow_null_cipher` in responses. */ -export const magic_allow_null_cipher_output: JsonSchema = { +export const magic_allow_null_cipher: JsonSchema = { "type": "boolean" }; /** * The schema of `magic_cloudflare_ipsec_endpoint` in responses. */ -export const magic_cloudflare_ipsec_endpoint_output: JsonSchema = { +export const magic_cloudflare_ipsec_endpoint: JsonSchema = { "type": "string" }; /** * The schema of `magic_components-schemas-description` in responses. */ -export const magic_components_schemas_description_output: JsonSchema = { +export const magic_components$$schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `magic_custom_remote_identities` in responses. */ -export const magic_custom_remote_identities_output: JsonSchema = { +export const magic_custom_remote_identities: JsonSchema = { "properties": { "fqdn_id": { "type": "string" @@ -39,14 +39,14 @@ export const magic_custom_remote_identities_output: JsonSchema = { /** * The schema of `magic_customer_ipsec_endpoint` in responses. */ -export const magic_customer_ipsec_endpoint_output: JsonSchema = { +export const magic_customer_ipsec_endpoint: JsonSchema = { "type": "string" }; /** * The schema of `magic_ipsec-tunnel` in responses. */ -export const magic_ipsec_tunnel_output: JsonSchema = { +export const magic_ipsec$$tunnel: JsonSchema = { "properties": { "allow_null_cipher": { "$ref": "#/$defs/magic_allow_null_cipher" @@ -112,7 +112,7 @@ export const magic_ipsec_tunnel_output: JsonSchema = { /** * The schema of `magic_ipsec_tunnel_applied_psk` in responses. */ -export const magic_ipsec_tunnel_applied_psk_output: JsonSchema = { +export const magic_ipsec_tunnel_applied_psk: JsonSchema = { "properties": { "ipsec_id": { "type": "string" @@ -139,14 +139,14 @@ export const magic_ipsec_tunnel_applied_psk_output: JsonSchema = { /** * The schema of `magic_ipsec_tunnel_name` in responses. */ -export const magic_ipsec_tunnel_name_output: JsonSchema = { +export const magic_ipsec_tunnel_name: JsonSchema = { "type": "string" }; /** * The schema of `magic_ipsec_tunnels_psk_response` in responses. */ -export const magic_ipsec_tunnels_psk_response_output: JsonSchema = { +export const magic_ipsec_tunnels_psk_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -179,14 +179,14 @@ export const magic_ipsec_tunnels_psk_response_output: JsonSchema = { /** * The schema of `magic_psk` in responses. */ -export const magic_psk_output: JsonSchema = { +export const magic_psk: JsonSchema = { "type": "string" }; /** * The schema of `magic_psk_generation_response` in responses. */ -export const magic_psk_generation_response_output: JsonSchema = { +export const magic_psk_generation_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -216,7 +216,7 @@ export const magic_psk_generation_response_output: JsonSchema = { /** * The schema of `magic_psk_metadata` in responses. */ -export const magic_psk_metadata_output: JsonSchema = { +export const magic_psk_metadata: JsonSchema = { "properties": { "last_generated_on": { "$ref": "#/$defs/magic_schemas-modified_on" @@ -228,14 +228,14 @@ export const magic_psk_metadata_output: JsonSchema = { /** * The schema of `magic_replay_protection` in responses. */ -export const magic_replay_protection_output: JsonSchema = { +export const magic_replay_protection: JsonSchema = { "type": "boolean" }; /** * The schema of `magic_schemas-create_ipsec_tunnel_response` in responses. */ -export const magic_schemas_create_ipsec_tunnel_response_output: JsonSchema = { +export const magic_schemas$$create_ipsec_tunnel_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -255,7 +255,7 @@ export const magic_schemas_create_ipsec_tunnel_response_output: JsonSchema = { * The schema of `magic_schemas-modified_tunnels_collection_response` in * responses. */ -export const magic_schemas_modified_tunnels_collection_response_output: JsonSchema = { +export const magic_schemas$$modified_tunnels_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -285,7 +285,7 @@ export const magic_schemas_modified_tunnels_collection_response_output: JsonSche /** * The schema of `magic_schemas-tunnel_deleted_response` in responses. */ -export const magic_schemas_tunnel_deleted_response_output: JsonSchema = { +export const magic_schemas$$tunnel_deleted_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -312,7 +312,7 @@ export const magic_schemas_tunnel_deleted_response_output: JsonSchema = { /** * The schema of `magic_schemas-tunnel_modified_response` in responses. */ -export const magic_schemas_tunnel_modified_response_output: JsonSchema = { +export const magic_schemas$$tunnel_modified_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -339,7 +339,7 @@ export const magic_schemas_tunnel_modified_response_output: JsonSchema = { /** * The schema of `magic_schemas-tunnel_single_response` in responses. */ -export const magic_schemas_tunnel_single_response_output: JsonSchema = { +export const magic_schemas$$tunnel_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -363,7 +363,7 @@ export const magic_schemas_tunnel_single_response_output: JsonSchema = { /** * The schema of `magic_schemas-tunnels_collection_response` in responses. */ -export const magic_schemas_tunnels_collection_response_output: JsonSchema = { +export const magic_schemas$$tunnels_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" diff --git a/src/generated/forge-mcp/magicTransit/ipsecTunnels/schemas.ts b/src/generated/forge-mcp/magicTransit/ipsecTunnels/schemas.ts index 711388d32..6a745d570 100644 --- a/src/generated/forge-mcp/magicTransit/ipsecTunnels/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/ipsecTunnels/schemas.ts @@ -14,7 +14,7 @@ export const magic_cloudflare_ipsec_endpoint: JsonSchema = { /** * The schema of `magic_components-schemas-description`. */ -export const magic_components_schemas_description: JsonSchema = { +export const magic_components$$schemas$$description: JsonSchema = { "description": "An optional description forthe IPsec tunnel.", "type": "string" }; diff --git a/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts b/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts index b234201c2..81df33bd8 100644 --- a/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts +++ b/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts @@ -1,128 +1,141 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_automatic_return_routing_output, - magic_bgp_config_output, - magic_bgp_status_with_state_output, - magic_health_check_base_output, - magic_health_check_target_output, - magic_identifier_output, - magic_interface_address6_output, - magic_interface_address_output, - magic_messages_output, - magic_schemas_created_on_output, - magic_schemas_identifier_output, - magic_schemas_modified_on_output, - magic_tunnel_health_check_output, -} from "../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, magic_automatic_return_routing, magic_bgp_config, + magic_bgp_status_with_state, magic_health_check_base, magic_health_check_target, magic_identifier, magic_interface_address, magic_interface_address6, + magic_messages, + magic_schemas$$created_on, + magic_schemas$$identifier, + magic_schemas$$modified_on, magic_tunnel_health_check, -} from "../schemas.js"; +} from "../outputs.js"; import { - magic_allow_null_cipher_output, - magic_cloudflare_ipsec_endpoint_output, - magic_components_schemas_description_output, - magic_custom_remote_identities_output, - magic_customer_ipsec_endpoint_output, - magic_ipsec_tunnel_applied_psk_output, - magic_ipsec_tunnel_name_output, - magic_ipsec_tunnel_output, - magic_ipsec_tunnels_psk_response_output, - magic_psk_generation_response_output, - magic_psk_metadata_output, - magic_psk_output, - magic_replay_protection_output, - magic_schemas_create_ipsec_tunnel_response_output, - magic_schemas_modified_tunnels_collection_response_output, - magic_schemas_tunnel_deleted_response_output, - magic_schemas_tunnel_modified_response_output, - magic_schemas_tunnel_single_response_output, - magic_schemas_tunnels_collection_response_output, -} from "./outputs.js"; + magic_automatic_return_routing as magic_automatic_return_routing$, + magic_bgp_config as magic_bgp_config$, + magic_health_check_base as magic_health_check_base$, + magic_health_check_target as magic_health_check_target$, + magic_identifier as magic_identifier$, + magic_interface_address as magic_interface_address$, + magic_interface_address6 as magic_interface_address6$, + magic_tunnel_health_check as magic_tunnel_health_check$, +} from "../schemas.js"; import { + magic_allow_null_cipher, magic_cloudflare_ipsec_endpoint, - magic_components_schemas_description, + magic_components$$schemas$$description, magic_custom_remote_identities, magic_customer_ipsec_endpoint, + magic_ipsec$$tunnel, + magic_ipsec_tunnel_applied_psk, + magic_ipsec_tunnel_name, + magic_ipsec_tunnels_psk_response, + magic_psk, + magic_psk_generation_response, + magic_psk_metadata, + magic_replay_protection, + magic_schemas$$create_ipsec_tunnel_response, + magic_schemas$$modified_tunnels_collection_response, + magic_schemas$$tunnel_deleted_response, + magic_schemas$$tunnel_modified_response, + magic_schemas$$tunnel_single_response, + magic_schemas$$tunnels_collection_response, +} from "./outputs.js"; +import { + magic_cloudflare_ipsec_endpoint as magic_cloudflare_ipsec_endpoint$, + magic_components$$schemas$$description as magic_components$$schemas$$description$, + magic_custom_remote_identities as magic_custom_remote_identities$, + magic_customer_ipsec_endpoint as magic_customer_ipsec_endpoint$, magic_ipsec_tunnel_add_request, magic_ipsec_tunnel_add_single_request, - magic_ipsec_tunnel_name, + magic_ipsec_tunnel_name as magic_ipsec_tunnel_name$, magic_ipsec_tunnel_psk_entry, magic_ipsec_tunnels_psk_request, - magic_psk, - magic_replay_protection, + magic_psk as magic_psk$, + magic_replay_protection as magic_replay_protection$, } from "./schemas.js"; /** - * The tools of `magic_transit.ipsec_tunnels`. + * The tools of `magicTransit.ipsecTunnels`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_ipsec_tunnels_bulk_update", + name: "magicTransit_ipsecTunnels_bulkUpdate", title: "Update multiple IPsec tunnels", description: "Update multiple IPsec tunnels associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", - "type": "boolean" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_schemas-modified_tunnels_collection_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-modified_tunnels_collection_response": magic_schemas_modified_tunnels_collection_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-modified_tunnels_collection_response": magic_schemas$$modified_tunnels_collection_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, annotations: { @@ -156,112 +169,125 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-modified_tunnels_collection_response": magic_schemas_modified_tunnels_collection_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-modified_tunnels_collection_response": magic_schemas$$modified_tunnels_collection_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "magic_transit_ipsec_tunnels_create", + name: "magicTransit_ipsecTunnels_create", title: "Create an IPsec tunnel", description: "Creates a new IPsec tunnel associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_ipsec_tunnel_add_request" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", - "type": "boolean" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { + "magic_automatic_return_routing": magic_automatic_return_routing$, + "magic_bgp_config": magic_bgp_config$, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint$, + "magic_components-schemas-description": magic_components$$schemas$$description$, + "magic_custom_remote_identities": magic_custom_remote_identities$, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint$, + "magic_health_check_base": magic_health_check_base$, + "magic_health_check_target": magic_health_check_target$, + "magic_identifier": magic_identifier$, + "magic_interface_address": magic_interface_address$, + "magic_interface_address6": magic_interface_address6$, + "magic_ipsec_tunnel_add_request": magic_ipsec_tunnel_add_request, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name$, + "magic_psk": magic_psk$, + "magic_replay_protection": magic_replay_protection$, + "magic_tunnel_health_check": magic_tunnel_health_check$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_schemas-create_ipsec_tunnel_response", + $defs: { + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components_schemas_description, + "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_identifier": magic_identifier, "magic_interface_address": magic_interface_address, "magic_interface_address6": magic_interface_address6, - "magic_ipsec_tunnel_add_request": magic_ipsec_tunnel_add_request, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, - "magic_psk": magic_psk, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, "magic_replay_protection": magic_replay_protection, + "magic_schemas-create_ipsec_tunnel_response": magic_schemas$$create_ipsec_tunnel_response, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_tunnel_health_check": magic_tunnel_health_check, }, }, - outputSchema: { - "$ref": "#/$defs/magic_schemas-create_ipsec_tunnel_response", - $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-create_ipsec_tunnel_response": magic_schemas_create_ipsec_tunnel_response_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -293,96 +319,109 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-create_ipsec_tunnel_response": magic_schemas_create_ipsec_tunnel_response_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-create_ipsec_tunnel_response": magic_schemas$$create_ipsec_tunnel_response, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "magic_transit_ipsec_tunnels_delete", + name: "magicTransit_ipsecTunnels_delete", title: "Delete IPsec Tunnel", description: "Disables and removes a specific static IPsec Tunnel associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "ipsec_tunnel_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "ipsec_tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "ipsec_tunnel_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_schemas-tunnel_deleted_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-tunnel_deleted_response": magic_schemas_tunnel_deleted_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-tunnel_deleted_response": magic_schemas$$tunnel_deleted_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, annotations: { @@ -416,95 +455,108 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-tunnel_deleted_response": magic_schemas_tunnel_deleted_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-tunnel_deleted_response": magic_schemas$$tunnel_deleted_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels/${pathParam(args, "ipsec_tunnel_id")}`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], }), }, { - name: "magic_transit_ipsec_tunnels_get", + name: "magicTransit_ipsecTunnels_get", title: "List IPsec tunnel details", description: "Lists details for a specific IPsec tunnel.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "ipsec_tunnel_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "ipsec_tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "ipsec_tunnel_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_schemas-tunnel_single_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-tunnel_single_response": magic_schemas_tunnel_single_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-tunnel_single_response": magic_schemas$$tunnel_single_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, annotations: { @@ -540,90 +592,103 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-tunnel_single_response": magic_schemas_tunnel_single_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-tunnel_single_response": magic_schemas$$tunnel_single_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels/${pathParam(args, "ipsec_tunnel_id")}`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], }), }, { - name: "magic_transit_ipsec_tunnels_list", + name: "magicTransit_ipsecTunnels_list", title: "List IPsec tunnels", description: "Lists IPsec tunnels associated with an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_schemas-tunnels_collection_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-tunnels_collection_response": magic_schemas_tunnels_collection_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-tunnels_collection_response": magic_schemas$$tunnels_collection_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, annotations: { @@ -659,75 +724,83 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-tunnels_collection_response": magic_schemas_tunnels_collection_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-tunnels_collection_response": magic_schemas$$tunnels_collection_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], }), }, { - name: "magic_transit_ipsec_tunnels_psk_generate", + name: "magicTransit_ipsecTunnels_pskGenerate", title: "Generate Pre-Shared Key (PSK) for IPsec tunnels", description: "Generates a Pre-Shared Key for a specific IPsec tunnel used in the IKE session. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes. After a PSK is generated, the PSK is immediately persisted to Cloudflare's edge and cannot be retrieved later. Store the PSK in a safe place.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "ipsec_tunnel_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "ipsec_tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "ipsec_tunnel_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_psk_generation_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_psk": magic_psk_output, - "magic_psk_generation_response": magic_psk_generation_response_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_psk": magic_psk, + "magic_psk_generation_response": magic_psk_generation_response, + "magic_psk_metadata": magic_psk_metadata, + "magic_schemas-modified_on": magic_schemas$$modified_on, }, }, annotations: { @@ -761,15 +834,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_psk": magic_psk_output, - "magic_psk_generation_response": magic_psk_generation_response_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_psk": magic_psk, + "magic_psk_generation_response": magic_psk_generation_response, + "magic_psk_metadata": magic_psk_metadata, + "magic_schemas-modified_on": magic_schemas$$modified_on, }, }, request: (args) => ({ @@ -777,47 +850,60 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_ipsec_tunnels_psk_set", + name: "magicTransit_ipsecTunnels_pskSet", title: "Set Pre-Shared Keys (PSK) for IPsec tunnels", description: "Sets Pre-Shared Keys for multiple IPsec tunnels associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes. After PSKs are applied, they are immediately persisted to Cloudflare's edge and cannot be retrieved later. Store the PSKs in a safe place.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_ipsec_tunnels_psk_request" }, - "validate_only": { - "description": "If `true`, only run validation without persisting changes.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" + }, + "query": { + "properties": { + "validate_only": { + "description": "If `true`, only run validation without persisting changes.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, "magic_ipsec_tunnel_psk_entry": magic_ipsec_tunnel_psk_entry, "magic_ipsec_tunnels_psk_request": magic_ipsec_tunnels_psk_request, - "magic_psk": magic_psk, + "magic_psk": magic_psk$, }, }, outputSchema: { "$ref": "#/$defs/magic_ipsec_tunnels_psk_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_identifier": magic_identifier_output, - "magic_ipsec_tunnel_applied_psk": magic_ipsec_tunnel_applied_psk_output, - "magic_ipsec_tunnels_psk_response": magic_ipsec_tunnels_psk_response_output, - "magic_messages": magic_messages_output, - "magic_psk": magic_psk_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_identifier": magic_identifier, + "magic_ipsec_tunnel_applied_psk": magic_ipsec_tunnel_applied_psk, + "magic_ipsec_tunnels_psk_response": magic_ipsec_tunnels_psk_response, + "magic_messages": magic_messages, + "magic_psk": magic_psk, + "magic_psk_metadata": magic_psk_metadata, + "magic_schemas-modified_on": magic_schemas$$modified_on, }, }, annotations: { @@ -851,102 +937,115 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_identifier": magic_identifier_output, - "magic_ipsec_tunnel_applied_psk": magic_ipsec_tunnel_applied_psk_output, - "magic_ipsec_tunnels_psk_response": magic_ipsec_tunnels_psk_response_output, - "magic_messages": magic_messages_output, - "magic_psk": magic_psk_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_identifier": magic_identifier, + "magic_ipsec_tunnel_applied_psk": magic_ipsec_tunnel_applied_psk, + "magic_ipsec_tunnels_psk_response": magic_ipsec_tunnels_psk_response, + "magic_messages": magic_messages, + "magic_psk": magic_psk, + "magic_psk_metadata": magic_psk_metadata, + "magic_schemas-modified_on": magic_schemas$$modified_on, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels/psk`, query: [ - ["validate_only", args["validate_only"], true], + ["validate_only", param(args, "query", "validate_only"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "magic_transit_ipsec_tunnels_update", + name: "magicTransit_ipsecTunnels_update", title: "Update IPsec Tunnel", description: "Updates a specific IPsec tunnel associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_ipsec_tunnel_add_single_request" }, - "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "ipsec_tunnel_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "ipsec_tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "ipsec_tunnel_id", + "path", "body" ], $defs: { + "magic_automatic_return_routing": magic_automatic_return_routing$, + "magic_bgp_config": magic_bgp_config$, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint$, + "magic_components-schemas-description": magic_components$$schemas$$description$, + "magic_custom_remote_identities": magic_custom_remote_identities$, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint$, + "magic_health_check_base": magic_health_check_base$, + "magic_health_check_target": magic_health_check_target$, + "magic_identifier": magic_identifier$, + "magic_interface_address": magic_interface_address$, + "magic_interface_address6": magic_interface_address6$, + "magic_ipsec_tunnel_add_single_request": magic_ipsec_tunnel_add_single_request, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name$, + "magic_psk": magic_psk$, + "magic_replay_protection": magic_replay_protection$, + "magic_tunnel_health_check": magic_tunnel_health_check$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_schemas-tunnel_modified_response", + $defs: { + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components_schemas_description, + "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_identifier": magic_identifier, "magic_interface_address": magic_interface_address, "magic_interface_address6": magic_interface_address6, - "magic_ipsec_tunnel_add_single_request": magic_ipsec_tunnel_add_single_request, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, - "magic_psk": magic_psk, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-tunnel_modified_response": magic_schemas$$tunnel_modified_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, }, - outputSchema: { - "$ref": "#/$defs/magic_schemas-tunnel_modified_response", - $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-tunnel_modified_response": magic_schemas_tunnel_modified_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -978,37 +1077,37 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_automatic_return_routing": magic_automatic_return_routing_output, - "magic_bgp_config": magic_bgp_config_output, - "magic_bgp_status_with_state": magic_bgp_status_with_state_output, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint_output, - "magic_components-schemas-description": magic_components_schemas_description_output, - "magic_custom_remote_identities": magic_custom_remote_identities_output, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint_output, - "magic_health_check_base": magic_health_check_base_output, - "magic_health_check_target": magic_health_check_target_output, - "magic_interface_address": magic_interface_address_output, - "magic_interface_address6": magic_interface_address6_output, - "magic_ipsec-tunnel": magic_ipsec_tunnel_output, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name_output, - "magic_messages": magic_messages_output, - "magic_psk_metadata": magic_psk_metadata_output, - "magic_replay_protection": magic_replay_protection_output, - "magic_schemas-created_on": magic_schemas_created_on_output, - "magic_schemas-identifier": magic_schemas_identifier_output, - "magic_schemas-modified_on": magic_schemas_modified_on_output, - "magic_schemas-tunnel_modified_response": magic_schemas_tunnel_modified_response_output, - "magic_tunnel_health_check": magic_tunnel_health_check_output, + "magic_allow_null_cipher": magic_allow_null_cipher, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_automatic_return_routing": magic_automatic_return_routing, + "magic_bgp_config": magic_bgp_config, + "magic_bgp_status_with_state": magic_bgp_status_with_state, + "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, + "magic_components-schemas-description": magic_components$$schemas$$description, + "magic_custom_remote_identities": magic_custom_remote_identities, + "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, + "magic_health_check_base": magic_health_check_base, + "magic_health_check_target": magic_health_check_target, + "magic_interface_address": magic_interface_address, + "magic_interface_address6": magic_interface_address6, + "magic_ipsec-tunnel": magic_ipsec$$tunnel, + "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, + "magic_messages": magic_messages, + "magic_psk_metadata": magic_psk_metadata, + "magic_replay_protection": magic_replay_protection, + "magic_schemas-created_on": magic_schemas$$created_on, + "magic_schemas-identifier": magic_schemas$$identifier, + "magic_schemas-modified_on": magic_schemas$$modified_on, + "magic_schemas-tunnel_modified_response": magic_schemas$$tunnel_modified_response, + "magic_tunnel_health_check": magic_tunnel_health_check, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/ipsec_tunnels/${pathParam(args, "ipsec_tunnel_id")}`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/magicTransit/outputs.ts b/src/generated/forge-mcp/magicTransit/outputs.ts index 60d8d4205..669217dfe 100644 --- a/src/generated/forge-mcp/magicTransit/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../_/tool.js"; * The schema of `advanced-ddos-protection_api-response-collection` in * responses. */ -export const advanced_ddos_protection_api_response_collection_output: JsonSchema = { +export const advanced$$ddos$$protection_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/advanced-ddos-protection_api-response-common" @@ -43,7 +43,7 @@ export const advanced_ddos_protection_api_response_collection_output: JsonSchema /** * The schema of `advanced-ddos-protection_api-response-common` in responses. */ -export const advanced_ddos_protection_api_response_common_output: JsonSchema = { +export const advanced$$ddos$$protection_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/advanced-ddos-protection_messages" @@ -70,7 +70,7 @@ export const advanced_ddos_protection_api_response_common_output: JsonSchema = { * The schema of `advanced-ddos-protection_api-response-common-failure` in * responses. */ -export const advanced_ddos_protection_api_response_common_failure_output: JsonSchema = { +export const advanced$$ddos$$protection_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/advanced-ddos-protection_messages" @@ -100,7 +100,7 @@ export const advanced_ddos_protection_api_response_common_failure_output: JsonSc /** * The schema of `advanced-ddos-protection_messages` in responses. */ -export const advanced_ddos_protection_messages_output: JsonSchema = { +export const advanced$$ddos$$protection_messages: JsonSchema = { "items": { "properties": { "code": { @@ -133,14 +133,14 @@ export const advanced_ddos_protection_messages_output: JsonSchema = { /** * The schema of `magic_account_app_id` in responses. */ -export const magic_account_app_id_output: JsonSchema = { +export const magic_account_app_id: JsonSchema = { "type": "string" }; /** * The schema of `magic_api-response-common` in responses. */ -export const magic_api_response_common_output: JsonSchema = { +export const magic_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic_messages" @@ -183,7 +183,7 @@ export const magic_api_response_common_output: JsonSchema = { /** * The schema of `magic_api-response-common-failure` in responses. */ -export const magic_api_response_common_failure_output: JsonSchema = { +export const magic_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic_messages" @@ -213,7 +213,7 @@ export const magic_api_response_common_failure_output: JsonSchema = { /** * The schema of `magic_api-response-single` in responses. */ -export const magic_api_response_single_output: JsonSchema = { +export const magic_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-common" @@ -242,7 +242,7 @@ export const magic_api_response_single_output: JsonSchema = { /** * The schema of `magic_apps-response-array` in responses. */ -export const magic_apps_response_array_output: JsonSchema = { +export const magic_apps$$response$$array: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic_messages" @@ -282,7 +282,7 @@ export const magic_apps_response_array_output: JsonSchema = { /** * The schema of `magic_apps-response-object` in responses. */ -export const magic_apps_response_object_output: JsonSchema = { +export const magic_apps$$response$$object: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic_messages" @@ -319,14 +319,14 @@ export const magic_apps_response_object_output: JsonSchema = { /** * The schema of `magic_automatic_return_routing` in responses. */ -export const magic_automatic_return_routing_output: JsonSchema = { +export const magic_automatic_return_routing: JsonSchema = { "type": "boolean" }; /** * The schema of `magic_bgp_config` in responses. */ -export const magic_bgp_config_output: JsonSchema = { +export const magic_bgp_config: JsonSchema = { "properties": { "customer_asn": { "type": "integer" @@ -356,7 +356,7 @@ export const magic_bgp_config_output: JsonSchema = { /** * The schema of `magic_bgp_status_with_state` in responses. */ -export const magic_bgp_status_with_state_output: JsonSchema = { +export const magic_bgp_status_with_state: JsonSchema = { "properties": { "bgp_state": { "type": "string" @@ -400,14 +400,14 @@ export const magic_bgp_status_with_state_output: JsonSchema = { /** * The schema of `magic_cidr` in responses. */ -export const magic_cidr_output: JsonSchema = { +export const magic_cidr: JsonSchema = { "type": "string" }; /** * The schema of `magic_health_check_base` in responses. */ -export const magic_health_check_base_output: JsonSchema = { +export const magic_health_check_base: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -444,7 +444,7 @@ export const magic_health_check_base_output: JsonSchema = { /** * The schema of `magic_health_check_target` in responses. */ -export const magic_health_check_target_output: JsonSchema = { +export const magic_health_check_target: JsonSchema = { "properties": { "effective": { "type": "string" @@ -459,35 +459,35 @@ export const magic_health_check_target_output: JsonSchema = { /** * The schema of `magic_identifier` in responses. */ -export const magic_identifier_output: JsonSchema = { +export const magic_identifier: JsonSchema = { "type": "string" }; /** * The schema of `magic_interface_address` in responses. */ -export const magic_interface_address_output: JsonSchema = { +export const magic_interface_address: JsonSchema = { "type": "string" }; /** * The schema of `magic_interface_address6` in responses. */ -export const magic_interface_address6_output: JsonSchema = { +export const magic_interface_address6: JsonSchema = { "type": "string" }; /** * The schema of `magic_managed_app_id` in responses. */ -export const magic_managed_app_id_output: JsonSchema = { +export const magic_managed_app_id: JsonSchema = { "type": "string" }; /** * The schema of `magic_messages` in responses. */ -export const magic_messages_output: JsonSchema = { +export const magic_messages: JsonSchema = { "items": { "properties": { "code": { @@ -509,7 +509,7 @@ export const magic_messages_output: JsonSchema = { /** * The schema of `magic_schemas-created_on` in responses. */ -export const magic_schemas_created_on_output: JsonSchema = { +export const magic_schemas$$created_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -517,14 +517,14 @@ export const magic_schemas_created_on_output: JsonSchema = { /** * The schema of `magic_schemas-identifier` in responses. */ -export const magic_schemas_identifier_output: JsonSchema = { +export const magic_schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `magic_schemas-modified_on` in responses. */ -export const magic_schemas_modified_on_output: JsonSchema = { +export const magic_schemas$$modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -532,7 +532,7 @@ export const magic_schemas_modified_on_output: JsonSchema = { /** * The schema of `magic_tunnel_health_check` in responses. */ -export const magic_tunnel_health_check_output: JsonSchema = { +export const magic_tunnel_health_check: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_health_check_base" diff --git a/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts b/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts index cb2d990a6..fcd0871ff 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts @@ -3,37 +3,45 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_visibility_pcaps_api_response_common_failure_output, - magic_visibility_pcaps_messages_output, + magic$$visibility$$pcaps_api$$response$$common$$failure, + magic$$visibility$$pcaps_messages, } from "../outputs.js"; -import { magic_visibility_pcaps_identifier } from "../schemas.js"; +import { magic$$visibility$$pcaps_identifier } from "../schemas.js"; /** - * The tools of `magic_transit.pcaps.download`. + * The tools of `magicTransit.pcaps.download`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_pcaps_download_get", + name: "magicTransit_pcaps_download_get", title: "Download Simple PCAP", description: "Download PCAP information into a file. Response is a binary PCAP file.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." - }, - "pcap_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + }, + "pcap_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "pcap_id" + ], + "type": "object" } }, required: [ - "account_id", - "pcap_id" + "path" ], $defs: { - "magic-visibility-pcaps_identifier": magic_visibility_pcaps_identifier, + "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, }, }, annotations: { @@ -68,8 +76,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts b/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts index 18e8796f4..8211a16cd 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-visibility-pcaps_api-response-collection` in responses. */ -export const magic_visibility_pcaps_api_response_collection_output: JsonSchema = { +export const magic$$visibility$$pcaps_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-pcaps_api-response-common" @@ -38,7 +38,7 @@ export const magic_visibility_pcaps_api_response_collection_output: JsonSchema = /** * The schema of `magic-visibility-pcaps_api-response-common` in responses. */ -export const magic_visibility_pcaps_api_response_common_output: JsonSchema = { +export const magic$$visibility$$pcaps_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic-visibility-pcaps_messages" @@ -82,7 +82,7 @@ export const magic_visibility_pcaps_api_response_common_output: JsonSchema = { * The schema of `magic-visibility-pcaps_api-response-common-failure` in * responses. */ -export const magic_visibility_pcaps_api_response_common_failure_output: JsonSchema = { +export const magic$$visibility$$pcaps_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/magic-visibility-pcaps_messages" @@ -111,7 +111,7 @@ export const magic_visibility_pcaps_api_response_common_failure_output: JsonSche /** * The schema of `magic-visibility-pcaps_api-response-single` in responses. */ -export const magic_visibility_pcaps_api_response_single_output: JsonSchema = { +export const magic$$visibility$$pcaps_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-pcaps_api-response-common" @@ -137,7 +137,7 @@ export const magic_visibility_pcaps_api_response_single_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_messages` in responses. */ -export const magic_visibility_pcaps_messages_output: JsonSchema = { +export const magic$$visibility$$pcaps_messages: JsonSchema = { "items": { "properties": { "code": { @@ -159,7 +159,7 @@ export const magic_visibility_pcaps_messages_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_byte_limit` in responses. */ -export const magic_visibility_pcaps_pcaps_byte_limit_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_byte_limit: JsonSchema = { "type": "number" }; @@ -167,7 +167,7 @@ export const magic_visibility_pcaps_pcaps_byte_limit_output: JsonSchema = { * The schema of `magic-visibility-pcaps_pcaps_collection_response` in * responses. */ -export const magic_visibility_pcaps_pcaps_collection_response_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-pcaps_api-response-collection" @@ -196,28 +196,28 @@ export const magic_visibility_pcaps_pcaps_collection_response_output: JsonSchema /** * The schema of `magic-visibility-pcaps_pcaps_colo_name` in responses. */ -export const magic_visibility_pcaps_pcaps_colo_name_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_colo_name: JsonSchema = { "type": "string" }; /** * The schema of `magic-visibility-pcaps_pcaps_destination_conf` in responses. */ -export const magic_visibility_pcaps_pcaps_destination_conf_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_destination_conf: JsonSchema = { "type": "string" }; /** * The schema of `magic-visibility-pcaps_pcaps_error_message` in responses. */ -export const magic_visibility_pcaps_pcaps_error_message_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_error_message: JsonSchema = { "type": "string" }; /** * The schema of `magic-visibility-pcaps_pcaps_filter_v1` in responses. */ -export const magic_visibility_pcaps_pcaps_filter_v1_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_filter_v1: JsonSchema = { "properties": { "destination_address": { "type": "string" @@ -241,14 +241,14 @@ export const magic_visibility_pcaps_pcaps_filter_v1_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_id` in responses. */ -export const magic_visibility_pcaps_pcaps_id_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_id: JsonSchema = { "type": "string" }; /** * The schema of `magic-visibility-pcaps_pcaps_offset_time` in responses. */ -export const magic_visibility_pcaps_pcaps_offset_time_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_offset_time: JsonSchema = { "format": "date-time", "type": "string" }; @@ -256,14 +256,14 @@ export const magic_visibility_pcaps_pcaps_offset_time_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_packets_captured` in responses. */ -export const magic_visibility_pcaps_pcaps_packets_captured_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_packets_captured: JsonSchema = { "type": "integer" }; /** * The schema of `magic-visibility-pcaps_pcaps_response_full` in responses. */ -export const magic_visibility_pcaps_pcaps_response_full_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_response_full: JsonSchema = { "properties": { "byte_limit": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_byte_limit" @@ -311,7 +311,7 @@ export const magic_visibility_pcaps_pcaps_response_full_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_response_simple` in responses. */ -export const magic_visibility_pcaps_pcaps_response_simple_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_response_simple: JsonSchema = { "properties": { "filter_v1": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_filter_v1" @@ -344,7 +344,7 @@ export const magic_visibility_pcaps_pcaps_response_simple_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_single_response` in responses. */ -export const magic_visibility_pcaps_pcaps_single_response_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-pcaps_api-response-single" @@ -370,7 +370,7 @@ export const magic_visibility_pcaps_pcaps_single_response_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_status` in responses. */ -export const magic_visibility_pcaps_pcaps_status_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_status: JsonSchema = { "enum": [ "unknown", "success", @@ -387,7 +387,7 @@ export const magic_visibility_pcaps_pcaps_status_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_stop_requested` in responses. */ -export const magic_visibility_pcaps_pcaps_stop_requested_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_stop_requested: JsonSchema = { "format": "date-time", "type": "string" }; @@ -395,14 +395,14 @@ export const magic_visibility_pcaps_pcaps_stop_requested_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_submitted` in responses. */ -export const magic_visibility_pcaps_pcaps_submitted_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_submitted: JsonSchema = { "type": "string" }; /** * The schema of `magic-visibility-pcaps_pcaps_system` in responses. */ -export const magic_visibility_pcaps_pcaps_system_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_system: JsonSchema = { "enum": [ "magic-transit" ], @@ -412,21 +412,21 @@ export const magic_visibility_pcaps_pcaps_system_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_time_limit_full` in responses. */ -export const magic_visibility_pcaps_pcaps_time_limit_full_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_time_limit_full: JsonSchema = { "type": "number" }; /** * The schema of `magic-visibility-pcaps_pcaps_time_limit_sampled` in responses. */ -export const magic_visibility_pcaps_pcaps_time_limit_sampled_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_time_limit_sampled: JsonSchema = { "type": "number" }; /** * The schema of `magic-visibility-pcaps_pcaps_type` in responses. */ -export const magic_visibility_pcaps_pcaps_type_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_type: JsonSchema = { "enum": [ "simple", "full" @@ -437,7 +437,7 @@ export const magic_visibility_pcaps_pcaps_type_output: JsonSchema = { /** * The schema of `magic-visibility-pcaps_result_info` in responses. */ -export const magic_visibility_pcaps_result_info_output: JsonSchema = { +export const magic$$visibility$$pcaps_result_info: JsonSchema = { "properties": { "count": { "type": "number" diff --git a/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts b/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts index 9ee72f4de..3052ba724 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `magic-visibility-pcaps_pcaps_ownership_challenge` in * responses. */ -export const magic_visibility_pcaps_pcaps_ownership_challenge_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_ownership_challenge: JsonSchema = { "type": "string" }; @@ -15,7 +15,7 @@ export const magic_visibility_pcaps_pcaps_ownership_challenge_output: JsonSchema * The schema of `magic-visibility-pcaps_pcaps_ownership_collection` in * responses. */ -export const magic_visibility_pcaps_pcaps_ownership_collection_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_ownership_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-pcaps_api-response-collection" @@ -44,7 +44,7 @@ export const magic_visibility_pcaps_pcaps_ownership_collection_output: JsonSchem /** * The schema of `magic-visibility-pcaps_pcaps_ownership_response` in responses. */ -export const magic_visibility_pcaps_pcaps_ownership_response_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_ownership_response: JsonSchema = { "properties": { "destination_conf": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf" @@ -84,7 +84,7 @@ export const magic_visibility_pcaps_pcaps_ownership_response_output: JsonSchema * The schema of `magic-visibility-pcaps_pcaps_ownership_single_response` in * responses. */ -export const magic_visibility_pcaps_pcaps_ownership_single_response_output: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_ownership_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic-visibility-pcaps_api-response-common" diff --git a/src/generated/forge-mcp/magicTransit/pcaps/ownership/schemas.ts b/src/generated/forge-mcp/magicTransit/pcaps/ownership/schemas.ts index fb4e2754f..9197305cc 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/ownership/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/ownership/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `magic-visibility-pcaps_pcaps_ownership_challenge`. */ -export const magic_visibility_pcaps_pcaps_ownership_challenge: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_ownership_challenge: JsonSchema = { "description": "The ownership challenge filename stored in the bucket.", "type": "string" }; @@ -14,7 +14,7 @@ export const magic_visibility_pcaps_pcaps_ownership_challenge: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_ownership_request`. */ -export const magic_visibility_pcaps_pcaps_ownership_request: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_ownership_request: JsonSchema = { "properties": { "destination_conf": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf", @@ -30,7 +30,7 @@ export const magic_visibility_pcaps_pcaps_ownership_request: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_ownership_validate_request`. */ -export const magic_visibility_pcaps_pcaps_ownership_validate_request: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_ownership_validate_request: JsonSchema = { "properties": { "destination_conf": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf", diff --git a/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts b/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts index 8b083f7ee..e2bbb4cda 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts @@ -3,67 +3,75 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_visibility_pcaps_api_response_collection_output, - magic_visibility_pcaps_api_response_common_failure_output, - magic_visibility_pcaps_api_response_common_output, - magic_visibility_pcaps_messages_output, - magic_visibility_pcaps_pcaps_destination_conf_output, - magic_visibility_pcaps_result_info_output, + magic$$visibility$$pcaps_api$$response$$collection, + magic$$visibility$$pcaps_api$$response$$common, + magic$$visibility$$pcaps_api$$response$$common$$failure, + magic$$visibility$$pcaps_messages, + magic$$visibility$$pcaps_pcaps_destination_conf, + magic$$visibility$$pcaps_result_info, } from "../outputs.js"; import { - magic_visibility_pcaps_identifier, - magic_visibility_pcaps_pcaps_destination_conf, + magic$$visibility$$pcaps_identifier, + magic$$visibility$$pcaps_pcaps_destination_conf as magic$$visibility$$pcaps_pcaps_destination_conf$, } from "../schemas.js"; import { - magic_visibility_pcaps_pcaps_ownership_challenge_output, - magic_visibility_pcaps_pcaps_ownership_collection_output, - magic_visibility_pcaps_pcaps_ownership_response_output, - magic_visibility_pcaps_pcaps_ownership_single_response_output, + magic$$visibility$$pcaps_pcaps_ownership_challenge, + magic$$visibility$$pcaps_pcaps_ownership_collection, + magic$$visibility$$pcaps_pcaps_ownership_response, + magic$$visibility$$pcaps_pcaps_ownership_single_response, } from "./outputs.js"; import { - magic_visibility_pcaps_pcaps_ownership_challenge, - magic_visibility_pcaps_pcaps_ownership_request, - magic_visibility_pcaps_pcaps_ownership_validate_request, + magic$$visibility$$pcaps_pcaps_ownership_challenge as magic$$visibility$$pcaps_pcaps_ownership_challenge$, + magic$$visibility$$pcaps_pcaps_ownership_request, + magic$$visibility$$pcaps_pcaps_ownership_validate_request, } from "./schemas.js"; /** - * The tools of `magic_transit.pcaps.ownership`. + * The tools of `magicTransit.pcaps.ownership`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_pcaps_ownership_create", + name: "magicTransit_pcaps_ownership_create", title: "Add buckets for full packet captures", description: "Adds an AWS or GCP bucket to use with full packet captures.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-pcaps_identifier": magic_visibility_pcaps_identifier, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_ownership_request": magic_visibility_pcaps_pcaps_ownership_request, + "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf$, + "magic-visibility-pcaps_pcaps_ownership_request": magic$$visibility$$pcaps_pcaps_ownership_request, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_single_response", $defs: { - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge_output, - "magic-visibility-pcaps_pcaps_ownership_response": magic_visibility_pcaps_pcaps_ownership_response_output, - "magic-visibility-pcaps_pcaps_ownership_single_response": magic_visibility_pcaps_pcaps_ownership_single_response_output, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, + "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, + "magic-visibility-pcaps_pcaps_ownership_single_response": magic$$visibility$$pcaps_pcaps_ownership_single_response, }, }, annotations: { @@ -99,13 +107,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge_output, - "magic-visibility-pcaps_pcaps_ownership_response": magic_visibility_pcaps_pcaps_ownership_response_output, - "magic-visibility-pcaps_pcaps_ownership_single_response": magic_visibility_pcaps_pcaps_ownership_single_response_output, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, + "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, + "magic-visibility-pcaps_pcaps_ownership_single_response": magic$$visibility$$pcaps_pcaps_ownership_single_response, }, }, request: (args) => ({ @@ -114,27 +122,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_pcaps_ownership_delete", + name: "magicTransit_pcaps_ownership_delete", title: "Delete buckets for full packet captures", description: "Deletes buckets added to the packet captures API.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." - }, - "ownership_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + }, + "ownership_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "ownership_id" + ], + "type": "object" } }, required: [ - "account_id", - "ownership_id" + "path" ], $defs: { - "magic-visibility-pcaps_identifier": magic_visibility_pcaps_identifier, + "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, }, }, annotations: { @@ -168,8 +184,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, }, }, request: (args) => ({ @@ -177,35 +193,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_pcaps_ownership_get", + name: "magicTransit_pcaps_ownership_get", title: "List PCAPs Bucket Ownership", description: "List all buckets configured for use with PCAPs API.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic-visibility-pcaps_identifier": magic_visibility_pcaps_identifier, + "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_collection", $defs: { - "magic-visibility-pcaps_api-response-collection": magic_visibility_pcaps_api_response_collection_output, - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge_output, - "magic-visibility-pcaps_pcaps_ownership_collection": magic_visibility_pcaps_pcaps_ownership_collection_output, - "magic-visibility-pcaps_pcaps_ownership_response": magic_visibility_pcaps_pcaps_ownership_response_output, - "magic-visibility-pcaps_result_info": magic_visibility_pcaps_result_info_output, + "magic-visibility-pcaps_api-response-collection": magic$$visibility$$pcaps_api$$response$$collection, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, + "magic-visibility-pcaps_pcaps_ownership_collection": magic$$visibility$$pcaps_pcaps_ownership_collection, + "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, + "magic-visibility-pcaps_result_info": magic$$visibility$$pcaps_result_info, }, }, annotations: { @@ -242,15 +266,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-pcaps_api-response-collection": magic_visibility_pcaps_api_response_collection_output, - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge_output, - "magic-visibility-pcaps_pcaps_ownership_collection": magic_visibility_pcaps_pcaps_ownership_collection_output, - "magic-visibility-pcaps_pcaps_ownership_response": magic_visibility_pcaps_pcaps_ownership_response_output, - "magic-visibility-pcaps_result_info": magic_visibility_pcaps_result_info_output, + "magic-visibility-pcaps_api-response-collection": magic$$visibility$$pcaps_api$$response$$collection, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, + "magic-visibility-pcaps_pcaps_ownership_collection": magic$$visibility$$pcaps_pcaps_ownership_collection, + "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, + "magic-visibility-pcaps_result_info": magic$$visibility$$pcaps_result_info, }, }, request: (args) => ({ @@ -258,40 +282,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_pcaps_ownership_validate", + name: "magicTransit_pcaps_ownership_validate", title: "Validate buckets for full packet captures", description: "Validates buckets added to the packet captures API.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_validate_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-pcaps_identifier": magic_visibility_pcaps_identifier, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge, - "magic-visibility-pcaps_pcaps_ownership_validate_request": magic_visibility_pcaps_pcaps_ownership_validate_request, + "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf$, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge$, + "magic-visibility-pcaps_pcaps_ownership_validate_request": magic$$visibility$$pcaps_pcaps_ownership_validate_request, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_single_response", $defs: { - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge_output, - "magic-visibility-pcaps_pcaps_ownership_response": magic_visibility_pcaps_pcaps_ownership_response_output, - "magic-visibility-pcaps_pcaps_ownership_single_response": magic_visibility_pcaps_pcaps_ownership_single_response_output, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, + "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, + "magic-visibility-pcaps_pcaps_ownership_single_response": magic$$visibility$$pcaps_pcaps_ownership_single_response, }, }, annotations: { @@ -327,13 +359,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic_visibility_pcaps_pcaps_ownership_challenge_output, - "magic-visibility-pcaps_pcaps_ownership_response": magic_visibility_pcaps_pcaps_ownership_response_output, - "magic-visibility-pcaps_pcaps_ownership_single_response": magic_visibility_pcaps_pcaps_ownership_single_response_output, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, + "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, + "magic-visibility-pcaps_pcaps_ownership_single_response": magic$$visibility$$pcaps_pcaps_ownership_single_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/pcaps/schemas.ts b/src/generated/forge-mcp/magicTransit/pcaps/schemas.ts index 70a936bee..0606c5bc9 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic-visibility-pcaps_identifier`. */ -export const magic_visibility_pcaps_identifier: JsonSchema = { +export const magic$$visibility$$pcaps_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -14,7 +14,7 @@ export const magic_visibility_pcaps_identifier: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_byte_limit`. */ -export const magic_visibility_pcaps_pcaps_byte_limit: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_byte_limit: JsonSchema = { "description": "The maximum number of bytes to capture. This field only applies to `full` packet captures.", "type": "number" }; @@ -22,7 +22,7 @@ export const magic_visibility_pcaps_pcaps_byte_limit: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_colo_name`. */ -export const magic_visibility_pcaps_pcaps_colo_name: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_colo_name: JsonSchema = { "description": "The name of the data center used for the packet capture. This can be a specific colo (ord02) or a multi-colo name (ORD). This field only applies to `full` packet captures.", "type": "string" }; @@ -30,7 +30,7 @@ export const magic_visibility_pcaps_pcaps_colo_name: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_destination_conf`. */ -export const magic_visibility_pcaps_pcaps_destination_conf: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_destination_conf: JsonSchema = { "description": "The full URI for the bucket. This field only applies to `full` packet captures.", "type": "string" }; @@ -38,7 +38,7 @@ export const magic_visibility_pcaps_pcaps_destination_conf: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_filter_v1`. */ -export const magic_visibility_pcaps_pcaps_filter_v1: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_filter_v1: JsonSchema = { "description": "The packet capture filter. When this field is empty, all packets are captured.", "properties": { "destination_address": { @@ -68,7 +68,7 @@ export const magic_visibility_pcaps_pcaps_filter_v1: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_offset_time`. */ -export const magic_visibility_pcaps_pcaps_offset_time: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_offset_time: JsonSchema = { "description": "The RFC 3339 offset timestamp from which to query backwards for packets. Must be within the last 24h. When this field is empty, defaults to time of request.", "format": "date-time", "type": "string" @@ -77,7 +77,7 @@ export const magic_visibility_pcaps_pcaps_offset_time: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_packet_limit`. */ -export const magic_visibility_pcaps_pcaps_packet_limit: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_packet_limit: JsonSchema = { "description": "The limit of packets contained in a packet capture.", "type": "number" }; @@ -85,7 +85,7 @@ export const magic_visibility_pcaps_pcaps_packet_limit: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_request_full`. */ -export const magic_visibility_pcaps_pcaps_request_full: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_request_full: JsonSchema = { "properties": { "byte_limit": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_byte_limit", @@ -133,7 +133,7 @@ export const magic_visibility_pcaps_pcaps_request_full: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_request_pcap`. */ -export const magic_visibility_pcaps_pcaps_request_pcap: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_request_pcap: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_request_simple" @@ -147,7 +147,7 @@ export const magic_visibility_pcaps_pcaps_request_pcap: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_request_simple`. */ -export const magic_visibility_pcaps_pcaps_request_simple: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_request_simple: JsonSchema = { "properties": { "filter_v1": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_filter_v1", @@ -186,7 +186,7 @@ export const magic_visibility_pcaps_pcaps_request_simple: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_system`. */ -export const magic_visibility_pcaps_pcaps_system: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_system: JsonSchema = { "description": "The system used to collect packet captures.", "enum": [ "magic-transit" @@ -197,7 +197,7 @@ export const magic_visibility_pcaps_pcaps_system: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_time_limit_full`. */ -export const magic_visibility_pcaps_pcaps_time_limit_full: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_time_limit_full: JsonSchema = { "description": "The packet capture duration in seconds.", "type": "number" }; @@ -205,7 +205,7 @@ export const magic_visibility_pcaps_pcaps_time_limit_full: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_time_limit_sampled`. */ -export const magic_visibility_pcaps_pcaps_time_limit_sampled: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_time_limit_sampled: JsonSchema = { "description": "The packet capture duration in seconds.", "type": "number" }; @@ -213,7 +213,7 @@ export const magic_visibility_pcaps_pcaps_time_limit_sampled: JsonSchema = { /** * The schema of `magic-visibility-pcaps_pcaps_type`. */ -export const magic_visibility_pcaps_pcaps_type: JsonSchema = { +export const magic$$visibility$$pcaps_pcaps_type: JsonSchema = { "description": "The type of packet capture. `Simple` captures sampled packets, and `full` captures entire payloads and non-sampled packets.", "enum": [ "simple", diff --git a/src/generated/forge-mcp/magicTransit/pcaps/tools.ts b/src/generated/forge-mcp/magicTransit/pcaps/tools.ts index ed2350cdc..cc227cb03 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/tools.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/tools.ts @@ -3,113 +3,121 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_visibility_pcaps_api_response_collection_output, - magic_visibility_pcaps_api_response_common_failure_output, - magic_visibility_pcaps_api_response_common_output, - magic_visibility_pcaps_api_response_single_output, - magic_visibility_pcaps_messages_output, - magic_visibility_pcaps_pcaps_byte_limit_output, - magic_visibility_pcaps_pcaps_collection_response_output, - magic_visibility_pcaps_pcaps_colo_name_output, - magic_visibility_pcaps_pcaps_destination_conf_output, - magic_visibility_pcaps_pcaps_error_message_output, - magic_visibility_pcaps_pcaps_filter_v1_output, - magic_visibility_pcaps_pcaps_id_output, - magic_visibility_pcaps_pcaps_offset_time_output, - magic_visibility_pcaps_pcaps_packets_captured_output, - magic_visibility_pcaps_pcaps_response_full_output, - magic_visibility_pcaps_pcaps_response_simple_output, - magic_visibility_pcaps_pcaps_single_response_output, - magic_visibility_pcaps_pcaps_status_output, - magic_visibility_pcaps_pcaps_stop_requested_output, - magic_visibility_pcaps_pcaps_submitted_output, - magic_visibility_pcaps_pcaps_system_output, - magic_visibility_pcaps_pcaps_time_limit_full_output, - magic_visibility_pcaps_pcaps_time_limit_sampled_output, - magic_visibility_pcaps_pcaps_type_output, - magic_visibility_pcaps_result_info_output, + magic$$visibility$$pcaps_api$$response$$collection, + magic$$visibility$$pcaps_api$$response$$common, + magic$$visibility$$pcaps_api$$response$$common$$failure, + magic$$visibility$$pcaps_api$$response$$single, + magic$$visibility$$pcaps_messages, + magic$$visibility$$pcaps_pcaps_byte_limit, + magic$$visibility$$pcaps_pcaps_collection_response, + magic$$visibility$$pcaps_pcaps_colo_name, + magic$$visibility$$pcaps_pcaps_destination_conf, + magic$$visibility$$pcaps_pcaps_error_message, + magic$$visibility$$pcaps_pcaps_filter_v1, + magic$$visibility$$pcaps_pcaps_id, + magic$$visibility$$pcaps_pcaps_offset_time, + magic$$visibility$$pcaps_pcaps_packets_captured, + magic$$visibility$$pcaps_pcaps_response_full, + magic$$visibility$$pcaps_pcaps_response_simple, + magic$$visibility$$pcaps_pcaps_single_response, + magic$$visibility$$pcaps_pcaps_status, + magic$$visibility$$pcaps_pcaps_stop_requested, + magic$$visibility$$pcaps_pcaps_submitted, + magic$$visibility$$pcaps_pcaps_system, + magic$$visibility$$pcaps_pcaps_time_limit_full, + magic$$visibility$$pcaps_pcaps_time_limit_sampled, + magic$$visibility$$pcaps_pcaps_type, + magic$$visibility$$pcaps_result_info, } from "./outputs.js"; import { - magic_visibility_pcaps_identifier, - magic_visibility_pcaps_pcaps_byte_limit, - magic_visibility_pcaps_pcaps_colo_name, - magic_visibility_pcaps_pcaps_destination_conf, - magic_visibility_pcaps_pcaps_filter_v1, - magic_visibility_pcaps_pcaps_offset_time, - magic_visibility_pcaps_pcaps_packet_limit, - magic_visibility_pcaps_pcaps_request_full, - magic_visibility_pcaps_pcaps_request_pcap, - magic_visibility_pcaps_pcaps_request_simple, - magic_visibility_pcaps_pcaps_system, - magic_visibility_pcaps_pcaps_time_limit_full, - magic_visibility_pcaps_pcaps_time_limit_sampled, - magic_visibility_pcaps_pcaps_type, + magic$$visibility$$pcaps_identifier, + magic$$visibility$$pcaps_pcaps_byte_limit as magic$$visibility$$pcaps_pcaps_byte_limit$, + magic$$visibility$$pcaps_pcaps_colo_name as magic$$visibility$$pcaps_pcaps_colo_name$, + magic$$visibility$$pcaps_pcaps_destination_conf as magic$$visibility$$pcaps_pcaps_destination_conf$, + magic$$visibility$$pcaps_pcaps_filter_v1 as magic$$visibility$$pcaps_pcaps_filter_v1$, + magic$$visibility$$pcaps_pcaps_offset_time as magic$$visibility$$pcaps_pcaps_offset_time$, + magic$$visibility$$pcaps_pcaps_packet_limit, + magic$$visibility$$pcaps_pcaps_request_full, + magic$$visibility$$pcaps_pcaps_request_pcap, + magic$$visibility$$pcaps_pcaps_request_simple, + magic$$visibility$$pcaps_pcaps_system as magic$$visibility$$pcaps_pcaps_system$, + magic$$visibility$$pcaps_pcaps_time_limit_full as magic$$visibility$$pcaps_pcaps_time_limit_full$, + magic$$visibility$$pcaps_pcaps_time_limit_sampled as magic$$visibility$$pcaps_pcaps_time_limit_sampled$, + magic$$visibility$$pcaps_pcaps_type as magic$$visibility$$pcaps_pcaps_type$, } from "./schemas.js"; /** - * The tools of `magic_transit.pcaps`. + * The tools of `magicTransit.pcaps`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_pcaps_create", + name: "magicTransit_pcaps_create", title: "Create PCAP request", description: "Create new PCAP request for account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_request_pcap" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic-visibility-pcaps_identifier": magic_visibility_pcaps_identifier, - "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit, - "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1, - "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time, - "magic-visibility-pcaps_pcaps_packet_limit": magic_visibility_pcaps_pcaps_packet_limit, - "magic-visibility-pcaps_pcaps_request_full": magic_visibility_pcaps_pcaps_request_full, - "magic-visibility-pcaps_pcaps_request_pcap": magic_visibility_pcaps_pcaps_request_pcap, - "magic-visibility-pcaps_pcaps_request_simple": magic_visibility_pcaps_pcaps_request_simple, - "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system, - "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled, - "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type, + "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, + "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit$, + "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name$, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf$, + "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1$, + "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time$, + "magic-visibility-pcaps_pcaps_packet_limit": magic$$visibility$$pcaps_pcaps_packet_limit, + "magic-visibility-pcaps_pcaps_request_full": magic$$visibility$$pcaps_pcaps_request_full, + "magic-visibility-pcaps_pcaps_request_pcap": magic$$visibility$$pcaps_pcaps_request_pcap, + "magic-visibility-pcaps_pcaps_request_simple": magic$$visibility$$pcaps_pcaps_request_simple, + "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system$, + "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full$, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled$, + "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type$, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_single_response", $defs: { - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_api-response-single": magic_visibility_pcaps_api_response_single_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit_output, - "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_error_message": magic_visibility_pcaps_pcaps_error_message_output, - "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1_output, - "magic-visibility-pcaps_pcaps_id": magic_visibility_pcaps_pcaps_id_output, - "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time_output, - "magic-visibility-pcaps_pcaps_packets_captured": magic_visibility_pcaps_pcaps_packets_captured_output, - "magic-visibility-pcaps_pcaps_response_full": magic_visibility_pcaps_pcaps_response_full_output, - "magic-visibility-pcaps_pcaps_response_simple": magic_visibility_pcaps_pcaps_response_simple_output, - "magic-visibility-pcaps_pcaps_single_response": magic_visibility_pcaps_pcaps_single_response_output, - "magic-visibility-pcaps_pcaps_status": magic_visibility_pcaps_pcaps_status_output, - "magic-visibility-pcaps_pcaps_stop_requested": magic_visibility_pcaps_pcaps_stop_requested_output, - "magic-visibility-pcaps_pcaps_submitted": magic_visibility_pcaps_pcaps_submitted_output, - "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system_output, - "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full_output, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled_output, - "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type_output, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_api-response-single": magic$$visibility$$pcaps_api$$response$$single, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, + "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, + "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, + "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, + "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, + "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, + "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, + "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, + "magic-visibility-pcaps_pcaps_single_response": magic$$visibility$$pcaps_pcaps_single_response, + "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, + "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, + "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, + "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, + "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, + "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, }, }, annotations: { @@ -145,28 +153,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, - "magic-visibility-pcaps_api-response-single": magic_visibility_pcaps_api_response_single_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit_output, - "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_error_message": magic_visibility_pcaps_pcaps_error_message_output, - "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1_output, - "magic-visibility-pcaps_pcaps_id": magic_visibility_pcaps_pcaps_id_output, - "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time_output, - "magic-visibility-pcaps_pcaps_packets_captured": magic_visibility_pcaps_pcaps_packets_captured_output, - "magic-visibility-pcaps_pcaps_response_full": magic_visibility_pcaps_pcaps_response_full_output, - "magic-visibility-pcaps_pcaps_response_simple": magic_visibility_pcaps_pcaps_response_simple_output, - "magic-visibility-pcaps_pcaps_single_response": magic_visibility_pcaps_pcaps_single_response_output, - "magic-visibility-pcaps_pcaps_status": magic_visibility_pcaps_pcaps_status_output, - "magic-visibility-pcaps_pcaps_stop_requested": magic_visibility_pcaps_pcaps_stop_requested_output, - "magic-visibility-pcaps_pcaps_submitted": magic_visibility_pcaps_pcaps_submitted_output, - "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system_output, - "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full_output, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled_output, - "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type_output, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, + "magic-visibility-pcaps_api-response-single": magic$$visibility$$pcaps_api$$response$$single, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, + "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, + "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, + "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, + "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, + "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, + "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, + "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, + "magic-visibility-pcaps_pcaps_single_response": magic$$visibility$$pcaps_pcaps_single_response, + "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, + "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, + "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, + "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, + "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, + "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, }, }, request: (args) => ({ @@ -175,53 +183,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_pcaps_get", + name: "magicTransit_pcaps_get", title: "Get PCAP request", description: "Get information for a PCAP request by id.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." - }, - "pcap_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + }, + "pcap_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "pcap_id" + ], + "type": "object" } }, required: [ - "account_id", - "pcap_id" + "path" ], $defs: { - "magic-visibility-pcaps_identifier": magic_visibility_pcaps_identifier, + "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_single_response", $defs: { - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_api-response-single": magic_visibility_pcaps_api_response_single_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit_output, - "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_error_message": magic_visibility_pcaps_pcaps_error_message_output, - "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1_output, - "magic-visibility-pcaps_pcaps_id": magic_visibility_pcaps_pcaps_id_output, - "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time_output, - "magic-visibility-pcaps_pcaps_packets_captured": magic_visibility_pcaps_pcaps_packets_captured_output, - "magic-visibility-pcaps_pcaps_response_full": magic_visibility_pcaps_pcaps_response_full_output, - "magic-visibility-pcaps_pcaps_response_simple": magic_visibility_pcaps_pcaps_response_simple_output, - "magic-visibility-pcaps_pcaps_single_response": magic_visibility_pcaps_pcaps_single_response_output, - "magic-visibility-pcaps_pcaps_status": magic_visibility_pcaps_pcaps_status_output, - "magic-visibility-pcaps_pcaps_stop_requested": magic_visibility_pcaps_pcaps_stop_requested_output, - "magic-visibility-pcaps_pcaps_submitted": magic_visibility_pcaps_pcaps_submitted_output, - "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system_output, - "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full_output, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled_output, - "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type_output, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_api-response-single": magic$$visibility$$pcaps_api$$response$$single, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, + "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, + "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, + "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, + "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, + "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, + "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, + "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, + "magic-visibility-pcaps_pcaps_single_response": magic$$visibility$$pcaps_pcaps_single_response, + "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, + "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, + "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, + "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, + "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, + "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, }, }, annotations: { @@ -258,28 +274,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, - "magic-visibility-pcaps_api-response-single": magic_visibility_pcaps_api_response_single_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit_output, - "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_error_message": magic_visibility_pcaps_pcaps_error_message_output, - "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1_output, - "magic-visibility-pcaps_pcaps_id": magic_visibility_pcaps_pcaps_id_output, - "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time_output, - "magic-visibility-pcaps_pcaps_packets_captured": magic_visibility_pcaps_pcaps_packets_captured_output, - "magic-visibility-pcaps_pcaps_response_full": magic_visibility_pcaps_pcaps_response_full_output, - "magic-visibility-pcaps_pcaps_response_simple": magic_visibility_pcaps_pcaps_response_simple_output, - "magic-visibility-pcaps_pcaps_single_response": magic_visibility_pcaps_pcaps_single_response_output, - "magic-visibility-pcaps_pcaps_status": magic_visibility_pcaps_pcaps_status_output, - "magic-visibility-pcaps_pcaps_stop_requested": magic_visibility_pcaps_pcaps_stop_requested_output, - "magic-visibility-pcaps_pcaps_submitted": magic_visibility_pcaps_pcaps_submitted_output, - "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system_output, - "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full_output, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled_output, - "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type_output, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, + "magic-visibility-pcaps_api-response-single": magic$$visibility$$pcaps_api$$response$$single, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, + "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, + "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, + "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, + "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, + "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, + "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, + "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, + "magic-visibility-pcaps_pcaps_single_response": magic$$visibility$$pcaps_pcaps_single_response, + "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, + "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, + "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, + "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, + "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, + "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, }, }, request: (args) => ({ @@ -287,49 +303,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_pcaps_list", + name: "magicTransit_pcaps_list", title: "List packet capture requests", description: "Lists all packet capture requests for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic-visibility-pcaps_identifier": magic_visibility_pcaps_identifier, + "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_collection_response", $defs: { - "magic-visibility-pcaps_api-response-collection": magic_visibility_pcaps_api_response_collection_output, - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit_output, - "magic-visibility-pcaps_pcaps_collection_response": magic_visibility_pcaps_pcaps_collection_response_output, - "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_error_message": magic_visibility_pcaps_pcaps_error_message_output, - "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1_output, - "magic-visibility-pcaps_pcaps_id": magic_visibility_pcaps_pcaps_id_output, - "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time_output, - "magic-visibility-pcaps_pcaps_packets_captured": magic_visibility_pcaps_pcaps_packets_captured_output, - "magic-visibility-pcaps_pcaps_response_full": magic_visibility_pcaps_pcaps_response_full_output, - "magic-visibility-pcaps_pcaps_response_simple": magic_visibility_pcaps_pcaps_response_simple_output, - "magic-visibility-pcaps_pcaps_status": magic_visibility_pcaps_pcaps_status_output, - "magic-visibility-pcaps_pcaps_stop_requested": magic_visibility_pcaps_pcaps_stop_requested_output, - "magic-visibility-pcaps_pcaps_submitted": magic_visibility_pcaps_pcaps_submitted_output, - "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system_output, - "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full_output, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled_output, - "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type_output, - "magic-visibility-pcaps_result_info": magic_visibility_pcaps_result_info_output, + "magic-visibility-pcaps_api-response-collection": magic$$visibility$$pcaps_api$$response$$collection, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, + "magic-visibility-pcaps_pcaps_collection_response": magic$$visibility$$pcaps_pcaps_collection_response, + "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, + "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, + "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, + "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, + "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, + "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, + "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, + "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, + "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, + "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, + "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, + "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, + "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, + "magic-visibility-pcaps_result_info": magic$$visibility$$pcaps_result_info, }, }, annotations: { @@ -366,29 +390,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-pcaps_api-response-collection": magic_visibility_pcaps_api_response_collection_output, - "magic-visibility-pcaps_api-response-common": magic_visibility_pcaps_api_response_common_output, - "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, - "magic-visibility-pcaps_pcaps_byte_limit": magic_visibility_pcaps_pcaps_byte_limit_output, - "magic-visibility-pcaps_pcaps_collection_response": magic_visibility_pcaps_pcaps_collection_response_output, - "magic-visibility-pcaps_pcaps_colo_name": magic_visibility_pcaps_pcaps_colo_name_output, - "magic-visibility-pcaps_pcaps_destination_conf": magic_visibility_pcaps_pcaps_destination_conf_output, - "magic-visibility-pcaps_pcaps_error_message": magic_visibility_pcaps_pcaps_error_message_output, - "magic-visibility-pcaps_pcaps_filter_v1": magic_visibility_pcaps_pcaps_filter_v1_output, - "magic-visibility-pcaps_pcaps_id": magic_visibility_pcaps_pcaps_id_output, - "magic-visibility-pcaps_pcaps_offset_time": magic_visibility_pcaps_pcaps_offset_time_output, - "magic-visibility-pcaps_pcaps_packets_captured": magic_visibility_pcaps_pcaps_packets_captured_output, - "magic-visibility-pcaps_pcaps_response_full": magic_visibility_pcaps_pcaps_response_full_output, - "magic-visibility-pcaps_pcaps_response_simple": magic_visibility_pcaps_pcaps_response_simple_output, - "magic-visibility-pcaps_pcaps_status": magic_visibility_pcaps_pcaps_status_output, - "magic-visibility-pcaps_pcaps_stop_requested": magic_visibility_pcaps_pcaps_stop_requested_output, - "magic-visibility-pcaps_pcaps_submitted": magic_visibility_pcaps_pcaps_submitted_output, - "magic-visibility-pcaps_pcaps_system": magic_visibility_pcaps_pcaps_system_output, - "magic-visibility-pcaps_pcaps_time_limit_full": magic_visibility_pcaps_pcaps_time_limit_full_output, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic_visibility_pcaps_pcaps_time_limit_sampled_output, - "magic-visibility-pcaps_pcaps_type": magic_visibility_pcaps_pcaps_type_output, - "magic-visibility-pcaps_result_info": magic_visibility_pcaps_result_info_output, + "magic-visibility-pcaps_api-response-collection": magic$$visibility$$pcaps_api$$response$$collection, + "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, + "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, + "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, + "magic-visibility-pcaps_pcaps_collection_response": magic$$visibility$$pcaps_pcaps_collection_response, + "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, + "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, + "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, + "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, + "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, + "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, + "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, + "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, + "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, + "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, + "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, + "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, + "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, + "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, + "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, + "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, + "magic-visibility-pcaps_result_info": magic$$visibility$$pcaps_result_info, }, }, request: (args) => ({ @@ -396,27 +420,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_pcaps_stop", + name: "magicTransit_pcaps_stop", title: "Stop full PCAP", description: "Stop full PCAP.\n\nConfirm with the user before calling this tool. This operation halts an in-progress full packet capture. Any unsaved capture data will be lost.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." - }, - "pcap_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + }, + "pcap_id": { + "$ref": "#/$defs/magic-visibility-pcaps_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "pcap_id" + ], + "type": "object" } }, required: [ - "account_id", - "pcap_id" + "path" ], $defs: { - "magic-visibility-pcaps_identifier": magic_visibility_pcaps_identifier, + "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, }, }, annotations: { @@ -450,8 +482,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic-visibility-pcaps_api-response-common-failure": magic_visibility_pcaps_api_response_common_failure_output, - "magic-visibility-pcaps_messages": magic_visibility_pcaps_messages_output, + "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, + "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/redundancyGroups/outputs.ts b/src/generated/forge-mcp/magicTransit/redundancyGroups/outputs.ts index d184c8b62..ac6567f29 100644 --- a/src/generated/forge-mcp/magicTransit/redundancyGroups/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/redundancyGroups/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_delete_redundancy_group_response` in responses. */ -export const magic_delete_redundancy_group_response_output: JsonSchema = { +export const magic_delete_redundancy_group_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -37,7 +37,7 @@ export const magic_delete_redundancy_group_response_output: JsonSchema = { /** * The schema of `magic_redundancy_group` in responses. */ -export const magic_redundancy_group_output: JsonSchema = { +export const magic_redundancy_group: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -63,7 +63,7 @@ export const magic_redundancy_group_output: JsonSchema = { /** * The schema of `magic_redundancy_group_single_response` in responses. */ -export const magic_redundancy_group_single_response_output: JsonSchema = { +export const magic_redundancy_group_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -82,7 +82,7 @@ export const magic_redundancy_group_single_response_output: JsonSchema = { /** * The schema of `magic_redundancy_group_with_members` in responses. */ -export const magic_redundancy_group_with_members_output: JsonSchema = { +export const magic_redundancy_group_with_members: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_redundancy_group" @@ -104,7 +104,7 @@ export const magic_redundancy_group_with_members_output: JsonSchema = { /** * The schema of `magic_redundancy_group_with_members_response` in responses. */ -export const magic_redundancy_group_with_members_response_output: JsonSchema = { +export const magic_redundancy_group_with_members_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -123,7 +123,7 @@ export const magic_redundancy_group_with_members_response_output: JsonSchema = { /** * The schema of `magic_redundancy_groups_collection_response` in responses. */ -export const magic_redundancy_groups_collection_response_output: JsonSchema = { +export const magic_redundancy_groups_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -150,7 +150,7 @@ export const magic_redundancy_groups_collection_response_output: JsonSchema = { /** * The schema of `magic_redundancy_member_data` in responses. */ -export const magic_redundancy_member_data_output: JsonSchema = { +export const magic_redundancy_member_data: JsonSchema = { "properties": { "data": { "type": "object" diff --git a/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts b/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts index 376610e26..c5aa4c376 100644 --- a/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts +++ b/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts @@ -3,20 +3,20 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_messages, } from "../outputs.js"; import { magic_identifier } from "../schemas.js"; import { - magic_delete_redundancy_group_response_output, - magic_redundancy_group_output, - magic_redundancy_group_single_response_output, - magic_redundancy_group_with_members_output, - magic_redundancy_group_with_members_response_output, - magic_redundancy_groups_collection_response_output, - magic_redundancy_member_data_output, + magic_delete_redundancy_group_response, + magic_redundancy_group, + magic_redundancy_group_single_response, + magic_redundancy_group_with_members, + magic_redundancy_group_with_members_response, + magic_redundancy_groups_collection_response, + magic_redundancy_member_data, } from "./outputs.js"; import { magic_create_redundancy_group_request, @@ -24,26 +24,34 @@ import { } from "./schemas.js"; /** - * The tools of `magic_transit.redundancy_groups`. + * The tools of `magicTransit.redundancyGroups`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_redundancy_groups_create", + name: "magicTransit_redundancyGroups_create", title: "Create a Redundancy Group", description: "Creates a new redundancy group, optionally with tunnel members.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_create_redundancy_group_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -55,11 +63,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_redundancy_group_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, - "magic_redundancy_group_single_response": magic_redundancy_group_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, + "magic_redundancy_group_single_response": magic_redundancy_group_single_response, }, }, annotations: { @@ -89,12 +97,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, - "magic_redundancy_group_single_response": magic_redundancy_group_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, + "magic_redundancy_group_single_response": magic_redundancy_group_single_response, }, }, request: (args) => ({ @@ -103,24 +111,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_redundancy_groups_delete", + name: "magicTransit_redundancyGroups_delete", title: "Delete a Redundancy Group", description: "Deletes a redundancy group. Member tunnels are not deleted — their redundancy_group_id is cleared.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "redundancy_group_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "redundancy_group_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "redundancy_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "redundancy_group_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -129,11 +145,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_delete_redundancy_group_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_delete_redundancy_group_response": magic_delete_redundancy_group_response_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_delete_redundancy_group_response": magic_delete_redundancy_group_response, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, }, }, annotations: { @@ -163,12 +179,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_delete_redundancy_group_response": magic_delete_redundancy_group_response_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_delete_redundancy_group_response": magic_delete_redundancy_group_response, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, }, }, request: (args) => ({ @@ -176,24 +192,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_redundancy_groups_get", + name: "magicTransit_redundancyGroups_get", title: "Get Redundancy Group Details", description: "Gets details for a specific redundancy group, including full member tunnel data.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "redundancy_group_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "redundancy_group_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "redundancy_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "redundancy_group_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -202,13 +226,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_redundancy_group_with_members_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, - "magic_redundancy_group_with_members": magic_redundancy_group_with_members_output, - "magic_redundancy_group_with_members_response": magic_redundancy_group_with_members_response_output, - "magic_redundancy_member_data": magic_redundancy_member_data_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, + "magic_redundancy_group_with_members": magic_redundancy_group_with_members, + "magic_redundancy_group_with_members_response": magic_redundancy_group_with_members_response, + "magic_redundancy_member_data": magic_redundancy_member_data, }, }, annotations: { @@ -238,14 +262,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, - "magic_redundancy_group_with_members": magic_redundancy_group_with_members_output, - "magic_redundancy_group_with_members_response": magic_redundancy_group_with_members_response_output, - "magic_redundancy_member_data": magic_redundancy_member_data_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, + "magic_redundancy_group_with_members": magic_redundancy_group_with_members, + "magic_redundancy_group_with_members_response": magic_redundancy_group_with_members_response, + "magic_redundancy_member_data": magic_redundancy_member_data, }, }, request: (args) => ({ @@ -253,19 +277,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_redundancy_groups_list", + name: "magicTransit_redundancyGroups_list", title: "List Redundancy Groups", description: "Lists redundancy groups associated with an account, including full member tunnel data.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -274,13 +306,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_redundancy_groups_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, - "magic_redundancy_group_with_members": magic_redundancy_group_with_members_output, - "magic_redundancy_groups_collection_response": magic_redundancy_groups_collection_response_output, - "magic_redundancy_member_data": magic_redundancy_member_data_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, + "magic_redundancy_group_with_members": magic_redundancy_group_with_members, + "magic_redundancy_groups_collection_response": magic_redundancy_groups_collection_response, + "magic_redundancy_member_data": magic_redundancy_member_data, }, }, annotations: { @@ -310,14 +342,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, - "magic_redundancy_group_with_members": magic_redundancy_group_with_members_output, - "magic_redundancy_groups_collection_response": magic_redundancy_groups_collection_response_output, - "magic_redundancy_member_data": magic_redundancy_member_data_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, + "magic_redundancy_group_with_members": magic_redundancy_group_with_members, + "magic_redundancy_groups_collection_response": magic_redundancy_groups_collection_response, + "magic_redundancy_member_data": magic_redundancy_member_data, }, }, request: (args) => ({ @@ -325,27 +357,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_redundancy_groups_update", + name: "magicTransit_redundancyGroups_update", title: "Update a Redundancy Group", description: "Replaces the name, description, and full set of members for an existing redundancy group.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_create_redundancy_group_request" }, - "redundancy_group_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "redundancy_group_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "redundancy_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "redundancy_group_id", + "path", "body" ], $defs: { @@ -357,11 +397,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_redundancy_group_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, - "magic_redundancy_group_single_response": magic_redundancy_group_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, + "magic_redundancy_group_single_response": magic_redundancy_group_single_response, }, }, annotations: { @@ -391,12 +431,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_redundancy_group": magic_redundancy_group_output, - "magic_redundancy_group_single_response": magic_redundancy_group_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_redundancy_group": magic_redundancy_group, + "magic_redundancy_group_single_response": magic_redundancy_group_single_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/routes/outputs.ts b/src/generated/forge-mcp/magicTransit/routes/outputs.ts index 7117f1d5e..83731e62a 100644 --- a/src/generated/forge-mcp/magicTransit/routes/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/routes/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_colo_name` in responses. */ -export const magic_colo_name_output: JsonSchema = { +export const magic_colo_name: JsonSchema = { "type": "string" }; /** * The schema of `magic_colo_names` in responses. */ -export const magic_colo_names_output: JsonSchema = { +export const magic_colo_names: JsonSchema = { "items": { "$ref": "#/$defs/magic_colo_name" }, @@ -23,14 +23,14 @@ export const magic_colo_names_output: JsonSchema = { /** * The schema of `magic_colo_region` in responses. */ -export const magic_colo_region_output: JsonSchema = { +export const magic_colo_region: JsonSchema = { "type": "string" }; /** * The schema of `magic_colo_regions` in responses. */ -export const magic_colo_regions_output: JsonSchema = { +export const magic_colo_regions: JsonSchema = { "items": { "$ref": "#/$defs/magic_colo_region" }, @@ -40,7 +40,7 @@ export const magic_colo_regions_output: JsonSchema = { /** * The schema of `magic_create_route_response` in responses. */ -export const magic_create_route_response_output: JsonSchema = { +export const magic_create_route_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -59,7 +59,7 @@ export const magic_create_route_response_output: JsonSchema = { /** * The schema of `magic_created_on` in responses. */ -export const magic_created_on_output: JsonSchema = { +export const magic_created_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -67,14 +67,14 @@ export const magic_created_on_output: JsonSchema = { /** * The schema of `magic_description` in responses. */ -export const magic_description_output: JsonSchema = { +export const magic_description: JsonSchema = { "type": "string" }; /** * The schema of `magic_modified_on` in responses. */ -export const magic_modified_on_output: JsonSchema = { +export const magic_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -82,7 +82,7 @@ export const magic_modified_on_output: JsonSchema = { /** * The schema of `magic_multiple_route_delete_response` in responses. */ -export const magic_multiple_route_delete_response_output: JsonSchema = { +export const magic_multiple_route_delete_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -112,7 +112,7 @@ export const magic_multiple_route_delete_response_output: JsonSchema = { /** * The schema of `magic_multiple_route_modified_response` in responses. */ -export const magic_multiple_route_modified_response_output: JsonSchema = { +export const magic_multiple_route_modified_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -142,28 +142,28 @@ export const magic_multiple_route_modified_response_output: JsonSchema = { /** * The schema of `magic_nexthop` in responses. */ -export const magic_nexthop_output: JsonSchema = { +export const magic_nexthop: JsonSchema = { "type": "string" }; /** * The schema of `magic_prefix` in responses. */ -export const magic_prefix_output: JsonSchema = { +export const magic_prefix: JsonSchema = { "type": "string" }; /** * The schema of `magic_priority` in responses. */ -export const magic_priority_output: JsonSchema = { +export const magic_priority: JsonSchema = { "type": "integer" }; /** * The schema of `magic_route` in responses. */ -export const magic_route_output: JsonSchema = { +export const magic_route: JsonSchema = { "properties": { "created_on": { "$ref": "#/$defs/magic_created_on" @@ -205,7 +205,7 @@ export const magic_route_output: JsonSchema = { /** * The schema of `magic_route_deleted_response` in responses. */ -export const magic_route_deleted_response_output: JsonSchema = { +export const magic_route_deleted_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -232,7 +232,7 @@ export const magic_route_deleted_response_output: JsonSchema = { /** * The schema of `magic_route_modified_response` in responses. */ -export const magic_route_modified_response_output: JsonSchema = { +export const magic_route_modified_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -259,7 +259,7 @@ export const magic_route_modified_response_output: JsonSchema = { /** * The schema of `magic_route_single_response` in responses. */ -export const magic_route_single_response_output: JsonSchema = { +export const magic_route_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -283,7 +283,7 @@ export const magic_route_single_response_output: JsonSchema = { /** * The schema of `magic_routes_collection_response` in responses. */ -export const magic_routes_collection_response_output: JsonSchema = { +export const magic_routes_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -310,7 +310,7 @@ export const magic_routes_collection_response_output: JsonSchema = { /** * The schema of `magic_scope` in responses. */ -export const magic_scope_output: JsonSchema = { +export const magic_scope: JsonSchema = { "properties": { "colo_names": { "$ref": "#/$defs/magic_colo_names" @@ -325,6 +325,6 @@ export const magic_scope_output: JsonSchema = { /** * The schema of `magic_weight` in responses. */ -export const magic_weight_output: JsonSchema = { +export const magic_weight: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/magicTransit/routes/tools.ts b/src/generated/forge-mcp/magicTransit/routes/tools.ts index 26fabdff4..008786e7a 100644 --- a/src/generated/forge-mcp/magicTransit/routes/tools.ts +++ b/src/generated/forge-mcp/magicTransit/routes/tools.ts @@ -3,118 +3,126 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_identifier_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_identifier, + magic_messages, } from "../outputs.js"; -import { magic_identifier } from "../schemas.js"; -import { - magic_colo_name_output, - magic_colo_names_output, - magic_colo_region_output, - magic_colo_regions_output, - magic_create_route_response_output, - magic_created_on_output, - magic_description_output, - magic_modified_on_output, - magic_multiple_route_delete_response_output, - magic_multiple_route_modified_response_output, - magic_nexthop_output, - magic_prefix_output, - magic_priority_output, - magic_route_deleted_response_output, - magic_route_modified_response_output, - magic_route_output, - magic_route_single_response_output, - magic_routes_collection_response_output, - magic_scope_output, - magic_weight_output, -} from "./outputs.js"; +import { magic_identifier as magic_identifier$ } from "../schemas.js"; import { magic_colo_name, magic_colo_names, magic_colo_region, magic_colo_regions, - magic_create_route_request, + magic_create_route_response, + magic_created_on, magic_description, + magic_modified_on, + magic_multiple_route_delete_response, + magic_multiple_route_modified_response, magic_nexthop, magic_prefix, magic_priority, + magic_route, + magic_route_deleted_response, + magic_route_modified_response, + magic_route_single_response, + magic_routes_collection_response, + magic_scope, + magic_weight, +} from "./outputs.js"; +import { + magic_colo_name as magic_colo_name$, + magic_colo_names as magic_colo_names$, + magic_colo_region as magic_colo_region$, + magic_colo_regions as magic_colo_regions$, + magic_create_route_request, + magic_description as magic_description$, + magic_nexthop as magic_nexthop$, + magic_prefix as magic_prefix$, + magic_priority as magic_priority$, magic_route_add_single_request, magic_route_delete_id, magic_route_delete_many_request, magic_route_update_many_request, magic_route_update_request, magic_route_update_single_request, - magic_scope, - magic_weight, + magic_scope as magic_scope$, + magic_weight as magic_weight$, } from "./schemas.js"; /** - * The tools of `magic_transit.routes`. + * The tools of `magicTransit.routes`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_routes_bulk_update", + name: "magicTransit_routes_bulkUpdate", title: "Update Many Routes", description: "Update multiple Magic static routes. Use `?validate_only=true` as an optional query parameter to run validation only without persisting changes. Only fields for a route that need to be changed need be provided.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_route_update_many_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { + "magic_colo_name": magic_colo_name$, + "magic_colo_names": magic_colo_names$, + "magic_colo_region": magic_colo_region$, + "magic_colo_regions": magic_colo_regions$, + "magic_description": magic_description$, + "magic_identifier": magic_identifier$, + "magic_nexthop": magic_nexthop$, + "magic_prefix": magic_prefix$, + "magic_priority": magic_priority$, + "magic_route_add_single_request": magic_route_add_single_request, + "magic_route_update_many_request": magic_route_update_many_request, + "magic_route_update_single_request": magic_route_update_single_request, + "magic_scope": magic_scope$, + "magic_weight": magic_weight$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_multiple_route_modified_response", + $defs: { + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, "magic_description": magic_description, "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_multiple_route_modified_response": magic_multiple_route_modified_response, "magic_nexthop": magic_nexthop, "magic_prefix": magic_prefix, "magic_priority": magic_priority, - "magic_route_add_single_request": magic_route_add_single_request, - "magic_route_update_many_request": magic_route_update_many_request, - "magic_route_update_single_request": magic_route_update_single_request, + "magic_route": magic_route, "magic_scope": magic_scope, "magic_weight": magic_weight, }, }, - outputSchema: { - "$ref": "#/$defs/magic_multiple_route_modified_response", - $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_multiple_route_modified_response": magic_multiple_route_modified_response_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -151,25 +159,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_multiple_route_modified_response": magic_multiple_route_modified_response_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_multiple_route_modified_response": magic_multiple_route_modified_response, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -178,62 +186,70 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_routes_create", + name: "magicTransit_routes_create", title: "Create a Route", description: "Creates a new Magic static route. Use `?validate_only=true` as an optional query parameter to run validation only without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_create_route_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { + "magic_colo_name": magic_colo_name$, + "magic_colo_names": magic_colo_names$, + "magic_colo_region": magic_colo_region$, + "magic_colo_regions": magic_colo_regions$, + "magic_create_route_request": magic_create_route_request, + "magic_description": magic_description$, + "magic_identifier": magic_identifier$, + "magic_nexthop": magic_nexthop$, + "magic_prefix": magic_prefix$, + "magic_priority": magic_priority$, + "magic_scope": magic_scope$, + "magic_weight": magic_weight$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_create_route_response", + $defs: { + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_create_route_request": magic_create_route_request, + "magic_create_route_response": magic_create_route_response, + "magic_created_on": magic_created_on, "magic_description": magic_description, "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, "magic_nexthop": magic_nexthop, "magic_prefix": magic_prefix, "magic_priority": magic_priority, + "magic_route": magic_route, "magic_scope": magic_scope, "magic_weight": magic_weight, }, }, - outputSchema: { - "$ref": "#/$defs/magic_create_route_response", - $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_create_route_response": magic_create_route_response_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -270,25 +286,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_create_route_response": magic_create_route_response_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_create_route_response": magic_create_route_response, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -297,50 +313,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_routes_delete", + name: "magicTransit_routes_delete", title: "Delete Route", description: "Disable and remove a specific Magic static route.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "route_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "route_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "route_id" + ], + "type": "object" } }, required: [ - "account_id", - "route_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_route_deleted_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_route_deleted_response": magic_route_deleted_response_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_route_deleted_response": magic_route_deleted_response, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, annotations: { @@ -379,25 +403,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_route_deleted_response": magic_route_deleted_response_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_route_deleted_response": magic_route_deleted_response, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -405,26 +429,34 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_routes_empty", + name: "magicTransit_routes_empty", title: "Delete Many Routes", description: "Delete multiple Magic static routes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_route_delete_many_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, "magic_route_delete_id": magic_route_delete_id, "magic_route_delete_many_request": magic_route_delete_many_request, }, @@ -432,24 +464,24 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_multiple_route_delete_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_multiple_route_delete_response": magic_multiple_route_delete_response_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_multiple_route_delete_response": magic_multiple_route_delete_response, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, annotations: { @@ -488,25 +520,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_multiple_route_delete_response": magic_multiple_route_delete_response_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_multiple_route_delete_response": magic_multiple_route_delete_response, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -515,50 +547,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_routes_get", + name: "magicTransit_routes_get", title: "Route Details", description: "Get a specific Magic static route.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "route_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "route_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "route_id" + ], + "type": "object" } }, required: [ - "account_id", - "route_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_route_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_route_single_response": magic_route_single_response_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_route_single_response": magic_route_single_response, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, annotations: { @@ -599,25 +639,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_route_single_response": magic_route_single_response_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_route_single_response": magic_route_single_response, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -625,45 +665,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_routes_list", + name: "magicTransit_routes_list", title: "List Routes", description: "List all Magic static routes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_routes_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_routes_collection_response": magic_routes_collection_response_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_routes_collection_response": magic_routes_collection_response, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, annotations: { @@ -699,25 +747,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_routes_collection_response": magic_routes_collection_response_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_routes_collection_response": magic_routes_collection_response, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -725,67 +773,75 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_routes_update", + name: "magicTransit_routes_update", title: "Update Route", description: "Update a specific Magic static route. Use `?validate_only=true` as an optional query parameter to run validation only without persisting changes.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_route_update_request" }, - "route_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "route_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "route_id" + ], + "type": "object" } }, required: [ - "account_id", - "route_id", + "path", "body" ], $defs: { + "magic_colo_name": magic_colo_name$, + "magic_colo_names": magic_colo_names$, + "magic_colo_region": magic_colo_region$, + "magic_colo_regions": magic_colo_regions$, + "magic_description": magic_description$, + "magic_identifier": magic_identifier$, + "magic_nexthop": magic_nexthop$, + "magic_prefix": magic_prefix$, + "magic_priority": magic_priority$, + "magic_route_update_request": magic_route_update_request, + "magic_scope": magic_scope$, + "magic_weight": magic_weight$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_route_modified_response", + $defs: { + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, "magic_description": magic_description, "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, "magic_nexthop": magic_nexthop, "magic_prefix": magic_prefix, "magic_priority": magic_priority, - "magic_route_update_request": magic_route_update_request, + "magic_route": magic_route, + "magic_route_modified_response": magic_route_modified_response, "magic_scope": magic_scope, "magic_weight": magic_weight, }, }, - outputSchema: { - "$ref": "#/$defs/magic_route_modified_response", - $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_route_modified_response": magic_route_modified_response_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -822,25 +878,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_colo_name": magic_colo_name_output, - "magic_colo_names": magic_colo_names_output, - "magic_colo_region": magic_colo_region_output, - "magic_colo_regions": magic_colo_regions_output, - "magic_created_on": magic_created_on_output, - "magic_description": magic_description_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_modified_on": magic_modified_on_output, - "magic_nexthop": magic_nexthop_output, - "magic_prefix": magic_prefix_output, - "magic_priority": magic_priority_output, - "magic_route": magic_route_output, - "magic_route_modified_response": magic_route_modified_response_output, - "magic_scope": magic_scope_output, - "magic_weight": magic_weight_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_colo_name": magic_colo_name, + "magic_colo_names": magic_colo_names, + "magic_colo_region": magic_colo_region, + "magic_colo_regions": magic_colo_regions, + "magic_created_on": magic_created_on, + "magic_description": magic_description, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_modified_on": magic_modified_on, + "magic_nexthop": magic_nexthop, + "magic_prefix": magic_prefix, + "magic_priority": magic_priority, + "magic_route": magic_route, + "magic_route_modified_response": magic_route_modified_response, + "magic_scope": magic_scope, + "magic_weight": magic_weight, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/schemas.ts b/src/generated/forge-mcp/magicTransit/schemas.ts index 238da2ee6..94e6344ac 100644 --- a/src/generated/forge-mcp/magicTransit/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `advanced-ddos-protection_identifier`. */ -export const advanced_ddos_protection_identifier: JsonSchema = { +export const advanced$$ddos$$protection_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -14,7 +14,7 @@ export const advanced_ddos_protection_identifier: JsonSchema = { /** * The schema of `advanced-ddos-protection_uuid`. */ -export const advanced_ddos_protection_uuid: JsonSchema = { +export const advanced$$ddos$$protection_uuid: JsonSchema = { "description": "UUID.", "type": "string" }; diff --git a/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts index eb589eb25..98d89350e 100644 --- a/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `magic_acl` in responses. */ -export const magic_acl_output: JsonSchema = { +export const magic_acl: JsonSchema = { "properties": { "description": { "type": "string" @@ -47,14 +47,14 @@ export const magic_acl_output: JsonSchema = { /** * The schema of `magic_acl-port-range` in responses. */ -export const magic_acl_port_range_output: JsonSchema = { +export const magic_acl$$port$$range: JsonSchema = { "type": "string" }; /** * The schema of `magic_acl-subnet` in responses. */ -export const magic_acl_subnet_output: JsonSchema = { +export const magic_acl$$subnet: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/magic_ip-address" @@ -68,7 +68,7 @@ export const magic_acl_subnet_output: JsonSchema = { /** * The schema of `magic_acl_deleted_response` in responses. */ -export const magic_acl_deleted_response_output: JsonSchema = { +export const magic_acl_deleted_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -87,7 +87,7 @@ export const magic_acl_deleted_response_output: JsonSchema = { /** * The schema of `magic_acl_modified_response` in responses. */ -export const magic_acl_modified_response_output: JsonSchema = { +export const magic_acl_modified_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -106,7 +106,7 @@ export const magic_acl_modified_response_output: JsonSchema = { /** * The schema of `magic_acl_single_response` in responses. */ -export const magic_acl_single_response_output: JsonSchema = { +export const magic_acl_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -125,7 +125,7 @@ export const magic_acl_single_response_output: JsonSchema = { /** * The schema of `magic_acls_collection_response` in responses. */ -export const magic_acls_collection_response_output: JsonSchema = { +export const magic_acls_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -147,14 +147,14 @@ export const magic_acls_collection_response_output: JsonSchema = { /** * The schema of `magic_forward_locally` in responses. */ -export const magic_forward_locally_output: JsonSchema = { +export const magic_forward_locally: JsonSchema = { "type": "boolean" }; /** * The schema of `magic_lan-acl-configuration` in responses. */ -export const magic_lan_acl_configuration_output: JsonSchema = { +export const magic_lan$$acl$$configuration: JsonSchema = { "properties": { "lan_id": { "type": "string" @@ -190,6 +190,6 @@ export const magic_lan_acl_configuration_output: JsonSchema = { /** * The schema of `magic_unidirectional` in responses. */ -export const magic_unidirectional_output: JsonSchema = { +export const magic_unidirectional: JsonSchema = { "type": "boolean" }; diff --git a/src/generated/forge-mcp/magicTransit/sites/acls/schemas.ts b/src/generated/forge-mcp/magicTransit/sites/acls/schemas.ts index 476fb83d8..aba993765 100644 --- a/src/generated/forge-mcp/magicTransit/sites/acls/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/sites/acls/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `magic_acl-port-range`. */ -export const magic_acl_port_range: JsonSchema = { +export const magic_acl$$port$$range: JsonSchema = { "description": "A valid port range value.", "type": "string" }; @@ -14,7 +14,7 @@ export const magic_acl_port_range: JsonSchema = { /** * The schema of `magic_acl-subnet`. */ -export const magic_acl_subnet: JsonSchema = { +export const magic_acl$$subnet: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/magic_ip-address" @@ -126,7 +126,7 @@ export const magic_forward_locally: JsonSchema = { /** * The schema of `magic_lan-acl-configuration`. */ -export const magic_lan_acl_configuration: JsonSchema = { +export const magic_lan$$acl$$configuration: JsonSchema = { "properties": { "lan_id": { "description": "The identifier for the LAN you want to create an ACL policy with.", diff --git a/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts b/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts index 29d4d9cf6..80d8b1e50 100644 --- a/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts @@ -3,96 +3,110 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_cidr_output, - magic_identifier_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_cidr, + magic_identifier, + magic_messages, } from "../../outputs.js"; -import { magic_cidr, magic_identifier } from "../../schemas.js"; -import { magic_ip_address_output, magic_port_output } from "../outputs.js"; -import { magic_ip_address, magic_port } from "../schemas.js"; import { - magic_acl_deleted_response_output, - magic_acl_modified_response_output, - magic_acl_output, - magic_acl_port_range_output, - magic_acl_single_response_output, - magic_acl_subnet_output, - magic_acls_collection_response_output, - magic_forward_locally_output, - magic_lan_acl_configuration_output, - magic_unidirectional_output, + magic_cidr as magic_cidr$, + magic_identifier as magic_identifier$, +} from "../../schemas.js"; +import { magic_ip$$address, magic_port } from "../outputs.js"; +import { + magic_ip$$address as magic_ip$$address$, + magic_port as magic_port$, +} from "../schemas.js"; +import { + magic_acl, + magic_acl$$port$$range, + magic_acl$$subnet, + magic_acl_deleted_response, + magic_acl_modified_response, + magic_acl_single_response, + magic_acls_collection_response, + magic_forward_locally, + magic_lan$$acl$$configuration, + magic_unidirectional, } from "./outputs.js"; import { - magic_acl_port_range, - magic_acl_subnet, + magic_acl$$port$$range as magic_acl$$port$$range$, + magic_acl$$subnet as magic_acl$$subnet$, magic_acl_update_request, magic_acls_add_single_request, - magic_forward_locally, - magic_lan_acl_configuration, - magic_unidirectional, + magic_forward_locally as magic_forward_locally$, + magic_lan$$acl$$configuration as magic_lan$$acl$$configuration$, + magic_unidirectional as magic_unidirectional$, } from "./schemas.js"; /** - * The tools of `magic_transit.sites.acls`. + * The tools of `magicTransit.sites.acls`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_sites_acls_create", + name: "magicTransit_sites_acls_create", title: "Create a new Site ACL", description: "Creates a new Site ACL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_acls_add_single_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { - "magic_acl-port-range": magic_acl_port_range, - "magic_acl-subnet": magic_acl_subnet, + "magic_acl-port-range": magic_acl$$port$$range$, + "magic_acl-subnet": magic_acl$$subnet$, "magic_acls_add_single_request": magic_acls_add_single_request, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip_address, - "magic_lan-acl-configuration": magic_lan_acl_configuration, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, + "magic_cidr": magic_cidr$, + "magic_forward_locally": magic_forward_locally$, + "magic_identifier": magic_identifier$, + "magic_ip-address": magic_ip$$address$, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration$, + "magic_port": magic_port$, + "magic_unidirectional": magic_unidirectional$, }, }, outputSchema: { "$ref": "#/$defs/magic_acl_single_response", $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_single_response": magic_acl_single_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_single_response": magic_acl_single_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -126,21 +140,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_single_response": magic_acl_single_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_single_response": magic_acl_single_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -149,51 +163,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_acls_delete", + name: "magicTransit_sites_acls_delete", title: "Delete Site ACL", description: "Remove a specific Site ACL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "acl_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "acl_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "acl_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_acl_deleted_response", $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_deleted_response": magic_acl_deleted_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_deleted_response": magic_acl_deleted_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -232,21 +254,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_deleted_response": magic_acl_deleted_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_deleted_response": magic_acl_deleted_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -254,64 +276,72 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_acls_edit", + name: "magicTransit_sites_acls_edit", title: "Patch Site ACL", description: "Patch a specific Site ACL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "acl_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_acl_update_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "acl_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "acl_id", + "path", "body" ], $defs: { - "magic_acl-port-range": magic_acl_port_range, - "magic_acl-subnet": magic_acl_subnet, + "magic_acl-port-range": magic_acl$$port$$range$, + "magic_acl-subnet": magic_acl$$subnet$, "magic_acl_update_request": magic_acl_update_request, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip_address, - "magic_lan-acl-configuration": magic_lan_acl_configuration, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, + "magic_cidr": magic_cidr$, + "magic_forward_locally": magic_forward_locally$, + "magic_identifier": magic_identifier$, + "magic_ip-address": magic_ip$$address$, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration$, + "magic_port": magic_port$, + "magic_unidirectional": magic_unidirectional$, }, }, outputSchema: { "$ref": "#/$defs/magic_acl_modified_response", $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_modified_response": magic_acl_modified_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_modified_response": magic_acl_modified_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -350,21 +380,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_modified_response": magic_acl_modified_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_modified_response": magic_acl_modified_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -373,51 +403,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_acls_get", + name: "magicTransit_sites_acls_get", title: "Site ACL Details", description: "Get a specific Site ACL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "acl_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "acl_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "acl_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_acl_single_response", $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_single_response": magic_acl_single_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_single_response": magic_acl_single_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -458,21 +496,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_single_response": magic_acl_single_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_single_response": magic_acl_single_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -480,46 +518,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_acls_list", + name: "magicTransit_sites_acls_list", title: "List Site ACLs", description: "Lists Site ACLs associated with an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_acls_collection_response", $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acls_collection_response": magic_acls_collection_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acls_collection_response": magic_acls_collection_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -555,21 +601,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acls_collection_response": magic_acls_collection_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acls_collection_response": magic_acls_collection_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -577,64 +623,72 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_acls_update", + name: "magicTransit_sites_acls_update", title: "Update Site ACL", description: "Update a specific Site ACL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "acl_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_acl_update_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "acl_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "acl_id", + "path", "body" ], $defs: { - "magic_acl-port-range": magic_acl_port_range, - "magic_acl-subnet": magic_acl_subnet, + "magic_acl-port-range": magic_acl$$port$$range$, + "magic_acl-subnet": magic_acl$$subnet$, "magic_acl_update_request": magic_acl_update_request, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip_address, - "magic_lan-acl-configuration": magic_lan_acl_configuration, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, + "magic_cidr": magic_cidr$, + "magic_forward_locally": magic_forward_locally$, + "magic_identifier": magic_identifier$, + "magic_ip-address": magic_ip$$address$, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration$, + "magic_port": magic_port$, + "magic_unidirectional": magic_unidirectional$, }, }, outputSchema: { "$ref": "#/$defs/magic_acl_modified_response", $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_modified_response": magic_acl_modified_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_modified_response": magic_acl_modified_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -673,21 +727,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_acl": magic_acl_output, - "magic_acl-port-range": magic_acl_port_range_output, - "magic_acl-subnet": magic_acl_subnet_output, - "magic_acl_modified_response": magic_acl_modified_response_output, - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_forward_locally": magic_forward_locally_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan-acl-configuration": magic_lan_acl_configuration_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_unidirectional": magic_unidirectional_output, + "magic_acl": magic_acl, + "magic_acl-port-range": magic_acl$$port$$range, + "magic_acl-subnet": magic_acl$$subnet, + "magic_acl_modified_response": magic_acl_modified_response, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_forward_locally": magic_forward_locally, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan-acl-configuration": magic_lan$$acl$$configuration, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts index 0d6abc081..2f321c37e 100644 --- a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `magic_app_breakout` in responses. */ -export const magic_app_breakout_output: JsonSchema = { +export const magic_app_breakout: JsonSchema = { "type": "boolean" }; /** * The schema of `magic_app_breakout_preferred_wans` in responses. */ -export const magic_app_breakout_preferred_wans_output: JsonSchema = { +export const magic_app_breakout_preferred_wans: JsonSchema = { "items": { "$ref": "#/$defs/magic_identifier" }, @@ -23,7 +23,7 @@ export const magic_app_breakout_preferred_wans_output: JsonSchema = { /** * The schema of `magic_app_config` in responses. */ -export const magic_app_config_output: JsonSchema = { +export const magic_app_config: JsonSchema = { "allOf": [ { "properties": { @@ -81,7 +81,7 @@ export const magic_app_config_output: JsonSchema = { /** * The schema of `magic_app_config_single_response` in responses. */ -export const magic_app_config_single_response_output: JsonSchema = { +export const magic_app_config_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_apps-response-object" @@ -100,7 +100,7 @@ export const magic_app_config_single_response_output: JsonSchema = { /** * The schema of `magic_app_configs_collection_response` in responses. */ -export const magic_app_configs_collection_response_output: JsonSchema = { +export const magic_app_configs_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_apps-response-array" @@ -122,6 +122,6 @@ export const magic_app_configs_collection_response_output: JsonSchema = { /** * The schema of `magic_app_priority` in responses. */ -export const magic_app_priority_output: JsonSchema = { +export const magic_app_priority: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts index fdb86405d..ba37c048f 100644 --- a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts @@ -2,87 +2,95 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; -import { - magic_account_app_id_output, - magic_api_response_common_failure_output, - magic_apps_response_array_output, - magic_apps_response_object_output, - magic_identifier_output, - magic_managed_app_id_output, - magic_messages_output, -} from "../../outputs.js"; import { magic_account_app_id, + magic_api$$response$$common$$failure, + magic_apps$$response$$array, + magic_apps$$response$$object, magic_identifier, magic_managed_app_id, -} from "../../schemas.js"; + magic_messages, +} from "../../outputs.js"; import { - magic_app_breakout_output, - magic_app_breakout_preferred_wans_output, - magic_app_config_output, - magic_app_config_single_response_output, - magic_app_configs_collection_response_output, - magic_app_priority_output, -} from "./outputs.js"; + magic_account_app_id as magic_account_app_id$, + magic_identifier as magic_identifier$, + magic_managed_app_id as magic_managed_app_id$, +} from "../../schemas.js"; import { magic_app_breakout, magic_app_breakout_preferred_wans, + magic_app_config, + magic_app_config_single_response, + magic_app_configs_collection_response, + magic_app_priority, +} from "./outputs.js"; +import { + magic_app_breakout as magic_app_breakout$, + magic_app_breakout_preferred_wans as magic_app_breakout_preferred_wans$, magic_app_config_add_single_request, magic_app_config_update_request, - magic_app_priority, + magic_app_priority as magic_app_priority$, } from "./schemas.js"; /** - * The tools of `magic_transit.sites.app_configuration`. + * The tools of `magicTransit.sites.appConfiguration`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_sites_app_configuration_create", + name: "magicTransit_sites_appConfiguration_create", title: "Create a new App Config", description: "Creates a new App Config for a site", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_app_config_add_single_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { - "magic_account_app_id": magic_account_app_id, - "magic_app_breakout": magic_app_breakout, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_account_app_id": magic_account_app_id$, + "magic_app_breakout": magic_app_breakout$, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans$, "magic_app_config_add_single_request": magic_app_config_add_single_request, - "magic_app_priority": magic_app_priority, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, + "magic_app_priority": magic_app_priority$, + "magic_identifier": magic_identifier$, + "magic_managed_app_id": magic_managed_app_id$, }, }, outputSchema: { "$ref": "#/$defs/magic_app_config_single_response", $defs: { - "magic_account_app_id": magic_account_app_id_output, - "magic_app_breakout": magic_app_breakout_output, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, - "magic_app_config": magic_app_config_output, - "magic_app_config_single_response": magic_app_config_single_response_output, - "magic_app_priority": magic_app_priority_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_identifier": magic_identifier_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app_id": magic_account_app_id, + "magic_app_breakout": magic_app_breakout, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_app_config": magic_app_config, + "magic_app_config_single_response": magic_app_config_single_response, + "magic_app_priority": magic_app_priority, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_identifier": magic_identifier, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, annotations: { @@ -116,17 +124,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app_id": magic_account_app_id_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_app_breakout": magic_app_breakout_output, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, - "magic_app_config": magic_app_config_output, - "magic_app_config_single_response": magic_app_config_single_response_output, - "magic_app_priority": magic_app_priority_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_identifier": magic_identifier_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app_id": magic_account_app_id, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_app_breakout": magic_app_breakout, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_app_config": magic_app_config, + "magic_app_config_single_response": magic_app_config_single_response, + "magic_app_priority": magic_app_priority, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_identifier": magic_identifier, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -135,47 +143,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_app_configuration_delete", + name: "magicTransit_sites_appConfiguration_delete", title: "Delete App Config", description: "Deletes specific App Config associated with a site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "app_config_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "app_config_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "app_config_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "app_config_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_app_config_single_response", $defs: { - "magic_account_app_id": magic_account_app_id_output, - "magic_app_breakout": magic_app_breakout_output, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, - "magic_app_config": magic_app_config_output, - "magic_app_config_single_response": magic_app_config_single_response_output, - "magic_app_priority": magic_app_priority_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_identifier": magic_identifier_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app_id": magic_account_app_id, + "magic_app_breakout": magic_app_breakout, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_app_config": magic_app_config, + "magic_app_config_single_response": magic_app_config_single_response, + "magic_app_priority": magic_app_priority, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_identifier": magic_identifier, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, annotations: { @@ -209,17 +225,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app_id": magic_account_app_id_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_app_breakout": magic_app_breakout_output, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, - "magic_app_config": magic_app_config_output, - "magic_app_config_single_response": magic_app_config_single_response_output, - "magic_app_priority": magic_app_priority_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_identifier": magic_identifier_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app_id": magic_account_app_id, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_app_breakout": magic_app_breakout, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_app_config": magic_app_config, + "magic_app_config_single_response": magic_app_config_single_response, + "magic_app_priority": magic_app_priority, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_identifier": magic_identifier, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -227,42 +243,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_app_configuration_list", + name: "magicTransit_sites_appConfiguration_list", title: "List App Configs", description: "Lists App Configs associated with a site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_app_configs_collection_response", $defs: { - "magic_account_app_id": magic_account_app_id_output, - "magic_app_breakout": magic_app_breakout_output, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, - "magic_app_config": magic_app_config_output, - "magic_app_configs_collection_response": magic_app_configs_collection_response_output, - "magic_app_priority": magic_app_priority_output, - "magic_apps-response-array": magic_apps_response_array_output, - "magic_identifier": magic_identifier_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app_id": magic_account_app_id, + "magic_app_breakout": magic_app_breakout, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_app_config": magic_app_config, + "magic_app_configs_collection_response": magic_app_configs_collection_response, + "magic_app_priority": magic_app_priority, + "magic_apps-response-array": magic_apps$$response$$array, + "magic_identifier": magic_identifier, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, annotations: { @@ -298,17 +322,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app_id": magic_account_app_id_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_app_breakout": magic_app_breakout_output, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, - "magic_app_config": magic_app_config_output, - "magic_app_configs_collection_response": magic_app_configs_collection_response_output, - "magic_app_priority": magic_app_priority_output, - "magic_apps-response-array": magic_apps_response_array_output, - "magic_identifier": magic_identifier_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app_id": magic_account_app_id, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_app_breakout": magic_app_breakout, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_app_config": magic_app_config, + "magic_app_configs_collection_response": magic_app_configs_collection_response, + "magic_app_priority": magic_app_priority, + "magic_apps-response-array": magic_apps$$response$$array, + "magic_identifier": magic_identifier, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, request: (args) => ({ @@ -316,57 +340,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_app_configuration_update", + name: "magicTransit_sites_appConfiguration_update", title: "Update an App Config", description: "Updates an App Config for a site", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "app_config_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_app_config_update_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "app_config_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "app_config_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "app_config_id", + "path", "body" ], $defs: { - "magic_account_app_id": magic_account_app_id, - "magic_app_breakout": magic_app_breakout, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_account_app_id": magic_account_app_id$, + "magic_app_breakout": magic_app_breakout$, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans$, "magic_app_config_update_request": magic_app_config_update_request, - "magic_app_priority": magic_app_priority, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, + "magic_app_priority": magic_app_priority$, + "magic_identifier": magic_identifier$, + "magic_managed_app_id": magic_managed_app_id$, }, }, outputSchema: { "$ref": "#/$defs/magic_app_config_single_response", $defs: { - "magic_account_app_id": magic_account_app_id_output, - "magic_app_breakout": magic_app_breakout_output, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, - "magic_app_config": magic_app_config_output, - "magic_app_config_single_response": magic_app_config_single_response_output, - "magic_app_priority": magic_app_priority_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_identifier": magic_identifier_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app_id": magic_account_app_id, + "magic_app_breakout": magic_app_breakout, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_app_config": magic_app_config, + "magic_app_config_single_response": magic_app_config_single_response, + "magic_app_priority": magic_app_priority, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_identifier": magic_identifier, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, annotations: { @@ -400,17 +432,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app_id": magic_account_app_id_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_app_breakout": magic_app_breakout_output, - "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans_output, - "magic_app_config": magic_app_config_output, - "magic_app_config_single_response": magic_app_config_single_response_output, - "magic_app_priority": magic_app_priority_output, - "magic_apps-response-object": magic_apps_response_object_output, - "magic_identifier": magic_identifier_output, - "magic_managed_app_id": magic_managed_app_id_output, - "magic_messages": magic_messages_output, + "magic_account_app_id": magic_account_app_id, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_app_breakout": magic_app_breakout, + "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, + "magic_app_config": magic_app_config, + "magic_app_config_single_response": magic_app_config_single_response, + "magic_app_priority": magic_app_priority, + "magic_apps-response-object": magic_apps$$response$$object, + "magic_identifier": magic_identifier, + "magic_managed_app_id": magic_managed_app_id, + "magic_messages": magic_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts index 64fb8e1eb..d5740e5ec 100644 --- a/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `magic_bond_id` in responses. */ -export const magic_bond_id_output: JsonSchema = { +export const magic_bond_id: JsonSchema = { "type": "integer" }; /** * The schema of `magic_dhcp_option` in responses. */ -export const magic_dhcp_option_output: JsonSchema = { +export const magic_dhcp_option: JsonSchema = { "properties": { "code": { "type": "integer" @@ -44,7 +44,7 @@ export const magic_dhcp_option_output: JsonSchema = { /** * The schema of `magic_lan` in responses. */ -export const magic_lan_output: JsonSchema = { +export const magic_lan: JsonSchema = { "properties": { "bond_id": { "$ref": "#/$defs/magic_bond_id" @@ -98,7 +98,7 @@ export const magic_lan_output: JsonSchema = { /** * The schema of `magic_lan_deleted_response` in responses. */ -export const magic_lan_deleted_response_output: JsonSchema = { +export const magic_lan_deleted_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -117,7 +117,7 @@ export const magic_lan_deleted_response_output: JsonSchema = { /** * The schema of `magic_lan_dhcp_relay` in responses. */ -export const magic_lan_dhcp_relay_output: JsonSchema = { +export const magic_lan_dhcp_relay: JsonSchema = { "properties": { "server_addresses": { "items": { @@ -132,7 +132,7 @@ export const magic_lan_dhcp_relay_output: JsonSchema = { /** * The schema of `magic_lan_dhcp_server` in responses. */ -export const magic_lan_dhcp_server_output: JsonSchema = { +export const magic_lan_dhcp_server: JsonSchema = { "properties": { "dhcp_options": { "items": { @@ -168,7 +168,7 @@ export const magic_lan_dhcp_server_output: JsonSchema = { /** * The schema of `magic_lan_modified_response` in responses. */ -export const magic_lan_modified_response_output: JsonSchema = { +export const magic_lan_modified_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -187,7 +187,7 @@ export const magic_lan_modified_response_output: JsonSchema = { /** * The schema of `magic_lan_single_response` in responses. */ -export const magic_lan_single_response_output: JsonSchema = { +export const magic_lan_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -206,7 +206,7 @@ export const magic_lan_single_response_output: JsonSchema = { /** * The schema of `magic_lan_static_addressing` in responses. */ -export const magic_lan_static_addressing_output: JsonSchema = { +export const magic_lan_static_addressing: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/magic_cidr" @@ -233,7 +233,7 @@ export const magic_lan_static_addressing_output: JsonSchema = { /** * The schema of `magic_lans_collection_response` in responses. */ -export const magic_lans_collection_response_output: JsonSchema = { +export const magic_lans_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -255,7 +255,7 @@ export const magic_lans_collection_response_output: JsonSchema = { /** * The schema of `magic_nat` in responses. */ -export const magic_nat_output: JsonSchema = { +export const magic_nat: JsonSchema = { "properties": { "static_prefix": { "$ref": "#/$defs/magic_cidr" @@ -267,7 +267,7 @@ export const magic_nat_output: JsonSchema = { /** * The schema of `magic_remote_subnet` in responses. */ -export const magic_remote_subnet_output: JsonSchema = { +export const magic_remote_subnet: JsonSchema = { "properties": { "local_alias_prefix": { "$ref": "#/$defs/magic_cidr" @@ -286,7 +286,7 @@ export const magic_remote_subnet_output: JsonSchema = { /** * The schema of `magic_routed_subnet` in responses. */ -export const magic_routed_subnet_output: JsonSchema = { +export const magic_routed_subnet: JsonSchema = { "properties": { "nat": { "$ref": "#/$defs/magic_nat" diff --git a/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts b/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts index 2ccef1288..b377e1d8d 100644 --- a/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts @@ -3,86 +3,120 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_cidr_output, - magic_identifier_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_cidr, + magic_identifier, + magic_messages, } from "../../outputs.js"; -import { magic_cidr, magic_identifier } from "../../schemas.js"; import { - magic_ip_address_output, - magic_port_output, - magic_vlan_tag_output, -} from "../outputs.js"; -import { magic_ip_address, magic_port, magic_vlan_tag } from "../schemas.js"; + magic_cidr as magic_cidr$, + magic_identifier as magic_identifier$, +} from "../../schemas.js"; +import { magic_ip$$address, magic_port, magic_vlan_tag } from "../outputs.js"; import { - magic_bond_id_output, - magic_dhcp_option_output, - magic_lan_deleted_response_output, - magic_lan_dhcp_relay_output, - magic_lan_dhcp_server_output, - magic_lan_modified_response_output, - magic_lan_output, - magic_lan_single_response_output, - magic_lan_static_addressing_output, - magic_lans_collection_response_output, - magic_nat_output, - magic_remote_subnet_output, - magic_routed_subnet_output, -} from "./outputs.js"; + magic_ip$$address as magic_ip$$address$, + magic_port as magic_port$, + magic_vlan_tag as magic_vlan_tag$, +} from "../schemas.js"; import { magic_bond_id, magic_dhcp_option, + magic_lan, + magic_lan_deleted_response, magic_lan_dhcp_relay, magic_lan_dhcp_server, + magic_lan_modified_response, + magic_lan_single_response, magic_lan_static_addressing, - magic_lan_update_request, - magic_lans_add_single_request, + magic_lans_collection_response, magic_nat, magic_remote_subnet, magic_routed_subnet, +} from "./outputs.js"; +import { + magic_bond_id as magic_bond_id$, + magic_dhcp_option as magic_dhcp_option$, + magic_lan_dhcp_relay as magic_lan_dhcp_relay$, + magic_lan_dhcp_server as magic_lan_dhcp_server$, + magic_lan_static_addressing as magic_lan_static_addressing$, + magic_lan_update_request, + magic_lans_add_single_request, + magic_nat as magic_nat$, + magic_remote_subnet as magic_remote_subnet$, + magic_routed_subnet as magic_routed_subnet$, } from "./schemas.js"; /** - * The tools of `magic_transit.sites.lans`. + * The tools of `magicTransit.sites.lans`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_sites_lans_create", + name: "magicTransit_sites_lans_create", title: "Create a new Site LAN", description: "Creates a new Site LAN. If the site is in high availability mode, static_addressing is required along with secondary and virtual address.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_lans_add_single_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { + "magic_bond_id": magic_bond_id$, + "magic_cidr": magic_cidr$, + "magic_dhcp_option": magic_dhcp_option$, + "magic_identifier": magic_identifier$, + "magic_ip-address": magic_ip$$address$, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay$, + "magic_lan_dhcp_server": magic_lan_dhcp_server$, + "magic_lan_static_addressing": magic_lan_static_addressing$, + "magic_lans_add_single_request": magic_lans_add_single_request, + "magic_nat": magic_nat$, + "magic_port": magic_port$, + "magic_remote_subnet": magic_remote_subnet$, + "magic_routed_subnet": magic_routed_subnet$, + "magic_vlan_tag": magic_vlan_tag$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_lans_collection_response", + $defs: { + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_bond_id": magic_bond_id, "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip_address, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, "magic_lan_static_addressing": magic_lan_static_addressing, - "magic_lans_add_single_request": magic_lans_add_single_request, + "magic_lans_collection_response": magic_lans_collection_response, + "magic_messages": magic_messages, "magic_nat": magic_nat, "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, @@ -90,29 +124,6 @@ export const tools: readonly Tool[] = [ "magic_vlan_tag": magic_vlan_tag, }, }, - outputSchema: { - "$ref": "#/$defs/magic_lans_collection_response", - $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_lans_collection_response": magic_lans_collection_response_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -144,25 +155,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_lans_collection_response": magic_lans_collection_response_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bond_id": magic_bond_id, + "magic_cidr": magic_cidr, + "magic_dhcp_option": magic_dhcp_option, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay, + "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_static_addressing": magic_lan_static_addressing, + "magic_lans_collection_response": magic_lans_collection_response, + "magic_messages": magic_messages, + "magic_nat": magic_nat, + "magic_port": magic_port, + "magic_remote_subnet": magic_remote_subnet, + "magic_routed_subnet": magic_routed_subnet, + "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -171,55 +182,63 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_lans_delete", + name: "magicTransit_sites_lans_delete", title: "Delete Site LAN", description: "Remove a specific Site LAN.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "lan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "lan_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "lan_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "lan_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_lan_deleted_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_deleted_response": magic_lan_deleted_response_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_bond_id": magic_bond_id, + "magic_cidr": magic_cidr, + "magic_dhcp_option": magic_dhcp_option, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, + "magic_lan_deleted_response": magic_lan_deleted_response, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay, + "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_static_addressing": magic_lan_static_addressing, + "magic_messages": magic_messages, + "magic_nat": magic_nat, + "magic_port": magic_port, + "magic_remote_subnet": magic_remote_subnet, + "magic_routed_subnet": magic_routed_subnet, + "magic_vlan_tag": magic_vlan_tag, }, }, annotations: { @@ -258,25 +277,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_deleted_response": magic_lan_deleted_response_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bond_id": magic_bond_id, + "magic_cidr": magic_cidr, + "magic_dhcp_option": magic_dhcp_option, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, + "magic_lan_deleted_response": magic_lan_deleted_response, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay, + "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_static_addressing": magic_lan_static_addressing, + "magic_messages": magic_messages, + "magic_nat": magic_nat, + "magic_port": magic_port, + "magic_remote_subnet": magic_remote_subnet, + "magic_routed_subnet": magic_routed_subnet, + "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -284,44 +303,75 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_lans_edit", + name: "magicTransit_sites_lans_edit", title: "Patch Site LAN", description: "Patch a specific Site LAN.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_lan_update_request" }, - "lan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "lan_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "lan_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "lan_id", + "path", "body" ], $defs: { + "magic_bond_id": magic_bond_id$, + "magic_cidr": magic_cidr$, + "magic_dhcp_option": magic_dhcp_option$, + "magic_identifier": magic_identifier$, + "magic_ip-address": magic_ip$$address$, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay$, + "magic_lan_dhcp_server": magic_lan_dhcp_server$, + "magic_lan_static_addressing": magic_lan_static_addressing$, + "magic_lan_update_request": magic_lan_update_request, + "magic_nat": magic_nat$, + "magic_port": magic_port$, + "magic_remote_subnet": magic_remote_subnet$, + "magic_routed_subnet": magic_routed_subnet$, + "magic_vlan_tag": magic_vlan_tag$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_lan_modified_response", + $defs: { + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_bond_id": magic_bond_id, "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip_address, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_modified_response": magic_lan_modified_response, "magic_lan_static_addressing": magic_lan_static_addressing, - "magic_lan_update_request": magic_lan_update_request, + "magic_messages": magic_messages, "magic_nat": magic_nat, "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, @@ -329,29 +379,6 @@ export const tools: readonly Tool[] = [ "magic_vlan_tag": magic_vlan_tag, }, }, - outputSchema: { - "$ref": "#/$defs/magic_lan_modified_response", - $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_modified_response": magic_lan_modified_response_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -388,25 +415,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_modified_response": magic_lan_modified_response_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bond_id": magic_bond_id, + "magic_cidr": magic_cidr, + "magic_dhcp_option": magic_dhcp_option, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay, + "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_modified_response": magic_lan_modified_response, + "magic_lan_static_addressing": magic_lan_static_addressing, + "magic_messages": magic_messages, + "magic_nat": magic_nat, + "magic_port": magic_port, + "magic_remote_subnet": magic_remote_subnet, + "magic_routed_subnet": magic_routed_subnet, + "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -415,55 +442,63 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_lans_get", + name: "magicTransit_sites_lans_get", title: "Site LAN Details", description: "Get a specific Site LAN.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "lan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "lan_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "lan_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "lan_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_lan_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_single_response": magic_lan_single_response_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_bond_id": magic_bond_id, + "magic_cidr": magic_cidr, + "magic_dhcp_option": magic_dhcp_option, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay, + "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_single_response": magic_lan_single_response, + "magic_lan_static_addressing": magic_lan_static_addressing, + "magic_messages": magic_messages, + "magic_nat": magic_nat, + "magic_port": magic_port, + "magic_remote_subnet": magic_remote_subnet, + "magic_routed_subnet": magic_routed_subnet, + "magic_vlan_tag": magic_vlan_tag, }, }, annotations: { @@ -504,25 +539,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_single_response": magic_lan_single_response_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bond_id": magic_bond_id, + "magic_cidr": magic_cidr, + "magic_dhcp_option": magic_dhcp_option, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay, + "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_single_response": magic_lan_single_response, + "magic_lan_static_addressing": magic_lan_static_addressing, + "magic_messages": magic_messages, + "magic_nat": magic_nat, + "magic_port": magic_port, + "magic_remote_subnet": magic_remote_subnet, + "magic_routed_subnet": magic_routed_subnet, + "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -530,50 +565,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_lans_list", + name: "magicTransit_sites_lans_list", title: "List Site LANs", description: "Lists Site LANs associated with an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_lans_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_lans_collection_response": magic_lans_collection_response_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_bond_id": magic_bond_id, + "magic_cidr": magic_cidr, + "magic_dhcp_option": magic_dhcp_option, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay, + "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_static_addressing": magic_lan_static_addressing, + "magic_lans_collection_response": magic_lans_collection_response, + "magic_messages": magic_messages, + "magic_nat": magic_nat, + "magic_port": magic_port, + "magic_remote_subnet": magic_remote_subnet, + "magic_routed_subnet": magic_routed_subnet, + "magic_vlan_tag": magic_vlan_tag, }, }, annotations: { @@ -609,25 +652,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_lans_collection_response": magic_lans_collection_response_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bond_id": magic_bond_id, + "magic_cidr": magic_cidr, + "magic_dhcp_option": magic_dhcp_option, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay, + "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_static_addressing": magic_lan_static_addressing, + "magic_lans_collection_response": magic_lans_collection_response, + "magic_messages": magic_messages, + "magic_nat": magic_nat, + "magic_port": magic_port, + "magic_remote_subnet": magic_remote_subnet, + "magic_routed_subnet": magic_routed_subnet, + "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -635,44 +678,75 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_lans_update", + name: "magicTransit_sites_lans_update", title: "Update Site LAN", description: "Update a specific Site LAN.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_lan_update_request" }, - "lan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "lan_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "lan_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "lan_id", + "path", "body" ], $defs: { + "magic_bond_id": magic_bond_id$, + "magic_cidr": magic_cidr$, + "magic_dhcp_option": magic_dhcp_option$, + "magic_identifier": magic_identifier$, + "magic_ip-address": magic_ip$$address$, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay$, + "magic_lan_dhcp_server": magic_lan_dhcp_server$, + "magic_lan_static_addressing": magic_lan_static_addressing$, + "magic_lan_update_request": magic_lan_update_request, + "magic_nat": magic_nat$, + "magic_port": magic_port$, + "magic_remote_subnet": magic_remote_subnet$, + "magic_routed_subnet": magic_routed_subnet$, + "magic_vlan_tag": magic_vlan_tag$, + }, + }, + outputSchema: { + "$ref": "#/$defs/magic_lan_modified_response", + $defs: { + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, "magic_bond_id": magic_bond_id, "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip_address, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_modified_response": magic_lan_modified_response, "magic_lan_static_addressing": magic_lan_static_addressing, - "magic_lan_update_request": magic_lan_update_request, + "magic_messages": magic_messages, "magic_nat": magic_nat, "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, @@ -680,29 +754,6 @@ export const tools: readonly Tool[] = [ "magic_vlan_tag": magic_vlan_tag, }, }, - outputSchema: { - "$ref": "#/$defs/magic_lan_modified_response", - $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_modified_response": magic_lan_modified_response_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -739,25 +790,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_bond_id": magic_bond_id_output, - "magic_cidr": magic_cidr_output, - "magic_dhcp_option": magic_dhcp_option_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_lan": magic_lan_output, - "magic_lan_dhcp_relay": magic_lan_dhcp_relay_output, - "magic_lan_dhcp_server": magic_lan_dhcp_server_output, - "magic_lan_modified_response": magic_lan_modified_response_output, - "magic_lan_static_addressing": magic_lan_static_addressing_output, - "magic_messages": magic_messages_output, - "magic_nat": magic_nat_output, - "magic_port": magic_port_output, - "magic_remote_subnet": magic_remote_subnet_output, - "magic_routed_subnet": magic_routed_subnet_output, - "magic_vlan_tag": magic_vlan_tag_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_bond_id": magic_bond_id, + "magic_cidr": magic_cidr, + "magic_dhcp_option": magic_dhcp_option, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_lan": magic_lan, + "magic_lan_dhcp_relay": magic_lan_dhcp_relay, + "magic_lan_dhcp_server": magic_lan_dhcp_server, + "magic_lan_modified_response": magic_lan_modified_response, + "magic_lan_static_addressing": magic_lan_static_addressing, + "magic_messages": magic_messages, + "magic_nat": magic_nat, + "magic_port": magic_port, + "magic_remote_subnet": magic_remote_subnet, + "magic_routed_subnet": magic_routed_subnet, + "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/sites/netflowConfig/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/outputs.ts index 07b2de33a..886655558 100644 --- a/src/generated/forge-mcp/magicTransit/sites/netflowConfig/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `magic_netflow_config` in responses. */ -export const magic_netflow_config_output: JsonSchema = { +export const magic_netflow_config: JsonSchema = { "properties": { "active_timeout": { "type": "integer" @@ -33,7 +33,7 @@ export const magic_netflow_config_output: JsonSchema = { /** * The schema of `magic_netflow_config_single_response` in responses. */ -export const magic_netflow_config_single_response_output: JsonSchema = { +export const magic_netflow_config_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" diff --git a/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts index 56d6603b5..66b415323 100644 --- a/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts @@ -3,44 +3,52 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_messages, } from "../../outputs.js"; import { magic_identifier } from "../../schemas.js"; import { - magic_netflow_config_output, - magic_netflow_config_single_response_output, + magic_netflow_config, + magic_netflow_config_single_response, } from "./outputs.js"; import { magic_netflow_config_request } from "./schemas.js"; /** - * The tools of `magic_transit.sites.netflow_config`. + * The tools of `magicTransit.sites.netflowConfig`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_sites_netflow_config_create", + name: "magicTransit_sites_netflowConfig_create", title: "Create NetFlow Configuration", description: "Creates a NetFlow configuration for a site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_netflow_config_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { @@ -51,11 +59,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_netflow_config_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, annotations: { @@ -85,12 +93,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, request: (args) => ({ @@ -99,24 +107,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_netflow_config_delete", + name: "magicTransit_sites_netflowConfig_delete", title: "Delete NetFlow Configuration", description: "Remove NetFlow configuration for a site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -125,11 +141,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_netflow_config_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, annotations: { @@ -163,12 +179,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, request: (args) => ({ @@ -176,27 +192,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_netflow_config_edit", + name: "magicTransit_sites_netflowConfig_edit", title: "Update NetFlow Configuration", description: "Updates NetFlow configuration for a site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_netflow_config_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { @@ -207,11 +231,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_netflow_config_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, annotations: { @@ -245,12 +269,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, request: (args) => ({ @@ -259,24 +283,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_netflow_config_get", + name: "magicTransit_sites_netflowConfig_get", title: "NetFlow Configuration Details", description: "Get NetFlow configuration for a site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { "magic_identifier": magic_identifier, @@ -285,11 +317,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_netflow_config_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, annotations: { @@ -325,12 +357,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, request: (args) => ({ @@ -338,27 +370,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_netflow_config_update", + name: "magicTransit_sites_netflowConfig_update", title: "Update NetFlow Configuration", description: "Updates NetFlow configuration for a site (partial update).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_netflow_config_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { @@ -369,11 +409,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_netflow_config_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, annotations: { @@ -407,12 +447,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_messages": magic_messages_output, - "magic_netflow_config": magic_netflow_config_output, - "magic_netflow_config_single_response": magic_netflow_config_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_messages": magic_messages, + "magic_netflow_config": magic_netflow_config, + "magic_netflow_config_single_response": magic_netflow_config_single_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/sites/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/outputs.ts index 1efa32a6f..3445b9ccd 100644 --- a/src/generated/forge-mcp/magicTransit/sites/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/outputs.ts @@ -6,35 +6,35 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_connector-id` in responses. */ -export const magic_connector_id_output: JsonSchema = { +export const magic_connector$$id: JsonSchema = { "type": "string" }; /** * The schema of `magic_ip-address` in responses. */ -export const magic_ip_address_output: JsonSchema = { +export const magic_ip$$address: JsonSchema = { "type": "string" }; /** * The schema of `magic_port` in responses. */ -export const magic_port_output: JsonSchema = { +export const magic_port: JsonSchema = { "type": "integer" }; /** * The schema of `magic_secondary-connector-id` in responses. */ -export const magic_secondary_connector_id_output: JsonSchema = { +export const magic_secondary$$connector$$id: JsonSchema = { "type": "string" }; /** * The schema of `magic_site` in responses. */ -export const magic_site_output: JsonSchema = { +export const magic_site: JsonSchema = { "properties": { "connector_id": { "$ref": "#/$defs/magic_connector-id" @@ -64,7 +64,7 @@ export const magic_site_output: JsonSchema = { /** * The schema of `magic_site-location` in responses. */ -export const magic_site_location_output: JsonSchema = { +export const magic_site$$location: JsonSchema = { "properties": { "lat": { "type": "string" @@ -79,14 +79,14 @@ export const magic_site_location_output: JsonSchema = { /** * The schema of `magic_site-name` in responses. */ -export const magic_site_name_output: JsonSchema = { +export const magic_site$$name: JsonSchema = { "type": "string" }; /** * The schema of `magic_site_deleted_response` in responses. */ -export const magic_site_deleted_response_output: JsonSchema = { +export const magic_site_deleted_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -105,7 +105,7 @@ export const magic_site_deleted_response_output: JsonSchema = { /** * The schema of `magic_site_modified_response` in responses. */ -export const magic_site_modified_response_output: JsonSchema = { +export const magic_site_modified_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -124,7 +124,7 @@ export const magic_site_modified_response_output: JsonSchema = { /** * The schema of `magic_site_single_response` in responses. */ -export const magic_site_single_response_output: JsonSchema = { +export const magic_site_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -143,7 +143,7 @@ export const magic_site_single_response_output: JsonSchema = { /** * The schema of `magic_sites_collection_response` in responses. */ -export const magic_sites_collection_response_output: JsonSchema = { +export const magic_sites_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -165,6 +165,6 @@ export const magic_sites_collection_response_output: JsonSchema = { /** * The schema of `magic_vlan_tag` in responses. */ -export const magic_vlan_tag_output: JsonSchema = { +export const magic_vlan_tag: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/magicTransit/sites/schemas.ts b/src/generated/forge-mcp/magicTransit/sites/schemas.ts index 5b1209fae..945236018 100644 --- a/src/generated/forge-mcp/magicTransit/sites/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/sites/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `magic_connector-id`. */ -export const magic_connector_id: JsonSchema = { +export const magic_connector$$id: JsonSchema = { "description": "Magic Connector identifier tag.", "type": "string" }; @@ -14,7 +14,7 @@ export const magic_connector_id: JsonSchema = { /** * The schema of `magic_ip-address`. */ -export const magic_ip_address: JsonSchema = { +export const magic_ip$$address: JsonSchema = { "description": "A valid IPv4 address.", "type": "string" }; @@ -29,7 +29,7 @@ export const magic_port: JsonSchema = { /** * The schema of `magic_secondary-connector-id`. */ -export const magic_secondary_connector_id: JsonSchema = { +export const magic_secondary$$connector$$id: JsonSchema = { "description": "Magic Connector identifier tag. Used when high availability mode is on.", "type": "string" }; @@ -37,7 +37,7 @@ export const magic_secondary_connector_id: JsonSchema = { /** * The schema of `magic_site-location`. */ -export const magic_site_location: JsonSchema = { +export const magic_site$$location: JsonSchema = { "description": "Location of site in latitude and longitude.", "properties": { "lat": { @@ -55,7 +55,7 @@ export const magic_site_location: JsonSchema = { /** * The schema of `magic_site-name`. */ -export const magic_site_name: JsonSchema = { +export const magic_site$$name: JsonSchema = { "description": "The name of the site.", "type": "string" }; diff --git a/src/generated/forge-mcp/magicTransit/sites/tools.ts b/src/generated/forge-mcp/magicTransit/sites/tools.ts index c97f08b96..e17cc8f99 100644 --- a/src/generated/forge-mcp/magicTransit/sites/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/tools.ts @@ -1,80 +1,88 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_identifier_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_identifier, + magic_messages, } from "../outputs.js"; -import { magic_identifier } from "../schemas.js"; +import { magic_identifier as magic_identifier$ } from "../schemas.js"; import { - magic_connector_id_output, - magic_secondary_connector_id_output, - magic_site_deleted_response_output, - magic_site_location_output, - magic_site_modified_response_output, - magic_site_name_output, - magic_site_output, - magic_site_single_response_output, - magic_sites_collection_response_output, + magic_connector$$id, + magic_secondary$$connector$$id, + magic_site, + magic_site$$location, + magic_site$$name, + magic_site_deleted_response, + magic_site_modified_response, + magic_site_single_response, + magic_sites_collection_response, } from "./outputs.js"; import { - magic_connector_id, - magic_secondary_connector_id, - magic_site_location, - magic_site_name, + magic_connector$$id as magic_connector$$id$, + magic_secondary$$connector$$id as magic_secondary$$connector$$id$, + magic_site$$location as magic_site$$location$, + magic_site$$name as magic_site$$name$, magic_site_update_request, magic_sites_add_single_request, } from "./schemas.js"; /** - * The tools of `magic_transit.sites`. + * The tools of `magicTransit.sites`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_sites_create", + name: "magicTransit_sites_create", title: "Create a new Site", description: "Creates a new Site", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_sites_add_single_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "magic_connector-id": magic_connector_id, - "magic_identifier": magic_identifier, - "magic_secondary-connector-id": magic_secondary_connector_id, - "magic_site-location": magic_site_location, - "magic_site-name": magic_site_name, + "magic_connector-id": magic_connector$$id$, + "magic_identifier": magic_identifier$, + "magic_secondary-connector-id": magic_secondary$$connector$$id$, + "magic_site-location": magic_site$$location$, + "magic_site-name": magic_site$$name$, "magic_sites_add_single_request": magic_sites_add_single_request, }, }, outputSchema: { "$ref": "#/$defs/magic_site_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_single_response": magic_site_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_single_response": magic_site_single_response, }, }, annotations: { @@ -108,17 +116,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_single_response": magic_site_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_single_response": magic_site_single_response, }, }, request: (args) => ({ @@ -127,42 +135,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_delete", + name: "magicTransit_sites_delete", title: "Delete Site", description: "Remove a specific Site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_site_deleted_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_deleted_response": magic_site_deleted_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_deleted_response": magic_site_deleted_response, }, }, annotations: { @@ -201,17 +217,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_deleted_response": magic_site_deleted_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_deleted_response": magic_site_deleted_response, }, }, request: (args) => ({ @@ -219,51 +235,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_edit", + name: "magicTransit_sites_edit", title: "Patch Site", description: "Patch a specific Site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_site_update_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { - "magic_connector-id": magic_connector_id, - "magic_identifier": magic_identifier, - "magic_secondary-connector-id": magic_secondary_connector_id, - "magic_site-location": magic_site_location, - "magic_site-name": magic_site_name, + "magic_connector-id": magic_connector$$id$, + "magic_identifier": magic_identifier$, + "magic_secondary-connector-id": magic_secondary$$connector$$id$, + "magic_site-location": magic_site$$location$, + "magic_site-name": magic_site$$name$, "magic_site_update_request": magic_site_update_request, }, }, outputSchema: { "$ref": "#/$defs/magic_site_modified_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_modified_response": magic_site_modified_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_modified_response": magic_site_modified_response, }, }, annotations: { @@ -302,17 +326,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_modified_response": magic_site_modified_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_modified_response": magic_site_modified_response, }, }, request: (args) => ({ @@ -321,46 +345,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_get", + name: "magicTransit_sites_get", title: "Site Details", description: "Get a specific Site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "headers": { + "properties": { + "x-magic-new-hc-target": { + "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", + "type": "boolean" + } + }, + "type": "object" }, - "x_magic_new_hc_target": { - "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_site_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_single_response": magic_site_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_single_response": magic_site_single_response, }, }, annotations: { @@ -401,62 +438,75 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_single_response": magic_site_single_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_single_response": magic_site_single_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites/${pathParam(args, "site_id")}`, headers: [ - ["x-magic-new-hc-target", args["x_magic_new_hc_target"]], + ["x-magic-new-hc-target", param(args, "headers", "x-magic-new-hc-target")], ], }), }, { - name: "magic_transit_sites_list", + name: "magicTransit_sites_list", title: "List Sites", description: "Lists Sites associated with an account. Use connectorid query param to return sites where connectorid matches either site.ConnectorID or site.SecondaryConnectorID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "connectorid": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "query": { + "properties": { + "connectorid": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_sites_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_sites_collection_response": magic_sites_collection_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_sites_collection_response": magic_sites_collection_response, }, }, annotations: { @@ -492,72 +542,80 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_sites_collection_response": magic_sites_collection_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_sites_collection_response": magic_sites_collection_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/magic/sites`, query: [ - ["connectorid", args["connectorid"], true], + ["connectorid", param(args, "query", "connectorid"), true], ], }), }, { - name: "magic_transit_sites_update", + name: "magicTransit_sites_update", title: "Update Site", description: "Update a specific Site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_site_update_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { - "magic_connector-id": magic_connector_id, - "magic_identifier": magic_identifier, - "magic_secondary-connector-id": magic_secondary_connector_id, - "magic_site-location": magic_site_location, - "magic_site-name": magic_site_name, + "magic_connector-id": magic_connector$$id$, + "magic_identifier": magic_identifier$, + "magic_secondary-connector-id": magic_secondary$$connector$$id$, + "magic_site-location": magic_site$$location$, + "magic_site-name": magic_site$$name$, "magic_site_update_request": magic_site_update_request, }, }, outputSchema: { "$ref": "#/$defs/magic_site_modified_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_modified_response": magic_site_modified_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_modified_response": magic_site_modified_response, }, }, annotations: { @@ -596,17 +654,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_connector-id": magic_connector_id_output, - "magic_identifier": magic_identifier_output, - "magic_messages": magic_messages_output, - "magic_secondary-connector-id": magic_secondary_connector_id_output, - "magic_site": magic_site_output, - "magic_site-location": magic_site_location_output, - "magic_site-name": magic_site_name_output, - "magic_site_modified_response": magic_site_modified_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_connector-id": magic_connector$$id, + "magic_identifier": magic_identifier, + "magic_messages": magic_messages, + "magic_secondary-connector-id": magic_secondary$$connector$$id, + "magic_site": magic_site, + "magic_site-location": magic_site$$location, + "magic_site-name": magic_site$$name, + "magic_site_modified_response": magic_site_modified_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts index 8ac81d1dc..2f2611af2 100644 --- a/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `magic_wan` in responses. */ -export const magic_wan_output: JsonSchema = { +export const magic_wan: JsonSchema = { "properties": { "health_check_rate": { "enum": [ @@ -53,7 +53,7 @@ export const magic_wan_output: JsonSchema = { /** * The schema of `magic_wan_deleted_response` in responses. */ -export const magic_wan_deleted_response_output: JsonSchema = { +export const magic_wan_deleted_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -72,7 +72,7 @@ export const magic_wan_deleted_response_output: JsonSchema = { /** * The schema of `magic_wan_modified_response` in responses. */ -export const magic_wan_modified_response_output: JsonSchema = { +export const magic_wan_modified_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -91,7 +91,7 @@ export const magic_wan_modified_response_output: JsonSchema = { /** * The schema of `magic_wan_single_response` in responses. */ -export const magic_wan_single_response_output: JsonSchema = { +export const magic_wan_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" @@ -110,7 +110,7 @@ export const magic_wan_single_response_output: JsonSchema = { /** * The schema of `magic_wan_static_addressing` in responses. */ -export const magic_wan_static_addressing_output: JsonSchema = { +export const magic_wan_static_addressing: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/magic_cidr" @@ -135,7 +135,7 @@ export const magic_wan_static_addressing_output: JsonSchema = { /** * The schema of `magic_wans_collection_response` in responses. */ -export const magic_wans_collection_response_output: JsonSchema = { +export const magic_wans_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/magic_api-response-single" diff --git a/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts b/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts index f9b47705e..4548b1767 100644 --- a/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts @@ -3,27 +3,30 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_api_response_common_failure_output, - magic_api_response_common_output, - magic_api_response_single_output, - magic_cidr_output, - magic_identifier_output, - magic_messages_output, + magic_api$$response$$common, + magic_api$$response$$common$$failure, + magic_api$$response$$single, + magic_cidr, + magic_identifier, + magic_messages, } from "../../outputs.js"; -import { magic_cidr, magic_identifier } from "../../schemas.js"; import { - magic_ip_address_output, - magic_port_output, - magic_vlan_tag_output, -} from "../outputs.js"; -import { magic_ip_address, magic_port, magic_vlan_tag } from "../schemas.js"; + magic_cidr as magic_cidr$, + magic_identifier as magic_identifier$, +} from "../../schemas.js"; +import { magic_ip$$address, magic_port, magic_vlan_tag } from "../outputs.js"; import { - magic_wan_deleted_response_output, - magic_wan_modified_response_output, - magic_wan_output, - magic_wan_single_response_output, - magic_wan_static_addressing_output, - magic_wans_collection_response_output, + magic_ip$$address as magic_ip$$address$, + magic_port as magic_port$, + magic_vlan_tag as magic_vlan_tag$, +} from "../schemas.js"; +import { + magic_wan, + magic_wan_deleted_response, + magic_wan_modified_response, + magic_wan_single_response, + magic_wan_static_addressing, + magic_wans_collection_response, } from "./outputs.js"; import { magic_wan_static_addressing_create_request, @@ -33,39 +36,47 @@ import { } from "./schemas.js"; /** - * The tools of `magic_transit.sites.wans`. + * The tools of `magicTransit.sites.wans`. */ export const tools: readonly Tool[] = [ { - name: "magic_transit_sites_wans_create", + name: "magicTransit_sites_wans_create", title: "Create a new Site WAN", description: "Creates a new Site WAN.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_wans_add_single_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip_address, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, + "magic_cidr": magic_cidr$, + "magic_identifier": magic_identifier$, + "magic_ip-address": magic_ip$$address$, + "magic_port": magic_port$, + "magic_vlan_tag": magic_vlan_tag$, "magic_wan_static_addressing_create_request": magic_wan_static_addressing_create_request, "magic_wans_add_single_request": magic_wans_add_single_request, }, @@ -73,17 +84,17 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_wans_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, - "magic_wans_collection_response": magic_wans_collection_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_static_addressing": magic_wan_static_addressing, + "magic_wans_collection_response": magic_wans_collection_response, }, }, annotations: { @@ -117,18 +128,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, - "magic_wans_collection_response": magic_wans_collection_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_static_addressing": magic_wan_static_addressing, + "magic_wans_collection_response": magic_wans_collection_response, }, }, request: (args) => ({ @@ -137,48 +148,56 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_wans_delete", + name: "magicTransit_sites_wans_delete", title: "Delete Site WAN", description: "Remove a specific Site WAN.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "wan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "wan_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "wan_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "wan_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_wan_deleted_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_deleted_response": magic_wan_deleted_response_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_deleted_response": magic_wan_deleted_response, + "magic_wan_static_addressing": magic_wan_static_addressing, }, }, annotations: { @@ -217,18 +236,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_deleted_response": magic_wan_deleted_response_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_deleted_response": magic_wan_deleted_response, + "magic_wan_static_addressing": magic_wan_static_addressing, }, }, request: (args) => ({ @@ -236,40 +255,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_wans_edit", + name: "magicTransit_sites_wans_edit", title: "Patch Site WAN", description: "Patch a specific Site WAN.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_wan_update_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "wan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "wan_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "wan_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "wan_id", + "path", "body" ], $defs: { - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip_address, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, + "magic_cidr": magic_cidr$, + "magic_identifier": magic_identifier$, + "magic_ip-address": magic_ip$$address$, + "magic_port": magic_port$, + "magic_vlan_tag": magic_vlan_tag$, "magic_wan_static_addressing_update": magic_wan_static_addressing_update, "magic_wan_update_request": magic_wan_update_request, }, @@ -277,17 +304,17 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_wan_modified_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_modified_response": magic_wan_modified_response_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_modified_response": magic_wan_modified_response, + "magic_wan_static_addressing": magic_wan_static_addressing, }, }, annotations: { @@ -326,18 +353,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_modified_response": magic_wan_modified_response_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_modified_response": magic_wan_modified_response, + "magic_wan_static_addressing": magic_wan_static_addressing, }, }, request: (args) => ({ @@ -346,48 +373,56 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_wans_get", + name: "magicTransit_sites_wans_get", title: "Site WAN Details", description: "Get a specific Site WAN.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "wan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "wan_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "wan_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "wan_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_wan_single_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_single_response": magic_wan_single_response_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_single_response": magic_wan_single_response, + "magic_wan_static_addressing": magic_wan_static_addressing, }, }, annotations: { @@ -428,18 +463,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_single_response": magic_wan_single_response_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_single_response": magic_wan_single_response, + "magic_wan_static_addressing": magic_wan_static_addressing, }, }, request: (args) => ({ @@ -447,43 +482,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_wans_list", + name: "magicTransit_sites_wans_list", title: "List Site WANs", description: "Lists Site WANs associated with an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { - "magic_identifier": magic_identifier, + "magic_identifier": magic_identifier$, }, }, outputSchema: { "$ref": "#/$defs/magic_wans_collection_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, - "magic_wans_collection_response": magic_wans_collection_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_static_addressing": magic_wan_static_addressing, + "magic_wans_collection_response": magic_wans_collection_response, }, }, annotations: { @@ -519,18 +562,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, - "magic_wans_collection_response": magic_wans_collection_response_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_static_addressing": magic_wan_static_addressing, + "magic_wans_collection_response": magic_wans_collection_response, }, }, request: (args) => ({ @@ -538,40 +581,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "magic_transit_sites_wans_update", + name: "magicTransit_sites_wans_update", title: "Update Site WAN", description: "Update a specific Site WAN.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/magic_wan_update_request" }, - "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" - }, - "wan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "site_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + }, + "wan_id": { + "$ref": "#/$defs/magic_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id", + "site_id", + "wan_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", - "wan_id", + "path", "body" ], $defs: { - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip_address, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, + "magic_cidr": magic_cidr$, + "magic_identifier": magic_identifier$, + "magic_ip-address": magic_ip$$address$, + "magic_port": magic_port$, + "magic_vlan_tag": magic_vlan_tag$, "magic_wan_static_addressing_update": magic_wan_static_addressing_update, "magic_wan_update_request": magic_wan_update_request, }, @@ -579,17 +630,17 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/magic_wan_modified_response", $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_modified_response": magic_wan_modified_response_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_modified_response": magic_wan_modified_response, + "magic_wan_static_addressing": magic_wan_static_addressing, }, }, annotations: { @@ -628,18 +679,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_api-response-common": magic_api_response_common_output, - "magic_api-response-common-failure": magic_api_response_common_failure_output, - "magic_api-response-single": magic_api_response_single_output, - "magic_cidr": magic_cidr_output, - "magic_identifier": magic_identifier_output, - "magic_ip-address": magic_ip_address_output, - "magic_messages": magic_messages_output, - "magic_port": magic_port_output, - "magic_vlan_tag": magic_vlan_tag_output, - "magic_wan": magic_wan_output, - "magic_wan_modified_response": magic_wan_modified_response_output, - "magic_wan_static_addressing": magic_wan_static_addressing_output, + "magic_api-response-common": magic_api$$response$$common, + "magic_api-response-common-failure": magic_api$$response$$common$$failure, + "magic_api-response-single": magic_api$$response$$single, + "magic_cidr": magic_cidr, + "magic_identifier": magic_identifier, + "magic_ip-address": magic_ip$$address, + "magic_messages": magic_messages, + "magic_port": magic_port, + "magic_vlan_tag": magic_vlan_tag, + "magic_wan": magic_wan, + "magic_wan_modified_response": magic_wan_modified_response, + "magic_wan_static_addressing": magic_wan_static_addressing, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/outputs.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/outputs.ts index c83bef665..495cd56c2 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/outputs.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../_/tool.js"; * `managed-defense-vulnerability-discovery_CuratedReportPublication` in * responses. */ -export const managed_defense_vulnerability_discovery_CuratedReportPublication_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_CuratedReportPublication: JsonSchema = { "properties": { "published_at": { "format": "date-time", @@ -34,7 +34,7 @@ export const managed_defense_vulnerability_discovery_CuratedReportPublication_ou * The schema of `managed-defense-vulnerability-discovery_FailureResponse` in * responses. */ -export const managed_defense_vulnerability_discovery_FailureResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_FailureResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -71,7 +71,7 @@ export const managed_defense_vulnerability_discovery_FailureResponse_output: Jso /** * The schema of `managed-defense-vulnerability-discovery_Message` in responses. */ -export const managed_defense_vulnerability_discovery_Message_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_Message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -91,7 +91,7 @@ export const managed_defense_vulnerability_discovery_Message_output: JsonSchema * The schema of `managed-defense-vulnerability-discovery_PaginatedResponse` in * responses. */ -export const managed_defense_vulnerability_discovery_PaginatedResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_PaginatedResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/managed-defense-vulnerability-discovery_SuccessResponse" @@ -114,7 +114,7 @@ export const managed_defense_vulnerability_discovery_PaginatedResponse_output: J * The schema of `managed-defense-vulnerability-discovery_ReportErrorPath` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportErrorPath_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportErrorPath: JsonSchema = { "properties": { "hits": { "type": "number" @@ -146,7 +146,7 @@ export const managed_defense_vulnerability_discovery_ReportErrorPath_output: Jso * The schema of `managed-defense-vulnerability-discovery_ReportExternalLink` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportExternalLink_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportExternalLink: JsonSchema = { "properties": { "title": { "type": "string" @@ -166,7 +166,7 @@ export const managed_defense_vulnerability_discovery_ReportExternalLink_output: * The schema of `managed-defense-vulnerability-discovery_ReportFinding` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportFinding_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportFinding: JsonSchema = { "properties": { "attacker_position": { "oneOf": [ @@ -398,7 +398,7 @@ export const managed_defense_vulnerability_discovery_ReportFinding_output: JsonS * The schema of `managed-defense-vulnerability-discovery_ReportHotPath` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportHotPath_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportHotPath: JsonSchema = { "properties": { "hits": { "type": "number" @@ -430,7 +430,7 @@ export const managed_defense_vulnerability_discovery_ReportHotPath_output: JsonS * The schema of `managed-defense-vulnerability-discovery_ReportObservedPath` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportObservedPath_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportObservedPath: JsonSchema = { "properties": { "hit_volume": { "type": "number" @@ -458,7 +458,7 @@ export const managed_defense_vulnerability_discovery_ReportObservedPath_output: * The schema of `managed-defense-vulnerability-discovery_ReportObservedWafRule` * in responses. */ -export const managed_defense_vulnerability_discovery_ReportObservedWafRule_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportObservedWafRule: JsonSchema = { "properties": { "hit_volume": { "type": "number" @@ -500,7 +500,7 @@ export const managed_defense_vulnerability_discovery_ReportObservedWafRule_outpu * The schema of `managed-defense-vulnerability-discovery_ReportReachability` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportReachability_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportReachability: JsonSchema = { "properties": { "consumer": { "type": "string" @@ -524,7 +524,7 @@ export const managed_defense_vulnerability_discovery_ReportReachability_output: * The schema of `managed-defense-vulnerability-discovery_ReportTelemetryTarget` * in responses. */ -export const managed_defense_vulnerability_discovery_ReportTelemetryTarget_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportTelemetryTarget: JsonSchema = { "properties": { "hosts": { "items": { @@ -554,7 +554,7 @@ export const managed_defense_vulnerability_discovery_ReportTelemetryTarget_outpu * The schema of `managed-defense-vulnerability-discovery_ReportTraceStep` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportTraceStep_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportTraceStep: JsonSchema = { "properties": { "line": { "type": "integer" @@ -586,7 +586,7 @@ export const managed_defense_vulnerability_discovery_ReportTraceStep_output: Jso * The schema of `managed-defense-vulnerability-discovery_ReportTrafficContext` * in responses. */ -export const managed_defense_vulnerability_discovery_ReportTrafficContext_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportTrafficContext: JsonSchema = { "properties": { "http": { "oneOf": [ @@ -727,7 +727,7 @@ export const managed_defense_vulnerability_discovery_ReportTrafficContext_output * The schema of `managed-defense-vulnerability-discovery_ReportWafRule` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportWafRule_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportWafRule: JsonSchema = { "properties": { "action": { "enum": [ @@ -778,7 +778,7 @@ export const managed_defense_vulnerability_discovery_ReportWafRule_output: JsonS * The schema of `managed-defense-vulnerability-discovery_ReportWafRules` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportWafRules_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportWafRules: JsonSchema = { "oneOf": [ { "properties": { @@ -820,7 +820,7 @@ export const managed_defense_vulnerability_discovery_ReportWafRules_output: Json * `managed-defense-vulnerability-discovery_ReportWebAssetsOperation` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportWebAssetsOperation: JsonSchema = { "properties": { "endpoint": { "type": "string" @@ -858,7 +858,7 @@ export const managed_defense_vulnerability_discovery_ReportWebAssetsOperation_ou * The schema of `managed-defense-vulnerability-discovery_ReportWebAssetsPath` * in responses. */ -export const managed_defense_vulnerability_discovery_ReportWebAssetsPath_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportWebAssetsPath: JsonSchema = { "properties": { "avg_origin_latency_ms": { "oneOf": [ @@ -902,7 +902,7 @@ export const managed_defense_vulnerability_discovery_ReportWebAssetsPath_output: * `managed-defense-vulnerability-discovery_ReportWebAssetsPerformance` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportWebAssetsPerformance: JsonSchema = { "properties": { "avg_origin_latency_ms": { "oneOf": [ @@ -933,7 +933,7 @@ export const managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_ * The schema of `managed-defense-vulnerability-discovery_ReportWebAssetsRisk` * in responses. */ -export const managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportWebAssetsRisk: JsonSchema = { "properties": { "description": { "oneOf": [ @@ -960,7 +960,7 @@ export const managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output: * The schema of `managed-defense-vulnerability-discovery_RepositoryReport` in * responses. */ -export const managed_defense_vulnerability_discovery_RepositoryReport_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_RepositoryReport: JsonSchema = { "properties": { "external_links": { "items": { @@ -1022,7 +1022,7 @@ export const managed_defense_vulnerability_discovery_RepositoryReport_output: Js * The schema of `managed-defense-vulnerability-discovery_ResultInfo` in * responses. */ -export const managed_defense_vulnerability_discovery_ResultInfo_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ResultInfo: JsonSchema = { "properties": { "count": { "type": "integer" @@ -1045,7 +1045,7 @@ export const managed_defense_vulnerability_discovery_ResultInfo_output: JsonSche /** * The schema of `managed-defense-vulnerability-discovery_Scan` in responses. */ -export const managed_defense_vulnerability_discovery_Scan_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_Scan: JsonSchema = { "properties": { "completed_at": { "oneOf": [ @@ -1143,7 +1143,7 @@ export const managed_defense_vulnerability_discovery_Scan_output: JsonSchema = { * The schema of `managed-defense-vulnerability-discovery_ScanRepository` in * responses. */ -export const managed_defense_vulnerability_discovery_ScanRepository_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ScanRepository: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -1205,7 +1205,7 @@ export const managed_defense_vulnerability_discovery_ScanRepository_output: Json * The schema of `managed-defense-vulnerability-discovery_SuccessResponse` in * responses. */ -export const managed_defense_vulnerability_discovery_SuccessResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_SuccessResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -1238,7 +1238,7 @@ export const managed_defense_vulnerability_discovery_SuccessResponse_output: Jso * The schema of `managed-defense-vulnerability-discovery_TelemetryWindow` in * responses. */ -export const managed_defense_vulnerability_discovery_TelemetryWindow_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_TelemetryWindow: JsonSchema = { "properties": { "end": { "format": "date-time", diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/outputs.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/outputs.ts index 67c488437..23f072d5b 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/outputs.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `managed-defense-vulnerability-discovery_CuratedReportResponse` * in responses. */ -export const managed_defense_vulnerability_discovery_CuratedReportResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_CuratedReportResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/managed-defense-vulnerability-discovery_SuccessResponse" @@ -30,7 +30,7 @@ export const managed_defense_vulnerability_discovery_CuratedReportResponse_outpu * The schema of `managed-defense-vulnerability-discovery_CuratedReportResult` * in responses. */ -export const managed_defense_vulnerability_discovery_CuratedReportResult_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_CuratedReportResult: JsonSchema = { "properties": { "publication": { "$ref": "#/$defs/managed-defense-vulnerability-discovery_CuratedReportPublication" diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts index 57b27e790..9c37c52b8 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts @@ -3,89 +3,97 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - managed_defense_vulnerability_discovery_CuratedReportPublication_output, - managed_defense_vulnerability_discovery_FailureResponse_output, - managed_defense_vulnerability_discovery_Message_output, - managed_defense_vulnerability_discovery_ReportErrorPath_output, - managed_defense_vulnerability_discovery_ReportExternalLink_output, - managed_defense_vulnerability_discovery_ReportFinding_output, - managed_defense_vulnerability_discovery_ReportHotPath_output, - managed_defense_vulnerability_discovery_ReportObservedPath_output, - managed_defense_vulnerability_discovery_ReportObservedWafRule_output, - managed_defense_vulnerability_discovery_ReportReachability_output, - managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, - managed_defense_vulnerability_discovery_ReportTraceStep_output, - managed_defense_vulnerability_discovery_ReportTrafficContext_output, - managed_defense_vulnerability_discovery_ReportWafRule_output, - managed_defense_vulnerability_discovery_ReportWafRules_output, - managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, - managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, - managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, - managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, - managed_defense_vulnerability_discovery_RepositoryReport_output, - managed_defense_vulnerability_discovery_SuccessResponse_output, - managed_defense_vulnerability_discovery_TelemetryWindow_output, + managed$$defense$$vulnerability$$discovery_CuratedReportPublication, + managed$$defense$$vulnerability$$discovery_FailureResponse, + managed$$defense$$vulnerability$$discovery_Message, + managed$$defense$$vulnerability$$discovery_ReportErrorPath, + managed$$defense$$vulnerability$$discovery_ReportExternalLink, + managed$$defense$$vulnerability$$discovery_ReportFinding, + managed$$defense$$vulnerability$$discovery_ReportHotPath, + managed$$defense$$vulnerability$$discovery_ReportObservedPath, + managed$$defense$$vulnerability$$discovery_ReportObservedWafRule, + managed$$defense$$vulnerability$$discovery_ReportReachability, + managed$$defense$$vulnerability$$discovery_ReportTelemetryTarget, + managed$$defense$$vulnerability$$discovery_ReportTraceStep, + managed$$defense$$vulnerability$$discovery_ReportTrafficContext, + managed$$defense$$vulnerability$$discovery_ReportWafRule, + managed$$defense$$vulnerability$$discovery_ReportWafRules, + managed$$defense$$vulnerability$$discovery_ReportWebAssetsOperation, + managed$$defense$$vulnerability$$discovery_ReportWebAssetsPath, + managed$$defense$$vulnerability$$discovery_ReportWebAssetsPerformance, + managed$$defense$$vulnerability$$discovery_ReportWebAssetsRisk, + managed$$defense$$vulnerability$$discovery_RepositoryReport, + managed$$defense$$vulnerability$$discovery_SuccessResponse, + managed$$defense$$vulnerability$$discovery_TelemetryWindow, } from "../outputs.js"; import { - managed_defense_vulnerability_discovery_CuratedReportResponse_output, - managed_defense_vulnerability_discovery_CuratedReportResult_output, + managed$$defense$$vulnerability$$discovery_CuratedReportResponse, + managed$$defense$$vulnerability$$discovery_CuratedReportResult, } from "./outputs.js"; /** - * The tools of `managed_defense.vulnerability_discovery.reports`. + * The tools of `managedDefense.vulnerabilityDiscovery.reports`. */ export const tools: readonly Tool[] = [ { - name: "managed_defense_vulnerability_discovery_reports_get", + name: "managedDefense_vulnerabilityDiscovery_reports_get", title: "Get reviewed vulnerability report", description: "Gets the repository projection of the active operator-reviewed scan report. `scan_id` is the customer scan's stable request ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "repo_id": { - "format": "uuid", - "type": "string" - }, - "scan_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "repo_id": { + "format": "uuid", + "type": "string" + }, + "scan_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "repo_id", + "scan_id" + ], + "type": "object" } }, required: [ - "account_id", - "repo_id", - "scan_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_CuratedReportResponse", $defs: { - "managed-defense-vulnerability-discovery_CuratedReportPublication": managed_defense_vulnerability_discovery_CuratedReportPublication_output, - "managed-defense-vulnerability-discovery_CuratedReportResponse": managed_defense_vulnerability_discovery_CuratedReportResponse_output, - "managed-defense-vulnerability-discovery_CuratedReportResult": managed_defense_vulnerability_discovery_CuratedReportResult_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_ReportErrorPath": managed_defense_vulnerability_discovery_ReportErrorPath_output, - "managed-defense-vulnerability-discovery_ReportExternalLink": managed_defense_vulnerability_discovery_ReportExternalLink_output, - "managed-defense-vulnerability-discovery_ReportFinding": managed_defense_vulnerability_discovery_ReportFinding_output, - "managed-defense-vulnerability-discovery_ReportHotPath": managed_defense_vulnerability_discovery_ReportHotPath_output, - "managed-defense-vulnerability-discovery_ReportObservedPath": managed_defense_vulnerability_discovery_ReportObservedPath_output, - "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed_defense_vulnerability_discovery_ReportObservedWafRule_output, - "managed-defense-vulnerability-discovery_ReportReachability": managed_defense_vulnerability_discovery_ReportReachability_output, - "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, - "managed-defense-vulnerability-discovery_ReportTraceStep": managed_defense_vulnerability_discovery_ReportTraceStep_output, - "managed-defense-vulnerability-discovery_ReportTrafficContext": managed_defense_vulnerability_discovery_ReportTrafficContext_output, - "managed-defense-vulnerability-discovery_ReportWafRule": managed_defense_vulnerability_discovery_ReportWafRule_output, - "managed-defense-vulnerability-discovery_ReportWafRules": managed_defense_vulnerability_discovery_ReportWafRules_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, - "managed-defense-vulnerability-discovery_RepositoryReport": managed_defense_vulnerability_discovery_RepositoryReport_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_CuratedReportPublication": managed$$defense$$vulnerability$$discovery_CuratedReportPublication, + "managed-defense-vulnerability-discovery_CuratedReportResponse": managed$$defense$$vulnerability$$discovery_CuratedReportResponse, + "managed-defense-vulnerability-discovery_CuratedReportResult": managed$$defense$$vulnerability$$discovery_CuratedReportResult, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_ReportErrorPath": managed$$defense$$vulnerability$$discovery_ReportErrorPath, + "managed-defense-vulnerability-discovery_ReportExternalLink": managed$$defense$$vulnerability$$discovery_ReportExternalLink, + "managed-defense-vulnerability-discovery_ReportFinding": managed$$defense$$vulnerability$$discovery_ReportFinding, + "managed-defense-vulnerability-discovery_ReportHotPath": managed$$defense$$vulnerability$$discovery_ReportHotPath, + "managed-defense-vulnerability-discovery_ReportObservedPath": managed$$defense$$vulnerability$$discovery_ReportObservedPath, + "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed$$defense$$vulnerability$$discovery_ReportObservedWafRule, + "managed-defense-vulnerability-discovery_ReportReachability": managed$$defense$$vulnerability$$discovery_ReportReachability, + "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed$$defense$$vulnerability$$discovery_ReportTelemetryTarget, + "managed-defense-vulnerability-discovery_ReportTraceStep": managed$$defense$$vulnerability$$discovery_ReportTraceStep, + "managed-defense-vulnerability-discovery_ReportTrafficContext": managed$$defense$$vulnerability$$discovery_ReportTrafficContext, + "managed-defense-vulnerability-discovery_ReportWafRule": managed$$defense$$vulnerability$$discovery_ReportWafRule, + "managed-defense-vulnerability-discovery_ReportWafRules": managed$$defense$$vulnerability$$discovery_ReportWafRules, + "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed$$defense$$vulnerability$$discovery_ReportWebAssetsOperation, + "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed$$defense$$vulnerability$$discovery_ReportWebAssetsPath, + "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed$$defense$$vulnerability$$discovery_ReportWebAssetsPerformance, + "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed$$defense$$vulnerability$$discovery_ReportWebAssetsRisk, + "managed-defense-vulnerability-discovery_RepositoryReport": managed$$defense$$vulnerability$$discovery_RepositoryReport, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, annotations: { @@ -117,30 +125,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "managed-defense-vulnerability-discovery_CuratedReportPublication": managed_defense_vulnerability_discovery_CuratedReportPublication_output, - "managed-defense-vulnerability-discovery_CuratedReportResponse": managed_defense_vulnerability_discovery_CuratedReportResponse_output, - "managed-defense-vulnerability-discovery_CuratedReportResult": managed_defense_vulnerability_discovery_CuratedReportResult_output, - "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_ReportErrorPath": managed_defense_vulnerability_discovery_ReportErrorPath_output, - "managed-defense-vulnerability-discovery_ReportExternalLink": managed_defense_vulnerability_discovery_ReportExternalLink_output, - "managed-defense-vulnerability-discovery_ReportFinding": managed_defense_vulnerability_discovery_ReportFinding_output, - "managed-defense-vulnerability-discovery_ReportHotPath": managed_defense_vulnerability_discovery_ReportHotPath_output, - "managed-defense-vulnerability-discovery_ReportObservedPath": managed_defense_vulnerability_discovery_ReportObservedPath_output, - "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed_defense_vulnerability_discovery_ReportObservedWafRule_output, - "managed-defense-vulnerability-discovery_ReportReachability": managed_defense_vulnerability_discovery_ReportReachability_output, - "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, - "managed-defense-vulnerability-discovery_ReportTraceStep": managed_defense_vulnerability_discovery_ReportTraceStep_output, - "managed-defense-vulnerability-discovery_ReportTrafficContext": managed_defense_vulnerability_discovery_ReportTrafficContext_output, - "managed-defense-vulnerability-discovery_ReportWafRule": managed_defense_vulnerability_discovery_ReportWafRule_output, - "managed-defense-vulnerability-discovery_ReportWafRules": managed_defense_vulnerability_discovery_ReportWafRules_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, - "managed-defense-vulnerability-discovery_RepositoryReport": managed_defense_vulnerability_discovery_RepositoryReport_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_CuratedReportPublication": managed$$defense$$vulnerability$$discovery_CuratedReportPublication, + "managed-defense-vulnerability-discovery_CuratedReportResponse": managed$$defense$$vulnerability$$discovery_CuratedReportResponse, + "managed-defense-vulnerability-discovery_CuratedReportResult": managed$$defense$$vulnerability$$discovery_CuratedReportResult, + "managed-defense-vulnerability-discovery_FailureResponse": managed$$defense$$vulnerability$$discovery_FailureResponse, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_ReportErrorPath": managed$$defense$$vulnerability$$discovery_ReportErrorPath, + "managed-defense-vulnerability-discovery_ReportExternalLink": managed$$defense$$vulnerability$$discovery_ReportExternalLink, + "managed-defense-vulnerability-discovery_ReportFinding": managed$$defense$$vulnerability$$discovery_ReportFinding, + "managed-defense-vulnerability-discovery_ReportHotPath": managed$$defense$$vulnerability$$discovery_ReportHotPath, + "managed-defense-vulnerability-discovery_ReportObservedPath": managed$$defense$$vulnerability$$discovery_ReportObservedPath, + "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed$$defense$$vulnerability$$discovery_ReportObservedWafRule, + "managed-defense-vulnerability-discovery_ReportReachability": managed$$defense$$vulnerability$$discovery_ReportReachability, + "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed$$defense$$vulnerability$$discovery_ReportTelemetryTarget, + "managed-defense-vulnerability-discovery_ReportTraceStep": managed$$defense$$vulnerability$$discovery_ReportTraceStep, + "managed-defense-vulnerability-discovery_ReportTrafficContext": managed$$defense$$vulnerability$$discovery_ReportTrafficContext, + "managed-defense-vulnerability-discovery_ReportWafRule": managed$$defense$$vulnerability$$discovery_ReportWafRule, + "managed-defense-vulnerability-discovery_ReportWafRules": managed$$defense$$vulnerability$$discovery_ReportWafRules, + "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed$$defense$$vulnerability$$discovery_ReportWebAssetsOperation, + "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed$$defense$$vulnerability$$discovery_ReportWebAssetsPath, + "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed$$defense$$vulnerability$$discovery_ReportWebAssetsPerformance, + "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed$$defense$$vulnerability$$discovery_ReportWebAssetsRisk, + "managed-defense-vulnerability-discovery_RepositoryReport": managed$$defense$$vulnerability$$discovery_RepositoryReport, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/outputs.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/outputs.ts index 5d78e493f..623f2ad65 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/outputs.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * `managed-defense-vulnerability-discovery_CreateRepositoryResponse` in * responses. */ -export const managed_defense_vulnerability_discovery_CreateRepositoryResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_CreateRepositoryResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/managed-defense-vulnerability-discovery_SuccessResponse" @@ -32,7 +32,7 @@ export const managed_defense_vulnerability_discovery_CreateRepositoryResponse_ou * `managed-defense-vulnerability-discovery_CreateRepositoryResult` in * responses. */ -export const managed_defense_vulnerability_discovery_CreateRepositoryResult_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_CreateRepositoryResult: JsonSchema = { "oneOf": [ { "properties": { @@ -67,7 +67,7 @@ export const managed_defense_vulnerability_discovery_CreateRepositoryResult_outp * The schema of `managed-defense-vulnerability-discovery_CreatedRepository` in * responses. */ -export const managed_defense_vulnerability_discovery_CreatedRepository_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_CreatedRepository: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -127,7 +127,7 @@ export const managed_defense_vulnerability_discovery_CreatedRepository_output: J * The schema of `managed-defense-vulnerability-discovery_Repository` in * responses. */ -export const managed_defense_vulnerability_discovery_Repository_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_Repository: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -192,7 +192,7 @@ export const managed_defense_vulnerability_discovery_Repository_output: JsonSche * The schema of `managed-defense-vulnerability-discovery_RepositoryDetail` in * responses. */ -export const managed_defense_vulnerability_discovery_RepositoryDetail_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_RepositoryDetail: JsonSchema = { "properties": { "repository": { "$ref": "#/$defs/managed-defense-vulnerability-discovery_Repository" @@ -217,7 +217,7 @@ export const managed_defense_vulnerability_discovery_RepositoryDetail_output: Js * `managed-defense-vulnerability-discovery_RepositoryListResponse` in * responses. */ -export const managed_defense_vulnerability_discovery_RepositoryListResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_RepositoryListResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/managed-defense-vulnerability-discovery_PaginatedResponse" @@ -243,7 +243,7 @@ export const managed_defense_vulnerability_discovery_RepositoryListResponse_outp * The schema of `managed-defense-vulnerability-discovery_RepositoryResponse` in * responses. */ -export const managed_defense_vulnerability_discovery_RepositoryResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_RepositoryResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/managed-defense-vulnerability-discovery_SuccessResponse" @@ -278,7 +278,7 @@ export const managed_defense_vulnerability_discovery_RepositoryResponse_output: * `managed-defense-vulnerability-discovery_RepositoryTokenResponse` in * responses. */ -export const managed_defense_vulnerability_discovery_RepositoryTokenResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_RepositoryTokenResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/managed-defense-vulnerability-discovery_SuccessResponse" @@ -301,7 +301,7 @@ export const managed_defense_vulnerability_discovery_RepositoryTokenResponse_out * The schema of `managed-defense-vulnerability-discovery_UploadCredentials` in * responses. */ -export const managed_defense_vulnerability_discovery_UploadCredentials_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_UploadCredentials: JsonSchema = { "properties": { "expires_in": { "enum": [ diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/schemas.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/schemas.ts index 2c8f05336..8b3c963a5 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/schemas.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/schemas.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of * `managed-defense-vulnerability-discovery_CreateRepositoryRequest`. */ -export const managed_defense_vulnerability_discovery_CreateRepositoryRequest: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_CreateRepositoryRequest: JsonSchema = { "properties": { "name": { "type": "string" diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts index 6d6f313ad..b5e810385 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts @@ -1,69 +1,82 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - managed_defense_vulnerability_discovery_FailureResponse_output, - managed_defense_vulnerability_discovery_Message_output, - managed_defense_vulnerability_discovery_PaginatedResponse_output, - managed_defense_vulnerability_discovery_ResultInfo_output, - managed_defense_vulnerability_discovery_ScanRepository_output, - managed_defense_vulnerability_discovery_Scan_output, - managed_defense_vulnerability_discovery_SuccessResponse_output, - managed_defense_vulnerability_discovery_TelemetryWindow_output, + managed$$defense$$vulnerability$$discovery_FailureResponse, + managed$$defense$$vulnerability$$discovery_Message, + managed$$defense$$vulnerability$$discovery_PaginatedResponse, + managed$$defense$$vulnerability$$discovery_ResultInfo, + managed$$defense$$vulnerability$$discovery_Scan, + managed$$defense$$vulnerability$$discovery_ScanRepository, + managed$$defense$$vulnerability$$discovery_SuccessResponse, + managed$$defense$$vulnerability$$discovery_TelemetryWindow, } from "../outputs.js"; import { - managed_defense_vulnerability_discovery_CreateRepositoryResponse_output, - managed_defense_vulnerability_discovery_CreateRepositoryResult_output, - managed_defense_vulnerability_discovery_CreatedRepository_output, - managed_defense_vulnerability_discovery_RepositoryDetail_output, - managed_defense_vulnerability_discovery_RepositoryListResponse_output, - managed_defense_vulnerability_discovery_RepositoryResponse_output, - managed_defense_vulnerability_discovery_RepositoryTokenResponse_output, - managed_defense_vulnerability_discovery_Repository_output, - managed_defense_vulnerability_discovery_UploadCredentials_output, + managed$$defense$$vulnerability$$discovery_CreateRepositoryResponse, + managed$$defense$$vulnerability$$discovery_CreateRepositoryResult, + managed$$defense$$vulnerability$$discovery_CreatedRepository, + managed$$defense$$vulnerability$$discovery_Repository, + managed$$defense$$vulnerability$$discovery_RepositoryDetail, + managed$$defense$$vulnerability$$discovery_RepositoryListResponse, + managed$$defense$$vulnerability$$discovery_RepositoryResponse, + managed$$defense$$vulnerability$$discovery_RepositoryTokenResponse, + managed$$defense$$vulnerability$$discovery_UploadCredentials, } from "./outputs.js"; -import { managed_defense_vulnerability_discovery_CreateRepositoryRequest } from "./schemas.js"; +import { managed$$defense$$vulnerability$$discovery_CreateRepositoryRequest } from "./schemas.js"; /** - * The tools of `managed_defense.vulnerability_discovery.repositories`. + * The tools of `managedDefense.vulnerabilityDiscovery.repositories`. */ export const tools: readonly Tool[] = [ { - name: "managed_defense_vulnerability_discovery_repositories_create", + name: "managedDefense_vulnerabilityDiscovery_repositories_create", title: "Create repository", description: "Creates an upload repository or reserves an asynchronous deployed Worker import by name. Worker imports require Idempotency-Key. Push upload source to `main` or specify the `branch` to scan in the scan request.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreateRepositoryRequest" }, - "idempotency_key": { - "description": "Optional. Supply this header to safely retry a request. Required when `worker_script_name` is supplied.", - "type": "string" + "headers": { + "properties": { + "Idempotency-Key": { + "description": "Optional. Supply this header to safely retry a request. Required when `worker_script_name` is supplied.", + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "managed-defense-vulnerability-discovery_CreateRepositoryRequest": managed_defense_vulnerability_discovery_CreateRepositoryRequest, + "managed-defense-vulnerability-discovery_CreateRepositoryRequest": managed$$defense$$vulnerability$$discovery_CreateRepositoryRequest, }, }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreateRepositoryResponse", $defs: { - "managed-defense-vulnerability-discovery_CreateRepositoryResponse": managed_defense_vulnerability_discovery_CreateRepositoryResponse_output, - "managed-defense-vulnerability-discovery_CreateRepositoryResult": managed_defense_vulnerability_discovery_CreateRepositoryResult_output, - "managed-defense-vulnerability-discovery_CreatedRepository": managed_defense_vulnerability_discovery_CreatedRepository_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_UploadCredentials": managed_defense_vulnerability_discovery_UploadCredentials_output, + "managed-defense-vulnerability-discovery_CreateRepositoryResponse": managed$$defense$$vulnerability$$discovery_CreateRepositoryResponse, + "managed-defense-vulnerability-discovery_CreateRepositoryResult": managed$$defense$$vulnerability$$discovery_CreateRepositoryResult, + "managed-defense-vulnerability-discovery_CreatedRepository": managed$$defense$$vulnerability$$discovery_CreatedRepository, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_UploadCredentials": managed$$defense$$vulnerability$$discovery_UploadCredentials, }, }, annotations: { @@ -92,50 +105,58 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "managed-defense-vulnerability-discovery_CreateRepositoryResponse": managed_defense_vulnerability_discovery_CreateRepositoryResponse_output, - "managed-defense-vulnerability-discovery_CreateRepositoryResult": managed_defense_vulnerability_discovery_CreateRepositoryResult_output, - "managed-defense-vulnerability-discovery_CreatedRepository": managed_defense_vulnerability_discovery_CreatedRepository_output, - "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_UploadCredentials": managed_defense_vulnerability_discovery_UploadCredentials_output, + "managed-defense-vulnerability-discovery_CreateRepositoryResponse": managed$$defense$$vulnerability$$discovery_CreateRepositoryResponse, + "managed-defense-vulnerability-discovery_CreateRepositoryResult": managed$$defense$$vulnerability$$discovery_CreateRepositoryResult, + "managed-defense-vulnerability-discovery_CreatedRepository": managed$$defense$$vulnerability$$discovery_CreatedRepository, + "managed-defense-vulnerability-discovery_FailureResponse": managed$$defense$$vulnerability$$discovery_FailureResponse, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_UploadCredentials": managed$$defense$$vulnerability$$discovery_UploadCredentials, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/repos`, headers: [ - ["Idempotency-Key", args["idempotency_key"]], + ["Idempotency-Key", param(args, "headers", "Idempotency-Key")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "managed_defense_vulnerability_discovery_repositories_create_token", + name: "managedDefense_vulnerabilityDiscovery_repositories_createToken", title: "Create upload token", description: "Creates a one-hour write token for an existing upload repository. Worker-imported repositories are system-managed and cannot receive upload tokens.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "repo_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "repo_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "repo_id" + ], + "type": "object" } }, required: [ - "account_id", - "repo_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_RepositoryTokenResponse", $defs: { - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_RepositoryTokenResponse": managed_defense_vulnerability_discovery_RepositoryTokenResponse_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_UploadCredentials": managed_defense_vulnerability_discovery_UploadCredentials_output, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_RepositoryTokenResponse": managed$$defense$$vulnerability$$discovery_RepositoryTokenResponse, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_UploadCredentials": managed$$defense$$vulnerability$$discovery_UploadCredentials, }, }, annotations: { @@ -161,11 +182,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_RepositoryTokenResponse": managed_defense_vulnerability_discovery_RepositoryTokenResponse_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_UploadCredentials": managed_defense_vulnerability_discovery_UploadCredentials_output, + "managed-defense-vulnerability-discovery_FailureResponse": managed$$defense$$vulnerability$$discovery_FailureResponse, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_RepositoryTokenResponse": managed$$defense$$vulnerability$$discovery_RepositoryTokenResponse, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_UploadCredentials": managed$$defense$$vulnerability$$discovery_UploadCredentials, }, }, request: (args) => ({ @@ -173,44 +194,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "managed_defense_vulnerability_discovery_repositories_get", + name: "managedDefense_vulnerabilityDiscovery_repositories_get", title: "Get repository", description: "Gets repository metadata, source readiness, and customer scan history.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "repo_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "repo_id" + ], + "type": "object" }, - "repo_id": { - "format": "uuid", - "type": "string" - }, - "scan_cursor": { - "type": "string" - }, - "scan_limit": { - "default": 50, - "type": "integer" + "query": { + "properties": { + "scan_cursor": { + "type": "string" + }, + "scan_limit": { + "default": 50, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "repo_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_RepositoryResponse", $defs: { - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_Repository": managed_defense_vulnerability_discovery_Repository_output, - "managed-defense-vulnerability-discovery_RepositoryDetail": managed_defense_vulnerability_discovery_RepositoryDetail_output, - "managed-defense-vulnerability-discovery_RepositoryResponse": managed_defense_vulnerability_discovery_RepositoryResponse_output, - "managed-defense-vulnerability-discovery_ResultInfo": managed_defense_vulnerability_discovery_ResultInfo_output, - "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, - "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_Repository": managed$$defense$$vulnerability$$discovery_Repository, + "managed-defense-vulnerability-discovery_RepositoryDetail": managed$$defense$$vulnerability$$discovery_RepositoryDetail, + "managed-defense-vulnerability-discovery_RepositoryResponse": managed$$defense$$vulnerability$$discovery_RepositoryResponse, + "managed-defense-vulnerability-discovery_ResultInfo": managed$$defense$$vulnerability$$discovery_ResultInfo, + "managed-defense-vulnerability-discovery_Scan": managed$$defense$$vulnerability$$discovery_Scan, + "managed-defense-vulnerability-discovery_ScanRepository": managed$$defense$$vulnerability$$discovery_ScanRepository, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, annotations: { @@ -236,57 +270,70 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_Repository": managed_defense_vulnerability_discovery_Repository_output, - "managed-defense-vulnerability-discovery_RepositoryDetail": managed_defense_vulnerability_discovery_RepositoryDetail_output, - "managed-defense-vulnerability-discovery_RepositoryResponse": managed_defense_vulnerability_discovery_RepositoryResponse_output, - "managed-defense-vulnerability-discovery_ResultInfo": managed_defense_vulnerability_discovery_ResultInfo_output, - "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, - "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_FailureResponse": managed$$defense$$vulnerability$$discovery_FailureResponse, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_Repository": managed$$defense$$vulnerability$$discovery_Repository, + "managed-defense-vulnerability-discovery_RepositoryDetail": managed$$defense$$vulnerability$$discovery_RepositoryDetail, + "managed-defense-vulnerability-discovery_RepositoryResponse": managed$$defense$$vulnerability$$discovery_RepositoryResponse, + "managed-defense-vulnerability-discovery_ResultInfo": managed$$defense$$vulnerability$$discovery_ResultInfo, + "managed-defense-vulnerability-discovery_Scan": managed$$defense$$vulnerability$$discovery_Scan, + "managed-defense-vulnerability-discovery_ScanRepository": managed$$defense$$vulnerability$$discovery_ScanRepository, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/repos/${pathParam(args, "repo_id")}`, query: [ - ["scan_limit", args["scan_limit"], true], - ["scan_cursor", args["scan_cursor"], true], + ["scan_limit", param(args, "query", "scan_limit"), true], + ["scan_cursor", param(args, "query", "scan_cursor"), true], ], }), }, { - name: "managed_defense_vulnerability_discovery_repositories_list", + name: "managedDefense_vulnerabilityDiscovery_repositories_list", title: "List repositories", description: "Lists repositories available for vulnerability discovery in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "cursor": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "limit": { - "default": 50, - "type": "integer" + "query": { + "properties": { + "cursor": { + "type": "string" + }, + "limit": { + "default": 50, + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_RepositoryListResponse", $defs: { - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_PaginatedResponse": managed_defense_vulnerability_discovery_PaginatedResponse_output, - "managed-defense-vulnerability-discovery_Repository": managed_defense_vulnerability_discovery_Repository_output, - "managed-defense-vulnerability-discovery_RepositoryListResponse": managed_defense_vulnerability_discovery_RepositoryListResponse_output, - "managed-defense-vulnerability-discovery_ResultInfo": managed_defense_vulnerability_discovery_ResultInfo_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_PaginatedResponse": managed$$defense$$vulnerability$$discovery_PaginatedResponse, + "managed-defense-vulnerability-discovery_Repository": managed$$defense$$vulnerability$$discovery_Repository, + "managed-defense-vulnerability-discovery_RepositoryListResponse": managed$$defense$$vulnerability$$discovery_RepositoryListResponse, + "managed-defense-vulnerability-discovery_ResultInfo": managed$$defense$$vulnerability$$discovery_ResultInfo, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, }, }, annotations: { @@ -312,20 +359,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_PaginatedResponse": managed_defense_vulnerability_discovery_PaginatedResponse_output, - "managed-defense-vulnerability-discovery_Repository": managed_defense_vulnerability_discovery_Repository_output, - "managed-defense-vulnerability-discovery_RepositoryListResponse": managed_defense_vulnerability_discovery_RepositoryListResponse_output, - "managed-defense-vulnerability-discovery_ResultInfo": managed_defense_vulnerability_discovery_ResultInfo_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, + "managed-defense-vulnerability-discovery_FailureResponse": managed$$defense$$vulnerability$$discovery_FailureResponse, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_PaginatedResponse": managed$$defense$$vulnerability$$discovery_PaginatedResponse, + "managed-defense-vulnerability-discovery_Repository": managed$$defense$$vulnerability$$discovery_Repository, + "managed-defense-vulnerability-discovery_RepositoryListResponse": managed$$defense$$vulnerability$$discovery_RepositoryListResponse, + "managed-defense-vulnerability-discovery_ResultInfo": managed$$defense$$vulnerability$$discovery_ResultInfo, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/repos`, query: [ - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/outputs.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/outputs.ts index c71dbc889..f944ecb5f 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/outputs.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * `managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResponse` * in responses. */ -export const managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ConsolidatedCuratedReportResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/managed-defense-vulnerability-discovery_SuccessResponse" @@ -32,7 +32,7 @@ export const managed_defense_vulnerability_discovery_ConsolidatedCuratedReportRe * `managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResult` in * responses. */ -export const managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResult_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ConsolidatedCuratedReportResult: JsonSchema = { "properties": { "publication": { "oneOf": [ @@ -80,7 +80,7 @@ export const managed_defense_vulnerability_discovery_ConsolidatedCuratedReportRe * `managed-defense-vulnerability-discovery_ConsolidatedReportRepository` in * responses. */ -export const managed_defense_vulnerability_discovery_ConsolidatedReportRepository_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ConsolidatedReportRepository: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -124,7 +124,7 @@ export const managed_defense_vulnerability_discovery_ConsolidatedReportRepositor * The schema of `managed-defense-vulnerability-discovery_ReportDocumentV2` in * responses. */ -export const managed_defense_vulnerability_discovery_ReportDocumentV2_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ReportDocumentV2: JsonSchema = { "properties": { "executive_summary": { "type": "string" @@ -175,7 +175,7 @@ export const managed_defense_vulnerability_discovery_ReportDocumentV2_output: Js * The schema of `managed-defense-vulnerability-discovery_ScanListResponse` in * responses. */ -export const managed_defense_vulnerability_discovery_ScanListResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ScanListResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/managed-defense-vulnerability-discovery_PaginatedResponse" @@ -201,7 +201,7 @@ export const managed_defense_vulnerability_discovery_ScanListResponse_output: Js * The schema of `managed-defense-vulnerability-discovery_ScanResponse` in * responses. */ -export const managed_defense_vulnerability_discovery_ScanResponse_output: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_ScanResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/managed-defense-vulnerability-discovery_SuccessResponse" diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/schemas.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/schemas.ts index f16fa0af9..ecf6aa356 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/schemas.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `managed-defense-vulnerability-discovery_CreateScan`. */ -export const managed_defense_vulnerability_discovery_CreateScan: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_CreateScan: JsonSchema = { "properties": { "repos": { "description": "Repository names must be unique within a request.", diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts index 9e23430d0..c0b000b2a 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts @@ -1,86 +1,99 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - managed_defense_vulnerability_discovery_CuratedReportPublication_output, - managed_defense_vulnerability_discovery_FailureResponse_output, - managed_defense_vulnerability_discovery_Message_output, - managed_defense_vulnerability_discovery_PaginatedResponse_output, - managed_defense_vulnerability_discovery_ReportErrorPath_output, - managed_defense_vulnerability_discovery_ReportExternalLink_output, - managed_defense_vulnerability_discovery_ReportFinding_output, - managed_defense_vulnerability_discovery_ReportHotPath_output, - managed_defense_vulnerability_discovery_ReportObservedPath_output, - managed_defense_vulnerability_discovery_ReportObservedWafRule_output, - managed_defense_vulnerability_discovery_ReportReachability_output, - managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, - managed_defense_vulnerability_discovery_ReportTraceStep_output, - managed_defense_vulnerability_discovery_ReportTrafficContext_output, - managed_defense_vulnerability_discovery_ReportWafRule_output, - managed_defense_vulnerability_discovery_ReportWafRules_output, - managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, - managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, - managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, - managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, - managed_defense_vulnerability_discovery_RepositoryReport_output, - managed_defense_vulnerability_discovery_ResultInfo_output, - managed_defense_vulnerability_discovery_ScanRepository_output, - managed_defense_vulnerability_discovery_Scan_output, - managed_defense_vulnerability_discovery_SuccessResponse_output, - managed_defense_vulnerability_discovery_TelemetryWindow_output, + managed$$defense$$vulnerability$$discovery_CuratedReportPublication, + managed$$defense$$vulnerability$$discovery_FailureResponse, + managed$$defense$$vulnerability$$discovery_Message, + managed$$defense$$vulnerability$$discovery_PaginatedResponse, + managed$$defense$$vulnerability$$discovery_ReportErrorPath, + managed$$defense$$vulnerability$$discovery_ReportExternalLink, + managed$$defense$$vulnerability$$discovery_ReportFinding, + managed$$defense$$vulnerability$$discovery_ReportHotPath, + managed$$defense$$vulnerability$$discovery_ReportObservedPath, + managed$$defense$$vulnerability$$discovery_ReportObservedWafRule, + managed$$defense$$vulnerability$$discovery_ReportReachability, + managed$$defense$$vulnerability$$discovery_ReportTelemetryTarget, + managed$$defense$$vulnerability$$discovery_ReportTraceStep, + managed$$defense$$vulnerability$$discovery_ReportTrafficContext, + managed$$defense$$vulnerability$$discovery_ReportWafRule, + managed$$defense$$vulnerability$$discovery_ReportWafRules, + managed$$defense$$vulnerability$$discovery_ReportWebAssetsOperation, + managed$$defense$$vulnerability$$discovery_ReportWebAssetsPath, + managed$$defense$$vulnerability$$discovery_ReportWebAssetsPerformance, + managed$$defense$$vulnerability$$discovery_ReportWebAssetsRisk, + managed$$defense$$vulnerability$$discovery_RepositoryReport, + managed$$defense$$vulnerability$$discovery_ResultInfo, + managed$$defense$$vulnerability$$discovery_Scan, + managed$$defense$$vulnerability$$discovery_ScanRepository, + managed$$defense$$vulnerability$$discovery_SuccessResponse, + managed$$defense$$vulnerability$$discovery_TelemetryWindow, } from "../outputs.js"; -import { managed_defense_vulnerability_discovery_TelemetryWindow } from "../schemas.js"; +import { managed$$defense$$vulnerability$$discovery_TelemetryWindow as managed$$defense$$vulnerability$$discovery_TelemetryWindow$ } from "../schemas.js"; import { - managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResponse_output, - managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResult_output, - managed_defense_vulnerability_discovery_ConsolidatedReportRepository_output, - managed_defense_vulnerability_discovery_ReportDocumentV2_output, - managed_defense_vulnerability_discovery_ScanListResponse_output, - managed_defense_vulnerability_discovery_ScanResponse_output, + managed$$defense$$vulnerability$$discovery_ConsolidatedCuratedReportResponse, + managed$$defense$$vulnerability$$discovery_ConsolidatedCuratedReportResult, + managed$$defense$$vulnerability$$discovery_ConsolidatedReportRepository, + managed$$defense$$vulnerability$$discovery_ReportDocumentV2, + managed$$defense$$vulnerability$$discovery_ScanListResponse, + managed$$defense$$vulnerability$$discovery_ScanResponse, } from "./outputs.js"; -import { managed_defense_vulnerability_discovery_CreateScan } from "./schemas.js"; +import { managed$$defense$$vulnerability$$discovery_CreateScan } from "./schemas.js"; /** - * The tools of `managed_defense.vulnerability_discovery.scans`. + * The tools of `managedDefense.vulnerabilityDiscovery.scans`. */ export const tools: readonly Tool[] = [ { - name: "managed_defense_vulnerability_discovery_scans_create", + name: "managedDefense_vulnerabilityDiscovery_scans_create", title: "Create scan", description: "Submits repository intent for operator review. This endpoint does not immediately start execution. Worker-imported repositories must be ready; explicit repository host scopes must be authorized and explicit branch selections must exist before the request is persisted.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreateScan" }, - "idempotency_key": { - "description": "Optional. Supply this header to safely retry a request. Required when `worker_script_name` is supplied.", - "type": "string" + "headers": { + "properties": { + "Idempotency-Key": { + "description": "Optional. Supply this header to safely retry a request. Required when `worker_script_name` is supplied.", + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "managed-defense-vulnerability-discovery_CreateScan": managed_defense_vulnerability_discovery_CreateScan, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow, + "managed-defense-vulnerability-discovery_CreateScan": managed$$defense$$vulnerability$$discovery_CreateScan, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow$, }, }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_ScanResponse", $defs: { - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, - "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, - "managed-defense-vulnerability-discovery_ScanResponse": managed_defense_vulnerability_discovery_ScanResponse_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_Scan": managed$$defense$$vulnerability$$discovery_Scan, + "managed-defense-vulnerability-discovery_ScanRepository": managed$$defense$$vulnerability$$discovery_ScanRepository, + "managed-defense-vulnerability-discovery_ScanResponse": managed$$defense$$vulnerability$$discovery_ScanResponse, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, annotations: { @@ -112,52 +125,60 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, - "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, - "managed-defense-vulnerability-discovery_ScanResponse": managed_defense_vulnerability_discovery_ScanResponse_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_FailureResponse": managed$$defense$$vulnerability$$discovery_FailureResponse, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_Scan": managed$$defense$$vulnerability$$discovery_Scan, + "managed-defense-vulnerability-discovery_ScanRepository": managed$$defense$$vulnerability$$discovery_ScanRepository, + "managed-defense-vulnerability-discovery_ScanResponse": managed$$defense$$vulnerability$$discovery_ScanResponse, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/scans`, headers: [ - ["Idempotency-Key", args["idempotency_key"]], + ["Idempotency-Key", param(args, "headers", "Idempotency-Key")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "managed_defense_vulnerability_discovery_scans_get", + name: "managedDefense_vulnerabilityDiscovery_scans_get", title: "Get scan", description: "Gets one customer-requested scan across its review and execution lifecycle.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "scan_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "scan_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "scan_id" + ], + "type": "object" } }, required: [ - "account_id", - "scan_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_ScanResponse", $defs: { - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, - "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, - "managed-defense-vulnerability-discovery_ScanResponse": managed_defense_vulnerability_discovery_ScanResponse_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_Scan": managed$$defense$$vulnerability$$discovery_Scan, + "managed-defense-vulnerability-discovery_ScanRepository": managed$$defense$$vulnerability$$discovery_ScanRepository, + "managed-defense-vulnerability-discovery_ScanResponse": managed$$defense$$vulnerability$$discovery_ScanResponse, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, annotations: { @@ -183,13 +204,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, - "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, - "managed-defense-vulnerability-discovery_ScanResponse": managed_defense_vulnerability_discovery_ScanResponse_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_FailureResponse": managed$$defense$$vulnerability$$discovery_FailureResponse, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_Scan": managed$$defense$$vulnerability$$discovery_Scan, + "managed-defense-vulnerability-discovery_ScanRepository": managed$$defense$$vulnerability$$discovery_ScanRepository, + "managed-defense-vulnerability-discovery_ScanResponse": managed$$defense$$vulnerability$$discovery_ScanResponse, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, request: (args) => ({ @@ -197,53 +218,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "managed_defense_vulnerability_discovery_scans_get_report", + name: "managedDefense_vulnerabilityDiscovery_scans_getReport", title: "Get reviewed vulnerability report", description: "Gets the active operator-reviewed scan report. Repository metadata records report readiness even when no publication is available.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "scan_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "scan_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "scan_id" + ], + "type": "object" } }, required: [ - "account_id", - "scan_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResponse", $defs: { - "managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResponse": managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResponse_output, - "managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResult": managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResult_output, - "managed-defense-vulnerability-discovery_ConsolidatedReportRepository": managed_defense_vulnerability_discovery_ConsolidatedReportRepository_output, - "managed-defense-vulnerability-discovery_CuratedReportPublication": managed_defense_vulnerability_discovery_CuratedReportPublication_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_ReportDocumentV2": managed_defense_vulnerability_discovery_ReportDocumentV2_output, - "managed-defense-vulnerability-discovery_ReportErrorPath": managed_defense_vulnerability_discovery_ReportErrorPath_output, - "managed-defense-vulnerability-discovery_ReportExternalLink": managed_defense_vulnerability_discovery_ReportExternalLink_output, - "managed-defense-vulnerability-discovery_ReportFinding": managed_defense_vulnerability_discovery_ReportFinding_output, - "managed-defense-vulnerability-discovery_ReportHotPath": managed_defense_vulnerability_discovery_ReportHotPath_output, - "managed-defense-vulnerability-discovery_ReportObservedPath": managed_defense_vulnerability_discovery_ReportObservedPath_output, - "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed_defense_vulnerability_discovery_ReportObservedWafRule_output, - "managed-defense-vulnerability-discovery_ReportReachability": managed_defense_vulnerability_discovery_ReportReachability_output, - "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, - "managed-defense-vulnerability-discovery_ReportTraceStep": managed_defense_vulnerability_discovery_ReportTraceStep_output, - "managed-defense-vulnerability-discovery_ReportTrafficContext": managed_defense_vulnerability_discovery_ReportTrafficContext_output, - "managed-defense-vulnerability-discovery_ReportWafRule": managed_defense_vulnerability_discovery_ReportWafRule_output, - "managed-defense-vulnerability-discovery_ReportWafRules": managed_defense_vulnerability_discovery_ReportWafRules_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, - "managed-defense-vulnerability-discovery_RepositoryReport": managed_defense_vulnerability_discovery_RepositoryReport_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResponse": managed$$defense$$vulnerability$$discovery_ConsolidatedCuratedReportResponse, + "managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResult": managed$$defense$$vulnerability$$discovery_ConsolidatedCuratedReportResult, + "managed-defense-vulnerability-discovery_ConsolidatedReportRepository": managed$$defense$$vulnerability$$discovery_ConsolidatedReportRepository, + "managed-defense-vulnerability-discovery_CuratedReportPublication": managed$$defense$$vulnerability$$discovery_CuratedReportPublication, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_ReportDocumentV2": managed$$defense$$vulnerability$$discovery_ReportDocumentV2, + "managed-defense-vulnerability-discovery_ReportErrorPath": managed$$defense$$vulnerability$$discovery_ReportErrorPath, + "managed-defense-vulnerability-discovery_ReportExternalLink": managed$$defense$$vulnerability$$discovery_ReportExternalLink, + "managed-defense-vulnerability-discovery_ReportFinding": managed$$defense$$vulnerability$$discovery_ReportFinding, + "managed-defense-vulnerability-discovery_ReportHotPath": managed$$defense$$vulnerability$$discovery_ReportHotPath, + "managed-defense-vulnerability-discovery_ReportObservedPath": managed$$defense$$vulnerability$$discovery_ReportObservedPath, + "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed$$defense$$vulnerability$$discovery_ReportObservedWafRule, + "managed-defense-vulnerability-discovery_ReportReachability": managed$$defense$$vulnerability$$discovery_ReportReachability, + "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed$$defense$$vulnerability$$discovery_ReportTelemetryTarget, + "managed-defense-vulnerability-discovery_ReportTraceStep": managed$$defense$$vulnerability$$discovery_ReportTraceStep, + "managed-defense-vulnerability-discovery_ReportTrafficContext": managed$$defense$$vulnerability$$discovery_ReportTrafficContext, + "managed-defense-vulnerability-discovery_ReportWafRule": managed$$defense$$vulnerability$$discovery_ReportWafRule, + "managed-defense-vulnerability-discovery_ReportWafRules": managed$$defense$$vulnerability$$discovery_ReportWafRules, + "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed$$defense$$vulnerability$$discovery_ReportWebAssetsOperation, + "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed$$defense$$vulnerability$$discovery_ReportWebAssetsPath, + "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed$$defense$$vulnerability$$discovery_ReportWebAssetsPerformance, + "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed$$defense$$vulnerability$$discovery_ReportWebAssetsRisk, + "managed-defense-vulnerability-discovery_RepositoryReport": managed$$defense$$vulnerability$$discovery_RepositoryReport, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, annotations: { @@ -275,32 +304,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResponse": managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResponse_output, - "managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResult": managed_defense_vulnerability_discovery_ConsolidatedCuratedReportResult_output, - "managed-defense-vulnerability-discovery_ConsolidatedReportRepository": managed_defense_vulnerability_discovery_ConsolidatedReportRepository_output, - "managed-defense-vulnerability-discovery_CuratedReportPublication": managed_defense_vulnerability_discovery_CuratedReportPublication_output, - "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_ReportDocumentV2": managed_defense_vulnerability_discovery_ReportDocumentV2_output, - "managed-defense-vulnerability-discovery_ReportErrorPath": managed_defense_vulnerability_discovery_ReportErrorPath_output, - "managed-defense-vulnerability-discovery_ReportExternalLink": managed_defense_vulnerability_discovery_ReportExternalLink_output, - "managed-defense-vulnerability-discovery_ReportFinding": managed_defense_vulnerability_discovery_ReportFinding_output, - "managed-defense-vulnerability-discovery_ReportHotPath": managed_defense_vulnerability_discovery_ReportHotPath_output, - "managed-defense-vulnerability-discovery_ReportObservedPath": managed_defense_vulnerability_discovery_ReportObservedPath_output, - "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed_defense_vulnerability_discovery_ReportObservedWafRule_output, - "managed-defense-vulnerability-discovery_ReportReachability": managed_defense_vulnerability_discovery_ReportReachability_output, - "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed_defense_vulnerability_discovery_ReportTelemetryTarget_output, - "managed-defense-vulnerability-discovery_ReportTraceStep": managed_defense_vulnerability_discovery_ReportTraceStep_output, - "managed-defense-vulnerability-discovery_ReportTrafficContext": managed_defense_vulnerability_discovery_ReportTrafficContext_output, - "managed-defense-vulnerability-discovery_ReportWafRule": managed_defense_vulnerability_discovery_ReportWafRule_output, - "managed-defense-vulnerability-discovery_ReportWafRules": managed_defense_vulnerability_discovery_ReportWafRules_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed_defense_vulnerability_discovery_ReportWebAssetsOperation_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed_defense_vulnerability_discovery_ReportWebAssetsPath_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed_defense_vulnerability_discovery_ReportWebAssetsPerformance_output, - "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed_defense_vulnerability_discovery_ReportWebAssetsRisk_output, - "managed-defense-vulnerability-discovery_RepositoryReport": managed_defense_vulnerability_discovery_RepositoryReport_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResponse": managed$$defense$$vulnerability$$discovery_ConsolidatedCuratedReportResponse, + "managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResult": managed$$defense$$vulnerability$$discovery_ConsolidatedCuratedReportResult, + "managed-defense-vulnerability-discovery_ConsolidatedReportRepository": managed$$defense$$vulnerability$$discovery_ConsolidatedReportRepository, + "managed-defense-vulnerability-discovery_CuratedReportPublication": managed$$defense$$vulnerability$$discovery_CuratedReportPublication, + "managed-defense-vulnerability-discovery_FailureResponse": managed$$defense$$vulnerability$$discovery_FailureResponse, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_ReportDocumentV2": managed$$defense$$vulnerability$$discovery_ReportDocumentV2, + "managed-defense-vulnerability-discovery_ReportErrorPath": managed$$defense$$vulnerability$$discovery_ReportErrorPath, + "managed-defense-vulnerability-discovery_ReportExternalLink": managed$$defense$$vulnerability$$discovery_ReportExternalLink, + "managed-defense-vulnerability-discovery_ReportFinding": managed$$defense$$vulnerability$$discovery_ReportFinding, + "managed-defense-vulnerability-discovery_ReportHotPath": managed$$defense$$vulnerability$$discovery_ReportHotPath, + "managed-defense-vulnerability-discovery_ReportObservedPath": managed$$defense$$vulnerability$$discovery_ReportObservedPath, + "managed-defense-vulnerability-discovery_ReportObservedWafRule": managed$$defense$$vulnerability$$discovery_ReportObservedWafRule, + "managed-defense-vulnerability-discovery_ReportReachability": managed$$defense$$vulnerability$$discovery_ReportReachability, + "managed-defense-vulnerability-discovery_ReportTelemetryTarget": managed$$defense$$vulnerability$$discovery_ReportTelemetryTarget, + "managed-defense-vulnerability-discovery_ReportTraceStep": managed$$defense$$vulnerability$$discovery_ReportTraceStep, + "managed-defense-vulnerability-discovery_ReportTrafficContext": managed$$defense$$vulnerability$$discovery_ReportTrafficContext, + "managed-defense-vulnerability-discovery_ReportWafRule": managed$$defense$$vulnerability$$discovery_ReportWafRule, + "managed-defense-vulnerability-discovery_ReportWafRules": managed$$defense$$vulnerability$$discovery_ReportWafRules, + "managed-defense-vulnerability-discovery_ReportWebAssetsOperation": managed$$defense$$vulnerability$$discovery_ReportWebAssetsOperation, + "managed-defense-vulnerability-discovery_ReportWebAssetsPath": managed$$defense$$vulnerability$$discovery_ReportWebAssetsPath, + "managed-defense-vulnerability-discovery_ReportWebAssetsPerformance": managed$$defense$$vulnerability$$discovery_ReportWebAssetsPerformance, + "managed-defense-vulnerability-discovery_ReportWebAssetsRisk": managed$$defense$$vulnerability$$discovery_ReportWebAssetsRisk, + "managed-defense-vulnerability-discovery_RepositoryReport": managed$$defense$$vulnerability$$discovery_RepositoryReport, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, request: (args) => ({ @@ -308,74 +337,87 @@ export const tools: readonly Tool[] = [ }), }, { - name: "managed_defense_vulnerability_discovery_scans_list", + name: "managedDefense_vulnerabilityDiscovery_scans_list", title: "List scans", description: "Lists customer-requested scans across review and execution lifecycle states.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "cursor": { - "type": "string" - }, - "limit": { - "default": 50, - "type": "integer" - }, - "repo": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "status": { - "description": "Repeat parameter or provide comma-separated values.", - "oneOf": [ - { - "items": { - "enum": [ - "requested", - "accepted", - "running", - "completed", - "failed", - "rejected", - "cancelled" - ], - "type": "string" - }, - "type": "array" + "query": { + "properties": { + "cursor": { + "type": "string" + }, + "limit": { + "default": 50, + "type": "integer" }, - { - "enum": [ - "requested", - "accepted", - "running", - "completed", - "failed", - "rejected", - "cancelled" - ], + "repo": { + "format": "uuid", "type": "string" + }, + "status": { + "description": "Repeat parameter or provide comma-separated values.", + "oneOf": [ + { + "items": { + "enum": [ + "requested", + "accepted", + "running", + "completed", + "failed", + "rejected", + "cancelled" + ], + "type": "string" + }, + "type": "array" + }, + { + "enum": [ + "requested", + "accepted", + "running", + "completed", + "failed", + "rejected", + "cancelled" + ], + "type": "string" + } + ] } - ] + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_ScanListResponse", $defs: { - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_PaginatedResponse": managed_defense_vulnerability_discovery_PaginatedResponse_output, - "managed-defense-vulnerability-discovery_ResultInfo": managed_defense_vulnerability_discovery_ResultInfo_output, - "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, - "managed-defense-vulnerability-discovery_ScanListResponse": managed_defense_vulnerability_discovery_ScanListResponse_output, - "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_PaginatedResponse": managed$$defense$$vulnerability$$discovery_PaginatedResponse, + "managed-defense-vulnerability-discovery_ResultInfo": managed$$defense$$vulnerability$$discovery_ResultInfo, + "managed-defense-vulnerability-discovery_Scan": managed$$defense$$vulnerability$$discovery_Scan, + "managed-defense-vulnerability-discovery_ScanListResponse": managed$$defense$$vulnerability$$discovery_ScanListResponse, + "managed-defense-vulnerability-discovery_ScanRepository": managed$$defense$$vulnerability$$discovery_ScanRepository, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, annotations: { @@ -401,24 +443,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "managed-defense-vulnerability-discovery_FailureResponse": managed_defense_vulnerability_discovery_FailureResponse_output, - "managed-defense-vulnerability-discovery_Message": managed_defense_vulnerability_discovery_Message_output, - "managed-defense-vulnerability-discovery_PaginatedResponse": managed_defense_vulnerability_discovery_PaginatedResponse_output, - "managed-defense-vulnerability-discovery_ResultInfo": managed_defense_vulnerability_discovery_ResultInfo_output, - "managed-defense-vulnerability-discovery_Scan": managed_defense_vulnerability_discovery_Scan_output, - "managed-defense-vulnerability-discovery_ScanListResponse": managed_defense_vulnerability_discovery_ScanListResponse_output, - "managed-defense-vulnerability-discovery_ScanRepository": managed_defense_vulnerability_discovery_ScanRepository_output, - "managed-defense-vulnerability-discovery_SuccessResponse": managed_defense_vulnerability_discovery_SuccessResponse_output, - "managed-defense-vulnerability-discovery_TelemetryWindow": managed_defense_vulnerability_discovery_TelemetryWindow_output, + "managed-defense-vulnerability-discovery_FailureResponse": managed$$defense$$vulnerability$$discovery_FailureResponse, + "managed-defense-vulnerability-discovery_Message": managed$$defense$$vulnerability$$discovery_Message, + "managed-defense-vulnerability-discovery_PaginatedResponse": managed$$defense$$vulnerability$$discovery_PaginatedResponse, + "managed-defense-vulnerability-discovery_ResultInfo": managed$$defense$$vulnerability$$discovery_ResultInfo, + "managed-defense-vulnerability-discovery_Scan": managed$$defense$$vulnerability$$discovery_Scan, + "managed-defense-vulnerability-discovery_ScanListResponse": managed$$defense$$vulnerability$$discovery_ScanListResponse, + "managed-defense-vulnerability-discovery_ScanRepository": managed$$defense$$vulnerability$$discovery_ScanRepository, + "managed-defense-vulnerability-discovery_SuccessResponse": managed$$defense$$vulnerability$$discovery_SuccessResponse, + "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/managed-defense/vulnerability-discovery/scans`, query: [ - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], - ["status", args["status"], true], - ["repo", args["repo"], true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], + ["status", param(args, "query", "status"), true], + ["repo", param(args, "query", "repo"), true], ], }), }, diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/schemas.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/schemas.ts index b7d04b50e..f49384682 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/schemas.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `managed-defense-vulnerability-discovery_TelemetryWindow`. */ -export const managed_defense_vulnerability_discovery_TelemetryWindow: JsonSchema = { +export const managed$$defense$$vulnerability$$discovery_TelemetryWindow: JsonSchema = { "description": "UTC ISO-8601 interval. Start is inclusive, end is exclusive, and the interval must be positive and at most seven days.", "properties": { "end": { diff --git a/src/generated/forge-mcp/managedTransforms/outputs.ts b/src/generated/forge-mcp/managedTransforms/outputs.ts index 37bcb42df..e20951753 100644 --- a/src/generated/forge-mcp/managedTransforms/outputs.ts +++ b/src/generated/forge-mcp/managedTransforms/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `rulesets_ManagedTransform` in responses. */ -export const rulesets_ManagedTransform_output: JsonSchema = { +export const rulesets_ManagedTransform: JsonSchema = { "properties": { "conflicts_with": { "items": { @@ -43,14 +43,14 @@ export const rulesets_ManagedTransform_output: JsonSchema = { /** * The schema of `rulesets_ManagedTransformId` in responses. */ -export const rulesets_ManagedTransformId_output: JsonSchema = { +export const rulesets_ManagedTransformId: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_ManagedTransforms` in responses. */ -export const rulesets_ManagedTransforms_output: JsonSchema = { +export const rulesets_ManagedTransforms: JsonSchema = { "properties": { "managed_request_headers": { "items": { diff --git a/src/generated/forge-mcp/managedTransforms/tools.ts b/src/generated/forge-mcp/managedTransforms/tools.ts index f9da9ebfb..18fff815c 100644 --- a/src/generated/forge-mcp/managedTransforms/tools.ts +++ b/src/generated/forge-mcp/managedTransforms/tools.ts @@ -3,41 +3,49 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - rulesets_Errors_output, - rulesets_Message_output, - rulesets_Messages_output, - rulesets_Response_output, + rulesets_Errors, + rulesets_Message, + rulesets_Messages, + rulesets_Response, } from "../outputs.js"; import { rulesets_ZoneId } from "../schemas.js"; -import { - rulesets_ManagedTransformId_output, - rulesets_ManagedTransform_output, - rulesets_ManagedTransforms_output, -} from "./outputs.js"; import { rulesets_ManagedTransform, rulesets_ManagedTransformId, + rulesets_ManagedTransforms, +} from "./outputs.js"; +import { + rulesets_ManagedTransform as rulesets_ManagedTransform$, + rulesets_ManagedTransformId as rulesets_ManagedTransformId$, rulesets_ManagedTransformsPatch, } from "./schemas.js"; /** - * The tools of `managed_transforms`. + * The tools of `managedTransforms`. */ export const tools: readonly Tool[] = [ { - name: "managed_transforms_delete", + name: "managedTransforms_delete", title: "Delete Managed Transforms", description: "Disables all Managed Transforms.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/rulesets_ZoneId", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "rulesets_ZoneId": rulesets_ZoneId, @@ -109,10 +117,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, }, }, request: (args) => ({ @@ -120,19 +128,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "managed_transforms_list", + name: "managedTransforms_list", title: "List Managed Transforms", description: "Fetches a list of all Managed Transforms.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/rulesets_ZoneId", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "rulesets_ZoneId": rulesets_ZoneId, @@ -160,13 +176,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ManagedTransform": rulesets_ManagedTransform_output, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId_output, - "rulesets_ManagedTransforms": rulesets_ManagedTransforms_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_ManagedTransform": rulesets_ManagedTransform, + "rulesets_ManagedTransformId": rulesets_ManagedTransformId, + "rulesets_ManagedTransforms": rulesets_ManagedTransforms, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, }, }, annotations: { @@ -277,13 +293,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ManagedTransform": rulesets_ManagedTransform_output, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId_output, - "rulesets_ManagedTransforms": rulesets_ManagedTransforms_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_ManagedTransform": rulesets_ManagedTransform, + "rulesets_ManagedTransformId": rulesets_ManagedTransformId, + "rulesets_ManagedTransforms": rulesets_ManagedTransforms, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, }, }, request: (args) => ({ @@ -291,7 +307,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "managed_transforms_update", + name: "managedTransforms_update", title: "Update Managed Transforms", description: "Updates the status of one or more Managed Transforms.", inputSchema: { @@ -300,18 +316,26 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/rulesets_ManagedTransformsPatch" }, - "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/rulesets_ZoneId", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "rulesets_ManagedTransform": rulesets_ManagedTransform, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId, + "rulesets_ManagedTransform": rulesets_ManagedTransform$, + "rulesets_ManagedTransformId": rulesets_ManagedTransformId$, "rulesets_ManagedTransformsPatch": rulesets_ManagedTransformsPatch, "rulesets_ZoneId": rulesets_ZoneId, }, @@ -338,13 +362,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ManagedTransform": rulesets_ManagedTransform_output, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId_output, - "rulesets_ManagedTransforms": rulesets_ManagedTransforms_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_ManagedTransform": rulesets_ManagedTransform, + "rulesets_ManagedTransformId": rulesets_ManagedTransformId, + "rulesets_ManagedTransforms": rulesets_ManagedTransforms, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, }, }, annotations: { @@ -434,13 +458,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ManagedTransform": rulesets_ManagedTransform_output, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId_output, - "rulesets_ManagedTransforms": rulesets_ManagedTransforms_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_ManagedTransform": rulesets_ManagedTransform, + "rulesets_ManagedTransformId": rulesets_ManagedTransformId, + "rulesets_ManagedTransforms": rulesets_ManagedTransforms, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/mcp/portals/tools.ts b/src/generated/forge-mcp/mcp/portals/tools.ts index eb4c0ad0b..d208e8582 100644 --- a/src/generated/forge-mcp/mcp/portals/tools.ts +++ b/src/generated/forge-mcp/mcp/portals/tools.ts @@ -1,60 +1,73 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `mcp.portals`. */ export const tools: readonly Tool[] = [ { - name: "mcp_portals_account_tool_call_analytics", + name: "mcp_portals_accountToolCallAnalytics", title: "Account-global MCP tool-call timeseries", description: "Returns daily or monthly tool-call counts across the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "aggregate": { - "default": "false", - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "days": { - "description": "Daily trailing-window size; defaults to 7 and is ignored for monthly", - "type": "integer" - }, - "granularity": { - "default": "daily", - "enum": [ - "daily", - "monthly" - ], - "type": "string" - }, - "response_status": { - "default": "success", - "description": "Response status to count; 'all' counts every status", - "enum": [ - "success", - "error", - "cached", - "all" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "tz": { - "default": "utc", - "type": "string" + "query": { + "properties": { + "aggregate": { + "default": "false", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "days": { + "description": "Daily trailing-window size; defaults to 7 and is ignored for monthly", + "type": "integer" + }, + "granularity": { + "default": "daily", + "enum": [ + "daily", + "monthly" + ], + "type": "string" + }, + "response_status": { + "default": "success", + "description": "Response status to count; 'all' counts every status", + "enum": [ + "success", + "error", + "cached", + "all" + ], + "type": "string" + }, + "tz": { + "default": "utc", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -272,11 +285,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/analytics/tool-calls/timeseries`, query: [ - ["granularity", args["granularity"], true], - ["aggregate", args["aggregate"], true], - ["tz", args["tz"], true], - ["days", args["days"], true], - ["response_status", args["response_status"], true], + ["granularity", param(args, "query", "granularity"), true], + ["aggregate", param(args, "query", "aggregate"), true], + ["tz", param(args, "query", "tz"), true], + ["days", param(args, "query", "days"), true], + ["response_status", param(args, "query", "response_status"), true], ], }), }, @@ -287,9 +300,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "allow_code_mode": { @@ -416,10 +426,21 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1155,17 +1176,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "id": { - "description": "Unique identifier for the MCP portal.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier for the MCP portal.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -1367,24 +1396,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "description": "Search by id, name, hostname", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "search": { + "description": "Search by id, name, hostname", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2108,9 +2150,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/portals`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], ], }), }, @@ -2121,17 +2163,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "id": { - "description": "Unique identifier for the MCP portal.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier for the MCP portal.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -2854,57 +2904,70 @@ export const tools: readonly Tool[] = [ }), }, { - name: "mcp_portals_tool_call_analytics", + name: "mcp_portals_toolCallAnalytics", title: "Per-portal MCP tool-call timeseries", description: "Returns daily or monthly tool-call counts for a portal.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "aggregate": { - "default": "false", - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "days": { - "description": "Daily trailing-window size; defaults to 7 and is ignored for monthly", - "type": "integer" - }, - "granularity": { - "default": "daily", - "enum": [ - "daily", - "monthly" - ], - "type": "string" - }, - "portal_id": { - "type": "string" - }, - "response_status": { - "default": "success", - "description": "Response status to count; 'all' counts every status", - "enum": [ - "success", - "error", - "cached", - "all" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "portal_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "portal_id" ], - "type": "string" + "type": "object" }, - "tz": { - "default": "utc", - "type": "string" + "query": { + "properties": { + "aggregate": { + "default": "false", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "days": { + "description": "Daily trailing-window size; defaults to 7 and is ignored for monthly", + "type": "integer" + }, + "granularity": { + "default": "daily", + "enum": [ + "daily", + "monthly" + ], + "type": "string" + }, + "response_status": { + "default": "success", + "description": "Response status to count; 'all' counts every status", + "enum": [ + "success", + "error", + "cached", + "all" + ], + "type": "string" + }, + "tz": { + "default": "utc", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "portal_id" + "path" ], }, outputSchema: { @@ -3122,11 +3185,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/analytics/portals/${pathParam(args, "portal_id")}/tool-calls/timeseries`, query: [ - ["granularity", args["granularity"], true], - ["aggregate", args["aggregate"], true], - ["tz", args["tz"], true], - ["days", args["days"], true], - ["response_status", args["response_status"], true], + ["granularity", param(args, "query", "granularity"), true], + ["aggregate", param(args, "query", "aggregate"), true], + ["tz", param(args, "query", "tz"), true], + ["days", param(args, "query", "days"), true], + ["response_status", param(args, "query", "response_status"), true], ], }), }, @@ -3137,9 +3200,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "allow_code_mode": { @@ -3258,14 +3318,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "id": { - "description": "Unique identifier for the MCP portal.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier for the MCP portal.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/mcp/servers/tools.ts b/src/generated/forge-mcp/mcp/servers/tools.ts index b2814f0f7..d3f5165ff 100644 --- a/src/generated/forge-mcp/mcp/servers/tools.ts +++ b/src/generated/forge-mcp/mcp/servers/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `mcp.servers`. @@ -14,9 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "auth_credentials": { @@ -133,10 +130,21 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -718,17 +726,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "id": { - "description": "Unique identifier for the MCP server.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier for the MCP server.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -1302,24 +1318,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "description": "Search by id, name", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "search": { + "description": "Search by id, name", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1889,9 +1918,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/servers`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], ], }), }, @@ -1902,17 +1931,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "id": { - "description": "Unique identifier for the MCP server.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier for the MCP server.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -2487,17 +2524,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "id": { - "description": "Unique identifier for the MCP server.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier for the MCP server.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -2665,57 +2710,70 @@ export const tools: readonly Tool[] = [ }), }, { - name: "mcp_servers_tool_call_analytics", + name: "mcp_servers_toolCallAnalytics", title: "Per-server MCP tool-call timeseries", description: "Returns daily or monthly tool-call counts for a server.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "aggregate": { - "default": "false", - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "days": { - "description": "Daily trailing-window size; defaults to 7 and is ignored for monthly", - "type": "integer" - }, - "granularity": { - "default": "daily", - "enum": [ - "daily", - "monthly" - ], - "type": "string" - }, - "response_status": { - "default": "success", - "description": "Response status to count; 'all' counts every status", - "enum": [ - "success", - "error", - "cached", - "all" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "server_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "server_id" ], - "type": "string" - }, - "server_id": { - "type": "string" + "type": "object" }, - "tz": { - "default": "utc", - "type": "string" + "query": { + "properties": { + "aggregate": { + "default": "false", + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "days": { + "description": "Daily trailing-window size; defaults to 7 and is ignored for monthly", + "type": "integer" + }, + "granularity": { + "default": "daily", + "enum": [ + "daily", + "monthly" + ], + "type": "string" + }, + "response_status": { + "default": "success", + "description": "Response status to count; 'all' counts every status", + "enum": [ + "success", + "error", + "cached", + "all" + ], + "type": "string" + }, + "tz": { + "default": "utc", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "server_id" + "path" ], }, outputSchema: { @@ -2933,11 +2991,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/ai-controls/mcp/analytics/servers/${pathParam(args, "server_id")}/tool-calls/timeseries`, query: [ - ["granularity", args["granularity"], true], - ["aggregate", args["aggregate"], true], - ["tz", args["tz"], true], - ["days", args["days"], true], - ["response_status", args["response_status"], true], + ["granularity", param(args, "query", "granularity"), true], + ["aggregate", param(args, "query", "aggregate"), true], + ["tz", param(args, "query", "tz"), true], + ["days", param(args, "query", "days"), true], + ["response_status", param(args, "query", "response_status"), true], ], }), }, @@ -2948,9 +3006,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "auth_credentials": { @@ -3045,14 +3100,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "id": { - "description": "Unique identifier for the MCP server.", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "id": { + "description": "Unique identifier for the MCP server.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/media/usage/tools.ts b/src/generated/forge-mcp/media/usage/tools.ts index 1712c34ff..2861b9dda 100644 --- a/src/generated/forge-mcp/media/usage/tools.ts +++ b/src/generated/forge-mcp/media/usage/tools.ts @@ -1,15 +1,15 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - usage_analytics_api_error_output, - usage_analytics_api_message_output, - usage_analytics_error_response_output, - usage_analytics_stream_usage_data_point_output, - usage_analytics_stream_usage_response_output, + usage$$analytics_api_error, + usage$$analytics_api_message, + usage$$analytics_error_response, + usage$$analytics_stream_usage_data_point, + usage$$analytics_stream_usage_response, } from "../../outputs.js"; -import { usage_analytics_identifier } from "../../schemas.js"; +import { usage$$analytics_identifier } from "../../schemas.js"; /** * The tools of `media.usage`. @@ -22,70 +22,83 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/usage-analytics_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" + "type": "object" }, - "account_or_zone_id": { - "$ref": "#/$defs/usage-analytics_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "filters": { - "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.\n", - "type": "string" - }, - "limit": { - "default": 100, - "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.\n", - "type": "integer" - }, - "metrics": { - "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.\n", - "type": "string" - }, - "since": { - "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.\n", - "format": "date-time", - "type": "string" - }, - "time_delta": { - "default": "hour", - "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.\n", - "enum": [ - "hour", - "day", - "week", - "month", - "quarter", - "year" - ], - "type": "string" - }, - "until": { - "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.\n", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "filters": { + "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.\n", + "type": "string" + }, + "limit": { + "default": 100, + "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.\n", + "type": "integer" + }, + "metrics": { + "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.\n", + "type": "string" + }, + "since": { + "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.\n", + "format": "date-time", + "type": "string" + }, + "time_delta": { + "default": "hour", + "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.\n", + "enum": [ + "hour", + "day", + "week", + "month", + "quarter", + "year" + ], + "type": "string" + }, + "until": { + "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.\n", + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "usage-analytics_identifier": usage_analytics_identifier, + "usage-analytics_identifier": usage$$analytics_identifier, }, }, outputSchema: { "$ref": "#/$defs/usage-analytics_stream_usage_response", $defs: { - "usage-analytics_api_error": usage_analytics_api_error_output, - "usage-analytics_api_message": usage_analytics_api_message_output, - "usage-analytics_stream_usage_data_point": usage_analytics_stream_usage_data_point_output, - "usage-analytics_stream_usage_response": usage_analytics_stream_usage_response_output, + "usage-analytics_api_error": usage$$analytics_api_error, + "usage-analytics_api_message": usage$$analytics_api_message, + "usage-analytics_stream_usage_data_point": usage$$analytics_stream_usage_data_point, + "usage-analytics_stream_usage_response": usage$$analytics_stream_usage_response, }, }, annotations: { @@ -118,22 +131,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "usage-analytics_api_error": usage_analytics_api_error_output, - "usage-analytics_api_message": usage_analytics_api_message_output, - "usage-analytics_error_response": usage_analytics_error_response_output, - "usage-analytics_stream_usage_data_point": usage_analytics_stream_usage_data_point_output, - "usage-analytics_stream_usage_response": usage_analytics_stream_usage_response_output, + "usage-analytics_api_error": usage$$analytics_api_error, + "usage-analytics_api_message": usage$$analytics_api_message, + "usage-analytics_error_response": usage$$analytics_error_response, + "usage-analytics_stream_usage_data_point": usage$$analytics_stream_usage_data_point, + "usage-analytics_stream_usage_response": usage$$analytics_stream_usage_response, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/media/usage`, query: [ - ["metrics", args["metrics"], true], - ["since", args["since"], true], - ["until", args["until"], true], - ["time_delta", args["time_delta"], true], - ["limit", args["limit"], true], - ["filters", args["filters"], true], + ["metrics", param(args, "query", "metrics"), true], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], + ["time_delta", param(args, "query", "time_delta"), true], + ["limit", param(args, "query", "limit"), true], + ["filters", param(args, "query", "filters"), true], ], }), }, diff --git a/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts b/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts index 5b60ba2ad..1a6ff8cdb 100644 --- a/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts +++ b/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tunnel_mesh_aws_config` in responses. */ -export const tunnel_mesh_aws_config_output: JsonSchema = { +export const tunnel_mesh_aws_config: JsonSchema = { "properties": { "fnr_id": { "type": "string" @@ -21,7 +21,7 @@ export const tunnel_mesh_aws_config_output: JsonSchema = { /** * The schema of `tunnel_mesh_configuration_response` in responses. */ -export const tunnel_mesh_configuration_response_output: JsonSchema = { +export const tunnel_mesh_configuration_response: JsonSchema = { "properties": { "config": { "oneOf": [ @@ -64,7 +64,7 @@ export const tunnel_mesh_configuration_response_output: JsonSchema = { /** * The schema of `tunnel_mesh_configuration_response_single` in responses. */ -export const tunnel_mesh_configuration_response_single_output: JsonSchema = { +export const tunnel_mesh_configuration_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-single-2" @@ -83,7 +83,7 @@ export const tunnel_mesh_configuration_response_single_output: JsonSchema = { /** * The schema of `tunnel_mesh_ha_mode` in responses. */ -export const tunnel_mesh_ha_mode_output: JsonSchema = { +export const tunnel_mesh_ha_mode: JsonSchema = { "enum": [ "none", "disabled", @@ -96,7 +96,7 @@ export const tunnel_mesh_ha_mode_output: JsonSchema = { /** * The schema of `tunnel_mesh_local_config` in responses. */ -export const tunnel_mesh_local_config_output: JsonSchema = { +export const tunnel_mesh_local_config: JsonSchema = { "properties": { "vips": { "items": { @@ -123,7 +123,7 @@ export const tunnel_mesh_local_config_output: JsonSchema = { /** * The schema of `tunnel_mesh_vip_entry` in responses. */ -export const tunnel_mesh_vip_entry_output: JsonSchema = { +export const tunnel_mesh_vip_entry: JsonSchema = { "properties": { "address": { "type": "string" @@ -138,7 +138,7 @@ export const tunnel_mesh_vip_entry_output: JsonSchema = { /** * The schema of `tunnel_updated_at` in responses. */ -export const tunnel_updated_at_output: JsonSchema = { +export const tunnel_updated_at: JsonSchema = { "oneOf": [ { "format": "date-time", diff --git a/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts b/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts index bf2a3beb2..a153fc40d 100644 --- a/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts @@ -3,28 +3,31 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tunnel_api_response_common_failure_2_output, - tunnel_api_response_single_2_output, - tunnel_created_at_output, - tunnel_messages_2_output, - tunnel_tunnel_id_2_output, + tunnel_api$$response$$common$$failure$$2, + tunnel_api$$response$$single$$2, + tunnel_created_at, + tunnel_messages$$2, + tunnel_tunnel_id$$2, } from "../../../outputs.js"; -import { tunnel_identifier, tunnel_tunnel_id_2 } from "../../../schemas.js"; import { - tunnel_mesh_aws_config_output, - tunnel_mesh_configuration_response_output, - tunnel_mesh_configuration_response_single_output, - tunnel_mesh_ha_mode_output, - tunnel_mesh_local_config_output, - tunnel_mesh_vip_entry_output, - tunnel_updated_at_output, -} from "./outputs.js"; + tunnel_identifier, + tunnel_tunnel_id$$2 as tunnel_tunnel_id$$2$, +} from "../../../schemas.js"; import { tunnel_mesh_aws_config, - tunnel_mesh_configuration_request_body, + tunnel_mesh_configuration_response, + tunnel_mesh_configuration_response_single, tunnel_mesh_ha_mode, tunnel_mesh_local_config, tunnel_mesh_vip_entry, + tunnel_updated_at, +} from "./outputs.js"; +import { + tunnel_mesh_aws_config as tunnel_mesh_aws_config$, + tunnel_mesh_configuration_request_body, + tunnel_mesh_ha_mode as tunnel_mesh_ha_mode$, + tunnel_mesh_local_config as tunnel_mesh_local_config$, + tunnel_mesh_vip_entry as tunnel_mesh_vip_entry$, } from "./schemas.js"; /** @@ -38,38 +41,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_identifier", - "description": "Identifier." - }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_identifier", + "description": "Identifier." + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id-2", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id" + "path" ], $defs: { "tunnel_identifier": tunnel_identifier, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_mesh_configuration_response_single", $defs: { - "tunnel_api-response-single-2": tunnel_api_response_single_2_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_mesh_aws_config": tunnel_mesh_aws_config_output, - "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response_output, - "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single_output, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode_output, - "tunnel_mesh_local_config": tunnel_mesh_local_config_output, - "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry_output, - "tunnel_messages-2": tunnel_messages_2_output, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, - "tunnel_updated_at": tunnel_updated_at_output, + "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, + "tunnel_created_at": tunnel_created_at, + "tunnel_mesh_aws_config": tunnel_mesh_aws_config, + "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response, + "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single, + "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode, + "tunnel_mesh_local_config": tunnel_mesh_local_config, + "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry, + "tunnel_messages-2": tunnel_messages$$2, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, + "tunnel_updated_at": tunnel_updated_at, }, }, annotations: { @@ -99,18 +110,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common-failure-2": tunnel_api_response_common_failure_2_output, - "tunnel_api-response-single-2": tunnel_api_response_single_2_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_mesh_aws_config": tunnel_mesh_aws_config_output, - "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response_output, - "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single_output, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode_output, - "tunnel_mesh_local_config": tunnel_mesh_local_config_output, - "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry_output, - "tunnel_messages-2": tunnel_messages_2_output, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, - "tunnel_updated_at": tunnel_updated_at_output, + "tunnel_api-response-common-failure-2": tunnel_api$$response$$common$$failure$$2, + "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, + "tunnel_created_at": tunnel_created_at, + "tunnel_mesh_aws_config": tunnel_mesh_aws_config, + "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response, + "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single, + "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode, + "tunnel_mesh_local_config": tunnel_mesh_local_config, + "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry, + "tunnel_messages-2": tunnel_messages$$2, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, + "tunnel_updated_at": tunnel_updated_at, }, }, request: (args) => ({ @@ -124,47 +135,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/tunnel_mesh_configuration_request_body" }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_identifier", + "description": "Identifier." + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id-2", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id", + "path", "body" ], $defs: { "tunnel_identifier": tunnel_identifier, - "tunnel_mesh_aws_config": tunnel_mesh_aws_config, + "tunnel_mesh_aws_config": tunnel_mesh_aws_config$, "tunnel_mesh_configuration_request_body": tunnel_mesh_configuration_request_body, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode, - "tunnel_mesh_local_config": tunnel_mesh_local_config, - "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2, + "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode$, + "tunnel_mesh_local_config": tunnel_mesh_local_config$, + "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry$, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_mesh_configuration_response_single", $defs: { - "tunnel_api-response-single-2": tunnel_api_response_single_2_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_mesh_aws_config": tunnel_mesh_aws_config_output, - "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response_output, - "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single_output, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode_output, - "tunnel_mesh_local_config": tunnel_mesh_local_config_output, - "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry_output, - "tunnel_messages-2": tunnel_messages_2_output, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, - "tunnel_updated_at": tunnel_updated_at_output, + "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, + "tunnel_created_at": tunnel_created_at, + "tunnel_mesh_aws_config": tunnel_mesh_aws_config, + "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response, + "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single, + "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode, + "tunnel_mesh_local_config": tunnel_mesh_local_config, + "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry, + "tunnel_messages-2": tunnel_messages$$2, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, + "tunnel_updated_at": tunnel_updated_at, }, }, annotations: { @@ -192,18 +211,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common-failure-2": tunnel_api_response_common_failure_2_output, - "tunnel_api-response-single-2": tunnel_api_response_single_2_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_mesh_aws_config": tunnel_mesh_aws_config_output, - "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response_output, - "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single_output, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode_output, - "tunnel_mesh_local_config": tunnel_mesh_local_config_output, - "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry_output, - "tunnel_messages-2": tunnel_messages_2_output, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, - "tunnel_updated_at": tunnel_updated_at_output, + "tunnel_api-response-common-failure-2": tunnel_api$$response$$common$$failure$$2, + "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, + "tunnel_created_at": tunnel_created_at, + "tunnel_mesh_aws_config": tunnel_mesh_aws_config, + "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response, + "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single, + "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode, + "tunnel_mesh_local_config": tunnel_mesh_local_config, + "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry, + "tunnel_messages-2": tunnel_messages$$2, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, + "tunnel_updated_at": tunnel_updated_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/mesh/nodes/connections/outputs.ts b/src/generated/forge-mcp/mesh/nodes/connections/outputs.ts index 2c169a6fc..11fb355cf 100644 --- a/src/generated/forge-mcp/mesh/nodes/connections/outputs.ts +++ b/src/generated/forge-mcp/mesh/nodes/connections/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `tunnel_tunnel_warp_connector_connections_response` in * responses. */ -export const tunnel_tunnel_warp_connector_connections_response_output: JsonSchema = { +export const tunnel_tunnel_warp_connector_connections_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-collection" diff --git a/src/generated/forge-mcp/mesh/nodes/connections/tools.ts b/src/generated/forge-mcp/mesh/nodes/connections/tools.ts index a910cdc7b..bda1f61b5 100644 --- a/src/generated/forge-mcp/mesh/nodes/connections/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/connections/tools.ts @@ -3,28 +3,28 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tunnel_api_response_collection_output, - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_arch_output, - tunnel_client_id_output, - tunnel_colo_name_output, - tunnel_connection_id_output, - tunnel_features_output, - tunnel_ip_output, - tunnel_messages_output, - tunnel_result_info_output, - tunnel_run_at_output, - tunnel_version_output, + tunnel_api$$response$$collection, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_arch, + tunnel_client_id, + tunnel_colo_name, + tunnel_connection_id, + tunnel_features, + tunnel_ip, + tunnel_messages, + tunnel_result_info, + tunnel_run_at, + tunnel_version, } from "../../../outputs.js"; import { tunnel_account_id, tunnel_tunnel_id } from "../../../schemas.js"; import { - tunnel_ha_status_output, - tunnel_schemas_warp_connector_connection_output, - tunnel_tunnel_warp_connector_client_output, - tunnel_warp_connector_connections_output, + tunnel_ha_status, + tunnel_schemas$$warp$$connector$$connection, + tunnel_tunnel_warp_connector_client, + tunnel_warp_connector_connections, } from "../outputs.js"; -import { tunnel_tunnel_warp_connector_connections_response_output } from "./outputs.js"; +import { tunnel_tunnel_warp_connector_connections_response } from "./outputs.js"; /** * The tools of `mesh.nodes.connections`. @@ -37,18 +37,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "node_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "node_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, @@ -58,23 +66,23 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tunnel_tunnel_warp_connector_connections_response", $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_arch": tunnel_arch_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_features": tunnel_features_output, - "tunnel_ha_status": tunnel_ha_status_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_run_at": tunnel_run_at_output, - "tunnel_schemas-warp-connector-connection": tunnel_schemas_warp_connector_connection_output, - "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client_output, - "tunnel_tunnel_warp_connector_connections_response": tunnel_tunnel_warp_connector_connections_response_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp_connector_connections": tunnel_warp_connector_connections_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_arch": tunnel_arch, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_features": tunnel_features, + "tunnel_ha_status": tunnel_ha_status, + "tunnel_ip": tunnel_ip, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_run_at": tunnel_run_at, + "tunnel_schemas-warp-connector-connection": tunnel_schemas$$warp$$connector$$connection, + "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client, + "tunnel_tunnel_warp_connector_connections_response": tunnel_tunnel_warp_connector_connections_response, + "tunnel_version": tunnel_version, + "tunnel_warp_connector_connections": tunnel_warp_connector_connections, }, }, annotations: { @@ -111,28 +119,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_arch": tunnel_arch_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_features": tunnel_features_output, - "tunnel_ha_status": tunnel_ha_status_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_run_at": tunnel_run_at_output, - "tunnel_schemas-warp-connector-connection": tunnel_schemas_warp_connector_connection_output, - "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client_output, - "tunnel_tunnel_warp_connector_connections_response": tunnel_tunnel_warp_connector_connections_response_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp_connector_connections": tunnel_warp_connector_connections_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_arch": tunnel_arch, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_features": tunnel_features, + "tunnel_ha_status": tunnel_ha_status, + "tunnel_ip": tunnel_ip, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_run_at": tunnel_run_at, + "tunnel_schemas-warp-connector-connection": tunnel_schemas$$warp$$connector$$connection, + "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client, + "tunnel_tunnel_warp_connector_connections_response": tunnel_tunnel_warp_connector_connections_response, + "tunnel_version": tunnel_version, + "tunnel_warp_connector_connections": tunnel_warp_connector_connections, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}/connections`, + path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "tunnel_id")}/connections`, }), }, ]; diff --git a/src/generated/forge-mcp/mesh/nodes/connectors/outputs.ts b/src/generated/forge-mcp/mesh/nodes/connectors/outputs.ts index 3d13f69ca..fe7cec092 100644 --- a/src/generated/forge-mcp/mesh/nodes/connectors/outputs.ts +++ b/src/generated/forge-mcp/mesh/nodes/connectors/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tunnel_tunnel_warp_connector_client_response` in responses. */ -export const tunnel_tunnel_warp_connector_client_response_output: JsonSchema = { +export const tunnel_tunnel_warp_connector_client_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" diff --git a/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts b/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts index 246d3ae17..1cb233224 100644 --- a/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts @@ -3,30 +3,30 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_arch_output, - tunnel_client_id_output, - tunnel_colo_name_output, - tunnel_connection_id_output, - tunnel_features_output, - tunnel_ip_output, - tunnel_messages_output, - tunnel_run_at_output, - tunnel_version_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_arch, + tunnel_client_id, + tunnel_colo_name, + tunnel_connection_id, + tunnel_features, + tunnel_ip, + tunnel_messages, + tunnel_run_at, + tunnel_version, } from "../../../outputs.js"; import { tunnel_account_id, - tunnel_client_id, + tunnel_client_id as tunnel_client_id$, tunnel_tunnel_id, } from "../../../schemas.js"; import { - tunnel_ha_status_output, - tunnel_schemas_warp_connector_connection_output, - tunnel_tunnel_warp_connector_client_output, - tunnel_warp_connector_connections_output, + tunnel_ha_status, + tunnel_schemas$$warp$$connector$$connection, + tunnel_tunnel_warp_connector_client, + tunnel_warp_connector_connections, } from "../outputs.js"; -import { tunnel_tunnel_warp_connector_client_response_output } from "./outputs.js"; +import { tunnel_tunnel_warp_connector_client_response } from "./outputs.js"; /** * The tools of `mesh.nodes.connectors`. @@ -39,48 +39,56 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "connector_id": { - "$ref": "#/$defs/tunnel_client_id", - "description": "UUID of the Cloudflare Tunnel connector." - }, - "node_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "connector_id": { + "$ref": "#/$defs/tunnel_client_id", + "description": "UUID of the Cloudflare Tunnel connector." + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id", + "connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "node_id", - "connector_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_client_id": tunnel_client_id, + "tunnel_client_id": tunnel_client_id$, "tunnel_tunnel_id": tunnel_tunnel_id, }, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_warp_connector_client_response", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_arch": tunnel_arch_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_features": tunnel_features_output, - "tunnel_ha_status": tunnel_ha_status_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_run_at": tunnel_run_at_output, - "tunnel_schemas-warp-connector-connection": tunnel_schemas_warp_connector_connection_output, - "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client_output, - "tunnel_tunnel_warp_connector_client_response": tunnel_tunnel_warp_connector_client_response_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp_connector_connections": tunnel_warp_connector_connections_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_arch": tunnel_arch, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_features": tunnel_features, + "tunnel_ha_status": tunnel_ha_status, + "tunnel_ip": tunnel_ip, + "tunnel_messages": tunnel_messages, + "tunnel_run_at": tunnel_run_at, + "tunnel_schemas-warp-connector-connection": tunnel_schemas$$warp$$connector$$connection, + "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client, + "tunnel_tunnel_warp_connector_client_response": tunnel_tunnel_warp_connector_client_response, + "tunnel_version": tunnel_version, + "tunnel_warp_connector_connections": tunnel_warp_connector_connections, }, }, annotations: { @@ -117,26 +125,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_arch": tunnel_arch_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_features": tunnel_features_output, - "tunnel_ha_status": tunnel_ha_status_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_run_at": tunnel_run_at_output, - "tunnel_schemas-warp-connector-connection": tunnel_schemas_warp_connector_connection_output, - "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client_output, - "tunnel_tunnel_warp_connector_client_response": tunnel_tunnel_warp_connector_client_response_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp_connector_connections": tunnel_warp_connector_connections_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_arch": tunnel_arch, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_features": tunnel_features, + "tunnel_ha_status": tunnel_ha_status, + "tunnel_ip": tunnel_ip, + "tunnel_messages": tunnel_messages, + "tunnel_run_at": tunnel_run_at, + "tunnel_schemas-warp-connector-connection": tunnel_schemas$$warp$$connector$$connection, + "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client, + "tunnel_tunnel_warp_connector_client_response": tunnel_tunnel_warp_connector_client_response, + "tunnel_version": tunnel_version, + "tunnel_warp_connector_connections": tunnel_warp_connector_connections, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}/connectors/${pathParam(args, "connector_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "tunnel_id")}/connectors/${pathParam(args, "connector_id")}`, }), }, ]; diff --git a/src/generated/forge-mcp/mesh/nodes/outputs.ts b/src/generated/forge-mcp/mesh/nodes/outputs.ts index 339f6b802..9dba952d0 100644 --- a/src/generated/forge-mcp/mesh/nodes/outputs.ts +++ b/src/generated/forge-mcp/mesh/nodes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tunnel_ha_status` in responses. */ -export const tunnel_ha_status_output: JsonSchema = { +export const tunnel_ha_status: JsonSchema = { "enum": [ "offline", "passive", @@ -18,7 +18,7 @@ export const tunnel_ha_status_output: JsonSchema = { /** * The schema of `tunnel_schemas-warp-connector-connection` in responses. */ -export const tunnel_schemas_warp_connector_connection_output: JsonSchema = { +export const tunnel_schemas$$warp$$connector$$connection: JsonSchema = { "properties": { "client_id": { "$ref": "#/$defs/tunnel_client_id" @@ -46,7 +46,7 @@ export const tunnel_schemas_warp_connector_connection_output: JsonSchema = { /** * The schema of `tunnel_tunnel_warp_connector_client` in responses. */ -export const tunnel_tunnel_warp_connector_client_output: JsonSchema = { +export const tunnel_tunnel_warp_connector_client: JsonSchema = { "properties": { "arch": { "$ref": "#/$defs/tunnel_arch" @@ -76,7 +76,7 @@ export const tunnel_tunnel_warp_connector_client_output: JsonSchema = { /** * The schema of `tunnel_warp-connector-response-collection` in responses. */ -export const tunnel_warp_connector_response_collection_output: JsonSchema = { +export const tunnel_warp$$connector$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-collection" @@ -98,7 +98,7 @@ export const tunnel_warp_connector_response_collection_output: JsonSchema = { /** * The schema of `tunnel_warp-connector-response-single` in responses. */ -export const tunnel_warp_connector_response_single_output: JsonSchema = { +export const tunnel_warp$$connector$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" @@ -117,7 +117,7 @@ export const tunnel_warp_connector_response_single_output: JsonSchema = { /** * The schema of `tunnel_warp_connector_connections` in responses. */ -export const tunnel_warp_connector_connections_output: JsonSchema = { +export const tunnel_warp_connector_connections: JsonSchema = { "items": { "$ref": "#/$defs/tunnel_schemas-warp-connector-connection" }, diff --git a/src/generated/forge-mcp/mesh/nodes/token/tools.ts b/src/generated/forge-mcp/mesh/nodes/token/tools.ts index 3b3043ba8..aaeb38274 100644 --- a/src/generated/forge-mcp/mesh/nodes/token/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/token/tools.ts @@ -3,11 +3,11 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_messages_output, - tunnel_tunnel_response_token_output, - tunnel_tunnel_token_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_messages, + tunnel_tunnel_response_token, + tunnel_tunnel_token, } from "../../../outputs.js"; import { tunnel_account_id, tunnel_tunnel_id } from "../../../schemas.js"; @@ -22,18 +22,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "node_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "node_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, @@ -43,10 +51,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tunnel_tunnel_response_token", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_response_token": tunnel_tunnel_response_token_output, - "tunnel_tunnel_token": tunnel_tunnel_token_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_response_token": tunnel_tunnel_response_token, + "tunnel_tunnel_token": tunnel_tunnel_token, }, }, annotations: { @@ -82,15 +90,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_response_token": tunnel_tunnel_response_token_output, - "tunnel_tunnel_token": tunnel_tunnel_token_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_response_token": tunnel_tunnel_response_token, + "tunnel_tunnel_token": tunnel_tunnel_token, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}/token`, + path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "tunnel_id")}/token`, }), }, ]; diff --git a/src/generated/forge-mcp/mesh/nodes/tools.ts b/src/generated/forge-mcp/mesh/nodes/tools.ts index 521948ea2..2fb0cbc0c 100644 --- a/src/generated/forge-mcp/mesh/nodes/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/tools.ts @@ -1,47 +1,47 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tunnel_account_id_output, - tunnel_api_response_collection_output, - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_client_id_output, - tunnel_colo_name_output, - tunnel_connection_id_output, - tunnel_connections_deprecated_output, - tunnel_conns_active_at_output, - tunnel_conns_inactive_at_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_empty_response_output, - tunnel_ip_output, - tunnel_is_pending_reconnect_output, - tunnel_messages_output, - tunnel_metadata_output, - tunnel_result_info_output, - tunnel_schemas_connection_output, - tunnel_status_output, - tunnel_tunnel_id_output, - tunnel_tunnel_name_output, - tunnel_tunnel_type_output, - tunnel_version_output, - tunnel_warp_connector_tunnel_output, + tunnel_account_id, + tunnel_api$$response$$collection, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_client_id, + tunnel_colo_name, + tunnel_connection_id, + tunnel_connections_deprecated, + tunnel_conns_active_at, + tunnel_conns_inactive_at, + tunnel_created_at, + tunnel_deleted_at, + tunnel_empty_response, + tunnel_ip, + tunnel_is_pending_reconnect, + tunnel_messages, + tunnel_metadata, + tunnel_result_info, + tunnel_schemas$$connection, + tunnel_status, + tunnel_tunnel_id, + tunnel_tunnel_name, + tunnel_tunnel_type, + tunnel_version, + tunnel_warp_connector_tunnel, } from "../../outputs.js"; import { - tunnel_account_id, + tunnel_account_id as tunnel_account_id$, tunnel_existed_at, tunnel_page_number, tunnel_per_page, - tunnel_status, - tunnel_tunnel_id, - tunnel_tunnel_name, + tunnel_status as tunnel_status$, + tunnel_tunnel_id as tunnel_tunnel_id$, + tunnel_tunnel_name as tunnel_tunnel_name$, tunnel_tunnel_secret, } from "../../schemas.js"; import { - tunnel_warp_connector_response_collection_output, - tunnel_warp_connector_response_single_output, + tunnel_warp$$connector$$response$$collection, + tunnel_warp$$connector$$response$$single, } from "./outputs.js"; import { tunnel_client_id_input } from "./schemas.js"; @@ -56,10 +56,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "ha": { @@ -76,42 +72,54 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_account_id": tunnel_account_id$, + "tunnel_tunnel_name": tunnel_tunnel_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-single", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, annotations: { @@ -146,29 +154,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, request: (args) => ({ @@ -183,49 +191,57 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "node_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "node_id" + "path" ], $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_account_id": tunnel_account_id$, + "tunnel_tunnel_id": tunnel_tunnel_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-single", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, annotations: { @@ -260,33 +276,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "tunnel_id")}`, }), }, { @@ -296,10 +312,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "name": { @@ -313,48 +325,60 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "node_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "node_id", + "path", "body" ], $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_account_id": tunnel_account_id$, + "tunnel_tunnel_id": tunnel_tunnel_id$, + "tunnel_tunnel_name": tunnel_tunnel_name$, "tunnel_tunnel_secret": tunnel_tunnel_secret, }, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-single", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, annotations: { @@ -389,33 +413,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "tunnel_id")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, @@ -426,10 +450,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "client_id": { @@ -441,28 +461,40 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "node_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "node_id", + "path", "body" ], $defs: { - "tunnel_account_id": tunnel_account_id, + "tunnel_account_id": tunnel_account_id$, "tunnel_client_id_input": tunnel_client_id_input, - "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_id": tunnel_tunnel_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_empty_response", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_empty_response": tunnel_empty_response_output, - "tunnel_messages": tunnel_messages_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_empty_response": tunnel_empty_response, + "tunnel_messages": tunnel_messages, }, }, annotations: { @@ -497,14 +529,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_empty_response": tunnel_empty_response_output, - "tunnel_messages": tunnel_messages_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_empty_response": tunnel_empty_response, + "tunnel_messages": tunnel_messages, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}/failover`, + path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "tunnel_id")}/failover`, body: { value: args["body"], mediaType: "application/json" }, }), }, @@ -515,49 +547,57 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "node_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "node_id" + "path" ], $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_account_id": tunnel_account_id$, + "tunnel_tunnel_id": tunnel_tunnel_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-single", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, annotations: { @@ -594,33 +634,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-single": tunnel_warp_connector_response_single_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "node_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/warp_connector/${pathParam(args, "tunnel_id")}`, }), }, { @@ -630,93 +670,106 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "exclude_prefix": { - "type": "string" - }, - "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." - }, - "include_prefix": { - "type": "string" - }, - "is_deleted": { - "description": "If `true`, only include deleted tunnels. If `false`, exclude deleted tunnels. If empty, all tunnels will be included.", - "type": "boolean" - }, - "name": { - "description": "A user-friendly name for the tunnel.", - "type": "string" - }, - "page": { - "$ref": "#/$defs/tunnel_page_number", - "default": 1, - "description": "Page number of paginated results." - }, - "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." - }, - "status": { - "$ref": "#/$defs/tunnel_status", - "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge)." - }, - "uuid": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." - }, - "was_active_at": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "was_inactive_at": { - "format": "date-time", - "type": "string" + "query": { + "properties": { + "exclude_prefix": { + "type": "string" + }, + "existed_at": { + "$ref": "#/$defs/tunnel_existed_at", + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + }, + "include_prefix": { + "type": "string" + }, + "is_deleted": { + "description": "If `true`, only include deleted tunnels. If `false`, exclude deleted tunnels. If empty, all tunnels will be included.", + "type": "boolean" + }, + "name": { + "description": "A user-friendly name for the tunnel.", + "type": "string" + }, + "page": { + "$ref": "#/$defs/tunnel_page_number", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "$ref": "#/$defs/tunnel_per_page", + "description": "Number of results to display." + }, + "status": { + "$ref": "#/$defs/tunnel_status", + "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge)." + }, + "uuid": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + }, + "was_active_at": { + "format": "date-time", + "type": "string" + }, + "was_inactive_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "tunnel_account_id": tunnel_account_id, + "tunnel_account_id": tunnel_account_id$, "tunnel_existed_at": tunnel_existed_at, "tunnel_page_number": tunnel_page_number, "tunnel_per_page": tunnel_per_page, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_status": tunnel_status$, + "tunnel_tunnel_id": tunnel_tunnel_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-collection", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-collection": tunnel_warp_connector_response_collection_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_result_info": tunnel_result_info, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-collection": tunnel_warp$$connector$$response$$collection, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, annotations: { @@ -753,47 +806,47 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp-connector-response-collection": tunnel_warp_connector_response_collection_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_result_info": tunnel_result_info, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp-connector-response-collection": tunnel_warp$$connector$$response$$collection, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/warp_connector`, query: [ - ["name", args["name"], true], - ["is_deleted", args["is_deleted"], true], - ["existed_at", args["existed_at"], true], - ["uuid", args["uuid"], true], - ["was_active_at", args["was_active_at"], true], - ["was_inactive_at", args["was_inactive_at"], true], - ["include_prefix", args["include_prefix"], true], - ["exclude_prefix", args["exclude_prefix"], true], - ["status", args["status"], true], - ["per_page", args["per_page"], true], - ["page", args["page"], true], + ["name", param(args, "query", "name"), true], + ["is_deleted", param(args, "query", "is_deleted"), true], + ["existed_at", param(args, "query", "existed_at"), true], + ["uuid", param(args, "query", "uuid"), true], + ["was_active_at", param(args, "query", "was_active_at"), true], + ["was_inactive_at", param(args, "query", "was_inactive_at"), true], + ["include_prefix", param(args, "query", "include_prefix"), true], + ["exclude_prefix", param(args, "query", "exclude_prefix"), true], + ["status", param(args, "query", "status"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], ], }), }, diff --git a/src/generated/forge-mcp/monetization/accountEligibility/outputs.ts b/src/generated/forge-mcp/monetization/accountEligibility/outputs.ts index c30cddbeb..8d565f48f 100644 --- a/src/generated/forge-mcp/monetization/accountEligibility/outputs.ts +++ b/src/generated/forge-mcp/monetization/accountEligibility/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `monetization_monetization-account-eligibility-check-response` * in responses. */ -export const monetization_monetization_account_eligibility_check_response_output: JsonSchema = { +export const monetization_monetization$$account$$eligibility$$check$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/monetization_api-response-common" @@ -29,7 +29,7 @@ export const monetization_monetization_account_eligibility_check_response_output /** * The schema of `monetization_monetization-eligibility-response` in responses. */ -export const monetization_monetization_eligibility_response_output: JsonSchema = { +export const monetization_monetization$$eligibility$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/monetization_api-response-common" @@ -51,7 +51,7 @@ export const monetization_monetization_eligibility_response_output: JsonSchema = /** * The schema of `monetization_monetization-eligibility-result` in responses. */ -export const monetization_monetization_eligibility_result_output: JsonSchema = { +export const monetization_monetization$$eligibility$$result: JsonSchema = { "properties": { "reasons": { "items": { diff --git a/src/generated/forge-mcp/monetization/accountEligibility/schemas.ts b/src/generated/forge-mcp/monetization/accountEligibility/schemas.ts index 136d5174a..1b9c29409 100644 --- a/src/generated/forge-mcp/monetization/accountEligibility/schemas.ts +++ b/src/generated/forge-mcp/monetization/accountEligibility/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `monetization_account-identifier`. */ -export const monetization_account_identifier: JsonSchema = { +export const monetization_account$$identifier: JsonSchema = { "description": "The unique ID of the account.", "type": "string" }; @@ -14,7 +14,7 @@ export const monetization_account_identifier: JsonSchema = { /** * The schema of `monetization_monetization-account-eligibility-check-input`. */ -export const monetization_monetization_account_eligibility_check_input: JsonSchema = { +export const monetization_monetization$$account$$eligibility$$check$$input: JsonSchema = { "properties": { "acceptedTermsOfService": { "description": "Confirms acceptance of the Monetization Gateway terms of service.", diff --git a/src/generated/forge-mcp/monetization/accountEligibility/tools.ts b/src/generated/forge-mcp/monetization/accountEligibility/tools.ts index 681487726..71da3a02d 100644 --- a/src/generated/forge-mcp/monetization/accountEligibility/tools.ts +++ b/src/generated/forge-mcp/monetization/accountEligibility/tools.ts @@ -3,64 +3,72 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - monetization_api_response_common_failure_output, - monetization_api_response_common_output, - monetization_response_info_output, + monetization_api$$response$$common, + monetization_api$$response$$common$$failure, + monetization_response$$info, } from "../outputs.js"; import { - monetization_monetization_account_eligibility_check_response_output, - monetization_monetization_eligibility_response_output, - monetization_monetization_eligibility_result_output, + monetization_monetization$$account$$eligibility$$check$$response, + monetization_monetization$$eligibility$$response, + monetization_monetization$$eligibility$$result, } from "./outputs.js"; import { - monetization_account_identifier, - monetization_monetization_account_eligibility_check_input, + monetization_account$$identifier, + monetization_monetization$$account$$eligibility$$check$$input, } from "./schemas.js"; /** - * The tools of `monetization.account_eligibility`. + * The tools of `monetization.accountEligibility`. */ export const tools: readonly Tool[] = [ { - name: "monetization_account_eligibility_check", + name: "monetization_accountEligibility_check", title: "Check account or zone monetization eligibility", description: "Checks the account or zone for Monetization Gateway eligibility and returns its pending, approved, or rejected decision.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/monetization_account-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/monetization_monetization-account-eligibility-check-input" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/monetization_account-identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "monetization_account-identifier": monetization_account_identifier, - "monetization_monetization-account-eligibility-check-input": monetization_monetization_account_eligibility_check_input, + "monetization_account-identifier": monetization_account$$identifier, + "monetization_monetization-account-eligibility-check-input": monetization_monetization$$account$$eligibility$$check$$input, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-account-eligibility-check-response", $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_monetization-account-eligibility-check-response": monetization_monetization_account_eligibility_check_response_output, - "monetization_monetization-eligibility-result": monetization_monetization_eligibility_result_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_monetization-account-eligibility-check-response": monetization_monetization$$account$$eligibility$$check$$response, + "monetization_monetization-eligibility-result": monetization_monetization$$eligibility$$result, + "monetization_response-info": monetization_response$$info, }, }, annotations: { @@ -88,11 +96,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_api-response-common-failure": monetization_api_response_common_failure_output, - "monetization_monetization-account-eligibility-check-response": monetization_monetization_account_eligibility_check_response_output, - "monetization_monetization-eligibility-result": monetization_monetization_eligibility_result_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, + "monetization_monetization-account-eligibility-check-response": monetization_monetization$$account$$eligibility$$check$$response, + "monetization_monetization-eligibility-result": monetization_monetization$$eligibility$$result, + "monetization_response-info": monetization_response$$info, }, }, request: (args) => ({ @@ -101,40 +109,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "monetization_account_eligibility_get", + name: "monetization_accountEligibility_get", title: "Get account or zone monetization eligibility", description: "Returns the account or zone's latest stored monetization eligibility result.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/monetization_account-identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/monetization_account-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "monetization_account-identifier": monetization_account_identifier, + "monetization_account-identifier": monetization_account$$identifier, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-eligibility-response", $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_monetization-eligibility-response": monetization_monetization_eligibility_response_output, - "monetization_monetization-eligibility-result": monetization_monetization_eligibility_result_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_monetization-eligibility-response": monetization_monetization$$eligibility$$response, + "monetization_monetization-eligibility-result": monetization_monetization$$eligibility$$result, + "monetization_response-info": monetization_response$$info, }, }, annotations: { @@ -165,11 +181,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_api-response-common-failure": monetization_api_response_common_failure_output, - "monetization_monetization-eligibility-response": monetization_monetization_eligibility_response_output, - "monetization_monetization-eligibility-result": monetization_monetization_eligibility_result_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, + "monetization_monetization-eligibility-response": monetization_monetization$$eligibility$$response, + "monetization_monetization-eligibility-result": monetization_monetization$$eligibility$$result, + "monetization_response-info": monetization_response$$info, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/monetization/outputs.ts b/src/generated/forge-mcp/monetization/outputs.ts index 6d3c37b3f..336261d4a 100644 --- a/src/generated/forge-mcp/monetization/outputs.ts +++ b/src/generated/forge-mcp/monetization/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `monetization_api-response-common` in responses. */ -export const monetization_api_response_common_output: JsonSchema = { +export const monetization_api$$response$$common: JsonSchema = { "properties": { "errors": { "items": { @@ -38,7 +38,7 @@ export const monetization_api_response_common_output: JsonSchema = { /** * The schema of `monetization_api-response-common-failure` in responses. */ -export const monetization_api_response_common_failure_output: JsonSchema = { +export const monetization_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "items": { @@ -75,7 +75,7 @@ export const monetization_api_response_common_failure_output: JsonSchema = { /** * The schema of `monetization_response-info` in responses. */ -export const monetization_response_info_output: JsonSchema = { +export const monetization_response$$info: JsonSchema = { "properties": { "code": { "type": "integer" diff --git a/src/generated/forge-mcp/monetization/rules/outputs.ts b/src/generated/forge-mcp/monetization/rules/outputs.ts index 40a2f5be3..d00add304 100644 --- a/src/generated/forge-mcp/monetization/rules/outputs.ts +++ b/src/generated/forge-mcp/monetization/rules/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `monetization_identifier` in responses. */ -export const monetization_identifier_output: JsonSchema = { +export const monetization_identifier: JsonSchema = { "type": "string" }; /** * The schema of `monetization_monetization-price` in responses. */ -export const monetization_monetization_price_output: JsonSchema = { +export const monetization_monetization$$price: JsonSchema = { "type": "string" }; /** * The schema of `monetization_monetization-rule` in responses. */ -export const monetization_monetization_rule_output: JsonSchema = { +export const monetization_monetization$$rule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/monetization_monetization-rule-input" @@ -42,7 +42,7 @@ export const monetization_monetization_rule_output: JsonSchema = { /** * The schema of `monetization_monetization-rule-collection` in responses. */ -export const monetization_monetization_rule_collection_output: JsonSchema = { +export const monetization_monetization$$rule$$collection: JsonSchema = { "properties": { "rules": { "items": { @@ -61,7 +61,7 @@ export const monetization_monetization_rule_collection_output: JsonSchema = { * The schema of `monetization_monetization-rule-collection-response` in * responses. */ -export const monetization_monetization_rule_collection_response_output: JsonSchema = { +export const monetization_monetization$$rule$$collection$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/monetization_api-response-common" @@ -83,7 +83,7 @@ export const monetization_monetization_rule_collection_response_output: JsonSche /** * The schema of `monetization_monetization-rule-input` in responses. */ -export const monetization_monetization_rule_input_output: JsonSchema = { +export const monetization_monetization$$rule$$input: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/monetization_monetization-rule-input-fixed-price" @@ -98,7 +98,7 @@ export const monetization_monetization_rule_input_output: JsonSchema = { * The schema of `monetization_monetization-rule-input-fixed-price` in * responses. */ -export const monetization_monetization_rule_input_fixed_price_output: JsonSchema = { +export const monetization_monetization$$rule$$input$$fixed$$price: JsonSchema = { "properties": { "address": { "type": "string" @@ -139,7 +139,7 @@ export const monetization_monetization_rule_input_fixed_price_output: JsonSchema * The schema of `monetization_monetization-rule-input-origin-controlled` in * responses. */ -export const monetization_monetization_rule_input_origin_controlled_output: JsonSchema = { +export const monetization_monetization$$rule$$input$$origin$$controlled: JsonSchema = { "properties": { "address": { "type": "string" @@ -174,7 +174,7 @@ export const monetization_monetization_rule_input_origin_controlled_output: Json /** * The schema of `monetization_monetization-rule-response` in responses. */ -export const monetization_monetization_rule_response_output: JsonSchema = { +export const monetization_monetization$$rule$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/monetization_api-response-common" diff --git a/src/generated/forge-mcp/monetization/rules/schemas.ts b/src/generated/forge-mcp/monetization/rules/schemas.ts index b87a563d6..68af98631 100644 --- a/src/generated/forge-mcp/monetization/rules/schemas.ts +++ b/src/generated/forge-mcp/monetization/rules/schemas.ts @@ -13,7 +13,7 @@ export const monetization_identifier: JsonSchema = { /** * The schema of `monetization_monetization-price`. */ -export const monetization_monetization_price: JsonSchema = { +export const monetization_monetization$$price: JsonSchema = { "description": "Price in the smallest indivisible unit of the configured payment token, encoded as a decimal string. Must be a canonical decimal integer in [1000, 100000000]: no leading zeros, and a bare JSON number is rejected. The price is required for the fixed-price schemes (\"exact\" and \"upto\") and must be at least 1000, the smallest amount the payment facilitator can settle ($0.001 for a 6-decimal token such as USDC), and at most 100000000 ($100 for a 6-decimal token). When the scheme is \"origin_controlled\" the origin server sets pricing dynamically and the rule carries no price: the field must be omitted — any provided value, including \"0\", is rejected because it would not be enforced. Responses always encode this as a string and omit it for \"origin_controlled\" rules; the pattern matches exactly the set of values the server accepts.", "type": "string" }; @@ -21,7 +21,7 @@ export const monetization_monetization_price: JsonSchema = { /** * The schema of `monetization_monetization-rule-input`. */ -export const monetization_monetization_rule_input: JsonSchema = { +export const monetization_monetization$$rule$$input: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/monetization_monetization-rule-input-fixed-price" @@ -35,7 +35,7 @@ export const monetization_monetization_rule_input: JsonSchema = { /** * The schema of `monetization_monetization-rule-input-fixed-price`. */ -export const monetization_monetization_rule_input_fixed_price: JsonSchema = { +export const monetization_monetization$$rule$$input$$fixed$$price: JsonSchema = { "description": "Payment rule with a fixed price set at configuration time.", "properties": { "address": { @@ -82,7 +82,7 @@ export const monetization_monetization_rule_input_fixed_price: JsonSchema = { /** * The schema of `monetization_monetization-rule-input-origin-controlled`. */ -export const monetization_monetization_rule_input_origin_controlled: JsonSchema = { +export const monetization_monetization$$rule$$input$$origin$$controlled: JsonSchema = { "description": "Payment rule whose price the origin server sets dynamically. The rule carries no price and the price field must be omitted — any provided value, including \"0\", is rejected because it would not be enforced.", "properties": { "address": { @@ -123,7 +123,7 @@ export const monetization_monetization_rule_input_origin_controlled: JsonSchema /** * The schema of `monetization_monetization-rule-patch`. */ -export const monetization_monetization_rule_patch: JsonSchema = { +export const monetization_monetization$$rule$$patch: JsonSchema = { "description": "Partial update to a single payment rule. Only the fields present are modified; omitted fields keep their existing values.", "properties": { "address": { @@ -155,7 +155,7 @@ export const monetization_monetization_rule_patch: JsonSchema = { /** * The schema of `monetization_monetization-ruleset-input`. */ -export const monetization_monetization_ruleset_input: JsonSchema = { +export const monetization_monetization$$ruleset$$input: JsonSchema = { "properties": { "rules": { "description": "Full desired Payment Required ruleset. An empty array clears all payment rules. The ruleset may contain at most 40 unique wallet addresses; address comparison is case-insensitive. Every address must pass wallet screening before deployment.", @@ -174,7 +174,7 @@ export const monetization_monetization_ruleset_input: JsonSchema = { /** * The schema of `monetization_monetization-scheme`. */ -export const monetization_monetization_scheme: JsonSchema = { +export const monetization_monetization$$scheme: JsonSchema = { "description": "X402 payment scheme. \"exact\" requires the specified payment amount; \"upto\" permits a payment up to the specified amount; \"origin_controlled\" lets the origin server set pricing dynamically, in which case the rule carries no price and the price field must be omitted.", "enum": [ "exact", @@ -187,7 +187,7 @@ export const monetization_monetization_scheme: JsonSchema = { /** * The schema of `monetization_zone-identifier`. */ -export const monetization_zone_identifier: JsonSchema = { +export const monetization_zone$$identifier: JsonSchema = { "description": "The unique ID of the zone.", "type": "string" }; diff --git a/src/generated/forge-mcp/monetization/rules/tools.ts b/src/generated/forge-mcp/monetization/rules/tools.ts index 5249ed1e5..d4dd21165 100644 --- a/src/generated/forge-mcp/monetization/rules/tools.ts +++ b/src/generated/forge-mcp/monetization/rules/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - monetization_api_response_common_failure_output, - monetization_api_response_common_output, - monetization_response_info_output, + monetization_api$$response$$common, + monetization_api$$response$$common$$failure, + monetization_response$$info, } from "../outputs.js"; import { - monetization_identifier_output, - monetization_monetization_price_output, - monetization_monetization_rule_collection_output, - monetization_monetization_rule_collection_response_output, - monetization_monetization_rule_input_fixed_price_output, - monetization_monetization_rule_input_origin_controlled_output, - monetization_monetization_rule_input_output, - monetization_monetization_rule_output, - monetization_monetization_rule_response_output, + monetization_identifier, + monetization_monetization$$price, + monetization_monetization$$rule, + monetization_monetization$$rule$$collection, + monetization_monetization$$rule$$collection$$response, + monetization_monetization$$rule$$input, + monetization_monetization$$rule$$input$$fixed$$price, + monetization_monetization$$rule$$input$$origin$$controlled, + monetization_monetization$$rule$$response, } from "./outputs.js"; import { - monetization_identifier, - monetization_monetization_price, - monetization_monetization_rule_input, - monetization_monetization_rule_input_fixed_price, - monetization_monetization_rule_input_origin_controlled, - monetization_monetization_rule_patch, - monetization_monetization_ruleset_input, - monetization_monetization_scheme, - monetization_zone_identifier, + monetization_identifier as monetization_identifier$, + monetization_monetization$$price as monetization_monetization$$price$, + monetization_monetization$$rule$$input as monetization_monetization$$rule$$input$, + monetization_monetization$$rule$$input$$fixed$$price as monetization_monetization$$rule$$input$$fixed$$price$, + monetization_monetization$$rule$$input$$origin$$controlled as monetization_monetization$$rule$$input$$origin$$controlled$, + monetization_monetization$$rule$$patch, + monetization_monetization$$ruleset$$input, + monetization_monetization$$scheme, + monetization_zone$$identifier, } from "./schemas.js"; /** @@ -41,37 +41,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "rule_id": { - "$ref": "#/$defs/monetization_identifier", - "description": "The unique ID of the payment rule." - }, - "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/monetization_identifier", + "description": "The unique ID of the payment rule." + }, + "zone_id": { + "$ref": "#/$defs/monetization_zone-identifier", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id", + "rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "rule_id" + "path" ], $defs: { - "monetization_identifier": monetization_identifier, - "monetization_zone-identifier": monetization_zone_identifier, + "monetization_identifier": monetization_identifier$, + "monetization_zone-identifier": monetization_zone$$identifier, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, annotations: { @@ -102,17 +110,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_api-response-common-failure": monetization_api_response_common_failure_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, request: (args) => ({ @@ -120,37 +128,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "monetization_rules_delete_all", + name: "monetization_rules_deleteAll", title: "Delete all payment rules", description: "Removes every Payment Required rule from the zone. Any rules the service does not own are preserved. Deleting a zone with no payment rules is a no-op. Returns the resulting (empty) rule collection.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes every Monetization Gateway rule for the zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/monetization_zone-identifier", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "monetization_zone-identifier": monetization_zone_identifier, + "monetization_zone-identifier": monetization_zone$$identifier, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, annotations: { @@ -178,17 +194,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_api-response-common-failure": monetization_api_response_common_failure_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, request: (args) => ({ @@ -205,41 +221,49 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/monetization_monetization-rule-patch" }, - "rule_id": { - "$ref": "#/$defs/monetization_identifier", - "description": "The unique ID of the payment rule." - }, - "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/monetization_identifier", + "description": "The unique ID of the payment rule." + }, + "zone_id": { + "$ref": "#/$defs/monetization_zone-identifier", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id", + "rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "rule_id", + "path", "body" ], $defs: { - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization_price, - "monetization_monetization-rule-patch": monetization_monetization_rule_patch, - "monetization_monetization-scheme": monetization_monetization_scheme, - "monetization_zone-identifier": monetization_zone_identifier, + "monetization_identifier": monetization_identifier$, + "monetization_monetization-price": monetization_monetization$$price$, + "monetization_monetization-rule-patch": monetization_monetization$$rule$$patch, + "monetization_monetization-scheme": monetization_monetization$$scheme, + "monetization_zone-identifier": monetization_zone$$identifier, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, annotations: { @@ -273,17 +297,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_api-response-common-failure": monetization_api_response_common_failure_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, request: (args) => ({ @@ -298,36 +322,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "rule_id": { - "$ref": "#/$defs/monetization_identifier", - "description": "The unique ID of the payment rule." - }, - "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/monetization_identifier", + "description": "The unique ID of the payment rule." + }, + "zone_id": { + "$ref": "#/$defs/monetization_zone-identifier", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id", + "rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "rule_id" + "path" ], $defs: { - "monetization_identifier": monetization_identifier, - "monetization_zone-identifier": monetization_zone_identifier, + "monetization_identifier": monetization_identifier$, + "monetization_zone-identifier": monetization_zone$$identifier, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-response", $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_monetization-rule-response": monetization_monetization_rule_response_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_monetization-rule-response": monetization_monetization$$rule$$response, + "monetization_response-info": monetization_response$$info, }, }, annotations: { @@ -358,16 +390,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_api-response-common-failure": monetization_api_response_common_failure_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_monetization-rule-response": monetization_monetization_rule_response_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_monetization-rule-response": monetization_monetization$$rule$$response, + "monetization_response-info": monetization_response$$info, }, }, request: (args) => ({ @@ -381,31 +413,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/monetization_zone-identifier", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "monetization_zone-identifier": monetization_zone_identifier, + "monetization_zone-identifier": monetization_zone$$identifier, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, annotations: { @@ -436,17 +476,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_api-response-common-failure": monetization_api_response_common_failure_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, request: (args) => ({ @@ -463,38 +503,46 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/monetization_monetization-ruleset-input" }, - "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/monetization_zone-identifier", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization_price, - "monetization_monetization-rule-input": monetization_monetization_rule_input, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled, - "monetization_monetization-ruleset-input": monetization_monetization_ruleset_input, - "monetization_zone-identifier": monetization_zone_identifier, + "monetization_identifier": monetization_identifier$, + "monetization_monetization-price": monetization_monetization$$price$, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input$, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price$, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled$, + "monetization_monetization-ruleset-input": monetization_monetization$$ruleset$$input, + "monetization_zone-identifier": monetization_zone$$identifier, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, annotations: { @@ -525,17 +573,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "monetization_api-response-common": monetization_api_response_common_output, - "monetization_api-response-common-failure": monetization_api_response_common_failure_output, - "monetization_identifier": monetization_identifier_output, - "monetization_monetization-price": monetization_monetization_price_output, - "monetization_monetization-rule": monetization_monetization_rule_output, - "monetization_monetization-rule-collection": monetization_monetization_rule_collection_output, - "monetization_monetization-rule-collection-response": monetization_monetization_rule_collection_response_output, - "monetization_monetization-rule-input": monetization_monetization_rule_input_output, - "monetization_monetization-rule-input-fixed-price": monetization_monetization_rule_input_fixed_price_output, - "monetization_monetization-rule-input-origin-controlled": monetization_monetization_rule_input_origin_controlled_output, - "monetization_response-info": monetization_response_info_output, + "monetization_api-response-common": monetization_api$$response$$common, + "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, + "monetization_identifier": monetization_identifier, + "monetization_monetization-price": monetization_monetization$$price, + "monetization_monetization-rule": monetization_monetization$$rule, + "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, + "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, + "monetization_monetization-rule-input": monetization_monetization$$rule$$input, + "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, + "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled, + "monetization_response-info": monetization_response$$info, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/outputs.ts b/src/generated/forge-mcp/network/outputs.ts index a707921a5..81cb26a74 100644 --- a/src/generated/forge-mcp/network/outputs.ts +++ b/src/generated/forge-mcp/network/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `tunnel_virtual_network_id` in responses. */ -export const tunnel_virtual_network_id_output: JsonSchema = { +export const tunnel_virtual_network_id: JsonSchema = { "format": "uuid", "type": "string" }; @@ -14,6 +14,6 @@ export const tunnel_virtual_network_id_output: JsonSchema = { /** * The schema of `tunnel_virtual_network_name` in responses. */ -export const tunnel_virtual_network_name_output: JsonSchema = { +export const tunnel_virtual_network_name: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/network/routes/cidr/outputs.ts b/src/generated/forge-mcp/network/routes/cidr/outputs.ts index 8271bae99..ea1fc465d 100644 --- a/src/generated/forge-mcp/network/routes/cidr/outputs.ts +++ b/src/generated/forge-mcp/network/routes/cidr/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tunnel_route` in responses. */ -export const tunnel_route_output: JsonSchema = { +export const tunnel_route: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/tunnel_route_comment" @@ -36,7 +36,7 @@ export const tunnel_route_output: JsonSchema = { /** * The schema of `tunnel_route_response_single` in responses. */ -export const tunnel_route_response_single_output: JsonSchema = { +export const tunnel_route_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" @@ -55,7 +55,7 @@ export const tunnel_route_response_single_output: JsonSchema = { /** * The schema of `tunnel_teamnet_response_collection` in responses. */ -export const tunnel_teamnet_response_collection_output: JsonSchema = { +export const tunnel_teamnet_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-collection" diff --git a/src/generated/forge-mcp/network/routes/cidr/tools.ts b/src/generated/forge-mcp/network/routes/cidr/tools.ts index b480d701b..bc0cbc4c4 100644 --- a/src/generated/forge-mcp/network/routes/cidr/tools.ts +++ b/src/generated/forge-mcp/network/routes/cidr/tools.ts @@ -1,50 +1,50 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - tunnel_api_response_collection_output, - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_messages_output, - tunnel_result_info_output, - tunnel_tunnel_id_output, - tunnel_tunnel_name_output, - tunnel_tunnel_type_output, + tunnel_api$$response$$collection, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_created_at, + tunnel_deleted_at, + tunnel_messages, + tunnel_result_info, + tunnel_tunnel_id, + tunnel_tunnel_name, + tunnel_tunnel_type, } from "../../../outputs.js"; import { tunnel_account_id, tunnel_existed_at, tunnel_page_number, tunnel_per_page, - tunnel_tunnel_id, - tunnel_tunnel_type, + tunnel_tunnel_id as tunnel_tunnel_id$, + tunnel_tunnel_type as tunnel_tunnel_type$, tunnel_tunnel_types, } from "../../../schemas.js"; import { - tunnel_virtual_network_id_output, - tunnel_virtual_network_name_output, + tunnel_virtual_network_id, + tunnel_virtual_network_name, } from "../../outputs.js"; -import { tunnel_virtual_network_id } from "../../schemas.js"; -import { - tunnel_ip_network_output, - tunnel_route_comment_output, - tunnel_route_id_output, - tunnel_teamnet_output, - tunnel_virtual_network_id_computed_optional_output, -} from "../outputs.js"; +import { tunnel_virtual_network_id as tunnel_virtual_network_id$ } from "../../schemas.js"; import { tunnel_ip_network, tunnel_route_comment, tunnel_route_id, + tunnel_teamnet, tunnel_virtual_network_id_computed_optional, +} from "../outputs.js"; +import { + tunnel_ip_network as tunnel_ip_network$, + tunnel_route_comment as tunnel_route_comment$, + tunnel_route_id as tunnel_route_id$, + tunnel_virtual_network_id_computed_optional as tunnel_virtual_network_id_computed_optional$, } from "../schemas.js"; import { - tunnel_route_output, - tunnel_route_response_single_output, - tunnel_teamnet_response_collection_output, + tunnel_route, + tunnel_route_response_single, + tunnel_teamnet_response_collection, } from "./outputs.js"; /** @@ -58,10 +58,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "comment": { @@ -82,33 +78,45 @@ export const tools: readonly Tool[] = [ "network" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_ip_network": tunnel_ip_network, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, + "tunnel_ip_network": tunnel_ip_network$, + "tunnel_route_comment": tunnel_route_comment$, + "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_route_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route": tunnel_route_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_route_response_single": tunnel_route_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route": tunnel_route, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_route_response_single": tunnel_route_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, annotations: { @@ -143,18 +151,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route": tunnel_route_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_route_response_single": tunnel_route_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route": tunnel_route, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_route_response_single": tunnel_route_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, request: (args) => ({ @@ -169,38 +177,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "route_id": { - "$ref": "#/$defs/tunnel_route_id", - "description": "UUID of the route." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "route_id": { + "$ref": "#/$defs/tunnel_route_id", + "description": "UUID of the route." + } + }, + "required": [ + "account_id", + "route_id" + ], + "type": "object" } }, required: [ - "account_id", - "route_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_route_id": tunnel_route_id, + "tunnel_route_id": tunnel_route_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_route_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route": tunnel_route_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_route_response_single": tunnel_route_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route": tunnel_route, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_route_response_single": tunnel_route_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, annotations: { @@ -235,18 +251,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route": tunnel_route_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_route_response_single": tunnel_route_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route": tunnel_route, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_route_response_single": tunnel_route_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, request: (args) => ({ @@ -260,10 +276,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "comment": { @@ -282,38 +294,50 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "route_id": { - "$ref": "#/$defs/tunnel_route_id", - "description": "UUID of the route." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "route_id": { + "$ref": "#/$defs/tunnel_route_id", + "description": "UUID of the route." + } + }, + "required": [ + "account_id", + "route_id" + ], + "type": "object" } }, required: [ - "account_id", - "route_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_ip_network": tunnel_ip_network, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, + "tunnel_ip_network": tunnel_ip_network$, + "tunnel_route_comment": tunnel_route_comment$, + "tunnel_route_id": tunnel_route_id$, + "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_route_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route": tunnel_route_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_route_response_single": tunnel_route_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route": tunnel_route, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_route_response_single": tunnel_route_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, annotations: { @@ -348,18 +372,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route": tunnel_route_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_route_response_single": tunnel_route_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route": tunnel_route, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_route_response_single": tunnel_route_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, request: (args) => ({ @@ -374,38 +398,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "route_id": { - "$ref": "#/$defs/tunnel_route_id", - "description": "UUID of the route." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "route_id": { + "$ref": "#/$defs/tunnel_route_id", + "description": "UUID of the route." + } + }, + "required": [ + "account_id", + "route_id" + ], + "type": "object" } }, required: [ - "account_id", - "route_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_route_id": tunnel_route_id, + "tunnel_route_id": tunnel_route_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_route_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route": tunnel_route_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_route_response_single": tunnel_route_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route": tunnel_route, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_route_response_single": tunnel_route_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, annotations: { @@ -434,18 +466,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route": tunnel_route_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_route_response_single": tunnel_route_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route": tunnel_route, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_route_response_single": tunnel_route_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, request: (args) => ({ @@ -459,93 +491,106 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "comment": { - "$ref": "#/$defs/tunnel_route_comment", - "default": "", - "description": "Optional remark describing the route." - }, - "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." - }, - "is_deleted": { - "description": "If `true`, only include deleted routes. If `false`, exclude deleted routes. If empty, all routes will be included.", - "type": "boolean" - }, - "network_subset": { - "$ref": "#/$defs/tunnel_ip_network", - "description": "If set, only list routes that are contained within this IP range." - }, - "network_superset": { - "$ref": "#/$defs/tunnel_ip_network", - "description": "If set, only list routes that contain this IP range." - }, - "page": { - "$ref": "#/$defs/tunnel_page_number", - "default": 1, - "description": "Page number of paginated results." - }, - "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." - }, - "route_id": { - "$ref": "#/$defs/tunnel_route_id", - "description": "UUID of the route." - }, - "tun_types": { - "$ref": "#/$defs/tunnel_tunnel_types", - "description": "The types of tunnels to filter by, separated by commas." - }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "query": { + "properties": { + "comment": { + "$ref": "#/$defs/tunnel_route_comment", + "default": "", + "description": "Optional remark describing the route." + }, + "existed_at": { + "$ref": "#/$defs/tunnel_existed_at", + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + }, + "is_deleted": { + "description": "If `true`, only include deleted routes. If `false`, exclude deleted routes. If empty, all routes will be included.", + "type": "boolean" + }, + "network_subset": { + "$ref": "#/$defs/tunnel_ip_network", + "description": "If set, only list routes that are contained within this IP range." + }, + "network_superset": { + "$ref": "#/$defs/tunnel_ip_network", + "description": "If set, only list routes that contain this IP range." + }, + "page": { + "$ref": "#/$defs/tunnel_page_number", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "$ref": "#/$defs/tunnel_per_page", + "description": "Number of results to display." + }, + "route_id": { + "$ref": "#/$defs/tunnel_route_id", + "description": "UUID of the route." + }, + "tun_types": { + "$ref": "#/$defs/tunnel_tunnel_types", + "description": "The types of tunnels to filter by, separated by commas." + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + }, + "virtual_network_id": { + "$ref": "#/$defs/tunnel_virtual_network_id", + "description": "UUID of the virtual network." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, "tunnel_existed_at": tunnel_existed_at, - "tunnel_ip_network": tunnel_ip_network, + "tunnel_ip_network": tunnel_ip_network$, "tunnel_page_number": tunnel_page_number, "tunnel_per_page": tunnel_per_page, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_route_comment": tunnel_route_comment$, + "tunnel_route_id": tunnel_route_id$, + "tunnel_tunnel_id": tunnel_tunnel_id$, + "tunnel_tunnel_type": tunnel_tunnel_type$, "tunnel_tunnel_types": tunnel_tunnel_types, - "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_teamnet_response_collection", $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_teamnet": tunnel_teamnet_output, - "tunnel_teamnet_response_collection": tunnel_teamnet_response_collection_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_teamnet": tunnel_teamnet, + "tunnel_teamnet_response_collection": tunnel_teamnet_response_collection, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, + "tunnel_virtual_network_name": tunnel_virtual_network_name, }, }, annotations: { @@ -582,39 +627,39 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_teamnet": tunnel_teamnet_output, - "tunnel_teamnet_response_collection": tunnel_teamnet_response_collection_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_teamnet": tunnel_teamnet, + "tunnel_teamnet_response_collection": tunnel_teamnet_response_collection, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, + "tunnel_virtual_network_name": tunnel_virtual_network_name, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/routes`, query: [ - ["comment", args["comment"], true], - ["is_deleted", args["is_deleted"], true], - ["network_subset", args["network_subset"], true], - ["network_superset", args["network_superset"], true], - ["existed_at", args["existed_at"], true], - ["tunnel_id", args["tunnel_id"], true], - ["route_id", args["route_id"], true], - ["tun_types", args["tun_types"], true], - ["virtual_network_id", args["virtual_network_id"], true], - ["per_page", args["per_page"], true], - ["page", args["page"], true], + ["comment", param(args, "query", "comment"), true], + ["is_deleted", param(args, "query", "is_deleted"), true], + ["network_subset", param(args, "query", "network_subset"), true], + ["network_superset", param(args, "query", "network_superset"), true], + ["existed_at", param(args, "query", "existed_at"), true], + ["tunnel_id", param(args, "query", "tunnel_id"), true], + ["route_id", param(args, "query", "route_id"), true], + ["tun_types", param(args, "query", "tun_types"), true], + ["virtual_network_id", param(args, "query", "virtual_network_id"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], ], }), }, diff --git a/src/generated/forge-mcp/network/routes/hostname/outputs.ts b/src/generated/forge-mcp/network/routes/hostname/outputs.ts index 0b06ef7c8..033b5d29e 100644 --- a/src/generated/forge-mcp/network/routes/hostname/outputs.ts +++ b/src/generated/forge-mcp/network/routes/hostname/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tunnel_hostname` in responses. */ -export const tunnel_hostname_output: JsonSchema = { +export const tunnel_hostname: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_hostname_comment` in responses. */ -export const tunnel_hostname_comment_output: JsonSchema = { +export const tunnel_hostname_comment: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_hostname_route` in responses. */ -export const tunnel_hostname_route_output: JsonSchema = { +export const tunnel_hostname_route: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/tunnel_hostname_comment" @@ -64,7 +64,7 @@ export const tunnel_hostname_route_output: JsonSchema = { /** * The schema of `tunnel_hostname_route_id` in responses. */ -export const tunnel_hostname_route_id_output: JsonSchema = { +export const tunnel_hostname_route_id: JsonSchema = { "format": "uuid", "type": "string" }; @@ -72,7 +72,7 @@ export const tunnel_hostname_route_id_output: JsonSchema = { /** * The schema of `tunnel_hostname_route_response_collection` in responses. */ -export const tunnel_hostname_route_response_collection_output: JsonSchema = { +export const tunnel_hostname_route_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-collection" @@ -94,7 +94,7 @@ export const tunnel_hostname_route_response_collection_output: JsonSchema = { /** * The schema of `tunnel_hostname_route_response_single` in responses. */ -export const tunnel_hostname_route_response_single_output: JsonSchema = { +export const tunnel_hostname_route_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" @@ -113,7 +113,7 @@ export const tunnel_hostname_route_response_single_output: JsonSchema = { /** * The schema of `tunnel_tunnel_id-3` in responses. */ -export const tunnel_tunnel_id_3_output: JsonSchema = { +export const tunnel_tunnel_id$$3: JsonSchema = { "format": "uuid", "type": "string" }; @@ -121,6 +121,6 @@ export const tunnel_tunnel_id_3_output: JsonSchema = { /** * The schema of `tunnel_tunnel_name-2` in responses. */ -export const tunnel_tunnel_name_2_output: JsonSchema = { +export const tunnel_tunnel_name$$2: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/network/routes/hostname/schemas.ts b/src/generated/forge-mcp/network/routes/hostname/schemas.ts index 5f8447614..1a3699a29 100644 --- a/src/generated/forge-mcp/network/routes/hostname/schemas.ts +++ b/src/generated/forge-mcp/network/routes/hostname/schemas.ts @@ -39,7 +39,7 @@ export const tunnel_hostname_route_id: JsonSchema = { /** * The schema of `tunnel_tunnel_id-3`. */ -export const tunnel_tunnel_id_3: JsonSchema = { +export const tunnel_tunnel_id$$3: JsonSchema = { "description": "UUID of the tunnel.", "format": "uuid", "type": "string" diff --git a/src/generated/forge-mcp/network/routes/hostname/tools.ts b/src/generated/forge-mcp/network/routes/hostname/tools.ts index eff2c65d9..2598a2fa4 100644 --- a/src/generated/forge-mcp/network/routes/hostname/tools.ts +++ b/src/generated/forge-mcp/network/routes/hostname/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, param, pathParam } from "../../../_/tool.js"; import { - tunnel_api_response_collection_output, - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_messages_output, - tunnel_result_info_output, - tunnel_tunnel_type_output, + tunnel_api$$response$$collection, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_created_at, + tunnel_deleted_at, + tunnel_messages, + tunnel_result_info, + tunnel_tunnel_type, } from "../../../outputs.js"; import { tunnel_account_id, @@ -18,22 +18,22 @@ import { tunnel_page_number, tunnel_per_page, } from "../../../schemas.js"; -import { - tunnel_hostname_comment_output, - tunnel_hostname_output, - tunnel_hostname_route_id_output, - tunnel_hostname_route_output, - tunnel_hostname_route_response_collection_output, - tunnel_hostname_route_response_single_output, - tunnel_tunnel_id_3_output, - tunnel_tunnel_name_2_output, -} from "./outputs.js"; import { tunnel_hostname, tunnel_hostname_comment, - tunnel_hostname_query_comment, + tunnel_hostname_route, tunnel_hostname_route_id, - tunnel_tunnel_id_3, + tunnel_hostname_route_response_collection, + tunnel_hostname_route_response_single, + tunnel_tunnel_id$$3, + tunnel_tunnel_name$$2, +} from "./outputs.js"; +import { + tunnel_hostname as tunnel_hostname$, + tunnel_hostname_comment as tunnel_hostname_comment$, + tunnel_hostname_query_comment, + tunnel_hostname_route_id as tunnel_hostname_route_id$, + tunnel_tunnel_id$$3 as tunnel_tunnel_id$$3$, } from "./schemas.js"; /** @@ -47,10 +47,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "comment": { @@ -67,34 +63,46 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3, + "tunnel_hostname": tunnel_hostname$, + "tunnel_hostname_comment": tunnel_hostname_comment$, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -129,19 +137,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ @@ -156,39 +164,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "hostname_route_id": { - "$ref": "#/$defs/tunnel_hostname_route_id", - "description": "The hostname route ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "hostname_route_id": { + "$ref": "#/$defs/tunnel_hostname_route_id", + "description": "The hostname route ID." + } + }, + "required": [ + "account_id", + "hostname_route_id" + ], + "type": "object" } }, required: [ - "account_id", - "hostname_route_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_id": tunnel_hostname_route_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -223,19 +239,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ @@ -249,10 +265,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "comment": { @@ -270,39 +282,51 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "hostname_route_id": { - "$ref": "#/$defs/tunnel_hostname_route_id", - "description": "The hostname route ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "hostname_route_id": { + "$ref": "#/$defs/tunnel_hostname_route_id", + "description": "The hostname route ID." + } + }, + "required": [ + "account_id", + "hostname_route_id" + ], + "type": "object" } }, required: [ - "account_id", - "hostname_route_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, - "tunnel_hostname_route_id": tunnel_hostname_route_id, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3, + "tunnel_hostname": tunnel_hostname$, + "tunnel_hostname_comment": tunnel_hostname_comment$, + "tunnel_hostname_route_id": tunnel_hostname_route_id$, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -337,19 +361,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ @@ -364,39 +388,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "hostname_route_id": { - "$ref": "#/$defs/tunnel_hostname_route_id", - "description": "The hostname route ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "hostname_route_id": { + "$ref": "#/$defs/tunnel_hostname_route_id", + "description": "The hostname route ID." + } + }, + "required": [ + "account_id", + "hostname_route_id" + ], + "type": "object" } }, required: [ - "account_id", - "hostname_route_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_id": tunnel_hostname_route_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -433,19 +465,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ @@ -459,76 +491,89 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "comment": { - "$ref": "#/$defs/tunnel_hostname_query_comment", - "description": "If set, only list hostname routes with the given comment." - }, - "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." - }, - "hostname": { - "$ref": "#/$defs/tunnel_hostname", - "description": "If set, only list hostname routes that contain a substring of the given value, the filter is case-insensitive." - }, - "id": { - "$ref": "#/$defs/tunnel_hostname_route_id", - "description": "The hostname route ID." - }, - "is_deleted": { - "default": false, - "description": "If `true`, only return deleted hostname routes. If `false`, exclude deleted hostname routes.", - "type": "boolean" - }, - "page": { - "$ref": "#/$defs/tunnel_page_number", - "default": 1, - "description": "Page number of paginated results." - }, - "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-3", - "description": "If set, only list hostname routes that point to a specific tunnel." + "query": { + "properties": { + "comment": { + "$ref": "#/$defs/tunnel_hostname_query_comment", + "description": "If set, only list hostname routes with the given comment." + }, + "existed_at": { + "$ref": "#/$defs/tunnel_existed_at", + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + }, + "hostname": { + "$ref": "#/$defs/tunnel_hostname", + "description": "If set, only list hostname routes that contain a substring of the given value, the filter is case-insensitive." + }, + "id": { + "$ref": "#/$defs/tunnel_hostname_route_id", + "description": "The hostname route ID." + }, + "is_deleted": { + "default": false, + "description": "If `true`, only return deleted hostname routes. If `false`, exclude deleted hostname routes.", + "type": "boolean" + }, + "page": { + "$ref": "#/$defs/tunnel_page_number", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "$ref": "#/$defs/tunnel_per_page", + "description": "Number of results to display." + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id-3", + "description": "If set, only list hostname routes that point to a specific tunnel." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, "tunnel_existed_at": tunnel_existed_at, - "tunnel_hostname": tunnel_hostname, + "tunnel_hostname": tunnel_hostname$, "tunnel_hostname_query_comment": tunnel_hostname_query_comment, - "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_id": tunnel_hostname_route_id$, "tunnel_page_number": tunnel_page_number, "tunnel_per_page": tunnel_per_page, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_collection", $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_collection": tunnel_hostname_route_response_collection_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_collection": tunnel_hostname_route_response_collection, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -565,34 +610,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_hostname": tunnel_hostname_output, - "tunnel_hostname_comment": tunnel_hostname_comment_output, - "tunnel_hostname_route": tunnel_hostname_route_output, - "tunnel_hostname_route_id": tunnel_hostname_route_id_output, - "tunnel_hostname_route_response_collection": tunnel_hostname_route_response_collection_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_tunnel_id-3": tunnel_tunnel_id_3_output, - "tunnel_tunnel_name-2": tunnel_tunnel_name_2_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_hostname": tunnel_hostname, + "tunnel_hostname_comment": tunnel_hostname_comment, + "tunnel_hostname_route": tunnel_hostname_route, + "tunnel_hostname_route_id": tunnel_hostname_route_id, + "tunnel_hostname_route_response_collection": tunnel_hostname_route_response_collection, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, + "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, + "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/routes/hostname`, query: [ - ["id", args["id"], true], - ["hostname", args["hostname"], true], - ["tunnel_id", args["tunnel_id"], true], - ["comment", args["comment"], true], - ["existed_at", args["existed_at"], true], - ["is_deleted", args["is_deleted"], true], - ["per_page", args["per_page"], true], - ["page", args["page"], true], + ["id", param(args, "query", "id"), true], + ["hostname", param(args, "query", "hostname"), true], + ["tunnel_id", param(args, "query", "tunnel_id"), true], + ["comment", param(args, "query", "comment"), true], + ["existed_at", param(args, "query", "existed_at"), true], + ["is_deleted", param(args, "query", "is_deleted"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], ], }), }, diff --git a/src/generated/forge-mcp/network/routes/outputs.ts b/src/generated/forge-mcp/network/routes/outputs.ts index fb9539cde..c13fab275 100644 --- a/src/generated/forge-mcp/network/routes/outputs.ts +++ b/src/generated/forge-mcp/network/routes/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tunnel_ip_network` in responses. */ -export const tunnel_ip_network_output: JsonSchema = { +export const tunnel_ip_network: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_route_comment` in responses. */ -export const tunnel_route_comment_output: JsonSchema = { +export const tunnel_route_comment: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_route_id` in responses. */ -export const tunnel_route_id_output: JsonSchema = { +export const tunnel_route_id: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_teamnet` in responses. */ -export const tunnel_teamnet_output: JsonSchema = { +export const tunnel_teamnet: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/tunnel_route_comment" @@ -66,7 +66,7 @@ export const tunnel_teamnet_output: JsonSchema = { /** * The schema of `tunnel_teamnet_response_single` in responses. */ -export const tunnel_teamnet_response_single_output: JsonSchema = { +export const tunnel_teamnet_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" @@ -85,7 +85,7 @@ export const tunnel_teamnet_response_single_output: JsonSchema = { /** * The schema of `tunnel_virtual_network_id_computed_optional` in responses. */ -export const tunnel_virtual_network_id_computed_optional_output: JsonSchema = { +export const tunnel_virtual_network_id_computed_optional: JsonSchema = { "format": "uuid", "type": "string" }; diff --git a/src/generated/forge-mcp/network/routes/tools.ts b/src/generated/forge-mcp/network/routes/tools.ts index 65e8148ce..28517f6ce 100644 --- a/src/generated/forge-mcp/network/routes/tools.ts +++ b/src/generated/forge-mcp/network/routes/tools.ts @@ -1,27 +1,27 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_messages_output, - tunnel_tunnel_id_output, - tunnel_tunnel_name_output, - tunnel_tunnel_type_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_created_at, + tunnel_deleted_at, + tunnel_messages, + tunnel_tunnel_id, + tunnel_tunnel_name, + tunnel_tunnel_type, } from "../../outputs.js"; import { tunnel_account_id, tunnel_ip } from "../../schemas.js"; -import { tunnel_virtual_network_name_output } from "../outputs.js"; +import { tunnel_virtual_network_name } from "../outputs.js"; import { tunnel_virtual_network_id } from "../schemas.js"; import { - tunnel_ip_network_output, - tunnel_route_comment_output, - tunnel_route_id_output, - tunnel_teamnet_output, - tunnel_teamnet_response_single_output, - tunnel_virtual_network_id_computed_optional_output, + tunnel_ip_network, + tunnel_route_comment, + tunnel_route_id, + tunnel_teamnet, + tunnel_teamnet_response_single, + tunnel_virtual_network_id_computed_optional, } from "./outputs.js"; /** @@ -35,26 +35,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "default_virtual_network_fallback": { - "default": true, - "description": "When the virtual_network_id parameter is not provided the request filter will default search routes that are in the default virtual network for the account. If this parameter is set to false, the search will include routes that do not have a virtual network.", - "type": "boolean" - }, - "ip": { - "$ref": "#/$defs/tunnel_ip" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "ip": { + "$ref": "#/$defs/tunnel_ip" + } + }, + "required": [ + "account_id", + "ip" + ], + "type": "object" }, - "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "query": { + "properties": { + "default_virtual_network_fallback": { + "default": true, + "description": "When the virtual_network_id parameter is not provided the request filter will default search routes that are in the default virtual network for the account. If this parameter is set to false, the search will include routes that do not have a virtual network.", + "type": "boolean" + }, + "virtual_network_id": { + "$ref": "#/$defs/tunnel_virtual_network_id", + "description": "UUID of the virtual network." + } + }, + "type": "object" } }, required: [ - "account_id", - "ip" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, @@ -65,20 +78,20 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tunnel_teamnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_teamnet": tunnel_teamnet_output, - "tunnel_teamnet_response_single": tunnel_teamnet_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_teamnet": tunnel_teamnet, + "tunnel_teamnet_response_single": tunnel_teamnet_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, + "tunnel_virtual_network_name": tunnel_virtual_network_name, }, }, annotations: { @@ -115,28 +128,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip_network": tunnel_ip_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_route_comment": tunnel_route_comment_output, - "tunnel_route_id": tunnel_route_id_output, - "tunnel_teamnet": tunnel_teamnet_output, - "tunnel_teamnet_response_single": tunnel_teamnet_response_single_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip_network": tunnel_ip_network, + "tunnel_messages": tunnel_messages, + "tunnel_route_comment": tunnel_route_comment, + "tunnel_route_id": tunnel_route_id, + "tunnel_teamnet": tunnel_teamnet, + "tunnel_teamnet_response_single": tunnel_teamnet_response_single, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, + "tunnel_virtual_network_name": tunnel_virtual_network_name, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/routes/ip/${pathParam(args, "ip")}`, query: [ - ["virtual_network_id", args["virtual_network_id"], true], - ["default_virtual_network_fallback", args["default_virtual_network_fallback"], true], + ["virtual_network_id", param(args, "query", "virtual_network_id"), true], + ["default_virtual_network_fallback", param(args, "query", "default_virtual_network_fallback"), true], ], }), }, diff --git a/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts b/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts index 1110ad453..aa1e45b34 100644 --- a/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts +++ b/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts @@ -3,50 +3,42 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_messages_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_created_at, + tunnel_deleted_at, + tunnel_messages, } from "../../../outputs.js"; import { tunnel_account_id } from "../../../schemas.js"; import { - tunnel_subnet_capacity_output, - tunnel_subnet_comment_output, - tunnel_subnet_id_output, - tunnel_subnet_ip_network_output, - tunnel_subnet_is_default_network_output, - tunnel_subnet_name_output, - tunnel_subnet_output, - tunnel_subnet_response_single_output, - tunnel_subnet_type_output, -} from "../outputs.js"; -import { - tunnel_address_family, + tunnel_subnet, + tunnel_subnet_capacity, tunnel_subnet_comment, + tunnel_subnet_id, tunnel_subnet_ip_network, + tunnel_subnet_is_default_network, tunnel_subnet_name, + tunnel_subnet_response_single, + tunnel_subnet_type, +} from "../outputs.js"; +import { + tunnel_address_family, + tunnel_subnet_comment as tunnel_subnet_comment$, + tunnel_subnet_ip_network as tunnel_subnet_ip_network$, + tunnel_subnet_name as tunnel_subnet_name$, } from "../schemas.js"; /** - * The tools of `network.subnets.cloudflare_source`. + * The tools of `network.subnets.cloudflareSource`. */ export const tools: readonly Tool[] = [ { - name: "network_subnets_cloudflare_source_edit", + name: "network_subnets_cloudflareSource_edit", title: "Update Cloudflare Source Subnet", description: "Updates the Cloudflare Source subnet of the given address family", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" - }, "body": { "properties": { "comment": { @@ -64,37 +56,53 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "address_family": { + "$ref": "#/$defs/tunnel_address_family", + "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + } + }, + "required": [ + "account_id", + "address_family" + ], + "type": "object" } }, required: [ - "account_id", - "address_family", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, "tunnel_address_family": tunnel_address_family, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_comment": tunnel_subnet_comment$, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network$, + "tunnel_subnet_name": tunnel_subnet_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -128,20 +136,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -150,24 +158,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_subnets_cloudflare_source_get", + name: "network_subnets_cloudflareSource_get", title: "Get Cloudflare Source Subnet", description: "Returns the account's default Cloudflare Source subnet for the given address family.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "address_family": { + "$ref": "#/$defs/tunnel_address_family", + "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + } + }, + "required": [ + "account_id", + "address_family" + ], + "type": "object" } }, required: [ - "account_id", - "address_family" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, @@ -177,19 +193,19 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -218,20 +234,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts b/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts index f839a9a85..5c36c3dae 100644 --- a/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts +++ b/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts @@ -3,50 +3,42 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_messages_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_created_at, + tunnel_deleted_at, + tunnel_messages, } from "../../../outputs.js"; import { tunnel_account_id } from "../../../schemas.js"; import { - tunnel_subnet_capacity_output, - tunnel_subnet_comment_output, - tunnel_subnet_id_output, - tunnel_subnet_ip_network_output, - tunnel_subnet_is_default_network_output, - tunnel_subnet_name_output, - tunnel_subnet_output, - tunnel_subnet_response_single_output, - tunnel_subnet_type_output, -} from "../outputs.js"; -import { - tunnel_address_family, + tunnel_subnet, + tunnel_subnet_capacity, tunnel_subnet_comment, + tunnel_subnet_id, tunnel_subnet_ip_network, + tunnel_subnet_is_default_network, tunnel_subnet_name, + tunnel_subnet_response_single, + tunnel_subnet_type, +} from "../outputs.js"; +import { + tunnel_address_family, + tunnel_subnet_comment as tunnel_subnet_comment$, + tunnel_subnet_ip_network as tunnel_subnet_ip_network$, + tunnel_subnet_name as tunnel_subnet_name$, } from "../schemas.js"; /** - * The tools of `network.subnets.initial_resolved_ip`. + * The tools of `network.subnets.initialResolvedIp`. */ export const tools: readonly Tool[] = [ { - name: "network_subnets_initial_resolved_ip_edit", + name: "network_subnets_initialResolvedIp_edit", title: "Update Initial Resolved IP Subnet", description: "Updates the CIDR for the account's default Initial Resolved IP Subnet of the given address\nfamily. The new CIDR must not conflict with existing private routes in the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" - }, "body": { "properties": { "comment": { @@ -64,37 +56,53 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "address_family": { + "$ref": "#/$defs/tunnel_address_family", + "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + } + }, + "required": [ + "account_id", + "address_family" + ], + "type": "object" } }, required: [ - "account_id", - "address_family", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, "tunnel_address_family": tunnel_address_family, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_comment": tunnel_subnet_comment$, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network$, + "tunnel_subnet_name": tunnel_subnet_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -123,20 +131,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -145,24 +153,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_subnets_initial_resolved_ip_get", + name: "network_subnets_initialResolvedIp_get", title: "Get Initial Resolved IP Subnet", description: "Returns the account's default Initial Resolved IP Subnet for the given address family.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "address_family": { + "$ref": "#/$defs/tunnel_address_family", + "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + } + }, + "required": [ + "account_id", + "address_family" + ], + "type": "object" } }, required: [ - "account_id", - "address_family" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, @@ -172,19 +188,19 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -219,20 +235,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/subnets/outputs.ts b/src/generated/forge-mcp/network/subnets/outputs.ts index 961ddbeb2..05328850d 100644 --- a/src/generated/forge-mcp/network/subnets/outputs.ts +++ b/src/generated/forge-mcp/network/subnets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tunnel_subnet` in responses. */ -export const tunnel_subnet_output: JsonSchema = { +export const tunnel_subnet: JsonSchema = { "properties": { "capacity": { "$ref": "#/$defs/tunnel_subnet_capacity" @@ -42,7 +42,7 @@ export const tunnel_subnet_output: JsonSchema = { /** * The schema of `tunnel_subnet_capacity` in responses. */ -export const tunnel_subnet_capacity_output: JsonSchema = { +export const tunnel_subnet_capacity: JsonSchema = { "properties": { "total": { "type": "integer" @@ -57,14 +57,14 @@ export const tunnel_subnet_capacity_output: JsonSchema = { /** * The schema of `tunnel_subnet_comment` in responses. */ -export const tunnel_subnet_comment_output: JsonSchema = { +export const tunnel_subnet_comment: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_subnet_id` in responses. */ -export const tunnel_subnet_id_output: JsonSchema = { +export const tunnel_subnet_id: JsonSchema = { "format": "uuid", "type": "string" }; @@ -72,28 +72,28 @@ export const tunnel_subnet_id_output: JsonSchema = { /** * The schema of `tunnel_subnet_ip_network` in responses. */ -export const tunnel_subnet_ip_network_output: JsonSchema = { +export const tunnel_subnet_ip_network: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_subnet_is_default_network` in responses. */ -export const tunnel_subnet_is_default_network_output: JsonSchema = { +export const tunnel_subnet_is_default_network: JsonSchema = { "type": "boolean" }; /** * The schema of `tunnel_subnet_name` in responses. */ -export const tunnel_subnet_name_output: JsonSchema = { +export const tunnel_subnet_name: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_subnet_response_collection` in responses. */ -export const tunnel_subnet_response_collection_output: JsonSchema = { +export const tunnel_subnet_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-collection" @@ -115,7 +115,7 @@ export const tunnel_subnet_response_collection_output: JsonSchema = { /** * The schema of `tunnel_subnet_response_single` in responses. */ -export const tunnel_subnet_response_single_output: JsonSchema = { +export const tunnel_subnet_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" @@ -134,7 +134,7 @@ export const tunnel_subnet_response_single_output: JsonSchema = { /** * The schema of `tunnel_subnet_type` in responses. */ -export const tunnel_subnet_type_output: JsonSchema = { +export const tunnel_subnet_type: JsonSchema = { "enum": [ "cloudflare_source", "initial_resolved_ip", diff --git a/src/generated/forge-mcp/network/subnets/tools.ts b/src/generated/forge-mcp/network/subnets/tools.ts index 15e65dfe6..ef683e4b3 100644 --- a/src/generated/forge-mcp/network/subnets/tools.ts +++ b/src/generated/forge-mcp/network/subnets/tools.ts @@ -1,15 +1,15 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tunnel_api_response_collection_output, - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_messages_output, - tunnel_result_info_output, + tunnel_api$$response$$collection, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_created_at, + tunnel_deleted_at, + tunnel_messages, + tunnel_result_info, } from "../../outputs.js"; import { tunnel_account_id, @@ -18,15 +18,15 @@ import { tunnel_per_page, } from "../../schemas.js"; import { - tunnel_subnet_capacity_output, - tunnel_subnet_comment_output, - tunnel_subnet_id_output, - tunnel_subnet_ip_network_output, - tunnel_subnet_is_default_network_output, - tunnel_subnet_name_output, - tunnel_subnet_output, - tunnel_subnet_response_collection_output, - tunnel_subnet_type_output, + tunnel_subnet, + tunnel_subnet_capacity, + tunnel_subnet_comment, + tunnel_subnet_id, + tunnel_subnet_ip_network, + tunnel_subnet_is_default_network, + tunnel_subnet_name, + tunnel_subnet_response_collection, + tunnel_subnet_type, } from "./outputs.js"; import { tunnel_address_family, @@ -46,67 +46,80 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "If set, only include subnets in the given address family - `v4` or `v6`" - }, - "comment": { - "$ref": "#/$defs/tunnel_subnet_query_comment", - "description": "If set, only list subnets with the given comment." - }, - "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." - }, - "is_default_network": { - "description": "If `true`, only include default subnets. If `false`, exclude default subnets subnets. If not set, all subnets will be included.", - "type": "boolean" - }, - "is_deleted": { - "description": "If `true`, only include deleted subnets. If `false`, exclude deleted subnets. If not set, all subnets will be included.", - "type": "boolean" - }, - "name": { - "$ref": "#/$defs/tunnel_subnet_query_name", - "description": "If set, only list subnets with the given name" - }, - "network": { - "$ref": "#/$defs/tunnel_ip_network_encoded", - "description": "If set, only list the subnet whose network exactly matches the given CIDR." - }, - "page": { - "$ref": "#/$defs/tunnel_page_number", - "default": 1, - "description": "Page number of paginated results." - }, - "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." - }, - "sort_order": { - "description": "Sort order of the results. `asc` means oldest to newest, `desc` means newest to oldest. If not set, they will not be in any particular order.", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "subnet_types": { - "description": "If set, the types of subnets to include, separated by comma.", - "enum": [ - "cloudflare_source", - "initial_resolved_ip", - "warp" - ], - "type": "string" + "query": { + "properties": { + "address_family": { + "$ref": "#/$defs/tunnel_address_family", + "description": "If set, only include subnets in the given address family - `v4` or `v6`" + }, + "comment": { + "$ref": "#/$defs/tunnel_subnet_query_comment", + "description": "If set, only list subnets with the given comment." + }, + "existed_at": { + "$ref": "#/$defs/tunnel_existed_at", + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + }, + "is_default_network": { + "description": "If `true`, only include default subnets. If `false`, exclude default subnets subnets. If not set, all subnets will be included.", + "type": "boolean" + }, + "is_deleted": { + "description": "If `true`, only include deleted subnets. If `false`, exclude deleted subnets. If not set, all subnets will be included.", + "type": "boolean" + }, + "name": { + "$ref": "#/$defs/tunnel_subnet_query_name", + "description": "If set, only list subnets with the given name" + }, + "network": { + "$ref": "#/$defs/tunnel_ip_network_encoded", + "description": "If set, only list the subnet whose network exactly matches the given CIDR." + }, + "page": { + "$ref": "#/$defs/tunnel_page_number", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "$ref": "#/$defs/tunnel_per_page", + "description": "Number of results to display." + }, + "sort_order": { + "description": "Sort order of the results. `asc` means oldest to newest, `desc` means newest to oldest. If not set, they will not be in any particular order.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "subnet_types": { + "description": "If set, the types of subnets to include, separated by comma.", + "enum": [ + "cloudflare_source", + "initial_resolved_ip", + "warp" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, @@ -122,21 +135,21 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_collection", $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_collection": tunnel_subnet_response_collection_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_collection": tunnel_subnet_response_collection, + "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -171,38 +184,38 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_collection": tunnel_subnet_response_collection_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_collection": tunnel_subnet_response_collection, + "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/zerotrust/subnets`, query: [ - ["name", args["name"], true], - ["comment", args["comment"], true], - ["network", args["network"], true], - ["existed_at", args["existed_at"], true], - ["address_family", args["address_family"], true], - ["is_default_network", args["is_default_network"], true], - ["is_deleted", args["is_deleted"], true], - ["sort_order", args["sort_order"], true], - ["subnet_types", args["subnet_types"], true], - ["per_page", args["per_page"], true], - ["page", args["page"], true], + ["name", param(args, "query", "name"), true], + ["comment", param(args, "query", "comment"), true], + ["network", param(args, "query", "network"), true], + ["existed_at", param(args, "query", "existed_at"), true], + ["address_family", param(args, "query", "address_family"), true], + ["is_default_network", param(args, "query", "is_default_network"), true], + ["is_deleted", param(args, "query", "is_deleted"), true], + ["sort_order", param(args, "query", "sort_order"), true], + ["subnet_types", param(args, "query", "subnet_types"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], ], }), }, diff --git a/src/generated/forge-mcp/network/subnets/warp/outputs.ts b/src/generated/forge-mcp/network/subnets/warp/outputs.ts index b18496ce3..2de65a077 100644 --- a/src/generated/forge-mcp/network/subnets/warp/outputs.ts +++ b/src/generated/forge-mcp/network/subnets/warp/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tunnel_subnet_response_single_nullable` in responses. */ -export const tunnel_subnet_response_single_nullable_output: JsonSchema = { +export const tunnel_subnet_response_single_nullable: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" diff --git a/src/generated/forge-mcp/network/subnets/warp/tools.ts b/src/generated/forge-mcp/network/subnets/warp/tools.ts index cb2c79c6d..b1f2020b4 100644 --- a/src/generated/forge-mcp/network/subnets/warp/tools.ts +++ b/src/generated/forge-mcp/network/subnets/warp/tools.ts @@ -3,32 +3,32 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_messages_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_created_at, + tunnel_deleted_at, + tunnel_messages, } from "../../../outputs.js"; import { tunnel_account_id } from "../../../schemas.js"; import { - tunnel_subnet_capacity_output, - tunnel_subnet_comment_output, - tunnel_subnet_id_output, - tunnel_subnet_ip_network_output, - tunnel_subnet_is_default_network_output, - tunnel_subnet_name_output, - tunnel_subnet_output, - tunnel_subnet_response_single_output, - tunnel_subnet_type_output, -} from "../outputs.js"; -import { + tunnel_subnet, + tunnel_subnet_capacity, tunnel_subnet_comment, tunnel_subnet_id, tunnel_subnet_ip_network, tunnel_subnet_is_default_network, tunnel_subnet_name, + tunnel_subnet_response_single, + tunnel_subnet_type, +} from "../outputs.js"; +import { + tunnel_subnet_comment as tunnel_subnet_comment$, + tunnel_subnet_id as tunnel_subnet_id$, + tunnel_subnet_ip_network as tunnel_subnet_ip_network$, + tunnel_subnet_is_default_network as tunnel_subnet_is_default_network$, + tunnel_subnet_name as tunnel_subnet_name$, } from "../schemas.js"; -import { tunnel_subnet_response_single_nullable_output } from "./outputs.js"; +import { tunnel_subnet_response_single_nullable } from "./outputs.js"; /** * The tools of `network.subnets.warp`. @@ -41,10 +41,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "comment": { @@ -71,36 +67,48 @@ export const tools: readonly Tool[] = [ "network" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_comment": tunnel_subnet_comment$, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network$, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network$, + "tunnel_subnet_name": tunnel_subnet_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -134,20 +142,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -162,39 +170,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "subnet_id": { - "$ref": "#/$defs/tunnel_subnet_id", - "description": "The UUID of the subnet." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "subnet_id": { + "$ref": "#/$defs/tunnel_subnet_id", + "description": "The UUID of the subnet." + } + }, + "required": [ + "account_id", + "subnet_id" + ], + "type": "object" } }, required: [ - "account_id", - "subnet_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_id": tunnel_subnet_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single_nullable", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single_nullable": tunnel_subnet_response_single_nullable_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single_nullable": tunnel_subnet_response_single_nullable, + "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -228,19 +244,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single_nullable": tunnel_subnet_response_single_nullable_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single_nullable": tunnel_subnet_response_single_nullable, + "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -254,10 +270,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "comment": { @@ -281,41 +293,53 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "subnet_id": { - "$ref": "#/$defs/tunnel_subnet_id", - "description": "The UUID of the subnet." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "subnet_id": { + "$ref": "#/$defs/tunnel_subnet_id", + "description": "The UUID of the subnet." + } + }, + "required": [ + "account_id", + "subnet_id" + ], + "type": "object" } }, required: [ - "account_id", - "subnet_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_comment": tunnel_subnet_comment$, + "tunnel_subnet_id": tunnel_subnet_id$, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network$, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network$, + "tunnel_subnet_name": tunnel_subnet_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -349,20 +373,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -377,40 +401,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "subnet_id": { - "$ref": "#/$defs/tunnel_subnet_id", - "description": "The UUID of the subnet." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "subnet_id": { + "$ref": "#/$defs/tunnel_subnet_id", + "description": "The UUID of the subnet." + } + }, + "required": [ + "account_id", + "subnet_id" + ], + "type": "object" } }, required: [ - "account_id", - "subnet_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_id": tunnel_subnet_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -445,20 +477,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_subnet": tunnel_subnet_output, - "tunnel_subnet_capacity": tunnel_subnet_capacity_output, - "tunnel_subnet_comment": tunnel_subnet_comment_output, - "tunnel_subnet_id": tunnel_subnet_id_output, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network_output, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network_output, - "tunnel_subnet_name": tunnel_subnet_name_output, - "tunnel_subnet_response_single": tunnel_subnet_response_single_output, - "tunnel_subnet_type": tunnel_subnet_type_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_messages": tunnel_messages, + "tunnel_subnet": tunnel_subnet, + "tunnel_subnet_capacity": tunnel_subnet_capacity, + "tunnel_subnet_comment": tunnel_subnet_comment, + "tunnel_subnet_id": tunnel_subnet_id, + "tunnel_subnet_ip_network": tunnel_subnet_ip_network, + "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, + "tunnel_subnet_name": tunnel_subnet_name, + "tunnel_subnet_response_single": tunnel_subnet_response_single, + "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/virtualNetworks/outputs.ts b/src/generated/forge-mcp/network/virtualNetworks/outputs.ts index 5731a0c25..f2866c748 100644 --- a/src/generated/forge-mcp/network/virtualNetworks/outputs.ts +++ b/src/generated/forge-mcp/network/virtualNetworks/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tunnel_is_default_network` in responses. */ -export const tunnel_is_default_network_output: JsonSchema = { +export const tunnel_is_default_network: JsonSchema = { "type": "boolean" }; /** * The schema of `tunnel_virtual-network` in responses. */ -export const tunnel_virtual_network_output: JsonSchema = { +export const tunnel_virtual$$network: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/tunnel_virtual_network_comment" @@ -47,14 +47,14 @@ export const tunnel_virtual_network_output: JsonSchema = { /** * The schema of `tunnel_virtual_network_comment` in responses. */ -export const tunnel_virtual_network_comment_output: JsonSchema = { +export const tunnel_virtual_network_comment: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_vnet_response_collection` in responses. */ -export const tunnel_vnet_response_collection_output: JsonSchema = { +export const tunnel_vnet_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-collection" @@ -76,7 +76,7 @@ export const tunnel_vnet_response_collection_output: JsonSchema = { /** * The schema of `tunnel_vnet_response_single` in responses. */ -export const tunnel_vnet_response_single_output: JsonSchema = { +export const tunnel_vnet_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" diff --git a/src/generated/forge-mcp/network/virtualNetworks/tools.ts b/src/generated/forge-mcp/network/virtualNetworks/tools.ts index 07bb64fcc..7a2de5ef4 100644 --- a/src/generated/forge-mcp/network/virtualNetworks/tools.ts +++ b/src/generated/forge-mcp/network/virtualNetworks/tools.ts @@ -1,53 +1,49 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tunnel_api_response_collection_output, - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_messages_output, - tunnel_result_info_output, + tunnel_api$$response$$collection, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_created_at, + tunnel_deleted_at, + tunnel_messages, + tunnel_result_info, } from "../../outputs.js"; import { tunnel_account_id } from "../../schemas.js"; -import { - tunnel_virtual_network_id_output, - tunnel_virtual_network_name_output, -} from "../outputs.js"; import { tunnel_virtual_network_id, tunnel_virtual_network_name, +} from "../outputs.js"; +import { + tunnel_virtual_network_id as tunnel_virtual_network_id$, + tunnel_virtual_network_name as tunnel_virtual_network_name$, } from "../schemas.js"; import { - tunnel_is_default_network_output, - tunnel_virtual_network_comment_output, - tunnel_virtual_network_output, - tunnel_vnet_response_collection_output, - tunnel_vnet_response_single_output, + tunnel_is_default_network, + tunnel_virtual$$network, + tunnel_virtual_network_comment, + tunnel_vnet_response_collection, + tunnel_vnet_response_single, } from "./outputs.js"; import { - tunnel_is_default_network, + tunnel_is_default_network as tunnel_is_default_network$, tunnel_is_default_network_optional, - tunnel_virtual_network_comment, + tunnel_virtual_network_comment as tunnel_virtual_network_comment$, } from "./schemas.js"; /** - * The tools of `network.virtual_networks`. + * The tools of `network.virtualNetworks`. */ export const tools: readonly Tool[] = [ { - name: "network_virtual_networks_create", + name: "network_virtualNetworks_create", title: "Create a virtual network", description: "Adds a new virtual network to an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "comment": { @@ -74,32 +70,44 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, "tunnel_is_default_network_optional": tunnel_is_default_network_optional, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment$, + "tunnel_virtual_network_name": tunnel_virtual_network_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, annotations: { @@ -134,17 +142,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, request: (args) => ({ @@ -153,43 +161,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_virtual_networks_delete", + name: "network_virtualNetworks_delete", title: "Delete a virtual network", description: "Deletes an existing virtual network.\n\nConfirm with the user before calling this tool. This operation permanently deletes a virtual network.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "virtual_network_id": { + "$ref": "#/$defs/tunnel_virtual_network_id", + "description": "UUID of the virtual network." + } + }, + "required": [ + "account_id", + "virtual_network_id" + ], + "type": "object" } }, required: [ - "account_id", - "virtual_network_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_id": tunnel_virtual_network_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, annotations: { @@ -224,17 +240,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, request: (args) => ({ @@ -242,16 +258,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_virtual_networks_edit", + name: "network_virtualNetworks_edit", title: "Update a virtual network", description: "Updates an existing virtual network.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "comment": { @@ -271,37 +283,49 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "virtual_network_id": { + "$ref": "#/$defs/tunnel_virtual_network_id", + "description": "UUID of the virtual network." + } + }, + "required": [ + "account_id", + "virtual_network_id" + ], + "type": "object" } }, required: [ - "account_id", - "virtual_network_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, "tunnel_is_default_network_optional": tunnel_is_default_network_optional, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment$, + "tunnel_virtual_network_id": tunnel_virtual_network_id$, + "tunnel_virtual_network_name": tunnel_virtual_network_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, annotations: { @@ -336,17 +360,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, request: (args) => ({ @@ -355,16 +379,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_virtual_networks_get", + name: "network_virtualNetworks_get", title: "Get a virtual network", description: "Get a virtual network.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "comment": { @@ -383,37 +403,49 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "virtual_network_id": { + "$ref": "#/$defs/tunnel_virtual_network_id", + "description": "UUID of the virtual network." + } + }, + "required": [ + "account_id", + "virtual_network_id" + ], + "type": "object" } }, required: [ - "account_id", - "virtual_network_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_is_default_network": tunnel_is_default_network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_is_default_network": tunnel_is_default_network$, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment$, + "tunnel_virtual_network_id": tunnel_virtual_network_id$, + "tunnel_virtual_network_name": tunnel_virtual_network_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_single", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, annotations: { @@ -442,17 +474,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_single": tunnel_vnet_response_single_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, request: (args) => ({ @@ -461,62 +493,75 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_virtual_networks_list", + name: "network_virtualNetworks_list", title: "List virtual networks", description: "Lists and filters virtual networks in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." - }, - "is_default": { - "deprecated": true, - "description": "If `true`, only include the default virtual network. If `false`, exclude the default virtual network. If empty, all virtual networks will be included.", - "type": "boolean" - }, - "is_default_network": { - "description": "If `true`, only include the default virtual network. If `false`, exclude the default virtual network. If empty, all virtual networks will be included.", - "type": "boolean" - }, - "is_deleted": { - "description": "If `true`, only include deleted virtual networks. If `false`, exclude deleted virtual networks. If empty, all virtual networks will be included.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "name": { - "$ref": "#/$defs/tunnel_virtual_network_name", - "description": "A user-friendly name for the virtual network." + "query": { + "properties": { + "id": { + "$ref": "#/$defs/tunnel_virtual_network_id", + "description": "UUID of the virtual network." + }, + "is_default": { + "deprecated": true, + "description": "If `true`, only include the default virtual network. If `false`, exclude the default virtual network. If empty, all virtual networks will be included.", + "type": "boolean" + }, + "is_default_network": { + "description": "If `true`, only include the default virtual network. If `false`, exclude the default virtual network. If empty, all virtual networks will be included.", + "type": "boolean" + }, + "is_deleted": { + "description": "If `true`, only include deleted virtual networks. If `false`, exclude deleted virtual networks. If empty, all virtual networks will be included.", + "type": "boolean" + }, + "name": { + "$ref": "#/$defs/tunnel_virtual_network_name", + "description": "A user-friendly name for the virtual network." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_virtual_network_id": tunnel_virtual_network_id$, + "tunnel_virtual_network_name": tunnel_virtual_network_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_collection", $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_collection": tunnel_vnet_response_collection_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_collection": tunnel_vnet_response_collection, }, }, annotations: { @@ -553,29 +598,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_is_default_network": tunnel_is_default_network_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_virtual-network": tunnel_virtual_network_output, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment_output, - "tunnel_virtual_network_id": tunnel_virtual_network_id_output, - "tunnel_virtual_network_name": tunnel_virtual_network_name_output, - "tunnel_vnet_response_collection": tunnel_vnet_response_collection_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_is_default_network": tunnel_is_default_network, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_virtual-network": tunnel_virtual$$network, + "tunnel_virtual_network_comment": tunnel_virtual_network_comment, + "tunnel_virtual_network_id": tunnel_virtual_network_id, + "tunnel_virtual_network_name": tunnel_virtual_network_name, + "tunnel_vnet_response_collection": tunnel_vnet_response_collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/teamnet/virtual_networks`, query: [ - ["id", args["id"], true], - ["name", args["name"], true], - ["is_default", args["is_default"], true], - ["is_default_network", args["is_default_network"], true], - ["is_deleted", args["is_deleted"], true], + ["id", param(args, "query", "id"), true], + ["name", param(args, "query", "name"), true], + ["is_default", param(args, "query", "is_default"), true], + ["is_default_network", param(args, "query", "is_default_network"), true], + ["is_deleted", param(args, "query", "is_deleted"), true], ], }), }, diff --git a/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts b/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts index 4234c2a30..03a712033 100644 --- a/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts +++ b/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `nsc_BgpControl` in responses. */ -export const nsc_BgpControl_output: JsonSchema = { +export const nsc_BgpControl: JsonSchema = { "properties": { "customer_asn": { "type": "integer" @@ -38,7 +38,7 @@ export const nsc_BgpControl_output: JsonSchema = { /** * The schema of `nsc_BgpMode` in responses. */ -export const nsc_BgpMode_output: JsonSchema = { +export const nsc_BgpMode: JsonSchema = { "enum": [ "dynamic_route_exchange", "advertise_only" @@ -49,7 +49,7 @@ export const nsc_BgpMode_output: JsonSchema = { /** * The schema of `nsc_Cni` in responses. */ -export const nsc_Cni_output: JsonSchema = { +export const nsc_Cni: JsonSchema = { "properties": { "account": { "$ref": "#/$defs/nsc_AccountTag" @@ -91,7 +91,7 @@ export const nsc_Cni_output: JsonSchema = { /** * The schema of `nsc_CniList` in responses. */ -export const nsc_CniList_output: JsonSchema = { +export const nsc_CniList: JsonSchema = { "properties": { "items": { "items": { @@ -119,7 +119,7 @@ export const nsc_CniList_output: JsonSchema = { /** * The schema of `nsc_MagicSettings` in responses. */ -export const nsc_MagicSettings_output: JsonSchema = { +export const nsc_MagicSettings: JsonSchema = { "properties": { "conduit_name": { "type": "string" diff --git a/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts b/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts index d2cd39981..b2d80b70e 100644 --- a/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts @@ -1,62 +1,70 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { nsc_AccountTag_output } from "../outputs.js"; -import { nsc_AccountTag } from "../schemas.js"; -import { - nsc_BgpControl_output, - nsc_BgpMode_output, - nsc_CniList_output, - nsc_Cni_output, - nsc_MagicSettings_output, -} from "./outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; +import { nsc_AccountTag } from "../outputs.js"; +import { nsc_AccountTag as nsc_AccountTag$ } from "../schemas.js"; import { nsc_BgpControl, nsc_BgpMode, nsc_Cni, - nsc_CniCreate, + nsc_CniList, nsc_MagicSettings, +} from "./outputs.js"; +import { + nsc_BgpControl as nsc_BgpControl$, + nsc_BgpMode as nsc_BgpMode$, + nsc_Cni as nsc_Cni$, + nsc_CniCreate, + nsc_MagicSettings as nsc_MagicSettings$, } from "./schemas.js"; /** - * The tools of `network_interconnects.cnis`. + * The tools of `networkInterconnects.cnis`. */ export const tools: readonly Tool[] = [ { - name: "network_interconnects_cnis_create", + name: "networkInterconnects_cnis_create", title: "Create a new CNI object", description: "Creates a new Cloud Network Interconnect (CNI) for private network connectivity between\nCloudflare and your infrastructure. CNIs enable dedicated, high-performance network links.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, "body": { "$ref": "#/$defs/nsc_CniCreate" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "nsc_AccountTag": nsc_AccountTag, - "nsc_BgpControl": nsc_BgpControl, + "nsc_AccountTag": nsc_AccountTag$, + "nsc_BgpControl": nsc_BgpControl$, "nsc_CniCreate": nsc_CniCreate, - "nsc_MagicSettings": nsc_MagicSettings, + "nsc_MagicSettings": nsc_MagicSettings$, }, }, outputSchema: { "$ref": "#/$defs/nsc_Cni", $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_BgpControl": nsc_BgpControl_output, - "nsc_BgpMode": nsc_BgpMode_output, - "nsc_Cni": nsc_Cni_output, - "nsc_MagicSettings": nsc_MagicSettings_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_BgpControl": nsc_BgpControl, + "nsc_BgpMode": nsc_BgpMode, + "nsc_Cni": nsc_Cni, + "nsc_MagicSettings": nsc_MagicSettings, }, }, annotations: { @@ -84,11 +92,11 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_BgpControl": nsc_BgpControl_output, - "nsc_BgpMode": nsc_BgpMode_output, - "nsc_Cni": nsc_Cni_output, - "nsc_MagicSettings": nsc_MagicSettings_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_BgpControl": nsc_BgpControl, + "nsc_BgpMode": nsc_BgpMode, + "nsc_Cni": nsc_Cni, + "nsc_MagicSettings": nsc_MagicSettings, }, }, request: (args) => ({ @@ -97,28 +105,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_interconnects_cnis_delete", + name: "networkInterconnects_cnis_delete", title: "Delete a specified CNI object", description: "Permanently removes a Cloud Network Interconnect (CNI) configuration. The private network\nconnection will be terminated.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "cni": { - "description": "CNI ID to retrieve information about", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + }, + "cni": { + "description": "CNI ID to retrieve information about", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "cni" + ], + "type": "object" } }, required: [ - "account_id", - "cni" + "path" ], $defs: { - "nsc_AccountTag": nsc_AccountTag, + "nsc_AccountTag": nsc_AccountTag$, }, }, annotations: { @@ -149,38 +165,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_interconnects_cnis_get", + name: "networkInterconnects_cnis_get", title: "Get information about a CNI object", description: "Retrieves configuration details for a specific Cloud Network Interconnect (CNI), including\nconnection status and parameters.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "cni": { - "description": "CNI ID to retrieve information about", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + }, + "cni": { + "description": "CNI ID to retrieve information about", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "cni" + ], + "type": "object" } }, required: [ - "account_id", - "cni" + "path" ], $defs: { - "nsc_AccountTag": nsc_AccountTag, + "nsc_AccountTag": nsc_AccountTag$, }, }, outputSchema: { "$ref": "#/$defs/nsc_Cni", $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_BgpControl": nsc_BgpControl_output, - "nsc_BgpMode": nsc_BgpMode_output, - "nsc_Cni": nsc_Cni_output, - "nsc_MagicSettings": nsc_MagicSettings_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_BgpControl": nsc_BgpControl, + "nsc_BgpMode": nsc_BgpMode, + "nsc_Cni": nsc_Cni, + "nsc_MagicSettings": nsc_MagicSettings, }, }, annotations: { @@ -210,11 +234,11 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_BgpControl": nsc_BgpControl_output, - "nsc_BgpMode": nsc_BgpMode_output, - "nsc_Cni": nsc_Cni_output, - "nsc_MagicSettings": nsc_MagicSettings_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_BgpControl": nsc_BgpControl, + "nsc_BgpMode": nsc_BgpMode, + "nsc_Cni": nsc_Cni, + "nsc_MagicSettings": nsc_MagicSettings, }, }, request: (args) => ({ @@ -222,75 +246,88 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_interconnects_cnis_list", + name: "networkInterconnects_cnis_list", title: "List existing CNI objects", description: "Lists all Cloud Network Interconnects (CNIs) configured for the account, showing connection\nstatus and parameters.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "cursor": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" } - ] + }, + "required": [ + "account_id" + ], + "type": "object" }, - "limit": { - "oneOf": [ - { - "type": "integer" + "query": { + "properties": { + "cursor": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "slot": { - "description": "If specified, only show CNIs associated with the specified slot", - "oneOf": [ - { - "type": "string" + "limit": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "tunnel_id": { - "description": "If specified, only show cnis associated with the specified tunnel id", - "oneOf": [ - { - "type": "string" + "slot": { + "description": "If specified, only show CNIs associated with the specified slot", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" + "tunnel_id": { + "description": "If specified, only show cnis associated with the specified tunnel id", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } - ] + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "nsc_AccountTag": nsc_AccountTag, + "nsc_AccountTag": nsc_AccountTag$, }, }, outputSchema: { "$ref": "#/$defs/nsc_CniList", $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_BgpControl": nsc_BgpControl_output, - "nsc_BgpMode": nsc_BgpMode_output, - "nsc_Cni": nsc_Cni_output, - "nsc_CniList": nsc_CniList_output, - "nsc_MagicSettings": nsc_MagicSettings_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_BgpControl": nsc_BgpControl, + "nsc_BgpMode": nsc_BgpMode, + "nsc_Cni": nsc_Cni, + "nsc_CniList": nsc_CniList, + "nsc_MagicSettings": nsc_MagicSettings, }, }, annotations: { @@ -320,65 +357,73 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_BgpControl": nsc_BgpControl_output, - "nsc_BgpMode": nsc_BgpMode_output, - "nsc_Cni": nsc_Cni_output, - "nsc_CniList": nsc_CniList_output, - "nsc_MagicSettings": nsc_MagicSettings_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_BgpControl": nsc_BgpControl, + "nsc_BgpMode": nsc_BgpMode, + "nsc_Cni": nsc_Cni, + "nsc_CniList": nsc_CniList, + "nsc_MagicSettings": nsc_MagicSettings, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/cnis`, query: [ - ["slot", args["slot"], true], - ["tunnel_id", args["tunnel_id"], true], - ["cursor", args["cursor"], true], - ["limit", args["limit"], true], + ["slot", param(args, "query", "slot"), true], + ["tunnel_id", param(args, "query", "tunnel_id"), true], + ["cursor", param(args, "query", "cursor"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, { - name: "network_interconnects_cnis_update", + name: "networkInterconnects_cnis_update", title: "Modify stored information about a CNI object", description: "Updates the configuration of an existing Cloud Network Interconnect (CNI), including\nconnection parameters and routing settings.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, "body": { "$ref": "#/$defs/nsc_Cni" }, - "cni": { - "description": "CNI ID to retrieve information about", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + }, + "cni": { + "description": "CNI ID to retrieve information about", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "cni" + ], + "type": "object" } }, required: [ - "account_id", - "cni", + "path", "body" ], $defs: { - "nsc_AccountTag": nsc_AccountTag, - "nsc_BgpControl": nsc_BgpControl, - "nsc_BgpMode": nsc_BgpMode, - "nsc_Cni": nsc_Cni, - "nsc_MagicSettings": nsc_MagicSettings, + "nsc_AccountTag": nsc_AccountTag$, + "nsc_BgpControl": nsc_BgpControl$, + "nsc_BgpMode": nsc_BgpMode$, + "nsc_Cni": nsc_Cni$, + "nsc_MagicSettings": nsc_MagicSettings$, }, }, outputSchema: { "$ref": "#/$defs/nsc_Cni", $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_BgpControl": nsc_BgpControl_output, - "nsc_BgpMode": nsc_BgpMode_output, - "nsc_Cni": nsc_Cni_output, - "nsc_MagicSettings": nsc_MagicSettings_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_BgpControl": nsc_BgpControl, + "nsc_BgpMode": nsc_BgpMode, + "nsc_Cni": nsc_Cni, + "nsc_MagicSettings": nsc_MagicSettings, }, }, annotations: { @@ -406,11 +451,11 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_BgpControl": nsc_BgpControl_output, - "nsc_BgpMode": nsc_BgpMode_output, - "nsc_Cni": nsc_Cni_output, - "nsc_MagicSettings": nsc_MagicSettings_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_BgpControl": nsc_BgpControl, + "nsc_BgpMode": nsc_BgpMode, + "nsc_Cni": nsc_Cni, + "nsc_MagicSettings": nsc_MagicSettings, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts b/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts index 11190f7f2..b9093ed06 100644 --- a/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts +++ b/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `nsc_ApiBandwidth` in responses. */ -export const nsc_ApiBandwidth_output: JsonSchema = { +export const nsc_ApiBandwidth: JsonSchema = { "enum": [ "50M", "100M", @@ -27,14 +27,14 @@ export const nsc_ApiBandwidth_output: JsonSchema = { /** * The schema of `nsc_CloudflareSite` in responses. */ -export const nsc_CloudflareSite_output: JsonSchema = { +export const nsc_CloudflareSite: JsonSchema = { "type": "string" }; /** * The schema of `nsc_DefaultNameResponse` in responses. */ -export const nsc_DefaultNameResponse_output: JsonSchema = { +export const nsc_DefaultNameResponse: JsonSchema = { "properties": { "name": { "type": "string" @@ -49,7 +49,7 @@ export const nsc_DefaultNameResponse_output: JsonSchema = { /** * The schema of `nsc_Interconnect` in responses. */ -export const nsc_Interconnect_output: JsonSchema = { +export const nsc_Interconnect: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/nsc_Interconnect_Physical_Body" @@ -63,7 +63,7 @@ export const nsc_Interconnect_output: JsonSchema = { /** * The schema of `nsc_InterconnectList` in responses. */ -export const nsc_InterconnectList_output: JsonSchema = { +export const nsc_InterconnectList: JsonSchema = { "properties": { "items": { "items": { @@ -91,7 +91,7 @@ export const nsc_InterconnectList_output: JsonSchema = { /** * The schema of `nsc_Interconnect_GcpPartner_Body` in responses. */ -export const nsc_Interconnect_GcpPartner_Body_output: JsonSchema = { +export const nsc_Interconnect_GcpPartner_Body: JsonSchema = { "allOf": [ { "properties": { @@ -140,7 +140,7 @@ export const nsc_Interconnect_GcpPartner_Body_output: JsonSchema = { /** * The schema of `nsc_Interconnect_Physical_Body` in responses. */ -export const nsc_Interconnect_Physical_Body_output: JsonSchema = { +export const nsc_Interconnect_Physical_Body: JsonSchema = { "allOf": [ { "properties": { @@ -209,7 +209,7 @@ export const nsc_Interconnect_Physical_Body_output: JsonSchema = { /** * The schema of `nsc_StatusInfo` in responses. */ -export const nsc_StatusInfo_output: JsonSchema = { +export const nsc_StatusInfo: JsonSchema = { "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts b/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts index 23c3f6b56..2c2faff4c 100644 --- a/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts @@ -1,52 +1,60 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { nsc_FacilityInfo_output } from "../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; +import { nsc_FacilityInfo } from "../outputs.js"; import { nsc_AccountTag } from "../schemas.js"; import { - nsc_ApiBandwidth_output, - nsc_CloudflareSite_output, - nsc_DefaultNameResponse_output, - nsc_InterconnectList_output, - nsc_Interconnect_GcpPartner_Body_output, - nsc_Interconnect_Physical_Body_output, - nsc_Interconnect_output, - nsc_StatusInfo_output, + nsc_ApiBandwidth, + nsc_CloudflareSite, + nsc_DefaultNameResponse, + nsc_Interconnect, + nsc_InterconnectList, + nsc_Interconnect_GcpPartner_Body, + nsc_Interconnect_Physical_Body, + nsc_StatusInfo, } from "./outputs.js"; import { - nsc_ApiBandwidth, + nsc_ApiBandwidth as nsc_ApiBandwidth$, nsc_InterconnectCreate, nsc_InterconnectCreate_GcpPartner_Body, nsc_InterconnectCreate_Physical_Body, } from "./schemas.js"; /** - * The tools of `network_interconnects.interconnects`. + * The tools of `networkInterconnects.interconnects`. */ export const tools: readonly Tool[] = [ { - name: "network_interconnects_interconnects_create", + name: "networkInterconnects_interconnects_create", title: "Create a new interconnect", description: "Creates a new network interconnect for connecting Cloudflare's network to external networks.\nInterconnects provide dedicated bandwidth and reduced latency for traffic exchange.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, "body": { "$ref": "#/$defs/nsc_InterconnectCreate" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "nsc_AccountTag": nsc_AccountTag, - "nsc_ApiBandwidth": nsc_ApiBandwidth, + "nsc_ApiBandwidth": nsc_ApiBandwidth$, "nsc_InterconnectCreate": nsc_InterconnectCreate, "nsc_InterconnectCreate_GcpPartner_Body": nsc_InterconnectCreate_GcpPartner_Body, "nsc_InterconnectCreate_Physical_Body": nsc_InterconnectCreate_Physical_Body, @@ -55,12 +63,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/nsc_Interconnect", $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth_output, - "nsc_CloudflareSite": nsc_CloudflareSite_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_Interconnect": nsc_Interconnect_output, - "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body_output, - "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body_output, + "nsc_ApiBandwidth": nsc_ApiBandwidth, + "nsc_CloudflareSite": nsc_CloudflareSite, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_Interconnect": nsc_Interconnect, + "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, + "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body, }, }, annotations: { @@ -87,12 +95,12 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth_output, - "nsc_CloudflareSite": nsc_CloudflareSite_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_Interconnect": nsc_Interconnect_output, - "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body_output, - "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body_output, + "nsc_ApiBandwidth": nsc_ApiBandwidth, + "nsc_CloudflareSite": nsc_CloudflareSite, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_Interconnect": nsc_Interconnect, + "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, + "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body, }, }, request: (args) => ({ @@ -101,24 +109,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_interconnects_interconnects_delete", + name: "networkInterconnects_interconnects_delete", title: "Delete an interconnect object", description: "Permanently removes a network interconnect configuration. The physical or virtual connection\nwill be terminated.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "icon": { - "description": "Interconnect name to retrieve information about", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + }, + "icon": { + "description": "Interconnect name to retrieve information about", + "type": "string" + } + }, + "required": [ + "account_id", + "icon" + ], + "type": "object" } }, required: [ - "account_id", - "icon" + "path" ], $defs: { "nsc_AccountTag": nsc_AccountTag, @@ -152,24 +168,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_interconnects_interconnects_get", + name: "networkInterconnects_interconnects_get", title: "Get information about an interconnect object", description: "Retrieves configuration and status details for a specific network interconnect.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "icon": { - "description": "Interconnect name to retrieve information about", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + }, + "icon": { + "description": "Interconnect name to retrieve information about", + "type": "string" + } + }, + "required": [ + "account_id", + "icon" + ], + "type": "object" } }, required: [ - "account_id", - "icon" + "path" ], $defs: { "nsc_AccountTag": nsc_AccountTag, @@ -178,12 +202,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/nsc_Interconnect", $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth_output, - "nsc_CloudflareSite": nsc_CloudflareSite_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_Interconnect": nsc_Interconnect_output, - "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body_output, - "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body_output, + "nsc_ApiBandwidth": nsc_ApiBandwidth, + "nsc_CloudflareSite": nsc_CloudflareSite, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_Interconnect": nsc_Interconnect, + "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, + "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body, }, }, annotations: { @@ -213,12 +237,12 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth_output, - "nsc_CloudflareSite": nsc_CloudflareSite_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_Interconnect": nsc_Interconnect_output, - "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body_output, - "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body_output, + "nsc_ApiBandwidth": nsc_ApiBandwidth, + "nsc_CloudflareSite": nsc_CloudflareSite, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_Interconnect": nsc_Interconnect, + "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, + "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body, }, }, request: (args) => ({ @@ -226,61 +250,74 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_interconnects_interconnects_list", + name: "networkInterconnects_interconnects_list", title: "List existing interconnects", description: "Lists all network interconnects configured for the account, including physical and virtual\nconnections.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "cursor": { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" } - ] + }, + "required": [ + "account_id" + ], + "type": "object" }, - "limit": { - "oneOf": [ - { - "type": "integer" + "query": { + "properties": { + "cursor": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "site": { - "description": "If specified, only show interconnects located at the given site", - "oneOf": [ - { - "type": "string" + "limit": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "type": { - "description": "If specified, only show interconnects of the given type", - "oneOf": [ - { - "type": "string" + "site": { + "description": "If specified, only show interconnects located at the given site", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" + "type": { + "description": "If specified, only show interconnects of the given type", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } - ] + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "nsc_AccountTag": nsc_AccountTag, @@ -289,13 +326,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/nsc_InterconnectList", $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth_output, - "nsc_CloudflareSite": nsc_CloudflareSite_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_Interconnect": nsc_Interconnect_output, - "nsc_InterconnectList": nsc_InterconnectList_output, - "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body_output, - "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body_output, + "nsc_ApiBandwidth": nsc_ApiBandwidth, + "nsc_CloudflareSite": nsc_CloudflareSite, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_Interconnect": nsc_Interconnect, + "nsc_InterconnectList": nsc_InterconnectList, + "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, + "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body, }, }, annotations: { @@ -324,55 +361,68 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth_output, - "nsc_CloudflareSite": nsc_CloudflareSite_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_Interconnect": nsc_Interconnect_output, - "nsc_InterconnectList": nsc_InterconnectList_output, - "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body_output, - "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body_output, + "nsc_ApiBandwidth": nsc_ApiBandwidth, + "nsc_CloudflareSite": nsc_CloudflareSite, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_Interconnect": nsc_Interconnect, + "nsc_InterconnectList": nsc_InterconnectList, + "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, + "nsc_Interconnect_Physical_Body": nsc_Interconnect_Physical_Body, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/interconnects`, query: [ - ["site", args["site"], true], - ["type", args["type"], true], - ["cursor", args["cursor"], true], - ["limit", args["limit"], true], + ["site", param(args, "query", "site"), true], + ["type", param(args, "query", "type"), true], + ["cursor", param(args, "query", "cursor"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, { - name: "network_interconnects_interconnects_loa", + name: "networkInterconnects_interconnects_loa", title: "Generate the Letter of Authorization (LOA) for a given interconnect", description: "Downloads the Letter of Authorization (LOA) for a network interconnect, required for\nphysical cross-connect provisioning.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "icon": { - "description": "Interconnect name to retrieve information about", - "type": "string" - }, - "name": { - "description": "Custom name to use in the LOA instead of the account name (200 Character limit)", - "oneOf": [ - { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" }, - { - "type": "null" + "icon": { + "description": "Interconnect name to retrieve information about", + "type": "string" } - ] + }, + "required": [ + "account_id", + "icon" + ], + "type": "object" + }, + "query": { + "properties": { + "name": { + "description": "Custom name to use in the LOA instead of the account name (200 Character limit)", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + } + }, + "type": "object" } }, required: [ - "account_id", - "icon" + "path" ], $defs: { "nsc_AccountTag": nsc_AccountTag, @@ -406,29 +456,37 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/interconnects/${pathParam(args, "icon")}/loa`, query: [ - ["name", args["name"], true], + ["name", param(args, "query", "name"), true], ], }), }, { - name: "network_interconnects_interconnects_loa_default_name", + name: "networkInterconnects_interconnects_loaDefaultName", title: "Get the default customer name for LOA generation", description: "Retrieves the default customer name that will be used in the LOA if no name is provided to the\n`/accounts/{account_id}/cni/interconnects/{icon}/loa` endpoint.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "icon": { - "description": "Interconnect name to retrieve information about", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + }, + "icon": { + "description": "Interconnect name to retrieve information about", + "type": "string" + } + }, + "required": [ + "account_id", + "icon" + ], + "type": "object" } }, required: [ - "account_id", - "icon" + "path" ], $defs: { "nsc_AccountTag": nsc_AccountTag, @@ -437,7 +495,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/nsc_DefaultNameResponse", $defs: { - "nsc_DefaultNameResponse": nsc_DefaultNameResponse_output, + "nsc_DefaultNameResponse": nsc_DefaultNameResponse, }, }, annotations: { @@ -467,7 +525,7 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_DefaultNameResponse": nsc_DefaultNameResponse_output, + "nsc_DefaultNameResponse": nsc_DefaultNameResponse, }, }, request: (args) => ({ @@ -475,24 +533,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_interconnects_interconnects_status", + name: "networkInterconnects_interconnects_status", title: "Get the current status of an interconnect object", description: "Gets the current operational status of a network interconnect, including link state and\ntraffic metrics.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "icon": { - "description": "Interconnect name to retrieve information about", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + }, + "icon": { + "description": "Interconnect name to retrieve information about", + "type": "string" + } + }, + "required": [ + "account_id", + "icon" + ], + "type": "object" } }, required: [ - "account_id", - "icon" + "path" ], $defs: { "nsc_AccountTag": nsc_AccountTag, @@ -501,7 +567,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/nsc_StatusInfo", $defs: { - "nsc_StatusInfo": nsc_StatusInfo_output, + "nsc_StatusInfo": nsc_StatusInfo, }, }, annotations: { @@ -531,7 +597,7 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_StatusInfo": nsc_StatusInfo_output, + "nsc_StatusInfo": nsc_StatusInfo, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/networkInterconnects/outputs.ts b/src/generated/forge-mcp/networkInterconnects/outputs.ts index 1a96d0fd4..5bd17d896 100644 --- a/src/generated/forge-mcp/networkInterconnects/outputs.ts +++ b/src/generated/forge-mcp/networkInterconnects/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `nsc_AccountTag` in responses. */ -export const nsc_AccountTag_output: JsonSchema = { +export const nsc_AccountTag: JsonSchema = { "type": "string" }; /** * The schema of `nsc_FacilityInfo` in responses. */ -export const nsc_FacilityInfo_output: JsonSchema = { +export const nsc_FacilityInfo: JsonSchema = { "properties": { "address": { "items": { diff --git a/src/generated/forge-mcp/networkInterconnects/settings/outputs.ts b/src/generated/forge-mcp/networkInterconnects/settings/outputs.ts index 512247172..db8423664 100644 --- a/src/generated/forge-mcp/networkInterconnects/settings/outputs.ts +++ b/src/generated/forge-mcp/networkInterconnects/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `nsc_Settings` in responses. */ -export const nsc_Settings_output: JsonSchema = { +export const nsc_Settings: JsonSchema = { "properties": { "default_asn": { "type": "integer" diff --git a/src/generated/forge-mcp/networkInterconnects/settings/tools.ts b/src/generated/forge-mcp/networkInterconnects/settings/tools.ts index dcee7f1e1..e45760f56 100644 --- a/src/generated/forge-mcp/networkInterconnects/settings/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/settings/tools.ts @@ -2,33 +2,41 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { nsc_Settings_output } from "./outputs.js"; +import { nsc_Settings } from "./outputs.js"; import { nsc_SettingsRequest } from "./schemas.js"; /** - * The tools of `network_interconnects.settings`. + * The tools of `networkInterconnects.settings`. */ export const tools: readonly Tool[] = [ { - name: "network_interconnects_settings_get", + name: "networkInterconnects_settings_get", title: "Get the current settings for the active account", description: "Retrieves current settings configuration for the specified resource or service.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account tag to retrieve settings for", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account tag to retrieve settings for", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/nsc_Settings", $defs: { - "nsc_Settings": nsc_Settings_output, + "nsc_Settings": nsc_Settings, }, }, annotations: { @@ -58,7 +66,7 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_Settings": nsc_Settings_output, + "nsc_Settings": nsc_Settings, }, }, request: (args) => ({ @@ -66,22 +74,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_interconnects_settings_update", + name: "networkInterconnects_settings_update", title: "Update the current settings for the active account", description: "Updates configuration settings for the specified resource or service.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account tag to update settings for", - "type": "string" - }, "body": { "$ref": "#/$defs/nsc_SettingsRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Account tag to update settings for", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -91,7 +107,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/nsc_Settings", $defs: { - "nsc_Settings": nsc_Settings_output, + "nsc_Settings": nsc_Settings, }, }, annotations: { @@ -119,7 +135,7 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_Settings": nsc_Settings_output, + "nsc_Settings": nsc_Settings, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts b/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts index 3b5844721..dd398dde5 100644 --- a/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts +++ b/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `nsc_SlotInfo` in responses. */ -export const nsc_SlotInfo_output: JsonSchema = { +export const nsc_SlotInfo: JsonSchema = { "properties": { "account": { "$ref": "#/$defs/nsc_AccountTag" @@ -51,7 +51,7 @@ export const nsc_SlotInfo_output: JsonSchema = { /** * The schema of `nsc_SlotList` in responses. */ -export const nsc_SlotList_output: JsonSchema = { +export const nsc_SlotList: JsonSchema = { "properties": { "items": { "items": { diff --git a/src/generated/forge-mcp/networkInterconnects/slots/tools.ts b/src/generated/forge-mcp/networkInterconnects/slots/tools.ts index 28d367db5..c63c8c94e 100644 --- a/src/generated/forge-mcp/networkInterconnects/slots/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/slots/tools.ts @@ -1,45 +1,53 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { nsc_AccountTag_output, nsc_FacilityInfo_output } from "../outputs.js"; -import { nsc_AccountTag } from "../schemas.js"; -import { nsc_SlotInfo_output, nsc_SlotList_output } from "./outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; +import { nsc_AccountTag, nsc_FacilityInfo } from "../outputs.js"; +import { nsc_AccountTag as nsc_AccountTag$ } from "../schemas.js"; +import { nsc_SlotInfo, nsc_SlotList } from "./outputs.js"; /** - * The tools of `network_interconnects.slots`. + * The tools of `networkInterconnects.slots`. */ export const tools: readonly Tool[] = [ { - name: "network_interconnects_slots_get", + name: "networkInterconnects_slots_get", title: "Get information about the specified slot", description: "Gets information about a specific infrastructure slot allocation.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "slot": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" + }, + "slot": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "slot" + ], + "type": "object" } }, required: [ - "account_id", - "slot" + "path" ], $defs: { - "nsc_AccountTag": nsc_AccountTag, + "nsc_AccountTag": nsc_AccountTag$, }, }, outputSchema: { "$ref": "#/$defs/nsc_SlotInfo", $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_SlotInfo": nsc_SlotInfo_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_SlotInfo": nsc_SlotInfo, }, }, annotations: { @@ -69,9 +77,9 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_SlotInfo": nsc_SlotInfo_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_SlotInfo": nsc_SlotInfo, }, }, request: (args) => ({ @@ -79,95 +87,108 @@ export const tools: readonly Tool[] = [ }), }, { - name: "network_interconnects_slots_list", + name: "networkInterconnects_slots_list", title: "Retrieve a list of all slots matching the specified parameters", description: "Lists all available infrastructure slots for the account, showing allocation status and\ncapacity.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" - }, - "address_contains": { - "description": "If specified, only show slots with the given text in their address field", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/nsc_AccountTag", + "description": "Customer account tag" } - ] + }, + "required": [ + "account_id" + ], + "type": "object" }, - "cursor": { - "oneOf": [ - { - "type": "integer" + "query": { + "properties": { + "address_contains": { + "description": "If specified, only show slots with the given text in their address field", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "limit": { - "oneOf": [ - { - "type": "integer" + "cursor": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "occupied": { - "description": "If specified, only show slots with a specific occupied/unoccupied state", - "oneOf": [ - { - "type": "boolean" + "limit": { + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "site": { - "description": "If specified, only show slots located at the given site", - "oneOf": [ - { - "type": "string" + "occupied": { + "description": "If specified, only show slots with a specific occupied/unoccupied state", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "speed": { - "description": "If specified, only show slots that support the given speed", - "oneOf": [ - { - "type": "string" + "site": { + "description": "If specified, only show slots located at the given site", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" + "speed": { + "description": "If specified, only show slots that support the given speed", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } - ] + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "nsc_AccountTag": nsc_AccountTag, + "nsc_AccountTag": nsc_AccountTag$, }, }, outputSchema: { "$ref": "#/$defs/nsc_SlotList", $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_SlotInfo": nsc_SlotInfo_output, - "nsc_SlotList": nsc_SlotList_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_SlotInfo": nsc_SlotInfo, + "nsc_SlotList": nsc_SlotList, }, }, annotations: { @@ -196,21 +217,21 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag_output, - "nsc_FacilityInfo": nsc_FacilityInfo_output, - "nsc_SlotInfo": nsc_SlotInfo_output, - "nsc_SlotList": nsc_SlotList_output, + "nsc_AccountTag": nsc_AccountTag, + "nsc_FacilityInfo": nsc_FacilityInfo, + "nsc_SlotInfo": nsc_SlotInfo, + "nsc_SlotList": nsc_SlotList, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cni/slots`, query: [ - ["address_contains", args["address_contains"], true], - ["site", args["site"], true], - ["speed", args["speed"], true], - ["occupied", args["occupied"], true], - ["cursor", args["cursor"], true], - ["limit", args["limit"], true], + ["address_contains", param(args, "query", "address_contains"), true], + ["site", param(args, "query", "site"), true], + ["speed", param(args, "query", "speed"), true], + ["occupied", param(args, "query", "occupied"), true], + ["cursor", param(args, "query", "cursor"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, diff --git a/src/generated/forge-mcp/o11y/agents/sessions/outputs.ts b/src/generated/forge-mcp/o11y/agents/sessions/outputs.ts index 1044b6e26..95a50ad6f 100644 --- a/src/generated/forge-mcp/o11y/agents/sessions/outputs.ts +++ b/src/generated/forge-mcp/o11y/agents/sessions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `workers-observability_agent_session` in responses. */ -export const workers_observability_agent_session_output: JsonSchema = { +export const workers$$observability_agent_session: JsonSchema = { "properties": { "conversationId": { "type": "string" @@ -65,7 +65,7 @@ export const workers_observability_agent_session_output: JsonSchema = { /** * The schema of `workers-observability_agent_session_run` in responses. */ -export const workers_observability_agent_session_run_output: JsonSchema = { +export const workers$$observability_agent_session_run: JsonSchema = { "properties": { "conversationId": { "type": "string" diff --git a/src/generated/forge-mcp/o11y/agents/sessions/tools.ts b/src/generated/forge-mcp/o11y/agents/sessions/tools.ts index 78540a794..613a1c603 100644 --- a/src/generated/forge-mcp/o11y/agents/sessions/tools.ts +++ b/src/generated/forge-mcp/o11y/agents/sessions/tools.ts @@ -1,10 +1,10 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - workers_observability_agent_session_output, - workers_observability_agent_session_run_output, + workers$$observability_agent_session, + workers$$observability_agent_session_run, } from "./outputs.js"; /** @@ -18,41 +18,57 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "agent": { - "description": "Agent name reported in gen_ai.agent.name. The request is limited to conversations in which this service and agent participated.", - "type": "string" - }, - "cursor": { - "description": "Opaque cursor from result_info.cursors.after in the previous response.", - "type": "string" - }, - "from": { - "description": "Start of the requested time range, as Unix epoch milliseconds. Values earlier than the 7-day retention boundary are clamped.", - "type": "integer" - }, - "per_page": { - "description": "Maximum number of items to return. Defaults to 20 and cannot exceed 100.", - "type": "integer" - }, - "service": { - "description": "Worker service name associated with the participating agent.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "to": { - "description": "End of the requested time range, as Unix epoch milliseconds. Must be later than from.", - "type": "integer" + "query": { + "properties": { + "agent": { + "description": "Agent name reported in gen_ai.agent.name. The request is limited to conversations in which this service and agent participated.", + "type": "string" + }, + "cursor": { + "description": "Opaque cursor from result_info.cursors.after in the previous response.", + "type": "string" + }, + "from": { + "description": "Start of the requested time range, as Unix epoch milliseconds. Values earlier than the 7-day retention boundary are clamped.", + "type": "integer" + }, + "per_page": { + "description": "Maximum number of items to return. Defaults to 20 and cannot exceed 100.", + "type": "integer" + }, + "service": { + "description": "Worker service name associated with the participating agent.", + "type": "string" + }, + "to": { + "description": "End of the requested time range, as Unix epoch milliseconds. Must be later than from.", + "type": "integer" + } + }, + "required": [ + "service", + "agent", + "from", + "to" + ], + "type": "object" } }, required: [ - "account_id", - "service", - "agent", - "from", - "to" + "path", + "query" ], }, outputSchema: { @@ -144,7 +160,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_agent_session": workers_observability_agent_session_output, + "workers-observability_agent_session": workers$$observability_agent_session, }, }, annotations: { @@ -549,18 +565,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_agent_session": workers_observability_agent_session_output, + "workers-observability_agent_session": workers$$observability_agent_session, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/agents/sessions`, query: [ - ["service", args["service"], true], - ["agent", args["agent"], true], - ["from", args["from"], true], - ["to", args["to"], true], - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], + ["service", param(args, "query", "service"), true], + ["agent", param(args, "query", "agent"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -571,46 +587,62 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "agent": { - "description": "Agent name reported in gen_ai.agent.name. The request is limited to conversations in which this service and agent participated.", - "type": "string" - }, - "conversation_id": { - "description": "OpenTelemetry gen_ai.conversation.id value that identifies the session.", - "type": "string" - }, - "cursor": { - "description": "Opaque cursor from result_info.cursors.after in the previous response.", - "type": "string" - }, - "from": { - "description": "Start of the requested time range, as Unix epoch milliseconds. Values earlier than the 7-day retention boundary are clamped.", - "type": "integer" - }, - "per_page": { - "description": "Maximum number of items to return. Defaults to 20 and cannot exceed 100.", - "type": "integer" - }, - "service": { - "description": "Worker service name associated with the participating agent.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "conversationId": { + "description": "OpenTelemetry gen_ai.conversation.id value that identifies the session.", + "type": "string" + } + }, + "required": [ + "account_id", + "conversationId" + ], + "type": "object" }, - "to": { - "description": "End of the requested time range, as Unix epoch milliseconds. Must be later than from.", - "type": "integer" + "query": { + "properties": { + "agent": { + "description": "Agent name reported in gen_ai.agent.name. The request is limited to conversations in which this service and agent participated.", + "type": "string" + }, + "cursor": { + "description": "Opaque cursor from result_info.cursors.after in the previous response.", + "type": "string" + }, + "from": { + "description": "Start of the requested time range, as Unix epoch milliseconds. Values earlier than the 7-day retention boundary are clamped.", + "type": "integer" + }, + "per_page": { + "description": "Maximum number of items to return. Defaults to 20 and cannot exceed 100.", + "type": "integer" + }, + "service": { + "description": "Worker service name associated with the participating agent.", + "type": "string" + }, + "to": { + "description": "End of the requested time range, as Unix epoch milliseconds. Must be later than from.", + "type": "integer" + } + }, + "required": [ + "service", + "agent", + "from", + "to" + ], + "type": "object" } }, required: [ - "account_id", - "conversation_id", - "service", - "agent", - "from", - "to" + "path", + "query" ], }, outputSchema: { @@ -702,7 +734,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_agent_session_run": workers_observability_agent_session_run_output, + "workers-observability_agent_session_run": workers$$observability_agent_session_run, }, }, annotations: { @@ -1107,18 +1139,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_agent_session_run": workers_observability_agent_session_run_output, + "workers-observability_agent_session_run": workers$$observability_agent_session_run, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/agents/sessions/${pathParam(args, "conversation_id")}/runs`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/agents/sessions/${pathParam(args, "conversationId")}/runs`, query: [ - ["service", args["service"], true], - ["agent", args["agent"], true], - ["from", args["from"], true], - ["to", args["to"], true], - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], + ["service", param(args, "query", "service"), true], + ["agent", param(args, "query", "agent"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/o11y/destinations/tools.ts b/src/generated/forge-mcp/o11y/destinations/tools.ts index a6e7560cd..ea1aaed75 100644 --- a/src/generated/forge-mcp/o11y/destinations/tools.ts +++ b/src/generated/forge-mcp/o11y/destinations/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `o11y.destinations`. @@ -14,10 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "configuration": { @@ -70,10 +66,22 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -573,17 +581,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "slug": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "account_id", + "slug" + ], + "type": "object" } }, required: [ - "account_id", - "slug" + "path" ], }, outputSchema: { @@ -1080,37 +1096,50 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "order": { - "default": "desc", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order_by": { - "default": "updated", - "enum": [ - "created", - "updated" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "type": "number" + "type": "object" }, - "per_page": { - "default": 20, - "type": "number" + "query": { + "properties": { + "order": { + "default": "desc", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "orderBy": { + "default": "updated", + "enum": [ + "created", + "updated" + ], + "type": "string" + }, + "page": { + "default": 1, + "type": "number" + }, + "perPage": { + "default": 20, + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1557,10 +1586,10 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/destinations`, query: [ - ["page", args["page"], true], - ["perPage", args["per_page"], true], - ["order", args["order"], true], - ["orderBy", args["order_by"], true], + ["page", param(args, "query", "page"), true], + ["perPage", param(args, "query", "perPage"), true], + ["order", param(args, "query", "order"), true], + ["orderBy", param(args, "query", "orderBy"), true], ], }), }, @@ -1571,10 +1600,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "configuration": { @@ -1621,13 +1646,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "slug": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "slug": { + "type": "string" + } + }, + "required": [ + "account_id", + "slug" + ], + "type": "object" } }, required: [ - "account_id", - "slug" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/o11y/issues/automations/tools.ts b/src/generated/forge-mcp/o11y/issues/automations/tools.ts index 26b5a155b..e40bf20da 100644 --- a/src/generated/forge-mcp/o11y/issues/automations/tools.ts +++ b/src/generated/forge-mcp/o11y/issues/automations/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `o11y.issues.automations`. @@ -14,10 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "afterInactivitySeconds": { @@ -43,10 +39,22 @@ export const tools: readonly Tool[] = [ "policyId" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -621,17 +629,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "automation_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "automationId": { + "type": "string" + } + }, + "required": [ + "account_id", + "automationId" + ], + "type": "object" } }, required: [ - "account_id", - "automation_id" + "path" ], }, outputSchema: { @@ -1194,7 +1210,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations/${pathParam(args, "automation_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations/${pathParam(args, "automationId")}`, }), }, { @@ -1204,17 +1220,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "automation_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "automationId": { + "type": "string" + } + }, + "required": [ + "account_id", + "automationId" + ], + "type": "object" } }, required: [ - "account_id", - "automation_id" + "path" ], }, outputSchema: { @@ -1777,7 +1801,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations/${pathParam(args, "automation_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations/${pathParam(args, "automationId")}`, }), }, { @@ -1787,16 +1811,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "service": { - "type": "string" + "query": { + "properties": { + "service": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2367,7 +2404,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations`, query: [ - ["service", args["service"], true], + ["service", param(args, "query", "service"), true], ], }), }, @@ -2378,13 +2415,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "automation_id": { - "type": "string" - }, "body": { "properties": { "afterInactivitySeconds": { @@ -2410,11 +2440,26 @@ export const tools: readonly Tool[] = [ "policyId" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "automationId": { + "type": "string" + } + }, + "required": [ + "account_id", + "automationId" + ], + "type": "object" } }, required: [ - "account_id", - "automation_id", + "path", "body" ], }, @@ -2978,7 +3023,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations/${pathParam(args, "automation_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/automations/${pathParam(args, "automationId")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, diff --git a/src/generated/forge-mcp/o11y/issues/outputs.ts b/src/generated/forge-mcp/o11y/issues/outputs.ts index 97a135507..196100f44 100644 --- a/src/generated/forge-mcp/o11y/issues/outputs.ts +++ b/src/generated/forge-mcp/o11y/issues/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers-observability_issue_occurrence` in responses. */ -export const workers_observability_issue_occurrence_output: JsonSchema = { +export const workers$$observability_issue_occurrence: JsonSchema = { "properties": { "context": { "properties": { diff --git a/src/generated/forge-mcp/o11y/issues/tools.ts b/src/generated/forge-mcp/o11y/issues/tools.ts index f5cdf1edf..34e002565 100644 --- a/src/generated/forge-mcp/o11y/issues/tools.ts +++ b/src/generated/forge-mcp/o11y/issues/tools.ts @@ -1,8 +1,8 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { workers_observability_issue_occurrence_output } from "./outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; +import { workers$$observability_issue_occurrence } from "./outputs.js"; /** * The tools of `o11y.issues`. @@ -15,10 +15,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "issueIds": { @@ -35,13 +31,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "groupId": { + "type": "string" + } + }, + "required": [ + "account_id", + "groupId" + ], + "type": "object" } }, required: [ - "account_id", - "group_id", + "path", "body" ], }, @@ -615,7 +623,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups/${pathParam(args, "group_id")}/members`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups/${pathParam(args, "groupId")}/members`, body: { value: args["body"], mediaType: "application/json" }, }), }, @@ -626,17 +634,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "issue_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "issueId": { + "type": "string" + } + }, + "required": [ + "account_id", + "issueId" + ], + "type": "object" } }, required: [ - "account_id", - "issue_id" + "path" ], }, outputSchema: { @@ -1369,7 +1385,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issue_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issueId")}`, }), }, { @@ -1379,10 +1395,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "issueIds": { @@ -1402,10 +1414,22 @@ export const tools: readonly Tool[] = [ "title" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -1990,59 +2014,72 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "order": { - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order_by": { - "enum": [ - "id", - "service", - "title", - "type", - "status", - "statusUpdated", - "count", - "firstObserved", - "lastObserved", - "created", - "updated" - ], - "type": "string" - }, - "page": { - "type": "integer" - }, - "per_page": { - "type": "integer" - }, - "search": { - "type": "string" - }, - "service": { - "type": "string" - }, - "status": { - "enum": [ - "active", - "resolved", - "ignored" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "type": { - "type": "string" + "query": { + "properties": { + "order": { + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "orderBy": { + "enum": [ + "id", + "service", + "title", + "type", + "status", + "statusUpdated", + "count", + "firstObserved", + "lastObserved", + "created", + "updated" + ], + "type": "string" + }, + "page": { + "type": "integer" + }, + "perPage": { + "type": "integer" + }, + "search": { + "type": "string" + }, + "service": { + "type": "string" + }, + "status": { + "enum": [ + "active", + "resolved", + "ignored" + ], + "type": "string" + }, + "type": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2823,14 +2860,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues`, query: [ - ["page", args["page"], true], - ["perPage", args["per_page"], true], - ["order", args["order"], true], - ["orderBy", args["order_by"], true], - ["search", args["search"], true], - ["service", args["service"], true], - ["type", args["type"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["perPage", param(args, "query", "perPage"), true], + ["order", param(args, "query", "order"), true], + ["orderBy", param(args, "query", "orderBy"), true], + ["search", param(args, "query", "search"), true], + ["service", param(args, "query", "service"), true], + ["type", param(args, "query", "type"), true], + ["status", param(args, "query", "status"), true], ], }), }, @@ -2841,10 +2878,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "policyId": { @@ -2853,13 +2886,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "issue_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "issueId": { + "type": "string" + } + }, + "required": [ + "account_id", + "issueId" + ], + "type": "object" } }, required: [ - "account_id", - "issue_id", + "path", "body" ], }, @@ -3461,7 +3506,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issue_id")}/notification-runs`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issueId")}/notification-runs`, body: { value: args["body"], mediaType: "application/json" }, }), }, @@ -3472,25 +3517,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "cursor": { - "description": "Opaque cursor returned in result_info.cursors.after.", - "type": "string" - }, - "issue_id": { - "description": "Issue ID returned by the issues API.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "issueId": { + "description": "Issue ID returned by the issues API.", + "type": "string" + } + }, + "required": [ + "account_id", + "issueId" + ], + "type": "object" }, - "per_page": { - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Opaque cursor returned in result_info.cursors.after.", + "type": "string" + }, + "per_page": { + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "issue_id" + "path" ], }, outputSchema: { @@ -3582,7 +3640,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_issue_occurrence": workers_observability_issue_occurrence_output, + "workers-observability_issue_occurrence": workers$$observability_issue_occurrence, }, }, annotations: { @@ -4037,14 +4095,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_issue_occurrence": workers_observability_issue_occurrence_output, + "workers-observability_issue_occurrence": workers$$observability_issue_occurrence, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issue_id")}/occurrences`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issueId")}/occurrences`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -4055,21 +4113,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "group_id": { - "type": "string" - }, - "issue_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "groupId": { + "type": "string" + }, + "issueId": { + "type": "string" + } + }, + "required": [ + "account_id", + "groupId", + "issueId" + ], + "type": "object" } }, required: [ - "account_id", - "group_id", - "issue_id" + "path" ], }, outputSchema: { @@ -4656,7 +4722,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups/${pathParam(args, "group_id")}/members/${pathParam(args, "issue_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups/${pathParam(args, "groupId")}/members/${pathParam(args, "issueId")}`, }), }, { @@ -4666,16 +4732,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "service": { - "type": "string" + "query": { + "properties": { + "service": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -5050,7 +5129,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/summary`, query: [ - ["service", args["service"], true], + ["service", param(args, "query", "service"), true], ], }), }, @@ -5061,17 +5140,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "groupId": { + "type": "string" + } + }, + "required": [ + "account_id", + "groupId" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], }, outputSchema: { @@ -5412,7 +5499,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups/${pathParam(args, "group_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/groups/${pathParam(args, "groupId")}`, }), }, { @@ -5422,10 +5509,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Modify an issue status or group title.", "properties": { @@ -5443,13 +5526,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "issue_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "issueId": { + "type": "string" + } + }, + "required": [ + "account_id", + "issueId" + ], + "type": "object" } }, required: [ - "account_id", - "issue_id", + "path", "body" ], }, @@ -5973,7 +6068,7 @@ export const tools: readonly Tool[] = [ }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issue_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/issues/${pathParam(args, "issueId")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, diff --git a/src/generated/forge-mcp/o11y/metricsExport/tools.ts b/src/generated/forge-mcp/o11y/metricsExport/tools.ts index da7bf9c3d..276bd1a66 100644 --- a/src/generated/forge-mcp/o11y/metricsExport/tools.ts +++ b/src/generated/forge-mcp/o11y/metricsExport/tools.ts @@ -4,23 +4,31 @@ import { type Tool, pathParam } from "../../_/tool.js"; /** - * The tools of `o11y.metrics_export`. + * The tools of `o11y.metricsExport`. */ export const tools: readonly Tool[] = [ { - name: "o11y_metrics_export_list", + name: "o11y_metricsExport_list", title: "List Metrics Exports", description: "List resources configured for Workers Observability metrics export.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -317,16 +325,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "o11y_metrics_export_upsert", + name: "o11y_metricsExport_upsert", title: "Upsert Metrics Exports", description: "Create or replace resources configured for Workers Observability metrics export.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "properties": { "requester": { @@ -385,10 +389,22 @@ export const tools: readonly Tool[] = [ "resources" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/o11y/outputs.ts b/src/generated/forge-mcp/o11y/outputs.ts index 1533e61ec..905c0ecf9 100644 --- a/src/generated/forge-mcp/o11y/outputs.ts +++ b/src/generated/forge-mcp/o11y/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `workers-observability_distribution_result` in responses. */ -export const workers_observability_distribution_result_output: JsonSchema = { +export const workers$$observability_distribution_result: JsonSchema = { "properties": { "bins": { "items": { @@ -56,7 +56,7 @@ export const workers_observability_distribution_result_output: JsonSchema = { /** * The schema of `workers-observability_filter_leaf` in responses. */ -export const workers_observability_filter_leaf_output: JsonSchema = { +export const workers$$observability_filter_leaf: JsonSchema = { "properties": { "key": { "type": "string" @@ -135,7 +135,7 @@ export const workers_observability_filter_leaf_output: JsonSchema = { /** * The schema of `workers-observability_filter_node` in responses. */ -export const workers_observability_filter_node_output: JsonSchema = { +export const workers$$observability_filter_node: JsonSchema = { "anyOf": [ { "properties": { @@ -178,7 +178,7 @@ export const workers_observability_filter_node_output: JsonSchema = { /** * The schema of `workers-observability_performance_information` in responses. */ -export const workers_observability_performance_information_output: JsonSchema = { +export const workers$$observability_performance_information: JsonSchema = { "properties": { "abr_level": { "type": "number" @@ -204,7 +204,7 @@ export const workers_observability_performance_information_output: JsonSchema = /** * The schema of `workers-observability_query` in responses. */ -export const workers_observability_query_output: JsonSchema = { +export const workers$$observability_query: JsonSchema = { "properties": { "adhoc": { "type": "boolean" @@ -491,7 +491,7 @@ export const workers_observability_query_output: JsonSchema = { /** * The schema of `workers-observability_query_results` in responses. */ -export const workers_observability_query_results_output: JsonSchema = { +export const workers$$observability_query_results: JsonSchema = { "properties": { "agents": { "items": { @@ -1067,7 +1067,7 @@ export const workers_observability_query_results_output: JsonSchema = { /** * The schema of `workers-observability_query_run` in responses. */ -export const workers_observability_query_run_output: JsonSchema = { +export const workers$$observability_query_run: JsonSchema = { "properties": { "accountId": { "type": "string" @@ -1185,7 +1185,7 @@ export const workers_observability_query_run_output: JsonSchema = { /** * The schema of `workers-observability_telemetry_event` in responses. */ -export const workers_observability_telemetry_event_output: JsonSchema = { +export const workers$$observability_telemetry_event: JsonSchema = { "properties": { "$containers": { "type": "object" diff --git a/src/generated/forge-mcp/o11y/queries/tools.ts b/src/generated/forge-mcp/o11y/queries/tools.ts index 06ee66738..8f403df28 100644 --- a/src/generated/forge-mcp/o11y/queries/tools.ts +++ b/src/generated/forge-mcp/o11y/queries/tools.ts @@ -1,15 +1,15 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - workers_observability_filter_leaf_output, - workers_observability_filter_node_output, - workers_observability_query_output, + workers$$observability_filter_leaf, + workers$$observability_filter_node, + workers$$observability_query, } from "../outputs.js"; import { - workers_observability_filter_leaf, - workers_observability_filter_node, + workers$$observability_filter_leaf as workers$$observability_filter_leaf$, + workers$$observability_filter_node as workers$$observability_filter_node$, } from "../schemas.js"; /** @@ -23,10 +23,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Specify the new contents of the query.", "properties": { @@ -296,15 +292,27 @@ export const tools: readonly Tool[] = [ "parameters" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf, - "workers-observability_filter_node": workers_observability_filter_node, + "workers-observability_filter_leaf": workers$$observability_filter_leaf$, + "workers-observability_filter_node": workers$$observability_filter_node$, }, }, outputSchema: { @@ -358,9 +366,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, annotations: { @@ -577,9 +585,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, request: (args) => ({ @@ -594,17 +602,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "query_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "queryId": { + "type": "string" + } + }, + "required": [ + "account_id", + "queryId" + ], + "type": "object" } }, required: [ - "account_id", - "query_id" + "path" ], }, outputSchema: { @@ -658,9 +674,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, annotations: { @@ -877,13 +893,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries/${pathParam(args, "query_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries/${pathParam(args, "queryId")}`, }), }, { @@ -893,10 +909,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Specify the new contents of the query.", "properties": { @@ -1167,18 +1179,30 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "query_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "queryId": { + "type": "string" + } + }, + "required": [ + "account_id", + "queryId" + ], + "type": "object" } }, required: [ - "account_id", - "query_id", + "path", "body" ], $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf, - "workers-observability_filter_node": workers_observability_filter_node, + "workers-observability_filter_leaf": workers$$observability_filter_leaf$, + "workers-observability_filter_node": workers$$observability_filter_node$, }, }, outputSchema: { @@ -1232,9 +1256,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, annotations: { @@ -1451,13 +1475,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries/${pathParam(args, "query_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries/${pathParam(args, "queryId")}`, body: { value: args["body"], mediaType: "application/json" }, }), }, @@ -1468,17 +1492,25 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "query_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "queryId": { + "type": "string" + } + }, + "required": [ + "account_id", + "queryId" + ], + "type": "object" } }, required: [ - "account_id", - "query_id" + "path" ], }, outputSchema: { @@ -1532,9 +1564,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, annotations: { @@ -1751,13 +1783,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries/${pathParam(args, "query_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries/${pathParam(args, "queryId")}`, }), }, { @@ -1767,37 +1799,50 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "order": { - "default": "desc", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order_by": { - "default": "updated", - "enum": [ - "created", - "updated" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "type": "number" + "type": "object" }, - "per_page": { - "default": 20, - "type": "number" + "query": { + "properties": { + "order": { + "default": "desc", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "orderBy": { + "default": "updated", + "enum": [ + "created", + "updated" + ], + "type": "string" + }, + "page": { + "default": 1, + "type": "number" + }, + "perPage": { + "default": 20, + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1854,9 +1899,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, annotations: { @@ -2076,18 +2121,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_query": workers_observability_query_output, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_query": workers$$observability_query, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/queries`, query: [ - ["page", args["page"], true], - ["perPage", args["per_page"], true], - ["order", args["order"], true], - ["orderBy", args["order_by"], true], + ["page", param(args, "query", "page"), true], + ["perPage", param(args, "query", "perPage"), true], + ["order", param(args, "query", "order"), true], + ["orderBy", param(args, "query", "orderBy"), true], ], }), }, diff --git a/src/generated/forge-mcp/o11y/schemas.ts b/src/generated/forge-mcp/o11y/schemas.ts index 3e9ef7b07..b74d954d2 100644 --- a/src/generated/forge-mcp/o11y/schemas.ts +++ b/src/generated/forge-mcp/o11y/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `workers-observability_filter_leaf`. */ -export const workers_observability_filter_leaf: JsonSchema = { +export const workers$$observability_filter_leaf: JsonSchema = { "description": "A filter condition applied to query results. Use the keys and values endpoints to discover available fields and their values before constructing filters.", "properties": { "key": { @@ -91,7 +91,7 @@ export const workers_observability_filter_leaf: JsonSchema = { /** * The schema of `workers-observability_filter_node`. */ -export const workers_observability_filter_node: JsonSchema = { +export const workers$$observability_filter_node: JsonSchema = { "anyOf": [ { "properties": { diff --git a/src/generated/forge-mcp/o11y/sharedQueries/tools.ts b/src/generated/forge-mcp/o11y/sharedQueries/tools.ts index 9f85a5156..0d8cdb2c0 100644 --- a/src/generated/forge-mcp/o11y/sharedQueries/tools.ts +++ b/src/generated/forge-mcp/o11y/sharedQueries/tools.ts @@ -1,37 +1,33 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - workers_observability_distribution_result_output, - workers_observability_filter_leaf_output, - workers_observability_filter_node_output, - workers_observability_performance_information_output, - workers_observability_query_output, - workers_observability_query_results_output, - workers_observability_query_run_output, - workers_observability_telemetry_event_output, + workers$$observability_distribution_result, + workers$$observability_filter_leaf, + workers$$observability_filter_node, + workers$$observability_performance_information, + workers$$observability_query, + workers$$observability_query_results, + workers$$observability_query_run, + workers$$observability_telemetry_event, } from "../outputs.js"; import { - workers_observability_filter_leaf, - workers_observability_filter_node, + workers$$observability_filter_leaf as workers$$observability_filter_leaf$, + workers$$observability_filter_node as workers$$observability_filter_node$, } from "../schemas.js"; /** - * The tools of `o11y.shared_queries`. + * The tools of `o11y.sharedQueries`. */ export const tools: readonly Tool[] = [ { - name: "o11y_shared_queries_create", + name: "o11y_sharedQueries_create", title: "Create a sharable link to a query result", description: "Shared queries store the results of a previously run query, allowing you to share the results with others.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Create a sharable link to a query result.", "properties": { @@ -441,15 +437,27 @@ export const tools: readonly Tool[] = [ "timeframe" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf, - "workers-observability_filter_node": workers_observability_filter_node, + "workers-observability_filter_leaf": workers$$observability_filter_leaf$, + "workers-observability_filter_node": workers$$observability_filter_node$, }, }, outputSchema: { @@ -789,33 +797,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "o11y_shared_queries_get", + name: "o11y_sharedQueries_get", title: "View a query that has been shared", description: "Shared queries store the results of a previously run query, allowing you to share the results with others.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "id": { - "description": "Specify the ID of the shared query.", - "type": "string" - }, - "view": { - "description": "Select the view of the query result to return, defaults to events.", - "enum": [ - "events", - "invocations", - "calculations" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + }, + "id": { + "description": "Specify the ID of the shared query.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "view": { + "description": "Select the view of the query result to return, defaults to events.", + "enum": [ + "events", + "invocations", + "calculations" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { @@ -869,14 +890,14 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_distribution_result": workers_observability_distribution_result_output, - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_performance_information": workers_observability_performance_information_output, - "workers-observability_query": workers_observability_query_output, - "workers-observability_query_results": workers_observability_query_results_output, - "workers-observability_query_run": workers_observability_query_run_output, - "workers-observability_telemetry_event": workers_observability_telemetry_event_output, + "workers-observability_distribution_result": workers$$observability_distribution_result, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_performance_information": workers$$observability_performance_information, + "workers-observability_query": workers$$observability_query, + "workers-observability_query_results": workers$$observability_query_results, + "workers-observability_query_run": workers$$observability_query_run, + "workers-observability_telemetry_event": workers$$observability_telemetry_event, }, }, annotations: { @@ -1143,20 +1164,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_distribution_result": workers_observability_distribution_result_output, - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_performance_information": workers_observability_performance_information_output, - "workers-observability_query": workers_observability_query_output, - "workers-observability_query_results": workers_observability_query_results_output, - "workers-observability_query_run": workers_observability_query_run_output, - "workers-observability_telemetry_event": workers_observability_telemetry_event_output, + "workers-observability_distribution_result": workers$$observability_distribution_result, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_performance_information": workers$$observability_performance_information, + "workers-observability_query": workers$$observability_query, + "workers-observability_query_results": workers$$observability_query_results, + "workers-observability_query_run": workers$$observability_query_run, + "workers-observability_telemetry_event": workers$$observability_telemetry_event, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/shared/query/${pathParam(args, "id")}`, query: [ - ["view", args["view"], true], + ["view", param(args, "query", "view"), true], ], }), }, diff --git a/src/generated/forge-mcp/o11y/telemetry/tools.ts b/src/generated/forge-mcp/o11y/telemetry/tools.ts index 9b793a7d4..027a6fac6 100644 --- a/src/generated/forge-mcp/o11y/telemetry/tools.ts +++ b/src/generated/forge-mcp/o11y/telemetry/tools.ts @@ -3,18 +3,18 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - workers_observability_distribution_result_output, - workers_observability_filter_leaf_output, - workers_observability_filter_node_output, - workers_observability_performance_information_output, - workers_observability_query_output, - workers_observability_query_results_output, - workers_observability_query_run_output, - workers_observability_telemetry_event_output, + workers$$observability_distribution_result, + workers$$observability_filter_leaf, + workers$$observability_filter_node, + workers$$observability_performance_information, + workers$$observability_query, + workers$$observability_query_results, + workers$$observability_query_run, + workers$$observability_telemetry_event, } from "../outputs.js"; import { - workers_observability_filter_leaf, - workers_observability_filter_node, + workers$$observability_filter_leaf as workers$$observability_filter_leaf$, + workers$$observability_filter_node as workers$$observability_filter_node$, } from "../schemas.js"; /** @@ -28,10 +28,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Keep your live tail connection alive.", "properties": { @@ -40,10 +36,22 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -274,10 +282,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Find keys in your telemetry events matching a specific filter or needle.", "properties": { @@ -431,15 +435,27 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf, - "workers-observability_filter_node": workers_observability_filter_node, + "workers-observability_filter_leaf": workers$$observability_filter_leaf$, + "workers-observability_filter_node": workers$$observability_filter_node$, }, }, outputSchema: { @@ -911,16 +927,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "o11y_telemetry_live_tail", + name: "o11y_telemetry_liveTail", title: "Prepare live tail", description: "Prepare websocket server for live tail.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Create websocket server for live tail.", "properties": { @@ -994,15 +1006,27 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf, - "workers-observability_filter_node": workers_observability_filter_node, + "workers-observability_filter_leaf": workers$$observability_filter_leaf$, + "workers-observability_filter_node": workers$$observability_filter_node$, }, }, outputSchema: { @@ -1298,10 +1322,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Query your observability events, requests, and traces to build visualizations and identify insights.", "properties": { @@ -1711,15 +1731,27 @@ export const tools: readonly Tool[] = [ "timeframe" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf, - "workers-observability_filter_node": workers_observability_filter_node, + "workers-observability_filter_leaf": workers$$observability_filter_leaf$, + "workers-observability_filter_node": workers$$observability_filter_node$, }, }, outputSchema: { @@ -1773,14 +1805,14 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_distribution_result": workers_observability_distribution_result_output, - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_performance_information": workers_observability_performance_information_output, - "workers-observability_query": workers_observability_query_output, - "workers-observability_query_results": workers_observability_query_results_output, - "workers-observability_query_run": workers_observability_query_run_output, - "workers-observability_telemetry_event": workers_observability_telemetry_event_output, + "workers-observability_distribution_result": workers$$observability_distribution_result, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_performance_information": workers$$observability_performance_information, + "workers-observability_query": workers$$observability_query, + "workers-observability_query_results": workers$$observability_query_results, + "workers-observability_query_run": workers$$observability_query_run, + "workers-observability_telemetry_event": workers$$observability_telemetry_event, }, }, annotations: { @@ -2147,14 +2179,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_distribution_result": workers_observability_distribution_result_output, - "workers-observability_filter_leaf": workers_observability_filter_leaf_output, - "workers-observability_filter_node": workers_observability_filter_node_output, - "workers-observability_performance_information": workers_observability_performance_information_output, - "workers-observability_query": workers_observability_query_output, - "workers-observability_query_results": workers_observability_query_results_output, - "workers-observability_query_run": workers_observability_query_run_output, - "workers-observability_telemetry_event": workers_observability_telemetry_event_output, + "workers-observability_distribution_result": workers$$observability_distribution_result, + "workers-observability_filter_leaf": workers$$observability_filter_leaf, + "workers-observability_filter_node": workers$$observability_filter_node, + "workers-observability_performance_information": workers$$observability_performance_information, + "workers-observability_query": workers$$observability_query, + "workers-observability_query_results": workers$$observability_query_results, + "workers-observability_query_run": workers$$observability_query_run, + "workers-observability_telemetry_event": workers$$observability_telemetry_event, }, }, request: (args) => ({ @@ -2169,10 +2201,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, "body": { "description": "Retrieve values from your telemetry events.", "properties": { @@ -2313,15 +2341,27 @@ export const tools: readonly Tool[] = [ "type" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers-observability_filter_leaf": workers_observability_filter_leaf, - "workers-observability_filter_node": workers_observability_filter_node, + "workers-observability_filter_leaf": workers$$observability_filter_leaf$, + "workers-observability_filter_node": workers$$observability_filter_node$, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/o11y/tools.ts b/src/generated/forge-mcp/o11y/tools.ts index c7d0c4a35..0bb6f8d05 100644 --- a/src/generated/forge-mcp/o11y/tools.ts +++ b/src/generated/forge-mcp/o11y/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; /** * The tools of `o11y`. @@ -14,27 +14,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" - }, - "from": { - "description": "Unix timestamp in milliseconds for the start of the range.", - "type": "string" - }, - "to": { - "description": "Unix timestamp in milliseconds for the end of the range.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "tz": { - "description": "IANA timezone used to align daily bins to local midnight (e.g. 'America/Chicago'). Defaults to UTC.", - "type": "string" + "query": { + "properties": { + "from": { + "description": "Unix timestamp in milliseconds for the start of the range.", + "type": "string" + }, + "to": { + "description": "Unix timestamp in milliseconds for the end of the range.", + "type": "string" + }, + "tz": { + "description": "IANA timezone used to align daily bins to local midnight (e.g. 'America/Chicago'). Defaults to UTC.", + "type": "string" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" } }, required: [ - "account_id", - "from", - "to" + "path", + "query" ], }, outputSchema: { @@ -533,9 +549,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/observability/usage`, query: [ - ["from", args["from"], true], - ["to", args["to"], true], - ["tz", args["tz"], true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["tz", param(args, "query", "tz"), true], ], }), }, diff --git a/src/generated/forge-mcp/o11y/tracing/rules/tools.ts b/src/generated/forge-mcp/o11y/tracing/rules/tools.ts index 783e46230..e327bd671 100644 --- a/src/generated/forge-mcp/o11y/tracing/rules/tools.ts +++ b/src/generated/forge-mcp/o11y/tracing/rules/tools.ts @@ -14,13 +14,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "description": "Specify the zone ID.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Specify the zone ID.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { @@ -443,13 +451,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "description": "Specify the zone ID.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Specify the zone ID.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { @@ -926,13 +942,21 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "description": "Specify the zone ID.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Specify the zone ID.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], }, diff --git a/src/generated/forge-mcp/o11y/tracing/settings/tools.ts b/src/generated/forge-mcp/o11y/tracing/settings/tools.ts index 8690c77c1..7d7dce8ff 100644 --- a/src/generated/forge-mcp/o11y/tracing/settings/tools.ts +++ b/src/generated/forge-mcp/o11y/tracing/settings/tools.ts @@ -14,13 +14,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "description": "Specify the zone ID.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Specify the zone ID.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { @@ -423,13 +431,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "description": "Specify the zone ID.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Specify the zone ID.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { @@ -871,13 +887,21 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "zone_id": { - "description": "Specify the zone ID.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "Specify the zone ID.", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], }, diff --git a/src/generated/forge-mcp/observability/usageLimit/outputs.ts b/src/generated/forge-mcp/observability/usageLimit/outputs.ts index c363399a6..c41441676 100644 --- a/src/generated/forge-mcp/observability/usageLimit/outputs.ts +++ b/src/generated/forge-mcp/observability/usageLimit/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers-observability_usage_limit` in responses. */ -export const workers_observability_usage_limit_output: JsonSchema = { +export const workers$$observability_usage_limit: JsonSchema = { "properties": { "limit": { "properties": { diff --git a/src/generated/forge-mcp/observability/usageLimit/tools.ts b/src/generated/forge-mcp/observability/usageLimit/tools.ts index c16c88583..fa8fe2f0e 100644 --- a/src/generated/forge-mcp/observability/usageLimit/tools.ts +++ b/src/generated/forge-mcp/observability/usageLimit/tools.ts @@ -2,26 +2,34 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { workers_observability_usage_limit_output } from "./outputs.js"; +import { workers$$observability_usage_limit } from "./outputs.js"; /** - * The tools of `observability.usage_limit`. + * The tools of `observability.usageLimit`. */ export const tools: readonly Tool[] = [ { - name: "observability_usage_limit_get", + name: "observability_usageLimit_get", title: "Get usage limit status", description: "Whether Workers Observability is keeping fewer of the account's events, usually because it passed its daily limit, and what that limit is. Daily limits reset at 00:00 UTC; paid accounts are brought back in stages over the following hours.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Your Cloudflare account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Your Cloudflare account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -75,7 +83,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "workers-observability_usage_limit": workers_observability_usage_limit_output, + "workers-observability_usage_limit": workers$$observability_usage_limit, }, }, annotations: { @@ -342,7 +350,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers-observability_usage_limit": workers_observability_usage_limit_output, + "workers-observability_usage_limit": workers$$observability_usage_limit, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/organization/account/outputs.ts b/src/generated/forge-mcp/organization/account/outputs.ts index 40eb8b8b4..6eac0b29e 100644 --- a/src/generated/forge-mcp/organization/account/outputs.ts +++ b/src/generated/forge-mcp/organization/account/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `organizations-api_Account` in responses. */ -export const organizations_api_Account_output: JsonSchema = { +export const organizations$$api_Account: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -126,7 +126,7 @@ export const organizations_api_Account_output: JsonSchema = { /** * The schema of `organizations-api_AccountListResultInfo` in responses. */ -export const organizations_api_AccountListResultInfo_output: JsonSchema = { +export const organizations$$api_AccountListResultInfo: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/organizations-api_PageTokenResultInfo" @@ -140,7 +140,7 @@ export const organizations_api_AccountListResultInfo_output: JsonSchema = { /** * The schema of `organizations-api_LegacyAccount` in responses. */ -export const organizations_api_LegacyAccount_output: JsonSchema = { +export const organizations$$api_LegacyAccount: JsonSchema = { "properties": { "account_pubname": { "oneOf": [ @@ -211,7 +211,7 @@ export const organizations_api_LegacyAccount_output: JsonSchema = { /** * The schema of `organizations-api_LegacyPaginationResultInfo` in responses. */ -export const organizations_api_LegacyPaginationResultInfo_output: JsonSchema = { +export const organizations$$api_LegacyPaginationResultInfo: JsonSchema = { "properties": { "count": { "type": "integer" diff --git a/src/generated/forge-mcp/organization/account/tools.ts b/src/generated/forge-mcp/organization/account/tools.ts index 20aa5a736..5fa7b5010 100644 --- a/src/generated/forge-mcp/organization/account/tools.ts +++ b/src/generated/forge-mcp/organization/account/tools.ts @@ -1,18 +1,18 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - organizations_api_V4ErrorResponse_output, - organizations_api_V4Message_output, + organizations$$api_V4ErrorResponse, + organizations$$api_V4Message, } from "../../outputs.js"; -import { organizations_api_OrganizationID } from "../../schemas.js"; -import { organizations_api_PageTokenResultInfo_output } from "../outputs.js"; +import { organizations$$api_OrganizationID } from "../../schemas.js"; +import { organizations$$api_PageTokenResultInfo } from "../outputs.js"; import { - organizations_api_AccountListResultInfo_output, - organizations_api_Account_output, - organizations_api_LegacyAccount_output, - organizations_api_LegacyPaginationResultInfo_output, + organizations$$api_Account, + organizations$$api_AccountListResultInfo, + organizations$$api_LegacyAccount, + organizations$$api_LegacyPaginationResultInfo, } from "./outputs.js"; /** @@ -26,104 +26,122 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "accept": { - "description": "Request `application/json; legacy=true` for the LegacyAccount representation.", - "type": "string" - }, - "account_pubname": { - "deprecated": true, - "description": "(case-sensitive) Filter the list of accounts to where the account_pubname is equal to\na particular string.", - "type": "string" - }, - "account_pubname_contains": { - "deprecated": true, - "description": "(case-insensitive) Filter the list of accounts to where the account_pubname contains\na particular string.", - "type": "string" - }, - "account_pubname_ends_with": { - "deprecated": true, - "description": "(case-insensitive) Filter the list of accounts to where the account_pubname ends with\na particular string.", - "type": "string" - }, - "account_pubname_starts_with": { - "deprecated": true, - "description": "(case-insensitive) Filter the list of accounts to where the account_pubname starts with\na particular string.", - "type": "string" - }, - "direction": { - "description": "Sort direction for the order_by field. Valid values: `asc`, `desc`.\nDefaults to `asc` when order_by is specified.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "include_tags": { - "description": "Include Account tags from the resource tag mirror. Omit this parameter to preserve the existing Account response shape.", - "type": "boolean" - }, - "include_total": { - "default": true, - "description": "Whether to calculate and return the exact result_info.total_size for cursor\npagination. Defaults to true. When false, total_size is omitted. page_size and\ninclude_total may change between pages; next_page_token remains the authoritative\ncontinuation signal.\nLegacy page/per_page requests always calculate total_count.", - "type": "boolean" - }, - "name": { - "description": "(case-sensitive) Filter the list of accounts to where the name is equal to a\nparticular string.", - "type": "string" - }, - "name_contains": { - "description": "(case-insensitive) Filter the list of accounts to where the name contains a particular\nstring.", - "type": "string" - }, - "name_ends_with": { - "description": "(case-insensitive) Filter the list of accounts to where the name ends with a particular\nstring.", - "type": "string" - }, - "name_starts_with": { - "description": "(case-insensitive) Filter the list of accounts to where the name starts with a\nparticular string.", - "type": "string" + "headers": { + "properties": { + "Accept": { + "description": "Request `application/json; legacy=true` for the LegacyAccount representation.", + "type": "string" + } + }, + "type": "object" }, - "order_by": { - "description": "Field to order results by. Currently supported values: `account_name`.", - "enum": [ - "account_name" + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID", + "description": "The ID of the organization to retrieve a list of accounts for." + } + }, + "required": [ + "organization_id" ], - "type": "string" - }, - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to retrieve a list of accounts for." - }, - "page": { - "description": "Legacy offset page number. Must be provided with `per_page`. Values below 1 are treated as\n1. Cursor pagination takes precedence when requested.", - "type": "integer" - }, - "page_size": { - "description": "The amount of items to return. Defaults to 10.", - "type": "integer" - }, - "page_token": { - "description": "An opaque token returned from the last list response that when\nprovided will retrieve the next page.\n\nParameters used to filter the retrieved list must remain in subsequent\nrequests with a page token.", - "type": "string" - }, - "per_page": { - "description": "Legacy offset page size. Must be provided with `page`. Values are clamped to the range\n1-100. Cursor pagination takes precedence when requested.", - "type": "integer" + "type": "object" }, - "status": { - "description": "Filter accounts by lifecycle status. Defaults to `active`.", - "enum": [ - "active", - "deleted" - ], - "type": "string" + "query": { + "properties": { + "account_pubname": { + "deprecated": true, + "description": "(case-sensitive) Filter the list of accounts to where the account_pubname is equal to\na particular string.", + "type": "string" + }, + "account_pubname.contains": { + "deprecated": true, + "description": "(case-insensitive) Filter the list of accounts to where the account_pubname contains\na particular string.", + "type": "string" + }, + "account_pubname.endsWith": { + "deprecated": true, + "description": "(case-insensitive) Filter the list of accounts to where the account_pubname ends with\na particular string.", + "type": "string" + }, + "account_pubname.startsWith": { + "deprecated": true, + "description": "(case-insensitive) Filter the list of accounts to where the account_pubname starts with\na particular string.", + "type": "string" + }, + "direction": { + "description": "Sort direction for the order_by field. Valid values: `asc`, `desc`.\nDefaults to `asc` when order_by is specified.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "include_tags": { + "description": "Include Account tags from the resource tag mirror. Omit this parameter to preserve the existing Account response shape.", + "type": "boolean" + }, + "include_total": { + "default": true, + "description": "Whether to calculate and return the exact result_info.total_size for cursor\npagination. Defaults to true. When false, total_size is omitted. page_size and\ninclude_total may change between pages; next_page_token remains the authoritative\ncontinuation signal.\nLegacy page/per_page requests always calculate total_count.", + "type": "boolean" + }, + "name": { + "description": "(case-sensitive) Filter the list of accounts to where the name is equal to a\nparticular string.", + "type": "string" + }, + "name.contains": { + "description": "(case-insensitive) Filter the list of accounts to where the name contains a particular\nstring.", + "type": "string" + }, + "name.endsWith": { + "description": "(case-insensitive) Filter the list of accounts to where the name ends with a particular\nstring.", + "type": "string" + }, + "name.startsWith": { + "description": "(case-insensitive) Filter the list of accounts to where the name starts with a\nparticular string.", + "type": "string" + }, + "order_by": { + "description": "Field to order results by. Currently supported values: `account_name`.", + "enum": [ + "account_name" + ], + "type": "string" + }, + "page": { + "description": "Legacy offset page number. Must be provided with `per_page`. Values below 1 are treated as\n1. Cursor pagination takes precedence when requested.", + "type": "integer" + }, + "page_size": { + "description": "The amount of items to return. Defaults to 10.", + "type": "integer" + }, + "page_token": { + "description": "An opaque token returned from the last list response that when\nprovided will retrieve the next page.\n\nParameters used to filter the retrieved list must remain in subsequent\nrequests with a page token.", + "type": "string" + }, + "per_page": { + "description": "Legacy offset page size. Must be provided with `page`. Values are clamped to the range\n1-100. Cursor pagination takes precedence when requested.", + "type": "integer" + }, + "status": { + "description": "Filter accounts by lifecycle status. Defaults to `active`.", + "enum": [ + "active", + "deleted" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "organization_id" + "path" ], $defs: { - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -173,12 +191,12 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Account": organizations_api_Account_output, - "organizations-api_AccountListResultInfo": organizations_api_AccountListResultInfo_output, - "organizations-api_LegacyAccount": organizations_api_LegacyAccount_output, - "organizations-api_LegacyPaginationResultInfo": organizations_api_LegacyPaginationResultInfo_output, - "organizations-api_PageTokenResultInfo": organizations_api_PageTokenResultInfo_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Account": organizations$$api_Account, + "organizations-api_AccountListResultInfo": organizations$$api_AccountListResultInfo, + "organizations-api_LegacyAccount": organizations$$api_LegacyAccount, + "organizations-api_LegacyPaginationResultInfo": organizations$$api_LegacyPaginationResultInfo, + "organizations-api_PageTokenResultInfo": organizations$$api_PageTokenResultInfo, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -247,38 +265,38 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Account": organizations_api_Account_output, - "organizations-api_AccountListResultInfo": organizations_api_AccountListResultInfo_output, - "organizations-api_LegacyAccount": organizations_api_LegacyAccount_output, - "organizations-api_LegacyPaginationResultInfo": organizations_api_LegacyPaginationResultInfo_output, - "organizations-api_PageTokenResultInfo": organizations_api_PageTokenResultInfo_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Account": organizations$$api_Account, + "organizations-api_AccountListResultInfo": organizations$$api_AccountListResultInfo, + "organizations-api_LegacyAccount": organizations$$api_LegacyAccount, + "organizations-api_LegacyPaginationResultInfo": organizations$$api_LegacyPaginationResultInfo, + "organizations-api_PageTokenResultInfo": organizations$$api_PageTokenResultInfo, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/accounts`, query: [ - ["account_pubname", args["account_pubname"], false], - ["account_pubname.startsWith", args["account_pubname_starts_with"], false], - ["account_pubname.endsWith", args["account_pubname_ends_with"], false], - ["account_pubname.contains", args["account_pubname_contains"], false], - ["name", args["name"], false], - ["name.startsWith", args["name_starts_with"], false], - ["name.endsWith", args["name_ends_with"], false], - ["name.contains", args["name_contains"], false], - ["status", args["status"], false], - ["order_by", args["order_by"], false], - ["direction", args["direction"], false], - ["include_tags", args["include_tags"], false], - ["include_total", args["include_total"], false], - ["page", args["page"], false], - ["per_page", args["per_page"], false], - ["page_token", args["page_token"], false], - ["page_size", args["page_size"], false], + ["account_pubname", param(args, "query", "account_pubname"), false], + ["account_pubname.startsWith", param(args, "query", "account_pubname.startsWith"), false], + ["account_pubname.endsWith", param(args, "query", "account_pubname.endsWith"), false], + ["account_pubname.contains", param(args, "query", "account_pubname.contains"), false], + ["name", param(args, "query", "name"), false], + ["name.startsWith", param(args, "query", "name.startsWith"), false], + ["name.endsWith", param(args, "query", "name.endsWith"), false], + ["name.contains", param(args, "query", "name.contains"), false], + ["status", param(args, "query", "status"), false], + ["order_by", param(args, "query", "order_by"), false], + ["direction", param(args, "query", "direction"), false], + ["include_tags", param(args, "query", "include_tags"), false], + ["include_total", param(args, "query", "include_total"), false], + ["page", param(args, "query", "page"), false], + ["per_page", param(args, "query", "per_page"), false], + ["page_token", param(args, "query", "page_token"), false], + ["page_size", param(args, "query", "page_size"), false], ], headers: [ - ["Accept", args["accept"]], + ["Accept", param(args, "headers", "Accept")], ], }), }, diff --git a/src/generated/forge-mcp/organization/invite/outputs.ts b/src/generated/forge-mcp/organization/invite/outputs.ts index 8f34066ae..8cd118d6c 100644 --- a/src/generated/forge-mcp/organization/invite/outputs.ts +++ b/src/generated/forge-mcp/organization/invite/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `organizations-api_OrganizationInviteMember` in responses. */ -export const organizations_api_OrganizationInviteMember_output: JsonSchema = { +export const organizations$$api_OrganizationInviteMember: JsonSchema = { "properties": { "create_time": { "format": "date-time", diff --git a/src/generated/forge-mcp/organization/invite/schemas.ts b/src/generated/forge-mcp/organization/invite/schemas.ts index 47bea2dac..3afc6a470 100644 --- a/src/generated/forge-mcp/organization/invite/schemas.ts +++ b/src/generated/forge-mcp/organization/invite/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `organizations-api_HandleOrganizationInviteRequest`. */ -export const organizations_api_HandleOrganizationInviteRequest: JsonSchema = { +export const organizations$$api_HandleOrganizationInviteRequest: JsonSchema = { "properties": { "status": { "enum": [ diff --git a/src/generated/forge-mcp/organization/invite/tools.ts b/src/generated/forge-mcp/organization/invite/tools.ts index a5bc96416..6d0a08c3c 100644 --- a/src/generated/forge-mcp/organization/invite/tools.ts +++ b/src/generated/forge-mcp/organization/invite/tools.ts @@ -3,16 +3,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - organizations_api_V4ErrorResponse_output, - organizations_api_V4Message_output, + organizations$$api_V4ErrorResponse, + organizations$$api_V4Message, } from "../../outputs.js"; -import { organizations_api_OrganizationID } from "../../schemas.js"; +import { organizations$$api_OrganizationID } from "../../schemas.js"; import { - organizations_api_MemberID_output, - organizations_api_MemberSubjectUser_output, + organizations$$api_MemberID, + organizations$$api_MemberSubjectUser, } from "../outputs.js"; -import { organizations_api_OrganizationInviteMember_output } from "./outputs.js"; -import { organizations_api_HandleOrganizationInviteRequest } from "./schemas.js"; +import { organizations$$api_OrganizationInviteMember } from "./outputs.js"; +import { organizations$$api_HandleOrganizationInviteRequest } from "./schemas.js"; /** * The tools of `organization.invite`. @@ -29,23 +29,31 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/organizations-api_HandleOrganizationInviteRequest", "description": "The invitation action. Use `accept` to join the organization or `reject` to decline the invitation." }, - "member_code": { - "description": "The invitation code to accept or reject.", - "type": "string" - }, - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization associated with the invitation." + "path": { + "properties": { + "member_code": { + "description": "The invitation code to accept or reject.", + "type": "string" + }, + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID", + "description": "The ID of the organization associated with the invitation." + } + }, + "required": [ + "organization_id", + "member_code" + ], + "type": "object" } }, required: [ - "organization_id", - "member_code", + "path", "body" ], $defs: { - "organizations-api_HandleOrganizationInviteRequest": organizations_api_HandleOrganizationInviteRequest, - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_HandleOrganizationInviteRequest": organizations$$api_HandleOrganizationInviteRequest, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -81,10 +89,10 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_OrganizationInviteMember": organizations_api_OrganizationInviteMember_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_OrganizationInviteMember": organizations$$api_OrganizationInviteMember, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -139,11 +147,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_OrganizationInviteMember": organizations_api_OrganizationInviteMember_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_OrganizationInviteMember": organizations$$api_OrganizationInviteMember, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/organization/member/batch/schemas.ts b/src/generated/forge-mcp/organization/member/batch/schemas.ts index 02c4892b6..9d3a37ee1 100644 --- a/src/generated/forge-mcp/organization/member/batch/schemas.ts +++ b/src/generated/forge-mcp/organization/member/batch/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `organizations-api_BatchCreateMembersRequest`. */ -export const organizations_api_BatchCreateMembersRequest: JsonSchema = { +export const organizations$$api_BatchCreateMembersRequest: JsonSchema = { "properties": { "members": { "description": "Omitted or null members are treated as an empty batch.", diff --git a/src/generated/forge-mcp/organization/member/batch/tools.ts b/src/generated/forge-mcp/organization/member/batch/tools.ts index 1691511e5..a0dc7c776 100644 --- a/src/generated/forge-mcp/organization/member/batch/tools.ts +++ b/src/generated/forge-mcp/organization/member/batch/tools.ts @@ -3,22 +3,22 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - organizations_api_V4ErrorResponse_output, - organizations_api_V4Message_output, + organizations$$api_V4ErrorResponse, + organizations$$api_V4Message, } from "../../../outputs.js"; -import { organizations_api_OrganizationID } from "../../../schemas.js"; +import { organizations$$api_OrganizationID } from "../../../schemas.js"; import { - organizations_api_MemberID_output, - organizations_api_MemberSubjectUser_output, + organizations$$api_MemberID, + organizations$$api_MemberSubjectUser, } from "../../outputs.js"; import { - organizations_api_MemberPolicyRole_output, - organizations_api_MemberPolicyScope_output, - organizations_api_MemberPolicy_output, - organizations_api_Member_output, + organizations$$api_Member, + organizations$$api_MemberPolicy, + organizations$$api_MemberPolicyRole, + organizations$$api_MemberPolicyScope, } from "../outputs.js"; -import { organizations_api_CreateSingleMember } from "../schemas.js"; -import { organizations_api_BatchCreateMembersRequest } from "./schemas.js"; +import { organizations$$api_CreateSingleMember } from "../schemas.js"; +import { organizations$$api_BatchCreateMembersRequest } from "./schemas.js"; /** * The tools of `organization.member.batch`. @@ -34,18 +34,26 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/organizations-api_BatchCreateMembersRequest" }, - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID" + } + }, + "required": [ + "organization_id" + ], + "type": "object" } }, required: [ - "organization_id", + "path", "body" ], $defs: { - "organizations-api_BatchCreateMembersRequest": organizations_api_BatchCreateMembersRequest, - "organizations-api_CreateSingleMember": organizations_api_CreateSingleMember, - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_BatchCreateMembersRequest": organizations$$api_BatchCreateMembersRequest, + "organizations-api_CreateSingleMember": organizations$$api_CreateSingleMember, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -84,13 +92,13 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Member": organizations_api_Member_output, - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberPolicy": organizations_api_MemberPolicy_output, - "organizations-api_MemberPolicyRole": organizations_api_MemberPolicyRole_output, - "organizations-api_MemberPolicyScope": organizations_api_MemberPolicyScope_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Member": organizations$$api_Member, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, + "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, + "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -148,14 +156,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Member": organizations_api_Member_output, - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberPolicy": organizations_api_MemberPolicy_output, - "organizations-api_MemberPolicyRole": organizations_api_MemberPolicyRole_output, - "organizations-api_MemberPolicyScope": organizations_api_MemberPolicyScope_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Member": organizations$$api_Member, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, + "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, + "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/organization/member/outputs.ts b/src/generated/forge-mcp/organization/member/outputs.ts index 5e616fd94..41cd35bfa 100644 --- a/src/generated/forge-mcp/organization/member/outputs.ts +++ b/src/generated/forge-mcp/organization/member/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `organizations-api_DeleteOrganizationMemberResult` in * responses. */ -export const organizations_api_DeleteOrganizationMemberResult_output: JsonSchema = { +export const organizations$$api_DeleteOrganizationMemberResult: JsonSchema = { "properties": { "id": { "type": "string" @@ -22,7 +22,7 @@ export const organizations_api_DeleteOrganizationMemberResult_output: JsonSchema /** * The schema of `organizations-api_Member` in responses. */ -export const organizations_api_Member_output: JsonSchema = { +export const organizations$$api_Member: JsonSchema = { "properties": { "create_time": { "format": "date-time", @@ -74,7 +74,7 @@ export const organizations_api_Member_output: JsonSchema = { /** * The schema of `organizations-api_MemberPolicy` in responses. */ -export const organizations_api_MemberPolicy_output: JsonSchema = { +export const organizations$$api_MemberPolicy: JsonSchema = { "properties": { "id": { "type": "string" @@ -106,7 +106,7 @@ export const organizations_api_MemberPolicy_output: JsonSchema = { /** * The schema of `organizations-api_MemberPolicyRole` in responses. */ -export const organizations_api_MemberPolicyRole_output: JsonSchema = { +export const organizations$$api_MemberPolicyRole: JsonSchema = { "properties": { "id": { "type": "string" @@ -121,7 +121,7 @@ export const organizations_api_MemberPolicyRole_output: JsonSchema = { /** * The schema of `organizations-api_MemberPolicyScope` in responses. */ -export const organizations_api_MemberPolicyScope_output: JsonSchema = { +export const organizations$$api_MemberPolicyScope: JsonSchema = { "properties": { "key": { "type": "string" diff --git a/src/generated/forge-mcp/organization/member/schemas.ts b/src/generated/forge-mcp/organization/member/schemas.ts index a1b84dd90..f2d6c6559 100644 --- a/src/generated/forge-mcp/organization/member/schemas.ts +++ b/src/generated/forge-mcp/organization/member/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `organizations-api_CreateMemberRequest`. */ -export const organizations_api_CreateMemberRequest: JsonSchema = { +export const organizations$$api_CreateMemberRequest: JsonSchema = { "properties": { "member": { "$ref": "#/$defs/organizations-api_CreateSingleMember" @@ -21,7 +21,7 @@ export const organizations_api_CreateMemberRequest: JsonSchema = { /** * The schema of `organizations-api_CreateSingleMember`. */ -export const organizations_api_CreateSingleMember: JsonSchema = { +export const organizations$$api_CreateSingleMember: JsonSchema = { "properties": { "user": { "properties": { diff --git a/src/generated/forge-mcp/organization/member/tools.ts b/src/generated/forge-mcp/organization/member/tools.ts index f03cf8a8d..9492fcda2 100644 --- a/src/generated/forge-mcp/organization/member/tools.ts +++ b/src/generated/forge-mcp/organization/member/tools.ts @@ -1,28 +1,28 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - organizations_api_V4ErrorResponse_output, - organizations_api_V4Message_output, + organizations$$api_V4ErrorResponse, + organizations$$api_V4Message, } from "../../outputs.js"; -import { organizations_api_OrganizationID } from "../../schemas.js"; +import { organizations$$api_OrganizationID } from "../../schemas.js"; import { - organizations_api_MemberID_output, - organizations_api_MemberSubjectUser_output, - organizations_api_PageTokenResultInfo_output, + organizations$$api_MemberID, + organizations$$api_MemberSubjectUser, + organizations$$api_PageTokenResultInfo, } from "../outputs.js"; -import { organizations_api_MemberID } from "../schemas.js"; +import { organizations$$api_MemberID as organizations$$api_MemberID$ } from "../schemas.js"; import { - organizations_api_DeleteOrganizationMemberResult_output, - organizations_api_MemberPolicyRole_output, - organizations_api_MemberPolicyScope_output, - organizations_api_MemberPolicy_output, - organizations_api_Member_output, + organizations$$api_DeleteOrganizationMemberResult, + organizations$$api_Member, + organizations$$api_MemberPolicy, + organizations$$api_MemberPolicyRole, + organizations$$api_MemberPolicyScope, } from "./outputs.js"; import { - organizations_api_CreateMemberRequest, - organizations_api_CreateSingleMember, + organizations$$api_CreateMemberRequest, + organizations$$api_CreateSingleMember, } from "./schemas.js"; /** @@ -39,18 +39,26 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/organizations-api_CreateMemberRequest" }, - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID" + } + }, + "required": [ + "organization_id" + ], + "type": "object" } }, required: [ - "organization_id", + "path", "body" ], $defs: { - "organizations-api_CreateMemberRequest": organizations_api_CreateMemberRequest, - "organizations-api_CreateSingleMember": organizations_api_CreateSingleMember, - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_CreateMemberRequest": organizations$$api_CreateMemberRequest, + "organizations-api_CreateSingleMember": organizations$$api_CreateSingleMember, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -86,13 +94,13 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Member": organizations_api_Member_output, - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberPolicy": organizations_api_MemberPolicy_output, - "organizations-api_MemberPolicyRole": organizations_api_MemberPolicyRole_output, - "organizations-api_MemberPolicyScope": organizations_api_MemberPolicyScope_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Member": organizations$$api_Member, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, + "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, + "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -147,14 +155,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Member": organizations_api_Member_output, - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberPolicy": organizations_api_MemberPolicy_output, - "organizations-api_MemberPolicyRole": organizations_api_MemberPolicyRole_output, - "organizations-api_MemberPolicyScope": organizations_api_MemberPolicyScope_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Member": organizations$$api_Member, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, + "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, + "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ @@ -169,21 +177,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "member_id": { - "$ref": "#/$defs/organizations-api_MemberID", - "description": "Organization Member ID" - }, - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "path": { + "properties": { + "member_id": { + "$ref": "#/$defs/organizations-api_MemberID", + "description": "Organization Member ID" + }, + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID" + } + }, + "required": [ + "organization_id", + "member_id" + ], + "type": "object" } }, required: [ - "organization_id", - "member_id" + "path" ], $defs: { - "organizations-api_MemberID": organizations_api_MemberID, - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_MemberID": organizations$$api_MemberID$, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -219,8 +235,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_DeleteOrganizationMemberResult": organizations_api_DeleteOrganizationMemberResult_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_DeleteOrganizationMemberResult": organizations$$api_DeleteOrganizationMemberResult, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -275,9 +291,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_DeleteOrganizationMemberResult": organizations_api_DeleteOrganizationMemberResult_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_DeleteOrganizationMemberResult": organizations$$api_DeleteOrganizationMemberResult, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ @@ -291,21 +307,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "member_id": { - "$ref": "#/$defs/organizations-api_MemberID", - "description": "Organization Member ID" - }, - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "path": { + "properties": { + "member_id": { + "$ref": "#/$defs/organizations-api_MemberID", + "description": "Organization Member ID" + }, + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID" + } + }, + "required": [ + "organization_id", + "member_id" + ], + "type": "object" } }, required: [ - "organization_id", - "member_id" + "path" ], $defs: { - "organizations-api_MemberID": organizations_api_MemberID, - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_MemberID": organizations$$api_MemberID$, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -341,13 +365,13 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Member": organizations_api_Member_output, - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberPolicy": organizations_api_MemberPolicy_output, - "organizations-api_MemberPolicyRole": organizations_api_MemberPolicyRole_output, - "organizations-api_MemberPolicyScope": organizations_api_MemberPolicyScope_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Member": organizations$$api_Member, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, + "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, + "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -402,14 +426,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Member": organizations_api_Member_output, - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberPolicy": organizations_api_MemberPolicy_output, - "organizations-api_MemberPolicyRole": organizations_api_MemberPolicyRole_output, - "organizations-api_MemberPolicyScope": organizations_api_MemberPolicyScope_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Member": organizations$$api_Member, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, + "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, + "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ @@ -423,52 +447,65 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" - }, - "page_size": { - "description": "The amount of items to return. Defaults to 10.", - "type": "integer" - }, - "page_token": { - "description": "An opaque token returned from the last list response that when\nprovided will retrieve the next page.\n\nParameters used to filter the retrieved list must remain in subsequent\nrequests with a page token.", - "type": "string" - }, - "status": { - "description": "Filter the list of memberships by membership status.", - "items": { - "enum": [ - "active", - "pending", - "rejected", - "canceled" - ], - "type": "string" + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID" + } }, - "type": "array" - }, - "user_email": { - "description": "Filter the list of memberships for a specific email.", - "type": "string" - }, - "user_email_contains": { - "description": "Filter the list of memberships for a specific email that contains a substring.", - "type": "string" - }, - "user_email_ends_with": { - "description": "Filter the list of memberships for a specific email that ends with a substring.", - "type": "string" + "required": [ + "organization_id" + ], + "type": "object" }, - "user_email_starts_with": { - "description": "Filter the list of memberships for a specific email that starts with a substring.", - "type": "string" + "query": { + "properties": { + "page_size": { + "description": "The amount of items to return. Defaults to 10.", + "type": "integer" + }, + "page_token": { + "description": "An opaque token returned from the last list response that when\nprovided will retrieve the next page.\n\nParameters used to filter the retrieved list must remain in subsequent\nrequests with a page token.", + "type": "string" + }, + "status": { + "description": "Filter the list of memberships by membership status.", + "items": { + "enum": [ + "active", + "pending", + "rejected", + "canceled" + ], + "type": "string" + }, + "type": "array" + }, + "user.email": { + "description": "Filter the list of memberships for a specific email.", + "type": "string" + }, + "user.email.contains": { + "description": "Filter the list of memberships for a specific email that contains a substring.", + "type": "string" + }, + "user.email.endsWith": { + "description": "Filter the list of memberships for a specific email that ends with a substring.", + "type": "string" + }, + "user.email.startsWith": { + "description": "Filter the list of memberships for a specific email that starts with a substring.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "organization_id" + "path" ], $defs: { - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -511,14 +548,14 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Member": organizations_api_Member_output, - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberPolicy": organizations_api_MemberPolicy_output, - "organizations-api_MemberPolicyRole": organizations_api_MemberPolicyRole_output, - "organizations-api_MemberPolicyScope": organizations_api_MemberPolicyScope_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_PageTokenResultInfo": organizations_api_PageTokenResultInfo_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Member": organizations$$api_Member, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, + "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, + "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_PageTokenResultInfo": organizations$$api_PageTokenResultInfo, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -580,27 +617,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Member": organizations_api_Member_output, - "organizations-api_MemberID": organizations_api_MemberID_output, - "organizations-api_MemberPolicy": organizations_api_MemberPolicy_output, - "organizations-api_MemberPolicyRole": organizations_api_MemberPolicyRole_output, - "organizations-api_MemberPolicyScope": organizations_api_MemberPolicyScope_output, - "organizations-api_MemberSubjectUser": organizations_api_MemberSubjectUser_output, - "organizations-api_PageTokenResultInfo": organizations_api_PageTokenResultInfo_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Member": organizations$$api_Member, + "organizations-api_MemberID": organizations$$api_MemberID, + "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, + "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, + "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, + "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, + "organizations-api_PageTokenResultInfo": organizations$$api_PageTokenResultInfo, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/members`, query: [ - ["status", args["status"], true], - ["user.email", args["user_email"], false], - ["user.email.contains", args["user_email_contains"], false], - ["user.email.startsWith", args["user_email_starts_with"], false], - ["user.email.endsWith", args["user_email_ends_with"], false], - ["page_token", args["page_token"], false], - ["page_size", args["page_size"], false], + ["status", param(args, "query", "status"), true], + ["user.email", param(args, "query", "user.email"), false], + ["user.email.contains", param(args, "query", "user.email.contains"), false], + ["user.email.startsWith", param(args, "query", "user.email.startsWith"), false], + ["user.email.endsWith", param(args, "query", "user.email.endsWith"), false], + ["page_token", param(args, "query", "page_token"), false], + ["page_size", param(args, "query", "page_size"), false], ], }), }, diff --git a/src/generated/forge-mcp/organization/outputs.ts b/src/generated/forge-mcp/organization/outputs.ts index b25efcd51..5ae3b2eda 100644 --- a/src/generated/forge-mcp/organization/outputs.ts +++ b/src/generated/forge-mcp/organization/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `organizations-api_DeleteOrganizationResult` in responses. */ -export const organizations_api_DeleteOrganizationResult_output: JsonSchema = { +export const organizations$$api_DeleteOrganizationResult: JsonSchema = { "properties": { "id": { "type": "string" @@ -21,14 +21,14 @@ export const organizations_api_DeleteOrganizationResult_output: JsonSchema = { /** * The schema of `organizations-api_MemberID` in responses. */ -export const organizations_api_MemberID_output: JsonSchema = { +export const organizations$$api_MemberID: JsonSchema = { "type": "string" }; /** * The schema of `organizations-api_MemberSubjectUser` in responses. */ -export const organizations_api_MemberSubjectUser_output: JsonSchema = { +export const organizations$$api_MemberSubjectUser: JsonSchema = { "properties": { "email": { "type": "string" @@ -55,7 +55,7 @@ export const organizations_api_MemberSubjectUser_output: JsonSchema = { /** * The schema of `organizations-api_PageTokenResultInfo` in responses. */ -export const organizations_api_PageTokenResultInfo_output: JsonSchema = { +export const organizations$$api_PageTokenResultInfo: JsonSchema = { "properties": { "next_page_token": { "type": "string" diff --git a/src/generated/forge-mcp/organization/profile/outputs.ts b/src/generated/forge-mcp/organization/profile/outputs.ts index d3dd890be..80f2b1275 100644 --- a/src/generated/forge-mcp/organization/profile/outputs.ts +++ b/src/generated/forge-mcp/organization/profile/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `organizations-api_ProfileResponse` in responses. */ -export const organizations_api_ProfileResponse_output: JsonSchema = { +export const organizations$$api_ProfileResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/organization/profile/tools.ts b/src/generated/forge-mcp/organization/profile/tools.ts index 1d5ab3ece..4f85a9372 100644 --- a/src/generated/forge-mcp/organization/profile/tools.ts +++ b/src/generated/forge-mcp/organization/profile/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - organizations_api_Profile_output, - organizations_api_V4ErrorResponse_output, - organizations_api_V4Message_output, + organizations$$api_Profile, + organizations$$api_V4ErrorResponse, + organizations$$api_V4Message, } from "../../outputs.js"; import { - organizations_api_ModifyProfileRequest, - organizations_api_OrganizationID, + organizations$$api_ModifyProfileRequest, + organizations$$api_OrganizationID, } from "../../schemas.js"; -import { organizations_api_ProfileResponse_output } from "./outputs.js"; +import { organizations$$api_ProfileResponse } from "./outputs.js"; /** * The tools of `organization.profile`. @@ -24,24 +24,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to retrieve a profile for." + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID", + "description": "The ID of the organization to retrieve a profile for." + } + }, + "required": [ + "organization_id" + ], + "type": "object" } }, required: [ - "organization_id" + "path" ], $defs: { - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { "$ref": "#/$defs/organizations-api_ProfileResponse", $defs: { - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_ProfileResponse": organizations_api_ProfileResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_ProfileResponse": organizations$$api_ProfileResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -66,10 +74,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_ProfileResponse": organizations_api_ProfileResponse_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_ProfileResponse": organizations$$api_ProfileResponse, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ @@ -86,17 +94,25 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/organizations-api_ModifyProfileRequest" }, - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID" + } + }, + "required": [ + "organization_id" + ], + "type": "object" } }, required: [ - "organization_id", + "path", "body" ], $defs: { - "organizations-api_ModifyProfileRequest": organizations_api_ModifyProfileRequest, - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_ModifyProfileRequest": organizations$$api_ModifyProfileRequest, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, annotations: { @@ -119,8 +135,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/organization/schemas.ts b/src/generated/forge-mcp/organization/schemas.ts index f5743564b..c1e2a1670 100644 --- a/src/generated/forge-mcp/organization/schemas.ts +++ b/src/generated/forge-mcp/organization/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `organizations-api_CreateOrganizationProfileRequest`. */ -export const organizations_api_CreateOrganizationProfileRequest: JsonSchema = { +export const organizations$$api_CreateOrganizationProfileRequest: JsonSchema = { "description": "Optional profile fields, each limited to 1,000 UTF-8 bytes. An empty profile is ignored.", "properties": { "business_address": { @@ -31,7 +31,7 @@ export const organizations_api_CreateOrganizationProfileRequest: JsonSchema = { /** * The schema of `organizations-api_CreateOrganizationRequest`. */ -export const organizations_api_CreateOrganizationRequest: JsonSchema = { +export const organizations$$api_CreateOrganizationRequest: JsonSchema = { "properties": { "name": { "description": "The Organization name, limited to 65 UTF-8 bytes.", @@ -62,7 +62,7 @@ export const organizations_api_CreateOrganizationRequest: JsonSchema = { /** * The schema of `organizations-api_MemberID`. */ -export const organizations_api_MemberID: JsonSchema = { +export const organizations$$api_MemberID: JsonSchema = { "description": "Organization Member ID", "type": "string" }; @@ -70,7 +70,7 @@ export const organizations_api_MemberID: JsonSchema = { /** * The schema of `organizations-api_ModifyOrganizationRequest`. */ -export const organizations_api_ModifyOrganizationRequest: JsonSchema = { +export const organizations$$api_ModifyOrganizationRequest: JsonSchema = { "properties": { "name": { "description": "The Organization's display name, limited to 65 UTF-8 bytes. An omitted, empty, or unchanged value is a no-op.", diff --git a/src/generated/forge-mcp/organization/share/tools.ts b/src/generated/forge-mcp/organization/share/tools.ts index 41a24f696..2429511f2 100644 --- a/src/generated/forge-mcp/organization/share/tools.ts +++ b/src/generated/forge-mcp/organization/share/tools.ts @@ -1,42 +1,42 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource_sharing_account_id_output, - resource_sharing_account_name_output, - resource_sharing_api_response_collection_info_output, - resource_sharing_api_response_collection_output, - resource_sharing_api_response_common_failure_output, - resource_sharing_api_response_common_output, - resource_sharing_created_output, - resource_sharing_modified_output, - resource_sharing_organization_id_output, - resource_sharing_resource_id_output, - resource_sharing_resource_meta_output, - resource_sharing_resource_resource_id_output, - resource_sharing_resource_status_output, - resource_sharing_resource_type_output, - resource_sharing_resource_version_output, - resource_sharing_result_info_output, - resource_sharing_share_id_output, - resource_sharing_share_kind_output, - resource_sharing_share_name_output, - resource_sharing_share_object_output, - resource_sharing_share_resource_object_output, - resource_sharing_share_response_collection_output, - resource_sharing_share_response_collection_result_output, - resource_sharing_share_status_output, - resource_sharing_share_target_type_output, - resource_sharing_v4error_output, - resource_sharing_v4errors_output, + resource$$sharing_account_id, + resource$$sharing_account_name, + resource$$sharing_api$$response$$collection, + resource$$sharing_api$$response$$collection$$info, + resource$$sharing_api$$response$$common, + resource$$sharing_api$$response$$common$$failure, + resource$$sharing_created, + resource$$sharing_modified, + resource$$sharing_organization_id, + resource$$sharing_resource_id, + resource$$sharing_resource_meta, + resource$$sharing_resource_resource_id, + resource$$sharing_resource_status, + resource$$sharing_resource_type, + resource$$sharing_resource_version, + resource$$sharing_result_info, + resource$$sharing_share_id, + resource$$sharing_share_kind, + resource$$sharing_share_name, + resource$$sharing_share_object, + resource$$sharing_share_resource_object, + resource$$sharing_share_response_collection, + resource$$sharing_share_response_collection_result, + resource$$sharing_share_status, + resource$$sharing_share_target_type, + resource$$sharing_v4error, + resource$$sharing_v4errors, } from "../../outputs.js"; import { - resource_sharing_organization_id, - resource_sharing_resource_type, - resource_sharing_share_kind, - resource_sharing_share_status, - resource_sharing_share_target_type, + resource$$sharing_organization_id as resource$$sharing_organization_id$, + resource$$sharing_resource_type as resource$$sharing_resource_type$, + resource$$sharing_share_kind as resource$$sharing_share_kind$, + resource$$sharing_share_status as resource$$sharing_share_status$, + resource$$sharing_share_target_type as resource$$sharing_share_target_type$, } from "../../schemas.js"; /** @@ -50,98 +50,111 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "direction": { - "default": "asc", - "description": "Direction to sort objects.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "kind": { - "$ref": "#/$defs/resource-sharing_share_kind", - "description": "Filter shares by kind." - }, - "order": { - "default": "created", - "description": "Order shares by values in the given field.", - "enum": [ - "name", - "created" + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/resource-sharing_organization_id", + "description": "Organization identifier." + } + }, + "required": [ + "organization_id" ], - "type": "string" - }, - "organization_id": { - "$ref": "#/$defs/resource-sharing_organization_id", - "description": "Organization identifier." + "type": "object" }, - "page": { - "default": 1, - "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", - "type": "integer" - }, - "resource_types": { - "description": "Filter share resources by resource_types.", - "items": { - "$ref": "#/$defs/resource-sharing_resource_type" + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "Direction to sort objects.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "kind": { + "$ref": "#/$defs/resource-sharing_share_kind", + "description": "Filter shares by kind." + }, + "order": { + "default": "created", + "description": "Order shares by values in the given field.", + "enum": [ + "name", + "created" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", + "type": "integer" + }, + "resource_types": { + "description": "Filter share resources by resource_types.", + "items": { + "$ref": "#/$defs/resource-sharing_resource_type" + }, + "type": "array" + }, + "status": { + "$ref": "#/$defs/resource-sharing_share_status", + "description": "Filter shares by status." + }, + "target_type": { + "$ref": "#/$defs/resource-sharing_share_target_type", + "description": "Filter shares by target_type." + } }, - "type": "array" - }, - "status": { - "$ref": "#/$defs/resource-sharing_share_status", - "description": "Filter shares by status." - }, - "target_type": { - "$ref": "#/$defs/resource-sharing_share_target_type", - "description": "Filter shares by target_type." + "type": "object" } }, required: [ - "organization_id" + "path" ], $defs: { - "resource-sharing_organization_id": resource_sharing_organization_id, - "resource-sharing_resource_type": resource_sharing_resource_type, - "resource-sharing_share_kind": resource_sharing_share_kind, - "resource-sharing_share_status": resource_sharing_share_status, - "resource-sharing_share_target_type": resource_sharing_share_target_type, + "resource-sharing_organization_id": resource$$sharing_organization_id$, + "resource-sharing_resource_type": resource$$sharing_resource_type$, + "resource-sharing_share_kind": resource$$sharing_share_kind$, + "resource-sharing_share_status": resource$$sharing_share_status$, + "resource-sharing_share_target_type": resource$$sharing_share_target_type$, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_collection", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_collection": resource_sharing_share_response_collection_output, - "resource-sharing_share_response_collection_result": resource_sharing_share_response_collection_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_collection": resource$$sharing_share_response_collection, + "resource-sharing_share_response_collection_result": resource$$sharing_share_response_collection_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -174,46 +187,46 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_collection": resource_sharing_share_response_collection_output, - "resource-sharing_share_response_collection_result": resource_sharing_share_response_collection_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_collection": resource$$sharing_share_response_collection, + "resource-sharing_share_response_collection_result": resource$$sharing_share_response_collection_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/shares`, query: [ - ["status", args["status"], true], - ["kind", args["kind"], true], - ["target_type", args["target_type"], true], - ["resource_types", args["resource_types"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["status", param(args, "query", "status"), true], + ["kind", param(args, "query", "kind"), true], + ["target_type", param(args, "query", "target_type"), true], + ["resource_types", param(args, "query", "resource_types"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/organization/tools.ts b/src/generated/forge-mcp/organization/tools.ts index f03335ddd..dcf2473f4 100644 --- a/src/generated/forge-mcp/organization/tools.ts +++ b/src/generated/forge-mcp/organization/tools.ts @@ -1,24 +1,24 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - organizations_api_OrganizationFlags_output, - organizations_api_OrganizationID_output, - organizations_api_Organization_output, - organizations_api_Profile_output, - organizations_api_V4ErrorResponse_output, - organizations_api_V4Message_output, + organizations$$api_Organization, + organizations$$api_OrganizationFlags, + organizations$$api_OrganizationID, + organizations$$api_Profile, + organizations$$api_V4ErrorResponse, + organizations$$api_V4Message, } from "../outputs.js"; -import { organizations_api_OrganizationID } from "../schemas.js"; +import { organizations$$api_OrganizationID as organizations$$api_OrganizationID$ } from "../schemas.js"; import { - organizations_api_DeleteOrganizationResult_output, - organizations_api_PageTokenResultInfo_output, + organizations$$api_DeleteOrganizationResult, + organizations$$api_PageTokenResultInfo, } from "./outputs.js"; import { - organizations_api_CreateOrganizationProfileRequest, - organizations_api_CreateOrganizationRequest, - organizations_api_ModifyOrganizationRequest, + organizations$$api_CreateOrganizationProfileRequest, + organizations$$api_CreateOrganizationRequest, + organizations$$api_ModifyOrganizationRequest, } from "./schemas.js"; /** @@ -40,9 +40,9 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "organizations-api_CreateOrganizationProfileRequest": organizations_api_CreateOrganizationProfileRequest, - "organizations-api_CreateOrganizationRequest": organizations_api_CreateOrganizationRequest, - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_CreateOrganizationProfileRequest": organizations$$api_CreateOrganizationProfileRequest, + "organizations-api_CreateOrganizationRequest": organizations$$api_CreateOrganizationRequest, + "organizations-api_OrganizationID": organizations$$api_OrganizationID$, }, }, outputSchema: { @@ -78,11 +78,11 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -142,12 +142,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ @@ -162,16 +162,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to delete." + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID", + "description": "The ID of the organization to delete." + } + }, + "required": [ + "organization_id" + ], + "type": "object" } }, required: [ - "organization_id" + "path" ], $defs: { - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_OrganizationID": organizations$$api_OrganizationID$, }, }, outputSchema: { @@ -207,8 +215,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_DeleteOrganizationResult": organizations_api_DeleteOrganizationResult_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_DeleteOrganizationResult": organizations$$api_DeleteOrganizationResult, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -263,9 +271,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_DeleteOrganizationResult": organizations_api_DeleteOrganizationResult_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_DeleteOrganizationResult": organizations$$api_DeleteOrganizationResult, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ @@ -279,16 +287,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to retrieve." + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID", + "description": "The ID of the organization to retrieve." + } + }, + "required": [ + "organization_id" + ], + "type": "object" } }, required: [ - "organization_id" + "path" ], $defs: { - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_OrganizationID": organizations$$api_OrganizationID$, }, }, outputSchema: { @@ -324,11 +340,11 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -383,12 +399,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ @@ -402,85 +418,90 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "containing_account": { - "description": "Filter the list of organizations to the ones that contain this particular\naccount.", - "type": "string" - }, - "containing_organization": { - "description": "Filter the list of organizations to the ones that contain this particular\norganization.", - "type": "string" - }, - "containing_user": { - "description": "Filter the list of organizations to the ones that contain this particular\nuser.\n\nIMPORTANT: Just because an organization \"contains\" a user is not a\nrepresentation of any authorization or privilege to manage any resources\ntherein. An organization \"containing\" a user simply means the user is managed by\nthat organization.", - "type": "string" - }, - "direction": { - "description": "Sort direction for the `order_by` field. Defaults to `asc` when `order_by` is\nspecified.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "id": { - "description": "Only return organizations with the specified IDs (ex. id=foo&id=bar). Send multiple elements\nby repeating the query value.", - "items": { - "$ref": "#/$defs/organizations-api_OrganizationID" - }, - "type": "array" - }, - "member_email": { - "description": "Filter organizations to those where the given user, by email, is an active member of\nthat exact organization. This does not include hierarchy-derived access.", - "type": "string" - }, - "name": { - "description": "(case-sensitive) Filter the list of organizations to where the name is equal to a\nparticular string.", - "type": "string" - }, - "name_contains": { - "description": "(case-insensitive) Filter the list of organizations to where the name contains a particular\nstring.", - "type": "string" - }, - "name_ends_with": { - "description": "(case-insensitive) Filter the list of organizations to where the name ends with a particular\nstring.", - "type": "string" - }, - "name_starts_with": { - "description": "(case-insensitive) Filter the list of organizations to where the name starts with a\nparticular string.", - "type": "string" - }, - "order_by": { - "description": "Field to order results by. Currently supported values: `name`.\nWhen not specified, results are ordered by hierarchy.", - "enum": [ - "name" - ], - "type": "string" - }, - "page_size": { - "description": "The amount of items to return. Defaults to 10.", - "type": "integer" - }, - "page_token": { - "description": "An opaque token returned from the last list response that when\nprovided will retrieve the next page.\n\nParameters used to filter the retrieved list must remain in subsequent\nrequests with a page token.", - "type": "string" - }, - "parent_id": { - "anyOf": [ - { - "$ref": "#/$defs/organizations-api_OrganizationID" + "query": { + "properties": { + "containing.account": { + "description": "Filter the list of organizations to the ones that contain this particular\naccount.", + "type": "string" + }, + "containing.organization": { + "description": "Filter the list of organizations to the ones that contain this particular\norganization.", + "type": "string" + }, + "containing.user": { + "description": "Filter the list of organizations to the ones that contain this particular\nuser.\n\nIMPORTANT: Just because an organization \"contains\" a user is not a\nrepresentation of any authorization or privilege to manage any resources\ntherein. An organization \"containing\" a user simply means the user is managed by\nthat organization.", + "type": "string" }, - { + "direction": { + "description": "Sort direction for the `order_by` field. Defaults to `asc` when `order_by` is\nspecified.", "enum": [ - "null" + "asc", + "desc" ], "type": "string" + }, + "id": { + "description": "Only return organizations with the specified IDs (ex. id=foo&id=bar). Send multiple elements\nby repeating the query value.", + "items": { + "$ref": "#/$defs/organizations-api_OrganizationID" + }, + "type": "array" + }, + "member.email": { + "description": "Filter organizations to those where the given user, by email, is an active member of\nthat exact organization. This does not include hierarchy-derived access.", + "type": "string" + }, + "name": { + "description": "(case-sensitive) Filter the list of organizations to where the name is equal to a\nparticular string.", + "type": "string" + }, + "name.contains": { + "description": "(case-insensitive) Filter the list of organizations to where the name contains a particular\nstring.", + "type": "string" + }, + "name.endsWith": { + "description": "(case-insensitive) Filter the list of organizations to where the name ends with a particular\nstring.", + "type": "string" + }, + "name.startsWith": { + "description": "(case-insensitive) Filter the list of organizations to where the name starts with a\nparticular string.", + "type": "string" + }, + "order_by": { + "description": "Field to order results by. Currently supported values: `name`.\nWhen not specified, results are ordered by hierarchy.", + "enum": [ + "name" + ], + "type": "string" + }, + "page_size": { + "description": "The amount of items to return. Defaults to 10.", + "type": "integer" + }, + "page_token": { + "description": "An opaque token returned from the last list response that when\nprovided will retrieve the next page.\n\nParameters used to filter the retrieved list must remain in subsequent\nrequests with a page token.", + "type": "string" + }, + "parent.id": { + "anyOf": [ + { + "$ref": "#/$defs/organizations-api_OrganizationID" + }, + { + "enum": [ + "null" + ], + "type": "string" + } + ], + "description": "Filter the list of organizations to the ones that are a sub-organization\nof the specified organization.\n\n\"null\" is a valid value to provide for this parameter. It means \"where\nan organization has no parent (i.e. it is a 'root' organization).\"" } - ], - "description": "Filter the list of organizations to the ones that are a sub-organization\nof the specified organization.\n\n\"null\" is a valid value to provide for this parameter. It means \"where\nan organization has no parent (i.e. it is a 'root' organization).\"" + }, + "type": "object" } }, $defs: { - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_OrganizationID": organizations$$api_OrganizationID$, }, }, outputSchema: { @@ -523,12 +544,12 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_PageTokenResultInfo": organizations_api_PageTokenResultInfo_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_PageTokenResultInfo": organizations$$api_PageTokenResultInfo, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -596,32 +617,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_PageTokenResultInfo": organizations_api_PageTokenResultInfo_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_PageTokenResultInfo": organizations$$api_PageTokenResultInfo, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ path: `/organizations`, query: [ - ["id", args["id"], true], - ["name", args["name"], false], - ["name.startsWith", args["name_starts_with"], false], - ["name.endsWith", args["name_ends_with"], false], - ["name.contains", args["name_contains"], false], - ["containing.account", args["containing_account"], false], - ["containing.user", args["containing_user"], false], - ["containing.organization", args["containing_organization"], false], - ["parent.id", args["parent_id"], false], - ["member.email", args["member_email"], true], - ["order_by", args["order_by"], false], - ["direction", args["direction"], false], - ["page_token", args["page_token"], false], - ["page_size", args["page_size"], false], + ["id", param(args, "query", "id"), true], + ["name", param(args, "query", "name"), false], + ["name.startsWith", param(args, "query", "name.startsWith"), false], + ["name.endsWith", param(args, "query", "name.endsWith"), false], + ["name.contains", param(args, "query", "name.contains"), false], + ["containing.account", param(args, "query", "containing.account"), false], + ["containing.user", param(args, "query", "containing.user"), false], + ["containing.organization", param(args, "query", "containing.organization"), false], + ["parent.id", param(args, "query", "parent.id"), false], + ["member.email", param(args, "query", "member.email"), true], + ["order_by", param(args, "query", "order_by"), false], + ["direction", param(args, "query", "direction"), false], + ["page_token", param(args, "query", "page_token"), false], + ["page_size", param(args, "query", "page_size"), false], ], }), }, @@ -636,18 +657,26 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/organizations-api_ModifyOrganizationRequest", "description": "The Organization fields to update or verify." }, - "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to modify." + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/organizations-api_OrganizationID", + "description": "The ID of the organization to modify." + } + }, + "required": [ + "organization_id" + ], + "type": "object" } }, required: [ - "organization_id", + "path", "body" ], $defs: { - "organizations-api_ModifyOrganizationRequest": organizations_api_ModifyOrganizationRequest, - "organizations-api_OrganizationID": organizations_api_OrganizationID, + "organizations-api_ModifyOrganizationRequest": organizations$$api_ModifyOrganizationRequest, + "organizations-api_OrganizationID": organizations$$api_OrganizationID$, }, }, outputSchema: { @@ -683,11 +712,11 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, annotations: { @@ -742,12 +771,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_Organization": organizations_api_Organization_output, - "organizations-api_OrganizationFlags": organizations_api_OrganizationFlags_output, - "organizations-api_OrganizationID": organizations_api_OrganizationID_output, - "organizations-api_Profile": organizations_api_Profile_output, - "organizations-api_V4ErrorResponse": organizations_api_V4ErrorResponse_output, - "organizations-api_V4Message": organizations_api_V4Message_output, + "organizations-api_Organization": organizations$$api_Organization, + "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, + "organizations-api_OrganizationID": organizations$$api_OrganizationID, + "organizations-api_Profile": organizations$$api_Profile, + "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, + "organizations-api_V4Message": organizations$$api_V4Message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/organizations/billing/usage/tools.ts b/src/generated/forge-mcp/organizations/billing/usage/tools.ts index f5b664b82..a7ab1ecf2 100644 --- a/src/generated/forge-mcp/organizations/billing/usage/tools.ts +++ b/src/generated/forge-mcp/organizations/billing/usage/tools.ts @@ -1,14 +1,14 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - billable_usage_api_api_response_common_failure_output, - billable_usage_api_cost_and_usage_data_output, - billable_usage_api_message_output, - billable_usage_api_v2_usage_response_output, + billable$$usage$$api_api$$response$$common$$failure, + billable$$usage$$api_cost_and_usage_data, + billable$$usage$$api_message, + billable$$usage$$api_v2_usage_response, } from "../../../outputs.js"; -import { billable_usage_api_identifier } from "../../../schemas.js"; +import { billable$$usage$$api_identifier } from "../../../schemas.js"; /** * The tools of `organizations.billing.usage`. @@ -21,34 +21,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "from": { - "description": "Start date for the usage query (ISO 8601). Required if `to` is set. When omitted along with `to`, defaults to the start of the current month. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", - "format": "date", - "type": "string" + "path": { + "properties": { + "organization_id": { + "$ref": "#/$defs/billable-usage-api_identifier", + "description": "Identifies the Cloudflare organization." + } + }, + "required": [ + "organization_id" + ], + "type": "object" }, - "organization_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare organization." - }, - "to": { - "description": "End date for the usage query (ISO 8601). Required if `from` is set. When omitted along with `from`, defaults to today. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", - "format": "date", - "type": "string" + "query": { + "properties": { + "from": { + "description": "Start date for the usage query (ISO 8601). Required if `to` is set. When omitted along with `to`, defaults to the start of the current month. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", + "format": "date", + "type": "string" + }, + "to": { + "description": "End date for the usage query (ISO 8601). Required if `from` is set. When omitted along with `from`, defaults to today. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", + "format": "date", + "type": "string" + } + }, + "type": "object" } }, required: [ - "organization_id" + "path" ], $defs: { - "billable-usage-api_identifier": billable_usage_api_identifier, + "billable-usage-api_identifier": billable$$usage$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_v2_usage_response", $defs: { - "billable-usage-api_cost_and_usage_data": billable_usage_api_cost_and_usage_data_output, - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_v2_usage_response": billable_usage_api_v2_usage_response_output, + "billable-usage-api_cost_and_usage_data": billable$$usage$$api_cost_and_usage_data, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_v2_usage_response": billable$$usage$$api_v2_usage_response, }, }, annotations: { @@ -78,17 +91,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "billable-usage-api_api-response-common-failure": billable_usage_api_api_response_common_failure_output, - "billable-usage-api_cost_and_usage_data": billable_usage_api_cost_and_usage_data_output, - "billable-usage-api_message": billable_usage_api_message_output, - "billable-usage-api_v2_usage_response": billable_usage_api_v2_usage_response_output, + "billable-usage-api_api-response-common-failure": billable$$usage$$api_api$$response$$common$$failure, + "billable-usage-api_cost_and_usage_data": billable$$usage$$api_cost_and_usage_data, + "billable-usage-api_message": billable$$usage$$api_message, + "billable-usage-api_v2_usage_response": billable$$usage$$api_v2_usage_response, }, }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/billable/usage`, query: [ - ["from", args["from"], true], - ["to", args["to"], true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], ], }), }, diff --git a/src/generated/forge-mcp/organizations/logs/audit/outputs.ts b/src/generated/forge-mcp/organizations/logs/audit/outputs.ts index 17ff2c3b3..a9139ce78 100644 --- a/src/generated/forge-mcp/organizations/logs/audit/outputs.ts +++ b/src/generated/forge-mcp/organizations/logs/audit/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `aaa_audit-logs-v2-org` in responses. */ -export const aaa_audit_logs_v2_org_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$org: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/aaa_audit-log-action" @@ -76,7 +76,7 @@ export const aaa_audit_logs_v2_org_output: JsonSchema = { * The schema of `aaa_audit-logs-v2-org-history-response-collection` in * responses. */ -export const aaa_audit_logs_v2_org_history_response_collection_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$org$$history$$response$$collection: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages-2" @@ -109,7 +109,7 @@ export const aaa_audit_logs_v2_org_history_response_collection_output: JsonSchem /** * The schema of `aaa_audit-logs-v2-org-response-collection` in responses. */ -export const aaa_audit_logs_v2_org_response_collection_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$org$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/aaa_audit-logs-response-collection" diff --git a/src/generated/forge-mcp/organizations/logs/audit/tools.ts b/src/generated/forge-mcp/organizations/logs/audit/tools.ts index f17562e53..79f167fd6 100644 --- a/src/generated/forge-mcp/organizations/logs/audit/tools.ts +++ b/src/generated/forge-mcp/organizations/logs/audit/tools.ts @@ -1,24 +1,24 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - aaa_api_response_common_failure_2_output, - aaa_audit_log_action_output, - aaa_audit_log_actor_base_output, - aaa_audit_log_raw_output, - aaa_audit_logs_response_collection_output, - aaa_audit_logs_v2_history_not_found_output, - aaa_audit_logs_v2_history_result_info_output, - aaa_history_status_output, - aaa_identifier_2_output, - aaa_messages_2_output, - aaa_result_info_output, + aaa_api$$response$$common$$failure$$2, + aaa_audit$$log$$action, + aaa_audit$$log$$actor$$base, + aaa_audit$$log$$raw, + aaa_audit$$logs$$response$$collection, + aaa_audit$$logs$$v2$$history$$not$$found, + aaa_audit$$logs$$v2$$history$$result$$info, + aaa_history$$status, + aaa_identifier$$2, + aaa_messages$$2, + aaa_result_info, } from "../../../outputs.js"; import { - aaa_audit_logs_v2_org_history_response_collection_output, - aaa_audit_logs_v2_org_output, - aaa_audit_logs_v2_org_response_collection_output, + aaa_audit$$logs$$v2$$org, + aaa_audit$$logs$$v2$$org$$history$$response$$collection, + aaa_audit$$logs$$v2$$org$$response$$collection, } from "./outputs.js"; /** @@ -32,361 +32,377 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "action_result": { - "description": "Filters by whether the action was successful or not.", - "items": { - "enum": [ - "success", - "failure" - ], - "type": "string" - }, - "type": "array" - }, - "action_result_not": { - "description": "Filters out audit logs by whether the action was successful or not.", - "items": { - "enum": [ - "success", - "failure" - ], - "type": "string" - }, - "type": "array" - }, - "action_type": { - "description": "Filters by the action type.", - "items": { - "enum": [ - "create", - "delete", - "view", - "update" - ], - "type": "string" - }, - "type": "array" - }, - "action_type_not": { - "description": "Filters out audit logs by the action type.", - "items": { - "enum": [ - "create", - "delete", - "view", - "update" - ], - "type": "string" - }, - "type": "array" - }, - "actor_context": { - "description": "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", - "items": { - "enum": [ - "api", - "api_key", - "api_token", - "dash", - "oauth", - "origin_ca_key" - ], - "type": "string" - }, - "type": "array" - }, - "actor_context_not": { - "description": "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", - "items": { - "enum": [ - "api", - "api_key", - "api_token", - "dash", - "oauth", - "origin_ca_key" - ], - "type": "string" - }, - "type": "array" - }, - "actor_email": { - "description": "Filters by the actor's email address.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_email_not": { - "description": "Filters out audit logs by the actor's email address.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_id": { - "description": "Filters by the actor's user ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_id_not": { - "description": "Filters out audit logs by the actor's user ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_ip_address": { - "description": "The IP address where the action was initiated.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_ip_address_not": { - "description": "Filters out audit logs IP address where the action was initiated.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_token_id": { - "description": "Filters by the API token ID when the actor context is an api_token or oauth.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_token_id_not": { - "description": "Filters out audit logs by the API token ID when the actor context is an api_token or oauth.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_token_name": { - "description": "Filters by the API token name when the actor context is an api_token or oauth.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_token_name_not": { - "description": "Filters out audit logs by the API token name when the actor context is an api_token or oauth.", - "items": { - "type": "string" - }, - "type": "array" - }, - "actor_type": { - "description": "Filters by the actor type.", - "items": { - "enum": [ - "cloudflare_admin", - "system", - "user" - ], - "type": "string" - }, - "type": "array" - }, - "actor_type_not": { - "description": "Filters out audit logs by the actor type.", - "items": { - "enum": [ - "cloudflare_admin", - "system", - "user" - ], - "type": "string" - }, - "type": "array" - }, - "before": { - "description": "Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", - "format": "date", - "type": "string" - }, - "cursor": { - "description": "The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.", - "type": "string" - }, - "direction": { - "default": "desc", - "description": "Sets sorting order.", - "enum": [ - "desc", - "asc" + "path": { + "properties": { + "organization_id": { + "description": "The unique id that identifies the organization.", + "type": "string" + } + }, + "required": [ + "organization_id" ], - "type": "string" - }, - "id": { - "description": "Finds a specific log by its ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "id_not": { - "description": "Filters out audit logs by their IDs.", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 100, - "description": "The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", - "type": "number" - }, - "organization_id": { - "description": "The unique id that identifies the organization.", - "type": "string" - }, - "raw_cf_ray_id": { - "description": "Filters by the response CF Ray ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_cf_ray_id_not": { - "description": "Filters out audit logs by the response CF Ray ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_method": { - "description": "The HTTP method for the API call.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_method_not": { - "description": "Filters out audit logs by the HTTP method for the API call.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_status_code": { - "description": "The response status code that was returned.", - "items": { - "type": "integer" - }, - "type": "array" - }, - "raw_status_code_not": { - "description": "Filters out audit logs by the response status code that was returned.", - "items": { - "type": "integer" - }, - "type": "array" - }, - "raw_uri": { - "description": "Filters by the request URI.", - "items": { - "type": "string" - }, - "type": "array" - }, - "raw_uri_not": { - "description": "Filters out audit logs by the request URI.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_id": { - "description": "Filters by the resource ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_id_not": { - "description": "Filters out audit logs by the resource ID.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_product": { - "description": "Filters audit logs by the Cloudflare product associated with the changed resource.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_product_not": { - "description": "Filters out audit logs by the Cloudflare product associated with the changed resource.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_scope": { - "description": "Filters by the resource scope, specifying whether the resource is associated with an organization.", - "items": { - "enum": [ - "organizations" - ], - "type": "string" - }, - "type": "array" - }, - "resource_scope_not": { - "description": "Filters out audit logs by the resource scope, specifying whether the resource is associated with an organization.", - "items": { - "enum": [ - "organizations" - ], - "type": "string" - }, - "type": "array" - }, - "resource_type": { - "description": "Filters audit logs based on the unique type of resource changed by the action.", - "items": { - "type": "string" - }, - "type": "array" - }, - "resource_type_not": { - "description": "Filters out audit logs based on the unique type of resource changed by the action.", - "items": { - "type": "string" - }, - "type": "array" - }, - "since": { - "description": "Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", - "format": "date", - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "action_result": { + "description": "Filters by whether the action was successful or not.", + "items": { + "enum": [ + "success", + "failure" + ], + "type": "string" + }, + "type": "array" + }, + "action_result.not": { + "description": "Filters out audit logs by whether the action was successful or not.", + "items": { + "enum": [ + "success", + "failure" + ], + "type": "string" + }, + "type": "array" + }, + "action_type": { + "description": "Filters by the action type.", + "items": { + "enum": [ + "create", + "delete", + "view", + "update" + ], + "type": "string" + }, + "type": "array" + }, + "action_type.not": { + "description": "Filters out audit logs by the action type.", + "items": { + "enum": [ + "create", + "delete", + "view", + "update" + ], + "type": "string" + }, + "type": "array" + }, + "actor_context": { + "description": "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", + "items": { + "enum": [ + "api", + "api_key", + "api_token", + "dash", + "oauth", + "origin_ca_key" + ], + "type": "string" + }, + "type": "array" + }, + "actor_context.not": { + "description": "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", + "items": { + "enum": [ + "api", + "api_key", + "api_token", + "dash", + "oauth", + "origin_ca_key" + ], + "type": "string" + }, + "type": "array" + }, + "actor_email": { + "description": "Filters by the actor's email address.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_email.not": { + "description": "Filters out audit logs by the actor's email address.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_id": { + "description": "Filters by the actor's user ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_id.not": { + "description": "Filters out audit logs by the actor's user ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_ip_address": { + "description": "The IP address where the action was initiated.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_ip_address.not": { + "description": "Filters out audit logs IP address where the action was initiated.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_token_id": { + "description": "Filters by the API token ID when the actor context is an api_token or oauth.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_token_id.not": { + "description": "Filters out audit logs by the API token ID when the actor context is an api_token or oauth.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_token_name": { + "description": "Filters by the API token name when the actor context is an api_token or oauth.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_token_name.not": { + "description": "Filters out audit logs by the API token name when the actor context is an api_token or oauth.", + "items": { + "type": "string" + }, + "type": "array" + }, + "actor_type": { + "description": "Filters by the actor type.", + "items": { + "enum": [ + "cloudflare_admin", + "system", + "user" + ], + "type": "string" + }, + "type": "array" + }, + "actor_type.not": { + "description": "Filters out audit logs by the actor type.", + "items": { + "enum": [ + "cloudflare_admin", + "system", + "user" + ], + "type": "string" + }, + "type": "array" + }, + "before": { + "description": "Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", + "format": "date", + "type": "string" + }, + "cursor": { + "description": "The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.", + "type": "string" + }, + "direction": { + "default": "desc", + "description": "Sets sorting order.", + "enum": [ + "desc", + "asc" + ], + "type": "string" + }, + "id": { + "description": "Finds a specific log by its ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "id.not": { + "description": "Filters out audit logs by their IDs.", + "items": { + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 100, + "description": "The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", + "type": "number" + }, + "raw_cf_ray_id": { + "description": "Filters by the response CF Ray ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_cf_ray_id.not": { + "description": "Filters out audit logs by the response CF Ray ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_method": { + "description": "The HTTP method for the API call.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_method.not": { + "description": "Filters out audit logs by the HTTP method for the API call.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_status_code": { + "description": "The response status code that was returned.", + "items": { + "type": "integer" + }, + "type": "array" + }, + "raw_status_code.not": { + "description": "Filters out audit logs by the response status code that was returned.", + "items": { + "type": "integer" + }, + "type": "array" + }, + "raw_uri": { + "description": "Filters by the request URI.", + "items": { + "type": "string" + }, + "type": "array" + }, + "raw_uri.not": { + "description": "Filters out audit logs by the request URI.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_id": { + "description": "Filters by the resource ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_id.not": { + "description": "Filters out audit logs by the resource ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_product": { + "description": "Filters audit logs by the Cloudflare product associated with the changed resource.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_product.not": { + "description": "Filters out audit logs by the Cloudflare product associated with the changed resource.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_scope": { + "description": "Filters by the resource scope, specifying whether the resource is associated with an organization.", + "items": { + "enum": [ + "organizations" + ], + "type": "string" + }, + "type": "array" + }, + "resource_scope.not": { + "description": "Filters out audit logs by the resource scope, specifying whether the resource is associated with an organization.", + "items": { + "enum": [ + "organizations" + ], + "type": "string" + }, + "type": "array" + }, + "resource_type": { + "description": "Filters audit logs based on the unique type of resource changed by the action.", + "items": { + "type": "string" + }, + "type": "array" + }, + "resource_type.not": { + "description": "Filters out audit logs based on the unique type of resource changed by the action.", + "items": { + "type": "string" + }, + "type": "array" + }, + "since": { + "description": "Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", + "format": "date", + "type": "string" + } + }, + "required": [ + "since", + "before" + ], + "type": "object" } }, required: [ - "organization_id", - "since", - "before" + "path", + "query" ], }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-org-response-collection", $defs: { - "aaa_audit-log-action": aaa_audit_log_action_output, - "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, - "aaa_audit-log-raw": aaa_audit_log_raw_output, - "aaa_audit-logs-response-collection": aaa_audit_logs_response_collection_output, - "aaa_audit-logs-v2-org": aaa_audit_logs_v2_org_output, - "aaa_audit-logs-v2-org-response-collection": aaa_audit_logs_v2_org_response_collection_output, - "aaa_identifier-2": aaa_identifier_2_output, - "aaa_messages-2": aaa_messages_2_output, - "aaa_result_info": aaa_result_info_output, + "aaa_audit-log-action": aaa_audit$$log$$action, + "aaa_audit-log-actor-base": aaa_audit$$log$$actor$$base, + "aaa_audit-log-raw": aaa_audit$$log$$raw, + "aaa_audit-logs-response-collection": aaa_audit$$logs$$response$$collection, + "aaa_audit-logs-v2-org": aaa_audit$$logs$$v2$$org, + "aaa_audit-logs-v2-org-response-collection": aaa_audit$$logs$$v2$$org$$response$$collection, + "aaa_identifier-2": aaa_identifier$$2, + "aaa_messages-2": aaa_messages$$2, + "aaa_result_info": aaa_result_info, }, }, annotations: { @@ -416,62 +432,62 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, - "aaa_audit-log-action": aaa_audit_log_action_output, - "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, - "aaa_audit-log-raw": aaa_audit_log_raw_output, - "aaa_audit-logs-response-collection": aaa_audit_logs_response_collection_output, - "aaa_audit-logs-v2-org": aaa_audit_logs_v2_org_output, - "aaa_audit-logs-v2-org-response-collection": aaa_audit_logs_v2_org_response_collection_output, - "aaa_identifier-2": aaa_identifier_2_output, - "aaa_messages-2": aaa_messages_2_output, - "aaa_result_info": aaa_result_info_output, + "aaa_api-response-common-failure-2": aaa_api$$response$$common$$failure$$2, + "aaa_audit-log-action": aaa_audit$$log$$action, + "aaa_audit-log-actor-base": aaa_audit$$log$$actor$$base, + "aaa_audit-log-raw": aaa_audit$$log$$raw, + "aaa_audit-logs-response-collection": aaa_audit$$logs$$response$$collection, + "aaa_audit-logs-v2-org": aaa_audit$$logs$$v2$$org, + "aaa_audit-logs-v2-org-response-collection": aaa_audit$$logs$$v2$$org$$response$$collection, + "aaa_identifier-2": aaa_identifier$$2, + "aaa_messages-2": aaa_messages$$2, + "aaa_result_info": aaa_result_info, }, }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/logs/audit`, query: [ - ["action_result", args["action_result"], true], - ["action_type", args["action_type"], true], - ["actor_context", args["actor_context"], true], - ["actor_email", args["actor_email"], true], - ["actor_id", args["actor_id"], true], - ["actor_ip_address", args["actor_ip_address"], true], - ["actor_token_id", args["actor_token_id"], true], - ["actor_token_name", args["actor_token_name"], true], - ["actor_type", args["actor_type"], true], - ["id", args["id"], true], - ["raw_cf_ray_id", args["raw_cf_ray_id"], true], - ["raw_method", args["raw_method"], true], - ["raw_status_code", args["raw_status_code"], true], - ["raw_uri", args["raw_uri"], true], - ["resource_id", args["resource_id"], true], - ["resource_product", args["resource_product"], true], - ["resource_type", args["resource_type"], true], - ["resource_scope", args["resource_scope"], true], - ["action_result.not", args["action_result_not"], true], - ["action_type.not", args["action_type_not"], true], - ["actor_context.not", args["actor_context_not"], true], - ["actor_email.not", args["actor_email_not"], true], - ["actor_id.not", args["actor_id_not"], true], - ["actor_ip_address.not", args["actor_ip_address_not"], true], - ["actor_token_id.not", args["actor_token_id_not"], true], - ["actor_token_name.not", args["actor_token_name_not"], true], - ["actor_type.not", args["actor_type_not"], true], - ["id.not", args["id_not"], true], - ["raw_cf_ray_id.not", args["raw_cf_ray_id_not"], true], - ["raw_method.not", args["raw_method_not"], true], - ["raw_status_code.not", args["raw_status_code_not"], true], - ["raw_uri.not", args["raw_uri_not"], true], - ["resource_id.not", args["resource_id_not"], true], - ["resource_product.not", args["resource_product_not"], true], - ["resource_type.not", args["resource_type_not"], true], - ["resource_scope.not", args["resource_scope_not"], true], - ["since", args["since"], true], - ["before", args["before"], true], - ["direction", args["direction"], true], - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["action_result", param(args, "query", "action_result"), true], + ["action_type", param(args, "query", "action_type"), true], + ["actor_context", param(args, "query", "actor_context"), true], + ["actor_email", param(args, "query", "actor_email"), true], + ["actor_id", param(args, "query", "actor_id"), true], + ["actor_ip_address", param(args, "query", "actor_ip_address"), true], + ["actor_token_id", param(args, "query", "actor_token_id"), true], + ["actor_token_name", param(args, "query", "actor_token_name"), true], + ["actor_type", param(args, "query", "actor_type"), true], + ["id", param(args, "query", "id"), true], + ["raw_cf_ray_id", param(args, "query", "raw_cf_ray_id"), true], + ["raw_method", param(args, "query", "raw_method"), true], + ["raw_status_code", param(args, "query", "raw_status_code"), true], + ["raw_uri", param(args, "query", "raw_uri"), true], + ["resource_id", param(args, "query", "resource_id"), true], + ["resource_product", param(args, "query", "resource_product"), true], + ["resource_type", param(args, "query", "resource_type"), true], + ["resource_scope", param(args, "query", "resource_scope"), true], + ["action_result.not", param(args, "query", "action_result.not"), true], + ["action_type.not", param(args, "query", "action_type.not"), true], + ["actor_context.not", param(args, "query", "actor_context.not"), true], + ["actor_email.not", param(args, "query", "actor_email.not"), true], + ["actor_id.not", param(args, "query", "actor_id.not"), true], + ["actor_ip_address.not", param(args, "query", "actor_ip_address.not"), true], + ["actor_token_id.not", param(args, "query", "actor_token_id.not"), true], + ["actor_token_name.not", param(args, "query", "actor_token_name.not"), true], + ["actor_type.not", param(args, "query", "actor_type.not"), true], + ["id.not", param(args, "query", "id.not"), true], + ["raw_cf_ray_id.not", param(args, "query", "raw_cf_ray_id.not"), true], + ["raw_method.not", param(args, "query", "raw_method.not"), true], + ["raw_status_code.not", param(args, "query", "raw_status_code.not"), true], + ["raw_uri.not", param(args, "query", "raw_uri.not"), true], + ["resource_id.not", param(args, "query", "resource_id.not"), true], + ["resource_product.not", param(args, "query", "resource_product.not"), true], + ["resource_type.not", param(args, "query", "resource_type.not"), true], + ["resource_scope.not", param(args, "query", "resource_scope.not"), true], + ["since", param(args, "query", "since"), true], + ["before", param(args, "query", "before"), true], + ["direction", param(args, "query", "direction"), true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, @@ -482,69 +498,85 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "action_time": { - "description": "RFC3339 timestamp of the source audit log entry's action time. Used to narrow the source-entry lookup window. Provide the `action.time` value from the audit log identified by `id`.", - "format": "date-time", - "type": "string" - }, - "before": { - "description": "Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", - "format": "date", - "type": "string" - }, - "cursor": { - "description": "The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.", - "type": "string" - }, - "direction": { - "default": "desc", - "description": "Sets sorting order.", - "enum": [ - "desc", - "asc" + "path": { + "properties": { + "id": { + "description": "The ID of the audit log to fetch resource history for.", + "format": "uuid", + "type": "string" + }, + "organization_id": { + "description": "The unique ID that identifies the organization.", + "type": "string" + } + }, + "required": [ + "organization_id", + "id" ], - "type": "string" - }, - "id": { - "description": "The ID of the audit log to fetch resource history for.", - "format": "uuid", - "type": "string" - }, - "limit": { - "default": 100, - "description": "The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", - "type": "number" - }, - "organization_id": { - "description": "The unique ID that identifies the organization.", - "type": "string" - }, - "since": { - "description": "Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", - "format": "date", - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "action_time": { + "description": "RFC3339 timestamp of the source audit log entry's action time. Used to narrow the source-entry lookup window. Provide the `action.time` value from the audit log identified by `id`.", + "format": "date-time", + "type": "string" + }, + "before": { + "description": "Limits the returned results to logs older than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", + "format": "date", + "type": "string" + }, + "cursor": { + "description": "The cursor is an opaque token used to paginate through large sets of records. It indicates the position from which to continue when requesting the next set of records. A valid cursor value can be obtained from the cursor object in the result_info structure of a previous response.", + "type": "string" + }, + "direction": { + "default": "desc", + "description": "Sets sorting order.", + "enum": [ + "desc", + "asc" + ], + "type": "string" + }, + "limit": { + "default": 100, + "description": "The number limits the objects to return. The cursor attribute may be used to iterate over the next batch of objects if there are more than the limit.", + "type": "number" + }, + "since": { + "description": "Limits the returned results to logs newer than the specified date. This can be a date string 2019-04-30 (interpreted in UTC) or an absolute timestamp that conforms to RFC3339.", + "format": "date", + "type": "string" + } + }, + "required": [ + "action_time", + "since", + "before" + ], + "type": "object" } }, required: [ - "organization_id", - "id", - "action_time", - "since", - "before" + "path", + "query" ], }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-org-history-response-collection", $defs: { - "aaa_audit-log-action": aaa_audit_log_action_output, - "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, - "aaa_audit-log-raw": aaa_audit_log_raw_output, - "aaa_audit-logs-v2-history-result-info": aaa_audit_logs_v2_history_result_info_output, - "aaa_audit-logs-v2-org": aaa_audit_logs_v2_org_output, - "aaa_audit-logs-v2-org-history-response-collection": aaa_audit_logs_v2_org_history_response_collection_output, - "aaa_history-status": aaa_history_status_output, - "aaa_identifier-2": aaa_identifier_2_output, - "aaa_messages-2": aaa_messages_2_output, + "aaa_audit-log-action": aaa_audit$$log$$action, + "aaa_audit-log-actor-base": aaa_audit$$log$$actor$$base, + "aaa_audit-log-raw": aaa_audit$$log$$raw, + "aaa_audit-logs-v2-history-result-info": aaa_audit$$logs$$v2$$history$$result$$info, + "aaa_audit-logs-v2-org": aaa_audit$$logs$$v2$$org, + "aaa_audit-logs-v2-org-history-response-collection": aaa_audit$$logs$$v2$$org$$history$$response$$collection, + "aaa_history-status": aaa_history$$status, + "aaa_identifier-2": aaa_identifier$$2, + "aaa_messages-2": aaa_messages$$2, }, }, annotations: { @@ -577,28 +609,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common-failure-2": aaa_api_response_common_failure_2_output, - "aaa_audit-log-action": aaa_audit_log_action_output, - "aaa_audit-log-actor-base": aaa_audit_log_actor_base_output, - "aaa_audit-log-raw": aaa_audit_log_raw_output, - "aaa_audit-logs-v2-history-not-found": aaa_audit_logs_v2_history_not_found_output, - "aaa_audit-logs-v2-history-result-info": aaa_audit_logs_v2_history_result_info_output, - "aaa_audit-logs-v2-org": aaa_audit_logs_v2_org_output, - "aaa_audit-logs-v2-org-history-response-collection": aaa_audit_logs_v2_org_history_response_collection_output, - "aaa_history-status": aaa_history_status_output, - "aaa_identifier-2": aaa_identifier_2_output, - "aaa_messages-2": aaa_messages_2_output, + "aaa_api-response-common-failure-2": aaa_api$$response$$common$$failure$$2, + "aaa_audit-log-action": aaa_audit$$log$$action, + "aaa_audit-log-actor-base": aaa_audit$$log$$actor$$base, + "aaa_audit-log-raw": aaa_audit$$log$$raw, + "aaa_audit-logs-v2-history-not-found": aaa_audit$$logs$$v2$$history$$not$$found, + "aaa_audit-logs-v2-history-result-info": aaa_audit$$logs$$v2$$history$$result$$info, + "aaa_audit-logs-v2-org": aaa_audit$$logs$$v2$$org, + "aaa_audit-logs-v2-org-history-response-collection": aaa_audit$$logs$$v2$$org$$history$$response$$collection, + "aaa_history-status": aaa_history$$status, + "aaa_identifier-2": aaa_identifier$$2, + "aaa_messages-2": aaa_messages$$2, }, }, request: (args) => ({ path: `/organizations/${pathParam(args, "organization_id")}/logs/audit/${pathParam(args, "id")}/history`, query: [ - ["action_time", args["action_time"], true], - ["since", args["since"], true], - ["before", args["before"], true], - ["direction", args["direction"], true], - ["limit", args["limit"], true], - ["cursor", args["cursor"], true], + ["action_time", param(args, "query", "action_time"), true], + ["since", param(args, "query", "since"), true], + ["before", param(args, "query", "before"), true], + ["direction", param(args, "query", "direction"), true], + ["limit", param(args, "query", "limit"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/outputs.ts b/src/generated/forge-mcp/outputs.ts index 7fa33aa8e..9220de09a 100644 --- a/src/generated/forge-mcp/outputs.ts +++ b/src/generated/forge-mcp/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "./_/tool.js"; /** * The schema of `aaa_api-response-common` in responses. */ -export const aaa_api_response_common_output: JsonSchema = { +export const aaa_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages" @@ -32,7 +32,7 @@ export const aaa_api_response_common_output: JsonSchema = { /** * The schema of `aaa_api-response-common-failure` in responses. */ -export const aaa_api_response_common_failure_output: JsonSchema = { +export const aaa_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages" @@ -58,7 +58,7 @@ export const aaa_api_response_common_failure_output: JsonSchema = { /** * The schema of `aaa_api-response-common-failure-2` in responses. */ -export const aaa_api_response_common_failure_2_output: JsonSchema = { +export const aaa_api$$response$$common$$failure$$2: JsonSchema = { "properties": { "errors": { "items": { @@ -102,7 +102,7 @@ export const aaa_api_response_common_failure_2_output: JsonSchema = { /** * The schema of `aaa_audit-log-action` in responses. */ -export const aaa_audit_log_action_output: JsonSchema = { +export const aaa_audit$$log$$action: JsonSchema = { "properties": { "description": { "type": "string" @@ -124,7 +124,7 @@ export const aaa_audit_log_action_output: JsonSchema = { /** * The schema of `aaa_audit-log-actor-base` in responses. */ -export const aaa_audit_log_actor_base_output: JsonSchema = { +export const aaa_audit$$log$$actor$$base: JsonSchema = { "properties": { "context": { "enum": [ @@ -159,7 +159,7 @@ export const aaa_audit_log_actor_base_output: JsonSchema = { /** * The schema of `aaa_audit-log-raw` in responses. */ -export const aaa_audit_log_raw_output: JsonSchema = { +export const aaa_audit$$log$$raw: JsonSchema = { "properties": { "cf_ray_id": { "type": "string" @@ -183,7 +183,7 @@ export const aaa_audit_log_raw_output: JsonSchema = { /** * The schema of `aaa_audit-logs` in responses. */ -export const aaa_audit_logs_output: JsonSchema = { +export const aaa_audit$$logs: JsonSchema = { "properties": { "action": { "properties": { @@ -263,7 +263,7 @@ export const aaa_audit_logs_output: JsonSchema = { /** * The schema of `aaa_audit-logs-response-collection` in responses. */ -export const aaa_audit_logs_response_collection_output: JsonSchema = { +export const aaa_audit$$logs$$response$$collection: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages-2" @@ -284,7 +284,7 @@ export const aaa_audit_logs_response_collection_output: JsonSchema = { /** * The schema of `aaa_audit-logs-v2-history-not-found` in responses. */ -export const aaa_audit_logs_v2_history_not_found_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$history$$not$$found: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/aaa_messages-2" @@ -320,7 +320,7 @@ export const aaa_audit_logs_v2_history_not_found_output: JsonSchema = { /** * The schema of `aaa_audit-logs-v2-history-result-info` in responses. */ -export const aaa_audit_logs_v2_history_result_info_output: JsonSchema = { +export const aaa_audit$$logs$$v2$$history$$result$$info: JsonSchema = { "properties": { "count": { "type": "integer" @@ -342,7 +342,7 @@ export const aaa_audit_logs_v2_history_result_info_output: JsonSchema = { /** * The schema of `aaa_audit_logs_response_collection` in responses. */ -export const aaa_audit_logs_response_collection_output$: JsonSchema = { +export const aaa_audit_logs_response_collection: JsonSchema = { "oneOf": [ { "properties": { @@ -373,7 +373,7 @@ export const aaa_audit_logs_response_collection_output$: JsonSchema = { /** * The schema of `aaa_history-status` in responses. */ -export const aaa_history_status_output: JsonSchema = { +export const aaa_history$$status: JsonSchema = { "enum": [ "exact", "approximate", @@ -385,21 +385,21 @@ export const aaa_history_status_output: JsonSchema = { /** * The schema of `aaa_identifier` in responses. */ -export const aaa_identifier_output: JsonSchema = { +export const aaa_identifier: JsonSchema = { "type": "string" }; /** * The schema of `aaa_identifier-2` in responses. */ -export const aaa_identifier_2_output: JsonSchema = { +export const aaa_identifier$$2: JsonSchema = { "type": "string" }; /** * The schema of `aaa_messages` in responses. */ -export const aaa_messages_output: JsonSchema = { +export const aaa_messages: JsonSchema = { "items": { "properties": { "code": { @@ -421,7 +421,7 @@ export const aaa_messages_output: JsonSchema = { /** * The schema of `aaa_messages-2` in responses. */ -export const aaa_messages_2_output: JsonSchema = { +export const aaa_messages$$2: JsonSchema = { "items": { "properties": { "message": { @@ -439,7 +439,7 @@ export const aaa_messages_2_output: JsonSchema = { /** * The schema of `aaa_result_info` in responses. */ -export const aaa_result_info_output: JsonSchema = { +export const aaa_result_info: JsonSchema = { "properties": { "count": { "type": "string" @@ -454,7 +454,7 @@ export const aaa_result_info_output: JsonSchema = { /** * The schema of `analytics-sql_ApiErrorResponse` in responses. */ -export const analytics_sql_ApiErrorResponse_output: JsonSchema = { +export const analytics$$sql_ApiErrorResponse: JsonSchema = { "properties": { "code": { "type": "integer" @@ -479,7 +479,7 @@ export const analytics_sql_ApiErrorResponse_output: JsonSchema = { /** * The schema of `analytics-sql_Attribute` in responses. */ -export const analytics_sql_Attribute_output: JsonSchema = { +export const analytics$$sql_Attribute: JsonSchema = { "properties": { "data_type": { "type": "string" @@ -498,7 +498,7 @@ export const analytics_sql_Attribute_output: JsonSchema = { /** * The schema of `analytics-sql_ClickHouseJsonQueryResponse` in responses. */ -export const analytics_sql_ClickHouseJsonQueryResponse_output: JsonSchema = { +export const analytics$$sql_ClickHouseJsonQueryResponse: JsonSchema = { "properties": { "data": { "items": { @@ -547,7 +547,7 @@ export const analytics_sql_ClickHouseJsonQueryResponse_output: JsonSchema = { /** * The schema of `analytics-sql_CustomAttribute` in responses. */ -export const analytics_sql_CustomAttribute_output: JsonSchema = { +export const analytics$$sql_CustomAttribute: JsonSchema = { "properties": { "data_type": { "type": "string" @@ -566,7 +566,7 @@ export const analytics_sql_CustomAttribute_output: JsonSchema = { /** * The schema of `analytics-sql_DatasetAvailability` in responses. */ -export const analytics_sql_DatasetAvailability_output: JsonSchema = { +export const analytics$$sql_DatasetAvailability: JsonSchema = { "properties": { "scope": { "enum": [ @@ -588,7 +588,7 @@ export const analytics_sql_DatasetAvailability_output: JsonSchema = { /** * The schema of `analytics-sql_GatewayApiErrorResponse` in responses. */ -export const analytics_sql_GatewayApiErrorResponse_output: JsonSchema = { +export const analytics$$sql_GatewayApiErrorResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -631,7 +631,7 @@ export const analytics_sql_GatewayApiErrorResponse_output: JsonSchema = { /** * The schema of `analytics-sql_IntrospectionColumn` in responses. */ -export const analytics_sql_IntrospectionColumn_output: JsonSchema = { +export const analytics$$sql_IntrospectionColumn: JsonSchema = { "properties": { "data_type": { "type": "string" @@ -658,7 +658,7 @@ export const analytics_sql_IntrospectionColumn_output: JsonSchema = { /** * The schema of `analytics-sql_IntrospectionDataset` in responses. */ -export const analytics_sql_IntrospectionDataset_output: JsonSchema = { +export const analytics$$sql_IntrospectionDataset: JsonSchema = { "properties": { "attributes": { "items": { @@ -711,7 +711,7 @@ export const analytics_sql_IntrospectionDataset_output: JsonSchema = { /** * The schema of `analytics-sql_IntrospectionDatasetKind` in responses. */ -export const analytics_sql_IntrospectionDatasetKind_output: JsonSchema = { +export const analytics$$sql_IntrospectionDatasetKind: JsonSchema = { "properties": { "availability": { "items": { @@ -766,7 +766,7 @@ export const analytics_sql_IntrospectionDatasetKind_output: JsonSchema = { /** * The schema of `analytics-sql_IntrospectionResponse` in responses. */ -export const analytics_sql_IntrospectionResponse_output: JsonSchema = { +export const analytics$$sql_IntrospectionResponse: JsonSchema = { "properties": { "datasets": { "items": { @@ -784,7 +784,7 @@ export const analytics_sql_IntrospectionResponse_output: JsonSchema = { /** * The schema of `analytics-sql_IntrospectionSampling` in responses. */ -export const analytics_sql_IntrospectionSampling_output: JsonSchema = { +export const analytics$$sql_IntrospectionSampling: JsonSchema = { "enum": [ "unsampled", "adaptive" @@ -795,7 +795,7 @@ export const analytics_sql_IntrospectionSampling_output: JsonSchema = { /** * The schema of `analytics-sql_LogExplorerQueryResponse` in responses. */ -export const analytics_sql_LogExplorerQueryResponse_output: JsonSchema = { +export const analytics$$sql_LogExplorerQueryResponse: JsonSchema = { "properties": { "data": { "items": { @@ -817,7 +817,7 @@ export const analytics_sql_LogExplorerQueryResponse_output: JsonSchema = { /** * The schema of `analytics-sql_SqlQueryResponse` in responses. */ -export const analytics_sql_SqlQueryResponse_output: JsonSchema = { +export const analytics$$sql_SqlQueryResponse: JsonSchema = { "properties": { "data": { "items": { @@ -843,7 +843,7 @@ export const analytics_sql_SqlQueryResponse_output: JsonSchema = { /** * The schema of `analytics-sql_SqlQueryStatistics` in responses. */ -export const analytics_sql_SqlQueryStatistics_output: JsonSchema = { +export const analytics$$sql_SqlQueryStatistics: JsonSchema = { "properties": { "bytes_read": { "type": "integer" @@ -866,7 +866,7 @@ export const analytics_sql_SqlQueryStatistics_output: JsonSchema = { /** * The schema of `api-shield_api-response-collection` in responses. */ -export const api_shield_api_response_collection_output: JsonSchema = { +export const api$$shield_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" @@ -902,7 +902,7 @@ export const api_shield_api_response_collection_output: JsonSchema = { /** * The schema of `api-shield_api-response-common` in responses. */ -export const api_shield_api_response_common_output: JsonSchema = { +export const api$$shield_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/api-shield_messages" @@ -928,7 +928,7 @@ export const api_shield_api_response_common_output: JsonSchema = { /** * The schema of `api-shield_api-response-common-failure` in responses. */ -export const api_shield_api_response_common_failure_output: JsonSchema = { +export const api$$shield_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/api-shield_messages" @@ -958,14 +958,14 @@ export const api_shield_api_response_common_failure_output: JsonSchema = { /** * The schema of `api-shield_auth_id_tokens` in responses. */ -export const api_shield_auth_id_tokens_output: JsonSchema = { +export const api$$shield_auth_id_tokens: JsonSchema = { "type": "integer" }; /** * The schema of `api-shield_basic_operation` in responses. */ -export const api_shield_basic_operation_output: JsonSchema = { +export const api$$shield_basic_operation: JsonSchema = { "properties": { "endpoint": { "$ref": "#/$defs/api-shield_endpoint" @@ -988,7 +988,7 @@ export const api_shield_basic_operation_output: JsonSchema = { /** * The schema of `api-shield_confidence_intervals_bounds` in responses. */ -export const api_shield_confidence_intervals_bounds_output: JsonSchema = { +export const api$$shield_confidence_intervals_bounds: JsonSchema = { "properties": { "lower": { "type": "number" @@ -1003,28 +1003,28 @@ export const api_shield_confidence_intervals_bounds_output: JsonSchema = { /** * The schema of `api-shield_data_points` in responses. */ -export const api_shield_data_points_output: JsonSchema = { +export const api$$shield_data_points: JsonSchema = { "type": "integer" }; /** * The schema of `api-shield_endpoint` in responses. */ -export const api_shield_endpoint_output: JsonSchema = { +export const api$$shield_endpoint: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_host` in responses. */ -export const api_shield_host_output: JsonSchema = { +export const api$$shield_host: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_messages` in responses. */ -export const api_shield_messages_output: JsonSchema = { +export const api$$shield_messages: JsonSchema = { "items": { "properties": { "code": { @@ -1057,7 +1057,7 @@ export const api_shield_messages_output: JsonSchema = { /** * The schema of `api-shield_method` in responses. */ -export const api_shield_method_output: JsonSchema = { +export const api$$shield_method: JsonSchema = { "enum": [ "GET", "POST", @@ -1075,7 +1075,7 @@ export const api_shield_method_output: JsonSchema = { /** * The schema of `api-shield_operation` in responses. */ -export const api_shield_operation_output: JsonSchema = { +export const api$$shield_operation: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_standard_operation" @@ -1101,7 +1101,7 @@ export const api_shield_operation_output: JsonSchema = { /** * The schema of `api-shield_operation_feature_api_routing` in responses. */ -export const api_shield_operation_feature_api_routing_output: JsonSchema = { +export const api$$shield_operation_feature_api_routing: JsonSchema = { "properties": { "api_routing": { "properties": { @@ -1122,7 +1122,7 @@ export const api_shield_operation_feature_api_routing_output: JsonSchema = { * The schema of `api-shield_operation_feature_confidence_intervals` in * responses. */ -export const api_shield_operation_feature_confidence_intervals_output: JsonSchema = { +export const api$$shield_operation_feature_confidence_intervals: JsonSchema = { "properties": { "confidence_intervals": { "properties": { @@ -1161,7 +1161,7 @@ export const api_shield_operation_feature_confidence_intervals_output: JsonSchem /** * The schema of `api-shield_operation_feature_parameter_schemas` in responses. */ -export const api_shield_operation_feature_parameter_schemas_output: JsonSchema = { +export const api$$shield_operation_feature_parameter_schemas: JsonSchema = { "properties": { "parameter_schemas": { "properties": { @@ -1184,7 +1184,7 @@ export const api_shield_operation_feature_parameter_schemas_output: JsonSchema = /** * The schema of `api-shield_operation_feature_schema_info` in responses. */ -export const api_shield_operation_feature_schema_info_output: JsonSchema = { +export const api$$shield_operation_feature_schema_info: JsonSchema = { "properties": { "schema_info": { "properties": { @@ -1227,7 +1227,7 @@ export const api_shield_operation_feature_schema_info_output: JsonSchema = { /** * The schema of `api-shield_operation_feature_thresholds` in responses. */ -export const api_shield_operation_feature_thresholds_output: JsonSchema = { +export const api$$shield_operation_feature_thresholds: JsonSchema = { "properties": { "thresholds": { "properties": { @@ -1268,7 +1268,7 @@ export const api_shield_operation_feature_thresholds_output: JsonSchema = { /** * The schema of `api-shield_operation_features` in responses. */ -export const api_shield_operation_features_output: JsonSchema = { +export const api$$shield_operation_features: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/api-shield_operation_feature_thresholds" @@ -1291,28 +1291,28 @@ export const api_shield_operation_features_output: JsonSchema = { /** * The schema of `api-shield_p50` in responses. */ -export const api_shield_p50_output: JsonSchema = { +export const api$$shield_p50: JsonSchema = { "type": "integer" }; /** * The schema of `api-shield_p90` in responses. */ -export const api_shield_p90_output: JsonSchema = { +export const api$$shield_p90: JsonSchema = { "type": "integer" }; /** * The schema of `api-shield_p99` in responses. */ -export const api_shield_p99_output: JsonSchema = { +export const api$$shield_p99: JsonSchema = { "type": "integer" }; /** * The schema of `api-shield_parameter_schemas_definition` in responses. */ -export const api_shield_parameter_schemas_definition_output: JsonSchema = { +export const api$$shield_parameter_schemas_definition: JsonSchema = { "properties": { "parameters": { "items": { @@ -1337,21 +1337,21 @@ export const api_shield_parameter_schemas_definition_output: JsonSchema = { /** * The schema of `api-shield_period_seconds` in responses. */ -export const api_shield_period_seconds_output: JsonSchema = { +export const api$$shield_period_seconds: JsonSchema = { "type": "integer" }; /** * The schema of `api-shield_requests` in responses. */ -export const api_shield_requests_output: JsonSchema = { +export const api$$shield_requests: JsonSchema = { "type": "integer" }; /** * The schema of `api-shield_standard_operation` in responses. */ -export const api_shield_standard_operation_output: JsonSchema = { +export const api$$shield_standard_operation: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_basic_operation" @@ -1377,14 +1377,14 @@ export const api_shield_standard_operation_output: JsonSchema = { /** * The schema of `api-shield_suggested_threshold` in responses. */ -export const api_shield_suggested_threshold_output: JsonSchema = { +export const api$$shield_suggested_threshold: JsonSchema = { "type": "integer" }; /** * The schema of `api-shield_timestamp` in responses. */ -export const api_shield_timestamp_output: JsonSchema = { +export const api$$shield_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -1392,7 +1392,7 @@ export const api_shield_timestamp_output: JsonSchema = { /** * The schema of `api-shield_timestamp-2` in responses. */ -export const api_shield_timestamp_2_output: JsonSchema = { +export const api$$shield_timestamp$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_timestamp" @@ -1406,14 +1406,14 @@ export const api_shield_timestamp_2_output: JsonSchema = { /** * The schema of `api-shield_uuid` in responses. */ -export const api_shield_uuid_output: JsonSchema = { +export const api$$shield_uuid: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_uuid-2` in responses. */ -export const api_shield_uuid_2_output: JsonSchema = { +export const api$$shield_uuid$$2: JsonSchema = { "allOf": [ { "type": "string" @@ -1427,7 +1427,7 @@ export const api_shield_uuid_2_output: JsonSchema = { /** * The schema of `bill-subs-api_api-response-collection` in responses. */ -export const bill_subs_api_api_response_collection_output: JsonSchema = { +export const bill$$subs$$api_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-common" @@ -1459,7 +1459,7 @@ export const bill_subs_api_api_response_collection_output: JsonSchema = { /** * The schema of `bill-subs-api_api-response-common` in responses. */ -export const bill_subs_api_api_response_common_output: JsonSchema = { +export const bill$$subs$$api_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/bill-subs-api_messages" @@ -1502,7 +1502,7 @@ export const bill_subs_api_api_response_common_output: JsonSchema = { /** * The schema of `bill-subs-api_api-response-common-failure` in responses. */ -export const bill_subs_api_api_response_common_failure_output: JsonSchema = { +export const bill$$subs$$api_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/bill-subs-api_messages" @@ -1532,7 +1532,7 @@ export const bill_subs_api_api_response_common_failure_output: JsonSchema = { /** * The schema of `bill-subs-api_api-response-single` in responses. */ -export const bill_subs_api_api_response_single_output: JsonSchema = { +export const bill$$subs$$api_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-common" @@ -1561,7 +1561,7 @@ export const bill_subs_api_api_response_single_output: JsonSchema = { /** * The schema of `bill-subs-api_billing_response_single` in responses. */ -export const bill_subs_api_billing_response_single_output: JsonSchema = { +export const bill$$subs$$api_billing_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" @@ -1699,7 +1699,7 @@ export const bill_subs_api_billing_response_single_output: JsonSchema = { /** * The schema of `bill-subs-api_component_value` in responses. */ -export const bill_subs_api_component_value_output: JsonSchema = { +export const bill$$subs$$api_component_value: JsonSchema = { "properties": { "default": { "type": "number" @@ -1731,7 +1731,7 @@ export const bill_subs_api_component_value_output: JsonSchema = { /** * The schema of `bill-subs-api_component_values` in responses. */ -export const bill_subs_api_component_values_output: JsonSchema = { +export const bill$$subs$$api_component_values: JsonSchema = { "items": { "$ref": "#/$defs/bill-subs-api_component_value" }, @@ -1741,21 +1741,21 @@ export const bill_subs_api_component_values_output: JsonSchema = { /** * The schema of `bill-subs-api_components-schemas-identifier` in responses. */ -export const bill_subs_api_components_schemas_identifier_output: JsonSchema = { +export const bill$$subs$$api_components$$schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `bill-subs-api_currency` in responses. */ -export const bill_subs_api_currency_output: JsonSchema = { +export const bill$$subs$$api_currency: JsonSchema = { "type": "string" }; /** * The schema of `bill-subs-api_current_period_end` in responses. */ -export const bill_subs_api_current_period_end_output: JsonSchema = { +export const bill$$subs$$api_current_period_end: JsonSchema = { "format": "date-time", "type": "string" }; @@ -1763,7 +1763,7 @@ export const bill_subs_api_current_period_end_output: JsonSchema = { /** * The schema of `bill-subs-api_current_period_start` in responses. */ -export const bill_subs_api_current_period_start_output: JsonSchema = { +export const bill$$subs$$api_current_period_start: JsonSchema = { "format": "date-time", "type": "string" }; @@ -1771,7 +1771,7 @@ export const bill_subs_api_current_period_start_output: JsonSchema = { /** * The schema of `bill-subs-api_frequency` in responses. */ -export const bill_subs_api_frequency_output: JsonSchema = { +export const bill$$subs$$api_frequency: JsonSchema = { "enum": [ "weekly", "monthly", @@ -1784,21 +1784,21 @@ export const bill_subs_api_frequency_output: JsonSchema = { /** * The schema of `bill-subs-api_identifier` in responses. */ -export const bill_subs_api_identifier_output: JsonSchema = { +export const bill$$subs$$api_identifier: JsonSchema = { "type": "string" }; /** * The schema of `bill-subs-api_install_id` in responses. */ -export const bill_subs_api_install_id_output: JsonSchema = { +export const bill$$subs$$api_install_id: JsonSchema = { "type": "string" }; /** * The schema of `bill-subs-api_messages` in responses. */ -export const bill_subs_api_messages_output: JsonSchema = { +export const bill$$subs$$api_messages: JsonSchema = { "items": { "properties": { "code": { @@ -1820,21 +1820,21 @@ export const bill_subs_api_messages_output: JsonSchema = { /** * The schema of `bill-subs-api_name` in responses. */ -export const bill_subs_api_name_output: JsonSchema = { +export const bill$$subs$$api_name: JsonSchema = { "type": "string" }; /** * The schema of `bill-subs-api_price` in responses. */ -export const bill_subs_api_price_output: JsonSchema = { +export const bill$$subs$$api_price: JsonSchema = { "type": "number" }; /** * The schema of `bill-subs-api_rate_plan` in responses. */ -export const bill_subs_api_rate_plan_output: JsonSchema = { +export const bill$$subs$$api_rate_plan: JsonSchema = { "properties": { "currency": { "type": "string" @@ -1867,7 +1867,7 @@ export const bill_subs_api_rate_plan_output: JsonSchema = { /** * The schema of `bill-subs-api_result_info` in responses. */ -export const bill_subs_api_result_info_output: JsonSchema = { +export const bill$$subs$$api_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -1888,14 +1888,14 @@ export const bill_subs_api_result_info_output: JsonSchema = { /** * The schema of `bill-subs-api_schemas-identifier` in responses. */ -export const bill_subs_api_schemas_identifier_output: JsonSchema = { +export const bill$$subs$$api_schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `bill-subs-api_state` in responses. */ -export const bill_subs_api_state_output: JsonSchema = { +export const bill$$subs$$api_state: JsonSchema = { "enum": [ "Trial", "Provisioned", @@ -1911,7 +1911,7 @@ export const bill_subs_api_state_output: JsonSchema = { /** * The schema of `bill-subs-api_subscription` in responses. */ -export const bill_subs_api_subscription_output: JsonSchema = { +export const bill$$subs$$api_subscription: JsonSchema = { "properties": { "app": { "properties": { @@ -1958,7 +1958,7 @@ export const bill_subs_api_subscription_output: JsonSchema = { /** * The schema of `bill-subs-api_subscription-v2` in responses. */ -export const bill_subs_api_subscription_v2_output: JsonSchema = { +export const bill$$subs$$api_subscription$$v2: JsonSchema = { "properties": { "app": { "properties": { @@ -2005,7 +2005,7 @@ export const bill_subs_api_subscription_v2_output: JsonSchema = { /** * The schema of `bill-subs-api_zone` in responses. */ -export const bill_subs_api_zone_output: JsonSchema = { +export const bill$$subs$$api_zone: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/bill-subs-api_identifier" @@ -2020,7 +2020,7 @@ export const bill_subs_api_zone_output: JsonSchema = { /** * The schema of `billable-usage-api_api-response-common-failure` in responses. */ -export const billable_usage_api_api_response_common_failure_output: JsonSchema = { +export const billable$$usage$$api_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "items": { @@ -2071,7 +2071,7 @@ export const billable_usage_api_api_response_common_failure_output: JsonSchema = /** * The schema of `billable-usage-api_cost_and_usage_data` in responses. */ -export const billable_usage_api_cost_and_usage_data_output: JsonSchema = { +export const billable$$usage$$api_cost_and_usage_data: JsonSchema = { "properties": { "BilledCost": { "oneOf": [ @@ -2338,7 +2338,7 @@ export const billable_usage_api_cost_and_usage_data_output: JsonSchema = { /** * The schema of `billable-usage-api_message` in responses. */ -export const billable_usage_api_message_output: JsonSchema = { +export const billable$$usage$$api_message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -2356,7 +2356,7 @@ export const billable_usage_api_message_output: JsonSchema = { /** * The schema of `billable-usage-api_v2_usage_response` in responses. */ -export const billable_usage_api_v2_usage_response_output: JsonSchema = { +export const billable$$usage$$api_v2_usage_response: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -2409,7 +2409,7 @@ export const billable_usage_api_v2_usage_response_output: JsonSchema = { /** * The schema of `brand-protection-api_Error` in responses. */ -export const brand_protection_api_Error_output: JsonSchema = { +export const brand$$protection$$api_Error: JsonSchema = { "properties": { "code": { "type": "integer" @@ -2433,7 +2433,7 @@ export const brand_protection_api_Error_output: JsonSchema = { /** * The schema of `builds_APIResponse` in responses. */ -export const builds_APIResponse_output: JsonSchema = { +export const builds_APIResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -2482,7 +2482,7 @@ export const builds_APIResponse_output: JsonSchema = { /** * The schema of `builds_ApiError` in responses. */ -export const builds_ApiError_output: JsonSchema = { +export const builds_ApiError: JsonSchema = { "properties": { "code": { "type": "integer" @@ -2500,7 +2500,7 @@ export const builds_ApiError_output: JsonSchema = { /** * The schema of `builds_BuildOutcome` in responses. */ -export const builds_BuildOutcome_output: JsonSchema = { +export const builds_BuildOutcome: JsonSchema = { "enum": [ "success", "fail", @@ -2514,7 +2514,7 @@ export const builds_BuildOutcome_output: JsonSchema = { /** * The schema of `builds_BuildResponse` in responses. */ -export const builds_BuildResponse_output: JsonSchema = { +export const builds_BuildResponse: JsonSchema = { "properties": { "build_outcome": { "oneOf": [ @@ -2670,7 +2670,7 @@ export const builds_BuildResponse_output: JsonSchema = { /** * The schema of `builds_BuildStatus` in responses. */ -export const builds_BuildStatus_output: JsonSchema = { +export const builds_BuildStatus: JsonSchema = { "enum": [ "queued", "initializing", @@ -2683,7 +2683,7 @@ export const builds_BuildStatus_output: JsonSchema = { /** * The schema of `builds_BuildTriggerMetadataResponse` in responses. */ -export const builds_BuildTriggerMetadataResponse_output: JsonSchema = { +export const builds_BuildTriggerMetadataResponse: JsonSchema = { "properties": { "author": { "type": "string" @@ -2737,7 +2737,7 @@ export const builds_BuildTriggerMetadataResponse_output: JsonSchema = { /** * The schema of `builds_BuildTriggerSource` in responses. */ -export const builds_BuildTriggerSource_output: JsonSchema = { +export const builds_BuildTriggerSource: JsonSchema = { "enum": [ "push", "pull_request", @@ -2750,7 +2750,7 @@ export const builds_BuildTriggerSource_output: JsonSchema = { /** * The schema of `builds_EnvironmentVariablesResponse` in responses. */ -export const builds_EnvironmentVariablesResponse_output: JsonSchema = { +export const builds_EnvironmentVariablesResponse: JsonSchema = { "additionalProperties": { "properties": { "created_on": { @@ -2782,7 +2782,7 @@ export const builds_EnvironmentVariablesResponse_output: JsonSchema = { /** * The schema of `builds_ErrorResponse` in responses. */ -export const builds_ErrorResponse_output: JsonSchema = { +export const builds_ErrorResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -2822,7 +2822,7 @@ export const builds_ErrorResponse_output: JsonSchema = { /** * The schema of `builds_PaginationInfo` in responses. */ -export const builds_PaginationInfo_output: JsonSchema = { +export const builds_PaginationInfo: JsonSchema = { "properties": { "count": { "type": "integer" @@ -2846,7 +2846,7 @@ export const builds_PaginationInfo_output: JsonSchema = { /** * The schema of `builds_SCMProviderType` in responses. */ -export const builds_SCMProviderType_output: JsonSchema = { +export const builds_SCMProviderType: JsonSchema = { "enum": [ "github", "gitlab", @@ -2859,7 +2859,7 @@ export const builds_SCMProviderType_output: JsonSchema = { /** * The schema of `builds_UpsertRepoConnectionResponse` in responses. */ -export const builds_UpsertRepoConnectionResponse_output: JsonSchema = { +export const builds_UpsertRepoConnectionResponse: JsonSchema = { "properties": { "created_on": { "$ref": "#/$defs/builds_created_on" @@ -2895,7 +2895,7 @@ export const builds_UpsertRepoConnectionResponse_output: JsonSchema = { /** * The schema of `builds_WorkerBuildSettings` in responses. */ -export const builds_WorkerBuildSettings_output: JsonSchema = { +export const builds_WorkerBuildSettings: JsonSchema = { "properties": { "build_caching_enabled": { "$ref": "#/$defs/builds_build_caching_enabled" @@ -2938,7 +2938,7 @@ export const builds_WorkerBuildSettings_output: JsonSchema = { /** * The schema of `builds_WorkerGitRepository` in responses. */ -export const builds_WorkerGitRepository_output: JsonSchema = { +export const builds_WorkerGitRepository: JsonSchema = { "properties": { "branch": { "type": "string" @@ -2975,7 +2975,7 @@ export const builds_WorkerGitRepository_output: JsonSchema = { /** * The schema of `builds_WorkerResponse` in responses. */ -export const builds_WorkerResponse_output: JsonSchema = { +export const builds_WorkerResponse: JsonSchema = { "properties": { "git_repository": { "$ref": "#/$defs/builds_WorkerGitRepository" @@ -2999,14 +2999,14 @@ export const builds_WorkerResponse_output: JsonSchema = { /** * The schema of `builds_branch` in responses. */ -export const builds_branch_output: JsonSchema = { +export const builds_branch: JsonSchema = { "type": "string" }; /** * The schema of `builds_branch_excludes` in responses. */ -export const builds_branch_excludes_output: JsonSchema = { +export const builds_branch_excludes: JsonSchema = { "items": { "type": "string" }, @@ -3016,7 +3016,7 @@ export const builds_branch_excludes_output: JsonSchema = { /** * The schema of `builds_branch_includes` in responses. */ -export const builds_branch_includes_output: JsonSchema = { +export const builds_branch_includes: JsonSchema = { "items": { "type": "string" }, @@ -3026,28 +3026,28 @@ export const builds_branch_includes_output: JsonSchema = { /** * The schema of `builds_build_caching_enabled` in responses. */ -export const builds_build_caching_enabled_output: JsonSchema = { +export const builds_build_caching_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `builds_build_command` in responses. */ -export const builds_build_command_output: JsonSchema = { +export const builds_build_command: JsonSchema = { "type": "string" }; /** * The schema of `builds_build_token_name` in responses. */ -export const builds_build_token_name_output: JsonSchema = { +export const builds_build_token_name: JsonSchema = { "type": "string" }; /** * The schema of `builds_build_token_uuid` in responses. */ -export const builds_build_token_uuid_output: JsonSchema = { +export const builds_build_token_uuid: JsonSchema = { "format": "uuid", "type": "string" }; @@ -3055,7 +3055,7 @@ export const builds_build_token_uuid_output: JsonSchema = { /** * The schema of `builds_build_uuid` in responses. */ -export const builds_build_uuid_output: JsonSchema = { +export const builds_build_uuid: JsonSchema = { "format": "uuid", "type": "string" }; @@ -3063,14 +3063,14 @@ export const builds_build_uuid_output: JsonSchema = { /** * The schema of `builds_commit_hash` in responses. */ -export const builds_commit_hash_output: JsonSchema = { +export const builds_commit_hash: JsonSchema = { "type": "string" }; /** * The schema of `builds_created_on` in responses. */ -export const builds_created_on_output: JsonSchema = { +export const builds_created_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -3078,7 +3078,7 @@ export const builds_created_on_output: JsonSchema = { /** * The schema of `builds_deleted_on` in responses. */ -export const builds_deleted_on_output: JsonSchema = { +export const builds_deleted_on: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -3093,35 +3093,35 @@ export const builds_deleted_on_output: JsonSchema = { /** * The schema of `builds_deploy_command` in responses. */ -export const builds_deploy_command_output: JsonSchema = { +export const builds_deploy_command: JsonSchema = { "type": "string" }; /** * The schema of `builds_deploy_hook_name` in responses. */ -export const builds_deploy_hook_name_output: JsonSchema = { +export const builds_deploy_hook_name: JsonSchema = { "type": "string" }; /** * The schema of `builds_external_script_id` in responses. */ -export const builds_external_script_id_output: JsonSchema = { +export const builds_external_script_id: JsonSchema = { "type": "string" }; /** * The schema of `builds_is_secret` in responses. */ -export const builds_is_secret_output: JsonSchema = { +export const builds_is_secret: JsonSchema = { "type": "boolean" }; /** * The schema of `builds_modified_on` in responses. */ -export const builds_modified_on_output: JsonSchema = { +export const builds_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -3129,7 +3129,7 @@ export const builds_modified_on_output: JsonSchema = { /** * The schema of `builds_path_excludes` in responses. */ -export const builds_path_excludes_output: JsonSchema = { +export const builds_path_excludes: JsonSchema = { "items": { "type": "string" }, @@ -3139,7 +3139,7 @@ export const builds_path_excludes_output: JsonSchema = { /** * The schema of `builds_path_includes` in responses. */ -export const builds_path_includes_output: JsonSchema = { +export const builds_path_includes: JsonSchema = { "items": { "type": "string" }, @@ -3149,21 +3149,21 @@ export const builds_path_includes_output: JsonSchema = { /** * The schema of `builds_provider_account_id` in responses. */ -export const builds_provider_account_id_output: JsonSchema = { +export const builds_provider_account_id: JsonSchema = { "type": "string" }; /** * The schema of `builds_provider_account_name` in responses. */ -export const builds_provider_account_name_output: JsonSchema = { +export const builds_provider_account_name: JsonSchema = { "type": "string" }; /** * The schema of `builds_repo_connection_uuid` in responses. */ -export const builds_repo_connection_uuid_output: JsonSchema = { +export const builds_repo_connection_uuid: JsonSchema = { "format": "uuid", "type": "string" }; @@ -3171,28 +3171,28 @@ export const builds_repo_connection_uuid_output: JsonSchema = { /** * The schema of `builds_repo_id` in responses. */ -export const builds_repo_id_output: JsonSchema = { +export const builds_repo_id: JsonSchema = { "type": "string" }; /** * The schema of `builds_repo_name` in responses. */ -export const builds_repo_name_output: JsonSchema = { +export const builds_repo_name: JsonSchema = { "type": "string" }; /** * The schema of `builds_root_directory` in responses. */ -export const builds_root_directory_output: JsonSchema = { +export const builds_root_directory: JsonSchema = { "type": "string" }; /** * The schema of `builds_stopped_on` in responses. */ -export const builds_stopped_on_output: JsonSchema = { +export const builds_stopped_on: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -3207,14 +3207,14 @@ export const builds_stopped_on_output: JsonSchema = { /** * The schema of `builds_trigger_name` in responses. */ -export const builds_trigger_name_output: JsonSchema = { +export const builds_trigger_name: JsonSchema = { "type": "string" }; /** * The schema of `builds_trigger_uuid` in responses. */ -export const builds_trigger_uuid_output: JsonSchema = { +export const builds_trigger_uuid: JsonSchema = { "format": "uuid", "type": "string" }; @@ -3222,7 +3222,7 @@ export const builds_trigger_uuid_output: JsonSchema = { /** * The schema of `cache-settings_api-response-common` in responses. */ -export const cache_settings_api_response_common_output: JsonSchema = { +export const cache$$settings_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cache-settings_messages" @@ -3248,7 +3248,7 @@ export const cache_settings_api_response_common_output: JsonSchema = { /** * The schema of `cache-settings_api-response-common-failure` in responses. */ -export const cache_settings_api_response_common_failure_output: JsonSchema = { +export const cache$$settings_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cache-settings_messages" @@ -3278,7 +3278,7 @@ export const cache_settings_api_response_common_failure_output: JsonSchema = { /** * The schema of `cache-settings_base` in responses. */ -export const cache_settings_base_output: JsonSchema = { +export const cache$$settings_base: JsonSchema = { "properties": { "id": { "type": "string" @@ -3304,14 +3304,14 @@ export const cache_settings_base_output: JsonSchema = { /** * The schema of `cache-settings_editable` in responses. */ -export const cache_settings_editable_output: JsonSchema = { +export const cache$$settings_editable: JsonSchema = { "type": "boolean" }; /** * The schema of `cache-settings_messages` in responses. */ -export const cache_settings_messages_output: JsonSchema = { +export const cache$$settings_messages: JsonSchema = { "items": { "properties": { "code": { @@ -3333,7 +3333,7 @@ export const cache_settings_messages_output: JsonSchema = { /** * The schema of `cache-settings_modified_on` in responses. */ -export const cache_settings_modified_on_output: JsonSchema = { +export const cache$$settings_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -3341,7 +3341,7 @@ export const cache_settings_modified_on_output: JsonSchema = { /** * The schema of `cache-settings_result-object` in responses. */ -export const cache_settings_result_object_output: JsonSchema = { +export const cache$$settings_result$$object: JsonSchema = { "properties": { "editable": { "$ref": "#/$defs/cache-settings_editable" @@ -3367,7 +3367,7 @@ export const cache_settings_result_object_output: JsonSchema = { /** * The schema of `cache-settings_result-object-delete` in responses. */ -export const cache_settings_result_object_delete_output: JsonSchema = { +export const cache$$settings_result$$object$$delete: JsonSchema = { "properties": { "editable": { "$ref": "#/$defs/cache-settings_editable" @@ -3389,14 +3389,14 @@ export const cache_settings_result_object_delete_output: JsonSchema = { /** * The schema of `cache-settings_setting_id` in responses. */ -export const cache_settings_setting_id_output: JsonSchema = { +export const cache$$settings_setting_id: JsonSchema = { "type": "string" }; /** * The schema of `cache-settings_setting_value` in responses. */ -export const cache_settings_setting_value_output: JsonSchema = { +export const cache$$settings_setting_value: JsonSchema = { "type": "string" }; @@ -3404,7 +3404,7 @@ export const cache_settings_setting_value_output: JsonSchema = { * The schema of `cache-settings_zone_cache_settings_delete_response_single` in * responses. */ -export const cache_settings_zone_cache_settings_delete_response_single_output: JsonSchema = { +export const cache$$settings_zone_cache_settings_delete_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_api-response-common" @@ -3424,7 +3424,7 @@ export const cache_settings_zone_cache_settings_delete_response_single_output: J * The schema of `cache-settings_zone_cache_settings_response_single` in * responses. */ -export const cache_settings_zone_cache_settings_response_single_output: JsonSchema = { +export const cache$$settings_zone_cache_settings_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_api-response-common" @@ -3443,7 +3443,7 @@ export const cache_settings_zone_cache_settings_response_single_output: JsonSche /** * The schema of `dns-custom-nameservers_api-response-collection` in responses. */ -export const dns_custom_nameservers_api_response_collection_output: JsonSchema = { +export const dns$$custom$$nameservers_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-custom-nameservers_api-response-common" @@ -3479,7 +3479,7 @@ export const dns_custom_nameservers_api_response_collection_output: JsonSchema = /** * The schema of `dns-custom-nameservers_api-response-common` in responses. */ -export const dns_custom_nameservers_api_response_common_output: JsonSchema = { +export const dns$$custom$$nameservers_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-custom-nameservers_messages" @@ -3506,7 +3506,7 @@ export const dns_custom_nameservers_api_response_common_output: JsonSchema = { * The schema of `dns-custom-nameservers_api-response-common-failure` in * responses. */ -export const dns_custom_nameservers_api_response_common_failure_output: JsonSchema = { +export const dns$$custom$$nameservers_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-custom-nameservers_messages" @@ -3536,7 +3536,7 @@ export const dns_custom_nameservers_api_response_common_failure_output: JsonSche /** * The schema of `dns-custom-nameservers_api-response-single` in responses. */ -export const dns_custom_nameservers_api_response_single_output: JsonSchema = { +export const dns$$custom$$nameservers_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dns-custom-nameservers_messages" @@ -3562,14 +3562,14 @@ export const dns_custom_nameservers_api_response_single_output: JsonSchema = { /** * The schema of `dns-custom-nameservers_identifier-2` in responses. */ -export const dns_custom_nameservers_identifier_2_output: JsonSchema = { +export const dns$$custom$$nameservers_identifier$$2: JsonSchema = { "type": "string" }; /** * The schema of `dns-custom-nameservers_messages` in responses. */ -export const dns_custom_nameservers_messages_output: JsonSchema = { +export const dns$$custom$$nameservers_messages: JsonSchema = { "items": { "properties": { "code": { @@ -3602,21 +3602,21 @@ export const dns_custom_nameservers_messages_output: JsonSchema = { /** * The schema of `dns-custom-nameservers_ns_name` in responses. */ -export const dns_custom_nameservers_ns_name_output: JsonSchema = { +export const dns$$custom$$nameservers_ns_name: JsonSchema = { "type": "string" }; /** * The schema of `dns-custom-nameservers_ns_set` in responses. */ -export const dns_custom_nameservers_ns_set_output: JsonSchema = { +export const dns$$custom$$nameservers_ns_set: JsonSchema = { "type": "number" }; /** * The schema of `email_api-response-collection` in responses. */ -export const email_api_response_collection_output: JsonSchema = { +export const email_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-common" @@ -3652,7 +3652,7 @@ export const email_api_response_collection_output: JsonSchema = { /** * The schema of `email_api-response-common` in responses. */ -export const email_api_response_common_output: JsonSchema = { +export const email_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/email_messages" @@ -3678,7 +3678,7 @@ export const email_api_response_common_output: JsonSchema = { /** * The schema of `email_api-response-single` in responses. */ -export const email_api_response_single_output: JsonSchema = { +export const email_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/email_messages" @@ -3704,7 +3704,7 @@ export const email_api_response_single_output: JsonSchema = { /** * The schema of `email_created` in responses. */ -export const email_created_output: JsonSchema = { +export const email_created: JsonSchema = { "format": "date-time", "type": "string" }; @@ -3712,7 +3712,7 @@ export const email_created_output: JsonSchema = { /** * The schema of `email_dns_record` in responses. */ -export const email_dns_record_output: JsonSchema = { +export const email_dns_record: JsonSchema = { "properties": { "content": { "type": "string" @@ -3766,7 +3766,7 @@ export const email_dns_record_output: JsonSchema = { /** * The schema of `email_dns_settings_response_collection` in responses. */ -export const email_dns_settings_response_collection_output: JsonSchema = { +export const email_dns_settings_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/email_api-response-collection" @@ -3788,14 +3788,14 @@ export const email_dns_settings_response_collection_output: JsonSchema = { /** * The schema of `email_identifier` in responses. */ -export const email_identifier_output: JsonSchema = { +export const email_identifier: JsonSchema = { "type": "string" }; /** * The schema of `email_messages` in responses. */ -export const email_messages_output: JsonSchema = { +export const email_messages: JsonSchema = { "items": { "properties": { "code": { @@ -3828,7 +3828,7 @@ export const email_messages_output: JsonSchema = { /** * The schema of `email_modified` in responses. */ -export const email_modified_output: JsonSchema = { +export const email_modified: JsonSchema = { "format": "date-time", "type": "string" }; @@ -3836,7 +3836,7 @@ export const email_modified_output: JsonSchema = { /** * The schema of `firewall_api-response-collection` in responses. */ -export const firewall_api_response_collection_output: JsonSchema = { +export const firewall_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-common" @@ -3868,7 +3868,7 @@ export const firewall_api_response_collection_output: JsonSchema = { /** * The schema of `firewall_api-response-common` in responses. */ -export const firewall_api_response_common_output: JsonSchema = { +export const firewall_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/firewall_messages" @@ -3911,7 +3911,7 @@ export const firewall_api_response_common_output: JsonSchema = { /** * The schema of `firewall_api-response-common-failure` in responses. */ -export const firewall_api_response_common_failure_output: JsonSchema = { +export const firewall_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/firewall_messages" @@ -3941,7 +3941,7 @@ export const firewall_api_response_common_failure_output: JsonSchema = { /** * The schema of `firewall_api-response-single` in responses. */ -export const firewall_api_response_single_output: JsonSchema = { +export const firewall_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-common" @@ -3970,7 +3970,7 @@ export const firewall_api_response_single_output: JsonSchema = { /** * The schema of `firewall_asn_configuration` in responses. */ -export const firewall_asn_configuration_output: JsonSchema = { +export const firewall_asn_configuration: JsonSchema = { "properties": { "target": { "enum": [ @@ -3988,7 +3988,7 @@ export const firewall_asn_configuration_output: JsonSchema = { /** * The schema of `firewall_cidr_configuration` in responses. */ -export const firewall_cidr_configuration_output: JsonSchema = { +export const firewall_cidr_configuration: JsonSchema = { "properties": { "target": { "enum": [ @@ -4006,7 +4006,7 @@ export const firewall_cidr_configuration_output: JsonSchema = { /** * The schema of `firewall_configuration` in responses. */ -export const firewall_configuration_output: JsonSchema = { +export const firewall_configuration: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/firewall_ip_configuration" @@ -4029,7 +4029,7 @@ export const firewall_configuration_output: JsonSchema = { /** * The schema of `firewall_country_configuration` in responses. */ -export const firewall_country_configuration_output: JsonSchema = { +export const firewall_country_configuration: JsonSchema = { "properties": { "target": { "enum": [ @@ -4047,7 +4047,7 @@ export const firewall_country_configuration_output: JsonSchema = { /** * The schema of `firewall_ip_configuration` in responses. */ -export const firewall_ip_configuration_output: JsonSchema = { +export const firewall_ip_configuration: JsonSchema = { "properties": { "target": { "enum": [ @@ -4065,7 +4065,7 @@ export const firewall_ip_configuration_output: JsonSchema = { /** * The schema of `firewall_ipv6_configuration` in responses. */ -export const firewall_ipv6_configuration_output: JsonSchema = { +export const firewall_ipv6_configuration: JsonSchema = { "properties": { "target": { "enum": [ @@ -4083,7 +4083,7 @@ export const firewall_ipv6_configuration_output: JsonSchema = { /** * The schema of `firewall_messages` in responses. */ -export const firewall_messages_output: JsonSchema = { +export const firewall_messages: JsonSchema = { "items": { "properties": { "code": { @@ -4105,14 +4105,14 @@ export const firewall_messages_output: JsonSchema = { /** * The schema of `firewall_notes` in responses. */ -export const firewall_notes_output: JsonSchema = { +export const firewall_notes: JsonSchema = { "type": "string" }; /** * The schema of `firewall_result_info` in responses. */ -export const firewall_result_info_output: JsonSchema = { +export const firewall_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -4133,7 +4133,7 @@ export const firewall_result_info_output: JsonSchema = { /** * The schema of `firewall_rule` in responses. */ -export const firewall_rule_output: JsonSchema = { +export const firewall_rule: JsonSchema = { "properties": { "allowed_modes": { "items": { @@ -4174,14 +4174,14 @@ export const firewall_rule_output: JsonSchema = { /** * The schema of `firewall_schemas-identifier` in responses. */ -export const firewall_schemas_identifier_output: JsonSchema = { +export const firewall_schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `firewall_schemas-mode` in responses. */ -export const firewall_schemas_mode_output: JsonSchema = { +export const firewall_schemas$$mode: JsonSchema = { "enum": [ "block", "challenge", @@ -4195,7 +4195,7 @@ export const firewall_schemas_mode_output: JsonSchema = { /** * The schema of `iam_access` in responses. */ -export const iam_access_output: JsonSchema = { +export const iam_access: JsonSchema = { "enum": [ "allow", "deny" @@ -4206,7 +4206,7 @@ export const iam_access_output: JsonSchema = { /** * The schema of `iam_account-type` in responses. */ -export const iam_account_type_output: JsonSchema = { +export const iam_account$$type: JsonSchema = { "enum": [ "standard", "enterprise" @@ -4217,7 +4217,7 @@ export const iam_account_type_output: JsonSchema = { /** * The schema of `iam_api-response-collection` in responses. */ -export const iam_api_response_collection_output: JsonSchema = { +export const iam_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-common" @@ -4236,7 +4236,7 @@ export const iam_api_response_collection_output: JsonSchema = { /** * The schema of `iam_api-response-common` in responses. */ -export const iam_api_response_common_output: JsonSchema = { +export const iam_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/iam_messages-2" @@ -4262,7 +4262,7 @@ export const iam_api_response_common_output: JsonSchema = { /** * The schema of `iam_api-response-common-failure` in responses. */ -export const iam_api_response_common_failure_output: JsonSchema = { +export const iam_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/iam_messages-2" @@ -4292,7 +4292,7 @@ export const iam_api_response_common_failure_output: JsonSchema = { /** * The schema of `iam_api-response-single` in responses. */ -export const iam_api_response_single_output: JsonSchema = { +export const iam_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/iam_messages-2" @@ -4318,7 +4318,7 @@ export const iam_api_response_single_output: JsonSchema = { /** * The schema of `iam_api-response-single-id` in responses. */ -export const iam_api_response_single_id_output: JsonSchema = { +export const iam_api$$response$$single$$id: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-common" @@ -4352,7 +4352,7 @@ export const iam_api_response_single_id_output: JsonSchema = { /** * The schema of `iam_cidr_list` in responses. */ -export const iam_cidr_list_output: JsonSchema = { +export const iam_cidr_list: JsonSchema = { "items": { "type": "string" }, @@ -4362,7 +4362,7 @@ export const iam_cidr_list_output: JsonSchema = { /** * The schema of `iam_collection_tokens_response` in responses. */ -export const iam_collection_tokens_response_output: JsonSchema = { +export const iam_collection_tokens_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -4384,14 +4384,14 @@ export const iam_collection_tokens_response_output: JsonSchema = { /** * The schema of `iam_common_components-schemas-identifier` in responses. */ -export const iam_common_components_schemas_identifier_output: JsonSchema = { +export const iam_common_components$$schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `iam_condition` in responses. */ -export const iam_condition_output: JsonSchema = { +export const iam_condition: JsonSchema = { "properties": { "request_ip": { "$ref": "#/$defs/iam_request_ip" @@ -4403,14 +4403,14 @@ export const iam_condition_output: JsonSchema = { /** * The schema of `iam_creator_email_at_creation` in responses. */ -export const iam_creator_email_at_creation_output: JsonSchema = { +export const iam_creator_email_at_creation: JsonSchema = { "type": "string" }; /** * The schema of `iam_effect` in responses. */ -export const iam_effect_output: JsonSchema = { +export const iam_effect: JsonSchema = { "enum": [ "allow", "deny" @@ -4421,14 +4421,14 @@ export const iam_effect_output: JsonSchema = { /** * The schema of `iam_email` in responses. */ -export const iam_email_output: JsonSchema = { +export const iam_email: JsonSchema = { "type": "string" }; /** * The schema of `iam_expires_on` in responses. */ -export const iam_expires_on_output: JsonSchema = { +export const iam_expires_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -4436,7 +4436,7 @@ export const iam_expires_on_output: JsonSchema = { /** * The schema of `iam_first_name` in responses. */ -export const iam_first_name_output: JsonSchema = { +export const iam_first_name: JsonSchema = { "oneOf": [ { "type": "string" @@ -4450,7 +4450,7 @@ export const iam_first_name_output: JsonSchema = { /** * The schema of `iam_grants` in responses. */ -export const iam_grants_output: JsonSchema = { +export const iam_grants: JsonSchema = { "properties": { "read": { "type": "boolean" @@ -4465,7 +4465,7 @@ export const iam_grants_output: JsonSchema = { /** * The schema of `iam_issued_on` in responses. */ -export const iam_issued_on_output: JsonSchema = { +export const iam_issued_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -4473,7 +4473,7 @@ export const iam_issued_on_output: JsonSchema = { /** * The schema of `iam_last_name` in responses. */ -export const iam_last_name_output: JsonSchema = { +export const iam_last_name: JsonSchema = { "oneOf": [ { "type": "string" @@ -4487,7 +4487,7 @@ export const iam_last_name_output: JsonSchema = { /** * The schema of `iam_last_used_on` in responses. */ -export const iam_last_used_on_output: JsonSchema = { +export const iam_last_used_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -4495,7 +4495,7 @@ export const iam_last_used_on_output: JsonSchema = { /** * The schema of `iam_list_member_policy` in responses. */ -export const iam_list_member_policy_output: JsonSchema = { +export const iam_list_member_policy: JsonSchema = { "properties": { "access": { "$ref": "#/$defs/iam_access" @@ -4516,14 +4516,14 @@ export const iam_list_member_policy_output: JsonSchema = { /** * The schema of `iam_membership_components-schemas-identifier` in responses. */ -export const iam_membership_components_schemas_identifier_output: JsonSchema = { +export const iam_membership_components$$schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `iam_messages-2` in responses. */ -export const iam_messages_2_output: JsonSchema = { +export const iam_messages$$2: JsonSchema = { "items": { "properties": { "code": { @@ -4556,7 +4556,7 @@ export const iam_messages_2_output: JsonSchema = { /** * The schema of `iam_modified_on` in responses. */ -export const iam_modified_on_output: JsonSchema = { +export const iam_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -4564,14 +4564,14 @@ export const iam_modified_on_output: JsonSchema = { /** * The schema of `iam_name` in responses. */ -export const iam_name_output: JsonSchema = { +export const iam_name: JsonSchema = { "type": "string" }; /** * The schema of `iam_not_before` in responses. */ -export const iam_not_before_output: JsonSchema = { +export const iam_not_before: JsonSchema = { "format": "date-time", "type": "string" }; @@ -4579,7 +4579,7 @@ export const iam_not_before_output: JsonSchema = { /** * The schema of `iam_permission_group` in responses. */ -export const iam_permission_group_output: JsonSchema = { +export const iam_permission_group: JsonSchema = { "properties": { "id": { "type": "string" @@ -4627,7 +4627,7 @@ export const iam_permission_group_output: JsonSchema = { /** * The schema of `iam_permission_groups` in responses. */ -export const iam_permission_groups_output: JsonSchema = { +export const iam_permission_groups: JsonSchema = { "items": { "$ref": "#/$defs/iam_permission_group" }, @@ -4637,7 +4637,7 @@ export const iam_permission_groups_output: JsonSchema = { /** * The schema of `iam_permissions` in responses. */ -export const iam_permissions_output: JsonSchema = { +export const iam_permissions: JsonSchema = { "properties": { "analytics": { "$ref": "#/$defs/iam_grants" @@ -4682,7 +4682,7 @@ export const iam_permissions_output: JsonSchema = { /** * The schema of `iam_permissions_group_response_collection` in responses. */ -export const iam_permissions_group_response_collection_output: JsonSchema = { +export const iam_permissions_group_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -4745,14 +4745,14 @@ export const iam_permissions_group_response_collection_output: JsonSchema = { /** * The schema of `iam_policy_identifier` in responses. */ -export const iam_policy_identifier_output: JsonSchema = { +export const iam_policy_identifier: JsonSchema = { "type": "string" }; /** * The schema of `iam_policy_with_permission_groups_and_resources` in responses. */ -export const iam_policy_with_permission_groups_and_resources_output: JsonSchema = { +export const iam_policy_with_permission_groups_and_resources: JsonSchema = { "properties": { "effect": { "$ref": "#/$defs/iam_effect" @@ -4779,7 +4779,7 @@ export const iam_policy_with_permission_groups_and_resources_output: JsonSchema /** * The schema of `iam_provisioner_id` in responses. */ -export const iam_provisioner_id_output: JsonSchema = { +export const iam_provisioner_id: JsonSchema = { "oneOf": [ { "type": "string" @@ -4793,14 +4793,14 @@ export const iam_provisioner_id_output: JsonSchema = { /** * The schema of `iam_provisioner_type` in responses. */ -export const iam_provisioner_type_output: JsonSchema = { +export const iam_provisioner_type: JsonSchema = { "type": "string" }; /** * The schema of `iam_request_ip` in responses. */ -export const iam_request_ip_output: JsonSchema = { +export const iam_request_ip: JsonSchema = { "properties": { "in": { "$ref": "#/$defs/iam_cidr_list" @@ -4815,7 +4815,7 @@ export const iam_request_ip_output: JsonSchema = { /** * The schema of `iam_resource_group` in responses. */ -export const iam_resource_group_output: JsonSchema = { +export const iam_resource_group: JsonSchema = { "properties": { "id": { "type": "string" @@ -4848,7 +4848,7 @@ export const iam_resource_group_output: JsonSchema = { /** * The schema of `iam_resource_groups` in responses. */ -export const iam_resource_groups_output: JsonSchema = { +export const iam_resource_groups: JsonSchema = { "items": { "$ref": "#/$defs/iam_resource_group" }, @@ -4858,7 +4858,7 @@ export const iam_resource_groups_output: JsonSchema = { /** * The schema of `iam_resources` in responses. */ -export const iam_resources_output: JsonSchema = { +export const iam_resources: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/iam_resources_type_object_string" @@ -4872,7 +4872,7 @@ export const iam_resources_output: JsonSchema = { /** * The schema of `iam_resources_type_object_nested` in responses. */ -export const iam_resources_type_object_nested_output: JsonSchema = { +export const iam_resources_type_object_nested: JsonSchema = { "additionalProperties": { "additionalProperties": { "type": "string" @@ -4885,7 +4885,7 @@ export const iam_resources_type_object_nested_output: JsonSchema = { /** * The schema of `iam_resources_type_object_string` in responses. */ -export const iam_resources_type_object_string_output: JsonSchema = { +export const iam_resources_type_object_string: JsonSchema = { "additionalProperties": { "type": "string" }, @@ -4895,7 +4895,7 @@ export const iam_resources_type_object_string_output: JsonSchema = { /** * The schema of `iam_response_single_value` in responses. */ -export const iam_response_single_value_output: JsonSchema = { +export const iam_response_single_value: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -4914,7 +4914,7 @@ export const iam_response_single_value_output: JsonSchema = { /** * The schema of `iam_result_info` in responses. */ -export const iam_result_info_output: JsonSchema = { +export const iam_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -4935,7 +4935,7 @@ export const iam_result_info_output: JsonSchema = { /** * The schema of `iam_scope` in responses. */ -export const iam_scope_output: JsonSchema = { +export const iam_scope: JsonSchema = { "properties": { "key": { "$ref": "#/$defs/iam_scope_key" @@ -4957,12 +4957,12 @@ export const iam_scope_output: JsonSchema = { /** * The schema of `iam_scope_key` in responses. */ -export const iam_scope_key_output: JsonSchema = {}; +export const iam_scope_key: JsonSchema = {}; /** * The schema of `iam_scope_object` in responses. */ -export const iam_scope_object_output: JsonSchema = { +export const iam_scope_object: JsonSchema = { "properties": { "key": { "$ref": "#/$defs/iam_scope_object_key" @@ -4977,12 +4977,12 @@ export const iam_scope_object_output: JsonSchema = { /** * The schema of `iam_scope_object_key` in responses. */ -export const iam_scope_object_key_output: JsonSchema = {}; +export const iam_scope_object_key: JsonSchema = {}; /** * The schema of `iam_single_token_create_response` in responses. */ -export const iam_single_token_create_response_output: JsonSchema = { +export const iam_single_token_create_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -5001,7 +5001,7 @@ export const iam_single_token_create_response_output: JsonSchema = { /** * The schema of `iam_single_token_response` in responses. */ -export const iam_single_token_response_output: JsonSchema = { +export const iam_single_token_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -5020,7 +5020,7 @@ export const iam_single_token_response_output: JsonSchema = { /** * The schema of `iam_token_base` in responses. */ -export const iam_token_base_output: JsonSchema = { +export const iam_token_base: JsonSchema = { "properties": { "condition": { "$ref": "#/$defs/iam_condition" @@ -5074,14 +5074,14 @@ export const iam_token_base_output: JsonSchema = { /** * The schema of `iam_token_identifier` in responses. */ -export const iam_token_identifier_output: JsonSchema = { +export const iam_token_identifier: JsonSchema = { "type": "string" }; /** * The schema of `iam_token_policies` in responses. */ -export const iam_token_policies_output: JsonSchema = { +export const iam_token_policies: JsonSchema = { "items": { "$ref": "#/$defs/iam_policy_with_permission_groups_and_resources" }, @@ -5091,14 +5091,14 @@ export const iam_token_policies_output: JsonSchema = { /** * The schema of `iam_token_prefix` in responses. */ -export const iam_token_prefix_output: JsonSchema = { +export const iam_token_prefix: JsonSchema = { "type": "string" }; /** * The schema of `iam_token_status` in responses. */ -export const iam_token_status_output: JsonSchema = { +export const iam_token_status: JsonSchema = { "enum": [ "active", "disabled", @@ -5110,14 +5110,14 @@ export const iam_token_status_output: JsonSchema = { /** * The schema of `iam_token_suffix` in responses. */ -export const iam_token_suffix_output: JsonSchema = { +export const iam_token_suffix: JsonSchema = { "type": "string" }; /** * The schema of `iam_token_verify_response_single_segment` in responses. */ -export const iam_token_verify_response_single_segment_output: JsonSchema = { +export const iam_token_verify_response_single_segment: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -5154,7 +5154,7 @@ export const iam_token_verify_response_single_segment_output: JsonSchema = { /** * The schema of `iam_token_with_value` in responses. */ -export const iam_token_with_value_output: JsonSchema = { +export const iam_token_with_value: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_token_base" @@ -5173,21 +5173,21 @@ export const iam_token_with_value_output: JsonSchema = { /** * The schema of `iam_two_factor_authentication_enabled` in responses. */ -export const iam_two_factor_authentication_enabled_output: JsonSchema = { +export const iam_two_factor_authentication_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `iam_value` in responses. */ -export const iam_value_output: JsonSchema = { +export const iam_value: JsonSchema = { "type": "string" }; /** * The schema of `infra_api-response-collection` in responses. */ -export const infra_api_response_collection_output: JsonSchema = { +export const infra_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/infra_api-response-common" @@ -5223,7 +5223,7 @@ export const infra_api_response_collection_output: JsonSchema = { /** * The schema of `infra_api-response-common` in responses. */ -export const infra_api_response_common_output: JsonSchema = { +export const infra_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/infra_messages" @@ -5249,7 +5249,7 @@ export const infra_api_response_common_output: JsonSchema = { /** * The schema of `infra_api-response-common-failure` in responses. */ -export const infra_api_response_common_failure_output: JsonSchema = { +export const infra_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/infra_messages" @@ -5279,7 +5279,7 @@ export const infra_api_response_common_failure_output: JsonSchema = { /** * The schema of `infra_api-response-single` in responses. */ -export const infra_api_response_single_output: JsonSchema = { +export const infra_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/infra_messages" @@ -5305,7 +5305,7 @@ export const infra_api_response_single_output: JsonSchema = { /** * The schema of `infra_messages` in responses. */ -export const infra_messages_output: JsonSchema = { +export const infra_messages: JsonSchema = { "items": { "properties": { "code": { @@ -5338,7 +5338,7 @@ export const infra_messages_output: JsonSchema = { /** * The schema of `load-balancing_Host` in responses. */ -export const load_balancing_Host_output: JsonSchema = { +export const load$$balancing_Host: JsonSchema = { "items": { "type": "string" }, @@ -5348,14 +5348,14 @@ export const load_balancing_Host_output: JsonSchema = { /** * The schema of `load-balancing_address` in responses. */ -export const load_balancing_address_output: JsonSchema = { +export const load$$balancing_address: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_allow_insecure` in responses. */ -export const load_balancing_allow_insecure_output: JsonSchema = { +export const load$$balancing_allow_insecure: JsonSchema = { "type": "boolean" }; @@ -5363,7 +5363,7 @@ export const load_balancing_allow_insecure_output: JsonSchema = { * The schema of `load-balancing_api-paginated-response-collection` in * responses. */ -export const load_balancing_api_paginated_response_collection_output: JsonSchema = { +export const load$$balancing_api$$paginated$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-common" @@ -5382,7 +5382,7 @@ export const load_balancing_api_paginated_response_collection_output: JsonSchema /** * The schema of `load-balancing_api-response-common` in responses. */ -export const load_balancing_api_response_common_output: JsonSchema = { +export const load$$balancing_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/load-balancing_messages" @@ -5408,7 +5408,7 @@ export const load_balancing_api_response_common_output: JsonSchema = { /** * The schema of `load-balancing_api-response-common-failure` in responses. */ -export const load_balancing_api_response_common_failure_output: JsonSchema = { +export const load$$balancing_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/load-balancing_messages" @@ -5438,7 +5438,7 @@ export const load_balancing_api_response_common_failure_output: JsonSchema = { /** * The schema of `load-balancing_api-response-single` in responses. */ -export const load_balancing_api_response_single_output: JsonSchema = { +export const load$$balancing_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-common" @@ -5467,7 +5467,7 @@ export const load_balancing_api_response_single_output: JsonSchema = { /** * The schema of `load-balancing_check_regions` in responses. */ -export const load_balancing_check_regions_output: JsonSchema = { +export const load$$balancing_check_regions: JsonSchema = { "oneOf": [ { "items": { @@ -5501,28 +5501,28 @@ export const load_balancing_check_regions_output: JsonSchema = { /** * The schema of `load-balancing_consecutive_down` in responses. */ -export const load_balancing_consecutive_down_output: JsonSchema = { +export const load$$balancing_consecutive_down: JsonSchema = { "type": "integer" }; /** * The schema of `load-balancing_consecutive_up` in responses. */ -export const load_balancing_consecutive_up_output: JsonSchema = { +export const load$$balancing_consecutive_up: JsonSchema = { "type": "integer" }; /** * The schema of `load-balancing_description` in responses. */ -export const load_balancing_description_output: JsonSchema = { +export const load$$balancing_description: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_disabled_at` in responses. */ -export const load_balancing_disabled_at_output: JsonSchema = { +export const load$$balancing_disabled_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -5530,28 +5530,28 @@ export const load_balancing_disabled_at_output: JsonSchema = { /** * The schema of `load-balancing_enabled` in responses. */ -export const load_balancing_enabled_output: JsonSchema = { +export const load$$balancing_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `load-balancing_expected_body` in responses. */ -export const load_balancing_expected_body_output: JsonSchema = { +export const load$$balancing_expected_body: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_expected_codes` in responses. */ -export const load_balancing_expected_codes_output: JsonSchema = { +export const load$$balancing_expected_codes: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_filter_options` in responses. */ -export const load_balancing_filter_options_output: JsonSchema = { +export const load$$balancing_filter_options: JsonSchema = { "oneOf": [ { "properties": { @@ -5587,14 +5587,14 @@ export const load_balancing_filter_options_output: JsonSchema = { /** * The schema of `load-balancing_follow_redirects` in responses. */ -export const load_balancing_follow_redirects_output: JsonSchema = { +export const load$$balancing_follow_redirects: JsonSchema = { "type": "boolean" }; /** * The schema of `load-balancing_header` in responses. */ -export const load_balancing_header_output: JsonSchema = { +export const load$$balancing_header: JsonSchema = { "additionalProperties": { "items": { "type": "string" @@ -5607,7 +5607,7 @@ export const load_balancing_header_output: JsonSchema = { /** * The schema of `load-balancing_health_details` in responses. */ -export const load_balancing_health_details_output: JsonSchema = { +export const load$$balancing_health_details: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -5645,7 +5645,7 @@ export const load_balancing_health_details_output: JsonSchema = { /** * The schema of `load-balancing_health_sources` in responses. */ -export const load_balancing_health_sources_output: JsonSchema = { +export const load$$balancing_health_sources: JsonSchema = { "oneOf": [ { "items": { @@ -5667,7 +5667,7 @@ export const load_balancing_health_sources_output: JsonSchema = { /** * The schema of `load-balancing_id_response` in responses. */ -export const load_balancing_id_response_output: JsonSchema = { +export const load$$balancing_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -5691,28 +5691,28 @@ export const load_balancing_id_response_output: JsonSchema = { /** * The schema of `load-balancing_identifier` in responses. */ -export const load_balancing_identifier_output: JsonSchema = { +export const load$$balancing_identifier: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_interval` in responses. */ -export const load_balancing_interval_output: JsonSchema = { +export const load$$balancing_interval: JsonSchema = { "type": "integer" }; /** * The schema of `load-balancing_latitude` in responses. */ -export const load_balancing_latitude_output: JsonSchema = { +export const load$$balancing_latitude: JsonSchema = { "type": "number" }; /** * The schema of `load-balancing_load_shedding` in responses. */ -export const load_balancing_load_shedding_output: JsonSchema = { +export const load$$balancing_load_shedding: JsonSchema = { "oneOf": [ { "properties": { @@ -5747,14 +5747,14 @@ export const load_balancing_load_shedding_output: JsonSchema = { /** * The schema of `load-balancing_longitude` in responses. */ -export const load_balancing_longitude_output: JsonSchema = { +export const load$$balancing_longitude: JsonSchema = { "type": "number" }; /** * The schema of `load-balancing_messages` in responses. */ -export const load_balancing_messages_output: JsonSchema = { +export const load$$balancing_messages: JsonSchema = { "items": { "properties": { "code": { @@ -5776,21 +5776,21 @@ export const load_balancing_messages_output: JsonSchema = { /** * The schema of `load-balancing_method` in responses. */ -export const load_balancing_method_output: JsonSchema = { +export const load$$balancing_method: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_minimum_origins` in responses. */ -export const load_balancing_minimum_origins_output: JsonSchema = { +export const load$$balancing_minimum_origins: JsonSchema = { "type": "integer" }; /** * The schema of `load-balancing_monitor` in responses. */ -export const load_balancing_monitor_output: JsonSchema = { +export const load$$balancing_monitor: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_monitor-editable" @@ -5815,7 +5815,7 @@ export const load_balancing_monitor_output: JsonSchema = { /** * The schema of `load-balancing_monitor-editable` in responses. */ -export const load_balancing_monitor_editable_output: JsonSchema = { +export const load$$balancing_monitor$$editable: JsonSchema = { "properties": { "allow_insecure": { "$ref": "#/$defs/load-balancing_allow_insecure" @@ -5872,7 +5872,7 @@ export const load_balancing_monitor_editable_output: JsonSchema = { /** * The schema of `load-balancing_monitor-references-response` in responses. */ -export const load_balancing_monitor_references_response_output: JsonSchema = { +export const load$$balancing_monitor$$references$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-common" @@ -5913,7 +5913,7 @@ export const load_balancing_monitor_references_response_output: JsonSchema = { /** * The schema of `load-balancing_monitor-response-collection` in responses. */ -export const load_balancing_monitor_response_collection_output: JsonSchema = { +export const load$$balancing_monitor$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-paginated-response-collection" @@ -5935,7 +5935,7 @@ export const load_balancing_monitor_response_collection_output: JsonSchema = { /** * The schema of `load-balancing_monitor-response-single` in responses. */ -export const load_balancing_monitor_response_single_output: JsonSchema = { +export const load$$balancing_monitor$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -5954,28 +5954,28 @@ export const load_balancing_monitor_response_single_output: JsonSchema = { /** * The schema of `load-balancing_monitor_group_id` in responses. */ -export const load_balancing_monitor_group_id_output: JsonSchema = { +export const load$$balancing_monitor_group_id: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_monitor_id` in responses. */ -export const load_balancing_monitor_id_output: JsonSchema = { +export const load$$balancing_monitor_id: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_name` in responses. */ -export const load_balancing_name_output: JsonSchema = { +export const load$$balancing_name: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_networks` in responses. */ -export const load_balancing_networks_output: JsonSchema = { +export const load$$balancing_networks: JsonSchema = { "items": { "type": "string" }, @@ -5985,14 +5985,14 @@ export const load_balancing_networks_output: JsonSchema = { /** * The schema of `load-balancing_notification_email` in responses. */ -export const load_balancing_notification_email_output: JsonSchema = { +export const load$$balancing_notification_email: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_notification_filter` in responses. */ -export const load_balancing_notification_filter_output: JsonSchema = { +export const load$$balancing_notification_filter: JsonSchema = { "oneOf": [ { "properties": { @@ -6014,7 +6014,7 @@ export const load_balancing_notification_filter_output: JsonSchema = { /** * The schema of `load-balancing_origin` in responses. */ -export const load_balancing_origin_output: JsonSchema = { +export const load$$balancing_origin: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/load-balancing_address" @@ -6050,7 +6050,7 @@ export const load_balancing_origin_output: JsonSchema = { /** * The schema of `load-balancing_origin-health` in responses. */ -export const load_balancing_origin_health_output: JsonSchema = { +export const load$$balancing_origin$$health: JsonSchema = { "properties": { "ip": { "properties": { @@ -6076,14 +6076,14 @@ export const load_balancing_origin_health_output: JsonSchema = { /** * The schema of `load-balancing_origin_flatten_cname` in responses. */ -export const load_balancing_origin_flatten_cname_output: JsonSchema = { +export const load$$balancing_origin_flatten_cname: JsonSchema = { "type": "boolean" }; /** * The schema of `load-balancing_origin_health_data` in responses. */ -export const load_balancing_origin_health_data_output: JsonSchema = { +export const load$$balancing_origin_health_data: JsonSchema = { "properties": { "failure_reason": { "type": "string" @@ -6104,14 +6104,14 @@ export const load_balancing_origin_health_data_output: JsonSchema = { /** * The schema of `load-balancing_origin_port` in responses. */ -export const load_balancing_origin_port_output: JsonSchema = { +export const load$$balancing_origin_port: JsonSchema = { "type": "integer" }; /** * The schema of `load-balancing_origin_steering` in responses. */ -export const load_balancing_origin_steering_output: JsonSchema = { +export const load$$balancing_origin_steering: JsonSchema = { "oneOf": [ { "properties": { @@ -6136,7 +6136,7 @@ export const load_balancing_origin_steering_output: JsonSchema = { /** * The schema of `load-balancing_origins` in responses. */ -export const load_balancing_origins_output: JsonSchema = { +export const load$$balancing_origins: JsonSchema = { "items": { "$ref": "#/$defs/load-balancing_origin" }, @@ -6146,14 +6146,14 @@ export const load_balancing_origins_output: JsonSchema = { /** * The schema of `load-balancing_path` in responses. */ -export const load_balancing_path_output: JsonSchema = { +export const load$$balancing_path: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_pool` in responses. */ -export const load_balancing_pool_output: JsonSchema = { +export const load$$balancing_pool: JsonSchema = { "properties": { "check_regions": { "$ref": "#/$defs/load-balancing_check_regions" @@ -6222,7 +6222,7 @@ export const load_balancing_pool_output: JsonSchema = { /** * The schema of `load-balancing_pools-references-response` in responses. */ -export const load_balancing_pools_references_response_output: JsonSchema = { +export const load$$balancing_pools$$references$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-common" @@ -6263,7 +6263,7 @@ export const load_balancing_pools_references_response_output: JsonSchema = { /** * The schema of `load-balancing_port` in responses. */ -export const load_balancing_port_output: JsonSchema = { +export const load$$balancing_port: JsonSchema = { "oneOf": [ { "type": "integer" @@ -6277,7 +6277,7 @@ export const load_balancing_port_output: JsonSchema = { /** * The schema of `load-balancing_preview_response` in responses. */ -export const load_balancing_preview_response_output: JsonSchema = { +export const load$$balancing_preview_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -6307,7 +6307,7 @@ export const load_balancing_preview_response_output: JsonSchema = { /** * The schema of `load-balancing_preview_result` in responses. */ -export const load_balancing_preview_result_output: JsonSchema = { +export const load$$balancing_preview_result: JsonSchema = { "additionalProperties": { "properties": { "healthy": { @@ -6331,7 +6331,7 @@ export const load_balancing_preview_result_output: JsonSchema = { /** * The schema of `load-balancing_preview_result_response` in responses. */ -export const load_balancing_preview_result_response_output: JsonSchema = { +export const load$$balancing_preview_result_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -6350,7 +6350,7 @@ export const load_balancing_preview_result_response_output: JsonSchema = { /** * The schema of `load-balancing_probe_zone` in responses. */ -export const load_balancing_probe_zone_output: JsonSchema = { +export const load$$balancing_probe_zone: JsonSchema = { "type": "string" }; @@ -6358,7 +6358,7 @@ export const load_balancing_probe_zone_output: JsonSchema = { * The schema of `load-balancing_region_components-schemas-response_collection` * in responses. */ -export const load_balancing_region_components_schemas_response_collection_output: JsonSchema = { +export const load$$balancing_region_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -6377,7 +6377,7 @@ export const load_balancing_region_components_schemas_response_collection_output /** * The schema of `load-balancing_result_info` in responses. */ -export const load_balancing_result_info_output: JsonSchema = { +export const load$$balancing_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -6401,21 +6401,21 @@ export const load_balancing_result_info_output: JsonSchema = { /** * The schema of `load-balancing_retries` in responses. */ -export const load_balancing_retries_output: JsonSchema = { +export const load$$balancing_retries: JsonSchema = { "type": "integer" }; /** * The schema of `load-balancing_schemas-description` in responses. */ -export const load_balancing_schemas_description_output: JsonSchema = { +export const load$$balancing_schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_schemas-disabled_at` in responses. */ -export const load_balancing_schemas_disabled_at_output: JsonSchema = { +export const load$$balancing_schemas$$disabled_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -6423,14 +6423,14 @@ export const load_balancing_schemas_disabled_at_output: JsonSchema = { /** * The schema of `load-balancing_schemas-enabled` in responses. */ -export const load_balancing_schemas_enabled_output: JsonSchema = { +export const load$$balancing_schemas$$enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `load-balancing_schemas-header` in responses. */ -export const load_balancing_schemas_header_output: JsonSchema = { +export const load$$balancing_schemas$$header: JsonSchema = { "properties": { "Host": { "$ref": "#/$defs/load-balancing_Host" @@ -6442,7 +6442,7 @@ export const load_balancing_schemas_header_output: JsonSchema = { /** * The schema of `load-balancing_schemas-id_response` in responses. */ -export const load_balancing_schemas_id_response_output: JsonSchema = { +export const load$$balancing_schemas$$id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -6466,21 +6466,21 @@ export const load_balancing_schemas_id_response_output: JsonSchema = { /** * The schema of `load-balancing_schemas-identifier` in responses. */ -export const load_balancing_schemas_identifier_output: JsonSchema = { +export const load$$balancing_schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_schemas-name` in responses. */ -export const load_balancing_schemas_name_output: JsonSchema = { +export const load$$balancing_schemas$$name: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_schemas-response_collection` in responses. */ -export const load_balancing_schemas_response_collection_output: JsonSchema = { +export const load$$balancing_schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-paginated-response-collection" @@ -6502,7 +6502,7 @@ export const load_balancing_schemas_response_collection_output: JsonSchema = { /** * The schema of `load-balancing_schemas-single_response` in responses. */ -export const load_balancing_schemas_single_response_output: JsonSchema = { +export const load$$balancing_schemas$$single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-response-single" @@ -6521,14 +6521,14 @@ export const load_balancing_schemas_single_response_output: JsonSchema = { /** * The schema of `load-balancing_timeout` in responses. */ -export const load_balancing_timeout_output: JsonSchema = { +export const load$$balancing_timeout: JsonSchema = { "type": "integer" }; /** * The schema of `load-balancing_timestamp` in responses. */ -export const load_balancing_timestamp_output: JsonSchema = { +export const load$$balancing_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -6536,7 +6536,7 @@ export const load_balancing_timestamp_output: JsonSchema = { /** * The schema of `load-balancing_type` in responses. */ -export const load_balancing_type_output: JsonSchema = { +export const load$$balancing_type: JsonSchema = { "enum": [ "http", "https", @@ -6551,21 +6551,21 @@ export const load_balancing_type_output: JsonSchema = { /** * The schema of `load-balancing_virtual_network_id` in responses. */ -export const load_balancing_virtual_network_id_output: JsonSchema = { +export const load$$balancing_virtual_network_id: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_weight` in responses. */ -export const load_balancing_weight_output: JsonSchema = { +export const load$$balancing_weight: JsonSchema = { "type": "number" }; /** * The schema of `mconn-telemetry_coded_message` in responses. */ -export const mconn_telemetry_coded_message_output: JsonSchema = { +export const mconn$$telemetry_coded_message: JsonSchema = { "properties": { "code": { "type": "number" @@ -6584,7 +6584,7 @@ export const mconn_telemetry_coded_message_output: JsonSchema = { /** * The schema of `mconn-telemetry_envelope` in responses. */ -export const mconn_telemetry_envelope_output: JsonSchema = { +export const mconn$$telemetry_envelope: JsonSchema = { "properties": { "errors": { "items": { @@ -6611,7 +6611,7 @@ export const mconn_telemetry_envelope_output: JsonSchema = { /** * The schema of `mconn_bad_response` in responses. */ -export const mconn_bad_response_output: JsonSchema = { +export const mconn_bad_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_response" @@ -6636,7 +6636,7 @@ export const mconn_bad_response_output: JsonSchema = { /** * The schema of `mconn_coded_message` in responses. */ -export const mconn_coded_message_output: JsonSchema = { +export const mconn_coded_message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -6655,7 +6655,7 @@ export const mconn_coded_message_output: JsonSchema = { /** * The schema of `mconn_good_response` in responses. */ -export const mconn_good_response_output: JsonSchema = { +export const mconn_good_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/mconn_response" @@ -6677,7 +6677,7 @@ export const mconn_good_response_output: JsonSchema = { /** * The schema of `mconn_none` in responses. */ -export const mconn_none_output: JsonSchema = { +export const mconn_none: JsonSchema = { "oneOf": [ { "type": "object" @@ -6691,7 +6691,7 @@ export const mconn_none_output: JsonSchema = { /** * The schema of `mconn_response` in responses. */ -export const mconn_response_output: JsonSchema = { +export const mconn_response: JsonSchema = { "properties": { "messages": { "items": { @@ -6713,14 +6713,14 @@ export const mconn_response_output: JsonSchema = { /** * The schema of `mconn_uuid` in responses. */ -export const mconn_uuid_output: JsonSchema = { +export const mconn_uuid: JsonSchema = { "type": "string" }; /** * The schema of `organizations-api_Organization` in responses. */ -export const organizations_api_Organization_output: JsonSchema = { +export const organizations$$api_Organization: JsonSchema = { "properties": { "create_time": { "format": "date-time", @@ -6789,7 +6789,7 @@ export const organizations_api_Organization_output: JsonSchema = { /** * The schema of `organizations-api_OrganizationFlags` in responses. */ -export const organizations_api_OrganizationFlags_output: JsonSchema = { +export const organizations$$api_OrganizationFlags: JsonSchema = { "properties": { "account_creation": { "type": "string" @@ -6832,14 +6832,14 @@ export const organizations_api_OrganizationFlags_output: JsonSchema = { /** * The schema of `organizations-api_OrganizationID` in responses. */ -export const organizations_api_OrganizationID_output: JsonSchema = { +export const organizations$$api_OrganizationID: JsonSchema = { "type": "string" }; /** * The schema of `organizations-api_Profile` in responses. */ -export const organizations_api_Profile_output: JsonSchema = { +export const organizations$$api_Profile: JsonSchema = { "properties": { "business_address": { "type": "string" @@ -6870,7 +6870,7 @@ export const organizations_api_Profile_output: JsonSchema = { /** * The schema of `organizations-api_V4ErrorResponse` in responses. */ -export const organizations_api_V4ErrorResponse_output: JsonSchema = { +export const organizations$$api_V4ErrorResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -6912,7 +6912,7 @@ export const organizations_api_V4ErrorResponse_output: JsonSchema = { /** * The schema of `organizations-api_V4Message` in responses. */ -export const organizations_api_V4Message_output: JsonSchema = { +export const organizations$$api_V4Message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -6931,7 +6931,7 @@ export const organizations_api_V4Message_output: JsonSchema = { /** * The schema of `pay-per-crawl_ErrorSource` in responses. */ -export const pay_per_crawl_ErrorSource_output: JsonSchema = { +export const pay$$per$$crawl_ErrorSource: JsonSchema = { "properties": { "pointer": { "type": "string" @@ -6943,7 +6943,7 @@ export const pay_per_crawl_ErrorSource_output: JsonSchema = { /** * The schema of `pay-per-crawl_Msg` in responses. */ -export const pay_per_crawl_Msg_output: JsonSchema = { +export const pay$$per$$crawl_Msg: JsonSchema = { "properties": { "code": { "type": "integer" @@ -6980,7 +6980,7 @@ export const pay_per_crawl_Msg_output: JsonSchema = { /** * The schema of `pay-per-crawl_RESTError` in responses. */ -export const pay_per_crawl_RESTError_output: JsonSchema = { +export const pay$$per$$crawl_RESTError: JsonSchema = { "properties": { "code": { "type": "integer" @@ -7001,7 +7001,7 @@ export const pay_per_crawl_RESTError_output: JsonSchema = { /** * The schema of `pay-per-crawl_ResultInfo` in responses. */ -export const pay_per_crawl_ResultInfo_output: JsonSchema = { +export const pay$$per$$crawl_ResultInfo: JsonSchema = { "properties": { "count": { "type": "integer" @@ -7025,7 +7025,7 @@ export const pay_per_crawl_ResultInfo_output: JsonSchema = { /** * The schema of `pay-per-crawl_Source` in responses. */ -export const pay_per_crawl_Source_output: JsonSchema = { +export const pay$$per$$crawl_Source: JsonSchema = { "properties": { "parameter": { "type": "string" @@ -7046,7 +7046,7 @@ export const pay_per_crawl_Source_output: JsonSchema = { /** * The schema of `pay-per-crawl_apiErrorResponse` in responses. */ -export const pay_per_crawl_apiErrorResponse_output: JsonSchema = { +export const pay$$per$$crawl_apiErrorResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -7074,7 +7074,7 @@ export const pay_per_crawl_apiErrorResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_apiNoResultResponse` in responses. */ -export const pay_per_crawl_apiNoResultResponse_output: JsonSchema = { +export const pay$$per$$crawl_apiNoResultResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -7101,7 +7101,7 @@ export const pay_per_crawl_apiNoResultResponse_output: JsonSchema = { /** * The schema of `r2-data-catalog_api-response-common-failure` in responses. */ -export const r2_data_catalog_api_response_common_failure_output: JsonSchema = { +export const r2$$data$$catalog_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "items": { @@ -7137,7 +7137,7 @@ export const r2_data_catalog_api_response_common_failure_output: JsonSchema = { /** * The schema of `r2-data-catalog_api-response-errors` in responses. */ -export const r2_data_catalog_api_response_errors_output: JsonSchema = { +export const r2$$data$$catalog_api$$response$$errors: JsonSchema = { "items": { "properties": { "code": { @@ -7159,7 +7159,7 @@ export const r2_data_catalog_api_response_errors_output: JsonSchema = { /** * The schema of `r2-data-catalog_api-response-messages` in responses. */ -export const r2_data_catalog_api_response_messages_output: JsonSchema = { +export const r2$$data$$catalog_api$$response$$messages: JsonSchema = { "items": { "properties": { "code": { @@ -7181,7 +7181,7 @@ export const r2_data_catalog_api_response_messages_output: JsonSchema = { /** * The schema of `r2-data-catalog_api-response-single` in responses. */ -export const r2_data_catalog_api_response_single_output: JsonSchema = { +export const r2$$data$$catalog_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/r2-data-catalog_api-response-errors" @@ -7204,14 +7204,14 @@ export const r2_data_catalog_api_response_single_output: JsonSchema = { /** * The schema of `r2-data-catalog_api-response-success` in responses. */ -export const r2_data_catalog_api_response_success_output: JsonSchema = { +export const r2$$data$$catalog_api$$response$$success: JsonSchema = { "type": "boolean" }; /** * The schema of `r2-data-catalog_catalog` in responses. */ -export const r2_data_catalog_catalog_output: JsonSchema = { +export const r2$$data$$catalog_catalog: JsonSchema = { "properties": { "bucket": { "type": "string" @@ -7262,7 +7262,7 @@ export const r2_data_catalog_catalog_output: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-activation-response` in responses. */ -export const r2_data_catalog_catalog_activation_response_output: JsonSchema = { +export const r2$$data$$catalog_catalog$$activation$$response: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -7282,7 +7282,7 @@ export const r2_data_catalog_catalog_activation_response_output: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-compaction-config` in responses. */ -export const r2_data_catalog_catalog_compaction_config_output: JsonSchema = { +export const r2$$data$$catalog_catalog$$compaction$$config: JsonSchema = { "properties": { "state": { "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state" @@ -7301,7 +7301,7 @@ export const r2_data_catalog_catalog_compaction_config_output: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-list` in responses. */ -export const r2_data_catalog_catalog_list_output: JsonSchema = { +export const r2$$data$$catalog_catalog$$list: JsonSchema = { "properties": { "warehouses": { "items": { @@ -7319,7 +7319,7 @@ export const r2_data_catalog_catalog_list_output: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-maintenance-config` in responses. */ -export const r2_data_catalog_catalog_maintenance_config_output: JsonSchema = { +export const r2$$data$$catalog_catalog$$maintenance$$config: JsonSchema = { "properties": { "compaction": { "$ref": "#/$defs/r2-data-catalog_catalog-compaction-config" @@ -7338,7 +7338,7 @@ export const r2_data_catalog_catalog_maintenance_config_output: JsonSchema = { * The schema of `r2-data-catalog_catalog-maintenance-config-response` in * responses. */ -export const r2_data_catalog_catalog_maintenance_config_response_output: JsonSchema = { +export const r2$$data$$catalog_catalog$$maintenance$$config$$response: JsonSchema = { "properties": { "credential_status": { "$ref": "#/$defs/r2-data-catalog_credential-status" @@ -7357,7 +7357,7 @@ export const r2_data_catalog_catalog_maintenance_config_response_output: JsonSch /** * The schema of `r2-data-catalog_catalog-maintenance-state` in responses. */ -export const r2_data_catalog_catalog_maintenance_state_output: JsonSchema = { +export const r2$$data$$catalog_catalog$$maintenance$$state: JsonSchema = { "enum": [ "enabled", "disabled" @@ -7368,7 +7368,7 @@ export const r2_data_catalog_catalog_maintenance_state_output: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-status` in responses. */ -export const r2_data_catalog_catalog_status_output: JsonSchema = { +export const r2$$data$$catalog_catalog$$status: JsonSchema = { "enum": [ "active", "inactive" @@ -7379,7 +7379,7 @@ export const r2_data_catalog_catalog_status_output: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-target-file-size` in responses. */ -export const r2_data_catalog_catalog_target_file_size_output: JsonSchema = { +export const r2$$data$$catalog_catalog$$target$$file$$size: JsonSchema = { "enum": [ "64", "128", @@ -7392,7 +7392,7 @@ export const r2_data_catalog_catalog_target_file_size_output: JsonSchema = { /** * The schema of `r2-data-catalog_credential-probe-status` in responses. */ -export const r2_data_catalog_credential_probe_status_output: JsonSchema = { +export const r2$$data$$catalog_credential$$probe$$status: JsonSchema = { "enum": [ "valid", "invalid", @@ -7404,7 +7404,7 @@ export const r2_data_catalog_credential_probe_status_output: JsonSchema = { /** * The schema of `r2-data-catalog_credential-status` in responses. */ -export const r2_data_catalog_credential_status_output: JsonSchema = { +export const r2$$data$$catalog_credential$$status: JsonSchema = { "enum": [ "present", "absent" @@ -7415,7 +7415,7 @@ export const r2_data_catalog_credential_status_output: JsonSchema = { /** * The schema of `r2-data-catalog_get-table-response` in responses. */ -export const r2_data_catalog_get_table_response_output: JsonSchema = { +export const r2$$data$$catalog_get$$table$$response: JsonSchema = { "properties": { "identifier": { "$ref": "#/$defs/r2-data-catalog_table-identifier" @@ -7450,14 +7450,14 @@ export const r2_data_catalog_get_table_response_output: JsonSchema = { /** * The schema of `r2-data-catalog_maintenance-interval` in responses. */ -export const r2_data_catalog_maintenance_interval_output: JsonSchema = { +export const r2$$data$$catalog_maintenance$$interval: JsonSchema = { "type": "string" }; /** * The schema of `r2-data-catalog_maintenance-run-operation` in responses. */ -export const r2_data_catalog_maintenance_run_operation_output: JsonSchema = { +export const r2$$data$$catalog_maintenance$$run$$operation: JsonSchema = { "properties": { "duration_ms": { "type": "integer" @@ -7511,7 +7511,7 @@ export const r2_data_catalog_maintenance_run_operation_output: JsonSchema = { /** * The schema of `r2-data-catalog_maintenance-run-record` in responses. */ -export const r2_data_catalog_maintenance_run_record_output: JsonSchema = { +export const r2$$data$$catalog_maintenance$$run$$record: JsonSchema = { "properties": { "completed_at": { "oneOf": [ @@ -7620,7 +7620,7 @@ export const r2_data_catalog_maintenance_run_record_output: JsonSchema = { /** * The schema of `r2-data-catalog_maintenance-runs-response` in responses. */ -export const r2_data_catalog_maintenance_runs_response_output: JsonSchema = { +export const r2$$data$$catalog_maintenance$$runs$$response: JsonSchema = { "properties": { "next_page_token": { "oneOf": [ @@ -7649,7 +7649,7 @@ export const r2_data_catalog_maintenance_runs_response_output: JsonSchema = { /** * The schema of `r2-data-catalog_namespace-details` in responses. */ -export const r2_data_catalog_namespace_details_output: JsonSchema = { +export const r2$$data$$catalog_namespace$$details: JsonSchema = { "properties": { "created_at": { "oneOf": [ @@ -7691,7 +7691,7 @@ export const r2_data_catalog_namespace_details_output: JsonSchema = { /** * The schema of `r2-data-catalog_namespace-identifier` in responses. */ -export const r2_data_catalog_namespace_identifier_output: JsonSchema = { +export const r2$$data$$catalog_namespace$$identifier: JsonSchema = { "items": { "type": "string" }, @@ -7703,7 +7703,7 @@ export const r2_data_catalog_namespace_identifier_output: JsonSchema = { /** * The schema of `r2-data-catalog_namespace-list-response` in responses. */ -export const r2_data_catalog_namespace_list_response_output: JsonSchema = { +export const r2$$data$$catalog_namespace$$list$$response: JsonSchema = { "properties": { "details": { "oneOf": [ @@ -7758,7 +7758,7 @@ export const r2_data_catalog_namespace_list_response_output: JsonSchema = { /** * The schema of `r2-data-catalog_queue-maintenance-response` in responses. */ -export const r2_data_catalog_queue_maintenance_response_output: JsonSchema = { +export const r2$$data$$catalog_queue$$maintenance$$response: JsonSchema = { "properties": { "message": { "type": "string" @@ -7788,7 +7788,7 @@ export const r2_data_catalog_queue_maintenance_response_output: JsonSchema = { /** * The schema of `r2-data-catalog_snapshot-expiration-config` in responses. */ -export const r2_data_catalog_snapshot_expiration_config_output: JsonSchema = { +export const r2$$data$$catalog_snapshot$$expiration$$config: JsonSchema = { "properties": { "max_snapshot_age": { "type": "string" @@ -7811,7 +7811,7 @@ export const r2_data_catalog_snapshot_expiration_config_output: JsonSchema = { /** * The schema of `r2-data-catalog_table-compaction-config` in responses. */ -export const r2_data_catalog_table_compaction_config_output: JsonSchema = { +export const r2$$data$$catalog_table$$compaction$$config: JsonSchema = { "properties": { "next_eligible_at": { "oneOf": [ @@ -7841,7 +7841,7 @@ export const r2_data_catalog_table_compaction_config_output: JsonSchema = { /** * The schema of `r2-data-catalog_table-details` in responses. */ -export const r2_data_catalog_table_details_output: JsonSchema = { +export const r2$$data$$catalog_table$$details: JsonSchema = { "properties": { "created_at": { "oneOf": [ @@ -7903,7 +7903,7 @@ export const r2_data_catalog_table_details_output: JsonSchema = { /** * The schema of `r2-data-catalog_table-identifier` in responses. */ -export const r2_data_catalog_table_identifier_output: JsonSchema = { +export const r2$$data$$catalog_table$$identifier: JsonSchema = { "properties": { "name": { "type": "string" @@ -7922,7 +7922,7 @@ export const r2_data_catalog_table_identifier_output: JsonSchema = { /** * The schema of `r2-data-catalog_table-list-response` in responses. */ -export const r2_data_catalog_table_list_response_output: JsonSchema = { +export const r2$$data$$catalog_table$$list$$response: JsonSchema = { "properties": { "details": { "oneOf": [ @@ -7977,7 +7977,7 @@ export const r2_data_catalog_table_list_response_output: JsonSchema = { /** * The schema of `r2-data-catalog_table-maintenance-config` in responses. */ -export const r2_data_catalog_table_maintenance_config_output: JsonSchema = { +export const r2$$data$$catalog_table$$maintenance$$config: JsonSchema = { "properties": { "compaction": { "$ref": "#/$defs/r2-data-catalog_table-compaction-config" @@ -7996,7 +7996,7 @@ export const r2_data_catalog_table_maintenance_config_output: JsonSchema = { * The schema of `r2-data-catalog_table-maintenance-config-response` in * responses. */ -export const r2_data_catalog_table_maintenance_config_response_output: JsonSchema = { +export const r2$$data$$catalog_table$$maintenance$$config$$response: JsonSchema = { "properties": { "maintenance_config": { "$ref": "#/$defs/r2-data-catalog_table-maintenance-config" @@ -8011,7 +8011,7 @@ export const r2_data_catalog_table_maintenance_config_response_output: JsonSchem /** * The schema of `r2-data-catalog_table-metadata` in responses. */ -export const r2_data_catalog_table_metadata_output: JsonSchema = { +export const r2$$data$$catalog_table$$metadata: JsonSchema = { "type": "object" }; @@ -8019,7 +8019,7 @@ export const r2_data_catalog_table_metadata_output: JsonSchema = { * The schema of `r2-data-catalog_table-snapshot-expiration-config` in * responses. */ -export const r2_data_catalog_table_snapshot_expiration_config_output: JsonSchema = { +export const r2$$data$$catalog_table$$snapshot$$expiration$$config: JsonSchema = { "properties": { "max_snapshot_age": { "type": "string" @@ -8053,21 +8053,21 @@ export const r2_data_catalog_table_snapshot_expiration_config_output: JsonSchema /** * The schema of `resource-sharing_account_id` in responses. */ -export const resource_sharing_account_id_output: JsonSchema = { +export const resource$$sharing_account_id: JsonSchema = { "type": "string" }; /** * The schema of `resource-sharing_account_name` in responses. */ -export const resource_sharing_account_name_output: JsonSchema = { +export const resource$$sharing_account_name: JsonSchema = { "type": "string" }; /** * The schema of `resource-sharing_api-response-collection` in responses. */ -export const resource_sharing_api_response_collection_output: JsonSchema = { +export const resource$$sharing_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-sharing_api-response-common" @@ -8081,7 +8081,7 @@ export const resource_sharing_api_response_collection_output: JsonSchema = { /** * The schema of `resource-sharing_api-response-collection-info` in responses. */ -export const resource_sharing_api_response_collection_info_output: JsonSchema = { +export const resource$$sharing_api$$response$$collection$$info: JsonSchema = { "properties": { "result_info": { "$ref": "#/$defs/resource-sharing_result_info" @@ -8093,7 +8093,7 @@ export const resource_sharing_api_response_collection_info_output: JsonSchema = /** * The schema of `resource-sharing_api-response-common` in responses. */ -export const resource_sharing_api_response_common_output: JsonSchema = { +export const resource$$sharing_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/resource-sharing_v4errors" @@ -8112,7 +8112,7 @@ export const resource_sharing_api_response_common_output: JsonSchema = { /** * The schema of `resource-sharing_api-response-common-failure` in responses. */ -export const resource_sharing_api_response_common_failure_output: JsonSchema = { +export const resource$$sharing_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/resource-sharing_v4errors" @@ -8135,7 +8135,7 @@ export const resource_sharing_api_response_common_failure_output: JsonSchema = { /** * The schema of `resource-sharing_created` in responses. */ -export const resource_sharing_created_output: JsonSchema = { +export const resource$$sharing_created: JsonSchema = { "format": "date-time", "type": "string" }; @@ -8143,7 +8143,7 @@ export const resource_sharing_created_output: JsonSchema = { /** * The schema of `resource-sharing_modified` in responses. */ -export const resource_sharing_modified_output: JsonSchema = { +export const resource$$sharing_modified: JsonSchema = { "format": "date-time", "type": "string" }; @@ -8151,35 +8151,35 @@ export const resource_sharing_modified_output: JsonSchema = { /** * The schema of `resource-sharing_organization_id` in responses. */ -export const resource_sharing_organization_id_output: JsonSchema = { +export const resource$$sharing_organization_id: JsonSchema = { "type": "string" }; /** * The schema of `resource-sharing_resource_id` in responses. */ -export const resource_sharing_resource_id_output: JsonSchema = { +export const resource$$sharing_resource_id: JsonSchema = { "type": "string" }; /** * The schema of `resource-sharing_resource_meta` in responses. */ -export const resource_sharing_resource_meta_output: JsonSchema = { +export const resource$$sharing_resource_meta: JsonSchema = { "type": "object" }; /** * The schema of `resource-sharing_resource_resource_id` in responses. */ -export const resource_sharing_resource_resource_id_output: JsonSchema = { +export const resource$$sharing_resource_resource_id: JsonSchema = { "type": "string" }; /** * The schema of `resource-sharing_resource_status` in responses. */ -export const resource_sharing_resource_status_output: JsonSchema = { +export const resource$$sharing_resource_status: JsonSchema = { "enum": [ "active", "deleting", @@ -8191,7 +8191,7 @@ export const resource_sharing_resource_status_output: JsonSchema = { /** * The schema of `resource-sharing_resource_type` in responses. */ -export const resource_sharing_resource_type_output: JsonSchema = { +export const resource$$sharing_resource_type: JsonSchema = { "enum": [ "custom-ruleset", "gateway-policy", @@ -8207,14 +8207,14 @@ export const resource_sharing_resource_type_output: JsonSchema = { /** * The schema of `resource-sharing_resource_version` in responses. */ -export const resource_sharing_resource_version_output: JsonSchema = { +export const resource$$sharing_resource_version: JsonSchema = { "type": "integer" }; /** * The schema of `resource-sharing_result_info` in responses. */ -export const resource_sharing_result_info_output: JsonSchema = { +export const resource$$sharing_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -8238,14 +8238,14 @@ export const resource_sharing_result_info_output: JsonSchema = { /** * The schema of `resource-sharing_share_id` in responses. */ -export const resource_sharing_share_id_output: JsonSchema = { +export const resource$$sharing_share_id: JsonSchema = { "type": "string" }; /** * The schema of `resource-sharing_share_kind` in responses. */ -export const resource_sharing_share_kind_output: JsonSchema = { +export const resource$$sharing_share_kind: JsonSchema = { "enum": [ "sent", "received" @@ -8256,14 +8256,14 @@ export const resource_sharing_share_kind_output: JsonSchema = { /** * The schema of `resource-sharing_share_name` in responses. */ -export const resource_sharing_share_name_output: JsonSchema = { +export const resource$$sharing_share_name: JsonSchema = { "type": "string" }; /** * The schema of `resource-sharing_share_object` in responses. */ -export const resource_sharing_share_object_output: JsonSchema = { +export const resource$$sharing_share_object: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/resource-sharing_account_id" @@ -8331,7 +8331,7 @@ export const resource_sharing_share_object_output: JsonSchema = { /** * The schema of `resource-sharing_share_resource_object` in responses. */ -export const resource_sharing_share_resource_object_output: JsonSchema = { +export const resource$$sharing_share_resource_object: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/resource-sharing_created" @@ -8378,7 +8378,7 @@ export const resource_sharing_share_resource_object_output: JsonSchema = { /** * The schema of `resource-sharing_share_response_collection` in responses. */ -export const resource_sharing_share_response_collection_output: JsonSchema = { +export const resource$$sharing_share_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-sharing_api-response-collection" @@ -8393,7 +8393,7 @@ export const resource_sharing_share_response_collection_output: JsonSchema = { * The schema of `resource-sharing_share_response_collection_result` in * responses. */ -export const resource_sharing_share_response_collection_result_output: JsonSchema = { +export const resource$$sharing_share_response_collection_result: JsonSchema = { "properties": { "result": { "items": { @@ -8408,7 +8408,7 @@ export const resource_sharing_share_response_collection_result_output: JsonSchem /** * The schema of `resource-sharing_share_status` in responses. */ -export const resource_sharing_share_status_output: JsonSchema = { +export const resource$$sharing_share_status: JsonSchema = { "enum": [ "active", "deleting", @@ -8420,7 +8420,7 @@ export const resource_sharing_share_status_output: JsonSchema = { /** * The schema of `resource-sharing_share_target_type` in responses. */ -export const resource_sharing_share_target_type_output: JsonSchema = { +export const resource$$sharing_share_target_type: JsonSchema = { "enum": [ "account", "organization" @@ -8431,7 +8431,7 @@ export const resource_sharing_share_target_type_output: JsonSchema = { /** * The schema of `resource-sharing_v4error` in responses. */ -export const resource_sharing_v4error_output: JsonSchema = { +export const resource$$sharing_v4error: JsonSchema = { "properties": { "code": { "type": "integer" @@ -8450,7 +8450,7 @@ export const resource_sharing_v4error_output: JsonSchema = { /** * The schema of `resource-sharing_v4errors` in responses. */ -export const resource_sharing_v4errors_output: JsonSchema = { +export const resource$$sharing_v4errors: JsonSchema = { "items": { "$ref": "#/$defs/resource-sharing_v4error" }, @@ -8460,7 +8460,7 @@ export const resource_sharing_v4errors_output: JsonSchema = { /** * The schema of `rulesets_Errors` in responses. */ -export const rulesets_Errors_output: JsonSchema = { +export const rulesets_Errors: JsonSchema = { "items": { "$ref": "#/$defs/rulesets_Message" }, @@ -8470,7 +8470,7 @@ export const rulesets_Errors_output: JsonSchema = { /** * The schema of `rulesets_Message` in responses. */ -export const rulesets_Message_output: JsonSchema = { +export const rulesets_Message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -8499,7 +8499,7 @@ export const rulesets_Message_output: JsonSchema = { /** * The schema of `rulesets_Messages` in responses. */ -export const rulesets_Messages_output: JsonSchema = { +export const rulesets_Messages: JsonSchema = { "items": { "$ref": "#/$defs/rulesets_Message" }, @@ -8509,7 +8509,7 @@ export const rulesets_Messages_output: JsonSchema = { /** * The schema of `rulesets_Response` in responses. */ -export const rulesets_Response_output: JsonSchema = { +export const rulesets_Response: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/rulesets_Errors" @@ -8558,7 +8558,7 @@ export const rulesets_Response_output: JsonSchema = { /** * The schema of `rum_api-response-common` in responses. */ -export const rum_api_response_common_output: JsonSchema = { +export const rum_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/rum_messages" @@ -8581,7 +8581,7 @@ export const rum_api_response_common_output: JsonSchema = { /** * The schema of `rum_api-response-common-failure` in responses. */ -export const rum_api_response_common_failure_output: JsonSchema = { +export const rum_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/rum_messages-2" @@ -8611,7 +8611,7 @@ export const rum_api_response_common_failure_output: JsonSchema = { /** * The schema of `rum_messages` in responses. */ -export const rum_messages_output: JsonSchema = { +export const rum_messages: JsonSchema = { "items": { "properties": { "code": { @@ -8633,7 +8633,7 @@ export const rum_messages_output: JsonSchema = { /** * The schema of `rum_messages-2` in responses. */ -export const rum_messages_2_output: JsonSchema = { +export const rum_messages$$2: JsonSchema = { "items": { "properties": { "code": { @@ -8666,7 +8666,7 @@ export const rum_messages_2_output: JsonSchema = { /** * The schema of `security-center_api-response-common` in responses. */ -export const security_center_api_response_common_output: JsonSchema = { +export const security$$center_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/security-center_messages" @@ -8692,7 +8692,7 @@ export const security_center_api_response_common_output: JsonSchema = { /** * The schema of `security-center_api-response-common-failure` in responses. */ -export const security_center_api_response_common_failure_output: JsonSchema = { +export const security$$center_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/security-center_messages" @@ -8722,7 +8722,7 @@ export const security_center_api_response_common_failure_output: JsonSchema = { /** * The schema of `security-center_api-response-single` in responses. */ -export const security_center_api_response_single_output: JsonSchema = { +export const security$$center_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/security-center_messages" @@ -8748,14 +8748,14 @@ export const security_center_api_response_single_output: JsonSchema = { /** * The schema of `security-center_count` in responses. */ -export const security_center_count_output: JsonSchema = { +export const security$$center_count: JsonSchema = { "type": "integer" }; /** * The schema of `security-center_issue` in responses. */ -export const security_center_issue_output: JsonSchema = { +export const security$$center_issue: JsonSchema = { "properties": { "dismissed": { "type": "boolean" @@ -8828,14 +8828,14 @@ export const security_center_issue_output: JsonSchema = { /** * The schema of `security-center_issueClass` in responses. */ -export const security_center_issueClass_output: JsonSchema = { +export const security$$center_issueClass: JsonSchema = { "type": "string" }; /** * The schema of `security-center_issueType` in responses. */ -export const security_center_issueType_output: JsonSchema = { +export const security$$center_issueType: JsonSchema = { "enum": [ "compliance_violation", "email_security", @@ -8850,7 +8850,7 @@ export const security_center_issueType_output: JsonSchema = { /** * The schema of `security-center_messages` in responses. */ -export const security_center_messages_output: JsonSchema = { +export const security$$center_messages: JsonSchema = { "items": { "properties": { "code": { @@ -8883,21 +8883,21 @@ export const security_center_messages_output: JsonSchema = { /** * The schema of `security-center_page` in responses. */ -export const security_center_page_output: JsonSchema = { +export const security$$center_page: JsonSchema = { "type": "integer" }; /** * The schema of `security-center_perPage` in responses. */ -export const security_center_perPage_output: JsonSchema = { +export const security$$center_perPage: JsonSchema = { "type": "integer" }; /** * The schema of `security-center_source` in responses. */ -export const security_center_source_output: JsonSchema = { +export const security$$center_source: JsonSchema = { "enum": [ "cloudflare", "riskrecon" @@ -8908,14 +8908,14 @@ export const security_center_source_output: JsonSchema = { /** * The schema of `security-center_subject` in responses. */ -export const security_center_subject_output: JsonSchema = { +export const security$$center_subject: JsonSchema = { "type": "string" }; /** * The schema of `security-center_userClassification` in responses. */ -export const security_center_userClassification_output: JsonSchema = { +export const security$$center_userClassification: JsonSchema = { "oneOf": [ { "enum": [ @@ -8934,7 +8934,7 @@ export const security_center_userClassification_output: JsonSchema = { /** * The schema of `security-center_valueCountsResponse` in responses. */ -export const security_center_valueCountsResponse_output: JsonSchema = { +export const security$$center_valueCountsResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/security-center_api-response-common" @@ -8964,7 +8964,7 @@ export const security_center_valueCountsResponse_output: JsonSchema = { /** * The schema of `speed_api-response-common` in responses. */ -export const speed_api_response_common_output: JsonSchema = { +export const speed_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/speed_messages" @@ -8987,7 +8987,7 @@ export const speed_api_response_common_output: JsonSchema = { /** * The schema of `speed_api-response-common-failure` in responses. */ -export const speed_api_response_common_failure_output: JsonSchema = { +export const speed_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/speed_messages" @@ -9021,7 +9021,7 @@ export const speed_api_response_common_failure_output: JsonSchema = { /** * The schema of `speed_base` in responses. */ -export const speed_base_output: JsonSchema = { +export const speed_base: JsonSchema = { "properties": { "editable": { "enum": [ @@ -9058,7 +9058,7 @@ export const speed_base_output: JsonSchema = { /** * The schema of `speed_messages` in responses. */ -export const speed_messages_output: JsonSchema = { +export const speed_messages: JsonSchema = { "items": { "properties": { "code": { @@ -9081,7 +9081,7 @@ export const speed_messages_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_api-response-collection` in * responses. */ -export const tls_certificates_and_hostnames_api_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common" @@ -9118,7 +9118,7 @@ export const tls_certificates_and_hostnames_api_response_collection_output: Json * The schema of `tls-certificates-and-hostnames_api-response-common` in * responses. */ -export const tls_certificates_and_hostnames_api_response_common_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/tls-certificates-and-hostnames_messages" @@ -9145,7 +9145,7 @@ export const tls_certificates_and_hostnames_api_response_common_output: JsonSche * The schema of `tls-certificates-and-hostnames_api-response-common-failure` in * responses. */ -export const tls_certificates_and_hostnames_api_response_common_failure_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/tls-certificates-and-hostnames_messages" @@ -9176,7 +9176,7 @@ export const tls_certificates_and_hostnames_api_response_common_failure_output: * The schema of `tls-certificates-and-hostnames_api-response-single` in * responses. */ -export const tls_certificates_and_hostnames_api_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/tls-certificates-and-hostnames_messages" @@ -9202,7 +9202,7 @@ export const tls_certificates_and_hostnames_api_response_single_output: JsonSche /** * The schema of `tls-certificates-and-hostnames_expires_on-2` in responses. */ -export const tls_certificates_and_hostnames_expires_on_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_expires_on$$2: JsonSchema = { "format": "date-time", "type": "string" }; @@ -9210,21 +9210,21 @@ export const tls_certificates_and_hostnames_expires_on_2_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_identifier` in responses. */ -export const tls_certificates_and_hostnames_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_identifier: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_issuer` in responses. */ -export const tls_certificates_and_hostnames_issuer_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_issuer: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_messages` in responses. */ -export const tls_certificates_and_hostnames_messages_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_messages: JsonSchema = { "items": { "properties": { "code": { @@ -9257,14 +9257,14 @@ export const tls_certificates_and_hostnames_messages_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_signature` in responses. */ -export const tls_certificates_and_hostnames_signature_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_signature: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_uploaded_on` in responses. */ -export const tls_certificates_and_hostnames_uploaded_on_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_uploaded_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -9273,7 +9273,7 @@ export const tls_certificates_and_hostnames_uploaded_on_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_validation_record` in * responses. */ -export const tls_certificates_and_hostnames_validation_record_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validation_record: JsonSchema = { "properties": { "cname": { "type": "string" @@ -9309,14 +9309,14 @@ export const tls_certificates_and_hostnames_validation_record_output: JsonSchema /** * The schema of `tunnel_account_id` in responses. */ -export const tunnel_account_id_output: JsonSchema = { +export const tunnel_account_id: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_api-response-collection` in responses. */ -export const tunnel_api_response_collection_output: JsonSchema = { +export const tunnel_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" @@ -9348,7 +9348,7 @@ export const tunnel_api_response_collection_output: JsonSchema = { /** * The schema of `tunnel_api-response-common` in responses. */ -export const tunnel_api_response_common_output: JsonSchema = { +export const tunnel_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/tunnel_messages" @@ -9391,7 +9391,7 @@ export const tunnel_api_response_common_output: JsonSchema = { /** * The schema of `tunnel_api-response-common-failure` in responses. */ -export const tunnel_api_response_common_failure_output: JsonSchema = { +export const tunnel_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/tunnel_messages" @@ -9421,7 +9421,7 @@ export const tunnel_api_response_common_failure_output: JsonSchema = { /** * The schema of `tunnel_api-response-common-failure-2` in responses. */ -export const tunnel_api_response_common_failure_2_output: JsonSchema = { +export const tunnel_api$$response$$common$$failure$$2: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/tunnel_messages-2" @@ -9451,7 +9451,7 @@ export const tunnel_api_response_common_failure_2_output: JsonSchema = { /** * The schema of `tunnel_api-response-single-2` in responses. */ -export const tunnel_api_response_single_2_output: JsonSchema = { +export const tunnel_api$$response$$single$$2: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/tunnel_messages-2" @@ -9477,14 +9477,14 @@ export const tunnel_api_response_single_2_output: JsonSchema = { /** * The schema of `tunnel_arch` in responses. */ -export const tunnel_arch_output: JsonSchema = { +export const tunnel_arch: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_cfd_tunnel` in responses. */ -export const tunnel_cfd_tunnel_output: JsonSchema = { +export const tunnel_cfd_tunnel: JsonSchema = { "properties": { "account_tag": { "$ref": "#/$defs/tunnel_account_id" @@ -9532,7 +9532,7 @@ export const tunnel_cfd_tunnel_output: JsonSchema = { /** * The schema of `tunnel_client_id` in responses. */ -export const tunnel_client_id_output: JsonSchema = { +export const tunnel_client_id: JsonSchema = { "format": "uuid", "type": "string" }; @@ -9540,14 +9540,14 @@ export const tunnel_client_id_output: JsonSchema = { /** * The schema of `tunnel_colo_name` in responses. */ -export const tunnel_colo_name_output: JsonSchema = { +export const tunnel_colo_name: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_config_src` in responses. */ -export const tunnel_config_src_output: JsonSchema = { +export const tunnel_config_src: JsonSchema = { "enum": [ "local", "cloudflare" @@ -9558,7 +9558,7 @@ export const tunnel_config_src_output: JsonSchema = { /** * The schema of `tunnel_connection_id` in responses. */ -export const tunnel_connection_id_output: JsonSchema = { +export const tunnel_connection_id: JsonSchema = { "format": "uuid", "type": "string" }; @@ -9566,7 +9566,7 @@ export const tunnel_connection_id_output: JsonSchema = { /** * The schema of `tunnel_connections_deprecated` in responses. */ -export const tunnel_connections_deprecated_output: JsonSchema = { +export const tunnel_connections_deprecated: JsonSchema = { "items": { "$ref": "#/$defs/tunnel_schemas-connection" }, @@ -9576,7 +9576,7 @@ export const tunnel_connections_deprecated_output: JsonSchema = { /** * The schema of `tunnel_conns_active_at` in responses. */ -export const tunnel_conns_active_at_output: JsonSchema = { +export const tunnel_conns_active_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -9584,7 +9584,7 @@ export const tunnel_conns_active_at_output: JsonSchema = { /** * The schema of `tunnel_conns_inactive_at` in responses. */ -export const tunnel_conns_inactive_at_output: JsonSchema = { +export const tunnel_conns_inactive_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -9592,7 +9592,7 @@ export const tunnel_conns_inactive_at_output: JsonSchema = { /** * The schema of `tunnel_created_at` in responses. */ -export const tunnel_created_at_output: JsonSchema = { +export const tunnel_created_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -9600,7 +9600,7 @@ export const tunnel_created_at_output: JsonSchema = { /** * The schema of `tunnel_deleted_at` in responses. */ -export const tunnel_deleted_at_output: JsonSchema = { +export const tunnel_deleted_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -9608,7 +9608,7 @@ export const tunnel_deleted_at_output: JsonSchema = { /** * The schema of `tunnel_empty_response` in responses. */ -export const tunnel_empty_response_output: JsonSchema = { +export const tunnel_empty_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" @@ -9627,7 +9627,7 @@ export const tunnel_empty_response_output: JsonSchema = { /** * The schema of `tunnel_features` in responses. */ -export const tunnel_features_output: JsonSchema = { +export const tunnel_features: JsonSchema = { "items": { "type": "string" }, @@ -9637,28 +9637,28 @@ export const tunnel_features_output: JsonSchema = { /** * The schema of `tunnel_identifier` in responses. */ -export const tunnel_identifier_output: JsonSchema = { +export const tunnel_identifier: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_ip` in responses. */ -export const tunnel_ip_output: JsonSchema = { +export const tunnel_ip: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_is_pending_reconnect` in responses. */ -export const tunnel_is_pending_reconnect_output: JsonSchema = { +export const tunnel_is_pending_reconnect: JsonSchema = { "type": "boolean" }; /** * The schema of `tunnel_messages` in responses. */ -export const tunnel_messages_output: JsonSchema = { +export const tunnel_messages: JsonSchema = { "items": { "properties": { "code": { @@ -9683,7 +9683,7 @@ export const tunnel_messages_output: JsonSchema = { /** * The schema of `tunnel_messages-2` in responses. */ -export const tunnel_messages_2_output: JsonSchema = { +export const tunnel_messages$$2: JsonSchema = { "items": { "properties": { "code": { @@ -9716,21 +9716,21 @@ export const tunnel_messages_2_output: JsonSchema = { /** * The schema of `tunnel_metadata` in responses. */ -export const tunnel_metadata_output: JsonSchema = { +export const tunnel_metadata: JsonSchema = { "type": "object" }; /** * The schema of `tunnel_remote_config` in responses. */ -export const tunnel_remote_config_output: JsonSchema = { +export const tunnel_remote_config: JsonSchema = { "type": "boolean" }; /** * The schema of `tunnel_result_info` in responses. */ -export const tunnel_result_info_output: JsonSchema = { +export const tunnel_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -9751,7 +9751,7 @@ export const tunnel_result_info_output: JsonSchema = { /** * The schema of `tunnel_run_at` in responses. */ -export const tunnel_run_at_output: JsonSchema = { +export const tunnel_run_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -9759,7 +9759,7 @@ export const tunnel_run_at_output: JsonSchema = { /** * The schema of `tunnel_schemas-connection` in responses. */ -export const tunnel_schemas_connection_output: JsonSchema = { +export const tunnel_schemas$$connection: JsonSchema = { "properties": { "client_id": { "$ref": "#/$defs/tunnel_client_id" @@ -9793,7 +9793,7 @@ export const tunnel_schemas_connection_output: JsonSchema = { /** * The schema of `tunnel_status` in responses. */ -export const tunnel_status_output: JsonSchema = { +export const tunnel_status: JsonSchema = { "enum": [ "inactive", "degraded", @@ -9806,7 +9806,7 @@ export const tunnel_status_output: JsonSchema = { /** * The schema of `tunnel_tunnel_id` in responses. */ -export const tunnel_tunnel_id_output: JsonSchema = { +export const tunnel_tunnel_id: JsonSchema = { "format": "uuid", "type": "string" }; @@ -9814,7 +9814,7 @@ export const tunnel_tunnel_id_output: JsonSchema = { /** * The schema of `tunnel_tunnel_id-2` in responses. */ -export const tunnel_tunnel_id_2_output: JsonSchema = { +export const tunnel_tunnel_id$$2: JsonSchema = { "format": "uuid", "type": "string" }; @@ -9822,14 +9822,14 @@ export const tunnel_tunnel_id_2_output: JsonSchema = { /** * The schema of `tunnel_tunnel_name` in responses. */ -export const tunnel_tunnel_name_output: JsonSchema = { +export const tunnel_tunnel_name: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_tunnel_response_token` in responses. */ -export const tunnel_tunnel_response_token_output: JsonSchema = { +export const tunnel_tunnel_response_token: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" @@ -9848,14 +9848,14 @@ export const tunnel_tunnel_response_token_output: JsonSchema = { /** * The schema of `tunnel_tunnel_token` in responses. */ -export const tunnel_tunnel_token_output: JsonSchema = { +export const tunnel_tunnel_token: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_tunnel_type` in responses. */ -export const tunnel_tunnel_type_output: JsonSchema = { +export const tunnel_tunnel_type: JsonSchema = { "enum": [ "cfd_tunnel", "warp_connector", @@ -9871,14 +9871,14 @@ export const tunnel_tunnel_type_output: JsonSchema = { /** * The schema of `tunnel_version` in responses. */ -export const tunnel_version_output: JsonSchema = { +export const tunnel_version: JsonSchema = { "type": "string" }; /** * The schema of `tunnel_warp_connector_tunnel` in responses. */ -export const tunnel_warp_connector_tunnel_output: JsonSchema = { +export const tunnel_warp_connector_tunnel: JsonSchema = { "properties": { "account_tag": { "$ref": "#/$defs/tunnel_account_id" @@ -9920,7 +9920,7 @@ export const tunnel_warp_connector_tunnel_output: JsonSchema = { /** * The schema of `usage-analytics_api_error` in responses. */ -export const usage_analytics_api_error_output: JsonSchema = { +export const usage$$analytics_api_error: JsonSchema = { "properties": { "code": { "type": "integer" @@ -9939,7 +9939,7 @@ export const usage_analytics_api_error_output: JsonSchema = { /** * The schema of `usage-analytics_api_message` in responses. */ -export const usage_analytics_api_message_output: JsonSchema = { +export const usage$$analytics_api_message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -9958,7 +9958,7 @@ export const usage_analytics_api_message_output: JsonSchema = { /** * The schema of `usage-analytics_error_response` in responses. */ -export const usage_analytics_error_response_output: JsonSchema = { +export const usage$$analytics_error_response: JsonSchema = { "properties": { "errors": { "items": { @@ -9999,7 +9999,7 @@ export const usage_analytics_error_response_output: JsonSchema = { /** * The schema of `usage-analytics_stream_usage_data_point` in responses. */ -export const usage_analytics_stream_usage_data_point_output: JsonSchema = { +export const usage$$analytics_stream_usage_data_point: JsonSchema = { "properties": { "streamMinutesViewed": { "type": "integer" @@ -10014,7 +10014,7 @@ export const usage_analytics_stream_usage_data_point_output: JsonSchema = { /** * The schema of `usage-analytics_stream_usage_response` in responses. */ -export const usage_analytics_stream_usage_response_output: JsonSchema = { +export const usage$$analytics_stream_usage_response: JsonSchema = { "properties": { "errors": { "items": { @@ -10049,7 +10049,7 @@ export const usage_analytics_stream_usage_response_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_api-response-common` in responses. */ -export const waf_product_api_bundle_api_response_common_output: JsonSchema = { +export const waf$$product$$api$$bundle_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/waf-product-api-bundle_messages" @@ -10092,7 +10092,7 @@ export const waf_product_api_bundle_api_response_common_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_api-response-single` in responses. */ -export const waf_product_api_bundle_api_response_single_output: JsonSchema = { +export const waf$$product$$api$$bundle_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waf-product-api-bundle_api-response-common" @@ -10121,14 +10121,14 @@ export const waf_product_api_bundle_api_response_single_output: JsonSchema = { /** * The schema of `waf-product-api-bundle_identifier` in responses. */ -export const waf_product_api_bundle_identifier_output: JsonSchema = { +export const waf$$product$$api$$bundle_identifier: JsonSchema = { "type": "string" }; /** * The schema of `waf-product-api-bundle_messages` in responses. */ -export const waf_product_api_bundle_messages_output: JsonSchema = { +export const waf$$product$$api$$bundle_messages: JsonSchema = { "items": { "properties": { "code": { @@ -10150,7 +10150,7 @@ export const waf_product_api_bundle_messages_output: JsonSchema = { /** * The schema of `workers_api-response-collection` in responses. */ -export const workers_api_response_collection_output: JsonSchema = { +export const workers_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" @@ -10186,7 +10186,7 @@ export const workers_api_response_collection_output: JsonSchema = { /** * The schema of `workers_api-response-common` in responses. */ -export const workers_api_response_common_output: JsonSchema = { +export const workers_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/workers_messages" @@ -10212,7 +10212,7 @@ export const workers_api_response_common_output: JsonSchema = { /** * The schema of `workers_api-response-common-failure` in responses. */ -export const workers_api_response_common_failure_output: JsonSchema = { +export const workers_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/workers_messages" @@ -10242,7 +10242,7 @@ export const workers_api_response_common_failure_output: JsonSchema = { /** * The schema of `workers_api-response-null-result` in responses. */ -export const workers_api_response_null_result_output: JsonSchema = { +export const workers_api$$response$$null$$result: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" @@ -10261,7 +10261,7 @@ export const workers_api_response_null_result_output: JsonSchema = { /** * The schema of `workers_binding_item` in responses. */ -export const workers_binding_item_output: JsonSchema = { +export const workers_binding_item: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/workers_binding_kind_ai" @@ -10383,7 +10383,7 @@ export const workers_binding_item_output: JsonSchema = { /** * The schema of `workers_binding_kind_ai` in responses. */ -export const workers_binding_kind_ai_output: JsonSchema = { +export const workers_binding_kind_ai: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10405,7 +10405,7 @@ export const workers_binding_kind_ai_output: JsonSchema = { /** * The schema of `workers_binding_kind_ai_search` in responses. */ -export const workers_binding_kind_ai_search_output: JsonSchema = { +export const workers_binding_kind_ai_search: JsonSchema = { "properties": { "instance_name": { "type": "string" @@ -10434,7 +10434,7 @@ export const workers_binding_kind_ai_search_output: JsonSchema = { /** * The schema of `workers_binding_kind_ai_search_namespace` in responses. */ -export const workers_binding_kind_ai_search_namespace_output: JsonSchema = { +export const workers_binding_kind_ai_search_namespace: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10460,7 +10460,7 @@ export const workers_binding_kind_ai_search_namespace_output: JsonSchema = { /** * The schema of `workers_binding_kind_analytics_engine` in responses. */ -export const workers_binding_kind_analytics_engine_output: JsonSchema = { +export const workers_binding_kind_analytics_engine: JsonSchema = { "properties": { "dataset": { "type": "string" @@ -10486,7 +10486,7 @@ export const workers_binding_kind_analytics_engine_output: JsonSchema = { /** * The schema of `workers_binding_kind_artifacts` in responses. */ -export const workers_binding_kind_artifacts_output: JsonSchema = { +export const workers_binding_kind_artifacts: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10512,7 +10512,7 @@ export const workers_binding_kind_artifacts_output: JsonSchema = { /** * The schema of `workers_binding_kind_assets` in responses. */ -export const workers_binding_kind_assets_output: JsonSchema = { +export const workers_binding_kind_assets: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10534,7 +10534,7 @@ export const workers_binding_kind_assets_output: JsonSchema = { /** * The schema of `workers_binding_kind_browser` in responses. */ -export const workers_binding_kind_browser_output: JsonSchema = { +export const workers_binding_kind_browser: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10556,7 +10556,7 @@ export const workers_binding_kind_browser_output: JsonSchema = { /** * The schema of `workers_binding_kind_d1` in responses. */ -export const workers_binding_kind_d1_output: JsonSchema = { +export const workers_binding_kind_d1: JsonSchema = { "properties": { "database_id": { "type": "string" @@ -10585,7 +10585,7 @@ export const workers_binding_kind_d1_output: JsonSchema = { /** * The schema of `workers_binding_kind_data_blob` in responses. */ -export const workers_binding_kind_data_blob_output: JsonSchema = { +export const workers_binding_kind_data_blob: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10611,7 +10611,7 @@ export const workers_binding_kind_data_blob_output: JsonSchema = { /** * The schema of `workers_binding_kind_dispatch_namespace` in responses. */ -export const workers_binding_kind_dispatch_namespace_output: JsonSchema = { +export const workers_binding_kind_dispatch_namespace: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10670,7 +10670,7 @@ export const workers_binding_kind_dispatch_namespace_output: JsonSchema = { /** * The schema of `workers_binding_kind_durable_object_namespace` in responses. */ -export const workers_binding_kind_durable_object_namespace_output: JsonSchema = { +export const workers_binding_kind_durable_object_namespace: JsonSchema = { "properties": { "class_name": { "type": "string" @@ -10714,7 +10714,7 @@ export const workers_binding_kind_durable_object_namespace_output: JsonSchema = /** * The schema of `workers_binding_kind_flagship` in responses. */ -export const workers_binding_kind_flagship_output: JsonSchema = { +export const workers_binding_kind_flagship: JsonSchema = { "properties": { "app_id": { "type": "string" @@ -10740,7 +10740,7 @@ export const workers_binding_kind_flagship_output: JsonSchema = { /** * The schema of `workers_binding_kind_hyperdrive` in responses. */ -export const workers_binding_kind_hyperdrive_output: JsonSchema = { +export const workers_binding_kind_hyperdrive: JsonSchema = { "properties": { "id": { "type": "string" @@ -10766,7 +10766,7 @@ export const workers_binding_kind_hyperdrive_output: JsonSchema = { /** * The schema of `workers_binding_kind_images` in responses. */ -export const workers_binding_kind_images_output: JsonSchema = { +export const workers_binding_kind_images: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10788,7 +10788,7 @@ export const workers_binding_kind_images_output: JsonSchema = { /** * The schema of `workers_binding_kind_inherit` in responses. */ -export const workers_binding_kind_inherit_output: JsonSchema = { +export const workers_binding_kind_inherit: JsonSchema = { "properties": { "name": { "type": "string" @@ -10816,7 +10816,7 @@ export const workers_binding_kind_inherit_output: JsonSchema = { /** * The schema of `workers_binding_kind_json` in responses. */ -export const workers_binding_kind_json_output: JsonSchema = { +export const workers_binding_kind_json: JsonSchema = { "properties": { "json": { "type": "object" @@ -10842,7 +10842,7 @@ export const workers_binding_kind_json_output: JsonSchema = { /** * The schema of `workers_binding_kind_k2` in responses. */ -export const workers_binding_kind_k2_output: JsonSchema = { +export const workers_binding_kind_k2: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10868,7 +10868,7 @@ export const workers_binding_kind_k2_output: JsonSchema = { /** * The schema of `workers_binding_kind_kv_namespace` in responses. */ -export const workers_binding_kind_kv_namespace_output: JsonSchema = { +export const workers_binding_kind_kv_namespace: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10894,7 +10894,7 @@ export const workers_binding_kind_kv_namespace_output: JsonSchema = { /** * The schema of `workers_binding_kind_media` in responses. */ -export const workers_binding_kind_media_output: JsonSchema = { +export const workers_binding_kind_media: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10916,7 +10916,7 @@ export const workers_binding_kind_media_output: JsonSchema = { /** * The schema of `workers_binding_kind_messaging` in responses. */ -export const workers_binding_kind_messaging_output: JsonSchema = { +export const workers_binding_kind_messaging: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10942,7 +10942,7 @@ export const workers_binding_kind_messaging_output: JsonSchema = { /** * The schema of `workers_binding_kind_mtls_certificate` in responses. */ -export const workers_binding_kind_mtls_certificate_output: JsonSchema = { +export const workers_binding_kind_mtls_certificate: JsonSchema = { "properties": { "certificate_id": { "type": "string" @@ -10968,7 +10968,7 @@ export const workers_binding_kind_mtls_certificate_output: JsonSchema = { /** * The schema of `workers_binding_kind_pipelines` in responses. */ -export const workers_binding_kind_pipelines_output: JsonSchema = { +export const workers_binding_kind_pipelines: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -10994,7 +10994,7 @@ export const workers_binding_kind_pipelines_output: JsonSchema = { /** * The schema of `workers_binding_kind_plain_text` in responses. */ -export const workers_binding_kind_plain_text_output: JsonSchema = { +export const workers_binding_kind_plain_text: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -11020,7 +11020,7 @@ export const workers_binding_kind_plain_text_output: JsonSchema = { /** * The schema of `workers_binding_kind_queue` in responses. */ -export const workers_binding_kind_queue_output: JsonSchema = { +export const workers_binding_kind_queue: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -11046,7 +11046,7 @@ export const workers_binding_kind_queue_output: JsonSchema = { /** * The schema of `workers_binding_kind_r2_bucket` in responses. */ -export const workers_binding_kind_r2_bucket_output: JsonSchema = { +export const workers_binding_kind_r2_bucket: JsonSchema = { "properties": { "bucket_name": { "type": "string" @@ -11081,7 +11081,7 @@ export const workers_binding_kind_r2_bucket_output: JsonSchema = { /** * The schema of `workers_binding_kind_ratelimit` in responses. */ -export const workers_binding_kind_ratelimit_output: JsonSchema = { +export const workers_binding_kind_ratelimit: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -11126,7 +11126,7 @@ export const workers_binding_kind_ratelimit_output: JsonSchema = { /** * The schema of `workers_binding_kind_secret_key` in responses. */ -export const workers_binding_kind_secret_key_output: JsonSchema = { +export const workers_binding_kind_secret_key: JsonSchema = { "properties": { "algorithm": { "type": "object" @@ -11185,7 +11185,7 @@ export const workers_binding_kind_secret_key_output: JsonSchema = { /** * The schema of `workers_binding_kind_secret_text` in responses. */ -export const workers_binding_kind_secret_text_output: JsonSchema = { +export const workers_binding_kind_secret_text: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -11211,7 +11211,7 @@ export const workers_binding_kind_secret_text_output: JsonSchema = { /** * The schema of `workers_binding_kind_secrets_store_secret` in responses. */ -export const workers_binding_kind_secrets_store_secret_output: JsonSchema = { +export const workers_binding_kind_secrets_store_secret: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -11241,7 +11241,7 @@ export const workers_binding_kind_secrets_store_secret_output: JsonSchema = { /** * The schema of `workers_binding_kind_send_email` in responses. */ -export const workers_binding_kind_send_email_output: JsonSchema = { +export const workers_binding_kind_send_email: JsonSchema = { "properties": { "allowed_destination_addresses": { "items": { @@ -11278,7 +11278,7 @@ export const workers_binding_kind_send_email_output: JsonSchema = { /** * The schema of `workers_binding_kind_service` in responses. */ -export const workers_binding_kind_service_output: JsonSchema = { +export const workers_binding_kind_service: JsonSchema = { "properties": { "entrypoint": { "type": "string" @@ -11310,7 +11310,7 @@ export const workers_binding_kind_service_output: JsonSchema = { /** * The schema of `workers_binding_kind_text_blob` in responses. */ -export const workers_binding_kind_text_blob_output: JsonSchema = { +export const workers_binding_kind_text_blob: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -11336,7 +11336,7 @@ export const workers_binding_kind_text_blob_output: JsonSchema = { /** * The schema of `workers_binding_kind_vectorize` in responses. */ -export const workers_binding_kind_vectorize_output: JsonSchema = { +export const workers_binding_kind_vectorize: JsonSchema = { "properties": { "index_name": { "type": "string" @@ -11362,7 +11362,7 @@ export const workers_binding_kind_vectorize_output: JsonSchema = { /** * The schema of `workers_binding_kind_version_metadata` in responses. */ -export const workers_binding_kind_version_metadata_output: JsonSchema = { +export const workers_binding_kind_version_metadata: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -11384,7 +11384,7 @@ export const workers_binding_kind_version_metadata_output: JsonSchema = { /** * The schema of `workers_binding_kind_vpc_network` in responses. */ -export const workers_binding_kind_vpc_network_output: JsonSchema = { +export const workers_binding_kind_vpc_network: JsonSchema = { "properties": { "identity": { "enum": [ @@ -11418,7 +11418,7 @@ export const workers_binding_kind_vpc_network_output: JsonSchema = { /** * The schema of `workers_binding_kind_vpc_service` in responses. */ -export const workers_binding_kind_vpc_service_output: JsonSchema = { +export const workers_binding_kind_vpc_service: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -11444,7 +11444,7 @@ export const workers_binding_kind_vpc_service_output: JsonSchema = { /** * The schema of `workers_binding_kind_wasm_module` in responses. */ -export const workers_binding_kind_wasm_module_output: JsonSchema = { +export const workers_binding_kind_wasm_module: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/workers_binding_name" @@ -11470,7 +11470,7 @@ export const workers_binding_kind_wasm_module_output: JsonSchema = { /** * The schema of `workers_binding_kind_workflow` in responses. */ -export const workers_binding_kind_workflow_output: JsonSchema = { +export const workers_binding_kind_workflow: JsonSchema = { "properties": { "class_name": { "type": "string" @@ -11502,14 +11502,14 @@ export const workers_binding_kind_workflow_output: JsonSchema = { /** * The schema of `workers_binding_name` in responses. */ -export const workers_binding_name_output: JsonSchema = { +export const workers_binding_name: JsonSchema = { "type": "string" }; /** * The schema of `workers_bindings` in responses. */ -export const workers_bindings_output: JsonSchema = { +export const workers_bindings: JsonSchema = { "items": { "$ref": "#/$defs/workers_binding_item" }, @@ -11519,7 +11519,7 @@ export const workers_bindings_output: JsonSchema = { /** * The schema of `workers_cache_options` in responses. */ -export const workers_cache_options_output: JsonSchema = { +export const workers_cache_options: JsonSchema = { "properties": { "cross_version_cache": { "type": "boolean" @@ -11537,7 +11537,7 @@ export const workers_cache_options_output: JsonSchema = { /** * The schema of `workers_code_update_strategy` in responses. */ -export const workers_code_update_strategy_output: JsonSchema = { +export const workers_code_update_strategy: JsonSchema = { "oneOf": [ { "properties": { @@ -11583,21 +11583,21 @@ export const workers_code_update_strategy_output: JsonSchema = { /** * The schema of `workers_compatibility_date` in responses. */ -export const workers_compatibility_date_output: JsonSchema = { +export const workers_compatibility_date: JsonSchema = { "type": "string" }; /** * The schema of `workers_compatibility_flag` in responses. */ -export const workers_compatibility_flag_output: JsonSchema = { +export const workers_compatibility_flag: JsonSchema = { "type": "string" }; /** * The schema of `workers_compatibility_flags` in responses. */ -export const workers_compatibility_flags_output: JsonSchema = { +export const workers_compatibility_flags: JsonSchema = { "items": { "$ref": "#/$defs/workers_compatibility_flag" }, @@ -11607,7 +11607,7 @@ export const workers_compatibility_flags_output: JsonSchema = { /** * The schema of `workers_create-assets-upload-session-response` in responses. */ -export const workers_create_assets_upload_session_response_output: JsonSchema = { +export const workers_create$$assets$$upload$$session$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" @@ -11640,7 +11640,7 @@ export const workers_create_assets_upload_session_response_output: JsonSchema = /** * The schema of `workers_created_on` in responses. */ -export const workers_created_on_output: JsonSchema = { +export const workers_created_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -11648,7 +11648,7 @@ export const workers_created_on_output: JsonSchema = { /** * The schema of `workers_durable_object_deleted_export` in responses. */ -export const workers_durable_object_deleted_export_output: JsonSchema = { +export const workers_durable_object_deleted_export: JsonSchema = { "properties": { "state": { "enum": [ @@ -11674,7 +11674,7 @@ export const workers_durable_object_deleted_export_output: JsonSchema = { * The schema of `workers_durable_object_expecting_transfer_export` in * responses. */ -export const workers_durable_object_expecting_transfer_export_output: JsonSchema = { +export const workers_durable_object_expecting_transfer_export: JsonSchema = { "properties": { "container": { "type": "string" @@ -11710,7 +11710,7 @@ export const workers_durable_object_expecting_transfer_export_output: JsonSchema /** * The schema of `workers_durable_object_export` in responses. */ -export const workers_durable_object_export_output: JsonSchema = { +export const workers_durable_object_export: JsonSchema = { "properties": { "container": { "type": "string" @@ -11741,7 +11741,7 @@ export const workers_durable_object_export_output: JsonSchema = { /** * The schema of `workers_durable_object_export_variants` in responses. */ -export const workers_durable_object_export_variants_output: JsonSchema = { +export const workers_durable_object_export_variants: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/workers_durable_object_export" @@ -11764,7 +11764,7 @@ export const workers_durable_object_export_variants_output: JsonSchema = { /** * The schema of `workers_durable_object_renamed_export` in responses. */ -export const workers_durable_object_renamed_export_output: JsonSchema = { +export const workers_durable_object_renamed_export: JsonSchema = { "properties": { "renamed_to": { "type": "string" @@ -11793,7 +11793,7 @@ export const workers_durable_object_renamed_export_output: JsonSchema = { /** * The schema of `workers_durable_object_transferred_export` in responses. */ -export const workers_durable_object_transferred_export_output: JsonSchema = { +export const workers_durable_object_transferred_export: JsonSchema = { "properties": { "state": { "enum": [ @@ -11822,7 +11822,7 @@ export const workers_durable_object_transferred_export_output: JsonSchema = { /** * The schema of `workers_entrypoint_cache_options` in responses. */ -export const workers_entrypoint_cache_options_output: JsonSchema = { +export const workers_entrypoint_cache_options: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -11837,14 +11837,14 @@ export const workers_entrypoint_cache_options_output: JsonSchema = { /** * The schema of `workers_etag` in responses. */ -export const workers_etag_output: JsonSchema = { +export const workers_etag: JsonSchema = { "type": "string" }; /** * The schema of `workers_export_config` in responses. */ -export const workers_export_config_output: JsonSchema = { +export const workers_export_config: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/workers_worker_export" @@ -11858,7 +11858,7 @@ export const workers_export_config_output: JsonSchema = { /** * The schema of `workers_export_storage` in responses. */ -export const workers_export_storage_output: JsonSchema = { +export const workers_export_storage: JsonSchema = { "enum": [ "sqlite", "legacy-kv" @@ -11869,7 +11869,7 @@ export const workers_export_storage_output: JsonSchema = { /** * The schema of `workers_exports_config_map` in responses. */ -export const workers_exports_config_map_output: JsonSchema = { +export const workers_exports_config_map: JsonSchema = { "additionalProperties": { "$ref": "#/$defs/workers_export_config" }, @@ -11879,7 +11879,7 @@ export const workers_exports_config_map_output: JsonSchema = { /** * The schema of `workers_exports_reconciliation_error` in responses. */ -export const workers_exports_reconciliation_error_output: JsonSchema = { +export const workers_exports_reconciliation_error: JsonSchema = { "properties": { "class": { "type": "string" @@ -11915,7 +11915,7 @@ export const workers_exports_reconciliation_error_output: JsonSchema = { /** * The schema of `workers_exports_reconciliation_error_response` in responses. */ -export const workers_exports_reconciliation_error_response_output: JsonSchema = { +export const workers_exports_reconciliation_error_response: JsonSchema = { "properties": { "errors": { "items": { @@ -11978,7 +11978,7 @@ export const workers_exports_reconciliation_error_response_output: JsonSchema = /** * The schema of `workers_exports_reconciliation_info` in responses. */ -export const workers_exports_reconciliation_info_output: JsonSchema = { +export const workers_exports_reconciliation_info: JsonSchema = { "properties": { "class": { "type": "string" @@ -12011,7 +12011,7 @@ export const workers_exports_reconciliation_info_output: JsonSchema = { /** * The schema of `workers_exports_reconciliation_rename` in responses. */ -export const workers_exports_reconciliation_rename_output: JsonSchema = { +export const workers_exports_reconciliation_rename: JsonSchema = { "properties": { "from": { "type": "string" @@ -12030,7 +12030,7 @@ export const workers_exports_reconciliation_rename_output: JsonSchema = { /** * The schema of `workers_exports_reconciliation_result` in responses. */ -export const workers_exports_reconciliation_result_output: JsonSchema = { +export const workers_exports_reconciliation_result: JsonSchema = { "properties": { "created": { "items": { @@ -12104,7 +12104,7 @@ export const workers_exports_reconciliation_result_output: JsonSchema = { /** * The schema of `workers_exports_reconciliation_scenario` in responses. */ -export const workers_exports_reconciliation_scenario_output: JsonSchema = { +export const workers_exports_reconciliation_scenario: JsonSchema = { "enum": [ "code_class_not_in_exports", "provisioned_class_missing_from_config", @@ -12146,7 +12146,7 @@ export const workers_exports_reconciliation_scenario_output: JsonSchema = { /** * The schema of `workers_exports_reconciliation_transfer` in responses. */ -export const workers_exports_reconciliation_transfer_output: JsonSchema = { +export const workers_exports_reconciliation_transfer: JsonSchema = { "properties": { "class": { "type": "string" @@ -12172,7 +12172,7 @@ export const workers_exports_reconciliation_transfer_output: JsonSchema = { /** * The schema of `workers_exports_reconciliation_transfer_pending` in responses. */ -export const workers_exports_reconciliation_transfer_pending_output: JsonSchema = { +export const workers_exports_reconciliation_transfer_pending: JsonSchema = { "properties": { "class": { "type": "string" @@ -12191,7 +12191,7 @@ export const workers_exports_reconciliation_transfer_pending_output: JsonSchema /** * The schema of `workers_exports_reconciliation_warning` in responses. */ -export const workers_exports_reconciliation_warning_output: JsonSchema = { +export const workers_exports_reconciliation_warning: JsonSchema = { "properties": { "class": { "type": "string" @@ -12218,28 +12218,28 @@ export const workers_exports_reconciliation_warning_output: JsonSchema = { /** * The schema of `workers_has_assets` in responses. */ -export const workers_has_assets_output: JsonSchema = { +export const workers_has_assets: JsonSchema = { "type": "boolean" }; /** * The schema of `workers_has_modules` in responses. */ -export const workers_has_modules_output: JsonSchema = { +export const workers_has_modules: JsonSchema = { "type": "boolean" }; /** * The schema of `workers_identifier` in responses. */ -export const workers_identifier_output: JsonSchema = { +export const workers_identifier: JsonSchema = { "type": "string" }; /** * The schema of `workers_limits` in responses. */ -export const workers_limits_output: JsonSchema = { +export const workers_limits: JsonSchema = { "properties": { "cpu_ms": { "type": "integer" @@ -12254,14 +12254,14 @@ export const workers_limits_output: JsonSchema = { /** * The schema of `workers_logpush` in responses. */ -export const workers_logpush_output: JsonSchema = { +export const workers_logpush: JsonSchema = { "type": "boolean" }; /** * The schema of `workers_messages` in responses. */ -export const workers_messages_output: JsonSchema = { +export const workers_messages: JsonSchema = { "items": { "properties": { "code": { @@ -12294,7 +12294,7 @@ export const workers_messages_output: JsonSchema = { /** * The schema of `workers_migration_step` in responses. */ -export const workers_migration_step_output: JsonSchema = { +export const workers_migration_step: JsonSchema = { "properties": { "deleted_classes": { "items": { @@ -12352,7 +12352,7 @@ export const workers_migration_step_output: JsonSchema = { /** * The schema of `workers_migration_tag_conditions` in responses. */ -export const workers_migration_tag_conditions_output: JsonSchema = { +export const workers_migration_tag_conditions: JsonSchema = { "properties": { "new_tag": { "type": "string" @@ -12367,7 +12367,7 @@ export const workers_migration_tag_conditions_output: JsonSchema = { /** * The schema of `workers_modified_on` in responses. */ -export const workers_modified_on_output: JsonSchema = { +export const workers_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -12375,7 +12375,7 @@ export const workers_modified_on_output: JsonSchema = { /** * The schema of `workers_multiple_step_migrations` in responses. */ -export const workers_multiple_step_migrations_output: JsonSchema = { +export const workers_multiple_step_migrations: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_migration_tag_conditions" @@ -12397,14 +12397,14 @@ export const workers_multiple_step_migrations_output: JsonSchema = { /** * The schema of `workers_namespace_identifier` in responses. */ -export const workers_namespace_identifier_output: JsonSchema = { +export const workers_namespace_identifier: JsonSchema = { "type": "string" }; /** * The schema of `workers_observability-2` in responses. */ -export const workers_observability_2_output: JsonSchema = { +export const workers_observability$$2: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -12536,7 +12536,7 @@ export const workers_observability_2_output: JsonSchema = { /** * The schema of `workers_placement_info` in responses. */ -export const workers_placement_info_output: JsonSchema = { +export const workers_placement_info: JsonSchema = { "allOf": [ { "oneOf": [ @@ -12684,7 +12684,7 @@ export const workers_placement_info_output: JsonSchema = { /** * The schema of `workers_placement_info_no_status` in responses. */ -export const workers_placement_info_no_status_output: JsonSchema = { +export const workers_placement_info_no_status: JsonSchema = { "oneOf": [ { "properties": { @@ -12816,7 +12816,7 @@ export const workers_placement_info_no_status_output: JsonSchema = { /** * The schema of `workers_placement_mode` in responses. */ -export const workers_placement_mode_output: JsonSchema = { +export const workers_placement_mode: JsonSchema = { "enum": [ "smart", "targeted" @@ -12827,7 +12827,7 @@ export const workers_placement_mode_output: JsonSchema = { /** * The schema of `workers_placement_status` in responses. */ -export const workers_placement_status_output: JsonSchema = { +export const workers_placement_status: JsonSchema = { "enum": [ "SUCCESS", "UNSUPPORTED_APPLICATION", @@ -12839,7 +12839,7 @@ export const workers_placement_status_output: JsonSchema = { /** * The schema of `workers_placement_target` in responses. */ -export const workers_placement_target_output: JsonSchema = { +export const workers_placement_target: JsonSchema = { "oneOf": [ { "properties": { @@ -12880,7 +12880,7 @@ export const workers_placement_target_output: JsonSchema = { /** * The schema of `workers_script-response` in responses. */ -export const workers_script_response_output: JsonSchema = { +export const workers_script$$response: JsonSchema = { "properties": { "cache_options": { "$ref": "#/$defs/workers_cache_options" @@ -12989,14 +12989,14 @@ export const workers_script_response_output: JsonSchema = { /** * The schema of `workers_script_name` in responses. */ -export const workers_script_name_output: JsonSchema = { +export const workers_script_name: JsonSchema = { "type": "string" }; /** * The schema of `workers_secret` in responses. */ -export const workers_secret_output: JsonSchema = { +export const workers_secret: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/workers_binding_kind_secret_text" @@ -13010,7 +13010,7 @@ export const workers_secret_output: JsonSchema = { /** * The schema of `workers_secret-patch-response` in responses. */ -export const workers_secret_patch_response_output: JsonSchema = { +export const workers_secret$$patch$$response: JsonSchema = { "additionalProperties": { "$ref": "#/$defs/workers_secret" }, @@ -13020,7 +13020,7 @@ export const workers_secret_patch_response_output: JsonSchema = { /** * The schema of `workers_single_step_migrations` in responses. */ -export const workers_single_step_migrations_output: JsonSchema = { +export const workers_single_step_migrations: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_migration_tag_conditions" @@ -13034,14 +13034,14 @@ export const workers_single_step_migrations_output: JsonSchema = { /** * The schema of `workers_tag` in responses. */ -export const workers_tag_output: JsonSchema = { +export const workers_tag: JsonSchema = { "type": "string" }; /** * The schema of `workers_tags` in responses. */ -export const workers_tags_output: JsonSchema = { +export const workers_tags: JsonSchema = { "oneOf": [ { "items": { @@ -13059,7 +13059,7 @@ export const workers_tags_output: JsonSchema = { /** * The schema of `workers_tail_consumers` in responses. */ -export const workers_tail_consumers_output: JsonSchema = { +export const workers_tail_consumers: JsonSchema = { "oneOf": [ { "items": { @@ -13076,7 +13076,7 @@ export const workers_tail_consumers_output: JsonSchema = { /** * The schema of `workers_tail_consumers_script` in responses. */ -export const workers_tail_consumers_script_output: JsonSchema = { +export const workers_tail_consumers_script: JsonSchema = { "properties": { "environment": { "type": "string" @@ -13097,7 +13097,7 @@ export const workers_tail_consumers_script_output: JsonSchema = { /** * The schema of `workers_usage_model` in responses. */ -export const workers_usage_model_output: JsonSchema = { +export const workers_usage_model: JsonSchema = { "enum": [ "standard", "bundled", @@ -13109,7 +13109,7 @@ export const workers_usage_model_output: JsonSchema = { /** * The schema of `workers_worker_export` in responses. */ -export const workers_worker_export_output: JsonSchema = { +export const workers_worker_export: JsonSchema = { "properties": { "cache": { "$ref": "#/$defs/workers_entrypoint_cache_options" @@ -13136,7 +13136,7 @@ export const workers_worker_export_output: JsonSchema = { /** * The schema of `zones_api-response-common-failure-2` in responses. */ -export const zones_api_response_common_failure_2_output: JsonSchema = { +export const zones_api$$response$$common$$failure$$2: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zones_messages-2" @@ -13166,14 +13166,14 @@ export const zones_api_response_common_failure_2_output: JsonSchema = { /** * The schema of `zones_identifier-2` in responses. */ -export const zones_identifier_2_output: JsonSchema = { +export const zones_identifier$$2: JsonSchema = { "type": "string" }; /** * The schema of `zones_messages-2` in responses. */ -export const zones_messages_2_output: JsonSchema = { +export const zones_messages$$2: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/pageRules/outputs.ts b/src/generated/forge-mcp/pageRules/outputs.ts index 30f721288..e6104f5db 100644 --- a/src/generated/forge-mcp/pageRules/outputs.ts +++ b/src/generated/forge-mcp/pageRules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `zones_actions` in responses. */ -export const zones_actions_output: JsonSchema = { +export const zones_actions: JsonSchema = { "items": { "oneOf": [ { @@ -119,7 +119,7 @@ export const zones_actions_output: JsonSchema = { /** * The schema of `zones_always_use_https` in responses. */ -export const zones_always_use_https_output: JsonSchema = { +export const zones_always_use_https: JsonSchema = { "properties": { "id": { "enum": [ @@ -134,7 +134,7 @@ export const zones_always_use_https_output: JsonSchema = { /** * The schema of `zones_api-response-common-2` in responses. */ -export const zones_api_response_common_2_output: JsonSchema = { +export const zones_api$$response$$common$$2: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zones_messages-2" @@ -160,7 +160,7 @@ export const zones_api_response_common_2_output: JsonSchema = { /** * The schema of `zones_api-response-single` in responses. */ -export const zones_api_response_single_output: JsonSchema = { +export const zones_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zones_messages-2" @@ -186,7 +186,7 @@ export const zones_api_response_single_output: JsonSchema = { /** * The schema of `zones_api-response-single-id-2` in responses. */ -export const zones_api_response_single_id_2_output: JsonSchema = { +export const zones_api$$response$$single$$id$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_api-response-common-2" @@ -220,7 +220,7 @@ export const zones_api_response_single_id_2_output: JsonSchema = { /** * The schema of `zones_automatic_https_rewrites` in responses. */ -export const zones_automatic_https_rewrites_output: JsonSchema = { +export const zones_automatic_https_rewrites: JsonSchema = { "properties": { "id": { "enum": [ @@ -242,7 +242,7 @@ export const zones_automatic_https_rewrites_output: JsonSchema = { /** * The schema of `zones_browser_cache_ttl` in responses. */ -export const zones_browser_cache_ttl_output: JsonSchema = { +export const zones_browser_cache_ttl: JsonSchema = { "properties": { "id": { "enum": [ @@ -260,7 +260,7 @@ export const zones_browser_cache_ttl_output: JsonSchema = { /** * The schema of `zones_browser_check` in responses. */ -export const zones_browser_check_output: JsonSchema = { +export const zones_browser_check: JsonSchema = { "properties": { "id": { "enum": [ @@ -282,7 +282,7 @@ export const zones_browser_check_output: JsonSchema = { /** * The schema of `zones_bypass_cache_on_cookie` in responses. */ -export const zones_bypass_cache_on_cookie_output: JsonSchema = { +export const zones_bypass_cache_on_cookie: JsonSchema = { "properties": { "id": { "enum": [ @@ -300,7 +300,7 @@ export const zones_bypass_cache_on_cookie_output: JsonSchema = { /** * The schema of `zones_cache_by_device_type` in responses. */ -export const zones_cache_by_device_type_output: JsonSchema = { +export const zones_cache_by_device_type: JsonSchema = { "properties": { "id": { "enum": [ @@ -322,7 +322,7 @@ export const zones_cache_by_device_type_output: JsonSchema = { /** * The schema of `zones_cache_deception_armor` in responses. */ -export const zones_cache_deception_armor_output: JsonSchema = { +export const zones_cache_deception_armor: JsonSchema = { "properties": { "id": { "enum": [ @@ -344,7 +344,7 @@ export const zones_cache_deception_armor_output: JsonSchema = { /** * The schema of `zones_cache_key_fields` in responses. */ -export const zones_cache_key_fields_output: JsonSchema = { +export const zones_cache_key_fields: JsonSchema = { "properties": { "id": { "enum": [ @@ -477,7 +477,7 @@ export const zones_cache_key_fields_output: JsonSchema = { /** * The schema of `zones_cache_level` in responses. */ -export const zones_cache_level_output: JsonSchema = { +export const zones_cache_level: JsonSchema = { "properties": { "id": { "enum": [ @@ -502,7 +502,7 @@ export const zones_cache_level_output: JsonSchema = { /** * The schema of `zones_cache_on_cookie` in responses. */ -export const zones_cache_on_cookie_output: JsonSchema = { +export const zones_cache_on_cookie: JsonSchema = { "properties": { "id": { "enum": [ @@ -520,7 +520,7 @@ export const zones_cache_on_cookie_output: JsonSchema = { /** * The schema of `zones_cache_ttl_by_status` in responses. */ -export const zones_cache_ttl_by_status_output: JsonSchema = { +export const zones_cache_ttl_by_status: JsonSchema = { "properties": { "id": { "enum": [ @@ -552,7 +552,7 @@ export const zones_cache_ttl_by_status_output: JsonSchema = { /** * The schema of `zones_created_on` in responses. */ -export const zones_created_on_output: JsonSchema = { +export const zones_created_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -560,7 +560,7 @@ export const zones_created_on_output: JsonSchema = { /** * The schema of `zones_disable_apps` in responses. */ -export const zones_disable_apps_output: JsonSchema = { +export const zones_disable_apps: JsonSchema = { "properties": { "id": { "enum": [ @@ -575,7 +575,7 @@ export const zones_disable_apps_output: JsonSchema = { /** * The schema of `zones_disable_performance` in responses. */ -export const zones_disable_performance_output: JsonSchema = { +export const zones_disable_performance: JsonSchema = { "properties": { "id": { "enum": [ @@ -590,7 +590,7 @@ export const zones_disable_performance_output: JsonSchema = { /** * The schema of `zones_disable_security` in responses. */ -export const zones_disable_security_output: JsonSchema = { +export const zones_disable_security: JsonSchema = { "properties": { "id": { "enum": [ @@ -605,7 +605,7 @@ export const zones_disable_security_output: JsonSchema = { /** * The schema of `zones_disable_zaraz` in responses. */ -export const zones_disable_zaraz_output: JsonSchema = { +export const zones_disable_zaraz: JsonSchema = { "properties": { "id": { "enum": [ @@ -620,7 +620,7 @@ export const zones_disable_zaraz_output: JsonSchema = { /** * The schema of `zones_edge_cache_ttl` in responses. */ -export const zones_edge_cache_ttl_output: JsonSchema = { +export const zones_edge_cache_ttl: JsonSchema = { "properties": { "id": { "enum": [ @@ -638,7 +638,7 @@ export const zones_edge_cache_ttl_output: JsonSchema = { /** * The schema of `zones_email_obfuscation` in responses. */ -export const zones_email_obfuscation_output: JsonSchema = { +export const zones_email_obfuscation: JsonSchema = { "properties": { "id": { "enum": [ @@ -660,7 +660,7 @@ export const zones_email_obfuscation_output: JsonSchema = { /** * The schema of `zones_explicit_cache_control` in responses. */ -export const zones_explicit_cache_control_output: JsonSchema = { +export const zones_explicit_cache_control: JsonSchema = { "properties": { "id": { "enum": [ @@ -682,7 +682,7 @@ export const zones_explicit_cache_control_output: JsonSchema = { /** * The schema of `zones_forwarding_url` in responses. */ -export const zones_forwarding_url_output: JsonSchema = { +export const zones_forwarding_url: JsonSchema = { "properties": { "id": { "enum": [ @@ -712,7 +712,7 @@ export const zones_forwarding_url_output: JsonSchema = { /** * The schema of `zones_host_header_override` in responses. */ -export const zones_host_header_override_output: JsonSchema = { +export const zones_host_header_override: JsonSchema = { "properties": { "id": { "enum": [ @@ -730,7 +730,7 @@ export const zones_host_header_override_output: JsonSchema = { /** * The schema of `zones_ip_geolocation` in responses. */ -export const zones_ip_geolocation_output: JsonSchema = { +export const zones_ip_geolocation: JsonSchema = { "properties": { "id": { "enum": [ @@ -752,7 +752,7 @@ export const zones_ip_geolocation_output: JsonSchema = { /** * The schema of `zones_mirage` in responses. */ -export const zones_mirage_output: JsonSchema = { +export const zones_mirage: JsonSchema = { "properties": { "id": { "enum": [ @@ -774,7 +774,7 @@ export const zones_mirage_output: JsonSchema = { /** * The schema of `zones_modified_on` in responses. */ -export const zones_modified_on_output: JsonSchema = { +export const zones_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -782,7 +782,7 @@ export const zones_modified_on_output: JsonSchema = { /** * The schema of `zones_opportunistic_encryption` in responses. */ -export const zones_opportunistic_encryption_output: JsonSchema = { +export const zones_opportunistic_encryption: JsonSchema = { "properties": { "id": { "enum": [ @@ -804,7 +804,7 @@ export const zones_opportunistic_encryption_output: JsonSchema = { /** * The schema of `zones_origin_error_page_pass_thru` in responses. */ -export const zones_origin_error_page_pass_thru_output: JsonSchema = { +export const zones_origin_error_page_pass_thru: JsonSchema = { "properties": { "id": { "enum": [ @@ -826,7 +826,7 @@ export const zones_origin_error_page_pass_thru_output: JsonSchema = { /** * The schema of `zones_page_rule` in responses. */ -export const zones_page_rule_output: JsonSchema = { +export const zones_page_rule: JsonSchema = { "properties": { "actions": { "$ref": "#/$defs/zones_actions" @@ -865,7 +865,7 @@ export const zones_page_rule_output: JsonSchema = { /** * The schema of `zones_polish` in responses. */ -export const zones_polish_output: JsonSchema = { +export const zones_polish: JsonSchema = { "properties": { "id": { "enum": [ @@ -888,14 +888,14 @@ export const zones_polish_output: JsonSchema = { /** * The schema of `zones_priority` in responses. */ -export const zones_priority_output: JsonSchema = { +export const zones_priority: JsonSchema = { "type": "integer" }; /** * The schema of `zones_resolve_override` in responses. */ -export const zones_resolve_override_output: JsonSchema = { +export const zones_resolve_override: JsonSchema = { "properties": { "id": { "enum": [ @@ -913,7 +913,7 @@ export const zones_resolve_override_output: JsonSchema = { /** * The schema of `zones_respect_strong_etag` in responses. */ -export const zones_respect_strong_etag_output: JsonSchema = { +export const zones_respect_strong_etag: JsonSchema = { "properties": { "id": { "enum": [ @@ -935,7 +935,7 @@ export const zones_respect_strong_etag_output: JsonSchema = { /** * The schema of `zones_response_buffering` in responses. */ -export const zones_response_buffering_output: JsonSchema = { +export const zones_response_buffering: JsonSchema = { "properties": { "id": { "enum": [ @@ -957,7 +957,7 @@ export const zones_response_buffering_output: JsonSchema = { /** * The schema of `zones_rocket_loader` in responses. */ -export const zones_rocket_loader_output: JsonSchema = { +export const zones_rocket_loader: JsonSchema = { "properties": { "id": { "enum": [ @@ -979,7 +979,7 @@ export const zones_rocket_loader_output: JsonSchema = { /** * The schema of `zones_security_level` in responses. */ -export const zones_security_level_output: JsonSchema = { +export const zones_security_level: JsonSchema = { "properties": { "id": { "enum": [ @@ -1005,7 +1005,7 @@ export const zones_security_level_output: JsonSchema = { /** * The schema of `zones_sort_query_string_for_cache` in responses. */ -export const zones_sort_query_string_for_cache_output: JsonSchema = { +export const zones_sort_query_string_for_cache: JsonSchema = { "properties": { "id": { "enum": [ @@ -1027,7 +1027,7 @@ export const zones_sort_query_string_for_cache_output: JsonSchema = { /** * The schema of `zones_ssl` in responses. */ -export const zones_ssl_output: JsonSchema = { +export const zones_ssl: JsonSchema = { "properties": { "id": { "enum": [ @@ -1052,7 +1052,7 @@ export const zones_ssl_output: JsonSchema = { /** * The schema of `zones_status` in responses. */ -export const zones_status_output: JsonSchema = { +export const zones_status: JsonSchema = { "enum": [ "active", "disabled" @@ -1063,7 +1063,7 @@ export const zones_status_output: JsonSchema = { /** * The schema of `zones_string_constraint` in responses. */ -export const zones_string_constraint_output: JsonSchema = { +export const zones_string_constraint: JsonSchema = { "properties": { "operator": { "enum": [ @@ -1089,14 +1089,14 @@ export const zones_string_constraint_output: JsonSchema = { /** * The schema of `zones_target` in responses. */ -export const zones_target_output: JsonSchema = { +export const zones_target: JsonSchema = { "$ref": "#/$defs/zones_url_target" }; /** * The schema of `zones_targets` in responses. */ -export const zones_targets_output: JsonSchema = { +export const zones_targets: JsonSchema = { "items": { "$ref": "#/$defs/zones_target" }, @@ -1106,7 +1106,7 @@ export const zones_targets_output: JsonSchema = { /** * The schema of `zones_true_client_ip_header` in responses. */ -export const zones_true_client_ip_header_output: JsonSchema = { +export const zones_true_client_ip_header: JsonSchema = { "properties": { "id": { "enum": [ @@ -1128,7 +1128,7 @@ export const zones_true_client_ip_header_output: JsonSchema = { /** * The schema of `zones_url_target` in responses. */ -export const zones_url_target_output: JsonSchema = { +export const zones_url_target: JsonSchema = { "properties": { "constraint": { "allOf": [ @@ -1158,7 +1158,7 @@ export const zones_url_target_output: JsonSchema = { /** * The schema of `zones_waf` in responses. */ -export const zones_waf_output: JsonSchema = { +export const zones_waf: JsonSchema = { "properties": { "id": { "enum": [ diff --git a/src/generated/forge-mcp/pageRules/tools.ts b/src/generated/forge-mcp/pageRules/tools.ts index 48b9c4992..e8ef46a66 100644 --- a/src/generated/forge-mcp/pageRules/tools.ts +++ b/src/generated/forge-mcp/pageRules/tools.ts @@ -1,65 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - zones_api_response_common_failure_2_output, - zones_identifier_2_output, - zones_messages_2_output, + zones_api$$response$$common$$failure$$2, + zones_identifier$$2, + zones_messages$$2, } from "../outputs.js"; -import { zones_identifier_2 } from "../schemas.js"; -import { - zones_actions_output, - zones_always_use_https_output, - zones_api_response_common_2_output, - zones_api_response_single_id_2_output, - zones_api_response_single_output, - zones_automatic_https_rewrites_output, - zones_browser_cache_ttl_output, - zones_browser_check_output, - zones_bypass_cache_on_cookie_output, - zones_cache_by_device_type_output, - zones_cache_deception_armor_output, - zones_cache_key_fields_output, - zones_cache_level_output, - zones_cache_on_cookie_output, - zones_cache_ttl_by_status_output, - zones_created_on_output, - zones_disable_apps_output, - zones_disable_performance_output, - zones_disable_security_output, - zones_disable_zaraz_output, - zones_edge_cache_ttl_output, - zones_email_obfuscation_output, - zones_explicit_cache_control_output, - zones_forwarding_url_output, - zones_host_header_override_output, - zones_ip_geolocation_output, - zones_mirage_output, - zones_modified_on_output, - zones_opportunistic_encryption_output, - zones_origin_error_page_pass_thru_output, - zones_page_rule_output, - zones_polish_output, - zones_priority_output, - zones_resolve_override_output, - zones_respect_strong_etag_output, - zones_response_buffering_output, - zones_rocket_loader_output, - zones_security_level_output, - zones_sort_query_string_for_cache_output, - zones_ssl_output, - zones_status_output, - zones_string_constraint_output, - zones_target_output, - zones_targets_output, - zones_true_client_ip_header_output, - zones_url_target_output, - zones_waf_output, -} from "./outputs.js"; +import { zones_identifier$$2 as zones_identifier$$2$ } from "../schemas.js"; import { zones_actions, zones_always_use_https, + zones_api$$response$$common$$2, + zones_api$$response$$single, + zones_api$$response$$single$$id$$2, zones_automatic_https_rewrites, zones_browser_cache_ttl, zones_browser_check, @@ -70,6 +24,7 @@ import { zones_cache_level, zones_cache_on_cookie, zones_cache_ttl_by_status, + zones_created_on, zones_disable_apps, zones_disable_performance, zones_disable_security, @@ -81,8 +36,10 @@ import { zones_host_header_override, zones_ip_geolocation, zones_mirage, + zones_modified_on, zones_opportunistic_encryption, zones_origin_error_page_pass_thru, + zones_page_rule, zones_polish, zones_priority, zones_resolve_override, @@ -99,14 +56,57 @@ import { zones_true_client_ip_header, zones_url_target, zones_waf, +} from "./outputs.js"; +import { + zones_actions as zones_actions$, + zones_always_use_https as zones_always_use_https$, + zones_automatic_https_rewrites as zones_automatic_https_rewrites$, + zones_browser_cache_ttl as zones_browser_cache_ttl$, + zones_browser_check as zones_browser_check$, + zones_bypass_cache_on_cookie as zones_bypass_cache_on_cookie$, + zones_cache_by_device_type as zones_cache_by_device_type$, + zones_cache_deception_armor as zones_cache_deception_armor$, + zones_cache_key_fields as zones_cache_key_fields$, + zones_cache_level as zones_cache_level$, + zones_cache_on_cookie as zones_cache_on_cookie$, + zones_cache_ttl_by_status as zones_cache_ttl_by_status$, + zones_disable_apps as zones_disable_apps$, + zones_disable_performance as zones_disable_performance$, + zones_disable_security as zones_disable_security$, + zones_disable_zaraz as zones_disable_zaraz$, + zones_edge_cache_ttl as zones_edge_cache_ttl$, + zones_email_obfuscation as zones_email_obfuscation$, + zones_explicit_cache_control as zones_explicit_cache_control$, + zones_forwarding_url as zones_forwarding_url$, + zones_host_header_override as zones_host_header_override$, + zones_ip_geolocation as zones_ip_geolocation$, + zones_mirage as zones_mirage$, + zones_opportunistic_encryption as zones_opportunistic_encryption$, + zones_origin_error_page_pass_thru as zones_origin_error_page_pass_thru$, + zones_polish as zones_polish$, + zones_priority as zones_priority$, + zones_resolve_override as zones_resolve_override$, + zones_respect_strong_etag as zones_respect_strong_etag$, + zones_response_buffering as zones_response_buffering$, + zones_rocket_loader as zones_rocket_loader$, + zones_security_level as zones_security_level$, + zones_sort_query_string_for_cache as zones_sort_query_string_for_cache$, + zones_ssl as zones_ssl$, + zones_status as zones_status$, + zones_string_constraint as zones_string_constraint$, + zones_target as zones_target$, + zones_targets as zones_targets$, + zones_true_client_ip_header as zones_true_client_ip_header$, + zones_url_target as zones_url_target$, + zones_waf as zones_waf$, } from "./schemas.js"; /** - * The tools of `page_rules`. + * The tools of `pageRules`. */ export const tools: readonly Tool[] = [ { - name: "page_rules_create", + name: "pageRules_create", title: "Create a Page Rule", description: "Creates a new Page Rule.", inputSchema: { @@ -139,18 +139,86 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], + $defs: { + "zones_actions": zones_actions$, + "zones_always_use_https": zones_always_use_https$, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites$, + "zones_browser_cache_ttl": zones_browser_cache_ttl$, + "zones_browser_check": zones_browser_check$, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie$, + "zones_cache_by_device_type": zones_cache_by_device_type$, + "zones_cache_deception_armor": zones_cache_deception_armor$, + "zones_cache_key_fields": zones_cache_key_fields$, + "zones_cache_level": zones_cache_level$, + "zones_cache_on_cookie": zones_cache_on_cookie$, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status$, + "zones_disable_apps": zones_disable_apps$, + "zones_disable_performance": zones_disable_performance$, + "zones_disable_security": zones_disable_security$, + "zones_disable_zaraz": zones_disable_zaraz$, + "zones_edge_cache_ttl": zones_edge_cache_ttl$, + "zones_email_obfuscation": zones_email_obfuscation$, + "zones_explicit_cache_control": zones_explicit_cache_control$, + "zones_forwarding_url": zones_forwarding_url$, + "zones_host_header_override": zones_host_header_override$, + "zones_identifier-2": zones_identifier$$2$, + "zones_ip_geolocation": zones_ip_geolocation$, + "zones_mirage": zones_mirage$, + "zones_opportunistic_encryption": zones_opportunistic_encryption$, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru$, + "zones_polish": zones_polish$, + "zones_priority": zones_priority$, + "zones_resolve_override": zones_resolve_override$, + "zones_respect_strong_etag": zones_respect_strong_etag$, + "zones_response_buffering": zones_response_buffering$, + "zones_rocket_loader": zones_rocket_loader$, + "zones_security_level": zones_security_level$, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache$, + "zones_ssl": zones_ssl$, + "zones_status": zones_status$, + "zones_string_constraint": zones_string_constraint$, + "zones_target": zones_target$, + "zones_targets": zones_targets$, + "zones_true_client_ip_header": zones_true_client_ip_header$, + "zones_url_target": zones_url_target$, + "zones_waf": zones_waf$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/zones_api-response-single" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/zones_page_rule" + } + }, + "type": "object" + } + ], $defs: { "zones_actions": zones_actions, "zones_always_use_https": zones_always_use_https, + "zones_api-response-single": zones_api$$response$$single, "zones_automatic_https_rewrites": zones_automatic_https_rewrites, "zones_browser_cache_ttl": zones_browser_cache_ttl, "zones_browser_check": zones_browser_check, @@ -161,6 +229,7 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -170,11 +239,14 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, @@ -193,70 +265,6 @@ export const tools: readonly Tool[] = [ "zones_waf": zones_waf, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/zones_api-response-single" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/zones_page_rule" - } - }, - "type": "object" - } - ], - $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-single": zones_api_response_single_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -294,54 +302,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_api-response-single": zones_api_response_single_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, + "zones_actions": zones_actions, + "zones_always_use_https": zones_always_use_https, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_api-response-single": zones_api$$response$$single, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites, + "zones_browser_cache_ttl": zones_browser_cache_ttl, + "zones_browser_check": zones_browser_check, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie, + "zones_cache_by_device_type": zones_cache_by_device_type, + "zones_cache_deception_armor": zones_cache_deception_armor, + "zones_cache_key_fields": zones_cache_key_fields, + "zones_cache_level": zones_cache_level, + "zones_cache_on_cookie": zones_cache_on_cookie, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, + "zones_disable_apps": zones_disable_apps, + "zones_disable_performance": zones_disable_performance, + "zones_disable_security": zones_disable_security, + "zones_disable_zaraz": zones_disable_zaraz, + "zones_edge_cache_ttl": zones_edge_cache_ttl, + "zones_email_obfuscation": zones_email_obfuscation, + "zones_explicit_cache_control": zones_explicit_cache_control, + "zones_forwarding_url": zones_forwarding_url, + "zones_host_header_override": zones_host_header_override, + "zones_identifier-2": zones_identifier$$2, + "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, + "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, + "zones_opportunistic_encryption": zones_opportunistic_encryption, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, + "zones_polish": zones_polish, + "zones_priority": zones_priority, + "zones_resolve_override": zones_resolve_override, + "zones_respect_strong_etag": zones_respect_strong_etag, + "zones_response_buffering": zones_response_buffering, + "zones_rocket_loader": zones_rocket_loader, + "zones_security_level": zones_security_level, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, + "zones_ssl": zones_ssl, + "zones_status": zones_status, + "zones_string_constraint": zones_string_constraint, + "zones_target": zones_target, + "zones_targets": zones_targets, + "zones_true_client_ip_header": zones_true_client_ip_header, + "zones_url_target": zones_url_target, + "zones_waf": zones_waf, }, }, request: (args) => ({ @@ -350,36 +358,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "page_rules_delete", + name: "pageRules_delete", title: "Delete a Page Rule", description: "Deletes an existing Page Rule.", inputSchema: { type: "object", properties: { - "pagerule_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "path": { + "properties": { + "pagerule_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "pagerule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "pagerule_id" + "path" ], $defs: { - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2$, }, }, outputSchema: { "$ref": "#/$defs/zones_api-response-single-id-2", $defs: { - "zones_api-response-common-2": zones_api_response_common_2_output, - "zones_api-response-single-id-2": zones_api_response_single_id_2_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_messages-2": zones_messages_2_output, + "zones_api-response-common-2": zones_api$$response$$common$$2, + "zones_api-response-single-id-2": zones_api$$response$$single$$id$$2, + "zones_identifier-2": zones_identifier$$2, + "zones_messages-2": zones_messages$$2, }, }, annotations: { @@ -407,11 +423,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common-2": zones_api_response_common_2_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_api-response-single-id-2": zones_api_response_single_id_2_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_messages-2": zones_messages_2_output, + "zones_api-response-common-2": zones_api$$response$$common$$2, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_api-response-single-id-2": zones_api$$response$$single$$id$$2, + "zones_identifier-2": zones_identifier$$2, + "zones_messages-2": zones_messages$$2, }, }, request: (args) => ({ @@ -419,7 +435,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "page_rules_edit", + name: "pageRules_edit", title: "Edit a Page Rule", description: "Updates one or more fields of an existing Page Rule.", inputSchema: { @@ -448,23 +464,91 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "pagerule_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "path": { + "properties": { + "pagerule_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "pagerule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "pagerule_id", + "path", "body" ], + $defs: { + "zones_actions": zones_actions$, + "zones_always_use_https": zones_always_use_https$, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites$, + "zones_browser_cache_ttl": zones_browser_cache_ttl$, + "zones_browser_check": zones_browser_check$, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie$, + "zones_cache_by_device_type": zones_cache_by_device_type$, + "zones_cache_deception_armor": zones_cache_deception_armor$, + "zones_cache_key_fields": zones_cache_key_fields$, + "zones_cache_level": zones_cache_level$, + "zones_cache_on_cookie": zones_cache_on_cookie$, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status$, + "zones_disable_apps": zones_disable_apps$, + "zones_disable_performance": zones_disable_performance$, + "zones_disable_security": zones_disable_security$, + "zones_disable_zaraz": zones_disable_zaraz$, + "zones_edge_cache_ttl": zones_edge_cache_ttl$, + "zones_email_obfuscation": zones_email_obfuscation$, + "zones_explicit_cache_control": zones_explicit_cache_control$, + "zones_forwarding_url": zones_forwarding_url$, + "zones_host_header_override": zones_host_header_override$, + "zones_identifier-2": zones_identifier$$2$, + "zones_ip_geolocation": zones_ip_geolocation$, + "zones_mirage": zones_mirage$, + "zones_opportunistic_encryption": zones_opportunistic_encryption$, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru$, + "zones_polish": zones_polish$, + "zones_priority": zones_priority$, + "zones_resolve_override": zones_resolve_override$, + "zones_respect_strong_etag": zones_respect_strong_etag$, + "zones_response_buffering": zones_response_buffering$, + "zones_rocket_loader": zones_rocket_loader$, + "zones_security_level": zones_security_level$, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache$, + "zones_ssl": zones_ssl$, + "zones_status": zones_status$, + "zones_string_constraint": zones_string_constraint$, + "zones_target": zones_target$, + "zones_targets": zones_targets$, + "zones_true_client_ip_header": zones_true_client_ip_header$, + "zones_url_target": zones_url_target$, + "zones_waf": zones_waf$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/zones_api-response-single" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/zones_page_rule" + } + }, + "type": "object" + } + ], $defs: { "zones_actions": zones_actions, "zones_always_use_https": zones_always_use_https, + "zones_api-response-single": zones_api$$response$$single, "zones_automatic_https_rewrites": zones_automatic_https_rewrites, "zones_browser_cache_ttl": zones_browser_cache_ttl, "zones_browser_check": zones_browser_check, @@ -475,6 +559,7 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -484,11 +569,14 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, @@ -507,70 +595,6 @@ export const tools: readonly Tool[] = [ "zones_waf": zones_waf, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/zones_api-response-single" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/zones_page_rule" - } - }, - "type": "object" - } - ], - $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-single": zones_api_response_single_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -608,54 +632,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_api-response-single": zones_api_response_single_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, + "zones_actions": zones_actions, + "zones_always_use_https": zones_always_use_https, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_api-response-single": zones_api$$response$$single, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites, + "zones_browser_cache_ttl": zones_browser_cache_ttl, + "zones_browser_check": zones_browser_check, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie, + "zones_cache_by_device_type": zones_cache_by_device_type, + "zones_cache_deception_armor": zones_cache_deception_armor, + "zones_cache_key_fields": zones_cache_key_fields, + "zones_cache_level": zones_cache_level, + "zones_cache_on_cookie": zones_cache_on_cookie, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, + "zones_disable_apps": zones_disable_apps, + "zones_disable_performance": zones_disable_performance, + "zones_disable_security": zones_disable_security, + "zones_disable_zaraz": zones_disable_zaraz, + "zones_edge_cache_ttl": zones_edge_cache_ttl, + "zones_email_obfuscation": zones_email_obfuscation, + "zones_explicit_cache_control": zones_explicit_cache_control, + "zones_forwarding_url": zones_forwarding_url, + "zones_host_header_override": zones_host_header_override, + "zones_identifier-2": zones_identifier$$2, + "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, + "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, + "zones_opportunistic_encryption": zones_opportunistic_encryption, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, + "zones_polish": zones_polish, + "zones_priority": zones_priority, + "zones_resolve_override": zones_resolve_override, + "zones_respect_strong_etag": zones_respect_strong_etag, + "zones_response_buffering": zones_response_buffering, + "zones_rocket_loader": zones_rocket_loader, + "zones_security_level": zones_security_level, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, + "zones_ssl": zones_ssl, + "zones_status": zones_status, + "zones_string_constraint": zones_string_constraint, + "zones_target": zones_target, + "zones_targets": zones_targets, + "zones_true_client_ip_header": zones_true_client_ip_header, + "zones_url_target": zones_url_target, + "zones_waf": zones_waf, }, }, request: (args) => ({ @@ -664,27 +688,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "page_rules_get", + name: "pageRules_get", title: "Get a Page Rule", description: "Fetches the details of a Page Rule.", inputSchema: { type: "object", properties: { - "pagerule_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "path": { + "properties": { + "pagerule_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "pagerule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "pagerule_id" + "path" ], $defs: { - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2$, }, }, outputSchema: { @@ -702,53 +734,53 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-single": zones_api_response_single_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, + "zones_actions": zones_actions, + "zones_always_use_https": zones_always_use_https, + "zones_api-response-single": zones_api$$response$$single, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites, + "zones_browser_cache_ttl": zones_browser_cache_ttl, + "zones_browser_check": zones_browser_check, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie, + "zones_cache_by_device_type": zones_cache_by_device_type, + "zones_cache_deception_armor": zones_cache_deception_armor, + "zones_cache_key_fields": zones_cache_key_fields, + "zones_cache_level": zones_cache_level, + "zones_cache_on_cookie": zones_cache_on_cookie, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, + "zones_disable_apps": zones_disable_apps, + "zones_disable_performance": zones_disable_performance, + "zones_disable_security": zones_disable_security, + "zones_disable_zaraz": zones_disable_zaraz, + "zones_edge_cache_ttl": zones_edge_cache_ttl, + "zones_email_obfuscation": zones_email_obfuscation, + "zones_explicit_cache_control": zones_explicit_cache_control, + "zones_forwarding_url": zones_forwarding_url, + "zones_host_header_override": zones_host_header_override, + "zones_identifier-2": zones_identifier$$2, + "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, + "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, + "zones_opportunistic_encryption": zones_opportunistic_encryption, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, + "zones_polish": zones_polish, + "zones_priority": zones_priority, + "zones_resolve_override": zones_resolve_override, + "zones_respect_strong_etag": zones_respect_strong_etag, + "zones_response_buffering": zones_response_buffering, + "zones_rocket_loader": zones_rocket_loader, + "zones_security_level": zones_security_level, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, + "zones_ssl": zones_ssl, + "zones_status": zones_status, + "zones_string_constraint": zones_string_constraint, + "zones_target": zones_target, + "zones_targets": zones_targets, + "zones_true_client_ip_header": zones_true_client_ip_header, + "zones_url_target": zones_url_target, + "zones_waf": zones_waf, }, }, annotations: { @@ -825,54 +857,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_api-response-single": zones_api_response_single_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, + "zones_actions": zones_actions, + "zones_always_use_https": zones_always_use_https, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_api-response-single": zones_api$$response$$single, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites, + "zones_browser_cache_ttl": zones_browser_cache_ttl, + "zones_browser_check": zones_browser_check, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie, + "zones_cache_by_device_type": zones_cache_by_device_type, + "zones_cache_deception_armor": zones_cache_deception_armor, + "zones_cache_key_fields": zones_cache_key_fields, + "zones_cache_level": zones_cache_level, + "zones_cache_on_cookie": zones_cache_on_cookie, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, + "zones_disable_apps": zones_disable_apps, + "zones_disable_performance": zones_disable_performance, + "zones_disable_security": zones_disable_security, + "zones_disable_zaraz": zones_disable_zaraz, + "zones_edge_cache_ttl": zones_edge_cache_ttl, + "zones_email_obfuscation": zones_email_obfuscation, + "zones_explicit_cache_control": zones_explicit_cache_control, + "zones_forwarding_url": zones_forwarding_url, + "zones_host_header_override": zones_host_header_override, + "zones_identifier-2": zones_identifier$$2, + "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, + "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, + "zones_opportunistic_encryption": zones_opportunistic_encryption, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, + "zones_polish": zones_polish, + "zones_priority": zones_priority, + "zones_resolve_override": zones_resolve_override, + "zones_respect_strong_etag": zones_respect_strong_etag, + "zones_response_buffering": zones_response_buffering, + "zones_rocket_loader": zones_rocket_loader, + "zones_security_level": zones_security_level, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, + "zones_ssl": zones_ssl, + "zones_status": zones_status, + "zones_string_constraint": zones_string_constraint, + "zones_target": zones_target, + "zones_targets": zones_targets, + "zones_true_client_ip_header": zones_true_client_ip_header, + "zones_url_target": zones_url_target, + "zones_waf": zones_waf, }, }, request: (args) => ({ @@ -880,58 +912,71 @@ export const tools: readonly Tool[] = [ }), }, { - name: "page_rules_list", + name: "pageRules_list", title: "List Page Rules", description: "Fetches Page Rules in a zone.", inputSchema: { type: "object", properties: { - "direction": { - "default": "desc", - "description": "The direction used to sort returned Page Rules.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "match": { - "default": "all", - "description": "When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match.", - "enum": [ - "any", - "all" - ], - "type": "string" - }, - "order": { - "default": "priority", - "description": "The field used to sort returned Page Rules.", - "enum": [ - "status", - "priority" - ], - "type": "string" - }, - "status": { - "default": "disabled", - "description": "The status of the Page Rule.", - "enum": [ - "active", - "disabled" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "zone_id" ], - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "query": { + "properties": { + "direction": { + "default": "desc", + "description": "The direction used to sort returned Page Rules.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "match": { + "default": "all", + "description": "When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match.", + "enum": [ + "any", + "all" + ], + "type": "string" + }, + "order": { + "default": "priority", + "description": "The field used to sort returned Page Rules.", + "enum": [ + "status", + "priority" + ], + "type": "string" + }, + "status": { + "default": "disabled", + "description": "The status of the Page Rule.", + "enum": [ + "active", + "disabled" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2$, }, }, outputSchema: { @@ -952,53 +997,53 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-common-2": zones_api_response_common_2_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, + "zones_actions": zones_actions, + "zones_always_use_https": zones_always_use_https, + "zones_api-response-common-2": zones_api$$response$$common$$2, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites, + "zones_browser_cache_ttl": zones_browser_cache_ttl, + "zones_browser_check": zones_browser_check, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie, + "zones_cache_by_device_type": zones_cache_by_device_type, + "zones_cache_deception_armor": zones_cache_deception_armor, + "zones_cache_key_fields": zones_cache_key_fields, + "zones_cache_level": zones_cache_level, + "zones_cache_on_cookie": zones_cache_on_cookie, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, + "zones_disable_apps": zones_disable_apps, + "zones_disable_performance": zones_disable_performance, + "zones_disable_security": zones_disable_security, + "zones_disable_zaraz": zones_disable_zaraz, + "zones_edge_cache_ttl": zones_edge_cache_ttl, + "zones_email_obfuscation": zones_email_obfuscation, + "zones_explicit_cache_control": zones_explicit_cache_control, + "zones_forwarding_url": zones_forwarding_url, + "zones_host_header_override": zones_host_header_override, + "zones_identifier-2": zones_identifier$$2, + "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, + "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, + "zones_opportunistic_encryption": zones_opportunistic_encryption, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, + "zones_polish": zones_polish, + "zones_priority": zones_priority, + "zones_resolve_override": zones_resolve_override, + "zones_respect_strong_etag": zones_respect_strong_etag, + "zones_response_buffering": zones_response_buffering, + "zones_rocket_loader": zones_rocket_loader, + "zones_security_level": zones_security_level, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, + "zones_ssl": zones_ssl, + "zones_status": zones_status, + "zones_string_constraint": zones_string_constraint, + "zones_target": zones_target, + "zones_targets": zones_targets, + "zones_true_client_ip_header": zones_true_client_ip_header, + "zones_url_target": zones_url_target, + "zones_waf": zones_waf, }, }, annotations: { @@ -1043,68 +1088,68 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-common-2": zones_api_response_common_2_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, + "zones_actions": zones_actions, + "zones_always_use_https": zones_always_use_https, + "zones_api-response-common-2": zones_api$$response$$common$$2, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites, + "zones_browser_cache_ttl": zones_browser_cache_ttl, + "zones_browser_check": zones_browser_check, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie, + "zones_cache_by_device_type": zones_cache_by_device_type, + "zones_cache_deception_armor": zones_cache_deception_armor, + "zones_cache_key_fields": zones_cache_key_fields, + "zones_cache_level": zones_cache_level, + "zones_cache_on_cookie": zones_cache_on_cookie, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, + "zones_disable_apps": zones_disable_apps, + "zones_disable_performance": zones_disable_performance, + "zones_disable_security": zones_disable_security, + "zones_disable_zaraz": zones_disable_zaraz, + "zones_edge_cache_ttl": zones_edge_cache_ttl, + "zones_email_obfuscation": zones_email_obfuscation, + "zones_explicit_cache_control": zones_explicit_cache_control, + "zones_forwarding_url": zones_forwarding_url, + "zones_host_header_override": zones_host_header_override, + "zones_identifier-2": zones_identifier$$2, + "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, + "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, + "zones_opportunistic_encryption": zones_opportunistic_encryption, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, + "zones_polish": zones_polish, + "zones_priority": zones_priority, + "zones_resolve_override": zones_resolve_override, + "zones_respect_strong_etag": zones_respect_strong_etag, + "zones_response_buffering": zones_response_buffering, + "zones_rocket_loader": zones_rocket_loader, + "zones_security_level": zones_security_level, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, + "zones_ssl": zones_ssl, + "zones_status": zones_status, + "zones_string_constraint": zones_string_constraint, + "zones_target": zones_target, + "zones_targets": zones_targets, + "zones_true_client_ip_header": zones_true_client_ip_header, + "zones_url_target": zones_url_target, + "zones_waf": zones_waf, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pagerules`, query: [ - ["order", args["order"], true], - ["direction", args["direction"], true], - ["match", args["match"], true], - ["status", args["status"], true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["match", param(args, "query", "match"), true], + ["status", param(args, "query", "status"), true], ], }), }, { - name: "page_rules_update", + name: "pageRules_update", title: "Update a Page Rule", description: "Replaces the configuration of an existing Page Rule. The configuration of the updated Page Rule will exactly match the data passed in the API request.", inputSchema: { @@ -1137,23 +1182,91 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "pagerule_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "path": { + "properties": { + "pagerule_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "pagerule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "pagerule_id", + "path", "body" ], + $defs: { + "zones_actions": zones_actions$, + "zones_always_use_https": zones_always_use_https$, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites$, + "zones_browser_cache_ttl": zones_browser_cache_ttl$, + "zones_browser_check": zones_browser_check$, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie$, + "zones_cache_by_device_type": zones_cache_by_device_type$, + "zones_cache_deception_armor": zones_cache_deception_armor$, + "zones_cache_key_fields": zones_cache_key_fields$, + "zones_cache_level": zones_cache_level$, + "zones_cache_on_cookie": zones_cache_on_cookie$, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status$, + "zones_disable_apps": zones_disable_apps$, + "zones_disable_performance": zones_disable_performance$, + "zones_disable_security": zones_disable_security$, + "zones_disable_zaraz": zones_disable_zaraz$, + "zones_edge_cache_ttl": zones_edge_cache_ttl$, + "zones_email_obfuscation": zones_email_obfuscation$, + "zones_explicit_cache_control": zones_explicit_cache_control$, + "zones_forwarding_url": zones_forwarding_url$, + "zones_host_header_override": zones_host_header_override$, + "zones_identifier-2": zones_identifier$$2$, + "zones_ip_geolocation": zones_ip_geolocation$, + "zones_mirage": zones_mirage$, + "zones_opportunistic_encryption": zones_opportunistic_encryption$, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru$, + "zones_polish": zones_polish$, + "zones_priority": zones_priority$, + "zones_resolve_override": zones_resolve_override$, + "zones_respect_strong_etag": zones_respect_strong_etag$, + "zones_response_buffering": zones_response_buffering$, + "zones_rocket_loader": zones_rocket_loader$, + "zones_security_level": zones_security_level$, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache$, + "zones_ssl": zones_ssl$, + "zones_status": zones_status$, + "zones_string_constraint": zones_string_constraint$, + "zones_target": zones_target$, + "zones_targets": zones_targets$, + "zones_true_client_ip_header": zones_true_client_ip_header$, + "zones_url_target": zones_url_target$, + "zones_waf": zones_waf$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/zones_api-response-single" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/zones_page_rule" + } + }, + "type": "object" + } + ], $defs: { "zones_actions": zones_actions, "zones_always_use_https": zones_always_use_https, + "zones_api-response-single": zones_api$$response$$single, "zones_automatic_https_rewrites": zones_automatic_https_rewrites, "zones_browser_cache_ttl": zones_browser_cache_ttl, "zones_browser_check": zones_browser_check, @@ -1164,6 +1277,7 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -1173,11 +1287,14 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, @@ -1196,70 +1313,6 @@ export const tools: readonly Tool[] = [ "zones_waf": zones_waf, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/zones_api-response-single" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/zones_page_rule" - } - }, - "type": "object" - } - ], - $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-single": zones_api_response_single_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -1297,54 +1350,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_actions": zones_actions_output, - "zones_always_use_https": zones_always_use_https_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_api-response-single": zones_api_response_single_output, - "zones_automatic_https_rewrites": zones_automatic_https_rewrites_output, - "zones_browser_cache_ttl": zones_browser_cache_ttl_output, - "zones_browser_check": zones_browser_check_output, - "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie_output, - "zones_cache_by_device_type": zones_cache_by_device_type_output, - "zones_cache_deception_armor": zones_cache_deception_armor_output, - "zones_cache_key_fields": zones_cache_key_fields_output, - "zones_cache_level": zones_cache_level_output, - "zones_cache_on_cookie": zones_cache_on_cookie_output, - "zones_cache_ttl_by_status": zones_cache_ttl_by_status_output, - "zones_created_on": zones_created_on_output, - "zones_disable_apps": zones_disable_apps_output, - "zones_disable_performance": zones_disable_performance_output, - "zones_disable_security": zones_disable_security_output, - "zones_disable_zaraz": zones_disable_zaraz_output, - "zones_edge_cache_ttl": zones_edge_cache_ttl_output, - "zones_email_obfuscation": zones_email_obfuscation_output, - "zones_explicit_cache_control": zones_explicit_cache_control_output, - "zones_forwarding_url": zones_forwarding_url_output, - "zones_host_header_override": zones_host_header_override_output, - "zones_identifier-2": zones_identifier_2_output, - "zones_ip_geolocation": zones_ip_geolocation_output, - "zones_messages-2": zones_messages_2_output, - "zones_mirage": zones_mirage_output, - "zones_modified_on": zones_modified_on_output, - "zones_opportunistic_encryption": zones_opportunistic_encryption_output, - "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru_output, - "zones_page_rule": zones_page_rule_output, - "zones_polish": zones_polish_output, - "zones_priority": zones_priority_output, - "zones_resolve_override": zones_resolve_override_output, - "zones_respect_strong_etag": zones_respect_strong_etag_output, - "zones_response_buffering": zones_response_buffering_output, - "zones_rocket_loader": zones_rocket_loader_output, - "zones_security_level": zones_security_level_output, - "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache_output, - "zones_ssl": zones_ssl_output, - "zones_status": zones_status_output, - "zones_string_constraint": zones_string_constraint_output, - "zones_target": zones_target_output, - "zones_targets": zones_targets_output, - "zones_true_client_ip_header": zones_true_client_ip_header_output, - "zones_url_target": zones_url_target_output, - "zones_waf": zones_waf_output, + "zones_actions": zones_actions, + "zones_always_use_https": zones_always_use_https, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_api-response-single": zones_api$$response$$single, + "zones_automatic_https_rewrites": zones_automatic_https_rewrites, + "zones_browser_cache_ttl": zones_browser_cache_ttl, + "zones_browser_check": zones_browser_check, + "zones_bypass_cache_on_cookie": zones_bypass_cache_on_cookie, + "zones_cache_by_device_type": zones_cache_by_device_type, + "zones_cache_deception_armor": zones_cache_deception_armor, + "zones_cache_key_fields": zones_cache_key_fields, + "zones_cache_level": zones_cache_level, + "zones_cache_on_cookie": zones_cache_on_cookie, + "zones_cache_ttl_by_status": zones_cache_ttl_by_status, + "zones_created_on": zones_created_on, + "zones_disable_apps": zones_disable_apps, + "zones_disable_performance": zones_disable_performance, + "zones_disable_security": zones_disable_security, + "zones_disable_zaraz": zones_disable_zaraz, + "zones_edge_cache_ttl": zones_edge_cache_ttl, + "zones_email_obfuscation": zones_email_obfuscation, + "zones_explicit_cache_control": zones_explicit_cache_control, + "zones_forwarding_url": zones_forwarding_url, + "zones_host_header_override": zones_host_header_override, + "zones_identifier-2": zones_identifier$$2, + "zones_ip_geolocation": zones_ip_geolocation, + "zones_messages-2": zones_messages$$2, + "zones_mirage": zones_mirage, + "zones_modified_on": zones_modified_on, + "zones_opportunistic_encryption": zones_opportunistic_encryption, + "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, + "zones_page_rule": zones_page_rule, + "zones_polish": zones_polish, + "zones_priority": zones_priority, + "zones_resolve_override": zones_resolve_override, + "zones_respect_strong_etag": zones_respect_strong_etag, + "zones_response_buffering": zones_response_buffering, + "zones_rocket_loader": zones_rocket_loader, + "zones_security_level": zones_security_level, + "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, + "zones_ssl": zones_ssl, + "zones_status": zones_status, + "zones_string_constraint": zones_string_constraint, + "zones_target": zones_target, + "zones_targets": zones_targets, + "zones_true_client_ip_header": zones_true_client_ip_header, + "zones_url_target": zones_url_target, + "zones_waf": zones_waf, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pages/buildCache/tools.ts b/src/generated/forge-mcp/pages/buildCache/tools.ts index ddc212776..b917d5c95 100644 --- a/src/generated/forge-mcp/pages/buildCache/tools.ts +++ b/src/generated/forge-mcp/pages/buildCache/tools.ts @@ -3,35 +3,43 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - pages_api_response_common_failure_output, - pages_api_response_common_output, - pages_messages_output, + pages_api$$response$$common, + pages_api$$response$$common$$failure, + pages_messages, } from "../outputs.js"; import { pages_identifier, pages_project_name } from "../schemas.js"; /** - * The tools of `pages.build_cache`. + * The tools of `pages.buildCache`. */ export const tools: readonly Tool[] = [ { - name: "pages_build_cache_purge", + name: "pages_buildCache_purge", title: "Purge the Pages build cache", description: "Remove cached build artifacts so subsequent builds run without the project's existing build cache.\n\nConfirm with the user before calling this tool. This operation purges the build cache for a Pages project.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name" + "path" ], $defs: { "pages_identifier": pages_identifier, @@ -63,8 +71,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_messages": pages_messages, }, }, annotations: { @@ -113,9 +121,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_messages": pages_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pages/deployments/history/logs/outputs.ts b/src/generated/forge-mcp/pages/deployments/history/logs/outputs.ts index 1807d3933..ea502d698 100644 --- a/src/generated/forge-mcp/pages/deployments/history/logs/outputs.ts +++ b/src/generated/forge-mcp/pages/deployments/history/logs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `pages_deployment_log` in responses. */ -export const pages_deployment_log_output: JsonSchema = { +export const pages_deployment_log: JsonSchema = { "properties": { "data": { "items": { diff --git a/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts b/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts index 0782ba5fb..ee23648aa 100644 --- a/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts +++ b/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - pages_api_response_common_failure_output, - pages_api_response_common_output, - pages_messages_output, + pages_api$$response$$common, + pages_api$$response$$common$$failure, + pages_messages, } from "../../../outputs.js"; import { pages_identifier, pages_project_name } from "../../../schemas.js"; import { pages_deployment_id } from "../../schemas.js"; -import { pages_deployment_log_output } from "./outputs.js"; +import { pages_deployment_log } from "./outputs.js"; /** * The tools of `pages.deployments.history.logs`. @@ -22,23 +22,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "deployment_id": { + "$ref": "#/$defs/pages_deployment_id", + "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", - "deployment_id" + "path" ], $defs: { "pages_deployment_id": pages_deployment_id, @@ -64,9 +72,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_deployment_log": pages_deployment_log_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_deployment_log": pages_deployment_log, + "pages_messages": pages_messages, }, }, annotations: { @@ -109,10 +117,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_deployment_log": pages_deployment_log_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_deployment_log": pages_deployment_log, + "pages_messages": pages_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pages/deployments/tools.ts b/src/generated/forge-mcp/pages/deployments/tools.ts index 2d817ef44..dd5225a17 100644 --- a/src/generated/forge-mcp/pages/deployments/tools.ts +++ b/src/generated/forge-mcp/pages/deployments/tools.ts @@ -1,24 +1,27 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - pages_api_response_collection_output, - pages_api_response_common_failure_output, - pages_api_response_common_output, - pages_build_config_output, - pages_deployment_output, - pages_env_vars_output, - pages_messages_output, - pages_plain_text_env_var_output, - pages_project_name_output, - pages_secret_text_env_var_output, - pages_source_config_output, - pages_source_output, - pages_source_type_output, - pages_stage_output, + pages_api$$response$$collection, + pages_api$$response$$common, + pages_api$$response$$common$$failure, + pages_build_config, + pages_deployment, + pages_env_vars, + pages_messages, + pages_plain_text_env_var, + pages_project_name, + pages_secret_text_env_var, + pages_source, + pages_source_config, + pages_source_type, + pages_stage, } from "../outputs.js"; -import { pages_identifier, pages_project_name } from "../schemas.js"; +import { + pages_identifier, + pages_project_name as pages_project_name$, +} from "../schemas.js"; import { pages_deployment_id } from "./schemas.js"; /** @@ -32,32 +35,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "allow_aliased": { - "description": "Allow deletion when a non-production deployment has an active alias.", - "type": "boolean" - }, - "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "deployment_id": { + "$ref": "#/$defs/pages_deployment_id", + "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name", + "deployment_id" + ], + "type": "object" }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "query": { + "properties": { + "force": { + "description": "Allow deletion when a non-production deployment has an active alias.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "project_name", - "deployment_id" + "path" ], $defs: { "pages_deployment_id": pages_deployment_id, "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, + "pages_project_name": pages_project_name$, }, }, outputSchema: { @@ -85,8 +101,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_messages": pages_messages, }, }, annotations: { @@ -135,15 +151,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_messages": pages_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/deployments/${pathParam(args, "deployment_id")}`, query: [ - ["force", args["allow_aliased"], true], + ["force", param(args, "query", "force"), true], ], }), }, @@ -154,28 +170,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "deployment_id": { + "$ref": "#/$defs/pages_deployment_id", + "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", - "deployment_id" + "path" ], $defs: { "pages_deployment_id": pages_deployment_id, "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, + "pages_project_name": pages_project_name$, }, }, outputSchema: { @@ -196,18 +220,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -250,19 +274,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ @@ -276,38 +300,51 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "env": { - "description": "Deployment environment to return. Valid values are `production` and `preview`.", - "enum": [ - "production", - "preview" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name" ], - "type": "string" - }, - "page": { - "description": "Page number of results to return.", - "type": "integer" - }, - "per_page": { - "description": "Number of results to return per page.", - "type": "integer" + "type": "object" }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "query": { + "properties": { + "env": { + "description": "Deployment environment to return. Valid values are `production` and `preview`.", + "enum": [ + "production", + "preview" + ], + "type": "string" + }, + "page": { + "description": "Page number of results to return.", + "type": "integer" + }, + "per_page": { + "description": "Number of results to return per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "project_name" + "path" ], $defs: { "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, + "pages_project_name": pages_project_name$, }, }, outputSchema: { @@ -331,19 +368,19 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-collection": pages_api_response_collection_output, - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-collection": pages_api$$response$$collection, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -389,28 +426,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-collection": pages_api_response_collection_output, - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-collection": pages_api$$response$$collection, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects/${pathParam(args, "project_name")}/deployments`, query: [ - ["env", args["env"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["env", param(args, "query", "env"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -421,28 +458,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "deployment_id": { + "$ref": "#/$defs/pages_deployment_id", + "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", - "deployment_id" + "path" ], $defs: { "pages_deployment_id": pages_deployment_id, "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, + "pages_project_name": pages_project_name$, }, }, outputSchema: { @@ -463,18 +508,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -516,19 +561,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ @@ -542,28 +587,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "deployment_id": { + "$ref": "#/$defs/pages_deployment_id", + "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", - "deployment_id" + "path" ], $defs: { "pages_deployment_id": pages_deployment_id, "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, + "pages_project_name": pages_project_name$, }, }, outputSchema: { @@ -584,18 +637,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -637,19 +690,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pages/domains/outputs.ts b/src/generated/forge-mcp/pages/domains/outputs.ts index 1879d2e4c..674cb8061 100644 --- a/src/generated/forge-mcp/pages/domains/outputs.ts +++ b/src/generated/forge-mcp/pages/domains/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pages_domain` in responses. */ -export const pages_domain_output: JsonSchema = { +export const pages_domain: JsonSchema = { "properties": { "certificate_authority": { "enum": [ @@ -115,6 +115,6 @@ export const pages_domain_output: JsonSchema = { /** * The schema of `pages_domain_name` in responses. */ -export const pages_domain_name_output: JsonSchema = { +export const pages_domain_name: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/pages/domains/tools.ts b/src/generated/forge-mcp/pages/domains/tools.ts index 512d3da64..152d072fb 100644 --- a/src/generated/forge-mcp/pages/domains/tools.ts +++ b/src/generated/forge-mcp/pages/domains/tools.ts @@ -3,14 +3,14 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - pages_api_response_collection_output, - pages_api_response_common_failure_output, - pages_api_response_common_output, - pages_messages_output, + pages_api$$response$$collection, + pages_api$$response$$common, + pages_api$$response$$common$$failure, + pages_messages, } from "../outputs.js"; import { pages_identifier, pages_project_name } from "../schemas.js"; -import { pages_domain_name_output, pages_domain_output } from "./outputs.js"; -import { pages_domain_name } from "./schemas.js"; +import { pages_domain, pages_domain_name } from "./outputs.js"; +import { pages_domain_name as pages_domain_name$ } from "./schemas.js"; /** * The tools of `pages.domains`. @@ -23,10 +23,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, "body": { "properties": { "name": { @@ -39,18 +35,30 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", + "path", "body" ], $defs: { - "pages_domain_name": pages_domain_name, + "pages_domain_name": pages_domain_name$, "pages_identifier": pages_identifier, "pages_project_name": pages_project_name, }, @@ -73,10 +81,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_domain": pages_domain_output, - "pages_domain_name": pages_domain_name_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_domain": pages_domain, + "pages_domain_name": pages_domain_name, + "pages_messages": pages_messages, }, }, annotations: { @@ -118,11 +126,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_domain": pages_domain_output, - "pages_domain_name": pages_domain_name_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_domain": pages_domain, + "pages_domain_name": pages_domain_name, + "pages_messages": pages_messages, }, }, request: (args) => ({ @@ -137,26 +145,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "domain_name": { - "$ref": "#/$defs/pages_domain_name", - "description": "Fully qualified domain name for the Pages project, such as `example.com`." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "domain_name": { + "$ref": "#/$defs/pages_domain_name", + "description": "Fully qualified domain name for the Pages project, such as `example.com`." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", - "domain_name" + "path" ], $defs: { - "pages_domain_name": pages_domain_name, + "pages_domain_name": pages_domain_name$, "pages_identifier": pages_identifier, "pages_project_name": pages_project_name, }, @@ -186,8 +202,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_messages": pages_messages, }, }, annotations: { @@ -236,9 +252,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_messages": pages_messages, }, }, request: (args) => ({ @@ -252,26 +268,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "domain_name": { - "$ref": "#/$defs/pages_domain_name", - "description": "Fully qualified domain name for the Pages project, such as `example.com`." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "domain_name": { + "$ref": "#/$defs/pages_domain_name", + "description": "Fully qualified domain name for the Pages project, such as `example.com`." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", - "domain_name" + "path" ], $defs: { - "pages_domain_name": pages_domain_name, + "pages_domain_name": pages_domain_name$, "pages_identifier": pages_identifier, "pages_project_name": pages_project_name, }, @@ -294,10 +318,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_domain": pages_domain_output, - "pages_domain_name": pages_domain_name_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_domain": pages_domain, + "pages_domain_name": pages_domain_name, + "pages_messages": pages_messages, }, }, annotations: { @@ -340,11 +364,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_domain": pages_domain_output, - "pages_domain_name": pages_domain_name_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_domain": pages_domain, + "pages_domain_name": pages_domain_name, + "pages_messages": pages_messages, }, }, request: (args) => ({ @@ -358,18 +382,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name" + "path" ], $defs: { "pages_identifier": pages_identifier, @@ -397,11 +429,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-collection": pages_api_response_collection_output, - "pages_api-response-common": pages_api_response_common_output, - "pages_domain": pages_domain_output, - "pages_domain_name": pages_domain_name_output, - "pages_messages": pages_messages_output, + "pages_api-response-collection": pages_api$$response$$collection, + "pages_api-response-common": pages_api$$response$$common, + "pages_domain": pages_domain, + "pages_domain_name": pages_domain_name, + "pages_messages": pages_messages, }, }, annotations: { @@ -447,12 +479,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-collection": pages_api_response_collection_output, - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_domain": pages_domain_output, - "pages_domain_name": pages_domain_name_output, - "pages_messages": pages_messages_output, + "pages_api-response-collection": pages_api$$response$$collection, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_domain": pages_domain, + "pages_domain_name": pages_domain_name, + "pages_messages": pages_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pages/domains/validation/tools.ts b/src/generated/forge-mcp/pages/domains/validation/tools.ts index 9aff5a3bd..a9a435848 100644 --- a/src/generated/forge-mcp/pages/domains/validation/tools.ts +++ b/src/generated/forge-mcp/pages/domains/validation/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - pages_api_response_common_failure_output, - pages_api_response_common_output, - pages_messages_output, + pages_api$$response$$common, + pages_api$$response$$common$$failure, + pages_messages, } from "../../outputs.js"; import { pages_identifier, pages_project_name } from "../../schemas.js"; -import { pages_domain_name_output, pages_domain_output } from "../outputs.js"; -import { pages_domain_name } from "../schemas.js"; +import { pages_domain, pages_domain_name } from "../outputs.js"; +import { pages_domain_name as pages_domain_name$ } from "../schemas.js"; /** * The tools of `pages.domains.validation`. @@ -22,26 +22,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "domain_name": { - "$ref": "#/$defs/pages_domain_name", - "description": "Fully qualified domain name for the Pages project, such as `example.com`." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "domain_name": { + "$ref": "#/$defs/pages_domain_name", + "description": "Fully qualified domain name for the Pages project, such as `example.com`." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", - "domain_name" + "path" ], $defs: { - "pages_domain_name": pages_domain_name, + "pages_domain_name": pages_domain_name$, "pages_identifier": pages_identifier, "pages_project_name": pages_project_name, }, @@ -64,10 +72,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_domain": pages_domain_output, - "pages_domain_name": pages_domain_name_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_domain": pages_domain, + "pages_domain_name": pages_domain_name, + "pages_messages": pages_messages, }, }, annotations: { @@ -109,11 +117,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_domain": pages_domain_output, - "pages_domain_name": pages_domain_name_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_domain": pages_domain, + "pages_domain_name": pages_domain_name, + "pages_messages": pages_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pages/outputs.ts b/src/generated/forge-mcp/pages/outputs.ts index 47f8b8a26..5a4245f40 100644 --- a/src/generated/forge-mcp/pages/outputs.ts +++ b/src/generated/forge-mcp/pages/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `pages_api-response-collection` in responses. */ -export const pages_api_response_collection_output: JsonSchema = { +export const pages_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/pages_api-response-common" @@ -42,7 +42,7 @@ export const pages_api_response_collection_output: JsonSchema = { /** * The schema of `pages_api-response-common` in responses. */ -export const pages_api_response_common_output: JsonSchema = { +export const pages_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/pages_messages" @@ -68,7 +68,7 @@ export const pages_api_response_common_output: JsonSchema = { /** * The schema of `pages_api-response-common-failure` in responses. */ -export const pages_api_response_common_failure_output: JsonSchema = { +export const pages_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/pages_messages" @@ -98,7 +98,7 @@ export const pages_api_response_common_failure_output: JsonSchema = { /** * The schema of `pages_build_config` in responses. */ -export const pages_build_config_output: JsonSchema = { +export const pages_build_config: JsonSchema = { "properties": { "build_caching": { "oneOf": [ @@ -171,7 +171,7 @@ export const pages_build_config_output: JsonSchema = { /** * The schema of `pages_deployment` in responses. */ -export const pages_deployment_output: JsonSchema = { +export const pages_deployment: JsonSchema = { "properties": { "aliases": { "oneOf": [ @@ -331,7 +331,7 @@ export const pages_deployment_output: JsonSchema = { /** * The schema of `pages_deployment_config_values` in responses. */ -export const pages_deployment_config_values_output: JsonSchema = { +export const pages_deployment_config_values: JsonSchema = { "properties": { "ai_bindings": { "additionalProperties": { @@ -594,7 +594,7 @@ export const pages_deployment_config_values_output: JsonSchema = { /** * The schema of `pages_env_vars` in responses. */ -export const pages_env_vars_output: JsonSchema = { +export const pages_env_vars: JsonSchema = { "oneOf": [ { "additionalProperties": { @@ -625,7 +625,7 @@ export const pages_env_vars_output: JsonSchema = { /** * The schema of `pages_messages` in responses. */ -export const pages_messages_output: JsonSchema = { +export const pages_messages: JsonSchema = { "items": { "properties": { "code": { @@ -658,7 +658,7 @@ export const pages_messages_output: JsonSchema = { /** * The schema of `pages_plain_text_env_var` in responses. */ -export const pages_plain_text_env_var_output: JsonSchema = { +export const pages_plain_text_env_var: JsonSchema = { "oneOf": [ { "properties": { @@ -687,7 +687,7 @@ export const pages_plain_text_env_var_output: JsonSchema = { /** * The schema of `pages_project` in responses. */ -export const pages_project_output: JsonSchema = { +export const pages_project: JsonSchema = { "properties": { "build_config": { "$ref": "#/$defs/pages_build_config" @@ -796,14 +796,14 @@ export const pages_project_output: JsonSchema = { /** * The schema of `pages_project_name` in responses. */ -export const pages_project_name_output: JsonSchema = { +export const pages_project_name: JsonSchema = { "type": "string" }; /** * The schema of `pages_secret_text_env_var` in responses. */ -export const pages_secret_text_env_var_output: JsonSchema = { +export const pages_secret_text_env_var: JsonSchema = { "oneOf": [ { "properties": { @@ -832,7 +832,7 @@ export const pages_secret_text_env_var_output: JsonSchema = { /** * The schema of `pages_source` in responses. */ -export const pages_source_output: JsonSchema = { +export const pages_source: JsonSchema = { "properties": { "config": { "$ref": "#/$defs/pages_source_config" @@ -851,7 +851,7 @@ export const pages_source_output: JsonSchema = { /** * The schema of `pages_source_config` in responses. */ -export const pages_source_config_output: JsonSchema = { +export const pages_source_config: JsonSchema = { "properties": { "deployments_enabled": { "type": "boolean" @@ -931,7 +931,7 @@ export const pages_source_config_output: JsonSchema = { /** * The schema of `pages_source_type` in responses. */ -export const pages_source_type_output: JsonSchema = { +export const pages_source_type: JsonSchema = { "enum": [ "github", "gitlab" @@ -942,7 +942,7 @@ export const pages_source_type_output: JsonSchema = { /** * The schema of `pages_stage` in responses. */ -export const pages_stage_output: JsonSchema = { +export const pages_stage: JsonSchema = { "properties": { "ended_on": { "oneOf": [ diff --git a/src/generated/forge-mcp/pages/source/tools.ts b/src/generated/forge-mcp/pages/source/tools.ts index 54d5ce427..0afe70b3f 100644 --- a/src/generated/forge-mcp/pages/source/tools.ts +++ b/src/generated/forge-mcp/pages/source/tools.ts @@ -3,27 +3,27 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - pages_api_response_common_failure_output, - pages_api_response_common_output, - pages_build_config_output, - pages_deployment_config_values_output, - pages_deployment_output, - pages_env_vars_output, - pages_messages_output, - pages_plain_text_env_var_output, - pages_project_name_output, - pages_project_output, - pages_secret_text_env_var_output, - pages_source_config_output, - pages_source_output, - pages_source_type_output, - pages_stage_output, -} from "../outputs.js"; -import { - pages_identifier, + pages_api$$response$$common, + pages_api$$response$$common$$failure, + pages_build_config, + pages_deployment, + pages_deployment_config_values, + pages_env_vars, + pages_messages, + pages_plain_text_env_var, + pages_project, pages_project_name, + pages_secret_text_env_var, + pages_source, pages_source_config, pages_source_type, + pages_stage, +} from "../outputs.js"; +import { + pages_identifier, + pages_project_name as pages_project_name$, + pages_source_config as pages_source_config$, + pages_source_type as pages_source_type$, } from "../schemas.js"; import { pages_source_connect_request } from "./schemas.js"; @@ -38,29 +38,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/pages_source_connect_request" }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", + "path", "body" ], $defs: { "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, - "pages_source_config": pages_source_config, + "pages_project_name": pages_project_name$, + "pages_source_config": pages_source_config$, "pages_source_connect_request": pages_source_connect_request, - "pages_source_type": pages_source_type, + "pages_source_type": pages_source_type$, }, }, outputSchema: { @@ -81,20 +89,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -136,21 +144,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ @@ -165,22 +173,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name" + "path" ], $defs: { "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, + "pages_project_name": pages_project_name$, }, }, outputSchema: { @@ -201,20 +217,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -256,21 +272,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pages/tools.ts b/src/generated/forge-mcp/pages/tools.ts index 95ebb3f9b..9749be6a3 100644 --- a/src/generated/forge-mcp/pages/tools.ts +++ b/src/generated/forge-mcp/pages/tools.ts @@ -1,31 +1,31 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - pages_api_response_collection_output, - pages_api_response_common_failure_output, - pages_api_response_common_output, - pages_build_config_output, - pages_deployment_config_values_output, - pages_deployment_output, - pages_env_vars_output, - pages_messages_output, - pages_plain_text_env_var_output, - pages_project_name_output, - pages_project_output, - pages_secret_text_env_var_output, - pages_source_config_output, - pages_source_output, - pages_source_type_output, - pages_stage_output, + pages_api$$response$$collection, + pages_api$$response$$common, + pages_api$$response$$common$$failure, + pages_build_config, + pages_deployment, + pages_deployment_config_values, + pages_env_vars, + pages_messages, + pages_plain_text_env_var, + pages_project, + pages_project_name, + pages_secret_text_env_var, + pages_source, + pages_source_config, + pages_source_type, + pages_stage, } from "./outputs.js"; import { pages_deployment_config_values_request, pages_identifier, - pages_plain_text_env_var, - pages_project_name, - pages_secret_text_env_var, + pages_plain_text_env_var as pages_plain_text_env_var$, + pages_project_name as pages_project_name$, + pages_secret_text_env_var as pages_secret_text_env_var$, } from "./schemas.js"; /** @@ -39,10 +39,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, "body": { "properties": { "build_config": { @@ -210,17 +206,29 @@ export const tools: readonly Tool[] = [ "production_branch" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "pages_deployment_config_values_request": pages_deployment_config_values_request, "pages_identifier": pages_identifier, - "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_plain_text_env_var": pages_plain_text_env_var$, + "pages_secret_text_env_var": pages_secret_text_env_var$, }, }, outputSchema: { @@ -241,20 +249,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -296,21 +304,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ @@ -325,22 +333,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name" + "path" ], $defs: { "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, + "pages_project_name": pages_project_name$, }, }, outputSchema: { @@ -368,8 +384,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_messages": pages_messages, }, }, annotations: { @@ -418,9 +434,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_messages": pages_messages_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_messages": pages_messages, }, }, request: (args) => ({ @@ -434,10 +450,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, "body": { "properties": { "build_config": { @@ -602,22 +614,34 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name", + "path", "body" ], $defs: { "pages_deployment_config_values_request": pages_deployment_config_values_request, "pages_identifier": pages_identifier, - "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_project_name": pages_project_name, - "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_plain_text_env_var": pages_plain_text_env_var$, + "pages_project_name": pages_project_name$, + "pages_secret_text_env_var": pages_secret_text_env_var$, }, }, outputSchema: { @@ -638,20 +662,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -693,21 +717,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ @@ -722,22 +746,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + }, + "project_name": { + "$ref": "#/$defs/pages_project_name", + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + } + }, + "required": [ + "account_id", + "project_name" + ], + "type": "object" } }, required: [ - "account_id", - "project_name" + "path" ], $defs: { "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, + "pages_project_name": pages_project_name$, }, }, outputSchema: { @@ -758,20 +790,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -814,21 +846,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ @@ -842,21 +874,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." - }, - "page": { - "description": "Page number of results to return.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/pages_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "description": "Number of results to return per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "description": "Page number of results to return.", + "type": "integer" + }, + "per_page": { + "description": "Number of results to return per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "pages_identifier": pages_identifier, @@ -883,21 +928,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "pages_api-response-collection": pages_api_response_collection_output, - "pages_api-response-common": pages_api_response_common_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-collection": pages_api$$response$$collection, + "pages_api-response-common": pages_api$$response$$common, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, annotations: { @@ -943,29 +988,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pages_api-response-collection": pages_api_response_collection_output, - "pages_api-response-common": pages_api_response_common_output, - "pages_api-response-common-failure": pages_api_response_common_failure_output, - "pages_build_config": pages_build_config_output, - "pages_deployment": pages_deployment_output, - "pages_deployment_config_values": pages_deployment_config_values_output, - "pages_env_vars": pages_env_vars_output, - "pages_messages": pages_messages_output, - "pages_plain_text_env_var": pages_plain_text_env_var_output, - "pages_project": pages_project_output, - "pages_project_name": pages_project_name_output, - "pages_secret_text_env_var": pages_secret_text_env_var_output, - "pages_source": pages_source_output, - "pages_source_config": pages_source_config_output, - "pages_source_type": pages_source_type_output, - "pages_stage": pages_stage_output, + "pages_api-response-collection": pages_api$$response$$collection, + "pages_api-response-common": pages_api$$response$$common, + "pages_api-response-common-failure": pages_api$$response$$common$$failure, + "pages_build_config": pages_build_config, + "pages_deployment": pages_deployment, + "pages_deployment_config_values": pages_deployment_config_values, + "pages_env_vars": pages_env_vars, + "pages_messages": pages_messages, + "pages_plain_text_env_var": pages_plain_text_env_var, + "pages_project": pages_project, + "pages_project_name": pages_project_name, + "pages_secret_text_env_var": pages_secret_text_env_var, + "pages_source": pages_source, + "pages_source_config": pages_source_config, + "pages_source_type": pages_source_type, + "pages_stage": pages_stage, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pages/projects`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/payPerCrawl/config/outputs.ts b/src/generated/forge-mcp/payPerCrawl/config/outputs.ts index 069dc52e0..fe1069ebf 100644 --- a/src/generated/forge-mcp/payPerCrawl/config/outputs.ts +++ b/src/generated/forge-mcp/payPerCrawl/config/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_BotAccessMode` in responses. */ -export const pay_per_crawl_BotAccessMode_output: JsonSchema = { +export const pay$$per$$crawl_BotAccessMode: JsonSchema = { "enum": [ "charge", "bypass" @@ -17,7 +17,7 @@ export const pay_per_crawl_BotAccessMode_output: JsonSchema = { /** * The schema of `pay-per-crawl_DaricConfig` in responses. */ -export const pay_per_crawl_DaricConfig_output: JsonSchema = { +export const pay$$per$$crawl_DaricConfig: JsonSchema = { "properties": { "bot_overrides": { "additionalProperties": { @@ -38,7 +38,7 @@ export const pay_per_crawl_DaricConfig_output: JsonSchema = { /** * The schema of `pay-per-crawl_getConfigResponse` in responses. */ -export const pay_per_crawl_getConfigResponse_output: JsonSchema = { +export const pay$$per$$crawl_getConfigResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerCrawl/config/schemas.ts b/src/generated/forge-mcp/payPerCrawl/config/schemas.ts index 9527e6571..608e63086 100644 --- a/src/generated/forge-mcp/payPerCrawl/config/schemas.ts +++ b/src/generated/forge-mcp/payPerCrawl/config/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_BotAccessMode`. */ -export const pay_per_crawl_BotAccessMode: JsonSchema = { +export const pay$$per$$crawl_BotAccessMode: JsonSchema = { "enum": [ "charge", "bypass" @@ -17,7 +17,7 @@ export const pay_per_crawl_BotAccessMode: JsonSchema = { /** * The schema of `pay-per-crawl_DaricConfig`. */ -export const pay_per_crawl_DaricConfig: JsonSchema = { +export const pay$$per$$crawl_DaricConfig: JsonSchema = { "properties": { "bot_overrides": { "additionalProperties": { @@ -39,7 +39,7 @@ export const pay_per_crawl_DaricConfig: JsonSchema = { /** * The schema of `pay-per-crawl_DaricConfigCreate`. */ -export const pay_per_crawl_DaricConfigCreate: JsonSchema = { +export const pay$$per$$crawl_DaricConfigCreate: JsonSchema = { "properties": { "bot_overrides": { "additionalProperties": { diff --git a/src/generated/forge-mcp/payPerCrawl/config/tools.ts b/src/generated/forge-mcp/payPerCrawl/config/tools.ts index 7c1b4a7a2..92e858cab 100644 --- a/src/generated/forge-mcp/payPerCrawl/config/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/config/tools.ts @@ -3,30 +3,30 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, } from "../../outputs.js"; import { - pay_per_crawl_BotAccessMode_output, - pay_per_crawl_DaricConfig_output, - pay_per_crawl_getConfigResponse_output, + pay$$per$$crawl_BotAccessMode, + pay$$per$$crawl_DaricConfig, + pay$$per$$crawl_getConfigResponse, } from "./outputs.js"; import { - pay_per_crawl_BotAccessMode, - pay_per_crawl_DaricConfig, - pay_per_crawl_DaricConfigCreate, + pay$$per$$crawl_BotAccessMode as pay$$per$$crawl_BotAccessMode$, + pay$$per$$crawl_DaricConfig as pay$$per$$crawl_DaricConfig$, + pay$$per$$crawl_DaricConfigCreate, } from "./schemas.js"; /** - * The tools of `pay_per_crawl.config`. + * The tools of `payPerCrawl.config`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_crawl_config_create", + name: "payPerCrawl_config_create", title: "Creates pay-per-crawl config for a zone", description: "Creates the pay-per-crawl config for a zone.", inputSchema: { @@ -36,29 +36,37 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/pay-per-crawl_DaricConfigCreate", "description": "Data for fully replacing a pay-per-crawl zone configuration" }, - "zone_id": { - "description": "zone id", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode, - "pay-per-crawl_DaricConfigCreate": pay_per_crawl_DaricConfigCreate, + "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode$, + "pay-per-crawl_DaricConfigCreate": pay$$per$$crawl_DaricConfigCreate, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getConfigResponse", $defs: { - "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode_output, - "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_getConfigResponse": pay_per_crawl_getConfigResponse_output, + "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, + "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_getConfigResponse": pay$$per$$crawl_getConfigResponse, }, }, annotations: { @@ -85,15 +93,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode_output, - "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig_output, - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_getConfigResponse": pay_per_crawl_getConfigResponse_output, + "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, + "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_getConfigResponse": pay$$per$$crawl_getConfigResponse, }, }, request: (args) => ({ @@ -102,7 +110,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_config_edit", + name: "payPerCrawl_config_edit", title: "Changes pay-per-crawl config for a zone", description: "Changes the pay-per-crawl config for a zone.", inputSchema: { @@ -112,29 +120,37 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/pay-per-crawl_DaricConfig", "description": "Data for setting flag on zones" }, - "zone_id": { - "description": "zone id", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode, - "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig, + "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode$, + "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig$, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getConfigResponse", $defs: { - "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode_output, - "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_getConfigResponse": pay_per_crawl_getConfigResponse_output, + "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, + "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_getConfigResponse": pay$$per$$crawl_getConfigResponse, }, }, annotations: { @@ -161,15 +177,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode_output, - "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig_output, - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_getConfigResponse": pay_per_crawl_getConfigResponse_output, + "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, + "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_getConfigResponse": pay$$per$$crawl_getConfigResponse, }, }, request: (args) => ({ @@ -178,30 +194,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_config_get", + name: "payPerCrawl_config_get", title: "Get the pay-per-crawl config", description: "Gets the pay-per-crawl config for a zone including the bot configuration.", inputSchema: { type: "object", properties: { - "zone_id": { - "description": "zone id", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getConfigResponse", $defs: { - "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode_output, - "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_getConfigResponse": pay_per_crawl_getConfigResponse_output, + "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, + "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_getConfigResponse": pay$$per$$crawl_getConfigResponse, }, }, annotations: { @@ -229,15 +253,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_BotAccessMode": pay_per_crawl_BotAccessMode_output, - "pay-per-crawl_DaricConfig": pay_per_crawl_DaricConfig_output, - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_getConfigResponse": pay_per_crawl_getConfigResponse_output, + "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, + "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_getConfigResponse": pay$$per$$crawl_getConfigResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts b/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts index 586a8b6c9..9f99d179b 100644 --- a/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts @@ -3,49 +3,57 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, - pay_per_crawl_apiNoResultResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, + pay$$per$$crawl_apiNoResultResponse, } from "../../../outputs.js"; import { - pay_per_crawl_StripeConnectResp_output, - pay_per_crawl_StripeConnection_output, - pay_per_crawl_createStripeConfigResponse_output, - pay_per_crawl_getStripeConfigResponse_output, + pay$$per$$crawl_StripeConnectResp, + pay$$per$$crawl_StripeConnection, + pay$$per$$crawl_createStripeConfigResponse, + pay$$per$$crawl_getStripeConfigResponse, } from "../../outputs.js"; /** - * The tools of `pay_per_crawl.crawler.stripe`. + * The tools of `payPerCrawl.crawler.stripe`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_crawl_crawler_stripe_create", + name: "payPerCrawl_crawler_stripe_create", title: "Creates the stripe config for a crawler", description: "Creates the stripe config for a crawler.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_createStripeConfigResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_StripeConnectResp": pay_per_crawl_StripeConnectResp_output, - "pay-per-crawl_createStripeConfigResponse": pay_per_crawl_createStripeConfigResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_StripeConnectResp": pay$$per$$crawl_StripeConnectResp, + "pay-per-crawl_createStripeConfigResponse": pay$$per$$crawl_createStripeConfigResponse, }, }, annotations: { @@ -72,14 +80,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_StripeConnectResp": pay_per_crawl_StripeConnectResp_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_createStripeConfigResponse": pay_per_crawl_createStripeConfigResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_StripeConnectResp": pay$$per$$crawl_StripeConnectResp, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_createStripeConfigResponse": pay$$per$$crawl_createStripeConfigResponse, }, }, request: (args) => ({ @@ -87,28 +95,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_crawler_stripe_delete", + name: "payPerCrawl_crawler_stripe_delete", title: "Deletes the stripe config for a crawler", description: "Deletes the stripe config for a crawler.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, annotations: { @@ -135,13 +151,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, request: (args) => ({ @@ -149,29 +165,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_crawler_stripe_get", + name: "payPerCrawl_crawler_stripe_get", title: "Gets the stripe config for a crawler", description: "Gets the stripe config for a crawler.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getStripeConfigResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_StripeConnection": pay_per_crawl_StripeConnection_output, - "pay-per-crawl_getStripeConfigResponse": pay_per_crawl_getStripeConfigResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_StripeConnection": pay$$per$$crawl_StripeConnection, + "pay-per-crawl_getStripeConfigResponse": pay$$per$$crawl_getStripeConfigResponse, }, }, annotations: { @@ -226,14 +250,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_StripeConnection": pay_per_crawl_StripeConnection_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_getStripeConfigResponse": pay_per_crawl_getStripeConfigResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_StripeConnection": pay$$per$$crawl_StripeConnection, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_getStripeConfigResponse": pay$$per$$crawl_getStripeConfigResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/payPerCrawl/crawlers/outputs.ts b/src/generated/forge-mcp/payPerCrawl/crawlers/outputs.ts index 6467cf190..180a4ab42 100644 --- a/src/generated/forge-mcp/payPerCrawl/crawlers/outputs.ts +++ b/src/generated/forge-mcp/payPerCrawl/crawlers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_CrawlerEntry` in responses. */ -export const pay_per_crawl_CrawlerEntry_output: JsonSchema = { +export const pay$$per$$crawl_CrawlerEntry: JsonSchema = { "properties": { "bot_management": { "type": "boolean" @@ -102,7 +102,7 @@ export const pay_per_crawl_CrawlerEntry_output: JsonSchema = { /** * The schema of `pay-per-crawl_listCrawlersResponse` in responses. */ -export const pay_per_crawl_listCrawlersResponse_output: JsonSchema = { +export const pay$$per$$crawl_listCrawlersResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts b/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts index a25bdb349..fd29db250 100644 --- a/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts @@ -3,46 +3,54 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, } from "../../outputs.js"; import { - pay_per_crawl_CrawlerEntry_output, - pay_per_crawl_listCrawlersResponse_output, + pay$$per$$crawl_CrawlerEntry, + pay$$per$$crawl_listCrawlersResponse, } from "./outputs.js"; /** - * The tools of `pay_per_crawl.crawlers`. + * The tools of `payPerCrawl.crawlers`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_crawl_crawlers_list", + name: "payPerCrawl_crawlers_list", title: "List pay-per-crawl crawlers", description: "Lists the crawlers known to pay-per-crawl.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_listCrawlersResponse", $defs: { - "pay-per-crawl_CrawlerEntry": pay_per_crawl_CrawlerEntry_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_listCrawlersResponse": pay_per_crawl_listCrawlersResponse_output, + "pay-per-crawl_CrawlerEntry": pay$$per$$crawl_CrawlerEntry, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_listCrawlersResponse": pay$$per$$crawl_listCrawlersResponse, }, }, annotations: { @@ -64,14 +72,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_CrawlerEntry": pay_per_crawl_CrawlerEntry_output, - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_listCrawlersResponse": pay_per_crawl_listCrawlersResponse_output, + "pay-per-crawl_CrawlerEntry": pay$$per$$crawl_CrawlerEntry, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_listCrawlersResponse": pay$$per$$crawl_listCrawlersResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/payPerCrawl/outputs.ts b/src/generated/forge-mcp/payPerCrawl/outputs.ts index e5d8f0ee5..ab58bbdac 100644 --- a/src/generated/forge-mcp/payPerCrawl/outputs.ts +++ b/src/generated/forge-mcp/payPerCrawl/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `pay-per-crawl_StripeConnectResp` in responses. */ -export const pay_per_crawl_StripeConnectResp_output: JsonSchema = { +export const pay$$per$$crawl_StripeConnectResp: JsonSchema = { "properties": { "url": { "type": "string" @@ -18,7 +18,7 @@ export const pay_per_crawl_StripeConnectResp_output: JsonSchema = { /** * The schema of `pay-per-crawl_StripeConnection` in responses. */ -export const pay_per_crawl_StripeConnection_output: JsonSchema = { +export const pay$$per$$crawl_StripeConnection: JsonSchema = { "properties": { "connect_status": { "type": "string" @@ -33,7 +33,7 @@ export const pay_per_crawl_StripeConnection_output: JsonSchema = { /** * The schema of `pay-per-crawl_createStripeConfigResponse` in responses. */ -export const pay_per_crawl_createStripeConfigResponse_output: JsonSchema = { +export const pay$$per$$crawl_createStripeConfigResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -63,7 +63,7 @@ export const pay_per_crawl_createStripeConfigResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_getStripeConfigResponse` in responses. */ -export const pay_per_crawl_getStripeConfigResponse_output: JsonSchema = { +export const pay$$per$$crawl_getStripeConfigResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts b/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts index 96f6db005..4f5947d6a 100644 --- a/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts @@ -3,49 +3,57 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, - pay_per_crawl_apiNoResultResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, + pay$$per$$crawl_apiNoResultResponse, } from "../../../outputs.js"; import { - pay_per_crawl_StripeConnectResp_output, - pay_per_crawl_StripeConnection_output, - pay_per_crawl_createStripeConfigResponse_output, - pay_per_crawl_getStripeConfigResponse_output, + pay$$per$$crawl_StripeConnectResp, + pay$$per$$crawl_StripeConnection, + pay$$per$$crawl_createStripeConfigResponse, + pay$$per$$crawl_getStripeConfigResponse, } from "../../outputs.js"; /** - * The tools of `pay_per_crawl.publisher.stripe`. + * The tools of `payPerCrawl.publisher.stripe`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_crawl_publisher_stripe_create", + name: "payPerCrawl_publisher_stripe_create", title: "Creates the stripe config for a publisher", description: "Creates the stripe config for a publisher.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_createStripeConfigResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_StripeConnectResp": pay_per_crawl_StripeConnectResp_output, - "pay-per-crawl_createStripeConfigResponse": pay_per_crawl_createStripeConfigResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_StripeConnectResp": pay$$per$$crawl_StripeConnectResp, + "pay-per-crawl_createStripeConfigResponse": pay$$per$$crawl_createStripeConfigResponse, }, }, annotations: { @@ -72,14 +80,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_StripeConnectResp": pay_per_crawl_StripeConnectResp_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_createStripeConfigResponse": pay_per_crawl_createStripeConfigResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_StripeConnectResp": pay$$per$$crawl_StripeConnectResp, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_createStripeConfigResponse": pay$$per$$crawl_createStripeConfigResponse, }, }, request: (args) => ({ @@ -87,28 +95,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_publisher_stripe_delete", + name: "payPerCrawl_publisher_stripe_delete", title: "Deletes the stripe config for a publisher", description: "Deletes the stripe config for a publisher.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, annotations: { @@ -135,13 +151,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, request: (args) => ({ @@ -149,29 +165,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_publisher_stripe_get", + name: "payPerCrawl_publisher_stripe_get", title: "Gets the stripe config for a publisher", description: "Gets the stripe config for a publisher.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getStripeConfigResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_StripeConnection": pay_per_crawl_StripeConnection_output, - "pay-per-crawl_getStripeConfigResponse": pay_per_crawl_getStripeConfigResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_StripeConnection": pay$$per$$crawl_StripeConnection, + "pay-per-crawl_getStripeConfigResponse": pay$$per$$crawl_getStripeConfigResponse, }, }, annotations: { @@ -226,14 +250,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_StripeConnection": pay_per_crawl_StripeConnection_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_getStripeConfigResponse": pay_per_crawl_getStripeConfigResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_StripeConnection": pay$$per$$crawl_StripeConnection, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_getStripeConfigResponse": pay$$per$$crawl_getStripeConfigResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/payPerCrawl/terms/outputs.ts b/src/generated/forge-mcp/payPerCrawl/terms/outputs.ts index 15ceeb7bd..ade048113 100644 --- a/src/generated/forge-mcp/payPerCrawl/terms/outputs.ts +++ b/src/generated/forge-mcp/payPerCrawl/terms/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_IronCladContract` in responses. */ -export const pay_per_crawl_IronCladContract_output: JsonSchema = { +export const pay$$per$$crawl_IronCladContract: JsonSchema = { "properties": { "body": { "type": "string" @@ -21,7 +21,7 @@ export const pay_per_crawl_IronCladContract_output: JsonSchema = { /** * The schema of `pay-per-crawl_SignatureLinkResponse` in responses. */ -export const pay_per_crawl_SignatureLinkResponse_output: JsonSchema = { +export const pay$$per$$crawl_SignatureLinkResponse: JsonSchema = { "properties": { "link": { "type": "string" @@ -33,7 +33,7 @@ export const pay_per_crawl_SignatureLinkResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_getTermsResponse` in responses. */ -export const pay_per_crawl_getTermsResponse_output: JsonSchema = { +export const pay$$per$$crawl_getTermsResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -63,7 +63,7 @@ export const pay_per_crawl_getTermsResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_getTermsSignatureLinkResponse` in responses. */ -export const pay_per_crawl_getTermsSignatureLinkResponse_output: JsonSchema = { +export const pay$$per$$crawl_getTermsSignatureLinkResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -93,7 +93,7 @@ export const pay_per_crawl_getTermsSignatureLinkResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_getTermsSignatureResponse` in responses. */ -export const pay_per_crawl_getTermsSignatureResponse_output: JsonSchema = { +export const pay$$per$$crawl_getTermsSignatureResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerCrawl/terms/tools.ts b/src/generated/forge-mcp/payPerCrawl/terms/tools.ts index 15c6d2d80..96218b256 100644 --- a/src/generated/forge-mcp/payPerCrawl/terms/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/terms/tools.ts @@ -1,52 +1,60 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, - pay_per_crawl_apiNoResultResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, + pay$$per$$crawl_apiNoResultResponse, } from "../../outputs.js"; import { - pay_per_crawl_IronCladContract_output, - pay_per_crawl_SignatureLinkResponse_output, - pay_per_crawl_getTermsResponse_output, - pay_per_crawl_getTermsSignatureLinkResponse_output, - pay_per_crawl_getTermsSignatureResponse_output, + pay$$per$$crawl_IronCladContract, + pay$$per$$crawl_SignatureLinkResponse, + pay$$per$$crawl_getTermsResponse, + pay$$per$$crawl_getTermsSignatureLinkResponse, + pay$$per$$crawl_getTermsSignatureResponse, } from "./outputs.js"; /** - * The tools of `pay_per_crawl.terms`. + * The tools of `payPerCrawl.terms`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_crawl_terms_get", + name: "payPerCrawl_terms_get", title: "Get pay-per-crawl terms", description: "Gets the pay-per-crawl terms and conditions contract.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getTermsResponse", $defs: { - "pay-per-crawl_IronCladContract": pay_per_crawl_IronCladContract_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_getTermsResponse": pay_per_crawl_getTermsResponse_output, + "pay-per-crawl_IronCladContract": pay$$per$$crawl_IronCladContract, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_getTermsResponse": pay$$per$$crawl_getTermsResponse, }, }, annotations: { @@ -101,14 +109,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_IronCladContract": pay_per_crawl_IronCladContract_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_getTermsResponse": pay_per_crawl_getTermsResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_IronCladContract": pay$$per$$crawl_IronCladContract, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_getTermsResponse": pay$$per$$crawl_getTermsResponse, }, }, request: (args) => ({ @@ -116,32 +124,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_terms_get_signature", + name: "payPerCrawl_terms_getSignature", title: "Get pay-per-crawl terms signature status", description: "Gets the account's pay-per-crawl terms signature status.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "refresh": { - "description": "Refresh the signature status from Ironclad.", - "type": "boolean" + "query": { + "properties": { + "remote": { + "description": "Refresh the signature status from Ironclad.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getTermsSignatureResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_getTermsSignatureResponse": pay_per_crawl_getTermsSignatureResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_getTermsSignatureResponse": pay$$per$$crawl_getTermsSignatureResponse, }, }, annotations: { @@ -196,46 +217,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_getTermsSignatureResponse": pay_per_crawl_getTermsSignatureResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_getTermsSignatureResponse": pay$$per$$crawl_getTermsSignatureResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/terms/signature`, query: [ - ["remote", args["refresh"], true], + ["remote", param(args, "query", "remote"), true], ], }), }, { - name: "pay_per_crawl_terms_get_signature_link", + name: "payPerCrawl_terms_getSignatureLink", title: "Get signed pay-per-crawl terms link", description: "Gets a download link for the account's signed pay-per-crawl terms.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getTermsSignatureLinkResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_SignatureLinkResponse": pay_per_crawl_SignatureLinkResponse_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_getTermsSignatureLinkResponse": pay_per_crawl_getTermsSignatureLinkResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_SignatureLinkResponse": pay$$per$$crawl_SignatureLinkResponse, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_getTermsSignatureLinkResponse": pay$$per$$crawl_getTermsSignatureLinkResponse, }, }, annotations: { @@ -290,14 +319,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_SignatureLinkResponse": pay_per_crawl_SignatureLinkResponse_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_getTermsSignatureLinkResponse": pay_per_crawl_getTermsSignatureLinkResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_SignatureLinkResponse": pay$$per$$crawl_SignatureLinkResponse, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_getTermsSignatureLinkResponse": pay$$per$$crawl_getTermsSignatureLinkResponse, }, }, request: (args) => ({ @@ -305,42 +334,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_terms_send_signature_event", + name: "payPerCrawl_terms_sendSignatureEvent", title: "Record pay-per-crawl terms activity", description: "Records that an account displayed or agreed to the pay-per-crawl terms.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" - }, - "event_type": { - "description": "The terms activity to record.", - "enum": [ - "agreed", - "displayed" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "vid": { - "description": "Ironclad contract version ID.", - "type": "string" + "query": { + "properties": { + "event_type": { + "description": "The terms activity to record.", + "enum": [ + "agreed", + "displayed" + ], + "type": "string" + }, + "vid": { + "description": "Ironclad contract version ID.", + "type": "string" + } + }, + "required": [ + "event_type", + "vid" + ], + "type": "object" } }, required: [ - "account_id", - "event_type", - "vid" + "path", + "query" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, annotations: { @@ -367,20 +412,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-crawl/terms/signature`, query: [ - ["event_type", args["event_type"], true], - ["vid", args["vid"], true], + ["event_type", param(args, "query", "event_type"), true], + ["vid", param(args, "query", "vid"), true], ], }), }, diff --git a/src/generated/forge-mcp/payPerCrawl/zones/outputs.ts b/src/generated/forge-mcp/payPerCrawl/zones/outputs.ts index e93eafa8f..e5618ecf8 100644 --- a/src/generated/forge-mcp/payPerCrawl/zones/outputs.ts +++ b/src/generated/forge-mcp/payPerCrawl/zones/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_DaricZoneCanBeEnabled` in responses. */ -export const pay_per_crawl_DaricZoneCanBeEnabled_output: JsonSchema = { +export const pay$$per$$crawl_DaricZoneCanBeEnabled: JsonSchema = { "properties": { "can_be_enabled": { "type": "boolean" @@ -24,7 +24,7 @@ export const pay_per_crawl_DaricZoneCanBeEnabled_output: JsonSchema = { /** * The schema of `pay-per-crawl_ZonesCanBeEnabledPayload` in responses. */ -export const pay_per_crawl_ZonesCanBeEnabledPayload_output: JsonSchema = { +export const pay$$per$$crawl_ZonesCanBeEnabledPayload: JsonSchema = { "properties": { "zones": { "items": { @@ -39,7 +39,7 @@ export const pay_per_crawl_ZonesCanBeEnabledPayload_output: JsonSchema = { /** * The schema of `pay-per-crawl_getZoneCanBeEnabledResponse` in responses. */ -export const pay_per_crawl_getZoneCanBeEnabledResponse_output: JsonSchema = { +export const pay$$per$$crawl_getZoneCanBeEnabledResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -69,7 +69,7 @@ export const pay_per_crawl_getZoneCanBeEnabledResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_queryZonesCanBeEnabledResponse` in responses. */ -export const pay_per_crawl_queryZonesCanBeEnabledResponse_output: JsonSchema = { +export const pay$$per$$crawl_queryZonesCanBeEnabledResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerCrawl/zones/schemas.ts b/src/generated/forge-mcp/payPerCrawl/zones/schemas.ts index 85f7b2e1f..50e898aae 100644 --- a/src/generated/forge-mcp/payPerCrawl/zones/schemas.ts +++ b/src/generated/forge-mcp/payPerCrawl/zones/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_DaricZoneCanBeEnabledUpdate`. */ -export const pay_per_crawl_DaricZoneCanBeEnabledUpdate: JsonSchema = { +export const pay$$per$$crawl_DaricZoneCanBeEnabledUpdate: JsonSchema = { "properties": { "can_be_enabled": { "type": "boolean" @@ -24,7 +24,7 @@ export const pay_per_crawl_DaricZoneCanBeEnabledUpdate: JsonSchema = { /** * The schema of `pay-per-crawl_ZonesCanBeEnabledQueryPayload`. */ -export const pay_per_crawl_ZonesCanBeEnabledQueryPayload: JsonSchema = { +export const pay$$per$$crawl_ZonesCanBeEnabledQueryPayload: JsonSchema = { "properties": { "zones": { "items": { @@ -39,7 +39,7 @@ export const pay_per_crawl_ZonesCanBeEnabledQueryPayload: JsonSchema = { /** * The schema of `pay-per-crawl_ZonesCanBeEnabledUpdatePayload`. */ -export const pay_per_crawl_ZonesCanBeEnabledUpdatePayload: JsonSchema = { +export const pay$$per$$crawl_ZonesCanBeEnabledUpdatePayload: JsonSchema = { "properties": { "zones": { "items": { diff --git a/src/generated/forge-mcp/payPerCrawl/zones/tools.ts b/src/generated/forge-mcp/payPerCrawl/zones/tools.ts index 32d9f734c..f11ea5256 100644 --- a/src/generated/forge-mcp/payPerCrawl/zones/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/zones/tools.ts @@ -3,54 +3,62 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, - pay_per_crawl_apiNoResultResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, + pay$$per$$crawl_apiNoResultResponse, } from "../../outputs.js"; import { - pay_per_crawl_DaricZoneCanBeEnabled_output, - pay_per_crawl_ZonesCanBeEnabledPayload_output, - pay_per_crawl_getZoneCanBeEnabledResponse_output, - pay_per_crawl_queryZonesCanBeEnabledResponse_output, + pay$$per$$crawl_DaricZoneCanBeEnabled, + pay$$per$$crawl_ZonesCanBeEnabledPayload, + pay$$per$$crawl_getZoneCanBeEnabledResponse, + pay$$per$$crawl_queryZonesCanBeEnabledResponse, } from "./outputs.js"; import { - pay_per_crawl_DaricZoneCanBeEnabledUpdate, - pay_per_crawl_ZonesCanBeEnabledQueryPayload, - pay_per_crawl_ZonesCanBeEnabledUpdatePayload, + pay$$per$$crawl_DaricZoneCanBeEnabledUpdate, + pay$$per$$crawl_ZonesCanBeEnabledQueryPayload, + pay$$per$$crawl_ZonesCanBeEnabledUpdatePayload, } from "./schemas.js"; /** - * The tools of `pay_per_crawl.zones`. + * The tools of `payPerCrawl.zones`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_crawl_zones_get_can_be_enabled", + name: "payPerCrawl_zones_getCanBeEnabled", title: "Get pay-per-crawl zone eligibility", description: "Gets whether pay-per-crawl can be enabled for a zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "description": "zone id", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getZoneCanBeEnabledResponse", $defs: { - "pay-per-crawl_DaricZoneCanBeEnabled": pay_per_crawl_DaricZoneCanBeEnabled_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_getZoneCanBeEnabledResponse": pay_per_crawl_getZoneCanBeEnabledResponse_output, + "pay-per-crawl_DaricZoneCanBeEnabled": pay$$per$$crawl_DaricZoneCanBeEnabled, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_getZoneCanBeEnabledResponse": pay$$per$$crawl_getZoneCanBeEnabledResponse, }, }, annotations: { @@ -78,14 +86,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_DaricZoneCanBeEnabled": pay_per_crawl_DaricZoneCanBeEnabled_output, - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_getZoneCanBeEnabledResponse": pay_per_crawl_getZoneCanBeEnabledResponse_output, + "pay-per-crawl_DaricZoneCanBeEnabled": pay$$per$$crawl_DaricZoneCanBeEnabled, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_getZoneCanBeEnabledResponse": pay$$per$$crawl_getZoneCanBeEnabledResponse, }, }, request: (args) => ({ @@ -93,38 +101,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_zones_query_can_be_enabled", + name: "payPerCrawl_zones_queryCanBeEnabled", title: "Gets the can_be_enabled zone setting", description: "Provided a list of pay-per-crawl configured zones this method will return whether they can enable PPC or not.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" - }, "body": { "$ref": "#/$defs/pay-per-crawl_ZonesCanBeEnabledQueryPayload", "description": "Zone IDs to check for pay-per-crawl eligibility" + }, + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "pay-per-crawl_ZonesCanBeEnabledQueryPayload": pay_per_crawl_ZonesCanBeEnabledQueryPayload, + "pay-per-crawl_ZonesCanBeEnabledQueryPayload": pay$$per$$crawl_ZonesCanBeEnabledQueryPayload, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_queryZonesCanBeEnabledResponse", $defs: { - "pay-per-crawl_DaricZoneCanBeEnabled": pay_per_crawl_DaricZoneCanBeEnabled_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_ZonesCanBeEnabledPayload": pay_per_crawl_ZonesCanBeEnabledPayload_output, - "pay-per-crawl_queryZonesCanBeEnabledResponse": pay_per_crawl_queryZonesCanBeEnabledResponse_output, + "pay-per-crawl_DaricZoneCanBeEnabled": pay$$per$$crawl_DaricZoneCanBeEnabled, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_ZonesCanBeEnabledPayload": pay$$per$$crawl_ZonesCanBeEnabledPayload, + "pay-per-crawl_queryZonesCanBeEnabledResponse": pay$$per$$crawl_queryZonesCanBeEnabledResponse, }, }, annotations: { @@ -179,15 +195,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_DaricZoneCanBeEnabled": pay_per_crawl_DaricZoneCanBeEnabled_output, - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_ZonesCanBeEnabledPayload": pay_per_crawl_ZonesCanBeEnabledPayload_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_queryZonesCanBeEnabledResponse": pay_per_crawl_queryZonesCanBeEnabledResponse_output, + "pay-per-crawl_DaricZoneCanBeEnabled": pay$$per$$crawl_DaricZoneCanBeEnabled, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_ZonesCanBeEnabledPayload": pay$$per$$crawl_ZonesCanBeEnabledPayload, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_queryZonesCanBeEnabledResponse": pay$$per$$crawl_queryZonesCanBeEnabledResponse, }, }, request: (args) => ({ @@ -196,37 +212,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_crawl_zones_set_can_be_enabled", + name: "payPerCrawl_zones_setCanBeEnabled", title: "Set can_be_enabled setting on zones", description: "Allows an account admin to set the can_be_enabled setting on a list of zones. An omitted can_be_enabled value leaves that zone unchanged.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" - }, "body": { "$ref": "#/$defs/pay-per-crawl_ZonesCanBeEnabledUpdatePayload", "description": "Data for setting flag on zones" + }, + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "pay-per-crawl_DaricZoneCanBeEnabledUpdate": pay_per_crawl_DaricZoneCanBeEnabledUpdate, - "pay-per-crawl_ZonesCanBeEnabledUpdatePayload": pay_per_crawl_ZonesCanBeEnabledUpdatePayload, + "pay-per-crawl_DaricZoneCanBeEnabledUpdate": pay$$per$$crawl_DaricZoneCanBeEnabledUpdate, + "pay-per-crawl_ZonesCanBeEnabledUpdatePayload": pay$$per$$crawl_ZonesCanBeEnabledUpdatePayload, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, annotations: { @@ -253,13 +277,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/payPerUse/enabledDomains/outputs.ts b/src/generated/forge-mcp/payPerUse/enabledDomains/outputs.ts index f4974b162..84e953144 100644 --- a/src/generated/forge-mcp/payPerUse/enabledDomains/outputs.ts +++ b/src/generated/forge-mcp/payPerUse/enabledDomains/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_EnabledDomain` in responses. */ -export const pay_per_crawl_EnabledDomain_output: JsonSchema = { +export const pay$$per$$crawl_EnabledDomain: JsonSchema = { "properties": { "domain": { "type": "string" @@ -57,7 +57,7 @@ export const pay_per_crawl_EnabledDomain_output: JsonSchema = { /** * The schema of `pay-per-crawl_EnabledDomainsResponse` in responses. */ -export const pay_per_crawl_EnabledDomainsResponse_output: JsonSchema = { +export const pay$$per$$crawl_EnabledDomainsResponse: JsonSchema = { "properties": { "result": { "$ref": "#/$defs/pay-per-crawl_EnabledDomainsResult" @@ -79,7 +79,7 @@ export const pay_per_crawl_EnabledDomainsResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_EnabledDomainsResult` in responses. */ -export const pay_per_crawl_EnabledDomainsResult_output: JsonSchema = { +export const pay$$per$$crawl_EnabledDomainsResult: JsonSchema = { "properties": { "cursor": { "oneOf": [ diff --git a/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts b/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts index 91b295dbf..1833e54f1 100644 --- a/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts +++ b/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts @@ -1,55 +1,68 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_apiErrorResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_apiErrorResponse, } from "../../outputs.js"; import { - pay_per_crawl_EnabledDomain_output, - pay_per_crawl_EnabledDomainsResponse_output, - pay_per_crawl_EnabledDomainsResult_output, + pay$$per$$crawl_EnabledDomain, + pay$$per$$crawl_EnabledDomainsResponse, + pay$$per$$crawl_EnabledDomainsResult, } from "./outputs.js"; /** - * The tools of `pay_per_use.enabled_domains`. + * The tools of `payPerUse.enabledDomains`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_use_enabled_domains_list", + name: "payPerUse_enabledDomains_list", title: "List enabled Pay Per Use domains", description: "Returns publisher domains associated with the requesting Pay Per Use operator through an accepted price agreement. License expiration is the earlier non-null boundary from the price agreement and publisher zone lifecycles. A future expiration remains active and is exposed to the operator. After expiration, the license remains listed as expired for one calendar month before it is omitted; an active agreement for the same domain takes precedence. The requesting account must be an active Pay Per Use operator.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier for the participant", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier for the participant", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "cursor": { - "description": "Opaque, account-bound cursor returned by the previous page. Cursors expire after one hour; restart pagination without a cursor after receiving a 400 response for an expired cursor.", - "type": "string" - }, - "per_page": { - "default": 100, - "description": "Maximum number of domains to return", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Opaque, account-bound cursor returned by the previous page. Cursors expire after one hour; restart pagination without a cursor after receiving a 400 response for an expired cursor.", + "type": "string" + }, + "per_page": { + "default": 100, + "description": "Maximum number of domains to return", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_EnabledDomainsResponse", $defs: { - "pay-per-crawl_EnabledDomain": pay_per_crawl_EnabledDomain_output, - "pay-per-crawl_EnabledDomainsResponse": pay_per_crawl_EnabledDomainsResponse_output, - "pay-per-crawl_EnabledDomainsResult": pay_per_crawl_EnabledDomainsResult_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, + "pay-per-crawl_EnabledDomain": pay$$per$$crawl_EnabledDomain, + "pay-per-crawl_EnabledDomainsResponse": pay$$per$$crawl_EnabledDomainsResponse, + "pay-per-crawl_EnabledDomainsResult": pay$$per$$crawl_EnabledDomainsResult, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, }, }, annotations: { @@ -80,20 +93,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_EnabledDomain": pay_per_crawl_EnabledDomain_output, - "pay-per-crawl_EnabledDomainsResponse": pay_per_crawl_EnabledDomainsResponse_output, - "pay-per-crawl_EnabledDomainsResult": pay_per_crawl_EnabledDomainsResult_output, - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_EnabledDomain": pay$$per$$crawl_EnabledDomain, + "pay-per-crawl_EnabledDomainsResponse": pay$$per$$crawl_EnabledDomainsResponse, + "pay-per-crawl_EnabledDomainsResult": pay$$per$$crawl_EnabledDomainsResult, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-use/enabled-domains`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/payPerUse/operator/outputs.ts b/src/generated/forge-mcp/payPerUse/operator/outputs.ts index fd98ed528..9a399a86a 100644 --- a/src/generated/forge-mcp/payPerUse/operator/outputs.ts +++ b/src/generated/forge-mcp/payPerUse/operator/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_PPUOperatorConfiguration` in responses. */ -export const pay_per_crawl_PPUOperatorConfiguration_output: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorConfiguration: JsonSchema = { "properties": { "default_price_usd_microcents": { "type": "integer" @@ -29,7 +29,7 @@ export const pay_per_crawl_PPUOperatorConfiguration_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUOperatorConfigurationResponse` in responses. */ -export const pay_per_crawl_PPUOperatorConfigurationResponse_output: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorConfigurationResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -59,7 +59,7 @@ export const pay_per_crawl_PPUOperatorConfigurationResponse_output: JsonSchema = /** * The schema of `pay-per-crawl_PPUOperatorConfigurationResult` in responses. */ -export const pay_per_crawl_PPUOperatorConfigurationResult_output: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorConfigurationResult: JsonSchema = { "properties": { "default_price_usd_microcents": { "type": "integer" @@ -95,7 +95,7 @@ export const pay_per_crawl_PPUOperatorConfigurationResult_output: JsonSchema = { * The schema of `pay-per-crawl_PPUOperatorConfigurationResultResponse` in * responses. */ -export const pay_per_crawl_PPUOperatorConfigurationResultResponse_output: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorConfigurationResultResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerUse/operator/schemas.ts b/src/generated/forge-mcp/payPerUse/operator/schemas.ts index 1dd787f56..1c6361955 100644 --- a/src/generated/forge-mcp/payPerUse/operator/schemas.ts +++ b/src/generated/forge-mcp/payPerUse/operator/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_PPUOperatorConfiguration`. */ -export const pay_per_crawl_PPUOperatorConfiguration: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorConfiguration: JsonSchema = { "properties": { "default_price_usd_microcents": { "description": "Default price in microcents. 1 USD = 100,000,000 microcents. Must be a multiple of 100,000 ($0.001) between $0.001 and $9,999.999.", @@ -30,7 +30,7 @@ export const pay_per_crawl_PPUOperatorConfiguration: JsonSchema = { /** * The schema of `pay-per-crawl_PPUOperatorConfigurationUpdate`. */ -export const pay_per_crawl_PPUOperatorConfigurationUpdate: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorConfigurationUpdate: JsonSchema = { "properties": { "default_price_usd_microcents": { "description": "Default price in microcents. 1 USD = 100,000,000 microcents. Must be a multiple of 100,000 ($0.001) between $0.001 and $9,999.999.", diff --git a/src/generated/forge-mcp/payPerUse/operator/tools.ts b/src/generated/forge-mcp/payPerUse/operator/tools.ts index ea2ebb9a5..06a78534c 100644 --- a/src/generated/forge-mcp/payPerUse/operator/tools.ts +++ b/src/generated/forge-mcp/payPerUse/operator/tools.ts @@ -3,52 +3,60 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, } from "../../outputs.js"; import { - pay_per_crawl_PPUOperatorConfigurationResponse_output, - pay_per_crawl_PPUOperatorConfigurationResultResponse_output, - pay_per_crawl_PPUOperatorConfigurationResult_output, - pay_per_crawl_PPUOperatorConfiguration_output, + pay$$per$$crawl_PPUOperatorConfiguration, + pay$$per$$crawl_PPUOperatorConfigurationResponse, + pay$$per$$crawl_PPUOperatorConfigurationResult, + pay$$per$$crawl_PPUOperatorConfigurationResultResponse, } from "./outputs.js"; import { - pay_per_crawl_PPUOperatorConfiguration, - pay_per_crawl_PPUOperatorConfigurationUpdate, + pay$$per$$crawl_PPUOperatorConfiguration as pay$$per$$crawl_PPUOperatorConfiguration$, + pay$$per$$crawl_PPUOperatorConfigurationUpdate, } from "./schemas.js"; /** - * The tools of `pay_per_use.operator`. + * The tools of `payPerUse.operator`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_use_operator_get_configuration", + name: "payPerUse_operator_getConfiguration", title: "Get pay-per-use operator configuration", description: "Gets the pay-per-use operator configuration for an account, including its read-only non-billable classification timestamp.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUOperatorConfigurationResultResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUOperatorConfigurationResult": pay_per_crawl_PPUOperatorConfigurationResult_output, - "pay-per-crawl_PPUOperatorConfigurationResultResponse": pay_per_crawl_PPUOperatorConfigurationResultResponse_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUOperatorConfigurationResult": pay$$per$$crawl_PPUOperatorConfigurationResult, + "pay-per-crawl_PPUOperatorConfigurationResultResponse": pay$$per$$crawl_PPUOperatorConfigurationResultResponse, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -73,14 +81,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUOperatorConfigurationResult": pay_per_crawl_PPUOperatorConfigurationResult_output, - "pay-per-crawl_PPUOperatorConfigurationResultResponse": pay_per_crawl_PPUOperatorConfigurationResultResponse_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUOperatorConfigurationResult": pay$$per$$crawl_PPUOperatorConfigurationResult, + "pay-per-crawl_PPUOperatorConfigurationResultResponse": pay$$per$$crawl_PPUOperatorConfigurationResultResponse, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ @@ -88,37 +96,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_use_operator_set_configuration", + name: "payPerUse_operator_setConfiguration", title: "Set pay-per-use operator configuration", description: "Creates or updates the pay-per-use operator configuration for an account. Creating an enabled configuration or re-enabling a disabled billable operator requires completed Stripe onboarding, while non-billable operators do not; an already-enabled operator is not affected by later Stripe status changes. A Cloudflare-verified operator's name and default price cannot be changed.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" - }, "body": { "$ref": "#/$defs/pay-per-crawl_PPUOperatorConfiguration", "description": "Pay-per-use operator configuration" + }, + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "pay-per-crawl_PPUOperatorConfiguration": pay_per_crawl_PPUOperatorConfiguration, + "pay-per-crawl_PPUOperatorConfiguration": pay$$per$$crawl_PPUOperatorConfiguration$, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUOperatorConfigurationResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUOperatorConfiguration": pay_per_crawl_PPUOperatorConfiguration_output, - "pay-per-crawl_PPUOperatorConfigurationResponse": pay_per_crawl_PPUOperatorConfigurationResponse_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUOperatorConfiguration": pay$$per$$crawl_PPUOperatorConfiguration, + "pay-per-crawl_PPUOperatorConfigurationResponse": pay$$per$$crawl_PPUOperatorConfigurationResponse, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -146,14 +162,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUOperatorConfiguration": pay_per_crawl_PPUOperatorConfiguration_output, - "pay-per-crawl_PPUOperatorConfigurationResponse": pay_per_crawl_PPUOperatorConfigurationResponse_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUOperatorConfiguration": pay$$per$$crawl_PPUOperatorConfiguration, + "pay-per-crawl_PPUOperatorConfigurationResponse": pay$$per$$crawl_PPUOperatorConfigurationResponse, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ @@ -162,37 +178,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_use_operator_update_configuration", + name: "payPerUse_operator_updateConfiguration", title: "Update pay-per-use operator configuration", description: "Updates one or more fields of an existing pay-per-use operator configuration. Re-enabling a disabled billable operator requires completed Stripe onboarding, while non-billable operators do not; an already-enabled operator is not affected by later Stripe status changes. A Cloudflare-verified operator's name and default price cannot be changed.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" - }, "body": { "$ref": "#/$defs/pay-per-crawl_PPUOperatorConfigurationUpdate", "description": "Pay-per-use operator configuration update" + }, + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "pay-per-crawl_PPUOperatorConfigurationUpdate": pay_per_crawl_PPUOperatorConfigurationUpdate, + "pay-per-crawl_PPUOperatorConfigurationUpdate": pay$$per$$crawl_PPUOperatorConfigurationUpdate, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUOperatorConfigurationResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUOperatorConfiguration": pay_per_crawl_PPUOperatorConfiguration_output, - "pay-per-crawl_PPUOperatorConfigurationResponse": pay_per_crawl_PPUOperatorConfigurationResponse_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUOperatorConfiguration": pay$$per$$crawl_PPUOperatorConfiguration, + "pay-per-crawl_PPUOperatorConfigurationResponse": pay$$per$$crawl_PPUOperatorConfigurationResponse, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -223,14 +247,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUOperatorConfiguration": pay_per_crawl_PPUOperatorConfiguration_output, - "pay-per-crawl_PPUOperatorConfigurationResponse": pay_per_crawl_PPUOperatorConfigurationResponse_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUOperatorConfiguration": pay$$per$$crawl_PPUOperatorConfiguration, + "pay-per-crawl_PPUOperatorConfigurationResponse": pay$$per$$crawl_PPUOperatorConfigurationResponse, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/payPerUse/outputs.ts b/src/generated/forge-mcp/payPerUse/outputs.ts index 89d1c9145..8d77d00f8 100644 --- a/src/generated/forge-mcp/payPerUse/outputs.ts +++ b/src/generated/forge-mcp/payPerUse/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `pay-per-crawl_PPUPrice` in responses. */ -export const pay_per_crawl_PPUPrice_output: JsonSchema = { +export const pay$$per$$crawl_PPUPrice: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -57,7 +57,7 @@ export const pay_per_crawl_PPUPrice_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUPriceResponse` in responses. */ -export const pay_per_crawl_PPUPriceResponse_output: JsonSchema = { +export const pay$$per$$crawl_PPUPriceResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerUse/pricing/outputs.ts b/src/generated/forge-mcp/payPerUse/pricing/outputs.ts index 1ceb51393..b7ca26814 100644 --- a/src/generated/forge-mcp/payPerUse/pricing/outputs.ts +++ b/src/generated/forge-mcp/payPerUse/pricing/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_PPUOperatorPrice` in responses. */ -export const pay_per_crawl_PPUOperatorPrice_output: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorPrice: JsonSchema = { "properties": { "current_price": { "$ref": "#/$defs/pay-per-crawl_PPUPrice" @@ -50,7 +50,7 @@ export const pay_per_crawl_PPUOperatorPrice_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUOperatorPrices` in responses. */ -export const pay_per_crawl_PPUOperatorPrices_output: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorPrices: JsonSchema = { "properties": { "operators": { "items": { @@ -68,7 +68,7 @@ export const pay_per_crawl_PPUOperatorPrices_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUOperatorPricesResponse` in responses. */ -export const pay_per_crawl_PPUOperatorPricesResponse_output: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorPricesResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerUse/pricing/schemas.ts b/src/generated/forge-mcp/payPerUse/pricing/schemas.ts index ed468035f..6240920fe 100644 --- a/src/generated/forge-mcp/payPerUse/pricing/schemas.ts +++ b/src/generated/forge-mcp/payPerUse/pricing/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_PPUPublisherPriceAcceptDefaultRequest`. */ -export const pay_per_crawl_PPUPublisherPriceAcceptDefaultRequest: JsonSchema = { +export const pay$$per$$crawl_PPUPublisherPriceAcceptDefaultRequest: JsonSchema = { "properties": { "action": { "enum": [ @@ -24,7 +24,7 @@ export const pay_per_crawl_PPUPublisherPriceAcceptDefaultRequest: JsonSchema = { /** * The schema of `pay-per-crawl_PPUPublisherPriceActionRequest`. */ -export const pay_per_crawl_PPUPublisherPriceActionRequest: JsonSchema = { +export const pay$$per$$crawl_PPUPublisherPriceActionRequest: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/pay-per-crawl_PPUPublisherPriceProposeRequest" @@ -44,7 +44,7 @@ export const pay_per_crawl_PPUPublisherPriceActionRequest: JsonSchema = { /** * The schema of `pay-per-crawl_PPUPublisherPriceProposeRequest`. */ -export const pay_per_crawl_PPUPublisherPriceProposeRequest: JsonSchema = { +export const pay$$per$$crawl_PPUPublisherPriceProposeRequest: JsonSchema = { "properties": { "action": { "enum": [ @@ -67,7 +67,7 @@ export const pay_per_crawl_PPUPublisherPriceProposeRequest: JsonSchema = { /** * The schema of `pay-per-crawl_PPUPublisherPriceResumeRequest`. */ -export const pay_per_crawl_PPUPublisherPriceResumeRequest: JsonSchema = { +export const pay$$per$$crawl_PPUPublisherPriceResumeRequest: JsonSchema = { "properties": { "action": { "enum": [ @@ -85,7 +85,7 @@ export const pay_per_crawl_PPUPublisherPriceResumeRequest: JsonSchema = { /** * The schema of `pay-per-crawl_PPUPublisherPriceWithdrawRequest`. */ -export const pay_per_crawl_PPUPublisherPriceWithdrawRequest: JsonSchema = { +export const pay$$per$$crawl_PPUPublisherPriceWithdrawRequest: JsonSchema = { "properties": { "action": { "enum": [ diff --git a/src/generated/forge-mcp/payPerUse/pricing/tools.ts b/src/generated/forge-mcp/payPerUse/pricing/tools.ts index ec92b15c6..ffaabfddd 100644 --- a/src/generated/forge-mcp/payPerUse/pricing/tools.ts +++ b/src/generated/forge-mcp/payPerUse/pricing/tools.ts @@ -1,73 +1,86 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, - pay_per_crawl_apiNoResultResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, + pay$$per$$crawl_apiNoResultResponse, } from "../../outputs.js"; import { - pay_per_crawl_PPUPriceResponse_output, - pay_per_crawl_PPUPrice_output, + pay$$per$$crawl_PPUPrice, + pay$$per$$crawl_PPUPriceResponse, } from "../outputs.js"; import { - pay_per_crawl_PPUOperatorPrice_output, - pay_per_crawl_PPUOperatorPricesResponse_output, - pay_per_crawl_PPUOperatorPrices_output, + pay$$per$$crawl_PPUOperatorPrice, + pay$$per$$crawl_PPUOperatorPrices, + pay$$per$$crawl_PPUOperatorPricesResponse, } from "./outputs.js"; import { - pay_per_crawl_PPUPublisherPriceAcceptDefaultRequest, - pay_per_crawl_PPUPublisherPriceActionRequest, - pay_per_crawl_PPUPublisherPriceProposeRequest, - pay_per_crawl_PPUPublisherPriceResumeRequest, - pay_per_crawl_PPUPublisherPriceWithdrawRequest, + pay$$per$$crawl_PPUPublisherPriceAcceptDefaultRequest, + pay$$per$$crawl_PPUPublisherPriceActionRequest, + pay$$per$$crawl_PPUPublisherPriceProposeRequest, + pay$$per$$crawl_PPUPublisherPriceResumeRequest, + pay$$per$$crawl_PPUPublisherPriceWithdrawRequest, } from "./schemas.js"; /** - * The tools of `pay_per_use.pricing`. + * The tools of `payPerUse.pricing`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_use_pricing_list_operators", + name: "payPerUse_pricing_listOperators", title: "List pay-per-use operators", description: "Lists a paginated set of enabled pay-per-use operators with verified names, matching billing classification, and their prices for a zone.", inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "description": "Page number.", - "type": "integer" + "path": { + "properties": { + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "per_page": { - "default": 100, - "description": "Results per page.", - "type": "integer" - }, - "zone_id": { - "description": "zone id", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number.", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUOperatorPricesResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUOperatorPrice": pay_per_crawl_PPUOperatorPrice_output, - "pay-per-crawl_PPUOperatorPrices": pay_per_crawl_PPUOperatorPrices_output, - "pay-per-crawl_PPUOperatorPricesResponse": pay_per_crawl_PPUOperatorPricesResponse_output, - "pay-per-crawl_PPUPrice": pay_per_crawl_PPUPrice_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUOperatorPrice": pay$$per$$crawl_PPUOperatorPrice, + "pay-per-crawl_PPUOperatorPrices": pay$$per$$crawl_PPUOperatorPrices, + "pay-per-crawl_PPUOperatorPricesResponse": pay$$per$$crawl_PPUOperatorPricesResponse, + "pay-per-crawl_PPUPrice": pay$$per$$crawl_PPUPrice, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -95,54 +108,62 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUOperatorPrice": pay_per_crawl_PPUOperatorPrice_output, - "pay-per-crawl_PPUOperatorPrices": pay_per_crawl_PPUOperatorPrices_output, - "pay-per-crawl_PPUOperatorPricesResponse": pay_per_crawl_PPUOperatorPricesResponse_output, - "pay-per-crawl_PPUPrice": pay_per_crawl_PPUPrice_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUOperatorPrice": pay$$per$$crawl_PPUOperatorPrice, + "pay-per-crawl_PPUOperatorPrices": pay$$per$$crawl_PPUOperatorPrices, + "pay-per-crawl_PPUOperatorPricesResponse": pay$$per$$crawl_PPUOperatorPricesResponse, + "pay-per-crawl_PPUPrice": pay$$per$$crawl_PPUPrice, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/pay-per-use/operators`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "pay_per_use_pricing_opt_out_operator_price", + name: "payPerUse_pricing_optOutOperatorPrice", title: "Opt out of a pay-per-use operator price", description: "Opts a zone out by scheduling the current accepted pay-per-use operator price to expire at the start of the next UTC month. Use the withdraw action for a pending proposal.", inputSchema: { type: "object", properties: { - "operator_id": { - "description": "Stable pay-per-use operator identifier.", - "type": "string" - }, - "zone_id": { - "description": "zone id", - "type": "string" + "path": { + "properties": { + "operator_id": { + "description": "Stable pay-per-use operator identifier.", + "type": "string" + }, + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id", + "operator_id" + ], + "type": "object" } }, required: [ - "zone_id", - "operator_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, annotations: { @@ -170,13 +191,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, request: (args) => ({ @@ -184,7 +205,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_use_pricing_set_operator_price", + name: "payPerUse_pricing_setOperatorPrice", title: "Set a pay-per-use operator price", description: "Proposes a required price, withdraws a pending proposal, accepts an operator's default pay-per-use price, or resumes an accepted price before its scheduled expiry. Propose, accept_default, and resume require an enabled operator with a verified name, an enabled publisher zone, and matching billing classifications.", inputSchema: { @@ -194,36 +215,44 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/pay-per-crawl_PPUPublisherPriceActionRequest", "description": "Pay-per-use publisher price action" }, - "operator_id": { - "description": "Stable pay-per-use operator identifier.", - "type": "string" - }, - "zone_id": { - "description": "zone id", - "type": "string" + "path": { + "properties": { + "operator_id": { + "description": "Stable pay-per-use operator identifier.", + "type": "string" + }, + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id", + "operator_id" + ], + "type": "object" } }, required: [ - "zone_id", - "operator_id", + "path", "body" ], $defs: { - "pay-per-crawl_PPUPublisherPriceAcceptDefaultRequest": pay_per_crawl_PPUPublisherPriceAcceptDefaultRequest, - "pay-per-crawl_PPUPublisherPriceActionRequest": pay_per_crawl_PPUPublisherPriceActionRequest, - "pay-per-crawl_PPUPublisherPriceProposeRequest": pay_per_crawl_PPUPublisherPriceProposeRequest, - "pay-per-crawl_PPUPublisherPriceResumeRequest": pay_per_crawl_PPUPublisherPriceResumeRequest, - "pay-per-crawl_PPUPublisherPriceWithdrawRequest": pay_per_crawl_PPUPublisherPriceWithdrawRequest, + "pay-per-crawl_PPUPublisherPriceAcceptDefaultRequest": pay$$per$$crawl_PPUPublisherPriceAcceptDefaultRequest, + "pay-per-crawl_PPUPublisherPriceActionRequest": pay$$per$$crawl_PPUPublisherPriceActionRequest, + "pay-per-crawl_PPUPublisherPriceProposeRequest": pay$$per$$crawl_PPUPublisherPriceProposeRequest, + "pay-per-crawl_PPUPublisherPriceResumeRequest": pay$$per$$crawl_PPUPublisherPriceResumeRequest, + "pay-per-crawl_PPUPublisherPriceWithdrawRequest": pay$$per$$crawl_PPUPublisherPriceWithdrawRequest, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUPriceResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUPrice": pay_per_crawl_PPUPrice_output, - "pay-per-crawl_PPUPriceResponse": pay_per_crawl_PPUPriceResponse_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUPrice": pay$$per$$crawl_PPUPrice, + "pay-per-crawl_PPUPriceResponse": pay$$per$$crawl_PPUPriceResponse, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -254,14 +283,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUPrice": pay_per_crawl_PPUPrice_output, - "pay-per-crawl_PPUPriceResponse": pay_per_crawl_PPUPriceResponse_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUPrice": pay$$per$$crawl_PPUPrice, + "pay-per-crawl_PPUPriceResponse": pay$$per$$crawl_PPUPriceResponse, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/payPerUse/proposals/outputs.ts b/src/generated/forge-mcp/payPerUse/proposals/outputs.ts index 23f46067f..b63ca227c 100644 --- a/src/generated/forge-mcp/payPerUse/proposals/outputs.ts +++ b/src/generated/forge-mcp/payPerUse/proposals/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_PPUProposal` in responses. */ -export const pay_per_crawl_PPUProposal_output: JsonSchema = { +export const pay$$per$$crawl_PPUProposal: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -52,7 +52,7 @@ export const pay_per_crawl_PPUProposal_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUProposals` in responses. */ -export const pay_per_crawl_PPUProposals_output: JsonSchema = { +export const pay$$per$$crawl_PPUProposals: JsonSchema = { "properties": { "proposals": { "items": { @@ -70,7 +70,7 @@ export const pay_per_crawl_PPUProposals_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUProposalsResponse` in responses. */ -export const pay_per_crawl_PPUProposalsResponse_output: JsonSchema = { +export const pay$$per$$crawl_PPUProposalsResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerUse/proposals/schemas.ts b/src/generated/forge-mcp/payPerUse/proposals/schemas.ts index 95769a12e..769525697 100644 --- a/src/generated/forge-mcp/payPerUse/proposals/schemas.ts +++ b/src/generated/forge-mcp/payPerUse/proposals/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_PPUOperatorProposalActionRequest`. */ -export const pay_per_crawl_PPUOperatorProposalActionRequest: JsonSchema = { +export const pay$$per$$crawl_PPUOperatorProposalActionRequest: JsonSchema = { "properties": { "action": { "enum": [ diff --git a/src/generated/forge-mcp/payPerUse/proposals/tools.ts b/src/generated/forge-mcp/payPerUse/proposals/tools.ts index a549fb507..ea8060dfc 100644 --- a/src/generated/forge-mcp/payPerUse/proposals/tools.ts +++ b/src/generated/forge-mcp/payPerUse/proposals/tools.ts @@ -1,62 +1,70 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, } from "../../outputs.js"; import { - pay_per_crawl_PPUPriceResponse_output, - pay_per_crawl_PPUPrice_output, + pay$$per$$crawl_PPUPrice, + pay$$per$$crawl_PPUPriceResponse, } from "../outputs.js"; import { - pay_per_crawl_PPUProposal_output, - pay_per_crawl_PPUProposalsResponse_output, - pay_per_crawl_PPUProposals_output, + pay$$per$$crawl_PPUProposal, + pay$$per$$crawl_PPUProposals, + pay$$per$$crawl_PPUProposalsResponse, } from "./outputs.js"; -import { pay_per_crawl_PPUOperatorProposalActionRequest } from "./schemas.js"; +import { pay$$per$$crawl_PPUOperatorProposalActionRequest } from "./schemas.js"; /** - * The tools of `pay_per_use.proposals`. + * The tools of `payPerUse.proposals`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_use_proposals_decide", + name: "payPerUse_proposals_decide", title: "Decide a pay-per-use price proposal", description: "Accepts or rejects the pending pay-per-use price proposal identified by price_id in the request body. Acceptance requires an enabled operator with a verified name, an enabled publisher zone, and matching billing classifications; rejection remains available for cleanup.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" - }, "body": { "$ref": "#/$defs/pay-per-crawl_PPUOperatorProposalActionRequest", "description": "Pay-per-use operator proposal decision" + }, + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "pay-per-crawl_PPUOperatorProposalActionRequest": pay_per_crawl_PPUOperatorProposalActionRequest, + "pay-per-crawl_PPUOperatorProposalActionRequest": pay$$per$$crawl_PPUOperatorProposalActionRequest, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUPriceResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUPrice": pay_per_crawl_PPUPrice_output, - "pay-per-crawl_PPUPriceResponse": pay_per_crawl_PPUPriceResponse_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUPrice": pay$$per$$crawl_PPUPrice, + "pay-per-crawl_PPUPriceResponse": pay$$per$$crawl_PPUPriceResponse, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -87,14 +95,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUPrice": pay_per_crawl_PPUPrice_output, - "pay-per-crawl_PPUPriceResponse": pay_per_crawl_PPUPriceResponse_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUPrice": pay$$per$$crawl_PPUPrice, + "pay-per-crawl_PPUPriceResponse": pay$$per$$crawl_PPUPriceResponse, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ @@ -103,40 +111,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_use_proposals_list", + name: "payPerUse_proposals_list", title: "List pay-per-use price proposals", description: "Lists a paginated set of outstanding pay-per-use publisher price proposals for an operator. Listing remains available while the operator is disabled or its name is unverified so proposals can be rejected.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 100, - "description": "Results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number.", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUProposalsResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUProposal": pay_per_crawl_PPUProposal_output, - "pay-per-crawl_PPUProposals": pay_per_crawl_PPUProposals_output, - "pay-per-crawl_PPUProposalsResponse": pay_per_crawl_PPUProposalsResponse_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUProposal": pay$$per$$crawl_PPUProposal, + "pay-per-crawl_PPUProposals": pay$$per$$crawl_PPUProposals, + "pay-per-crawl_PPUProposalsResponse": pay$$per$$crawl_PPUProposalsResponse, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -164,22 +185,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUProposal": pay_per_crawl_PPUProposal_output, - "pay-per-crawl_PPUProposals": pay_per_crawl_PPUProposals_output, - "pay-per-crawl_PPUProposalsResponse": pay_per_crawl_PPUProposalsResponse_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUProposal": pay$$per$$crawl_PPUProposal, + "pay-per-crawl_PPUProposals": pay$$per$$crawl_PPUProposals, + "pay-per-crawl_PPUProposalsResponse": pay$$per$$crawl_PPUProposalsResponse, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pay-per-use/proposals`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/payPerUse/usageStats/outputs.ts b/src/generated/forge-mcp/payPerUse/usageStats/outputs.ts index 39962e3d9..c89c17d34 100644 --- a/src/generated/forge-mcp/payPerUse/usageStats/outputs.ts +++ b/src/generated/forge-mcp/payPerUse/usageStats/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_PPUUsageStats` in responses. */ -export const pay_per_crawl_PPUUsageStats_output: JsonSchema = { +export const pay$$per$$crawl_PPUUsageStats: JsonSchema = { "properties": { "buyers": { "items": { @@ -65,7 +65,7 @@ export const pay_per_crawl_PPUUsageStats_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUUsageStatsBuyer` in responses. */ -export const pay_per_crawl_PPUUsageStatsBuyer_output: JsonSchema = { +export const pay$$per$$crawl_PPUUsageStatsBuyer: JsonSchema = { "properties": { "operator_id": { "type": "string" @@ -92,7 +92,7 @@ export const pay_per_crawl_PPUUsageStatsBuyer_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUUsageStatsDataPoint` in responses. */ -export const pay_per_crawl_PPUUsageStatsDataPoint_output: JsonSchema = { +export const pay$$per$$crawl_PPUUsageStatsDataPoint: JsonSchema = { "properties": { "operator_id": { "type": "string" @@ -124,7 +124,7 @@ export const pay_per_crawl_PPUUsageStatsDataPoint_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUUsageStatsResponse` in responses. */ -export const pay_per_crawl_PPUUsageStatsResponse_output: JsonSchema = { +export const pay$$per$$crawl_PPUUsageStatsResponse: JsonSchema = { "properties": { "result": { "$ref": "#/$defs/pay-per-crawl_PPUUsageStats" @@ -146,7 +146,7 @@ export const pay_per_crawl_PPUUsageStatsResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUUsageStatsTotals` in responses. */ -export const pay_per_crawl_PPUUsageStatsTotals_output: JsonSchema = { +export const pay$$per$$crawl_PPUUsageStatsTotals: JsonSchema = { "properties": { "total_price_usd_microcents": { "type": "integer" diff --git a/src/generated/forge-mcp/payPerUse/usageStats/tools.ts b/src/generated/forge-mcp/payPerUse/usageStats/tools.ts index 7a6a962e0..4290a0439 100644 --- a/src/generated/forge-mcp/payPerUse/usageStats/tools.ts +++ b/src/generated/forge-mcp/payPerUse/usageStats/tools.ts @@ -1,81 +1,97 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_apiErrorResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_apiErrorResponse, } from "../../outputs.js"; import { - pay_per_crawl_PPUUsageStatsBuyer_output, - pay_per_crawl_PPUUsageStatsDataPoint_output, - pay_per_crawl_PPUUsageStatsResponse_output, - pay_per_crawl_PPUUsageStatsTotals_output, - pay_per_crawl_PPUUsageStats_output, + pay$$per$$crawl_PPUUsageStats, + pay$$per$$crawl_PPUUsageStatsBuyer, + pay$$per$$crawl_PPUUsageStatsDataPoint, + pay$$per$$crawl_PPUUsageStatsResponse, + pay$$per$$crawl_PPUUsageStatsTotals, } from "./outputs.js"; /** - * The tools of `pay_per_use.usage_stats`. + * The tools of `payPerUse.usageStats`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_use_usage_stats_get_account", + name: "payPerUse_usageStats_getAccount", title: "Get pay-per-use usage statistics", description: "Returns reported usage and the full gross value across all Pay Per Use zones in a publisher account or zone over an explicit UTC range of at most 31 days. Usage from every domain and snapshotted price is summed by buyer. Ranges up to and including 7 days use hourly data points; longer ranges use daily data points. Because source data is aggregated hourly, both requested bounds are rounded down to the selected UTC interval and the resolved bounds are returned in the response. The resolved range must contain at least one complete interval. Empty periods are omitted. Buyers and their data points are paginated, while totals cover every buyer in the range. Values are raw usage counts and USD microcents; total_price_usd_microcents is the full value before the publisher revenue share.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" + "type": "object" }, - "account_or_zone_id": { - "description": "The account ID or zone ID, as selected by account_or_zone.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number.", - "type": "integer" - }, - "per_page": { - "default": 100, - "description": "Results per page.", - "type": "integer" - }, - "since": { - "description": "Requested inclusive beginning of the statistics range as an RFC3339 timestamp. Rounded down to the selected UTC interval.", - "format": "date-time", - "type": "string" - }, - "until": { - "description": "Requested exclusive end of the statistics range as an RFC3339 timestamp. Rounded down to the selected UTC interval. The requested duration from since cannot exceed 31 days.", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number.", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Results per page.", + "type": "integer" + }, + "since": { + "description": "Requested inclusive beginning of the statistics range as an RFC3339 timestamp. Rounded down to the selected UTC interval.", + "format": "date-time", + "type": "string" + }, + "until": { + "description": "Requested exclusive end of the statistics range as an RFC3339 timestamp. Rounded down to the selected UTC interval. The requested duration from since cannot exceed 31 days.", + "format": "date-time", + "type": "string" + } + }, + "required": [ + "since", + "until" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "since", - "until" + "path", + "query" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUUsageStatsResponse", $defs: { - "pay-per-crawl_PPUUsageStats": pay_per_crawl_PPUUsageStats_output, - "pay-per-crawl_PPUUsageStatsBuyer": pay_per_crawl_PPUUsageStatsBuyer_output, - "pay-per-crawl_PPUUsageStatsDataPoint": pay_per_crawl_PPUUsageStatsDataPoint_output, - "pay-per-crawl_PPUUsageStatsResponse": pay_per_crawl_PPUUsageStatsResponse_output, - "pay-per-crawl_PPUUsageStatsTotals": pay_per_crawl_PPUUsageStatsTotals_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, + "pay-per-crawl_PPUUsageStats": pay$$per$$crawl_PPUUsageStats, + "pay-per-crawl_PPUUsageStatsBuyer": pay$$per$$crawl_PPUUsageStatsBuyer, + "pay-per-crawl_PPUUsageStatsDataPoint": pay$$per$$crawl_PPUUsageStatsDataPoint, + "pay-per-crawl_PPUUsageStatsResponse": pay$$per$$crawl_PPUUsageStatsResponse, + "pay-per-crawl_PPUUsageStatsTotals": pay$$per$$crawl_PPUUsageStatsTotals, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, }, }, annotations: { @@ -103,24 +119,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_PPUUsageStats": pay_per_crawl_PPUUsageStats_output, - "pay-per-crawl_PPUUsageStatsBuyer": pay_per_crawl_PPUUsageStatsBuyer_output, - "pay-per-crawl_PPUUsageStatsDataPoint": pay_per_crawl_PPUUsageStatsDataPoint_output, - "pay-per-crawl_PPUUsageStatsResponse": pay_per_crawl_PPUUsageStatsResponse_output, - "pay-per-crawl_PPUUsageStatsTotals": pay_per_crawl_PPUUsageStatsTotals_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_PPUUsageStats": pay$$per$$crawl_PPUUsageStats, + "pay-per-crawl_PPUUsageStatsBuyer": pay$$per$$crawl_PPUUsageStatsBuyer, + "pay-per-crawl_PPUUsageStatsDataPoint": pay$$per$$crawl_PPUUsageStatsDataPoint, + "pay-per-crawl_PPUUsageStatsResponse": pay$$per$$crawl_PPUUsageStatsResponse, + "pay-per-crawl_PPUUsageStatsTotals": pay$$per$$crawl_PPUUsageStatsTotals, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/pay-per-use/usage-stats`, query: [ - ["since", args["since"], true], - ["until", args["until"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/payPerUse/zones/outputs.ts b/src/generated/forge-mcp/payPerUse/zones/outputs.ts index 54b5148eb..cbd950b1c 100644 --- a/src/generated/forge-mcp/payPerUse/zones/outputs.ts +++ b/src/generated/forge-mcp/payPerUse/zones/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_PPUZoneCanBeEnabled` in responses. */ -export const pay_per_crawl_PPUZoneCanBeEnabled_output: JsonSchema = { +export const pay$$per$$crawl_PPUZoneCanBeEnabled: JsonSchema = { "properties": { "can_be_enabled": { "type": "boolean" @@ -65,7 +65,7 @@ export const pay_per_crawl_PPUZoneCanBeEnabled_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUZoneCanBeEnabledResponse` in responses. */ -export const pay_per_crawl_PPUZoneCanBeEnabledResponse_output: JsonSchema = { +export const pay$$per$$crawl_PPUZoneCanBeEnabledResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -95,7 +95,7 @@ export const pay_per_crawl_PPUZoneCanBeEnabledResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUZoneConfiguration` in responses. */ -export const pay_per_crawl_PPUZoneConfiguration_output: JsonSchema = { +export const pay$$per$$crawl_PPUZoneConfiguration: JsonSchema = { "properties": { "can_be_enabled": { "type": "boolean" @@ -138,7 +138,7 @@ export const pay_per_crawl_PPUZoneConfiguration_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUZoneConfigurationResponse` in responses. */ -export const pay_per_crawl_PPUZoneConfigurationResponse_output: JsonSchema = { +export const pay$$per$$crawl_PPUZoneConfigurationResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -168,7 +168,7 @@ export const pay_per_crawl_PPUZoneConfigurationResponse_output: JsonSchema = { /** * The schema of `pay-per-crawl_PPUZoneConfigurationResult` in responses. */ -export const pay_per_crawl_PPUZoneConfigurationResult_output: JsonSchema = { +export const pay$$per$$crawl_PPUZoneConfigurationResult: JsonSchema = { "allOf": [ { "$ref": "#/$defs/pay-per-crawl_PPUZoneConfiguration" @@ -199,7 +199,7 @@ export const pay_per_crawl_PPUZoneConfigurationResult_output: JsonSchema = { * The schema of `pay-per-crawl_PPUZoneConfigurationResultResponse` in * responses. */ -export const pay_per_crawl_PPUZoneConfigurationResultResponse_output: JsonSchema = { +export const pay$$per$$crawl_PPUZoneConfigurationResultResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/payPerUse/zones/schemas.ts b/src/generated/forge-mcp/payPerUse/zones/schemas.ts index 6148c5ad9..c13ea32eb 100644 --- a/src/generated/forge-mcp/payPerUse/zones/schemas.ts +++ b/src/generated/forge-mcp/payPerUse/zones/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `pay-per-crawl_PPUZoneCanBeEnabledUpdate`. */ -export const pay_per_crawl_PPUZoneCanBeEnabledUpdate: JsonSchema = { +export const pay$$per$$crawl_PPUZoneCanBeEnabledUpdate: JsonSchema = { "properties": { "can_be_enabled": { "type": "boolean" @@ -24,7 +24,7 @@ export const pay_per_crawl_PPUZoneCanBeEnabledUpdate: JsonSchema = { /** * The schema of `pay-per-crawl_PPUZoneConfigurationUpdate`. */ -export const pay_per_crawl_PPUZoneConfigurationUpdate: JsonSchema = { +export const pay$$per$$crawl_PPUZoneConfigurationUpdate: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -36,7 +36,7 @@ export const pay_per_crawl_PPUZoneConfigurationUpdate: JsonSchema = { /** * The schema of `pay-per-crawl_PPUZonesCanBeEnabledPayload`. */ -export const pay_per_crawl_PPUZonesCanBeEnabledPayload: JsonSchema = { +export const pay$$per$$crawl_PPUZonesCanBeEnabledPayload: JsonSchema = { "properties": { "zones": { "items": { diff --git a/src/generated/forge-mcp/payPerUse/zones/tools.ts b/src/generated/forge-mcp/payPerUse/zones/tools.ts index 470052f14..7c8eb3dfc 100644 --- a/src/generated/forge-mcp/payPerUse/zones/tools.ts +++ b/src/generated/forge-mcp/payPerUse/zones/tools.ts @@ -3,56 +3,64 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - pay_per_crawl_ErrorSource_output, - pay_per_crawl_Msg_output, - pay_per_crawl_RESTError_output, - pay_per_crawl_ResultInfo_output, - pay_per_crawl_Source_output, - pay_per_crawl_apiErrorResponse_output, - pay_per_crawl_apiNoResultResponse_output, + pay$$per$$crawl_ErrorSource, + pay$$per$$crawl_Msg, + pay$$per$$crawl_RESTError, + pay$$per$$crawl_ResultInfo, + pay$$per$$crawl_Source, + pay$$per$$crawl_apiErrorResponse, + pay$$per$$crawl_apiNoResultResponse, } from "../../outputs.js"; import { - pay_per_crawl_PPUZoneCanBeEnabledResponse_output, - pay_per_crawl_PPUZoneCanBeEnabled_output, - pay_per_crawl_PPUZoneConfigurationResponse_output, - pay_per_crawl_PPUZoneConfigurationResultResponse_output, - pay_per_crawl_PPUZoneConfigurationResult_output, - pay_per_crawl_PPUZoneConfiguration_output, + pay$$per$$crawl_PPUZoneCanBeEnabled, + pay$$per$$crawl_PPUZoneCanBeEnabledResponse, + pay$$per$$crawl_PPUZoneConfiguration, + pay$$per$$crawl_PPUZoneConfigurationResponse, + pay$$per$$crawl_PPUZoneConfigurationResult, + pay$$per$$crawl_PPUZoneConfigurationResultResponse, } from "./outputs.js"; import { - pay_per_crawl_PPUZoneCanBeEnabledUpdate, - pay_per_crawl_PPUZoneConfigurationUpdate, - pay_per_crawl_PPUZonesCanBeEnabledPayload, + pay$$per$$crawl_PPUZoneCanBeEnabledUpdate, + pay$$per$$crawl_PPUZoneConfigurationUpdate, + pay$$per$$crawl_PPUZonesCanBeEnabledPayload, } from "./schemas.js"; /** - * The tools of `pay_per_use.zones`. + * The tools of `payPerUse.zones`. */ export const tools: readonly Tool[] = [ { - name: "pay_per_use_zones_get_can_be_enabled", + name: "payPerUse_zones_getCanBeEnabled", title: "Get pay-per-use zone eligibility", description: "Gets whether pay-per-use can be enabled for a zone and the current zone-level grace period.", inputSchema: { type: "object", properties: { - "zone_id": { - "description": "zone id", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUZoneCanBeEnabledResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUZoneCanBeEnabled": pay_per_crawl_PPUZoneCanBeEnabled_output, - "pay-per-crawl_PPUZoneCanBeEnabledResponse": pay_per_crawl_PPUZoneCanBeEnabledResponse_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUZoneCanBeEnabled": pay$$per$$crawl_PPUZoneCanBeEnabled, + "pay-per-crawl_PPUZoneCanBeEnabledResponse": pay$$per$$crawl_PPUZoneCanBeEnabledResponse, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -74,14 +82,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUZoneCanBeEnabled": pay_per_crawl_PPUZoneCanBeEnabled_output, - "pay-per-crawl_PPUZoneCanBeEnabledResponse": pay_per_crawl_PPUZoneCanBeEnabledResponse_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUZoneCanBeEnabled": pay$$per$$crawl_PPUZoneCanBeEnabled, + "pay-per-crawl_PPUZoneCanBeEnabledResponse": pay$$per$$crawl_PPUZoneCanBeEnabledResponse, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ @@ -89,30 +97,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_use_zones_get_configuration", + name: "payPerUse_zones_getConfiguration", title: "Get pay-per-use zone configuration", description: "Gets the pay-per-use configuration, zone-level grace period, and read-only non-billable classification timestamp for a zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "description": "zone id", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUZoneConfigurationResultResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUZoneConfiguration": pay_per_crawl_PPUZoneConfiguration_output, - "pay-per-crawl_PPUZoneConfigurationResult": pay_per_crawl_PPUZoneConfigurationResult_output, - "pay-per-crawl_PPUZoneConfigurationResultResponse": pay_per_crawl_PPUZoneConfigurationResultResponse_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUZoneConfiguration": pay$$per$$crawl_PPUZoneConfiguration, + "pay-per-crawl_PPUZoneConfigurationResult": pay$$per$$crawl_PPUZoneConfigurationResult, + "pay-per-crawl_PPUZoneConfigurationResultResponse": pay$$per$$crawl_PPUZoneConfigurationResultResponse, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -134,15 +150,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUZoneConfiguration": pay_per_crawl_PPUZoneConfiguration_output, - "pay-per-crawl_PPUZoneConfigurationResult": pay_per_crawl_PPUZoneConfigurationResult_output, - "pay-per-crawl_PPUZoneConfigurationResultResponse": pay_per_crawl_PPUZoneConfigurationResultResponse_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUZoneConfiguration": pay$$per$$crawl_PPUZoneConfiguration, + "pay-per-crawl_PPUZoneConfigurationResult": pay$$per$$crawl_PPUZoneConfigurationResult, + "pay-per-crawl_PPUZoneConfigurationResultResponse": pay$$per$$crawl_PPUZoneConfigurationResultResponse, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ @@ -150,37 +166,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_use_zones_set_can_be_enabled", + name: "payPerUse_zones_setCanBeEnabled", title: "Set pay-per-use zone eligibility", description: "Sets pay-per-use eligibility for a list of account zones. An omitted can_be_enabled value leaves that zone unchanged. Revoking eligibility disables the zone immediately while existing accepted licenses remain active until the start of the next UTC month.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "account id", - "type": "string" - }, "body": { "$ref": "#/$defs/pay-per-crawl_PPUZonesCanBeEnabledPayload", "description": "Pay-per-use zone eligibility updates" + }, + "path": { + "properties": { + "account_id": { + "description": "account id", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "pay-per-crawl_PPUZoneCanBeEnabledUpdate": pay_per_crawl_PPUZoneCanBeEnabledUpdate, - "pay-per-crawl_PPUZonesCanBeEnabledPayload": pay_per_crawl_PPUZonesCanBeEnabledPayload, + "pay-per-crawl_PPUZoneCanBeEnabledUpdate": pay$$per$$crawl_PPUZoneCanBeEnabledUpdate, + "pay-per-crawl_PPUZonesCanBeEnabledPayload": pay$$per$$crawl_PPUZonesCanBeEnabledPayload, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, annotations: { @@ -205,13 +229,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, - "pay-per-crawl_apiNoResultResponse": pay_per_crawl_apiNoResultResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, + "pay-per-crawl_apiNoResultResponse": pay$$per$$crawl_apiNoResultResponse, }, }, request: (args) => ({ @@ -220,7 +244,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "pay_per_use_zones_update_configuration", + name: "payPerUse_zones_updateConfiguration", title: "Update pay-per-use zone configuration", description: "Enables or disables an existing pay-per-use zone configuration. Omitting enabled leaves the zone unchanged. Enabling a disabled billable zone requires completed publisher Stripe onboarding, while non-billable zones do not; an already-enabled zone is not affected by later Stripe status changes. Disabling starts a disabled period immediately while existing accepted licenses remain active until the start of the next UTC month; re-enabling before expiry clears the schedule and restores those licenses.", inputSchema: { @@ -230,27 +254,35 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/pay-per-crawl_PPUZoneConfigurationUpdate", "description": "Pay-per-use zone configuration update" }, - "zone_id": { - "description": "zone id", - "type": "string" + "path": { + "properties": { + "zone_id": { + "description": "zone id", + "type": "string" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "pay-per-crawl_PPUZoneConfigurationUpdate": pay_per_crawl_PPUZoneConfigurationUpdate, + "pay-per-crawl_PPUZoneConfigurationUpdate": pay$$per$$crawl_PPUZoneConfigurationUpdate, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUZoneConfigurationResponse", $defs: { - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUZoneConfiguration": pay_per_crawl_PPUZoneConfiguration_output, - "pay-per-crawl_PPUZoneConfigurationResponse": pay_per_crawl_PPUZoneConfigurationResponse_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUZoneConfiguration": pay$$per$$crawl_PPUZoneConfiguration, + "pay-per-crawl_PPUZoneConfigurationResponse": pay$$per$$crawl_PPUZoneConfigurationResponse, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, }, }, annotations: { @@ -281,14 +313,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_ErrorSource": pay_per_crawl_ErrorSource_output, - "pay-per-crawl_Msg": pay_per_crawl_Msg_output, - "pay-per-crawl_PPUZoneConfiguration": pay_per_crawl_PPUZoneConfiguration_output, - "pay-per-crawl_PPUZoneConfigurationResponse": pay_per_crawl_PPUZoneConfigurationResponse_output, - "pay-per-crawl_RESTError": pay_per_crawl_RESTError_output, - "pay-per-crawl_ResultInfo": pay_per_crawl_ResultInfo_output, - "pay-per-crawl_Source": pay_per_crawl_Source_output, - "pay-per-crawl_apiErrorResponse": pay_per_crawl_apiErrorResponse_output, + "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, + "pay-per-crawl_Msg": pay$$per$$crawl_Msg, + "pay-per-crawl_PPUZoneConfiguration": pay$$per$$crawl_PPUZoneConfiguration, + "pay-per-crawl_PPUZoneConfigurationResponse": pay$$per$$crawl_PPUZoneConfigurationResponse, + "pay-per-crawl_RESTError": pay$$per$$crawl_RESTError, + "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, + "pay-per-crawl_Source": pay$$per$$crawl_Source, + "pay-per-crawl_apiErrorResponse": pay$$per$$crawl_apiErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pipelines/outputs.ts b/src/generated/forge-mcp/pipelines/outputs.ts index 1b3bbf5ee..f59a81122 100644 --- a/src/generated/forge-mcp/pipelines/outputs.ts +++ b/src/generated/forge-mcp/pipelines/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `cloudflare-pipelines_ConnectionSchema` in responses. */ -export const cloudflare_pipelines_ConnectionSchema_output: JsonSchema = { +export const cloudflare$$pipelines_ConnectionSchema: JsonSchema = { "properties": { "fields": { "items": { @@ -31,7 +31,7 @@ export const cloudflare_pipelines_ConnectionSchema_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_DecimalEncoding` in responses. */ -export const cloudflare_pipelines_DecimalEncoding_output: JsonSchema = { +export const cloudflare$$pipelines_DecimalEncoding: JsonSchema = { "enum": [ "number", "string", @@ -43,7 +43,7 @@ export const cloudflare_pipelines_DecimalEncoding_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_FieldType` in responses. */ -export const cloudflare_pipelines_FieldType_output: JsonSchema = { +export const cloudflare$$pipelines_FieldType: JsonSchema = { "oneOf": [ { "properties": { @@ -226,7 +226,7 @@ export const cloudflare_pipelines_FieldType_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_JsonFormat` in responses. */ -export const cloudflare_pipelines_JsonFormat_output: JsonSchema = { +export const cloudflare$$pipelines_JsonFormat: JsonSchema = { "properties": { "decimal_encoding": { "$ref": "#/$defs/cloudflare-pipelines_DecimalEncoding" @@ -244,7 +244,7 @@ export const cloudflare_pipelines_JsonFormat_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_ListField` in responses. */ -export const cloudflare_pipelines_ListField_output: JsonSchema = { +export const cloudflare$$pipelines_ListField: JsonSchema = { "properties": { "items": { "$ref": "#/$defs/cloudflare-pipelines_SourceField" @@ -259,7 +259,7 @@ export const cloudflare_pipelines_ListField_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_ParquetCompression` in responses. */ -export const cloudflare_pipelines_ParquetCompression_output: JsonSchema = { +export const cloudflare$$pipelines_ParquetCompression: JsonSchema = { "enum": [ "uncompressed", "snappy", @@ -273,7 +273,7 @@ export const cloudflare_pipelines_ParquetCompression_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_ParquetFormat` in responses. */ -export const cloudflare_pipelines_ParquetFormat_output: JsonSchema = { +export const cloudflare$$pipelines_ParquetFormat: JsonSchema = { "properties": { "compression": { "$ref": "#/$defs/cloudflare-pipelines_ParquetCompression" @@ -295,7 +295,7 @@ export const cloudflare_pipelines_ParquetFormat_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_PipelineEdge` in responses. */ -export const cloudflare_pipelines_PipelineEdge_output: JsonSchema = { +export const cloudflare$$pipelines_PipelineEdge: JsonSchema = { "properties": { "dest_id": { "type": "integer" @@ -326,7 +326,7 @@ export const cloudflare_pipelines_PipelineEdge_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_PipelineGraph` in responses. */ -export const cloudflare_pipelines_PipelineGraph_output: JsonSchema = { +export const cloudflare$$pipelines_PipelineGraph: JsonSchema = { "properties": { "edges": { "items": { @@ -351,7 +351,7 @@ export const cloudflare_pipelines_PipelineGraph_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_PipelineNode` in responses. */ -export const cloudflare_pipelines_PipelineNode_output: JsonSchema = { +export const cloudflare$$pipelines_PipelineNode: JsonSchema = { "properties": { "description": { "type": "string" @@ -378,7 +378,7 @@ export const cloudflare_pipelines_PipelineNode_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_SourceField` in responses. */ -export const cloudflare_pipelines_SourceField_output: JsonSchema = { +export const cloudflare$$pipelines_SourceField: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cloudflare-pipelines_FieldType" @@ -416,7 +416,7 @@ export const cloudflare_pipelines_SourceField_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_StructField` in responses. */ -export const cloudflare_pipelines_StructField_output: JsonSchema = { +export const cloudflare$$pipelines_StructField: JsonSchema = { "properties": { "fields": { "items": { @@ -444,7 +444,7 @@ export const cloudflare_pipelines_StructField_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_TimestampField` in responses. */ -export const cloudflare_pipelines_TimestampField_output: JsonSchema = { +export const cloudflare$$pipelines_TimestampField: JsonSchema = { "properties": { "unit": { "$ref": "#/$defs/cloudflare-pipelines_TimestampUnit" @@ -456,7 +456,7 @@ export const cloudflare_pipelines_TimestampField_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_TimestampFormat` in responses. */ -export const cloudflare_pipelines_TimestampFormat_output: JsonSchema = { +export const cloudflare$$pipelines_TimestampFormat: JsonSchema = { "enum": [ "rfc3339", "unix_millis" @@ -467,7 +467,7 @@ export const cloudflare_pipelines_TimestampFormat_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_TimestampUnit` in responses. */ -export const cloudflare_pipelines_TimestampUnit_output: JsonSchema = { +export const cloudflare$$pipelines_TimestampUnit: JsonSchema = { "enum": [ "second", "millisecond", @@ -481,6 +481,6 @@ export const cloudflare_pipelines_TimestampUnit_output: JsonSchema = { * The schema of `cloudflare-pipelines_worker-pipelines-common-success` in * responses. */ -export const cloudflare_pipelines_worker_pipelines_common_success_output: JsonSchema = { +export const cloudflare$$pipelines_worker$$pipelines$$common$$success: JsonSchema = { "type": "boolean" }; diff --git a/src/generated/forge-mcp/pipelines/schemas.ts b/src/generated/forge-mcp/pipelines/schemas.ts index 834847005..5fb036b53 100644 --- a/src/generated/forge-mcp/pipelines/schemas.ts +++ b/src/generated/forge-mcp/pipelines/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `cloudflare-pipelines_ConnectionSchema`. */ -export const cloudflare_pipelines_ConnectionSchema: JsonSchema = { +export const cloudflare$$pipelines_ConnectionSchema: JsonSchema = { "description": "Defines the schema of the events in the data stream.", "properties": { "fields": { @@ -32,7 +32,7 @@ export const cloudflare_pipelines_ConnectionSchema: JsonSchema = { /** * The schema of `cloudflare-pipelines_DecimalEncoding`. */ -export const cloudflare_pipelines_DecimalEncoding: JsonSchema = { +export const cloudflare$$pipelines_DecimalEncoding: JsonSchema = { "enum": [ "number", "string", @@ -44,7 +44,7 @@ export const cloudflare_pipelines_DecimalEncoding: JsonSchema = { /** * The schema of `cloudflare-pipelines_FieldType`. */ -export const cloudflare_pipelines_FieldType: JsonSchema = { +export const cloudflare$$pipelines_FieldType: JsonSchema = { "oneOf": [ { "properties": { @@ -227,7 +227,7 @@ export const cloudflare_pipelines_FieldType: JsonSchema = { /** * The schema of `cloudflare-pipelines_JsonFormat`. */ -export const cloudflare_pipelines_JsonFormat: JsonSchema = { +export const cloudflare$$pipelines_JsonFormat: JsonSchema = { "properties": { "decimal_encoding": { "$ref": "#/$defs/cloudflare-pipelines_DecimalEncoding" @@ -245,7 +245,7 @@ export const cloudflare_pipelines_JsonFormat: JsonSchema = { /** * The schema of `cloudflare-pipelines_ListField`. */ -export const cloudflare_pipelines_ListField: JsonSchema = { +export const cloudflare$$pipelines_ListField: JsonSchema = { "properties": { "items": { "$ref": "#/$defs/cloudflare-pipelines_SourceField" @@ -260,7 +260,7 @@ export const cloudflare_pipelines_ListField: JsonSchema = { /** * The schema of `cloudflare-pipelines_ParquetCompression`. */ -export const cloudflare_pipelines_ParquetCompression: JsonSchema = { +export const cloudflare$$pipelines_ParquetCompression: JsonSchema = { "enum": [ "uncompressed", "snappy", @@ -274,7 +274,7 @@ export const cloudflare_pipelines_ParquetCompression: JsonSchema = { /** * The schema of `cloudflare-pipelines_ParquetFormat`. */ -export const cloudflare_pipelines_ParquetFormat: JsonSchema = { +export const cloudflare$$pipelines_ParquetFormat: JsonSchema = { "properties": { "compression": { "$ref": "#/$defs/cloudflare-pipelines_ParquetCompression" @@ -296,7 +296,7 @@ export const cloudflare_pipelines_ParquetFormat: JsonSchema = { /** * The schema of `cloudflare-pipelines_SourceField`. */ -export const cloudflare_pipelines_SourceField: JsonSchema = { +export const cloudflare$$pipelines_SourceField: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cloudflare-pipelines_FieldType" @@ -334,7 +334,7 @@ export const cloudflare_pipelines_SourceField: JsonSchema = { /** * The schema of `cloudflare-pipelines_StructField`. */ -export const cloudflare_pipelines_StructField: JsonSchema = { +export const cloudflare$$pipelines_StructField: JsonSchema = { "properties": { "fields": { "items": { @@ -362,7 +362,7 @@ export const cloudflare_pipelines_StructField: JsonSchema = { /** * The schema of `cloudflare-pipelines_TimestampField`. */ -export const cloudflare_pipelines_TimestampField: JsonSchema = { +export const cloudflare$$pipelines_TimestampField: JsonSchema = { "properties": { "unit": { "$ref": "#/$defs/cloudflare-pipelines_TimestampUnit" @@ -374,7 +374,7 @@ export const cloudflare_pipelines_TimestampField: JsonSchema = { /** * The schema of `cloudflare-pipelines_TimestampFormat`. */ -export const cloudflare_pipelines_TimestampFormat: JsonSchema = { +export const cloudflare$$pipelines_TimestampFormat: JsonSchema = { "enum": [ "rfc3339", "unix_millis" @@ -385,7 +385,7 @@ export const cloudflare_pipelines_TimestampFormat: JsonSchema = { /** * The schema of `cloudflare-pipelines_TimestampUnit`. */ -export const cloudflare_pipelines_TimestampUnit: JsonSchema = { +export const cloudflare$$pipelines_TimestampUnit: JsonSchema = { "enum": [ "second", "millisecond", @@ -398,7 +398,7 @@ export const cloudflare_pipelines_TimestampUnit: JsonSchema = { /** * The schema of `cloudflare-pipelines_workers-pipelines-account-id`. */ -export const cloudflare_pipelines_workers_pipelines_account_id: JsonSchema = { +export const cloudflare$$pipelines_workers$$pipelines$$account$$id: JsonSchema = { "description": "Specifies the public ID of the account.", "type": "string" }; @@ -406,7 +406,7 @@ export const cloudflare_pipelines_workers_pipelines_account_id: JsonSchema = { /** * The schema of `cloudflare-pipelines_workers-pipelines-pipeline-id`. */ -export const cloudflare_pipelines_workers_pipelines_pipeline_id: JsonSchema = { +export const cloudflare$$pipelines_workers$$pipelines$$pipeline$$id: JsonSchema = { "description": "Specifies the public ID of the pipeline.", "type": "string" }; diff --git a/src/generated/forge-mcp/pipelines/sinks/outputs.ts b/src/generated/forge-mcp/pipelines/sinks/outputs.ts index bc0ce36f5..38a851c75 100644 --- a/src/generated/forge-mcp/pipelines/sinks/outputs.ts +++ b/src/generated/forge-mcp/pipelines/sinks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudflare-pipelines_JsonCompression` in responses. */ -export const cloudflare_pipelines_JsonCompression_output: JsonSchema = { +export const cloudflare$$pipelines_JsonCompression: JsonSchema = { "enum": [ "uncompressed", "gzip" @@ -17,7 +17,7 @@ export const cloudflare_pipelines_JsonCompression_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_SinkFormat` in responses. */ -export const cloudflare_pipelines_SinkFormat_output: JsonSchema = { +export const cloudflare$$pipelines_SinkFormat: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/cloudflare-pipelines_SinkJsonFormat" @@ -31,7 +31,7 @@ export const cloudflare_pipelines_SinkFormat_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_SinkJsonFormat` in responses. */ -export const cloudflare_pipelines_SinkJsonFormat_output: JsonSchema = { +export const cloudflare$$pipelines_SinkJsonFormat: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cloudflare-pipelines_JsonFormat" @@ -59,7 +59,7 @@ export const cloudflare_pipelines_SinkJsonFormat_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_SinkParquetFormat` in responses. */ -export const cloudflare_pipelines_SinkParquetFormat_output: JsonSchema = { +export const cloudflare$$pipelines_SinkParquetFormat: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cloudflare-pipelines_ParquetFormat" @@ -84,7 +84,7 @@ export const cloudflare_pipelines_SinkParquetFormat_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_r2Table` in responses. */ -export const cloudflare_pipelines_r2Table_output: JsonSchema = { +export const cloudflare$$pipelines_r2Table: JsonSchema = { "properties": { "account_id": { "type": "string" @@ -167,7 +167,7 @@ export const cloudflare_pipelines_r2Table_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_r2TablePublic` in responses. */ -export const cloudflare_pipelines_r2TablePublic_output: JsonSchema = { +export const cloudflare$$pipelines_r2TablePublic: JsonSchema = { "properties": { "account_id": { "type": "string" @@ -234,7 +234,7 @@ export const cloudflare_pipelines_r2TablePublic_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_r2_data_catalogTable` in responses. */ -export const cloudflare_pipelines_r2_data_catalogTable_output: JsonSchema = { +export const cloudflare$$pipelines_r2_data_catalogTable: JsonSchema = { "properties": { "account_id": { "type": "string" @@ -278,7 +278,7 @@ export const cloudflare_pipelines_r2_data_catalogTable_output: JsonSchema = { /** * The schema of `cloudflare-pipelines_r2_data_catalogTablePublic` in responses. */ -export const cloudflare_pipelines_r2_data_catalogTablePublic_output: JsonSchema = { +export const cloudflare$$pipelines_r2_data_catalogTablePublic: JsonSchema = { "properties": { "account_id": { "type": "string" diff --git a/src/generated/forge-mcp/pipelines/sinks/schemas.ts b/src/generated/forge-mcp/pipelines/sinks/schemas.ts index 9c108548f..8c3ba3b71 100644 --- a/src/generated/forge-mcp/pipelines/sinks/schemas.ts +++ b/src/generated/forge-mcp/pipelines/sinks/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudflare-pipelines_JsonCompression`. */ -export const cloudflare_pipelines_JsonCompression: JsonSchema = { +export const cloudflare$$pipelines_JsonCompression: JsonSchema = { "description": "Specifies the compression applied to JSON sink output.", "enum": [ "uncompressed", @@ -18,7 +18,7 @@ export const cloudflare_pipelines_JsonCompression: JsonSchema = { /** * The schema of `cloudflare-pipelines_SinkFormat`. */ -export const cloudflare_pipelines_SinkFormat: JsonSchema = { +export const cloudflare$$pipelines_SinkFormat: JsonSchema = { "description": "Defines the output data format of a sink.", "oneOf": [ { @@ -33,7 +33,7 @@ export const cloudflare_pipelines_SinkFormat: JsonSchema = { /** * The schema of `cloudflare-pipelines_SinkJsonFormat`. */ -export const cloudflare_pipelines_SinkJsonFormat: JsonSchema = { +export const cloudflare$$pipelines_SinkJsonFormat: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cloudflare-pipelines_JsonFormat" @@ -64,7 +64,7 @@ export const cloudflare_pipelines_SinkJsonFormat: JsonSchema = { /** * The schema of `cloudflare-pipelines_SinkParquetFormat`. */ -export const cloudflare_pipelines_SinkParquetFormat: JsonSchema = { +export const cloudflare$$pipelines_SinkParquetFormat: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cloudflare-pipelines_ParquetFormat" @@ -90,7 +90,7 @@ export const cloudflare_pipelines_SinkParquetFormat: JsonSchema = { /** * The schema of `cloudflare-pipelines_r2Table`. */ -export const cloudflare_pipelines_r2Table: JsonSchema = { +export const cloudflare$$pipelines_r2Table: JsonSchema = { "description": "R2 Sink", "properties": { "account_id": { @@ -190,7 +190,7 @@ export const cloudflare_pipelines_r2Table: JsonSchema = { /** * The schema of `cloudflare-pipelines_r2_data_catalogTable`. */ -export const cloudflare_pipelines_r2_data_catalogTable: JsonSchema = { +export const cloudflare$$pipelines_r2_data_catalogTable: JsonSchema = { "description": "R2 Data Catalog Sink", "properties": { "account_id": { @@ -244,7 +244,7 @@ export const cloudflare_pipelines_r2_data_catalogTable: JsonSchema = { /** * The schema of `cloudflare-pipelines_workers-pipelines-sink-id`. */ -export const cloudflare_pipelines_workers_pipelines_sink_id: JsonSchema = { +export const cloudflare$$pipelines_workers$$pipelines$$sink$$id: JsonSchema = { "description": "Specifies the publid ID of the sink.", "type": "string" }; diff --git a/src/generated/forge-mcp/pipelines/sinks/tools.ts b/src/generated/forge-mcp/pipelines/sinks/tools.ts index bfc3724ea..30144fdf4 100644 --- a/src/generated/forge-mcp/pipelines/sinks/tools.ts +++ b/src/generated/forge-mcp/pipelines/sinks/tools.ts @@ -1,55 +1,55 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - cloudflare_pipelines_ConnectionSchema_output, - cloudflare_pipelines_DecimalEncoding_output, - cloudflare_pipelines_FieldType_output, - cloudflare_pipelines_JsonFormat_output, - cloudflare_pipelines_ListField_output, - cloudflare_pipelines_ParquetCompression_output, - cloudflare_pipelines_ParquetFormat_output, - cloudflare_pipelines_SourceField_output, - cloudflare_pipelines_StructField_output, - cloudflare_pipelines_TimestampField_output, - cloudflare_pipelines_TimestampFormat_output, - cloudflare_pipelines_TimestampUnit_output, - cloudflare_pipelines_worker_pipelines_common_success_output, + cloudflare$$pipelines_ConnectionSchema, + cloudflare$$pipelines_DecimalEncoding, + cloudflare$$pipelines_FieldType, + cloudflare$$pipelines_JsonFormat, + cloudflare$$pipelines_ListField, + cloudflare$$pipelines_ParquetCompression, + cloudflare$$pipelines_ParquetFormat, + cloudflare$$pipelines_SourceField, + cloudflare$$pipelines_StructField, + cloudflare$$pipelines_TimestampField, + cloudflare$$pipelines_TimestampFormat, + cloudflare$$pipelines_TimestampUnit, + cloudflare$$pipelines_worker$$pipelines$$common$$success, } from "../outputs.js"; import { - cloudflare_pipelines_ConnectionSchema, - cloudflare_pipelines_DecimalEncoding, - cloudflare_pipelines_FieldType, - cloudflare_pipelines_JsonFormat, - cloudflare_pipelines_ListField, - cloudflare_pipelines_ParquetCompression, - cloudflare_pipelines_ParquetFormat, - cloudflare_pipelines_SourceField, - cloudflare_pipelines_StructField, - cloudflare_pipelines_TimestampField, - cloudflare_pipelines_TimestampFormat, - cloudflare_pipelines_TimestampUnit, - cloudflare_pipelines_workers_pipelines_account_id, + cloudflare$$pipelines_ConnectionSchema as cloudflare$$pipelines_ConnectionSchema$, + cloudflare$$pipelines_DecimalEncoding as cloudflare$$pipelines_DecimalEncoding$, + cloudflare$$pipelines_FieldType as cloudflare$$pipelines_FieldType$, + cloudflare$$pipelines_JsonFormat as cloudflare$$pipelines_JsonFormat$, + cloudflare$$pipelines_ListField as cloudflare$$pipelines_ListField$, + cloudflare$$pipelines_ParquetCompression as cloudflare$$pipelines_ParquetCompression$, + cloudflare$$pipelines_ParquetFormat as cloudflare$$pipelines_ParquetFormat$, + cloudflare$$pipelines_SourceField as cloudflare$$pipelines_SourceField$, + cloudflare$$pipelines_StructField as cloudflare$$pipelines_StructField$, + cloudflare$$pipelines_TimestampField as cloudflare$$pipelines_TimestampField$, + cloudflare$$pipelines_TimestampFormat as cloudflare$$pipelines_TimestampFormat$, + cloudflare$$pipelines_TimestampUnit as cloudflare$$pipelines_TimestampUnit$, + cloudflare$$pipelines_workers$$pipelines$$account$$id, } from "../schemas.js"; import { - cloudflare_pipelines_JsonCompression_output, - cloudflare_pipelines_SinkFormat_output, - cloudflare_pipelines_SinkJsonFormat_output, - cloudflare_pipelines_SinkParquetFormat_output, - cloudflare_pipelines_r2TablePublic_output, - cloudflare_pipelines_r2Table_output, - cloudflare_pipelines_r2_data_catalogTablePublic_output, - cloudflare_pipelines_r2_data_catalogTable_output, + cloudflare$$pipelines_JsonCompression, + cloudflare$$pipelines_SinkFormat, + cloudflare$$pipelines_SinkJsonFormat, + cloudflare$$pipelines_SinkParquetFormat, + cloudflare$$pipelines_r2Table, + cloudflare$$pipelines_r2TablePublic, + cloudflare$$pipelines_r2_data_catalogTable, + cloudflare$$pipelines_r2_data_catalogTablePublic, } from "./outputs.js"; import { - cloudflare_pipelines_JsonCompression, - cloudflare_pipelines_SinkFormat, - cloudflare_pipelines_SinkJsonFormat, - cloudflare_pipelines_SinkParquetFormat, - cloudflare_pipelines_r2Table, - cloudflare_pipelines_r2_data_catalogTable, - cloudflare_pipelines_workers_pipelines_sink_id, + cloudflare$$pipelines_JsonCompression as cloudflare$$pipelines_JsonCompression$, + cloudflare$$pipelines_SinkFormat as cloudflare$$pipelines_SinkFormat$, + cloudflare$$pipelines_SinkJsonFormat as cloudflare$$pipelines_SinkJsonFormat$, + cloudflare$$pipelines_SinkParquetFormat as cloudflare$$pipelines_SinkParquetFormat$, + cloudflare$$pipelines_r2Table as cloudflare$$pipelines_r2Table$, + cloudflare$$pipelines_r2_data_catalogTable as cloudflare$$pipelines_r2_data_catalogTable$, + cloudflare$$pipelines_workers$$pipelines$$sink$$id, } from "./schemas.js"; /** @@ -63,10 +63,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, "body": { "properties": { "config": { @@ -107,31 +103,43 @@ export const tools: readonly Tool[] = [ "type" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType, - "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat, - "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat, - "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat, - "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit, - "cloudflare-pipelines_r2Table": cloudflare_pipelines_r2Table, - "cloudflare-pipelines_r2_data_catalogTable": cloudflare_pipelines_r2_data_catalogTable, - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema$, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding$, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType$, + "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression$, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat$, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField$, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression$, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat$, + "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat$, + "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat$, + "cloudflare-pipelines_SinkParquetFormat": cloudflare$$pipelines_SinkParquetFormat$, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField$, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField$, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField$, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat$, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit$, + "cloudflare-pipelines_r2Table": cloudflare$$pipelines_r2Table$, + "cloudflare-pipelines_r2_data_catalogTable": cloudflare$$pipelines_r2_data_catalogTable$, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, }, }, outputSchema: { @@ -196,25 +204,25 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat_output, - "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat_output, - "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_r2Table": cloudflare_pipelines_r2Table_output, - "cloudflare-pipelines_r2_data_catalogTable": cloudflare_pipelines_r2_data_catalogTable_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, + "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, + "cloudflare-pipelines_SinkParquetFormat": cloudflare$$pipelines_SinkParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_r2Table": cloudflare$$pipelines_r2Table, + "cloudflare-pipelines_r2_data_catalogTable": cloudflare$$pipelines_r2_data_catalogTable, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -304,25 +312,25 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat_output, - "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat_output, - "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_r2Table": cloudflare_pipelines_r2Table_output, - "cloudflare-pipelines_r2_data_catalogTable": cloudflare_pipelines_r2_data_catalogTable_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, + "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, + "cloudflare-pipelines_SinkParquetFormat": cloudflare$$pipelines_SinkParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_r2Table": cloudflare$$pipelines_r2Table, + "cloudflare-pipelines_r2_data_catalogTable": cloudflare$$pipelines_r2_data_catalogTable, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -337,22 +345,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, - "sink_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-sink-id", - "description": "Specifies the publid ID of the sink." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + }, + "sink_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-sink-id", + "description": "Specifies the publid ID of the sink." + } + }, + "required": [ + "account_id", + "sink_id" + ], + "type": "object" } }, required: [ - "account_id", - "sink_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, - "cloudflare-pipelines_workers-pipelines-sink-id": cloudflare_pipelines_workers_pipelines_sink_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, + "cloudflare-pipelines_workers-pipelines-sink-id": cloudflare$$pipelines_workers$$pipelines$$sink$$id, }, }, outputSchema: { @@ -370,7 +386,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -410,7 +426,7 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -424,22 +440,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, - "sink_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-sink-id", - "description": "Specifies the publid ID of the sink." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + }, + "sink_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-sink-id", + "description": "Specifies the publid ID of the sink." + } + }, + "required": [ + "account_id", + "sink_id" + ], + "type": "object" } }, required: [ - "account_id", - "sink_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, - "cloudflare-pipelines_workers-pipelines-sink-id": cloudflare_pipelines_workers_pipelines_sink_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, + "cloudflare-pipelines_workers-pipelines-sink-id": cloudflare$$pipelines_workers$$pipelines$$sink$$id, }, }, outputSchema: { @@ -504,25 +528,25 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat_output, - "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat_output, - "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_r2TablePublic": cloudflare_pipelines_r2TablePublic_output, - "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare_pipelines_r2_data_catalogTablePublic_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, + "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, + "cloudflare-pipelines_SinkParquetFormat": cloudflare$$pipelines_SinkParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_r2TablePublic": cloudflare$$pipelines_r2TablePublic, + "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare$$pipelines_r2_data_catalogTablePublic, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -613,25 +637,25 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat_output, - "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat_output, - "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_r2TablePublic": cloudflare_pipelines_r2TablePublic_output, - "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare_pipelines_r2_data_catalogTablePublic_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, + "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, + "cloudflare-pipelines_SinkParquetFormat": cloudflare$$pipelines_SinkParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_r2TablePublic": cloudflare$$pipelines_r2TablePublic, + "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare$$pipelines_r2_data_catalogTablePublic, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -645,47 +669,60 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, - "direction": { - "default": "asc", - "description": "Sort direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "name": { - "description": "Filters sinks by name (case-insensitive substring).", - "type": "string" - }, - "order_by": { - "description": "Sorts sinks by this field. Defaults to `created_at`.", - "enum": [ - "name", - "created_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "type": "number" - }, - "per_page": { - "type": "number" + "type": "object" }, - "pipeline_id": { - "type": "string" + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filters sinks by name (case-insensitive substring).", + "type": "string" + }, + "order_by": { + "description": "Sorts sinks by this field. Defaults to `created_at`.", + "enum": [ + "name", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "type": "number" + }, + "per_page": { + "type": "number" + }, + "pipeline_id": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, }, }, outputSchema: { @@ -777,25 +814,25 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat_output, - "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat_output, - "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_r2TablePublic": cloudflare_pipelines_r2TablePublic_output, - "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare_pipelines_r2_data_catalogTablePublic_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, + "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, + "cloudflare-pipelines_SinkParquetFormat": cloudflare$$pipelines_SinkParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_r2TablePublic": cloudflare$$pipelines_r2TablePublic, + "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare$$pipelines_r2_data_catalogTablePublic, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -913,36 +950,36 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_JsonCompression": cloudflare_pipelines_JsonCompression_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SinkFormat": cloudflare_pipelines_SinkFormat_output, - "cloudflare-pipelines_SinkJsonFormat": cloudflare_pipelines_SinkJsonFormat_output, - "cloudflare-pipelines_SinkParquetFormat": cloudflare_pipelines_SinkParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_r2TablePublic": cloudflare_pipelines_r2TablePublic_output, - "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare_pipelines_r2_data_catalogTablePublic_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, + "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, + "cloudflare-pipelines_SinkParquetFormat": cloudflare$$pipelines_SinkParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_r2TablePublic": cloudflare$$pipelines_r2TablePublic, + "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare$$pipelines_r2_data_catalogTablePublic, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/sinks`, query: [ - ["pipeline_id", args["pipeline_id"], true], - ["name", args["name"], true], - ["order_by", args["order_by"], true], - ["direction", args["direction"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["pipeline_id", param(args, "query", "pipeline_id"), true], + ["name", param(args, "query", "name"), true], + ["order_by", param(args, "query", "order_by"), true], + ["direction", param(args, "query", "direction"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/pipelines/streams/outputs.ts b/src/generated/forge-mcp/pipelines/streams/outputs.ts index 545c805e3..30b9bb00c 100644 --- a/src/generated/forge-mcp/pipelines/streams/outputs.ts +++ b/src/generated/forge-mcp/pipelines/streams/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudflare-pipelines_Format` in responses. */ -export const cloudflare_pipelines_Format_output: JsonSchema = { +export const cloudflare$$pipelines_Format: JsonSchema = { "oneOf": [ { "allOf": [ diff --git a/src/generated/forge-mcp/pipelines/streams/schemas.ts b/src/generated/forge-mcp/pipelines/streams/schemas.ts index fc26fa268..51a0196cd 100644 --- a/src/generated/forge-mcp/pipelines/streams/schemas.ts +++ b/src/generated/forge-mcp/pipelines/streams/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cloudflare-pipelines_Format`. */ -export const cloudflare_pipelines_Format: JsonSchema = { +export const cloudflare$$pipelines_Format: JsonSchema = { "description": "Defines the data format of the events.", "oneOf": [ { @@ -57,7 +57,7 @@ export const cloudflare_pipelines_Format: JsonSchema = { /** * The schema of `cloudflare-pipelines_workers-pipelines-stream-id`. */ -export const cloudflare_pipelines_workers_pipelines_stream_id: JsonSchema = { +export const cloudflare$$pipelines_workers$$pipelines$$stream$$id: JsonSchema = { "description": "Specifies the public ID of the stream.", "type": "string" }; diff --git a/src/generated/forge-mcp/pipelines/streams/tools.ts b/src/generated/forge-mcp/pipelines/streams/tools.ts index 6b216f2fd..dd1d4f3ce 100644 --- a/src/generated/forge-mcp/pipelines/streams/tools.ts +++ b/src/generated/forge-mcp/pipelines/streams/tools.ts @@ -1,42 +1,42 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - cloudflare_pipelines_ConnectionSchema_output, - cloudflare_pipelines_DecimalEncoding_output, - cloudflare_pipelines_FieldType_output, - cloudflare_pipelines_JsonFormat_output, - cloudflare_pipelines_ListField_output, - cloudflare_pipelines_ParquetCompression_output, - cloudflare_pipelines_ParquetFormat_output, - cloudflare_pipelines_SourceField_output, - cloudflare_pipelines_StructField_output, - cloudflare_pipelines_TimestampField_output, - cloudflare_pipelines_TimestampFormat_output, - cloudflare_pipelines_TimestampUnit_output, - cloudflare_pipelines_worker_pipelines_common_success_output, + cloudflare$$pipelines_ConnectionSchema, + cloudflare$$pipelines_DecimalEncoding, + cloudflare$$pipelines_FieldType, + cloudflare$$pipelines_JsonFormat, + cloudflare$$pipelines_ListField, + cloudflare$$pipelines_ParquetCompression, + cloudflare$$pipelines_ParquetFormat, + cloudflare$$pipelines_SourceField, + cloudflare$$pipelines_StructField, + cloudflare$$pipelines_TimestampField, + cloudflare$$pipelines_TimestampFormat, + cloudflare$$pipelines_TimestampUnit, + cloudflare$$pipelines_worker$$pipelines$$common$$success, } from "../outputs.js"; import { - cloudflare_pipelines_ConnectionSchema, - cloudflare_pipelines_DecimalEncoding, - cloudflare_pipelines_FieldType, - cloudflare_pipelines_JsonFormat, - cloudflare_pipelines_ListField, - cloudflare_pipelines_ParquetCompression, - cloudflare_pipelines_ParquetFormat, - cloudflare_pipelines_SourceField, - cloudflare_pipelines_StructField, - cloudflare_pipelines_TimestampField, - cloudflare_pipelines_TimestampFormat, - cloudflare_pipelines_TimestampUnit, - cloudflare_pipelines_workers_pipelines_account_id, - cloudflare_pipelines_workers_pipelines_pipeline_id, + cloudflare$$pipelines_ConnectionSchema as cloudflare$$pipelines_ConnectionSchema$, + cloudflare$$pipelines_DecimalEncoding as cloudflare$$pipelines_DecimalEncoding$, + cloudflare$$pipelines_FieldType as cloudflare$$pipelines_FieldType$, + cloudflare$$pipelines_JsonFormat as cloudflare$$pipelines_JsonFormat$, + cloudflare$$pipelines_ListField as cloudflare$$pipelines_ListField$, + cloudflare$$pipelines_ParquetCompression as cloudflare$$pipelines_ParquetCompression$, + cloudflare$$pipelines_ParquetFormat as cloudflare$$pipelines_ParquetFormat$, + cloudflare$$pipelines_SourceField as cloudflare$$pipelines_SourceField$, + cloudflare$$pipelines_StructField as cloudflare$$pipelines_StructField$, + cloudflare$$pipelines_TimestampField as cloudflare$$pipelines_TimestampField$, + cloudflare$$pipelines_TimestampFormat as cloudflare$$pipelines_TimestampFormat$, + cloudflare$$pipelines_TimestampUnit as cloudflare$$pipelines_TimestampUnit$, + cloudflare$$pipelines_workers$$pipelines$$account$$id, + cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, } from "../schemas.js"; -import { cloudflare_pipelines_Format_output } from "./outputs.js"; +import { cloudflare$$pipelines_Format } from "./outputs.js"; import { - cloudflare_pipelines_Format, - cloudflare_pipelines_workers_pipelines_stream_id, + cloudflare$$pipelines_Format as cloudflare$$pipelines_Format$, + cloudflare$$pipelines_workers$$pipelines$$stream$$id, } from "./schemas.js"; /** @@ -50,10 +50,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, "body": { "properties": { "format": { @@ -122,26 +118,38 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType, - "cloudflare-pipelines_Format": cloudflare_pipelines_Format, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit, - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema$, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding$, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType$, + "cloudflare-pipelines_Format": cloudflare$$pipelines_Format$, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat$, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField$, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression$, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat$, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField$, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField$, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField$, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat$, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit$, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, }, }, outputSchema: { @@ -234,20 +242,20 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -365,20 +373,20 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -393,22 +401,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, - "stream_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-stream-id", - "description": "Specifies the public ID of the stream." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + }, + "stream_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-stream-id", + "description": "Specifies the public ID of the stream." + } + }, + "required": [ + "account_id", + "stream_id" + ], + "type": "object" } }, required: [ - "account_id", - "stream_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, - "cloudflare-pipelines_workers-pipelines-stream-id": cloudflare_pipelines_workers_pipelines_stream_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, + "cloudflare-pipelines_workers-pipelines-stream-id": cloudflare$$pipelines_workers$$pipelines$$stream$$id, }, }, outputSchema: { @@ -426,7 +442,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -466,7 +482,7 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -480,22 +496,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, - "stream_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-stream-id", - "description": "Specifies the public ID of the stream." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + }, + "stream_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-stream-id", + "description": "Specifies the public ID of the stream." + } + }, + "required": [ + "account_id", + "stream_id" + ], + "type": "object" } }, required: [ - "account_id", - "stream_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, - "cloudflare-pipelines_workers-pipelines-stream-id": cloudflare_pipelines_workers_pipelines_stream_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, + "cloudflare-pipelines_workers-pipelines-stream-id": cloudflare$$pipelines_workers$$pipelines$$stream$$id, }, }, outputSchema: { @@ -588,20 +612,20 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -720,20 +744,20 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -747,49 +771,62 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, - "direction": { - "default": "asc", - "description": "Sort direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "name": { - "description": "Filters streams by name (case-insensitive substring).", - "type": "string" - }, - "order_by": { - "description": "Sorts streams by this field. Defaults to `created_at`.", - "enum": [ - "name", - "created_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "type": "number" - }, - "per_page": { - "type": "number" + "type": "object" }, - "pipeline_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-pipeline-id", - "description": "Specifies the public ID of the pipeline." + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filters streams by name (case-insensitive substring).", + "type": "string" + }, + "order_by": { + "description": "Sorts streams by this field. Defaults to `created_at`.", + "enum": [ + "name", + "created_at" + ], + "type": "string" + }, + "page": { + "default": 1, + "type": "number" + }, + "per_page": { + "type": "number" + }, + "pipeline_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-pipeline-id", + "description": "Specifies the public ID of the pipeline." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, - "cloudflare-pipelines_workers-pipelines-pipeline-id": cloudflare_pipelines_workers_pipelines_pipeline_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, + "cloudflare-pipelines_workers-pipelines-pipeline-id": cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, }, }, outputSchema: { @@ -909,20 +946,20 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -1068,31 +1105,31 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/streams`, query: [ - ["pipeline_id", args["pipeline_id"], true], - ["name", args["name"], true], - ["order_by", args["order_by"], true], - ["direction", args["direction"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["pipeline_id", param(args, "query", "pipeline_id"), true], + ["name", param(args, "query", "name"), true], + ["order_by", param(args, "query", "order_by"), true], + ["direction", param(args, "query", "direction"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -1103,10 +1140,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, "body": { "properties": { "http": { @@ -1154,18 +1187,30 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "stream_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-stream-id", - "description": "Specifies the public ID of the stream." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + }, + "stream_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-stream-id", + "description": "Specifies the public ID of the stream." + } + }, + "required": [ + "account_id", + "stream_id" + ], + "type": "object" } }, required: [ - "account_id", - "stream_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, - "cloudflare-pipelines_workers-pipelines-stream-id": cloudflare_pipelines_workers_pipelines_stream_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, + "cloudflare-pipelines_workers-pipelines-stream-id": cloudflare$$pipelines_workers$$pipelines$$stream$$id, }, }, outputSchema: { @@ -1258,20 +1303,20 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -1386,20 +1431,20 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_ConnectionSchema": cloudflare_pipelines_ConnectionSchema_output, - "cloudflare-pipelines_DecimalEncoding": cloudflare_pipelines_DecimalEncoding_output, - "cloudflare-pipelines_FieldType": cloudflare_pipelines_FieldType_output, - "cloudflare-pipelines_Format": cloudflare_pipelines_Format_output, - "cloudflare-pipelines_JsonFormat": cloudflare_pipelines_JsonFormat_output, - "cloudflare-pipelines_ListField": cloudflare_pipelines_ListField_output, - "cloudflare-pipelines_ParquetCompression": cloudflare_pipelines_ParquetCompression_output, - "cloudflare-pipelines_ParquetFormat": cloudflare_pipelines_ParquetFormat_output, - "cloudflare-pipelines_SourceField": cloudflare_pipelines_SourceField_output, - "cloudflare-pipelines_StructField": cloudflare_pipelines_StructField_output, - "cloudflare-pipelines_TimestampField": cloudflare_pipelines_TimestampField_output, - "cloudflare-pipelines_TimestampFormat": cloudflare_pipelines_TimestampFormat_output, - "cloudflare-pipelines_TimestampUnit": cloudflare_pipelines_TimestampUnit_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, + "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, + "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, + "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, + "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, + "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, + "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, + "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, + "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, + "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, + "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, + "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, + "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pipelines/tools.ts b/src/generated/forge-mcp/pipelines/tools.ts index 5a26dad1e..1170ea698 100644 --- a/src/generated/forge-mcp/pipelines/tools.ts +++ b/src/generated/forge-mcp/pipelines/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, param, pathParam } from "../_/tool.js"; import { - cloudflare_pipelines_PipelineEdge_output, - cloudflare_pipelines_PipelineGraph_output, - cloudflare_pipelines_PipelineNode_output, - cloudflare_pipelines_worker_pipelines_common_success_output, + cloudflare$$pipelines_PipelineEdge, + cloudflare$$pipelines_PipelineGraph, + cloudflare$$pipelines_PipelineNode, + cloudflare$$pipelines_worker$$pipelines$$common$$success, } from "./outputs.js"; import { - cloudflare_pipelines_workers_pipelines_account_id, - cloudflare_pipelines_workers_pipelines_pipeline_id, + cloudflare$$pipelines_workers$$pipelines$$account$$id, + cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, } from "./schemas.js"; /** @@ -24,10 +24,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, "body": { "properties": { "name": { @@ -44,13 +40,25 @@ export const tools: readonly Tool[] = [ "sql" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, }, }, outputSchema: { @@ -96,7 +104,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -167,7 +175,7 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -182,22 +190,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, - "pipeline_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-pipeline-id", - "description": "Specifies the public ID of the pipeline." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + }, + "pipeline_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-pipeline-id", + "description": "Specifies the public ID of the pipeline." + } + }, + "required": [ + "account_id", + "pipeline_id" + ], + "type": "object" } }, required: [ - "account_id", - "pipeline_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, - "cloudflare-pipelines_workers-pipelines-pipeline-id": cloudflare_pipelines_workers_pipelines_pipeline_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, + "cloudflare-pipelines_workers-pipelines-pipeline-id": cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, }, }, outputSchema: { @@ -215,7 +231,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -255,7 +271,7 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -269,22 +285,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, - "pipeline_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-pipeline-id", - "description": "Specifies the public ID of the pipeline." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + }, + "pipeline_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-pipeline-id", + "description": "Specifies the public ID of the pipeline." + } + }, + "required": [ + "account_id", + "pipeline_id" + ], + "type": "object" } }, required: [ - "account_id", - "pipeline_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, - "cloudflare-pipelines_workers-pipelines-pipeline-id": cloudflare_pipelines_workers_pipelines_pipeline_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, + "cloudflare-pipelines_workers-pipelines-pipeline-id": cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, }, }, outputSchema: { @@ -368,7 +392,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -478,7 +502,7 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -492,27 +516,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, - "name": { - "description": "Filters pipelines by name (case-insensitive substring).", - "type": "string" - }, - "page": { - "default": 1, - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "type": "number" + "query": { + "properties": { + "name": { + "description": "Filters pipelines by name (case-insensitive substring).", + "type": "string" + }, + "page": { + "default": 1, + "type": "number" + }, + "per_page": { + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, }, }, outputSchema: { @@ -585,7 +622,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -684,29 +721,25 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/pipelines`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["name", args["name"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["name", param(args, "query", "name"), true], ], }), }, { - name: "pipelines_validate_sql", + name: "pipelines_validateSql", title: "Validate SQL", description: "Validates that the Pipelines SQL is correct.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." - }, "body": { "properties": { "sql": { @@ -718,13 +751,25 @@ export const tools: readonly Tool[] = [ "sql" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", + "description": "Specifies the public ID of the account." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare_pipelines_workers_pipelines_account_id, + "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, }, }, outputSchema: { @@ -776,10 +821,10 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-pipelines_PipelineEdge": cloudflare_pipelines_PipelineEdge_output, - "cloudflare-pipelines_PipelineGraph": cloudflare_pipelines_PipelineGraph_output, - "cloudflare-pipelines_PipelineNode": cloudflare_pipelines_PipelineNode_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_PipelineEdge": cloudflare$$pipelines_PipelineEdge, + "cloudflare-pipelines_PipelineGraph": cloudflare$$pipelines_PipelineGraph, + "cloudflare-pipelines_PipelineNode": cloudflare$$pipelines_PipelineNode, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -961,10 +1006,10 @@ export const tools: readonly Tool[] = [ "4XX": null }, $defs: { - "cloudflare-pipelines_PipelineEdge": cloudflare_pipelines_PipelineEdge_output, - "cloudflare-pipelines_PipelineGraph": cloudflare_pipelines_PipelineGraph_output, - "cloudflare-pipelines_PipelineNode": cloudflare_pipelines_PipelineNode_output, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare_pipelines_worker_pipelines_common_success_output, + "cloudflare-pipelines_PipelineEdge": cloudflare$$pipelines_PipelineEdge, + "cloudflare-pipelines_PipelineGraph": cloudflare$$pipelines_PipelineGraph, + "cloudflare-pipelines_PipelineNode": cloudflare$$pipelines_PipelineNode, + "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/precursor/outputs.ts b/src/generated/forge-mcp/precursor/outputs.ts index c4651708b..ea20690e2 100644 --- a/src/generated/forge-mcp/precursor/outputs.ts +++ b/src/generated/forge-mcp/precursor/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `precursor_api-response-common-failure` in responses. */ -export const precursor_api_response_common_failure_output: JsonSchema = { +export const precursor_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/precursor_messages" @@ -36,7 +36,7 @@ export const precursor_api_response_common_failure_output: JsonSchema = { /** * The schema of `precursor_api-response-single` in responses. */ -export const precursor_api_response_single_output: JsonSchema = { +export const precursor_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/precursor_messages" @@ -62,7 +62,7 @@ export const precursor_api_response_single_output: JsonSchema = { /** * The schema of `precursor_messages` in responses. */ -export const precursor_messages_output: JsonSchema = { +export const precursor_messages: JsonSchema = { "items": { "properties": { "code": { @@ -95,7 +95,7 @@ export const precursor_messages_output: JsonSchema = { /** * The schema of `precursor_precursor_config` in responses. */ -export const precursor_precursor_config_output: JsonSchema = { +export const precursor_precursor_config: JsonSchema = { "properties": { "mode": { "$ref": "#/$defs/precursor_precursor_mode" @@ -113,7 +113,7 @@ export const precursor_precursor_config_output: JsonSchema = { /** * The schema of `precursor_precursor_config_response_body` in responses. */ -export const precursor_precursor_config_response_body_output: JsonSchema = { +export const precursor_precursor_config_response_body: JsonSchema = { "allOf": [ { "$ref": "#/$defs/precursor_api-response-single" @@ -132,7 +132,7 @@ export const precursor_precursor_config_response_body_output: JsonSchema = { /** * The schema of `precursor_precursor_mode` in responses. */ -export const precursor_precursor_mode_output: JsonSchema = { +export const precursor_precursor_mode: JsonSchema = { "enum": [ "off", "monitor", @@ -144,7 +144,7 @@ export const precursor_precursor_mode_output: JsonSchema = { /** * The schema of `precursor_precursor_rule` in responses. */ -export const precursor_precursor_rule_output: JsonSchema = { +export const precursor_precursor_rule: JsonSchema = { "properties": { "description": { "type": "string" @@ -172,7 +172,7 @@ export const precursor_precursor_rule_output: JsonSchema = { /** * The schema of `precursor_precursor_rules` in responses. */ -export const precursor_precursor_rules_output: JsonSchema = { +export const precursor_precursor_rules: JsonSchema = { "items": { "$ref": "#/$defs/precursor_precursor_rule" }, @@ -182,6 +182,6 @@ export const precursor_precursor_rules_output: JsonSchema = { /** * The schema of `precursor_show_interstitial` in responses. */ -export const precursor_show_interstitial_output: JsonSchema = { +export const precursor_show_interstitial: JsonSchema = { "type": "boolean" }; diff --git a/src/generated/forge-mcp/precursor/tools.ts b/src/generated/forge-mcp/precursor/tools.ts index 74fae51a9..72a773eeb 100644 --- a/src/generated/forge-mcp/precursor/tools.ts +++ b/src/generated/forge-mcp/precursor/tools.ts @@ -1,25 +1,25 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - precursor_api_response_common_failure_output, - precursor_api_response_single_output, - precursor_messages_output, - precursor_precursor_config_output, - precursor_precursor_config_response_body_output, - precursor_precursor_mode_output, - precursor_precursor_rule_output, - precursor_precursor_rules_output, - precursor_show_interstitial_output, -} from "./outputs.js"; -import { - precursor_identifier, + precursor_api$$response$$common$$failure, + precursor_api$$response$$single, + precursor_messages, precursor_precursor_config, + precursor_precursor_config_response_body, precursor_precursor_mode, precursor_precursor_rule, precursor_precursor_rules, precursor_show_interstitial, +} from "./outputs.js"; +import { + precursor_identifier, + precursor_precursor_config as precursor_precursor_config$, + precursor_precursor_mode as precursor_precursor_mode$, + precursor_precursor_rule as precursor_precursor_rule$, + precursor_precursor_rules as precursor_precursor_rules$, + precursor_show_interstitial as precursor_show_interstitial$, } from "./schemas.js"; /** @@ -33,22 +33,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "cloudflare_version": { - "default": "1.0", - "description": "Selects the split Precursor API schema.", - "enum": [ - "1.0" + "headers": { + "properties": { + "Cloudflare-Version": { + "default": "1.0", + "description": "Selects the split Precursor API schema.", + "enum": [ + "1.0" + ], + "type": "string" + } + }, + "required": [ + "Cloudflare-Version" ], - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/precursor_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/precursor_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", - "cloudflare_version" + "path", + "headers" ], $defs: { "precursor_identifier": precursor_identifier, @@ -57,14 +73,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/precursor_precursor_config_response_body", $defs: { - "precursor_api-response-single": precursor_api_response_single_output, - "precursor_messages": precursor_messages_output, - "precursor_precursor_config": precursor_precursor_config_output, - "precursor_precursor_config_response_body": precursor_precursor_config_response_body_output, - "precursor_precursor_mode": precursor_precursor_mode_output, - "precursor_precursor_rule": precursor_precursor_rule_output, - "precursor_precursor_rules": precursor_precursor_rules_output, - "precursor_show_interstitial": precursor_show_interstitial_output, + "precursor_api-response-single": precursor_api$$response$$single, + "precursor_messages": precursor_messages, + "precursor_precursor_config": precursor_precursor_config, + "precursor_precursor_config_response_body": precursor_precursor_config_response_body, + "precursor_precursor_mode": precursor_precursor_mode, + "precursor_precursor_rule": precursor_precursor_rule, + "precursor_precursor_rules": precursor_precursor_rules, + "precursor_show_interstitial": precursor_show_interstitial, }, }, annotations: { @@ -107,21 +123,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "precursor_api-response-common-failure": precursor_api_response_common_failure_output, - "precursor_api-response-single": precursor_api_response_single_output, - "precursor_messages": precursor_messages_output, - "precursor_precursor_config": precursor_precursor_config_output, - "precursor_precursor_config_response_body": precursor_precursor_config_response_body_output, - "precursor_precursor_mode": precursor_precursor_mode_output, - "precursor_precursor_rule": precursor_precursor_rule_output, - "precursor_precursor_rules": precursor_precursor_rules_output, - "precursor_show_interstitial": precursor_show_interstitial_output, + "precursor_api-response-common-failure": precursor_api$$response$$common$$failure, + "precursor_api-response-single": precursor_api$$response$$single, + "precursor_messages": precursor_messages, + "precursor_precursor_config": precursor_precursor_config, + "precursor_precursor_config_response_body": precursor_precursor_config_response_body, + "precursor_precursor_mode": precursor_precursor_mode, + "precursor_precursor_rule": precursor_precursor_rule, + "precursor_precursor_rules": precursor_precursor_rules, + "precursor_show_interstitial": precursor_show_interstitial, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/precursor`, headers: [ - ["Cloudflare-Version", args["cloudflare_version"]], + ["Cloudflare-Version", param(args, "headers", "Cloudflare-Version")], ], }), }, @@ -135,44 +151,60 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/precursor_precursor_config" }, - "cloudflare_version": { - "default": "1.0", - "description": "Selects the split Precursor API schema.", - "enum": [ - "1.0" + "headers": { + "properties": { + "Cloudflare-Version": { + "default": "1.0", + "description": "Selects the split Precursor API schema.", + "enum": [ + "1.0" + ], + "type": "string" + } + }, + "required": [ + "Cloudflare-Version" ], - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/precursor_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/precursor_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", - "cloudflare_version", + "path", + "headers", "body" ], $defs: { "precursor_identifier": precursor_identifier, - "precursor_precursor_config": precursor_precursor_config, - "precursor_precursor_mode": precursor_precursor_mode, - "precursor_precursor_rule": precursor_precursor_rule, - "precursor_precursor_rules": precursor_precursor_rules, - "precursor_show_interstitial": precursor_show_interstitial, + "precursor_precursor_config": precursor_precursor_config$, + "precursor_precursor_mode": precursor_precursor_mode$, + "precursor_precursor_rule": precursor_precursor_rule$, + "precursor_precursor_rules": precursor_precursor_rules$, + "precursor_show_interstitial": precursor_show_interstitial$, }, }, outputSchema: { "$ref": "#/$defs/precursor_precursor_config_response_body", $defs: { - "precursor_api-response-single": precursor_api_response_single_output, - "precursor_messages": precursor_messages_output, - "precursor_precursor_config": precursor_precursor_config_output, - "precursor_precursor_config_response_body": precursor_precursor_config_response_body_output, - "precursor_precursor_mode": precursor_precursor_mode_output, - "precursor_precursor_rule": precursor_precursor_rule_output, - "precursor_precursor_rules": precursor_precursor_rules_output, - "precursor_show_interstitial": precursor_show_interstitial_output, + "precursor_api-response-single": precursor_api$$response$$single, + "precursor_messages": precursor_messages, + "precursor_precursor_config": precursor_precursor_config, + "precursor_precursor_config_response_body": precursor_precursor_config_response_body, + "precursor_precursor_mode": precursor_precursor_mode, + "precursor_precursor_rule": precursor_precursor_rule, + "precursor_precursor_rules": precursor_precursor_rules, + "precursor_show_interstitial": precursor_show_interstitial, }, }, annotations: { @@ -214,21 +246,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "precursor_api-response-common-failure": precursor_api_response_common_failure_output, - "precursor_api-response-single": precursor_api_response_single_output, - "precursor_messages": precursor_messages_output, - "precursor_precursor_config": precursor_precursor_config_output, - "precursor_precursor_config_response_body": precursor_precursor_config_response_body_output, - "precursor_precursor_mode": precursor_precursor_mode_output, - "precursor_precursor_rule": precursor_precursor_rule_output, - "precursor_precursor_rules": precursor_precursor_rules_output, - "precursor_show_interstitial": precursor_show_interstitial_output, + "precursor_api-response-common-failure": precursor_api$$response$$common$$failure, + "precursor_api-response-single": precursor_api$$response$$single, + "precursor_messages": precursor_messages, + "precursor_precursor_config": precursor_precursor_config, + "precursor_precursor_config_response_body": precursor_precursor_config_response_body, + "precursor_precursor_mode": precursor_precursor_mode, + "precursor_precursor_rule": precursor_precursor_rule, + "precursor_precursor_rules": precursor_precursor_rules, + "precursor_show_interstitial": precursor_show_interstitial, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/precursor`, headers: [ - ["Cloudflare-Version", args["cloudflare_version"]], + ["Cloudflare-Version", param(args, "headers", "Cloudflare-Version")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/previews/tools.ts b/src/generated/forge-mcp/previews/tools.ts index 3b073f514..630622056 100644 --- a/src/generated/forge-mcp/previews/tools.ts +++ b/src/generated/forge-mcp/previews/tools.ts @@ -1,11 +1,11 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../outputs.js"; import { workers_identifier } from "../schemas.js"; @@ -20,27 +20,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "preview_id": { + "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "preview_id" + ], + "type": "object" }, - "delete_with_references": { - "description": "If true, delete the Preview even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Preview are deleted even if other Workers reference them.", - "type": "boolean" - }, - "name": { - "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", - "type": "string" - }, - "worker": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "force": { + "description": "If true, delete the Preview even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Preview are deleted even if other Workers reference them.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker", - "name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -49,8 +62,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_api-response-common", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -77,15 +90,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker")}/previews/${pathParam(args, "name")}`, + path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}`, query: [ - ["force", args["delete_with_references"], true], + ["force", param(args, "query", "force"), true], ], }), }, diff --git a/src/generated/forge-mcp/queues/consumers/schemas.ts b/src/generated/forge-mcp/queues/consumers/schemas.ts index 391a706ed..ba8fffb0c 100644 --- a/src/generated/forge-mcp/queues/consumers/schemas.ts +++ b/src/generated/forge-mcp/queues/consumers/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `mq_consumer-request`. */ -export const mq_consumer_request: JsonSchema = { +export const mq_consumer$$request: JsonSchema = { "description": "Request body for creating or updating a consumer", "oneOf": [ { @@ -21,7 +21,7 @@ export const mq_consumer_request: JsonSchema = { /** * The schema of `mq_http-consumer-request`. */ -export const mq_http_consumer_request: JsonSchema = { +export const mq_http$$consumer$$request: JsonSchema = { "properties": { "dead_letter_queue": { "$ref": "#/$defs/mq_queue-name" @@ -63,7 +63,7 @@ export const mq_http_consumer_request: JsonSchema = { /** * The schema of `mq_worker-consumer-request`. */ -export const mq_worker_consumer_request: JsonSchema = { +export const mq_worker$$consumer$$request: JsonSchema = { "properties": { "dead_letter_queue": { "$ref": "#/$defs/mq_queue-name" diff --git a/src/generated/forge-mcp/queues/consumers/tools.ts b/src/generated/forge-mcp/queues/consumers/tools.ts index 9bf824da1..014aeb3d9 100644 --- a/src/generated/forge-mcp/queues/consumers/tools.ts +++ b/src/generated/forge-mcp/queues/consumers/tools.ts @@ -3,38 +3,38 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - mq_api_v4_error_output, - mq_api_v4_failure_output, - mq_api_v4_message_output, - mq_api_v4_success_output, - mq_batch_size_output, - mq_consumer_response_output, - mq_http_consumer_response_output, - mq_identifier_output, - mq_max_concurrency_output, - mq_max_retries_output, - mq_max_wait_time_output, - mq_queue_name_output, - mq_retry_delay_output, - mq_script_name_output, - mq_visibility_timeout_output, - mq_worker_consumer_response_output, + mq_api$$v4$$error, + mq_api$$v4$$failure, + mq_api$$v4$$message, + mq_api$$v4$$success, + mq_batch$$size, + mq_consumer$$response, + mq_http$$consumer$$response, + mq_identifier, + mq_max$$concurrency, + mq_max$$retries, + mq_max$$wait$$time, + mq_queue$$name, + mq_retry$$delay, + mq_script$$name, + mq_visibility$$timeout, + mq_worker$$consumer$$response, } from "../outputs.js"; import { - mq_batch_size, - mq_identifier, - mq_max_concurrency, - mq_max_retries, - mq_max_wait_time, - mq_queue_name, - mq_retry_delay, - mq_script_name, - mq_visibility_timeout, + mq_batch$$size as mq_batch$$size$, + mq_identifier as mq_identifier$, + mq_max$$concurrency as mq_max$$concurrency$, + mq_max$$retries as mq_max$$retries$, + mq_max$$wait$$time as mq_max$$wait$$time$, + mq_queue$$name as mq_queue$$name$, + mq_retry$$delay as mq_retry$$delay$, + mq_script$$name as mq_script$$name$, + mq_visibility$$timeout as mq_visibility$$timeout$, } from "../schemas.js"; import { - mq_consumer_request, - mq_http_consumer_request, - mq_worker_consumer_request, + mq_consumer$$request, + mq_http$$consumer$$request, + mq_worker$$consumer$$request, } from "./schemas.js"; /** @@ -48,35 +48,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "$ref": "#/$defs/mq_consumer-request" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { - "mq_batch-size": mq_batch_size, - "mq_consumer-request": mq_consumer_request, - "mq_http-consumer-request": mq_http_consumer_request, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max_concurrency, - "mq_max-retries": mq_max_retries, - "mq_max-wait-time": mq_max_wait_time, - "mq_queue-name": mq_queue_name, - "mq_retry-delay": mq_retry_delay, - "mq_script-name": mq_script_name, - "mq_visibility-timeout": mq_visibility_timeout, - "mq_worker-consumer-request": mq_worker_consumer_request, + "mq_batch-size": mq_batch$$size$, + "mq_consumer-request": mq_consumer$$request, + "mq_http-consumer-request": mq_http$$consumer$$request, + "mq_identifier": mq_identifier$, + "mq_max-concurrency": mq_max$$concurrency$, + "mq_max-retries": mq_max$$retries$, + "mq_max-wait-time": mq_max$$wait$$time$, + "mq_queue-name": mq_queue$$name$, + "mq_retry-delay": mq_retry$$delay$, + "mq_script-name": mq_script$$name$, + "mq_visibility-timeout": mq_visibility$$timeout$, + "mq_worker-consumer-request": mq_worker$$consumer$$request, }, }, outputSchema: { @@ -94,21 +102,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_queue-name": mq_queue_name_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_queue-name": mq_queue$$name, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, annotations: { @@ -153,22 +161,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_queue-name": mq_queue_name_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_queue-name": mq_queue$$name, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, request: (args) => ({ @@ -183,34 +191,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "consumer_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "consumer_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id", + "consumer_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id", - "consumer_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, + "mq_identifier": mq_identifier$, }, }, outputSchema: { "$ref": "#/$defs/mq_api-v4-success", $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, annotations: { @@ -243,10 +259,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, request: (args) => ({ @@ -260,26 +276,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "consumer_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "consumer_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id", + "consumer_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id", - "consumer_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, + "mq_identifier": mq_identifier$, }, }, outputSchema: { @@ -297,21 +321,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_queue-name": mq_queue_name_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_queue-name": mq_queue$$name, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, annotations: { @@ -358,22 +382,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_queue-name": mq_queue_name_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_queue-name": mq_queue$$name, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, request: (args) => ({ @@ -387,21 +411,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, + "mq_identifier": mq_identifier$, }, }, outputSchema: { @@ -422,21 +454,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_queue-name": mq_queue_name_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_queue-name": mq_queue$$name, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, annotations: { @@ -486,22 +518,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_queue-name": mq_queue_name_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_queue-name": mq_queue$$name, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, request: (args) => ({ @@ -515,41 +547,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "$ref": "#/$defs/mq_consumer-request" }, - "consumer_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "consumer_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id", + "consumer_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id", - "consumer_id", + "path", "body" ], $defs: { - "mq_batch-size": mq_batch_size, - "mq_consumer-request": mq_consumer_request, - "mq_http-consumer-request": mq_http_consumer_request, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max_concurrency, - "mq_max-retries": mq_max_retries, - "mq_max-wait-time": mq_max_wait_time, - "mq_queue-name": mq_queue_name, - "mq_retry-delay": mq_retry_delay, - "mq_script-name": mq_script_name, - "mq_visibility-timeout": mq_visibility_timeout, - "mq_worker-consumer-request": mq_worker_consumer_request, + "mq_batch-size": mq_batch$$size$, + "mq_consumer-request": mq_consumer$$request, + "mq_http-consumer-request": mq_http$$consumer$$request, + "mq_identifier": mq_identifier$, + "mq_max-concurrency": mq_max$$concurrency$, + "mq_max-retries": mq_max$$retries$, + "mq_max-wait-time": mq_max$$wait$$time$, + "mq_queue-name": mq_queue$$name$, + "mq_retry-delay": mq_retry$$delay$, + "mq_script-name": mq_script$$name$, + "mq_visibility-timeout": mq_visibility$$timeout$, + "mq_worker-consumer-request": mq_worker$$consumer$$request, }, }, outputSchema: { @@ -567,21 +607,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_queue-name": mq_queue_name_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_queue-name": mq_queue$$name, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, annotations: { @@ -626,22 +666,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_queue-name": mq_queue_name_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_queue-name": mq_queue$$name, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/queues/messages/outputs.ts b/src/generated/forge-mcp/queues/messages/outputs.ts index dd5e36bc6..9af157305 100644 --- a/src/generated/forge-mcp/queues/messages/outputs.ts +++ b/src/generated/forge-mcp/queues/messages/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `mq_lease-id` in responses. */ -export const mq_lease_id_output: JsonSchema = { +export const mq_lease$$id: JsonSchema = { "type": "string" }; /** * The schema of `mq_queue-peek-batch` in responses. */ -export const mq_queue_peek_batch_output: JsonSchema = { +export const mq_queue$$peek$$batch: JsonSchema = { "items": { "properties": { "attempts": { @@ -43,7 +43,7 @@ export const mq_queue_peek_batch_output: JsonSchema = { /** * The schema of `mq_queue-pull-batch` in responses. */ -export const mq_queue_pull_batch_output: JsonSchema = { +export const mq_queue$$pull$$batch: JsonSchema = { "items": { "properties": { "attempts": { @@ -73,6 +73,6 @@ export const mq_queue_pull_batch_output: JsonSchema = { /** * The schema of `mq_ref` in responses. */ -export const mq_ref_output: JsonSchema = { +export const mq_ref: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/queues/messages/schemas.ts b/src/generated/forge-mcp/queues/messages/schemas.ts index d6bdb3b5d..dd6cba97f 100644 --- a/src/generated/forge-mcp/queues/messages/schemas.ts +++ b/src/generated/forge-mcp/queues/messages/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `mq_lease-id`. */ -export const mq_lease_id: JsonSchema = { +export const mq_lease$$id: JsonSchema = { "description": "An ID that represents an \"in-flight\" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message.", "type": "string" }; @@ -14,7 +14,7 @@ export const mq_lease_id: JsonSchema = { /** * The schema of `mq_queue-batch`. */ -export const mq_queue_batch: JsonSchema = { +export const mq_queue$$batch: JsonSchema = { "properties": { "delay_seconds": { "description": "The number of seconds to wait for attempting to deliver this batch to consumers", @@ -33,7 +33,7 @@ export const mq_queue_batch: JsonSchema = { /** * The schema of `mq_queue-message`. */ -export const mq_queue_message: JsonSchema = { +export const mq_queue$$message: JsonSchema = { "allOf": [ { "properties": { @@ -60,7 +60,7 @@ export const mq_queue_message: JsonSchema = { /** * The schema of `mq_queue-message-json`. */ -export const mq_queue_message_json: JsonSchema = { +export const mq_queue$$message$$json: JsonSchema = { "properties": { "body": { "type": "object" @@ -78,7 +78,7 @@ export const mq_queue_message_json: JsonSchema = { /** * The schema of `mq_queue-message-text`. */ -export const mq_queue_message_text: JsonSchema = { +export const mq_queue$$message$$text: JsonSchema = { "properties": { "body": { "type": "string" diff --git a/src/generated/forge-mcp/queues/messages/tools.ts b/src/generated/forge-mcp/queues/messages/tools.ts index 11648736d..36e0c7288 100644 --- a/src/generated/forge-mcp/queues/messages/tools.ts +++ b/src/generated/forge-mcp/queues/messages/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - mq_api_v4_error_output, - mq_api_v4_failure_output, - mq_api_v4_message_output, - mq_api_v4_success_output, - mq_queue_metrics_output, + mq_api$$v4$$error, + mq_api$$v4$$failure, + mq_api$$v4$$message, + mq_api$$v4$$success, + mq_queue$$metrics, } from "../outputs.js"; import { - mq_batch_size, + mq_batch$$size, mq_identifier, - mq_retry_delay, - mq_visibility_timeout, + mq_retry$$delay, + mq_visibility$$timeout, } from "../schemas.js"; import { - mq_lease_id_output, - mq_queue_peek_batch_output, - mq_queue_pull_batch_output, - mq_ref_output, + mq_lease$$id, + mq_queue$$peek$$batch, + mq_queue$$pull$$batch, + mq_ref, } from "./outputs.js"; import { - mq_lease_id, - mq_queue_batch, - mq_queue_message, - mq_queue_message_json, - mq_queue_message_text, - mq_ref, + mq_lease$$id as mq_lease$$id$, + mq_queue$$batch, + mq_queue$$message, + mq_queue$$message$$json, + mq_queue$$message$$text, + mq_ref as mq_ref$, } from "./schemas.js"; /** @@ -41,10 +41,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "properties": { "acks": { @@ -78,19 +74,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { "mq_identifier": mq_identifier, - "mq_lease-id": mq_lease_id, - "mq_retry-delay": mq_retry_delay, + "mq_lease-id": mq_lease$$id$, + "mq_retry-delay": mq_retry$$delay, }, }, outputSchema: { @@ -122,9 +130,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, annotations: { @@ -184,10 +192,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, request: (args) => ({ @@ -196,34 +204,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "queues_messages_bulk_push", + name: "queues_messages_bulkPush", title: "Push Message Batch", description: "Pushes a batch of messages to a Queue.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "$ref": "#/$defs/mq_queue-batch" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { "mq_identifier": mq_identifier, - "mq_queue-batch": mq_queue_batch, - "mq_queue-message": mq_queue_message, - "mq_queue-message-json": mq_queue_message_json, - "mq_queue-message-text": mq_queue_message_text, + "mq_queue-batch": mq_queue$$batch, + "mq_queue-message": mq_queue$$message, + "mq_queue-message-json": mq_queue$$message$$json, + "mq_queue-message-text": mq_queue$$message$$text, }, }, outputSchema: { @@ -251,10 +267,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_queue-metrics": mq_queue_metrics_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_queue-metrics": mq_queue$$metrics, }, }, annotations: { @@ -310,11 +326,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_queue-metrics": mq_queue_metrics_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_queue-metrics": mq_queue$$metrics, }, }, request: (args) => ({ @@ -323,16 +339,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "queues_messages_extend_leases", + name: "queues_messages_extendLeases", title: "Extend Message Leases", description: "Extends message leases without incrementing the messages' `attempts` counters. Each message receives a new lease identifier.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "properties": { "extend": { @@ -354,19 +366,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { "mq_identifier": mq_identifier, - "mq_lease-id": mq_lease_id, - "mq_visibility-timeout": mq_visibility_timeout, + "mq_lease-id": mq_lease$$id$, + "mq_visibility-timeout": mq_visibility$$timeout, }, }, outputSchema: { @@ -395,9 +419,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, annotations: { @@ -454,10 +478,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, request: (args) => ({ @@ -472,10 +496,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "properties": { "batch_size": { @@ -485,17 +505,29 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { - "mq_batch-size": mq_batch_size, + "mq_batch-size": mq_batch$$size, "mq_identifier": mq_identifier, }, }, @@ -519,11 +551,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_queue-peek-batch": mq_queue_peek_batch_output, - "mq_ref": mq_ref_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_queue-peek-batch": mq_queue$$peek$$batch, + "mq_ref": mq_ref, }, }, annotations: { @@ -574,12 +606,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_queue-peek-batch": mq_queue_peek_batch_output, - "mq_ref": mq_ref_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_queue-peek-batch": mq_queue$$peek$$batch, + "mq_ref": mq_ref, }, }, request: (args) => ({ @@ -594,10 +626,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "properties": { "batch_size": { @@ -611,19 +639,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { - "mq_batch-size": mq_batch_size, + "mq_batch-size": mq_batch$$size, "mq_identifier": mq_identifier, - "mq_visibility-timeout": mq_visibility_timeout, + "mq_visibility-timeout": mq_visibility$$timeout, }, }, outputSchema: { @@ -657,12 +697,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_lease-id": mq_lease_id_output, - "mq_queue-metrics": mq_queue_metrics_output, - "mq_queue-pull-batch": mq_queue_pull_batch_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_lease-id": mq_lease$$id, + "mq_queue-metrics": mq_queue$$metrics, + "mq_queue-pull-batch": mq_queue$$pull$$batch, }, }, annotations: { @@ -724,13 +764,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_lease-id": mq_lease_id_output, - "mq_queue-metrics": mq_queue_metrics_output, - "mq_queue-pull-batch": mq_queue_pull_batch_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_lease-id": mq_lease$$id, + "mq_queue-metrics": mq_queue$$metrics, + "mq_queue-pull-batch": mq_queue$$pull$$batch, }, }, request: (args) => ({ @@ -745,10 +785,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "properties": { "refs": { @@ -772,19 +808,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id", + "path", "body" ], $defs: { "mq_identifier": mq_identifier, - "mq_ref": mq_ref, + "mq_ref": mq_ref$, }, }, outputSchema: { @@ -821,9 +869,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, annotations: { @@ -888,10 +936,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, request: (args) => ({ @@ -906,27 +954,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "$ref": "#/$defs/mq_queue-message" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { "mq_identifier": mq_identifier, - "mq_queue-message": mq_queue_message, - "mq_queue-message-json": mq_queue_message_json, - "mq_queue-message-text": mq_queue_message_text, + "mq_queue-message": mq_queue$$message, + "mq_queue-message-json": mq_queue$$message$$json, + "mq_queue-message-text": mq_queue$$message$$text, }, }, outputSchema: { @@ -954,10 +1010,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_queue-metrics": mq_queue_metrics_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_queue-metrics": mq_queue$$metrics, }, }, annotations: { @@ -1013,11 +1069,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_queue-metrics": mq_queue_metrics_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_queue-metrics": mq_queue$$metrics, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/queues/metrics/tools.ts b/src/generated/forge-mcp/queues/metrics/tools.ts index 5b2a9ea6c..2a442f410 100644 --- a/src/generated/forge-mcp/queues/metrics/tools.ts +++ b/src/generated/forge-mcp/queues/metrics/tools.ts @@ -3,11 +3,11 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - mq_api_v4_error_output, - mq_api_v4_failure_output, - mq_api_v4_message_output, - mq_api_v4_success_output, - mq_queue_metrics_output, + mq_api$$v4$$error, + mq_api$$v4$$failure, + mq_api$$v4$$message, + mq_api$$v4$$success, + mq_queue$$metrics, } from "../outputs.js"; import { mq_identifier } from "../schemas.js"; @@ -22,18 +22,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { "mq_identifier": mq_identifier, @@ -54,10 +62,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_queue-metrics": mq_queue_metrics_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_queue-metrics": mq_queue$$metrics, }, }, annotations: { @@ -99,11 +107,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_queue-metrics": mq_queue_metrics_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_queue-metrics": mq_queue$$metrics, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/queues/outputs.ts b/src/generated/forge-mcp/queues/outputs.ts index ea3fc032b..1063f111b 100644 --- a/src/generated/forge-mcp/queues/outputs.ts +++ b/src/generated/forge-mcp/queues/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `mq_api-v4-error` in responses. */ -export const mq_api_v4_error_output: JsonSchema = { +export const mq_api$$v4$$error: JsonSchema = { "items": { "properties": { "code": { @@ -28,7 +28,7 @@ export const mq_api_v4_error_output: JsonSchema = { /** * The schema of `mq_api-v4-failure` in responses. */ -export const mq_api_v4_failure_output: JsonSchema = { +export const mq_api$$v4$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/mq_api-v4-error" @@ -49,7 +49,7 @@ export const mq_api_v4_failure_output: JsonSchema = { /** * The schema of `mq_api-v4-message` in responses. */ -export const mq_api_v4_message_output: JsonSchema = { +export const mq_api$$v4$$message: JsonSchema = { "items": { "type": "string" }, @@ -59,7 +59,7 @@ export const mq_api_v4_message_output: JsonSchema = { /** * The schema of `mq_api-v4-success` in responses. */ -export const mq_api_v4_success_output: JsonSchema = { +export const mq_api$$v4$$success: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/mq_api-v4-error" @@ -80,14 +80,14 @@ export const mq_api_v4_success_output: JsonSchema = { /** * The schema of `mq_batch-size` in responses. */ -export const mq_batch_size_output: JsonSchema = { +export const mq_batch$$size: JsonSchema = { "type": "number" }; /** * The schema of `mq_consumer-response` in responses. */ -export const mq_consumer_response_output: JsonSchema = { +export const mq_consumer$$response: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/mq_worker-consumer-response" @@ -101,7 +101,7 @@ export const mq_consumer_response_output: JsonSchema = { /** * The schema of `mq_http-consumer-response` in responses. */ -export const mq_http_consumer_response_output: JsonSchema = { +export const mq_http$$consumer$$response: JsonSchema = { "properties": { "consumer_id": { "$ref": "#/$defs/mq_identifier" @@ -146,14 +146,14 @@ export const mq_http_consumer_response_output: JsonSchema = { /** * The schema of `mq_identifier` in responses. */ -export const mq_identifier_output: JsonSchema = { +export const mq_identifier: JsonSchema = { "type": "string" }; /** * The schema of `mq_jurisdiction` in responses. */ -export const mq_jurisdiction_output: JsonSchema = { +export const mq_jurisdiction: JsonSchema = { "enum": [ "eu", "us", @@ -165,28 +165,28 @@ export const mq_jurisdiction_output: JsonSchema = { /** * The schema of `mq_max-concurrency` in responses. */ -export const mq_max_concurrency_output: JsonSchema = { +export const mq_max$$concurrency: JsonSchema = { "type": "number" }; /** * The schema of `mq_max-retries` in responses. */ -export const mq_max_retries_output: JsonSchema = { +export const mq_max$$retries: JsonSchema = { "type": "number" }; /** * The schema of `mq_max-wait-time` in responses. */ -export const mq_max_wait_time_output: JsonSchema = { +export const mq_max$$wait$$time: JsonSchema = { "type": "number" }; /** * The schema of `mq_producer` in responses. */ -export const mq_producer_output: JsonSchema = { +export const mq_producer: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/mq_worker-producer" @@ -200,7 +200,7 @@ export const mq_producer_output: JsonSchema = { /** * The schema of `mq_queue` in responses. */ -export const mq_queue_output: JsonSchema = { +export const mq_queue: JsonSchema = { "properties": { "consumers": { "items": { @@ -245,7 +245,7 @@ export const mq_queue_output: JsonSchema = { /** * The schema of `mq_queue-metrics` in responses. */ -export const mq_queue_metrics_output: JsonSchema = { +export const mq_queue$$metrics: JsonSchema = { "properties": { "backlog_bytes": { "type": "number" @@ -268,14 +268,14 @@ export const mq_queue_metrics_output: JsonSchema = { /** * The schema of `mq_queue-name` in responses. */ -export const mq_queue_name_output: JsonSchema = { +export const mq_queue$$name: JsonSchema = { "type": "string" }; /** * The schema of `mq_queue-settings` in responses. */ -export const mq_queue_settings_output: JsonSchema = { +export const mq_queue$$settings: JsonSchema = { "properties": { "delivery_delay": { "type": "number" @@ -293,7 +293,7 @@ export const mq_queue_settings_output: JsonSchema = { /** * The schema of `mq_r2-producer` in responses. */ -export const mq_r2_producer_output: JsonSchema = { +export const mq_r2$$producer: JsonSchema = { "properties": { "bucket_name": { "type": "string" @@ -311,28 +311,28 @@ export const mq_r2_producer_output: JsonSchema = { /** * The schema of `mq_retry-delay` in responses. */ -export const mq_retry_delay_output: JsonSchema = { +export const mq_retry$$delay: JsonSchema = { "type": "number" }; /** * The schema of `mq_script-name` in responses. */ -export const mq_script_name_output: JsonSchema = { +export const mq_script$$name: JsonSchema = { "type": "string" }; /** * The schema of `mq_visibility-timeout` in responses. */ -export const mq_visibility_timeout_output: JsonSchema = { +export const mq_visibility$$timeout: JsonSchema = { "type": "number" }; /** * The schema of `mq_worker-consumer-response` in responses. */ -export const mq_worker_consumer_response_output: JsonSchema = { +export const mq_worker$$consumer$$response: JsonSchema = { "properties": { "consumer_id": { "$ref": "#/$defs/mq_identifier" @@ -383,7 +383,7 @@ export const mq_worker_consumer_response_output: JsonSchema = { /** * The schema of `mq_worker-producer` in responses. */ -export const mq_worker_producer_output: JsonSchema = { +export const mq_worker$$producer: JsonSchema = { "properties": { "script": { "type": "string" diff --git a/src/generated/forge-mcp/queues/purge/tools.ts b/src/generated/forge-mcp/queues/purge/tools.ts index 8c245b95f..95614a750 100644 --- a/src/generated/forge-mcp/queues/purge/tools.ts +++ b/src/generated/forge-mcp/queues/purge/tools.ts @@ -3,30 +3,30 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - mq_api_v4_error_output, - mq_api_v4_failure_output, - mq_api_v4_message_output, - mq_api_v4_success_output, - mq_batch_size_output, - mq_consumer_response_output, - mq_http_consumer_response_output, - mq_identifier_output, - mq_jurisdiction_output, - mq_max_concurrency_output, - mq_max_retries_output, - mq_max_wait_time_output, - mq_producer_output, - mq_queue_name_output, - mq_queue_output, - mq_queue_settings_output, - mq_r2_producer_output, - mq_retry_delay_output, - mq_script_name_output, - mq_visibility_timeout_output, - mq_worker_consumer_response_output, - mq_worker_producer_output, + mq_api$$v4$$error, + mq_api$$v4$$failure, + mq_api$$v4$$message, + mq_api$$v4$$success, + mq_batch$$size, + mq_consumer$$response, + mq_http$$consumer$$response, + mq_identifier, + mq_jurisdiction, + mq_max$$concurrency, + mq_max$$retries, + mq_max$$wait$$time, + mq_producer, + mq_queue, + mq_queue$$name, + mq_queue$$settings, + mq_r2$$producer, + mq_retry$$delay, + mq_script$$name, + mq_visibility$$timeout, + mq_worker$$consumer$$response, + mq_worker$$producer, } from "../outputs.js"; -import { mq_identifier } from "../schemas.js"; +import { mq_identifier as mq_identifier$ } from "../schemas.js"; /** * The tools of `queues.purge`. @@ -39,10 +39,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "properties": { "delete_messages_permanently": { @@ -52,17 +48,29 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, + "mq_identifier": mq_identifier$, }, }, outputSchema: { @@ -80,27 +88,27 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, annotations: { @@ -145,28 +153,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, request: (args) => ({ @@ -181,21 +189,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, + "mq_identifier": mq_identifier$, }, }, outputSchema: { @@ -221,9 +237,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, annotations: { @@ -278,10 +294,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/queues/schemas.ts b/src/generated/forge-mcp/queues/schemas.ts index 2ef7d9ae7..6df7e6619 100644 --- a/src/generated/forge-mcp/queues/schemas.ts +++ b/src/generated/forge-mcp/queues/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `mq_batch-size`. */ -export const mq_batch_size: JsonSchema = { +export const mq_batch$$size: JsonSchema = { "description": "The maximum number of messages to include in a batch.", "type": "number" }; @@ -34,7 +34,7 @@ export const mq_jurisdiction: JsonSchema = { /** * The schema of `mq_max-concurrency`. */ -export const mq_max_concurrency: JsonSchema = { +export const mq_max$$concurrency: JsonSchema = { "description": "Maximum number of concurrent consumers that may consume from this Queue. Set to `null` to automatically opt in to the platform's maximum (recommended).", "type": "number" }; @@ -42,7 +42,7 @@ export const mq_max_concurrency: JsonSchema = { /** * The schema of `mq_max-retries`. */ -export const mq_max_retries: JsonSchema = { +export const mq_max$$retries: JsonSchema = { "description": "The maximum number of retries", "type": "number" }; @@ -50,7 +50,7 @@ export const mq_max_retries: JsonSchema = { /** * The schema of `mq_max-wait-time`. */ -export const mq_max_wait_time: JsonSchema = { +export const mq_max$$wait$$time: JsonSchema = { "description": "The number of milliseconds to wait for a batch to fill up before attempting to deliver it", "type": "number" }; @@ -76,14 +76,14 @@ export const mq_queue: JsonSchema = { /** * The schema of `mq_queue-name`. */ -export const mq_queue_name: JsonSchema = { +export const mq_queue$$name: JsonSchema = { "type": "string" }; /** * The schema of `mq_queue-settings`. */ -export const mq_queue_settings: JsonSchema = { +export const mq_queue$$settings: JsonSchema = { "properties": { "delivery_delay": { "description": "Number of seconds to delay delivery of all messages to consumers.", @@ -104,7 +104,7 @@ export const mq_queue_settings: JsonSchema = { /** * The schema of `mq_retry-delay`. */ -export const mq_retry_delay: JsonSchema = { +export const mq_retry$$delay: JsonSchema = { "description": "The number of seconds to delay before making the message available for another attempt.", "type": "number" }; @@ -112,7 +112,7 @@ export const mq_retry_delay: JsonSchema = { /** * The schema of `mq_script-name`. */ -export const mq_script_name: JsonSchema = { +export const mq_script$$name: JsonSchema = { "description": "Name of a Worker", "type": "string" }; @@ -120,7 +120,7 @@ export const mq_script_name: JsonSchema = { /** * The schema of `mq_visibility-timeout`. */ -export const mq_visibility_timeout: JsonSchema = { +export const mq_visibility$$timeout: JsonSchema = { "description": "The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.", "type": "number" }; diff --git a/src/generated/forge-mcp/queues/subscriptions/outputs.ts b/src/generated/forge-mcp/queues/subscriptions/outputs.ts index 6a2377e98..977c588a1 100644 --- a/src/generated/forge-mcp/queues/subscriptions/outputs.ts +++ b/src/generated/forge-mcp/queues/subscriptions/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `mq_event-destination` in responses. */ -export const mq_event_destination_output: JsonSchema = { +export const mq_event$$destination: JsonSchema = { "$ref": "#/$defs/mq_event-destination-queue" }; /** * The schema of `mq_event-destination-queue` in responses. */ -export const mq_event_destination_queue_output: JsonSchema = { +export const mq_event$$destination$$queue: JsonSchema = { "properties": { "queue_id": { "type": "string" @@ -35,7 +35,7 @@ export const mq_event_destination_queue_output: JsonSchema = { /** * The schema of `mq_event-source` in responses. */ -export const mq_event_source_output: JsonSchema = { +export const mq_event$$source: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/mq_event-source-images" @@ -70,7 +70,7 @@ export const mq_event_source_output: JsonSchema = { /** * The schema of `mq_event-source-images` in responses. */ -export const mq_event_source_images_output: JsonSchema = { +export const mq_event$$source$$images: JsonSchema = { "properties": { "type": { "enum": [ @@ -85,7 +85,7 @@ export const mq_event_source_images_output: JsonSchema = { /** * The schema of `mq_event-source-kv` in responses. */ -export const mq_event_source_kv_output: JsonSchema = { +export const mq_event$$source$$kv: JsonSchema = { "properties": { "type": { "enum": [ @@ -100,7 +100,7 @@ export const mq_event_source_kv_output: JsonSchema = { /** * The schema of `mq_event-source-r2` in responses. */ -export const mq_event_source_r2_output: JsonSchema = { +export const mq_event$$source$$r2: JsonSchema = { "properties": { "type": { "enum": [ @@ -115,7 +115,7 @@ export const mq_event_source_r2_output: JsonSchema = { /** * The schema of `mq_event-source-super-slurper` in responses. */ -export const mq_event_source_super_slurper_output: JsonSchema = { +export const mq_event$$source$$super$$slurper: JsonSchema = { "properties": { "type": { "enum": [ @@ -130,7 +130,7 @@ export const mq_event_source_super_slurper_output: JsonSchema = { /** * The schema of `mq_event-source-vectorize` in responses. */ -export const mq_event_source_vectorize_output: JsonSchema = { +export const mq_event$$source$$vectorize: JsonSchema = { "properties": { "type": { "enum": [ @@ -145,7 +145,7 @@ export const mq_event_source_vectorize_output: JsonSchema = { /** * The schema of `mq_event-source-workers-ai-model` in responses. */ -export const mq_event_source_workers_ai_model_output: JsonSchema = { +export const mq_event$$source$$workers$$ai$$model: JsonSchema = { "properties": { "model_name": { "type": "string" @@ -163,7 +163,7 @@ export const mq_event_source_workers_ai_model_output: JsonSchema = { /** * The schema of `mq_event-source-workers-builds-worker` in responses. */ -export const mq_event_source_workers_builds_worker_output: JsonSchema = { +export const mq_event$$source$$workers$$builds$$worker: JsonSchema = { "properties": { "type": { "enum": [ @@ -181,7 +181,7 @@ export const mq_event_source_workers_builds_worker_output: JsonSchema = { /** * The schema of `mq_event-source-workers-script` in responses. */ -export const mq_event_source_workers_script_output: JsonSchema = { +export const mq_event$$source$$workers$$script: JsonSchema = { "properties": { "script_tag": { "type": "string" @@ -199,7 +199,7 @@ export const mq_event_source_workers_script_output: JsonSchema = { /** * The schema of `mq_event-source-workflows-workflow` in responses. */ -export const mq_event_source_workflows_workflow_output: JsonSchema = { +export const mq_event$$source$$workflows$$workflow: JsonSchema = { "properties": { "type": { "enum": [ @@ -217,7 +217,7 @@ export const mq_event_source_workflows_workflow_output: JsonSchema = { /** * The schema of `mq_event-subscription` in responses. */ -export const mq_event_subscription_output: JsonSchema = { +export const mq_event$$subscription: JsonSchema = { "properties": { "created_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/queues/subscriptions/schemas.ts b/src/generated/forge-mcp/queues/subscriptions/schemas.ts index 1fd234eed..296da8395 100644 --- a/src/generated/forge-mcp/queues/subscriptions/schemas.ts +++ b/src/generated/forge-mcp/queues/subscriptions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `mq_event-destination`. */ -export const mq_event_destination: JsonSchema = { +export const mq_event$$destination: JsonSchema = { "$ref": "#/$defs/mq_event-destination-queue", "description": "Destination configuration for the subscription" }; @@ -14,7 +14,7 @@ export const mq_event_destination: JsonSchema = { /** * The schema of `mq_event-destination-queue`. */ -export const mq_event_destination_queue: JsonSchema = { +export const mq_event$$destination$$queue: JsonSchema = { "properties": { "queue_id": { "description": "ID of the target queue", @@ -38,7 +38,7 @@ export const mq_event_destination_queue: JsonSchema = { /** * The schema of `mq_event-source`. */ -export const mq_event_source: JsonSchema = { +export const mq_event$$source: JsonSchema = { "description": "Source configuration for the subscription", "oneOf": [ { @@ -74,7 +74,7 @@ export const mq_event_source: JsonSchema = { /** * The schema of `mq_event-source-images`. */ -export const mq_event_source_images: JsonSchema = { +export const mq_event$$source$$images: JsonSchema = { "properties": { "type": { "description": "Type of source", @@ -90,7 +90,7 @@ export const mq_event_source_images: JsonSchema = { /** * The schema of `mq_event-source-kv`. */ -export const mq_event_source_kv: JsonSchema = { +export const mq_event$$source$$kv: JsonSchema = { "properties": { "type": { "description": "Type of source", @@ -106,7 +106,7 @@ export const mq_event_source_kv: JsonSchema = { /** * The schema of `mq_event-source-r2`. */ -export const mq_event_source_r2: JsonSchema = { +export const mq_event$$source$$r2: JsonSchema = { "properties": { "type": { "description": "Type of source", @@ -122,7 +122,7 @@ export const mq_event_source_r2: JsonSchema = { /** * The schema of `mq_event-source-super-slurper`. */ -export const mq_event_source_super_slurper: JsonSchema = { +export const mq_event$$source$$super$$slurper: JsonSchema = { "properties": { "type": { "description": "Type of source", @@ -138,7 +138,7 @@ export const mq_event_source_super_slurper: JsonSchema = { /** * The schema of `mq_event-source-vectorize`. */ -export const mq_event_source_vectorize: JsonSchema = { +export const mq_event$$source$$vectorize: JsonSchema = { "properties": { "type": { "description": "Type of source", @@ -154,7 +154,7 @@ export const mq_event_source_vectorize: JsonSchema = { /** * The schema of `mq_event-source-workers-ai-model`. */ -export const mq_event_source_workers_ai_model: JsonSchema = { +export const mq_event$$source$$workers$$ai$$model: JsonSchema = { "properties": { "model_name": { "description": "Name of the Workers AI model", @@ -174,7 +174,7 @@ export const mq_event_source_workers_ai_model: JsonSchema = { /** * The schema of `mq_event-source-workers-builds-worker`. */ -export const mq_event_source_workers_builds_worker: JsonSchema = { +export const mq_event$$source$$workers$$builds$$worker: JsonSchema = { "properties": { "type": { "description": "Type of source", @@ -194,7 +194,7 @@ export const mq_event_source_workers_builds_worker: JsonSchema = { /** * The schema of `mq_event-source-workers-script`. */ -export const mq_event_source_workers_script: JsonSchema = { +export const mq_event$$source$$workers$$script: JsonSchema = { "properties": { "script_tag": { "description": "Tag of the Worker script", @@ -214,7 +214,7 @@ export const mq_event_source_workers_script: JsonSchema = { /** * The schema of `mq_event-source-workflows-workflow`. */ -export const mq_event_source_workflows_workflow: JsonSchema = { +export const mq_event$$source$$workflows$$workflow: JsonSchema = { "properties": { "type": { "description": "Type of source", diff --git a/src/generated/forge-mcp/queues/subscriptions/tools.ts b/src/generated/forge-mcp/queues/subscriptions/tools.ts index a67d58ff6..7e3d8af9f 100644 --- a/src/generated/forge-mcp/queues/subscriptions/tools.ts +++ b/src/generated/forge-mcp/queues/subscriptions/tools.ts @@ -1,42 +1,42 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - mq_api_v4_error_output, - mq_api_v4_failure_output, - mq_api_v4_message_output, - mq_api_v4_success_output, + mq_api$$v4$$error, + mq_api$$v4$$failure, + mq_api$$v4$$message, + mq_api$$v4$$success, } from "../outputs.js"; import { mq_identifier } from "../schemas.js"; import { - mq_event_destination_output, - mq_event_destination_queue_output, - mq_event_source_images_output, - mq_event_source_kv_output, - mq_event_source_output, - mq_event_source_r2_output, - mq_event_source_super_slurper_output, - mq_event_source_vectorize_output, - mq_event_source_workers_ai_model_output, - mq_event_source_workers_builds_worker_output, - mq_event_source_workers_script_output, - mq_event_source_workflows_workflow_output, - mq_event_subscription_output, + mq_event$$destination, + mq_event$$destination$$queue, + mq_event$$source, + mq_event$$source$$images, + mq_event$$source$$kv, + mq_event$$source$$r2, + mq_event$$source$$super$$slurper, + mq_event$$source$$vectorize, + mq_event$$source$$workers$$ai$$model, + mq_event$$source$$workers$$builds$$worker, + mq_event$$source$$workers$$script, + mq_event$$source$$workflows$$workflow, + mq_event$$subscription, } from "./outputs.js"; import { - mq_event_destination, - mq_event_destination_queue, - mq_event_source, - mq_event_source_images, - mq_event_source_kv, - mq_event_source_r2, - mq_event_source_super_slurper, - mq_event_source_vectorize, - mq_event_source_workers_ai_model, - mq_event_source_workers_builds_worker, - mq_event_source_workers_script, - mq_event_source_workflows_workflow, + mq_event$$destination as mq_event$$destination$, + mq_event$$destination$$queue as mq_event$$destination$$queue$, + mq_event$$source as mq_event$$source$, + mq_event$$source$$images as mq_event$$source$$images$, + mq_event$$source$$kv as mq_event$$source$$kv$, + mq_event$$source$$r2 as mq_event$$source$$r2$, + mq_event$$source$$super$$slurper as mq_event$$source$$super$$slurper$, + mq_event$$source$$vectorize as mq_event$$source$$vectorize$, + mq_event$$source$$workers$$ai$$model as mq_event$$source$$workers$$ai$$model$, + mq_event$$source$$workers$$builds$$worker as mq_event$$source$$workers$$builds$$worker$, + mq_event$$source$$workers$$script as mq_event$$source$$workers$$script$, + mq_event$$source$$workflows$$workflow as mq_event$$source$$workflows$$workflow$, } from "./schemas.js"; /** @@ -50,10 +50,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "properties": { "destination": { @@ -82,25 +78,37 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "mq_event-destination": mq_event_destination, - "mq_event-destination-queue": mq_event_destination_queue, - "mq_event-source": mq_event_source, - "mq_event-source-images": mq_event_source_images, - "mq_event-source-kv": mq_event_source_kv, - "mq_event-source-r2": mq_event_source_r2, - "mq_event-source-super-slurper": mq_event_source_super_slurper, - "mq_event-source-vectorize": mq_event_source_vectorize, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker, - "mq_event-source-workers-script": mq_event_source_workers_script, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow, + "mq_event-destination": mq_event$$destination$, + "mq_event-destination-queue": mq_event$$destination$$queue$, + "mq_event-source": mq_event$$source$, + "mq_event-source-images": mq_event$$source$$images$, + "mq_event-source-kv": mq_event$$source$$kv$, + "mq_event-source-r2": mq_event$$source$$r2$, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper$, + "mq_event-source-vectorize": mq_event$$source$$vectorize$, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model$, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker$, + "mq_event-source-workers-script": mq_event$$source$$workers$$script$, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow$, "mq_identifier": mq_identifier, }, }, @@ -119,22 +127,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, annotations: { @@ -180,23 +188,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, request: (args) => ({ @@ -211,18 +219,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "subscription_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "subscription_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "subscription_id" + ], + "type": "object" } }, required: [ - "account_id", - "subscription_id" + "path" ], $defs: { "mq_identifier": mq_identifier, @@ -243,22 +259,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, annotations: { @@ -298,23 +314,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, request: (args) => ({ @@ -328,18 +344,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "subscription_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "subscription_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "subscription_id" + ], + "type": "object" } }, required: [ - "account_id", - "subscription_id" + "path" ], $defs: { "mq_identifier": mq_identifier, @@ -360,22 +384,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, annotations: { @@ -415,23 +439,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, request: (args) => ({ @@ -445,43 +469,56 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "direction": { - "default": "asc", - "description": "Sort direction", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order": { - "default": "name", - "description": "Field to sort by", - "enum": [ - "created_at", - "name", - "enabled", - "source" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number for pagination", - "type": "integer" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of items per page", - "type": "integer" + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "Sort direction", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "default": "name", + "description": "Field to sort by", + "enum": [ + "created_at", + "name", + "enabled", + "source" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number for pagination", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of items per page", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "mq_identifier": mq_identifier, @@ -532,22 +569,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, annotations: { @@ -619,32 +656,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_subscriptions/subscriptions`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, @@ -655,10 +692,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "properties": { "destination": { @@ -684,19 +717,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "subscription_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "subscription_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "subscription_id" + ], + "type": "object" } }, required: [ - "account_id", - "subscription_id", + "path", "body" ], $defs: { - "mq_event-destination": mq_event_destination, - "mq_event-destination-queue": mq_event_destination_queue, + "mq_event-destination": mq_event$$destination$, + "mq_event-destination-queue": mq_event$$destination$$queue$, "mq_identifier": mq_identifier, }, }, @@ -715,22 +760,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, annotations: { @@ -778,23 +823,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_event-destination": mq_event_destination_output, - "mq_event-destination-queue": mq_event_destination_queue_output, - "mq_event-source": mq_event_source_output, - "mq_event-source-images": mq_event_source_images_output, - "mq_event-source-kv": mq_event_source_kv_output, - "mq_event-source-r2": mq_event_source_r2_output, - "mq_event-source-super-slurper": mq_event_source_super_slurper_output, - "mq_event-source-vectorize": mq_event_source_vectorize_output, - "mq_event-source-workers-ai-model": mq_event_source_workers_ai_model_output, - "mq_event-source-workers-builds-worker": mq_event_source_workers_builds_worker_output, - "mq_event-source-workers-script": mq_event_source_workers_script_output, - "mq_event-source-workflows-workflow": mq_event_source_workflows_workflow_output, - "mq_event-subscription": mq_event_subscription_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_event-destination": mq_event$$destination, + "mq_event-destination-queue": mq_event$$destination$$queue, + "mq_event-source": mq_event$$source, + "mq_event-source-images": mq_event$$source$$images, + "mq_event-source-kv": mq_event$$source$$kv, + "mq_event-source-r2": mq_event$$source$$r2, + "mq_event-source-super-slurper": mq_event$$source$$super$$slurper, + "mq_event-source-vectorize": mq_event$$source$$vectorize, + "mq_event-source-workers-ai-model": mq_event$$source$$workers$$ai$$model, + "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker, + "mq_event-source-workers-script": mq_event$$source$$workers$$script, + "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow, + "mq_event-subscription": mq_event$$subscription, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/queues/tools.ts b/src/generated/forge-mcp/queues/tools.ts index c633ae328..66408182a 100644 --- a/src/generated/forge-mcp/queues/tools.ts +++ b/src/generated/forge-mcp/queues/tools.ts @@ -3,35 +3,35 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - mq_api_v4_error_output, - mq_api_v4_failure_output, - mq_api_v4_message_output, - mq_api_v4_success_output, - mq_batch_size_output, - mq_consumer_response_output, - mq_http_consumer_response_output, - mq_identifier_output, - mq_jurisdiction_output, - mq_max_concurrency_output, - mq_max_retries_output, - mq_max_wait_time_output, - mq_producer_output, - mq_queue_name_output, - mq_queue_output, - mq_queue_settings_output, - mq_r2_producer_output, - mq_retry_delay_output, - mq_script_name_output, - mq_visibility_timeout_output, - mq_worker_consumer_response_output, - mq_worker_producer_output, -} from "./outputs.js"; -import { + mq_api$$v4$$error, + mq_api$$v4$$failure, + mq_api$$v4$$message, + mq_api$$v4$$success, + mq_batch$$size, + mq_consumer$$response, + mq_http$$consumer$$response, mq_identifier, mq_jurisdiction, + mq_max$$concurrency, + mq_max$$retries, + mq_max$$wait$$time, + mq_producer, mq_queue, - mq_queue_name, - mq_queue_settings, + mq_queue$$name, + mq_queue$$settings, + mq_r2$$producer, + mq_retry$$delay, + mq_script$$name, + mq_visibility$$timeout, + mq_worker$$consumer$$response, + mq_worker$$producer, +} from "./outputs.js"; +import { + mq_identifier as mq_identifier$, + mq_jurisdiction as mq_jurisdiction$, + mq_queue as mq_queue$, + mq_queue$$name as mq_queue$$name$, + mq_queue$$settings as mq_queue$$settings$, } from "./schemas.js"; /** @@ -45,10 +45,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "properties": { "jurisdiction": { @@ -62,15 +58,27 @@ export const tools: readonly Tool[] = [ "queue_name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_queue-name": mq_queue_name, + "mq_identifier": mq_identifier$, + "mq_jurisdiction": mq_jurisdiction$, + "mq_queue-name": mq_queue$$name$, }, }, outputSchema: { @@ -88,27 +96,27 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, annotations: { @@ -153,28 +161,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, request: (args) => ({ @@ -189,29 +197,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, + "mq_identifier": mq_identifier$, }, }, outputSchema: { "$ref": "#/$defs/mq_api-v4-success", $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, annotations: { @@ -244,10 +260,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, }, }, request: (args) => ({ @@ -261,28 +277,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, "body": { "$ref": "#/$defs/mq_queue" }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_queue": mq_queue, - "mq_queue-name": mq_queue_name, - "mq_queue-settings": mq_queue_settings, + "mq_identifier": mq_identifier$, + "mq_jurisdiction": mq_jurisdiction$, + "mq_queue": mq_queue$, + "mq_queue-name": mq_queue$$name$, + "mq_queue-settings": mq_queue$$settings$, }, }, outputSchema: { @@ -300,27 +324,27 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, annotations: { @@ -365,28 +389,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, request: (args) => ({ @@ -401,21 +425,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." - }, - "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + }, + "queue_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id", + "queue_id" + ], + "type": "object" } }, required: [ - "account_id", - "queue_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, + "mq_identifier": mq_identifier$, }, }, outputSchema: { @@ -433,27 +465,27 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, annotations: { @@ -500,28 +532,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, request: (args) => ({ @@ -535,16 +567,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/mq_identifier", + "description": "A Resource identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "mq_identifier": mq_identifier, + "mq_identifier": mq_identifier$, }, }, outputSchema: { @@ -585,27 +625,27 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, annotations: { @@ -675,28 +715,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "mq_api-v4-error": mq_api_v4_error_output, - "mq_api-v4-failure": mq_api_v4_failure_output, - "mq_api-v4-message": mq_api_v4_message_output, - "mq_api-v4-success": mq_api_v4_success_output, - "mq_batch-size": mq_batch_size_output, - "mq_consumer-response": mq_consumer_response_output, - "mq_http-consumer-response": mq_http_consumer_response_output, - "mq_identifier": mq_identifier_output, - "mq_jurisdiction": mq_jurisdiction_output, - "mq_max-concurrency": mq_max_concurrency_output, - "mq_max-retries": mq_max_retries_output, - "mq_max-wait-time": mq_max_wait_time_output, - "mq_producer": mq_producer_output, - "mq_queue": mq_queue_output, - "mq_queue-name": mq_queue_name_output, - "mq_queue-settings": mq_queue_settings_output, - "mq_r2-producer": mq_r2_producer_output, - "mq_retry-delay": mq_retry_delay_output, - "mq_script-name": mq_script_name_output, - "mq_visibility-timeout": mq_visibility_timeout_output, - "mq_worker-consumer-response": mq_worker_consumer_response_output, - "mq_worker-producer": mq_worker_producer_output, + "mq_api-v4-error": mq_api$$v4$$error, + "mq_api-v4-failure": mq_api$$v4$$failure, + "mq_api-v4-message": mq_api$$v4$$message, + "mq_api-v4-success": mq_api$$v4$$success, + "mq_batch-size": mq_batch$$size, + "mq_consumer-response": mq_consumer$$response, + "mq_http-consumer-response": mq_http$$consumer$$response, + "mq_identifier": mq_identifier, + "mq_jurisdiction": mq_jurisdiction, + "mq_max-concurrency": mq_max$$concurrency, + "mq_max-retries": mq_max$$retries, + "mq_max-wait-time": mq_max$$wait$$time, + "mq_producer": mq_producer, + "mq_queue": mq_queue, + "mq_queue-name": mq_queue$$name, + "mq_queue-settings": mq_queue$$settings, + "mq_r2-producer": mq_r2$$producer, + "mq_retry-delay": mq_retry$$delay, + "mq_script-name": mq_script$$name, + "mq_visibility-timeout": mq_visibility$$timeout, + "mq_worker-consumer-response": mq_worker$$consumer$$response, + "mq_worker-producer": mq_worker$$producer, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/r2/buckets/cors/outputs.ts b/src/generated/forge-mcp/r2/buckets/cors/outputs.ts index fb5b505f4..ab6715d0f 100644 --- a/src/generated/forge-mcp/r2/buckets/cors/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/cors/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_cors-rule` in responses. */ -export const r2_cors_rule_output: JsonSchema = { +export const r2_cors$$rule: JsonSchema = { "properties": { "allowed": { "properties": { diff --git a/src/generated/forge-mcp/r2/buckets/cors/schemas.ts b/src/generated/forge-mcp/r2/buckets/cors/schemas.ts index cd05afdf7..c3c3f0a52 100644 --- a/src/generated/forge-mcp/r2/buckets/cors/schemas.ts +++ b/src/generated/forge-mcp/r2/buckets/cors/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_cors-rule`. */ -export const r2_cors_rule: JsonSchema = { +export const r2_cors$$rule: JsonSchema = { "properties": { "allowed": { "description": "Object specifying allowed origins, methods and headers for this CORS rule.", diff --git a/src/generated/forge-mcp/r2/buckets/cors/tools.ts b/src/generated/forge-mcp/r2/buckets/cors/tools.ts index 89a7e78c6..3e592f363 100644 --- a/src/generated/forge-mcp/r2/buckets/cors/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/cors/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, param, pathParam } from "../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../../outputs.js"; import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; -import { r2_cors_rule_output } from "./outputs.js"; -import { r2_cors_rule } from "./schemas.js"; +import { r2_cors$$rule } from "./outputs.js"; +import { r2_cors$$rule as r2_cors$$rule$ } from "./schemas.js"; /** * The tools of `r2.buckets.cors`. @@ -23,30 +23,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -56,9 +69,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/r2_v4_response", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -80,16 +93,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/cors`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -100,30 +113,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -153,10 +179,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_cors-rule": r2_cors_rule_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_cors-rule": r2_cors$$rule, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -198,17 +224,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_cors-rule": r2_cors_rule_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_cors-rule": r2_cors$$rule, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/cors`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -219,10 +245,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "properties": { "rules": { @@ -234,40 +256,57 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { "r2_account_identifier": r2_account_identifier, "r2_bucket_name": r2_bucket_name, - "r2_cors-rule": r2_cors_rule, + "r2_cors-rule": r2_cors$$rule$, }, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -289,16 +328,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/cors`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/r2/buckets/domains/custom/outputs.ts b/src/generated/forge-mcp/r2/buckets/domains/custom/outputs.ts index da2805b29..fff577cda 100644 --- a/src/generated/forge-mcp/r2/buckets/domains/custom/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/domains/custom/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `r2_add_custom_domain_response` in responses. */ -export const r2_add_custom_domain_response_output: JsonSchema = { +export const r2_add_custom_domain_response: JsonSchema = { "properties": { "ciphers": { "items": { @@ -44,7 +44,7 @@ export const r2_add_custom_domain_response_output: JsonSchema = { /** * The schema of `r2_edit_custom_domain_response` in responses. */ -export const r2_edit_custom_domain_response_output: JsonSchema = { +export const r2_edit_custom_domain_response: JsonSchema = { "properties": { "ciphers": { "items": { @@ -77,7 +77,7 @@ export const r2_edit_custom_domain_response_output: JsonSchema = { /** * The schema of `r2_get_custom_domain_response` in responses. */ -export const r2_get_custom_domain_response_output: JsonSchema = { +export const r2_get_custom_domain_response: JsonSchema = { "properties": { "ciphers": { "items": { @@ -149,7 +149,7 @@ export const r2_get_custom_domain_response_output: JsonSchema = { /** * The schema of `r2_list_custom_domains_response` in responses. */ -export const r2_list_custom_domains_response_output: JsonSchema = { +export const r2_list_custom_domains_response: JsonSchema = { "properties": { "domains": { "items": { @@ -232,7 +232,7 @@ export const r2_list_custom_domains_response_output: JsonSchema = { /** * The schema of `r2_remove_custom_domain_response` in responses. */ -export const r2_remove_custom_domain_response_output: JsonSchema = { +export const r2_remove_custom_domain_response: JsonSchema = { "properties": { "domain": { "type": "string" diff --git a/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts b/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts index 909574912..9bd4aeead 100644 --- a/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/domains/custom/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, param, pathParam } from "../../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../../../outputs.js"; import { r2_account_identifier, r2_bucket_name } from "../../../schemas.js"; import { - r2_add_custom_domain_response_output, - r2_edit_custom_domain_response_output, - r2_get_custom_domain_response_output, - r2_list_custom_domains_response_output, - r2_remove_custom_domain_response_output, + r2_add_custom_domain_response, + r2_edit_custom_domain_response, + r2_get_custom_domain_response, + r2_list_custom_domains_response, + r2_remove_custom_domain_response, } from "./outputs.js"; import { r2_add_custom_domain_request, @@ -33,33 +33,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "$ref": "#/$defs/r2_add_custom_domain_request" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { @@ -83,10 +96,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_add_custom_domain_response": r2_add_custom_domain_response_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_add_custom_domain_response": r2_add_custom_domain_response, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -127,17 +140,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_add_custom_domain_response": r2_add_custom_domain_response_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_add_custom_domain_response": r2_add_custom_domain_response, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -149,35 +162,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + }, + "domain": { + "$ref": "#/$defs/r2_domain_name", + "description": "Name of the custom domain." + } + }, + "required": [ + "account_id", + "bucket_name", + "domain" ], - "type": "string" - }, - "domain": { - "$ref": "#/$defs/r2_domain_name", - "description": "Name of the custom domain." + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "domain" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -200,10 +226,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_remove_custom_domain_response": r2_remove_custom_domain_response_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_remove_custom_domain_response": r2_remove_custom_domain_response, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -242,17 +268,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_remove_custom_domain_response": r2_remove_custom_domain_response_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_remove_custom_domain_response": r2_remove_custom_domain_response, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom/${pathParam(args, "domain")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -263,35 +289,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + }, + "domain": { + "$ref": "#/$defs/r2_domain_name", + "description": "Name of the custom domain." + } + }, + "required": [ + "account_id", + "bucket_name", + "domain" ], - "type": "string" - }, - "domain": { - "$ref": "#/$defs/r2_domain_name", - "description": "Name of the custom domain." + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "domain" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -314,10 +353,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_get_custom_domain_response": r2_get_custom_domain_response_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_get_custom_domain_response": r2_get_custom_domain_response, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -357,17 +396,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_get_custom_domain_response": r2_get_custom_domain_response_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_get_custom_domain_response": r2_get_custom_domain_response, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom/${pathParam(args, "domain")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -378,30 +417,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -423,10 +475,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_list_custom_domains_response": r2_list_custom_domains_response_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_list_custom_domains_response": r2_list_custom_domains_response, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -467,17 +519,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_list_custom_domains_response": r2_list_custom_domains_response_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_list_custom_domains_response": r2_list_custom_domains_response, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -488,38 +540,51 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "$ref": "#/$defs/r2_edit_custom_domain_request" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + }, + "domain": { + "$ref": "#/$defs/r2_domain_name", + "description": "Name of the custom domain." + } + }, + "required": [ + "account_id", + "bucket_name", + "domain" ], - "type": "string" - }, - "domain": { - "$ref": "#/$defs/r2_domain_name", - "description": "Name of the custom domain." + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "domain", + "path", "body" ], $defs: { @@ -544,10 +609,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_edit_custom_domain_response": r2_edit_custom_domain_response_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_edit_custom_domain_response": r2_edit_custom_domain_response, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -588,17 +653,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_edit_custom_domain_response": r2_edit_custom_domain_response_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_edit_custom_domain_response": r2_edit_custom_domain_response, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/custom/${pathParam(args, "domain")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/r2/buckets/domains/managed/outputs.ts b/src/generated/forge-mcp/r2/buckets/domains/managed/outputs.ts index b4a875974..b3c58d7d4 100644 --- a/src/generated/forge-mcp/r2/buckets/domains/managed/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/domains/managed/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `r2_managed_domain_response` in responses. */ -export const r2_managed_domain_response_output: JsonSchema = { +export const r2_managed_domain_response: JsonSchema = { "properties": { "bucketId": { "type": "string" diff --git a/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts b/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts index 01f1e3d8b..0e08b6760 100644 --- a/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts @@ -1,15 +1,15 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../../../outputs.js"; import { r2_account_identifier, r2_bucket_name } from "../../../schemas.js"; -import { r2_managed_domain_response_output } from "./outputs.js"; +import { r2_managed_domain_response } from "./outputs.js"; import { r2_edit_managed_domain_request } from "./schemas.js"; /** @@ -23,30 +23,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -68,10 +81,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_managed_domain_response": r2_managed_domain_response_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_managed_domain_response": r2_managed_domain_response, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -112,17 +125,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_managed_domain_response": r2_managed_domain_response_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_managed_domain_response": r2_managed_domain_response, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/managed`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -133,33 +146,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "$ref": "#/$defs/r2_edit_managed_domain_request" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { @@ -183,10 +209,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_managed_domain_response": r2_managed_domain_response_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_managed_domain_response": r2_managed_domain_response, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -227,17 +253,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_managed_domain_response": r2_managed_domain_response_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_managed_domain_response": r2_managed_domain_response, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/domains/managed`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts b/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts index c5c839b8a..98b34df64 100644 --- a/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_bucket-config` in responses. */ -export const r2_bucket_config_output: JsonSchema = { +export const r2_bucket$$config: JsonSchema = { "properties": { "bucketName": { "type": "string" @@ -24,7 +24,7 @@ export const r2_bucket_config_output: JsonSchema = { /** * The schema of `r2_queues-config` in responses. */ -export const r2_queues_config_output: JsonSchema = { +export const r2_queues$$config: JsonSchema = { "properties": { "queueId": { "type": "string" @@ -63,7 +63,7 @@ export const r2_queues_config_output: JsonSchema = { /** * The schema of `r2_r2-action` in responses. */ -export const r2_r2_action_output: JsonSchema = { +export const r2_r2$$action: JsonSchema = { "enum": [ "PutObject", "CopyObject", @@ -77,7 +77,7 @@ export const r2_r2_action_output: JsonSchema = { /** * The schema of `r2_rule` in responses. */ -export const r2_rule_output: JsonSchema = { +export const r2_rule: JsonSchema = { "properties": { "actions": { "items": { diff --git a/src/generated/forge-mcp/r2/buckets/eventNotifications/schemas.ts b/src/generated/forge-mcp/r2/buckets/eventNotifications/schemas.ts index 67405a990..a4184fdb5 100644 --- a/src/generated/forge-mcp/r2/buckets/eventNotifications/schemas.ts +++ b/src/generated/forge-mcp/r2/buckets/eventNotifications/schemas.ts @@ -14,7 +14,7 @@ export const r2_queue_identifier: JsonSchema = { /** * The schema of `r2_r2-action`. */ -export const r2_r2_action: JsonSchema = { +export const r2_r2$$action: JsonSchema = { "enum": [ "PutObject", "CopyObject", diff --git a/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts b/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts index b638f38d0..247fddb8f 100644 --- a/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts @@ -1,37 +1,37 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../../outputs.js"; import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; import { - r2_bucket_config_output, - r2_queues_config_output, - r2_r2_action_output, - r2_rule_output, + r2_bucket$$config, + r2_queues$$config, + r2_r2$$action, + r2_rule, } from "./outputs.js"; -import { r2_queue_identifier, r2_r2_action, r2_rule } from "./schemas.js"; +import { + r2_queue_identifier, + r2_r2$$action as r2_r2$$action$, + r2_rule as r2_rule$, +} from "./schemas.js"; /** - * The tools of `r2.buckets.event_notifications`. + * The tools of `r2.buckets.eventNotifications`. */ export const tools: readonly Tool[] = [ { - name: "r2_buckets_event_notifications_delete", + name: "r2_buckets_eventNotifications_delete", title: "Delete Event Notification Rules", description: "Deletes the specified event notification rules for an R2 bucket and Cloudflare Queue. Provide ruleIds in the request body to select rules. If no body is provided, all rules for that bucket and queue are deleted.\n\nConfirm with the user before calling this tool. This deletes event notification rules for the selected R2 bucket and queue. Without a request body, all rules for that bucket and queue are deleted.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "properties": { "ruleIds": { @@ -44,31 +44,48 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + }, + "queue_id": { + "$ref": "#/$defs/r2_queue_identifier", + "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events." + } + }, + "required": [ + "account_id", + "bucket_name", + "queue_id" ], - "type": "string" - }, - "queue_id": { - "$ref": "#/$defs/r2_queue_identifier", - "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events." + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "queue_id" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -79,9 +96,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/r2_v4_response", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -108,56 +125,69 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_notifications/r2/${pathParam(args, "bucket_name")}/configuration/queues/${pathParam(args, "queue_id")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "r2_buckets_event_notifications_get", + name: "r2_buckets_eventNotifications_get", title: "Get Event Notification Rules for a Queue", description: "Gets the event notification rules for the specified R2 bucket and Cloudflare Queue. The response includes the queue's configuration and its array of rules.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + }, + "queue_id": { + "$ref": "#/$defs/r2_queue_identifier", + "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events." + } + }, + "required": [ + "account_id", + "bucket_name", + "queue_id" ], - "type": "string" - }, - "queue_id": { - "$ref": "#/$defs/r2_queue_identifier", - "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events." + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "queue_id" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -180,12 +210,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_queues-config": r2_queues_config_output, - "r2_r2-action": r2_r2_action_output, - "r2_rule": r2_rule_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_queues-config": r2_queues$$config, + "r2_r2-action": r2_r2$$action, + "r2_rule": r2_rule, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -228,53 +258,66 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_queues-config": r2_queues_config_output, - "r2_r2-action": r2_r2_action_output, - "r2_rule": r2_rule_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_queues-config": r2_queues$$config, + "r2_r2-action": r2_r2$$action, + "r2_rule": r2_rule, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_notifications/r2/${pathParam(args, "bucket_name")}/configuration/queues/${pathParam(args, "queue_id")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, { - name: "r2_buckets_event_notifications_list", + name: "r2_buckets_eventNotifications_list", title: "List Event Notification Rules", description: "Lists event notification rules for an R2 bucket, grouped by the Cloudflare Queue that receives matching object events.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -296,13 +339,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_bucket-config": r2_bucket_config_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_queues-config": r2_queues_config_output, - "r2_r2-action": r2_r2_action_output, - "r2_rule": r2_rule_output, - "r2_v4_response": r2_v4_response_output, + "r2_bucket-config": r2_bucket$$config, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_queues-config": r2_queues$$config, + "r2_r2-action": r2_r2$$action, + "r2_rule": r2_rule, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -345,34 +388,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_bucket-config": r2_bucket_config_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_queues-config": r2_queues_config_output, - "r2_r2-action": r2_r2_action_output, - "r2_rule": r2_rule_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_bucket-config": r2_bucket$$config, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_queues-config": r2_queues$$config, + "r2_r2-action": r2_r2$$action, + "r2_rule": r2_rule, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_notifications/r2/${pathParam(args, "bucket_name")}/configuration`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, { - name: "r2_buckets_event_notifications_update", + name: "r2_buckets_eventNotifications_update", title: "Create Event Notification Rules", description: "Creates rules that send notifications for matching R2 object events to the specified Cloudflare Queue. Rules can filter objects by key prefix and suffix. New rules are added to any existing rules for the queue; a rule that overlaps an existing rule is rejected.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "properties": { "rules": { @@ -389,47 +428,64 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + }, + "queue_id": { + "$ref": "#/$defs/r2_queue_identifier", + "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events." + } + }, + "required": [ + "account_id", + "bucket_name", + "queue_id" ], - "type": "string" - }, - "queue_id": { - "$ref": "#/$defs/r2_queue_identifier", - "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events." + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "queue_id", + "path", "body" ], $defs: { "r2_account_identifier": r2_account_identifier, "r2_bucket_name": r2_bucket_name, "r2_queue_identifier": r2_queue_identifier, - "r2_r2-action": r2_r2_action, - "r2_rule": r2_rule, + "r2_r2-action": r2_r2$$action$, + "r2_rule": r2_rule$, }, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -456,16 +512,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/event_notifications/r2/${pathParam(args, "bucket_name")}/configuration/queues/${pathParam(args, "queue_id")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts b/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts index 8349206bf..3cb033021 100644 --- a/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_r2_bucket_job` in responses. */ -export const r2_r2_bucket_job_output: JsonSchema = { +export const r2_r2_bucket_job: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/r2_prefix_delete_job" @@ -20,7 +20,7 @@ export const r2_r2_bucket_job_output: JsonSchema = { /** * The schema of `r2_r2_bucket_jobs_result` in responses. */ -export const r2_r2_bucket_jobs_result_output: JsonSchema = { +export const r2_r2_bucket_jobs_result: JsonSchema = { "properties": { "jobs": { "items": { @@ -41,7 +41,7 @@ export const r2_r2_bucket_jobs_result_output: JsonSchema = { /** * The schema of `r2_storage_class_migration_job` in responses. */ -export const r2_storage_class_migration_job_output: JsonSchema = { +export const r2_storage_class_migration_job: JsonSchema = { "properties": { "endTime": { "format": "date-time", diff --git a/src/generated/forge-mcp/r2/buckets/jobs/tools.ts b/src/generated/forge-mcp/r2/buckets/jobs/tools.ts index 6cac70c8d..bda5a7d25 100644 --- a/src/generated/forge-mcp/r2/buckets/jobs/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/jobs/tools.ts @@ -1,24 +1,24 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_prefix_delete_job_output, - r2_r2_bucket_job_status_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_prefix_delete_job, + r2_r2_bucket_job_status, + r2_v4_response, + r2_v4_response_failure, } from "../../outputs.js"; import { r2_account_identifier, r2_bucket_name, - r2_r2_bucket_job_status, + r2_r2_bucket_job_status as r2_r2_bucket_job_status$, } from "../../schemas.js"; import { - r2_r2_bucket_job_output, - r2_r2_bucket_jobs_result_output, - r2_storage_class_migration_job_output, + r2_r2_bucket_job, + r2_r2_bucket_jobs_result, + r2_storage_class_migration_job, } from "./outputs.js"; import { r2_create_prefix_delete_job_request, @@ -36,10 +36,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "oneOf": [ { @@ -50,30 +46,47 @@ export const tools: readonly Tool[] = [ } ] }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." - }, - "cf_r2_data_catalog_check": { - "description": "For prefix-delete jobs, set this header to reject the request when R2 Data Catalog is enabled for the bucket.", - "type": "string" + "headers": { + "properties": { + "cf-r2-data-catalog-check": { + "description": "For prefix-delete jobs, set this header to reject the request when R2 Data Catalog is enabled for the bucket.", + "type": "string" + }, + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { @@ -98,13 +111,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_prefix_delete_job": r2_prefix_delete_job_output, - "r2_r2_bucket_job": r2_r2_bucket_job_output, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, - "r2_storage_class_migration_job": r2_storage_class_migration_job_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_prefix_delete_job": r2_prefix_delete_job, + "r2_r2_bucket_job": r2_r2_bucket_job, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status, + "r2_storage_class_migration_job": r2_storage_class_migration_job, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -149,21 +162,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_prefix_delete_job": r2_prefix_delete_job_output, - "r2_r2_bucket_job": r2_r2_bucket_job_output, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, - "r2_storage_class_migration_job": r2_storage_class_migration_job_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_prefix_delete_job": r2_prefix_delete_job, + "r2_r2_bucket_job": r2_r2_bucket_job, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status, + "r2_storage_class_migration_job": r2_storage_class_migration_job, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/jobs`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], - ["cf-r2-data-catalog-check", args["cf_r2_data_catalog_check"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], + ["cf-r2-data-catalog-check", param(args, "headers", "cf-r2-data-catalog-check")], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -175,35 +188,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + }, + "job_id": { + "description": "Identifier returned when the background job was submitted.", + "type": "string" + } + }, + "required": [ + "account_id", + "bucket_name", + "job_id" ], - "type": "string" - }, - "job_id": { - "description": "Identifier returned when the background job was submitted.", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "job_id" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -225,13 +251,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_prefix_delete_job": r2_prefix_delete_job_output, - "r2_r2_bucket_job": r2_r2_bucket_job_output, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, - "r2_storage_class_migration_job": r2_storage_class_migration_job_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_prefix_delete_job": r2_prefix_delete_job, + "r2_r2_bucket_job": r2_r2_bucket_job, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status, + "r2_storage_class_migration_job": r2_storage_class_migration_job, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -272,20 +298,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_prefix_delete_job": r2_prefix_delete_job_output, - "r2_r2_bucket_job": r2_r2_bucket_job_output, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, - "r2_storage_class_migration_job": r2_storage_class_migration_job_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_prefix_delete_job": r2_prefix_delete_job, + "r2_r2_bucket_job": r2_r2_bucket_job, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status, + "r2_storage_class_migration_job": r2_storage_class_migration_job, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/jobs/${pathParam(args, "job_id")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -296,55 +322,73 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." - }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" - ], - "type": "string" - }, - "continuation_token": { - "description": "Pagination token received as `nextContinuationToken` in the previous response.", - "type": "string" + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "job_type": { - "description": "Restricts results to jobs of the specified type.", - "enum": [ - "prefixDelete", - "storageClassMigration" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" - }, - "max_keys": { - "description": "Maximum number of jobs to return.", - "type": "integer" + "type": "object" }, - "status": { - "$ref": "#/$defs/r2_r2_bucket_job_status", - "description": "Restricts results to jobs with the specified status. `jobType` is required when this parameter is provided." + "query": { + "properties": { + "continuationToken": { + "description": "Pagination token received as `nextContinuationToken` in the previous response.", + "type": "string" + }, + "jobType": { + "description": "Restricts results to jobs of the specified type.", + "enum": [ + "prefixDelete", + "storageClassMigration" + ], + "type": "string" + }, + "maxKeys": { + "description": "Maximum number of jobs to return.", + "type": "integer" + }, + "status": { + "$ref": "#/$defs/r2_r2_bucket_job_status", + "description": "Restricts results to jobs with the specified status. `jobType` is required when this parameter is provided." + } + }, + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, "r2_bucket_name": r2_bucket_name, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status$, }, }, outputSchema: { @@ -362,14 +406,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_prefix_delete_job": r2_prefix_delete_job_output, - "r2_r2_bucket_job": r2_r2_bucket_job_output, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, - "r2_r2_bucket_jobs_result": r2_r2_bucket_jobs_result_output, - "r2_storage_class_migration_job": r2_storage_class_migration_job_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_prefix_delete_job": r2_prefix_delete_job, + "r2_r2_bucket_job": r2_r2_bucket_job, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status, + "r2_r2_bucket_jobs_result": r2_r2_bucket_jobs_result, + "r2_storage_class_migration_job": r2_storage_class_migration_job, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -410,27 +454,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_prefix_delete_job": r2_prefix_delete_job_output, - "r2_r2_bucket_job": r2_r2_bucket_job_output, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, - "r2_r2_bucket_jobs_result": r2_r2_bucket_jobs_result_output, - "r2_storage_class_migration_job": r2_storage_class_migration_job_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_prefix_delete_job": r2_prefix_delete_job, + "r2_r2_bucket_job": r2_r2_bucket_job, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status, + "r2_r2_bucket_jobs_result": r2_r2_bucket_jobs_result, + "r2_storage_class_migration_job": r2_storage_class_migration_job, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/jobs`, query: [ - ["jobType", args["job_type"], true], - ["status", args["status"], true], - ["maxKeys", args["max_keys"], true], - ["continuationToken", args["continuation_token"], true], + ["jobType", param(args, "query", "jobType"), true], + ["status", param(args, "query", "status"), true], + ["maxKeys", param(args, "query", "maxKeys"), true], + ["continuationToken", param(args, "query", "continuationToken"), true], ], headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, diff --git a/src/generated/forge-mcp/r2/buckets/lifecycle/outputs.ts b/src/generated/forge-mcp/r2/buckets/lifecycle/outputs.ts index 7c17b2fd6..632141b2b 100644 --- a/src/generated/forge-mcp/r2/buckets/lifecycle/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/lifecycle/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_lifecycle-age-condition` in responses. */ -export const r2_lifecycle_age_condition_output: JsonSchema = { +export const r2_lifecycle$$age$$condition: JsonSchema = { "properties": { "maxAge": { "type": "integer" @@ -28,7 +28,7 @@ export const r2_lifecycle_age_condition_output: JsonSchema = { /** * The schema of `r2_lifecycle-config` in responses. */ -export const r2_lifecycle_config_output: JsonSchema = { +export const r2_lifecycle$$config: JsonSchema = { "properties": { "rules": { "items": { @@ -43,7 +43,7 @@ export const r2_lifecycle_config_output: JsonSchema = { /** * The schema of `r2_lifecycle-date-condition` in responses. */ -export const r2_lifecycle_date_condition_output: JsonSchema = { +export const r2_lifecycle$$date$$condition: JsonSchema = { "properties": { "date": { "format": "date-time", @@ -66,7 +66,7 @@ export const r2_lifecycle_date_condition_output: JsonSchema = { /** * The schema of `r2_lifecycle-rule` in responses. */ -export const r2_lifecycle_rule_output: JsonSchema = { +export const r2_lifecycle$$rule: JsonSchema = { "properties": { "abortMultipartUploadsTransition": { "properties": { @@ -126,7 +126,7 @@ export const r2_lifecycle_rule_output: JsonSchema = { /** * The schema of `r2_lifecycle-storage-transition` in responses. */ -export const r2_lifecycle_storage_transition_output: JsonSchema = { +export const r2_lifecycle$$storage$$transition: JsonSchema = { "properties": { "condition": { "oneOf": [ diff --git a/src/generated/forge-mcp/r2/buckets/lifecycle/schemas.ts b/src/generated/forge-mcp/r2/buckets/lifecycle/schemas.ts index 8cb6d140a..76d930a5b 100644 --- a/src/generated/forge-mcp/r2/buckets/lifecycle/schemas.ts +++ b/src/generated/forge-mcp/r2/buckets/lifecycle/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_lifecycle-age-condition`. */ -export const r2_lifecycle_age_condition: JsonSchema = { +export const r2_lifecycle$$age$$condition: JsonSchema = { "description": "Condition for lifecycle transitions to apply after an object reaches an age in seconds.", "properties": { "maxAge": { @@ -29,7 +29,7 @@ export const r2_lifecycle_age_condition: JsonSchema = { /** * The schema of `r2_lifecycle-date-condition`. */ -export const r2_lifecycle_date_condition: JsonSchema = { +export const r2_lifecycle$$date$$condition: JsonSchema = { "description": "Condition for lifecycle transitions to apply on a specific date.", "properties": { "date": { @@ -53,7 +53,7 @@ export const r2_lifecycle_date_condition: JsonSchema = { /** * The schema of `r2_lifecycle-rule`. */ -export const r2_lifecycle_rule: JsonSchema = { +export const r2_lifecycle$$rule: JsonSchema = { "properties": { "abortMultipartUploadsTransition": { "description": "Transition to abort ongoing multipart uploads.", @@ -120,7 +120,7 @@ export const r2_lifecycle_rule: JsonSchema = { /** * The schema of `r2_lifecycle-storage-transition`. */ -export const r2_lifecycle_storage_transition: JsonSchema = { +export const r2_lifecycle$$storage$$transition: JsonSchema = { "properties": { "condition": { "oneOf": [ diff --git a/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts b/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts index e8215134a..61d2ebcef 100644 --- a/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts @@ -1,26 +1,26 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../../outputs.js"; import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; import { - r2_lifecycle_age_condition_output, - r2_lifecycle_config_output, - r2_lifecycle_date_condition_output, - r2_lifecycle_rule_output, - r2_lifecycle_storage_transition_output, + r2_lifecycle$$age$$condition, + r2_lifecycle$$config, + r2_lifecycle$$date$$condition, + r2_lifecycle$$rule, + r2_lifecycle$$storage$$transition, } from "./outputs.js"; import { - r2_lifecycle_age_condition, - r2_lifecycle_date_condition, - r2_lifecycle_rule, - r2_lifecycle_storage_transition, + r2_lifecycle$$age$$condition as r2_lifecycle$$age$$condition$, + r2_lifecycle$$date$$condition as r2_lifecycle$$date$$condition$, + r2_lifecycle$$rule as r2_lifecycle$$rule$, + r2_lifecycle$$storage$$transition as r2_lifecycle$$storage$$transition$, } from "./schemas.js"; /** @@ -34,30 +34,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -79,14 +92,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_lifecycle-age-condition": r2_lifecycle_age_condition_output, - "r2_lifecycle-config": r2_lifecycle_config_output, - "r2_lifecycle-date-condition": r2_lifecycle_date_condition_output, - "r2_lifecycle-rule": r2_lifecycle_rule_output, - "r2_lifecycle-storage-transition": r2_lifecycle_storage_transition_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_lifecycle-age-condition": r2_lifecycle$$age$$condition, + "r2_lifecycle-config": r2_lifecycle$$config, + "r2_lifecycle-date-condition": r2_lifecycle$$date$$condition, + "r2_lifecycle-rule": r2_lifecycle$$rule, + "r2_lifecycle-storage-transition": r2_lifecycle$$storage$$transition, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -120,21 +133,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_lifecycle-age-condition": r2_lifecycle_age_condition_output, - "r2_lifecycle-config": r2_lifecycle_config_output, - "r2_lifecycle-date-condition": r2_lifecycle_date_condition_output, - "r2_lifecycle-rule": r2_lifecycle_rule_output, - "r2_lifecycle-storage-transition": r2_lifecycle_storage_transition_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_lifecycle-age-condition": r2_lifecycle$$age$$condition, + "r2_lifecycle-config": r2_lifecycle$$config, + "r2_lifecycle-date-condition": r2_lifecycle$$date$$condition, + "r2_lifecycle-rule": r2_lifecycle$$rule, + "r2_lifecycle-storage-transition": r2_lifecycle$$storage$$transition, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lifecycle`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -145,10 +158,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "properties": { "rules": { @@ -160,43 +169,60 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { "r2_account_identifier": r2_account_identifier, "r2_bucket_name": r2_bucket_name, - "r2_lifecycle-age-condition": r2_lifecycle_age_condition, - "r2_lifecycle-date-condition": r2_lifecycle_date_condition, - "r2_lifecycle-rule": r2_lifecycle_rule, - "r2_lifecycle-storage-transition": r2_lifecycle_storage_transition, + "r2_lifecycle-age-condition": r2_lifecycle$$age$$condition$, + "r2_lifecycle-date-condition": r2_lifecycle$$date$$condition$, + "r2_lifecycle-rule": r2_lifecycle$$rule$, + "r2_lifecycle-storage-transition": r2_lifecycle$$storage$$transition$, }, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -218,16 +244,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lifecycle`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/r2/buckets/localUploads/outputs.ts b/src/generated/forge-mcp/r2/buckets/localUploads/outputs.ts index c1a61d16f..1b0931d25 100644 --- a/src/generated/forge-mcp/r2/buckets/localUploads/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/localUploads/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_local_uploads_configuration` in responses. */ -export const r2_local_uploads_configuration_output: JsonSchema = { +export const r2_local_uploads_configuration: JsonSchema = { "properties": { "enabled": { "type": "boolean" diff --git a/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts b/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts index a21f5f13a..2f0f40df7 100644 --- a/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts @@ -3,37 +3,45 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../../outputs.js"; import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; -import { r2_local_uploads_configuration_output } from "./outputs.js"; +import { r2_local_uploads_configuration } from "./outputs.js"; /** - * The tools of `r2.buckets.local_uploads`. + * The tools of `r2.buckets.localUploads`. */ export const tools: readonly Tool[] = [ { - name: "r2_buckets_local_uploads_get", + name: "r2_buckets_localUploads_get", title: "Get Local Uploads Configuration", description: "Gets the Local Uploads configuration for an R2 bucket. When enabled, object data is written near the client before being asynchronously copied to the bucket's primary region. Local Uploads is only supported in the default jurisdiction.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -55,10 +63,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_local_uploads_configuration": r2_local_uploads_configuration_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_local_uploads_configuration": r2_local_uploads_configuration, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -99,11 +107,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_local_uploads_configuration": r2_local_uploads_configuration_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_local_uploads_configuration": r2_local_uploads_configuration, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ @@ -111,16 +119,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "r2_buckets_local_uploads_update", + name: "r2_buckets_localUploads_update", title: "Set Local Uploads Configuration", description: "Enables or disables Local Uploads for an R2 bucket in the default jurisdiction. When enabled, object data is written near the client before being asynchronously copied to the bucket's primary region. Disabling Local Uploads allows existing replication to finish.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "properties": { "enabled": { @@ -133,14 +137,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { @@ -151,9 +167,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/r2_v4_response", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -182,10 +198,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/r2/buckets/locks/outputs.ts b/src/generated/forge-mcp/r2/buckets/locks/outputs.ts index bcb28d4b2..8a6ad9e8a 100644 --- a/src/generated/forge-mcp/r2/buckets/locks/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/locks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_bucket-lock-rule` in responses. */ -export const r2_bucket_lock_rule_output: JsonSchema = { +export const r2_bucket$$lock$$rule: JsonSchema = { "properties": { "condition": { "oneOf": [ @@ -42,7 +42,7 @@ export const r2_bucket_lock_rule_output: JsonSchema = { /** * The schema of `r2_bucket-lock-rule-config` in responses. */ -export const r2_bucket_lock_rule_config_output: JsonSchema = { +export const r2_bucket$$lock$$rule$$config: JsonSchema = { "properties": { "rules": { "items": { @@ -57,7 +57,7 @@ export const r2_bucket_lock_rule_config_output: JsonSchema = { /** * The schema of `r2_lock-rule-age-condition` in responses. */ -export const r2_lock_rule_age_condition_output: JsonSchema = { +export const r2_lock$$rule$$age$$condition: JsonSchema = { "properties": { "maxAgeSeconds": { "type": "integer" @@ -79,7 +79,7 @@ export const r2_lock_rule_age_condition_output: JsonSchema = { /** * The schema of `r2_lock-rule-date-condition` in responses. */ -export const r2_lock_rule_date_condition_output: JsonSchema = { +export const r2_lock$$rule$$date$$condition: JsonSchema = { "properties": { "date": { "format": "date-time", @@ -102,7 +102,7 @@ export const r2_lock_rule_date_condition_output: JsonSchema = { /** * The schema of `r2_lock-rule-indefinite-condition` in responses. */ -export const r2_lock_rule_indefinite_condition_output: JsonSchema = { +export const r2_lock$$rule$$indefinite$$condition: JsonSchema = { "properties": { "type": { "enum": [ diff --git a/src/generated/forge-mcp/r2/buckets/locks/schemas.ts b/src/generated/forge-mcp/r2/buckets/locks/schemas.ts index 71dbaca27..ae38e4c42 100644 --- a/src/generated/forge-mcp/r2/buckets/locks/schemas.ts +++ b/src/generated/forge-mcp/r2/buckets/locks/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_bucket-lock-rule`. */ -export const r2_bucket_lock_rule: JsonSchema = { +export const r2_bucket$$lock$$rule: JsonSchema = { "properties": { "condition": { "oneOf": [ @@ -45,7 +45,7 @@ export const r2_bucket_lock_rule: JsonSchema = { /** * The schema of `r2_lock-rule-age-condition`. */ -export const r2_lock_rule_age_condition: JsonSchema = { +export const r2_lock$$rule$$age$$condition: JsonSchema = { "description": "Condition to apply a lock rule to an object for how long in seconds.", "properties": { "maxAgeSeconds": { @@ -68,7 +68,7 @@ export const r2_lock_rule_age_condition: JsonSchema = { /** * The schema of `r2_lock-rule-date-condition`. */ -export const r2_lock_rule_date_condition: JsonSchema = { +export const r2_lock$$rule$$date$$condition: JsonSchema = { "description": "Condition to apply a lock rule to an object until a specific date.", "properties": { "date": { @@ -92,7 +92,7 @@ export const r2_lock_rule_date_condition: JsonSchema = { /** * The schema of `r2_lock-rule-indefinite-condition`. */ -export const r2_lock_rule_indefinite_condition: JsonSchema = { +export const r2_lock$$rule$$indefinite$$condition: JsonSchema = { "description": "Condition to apply a lock rule indefinitely.", "properties": { "type": { diff --git a/src/generated/forge-mcp/r2/buckets/locks/tools.ts b/src/generated/forge-mcp/r2/buckets/locks/tools.ts index 0f7129f4a..52b6e3fce 100644 --- a/src/generated/forge-mcp/r2/buckets/locks/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/locks/tools.ts @@ -1,26 +1,26 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../../outputs.js"; import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; import { - r2_bucket_lock_rule_config_output, - r2_bucket_lock_rule_output, - r2_lock_rule_age_condition_output, - r2_lock_rule_date_condition_output, - r2_lock_rule_indefinite_condition_output, + r2_bucket$$lock$$rule, + r2_bucket$$lock$$rule$$config, + r2_lock$$rule$$age$$condition, + r2_lock$$rule$$date$$condition, + r2_lock$$rule$$indefinite$$condition, } from "./outputs.js"; import { - r2_bucket_lock_rule, - r2_lock_rule_age_condition, - r2_lock_rule_date_condition, - r2_lock_rule_indefinite_condition, + r2_bucket$$lock$$rule as r2_bucket$$lock$$rule$, + r2_lock$$rule$$age$$condition as r2_lock$$rule$$age$$condition$, + r2_lock$$rule$$date$$condition as r2_lock$$rule$$date$$condition$, + r2_lock$$rule$$indefinite$$condition as r2_lock$$rule$$indefinite$$condition$, } from "./schemas.js"; /** @@ -34,30 +34,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -67,9 +80,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/r2_v4_response", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -91,16 +104,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lock`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -111,30 +124,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -156,14 +182,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_bucket-lock-rule": r2_bucket_lock_rule_output, - "r2_bucket-lock-rule-config": r2_bucket_lock_rule_config_output, - "r2_errors": r2_errors_output, - "r2_lock-rule-age-condition": r2_lock_rule_age_condition_output, - "r2_lock-rule-date-condition": r2_lock_rule_date_condition_output, - "r2_lock-rule-indefinite-condition": r2_lock_rule_indefinite_condition_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_bucket-lock-rule": r2_bucket$$lock$$rule, + "r2_bucket-lock-rule-config": r2_bucket$$lock$$rule$$config, + "r2_errors": r2_errors, + "r2_lock-rule-age-condition": r2_lock$$rule$$age$$condition, + "r2_lock-rule-date-condition": r2_lock$$rule$$date$$condition, + "r2_lock-rule-indefinite-condition": r2_lock$$rule$$indefinite$$condition, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -197,21 +223,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_bucket-lock-rule": r2_bucket_lock_rule_output, - "r2_bucket-lock-rule-config": r2_bucket_lock_rule_config_output, - "r2_errors": r2_errors_output, - "r2_lock-rule-age-condition": r2_lock_rule_age_condition_output, - "r2_lock-rule-date-condition": r2_lock_rule_date_condition_output, - "r2_lock-rule-indefinite-condition": r2_lock_rule_indefinite_condition_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_bucket-lock-rule": r2_bucket$$lock$$rule, + "r2_bucket-lock-rule-config": r2_bucket$$lock$$rule$$config, + "r2_errors": r2_errors, + "r2_lock-rule-age-condition": r2_lock$$rule$$age$$condition, + "r2_lock-rule-date-condition": r2_lock$$rule$$date$$condition, + "r2_lock-rule-indefinite-condition": r2_lock$$rule$$indefinite$$condition, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lock`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -222,10 +248,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "properties": { "rules": { @@ -237,43 +259,60 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { "r2_account_identifier": r2_account_identifier, - "r2_bucket-lock-rule": r2_bucket_lock_rule, + "r2_bucket-lock-rule": r2_bucket$$lock$$rule$, "r2_bucket_name": r2_bucket_name, - "r2_lock-rule-age-condition": r2_lock_rule_age_condition, - "r2_lock-rule-date-condition": r2_lock_rule_date_condition, - "r2_lock-rule-indefinite-condition": r2_lock_rule_indefinite_condition, + "r2_lock-rule-age-condition": r2_lock$$rule$$age$$condition$, + "r2_lock-rule-date-condition": r2_lock$$rule$$date$$condition$, + "r2_lock-rule-indefinite-condition": r2_lock$$rule$$indefinite$$condition$, }, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -295,16 +334,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/lock`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/r2/buckets/metrics/outputs.ts b/src/generated/forge-mcp/r2/buckets/metrics/outputs.ts index 284cfbea9..d20fba014 100644 --- a/src/generated/forge-mcp/r2/buckets/metrics/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/metrics/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_account_level_metrics` in responses. */ -export const r2_account_level_metrics_output: JsonSchema = { +export const r2_account_level_metrics: JsonSchema = { "properties": { "infrequentAccess": { "$ref": "#/$defs/r2_class_based_metrics" @@ -21,7 +21,7 @@ export const r2_account_level_metrics_output: JsonSchema = { /** * The schema of `r2_class_based_metrics` in responses. */ -export const r2_class_based_metrics_output: JsonSchema = { +export const r2_class_based_metrics: JsonSchema = { "properties": { "published": { "$ref": "#/$defs/r2_object_size_metrics" @@ -36,7 +36,7 @@ export const r2_class_based_metrics_output: JsonSchema = { /** * The schema of `r2_object_size_metrics` in responses. */ -export const r2_object_size_metrics_output: JsonSchema = { +export const r2_object_size_metrics: JsonSchema = { "properties": { "metadataSize": { "type": "number" diff --git a/src/generated/forge-mcp/r2/buckets/metrics/tools.ts b/src/generated/forge-mcp/r2/buckets/metrics/tools.ts index 1c6efaee6..78f453ff4 100644 --- a/src/generated/forge-mcp/r2/buckets/metrics/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/metrics/tools.ts @@ -3,16 +3,16 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../../outputs.js"; import { r2_account_identifier } from "../../schemas.js"; import { - r2_account_level_metrics_output, - r2_class_based_metrics_output, - r2_object_size_metrics_output, + r2_account_level_metrics, + r2_class_based_metrics, + r2_object_size_metrics, } from "./outputs.js"; /** @@ -26,13 +26,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -53,12 +61,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_account_level_metrics": r2_account_level_metrics_output, - "r2_class_based_metrics": r2_class_based_metrics_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_object_size_metrics": r2_object_size_metrics_output, - "r2_v4_response": r2_v4_response_output, + "r2_account_level_metrics": r2_account_level_metrics, + "r2_class_based_metrics": r2_class_based_metrics, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_object_size_metrics": r2_object_size_metrics, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -95,13 +103,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_account_level_metrics": r2_account_level_metrics_output, - "r2_class_based_metrics": r2_class_based_metrics_output, - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_object_size_metrics": r2_object_size_metrics_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_account_level_metrics": r2_account_level_metrics, + "r2_class_based_metrics": r2_class_based_metrics, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_object_size_metrics": r2_object_size_metrics, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/r2/buckets/outputs.ts b/src/generated/forge-mcp/r2/buckets/outputs.ts index 8e817a0dc..766d7a57e 100644 --- a/src/generated/forge-mcp/r2/buckets/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `r2_bucket` in responses. */ -export const r2_bucket_output: JsonSchema = { +export const r2_bucket: JsonSchema = { "properties": { "creation_date": { "type": "string" @@ -30,7 +30,7 @@ export const r2_bucket_output: JsonSchema = { /** * The schema of `r2_bucket_location` in responses. */ -export const r2_bucket_location_output: JsonSchema = { +export const r2_bucket_location: JsonSchema = { "enum": [ "apac", "eeur", @@ -45,7 +45,7 @@ export const r2_bucket_location_output: JsonSchema = { /** * The schema of `r2_jurisdiction` in responses. */ -export const r2_jurisdiction_output: JsonSchema = { +export const r2_jurisdiction: JsonSchema = { "enum": [ "default", "eu", @@ -59,7 +59,7 @@ export const r2_jurisdiction_output: JsonSchema = { /** * The schema of `r2_result_info` in responses. */ -export const r2_result_info_output: JsonSchema = { +export const r2_result_info: JsonSchema = { "properties": { "cursor": { "type": "string" @@ -80,7 +80,7 @@ export const r2_result_info_output: JsonSchema = { /** * The schema of `r2_v4_response_list` in responses. */ -export const r2_v4_response_list_output: JsonSchema = { +export const r2_v4_response_list: JsonSchema = { "allOf": [ { "$ref": "#/$defs/r2_v4_response" diff --git a/src/generated/forge-mcp/r2/buckets/sippy/outputs.ts b/src/generated/forge-mcp/r2/buckets/sippy/outputs.ts index af8be45a2..2715ddc6c 100644 --- a/src/generated/forge-mcp/r2/buckets/sippy/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/sippy/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2_sippy` in responses. */ -export const r2_sippy_output: JsonSchema = { +export const r2_sippy: JsonSchema = { "properties": { "destination": { "properties": { diff --git a/src/generated/forge-mcp/r2/buckets/sippy/tools.ts b/src/generated/forge-mcp/r2/buckets/sippy/tools.ts index 62a5fdb8f..664e2b63e 100644 --- a/src/generated/forge-mcp/r2/buckets/sippy/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/sippy/tools.ts @@ -1,15 +1,15 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../../outputs.js"; import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; -import { r2_sippy_output } from "./outputs.js"; +import { r2_sippy } from "./outputs.js"; import { r2_enable_sippy_aws, r2_enable_sippy_azure, @@ -28,30 +28,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -81,9 +94,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -130,16 +143,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/sippy`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -150,30 +163,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -195,10 +221,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_sippy": r2_sippy_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_sippy": r2_sippy, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -239,17 +265,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_sippy": r2_sippy_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_sippy": r2_sippy, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/sippy`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -260,10 +286,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "oneOf": [ { @@ -280,26 +302,43 @@ export const tools: readonly Tool[] = [ } ] }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", + "path", "body" ], $defs: { @@ -326,10 +365,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_sippy": r2_sippy_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_sippy": r2_sippy, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -370,17 +409,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_sippy": r2_sippy_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_sippy": r2_sippy, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/sippy`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/r2/buckets/tools.ts b/src/generated/forge-mcp/r2/buckets/tools.ts index b8e442fbb..98bf3b16c 100644 --- a/src/generated/forge-mcp/r2/buckets/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/tools.ts @@ -1,28 +1,28 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - r2_bucket_name_output, - r2_errors_output, - r2_messages_output, - r2_storage_class_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_bucket_name, + r2_errors, + r2_messages, + r2_storage_class, + r2_v4_response, + r2_v4_response_failure, } from "../outputs.js"; import { r2_account_identifier, - r2_bucket_name, - r2_storage_class, + r2_bucket_name as r2_bucket_name$, + r2_storage_class as r2_storage_class$, } from "../schemas.js"; import { - r2_bucket_location_output, - r2_bucket_output, - r2_jurisdiction_output, - r2_result_info_output, - r2_v4_response_list_output, + r2_bucket, + r2_bucket_location, + r2_jurisdiction, + r2_result_info, + r2_v4_response_list, } from "./outputs.js"; -import { r2_bucket_location } from "./schemas.js"; +import { r2_bucket_location as r2_bucket_location$ } from "./schemas.js"; /** * The tools of `r2.buckets`. @@ -35,10 +35,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "properties": { "locationHint": { @@ -60,28 +56,45 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "r2_account_identifier": r2_account_identifier, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, - "r2_storage_class": r2_storage_class, + "r2_bucket_location": r2_bucket_location$, + "r2_bucket_name": r2_bucket_name$, + "r2_storage_class": r2_storage_class$, }, }, outputSchema: { @@ -99,14 +112,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -145,64 +158,77 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "r2_buckets_create_by_name", + name: "r2_buckets_createByName", title: "Create Bucket (by name)", description: "Creates a new R2 bucket using the name from the URL path. Similar to `r2-create-bucket` (POST), but the bucket name comes from the path and the optional storage class is supplied via the `cf-r2-storage-class` header. There is no request body. Unlike the POST variant, this endpoint does not accept a location hint — the bucket is placed in the R2 region for the caller's edge colo. Use the POST variant if you need to set a `locationHint`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + }, + "cf-r2-storage-class": { + "$ref": "#/$defs/r2_storage_class" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" - }, - "cf_r2_storage_class": { - "$ref": "#/$defs/r2_storage_class" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - "r2_storage_class": r2_storage_class, + "r2_bucket_name": r2_bucket_name$, + "r2_storage_class": r2_storage_class$, }, }, outputSchema: { @@ -220,14 +246,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -266,22 +292,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], - ["cf-r2-storage-class", args["cf_r2_storage_class"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], + ["cf-r2-storage-class", param(args, "headers", "cf-r2-storage-class")], ], }), }, @@ -292,42 +318,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, + "r2_bucket_name": r2_bucket_name$, }, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -354,16 +393,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -374,39 +413,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." - }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + }, + "cf-r2-storage-class": { + "$ref": "#/$defs/r2_storage_class" + } + }, + "required": [ + "cf-r2-storage-class" ], - "type": "string" + "type": "object" }, - "cf_r2_storage_class": { - "$ref": "#/$defs/r2_storage_class" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" + ], + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "cf_r2_storage_class" + "path", + "headers" ], $defs: { "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - "r2_storage_class": r2_storage_class, + "r2_bucket_name": r2_bucket_name$, + "r2_storage_class": r2_storage_class$, }, }, outputSchema: { @@ -424,14 +479,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -472,22 +527,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], - ["cf-r2-storage-class", args["cf_r2_storage_class"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], + ["cf-r2-storage-class", param(args, "headers", "cf-r2-storage-class")], ], }), }, @@ -498,34 +553,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, + "r2_bucket_name": r2_bucket_name$, }, }, outputSchema: { @@ -543,14 +611,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -591,21 +659,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -616,57 +684,75 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" - ], - "type": "string" - }, - "cursor": { - "description": "Pagination cursor received during the last List Buckets call. R2 buckets are paginated using cursors instead of page numbers.", - "type": "string" - }, - "direction": { - "description": "Direction to order buckets.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "name_contains": { - "description": "Bucket names to filter by. Only buckets with this phrase in their name will be returned.", - "type": "string" + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "order": { - "description": "Field to order buckets by.", - "enum": [ - "name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Maximum number of buckets to return in a single call.", - "type": "number" + "type": "object" }, - "start_after": { - "description": "Bucket name to start searching after. Buckets are ordered lexicographically.", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor received during the last List Buckets call. R2 buckets are paginated using cursors instead of page numbers.", + "type": "string" + }, + "direction": { + "description": "Direction to order buckets.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name_contains": { + "description": "Bucket names to filter by. Only buckets with this phrase in their name will be returned.", + "type": "string" + }, + "order": { + "description": "Field to order buckets by.", + "enum": [ + "name" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Maximum number of buckets to return in a single call.", + "type": "number" + }, + "start_after": { + "description": "Bucket name to start searching after. Buckets are ordered lexicographically.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -698,16 +784,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_result_info": r2_result_info_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_list": r2_v4_response_list_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_result_info": r2_result_info, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, + "r2_v4_response_list": r2_v4_response_list, }, }, annotations: { @@ -758,31 +844,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_bucket": r2_bucket_output, - "r2_bucket_location": r2_bucket_location_output, - "r2_bucket_name": r2_bucket_name_output, - "r2_errors": r2_errors_output, - "r2_jurisdiction": r2_jurisdiction_output, - "r2_messages": r2_messages_output, - "r2_result_info": r2_result_info_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, - "r2_v4_response_list": r2_v4_response_list_output, + "r2_bucket": r2_bucket, + "r2_bucket_location": r2_bucket_location, + "r2_bucket_name": r2_bucket_name, + "r2_errors": r2_errors, + "r2_jurisdiction": r2_jurisdiction, + "r2_messages": r2_messages, + "r2_result_info": r2_result_info, + "r2_storage_class": r2_storage_class, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, + "r2_v4_response_list": r2_v4_response_list, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets`, query: [ - ["name_contains", args["name_contains"], true], - ["start_after", args["start_after"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["cursor", args["cursor"], true], + ["name_contains", param(args, "query", "name_contains"), true], + ["start_after", param(args, "query", "start_after"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["cursor", param(args, "query", "cursor"), true], ], headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, diff --git a/src/generated/forge-mcp/r2/objects/outputs.ts b/src/generated/forge-mcp/r2/objects/outputs.ts index f7ad42fe5..473e2bea7 100644 --- a/src/generated/forge-mcp/r2/objects/outputs.ts +++ b/src/generated/forge-mcp/r2/objects/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `r2_r2_delete_object_result` in responses. */ -export const r2_r2_delete_object_result_output: JsonSchema = { +export const r2_r2_delete_object_result: JsonSchema = { "properties": { "key": { "type": "string" @@ -18,7 +18,7 @@ export const r2_r2_delete_object_result_output: JsonSchema = { /** * The schema of `r2_r2_list_objects_result_info` in responses. */ -export const r2_r2_list_objects_result_info_output: JsonSchema = { +export const r2_r2_list_objects_result_info: JsonSchema = { "properties": { "cursor": { "type": "string" @@ -42,7 +42,7 @@ export const r2_r2_list_objects_result_info_output: JsonSchema = { /** * The schema of `r2_r2_object` in responses. */ -export const r2_r2_object_output: JsonSchema = { +export const r2_r2_object: JsonSchema = { "properties": { "custom_metadata": { "additionalProperties": { @@ -79,7 +79,7 @@ export const r2_r2_object_output: JsonSchema = { /** * The schema of `r2_r2_object_http_metadata` in responses. */ -export const r2_r2_object_http_metadata_output: JsonSchema = { +export const r2_r2_object_http_metadata: JsonSchema = { "properties": { "cacheControl": { "type": "string" diff --git a/src/generated/forge-mcp/r2/objects/tools.ts b/src/generated/forge-mcp/r2/objects/tools.ts index 059305eeb..8f5e640ca 100644 --- a/src/generated/forge-mcp/r2/objects/tools.ts +++ b/src/generated/forge-mcp/r2/objects/tools.ts @@ -1,22 +1,22 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_prefix_delete_job_output, - r2_r2_bucket_job_status_output, - r2_storage_class_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_prefix_delete_job, + r2_r2_bucket_job_status, + r2_storage_class, + r2_v4_response, + r2_v4_response_failure, } from "../outputs.js"; import { r2_account_identifier, r2_bucket_name } from "../schemas.js"; import { - r2_r2_delete_object_result_output, - r2_r2_list_objects_result_info_output, - r2_r2_object_http_metadata_output, - r2_r2_object_output, + r2_r2_delete_object_result, + r2_r2_list_objects_result_info, + r2_r2_object, + r2_r2_object_http_metadata, } from "./outputs.js"; /** @@ -24,16 +24,12 @@ import { */ export const tools: readonly Tool[] = [ { - name: "r2_objects_bulk_delete", + name: "r2_objects_bulkDelete", title: "Delete Objects", description: "Deletes the listed objects from an R2 bucket. Provide a JSON array of 1 to 1000 object\nkeys in the request body.\n\nIf any key cannot be deleted (for example, because it does not exist or is locked), the\nremaining keys are still deleted, but the response is HTTP 200 with `success: false`,\n`result: null` and one entry in `errors` per failed key. The entries in `errors` do not\nidentify which key failed.\n\nTo delete every object under a prefix, or to empty a bucket, create a `prefixDelete` job\nwith the Create Bucket Job endpoint instead. The `prefix` query parameter on this endpoint\nis deprecated; it creates the same job, but responses to it carry a `Deprecation` header\nand a message pointing to Create Bucket Job.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.\n\nConfirm with the user before calling this tool. This permanently deletes the listed R2 objects. With the deprecated `prefix` parameter it deletes every object under that prefix, and an empty prefix empties the bucket.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "description": "A JSON array of 1 to 1000 object keys to delete. Required unless the deprecated `prefix` parameter is present.", "items": { @@ -43,35 +39,57 @@ export const tools: readonly Tool[] = [ "minItems": 1, "type": "array" }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." - }, - "cf_r2_data_catalog_check": { - "description": "Set this header to reject the operation when R2 Data Catalog is enabled for the bucket.", - "type": "string" + "headers": { + "properties": { + "cf-r2-data-catalog-check": { + "description": "Set this header to reject the operation when R2 Data Catalog is enabled for the bucket.", + "type": "string" + }, + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" + "type": "object" }, - "prefix": { - "deprecated": true, - "description": "Deprecated. Create a `prefixDelete` job with the Create Bucket Job endpoint instead.\nWhen present, the request body is ignored and a prefix-delete job is created for this\nprefix, exactly as Create Bucket Job does; an empty value empties the bucket. The\nresponse is the job descriptor, with a `Deprecation` header and a deprecation message\nin `messages`.\n", - "type": "string" + "query": { + "properties": { + "prefix": { + "deprecated": true, + "description": "Deprecated. Create a `prefixDelete` job with the Create Bucket Job endpoint instead.\nWhen present, the request body is ignored and a prefix-delete job is created for this\nprefix, exactly as Create Bucket Job does; an empty value empties the bucket. The\nresponse is the job descriptor, with a `Deprecation` header and a deprecation message\nin `messages`.\n", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -140,12 +158,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_prefix_delete_job": r2_prefix_delete_job_output, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, - "r2_r2_delete_object_result": r2_r2_delete_object_result_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_prefix_delete_job": r2_prefix_delete_job, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status, + "r2_r2_delete_object_result": r2_r2_delete_object_result, + "r2_v4_response_failure": r2_v4_response_failure, }, }, annotations: { @@ -231,22 +249,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_prefix_delete_job": r2_prefix_delete_job_output, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status_output, - "r2_r2_delete_object_result": r2_r2_delete_object_result_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_prefix_delete_job": r2_prefix_delete_job, + "r2_r2_bucket_job_status": r2_r2_bucket_job_status, + "r2_r2_delete_object_result": r2_r2_delete_object_result, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/objects`, query: [ - ["prefix", args["prefix"], true], + ["prefix", param(args, "query", "prefix"), true], ], headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], - ["cf-r2-data-catalog-check", args["cf_r2_data_catalog_check"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], + ["cf-r2-data-catalog-check", param(args, "headers", "cf-r2-data-catalog-check")], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -258,35 +276,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + }, + "object_key": { + "description": "The key (name) of the object to delete. May contain slashes for path-like keys.\nSlashes (`/`) within the key MUST be sent literally and MUST NOT be percent-encoded\n(i.e. `%2F`); other reserved characters should be percent-encoded as usual.\n", + "type": "string" + } + }, + "required": [ + "account_id", + "bucket_name", + "object_key" ], - "type": "string" - }, - "object_key": { - "description": "The key (name) of the object to delete. May contain slashes for path-like keys.\nSlashes (`/`) within the key MUST be sent literally and MUST NOT be percent-encoded\n(i.e. `%2F`); other reserved characters should be percent-encoded as usual.\n", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "object_key" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -308,10 +339,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_r2_delete_object_result": r2_r2_delete_object_result_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_r2_delete_object_result": r2_r2_delete_object_result, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -350,17 +381,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_r2_delete_object_result": r2_r2_delete_object_result_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_r2_delete_object_result": r2_r2_delete_object_result, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/objects/${pathParam(args, "object_key")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, @@ -371,43 +402,56 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "If-Modified-Since": { + "description": "Returns the object only if it has been modified since the specified time.\nMust be formatted as an HTTP-date (RFC 7231), e.g. `Tue, 15 Jan 2024 10:30:00 GMT`.\n", + "type": "string" + }, + "If-None-Match": { + "description": "Returns the object only if its ETag does not match the given value.", + "type": "string" + }, + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + }, + "object_key": { + "description": "The key (name) of the object to retrieve. May contain slashes for path-like keys.\nSlashes (`/`) within the key MUST be sent literally and MUST NOT be percent-encoded\n(i.e. `%2F`); other reserved characters should be percent-encoded as usual.\n", + "type": "string" + } + }, + "required": [ + "account_id", + "bucket_name", + "object_key" ], - "type": "string" - }, - "if_modified_since": { - "description": "Returns the object only if it has been modified since the specified time.\nMust be formatted as an HTTP-date (RFC 7231), e.g. `Tue, 15 Jan 2024 10:30:00 GMT`.\n", - "type": "string" - }, - "if_none_match": { - "description": "Returns the object only if its ETag does not match the given value.", - "type": "string" - }, - "object_key": { - "description": "The key (name) of the object to retrieve. May contain slashes for path-like keys.\nSlashes (`/`) within the key MUST be sent literally and MUST NOT be percent-encoded\n(i.e. `%2F`); other reserved characters should be percent-encoded as usual.\n", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "bucket_name", - "object_key" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -439,17 +483,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/objects/${pathParam(args, "object_key")}`, headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], - ["If-None-Match", args["if_none_match"]], - ["If-Modified-Since", args["if_modified_since"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], + ["If-None-Match", param(args, "headers", "If-None-Match")], + ["If-Modified-Since", param(args, "headers", "If-Modified-Since")], ], }), }, @@ -460,51 +504,69 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, - "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "headers": { + "properties": { + "cf-r2-jurisdiction": { + "default": "default", + "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" + } + }, + "type": "object" }, - "cf_r2_jurisdiction": { - "default": "default", - "description": "Jurisdiction where objects in this bucket are guaranteed to be stored.", - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + }, + "bucket_name": { + "$ref": "#/$defs/r2_bucket_name", + "description": "Name of the bucket." + } + }, + "required": [ + "account_id", + "bucket_name" ], - "type": "string" - }, - "cursor": { - "description": "Pagination cursor received from a previous List Objects call. Used to retrieve the next page of results.", - "type": "string" - }, - "delimiter": { - "description": "A single character used to group keys. All keys that contain the delimiter between the prefix and the first occurrence of the delimiter after the prefix are grouped under a single result element.", - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Maximum number of objects to return per page.", - "type": "integer" - }, - "prefix": { - "description": "Restricts results to only those objects whose keys begin with the specified prefix.", - "type": "string" + "type": "object" }, - "start_after": { - "description": "Returns objects with keys that come after the specified key in lexicographic order.", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor received from a previous List Objects call. Used to retrieve the next page of results.", + "type": "string" + }, + "delimiter": { + "description": "A single character used to group keys. All keys that contain the delimiter between the prefix and the first occurrence of the delimiter after the prefix are grouped under a single result element.", + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Maximum number of objects to return per page.", + "type": "integer" + }, + "prefix": { + "description": "Restricts results to only those objects whose keys begin with the specified prefix.", + "type": "string" + }, + "start_after": { + "description": "Returns objects with keys that come after the specified key in lexicographic order.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "bucket_name" + "path" ], $defs: { "r2_account_identifier": r2_account_identifier, @@ -543,12 +605,12 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_r2_list_objects_result_info": r2_r2_list_objects_result_info_output, - "r2_r2_object": r2_r2_object_output, - "r2_r2_object_http_metadata": r2_r2_object_http_metadata_output, - "r2_storage_class": r2_storage_class_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_r2_list_objects_result_info": r2_r2_list_objects_result_info, + "r2_r2_object": r2_r2_object, + "r2_r2_object_http_metadata": r2_r2_object_http_metadata, + "r2_storage_class": r2_storage_class, }, }, annotations: { @@ -606,26 +668,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_r2_list_objects_result_info": r2_r2_list_objects_result_info_output, - "r2_r2_object": r2_r2_object_output, - "r2_r2_object_http_metadata": r2_r2_object_http_metadata_output, - "r2_storage_class": r2_storage_class_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_r2_list_objects_result_info": r2_r2_list_objects_result_info, + "r2_r2_object": r2_r2_object, + "r2_r2_object_http_metadata": r2_r2_object_http_metadata, + "r2_storage_class": r2_storage_class, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/r2/buckets/${pathParam(args, "bucket_name")}/objects`, query: [ - ["per_page", args["per_page"], true], - ["prefix", args["prefix"], true], - ["delimiter", args["delimiter"], true], - ["cursor", args["cursor"], true], - ["start_after", args["start_after"], true], + ["per_page", param(args, "query", "per_page"), true], + ["prefix", param(args, "query", "prefix"), true], + ["delimiter", param(args, "query", "delimiter"), true], + ["cursor", param(args, "query", "cursor"), true], + ["start_after", param(args, "query", "start_after"), true], ], headers: [ - ["cf-r2-jurisdiction", args["cf_r2_jurisdiction"]], + ["cf-r2-jurisdiction", param(args, "headers", "cf-r2-jurisdiction")], ], }), }, diff --git a/src/generated/forge-mcp/r2/outputs.ts b/src/generated/forge-mcp/r2/outputs.ts index 8750fbe13..dd9614f73 100644 --- a/src/generated/forge-mcp/r2/outputs.ts +++ b/src/generated/forge-mcp/r2/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `r2_bucket_name` in responses. */ -export const r2_bucket_name_output: JsonSchema = { +export const r2_bucket_name: JsonSchema = { "type": "string" }; /** * The schema of `r2_errors` in responses. */ -export const r2_errors_output: JsonSchema = { +export const r2_errors: JsonSchema = { "items": { "properties": { "code": { @@ -35,7 +35,7 @@ export const r2_errors_output: JsonSchema = { /** * The schema of `r2_messages` in responses. */ -export const r2_messages_output: JsonSchema = { +export const r2_messages: JsonSchema = { "items": { "type": "string" }, @@ -45,7 +45,7 @@ export const r2_messages_output: JsonSchema = { /** * The schema of `r2_prefix_delete_job` in responses. */ -export const r2_prefix_delete_job_output: JsonSchema = { +export const r2_prefix_delete_job: JsonSchema = { "properties": { "endTime": { "format": "date-time", @@ -99,7 +99,7 @@ export const r2_prefix_delete_job_output: JsonSchema = { /** * The schema of `r2_r2_bucket_job_status` in responses. */ -export const r2_r2_bucket_job_status_output: JsonSchema = { +export const r2_r2_bucket_job_status: JsonSchema = { "enum": [ "ENQUEUED", "RUNNING", @@ -113,7 +113,7 @@ export const r2_r2_bucket_job_status_output: JsonSchema = { /** * The schema of `r2_storage_class` in responses. */ -export const r2_storage_class_output: JsonSchema = { +export const r2_storage_class: JsonSchema = { "enum": [ "Standard", "InfrequentAccess" @@ -124,7 +124,7 @@ export const r2_storage_class_output: JsonSchema = { /** * The schema of `r2_v4_response` in responses. */ -export const r2_v4_response_output: JsonSchema = { +export const r2_v4_response: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/r2_errors" @@ -154,7 +154,7 @@ export const r2_v4_response_output: JsonSchema = { /** * The schema of `r2_v4_response_failure` in responses. */ -export const r2_v4_response_failure_output: JsonSchema = { +export const r2_v4_response_failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/r2_errors" diff --git a/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/outputs.ts index f714903e6..feceea010 100644 --- a/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/outputs.ts +++ b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2-slurper_ConnectivityResponse` in responses. */ -export const r2_slurper_ConnectivityResponse_output: JsonSchema = { +export const r2$$slurper_ConnectivityResponse: JsonSchema = { "properties": { "connectivityStatus": { "enum": [ diff --git a/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts index 1460f0516..d1f16821e 100644 --- a/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts +++ b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts @@ -3,53 +3,61 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - r2_slurper_api_v4_error_output, - r2_slurper_api_v4_failure_output, - r2_slurper_api_v4_message_output, - r2_slurper_api_v4_success_output, + r2$$slurper_api$$v4$$error, + r2$$slurper_api$$v4$$failure, + r2$$slurper_api$$v4$$message, + r2$$slurper_api$$v4$$success, } from "../outputs.js"; import { - r2_slurper_GCSLikeCredsSchema, - r2_slurper_GCSSourceSchema, - r2_slurper_Jurisdiction, - r2_slurper_R2SourceSchema, - r2_slurper_R2TargetSchema, - r2_slurper_S3LikeCredsSchema, - r2_slurper_S3SourceSchema, - r2_slurper_SourceJobSchema, + r2$$slurper_GCSLikeCredsSchema, + r2$$slurper_GCSSourceSchema, + r2$$slurper_Jurisdiction, + r2$$slurper_R2SourceSchema, + r2$$slurper_R2TargetSchema, + r2$$slurper_S3LikeCredsSchema, + r2$$slurper_S3SourceSchema, + r2$$slurper_SourceJobSchema, } from "../schemas.js"; -import { r2_slurper_ConnectivityResponse_output } from "./outputs.js"; +import { r2$$slurper_ConnectivityResponse } from "./outputs.js"; /** - * The tools of `r2.super_slurper.connectivity_precheck`. + * The tools of `r2.superSlurper.connectivityPrecheck`. */ export const tools: readonly Tool[] = [ { - name: "r2_super_slurper_connectivity_precheck_source", + name: "r2_superSlurper_connectivityPrecheck_source", title: "Check source connectivity", description: "Check whether tokens are valid against the source bucket", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/r2-slurper_SourceJobSchema" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "r2-slurper_GCSLikeCredsSchema": r2_slurper_GCSLikeCredsSchema, - "r2-slurper_GCSSourceSchema": r2_slurper_GCSSourceSchema, - "r2-slurper_Jurisdiction": r2_slurper_Jurisdiction, - "r2-slurper_R2SourceSchema": r2_slurper_R2SourceSchema, - "r2-slurper_S3LikeCredsSchema": r2_slurper_S3LikeCredsSchema, - "r2-slurper_S3SourceSchema": r2_slurper_S3SourceSchema, - "r2-slurper_SourceJobSchema": r2_slurper_SourceJobSchema, + "r2-slurper_GCSLikeCredsSchema": r2$$slurper_GCSLikeCredsSchema, + "r2-slurper_GCSSourceSchema": r2$$slurper_GCSSourceSchema, + "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, + "r2-slurper_R2SourceSchema": r2$$slurper_R2SourceSchema, + "r2-slurper_S3LikeCredsSchema": r2$$slurper_S3LikeCredsSchema, + "r2-slurper_S3SourceSchema": r2$$slurper_S3SourceSchema, + "r2-slurper_SourceJobSchema": r2$$slurper_SourceJobSchema, }, }, outputSchema: { @@ -67,10 +75,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_ConnectivityResponse": r2_slurper_ConnectivityResponse_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_ConnectivityResponse": r2$$slurper_ConnectivityResponse, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -104,11 +112,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_ConnectivityResponse": r2_slurper_ConnectivityResponse_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_ConnectivityResponse": r2$$slurper_ConnectivityResponse, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ @@ -117,27 +125,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "r2_super_slurper_connectivity_precheck_target", + name: "r2_superSlurper_connectivityPrecheck_target", title: "Check target connectivity", description: "Check whether tokens are valid against the target bucket", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/r2-slurper_R2TargetSchema" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "r2-slurper_Jurisdiction": r2_slurper_Jurisdiction, - "r2-slurper_R2TargetSchema": r2_slurper_R2TargetSchema, - "r2-slurper_S3LikeCredsSchema": r2_slurper_S3LikeCredsSchema, + "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, + "r2-slurper_R2TargetSchema": r2$$slurper_R2TargetSchema, + "r2-slurper_S3LikeCredsSchema": r2$$slurper_S3LikeCredsSchema, }, }, outputSchema: { @@ -155,10 +171,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_ConnectivityResponse": r2_slurper_ConnectivityResponse_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_ConnectivityResponse": r2$$slurper_ConnectivityResponse, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -192,11 +208,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_ConnectivityResponse": r2_slurper_ConnectivityResponse_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_ConnectivityResponse": r2$$slurper_ConnectivityResponse, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/logs/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/outputs.ts index 7997a1de6..9076552b9 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/logs/outputs.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `r2-slurper_JobLogResponse` in responses. */ -export const r2_slurper_JobLogResponse_output: JsonSchema = { +export const r2$$slurper_JobLogResponse: JsonSchema = { "properties": { "createdAt": { "type": "string" diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts index 6276d7de3..df2e864fb 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts @@ -1,42 +1,55 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - r2_slurper_api_v4_error_output, - r2_slurper_api_v4_failure_output, - r2_slurper_api_v4_message_output, - r2_slurper_api_v4_success_output, + r2$$slurper_api$$v4$$error, + r2$$slurper_api$$v4$$failure, + r2$$slurper_api$$v4$$message, + r2$$slurper_api$$v4$$success, } from "../../outputs.js"; -import { r2_slurper_JobLogResponse_output } from "./outputs.js"; +import { r2$$slurper_JobLogResponse } from "./outputs.js"; /** - * The tools of `r2.super_slurper.jobs.logs`. + * The tools of `r2.superSlurper.jobs.logs`. */ export const tools: readonly Tool[] = [ { - name: "r2_super_slurper_jobs_logs_list", + name: "r2_superSlurper_jobs_logs_list", title: "Get job logs", description: "Gets log entries for an R2 Super Slurper migration job, showing migration status changes, errors, etc.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "job_id": { - "type": "string" - }, - "limit": { - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "job_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" }, - "offset": { - "type": "integer" + "query": { + "properties": { + "limit": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], }, outputSchema: { @@ -57,10 +70,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_JobLogResponse": r2_slurper_JobLogResponse_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_JobLogResponse": r2$$slurper_JobLogResponse, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -97,18 +110,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_JobLogResponse": r2_slurper_JobLogResponse_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_JobLogResponse": r2$$slurper_JobLogResponse, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs/${pathParam(args, "job_id")}/logs`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], ], }), }, diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts index 72bb420bf..abda1ef97 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2-slurper_JobProgressResponse` in responses. */ -export const r2_slurper_JobProgressResponse_output: JsonSchema = { +export const r2$$slurper_JobProgressResponse: JsonSchema = { "properties": { "createdAt": { "type": "string" @@ -36,7 +36,7 @@ export const r2_slurper_JobProgressResponse_output: JsonSchema = { /** * The schema of `r2-slurper_JobResponse` in responses. */ -export const r2_slurper_JobResponse_output: JsonSchema = { +export const r2$$slurper_JobResponse: JsonSchema = { "properties": { "createdAt": { "type": "string" @@ -212,7 +212,7 @@ export const r2_slurper_JobResponse_output: JsonSchema = { /** * The schema of `r2-slurper_JobStatus` in responses. */ -export const r2_slurper_JobStatus_output: JsonSchema = { +export const r2$$slurper_JobStatus: JsonSchema = { "enum": [ "running", "paused", diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/schemas.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/schemas.ts index 3767c3cb6..a35ee0f58 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/schemas.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `r2-slurper_CreateJobRequest`. */ -export const r2_slurper_CreateJobRequest: JsonSchema = { +export const r2$$slurper_CreateJobRequest: JsonSchema = { "properties": { "overwrite": { "default": true, diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts index 23d017875..906c40346 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts @@ -1,52 +1,60 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - r2_slurper_Jurisdiction_output, - r2_slurper_api_v4_error_output, - r2_slurper_api_v4_failure_output, - r2_slurper_api_v4_message_output, - r2_slurper_api_v4_success_output, + r2$$slurper_Jurisdiction, + r2$$slurper_api$$v4$$error, + r2$$slurper_api$$v4$$failure, + r2$$slurper_api$$v4$$message, + r2$$slurper_api$$v4$$success, } from "../outputs.js"; import { - r2_slurper_GCSLikeCredsSchema, - r2_slurper_GCSSourceSchema, - r2_slurper_Jurisdiction, - r2_slurper_R2SourceSchema, - r2_slurper_R2TargetSchema, - r2_slurper_S3LikeCredsSchema, - r2_slurper_S3SourceSchema, - r2_slurper_SourceJobSchema, + r2$$slurper_GCSLikeCredsSchema, + r2$$slurper_GCSSourceSchema, + r2$$slurper_Jurisdiction as r2$$slurper_Jurisdiction$, + r2$$slurper_R2SourceSchema, + r2$$slurper_R2TargetSchema, + r2$$slurper_S3LikeCredsSchema, + r2$$slurper_S3SourceSchema, + r2$$slurper_SourceJobSchema, } from "../schemas.js"; import { - r2_slurper_JobProgressResponse_output, - r2_slurper_JobResponse_output, - r2_slurper_JobStatus_output, + r2$$slurper_JobProgressResponse, + r2$$slurper_JobResponse, + r2$$slurper_JobStatus, } from "./outputs.js"; -import { r2_slurper_CreateJobRequest } from "./schemas.js"; +import { r2$$slurper_CreateJobRequest } from "./schemas.js"; /** - * The tools of `r2.super_slurper.jobs`. + * The tools of `r2.superSlurper.jobs`. */ export const tools: readonly Tool[] = [ { - name: "r2_super_slurper_jobs_abort", + name: "r2_superSlurper_jobs_abort", title: "Abort a job", description: "Cancels a specific R2 Super Slurper migration job. Any objects in the middle of a transfer will finish, but no new objects will start transferring.\n\nConfirm with the user before calling this tool. This operation stops a running migration job.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "job_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "job_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], }, outputSchema: { @@ -64,9 +72,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -100,10 +108,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ @@ -111,18 +119,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "r2_super_slurper_jobs_abort_all", + name: "r2_superSlurper_jobs_abortAll", title: "Abort all jobs", description: "Cancels all running R2 Super Slurper migration jobs for the account. Any objects in the middle of a transfer will finish, but no new objects will start transferring.\n\nConfirm with the user before calling this tool. This operation stops every running migration job.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -140,9 +156,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -176,10 +192,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ @@ -187,33 +203,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "r2_super_slurper_jobs_create", + name: "r2_superSlurper_jobs_create", title: "Create a job", description: "Creates a new R2 Super Slurper migration job to transfer objects from a source bucket (e.g. S3, GCS, R2) to R2.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/r2-slurper_CreateJobRequest" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "r2-slurper_CreateJobRequest": r2_slurper_CreateJobRequest, - "r2-slurper_GCSLikeCredsSchema": r2_slurper_GCSLikeCredsSchema, - "r2-slurper_GCSSourceSchema": r2_slurper_GCSSourceSchema, - "r2-slurper_Jurisdiction": r2_slurper_Jurisdiction, - "r2-slurper_R2SourceSchema": r2_slurper_R2SourceSchema, - "r2-slurper_R2TargetSchema": r2_slurper_R2TargetSchema, - "r2-slurper_S3LikeCredsSchema": r2_slurper_S3LikeCredsSchema, - "r2-slurper_S3SourceSchema": r2_slurper_S3SourceSchema, - "r2-slurper_SourceJobSchema": r2_slurper_SourceJobSchema, + "r2-slurper_CreateJobRequest": r2$$slurper_CreateJobRequest, + "r2-slurper_GCSLikeCredsSchema": r2$$slurper_GCSLikeCredsSchema, + "r2-slurper_GCSSourceSchema": r2$$slurper_GCSSourceSchema, + "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction$, + "r2-slurper_R2SourceSchema": r2$$slurper_R2SourceSchema, + "r2-slurper_R2TargetSchema": r2$$slurper_R2TargetSchema, + "r2-slurper_S3LikeCredsSchema": r2$$slurper_S3LikeCredsSchema, + "r2-slurper_S3SourceSchema": r2$$slurper_S3SourceSchema, + "r2-slurper_SourceJobSchema": r2$$slurper_SourceJobSchema, }, }, outputSchema: { @@ -236,9 +260,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -280,10 +304,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ @@ -292,22 +316,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "r2_super_slurper_jobs_delete", + name: "r2_superSlurper_jobs_delete", title: "Delete a job", description: "Deletes a completed, aborted, or errored R2 Super Slurper migration job. Active jobs cannot be deleted.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "job_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "job_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], }, outputSchema: { @@ -325,9 +357,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -364,10 +396,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ @@ -375,22 +407,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "r2_super_slurper_jobs_get", + name: "r2_superSlurper_jobs_get", title: "Get job details", description: "Retrieves detailed status and configuration for a specific R2 Super Slurper migration job.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "job_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "job_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], }, outputSchema: { @@ -408,12 +448,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_JobResponse": r2_slurper_JobResponse_output, - "r2-slurper_JobStatus": r2_slurper_JobStatus_output, - "r2-slurper_Jurisdiction": r2_slurper_Jurisdiction_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_JobResponse": r2$$slurper_JobResponse, + "r2-slurper_JobStatus": r2$$slurper_JobStatus, + "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -447,13 +487,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_JobResponse": r2_slurper_JobResponse_output, - "r2-slurper_JobStatus": r2_slurper_JobStatus_output, - "r2-slurper_Jurisdiction": r2_slurper_Jurisdiction_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_JobResponse": r2$$slurper_JobResponse, + "r2-slurper_JobStatus": r2$$slurper_JobStatus, + "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ @@ -461,24 +501,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "r2_super_slurper_jobs_list", + name: "r2_superSlurper_jobs_list", title: "List jobs", description: "Lists all R2 Super Slurper migration jobs for the account with their status.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "limit": { - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "offset": { - "type": "integer" + "query": { + "properties": { + "limit": { + "type": "integer" + }, + "offset": { + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -499,12 +552,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_JobResponse": r2_slurper_JobResponse_output, - "r2-slurper_JobStatus": r2_slurper_JobStatus_output, - "r2-slurper_Jurisdiction": r2_slurper_Jurisdiction_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_JobResponse": r2$$slurper_JobResponse, + "r2-slurper_JobStatus": r2$$slurper_JobStatus, + "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -541,40 +594,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_JobResponse": r2_slurper_JobResponse_output, - "r2-slurper_JobStatus": r2_slurper_JobStatus_output, - "r2-slurper_Jurisdiction": r2_slurper_Jurisdiction_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_JobResponse": r2$$slurper_JobResponse, + "r2-slurper_JobStatus": r2$$slurper_JobStatus, + "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/slurper/jobs`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], ], }), }, { - name: "r2_super_slurper_jobs_pause", + name: "r2_superSlurper_jobs_pause", title: "Pause a job", description: "Pauses a running R2 Super Slurper migration job. The job can be resumed later to continue transferring.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "job_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "job_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], }, outputSchema: { @@ -592,9 +653,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -631,10 +692,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ @@ -642,22 +703,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "r2_super_slurper_jobs_progress", + name: "r2_superSlurper_jobs_progress", title: "Get job progress", description: "Retrieves current progress metrics for an R2 Super Slurper migration job", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "job_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "job_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], }, outputSchema: { @@ -675,11 +744,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_JobProgressResponse": r2_slurper_JobProgressResponse_output, - "r2-slurper_JobStatus": r2_slurper_JobStatus_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_JobProgressResponse": r2$$slurper_JobProgressResponse, + "r2-slurper_JobStatus": r2$$slurper_JobStatus, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -713,12 +782,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_JobProgressResponse": r2_slurper_JobProgressResponse_output, - "r2-slurper_JobStatus": r2_slurper_JobStatus_output, - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_JobProgressResponse": r2$$slurper_JobProgressResponse, + "r2-slurper_JobStatus": r2$$slurper_JobStatus, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ @@ -726,22 +795,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "r2_super_slurper_jobs_resume", + name: "r2_superSlurper_jobs_resume", title: "Resume a job", description: "Resumes a paused R2 Super Slurper migration job, continuing the transfer from where it stopped.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "job_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "job_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "job_id" + ], + "type": "object" } }, required: [ - "account_id", - "job_id" + "path" ], }, outputSchema: { @@ -759,9 +836,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, annotations: { @@ -795,10 +872,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2-slurper_api-v4-error": r2_slurper_api_v4_error_output, - "r2-slurper_api-v4-failure": r2_slurper_api_v4_failure_output, - "r2-slurper_api-v4-message": r2_slurper_api_v4_message_output, - "r2-slurper_api-v4-success": r2_slurper_api_v4_success_output, + "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, + "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, + "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, + "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/r2/superSlurper/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/outputs.ts index 326aaaa45..b79b418c7 100644 --- a/src/generated/forge-mcp/r2/superSlurper/outputs.ts +++ b/src/generated/forge-mcp/r2/superSlurper/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `r2-slurper_Jurisdiction` in responses. */ -export const r2_slurper_Jurisdiction_output: JsonSchema = { +export const r2$$slurper_Jurisdiction: JsonSchema = { "enum": [ "default", "eu", @@ -19,7 +19,7 @@ export const r2_slurper_Jurisdiction_output: JsonSchema = { /** * The schema of `r2-slurper_api-v4-error` in responses. */ -export const r2_slurper_api_v4_error_output: JsonSchema = { +export const r2$$slurper_api$$v4$$error: JsonSchema = { "items": { "properties": { "code": { @@ -41,7 +41,7 @@ export const r2_slurper_api_v4_error_output: JsonSchema = { /** * The schema of `r2-slurper_api-v4-failure` in responses. */ -export const r2_slurper_api_v4_failure_output: JsonSchema = { +export const r2$$slurper_api$$v4$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/r2-slurper_api-v4-error" @@ -62,7 +62,7 @@ export const r2_slurper_api_v4_failure_output: JsonSchema = { /** * The schema of `r2-slurper_api-v4-message` in responses. */ -export const r2_slurper_api_v4_message_output: JsonSchema = { +export const r2$$slurper_api$$v4$$message: JsonSchema = { "items": { "type": "string" }, @@ -72,7 +72,7 @@ export const r2_slurper_api_v4_message_output: JsonSchema = { /** * The schema of `r2-slurper_api-v4-success` in responses. */ -export const r2_slurper_api_v4_success_output: JsonSchema = { +export const r2$$slurper_api$$v4$$success: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/r2-slurper_api-v4-error" diff --git a/src/generated/forge-mcp/r2/superSlurper/schemas.ts b/src/generated/forge-mcp/r2/superSlurper/schemas.ts index 1d77d8057..9f86e607a 100644 --- a/src/generated/forge-mcp/r2/superSlurper/schemas.ts +++ b/src/generated/forge-mcp/r2/superSlurper/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `r2-slurper_GCSLikeCredsSchema`. */ -export const r2_slurper_GCSLikeCredsSchema: JsonSchema = { +export const r2$$slurper_GCSLikeCredsSchema: JsonSchema = { "properties": { "clientEmail": { "type": "string" @@ -25,7 +25,7 @@ export const r2_slurper_GCSLikeCredsSchema: JsonSchema = { /** * The schema of `r2-slurper_GCSSourceSchema`. */ -export const r2_slurper_GCSSourceSchema: JsonSchema = { +export const r2$$slurper_GCSSourceSchema: JsonSchema = { "properties": { "bucket": { "type": "string" @@ -75,7 +75,7 @@ export const r2_slurper_GCSSourceSchema: JsonSchema = { /** * The schema of `r2-slurper_Jurisdiction`. */ -export const r2_slurper_Jurisdiction: JsonSchema = { +export const r2$$slurper_Jurisdiction: JsonSchema = { "enum": [ "default", "eu", @@ -88,7 +88,7 @@ export const r2_slurper_Jurisdiction: JsonSchema = { /** * The schema of `r2-slurper_R2SourceSchema`. */ -export const r2_slurper_R2SourceSchema: JsonSchema = { +export const r2$$slurper_R2SourceSchema: JsonSchema = { "properties": { "bucket": { "type": "string" @@ -141,7 +141,7 @@ export const r2_slurper_R2SourceSchema: JsonSchema = { /** * The schema of `r2-slurper_R2TargetSchema`. */ -export const r2_slurper_R2TargetSchema: JsonSchema = { +export const r2$$slurper_R2TargetSchema: JsonSchema = { "properties": { "bucket": { "type": "string" @@ -170,7 +170,7 @@ export const r2_slurper_R2TargetSchema: JsonSchema = { /** * The schema of `r2-slurper_S3LikeCredsSchema`. */ -export const r2_slurper_S3LikeCredsSchema: JsonSchema = { +export const r2$$slurper_S3LikeCredsSchema: JsonSchema = { "properties": { "accessKeyId": { "type": "string" @@ -189,7 +189,7 @@ export const r2_slurper_S3LikeCredsSchema: JsonSchema = { /** * The schema of `r2-slurper_S3SourceSchema`. */ -export const r2_slurper_S3SourceSchema: JsonSchema = { +export const r2$$slurper_S3SourceSchema: JsonSchema = { "properties": { "bucket": { "type": "string" @@ -260,7 +260,7 @@ export const r2_slurper_S3SourceSchema: JsonSchema = { /** * The schema of `r2-slurper_SourceJobSchema`. */ -export const r2_slurper_SourceJobSchema: JsonSchema = { +export const r2$$slurper_SourceJobSchema: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/r2-slurper_S3SourceSchema" diff --git a/src/generated/forge-mcp/r2/temporaryCredentials/outputs.ts b/src/generated/forge-mcp/r2/temporaryCredentials/outputs.ts index cbc2b7212..5441c6163 100644 --- a/src/generated/forge-mcp/r2/temporaryCredentials/outputs.ts +++ b/src/generated/forge-mcp/r2/temporaryCredentials/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `r2_temp_access_creds_response` in responses. */ -export const r2_temp_access_creds_response_output: JsonSchema = { +export const r2_temp_access_creds_response: JsonSchema = { "properties": { "accessKeyId": { "type": "string" diff --git a/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts b/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts index 5fd229fa9..cba4d8d38 100644 --- a/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts +++ b/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts @@ -3,36 +3,44 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - r2_errors_output, - r2_messages_output, - r2_v4_response_failure_output, - r2_v4_response_output, + r2_errors, + r2_messages, + r2_v4_response, + r2_v4_response_failure, } from "../outputs.js"; import { r2_account_identifier } from "../schemas.js"; -import { r2_temp_access_creds_response_output } from "./outputs.js"; +import { r2_temp_access_creds_response } from "./outputs.js"; import { r2_temp_access_creds_request } from "./schemas.js"; /** - * The tools of `r2.temporary_credentials`. + * The tools of `r2.temporaryCredentials`. */ export const tools: readonly Tool[] = [ { - name: "r2_temporary_credentials_create", + name: "r2_temporaryCredentials_create", title: "Create Temporary Access Credentials", description: "Creates temporary access credentials on a bucket that can be optionally scoped to prefixes or objects.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." - }, "body": { "$ref": "#/$defs/r2_temp_access_creds_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/r2_account_identifier", + "description": "Cloudflare account ID that owns the R2 resource." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -55,10 +63,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_temp_access_creds_response": r2_temp_access_creds_response_output, - "r2_v4_response": r2_v4_response_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_temp_access_creds_response": r2_temp_access_creds_response, + "r2_v4_response": r2_v4_response, }, }, annotations: { @@ -92,11 +100,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "r2_errors": r2_errors_output, - "r2_messages": r2_messages_output, - "r2_temp_access_creds_response": r2_temp_access_creds_response_output, - "r2_v4_response": r2_v4_response_output, - "r2_v4_response_failure": r2_v4_response_failure_output, + "r2_errors": r2_errors, + "r2_messages": r2_messages, + "r2_temp_access_creds_response": r2_temp_access_creds_response, + "r2_v4_response": r2_v4_response, + "r2_v4_response_failure": r2_v4_response_failure, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/radar/agentReadiness/tools.ts b/src/generated/forge-mcp/radar/agentReadiness/tools.ts index 139d9261e..810ea2436 100644 --- a/src/generated/forge-mcp/radar/agentReadiness/tools.ts +++ b/src/generated/forge-mcp/radar/agentReadiness/tools.ts @@ -1,56 +1,69 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `radar.agent_readiness`. + * The tools of `radar.agentReadiness`. */ export const tools: readonly Tool[] = [ { - name: "radar_agent_readiness_summary", + name: "radar_agentReadiness_summary", title: "Get agent readiness summary", description: "Returns a summary of AI agent readiness scores across scanned domains, grouped by the specified dimension. Data is sourced from weekly bulk scans. All values are raw domain counts.", inputSchema: { type: "object", properties: { - "date": { - "description": "Filters results by the specified date.", - "format": "date", - "type": "string" - }, - "dimension": { - "description": "Specifies the agent readiness data dimension by which to group the results.", - "enum": [ - "CHECK" - ], - "type": "string" - }, - "domain_category": { - "description": "Filters results by domain category.", - "items": { - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the agent readiness data dimension by which to group the results.", + "enum": [ + "CHECK" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "date": { + "description": "Filters results by the specified date.", + "format": "date", + "type": "string" + }, + "domainCategory": { + "description": "Filters results by domain category.", + "items": { + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -319,10 +332,10 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/agent_readiness/summary/${pathParam(args, "dimension")}`, query: [ - ["date", args["date"], true], - ["domainCategory", args["domain_category"], true], - ["name", args["name"], true], - ["format", args["format"], true], + ["date", param(args, "query", "date"), true], + ["domainCategory", param(args, "query", "domainCategory"), true], + ["name", param(args, "query", "name"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ai/bots/tools.ts b/src/generated/forge-mcp/radar/ai/bots/tools.ts index 35ed05910..43d0d6794 100644 --- a/src/generated/forge-mcp/radar/ai/bots/tools.ts +++ b/src/generated/forge-mcp/radar/ai/bots/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.ai.bots`. @@ -14,152 +14,157 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "content_type": { - "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", - "items": { - "enum": [ - "HTML", - "IMAGES", - "JSON", - "JAVASCRIPT", - "CSS", - "PLAIN_TEXT", - "FONTS", - "XML", - "YAML", - "VIDEO", - "AUDIO", - "MARKDOWN", - "DOCUMENTS", - "BINARY", - "SERIALIZATION", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "crawl_purpose": { - "description": "Filters results by bot crawl purpose.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "industry": { - "description": "Filters results by industry.", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response_status": { - "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response_status_category": { - "description": "Filters results by HTTP response status code category.", - "items": { - "enum": [ - "INFORMATIONAL", - "SUCCESS", - "REDIRECTION", - "CLIENT_ERROR", - "SERVER_ERROR" - ], - "type": "string" - }, - "type": "array" - }, - "user_agent": { - "description": "Filters results by user agent.", - "items": { - "type": "string" - }, - "type": "array" - }, - "vertical": { - "description": "Filters results by vertical.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "contentType": { + "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", + "items": { + "enum": [ + "HTML", + "IMAGES", + "JSON", + "JAVASCRIPT", + "CSS", + "PLAIN_TEXT", + "FONTS", + "XML", + "YAML", + "VIDEO", + "AUDIO", + "MARKDOWN", + "DOCUMENTS", + "BINARY", + "SERIALIZATION", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "crawlPurpose": { + "description": "Filters results by bot crawl purpose.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "industry": { + "description": "Filters results by industry.", + "items": { + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responseStatus": { + "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responseStatusCategory": { + "description": "Filters results by HTTP response status code category.", + "items": { + "enum": [ + "INFORMATIONAL", + "SUCCESS", + "REDIRECTION", + "CLIENT_ERROR", + "SERVER_ERROR" + ], + "type": "string" + }, + "type": "array" + }, + "userAgent": { + "description": "Filters results by user agent.", + "items": { + "type": "string" + }, + "type": "array" + }, + "vertical": { + "description": "Filters results by vertical.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -645,206 +650,219 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ai/bots/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["crawlPurpose", args["crawl_purpose"], true], - ["userAgent", args["user_agent"], true], - ["industry", args["industry"], true], - ["vertical", args["vertical"], true], - ["contentType", args["content_type"], true], - ["responseStatus", args["response_status"], true], - ["responseStatusCategory", args["response_status_category"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["crawlPurpose", param(args, "query", "crawlPurpose"), true], + ["userAgent", param(args, "query", "userAgent"), true], + ["industry", param(args, "query", "industry"), true], + ["vertical", param(args, "query", "vertical"), true], + ["contentType", param(args, "query", "contentType"), true], + ["responseStatus", param(args, "query", "responseStatus"), true], + ["responseStatusCategory", param(args, "query", "responseStatusCategory"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_ai_bots_timeseries_groups", + name: "radar_ai_bots_timeseriesGroups", title: "Get time series distribution of AI bots HTTP requests by dimension.", description: "Retrieves the distribution of HTTP requests from AI bots, grouped by the specified dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "content_type": { - "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", - "items": { - "enum": [ - "HTML", - "IMAGES", - "JSON", - "JAVASCRIPT", - "CSS", - "PLAIN_TEXT", - "FONTS", - "XML", - "YAML", - "VIDEO", - "AUDIO", - "MARKDOWN", - "DOCUMENTS", - "BINARY", - "SERIALIZATION", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "crawl_purpose": { - "description": "Filters results by bot crawl purpose.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "USER_AGENT", - "CRAWL_PURPOSE", - "INDUSTRY", - "VERTICAL", - "CONTENT_TYPE", - "RESPONSE_STATUS", - "RESPONSE_STATUS_CATEGORY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "industry": { - "description": "Filters results by industry.", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "USER_AGENT", + "CRAWL_PURPOSE", + "INDUSTRY", + "VERTICAL", + "CONTENT_TYPE", + "RESPONSE_STATUS", + "RESPONSE_STATUS_CATEGORY" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", - "enum": [ - "PERCENTAGE", - "MIN0_MAX", - "PERCENTAGE_CHANGE" + "required": [ + "dimension" ], - "type": "string" - }, - "response_status": { - "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response_status_category": { - "description": "Filters results by HTTP response status code category.", - "items": { - "enum": [ - "INFORMATIONAL", - "SUCCESS", - "REDIRECTION", - "CLIENT_ERROR", - "SERVER_ERROR" - ], - "type": "string" - }, - "type": "array" - }, - "user_agent": { - "description": "Filters results by user agent.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "vertical": { - "description": "Filters results by vertical.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "contentType": { + "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", + "items": { + "enum": [ + "HTML", + "IMAGES", + "JSON", + "JAVASCRIPT", + "CSS", + "PLAIN_TEXT", + "FONTS", + "XML", + "YAML", + "VIDEO", + "AUDIO", + "MARKDOWN", + "DOCUMENTS", + "BINARY", + "SERIALIZATION", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "crawlPurpose": { + "description": "Filters results by bot crawl purpose.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "industry": { + "description": "Filters results by industry.", + "items": { + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "PERCENTAGE_CHANGE" + ], + "type": "string" + }, + "responseStatus": { + "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responseStatusCategory": { + "description": "Filters results by HTTP response status code category.", + "items": { + "enum": [ + "INFORMATIONAL", + "SUCCESS", + "REDIRECTION", + "CLIENT_ERROR", + "SERVER_ERROR" + ], + "type": "string" + }, + "type": "array" + }, + "userAgent": { + "description": "Filters results by user agent.", + "items": { + "type": "string" + }, + "type": "array" + }, + "vertical": { + "description": "Filters results by vertical.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1329,24 +1347,24 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ai/bots/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["crawlPurpose", args["crawl_purpose"], true], - ["userAgent", args["user_agent"], true], - ["industry", args["industry"], true], - ["vertical", args["vertical"], true], - ["contentType", args["content_type"], true], - ["responseStatus", args["response_status"], true], - ["responseStatusCategory", args["response_status_category"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["normalization", args["normalization"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["crawlPurpose", param(args, "query", "crawlPurpose"), true], + ["userAgent", param(args, "query", "userAgent"), true], + ["industry", param(args, "query", "industry"), true], + ["vertical", param(args, "query", "vertical"), true], + ["contentType", param(args, "query", "contentType"), true], + ["responseStatus", param(args, "query", "responseStatus"), true], + ["responseStatusCategory", param(args, "query", "responseStatusCategory"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["normalization", param(args, "query", "normalization"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ai/inference/tools.ts b/src/generated/forge-mcp/radar/ai/inference/tools.ts index 308fb4cd2..19333e80a 100644 --- a/src/generated/forge-mcp/radar/ai/inference/tools.ts +++ b/src/generated/forge-mcp/radar/ai/inference/tools.ts @@ -1,93 +1,106 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.ai.inference`. */ export const tools: readonly Tool[] = [ { - name: "radar_ai_inference_summary_v2", + name: "radar_ai_inference_summaryV2", title: "Get Workers AI inference distribution by dimension", description: "Retrieves an aggregated summary of the number of inferences run on Workers AI, grouped by the specified dimension.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "MODEL", + "TASK" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "MODEL", - "TASK" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -520,118 +533,131 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ai/inference/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_ai_inference_timeseries_groups_v2", + name: "radar_ai_inference_timeseriesGroupsV2", title: "Get time series distribution of Workers AI inference by dimension.", description: "Retrieves the distribution of the number of inferences run on Workers AI, grouped by the specified dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "MODEL", + "TASK" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "MODEL", - "TASK" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", + "enum": [ + "PERCENTAGE", + "MIN0_MAX" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", - "enum": [ - "PERCENTAGE", - "MIN0_MAX" - ], - "type": "string" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1116,17 +1142,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ai/inference/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["normalization", args["normalization"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["normalization", param(args, "query", "normalization"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts b/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts index fdac563bf..cb383f9d7 100644 --- a/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts +++ b/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts @@ -1,56 +1,61 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** - * The tools of `radar.ai.markdown_for_agents`. + * The tools of `radar.ai.markdownForAgents`. */ export const tools: readonly Tool[] = [ { - name: "radar_ai_markdown_for_agents_summary", + name: "radar_ai_markdownForAgents_summary", title: "Get AI markdown for agents reduction ratio summary", description: "Retrieves the overall median HTML-to-markdown reduction ratio for AI agent requests over the given date range.", inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -494,68 +499,73 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ai/markdown_for_agents/summary`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_ai_markdown_for_agents_timeseries", + name: "radar_ai_markdownForAgents_timeseries", title: "Get AI markdown for agents reduction ratio time series", description: "Retrieves the median HTML-to-markdown reduction ratio over time for AI agent requests.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1041,12 +1051,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ai/markdown_for_agents/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts b/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts index 389d0afc1..6a1c492e0 100644 --- a/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts +++ b/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts @@ -1,172 +1,185 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `radar.ai.timeseries_groups`. + * The tools of `radar.ai.timeseriesGroups`. */ export const tools: readonly Tool[] = [ { - name: "radar_ai_timeseries_groups_summary", + name: "radar_ai_timeseriesGroups_summary", title: "Get AI bots HTTP requests distribution by dimension", description: "Retrieves an aggregated summary of AI bots HTTP requests grouped by the specified dimension.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "content_type": { - "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", - "items": { - "enum": [ - "HTML", - "IMAGES", - "JSON", - "JAVASCRIPT", - "CSS", - "PLAIN_TEXT", - "FONTS", - "XML", - "YAML", - "VIDEO", - "AUDIO", - "MARKDOWN", - "DOCUMENTS", - "BINARY", - "SERIALIZATION", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "crawl_purpose": { - "description": "Filters results by bot crawl purpose.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "USER_AGENT", + "CRAWL_PURPOSE", + "INDUSTRY", + "VERTICAL", + "CONTENT_TYPE", + "RESPONSE_STATUS", + "RESPONSE_STATUS_CATEGORY" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "USER_AGENT", - "CRAWL_PURPOSE", - "INDUSTRY", - "VERTICAL", - "CONTENT_TYPE", - "RESPONSE_STATUS", - "RESPONSE_STATUS_CATEGORY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "industry": { - "description": "Filters results by industry.", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response_status": { - "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response_status_category": { - "description": "Filters results by HTTP response status code category.", - "items": { - "enum": [ - "INFORMATIONAL", - "SUCCESS", - "REDIRECTION", - "CLIENT_ERROR", - "SERVER_ERROR" - ], - "type": "string" - }, - "type": "array" - }, - "user_agent": { - "description": "Filters results by user agent.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "vertical": { - "description": "Filters results by vertical.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "contentType": { + "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", + "items": { + "enum": [ + "HTML", + "IMAGES", + "JSON", + "JAVASCRIPT", + "CSS", + "PLAIN_TEXT", + "FONTS", + "XML", + "YAML", + "VIDEO", + "AUDIO", + "MARKDOWN", + "DOCUMENTS", + "BINARY", + "SERIALIZATION", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "crawlPurpose": { + "description": "Filters results by bot crawl purpose.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "industry": { + "description": "Filters results by industry.", + "items": { + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responseStatus": { + "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responseStatusCategory": { + "description": "Filters results by HTTP response status code category.", + "items": { + "enum": [ + "INFORMATIONAL", + "SUCCESS", + "REDIRECTION", + "CLIENT_ERROR", + "SERVER_ERROR" + ], + "type": "string" + }, + "type": "array" + }, + "userAgent": { + "description": "Filters results by user agent.", + "items": { + "type": "string" + }, + "type": "array" + }, + "vertical": { + "description": "Filters results by vertical.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -599,22 +612,22 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ai/bots/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["crawlPurpose", args["crawl_purpose"], true], - ["userAgent", args["user_agent"], true], - ["vertical", args["vertical"], true], - ["industry", args["industry"], true], - ["contentType", args["content_type"], true], - ["responseStatus", args["response_status"], true], - ["responseStatusCategory", args["response_status_category"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["crawlPurpose", param(args, "query", "crawlPurpose"), true], + ["userAgent", param(args, "query", "userAgent"), true], + ["vertical", param(args, "query", "vertical"), true], + ["industry", param(args, "query", "industry"), true], + ["contentType", param(args, "query", "contentType"), true], + ["responseStatus", param(args, "query", "responseStatus"), true], + ["responseStatusCategory", param(args, "query", "responseStatusCategory"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/annotations/outages/tools.ts b/src/generated/forge-mcp/radar/annotations/outages/tools.ts index 96708b140..ca01b2819 100644 --- a/src/generated/forge-mcp/radar/annotations/outages/tools.ts +++ b/src/generated/forge-mcp/radar/annotations/outages/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.annotations.outages`. @@ -14,241 +14,246 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", - "type": "integer" - }, - "bot": { - "description": "Filters results by bot.", - "type": "string" - }, - "ca": { - "description": "Filters results by certificate authority.", - "type": "string" - }, - "data_source": { - "description": "Filters results by data source.", - "enum": [ - "ALL", - "AI_BOTS", - "AI_GATEWAY", - "BGP", - "BOTS", - "CONNECTION_ANOMALY", - "CT", - "DNS", - "DNS_MAGNITUDE", - "DNS_AS112", - "DOS", - "EMAIL_ROUTING", - "EMAIL_SECURITY", - "FW", - "FW_PG", - "HTTP", - "HTTP_CONTROL", - "HTTP_CRAWLER_REFERER", - "HTTP_ORIGINS", - "IQI", - "LEAKED_CREDENTIALS", - "NET", - "ROBOTS_TXT", - "SPEED", - "WORKERS_AI" - ], - "type": "string" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_range": { - "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by geolocation. Refer to [GeoNames](https://download.geonames.org/export/dump/readme.txt).", - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify an alpha-2 location code.", - "type": "string" - }, - "log": { - "description": "Filters results by certificate log.", - "type": "string" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" - }, - "origin": { - "description": "Filters results by origin.", - "type": "string" - }, - "outage_cause": { - "description": "Filters results by outage cause.", - "enum": [ - "BLOCKING", - "CABLE_CUT", - "CYBERATTACK", - "DNS", - "FIRE", - "GOVERNMENT_DIRECTED", - "MAINTENANCE", - "MECHANICAL", - "MILITARY_ACTION", - "MISCONFIGURATION", - "NATURAL_DISASTER", - "NETWORK_PROBLEM", - "POWER_OUTAGE", - "SOFTWARE", - "TECHNICAL_PROBLEM", - "UNKNOWN", - "WEATHER" - ], - "type": "string" - }, - "outage_type": { - "description": "Filters results by outage type.", - "enum": [ - "NATIONWIDE", - "REGIONAL", - "NETWORK", - "PLATFORM" - ], - "type": "string" - }, "query": { - "description": "Filters results by a free-text match on the annotation description, id, or linked entities (location, ASN, origin).", - "type": "string" - }, - "tags": { - "description": "Filters results by annotation tag. Matches annotations carrying at least one of the given tags.", - "items": { - "enum": [ - "ADM1", - "ADM2", - "API_TRAFFIC", - "ARC", - "AS", - "ASN", - "ATTACKS", - "AUTHOR", - "BANDWIDTH", - "BITRATE", - "BOT", - "BOT_CATEGORY", - "BOT_CLASS", - "BOT_KIND", - "BOT_OPERATOR", - "BROWSER", - "BROWSER_FAMILY", - "BYTES", - "CA", - "CACHE_HIT", - "CA_OWNER", - "CHECK_RESULT", - "CLIENT_TYPE", - "COMPROMISED", - "CONTENT_TYPE", - "CRAWL_PURPOSE", - "CRAWL_REFER_RATIO", - "DEVICE_TYPE", - "DKIM", - "DMARC", - "DNS", - "DNSSEC", - "DNSSEC_AWARE", - "DNSSEC_E2E", - "DOMAIN_CATEGORY", - "DURATION", - "EDNS", - "ENCRYPTED", - "ENTRY_TYPE", - "EXPIRATION_STATUS", - "HAS_IPS", - "HAS_MATCHING_ANSWER", - "HAS_WILDCARDS", - "HTTP_METHOD", - "HTTP_PROTOCOL", - "HTTP_VERSION", - "INDUSTRY", - "IP_VERSION", - "JITTER", - "KEY_AGREEMENT", - "LATENCY", - "LOCATION", - "LOCATION_LATENCY", - "LOG", - "LOG_API", - "LOG_OPERATOR", - "MALICIOUS", - "MANAGED_RULES", - "MITIGATION_PRODUCT", - "MODEL", - "NAMESERVER_LATENCY", - "ORIGIN", - "ORIGIN_AS", - "ORIGIN_LOCATION", - "ORIGIN_TARGET_LOCATION_PAIR", - "OS", - "PERCENTILE", - "POST_QUANTUM", - "PREFIX", - "PRODUCT", - "PROTOCOL", - "PROVIDER", - "PUBLIC_KEY_ALGORITHM", - "QUERY_TYPE", - "REFERER", - "REGION", - "RESPONSE_CODE", - "RESPONSE_STATUS", - "RESPONSE_STATUS_CATEGORY", - "RESPONSE_TTL", - "SIGNATURE_ALGORITHM", - "SPAM", - "SPF", - "SPOOF", - "SUCCESS_RATE", - "TARGET_LOCATION", - "TASK", - "THREAT_CATEGORY", - "TLD", - "TLD_DNS_MAGNITUDE", - "TLS_VERSION", - "UPDATE_TYPE", - "USER_AGENT", - "VALIDATION_LEVEL", - "VECTOR", - "VERTICAL" - ], - "type": "string" + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", + "type": "integer" + }, + "bot": { + "description": "Filters results by bot.", + "type": "string" + }, + "ca": { + "description": "Filters results by certificate authority.", + "type": "string" + }, + "dataSource": { + "description": "Filters results by data source.", + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateRange": { + "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by geolocation. Refer to [GeoNames](https://download.geonames.org/export/dump/readme.txt).", + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify an alpha-2 location code.", + "type": "string" + }, + "log": { + "description": "Filters results by certificate log.", + "type": "string" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + }, + "origin": { + "description": "Filters results by origin.", + "type": "string" + }, + "outageCause": { + "description": "Filters results by outage cause.", + "enum": [ + "BLOCKING", + "CABLE_CUT", + "CYBERATTACK", + "DNS", + "FIRE", + "GOVERNMENT_DIRECTED", + "MAINTENANCE", + "MECHANICAL", + "MILITARY_ACTION", + "MISCONFIGURATION", + "NATURAL_DISASTER", + "NETWORK_PROBLEM", + "POWER_OUTAGE", + "SOFTWARE", + "TECHNICAL_PROBLEM", + "UNKNOWN", + "WEATHER" + ], + "type": "string" + }, + "outageType": { + "description": "Filters results by outage type.", + "enum": [ + "NATIONWIDE", + "REGIONAL", + "NETWORK", + "PLATFORM" + ], + "type": "string" + }, + "query": { + "description": "Filters results by a free-text match on the annotation description, id, or linked entities (location, ASN, origin).", + "type": "string" + }, + "tags": { + "description": "Filters results by annotation tag. Matches annotations carrying at least one of the given tags.", + "items": { + "enum": [ + "ADM1", + "ADM2", + "API_TRAFFIC", + "ARC", + "AS", + "ASN", + "ATTACKS", + "AUTHOR", + "BANDWIDTH", + "BITRATE", + "BOT", + "BOT_CATEGORY", + "BOT_CLASS", + "BOT_KIND", + "BOT_OPERATOR", + "BROWSER", + "BROWSER_FAMILY", + "BYTES", + "CA", + "CACHE_HIT", + "CA_OWNER", + "CHECK_RESULT", + "CLIENT_TYPE", + "COMPROMISED", + "CONTENT_TYPE", + "CRAWL_PURPOSE", + "CRAWL_REFER_RATIO", + "DEVICE_TYPE", + "DKIM", + "DMARC", + "DNS", + "DNSSEC", + "DNSSEC_AWARE", + "DNSSEC_E2E", + "DOMAIN_CATEGORY", + "DURATION", + "EDNS", + "ENCRYPTED", + "ENTRY_TYPE", + "EXPIRATION_STATUS", + "HAS_IPS", + "HAS_MATCHING_ANSWER", + "HAS_WILDCARDS", + "HTTP_METHOD", + "HTTP_PROTOCOL", + "HTTP_VERSION", + "INDUSTRY", + "IP_VERSION", + "JITTER", + "KEY_AGREEMENT", + "LATENCY", + "LOCATION", + "LOCATION_LATENCY", + "LOG", + "LOG_API", + "LOG_OPERATOR", + "MALICIOUS", + "MANAGED_RULES", + "MITIGATION_PRODUCT", + "MODEL", + "NAMESERVER_LATENCY", + "ORIGIN", + "ORIGIN_AS", + "ORIGIN_LOCATION", + "ORIGIN_TARGET_LOCATION_PAIR", + "OS", + "PERCENTILE", + "POST_QUANTUM", + "PREFIX", + "PRODUCT", + "PROTOCOL", + "PROVIDER", + "PUBLIC_KEY_ALGORITHM", + "QUERY_TYPE", + "REFERER", + "REGION", + "RESPONSE_CODE", + "RESPONSE_STATUS", + "RESPONSE_STATUS_CATEGORY", + "RESPONSE_TTL", + "SIGNATURE_ALGORITHM", + "SPAM", + "SPF", + "SPOOF", + "SUCCESS_RATE", + "TARGET_LOCATION", + "TASK", + "THREAT_CATEGORY", + "TLD", + "TLD_DNS_MAGNITUDE", + "TLS_VERSION", + "UPDATE_TYPE", + "USER_AGENT", + "VALIDATION_LEVEL", + "VECTOR", + "VERTICAL" + ], + "type": "string" + }, + "type": "array" + }, + "tld": { + "description": "Filters results by top-level domain.", + "type": "string" + } }, - "type": "array" - }, - "tld": { - "description": "Filters results by top-level domain.", - "type": "string" + "type": "object" } }, }, @@ -880,25 +885,25 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/annotations/outages`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["dataSource", args["data_source"], true], - ["outageType", args["outage_type"], true], - ["outageCause", args["outage_cause"], true], - ["tags", args["tags"], true], - ["query", args["query"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["geoId", args["geo_id"], true], - ["origin", args["origin"], true], - ["tld", args["tld"], true], - ["ca", args["ca"], true], - ["log", args["log"], true], - ["bot", args["bot"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["dataSource", param(args, "query", "dataSource"), true], + ["outageType", param(args, "query", "outageType"), true], + ["outageCause", param(args, "query", "outageCause"), true], + ["tags", param(args, "query", "tags"), true], + ["query", param(args, "query", "query"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["geoId", param(args, "query", "geoId"), true], + ["origin", param(args, "query", "origin"), true], + ["tld", param(args, "query", "tld"), true], + ["ca", param(args, "query", "ca"), true], + ["log", param(args, "query", "log"), true], + ["bot", param(args, "query", "bot"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -909,32 +914,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_range": { - "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateRange": { + "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -1080,11 +1090,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/annotations/outages/locations`, query: [ - ["limit", args["limit"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/annotations/tools.ts b/src/generated/forge-mcp/radar/annotations/tools.ts index 9f75b6ee8..2a6961a95 100644 --- a/src/generated/forge-mcp/radar/annotations/tools.ts +++ b/src/generated/forge-mcp/radar/annotations/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.annotations`. @@ -14,21 +14,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "id": { + "description": "Annotation ID.", + "type": "string" + } + }, + "required": [ + "id" ], - "type": "string" + "type": "object" }, - "id": { - "description": "Annotation ID.", - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "id" + "path" ], }, outputSchema: { @@ -634,7 +647,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/annotations/${pathParam(args, "id")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -645,253 +658,258 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", - "type": "integer" - }, - "bot": { - "description": "Filters results by bot.", - "type": "string" - }, - "ca": { - "description": "Filters results by certificate authority.", - "type": "string" - }, - "data_source": { - "description": "Filters results by data source.", - "enum": [ - "ALL", - "AI_BOTS", - "AI_GATEWAY", - "BGP", - "BOTS", - "CONNECTION_ANOMALY", - "CT", - "DNS", - "DNS_MAGNITUDE", - "DNS_AS112", - "DOS", - "EMAIL_ROUTING", - "EMAIL_SECURITY", - "FW", - "FW_PG", - "HTTP", - "HTTP_CONTROL", - "HTTP_CRAWLER_REFERER", - "HTTP_ORIGINS", - "IQI", - "LEAKED_CREDENTIALS", - "NET", - "ROBOTS_TXT", - "SPEED", - "WORKERS_AI" - ], - "type": "string" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_range": { - "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "event_type": { - "description": "Filters results by event type. EVENT is a legacy alias for GENERAL.", - "enum": [ - "EVENT", - "GENERAL", - "OUTAGE", - "PARTIAL_PROJECTION", - "PIPELINE", - "TRAFFIC_ANOMALY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by geolocation. Refer to [GeoNames](https://download.geonames.org/export/dump/readme.txt).", - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify an alpha-2 location code.", - "type": "string" - }, - "log": { - "description": "Filters results by certificate log.", - "type": "string" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" - }, - "origin": { - "description": "Filters results by origin.", - "type": "string" - }, - "outage_cause": { - "description": "Filters results by outage cause.", - "enum": [ - "BLOCKING", - "CABLE_CUT", - "CYBERATTACK", - "DNS", - "FIRE", - "GOVERNMENT_DIRECTED", - "MAINTENANCE", - "MECHANICAL", - "MILITARY_ACTION", - "MISCONFIGURATION", - "NATURAL_DISASTER", - "NETWORK_PROBLEM", - "POWER_OUTAGE", - "SOFTWARE", - "TECHNICAL_PROBLEM", - "UNKNOWN", - "WEATHER" - ], - "type": "string" - }, - "outage_type": { - "description": "Filters results by outage type.", - "enum": [ - "NATIONWIDE", - "REGIONAL", - "NETWORK", - "PLATFORM" - ], - "type": "string" - }, "query": { - "description": "Filters results by a free-text match on the annotation description, id, or linked entities (location, ASN, origin).", - "type": "string" - }, - "tags": { - "description": "Filters results by annotation tag. Matches annotations carrying at least one of the given tags.", - "items": { - "enum": [ - "ADM1", - "ADM2", - "API_TRAFFIC", - "ARC", - "AS", - "ASN", - "ATTACKS", - "AUTHOR", - "BANDWIDTH", - "BITRATE", - "BOT", - "BOT_CATEGORY", - "BOT_CLASS", - "BOT_KIND", - "BOT_OPERATOR", - "BROWSER", - "BROWSER_FAMILY", - "BYTES", - "CA", - "CACHE_HIT", - "CA_OWNER", - "CHECK_RESULT", - "CLIENT_TYPE", - "COMPROMISED", - "CONTENT_TYPE", - "CRAWL_PURPOSE", - "CRAWL_REFER_RATIO", - "DEVICE_TYPE", - "DKIM", - "DMARC", - "DNS", - "DNSSEC", - "DNSSEC_AWARE", - "DNSSEC_E2E", - "DOMAIN_CATEGORY", - "DURATION", - "EDNS", - "ENCRYPTED", - "ENTRY_TYPE", - "EXPIRATION_STATUS", - "HAS_IPS", - "HAS_MATCHING_ANSWER", - "HAS_WILDCARDS", - "HTTP_METHOD", - "HTTP_PROTOCOL", - "HTTP_VERSION", - "INDUSTRY", - "IP_VERSION", - "JITTER", - "KEY_AGREEMENT", - "LATENCY", - "LOCATION", - "LOCATION_LATENCY", - "LOG", - "LOG_API", - "LOG_OPERATOR", - "MALICIOUS", - "MANAGED_RULES", - "MITIGATION_PRODUCT", - "MODEL", - "NAMESERVER_LATENCY", - "ORIGIN", - "ORIGIN_AS", - "ORIGIN_LOCATION", - "ORIGIN_TARGET_LOCATION_PAIR", - "OS", - "PERCENTILE", - "POST_QUANTUM", - "PREFIX", - "PRODUCT", - "PROTOCOL", - "PROVIDER", - "PUBLIC_KEY_ALGORITHM", - "QUERY_TYPE", - "REFERER", - "REGION", - "RESPONSE_CODE", - "RESPONSE_STATUS", - "RESPONSE_STATUS_CATEGORY", - "RESPONSE_TTL", - "SIGNATURE_ALGORITHM", - "SPAM", - "SPF", - "SPOOF", - "SUCCESS_RATE", - "TARGET_LOCATION", - "TASK", - "THREAT_CATEGORY", - "TLD", - "TLD_DNS_MAGNITUDE", - "TLS_VERSION", - "UPDATE_TYPE", - "USER_AGENT", - "VALIDATION_LEVEL", - "VECTOR", - "VERTICAL" - ], - "type": "string" + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", + "type": "integer" + }, + "bot": { + "description": "Filters results by bot.", + "type": "string" + }, + "ca": { + "description": "Filters results by certificate authority.", + "type": "string" + }, + "dataSource": { + "description": "Filters results by data source.", + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateRange": { + "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "eventType": { + "description": "Filters results by event type. EVENT is a legacy alias for GENERAL.", + "enum": [ + "EVENT", + "GENERAL", + "OUTAGE", + "PARTIAL_PROJECTION", + "PIPELINE", + "TRAFFIC_ANOMALY" + ], + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by geolocation. Refer to [GeoNames](https://download.geonames.org/export/dump/readme.txt).", + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify an alpha-2 location code.", + "type": "string" + }, + "log": { + "description": "Filters results by certificate log.", + "type": "string" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + }, + "origin": { + "description": "Filters results by origin.", + "type": "string" + }, + "outageCause": { + "description": "Filters results by outage cause.", + "enum": [ + "BLOCKING", + "CABLE_CUT", + "CYBERATTACK", + "DNS", + "FIRE", + "GOVERNMENT_DIRECTED", + "MAINTENANCE", + "MECHANICAL", + "MILITARY_ACTION", + "MISCONFIGURATION", + "NATURAL_DISASTER", + "NETWORK_PROBLEM", + "POWER_OUTAGE", + "SOFTWARE", + "TECHNICAL_PROBLEM", + "UNKNOWN", + "WEATHER" + ], + "type": "string" + }, + "outageType": { + "description": "Filters results by outage type.", + "enum": [ + "NATIONWIDE", + "REGIONAL", + "NETWORK", + "PLATFORM" + ], + "type": "string" + }, + "query": { + "description": "Filters results by a free-text match on the annotation description, id, or linked entities (location, ASN, origin).", + "type": "string" + }, + "tags": { + "description": "Filters results by annotation tag. Matches annotations carrying at least one of the given tags.", + "items": { + "enum": [ + "ADM1", + "ADM2", + "API_TRAFFIC", + "ARC", + "AS", + "ASN", + "ATTACKS", + "AUTHOR", + "BANDWIDTH", + "BITRATE", + "BOT", + "BOT_CATEGORY", + "BOT_CLASS", + "BOT_KIND", + "BOT_OPERATOR", + "BROWSER", + "BROWSER_FAMILY", + "BYTES", + "CA", + "CACHE_HIT", + "CA_OWNER", + "CHECK_RESULT", + "CLIENT_TYPE", + "COMPROMISED", + "CONTENT_TYPE", + "CRAWL_PURPOSE", + "CRAWL_REFER_RATIO", + "DEVICE_TYPE", + "DKIM", + "DMARC", + "DNS", + "DNSSEC", + "DNSSEC_AWARE", + "DNSSEC_E2E", + "DOMAIN_CATEGORY", + "DURATION", + "EDNS", + "ENCRYPTED", + "ENTRY_TYPE", + "EXPIRATION_STATUS", + "HAS_IPS", + "HAS_MATCHING_ANSWER", + "HAS_WILDCARDS", + "HTTP_METHOD", + "HTTP_PROTOCOL", + "HTTP_VERSION", + "INDUSTRY", + "IP_VERSION", + "JITTER", + "KEY_AGREEMENT", + "LATENCY", + "LOCATION", + "LOCATION_LATENCY", + "LOG", + "LOG_API", + "LOG_OPERATOR", + "MALICIOUS", + "MANAGED_RULES", + "MITIGATION_PRODUCT", + "MODEL", + "NAMESERVER_LATENCY", + "ORIGIN", + "ORIGIN_AS", + "ORIGIN_LOCATION", + "ORIGIN_TARGET_LOCATION_PAIR", + "OS", + "PERCENTILE", + "POST_QUANTUM", + "PREFIX", + "PRODUCT", + "PROTOCOL", + "PROVIDER", + "PUBLIC_KEY_ALGORITHM", + "QUERY_TYPE", + "REFERER", + "REGION", + "RESPONSE_CODE", + "RESPONSE_STATUS", + "RESPONSE_STATUS_CATEGORY", + "RESPONSE_TTL", + "SIGNATURE_ALGORITHM", + "SPAM", + "SPF", + "SPOOF", + "SUCCESS_RATE", + "TARGET_LOCATION", + "TASK", + "THREAT_CATEGORY", + "TLD", + "TLD_DNS_MAGNITUDE", + "TLS_VERSION", + "UPDATE_TYPE", + "USER_AGENT", + "VALIDATION_LEVEL", + "VECTOR", + "VERTICAL" + ], + "type": "string" + }, + "type": "array" + }, + "tld": { + "description": "Filters results by top-level domain.", + "type": "string" + } }, - "type": "array" - }, - "tld": { - "description": "Filters results by top-level domain.", - "type": "string" + "type": "object" } }, }, @@ -1519,26 +1537,26 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/annotations`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["dataSource", args["data_source"], true], - ["eventType", args["event_type"], true], - ["outageType", args["outage_type"], true], - ["outageCause", args["outage_cause"], true], - ["tags", args["tags"], true], - ["query", args["query"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["geoId", args["geo_id"], true], - ["origin", args["origin"], true], - ["tld", args["tld"], true], - ["ca", args["ca"], true], - ["log", args["log"], true], - ["bot", args["bot"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["dataSource", param(args, "query", "dataSource"), true], + ["eventType", param(args, "query", "eventType"), true], + ["outageType", param(args, "query", "outageType"), true], + ["outageCause", param(args, "query", "outageCause"), true], + ["tags", param(args, "query", "tags"), true], + ["query", param(args, "query", "query"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["geoId", param(args, "query", "geoId"), true], + ["origin", param(args, "query", "origin"), true], + ["tld", param(args, "query", "tld"), true], + ["ca", param(args, "query", "ca"), true], + ["log", param(args, "query", "log"), true], + ["bot", param(args, "query", "bot"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/as112/tools.ts b/src/generated/forge-mcp/radar/as112/tools.ts index 7e324d4c6..08e83d534 100644 --- a/src/generated/forge-mcp/radar/as112/tools.ts +++ b/src/generated/forge-mcp/radar/as112/tools.ts @@ -1,235 +1,248 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.as112`. */ export const tools: readonly Tool[] = [ { - name: "radar_as112_summary_v2", + name: "radar_as112_summaryV2", title: "Get AS112 summary by dimension", description: "Retrieves the distribution of AS112 queries by the specified dimension.", inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "DNSSEC", + "EDNS", + "IP_VERSION", + "PROTOCOL", + "QUERY_TYPE", + "RESPONSE_CODE" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "DNSSEC", - "EDNS", - "IP_VERSION", - "PROTOCOL", - "QUERY_TYPE", - "RESPONSE_CODE" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "protocol": { - "description": "Filters results by DNS transport protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "HTTPS", - "TLS" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "query_type": { - "description": "Filters results by DNS query type.", - "items": { - "oneOf": [ - { + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "protocol": { + "description": "Filters results by DNS transport protocol.", + "items": { "enum": [ - "A", - "AAAA", - "A6", - "AFSDB", - "ANY", - "APL", - "ATMA", - "AXFR", - "CAA", - "CDNSKEY", - "CDS", - "CERT", - "CNAME", - "CSYNC", - "DHCID", - "DLV", - "DNAME", - "DNSKEY", - "DOA", - "DS", - "EID", - "EUI48", - "EUI64", - "GPOS", - "GID", - "HINFO", - "HIP", + "UDP", + "TCP", "HTTPS", - "IPSECKEY", - "ISDN", - "IXFR", - "KEY", - "KX", - "L32", - "L64", - "LOC", - "LP", - "MAILA", - "MAILB", - "MB", - "MD", - "MF", - "MG", - "MINFO", - "MR", - "MX", - "NAPTR", - "NB", - "NBSTAT", - "NID", - "NIMLOC", - "NINFO", - "NS", - "NSAP", - "NSEC", - "NSEC3", - "NSEC3PARAM", - "NULL", - "NXT", - "OPENPGPKEY", - "OPT", - "PTR", - "PX", - "RKEY", - "RP", - "RRSIG", - "RT", - "SIG", - "SINK", - "SMIMEA", - "SOA", - "SPF", - "SRV", - "SSHFP", - "SVCB", - "TA", - "TALINK", - "TKEY", - "TLSA", - "TSIG", - "TXT", - "UINFO", - "UID", - "UNSPEC", - "URI", - "WKS", - "X25", - "ZONEMD" + "TLS" ], "type": "string" }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "response_code": { - "description": "Filters results by DNS response code.", - "items": { - "enum": [ - "NOERROR", - "FORMERR", - "SERVFAIL", - "NXDOMAIN", - "NOTIMP", - "REFUSED", - "YXDOMAIN", - "YXRRSET", - "NXRRSET", - "NOTAUTH", - "NOTZONE", - "BADSIG", - "BADKEY", - "BADTIME", - "BADMODE", - "BADNAME", - "BADALG", - "BADTRUNC", - "BADCOOKIE" - ], - "type": "string" + "type": "array" + }, + "queryType": { + "description": "Filters results by DNS query type.", + "items": { + "oneOf": [ + { + "enum": [ + "A", + "AAAA", + "A6", + "AFSDB", + "ANY", + "APL", + "ATMA", + "AXFR", + "CAA", + "CDNSKEY", + "CDS", + "CERT", + "CNAME", + "CSYNC", + "DHCID", + "DLV", + "DNAME", + "DNSKEY", + "DOA", + "DS", + "EID", + "EUI48", + "EUI64", + "GPOS", + "GID", + "HINFO", + "HIP", + "HTTPS", + "IPSECKEY", + "ISDN", + "IXFR", + "KEY", + "KX", + "L32", + "L64", + "LOC", + "LP", + "MAILA", + "MAILB", + "MB", + "MD", + "MF", + "MG", + "MINFO", + "MR", + "MX", + "NAPTR", + "NB", + "NBSTAT", + "NID", + "NIMLOC", + "NINFO", + "NS", + "NSAP", + "NSEC", + "NSEC3", + "NSEC3PARAM", + "NULL", + "NXT", + "OPENPGPKEY", + "OPT", + "PTR", + "PX", + "RKEY", + "RP", + "RRSIG", + "RT", + "SIG", + "SINK", + "SMIMEA", + "SOA", + "SPF", + "SRV", + "SSHFP", + "SVCB", + "TA", + "TALINK", + "TKEY", + "TLSA", + "TSIG", + "TXT", + "UINFO", + "UID", + "UNSPEC", + "URI", + "WKS", + "X25", + "ZONEMD" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "responseCode": { + "description": "Filters results by DNS response code.", + "items": { + "enum": [ + "NOERROR", + "FORMERR", + "SERVFAIL", + "NXDOMAIN", + "NOTIMP", + "REFUSED", + "YXDOMAIN", + "YXRRSET", + "NXRRSET", + "NOTAUTH", + "NOTZONE", + "BADSIG", + "BADKEY", + "BADTIME", + "BADMODE", + "BADNAME", + "BADALG", + "BADTRUNC", + "BADCOOKIE" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -662,17 +675,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/as112/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["queryType", args["query_type"], true], - ["protocol", args["protocol"], true], - ["responseCode", args["response_code"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["queryType", param(args, "query", "queryType"), true], + ["protocol", param(args, "query", "protocol"), true], + ["responseCode", param(args, "query", "responseCode"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -683,212 +696,217 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "protocol": { - "description": "Filters results by DNS transport protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "HTTPS", - "TLS" - ], - "type": "string" - }, - "type": "array" - }, - "query_type": { - "description": "Filters results by DNS query type.", - "items": { - "oneOf": [ - { + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "protocol": { + "description": "Filters results by DNS transport protocol.", + "items": { "enum": [ - "A", - "AAAA", - "A6", - "AFSDB", - "ANY", - "APL", - "ATMA", - "AXFR", - "CAA", - "CDNSKEY", - "CDS", - "CERT", - "CNAME", - "CSYNC", - "DHCID", - "DLV", - "DNAME", - "DNSKEY", - "DOA", - "DS", - "EID", - "EUI48", - "EUI64", - "GPOS", - "GID", - "HINFO", - "HIP", + "UDP", + "TCP", "HTTPS", - "IPSECKEY", - "ISDN", - "IXFR", - "KEY", - "KX", - "L32", - "L64", - "LOC", - "LP", - "MAILA", - "MAILB", - "MB", - "MD", - "MF", - "MG", - "MINFO", - "MR", - "MX", - "NAPTR", - "NB", - "NBSTAT", - "NID", - "NIMLOC", - "NINFO", - "NS", - "NSAP", - "NSEC", - "NSEC3", - "NSEC3PARAM", - "NULL", - "NXT", - "OPENPGPKEY", - "OPT", - "PTR", - "PX", - "RKEY", - "RP", - "RRSIG", - "RT", - "SIG", - "SINK", - "SMIMEA", - "SOA", - "SPF", - "SRV", - "SSHFP", - "SVCB", - "TA", - "TALINK", - "TKEY", - "TLSA", - "TSIG", - "TXT", - "UINFO", - "UID", - "UNSPEC", - "URI", - "WKS", - "X25", - "ZONEMD" + "TLS" ], "type": "string" }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "response_code": { - "description": "Filters results by DNS response code.", - "items": { - "enum": [ - "NOERROR", - "FORMERR", - "SERVFAIL", - "NXDOMAIN", - "NOTIMP", - "REFUSED", - "YXDOMAIN", - "YXRRSET", - "NXRRSET", - "NOTAUTH", - "NOTZONE", - "BADSIG", - "BADKEY", - "BADTIME", - "BADMODE", - "BADNAME", - "BADALG", - "BADTRUNC", - "BADCOOKIE" - ], - "type": "string" + "type": "array" + }, + "queryType": { + "description": "Filters results by DNS query type.", + "items": { + "oneOf": [ + { + "enum": [ + "A", + "AAAA", + "A6", + "AFSDB", + "ANY", + "APL", + "ATMA", + "AXFR", + "CAA", + "CDNSKEY", + "CDS", + "CERT", + "CNAME", + "CSYNC", + "DHCID", + "DLV", + "DNAME", + "DNSKEY", + "DOA", + "DS", + "EID", + "EUI48", + "EUI64", + "GPOS", + "GID", + "HINFO", + "HIP", + "HTTPS", + "IPSECKEY", + "ISDN", + "IXFR", + "KEY", + "KX", + "L32", + "L64", + "LOC", + "LP", + "MAILA", + "MAILB", + "MB", + "MD", + "MF", + "MG", + "MINFO", + "MR", + "MX", + "NAPTR", + "NB", + "NBSTAT", + "NID", + "NIMLOC", + "NINFO", + "NS", + "NSAP", + "NSEC", + "NSEC3", + "NSEC3PARAM", + "NULL", + "NXT", + "OPENPGPKEY", + "OPT", + "PTR", + "PX", + "RKEY", + "RP", + "RRSIG", + "RT", + "SIG", + "SINK", + "SMIMEA", + "SOA", + "SPF", + "SRV", + "SSHFP", + "SVCB", + "TA", + "TALINK", + "TKEY", + "TLSA", + "TSIG", + "TXT", + "UINFO", + "UID", + "UNSPEC", + "URI", + "WKS", + "X25", + "ZONEMD" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "responseCode": { + "description": "Filters results by DNS response code.", + "items": { + "enum": [ + "NOERROR", + "FORMERR", + "SERVFAIL", + "NXDOMAIN", + "NOTIMP", + "REFUSED", + "YXDOMAIN", + "YXRRSET", + "NXRRSET", + "NOTAUTH", + "NOTZONE", + "BADSIG", + "BADKEY", + "BADTIME", + "BADMODE", + "BADNAME", + "BADALG", + "BADTRUNC", + "BADCOOKIE" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1374,253 +1392,266 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/as112/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["queryType", args["query_type"], true], - ["protocol", args["protocol"], true], - ["responseCode", args["response_code"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["queryType", param(args, "query", "queryType"), true], + ["protocol", param(args, "query", "protocol"), true], + ["responseCode", param(args, "query", "responseCode"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_as112_timeseries_groups_v2", + name: "radar_as112_timeseriesGroupsV2", title: "Get AS112 time series grouped by dimension", description: "Retrieves the distribution of AS112 queries grouped by dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "DNSSEC", + "EDNS", + "IP_VERSION", + "PROTOCOL", + "QUERY_TYPE", + "RESPONSE_CODE" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "DNSSEC", - "EDNS", - "IP_VERSION", - "PROTOCOL", - "QUERY_TYPE", - "RESPONSE_CODE" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "protocol": { - "description": "Filters results by DNS transport protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "HTTPS", - "TLS" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "query_type": { - "description": "Filters results by DNS query type.", - "items": { - "oneOf": [ - { + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "protocol": { + "description": "Filters results by DNS transport protocol.", + "items": { "enum": [ - "A", - "AAAA", - "A6", - "AFSDB", - "ANY", - "APL", - "ATMA", - "AXFR", - "CAA", - "CDNSKEY", - "CDS", - "CERT", - "CNAME", - "CSYNC", - "DHCID", - "DLV", - "DNAME", - "DNSKEY", - "DOA", - "DS", - "EID", - "EUI48", - "EUI64", - "GPOS", - "GID", - "HINFO", - "HIP", + "UDP", + "TCP", "HTTPS", - "IPSECKEY", - "ISDN", - "IXFR", - "KEY", - "KX", - "L32", - "L64", - "LOC", - "LP", - "MAILA", - "MAILB", - "MB", - "MD", - "MF", - "MG", - "MINFO", - "MR", - "MX", - "NAPTR", - "NB", - "NBSTAT", - "NID", - "NIMLOC", - "NINFO", - "NS", - "NSAP", - "NSEC", - "NSEC3", - "NSEC3PARAM", - "NULL", - "NXT", - "OPENPGPKEY", - "OPT", - "PTR", - "PX", - "RKEY", - "RP", - "RRSIG", - "RT", - "SIG", - "SINK", - "SMIMEA", - "SOA", - "SPF", - "SRV", - "SSHFP", - "SVCB", - "TA", - "TALINK", - "TKEY", - "TLSA", - "TSIG", - "TXT", - "UINFO", - "UID", - "UNSPEC", - "URI", - "WKS", - "X25", - "ZONEMD" + "TLS" ], "type": "string" }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "response_code": { - "description": "Filters results by DNS response code.", - "items": { - "enum": [ - "NOERROR", - "FORMERR", - "SERVFAIL", - "NXDOMAIN", - "NOTIMP", - "REFUSED", - "YXDOMAIN", - "YXRRSET", - "NXRRSET", - "NOTAUTH", - "NOTZONE", - "BADSIG", - "BADKEY", - "BADTIME", - "BADMODE", - "BADNAME", - "BADALG", - "BADTRUNC", - "BADCOOKIE" - ], - "type": "string" + "type": "array" + }, + "queryType": { + "description": "Filters results by DNS query type.", + "items": { + "oneOf": [ + { + "enum": [ + "A", + "AAAA", + "A6", + "AFSDB", + "ANY", + "APL", + "ATMA", + "AXFR", + "CAA", + "CDNSKEY", + "CDS", + "CERT", + "CNAME", + "CSYNC", + "DHCID", + "DLV", + "DNAME", + "DNSKEY", + "DOA", + "DS", + "EID", + "EUI48", + "EUI64", + "GPOS", + "GID", + "HINFO", + "HIP", + "HTTPS", + "IPSECKEY", + "ISDN", + "IXFR", + "KEY", + "KX", + "L32", + "L64", + "LOC", + "LP", + "MAILA", + "MAILB", + "MB", + "MD", + "MF", + "MG", + "MINFO", + "MR", + "MX", + "NAPTR", + "NB", + "NBSTAT", + "NID", + "NIMLOC", + "NINFO", + "NS", + "NSAP", + "NSEC", + "NSEC3", + "NSEC3PARAM", + "NULL", + "NXT", + "OPENPGPKEY", + "OPT", + "PTR", + "PX", + "RKEY", + "RP", + "RRSIG", + "RT", + "SIG", + "SINK", + "SMIMEA", + "SOA", + "SPF", + "SRV", + "SSHFP", + "SVCB", + "TA", + "TALINK", + "TKEY", + "TLSA", + "TSIG", + "TXT", + "UINFO", + "UID", + "UNSPEC", + "URI", + "WKS", + "X25", + "ZONEMD" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "responseCode": { + "description": "Filters results by DNS response code.", + "items": { + "enum": [ + "NOERROR", + "FORMERR", + "SERVFAIL", + "NXDOMAIN", + "NOTIMP", + "REFUSED", + "YXDOMAIN", + "YXRRSET", + "NXRRSET", + "NOTAUTH", + "NOTZONE", + "BADSIG", + "BADKEY", + "BADTIME", + "BADMODE", + "BADNAME", + "BADALG", + "BADTRUNC", + "BADCOOKIE" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -2105,18 +2136,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/as112/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["queryType", args["query_type"], true], - ["protocol", args["protocol"], true], - ["responseCode", args["response_code"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["queryType", param(args, "query", "queryType"), true], + ["protocol", param(args, "query", "protocol"), true], + ["responseCode", param(args, "query", "responseCode"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/as112/top/tools.ts b/src/generated/forge-mcp/radar/as112/top/tools.ts index 6d1878946..388b4d8ad 100644 --- a/src/generated/forge-mcp/radar/as112/top/tools.ts +++ b/src/generated/forge-mcp/radar/as112/top/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.as112.top`. @@ -14,74 +14,87 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dnssec": { + "description": "DNSSEC (DNS Security Extensions) status.", + "enum": [ + "SUPPORTED", + "NOT_SUPPORTED" + ], + "type": "string" + } }, - "type": "array" - }, - "dnssec": { - "description": "DNSSEC (DNS Security Extensions) status.", - "enum": [ - "SUPPORTED", - "NOT_SUPPORTED" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dnssec" ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dnssec" + "path" ], }, outputSchema: { @@ -541,14 +554,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/as112/top/locations/dnssec/${pathParam(args, "dnssec")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -559,74 +572,87 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "edns": { + "description": "EDNS (Extension Mechanisms for DNS) status.", + "enum": [ + "SUPPORTED", + "NOT_SUPPORTED" + ], + "type": "string" + } }, - "type": "array" - }, - "edns": { - "description": "EDNS (Extension Mechanisms for DNS) status.", - "enum": [ - "SUPPORTED", - "NOT_SUPPORTED" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "edns" ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "edns" + "path" ], }, outputSchema: { @@ -1086,92 +1112,105 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/as112/top/locations/edns/${pathParam(args, "edns")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_as112_top_ip_version", + name: "radar_as112_top_ipVersion", title: "Get top locations by AS112 DNS queries for an IP version", description: "Retrieves the top locations of DNS queries to AS112 for an IP version.", inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "ip_version": { + "description": "IP version.", + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "IP version.", - "enum": [ - "IPv4", - "IPv6" + "required": [ + "ip_version" ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "ip_version" + "path" ], }, outputSchema: { @@ -1631,14 +1670,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/as112/top/locations/ip_version/${pathParam(args, "ip_version")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -1649,62 +1688,67 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -2165,14 +2209,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/as112/top/locations`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/attacks/layer3/tools.ts b/src/generated/forge-mcp/radar/attacks/layer3/tools.ts index e9c14e3e4..0baf68a55 100644 --- a/src/generated/forge-mcp/radar/attacks/layer3/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer3/tools.ts @@ -1,124 +1,137 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.attacks.layer3`. */ export const tools: readonly Tool[] = [ { - name: "radar_attacks_layer3_summary_v2", + name: "radar_attacks_layer3_summaryV2", title: "Get layer 3 attacks summary by dimension", description: "Retrieves the distribution of layer 3 attacks by the specified dimension.", inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "PROTOCOL", + "IP_VERSION", + "VECTOR", + "DURATION", + "BITRATE", + "VERTICAL", + "INDUSTRY" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "PROTOCOL", - "IP_VERSION", - "VECTOR", - "DURATION", - "BITRATE", - "VERTICAL", - "INDUSTRY" - ], - "type": "string" - }, - "direction": { - "default": "ORIGIN", - "description": "Specifies whether the `location` filter applies to the source or target location.", - "enum": [ - "ORIGIN", - "TARGET" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "protocol": { - "description": "Filters the results by layer 3/4 protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "ICMP", - "GRE" - ], - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "direction": { + "default": "ORIGIN", + "description": "Specifies whether the `location` filter applies to the source or target location.", + "enum": [ + "ORIGIN", + "TARGET" + ], + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "protocol": { + "description": "Filters the results by layer 3/4 protocol.", + "items": { + "enum": [ + "UDP", + "TCP", + "ICMP", + "GRE" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -551,17 +564,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer3/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["protocol", args["protocol"], true], - ["direction", args["direction"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["protocol", param(args, "query", "protocol"), true], + ["direction", param(args, "query", "direction"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -572,124 +585,129 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "direction": { - "default": "ORIGIN", - "description": "Specifies whether the `location` filter applies to the source or target location.", - "enum": [ - "ORIGIN", - "TARGET" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "metric": { - "default": "bytes", - "description": "Measurement units, eg. bytes.", - "enum": [ - "BYTES", - "BYTES_OLD" - ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "normalization": { - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", - "enum": [ - "PERCENTAGE_CHANGE", - "MIN0_MAX" - ], - "type": "string" - }, - "protocol": { - "description": "Filters the results by layer 3/4 protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "ICMP", - "GRE" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "direction": { + "default": "ORIGIN", + "description": "Specifies whether the `location` filter applies to the source or target location.", + "enum": [ + "ORIGIN", + "TARGET" + ], + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metric": { + "default": "bytes", + "description": "Measurement units, eg. bytes.", + "enum": [ + "BYTES", + "BYTES_OLD" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", + "enum": [ + "PERCENTAGE_CHANGE", + "MIN0_MAX" + ], + "type": "string" + }, + "protocol": { + "description": "Filters the results by layer 3/4 protocol.", + "items": { + "enum": [ + "UDP", + "TCP", + "ICMP", + "GRE" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1175,154 +1193,167 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer3/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["protocol", args["protocol"], true], - ["normalization", args["normalization"], true], - ["metric", args["metric"], true], - ["direction", args["direction"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["protocol", param(args, "query", "protocol"), true], + ["normalization", param(args, "query", "normalization"), true], + ["metric", param(args, "query", "metric"), true], + ["direction", param(args, "query", "direction"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_attacks_layer3_timeseries_groups_v2", + name: "radar_attacks_layer3_timeseriesGroupsV2", title: "Get layer 3 attacks time series grouped by dimension", description: "Retrieves the distribution of layer 3 attacks grouped by dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "PROTOCOL", - "IP_VERSION", - "VECTOR", - "DURATION", - "BITRATE", - "VERTICAL", - "INDUSTRY" - ], - "type": "string" - }, - "direction": { - "default": "ORIGIN", - "description": "Specifies whether the `location` filter applies to the source or target location.", - "enum": [ - "ORIGIN", - "TARGET" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "PROTOCOL", + "IP_VERSION", + "VECTOR", + "DURATION", + "BITRATE", + "VERTICAL", + "INDUSTRY" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", - "enum": [ - "PERCENTAGE", - "MIN0_MAX" + "required": [ + "dimension" ], - "type": "string" + "type": "object" }, - "protocol": { - "description": "Filters the results by layer 3/4 protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "ICMP", - "GRE" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "direction": { + "default": "ORIGIN", + "description": "Specifies whether the `location` filter applies to the source or target location.", + "enum": [ + "ORIGIN", + "TARGET" + ], + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", + "enum": [ + "PERCENTAGE", + "MIN0_MAX" + ], + "type": "string" + }, + "protocol": { + "description": "Filters the results by layer 3/4 protocol.", + "items": { + "enum": [ + "UDP", + "TCP", + "ICMP", + "GRE" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1807,19 +1838,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer3/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["protocol", args["protocol"], true], - ["normalization", args["normalization"], true], - ["direction", args["direction"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["protocol", param(args, "query", "protocol"), true], + ["normalization", param(args, "query", "normalization"), true], + ["direction", param(args, "query", "direction"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts b/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts index c1ff2e29d..177ca1889 100644 --- a/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../../_/tool.js"; +import { type Tool, param } from "../../../../../_/tool.js"; /** * The tools of `radar.attacks.layer3.top.locations`. @@ -14,86 +14,91 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "protocol": { - "description": "Filters the results by layer 3/4 protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "ICMP", - "GRE" - ], - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "protocol": { + "description": "Filters the results by layer 3/4 protocol.", + "items": { + "enum": [ + "UDP", + "TCP", + "ICMP", + "GRE" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -562,16 +567,16 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer3/top/locations/origin`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["protocol", args["protocol"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["protocol", param(args, "query", "protocol"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -582,86 +587,91 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "protocol": { - "description": "Filters the results by layer 3/4 protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "ICMP", - "GRE" - ], - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "protocol": { + "description": "Filters the results by layer 3/4 protocol.", + "items": { + "enum": [ + "UDP", + "TCP", + "ICMP", + "GRE" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1130,16 +1140,16 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer3/top/locations/target`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["protocol", args["protocol"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["protocol", param(args, "query", "protocol"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts b/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts index 6a4867f53..d4254465f 100644 --- a/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** * The tools of `radar.attacks.layer3.top`. @@ -14,117 +14,122 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "limit_direction": { - "default": "ORIGIN", - "description": "Specifies whether the `limitPerLocation` applies to the source or target location.", - "enum": [ - "ORIGIN", - "TARGET" - ], - "type": "string" - }, - "limit_per_location": { - "default": 10, - "description": "Limits the number of attacks per origin/target (refer to `limitDirection` parameter) location.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "magnitude": { - "description": "Orders results based on attack magnitude, defined by total mitigated bytes or total mitigated attacks.", - "enum": [ - "MITIGATED_BYTES", - "MITIGATED_ATTACKS" - ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", - "enum": [ - "PERCENTAGE", - "MIN_MAX" - ], - "type": "string" - }, - "protocol": { - "description": "Filters the results by layer 3/4 protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "ICMP", - "GRE" - ], - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "limitDirection": { + "default": "ORIGIN", + "description": "Specifies whether the `limitPerLocation` applies to the source or target location.", + "enum": [ + "ORIGIN", + "TARGET" + ], + "type": "string" + }, + "limitPerLocation": { + "default": 10, + "description": "Limits the number of attacks per origin/target (refer to `limitDirection` parameter) location.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "magnitude": { + "description": "Orders results based on attack magnitude, defined by total mitigated bytes or total mitigated attacks.", + "enum": [ + "MITIGATED_BYTES", + "MITIGATED_ATTACKS" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", + "enum": [ + "PERCENTAGE", + "MIN_MAX" + ], + "type": "string" + }, + "protocol": { + "description": "Filters the results by layer 3/4 protocol.", + "items": { + "enum": [ + "UDP", + "TCP", + "ICMP", + "GRE" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -585,20 +590,20 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer3/top/attacks`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["protocol", args["protocol"], true], - ["limitDirection", args["limit_direction"], true], - ["limitPerLocation", args["limit_per_location"], true], - ["magnitude", args["magnitude"], true], - ["normalization", args["normalization"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["protocol", param(args, "query", "protocol"), true], + ["limitDirection", param(args, "query", "limitDirection"), true], + ["limitPerLocation", param(args, "query", "limitPerLocation"), true], + ["magnitude", param(args, "query", "magnitude"), true], + ["normalization", param(args, "query", "normalization"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/attacks/layer7/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/tools.ts index 7896a7a62..fef944c3d 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/tools.ts @@ -1,192 +1,205 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.attacks.layer7`. */ export const tools: readonly Tool[] = [ { - name: "radar_attacks_layer7_summary_v2", + name: "radar_attacks_layer7_summaryV2", title: "Get layer 7 attacks summary by dimension", description: "Retrieves the distribution of layer 7 attacks by the specified dimension.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "HTTP_METHOD", + "HTTP_VERSION", + "IP_VERSION", + "MANAGED_RULES", + "MITIGATION_PRODUCT", + "VERTICAL", + "INDUSTRY" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "HTTP_METHOD", - "HTTP_VERSION", - "IP_VERSION", - "MANAGED_RULES", - "MITIGATION_PRODUCT", - "VERTICAL", - "INDUSTRY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "http_method": { - "description": "Filters results by HTTP method.", - "items": { - "enum": [ - "GET", - "POST", - "DELETE", - "PUT", - "HEAD", - "PURGE", - "OPTIONS", - "PROPFIND", - "MKCOL", - "PATCH", - "ACL", - "BCOPY", - "BDELETE", - "BMOVE", - "BPROPFIND", - "BPROPPATCH", - "CHECKIN", - "CHECKOUT", - "CONNECT", - "COPY", - "LABEL", - "LOCK", - "MERGE", - "MKACTIVITY", - "MKWORKSPACE", - "MOVE", - "NOTIFY", - "ORDERPATCH", - "POLL", - "PROPPATCH", - "REPORT", - "SEARCH", - "SUBSCRIBE", - "TRACE", - "UNCHECKOUT", - "UNLOCK", - "UNSUBSCRIBE", - "UPDATE", - "VERSIONCONTROL", - "BASELINECONTROL", - "XMSENUMATTS", - "RPC_OUT_DATA", - "RPC_IN_DATA", - "JSON", - "COOK", - "TRACK" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mitigation_product": { - "description": "Filters the results by layer 7 mitigation product.", - "items": { - "enum": [ - "DDOS", - "WAF", - "BOT_MANAGEMENT", - "ACCESS_RULES", - "IP_REPUTATION", - "API_SHIELD", - "DATA_LOSS_PREVENTION" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "httpMethod": { + "description": "Filters results by HTTP method.", + "items": { + "enum": [ + "GET", + "POST", + "DELETE", + "PUT", + "HEAD", + "PURGE", + "OPTIONS", + "PROPFIND", + "MKCOL", + "PATCH", + "ACL", + "BCOPY", + "BDELETE", + "BMOVE", + "BPROPFIND", + "BPROPPATCH", + "CHECKIN", + "CHECKOUT", + "CONNECT", + "COPY", + "LABEL", + "LOCK", + "MERGE", + "MKACTIVITY", + "MKWORKSPACE", + "MOVE", + "NOTIFY", + "ORDERPATCH", + "POLL", + "PROPPATCH", + "REPORT", + "SEARCH", + "SUBSCRIBE", + "TRACE", + "UNCHECKOUT", + "UNLOCK", + "UNSUBSCRIBE", + "UPDATE", + "VERSIONCONTROL", + "BASELINECONTROL", + "XMSENUMATTS", + "RPC_OUT_DATA", + "RPC_IN_DATA", + "JSON", + "COOK", + "TRACK" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mitigationProduct": { + "description": "Filters the results by layer 7 mitigation product.", + "items": { + "enum": [ + "DDOS", + "WAF", + "BOT_MANAGEMENT", + "ACCESS_RULES", + "IP_REPUTATION", + "API_SHIELD", + "DATA_LOSS_PREVENTION" + ], + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -619,19 +632,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer7/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["httpVersion", args["http_version"], true], - ["httpMethod", args["http_method"], true], - ["mitigationProduct", args["mitigation_product"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["httpMethod", param(args, "query", "httpMethod"), true], + ["mitigationProduct", param(args, "query", "mitigationProduct"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -642,176 +655,181 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "http_method": { - "description": "Filters results by HTTP method.", - "items": { - "enum": [ - "GET", - "POST", - "DELETE", - "PUT", - "HEAD", - "PURGE", - "OPTIONS", - "PROPFIND", - "MKCOL", - "PATCH", - "ACL", - "BCOPY", - "BDELETE", - "BMOVE", - "BPROPFIND", - "BPROPPATCH", - "CHECKIN", - "CHECKOUT", - "CONNECT", - "COPY", - "LABEL", - "LOCK", - "MERGE", - "MKACTIVITY", - "MKWORKSPACE", - "MOVE", - "NOTIFY", - "ORDERPATCH", - "POLL", - "PROPPATCH", - "REPORT", - "SEARCH", - "SUBSCRIBE", - "TRACE", - "UNCHECKOUT", - "UNLOCK", - "UNSUBSCRIBE", - "UPDATE", - "VERSIONCONTROL", - "BASELINECONTROL", - "XMSENUMATTS", - "RPC_OUT_DATA", - "RPC_IN_DATA", - "JSON", - "COOK", - "TRACK" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mitigation_product": { - "description": "Filters the results by layer 7 mitigation product.", - "items": { - "enum": [ - "DDOS", - "WAF", - "BOT_MANAGEMENT", - "ACCESS_RULES", - "IP_REPUTATION", - "API_SHIELD", - "DATA_LOSS_PREVENTION" - ], - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "httpMethod": { + "description": "Filters results by HTTP method.", + "items": { + "enum": [ + "GET", + "POST", + "DELETE", + "PUT", + "HEAD", + "PURGE", + "OPTIONS", + "PROPFIND", + "MKCOL", + "PATCH", + "ACL", + "BCOPY", + "BDELETE", + "BMOVE", + "BPROPFIND", + "BPROPPATCH", + "CHECKIN", + "CHECKOUT", + "CONNECT", + "COPY", + "LABEL", + "LOCK", + "MERGE", + "MKACTIVITY", + "MKWORKSPACE", + "MOVE", + "NOTIFY", + "ORDERPATCH", + "POLL", + "PROPPATCH", + "REPORT", + "SEARCH", + "SUBSCRIBE", + "TRACE", + "UNCHECKOUT", + "UNLOCK", + "UNSUBSCRIBE", + "UPDATE", + "VERSIONCONTROL", + "BASELINECONTROL", + "XMSENUMATTS", + "RPC_OUT_DATA", + "RPC_IN_DATA", + "JSON", + "COOK", + "TRACK" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mitigationProduct": { + "description": "Filters the results by layer 7 mitigation product.", + "items": { + "enum": [ + "DDOS", + "WAF", + "BOT_MANAGEMENT", + "ACCESS_RULES", + "IP_REPUTATION", + "API_SHIELD", + "DATA_LOSS_PREVENTION" + ], + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", + "enum": [ + "PERCENTAGE_CHANGE", + "MIN0_MAX" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", - "enum": [ - "PERCENTAGE_CHANGE", - "MIN0_MAX" - ], - "type": "string" + "type": "object" } }, }, @@ -1299,222 +1317,235 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer7/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["normalization", args["normalization"], true], - ["ipVersion", args["ip_version"], true], - ["httpVersion", args["http_version"], true], - ["httpMethod", args["http_method"], true], - ["mitigationProduct", args["mitigation_product"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["normalization", param(args, "query", "normalization"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["httpMethod", param(args, "query", "httpMethod"), true], + ["mitigationProduct", param(args, "query", "mitigationProduct"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_attacks_layer7_timeseries_groups_v2", + name: "radar_attacks_layer7_timeseriesGroupsV2", title: "Get layer 7 attacks time series grouped by dimension", description: "Retrieves the distribution of layer 7 attacks grouped by dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "HTTP_METHOD", + "HTTP_VERSION", + "IP_VERSION", + "MANAGED_RULES", + "MITIGATION_PRODUCT", + "VERTICAL", + "INDUSTRY" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "HTTP_METHOD", - "HTTP_VERSION", - "IP_VERSION", - "MANAGED_RULES", - "MITIGATION_PRODUCT", - "VERTICAL", - "INDUSTRY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "http_method": { - "description": "Filters results by HTTP method.", - "items": { - "enum": [ - "GET", - "POST", - "DELETE", - "PUT", - "HEAD", - "PURGE", - "OPTIONS", - "PROPFIND", - "MKCOL", - "PATCH", - "ACL", - "BCOPY", - "BDELETE", - "BMOVE", - "BPROPFIND", - "BPROPPATCH", - "CHECKIN", - "CHECKOUT", - "CONNECT", - "COPY", - "LABEL", - "LOCK", - "MERGE", - "MKACTIVITY", - "MKWORKSPACE", - "MOVE", - "NOTIFY", - "ORDERPATCH", - "POLL", - "PROPPATCH", - "REPORT", - "SEARCH", - "SUBSCRIBE", - "TRACE", - "UNCHECKOUT", - "UNLOCK", - "UNSUBSCRIBE", - "UPDATE", - "VERSIONCONTROL", - "BASELINECONTROL", - "XMSENUMATTS", - "RPC_OUT_DATA", - "RPC_IN_DATA", - "JSON", - "COOK", - "TRACK" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mitigation_product": { - "description": "Filters the results by layer 7 mitigation product.", - "items": { - "enum": [ - "DDOS", - "WAF", - "BOT_MANAGEMENT", - "ACCESS_RULES", - "IP_REPUTATION", - "API_SHIELD", - "DATA_LOSS_PREVENTION" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "httpMethod": { + "description": "Filters results by HTTP method.", + "items": { + "enum": [ + "GET", + "POST", + "DELETE", + "PUT", + "HEAD", + "PURGE", + "OPTIONS", + "PROPFIND", + "MKCOL", + "PATCH", + "ACL", + "BCOPY", + "BDELETE", + "BMOVE", + "BPROPFIND", + "BPROPPATCH", + "CHECKIN", + "CHECKOUT", + "CONNECT", + "COPY", + "LABEL", + "LOCK", + "MERGE", + "MKACTIVITY", + "MKWORKSPACE", + "MOVE", + "NOTIFY", + "ORDERPATCH", + "POLL", + "PROPPATCH", + "REPORT", + "SEARCH", + "SUBSCRIBE", + "TRACE", + "UNCHECKOUT", + "UNLOCK", + "UNSUBSCRIBE", + "UPDATE", + "VERSIONCONTROL", + "BASELINECONTROL", + "XMSENUMATTS", + "RPC_OUT_DATA", + "RPC_IN_DATA", + "JSON", + "COOK", + "TRACK" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mitigationProduct": { + "description": "Filters the results by layer 7 mitigation product.", + "items": { + "enum": [ + "DDOS", + "WAF", + "BOT_MANAGEMENT", + "ACCESS_RULES", + "IP_REPUTATION", + "API_SHIELD", + "DATA_LOSS_PREVENTION" + ], + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", + "enum": [ + "PERCENTAGE", + "MIN0_MAX" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", - "enum": [ - "PERCENTAGE", - "MIN0_MAX" - ], - "type": "string" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1999,21 +2030,21 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer7/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["httpVersion", args["http_version"], true], - ["httpMethod", args["http_method"], true], - ["mitigationProduct", args["mitigation_product"], true], - ["normalization", args["normalization"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["httpMethod", param(args, "query", "httpMethod"), true], + ["mitigationProduct", param(args, "query", "mitigationProduct"), true], + ["normalization", param(args, "query", "normalization"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts index 62b342980..69e639c70 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../../_/tool.js"; +import { type Tool, param } from "../../../../../_/tool.js"; /** * The tools of `radar.attacks.layer7.top.ases`. @@ -14,156 +14,161 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "http_method": { - "description": "Filters results by HTTP method.", - "items": { - "enum": [ - "GET", - "POST", - "DELETE", - "PUT", - "HEAD", - "PURGE", - "OPTIONS", - "PROPFIND", - "MKCOL", - "PATCH", - "ACL", - "BCOPY", - "BDELETE", - "BMOVE", - "BPROPFIND", - "BPROPPATCH", - "CHECKIN", - "CHECKOUT", - "CONNECT", - "COPY", - "LABEL", - "LOCK", - "MERGE", - "MKACTIVITY", - "MKWORKSPACE", - "MOVE", - "NOTIFY", - "ORDERPATCH", - "POLL", - "PROPPATCH", - "REPORT", - "SEARCH", - "SUBSCRIBE", - "TRACE", - "UNCHECKOUT", - "UNLOCK", - "UNSUBSCRIBE", - "UPDATE", - "VERSIONCONTROL", - "BASELINECONTROL", - "XMSENUMATTS", - "RPC_OUT_DATA", - "RPC_IN_DATA", - "JSON", - "COOK", - "TRACK" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mitigation_product": { - "description": "Filters the results by layer 7 mitigation product.", - "items": { - "enum": [ - "DDOS", - "WAF", - "BOT_MANAGEMENT", - "ACCESS_RULES", - "IP_REPUTATION", - "API_SHIELD", - "DATA_LOSS_PREVENTION" - ], - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "httpMethod": { + "description": "Filters results by HTTP method.", + "items": { + "enum": [ + "GET", + "POST", + "DELETE", + "PUT", + "HEAD", + "PURGE", + "OPTIONS", + "PROPFIND", + "MKCOL", + "PATCH", + "ACL", + "BCOPY", + "BDELETE", + "BMOVE", + "BPROPFIND", + "BPROPPATCH", + "CHECKIN", + "CHECKOUT", + "CONNECT", + "COPY", + "LABEL", + "LOCK", + "MERGE", + "MKACTIVITY", + "MKWORKSPACE", + "MOVE", + "NOTIFY", + "ORDERPATCH", + "POLL", + "PROPPATCH", + "REPORT", + "SEARCH", + "SUBSCRIBE", + "TRACE", + "UNCHECKOUT", + "UNLOCK", + "UNSUBSCRIBE", + "UPDATE", + "VERSIONCONTROL", + "BASELINECONTROL", + "XMSENUMATTS", + "RPC_OUT_DATA", + "RPC_IN_DATA", + "JSON", + "COOK", + "TRACK" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mitigationProduct": { + "description": "Filters the results by layer 7 mitigation product.", + "items": { + "enum": [ + "DDOS", + "WAF", + "BOT_MANAGEMENT", + "ACCESS_RULES", + "IP_REPUTATION", + "API_SHIELD", + "DATA_LOSS_PREVENTION" + ], + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -632,18 +637,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer7/top/ases/origin`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["httpVersion", args["http_version"], true], - ["httpMethod", args["http_method"], true], - ["mitigationProduct", args["mitigation_product"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["httpMethod", param(args, "query", "httpMethod"), true], + ["mitigationProduct", param(args, "query", "mitigationProduct"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts index 465394dc2..af7b85d86 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../../_/tool.js"; +import { type Tool, param } from "../../../../../_/tool.js"; /** * The tools of `radar.attacks.layer7.top.locations`. @@ -14,156 +14,161 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "http_method": { - "description": "Filters results by HTTP method.", - "items": { - "enum": [ - "GET", - "POST", - "DELETE", - "PUT", - "HEAD", - "PURGE", - "OPTIONS", - "PROPFIND", - "MKCOL", - "PATCH", - "ACL", - "BCOPY", - "BDELETE", - "BMOVE", - "BPROPFIND", - "BPROPPATCH", - "CHECKIN", - "CHECKOUT", - "CONNECT", - "COPY", - "LABEL", - "LOCK", - "MERGE", - "MKACTIVITY", - "MKWORKSPACE", - "MOVE", - "NOTIFY", - "ORDERPATCH", - "POLL", - "PROPPATCH", - "REPORT", - "SEARCH", - "SUBSCRIBE", - "TRACE", - "UNCHECKOUT", - "UNLOCK", - "UNSUBSCRIBE", - "UPDATE", - "VERSIONCONTROL", - "BASELINECONTROL", - "XMSENUMATTS", - "RPC_OUT_DATA", - "RPC_IN_DATA", - "JSON", - "COOK", - "TRACK" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "mitigation_product": { - "description": "Filters the results by layer 7 mitigation product.", - "items": { - "enum": [ - "DDOS", - "WAF", - "BOT_MANAGEMENT", - "ACCESS_RULES", - "IP_REPUTATION", - "API_SHIELD", - "DATA_LOSS_PREVENTION" - ], - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "httpMethod": { + "description": "Filters results by HTTP method.", + "items": { + "enum": [ + "GET", + "POST", + "DELETE", + "PUT", + "HEAD", + "PURGE", + "OPTIONS", + "PROPFIND", + "MKCOL", + "PATCH", + "ACL", + "BCOPY", + "BDELETE", + "BMOVE", + "BPROPFIND", + "BPROPPATCH", + "CHECKIN", + "CHECKOUT", + "CONNECT", + "COPY", + "LABEL", + "LOCK", + "MERGE", + "MKACTIVITY", + "MKWORKSPACE", + "MOVE", + "NOTIFY", + "ORDERPATCH", + "POLL", + "PROPPATCH", + "REPORT", + "SEARCH", + "SUBSCRIBE", + "TRACE", + "UNCHECKOUT", + "UNLOCK", + "UNSUBSCRIBE", + "UPDATE", + "VERSIONCONTROL", + "BASELINECONTROL", + "XMSENUMATTS", + "RPC_OUT_DATA", + "RPC_IN_DATA", + "JSON", + "COOK", + "TRACK" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "mitigationProduct": { + "description": "Filters the results by layer 7 mitigation product.", + "items": { + "enum": [ + "DDOS", + "WAF", + "BOT_MANAGEMENT", + "ACCESS_RULES", + "IP_REPUTATION", + "API_SHIELD", + "DATA_LOSS_PREVENTION" + ], + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -632,18 +637,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer7/top/locations/origin`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["continent", args["continent"], true], - ["ipVersion", args["ip_version"], true], - ["httpVersion", args["http_version"], true], - ["httpMethod", args["http_method"], true], - ["mitigationProduct", args["mitigation_product"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["continent", param(args, "query", "continent"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["httpMethod", param(args, "query", "httpMethod"), true], + ["mitigationProduct", param(args, "query", "mitigationProduct"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -654,71 +659,76 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "mitigation_product": { - "description": "Filters the results by layer 7 mitigation product.", - "items": { - "enum": [ - "DDOS", - "WAF", - "BOT_MANAGEMENT", - "ACCESS_RULES", - "IP_REPUTATION", - "API_SHIELD", - "DATA_LOSS_PREVENTION" - ], - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "mitigationProduct": { + "description": "Filters the results by layer 7 mitigation product.", + "items": { + "enum": [ + "DDOS", + "WAF", + "BOT_MANAGEMENT", + "ACCESS_RULES", + "IP_REPUTATION", + "API_SHIELD", + "DATA_LOSS_PREVENTION" + ], + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1187,14 +1197,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer7/top/locations/target`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["continent", args["continent"], true], - ["mitigationProduct", args["mitigation_product"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["continent", param(args, "query", "continent"), true], + ["mitigationProduct", param(args, "query", "mitigationProduct"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts index d1226df75..ab41bcca1 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** * The tools of `radar.attacks.layer7.top`. @@ -14,108 +14,113 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "limit_direction": { - "default": "ORIGIN", - "description": "Specifies whether the `limitPerLocation` applies to the source or target location.", - "enum": [ - "ORIGIN", - "TARGET" - ], - "type": "string" - }, - "limit_per_location": { - "default": 10, - "description": "Limits the number of attacks per origin/target (refer to `limitDirection` parameter) location.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "mitigation_product": { - "description": "Filters the results by layer 7 mitigation product.", - "items": { - "enum": [ - "DDOS", - "WAF", - "BOT_MANAGEMENT", - "ACCESS_RULES", - "IP_REPUTATION", - "API_SHIELD", - "DATA_LOSS_PREVENTION" - ], - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "limitDirection": { + "default": "ORIGIN", + "description": "Specifies whether the `limitPerLocation` applies to the source or target location.", + "enum": [ + "ORIGIN", + "TARGET" + ], + "type": "string" + }, + "limitPerLocation": { + "default": 10, + "description": "Limits the number of attacks per origin/target (refer to `limitDirection` parameter) location.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "mitigationProduct": { + "description": "Filters the results by layer 7 mitigation product.", + "items": { + "enum": [ + "DDOS", + "WAF", + "BOT_MANAGEMENT", + "ACCESS_RULES", + "IP_REPUTATION", + "API_SHIELD", + "DATA_LOSS_PREVENTION" + ], + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", + "enum": [ + "PERCENTAGE", + "MIN_MAX" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", - "enum": [ - "PERCENTAGE", - "MIN_MAX" - ], - "type": "string" + "type": "object" } }, }, @@ -592,19 +597,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/attacks/layer7/top/attacks`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["mitigationProduct", args["mitigation_product"], true], - ["limitDirection", args["limit_direction"], true], - ["limitPerLocation", args["limit_per_location"], true], - ["normalization", args["normalization"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["mitigationProduct", param(args, "query", "mitigationProduct"), true], + ["limitDirection", param(args, "query", "limitDirection"), true], + ["limitPerLocation", param(args, "query", "limitPerLocation"), true], + ["normalization", param(args, "query", "normalization"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts b/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts index 0ff055b2d..7939535df 100644 --- a/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** * The tools of `radar.bgp.hijacks.events`. @@ -14,85 +14,90 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_range": { - "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "event_id": { - "description": "The unique identifier of a event.", - "type": "integer" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "hijacker_asn": { - "description": "The potential hijacker AS of a BGP hijack event.", - "type": "integer" - }, - "involved_asn": { - "description": "The potential hijacker or victim AS of a BGP hijack event.", - "type": "integer" - }, - "involved_country": { - "description": "The country code of the potential hijacker or victim AS of a BGP hijack event.", - "type": "string" - }, - "max_confidence": { - "description": "Filters events by maximum confidence score (1-4 low, 5-7 mid, 8+ high).", - "type": "integer" - }, - "min_confidence": { - "description": "Filters events by minimum confidence score (1-4 low, 5-7 mid, 8+ high).", - "type": "integer" - }, - "page": { - "default": 1, - "description": "Current page number, starting from 1.", - "type": "integer" - }, - "per_page": { - "default": 50, - "description": "Number of entries per page.", - "type": "integer" - }, - "prefix": { - "type": "string" - }, - "sort_by": { - "description": "Sorts results by the specified field.", - "enum": [ - "ID", - "TIME", - "CONFIDENCE" - ], - "type": "string" - }, - "sort_order": { - "description": "Sort order.", - "enum": [ - "ASC", - "DESC" - ], - "type": "string" - }, - "victim_asn": { - "description": "The potential victim AS of a BGP hijack event.", - "type": "integer" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateRange": { + "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "eventId": { + "description": "The unique identifier of a event.", + "type": "integer" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "hijackerAsn": { + "description": "The potential hijacker AS of a BGP hijack event.", + "type": "integer" + }, + "involvedAsn": { + "description": "The potential hijacker or victim AS of a BGP hijack event.", + "type": "integer" + }, + "involvedCountry": { + "description": "The country code of the potential hijacker or victim AS of a BGP hijack event.", + "type": "string" + }, + "maxConfidence": { + "description": "Filters events by maximum confidence score (1-4 low, 5-7 mid, 8+ high).", + "type": "integer" + }, + "minConfidence": { + "description": "Filters events by minimum confidence score (1-4 low, 5-7 mid, 8+ high).", + "type": "integer" + }, + "page": { + "default": 1, + "description": "Current page number, starting from 1.", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of entries per page.", + "type": "integer" + }, + "prefix": { + "type": "string" + }, + "sortBy": { + "description": "Sorts results by the specified field.", + "enum": [ + "ID", + "TIME", + "CONFIDENCE" + ], + "type": "string" + }, + "sortOrder": { + "description": "Sort order.", + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + }, + "victimAsn": { + "description": "The potential victim AS of a BGP hijack event.", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -514,22 +519,22 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/hijacks/events`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["eventId", args["event_id"], true], - ["hijackerAsn", args["hijacker_asn"], true], - ["victimAsn", args["victim_asn"], true], - ["involvedAsn", args["involved_asn"], true], - ["involvedCountry", args["involved_country"], true], - ["prefix", args["prefix"], true], - ["minConfidence", args["min_confidence"], true], - ["maxConfidence", args["max_confidence"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["sortBy", args["sort_by"], true], - ["sortOrder", args["sort_order"], true], - ["format", args["format"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["eventId", param(args, "query", "eventId"), true], + ["hijackerAsn", param(args, "query", "hijackerAsn"), true], + ["victimAsn", param(args, "query", "victimAsn"), true], + ["involvedAsn", param(args, "query", "involvedAsn"), true], + ["involvedCountry", param(args, "query", "involvedCountry"), true], + ["prefix", param(args, "query", "prefix"), true], + ["minConfidence", param(args, "query", "minConfidence"), true], + ["maxConfidence", param(args, "query", "maxConfidence"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["sortBy", param(args, "query", "sortBy"), true], + ["sortOrder", param(args, "query", "sortOrder"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/ips/tools.ts b/src/generated/forge-mcp/radar/bgp/ips/tools.ts index 5ba77e6dc..ed6f780fe 100644 --- a/src/generated/forge-mcp/radar/bgp/ips/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/ips/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.bgp.ips`. @@ -14,72 +14,77 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "include_delay": { - "description": "Includes data delay meta information.", - "type": "boolean" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "includeDelay": { + "description": "Includes data delay meta information.", + "type": "boolean" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -763,15 +768,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/ips/timeseries`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["ipVersion", args["ip_version"], true], - ["includeDelay", args["include_delay"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["includeDelay", param(args, "query", "includeDelay"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts b/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts index 4d4664cb4..2a1196e82 100644 --- a/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** * The tools of `radar.bgp.ips.top`. @@ -14,35 +14,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "country": { - "description": "Optional ISO 3166-1 alpha-2 country filter. Omit for global top-N.", - "type": "string" - }, - "date": { - "description": "Filters results by the specified datetime (ISO 8601).", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "metric": { - "description": "Ranking metric: IPv4 /24 count or IPv6 /48 count.", - "enum": [ - "v4_24s", - "v6_48s" - ], - "type": "string" + "query": { + "properties": { + "country": { + "description": "Optional ISO 3166-1 alpha-2 country filter. Omit for global top-N.", + "type": "string" + }, + "date": { + "description": "Filters results by the specified datetime (ISO 8601).", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "metric": { + "description": "Ranking metric: IPv4 /24 count or IPv6 /48 count.", + "enum": [ + "v4_24s", + "v6_48s" + ], + "type": "string" + } + }, + "type": "object" } }, }, @@ -228,11 +233,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/ips/top/ases`, query: [ - ["date", args["date"], true], - ["limit", args["limit"], true], - ["metric", args["metric"], true], - ["country", args["country"], true], - ["format", args["format"], true], + ["date", param(args, "query", "date"), true], + ["limit", param(args, "query", "limit"), true], + ["metric", param(args, "query", "metric"), true], + ["country", param(args, "query", "country"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts b/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts index 1667bfc4d..426275d27 100644 --- a/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** * The tools of `radar.bgp.leaks.events`. @@ -14,73 +14,78 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_range": { - "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "event_id": { - "description": "The unique identifier of a event.", - "type": "integer" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "involved_asn": { - "description": "ASN that is causing or affected by a route leak event.", - "type": "integer" - }, - "involved_country": { - "description": "Country code of a involved ASN in a route leak event.", - "type": "string" - }, - "leak_asn": { - "description": "The leaking AS of a route leak event.", - "type": "integer" - }, - "page": { - "default": 1, - "description": "Current page number, starting from 1.", - "type": "integer" - }, - "per_page": { - "default": 50, - "description": "Number of entries per page.", - "type": "integer" - }, - "sort_by": { - "description": "Sorts results by the specified field.", - "enum": [ - "ID", - "LEAKS", - "PEERS", - "PREFIXES", - "ORIGINS", - "TIME" - ], - "type": "string" - }, - "sort_order": { - "description": "Sort order.", - "enum": [ - "ASC", - "DESC" - ], - "type": "string" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateRange": { + "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "eventId": { + "description": "The unique identifier of a event.", + "type": "integer" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "involvedAsn": { + "description": "ASN that is causing or affected by a route leak event.", + "type": "integer" + }, + "involvedCountry": { + "description": "Country code of a involved ASN in a route leak event.", + "type": "string" + }, + "leakAsn": { + "description": "The leaking AS of a route leak event.", + "type": "integer" + }, + "page": { + "default": 1, + "description": "Current page number, starting from 1.", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of entries per page.", + "type": "integer" + }, + "sortBy": { + "description": "Sorts results by the specified field.", + "enum": [ + "ID", + "LEAKS", + "PEERS", + "PREFIXES", + "ORIGINS", + "TIME" + ], + "type": "string" + }, + "sortOrder": { + "description": "Sort order.", + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + } + }, + "type": "object" } }, }, @@ -412,18 +417,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/leaks/events`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["eventId", args["event_id"], true], - ["leakAsn", args["leak_asn"], true], - ["involvedAsn", args["involved_asn"], true], - ["involvedCountry", args["involved_country"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["sortBy", args["sort_by"], true], - ["sortOrder", args["sort_order"], true], - ["format", args["format"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["eventId", param(args, "query", "eventId"), true], + ["leakAsn", param(args, "query", "leakAsn"), true], + ["involvedAsn", param(args, "query", "involvedAsn"), true], + ["involvedCountry", param(args, "query", "involvedCountry"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["sortBy", param(args, "query", "sortBy"), true], + ["sortOrder", param(args, "query", "sortOrder"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts b/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts index a437e0cbb..5926afbe8 100644 --- a/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** * The tools of `radar.bgp.routes.paths`. @@ -14,34 +14,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Single Autonomous System Number (ASN) as integer.", - "type": "integer" - }, - "collector": { - "description": "Scope to a single RouteViews collector (e.g. \"route-views3\"). Omit to merge across all active collectors (identical path segments are deduplicated, observation counts summed, and every contributing collector listed).", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "asn": { + "description": "Single Autonomous System Number (ASN) as integer.", + "type": "integer" + } + }, + "required": [ + "asn" ], - "type": "string" + "type": "object" }, - "ip_version": { - "default": "IPv4", - "description": "Address family of the observed paths. Defaults to IPv4.", - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" + "query": { + "properties": { + "collector": { + "description": "Scope to a single RouteViews collector (e.g. \"route-views3\"). Omit to merge across all active collectors (identical path segments are deduplicated, observation counts summed, and every contributing collector listed).", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "default": "IPv4", + "description": "Address family of the observed paths. Defaults to IPv4.", + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "asn" + "path" ], }, outputSchema: { @@ -402,9 +415,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/routes/paths/${pathParam(args, "asn")}`, query: [ - ["ipVersion", args["ip_version"], true], - ["collector", args["collector"], true], - ["format", args["format"], true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["collector", param(args, "query", "collector"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/routes/tools.ts b/src/generated/forge-mcp/radar/bgp/routes/tools.ts index 3e9eaca52..3f1f44534 100644 --- a/src/generated/forge-mcp/radar/bgp/routes/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/routes/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.bgp.routes`. @@ -14,43 +14,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify an alpha-2 location code.", - "type": "string" - }, - "sort_by": { - "description": "Sorts results by the specified field.", - "enum": [ - "cone", - "pfxs", - "ipv4", - "ipv6", - "rpki_valid", - "rpki_invalid", - "rpki_unknown" - ], - "type": "string" - }, - "sort_order": { - "description": "Sort order.", - "enum": [ - "ASC", - "DESC" - ], - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify an alpha-2 location code.", + "type": "string" + }, + "sortBy": { + "description": "Sorts results by the specified field.", + "enum": [ + "cone", + "pfxs", + "ipv4", + "ipv6", + "rpki_valid", + "rpki_invalid", + "rpki_unknown" + ], + "type": "string" + }, + "sortOrder": { + "description": "Sort order.", + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + } + }, + "type": "object" } }, }, @@ -292,11 +297,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/routes/ases`, query: [ - ["location", args["location"], true], - ["limit", args["limit"], true], - ["sortBy", args["sort_by"], true], - ["sortOrder", args["sort_order"], true], - ["format", args["format"], true], + ["location", param(args, "query", "location"), true], + ["limit", param(args, "query", "limit"), true], + ["sortBy", param(args, "query", "sortBy"), true], + ["sortOrder", param(args, "query", "sortOrder"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -307,24 +312,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "invalid_only": { - "description": "Lookup only RPKI invalid MOASes.", - "type": "boolean" - }, - "origin": { - "description": "Lookup MOASes originated by the given ASN.", - "type": "integer" - }, - "prefix": { - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "invalid_only": { + "description": "Lookup only RPKI invalid MOASes.", + "type": "boolean" + }, + "origin": { + "description": "Lookup MOASes originated by the given ASN.", + "type": "integer" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" } }, }, @@ -540,10 +550,10 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/routes/moas`, query: [ - ["origin", args["origin"], true], - ["prefix", args["prefix"], true], - ["invalid_only", args["invalid_only"], true], - ["format", args["format"], true], + ["origin", param(args, "query", "origin"), true], + ["prefix", param(args, "query", "prefix"), true], + ["invalid_only", param(args, "query", "invalid_only"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -554,33 +564,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "longest_prefix_match": { - "description": "Return only results with the longest prefix match for the given prefix. For example, specify a /32 prefix to lookup the origin ASN for an IPv4 address.", - "type": "boolean" - }, - "origin": { - "description": "Lookup prefixes originated by the given ASN.", - "type": "integer" - }, - "prefix": { - "type": "string" - }, - "rpki_status": { - "description": "Return only results with matching rpki status: valid, invalid or unknown.", - "enum": [ - "VALID", - "INVALID", - "UNKNOWN" - ], - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "longestPrefixMatch": { + "description": "Return only results with the longest prefix match for the given prefix. For example, specify a /32 prefix to lookup the origin ASN for an IPv4 address.", + "type": "boolean" + }, + "origin": { + "description": "Lookup prefixes originated by the given ASN.", + "type": "integer" + }, + "prefix": { + "type": "string" + }, + "rpkiStatus": { + "description": "Return only results with matching rpki status: valid, invalid or unknown.", + "enum": [ + "VALID", + "INVALID", + "UNKNOWN" + ], + "type": "string" + } + }, + "type": "object" } }, }, @@ -774,11 +789,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/routes/pfx2as`, query: [ - ["prefix", args["prefix"], true], - ["origin", args["origin"], true], - ["rpkiStatus", args["rpki_status"], true], - ["longestPrefixMatch", args["longest_prefix_match"], true], - ["format", args["format"], true], + ["prefix", param(args, "query", "prefix"), true], + ["origin", param(args, "query", "origin"), true], + ["rpkiStatus", param(args, "query", "rpkiStatus"), true], + ["longestPrefixMatch", param(args, "query", "longestPrefixMatch"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -789,16 +804,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "prefix": { - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "prefix": { + "type": "string" + } + }, + "type": "object" } }, }, @@ -1214,8 +1234,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/routes/realtime`, query: [ - ["prefix", args["prefix"], true], - ["format", args["format"], true], + ["prefix", param(args, "query", "prefix"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -1226,21 +1246,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", - "type": "integer" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify an alpha-2 location code.", - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", + "type": "integer" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify an alpha-2 location code.", + "type": "string" + } + }, + "type": "object" } }, }, @@ -1540,9 +1565,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/routes/stats`, query: [ - ["asn", args["asn"], true], - ["location", args["location"], true], - ["format", args["format"], true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts b/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts index f5905de20..0fe793298 100644 --- a/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** * The tools of `radar.bgp.routes.upstreams`. @@ -14,44 +14,57 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Single Autonomous System Number (ASN) as integer.", - "type": "integer" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "default": "IPv4", - "description": "Address family of the observed paths. Defaults to IPv4.", - "enum": [ - "IPv4", - "IPv6" + "path": { + "properties": { + "asn": { + "description": "Single Autonomous System Number (ASN) as integer.", + "type": "integer" + } + }, + "required": [ + "asn" ], - "type": "string" + "type": "object" }, - "limit": { - "description": "Number of upstream ASNs to return as separate series, ranked by the first bucket. Remaining upstreams are grouped into an \"OTHER\" series. Defaults to 5.", - "type": "integer" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "default": "IPv4", + "description": "Address family of the observed paths. Defaults to IPv4.", + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "limit": { + "description": "Number of upstream ASNs to return as separate series, ranked by the first bucket. Remaining upstreams are grouped into an \"OTHER\" series. Defaults to 5.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "asn" + "path" ], }, outputSchema: { @@ -288,11 +301,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/routes/upstreams/${pathParam(args, "asn")}/timeseries`, query: [ - ["ipVersion", args["ip_version"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["limit", args["limit"], true], - ["format", args["format"], true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["limit", param(args, "query", "limit"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts b/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts index e739c6869..067e896da 100644 --- a/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** * The tools of `radar.bgp.rpki.aspa`. @@ -14,31 +14,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filter changes involving this ASN (as customer or provider).", - "type": "integer" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "include_asn_info": { - "description": "Include ASN metadata (name, country) in response.", - "type": "boolean" + "query": { + "properties": { + "asn": { + "description": "Filter changes involving this ASN (as customer or provider).", + "type": "integer" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "includeAsnInfo": { + "description": "Include ASN metadata (name, country) in response.", + "type": "boolean" + } + }, + "type": "object" } }, }, @@ -366,11 +371,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/rpki/aspa/changes`, query: [ - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["includeAsnInfo", args["include_asn_info"], true], - ["format", args["format"], true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["includeAsnInfo", param(args, "query", "includeAsnInfo"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -381,30 +386,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "customer_asn": { - "description": "Filter by customer ASN (the ASN publishing the ASPA object).", - "type": "integer" - }, - "date": { - "description": "Filters results by the specified datetime (ISO 8601).", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "include_asn_info": { - "description": "Include ASN metadata (name, country) in response.", - "type": "boolean" - }, - "provider_asn": { - "description": "Filter by provider ASN (an authorized upstream provider in ASPA objects).", - "type": "integer" + "query": { + "properties": { + "customerAsn": { + "description": "Filter by customer ASN (the ASN publishing the ASPA object).", + "type": "integer" + }, + "date": { + "description": "Filters results by the specified datetime (ISO 8601).", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "includeAsnInfo": { + "description": "Include ASN metadata (name, country) in response.", + "type": "boolean" + }, + "providerAsn": { + "description": "Filter by provider ASN (an authorized upstream provider in ASPA objects).", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -648,11 +658,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/rpki/aspa/snapshot`, query: [ - ["customerAsn", args["customer_asn"], true], - ["providerAsn", args["provider_asn"], true], - ["date", args["date"], true], - ["includeAsnInfo", args["include_asn_info"], true], - ["format", args["format"], true], + ["customerAsn", param(args, "query", "customerAsn"), true], + ["providerAsn", param(args, "query", "providerAsn"), true], + ["date", param(args, "query", "date"), true], + ["includeAsnInfo", param(args, "query", "includeAsnInfo"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -663,51 +673,56 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "rir": { - "description": "Filter by Regional Internet Registry (RIR). Multiple RIRs generate multiple series.", - "items": { - "enum": [ - "RIPE_NCC", - "ARIN", - "APNIC", - "LACNIC", - "AFRINIC" - ], - "type": "string" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "rir": { + "description": "Filter by Regional Internet Registry (RIR). Multiple RIRs generate multiple series.", + "items": { + "enum": [ + "RIPE_NCC", + "ARIN", + "APNIC", + "LACNIC", + "AFRINIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -889,12 +904,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/rpki/aspa/timeseries`, query: [ - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["name", args["name"], true], - ["rir", args["rir"], true], - ["location", args["location"], true], - ["format", args["format"], true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["name", param(args, "query", "name"), true], + ["rir", param(args, "query", "rir"), true], + ["location", param(args, "query", "location"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts b/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts index 8ed59ddf2..acfd24e1f 100644 --- a/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** * The tools of `radar.bgp.rpki.roas`. @@ -14,57 +14,62 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System Number. Specify one or more ASNs. Multiple values generate one series per ASN.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "metric": { - "default": "validPfxsRatio", - "description": "Which RPKI ROA validation metric to return. validPfxsRatio = ratio of RPKI-valid prefixes (IPv4+IPv6 combined). validPfxsV4Ratio / validPfxsV6Ratio = same, split by IP version. validIpsRatio = ratio of RPKI-valid address space (IPv4 /24s + IPv6 /48s). validIpsV4Ratio / validIpsV6Ratio = same, split by IP version.", - "enum": [ - "validPfxsRatio", - "validPfxsV4Ratio", - "validPfxsV6Ratio", - "validIpsRatio", - "validIpsV4Ratio", - "validIpsV6Ratio" - ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System Number. Specify one or more ASNs. Multiple values generate one series per ASN.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metric": { + "default": "validPfxsRatio", + "description": "Which RPKI ROA validation metric to return. validPfxsRatio = ratio of RPKI-valid prefixes (IPv4+IPv6 combined). validPfxsV4Ratio / validPfxsV6Ratio = same, split by IP version. validIpsRatio = ratio of RPKI-valid address space (IPv4 /24s + IPv6 /48s). validIpsV4Ratio / validIpsV6Ratio = same, split by IP version.", + "enum": [ + "validPfxsRatio", + "validPfxsV4Ratio", + "validPfxsV6Ratio", + "validIpsRatio", + "validIpsV4Ratio", + "validIpsV6Ratio" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -246,13 +251,13 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/rpki/roas/timeseries`, query: [ - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["metric", args["metric"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["name", args["name"], true], - ["format", args["format"], true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["metric", param(args, "query", "metric"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["name", param(args, "query", "name"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/tools.ts b/src/generated/forge-mcp/radar/bgp/tools.ts index 8c2fa7992..0b21d4111 100644 --- a/src/generated/forge-mcp/radar/bgp/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../_/tool.js"; +import { type Tool, param } from "../../_/tool.js"; /** * The tools of `radar.bgp`. @@ -14,78 +14,83 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "prefix": { - "description": "Filters results by BGP network prefix.", - "items": { - "type": "string" - }, - "type": "array" - }, - "update_type": { - "description": "Filters results by BGP update type.", - "items": { - "enum": [ - "ANNOUNCEMENT", - "WITHDRAWAL" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "prefix": { + "description": "Filters results by BGP network prefix.", + "items": { + "type": "string" + }, + "type": "array" + }, + "updateType": { + "description": "Filters results by BGP update type.", + "items": { + "enum": [ + "ANNOUNCEMENT", + "WITHDRAWAL" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -505,15 +510,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["prefix", args["prefix"], true], - ["updateType", args["update_type"], true], - ["asn", args["asn"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["prefix", param(args, "query", "prefix"), true], + ["updateType", param(args, "query", "updateType"), true], + ["asn", param(args, "query", "asn"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts b/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts index 83e81525d..727966189 100644 --- a/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** * The tools of `radar.bgp.top.ases`. @@ -14,73 +14,78 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "prefix": { - "description": "Filters results by BGP network prefix.", - "items": { - "type": "string" - }, - "type": "array" - }, - "update_type": { - "description": "Filters results by BGP update type.", - "items": { - "enum": [ - "ANNOUNCEMENT", - "WITHDRAWAL" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "prefix": { + "description": "Filters results by BGP network prefix.", + "items": { + "type": "string" + }, + "type": "array" + }, + "updateType": { + "description": "Filters results by BGP update type.", + "items": { + "enum": [ + "ANNOUNCEMENT", + "WITHDRAWAL" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -284,15 +289,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/top/ases`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["prefix", args["prefix"], true], - ["updateType", args["update_type"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["prefix", param(args, "query", "prefix"), true], + ["updateType", param(args, "query", "updateType"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -303,21 +308,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "country": { - "description": "Alpha-2 country code.", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "description": "Maximum number of ASes to return.", - "type": "integer" + "query": { + "properties": { + "country": { + "description": "Alpha-2 country code.", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "description": "Maximum number of ASes to return.", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -492,9 +502,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/top/ases/prefixes`, query: [ - ["country", args["country"], true], - ["limit", args["limit"], true], - ["format", args["format"], true], + ["country", param(args, "query", "country"), true], + ["limit", param(args, "query", "limit"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bgp/top/tools.ts b/src/generated/forge-mcp/radar/bgp/top/tools.ts index e0d8a219d..c61e95023 100644 --- a/src/generated/forge-mcp/radar/bgp/top/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/top/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.bgp.top`. @@ -14,66 +14,71 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "update_type": { - "description": "Filters results by BGP update type.", - "items": { - "enum": [ - "ANNOUNCEMENT", - "WITHDRAWAL" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "updateType": { + "description": "Filters results by BGP update type.", + "items": { + "enum": [ + "ANNOUNCEMENT", + "WITHDRAWAL" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -269,14 +274,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bgp/top/prefixes`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["updateType", args["update_type"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["updateType", param(args, "query", "updateType"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bots/tools.ts b/src/generated/forge-mcp/radar/bots/tools.ts index 3601fc666..2f4e47a6d 100644 --- a/src/generated/forge-mcp/radar/bots/tools.ts +++ b/src/generated/forge-mcp/radar/bots/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.bots`. @@ -14,21 +14,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "bot_slug": { - "description": "Bot slug.", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "bot_slug": { + "description": "Bot slug.", + "type": "string" + } + }, + "required": [ + "bot_slug" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "bot_slug" + "path" ], }, outputSchema: { @@ -228,7 +241,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bots/${pathParam(args, "bot_slug")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -239,64 +252,69 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "bot_category": { - "description": "Filters results by bot category.", - "enum": [ - "SEARCH_ENGINE_CRAWLER", - "SEARCH_ENGINE_OPTIMIZATION", - "MONITORING_AND_ANALYTICS", - "ADVERTISING_AND_MARKETING", - "SOCIAL_MEDIA_MARKETING", - "PAGE_PREVIEW", - "ACADEMIC_RESEARCH", - "SECURITY", - "ACCESSIBILITY", - "WEBHOOKS", - "FEED_FETCHER", - "AI_CRAWLER", - "AGGREGATOR", - "AI_ASSISTANT", - "AI_SEARCH", - "ARCHIVER" - ], - "type": "string" - }, - "bot_operator": { - "description": "Filters results by bot operator.", - "type": "string" - }, - "bot_verification_status": { - "description": "Filters results by bot verification status.", - "enum": [ - "VERIFIED" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "kind": { - "deprecated": true, - "description": "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", - "enum": [ - "AGENT", - "BOT" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" + "query": { + "properties": { + "botCategory": { + "description": "Filters results by bot category.", + "enum": [ + "SEARCH_ENGINE_CRAWLER", + "SEARCH_ENGINE_OPTIMIZATION", + "MONITORING_AND_ANALYTICS", + "ADVERTISING_AND_MARKETING", + "SOCIAL_MEDIA_MARKETING", + "PAGE_PREVIEW", + "ACADEMIC_RESEARCH", + "SECURITY", + "ACCESSIBILITY", + "WEBHOOKS", + "FEED_FETCHER", + "AI_CRAWLER", + "AGGREGATOR", + "AI_ASSISTANT", + "AI_SEARCH", + "ARCHIVER" + ], + "type": "string" + }, + "botOperator": { + "description": "Filters results by bot operator.", + "type": "string" + }, + "botVerificationStatus": { + "description": "Filters results by bot verification status.", + "enum": [ + "VERIFIED" + ], + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "kind": { + "deprecated": true, + "description": "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", + "enum": [ + "AGENT", + "BOT" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -480,13 +498,13 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bots`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["botCategory", args["bot_category"], true], - ["botOperator", args["bot_operator"], true], - ["kind", args["kind"], true], - ["botVerificationStatus", args["bot_verification_status"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["botCategory", param(args, "query", "botCategory"), true], + ["botOperator", param(args, "query", "botOperator"), true], + ["kind", param(args, "query", "kind"), true], + ["botVerificationStatus", param(args, "query", "botVerificationStatus"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -497,143 +515,156 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot": { - "description": "Filters results by bot name.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_category": { - "description": "Filters results by bot category.", - "items": { - "enum": [ - "SEARCH_ENGINE_CRAWLER", - "SEARCH_ENGINE_OPTIMIZATION", - "MONITORING_AND_ANALYTICS", - "ADVERTISING_AND_MARKETING", - "SOCIAL_MEDIA_MARKETING", - "PAGE_PREVIEW", - "ACADEMIC_RESEARCH", - "SECURITY", - "ACCESSIBILITY", - "WEBHOOKS", - "FEED_FETCHER", - "AI_CRAWLER", - "AGGREGATOR", - "AI_ASSISTANT", - "AI_SEARCH", - "ARCHIVER" - ], - "type": "string" - }, - "type": "array" - }, - "bot_kind": { - "deprecated": true, - "description": "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", - "items": { - "enum": [ - "AGENT", - "BOT" - ], - "type": "string" - }, - "type": "array" - }, - "bot_operator": { - "description": "Filters results by bot operator.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_verification_status": { - "description": "Filters results by bot verification status (Verified vs. Unverified).", - "items": { - "enum": [ - "VERIFIED" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "BOT", + "BOT_KIND", + "BOT_OPERATOR", + "BOT_CATEGORY" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "BOT", - "BOT_KIND", - "BOT_OPERATOR", - "BOT_CATEGORY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "bot": { + "description": "Filters results by bot name.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botCategory": { + "description": "Filters results by bot category.", + "items": { + "enum": [ + "SEARCH_ENGINE_CRAWLER", + "SEARCH_ENGINE_OPTIMIZATION", + "MONITORING_AND_ANALYTICS", + "ADVERTISING_AND_MARKETING", + "SOCIAL_MEDIA_MARKETING", + "PAGE_PREVIEW", + "ACADEMIC_RESEARCH", + "SECURITY", + "ACCESSIBILITY", + "WEBHOOKS", + "FEED_FETCHER", + "AI_CRAWLER", + "AGGREGATOR", + "AI_ASSISTANT", + "AI_SEARCH", + "ARCHIVER" + ], + "type": "string" + }, + "type": "array" + }, + "botKind": { + "deprecated": true, + "description": "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", + "items": { + "enum": [ + "AGENT", + "BOT" + ], + "type": "string" + }, + "type": "array" + }, + "botOperator": { + "description": "Filters results by bot operator.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botVerificationStatus": { + "description": "Filters results by bot verification status (Verified vs. Unverified).", + "items": { + "enum": [ + "VERIFIED" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1066,20 +1097,20 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bots/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["bot", args["bot"], true], - ["botOperator", args["bot_operator"], true], - ["botCategory", args["bot_category"], true], - ["botKind", args["bot_kind"], true], - ["botVerificationStatus", args["bot_verification_status"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["bot", param(args, "query", "bot"), true], + ["botOperator", param(args, "query", "botOperator"), true], + ["botCategory", param(args, "query", "botCategory"), true], + ["botKind", param(args, "query", "botKind"), true], + ["botVerificationStatus", param(args, "query", "botVerificationStatus"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -1090,135 +1121,140 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot": { - "description": "Filters results by bot name.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_category": { - "description": "Filters results by bot category.", - "items": { - "enum": [ - "SEARCH_ENGINE_CRAWLER", - "SEARCH_ENGINE_OPTIMIZATION", - "MONITORING_AND_ANALYTICS", - "ADVERTISING_AND_MARKETING", - "SOCIAL_MEDIA_MARKETING", - "PAGE_PREVIEW", - "ACADEMIC_RESEARCH", - "SECURITY", - "ACCESSIBILITY", - "WEBHOOKS", - "FEED_FETCHER", - "AI_CRAWLER", - "AGGREGATOR", - "AI_ASSISTANT", - "AI_SEARCH", - "ARCHIVER" - ], - "type": "string" - }, - "type": "array" - }, - "bot_kind": { - "deprecated": true, - "description": "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", - "items": { - "enum": [ - "AGENT", - "BOT" - ], - "type": "string" - }, - "type": "array" - }, - "bot_operator": { - "description": "Filters results by bot operator.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_verification_status": { - "description": "Filters results by bot verification status (Verified vs. Unverified).", - "items": { - "enum": [ - "VERIFIED" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "bot": { + "description": "Filters results by bot name.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botCategory": { + "description": "Filters results by bot category.", + "items": { + "enum": [ + "SEARCH_ENGINE_CRAWLER", + "SEARCH_ENGINE_OPTIMIZATION", + "MONITORING_AND_ANALYTICS", + "ADVERTISING_AND_MARKETING", + "SOCIAL_MEDIA_MARKETING", + "PAGE_PREVIEW", + "ACADEMIC_RESEARCH", + "SECURITY", + "ACCESSIBILITY", + "WEBHOOKS", + "FEED_FETCHER", + "AI_CRAWLER", + "AGGREGATOR", + "AI_ASSISTANT", + "AI_SEARCH", + "ARCHIVER" + ], + "type": "string" + }, + "type": "array" + }, + "botKind": { + "deprecated": true, + "description": "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", + "items": { + "enum": [ + "AGENT", + "BOT" + ], + "type": "string" + }, + "type": "array" + }, + "botOperator": { + "description": "Filters results by bot operator.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botVerificationStatus": { + "description": "Filters results by bot verification status (Verified vs. Unverified).", + "items": { + "enum": [ + "VERIFIED" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1704,177 +1740,190 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bots/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["bot", args["bot"], true], - ["botOperator", args["bot_operator"], true], - ["botCategory", args["bot_category"], true], - ["botKind", args["bot_kind"], true], - ["botVerificationStatus", args["bot_verification_status"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["bot", param(args, "query", "bot"), true], + ["botOperator", param(args, "query", "botOperator"), true], + ["botCategory", param(args, "query", "botCategory"), true], + ["botKind", param(args, "query", "botKind"), true], + ["botVerificationStatus", param(args, "query", "botVerificationStatus"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_bots_timeseries_groups", + name: "radar_bots_timeseriesGroups", title: "Get time series distribution of bots HTTP requests by dimension.", description: "Retrieves the distribution of HTTP requests from bots, grouped by the specified dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot": { - "description": "Filters results by bot name.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_category": { - "description": "Filters results by bot category.", - "items": { - "enum": [ - "SEARCH_ENGINE_CRAWLER", - "SEARCH_ENGINE_OPTIMIZATION", - "MONITORING_AND_ANALYTICS", - "ADVERTISING_AND_MARKETING", - "SOCIAL_MEDIA_MARKETING", - "PAGE_PREVIEW", - "ACADEMIC_RESEARCH", - "SECURITY", - "ACCESSIBILITY", - "WEBHOOKS", - "FEED_FETCHER", - "AI_CRAWLER", - "AGGREGATOR", - "AI_ASSISTANT", - "AI_SEARCH", - "ARCHIVER" - ], - "type": "string" - }, - "type": "array" - }, - "bot_kind": { - "deprecated": true, - "description": "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", - "items": { - "enum": [ - "AGENT", - "BOT" - ], - "type": "string" - }, - "type": "array" - }, - "bot_operator": { - "description": "Filters results by bot operator.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_verification_status": { - "description": "Filters results by bot verification status (Verified vs. Unverified).", - "items": { - "enum": [ - "VERIFIED" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "BOT", + "BOT_KIND", + "BOT_OPERATOR", + "BOT_CATEGORY" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "BOT", - "BOT_KIND", - "BOT_OPERATOR", - "BOT_CATEGORY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "bot": { + "description": "Filters results by bot name.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botCategory": { + "description": "Filters results by bot category.", + "items": { + "enum": [ + "SEARCH_ENGINE_CRAWLER", + "SEARCH_ENGINE_OPTIMIZATION", + "MONITORING_AND_ANALYTICS", + "ADVERTISING_AND_MARKETING", + "SOCIAL_MEDIA_MARKETING", + "PAGE_PREVIEW", + "ACADEMIC_RESEARCH", + "SECURITY", + "ACCESSIBILITY", + "WEBHOOKS", + "FEED_FETCHER", + "AI_CRAWLER", + "AGGREGATOR", + "AI_ASSISTANT", + "AI_SEARCH", + "ARCHIVER" + ], + "type": "string" + }, + "type": "array" + }, + "botKind": { + "deprecated": true, + "description": "Filters results by bot kind. Deprecated: the Verified Bot / Signed Agent distinction is being removed.", + "items": { + "enum": [ + "AGENT", + "BOT" + ], + "type": "string" + }, + "type": "array" + }, + "botOperator": { + "description": "Filters results by bot operator.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botVerificationStatus": { + "description": "Filters results by bot verification status (Verified vs. Unverified).", + "items": { + "enum": [ + "VERIFIED" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -2359,21 +2408,21 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bots/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["bot", args["bot"], true], - ["botOperator", args["bot_operator"], true], - ["botCategory", args["bot_category"], true], - ["botKind", args["bot_kind"], true], - ["botVerificationStatus", args["bot_verification_status"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["bot", param(args, "query", "bot"), true], + ["botOperator", param(args, "query", "botOperator"), true], + ["botCategory", param(args, "query", "botCategory"), true], + ["botKind", param(args, "query", "botKind"), true], + ["botVerificationStatus", param(args, "query", "botVerificationStatus"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts b/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts index d25fa5b9f..f54199474 100644 --- a/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts +++ b/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts @@ -1,133 +1,146 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `radar.bots.web_crawlers`. + * The tools of `radar.bots.webCrawlers`. */ export const tools: readonly Tool[] = [ { - name: "radar_bots_web_crawlers_summary", + name: "radar_bots_webCrawlers_summary", title: "Get crawler HTTP request distribution by dimension", description: "Retrieves an aggregated summary of HTTP requests from crawlers, grouped by the specified dimension.", inputSchema: { type: "object", properties: { - "bot_operator": { - "description": "Filters results by bot operator.", - "items": { - "type": "string" - }, - "type": "array" - }, - "client_type": { - "description": "Filters results by agent type.", - "items": { - "enum": [ - "HUMAN", - "NON_AI_BOT", - "AI_BOT", - "MIXED_PURPOSE" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "CLIENT_TYPE", + "USER_AGENT", + "REFERER", + "CRAWL_REFER_RATIO", + "VERTICAL", + "INDUSTRY", + "RESPONSE_STATUS", + "RESPONSE_STATUS_CATEGORY" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "CLIENT_TYPE", - "USER_AGENT", - "REFERER", - "CRAWL_REFER_RATIO", - "VERTICAL", - "INDUSTRY", - "RESPONSE_STATUS", - "RESPONSE_STATUS_CATEGORY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "industry": { - "description": "Filters results by industry.", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response_status": { - "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response_status_category": { - "description": "Filters results by HTTP response status code category.", - "items": { - "enum": [ - "INFORMATIONAL", - "SUCCESS", - "REDIRECTION", - "CLIENT_ERROR", - "SERVER_ERROR" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "vertical": { - "description": "Filters results by vertical.", - "items": { - "type": "string" + "query": { + "properties": { + "botOperator": { + "description": "Filters results by bot operator.", + "items": { + "type": "string" + }, + "type": "array" + }, + "clientType": { + "description": "Filters results by agent type.", + "items": { + "enum": [ + "HUMAN", + "NON_AI_BOT", + "AI_BOT", + "MIXED_PURPOSE" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "industry": { + "description": "Filters results by industry.", + "items": { + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responseStatus": { + "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responseStatusCategory": { + "description": "Filters results by HTTP response status code category.", + "items": { + "enum": [ + "INFORMATIONAL", + "SUCCESS", + "REDIRECTION", + "CLIENT_ERROR", + "SERVER_ERROR" + ], + "type": "string" + }, + "type": "array" + }, + "vertical": { + "description": "Filters results by vertical.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -560,162 +573,175 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bots/crawlers/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["botOperator", args["bot_operator"], true], - ["vertical", args["vertical"], true], - ["industry", args["industry"], true], - ["clientType", args["client_type"], true], - ["responseStatus", args["response_status"], true], - ["responseStatusCategory", args["response_status_category"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["botOperator", param(args, "query", "botOperator"), true], + ["vertical", param(args, "query", "vertical"), true], + ["industry", param(args, "query", "industry"), true], + ["clientType", param(args, "query", "clientType"), true], + ["responseStatus", param(args, "query", "responseStatus"), true], + ["responseStatusCategory", param(args, "query", "responseStatusCategory"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_bots_web_crawlers_timeseries_groups", + name: "radar_bots_webCrawlers_timeseriesGroups", title: "Get time series of crawler HTTP request distribution by dimension", description: "Retrieves the distribution of HTTP requests from crawlers, grouped by the specified dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "bot_operator": { - "description": "Filters results by bot operator.", - "items": { - "type": "string" - }, - "type": "array" - }, - "client_type": { - "description": "Filters results by agent type.", - "items": { - "enum": [ - "HUMAN", - "NON_AI_BOT", - "AI_BOT", - "MIXED_PURPOSE" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "CLIENT_TYPE", - "USER_AGENT", - "REFERER", - "CRAWL_REFER_RATIO", - "VERTICAL", - "INDUSTRY", - "RESPONSE_STATUS", - "RESPONSE_STATUS_CATEGORY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "industry": { - "description": "Filters results by industry.", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "CLIENT_TYPE", + "USER_AGENT", + "REFERER", + "CRAWL_REFER_RATIO", + "VERTICAL", + "INDUSTRY", + "RESPONSE_STATUS", + "RESPONSE_STATUS_CATEGORY" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", - "enum": [ - "PERCENTAGE", - "MIN0_MAX", - "PERCENTAGE_CHANGE" + "required": [ + "dimension" ], - "type": "string" - }, - "response_status": { - "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", - "items": { - "type": "string" - }, - "type": "array" - }, - "response_status_category": { - "description": "Filters results by HTTP response status code category.", - "items": { - "enum": [ - "INFORMATIONAL", - "SUCCESS", - "REDIRECTION", - "CLIENT_ERROR", - "SERVER_ERROR" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "vertical": { - "description": "Filters results by vertical.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "botOperator": { + "description": "Filters results by bot operator.", + "items": { + "type": "string" + }, + "type": "array" + }, + "clientType": { + "description": "Filters results by agent type.", + "items": { + "enum": [ + "HUMAN", + "NON_AI_BOT", + "AI_BOT", + "MIXED_PURPOSE" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "industry": { + "description": "Filters results by industry.", + "items": { + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "PERCENTAGE_CHANGE" + ], + "type": "string" + }, + "responseStatus": { + "description": "Filters results by HTTP response status code (e.g. 200, 403, 404). Only [IANA-registered codes](https://www.iana.org/assignments/http-status-codes/http-status-codes.xhtml) are accepted.", + "items": { + "type": "string" + }, + "type": "array" + }, + "responseStatusCategory": { + "description": "Filters results by HTTP response status code category.", + "items": { + "enum": [ + "INFORMATIONAL", + "SUCCESS", + "REDIRECTION", + "CLIENT_ERROR", + "SERVER_ERROR" + ], + "type": "string" + }, + "type": "array" + }, + "vertical": { + "description": "Filters results by vertical.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1200,20 +1226,20 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/bots/crawlers/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["normalization", args["normalization"], true], - ["botOperator", args["bot_operator"], true], - ["vertical", args["vertical"], true], - ["industry", args["industry"], true], - ["clientType", args["client_type"], true], - ["responseStatus", args["response_status"], true], - ["responseStatusCategory", args["response_status_category"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["normalization", param(args, "query", "normalization"), true], + ["botOperator", param(args, "query", "botOperator"), true], + ["vertical", param(args, "query", "vertical"), true], + ["industry", param(args, "query", "industry"), true], + ["clientType", param(args, "query", "clientType"), true], + ["responseStatus", param(args, "query", "responseStatus"), true], + ["responseStatusCategory", param(args, "query", "responseStatusCategory"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ct/authorities/tools.ts b/src/generated/forge-mcp/radar/ct/authorities/tools.ts index 2a6406437..f4b66c7a2 100644 --- a/src/generated/forge-mcp/radar/ct/authorities/tools.ts +++ b/src/generated/forge-mcp/radar/ct/authorities/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.ct.authorities`. @@ -14,21 +14,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "ca_slug": { - "description": "Certificate authority SHA256 fingerprint.", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "ca_slug": { + "description": "Certificate authority SHA256 fingerprint.", + "type": "string" + } + }, + "required": [ + "ca_slug" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "ca_slug" + "path" ], }, outputSchema: { @@ -426,7 +439,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ct/authorities/${pathParam(args, "ca_slug")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -437,22 +450,27 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -664,9 +682,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ct/authorities`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ct/logs/tools.ts b/src/generated/forge-mcp/radar/ct/logs/tools.ts index c54431100..b32b0aea9 100644 --- a/src/generated/forge-mcp/radar/ct/logs/tools.ts +++ b/src/generated/forge-mcp/radar/ct/logs/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.ct.logs`. @@ -14,21 +14,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "log_slug": { + "description": "Certificate log slug.", + "type": "string" + } + }, + "required": [ + "log_slug" ], - "type": "string" + "type": "object" }, - "log_slug": { - "description": "Certificate log slug.", - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "log_slug" + "path" ], }, outputSchema: { @@ -480,7 +493,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ct/logs/${pathParam(args, "log_slug")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -491,22 +504,27 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -730,9 +748,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ct/logs`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ct/tools.ts b/src/generated/forge-mcp/radar/ct/tools.ts index 7bff62aa4..220d3a179 100644 --- a/src/generated/forge-mcp/radar/ct/tools.ts +++ b/src/generated/forge-mcp/radar/ct/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.ct`. @@ -14,237 +14,250 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "ca": { - "description": "Filters results by certificate authority.", - "items": { - "type": "string" - }, - "type": "array" - }, - "ca_owner": { - "description": "Filters results by certificate authority owner.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the certificate attribute by which to group the results.", - "enum": [ - "CA", - "CA_OWNER", - "DURATION", - "ENTRY_TYPE", - "EXPIRATION_STATUS", - "HAS_IPS", - "HAS_WILDCARDS", - "LOG", - "LOG_API", - "LOG_OPERATOR", - "PUBLIC_KEY_ALGORITHM", - "SIGNATURE_ALGORITHM", - "TLD", - "VALIDATION_LEVEL" - ], - "type": "string" - }, - "duration": { - "description": "Filters results by certificate duration.", - "items": { - "enum": [ - "LTE_3D", - "GT_3D_LTE_7D", - "GT_7D_LTE_10D", - "GT_10D_LTE_47D", - "GT_47D_LTE_100D", - "GT_100D_LTE_200D", - "GT_200D" - ], - "type": "string" - }, - "type": "array" - }, - "entry_type": { - "description": "Filters results by entry type (certificate vs. pre-certificate). Incompatible with the `tld` filter/dimension.", - "items": { - "enum": [ - "PRECERTIFICATE", - "CERTIFICATE" - ], - "type": "string" - }, - "type": "array" - }, - "expiration_status": { - "description": "Filters results by expiration status (expired vs. valid).", - "items": { - "enum": [ - "EXPIRED", - "VALID" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "has_ips": { - "description": "Filters results based on whether the certificates are bound to specific IP addresses.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "has_wildcards": { - "description": "Filters results based on whether the certificates contain wildcard domains.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "log": { - "description": "Filters results by certificate log. Incompatible with the `tld` filter/dimension.", - "items": { - "type": "string" - }, - "type": "array" - }, - "log_api": { - "description": "Filters results by certificate log API (RFC6962 vs. static). Incompatible with the `tld` filter/dimension.", - "items": { - "enum": [ - "RFC6962", - "STATIC" - ], - "type": "string" - }, - "type": "array" - }, - "log_operator": { - "description": "Filters results by certificate log operator. Incompatible with the `tld` filter/dimension.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the certificate attribute by which to group the results.", + "enum": [ + "CA", + "CA_OWNER", + "DURATION", + "ENTRY_TYPE", + "EXPIRATION_STATUS", + "HAS_IPS", + "HAS_WILDCARDS", + "LOG", + "LOG_API", + "LOG_OPERATOR", + "PUBLIC_KEY_ALGORITHM", + "SIGNATURE_ALGORITHM", + "TLD", + "VALIDATION_LEVEL" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "RAW_VALUES", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", - "enum": [ - "RAW_VALUES", - "PERCENTAGE" + "required": [ + "dimension" ], - "type": "string" - }, - "public_key_algorithm": { - "description": "Filters results by public key algorithm.", - "items": { - "enum": [ - "DSA", - "ECDSA", - "RSA" - ], - "type": "string" - }, - "type": "array" - }, - "signature_algorithm": { - "description": "Filters results by signature algorithm.", - "items": { - "enum": [ - "DSA_SHA_1", - "DSA_SHA_256", - "ECDSA_SHA_1", - "ECDSA_SHA_256", - "ECDSA_SHA_384", - "ECDSA_SHA_512", - "PSS_SHA_256", - "PSS_SHA_384", - "PSS_SHA_512", - "RSA_MD2", - "RSA_MD5", - "RSA_SHA_1", - "RSA_SHA_256", - "RSA_SHA_384", - "RSA_SHA_512" - ], - "type": "string" - }, - "type": "array" - }, - "tld": { - "description": "Filters results by top-level domain. Incompatible with the `log`, `logApi`, `logOperator`, and `entryType` filters/dimensions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "unique_entries": { - "description": "Specifies whether to filter out duplicate certificates and pre-certificates. Set to true for unique entries only.", - "items": { - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "validation_level": { - "description": "Filters results by validation level.", - "items": { - "enum": [ - "DOMAIN", - "ORGANIZATION", - "EXTENDED" - ], - "type": "string" + "query": { + "properties": { + "ca": { + "description": "Filters results by certificate authority.", + "items": { + "type": "string" + }, + "type": "array" + }, + "caOwner": { + "description": "Filters results by certificate authority owner.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "duration": { + "description": "Filters results by certificate duration.", + "items": { + "enum": [ + "LTE_3D", + "GT_3D_LTE_7D", + "GT_7D_LTE_10D", + "GT_10D_LTE_47D", + "GT_47D_LTE_100D", + "GT_100D_LTE_200D", + "GT_200D" + ], + "type": "string" + }, + "type": "array" + }, + "entryType": { + "description": "Filters results by entry type (certificate vs. pre-certificate). Incompatible with the `tld` filter/dimension.", + "items": { + "enum": [ + "PRECERTIFICATE", + "CERTIFICATE" + ], + "type": "string" + }, + "type": "array" + }, + "expirationStatus": { + "description": "Filters results by expiration status (expired vs. valid).", + "items": { + "enum": [ + "EXPIRED", + "VALID" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "hasIps": { + "description": "Filters results based on whether the certificates are bound to specific IP addresses.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "hasWildcards": { + "description": "Filters results based on whether the certificates contain wildcard domains.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "log": { + "description": "Filters results by certificate log. Incompatible with the `tld` filter/dimension.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logApi": { + "description": "Filters results by certificate log API (RFC6962 vs. static). Incompatible with the `tld` filter/dimension.", + "items": { + "enum": [ + "RFC6962", + "STATIC" + ], + "type": "string" + }, + "type": "array" + }, + "logOperator": { + "description": "Filters results by certificate log operator. Incompatible with the `tld` filter/dimension.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "RAW_VALUES", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", + "enum": [ + "RAW_VALUES", + "PERCENTAGE" + ], + "type": "string" + }, + "publicKeyAlgorithm": { + "description": "Filters results by public key algorithm.", + "items": { + "enum": [ + "DSA", + "ECDSA", + "RSA" + ], + "type": "string" + }, + "type": "array" + }, + "signatureAlgorithm": { + "description": "Filters results by signature algorithm.", + "items": { + "enum": [ + "DSA_SHA_1", + "DSA_SHA_256", + "ECDSA_SHA_1", + "ECDSA_SHA_256", + "ECDSA_SHA_384", + "ECDSA_SHA_512", + "PSS_SHA_256", + "PSS_SHA_384", + "PSS_SHA_512", + "RSA_MD2", + "RSA_MD5", + "RSA_SHA_1", + "RSA_SHA_256", + "RSA_SHA_384", + "RSA_SHA_512" + ], + "type": "string" + }, + "type": "array" + }, + "tld": { + "description": "Filters results by top-level domain. Incompatible with the `log`, `logApi`, `logOperator`, and `entryType` filters/dimensions.", + "items": { + "type": "string" + }, + "type": "array" + }, + "uniqueEntries": { + "description": "Specifies whether to filter out duplicate certificates and pre-certificates. Set to true for unique entries only.", + "items": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "type": "array" + }, + "validationLevel": { + "description": "Filters results by validation level.", + "items": { + "enum": [ + "DOMAIN", + "ORGANIZATION", + "EXTENDED" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -951,28 +964,28 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ct/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["ca", args["ca"], true], - ["caOwner", args["ca_owner"], true], - ["duration", args["duration"], true], - ["entryType", args["entry_type"], true], - ["expirationStatus", args["expiration_status"], true], - ["hasIps", args["has_ips"], true], - ["hasWildcards", args["has_wildcards"], true], - ["log", args["log"], true], - ["logApi", args["log_api"], true], - ["logOperator", args["log_operator"], true], - ["publicKeyAlgorithm", args["public_key_algorithm"], true], - ["signatureAlgorithm", args["signature_algorithm"], true], - ["tld", args["tld"], true], - ["validationLevel", args["validation_level"], true], - ["uniqueEntries", args["unique_entries"], true], - ["normalization", args["normalization"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["ca", param(args, "query", "ca"), true], + ["caOwner", param(args, "query", "caOwner"), true], + ["duration", param(args, "query", "duration"), true], + ["entryType", param(args, "query", "entryType"), true], + ["expirationStatus", param(args, "query", "expirationStatus"), true], + ["hasIps", param(args, "query", "hasIps"), true], + ["hasWildcards", param(args, "query", "hasWildcards"), true], + ["log", param(args, "query", "log"), true], + ["logApi", param(args, "query", "logApi"), true], + ["logOperator", param(args, "query", "logOperator"), true], + ["publicKeyAlgorithm", param(args, "query", "publicKeyAlgorithm"), true], + ["signatureAlgorithm", param(args, "query", "signatureAlgorithm"), true], + ["tld", param(args, "query", "tld"), true], + ["validationLevel", param(args, "query", "validationLevel"), true], + ["uniqueEntries", param(args, "query", "uniqueEntries"), true], + ["normalization", param(args, "query", "normalization"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -983,210 +996,215 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "ca": { - "description": "Filters results by certificate authority.", - "items": { - "type": "string" - }, - "type": "array" - }, - "ca_owner": { - "description": "Filters results by certificate authority owner.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "duration": { - "description": "Filters results by certificate duration.", - "items": { - "enum": [ - "LTE_3D", - "GT_3D_LTE_7D", - "GT_7D_LTE_10D", - "GT_10D_LTE_47D", - "GT_47D_LTE_100D", - "GT_100D_LTE_200D", - "GT_200D" - ], - "type": "string" - }, - "type": "array" - }, - "entry_type": { - "description": "Filters results by entry type (certificate vs. pre-certificate). Incompatible with the `tld` filter/dimension.", - "items": { - "enum": [ - "PRECERTIFICATE", - "CERTIFICATE" - ], - "type": "string" - }, - "type": "array" - }, - "expiration_status": { - "description": "Filters results by expiration status (expired vs. valid).", - "items": { - "enum": [ - "EXPIRED", - "VALID" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "has_ips": { - "description": "Filters results based on whether the certificates are bound to specific IP addresses.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "has_wildcards": { - "description": "Filters results based on whether the certificates contain wildcard domains.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "log": { - "description": "Filters results by certificate log. Incompatible with the `tld` filter/dimension.", - "items": { - "type": "string" - }, - "type": "array" - }, - "log_api": { - "description": "Filters results by certificate log API (RFC6962 vs. static). Incompatible with the `tld` filter/dimension.", - "items": { - "enum": [ - "RFC6962", - "STATIC" - ], - "type": "string" - }, - "type": "array" - }, - "log_operator": { - "description": "Filters results by certificate log operator. Incompatible with the `tld` filter/dimension.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "public_key_algorithm": { - "description": "Filters results by public key algorithm.", - "items": { - "enum": [ - "DSA", - "ECDSA", - "RSA" - ], - "type": "string" - }, - "type": "array" - }, - "signature_algorithm": { - "description": "Filters results by signature algorithm.", - "items": { - "enum": [ - "DSA_SHA_1", - "DSA_SHA_256", - "ECDSA_SHA_1", - "ECDSA_SHA_256", - "ECDSA_SHA_384", - "ECDSA_SHA_512", - "PSS_SHA_256", - "PSS_SHA_384", - "PSS_SHA_512", - "RSA_MD2", - "RSA_MD5", - "RSA_SHA_1", - "RSA_SHA_256", - "RSA_SHA_384", - "RSA_SHA_512" - ], - "type": "string" - }, - "type": "array" - }, - "tld": { - "description": "Filters results by top-level domain. Incompatible with the `log`, `logApi`, `logOperator`, and `entryType` filters/dimensions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "unique_entries": { - "description": "Specifies whether to filter out duplicate certificates and pre-certificates. Set to true for unique entries only.", - "items": { - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "type": "array" - }, - "validation_level": { - "description": "Filters results by validation level.", - "items": { - "enum": [ - "DOMAIN", - "ORGANIZATION", - "EXTENDED" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "ca": { + "description": "Filters results by certificate authority.", + "items": { + "type": "string" + }, + "type": "array" + }, + "caOwner": { + "description": "Filters results by certificate authority owner.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "duration": { + "description": "Filters results by certificate duration.", + "items": { + "enum": [ + "LTE_3D", + "GT_3D_LTE_7D", + "GT_7D_LTE_10D", + "GT_10D_LTE_47D", + "GT_47D_LTE_100D", + "GT_100D_LTE_200D", + "GT_200D" + ], + "type": "string" + }, + "type": "array" + }, + "entryType": { + "description": "Filters results by entry type (certificate vs. pre-certificate). Incompatible with the `tld` filter/dimension.", + "items": { + "enum": [ + "PRECERTIFICATE", + "CERTIFICATE" + ], + "type": "string" + }, + "type": "array" + }, + "expirationStatus": { + "description": "Filters results by expiration status (expired vs. valid).", + "items": { + "enum": [ + "EXPIRED", + "VALID" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "hasIps": { + "description": "Filters results based on whether the certificates are bound to specific IP addresses.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "hasWildcards": { + "description": "Filters results based on whether the certificates contain wildcard domains.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "log": { + "description": "Filters results by certificate log. Incompatible with the `tld` filter/dimension.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logApi": { + "description": "Filters results by certificate log API (RFC6962 vs. static). Incompatible with the `tld` filter/dimension.", + "items": { + "enum": [ + "RFC6962", + "STATIC" + ], + "type": "string" + }, + "type": "array" + }, + "logOperator": { + "description": "Filters results by certificate log operator. Incompatible with the `tld` filter/dimension.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "publicKeyAlgorithm": { + "description": "Filters results by public key algorithm.", + "items": { + "enum": [ + "DSA", + "ECDSA", + "RSA" + ], + "type": "string" + }, + "type": "array" + }, + "signatureAlgorithm": { + "description": "Filters results by signature algorithm.", + "items": { + "enum": [ + "DSA_SHA_1", + "DSA_SHA_256", + "ECDSA_SHA_1", + "ECDSA_SHA_256", + "ECDSA_SHA_384", + "ECDSA_SHA_512", + "PSS_SHA_256", + "PSS_SHA_384", + "PSS_SHA_512", + "RSA_MD2", + "RSA_MD5", + "RSA_SHA_1", + "RSA_SHA_256", + "RSA_SHA_384", + "RSA_SHA_512" + ], + "type": "string" + }, + "type": "array" + }, + "tld": { + "description": "Filters results by top-level domain. Incompatible with the `log`, `logApi`, `logOperator`, and `entryType` filters/dimensions.", + "items": { + "type": "string" + }, + "type": "array" + }, + "uniqueEntries": { + "description": "Specifies whether to filter out duplicate certificates and pre-certificates. Set to true for unique entries only.", + "items": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "type": "array" + }, + "validationLevel": { + "description": "Filters results by validation level.", + "items": { + "enum": [ + "DOMAIN", + "ORGANIZATION", + "EXTENDED" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1672,278 +1690,291 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ct/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["ca", args["ca"], true], - ["caOwner", args["ca_owner"], true], - ["duration", args["duration"], true], - ["entryType", args["entry_type"], true], - ["expirationStatus", args["expiration_status"], true], - ["hasIps", args["has_ips"], true], - ["hasWildcards", args["has_wildcards"], true], - ["log", args["log"], true], - ["logApi", args["log_api"], true], - ["logOperator", args["log_operator"], true], - ["publicKeyAlgorithm", args["public_key_algorithm"], true], - ["signatureAlgorithm", args["signature_algorithm"], true], - ["tld", args["tld"], true], - ["validationLevel", args["validation_level"], true], - ["uniqueEntries", args["unique_entries"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["ca", param(args, "query", "ca"), true], + ["caOwner", param(args, "query", "caOwner"), true], + ["duration", param(args, "query", "duration"), true], + ["entryType", param(args, "query", "entryType"), true], + ["expirationStatus", param(args, "query", "expirationStatus"), true], + ["hasIps", param(args, "query", "hasIps"), true], + ["hasWildcards", param(args, "query", "hasWildcards"), true], + ["log", param(args, "query", "log"), true], + ["logApi", param(args, "query", "logApi"), true], + ["logOperator", param(args, "query", "logOperator"), true], + ["publicKeyAlgorithm", param(args, "query", "publicKeyAlgorithm"), true], + ["signatureAlgorithm", param(args, "query", "signatureAlgorithm"), true], + ["tld", param(args, "query", "tld"), true], + ["validationLevel", param(args, "query", "validationLevel"), true], + ["uniqueEntries", param(args, "query", "uniqueEntries"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_ct_timeseries_groups", + name: "radar_ct_timeseriesGroups", title: "Get time series of certificate distribution by dimension", description: "Retrieves the distribution of certificates grouped by the specified dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "ca": { - "description": "Filters results by certificate authority.", - "items": { - "type": "string" - }, - "type": "array" - }, - "ca_owner": { - "description": "Filters results by certificate authority owner.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the certificate attribute by which to group the results.", - "enum": [ - "CA", - "CA_OWNER", - "DURATION", - "ENTRY_TYPE", - "EXPIRATION_STATUS", - "HAS_IPS", - "HAS_WILDCARDS", - "LOG", - "LOG_API", - "LOG_OPERATOR", - "PUBLIC_KEY_ALGORITHM", - "SIGNATURE_ALGORITHM", - "TLD", - "VALIDATION_LEVEL" - ], - "type": "string" - }, - "duration": { - "description": "Filters results by certificate duration.", - "items": { - "enum": [ - "LTE_3D", - "GT_3D_LTE_7D", - "GT_7D_LTE_10D", - "GT_10D_LTE_47D", - "GT_47D_LTE_100D", - "GT_100D_LTE_200D", - "GT_200D" - ], - "type": "string" - }, - "type": "array" - }, - "entry_type": { - "description": "Filters results by entry type (certificate vs. pre-certificate). Incompatible with the `tld` filter/dimension.", - "items": { - "enum": [ - "PRECERTIFICATE", - "CERTIFICATE" - ], - "type": "string" - }, - "type": "array" - }, - "expiration_status": { - "description": "Filters results by expiration status (expired vs. valid).", - "items": { - "enum": [ - "EXPIRED", - "VALID" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "has_ips": { - "description": "Filters results based on whether the certificates are bound to specific IP addresses.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "has_wildcards": { - "description": "Filters results based on whether the certificates contain wildcard domains.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "log": { - "description": "Filters results by certificate log. Incompatible with the `tld` filter/dimension.", - "items": { - "type": "string" - }, - "type": "array" - }, - "log_api": { - "description": "Filters results by certificate log API (RFC6962 vs. static). Incompatible with the `tld` filter/dimension.", - "items": { - "enum": [ - "RFC6962", - "STATIC" - ], - "type": "string" - }, - "type": "array" - }, - "log_operator": { - "description": "Filters results by certificate log operator. Incompatible with the `tld` filter/dimension.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the certificate attribute by which to group the results.", + "enum": [ + "CA", + "CA_OWNER", + "DURATION", + "ENTRY_TYPE", + "EXPIRATION_STATUS", + "HAS_IPS", + "HAS_WILDCARDS", + "LOG", + "LOG_API", + "LOG_OPERATOR", + "PUBLIC_KEY_ALGORITHM", + "SIGNATURE_ALGORITHM", + "TLD", + "VALIDATION_LEVEL" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "RAW_VALUES", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", - "enum": [ - "RAW_VALUES", - "PERCENTAGE" + "required": [ + "dimension" ], - "type": "string" - }, - "public_key_algorithm": { - "description": "Filters results by public key algorithm.", - "items": { - "enum": [ - "DSA", - "ECDSA", - "RSA" - ], - "type": "string" - }, - "type": "array" - }, - "signature_algorithm": { - "description": "Filters results by signature algorithm.", - "items": { - "enum": [ - "DSA_SHA_1", - "DSA_SHA_256", - "ECDSA_SHA_1", - "ECDSA_SHA_256", - "ECDSA_SHA_384", - "ECDSA_SHA_512", - "PSS_SHA_256", - "PSS_SHA_384", - "PSS_SHA_512", - "RSA_MD2", - "RSA_MD5", - "RSA_SHA_1", - "RSA_SHA_256", - "RSA_SHA_384", - "RSA_SHA_512" - ], - "type": "string" - }, - "type": "array" - }, - "tld": { - "description": "Filters results by top-level domain. Incompatible with the `log`, `logApi`, `logOperator`, and `entryType` filters/dimensions.", - "items": { - "type": "string" - }, - "type": "array" - }, - "unique_entries": { - "description": "Specifies whether to filter out duplicate certificates and pre-certificates. Set to true for unique entries only.", - "items": { - "enum": [ - "true", - "false" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "validation_level": { - "description": "Filters results by validation level.", - "items": { - "enum": [ - "DOMAIN", - "ORGANIZATION", - "EXTENDED" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "ca": { + "description": "Filters results by certificate authority.", + "items": { + "type": "string" + }, + "type": "array" + }, + "caOwner": { + "description": "Filters results by certificate authority owner.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "duration": { + "description": "Filters results by certificate duration.", + "items": { + "enum": [ + "LTE_3D", + "GT_3D_LTE_7D", + "GT_7D_LTE_10D", + "GT_10D_LTE_47D", + "GT_47D_LTE_100D", + "GT_100D_LTE_200D", + "GT_200D" + ], + "type": "string" + }, + "type": "array" + }, + "entryType": { + "description": "Filters results by entry type (certificate vs. pre-certificate). Incompatible with the `tld` filter/dimension.", + "items": { + "enum": [ + "PRECERTIFICATE", + "CERTIFICATE" + ], + "type": "string" + }, + "type": "array" + }, + "expirationStatus": { + "description": "Filters results by expiration status (expired vs. valid).", + "items": { + "enum": [ + "EXPIRED", + "VALID" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "hasIps": { + "description": "Filters results based on whether the certificates are bound to specific IP addresses.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "hasWildcards": { + "description": "Filters results based on whether the certificates contain wildcard domains.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "log": { + "description": "Filters results by certificate log. Incompatible with the `tld` filter/dimension.", + "items": { + "type": "string" + }, + "type": "array" + }, + "logApi": { + "description": "Filters results by certificate log API (RFC6962 vs. static). Incompatible with the `tld` filter/dimension.", + "items": { + "enum": [ + "RFC6962", + "STATIC" + ], + "type": "string" + }, + "type": "array" + }, + "logOperator": { + "description": "Filters results by certificate log operator. Incompatible with the `tld` filter/dimension.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "RAW_VALUES", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", + "enum": [ + "RAW_VALUES", + "PERCENTAGE" + ], + "type": "string" + }, + "publicKeyAlgorithm": { + "description": "Filters results by public key algorithm.", + "items": { + "enum": [ + "DSA", + "ECDSA", + "RSA" + ], + "type": "string" + }, + "type": "array" + }, + "signatureAlgorithm": { + "description": "Filters results by signature algorithm.", + "items": { + "enum": [ + "DSA_SHA_1", + "DSA_SHA_256", + "ECDSA_SHA_1", + "ECDSA_SHA_256", + "ECDSA_SHA_384", + "ECDSA_SHA_512", + "PSS_SHA_256", + "PSS_SHA_384", + "PSS_SHA_512", + "RSA_MD2", + "RSA_MD5", + "RSA_SHA_1", + "RSA_SHA_256", + "RSA_SHA_384", + "RSA_SHA_512" + ], + "type": "string" + }, + "type": "array" + }, + "tld": { + "description": "Filters results by top-level domain. Incompatible with the `log`, `logApi`, `logOperator`, and `entryType` filters/dimensions.", + "items": { + "type": "string" + }, + "type": "array" + }, + "uniqueEntries": { + "description": "Specifies whether to filter out duplicate certificates and pre-certificates. Set to true for unique entries only.", + "items": { + "enum": [ + "true", + "false" + ], + "type": "string" + }, + "type": "array" + }, + "validationLevel": { + "description": "Filters results by validation level.", + "items": { + "enum": [ + "DOMAIN", + "ORGANIZATION", + "EXTENDED" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -2828,29 +2859,29 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ct/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["ca", args["ca"], true], - ["caOwner", args["ca_owner"], true], - ["duration", args["duration"], true], - ["entryType", args["entry_type"], true], - ["expirationStatus", args["expiration_status"], true], - ["hasIps", args["has_ips"], true], - ["hasWildcards", args["has_wildcards"], true], - ["log", args["log"], true], - ["logApi", args["log_api"], true], - ["logOperator", args["log_operator"], true], - ["publicKeyAlgorithm", args["public_key_algorithm"], true], - ["signatureAlgorithm", args["signature_algorithm"], true], - ["validationLevel", args["validation_level"], true], - ["tld", args["tld"], true], - ["normalization", args["normalization"], true], - ["uniqueEntries", args["unique_entries"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["ca", param(args, "query", "ca"), true], + ["caOwner", param(args, "query", "caOwner"), true], + ["duration", param(args, "query", "duration"), true], + ["entryType", param(args, "query", "entryType"), true], + ["expirationStatus", param(args, "query", "expirationStatus"), true], + ["hasIps", param(args, "query", "hasIps"), true], + ["hasWildcards", param(args, "query", "hasWildcards"), true], + ["log", param(args, "query", "log"), true], + ["logApi", param(args, "query", "logApi"), true], + ["logOperator", param(args, "query", "logOperator"), true], + ["publicKeyAlgorithm", param(args, "query", "publicKeyAlgorithm"), true], + ["signatureAlgorithm", param(args, "query", "signatureAlgorithm"), true], + ["validationLevel", param(args, "query", "validationLevel"), true], + ["tld", param(args, "query", "tld"), true], + ["normalization", param(args, "query", "normalization"), true], + ["uniqueEntries", param(args, "query", "uniqueEntries"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/datasets/tools.ts b/src/generated/forge-mcp/radar/datasets/tools.ts index 7c250aa7c..8f35996fa 100644 --- a/src/generated/forge-mcp/radar/datasets/tools.ts +++ b/src/generated/forge-mcp/radar/datasets/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.datasets`. @@ -25,13 +25,18 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, }, @@ -147,7 +152,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/datasets/download`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -159,13 +164,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "alias": { - "description": "Dataset alias or ID.", - "type": "string" + "path": { + "properties": { + "alias": { + "description": "Dataset alias or ID.", + "type": "string" + } + }, + "required": [ + "alias" + ], + "type": "object" } }, required: [ - "alias" + "path" ], }, annotations: { @@ -235,36 +248,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "dataset_type": { - "default": "RANKING_BUCKET", - "description": "Filters results by dataset type.", - "enum": [ - "RANKING_BUCKET", - "REPORT" - ], - "type": "string" - }, - "date": { - "description": "Filters results by the specified date.", - "format": "date", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" + "query": { + "properties": { + "datasetType": { + "default": "RANKING_BUCKET", + "description": "Filters results by dataset type.", + "enum": [ + "RANKING_BUCKET", + "REPORT" + ], + "type": "string" + }, + "date": { + "description": "Filters results by the specified date.", + "format": "date", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -440,11 +458,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/datasets`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["datasetType", args["dataset_type"], true], - ["date", args["date"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["datasetType", param(args, "query", "datasetType"), true], + ["date", param(args, "query", "date"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/dns/tools.ts b/src/generated/forge-mcp/radar/dns/tools.ts index 929f01c00..4286ee34b 100644 --- a/src/generated/forge-mcp/radar/dns/tools.ts +++ b/src/generated/forge-mcp/radar/dns/tools.ts @@ -1,339 +1,352 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.dns`. */ export const tools: readonly Tool[] = [ { - name: "radar_dns_summary_v2", + name: "radar_dns_summaryV2", title: "Get DNS summary by dimension", description: "Retrieves the distribution of DNS queries by the specified dimension.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "cache_hit": { - "description": "Filters results based on cache status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results. Grouping by `TLD_DNS_MAGNITUDE` does not support sub-daily aggregation intervals; `15m` and `1h` are raised to `1d`.", - "enum": [ - "AS", - "CACHE_HIT", - "DNSSEC", - "DNSSEC_AWARE", - "DNSSEC_E2E", - "IP_VERSION", - "LOCATION", - "MATCHING_ANSWER", - "PROTOCOL", - "QUERY_TYPE", - "RESPONSE_CODE", - "RESPONSE_TTL", - "TLD", - "TLD_DNS_MAGNITUDE" - ], - "type": "string" - }, - "dnssec": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", - "items": { - "enum": [ - "INVALID", - "INSECURE", - "SECURE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_aware": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", - "items": { - "enum": [ - "SUPPORTED", - "NOT_SUPPORTED" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_e2e": { - "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "matching_answer": { - "description": "Filters results based on whether the queries have a matching answer.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results. Grouping by `TLD_DNS_MAGNITUDE` does not support sub-daily aggregation intervals; `15m` and `1h` are raised to `1d`.", + "enum": [ + "AS", + "CACHE_HIT", + "DNSSEC", + "DNSSEC_AWARE", + "DNSSEC_E2E", + "IP_VERSION", + "LOCATION", + "MATCHING_ANSWER", + "PROTOCOL", + "QUERY_TYPE", + "RESPONSE_CODE", + "RESPONSE_TTL", + "TLD", + "TLD_DNS_MAGNITUDE" + ], + "type": "string" + } }, - "type": "array" - }, - "nodata": { - "default": [ - "true" + "required": [ + "dimension" ], - "description": "Specifies whether the response includes empty DNS responses (NODATA).", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "protocol": { - "description": "Filters results by DNS transport protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "HTTPS", - "TLS" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "query_type": { - "description": "Filters results by DNS query type.", - "items": { - "oneOf": [ - { + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "cacheHit": { + "description": "Filters results based on cache status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dnssec": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", + "items": { + "enum": [ + "INVALID", + "INSECURE", + "SECURE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecAware": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", + "items": { + "enum": [ + "SUPPORTED", + "NOT_SUPPORTED" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecE2e": { + "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "matchingAnswer": { + "description": "Filters results based on whether the queries have a matching answer.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "nodata": { + "default": [ + "true" + ], + "description": "Specifies whether the response includes empty DNS responses (NODATA).", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "protocol": { + "description": "Filters results by DNS transport protocol.", + "items": { "enum": [ - "A", - "AAAA", - "A6", - "AFSDB", - "ANY", - "APL", - "ATMA", - "AXFR", - "CAA", - "CDNSKEY", - "CDS", - "CERT", - "CNAME", - "CSYNC", - "DHCID", - "DLV", - "DNAME", - "DNSKEY", - "DOA", - "DS", - "EID", - "EUI48", - "EUI64", - "GPOS", - "GID", - "HINFO", - "HIP", + "UDP", + "TCP", "HTTPS", - "IPSECKEY", - "ISDN", - "IXFR", - "KEY", - "KX", - "L32", - "L64", - "LOC", - "LP", - "MAILA", - "MAILB", - "MB", - "MD", - "MF", - "MG", - "MINFO", - "MR", - "MX", - "NAPTR", - "NB", - "NBSTAT", - "NID", - "NIMLOC", - "NINFO", - "NS", - "NSAP", - "NSEC", - "NSEC3", - "NSEC3PARAM", - "NULL", - "NXT", - "OPENPGPKEY", - "OPT", - "PTR", - "PX", - "RKEY", - "RP", - "RRSIG", - "RT", - "SIG", - "SINK", - "SMIMEA", - "SOA", - "SPF", - "SRV", - "SSHFP", - "SVCB", - "TA", - "TALINK", - "TKEY", - "TLSA", - "TSIG", - "TXT", - "UINFO", - "UID", - "UNSPEC", - "URI", - "WKS", - "X25", - "ZONEMD" + "TLS" ], "type": "string" }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "response_code": { - "description": "Filters results by DNS response code.", - "items": { - "enum": [ - "NOERROR", - "FORMERR", - "SERVFAIL", - "NXDOMAIN", - "NOTIMP", - "REFUSED", - "YXDOMAIN", - "YXRRSET", - "NXRRSET", - "NOTAUTH", - "NOTZONE", - "BADSIG", - "BADKEY", - "BADTIME", - "BADMODE", - "BADNAME", - "BADALG", - "BADTRUNC", - "BADCOOKIE" - ], - "type": "string" - }, - "type": "array" - }, - "response_ttl": { - "description": "Filters results by DNS response TTL.", - "items": { - "enum": [ - "LTE_1M", - "GT_1M_LTE_5M", - "GT_5M_LTE_15M", - "GT_15M_LTE_1H", - "GT_1H_LTE_1D", - "GT_1D_LTE_1W", - "GT_1W" - ], - "type": "string" - }, - "type": "array" - }, - "tld": { - "description": "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", - "items": { - "type": "string" + "type": "array" + }, + "queryType": { + "description": "Filters results by DNS query type.", + "items": { + "oneOf": [ + { + "enum": [ + "A", + "AAAA", + "A6", + "AFSDB", + "ANY", + "APL", + "ATMA", + "AXFR", + "CAA", + "CDNSKEY", + "CDS", + "CERT", + "CNAME", + "CSYNC", + "DHCID", + "DLV", + "DNAME", + "DNSKEY", + "DOA", + "DS", + "EID", + "EUI48", + "EUI64", + "GPOS", + "GID", + "HINFO", + "HIP", + "HTTPS", + "IPSECKEY", + "ISDN", + "IXFR", + "KEY", + "KX", + "L32", + "L64", + "LOC", + "LP", + "MAILA", + "MAILB", + "MB", + "MD", + "MF", + "MG", + "MINFO", + "MR", + "MX", + "NAPTR", + "NB", + "NBSTAT", + "NID", + "NIMLOC", + "NINFO", + "NS", + "NSAP", + "NSEC", + "NSEC3", + "NSEC3PARAM", + "NULL", + "NXT", + "OPENPGPKEY", + "OPT", + "PTR", + "PX", + "RKEY", + "RP", + "RRSIG", + "RT", + "SIG", + "SINK", + "SMIMEA", + "SOA", + "SPF", + "SRV", + "SSHFP", + "SVCB", + "TA", + "TALINK", + "TKEY", + "TLSA", + "TSIG", + "TXT", + "UINFO", + "UID", + "UNSPEC", + "URI", + "WKS", + "X25", + "ZONEMD" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "responseCode": { + "description": "Filters results by DNS response code.", + "items": { + "enum": [ + "NOERROR", + "FORMERR", + "SERVFAIL", + "NXDOMAIN", + "NOTIMP", + "REFUSED", + "YXDOMAIN", + "YXRRSET", + "NXRRSET", + "NOTAUTH", + "NOTZONE", + "BADSIG", + "BADKEY", + "BADTIME", + "BADMODE", + "BADNAME", + "BADALG", + "BADTRUNC", + "BADCOOKIE" + ], + "type": "string" + }, + "type": "array" + }, + "responseTtl": { + "description": "Filters results by DNS response TTL.", + "items": { + "enum": [ + "LTE_1M", + "GT_1M_LTE_5M", + "GT_5M_LTE_15M", + "GT_15M_LTE_1H", + "GT_1H_LTE_1D", + "GT_1D_LTE_1W", + "GT_1W" + ], + "type": "string" + }, + "type": "array" + }, + "tld": { + "description": "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -766,27 +779,27 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/dns/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["cacheHit", args["cache_hit"], true], - ["nodata", args["nodata"], true], - ["protocol", args["protocol"], true], - ["queryType", args["query_type"], true], - ["responseCode", args["response_code"], true], - ["responseTtl", args["response_ttl"], true], - ["dnssec", args["dnssec"], true], - ["dnssecAware", args["dnssec_aware"], true], - ["dnssecE2e", args["dnssec_e2e"], true], - ["ipVersion", args["ip_version"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["matchingAnswer", args["matching_answer"], true], - ["tld", args["tld"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["cacheHit", param(args, "query", "cacheHit"), true], + ["nodata", param(args, "query", "nodata"), true], + ["protocol", param(args, "query", "protocol"), true], + ["queryType", param(args, "query", "queryType"), true], + ["responseCode", param(args, "query", "responseCode"), true], + ["responseTtl", param(args, "query", "responseTtl"), true], + ["dnssec", param(args, "query", "dnssec"), true], + ["dnssecAware", param(args, "query", "dnssecAware"), true], + ["dnssecE2e", param(args, "query", "dnssecE2e"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["matchingAnswer", param(args, "query", "matchingAnswer"), true], + ["tld", param(args, "query", "tld"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -797,308 +810,313 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "cache_hit": { - "description": "Filters results based on cache status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dnssec": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", - "items": { - "enum": [ - "INVALID", - "INSECURE", - "SECURE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_aware": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", - "items": { - "enum": [ - "SUPPORTED", - "NOT_SUPPORTED" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_e2e": { - "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "matching_answer": { - "description": "Filters results based on whether the queries have a matching answer.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nodata": { - "default": [ - "true" - ], - "description": "Specifies whether the response includes empty DNS responses (NODATA).", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "protocol": { - "description": "Filters results by DNS transport protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "HTTPS", - "TLS" - ], - "type": "string" - }, - "type": "array" - }, - "query_type": { - "description": "Filters results by DNS query type.", - "items": { - "oneOf": [ - { + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "cacheHit": { + "description": "Filters results based on cache status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dnssec": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", + "items": { "enum": [ - "A", - "AAAA", - "A6", - "AFSDB", - "ANY", - "APL", - "ATMA", - "AXFR", - "CAA", - "CDNSKEY", - "CDS", - "CERT", - "CNAME", - "CSYNC", - "DHCID", - "DLV", - "DNAME", - "DNSKEY", - "DOA", - "DS", - "EID", - "EUI48", - "EUI64", - "GPOS", - "GID", - "HINFO", - "HIP", + "INVALID", + "INSECURE", + "SECURE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecAware": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", + "items": { + "enum": [ + "SUPPORTED", + "NOT_SUPPORTED" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecE2e": { + "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "matchingAnswer": { + "description": "Filters results based on whether the queries have a matching answer.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "nodata": { + "default": [ + "true" + ], + "description": "Specifies whether the response includes empty DNS responses (NODATA).", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "protocol": { + "description": "Filters results by DNS transport protocol.", + "items": { + "enum": [ + "UDP", + "TCP", "HTTPS", - "IPSECKEY", - "ISDN", - "IXFR", - "KEY", - "KX", - "L32", - "L64", - "LOC", - "LP", - "MAILA", - "MAILB", - "MB", - "MD", - "MF", - "MG", - "MINFO", - "MR", - "MX", - "NAPTR", - "NB", - "NBSTAT", - "NID", - "NIMLOC", - "NINFO", - "NS", - "NSAP", - "NSEC", - "NSEC3", - "NSEC3PARAM", - "NULL", - "NXT", - "OPENPGPKEY", - "OPT", - "PTR", - "PX", - "RKEY", - "RP", - "RRSIG", - "RT", - "SIG", - "SINK", - "SMIMEA", - "SOA", - "SPF", - "SRV", - "SSHFP", - "SVCB", - "TA", - "TALINK", - "TKEY", - "TLSA", - "TSIG", - "TXT", - "UINFO", - "UID", - "UNSPEC", - "URI", - "WKS", - "X25", - "ZONEMD" + "TLS" ], "type": "string" }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "response_code": { - "description": "Filters results by DNS response code.", - "items": { - "enum": [ - "NOERROR", - "FORMERR", - "SERVFAIL", - "NXDOMAIN", - "NOTIMP", - "REFUSED", - "YXDOMAIN", - "YXRRSET", - "NXRRSET", - "NOTAUTH", - "NOTZONE", - "BADSIG", - "BADKEY", - "BADTIME", - "BADMODE", - "BADNAME", - "BADALG", - "BADTRUNC", - "BADCOOKIE" - ], - "type": "string" - }, - "type": "array" - }, - "response_ttl": { - "description": "Filters results by DNS response TTL.", - "items": { - "enum": [ - "LTE_1M", - "GT_1M_LTE_5M", - "GT_5M_LTE_15M", - "GT_15M_LTE_1H", - "GT_1H_LTE_1D", - "GT_1D_LTE_1W", - "GT_1W" - ], - "type": "string" - }, - "type": "array" - }, - "tld": { - "description": "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", - "items": { - "type": "string" + "type": "array" + }, + "queryType": { + "description": "Filters results by DNS query type.", + "items": { + "oneOf": [ + { + "enum": [ + "A", + "AAAA", + "A6", + "AFSDB", + "ANY", + "APL", + "ATMA", + "AXFR", + "CAA", + "CDNSKEY", + "CDS", + "CERT", + "CNAME", + "CSYNC", + "DHCID", + "DLV", + "DNAME", + "DNSKEY", + "DOA", + "DS", + "EID", + "EUI48", + "EUI64", + "GPOS", + "GID", + "HINFO", + "HIP", + "HTTPS", + "IPSECKEY", + "ISDN", + "IXFR", + "KEY", + "KX", + "L32", + "L64", + "LOC", + "LP", + "MAILA", + "MAILB", + "MB", + "MD", + "MF", + "MG", + "MINFO", + "MR", + "MX", + "NAPTR", + "NB", + "NBSTAT", + "NID", + "NIMLOC", + "NINFO", + "NS", + "NSAP", + "NSEC", + "NSEC3", + "NSEC3PARAM", + "NULL", + "NXT", + "OPENPGPKEY", + "OPT", + "PTR", + "PX", + "RKEY", + "RP", + "RRSIG", + "RT", + "SIG", + "SINK", + "SMIMEA", + "SOA", + "SPF", + "SRV", + "SSHFP", + "SVCB", + "TA", + "TALINK", + "TKEY", + "TLSA", + "TSIG", + "TXT", + "UINFO", + "UID", + "UNSPEC", + "URI", + "WKS", + "X25", + "ZONEMD" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "responseCode": { + "description": "Filters results by DNS response code.", + "items": { + "enum": [ + "NOERROR", + "FORMERR", + "SERVFAIL", + "NXDOMAIN", + "NOTIMP", + "REFUSED", + "YXDOMAIN", + "YXRRSET", + "NXRRSET", + "NOTAUTH", + "NOTZONE", + "BADSIG", + "BADKEY", + "BADTIME", + "BADMODE", + "BADNAME", + "BADALG", + "BADTRUNC", + "BADCOOKIE" + ], + "type": "string" + }, + "type": "array" + }, + "responseTtl": { + "description": "Filters results by DNS response TTL.", + "items": { + "enum": [ + "LTE_1M", + "GT_1M_LTE_5M", + "GT_5M_LTE_15M", + "GT_15M_LTE_1H", + "GT_1H_LTE_1D", + "GT_1D_LTE_1W", + "GT_1W" + ], + "type": "string" + }, + "type": "array" + }, + "tld": { + "description": "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1584,377 +1602,390 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/dns/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["cacheHit", args["cache_hit"], true], - ["nodata", args["nodata"], true], - ["protocol", args["protocol"], true], - ["queryType", args["query_type"], true], - ["responseCode", args["response_code"], true], - ["responseTtl", args["response_ttl"], true], - ["dnssec", args["dnssec"], true], - ["dnssecAware", args["dnssec_aware"], true], - ["dnssecE2e", args["dnssec_e2e"], true], - ["ipVersion", args["ip_version"], true], - ["matchingAnswer", args["matching_answer"], true], - ["tld", args["tld"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["cacheHit", param(args, "query", "cacheHit"), true], + ["nodata", param(args, "query", "nodata"), true], + ["protocol", param(args, "query", "protocol"), true], + ["queryType", param(args, "query", "queryType"), true], + ["responseCode", param(args, "query", "responseCode"), true], + ["responseTtl", param(args, "query", "responseTtl"), true], + ["dnssec", param(args, "query", "dnssec"), true], + ["dnssecAware", param(args, "query", "dnssecAware"), true], + ["dnssecE2e", param(args, "query", "dnssecE2e"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["matchingAnswer", param(args, "query", "matchingAnswer"), true], + ["tld", param(args, "query", "tld"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_dns_timeseries_groups_v2", + name: "radar_dns_timeseriesGroupsV2", title: "Get DNS time series grouped by dimension", description: "Retrieves the distribution of DNS queries grouped by dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "cache_hit": { - "description": "Filters results based on cache status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results. Grouping by `TLD_DNS_MAGNITUDE` does not support sub-daily aggregation intervals; `15m` and `1h` are raised to `1d`.", - "enum": [ - "AS", - "CACHE_HIT", - "DNSSEC", - "DNSSEC_AWARE", - "DNSSEC_E2E", - "IP_VERSION", - "LOCATION", - "MATCHING_ANSWER", - "PROTOCOL", - "QUERY_TYPE", - "RESPONSE_CODE", - "RESPONSE_TTL", - "TLD", - "TLD_DNS_MAGNITUDE" - ], - "type": "string" - }, - "dnssec": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", - "items": { - "enum": [ - "INVALID", - "INSECURE", - "SECURE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_aware": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", - "items": { - "enum": [ - "SUPPORTED", - "NOT_SUPPORTED" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_e2e": { - "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "matching_answer": { - "description": "Filters results based on whether the queries have a matching answer.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nodata": { - "default": [ - "true" - ], - "description": "Specifies whether the response includes empty DNS responses (NODATA).", - "items": { - "type": "boolean" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results. Grouping by `TLD_DNS_MAGNITUDE` does not support sub-daily aggregation intervals; `15m` and `1h` are raised to `1d`.", + "enum": [ + "AS", + "CACHE_HIT", + "DNSSEC", + "DNSSEC_AWARE", + "DNSSEC_E2E", + "IP_VERSION", + "LOCATION", + "MATCHING_ANSWER", + "PROTOCOL", + "QUERY_TYPE", + "RESPONSE_CODE", + "RESPONSE_TTL", + "TLD", + "TLD_DNS_MAGNITUDE" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `RANK` is only meaningful with the `TLD_DNS_MAGNITUDE` dimension, where it ranks TLDs by DNS query magnitude at each timestamp; for other dimensions it has no effect.", - "enum": [ - "PERCENTAGE", - "MIN0_MAX", - "RANK" + "required": [ + "dimension" ], - "type": "string" - }, - "protocol": { - "description": "Filters results by DNS transport protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "HTTPS", - "TLS" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "query_type": { - "description": "Filters results by DNS query type.", - "items": { - "oneOf": [ - { + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "cacheHit": { + "description": "Filters results based on cache status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dnssec": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", + "items": { + "enum": [ + "INVALID", + "INSECURE", + "SECURE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecAware": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", + "items": { + "enum": [ + "SUPPORTED", + "NOT_SUPPORTED" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecE2e": { + "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "matchingAnswer": { + "description": "Filters results based on whether the queries have a matching answer.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "nodata": { + "default": [ + "true" + ], + "description": "Specifies whether the response includes empty DNS responses (NODATA).", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `RANK` is only meaningful with the `TLD_DNS_MAGNITUDE` dimension, where it ranks TLDs by DNS query magnitude at each timestamp; for other dimensions it has no effect.", + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "RANK" + ], + "type": "string" + }, + "protocol": { + "description": "Filters results by DNS transport protocol.", + "items": { "enum": [ - "A", - "AAAA", - "A6", - "AFSDB", - "ANY", - "APL", - "ATMA", - "AXFR", - "CAA", - "CDNSKEY", - "CDS", - "CERT", - "CNAME", - "CSYNC", - "DHCID", - "DLV", - "DNAME", - "DNSKEY", - "DOA", - "DS", - "EID", - "EUI48", - "EUI64", - "GPOS", - "GID", - "HINFO", - "HIP", + "UDP", + "TCP", "HTTPS", - "IPSECKEY", - "ISDN", - "IXFR", - "KEY", - "KX", - "L32", - "L64", - "LOC", - "LP", - "MAILA", - "MAILB", - "MB", - "MD", - "MF", - "MG", - "MINFO", - "MR", - "MX", - "NAPTR", - "NB", - "NBSTAT", - "NID", - "NIMLOC", - "NINFO", - "NS", - "NSAP", - "NSEC", - "NSEC3", - "NSEC3PARAM", - "NULL", - "NXT", - "OPENPGPKEY", - "OPT", - "PTR", - "PX", - "RKEY", - "RP", - "RRSIG", - "RT", - "SIG", - "SINK", - "SMIMEA", - "SOA", - "SPF", - "SRV", - "SSHFP", - "SVCB", - "TA", - "TALINK", - "TKEY", - "TLSA", - "TSIG", - "TXT", - "UINFO", - "UID", - "UNSPEC", - "URI", - "WKS", - "X25", - "ZONEMD" + "TLS" ], "type": "string" }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "response_code": { - "description": "Filters results by DNS response code.", - "items": { - "enum": [ - "NOERROR", - "FORMERR", - "SERVFAIL", - "NXDOMAIN", - "NOTIMP", - "REFUSED", - "YXDOMAIN", - "YXRRSET", - "NXRRSET", - "NOTAUTH", - "NOTZONE", - "BADSIG", - "BADKEY", - "BADTIME", - "BADMODE", - "BADNAME", - "BADALG", - "BADTRUNC", - "BADCOOKIE" - ], - "type": "string" - }, - "type": "array" - }, - "response_ttl": { - "description": "Filters results by DNS response TTL.", - "items": { - "enum": [ - "LTE_1M", - "GT_1M_LTE_5M", - "GT_5M_LTE_15M", - "GT_15M_LTE_1H", - "GT_1H_LTE_1D", - "GT_1D_LTE_1W", - "GT_1W" - ], - "type": "string" - }, - "type": "array" - }, - "tld": { - "description": "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", - "items": { - "type": "string" + "type": "array" + }, + "queryType": { + "description": "Filters results by DNS query type.", + "items": { + "oneOf": [ + { + "enum": [ + "A", + "AAAA", + "A6", + "AFSDB", + "ANY", + "APL", + "ATMA", + "AXFR", + "CAA", + "CDNSKEY", + "CDS", + "CERT", + "CNAME", + "CSYNC", + "DHCID", + "DLV", + "DNAME", + "DNSKEY", + "DOA", + "DS", + "EID", + "EUI48", + "EUI64", + "GPOS", + "GID", + "HINFO", + "HIP", + "HTTPS", + "IPSECKEY", + "ISDN", + "IXFR", + "KEY", + "KX", + "L32", + "L64", + "LOC", + "LP", + "MAILA", + "MAILB", + "MB", + "MD", + "MF", + "MG", + "MINFO", + "MR", + "MX", + "NAPTR", + "NB", + "NBSTAT", + "NID", + "NIMLOC", + "NINFO", + "NS", + "NSAP", + "NSEC", + "NSEC3", + "NSEC3PARAM", + "NULL", + "NXT", + "OPENPGPKEY", + "OPT", + "PTR", + "PX", + "RKEY", + "RP", + "RRSIG", + "RT", + "SIG", + "SINK", + "SMIMEA", + "SOA", + "SPF", + "SRV", + "SSHFP", + "SVCB", + "TA", + "TALINK", + "TKEY", + "TLSA", + "TSIG", + "TXT", + "UINFO", + "UID", + "UNSPEC", + "URI", + "WKS", + "X25", + "ZONEMD" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "responseCode": { + "description": "Filters results by DNS response code.", + "items": { + "enum": [ + "NOERROR", + "FORMERR", + "SERVFAIL", + "NXDOMAIN", + "NOTIMP", + "REFUSED", + "YXDOMAIN", + "YXRRSET", + "NXRRSET", + "NOTAUTH", + "NOTZONE", + "BADSIG", + "BADKEY", + "BADTIME", + "BADMODE", + "BADNAME", + "BADALG", + "BADTRUNC", + "BADCOOKIE" + ], + "type": "string" + }, + "type": "array" + }, + "responseTtl": { + "description": "Filters results by DNS response TTL.", + "items": { + "enum": [ + "LTE_1M", + "GT_1M_LTE_5M", + "GT_5M_LTE_15M", + "GT_15M_LTE_1H", + "GT_1H_LTE_1D", + "GT_1D_LTE_1W", + "GT_1W" + ], + "type": "string" + }, + "type": "array" + }, + "tld": { + "description": "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -2439,29 +2470,29 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/dns/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["cacheHit", args["cache_hit"], true], - ["nodata", args["nodata"], true], - ["protocol", args["protocol"], true], - ["queryType", args["query_type"], true], - ["responseCode", args["response_code"], true], - ["responseTtl", args["response_ttl"], true], - ["dnssec", args["dnssec"], true], - ["dnssecAware", args["dnssec_aware"], true], - ["dnssecE2e", args["dnssec_e2e"], true], - ["ipVersion", args["ip_version"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["matchingAnswer", args["matching_answer"], true], - ["tld", args["tld"], true], - ["normalization", args["normalization"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["cacheHit", param(args, "query", "cacheHit"), true], + ["nodata", param(args, "query", "nodata"), true], + ["protocol", param(args, "query", "protocol"), true], + ["queryType", param(args, "query", "queryType"), true], + ["responseCode", param(args, "query", "responseCode"), true], + ["responseTtl", param(args, "query", "responseTtl"), true], + ["dnssec", param(args, "query", "dnssec"), true], + ["dnssecAware", param(args, "query", "dnssecAware"), true], + ["dnssecE2e", param(args, "query", "dnssecE2e"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["matchingAnswer", param(args, "query", "matchingAnswer"), true], + ["tld", param(args, "query", "tld"), true], + ["normalization", param(args, "query", "normalization"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/dns/top/tools.ts b/src/generated/forge-mcp/radar/dns/top/tools.ts index 264632e96..cba93ab69 100644 --- a/src/generated/forge-mcp/radar/dns/top/tools.ts +++ b/src/generated/forge-mcp/radar/dns/top/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.dns.top`. @@ -14,303 +14,308 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "cache_hit": { - "description": "Filters results based on cache status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dnssec": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", - "items": { - "enum": [ - "INVALID", - "INSECURE", - "SECURE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_aware": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", - "items": { - "enum": [ - "SUPPORTED", - "NOT_SUPPORTED" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_e2e": { - "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "domain": { - "description": "Filters results by domain name. When set, no other DNS filter may be used — only date filtering (`dateRange`, or `dateStart`/`dateEnd`) is allowed — and the date range cannot exceed 31 days.", - "items": { - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "matching_answer": { - "description": "Filters results based on whether the queries have a matching answer.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nodata": { - "default": [ - "true" - ], - "description": "Specifies whether the response includes empty DNS responses (NODATA).", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "protocol": { - "description": "Filters results by DNS transport protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "HTTPS", - "TLS" - ], - "type": "string" - }, - "type": "array" - }, - "query_type": { - "description": "Filters results by DNS query type.", - "items": { - "oneOf": [ - { + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "cacheHit": { + "description": "Filters results based on cache status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dnssec": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", + "items": { "enum": [ - "A", - "AAAA", - "A6", - "AFSDB", - "ANY", - "APL", - "ATMA", - "AXFR", - "CAA", - "CDNSKEY", - "CDS", - "CERT", - "CNAME", - "CSYNC", - "DHCID", - "DLV", - "DNAME", - "DNSKEY", - "DOA", - "DS", - "EID", - "EUI48", - "EUI64", - "GPOS", - "GID", - "HINFO", - "HIP", + "INVALID", + "INSECURE", + "SECURE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecAware": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", + "items": { + "enum": [ + "SUPPORTED", + "NOT_SUPPORTED" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecE2e": { + "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "domain": { + "description": "Filters results by domain name. When set, no other DNS filter may be used — only date filtering (`dateRange`, or `dateStart`/`dateEnd`) is allowed — and the date range cannot exceed 31 days.", + "items": { + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "matchingAnswer": { + "description": "Filters results based on whether the queries have a matching answer.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "nodata": { + "default": [ + "true" + ], + "description": "Specifies whether the response includes empty DNS responses (NODATA).", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "protocol": { + "description": "Filters results by DNS transport protocol.", + "items": { + "enum": [ + "UDP", + "TCP", "HTTPS", - "IPSECKEY", - "ISDN", - "IXFR", - "KEY", - "KX", - "L32", - "L64", - "LOC", - "LP", - "MAILA", - "MAILB", - "MB", - "MD", - "MF", - "MG", - "MINFO", - "MR", - "MX", - "NAPTR", - "NB", - "NBSTAT", - "NID", - "NIMLOC", - "NINFO", - "NS", - "NSAP", - "NSEC", - "NSEC3", - "NSEC3PARAM", - "NULL", - "NXT", - "OPENPGPKEY", - "OPT", - "PTR", - "PX", - "RKEY", - "RP", - "RRSIG", - "RT", - "SIG", - "SINK", - "SMIMEA", - "SOA", - "SPF", - "SRV", - "SSHFP", - "SVCB", - "TA", - "TALINK", - "TKEY", - "TLSA", - "TSIG", - "TXT", - "UINFO", - "UID", - "UNSPEC", - "URI", - "WKS", - "X25", - "ZONEMD" + "TLS" ], "type": "string" }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "response_code": { - "description": "Filters results by DNS response code.", - "items": { - "enum": [ - "NOERROR", - "FORMERR", - "SERVFAIL", - "NXDOMAIN", - "NOTIMP", - "REFUSED", - "YXDOMAIN", - "YXRRSET", - "NXRRSET", - "NOTAUTH", - "NOTZONE", - "BADSIG", - "BADKEY", - "BADTIME", - "BADMODE", - "BADNAME", - "BADALG", - "BADTRUNC", - "BADCOOKIE" - ], - "type": "string" - }, - "type": "array" - }, - "response_ttl": { - "description": "Filters results by DNS response TTL.", - "items": { - "enum": [ - "LTE_1M", - "GT_1M_LTE_5M", - "GT_5M_LTE_15M", - "GT_15M_LTE_1H", - "GT_1H_LTE_1D", - "GT_1D_LTE_1W", - "GT_1W" - ], - "type": "string" + "type": "array" + }, + "queryType": { + "description": "Filters results by DNS query type.", + "items": { + "oneOf": [ + { + "enum": [ + "A", + "AAAA", + "A6", + "AFSDB", + "ANY", + "APL", + "ATMA", + "AXFR", + "CAA", + "CDNSKEY", + "CDS", + "CERT", + "CNAME", + "CSYNC", + "DHCID", + "DLV", + "DNAME", + "DNSKEY", + "DOA", + "DS", + "EID", + "EUI48", + "EUI64", + "GPOS", + "GID", + "HINFO", + "HIP", + "HTTPS", + "IPSECKEY", + "ISDN", + "IXFR", + "KEY", + "KX", + "L32", + "L64", + "LOC", + "LP", + "MAILA", + "MAILB", + "MB", + "MD", + "MF", + "MG", + "MINFO", + "MR", + "MX", + "NAPTR", + "NB", + "NBSTAT", + "NID", + "NIMLOC", + "NINFO", + "NS", + "NSAP", + "NSEC", + "NSEC3", + "NSEC3PARAM", + "NULL", + "NXT", + "OPENPGPKEY", + "OPT", + "PTR", + "PX", + "RKEY", + "RP", + "RRSIG", + "RT", + "SIG", + "SINK", + "SMIMEA", + "SOA", + "SPF", + "SRV", + "SSHFP", + "SVCB", + "TA", + "TALINK", + "TKEY", + "TLSA", + "TSIG", + "TXT", + "UINFO", + "UID", + "UNSPEC", + "URI", + "WKS", + "X25", + "ZONEMD" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "responseCode": { + "description": "Filters results by DNS response code.", + "items": { + "enum": [ + "NOERROR", + "FORMERR", + "SERVFAIL", + "NXDOMAIN", + "NOTIMP", + "REFUSED", + "YXDOMAIN", + "YXRRSET", + "NXRRSET", + "NOTAUTH", + "NOTZONE", + "BADSIG", + "BADKEY", + "BADTIME", + "BADMODE", + "BADNAME", + "BADALG", + "BADTRUNC", + "BADCOOKIE" + ], + "type": "string" + }, + "type": "array" + }, + "responseTtl": { + "description": "Filters results by DNS response TTL.", + "items": { + "enum": [ + "LTE_1M", + "GT_1M_LTE_5M", + "GT_5M_LTE_15M", + "GT_15M_LTE_1H", + "GT_1H_LTE_1D", + "GT_1D_LTE_1W", + "GT_1W" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -771,27 +776,27 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/dns/top/ases`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["domain", args["domain"], true], - ["cacheHit", args["cache_hit"], true], - ["nodata", args["nodata"], true], - ["protocol", args["protocol"], true], - ["queryType", args["query_type"], true], - ["responseCode", args["response_code"], true], - ["responseTtl", args["response_ttl"], true], - ["dnssec", args["dnssec"], true], - ["dnssecAware", args["dnssec_aware"], true], - ["dnssecE2e", args["dnssec_e2e"], true], - ["ipVersion", args["ip_version"], true], - ["matchingAnswer", args["matching_answer"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["domain", param(args, "query", "domain"), true], + ["cacheHit", param(args, "query", "cacheHit"), true], + ["nodata", param(args, "query", "nodata"), true], + ["protocol", param(args, "query", "protocol"), true], + ["queryType", param(args, "query", "queryType"), true], + ["responseCode", param(args, "query", "responseCode"), true], + ["responseTtl", param(args, "query", "responseTtl"), true], + ["dnssec", param(args, "query", "dnssec"), true], + ["dnssecAware", param(args, "query", "dnssecAware"), true], + ["dnssecE2e", param(args, "query", "dnssecE2e"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["matchingAnswer", param(args, "query", "matchingAnswer"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -802,310 +807,315 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "cache_hit": { - "description": "Filters results based on cache status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dnssec": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", - "items": { - "enum": [ - "INVALID", - "INSECURE", - "SECURE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_aware": { - "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", - "items": { - "enum": [ - "SUPPORTED", - "NOT_SUPPORTED" - ], - "type": "string" - }, - "type": "array" - }, - "dnssec_e2e": { - "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "domain": { - "description": "Filters results by domain name. When set, no other DNS filter may be used — only date filtering (`dateRange`, or `dateStart`/`dateEnd`) is allowed — and the date range cannot exceed 31 days.", - "items": { - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "matching_answer": { - "description": "Filters results based on whether the queries have a matching answer.", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nodata": { - "default": [ - "true" - ], - "description": "Specifies whether the response includes empty DNS responses (NODATA).", - "items": { - "type": "boolean" - }, - "type": "array" - }, - "protocol": { - "description": "Filters results by DNS transport protocol.", - "items": { - "enum": [ - "UDP", - "TCP", - "HTTPS", - "TLS" - ], - "type": "string" - }, - "type": "array" - }, - "query_type": { - "description": "Filters results by DNS query type.", - "items": { - "oneOf": [ - { + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "cacheHit": { + "description": "Filters results based on cache status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dnssec": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) support.", + "items": { + "enum": [ + "INVALID", + "INSECURE", + "SECURE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecAware": { + "description": "Filters results based on DNSSEC (DNS Security Extensions) client awareness.", + "items": { + "enum": [ + "SUPPORTED", + "NOT_SUPPORTED" + ], + "type": "string" + }, + "type": "array" + }, + "dnssecE2e": { + "description": "Filters results based on DNSSEC-validated answers by end-to-end security status.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "domain": { + "description": "Filters results by domain name. When set, no other DNS filter may be used — only date filtering (`dateRange`, or `dateStart`/`dateEnd`) is allowed — and the date range cannot exceed 31 days.", + "items": { + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "matchingAnswer": { + "description": "Filters results based on whether the queries have a matching answer.", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "nodata": { + "default": [ + "true" + ], + "description": "Specifies whether the response includes empty DNS responses (NODATA).", + "items": { + "type": "boolean" + }, + "type": "array" + }, + "protocol": { + "description": "Filters results by DNS transport protocol.", + "items": { "enum": [ - "A", - "AAAA", - "A6", - "AFSDB", - "ANY", - "APL", - "ATMA", - "AXFR", - "CAA", - "CDNSKEY", - "CDS", - "CERT", - "CNAME", - "CSYNC", - "DHCID", - "DLV", - "DNAME", - "DNSKEY", - "DOA", - "DS", - "EID", - "EUI48", - "EUI64", - "GPOS", - "GID", - "HINFO", - "HIP", + "UDP", + "TCP", "HTTPS", - "IPSECKEY", - "ISDN", - "IXFR", - "KEY", - "KX", - "L32", - "L64", - "LOC", - "LP", - "MAILA", - "MAILB", - "MB", - "MD", - "MF", - "MG", - "MINFO", - "MR", - "MX", - "NAPTR", - "NB", - "NBSTAT", - "NID", - "NIMLOC", - "NINFO", - "NS", - "NSAP", - "NSEC", - "NSEC3", - "NSEC3PARAM", - "NULL", - "NXT", - "OPENPGPKEY", - "OPT", - "PTR", - "PX", - "RKEY", - "RP", - "RRSIG", - "RT", - "SIG", - "SINK", - "SMIMEA", - "SOA", - "SPF", - "SRV", - "SSHFP", - "SVCB", - "TA", - "TALINK", - "TKEY", - "TLSA", - "TSIG", - "TXT", - "UINFO", - "UID", - "UNSPEC", - "URI", - "WKS", - "X25", - "ZONEMD" + "TLS" ], "type": "string" }, - { - "type": "null" - } - ] - }, - "type": "array" - }, - "response_code": { - "description": "Filters results by DNS response code.", - "items": { - "enum": [ - "NOERROR", - "FORMERR", - "SERVFAIL", - "NXDOMAIN", - "NOTIMP", - "REFUSED", - "YXDOMAIN", - "YXRRSET", - "NXRRSET", - "NOTAUTH", - "NOTZONE", - "BADSIG", - "BADKEY", - "BADTIME", - "BADMODE", - "BADNAME", - "BADALG", - "BADTRUNC", - "BADCOOKIE" - ], - "type": "string" - }, - "type": "array" - }, - "response_ttl": { - "description": "Filters results by DNS response TTL.", - "items": { - "enum": [ - "LTE_1M", - "GT_1M_LTE_5M", - "GT_5M_LTE_15M", - "GT_15M_LTE_1H", - "GT_1H_LTE_1D", - "GT_1D_LTE_1W", - "GT_1W" - ], - "type": "string" - }, - "type": "array" - }, - "tld": { - "description": "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", - "items": { - "type": "string" + "type": "array" + }, + "queryType": { + "description": "Filters results by DNS query type.", + "items": { + "oneOf": [ + { + "enum": [ + "A", + "AAAA", + "A6", + "AFSDB", + "ANY", + "APL", + "ATMA", + "AXFR", + "CAA", + "CDNSKEY", + "CDS", + "CERT", + "CNAME", + "CSYNC", + "DHCID", + "DLV", + "DNAME", + "DNSKEY", + "DOA", + "DS", + "EID", + "EUI48", + "EUI64", + "GPOS", + "GID", + "HINFO", + "HIP", + "HTTPS", + "IPSECKEY", + "ISDN", + "IXFR", + "KEY", + "KX", + "L32", + "L64", + "LOC", + "LP", + "MAILA", + "MAILB", + "MB", + "MD", + "MF", + "MG", + "MINFO", + "MR", + "MX", + "NAPTR", + "NB", + "NBSTAT", + "NID", + "NIMLOC", + "NINFO", + "NS", + "NSAP", + "NSEC", + "NSEC3", + "NSEC3PARAM", + "NULL", + "NXT", + "OPENPGPKEY", + "OPT", + "PTR", + "PX", + "RKEY", + "RP", + "RRSIG", + "RT", + "SIG", + "SINK", + "SMIMEA", + "SOA", + "SPF", + "SRV", + "SSHFP", + "SVCB", + "TA", + "TALINK", + "TKEY", + "TLSA", + "TSIG", + "TXT", + "UINFO", + "UID", + "UNSPEC", + "URI", + "WKS", + "X25", + "ZONEMD" + ], + "type": "string" + }, + { + "type": "null" + } + ] + }, + "type": "array" + }, + "responseCode": { + "description": "Filters results by DNS response code.", + "items": { + "enum": [ + "NOERROR", + "FORMERR", + "SERVFAIL", + "NXDOMAIN", + "NOTIMP", + "REFUSED", + "YXDOMAIN", + "YXRRSET", + "NXRRSET", + "NOTAUTH", + "NOTZONE", + "BADSIG", + "BADKEY", + "BADTIME", + "BADMODE", + "BADNAME", + "BADALG", + "BADTRUNC", + "BADCOOKIE" + ], + "type": "string" + }, + "type": "array" + }, + "responseTtl": { + "description": "Filters results by DNS response TTL.", + "items": { + "enum": [ + "LTE_1M", + "GT_1M_LTE_5M", + "GT_5M_LTE_15M", + "GT_15M_LTE_1H", + "GT_1H_LTE_1D", + "GT_1D_LTE_1W", + "GT_1W" + ], + "type": "string" + }, + "type": "array" + }, + "tld": { + "description": "Filters results by top-level domain. Incompatible with the `ipVersion`, `protocol`, `dnssecE2e`, `dnssecAware`, `responseTtl`, and `cacheHit` filters/dimensions; this restriction does not apply to country-code TLDs (2-letter, e.g. `uk`).", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1566,28 +1576,28 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/dns/top/locations`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["domain", args["domain"], true], - ["cacheHit", args["cache_hit"], true], - ["nodata", args["nodata"], true], - ["protocol", args["protocol"], true], - ["queryType", args["query_type"], true], - ["responseCode", args["response_code"], true], - ["responseTtl", args["response_ttl"], true], - ["dnssec", args["dnssec"], true], - ["dnssecAware", args["dnssec_aware"], true], - ["dnssecE2e", args["dnssec_e2e"], true], - ["ipVersion", args["ip_version"], true], - ["matchingAnswer", args["matching_answer"], true], - ["tld", args["tld"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["domain", param(args, "query", "domain"), true], + ["cacheHit", param(args, "query", "cacheHit"), true], + ["nodata", param(args, "query", "nodata"), true], + ["protocol", param(args, "query", "protocol"), true], + ["queryType", param(args, "query", "queryType"), true], + ["responseCode", param(args, "query", "responseCode"), true], + ["responseTtl", param(args, "query", "responseTtl"), true], + ["dnssec", param(args, "query", "dnssec"), true], + ["dnssecAware", param(args, "query", "dnssecAware"), true], + ["dnssecE2e", param(args, "query", "dnssecE2e"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["matchingAnswer", param(args, "query", "matchingAnswer"), true], + ["tld", param(args, "query", "tld"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/email/routing/tools.ts b/src/generated/forge-mcp/radar/email/routing/tools.ts index db1685e58..6053ff957 100644 --- a/src/generated/forge-mcp/radar/email/routing/tools.ts +++ b/src/generated/forge-mcp/radar/email/routing/tools.ts @@ -1,146 +1,159 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.email.routing`. */ export const tools: readonly Tool[] = [ { - name: "radar_email_routing_summary_v2", + name: "radar_email_routing_summaryV2", title: "Get email routing summary by dimension", description: "Retrieves the distribution of email routing metrics by the specified dimension.", inputSchema: { type: "object", properties: { - "arc": { - "description": "Filters results by ARC (Authenticated Received Chain) validation.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "IP_VERSION", - "ENCRYPTED", - "ARC", - "DKIM", - "DMARC", - "SPF" - ], - "type": "string" - }, - "dkim": { - "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "dmarc": { - "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "encrypted": { - "description": "Filters results by encryption status (encrypted vs. not-encrypted).", - "items": { - "enum": [ - "ENCRYPTED", - "NOT_ENCRYPTED" - ], - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "IP_VERSION", + "ENCRYPTED", + "ARC", + "DKIM", + "DMARC", + "SPF" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "spf": { - "description": "Filters results by SPF (Sender Policy Framework) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" + "query": { + "properties": { + "arc": { + "description": "Filters results by ARC (Authenticated Received Chain) validation.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dkim": { + "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dmarc": { + "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "encrypted": { + "description": "Filters results by encryption status (encrypted vs. not-encrypted).", + "items": { + "enum": [ + "ENCRYPTED", + "NOT_ENCRYPTED" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "spf": { + "description": "Filters results by SPF (Sender Policy Framework) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -573,165 +586,178 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/email/routing/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["arc", args["arc"], true], - ["dkim", args["dkim"], true], - ["dmarc", args["dmarc"], true], - ["spf", args["spf"], true], - ["ipVersion", args["ip_version"], true], - ["encrypted", args["encrypted"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["arc", param(args, "query", "arc"), true], + ["dkim", param(args, "query", "dkim"), true], + ["dmarc", param(args, "query", "dmarc"), true], + ["spf", param(args, "query", "spf"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["encrypted", param(args, "query", "encrypted"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_email_routing_timeseries_groups_v2", + name: "radar_email_routing_timeseriesGroupsV2", title: "Get email routing time series grouped by dimension", description: "Retrieves the distribution of email routing metrics grouped by dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "arc": { - "description": "Filters results by ARC (Authenticated Received Chain) validation.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "IP_VERSION", - "ENCRYPTED", - "ARC", - "DKIM", - "DMARC", - "SPF" - ], - "type": "string" - }, - "dkim": { - "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "dmarc": { - "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "encrypted": { - "description": "Filters results by encryption status (encrypted vs. not-encrypted).", - "items": { - "enum": [ - "ENCRYPTED", - "NOT_ENCRYPTED" - ], - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "IP_VERSION", + "ENCRYPTED", + "ARC", + "DKIM", + "DMARC", + "SPF" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "spf": { - "description": "Filters results by SPF (Sender Policy Framework) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "arc": { + "description": "Filters results by ARC (Authenticated Received Chain) validation.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dkim": { + "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dmarc": { + "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "encrypted": { + "description": "Filters results by encryption status (encrypted vs. not-encrypted).", + "items": { + "enum": [ + "ENCRYPTED", + "NOT_ENCRYPTED" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "spf": { + "description": "Filters results by SPF (Sender Policy Framework) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1216,19 +1242,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/email/routing/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["arc", args["arc"], true], - ["dkim", args["dkim"], true], - ["dmarc", args["dmarc"], true], - ["spf", args["spf"], true], - ["ipVersion", args["ip_version"], true], - ["encrypted", args["encrypted"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["arc", param(args, "query", "arc"), true], + ["dkim", param(args, "query", "dkim"), true], + ["dmarc", param(args, "query", "dmarc"), true], + ["spf", param(args, "query", "spf"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["encrypted", param(args, "query", "encrypted"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/email/security/tools.ts b/src/generated/forge-mcp/radar/email/security/tools.ts index 92baecd31..513f1ccd2 100644 --- a/src/generated/forge-mcp/radar/email/security/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/tools.ts @@ -1,140 +1,153 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.email.security`. */ export const tools: readonly Tool[] = [ { - name: "radar_email_security_summary_v2", + name: "radar_email_security_summaryV2", title: "Get email security summary by dimension", description: "Retrieves the distribution of email security metrics by the specified dimension.", inputSchema: { type: "object", properties: { - "arc": { - "description": "Filters results by ARC (Authenticated Received Chain) validation.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "SPAM", - "MALICIOUS", - "SPOOF", - "THREAT_CATEGORY", - "ARC", - "DKIM", - "DMARC", - "SPF", - "TLS_VERSION" - ], - "type": "string" - }, - "dkim": { - "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "dmarc": { - "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "SPAM", + "MALICIOUS", + "SPOOF", + "THREAT_CATEGORY", + "ARC", + "DKIM", + "DMARC", + "SPF", + "TLS_VERSION" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "spf": { - "description": "Filters results by SPF (Sender Policy Framework) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3" - ], - "type": "string" + "query": { + "properties": { + "arc": { + "description": "Filters results by ARC (Authenticated Received Chain) validation.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dkim": { + "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dmarc": { + "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "spf": { + "description": "Filters results by SPF (Sender Policy Framework) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -567,158 +580,171 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/email/security/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["arc", args["arc"], true], - ["dkim", args["dkim"], true], - ["dmarc", args["dmarc"], true], - ["spf", args["spf"], true], - ["tlsVersion", args["tls_version"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["arc", param(args, "query", "arc"), true], + ["dkim", param(args, "query", "dkim"), true], + ["dmarc", param(args, "query", "dmarc"), true], + ["spf", param(args, "query", "spf"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_email_security_timeseries_groups_v2", + name: "radar_email_security_timeseriesGroupsV2", title: "Get email security time series grouped by dimension", description: "Retrieves the distribution of email security metrics grouped by dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "arc": { - "description": "Filters results by ARC (Authenticated Received Chain) validation.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "SPAM", - "MALICIOUS", - "SPOOF", - "THREAT_CATEGORY", - "ARC", - "DKIM", - "DMARC", - "SPF", - "TLS_VERSION" - ], - "type": "string" - }, - "dkim": { - "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "dmarc": { - "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "SPAM", + "MALICIOUS", + "SPOOF", + "THREAT_CATEGORY", + "ARC", + "DKIM", + "DMARC", + "SPF", + "TLS_VERSION" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "spf": { - "description": "Filters results by SPF (Sender Policy Framework) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "arc": { + "description": "Filters results by ARC (Authenticated Received Chain) validation.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dkim": { + "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dmarc": { + "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "spf": { + "description": "Filters results by SPF (Sender Policy Framework) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1203,18 +1229,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/email/security/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["arc", args["arc"], true], - ["dkim", args["dkim"], true], - ["dmarc", args["dmarc"], true], - ["spf", args["spf"], true], - ["tlsVersion", args["tls_version"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["arc", param(args, "query", "arc"), true], + ["dkim", param(args, "query", "dkim"), true], + ["dmarc", param(args, "query", "dmarc"), true], + ["spf", param(args, "query", "spf"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts index e298c1c04..e113895c9 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../../_/tool.js"; /** * The tools of `radar.email.security.top.tlds.malicious`. @@ -14,129 +14,142 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "arc": { - "description": "Filters results by ARC (Authenticated Received Chain) validation.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dkim": { - "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "dmarc": { - "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "malicious": { - "description": "Malicious classification.", - "enum": [ - "MALICIOUS", - "NOT_MALICIOUS" - ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "spf": { - "description": "Filters results by SPF (Sender Policy Framework) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" + "path": { + "properties": { + "malicious": { + "description": "Malicious classification.", + "enum": [ + "MALICIOUS", + "NOT_MALICIOUS" + ], + "type": "string" + } }, - "type": "array" - }, - "tld_category": { - "description": "Filters results by TLD category.", - "enum": [ - "CLASSIC", - "COUNTRY" + "required": [ + "malicious" ], - "type": "string" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3" - ], - "type": "string" + "query": { + "properties": { + "arc": { + "description": "Filters results by ARC (Authenticated Received Chain) validation.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dkim": { + "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dmarc": { + "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "spf": { + "description": "Filters results by SPF (Sender Policy Framework) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "tldCategory": { + "description": "Filters results by TLD category.", + "enum": [ + "CLASSIC", + "COUNTRY" + ], + "type": "string" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "malicious" + "path" ], }, outputSchema: { @@ -588,18 +601,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/email/security/top/tlds/malicious/${pathParam(args, "malicious")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["arc", args["arc"], true], - ["dkim", args["dkim"], true], - ["dmarc", args["dmarc"], true], - ["spf", args["spf"], true], - ["tlsVersion", args["tls_version"], true], - ["tldCategory", args["tld_category"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["arc", param(args, "query", "arc"), true], + ["dkim", param(args, "query", "dkim"), true], + ["dmarc", param(args, "query", "dmarc"), true], + ["spf", param(args, "query", "spf"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["tldCategory", param(args, "query", "tldCategory"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts index 2537cfee5..52e6bda71 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../../_/tool.js"; /** * The tools of `radar.email.security.top.tlds.spam`. @@ -14,129 +14,142 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "arc": { - "description": "Filters results by ARC (Authenticated Received Chain) validation.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dkim": { - "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "dmarc": { - "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "spam": { - "description": "Spam classification.", - "enum": [ - "SPAM", - "NOT_SPAM" - ], - "type": "string" - }, - "spf": { - "description": "Filters results by SPF (Sender Policy Framework) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" + "path": { + "properties": { + "spam": { + "description": "Spam classification.", + "enum": [ + "SPAM", + "NOT_SPAM" + ], + "type": "string" + } }, - "type": "array" - }, - "tld_category": { - "description": "Filters results by TLD category.", - "enum": [ - "CLASSIC", - "COUNTRY" + "required": [ + "spam" ], - "type": "string" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3" - ], - "type": "string" + "query": { + "properties": { + "arc": { + "description": "Filters results by ARC (Authenticated Received Chain) validation.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dkim": { + "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dmarc": { + "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "spf": { + "description": "Filters results by SPF (Sender Policy Framework) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "tldCategory": { + "description": "Filters results by TLD category.", + "enum": [ + "CLASSIC", + "COUNTRY" + ], + "type": "string" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "spam" + "path" ], }, outputSchema: { @@ -588,18 +601,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/email/security/top/tlds/spam/${pathParam(args, "spam")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["arc", args["arc"], true], - ["dkim", args["dkim"], true], - ["dmarc", args["dmarc"], true], - ["spf", args["spf"], true], - ["tlsVersion", args["tls_version"], true], - ["tldCategory", args["tld_category"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["arc", param(args, "query", "arc"), true], + ["dkim", param(args, "query", "dkim"), true], + ["dmarc", param(args, "query", "dmarc"), true], + ["spf", param(args, "query", "spf"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["tldCategory", param(args, "query", "tldCategory"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts index 36b4b04f7..1bf856e16 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../../_/tool.js"; /** * The tools of `radar.email.security.top.tlds.spoof`. @@ -14,129 +14,142 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "arc": { - "description": "Filters results by ARC (Authenticated Received Chain) validation.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dkim": { - "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "dmarc": { - "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "spf": { - "description": "Filters results by SPF (Sender Policy Framework) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" + "path": { + "properties": { + "spoof": { + "description": "Spoof classification.", + "enum": [ + "SPOOF", + "NOT_SPOOF" + ], + "type": "string" + } }, - "type": "array" - }, - "spoof": { - "description": "Spoof classification.", - "enum": [ - "SPOOF", - "NOT_SPOOF" - ], - "type": "string" - }, - "tld_category": { - "description": "Filters results by TLD category.", - "enum": [ - "CLASSIC", - "COUNTRY" + "required": [ + "spoof" ], - "type": "string" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3" - ], - "type": "string" + "query": { + "properties": { + "arc": { + "description": "Filters results by ARC (Authenticated Received Chain) validation.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dkim": { + "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dmarc": { + "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "spf": { + "description": "Filters results by SPF (Sender Policy Framework) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "tldCategory": { + "description": "Filters results by TLD category.", + "enum": [ + "CLASSIC", + "COUNTRY" + ], + "type": "string" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "spoof" + "path" ], }, outputSchema: { @@ -588,18 +601,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/email/security/top/tlds/spoof/${pathParam(args, "spoof")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["arc", args["arc"], true], - ["dkim", args["dkim"], true], - ["dmarc", args["dmarc"], true], - ["spf", args["spf"], true], - ["tlsVersion", args["tls_version"], true], - ["tldCategory", args["tld_category"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["arc", param(args, "query", "arc"), true], + ["dkim", param(args, "query", "dkim"), true], + ["dmarc", param(args, "query", "dmarc"), true], + ["spf", param(args, "query", "spf"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["tldCategory", param(args, "query", "tldCategory"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts index f663bcc85..8a0ad23e5 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../../_/tool.js"; +import { type Tool, param } from "../../../../../_/tool.js"; /** * The tools of `radar.email.security.top.tlds`. @@ -14,117 +14,122 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "arc": { - "description": "Filters results by ARC (Authenticated Received Chain) validation.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dkim": { - "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "dmarc": { - "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "spf": { - "description": "Filters results by SPF (Sender Policy Framework) validation status.", - "items": { - "enum": [ - "PASS", - "NONE", - "FAIL" - ], - "type": "string" - }, - "type": "array" - }, - "tld_category": { - "description": "Filters results by TLD category.", - "enum": [ - "CLASSIC", - "COUNTRY" - ], - "type": "string" - }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3" - ], - "type": "string" + "query": { + "properties": { + "arc": { + "description": "Filters results by ARC (Authenticated Received Chain) validation.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dkim": { + "description": "Filters results by DKIM (DomainKeys Identified Mail) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "dmarc": { + "description": "Filters results by DMARC (Domain-based Message Authentication, Reporting and Conformance) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "spf": { + "description": "Filters results by SPF (Sender Policy Framework) validation status.", + "items": { + "enum": [ + "PASS", + "NONE", + "FAIL" + ], + "type": "string" + }, + "type": "array" + }, + "tldCategory": { + "description": "Filters results by TLD category.", + "enum": [ + "CLASSIC", + "COUNTRY" + ], + "type": "string" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -577,18 +582,18 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/email/security/top/tlds`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["arc", args["arc"], true], - ["dkim", args["dkim"], true], - ["dmarc", args["dmarc"], true], - ["spf", args["spf"], true], - ["tlsVersion", args["tls_version"], true], - ["tldCategory", args["tld_category"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["arc", param(args, "query", "arc"), true], + ["dkim", param(args, "query", "dkim"), true], + ["dmarc", param(args, "query", "dmarc"), true], + ["spf", param(args, "query", "spf"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["tldCategory", param(args, "query", "tldCategory"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/entities/asns/tools.ts b/src/generated/forge-mcp/radar/entities/asns/tools.ts index cb8b687e8..5a028b6a9 100644 --- a/src/generated/forge-mcp/radar/entities/asns/tools.ts +++ b/src/generated/forge-mcp/radar/entities/asns/tools.ts @@ -1,34 +1,47 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.entities.asns`. */ export const tools: readonly Tool[] = [ { - name: "radar_entities_asns_as_set", + name: "radar_entities_asns_asSet", title: "Get IRR AS-SETs that an AS is a member of", description: "Retrieves Internet Routing Registry AS-SETs that an AS is a member of.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Retrieves all AS-SETs that the given AS is a member of.", - "type": "integer" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "asn": { + "description": "Retrieves all AS-SETs that the given AS is a member of.", + "type": "integer" + } + }, + "required": [ + "asn" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "asn" + "path" ], }, outputSchema: { @@ -241,70 +254,75 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/entities/asns/${pathParam(args, "asn")}/as_set`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_entities_asns_botnet_threat_feed", + name: "radar_entities_asns_botnetThreatFeed", title: "Get AS rankings by botnet threat feed activity", description: "Retrieves a ranked list of Autonomous Systems based on their presence in the Cloudflare Botnet Threat Feed. Rankings can be sorted by offense count or number of bad IPs. Optionally compare to a previous date to see rank changes.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "compareDateRange": { + "description": "Relative date range for rank change comparison (e.g., \"1d\", \"7d\", \"30d\").", + "type": "string" + }, + "date": { + "description": "The date to retrieve (YYYY-MM-DD format). If not specified, returns the most recent available data. Note: This is the date the report was generated. The report is generated from information collected from the previous day (e.g., the 2026-02-23 entry contains data from 2026-02-22).", + "format": "date", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify an alpha-2 location code.", + "type": "string" + }, + "metric": { + "default": "NUMBER_OF_OFFENDING_IPS", + "description": "Metric to rank ASNs by.", + "enum": [ + "OFFENSE_COUNT", + "NUMBER_OF_OFFENDING_IPS" + ], + "type": "string" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + }, + "sortOrder": { + "description": "Sort order.", + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + } }, - "type": "array" - }, - "compare_date_range": { - "description": "Relative date range for rank change comparison (e.g., \"1d\", \"7d\", \"30d\").", - "type": "string" - }, - "date": { - "description": "The date to retrieve (YYYY-MM-DD format). If not specified, returns the most recent available data. Note: This is the date the report was generated. The report is generated from information collected from the previous day (e.g., the 2026-02-23 entry contains data from 2026-02-22).", - "format": "date", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify an alpha-2 location code.", - "type": "string" - }, - "metric": { - "default": "NUMBER_OF_OFFENDING_IPS", - "description": "Metric to rank ASNs by.", - "enum": [ - "OFFENSE_COUNT", - "NUMBER_OF_OFFENDING_IPS" - ], - "type": "string" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" - }, - "sort_order": { - "description": "Sort order.", - "enum": [ - "ASC", - "DESC" - ], - "type": "string" + "type": "object" } }, }, @@ -502,15 +520,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/entities/asns/botnet_threat_feed`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["metric", args["metric"], true], - ["date", args["date"], true], - ["compareDateRange", args["compare_date_range"], true], - ["location", args["location"], true], - ["asn", args["asn"], true], - ["sortOrder", args["sort_order"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["metric", param(args, "query", "metric"), true], + ["date", param(args, "query", "date"), true], + ["compareDateRange", param(args, "query", "compareDateRange"), true], + ["location", param(args, "query", "location"), true], + ["asn", param(args, "query", "asn"), true], + ["sortOrder", param(args, "query", "sortOrder"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -521,21 +539,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Single Autonomous System Number (ASN) as integer.", - "type": "integer" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "asn": { + "description": "Single Autonomous System Number (ASN) as integer.", + "type": "integer" + } + }, + "required": [ + "asn" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "asn" + "path" ], }, outputSchema: { @@ -817,7 +848,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/entities/asns/${pathParam(args, "asn")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -828,21 +859,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ip": { + "description": "IP address.", + "type": "string" + } + }, + "required": [ + "ip" ], - "type": "string" - }, - "ip": { - "description": "IP address.", - "type": "string" + "type": "object" } }, required: [ - "ip" + "query" ], }, outputSchema: { @@ -1116,8 +1155,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/entities/asns/ip`, query: [ - ["ip", args["ip"], true], - ["format", args["format"], true], + ["ip", param(args, "query", "ip"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -1128,39 +1167,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list.", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify an alpha-2 location code.", - "type": "string" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" - }, - "order_by": { - "default": "ASN", - "description": "Specifies the metric to order the ASNs by.", - "enum": [ - "ASN", - "POPULATION" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list.", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify an alpha-2 location code.", + "type": "string" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + }, + "orderBy": { + "default": "ASN", + "description": "Specifies the metric to order the ASNs by.", + "enum": [ + "ASN", + "POPULATION" + ], + "type": "string" + } + }, + "type": "object" } }, }, @@ -1350,12 +1394,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/entities/asns`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["orderBy", args["order_by"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["orderBy", param(args, "query", "orderBy"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -1366,25 +1410,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Retrieves all ASNs with provider-customer or peering relationships with the given ASN.", - "type": "integer" - }, - "asn2": { - "description": "Retrieves the AS relationship of ASN2 with respect to the given ASN.", - "type": "integer" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "asn": { + "description": "Retrieves all ASNs with provider-customer or peering relationships with the given ASN.", + "type": "integer" + } + }, + "required": [ + "asn" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "asn2": { + "description": "Retrieves the AS relationship of ASN2 with respect to the given ASN.", + "type": "integer" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "asn" + "path" ], }, outputSchema: { @@ -1601,8 +1658,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/entities/asns/${pathParam(args, "asn")}/rel`, query: [ - ["asn2", args["asn2"], true], - ["format", args["format"], true], + ["asn2", param(args, "query", "asn2"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/entities/locations/tools.ts b/src/generated/forge-mcp/radar/entities/locations/tools.ts index 66cc2aed9..630f5a7a2 100644 --- a/src/generated/forge-mcp/radar/entities/locations/tools.ts +++ b/src/generated/forge-mcp/radar/entities/locations/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.entities.locations`. @@ -14,21 +14,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "location": { + "description": "Location alpha-2 code.", + "type": "string" + } + }, + "required": [ + "location" ], - "type": "string" + "type": "object" }, - "location": { - "description": "Location alpha-2 code.", - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "location" + "path" ], }, outputSchema: { @@ -188,7 +201,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/entities/locations/${pathParam(args, "location")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -199,46 +212,51 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent code.", - "enum": [ - "AF", - "AS", - "EU", - "NA", - "OC", - "SA" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", - "type": "string" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" - }, - "region": { - "description": "Filters results by region.", - "type": "string" - }, - "subregion": { - "description": "Filters results by subregion.", - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent code.", + "enum": [ + "AF", + "AS", + "EU", + "NA", + "OC", + "SA" + ], + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", + "type": "string" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + }, + "region": { + "description": "Filters results by region.", + "type": "string" + }, + "subregion": { + "description": "Filters results by subregion.", + "type": "string" + } + }, + "type": "object" } }, }, @@ -416,13 +434,13 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/entities/locations`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["location", args["location"], true], - ["region", args["region"], true], - ["subregion", args["subregion"], true], - ["continent", args["continent"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["location", param(args, "query", "location"), true], + ["region", param(args, "query", "region"), true], + ["subregion", param(args, "query", "subregion"), true], + ["continent", param(args, "query", "continent"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/entities/tools.ts b/src/generated/forge-mcp/radar/entities/tools.ts index d56061792..121533a03 100644 --- a/src/generated/forge-mcp/radar/entities/tools.ts +++ b/src/generated/forge-mcp/radar/entities/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../_/tool.js"; +import { type Tool, param } from "../../_/tool.js"; /** * The tools of `radar.entities`. @@ -14,21 +14,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "ip": { + "description": "IP address.", + "type": "string" + } + }, + "required": [ + "ip" ], - "type": "string" - }, - "ip": { - "description": "IP address.", - "type": "string" + "type": "object" } }, required: [ - "ip" + "query" ], }, outputSchema: { @@ -188,8 +196,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/entities/ip`, query: [ - ["ip", args["ip"], true], - ["format", args["format"], true], + ["ip", param(args, "query", "ip"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/geolocations/tools.ts b/src/generated/forge-mcp/radar/geolocations/tools.ts index 65c912126..294b8a370 100644 --- a/src/generated/forge-mcp/radar/geolocations/tools.ts +++ b/src/generated/forge-mcp/radar/geolocations/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.geolocations`. @@ -14,21 +14,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "geo_id": { + "description": "Geolocation ID. Refer to [GeoNames](https://download.geonames.org/export/dump/readme.txt)", + "type": "string" + } + }, + "required": [ + "geo_id" ], - "type": "string" + "type": "object" }, - "geo_id": { - "description": "Geolocation ID. Refer to [GeoNames](https://download.geonames.org/export/dump/readme.txt)", - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "geo_id" + "path" ], }, outputSchema: { @@ -342,7 +355,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/geolocations/${pathParam(args, "geo_id")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -353,30 +366,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by geolocation. Specify a comma-separated list of GeoNames IDs.", - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", - "type": "string" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by geolocation. Specify a comma-separated list of GeoNames IDs.", + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", + "type": "string" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -716,11 +734,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/geolocations`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["geoId", args["geo_id"], true], - ["location", args["location"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["geoId", param(args, "query", "geoId"), true], + ["location", param(args, "query", "location"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts b/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts index 81a49fd7b..0991fde15 100644 --- a/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.ases.bot_class`. + * The tools of `radar.http.ases.botClass`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_ases_bot_class_get", + name: "radar_http_ases_botClass_get", title: "Get top ASes by HTTP requests for a bot class", description: "Retrieves the top autonomous systems, by HTTP requests, of the requested bot class.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" + "path": { + "properties": { + "bot_class": { + "description": "Bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "bot_class" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "bot_class" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/ases/bot_class/${pathParam(args, "bot_class")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts b/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts index 81be9da0a..4f61c0ad1 100644 --- a/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.ases.browser_family`. + * The tools of `radar.http.ases.browserFamily`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_ases_browser_family_get", + name: "radar_http_ases_browserFamily_get", title: "Get top ASes by HTTP requests for a browser family", description: "Retrieves the top autonomous systems, by HTTP requests, of the requested browser family.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Browser family.", - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" + "path": { + "properties": { + "browser_family": { + "description": "Browser family.", + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "browser_family" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "browser_family" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/ases/browser_family/${pathParam(args, "browser_family")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts b/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts index da64db751..5e7976fca 100644 --- a/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.ases.device_type`. + * The tools of `radar.http.ases.deviceType`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_ases_device_type_get", + name: "radar_http_ases_deviceType_get", title: "Get top ASes by HTTP requests for a device type", description: "Retrieves the top autonomous systems, by HTTP requests, of the requested device type.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "device_type": { + "description": "Device type.", + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + } }, - "type": "array" - }, - "device_type": { - "description": "Device type.", - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "device_type" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "device_type" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/ases/device_type/${pathParam(args, "device_type")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts b/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts index 83a15ceb3..b0cfe80b6 100644 --- a/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.ases.http_method`. + * The tools of `radar.http.ases.httpMethod`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_ases_http_method_get", + name: "radar_http_ases_httpMethod_get", title: "Get top ASes by HTTP requests for an HTTP version", description: "Retrieves the top autonomous systems, by HTTP requests, of the requested HTTP version.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" + "path": { + "properties": { + "http_version": { + "description": "HTTP version.", + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + } }, - "type": "array" - }, - "http_version": { - "description": "HTTP version.", - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" + "required": [ + "http_version" ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "http_version" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/ases/http_version/${pathParam(args, "http_version")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts b/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts index 5763dc97b..45ba6e2a0 100644 --- a/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.ases.http_protocol`. + * The tools of `radar.http.ases.httpProtocol`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_ases_http_protocol_get", + name: "radar_http_ases_httpProtocol_get", title: "Get top ASes by HTTP requests for an HTTP protocol", description: "Retrieves the top autonomous systems, by HTTP requests, of the requested HTTP protocol.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" + "path": { + "properties": { + "http_protocol": { + "description": "HTTP protocol (HTTP vs. HTTPS).", + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + } }, - "type": "array" - }, - "http_protocol": { - "description": "HTTP protocol (HTTP vs. HTTPS).", - "enum": [ - "HTTP", - "HTTPS" + "required": [ + "http_protocol" ], - "type": "string" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "http_protocol" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/ases/http_protocol/${pathParam(args, "http_protocol")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts b/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts index 3e4069e53..3fd266380 100644 --- a/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.ases.ip_version`. + * The tools of `radar.http.ases.ipVersion`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_ases_ip_version_get", + name: "radar_http_ases_ipVersion_get", title: "Get top ASes by HTTP requests for an IP version", description: "Retrieves the top autonomous systems, by HTTP requests, of the requested IP version.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" + "path": { + "properties": { + "ip_version": { + "description": "IP version.", + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + } }, - "type": "array" - }, - "ip_version": { - "description": "IP version.", - "enum": [ - "IPv4", - "IPv6" + "required": [ + "ip_version" ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "ip_version" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/ases/ip_version/${pathParam(args, "ip_version")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/ases/os/tools.ts b/src/generated/forge-mcp/radar/http/ases/os/tools.ts index f455ddaa1..a9fd60990 100644 --- a/src/generated/forge-mcp/radar/http/ases/os/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/os/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** * The tools of `radar.http.ases.os`. @@ -14,177 +14,190 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "os": { + "description": "Operating system.", + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + } }, - "type": "array" - }, - "os": { - "description": "Operating system.", - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" + "required": [ + "os" ], - "type": "string" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "os" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/ases/os/${pathParam(args, "os")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts b/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts index 384760681..0b2d971c2 100644 --- a/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.ases.tls_version`. + * The tools of `radar.http.ases.tlsVersion`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_ases_tls_version_get", + name: "radar_http_ases_tlsVersion_get", title: "Get top ASes by HTTP requests for a TLS version", description: "Retrieves the top autonomous systems, by HTTP requests, of the requested TLS protocol version.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" + "path": { + "properties": { + "tls_version": { + "description": "TLS version.", + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "tls_version" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" - }, - "tls_version": { - "description": "TLS version.", - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "type": "object" } }, required: [ - "tls_version" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/ases/tls_version/${pathParam(args, "tls_version")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/ases/tools.ts b/src/generated/forge-mcp/radar/http/ases/tools.ts index 0f59a5f93..f19ae120d 100644 --- a/src/generated/forge-mcp/radar/http/ases/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.http.ases`. @@ -14,176 +14,181 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" - }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -644,24 +649,24 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/ases`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts b/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts index 5db58bd52..5a372dcc3 100644 --- a/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.locations.bot_class`. + * The tools of `radar.http.locations.botClass`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_locations_bot_class_get", + name: "radar_http_locations_botClass_get", title: "Get top locations by HTTP requests for a bot class", description: "Retrieves the top locations, by HTTP requests, of the requested bot class.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" + "path": { + "properties": { + "bot_class": { + "description": "Bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "bot_class" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "bot_class" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/locations/bot_class/${pathParam(args, "bot_class")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts b/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts index e12f91a5a..067b51ca5 100644 --- a/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.locations.browser_family`. + * The tools of `radar.http.locations.browserFamily`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_locations_browser_family_get", + name: "radar_http_locations_browserFamily_get", title: "Get top locations by HTTP requests for a browser family", description: "Retrieves the top locations, by HTTP requests, of the requested browser family.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Browser family.", - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" + "path": { + "properties": { + "browser_family": { + "description": "Browser family.", + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "browser_family" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "browser_family" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/locations/browser_family/${pathParam(args, "browser_family")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts b/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts index c10549761..81c903e9f 100644 --- a/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.locations.device_type`. + * The tools of `radar.http.locations.deviceType`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_locations_device_type_get", + name: "radar_http_locations_deviceType_get", title: "Get top locations by HTTP requests for a device type", description: "Retrieves the top locations, by HTTP requests, of the requested device type.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "device_type": { + "description": "Device type.", + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + } }, - "type": "array" - }, - "device_type": { - "description": "Device type.", - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "device_type" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "device_type" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/locations/device_type/${pathParam(args, "device_type")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts b/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts index bb9cd237c..872722eb8 100644 --- a/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.locations.http_method`. + * The tools of `radar.http.locations.httpMethod`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_locations_http_method_get", + name: "radar_http_locations_httpMethod_get", title: "Get top locations by HTTP requests for an HTTP version", description: "Retrieves the top locations, by HTTP requests, of the requested HTTP version.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" + "path": { + "properties": { + "http_version": { + "description": "HTTP version.", + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + } }, - "type": "array" - }, - "http_version": { - "description": "HTTP version.", - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" + "required": [ + "http_version" ], - "type": "string" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "http_version" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/locations/http_version/${pathParam(args, "http_version")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts b/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts index e04ade68b..4b2a0197d 100644 --- a/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.locations.http_protocol`. + * The tools of `radar.http.locations.httpProtocol`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_locations_http_protocol_get", + name: "radar_http_locations_httpProtocol_get", title: "Get top locations by HTTP requests for an HTTP protocol", description: "Retrieves the top locations, by HTTP requests, of the requested HTTP protocol.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" + "path": { + "properties": { + "http_protocol": { + "description": "HTTP protocol (HTTP vs. HTTPS).", + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + } }, - "type": "array" - }, - "http_protocol": { - "description": "HTTP protocol (HTTP vs. HTTPS).", - "enum": [ - "HTTP", - "HTTPS" + "required": [ + "http_protocol" ], - "type": "string" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "http_protocol" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/locations/http_protocol/${pathParam(args, "http_protocol")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts b/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts index f2e687c98..b2bbd198f 100644 --- a/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.locations.ip_version`. + * The tools of `radar.http.locations.ipVersion`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_locations_ip_version_get", + name: "radar_http_locations_ipVersion_get", title: "Get top locations by HTTP requests for an IP version", description: "Retrieves the top locations, by HTTP requests, of the requested IP version.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" + "path": { + "properties": { + "ip_version": { + "description": "IP version.", + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + } }, - "type": "array" - }, - "ip_version": { - "description": "IP version.", - "enum": [ - "IPv4", - "IPv6" + "required": [ + "ip_version" ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "ip_version" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/locations/ip_version/${pathParam(args, "ip_version")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/locations/os/tools.ts b/src/generated/forge-mcp/radar/http/locations/os/tools.ts index e088d15f1..e14c96c95 100644 --- a/src/generated/forge-mcp/radar/http/locations/os/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/os/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** * The tools of `radar.http.locations.os`. @@ -14,177 +14,190 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "os": { + "description": "Operating system.", + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + } }, - "type": "array" - }, - "os": { - "description": "Operating system.", - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" + "required": [ + "os" ], - "type": "string" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "os" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/locations/os/${pathParam(args, "os")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts b/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts index 506eb6a53..af72a0622 100644 --- a/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts @@ -1,190 +1,203 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; /** - * The tools of `radar.http.locations.tls_version`. + * The tools of `radar.http.locations.tlsVersion`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_locations_tls_version_get", + name: "radar_http_locations_tlsVersion_get", title: "Get top locations by HTTP requests for a TLS version", description: "Retrieves the top locations, by HTTP requests, of the requested TLS protocol version.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" + "path": { + "properties": { + "tls_version": { + "description": "TLS version.", + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "tls_version" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" - }, - "tls_version": { - "description": "TLS version.", - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "type": "object" } }, required: [ - "tls_version" + "path" ], }, outputSchema: { @@ -644,23 +657,23 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/locations/tls_version/${pathParam(args, "tls_version")}`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/locations/tools.ts b/src/generated/forge-mcp/radar/http/locations/tools.ts index ff9d9b3e6..4bf2f14bf 100644 --- a/src/generated/forge-mcp/radar/http/locations/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.http.locations`. @@ -14,176 +14,181 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" - }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -644,24 +649,24 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/top/locations`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["botClass", args["bot_class"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["botClass", param(args, "query", "botClass"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/http/tools.ts b/src/generated/forge-mcp/radar/http/tools.ts index 15e58d010..8ed8b5706 100644 --- a/src/generated/forge-mcp/radar/http/tools.ts +++ b/src/generated/forge-mcp/radar/http/tools.ts @@ -1,236 +1,249 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.http`. */ export const tools: readonly Tool[] = [ { - name: "radar_http_summary_v2", + name: "radar_http_summaryV2", title: "Get HTTP requests summary by dimension", description: "Retrieves the distribution of HTTP requests by the specified dimension.", inputSchema: { type: "object", properties: { - "api_traffic": { - "description": "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", - "items": { - "enum": [ - "API", - "NON_API" - ], - "type": "string" - }, - "type": "array" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "content_type": { - "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", - "items": { - "enum": [ - "HTML", - "IMAGES", - "JSON", - "JAVASCRIPT", - "CSS", - "PLAIN_TEXT", - "FONTS", - "XML", - "YAML", - "VIDEO", - "AUDIO", - "MARKDOWN", - "DOCUMENTS", - "BINARY", - "SERIALIZATION", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the HTTP attribute by which to group the results.", + "enum": [ + "ADM1", + "API_TRAFFIC", + "AS", + "BOT_CLASS", + "BROWSER", + "BROWSER_FAMILY", + "CONTENT_TYPE", + "DEVICE_TYPE", + "HTTP_PROTOCOL", + "HTTP_VERSION", + "IP_VERSION", + "LOCATION", + "OS", + "POST_QUANTUM", + "TLS_VERSION" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the HTTP attribute by which to group the results.", - "enum": [ - "ADM1", - "API_TRAFFIC", - "AS", - "BOT_CLASS", - "BROWSER", - "BROWSER_FAMILY", - "CONTENT_TYPE", - "DEVICE_TYPE", - "HTTP_PROTOCOL", - "HTTP_VERSION", - "IP_VERSION", - "LOCATION", - "OS", - "POST_QUANTUM", - "TLS_VERSION" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "apiTraffic": { + "description": "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", + "items": { + "enum": [ + "API", + "NON_API" + ], + "type": "string" + }, + "type": "array" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "contentType": { + "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", + "items": { + "enum": [ + "HTML", + "IMAGES", + "JSON", + "JAVASCRIPT", + "CSS", + "PLAIN_TEXT", + "FONTS", + "XML", + "YAML", + "VIDEO", + "AUDIO", + "MARKDOWN", + "DOCUMENTS", + "BINARY", + "SERIALIZATION", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -663,25 +676,25 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["apiTraffic", args["api_traffic"], true], - ["botClass", args["bot_class"], true], - ["contentType", args["content_type"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["apiTraffic", param(args, "query", "apiTraffic"), true], + ["botClass", param(args, "query", "botClass"), true], + ["contentType", param(args, "query", "contentType"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -692,225 +705,230 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "api_traffic": { - "description": "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", - "items": { - "enum": [ - "API", - "NON_API" - ], - "type": "string" - }, - "type": "array" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "browser_family": { - "description": "Filters results by browser family.", - "items": { - "enum": [ - "CHROME", - "EDGE", - "FIREFOX", - "SAFARI" - ], - "type": "string" - }, - "type": "array" - }, - "content_type": { - "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", - "items": { - "enum": [ - "HTML", - "IMAGES", - "JSON", - "JAVASCRIPT", - "CSS", - "PLAIN_TEXT", - "FONTS", - "XML", - "YAML", - "VIDEO", - "AUDIO", - "MARKDOWN", - "DOCUMENTS", - "BINARY", - "SERIALIZATION", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "normalization": { - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", - "enum": [ - "PERCENTAGE_CHANGE", - "MIN0_MAX" - ], - "type": "string" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" - }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "apiTraffic": { + "description": "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", + "items": { + "enum": [ + "API", + "NON_API" + ], + "type": "string" + }, + "type": "array" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "browserFamily": { + "description": "Filters results by browser family.", + "items": { + "enum": [ + "CHROME", + "EDGE", + "FIREFOX", + "SAFARI" + ], + "type": "string" + }, + "type": "array" + }, + "contentType": { + "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", + "items": { + "enum": [ + "HTML", + "IMAGES", + "JSON", + "JAVASCRIPT", + "CSS", + "PLAIN_TEXT", + "FONTS", + "XML", + "YAML", + "VIDEO", + "AUDIO", + "MARKDOWN", + "DOCUMENTS", + "BINARY", + "SERIALIZATION", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", + "enum": [ + "PERCENTAGE_CHANGE", + "MIN0_MAX" + ], + "type": "string" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1396,273 +1414,286 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["normalization", args["normalization"], true], - ["apiTraffic", args["api_traffic"], true], - ["botClass", args["bot_class"], true], - ["contentType", args["content_type"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["browserFamily", args["browser_family"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["normalization", param(args, "query", "normalization"), true], + ["apiTraffic", param(args, "query", "apiTraffic"), true], + ["botClass", param(args, "query", "botClass"), true], + ["contentType", param(args, "query", "contentType"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["browserFamily", param(args, "query", "browserFamily"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_http_timeseries_groups_v2", + name: "radar_http_timeseriesGroupsV2", title: "Get HTTP requests time series grouped by dimension", description: "Retrieves the distribution of HTTP requests grouped by dimension.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "api_traffic": { - "description": "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", - "items": { - "enum": [ - "API", - "NON_API" - ], - "type": "string" - }, - "type": "array" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "content_type": { - "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", - "items": { - "enum": [ - "HTML", - "IMAGES", - "JSON", - "JAVASCRIPT", - "CSS", - "PLAIN_TEXT", - "FONTS", - "XML", - "YAML", - "VIDEO", - "AUDIO", - "MARKDOWN", - "DOCUMENTS", - "BINARY", - "SERIALIZATION", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "device_type": { - "description": "Filters results by device type.", - "items": { - "enum": [ - "DESKTOP", - "MOBILE", - "OTHER" - ], - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the HTTP attribute by which to group the results.", - "enum": [ - "ADM1", - "API_TRAFFIC", - "AS", - "BOT_CLASS", - "BROWSER", - "BROWSER_FAMILY", - "CONTENT_TYPE", - "DEVICE_TYPE", - "HTTP_PROTOCOL", - "HTTP_VERSION", - "IP_VERSION", - "LOCATION", - "OS", - "POST_QUANTUM", - "TLS_VERSION" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "http_protocol": { - "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", - "items": { - "enum": [ - "HTTP", - "HTTPS" - ], - "type": "string" - }, - "type": "array" - }, - "http_version": { - "description": "Filters results by HTTP version.", - "items": { - "enum": [ - "HTTPv1", - "HTTPv2", - "HTTPv3" - ], - "type": "string" - }, - "type": "array" - }, - "ip_version": { - "description": "Filters results by IP version (Ipv4 vs. IPv6).", - "items": { - "enum": [ - "IPv4", - "IPv6" - ], - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the HTTP attribute by which to group the results.", + "enum": [ + "ADM1", + "API_TRAFFIC", + "AS", + "BOT_CLASS", + "BROWSER", + "BROWSER_FAMILY", + "CONTENT_TYPE", + "DEVICE_TYPE", + "HTTP_PROTOCOL", + "HTTP_VERSION", + "IP_VERSION", + "LOCATION", + "OS", + "POST_QUANTUM", + "TLS_VERSION" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", - "enum": [ - "PERCENTAGE", - "MIN0_MAX" + "required": [ + "dimension" ], - "type": "string" - }, - "os": { - "description": "Filters results by operating system.", - "items": { - "enum": [ - "WINDOWS", - "MACOSX", - "IOS", - "ANDROID", - "CHROMEOS", - "LINUX", - "SMART_TV" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "tls_version": { - "description": "Filters results by TLS version.", - "items": { - "enum": [ - "TLSv1_0", - "TLSv1_1", - "TLSv1_2", - "TLSv1_3", - "TLSvQUIC" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "apiTraffic": { + "description": "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", + "items": { + "enum": [ + "API", + "NON_API" + ], + "type": "string" + }, + "type": "array" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "contentType": { + "description": "Filters results by content type category. When set, results can only be further filtered by location, continent, or Autonomous System.", + "items": { + "enum": [ + "HTML", + "IMAGES", + "JSON", + "JAVASCRIPT", + "CSS", + "PLAIN_TEXT", + "FONTS", + "XML", + "YAML", + "VIDEO", + "AUDIO", + "MARKDOWN", + "DOCUMENTS", + "BINARY", + "SERIALIZATION", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "deviceType": { + "description": "Filters results by device type.", + "items": { + "enum": [ + "DESKTOP", + "MOBILE", + "OTHER" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "httpProtocol": { + "description": "Filters results by HTTP protocol (HTTP vs. HTTPS).", + "items": { + "enum": [ + "HTTP", + "HTTPS" + ], + "type": "string" + }, + "type": "array" + }, + "httpVersion": { + "description": "Filters results by HTTP version.", + "items": { + "enum": [ + "HTTPv1", + "HTTPv2", + "HTTPv3" + ], + "type": "string" + }, + "type": "array" + }, + "ipVersion": { + "description": "Filters results by IP version (Ipv4 vs. IPv6).", + "items": { + "enum": [ + "IPv4", + "IPv6" + ], + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", + "enum": [ + "PERCENTAGE", + "MIN0_MAX" + ], + "type": "string" + }, + "os": { + "description": "Filters results by operating system.", + "items": { + "enum": [ + "WINDOWS", + "MACOSX", + "IOS", + "ANDROID", + "CHROMEOS", + "LINUX", + "SMART_TV" + ], + "type": "string" + }, + "type": "array" + }, + "tlsVersion": { + "description": "Filters results by TLS version.", + "items": { + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3", + "TLSvQUIC" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -2147,27 +2178,27 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/http/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["apiTraffic", args["api_traffic"], true], - ["botClass", args["bot_class"], true], - ["contentType", args["content_type"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["deviceType", args["device_type"], true], - ["httpProtocol", args["http_protocol"], true], - ["httpVersion", args["http_version"], true], - ["normalization", args["normalization"], true], - ["ipVersion", args["ip_version"], true], - ["os", args["os"], true], - ["tlsVersion", args["tls_version"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["apiTraffic", param(args, "query", "apiTraffic"), true], + ["botClass", param(args, "query", "botClass"), true], + ["contentType", param(args, "query", "contentType"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["httpProtocol", param(args, "query", "httpProtocol"), true], + ["httpVersion", param(args, "query", "httpVersion"), true], + ["normalization", param(args, "query", "normalization"), true], + ["ipVersion", param(args, "query", "ipVersion"), true], + ["os", param(args, "query", "os"), true], + ["tlsVersion", param(args, "query", "tlsVersion"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/leakedCredentials/tools.ts b/src/generated/forge-mcp/radar/leakedCredentials/tools.ts index 5ec6cebb3..5c8bd9d02 100644 --- a/src/generated/forge-mcp/radar/leakedCredentials/tools.ts +++ b/src/generated/forge-mcp/radar/leakedCredentials/tools.ts @@ -1,115 +1,128 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `radar.leaked_credentials`. + * The tools of `radar.leakedCredentials`. */ export const tools: readonly Tool[] = [ { - name: "radar_leaked_credentials_summary_v2", + name: "radar_leakedCredentials_summaryV2", title: "Get HTTP authentication requests distribution by dimension", description: "Retrieves an aggregated summary of HTTP authentication requests grouped by the specified dimension.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "compromised": { - "description": "Filters results by compromised credential status (clean vs. compromised).", - "items": { - "enum": [ - "CLEAN", - "COMPROMISED" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "COMPROMISED", + "BOT_CLASS" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "COMPROMISED", - "BOT_CLASS" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "compromised": { + "description": "Filters results by compromised credential status (clean vs. compromised).", + "items": { + "enum": [ + "CLEAN", + "COMPROMISED" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -542,155 +555,168 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/leaked_credential_checks/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["botClass", args["bot_class"], true], - ["compromised", args["compromised"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["botClass", param(args, "query", "botClass"), true], + ["compromised", param(args, "query", "compromised"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_leaked_credentials_timeseries_groups_v2", + name: "radar_leakedCredentials_timeseriesGroupsV2", title: "Get time series distribution of HTTP authentication requests by dimension.", description: "Retrieves the distribution of HTTP authentication requests, grouped by the specified dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bot_class": { - "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", - "items": { - "enum": [ - "LIKELY_AUTOMATED", - "LIKELY_HUMAN" - ], - "type": "string" - }, - "type": "array" - }, - "check_result": { - "description": "Filters results by leaked credential check result.", - "items": { - "enum": [ - "CLEAN", - "USERNAME_LEAKED", - "USERNAME_PASSWORD_SIMILAR", - "USERNAME_AND_PASSWORD_LEAKED", - "PASSWORD_LEAKED" - ], - "type": "string" - }, - "type": "array" - }, - "compromised": { - "description": "Filters results by compromised credential status (clean vs. compromised).", - "items": { - "enum": [ - "CLEAN", - "COMPROMISED" - ], - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the attribute by which to group the results.", + "enum": [ + "COMPROMISED", + "BOT_CLASS" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the attribute by which to group the results.", - "enum": [ - "COMPROMISED", - "BOT_CLASS" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "botClass": { + "description": "Filters results by bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", + "items": { + "enum": [ + "LIKELY_AUTOMATED", + "LIKELY_HUMAN" + ], + "type": "string" + }, + "type": "array" + }, + "checkResult": { + "description": "Filters results by leaked credential check result.", + "items": { + "enum": [ + "CLEAN", + "USERNAME_LEAKED", + "USERNAME_PASSWORD_SIMILAR", + "USERNAME_AND_PASSWORD_LEAKED", + "PASSWORD_LEAKED" + ], + "type": "string" + }, + "type": "array" + }, + "compromised": { + "description": "Filters results by compromised credential status (clean vs. compromised).", + "items": { + "enum": [ + "CLEAN", + "COMPROMISED" + ], + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", + "enum": [ + "PERCENTAGE_CHANGE", + "MIN0_MAX" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", - "enum": [ - "PERCENTAGE_CHANGE", - "MIN0_MAX" - ], - "type": "string" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1175,20 +1201,20 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/leaked_credential_checks/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["botClass", args["bot_class"], true], - ["compromised", args["compromised"], true], - ["checkResult", args["check_result"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["normalization", args["normalization"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["botClass", param(args, "query", "botClass"), true], + ["compromised", param(args, "query", "compromised"), true], + ["checkResult", param(args, "query", "checkResult"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["normalization", param(args, "query", "normalization"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/netflows/tools.ts b/src/generated/forge-mcp/radar/netflows/tools.ts index 0bfce114d..f8d84010f 100644 --- a/src/generated/forge-mcp/radar/netflows/tools.ts +++ b/src/generated/forge-mcp/radar/netflows/tools.ts @@ -1,113 +1,126 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.netflows`. */ export const tools: readonly Tool[] = [ { - name: "radar_netflows_summary_v2", + name: "radar_netflows_summaryV2", title: "Get network traffic distribution by dimension", description: "Retrieves the distribution of network traffic (NetFlows) by the specified dimension.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the NetFlows attribute by which to group the results.", + "enum": [ + "ADM1", + "AS", + "LOCATION", + "PRODUCT" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the NetFlows attribute by which to group the results.", - "enum": [ - "ADM1", - "AS", - "LOCATION", - "PRODUCT" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" }, - "product": { - "description": "Filters the results by network traffic product types.", - "items": { - "enum": [ - "HTTP", - "ALL" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "product": { + "description": "Filters the results by network traffic product types.", + "items": { + "enum": [ + "HTTP", + "ALL" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -540,17 +553,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/netflows/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["product", args["product"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["product", param(args, "query", "product"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -561,100 +574,105 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "normalization": { - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", - "enum": [ - "PERCENTAGE_CHANGE", - "MIN0_MAX" - ], - "type": "string" - }, - "product": { - "description": "Filters the results by network traffic product types.", - "items": { - "enum": [ - "HTTP", - "ALL" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", + "enum": [ + "PERCENTAGE_CHANGE", + "MIN0_MAX" + ], + "type": "string" + }, + "product": { + "description": "Filters the results by network traffic product types.", + "items": { + "enum": [ + "HTTP", + "ALL" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1142,142 +1160,155 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/netflows/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["product", args["product"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["normalization", args["normalization"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["product", param(args, "query", "product"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["normalization", param(args, "query", "normalization"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_netflows_timeseries_groups", + name: "radar_netflows_timeseriesGroups", title: "Get time series distribution of network traffic by dimension", description: "Retrieves the distribution of NetFlows traffic, grouped by the specified dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "dimension": { - "description": "Specifies the NetFlows attribute by which to group the results.", - "enum": [ - "ADM1", - "AS", - "LOCATION", - "PRODUCT" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the NetFlows attribute by which to group the results.", + "enum": [ + "ADM1", + "AS", + "LOCATION", + "PRODUCT" + ], + "type": "string" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", - "enum": [ - "PERCENTAGE", - "MIN0_MAX", - "PERCENTAGE_CHANGE" + "required": [ + "dimension" ], - "type": "string" + "type": "object" }, - "product": { - "description": "Filters the results by network traffic product types.", - "items": { - "enum": [ - "HTTP", - "ALL" - ], - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/). `PERCENTAGE_CHANGE` requires exactly one comparison series (e.g. a `control` date range).", + "enum": [ + "PERCENTAGE", + "MIN0_MAX", + "PERCENTAGE_CHANGE" + ], + "type": "string" + }, + "product": { + "description": "Filters the results by network traffic product types.", + "items": { + "enum": [ + "HTTP", + "ALL" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1762,19 +1793,19 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/netflows/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["normalization", args["normalization"], true], - ["product", args["product"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["normalization", param(args, "query", "normalization"), true], + ["product", param(args, "query", "product"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/netflows/top/tools.ts b/src/generated/forge-mcp/radar/netflows/top/tools.ts index 87bff6d6c..cea6ba6ee 100644 --- a/src/generated/forge-mcp/radar/netflows/top/tools.ts +++ b/src/generated/forge-mcp/radar/netflows/top/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.netflows.top`. @@ -14,76 +14,81 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -544,16 +549,16 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/netflows/top/ases`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -564,76 +569,81 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "geo_id": { - "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", - "items": { - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "geoId": { + "description": "Filters results by Geolocation. Specify a comma-separated list of GeoNames IDs. Prefix with `-` to exclude geoIds from results. For example, `-2267056,360689` excludes results from the 2267056 (Lisbon), but includes results from 5128638 (New York).", + "items": { + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1094,16 +1104,16 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/netflows/top/locations`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["geoId", args["geo_id"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["geoId", param(args, "query", "geoId"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/origins/tools.ts b/src/generated/forge-mcp/radar/origins/tools.ts index ac333c500..120f49122 100644 --- a/src/generated/forge-mcp/radar/origins/tools.ts +++ b/src/generated/forge-mcp/radar/origins/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.origins`. @@ -14,27 +14,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "slug": { + "description": "Origin slug.", + "enum": [ + "AMAZON", + "GOOGLE", + "MICROSOFT", + "ORACLE" + ], + "type": "string" + } + }, + "required": [ + "slug" ], - "type": "string" + "type": "object" }, - "slug": { - "description": "Origin slug.", - "enum": [ - "AMAZON", - "GOOGLE", - "MICROSOFT", - "ORACLE" - ], - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "slug" + "path" ], }, outputSchema: { @@ -168,7 +181,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/origins/${pathParam(args, "slug")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -179,22 +192,27 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + } + }, + "type": "object" } }, }, @@ -354,9 +372,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/origins`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -367,94 +385,110 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the origin attribute by which to group the results. `ORIGIN` groups across all providers and does not accept an `origin` or `region`. `REGION` requires an `origin`. `SUCCESS_RATE` and `PERCENTILE` require both an `origin` and a `region` and constrain the `metric` (`SUCCESS_RATE` supports only `REQUESTS`; `PERCENTILE` supports any metric except `REQUESTS`). `limitPerGroup` is only supported on the `REGION` dimension.", + "enum": [ + "ORIGIN", + "REGION", + "SUCCESS_RATE", + "PERCENTILE" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the origin attribute by which to group the results. `ORIGIN` groups across all providers and does not accept an `origin` or `region`. `REGION` requires an `origin`. `SUCCESS_RATE` and `PERCENTILE` require both an `origin` and a `region` and constrain the `metric` (`SUCCESS_RATE` supports only `REQUESTS`; `PERCENTILE` supports any metric except `REQUESTS`). `limitPerGroup` is only supported on the `REGION` dimension.", - "enum": [ - "ORIGIN", - "REGION", - "SUCCESS_RATE", - "PERCENTILE" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "metric": { - "description": "Specifies the metric to retrieve. Allowed metrics depend on the selected dimension (see the `dimension` path parameter).", - "enum": [ - "CONNECTION_FAILURES", - "REQUESTS", - "RESPONSE_HEADER_RECEIVE_DURATION", - "TCP_HANDSHAKE_DURATION", - "TCP_RTT", - "TLS_HANDSHAKE_DURATION" + "required": [ + "dimension" ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "origin": { - "description": "Filters results by origin. Required for every dimension except `ORIGIN`; must not be set on the `ORIGIN` dimension, which groups across all providers.", - "items": { - "enum": [ - "AMAZON", - "GOOGLE", - "MICROSOFT", - "ORACLE" - ], - "type": "string" - }, - "type": "array" + "type": "object" }, - "region": { - "description": "Filters results by origin region. Requires `origin` to be set and is validated against it.", - "items": { - "type": "string" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "metric": { + "description": "Specifies the metric to retrieve. Allowed metrics depend on the selected dimension (see the `dimension` path parameter).", + "enum": [ + "CONNECTION_FAILURES", + "REQUESTS", + "RESPONSE_HEADER_RECEIVE_DURATION", + "TCP_HANDSHAKE_DURATION", + "TCP_RTT", + "TLS_HANDSHAKE_DURATION" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "origin": { + "description": "Filters results by origin. Required for every dimension except `ORIGIN`; must not be set on the `ORIGIN` dimension, which groups across all providers.", + "items": { + "enum": [ + "AMAZON", + "GOOGLE", + "MICROSOFT", + "ORACLE" + ], + "type": "string" + }, + "type": "array" + }, + "region": { + "description": "Filters results by origin region. Requires `origin` to be set and is validated against it.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "required": [ + "metric" + ], + "type": "object" } }, required: [ - "dimension", - "metric" + "path", + "query" ], }, outputSchema: { @@ -887,15 +921,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/origins/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["origin", args["origin"], true], - ["metric", args["metric"], true], - ["region", args["region"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["origin", param(args, "query", "origin"), true], + ["metric", param(args, "query", "metric"), true], + ["region", param(args, "query", "region"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -906,90 +940,98 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "metric": { + "description": "Specifies the metric to retrieve. Without a `region`, only `REQUESTS` or `CONNECTION_FAILURES` are available; specify a `region` to use the latency metrics.", + "enum": [ + "CONNECTION_FAILURES", + "REQUESTS", + "RESPONSE_HEADER_RECEIVE_DURATION", + "TCP_HANDSHAKE_DURATION", + "TCP_RTT", + "TLS_HANDSHAKE_DURATION" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "origin": { + "description": "Filters results by origin.", + "items": { + "enum": [ + "AMAZON", + "GOOGLE", + "MICROSOFT", + "ORACLE" + ], + "type": "string" + }, + "type": "array" + }, + "region": { + "description": "Filters results by origin region. Requires `origin` to be set and is validated against it.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "metric": { - "description": "Specifies the metric to retrieve. Without a `region`, only `REQUESTS` or `CONNECTION_FAILURES` are available; specify a `region` to use the latency metrics.", - "enum": [ - "CONNECTION_FAILURES", - "REQUESTS", - "RESPONSE_HEADER_RECEIVE_DURATION", - "TCP_HANDSHAKE_DURATION", - "TCP_RTT", - "TLS_HANDSHAKE_DURATION" + "required": [ + "origin", + "metric" ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "origin": { - "description": "Filters results by origin.", - "items": { - "enum": [ - "AMAZON", - "GOOGLE", - "MICROSOFT", - "ORACLE" - ], - "type": "string" - }, - "type": "array" - }, - "region": { - "description": "Filters results by origin region. Requires `origin` to be set and is validated against it.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" } }, required: [ - "origin", - "metric" + "query" ], }, outputSchema: { @@ -1474,132 +1516,148 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/origins/timeseries`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["origin", args["origin"], true], - ["metric", args["metric"], true], - ["region", args["region"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["origin", param(args, "query", "origin"), true], + ["metric", param(args, "query", "metric"), true], + ["region", param(args, "query", "region"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_origins_timeseries_groups", + name: "radar_origins_timeseriesGroups", title: "Get origin metrics time series grouped by dimension", description: "Retrieves the distribution of origin metrics grouped by the specified dimension over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the origin attribute by which to group the results. `ORIGIN` groups across all providers and does not accept an `origin` or `region`. `REGION` requires an `origin`. `SUCCESS_RATE` and `PERCENTILE` require both an `origin` and a `region` and constrain the `metric` (`SUCCESS_RATE` supports only `REQUESTS`; `PERCENTILE` supports any metric except `REQUESTS`). `limitPerGroup` is only supported on the `REGION` dimension.", + "enum": [ + "ORIGIN", + "REGION", + "SUCCESS_RATE", + "PERCENTILE" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the origin attribute by which to group the results. `ORIGIN` groups across all providers and does not accept an `origin` or `region`. `REGION` requires an `origin`. `SUCCESS_RATE` and `PERCENTILE` require both an `origin` and a `region` and constrain the `metric` (`SUCCESS_RATE` supports only `REQUESTS`; `PERCENTILE` supports any metric except `REQUESTS`). `limitPerGroup` is only supported on the `REGION` dimension.", - "enum": [ - "ORIGIN", - "REGION", - "SUCCESS_RATE", - "PERCENTILE" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "metric": { - "description": "Specifies the metric to retrieve. Allowed metrics depend on the selected dimension (see the `dimension` path parameter).", - "enum": [ - "CONNECTION_FAILURES", - "REQUESTS", - "RESPONSE_HEADER_RECEIVE_DURATION", - "TCP_HANDSHAKE_DURATION", - "TCP_RTT", - "TLS_HANDSHAKE_DURATION" + "required": [ + "dimension" ], - "type": "string" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "metric": { + "description": "Specifies the metric to retrieve. Allowed metrics depend on the selected dimension (see the `dimension` path parameter).", + "enum": [ + "CONNECTION_FAILURES", + "REQUESTS", + "RESPONSE_HEADER_RECEIVE_DURATION", + "TCP_HANDSHAKE_DURATION", + "TCP_RTT", + "TLS_HANDSHAKE_DURATION" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "normalization": { + "default": "PERCENTAGE", + "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", + "enum": [ + "PERCENTAGE", + "MIN0_MAX" + ], + "type": "string" + }, + "origin": { + "description": "Filters results by origin. Required for every dimension except `ORIGIN`; must not be set on the `ORIGIN` dimension, which groups across all providers.", + "items": { + "enum": [ + "AMAZON", + "GOOGLE", + "MICROSOFT", + "ORACLE" + ], + "type": "string" + }, + "type": "array" + }, + "region": { + "description": "Filters results by origin region. Requires `origin` to be set and is validated against it.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" - }, - "normalization": { - "default": "PERCENTAGE", - "description": "Normalization method applied to the results. Refer to [Normalization methods](https://developers.cloudflare.com/radar/concepts/normalization/).", - "enum": [ - "PERCENTAGE", - "MIN0_MAX" + "required": [ + "metric" ], - "type": "string" - }, - "origin": { - "description": "Filters results by origin. Required for every dimension except `ORIGIN`; must not be set on the `ORIGIN` dimension, which groups across all providers.", - "items": { - "enum": [ - "AMAZON", - "GOOGLE", - "MICROSOFT", - "ORACLE" - ], - "type": "string" - }, - "type": "array" - }, - "region": { - "description": "Filters results by origin region. Requires `origin` to be set and is validated against it.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" } }, required: [ - "dimension", - "metric" + "path", + "query" ], }, outputSchema: { @@ -2098,17 +2156,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/origins/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["origin", args["origin"], true], - ["metric", args["metric"], true], - ["region", args["region"], true], - ["normalization", args["normalization"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["origin", param(args, "query", "origin"), true], + ["metric", param(args, "query", "metric"), true], + ["region", param(args, "query", "region"), true], + ["normalization", param(args, "query", "normalization"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts b/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts index 9b89a8f22..a089028c8 100644 --- a/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts +++ b/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts @@ -1,67 +1,80 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** - * The tools of `radar.post_quantum.origin`. + * The tools of `radar.postQuantum.origin`. */ export const tools: readonly Tool[] = [ { - name: "radar_post_quantum_origin_summary", + name: "radar_postQuantum_origin_summary", title: "Get Origin Post-Quantum Data Summary", description: "Returns a summary of origin post-quantum data grouped by the specified dimension.", inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the origin post-quantum data dimension by which to group the results.", + "enum": [ + "KEY_AGREEMENT" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the origin post-quantum data dimension by which to group the results.", - "enum": [ - "KEY_AGREEMENT" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -494,69 +507,82 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/post_quantum/origin/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_post_quantum_origin_timeseries_groups", + name: "radar_postQuantum_origin_timeseriesGroups", title: "Get Origin Post-Quantum Data Over Time", description: "Returns a timeseries of origin post-quantum data grouped by the specified dimension.", inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Specifies the origin post-quantum data dimension by which to group the results.", + "enum": [ + "KEY_AGREEMENT" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Specifies the origin post-quantum data dimension by which to group the results.", - "enum": [ - "KEY_AGREEMENT" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1041,11 +1067,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/post_quantum/origin/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts b/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts index d5af91b2a..42ad104ce 100644 --- a/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts +++ b/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts @@ -1,26 +1,34 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** - * The tools of `radar.post_quantum.tls`. + * The tools of `radar.postQuantum.tls`. */ export const tools: readonly Tool[] = [ { - name: "radar_post_quantum_tls_support", + name: "radar_postQuantum_tls_support", title: "Check Post-Quantum TLS support", description: "Tests whether a hostname or IP address supports Post-Quantum (PQ) TLS key exchange. Returns information about the negotiated key exchange algorithm, whether it uses PQ cryptography, and any detected TLS implementation bugs (Split ClientHello, HRR failure, etc.).", inputSchema: { type: "object", properties: { - "host": { - "description": "Hostname or IP address to test for Post-Quantum TLS support, optionally with port (defaults to 443).", - "type": "string" + "query": { + "properties": { + "host": { + "description": "Hostname or IP address to test for Post-Quantum TLS support, optionally with port (defaults to 443).", + "type": "string" + } + }, + "required": [ + "host" + ], + "type": "object" } }, required: [ - "host" + "query" ], }, outputSchema: { @@ -191,7 +199,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/post_quantum/tls/support`, query: [ - ["host", args["host"], true], + ["host", param(args, "query", "host"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/quality/iqi/tools.ts b/src/generated/forge-mcp/radar/quality/iqi/tools.ts index 680fe07b8..2001eb74b 100644 --- a/src/generated/forge-mcp/radar/quality/iqi/tools.ts +++ b/src/generated/forge-mcp/radar/quality/iqi/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.quality.iqi`. @@ -14,77 +14,85 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metric": { + "description": "Defines which metric to return (bandwidth, latency, or DNS response time).", + "enum": [ + "BANDWIDTH", + "DNS", + "LATENCY" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" - }, - "metric": { - "description": "Defines which metric to return (bandwidth, latency, or DNS response time).", - "enum": [ - "BANDWIDTH", - "DNS", - "LATENCY" + "required": [ + "metric" ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" } }, required: [ - "metric" + "query" ], }, outputSchema: { @@ -543,110 +551,118 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/quality/iqi/summary`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["metric", args["metric"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["metric", param(args, "query", "metric"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_quality_iqi_timeseries_groups", + name: "radar_quality_iqi_timeseriesGroups", title: "Get Internet Quality Index (IQI) time series", description: "Retrieves a time series (percentiles) of bandwidth, latency, or DNS response time from the Radar Internet Quality Index (IQI).", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "interpolation": { - "description": "Enables interpolation for all series (using the average).", - "type": "boolean" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "interpolation": { + "description": "Enables interpolation for all series (using the average).", + "type": "boolean" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metric": { + "description": "Defines which metric to return (bandwidth, latency, or DNS response time).", + "enum": [ + "BANDWIDTH", + "DNS", + "LATENCY" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" - }, - "metric": { - "description": "Defines which metric to return (bandwidth, latency, or DNS response time).", - "enum": [ - "BANDWIDTH", - "DNS", - "LATENCY" + "required": [ + "metric" ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" + "type": "object" } }, required: [ - "metric" + "query" ], }, outputSchema: { @@ -1145,17 +1161,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/quality/iqi/timeseries_groups`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["interpolation", args["interpolation"], true], - ["metric", args["metric"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["interpolation", param(args, "query", "interpolation"), true], + ["metric", param(args, "query", "metric"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/quality/speed/tools.ts b/src/generated/forge-mcp/radar/quality/speed/tools.ts index f93af5ed3..477fba420 100644 --- a/src/generated/forge-mcp/radar/quality/speed/tools.ts +++ b/src/generated/forge-mcp/radar/quality/speed/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** * The tools of `radar.quality.speed`. @@ -14,63 +14,68 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "bucket_size": { - "description": "Specifies the width for every bucket in the histogram.", - "type": "integer" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "metric_group": { - "default": "bandwidth", - "description": "Metrics to be returned.", - "enum": [ - "BANDWIDTH", - "LATENCY", - "JITTER" - ], - "type": "string" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "bucketSize": { + "description": "Specifies the width for every bucket in the histogram.", + "type": "integer" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "metricGroup": { + "default": "bandwidth", + "description": "Metrics to be returned.", + "enum": [ + "BANDWIDTH", + "LATENCY", + "JITTER" + ], + "type": "string" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -570,14 +575,14 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/quality/speed/histogram`, query: [ - ["name", args["name"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["bucketSize", args["bucket_size"], true], - ["metricGroup", args["metric_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["bucketSize", param(args, "query", "bucketSize"), true], + ["metricGroup", param(args, "query", "metricGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -588,49 +593,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1122,12 +1132,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/quality/speed/summary`, query: [ - ["name", args["name"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/quality/speed/top/tools.ts b/src/generated/forge-mcp/radar/quality/speed/top/tools.ts index ec13bdff2..44268d2f1 100644 --- a/src/generated/forge-mcp/radar/quality/speed/top/tools.ts +++ b/src/generated/forge-mcp/radar/quality/speed/top/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** * The tools of `radar.quality.speed.top`. @@ -14,71 +14,76 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "orderBy": { + "default": "BANDWIDTH_DOWNLOAD", + "description": "Specifies the metric to order the results by.", + "enum": [ + "BANDWIDTH_DOWNLOAD", + "BANDWIDTH_UPLOAD", + "LATENCY_IDLE", + "LATENCY_LOADED", + "JITTER_IDLE", + "JITTER_LOADED" + ], + "type": "string" + }, + "reverse": { + "description": "Reverses the order of results.", + "type": "boolean" + } }, - "type": "array" - }, - "order_by": { - "default": "BANDWIDTH_DOWNLOAD", - "description": "Specifies the metric to order the results by.", - "enum": [ - "BANDWIDTH_DOWNLOAD", - "BANDWIDTH_UPLOAD", - "LATENCY_IDLE", - "LATENCY_LOADED", - "JITTER_IDLE", - "JITTER_LOADED" - ], - "type": "string" - }, - "reverse": { - "description": "Reverses the order of results.", - "type": "boolean" + "type": "object" } }, }, @@ -595,15 +600,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/quality/speed/top/ases`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["orderBy", args["order_by"], true], - ["reverse", args["reverse"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["orderBy", param(args, "query", "orderBy"), true], + ["reverse", param(args, "query", "reverse"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -614,71 +619,76 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "orderBy": { + "default": "BANDWIDTH_DOWNLOAD", + "description": "Specifies the metric to order the results by.", + "enum": [ + "BANDWIDTH_DOWNLOAD", + "BANDWIDTH_UPLOAD", + "LATENCY_IDLE", + "LATENCY_LOADED", + "JITTER_IDLE", + "JITTER_LOADED" + ], + "type": "string" + }, + "reverse": { + "description": "Reverses the order of results.", + "type": "boolean" + } }, - "type": "array" - }, - "order_by": { - "default": "BANDWIDTH_DOWNLOAD", - "description": "Specifies the metric to order the results by.", - "enum": [ - "BANDWIDTH_DOWNLOAD", - "BANDWIDTH_UPLOAD", - "LATENCY_IDLE", - "LATENCY_LOADED", - "JITTER_IDLE", - "JITTER_LOADED" - ], - "type": "string" - }, - "reverse": { - "description": "Reverses the order of results.", - "type": "boolean" + "type": "object" } }, }, @@ -1195,15 +1205,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/quality/speed/top/locations`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["orderBy", args["order_by"], true], - ["reverse", args["reverse"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["orderBy", param(args, "query", "orderBy"), true], + ["reverse", param(args, "query", "reverse"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ranking/domain/tools.ts b/src/generated/forge-mcp/radar/ranking/domain/tools.ts index b13fd0c1a..342806da5 100644 --- a/src/generated/forge-mcp/radar/ranking/domain/tools.ts +++ b/src/generated/forge-mcp/radar/ranking/domain/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.ranking.domain`. @@ -14,55 +14,68 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "date": { - "description": "Filters results by the specified array of dates.", - "items": { - "format": "date", - "type": "string" + "path": { + "properties": { + "domain": { + "description": "Domain name.", + "type": "string" + } }, - "type": "array" - }, - "domain": { - "description": "Domain name.", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "domain" ], - "type": "string" - }, - "include_top_locations": { - "description": "Includes top locations in the response.", - "type": "boolean" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" + "type": "object" }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "date": { + "description": "Filters results by the specified array of dates.", + "items": { + "format": "date", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "includeTopLocations": { + "description": "Includes top locations in the response.", + "type": "boolean" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "rankingType": { + "default": "POPULAR", + "description": "The ranking type.", + "enum": [ + "POPULAR", + "TRENDING_RISE", + "TRENDING_STEADY" + ], + "type": "string" + } }, - "type": "array" - }, - "ranking_type": { - "default": "POPULAR", - "description": "The ranking type.", - "enum": [ - "POPULAR", - "TRENDING_RISE", - "TRENDING_STEADY" - ], - "type": "string" + "type": "object" } }, required: [ - "domain" + "path" ], }, outputSchema: { @@ -337,12 +350,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ranking/domain/${pathParam(args, "domain")}`, query: [ - ["limit", args["limit"], true], - ["rankingType", args["ranking_type"], true], - ["name", args["name"], true], - ["includeTopLocations", args["include_top_locations"], true], - ["date", args["date"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["rankingType", param(args, "query", "rankingType"), true], + ["name", param(args, "query", "name"), true], + ["includeTopLocations", param(args, "query", "includeTopLocations"), true], + ["date", param(args, "query", "date"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts b/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts index c6a2c1b65..160489491 100644 --- a/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts +++ b/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts @@ -1,45 +1,50 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** - * The tools of `radar.ranking.internet_services`. + * The tools of `radar.ranking.internetServices`. */ export const tools: readonly Tool[] = [ { - name: "radar_ranking_internet_services_categories", + name: "radar_ranking_internetServices_categories", title: "List Internet services categories", description: "Retrieves the list of Internet services categories.", inputSchema: { type: "object", properties: { - "date": { - "description": "Filters results by the specified array of dates.", - "items": { - "format": "date", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "date": { + "description": "Filters results by the specified array of dates.", + "items": { + "format": "date", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -169,69 +174,74 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ranking/internet_services/categories`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["date", args["date"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["date", param(args, "query", "date"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_ranking_internet_services_timeseries_groups", + name: "radar_ranking_internetServices_timeseriesGroups", title: "Get Internet services rank time series", description: "Retrieves Internet Services rank update changes over time.", inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "service_category": { - "description": "Filters results by Internet service category.", - "items": { - "type": "string" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "serviceCategory": { + "description": "Filters results by Internet service category.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -731,56 +741,61 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ranking/internet_services/timeseries_groups`, query: [ - ["serviceCategory", args["service_category"], true], - ["limit", args["limit"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["format", args["format"], true], + ["serviceCategory", param(args, "query", "serviceCategory"), true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_ranking_internet_services_top", + name: "radar_ranking_internetServices_top", title: "Get top Internet services", description: "Retrieves top Internet services based on their rank.", inputSchema: { type: "object", properties: { - "date": { - "description": "Filters results by the specified array of dates.", - "items": { - "format": "date", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "service_category": { - "description": "Filters results by Internet service category.", - "items": { - "type": "string" + "query": { + "properties": { + "date": { + "description": "Filters results by the specified array of dates.", + "items": { + "format": "date", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "serviceCategory": { + "description": "Filters results by Internet service category.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1286,11 +1301,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ranking/internet_services/top`, query: [ - ["serviceCategory", args["service_category"], true], - ["limit", args["limit"], true], - ["name", args["name"], true], - ["date", args["date"], true], - ["format", args["format"], true], + ["serviceCategory", param(args, "query", "serviceCategory"), true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["date", param(args, "query", "date"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/ranking/tools.ts b/src/generated/forge-mcp/radar/ranking/tools.ts index 8b9c00040..09507cdb6 100644 --- a/src/generated/forge-mcp/radar/ranking/tools.ts +++ b/src/generated/forge-mcp/radar/ranking/tools.ts @@ -1,92 +1,97 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../_/tool.js"; +import { type Tool, param } from "../../_/tool.js"; /** * The tools of `radar.ranking`. */ export const tools: readonly Tool[] = [ { - name: "radar_ranking_timeseries_groups", + name: "radar_ranking_timeseriesGroups", title: "Get domains rank time series", description: "Retrieves domains rank over time.", inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "domain_category": { - "description": "Filters results by domain category.", - "items": { - "type": "string" - }, - "type": "array" - }, - "domains": { - "description": "Filters results by domain name. Specify a comma-separated list of domain names.", - "items": { - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "domainCategory": { + "description": "Filters results by domain category.", + "items": { + "type": "string" + }, + "type": "array" + }, + "domains": { + "description": "Filters results by domain name. Specify a comma-separated list of domain names.", + "items": { + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "rankingType": { + "default": "POPULAR", + "description": "The ranking type.", + "enum": [ + "POPULAR", + "TRENDING_RISE", + "TRENDING_STEADY" + ], + "type": "string" + } }, - "type": "array" - }, - "ranking_type": { - "default": "POPULAR", - "description": "The ranking type.", - "enum": [ - "POPULAR", - "TRENDING_RISE", - "TRENDING_STEADY" - ], - "type": "string" + "type": "object" } }, }, @@ -586,16 +591,16 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ranking/timeseries_groups`, query: [ - ["limit", args["limit"], true], - ["rankingType", args["ranking_type"], true], - ["name", args["name"], true], - ["location", args["location"], true], - ["domains", args["domains"], true], - ["domainCategory", args["domain_category"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["rankingType", param(args, "query", "rankingType"), true], + ["name", param(args, "query", "name"), true], + ["location", param(args, "query", "location"), true], + ["domains", param(args, "query", "domains"), true], + ["domainCategory", param(args, "query", "domainCategory"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -606,56 +611,61 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "date": { - "description": "Filters results by the specified array of dates.", - "items": { - "format": "date", - "type": "string" - }, - "type": "array" - }, - "domain_category": { - "description": "Filters results by domain category.", - "items": { - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "date": { + "description": "Filters results by the specified array of dates.", + "items": { + "format": "date", + "type": "string" + }, + "type": "array" + }, + "domainCategory": { + "description": "Filters results by domain category.", + "items": { + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 location codes.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "rankingType": { + "default": "POPULAR", + "description": "The ranking type.", + "enum": [ + "POPULAR", + "TRENDING_RISE", + "TRENDING_STEADY" + ], + "type": "string" + } }, - "type": "array" - }, - "ranking_type": { - "default": "POPULAR", - "description": "The ranking type.", - "enum": [ - "POPULAR", - "TRENDING_RISE", - "TRENDING_STEADY" - ], - "type": "string" + "type": "object" } }, }, @@ -1205,13 +1215,13 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/ranking/top`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["location", args["location"], true], - ["domainCategory", args["domain_category"], true], - ["date", args["date"], true], - ["rankingType", args["ranking_type"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["location", param(args, "query", "location"), true], + ["domainCategory", param(args, "query", "domainCategory"), true], + ["date", param(args, "query", "date"), true], + ["rankingType", param(args, "query", "rankingType"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts b/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts index c65769333..6d7bb800d 100644 --- a/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts +++ b/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts @@ -1,54 +1,59 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** - * The tools of `radar.robots_txt.top`. + * The tools of `radar.robotsTxt.top`. */ export const tools: readonly Tool[] = [ { - name: "radar_robots_txt_top_domain_categories", + name: "radar_robotsTxt_top_domainCategories", title: "Get top domain categories by robots.txt files parsed", description: "Retrieves the top domain categories by the number of robots.txt files parsed.", inputSchema: { type: "object", properties: { - "date": { - "description": "Filters results by the specified array of dates.", - "items": { - "format": "date", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "date": { + "description": "Filters results by the specified array of dates.", + "items": { + "format": "date", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "userAgentCategory": { + "default": "AI", + "description": "Filters results by user agent category.", + "enum": [ + "AI" + ], + "type": "string" + } }, - "type": "array" - }, - "user_agent_category": { - "default": "AI", - "description": "Filters results by user agent category.", - "enum": [ - "AI" - ], - "type": "string" + "type": "object" } }, }, @@ -501,11 +506,11 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/robots_txt/top/domain_categories`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["userAgentCategory", args["user_agent_category"], true], - ["date", args["date"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["userAgentCategory", param(args, "query", "userAgentCategory"), true], + ["date", param(args, "query", "date"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts b/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts index 585b44c79..a071310b2 100644 --- a/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts +++ b/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts @@ -1,69 +1,74 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; /** - * The tools of `radar.robots_txt.top.user_agents`. + * The tools of `radar.robotsTxt.top.userAgents`. */ export const tools: readonly Tool[] = [ { - name: "radar_robots_txt_top_user_agents_directive", + name: "radar_robotsTxt_top_userAgents_directive", title: "Get top user agents on robots.txt files", description: "Retrieves the top user agents on robots.txt files.", inputSchema: { type: "object", properties: { - "date": { - "description": "Filters results by the specified array of dates.", - "items": { - "format": "date", - "type": "string" - }, - "type": "array" - }, - "directive": { - "description": "Filters results by robots.txt directive.", - "enum": [ - "ALLOW", - "DISALLOW" - ], - "type": "string" - }, - "domain_category": { - "description": "Filters results by domain category.", - "items": { - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "date": { + "description": "Filters results by the specified array of dates.", + "items": { + "format": "date", + "type": "string" + }, + "type": "array" + }, + "directive": { + "description": "Filters results by robots.txt directive.", + "enum": [ + "ALLOW", + "DISALLOW" + ], + "type": "string" + }, + "domainCategory": { + "description": "Filters results by domain category.", + "items": { + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "userAgentCategory": { + "default": "AI", + "description": "Filters results by user agent category.", + "enum": [ + "AI" + ], + "type": "string" + } }, - "type": "array" - }, - "user_agent_category": { - "default": "AI", - "description": "Filters results by user agent category.", - "enum": [ - "AI" - ], - "type": "string" + "type": "object" } }, }, @@ -528,13 +533,13 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/robots_txt/top/user_agents/directive`, query: [ - ["limit", args["limit"], true], - ["name", args["name"], true], - ["userAgentCategory", args["user_agent_category"], true], - ["date", args["date"], true], - ["domainCategory", args["domain_category"], true], - ["directive", args["directive"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["name", param(args, "query", "name"), true], + ["userAgentCategory", param(args, "query", "userAgentCategory"), true], + ["date", param(args, "query", "date"), true], + ["domainCategory", param(args, "query", "domainCategory"), true], + ["directive", param(args, "query", "directive"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/search/tools.ts b/src/generated/forge-mcp/radar/search/tools.ts index d49b06fe3..57c2156e1 100644 --- a/src/generated/forge-mcp/radar/search/tools.ts +++ b/src/generated/forge-mcp/radar/search/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../_/tool.js"; +import { type Tool, param } from "../../_/tool.js"; /** * The tools of `radar.search`. @@ -14,68 +14,76 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "exclude": { - "description": "Search types excluded from results.", - "items": { - "enum": [ - "ADM1S", - "ASNS", - "BOTS", - "CERTIFICATE_AUTHORITIES", - "CERTIFICATE_LOGS", - "ORIGINS", - "ORIGIN_REGIONS", - "INDUSTRIES", - "LOCATIONS", - "NOTEBOOKS", - "TLDS", - "VERTICALS" - ], - "type": "string" + "query": { + "properties": { + "exclude": { + "description": "Search types excluded from results.", + "items": { + "enum": [ + "ADM1S", + "ASNS", + "BOTS", + "CERTIFICATE_AUTHORITIES", + "CERTIFICATE_LOGS", + "ORIGINS", + "ORIGIN_REGIONS", + "INDUSTRIES", + "LOCATIONS", + "NOTEBOOKS", + "TLDS", + "VERTICALS" + ], + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "include": { + "description": "Search types included in results.", + "items": { + "enum": [ + "ADM1S", + "ASNS", + "BOTS", + "CERTIFICATE_AUTHORITIES", + "CERTIFICATE_LOGS", + "ORIGINS", + "ORIGIN_REGIONS", + "INDUSTRIES", + "LOCATIONS", + "NOTEBOOKS", + "TLDS", + "VERTICALS" + ], + "type": "string" + }, + "type": "array" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "limitPerGroup": { + "description": "Limits the number of objects per search category.", + "type": "number" + }, + "query": { + "description": "String used to perform the search operation.", + "type": "string" + } }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "query" ], - "type": "string" - }, - "include": { - "description": "Search types included in results.", - "items": { - "enum": [ - "ADM1S", - "ASNS", - "BOTS", - "CERTIFICATE_AUTHORITIES", - "CERTIFICATE_LOGS", - "ORIGINS", - "ORIGIN_REGIONS", - "INDUSTRIES", - "LOCATIONS", - "NOTEBOOKS", - "TLDS", - "VERTICALS" - ], - "type": "string" - }, - "type": "array" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "limit_per_group": { - "description": "Limits the number of objects per search category.", - "type": "number" - }, - "query": { - "description": "String used to perform the search operation.", - "type": "string" + "type": "object" } }, required: [ @@ -224,12 +232,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/search/global`, query: [ - ["limit", args["limit"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["query", args["query"], true], - ["include", args["include"], true], - ["exclude", args["exclude"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["query", param(args, "query", "query"), true], + ["include", param(args, "query", "include"), true], + ["exclude", param(args, "query", "exclude"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts b/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts index 907772901..98ec8a44f 100644 --- a/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts +++ b/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts @@ -1,77 +1,82 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../_/tool.js"; +import { type Tool, param } from "../../_/tool.js"; /** - * The tools of `radar.tcp_resets_timeouts`. + * The tools of `radar.tcpResetsTimeouts`. */ export const tools: readonly Tool[] = [ { - name: "radar_tcp_resets_timeouts_summary", + name: "radar_tcpResetsTimeouts_summary", title: "Get TCP resets and timeouts summary", description: "Retrieves the distribution of connection stage by TCP connections terminated within the first 10 packets by a reset or timeout.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -547,92 +552,97 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/tcp_resets_timeouts/summary`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_tcp_resets_timeouts_timeseries_groups", + name: "radar_tcpResetsTimeouts_timeseriesGroups", title: "Get TCP resets and timeouts time series", description: "Retrieves the distribution of connection stage by TCP connections terminated within the first 10 packets by a reset or timeout over time.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "asn": { - "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", - "items": { - "type": "string" - }, - "type": "array" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "asn": { + "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", + "items": { + "type": "string" + }, + "type": "array" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -1176,15 +1186,15 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/tcp_resets_timeouts/timeseries_groups`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/tlds/performance/tools.ts b/src/generated/forge-mcp/radar/tlds/performance/tools.ts index e539f6c75..b4ae3652b 100644 --- a/src/generated/forge-mcp/radar/tlds/performance/tools.ts +++ b/src/generated/forge-mcp/radar/tlds/performance/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `radar.tlds.performance`. @@ -14,85 +14,98 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Dimension to summarize TLD nameserver latency by.", + "enum": [ + "LATENCY", + "NAMESERVER_LATENCY", + "LOCATION_LATENCY" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Dimension to summarize TLD nameserver latency by.", - "enum": [ - "LATENCY", - "NAMESERVER_LATENCY", - "LOCATION_LATENCY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nameserver": { - "description": "Filters results by nameserver hostname.", - "type": "string" + "type": "object" }, - "tld": { - "description": "Filters results by top-level domain.", - "items": { - "type": "string" + "query": { + "properties": { + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "nameserver": { + "description": "Filters results by nameserver hostname.", + "type": "string" + }, + "tld": { + "description": "Filters results by top-level domain.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -525,115 +538,128 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/tlds/performance/summary/${pathParam(args, "dimension")}`, query: [ - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["tld", args["tld"], true], - ["nameserver", args["nameserver"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["tld", param(args, "query", "tld"), true], + ["nameserver", param(args, "query", "nameserver"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_tlds_performance_timeseries_groups", + name: "radar_tlds_performance_timeseriesGroups", title: "Get TLD Performance Over Time", description: "Returns a timeseries of TLD authoritative nameserver performance grouped by the specified dimension.", inputSchema: { type: "object", properties: { - "agg_interval": { - "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", - "enum": [ - "15m", - "1h", - "1d", - "1w" - ], - "type": "string" - }, - "continent": { - "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" - }, - "type": "array" - }, - "date_range": { - "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", - "items": { - "type": "string" - }, - "type": "array" - }, - "date_start": { - "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", - "items": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "dimension": { + "description": "Dimension for the TLD nameserver latency timeseries.", + "enum": [ + "LATENCY", + "NAMESERVER_LATENCY", + "LOCATION_LATENCY" + ], + "type": "string" + } }, - "type": "array" - }, - "dimension": { - "description": "Dimension for the TLD nameserver latency timeseries.", - "enum": [ - "LATENCY", - "NAMESERVER_LATENCY", - "LOCATION_LATENCY" - ], - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "required": [ + "dimension" ], - "type": "string" - }, - "limit_per_group": { - "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", - "items": { - "type": "string" - }, - "type": "array" - }, - "name": { - "description": "Array of names used to label the series in the response.", - "items": { - "type": "string" - }, - "type": "array" - }, - "nameserver": { - "description": "Filters results by nameserver hostname.", - "type": "string" + "type": "object" }, - "tld": { - "description": "Filters results by top-level domain.", - "items": { - "type": "string" + "query": { + "properties": { + "aggInterval": { + "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", + "enum": [ + "15m", + "1h", + "1d", + "1w" + ], + "type": "string" + }, + "continent": { + "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "dateRange": { + "description": "Filters results by relative date range ending at the current time, with each value producing a separate series. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`). Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `7dcontrol` covers days -14 to -7, `10dcontrol` covers days -24 to -14). For example, pass `7d` and `7dcontrol` to compare this week with the previous week. All series must resolve to the same duration as the main series; relative ranges (including `control`) satisfy this automatically. Use this parameter or set specific start and end dates (`dateStart` and `dateEnd` parameters).", + "items": { + "type": "string" + }, + "type": "array" + }, + "dateStart": { + "description": "Start of the date range. Alternative to `dateRange`; provide together with `dateEnd`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", + "items": { + "format": "date-time", + "type": "string" + }, + "type": "array" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limitPerGroup": { + "description": "Limits the number of objects per group to the top items within the specified time range. When item count exceeds the limit, extra items appear grouped under an \"other\" category. Only supported on high-cardinality dimensions; otherwise the request is rejected. Minimum value is 2.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude locations from results. For example, `-US,PT` excludes results from the US, but includes results from PT.", + "items": { + "type": "string" + }, + "type": "array" + }, + "name": { + "description": "Array of names used to label the series in the response.", + "items": { + "type": "string" + }, + "type": "array" + }, + "nameserver": { + "description": "Filters results by nameserver hostname.", + "type": "string" + }, + "tld": { + "description": "Filters results by top-level domain.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "dimension" + "path" ], }, outputSchema: { @@ -1132,17 +1158,17 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/tlds/performance/timeseries_groups/${pathParam(args, "dimension")}`, query: [ - ["aggInterval", args["agg_interval"], true], - ["name", args["name"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["location", args["location"], true], - ["continent", args["continent"], true], - ["tld", args["tld"], true], - ["nameserver", args["nameserver"], true], - ["limitPerGroup", args["limit_per_group"], true], - ["format", args["format"], true], + ["aggInterval", param(args, "query", "aggInterval"), true], + ["name", param(args, "query", "name"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["location", param(args, "query", "location"), true], + ["continent", param(args, "query", "continent"), true], + ["tld", param(args, "query", "tld"), true], + ["nameserver", param(args, "query", "nameserver"), true], + ["limitPerGroup", param(args, "query", "limitPerGroup"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/tlds/tools.ts b/src/generated/forge-mcp/radar/tlds/tools.ts index 7e513e97f..8df236d6d 100644 --- a/src/generated/forge-mcp/radar/tlds/tools.ts +++ b/src/generated/forge-mcp/radar/tlds/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `radar.tlds`. @@ -14,21 +14,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "tld": { + "description": "Top-level domain.", + "type": "string" + } + }, + "required": [ + "tld" ], - "type": "string" + "type": "object" }, - "tld": { - "description": "Top-level domain.", - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "tld" + "path" ], }, outputSchema: { @@ -148,7 +161,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/tlds/${pathParam(args, "tld")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, @@ -159,41 +172,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" - }, - "tld": { - "description": "Filters results by top-level domain. Specify a comma-separated list of TLDs.", - "type": "string" - }, - "tld_manager": { - "description": "Filters results by TLD manager.", - "type": "string" - }, - "tld_type": { - "description": "Filters results by TLD type.", - "enum": [ - "GENERIC", - "COUNTRY_CODE", - "GENERIC_RESTRICTED", - "INFRASTRUCTURE", - "SPONSORED" - ], - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + }, + "tld": { + "description": "Filters results by top-level domain. Specify a comma-separated list of TLDs.", + "type": "string" + }, + "tldManager": { + "description": "Filters results by TLD manager.", + "type": "string" + }, + "tldType": { + "description": "Filters results by TLD type.", + "enum": [ + "GENERIC", + "COUNTRY_CODE", + "GENERIC_RESTRICTED", + "INFRASTRUCTURE", + "SPONSORED" + ], + "type": "string" + } + }, + "type": "object" } }, }, @@ -339,12 +357,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/tlds`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["tldManager", args["tld_manager"], true], - ["tldType", args["tld_type"], true], - ["tld", args["tld"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["tldManager", param(args, "query", "tldManager"), true], + ["tldType", param(args, "query", "tldType"), true], + ["tld", param(args, "query", "tld"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts b/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts index 52f0a4835..eb4400988 100644 --- a/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts +++ b/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts @@ -1,52 +1,57 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; /** - * The tools of `radar.traffic_anomalies.locations`. + * The tools of `radar.trafficAnomalies.locations`. */ export const tools: readonly Tool[] = [ { - name: "radar_traffic_anomalies_locations_get", + name: "radar_trafficAnomalies_locations_get", title: "Get top locations by total traffic anomalies", description: "Retrieves the sum of Internet traffic anomalies, grouped by location. These anomalies are signals that might indicate an outage, automatically detected by Radar and manually verified by our team.", inputSchema: { type: "object", properties: { - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_range": { - "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "status": { - "enum": [ - "VERIFIED", - "UNVERIFIED" - ], - "type": "string" + "query": { + "properties": { + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateRange": { + "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "status": { + "enum": [ + "VERIFIED", + "UNVERIFIED" + ], + "type": "string" + } + }, + "type": "object" } }, }, @@ -192,12 +197,12 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/traffic_anomalies/locations`, query: [ - ["limit", args["limit"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["status", args["status"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["status", param(args, "query", "status"), true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts b/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts index d35e03605..cba65000c 100644 --- a/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts +++ b/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts @@ -1,111 +1,116 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `radar.traffic_anomalies`. + * The tools of `radar.trafficAnomalies`. */ export const tools: readonly Tool[] = [ { - name: "radar_traffic_anomalies_get", + name: "radar_trafficAnomalies_get", title: "Get latest Internet traffic anomalies", description: "Retrieves the latest Internet traffic anomalies, which are signals that might indicate an outage. These alerts are automatically detected by Radar and manually verified by our team.", inputSchema: { type: "object", properties: { - "asn": { - "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", - "type": "integer" - }, - "data_source": { - "description": "Filters results by data source.", - "enum": [ - "ALL", - "AI_BOTS", - "AI_GATEWAY", - "BGP", - "BOTS", - "CONNECTION_ANOMALY", - "CT", - "DNS", - "DNS_MAGNITUDE", - "DNS_AS112", - "DOS", - "EMAIL_ROUTING", - "EMAIL_SECURITY", - "FW", - "FW_PG", - "HTTP", - "HTTP_CONTROL", - "HTTP_CRAWLER_REFERER", - "HTTP_ORIGINS", - "IQI", - "LEAKED_CREDENTIALS", - "NET", - "ROBOTS_TXT", - "SPEED", - "WORKERS_AI" - ], - "type": "string" - }, - "date_end": { - "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", - "format": "date-time", - "type": "string" - }, - "date_range": { - "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", - "type": "string" - }, - "date_start": { - "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", - "format": "date-time", - "type": "string" - }, - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" - ], - "type": "string" - }, - "limit": { - "default": 5, - "description": "Limits the number of objects returned in the response.", - "type": "integer" - }, - "location": { - "description": "Filters results by location. Specify an alpha-2 location code.", - "type": "string" - }, - "offset": { - "description": "Skips the specified number of objects before fetching the results.", - "type": "integer" - }, - "origin": { - "description": "Filters results by origin.", - "type": "string" - }, - "status": { - "enum": [ - "VERIFIED", - "UNVERIFIED" - ], - "type": "string" - }, - "type": { - "description": "Filters results by entity type (LOCATION, AS, or ORIGIN).", - "items": { - "enum": [ - "LOCATION", - "AS", - "ORIGIN" - ], - "type": "string" + "query": { + "properties": { + "asn": { + "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", + "type": "integer" + }, + "dataSource": { + "description": "Filters results by data source.", + "enum": [ + "ALL", + "AI_BOTS", + "AI_GATEWAY", + "BGP", + "BOTS", + "CONNECTION_ANOMALY", + "CT", + "DNS", + "DNS_MAGNITUDE", + "DNS_AS112", + "DOS", + "EMAIL_ROUTING", + "EMAIL_SECURITY", + "FW", + "FW_PG", + "HTTP", + "HTTP_CONTROL", + "HTTP_CRAWLER_REFERER", + "HTTP_ORIGINS", + "IQI", + "LEAKED_CREDENTIALS", + "NET", + "ROBOTS_TXT", + "SPEED", + "WORKERS_AI" + ], + "type": "string" + }, + "dateEnd": { + "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", + "format": "date-time", + "type": "string" + }, + "dateRange": { + "description": "Filters results by a relative date range ending at the current time. Use `d` for days (up to `364d`) or `w` for weeks (up to `52w`), e.g. `7d`. Append `control` to request the equivalent previous period for comparison: the comparison window is shifted back by the current window's length rounded up to a whole number of weeks, so it keeps the same weekday alignment and does not overlap the current window (e.g. `3dcontrol` covers days -10 to -7, `7dcontrol` covers days -14 to -7, `28dcontrol` covers days -56 to -28, and `10dcontrol` covers days -24 to -14). Mutually exclusive with `dateStart`/`dateEnd`.", + "type": "string" + }, + "dateStart": { + "description": "Start of the date range (inclusive). Alternative to `dateRange`; provide together with `dateEnd`.", + "format": "date-time", + "type": "string" + }, + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + }, + "limit": { + "default": 5, + "description": "Limits the number of objects returned in the response.", + "type": "integer" + }, + "location": { + "description": "Filters results by location. Specify an alpha-2 location code.", + "type": "string" + }, + "offset": { + "description": "Skips the specified number of objects before fetching the results.", + "type": "integer" + }, + "origin": { + "description": "Filters results by origin.", + "type": "string" + }, + "status": { + "enum": [ + "VERIFIED", + "UNVERIFIED" + ], + "type": "string" + }, + "type": { + "description": "Filters results by entity type (LOCATION, AS, or ORIGIN).", + "items": { + "enum": [ + "LOCATION", + "AS", + "ORIGIN" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -547,43 +552,56 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/traffic_anomalies`, query: [ - ["limit", args["limit"], true], - ["offset", args["offset"], true], - ["dateRange", args["date_range"], true], - ["dateStart", args["date_start"], true], - ["dateEnd", args["date_end"], true], - ["status", args["status"], true], - ["type", args["type"], true], - ["dataSource", args["data_source"], true], - ["asn", args["asn"], true], - ["location", args["location"], true], - ["origin", args["origin"], true], - ["format", args["format"], true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], + ["dateRange", param(args, "query", "dateRange"), true], + ["dateStart", param(args, "query", "dateStart"), true], + ["dateEnd", param(args, "query", "dateEnd"), true], + ["status", param(args, "query", "status"), true], + ["type", param(args, "query", "type"), true], + ["dataSource", param(args, "query", "dataSource"), true], + ["asn", param(args, "query", "asn"), true], + ["location", param(args, "query", "location"), true], + ["origin", param(args, "query", "origin"), true], + ["format", param(args, "query", "format"), true], ], }), }, { - name: "radar_traffic_anomalies_get_by_id", + name: "radar_trafficAnomalies_getById", title: "Get traffic anomaly by UUID", description: "Retrieves a single Internet traffic anomaly by UUID.", inputSchema: { type: "object", properties: { - "format": { - "description": "Format in which results will be returned.", - "enum": [ - "JSON", - "CSV" + "path": { + "properties": { + "uuid": { + "description": "Traffic anomaly UUID.", + "type": "string" + } + }, + "required": [ + "uuid" ], - "type": "string" + "type": "object" }, - "uuid": { - "description": "Traffic anomaly UUID.", - "type": "string" + "query": { + "properties": { + "format": { + "description": "Format in which results will be returned.", + "enum": [ + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "uuid" + "path" ], }, outputSchema: { @@ -999,7 +1017,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/radar/traffic_anomalies/${pathParam(args, "uuid")}`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/ready/tools.ts b/src/generated/forge-mcp/ready/tools.ts index 30a6eaa43..5cb19ce32 100644 --- a/src/generated/forge-mcp/ready/tools.ts +++ b/src/generated/forge-mcp/ready/tools.ts @@ -2,7 +2,7 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; +import { brand$$protection$$api_Error } from "../outputs.js"; /** * The tools of `ready`. @@ -45,7 +45,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_Error": brand$$protection$$api_Error, }, }, request: (_args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts index 1820eb2f1..2815c70bb 100644 --- a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts @@ -1,10 +1,10 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../../outputs.js"; import { realtimekit_account_identifier, @@ -22,30 +22,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "end_time": { - "description": "Specify the end time as a Unix timestamp in seconds to access the livestream analytics.", - "type": "integer" - }, - "filters": { - "description": "Optional filters for livestream analytics.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" }, - "start_time": { - "description": "Specify the start time as a Unix timestamp in seconds to access the livestream analytics.", - "type": "integer" + "query": { + "properties": { + "end_time": { + "description": "Specify the end time as a Unix timestamp in seconds to access the livestream analytics.", + "type": "integer" + }, + "filters": { + "description": "Optional filters for livestream analytics.", + "type": "string" + }, + "start_time": { + "description": "Specify the start time as a Unix timestamp in seconds to access the livestream analytics.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -144,16 +157,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/analytics/livestreams/daywise`, query: [ - ["start_time", args["start_time"], true], - ["end_time", args["end_time"], true], - ["filters", args["filters"], true], + ["start_time", param(args, "query", "start_time"), true], + ["end_time", param(args, "query", "end_time"), true], + ["filters", param(args, "query", "filters"), true], ], }), }, diff --git a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts index 4b4148e0e..0c625ba96 100644 --- a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts @@ -1,10 +1,10 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, @@ -22,30 +22,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "end_time": { - "description": "Specify the end time as a Unix timestamp in seconds to access the livestream analytics.", - "type": "integer" - }, - "filters": { - "description": "Optional filters for livestream analytics.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" }, - "start_time": { - "description": "Specify the start time as a Unix timestamp in seconds to access the livestream analytics.", - "type": "integer" + "query": { + "properties": { + "end_time": { + "description": "Specify the end time as a Unix timestamp in seconds to access the livestream analytics.", + "type": "integer" + }, + "filters": { + "description": "Optional filters for livestream analytics.", + "type": "string" + }, + "start_time": { + "description": "Specify the start time as a Unix timestamp in seconds to access the livestream analytics.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -118,16 +131,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/analytics/livestreams/overall`, query: [ - ["start_time", args["start_time"], true], - ["end_time", args["end_time"], true], - ["filters", args["filters"], true], + ["start_time", param(args, "query", "start_time"), true], + ["end_time", param(args, "query", "end_time"), true], + ["filters", param(args, "query", "filters"), true], ], }), }, diff --git a/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts b/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts index c771246fe..952a15792 100644 --- a/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts @@ -1,10 +1,10 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, @@ -22,26 +22,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "end_date": { - "description": "end date in YYYY-MM-DD format", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" }, - "start_date": { - "description": "start date in YYYY-MM-DD format", - "type": "string" + "query": { + "properties": { + "end_date": { + "description": "end date in YYYY-MM-DD format", + "type": "string" + }, + "start_date": { + "description": "start date in YYYY-MM-DD format", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -208,15 +221,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/analytics/daywise`, query: [ - ["start_date", args["start_date"], true], - ["end_date", args["end_date"], true], + ["start_date", param(args, "query", "start_date"), true], + ["end_date", param(args, "query", "end_date"), true], ], }), }, diff --git a/src/generated/forge-mcp/realtime/kit/apps/tools.ts b/src/generated/forge-mcp/realtime/kit/apps/tools.ts index 813c92fcb..e7b34b27e 100644 --- a/src/generated/forge-mcp/realtime/kit/apps/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/apps/tools.ts @@ -1,11 +1,11 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - realtimekit_ErrorResponse_output, - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_ErrorResponse, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../outputs.js"; import { realtimekit_account_identifier, @@ -23,10 +23,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, "body": { "properties": { "name": { @@ -37,10 +33,22 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -127,8 +135,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -143,18 +151,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -245,8 +261,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -260,36 +276,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "page_no": { - "default": 1, - "description": "The page number from which you want your page search results to be displayed.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" - }, - "search": { - "description": "Search string that matches apps by name.", - "type": "string" - }, - "sort_order": { - "default": "DESC", - "description": "Sort order for apps by creation time.", - "enum": [ - "ASC", - "DESC" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "page_no": { + "default": 1, + "description": "The page number from which you want your page search results to be displayed.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Search string that matches apps by name.", + "type": "string" + }, + "sort_order": { + "default": "DESC", + "description": "Sort order for apps by creation time.", + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -399,17 +428,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/apps`, query: [ - ["page_no", args["page_no"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["sort_order", args["sort_order"], true], + ["page_no", param(args, "query", "page_no"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["sort_order", param(args, "query", "sort_order"), true], ], }), }, @@ -420,14 +449,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "format": "uuid", - "type": "string" - }, "body": { "properties": { "name": { @@ -439,11 +460,27 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "body" ], $defs: { @@ -580,7 +617,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, + "realtimekit_ErrorResponse": realtimekit_ErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts b/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts index c69eb52ce..39ebedeb0 100644 --- a/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts @@ -3,10 +3,10 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_LivestreamSession_output, - realtimekit_Livestream_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_Livestream, + realtimekit_LivestreamSession, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, @@ -24,22 +24,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "livestream_session_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "livestream-session-id": { + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "livestream-session-id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "livestream_session_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -61,7 +69,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, }, }, annotations: { @@ -101,38 +109,46 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/livestreams/sessions/${pathParam(args, "livestream_session_id")}`, + path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/livestreams/sessions/${pathParam(args, "livestream-session-id")}`, }), }, { - name: "realtime_kit_livestreams_sessions_list_active", + name: "realtime_kit_livestreams_sessions_listActive", title: "Fetch active livestream session details", description: "Returns details of all active livestreams for the given livestream ID. Retreive the livestream ID using the `Start livestreaming a meeting` API.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "livestream_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "livestream_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "livestream_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "livestream_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -166,8 +182,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "realtimekit_Livestream": realtimekit_Livestream_output, - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, + "realtimekit_Livestream": realtimekit_Livestream, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, }, }, annotations: { @@ -219,10 +235,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_Livestream": realtimekit_Livestream_output, - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_Livestream": realtimekit_Livestream, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts b/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts index 94c634870..3dd4de729 100644 --- a/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts @@ -1,13 +1,13 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_LivestreamSession_output, - realtimekit_Livestream_output, - realtimekit_PagingInfo_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_Livestream, + realtimekit_LivestreamSession, + realtimekit_PagingInfo, + realtimekit_ValidationIssue, } from "../outputs.js"; import { realtimekit_account_identifier, @@ -25,30 +25,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "livestream_id": { - "type": "string" - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "livestream_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "livestream_id" + ], + "type": "object" }, - "per_page": { - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "integer" + }, + "per_page": { + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "livestream_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -89,9 +102,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "realtimekit_Livestream": realtimekit_Livestream_output, - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, + "realtimekit_Livestream": realtimekit_Livestream, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, + "realtimekit_PagingInfo": realtimekit_PagingInfo, }, }, annotations: { @@ -150,18 +163,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_Livestream": realtimekit_Livestream_output, - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_Livestream": realtimekit_Livestream, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/livestreams/${pathParam(args, "livestream_id")}`, query: [ - ["page_no", args["page_no"], true], - ["per_page", args["per_page"], true], + ["page_no", param(args, "query", "page_no"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -172,59 +185,72 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "end_time": { - "description": "Specify the end time range in ISO format to access the live stream.", - "format": "date-time", - "type": "string" - }, - "exclude_meetings": { - "default": false, - "description": "Exclude the RealtimeKit meetings that are livestreamed.", - "type": "boolean" - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "integer" - }, - "per_page": { - "description": "Number of results per page.", - "type": "integer" - }, - "sort_order": { - "description": "Specifies the sorting order for the results.", - "enum": [ - "ASC", - "DSC" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" ], - "type": "string" - }, - "start_time": { - "description": "Specify the start time range in ISO format to access the live stream.", - "format": "date-time", - "type": "string" + "type": "object" }, - "status": { - "description": "Specifies the status of the operation.", - "enum": [ - "LIVE", - "IDLE", - "ERRORED", - "INVOKED" - ], - "type": "string" + "query": { + "properties": { + "end_time": { + "description": "Specify the end time range in ISO format to access the live stream.", + "format": "date-time", + "type": "string" + }, + "exclude_meetings": { + "default": false, + "description": "Exclude the RealtimeKit meetings that are livestreamed.", + "type": "boolean" + }, + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "integer" + }, + "per_page": { + "description": "Number of results per page.", + "type": "integer" + }, + "sort_order": { + "description": "Specifies the sorting order for the results.", + "enum": [ + "ASC", + "DSC" + ], + "type": "string" + }, + "start_time": { + "description": "Specify the start time range in ISO format to access the live stream.", + "format": "date-time", + "type": "string" + }, + "status": { + "description": "Specifies the status of the operation.", + "enum": [ + "LIVE", + "IDLE", + "ERRORED", + "INVOKED" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -253,8 +279,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "realtimekit_Livestream": realtimekit_Livestream_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, + "realtimekit_Livestream": realtimekit_Livestream, + "realtimekit_PagingInfo": realtimekit_PagingInfo, }, }, annotations: { @@ -301,22 +327,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_Livestream": realtimekit_Livestream_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_Livestream": realtimekit_Livestream, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/livestreams`, query: [ - ["exclude_meetings", args["exclude_meetings"], true], - ["per_page", args["per_page"], true], - ["page_no", args["page_no"], true], - ["status", args["status"], true], - ["start_time", args["start_time"], true], - ["end_time", args["end_time"], true], - ["sort_order", args["sort_order"], true], + ["exclude_meetings", param(args, "query", "exclude_meetings"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page_no", param(args, "query", "page_no"), true], + ["status", param(args, "query", "status"), true], + ["start_time", param(args, "query", "start_time"), true], + ["end_time", param(args, "query", "end_time"), true], + ["sort_order", param(args, "query", "sort_order"), true], ], }), }, @@ -327,14 +353,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "properties": { "name": { @@ -363,16 +381,32 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "meeting_id": { - "description": "ID of the meeting", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", + "path", "body" ], $defs: { @@ -540,8 +574,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -556,24 +590,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -634,8 +676,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/outputs.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/outputs.ts index a43133f9d..e23fef647 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/active/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `realtimekit_SessionParticipant` in responses. */ -export const realtimekit_SessionParticipant_output: JsonSchema = { +export const realtimekit_SessionParticipant: JsonSchema = { "properties": { "created_at": { "type": "string" diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/polls/outputs.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/outputs.ts index 5975ef974..593fd7b6c 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/active/polls/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; /** * The schema of `realtimekit_Poll` in responses. */ -export const realtimekit_Poll_output: JsonSchema = { +export const realtimekit_Poll: JsonSchema = { "properties": { "anonymous": { "type": "boolean" diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts index 793e855c5..43e7ad08c 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts @@ -6,7 +6,7 @@ import { realtimekit_account_identifier, realtimekit_app_id, } from "../../../schemas.js"; -import { realtimekit_Poll_output } from "./outputs.js"; +import { realtimekit_Poll } from "./outputs.js"; /** * The tools of `realtime.kit.meetings.active.polls`. @@ -19,14 +19,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "description": "Request body for creating a new poll", "properties": { @@ -56,15 +48,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "meeting_id": { - "description": "ID of the meeting", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", + "path", "body" ], $defs: { @@ -91,7 +99,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_Poll": realtimekit_Poll_output, + "realtimekit_Poll": realtimekit_Poll, }, }, annotations: { @@ -133,7 +141,7 @@ export const tools: readonly Tool[] = [ "400": null }, $defs: { - "realtimekit_Poll": realtimekit_Poll_output, + "realtimekit_Poll": realtimekit_Poll, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts index 6d8df1862..5246b18d7 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - realtimekit_ActiveSession_output, - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_ActiveSession, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_SessionParticipant_output } from "./outputs.js"; +import { realtimekit_SessionParticipant } from "./outputs.js"; /** * The tools of `realtime.kit.meetings.active`. @@ -24,23 +24,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -58,7 +66,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_ActiveSession": realtimekit_ActiveSession_output, + "realtimekit_ActiveSession": realtimekit_ActiveSession, }, }, annotations: { @@ -94,9 +102,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_ActiveSession": realtimekit_ActiveSession_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_ActiveSession": realtimekit_ActiveSession, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -110,14 +118,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "description": "Request body for kicking participants from an active session. At least one of `participant_ids` or `custom_participant_ids` must contain a value.", "properties": { @@ -139,15 +139,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "meeting_id": { - "description": "ID of the meeting", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", + "path", "body" ], $defs: { @@ -177,7 +193,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_SessionParticipant": realtimekit_SessionParticipant_output, + "realtimekit_SessionParticipant": realtimekit_SessionParticipant, }, }, annotations: { @@ -224,9 +240,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_SessionParticipant": realtimekit_SessionParticipant_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_SessionParticipant": realtimekit_SessionParticipant, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -235,29 +251,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "realtime_kit_meetings_active_kick_all", + name: "realtime_kit_meetings_active_kickAll", title: "Kick all participants", description: "Kicks all participants from an active session for the given meeting ID.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation disconnects every active participant immediately.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -324,8 +348,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -339,14 +363,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "description": "Request body for muting participants in an active session. At least one of `participant_ids` or `custom_participant_ids` must contain a value.", "properties": { @@ -367,15 +383,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "meeting_id": { - "description": "ID of the meeting", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", + "path", "body" ], $defs: { @@ -405,7 +437,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_SessionParticipant": realtimekit_SessionParticipant_output, + "realtimekit_SessionParticipant": realtimekit_SessionParticipant, }, }, annotations: { @@ -452,9 +484,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_SessionParticipant": realtimekit_SessionParticipant_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_SessionParticipant": realtimekit_SessionParticipant, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -463,20 +495,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "realtime_kit_meetings_active_mute_all", + name: "realtime_kit_meetings_active_muteAll", title: "Mute all participants", description: "Mutes all participants of an active session for the given meeting ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "description": "Request body for muting all participants in an active session.", "properties": { @@ -488,15 +512,31 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "meeting_id": { - "description": "ID of the meeting", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", + "path", "body" ], $defs: { @@ -564,8 +604,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts index 8021d2ebd..7f5f52017 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts @@ -1,13 +1,13 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_LivestreamSession_output, - realtimekit_Livestream_output, - realtimekit_PagingInfo_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_Livestream, + realtimekit_LivestreamSession, + realtimekit_PagingInfo, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, @@ -25,32 +25,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting", - "format": "uuid", - "type": "string" - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" }, - "per_page": { - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "integer" + }, + "per_page": { + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -99,9 +112,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "realtimekit_Livestream": realtimekit_Livestream_output, - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, + "realtimekit_Livestream": realtimekit_Livestream, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, + "realtimekit_PagingInfo": realtimekit_PagingInfo, }, }, annotations: { @@ -168,46 +181,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_Livestream": realtimekit_Livestream_output, - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_Livestream": realtimekit_Livestream, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/livestream`, query: [ - ["page_no", args["page_no"], true], - ["per_page", args["per_page"], true], + ["page_no", param(args, "query", "page_no"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "realtime_kit_meetings_livestream_list_active", + name: "realtime_kit_meetings_livestream_listActive", title: "Fetch active livestreams for a meeting", description: "Returns details of all active livestreams for the given meeting ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -229,7 +250,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "realtimekit_Livestream": realtimekit_Livestream_output, + "realtimekit_Livestream": realtimekit_Livestream, }, }, annotations: { @@ -269,9 +290,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_Livestream": realtimekit_Livestream_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_Livestream": realtimekit_Livestream, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/meetings/outputs.ts b/src/generated/forge-mcp/realtime/kit/meetings/outputs.ts index 388490fe5..f464e8c8a 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `realtimekit_AIConfig` in responses. */ -export const realtimekit_AIConfig_output: JsonSchema = { +export const realtimekit_AIConfig: JsonSchema = { "properties": { "summarization": { "$ref": "#/$defs/realtimekit_SummarizationConfig" @@ -21,7 +21,7 @@ export const realtimekit_AIConfig_output: JsonSchema = { /** * The schema of `realtimekit_SummarizationConfig` in responses. */ -export const realtimekit_SummarizationConfig_output: JsonSchema = { +export const realtimekit_SummarizationConfig: JsonSchema = { "properties": { "summary_type": { "enum": [ @@ -54,7 +54,7 @@ export const realtimekit_SummarizationConfig_output: JsonSchema = { /** * The schema of `realtimekit_TranscriptionConfig` in responses. */ -export const realtimekit_TranscriptionConfig_output: JsonSchema = { +export const realtimekit_TranscriptionConfig: JsonSchema = { "properties": { "keywords": { "items": { diff --git a/src/generated/forge-mcp/realtime/kit/meetings/participants/outputs.ts b/src/generated/forge-mcp/realtime/kit/meetings/participants/outputs.ts index e5dea3eeb..3e804ee2e 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/participants/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/participants/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `realtimekit_Participant` in responses. */ -export const realtimekit_Participant_output: JsonSchema = { +export const realtimekit_Participant: JsonSchema = { "properties": { "created_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts index b7aaef24a..a4b5d5a57 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts @@ -3,9 +3,9 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_GenericSuccessResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_GenericSuccessResponse, + realtimekit_ValidationIssue, } from "../../../outputs.js"; import { realtimekit_account_identifier, @@ -24,32 +24,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "$ref": "#/$defs/realtimekit_ParticipantTokenValidity" }, - "meeting_id": { - "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" - }, - "participant_id": { - "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + }, + "participant_id": { + "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id", + "participant_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", - "participant_id" + "path" ], $defs: { "realtimekit_ParticipantTokenValidity": realtimekit_ParticipantTokenValidity, @@ -93,7 +101,7 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, }, }, annotations: { @@ -157,9 +165,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -174,14 +182,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "properties": { "token": { @@ -194,21 +194,37 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "meeting_id": { - "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" - }, - "participant_id": { - "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + }, + "participant_id": { + "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id", + "participant_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", - "participant_id", + "path", "body" ], $defs: { @@ -242,7 +258,7 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, }, }, annotations: { @@ -299,9 +315,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts index e4fe05c60..4edf88ebc 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_GenericSuccessResponse_output, - realtimekit_PagingInfo_output, - realtimekit_PagingResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_GenericSuccessResponse, + realtimekit_PagingInfo, + realtimekit_PagingResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_Participant_output } from "./outputs.js"; +import { realtimekit_Participant } from "./outputs.js"; import { realtimekit_ParticipantTokenValidity } from "./schemas.js"; /** @@ -27,14 +27,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "properties": { "custom_participant_id": { @@ -79,16 +71,32 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "meeting_id": { - "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", + "path", "body" ], $defs: { @@ -135,8 +143,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Participant": realtimekit_Participant, }, }, annotations: { @@ -202,10 +210,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Participant": realtimekit_Participant, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -220,29 +228,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" - }, - "participant_id": { - "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + }, + "participant_id": { + "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id", + "participant_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", - "participant_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -287,7 +303,7 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, }, }, annotations: { @@ -353,9 +369,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -369,29 +385,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" - }, - "participant_id": { - "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + }, + "participant_id": { + "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id", + "participant_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", - "participant_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -416,8 +440,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Participant": realtimekit_Participant, }, }, annotations: { @@ -463,10 +487,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Participant": realtimekit_Participant, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -480,32 +504,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" }, - "per_page": { - "description": "Number of results per page", - "type": "number" + "query": { + "properties": { + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "number" + }, + "per_page": { + "description": "Number of results per page", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -530,9 +567,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_PagingResponse": realtimekit_PagingResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_PagingResponse": realtimekit_PagingResponse, + "realtimekit_Participant": realtimekit_Participant, }, }, annotations: { @@ -578,18 +615,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_PagingResponse": realtimekit_PagingResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_PagingResponse": realtimekit_PagingResponse, + "realtimekit_Participant": realtimekit_Participant, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}/participants`, query: [ - ["page_no", args["page_no"], true], - ["per_page", args["per_page"], true], + ["page_no", param(args, "query", "page_no"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -600,14 +637,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "properties": { "custom_participant_id": { @@ -647,21 +676,37 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "meeting_id": { - "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" - }, - "participant_id": { - "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + }, + "participant_id": { + "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id", + "participant_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", - "participant_id", + "path", "body" ], $defs: { @@ -707,8 +752,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Participant": realtimekit_Participant, }, }, annotations: { @@ -774,10 +819,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Participant": realtimekit_Participant, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -792,14 +837,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "properties": { "name": { @@ -838,21 +875,37 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "meeting_id": { - "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" - }, - "participant_id": { - "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + }, + "participant_id": { + "description": "ID of the participant. You can fetch the participant ID using the add a participant API.", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id", + "participant_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", - "participant_id", + "path", "body" ], $defs: { @@ -898,8 +951,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Participant": realtimekit_Participant, }, }, annotations: { @@ -965,10 +1018,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Participant": realtimekit_Participant_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Participant": realtimekit_Participant, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/meetings/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/tools.ts index 60c4cd202..78259c418 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/tools.ts @@ -1,40 +1,40 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; -import { - realtimekit_AudioConfig_output, - realtimekit_GenericErrorResponse_output, - realtimekit_GenericSuccessResponse_output, - realtimekit_LivestreamingConfig_output, - realtimekit_Meeting_output, - realtimekit_PagingInfo_output, - realtimekit_PagingResponse_output, - realtimekit_RecordingConfig_output, - realtimekit_StorageConfig_output, - realtimekit_ValidationIssue_output, - realtimekit_VideoConfig_output, - realtimekit_realtimekitBucketConfig_output, -} from "../outputs.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { realtimekit_AudioConfig, + realtimekit_GenericErrorResponse, + realtimekit_GenericSuccessResponse, realtimekit_LivestreamingConfig, + realtimekit_Meeting, + realtimekit_PagingInfo, + realtimekit_PagingResponse, realtimekit_RecordingConfig, realtimekit_StorageConfig, + realtimekit_ValidationIssue, realtimekit_VideoConfig, + realtimekit_realtimekitBucketConfig, +} from "../outputs.js"; +import { + realtimekit_AudioConfig as realtimekit_AudioConfig$, + realtimekit_LivestreamingConfig as realtimekit_LivestreamingConfig$, + realtimekit_RecordingConfig as realtimekit_RecordingConfig$, + realtimekit_StorageConfig as realtimekit_StorageConfig$, + realtimekit_VideoConfig as realtimekit_VideoConfig$, realtimekit_account_identifier, realtimekit_app_id, - realtimekit_realtimekitBucketConfig, + realtimekit_realtimekitBucketConfig as realtimekit_realtimekitBucketConfig$, } from "../schemas.js"; -import { - realtimekit_AIConfig_output, - realtimekit_SummarizationConfig_output, - realtimekit_TranscriptionConfig_output, -} from "./outputs.js"; import { realtimekit_AIConfig, realtimekit_SummarizationConfig, realtimekit_TranscriptionConfig, +} from "./outputs.js"; +import { + realtimekit_AIConfig as realtimekit_AIConfig$, + realtimekit_SummarizationConfig as realtimekit_SummarizationConfig$, + realtimekit_TranscriptionConfig as realtimekit_TranscriptionConfig$, } from "./schemas.js"; /** @@ -48,14 +48,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "description": "Create meeting body", "properties": { @@ -124,25 +116,41 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "body" ], $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig, - "realtimekit_AudioConfig": realtimekit_AudioConfig, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig, - "realtimekit_StorageConfig": realtimekit_StorageConfig, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, - "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_AIConfig": realtimekit_AIConfig$, + "realtimekit_AudioConfig": realtimekit_AudioConfig$, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig$, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig$, + "realtimekit_StorageConfig": realtimekit_StorageConfig$, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig$, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig$, + "realtimekit_VideoConfig": realtimekit_VideoConfig$, "realtimekit_account_identifier": realtimekit_account_identifier, "realtimekit_app_id": realtimekit_app_id, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig$, }, }, outputSchema: { @@ -186,17 +194,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig_output, - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AIConfig": realtimekit_AIConfig, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, annotations: { @@ -262,19 +270,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig_output, - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AIConfig": realtimekit_AIConfig, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, request: (args) => ({ @@ -289,27 +297,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" }, - "name": { - "type": "string" + "query": { + "properties": { + "name": { + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -357,17 +378,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig_output, - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AIConfig": realtimekit_AIConfig, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, annotations: { @@ -436,25 +457,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig_output, - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AIConfig": realtimekit_AIConfig, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings/${pathParam(args, "meeting_id")}`, query: [ - ["name", args["name"], true], + ["name", param(args, "query", "name"), true], ], }), }, @@ -465,48 +486,61 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "end_time": { - "description": "The end time range for which you want to retrieve the meetings. The time must be specified in ISO format.", - "format": "date-time", - "type": "string" - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "number" - }, - "per_page": { - "description": "Number of results per page", - "type": "number" - }, - "search": { - "description": "The search query string. You can search using the meeting ID or title.", - "type": "string" - }, - "start_time": { - "description": "The start time range for which you want to retrieve the meetings. The time must be specified in ISO format.", - "format": "date-time", - "type": "string" - }, - "status": { - "description": "Filter meetings by status.", - "enum": [ - "ACTIVE", - "INACTIVE" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "end_time": { + "description": "The end time range for which you want to retrieve the meetings. The time must be specified in ISO format.", + "format": "date-time", + "type": "string" + }, + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "number" + }, + "per_page": { + "description": "Number of results per page", + "type": "number" + }, + "search": { + "description": "The search query string. You can search using the meeting ID or title.", + "type": "string" + }, + "start_time": { + "description": "The start time range for which you want to retrieve the meetings. The time must be specified in ISO format.", + "format": "date-time", + "type": "string" + }, + "status": { + "description": "Filter meetings by status.", + "enum": [ + "ACTIVE", + "INACTIVE" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -531,15 +565,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_PagingResponse": realtimekit_PagingResponse_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_PagingResponse": realtimekit_PagingResponse, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, annotations: { @@ -582,28 +616,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_PagingResponse": realtimekit_PagingResponse_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_PagingResponse": realtimekit_PagingResponse, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/meetings`, query: [ - ["page_no", args["page_no"], true], - ["per_page", args["per_page"], true], - ["start_time", args["start_time"], true], - ["end_time", args["end_time"], true], - ["search", args["search"], true], - ["status", args["status"], true], + ["page_no", param(args, "query", "page_no"), true], + ["per_page", param(args, "query", "per_page"), true], + ["start_time", param(args, "query", "start_time"), true], + ["end_time", param(args, "query", "end_time"), true], + ["search", param(args, "query", "search"), true], + ["status", param(args, "query", "status"), true], ], }), }, @@ -614,14 +648,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "description": "Create meeting body", "properties": { @@ -691,30 +717,46 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "meeting_id": { - "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", + "path", "body" ], $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig, - "realtimekit_AudioConfig": realtimekit_AudioConfig, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig, - "realtimekit_StorageConfig": realtimekit_StorageConfig, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, - "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_AIConfig": realtimekit_AIConfig$, + "realtimekit_AudioConfig": realtimekit_AudioConfig$, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig$, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig$, + "realtimekit_StorageConfig": realtimekit_StorageConfig$, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig$, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig$, + "realtimekit_VideoConfig": realtimekit_VideoConfig$, "realtimekit_account_identifier": realtimekit_account_identifier, "realtimekit_app_id": realtimekit_app_id, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig$, }, }, outputSchema: { @@ -758,17 +800,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig_output, - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AIConfig": realtimekit_AIConfig, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, annotations: { @@ -834,19 +876,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig_output, - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AIConfig": realtimekit_AIConfig, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, request: (args) => ({ @@ -861,14 +903,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "description": "Update meeting body", "properties": { @@ -919,30 +953,46 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "meeting_id": { - "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id", + "path", "body" ], $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig, - "realtimekit_AudioConfig": realtimekit_AudioConfig, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig, - "realtimekit_StorageConfig": realtimekit_StorageConfig, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, - "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_AIConfig": realtimekit_AIConfig$, + "realtimekit_AudioConfig": realtimekit_AudioConfig$, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig$, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig$, + "realtimekit_StorageConfig": realtimekit_StorageConfig$, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig$, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig$, + "realtimekit_VideoConfig": realtimekit_VideoConfig$, "realtimekit_account_identifier": realtimekit_account_identifier, "realtimekit_app_id": realtimekit_app_id, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig$, }, }, outputSchema: { @@ -986,17 +1036,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig_output, - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AIConfig": realtimekit_AIConfig, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, annotations: { @@ -1065,19 +1115,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_AIConfig": realtimekit_AIConfig_output, - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig_output, - "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AIConfig": realtimekit_AIConfig, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig, + "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/outputs.ts b/src/generated/forge-mcp/realtime/kit/outputs.ts index 140a8d645..b87961485 100644 --- a/src/generated/forge-mcp/realtime/kit/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `realtimekit_ActiveSession` in responses. */ -export const realtimekit_ActiveSession_output: JsonSchema = { +export const realtimekit_ActiveSession: JsonSchema = { "properties": { "associated_id": { "type": "string" @@ -83,7 +83,7 @@ export const realtimekit_ActiveSession_output: JsonSchema = { /** * The schema of `realtimekit_AudioConfig` in responses. */ -export const realtimekit_AudioConfig_output: JsonSchema = { +export const realtimekit_AudioConfig: JsonSchema = { "properties": { "channel": { "enum": [ @@ -109,7 +109,7 @@ export const realtimekit_AudioConfig_output: JsonSchema = { /** * The schema of `realtimekit_ErrorResponse` in responses. */ -export const realtimekit_ErrorResponse_output: JsonSchema = { +export const realtimekit_ErrorResponse: JsonSchema = { "properties": { "error": { "properties": { @@ -140,7 +140,7 @@ export const realtimekit_ErrorResponse_output: JsonSchema = { /** * The schema of `realtimekit_GenericErrorResponse` in responses. */ -export const realtimekit_GenericErrorResponse_output: JsonSchema = { +export const realtimekit_GenericErrorResponse: JsonSchema = { "properties": { "error": { "properties": { @@ -187,7 +187,7 @@ export const realtimekit_GenericErrorResponse_output: JsonSchema = { /** * The schema of `realtimekit_GenericSuccessResponse` in responses. */ -export const realtimekit_GenericSuccessResponse_output: JsonSchema = { +export const realtimekit_GenericSuccessResponse: JsonSchema = { "properties": { "data": { "type": "object" @@ -205,7 +205,7 @@ export const realtimekit_GenericSuccessResponse_output: JsonSchema = { /** * The schema of `realtimekit_Livestream` in responses. */ -export const realtimekit_Livestream_output: JsonSchema = { +export const realtimekit_Livestream: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -288,7 +288,7 @@ export const realtimekit_Livestream_output: JsonSchema = { /** * The schema of `realtimekit_LivestreamSession` in responses. */ -export const realtimekit_LivestreamSession_output: JsonSchema = { +export const realtimekit_LivestreamSession: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -374,7 +374,7 @@ export const realtimekit_LivestreamSession_output: JsonSchema = { /** * The schema of `realtimekit_LivestreamingConfig` in responses. */ -export const realtimekit_LivestreamingConfig_output: JsonSchema = { +export const realtimekit_LivestreamingConfig: JsonSchema = { "properties": { "rtmp_url": { "type": "string" @@ -386,7 +386,7 @@ export const realtimekit_LivestreamingConfig_output: JsonSchema = { /** * The schema of `realtimekit_Meeting` in responses. */ -export const realtimekit_Meeting_output: JsonSchema = { +export const realtimekit_Meeting: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -443,7 +443,7 @@ export const realtimekit_Meeting_output: JsonSchema = { /** * The schema of `realtimekit_PagingInfo` in responses. */ -export const realtimekit_PagingInfo_output: JsonSchema = { +export const realtimekit_PagingInfo: JsonSchema = { "properties": { "end_offset": { "type": "number" @@ -466,7 +466,7 @@ export const realtimekit_PagingInfo_output: JsonSchema = { /** * The schema of `realtimekit_PagingResponse` in responses. */ -export const realtimekit_PagingResponse_output: JsonSchema = { +export const realtimekit_PagingResponse: JsonSchema = { "properties": { "data": { "items": { @@ -492,7 +492,7 @@ export const realtimekit_PagingResponse_output: JsonSchema = { /** * The schema of `realtimekit_RecordingConfig` in responses. */ -export const realtimekit_RecordingConfig_output: JsonSchema = { +export const realtimekit_RecordingConfig: JsonSchema = { "properties": { "audio_config": { "$ref": "#/$defs/realtimekit_AudioConfig" @@ -522,7 +522,7 @@ export const realtimekit_RecordingConfig_output: JsonSchema = { /** * The schema of `realtimekit_StorageConfig` in responses. */ -export const realtimekit_StorageConfig_output: JsonSchema = { +export const realtimekit_StorageConfig: JsonSchema = { "oneOf": [ { "allOf": [ @@ -674,7 +674,7 @@ export const realtimekit_StorageConfig_output: JsonSchema = { /** * The schema of `realtimekit_ValidationIssue` in responses. */ -export const realtimekit_ValidationIssue_output: JsonSchema = { +export const realtimekit_ValidationIssue: JsonSchema = { "properties": { "code": { "type": "string" @@ -706,7 +706,7 @@ export const realtimekit_ValidationIssue_output: JsonSchema = { /** * The schema of `realtimekit_VideoConfig` in responses. */ -export const realtimekit_VideoConfig_output: JsonSchema = { +export const realtimekit_VideoConfig: JsonSchema = { "properties": { "codec": { "enum": [ @@ -760,7 +760,7 @@ export const realtimekit_VideoConfig_output: JsonSchema = { /** * The schema of `realtimekit_realtimekitBucketConfig` in responses. */ -export const realtimekit_realtimekitBucketConfig_output: JsonSchema = { +export const realtimekit_realtimekitBucketConfig: JsonSchema = { "properties": { "enabled": { "type": "boolean" diff --git a/src/generated/forge-mcp/realtime/kit/presets/outputs.ts b/src/generated/forge-mcp/realtime/kit/presets/outputs.ts index 6e9d0646f..7d936f395 100644 --- a/src/generated/forge-mcp/realtime/kit/presets/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/presets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `realtimekit_Preset` in responses. */ -export const realtimekit_Preset_output: JsonSchema = { +export const realtimekit_Preset: JsonSchema = { "properties": { "config": { "properties": { @@ -562,7 +562,7 @@ export const realtimekit_Preset_output: JsonSchema = { /** * The schema of `realtimekit_PresetListItem` in responses. */ -export const realtimekit_PresetListItem_output: JsonSchema = { +export const realtimekit_PresetListItem: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -586,7 +586,7 @@ export const realtimekit_PresetListItem_output: JsonSchema = { /** * The schema of `realtimekit_PresetPluginConfig` in responses. */ -export const realtimekit_PresetPluginConfig_output: JsonSchema = { +export const realtimekit_PresetPluginConfig: JsonSchema = { "additionalProperties": { "properties": { "access_control": { diff --git a/src/generated/forge-mcp/realtime/kit/presets/tools.ts b/src/generated/forge-mcp/realtime/kit/presets/tools.ts index 4101ad30e..ffa2884cd 100644 --- a/src/generated/forge-mcp/realtime/kit/presets/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/presets/tools.ts @@ -1,26 +1,26 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_GenericSuccessResponse_output, - realtimekit_PagingInfo_output, - realtimekit_PagingResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_GenericSuccessResponse, + realtimekit_PagingInfo, + realtimekit_PagingResponse, + realtimekit_ValidationIssue, } from "../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../schemas.js"; -import { - realtimekit_PresetListItem_output, - realtimekit_PresetPluginConfig_output, - realtimekit_Preset_output, -} from "./outputs.js"; import { realtimekit_Preset, + realtimekit_PresetListItem, realtimekit_PresetPluginConfig, +} from "./outputs.js"; +import { + realtimekit_Preset as realtimekit_Preset$, + realtimekit_PresetPluginConfig as realtimekit_PresetPluginConfig$, realtimekit_UpdatePreset, } from "./schemas.js"; @@ -35,26 +35,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "$ref": "#/$defs/realtimekit_Preset" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "body" ], $defs: { - "realtimekit_Preset": realtimekit_Preset, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, + "realtimekit_Preset": realtimekit_Preset$, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig$, "realtimekit_account_identifier": realtimekit_account_identifier, "realtimekit_app_id": realtimekit_app_id, }, @@ -103,9 +111,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, }, }, annotations: { @@ -174,11 +182,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -193,24 +201,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "preset_id": { - "description": "ID of the preset to fetch", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "preset_id": { + "description": "ID of the preset to fetch", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "preset_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "preset_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -261,9 +277,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, }, }, annotations: { @@ -332,11 +348,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -350,24 +366,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "preset_id": { - "description": "ID of the preset to fetch", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "preset_id": { + "description": "ID of the preset to fetch", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "preset_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "preset_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -418,9 +442,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, }, }, annotations: { @@ -489,11 +513,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -507,30 +531,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "number" - }, - "per_page": { - "description": "Number of results per page", - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" }, - "search": { - "description": "Search presets by name.", - "type": "string" + "query": { + "properties": { + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "number" + }, + "per_page": { + "description": "Number of results per page", + "type": "number" + }, + "search": { + "description": "Search presets by name.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -555,9 +592,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_PagingResponse": realtimekit_PagingResponse_output, - "realtimekit_PresetListItem": realtimekit_PresetListItem_output, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_PagingResponse": realtimekit_PagingResponse, + "realtimekit_PresetListItem": realtimekit_PresetListItem, }, }, annotations: { @@ -600,19 +637,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_PagingResponse": realtimekit_PagingResponse_output, - "realtimekit_PresetListItem": realtimekit_PresetListItem_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_PagingResponse": realtimekit_PagingResponse, + "realtimekit_PresetListItem": realtimekit_PresetListItem, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/presets`, query: [ - ["per_page", args["per_page"], true], - ["page_no", args["page_no"], true], - ["search", args["search"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page_no", param(args, "query", "page_no"), true], + ["search", param(args, "query", "search"), true], ], }), }, @@ -623,32 +660,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "$ref": "#/$defs/realtimekit_Preset" }, - "preset_id": { - "description": "ID of the preset to replace", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "preset_id": { + "description": "ID of the preset to replace", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "preset_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "preset_id", + "path", "body" ], $defs: { - "realtimekit_Preset": realtimekit_Preset, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, + "realtimekit_Preset": realtimekit_Preset$, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig$, "realtimekit_account_identifier": realtimekit_account_identifier, "realtimekit_app_id": realtimekit_app_id, }, @@ -697,9 +742,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, }, }, annotations: { @@ -768,11 +813,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -787,31 +832,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "$ref": "#/$defs/realtimekit_UpdatePreset" }, - "preset_id": { - "description": "ID of the preset to fetch", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "preset_id": { + "description": "ID of the preset to fetch", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "preset_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "preset_id", + "path", "body" ], $defs: { - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig$, "realtimekit_UpdatePreset": realtimekit_UpdatePreset, "realtimekit_account_identifier": realtimekit_account_identifier, "realtimekit_app_id": realtimekit_app_id, @@ -861,9 +914,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, }, }, annotations: { @@ -932,11 +985,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Preset": realtimekit_Preset_output, - "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Preset": realtimekit_Preset, + "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts b/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts index 8e73ddfa3..5781a83ca 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_GenericSuccessResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_GenericSuccessResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_Recording_output } from "../outputs.js"; +import { realtimekit_Recording } from "../outputs.js"; /** * The tools of `realtime.kit.recordings.active`. @@ -24,23 +24,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "meeting_id": { - "description": "ID of the meeting", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "meeting_id": { + "description": "ID of the meeting", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "meeting_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "meeting_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -65,8 +73,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, }, }, annotations: { @@ -109,10 +117,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/recordings/outputs.ts b/src/generated/forge-mcp/realtime/kit/recordings/outputs.ts index 1b018d139..962013816 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `realtimekit_Recording` in responses. */ -export const realtimekit_Recording_output: JsonSchema = { +export const realtimekit_Recording: JsonSchema = { "properties": { "audio_download_url": { "oneOf": [ @@ -127,7 +127,7 @@ export const realtimekit_Recording_output: JsonSchema = { /** * The schema of `realtimekit_startReason` in responses. */ -export const realtimekit_startReason_output: JsonSchema = { +export const realtimekit_startReason: JsonSchema = { "properties": { "caller": { "properties": { @@ -162,7 +162,7 @@ export const realtimekit_startReason_output: JsonSchema = { /** * The schema of `realtimekit_stopReason` in responses. */ -export const realtimekit_stopReason_output: JsonSchema = { +export const realtimekit_stopReason: JsonSchema = { "properties": { "caller": { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/recordings/tools.ts b/src/generated/forge-mcp/realtime/kit/recordings/tools.ts index dee8d1820..82bea65e1 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/tools.ts @@ -1,34 +1,34 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; -import { - realtimekit_AudioConfig_output, - realtimekit_GenericErrorResponse_output, - realtimekit_GenericSuccessResponse_output, - realtimekit_LivestreamingConfig_output, - realtimekit_Meeting_output, - realtimekit_PagingInfo_output, - realtimekit_PagingResponse_output, - realtimekit_RecordingConfig_output, - realtimekit_StorageConfig_output, - realtimekit_ValidationIssue_output, - realtimekit_VideoConfig_output, - realtimekit_realtimekitBucketConfig_output, -} from "../outputs.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { realtimekit_AudioConfig, + realtimekit_GenericErrorResponse, + realtimekit_GenericSuccessResponse, realtimekit_LivestreamingConfig, + realtimekit_Meeting, + realtimekit_PagingInfo, + realtimekit_PagingResponse, + realtimekit_RecordingConfig, realtimekit_StorageConfig, + realtimekit_ValidationIssue, realtimekit_VideoConfig, + realtimekit_realtimekitBucketConfig, +} from "../outputs.js"; +import { + realtimekit_AudioConfig as realtimekit_AudioConfig$, + realtimekit_LivestreamingConfig as realtimekit_LivestreamingConfig$, + realtimekit_StorageConfig as realtimekit_StorageConfig$, + realtimekit_VideoConfig as realtimekit_VideoConfig$, realtimekit_account_identifier, realtimekit_app_id, - realtimekit_realtimekitBucketConfig, + realtimekit_realtimekitBucketConfig as realtimekit_realtimekitBucketConfig$, } from "../schemas.js"; import { - realtimekit_Recording_output, - realtimekit_startReason_output, - realtimekit_stopReason_output, + realtimekit_Recording, + realtimekit_startReason, + realtimekit_stopReason, } from "./outputs.js"; import { realtimekit_InteractiveConfig } from "./schemas.js"; @@ -43,14 +43,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "properties": { "action": { @@ -67,16 +59,32 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "recording_id": { - "description": "ID of the recording", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "recording_id": { + "description": "ID of the recording", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "recording_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "recording_id", + "path", "body" ], $defs: { @@ -117,11 +125,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_startReason": realtimekit_startReason_output, - "realtimekit_stopReason": realtimekit_stopReason_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_startReason": realtimekit_startReason, + "realtimekit_stopReason": realtimekit_stopReason, }, }, annotations: { @@ -180,13 +188,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_startReason": realtimekit_startReason_output, - "realtimekit_stopReason": realtimekit_stopReason_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_startReason": realtimekit_startReason, + "realtimekit_stopReason": realtimekit_stopReason, }, }, request: (args) => ({ @@ -201,24 +209,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "recording_id": { - "description": "ID of the recording", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "recording_id": { + "description": "ID of the recording", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "recording_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "recording_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -258,11 +274,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_startReason": realtimekit_startReason_output, - "realtimekit_stopReason": realtimekit_stopReason_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_startReason": realtimekit_startReason, + "realtimekit_stopReason": realtimekit_stopReason, }, }, annotations: { @@ -321,13 +337,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_startReason": realtimekit_startReason_output, - "realtimekit_stopReason": realtimekit_stopReason_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_startReason": realtimekit_startReason, + "realtimekit_stopReason": realtimekit_stopReason, }, }, request: (args) => ({ @@ -341,77 +357,90 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "end_time": { - "description": "The end time range for which you want to retrieve the meetings. The time must be specified in ISO format.", - "format": "date-time", - "type": "string" - }, - "expired": { - "description": "If passed, only shows expired/non-expired recordings on RealtimeKit's bucket", - "type": "boolean" - }, - "meeting_id": { - "description": "ID of a meeting. Optional. Will limit results to only this meeting if passed.", - "format": "uuid", - "type": "string" - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "number" - }, - "per_page": { - "description": "Number of results per page", - "type": "number" - }, - "search": { - "description": "The search query string. You can search using the meeting ID or title.", - "type": "string" - }, - "sort_by": { - "enum": [ - "invokedTime" - ], - "type": "string" - }, - "sort_order": { - "enum": [ - "ASC", - "DESC" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" ], - "type": "string" - }, - "start_time": { - "description": "The start time range for which you want to retrieve the meetings. The time must be specified in ISO format.", - "format": "date-time", - "type": "string" + "type": "object" }, - "status": { - "description": "Filter by one or more recording status", - "items": { - "enum": [ - "INVOKED", - "RECORDING", - "UPLOADING", - "UPLOADED", - "ERRORED", - "PAUSED" - ], - "type": "string" + "query": { + "properties": { + "end_time": { + "description": "The end time range for which you want to retrieve the meetings. The time must be specified in ISO format.", + "format": "date-time", + "type": "string" + }, + "expired": { + "description": "If passed, only shows expired/non-expired recordings on RealtimeKit's bucket", + "type": "boolean" + }, + "meeting_id": { + "description": "ID of a meeting. Optional. Will limit results to only this meeting if passed.", + "format": "uuid", + "type": "string" + }, + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "number" + }, + "per_page": { + "description": "Number of results per page", + "type": "number" + }, + "search": { + "description": "The search query string. You can search using the meeting ID or title.", + "type": "string" + }, + "sort_by": { + "enum": [ + "invokedTime" + ], + "type": "string" + }, + "sort_order": { + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + }, + "start_time": { + "description": "The start time range for which you want to retrieve the meetings. The time must be specified in ISO format.", + "format": "date-time", + "type": "string" + }, + "status": { + "description": "Filter by one or more recording status", + "items": { + "enum": [ + "INVOKED", + "RECORDING", + "UPLOADING", + "UPLOADED", + "ERRORED", + "PAUSED" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -456,16 +485,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_PagingResponse": realtimekit_PagingResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_PagingResponse": realtimekit_PagingResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, annotations: { @@ -528,33 +557,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_AudioConfig": realtimekit_AudioConfig_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig_output, - "realtimekit_Meeting": realtimekit_Meeting_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_PagingResponse": realtimekit_PagingResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_RecordingConfig": realtimekit_RecordingConfig_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_VideoConfig": realtimekit_VideoConfig_output, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig_output, + "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, + "realtimekit_Meeting": realtimekit_Meeting, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_PagingResponse": realtimekit_PagingResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_RecordingConfig": realtimekit_RecordingConfig, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/recordings`, query: [ - ["meeting_id", args["meeting_id"], true], - ["page_no", args["page_no"], true], - ["per_page", args["per_page"], true], - ["expired", args["expired"], true], - ["search", args["search"], true], - ["sort_by", args["sort_by"], true], - ["sort_order", args["sort_order"], true], - ["start_time", args["start_time"], true], - ["end_time", args["end_time"], true], - ["status", args["status"], false], + ["meeting_id", param(args, "query", "meeting_id"), true], + ["page_no", param(args, "query", "page_no"), true], + ["per_page", param(args, "query", "per_page"), true], + ["expired", param(args, "query", "expired"), true], + ["search", param(args, "query", "search"), true], + ["sort_by", param(args, "query", "sort_by"), true], + ["sort_order", param(args, "query", "sort_order"), true], + ["start_time", param(args, "query", "start_time"), true], + ["end_time", param(args, "query", "end_time"), true], + ["status", param(args, "query", "status"), false], ], }), }, @@ -565,14 +594,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "properties": { "allow_multiple_recordings": { @@ -622,22 +643,38 @@ export const tools: readonly Tool[] = [ "meeting_id" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "body" ], $defs: { - "realtimekit_AudioConfig": realtimekit_AudioConfig, + "realtimekit_AudioConfig": realtimekit_AudioConfig$, "realtimekit_InteractiveConfig": realtimekit_InteractiveConfig, - "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig, - "realtimekit_StorageConfig": realtimekit_StorageConfig, - "realtimekit_VideoConfig": realtimekit_VideoConfig, + "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig$, + "realtimekit_StorageConfig": realtimekit_StorageConfig$, + "realtimekit_VideoConfig": realtimekit_VideoConfig$, "realtimekit_account_identifier": realtimekit_account_identifier, "realtimekit_app_id": realtimekit_app_id, - "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig, + "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig$, }, }, outputSchema: { @@ -673,11 +710,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_startReason": realtimekit_startReason_output, - "realtimekit_stopReason": realtimekit_stopReason_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_startReason": realtimekit_startReason, + "realtimekit_stopReason": realtimekit_stopReason, }, }, annotations: { @@ -736,13 +773,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_StorageConfig": realtimekit_StorageConfig_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_startReason": realtimekit_startReason_output, - "realtimekit_stopReason": realtimekit_stopReason_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_StorageConfig": realtimekit_StorageConfig, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_startReason": realtimekit_startReason, + "realtimekit_stopReason": realtimekit_stopReason, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts b/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts index 39518abe0..5bb4ab40d 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_GenericSuccessResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_GenericSuccessResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_Recording_output } from "../outputs.js"; +import { realtimekit_Recording } from "../outputs.js"; import { realtimekit_TrackConfigLayer } from "./schemas.js"; /** @@ -25,14 +25,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "description": "Starts audio track recording for an active meeting. Use `layers` only when you need to set a file name prefix. Selective track recording (`user_ids`) is in early beta contact support to use this feature.", "properties": { @@ -62,11 +54,27 @@ export const tools: readonly Tool[] = [ "meeting_id" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "body" ], $defs: { @@ -98,8 +106,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, }, }, annotations: { @@ -147,10 +155,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse_output, - "realtimekit_Recording": realtimekit_Recording_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_GenericSuccessResponse": realtimekit_GenericSuccessResponse, + "realtimekit_Recording": realtimekit_Recording, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/sessions/chat/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/chat/outputs.ts index 81656187b..64de39101 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/chat/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/chat/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `realtimekit_ChatMessage` in responses. */ -export const realtimekit_ChatMessage_output: JsonSchema = { +export const realtimekit_ChatMessage: JsonSchema = { "properties": { "chat_download_url": { "type": "string" diff --git a/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts index 975ec05a6..ce6a8b065 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts @@ -3,14 +3,14 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_ChatMessage_output } from "./outputs.js"; +import { realtimekit_ChatMessage } from "./outputs.js"; /** * The tools of `realtime.kit.sessions.chat`. @@ -23,24 +23,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "session_id": { - "description": "ID of the session", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "session_id": { + "description": "ID of the session", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "session_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -58,7 +66,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_ChatMessage": realtimekit_ChatMessage_output, + "realtimekit_ChatMessage": realtimekit_ChatMessage, }, }, annotations: { @@ -94,9 +102,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_ChatMessage": realtimekit_ChatMessage_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_ChatMessage": realtimekit_ChatMessage, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts index f0053a5cc..2a67f5561 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts @@ -1,12 +1,12 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_LivestreamSession_output, - realtimekit_PagingInfo_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_LivestreamSession, + realtimekit_PagingInfo, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, @@ -24,31 +24,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "number" - }, - "per_page": { - "description": "Number of results per page.", - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "session_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "session_id" + ], + "type": "object" }, - "session_id": { - "format": "uuid", - "type": "string" + "query": { + "properties": { + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "number" + }, + "per_page": { + "description": "Number of results per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "session_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -85,8 +98,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, + "realtimekit_PagingInfo": realtimekit_PagingInfo, }, }, annotations: { @@ -141,17 +154,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_LivestreamSession": realtimekit_LivestreamSession_output, - "realtimekit_PagingInfo": realtimekit_PagingInfo_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_LivestreamSession": realtimekit_LivestreamSession, + "realtimekit_PagingInfo": realtimekit_PagingInfo, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/livestream-sessions`, query: [ - ["per_page", args["per_page"], true], - ["page_no", args["page_no"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page_no", param(args, "query", "page_no"), true], ], }), }, diff --git a/src/generated/forge-mcp/realtime/kit/sessions/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/outputs.ts index 4a2ac3d8b..33b4b2f1d 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `realtimekit_PeerEvent` in responses. */ -export const realtimekit_PeerEvent_output: JsonSchema = { +export const realtimekit_PeerEvent: JsonSchema = { "properties": { "created_at": { "type": "string" diff --git a/src/generated/forge-mcp/realtime/kit/sessions/participants/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/participants/outputs.ts index d27f18eb9..70ebd6466 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/participants/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/participants/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `realtimekit_ParticipantsList` in responses. */ -export const realtimekit_ParticipantsList_output: JsonSchema = { +export const realtimekit_ParticipantsList: JsonSchema = { "properties": { "created_at": { "type": "string" diff --git a/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts index eb7512341..1e35c2e04 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts @@ -1,17 +1,17 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_PeerEvent_output } from "../outputs.js"; -import { realtimekit_ParticipantsList_output } from "./outputs.js"; +import { realtimekit_PeerEvent } from "../outputs.js"; +import { realtimekit_ParticipantsList } from "./outputs.js"; /** * The tools of `realtime.kit.sessions.participants`. @@ -24,35 +24,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "include_peer_events": { - "default": false, - "description": "if true, response includes all the peer events of participant.", - "type": "boolean" - }, - "participant_id": { - "description": "ID of the participant", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "participant_id": { + "description": "ID of the participant", + "format": "uuid", + "type": "string" + }, + "session_id": { + "description": "ID of the session", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "session_id", + "participant_id" + ], + "type": "object" }, - "session_id": { - "description": "ID of the session", - "format": "uuid", - "type": "string" + "query": { + "properties": { + "include_peer_events": { + "default": false, + "description": "if true, response includes all the peer events of participant.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "session_id", - "participant_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -75,8 +88,8 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_ParticipantsList": realtimekit_ParticipantsList_output, - "realtimekit_PeerEvent": realtimekit_PeerEvent_output, + "realtimekit_ParticipantsList": realtimekit_ParticipantsList, + "realtimekit_PeerEvent": realtimekit_PeerEvent, }, }, annotations: { @@ -117,16 +130,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ParticipantsList": realtimekit_ParticipantsList_output, - "realtimekit_PeerEvent": realtimekit_PeerEvent_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ParticipantsList": realtimekit_ParticipantsList, + "realtimekit_PeerEvent": realtimekit_PeerEvent, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/participants/${pathParam(args, "participant_id")}`, query: [ - ["include_peer_events", args["include_peer_events"], true], + ["include_peer_events", param(args, "query", "include_peer_events"), true], ], }), }, @@ -137,65 +150,78 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "include_peer_events": { - "default": false, - "description": "if true, response includes all the peer events of participants.", - "type": "boolean" - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "number" - }, - "per_page": { - "default": 25, - "description": "Number of results per page.", - "type": "integer" - }, - "search": { - "description": "The search query string. You can search using participant ID, custom participant ID, or display name.", - "type": "string" - }, - "session_id": { - "description": "ID of the session", - "format": "uuid", - "type": "string" - }, - "sort_by": { - "enum": [ - "joinedAt", - "duration" - ], - "type": "string" - }, - "sort_order": { - "enum": [ - "ASC", - "DESC" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "session_id": { + "description": "ID of the session", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "session_id" ], - "type": "string" + "type": "object" }, - "view": { - "default": "raw", - "description": "In breakout room sessions, the view parameter can be set to `raw` for session specific duration for participants or `consolidated` to accumulate breakout room durations.", - "enum": [ - "raw", - "consolidated" - ], - "type": "string" + "query": { + "properties": { + "include_peer_events": { + "default": false, + "description": "if true, response includes all the peer events of participants.", + "type": "boolean" + }, + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "number" + }, + "per_page": { + "default": 25, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "The search query string. You can search using participant ID, custom participant ID, or display name.", + "type": "string" + }, + "sort_by": { + "enum": [ + "joinedAt", + "duration" + ], + "type": "string" + }, + "sort_order": { + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + }, + "view": { + "default": "raw", + "description": "In breakout room sessions, the view parameter can be set to `raw` for session specific duration for participants or `consolidated` to accumulate breakout room durations.", + "enum": [ + "raw", + "consolidated" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "session_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -221,8 +247,8 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_ParticipantsList": realtimekit_ParticipantsList_output, - "realtimekit_PeerEvent": realtimekit_PeerEvent_output, + "realtimekit_ParticipantsList": realtimekit_ParticipantsList, + "realtimekit_PeerEvent": realtimekit_PeerEvent, }, }, annotations: { @@ -266,22 +292,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ParticipantsList": realtimekit_ParticipantsList_output, - "realtimekit_PeerEvent": realtimekit_PeerEvent_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ParticipantsList": realtimekit_ParticipantsList, + "realtimekit_PeerEvent": realtimekit_PeerEvent, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/participants`, query: [ - ["search", args["search"], true], - ["page_no", args["page_no"], true], - ["per_page", args["per_page"], true], - ["sort_order", args["sort_order"], true], - ["sort_by", args["sort_by"], true], - ["include_peer_events", args["include_peer_events"], true], - ["view", args["view"], true], + ["search", param(args, "query", "search"), true], + ["page_no", param(args, "query", "page_no"), true], + ["per_page", param(args, "query", "per_page"), true], + ["sort_order", param(args, "query", "sort_order"), true], + ["sort_by", param(args, "query", "sort_by"), true], + ["include_peer_events", param(args, "query", "include_peer_events"), true], + ["view", param(args, "query", "view"), true], ], }), }, diff --git a/src/generated/forge-mcp/realtime/kit/sessions/peers/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/peers/outputs.ts index 00b67e294..102ae8514 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/peers/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/peers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `realtimekit_AudioConsumerStats` in responses. */ -export const realtimekit_AudioConsumerStats_output: JsonSchema = { +export const realtimekit_AudioConsumerStats: JsonSchema = { "properties": { "bytes_received": { "type": "number" @@ -57,7 +57,7 @@ export const realtimekit_AudioConsumerStats_output: JsonSchema = { /** * The schema of `realtimekit_AudioConsumerStatsCumulative` in responses. */ -export const realtimekit_AudioConsumerStatsCumulative_output: JsonSchema = { +export const realtimekit_AudioConsumerStatsCumulative: JsonSchema = { "properties": { "jitter_buffer_delay": { "$ref": "#/$defs/realtimekit_LatencyCumulative" @@ -75,7 +75,7 @@ export const realtimekit_AudioConsumerStatsCumulative_output: JsonSchema = { /** * The schema of `realtimekit_AudioProducerStats` in responses. */ -export const realtimekit_AudioProducerStats_output: JsonSchema = { +export const realtimekit_AudioProducerStats: JsonSchema = { "properties": { "bytes_sent": { "type": "number" @@ -114,7 +114,7 @@ export const realtimekit_AudioProducerStats_output: JsonSchema = { /** * The schema of `realtimekit_AudioProducerStatsCumulative` in responses. */ -export const realtimekit_AudioProducerStatsCumulative_output: JsonSchema = { +export const realtimekit_AudioProducerStatsCumulative: JsonSchema = { "properties": { "packet_loss": { "$ref": "#/$defs/realtimekit_PacketLossCumulative" @@ -132,7 +132,7 @@ export const realtimekit_AudioProducerStatsCumulative_output: JsonSchema = { /** * The schema of `realtimekit_CandidatePairStats` in responses. */ -export const realtimekit_CandidatePairStats_output: JsonSchema = { +export const realtimekit_CandidatePairStats: JsonSchema = { "properties": { "available_incoming_bitrate": { "type": "number" @@ -225,7 +225,7 @@ export const realtimekit_CandidatePairStats_output: JsonSchema = { /** * The schema of `realtimekit_LatencyCumulative` in responses. */ -export const realtimekit_LatencyCumulative_output: JsonSchema = { +export const realtimekit_LatencyCumulative: JsonSchema = { "properties": { "100ms_or_greater_event_fraction": { "type": "number" @@ -246,7 +246,7 @@ export const realtimekit_LatencyCumulative_output: JsonSchema = { /** * The schema of `realtimekit_PacketLossCumulative` in responses. */ -export const realtimekit_PacketLossCumulative_output: JsonSchema = { +export const realtimekit_PacketLossCumulative: JsonSchema = { "properties": { "10_or_greater_event_fraction": { "type": "number" @@ -270,7 +270,7 @@ export const realtimekit_PacketLossCumulative_output: JsonSchema = { /** * The schema of `realtimekit_PeerParticipantDetails` in responses. */ -export const realtimekit_PeerParticipantDetails_output: JsonSchema = { +export const realtimekit_PeerParticipantDetails: JsonSchema = { "properties": { "created_at": { "type": "string" @@ -323,7 +323,7 @@ export const realtimekit_PeerParticipantDetails_output: JsonSchema = { /** * The schema of `realtimekit_PeerReport` in responses. */ -export const realtimekit_PeerReport_output: JsonSchema = { +export const realtimekit_PeerReport: JsonSchema = { "properties": { "metadata": { "$ref": "#/$defs/realtimekit_PeerReportMetadata" @@ -338,7 +338,7 @@ export const realtimekit_PeerReport_output: JsonSchema = { /** * The schema of `realtimekit_PeerReportDevice` in responses. */ -export const realtimekit_PeerReportDevice_output: JsonSchema = { +export const realtimekit_PeerReportDevice: JsonSchema = { "properties": { "device_id": { "type": "string" @@ -356,7 +356,7 @@ export const realtimekit_PeerReportDevice_output: JsonSchema = { /** * The schema of `realtimekit_PeerReportDeviceUpdate` in responses. */ -export const realtimekit_PeerReportDeviceUpdate_output: JsonSchema = { +export const realtimekit_PeerReportDeviceUpdate: JsonSchema = { "properties": { "added": { "items": { @@ -380,7 +380,7 @@ export const realtimekit_PeerReportDeviceUpdate_output: JsonSchema = { /** * The schema of `realtimekit_PeerReportEvent` in responses. */ -export const realtimekit_PeerReportEvent_output: JsonSchema = { +export const realtimekit_PeerReportEvent: JsonSchema = { "properties": { "metadata": { "additionalProperties": { @@ -414,7 +414,7 @@ export const realtimekit_PeerReportEvent_output: JsonSchema = { /** * The schema of `realtimekit_PeerReportMetadata` in responses. */ -export const realtimekit_PeerReportMetadata_output: JsonSchema = { +export const realtimekit_PeerReportMetadata: JsonSchema = { "properties": { "audio_devices_updates": { "items": { @@ -617,7 +617,7 @@ export const realtimekit_PeerReportMetadata_output: JsonSchema = { /** * The schema of `realtimekit_PeerReportQuality` in responses. */ -export const realtimekit_PeerReportQuality_output: JsonSchema = { +export const realtimekit_PeerReportQuality: JsonSchema = { "properties": { "audio_consumer": { "items": { @@ -698,7 +698,7 @@ export const realtimekit_PeerReportQuality_output: JsonSchema = { /** * The schema of `realtimekit_PercentileStats` in responses. */ -export const realtimekit_PercentileStats_output: JsonSchema = { +export const realtimekit_PercentileStats: JsonSchema = { "properties": { "avg": { "type": "number" @@ -719,7 +719,7 @@ export const realtimekit_PercentileStats_output: JsonSchema = { /** * The schema of `realtimekit_VideoConsumerStats` in responses. */ -export const realtimekit_VideoConsumerStats_output: JsonSchema = { +export const realtimekit_VideoConsumerStats: JsonSchema = { "properties": { "bytes_received": { "type": "number" @@ -788,7 +788,7 @@ export const realtimekit_VideoConsumerStats_output: JsonSchema = { /** * The schema of `realtimekit_VideoConsumerStatsCumulative` in responses. */ -export const realtimekit_VideoConsumerStatsCumulative_output: JsonSchema = { +export const realtimekit_VideoConsumerStatsCumulative: JsonSchema = { "properties": { "frame_per_second": { "$ref": "#/$defs/realtimekit_PercentileStats" @@ -829,7 +829,7 @@ export const realtimekit_VideoConsumerStatsCumulative_output: JsonSchema = { /** * The schema of `realtimekit_VideoProducerStats` in responses. */ -export const realtimekit_VideoProducerStats_output: JsonSchema = { +export const realtimekit_VideoProducerStats: JsonSchema = { "properties": { "bytes_sent": { "type": "number" @@ -918,7 +918,7 @@ export const realtimekit_VideoProducerStats_output: JsonSchema = { /** * The schema of `realtimekit_VideoProducerStatsCumulative` in responses. */ -export const realtimekit_VideoProducerStatsCumulative_output: JsonSchema = { +export const realtimekit_VideoProducerStatsCumulative: JsonSchema = { "properties": { "frame_per_second": { "$ref": "#/$defs/realtimekit_PercentileStats" diff --git a/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts index d8cbf9ee0..106af6f13 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts @@ -1,36 +1,36 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_PeerEvent_output } from "../outputs.js"; +import { realtimekit_PeerEvent } from "../outputs.js"; import { - realtimekit_AudioConsumerStatsCumulative_output, - realtimekit_AudioConsumerStats_output, - realtimekit_AudioProducerStatsCumulative_output, - realtimekit_AudioProducerStats_output, - realtimekit_CandidatePairStats_output, - realtimekit_LatencyCumulative_output, - realtimekit_PacketLossCumulative_output, - realtimekit_PeerParticipantDetails_output, - realtimekit_PeerReportDeviceUpdate_output, - realtimekit_PeerReportDevice_output, - realtimekit_PeerReportEvent_output, - realtimekit_PeerReportMetadata_output, - realtimekit_PeerReportQuality_output, - realtimekit_PeerReport_output, - realtimekit_PercentileStats_output, - realtimekit_VideoConsumerStatsCumulative_output, - realtimekit_VideoConsumerStats_output, - realtimekit_VideoProducerStatsCumulative_output, - realtimekit_VideoProducerStats_output, + realtimekit_AudioConsumerStats, + realtimekit_AudioConsumerStatsCumulative, + realtimekit_AudioProducerStats, + realtimekit_AudioProducerStatsCumulative, + realtimekit_CandidatePairStats, + realtimekit_LatencyCumulative, + realtimekit_PacketLossCumulative, + realtimekit_PeerParticipantDetails, + realtimekit_PeerReport, + realtimekit_PeerReportDevice, + realtimekit_PeerReportDeviceUpdate, + realtimekit_PeerReportEvent, + realtimekit_PeerReportMetadata, + realtimekit_PeerReportQuality, + realtimekit_PercentileStats, + realtimekit_VideoConsumerStats, + realtimekit_VideoConsumerStatsCumulative, + realtimekit_VideoProducerStats, + realtimekit_VideoProducerStatsCumulative, } from "./outputs.js"; /** @@ -44,40 +44,53 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "filters": { - "description": "Filter to apply to the peer report.", - "enum": [ - "device_info", - "ip_information", - "precall_network_information", - "events", - "quality_stats" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "peer_id": { + "description": "ID of the peer", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "peer_id" ], - "type": "string" - }, - "include_peer_events": { - "default": false, - "description": "if true, response includes all the peer events of participant.", - "type": "boolean" + "type": "object" }, - "peer_id": { - "description": "ID of the peer", - "format": "uuid", - "type": "string" + "query": { + "properties": { + "filters": { + "description": "Filter to apply to the peer report.", + "enum": [ + "device_info", + "ip_information", + "precall_network_information", + "events", + "quality_stats" + ], + "type": "string" + }, + "include_peer_events": { + "default": false, + "description": "if true, response includes all the peer events of participant.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "peer_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -100,26 +113,26 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_AudioConsumerStats": realtimekit_AudioConsumerStats_output, - "realtimekit_AudioConsumerStatsCumulative": realtimekit_AudioConsumerStatsCumulative_output, - "realtimekit_AudioProducerStats": realtimekit_AudioProducerStats_output, - "realtimekit_AudioProducerStatsCumulative": realtimekit_AudioProducerStatsCumulative_output, - "realtimekit_CandidatePairStats": realtimekit_CandidatePairStats_output, - "realtimekit_LatencyCumulative": realtimekit_LatencyCumulative_output, - "realtimekit_PacketLossCumulative": realtimekit_PacketLossCumulative_output, - "realtimekit_PeerEvent": realtimekit_PeerEvent_output, - "realtimekit_PeerParticipantDetails": realtimekit_PeerParticipantDetails_output, - "realtimekit_PeerReport": realtimekit_PeerReport_output, - "realtimekit_PeerReportDevice": realtimekit_PeerReportDevice_output, - "realtimekit_PeerReportDeviceUpdate": realtimekit_PeerReportDeviceUpdate_output, - "realtimekit_PeerReportEvent": realtimekit_PeerReportEvent_output, - "realtimekit_PeerReportMetadata": realtimekit_PeerReportMetadata_output, - "realtimekit_PeerReportQuality": realtimekit_PeerReportQuality_output, - "realtimekit_PercentileStats": realtimekit_PercentileStats_output, - "realtimekit_VideoConsumerStats": realtimekit_VideoConsumerStats_output, - "realtimekit_VideoConsumerStatsCumulative": realtimekit_VideoConsumerStatsCumulative_output, - "realtimekit_VideoProducerStats": realtimekit_VideoProducerStats_output, - "realtimekit_VideoProducerStatsCumulative": realtimekit_VideoProducerStatsCumulative_output, + "realtimekit_AudioConsumerStats": realtimekit_AudioConsumerStats, + "realtimekit_AudioConsumerStatsCumulative": realtimekit_AudioConsumerStatsCumulative, + "realtimekit_AudioProducerStats": realtimekit_AudioProducerStats, + "realtimekit_AudioProducerStatsCumulative": realtimekit_AudioProducerStatsCumulative, + "realtimekit_CandidatePairStats": realtimekit_CandidatePairStats, + "realtimekit_LatencyCumulative": realtimekit_LatencyCumulative, + "realtimekit_PacketLossCumulative": realtimekit_PacketLossCumulative, + "realtimekit_PeerEvent": realtimekit_PeerEvent, + "realtimekit_PeerParticipantDetails": realtimekit_PeerParticipantDetails, + "realtimekit_PeerReport": realtimekit_PeerReport, + "realtimekit_PeerReportDevice": realtimekit_PeerReportDevice, + "realtimekit_PeerReportDeviceUpdate": realtimekit_PeerReportDeviceUpdate, + "realtimekit_PeerReportEvent": realtimekit_PeerReportEvent, + "realtimekit_PeerReportMetadata": realtimekit_PeerReportMetadata, + "realtimekit_PeerReportQuality": realtimekit_PeerReportQuality, + "realtimekit_PercentileStats": realtimekit_PercentileStats, + "realtimekit_VideoConsumerStats": realtimekit_VideoConsumerStats, + "realtimekit_VideoConsumerStatsCumulative": realtimekit_VideoConsumerStatsCumulative, + "realtimekit_VideoProducerStats": realtimekit_VideoProducerStats, + "realtimekit_VideoProducerStatsCumulative": realtimekit_VideoProducerStatsCumulative, }, }, annotations: { @@ -160,35 +173,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_AudioConsumerStats": realtimekit_AudioConsumerStats_output, - "realtimekit_AudioConsumerStatsCumulative": realtimekit_AudioConsumerStatsCumulative_output, - "realtimekit_AudioProducerStats": realtimekit_AudioProducerStats_output, - "realtimekit_AudioProducerStatsCumulative": realtimekit_AudioProducerStatsCumulative_output, - "realtimekit_CandidatePairStats": realtimekit_CandidatePairStats_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_LatencyCumulative": realtimekit_LatencyCumulative_output, - "realtimekit_PacketLossCumulative": realtimekit_PacketLossCumulative_output, - "realtimekit_PeerEvent": realtimekit_PeerEvent_output, - "realtimekit_PeerParticipantDetails": realtimekit_PeerParticipantDetails_output, - "realtimekit_PeerReport": realtimekit_PeerReport_output, - "realtimekit_PeerReportDevice": realtimekit_PeerReportDevice_output, - "realtimekit_PeerReportDeviceUpdate": realtimekit_PeerReportDeviceUpdate_output, - "realtimekit_PeerReportEvent": realtimekit_PeerReportEvent_output, - "realtimekit_PeerReportMetadata": realtimekit_PeerReportMetadata_output, - "realtimekit_PeerReportQuality": realtimekit_PeerReportQuality_output, - "realtimekit_PercentileStats": realtimekit_PercentileStats_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_VideoConsumerStats": realtimekit_VideoConsumerStats_output, - "realtimekit_VideoConsumerStatsCumulative": realtimekit_VideoConsumerStatsCumulative_output, - "realtimekit_VideoProducerStats": realtimekit_VideoProducerStats_output, - "realtimekit_VideoProducerStatsCumulative": realtimekit_VideoProducerStatsCumulative_output, + "realtimekit_AudioConsumerStats": realtimekit_AudioConsumerStats, + "realtimekit_AudioConsumerStatsCumulative": realtimekit_AudioConsumerStatsCumulative, + "realtimekit_AudioProducerStats": realtimekit_AudioProducerStats, + "realtimekit_AudioProducerStatsCumulative": realtimekit_AudioProducerStatsCumulative, + "realtimekit_CandidatePairStats": realtimekit_CandidatePairStats, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_LatencyCumulative": realtimekit_LatencyCumulative, + "realtimekit_PacketLossCumulative": realtimekit_PacketLossCumulative, + "realtimekit_PeerEvent": realtimekit_PeerEvent, + "realtimekit_PeerParticipantDetails": realtimekit_PeerParticipantDetails, + "realtimekit_PeerReport": realtimekit_PeerReport, + "realtimekit_PeerReportDevice": realtimekit_PeerReportDevice, + "realtimekit_PeerReportDeviceUpdate": realtimekit_PeerReportDeviceUpdate, + "realtimekit_PeerReportEvent": realtimekit_PeerReportEvent, + "realtimekit_PeerReportMetadata": realtimekit_PeerReportMetadata, + "realtimekit_PeerReportQuality": realtimekit_PeerReportQuality, + "realtimekit_PercentileStats": realtimekit_PercentileStats, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_VideoConsumerStats": realtimekit_VideoConsumerStats, + "realtimekit_VideoConsumerStatsCumulative": realtimekit_VideoConsumerStatsCumulative, + "realtimekit_VideoProducerStats": realtimekit_VideoProducerStats, + "realtimekit_VideoProducerStatsCumulative": realtimekit_VideoProducerStatsCumulative, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/peer-report/${pathParam(args, "peer_id")}`, query: [ - ["filters", args["filters"], true], - ["include_peer_events", args["include_peer_events"], true], + ["filters", param(args, "query", "filters"), true], + ["include_peer_events", param(args, "query", "include_peer_events"), true], ], }), }, diff --git a/src/generated/forge-mcp/realtime/kit/sessions/summaries/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/summaries/outputs.ts index 3a9c2d13c..b1a34f868 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/summaries/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/summaries/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `realtimekit_TranscriptSummary` in responses. */ -export const realtimekit_TranscriptSummary_output: JsonSchema = { +export const realtimekit_TranscriptSummary: JsonSchema = { "properties": { "sessionId": { "type": "string" diff --git a/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts index 4c9492bf4..5377c8814 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts @@ -3,14 +3,14 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_TranscriptSummary_output } from "./outputs.js"; +import { realtimekit_TranscriptSummary } from "./outputs.js"; /** * The tools of `realtime.kit.sessions.summaries`. @@ -23,23 +23,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "session_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "session_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "session_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -57,7 +65,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_TranscriptSummary": realtimekit_TranscriptSummary_output, + "realtimekit_TranscriptSummary": realtimekit_TranscriptSummary, }, }, annotations: { @@ -93,9 +101,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_TranscriptSummary": realtimekit_TranscriptSummary_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_TranscriptSummary": realtimekit_TranscriptSummary, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ @@ -109,23 +117,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "session_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "session_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "session_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "session_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -194,8 +210,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/sessions/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/tools.ts index 451b0af4a..f1ca17cbc 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/tools.ts @@ -1,11 +1,11 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - realtimekit_ActiveSession_output, - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_ActiveSession, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../outputs.js"; import { realtimekit_account_identifier, @@ -23,29 +23,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "include_breakout_rooms": { - "default": false, - "description": "List all breakout rooms", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "session_id": { + "description": "ID of the session", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "session_id" + ], + "type": "object" }, - "session_id": { - "description": "ID of the session", - "format": "uuid", - "type": "string" + "query": { + "properties": { + "include_breakout_rooms": { + "default": false, + "description": "List all breakout rooms", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "session_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -63,7 +76,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_ActiveSession": realtimekit_ActiveSession_output, + "realtimekit_ActiveSession": realtimekit_ActiveSession, }, }, annotations: { @@ -99,15 +112,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_ActiveSession": realtimekit_ActiveSession_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_ActiveSession": realtimekit_ActiveSession, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}`, query: [ - ["include_breakout_rooms", args["include_breakout_rooms"], true], + ["include_breakout_rooms", param(args, "query", "include_breakout_rooms"), true], ], }), }, @@ -118,69 +131,82 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "associated_id": { - "description": "ID of the meeting that sessions should be associated with", - "format": "uuid", - "type": "string" - }, - "end_time": { - "description": "The end time range for which you want to retrieve the meetings. The time must be specified in ISO format.", - "format": "date-time", - "type": "string" - }, - "page_no": { - "description": "The page number from which you want your page search results to be displayed.", - "type": "number" - }, - "participants": { - "type": "string" - }, - "per_page": { - "description": "Number of results per page", - "type": "number" - }, - "search": { - "description": "Search string that matches sessions based on meeting title, meeting ID, and session ID", - "type": "string" - }, - "sort_by": { - "enum": [ - "minutesConsumed", - "createdAt" - ], - "type": "string" - }, - "sort_order": { - "enum": [ - "ASC", - "DESC" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" ], - "type": "string" - }, - "start_time": { - "description": "The start time range for which you want to retrieve the meetings. The time must be specified in ISO format.", - "format": "date-time", - "type": "string" + "type": "object" }, - "status": { - "enum": [ - "LIVE", - "ENDED" - ], - "type": "string" + "query": { + "properties": { + "associated_id": { + "description": "ID of the meeting that sessions should be associated with", + "format": "uuid", + "type": "string" + }, + "end_time": { + "description": "The end time range for which you want to retrieve the meetings. The time must be specified in ISO format.", + "format": "date-time", + "type": "string" + }, + "page_no": { + "description": "The page number from which you want your page search results to be displayed.", + "type": "number" + }, + "participants": { + "type": "string" + }, + "per_page": { + "description": "Number of results per page", + "type": "number" + }, + "search": { + "description": "Search string that matches sessions based on meeting title, meeting ID, and session ID", + "type": "string" + }, + "sort_by": { + "enum": [ + "minutesConsumed", + "createdAt" + ], + "type": "string" + }, + "sort_order": { + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + }, + "start_time": { + "description": "The start time range for which you want to retrieve the meetings. The time must be specified in ISO format.", + "format": "date-time", + "type": "string" + }, + "status": { + "enum": [ + "LIVE", + "ENDED" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -220,7 +246,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_ActiveSession": realtimekit_ActiveSession_output, + "realtimekit_ActiveSession": realtimekit_ActiveSession, }, }, annotations: { @@ -278,24 +304,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_ActiveSession": realtimekit_ActiveSession_output, - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_ActiveSession": realtimekit_ActiveSession, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions`, query: [ - ["page_no", args["page_no"], true], - ["per_page", args["per_page"], true], - ["sort_by", args["sort_by"], true], - ["sort_order", args["sort_order"], true], - ["start_time", args["start_time"], true], - ["end_time", args["end_time"], true], - ["participants", args["participants"], true], - ["status", args["status"], true], - ["search", args["search"], true], - ["associated_id", args["associated_id"], true], + ["page_no", param(args, "query", "page_no"), true], + ["per_page", param(args, "query", "per_page"), true], + ["sort_by", param(args, "query", "sort_by"), true], + ["sort_order", param(args, "query", "sort_order"), true], + ["start_time", param(args, "query", "start_time"), true], + ["end_time", param(args, "query", "end_time"), true], + ["participants", param(args, "query", "participants"), true], + ["status", param(args, "query", "status"), true], + ["search", param(args, "query", "search"), true], + ["associated_id", param(args, "query", "associated_id"), true], ], }), }, diff --git a/src/generated/forge-mcp/realtime/kit/sessions/transcripts/outputs.ts b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/outputs.ts index edcb99aef..93d1dba87 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/transcripts/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `realtimekit_Transcript` in responses. */ -export const realtimekit_Transcript_output: JsonSchema = { +export const realtimekit_Transcript: JsonSchema = { "properties": { "sessionId": { "type": "string" diff --git a/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts index 2dd921ece..0fbe50df2 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/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, param, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_Transcript_output } from "./outputs.js"; +import { realtimekit_Transcript } from "./outputs.js"; /** * The tools of `realtime.kit.sessions.transcripts`. @@ -23,35 +23,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "format": { - "default": "CSV", - "description": "Transcript file format to fetch.", - "enum": [ - "SRT", - "VTT", - "JSON", - "CSV" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "session_id": { + "description": "ID of the session", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "session_id" ], - "type": "string" + "type": "object" }, - "session_id": { - "description": "ID of the session", - "format": "uuid", - "type": "string" + "query": { + "properties": { + "format": { + "default": "CSV", + "description": "Transcript file format to fetch.", + "enum": [ + "SRT", + "VTT", + "JSON", + "CSV" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "app_id", - "session_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -69,7 +82,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "realtimekit_Transcript": realtimekit_Transcript_output, + "realtimekit_Transcript": realtimekit_Transcript, }, }, annotations: { @@ -105,15 +118,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_Transcript": realtimekit_Transcript_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_Transcript": realtimekit_Transcript, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/realtime/kit/${pathParam(args, "app_id")}/sessions/${pathParam(args, "session_id")}/transcript`, query: [ - ["format", args["format"], true], + ["format", param(args, "query", "format"), true], ], }), }, diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/events/outputs.ts b/src/generated/forge-mcp/realtime/kit/webhooks/events/outputs.ts index 2ff0bfde4..f0a657cb9 100644 --- a/src/generated/forge-mcp/realtime/kit/webhooks/events/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/webhooks/events/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `realtimekit_WebhookEventsSuccessResponse` in responses. */ -export const realtimekit_WebhookEventsSuccessResponse_output: JsonSchema = { +export const realtimekit_WebhookEventsSuccessResponse: JsonSchema = { "properties": { "data": { "items": { diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts b/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts index bc858fd67..240cb2630 100644 --- a/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts @@ -3,14 +3,14 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - realtimekit_GenericErrorResponse_output, - realtimekit_ValidationIssue_output, + realtimekit_GenericErrorResponse, + realtimekit_ValidationIssue, } from "../../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../../schemas.js"; -import { realtimekit_WebhookEventsSuccessResponse_output } from "./outputs.js"; +import { realtimekit_WebhookEventsSuccessResponse } from "./outputs.js"; /** * The tools of `realtime.kit.webhooks.events`. @@ -23,18 +23,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -44,7 +52,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/realtimekit_WebhookEventsSuccessResponse", $defs: { - "realtimekit_WebhookEventsSuccessResponse": realtimekit_WebhookEventsSuccessResponse_output, + "realtimekit_WebhookEventsSuccessResponse": realtimekit_WebhookEventsSuccessResponse, }, }, annotations: { @@ -72,9 +80,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse_output, - "realtimekit_ValidationIssue": realtimekit_ValidationIssue_output, - "realtimekit_WebhookEventsSuccessResponse": realtimekit_WebhookEventsSuccessResponse_output, + "realtimekit_GenericErrorResponse": realtimekit_GenericErrorResponse, + "realtimekit_ValidationIssue": realtimekit_ValidationIssue, + "realtimekit_WebhookEventsSuccessResponse": realtimekit_WebhookEventsSuccessResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/outputs.ts b/src/generated/forge-mcp/realtime/kit/webhooks/outputs.ts index dd9f75786..3647a9906 100644 --- a/src/generated/forge-mcp/realtime/kit/webhooks/outputs.ts +++ b/src/generated/forge-mcp/realtime/kit/webhooks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `realtimekit_Webhook` in responses. */ -export const realtimekit_Webhook_output: JsonSchema = { +export const realtimekit_Webhook: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -62,7 +62,7 @@ export const realtimekit_Webhook_output: JsonSchema = { /** * The schema of `realtimekit_WebhookSuccessResponse` in responses. */ -export const realtimekit_WebhookSuccessResponse_output: JsonSchema = { +export const realtimekit_WebhookSuccessResponse: JsonSchema = { "properties": { "data": { "$ref": "#/$defs/realtimekit_Webhook" @@ -81,7 +81,7 @@ export const realtimekit_WebhookSuccessResponse_output: JsonSchema = { /** * The schema of `realtimekit_WebhooksListSuccessResponse` in responses. */ -export const realtimekit_WebhooksListSuccessResponse_output: JsonSchema = { +export const realtimekit_WebhooksListSuccessResponse: JsonSchema = { "properties": { "data": { "items": { diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts b/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts index b45f6e32e..e3dd49f7d 100644 --- a/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts @@ -2,15 +2,15 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; -import { realtimekit_ErrorResponse_output } from "../outputs.js"; +import { realtimekit_ErrorResponse } from "../outputs.js"; import { realtimekit_account_identifier, realtimekit_app_id, } from "../schemas.js"; import { - realtimekit_WebhookSuccessResponse_output, - realtimekit_Webhook_output, - realtimekit_WebhooksListSuccessResponse_output, + realtimekit_Webhook, + realtimekit_WebhookSuccessResponse, + realtimekit_WebhooksListSuccessResponse, } from "./outputs.js"; import { realtimekit_PatchWebhookRequest, @@ -28,21 +28,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "$ref": "#/$defs/realtimekit_WebhookRequest" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "body" ], $defs: { @@ -54,8 +62,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/realtimekit_WebhookSuccessResponse", $defs: { - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, annotations: { @@ -84,9 +92,9 @@ export const tools: readonly Tool[] = [ "401": {} }, $defs: { - "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_ErrorResponse": realtimekit_ErrorResponse, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, request: (args) => ({ @@ -101,24 +109,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "webhook_id": { - "description": "ID of the webhook", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "webhook_id": { + "description": "ID of the webhook", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "webhook_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -128,8 +144,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/realtimekit_WebhookSuccessResponse", $defs: { - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, annotations: { @@ -159,9 +175,9 @@ export const tools: readonly Tool[] = [ "401": {} }, $defs: { - "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_ErrorResponse": realtimekit_ErrorResponse, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, request: (args) => ({ @@ -175,24 +191,32 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, - "webhook_id": { - "description": "ID of the webhook", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "webhook_id": { + "description": "ID of the webhook", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "webhook_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -202,8 +226,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/realtimekit_WebhookSuccessResponse", $defs: { - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, annotations: { @@ -233,9 +257,9 @@ export const tools: readonly Tool[] = [ "401": {} }, $defs: { - "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_ErrorResponse": realtimekit_ErrorResponse, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, request: (args) => ({ @@ -249,18 +273,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "realtimekit_account_identifier": realtimekit_account_identifier, @@ -270,8 +302,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/realtimekit_WebhooksListSuccessResponse", $defs: { - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhooksListSuccessResponse": realtimekit_WebhooksListSuccessResponse_output, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhooksListSuccessResponse": realtimekit_WebhooksListSuccessResponse, }, }, annotations: { @@ -297,8 +329,8 @@ export const tools: readonly Tool[] = [ "401": {} }, $defs: { - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhooksListSuccessResponse": realtimekit_WebhooksListSuccessResponse_output, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhooksListSuccessResponse": realtimekit_WebhooksListSuccessResponse, }, }, request: (args) => ({ @@ -312,27 +344,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "$ref": "#/$defs/realtimekit_WebhookRequest" }, - "webhook_id": { - "description": "ID of the webhook", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "webhook_id": { + "description": "ID of the webhook", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "webhook_id", + "path", "body" ], $defs: { @@ -344,8 +384,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/realtimekit_WebhookSuccessResponse", $defs: { - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, annotations: { @@ -375,9 +415,9 @@ export const tools: readonly Tool[] = [ "401": {} }, $defs: { - "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_ErrorResponse": realtimekit_ErrorResponse, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, request: (args) => ({ @@ -392,27 +432,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." - }, "body": { "$ref": "#/$defs/realtimekit_PatchWebhookRequest" }, - "webhook_id": { - "description": "ID of the webhook", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/realtimekit_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/realtimekit_app_id", + "description": "The app identifier tag." + }, + "webhook_id": { + "description": "ID of the webhook", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "app_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "webhook_id", + "path", "body" ], $defs: { @@ -424,8 +472,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/realtimekit_WebhookSuccessResponse", $defs: { - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, annotations: { @@ -455,9 +503,9 @@ export const tools: readonly Tool[] = [ "401": {} }, $defs: { - "realtimekit_ErrorResponse": realtimekit_ErrorResponse_output, - "realtimekit_Webhook": realtimekit_Webhook_output, - "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse_output, + "realtimekit_ErrorResponse": realtimekit_ErrorResponse, + "realtimekit_Webhook": realtimekit_Webhook, + "realtimekit_WebhookSuccessResponse": realtimekit_WebhookSuccessResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/moq/relays/outputs.ts b/src/generated/forge-mcp/realtime/moq/relays/outputs.ts index 3b8008d8c..df5a379f1 100644 --- a/src/generated/forge-mcp/realtime/moq/relays/outputs.ts +++ b/src/generated/forge-mcp/realtime/moq/relays/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `moq_api-response-common` in responses. */ -export const moq_api_response_common_output: JsonSchema = { +export const moq_api$$response$$common: JsonSchema = { "properties": { "errors": { "items": { @@ -51,7 +51,7 @@ export const moq_api_response_common_output: JsonSchema = { /** * The schema of `moq_api-response-error` in responses. */ -export const moq_api_response_error_output: JsonSchema = { +export const moq_api$$response$$error: JsonSchema = { "properties": { "errors": { "items": { @@ -102,7 +102,7 @@ export const moq_api_response_error_output: JsonSchema = { /** * The schema of `moq_cloudflare_jwt_issuer` in responses. */ -export const moq_cloudflare_jwt_issuer_output: JsonSchema = { +export const moq_cloudflare_jwt_issuer: JsonSchema = { "properties": { "cloudflare_tokens": { "items": { @@ -134,7 +134,7 @@ export const moq_cloudflare_jwt_issuer_output: JsonSchema = { /** * The schema of `moq_cloudflare_jwt_token` in responses. */ -export const moq_cloudflare_jwt_token_output: JsonSchema = { +export const moq_cloudflare_jwt_token: JsonSchema = { "properties": { "created": { "format": "date-time", @@ -177,14 +177,14 @@ export const moq_cloudflare_jwt_token_output: JsonSchema = { /** * The schema of `moq_issuer` in responses. */ -export const moq_issuer_output: JsonSchema = { +export const moq_issuer: JsonSchema = { "$ref": "#/$defs/moq_cloudflare_jwt_issuer" }; /** * The schema of `moq_relay` in responses. */ -export const moq_relay_output: JsonSchema = { +export const moq_relay: JsonSchema = { "properties": { "config": { "$ref": "#/$defs/moq_relay_config" @@ -223,7 +223,7 @@ export const moq_relay_output: JsonSchema = { /** * The schema of `moq_relay_config` in responses. */ -export const moq_relay_config_output: JsonSchema = { +export const moq_relay_config: JsonSchema = { "properties": { "upstreams": { "$ref": "#/$defs/moq_upstreams" @@ -235,7 +235,7 @@ export const moq_relay_config_output: JsonSchema = { /** * The schema of `moq_relay_create_response` in responses. */ -export const moq_relay_create_response_output: JsonSchema = { +export const moq_relay_create_response: JsonSchema = { "properties": { "config": { "$ref": "#/$defs/moq_relay_config" @@ -275,7 +275,7 @@ export const moq_relay_create_response_output: JsonSchema = { /** * The schema of `moq_relay_list_item` in responses. */ -export const moq_relay_list_item_output: JsonSchema = { +export const moq_relay_list_item: JsonSchema = { "properties": { "created": { "format": "date-time", @@ -304,7 +304,7 @@ export const moq_relay_list_item_output: JsonSchema = { /** * The schema of `moq_result_info` in responses. */ -export const moq_result_info_output: JsonSchema = { +export const moq_result_info: JsonSchema = { "properties": { "count": { "type": "integer" @@ -319,7 +319,7 @@ export const moq_result_info_output: JsonSchema = { /** * The schema of `moq_upstream` in responses. */ -export const moq_upstream_output: JsonSchema = { +export const moq_upstream: JsonSchema = { "properties": { "url": { "type": "string" @@ -334,7 +334,7 @@ export const moq_upstream_output: JsonSchema = { /** * The schema of `moq_upstreams` in responses. */ -export const moq_upstreams_output: JsonSchema = { +export const moq_upstreams: JsonSchema = { "properties": { "enabled": { "type": "boolean" diff --git a/src/generated/forge-mcp/realtime/moq/relays/tokens/outputs.ts b/src/generated/forge-mcp/realtime/moq/relays/tokens/outputs.ts index b24606ff9..73d7f955a 100644 --- a/src/generated/forge-mcp/realtime/moq/relays/tokens/outputs.ts +++ b/src/generated/forge-mcp/realtime/moq/relays/tokens/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `moq_tokens_envelope` in responses. */ -export const moq_tokens_envelope_output: JsonSchema = { +export const moq_tokens_envelope: JsonSchema = { "properties": { "issuers": { "items": { diff --git a/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts b/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts index 82f960db5..ad218fa8d 100644 --- a/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts +++ b/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts @@ -3,14 +3,14 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - moq_api_response_common_output, - moq_api_response_error_output, - moq_cloudflare_jwt_issuer_output, - moq_cloudflare_jwt_token_output, - moq_issuer_output, + moq_api$$response$$common, + moq_api$$response$$error, + moq_cloudflare_jwt_issuer, + moq_cloudflare_jwt_token, + moq_issuer, } from "../outputs.js"; import { moq_account_identifier } from "../schemas.js"; -import { moq_tokens_envelope_output } from "./outputs.js"; +import { moq_tokens_envelope } from "./outputs.js"; /** * The tools of `realtime.moq.relays.tokens`. @@ -23,10 +23,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." - }, "body": { "properties": { "expires": { @@ -56,14 +52,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "relay_id": { - "description": "Relay unique identifier (32 hex characters).", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/moq_account_identifier", + "description": "Cloudflare account identifier." + }, + "relay_id": { + "description": "Relay unique identifier (32 hex characters).", + "type": "string" + } + }, + "required": [ + "account_id", + "relay_id" + ], + "type": "object" } }, required: [ - "account_id", - "relay_id", + "path", "body" ], $defs: { @@ -85,11 +93,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer_output, - "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token_output, - "moq_issuer": moq_issuer_output, - "moq_tokens_envelope": moq_tokens_envelope_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer, + "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token, + "moq_issuer": moq_issuer, + "moq_tokens_envelope": moq_tokens_envelope, }, }, annotations: { @@ -135,12 +143,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_api-response-error": moq_api_response_error_output, - "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer_output, - "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token_output, - "moq_issuer": moq_issuer_output, - "moq_tokens_envelope": moq_tokens_envelope_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_api-response-error": moq_api$$response$$error, + "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer, + "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token, + "moq_issuer": moq_issuer, + "moq_tokens_envelope": moq_tokens_envelope, }, }, request: (args) => ({ @@ -155,23 +163,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." - }, - "jti": { - "description": "Token identifier (jti — 32 hex characters).", - "type": "string" - }, - "relay_id": { - "description": "Relay unique identifier (32 hex characters).", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/moq_account_identifier", + "description": "Cloudflare account identifier." + }, + "jti": { + "description": "Token identifier (jti — 32 hex characters).", + "type": "string" + }, + "relay_id": { + "description": "Relay unique identifier (32 hex characters).", + "type": "string" + } + }, + "required": [ + "account_id", + "relay_id", + "jti" + ], + "type": "object" } }, required: [ - "account_id", - "relay_id", - "jti" + "path" ], $defs: { "moq_account_identifier": moq_account_identifier, @@ -180,7 +196,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/moq_api-response-common", $defs: { - "moq_api-response-common": moq_api_response_common_output, + "moq_api-response-common": moq_api$$response$$common, }, }, annotations: { @@ -211,8 +227,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_api-response-error": moq_api$$response$$error, }, }, request: (args) => ({ @@ -226,18 +242,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." - }, - "relay_id": { - "description": "Relay unique identifier (32 hex characters).", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/moq_account_identifier", + "description": "Cloudflare account identifier." + }, + "relay_id": { + "description": "Relay unique identifier (32 hex characters).", + "type": "string" + } + }, + "required": [ + "account_id", + "relay_id" + ], + "type": "object" } }, required: [ - "account_id", - "relay_id" + "path" ], $defs: { "moq_account_identifier": moq_account_identifier, @@ -258,11 +282,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer_output, - "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token_output, - "moq_issuer": moq_issuer_output, - "moq_tokens_envelope": moq_tokens_envelope_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer, + "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token, + "moq_issuer": moq_issuer, + "moq_tokens_envelope": moq_tokens_envelope, }, }, annotations: { @@ -305,12 +329,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_api-response-error": moq_api_response_error_output, - "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer_output, - "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token_output, - "moq_issuer": moq_issuer_output, - "moq_tokens_envelope": moq_tokens_envelope_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_api-response-error": moq_api$$response$$error, + "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer, + "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token, + "moq_issuer": moq_issuer, + "moq_tokens_envelope": moq_tokens_envelope, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/moq/relays/tools.ts b/src/generated/forge-mcp/realtime/moq/relays/tools.ts index 87c449d96..b3ae3c823 100644 --- a/src/generated/forge-mcp/realtime/moq/relays/tools.ts +++ b/src/generated/forge-mcp/realtime/moq/relays/tools.ts @@ -1,26 +1,26 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - moq_api_response_common_output, - moq_api_response_error_output, - moq_cloudflare_jwt_issuer_output, - moq_cloudflare_jwt_token_output, - moq_issuer_output, - moq_relay_config_output, - moq_relay_create_response_output, - moq_relay_list_item_output, - moq_relay_output, - moq_result_info_output, - moq_upstream_output, - moq_upstreams_output, -} from "./outputs.js"; -import { - moq_account_identifier, + moq_api$$response$$common, + moq_api$$response$$error, + moq_cloudflare_jwt_issuer, + moq_cloudflare_jwt_token, + moq_issuer, + moq_relay, moq_relay_config, + moq_relay_create_response, + moq_relay_list_item, + moq_result_info, moq_upstream, moq_upstreams, +} from "./outputs.js"; +import { + moq_account_identifier, + moq_relay_config as moq_relay_config$, + moq_upstream as moq_upstream$, + moq_upstreams as moq_upstreams$, } from "./schemas.js"; /** @@ -34,10 +34,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." - }, "body": { "properties": { "name": { @@ -49,10 +45,22 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/moq_account_identifier", + "description": "Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -74,14 +82,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer_output, - "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token_output, - "moq_issuer": moq_issuer_output, - "moq_relay_config": moq_relay_config_output, - "moq_relay_create_response": moq_relay_create_response_output, - "moq_upstream": moq_upstream_output, - "moq_upstreams": moq_upstreams_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer, + "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token, + "moq_issuer": moq_issuer, + "moq_relay_config": moq_relay_config, + "moq_relay_create_response": moq_relay_create_response, + "moq_upstream": moq_upstream, + "moq_upstreams": moq_upstreams, }, }, annotations: { @@ -127,15 +135,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_api-response-error": moq_api_response_error_output, - "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer_output, - "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token_output, - "moq_issuer": moq_issuer_output, - "moq_relay_config": moq_relay_config_output, - "moq_relay_create_response": moq_relay_create_response_output, - "moq_upstream": moq_upstream_output, - "moq_upstreams": moq_upstreams_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_api-response-error": moq_api$$response$$error, + "moq_cloudflare_jwt_issuer": moq_cloudflare_jwt_issuer, + "moq_cloudflare_jwt_token": moq_cloudflare_jwt_token, + "moq_issuer": moq_issuer, + "moq_relay_config": moq_relay_config, + "moq_relay_create_response": moq_relay_create_response, + "moq_upstream": moq_upstream, + "moq_upstreams": moq_upstreams, }, }, request: (args) => ({ @@ -150,18 +158,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." - }, - "relay_id": { - "description": "Relay unique identifier (32 hex characters).", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/moq_account_identifier", + "description": "Cloudflare account identifier." + }, + "relay_id": { + "description": "Relay unique identifier (32 hex characters).", + "type": "string" + } + }, + "required": [ + "account_id", + "relay_id" + ], + "type": "object" } }, required: [ - "account_id", - "relay_id" + "path" ], $defs: { "moq_account_identifier": moq_account_identifier, @@ -189,7 +205,7 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "moq_api-response-common": moq_api_response_common_output, + "moq_api-response-common": moq_api$$response$$common, }, }, annotations: { @@ -239,8 +255,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_api-response-error": moq_api_response_error_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_api-response-error": moq_api$$response$$error, }, }, request: (args) => ({ @@ -254,18 +270,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." - }, - "relay_id": { - "description": "Relay unique identifier (32 hex characters).", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/moq_account_identifier", + "description": "Cloudflare account identifier." + }, + "relay_id": { + "description": "Relay unique identifier (32 hex characters).", + "type": "string" + } + }, + "required": [ + "account_id", + "relay_id" + ], + "type": "object" } }, required: [ - "account_id", - "relay_id" + "path" ], $defs: { "moq_account_identifier": moq_account_identifier, @@ -286,11 +310,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_relay": moq_relay_output, - "moq_relay_config": moq_relay_config_output, - "moq_upstream": moq_upstream_output, - "moq_upstreams": moq_upstreams_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_relay": moq_relay, + "moq_relay_config": moq_relay_config, + "moq_upstream": moq_upstream, + "moq_upstreams": moq_upstreams, }, }, annotations: { @@ -333,12 +357,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_api-response-error": moq_api_response_error_output, - "moq_relay": moq_relay_output, - "moq_relay_config": moq_relay_config_output, - "moq_upstream": moq_upstream_output, - "moq_upstreams": moq_upstreams_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_api-response-error": moq_api$$response$$error, + "moq_relay": moq_relay, + "moq_relay_config": moq_relay_config, + "moq_upstream": moq_upstream, + "moq_upstreams": moq_upstreams, }, }, request: (args) => ({ @@ -352,33 +376,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." - }, - "asc": { - "default": false, - "description": "Sort order by `created`. When true, results are returned oldest-first\n(ascending); otherwise newest-first (descending, the default).\n", - "type": "boolean" - }, - "created_after": { - "description": "Cursor for pagination. Returns relays created strictly after this\nRFC 3339 timestamp (typically the `created` value of the last item\non the current page, to fetch the next page).\n", - "format": "date-time", - "type": "string" - }, - "created_before": { - "description": "Cursor for pagination. Returns relays created strictly before this\nRFC 3339 timestamp (typically the `created` value of the first item\non the current page, to fetch the previous page).\n", - "format": "date-time", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/moq_account_identifier", + "description": "Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 1000, - "description": "Maximum number of relays to return per page. Values above the maximum are\nclamped to it rather than rejected.\n", - "type": "integer" + "query": { + "properties": { + "asc": { + "default": false, + "description": "Sort order by `created`. When true, results are returned oldest-first\n(ascending); otherwise newest-first (descending, the default).\n", + "type": "boolean" + }, + "created_after": { + "description": "Cursor for pagination. Returns relays created strictly after this\nRFC 3339 timestamp (typically the `created` value of the last item\non the current page, to fetch the next page).\n", + "format": "date-time", + "type": "string" + }, + "created_before": { + "description": "Cursor for pagination. Returns relays created strictly before this\nRFC 3339 timestamp (typically the `created` value of the first item\non the current page, to fetch the previous page).\n", + "format": "date-time", + "type": "string" + }, + "per_page": { + "default": 1000, + "description": "Maximum number of relays to return per page. Values above the maximum are\nclamped to it rather than rejected.\n", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "moq_account_identifier": moq_account_identifier, @@ -405,9 +442,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_relay_list_item": moq_relay_list_item_output, - "moq_result_info": moq_result_info_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_relay_list_item": moq_relay_list_item, + "moq_result_info": moq_result_info, }, }, annotations: { @@ -453,19 +490,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_api-response-error": moq_api_response_error_output, - "moq_relay_list_item": moq_relay_list_item_output, - "moq_result_info": moq_result_info_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_api-response-error": moq_api$$response$$error, + "moq_relay_list_item": moq_relay_list_item, + "moq_result_info": moq_result_info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/moq/relays`, query: [ - ["created_before", args["created_before"], true], - ["created_after", args["created_after"], true], - ["per_page", args["per_page"], true], - ["asc", args["asc"], true], + ["created_before", param(args, "query", "created_before"), true], + ["created_after", param(args, "query", "created_after"), true], + ["per_page", param(args, "query", "per_page"), true], + ["asc", param(args, "query", "asc"), true], ], }), }, @@ -476,10 +513,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." - }, "body": { "properties": { "config": { @@ -491,21 +524,33 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "relay_id": { - "description": "Relay unique identifier (32 hex characters).", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/moq_account_identifier", + "description": "Cloudflare account identifier." + }, + "relay_id": { + "description": "Relay unique identifier (32 hex characters).", + "type": "string" + } + }, + "required": [ + "account_id", + "relay_id" + ], + "type": "object" } }, required: [ - "account_id", - "relay_id", + "path", "body" ], $defs: { "moq_account_identifier": moq_account_identifier, - "moq_relay_config": moq_relay_config, - "moq_upstream": moq_upstream, - "moq_upstreams": moq_upstreams, + "moq_relay_config": moq_relay_config$, + "moq_upstream": moq_upstream$, + "moq_upstreams": moq_upstreams$, }, }, outputSchema: { @@ -523,11 +568,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_relay": moq_relay_output, - "moq_relay_config": moq_relay_config_output, - "moq_upstream": moq_upstream_output, - "moq_upstreams": moq_upstreams_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_relay": moq_relay, + "moq_relay_config": moq_relay_config, + "moq_upstream": moq_upstream, + "moq_upstreams": moq_upstreams, }, }, annotations: { @@ -570,12 +615,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "moq_api-response-common": moq_api_response_common_output, - "moq_api-response-error": moq_api_response_error_output, - "moq_relay": moq_relay_output, - "moq_relay_config": moq_relay_config_output, - "moq_upstream": moq_upstream_output, - "moq_upstreams": moq_upstreams_output, + "moq_api-response-common": moq_api$$response$$common, + "moq_api-response-error": moq_api$$response$$error, + "moq_relay": moq_relay, + "moq_relay_config": moq_relay_config, + "moq_upstream": moq_upstream, + "moq_upstreams": moq_upstreams, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/outputs.ts b/src/generated/forge-mcp/realtime/outputs.ts index c47592d1a..d5244a265 100644 --- a/src/generated/forge-mcp/realtime/outputs.ts +++ b/src/generated/forge-mcp/realtime/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `calls_api-response-common` in responses. */ -export const calls_api_response_common_output: JsonSchema = { +export const calls_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/calls_messages" @@ -32,7 +32,7 @@ export const calls_api_response_common_output: JsonSchema = { /** * The schema of `calls_api-response-common-failure` in responses. */ -export const calls_api_response_common_failure_output: JsonSchema = { +export const calls_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/calls_messages" @@ -62,7 +62,7 @@ export const calls_api_response_common_failure_output: JsonSchema = { /** * The schema of `calls_api-response-single` in responses. */ -export const calls_api_response_single_output: JsonSchema = { +export const calls_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/calls_messages" @@ -88,7 +88,7 @@ export const calls_api_response_single_output: JsonSchema = { /** * The schema of `calls_created` in responses. */ -export const calls_created_output: JsonSchema = { +export const calls_created: JsonSchema = { "format": "date-time", "type": "string" }; @@ -96,14 +96,14 @@ export const calls_created_output: JsonSchema = { /** * The schema of `calls_identifier` in responses. */ -export const calls_identifier_output: JsonSchema = { +export const calls_identifier: JsonSchema = { "type": "string" }; /** * The schema of `calls_messages` in responses. */ -export const calls_messages_output: JsonSchema = { +export const calls_messages: JsonSchema = { "items": { "properties": { "code": { @@ -136,7 +136,7 @@ export const calls_messages_output: JsonSchema = { /** * The schema of `calls_modified` in responses. */ -export const calls_modified_output: JsonSchema = { +export const calls_modified: JsonSchema = { "format": "date-time", "type": "string" }; @@ -144,6 +144,6 @@ export const calls_modified_output: JsonSchema = { /** * The schema of `calls_name` in responses. */ -export const calls_name_output: JsonSchema = { +export const calls_name: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts b/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts index 1346247e3..ccc5e0812 100644 --- a/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts +++ b/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `calls_app` in responses. */ -export const calls_app_output: JsonSchema = { +export const calls_app: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/calls_created" @@ -33,7 +33,7 @@ export const calls_app_output: JsonSchema = { /** * The schema of `calls_app_response_collection` in responses. */ -export const calls_app_response_collection_output: JsonSchema = { +export const calls_app_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/calls_api-response-common" @@ -55,7 +55,7 @@ export const calls_app_response_collection_output: JsonSchema = { /** * The schema of `calls_app_response_single` in responses. */ -export const calls_app_response_single_output: JsonSchema = { +export const calls_app_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/calls_api-response-single" @@ -74,7 +74,7 @@ export const calls_app_response_single_output: JsonSchema = { /** * The schema of `calls_app_response_single_with_secret` in responses. */ -export const calls_app_response_single_with_secret_output: JsonSchema = { +export const calls_app_response_single_with_secret: JsonSchema = { "allOf": [ { "$ref": "#/$defs/calls_api-response-single" @@ -93,7 +93,7 @@ export const calls_app_response_single_with_secret_output: JsonSchema = { /** * The schema of `calls_app_with_secret` in responses. */ -export const calls_app_with_secret_output: JsonSchema = { +export const calls_app_with_secret: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/calls_created" @@ -124,6 +124,6 @@ export const calls_app_with_secret_output: JsonSchema = { /** * The schema of `calls_secret` in responses. */ -export const calls_secret_output: JsonSchema = { +export const calls_secret: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/realtime/sfu/apps/tools.ts b/src/generated/forge-mcp/realtime/sfu/apps/tools.ts index 9a25eea0a..8e8e960e4 100644 --- a/src/generated/forge-mcp/realtime/sfu/apps/tools.ts +++ b/src/generated/forge-mcp/realtime/sfu/apps/tools.ts @@ -3,27 +3,27 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - calls_api_response_common_failure_output, - calls_api_response_common_output, - calls_api_response_single_output, - calls_created_output, - calls_identifier_output, - calls_messages_output, - calls_modified_output, - calls_name_output, + calls_api$$response$$common, + calls_api$$response$$common$$failure, + calls_api$$response$$single, + calls_created, + calls_identifier, + calls_messages, + calls_modified, + calls_name, } from "../../outputs.js"; import { calls_account_identifier, - calls_identifier, - calls_name, + calls_identifier as calls_identifier$, + calls_name as calls_name$, } from "../../schemas.js"; import { - calls_app_output, - calls_app_response_collection_output, - calls_app_response_single_output, - calls_app_response_single_with_secret_output, - calls_app_with_secret_output, - calls_secret_output, + calls_app, + calls_app_response_collection, + calls_app_response_single, + calls_app_response_single_with_secret, + calls_app_with_secret, + calls_secret, } from "./outputs.js"; import { calls_app_editable_fields } from "./schemas.js"; @@ -38,36 +38,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/calls_app_editable_fields" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "calls_account_identifier": calls_account_identifier, "calls_app_editable_fields": calls_app_editable_fields, - "calls_name": calls_name, + "calls_name": calls_name$, }, }, outputSchema: { "$ref": "#/$defs/calls_app_response_single_with_secret", $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_app_response_single_with_secret": calls_app_response_single_with_secret_output, - "calls_app_with_secret": calls_app_with_secret_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_secret": calls_secret_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_app_response_single_with_secret": calls_app_response_single_with_secret, + "calls_app_with_secret": calls_app_with_secret, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_secret": calls_secret, }, }, annotations: { @@ -94,16 +102,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "calls_api-response-common-failure": calls_api_response_common_failure_output, - "calls_api-response-single": calls_api_response_single_output, - "calls_app_response_single_with_secret": calls_app_response_single_with_secret_output, - "calls_app_with_secret": calls_app_with_secret_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_secret": calls_secret_output, + "calls_api-response-common-failure": calls_api$$response$$common$$failure, + "calls_api-response-single": calls_api$$response$$single, + "calls_app_response_single_with_secret": calls_app_response_single_with_secret, + "calls_app_with_secret": calls_app_with_secret, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_secret": calls_secret, }, }, request: (args) => ({ @@ -118,35 +126,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/calls_identifier", + "description": "A Cloudflare-generated unique identifier for a item." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier, + "calls_identifier": calls_identifier$, }, }, outputSchema: { "$ref": "#/$defs/calls_app_response_single", $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_app": calls_app_output, - "calls_app_response_single": calls_app_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_app": calls_app, + "calls_app_response_single": calls_app_response_single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, }, }, annotations: { @@ -171,14 +187,14 @@ export const tools: readonly Tool[] = [ "4XX": {} }, $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_app": calls_app_output, - "calls_app_response_single": calls_app_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_app": calls_app, + "calls_app_response_single": calls_app_response_single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, }, }, request: (args) => ({ @@ -192,35 +208,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/calls_identifier", + "description": "A Cloudflare-generated unique identifier for a item." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id" + "path" ], $defs: { "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier, + "calls_identifier": calls_identifier$, }, }, outputSchema: { "$ref": "#/$defs/calls_app_response_single", $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_app": calls_app_output, - "calls_app_response_single": calls_app_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_app": calls_app, + "calls_app_response_single": calls_app_response_single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, }, }, annotations: { @@ -248,15 +272,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "calls_api-response-common-failure": calls_api_response_common_failure_output, - "calls_api-response-single": calls_api_response_single_output, - "calls_app": calls_app_output, - "calls_app_response_single": calls_app_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, + "calls_api-response-common-failure": calls_api$$response$$common$$failure, + "calls_api-response-single": calls_api$$response$$single, + "calls_app": calls_app, + "calls_app_response_single": calls_app_response_single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, }, }, request: (args) => ({ @@ -270,13 +294,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "calls_account_identifier": calls_account_identifier, @@ -285,14 +317,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/calls_app_response_collection", $defs: { - "calls_api-response-common": calls_api_response_common_output, - "calls_app": calls_app_output, - "calls_app_response_collection": calls_app_response_collection_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, + "calls_api-response-common": calls_api$$response$$common, + "calls_app": calls_app, + "calls_app_response_collection": calls_app_response_collection, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, }, }, annotations: { @@ -320,15 +352,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "calls_api-response-common": calls_api_response_common_output, - "calls_api-response-common-failure": calls_api_response_common_failure_output, - "calls_app": calls_app_output, - "calls_app_response_collection": calls_app_response_collection_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, + "calls_api-response-common": calls_api$$response$$common, + "calls_api-response-common-failure": calls_api$$response$$common$$failure, + "calls_app": calls_app, + "calls_app_response_collection": calls_app_response_collection, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, }, }, request: (args) => ({ @@ -342,41 +374,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." - }, - "app_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." - }, "body": { "$ref": "#/$defs/calls_app_editable_fields" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + }, + "app_id": { + "$ref": "#/$defs/calls_identifier", + "description": "A Cloudflare-generated unique identifier for a item." + } + }, + "required": [ + "account_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", + "path", "body" ], $defs: { "calls_account_identifier": calls_account_identifier, "calls_app_editable_fields": calls_app_editable_fields, - "calls_identifier": calls_identifier, - "calls_name": calls_name, + "calls_identifier": calls_identifier$, + "calls_name": calls_name$, }, }, outputSchema: { "$ref": "#/$defs/calls_app_response_single", $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_app": calls_app_output, - "calls_app_response_single": calls_app_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_app": calls_app, + "calls_app_response_single": calls_app_response_single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, }, }, annotations: { @@ -403,15 +443,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "calls_api-response-common-failure": calls_api_response_common_failure_output, - "calls_api-response-single": calls_api_response_single_output, - "calls_app": calls_app_output, - "calls_app_response_single": calls_app_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, + "calls_api-response-common-failure": calls_api$$response$$common$$failure, + "calls_api-response-single": calls_api$$response$$single, + "calls_app": calls_app, + "calls_app_response_single": calls_app_response_single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/turn/keys/outputs.ts b/src/generated/forge-mcp/realtime/turn/keys/outputs.ts index f2e28d916..1973e3d27 100644 --- a/src/generated/forge-mcp/realtime/turn/keys/outputs.ts +++ b/src/generated/forge-mcp/realtime/turn/keys/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `calls_turn_key` in responses. */ -export const calls_turn_key_output: JsonSchema = { +export const calls_turn_key: JsonSchema = { "type": "string" }; /** * The schema of `calls_turn_key_collection` in responses. */ -export const calls_turn_key_collection_output: JsonSchema = { +export const calls_turn_key_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/calls_api-response-common" @@ -35,14 +35,14 @@ export const calls_turn_key_collection_output: JsonSchema = { /** * The schema of `calls_turn_key_name` in responses. */ -export const calls_turn_key_name_output: JsonSchema = { +export const calls_turn_key_name: JsonSchema = { "type": "string" }; /** * The schema of `calls_turn_key_object` in responses. */ -export const calls_turn_key_object_output: JsonSchema = { +export const calls_turn_key_object: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/calls_created" @@ -69,7 +69,7 @@ export const calls_turn_key_object_output: JsonSchema = { /** * The schema of `calls_turn_key_response_single` in responses. */ -export const calls_turn_key_response_single_output: JsonSchema = { +export const calls_turn_key_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/calls_api-response-single" @@ -88,7 +88,7 @@ export const calls_turn_key_response_single_output: JsonSchema = { /** * The schema of `calls_turn_key_single_with_secret` in responses. */ -export const calls_turn_key_single_with_secret_output: JsonSchema = { +export const calls_turn_key_single_with_secret: JsonSchema = { "allOf": [ { "$ref": "#/$defs/calls_api-response-single" @@ -107,7 +107,7 @@ export const calls_turn_key_single_with_secret_output: JsonSchema = { /** * The schema of `calls_turn_key_with_key` in responses. */ -export const calls_turn_key_with_key_output: JsonSchema = { +export const calls_turn_key_with_key: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/calls_created" diff --git a/src/generated/forge-mcp/realtime/turn/keys/tools.ts b/src/generated/forge-mcp/realtime/turn/keys/tools.ts index 7772847ee..7ba807a45 100644 --- a/src/generated/forge-mcp/realtime/turn/keys/tools.ts +++ b/src/generated/forge-mcp/realtime/turn/keys/tools.ts @@ -3,28 +3,31 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - calls_api_response_common_failure_output, - calls_api_response_common_output, - calls_api_response_single_output, - calls_created_output, - calls_identifier_output, - calls_messages_output, - calls_modified_output, - calls_name_output, + calls_api$$response$$common, + calls_api$$response$$common$$failure, + calls_api$$response$$single, + calls_created, + calls_identifier, + calls_messages, + calls_modified, + calls_name, } from "../../outputs.js"; -import { calls_account_identifier, calls_identifier } from "../../schemas.js"; import { - calls_turn_key_collection_output, - calls_turn_key_name_output, - calls_turn_key_object_output, - calls_turn_key_output, - calls_turn_key_response_single_output, - calls_turn_key_single_with_secret_output, - calls_turn_key_with_key_output, + calls_account_identifier, + calls_identifier as calls_identifier$, +} from "../../schemas.js"; +import { + calls_turn_key, + calls_turn_key_collection, + calls_turn_key_name, + calls_turn_key_object, + calls_turn_key_response_single, + calls_turn_key_single_with_secret, + calls_turn_key_with_key, } from "./outputs.js"; import { calls_turn_key_editable_fields, - calls_turn_key_name, + calls_turn_key_name as calls_turn_key_name$, } from "./schemas.js"; /** @@ -38,36 +41,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/calls_turn_key_editable_fields" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "calls_account_identifier": calls_account_identifier, "calls_turn_key_editable_fields": calls_turn_key_editable_fields, - "calls_turn_key_name": calls_turn_key_name, + "calls_turn_key_name": calls_turn_key_name$, }, }, outputSchema: { "$ref": "#/$defs/calls_turn_key_single_with_secret", $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_turn_key": calls_turn_key_output, - "calls_turn_key_name": calls_turn_key_name_output, - "calls_turn_key_single_with_secret": calls_turn_key_single_with_secret_output, - "calls_turn_key_with_key": calls_turn_key_with_key_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_turn_key": calls_turn_key, + "calls_turn_key_name": calls_turn_key_name, + "calls_turn_key_single_with_secret": calls_turn_key_single_with_secret, + "calls_turn_key_with_key": calls_turn_key_with_key, }, }, annotations: { @@ -94,16 +105,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "calls_api-response-common-failure": calls_api_response_common_failure_output, - "calls_api-response-single": calls_api_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_turn_key": calls_turn_key_output, - "calls_turn_key_name": calls_turn_key_name_output, - "calls_turn_key_single_with_secret": calls_turn_key_single_with_secret_output, - "calls_turn_key_with_key": calls_turn_key_with_key_output, + "calls_api-response-common-failure": calls_api$$response$$common$$failure, + "calls_api-response-single": calls_api$$response$$single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_turn_key": calls_turn_key, + "calls_turn_key_name": calls_turn_key_name, + "calls_turn_key_single_with_secret": calls_turn_key_single_with_secret, + "calls_turn_key_with_key": calls_turn_key_with_key, }, }, request: (args) => ({ @@ -118,35 +129,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." - }, - "key_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + }, + "key_id": { + "$ref": "#/$defs/calls_identifier", + "description": "A Cloudflare-generated unique identifier for a item." + } + }, + "required": [ + "account_id", + "key_id" + ], + "type": "object" } }, required: [ - "account_id", - "key_id" + "path" ], $defs: { "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier, + "calls_identifier": calls_identifier$, }, }, outputSchema: { "$ref": "#/$defs/calls_turn_key_response_single", $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_turn_key_object": calls_turn_key_object_output, - "calls_turn_key_response_single": calls_turn_key_response_single_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_turn_key_object": calls_turn_key_object, + "calls_turn_key_response_single": calls_turn_key_response_single, }, }, annotations: { @@ -171,14 +190,14 @@ export const tools: readonly Tool[] = [ "4XX": {} }, $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_turn_key_object": calls_turn_key_object_output, - "calls_turn_key_response_single": calls_turn_key_response_single_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_turn_key_object": calls_turn_key_object, + "calls_turn_key_response_single": calls_turn_key_response_single, }, }, request: (args) => ({ @@ -192,35 +211,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." - }, - "key_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + }, + "key_id": { + "$ref": "#/$defs/calls_identifier", + "description": "A Cloudflare-generated unique identifier for a item." + } + }, + "required": [ + "account_id", + "key_id" + ], + "type": "object" } }, required: [ - "account_id", - "key_id" + "path" ], $defs: { "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier, + "calls_identifier": calls_identifier$, }, }, outputSchema: { "$ref": "#/$defs/calls_turn_key_response_single", $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_turn_key_object": calls_turn_key_object_output, - "calls_turn_key_response_single": calls_turn_key_response_single_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_turn_key_object": calls_turn_key_object, + "calls_turn_key_response_single": calls_turn_key_response_single, }, }, annotations: { @@ -248,15 +275,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "calls_api-response-common-failure": calls_api_response_common_failure_output, - "calls_api-response-single": calls_api_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_turn_key_object": calls_turn_key_object_output, - "calls_turn_key_response_single": calls_turn_key_response_single_output, + "calls_api-response-common-failure": calls_api$$response$$common$$failure, + "calls_api-response-single": calls_api$$response$$single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_turn_key_object": calls_turn_key_object, + "calls_turn_key_response_single": calls_turn_key_response_single, }, }, request: (args) => ({ @@ -270,13 +297,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "calls_account_identifier": calls_account_identifier, @@ -285,14 +320,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/calls_turn_key_collection", $defs: { - "calls_api-response-common": calls_api_response_common_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_turn_key_collection": calls_turn_key_collection_output, - "calls_turn_key_object": calls_turn_key_object_output, + "calls_api-response-common": calls_api$$response$$common, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_turn_key_collection": calls_turn_key_collection, + "calls_turn_key_object": calls_turn_key_object, }, }, annotations: { @@ -320,15 +355,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "calls_api-response-common": calls_api_response_common_output, - "calls_api-response-common-failure": calls_api_response_common_failure_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_turn_key_collection": calls_turn_key_collection_output, - "calls_turn_key_object": calls_turn_key_object_output, + "calls_api-response-common": calls_api$$response$$common, + "calls_api-response-common-failure": calls_api$$response$$common$$failure, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_turn_key_collection": calls_turn_key_collection, + "calls_turn_key_object": calls_turn_key_object, }, }, request: (args) => ({ @@ -342,41 +377,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/calls_turn_key_editable_fields" }, - "key_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/calls_account_identifier", + "description": "The account identifier tag." + }, + "key_id": { + "$ref": "#/$defs/calls_identifier", + "description": "A Cloudflare-generated unique identifier for a item." + } + }, + "required": [ + "account_id", + "key_id" + ], + "type": "object" } }, required: [ - "account_id", - "key_id", + "path", "body" ], $defs: { "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier, + "calls_identifier": calls_identifier$, "calls_turn_key_editable_fields": calls_turn_key_editable_fields, - "calls_turn_key_name": calls_turn_key_name, + "calls_turn_key_name": calls_turn_key_name$, }, }, outputSchema: { "$ref": "#/$defs/calls_turn_key_response_single", $defs: { - "calls_api-response-single": calls_api_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_turn_key_object": calls_turn_key_object_output, - "calls_turn_key_response_single": calls_turn_key_response_single_output, + "calls_api-response-single": calls_api$$response$$single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_turn_key_object": calls_turn_key_object, + "calls_turn_key_response_single": calls_turn_key_response_single, }, }, annotations: { @@ -403,15 +446,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "calls_api-response-common-failure": calls_api_response_common_failure_output, - "calls_api-response-single": calls_api_response_single_output, - "calls_created": calls_created_output, - "calls_identifier": calls_identifier_output, - "calls_messages": calls_messages_output, - "calls_modified": calls_modified_output, - "calls_name": calls_name_output, - "calls_turn_key_object": calls_turn_key_object_output, - "calls_turn_key_response_single": calls_turn_key_response_single_output, + "calls_api-response-common-failure": calls_api$$response$$common$$failure, + "calls_api-response-single": calls_api$$response$$single, + "calls_created": calls_created, + "calls_identifier": calls_identifier, + "calls_messages": calls_messages, + "calls_modified": calls_modified, + "calls_name": calls_name, + "calls_turn_key_object": calls_turn_key_object, + "calls_turn_key_response_single": calls_turn_key_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/registrar/extensions/outputs.ts b/src/generated/forge-mcp/registrar/extensions/outputs.ts index d86b98986..517e1880a 100644 --- a/src/generated/forge-mcp/registrar/extensions/outputs.ts +++ b/src/generated/forge-mcp/registrar/extensions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `registrar-api_extension-item` in responses. */ -export const registrar_api_extension_item_output: JsonSchema = { +export const registrar$$api_extension$$item: JsonSchema = { "properties": { "metadata": { "properties": { @@ -41,7 +41,7 @@ export const registrar_api_extension_item_output: JsonSchema = { /** * The schema of `registrar-api_extension-response-collection` in responses. */ -export const registrar_api_extension_response_collection_output: JsonSchema = { +export const registrar$$api_extension$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_api-response-common" @@ -77,7 +77,7 @@ export const registrar_api_extension_response_collection_output: JsonSchema = { /** * The schema of `registrar-api_extension-response-single` in responses. */ -export const registrar_api_extension_response_single_output: JsonSchema = { +export const registrar$$api_extension$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_api-response-common" diff --git a/src/generated/forge-mcp/registrar/extensions/tools.ts b/src/generated/forge-mcp/registrar/extensions/tools.ts index f5acbaf04..e46403319 100644 --- a/src/generated/forge-mcp/registrar/extensions/tools.ts +++ b/src/generated/forge-mcp/registrar/extensions/tools.ts @@ -1,17 +1,17 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - registrar_api_api_response_common_failure_output, - registrar_api_api_response_common_output, - registrar_api_messages_output, + registrar$$api_api$$response$$common, + registrar$$api_api$$response$$common$$failure, + registrar$$api_messages, } from "../outputs.js"; -import { registrar_api_identifier } from "../schemas.js"; +import { registrar$$api_identifier } from "../schemas.js"; import { - registrar_api_extension_item_output, - registrar_api_extension_response_collection_output, - registrar_api_extension_response_single_output, + registrar$$api_extension$$item, + registrar$$api_extension$$response$$collection, + registrar$$api_extension$$response$$single, } from "./outputs.js"; /** @@ -25,30 +25,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Identifier." - }, - "extension": { - "description": "The extension name (e.g., `com`, `co.uk`).", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Identifier." + }, + "extension": { + "description": "The extension name (e.g., `com`, `co.uk`).", + "type": "string" + } + }, + "required": [ + "account_id", + "extension" + ], + "type": "object" } }, required: [ - "account_id", - "extension" + "path" ], $defs: { - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_extension-response-single", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_extension-item": registrar_api_extension_item_output, - "registrar-api_extension-response-single": registrar_api_extension_response_single_output, - "registrar-api_messages": registrar_api_messages_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_extension-item": registrar$$api_extension$$item, + "registrar-api_extension-response-single": registrar$$api_extension$$response$$single, + "registrar-api_messages": registrar$$api_messages, }, }, annotations: { @@ -71,11 +79,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_extension-item": registrar_api_extension_item_output, - "registrar-api_extension-response-single": registrar_api_extension_response_single_output, - "registrar-api_messages": registrar_api_messages_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_extension-item": registrar$$api_extension$$item, + "registrar-api_extension-response-single": registrar$$api_extension$$response$$single, + "registrar-api_messages": registrar$$api_messages, }, }, request: (args) => ({ @@ -89,57 +97,70 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Identifier." - }, - "cursor": { - "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction for results. Defaults to ascending order.\n", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "name": { - "description": "Filter extensions by exact name match.\nFor example, `name=com` returns only the `com` extension.\n", - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items to return per page.", - "type": "integer" - }, - "sort_by": { - "default": "name", - "description": "Column to sort results by. Defaults to `name` when omitted.\n", - "enum": [ - "name", - "created_at", - "updated_at" - ], - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction for results. Defaults to ascending order.\n", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filter extensions by exact name match.\nFor example, `name=com` returns only the `com` extension.\n", + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items to return per page.", + "type": "integer" + }, + "sort_by": { + "default": "name", + "description": "Column to sort results by. Defaults to `name` when omitted.\n", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_extension-response-collection", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_extension-item": registrar_api_extension_item_output, - "registrar-api_extension-response-collection": registrar_api_extension_response_collection_output, - "registrar-api_messages": registrar_api_messages_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_extension-item": registrar$$api_extension$$item, + "registrar-api_extension-response-collection": registrar$$api_extension$$response$$collection, + "registrar-api_messages": registrar$$api_messages, }, }, annotations: { @@ -162,21 +183,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_extension-item": registrar_api_extension_item_output, - "registrar-api_extension-response-collection": registrar_api_extension_response_collection_output, - "registrar-api_messages": registrar_api_messages_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_extension-item": registrar$$api_extension$$item, + "registrar-api_extension-response-collection": registrar$$api_extension$$response$$collection, + "registrar-api_messages": registrar$$api_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/extensions`, query: [ - ["name", args["name"], true], - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], - ["sort_by", args["sort_by"], true], + ["name", param(args, "query", "name"), true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], + ["sort_by", param(args, "query", "sort_by"), true], ], }), }, diff --git a/src/generated/forge-mcp/registrar/outputs.ts b/src/generated/forge-mcp/registrar/outputs.ts index fb14fbb3f..de3baefd4 100644 --- a/src/generated/forge-mcp/registrar/outputs.ts +++ b/src/generated/forge-mcp/registrar/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `registrar-api_api-response-common` in responses. */ -export const registrar_api_api_response_common_output: JsonSchema = { +export const registrar$$api_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/registrar-api_messages" @@ -49,7 +49,7 @@ export const registrar_api_api_response_common_output: JsonSchema = { /** * The schema of `registrar-api_api-response-common-failure` in responses. */ -export const registrar_api_api_response_common_failure_output: JsonSchema = { +export const registrar$$api_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/registrar-api_messages" @@ -79,7 +79,7 @@ export const registrar_api_api_response_common_failure_output: JsonSchema = { /** * The schema of `registrar-api_messages` in responses. */ -export const registrar_api_messages_output: JsonSchema = { +export const registrar$$api_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/registrar/registrations/outputs.ts b/src/generated/forge-mcp/registrar/registrations/outputs.ts index d79082c3e..f6e41520d 100644 --- a/src/generated/forge-mcp/registrar/registrations/outputs.ts +++ b/src/generated/forge-mcp/registrar/registrations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `registrar-api_cursor_result_info` in responses. */ -export const registrar_api_cursor_result_info_output: JsonSchema = { +export const registrar$$api_cursor_result_info: JsonSchema = { "properties": { "count": { "type": "integer" @@ -29,7 +29,7 @@ export const registrar_api_cursor_result_info_output: JsonSchema = { /** * The schema of `registrar-api_domain_check_response` in responses. */ -export const registrar_api_domain_check_response_output: JsonSchema = { +export const registrar$$api_domain_check_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_api-response-common" @@ -62,7 +62,7 @@ export const registrar_api_domain_check_response_output: JsonSchema = { /** * The schema of `registrar-api_domain_check_result` in responses. */ -export const registrar_api_domain_check_result_output: JsonSchema = { +export const registrar$$api_domain_check_result: JsonSchema = { "properties": { "name": { "type": "string" @@ -101,14 +101,14 @@ export const registrar_api_domain_check_result_output: JsonSchema = { /** * The schema of `registrar-api_domain_name` in responses. */ -export const registrar_api_domain_name_output: JsonSchema = { +export const registrar$$api_domain_name: JsonSchema = { "type": "string" }; /** * The schema of `registrar-api_domain_search_response` in responses. */ -export const registrar_api_domain_search_response_output: JsonSchema = { +export const registrar$$api_domain_search_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_api-response-common" @@ -141,7 +141,7 @@ export const registrar_api_domain_search_response_output: JsonSchema = { /** * The schema of `registrar-api_domain_search_result` in responses. */ -export const registrar_api_domain_search_result_output: JsonSchema = { +export const registrar$$api_domain_search_result: JsonSchema = { "properties": { "name": { "type": "string" @@ -180,7 +180,7 @@ export const registrar_api_domain_search_result_output: JsonSchema = { /** * The schema of `registrar-api_domain_transfer_check_reason` in responses. */ -export const registrar_api_domain_transfer_check_reason_output: JsonSchema = { +export const registrar$$api_domain_transfer_check_reason: JsonSchema = { "enum": [ "extension_not_supported_via_api", "extension_not_supported", @@ -206,7 +206,7 @@ export const registrar_api_domain_transfer_check_reason_output: JsonSchema = { /** * The schema of `registrar-api_domain_transfer_check_response` in responses. */ -export const registrar_api_domain_transfer_check_response_output: JsonSchema = { +export const registrar$$api_domain_transfer_check_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_api-response-common" @@ -239,7 +239,7 @@ export const registrar_api_domain_transfer_check_response_output: JsonSchema = { /** * The schema of `registrar-api_domain_transfer_check_result` in responses. */ -export const registrar_api_domain_transfer_check_result_output: JsonSchema = { +export const registrar$$api_domain_transfer_check_result: JsonSchema = { "allOf": [ { "properties": { @@ -342,7 +342,7 @@ export const registrar_api_domain_transfer_check_result_output: JsonSchema = { /** * The schema of `registrar-api_pricing_base` in responses. */ -export const registrar_api_pricing_base_output: JsonSchema = { +export const registrar$$api_pricing_base: JsonSchema = { "properties": { "currency": { "type": "string" @@ -361,7 +361,7 @@ export const registrar_api_pricing_base_output: JsonSchema = { /** * The schema of `registrar-api_pricing_registration` in responses. */ -export const registrar_api_pricing_registration_output: JsonSchema = { +export const registrar$$api_pricing_registration: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_pricing_base" @@ -383,7 +383,7 @@ export const registrar_api_pricing_registration_output: JsonSchema = { /** * The schema of `registrar-api_pricing_transfer` in responses. */ -export const registrar_api_pricing_transfer_output: JsonSchema = { +export const registrar$$api_pricing_transfer: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_pricing_base" @@ -405,7 +405,7 @@ export const registrar_api_pricing_transfer_output: JsonSchema = { /** * The schema of `registrar-api_registration` in responses. */ -export const registrar_api_registration_output: JsonSchema = { +export const registrar$$api_registration: JsonSchema = { "properties": { "auto_renew": { "type": "boolean" @@ -466,7 +466,7 @@ export const registrar_api_registration_output: JsonSchema = { /** * The schema of `registrar-api_registration-response-collection` in responses. */ -export const registrar_api_registration_response_collection_output: JsonSchema = { +export const registrar$$api_registration$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_api-response-common" @@ -495,7 +495,7 @@ export const registrar_api_registration_response_collection_output: JsonSchema = /** * The schema of `registrar-api_registration-response-single` in responses. */ -export const registrar_api_registration_response_single_output: JsonSchema = { +export const registrar$$api_registration$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_api-response-common" @@ -514,7 +514,7 @@ export const registrar_api_registration_response_single_output: JsonSchema = { /** * The schema of `registrar-api_workflow-status-response-single` in responses. */ -export const registrar_api_workflow_status_response_single_output: JsonSchema = { +export const registrar$$api_workflow$$status$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api_api-response-common" @@ -533,7 +533,7 @@ export const registrar_api_workflow_status_response_single_output: JsonSchema = /** * The schema of `registrar-api_workflow_error` in responses. */ -export const registrar_api_workflow_error_output: JsonSchema = { +export const registrar$$api_workflow_error: JsonSchema = { "properties": { "code": { "type": "string" @@ -552,7 +552,7 @@ export const registrar_api_workflow_error_output: JsonSchema = { /** * The schema of `registrar-api_workflow_links` in responses. */ -export const registrar_api_workflow_links_output: JsonSchema = { +export const registrar$$api_workflow_links: JsonSchema = { "properties": { "resource": { "type": "string" @@ -570,7 +570,7 @@ export const registrar_api_workflow_links_output: JsonSchema = { /** * The schema of `registrar-api_workflow_status` in responses. */ -export const registrar_api_workflow_status_output: JsonSchema = { +export const registrar$$api_workflow_status: JsonSchema = { "properties": { "completed": { "type": "boolean" diff --git a/src/generated/forge-mcp/registrar/registrations/schemas.ts b/src/generated/forge-mcp/registrar/registrations/schemas.ts index 99144e809..a64a6f6de 100644 --- a/src/generated/forge-mcp/registrar/registrations/schemas.ts +++ b/src/generated/forge-mcp/registrar/registrations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `registrar-api_domain_check_request`. */ -export const registrar_api_domain_check_request: JsonSchema = { +export const registrar$$api_domain_check_request: JsonSchema = { "description": "Request body for checking domain availability.", "properties": { "domains": { @@ -28,7 +28,7 @@ export const registrar_api_domain_check_request: JsonSchema = { /** * The schema of `registrar-api_domain_name`. */ -export const registrar_api_domain_name: JsonSchema = { +export const registrar$$api_domain_name: JsonSchema = { "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n", "type": "string" }; @@ -36,7 +36,7 @@ export const registrar_api_domain_name: JsonSchema = { /** * The schema of `registrar-api_domain_transfer_check_request`. */ -export const registrar_api_domain_transfer_check_request: JsonSchema = { +export const registrar$$api_domain_transfer_check_request: JsonSchema = { "description": "Request body for checking domain transfer eligibility.", "properties": { "domains": { @@ -72,7 +72,7 @@ export const registrar_api_domain_transfer_check_request: JsonSchema = { /** * The schema of `registrar-api_registration_contact`. */ -export const registrar_api_registration_contact: JsonSchema = { +export const registrar$$api_registration_contact: JsonSchema = { "description": "Contact data for the domain registration. This information\nis submitted to the domain registry and, depending on extension and\nprivacy settings, may appear in public WHOIS records.\n", "properties": { "email": { @@ -103,7 +103,7 @@ export const registrar_api_registration_contact: JsonSchema = { /** * The schema of `registrar-api_registration_contact_address`. */ -export const registrar_api_registration_contact_address: JsonSchema = { +export const registrar$$api_registration_contact_address: JsonSchema = { "description": "Physical mailing address for the registrant contact.", "properties": { "city": { @@ -140,7 +140,7 @@ export const registrar_api_registration_contact_address: JsonSchema = { /** * The schema of `registrar-api_registration_contact_postal_info`. */ -export const registrar_api_registration_contact_postal_info: JsonSchema = { +export const registrar$$api_registration_contact_postal_info: JsonSchema = { "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts.\n", "properties": { "address": { @@ -166,7 +166,7 @@ export const registrar_api_registration_contact_postal_info: JsonSchema = { /** * The schema of `registrar-api_registration_contacts`. */ -export const registrar_api_registration_contacts: JsonSchema = { +export const registrar$$api_registration_contacts: JsonSchema = { "description": "Provides contact data for the registration request.\n\nThe per-extension schema from\n`GET /accounts/{account_id}/registrar/extensions/{extension}` defines the\naccepted contact roles. Every currently supported extension requires only\n`contacts.registrant` from API callers. Callers may provide additional roles\nsuch as `technical`, `administrator`, and `billing` when the extension\nschema includes them. When a registry requires an omitted role, Cloudflare\nmay derive that contact from `contacts.registrant`.\n\nWhen the request omits either the entire `contacts` object or\n`contacts.registrant`, the system uses the account's default address book\nentry as the registrant contact. The account owner must configure this\ndefault at `https://dash.cloudflare.com/{account_id}/domains/registrations`,\nwhere they can create or update the address book entry and accept the\nrequired agreement. Dashboard settings currently provide the only way to\nmanage address book entries.\n\nWithout either a default address book entry or a registrant contact, the\nregistration request fails validation.\n", "properties": { "administrator": { @@ -192,7 +192,7 @@ export const registrar_api_registration_contacts: JsonSchema = { /** * The schema of `registrar-api_registration_create_request`. */ -export const registrar_api_registration_create_request: JsonSchema = { +export const registrar$$api_registration_create_request: JsonSchema = { "properties": { "acknowledgements": { "description": "Provides user acknowledgements for a specific extension or premium\nregistration flow. The extension registration schema from the\nextension discovery endpoint identifies the required keys.\n", @@ -237,7 +237,7 @@ export const registrar_api_registration_create_request: JsonSchema = { /** * The schema of `registrar-api_registration_update_request`. */ -export const registrar_api_registration_update_request: JsonSchema = { +export const registrar$$api_registration_update_request: JsonSchema = { "description": "Request to update an existing domain registration.\n\nThis endpoint currently supports updating `auto_renew` only.\n", "properties": { "auto_renew": { @@ -251,7 +251,7 @@ export const registrar_api_registration_update_request: JsonSchema = { /** * The schema of `registrar-api_transfer_in_create_request`. */ -export const registrar_api_transfer_in_create_request: JsonSchema = { +export const registrar$$api_transfer_in_create_request: JsonSchema = { "properties": { "auth_code": { "contentEncoding": "base64", diff --git a/src/generated/forge-mcp/registrar/registrations/tools.ts b/src/generated/forge-mcp/registrar/registrations/tools.ts index eb952a5e2..b04d8961c 100644 --- a/src/generated/forge-mcp/registrar/registrations/tools.ts +++ b/src/generated/forge-mcp/registrar/registrations/tools.ts @@ -1,45 +1,45 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - registrar_api_api_response_common_failure_output, - registrar_api_api_response_common_output, - registrar_api_messages_output, + registrar$$api_api$$response$$common, + registrar$$api_api$$response$$common$$failure, + registrar$$api_messages, } from "../outputs.js"; -import { registrar_api_identifier } from "../schemas.js"; +import { registrar$$api_identifier } from "../schemas.js"; import { - registrar_api_cursor_result_info_output, - registrar_api_domain_check_response_output, - registrar_api_domain_check_result_output, - registrar_api_domain_name_output, - registrar_api_domain_search_response_output, - registrar_api_domain_search_result_output, - registrar_api_domain_transfer_check_reason_output, - registrar_api_domain_transfer_check_response_output, - registrar_api_domain_transfer_check_result_output, - registrar_api_pricing_base_output, - registrar_api_pricing_registration_output, - registrar_api_pricing_transfer_output, - registrar_api_registration_output, - registrar_api_registration_response_collection_output, - registrar_api_registration_response_single_output, - registrar_api_workflow_error_output, - registrar_api_workflow_links_output, - registrar_api_workflow_status_output, - registrar_api_workflow_status_response_single_output, + registrar$$api_cursor_result_info, + registrar$$api_domain_check_response, + registrar$$api_domain_check_result, + registrar$$api_domain_name, + registrar$$api_domain_search_response, + registrar$$api_domain_search_result, + registrar$$api_domain_transfer_check_reason, + registrar$$api_domain_transfer_check_response, + registrar$$api_domain_transfer_check_result, + registrar$$api_pricing_base, + registrar$$api_pricing_registration, + registrar$$api_pricing_transfer, + registrar$$api_registration, + registrar$$api_registration$$response$$collection, + registrar$$api_registration$$response$$single, + registrar$$api_workflow$$status$$response$$single, + registrar$$api_workflow_error, + registrar$$api_workflow_links, + registrar$$api_workflow_status, } from "./outputs.js"; import { - registrar_api_domain_check_request, - registrar_api_domain_name, - registrar_api_domain_transfer_check_request, - registrar_api_registration_contact, - registrar_api_registration_contact_address, - registrar_api_registration_contact_postal_info, - registrar_api_registration_contacts, - registrar_api_registration_create_request, - registrar_api_registration_update_request, - registrar_api_transfer_in_create_request, + registrar$$api_domain_check_request, + registrar$$api_domain_name as registrar$$api_domain_name$, + registrar$$api_domain_transfer_check_request, + registrar$$api_registration_contact, + registrar$$api_registration_contact_address, + registrar$$api_registration_contact_postal_info, + registrar$$api_registration_contacts, + registrar$$api_registration_create_request, + registrar$$api_registration_update_request, + registrar$$api_transfer_in_create_request, } from "./schemas.js"; /** @@ -53,33 +53,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, "body": { "$ref": "#/$defs/registrar-api_domain_check_request", "description": "List of fully qualified domain names (FQDNs) to check. Each domain must include the extension (e.g., \"example.com\", not \"example\")." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "registrar-api_domain_check_request": registrar_api_domain_check_request, - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_domain_check_request": registrar$$api_domain_check_request, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_domain_check_response", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_domain_check_response": registrar_api_domain_check_response_output, - "registrar-api_domain_check_result": registrar_api_domain_check_result_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_pricing_base": registrar_api_pricing_base_output, - "registrar-api_pricing_registration": registrar_api_pricing_registration_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_domain_check_response": registrar$$api_domain_check_response, + "registrar-api_domain_check_result": registrar$$api_domain_check_result, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_pricing_base": registrar$$api_pricing_base, + "registrar-api_pricing_registration": registrar$$api_pricing_registration, }, }, annotations: { @@ -108,13 +116,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_domain_check_response": registrar_api_domain_check_response_output, - "registrar-api_domain_check_result": registrar_api_domain_check_result_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_pricing_base": registrar_api_pricing_base_output, - "registrar-api_pricing_registration": registrar_api_pricing_registration_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_domain_check_response": registrar$$api_domain_check_response, + "registrar-api_domain_check_result": registrar$$api_domain_check_result, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_pricing_base": registrar$$api_pricing_base, + "registrar-api_pricing_registration": registrar$$api_pricing_registration, }, }, request: (args) => ({ @@ -129,41 +137,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, "body": { "$ref": "#/$defs/registrar-api_registration_create_request" }, - "prefer": { - "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.\n", - "type": "string" + "headers": { + "properties": { + "Prefer": { + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.\n", + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "registrar-api_domain_name": registrar_api_domain_name, - "registrar-api_identifier": registrar_api_identifier, - "registrar-api_registration_contact": registrar_api_registration_contact, - "registrar-api_registration_contact_address": registrar_api_registration_contact_address, - "registrar-api_registration_contact_postal_info": registrar_api_registration_contact_postal_info, - "registrar-api_registration_contacts": registrar_api_registration_contacts, - "registrar-api_registration_create_request": registrar_api_registration_create_request, + "registrar-api_domain_name": registrar$$api_domain_name$, + "registrar-api_identifier": registrar$$api_identifier, + "registrar-api_registration_contact": registrar$$api_registration_contact, + "registrar-api_registration_contact_address": registrar$$api_registration_contact_address, + "registrar-api_registration_contact_postal_info": registrar$$api_registration_contact_postal_info, + "registrar-api_registration_contacts": registrar$$api_registration_contacts, + "registrar-api_registration_create_request": registrar$$api_registration_create_request, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_workflow-status-response-single", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, annotations: { @@ -188,19 +209,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations`, headers: [ - ["Prefer", args["prefer"]], + ["Prefer", param(args, "headers", "Prefer")], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -212,32 +233,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID." - }, - "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Domain name to retrieve." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api_domain_name", + "description": "Domain name to retrieve." + } + }, + "required": [ + "account_id", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "domain_name" + "path" ], $defs: { - "registrar-api_domain_name": registrar_api_domain_name, - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_domain_name": registrar$$api_domain_name$, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_registration-response-single", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_domain_name": registrar_api_domain_name_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_registration": registrar_api_registration_output, - "registrar-api_registration-response-single": registrar_api_registration_response_single_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_domain_name": registrar$$api_domain_name, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_registration": registrar$$api_registration, + "registrar-api_registration-response-single": registrar$$api_registration$$response$$single, }, }, annotations: { @@ -259,12 +288,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_domain_name": registrar_api_domain_name_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_registration": registrar_api_registration_output, - "registrar-api_registration-response-single": registrar_api_registration_response_single_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_domain_name": registrar$$api_domain_name, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_registration": registrar$$api_registration, + "registrar-api_registration-response-single": registrar$$api_registration$$response$$single, }, }, request: (args) => ({ @@ -272,39 +301,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "registrar_registrations_get_registration_status", + name: "registrar_registrations_getRegistrationStatus", title: "Get Registration Status", description: "Returns the current status of a domain registration workflow.\n\nUse this endpoint to poll for completion when the POST response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\n**Terminal states:** `succeeded` and `failed` are terminal and always\nhave `completed: true`.\n\n**Non-terminal states:**\n- `action_required` has `completed: false` and will not resolve on its\n own. The workflow is paused pending user intervention.\n- `blocked` has `completed: false` and indicates the workflow is waiting\n on a third party such as the extension registry or losing registrar.\n Continue polling while informing the user of the delay.\n\nUse increasing backoff between polls. When `state: blocked`, use a\nlonger polling interval and do not poll indefinitely.\n\nA naive polling loop that only checks `completed` can run indefinitely\nwhen `state: action_required`. Break explicitly on `action_required`:\n\n```js\nlet status;\ndo {\n await new Promise(r => setTimeout(r, 2000));\n status = await cloudflare.request({\n method: 'GET',\n path: reg.result.links.self,\n });\n} while (\n !status.result.completed &&\n status.result.state !== 'action_required'\n);\n\nif (status.result.state === 'action_required') {\n // Surface context.action and context.confirmation_sent_to to the user.\n // Do not re-submit the registration request.\n}\n```", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, - "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api_domain_name", + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + } + }, + "required": [ + "account_id", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "domain_name" + "path" ], $defs: { - "registrar-api_domain_name": registrar_api_domain_name, - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_domain_name": registrar$$api_domain_name$, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_workflow-status-response-single", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, annotations: { @@ -326,13 +363,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, request: (args) => ({ @@ -340,39 +377,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "registrar_registrations_get_transfer_status", + name: "registrar_registrations_getTransferStatus", title: "Get Transfer Status", description: "Returns the current status of a domain transfer workflow.\n\nUse this endpoint to poll transfer progress after initiating a transfer\nwith `POST /accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in`.\nThe URL is provided in the `links.self` field of the transfer response.\n\n### Transfer timelines\nTransfers typically take 1–10 days due to ICANN-mandated approval windows.\n\n### Workflow states\n\n**Terminal states:** `succeeded` and `failed` are terminal and always\nhave `completed: true`.\n\n**Non-terminal states:**\n- `in_progress`: Transfer has been submitted to the registry and is being\n processed. Continue polling.\n- `blocked`: The workflow is waiting on the losing registrar or registry\n to release the domain. This is the **most common state** for transfers\n and is entirely normal — it means the ICANN transfer approval window is\n in effect. The losing registrar has up to 5 days to approve or reject.\n Continue polling with longer intervals (e.g., every 30–60 minutes).\n- `action_required`: The user needs to take action (e.g., the FOA email\n needs to be accepted). See `context` for details on what is needed.\n- `pending`: Transfer workflow created but not yet started processing.\n\n### Polling guidance\nAdjust your polling interval based on the current workflow state:\n- `pending` or `in_progress`: Poll every 30 seconds.\n- `blocked`: The transfer is waiting on a third party (e.g., losing\n registrar approval). Poll every 30–60 minutes.\n- `action_required`: Stop polling. The workflow will not advance until\n the user takes action. Check `context` for details on what is needed.\n- `succeeded` or `failed`: Terminal — stop polling.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, - "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api_domain_name", + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + } + }, + "required": [ + "account_id", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "domain_name" + "path" ], $defs: { - "registrar-api_domain_name": registrar_api_domain_name, - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_domain_name": registrar$$api_domain_name$, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_workflow-status-response-single", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, annotations: { @@ -394,13 +439,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, request: (args) => ({ @@ -408,39 +453,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "registrar_registrations_get_update_status", + name: "registrar_registrations_getUpdateStatus", title: "Get Update Status", description: "Returns the current status of a domain update workflow.\n\nUse this endpoint to poll for completion when the PATCH response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\nUse increasing backoff between polls. When the workflow remains blocked\non a third party, use a longer polling interval and do not poll indefinitely.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID." - }, - "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api_domain_name", + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + } + }, + "required": [ + "account_id", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "domain_name" + "path" ], $defs: { - "registrar-api_domain_name": registrar_api_domain_name, - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_domain_name": registrar$$api_domain_name$, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_workflow-status-response-single", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, annotations: { @@ -462,13 +515,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, request: (args) => ({ @@ -482,55 +535,68 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID." - }, - "cursor": { - "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction for results. Defaults to ascending order.\n", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of items to return per page.", - "type": "integer" - }, - "sort_by": { - "default": "registry_created_at", - "description": "Column to sort results by. Defaults to registration date (`registry_created_at`) when omitted.", - "enum": [ - "registry_created_at", - "registry_expires_at", - "name" - ], - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction for results. Defaults to ascending order.\n", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items to return per page.", + "type": "integer" + }, + "sort_by": { + "default": "registry_created_at", + "description": "Column to sort results by. Defaults to registration date (`registry_created_at`) when omitted.", + "enum": [ + "registry_created_at", + "registry_expires_at", + "name" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_registration-response-collection", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_cursor_result_info": registrar_api_cursor_result_info_output, - "registrar-api_domain_name": registrar_api_domain_name_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_registration": registrar_api_registration_output, - "registrar-api_registration-response-collection": registrar_api_registration_response_collection_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_cursor_result_info": registrar$$api_cursor_result_info, + "registrar-api_domain_name": registrar$$api_domain_name, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_registration": registrar$$api_registration, + "registrar-api_registration-response-collection": registrar$$api_registration$$response$$collection, }, }, annotations: { @@ -552,22 +618,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_cursor_result_info": registrar_api_cursor_result_info_output, - "registrar-api_domain_name": registrar_api_domain_name_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_registration": registrar_api_registration_output, - "registrar-api_registration-response-collection": registrar_api_registration_response_collection_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_cursor_result_info": registrar$$api_cursor_result_info, + "registrar-api_domain_name": registrar$$api_domain_name, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_registration": registrar$$api_registration, + "registrar-api_registration-response-collection": registrar$$api_registration$$response$$collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], - ["sort_by", args["sort_by"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], + ["sort_by", param(args, "query", "sort_by"), true], ], }), }, @@ -578,45 +644,61 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, - "extensions": { - "description": "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.\n", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + } }, - "maxItems": 20, - "type": "array" - }, - "limit": { - "default": 20, - "description": "Maximum number of domain suggestions to return. Defaults to 20 if not specified.\n", - "type": "integer" + "required": [ + "account_id" + ], + "type": "object" }, "query": { - "description": "The search term to find domain suggestions. Accepts keywords, phrases, or full domain names.\n- Phrases: \"coffee shop\" returns coffeeshop.com, mycoffeeshop.net, etc.\n- Domain names: \"example.com\" returns example.com and variations across extensions\n", - "type": "string" + "properties": { + "extensions": { + "description": "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.\n", + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "limit": { + "default": 20, + "description": "Maximum number of domain suggestions to return. Defaults to 20 if not specified.\n", + "type": "integer" + }, + "q": { + "description": "The search term to find domain suggestions. Accepts keywords, phrases, or full domain names.\n- Phrases: \"coffee shop\" returns coffeeshop.com, mycoffeeshop.net, etc.\n- Domain names: \"example.com\" returns example.com and variations across extensions\n", + "type": "string" + } + }, + "required": [ + "q" + ], + "type": "object" } }, required: [ - "account_id", + "path", "query" ], $defs: { - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_domain_search_response", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_domain_search_response": registrar_api_domain_search_response_output, - "registrar-api_domain_search_result": registrar_api_domain_search_result_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_pricing_base": registrar_api_pricing_base_output, - "registrar-api_pricing_registration": registrar_api_pricing_registration_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_domain_search_response": registrar$$api_domain_search_response, + "registrar-api_domain_search_result": registrar$$api_domain_search_result, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_pricing_base": registrar$$api_pricing_base, + "registrar-api_pricing_registration": registrar$$api_pricing_registration, }, }, annotations: { @@ -638,59 +720,67 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_domain_search_response": registrar_api_domain_search_response_output, - "registrar-api_domain_search_result": registrar_api_domain_search_result_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_pricing_base": registrar_api_pricing_base_output, - "registrar-api_pricing_registration": registrar_api_pricing_registration_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_domain_search_response": registrar$$api_domain_search_response, + "registrar-api_domain_search_result": registrar$$api_domain_search_result, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_pricing_base": registrar$$api_pricing_base, + "registrar-api_pricing_registration": registrar$$api_pricing_registration, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/domain-search`, query: [ - ["q", args["query"], true], - ["extensions", args["extensions"], false], - ["limit", args["limit"], true], + ["q", param(args, "query", "q"), true], + ["extensions", param(args, "query", "extensions"), false], + ["limit", param(args, "query", "limit"), true], ], }), }, { - name: "registrar_registrations_transfer_check", + name: "registrar_registrations_transferCheck", title: "Check domain transfer eligibility", description: "Performs real-time, authoritative eligibility checks directly against needed requirements.\nUse this endpoint to verify a domain is available before\nattempting a transfer via `POST /registrations/:domain_name/transfer-in`.\n\n**Note:** This endpoint uses POST to accept a list of domains in the request\nbody. It is a read-only operation — it does not create, modify, or reserve\nany domains.\n\n### Behavior\n- Maximum 10 domains per request\n- Pricing is only returned for domains where `transferable: true`\n- Results are not cached; each request queries the registry & other needed upstreams\n\n## Extension Support\n\nAll `.uk` extensions (`.uk`, `.co.uk`, etc) do not support auth codes. As such,\nCloudflare will ignore the `auth_code` section of this request for `.uk` domains.\n\nThis means that a `.uk` domain depends on public data to obtain domain information,\nso it might be a few minutes outdated.\n\n### Workflow\n1. Call this endpoint with domains the user wants to transfer.\n2. For each domain where `transferable: true`, present pricing to the user.\n3. For each domain where `transferable: false`, present reasons to the user\n4. Proceed to `POST /registrations/:domain_name/transfer-in` only for the `transferable: true` domains.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, "body": { "$ref": "#/$defs/registrar-api_domain_transfer_check_request", "description": "List of transferable domain objects to check." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "registrar-api_domain_transfer_check_request": registrar_api_domain_transfer_check_request, - "registrar-api_identifier": registrar_api_identifier, + "registrar-api_domain_transfer_check_request": registrar$$api_domain_transfer_check_request, + "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_domain_transfer_check_response", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_domain_transfer_check_reason": registrar_api_domain_transfer_check_reason_output, - "registrar-api_domain_transfer_check_response": registrar_api_domain_transfer_check_response_output, - "registrar-api_domain_transfer_check_result": registrar_api_domain_transfer_check_result_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_pricing_base": registrar_api_pricing_base_output, - "registrar-api_pricing_transfer": registrar_api_pricing_transfer_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_domain_transfer_check_reason": registrar$$api_domain_transfer_check_reason, + "registrar-api_domain_transfer_check_response": registrar$$api_domain_transfer_check_response, + "registrar-api_domain_transfer_check_result": registrar$$api_domain_transfer_check_result, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_pricing_base": registrar$$api_pricing_base, + "registrar-api_pricing_transfer": registrar$$api_pricing_transfer, }, }, annotations: { @@ -715,14 +805,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_domain_transfer_check_reason": registrar_api_domain_transfer_check_reason_output, - "registrar-api_domain_transfer_check_response": registrar_api_domain_transfer_check_response_output, - "registrar-api_domain_transfer_check_result": registrar_api_domain_transfer_check_result_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_pricing_base": registrar_api_pricing_base_output, - "registrar-api_pricing_transfer": registrar_api_pricing_transfer_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_domain_transfer_check_reason": registrar$$api_domain_transfer_check_reason, + "registrar-api_domain_transfer_check_response": registrar$$api_domain_transfer_check_response, + "registrar-api_domain_transfer_check_result": registrar$$api_domain_transfer_check_result, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_pricing_base": registrar$$api_pricing_base, + "registrar-api_pricing_transfer": registrar$$api_pricing_transfer, }, }, request: (args) => ({ @@ -731,52 +821,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "registrar_registrations_transfer_in", + name: "registrar_registrations_transferIn", title: "Initiate Transfer", description: "Starts a domain transfer-in workflow. This is typically a billable\noperation — successful transfers charge the account's default payment\nmethod, except for extensions with zero transfer pricing (e.g. UK\nextensions). All successful domain transfers are non-refundable.\n\n### How transfers work\nDomain transfers move a domain from another registrar to Cloudflare.\nTransfers typically take 1-10 days due to ICANN-mandated approval windows.\n\n### Prerequisites\n- The domain must already have a zone in the Cloudflare account (added\n through the dashboard or zone API).\n- The zone must have DNSSec disabled.\n- For billable transfers (i.e. extensions with non-zero transfer pricing), the\n account must have a billing profile with a valid default payment method.\n Set this up at `https://dash.cloudflare.com/{account_id}/billing/payment-info`.\n- The domain must be unlocked at the current registrar.\n- An authorization/EPP code from the current registrar is required,\n except for UK extensions — see Auth code below.\n\n### Auth code\nAn authorization code (also called EPP code, transfer key, or auth-info code)\nis required for most extensions, with the exception of UK extensions. Obtain\nthis from your current registrar's control panel.\n\nThe auth code in the request body must be base64-encoded per RFC 4648 §4 (standard\nalphabet, no line breaks).\n\n### Response behavior\nSuccessful transfer initiation returns `202 Accepted`. Validation or\ninitiation failures return the documented `4XX` responses. Poll\n`GET /accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in-status` to track progress.\n\n### Premium domains\nPremium domain transfers are not currently supported by this API. Please use\nthe [dashboard](https://dash.cloudflare.com/) for now.\n\n### Billing\nThe account's default payment method is charged upon successful transfer\ncompletion, unless the extension has zero transfer pricing (e.g. UK\nextensions). The transfer adds time to the domain's existing expiration\ndate (typically 1 year).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, "body": { "$ref": "#/$defs/registrar-api_transfer_in_create_request" }, - "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Domain name to transfer." - }, - "prefer": { - "description": "Set to `respond-async` to indicate a preference for asynchronous\nprocessing (RFC 7240).\n", - "type": "string" + "headers": { + "properties": { + "Prefer": { + "description": "Set to `respond-async` to indicate a preference for asynchronous\nprocessing (RFC 7240).\n", + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api_domain_name", + "description": "Domain name to transfer." + } + }, + "required": [ + "account_id", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "domain_name", + "path", "body" ], $defs: { - "registrar-api_domain_name": registrar_api_domain_name, - "registrar-api_identifier": registrar_api_identifier, - "registrar-api_registration_contact": registrar_api_registration_contact, - "registrar-api_registration_contact_address": registrar_api_registration_contact_address, - "registrar-api_registration_contact_postal_info": registrar_api_registration_contact_postal_info, - "registrar-api_registration_contacts": registrar_api_registration_contacts, - "registrar-api_transfer_in_create_request": registrar_api_transfer_in_create_request, + "registrar-api_domain_name": registrar$$api_domain_name$, + "registrar-api_identifier": registrar$$api_identifier, + "registrar-api_registration_contact": registrar$$api_registration_contact, + "registrar-api_registration_contact_address": registrar$$api_registration_contact_address, + "registrar-api_registration_contact_postal_info": registrar$$api_registration_contact_postal_info, + "registrar-api_registration_contacts": registrar$$api_registration_contacts, + "registrar-api_transfer_in_create_request": registrar$$api_transfer_in_create_request, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_workflow-status-response-single", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, annotations: { @@ -798,19 +901,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations/${pathParam(args, "domain_name")}/transfer-in`, headers: [ - ["Prefer", args["prefer"]], + ["Prefer", param(args, "headers", "Prefer")], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -822,45 +925,58 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID." - }, "body": { "$ref": "#/$defs/registrar-api_registration_update_request" }, - "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Domain name to update." - }, - "prefer": { - "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n", - "enum": [ - "respond-async" + "headers": { + "properties": { + "Prefer": { + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n", + "enum": [ + "respond-async" + ], + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api_identifier", + "description": "Cloudflare account ID." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api_domain_name", + "description": "Domain name to update." + } + }, + "required": [ + "account_id", + "domain_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "domain_name", + "path", "body" ], $defs: { - "registrar-api_domain_name": registrar_api_domain_name, - "registrar-api_identifier": registrar_api_identifier, - "registrar-api_registration_update_request": registrar_api_registration_update_request, + "registrar-api_domain_name": registrar$$api_domain_name$, + "registrar-api_identifier": registrar$$api_identifier, + "registrar-api_registration_update_request": registrar$$api_registration_update_request, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_workflow-status-response-single", $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, annotations: { @@ -885,19 +1001,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api_api-response-common": registrar_api_api_response_common_output, - "registrar-api_api-response-common-failure": registrar_api_api_response_common_failure_output, - "registrar-api_messages": registrar_api_messages_output, - "registrar-api_workflow-status-response-single": registrar_api_workflow_status_response_single_output, - "registrar-api_workflow_error": registrar_api_workflow_error_output, - "registrar-api_workflow_links": registrar_api_workflow_links_output, - "registrar-api_workflow_status": registrar_api_workflow_status_output, + "registrar-api_api-response-common": registrar$$api_api$$response$$common, + "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, + "registrar-api_messages": registrar$$api_messages, + "registrar-api_workflow-status-response-single": registrar$$api_workflow$$status$$response$$single, + "registrar-api_workflow_error": registrar$$api_workflow_error, + "registrar-api_workflow_links": registrar$$api_workflow_links, + "registrar-api_workflow_status": registrar$$api_workflow_status, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar/registrations/${pathParam(args, "domain_name")}`, headers: [ - ["Prefer", args["prefer"]], + ["Prefer", param(args, "headers", "Prefer")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/registrar/schemas.ts b/src/generated/forge-mcp/registrar/schemas.ts index 1ec520634..349e43e59 100644 --- a/src/generated/forge-mcp/registrar/schemas.ts +++ b/src/generated/forge-mcp/registrar/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `registrar-api_identifier`. */ -export const registrar_api_identifier: JsonSchema = { +export const registrar$$api_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/registrarSandbox/extensions/outputs.ts b/src/generated/forge-mcp/registrarSandbox/extensions/outputs.ts index ebe0c2da5..fd9b1a28c 100644 --- a/src/generated/forge-mcp/registrarSandbox/extensions/outputs.ts +++ b/src/generated/forge-mcp/registrarSandbox/extensions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `registrar-api-sandbox_extension-item` in responses. */ -export const registrar_api_sandbox_extension_item_output: JsonSchema = { +export const registrar$$api$$sandbox_extension$$item: JsonSchema = { "properties": { "metadata": { "properties": { @@ -42,7 +42,7 @@ export const registrar_api_sandbox_extension_item_output: JsonSchema = { * The schema of `registrar-api-sandbox_extension-response-collection` in * responses. */ -export const registrar_api_sandbox_extension_response_collection_output: JsonSchema = { +export const registrar$$api$$sandbox_extension$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api-sandbox_api-response-common" @@ -78,7 +78,7 @@ export const registrar_api_sandbox_extension_response_collection_output: JsonSch /** * The schema of `registrar-api-sandbox_extension-response-single` in responses. */ -export const registrar_api_sandbox_extension_response_single_output: JsonSchema = { +export const registrar$$api$$sandbox_extension$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api-sandbox_api-response-common" diff --git a/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts b/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts index 991d42aed..d15541aa5 100644 --- a/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts +++ b/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts @@ -1,54 +1,62 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - registrar_api_sandbox_api_response_common_failure_output, - registrar_api_sandbox_api_response_common_output, - registrar_api_sandbox_messages_output, + registrar$$api$$sandbox_api$$response$$common, + registrar$$api$$sandbox_api$$response$$common$$failure, + registrar$$api$$sandbox_messages, } from "../outputs.js"; -import { registrar_api_sandbox_identifier } from "../schemas.js"; +import { registrar$$api$$sandbox_identifier } from "../schemas.js"; import { - registrar_api_sandbox_extension_item_output, - registrar_api_sandbox_extension_response_collection_output, - registrar_api_sandbox_extension_response_single_output, + registrar$$api$$sandbox_extension$$item, + registrar$$api$$sandbox_extension$$response$$collection, + registrar$$api$$sandbox_extension$$response$$single, } from "./outputs.js"; /** - * The tools of `registrar_sandbox.extensions`. + * The tools of `registrarSandbox.extensions`. */ export const tools: readonly Tool[] = [ { - name: "registrar_sandbox_extensions_get", + name: "registrarSandbox_extensions_get", title: "Get extension", description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on a specific\nextension (TLD).\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Identifier." - }, - "extension": { - "description": "The extension name (e.g., `com`, `co.uk`).", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Identifier." + }, + "extension": { + "description": "The extension name (e.g., `com`, `co.uk`).", + "type": "string" + } + }, + "required": [ + "account_id", + "extension" + ], + "type": "object" } }, required: [ - "account_id", - "extension" + "path" ], $defs: { - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_extension-response-single", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_extension-item": registrar_api_sandbox_extension_item_output, - "registrar-api-sandbox_extension-response-single": registrar_api_sandbox_extension_response_single_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_extension-item": registrar$$api$$sandbox_extension$$item, + "registrar-api-sandbox_extension-response-single": registrar$$api$$sandbox_extension$$response$$single, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, }, }, annotations: { @@ -71,11 +79,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_extension-item": registrar_api_sandbox_extension_item_output, - "registrar-api-sandbox_extension-response-single": registrar_api_sandbox_extension_response_single_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_extension-item": registrar$$api$$sandbox_extension$$item, + "registrar-api-sandbox_extension-response-single": registrar$$api$$sandbox_extension$$response$$single, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, }, }, request: (args) => ({ @@ -83,63 +91,76 @@ export const tools: readonly Tool[] = [ }), }, { - name: "registrar_sandbox_extensions_list", + name: "registrarSandbox_extensions_list", title: "List extensions", description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on each supported\nextension (TLD).\n\nThis endpoint uses cursor-based pagination. Results are ordered by\nextension name by default. To fetch the next page, pass the `cursor`\nvalue from the `result_info` object in the response as the `cursor`\nquery parameter in your next request. An empty `cursor` string\nindicates there are no more pages.\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Identifier." - }, - "cursor": { - "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction for results. Defaults to ascending order.\n", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "name": { - "description": "Filter extensions by exact name match.\nFor example, `name=com` returns only the `com` extension.\n", - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items to return per page.", - "type": "integer" - }, - "sort_by": { - "default": "name", - "description": "Column to sort results by. Defaults to `name` when omitted.\n", - "enum": [ - "name", - "created_at", - "updated_at" - ], - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction for results. Defaults to ascending order.\n", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filter extensions by exact name match.\nFor example, `name=com` returns only the `com` extension.\n", + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items to return per page.", + "type": "integer" + }, + "sort_by": { + "default": "name", + "description": "Column to sort results by. Defaults to `name` when omitted.\n", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_extension-response-collection", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_extension-item": registrar_api_sandbox_extension_item_output, - "registrar-api-sandbox_extension-response-collection": registrar_api_sandbox_extension_response_collection_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_extension-item": registrar$$api$$sandbox_extension$$item, + "registrar-api-sandbox_extension-response-collection": registrar$$api$$sandbox_extension$$response$$collection, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, }, }, annotations: { @@ -162,21 +183,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_extension-item": registrar_api_sandbox_extension_item_output, - "registrar-api-sandbox_extension-response-collection": registrar_api_sandbox_extension_response_collection_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_extension-item": registrar$$api$$sandbox_extension$$item, + "registrar-api-sandbox_extension-response-collection": registrar$$api$$sandbox_extension$$response$$collection, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/extensions`, query: [ - ["name", args["name"], true], - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], - ["sort_by", args["sort_by"], true], + ["name", param(args, "query", "name"), true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], + ["sort_by", param(args, "query", "sort_by"), true], ], }), }, diff --git a/src/generated/forge-mcp/registrarSandbox/outputs.ts b/src/generated/forge-mcp/registrarSandbox/outputs.ts index 44fe0d49c..473fe86ab 100644 --- a/src/generated/forge-mcp/registrarSandbox/outputs.ts +++ b/src/generated/forge-mcp/registrarSandbox/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `registrar-api-sandbox_api-response-common` in responses. */ -export const registrar_api_sandbox_api_response_common_output: JsonSchema = { +export const registrar$$api$$sandbox_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/registrar-api-sandbox_messages" @@ -50,7 +50,7 @@ export const registrar_api_sandbox_api_response_common_output: JsonSchema = { * The schema of `registrar-api-sandbox_api-response-common-failure` in * responses. */ -export const registrar_api_sandbox_api_response_common_failure_output: JsonSchema = { +export const registrar$$api$$sandbox_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/registrar-api-sandbox_messages" @@ -80,7 +80,7 @@ export const registrar_api_sandbox_api_response_common_failure_output: JsonSchem /** * The schema of `registrar-api-sandbox_messages` in responses. */ -export const registrar_api_sandbox_messages_output: JsonSchema = { +export const registrar$$api$$sandbox_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts b/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts index 967dc061a..bede6484a 100644 --- a/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts +++ b/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `registrar-api-sandbox_cursor_result_info` in responses. */ -export const registrar_api_sandbox_cursor_result_info_output: JsonSchema = { +export const registrar$$api$$sandbox_cursor_result_info: JsonSchema = { "properties": { "count": { "type": "integer" @@ -29,7 +29,7 @@ export const registrar_api_sandbox_cursor_result_info_output: JsonSchema = { /** * The schema of `registrar-api-sandbox_domain_check_response` in responses. */ -export const registrar_api_sandbox_domain_check_response_output: JsonSchema = { +export const registrar$$api$$sandbox_domain_check_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api-sandbox_api-response-common" @@ -62,7 +62,7 @@ export const registrar_api_sandbox_domain_check_response_output: JsonSchema = { /** * The schema of `registrar-api-sandbox_domain_check_result` in responses. */ -export const registrar_api_sandbox_domain_check_result_output: JsonSchema = { +export const registrar$$api$$sandbox_domain_check_result: JsonSchema = { "properties": { "name": { "type": "string" @@ -101,14 +101,14 @@ export const registrar_api_sandbox_domain_check_result_output: JsonSchema = { /** * The schema of `registrar-api-sandbox_domain_name` in responses. */ -export const registrar_api_sandbox_domain_name_output: JsonSchema = { +export const registrar$$api$$sandbox_domain_name: JsonSchema = { "type": "string" }; /** * The schema of `registrar-api-sandbox_domain_search_response` in responses. */ -export const registrar_api_sandbox_domain_search_response_output: JsonSchema = { +export const registrar$$api$$sandbox_domain_search_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api-sandbox_api-response-common" @@ -141,7 +141,7 @@ export const registrar_api_sandbox_domain_search_response_output: JsonSchema = { /** * The schema of `registrar-api-sandbox_domain_search_result` in responses. */ -export const registrar_api_sandbox_domain_search_result_output: JsonSchema = { +export const registrar$$api$$sandbox_domain_search_result: JsonSchema = { "properties": { "name": { "type": "string" @@ -180,7 +180,7 @@ export const registrar_api_sandbox_domain_search_result_output: JsonSchema = { /** * The schema of `registrar-api-sandbox_pricing_base` in responses. */ -export const registrar_api_sandbox_pricing_base_output: JsonSchema = { +export const registrar$$api$$sandbox_pricing_base: JsonSchema = { "properties": { "currency": { "type": "string" @@ -199,7 +199,7 @@ export const registrar_api_sandbox_pricing_base_output: JsonSchema = { /** * The schema of `registrar-api-sandbox_pricing_registration` in responses. */ -export const registrar_api_sandbox_pricing_registration_output: JsonSchema = { +export const registrar$$api$$sandbox_pricing_registration: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api-sandbox_pricing_base" @@ -221,7 +221,7 @@ export const registrar_api_sandbox_pricing_registration_output: JsonSchema = { /** * The schema of `registrar-api-sandbox_registration` in responses. */ -export const registrar_api_sandbox_registration_output: JsonSchema = { +export const registrar$$api$$sandbox_registration: JsonSchema = { "properties": { "auto_renew": { "type": "boolean" @@ -283,7 +283,7 @@ export const registrar_api_sandbox_registration_output: JsonSchema = { * The schema of `registrar-api-sandbox_registration-response-collection` in * responses. */ -export const registrar_api_sandbox_registration_response_collection_output: JsonSchema = { +export const registrar$$api$$sandbox_registration$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api-sandbox_api-response-common" @@ -313,7 +313,7 @@ export const registrar_api_sandbox_registration_response_collection_output: Json * The schema of `registrar-api-sandbox_registration-response-single` in * responses. */ -export const registrar_api_sandbox_registration_response_single_output: JsonSchema = { +export const registrar$$api$$sandbox_registration$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api-sandbox_api-response-common" @@ -333,7 +333,7 @@ export const registrar_api_sandbox_registration_response_single_output: JsonSche * The schema of `registrar-api-sandbox_workflow-status-response-single` in * responses. */ -export const registrar_api_sandbox_workflow_status_response_single_output: JsonSchema = { +export const registrar$$api$$sandbox_workflow$$status$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/registrar-api-sandbox_api-response-common" @@ -352,7 +352,7 @@ export const registrar_api_sandbox_workflow_status_response_single_output: JsonS /** * The schema of `registrar-api-sandbox_workflow_error` in responses. */ -export const registrar_api_sandbox_workflow_error_output: JsonSchema = { +export const registrar$$api$$sandbox_workflow_error: JsonSchema = { "properties": { "code": { "type": "string" @@ -371,7 +371,7 @@ export const registrar_api_sandbox_workflow_error_output: JsonSchema = { /** * The schema of `registrar-api-sandbox_workflow_links` in responses. */ -export const registrar_api_sandbox_workflow_links_output: JsonSchema = { +export const registrar$$api$$sandbox_workflow_links: JsonSchema = { "properties": { "resource": { "type": "string" @@ -389,7 +389,7 @@ export const registrar_api_sandbox_workflow_links_output: JsonSchema = { /** * The schema of `registrar-api-sandbox_workflow_status` in responses. */ -export const registrar_api_sandbox_workflow_status_output: JsonSchema = { +export const registrar$$api$$sandbox_workflow_status: JsonSchema = { "properties": { "completed": { "type": "boolean" diff --git a/src/generated/forge-mcp/registrarSandbox/registrations/schemas.ts b/src/generated/forge-mcp/registrarSandbox/registrations/schemas.ts index fb1f04740..f0e77656e 100644 --- a/src/generated/forge-mcp/registrarSandbox/registrations/schemas.ts +++ b/src/generated/forge-mcp/registrarSandbox/registrations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `registrar-api-sandbox_domain_check_request`. */ -export const registrar_api_sandbox_domain_check_request: JsonSchema = { +export const registrar$$api$$sandbox_domain_check_request: JsonSchema = { "description": "Request body for checking domain availability.", "properties": { "domains": { @@ -28,7 +28,7 @@ export const registrar_api_sandbox_domain_check_request: JsonSchema = { /** * The schema of `registrar-api-sandbox_domain_name`. */ -export const registrar_api_sandbox_domain_name: JsonSchema = { +export const registrar$$api$$sandbox_domain_name: JsonSchema = { "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n", "type": "string" }; @@ -36,7 +36,7 @@ export const registrar_api_sandbox_domain_name: JsonSchema = { /** * The schema of `registrar-api-sandbox_registration_contact`. */ -export const registrar_api_sandbox_registration_contact: JsonSchema = { +export const registrar$$api$$sandbox_registration_contact: JsonSchema = { "description": "Contact data for the domain registration. This information\nis submitted to the domain registry and, depending on extension and\nprivacy settings, may appear in public WHOIS records.\n", "properties": { "email": { @@ -67,7 +67,7 @@ export const registrar_api_sandbox_registration_contact: JsonSchema = { /** * The schema of `registrar-api-sandbox_registration_contact_address`. */ -export const registrar_api_sandbox_registration_contact_address: JsonSchema = { +export const registrar$$api$$sandbox_registration_contact_address: JsonSchema = { "description": "Physical mailing address for the registrant contact.", "properties": { "city": { @@ -104,7 +104,7 @@ export const registrar_api_sandbox_registration_contact_address: JsonSchema = { /** * The schema of `registrar-api-sandbox_registration_contact_postal_info`. */ -export const registrar_api_sandbox_registration_contact_postal_info: JsonSchema = { +export const registrar$$api$$sandbox_registration_contact_postal_info: JsonSchema = { "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts.\n", "properties": { "address": { @@ -130,7 +130,7 @@ export const registrar_api_sandbox_registration_contact_postal_info: JsonSchema /** * The schema of `registrar-api-sandbox_registration_contacts`. */ -export const registrar_api_sandbox_registration_contacts: JsonSchema = { +export const registrar$$api$$sandbox_registration_contacts: JsonSchema = { "description": "Provides contact data for the registration request.\n\nThe per-extension schema from\n`GET /accounts/{account_id}/registrar/extensions/{extension}` defines the\naccepted contact roles. Every currently supported extension requires only\n`contacts.registrant` from API callers. Callers may provide additional roles\nsuch as `technical`, `administrator`, and `billing` when the extension\nschema includes them. When a registry requires an omitted role, Cloudflare\nmay derive that contact from `contacts.registrant`.\n\nWhen the request omits either the entire `contacts` object or\n`contacts.registrant`, the system uses the account's default address book\nentry as the registrant contact. The account owner must configure this\ndefault at `https://dash.cloudflare.com/{account_id}/domains/registrations`,\nwhere they can create or update the address book entry and accept the\nrequired agreement. Dashboard settings currently provide the only way to\nmanage address book entries.\n\nWithout either a default address book entry or a registrant contact, the\nregistration request fails validation.\n", "properties": { "administrator": { @@ -156,7 +156,7 @@ export const registrar_api_sandbox_registration_contacts: JsonSchema = { /** * The schema of `registrar-api-sandbox_registration_create_request`. */ -export const registrar_api_sandbox_registration_create_request: JsonSchema = { +export const registrar$$api$$sandbox_registration_create_request: JsonSchema = { "properties": { "acknowledgements": { "description": "Provides user acknowledgements for a specific extension or premium\nregistration flow. The extension registration schema from the\nextension discovery endpoint identifies the required keys.\n", @@ -201,7 +201,7 @@ export const registrar_api_sandbox_registration_create_request: JsonSchema = { /** * The schema of `registrar-api-sandbox_registration_update_request`. */ -export const registrar_api_sandbox_registration_update_request: JsonSchema = { +export const registrar$$api$$sandbox_registration_update_request: JsonSchema = { "description": "Request to update an existing domain registration.\n\nThis endpoint currently supports updating `auto_renew` only.\n", "properties": { "auto_renew": { diff --git a/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts b/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts index e59c80ae8..48b1077d2 100644 --- a/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts +++ b/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts @@ -1,79 +1,87 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - registrar_api_sandbox_api_response_common_failure_output, - registrar_api_sandbox_api_response_common_output, - registrar_api_sandbox_messages_output, + registrar$$api$$sandbox_api$$response$$common, + registrar$$api$$sandbox_api$$response$$common$$failure, + registrar$$api$$sandbox_messages, } from "../outputs.js"; -import { registrar_api_sandbox_identifier } from "../schemas.js"; +import { registrar$$api$$sandbox_identifier } from "../schemas.js"; import { - registrar_api_sandbox_cursor_result_info_output, - registrar_api_sandbox_domain_check_response_output, - registrar_api_sandbox_domain_check_result_output, - registrar_api_sandbox_domain_name_output, - registrar_api_sandbox_domain_search_response_output, - registrar_api_sandbox_domain_search_result_output, - registrar_api_sandbox_pricing_base_output, - registrar_api_sandbox_pricing_registration_output, - registrar_api_sandbox_registration_output, - registrar_api_sandbox_registration_response_collection_output, - registrar_api_sandbox_registration_response_single_output, - registrar_api_sandbox_workflow_error_output, - registrar_api_sandbox_workflow_links_output, - registrar_api_sandbox_workflow_status_output, - registrar_api_sandbox_workflow_status_response_single_output, + registrar$$api$$sandbox_cursor_result_info, + registrar$$api$$sandbox_domain_check_response, + registrar$$api$$sandbox_domain_check_result, + registrar$$api$$sandbox_domain_name, + registrar$$api$$sandbox_domain_search_response, + registrar$$api$$sandbox_domain_search_result, + registrar$$api$$sandbox_pricing_base, + registrar$$api$$sandbox_pricing_registration, + registrar$$api$$sandbox_registration, + registrar$$api$$sandbox_registration$$response$$collection, + registrar$$api$$sandbox_registration$$response$$single, + registrar$$api$$sandbox_workflow$$status$$response$$single, + registrar$$api$$sandbox_workflow_error, + registrar$$api$$sandbox_workflow_links, + registrar$$api$$sandbox_workflow_status, } from "./outputs.js"; import { - registrar_api_sandbox_domain_check_request, - registrar_api_sandbox_domain_name, - registrar_api_sandbox_registration_contact, - registrar_api_sandbox_registration_contact_address, - registrar_api_sandbox_registration_contact_postal_info, - registrar_api_sandbox_registration_contacts, - registrar_api_sandbox_registration_create_request, - registrar_api_sandbox_registration_update_request, + registrar$$api$$sandbox_domain_check_request, + registrar$$api$$sandbox_domain_name as registrar$$api$$sandbox_domain_name$, + registrar$$api$$sandbox_registration_contact, + registrar$$api$$sandbox_registration_contact_address, + registrar$$api$$sandbox_registration_contact_postal_info, + registrar$$api$$sandbox_registration_contacts, + registrar$$api$$sandbox_registration_create_request, + registrar$$api$$sandbox_registration_update_request, } from "./schemas.js"; /** - * The tools of `registrar_sandbox.registrations`. + * The tools of `registrarSandbox.registrations`. */ export const tools: readonly Tool[] = [ { - name: "registrar_sandbox_registrations_check", + name: "registrarSandbox_registrations_check", title: "Check domain availability", description: "Performs real-time, authoritative availability checks directly against domain\nregistries. Use this endpoint to verify a domain is available before attempting\nregistration via `POST /registrations`.\n\n**Important:** Unlike the Search endpoint, these results are authoritative and\nreflect current registry status. Always check availability immediately before\nregistration as domain status can change rapidly.\n\n**Note:** This endpoint uses POST to accept a list of domains in the request\nbody. It is a read-only operation — it does not create, modify, or reserve\nany domains.\n\n### Extension support\n\nOnly domains on extensions supported for programmatic registration by this API\ncan be registered. If you check a domain on an unsupported extension, the response\nwill include `registrable: false` with a `reason` field explaining why:\n\n- `extension_not_supported_via_api` — Cloudflare Registrar supports this extension\n in the dashboard, but it is not yet available for programmatic registration via\n this API. Register via `https://dash.cloudflare.com/{account_id}/domains/registrations` instead.\n- `extension_not_supported` — This extension is not supported by Cloudflare\n Registrar.\n- `extension_disallows_registration` — The extension's registry has temporarily\n or permanently frozen new registrations. No registrar can register domains on\n this extension at this time.\n- `domain_premium` — The domain is premium priced. Premium registration is not\n currently supported by this API.\n- `domain_unavailable` — The domain is already registered, reserved, or otherwise\n not available for registration on a supported extension.\n\nThe `reason` field is only present when `registrable` is `false`.\n\n### Behavior\n- Maximum 20 domains per request\n- Pricing is only returned for domains where `registrable: true`\n- Results are not cached; each request queries the registry\n\n### Workflow\n1. Call this endpoint with domains the user wants to register.\n2. For each domain where `registrable: true`, present pricing to the user.\n3. If `tier: premium`, note that premium registration is not currently\n supported by this API and do not proceed to `POST /registrations`.\n4. Proceed to `POST /registrations` only for supported non-premium domains.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, "body": { "$ref": "#/$defs/registrar-api-sandbox_domain_check_request", "description": "List of fully qualified domain names (FQDNs) to check. Each domain must include the extension (e.g., \"example.com\", not \"example\")." + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "registrar-api-sandbox_domain_check_request": registrar_api_sandbox_domain_check_request, - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, + "registrar-api-sandbox_domain_check_request": registrar$$api$$sandbox_domain_check_request, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_domain_check_response", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_domain_check_response": registrar_api_sandbox_domain_check_response_output, - "registrar-api-sandbox_domain_check_result": registrar_api_sandbox_domain_check_result_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_pricing_base": registrar_api_sandbox_pricing_base_output, - "registrar-api-sandbox_pricing_registration": registrar_api_sandbox_pricing_registration_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_domain_check_response": registrar$$api$$sandbox_domain_check_response, + "registrar-api-sandbox_domain_check_result": registrar$$api$$sandbox_domain_check_result, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_pricing_base": registrar$$api$$sandbox_pricing_base, + "registrar-api-sandbox_pricing_registration": registrar$$api$$sandbox_pricing_registration, }, }, annotations: { @@ -102,13 +110,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_domain_check_response": registrar_api_sandbox_domain_check_response_output, - "registrar-api-sandbox_domain_check_result": registrar_api_sandbox_domain_check_result_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_pricing_base": registrar_api_sandbox_pricing_base_output, - "registrar-api-sandbox_pricing_registration": registrar_api_sandbox_pricing_registration_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_domain_check_response": registrar$$api$$sandbox_domain_check_response, + "registrar-api-sandbox_domain_check_result": registrar$$api$$sandbox_domain_check_result, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_pricing_base": registrar$$api$$sandbox_pricing_base, + "registrar-api-sandbox_pricing_registration": registrar$$api$$sandbox_pricing_registration, }, }, request: (args) => ({ @@ -117,47 +125,60 @@ export const tools: readonly Tool[] = [ }), }, { - name: "registrar_sandbox_registrations_create", + name: "registrarSandbox_registrations_create", title: "Create Registration", description: "Starts a domain registration workflow.\n\n### Prerequisites\n- The account must not already be at the maximum supported domain limit.\n A single account may own up to 500 domains in total across registrations\n created through either the dashboard or this API.\n- The domain must be on a supported extension for programmatic registration.\n- Use `POST /domain-check` immediately before calling this endpoint to confirm\n real-time availability and pricing.\n\n### Defaults\n- `years`: defaults to the extension's minimum registration period (1 year for\n most extensions, but varies — for example, `.ai` (if supported) requires a minimum of 2 years).\n- `auto_renew`: defaults to `false`. Setting it to `true` is an explicit\n opt-in authorizing Cloudflare to charge the account's default payment\n method up to 30 days before domain expiry to renew the registration.\n Renewal pricing may change over time based on registry pricing.\n- `privacy_mode`: defaults to `redaction`.\n\n### Premium domains\nPremium domain registration is not currently supported by this API.\nIf `POST /domain-check` returns `tier: premium`, do not call this\nendpoint for that domain.\n\n### Response behavior\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the registration completes. Most registrations finish\nwithin this window and return `201 Created` with a completed workflow status.\n\nIf the registration is still processing after this synchronous wait window,\nthe server returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, "body": { "$ref": "#/$defs/registrar-api-sandbox_registration_create_request" }, - "prefer": { - "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.\n", - "type": "string" + "headers": { + "properties": { + "Prefer": { + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.\n", + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name, - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, - "registrar-api-sandbox_registration_contact": registrar_api_sandbox_registration_contact, - "registrar-api-sandbox_registration_contact_address": registrar_api_sandbox_registration_contact_address, - "registrar-api-sandbox_registration_contact_postal_info": registrar_api_sandbox_registration_contact_postal_info, - "registrar-api-sandbox_registration_contacts": registrar_api_sandbox_registration_contacts, - "registrar-api-sandbox_registration_create_request": registrar_api_sandbox_registration_create_request, + "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, + "registrar-api-sandbox_registration_contact": registrar$$api$$sandbox_registration_contact, + "registrar-api-sandbox_registration_contact_address": registrar$$api$$sandbox_registration_contact_address, + "registrar-api-sandbox_registration_contact_postal_info": registrar$$api$$sandbox_registration_contact_postal_info, + "registrar-api-sandbox_registration_contacts": registrar$$api$$sandbox_registration_contacts, + "registrar-api-sandbox_registration_create_request": registrar$$api$$sandbox_registration_create_request, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_workflow-status-response-single", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_workflow-status-response-single": registrar_api_sandbox_workflow_status_response_single_output, - "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, - "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, - "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_workflow-status-response-single": registrar$$api$$sandbox_workflow$$status$$response$$single, + "registrar-api-sandbox_workflow_error": registrar$$api$$sandbox_workflow_error, + "registrar-api-sandbox_workflow_links": registrar$$api$$sandbox_workflow_links, + "registrar-api-sandbox_workflow_status": registrar$$api$$sandbox_workflow_status, }, }, annotations: { @@ -182,56 +203,64 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_workflow-status-response-single": registrar_api_sandbox_workflow_status_response_single_output, - "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, - "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, - "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_workflow-status-response-single": registrar$$api$$sandbox_workflow$$status$$response$$single, + "registrar-api-sandbox_workflow_error": registrar$$api$$sandbox_workflow_error, + "registrar-api-sandbox_workflow_links": registrar$$api$$sandbox_workflow_links, + "registrar-api-sandbox_workflow_status": registrar$$api$$sandbox_workflow_status, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/registrations`, headers: [ - ["Prefer", args["prefer"]], + ["Prefer", param(args, "headers", "Prefer")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "registrar_sandbox_registrations_get", + name: "registrarSandbox_registrations_get", title: "Get Registration", description: "Returns the current state of a domain registration.\n\nThis is the canonical read endpoint for a domain you own. It returns\nthe full registration resource including current settings and expiration.\nWhen the registration resource is ready, both `created_at` and `expires_at`\nare present in the response.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID." - }, - "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name", - "description": "Domain name to retrieve." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Cloudflare account ID." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api-sandbox_domain_name", + "description": "Domain name to retrieve." + } + }, + "required": [ + "account_id", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "domain_name" + "path" ], $defs: { - "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name, - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, + "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_registration-response-single", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_registration": registrar_api_sandbox_registration_output, - "registrar-api-sandbox_registration-response-single": registrar_api_sandbox_registration_response_single_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_registration": registrar$$api$$sandbox_registration, + "registrar-api-sandbox_registration-response-single": registrar$$api$$sandbox_registration$$response$$single, }, }, annotations: { @@ -253,12 +282,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_registration": registrar_api_sandbox_registration_output, - "registrar-api-sandbox_registration-response-single": registrar_api_sandbox_registration_response_single_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_registration": registrar$$api$$sandbox_registration, + "registrar-api-sandbox_registration-response-single": registrar$$api$$sandbox_registration$$response$$single, }, }, request: (args) => ({ @@ -266,39 +295,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "registrar_sandbox_registrations_get_registration_status", + name: "registrarSandbox_registrations_getRegistrationStatus", title: "Get Registration Status", description: "Returns the current status of a domain registration workflow.\n\nUse this endpoint to poll for completion when the POST response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\n**Terminal states:** `succeeded` and `failed` are terminal and always\nhave `completed: true`.\n\n**Non-terminal states:**\n- `action_required` has `completed: false` and will not resolve on its\n own. The workflow is paused pending user intervention.\n- `blocked` has `completed: false` and indicates the workflow is waiting\n on a third party such as the extension registry or losing registrar.\n Continue polling while informing the user of the delay.\n\nUse increasing backoff between polls. When `state: blocked`, use a\nlonger polling interval and do not poll indefinitely.\n\nA naive polling loop that only checks `completed` can run indefinitely\nwhen `state: action_required`. Break explicitly on `action_required`:\n\n```js\nlet status;\ndo {\n await new Promise(r => setTimeout(r, 2000));\n status = await cloudflare.request({\n method: 'GET',\n path: reg.result.links.self,\n });\n} while (\n !status.result.completed &&\n status.result.state !== 'action_required'\n);\n\nif (status.result.state === 'action_required') {\n // Surface context.action and context.confirmation_sent_to to the user.\n // Do not re-submit the registration request.\n}\n```", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, - "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api-sandbox_domain_name", + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + } + }, + "required": [ + "account_id", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "domain_name" + "path" ], $defs: { - "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name, - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, + "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_workflow-status-response-single", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_workflow-status-response-single": registrar_api_sandbox_workflow_status_response_single_output, - "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, - "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, - "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_workflow-status-response-single": registrar$$api$$sandbox_workflow$$status$$response$$single, + "registrar-api-sandbox_workflow_error": registrar$$api$$sandbox_workflow_error, + "registrar-api-sandbox_workflow_links": registrar$$api$$sandbox_workflow_links, + "registrar-api-sandbox_workflow_status": registrar$$api$$sandbox_workflow_status, }, }, annotations: { @@ -320,13 +357,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_workflow-status-response-single": registrar_api_sandbox_workflow_status_response_single_output, - "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, - "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, - "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_workflow-status-response-single": registrar$$api$$sandbox_workflow$$status$$response$$single, + "registrar-api-sandbox_workflow_error": registrar$$api$$sandbox_workflow_error, + "registrar-api-sandbox_workflow_links": registrar$$api$$sandbox_workflow_links, + "registrar-api-sandbox_workflow_status": registrar$$api$$sandbox_workflow_status, }, }, request: (args) => ({ @@ -334,39 +371,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "registrar_sandbox_registrations_get_update_status", + name: "registrarSandbox_registrations_getUpdateStatus", title: "Get Update Status", description: "Returns the current status of a domain update workflow.\n\nUse this endpoint to poll for completion when the PATCH response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\nUse increasing backoff between polls. When the workflow remains blocked\non a third party, use a longer polling interval and do not poll indefinitely.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID." - }, - "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Cloudflare account ID." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api-sandbox_domain_name", + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + } + }, + "required": [ + "account_id", + "domain_name" + ], + "type": "object" } }, required: [ - "account_id", - "domain_name" + "path" ], $defs: { - "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name, - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, + "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_workflow-status-response-single", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_workflow-status-response-single": registrar_api_sandbox_workflow_status_response_single_output, - "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, - "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, - "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_workflow-status-response-single": registrar$$api$$sandbox_workflow$$status$$response$$single, + "registrar-api-sandbox_workflow_error": registrar$$api$$sandbox_workflow_error, + "registrar-api-sandbox_workflow_links": registrar$$api$$sandbox_workflow_links, + "registrar-api-sandbox_workflow_status": registrar$$api$$sandbox_workflow_status, }, }, annotations: { @@ -388,13 +433,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_workflow-status-response-single": registrar_api_sandbox_workflow_status_response_single_output, - "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, - "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, - "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_workflow-status-response-single": registrar$$api$$sandbox_workflow$$status$$response$$single, + "registrar-api-sandbox_workflow_error": registrar$$api$$sandbox_workflow_error, + "registrar-api-sandbox_workflow_links": registrar$$api$$sandbox_workflow_links, + "registrar-api-sandbox_workflow_status": registrar$$api$$sandbox_workflow_status, }, }, request: (args) => ({ @@ -402,61 +447,74 @@ export const tools: readonly Tool[] = [ }), }, { - name: "registrar_sandbox_registrations_list", + name: "registrarSandbox_registrations_list", title: "List Registrations", description: "Returns a paginated list of domain registrations owned by the account.\n\nThis endpoint uses cursor-based pagination. Results are ordered by registration\ndate by default. To fetch the next page, pass the `cursor` value from the\n`result_info` object in the response as the `cursor` query parameter in\nyour next request. An empty `cursor` string indicates there are no more\npages.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID." - }, - "cursor": { - "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction for results. Defaults to ascending order.\n", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Cloudflare account ID." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of items to return per page.", - "type": "integer" - }, - "sort_by": { - "default": "registry_created_at", - "description": "Column to sort results by. Defaults to registration date (`registry_created_at`) when omitted.", - "enum": [ - "registry_created_at", - "registry_expires_at", - "name" - ], - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction for results. Defaults to ascending order.\n", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items to return per page.", + "type": "integer" + }, + "sort_by": { + "default": "registry_created_at", + "description": "Column to sort results by. Defaults to registration date (`registry_created_at`) when omitted.", + "enum": [ + "registry_created_at", + "registry_expires_at", + "name" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_registration-response-collection", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_cursor_result_info": registrar_api_sandbox_cursor_result_info_output, - "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_registration": registrar_api_sandbox_registration_output, - "registrar-api-sandbox_registration-response-collection": registrar_api_sandbox_registration_response_collection_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_cursor_result_info": registrar$$api$$sandbox_cursor_result_info, + "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_registration": registrar$$api$$sandbox_registration, + "registrar-api-sandbox_registration-response-collection": registrar$$api$$sandbox_registration$$response$$collection, }, }, annotations: { @@ -478,71 +536,87 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_cursor_result_info": registrar_api_sandbox_cursor_result_info_output, - "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_registration": registrar_api_sandbox_registration_output, - "registrar-api-sandbox_registration-response-collection": registrar_api_sandbox_registration_response_collection_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_cursor_result_info": registrar$$api$$sandbox_cursor_result_info, + "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_registration": registrar$$api$$sandbox_registration, + "registrar-api-sandbox_registration-response-collection": registrar$$api$$sandbox_registration$$response$$collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/registrations`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], - ["sort_by", args["sort_by"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], + ["sort_by", param(args, "query", "sort_by"), true], ], }), }, { - name: "registrar_sandbox_registrations_search", + name: "registrarSandbox_registrations_search", title: "Search for available domains", description: "Searches for domain name suggestions based on a keyword, phrase, or partial domain name.\nReturns a list of potentially available domains with pricing information.\n\n**Important:** Results are non-authoritative and based on cached data. Always use the\n`/domain-check` endpoint to verify real-time availability before attempting registration.\n\nSuggestions are scoped to extensions supported for programmatic registration\nvia this API (`POST /registrations`). Domains on unsupported extensions will\nnot appear in results, even if they are available at the registry level.\n\n### Use cases\n- Brand name discovery (e.g., \"acme corp\" → acmecorp.com, acmecorp.dev)\n- Keyword-based suggestions (e.g., \"coffee shop\" → coffeeshop.com, mycoffeeshop.net)\n- Alternative extension discovery (e.g., \"example.com\" → example.com, example.app, example.xyz)\n\n### Workflow\n1. Call this endpoint with a keyword or domain name.\n2. Present suggestions to the user.\n3. Call `/domain-check` with the user's chosen domains to confirm real-time availability and pricing.\n4. Proceed to `POST /registrations` only for supported non-premium domains\n where the Check response returns `registrable: true`.\n\n**Note:** Searching with just a domain extension (e.g., \"com\" or \".app\") is not supported. Provide a keyword or domain name.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." - }, - "extensions": { - "description": "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.\n", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Cloudflare account ID. Required for all Registrar API operations." + } }, - "maxItems": 20, - "type": "array" - }, - "limit": { - "default": 20, - "description": "Maximum number of domain suggestions to return. Defaults to 20 if not specified.\n", - "type": "integer" + "required": [ + "account_id" + ], + "type": "object" }, "query": { - "description": "The search term to find domain suggestions. Accepts keywords, phrases, or full domain names.\n- Phrases: \"coffee shop\" returns coffeeshop.com, mycoffeeshop.net, etc.\n- Domain names: \"example.com\" returns example.com and variations across extensions\n", - "type": "string" + "properties": { + "extensions": { + "description": "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.\n", + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "limit": { + "default": 20, + "description": "Maximum number of domain suggestions to return. Defaults to 20 if not specified.\n", + "type": "integer" + }, + "q": { + "description": "The search term to find domain suggestions. Accepts keywords, phrases, or full domain names.\n- Phrases: \"coffee shop\" returns coffeeshop.com, mycoffeeshop.net, etc.\n- Domain names: \"example.com\" returns example.com and variations across extensions\n", + "type": "string" + } + }, + "required": [ + "q" + ], + "type": "object" } }, required: [ - "account_id", + "path", "query" ], $defs: { - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_domain_search_response", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_domain_search_response": registrar_api_sandbox_domain_search_response_output, - "registrar-api-sandbox_domain_search_result": registrar_api_sandbox_domain_search_result_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_pricing_base": registrar_api_sandbox_pricing_base_output, - "registrar-api-sandbox_pricing_registration": registrar_api_sandbox_pricing_registration_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_domain_search_response": registrar$$api$$sandbox_domain_search_response, + "registrar-api-sandbox_domain_search_result": registrar$$api$$sandbox_domain_search_result, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_pricing_base": registrar$$api$$sandbox_pricing_base, + "registrar-api-sandbox_pricing_registration": registrar$$api$$sandbox_pricing_registration, }, }, annotations: { @@ -564,70 +638,83 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_domain_search_response": registrar_api_sandbox_domain_search_response_output, - "registrar-api-sandbox_domain_search_result": registrar_api_sandbox_domain_search_result_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_pricing_base": registrar_api_sandbox_pricing_base_output, - "registrar-api-sandbox_pricing_registration": registrar_api_sandbox_pricing_registration_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_domain_search_response": registrar$$api$$sandbox_domain_search_response, + "registrar-api-sandbox_domain_search_result": registrar$$api$$sandbox_domain_search_result, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_pricing_base": registrar$$api$$sandbox_pricing_base, + "registrar-api-sandbox_pricing_registration": registrar$$api$$sandbox_pricing_registration, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/domain-search`, query: [ - ["q", args["query"], true], - ["extensions", args["extensions"], false], - ["limit", args["limit"], true], + ["q", param(args, "query", "q"), true], + ["extensions", param(args, "query", "extensions"), false], + ["limit", param(args, "query", "limit"), true], ], }), }, { - name: "registrar_sandbox_registrations_update", + name: "registrarSandbox_registrations_update", title: "Update Registration", description: "Updates an existing domain registration.\n\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the update completes. Most updates finish within this\nwindow and return `200 OK` with a completed workflow status.\n\nIf the update is still processing after this synchronous wait window, the\nserver returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.\n\nThis endpoint currently supports updating `auto_renew` only.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID." - }, "body": { "$ref": "#/$defs/registrar-api-sandbox_registration_update_request" }, - "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name", - "description": "Domain name to update." + "headers": { + "properties": { + "Prefer": { + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n", + "enum": [ + "respond-async" + ], + "type": "string" + } + }, + "type": "object" }, - "prefer": { - "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n", - "enum": [ - "respond-async" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/registrar-api-sandbox_identifier", + "description": "Cloudflare account ID." + }, + "domain_name": { + "$ref": "#/$defs/registrar-api-sandbox_domain_name", + "description": "Domain name to update." + } + }, + "required": [ + "account_id", + "domain_name" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "domain_name", + "path", "body" ], $defs: { - "registrar-api-sandbox_domain_name": registrar_api_sandbox_domain_name, - "registrar-api-sandbox_identifier": registrar_api_sandbox_identifier, - "registrar-api-sandbox_registration_update_request": registrar_api_sandbox_registration_update_request, + "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, + "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, + "registrar-api-sandbox_registration_update_request": registrar$$api$$sandbox_registration_update_request, }, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_workflow-status-response-single", $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_workflow-status-response-single": registrar_api_sandbox_workflow_status_response_single_output, - "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, - "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, - "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_workflow-status-response-single": registrar$$api$$sandbox_workflow$$status$$response$$single, + "registrar-api-sandbox_workflow_error": registrar$$api$$sandbox_workflow_error, + "registrar-api-sandbox_workflow_links": registrar$$api$$sandbox_workflow_links, + "registrar-api-sandbox_workflow_status": registrar$$api$$sandbox_workflow_status, }, }, annotations: { @@ -652,19 +739,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "registrar-api-sandbox_api-response-common": registrar_api_sandbox_api_response_common_output, - "registrar-api-sandbox_api-response-common-failure": registrar_api_sandbox_api_response_common_failure_output, - "registrar-api-sandbox_messages": registrar_api_sandbox_messages_output, - "registrar-api-sandbox_workflow-status-response-single": registrar_api_sandbox_workflow_status_response_single_output, - "registrar-api-sandbox_workflow_error": registrar_api_sandbox_workflow_error_output, - "registrar-api-sandbox_workflow_links": registrar_api_sandbox_workflow_links_output, - "registrar-api-sandbox_workflow_status": registrar_api_sandbox_workflow_status_output, + "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, + "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, + "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, + "registrar-api-sandbox_workflow-status-response-single": registrar$$api$$sandbox_workflow$$status$$response$$single, + "registrar-api-sandbox_workflow_error": registrar$$api$$sandbox_workflow_error, + "registrar-api-sandbox_workflow_links": registrar$$api$$sandbox_workflow_links, + "registrar-api-sandbox_workflow_status": registrar$$api$$sandbox_workflow_status, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/registrar-sandbox/registrations/${pathParam(args, "domain_name")}`, headers: [ - ["Prefer", args["prefer"]], + ["Prefer", param(args, "headers", "Prefer")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/registrarSandbox/schemas.ts b/src/generated/forge-mcp/registrarSandbox/schemas.ts index 4023a85d1..9999ff4ce 100644 --- a/src/generated/forge-mcp/registrarSandbox/schemas.ts +++ b/src/generated/forge-mcp/registrarSandbox/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `registrar-api-sandbox_identifier`. */ -export const registrar_api_sandbox_identifier: JsonSchema = { +export const registrar$$api$$sandbox_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/reporting/industry/outputs.ts b/src/generated/forge-mcp/reporting/industry/outputs.ts index e8a2620d8..5fbe94a48 100644 --- a/src/generated/forge-mcp/reporting/industry/outputs.ts +++ b/src/generated/forge-mcp/reporting/industry/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `reports_AccountIndustryErrorResponse` in responses. */ -export const reports_AccountIndustryErrorResponse_output: JsonSchema = { +export const reports_AccountIndustryErrorResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -48,7 +48,7 @@ export const reports_AccountIndustryErrorResponse_output: JsonSchema = { /** * The schema of `reports_AccountIndustryPatchResponse` in responses. */ -export const reports_AccountIndustryPatchResponse_output: JsonSchema = { +export const reports_AccountIndustryPatchResponse: JsonSchema = { "oneOf": [ { "properties": { @@ -184,7 +184,7 @@ export const reports_AccountIndustryPatchResponse_output: JsonSchema = { /** * The schema of `reports_AccountIndustrySingleResponse` in responses. */ -export const reports_AccountIndustrySingleResponse_output: JsonSchema = { +export const reports_AccountIndustrySingleResponse: JsonSchema = { "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/reporting/industry/tools.ts b/src/generated/forge-mcp/reporting/industry/tools.ts index 2bfda055c..f4e43a359 100644 --- a/src/generated/forge-mcp/reporting/industry/tools.ts +++ b/src/generated/forge-mcp/reporting/industry/tools.ts @@ -2,11 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { reports_Error_output, reports_Message_output } from "../outputs.js"; +import { reports_Error, reports_Message } from "../outputs.js"; import { - reports_AccountIndustryErrorResponse_output, - reports_AccountIndustryPatchResponse_output, - reports_AccountIndustrySingleResponse_output, + reports_AccountIndustryErrorResponse, + reports_AccountIndustryPatchResponse, + reports_AccountIndustrySingleResponse, } from "./outputs.js"; import { reports_PatchAccountIndustryBody } from "./schemas.js"; @@ -21,13 +21,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare public account ID (32-character hexadecimal string)", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare public account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -60,9 +68,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "reports_AccountIndustrySingleResponse": reports_AccountIndustrySingleResponse_output, - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, + "reports_AccountIndustrySingleResponse": reports_AccountIndustrySingleResponse, + "reports_Error": reports_Error, + "reports_Message": reports_Message, }, }, annotations: { @@ -116,10 +124,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "reports_AccountIndustryErrorResponse": reports_AccountIndustryErrorResponse_output, - "reports_AccountIndustrySingleResponse": reports_AccountIndustrySingleResponse_output, - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, + "reports_AccountIndustryErrorResponse": reports_AccountIndustryErrorResponse, + "reports_AccountIndustrySingleResponse": reports_AccountIndustrySingleResponse, + "reports_Error": reports_Error, + "reports_Message": reports_Message, }, }, request: (args) => ({ @@ -133,16 +141,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare public account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/reports_PatchAccountIndustryBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare public account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "reports_PatchAccountIndustryBody": reports_PatchAccountIndustryBody, @@ -178,9 +194,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "reports_AccountIndustryPatchResponse": reports_AccountIndustryPatchResponse_output, - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, + "reports_AccountIndustryPatchResponse": reports_AccountIndustryPatchResponse, + "reports_Error": reports_Error, + "reports_Message": reports_Message, }, }, annotations: { @@ -240,10 +256,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "reports_AccountIndustryErrorResponse": reports_AccountIndustryErrorResponse_output, - "reports_AccountIndustryPatchResponse": reports_AccountIndustryPatchResponse_output, - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, + "reports_AccountIndustryErrorResponse": reports_AccountIndustryErrorResponse, + "reports_AccountIndustryPatchResponse": reports_AccountIndustryPatchResponse, + "reports_Error": reports_Error, + "reports_Message": reports_Message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/reporting/outputs.ts b/src/generated/forge-mcp/reporting/outputs.ts index 4853ed151..c96ebb773 100644 --- a/src/generated/forge-mcp/reporting/outputs.ts +++ b/src/generated/forge-mcp/reporting/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `reports_Error` in responses. */ -export const reports_Error_output: JsonSchema = { +export const reports_Error: JsonSchema = { "properties": { "code": { "type": "number" @@ -25,7 +25,7 @@ export const reports_Error_output: JsonSchema = { /** * The schema of `reports_Message` in responses. */ -export const reports_Message_output: JsonSchema = { +export const reports_Message: JsonSchema = { "properties": { "code": { "type": "number" @@ -44,7 +44,7 @@ export const reports_Message_output: JsonSchema = { /** * The schema of `reports_PolicyErrorResponse` in responses. */ -export const reports_PolicyErrorResponse_output: JsonSchema = { +export const reports_PolicyErrorResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/reporting/policies/outputs.ts b/src/generated/forge-mcp/reporting/policies/outputs.ts index b96b5cc60..d8acf63a8 100644 --- a/src/generated/forge-mcp/reporting/policies/outputs.ts +++ b/src/generated/forge-mcp/reporting/policies/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `reports_PoliciesListResponse` in responses. */ -export const reports_PoliciesListResponse_output: JsonSchema = { +export const reports_PoliciesListResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -101,7 +101,7 @@ export const reports_PoliciesListResponse_output: JsonSchema = { /** * The schema of `reports_PolicySingleResponse` in responses. */ -export const reports_PolicySingleResponse_output: JsonSchema = { +export const reports_PolicySingleResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/reporting/policies/tools.ts b/src/generated/forge-mcp/reporting/policies/tools.ts index 6ee20daed..c4b159818 100644 --- a/src/generated/forge-mcp/reporting/policies/tools.ts +++ b/src/generated/forge-mcp/reporting/policies/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - reports_Error_output, - reports_Message_output, - reports_PolicyErrorResponse_output, + reports_Error, + reports_Message, + reports_PolicyErrorResponse, } from "../outputs.js"; import { - reports_PoliciesListResponse_output, - reports_PolicySingleResponse_output, + reports_PoliciesListResponse, + reports_PolicySingleResponse, } from "./outputs.js"; /** @@ -23,27 +23,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare public account ID (32-character hexadecimal string)", - "type": "string" - }, - "policy_id": { - "description": "Unique identifier for the policy (UUID format)", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare public account ID (32-character hexadecimal string)", + "type": "string" + }, + "policy_id": { + "description": "Unique identifier for the policy (UUID format)", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/reports_PolicySingleResponse", $defs: { - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, - "reports_PolicySingleResponse": reports_PolicySingleResponse_output, + "reports_Error": reports_Error, + "reports_Message": reports_Message, + "reports_PolicySingleResponse": reports_PolicySingleResponse, }, }, annotations: { @@ -70,10 +78,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, - "reports_PolicyErrorResponse": reports_PolicyErrorResponse_output, - "reports_PolicySingleResponse": reports_PolicySingleResponse_output, + "reports_Error": reports_Error, + "reports_Message": reports_Message, + "reports_PolicyErrorResponse": reports_PolicyErrorResponse, + "reports_PolicySingleResponse": reports_PolicySingleResponse, }, }, request: (args) => ({ @@ -87,21 +95,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare public account ID (32-character hexadecimal string)", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare public account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/reports_PoliciesListResponse", $defs: { - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, - "reports_PoliciesListResponse": reports_PoliciesListResponse_output, + "reports_Error": reports_Error, + "reports_Message": reports_Message, + "reports_PoliciesListResponse": reports_PoliciesListResponse, }, }, annotations: { @@ -128,10 +144,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, - "reports_PoliciesListResponse": reports_PoliciesListResponse_output, - "reports_PolicyErrorResponse": reports_PolicyErrorResponse_output, + "reports_Error": reports_Error, + "reports_Message": reports_Message, + "reports_PoliciesListResponse": reports_PoliciesListResponse, + "reports_PolicyErrorResponse": reports_PolicyErrorResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/reporting/reports/outputs.ts b/src/generated/forge-mcp/reporting/reports/outputs.ts index 1a26e8bbe..a7a4716a3 100644 --- a/src/generated/forge-mcp/reporting/reports/outputs.ts +++ b/src/generated/forge-mcp/reporting/reports/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `reports_ApplicationSecurityReportV1` in responses. */ -export const reports_ApplicationSecurityReportV1_output: JsonSchema = { +export const reports_ApplicationSecurityReportV1: JsonSchema = { "properties": { "input": { "properties": { @@ -61,7 +61,7 @@ export const reports_ApplicationSecurityReportV1_output: JsonSchema = { /** * The schema of `reports_ApplicationSecurityReportV1Data` in responses. */ -export const reports_ApplicationSecurityReportV1Data_output: JsonSchema = { +export const reports_ApplicationSecurityReportV1Data: JsonSchema = { "properties": { "account_id": { "type": "string" @@ -391,7 +391,7 @@ export const reports_ApplicationSecurityReportV1Data_output: JsonSchema = { /** * The schema of `reports_GetReportResponse` in responses. */ -export const reports_GetReportResponse_output: JsonSchema = { +export const reports_GetReportResponse: JsonSchema = { "oneOf": [ { "properties": { @@ -554,7 +554,7 @@ export const reports_GetReportResponse_output: JsonSchema = { /** * The schema of `reports_ReportSingleResponse` in responses. */ -export const reports_ReportSingleResponse_output: JsonSchema = { +export const reports_ReportSingleResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -588,7 +588,7 @@ export const reports_ReportSingleResponse_output: JsonSchema = { /** * The schema of `reports_ReportsListResponse` in responses. */ -export const reports_ReportsListResponse_output: JsonSchema = { +export const reports_ReportsListResponse: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/reporting/reports/tools.ts b/src/generated/forge-mcp/reporting/reports/tools.ts index 69273aaa4..13703e99f 100644 --- a/src/generated/forge-mcp/reporting/reports/tools.ts +++ b/src/generated/forge-mcp/reporting/reports/tools.ts @@ -3,16 +3,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - reports_Error_output, - reports_Message_output, - reports_PolicyErrorResponse_output, + reports_Error, + reports_Message, + reports_PolicyErrorResponse, } from "../outputs.js"; import { - reports_ApplicationSecurityReportV1Data_output, - reports_ApplicationSecurityReportV1_output, - reports_GetReportResponse_output, - reports_ReportSingleResponse_output, - reports_ReportsListResponse_output, + reports_ApplicationSecurityReportV1, + reports_ApplicationSecurityReportV1Data, + reports_GetReportResponse, + reports_ReportSingleResponse, + reports_ReportsListResponse, } from "./outputs.js"; /** @@ -26,30 +26,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare public account ID (32-character hexadecimal string)", - "type": "string" - }, - "report_id": { - "description": "Unique report identifier", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare public account ID (32-character hexadecimal string)", + "type": "string" + }, + "report_id": { + "description": "Unique report identifier", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "report_id" + ], + "type": "object" } }, required: [ - "account_id", - "report_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/reports_ReportSingleResponse", $defs: { - "reports_ApplicationSecurityReportV1": reports_ApplicationSecurityReportV1_output, - "reports_ApplicationSecurityReportV1Data": reports_ApplicationSecurityReportV1Data_output, - "reports_Error": reports_Error_output, - "reports_GetReportResponse": reports_GetReportResponse_output, - "reports_Message": reports_Message_output, - "reports_ReportSingleResponse": reports_ReportSingleResponse_output, + "reports_ApplicationSecurityReportV1": reports_ApplicationSecurityReportV1, + "reports_ApplicationSecurityReportV1Data": reports_ApplicationSecurityReportV1Data, + "reports_Error": reports_Error, + "reports_GetReportResponse": reports_GetReportResponse, + "reports_Message": reports_Message, + "reports_ReportSingleResponse": reports_ReportSingleResponse, }, }, annotations: { @@ -76,13 +84,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "reports_ApplicationSecurityReportV1": reports_ApplicationSecurityReportV1_output, - "reports_ApplicationSecurityReportV1Data": reports_ApplicationSecurityReportV1Data_output, - "reports_Error": reports_Error_output, - "reports_GetReportResponse": reports_GetReportResponse_output, - "reports_Message": reports_Message_output, - "reports_PolicyErrorResponse": reports_PolicyErrorResponse_output, - "reports_ReportSingleResponse": reports_ReportSingleResponse_output, + "reports_ApplicationSecurityReportV1": reports_ApplicationSecurityReportV1, + "reports_ApplicationSecurityReportV1Data": reports_ApplicationSecurityReportV1Data, + "reports_Error": reports_Error, + "reports_GetReportResponse": reports_GetReportResponse, + "reports_Message": reports_Message, + "reports_PolicyErrorResponse": reports_PolicyErrorResponse, + "reports_ReportSingleResponse": reports_ReportSingleResponse, }, }, request: (args) => ({ @@ -96,21 +104,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare public account ID (32-character hexadecimal string)", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare public account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/reports_ReportsListResponse", $defs: { - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, - "reports_ReportsListResponse": reports_ReportsListResponse_output, + "reports_Error": reports_Error, + "reports_Message": reports_Message, + "reports_ReportsListResponse": reports_ReportsListResponse, }, }, annotations: { @@ -137,10 +153,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "reports_Error": reports_Error_output, - "reports_Message": reports_Message_output, - "reports_PolicyErrorResponse": reports_PolicyErrorResponse_output, - "reports_ReportsListResponse": reports_ReportsListResponse_output, + "reports_Error": reports_Error, + "reports_Message": reports_Message, + "reports_PolicyErrorResponse": reports_PolicyErrorResponse, + "reports_ReportsListResponse": reports_ReportsListResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/requestTracers/traces/outputs.ts b/src/generated/forge-mcp/requestTracers/traces/outputs.ts index 7e9ac3646..946308d03 100644 --- a/src/generated/forge-mcp/requestTracers/traces/outputs.ts +++ b/src/generated/forge-mcp/requestTracers/traces/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `request-tracer_api-response-common` in responses. */ -export const request_tracer_api_response_common_output: JsonSchema = { +export const request$$tracer_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/request-tracer_messages" @@ -32,7 +32,7 @@ export const request_tracer_api_response_common_output: JsonSchema = { /** * The schema of `request-tracer_api-response-common-failure` in responses. */ -export const request_tracer_api_response_common_failure_output: JsonSchema = { +export const request$$tracer_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/request-tracer_messages" @@ -62,7 +62,7 @@ export const request_tracer_api_response_common_failure_output: JsonSchema = { /** * The schema of `request-tracer_messages` in responses. */ -export const request_tracer_messages_output: JsonSchema = { +export const request$$tracer_messages: JsonSchema = { "items": { "properties": { "code": { @@ -84,7 +84,7 @@ export const request_tracer_messages_output: JsonSchema = { /** * The schema of `request-tracer_trace` in responses. */ -export const request_tracer_trace_output: JsonSchema = { +export const request$$tracer_trace: JsonSchema = { "items": { "properties": { "action": { diff --git a/src/generated/forge-mcp/requestTracers/traces/schemas.ts b/src/generated/forge-mcp/requestTracers/traces/schemas.ts index 8559f3cef..657a3a88c 100644 --- a/src/generated/forge-mcp/requestTracers/traces/schemas.ts +++ b/src/generated/forge-mcp/requestTracers/traces/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `request-tracer_account_identifier`. */ -export const request_tracer_account_identifier: JsonSchema = { +export const request$$tracer_account_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/requestTracers/traces/tools.ts b/src/generated/forge-mcp/requestTracers/traces/tools.ts index d11a6e50b..f960fc7a8 100644 --- a/src/generated/forge-mcp/requestTracers/traces/tools.ts +++ b/src/generated/forge-mcp/requestTracers/traces/tools.ts @@ -3,28 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - request_tracer_api_response_common_failure_output, - request_tracer_api_response_common_output, - request_tracer_messages_output, - request_tracer_trace_output, + request$$tracer_api$$response$$common, + request$$tracer_api$$response$$common$$failure, + request$$tracer_messages, + request$$tracer_trace, } from "./outputs.js"; -import { request_tracer_account_identifier } from "./schemas.js"; +import { request$$tracer_account_identifier } from "./schemas.js"; /** - * The tools of `request_tracers.traces`. + * The tools of `requestTracers.traces`. */ export const tools: readonly Tool[] = [ { - name: "request_tracers_traces_create", + name: "requestTracers_traces_create", title: "Request Trace", description: "Traces a simulated HTTP request through Cloudflare's edge to analyze how rules, settings, and configurations would process the request. Useful for debugging firewall rules, page rules, and other request transformations without sending actual traffic. Supports custom headers, cookies, body content, and geolocation context.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/request-tracer_account_identifier", - "description": "Identifier." - }, "body": { "properties": { "body": { @@ -134,14 +130,26 @@ export const tools: readonly Tool[] = [ "url" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/request-tracer_account_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "request-tracer_account_identifier": request_tracer_account_identifier, + "request-tracer_account_identifier": request$$tracer_account_identifier, }, }, outputSchema: { @@ -167,9 +175,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "request-tracer_api-response-common": request_tracer_api_response_common_output, - "request-tracer_messages": request_tracer_messages_output, - "request-tracer_trace": request_tracer_trace_output, + "request-tracer_api-response-common": request$$tracer_api$$response$$common, + "request-tracer_messages": request$$tracer_messages, + "request-tracer_trace": request$$tracer_trace, }, }, annotations: { @@ -222,10 +230,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "request-tracer_api-response-common": request_tracer_api_response_common_output, - "request-tracer_api-response-common-failure": request_tracer_api_response_common_failure_output, - "request-tracer_messages": request_tracer_messages_output, - "request-tracer_trace": request_tracer_trace_output, + "request-tracer_api-response-common": request$$tracer_api$$response$$common, + "request-tracer_api-response-common-failure": request$$tracer_api$$response$$common$$failure, + "request-tracer_messages": request$$tracer_messages, + "request-tracer_trace": request$$tracer_trace, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts b/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts index 38da2d88c..b68eeff42 100644 --- a/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts +++ b/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `resource-sharing_excluded_recipient_id` in responses. */ -export const resource_sharing_excluded_recipient_id_output: JsonSchema = { +export const resource$$sharing_excluded_recipient_id: JsonSchema = { "type": "string" }; @@ -14,7 +14,7 @@ export const resource_sharing_excluded_recipient_id_output: JsonSchema = { * The schema of `resource-sharing_share_excluded_recipient_object` in * responses. */ -export const resource_sharing_share_excluded_recipient_object_output: JsonSchema = { +export const resource$$sharing_share_excluded_recipient_object: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/resource-sharing_account_id" @@ -42,7 +42,7 @@ export const resource_sharing_share_excluded_recipient_object_output: JsonSchema * The schema of `resource-sharing_share_excluded_recipient_response_collection` * in responses. */ -export const resource_sharing_share_excluded_recipient_response_collection_output: JsonSchema = { +export const resource$$sharing_share_excluded_recipient_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-sharing_api-response-collection" @@ -58,7 +58,7 @@ export const resource_sharing_share_excluded_recipient_response_collection_outpu * `resource-sharing_share_excluded_recipient_response_collection_result` in * responses. */ -export const resource_sharing_share_excluded_recipient_response_collection_result_output: JsonSchema = { +export const resource$$sharing_share_excluded_recipient_response_collection_result: JsonSchema = { "properties": { "result": { "items": { @@ -74,7 +74,7 @@ export const resource_sharing_share_excluded_recipient_response_collection_resul * The schema of `resource-sharing_share_excluded_recipient_response_single` in * responses. */ -export const resource_sharing_share_excluded_recipient_response_single_output: JsonSchema = { +export const resource$$sharing_share_excluded_recipient_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-sharing_api-response-common" @@ -90,7 +90,7 @@ export const resource_sharing_share_excluded_recipient_response_single_output: J * `resource-sharing_share_excluded_recipient_response_single_result` in * responses. */ -export const resource_sharing_share_excluded_recipient_response_single_result_output: JsonSchema = { +export const resource$$sharing_share_excluded_recipient_response_single_result: JsonSchema = { "properties": { "result": { "$ref": "#/$defs/resource-sharing_share_excluded_recipient_object" diff --git a/src/generated/forge-mcp/resourceSharing/excludedRecipients/schemas.ts b/src/generated/forge-mcp/resourceSharing/excludedRecipients/schemas.ts index 14a739d99..4a86f4c13 100644 --- a/src/generated/forge-mcp/resourceSharing/excludedRecipients/schemas.ts +++ b/src/generated/forge-mcp/resourceSharing/excludedRecipients/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `resource-sharing_create_share_excluded_recipient_request`. */ -export const resource_sharing_create_share_excluded_recipient_request: JsonSchema = { +export const resource$$sharing_create_share_excluded_recipient_request: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/resource-sharing_account_id", @@ -22,7 +22,7 @@ export const resource_sharing_create_share_excluded_recipient_request: JsonSchem /** * The schema of `resource-sharing_excluded_recipient_id`. */ -export const resource_sharing_excluded_recipient_id: JsonSchema = { +export const resource$$sharing_excluded_recipient_id: JsonSchema = { "description": "Share Excluded Recipient identifier tag.", "type": "string" }; @@ -30,7 +30,7 @@ export const resource_sharing_excluded_recipient_id: JsonSchema = { /** * The schema of `resource-sharing_update_share_excluded_recipients_request`. */ -export const resource_sharing_update_share_excluded_recipients_request: JsonSchema = { +export const resource$$sharing_update_share_excluded_recipients_request: JsonSchema = { "items": { "$ref": "#/$defs/resource-sharing_create_share_excluded_recipient_request" }, diff --git a/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts b/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts index a9fa17116..d58c177fd 100644 --- a/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts @@ -1,84 +1,92 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource_sharing_account_id_output, - resource_sharing_api_response_collection_info_output, - resource_sharing_api_response_collection_output, - resource_sharing_api_response_common_failure_output, - resource_sharing_api_response_common_output, - resource_sharing_created_output, - resource_sharing_modified_output, - resource_sharing_result_info_output, - resource_sharing_v4error_output, - resource_sharing_v4errors_output, + resource$$sharing_account_id, + resource$$sharing_api$$response$$collection, + resource$$sharing_api$$response$$collection$$info, + resource$$sharing_api$$response$$common, + resource$$sharing_api$$response$$common$$failure, + resource$$sharing_created, + resource$$sharing_modified, + resource$$sharing_result_info, + resource$$sharing_v4error, + resource$$sharing_v4errors, } from "../../outputs.js"; import { - resource_sharing_account_id, - resource_sharing_share_id, + resource$$sharing_account_id as resource$$sharing_account_id$, + resource$$sharing_share_id, } from "../../schemas.js"; import { - resource_sharing_excluded_recipient_id_output, - resource_sharing_share_excluded_recipient_object_output, - resource_sharing_share_excluded_recipient_response_collection_output, - resource_sharing_share_excluded_recipient_response_collection_result_output, - resource_sharing_share_excluded_recipient_response_single_output, - resource_sharing_share_excluded_recipient_response_single_result_output, + resource$$sharing_excluded_recipient_id, + resource$$sharing_share_excluded_recipient_object, + resource$$sharing_share_excluded_recipient_response_collection, + resource$$sharing_share_excluded_recipient_response_collection_result, + resource$$sharing_share_excluded_recipient_response_single, + resource$$sharing_share_excluded_recipient_response_single_result, } from "./outputs.js"; import { - resource_sharing_create_share_excluded_recipient_request, - resource_sharing_excluded_recipient_id, - resource_sharing_update_share_excluded_recipients_request, + resource$$sharing_create_share_excluded_recipient_request, + resource$$sharing_excluded_recipient_id as resource$$sharing_excluded_recipient_id$, + resource$$sharing_update_share_excluded_recipients_request, } from "./schemas.js"; /** - * The tools of `resource_sharing.excluded_recipients`. + * The tools of `resourceSharing.excludedRecipients`. */ export const tools: readonly Tool[] = [ { - name: "resource_sharing_excluded_recipients_create", + name: "resourceSharing_excludedRecipients_create", title: "Trigger an account exclusion from a share", description: "Excludes a single account from an organization-targeted share. The share continues to target the entire organization, but the excluded account is skipped during reconciliation.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/resource-sharing_create_share_excluded_recipient_request" }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", + "path", "body" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_create_share_excluded_recipient_request": resource_sharing_create_share_excluded_recipient_request, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_create_share_excluded_recipient_request": resource$$sharing_create_share_excluded_recipient_request, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_excluded_recipient_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, - "resource-sharing_share_excluded_recipient_response_single": resource_sharing_share_excluded_recipient_response_single_output, - "resource-sharing_share_excluded_recipient_response_single_result": resource_sharing_share_excluded_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, + "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, + "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -112,17 +120,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, - "resource-sharing_share_excluded_recipient_response_single": resource_sharing_share_excluded_recipient_response_single_output, - "resource-sharing_share_excluded_recipient_response_single_result": resource_sharing_share_excluded_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, + "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, + "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -131,49 +139,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_excluded_recipients_delete", + name: "resourceSharing_excludedRecipients_delete", title: "Trigger an account un-exclusion from a share", description: "Removes a single account from a share's excluded-recipient list. The account becomes eligible to receive the share again on the next reconciliation cycle.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "excluded_recipient_id": { - "$ref": "#/$defs/resource-sharing_excluded_recipient_id", - "description": "Share Excluded Recipient identifier tag." - }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "excluded_recipient_id": { + "$ref": "#/$defs/resource-sharing_excluded_recipient_id", + "description": "Share Excluded Recipient identifier tag." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id", + "excluded_recipient_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", - "excluded_recipient_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_excluded_recipient_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, - "resource-sharing_share_excluded_recipient_response_single": resource_sharing_share_excluded_recipient_response_single_output, - "resource-sharing_share_excluded_recipient_response_single_result": resource_sharing_share_excluded_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, + "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, + "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -207,17 +223,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, - "resource-sharing_share_excluded_recipient_response_single": resource_sharing_share_excluded_recipient_response_single_output, - "resource-sharing_share_excluded_recipient_response_single_result": resource_sharing_share_excluded_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, + "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, + "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -225,49 +241,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_excluded_recipients_get", + name: "resourceSharing_excludedRecipients_get", title: "Get share excluded recipient by ID", description: "Gets a single excluded recipient of a share by its identifier tag.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "excluded_recipient_id": { - "$ref": "#/$defs/resource-sharing_excluded_recipient_id", - "description": "Share Excluded Recipient identifier tag." - }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "excluded_recipient_id": { + "$ref": "#/$defs/resource-sharing_excluded_recipient_id", + "description": "Share Excluded Recipient identifier tag." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id", + "excluded_recipient_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", - "excluded_recipient_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_excluded_recipient_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, - "resource-sharing_share_excluded_recipient_response_single": resource_sharing_share_excluded_recipient_response_single_output, - "resource-sharing_share_excluded_recipient_response_single_result": resource_sharing_share_excluded_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, + "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, + "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -301,17 +325,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, - "resource-sharing_share_excluded_recipient_response_single": resource_sharing_share_excluded_recipient_response_single_output, - "resource-sharing_share_excluded_recipient_response_single_result": resource_sharing_share_excluded_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, + "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, + "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -319,56 +343,69 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_excluded_recipients_list", + name: "resourceSharing_excludedRecipients_list", title: "List share excluded recipients by share ID", description: "Lists the accounts excluded from an organization-targeted share. Only valid for shares with `target_type=organization`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "page": { - "default": 1, - "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", - "type": "integer" - }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "share_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_excluded_recipient_response_collection", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, - "resource-sharing_share_excluded_recipient_response_collection": resource_sharing_share_excluded_recipient_response_collection_output, - "resource-sharing_share_excluded_recipient_response_collection_result": resource_sharing_share_excluded_recipient_response_collection_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, + "resource-sharing_share_excluded_recipient_response_collection": resource$$sharing_share_excluded_recipient_response_collection, + "resource-sharing_share_excluded_recipient_response_collection_result": resource$$sharing_share_excluded_recipient_response_collection_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -402,59 +439,67 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_excluded_recipient_id": resource_sharing_excluded_recipient_id_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_excluded_recipient_object": resource_sharing_share_excluded_recipient_object_output, - "resource-sharing_share_excluded_recipient_response_collection": resource_sharing_share_excluded_recipient_response_collection_output, - "resource-sharing_share_excluded_recipient_response_collection_result": resource_sharing_share_excluded_recipient_response_collection_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, + "resource-sharing_share_excluded_recipient_response_collection": resource$$sharing_share_excluded_recipient_response_collection, + "resource-sharing_share_excluded_recipient_response_collection_result": resource$$sharing_share_excluded_recipient_response_collection_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/excluded-recipients`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "resource_sharing_excluded_recipients_update", + name: "resourceSharing_excludedRecipients_update", title: "Trigger excluded-account reconciliation on a share", description: "Reconciles a share's excluded recipients to match the given list. Only valid for shares with `target_type=organization`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/resource-sharing_update_share_excluded_recipients_request" }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", + "path", "body" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_create_share_excluded_recipient_request": resource_sharing_create_share_excluded_recipient_request, - "resource-sharing_share_id": resource_sharing_share_id, - "resource-sharing_update_share_excluded_recipients_request": resource_sharing_update_share_excluded_recipients_request, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_create_share_excluded_recipient_request": resource$$sharing_create_share_excluded_recipient_request, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_update_share_excluded_recipients_request": resource$$sharing_update_share_excluded_recipients_request, }, }, annotations: { @@ -485,9 +530,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/resourceSharing/outputs.ts b/src/generated/forge-mcp/resourceSharing/outputs.ts index 7e54bc2cc..042e54cc5 100644 --- a/src/generated/forge-mcp/resourceSharing/outputs.ts +++ b/src/generated/forge-mcp/resourceSharing/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `resource-sharing_share_response_single` in responses. */ -export const resource_sharing_share_response_single_output: JsonSchema = { +export const resource$$sharing_share_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-sharing_api-response-common" @@ -20,7 +20,7 @@ export const resource_sharing_share_response_single_output: JsonSchema = { /** * The schema of `resource-sharing_share_response_single_result` in responses. */ -export const resource_sharing_share_response_single_result_output: JsonSchema = { +export const resource$$sharing_share_response_single_result: JsonSchema = { "properties": { "result": { "$ref": "#/$defs/resource-sharing_share_object" diff --git a/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts b/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts index 8355a4910..34418a004 100644 --- a/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts +++ b/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `resource-sharing_recipient_association_status` in responses. */ -export const resource_sharing_recipient_association_status_output: JsonSchema = { +export const resource$$sharing_recipient_association_status: JsonSchema = { "enum": [ "associating", "associated", @@ -19,14 +19,14 @@ export const resource_sharing_recipient_association_status_output: JsonSchema = /** * The schema of `resource-sharing_recipient_id` in responses. */ -export const resource_sharing_recipient_id_output: JsonSchema = { +export const resource$$sharing_recipient_id: JsonSchema = { "type": "string" }; /** * The schema of `resource-sharing_recipient_resource_error` in responses. */ -export const resource_sharing_recipient_resource_error_output: JsonSchema = { +export const resource$$sharing_recipient_resource_error: JsonSchema = { "type": "string" }; @@ -34,14 +34,14 @@ export const resource_sharing_recipient_resource_error_output: JsonSchema = { * The schema of `resource-sharing_recipient_resource_error_terminal` in * responses. */ -export const resource_sharing_recipient_resource_error_terminal_output: JsonSchema = { +export const resource$$sharing_recipient_resource_error_terminal: JsonSchema = { "type": "boolean" }; /** * The schema of `resource-sharing_share_recipient_object` in responses. */ -export const resource_sharing_share_recipient_object_output: JsonSchema = { +export const resource$$sharing_share_recipient_object: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/resource-sharing_account_id" @@ -79,7 +79,7 @@ export const resource_sharing_share_recipient_object_output: JsonSchema = { * The schema of `resource-sharing_share_recipient_resource_object` in * responses. */ -export const resource_sharing_share_recipient_resource_object_output: JsonSchema = { +export const resource$$sharing_share_recipient_resource_object: JsonSchema = { "properties": { "error": { "$ref": "#/$defs/resource-sharing_recipient_resource_error" @@ -107,7 +107,7 @@ export const resource_sharing_share_recipient_resource_object_output: JsonSchema * The schema of `resource-sharing_share_recipient_response_collection` in * responses. */ -export const resource_sharing_share_recipient_response_collection_output: JsonSchema = { +export const resource$$sharing_share_recipient_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-sharing_api-response-collection" @@ -122,7 +122,7 @@ export const resource_sharing_share_recipient_response_collection_output: JsonSc * The schema of `resource-sharing_share_recipient_response_collection_result` * in responses. */ -export const resource_sharing_share_recipient_response_collection_result_output: JsonSchema = { +export const resource$$sharing_share_recipient_response_collection_result: JsonSchema = { "properties": { "result": { "items": { @@ -138,7 +138,7 @@ export const resource_sharing_share_recipient_response_collection_result_output: * The schema of `resource-sharing_share_recipient_response_single` in * responses. */ -export const resource_sharing_share_recipient_response_single_output: JsonSchema = { +export const resource$$sharing_share_recipient_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-sharing_api-response-common" @@ -153,7 +153,7 @@ export const resource_sharing_share_recipient_response_single_output: JsonSchema * The schema of `resource-sharing_share_recipient_response_single_result` in * responses. */ -export const resource_sharing_share_recipient_response_single_result_output: JsonSchema = { +export const resource$$sharing_share_recipient_response_single_result: JsonSchema = { "properties": { "result": { "$ref": "#/$defs/resource-sharing_share_recipient_object" diff --git a/src/generated/forge-mcp/resourceSharing/recipients/schemas.ts b/src/generated/forge-mcp/resourceSharing/recipients/schemas.ts index 40b8c8de8..904bb45d4 100644 --- a/src/generated/forge-mcp/resourceSharing/recipients/schemas.ts +++ b/src/generated/forge-mcp/resourceSharing/recipients/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `resource-sharing_recipient_id`. */ -export const resource_sharing_recipient_id: JsonSchema = { +export const resource$$sharing_recipient_id: JsonSchema = { "description": "Share Recipient identifier tag.", "type": "string" }; @@ -14,7 +14,7 @@ export const resource_sharing_recipient_id: JsonSchema = { /** * The schema of `resource-sharing_update_share_recipients_request`. */ -export const resource_sharing_update_share_recipients_request: JsonSchema = { +export const resource$$sharing_update_share_recipients_request: JsonSchema = { "items": { "$ref": "#/$defs/resource-sharing_create_share_recipient_request" }, diff --git a/src/generated/forge-mcp/resourceSharing/recipients/tools.ts b/src/generated/forge-mcp/resourceSharing/recipients/tools.ts index 1ce5def9b..e4a71a682 100644 --- a/src/generated/forge-mcp/resourceSharing/recipients/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/recipients/tools.ts @@ -1,98 +1,106 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource_sharing_account_id_output, - resource_sharing_api_response_collection_info_output, - resource_sharing_api_response_collection_output, - resource_sharing_api_response_common_failure_output, - resource_sharing_api_response_common_output, - resource_sharing_created_output, - resource_sharing_modified_output, - resource_sharing_resource_resource_id_output, - resource_sharing_resource_version_output, - resource_sharing_result_info_output, - resource_sharing_v4error_output, - resource_sharing_v4errors_output, + resource$$sharing_account_id, + resource$$sharing_api$$response$$collection, + resource$$sharing_api$$response$$collection$$info, + resource$$sharing_api$$response$$common, + resource$$sharing_api$$response$$common$$failure, + resource$$sharing_created, + resource$$sharing_modified, + resource$$sharing_resource_resource_id, + resource$$sharing_resource_version, + resource$$sharing_result_info, + resource$$sharing_v4error, + resource$$sharing_v4errors, } from "../../outputs.js"; import { - resource_sharing_account_id, - resource_sharing_organization_id, - resource_sharing_share_id, + resource$$sharing_account_id as resource$$sharing_account_id$, + resource$$sharing_organization_id, + resource$$sharing_share_id, } from "../../schemas.js"; -import { resource_sharing_create_share_recipient_request } from "../schemas.js"; +import { resource$$sharing_create_share_recipient_request } from "../schemas.js"; import { - resource_sharing_recipient_association_status_output, - resource_sharing_recipient_id_output, - resource_sharing_recipient_resource_error_output, - resource_sharing_recipient_resource_error_terminal_output, - resource_sharing_share_recipient_object_output, - resource_sharing_share_recipient_resource_object_output, - resource_sharing_share_recipient_response_collection_output, - resource_sharing_share_recipient_response_collection_result_output, - resource_sharing_share_recipient_response_single_output, - resource_sharing_share_recipient_response_single_result_output, + resource$$sharing_recipient_association_status, + resource$$sharing_recipient_id, + resource$$sharing_recipient_resource_error, + resource$$sharing_recipient_resource_error_terminal, + resource$$sharing_share_recipient_object, + resource$$sharing_share_recipient_resource_object, + resource$$sharing_share_recipient_response_collection, + resource$$sharing_share_recipient_response_collection_result, + resource$$sharing_share_recipient_response_single, + resource$$sharing_share_recipient_response_single_result, } from "./outputs.js"; import { - resource_sharing_recipient_id, - resource_sharing_update_share_recipients_request, + resource$$sharing_recipient_id as resource$$sharing_recipient_id$, + resource$$sharing_update_share_recipients_request, } from "./schemas.js"; /** - * The tools of `resource_sharing.recipients`. + * The tools of `resourceSharing.recipients`. */ export const tools: readonly Tool[] = [ { - name: "resource_sharing_recipients_create", + name: "resourceSharing_recipients_create", title: "Trigger a recipient addition to a share", description: "Adds a single recipient to an account-targeted resource share, granting\nthem access to the shared resources. The recipient account must belong\nto the same organization as the share owner.\n\nTo replace the entire recipient list in one call, use\n`PUT /accounts/{account_id}/shares/{share_id}/recipients` instead.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/resource-sharing_create_share_recipient_request" }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", + "path", "body" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_create_share_recipient_request": resource_sharing_create_share_recipient_request, - "resource-sharing_organization_id": resource_sharing_organization_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_create_share_recipient_request": resource$$sharing_create_share_recipient_request, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_recipient_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, - "resource-sharing_recipient_id": resource_sharing_recipient_id_output, - "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, - "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, - "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, - "resource-sharing_share_recipient_response_single": resource_sharing_share_recipient_response_single_output, - "resource-sharing_share_recipient_response_single_result": resource_sharing_share_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, + "resource-sharing_recipient_id": resource$$sharing_recipient_id, + "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, + "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, + "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, + "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, + "resource-sharing_share_recipient_response_single_result": resource$$sharing_share_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -126,23 +134,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, - "resource-sharing_recipient_id": resource_sharing_recipient_id_output, - "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, - "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, - "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, - "resource-sharing_share_recipient_response_single": resource_sharing_share_recipient_response_single_output, - "resource-sharing_share_recipient_response_single_result": resource_sharing_share_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, + "resource-sharing_recipient_id": resource$$sharing_recipient_id, + "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, + "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, + "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, + "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, + "resource-sharing_share_recipient_response_single_result": resource$$sharing_share_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -151,55 +159,63 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_recipients_delete", + name: "resourceSharing_recipients_delete", title: "Trigger a recipient removal from a share", description: "Performs a **soft delete**: sets the recipient's\n`desired_association_status` to `disassociated`, which signals the\nbackground reconciliation workflow (Temporal) to remove the shared\nresources from the recipient account. The recipient record remains in\nthe database for audit purposes and is still returned by\n`GET /accounts/{account_id}/shares/{share_id}/recipients` with its\nupdated status.\n\nResource access is not fully removed until the workflow completes and\n`current_association_status` transitions to `disassociated`. The\nrecipient record itself is never physically deleted.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "recipient_id": { - "$ref": "#/$defs/resource-sharing_recipient_id", - "description": "Share Recipient identifier tag." - }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "recipient_id": { + "$ref": "#/$defs/resource-sharing_recipient_id", + "description": "Share Recipient identifier tag." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id", + "recipient_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", - "recipient_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_recipient_id": resource_sharing_recipient_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_recipient_id": resource$$sharing_recipient_id$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_recipient_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, - "resource-sharing_recipient_id": resource_sharing_recipient_id_output, - "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, - "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, - "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, - "resource-sharing_share_recipient_response_single": resource_sharing_share_recipient_response_single_output, - "resource-sharing_share_recipient_response_single_result": resource_sharing_share_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, + "resource-sharing_recipient_id": resource$$sharing_recipient_id, + "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, + "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, + "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, + "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, + "resource-sharing_share_recipient_response_single_result": resource$$sharing_share_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -233,23 +249,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, - "resource-sharing_recipient_id": resource_sharing_recipient_id_output, - "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, - "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, - "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, - "resource-sharing_share_recipient_response_single": resource_sharing_share_recipient_response_single_output, - "resource-sharing_share_recipient_response_single_result": resource_sharing_share_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, + "resource-sharing_recipient_id": resource$$sharing_recipient_id, + "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, + "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, + "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, + "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, + "resource-sharing_share_recipient_response_single_result": resource$$sharing_share_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -257,59 +273,72 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_recipients_get", + name: "resourceSharing_recipients_get", title: "Get share recipient by ID", description: "Get share recipient by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "include_resources": { - "description": "Include resources in the response.", - "type": "boolean" - }, - "recipient_id": { - "$ref": "#/$defs/resource-sharing_recipient_id", - "description": "Share Recipient identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "recipient_id": { + "$ref": "#/$defs/resource-sharing_recipient_id", + "description": "Share Recipient identifier tag." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id", + "recipient_id" + ], + "type": "object" }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "query": { + "properties": { + "include_resources": { + "description": "Include resources in the response.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "share_id", - "recipient_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_recipient_id": resource_sharing_recipient_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_recipient_id": resource$$sharing_recipient_id$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_recipient_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, - "resource-sharing_recipient_id": resource_sharing_recipient_id_output, - "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, - "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, - "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, - "resource-sharing_share_recipient_response_single": resource_sharing_share_recipient_response_single_output, - "resource-sharing_share_recipient_response_single_result": resource_sharing_share_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, + "resource-sharing_recipient_id": resource$$sharing_recipient_id, + "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, + "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, + "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, + "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, + "resource-sharing_share_recipient_response_single_result": resource$$sharing_share_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -343,93 +372,106 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, - "resource-sharing_recipient_id": resource_sharing_recipient_id_output, - "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, - "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, - "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, - "resource-sharing_share_recipient_response_single": resource_sharing_share_recipient_response_single_output, - "resource-sharing_share_recipient_response_single_result": resource_sharing_share_recipient_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, + "resource-sharing_recipient_id": resource$$sharing_recipient_id, + "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, + "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, + "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, + "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, + "resource-sharing_share_recipient_response_single_result": resource$$sharing_share_recipient_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/recipients/${pathParam(args, "recipient_id")}`, query: [ - ["include_resources", args["include_resources"], true], + ["include_resources", param(args, "query", "include_resources"), true], ], }), }, { - name: "resource_sharing_recipients_list", + name: "resourceSharing_recipients_list", title: "List share recipients by share ID", description: "List share recipients by share ID. Returns **all** recipients\nregardless of their `association_status` (associating, associated,\ndisassociating, disassociated). Callers that want only \"active\"\nrecipients must filter client-side on the `association_status` field.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" }, - "include_resources": { - "description": "Include resources in the response.", - "type": "boolean" - }, - "page": { - "default": 1, - "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", - "type": "integer" - }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "query": { + "properties": { + "include_resources": { + "description": "Include resources in the response.", + "type": "boolean" + }, + "page": { + "default": 1, + "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "share_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_recipient_response_collection", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, - "resource-sharing_recipient_id": resource_sharing_recipient_id_output, - "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, - "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, - "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, - "resource-sharing_share_recipient_response_collection": resource_sharing_share_recipient_response_collection_output, - "resource-sharing_share_recipient_response_collection_result": resource_sharing_share_recipient_response_collection_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, + "resource-sharing_recipient_id": resource$$sharing_recipient_id, + "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, + "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, + "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, + "resource-sharing_share_recipient_response_collection": resource$$sharing_share_recipient_response_collection, + "resource-sharing_share_recipient_response_collection_result": resource$$sharing_share_recipient_response_collection_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -463,67 +505,75 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_recipient_association_status": resource_sharing_recipient_association_status_output, - "resource-sharing_recipient_id": resource_sharing_recipient_id_output, - "resource-sharing_recipient_resource_error": resource_sharing_recipient_resource_error_output, - "resource-sharing_recipient_resource_error_terminal": resource_sharing_recipient_resource_error_terminal_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_recipient_object": resource_sharing_share_recipient_object_output, - "resource-sharing_share_recipient_resource_object": resource_sharing_share_recipient_resource_object_output, - "resource-sharing_share_recipient_response_collection": resource_sharing_share_recipient_response_collection_output, - "resource-sharing_share_recipient_response_collection_result": resource_sharing_share_recipient_response_collection_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, + "resource-sharing_recipient_id": resource$$sharing_recipient_id, + "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, + "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, + "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, + "resource-sharing_share_recipient_response_collection": resource$$sharing_share_recipient_response_collection, + "resource-sharing_share_recipient_response_collection_result": resource$$sharing_share_recipient_response_collection_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/recipients`, query: [ - ["include_resources", args["include_resources"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["include_resources", param(args, "query", "include_resources"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "resource_sharing_recipients_update", + name: "resourceSharing_recipients_update", title: "Trigger recipient reconciliation on a share", description: "Replaces the full recipient list for an account-targeted share. The\nserver computes the diff between the current and desired recipients:\nnew accounts are added, accounts no longer in the list are marked for\ndisassociation, and unchanged accounts are left as-is.\n\nReturns an error if the share targets an organization\n(`target_type=organization`); org-targeted shares derive their\nrecipients dynamically from org membership and cannot be modified\nthrough this endpoint.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/resource-sharing_update_share_recipients_request" }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", + "path", "body" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_create_share_recipient_request": resource_sharing_create_share_recipient_request, - "resource-sharing_organization_id": resource_sharing_organization_id, - "resource-sharing_share_id": resource_sharing_share_id, - "resource-sharing_update_share_recipients_request": resource_sharing_update_share_recipients_request, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_create_share_recipient_request": resource$$sharing_create_share_recipient_request, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_update_share_recipients_request": resource$$sharing_update_share_recipients_request, }, }, annotations: { @@ -554,9 +604,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/resourceSharing/resources/outputs.ts b/src/generated/forge-mcp/resourceSharing/resources/outputs.ts index a9c6773d7..9e0f92acd 100644 --- a/src/generated/forge-mcp/resourceSharing/resources/outputs.ts +++ b/src/generated/forge-mcp/resourceSharing/resources/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `resource-sharing_share_resource_response_collection` in * responses. */ -export const resource_sharing_share_resource_response_collection_output: JsonSchema = { +export const resource$$sharing_share_resource_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-sharing_api-response-collection" @@ -22,7 +22,7 @@ export const resource_sharing_share_resource_response_collection_output: JsonSch * The schema of `resource-sharing_share_resource_response_collection_result` in * responses. */ -export const resource_sharing_share_resource_response_collection_result_output: JsonSchema = { +export const resource$$sharing_share_resource_response_collection_result: JsonSchema = { "properties": { "result": { "items": { @@ -37,7 +37,7 @@ export const resource_sharing_share_resource_response_collection_result_output: /** * The schema of `resource-sharing_share_resource_response_single` in responses. */ -export const resource_sharing_share_resource_response_single_output: JsonSchema = { +export const resource$$sharing_share_resource_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-sharing_api-response-common" @@ -52,7 +52,7 @@ export const resource_sharing_share_resource_response_single_output: JsonSchema * The schema of `resource-sharing_share_resource_response_single_result` in * responses. */ -export const resource_sharing_share_resource_response_single_result_output: JsonSchema = { +export const resource$$sharing_share_resource_response_single_result: JsonSchema = { "properties": { "result": { "$ref": "#/$defs/resource-sharing_share_resource_object" diff --git a/src/generated/forge-mcp/resourceSharing/resources/schemas.ts b/src/generated/forge-mcp/resourceSharing/resources/schemas.ts index fb2bad410..328cce226 100644 --- a/src/generated/forge-mcp/resourceSharing/resources/schemas.ts +++ b/src/generated/forge-mcp/resourceSharing/resources/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `resource-sharing_update_share_resource_request`. */ -export const resource_sharing_update_share_resource_request: JsonSchema = { +export const resource$$sharing_update_share_resource_request: JsonSchema = { "properties": { "meta": { "$ref": "#/$defs/resource-sharing_resource_meta", diff --git a/src/generated/forge-mcp/resourceSharing/resources/tools.ts b/src/generated/forge-mcp/resourceSharing/resources/tools.ts index e5562366b..71da200c7 100644 --- a/src/generated/forge-mcp/resourceSharing/resources/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/resources/tools.ts @@ -1,99 +1,107 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource_sharing_account_id_output, - resource_sharing_api_response_collection_info_output, - resource_sharing_api_response_collection_output, - resource_sharing_api_response_common_failure_output, - resource_sharing_api_response_common_output, - resource_sharing_created_output, - resource_sharing_modified_output, - resource_sharing_resource_id_output, - resource_sharing_resource_meta_output, - resource_sharing_resource_resource_id_output, - resource_sharing_resource_status_output, - resource_sharing_resource_type_output, - resource_sharing_resource_version_output, - resource_sharing_result_info_output, - resource_sharing_share_resource_object_output, - resource_sharing_v4error_output, - resource_sharing_v4errors_output, + resource$$sharing_account_id, + resource$$sharing_api$$response$$collection, + resource$$sharing_api$$response$$collection$$info, + resource$$sharing_api$$response$$common, + resource$$sharing_api$$response$$common$$failure, + resource$$sharing_created, + resource$$sharing_modified, + resource$$sharing_resource_id, + resource$$sharing_resource_meta, + resource$$sharing_resource_resource_id, + resource$$sharing_resource_status, + resource$$sharing_resource_type, + resource$$sharing_resource_version, + resource$$sharing_result_info, + resource$$sharing_share_resource_object, + resource$$sharing_v4error, + resource$$sharing_v4errors, } from "../../outputs.js"; import { - resource_sharing_account_id, - resource_sharing_resource_id, - resource_sharing_resource_meta, - resource_sharing_resource_resource_id, - resource_sharing_resource_status, - resource_sharing_resource_type, - resource_sharing_share_id, + resource$$sharing_account_id as resource$$sharing_account_id$, + resource$$sharing_resource_id as resource$$sharing_resource_id$, + resource$$sharing_resource_meta as resource$$sharing_resource_meta$, + resource$$sharing_resource_resource_id as resource$$sharing_resource_resource_id$, + resource$$sharing_resource_status as resource$$sharing_resource_status$, + resource$$sharing_resource_type as resource$$sharing_resource_type$, + resource$$sharing_share_id, } from "../../schemas.js"; -import { resource_sharing_create_share_resource_request } from "../schemas.js"; +import { resource$$sharing_create_share_resource_request } from "../schemas.js"; import { - resource_sharing_share_resource_response_collection_output, - resource_sharing_share_resource_response_collection_result_output, - resource_sharing_share_resource_response_single_output, - resource_sharing_share_resource_response_single_result_output, + resource$$sharing_share_resource_response_collection, + resource$$sharing_share_resource_response_collection_result, + resource$$sharing_share_resource_response_single, + resource$$sharing_share_resource_response_single_result, } from "./outputs.js"; -import { resource_sharing_update_share_resource_request } from "./schemas.js"; +import { resource$$sharing_update_share_resource_request } from "./schemas.js"; /** - * The tools of `resource_sharing.resources`. + * The tools of `resourceSharing.resources`. */ export const tools: readonly Tool[] = [ { - name: "resource_sharing_resources_create", + name: "resourceSharing_resources_create", title: "Trigger a resource addition to a share", description: "Adds a resource to an existing share, making it available to share recipients.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/resource-sharing_create_share_resource_request" }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", + "path", "body" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_create_share_resource_request": resource_sharing_create_share_resource_request, - "resource-sharing_resource_meta": resource_sharing_resource_meta, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id, - "resource-sharing_resource_type": resource_sharing_resource_type, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_create_share_resource_request": resource$$sharing_create_share_resource_request, + "resource-sharing_resource_meta": resource$$sharing_resource_meta$, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id$, + "resource-sharing_resource_type": resource$$sharing_resource_type$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_single": resource_sharing_share_resource_response_single_output, - "resource-sharing_share_resource_response_single_result": resource_sharing_share_resource_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, + "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -127,22 +135,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_single": resource_sharing_share_resource_response_single_output, - "resource-sharing_share_resource_response_single_result": resource_sharing_share_resource_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, + "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -151,54 +159,62 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_resources_delete", + name: "resourceSharing_resources_delete", title: "Trigger a resource deletion from a share", description: "Deletion is not immediate, an updated share resource object with a new status will be returned.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." - }, - "share_resource_id": { - "$ref": "#/$defs/resource-sharing_resource_id", - "description": "Share Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + }, + "share_resource_id": { + "$ref": "#/$defs/resource-sharing_resource_id", + "description": "Share Resource identifier." + } + }, + "required": [ + "account_id", + "share_id", + "share_resource_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", - "share_resource_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_resource_id": resource_sharing_resource_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_resource_id": resource$$sharing_resource_id$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_single": resource_sharing_share_resource_response_single_output, - "resource-sharing_share_resource_response_single_result": resource_sharing_share_resource_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, + "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -232,22 +248,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_single": resource_sharing_share_resource_response_single_output, - "resource-sharing_share_resource_response_single_result": resource_sharing_share_resource_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, + "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -255,54 +271,62 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_resources_get", + name: "resourceSharing_resources_get", title: "Get share resource by ID", description: "Get share resource by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." - }, - "share_resource_id": { - "$ref": "#/$defs/resource-sharing_resource_id", - "description": "Share Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + }, + "share_resource_id": { + "$ref": "#/$defs/resource-sharing_resource_id", + "description": "Share Resource identifier." + } + }, + "required": [ + "account_id", + "share_id", + "share_resource_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", - "share_resource_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_resource_id": resource_sharing_resource_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_resource_id": resource$$sharing_resource_id$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_single": resource_sharing_share_resource_response_single_output, - "resource-sharing_share_resource_response_single_result": resource_sharing_share_resource_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, + "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -336,22 +360,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_single": resource_sharing_share_resource_response_single_output, - "resource-sharing_share_resource_response_single_result": resource_sharing_share_resource_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, + "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -359,71 +383,84 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_resources_list", + name: "resourceSharing_resources_list", title: "List share resources by share ID", description: "List share resources by share ID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "page": { - "default": 1, - "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", - "type": "integer" - }, - "resource_type": { - "$ref": "#/$defs/resource-sharing_resource_type", - "description": "Filter share resources by resource_type." - }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." - }, - "status": { - "$ref": "#/$defs/resource-sharing_resource_status", - "description": "Filter share resources by status." + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", + "type": "integer" + }, + "resource_type": { + "$ref": "#/$defs/resource-sharing_resource_type", + "description": "Filter share resources by resource_type." + }, + "status": { + "$ref": "#/$defs/resource-sharing_resource_status", + "description": "Filter share resources by status." + } + }, + "type": "object" } }, required: [ - "account_id", - "share_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_resource_status": resource_sharing_resource_status, - "resource-sharing_resource_type": resource_sharing_resource_type, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_resource_status": resource$$sharing_resource_status$, + "resource-sharing_resource_type": resource$$sharing_resource_type$, + "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_collection", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_collection": resource_sharing_share_resource_response_collection_output, - "resource-sharing_share_resource_response_collection_result": resource_sharing_share_resource_response_collection_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_collection": resource$$sharing_share_resource_response_collection, + "resource-sharing_share_resource_response_collection_result": resource$$sharing_share_resource_response_collection_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -457,92 +494,100 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_collection": resource_sharing_share_resource_response_collection_output, - "resource-sharing_share_resource_response_collection_result": resource_sharing_share_resource_response_collection_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_collection": resource$$sharing_share_resource_response_collection, + "resource-sharing_share_resource_response_collection_result": resource$$sharing_share_resource_response_collection_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}/resources`, query: [ - ["status", args["status"], true], - ["resource_type", args["resource_type"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["status", param(args, "query", "status"), true], + ["resource_type", param(args, "query", "resource_type"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "resource_sharing_resources_update", + name: "resourceSharing_resources_update", title: "Trigger a resource metadata update in a share", description: "Update is not immediate, an updated share resource object with a new status will be returned.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/resource-sharing_update_share_resource_request" }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." - }, - "share_resource_id": { - "$ref": "#/$defs/resource-sharing_resource_id", - "description": "Share Resource identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + }, + "share_resource_id": { + "$ref": "#/$defs/resource-sharing_resource_id", + "description": "Share Resource identifier." + } + }, + "required": [ + "account_id", + "share_id", + "share_resource_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", - "share_resource_id", + "path", "body" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_resource_id": resource_sharing_resource_id, - "resource-sharing_resource_meta": resource_sharing_resource_meta, - "resource-sharing_share_id": resource_sharing_share_id, - "resource-sharing_update_share_resource_request": resource_sharing_update_share_resource_request, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_resource_id": resource$$sharing_resource_id$, + "resource-sharing_resource_meta": resource$$sharing_resource_meta$, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_update_share_resource_request": resource$$sharing_update_share_resource_request, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_single": resource_sharing_share_resource_response_single_output, - "resource-sharing_share_resource_response_single_result": resource_sharing_share_resource_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, + "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -575,22 +620,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_resource_response_single": resource_sharing_share_resource_response_single_output, - "resource-sharing_share_resource_response_single_result": resource_sharing_share_resource_response_single_result_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, + "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/resourceSharing/schemas.ts b/src/generated/forge-mcp/resourceSharing/schemas.ts index dd13a9877..e8cea95e2 100644 --- a/src/generated/forge-mcp/resourceSharing/schemas.ts +++ b/src/generated/forge-mcp/resourceSharing/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `resource-sharing_create_share_recipient_request`. */ -export const resource_sharing_create_share_recipient_request: JsonSchema = { +export const resource$$sharing_create_share_recipient_request: JsonSchema = { "description": "Optionally specify `recipient_account_id` to target a specific account, or `organization_id` to target the caller's whole organization. If neither is provided, the caller's organization is used.\nThe legacy field `account_id` is accepted as a synonym for `recipient_account_id` during the deprecation period (see `x-sunset` on that field).\n", "properties": { "account_id": { @@ -29,7 +29,7 @@ export const resource_sharing_create_share_recipient_request: JsonSchema = { /** * The schema of `resource-sharing_create_share_request`. */ -export const resource_sharing_create_share_request: JsonSchema = { +export const resource$$sharing_create_share_request: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/resource-sharing_share_name", @@ -59,7 +59,7 @@ export const resource_sharing_create_share_request: JsonSchema = { /** * The schema of `resource-sharing_create_share_resource_request`. */ -export const resource_sharing_create_share_resource_request: JsonSchema = { +export const resource$$sharing_create_share_resource_request: JsonSchema = { "properties": { "meta": { "$ref": "#/$defs/resource-sharing_resource_meta", @@ -90,7 +90,7 @@ export const resource_sharing_create_share_resource_request: JsonSchema = { /** * The schema of `resource-sharing_update_share_request`. */ -export const resource_sharing_update_share_request: JsonSchema = { +export const resource$$sharing_update_share_request: JsonSchema = { "description": "Request body for `PUT /accounts/{account_id}/shares/{share_id}`. The\nshare's display `name` and `tags` can be updated via this endpoint. To\nmodify recipients, use the\n`/accounts/{account_id}/shares/{share_id}/recipients` subresource\nendpoints (POST, PUT, DELETE).\n", "properties": { "name": { diff --git a/src/generated/forge-mcp/resourceSharing/tools.ts b/src/generated/forge-mcp/resourceSharing/tools.ts index 6c0477acd..4c7f109a1 100644 --- a/src/generated/forge-mcp/resourceSharing/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/tools.ts @@ -1,120 +1,128 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - resource_sharing_account_id_output, - resource_sharing_account_name_output, - resource_sharing_api_response_collection_info_output, - resource_sharing_api_response_collection_output, - resource_sharing_api_response_common_failure_output, - resource_sharing_api_response_common_output, - resource_sharing_created_output, - resource_sharing_modified_output, - resource_sharing_organization_id_output, - resource_sharing_resource_id_output, - resource_sharing_resource_meta_output, - resource_sharing_resource_resource_id_output, - resource_sharing_resource_status_output, - resource_sharing_resource_type_output, - resource_sharing_resource_version_output, - resource_sharing_result_info_output, - resource_sharing_share_id_output, - resource_sharing_share_kind_output, - resource_sharing_share_name_output, - resource_sharing_share_object_output, - resource_sharing_share_resource_object_output, - resource_sharing_share_response_collection_output, - resource_sharing_share_response_collection_result_output, - resource_sharing_share_status_output, - resource_sharing_share_target_type_output, - resource_sharing_v4error_output, - resource_sharing_v4errors_output, + resource$$sharing_account_id, + resource$$sharing_account_name, + resource$$sharing_api$$response$$collection, + resource$$sharing_api$$response$$collection$$info, + resource$$sharing_api$$response$$common, + resource$$sharing_api$$response$$common$$failure, + resource$$sharing_created, + resource$$sharing_modified, + resource$$sharing_organization_id, + resource$$sharing_resource_id, + resource$$sharing_resource_meta, + resource$$sharing_resource_resource_id, + resource$$sharing_resource_status, + resource$$sharing_resource_type, + resource$$sharing_resource_version, + resource$$sharing_result_info, + resource$$sharing_share_id, + resource$$sharing_share_kind, + resource$$sharing_share_name, + resource$$sharing_share_object, + resource$$sharing_share_resource_object, + resource$$sharing_share_response_collection, + resource$$sharing_share_response_collection_result, + resource$$sharing_share_status, + resource$$sharing_share_target_type, + resource$$sharing_v4error, + resource$$sharing_v4errors, } from "../outputs.js"; import { - resource_sharing_account_id, - resource_sharing_organization_id, - resource_sharing_resource_meta, - resource_sharing_resource_resource_id, - resource_sharing_resource_type, - resource_sharing_share_id, - resource_sharing_share_kind, - resource_sharing_share_name, - resource_sharing_share_status, - resource_sharing_share_target_type, + resource$$sharing_account_id as resource$$sharing_account_id$, + resource$$sharing_organization_id as resource$$sharing_organization_id$, + resource$$sharing_resource_meta as resource$$sharing_resource_meta$, + resource$$sharing_resource_resource_id as resource$$sharing_resource_resource_id$, + resource$$sharing_resource_type as resource$$sharing_resource_type$, + resource$$sharing_share_id as resource$$sharing_share_id$, + resource$$sharing_share_kind as resource$$sharing_share_kind$, + resource$$sharing_share_name as resource$$sharing_share_name$, + resource$$sharing_share_status as resource$$sharing_share_status$, + resource$$sharing_share_target_type as resource$$sharing_share_target_type$, } from "../schemas.js"; import { - resource_sharing_share_response_single_output, - resource_sharing_share_response_single_result_output, + resource$$sharing_share_response_single, + resource$$sharing_share_response_single_result, } from "./outputs.js"; import { - resource_sharing_create_share_recipient_request, - resource_sharing_create_share_request, - resource_sharing_create_share_resource_request, - resource_sharing_update_share_request, + resource$$sharing_create_share_recipient_request, + resource$$sharing_create_share_request, + resource$$sharing_create_share_resource_request, + resource$$sharing_update_share_request, } from "./schemas.js"; /** - * The tools of `resource_sharing`. + * The tools of `resourceSharing`. */ export const tools: readonly Tool[] = [ { - name: "resource_sharing_create", + name: "resourceSharing_create", title: "Trigger a share creation", description: "Creates a new resource share for sharing Cloudflare resources with other accounts or organizations.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/resource-sharing_create_share_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_create_share_recipient_request": resource_sharing_create_share_recipient_request, - "resource-sharing_create_share_request": resource_sharing_create_share_request, - "resource-sharing_create_share_resource_request": resource_sharing_create_share_resource_request, - "resource-sharing_organization_id": resource_sharing_organization_id, - "resource-sharing_resource_meta": resource_sharing_resource_meta, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id, - "resource-sharing_resource_type": resource_sharing_resource_type, - "resource-sharing_share_name": resource_sharing_share_name, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_create_share_recipient_request": resource$$sharing_create_share_recipient_request, + "resource-sharing_create_share_request": resource$$sharing_create_share_request, + "resource-sharing_create_share_resource_request": resource$$sharing_create_share_resource_request, + "resource-sharing_organization_id": resource$$sharing_organization_id$, + "resource-sharing_resource_meta": resource$$sharing_resource_meta$, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id$, + "resource-sharing_resource_type": resource$$sharing_resource_type$, + "resource-sharing_share_name": resource$$sharing_share_name$, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_single": resource_sharing_share_response_single_output, - "resource-sharing_share_response_single_result": resource_sharing_share_response_single_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_single": resource$$sharing_share_response_single, + "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -148,30 +156,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_single": resource_sharing_share_response_single_output, - "resource-sharing_share_response_single_result": resource_sharing_share_response_single_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_single": resource$$sharing_share_response_single, + "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -180,56 +188,64 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_delete", + name: "resourceSharing_delete", title: "Trigger a share deletion", description: "Deletion is not immediate, an updated share object with a new status will be returned.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_share_id": resource$$sharing_share_id$, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_single": resource_sharing_share_response_single_output, - "resource-sharing_share_response_single_result": resource_sharing_share_response_single_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_single": resource$$sharing_share_response_single, + "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -263,30 +279,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_single": resource_sharing_share_response_single_output, - "resource-sharing_share_response_single_result": resource_sharing_share_response_single_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_single": resource$$sharing_share_response_single, + "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ @@ -294,64 +310,77 @@ export const tools: readonly Tool[] = [ }), }, { - name: "resource_sharing_get", + name: "resourceSharing_get", title: "Get account share by ID", description: "Fetches share by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "include_recipient_counts": { - "description": "Include recipient counts in the response.", - "type": "boolean" - }, - "include_resources": { - "description": "Include resources in the response.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "query": { + "properties": { + "include_recipient_counts": { + "description": "Include recipient counts in the response.", + "type": "boolean" + }, + "include_resources": { + "description": "Include resources in the response.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "share_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_share_id": resource_sharing_share_id, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_share_id": resource$$sharing_share_id$, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_single": resource_sharing_share_response_single_output, - "resource-sharing_share_response_single_result": resource_sharing_share_response_single_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_single": resource$$sharing_share_response_single, + "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -392,155 +421,168 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_single": resource_sharing_share_response_single_output, - "resource-sharing_share_response_single_result": resource_sharing_share_response_single_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_single": resource$$sharing_share_response_single, + "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares/${pathParam(args, "share_id")}`, query: [ - ["include_resources", args["include_resources"], true], - ["include_recipient_counts", args["include_recipient_counts"], true], + ["include_resources", param(args, "query", "include_resources"), true], + ["include_recipient_counts", param(args, "query", "include_recipient_counts"), true], ], }), }, { - name: "resource_sharing_list", + name: "resourceSharing_list", title: "List account shares", description: "Lists all account shares.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, - "direction": { - "default": "asc", - "description": "Direction to sort objects.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "include_recipient_counts": { - "description": "Include recipient counts in the response.", - "type": "boolean" - }, - "include_resources": { - "description": "Include resources in the response.", - "type": "boolean" - }, - "kind": { - "$ref": "#/$defs/resource-sharing_share_kind", - "description": "Filter shares by kind." - }, - "order": { - "default": "created", - "description": "Order shares by values in the given field.", - "enum": [ - "name", - "created" - ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", - "type": "integer" - }, - "resource_types": { - "description": "Filter share resources by resource_types.", - "items": { - "$ref": "#/$defs/resource-sharing_resource_type" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + } }, - "type": "array" - }, - "status": { - "$ref": "#/$defs/resource-sharing_share_status", - "description": "Filter shares by status." + "required": [ + "account_id" + ], + "type": "object" }, - "tag": { - "description": "Filter shares by tag. Each value is either `key=value` (matches shares whose tags contain that key/value pair) or `key` alone (matches shares that have any value for that key). May be repeated; multiple `tag` parameters are ANDed together. Maximum 20 `tag` parameters per request.", - "items": { - "type": "string" + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "Direction to sort objects.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "include_recipient_counts": { + "description": "Include recipient counts in the response.", + "type": "boolean" + }, + "include_resources": { + "description": "Include resources in the response.", + "type": "boolean" + }, + "kind": { + "$ref": "#/$defs/resource-sharing_share_kind", + "description": "Filter shares by kind." + }, + "order": { + "default": "created", + "description": "Order shares by values in the given field.", + "enum": [ + "name", + "created" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number. Defaults to `1` when `per_page` is supplied without\n`page`. May be omitted entirely along with `per_page` to receive a\nnon-paginated response.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of objects to return per page. Defaults to `20` when `page` is supplied without `per_page`. May be omitted entirely along with `page` to receive a non-paginated response.", + "type": "integer" + }, + "resource_types": { + "description": "Filter share resources by resource_types.", + "items": { + "$ref": "#/$defs/resource-sharing_resource_type" + }, + "type": "array" + }, + "status": { + "$ref": "#/$defs/resource-sharing_share_status", + "description": "Filter shares by status." + }, + "tag": { + "description": "Filter shares by tag. Each value is either `key=value` (matches shares whose tags contain that key/value pair) or `key` alone (matches shares that have any value for that key). May be repeated; multiple `tag` parameters are ANDed together. Maximum 20 `tag` parameters per request.", + "items": { + "type": "string" + }, + "maxItems": 20, + "type": "array" + }, + "target_type": { + "$ref": "#/$defs/resource-sharing_share_target_type", + "description": "Filter shares by target_type." + } }, - "maxItems": 20, - "type": "array" - }, - "target_type": { - "$ref": "#/$defs/resource-sharing_share_target_type", - "description": "Filter shares by target_type." + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_resource_type": resource_sharing_resource_type, - "resource-sharing_share_kind": resource_sharing_share_kind, - "resource-sharing_share_status": resource_sharing_share_status, - "resource-sharing_share_target_type": resource_sharing_share_target_type, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_resource_type": resource$$sharing_resource_type$, + "resource-sharing_share_kind": resource$$sharing_share_kind$, + "resource-sharing_share_status": resource$$sharing_share_status$, + "resource-sharing_share_target_type": resource$$sharing_share_target_type$, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_collection", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_collection": resource_sharing_share_response_collection_output, - "resource-sharing_share_response_collection_result": resource_sharing_share_response_collection_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_collection": resource$$sharing_share_response_collection, + "resource-sharing_share_response_collection_result": resource$$sharing_share_response_collection_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -582,109 +624,117 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-collection": resource_sharing_api_response_collection_output, - "resource-sharing_api-response-collection-info": resource_sharing_api_response_collection_info_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_result_info": resource_sharing_result_info_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_collection": resource_sharing_share_response_collection_output, - "resource-sharing_share_response_collection_result": resource_sharing_share_response_collection_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, + "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_result_info": resource$$sharing_result_info, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_collection": resource$$sharing_share_response_collection, + "resource-sharing_share_response_collection_result": resource$$sharing_share_response_collection_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/shares`, query: [ - ["status", args["status"], true], - ["kind", args["kind"], true], - ["target_type", args["target_type"], true], - ["resource_types", args["resource_types"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["include_resources", args["include_resources"], true], - ["include_recipient_counts", args["include_recipient_counts"], true], - ["tag", args["tag"], true], + ["status", param(args, "query", "status"), true], + ["kind", param(args, "query", "kind"), true], + ["target_type", param(args, "query", "target_type"), true], + ["resource_types", param(args, "query", "resource_types"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["include_resources", param(args, "query", "include_resources"), true], + ["include_recipient_counts", param(args, "query", "include_recipient_counts"), true], + ["tag", param(args, "query", "tag"), true], ], }), }, { - name: "resource_sharing_update", + name: "resourceSharing_update", title: "Trigger a share rename", description: "Updates the share's display name and tags. This endpoint does **not**\nmodify recipients or resources — those are managed via dedicated\nsubresource endpoints:\n\n- **Recipients**: Use `POST /accounts/{account_id}/shares/{share_id}/recipients`\n to add a single recipient, `PUT /accounts/{account_id}/shares/{share_id}/recipients`\n to replace the full recipient list, or\n `DELETE /accounts/{account_id}/shares/{share_id}/recipients/{recipient_id}`\n to remove a recipient.\n- **Resources**: Use the share's resource subresource endpoints.\n\nUpdating is not immediate; an updated share object with a new status\nwill be returned.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/resource-sharing_update_share_request" }, - "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-sharing_account_id", + "description": "Account identifier." + }, + "share_id": { + "$ref": "#/$defs/resource-sharing_share_id", + "description": "Share identifier tag." + } + }, + "required": [ + "account_id", + "share_id" + ], + "type": "object" } }, required: [ - "account_id", - "share_id", + "path", "body" ], $defs: { - "resource-sharing_account_id": resource_sharing_account_id, - "resource-sharing_share_id": resource_sharing_share_id, - "resource-sharing_share_name": resource_sharing_share_name, - "resource-sharing_update_share_request": resource_sharing_update_share_request, + "resource-sharing_account_id": resource$$sharing_account_id$, + "resource-sharing_share_id": resource$$sharing_share_id$, + "resource-sharing_share_name": resource$$sharing_share_name$, + "resource-sharing_update_share_request": resource$$sharing_update_share_request, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_single", $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_single": resource_sharing_share_response_single_output, - "resource-sharing_share_response_single_result": resource_sharing_share_response_single_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_single": resource$$sharing_share_response_single, + "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, annotations: { @@ -717,30 +767,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource_sharing_account_id_output, - "resource-sharing_account_name": resource_sharing_account_name_output, - "resource-sharing_api-response-common": resource_sharing_api_response_common_output, - "resource-sharing_api-response-common-failure": resource_sharing_api_response_common_failure_output, - "resource-sharing_created": resource_sharing_created_output, - "resource-sharing_modified": resource_sharing_modified_output, - "resource-sharing_organization_id": resource_sharing_organization_id_output, - "resource-sharing_resource_id": resource_sharing_resource_id_output, - "resource-sharing_resource_meta": resource_sharing_resource_meta_output, - "resource-sharing_resource_resource_id": resource_sharing_resource_resource_id_output, - "resource-sharing_resource_status": resource_sharing_resource_status_output, - "resource-sharing_resource_type": resource_sharing_resource_type_output, - "resource-sharing_resource_version": resource_sharing_resource_version_output, - "resource-sharing_share_id": resource_sharing_share_id_output, - "resource-sharing_share_kind": resource_sharing_share_kind_output, - "resource-sharing_share_name": resource_sharing_share_name_output, - "resource-sharing_share_object": resource_sharing_share_object_output, - "resource-sharing_share_resource_object": resource_sharing_share_resource_object_output, - "resource-sharing_share_response_single": resource_sharing_share_response_single_output, - "resource-sharing_share_response_single_result": resource_sharing_share_response_single_result_output, - "resource-sharing_share_status": resource_sharing_share_status_output, - "resource-sharing_share_target_type": resource_sharing_share_target_type_output, - "resource-sharing_v4error": resource_sharing_v4error_output, - "resource-sharing_v4errors": resource_sharing_v4errors_output, + "resource-sharing_account_id": resource$$sharing_account_id, + "resource-sharing_account_name": resource$$sharing_account_name, + "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, + "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, + "resource-sharing_created": resource$$sharing_created, + "resource-sharing_modified": resource$$sharing_modified, + "resource-sharing_organization_id": resource$$sharing_organization_id, + "resource-sharing_resource_id": resource$$sharing_resource_id, + "resource-sharing_resource_meta": resource$$sharing_resource_meta, + "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, + "resource-sharing_resource_status": resource$$sharing_resource_status, + "resource-sharing_resource_type": resource$$sharing_resource_type, + "resource-sharing_resource_version": resource$$sharing_resource_version, + "resource-sharing_share_id": resource$$sharing_share_id, + "resource-sharing_share_kind": resource$$sharing_share_kind, + "resource-sharing_share_name": resource$$sharing_share_name, + "resource-sharing_share_object": resource$$sharing_share_object, + "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, + "resource-sharing_share_response_single": resource$$sharing_share_response_single, + "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, + "resource-sharing_share_status": resource$$sharing_share_status, + "resource-sharing_share_target_type": resource$$sharing_share_target_type, + "resource-sharing_v4error": resource$$sharing_v4error, + "resource-sharing_v4errors": resource$$sharing_v4errors, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts b/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts index 468b84057..07630f42c 100644 --- a/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts +++ b/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `lists_bulk-operation-response-single` in responses. */ -export const lists_bulk_operation_response_single_output: JsonSchema = { +export const lists_bulk$$operation$$response$$single: JsonSchema = { "allOf": [ { "properties": { @@ -25,7 +25,7 @@ export const lists_bulk_operation_response_single_output: JsonSchema = { /** * The schema of `lists_bulk_operation_completed` in responses. */ -export const lists_bulk_operation_completed_output: JsonSchema = { +export const lists_bulk_operation_completed: JsonSchema = { "properties": { "completed": { "$ref": "#/$defs/lists_completed" @@ -51,7 +51,7 @@ export const lists_bulk_operation_completed_output: JsonSchema = { /** * The schema of `lists_bulk_operation_failed` in responses. */ -export const lists_bulk_operation_failed_output: JsonSchema = { +export const lists_bulk_operation_failed: JsonSchema = { "properties": { "completed": { "$ref": "#/$defs/lists_completed" @@ -81,7 +81,7 @@ export const lists_bulk_operation_failed_output: JsonSchema = { /** * The schema of `lists_bulk_operation_pending_or_running` in responses. */ -export const lists_bulk_operation_pending_or_running_output: JsonSchema = { +export const lists_bulk_operation_pending_or_running: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/lists_operation_id" @@ -104,14 +104,14 @@ export const lists_bulk_operation_pending_or_running_output: JsonSchema = { /** * The schema of `lists_completed` in responses. */ -export const lists_completed_output: JsonSchema = { +export const lists_completed: JsonSchema = { "type": "string" }; /** * The schema of `lists_operation` in responses. */ -export const lists_operation_output: JsonSchema = { +export const lists_operation: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/lists_bulk_operation_pending_or_running" diff --git a/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts b/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts index 28ba0c327..580f2e145 100644 --- a/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts +++ b/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts @@ -3,62 +3,73 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - lists_api_response_common_failure_output, - lists_api_response_common_output, - lists_messages_output, - lists_operation_id_output, + lists_api$$response$$common, + lists_api$$response$$common$$failure, + lists_messages, + lists_operation_id, } from "../outputs.js"; -import { lists_account_id, lists_operation_id } from "../schemas.js"; import { - lists_bulk_operation_completed_output, - lists_bulk_operation_failed_output, - lists_bulk_operation_pending_or_running_output, - lists_bulk_operation_response_single_output, - lists_completed_output, - lists_operation_output, + lists_account_id, + lists_operation_id as lists_operation_id$, +} from "../schemas.js"; +import { + lists_bulk$$operation$$response$$single, + lists_bulk_operation_completed, + lists_bulk_operation_failed, + lists_bulk_operation_pending_or_running, + lists_completed, + lists_operation, } from "./outputs.js"; /** - * The tools of `rules.lists.bulk_operations`. + * The tools of `rules.lists.bulkOperations`. */ export const tools: readonly Tool[] = [ { - name: "rules_lists_bulk_operations_get", + name: "rules_lists_bulkOperations_get", title: "Get bulk operation status", description: "Gets the current status of an asynchronous operation on a list.\n\nThe `status` property can have one of the following values: `pending`, `running`, `completed`, or `failed`. If the status is `failed`, the `error` property will contain a message describing the error.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, - "operation_id": { - "$ref": "#/$defs/lists_operation_id", - "description": "The unique operation ID of the asynchronous action." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + }, + "operation_id": { + "$ref": "#/$defs/lists_operation_id", + "description": "The unique operation ID of the asynchronous action." + } + }, + "required": [ + "account_id", + "operation_id" + ], + "type": "object" } }, required: [ - "account_id", - "operation_id" + "path" ], $defs: { "lists_account_id": lists_account_id, - "lists_operation_id": lists_operation_id, + "lists_operation_id": lists_operation_id$, }, }, outputSchema: { "$ref": "#/$defs/lists_bulk-operation-response-single", $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_bulk-operation-response-single": lists_bulk_operation_response_single_output, - "lists_bulk_operation_completed": lists_bulk_operation_completed_output, - "lists_bulk_operation_failed": lists_bulk_operation_failed_output, - "lists_bulk_operation_pending_or_running": lists_bulk_operation_pending_or_running_output, - "lists_completed": lists_completed_output, - "lists_messages": lists_messages_output, - "lists_operation": lists_operation_output, - "lists_operation_id": lists_operation_id_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_bulk-operation-response-single": lists_bulk$$operation$$response$$single, + "lists_bulk_operation_completed": lists_bulk_operation_completed, + "lists_bulk_operation_failed": lists_bulk_operation_failed, + "lists_bulk_operation_pending_or_running": lists_bulk_operation_pending_or_running, + "lists_completed": lists_completed, + "lists_messages": lists_messages, + "lists_operation": lists_operation, + "lists_operation_id": lists_operation_id, }, }, annotations: { @@ -99,16 +110,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_bulk-operation-response-single": lists_bulk_operation_response_single_output, - "lists_bulk_operation_completed": lists_bulk_operation_completed_output, - "lists_bulk_operation_failed": lists_bulk_operation_failed_output, - "lists_bulk_operation_pending_or_running": lists_bulk_operation_pending_or_running_output, - "lists_completed": lists_completed_output, - "lists_messages": lists_messages_output, - "lists_operation": lists_operation_output, - "lists_operation_id": lists_operation_id_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_bulk-operation-response-single": lists_bulk$$operation$$response$$single, + "lists_bulk_operation_completed": lists_bulk_operation_completed, + "lists_bulk_operation_failed": lists_bulk_operation_failed, + "lists_bulk_operation_pending_or_running": lists_bulk_operation_pending_or_running, + "lists_completed": lists_completed, + "lists_messages": lists_messages, + "lists_operation": lists_operation, + "lists_operation_id": lists_operation_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/rules/lists/items/outputs.ts b/src/generated/forge-mcp/rules/lists/items/outputs.ts index 545b8b2ab..42cdc84d6 100644 --- a/src/generated/forge-mcp/rules/lists/items/outputs.ts +++ b/src/generated/forge-mcp/rules/lists/items/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `lists_item` in responses. */ -export const lists_item_output: JsonSchema = { +export const lists_item: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/lists_list_item_ip_full" @@ -26,7 +26,7 @@ export const lists_item_output: JsonSchema = { /** * The schema of `lists_item-response-single` in responses. */ -export const lists_item_response_single_output: JsonSchema = { +export const lists_item$$response$$single: JsonSchema = { "allOf": [ { "properties": { @@ -45,14 +45,14 @@ export const lists_item_response_single_output: JsonSchema = { /** * The schema of `lists_item_asn` in responses. */ -export const lists_item_asn_output: JsonSchema = { +export const lists_item_asn: JsonSchema = { "type": "integer" }; /** * The schema of `lists_item_base` in responses. */ -export const lists_item_base_output: JsonSchema = { +export const lists_item_base: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/lists_item_comment" @@ -78,14 +78,14 @@ export const lists_item_base_output: JsonSchema = { /** * The schema of `lists_item_comment` in responses. */ -export const lists_item_comment_output: JsonSchema = { +export const lists_item_comment: JsonSchema = { "type": "string" }; /** * The schema of `lists_item_hostname` in responses. */ -export const lists_item_hostname_output: JsonSchema = { +export const lists_item_hostname: JsonSchema = { "properties": { "exclude_exact_hostname": { "type": "boolean" @@ -103,21 +103,21 @@ export const lists_item_hostname_output: JsonSchema = { /** * The schema of `lists_item_id` in responses. */ -export const lists_item_id_output: JsonSchema = { +export const lists_item_id: JsonSchema = { "type": "string" }; /** * The schema of `lists_item_ip` in responses. */ -export const lists_item_ip_output: JsonSchema = { +export const lists_item_ip: JsonSchema = { "type": "string" }; /** * The schema of `lists_item_redirect` in responses. */ -export const lists_item_redirect_output: JsonSchema = { +export const lists_item_redirect: JsonSchema = { "properties": { "include_subdomains": { "type": "boolean" @@ -157,7 +157,7 @@ export const lists_item_redirect_output: JsonSchema = { /** * The schema of `lists_items` in responses. */ -export const lists_items_output: JsonSchema = { +export const lists_items: JsonSchema = { "items": { "$ref": "#/$defs/lists_item" }, @@ -167,7 +167,7 @@ export const lists_items_output: JsonSchema = { /** * The schema of `lists_items-list-response-collection` in responses. */ -export const lists_items_list_response_collection_output: JsonSchema = { +export const lists_items$$list$$response$$collection: JsonSchema = { "allOf": [ { "properties": { @@ -202,7 +202,7 @@ export const lists_items_list_response_collection_output: JsonSchema = { /** * The schema of `lists_list_item_asn_full` in responses. */ -export const lists_list_item_asn_full_output: JsonSchema = { +export const lists_list_item_asn_full: JsonSchema = { "allOf": [ { "$ref": "#/$defs/lists_list_item_asn_object" @@ -216,7 +216,7 @@ export const lists_list_item_asn_full_output: JsonSchema = { /** * The schema of `lists_list_item_asn_object` in responses. */ -export const lists_list_item_asn_object_output: JsonSchema = { +export const lists_list_item_asn_object: JsonSchema = { "properties": { "asn": { "$ref": "#/$defs/lists_item_asn" @@ -231,7 +231,7 @@ export const lists_list_item_asn_object_output: JsonSchema = { /** * The schema of `lists_list_item_hostname_full` in responses. */ -export const lists_list_item_hostname_full_output: JsonSchema = { +export const lists_list_item_hostname_full: JsonSchema = { "allOf": [ { "$ref": "#/$defs/lists_list_item_hostname_object" @@ -245,7 +245,7 @@ export const lists_list_item_hostname_full_output: JsonSchema = { /** * The schema of `lists_list_item_hostname_object` in responses. */ -export const lists_list_item_hostname_object_output: JsonSchema = { +export const lists_list_item_hostname_object: JsonSchema = { "properties": { "hostname": { "$ref": "#/$defs/lists_item_hostname" @@ -260,7 +260,7 @@ export const lists_list_item_hostname_object_output: JsonSchema = { /** * The schema of `lists_list_item_ip_full` in responses. */ -export const lists_list_item_ip_full_output: JsonSchema = { +export const lists_list_item_ip_full: JsonSchema = { "allOf": [ { "$ref": "#/$defs/lists_list_item_ip_object" @@ -274,7 +274,7 @@ export const lists_list_item_ip_full_output: JsonSchema = { /** * The schema of `lists_list_item_ip_object` in responses. */ -export const lists_list_item_ip_object_output: JsonSchema = { +export const lists_list_item_ip_object: JsonSchema = { "properties": { "ip": { "$ref": "#/$defs/lists_item_ip" @@ -289,7 +289,7 @@ export const lists_list_item_ip_object_output: JsonSchema = { /** * The schema of `lists_list_item_redirect_full` in responses. */ -export const lists_list_item_redirect_full_output: JsonSchema = { +export const lists_list_item_redirect_full: JsonSchema = { "allOf": [ { "$ref": "#/$defs/lists_list_item_redirect_object" @@ -303,7 +303,7 @@ export const lists_list_item_redirect_full_output: JsonSchema = { /** * The schema of `lists_list_item_redirect_object` in responses. */ -export const lists_list_item_redirect_object_output: JsonSchema = { +export const lists_list_item_redirect_object: JsonSchema = { "properties": { "redirect": { "$ref": "#/$defs/lists_item_redirect" @@ -318,7 +318,7 @@ export const lists_list_item_redirect_object_output: JsonSchema = { /** * The schema of `lists_lists-async-response` in responses. */ -export const lists_lists_async_response_output: JsonSchema = { +export const lists_lists$$async$$response: JsonSchema = { "allOf": [ { "properties": { diff --git a/src/generated/forge-mcp/rules/lists/items/schemas.ts b/src/generated/forge-mcp/rules/lists/items/schemas.ts index 2fa2ad6f2..a83916a35 100644 --- a/src/generated/forge-mcp/rules/lists/items/schemas.ts +++ b/src/generated/forge-mcp/rules/lists/items/schemas.ts @@ -117,7 +117,7 @@ export const lists_item_redirect: JsonSchema = { /** * The schema of `lists_items-update-request-collection`. */ -export const lists_items_update_request_collection: JsonSchema = { +export const lists_items$$update$$request$$collection: JsonSchema = { "items": { "oneOf": [ { diff --git a/src/generated/forge-mcp/rules/lists/items/tools.ts b/src/generated/forge-mcp/rules/lists/items/tools.ts index abaff3e1b..f6db647e4 100644 --- a/src/generated/forge-mcp/rules/lists/items/tools.ts +++ b/src/generated/forge-mcp/rules/lists/items/tools.ts @@ -1,56 +1,56 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - lists_api_response_collection_output, - lists_api_response_common_failure_output, - lists_api_response_common_output, - lists_created_on_output, - lists_messages_output, - lists_modified_on_output, - lists_operation_id_output, + lists_api$$response$$collection, + lists_api$$response$$common, + lists_api$$response$$common$$failure, + lists_created_on, + lists_messages, + lists_modified_on, + lists_operation_id, } from "../outputs.js"; import { lists_account_id, lists_list_id } from "../schemas.js"; import { - lists_item_asn_output, - lists_item_base_output, - lists_item_comment_output, - lists_item_hostname_output, - lists_item_id_output, - lists_item_ip_output, - lists_item_output, - lists_item_redirect_output, - lists_item_response_single_output, - lists_items_list_response_collection_output, - lists_items_output, - lists_list_item_asn_full_output, - lists_list_item_asn_object_output, - lists_list_item_hostname_full_output, - lists_list_item_hostname_object_output, - lists_list_item_ip_full_output, - lists_list_item_ip_object_output, - lists_list_item_redirect_full_output, - lists_list_item_redirect_object_output, - lists_lists_async_response_output, -} from "./outputs.js"; -import { + lists_item, + lists_item$$response$$single, lists_item_asn, + lists_item_base, lists_item_comment, - lists_item_comment_object, lists_item_hostname, lists_item_id, lists_item_ip, lists_item_redirect, - lists_items_update_request_collection, - lists_list_item_asn_comment, + lists_items, + lists_items$$list$$response$$collection, + lists_list_item_asn_full, lists_list_item_asn_object, - lists_list_item_hostname_comment, + lists_list_item_hostname_full, lists_list_item_hostname_object, - lists_list_item_ip_comment, + lists_list_item_ip_full, lists_list_item_ip_object, - lists_list_item_redirect_comment, + lists_list_item_redirect_full, lists_list_item_redirect_object, + lists_lists$$async$$response, +} from "./outputs.js"; +import { + lists_item_asn as lists_item_asn$, + lists_item_comment as lists_item_comment$, + lists_item_comment_object, + lists_item_hostname as lists_item_hostname$, + lists_item_id as lists_item_id$, + lists_item_ip as lists_item_ip$, + lists_item_redirect as lists_item_redirect$, + lists_items$$update$$request$$collection, + lists_list_item_asn_comment, + lists_list_item_asn_object as lists_list_item_asn_object$, + lists_list_item_hostname_comment, + lists_list_item_hostname_object as lists_list_item_hostname_object$, + lists_list_item_ip_comment, + lists_list_item_ip_object as lists_list_item_ip_object$, + lists_list_item_redirect_comment, + lists_list_item_redirect_object as lists_list_item_redirect_object$, } from "./schemas.js"; /** @@ -64,51 +64,59 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, "body": { "$ref": "#/$defs/lists_items-update-request-collection" }, - "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + }, + "list_id": { + "$ref": "#/$defs/lists_list_id", + "description": "The unique ID of the list." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id", + "path", "body" ], $defs: { "lists_account_id": lists_account_id, - "lists_item_asn": lists_item_asn, - "lists_item_comment": lists_item_comment, + "lists_item_asn": lists_item_asn$, + "lists_item_comment": lists_item_comment$, "lists_item_comment_object": lists_item_comment_object, - "lists_item_hostname": lists_item_hostname, - "lists_item_ip": lists_item_ip, - "lists_item_redirect": lists_item_redirect, - "lists_items-update-request-collection": lists_items_update_request_collection, + "lists_item_hostname": lists_item_hostname$, + "lists_item_ip": lists_item_ip$, + "lists_item_redirect": lists_item_redirect$, + "lists_items-update-request-collection": lists_items$$update$$request$$collection, "lists_list_id": lists_list_id, "lists_list_item_asn_comment": lists_list_item_asn_comment, - "lists_list_item_asn_object": lists_list_item_asn_object, + "lists_list_item_asn_object": lists_list_item_asn_object$, "lists_list_item_hostname_comment": lists_list_item_hostname_comment, - "lists_list_item_hostname_object": lists_list_item_hostname_object, + "lists_list_item_hostname_object": lists_list_item_hostname_object$, "lists_list_item_ip_comment": lists_list_item_ip_comment, - "lists_list_item_ip_object": lists_list_item_ip_object, + "lists_list_item_ip_object": lists_list_item_ip_object$, "lists_list_item_redirect_comment": lists_list_item_redirect_comment, - "lists_list_item_redirect_object": lists_list_item_redirect_object, + "lists_list_item_redirect_object": lists_list_item_redirect_object$, }, }, outputSchema: { "$ref": "#/$defs/lists_lists-async-response", $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_lists-async-response": lists_lists_async_response_output, - "lists_messages": lists_messages_output, - "lists_operation_id": lists_operation_id_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_lists-async-response": lists_lists$$async$$response, + "lists_messages": lists_messages, + "lists_operation_id": lists_operation_id, }, }, annotations: { @@ -148,12 +156,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_lists-async-response": lists_lists_async_response_output, - "lists_messages": lists_messages_output, - "lists_operation_id": lists_operation_id_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_lists-async-response": lists_lists$$async$$response, + "lists_messages": lists_messages, + "lists_operation_id": lists_operation_id, }, }, request: (args) => ({ @@ -168,10 +176,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, "body": { "properties": { "items": { @@ -194,14 +198,26 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + }, + "list_id": { + "$ref": "#/$defs/lists_list_id", + "description": "The unique ID of the list." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id", + "path", "body" ], $defs: { @@ -212,11 +228,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/lists_lists-async-response", $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_lists-async-response": lists_lists_async_response_output, - "lists_messages": lists_messages_output, - "lists_operation_id": lists_operation_id_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_lists-async-response": lists_lists$$async$$response, + "lists_messages": lists_messages, + "lists_operation_id": lists_operation_id, }, }, annotations: { @@ -256,12 +272,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_lists-async-response": lists_lists_async_response_output, - "lists_messages": lists_messages_output, - "lists_operation_id": lists_operation_id_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_lists-async-response": lists_lists$$async$$response, + "lists_messages": lists_messages, + "lists_operation_id": lists_operation_id, }, }, request: (args) => ({ @@ -276,54 +292,62 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, - "item_id": { - "$ref": "#/$defs/lists_item_id", - "description": "Defines the unique ID of the item in the List." - }, - "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + }, + "item_id": { + "$ref": "#/$defs/lists_item_id", + "description": "Defines the unique ID of the item in the List." + }, + "list_id": { + "$ref": "#/$defs/lists_list_id", + "description": "The unique ID of the list." + } + }, + "required": [ + "account_id", + "list_id", + "item_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id", - "item_id" + "path" ], $defs: { "lists_account_id": lists_account_id, - "lists_item_id": lists_item_id, + "lists_item_id": lists_item_id$, "lists_list_id": lists_list_id, }, }, outputSchema: { "$ref": "#/$defs/lists_item-response-single", $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_created_on": lists_created_on_output, - "lists_item": lists_item_output, - "lists_item-response-single": lists_item_response_single_output, - "lists_item_asn": lists_item_asn_output, - "lists_item_base": lists_item_base_output, - "lists_item_comment": lists_item_comment_output, - "lists_item_hostname": lists_item_hostname_output, - "lists_item_id": lists_item_id_output, - "lists_item_ip": lists_item_ip_output, - "lists_item_redirect": lists_item_redirect_output, - "lists_list_item_asn_full": lists_list_item_asn_full_output, - "lists_list_item_asn_object": lists_list_item_asn_object_output, - "lists_list_item_hostname_full": lists_list_item_hostname_full_output, - "lists_list_item_hostname_object": lists_list_item_hostname_object_output, - "lists_list_item_ip_full": lists_list_item_ip_full_output, - "lists_list_item_ip_object": lists_list_item_ip_object_output, - "lists_list_item_redirect_full": lists_list_item_redirect_full_output, - "lists_list_item_redirect_object": lists_list_item_redirect_object_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_created_on": lists_created_on, + "lists_item": lists_item, + "lists_item-response-single": lists_item$$response$$single, + "lists_item_asn": lists_item_asn, + "lists_item_base": lists_item_base, + "lists_item_comment": lists_item_comment, + "lists_item_hostname": lists_item_hostname, + "lists_item_id": lists_item_id, + "lists_item_ip": lists_item_ip, + "lists_item_redirect": lists_item_redirect, + "lists_list_item_asn_full": lists_list_item_asn_full, + "lists_list_item_asn_object": lists_list_item_asn_object, + "lists_list_item_hostname_full": lists_list_item_hostname_full, + "lists_list_item_hostname_object": lists_list_item_hostname_object, + "lists_list_item_ip_full": lists_list_item_ip_full, + "lists_list_item_ip_object": lists_list_item_ip_object, + "lists_list_item_redirect_full": lists_list_item_redirect_full, + "lists_list_item_redirect_object": lists_list_item_redirect_object, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, }, }, annotations: { @@ -364,28 +388,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_created_on": lists_created_on_output, - "lists_item": lists_item_output, - "lists_item-response-single": lists_item_response_single_output, - "lists_item_asn": lists_item_asn_output, - "lists_item_base": lists_item_base_output, - "lists_item_comment": lists_item_comment_output, - "lists_item_hostname": lists_item_hostname_output, - "lists_item_id": lists_item_id_output, - "lists_item_ip": lists_item_ip_output, - "lists_item_redirect": lists_item_redirect_output, - "lists_list_item_asn_full": lists_list_item_asn_full_output, - "lists_list_item_asn_object": lists_list_item_asn_object_output, - "lists_list_item_hostname_full": lists_list_item_hostname_full_output, - "lists_list_item_hostname_object": lists_list_item_hostname_object_output, - "lists_list_item_ip_full": lists_list_item_ip_full_output, - "lists_list_item_ip_object": lists_list_item_ip_object_output, - "lists_list_item_redirect_full": lists_list_item_redirect_full_output, - "lists_list_item_redirect_object": lists_list_item_redirect_object_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_created_on": lists_created_on, + "lists_item": lists_item, + "lists_item-response-single": lists_item$$response$$single, + "lists_item_asn": lists_item_asn, + "lists_item_base": lists_item_base, + "lists_item_comment": lists_item_comment, + "lists_item_hostname": lists_item_hostname, + "lists_item_id": lists_item_id, + "lists_item_ip": lists_item_ip, + "lists_item_redirect": lists_item_redirect, + "lists_list_item_asn_full": lists_list_item_asn_full, + "lists_list_item_asn_object": lists_list_item_asn_object, + "lists_list_item_hostname_full": lists_list_item_hostname_full, + "lists_list_item_hostname_object": lists_list_item_hostname_object, + "lists_list_item_ip_full": lists_list_item_ip_full, + "lists_list_item_ip_object": lists_list_item_ip_object, + "lists_list_item_redirect_full": lists_list_item_redirect_full, + "lists_list_item_redirect_object": lists_list_item_redirect_object, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, }, }, request: (args) => ({ @@ -399,30 +423,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, - "cursor": { - "description": "The pagination cursor. An opaque string token that indicates where to continue when requesting the next/previous set of records. The response provides cursor values under `result_info.cursors`. You should make no assumptions about a cursor's content or length.", - "type": "string" - }, - "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." - }, - "per_page": { - "description": "Amount of results to include in each paginated response. A non-negative 32 bit integer.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + }, + "list_id": { + "$ref": "#/$defs/lists_list_id", + "description": "The unique ID of the list." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" }, - "search": { - "description": "A search query to filter returned items. Its meaning depends on the list type: IP addresses must start with the provided string, hostnames and bulk redirects must contain the string, and ASNs must match the string exactly.", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "The pagination cursor. An opaque string token that indicates where to continue when requesting the next/previous set of records. The response provides cursor values under `result_info.cursors`. You should make no assumptions about a cursor's content or length.", + "type": "string" + }, + "per_page": { + "description": "Amount of results to include in each paginated response. A non-negative 32 bit integer.", + "type": "integer" + }, + "search": { + "description": "A search query to filter returned items. Its meaning depends on the list type: IP addresses must start with the provided string, hostnames and bulk redirects must contain the string, and ASNs must match the string exactly.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "list_id" + "path" ], $defs: { "lists_account_id": lists_account_id, @@ -432,29 +469,29 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/lists_items-list-response-collection", $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_created_on": lists_created_on_output, - "lists_item": lists_item_output, - "lists_item_asn": lists_item_asn_output, - "lists_item_base": lists_item_base_output, - "lists_item_comment": lists_item_comment_output, - "lists_item_hostname": lists_item_hostname_output, - "lists_item_id": lists_item_id_output, - "lists_item_ip": lists_item_ip_output, - "lists_item_redirect": lists_item_redirect_output, - "lists_items": lists_items_output, - "lists_items-list-response-collection": lists_items_list_response_collection_output, - "lists_list_item_asn_full": lists_list_item_asn_full_output, - "lists_list_item_asn_object": lists_list_item_asn_object_output, - "lists_list_item_hostname_full": lists_list_item_hostname_full_output, - "lists_list_item_hostname_object": lists_list_item_hostname_object_output, - "lists_list_item_ip_full": lists_list_item_ip_full_output, - "lists_list_item_ip_object": lists_list_item_ip_object_output, - "lists_list_item_redirect_full": lists_list_item_redirect_full_output, - "lists_list_item_redirect_object": lists_list_item_redirect_object_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_created_on": lists_created_on, + "lists_item": lists_item, + "lists_item_asn": lists_item_asn, + "lists_item_base": lists_item_base, + "lists_item_comment": lists_item_comment, + "lists_item_hostname": lists_item_hostname, + "lists_item_id": lists_item_id, + "lists_item_ip": lists_item_ip, + "lists_item_redirect": lists_item_redirect, + "lists_items": lists_items, + "lists_items-list-response-collection": lists_items$$list$$response$$collection, + "lists_list_item_asn_full": lists_list_item_asn_full, + "lists_list_item_asn_object": lists_list_item_asn_object, + "lists_list_item_hostname_full": lists_list_item_hostname_full, + "lists_list_item_hostname_object": lists_list_item_hostname_object, + "lists_list_item_ip_full": lists_list_item_ip_full, + "lists_list_item_ip_object": lists_list_item_ip_object, + "lists_list_item_redirect_full": lists_list_item_redirect_full, + "lists_list_item_redirect_object": lists_list_item_redirect_object, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, }, }, annotations: { @@ -495,38 +532,38 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_created_on": lists_created_on_output, - "lists_item": lists_item_output, - "lists_item_asn": lists_item_asn_output, - "lists_item_base": lists_item_base_output, - "lists_item_comment": lists_item_comment_output, - "lists_item_hostname": lists_item_hostname_output, - "lists_item_id": lists_item_id_output, - "lists_item_ip": lists_item_ip_output, - "lists_item_redirect": lists_item_redirect_output, - "lists_items": lists_items_output, - "lists_items-list-response-collection": lists_items_list_response_collection_output, - "lists_list_item_asn_full": lists_list_item_asn_full_output, - "lists_list_item_asn_object": lists_list_item_asn_object_output, - "lists_list_item_hostname_full": lists_list_item_hostname_full_output, - "lists_list_item_hostname_object": lists_list_item_hostname_object_output, - "lists_list_item_ip_full": lists_list_item_ip_full_output, - "lists_list_item_ip_object": lists_list_item_ip_object_output, - "lists_list_item_redirect_full": lists_list_item_redirect_full_output, - "lists_list_item_redirect_object": lists_list_item_redirect_object_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_created_on": lists_created_on, + "lists_item": lists_item, + "lists_item_asn": lists_item_asn, + "lists_item_base": lists_item_base, + "lists_item_comment": lists_item_comment, + "lists_item_hostname": lists_item_hostname, + "lists_item_id": lists_item_id, + "lists_item_ip": lists_item_ip, + "lists_item_redirect": lists_item_redirect, + "lists_items": lists_items, + "lists_items-list-response-collection": lists_items$$list$$response$$collection, + "lists_list_item_asn_full": lists_list_item_asn_full, + "lists_list_item_asn_object": lists_list_item_asn_object, + "lists_list_item_hostname_full": lists_list_item_hostname_full, + "lists_list_item_hostname_object": lists_list_item_hostname_object, + "lists_list_item_ip_full": lists_list_item_ip_full, + "lists_list_item_ip_object": lists_list_item_ip_object, + "lists_list_item_redirect_full": lists_list_item_redirect_full, + "lists_list_item_redirect_object": lists_list_item_redirect_object, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rules/lists/${pathParam(args, "list_id")}/items`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], ], }), }, @@ -537,51 +574,59 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, "body": { "$ref": "#/$defs/lists_items-update-request-collection" }, - "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + }, + "list_id": { + "$ref": "#/$defs/lists_list_id", + "description": "The unique ID of the list." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id", + "path", "body" ], $defs: { "lists_account_id": lists_account_id, - "lists_item_asn": lists_item_asn, - "lists_item_comment": lists_item_comment, + "lists_item_asn": lists_item_asn$, + "lists_item_comment": lists_item_comment$, "lists_item_comment_object": lists_item_comment_object, - "lists_item_hostname": lists_item_hostname, - "lists_item_ip": lists_item_ip, - "lists_item_redirect": lists_item_redirect, - "lists_items-update-request-collection": lists_items_update_request_collection, + "lists_item_hostname": lists_item_hostname$, + "lists_item_ip": lists_item_ip$, + "lists_item_redirect": lists_item_redirect$, + "lists_items-update-request-collection": lists_items$$update$$request$$collection, "lists_list_id": lists_list_id, "lists_list_item_asn_comment": lists_list_item_asn_comment, - "lists_list_item_asn_object": lists_list_item_asn_object, + "lists_list_item_asn_object": lists_list_item_asn_object$, "lists_list_item_hostname_comment": lists_list_item_hostname_comment, - "lists_list_item_hostname_object": lists_list_item_hostname_object, + "lists_list_item_hostname_object": lists_list_item_hostname_object$, "lists_list_item_ip_comment": lists_list_item_ip_comment, - "lists_list_item_ip_object": lists_list_item_ip_object, + "lists_list_item_ip_object": lists_list_item_ip_object$, "lists_list_item_redirect_comment": lists_list_item_redirect_comment, - "lists_list_item_redirect_object": lists_list_item_redirect_object, + "lists_list_item_redirect_object": lists_list_item_redirect_object$, }, }, outputSchema: { "$ref": "#/$defs/lists_lists-async-response", $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_lists-async-response": lists_lists_async_response_output, - "lists_messages": lists_messages_output, - "lists_operation_id": lists_operation_id_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_lists-async-response": lists_lists$$async$$response, + "lists_messages": lists_messages, + "lists_operation_id": lists_operation_id, }, }, annotations: { @@ -621,12 +666,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_lists-async-response": lists_lists_async_response_output, - "lists_messages": lists_messages_output, - "lists_operation_id": lists_operation_id_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_lists-async-response": lists_lists$$async$$response, + "lists_messages": lists_messages, + "lists_operation_id": lists_operation_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/rules/lists/outputs.ts b/src/generated/forge-mcp/rules/lists/outputs.ts index 387eb404f..8d81819ed 100644 --- a/src/generated/forge-mcp/rules/lists/outputs.ts +++ b/src/generated/forge-mcp/rules/lists/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `lists_api-response-collection` in responses. */ -export const lists_api_response_collection_output: JsonSchema = { +export const lists_api$$response$$collection: JsonSchema = { "allOf": [ { "properties": { @@ -35,7 +35,7 @@ export const lists_api_response_collection_output: JsonSchema = { /** * The schema of `lists_api-response-common` in responses. */ -export const lists_api_response_common_output: JsonSchema = { +export const lists_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/lists_messages" @@ -75,7 +75,7 @@ export const lists_api_response_common_output: JsonSchema = { /** * The schema of `lists_api-response-common-failure` in responses. */ -export const lists_api_response_common_failure_output: JsonSchema = { +export const lists_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/lists_messages" @@ -105,21 +105,21 @@ export const lists_api_response_common_failure_output: JsonSchema = { /** * The schema of `lists_created_on` in responses. */ -export const lists_created_on_output: JsonSchema = { +export const lists_created_on: JsonSchema = { "type": "string" }; /** * The schema of `lists_description` in responses. */ -export const lists_description_output: JsonSchema = { +export const lists_description: JsonSchema = { "type": "string" }; /** * The schema of `lists_kind` in responses. */ -export const lists_kind_output: JsonSchema = { +export const lists_kind: JsonSchema = { "enum": [ "ip", "redirect", @@ -132,7 +132,7 @@ export const lists_kind_output: JsonSchema = { /** * The schema of `lists_list` in responses. */ -export const lists_list_output: JsonSchema = { +export const lists_list: JsonSchema = { "properties": { "created_on": { "$ref": "#/$defs/lists_created_on" @@ -174,7 +174,7 @@ export const lists_list_output: JsonSchema = { /** * The schema of `lists_list-delete-response-collection` in responses. */ -export const lists_list_delete_response_collection_output: JsonSchema = { +export const lists_list$$delete$$response$$collection: JsonSchema = { "allOf": [ { "properties": { @@ -201,7 +201,7 @@ export const lists_list_delete_response_collection_output: JsonSchema = { /** * The schema of `lists_list-response-collection` in responses. */ -export const lists_list_response_collection_output: JsonSchema = { +export const lists_list$$response$$collection: JsonSchema = { "allOf": [ { "properties": { @@ -220,14 +220,14 @@ export const lists_list_response_collection_output: JsonSchema = { /** * The schema of `lists_list_id` in responses. */ -export const lists_list_id_output: JsonSchema = { +export const lists_list_id: JsonSchema = { "type": "string" }; /** * The schema of `lists_lists-response-collection` in responses. */ -export const lists_lists_response_collection_output: JsonSchema = { +export const lists_lists$$response$$collection: JsonSchema = { "allOf": [ { "properties": { @@ -249,7 +249,7 @@ export const lists_lists_response_collection_output: JsonSchema = { /** * The schema of `lists_messages` in responses. */ -export const lists_messages_output: JsonSchema = { +export const lists_messages: JsonSchema = { "items": { "properties": { "code": { @@ -271,34 +271,34 @@ export const lists_messages_output: JsonSchema = { /** * The schema of `lists_modified_on` in responses. */ -export const lists_modified_on_output: JsonSchema = { +export const lists_modified_on: JsonSchema = { "type": "string" }; /** * The schema of `lists_name` in responses. */ -export const lists_name_output: JsonSchema = { +export const lists_name: JsonSchema = { "type": "string" }; /** * The schema of `lists_num_items` in responses. */ -export const lists_num_items_output: JsonSchema = { +export const lists_num_items: JsonSchema = { "type": "number" }; /** * The schema of `lists_num_referencing_filters` in responses. */ -export const lists_num_referencing_filters_output: JsonSchema = { +export const lists_num_referencing_filters: JsonSchema = { "type": "number" }; /** * The schema of `lists_operation_id` in responses. */ -export const lists_operation_id_output: JsonSchema = { +export const lists_operation_id: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/rules/lists/tools.ts b/src/generated/forge-mcp/rules/lists/tools.ts index e1bec6fd9..605ee4e3f 100644 --- a/src/generated/forge-mcp/rules/lists/tools.ts +++ b/src/generated/forge-mcp/rules/lists/tools.ts @@ -3,29 +3,29 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - lists_api_response_collection_output, - lists_api_response_common_failure_output, - lists_api_response_common_output, - lists_created_on_output, - lists_description_output, - lists_kind_output, - lists_list_delete_response_collection_output, - lists_list_id_output, - lists_list_output, - lists_list_response_collection_output, - lists_lists_response_collection_output, - lists_messages_output, - lists_modified_on_output, - lists_name_output, - lists_num_items_output, - lists_num_referencing_filters_output, -} from "./outputs.js"; -import { - lists_account_id, + lists_api$$response$$collection, + lists_api$$response$$common, + lists_api$$response$$common$$failure, + lists_created_on, lists_description, lists_kind, + lists_list, + lists_list$$delete$$response$$collection, + lists_list$$response$$collection, lists_list_id, + lists_lists$$response$$collection, + lists_messages, + lists_modified_on, lists_name, + lists_num_items, + lists_num_referencing_filters, +} from "./outputs.js"; +import { + lists_account_id, + lists_description as lists_description$, + lists_kind as lists_kind$, + lists_list_id as lists_list_id$, + lists_name as lists_name$, } from "./schemas.js"; /** @@ -39,10 +39,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, "body": { "properties": { "description": { @@ -63,34 +59,46 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "lists_account_id": lists_account_id, - "lists_description": lists_description, - "lists_kind": lists_kind, - "lists_name": lists_name, + "lists_description": lists_description$, + "lists_kind": lists_kind$, + "lists_name": lists_name$, }, }, outputSchema: { "$ref": "#/$defs/lists_list-response-collection", $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_created_on": lists_created_on_output, - "lists_description": lists_description_output, - "lists_kind": lists_kind_output, - "lists_list": lists_list_output, - "lists_list-response-collection": lists_list_response_collection_output, - "lists_list_id": lists_list_id_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, - "lists_name": lists_name_output, - "lists_num_items": lists_num_items_output, - "lists_num_referencing_filters": lists_num_referencing_filters_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_created_on": lists_created_on, + "lists_description": lists_description, + "lists_kind": lists_kind, + "lists_list": lists_list, + "lists_list-response-collection": lists_list$$response$$collection, + "lists_list_id": lists_list_id, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, + "lists_name": lists_name, + "lists_num_items": lists_num_items, + "lists_num_referencing_filters": lists_num_referencing_filters, }, }, annotations: { @@ -130,19 +138,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_created_on": lists_created_on_output, - "lists_description": lists_description_output, - "lists_kind": lists_kind_output, - "lists_list": lists_list_output, - "lists_list-response-collection": lists_list_response_collection_output, - "lists_list_id": lists_list_id_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, - "lists_name": lists_name_output, - "lists_num_items": lists_num_items_output, - "lists_num_referencing_filters": lists_num_referencing_filters_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_created_on": lists_created_on, + "lists_description": lists_description, + "lists_kind": lists_kind, + "lists_list": lists_list, + "lists_list-response-collection": lists_list$$response$$collection, + "lists_list_id": lists_list_id, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, + "lists_name": lists_name, + "lists_num_items": lists_num_items, + "lists_num_referencing_filters": lists_num_referencing_filters, }, }, request: (args) => ({ @@ -157,31 +165,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, - "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + }, + "list_id": { + "$ref": "#/$defs/lists_list_id", + "description": "The unique ID of the list." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id" + "path" ], $defs: { "lists_account_id": lists_account_id, - "lists_list_id": lists_list_id, + "lists_list_id": lists_list_id$, }, }, outputSchema: { "$ref": "#/$defs/lists_list-delete-response-collection", $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_list-delete-response-collection": lists_list_delete_response_collection_output, - "lists_list_id": lists_list_id_output, - "lists_messages": lists_messages_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_list-delete-response-collection": lists_list$$delete$$response$$collection, + "lists_list_id": lists_list_id, + "lists_messages": lists_messages, }, }, annotations: { @@ -221,11 +237,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_list-delete-response-collection": lists_list_delete_response_collection_output, - "lists_list_id": lists_list_id_output, - "lists_messages": lists_messages_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_list-delete-response-collection": lists_list$$delete$$response$$collection, + "lists_list_id": lists_list_id, + "lists_messages": lists_messages, }, }, request: (args) => ({ @@ -239,39 +255,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, - "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + }, + "list_id": { + "$ref": "#/$defs/lists_list_id", + "description": "The unique ID of the list." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id" + "path" ], $defs: { "lists_account_id": lists_account_id, - "lists_list_id": lists_list_id, + "lists_list_id": lists_list_id$, }, }, outputSchema: { "$ref": "#/$defs/lists_list-response-collection", $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_created_on": lists_created_on_output, - "lists_description": lists_description_output, - "lists_kind": lists_kind_output, - "lists_list": lists_list_output, - "lists_list-response-collection": lists_list_response_collection_output, - "lists_list_id": lists_list_id_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, - "lists_name": lists_name_output, - "lists_num_items": lists_num_items_output, - "lists_num_referencing_filters": lists_num_referencing_filters_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_created_on": lists_created_on, + "lists_description": lists_description, + "lists_kind": lists_kind, + "lists_list": lists_list, + "lists_list-response-collection": lists_list$$response$$collection, + "lists_list_id": lists_list_id, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, + "lists_name": lists_name, + "lists_num_items": lists_num_items, + "lists_num_referencing_filters": lists_num_referencing_filters, }, }, annotations: { @@ -311,19 +335,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_created_on": lists_created_on_output, - "lists_description": lists_description_output, - "lists_kind": lists_kind_output, - "lists_list": lists_list_output, - "lists_list-response-collection": lists_list_response_collection_output, - "lists_list_id": lists_list_id_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, - "lists_name": lists_name_output, - "lists_num_items": lists_num_items_output, - "lists_num_referencing_filters": lists_num_referencing_filters_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_created_on": lists_created_on, + "lists_description": lists_description, + "lists_kind": lists_kind, + "lists_list": lists_list, + "lists_list-response-collection": lists_list$$response$$collection, + "lists_list_id": lists_list_id, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, + "lists_name": lists_name, + "lists_num_items": lists_num_items, + "lists_num_referencing_filters": lists_num_referencing_filters, }, }, request: (args) => ({ @@ -337,13 +361,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "lists_account_id": lists_account_id, @@ -352,19 +384,19 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/lists_lists-response-collection", $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_created_on": lists_created_on_output, - "lists_description": lists_description_output, - "lists_kind": lists_kind_output, - "lists_list": lists_list_output, - "lists_list_id": lists_list_id_output, - "lists_lists-response-collection": lists_lists_response_collection_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, - "lists_name": lists_name_output, - "lists_num_items": lists_num_items_output, - "lists_num_referencing_filters": lists_num_referencing_filters_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_created_on": lists_created_on, + "lists_description": lists_description, + "lists_kind": lists_kind, + "lists_list": lists_list, + "lists_list_id": lists_list_id, + "lists_lists-response-collection": lists_lists$$response$$collection, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, + "lists_name": lists_name, + "lists_num_items": lists_num_items, + "lists_num_referencing_filters": lists_num_referencing_filters, }, }, annotations: { @@ -405,20 +437,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-collection": lists_api_response_collection_output, - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_created_on": lists_created_on_output, - "lists_description": lists_description_output, - "lists_kind": lists_kind_output, - "lists_list": lists_list_output, - "lists_list_id": lists_list_id_output, - "lists_lists-response-collection": lists_lists_response_collection_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, - "lists_name": lists_name_output, - "lists_num_items": lists_num_items_output, - "lists_num_referencing_filters": lists_num_referencing_filters_output, + "lists_api-response-collection": lists_api$$response$$collection, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_created_on": lists_created_on, + "lists_description": lists_description, + "lists_kind": lists_kind, + "lists_list": lists_list, + "lists_list_id": lists_list_id, + "lists_lists-response-collection": lists_lists$$response$$collection, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, + "lists_name": lists_name, + "lists_num_items": lists_num_items, + "lists_num_referencing_filters": lists_num_referencing_filters, }, }, request: (args) => ({ @@ -432,10 +464,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." - }, "body": { "properties": { "description": { @@ -445,37 +473,49 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/lists_account_id", + "description": "The Account ID for this resource." + }, + "list_id": { + "$ref": "#/$defs/lists_list_id", + "description": "The unique ID of the list." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id", + "path", "body" ], $defs: { "lists_account_id": lists_account_id, - "lists_description": lists_description, - "lists_list_id": lists_list_id, + "lists_description": lists_description$, + "lists_list_id": lists_list_id$, }, }, outputSchema: { "$ref": "#/$defs/lists_list-response-collection", $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_created_on": lists_created_on_output, - "lists_description": lists_description_output, - "lists_kind": lists_kind_output, - "lists_list": lists_list_output, - "lists_list-response-collection": lists_list_response_collection_output, - "lists_list_id": lists_list_id_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, - "lists_name": lists_name_output, - "lists_num_items": lists_num_items_output, - "lists_num_referencing_filters": lists_num_referencing_filters_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_created_on": lists_created_on, + "lists_description": lists_description, + "lists_kind": lists_kind, + "lists_list": lists_list, + "lists_list-response-collection": lists_list$$response$$collection, + "lists_list_id": lists_list_id, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, + "lists_name": lists_name, + "lists_num_items": lists_num_items, + "lists_num_referencing_filters": lists_num_referencing_filters, }, }, annotations: { @@ -515,19 +555,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "lists_api-response-common": lists_api_response_common_output, - "lists_api-response-common-failure": lists_api_response_common_failure_output, - "lists_created_on": lists_created_on_output, - "lists_description": lists_description_output, - "lists_kind": lists_kind_output, - "lists_list": lists_list_output, - "lists_list-response-collection": lists_list_response_collection_output, - "lists_list_id": lists_list_id_output, - "lists_messages": lists_messages_output, - "lists_modified_on": lists_modified_on_output, - "lists_name": lists_name_output, - "lists_num_items": lists_num_items_output, - "lists_num_referencing_filters": lists_num_referencing_filters_output, + "lists_api-response-common": lists_api$$response$$common, + "lists_api-response-common-failure": lists_api$$response$$common$$failure, + "lists_created_on": lists_created_on, + "lists_description": lists_description, + "lists_kind": lists_kind, + "lists_list": lists_list, + "lists_list-response-collection": lists_list$$response$$collection, + "lists_list_id": lists_list_id, + "lists_messages": lists_messages, + "lists_modified_on": lists_modified_on, + "lists_name": lists_name, + "lists_num_items": lists_num_items, + "lists_num_referencing_filters": lists_num_referencing_filters, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/rulesets/entrypoint/tools.ts b/src/generated/forge-mcp/rulesets/entrypoint/tools.ts index 3e044be39..1267300c3 100644 --- a/src/generated/forge-mcp/rulesets/entrypoint/tools.ts +++ b/src/generated/forge-mcp/rulesets/entrypoint/tools.ts @@ -1,123 +1,14 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - rulesets_Errors_output, - rulesets_Message_output, - rulesets_Messages_output, - rulesets_Response_output, + rulesets_Errors, + rulesets_Message, + rulesets_Messages, + rulesets_Response, } from "../../outputs.js"; import { - rulesets_BlockRule_output, - rulesets_ChallengeRule_output, - rulesets_CompressResponseRule_output, - rulesets_DDoSDynamicRule_output, - rulesets_ExecuteCategoryOverrides_output, - rulesets_ExecuteMatchedData_output, - rulesets_ExecuteOverrides_output, - rulesets_ExecuteRuleOverrides_output, - rulesets_ExecuteRule_output, - rulesets_ExecuteSensitivityLevel_output, - rulesets_ForceConnectionCloseRule_output, - rulesets_JsChallengeRule_output, - rulesets_LogCustomFieldCookieFields_output, - rulesets_LogCustomFieldRawResponseFields_output, - rulesets_LogCustomFieldRequestFields_output, - rulesets_LogCustomFieldResponseFields_output, - rulesets_LogCustomFieldRule_output, - rulesets_LogCustomFieldTransformedRequestFields_output, - rulesets_LogRule_output, - rulesets_ManagedChallengeRule_output, - rulesets_RedirectFromList_output, - rulesets_RedirectFromValue_output, - rulesets_RedirectRule_output, - rulesets_RequestRule_output, - rulesets_ResponseRule_output, - rulesets_ResponseRules_output, - rulesets_RewriteHeaderExpression_output, - rulesets_RewriteHeaderOperation_output, - rulesets_RewriteHeaderValue_output, - rulesets_RewriteHeaders_output, - rulesets_RewriteRule_output, - rulesets_RewriteUriPath_output, - rulesets_RewriteUriQuery_output, - rulesets_RewriteUri_output, - rulesets_RouteHostHeader_output, - rulesets_RouteOrigin_output, - rulesets_RouteRule_output, - rulesets_RouteSNI_output, - rulesets_RuleAction_output, - rulesets_RuleCategories_output, - rulesets_RuleCategory_output, - rulesets_RuleEnabled_output, - rulesets_RuleExposedCredentialCheck_output, - rulesets_RuleId_output, - rulesets_RuleLogging_output, - rulesets_RuleRatelimit_output, - rulesets_Rule_output, - rulesets_RulesetId_output, - rulesets_RulesetKind_output, - rulesets_RulesetPhase_output, - rulesets_RulesetVersion_output, - rulesets_Ruleset_output, - rulesets_ScoreIncrement_output, - rulesets_ScoreRule_output, - rulesets_ServeErrorAssetName_output, - rulesets_ServeErrorContentType_output, - rulesets_ServeErrorContent_output, - rulesets_ServeErrorRule_output, - rulesets_ServeErrorStatusCode_output, - rulesets_SetCacheControlCloudflareOnly_output, - rulesets_SetCacheControlDirectiveWithQualifiers_output, - rulesets_SetCacheControlDirectiveWithValue_output, - rulesets_SetCacheControlDirective_output, - rulesets_SetCacheControlOperation_output, - rulesets_SetCacheControlRule_output, - rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - rulesets_SetCacheSettingsBrowserTTL_output, - rulesets_SetCacheSettingsCacheKey_output, - rulesets_SetCacheSettingsCacheReserve_output, - rulesets_SetCacheSettingsCache_output, - rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - rulesets_SetCacheSettingsCustomCacheKeyHost_output, - rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - rulesets_SetCacheSettingsCustomCacheKeyUser_output, - rulesets_SetCacheSettingsCustomCacheKey_output, - rulesets_SetCacheSettingsEdgeTTL_output, - rulesets_SetCacheSettingsOriginCacheControl_output, - rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - rulesets_SetCacheSettingsOriginRangeRequests_output, - rulesets_SetCacheSettingsReadTimeout_output, - rulesets_SetCacheSettingsRespectStrongEtags_output, - rulesets_SetCacheSettingsRule_output, - rulesets_SetCacheSettingsServeStale_output, - rulesets_SetCacheSettingsSharedDictionary_output, - rulesets_SetCacheSettingsStatusCodeTTL_output, - rulesets_SetCacheSettingsStripETags_output, - rulesets_SetCacheSettingsStripLastModified_output, - rulesets_SetCacheSettingsStripSetCookie_output, - rulesets_SetCacheSettingsVaryDefault_output, - rulesets_SetCacheSettingsVaryHeader_output, - rulesets_SetCacheSettingsVary_output, - rulesets_SetCacheTagsExpression_output, - rulesets_SetCacheTagsOperation_output, - rulesets_SetCacheTagsRule_output, - rulesets_SetCacheTagsValues_output, - rulesets_SetConfigAutominify_output, - rulesets_SetConfigRule_output, - rulesets_SkipPhase_output, - rulesets_SkipPhases_output, - rulesets_SkipProducts_output, - rulesets_SkipRule_output, - rulesets_SkipRules_output, - rulesets_SkipRuleset_output, - rulesets_SkipRulesets_output, - rulesets_TransformResponseHTMLRule_output, -} from "../outputs.js"; -import { - rulesets_AccountId, rulesets_BlockRule, rulesets_ChallengeRule, rulesets_CompressResponseRule, @@ -142,7 +33,8 @@ import { rulesets_RedirectFromValue, rulesets_RedirectRule, rulesets_RequestRule, - rulesets_RequestRules, + rulesets_ResponseRule, + rulesets_ResponseRules, rulesets_RewriteHeaderExpression, rulesets_RewriteHeaderOperation, rulesets_RewriteHeaderValue, @@ -157,6 +49,7 @@ import { rulesets_RouteSNI, rulesets_Rule, rulesets_RuleAction, + rulesets_RuleCategories, rulesets_RuleCategory, rulesets_RuleEnabled, rulesets_RuleExposedCredentialCheck, @@ -165,7 +58,9 @@ import { rulesets_RuleRatelimit, rulesets_Ruleset, rulesets_RulesetId, + rulesets_RulesetKind, rulesets_RulesetPhase, + rulesets_RulesetVersion, rulesets_ScoreIncrement, rulesets_ScoreRule, rulesets_ServeErrorAssetName, @@ -220,6 +115,111 @@ import { rulesets_SkipRuleset, rulesets_SkipRulesets, rulesets_TransformResponseHTMLRule, +} from "../outputs.js"; +import { + rulesets_AccountId, + rulesets_BlockRule as rulesets_BlockRule$, + rulesets_ChallengeRule as rulesets_ChallengeRule$, + rulesets_CompressResponseRule as rulesets_CompressResponseRule$, + rulesets_DDoSDynamicRule as rulesets_DDoSDynamicRule$, + rulesets_ExecuteCategoryOverrides as rulesets_ExecuteCategoryOverrides$, + rulesets_ExecuteMatchedData as rulesets_ExecuteMatchedData$, + rulesets_ExecuteOverrides as rulesets_ExecuteOverrides$, + rulesets_ExecuteRule as rulesets_ExecuteRule$, + rulesets_ExecuteRuleOverrides as rulesets_ExecuteRuleOverrides$, + rulesets_ExecuteSensitivityLevel as rulesets_ExecuteSensitivityLevel$, + rulesets_ForceConnectionCloseRule as rulesets_ForceConnectionCloseRule$, + rulesets_JsChallengeRule as rulesets_JsChallengeRule$, + rulesets_LogCustomFieldCookieFields as rulesets_LogCustomFieldCookieFields$, + rulesets_LogCustomFieldRawResponseFields as rulesets_LogCustomFieldRawResponseFields$, + rulesets_LogCustomFieldRequestFields as rulesets_LogCustomFieldRequestFields$, + rulesets_LogCustomFieldResponseFields as rulesets_LogCustomFieldResponseFields$, + rulesets_LogCustomFieldRule as rulesets_LogCustomFieldRule$, + rulesets_LogCustomFieldTransformedRequestFields as rulesets_LogCustomFieldTransformedRequestFields$, + rulesets_LogRule as rulesets_LogRule$, + rulesets_ManagedChallengeRule as rulesets_ManagedChallengeRule$, + rulesets_RedirectFromList as rulesets_RedirectFromList$, + rulesets_RedirectFromValue as rulesets_RedirectFromValue$, + rulesets_RedirectRule as rulesets_RedirectRule$, + rulesets_RequestRule as rulesets_RequestRule$, + rulesets_RequestRules, + rulesets_RewriteHeaderExpression as rulesets_RewriteHeaderExpression$, + rulesets_RewriteHeaderOperation as rulesets_RewriteHeaderOperation$, + rulesets_RewriteHeaderValue as rulesets_RewriteHeaderValue$, + rulesets_RewriteHeaders as rulesets_RewriteHeaders$, + rulesets_RewriteRule as rulesets_RewriteRule$, + rulesets_RewriteUri as rulesets_RewriteUri$, + rulesets_RewriteUriPath as rulesets_RewriteUriPath$, + rulesets_RewriteUriQuery as rulesets_RewriteUriQuery$, + rulesets_RouteHostHeader as rulesets_RouteHostHeader$, + rulesets_RouteOrigin as rulesets_RouteOrigin$, + rulesets_RouteRule as rulesets_RouteRule$, + rulesets_RouteSNI as rulesets_RouteSNI$, + rulesets_Rule as rulesets_Rule$, + rulesets_RuleAction as rulesets_RuleAction$, + rulesets_RuleCategory as rulesets_RuleCategory$, + rulesets_RuleEnabled as rulesets_RuleEnabled$, + rulesets_RuleExposedCredentialCheck as rulesets_RuleExposedCredentialCheck$, + rulesets_RuleId as rulesets_RuleId$, + rulesets_RuleLogging as rulesets_RuleLogging$, + rulesets_RuleRatelimit as rulesets_RuleRatelimit$, + rulesets_Ruleset as rulesets_Ruleset$, + rulesets_RulesetId as rulesets_RulesetId$, + rulesets_RulesetPhase as rulesets_RulesetPhase$, + rulesets_ScoreIncrement as rulesets_ScoreIncrement$, + rulesets_ScoreRule as rulesets_ScoreRule$, + rulesets_ServeErrorAssetName as rulesets_ServeErrorAssetName$, + rulesets_ServeErrorContent as rulesets_ServeErrorContent$, + rulesets_ServeErrorContentType as rulesets_ServeErrorContentType$, + rulesets_ServeErrorRule as rulesets_ServeErrorRule$, + rulesets_ServeErrorStatusCode as rulesets_ServeErrorStatusCode$, + rulesets_SetCacheControlCloudflareOnly as rulesets_SetCacheControlCloudflareOnly$, + rulesets_SetCacheControlDirective as rulesets_SetCacheControlDirective$, + rulesets_SetCacheControlDirectiveWithQualifiers as rulesets_SetCacheControlDirectiveWithQualifiers$, + rulesets_SetCacheControlDirectiveWithValue as rulesets_SetCacheControlDirectiveWithValue$, + rulesets_SetCacheControlOperation as rulesets_SetCacheControlOperation$, + rulesets_SetCacheControlRule as rulesets_SetCacheControlRule$, + rulesets_SetCacheSettingsAdditionalCacheablePorts as rulesets_SetCacheSettingsAdditionalCacheablePorts$, + rulesets_SetCacheSettingsBrowserTTL as rulesets_SetCacheSettingsBrowserTTL$, + rulesets_SetCacheSettingsCache as rulesets_SetCacheSettingsCache$, + rulesets_SetCacheSettingsCacheKey as rulesets_SetCacheSettingsCacheKey$, + rulesets_SetCacheSettingsCacheReserve as rulesets_SetCacheSettingsCacheReserve$, + rulesets_SetCacheSettingsCustomCacheKey as rulesets_SetCacheSettingsCustomCacheKey$, + rulesets_SetCacheSettingsCustomCacheKeyCookie as rulesets_SetCacheSettingsCustomCacheKeyCookie$, + rulesets_SetCacheSettingsCustomCacheKeyHeader as rulesets_SetCacheSettingsCustomCacheKeyHeader$, + rulesets_SetCacheSettingsCustomCacheKeyHost as rulesets_SetCacheSettingsCustomCacheKeyHost$, + rulesets_SetCacheSettingsCustomCacheKeyQueryString as rulesets_SetCacheSettingsCustomCacheKeyQueryString$, + rulesets_SetCacheSettingsCustomCacheKeyUser as rulesets_SetCacheSettingsCustomCacheKeyUser$, + rulesets_SetCacheSettingsEdgeTTL as rulesets_SetCacheSettingsEdgeTTL$, + rulesets_SetCacheSettingsOriginCacheControl as rulesets_SetCacheSettingsOriginCacheControl$, + rulesets_SetCacheSettingsOriginErrorPagePassthru as rulesets_SetCacheSettingsOriginErrorPagePassthru$, + rulesets_SetCacheSettingsOriginRangeRequests as rulesets_SetCacheSettingsOriginRangeRequests$, + rulesets_SetCacheSettingsReadTimeout as rulesets_SetCacheSettingsReadTimeout$, + rulesets_SetCacheSettingsRespectStrongEtags as rulesets_SetCacheSettingsRespectStrongEtags$, + rulesets_SetCacheSettingsRule as rulesets_SetCacheSettingsRule$, + rulesets_SetCacheSettingsServeStale as rulesets_SetCacheSettingsServeStale$, + rulesets_SetCacheSettingsSharedDictionary as rulesets_SetCacheSettingsSharedDictionary$, + rulesets_SetCacheSettingsStatusCodeTTL as rulesets_SetCacheSettingsStatusCodeTTL$, + rulesets_SetCacheSettingsStripETags as rulesets_SetCacheSettingsStripETags$, + rulesets_SetCacheSettingsStripLastModified as rulesets_SetCacheSettingsStripLastModified$, + rulesets_SetCacheSettingsStripSetCookie as rulesets_SetCacheSettingsStripSetCookie$, + rulesets_SetCacheSettingsVary as rulesets_SetCacheSettingsVary$, + rulesets_SetCacheSettingsVaryDefault as rulesets_SetCacheSettingsVaryDefault$, + rulesets_SetCacheSettingsVaryHeader as rulesets_SetCacheSettingsVaryHeader$, + rulesets_SetCacheTagsExpression as rulesets_SetCacheTagsExpression$, + rulesets_SetCacheTagsOperation as rulesets_SetCacheTagsOperation$, + rulesets_SetCacheTagsRule as rulesets_SetCacheTagsRule$, + rulesets_SetCacheTagsValues as rulesets_SetCacheTagsValues$, + rulesets_SetConfigAutominify as rulesets_SetConfigAutominify$, + rulesets_SetConfigRule as rulesets_SetConfigRule$, + rulesets_SkipPhase as rulesets_SkipPhase$, + rulesets_SkipPhases as rulesets_SkipPhases$, + rulesets_SkipProducts as rulesets_SkipProducts$, + rulesets_SkipRule as rulesets_SkipRule$, + rulesets_SkipRules as rulesets_SkipRules$, + rulesets_SkipRuleset as rulesets_SkipRuleset$, + rulesets_SkipRulesets as rulesets_SkipRulesets$, + rulesets_TransformResponseHTMLRule as rulesets_TransformResponseHTMLRule$, } from "../schemas.js"; /** @@ -233,31 +233,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "ruleset_phase": { + "$ref": "#/$defs/rulesets_RulesetPhase", + "description": "The phase of the ruleset." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "ruleset_phase" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase", - "description": "The phase of the ruleset." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "phase" + "path" ], $defs: { "rulesets_AccountId": rulesets_AccountId, - "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetPhase": rulesets_RulesetPhase$, }, }, outputSchema: { @@ -309,116 +317,116 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, annotations: { @@ -530,180 +538,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, - }, - }, - request: (args) => ({ - path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/phases/${pathParam(args, "phase")}/entrypoint`, - }), - }, - { - name: "rulesets_entrypoint_update", - title: "Update an account or zone entry point ruleset", - description: "Updates an account or zone entry point ruleset, creating a new version.", - inputSchema: { - type: "object", - properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "body": { - "allOf": [ - { - "$ref": "#/$defs/rulesets_Ruleset" - }, - { - "properties": { - "rules": { - "$ref": "#/$defs/rulesets_RequestRules", - "default": [], - "description": "The list of rules in the ruleset." - } - }, - "type": "object" - } - ] - }, - "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase", - "description": "The phase of the ruleset." - }, - "validate_only": { - "default": false, - "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", - "type": "boolean" - } - }, - required: [ - "account_or_zone", - "account_or_zone_id", - "phase", - "body" - ], - $defs: { - "rulesets_AccountId": rulesets_AccountId, "rulesets_BlockRule": rulesets_BlockRule, "rulesets_ChallengeRule": rulesets_ChallengeRule, "rulesets_CompressResponseRule": rulesets_CompressResponseRule, "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, @@ -720,11 +559,15 @@ export const tools: readonly Tool[] = [ "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, "rulesets_LogRule": rulesets_LogRule, "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, "rulesets_RedirectFromList": rulesets_RedirectFromList, "rulesets_RedirectFromValue": rulesets_RedirectFromValue, "rulesets_RedirectRule": rulesets_RedirectRule, "rulesets_RequestRule": rulesets_RequestRule, - "rulesets_RequestRules": rulesets_RequestRules, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, @@ -739,6 +582,7 @@ export const tools: readonly Tool[] = [ "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, "rulesets_RuleCategory": rulesets_RuleCategory, "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, @@ -747,7 +591,9 @@ export const tools: readonly Tool[] = [ "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, @@ -804,6 +650,181 @@ export const tools: readonly Tool[] = [ "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, + request: (args) => ({ + path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/phases/${pathParam(args, "ruleset_phase")}/entrypoint`, + }), + }, + { + name: "rulesets_entrypoint_update", + title: "Update an account or zone entry point ruleset", + description: "Updates an account or zone entry point ruleset, creating a new version.", + inputSchema: { + type: "object", + properties: { + "body": { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "rules": { + "$ref": "#/$defs/rulesets_RequestRules", + "default": [], + "description": "The list of rules in the ruleset." + } + }, + "type": "object" + } + ] + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "ruleset_phase": { + "$ref": "#/$defs/rulesets_RulesetPhase", + "description": "The phase of the ruleset." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "ruleset_phase" + ], + "type": "object" + }, + "query": { + "properties": { + "dry_run": { + "default": false, + "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", + "type": "boolean" + } + }, + "type": "object" + } + }, + required: [ + "path", + "body" + ], + $defs: { + "rulesets_AccountId": rulesets_AccountId, + "rulesets_BlockRule": rulesets_BlockRule$, + "rulesets_ChallengeRule": rulesets_ChallengeRule$, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule$, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides$, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData$, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, + "rulesets_ExecuteRule": rulesets_ExecuteRule$, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields$, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields$, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields$, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule$, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields$, + "rulesets_LogRule": rulesets_LogRule$, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule$, + "rulesets_RedirectFromList": rulesets_RedirectFromList$, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue$, + "rulesets_RedirectRule": rulesets_RedirectRule$, + "rulesets_RequestRule": rulesets_RequestRule$, + "rulesets_RequestRules": rulesets_RequestRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, + "rulesets_RewriteRule": rulesets_RewriteRule$, + "rulesets_RewriteUri": rulesets_RewriteUri$, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, + "rulesets_RouteOrigin": rulesets_RouteOrigin$, + "rulesets_RouteRule": rulesets_RouteRule$, + "rulesets_RouteSNI": rulesets_RouteSNI$, + "rulesets_Rule": rulesets_Rule$, + "rulesets_RuleAction": rulesets_RuleAction$, + "rulesets_RuleCategory": rulesets_RuleCategory$, + "rulesets_RuleEnabled": rulesets_RuleEnabled$, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, + "rulesets_RuleId": rulesets_RuleId$, + "rulesets_RuleLogging": rulesets_RuleLogging$, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, + "rulesets_Ruleset": rulesets_Ruleset$, + "rulesets_RulesetId": rulesets_RulesetId$, + "rulesets_RulesetPhase": rulesets_RulesetPhase$, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, + "rulesets_ScoreRule": rulesets_ScoreRule$, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie$, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader$, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost$, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, + "rulesets_SetConfigRule": rulesets_SetConfigRule$, + "rulesets_SkipPhase": rulesets_SkipPhase$, + "rulesets_SkipPhases": rulesets_SkipPhases$, + "rulesets_SkipProducts": rulesets_SkipProducts$, + "rulesets_SkipRule": rulesets_SkipRule$, + "rulesets_SkipRules": rulesets_SkipRules$, + "rulesets_SkipRuleset": rulesets_SkipRuleset$, + "rulesets_SkipRulesets": rulesets_SkipRulesets$, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, + }, + }, outputSchema: { "allOf": [ { @@ -860,116 +881,116 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, annotations: { @@ -1080,122 +1101,122 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, request: (args) => ({ - path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/phases/${pathParam(args, "phase")}/entrypoint`, + path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/phases/${pathParam(args, "ruleset_phase")}/entrypoint`, query: [ - ["dry_run", args["validate_only"], true], + ["dry_run", param(args, "query", "dry_run"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/rulesets/outputs.ts b/src/generated/forge-mcp/rulesets/outputs.ts index beb2245ea..69d22e5c4 100644 --- a/src/generated/forge-mcp/rulesets/outputs.ts +++ b/src/generated/forge-mcp/rulesets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `rulesets_BlockRule` in responses. */ -export const rulesets_BlockRule_output: JsonSchema = { +export const rulesets_BlockRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -55,7 +55,7 @@ export const rulesets_BlockRule_output: JsonSchema = { /** * The schema of `rulesets_ChallengeRule` in responses. */ -export const rulesets_ChallengeRule_output: JsonSchema = { +export const rulesets_ChallengeRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -80,7 +80,7 @@ export const rulesets_ChallengeRule_output: JsonSchema = { /** * The schema of `rulesets_CompressResponseRule` in responses. */ -export const rulesets_CompressResponseRule_output: JsonSchema = { +export const rulesets_CompressResponseRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -133,14 +133,14 @@ export const rulesets_CompressResponseRule_output: JsonSchema = { /** * The schema of `rulesets_Cursor` in responses. */ -export const rulesets_Cursor_output: JsonSchema = { +export const rulesets_Cursor: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_DDoSDynamicRule` in responses. */ -export const rulesets_DDoSDynamicRule_output: JsonSchema = { +export const rulesets_DDoSDynamicRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -165,7 +165,7 @@ export const rulesets_DDoSDynamicRule_output: JsonSchema = { /** * The schema of `rulesets_ExecuteCategoryOverrides` in responses. */ -export const rulesets_ExecuteCategoryOverrides_output: JsonSchema = { +export const rulesets_ExecuteCategoryOverrides: JsonSchema = { "items": { "properties": { "action": { @@ -221,7 +221,7 @@ export const rulesets_ExecuteCategoryOverrides_output: JsonSchema = { /** * The schema of `rulesets_ExecuteMatchedData` in responses. */ -export const rulesets_ExecuteMatchedData_output: JsonSchema = { +export const rulesets_ExecuteMatchedData: JsonSchema = { "properties": { "public_key": { "type": "string" @@ -236,7 +236,7 @@ export const rulesets_ExecuteMatchedData_output: JsonSchema = { /** * The schema of `rulesets_ExecuteOverrides` in responses. */ -export const rulesets_ExecuteOverrides_output: JsonSchema = { +export const rulesets_ExecuteOverrides: JsonSchema = { "properties": { "action": { "allOf": [ @@ -281,7 +281,7 @@ export const rulesets_ExecuteOverrides_output: JsonSchema = { /** * The schema of `rulesets_ExecuteRule` in responses. */ -export const rulesets_ExecuteRule_output: JsonSchema = { +export const rulesets_ExecuteRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -330,7 +330,7 @@ export const rulesets_ExecuteRule_output: JsonSchema = { /** * The schema of `rulesets_ExecuteRuleOverrides` in responses. */ -export const rulesets_ExecuteRuleOverrides_output: JsonSchema = { +export const rulesets_ExecuteRuleOverrides: JsonSchema = { "items": { "properties": { "action": { @@ -389,7 +389,7 @@ export const rulesets_ExecuteRuleOverrides_output: JsonSchema = { /** * The schema of `rulesets_ExecuteSensitivityLevel` in responses. */ -export const rulesets_ExecuteSensitivityLevel_output: JsonSchema = { +export const rulesets_ExecuteSensitivityLevel: JsonSchema = { "enum": [ "default", "medium", @@ -402,7 +402,7 @@ export const rulesets_ExecuteSensitivityLevel_output: JsonSchema = { /** * The schema of `rulesets_ForceConnectionCloseRule` in responses. */ -export const rulesets_ForceConnectionCloseRule_output: JsonSchema = { +export const rulesets_ForceConnectionCloseRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -427,7 +427,7 @@ export const rulesets_ForceConnectionCloseRule_output: JsonSchema = { /** * The schema of `rulesets_JsChallengeRule` in responses. */ -export const rulesets_JsChallengeRule_output: JsonSchema = { +export const rulesets_JsChallengeRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -452,7 +452,7 @@ export const rulesets_JsChallengeRule_output: JsonSchema = { /** * The schema of `rulesets_LogCustomFieldCookieFields` in responses. */ -export const rulesets_LogCustomFieldCookieFields_output: JsonSchema = { +export const rulesets_LogCustomFieldCookieFields: JsonSchema = { "items": { "properties": { "name": { @@ -471,7 +471,7 @@ export const rulesets_LogCustomFieldCookieFields_output: JsonSchema = { /** * The schema of `rulesets_LogCustomFieldRawResponseFields` in responses. */ -export const rulesets_LogCustomFieldRawResponseFields_output: JsonSchema = { +export const rulesets_LogCustomFieldRawResponseFields: JsonSchema = { "items": { "properties": { "name": { @@ -493,7 +493,7 @@ export const rulesets_LogCustomFieldRawResponseFields_output: JsonSchema = { /** * The schema of `rulesets_LogCustomFieldRequestFields` in responses. */ -export const rulesets_LogCustomFieldRequestFields_output: JsonSchema = { +export const rulesets_LogCustomFieldRequestFields: JsonSchema = { "items": { "properties": { "name": { @@ -512,7 +512,7 @@ export const rulesets_LogCustomFieldRequestFields_output: JsonSchema = { /** * The schema of `rulesets_LogCustomFieldResponseFields` in responses. */ -export const rulesets_LogCustomFieldResponseFields_output: JsonSchema = { +export const rulesets_LogCustomFieldResponseFields: JsonSchema = { "items": { "properties": { "name": { @@ -534,7 +534,7 @@ export const rulesets_LogCustomFieldResponseFields_output: JsonSchema = { /** * The schema of `rulesets_LogCustomFieldRule` in responses. */ -export const rulesets_LogCustomFieldRule_output: JsonSchema = { +export const rulesets_LogCustomFieldRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -579,7 +579,7 @@ export const rulesets_LogCustomFieldRule_output: JsonSchema = { /** * The schema of `rulesets_LogCustomFieldTransformedRequestFields` in responses. */ -export const rulesets_LogCustomFieldTransformedRequestFields_output: JsonSchema = { +export const rulesets_LogCustomFieldTransformedRequestFields: JsonSchema = { "items": { "properties": { "name": { @@ -598,7 +598,7 @@ export const rulesets_LogCustomFieldTransformedRequestFields_output: JsonSchema /** * The schema of `rulesets_LogRule` in responses. */ -export const rulesets_LogRule_output: JsonSchema = { +export const rulesets_LogRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -623,7 +623,7 @@ export const rulesets_LogRule_output: JsonSchema = { /** * The schema of `rulesets_ManagedChallengeRule` in responses. */ -export const rulesets_ManagedChallengeRule_output: JsonSchema = { +export const rulesets_ManagedChallengeRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -648,7 +648,7 @@ export const rulesets_ManagedChallengeRule_output: JsonSchema = { /** * The schema of `rulesets_RedirectFromList` in responses. */ -export const rulesets_RedirectFromList_output: JsonSchema = { +export const rulesets_RedirectFromList: JsonSchema = { "properties": { "key": { "type": "string" @@ -667,7 +667,7 @@ export const rulesets_RedirectFromList_output: JsonSchema = { /** * The schema of `rulesets_RedirectFromValue` in responses. */ -export const rulesets_RedirectFromValue_output: JsonSchema = { +export const rulesets_RedirectFromValue: JsonSchema = { "properties": { "preserve_query_string": { "type": "boolean" @@ -703,7 +703,7 @@ export const rulesets_RedirectFromValue_output: JsonSchema = { /** * The schema of `rulesets_RedirectRule` in responses. */ -export const rulesets_RedirectRule_output: JsonSchema = { +export const rulesets_RedirectRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -739,7 +739,7 @@ export const rulesets_RedirectRule_output: JsonSchema = { /** * The schema of `rulesets_RequestRule` in responses. */ -export const rulesets_RequestRule_output: JsonSchema = { +export const rulesets_RequestRule: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/rulesets_BlockRule" @@ -810,7 +810,7 @@ export const rulesets_RequestRule_output: JsonSchema = { /** * The schema of `rulesets_ResponseRule` in responses. */ -export const rulesets_ResponseRule_output: JsonSchema = { +export const rulesets_ResponseRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_RequestRule" @@ -848,7 +848,7 @@ export const rulesets_ResponseRule_output: JsonSchema = { /** * The schema of `rulesets_ResponseRules` in responses. */ -export const rulesets_ResponseRules_output: JsonSchema = { +export const rulesets_ResponseRules: JsonSchema = { "items": { "$ref": "#/$defs/rulesets_ResponseRule" }, @@ -858,7 +858,7 @@ export const rulesets_ResponseRules_output: JsonSchema = { /** * The schema of `rulesets_ResultInfo` in responses. */ -export const rulesets_ResultInfo_output: JsonSchema = { +export const rulesets_ResultInfo: JsonSchema = { "properties": { "cursors": { "properties": { @@ -885,28 +885,28 @@ export const rulesets_ResultInfo_output: JsonSchema = { /** * The schema of `rulesets_RewriteHeaderExpression` in responses. */ -export const rulesets_RewriteHeaderExpression_output: JsonSchema = { +export const rulesets_RewriteHeaderExpression: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_RewriteHeaderOperation` in responses. */ -export const rulesets_RewriteHeaderOperation_output: JsonSchema = { +export const rulesets_RewriteHeaderOperation: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_RewriteHeaderValue` in responses. */ -export const rulesets_RewriteHeaderValue_output: JsonSchema = { +export const rulesets_RewriteHeaderValue: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_RewriteHeaders` in responses. */ -export const rulesets_RewriteHeaders_output: JsonSchema = { +export const rulesets_RewriteHeaders: JsonSchema = { "additionalProperties": { "oneOf": [ { @@ -1038,7 +1038,7 @@ export const rulesets_RewriteHeaders_output: JsonSchema = { /** * The schema of `rulesets_RewriteRule` in responses. */ -export const rulesets_RewriteRule_output: JsonSchema = { +export const rulesets_RewriteRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -1074,7 +1074,7 @@ export const rulesets_RewriteRule_output: JsonSchema = { /** * The schema of `rulesets_RewriteUri` in responses. */ -export const rulesets_RewriteUri_output: JsonSchema = { +export const rulesets_RewriteUri: JsonSchema = { "allOf": [ { "anyOf": [ @@ -1116,7 +1116,7 @@ export const rulesets_RewriteUri_output: JsonSchema = { /** * The schema of `rulesets_RewriteUriPath` in responses. */ -export const rulesets_RewriteUriPath_output: JsonSchema = { +export const rulesets_RewriteUriPath: JsonSchema = { "properties": { "expression": { "type": "string" @@ -1131,7 +1131,7 @@ export const rulesets_RewriteUriPath_output: JsonSchema = { /** * The schema of `rulesets_RewriteUriQuery` in responses. */ -export const rulesets_RewriteUriQuery_output: JsonSchema = { +export const rulesets_RewriteUriQuery: JsonSchema = { "properties": { "expression": { "type": "string" @@ -1146,14 +1146,14 @@ export const rulesets_RewriteUriQuery_output: JsonSchema = { /** * The schema of `rulesets_RouteHostHeader` in responses. */ -export const rulesets_RouteHostHeader_output: JsonSchema = { +export const rulesets_RouteHostHeader: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_RouteOrigin` in responses. */ -export const rulesets_RouteOrigin_output: JsonSchema = { +export const rulesets_RouteOrigin: JsonSchema = { "properties": { "host": { "type": "string" @@ -1168,7 +1168,7 @@ export const rulesets_RouteOrigin_output: JsonSchema = { /** * The schema of `rulesets_RouteRule` in responses. */ -export const rulesets_RouteRule_output: JsonSchema = { +export const rulesets_RouteRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -1207,7 +1207,7 @@ export const rulesets_RouteRule_output: JsonSchema = { /** * The schema of `rulesets_RouteSNI` in responses. */ -export const rulesets_RouteSNI_output: JsonSchema = { +export const rulesets_RouteSNI: JsonSchema = { "properties": { "value": { "type": "string" @@ -1222,7 +1222,7 @@ export const rulesets_RouteSNI_output: JsonSchema = { /** * The schema of `rulesets_Rule` in responses. */ -export const rulesets_Rule_output: JsonSchema = { +export const rulesets_Rule: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/rulesets_RuleAction" @@ -1282,14 +1282,14 @@ export const rulesets_Rule_output: JsonSchema = { /** * The schema of `rulesets_RuleAction` in responses. */ -export const rulesets_RuleAction_output: JsonSchema = { +export const rulesets_RuleAction: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_RuleCategories` in responses. */ -export const rulesets_RuleCategories_output: JsonSchema = { +export const rulesets_RuleCategories: JsonSchema = { "items": { "$ref": "#/$defs/rulesets_RuleCategory" }, @@ -1300,21 +1300,21 @@ export const rulesets_RuleCategories_output: JsonSchema = { /** * The schema of `rulesets_RuleCategory` in responses. */ -export const rulesets_RuleCategory_output: JsonSchema = { +export const rulesets_RuleCategory: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_RuleEnabled` in responses. */ -export const rulesets_RuleEnabled_output: JsonSchema = { +export const rulesets_RuleEnabled: JsonSchema = { "type": "boolean" }; /** * The schema of `rulesets_RuleExposedCredentialCheck` in responses. */ -export const rulesets_RuleExposedCredentialCheck_output: JsonSchema = { +export const rulesets_RuleExposedCredentialCheck: JsonSchema = { "properties": { "password_expression": { "type": "string" @@ -1333,14 +1333,14 @@ export const rulesets_RuleExposedCredentialCheck_output: JsonSchema = { /** * The schema of `rulesets_RuleId` in responses. */ -export const rulesets_RuleId_output: JsonSchema = { +export const rulesets_RuleId: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_RuleLogging` in responses. */ -export const rulesets_RuleLogging_output: JsonSchema = { +export const rulesets_RuleLogging: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -1355,7 +1355,7 @@ export const rulesets_RuleLogging_output: JsonSchema = { /** * The schema of `rulesets_RuleRatelimit` in responses. */ -export const rulesets_RuleRatelimit_output: JsonSchema = { +export const rulesets_RuleRatelimit: JsonSchema = { "properties": { "characteristics": { "items": { @@ -1396,7 +1396,7 @@ export const rulesets_RuleRatelimit_output: JsonSchema = { /** * The schema of `rulesets_Ruleset` in responses. */ -export const rulesets_Ruleset_output: JsonSchema = { +export const rulesets_Ruleset: JsonSchema = { "properties": { "description": { "type": "string" @@ -1440,14 +1440,14 @@ export const rulesets_Ruleset_output: JsonSchema = { /** * The schema of `rulesets_RulesetId` in responses. */ -export const rulesets_RulesetId_output: JsonSchema = { +export const rulesets_RulesetId: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_RulesetKind` in responses. */ -export const rulesets_RulesetKind_output: JsonSchema = { +export const rulesets_RulesetKind: JsonSchema = { "enum": [ "managed", "custom", @@ -1460,7 +1460,7 @@ export const rulesets_RulesetKind_output: JsonSchema = { /** * The schema of `rulesets_RulesetPhase` in responses. */ -export const rulesets_RulesetPhase_output: JsonSchema = { +export const rulesets_RulesetPhase: JsonSchema = { "enum": [ "ddos_l4", "ddos_l7", @@ -1494,21 +1494,21 @@ export const rulesets_RulesetPhase_output: JsonSchema = { /** * The schema of `rulesets_RulesetVersion` in responses. */ -export const rulesets_RulesetVersion_output: JsonSchema = { +export const rulesets_RulesetVersion: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_ScoreIncrement` in responses. */ -export const rulesets_ScoreIncrement_output: JsonSchema = { +export const rulesets_ScoreIncrement: JsonSchema = { "type": "integer" }; /** * The schema of `rulesets_ScoreRule` in responses. */ -export const rulesets_ScoreRule_output: JsonSchema = { +export const rulesets_ScoreRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -1544,21 +1544,21 @@ export const rulesets_ScoreRule_output: JsonSchema = { /** * The schema of `rulesets_ServeErrorAssetName` in responses. */ -export const rulesets_ServeErrorAssetName_output: JsonSchema = { +export const rulesets_ServeErrorAssetName: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_ServeErrorContent` in responses. */ -export const rulesets_ServeErrorContent_output: JsonSchema = { +export const rulesets_ServeErrorContent: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_ServeErrorContentType` in responses. */ -export const rulesets_ServeErrorContentType_output: JsonSchema = { +export const rulesets_ServeErrorContentType: JsonSchema = { "enum": [ "application/json", "text/html", @@ -1571,7 +1571,7 @@ export const rulesets_ServeErrorContentType_output: JsonSchema = { /** * The schema of `rulesets_ServeErrorRule` in responses. */ -export const rulesets_ServeErrorRule_output: JsonSchema = { +export const rulesets_ServeErrorRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -1640,21 +1640,21 @@ export const rulesets_ServeErrorRule_output: JsonSchema = { /** * The schema of `rulesets_ServeErrorStatusCode` in responses. */ -export const rulesets_ServeErrorStatusCode_output: JsonSchema = { +export const rulesets_ServeErrorStatusCode: JsonSchema = { "type": "integer" }; /** * The schema of `rulesets_SetCacheControlCloudflareOnly` in responses. */ -export const rulesets_SetCacheControlCloudflareOnly_output: JsonSchema = { +export const rulesets_SetCacheControlCloudflareOnly: JsonSchema = { "type": "boolean" }; /** * The schema of `rulesets_SetCacheControlDirective` in responses. */ -export const rulesets_SetCacheControlDirective_output: JsonSchema = { +export const rulesets_SetCacheControlDirective: JsonSchema = { "oneOf": [ { "properties": { @@ -1710,7 +1710,7 @@ export const rulesets_SetCacheControlDirective_output: JsonSchema = { /** * The schema of `rulesets_SetCacheControlDirectiveWithQualifiers` in responses. */ -export const rulesets_SetCacheControlDirectiveWithQualifiers_output: JsonSchema = { +export const rulesets_SetCacheControlDirectiveWithQualifiers: JsonSchema = { "oneOf": [ { "properties": { @@ -1772,7 +1772,7 @@ export const rulesets_SetCacheControlDirectiveWithQualifiers_output: JsonSchema /** * The schema of `rulesets_SetCacheControlDirectiveWithValue` in responses. */ -export const rulesets_SetCacheControlDirectiveWithValue_output: JsonSchema = { +export const rulesets_SetCacheControlDirectiveWithValue: JsonSchema = { "oneOf": [ { "properties": { @@ -1832,7 +1832,7 @@ export const rulesets_SetCacheControlDirectiveWithValue_output: JsonSchema = { /** * The schema of `rulesets_SetCacheControlOperation` in responses. */ -export const rulesets_SetCacheControlOperation_output: JsonSchema = { +export const rulesets_SetCacheControlOperation: JsonSchema = { "enum": [ "set", "remove" @@ -1843,7 +1843,7 @@ export const rulesets_SetCacheControlOperation_output: JsonSchema = { /** * The schema of `rulesets_SetCacheControlRule` in responses. */ -export const rulesets_SetCacheControlRule_output: JsonSchema = { +export const rulesets_SetCacheControlRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -1913,7 +1913,7 @@ export const rulesets_SetCacheControlRule_output: JsonSchema = { * The schema of `rulesets_SetCacheSettingsAdditionalCacheablePorts` in * responses. */ -export const rulesets_SetCacheSettingsAdditionalCacheablePorts_output: JsonSchema = { +export const rulesets_SetCacheSettingsAdditionalCacheablePorts: JsonSchema = { "items": { "type": "integer" }, @@ -1924,7 +1924,7 @@ export const rulesets_SetCacheSettingsAdditionalCacheablePorts_output: JsonSchem /** * The schema of `rulesets_SetCacheSettingsBrowserTTL` in responses. */ -export const rulesets_SetCacheSettingsBrowserTTL_output: JsonSchema = { +export const rulesets_SetCacheSettingsBrowserTTL: JsonSchema = { "properties": { "default": { "type": "integer" @@ -1948,14 +1948,14 @@ export const rulesets_SetCacheSettingsBrowserTTL_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsCache` in responses. */ -export const rulesets_SetCacheSettingsCache_output: JsonSchema = { +export const rulesets_SetCacheSettingsCache: JsonSchema = { "type": "boolean" }; /** * The schema of `rulesets_SetCacheSettingsCacheKey` in responses. */ -export const rulesets_SetCacheSettingsCacheKey_output: JsonSchema = { +export const rulesets_SetCacheSettingsCacheKey: JsonSchema = { "properties": { "cache_by_device_type": { "type": "boolean" @@ -1976,7 +1976,7 @@ export const rulesets_SetCacheSettingsCacheKey_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsCacheReserve` in responses. */ -export const rulesets_SetCacheSettingsCacheReserve_output: JsonSchema = { +export const rulesets_SetCacheSettingsCacheReserve: JsonSchema = { "properties": { "eligible": { "type": "boolean" @@ -1994,7 +1994,7 @@ export const rulesets_SetCacheSettingsCacheReserve_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsCustomCacheKey` in responses. */ -export const rulesets_SetCacheSettingsCustomCacheKey_output: JsonSchema = { +export const rulesets_SetCacheSettingsCustomCacheKey: JsonSchema = { "properties": { "cookie": { "$ref": "#/$defs/rulesets_SetCacheSettingsCustomCacheKeyCookie" @@ -2018,7 +2018,7 @@ export const rulesets_SetCacheSettingsCustomCacheKey_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsCustomCacheKeyCookie` in responses. */ -export const rulesets_SetCacheSettingsCustomCacheKeyCookie_output: JsonSchema = { +export const rulesets_SetCacheSettingsCustomCacheKeyCookie: JsonSchema = { "properties": { "check_presence": { "items": { @@ -2041,7 +2041,7 @@ export const rulesets_SetCacheSettingsCustomCacheKeyCookie_output: JsonSchema = /** * The schema of `rulesets_SetCacheSettingsCustomCacheKeyHeader` in responses. */ -export const rulesets_SetCacheSettingsCustomCacheKeyHeader_output: JsonSchema = { +export const rulesets_SetCacheSettingsCustomCacheKeyHeader: JsonSchema = { "properties": { "check_presence": { "items": { @@ -2077,7 +2077,7 @@ export const rulesets_SetCacheSettingsCustomCacheKeyHeader_output: JsonSchema = /** * The schema of `rulesets_SetCacheSettingsCustomCacheKeyHost` in responses. */ -export const rulesets_SetCacheSettingsCustomCacheKeyHost_output: JsonSchema = { +export const rulesets_SetCacheSettingsCustomCacheKeyHost: JsonSchema = { "properties": { "resolved": { "type": "boolean" @@ -2090,7 +2090,7 @@ export const rulesets_SetCacheSettingsCustomCacheKeyHost_output: JsonSchema = { * The schema of `rulesets_SetCacheSettingsCustomCacheKeyQueryString` in * responses. */ -export const rulesets_SetCacheSettingsCustomCacheKeyQueryString_output: JsonSchema = { +export const rulesets_SetCacheSettingsCustomCacheKeyQueryString: JsonSchema = { "properties": { "exclude": { "properties": { @@ -2135,7 +2135,7 @@ export const rulesets_SetCacheSettingsCustomCacheKeyQueryString_output: JsonSche /** * The schema of `rulesets_SetCacheSettingsCustomCacheKeyUser` in responses. */ -export const rulesets_SetCacheSettingsCustomCacheKeyUser_output: JsonSchema = { +export const rulesets_SetCacheSettingsCustomCacheKeyUser: JsonSchema = { "properties": { "device_type": { "type": "boolean" @@ -2153,7 +2153,7 @@ export const rulesets_SetCacheSettingsCustomCacheKeyUser_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsEdgeTTL` in responses. */ -export const rulesets_SetCacheSettingsEdgeTTL_output: JsonSchema = { +export const rulesets_SetCacheSettingsEdgeTTL: JsonSchema = { "properties": { "default": { "type": "integer" @@ -2179,7 +2179,7 @@ export const rulesets_SetCacheSettingsEdgeTTL_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsOriginCacheControl` in responses. */ -export const rulesets_SetCacheSettingsOriginCacheControl_output: JsonSchema = { +export const rulesets_SetCacheSettingsOriginCacheControl: JsonSchema = { "type": "boolean" }; @@ -2187,14 +2187,14 @@ export const rulesets_SetCacheSettingsOriginCacheControl_output: JsonSchema = { * The schema of `rulesets_SetCacheSettingsOriginErrorPagePassthru` in * responses. */ -export const rulesets_SetCacheSettingsOriginErrorPagePassthru_output: JsonSchema = { +export const rulesets_SetCacheSettingsOriginErrorPagePassthru: JsonSchema = { "type": "boolean" }; /** * The schema of `rulesets_SetCacheSettingsOriginRangeRequests` in responses. */ -export const rulesets_SetCacheSettingsOriginRangeRequests_output: JsonSchema = { +export const rulesets_SetCacheSettingsOriginRangeRequests: JsonSchema = { "properties": { "mode": { "enum": [ @@ -2214,21 +2214,21 @@ export const rulesets_SetCacheSettingsOriginRangeRequests_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsReadTimeout` in responses. */ -export const rulesets_SetCacheSettingsReadTimeout_output: JsonSchema = { +export const rulesets_SetCacheSettingsReadTimeout: JsonSchema = { "type": "integer" }; /** * The schema of `rulesets_SetCacheSettingsRespectStrongEtags` in responses. */ -export const rulesets_SetCacheSettingsRespectStrongEtags_output: JsonSchema = { +export const rulesets_SetCacheSettingsRespectStrongEtags: JsonSchema = { "type": "boolean" }; /** * The schema of `rulesets_SetCacheSettingsRule` in responses. */ -export const rulesets_SetCacheSettingsRule_output: JsonSchema = { +export const rulesets_SetCacheSettingsRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -2309,7 +2309,7 @@ export const rulesets_SetCacheSettingsRule_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsServeStale` in responses. */ -export const rulesets_SetCacheSettingsServeStale_output: JsonSchema = { +export const rulesets_SetCacheSettingsServeStale: JsonSchema = { "properties": { "disable_stale_while_updating": { "type": "boolean" @@ -2321,7 +2321,7 @@ export const rulesets_SetCacheSettingsServeStale_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsSharedDictionary` in responses. */ -export const rulesets_SetCacheSettingsSharedDictionary_output: JsonSchema = { +export const rulesets_SetCacheSettingsSharedDictionary: JsonSchema = { "properties": { "match_pattern": { "type": "string" @@ -2336,7 +2336,7 @@ export const rulesets_SetCacheSettingsSharedDictionary_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsStatusCodeTTL` in responses. */ -export const rulesets_SetCacheSettingsStatusCodeTTL_output: JsonSchema = { +export const rulesets_SetCacheSettingsStatusCodeTTL: JsonSchema = { "items": { "properties": { "status_code": { @@ -2369,28 +2369,28 @@ export const rulesets_SetCacheSettingsStatusCodeTTL_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsStripETags` in responses. */ -export const rulesets_SetCacheSettingsStripETags_output: JsonSchema = { +export const rulesets_SetCacheSettingsStripETags: JsonSchema = { "type": "boolean" }; /** * The schema of `rulesets_SetCacheSettingsStripLastModified` in responses. */ -export const rulesets_SetCacheSettingsStripLastModified_output: JsonSchema = { +export const rulesets_SetCacheSettingsStripLastModified: JsonSchema = { "type": "boolean" }; /** * The schema of `rulesets_SetCacheSettingsStripSetCookie` in responses. */ -export const rulesets_SetCacheSettingsStripSetCookie_output: JsonSchema = { +export const rulesets_SetCacheSettingsStripSetCookie: JsonSchema = { "type": "boolean" }; /** * The schema of `rulesets_SetCacheSettingsVary` in responses. */ -export const rulesets_SetCacheSettingsVary_output: JsonSchema = { +export const rulesets_SetCacheSettingsVary: JsonSchema = { "properties": { "default": { "$ref": "#/$defs/rulesets_SetCacheSettingsVaryDefault" @@ -2408,7 +2408,7 @@ export const rulesets_SetCacheSettingsVary_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsVaryDefault` in responses. */ -export const rulesets_SetCacheSettingsVaryDefault_output: JsonSchema = { +export const rulesets_SetCacheSettingsVaryDefault: JsonSchema = { "properties": { "action": { "enum": [ @@ -2428,7 +2428,7 @@ export const rulesets_SetCacheSettingsVaryDefault_output: JsonSchema = { /** * The schema of `rulesets_SetCacheSettingsVaryHeader` in responses. */ -export const rulesets_SetCacheSettingsVaryHeader_output: JsonSchema = { +export const rulesets_SetCacheSettingsVaryHeader: JsonSchema = { "properties": { "action": { "enum": [ @@ -2462,14 +2462,14 @@ export const rulesets_SetCacheSettingsVaryHeader_output: JsonSchema = { /** * The schema of `rulesets_SetCacheTagsExpression` in responses. */ -export const rulesets_SetCacheTagsExpression_output: JsonSchema = { +export const rulesets_SetCacheTagsExpression: JsonSchema = { "type": "string" }; /** * The schema of `rulesets_SetCacheTagsOperation` in responses. */ -export const rulesets_SetCacheTagsOperation_output: JsonSchema = { +export const rulesets_SetCacheTagsOperation: JsonSchema = { "enum": [ "add", "remove", @@ -2481,7 +2481,7 @@ export const rulesets_SetCacheTagsOperation_output: JsonSchema = { /** * The schema of `rulesets_SetCacheTagsRule` in responses. */ -export const rulesets_SetCacheTagsRule_output: JsonSchema = { +export const rulesets_SetCacheTagsRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -2660,7 +2660,7 @@ export const rulesets_SetCacheTagsRule_output: JsonSchema = { /** * The schema of `rulesets_SetCacheTagsValues` in responses. */ -export const rulesets_SetCacheTagsValues_output: JsonSchema = { +export const rulesets_SetCacheTagsValues: JsonSchema = { "items": { "type": "string" }, @@ -2672,7 +2672,7 @@ export const rulesets_SetCacheTagsValues_output: JsonSchema = { /** * The schema of `rulesets_SetConfigAutominify` in responses. */ -export const rulesets_SetConfigAutominify_output: JsonSchema = { +export const rulesets_SetConfigAutominify: JsonSchema = { "properties": { "css": { "type": "boolean" @@ -2690,7 +2690,7 @@ export const rulesets_SetConfigAutominify_output: JsonSchema = { /** * The schema of `rulesets_SetConfigRule` in responses. */ -export const rulesets_SetConfigRule_output: JsonSchema = { +export const rulesets_SetConfigRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -2838,7 +2838,7 @@ export const rulesets_SetConfigRule_output: JsonSchema = { /** * The schema of `rulesets_SkipPhase` in responses. */ -export const rulesets_SkipPhase_output: JsonSchema = { +export const rulesets_SkipPhase: JsonSchema = { "enum": [ "current" ], @@ -2848,7 +2848,7 @@ export const rulesets_SkipPhase_output: JsonSchema = { /** * The schema of `rulesets_SkipPhases` in responses. */ -export const rulesets_SkipPhases_output: JsonSchema = { +export const rulesets_SkipPhases: JsonSchema = { "items": { "allOf": [ { @@ -2866,7 +2866,7 @@ export const rulesets_SkipPhases_output: JsonSchema = { /** * The schema of `rulesets_SkipProducts` in responses. */ -export const rulesets_SkipProducts_output: JsonSchema = { +export const rulesets_SkipProducts: JsonSchema = { "items": { "enum": [ "bic", @@ -2886,7 +2886,7 @@ export const rulesets_SkipProducts_output: JsonSchema = { /** * The schema of `rulesets_SkipRule` in responses. */ -export const rulesets_SkipRule_output: JsonSchema = { +export const rulesets_SkipRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" @@ -2934,7 +2934,7 @@ export const rulesets_SkipRule_output: JsonSchema = { /** * The schema of `rulesets_SkipRules` in responses. */ -export const rulesets_SkipRules_output: JsonSchema = { +export const rulesets_SkipRules: JsonSchema = { "additionalProperties": { "items": { "allOf": [ @@ -2955,7 +2955,7 @@ export const rulesets_SkipRules_output: JsonSchema = { /** * The schema of `rulesets_SkipRuleset` in responses. */ -export const rulesets_SkipRuleset_output: JsonSchema = { +export const rulesets_SkipRuleset: JsonSchema = { "enum": [ "current" ], @@ -2965,7 +2965,7 @@ export const rulesets_SkipRuleset_output: JsonSchema = { /** * The schema of `rulesets_SkipRulesets` in responses. */ -export const rulesets_SkipRulesets_output: JsonSchema = { +export const rulesets_SkipRulesets: JsonSchema = { "items": { "allOf": [ { @@ -2983,7 +2983,7 @@ export const rulesets_SkipRulesets_output: JsonSchema = { /** * The schema of `rulesets_TransformResponseHTMLRule` in responses. */ -export const rulesets_TransformResponseHTMLRule_output: JsonSchema = { +export const rulesets_TransformResponseHTMLRule: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rulesets_Rule" diff --git a/src/generated/forge-mcp/rulesets/rules/tools.ts b/src/generated/forge-mcp/rulesets/rules/tools.ts index 8703f2a82..024e08ac1 100644 --- a/src/generated/forge-mcp/rulesets/rules/tools.ts +++ b/src/generated/forge-mcp/rulesets/rules/tools.ts @@ -1,123 +1,14 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - rulesets_Errors_output, - rulesets_Message_output, - rulesets_Messages_output, - rulesets_Response_output, + rulesets_Errors, + rulesets_Message, + rulesets_Messages, + rulesets_Response, } from "../../outputs.js"; import { - rulesets_BlockRule_output, - rulesets_ChallengeRule_output, - rulesets_CompressResponseRule_output, - rulesets_DDoSDynamicRule_output, - rulesets_ExecuteCategoryOverrides_output, - rulesets_ExecuteMatchedData_output, - rulesets_ExecuteOverrides_output, - rulesets_ExecuteRuleOverrides_output, - rulesets_ExecuteRule_output, - rulesets_ExecuteSensitivityLevel_output, - rulesets_ForceConnectionCloseRule_output, - rulesets_JsChallengeRule_output, - rulesets_LogCustomFieldCookieFields_output, - rulesets_LogCustomFieldRawResponseFields_output, - rulesets_LogCustomFieldRequestFields_output, - rulesets_LogCustomFieldResponseFields_output, - rulesets_LogCustomFieldRule_output, - rulesets_LogCustomFieldTransformedRequestFields_output, - rulesets_LogRule_output, - rulesets_ManagedChallengeRule_output, - rulesets_RedirectFromList_output, - rulesets_RedirectFromValue_output, - rulesets_RedirectRule_output, - rulesets_RequestRule_output, - rulesets_ResponseRule_output, - rulesets_ResponseRules_output, - rulesets_RewriteHeaderExpression_output, - rulesets_RewriteHeaderOperation_output, - rulesets_RewriteHeaderValue_output, - rulesets_RewriteHeaders_output, - rulesets_RewriteRule_output, - rulesets_RewriteUriPath_output, - rulesets_RewriteUriQuery_output, - rulesets_RewriteUri_output, - rulesets_RouteHostHeader_output, - rulesets_RouteOrigin_output, - rulesets_RouteRule_output, - rulesets_RouteSNI_output, - rulesets_RuleAction_output, - rulesets_RuleCategories_output, - rulesets_RuleCategory_output, - rulesets_RuleEnabled_output, - rulesets_RuleExposedCredentialCheck_output, - rulesets_RuleId_output, - rulesets_RuleLogging_output, - rulesets_RuleRatelimit_output, - rulesets_Rule_output, - rulesets_RulesetId_output, - rulesets_RulesetKind_output, - rulesets_RulesetPhase_output, - rulesets_RulesetVersion_output, - rulesets_Ruleset_output, - rulesets_ScoreIncrement_output, - rulesets_ScoreRule_output, - rulesets_ServeErrorAssetName_output, - rulesets_ServeErrorContentType_output, - rulesets_ServeErrorContent_output, - rulesets_ServeErrorRule_output, - rulesets_ServeErrorStatusCode_output, - rulesets_SetCacheControlCloudflareOnly_output, - rulesets_SetCacheControlDirectiveWithQualifiers_output, - rulesets_SetCacheControlDirectiveWithValue_output, - rulesets_SetCacheControlDirective_output, - rulesets_SetCacheControlOperation_output, - rulesets_SetCacheControlRule_output, - rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - rulesets_SetCacheSettingsBrowserTTL_output, - rulesets_SetCacheSettingsCacheKey_output, - rulesets_SetCacheSettingsCacheReserve_output, - rulesets_SetCacheSettingsCache_output, - rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - rulesets_SetCacheSettingsCustomCacheKeyHost_output, - rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - rulesets_SetCacheSettingsCustomCacheKeyUser_output, - rulesets_SetCacheSettingsCustomCacheKey_output, - rulesets_SetCacheSettingsEdgeTTL_output, - rulesets_SetCacheSettingsOriginCacheControl_output, - rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - rulesets_SetCacheSettingsOriginRangeRequests_output, - rulesets_SetCacheSettingsReadTimeout_output, - rulesets_SetCacheSettingsRespectStrongEtags_output, - rulesets_SetCacheSettingsRule_output, - rulesets_SetCacheSettingsServeStale_output, - rulesets_SetCacheSettingsSharedDictionary_output, - rulesets_SetCacheSettingsStatusCodeTTL_output, - rulesets_SetCacheSettingsStripETags_output, - rulesets_SetCacheSettingsStripLastModified_output, - rulesets_SetCacheSettingsStripSetCookie_output, - rulesets_SetCacheSettingsVaryDefault_output, - rulesets_SetCacheSettingsVaryHeader_output, - rulesets_SetCacheSettingsVary_output, - rulesets_SetCacheTagsExpression_output, - rulesets_SetCacheTagsOperation_output, - rulesets_SetCacheTagsRule_output, - rulesets_SetCacheTagsValues_output, - rulesets_SetConfigAutominify_output, - rulesets_SetConfigRule_output, - rulesets_SkipPhase_output, - rulesets_SkipPhases_output, - rulesets_SkipProducts_output, - rulesets_SkipRule_output, - rulesets_SkipRules_output, - rulesets_SkipRuleset_output, - rulesets_SkipRulesets_output, - rulesets_TransformResponseHTMLRule_output, -} from "../outputs.js"; -import { - rulesets_AccountId, rulesets_BlockRule, rulesets_ChallengeRule, rulesets_CompressResponseRule, @@ -142,6 +33,8 @@ import { rulesets_RedirectFromValue, rulesets_RedirectRule, rulesets_RequestRule, + rulesets_ResponseRule, + rulesets_ResponseRules, rulesets_RewriteHeaderExpression, rulesets_RewriteHeaderOperation, rulesets_RewriteHeaderValue, @@ -156,14 +49,18 @@ import { rulesets_RouteSNI, rulesets_Rule, rulesets_RuleAction, + rulesets_RuleCategories, rulesets_RuleCategory, rulesets_RuleEnabled, rulesets_RuleExposedCredentialCheck, rulesets_RuleId, rulesets_RuleLogging, rulesets_RuleRatelimit, + rulesets_Ruleset, rulesets_RulesetId, + rulesets_RulesetKind, rulesets_RulesetPhase, + rulesets_RulesetVersion, rulesets_ScoreIncrement, rulesets_ScoreRule, rulesets_ServeErrorAssetName, @@ -218,6 +115,109 @@ import { rulesets_SkipRuleset, rulesets_SkipRulesets, rulesets_TransformResponseHTMLRule, +} from "../outputs.js"; +import { + rulesets_AccountId, + rulesets_BlockRule as rulesets_BlockRule$, + rulesets_ChallengeRule as rulesets_ChallengeRule$, + rulesets_CompressResponseRule as rulesets_CompressResponseRule$, + rulesets_DDoSDynamicRule as rulesets_DDoSDynamicRule$, + rulesets_ExecuteCategoryOverrides as rulesets_ExecuteCategoryOverrides$, + rulesets_ExecuteMatchedData as rulesets_ExecuteMatchedData$, + rulesets_ExecuteOverrides as rulesets_ExecuteOverrides$, + rulesets_ExecuteRule as rulesets_ExecuteRule$, + rulesets_ExecuteRuleOverrides as rulesets_ExecuteRuleOverrides$, + rulesets_ExecuteSensitivityLevel as rulesets_ExecuteSensitivityLevel$, + rulesets_ForceConnectionCloseRule as rulesets_ForceConnectionCloseRule$, + rulesets_JsChallengeRule as rulesets_JsChallengeRule$, + rulesets_LogCustomFieldCookieFields as rulesets_LogCustomFieldCookieFields$, + rulesets_LogCustomFieldRawResponseFields as rulesets_LogCustomFieldRawResponseFields$, + rulesets_LogCustomFieldRequestFields as rulesets_LogCustomFieldRequestFields$, + rulesets_LogCustomFieldResponseFields as rulesets_LogCustomFieldResponseFields$, + rulesets_LogCustomFieldRule as rulesets_LogCustomFieldRule$, + rulesets_LogCustomFieldTransformedRequestFields as rulesets_LogCustomFieldTransformedRequestFields$, + rulesets_LogRule as rulesets_LogRule$, + rulesets_ManagedChallengeRule as rulesets_ManagedChallengeRule$, + rulesets_RedirectFromList as rulesets_RedirectFromList$, + rulesets_RedirectFromValue as rulesets_RedirectFromValue$, + rulesets_RedirectRule as rulesets_RedirectRule$, + rulesets_RequestRule as rulesets_RequestRule$, + rulesets_RewriteHeaderExpression as rulesets_RewriteHeaderExpression$, + rulesets_RewriteHeaderOperation as rulesets_RewriteHeaderOperation$, + rulesets_RewriteHeaderValue as rulesets_RewriteHeaderValue$, + rulesets_RewriteHeaders as rulesets_RewriteHeaders$, + rulesets_RewriteRule as rulesets_RewriteRule$, + rulesets_RewriteUri as rulesets_RewriteUri$, + rulesets_RewriteUriPath as rulesets_RewriteUriPath$, + rulesets_RewriteUriQuery as rulesets_RewriteUriQuery$, + rulesets_RouteHostHeader as rulesets_RouteHostHeader$, + rulesets_RouteOrigin as rulesets_RouteOrigin$, + rulesets_RouteRule as rulesets_RouteRule$, + rulesets_RouteSNI as rulesets_RouteSNI$, + rulesets_Rule as rulesets_Rule$, + rulesets_RuleAction as rulesets_RuleAction$, + rulesets_RuleCategory as rulesets_RuleCategory$, + rulesets_RuleEnabled as rulesets_RuleEnabled$, + rulesets_RuleExposedCredentialCheck as rulesets_RuleExposedCredentialCheck$, + rulesets_RuleId as rulesets_RuleId$, + rulesets_RuleLogging as rulesets_RuleLogging$, + rulesets_RuleRatelimit as rulesets_RuleRatelimit$, + rulesets_RulesetId as rulesets_RulesetId$, + rulesets_RulesetPhase as rulesets_RulesetPhase$, + rulesets_ScoreIncrement as rulesets_ScoreIncrement$, + rulesets_ScoreRule as rulesets_ScoreRule$, + rulesets_ServeErrorAssetName as rulesets_ServeErrorAssetName$, + rulesets_ServeErrorContent as rulesets_ServeErrorContent$, + rulesets_ServeErrorContentType as rulesets_ServeErrorContentType$, + rulesets_ServeErrorRule as rulesets_ServeErrorRule$, + rulesets_ServeErrorStatusCode as rulesets_ServeErrorStatusCode$, + rulesets_SetCacheControlCloudflareOnly as rulesets_SetCacheControlCloudflareOnly$, + rulesets_SetCacheControlDirective as rulesets_SetCacheControlDirective$, + rulesets_SetCacheControlDirectiveWithQualifiers as rulesets_SetCacheControlDirectiveWithQualifiers$, + rulesets_SetCacheControlDirectiveWithValue as rulesets_SetCacheControlDirectiveWithValue$, + rulesets_SetCacheControlOperation as rulesets_SetCacheControlOperation$, + rulesets_SetCacheControlRule as rulesets_SetCacheControlRule$, + rulesets_SetCacheSettingsAdditionalCacheablePorts as rulesets_SetCacheSettingsAdditionalCacheablePorts$, + rulesets_SetCacheSettingsBrowserTTL as rulesets_SetCacheSettingsBrowserTTL$, + rulesets_SetCacheSettingsCache as rulesets_SetCacheSettingsCache$, + rulesets_SetCacheSettingsCacheKey as rulesets_SetCacheSettingsCacheKey$, + rulesets_SetCacheSettingsCacheReserve as rulesets_SetCacheSettingsCacheReserve$, + rulesets_SetCacheSettingsCustomCacheKey as rulesets_SetCacheSettingsCustomCacheKey$, + rulesets_SetCacheSettingsCustomCacheKeyCookie as rulesets_SetCacheSettingsCustomCacheKeyCookie$, + rulesets_SetCacheSettingsCustomCacheKeyHeader as rulesets_SetCacheSettingsCustomCacheKeyHeader$, + rulesets_SetCacheSettingsCustomCacheKeyHost as rulesets_SetCacheSettingsCustomCacheKeyHost$, + rulesets_SetCacheSettingsCustomCacheKeyQueryString as rulesets_SetCacheSettingsCustomCacheKeyQueryString$, + rulesets_SetCacheSettingsCustomCacheKeyUser as rulesets_SetCacheSettingsCustomCacheKeyUser$, + rulesets_SetCacheSettingsEdgeTTL as rulesets_SetCacheSettingsEdgeTTL$, + rulesets_SetCacheSettingsOriginCacheControl as rulesets_SetCacheSettingsOriginCacheControl$, + rulesets_SetCacheSettingsOriginErrorPagePassthru as rulesets_SetCacheSettingsOriginErrorPagePassthru$, + rulesets_SetCacheSettingsOriginRangeRequests as rulesets_SetCacheSettingsOriginRangeRequests$, + rulesets_SetCacheSettingsReadTimeout as rulesets_SetCacheSettingsReadTimeout$, + rulesets_SetCacheSettingsRespectStrongEtags as rulesets_SetCacheSettingsRespectStrongEtags$, + rulesets_SetCacheSettingsRule as rulesets_SetCacheSettingsRule$, + rulesets_SetCacheSettingsServeStale as rulesets_SetCacheSettingsServeStale$, + rulesets_SetCacheSettingsSharedDictionary as rulesets_SetCacheSettingsSharedDictionary$, + rulesets_SetCacheSettingsStatusCodeTTL as rulesets_SetCacheSettingsStatusCodeTTL$, + rulesets_SetCacheSettingsStripETags as rulesets_SetCacheSettingsStripETags$, + rulesets_SetCacheSettingsStripLastModified as rulesets_SetCacheSettingsStripLastModified$, + rulesets_SetCacheSettingsStripSetCookie as rulesets_SetCacheSettingsStripSetCookie$, + rulesets_SetCacheSettingsVary as rulesets_SetCacheSettingsVary$, + rulesets_SetCacheSettingsVaryDefault as rulesets_SetCacheSettingsVaryDefault$, + rulesets_SetCacheSettingsVaryHeader as rulesets_SetCacheSettingsVaryHeader$, + rulesets_SetCacheTagsExpression as rulesets_SetCacheTagsExpression$, + rulesets_SetCacheTagsOperation as rulesets_SetCacheTagsOperation$, + rulesets_SetCacheTagsRule as rulesets_SetCacheTagsRule$, + rulesets_SetCacheTagsValues as rulesets_SetCacheTagsValues$, + rulesets_SetConfigAutominify as rulesets_SetConfigAutominify$, + rulesets_SetConfigRule as rulesets_SetConfigRule$, + rulesets_SkipPhase as rulesets_SkipPhase$, + rulesets_SkipPhases as rulesets_SkipPhases$, + rulesets_SkipProducts as rulesets_SkipProducts$, + rulesets_SkipRule as rulesets_SkipRule$, + rulesets_SkipRules as rulesets_SkipRules$, + rulesets_SkipRuleset as rulesets_SkipRuleset$, + rulesets_SkipRulesets as rulesets_SkipRulesets$, + rulesets_TransformResponseHTMLRule as rulesets_TransformResponseHTMLRule$, } from "../schemas.js"; import { rulesets_RulePosition } from "./schemas.js"; @@ -232,18 +232,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "allOf": [ { @@ -308,28 +296,213 @@ export const tools: readonly Tool[] = [ } ] }, - "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "ruleset_id": { + "$ref": "#/$defs/rulesets_RulesetId", + "description": "The unique ID of the ruleset." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "ruleset_id" + ], + "type": "object" }, - "validate_only": { - "default": false, - "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", - "type": "boolean" + "query": { + "properties": { + "dry_run": { + "default": false, + "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "ruleset_id", + "path", "body" ], $defs: { "rulesets_AccountId": rulesets_AccountId, + "rulesets_BlockRule": rulesets_BlockRule$, + "rulesets_ChallengeRule": rulesets_ChallengeRule$, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule$, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides$, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData$, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, + "rulesets_ExecuteRule": rulesets_ExecuteRule$, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields$, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields$, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields$, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule$, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields$, + "rulesets_LogRule": rulesets_LogRule$, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule$, + "rulesets_RedirectFromList": rulesets_RedirectFromList$, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue$, + "rulesets_RedirectRule": rulesets_RedirectRule$, + "rulesets_RequestRule": rulesets_RequestRule$, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, + "rulesets_RewriteRule": rulesets_RewriteRule$, + "rulesets_RewriteUri": rulesets_RewriteUri$, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, + "rulesets_RouteOrigin": rulesets_RouteOrigin$, + "rulesets_RouteRule": rulesets_RouteRule$, + "rulesets_RouteSNI": rulesets_RouteSNI$, + "rulesets_Rule": rulesets_Rule$, + "rulesets_RuleAction": rulesets_RuleAction$, + "rulesets_RuleCategory": rulesets_RuleCategory$, + "rulesets_RuleEnabled": rulesets_RuleEnabled$, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, + "rulesets_RuleId": rulesets_RuleId$, + "rulesets_RuleLogging": rulesets_RuleLogging$, + "rulesets_RulePosition": rulesets_RulePosition, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, + "rulesets_RulesetId": rulesets_RulesetId$, + "rulesets_RulesetPhase": rulesets_RulesetPhase$, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, + "rulesets_ScoreRule": rulesets_ScoreRule$, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie$, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader$, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost$, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, + "rulesets_SetConfigRule": rulesets_SetConfigRule$, + "rulesets_SkipPhase": rulesets_SkipPhase$, + "rulesets_SkipPhases": rulesets_SkipPhases$, + "rulesets_SkipProducts": rulesets_SkipProducts$, + "rulesets_SkipRule": rulesets_SkipRule$, + "rulesets_SkipRules": rulesets_SkipRules$, + "rulesets_SkipRuleset": rulesets_SkipRuleset$, + "rulesets_SkipRulesets": rulesets_SkipRulesets$, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ], + $defs: { "rulesets_BlockRule": rulesets_BlockRule, "rulesets_ChallengeRule": rulesets_ChallengeRule, "rulesets_CompressResponseRule": rulesets_CompressResponseRule, "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, @@ -346,10 +519,15 @@ export const tools: readonly Tool[] = [ "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, "rulesets_LogRule": rulesets_LogRule, "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, "rulesets_RedirectFromList": rulesets_RedirectFromList, "rulesets_RedirectFromValue": rulesets_RedirectFromValue, "rulesets_RedirectRule": rulesets_RedirectRule, "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, @@ -364,15 +542,18 @@ export const tools: readonly Tool[] = [ "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, "rulesets_RuleCategory": rulesets_RuleCategory, "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, - "rulesets_RulePosition": rulesets_RulePosition, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, @@ -429,174 +610,6 @@ export const tools: readonly Tool[] = [ "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/rulesets_Response" - }, - { - "properties": { - "errors": {}, - "result": { - "oneOf": [ - { - "allOf": [ - { - "$ref": "#/$defs/rulesets_Ruleset" - }, - { - "properties": { - "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" - }, - "name": { - "type": "string" - }, - "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" - }, - "rules": { - "$ref": "#/$defs/rulesets_ResponseRules" - } - }, - "required": [ - "kind", - "name", - "phase", - "rules" - ], - "type": "object" - } - ] - }, - { - "type": "null" - } - ] - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "type": "object" - } - ], - $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -705,122 +718,122 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}/rules`, query: [ - ["dry_run", args["validate_only"], true], + ["dry_run", param(args, "query", "dry_run"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -832,42 +845,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "rule_id": { + "$ref": "#/$defs/rulesets_RuleId", + "description": "The unique ID of the rule." + }, + "ruleset_id": { + "$ref": "#/$defs/rulesets_RulesetId", + "description": "The unique ID of the ruleset." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "ruleset_id", + "rule_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "rule_id": { - "$ref": "#/$defs/rulesets_RuleId", - "description": "The unique ID of the rule." - }, - "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "type": "object" }, - "validate_only": { - "default": false, - "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", - "type": "boolean" - } - }, - required: [ - "account_or_zone", - "account_or_zone_id", - "ruleset_id", - "rule_id" + "query": { + "properties": { + "dry_run": { + "default": false, + "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", + "type": "boolean" + } + }, + "type": "object" + } + }, + required: [ + "path" ], $defs: { "rulesets_AccountId": rulesets_AccountId, - "rulesets_RuleId": rulesets_RuleId, - "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RuleId": rulesets_RuleId$, + "rulesets_RulesetId": rulesets_RulesetId$, }, }, outputSchema: { @@ -926,116 +952,116 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, annotations: { @@ -1146,122 +1172,122 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}/rules/${pathParam(args, "rule_id")}`, query: [ - ["dry_run", args["validate_only"], true], + ["dry_run", param(args, "query", "dry_run"), true], ], }), }, @@ -1272,18 +1298,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "allOf": [ { @@ -1348,33 +1362,218 @@ export const tools: readonly Tool[] = [ } ] }, - "rule_id": { - "$ref": "#/$defs/rulesets_RuleId", - "description": "The unique ID of the rule." - }, - "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "rule_id": { + "$ref": "#/$defs/rulesets_RuleId", + "description": "The unique ID of the rule." + }, + "ruleset_id": { + "$ref": "#/$defs/rulesets_RulesetId", + "description": "The unique ID of the ruleset." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "ruleset_id", + "rule_id" + ], + "type": "object" }, - "validate_only": { - "default": false, - "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", - "type": "boolean" + "query": { + "properties": { + "dry_run": { + "default": false, + "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "ruleset_id", - "rule_id", + "path", "body" ], $defs: { "rulesets_AccountId": rulesets_AccountId, + "rulesets_BlockRule": rulesets_BlockRule$, + "rulesets_ChallengeRule": rulesets_ChallengeRule$, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule$, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides$, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData$, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, + "rulesets_ExecuteRule": rulesets_ExecuteRule$, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields$, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields$, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields$, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule$, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields$, + "rulesets_LogRule": rulesets_LogRule$, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule$, + "rulesets_RedirectFromList": rulesets_RedirectFromList$, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue$, + "rulesets_RedirectRule": rulesets_RedirectRule$, + "rulesets_RequestRule": rulesets_RequestRule$, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, + "rulesets_RewriteRule": rulesets_RewriteRule$, + "rulesets_RewriteUri": rulesets_RewriteUri$, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, + "rulesets_RouteOrigin": rulesets_RouteOrigin$, + "rulesets_RouteRule": rulesets_RouteRule$, + "rulesets_RouteSNI": rulesets_RouteSNI$, + "rulesets_Rule": rulesets_Rule$, + "rulesets_RuleAction": rulesets_RuleAction$, + "rulesets_RuleCategory": rulesets_RuleCategory$, + "rulesets_RuleEnabled": rulesets_RuleEnabled$, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, + "rulesets_RuleId": rulesets_RuleId$, + "rulesets_RuleLogging": rulesets_RuleLogging$, + "rulesets_RulePosition": rulesets_RulePosition, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, + "rulesets_RulesetId": rulesets_RulesetId$, + "rulesets_RulesetPhase": rulesets_RulesetPhase$, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, + "rulesets_ScoreRule": rulesets_ScoreRule$, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie$, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader$, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost$, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, + "rulesets_SetConfigRule": rulesets_SetConfigRule$, + "rulesets_SkipPhase": rulesets_SkipPhase$, + "rulesets_SkipPhases": rulesets_SkipPhases$, + "rulesets_SkipProducts": rulesets_SkipProducts$, + "rulesets_SkipRule": rulesets_SkipRule$, + "rulesets_SkipRules": rulesets_SkipRules$, + "rulesets_SkipRuleset": rulesets_SkipRuleset$, + "rulesets_SkipRulesets": rulesets_SkipRulesets$, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ], + $defs: { "rulesets_BlockRule": rulesets_BlockRule, "rulesets_ChallengeRule": rulesets_ChallengeRule, "rulesets_CompressResponseRule": rulesets_CompressResponseRule, "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, @@ -1391,10 +1590,15 @@ export const tools: readonly Tool[] = [ "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, "rulesets_LogRule": rulesets_LogRule, "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, "rulesets_RedirectFromList": rulesets_RedirectFromList, "rulesets_RedirectFromValue": rulesets_RedirectFromValue, "rulesets_RedirectRule": rulesets_RedirectRule, "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, @@ -1409,15 +1613,18 @@ export const tools: readonly Tool[] = [ "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, "rulesets_RuleCategory": rulesets_RuleCategory, "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, - "rulesets_RulePosition": rulesets_RulePosition, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, @@ -1474,174 +1681,6 @@ export const tools: readonly Tool[] = [ "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/rulesets_Response" - }, - { - "properties": { - "errors": {}, - "result": { - "oneOf": [ - { - "allOf": [ - { - "$ref": "#/$defs/rulesets_Ruleset" - }, - { - "properties": { - "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" - }, - "name": { - "type": "string" - }, - "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" - }, - "rules": { - "$ref": "#/$defs/rulesets_ResponseRules" - } - }, - "required": [ - "kind", - "name", - "phase", - "rules" - ], - "type": "object" - } - ] - }, - { - "type": "null" - } - ] - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "type": "object" - } - ], - $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -1750,122 +1789,122 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}/rules/${pathParam(args, "rule_id")}`, query: [ - ["dry_run", args["validate_only"], true], + ["dry_run", param(args, "query", "dry_run"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/rulesets/tools.ts b/src/generated/forge-mcp/rulesets/tools.ts index 584c9ca91..70ce38338 100644 --- a/src/generated/forge-mcp/rulesets/tools.ts +++ b/src/generated/forge-mcp/rulesets/tools.ts @@ -1,125 +1,14 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - rulesets_Errors_output, - rulesets_Message_output, - rulesets_Messages_output, - rulesets_Response_output, + rulesets_Errors, + rulesets_Message, + rulesets_Messages, + rulesets_Response, } from "../outputs.js"; import { - rulesets_BlockRule_output, - rulesets_ChallengeRule_output, - rulesets_CompressResponseRule_output, - rulesets_Cursor_output, - rulesets_DDoSDynamicRule_output, - rulesets_ExecuteCategoryOverrides_output, - rulesets_ExecuteMatchedData_output, - rulesets_ExecuteOverrides_output, - rulesets_ExecuteRuleOverrides_output, - rulesets_ExecuteRule_output, - rulesets_ExecuteSensitivityLevel_output, - rulesets_ForceConnectionCloseRule_output, - rulesets_JsChallengeRule_output, - rulesets_LogCustomFieldCookieFields_output, - rulesets_LogCustomFieldRawResponseFields_output, - rulesets_LogCustomFieldRequestFields_output, - rulesets_LogCustomFieldResponseFields_output, - rulesets_LogCustomFieldRule_output, - rulesets_LogCustomFieldTransformedRequestFields_output, - rulesets_LogRule_output, - rulesets_ManagedChallengeRule_output, - rulesets_RedirectFromList_output, - rulesets_RedirectFromValue_output, - rulesets_RedirectRule_output, - rulesets_RequestRule_output, - rulesets_ResponseRule_output, - rulesets_ResponseRules_output, - rulesets_ResultInfo_output, - rulesets_RewriteHeaderExpression_output, - rulesets_RewriteHeaderOperation_output, - rulesets_RewriteHeaderValue_output, - rulesets_RewriteHeaders_output, - rulesets_RewriteRule_output, - rulesets_RewriteUriPath_output, - rulesets_RewriteUriQuery_output, - rulesets_RewriteUri_output, - rulesets_RouteHostHeader_output, - rulesets_RouteOrigin_output, - rulesets_RouteRule_output, - rulesets_RouteSNI_output, - rulesets_RuleAction_output, - rulesets_RuleCategories_output, - rulesets_RuleCategory_output, - rulesets_RuleEnabled_output, - rulesets_RuleExposedCredentialCheck_output, - rulesets_RuleId_output, - rulesets_RuleLogging_output, - rulesets_RuleRatelimit_output, - rulesets_Rule_output, - rulesets_RulesetId_output, - rulesets_RulesetKind_output, - rulesets_RulesetPhase_output, - rulesets_RulesetVersion_output, - rulesets_Ruleset_output, - rulesets_ScoreIncrement_output, - rulesets_ScoreRule_output, - rulesets_ServeErrorAssetName_output, - rulesets_ServeErrorContentType_output, - rulesets_ServeErrorContent_output, - rulesets_ServeErrorRule_output, - rulesets_ServeErrorStatusCode_output, - rulesets_SetCacheControlCloudflareOnly_output, - rulesets_SetCacheControlDirectiveWithQualifiers_output, - rulesets_SetCacheControlDirectiveWithValue_output, - rulesets_SetCacheControlDirective_output, - rulesets_SetCacheControlOperation_output, - rulesets_SetCacheControlRule_output, - rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - rulesets_SetCacheSettingsBrowserTTL_output, - rulesets_SetCacheSettingsCacheKey_output, - rulesets_SetCacheSettingsCacheReserve_output, - rulesets_SetCacheSettingsCache_output, - rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - rulesets_SetCacheSettingsCustomCacheKeyHost_output, - rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - rulesets_SetCacheSettingsCustomCacheKeyUser_output, - rulesets_SetCacheSettingsCustomCacheKey_output, - rulesets_SetCacheSettingsEdgeTTL_output, - rulesets_SetCacheSettingsOriginCacheControl_output, - rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - rulesets_SetCacheSettingsOriginRangeRequests_output, - rulesets_SetCacheSettingsReadTimeout_output, - rulesets_SetCacheSettingsRespectStrongEtags_output, - rulesets_SetCacheSettingsRule_output, - rulesets_SetCacheSettingsServeStale_output, - rulesets_SetCacheSettingsSharedDictionary_output, - rulesets_SetCacheSettingsStatusCodeTTL_output, - rulesets_SetCacheSettingsStripETags_output, - rulesets_SetCacheSettingsStripLastModified_output, - rulesets_SetCacheSettingsStripSetCookie_output, - rulesets_SetCacheSettingsVaryDefault_output, - rulesets_SetCacheSettingsVaryHeader_output, - rulesets_SetCacheSettingsVary_output, - rulesets_SetCacheTagsExpression_output, - rulesets_SetCacheTagsOperation_output, - rulesets_SetCacheTagsRule_output, - rulesets_SetCacheTagsValues_output, - rulesets_SetConfigAutominify_output, - rulesets_SetConfigRule_output, - rulesets_SkipPhase_output, - rulesets_SkipPhases_output, - rulesets_SkipProducts_output, - rulesets_SkipRule_output, - rulesets_SkipRules_output, - rulesets_SkipRuleset_output, - rulesets_SkipRulesets_output, - rulesets_TransformResponseHTMLRule_output, -} from "./outputs.js"; -import { - rulesets_AccountId, rulesets_BlockRule, rulesets_ChallengeRule, rulesets_CompressResponseRule, @@ -141,12 +30,13 @@ import { rulesets_LogCustomFieldTransformedRequestFields, rulesets_LogRule, rulesets_ManagedChallengeRule, - rulesets_PerPage, rulesets_RedirectFromList, rulesets_RedirectFromValue, rulesets_RedirectRule, rulesets_RequestRule, - rulesets_RequestRules, + rulesets_ResponseRule, + rulesets_ResponseRules, + rulesets_ResultInfo, rulesets_RewriteHeaderExpression, rulesets_RewriteHeaderOperation, rulesets_RewriteHeaderValue, @@ -161,6 +51,7 @@ import { rulesets_RouteSNI, rulesets_Rule, rulesets_RuleAction, + rulesets_RuleCategories, rulesets_RuleCategory, rulesets_RuleEnabled, rulesets_RuleExposedCredentialCheck, @@ -171,6 +62,7 @@ import { rulesets_RulesetId, rulesets_RulesetKind, rulesets_RulesetPhase, + rulesets_RulesetVersion, rulesets_ScoreIncrement, rulesets_ScoreRule, rulesets_ServeErrorAssetName, @@ -225,6 +117,114 @@ import { rulesets_SkipRuleset, rulesets_SkipRulesets, rulesets_TransformResponseHTMLRule, +} from "./outputs.js"; +import { + rulesets_AccountId, + rulesets_BlockRule as rulesets_BlockRule$, + rulesets_ChallengeRule as rulesets_ChallengeRule$, + rulesets_CompressResponseRule as rulesets_CompressResponseRule$, + rulesets_Cursor as rulesets_Cursor$, + rulesets_DDoSDynamicRule as rulesets_DDoSDynamicRule$, + rulesets_ExecuteCategoryOverrides as rulesets_ExecuteCategoryOverrides$, + rulesets_ExecuteMatchedData as rulesets_ExecuteMatchedData$, + rulesets_ExecuteOverrides as rulesets_ExecuteOverrides$, + rulesets_ExecuteRule as rulesets_ExecuteRule$, + rulesets_ExecuteRuleOverrides as rulesets_ExecuteRuleOverrides$, + rulesets_ExecuteSensitivityLevel as rulesets_ExecuteSensitivityLevel$, + rulesets_ForceConnectionCloseRule as rulesets_ForceConnectionCloseRule$, + rulesets_JsChallengeRule as rulesets_JsChallengeRule$, + rulesets_LogCustomFieldCookieFields as rulesets_LogCustomFieldCookieFields$, + rulesets_LogCustomFieldRawResponseFields as rulesets_LogCustomFieldRawResponseFields$, + rulesets_LogCustomFieldRequestFields as rulesets_LogCustomFieldRequestFields$, + rulesets_LogCustomFieldResponseFields as rulesets_LogCustomFieldResponseFields$, + rulesets_LogCustomFieldRule as rulesets_LogCustomFieldRule$, + rulesets_LogCustomFieldTransformedRequestFields as rulesets_LogCustomFieldTransformedRequestFields$, + rulesets_LogRule as rulesets_LogRule$, + rulesets_ManagedChallengeRule as rulesets_ManagedChallengeRule$, + rulesets_PerPage, + rulesets_RedirectFromList as rulesets_RedirectFromList$, + rulesets_RedirectFromValue as rulesets_RedirectFromValue$, + rulesets_RedirectRule as rulesets_RedirectRule$, + rulesets_RequestRule as rulesets_RequestRule$, + rulesets_RequestRules, + rulesets_RewriteHeaderExpression as rulesets_RewriteHeaderExpression$, + rulesets_RewriteHeaderOperation as rulesets_RewriteHeaderOperation$, + rulesets_RewriteHeaderValue as rulesets_RewriteHeaderValue$, + rulesets_RewriteHeaders as rulesets_RewriteHeaders$, + rulesets_RewriteRule as rulesets_RewriteRule$, + rulesets_RewriteUri as rulesets_RewriteUri$, + rulesets_RewriteUriPath as rulesets_RewriteUriPath$, + rulesets_RewriteUriQuery as rulesets_RewriteUriQuery$, + rulesets_RouteHostHeader as rulesets_RouteHostHeader$, + rulesets_RouteOrigin as rulesets_RouteOrigin$, + rulesets_RouteRule as rulesets_RouteRule$, + rulesets_RouteSNI as rulesets_RouteSNI$, + rulesets_Rule as rulesets_Rule$, + rulesets_RuleAction as rulesets_RuleAction$, + rulesets_RuleCategory as rulesets_RuleCategory$, + rulesets_RuleEnabled as rulesets_RuleEnabled$, + rulesets_RuleExposedCredentialCheck as rulesets_RuleExposedCredentialCheck$, + rulesets_RuleId as rulesets_RuleId$, + rulesets_RuleLogging as rulesets_RuleLogging$, + rulesets_RuleRatelimit as rulesets_RuleRatelimit$, + rulesets_Ruleset as rulesets_Ruleset$, + rulesets_RulesetId as rulesets_RulesetId$, + rulesets_RulesetKind as rulesets_RulesetKind$, + rulesets_RulesetPhase as rulesets_RulesetPhase$, + rulesets_ScoreIncrement as rulesets_ScoreIncrement$, + rulesets_ScoreRule as rulesets_ScoreRule$, + rulesets_ServeErrorAssetName as rulesets_ServeErrorAssetName$, + rulesets_ServeErrorContent as rulesets_ServeErrorContent$, + rulesets_ServeErrorContentType as rulesets_ServeErrorContentType$, + rulesets_ServeErrorRule as rulesets_ServeErrorRule$, + rulesets_ServeErrorStatusCode as rulesets_ServeErrorStatusCode$, + rulesets_SetCacheControlCloudflareOnly as rulesets_SetCacheControlCloudflareOnly$, + rulesets_SetCacheControlDirective as rulesets_SetCacheControlDirective$, + rulesets_SetCacheControlDirectiveWithQualifiers as rulesets_SetCacheControlDirectiveWithQualifiers$, + rulesets_SetCacheControlDirectiveWithValue as rulesets_SetCacheControlDirectiveWithValue$, + rulesets_SetCacheControlOperation as rulesets_SetCacheControlOperation$, + rulesets_SetCacheControlRule as rulesets_SetCacheControlRule$, + rulesets_SetCacheSettingsAdditionalCacheablePorts as rulesets_SetCacheSettingsAdditionalCacheablePorts$, + rulesets_SetCacheSettingsBrowserTTL as rulesets_SetCacheSettingsBrowserTTL$, + rulesets_SetCacheSettingsCache as rulesets_SetCacheSettingsCache$, + rulesets_SetCacheSettingsCacheKey as rulesets_SetCacheSettingsCacheKey$, + rulesets_SetCacheSettingsCacheReserve as rulesets_SetCacheSettingsCacheReserve$, + rulesets_SetCacheSettingsCustomCacheKey as rulesets_SetCacheSettingsCustomCacheKey$, + rulesets_SetCacheSettingsCustomCacheKeyCookie as rulesets_SetCacheSettingsCustomCacheKeyCookie$, + rulesets_SetCacheSettingsCustomCacheKeyHeader as rulesets_SetCacheSettingsCustomCacheKeyHeader$, + rulesets_SetCacheSettingsCustomCacheKeyHost as rulesets_SetCacheSettingsCustomCacheKeyHost$, + rulesets_SetCacheSettingsCustomCacheKeyQueryString as rulesets_SetCacheSettingsCustomCacheKeyQueryString$, + rulesets_SetCacheSettingsCustomCacheKeyUser as rulesets_SetCacheSettingsCustomCacheKeyUser$, + rulesets_SetCacheSettingsEdgeTTL as rulesets_SetCacheSettingsEdgeTTL$, + rulesets_SetCacheSettingsOriginCacheControl as rulesets_SetCacheSettingsOriginCacheControl$, + rulesets_SetCacheSettingsOriginErrorPagePassthru as rulesets_SetCacheSettingsOriginErrorPagePassthru$, + rulesets_SetCacheSettingsOriginRangeRequests as rulesets_SetCacheSettingsOriginRangeRequests$, + rulesets_SetCacheSettingsReadTimeout as rulesets_SetCacheSettingsReadTimeout$, + rulesets_SetCacheSettingsRespectStrongEtags as rulesets_SetCacheSettingsRespectStrongEtags$, + rulesets_SetCacheSettingsRule as rulesets_SetCacheSettingsRule$, + rulesets_SetCacheSettingsServeStale as rulesets_SetCacheSettingsServeStale$, + rulesets_SetCacheSettingsSharedDictionary as rulesets_SetCacheSettingsSharedDictionary$, + rulesets_SetCacheSettingsStatusCodeTTL as rulesets_SetCacheSettingsStatusCodeTTL$, + rulesets_SetCacheSettingsStripETags as rulesets_SetCacheSettingsStripETags$, + rulesets_SetCacheSettingsStripLastModified as rulesets_SetCacheSettingsStripLastModified$, + rulesets_SetCacheSettingsStripSetCookie as rulesets_SetCacheSettingsStripSetCookie$, + rulesets_SetCacheSettingsVary as rulesets_SetCacheSettingsVary$, + rulesets_SetCacheSettingsVaryDefault as rulesets_SetCacheSettingsVaryDefault$, + rulesets_SetCacheSettingsVaryHeader as rulesets_SetCacheSettingsVaryHeader$, + rulesets_SetCacheTagsExpression as rulesets_SetCacheTagsExpression$, + rulesets_SetCacheTagsOperation as rulesets_SetCacheTagsOperation$, + rulesets_SetCacheTagsRule as rulesets_SetCacheTagsRule$, + rulesets_SetCacheTagsValues as rulesets_SetCacheTagsValues$, + rulesets_SetConfigAutominify as rulesets_SetConfigAutominify$, + rulesets_SetConfigRule as rulesets_SetConfigRule$, + rulesets_SkipPhase as rulesets_SkipPhase$, + rulesets_SkipPhases as rulesets_SkipPhases$, + rulesets_SkipProducts as rulesets_SkipProducts$, + rulesets_SkipRule as rulesets_SkipRule$, + rulesets_SkipRules as rulesets_SkipRules$, + rulesets_SkipRuleset as rulesets_SkipRuleset$, + rulesets_SkipRulesets as rulesets_SkipRulesets$, + rulesets_TransformResponseHTMLRule as rulesets_TransformResponseHTMLRule$, } from "./schemas.js"; /** @@ -238,18 +238,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "allOf": [ { @@ -275,23 +263,210 @@ export const tools: readonly Tool[] = [ } ] }, - "validate_only": { - "default": false, - "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", - "type": "boolean" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" + }, + "query": { + "properties": { + "dry_run": { + "default": false, + "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { "rulesets_AccountId": rulesets_AccountId, + "rulesets_BlockRule": rulesets_BlockRule$, + "rulesets_ChallengeRule": rulesets_ChallengeRule$, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule$, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides$, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData$, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, + "rulesets_ExecuteRule": rulesets_ExecuteRule$, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields$, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields$, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields$, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule$, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields$, + "rulesets_LogRule": rulesets_LogRule$, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule$, + "rulesets_RedirectFromList": rulesets_RedirectFromList$, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue$, + "rulesets_RedirectRule": rulesets_RedirectRule$, + "rulesets_RequestRule": rulesets_RequestRule$, + "rulesets_RequestRules": rulesets_RequestRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, + "rulesets_RewriteRule": rulesets_RewriteRule$, + "rulesets_RewriteUri": rulesets_RewriteUri$, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, + "rulesets_RouteOrigin": rulesets_RouteOrigin$, + "rulesets_RouteRule": rulesets_RouteRule$, + "rulesets_RouteSNI": rulesets_RouteSNI$, + "rulesets_Rule": rulesets_Rule$, + "rulesets_RuleAction": rulesets_RuleAction$, + "rulesets_RuleCategory": rulesets_RuleCategory$, + "rulesets_RuleEnabled": rulesets_RuleEnabled$, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, + "rulesets_RuleId": rulesets_RuleId$, + "rulesets_RuleLogging": rulesets_RuleLogging$, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, + "rulesets_Ruleset": rulesets_Ruleset$, + "rulesets_RulesetId": rulesets_RulesetId$, + "rulesets_RulesetKind": rulesets_RulesetKind$, + "rulesets_RulesetPhase": rulesets_RulesetPhase$, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, + "rulesets_ScoreRule": rulesets_ScoreRule$, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie$, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader$, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost$, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, + "rulesets_SetConfigRule": rulesets_SetConfigRule$, + "rulesets_SkipPhase": rulesets_SkipPhase$, + "rulesets_SkipPhases": rulesets_SkipPhases$, + "rulesets_SkipProducts": rulesets_SkipProducts$, + "rulesets_SkipRule": rulesets_SkipRule$, + "rulesets_SkipRules": rulesets_SkipRules$, + "rulesets_SkipRuleset": rulesets_SkipRuleset$, + "rulesets_SkipRulesets": rulesets_SkipRulesets$, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ], + $defs: { "rulesets_BlockRule": rulesets_BlockRule, "rulesets_ChallengeRule": rulesets_ChallengeRule, "rulesets_CompressResponseRule": rulesets_CompressResponseRule, "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, @@ -308,11 +483,15 @@ export const tools: readonly Tool[] = [ "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, "rulesets_LogRule": rulesets_LogRule, "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, "rulesets_RedirectFromList": rulesets_RedirectFromList, "rulesets_RedirectFromValue": rulesets_RedirectFromValue, "rulesets_RedirectRule": rulesets_RedirectRule, "rulesets_RequestRule": rulesets_RequestRule, - "rulesets_RequestRules": rulesets_RequestRules, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, @@ -327,6 +506,7 @@ export const tools: readonly Tool[] = [ "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, "rulesets_RuleCategory": rulesets_RuleCategory, "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, @@ -337,6 +517,7 @@ export const tools: readonly Tool[] = [ "rulesets_RulesetId": rulesets_RulesetId, "rulesets_RulesetKind": rulesets_RulesetKind, "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, @@ -393,174 +574,6 @@ export const tools: readonly Tool[] = [ "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/rulesets_Response" - }, - { - "properties": { - "errors": {}, - "result": { - "oneOf": [ - { - "allOf": [ - { - "$ref": "#/$defs/rulesets_Ruleset" - }, - { - "properties": { - "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" - }, - "name": { - "type": "string" - }, - "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" - }, - "rules": { - "$ref": "#/$defs/rulesets_ResponseRules" - } - }, - "required": [ - "kind", - "name", - "phase", - "rules" - ], - "type": "object" - } - ] - }, - { - "type": "null" - } - ] - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "type": "object" - } - ], - $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -669,122 +682,122 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets`, query: [ - ["dry_run", args["validate_only"], true], + ["dry_run", param(args, "query", "dry_run"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -796,36 +809,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "ruleset_id": { + "$ref": "#/$defs/rulesets_RulesetId", + "description": "The unique ID of the ruleset." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "ruleset_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "type": "object" }, - "validate_only": { - "default": false, - "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", - "type": "boolean" + "query": { + "properties": { + "dry_run": { + "default": false, + "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "id" + "path" ], $defs: { "rulesets_AccountId": rulesets_AccountId, - "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetId": rulesets_RulesetId$, }, }, annotations: { @@ -881,16 +907,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, }, }, request: (args) => ({ - path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "id")}`, + path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}`, query: [ - ["dry_run", args["validate_only"], true], + ["dry_run", param(args, "query", "dry_run"), true], ], }), }, @@ -901,31 +927,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "ruleset_id": { + "$ref": "#/$defs/rulesets_RulesetId", + "description": "The unique ID of the ruleset." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "ruleset_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "id" + "path" ], $defs: { "rulesets_AccountId": rulesets_AccountId, - "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetId": rulesets_RulesetId$, }, }, outputSchema: { @@ -977,116 +1011,116 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, annotations: { @@ -1198,120 +1232,120 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, request: (args) => ({ - path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "id")}`, + path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}`, }), }, { @@ -1321,34 +1355,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "cursor": { - "$ref": "#/$defs/rulesets_Cursor", - "description": "The cursor to use for the next page." + "type": "object" }, - "per_page": { - "$ref": "#/$defs/rulesets_PerPage", - "description": "The number of rulesets to return per page." + "query": { + "properties": { + "cursor": { + "$ref": "#/$defs/rulesets_Cursor", + "description": "The cursor to use for the next page." + }, + "per_page": { + "$ref": "#/$defs/rulesets_PerPage", + "description": "The number of rulesets to return per page." + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "rulesets_AccountId": rulesets_AccountId, - "rulesets_Cursor": rulesets_Cursor, + "rulesets_Cursor": rulesets_Cursor$, "rulesets_PerPage": rulesets_PerPage, }, }, @@ -1403,17 +1450,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_Cursor": rulesets_Cursor_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResultInfo": rulesets_ResultInfo_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_Cursor": rulesets_Cursor, + "rulesets_Errors": rulesets_Errors, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, + "rulesets_ResultInfo": rulesets_ResultInfo, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, }, }, annotations: { @@ -1527,24 +1574,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_Cursor": rulesets_Cursor_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResultInfo": rulesets_ResultInfo_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, + "rulesets_Cursor": rulesets_Cursor, + "rulesets_Errors": rulesets_Errors, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, + "rulesets_ResultInfo": rulesets_ResultInfo, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -1555,18 +1602,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "allOf": [ { @@ -1592,28 +1627,215 @@ export const tools: readonly Tool[] = [ } ] }, - "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/rulesets_AccountId", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "ruleset_id": { + "$ref": "#/$defs/rulesets_RulesetId", + "description": "The unique ID of the ruleset." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "ruleset_id" + ], + "type": "object" }, - "validate_only": { - "default": false, - "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", - "type": "boolean" + "query": { + "properties": { + "dry_run": { + "default": false, + "description": "Validates the request without persisting changes when set to `true`. Responses that normally return 200 return `result: null`; endpoints that normally return 204 continue to return 204.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "ruleset_id", + "path", "body" ], $defs: { "rulesets_AccountId": rulesets_AccountId, + "rulesets_BlockRule": rulesets_BlockRule$, + "rulesets_ChallengeRule": rulesets_ChallengeRule$, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule$, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides$, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData$, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, + "rulesets_ExecuteRule": rulesets_ExecuteRule$, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields$, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields$, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields$, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule$, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields$, + "rulesets_LogRule": rulesets_LogRule$, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule$, + "rulesets_RedirectFromList": rulesets_RedirectFromList$, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue$, + "rulesets_RedirectRule": rulesets_RedirectRule$, + "rulesets_RequestRule": rulesets_RequestRule$, + "rulesets_RequestRules": rulesets_RequestRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, + "rulesets_RewriteRule": rulesets_RewriteRule$, + "rulesets_RewriteUri": rulesets_RewriteUri$, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, + "rulesets_RouteOrigin": rulesets_RouteOrigin$, + "rulesets_RouteRule": rulesets_RouteRule$, + "rulesets_RouteSNI": rulesets_RouteSNI$, + "rulesets_Rule": rulesets_Rule$, + "rulesets_RuleAction": rulesets_RuleAction$, + "rulesets_RuleCategory": rulesets_RuleCategory$, + "rulesets_RuleEnabled": rulesets_RuleEnabled$, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, + "rulesets_RuleId": rulesets_RuleId$, + "rulesets_RuleLogging": rulesets_RuleLogging$, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, + "rulesets_Ruleset": rulesets_Ruleset$, + "rulesets_RulesetId": rulesets_RulesetId$, + "rulesets_RulesetKind": rulesets_RulesetKind$, + "rulesets_RulesetPhase": rulesets_RulesetPhase$, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, + "rulesets_ScoreRule": rulesets_ScoreRule$, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie$, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader$, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost$, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, + "rulesets_SetConfigRule": rulesets_SetConfigRule$, + "rulesets_SkipPhase": rulesets_SkipPhase$, + "rulesets_SkipPhases": rulesets_SkipPhases$, + "rulesets_SkipProducts": rulesets_SkipProducts$, + "rulesets_SkipRule": rulesets_SkipRule$, + "rulesets_SkipRules": rulesets_SkipRules$, + "rulesets_SkipRuleset": rulesets_SkipRuleset$, + "rulesets_SkipRulesets": rulesets_SkipRulesets$, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Response" + }, + { + "properties": { + "errors": {}, + "result": { + "oneOf": [ + { + "allOf": [ + { + "$ref": "#/$defs/rulesets_Ruleset" + }, + { + "properties": { + "kind": { + "$ref": "#/$defs/rulesets_RulesetKind" + }, + "name": { + "type": "string" + }, + "phase": { + "$ref": "#/$defs/rulesets_RulesetPhase" + }, + "rules": { + "$ref": "#/$defs/rulesets_ResponseRules" + } + }, + "required": [ + "kind", + "name", + "phase", + "rules" + ], + "type": "object" + } + ] + }, + { + "type": "null" + } + ] + }, + "success": { + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" + } + ], + $defs: { "rulesets_BlockRule": rulesets_BlockRule, "rulesets_ChallengeRule": rulesets_ChallengeRule, "rulesets_CompressResponseRule": rulesets_CompressResponseRule, "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, @@ -1630,11 +1852,15 @@ export const tools: readonly Tool[] = [ "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, "rulesets_LogRule": rulesets_LogRule, "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, "rulesets_RedirectFromList": rulesets_RedirectFromList, "rulesets_RedirectFromValue": rulesets_RedirectFromValue, "rulesets_RedirectRule": rulesets_RedirectRule, "rulesets_RequestRule": rulesets_RequestRule, - "rulesets_RequestRules": rulesets_RequestRules, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, @@ -1649,6 +1875,7 @@ export const tools: readonly Tool[] = [ "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, "rulesets_RuleCategory": rulesets_RuleCategory, "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, @@ -1659,6 +1886,7 @@ export const tools: readonly Tool[] = [ "rulesets_RulesetId": rulesets_RulesetId, "rulesets_RulesetKind": rulesets_RulesetKind, "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, @@ -1715,174 +1943,6 @@ export const tools: readonly Tool[] = [ "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/rulesets_Response" - }, - { - "properties": { - "errors": {}, - "result": { - "oneOf": [ - { - "allOf": [ - { - "$ref": "#/$defs/rulesets_Ruleset" - }, - { - "properties": { - "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" - }, - "name": { - "type": "string" - }, - "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" - }, - "rules": { - "$ref": "#/$defs/rulesets_ResponseRules" - } - }, - "required": [ - "kind", - "name", - "phase", - "rules" - ], - "type": "object" - } - ] - }, - { - "type": "null" - } - ] - }, - "success": { - "enum": [ - true - ], - "type": "boolean" - } - }, - "type": "object" - } - ], - $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -1991,122 +2051,122 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_BlockRule": rulesets_BlockRule_output, - "rulesets_ChallengeRule": rulesets_ChallengeRule_output, - "rulesets_CompressResponseRule": rulesets_CompressResponseRule_output, - "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule_output, - "rulesets_Errors": rulesets_Errors_output, - "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides_output, - "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData_output, - "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides_output, - "rulesets_ExecuteRule": rulesets_ExecuteRule_output, - "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides_output, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel_output, - "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule_output, - "rulesets_JsChallengeRule": rulesets_JsChallengeRule_output, - "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields_output, - "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields_output, - "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields_output, - "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields_output, - "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule_output, - "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields_output, - "rulesets_LogRule": rulesets_LogRule_output, - "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_RedirectFromList": rulesets_RedirectFromList_output, - "rulesets_RedirectFromValue": rulesets_RedirectFromValue_output, - "rulesets_RedirectRule": rulesets_RedirectRule_output, - "rulesets_RequestRule": rulesets_RequestRule_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_ResponseRule": rulesets_ResponseRule_output, - "rulesets_ResponseRules": rulesets_ResponseRules_output, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression_output, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation_output, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue_output, - "rulesets_RewriteHeaders": rulesets_RewriteHeaders_output, - "rulesets_RewriteRule": rulesets_RewriteRule_output, - "rulesets_RewriteUri": rulesets_RewriteUri_output, - "rulesets_RewriteUriPath": rulesets_RewriteUriPath_output, - "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery_output, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader_output, - "rulesets_RouteOrigin": rulesets_RouteOrigin_output, - "rulesets_RouteRule": rulesets_RouteRule_output, - "rulesets_RouteSNI": rulesets_RouteSNI_output, - "rulesets_Rule": rulesets_Rule_output, - "rulesets_RuleAction": rulesets_RuleAction_output, - "rulesets_RuleCategories": rulesets_RuleCategories_output, - "rulesets_RuleCategory": rulesets_RuleCategory_output, - "rulesets_RuleEnabled": rulesets_RuleEnabled_output, - "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck_output, - "rulesets_RuleId": rulesets_RuleId_output, - "rulesets_RuleLogging": rulesets_RuleLogging_output, - "rulesets_RuleRatelimit": rulesets_RuleRatelimit_output, - "rulesets_Ruleset": rulesets_Ruleset_output, - "rulesets_RulesetId": rulesets_RulesetId_output, - "rulesets_RulesetKind": rulesets_RulesetKind_output, - "rulesets_RulesetPhase": rulesets_RulesetPhase_output, - "rulesets_RulesetVersion": rulesets_RulesetVersion_output, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement_output, - "rulesets_ScoreRule": rulesets_ScoreRule_output, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName_output, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent_output, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType_output, - "rulesets_ServeErrorRule": rulesets_ServeErrorRule_output, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode_output, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly_output, - "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective_output, - "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers_output, - "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue_output, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation_output, - "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule_output, - "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts_output, - "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL_output, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache_output, - "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey_output, - "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve_output, - "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey_output, - "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie_output, - "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader_output, - "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost_output, - "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString_output, - "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser_output, - "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL_output, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl_output, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru_output, - "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests_output, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout_output, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags_output, - "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule_output, - "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale_output, - "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary_output, - "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL_output, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags_output, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified_output, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie_output, - "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary_output, - "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault_output, - "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader_output, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression_output, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation_output, - "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule_output, - "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues_output, - "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify_output, - "rulesets_SetConfigRule": rulesets_SetConfigRule_output, - "rulesets_SkipPhase": rulesets_SkipPhase_output, - "rulesets_SkipPhases": rulesets_SkipPhases_output, - "rulesets_SkipProducts": rulesets_SkipProducts_output, - "rulesets_SkipRule": rulesets_SkipRule_output, - "rulesets_SkipRules": rulesets_SkipRules_output, - "rulesets_SkipRuleset": rulesets_SkipRuleset_output, - "rulesets_SkipRulesets": rulesets_SkipRulesets_output, - "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule_output, + "rulesets_BlockRule": rulesets_BlockRule, + "rulesets_ChallengeRule": rulesets_ChallengeRule, + "rulesets_CompressResponseRule": rulesets_CompressResponseRule, + "rulesets_DDoSDynamicRule": rulesets_DDoSDynamicRule, + "rulesets_Errors": rulesets_Errors, + "rulesets_ExecuteCategoryOverrides": rulesets_ExecuteCategoryOverrides, + "rulesets_ExecuteMatchedData": rulesets_ExecuteMatchedData, + "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, + "rulesets_ExecuteRule": rulesets_ExecuteRule, + "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, + "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, + "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, + "rulesets_JsChallengeRule": rulesets_JsChallengeRule, + "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, + "rulesets_LogCustomFieldRawResponseFields": rulesets_LogCustomFieldRawResponseFields, + "rulesets_LogCustomFieldRequestFields": rulesets_LogCustomFieldRequestFields, + "rulesets_LogCustomFieldResponseFields": rulesets_LogCustomFieldResponseFields, + "rulesets_LogCustomFieldRule": rulesets_LogCustomFieldRule, + "rulesets_LogCustomFieldTransformedRequestFields": rulesets_LogCustomFieldTransformedRequestFields, + "rulesets_LogRule": rulesets_LogRule, + "rulesets_ManagedChallengeRule": rulesets_ManagedChallengeRule, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_RedirectFromList": rulesets_RedirectFromList, + "rulesets_RedirectFromValue": rulesets_RedirectFromValue, + "rulesets_RedirectRule": rulesets_RedirectRule, + "rulesets_RequestRule": rulesets_RequestRule, + "rulesets_Response": rulesets_Response, + "rulesets_ResponseRule": rulesets_ResponseRule, + "rulesets_ResponseRules": rulesets_ResponseRules, + "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, + "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, + "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, + "rulesets_RewriteHeaders": rulesets_RewriteHeaders, + "rulesets_RewriteRule": rulesets_RewriteRule, + "rulesets_RewriteUri": rulesets_RewriteUri, + "rulesets_RewriteUriPath": rulesets_RewriteUriPath, + "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, + "rulesets_RouteHostHeader": rulesets_RouteHostHeader, + "rulesets_RouteOrigin": rulesets_RouteOrigin, + "rulesets_RouteRule": rulesets_RouteRule, + "rulesets_RouteSNI": rulesets_RouteSNI, + "rulesets_Rule": rulesets_Rule, + "rulesets_RuleAction": rulesets_RuleAction, + "rulesets_RuleCategories": rulesets_RuleCategories, + "rulesets_RuleCategory": rulesets_RuleCategory, + "rulesets_RuleEnabled": rulesets_RuleEnabled, + "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, + "rulesets_RuleId": rulesets_RuleId, + "rulesets_RuleLogging": rulesets_RuleLogging, + "rulesets_RuleRatelimit": rulesets_RuleRatelimit, + "rulesets_Ruleset": rulesets_Ruleset, + "rulesets_RulesetId": rulesets_RulesetId, + "rulesets_RulesetKind": rulesets_RulesetKind, + "rulesets_RulesetPhase": rulesets_RulesetPhase, + "rulesets_RulesetVersion": rulesets_RulesetVersion, + "rulesets_ScoreIncrement": rulesets_ScoreIncrement, + "rulesets_ScoreRule": rulesets_ScoreRule, + "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, + "rulesets_ServeErrorContent": rulesets_ServeErrorContent, + "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, + "rulesets_ServeErrorRule": rulesets_ServeErrorRule, + "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, + "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, + "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, + "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, + "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, + "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, + "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, + "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, + "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, + "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, + "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, + "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, + "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, + "rulesets_SetCacheSettingsCustomCacheKeyCookie": rulesets_SetCacheSettingsCustomCacheKeyCookie, + "rulesets_SetCacheSettingsCustomCacheKeyHeader": rulesets_SetCacheSettingsCustomCacheKeyHeader, + "rulesets_SetCacheSettingsCustomCacheKeyHost": rulesets_SetCacheSettingsCustomCacheKeyHost, + "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, + "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, + "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, + "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, + "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, + "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, + "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, + "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, + "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, + "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, + "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, + "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, + "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, + "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, + "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, + "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, + "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, + "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, + "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, + "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, + "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, + "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, + "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, + "rulesets_SetConfigRule": rulesets_SetConfigRule, + "rulesets_SkipPhase": rulesets_SkipPhase, + "rulesets_SkipPhases": rulesets_SkipPhases, + "rulesets_SkipProducts": rulesets_SkipProducts, + "rulesets_SkipRule": rulesets_SkipRule, + "rulesets_SkipRules": rulesets_SkipRules, + "rulesets_SkipRuleset": rulesets_SkipRuleset, + "rulesets_SkipRulesets": rulesets_SkipRulesets, + "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/rulesets/${pathParam(args, "ruleset_id")}`, query: [ - ["dry_run", args["validate_only"], true], + ["dry_run", param(args, "query", "dry_run"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/rum/outputs.ts b/src/generated/forge-mcp/rum/outputs.ts index 7492f10e0..22c2cf1c7 100644 --- a/src/generated/forge-mcp/rum/outputs.ts +++ b/src/generated/forge-mcp/rum/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `rum_rule` in responses. */ -export const rum_rule_output: JsonSchema = { +export const rum_rule: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/rum_timestamp" @@ -39,14 +39,14 @@ export const rum_rule_output: JsonSchema = { /** * The schema of `rum_rule_identifier` in responses. */ -export const rum_rule_identifier_output: JsonSchema = { +export const rum_rule_identifier: JsonSchema = { "type": "string" }; /** * The schema of `rum_rules` in responses. */ -export const rum_rules_output: JsonSchema = { +export const rum_rules: JsonSchema = { "items": { "$ref": "#/$defs/rum_rule" }, @@ -56,7 +56,7 @@ export const rum_rules_output: JsonSchema = { /** * The schema of `rum_ruleset` in responses. */ -export const rum_ruleset_output: JsonSchema = { +export const rum_ruleset: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -77,14 +77,14 @@ export const rum_ruleset_output: JsonSchema = { /** * The schema of `rum_ruleset_identifier` in responses. */ -export const rum_ruleset_identifier_output: JsonSchema = { +export const rum_ruleset_identifier: JsonSchema = { "type": "string" }; /** * The schema of `rum_timestamp` in responses. */ -export const rum_timestamp_output: JsonSchema = { +export const rum_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -92,6 +92,6 @@ export const rum_timestamp_output: JsonSchema = { /** * The schema of `rum_zone_tag` in responses. */ -export const rum_zone_tag_output: JsonSchema = { +export const rum_zone_tag: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/rum/rules/outputs.ts b/src/generated/forge-mcp/rum/rules/outputs.ts index 1a8e64edc..7c6672859 100644 --- a/src/generated/forge-mcp/rum/rules/outputs.ts +++ b/src/generated/forge-mcp/rum/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `rum_rule-id-response-single` in responses. */ -export const rum_rule_id_response_single_output: JsonSchema = { +export const rum_rule$$id$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" @@ -30,7 +30,7 @@ export const rum_rule_id_response_single_output: JsonSchema = { /** * The schema of `rum_rule-response-single` in responses. */ -export const rum_rule_response_single_output: JsonSchema = { +export const rum_rule$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" @@ -49,7 +49,7 @@ export const rum_rule_response_single_output: JsonSchema = { /** * The schema of `rum_rules-response-collection` in responses. */ -export const rum_rules_response_collection_output: JsonSchema = { +export const rum_rules$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" diff --git a/src/generated/forge-mcp/rum/rules/schemas.ts b/src/generated/forge-mcp/rum/rules/schemas.ts index e8daada45..2578f6288 100644 --- a/src/generated/forge-mcp/rum/rules/schemas.ts +++ b/src/generated/forge-mcp/rum/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `rum_create-rule-request`. */ -export const rum_create_rule_request: JsonSchema = { +export const rum_create$$rule$$request: JsonSchema = { "properties": { "host": { "type": "string" @@ -32,7 +32,7 @@ export const rum_create_rule_request: JsonSchema = { /** * The schema of `rum_modify-rules-request`. */ -export const rum_modify_rules_request: JsonSchema = { +export const rum_modify$$rules$$request: JsonSchema = { "properties": { "delete_rules": { "description": "A list of rule identifiers to delete.", diff --git a/src/generated/forge-mcp/rum/rules/tools.ts b/src/generated/forge-mcp/rum/rules/tools.ts index 57915fa82..d9be7d23d 100644 --- a/src/generated/forge-mcp/rum/rules/tools.ts +++ b/src/generated/forge-mcp/rum/rules/tools.ts @@ -3,30 +3,33 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - rum_api_response_common_failure_output, - rum_api_response_common_output, - rum_messages_2_output, - rum_messages_output, + rum_api$$response$$common, + rum_api$$response$$common$$failure, + rum_messages, + rum_messages$$2, } from "../../outputs.js"; import { rum_identifier } from "../../schemas.js"; import { - rum_rule_identifier_output, - rum_rule_output, - rum_rules_output, - rum_ruleset_identifier_output, - rum_ruleset_output, - rum_timestamp_output, - rum_zone_tag_output, + rum_rule, + rum_rule_identifier, + rum_rules, + rum_ruleset, + rum_ruleset_identifier, + rum_timestamp, + rum_zone_tag, } from "../outputs.js"; -import { rum_rule_identifier, rum_ruleset_identifier } from "../schemas.js"; import { - rum_rule_id_response_single_output, - rum_rule_response_single_output, - rum_rules_response_collection_output, + rum_rule_identifier as rum_rule_identifier$, + rum_ruleset_identifier as rum_ruleset_identifier$, +} from "../schemas.js"; +import { + rum_rule$$id$$response$$single, + rum_rule$$response$$single, + rum_rules$$response$$collection, } from "./outputs.js"; import { - rum_create_rule_request, - rum_modify_rules_request, + rum_create$$rule$$request, + rum_modify$$rules$$request, } from "./schemas.js"; /** @@ -34,49 +37,57 @@ import { */ export const tools: readonly Tool[] = [ { - name: "rum_rules_bulk_create", + name: "rum_rules_bulkCreate", title: "Update Web Analytics rules", description: "Modifies one or more rules in a Web Analytics ruleset with a single request.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/rum_modify-rules-request" }, - "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + }, + "ruleset_id": { + "$ref": "#/$defs/rum_ruleset_identifier", + "description": "The Web Analytics ruleset identifier." + } + }, + "required": [ + "account_id", + "ruleset_id" + ], + "type": "object" } }, required: [ - "account_id", - "ruleset_id", + "path", "body" ], $defs: { "rum_identifier": rum_identifier, - "rum_modify-rules-request": rum_modify_rules_request, - "rum_rule_identifier": rum_rule_identifier, - "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_modify-rules-request": rum_modify$$rules$$request, + "rum_rule_identifier": rum_rule_identifier$, + "rum_ruleset_identifier": rum_ruleset_identifier$, }, }, outputSchema: { "$ref": "#/$defs/rum_rules-response-collection", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_messages": rum_messages_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_rules-response-collection": rum_rules_response_collection_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_messages": rum_messages, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_rules-response-collection": rum_rules$$response$$collection, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -109,18 +120,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_rules-response-collection": rum_rules_response_collection_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_rules-response-collection": rum_rules$$response$$collection, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -135,38 +146,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/rum_create-rule-request" }, - "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + }, + "ruleset_id": { + "$ref": "#/$defs/rum_ruleset_identifier", + "description": "The Web Analytics ruleset identifier." + } + }, + "required": [ + "account_id", + "ruleset_id" + ], + "type": "object" } }, required: [ - "account_id", - "ruleset_id", + "path", "body" ], $defs: { - "rum_create-rule-request": rum_create_rule_request, + "rum_create-rule-request": rum_create$$rule$$request, "rum_identifier": rum_identifier, - "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_ruleset_identifier": rum_ruleset_identifier$, }, }, outputSchema: { "$ref": "#/$defs/rum_rule-response-single", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_messages": rum_messages_output, - "rum_rule": rum_rule_output, - "rum_rule-response-single": rum_rule_response_single_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_timestamp": rum_timestamp_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_messages": rum_messages, + "rum_rule": rum_rule, + "rum_rule-response-single": rum_rule$$response$$single, + "rum_rule_identifier": rum_rule_identifier, + "rum_timestamp": rum_timestamp, }, }, annotations: { @@ -196,14 +215,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rule": rum_rule_output, - "rum_rule-response-single": rum_rule_response_single_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_timestamp": rum_timestamp_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rule": rum_rule, + "rum_rule-response-single": rum_rule$$response$$single, + "rum_rule_identifier": rum_rule_identifier, + "rum_timestamp": rum_timestamp, }, }, request: (args) => ({ @@ -218,37 +237,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, - "rule_id": { - "$ref": "#/$defs/rum_rule_identifier", - "description": "The Web Analytics rule identifier." - }, - "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + }, + "rule_id": { + "$ref": "#/$defs/rum_rule_identifier", + "description": "The Web Analytics rule identifier." + }, + "ruleset_id": { + "$ref": "#/$defs/rum_ruleset_identifier", + "description": "The Web Analytics ruleset identifier." + } + }, + "required": [ + "account_id", + "ruleset_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "ruleset_id", - "rule_id" + "path" ], $defs: { "rum_identifier": rum_identifier, - "rum_rule_identifier": rum_rule_identifier, - "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_rule_identifier": rum_rule_identifier$, + "rum_ruleset_identifier": rum_ruleset_identifier$, }, }, outputSchema: { "$ref": "#/$defs/rum_rule-id-response-single", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_messages": rum_messages_output, - "rum_rule-id-response-single": rum_rule_id_response_single_output, - "rum_rule_identifier": rum_rule_identifier_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_messages": rum_messages, + "rum_rule-id-response-single": rum_rule$$id$$response$$single, + "rum_rule_identifier": rum_rule_identifier, }, }, annotations: { @@ -278,12 +305,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rule-id-response-single": rum_rule_id_response_single_output, - "rum_rule_identifier": rum_rule_identifier_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rule-id-response-single": rum_rule$$id$$response$$single, + "rum_rule_identifier": rum_rule_identifier, }, }, request: (args) => ({ @@ -297,37 +324,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, - "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + }, + "ruleset_id": { + "$ref": "#/$defs/rum_ruleset_identifier", + "description": "The Web Analytics ruleset identifier." + } + }, + "required": [ + "account_id", + "ruleset_id" + ], + "type": "object" } }, required: [ - "account_id", - "ruleset_id" + "path" ], $defs: { "rum_identifier": rum_identifier, - "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_ruleset_identifier": rum_ruleset_identifier$, }, }, outputSchema: { "$ref": "#/$defs/rum_rules-response-collection", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_messages": rum_messages_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_rules-response-collection": rum_rules_response_collection_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_messages": rum_messages, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_rules-response-collection": rum_rules$$response$$collection, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -357,18 +392,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_rules-response-collection": rum_rules_response_collection_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_rules-response-collection": rum_rules$$response$$collection, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -382,44 +417,52 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/rum_create-rule-request" }, - "rule_id": { - "$ref": "#/$defs/rum_rule_identifier", - "description": "The Web Analytics rule identifier." - }, - "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + }, + "rule_id": { + "$ref": "#/$defs/rum_rule_identifier", + "description": "The Web Analytics rule identifier." + }, + "ruleset_id": { + "$ref": "#/$defs/rum_ruleset_identifier", + "description": "The Web Analytics ruleset identifier." + } + }, + "required": [ + "account_id", + "ruleset_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "ruleset_id", - "rule_id", + "path", "body" ], $defs: { - "rum_create-rule-request": rum_create_rule_request, + "rum_create-rule-request": rum_create$$rule$$request, "rum_identifier": rum_identifier, - "rum_rule_identifier": rum_rule_identifier, - "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_rule_identifier": rum_rule_identifier$, + "rum_ruleset_identifier": rum_ruleset_identifier$, }, }, outputSchema: { "$ref": "#/$defs/rum_rule-response-single", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_messages": rum_messages_output, - "rum_rule": rum_rule_output, - "rum_rule-response-single": rum_rule_response_single_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_timestamp": rum_timestamp_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_messages": rum_messages, + "rum_rule": rum_rule, + "rum_rule-response-single": rum_rule$$response$$single, + "rum_rule_identifier": rum_rule_identifier, + "rum_timestamp": rum_timestamp, }, }, annotations: { @@ -449,14 +492,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rule": rum_rule_output, - "rum_rule-response-single": rum_rule_response_single_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_timestamp": rum_timestamp_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rule": rum_rule, + "rum_rule-response-single": rum_rule$$response$$single, + "rum_rule_identifier": rum_rule_identifier, + "rum_timestamp": rum_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/rum/siteInfo/outputs.ts b/src/generated/forge-mcp/rum/siteInfo/outputs.ts index f4f0df597..08c308648 100644 --- a/src/generated/forge-mcp/rum/siteInfo/outputs.ts +++ b/src/generated/forge-mcp/rum/siteInfo/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `rum_auto_install` in responses. */ -export const rum_auto_install_output: JsonSchema = { +export const rum_auto_install: JsonSchema = { "type": "boolean" }; /** * The schema of `rum_empty-response` in responses. */ -export const rum_empty_response_output: JsonSchema = { +export const rum_empty$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" @@ -32,7 +32,7 @@ export const rum_empty_response_output: JsonSchema = { /** * The schema of `rum_result_info` in responses. */ -export const rum_result_info_output: JsonSchema = { +export const rum_result_info: JsonSchema = { "properties": { "count": { "type": "integer" @@ -63,7 +63,7 @@ export const rum_result_info_output: JsonSchema = { /** * The schema of `rum_site` in responses. */ -export const rum_site_output: JsonSchema = { +export const rum_site: JsonSchema = { "properties": { "auto_install": { "$ref": "#/$defs/rum_auto_install" @@ -93,7 +93,7 @@ export const rum_site_output: JsonSchema = { /** * The schema of `rum_site-response-single` in responses. */ -export const rum_site_response_single_output: JsonSchema = { +export const rum_site$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" @@ -112,7 +112,7 @@ export const rum_site_response_single_output: JsonSchema = { /** * The schema of `rum_site-tag-list-response` in responses. */ -export const rum_site_tag_list_response_output: JsonSchema = { +export const rum_site$$tag$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" @@ -134,7 +134,7 @@ export const rum_site_tag_list_response_output: JsonSchema = { /** * The schema of `rum_site-tag-response-single` in responses. */ -export const rum_site_tag_response_single_output: JsonSchema = { +export const rum_site$$tag$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" @@ -158,21 +158,21 @@ export const rum_site_tag_response_single_output: JsonSchema = { /** * The schema of `rum_site_tag` in responses. */ -export const rum_site_tag_output: JsonSchema = { +export const rum_site_tag: JsonSchema = { "type": "string" }; /** * The schema of `rum_site_token` in responses. */ -export const rum_site_token_output: JsonSchema = { +export const rum_site_token: JsonSchema = { "type": "string" }; /** * The schema of `rum_sites-response-collection` in responses. */ -export const rum_sites_response_collection_output: JsonSchema = { +export const rum_sites$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" @@ -197,14 +197,14 @@ export const rum_sites_response_collection_output: JsonSchema = { /** * The schema of `rum_snippet` in responses. */ -export const rum_snippet_output: JsonSchema = { +export const rum_snippet: JsonSchema = { "type": "string" }; /** * The schema of `rum_zone-tag-list-response` in responses. */ -export const rum_zone_tag_list_response_output: JsonSchema = { +export const rum_zone$$tag$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" diff --git a/src/generated/forge-mcp/rum/siteInfo/schemas.ts b/src/generated/forge-mcp/rum/siteInfo/schemas.ts index 6f94b2d28..92e28ea86 100644 --- a/src/generated/forge-mcp/rum/siteInfo/schemas.ts +++ b/src/generated/forge-mcp/rum/siteInfo/schemas.ts @@ -14,7 +14,7 @@ export const rum_auto_install: JsonSchema = { /** * The schema of `rum_create-site-request`. */ -export const rum_create_site_request: JsonSchema = { +export const rum_create$$site$$request: JsonSchema = { "properties": { "auto_install": { "$ref": "#/$defs/rum_auto_install", @@ -87,7 +87,7 @@ export const rum_per_page: JsonSchema = { /** * The schema of `rum_update-site-request`. */ -export const rum_update_site_request: JsonSchema = { +export const rum_update$$site$$request: JsonSchema = { "properties": { "auto_install": { "$ref": "#/$defs/rum_auto_install", diff --git a/src/generated/forge-mcp/rum/siteInfo/tools.ts b/src/generated/forge-mcp/rum/siteInfo/tools.ts index 19c2ecba4..67e69c71d 100644 --- a/src/generated/forge-mcp/rum/siteInfo/tools.ts +++ b/src/generated/forge-mcp/rum/siteInfo/tools.ts @@ -1,99 +1,107 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - rum_api_response_common_failure_output, - rum_api_response_common_output, - rum_messages_2_output, - rum_messages_output, + rum_api$$response$$common, + rum_api$$response$$common$$failure, + rum_messages, + rum_messages$$2, } from "../../outputs.js"; import { rum_identifier } from "../../schemas.js"; import { - rum_rule_identifier_output, - rum_rule_output, - rum_rules_output, - rum_ruleset_identifier_output, - rum_ruleset_output, - rum_timestamp_output, - rum_zone_tag_output, + rum_rule, + rum_rule_identifier, + rum_rules, + rum_ruleset, + rum_ruleset_identifier, + rum_timestamp, + rum_zone_tag, } from "../outputs.js"; -import { rum_zone_tag } from "../schemas.js"; +import { rum_zone_tag as rum_zone_tag$ } from "../schemas.js"; import { - rum_auto_install_output, - rum_empty_response_output, - rum_result_info_output, - rum_site_output, - rum_site_response_single_output, - rum_site_tag_list_response_output, - rum_site_tag_output, - rum_site_tag_response_single_output, - rum_site_token_output, - rum_sites_response_collection_output, - rum_snippet_output, - rum_zone_tag_list_response_output, + rum_auto_install, + rum_empty$$response, + rum_result_info, + rum_site, + rum_site$$response$$single, + rum_site$$tag$$list$$response, + rum_site$$tag$$response$$single, + rum_site_tag, + rum_site_token, + rum_sites$$response$$collection, + rum_snippet, + rum_zone$$tag$$list$$response, } from "./outputs.js"; import { - rum_auto_install, - rum_create_site_request, + rum_auto_install as rum_auto_install$, + rum_create$$site$$request, rum_enabled, rum_host, rum_lite, rum_order_by, rum_page, rum_per_page, - rum_update_site_request, + rum_update$$site$$request, } from "./schemas.js"; /** - * The tools of `rum.site_info`. + * The tools of `rum.siteInfo`. */ export const tools: readonly Tool[] = [ { - name: "rum_site_info_create", + name: "rum_siteInfo_create", title: "Create a Web Analytics site", description: "Creates a new Web Analytics site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/rum_create-site-request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "rum_auto_install": rum_auto_install, - "rum_create-site-request": rum_create_site_request, + "rum_auto_install": rum_auto_install$, + "rum_create-site-request": rum_create$$site$$request, "rum_host": rum_host, "rum_identifier": rum_identifier, - "rum_zone_tag": rum_zone_tag, + "rum_zone_tag": rum_zone_tag$, }, }, outputSchema: { "$ref": "#/$defs/rum_site-response-single", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_auto_install": rum_auto_install_output, - "rum_messages": rum_messages_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_site": rum_site_output, - "rum_site-response-single": rum_site_response_single_output, - "rum_site_tag": rum_site_tag_output, - "rum_site_token": rum_site_token_output, - "rum_snippet": rum_snippet_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_auto_install": rum_auto_install, + "rum_messages": rum_messages, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_site": rum_site, + "rum_site-response-single": rum_site$$response$$single, + "rum_site_tag": rum_site_tag, + "rum_site_token": rum_site_token, + "rum_snippet": rum_snippet, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -126,23 +134,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_auto_install": rum_auto_install_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_site": rum_site_output, - "rum_site-response-single": rum_site_response_single_output, - "rum_site_tag": rum_site_tag_output, - "rum_site_token": rum_site_token_output, - "rum_snippet": rum_snippet_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_auto_install": rum_auto_install, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_site": rum_site, + "rum_site-response-single": rum_site$$response$$single, + "rum_site_tag": rum_site_tag, + "rum_site_token": rum_site_token, + "rum_snippet": rum_snippet, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -151,24 +159,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "rum_site_info_delete", + name: "rum_siteInfo_delete", title: "Delete a Web Analytics site", description: "Deletes an existing Web Analytics site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, - "site_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + }, + "site_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { "rum_identifier": rum_identifier, @@ -177,10 +193,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/rum_site-tag-response-single", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_messages": rum_messages_output, - "rum_site-tag-response-single": rum_site_tag_response_single_output, - "rum_site_tag": rum_site_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_messages": rum_messages, + "rum_site-tag-response-single": rum_site$$tag$$response$$single, + "rum_site_tag": rum_site_tag, }, }, annotations: { @@ -213,12 +229,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_site-tag-response-single": rum_site_tag_response_single_output, - "rum_site_tag": rum_site_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_site-tag-response-single": rum_site$$tag$$response$$single, + "rum_site_tag": rum_site_tag, }, }, request: (args) => ({ @@ -226,24 +242,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "rum_site_info_get", + name: "rum_siteInfo_get", title: "Get a Web Analytics site", description: "Retrieves a Web Analytics site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, - "site_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + }, + "site_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id" + "path" ], $defs: { "rum_identifier": rum_identifier, @@ -252,21 +276,21 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/rum_site-response-single", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_auto_install": rum_auto_install_output, - "rum_messages": rum_messages_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_site": rum_site_output, - "rum_site-response-single": rum_site_response_single_output, - "rum_site_tag": rum_site_tag_output, - "rum_site_token": rum_site_token_output, - "rum_snippet": rum_snippet_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_auto_install": rum_auto_install, + "rum_messages": rum_messages, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_site": rum_site, + "rum_site-response-single": rum_site$$response$$single, + "rum_site_tag": rum_site_tag, + "rum_site_token": rum_site_token, + "rum_snippet": rum_snippet, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -299,23 +323,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_auto_install": rum_auto_install_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_site": rum_site_output, - "rum_site-response-single": rum_site_response_single_output, - "rum_site_tag": rum_site_tag_output, - "rum_site_token": rum_site_token_output, - "rum_snippet": rum_snippet_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_auto_install": rum_auto_install, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_site": rum_site, + "rum_site-response-single": rum_site$$response$$single, + "rum_site_tag": rum_site_tag, + "rum_site_token": rum_site_token, + "rum_snippet": rum_snippet, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -323,31 +347,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "rum_site_info_list", + name: "rum_siteInfo_list", title: "List Web Analytics sites", description: "Lists all Web Analytics sites of an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "order_by": { - "$ref": "#/$defs/rum_order_by", - "description": "The property used to sort the list of results." - }, - "page": { - "$ref": "#/$defs/rum_page", - "description": "Current page within the paginated list of results." - }, - "per_page": { - "$ref": "#/$defs/rum_per_page", - "description": "Number of items to return per page of results." + "query": { + "properties": { + "order_by": { + "$ref": "#/$defs/rum_order_by", + "description": "The property used to sort the list of results." + }, + "page": { + "$ref": "#/$defs/rum_page", + "description": "Current page within the paginated list of results." + }, + "per_page": { + "$ref": "#/$defs/rum_per_page", + "description": "Number of items to return per page of results." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "rum_identifier": rum_identifier, @@ -359,22 +396,22 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/rum_sites-response-collection", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_auto_install": rum_auto_install_output, - "rum_messages": rum_messages_output, - "rum_result_info": rum_result_info_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_site": rum_site_output, - "rum_site_tag": rum_site_tag_output, - "rum_site_token": rum_site_token_output, - "rum_sites-response-collection": rum_sites_response_collection_output, - "rum_snippet": rum_snippet_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_auto_install": rum_auto_install, + "rum_messages": rum_messages, + "rum_result_info": rum_result_info, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_site": rum_site, + "rum_site_tag": rum_site_tag, + "rum_site_token": rum_site_token, + "rum_sites-response-collection": rum_sites$$response$$collection, + "rum_snippet": rum_snippet, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -407,53 +444,66 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_auto_install": rum_auto_install_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_result_info": rum_result_info_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_site": rum_site_output, - "rum_site_tag": rum_site_tag_output, - "rum_site_token": rum_site_token_output, - "rum_sites-response-collection": rum_sites_response_collection_output, - "rum_snippet": rum_snippet_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_auto_install": rum_auto_install, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_result_info": rum_result_info, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_site": rum_site, + "rum_site_tag": rum_site_tag, + "rum_site_token": rum_site_token, + "rum_sites-response-collection": rum_sites$$response$$collection, + "rum_snippet": rum_snippet, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info/list`, query: [ - ["per_page", args["per_page"], true], - ["page", args["page"], true], - ["order_by", args["order_by"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], + ["order_by", param(args, "query", "order_by"), true], ], }), }, { - name: "rum_site_info_list_site_tags", + name: "rum_siteInfo_listSiteTags", title: "List Web Analytics site tags", description: "Returns all site tags for an account as an array of site tag strings. This endpoint returns all results without pagination.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "all": { - "description": "When true, includes sites that are disabled or paused.", - "type": "boolean" + "query": { + "properties": { + "all": { + "description": "When true, includes sites that are disabled or paused.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "rum_identifier": rum_identifier, @@ -462,10 +512,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/rum_site-tag-list-response", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_messages": rum_messages_output, - "rum_site-tag-list-response": rum_site_tag_list_response_output, - "rum_site_tag": rum_site_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_messages": rum_messages, + "rum_site-tag-list-response": rum_site$$tag$$list$$response, + "rum_site_tag": rum_site_tag, }, }, annotations: { @@ -498,35 +548,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_site-tag-list-response": rum_site_tag_list_response_output, - "rum_site_tag": rum_site_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_site-tag-list-response": rum_site$$tag$$list$$response, + "rum_site_tag": rum_site_tag, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/rum/site_info/site_tag/list`, query: [ - ["all", args["all"], true], + ["all", param(args, "query", "all"), true], ], }), }, { - name: "rum_site_info_list_zone_tags", + name: "rum_siteInfo_listZoneTags", title: "List Web Analytics zone tags", description: "Returns all zone tags associated with Web Analytics sites for an account. These can be used to filter or exclude zones in the zone selection input. This endpoint returns all results without pagination.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "rum_identifier": rum_identifier, @@ -535,10 +593,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/rum_zone-tag-list-response", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_messages": rum_messages_output, - "rum_zone-tag-list-response": rum_zone_tag_list_response_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_messages": rum_messages, + "rum_zone-tag-list-response": rum_zone$$tag$$list$$response, + "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -571,12 +629,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_zone-tag-list-response": rum_zone_tag_list_response_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_zone-tag-list-response": rum_zone$$tag$$list$$response, + "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -584,57 +642,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "rum_site_info_update", + name: "rum_siteInfo_update", title: "Update a Web Analytics site", description: "Updates an existing Web Analytics site.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/rum_update-site-request" }, - "site_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + }, + "site_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "site_id" + ], + "type": "object" } }, required: [ - "account_id", - "site_id", + "path", "body" ], $defs: { - "rum_auto_install": rum_auto_install, + "rum_auto_install": rum_auto_install$, "rum_enabled": rum_enabled, "rum_host": rum_host, "rum_identifier": rum_identifier, "rum_lite": rum_lite, - "rum_update-site-request": rum_update_site_request, - "rum_zone_tag": rum_zone_tag, + "rum_update-site-request": rum_update$$site$$request, + "rum_zone_tag": rum_zone_tag$, }, }, outputSchema: { "$ref": "#/$defs/rum_site-response-single", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_auto_install": rum_auto_install_output, - "rum_messages": rum_messages_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_site": rum_site_output, - "rum_site-response-single": rum_site_response_single_output, - "rum_site_tag": rum_site_tag_output, - "rum_site_token": rum_site_token_output, - "rum_snippet": rum_snippet_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_auto_install": rum_auto_install, + "rum_messages": rum_messages, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_site": rum_site, + "rum_site-response-single": rum_site$$response$$single, + "rum_site_tag": rum_site_tag, + "rum_site_token": rum_site_token, + "rum_snippet": rum_snippet, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -667,23 +733,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_auto_install": rum_auto_install_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rule": rum_rule_output, - "rum_rule_identifier": rum_rule_identifier_output, - "rum_rules": rum_rules_output, - "rum_ruleset": rum_ruleset_output, - "rum_ruleset_identifier": rum_ruleset_identifier_output, - "rum_site": rum_site_output, - "rum_site-response-single": rum_site_response_single_output, - "rum_site_tag": rum_site_tag_output, - "rum_site_token": rum_site_token_output, - "rum_snippet": rum_snippet_output, - "rum_timestamp": rum_timestamp_output, - "rum_zone_tag": rum_zone_tag_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_auto_install": rum_auto_install, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rule": rum_rule, + "rum_rule_identifier": rum_rule_identifier, + "rum_rules": rum_rules, + "rum_ruleset": rum_ruleset, + "rum_ruleset_identifier": rum_ruleset_identifier, + "rum_site": rum_site, + "rum_site-response-single": rum_site$$response$$single, + "rum_site_tag": rum_site_tag, + "rum_site_token": rum_site_token, + "rum_snippet": rum_snippet, + "rum_timestamp": rum_timestamp, + "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -692,24 +758,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "rum_site_info_validate_hostname", + name: "rum_siteInfo_validateHostname", title: "Validate a Web Analytics site hostname", description: "Validates that the provided hostname is well-formed, does not contain wildcards, and has a valid TLD. Returns an empty result on success.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." - }, - "hostname": { - "description": "The hostname to validate (e.g. example.com). The `pattern` below validates the hostname's structure (label syntax) only. In addition, the hostname must end in a valid public suffix (TLD). For the list of valid suffixes and how it is used, see the Public Suffix List: https://wiki.mozilla.org/Public_Suffix_List/Use_Cases\n", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + }, + "hostname": { + "description": "The hostname to validate (e.g. example.com). The `pattern` below validates the hostname's structure (label syntax) only. In addition, the hostname must end in a valid public suffix (TLD). For the list of valid suffixes and how it is used, see the Public Suffix List: https://wiki.mozilla.org/Public_Suffix_List/Use_Cases\n", + "type": "string" + } + }, + "required": [ + "account_id", + "hostname" + ], + "type": "object" } }, required: [ - "account_id", - "hostname" + "path" ], $defs: { "rum_identifier": rum_identifier, @@ -718,9 +792,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/rum_empty-response", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_empty-response": rum_empty_response_output, - "rum_messages": rum_messages_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_empty-response": rum_empty$$response, + "rum_messages": rum_messages, }, }, annotations: { @@ -753,11 +827,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_empty-response": rum_empty_response_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_empty-response": rum_empty$$response, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/schemas.ts b/src/generated/forge-mcp/schemas.ts index 738a13ef7..c63b58135 100644 --- a/src/generated/forge-mcp/schemas.ts +++ b/src/generated/forge-mcp/schemas.ts @@ -14,7 +14,7 @@ export const aaa_identifier: JsonSchema = { /** * The schema of `analytics-sql_SqlQueryAccountScope`. */ -export const analytics_sql_SqlQueryAccountScope: JsonSchema = { +export const analytics$$sql_SqlQueryAccountScope: JsonSchema = { "properties": { "accountTag": { "description": "Account tag used to authorize and scope the query. Must be a 32-character lowercase hex string.\n", @@ -30,7 +30,7 @@ export const analytics_sql_SqlQueryAccountScope: JsonSchema = { /** * The schema of `analytics-sql_SqlQueryRequest`. */ -export const analytics_sql_SqlQueryRequest: JsonSchema = { +export const analytics$$sql_SqlQueryRequest: JsonSchema = { "properties": { "params": { "description": "Positional array values for `$1`, `$2`, and similar placeholders, or named object values for placeholders such as `$status`.\n", @@ -80,7 +80,7 @@ export const analytics_sql_SqlQueryRequest: JsonSchema = { /** * The schema of `analytics-sql_SqlQueryScope`. */ -export const analytics_sql_SqlQueryScope: JsonSchema = { +export const analytics$$sql_SqlQueryScope: JsonSchema = { "description": "Account or zone scope applied to the query. Include exactly one scope tag. Do not include account or zone tenancy predicates in the SQL query when this field is present.\n", "oneOf": [ { @@ -95,7 +95,7 @@ export const analytics_sql_SqlQueryScope: JsonSchema = { /** * The schema of `analytics-sql_SqlQueryTimeRange`. */ -export const analytics_sql_SqlQueryTimeRange: JsonSchema = { +export const analytics$$sql_SqlQueryTimeRange: JsonSchema = { "description": "Time bounds applied to the dataset's timestamp column. Do not include timestamp predicates in the SQL query when this field is present.\n", "properties": { "end": { @@ -116,7 +116,7 @@ export const analytics_sql_SqlQueryTimeRange: JsonSchema = { /** * The schema of `analytics-sql_SqlQueryZoneScope`. */ -export const analytics_sql_SqlQueryZoneScope: JsonSchema = { +export const analytics$$sql_SqlQueryZoneScope: JsonSchema = { "properties": { "zoneTag": { "description": "Zone tag used to authorize and scope the query. Must be a 32-character lowercase hex string.\n", @@ -132,7 +132,7 @@ export const analytics_sql_SqlQueryZoneScope: JsonSchema = { /** * The schema of `api-shield_basic_operation`. */ -export const api_shield_basic_operation: JsonSchema = { +export const api$$shield_basic_operation: JsonSchema = { "properties": { "endpoint": { "$ref": "#/$defs/api-shield_endpoint", @@ -158,7 +158,7 @@ export const api_shield_basic_operation: JsonSchema = { /** * The schema of `api-shield_endpoint`. */ -export const api_shield_endpoint: JsonSchema = { +export const api$$shield_endpoint: JsonSchema = { "description": "The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.", "type": "string" }; @@ -166,7 +166,7 @@ export const api_shield_endpoint: JsonSchema = { /** * The schema of `api-shield_host`. */ -export const api_shield_host: JsonSchema = { +export const api$$shield_host: JsonSchema = { "description": "RFC3986-compliant host.", "type": "string" }; @@ -174,7 +174,7 @@ export const api_shield_host: JsonSchema = { /** * The schema of `api-shield_identifier`. */ -export const api_shield_identifier: JsonSchema = { +export const api$$shield_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -182,7 +182,7 @@ export const api_shield_identifier: JsonSchema = { /** * The schema of `api-shield_identifier-2`. */ -export const api_shield_identifier_2: JsonSchema = { +export const api$$shield_identifier$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_identifier" @@ -196,7 +196,7 @@ export const api_shield_identifier_2: JsonSchema = { /** * The schema of `api-shield_method`. */ -export const api_shield_method: JsonSchema = { +export const api$$shield_method: JsonSchema = { "description": "The HTTP method used to access the endpoint.", "enum": [ "GET", @@ -215,7 +215,7 @@ export const api_shield_method: JsonSchema = { /** * The schema of `api-shield_uuid`. */ -export const api_shield_uuid: JsonSchema = { +export const api$$shield_uuid: JsonSchema = { "description": "UUID.", "type": "string" }; @@ -223,7 +223,7 @@ export const api_shield_uuid: JsonSchema = { /** * The schema of `api-shield_uuid-2`. */ -export const api_shield_uuid_2: JsonSchema = { +export const api$$shield_uuid$$2: JsonSchema = { "allOf": [ { "type": "string" @@ -237,7 +237,7 @@ export const api_shield_uuid_2: JsonSchema = { /** * The schema of `bill-subs-api_component_value`. */ -export const bill_subs_api_component_value: JsonSchema = { +export const bill$$subs$$api_component_value: JsonSchema = { "description": "A component value for a subscription.", "properties": { "default": { @@ -276,7 +276,7 @@ export const bill_subs_api_component_value: JsonSchema = { /** * The schema of `bill-subs-api_component_values`. */ -export const bill_subs_api_component_values: JsonSchema = { +export const bill$$subs$$api_component_values: JsonSchema = { "description": "Configurable component values for the subscription.", "items": { "$ref": "#/$defs/bill-subs-api_component_value" @@ -287,7 +287,7 @@ export const bill_subs_api_component_values: JsonSchema = { /** * The schema of `bill-subs-api_frequency`. */ -export const bill_subs_api_frequency: JsonSchema = { +export const bill$$subs$$api_frequency: JsonSchema = { "description": "How often the subscription is renewed automatically.", "enum": [ "weekly", @@ -301,7 +301,7 @@ export const bill_subs_api_frequency: JsonSchema = { /** * The schema of `bill-subs-api_identifier`. */ -export const bill_subs_api_identifier: JsonSchema = { +export const bill$$subs$$api_identifier: JsonSchema = { "description": "Identifier", "type": "string" }; @@ -309,7 +309,7 @@ export const bill_subs_api_identifier: JsonSchema = { /** * The schema of `bill-subs-api_install_id`. */ -export const bill_subs_api_install_id: JsonSchema = { +export const bill$$subs$$api_install_id: JsonSchema = { "deprecated": true, "description": "app install id.", "type": "string" @@ -318,7 +318,7 @@ export const bill_subs_api_install_id: JsonSchema = { /** * The schema of `bill-subs-api_rate_plan`. */ -export const bill_subs_api_rate_plan: JsonSchema = { +export const bill$$subs$$api_rate_plan: JsonSchema = { "description": "The rate plan applied to the subscription.", "properties": { "currency": { @@ -359,7 +359,7 @@ export const bill_subs_api_rate_plan: JsonSchema = { /** * The schema of `bill-subs-api_schemas-identifier`. */ -export const bill_subs_api_schemas_identifier: JsonSchema = { +export const bill$$subs$$api_schemas$$identifier: JsonSchema = { "description": "Subscription identifier tag.", "type": "string" }; @@ -367,7 +367,7 @@ export const bill_subs_api_schemas_identifier: JsonSchema = { /** * The schema of `bill-subs-api_subscription-v2`. */ -export const bill_subs_api_subscription_v2: JsonSchema = { +export const bill$$subs$$api_subscription$$v2: JsonSchema = { "properties": { "app": { "deprecated": true, @@ -402,7 +402,7 @@ export const bill_subs_api_subscription_v2: JsonSchema = { /** * The schema of `bill-subs-api_zone`. */ -export const bill_subs_api_zone: JsonSchema = { +export const bill$$subs$$api_zone: JsonSchema = { "description": "A simple zone object. May have null properties if not a zone subscription.", "type": "object" }; @@ -410,7 +410,7 @@ export const bill_subs_api_zone: JsonSchema = { /** * The schema of `billable-usage-api_identifier`. */ -export const billable_usage_api_identifier: JsonSchema = { +export const billable$$usage$$api_identifier: JsonSchema = { "description": "Represents a Cloudflare resource identifier tag.", "type": "string" }; @@ -804,7 +804,7 @@ export const builds_trigger_uuid: JsonSchema = { /** * The schema of `cache-settings_identifier`. */ -export const cache_settings_identifier: JsonSchema = { +export const cache$$settings_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -812,7 +812,7 @@ export const cache_settings_identifier: JsonSchema = { /** * The schema of `dns-custom-nameservers_CustomNSInput`. */ -export const dns_custom_nameservers_CustomNSInput: JsonSchema = { +export const dns$$custom$$nameservers_CustomNSInput: JsonSchema = { "description": "Custom NS Input", "properties": { "ns_name": { @@ -834,7 +834,7 @@ export const dns_custom_nameservers_CustomNSInput: JsonSchema = { /** * The schema of `dns-custom-nameservers_ns_name`. */ -export const dns_custom_nameservers_ns_name: JsonSchema = { +export const dns$$custom$$nameservers_ns_name: JsonSchema = { "description": "The FQDN of the name server.", "type": "string" }; @@ -842,7 +842,7 @@ export const dns_custom_nameservers_ns_name: JsonSchema = { /** * The schema of `dns-custom-nameservers_ns_set`. */ -export const dns_custom_nameservers_ns_set: JsonSchema = { +export const dns$$custom$$nameservers_ns_set: JsonSchema = { "description": "The number of the set that this name server belongs to.", "type": "number" }; @@ -1027,7 +1027,7 @@ export const firewall_rule_identifier: JsonSchema = { /** * The schema of `firewall_schemas-mode`. */ -export const firewall_schemas_mode: JsonSchema = { +export const firewall_schemas$$mode: JsonSchema = { "description": "The action to apply to a matched request.", "enum": [ "block", @@ -1054,7 +1054,7 @@ export const iam_access: JsonSchema = { /** * The schema of `iam_account-type`. */ -export const iam_account_type: JsonSchema = { +export const iam_account$$type: JsonSchema = { "enum": [ "standard", "enterprise" @@ -1084,7 +1084,7 @@ export const iam_cidr_list: JsonSchema = { /** * The schema of `iam_common_components-schemas-identifier`. */ -export const iam_common_components_schemas_identifier: JsonSchema = { +export const iam_common_components$$schemas$$identifier: JsonSchema = { "description": "Identifier", "type": "string" }; @@ -1211,7 +1211,7 @@ export const iam_last_name: JsonSchema = { /** * The schema of `iam_membership_components-schemas-identifier`. */ -export const iam_membership_components_schemas_identifier: JsonSchema = { +export const iam_membership_components$$schemas$$identifier: JsonSchema = { "description": "Membership identifier tag.", "type": "string" }; @@ -1510,7 +1510,7 @@ export const infra_AccountTag: JsonSchema = { /** * The schema of `load-balancing_Host`. */ -export const load_balancing_Host: JsonSchema = { +export const load$$balancing_Host: JsonSchema = { "description": "The 'Host' header allows to override the hostname set in the HTTP request. Current support is 1 'Host' header override per origin.", "items": { "type": "string" @@ -1521,7 +1521,7 @@ export const load_balancing_Host: JsonSchema = { /** * The schema of `load-balancing_address`. */ -export const load_balancing_address: JsonSchema = { +export const load$$balancing_address: JsonSchema = { "description": "The IP address (IPv4 or IPv6) of the origin, or its publicly addressable hostname. Hostnames entered here should resolve directly to the origin, and not be a hostname proxied by Cloudflare. To set an internal/reserved address, virtual_network_id must also be set.", "type": "string" }; @@ -1529,7 +1529,7 @@ export const load_balancing_address: JsonSchema = { /** * The schema of `load-balancing_allow_insecure`. */ -export const load_balancing_allow_insecure: JsonSchema = { +export const load$$balancing_allow_insecure: JsonSchema = { "description": "Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTP and HTTPS monitors.", "type": "boolean" }; @@ -1537,7 +1537,7 @@ export const load_balancing_allow_insecure: JsonSchema = { /** * The schema of `load-balancing_check_regions`. */ -export const load_balancing_check_regions: JsonSchema = { +export const load$$balancing_check_regions: JsonSchema = { "description": "A list of regions from which to run health checks. Null means every Cloudflare data center.", "oneOf": [ { @@ -1572,7 +1572,7 @@ export const load_balancing_check_regions: JsonSchema = { /** * The schema of `load-balancing_consecutive_down`. */ -export const load_balancing_consecutive_down: JsonSchema = { +export const load$$balancing_consecutive_down: JsonSchema = { "description": "To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times.", "type": "integer" }; @@ -1580,7 +1580,7 @@ export const load_balancing_consecutive_down: JsonSchema = { /** * The schema of `load-balancing_consecutive_up`. */ -export const load_balancing_consecutive_up: JsonSchema = { +export const load$$balancing_consecutive_up: JsonSchema = { "description": "To be marked healthy the monitored origin must pass this healthcheck N consecutive times.", "type": "integer" }; @@ -1588,7 +1588,7 @@ export const load_balancing_consecutive_up: JsonSchema = { /** * The schema of `load-balancing_description`. */ -export const load_balancing_description: JsonSchema = { +export const load$$balancing_description: JsonSchema = { "description": "Object description.", "type": "string" }; @@ -1596,7 +1596,7 @@ export const load_balancing_description: JsonSchema = { /** * The schema of `load-balancing_enabled`. */ -export const load_balancing_enabled: JsonSchema = { +export const load$$balancing_enabled: JsonSchema = { "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).", "type": "boolean" }; @@ -1604,7 +1604,7 @@ export const load_balancing_enabled: JsonSchema = { /** * The schema of `load-balancing_expected_body`. */ -export const load_balancing_expected_body: JsonSchema = { +export const load$$balancing_expected_body: JsonSchema = { "description": "A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. This parameter is only valid for HTTP and HTTPS monitors.", "type": "string" }; @@ -1612,7 +1612,7 @@ export const load_balancing_expected_body: JsonSchema = { /** * The schema of `load-balancing_expected_codes`. */ -export const load_balancing_expected_codes: JsonSchema = { +export const load$$balancing_expected_codes: JsonSchema = { "description": "The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS monitors.", "type": "string" }; @@ -1620,7 +1620,7 @@ export const load_balancing_expected_codes: JsonSchema = { /** * The schema of `load-balancing_filter_options`. */ -export const load_balancing_filter_options: JsonSchema = { +export const load$$balancing_filter_options: JsonSchema = { "description": "Filter options for a particular resource type (pool or origin). Use null to reset.", "oneOf": [ { @@ -1660,7 +1660,7 @@ export const load_balancing_filter_options: JsonSchema = { /** * The schema of `load-balancing_follow_redirects`. */ -export const load_balancing_follow_redirects: JsonSchema = { +export const load$$balancing_follow_redirects: JsonSchema = { "description": "Follow redirects if returned by the origin. This parameter is only valid for HTTP and HTTPS monitors.", "type": "boolean" }; @@ -1668,7 +1668,7 @@ export const load_balancing_follow_redirects: JsonSchema = { /** * The schema of `load-balancing_header`. */ -export const load_balancing_header: JsonSchema = { +export const load$$balancing_header: JsonSchema = { "additionalProperties": { "items": { "type": "string" @@ -1682,7 +1682,7 @@ export const load_balancing_header: JsonSchema = { /** * The schema of `load-balancing_health_sources`. */ -export const load_balancing_health_sources: JsonSchema = { +export const load$$balancing_health_sources: JsonSchema = { "description": "A list of health sources, ordered from highest to lowest priority, used to evaluate individual origin health and overall pool health. The load balancer uses the first source that has data and falls back to the next. Currently accepted values are null or the exact array [\"regional\", \"global\"]; any other combination is rejected. Null (the default) behaves like [\"local\", \"global\"]. [\"regional\", \"global\"] makes each region steer on its own health, falling back to the global decision when a region has no fresh data. Setting regional requires at least one region in check_regions.", "oneOf": [ { @@ -1705,14 +1705,14 @@ export const load_balancing_health_sources: JsonSchema = { /** * The schema of `load-balancing_identifier`. */ -export const load_balancing_identifier: JsonSchema = { +export const load$$balancing_identifier: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_interval`. */ -export const load_balancing_interval: JsonSchema = { +export const load$$balancing_interval: JsonSchema = { "description": "The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations.", "type": "integer" }; @@ -1720,7 +1720,7 @@ export const load_balancing_interval: JsonSchema = { /** * The schema of `load-balancing_latitude`. */ -export const load_balancing_latitude: JsonSchema = { +export const load$$balancing_latitude: JsonSchema = { "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set.", "type": "number" }; @@ -1728,7 +1728,7 @@ export const load_balancing_latitude: JsonSchema = { /** * The schema of `load-balancing_load_shedding`. */ -export const load_balancing_load_shedding: JsonSchema = { +export const load$$balancing_load_shedding: JsonSchema = { "description": "Configures load shedding policies and percentages for the pool.", "oneOf": [ { @@ -1772,7 +1772,7 @@ export const load_balancing_load_shedding: JsonSchema = { /** * The schema of `load-balancing_longitude`. */ -export const load_balancing_longitude: JsonSchema = { +export const load$$balancing_longitude: JsonSchema = { "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set.", "type": "number" }; @@ -1780,7 +1780,7 @@ export const load_balancing_longitude: JsonSchema = { /** * The schema of `load-balancing_method`. */ -export const load_balancing_method: JsonSchema = { +export const load$$balancing_method: JsonSchema = { "description": "The method to use for the health check. This defaults to 'GET' for HTTP/HTTPS based checks and 'connection_established' for TCP based health checks.", "type": "string" }; @@ -1788,7 +1788,7 @@ export const load_balancing_method: JsonSchema = { /** * The schema of `load-balancing_minimum_origins`. */ -export const load_balancing_minimum_origins: JsonSchema = { +export const load$$balancing_minimum_origins: JsonSchema = { "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool.", "type": "integer" }; @@ -1796,7 +1796,7 @@ export const load_balancing_minimum_origins: JsonSchema = { /** * The schema of `load-balancing_monitor-editable`. */ -export const load_balancing_monitor_editable: JsonSchema = { +export const load$$balancing_monitor$$editable: JsonSchema = { "properties": { "allow_insecure": { "$ref": "#/$defs/load-balancing_allow_insecure", @@ -1879,7 +1879,7 @@ export const load_balancing_monitor_editable: JsonSchema = { /** * The schema of `load-balancing_monitor_group_id`. */ -export const load_balancing_monitor_group_id: JsonSchema = { +export const load$$balancing_monitor_group_id: JsonSchema = { "description": "The ID of the Monitor Group to use for checking the health of origins within this pool.", "type": "string" }; @@ -1887,7 +1887,7 @@ export const load_balancing_monitor_group_id: JsonSchema = { /** * The schema of `load-balancing_monitor_id`. */ -export const load_balancing_monitor_id: JsonSchema = { +export const load$$balancing_monitor_id: JsonSchema = { "description": "The ID of the Monitor to use for checking the health of origins within this pool.", "type": "string" }; @@ -1895,7 +1895,7 @@ export const load_balancing_monitor_id: JsonSchema = { /** * The schema of `load-balancing_name`. */ -export const load_balancing_name: JsonSchema = { +export const load$$balancing_name: JsonSchema = { "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.", "type": "string" }; @@ -1903,7 +1903,7 @@ export const load_balancing_name: JsonSchema = { /** * The schema of `load-balancing_networks`. */ -export const load_balancing_networks: JsonSchema = { +export const load$$balancing_networks: JsonSchema = { "description": "List of networks where Load Balancer or Pool is enabled.", "items": { "type": "string" @@ -1914,7 +1914,7 @@ export const load_balancing_networks: JsonSchema = { /** * The schema of `load-balancing_notification_email`. */ -export const load_balancing_notification_email: JsonSchema = { +export const load$$balancing_notification_email: JsonSchema = { "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.", "type": "string" }; @@ -1922,7 +1922,7 @@ export const load_balancing_notification_email: JsonSchema = { /** * The schema of `load-balancing_notification_filter`. */ -export const load_balancing_notification_filter: JsonSchema = { +export const load$$balancing_notification_filter: JsonSchema = { "description": "Filter pool and origin health notifications by resource type or health status. Use null to reset.", "oneOf": [ { @@ -1947,7 +1947,7 @@ export const load_balancing_notification_filter: JsonSchema = { /** * The schema of `load-balancing_origin`. */ -export const load_balancing_origin: JsonSchema = { +export const load$$balancing_origin: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/load-balancing_address", @@ -1992,7 +1992,7 @@ export const load_balancing_origin: JsonSchema = { /** * The schema of `load-balancing_origin_flatten_cname`. */ -export const load_balancing_origin_flatten_cname: JsonSchema = { +export const load$$balancing_origin_flatten_cname: JsonSchema = { "description": "Whether to flatten CNAME records for this origin, resolving them to A/AAAA records before returning to the client. When true (the default), the director resolves CNAME addresses to their underlying A/AAAA records. When false, the origin address is returned as a raw CNAME record without resolution. This setting mirrors the DNS API record flatten_cname setting.", "type": "boolean" }; @@ -2000,7 +2000,7 @@ export const load_balancing_origin_flatten_cname: JsonSchema = { /** * The schema of `load-balancing_origin_port`. */ -export const load_balancing_origin_port: JsonSchema = { +export const load$$balancing_origin_port: JsonSchema = { "description": "The port for upstream connections. A value of 0 means the default port for the protocol will be used.", "type": "integer" }; @@ -2008,7 +2008,7 @@ export const load_balancing_origin_port: JsonSchema = { /** * The schema of `load-balancing_origin_steering`. */ -export const load_balancing_origin_steering: JsonSchema = { +export const load$$balancing_origin_steering: JsonSchema = { "description": "Configures origin steering for the pool. Controls how origins are selected for new sessions and traffic without session affinity.", "oneOf": [ { @@ -2036,7 +2036,7 @@ export const load_balancing_origin_steering: JsonSchema = { /** * The schema of `load-balancing_origins`. */ -export const load_balancing_origins: JsonSchema = { +export const load$$balancing_origins: JsonSchema = { "description": "The list of origins within this pool. Traffic directed at this pool is balanced across all currently healthy origins, provided the pool itself is healthy.", "items": { "$ref": "#/$defs/load-balancing_origin" @@ -2047,7 +2047,7 @@ export const load_balancing_origins: JsonSchema = { /** * The schema of `load-balancing_patch_pools_notification_email`. */ -export const load_balancing_patch_pools_notification_email: JsonSchema = { +export const load$$balancing_patch_pools_notification_email: JsonSchema = { "description": "The email address to send health status notifications to. This field is now deprecated in favor of Cloudflare Notifications for Load Balancing, so only resetting this field with an empty string `\"\"` is accepted.", "type": "string" }; @@ -2055,7 +2055,7 @@ export const load_balancing_patch_pools_notification_email: JsonSchema = { /** * The schema of `load-balancing_path`. */ -export const load_balancing_path: JsonSchema = { +export const load$$balancing_path: JsonSchema = { "description": "The endpoint path you want to conduct a health check against. This parameter is only valid for HTTP and HTTPS monitors.", "type": "string" }; @@ -2063,7 +2063,7 @@ export const load_balancing_path: JsonSchema = { /** * The schema of `load-balancing_port`. */ -export const load_balancing_port: JsonSchema = { +export const load$$balancing_port: JsonSchema = { "description": "The port number to connect to for the health check. Required for TCP, UDP, and SMTP checks. HTTP and HTTPS checks should only define the port when using a non-standard port (HTTP: default 80, HTTPS: default 443).", "oneOf": [ { @@ -2078,7 +2078,7 @@ export const load_balancing_port: JsonSchema = { /** * The schema of `load-balancing_probe_zone`. */ -export const load_balancing_probe_zone: JsonSchema = { +export const load$$balancing_probe_zone: JsonSchema = { "description": "Assign this monitor to emulate the specified zone while probing. This parameter is only valid for HTTP and HTTPS monitors.", "type": "string" }; @@ -2086,7 +2086,7 @@ export const load_balancing_probe_zone: JsonSchema = { /** * The schema of `load-balancing_retries`. */ -export const load_balancing_retries: JsonSchema = { +export const load$$balancing_retries: JsonSchema = { "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately.", "type": "integer" }; @@ -2094,7 +2094,7 @@ export const load_balancing_retries: JsonSchema = { /** * The schema of `load-balancing_schemas-description`. */ -export const load_balancing_schemas_description: JsonSchema = { +export const load$$balancing_schemas$$description: JsonSchema = { "description": "A human-readable description of the pool.", "type": "string" }; @@ -2102,7 +2102,7 @@ export const load_balancing_schemas_description: JsonSchema = { /** * The schema of `load-balancing_schemas-enabled`. */ -export const load_balancing_schemas_enabled: JsonSchema = { +export const load$$balancing_schemas$$enabled: JsonSchema = { "description": "Whether to enable (the default) this origin within the pool. Disabled origins will not receive traffic and are excluded from health checks. The origin will only be disabled for the current pool.", "type": "boolean" }; @@ -2110,7 +2110,7 @@ export const load_balancing_schemas_enabled: JsonSchema = { /** * The schema of `load-balancing_schemas-header`. */ -export const load_balancing_schemas_header: JsonSchema = { +export const load$$balancing_schemas$$header: JsonSchema = { "description": "The request header is used to pass additional information with an HTTP request. Currently supported header is 'Host'.", "properties": { "Host": { @@ -2124,14 +2124,14 @@ export const load_balancing_schemas_header: JsonSchema = { /** * The schema of `load-balancing_schemas-identifier`. */ -export const load_balancing_schemas_identifier: JsonSchema = { +export const load$$balancing_schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_schemas-name`. */ -export const load_balancing_schemas_name: JsonSchema = { +export const load$$balancing_schemas$$name: JsonSchema = { "description": "A human-identifiable name for the origin.", "type": "string" }; @@ -2139,7 +2139,7 @@ export const load_balancing_schemas_name: JsonSchema = { /** * The schema of `load-balancing_subdivision_code_a2`. */ -export const load_balancing_subdivision_code_a2: JsonSchema = { +export const load$$balancing_subdivision_code_a2: JsonSchema = { "description": "Two-letter subdivision code followed in ISO 3166-2.", "type": "string" }; @@ -2147,7 +2147,7 @@ export const load_balancing_subdivision_code_a2: JsonSchema = { /** * The schema of `load-balancing_timeout`. */ -export const load_balancing_timeout: JsonSchema = { +export const load$$balancing_timeout: JsonSchema = { "description": "The timeout (in seconds) before marking the health check as failed.", "type": "integer" }; @@ -2155,7 +2155,7 @@ export const load_balancing_timeout: JsonSchema = { /** * The schema of `load-balancing_type`. */ -export const load_balancing_type: JsonSchema = { +export const load$$balancing_type: JsonSchema = { "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS', 'TCP', 'ICMP-PING', 'UDP-ICMP', and 'SMTP'.", "enum": [ "http", @@ -2171,7 +2171,7 @@ export const load_balancing_type: JsonSchema = { /** * The schema of `load-balancing_virtual_network_id`. */ -export const load_balancing_virtual_network_id: JsonSchema = { +export const load$$balancing_virtual_network_id: JsonSchema = { "description": "The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account.", "type": "string" }; @@ -2179,7 +2179,7 @@ export const load_balancing_virtual_network_id: JsonSchema = { /** * The schema of `load-balancing_weight`. */ -export const load_balancing_weight: JsonSchema = { +export const load$$balancing_weight: JsonSchema = { "description": "The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool.\n- `origin_steering.policy=\"least_outstanding_requests\"`: Use weight to scale the origin's outstanding requests.\n- `origin_steering.policy=\"least_connections\"`: Use weight to scale the origin's open connections.", "type": "number" }; @@ -2187,7 +2187,7 @@ export const load_balancing_weight: JsonSchema = { /** * The schema of `mconn-telemetry_account_id`. */ -export const mconn_telemetry_account_id: JsonSchema = { +export const mconn$$telemetry_account_id: JsonSchema = { "description": "Account identifier", "type": "string" }; @@ -2209,7 +2209,7 @@ export const mconn_uuid: JsonSchema = { /** * The schema of `organizations-api_ModifyProfileRequest`. */ -export const organizations_api_ModifyProfileRequest: JsonSchema = { +export const organizations$$api_ModifyProfileRequest: JsonSchema = { "description": "Partial business profile update. Omitted, empty, or null fields remain unchanged. At least\none of business name, address, phone, or email must be non-empty.", "properties": { "business_address": { @@ -2269,7 +2269,7 @@ export const organizations_api_ModifyProfileRequest: JsonSchema = { /** * The schema of `organizations-api_OrganizationID`. */ -export const organizations_api_OrganizationID: JsonSchema = { +export const organizations$$api_OrganizationID: JsonSchema = { "description": "Organization ID", "type": "string" }; @@ -2277,7 +2277,7 @@ export const organizations_api_OrganizationID: JsonSchema = { /** * The schema of `r2-data-catalog_account-id`. */ -export const r2_data_catalog_account_id: JsonSchema = { +export const r2$$data$$catalog_account$$id: JsonSchema = { "description": "Use this to identify the account.", "type": "string" }; @@ -2285,7 +2285,7 @@ export const r2_data_catalog_account_id: JsonSchema = { /** * The schema of `r2-data-catalog_bucket-name`. */ -export const r2_data_catalog_bucket_name: JsonSchema = { +export const r2$$data$$catalog_bucket$$name: JsonSchema = { "description": "Specifies the R2 bucket name.", "type": "string" }; @@ -2293,7 +2293,7 @@ export const r2_data_catalog_bucket_name: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-activation-request`. */ -export const r2_data_catalog_catalog_activation_request: JsonSchema = { +export const r2$$data$$catalog_catalog$$activation$$request: JsonSchema = { "description": "Contains the optional request to enable a catalog. Send an empty body\nto keep the defaults. If you include `credential`, the service checks\nthat the token can access the bucket, then stores it as the catalog's\nmaintenance credential, like the store credentials operation.\n", "properties": { "credential": { @@ -2307,7 +2307,7 @@ export const r2_data_catalog_catalog_activation_request: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-credential-request`. */ -export const r2_data_catalog_catalog_credential_request: JsonSchema = { +export const r2$$data$$catalog_catalog$$credential$$request: JsonSchema = { "description": "Contains request to store catalog credentials.", "properties": { "token": { @@ -2324,7 +2324,7 @@ export const r2_data_catalog_catalog_credential_request: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-maintenance-state`. */ -export const r2_data_catalog_catalog_maintenance_state: JsonSchema = { +export const r2$$data$$catalog_catalog$$maintenance$$state: JsonSchema = { "description": "Specifies the state of maintenance operations.", "enum": [ "enabled", @@ -2336,7 +2336,7 @@ export const r2_data_catalog_catalog_maintenance_state: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-maintenance-update-request`. */ -export const r2_data_catalog_catalog_maintenance_update_request: JsonSchema = { +export const r2$$data$$catalog_catalog$$maintenance$$update$$request: JsonSchema = { "description": "Contains request to update catalog maintenance configuration.", "properties": { "compaction": { @@ -2354,7 +2354,7 @@ export const r2_data_catalog_catalog_maintenance_update_request: JsonSchema = { /** * The schema of `r2-data-catalog_catalog-target-file-size`. */ -export const r2_data_catalog_catalog_target_file_size: JsonSchema = { +export const r2$$data$$catalog_catalog$$target$$file$$size: JsonSchema = { "description": "Sets the target file size for compaction in megabytes. Defaults to \"128\".", "enum": [ "64", @@ -2368,7 +2368,7 @@ export const r2_data_catalog_catalog_target_file_size: JsonSchema = { /** * The schema of `r2-data-catalog_compaction-update-params`. */ -export const r2_data_catalog_compaction_update_params: JsonSchema = { +export const r2$$data$$catalog_compaction$$update$$params: JsonSchema = { "description": "Updates compaction configuration (all fields optional).", "properties": { "state": { @@ -2386,7 +2386,7 @@ export const r2_data_catalog_compaction_update_params: JsonSchema = { /** * The schema of `r2-data-catalog_queue-maintenance-request`. */ -export const r2_data_catalog_queue_maintenance_request: JsonSchema = { +export const r2$$data$$catalog_queue$$maintenance$$request: JsonSchema = { "properties": { "request_id": { "oneOf": [ @@ -2406,7 +2406,7 @@ export const r2_data_catalog_queue_maintenance_request: JsonSchema = { /** * The schema of `r2-data-catalog_snapshot-expiration-update-params`. */ -export const r2_data_catalog_snapshot_expiration_update_params: JsonSchema = { +export const r2$$data$$catalog_snapshot$$expiration$$update$$params: JsonSchema = { "description": "Updates snapshot expiration configuration (all fields optional).", "properties": { "max_snapshot_age": { @@ -2428,7 +2428,7 @@ export const r2_data_catalog_snapshot_expiration_update_params: JsonSchema = { /** * The schema of `r2-data-catalog_table-compaction-update-params`. */ -export const r2_data_catalog_table_compaction_update_params: JsonSchema = { +export const r2$$data$$catalog_table$$compaction$$update$$params: JsonSchema = { "description": "Updates table compaction configuration; all fields are optional.", "properties": { "state": { @@ -2446,7 +2446,7 @@ export const r2_data_catalog_table_compaction_update_params: JsonSchema = { /** * The schema of `r2-data-catalog_table-maintenance-update-request`. */ -export const r2_data_catalog_table_maintenance_update_request: JsonSchema = { +export const r2$$data$$catalog_table$$maintenance$$update$$request: JsonSchema = { "description": "Contains request to update table maintenance configuration.", "properties": { "compaction": { @@ -2464,7 +2464,7 @@ export const r2_data_catalog_table_maintenance_update_request: JsonSchema = { /** * The schema of `resource-sharing_account_id`. */ -export const resource_sharing_account_id: JsonSchema = { +export const resource$$sharing_account_id: JsonSchema = { "description": "Account identifier.", "type": "string" }; @@ -2472,7 +2472,7 @@ export const resource_sharing_account_id: JsonSchema = { /** * The schema of `resource-sharing_organization_id`. */ -export const resource_sharing_organization_id: JsonSchema = { +export const resource$$sharing_organization_id: JsonSchema = { "description": "Organization identifier.", "type": "string" }; @@ -2480,7 +2480,7 @@ export const resource_sharing_organization_id: JsonSchema = { /** * The schema of `resource-sharing_resource_id`. */ -export const resource_sharing_resource_id: JsonSchema = { +export const resource$$sharing_resource_id: JsonSchema = { "description": "Share Resource identifier.", "type": "string" }; @@ -2488,7 +2488,7 @@ export const resource_sharing_resource_id: JsonSchema = { /** * The schema of `resource-sharing_resource_meta`. */ -export const resource_sharing_resource_meta: JsonSchema = { +export const resource$$sharing_resource_meta: JsonSchema = { "description": "Resource Metadata.", "type": "object" }; @@ -2496,7 +2496,7 @@ export const resource_sharing_resource_meta: JsonSchema = { /** * The schema of `resource-sharing_resource_resource_id`. */ -export const resource_sharing_resource_resource_id: JsonSchema = { +export const resource$$sharing_resource_resource_id: JsonSchema = { "description": "Share Resource identifier.", "type": "string" }; @@ -2504,7 +2504,7 @@ export const resource_sharing_resource_resource_id: JsonSchema = { /** * The schema of `resource-sharing_resource_status`. */ -export const resource_sharing_resource_status: JsonSchema = { +export const resource$$sharing_resource_status: JsonSchema = { "description": "Resource Status.", "enum": [ "active", @@ -2517,7 +2517,7 @@ export const resource_sharing_resource_status: JsonSchema = { /** * The schema of `resource-sharing_resource_type`. */ -export const resource_sharing_resource_type: JsonSchema = { +export const resource$$sharing_resource_type: JsonSchema = { "description": "Resource Type.", "enum": [ "custom-ruleset", @@ -2534,7 +2534,7 @@ export const resource_sharing_resource_type: JsonSchema = { /** * The schema of `resource-sharing_share_id`. */ -export const resource_sharing_share_id: JsonSchema = { +export const resource$$sharing_share_id: JsonSchema = { "description": "Share identifier tag.", "type": "string" }; @@ -2542,7 +2542,7 @@ export const resource_sharing_share_id: JsonSchema = { /** * The schema of `resource-sharing_share_kind`. */ -export const resource_sharing_share_kind: JsonSchema = { +export const resource$$sharing_share_kind: JsonSchema = { "enum": [ "sent", "received" @@ -2553,7 +2553,7 @@ export const resource_sharing_share_kind: JsonSchema = { /** * The schema of `resource-sharing_share_name`. */ -export const resource_sharing_share_name: JsonSchema = { +export const resource$$sharing_share_name: JsonSchema = { "description": "The name of the share.", "type": "string" }; @@ -2561,7 +2561,7 @@ export const resource_sharing_share_name: JsonSchema = { /** * The schema of `resource-sharing_share_status`. */ -export const resource_sharing_share_status: JsonSchema = { +export const resource$$sharing_share_status: JsonSchema = { "enum": [ "active", "deleting", @@ -2573,7 +2573,7 @@ export const resource_sharing_share_status: JsonSchema = { /** * The schema of `resource-sharing_share_target_type`. */ -export const resource_sharing_share_target_type: JsonSchema = { +export const resource$$sharing_share_target_type: JsonSchema = { "enum": [ "account", "organization" @@ -2600,14 +2600,14 @@ export const rum_identifier: JsonSchema = { /** * The schema of `security-center_dismissed`. */ -export const security_center_dismissed: JsonSchema = { +export const security$$center_dismissed: JsonSchema = { "type": "boolean" }; /** * The schema of `security-center_identifier`. */ -export const security_center_identifier: JsonSchema = { +export const security$$center_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -2615,14 +2615,14 @@ export const security_center_identifier: JsonSchema = { /** * The schema of `security-center_issueClass`. */ -export const security_center_issueClass: JsonSchema = { +export const security$$center_issueClass: JsonSchema = { "type": "string" }; /** * The schema of `security-center_issueClasses`. */ -export const security_center_issueClasses: JsonSchema = { +export const security$$center_issueClasses: JsonSchema = { "items": { "$ref": "#/$defs/security-center_issueClass" }, @@ -2632,7 +2632,7 @@ export const security_center_issueClasses: JsonSchema = { /** * The schema of `security-center_issueType`. */ -export const security_center_issueType: JsonSchema = { +export const security$$center_issueType: JsonSchema = { "enum": [ "compliance_violation", "email_security", @@ -2647,7 +2647,7 @@ export const security_center_issueType: JsonSchema = { /** * The schema of `security-center_issueTypes`. */ -export const security_center_issueTypes: JsonSchema = { +export const security$$center_issueTypes: JsonSchema = { "items": { "$ref": "#/$defs/security-center_issueType" }, @@ -2657,7 +2657,7 @@ export const security_center_issueTypes: JsonSchema = { /** * The schema of `security-center_page`. */ -export const security_center_page: JsonSchema = { +export const security$$center_page: JsonSchema = { "description": "Specifies the current page within paginated list of results.", "type": "integer" }; @@ -2665,7 +2665,7 @@ export const security_center_page: JsonSchema = { /** * The schema of `security-center_perPage`. */ -export const security_center_perPage: JsonSchema = { +export const security$$center_perPage: JsonSchema = { "description": "Sets the number of results per page of results.", "type": "integer" }; @@ -2673,7 +2673,7 @@ export const security_center_perPage: JsonSchema = { /** * The schema of `security-center_products`. */ -export const security_center_products: JsonSchema = { +export const security$$center_products: JsonSchema = { "items": { "type": "string" }, @@ -2683,7 +2683,7 @@ export const security_center_products: JsonSchema = { /** * The schema of `security-center_severityQueryParam`. */ -export const security_center_severityQueryParam: JsonSchema = { +export const security$$center_severityQueryParam: JsonSchema = { "items": { "enum": [ "low", @@ -2698,7 +2698,7 @@ export const security_center_severityQueryParam: JsonSchema = { /** * The schema of `security-center_source`. */ -export const security_center_source: JsonSchema = { +export const security$$center_source: JsonSchema = { "description": "Who generated the insight. `cloudflare` for Cloudflare-generated insights, otherwise the partner.", "enum": [ "cloudflare", @@ -2710,7 +2710,7 @@ export const security_center_source: JsonSchema = { /** * The schema of `security-center_sources`. */ -export const security_center_sources: JsonSchema = { +export const security$$center_sources: JsonSchema = { "items": { "$ref": "#/$defs/security-center_source" }, @@ -2720,14 +2720,14 @@ export const security_center_sources: JsonSchema = { /** * The schema of `security-center_subject`. */ -export const security_center_subject: JsonSchema = { +export const security$$center_subject: JsonSchema = { "type": "string" }; /** * The schema of `security-center_subjects`. */ -export const security_center_subjects: JsonSchema = { +export const security$$center_subjects: JsonSchema = { "items": { "$ref": "#/$defs/security-center_subject" }, @@ -2737,7 +2737,7 @@ export const security_center_subjects: JsonSchema = { /** * The schema of `security-center_userClassification`. */ -export const security_center_userClassification: JsonSchema = { +export const security$$center_userClassification: JsonSchema = { "description": "User-defined classification for the insight. Can be 'false_positive', 'accept_risk', 'other', or null.", "oneOf": [ { @@ -2765,7 +2765,7 @@ export const speed_identifier: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_identifier`. */ -export const tls_certificates_and_hostnames_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -2864,7 +2864,7 @@ export const tunnel_tunnel_id: JsonSchema = { /** * The schema of `tunnel_tunnel_id-2`. */ -export const tunnel_tunnel_id_2: JsonSchema = { +export const tunnel_tunnel_id$$2: JsonSchema = { "description": "UUID of the tunnel.", "format": "uuid", "type": "string" @@ -2917,7 +2917,7 @@ export const tunnel_tunnel_types: JsonSchema = { /** * The schema of `usage-analytics_identifier`. */ -export const usage_analytics_identifier: JsonSchema = { +export const usage$$analytics_identifier: JsonSchema = { "description": "Cloudflare resource identifier.", "type": "string" }; @@ -2925,7 +2925,7 @@ export const usage_analytics_identifier: JsonSchema = { /** * The schema of `waf-product-api-bundle_identifier`. */ -export const waf_product_api_bundle_identifier: JsonSchema = { +export const waf$$product$$api$$bundle_identifier: JsonSchema = { "description": "Defines an identifier.", "type": "string" }; @@ -4439,7 +4439,7 @@ export const workers_compatibility_flags: JsonSchema = { /** * The schema of `workers_create-assets-upload-session-object`. */ -export const workers_create_assets_upload_session_object: JsonSchema = { +export const workers_create$$assets$$upload$$session$$object: JsonSchema = { "properties": { "manifest": { "additionalProperties": { @@ -5016,7 +5016,7 @@ export const workers_logpush: JsonSchema = { /** * The schema of `workers_manifest-value`. */ -export const workers_manifest_value: JsonSchema = { +export const workers_manifest$$value: JsonSchema = { "properties": { "hash": { "description": "The hash of the file.", @@ -5148,7 +5148,7 @@ export const workers_namespace_identifier: JsonSchema = { /** * The schema of `workers_observability-2`. */ -export const workers_observability_2: JsonSchema = { +export const workers_observability$$2: JsonSchema = { "description": "Observability settings for the Worker.", "properties": { "enabled": { @@ -5514,7 +5514,7 @@ export const workers_secret: JsonSchema = { /** * The schema of `workers_secret-patch-request`. */ -export const workers_secret_patch_request: JsonSchema = { +export const workers_secret$$patch$$request: JsonSchema = { "description": "JSON Merge Patch (RFC 7396) request body for bulk secret changes.\n", "properties": { "secrets": { @@ -5669,7 +5669,7 @@ export const workers_worker_export: JsonSchema = { /** * The schema of `zones_identifier-2`. */ -export const zones_identifier_2: JsonSchema = { +export const zones_identifier$$2: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/scim/groups/outputs.ts b/src/generated/forge-mcp/scim/groups/outputs.ts index dd981d9b0..79552e817 100644 --- a/src/generated/forge-mcp/scim/groups/outputs.ts +++ b/src/generated/forge-mcp/scim/groups/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_scim_group` in responses. */ -export const iam_scim_group_output: JsonSchema = { +export const iam_scim_group: JsonSchema = { "properties": { "displayName": { "type": "string" @@ -52,7 +52,7 @@ export const iam_scim_group_output: JsonSchema = { /** * The schema of `iam_scim_group_list_response` in responses. */ -export const iam_scim_group_list_response_output: JsonSchema = { +export const iam_scim_group_list_response: JsonSchema = { "properties": { "Resources": { "items": { @@ -87,7 +87,7 @@ export const iam_scim_group_list_response_output: JsonSchema = { /** * The schema of `iam_scim_group_meta` in responses. */ -export const iam_scim_group_meta_output: JsonSchema = { +export const iam_scim_group_meta: JsonSchema = { "properties": { "resourceType": { "type": "string" @@ -99,7 +99,7 @@ export const iam_scim_group_meta_output: JsonSchema = { /** * The schema of `iam_scim_group_summary` in responses. */ -export const iam_scim_group_summary_output: JsonSchema = { +export const iam_scim_group_summary: JsonSchema = { "properties": { "displayName": { "type": "string" diff --git a/src/generated/forge-mcp/scim/groups/tools.ts b/src/generated/forge-mcp/scim/groups/tools.ts index d5d39659b..2f0cffc05 100644 --- a/src/generated/forge-mcp/scim/groups/tools.ts +++ b/src/generated/forge-mcp/scim/groups/tools.ts @@ -1,17 +1,17 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier, } from "../../schemas.js"; -import { iam_scim_error_response_output } from "../outputs.js"; +import { iam_scim_error_response } from "../outputs.js"; import { - iam_scim_group_list_response_output, - iam_scim_group_meta_output, - iam_scim_group_output, - iam_scim_group_summary_output, + iam_scim_group, + iam_scim_group_list_response, + iam_scim_group_meta, + iam_scim_group_summary, } from "./outputs.js"; import { iam_scim_group_create_request, @@ -33,29 +33,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_scim_group_create_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_group_create_request": iam_scim_group_create_request, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_group", $defs: { - "iam_scim_group": iam_scim_group_output, - "iam_scim_group_meta": iam_scim_group_meta_output, + "iam_scim_group": iam_scim_group, + "iam_scim_group_meta": iam_scim_group_meta, }, }, annotations: { @@ -94,9 +102,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_group": iam_scim_group_output, - "iam_scim_group_meta": iam_scim_group_meta_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_group": iam_scim_group, + "iam_scim_group_meta": iam_scim_group_meta, }, }, request: (args) => ({ @@ -111,22 +119,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "group_id": { - "$ref": "#/$defs/iam_scim_group_identifier", - "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "group_id": { + "$ref": "#/$defs/iam_scim_group_identifier", + "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_group_identifier": iam_scim_group_identifier, }, }, @@ -164,7 +180,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_error_response": iam_scim_error_response, }, }, request: (args) => ({ @@ -178,26 +194,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_scim_group_patch_op_request" }, - "group_id": { - "$ref": "#/$defs/iam_scim_group_identifier", - "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "group_id": { + "$ref": "#/$defs/iam_scim_group_identifier", + "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_group_identifier": iam_scim_group_identifier, "iam_scim_group_patch_member_value": iam_scim_group_patch_member_value, "iam_scim_group_patch_op_request": iam_scim_group_patch_op_request, @@ -207,8 +231,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/iam_scim_group", $defs: { - "iam_scim_group": iam_scim_group_output, - "iam_scim_group_meta": iam_scim_group_meta_output, + "iam_scim_group": iam_scim_group, + "iam_scim_group_meta": iam_scim_group_meta, }, }, annotations: { @@ -247,9 +271,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_group": iam_scim_group_output, - "iam_scim_group_meta": iam_scim_group_meta_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_group": iam_scim_group, + "iam_scim_group_meta": iam_scim_group_meta, }, }, request: (args) => ({ @@ -264,30 +288,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "group_id": { - "$ref": "#/$defs/iam_scim_group_identifier", - "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "group_id": { + "$ref": "#/$defs/iam_scim_group_identifier", + "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_group_identifier": iam_scim_group_identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_group", $defs: { - "iam_scim_group": iam_scim_group_output, - "iam_scim_group_meta": iam_scim_group_meta_output, + "iam_scim_group": iam_scim_group, + "iam_scim_group_meta": iam_scim_group_meta, }, }, annotations: { @@ -327,9 +359,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_group": iam_scim_group_output, - "iam_scim_group_meta": iam_scim_group_meta_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_group": iam_scim_group, + "iam_scim_group_meta": iam_scim_group_meta, }, }, request: (args) => ({ @@ -343,38 +375,51 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "count": { - "description": "Specifies the desired maximum number of query results per page.\n", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "filter": { - "description": "SCIM filter expression (RFC 7644 Section 3.4.2.2). Only `displayName eq \"value\"` is supported.\n", - "type": "string" - }, - "start_index": { - "default": 1, - "description": "The 1-based index of the first result in the current set of list results. Values less than 1 are treated as 1.\n", - "type": "integer" + "query": { + "properties": { + "count": { + "description": "Specifies the desired maximum number of query results per page.\n", + "type": "integer" + }, + "filter": { + "description": "SCIM filter expression (RFC 7644 Section 3.4.2.2). Only `displayName eq \"value\"` is supported.\n", + "type": "string" + }, + "startIndex": { + "default": 1, + "description": "The 1-based index of the first result in the current set of list results. Values less than 1 are treated as 1.\n", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_group_list_response", $defs: { - "iam_scim_group_list_response": iam_scim_group_list_response_output, - "iam_scim_group_meta": iam_scim_group_meta_output, - "iam_scim_group_summary": iam_scim_group_summary_output, + "iam_scim_group_list_response": iam_scim_group_list_response, + "iam_scim_group_meta": iam_scim_group_meta, + "iam_scim_group_summary": iam_scim_group_summary, }, }, annotations: { @@ -414,18 +459,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_group_list_response": iam_scim_group_list_response_output, - "iam_scim_group_meta": iam_scim_group_meta_output, - "iam_scim_group_summary": iam_scim_group_summary_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_group_list_response": iam_scim_group_list_response, + "iam_scim_group_meta": iam_scim_group_meta, + "iam_scim_group_summary": iam_scim_group_summary, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Groups`, query: [ - ["startIndex", args["start_index"], true], - ["count", args["count"], true], - ["filter", args["filter"], true], + ["startIndex", param(args, "query", "startIndex"), true], + ["count", param(args, "query", "count"), true], + ["filter", param(args, "query", "filter"), true], ], }), }, @@ -436,26 +481,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_scim_group_replace_request" }, - "group_id": { - "$ref": "#/$defs/iam_scim_group_identifier", - "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "group_id": { + "$ref": "#/$defs/iam_scim_group_identifier", + "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_group_identifier": iam_scim_group_identifier, "iam_scim_group_patch_member_value": iam_scim_group_patch_member_value, "iam_scim_group_replace_request": iam_scim_group_replace_request, @@ -464,8 +517,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/iam_scim_group", $defs: { - "iam_scim_group": iam_scim_group_output, - "iam_scim_group_meta": iam_scim_group_meta_output, + "iam_scim_group": iam_scim_group, + "iam_scim_group_meta": iam_scim_group_meta, }, }, annotations: { @@ -504,9 +557,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_group": iam_scim_group_output, - "iam_scim_group_meta": iam_scim_group_meta_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_group": iam_scim_group, + "iam_scim_group_meta": iam_scim_group_meta, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/scim/outputs.ts b/src/generated/forge-mcp/scim/outputs.ts index ec208f899..8b68131ff 100644 --- a/src/generated/forge-mcp/scim/outputs.ts +++ b/src/generated/forge-mcp/scim/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `iam_scim_error_response` in responses. */ -export const iam_scim_error_response_output: JsonSchema = { +export const iam_scim_error_response: JsonSchema = { "properties": { "detail": { "type": "string" diff --git a/src/generated/forge-mcp/scim/resourceTypes/outputs.ts b/src/generated/forge-mcp/scim/resourceTypes/outputs.ts index c95c12aa9..d1474956f 100644 --- a/src/generated/forge-mcp/scim/resourceTypes/outputs.ts +++ b/src/generated/forge-mcp/scim/resourceTypes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_scim_resource_type` in responses. */ -export const iam_scim_resource_type_output: JsonSchema = { +export const iam_scim_resource_type: JsonSchema = { "properties": { "description": { "type": "string" @@ -52,7 +52,7 @@ export const iam_scim_resource_type_output: JsonSchema = { /** * The schema of `iam_scim_resource_type_list_response` in responses. */ -export const iam_scim_resource_type_list_response_output: JsonSchema = { +export const iam_scim_resource_type_list_response: JsonSchema = { "properties": { "Resources": { "items": { @@ -87,7 +87,7 @@ export const iam_scim_resource_type_list_response_output: JsonSchema = { /** * The schema of `iam_scim_resource_type_meta` in responses. */ -export const iam_scim_resource_type_meta_output: JsonSchema = { +export const iam_scim_resource_type_meta: JsonSchema = { "properties": { "location": { "type": "string" @@ -102,7 +102,7 @@ export const iam_scim_resource_type_meta_output: JsonSchema = { /** * The schema of `iam_scim_schema_extension` in responses. */ -export const iam_scim_schema_extension_output: JsonSchema = { +export const iam_scim_schema_extension: JsonSchema = { "properties": { "required": { "type": "boolean" diff --git a/src/generated/forge-mcp/scim/resourceTypes/tools.ts b/src/generated/forge-mcp/scim/resourceTypes/tools.ts index e8bf3759e..d8e20e30d 100644 --- a/src/generated/forge-mcp/scim/resourceTypes/tools.ts +++ b/src/generated/forge-mcp/scim/resourceTypes/tools.ts @@ -4,55 +4,63 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier, } from "../../schemas.js"; -import { iam_scim_error_response_output } from "../outputs.js"; +import { iam_scim_error_response } from "../outputs.js"; import { - iam_scim_resource_type_list_response_output, - iam_scim_resource_type_meta_output, - iam_scim_resource_type_output, - iam_scim_schema_extension_output, + iam_scim_resource_type, + iam_scim_resource_type_list_response, + iam_scim_resource_type_meta, + iam_scim_schema_extension, } from "./outputs.js"; /** - * The tools of `scim.resource_types`. + * The tools of `scim.resourceTypes`. */ export const tools: readonly Tool[] = [ { - name: "scim_resource_types_get", + name: "scim_resourceTypes_get", title: "Get SCIM Resource Type", description: "Returns a single SCIM resource type by ID (RFC 7643 Section 6). Valid IDs are `User` and `Group`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "resource_type_id": { - "description": "The resource type identifier.", - "enum": [ - "User", - "Group" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "resource_type_id": { + "description": "The resource type identifier.", + "enum": [ + "User", + "Group" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "resource_type_id" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "resource_type_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_resource_type", $defs: { - "iam_scim_resource_type": iam_scim_resource_type_output, - "iam_scim_resource_type_meta": iam_scim_resource_type_meta_output, - "iam_scim_schema_extension": iam_scim_schema_extension_output, + "iam_scim_resource_type": iam_scim_resource_type, + "iam_scim_resource_type_meta": iam_scim_resource_type_meta, + "iam_scim_schema_extension": iam_scim_schema_extension, }, }, annotations: { @@ -92,10 +100,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_resource_type": iam_scim_resource_type_output, - "iam_scim_resource_type_meta": iam_scim_resource_type_meta_output, - "iam_scim_schema_extension": iam_scim_schema_extension_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_resource_type": iam_scim_resource_type, + "iam_scim_resource_type_meta": iam_scim_resource_type_meta, + "iam_scim_schema_extension": iam_scim_schema_extension, }, }, request: (args) => ({ @@ -103,32 +111,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "scim_resource_types_list", + name: "scim_resourceTypes_list", title: "List SCIM Resource Types", description: "Returns the list of SCIM resource types supported by the Cloudflare SCIM service (RFC 7643 Section 6, RFC 7644 Section 4). Clients use this to discover available resource categories (e.g. Users, Groups) and their associated schemas. Query parameters are not supported on this endpoint.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_resource_type_list_response", $defs: { - "iam_scim_resource_type": iam_scim_resource_type_output, - "iam_scim_resource_type_list_response": iam_scim_resource_type_list_response_output, - "iam_scim_resource_type_meta": iam_scim_resource_type_meta_output, - "iam_scim_schema_extension": iam_scim_schema_extension_output, + "iam_scim_resource_type": iam_scim_resource_type, + "iam_scim_resource_type_list_response": iam_scim_resource_type_list_response, + "iam_scim_resource_type_meta": iam_scim_resource_type_meta, + "iam_scim_schema_extension": iam_scim_schema_extension, }, }, annotations: { @@ -168,11 +184,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_resource_type": iam_scim_resource_type_output, - "iam_scim_resource_type_list_response": iam_scim_resource_type_list_response_output, - "iam_scim_resource_type_meta": iam_scim_resource_type_meta_output, - "iam_scim_schema_extension": iam_scim_schema_extension_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_resource_type": iam_scim_resource_type, + "iam_scim_resource_type_list_response": iam_scim_resource_type_list_response, + "iam_scim_resource_type_meta": iam_scim_resource_type_meta, + "iam_scim_schema_extension": iam_scim_schema_extension, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/scim/schemas/outputs.ts b/src/generated/forge-mcp/scim/schemas/outputs.ts index 775dd99d4..5a5ade831 100644 --- a/src/generated/forge-mcp/scim/schemas/outputs.ts +++ b/src/generated/forge-mcp/scim/schemas/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_scim_schema` in responses. */ -export const iam_scim_schema_output: JsonSchema = { +export const iam_scim_schema: JsonSchema = { "properties": { "attributes": { "items": { @@ -45,7 +45,7 @@ export const iam_scim_schema_output: JsonSchema = { /** * The schema of `iam_scim_schema_attr` in responses. */ -export const iam_scim_schema_attr_output: JsonSchema = { +export const iam_scim_schema_attr: JsonSchema = { "properties": { "canonicalValues": { "items": { @@ -136,7 +136,7 @@ export const iam_scim_schema_attr_output: JsonSchema = { /** * The schema of `iam_scim_schema_list_response` in responses. */ -export const iam_scim_schema_list_response_output: JsonSchema = { +export const iam_scim_schema_list_response: JsonSchema = { "properties": { "Resources": { "items": { @@ -171,7 +171,7 @@ export const iam_scim_schema_list_response_output: JsonSchema = { /** * The schema of `iam_scim_schema_meta` in responses. */ -export const iam_scim_schema_meta_output: JsonSchema = { +export const iam_scim_schema_meta: JsonSchema = { "properties": { "location": { "type": "string" diff --git a/src/generated/forge-mcp/scim/schemas/tools.ts b/src/generated/forge-mcp/scim/schemas/tools.ts index 0f4354202..a3040d9ba 100644 --- a/src/generated/forge-mcp/scim/schemas/tools.ts +++ b/src/generated/forge-mcp/scim/schemas/tools.ts @@ -4,14 +4,14 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier, } from "../../schemas.js"; -import { iam_scim_error_response_output } from "../outputs.js"; +import { iam_scim_error_response } from "../outputs.js"; import { - iam_scim_schema_attr_output, - iam_scim_schema_list_response_output, - iam_scim_schema_meta_output, - iam_scim_schema_output, + iam_scim_schema, + iam_scim_schema_attr, + iam_scim_schema_list_response, + iam_scim_schema_meta, } from "./outputs.js"; /** @@ -25,30 +25,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "schema_id": { - "description": "The schema URI identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "schema_id": { + "description": "The schema URI identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "schema_id" + ], + "type": "object" } }, required: [ - "account_id", - "schema_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_schema", $defs: { - "iam_scim_schema": iam_scim_schema_output, - "iam_scim_schema_attr": iam_scim_schema_attr_output, - "iam_scim_schema_meta": iam_scim_schema_meta_output, + "iam_scim_schema": iam_scim_schema, + "iam_scim_schema_attr": iam_scim_schema_attr, + "iam_scim_schema_meta": iam_scim_schema_meta, }, }, annotations: { @@ -88,10 +96,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_schema": iam_scim_schema_output, - "iam_scim_schema_attr": iam_scim_schema_attr_output, - "iam_scim_schema_meta": iam_scim_schema_meta_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_schema": iam_scim_schema, + "iam_scim_schema_attr": iam_scim_schema_attr, + "iam_scim_schema_meta": iam_scim_schema_meta, }, }, request: (args) => ({ @@ -105,26 +113,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_schema_list_response", $defs: { - "iam_scim_schema": iam_scim_schema_output, - "iam_scim_schema_attr": iam_scim_schema_attr_output, - "iam_scim_schema_list_response": iam_scim_schema_list_response_output, - "iam_scim_schema_meta": iam_scim_schema_meta_output, + "iam_scim_schema": iam_scim_schema, + "iam_scim_schema_attr": iam_scim_schema_attr, + "iam_scim_schema_list_response": iam_scim_schema_list_response, + "iam_scim_schema_meta": iam_scim_schema_meta, }, }, annotations: { @@ -164,11 +180,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_schema": iam_scim_schema_output, - "iam_scim_schema_attr": iam_scim_schema_attr_output, - "iam_scim_schema_list_response": iam_scim_schema_list_response_output, - "iam_scim_schema_meta": iam_scim_schema_meta_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_schema": iam_scim_schema, + "iam_scim_schema_attr": iam_scim_schema_attr, + "iam_scim_schema_list_response": iam_scim_schema_list_response, + "iam_scim_schema_meta": iam_scim_schema_meta, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/scim/serviceProviderConfig/outputs.ts b/src/generated/forge-mcp/scim/serviceProviderConfig/outputs.ts index d6f881af1..9c32e985a 100644 --- a/src/generated/forge-mcp/scim/serviceProviderConfig/outputs.ts +++ b/src/generated/forge-mcp/scim/serviceProviderConfig/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_scim_authentication_scheme` in responses. */ -export const iam_scim_authentication_scheme_output: JsonSchema = { +export const iam_scim_authentication_scheme: JsonSchema = { "properties": { "description": { "type": "string" @@ -38,7 +38,7 @@ export const iam_scim_authentication_scheme_output: JsonSchema = { /** * The schema of `iam_scim_bulk_feature` in responses. */ -export const iam_scim_bulk_feature_output: JsonSchema = { +export const iam_scim_bulk_feature: JsonSchema = { "properties": { "maxOperations": { "type": "integer" @@ -61,7 +61,7 @@ export const iam_scim_bulk_feature_output: JsonSchema = { /** * The schema of `iam_scim_feature` in responses. */ -export const iam_scim_feature_output: JsonSchema = { +export const iam_scim_feature: JsonSchema = { "properties": { "supported": { "type": "boolean" @@ -76,7 +76,7 @@ export const iam_scim_feature_output: JsonSchema = { /** * The schema of `iam_scim_filter_feature` in responses. */ -export const iam_scim_filter_feature_output: JsonSchema = { +export const iam_scim_filter_feature: JsonSchema = { "properties": { "maxResults": { "type": "integer" @@ -95,7 +95,7 @@ export const iam_scim_filter_feature_output: JsonSchema = { /** * The schema of `iam_scim_service_provider_config` in responses. */ -export const iam_scim_service_provider_config_output: JsonSchema = { +export const iam_scim_service_provider_config: JsonSchema = { "properties": { "authenticationSchemes": { "items": { diff --git a/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts b/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts index 91e597925..d589ac6c6 100644 --- a/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts +++ b/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts @@ -4,49 +4,57 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier, } from "../../schemas.js"; -import { iam_scim_error_response_output } from "../outputs.js"; +import { iam_scim_error_response } from "../outputs.js"; import { - iam_scim_authentication_scheme_output, - iam_scim_bulk_feature_output, - iam_scim_feature_output, - iam_scim_filter_feature_output, - iam_scim_service_provider_config_output, + iam_scim_authentication_scheme, + iam_scim_bulk_feature, + iam_scim_feature, + iam_scim_filter_feature, + iam_scim_service_provider_config, } from "./outputs.js"; /** - * The tools of `scim.service_provider_config`. + * The tools of `scim.serviceProviderConfig`. */ export const tools: readonly Tool[] = [ { - name: "scim_service_provider_config_get", + name: "scim_serviceProviderConfig_get", title: "Get SCIM Service Provider Config", description: "Returns the SCIM 2.0 Service Provider configuration (RFC 7643 Section 5). IdPs use this endpoint to auto-configure their SCIM integration with Cloudflare, discovering which optional features (patch, bulk, filter, etc.) are supported.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_service_provider_config", $defs: { - "iam_scim_authentication_scheme": iam_scim_authentication_scheme_output, - "iam_scim_bulk_feature": iam_scim_bulk_feature_output, - "iam_scim_feature": iam_scim_feature_output, - "iam_scim_filter_feature": iam_scim_filter_feature_output, - "iam_scim_service_provider_config": iam_scim_service_provider_config_output, + "iam_scim_authentication_scheme": iam_scim_authentication_scheme, + "iam_scim_bulk_feature": iam_scim_bulk_feature, + "iam_scim_feature": iam_scim_feature, + "iam_scim_filter_feature": iam_scim_filter_feature, + "iam_scim_service_provider_config": iam_scim_service_provider_config, }, }, annotations: { @@ -86,12 +94,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_authentication_scheme": iam_scim_authentication_scheme_output, - "iam_scim_bulk_feature": iam_scim_bulk_feature_output, - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_feature": iam_scim_feature_output, - "iam_scim_filter_feature": iam_scim_filter_feature_output, - "iam_scim_service_provider_config": iam_scim_service_provider_config_output, + "iam_scim_authentication_scheme": iam_scim_authentication_scheme, + "iam_scim_bulk_feature": iam_scim_bulk_feature, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_feature": iam_scim_feature, + "iam_scim_filter_feature": iam_scim_filter_feature, + "iam_scim_service_provider_config": iam_scim_service_provider_config, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/scim/users/outputs.ts b/src/generated/forge-mcp/scim/users/outputs.ts index 26af6140a..0b0a89b9c 100644 --- a/src/generated/forge-mcp/scim/users/outputs.ts +++ b/src/generated/forge-mcp/scim/users/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_scim_user` in responses. */ -export const iam_scim_user_output: JsonSchema = { +export const iam_scim_user: JsonSchema = { "properties": { "active": { "type": "boolean" @@ -65,7 +65,7 @@ export const iam_scim_user_output: JsonSchema = { /** * The schema of `iam_scim_user_email_object` in responses. */ -export const iam_scim_user_email_object_output: JsonSchema = { +export const iam_scim_user_email_object: JsonSchema = { "properties": { "primary": { "type": "boolean" @@ -86,7 +86,7 @@ export const iam_scim_user_email_object_output: JsonSchema = { /** * The schema of `iam_scim_user_list_response` in responses. */ -export const iam_scim_user_list_response_output: JsonSchema = { +export const iam_scim_user_list_response: JsonSchema = { "properties": { "Resources": { "items": { @@ -121,7 +121,7 @@ export const iam_scim_user_list_response_output: JsonSchema = { /** * The schema of `iam_scim_user_name_object` in responses. */ -export const iam_scim_user_name_object_output: JsonSchema = { +export const iam_scim_user_name_object: JsonSchema = { "properties": { "familyName": { "type": "string" diff --git a/src/generated/forge-mcp/scim/users/tools.ts b/src/generated/forge-mcp/scim/users/tools.ts index 8950bd3e1..cce48465b 100644 --- a/src/generated/forge-mcp/scim/users/tools.ts +++ b/src/generated/forge-mcp/scim/users/tools.ts @@ -1,25 +1,25 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { iam_account_identifier, - iam_common_components_schemas_identifier, + iam_common_components$$schemas$$identifier, } from "../../schemas.js"; -import { iam_scim_error_response_output } from "../outputs.js"; +import { iam_scim_error_response } from "../outputs.js"; import { - iam_scim_user_email_object_output, - iam_scim_user_list_response_output, - iam_scim_user_name_object_output, - iam_scim_user_output, + iam_scim_user, + iam_scim_user_email_object, + iam_scim_user_list_response, + iam_scim_user_name_object, } from "./outputs.js"; import { iam_scim_patch_op_request, iam_scim_patch_operation, iam_scim_user_create_request, - iam_scim_user_email_object, + iam_scim_user_email_object as iam_scim_user_email_object$, iam_scim_user_identifier, - iam_scim_user_name_object, + iam_scim_user_name_object as iam_scim_user_name_object$, iam_scim_user_replace_request, } from "./schemas.js"; @@ -34,32 +34,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_scim_user_create_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_user_create_request": iam_scim_user_create_request, - "iam_scim_user_email_object": iam_scim_user_email_object, - "iam_scim_user_name_object": iam_scim_user_name_object, + "iam_scim_user_email_object": iam_scim_user_email_object$, + "iam_scim_user_name_object": iam_scim_user_name_object$, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_user", $defs: { - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, annotations: { @@ -98,10 +106,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, request: (args) => ({ @@ -116,22 +124,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "user_id": { - "$ref": "#/$defs/iam_scim_user_identifier", - "description": "The user tag identifying a SCIM User resource (account member)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_id": { + "$ref": "#/$defs/iam_scim_user_identifier", + "description": "The user tag identifying a SCIM User resource (account member)." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_user_identifier": iam_scim_user_identifier, }, }, @@ -169,7 +185,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, + "iam_scim_error_response": iam_scim_error_response, }, }, request: (args) => ({ @@ -183,26 +199,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_scim_patch_op_request" }, - "user_id": { - "$ref": "#/$defs/iam_scim_user_identifier", - "description": "The user tag identifying a SCIM User resource (account member)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_id": { + "$ref": "#/$defs/iam_scim_user_identifier", + "description": "The user tag identifying a SCIM User resource (account member)." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_patch_op_request": iam_scim_patch_op_request, "iam_scim_patch_operation": iam_scim_patch_operation, "iam_scim_user_identifier": iam_scim_user_identifier, @@ -211,9 +235,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/iam_scim_user", $defs: { - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, annotations: { @@ -252,10 +276,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, request: (args) => ({ @@ -270,31 +294,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, - "user_id": { - "$ref": "#/$defs/iam_scim_user_identifier", - "description": "The user tag identifying a SCIM User resource (account member)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_id": { + "$ref": "#/$defs/iam_scim_user_identifier", + "description": "The user tag identifying a SCIM User resource (account member)." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_user_identifier": iam_scim_user_identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_user", $defs: { - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, annotations: { @@ -334,10 +366,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, request: (args) => ({ @@ -351,39 +383,52 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "count": { - "description": "Specifies the desired maximum number of query results per page.\n", - "type": "integer" - }, - "filter": { - "description": "SCIM filter expression (RFC 7644 Section 3.4.2.2). Only `userName eq \"value\"` is supported.\n", - "type": "string" - }, - "start_index": { - "default": 1, - "description": "The 1-based index of the first result in the current set of list results. Values less than 1 are treated as 1.\n", - "type": "integer" + "query": { + "properties": { + "count": { + "description": "Specifies the desired maximum number of query results per page.\n", + "type": "integer" + }, + "filter": { + "description": "SCIM filter expression (RFC 7644 Section 3.4.2.2). Only `userName eq \"value\"` is supported.\n", + "type": "string" + }, + "startIndex": { + "default": 1, + "description": "The 1-based index of the first result in the current set of list results. Values less than 1 are treated as 1.\n", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_user_list_response", $defs: { - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_list_response": iam_scim_user_list_response_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_list_response": iam_scim_user_list_response, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, annotations: { @@ -423,19 +468,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_list_response": iam_scim_user_list_response_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_list_response": iam_scim_user_list_response, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/scim/v2/Users`, query: [ - ["startIndex", args["start_index"], true], - ["count", args["count"], true], - ["filter", args["filter"], true], + ["startIndex", param(args, "query", "startIndex"), true], + ["count", param(args, "query", "count"), true], + ["filter", param(args, "query", "filter"), true], ], }), }, @@ -446,38 +491,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." - }, "body": { "$ref": "#/$defs/iam_scim_user_replace_request" }, - "user_id": { - "$ref": "#/$defs/iam_scim_user_identifier", - "description": "The user tag identifying a SCIM User resource (account member)." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/iam_account_identifier", + "description": "Account identifier tag." + }, + "user_id": { + "$ref": "#/$defs/iam_scim_user_identifier", + "description": "The user tag identifying a SCIM User resource (account member)." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id", + "path", "body" ], $defs: { "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier, - "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_scim_user_email_object": iam_scim_user_email_object$, "iam_scim_user_identifier": iam_scim_user_identifier, - "iam_scim_user_name_object": iam_scim_user_name_object, + "iam_scim_user_name_object": iam_scim_user_name_object$, "iam_scim_user_replace_request": iam_scim_user_replace_request, }, }, outputSchema: { "$ref": "#/$defs/iam_scim_user", $defs: { - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, annotations: { @@ -516,10 +569,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_scim_error_response": iam_scim_error_response_output, - "iam_scim_user": iam_scim_user_output, - "iam_scim_user_email_object": iam_scim_user_email_object_output, - "iam_scim_user_name_object": iam_scim_user_name_object_output, + "iam_scim_error_response": iam_scim_error_response, + "iam_scim_user": iam_scim_user, + "iam_scim_user_email_object": iam_scim_user_email_object, + "iam_scim_user_name_object": iam_scim_user_name_object, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/secretsStore/outputs.ts b/src/generated/forge-mcp/secretsStore/outputs.ts index a18c32bd0..6da2f81cd 100644 --- a/src/generated/forge-mcp/secretsStore/outputs.ts +++ b/src/generated/forge-mcp/secretsStore/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `secrets-store_api-response-collection` in responses. */ -export const secrets_store_api_response_collection_output: JsonSchema = { +export const secrets$$store_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secrets-store_api-response-common" @@ -42,7 +42,7 @@ export const secrets_store_api_response_collection_output: JsonSchema = { /** * The schema of `secrets-store_api-response-common` in responses. */ -export const secrets_store_api_response_common_output: JsonSchema = { +export const secrets$$store_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/secrets-store_messages" @@ -68,7 +68,7 @@ export const secrets_store_api_response_common_output: JsonSchema = { /** * The schema of `secrets-store_api-response-common-failure` in responses. */ -export const secrets_store_api_response_common_failure_output: JsonSchema = { +export const secrets$$store_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/secrets-store_messages" @@ -98,7 +98,7 @@ export const secrets_store_api_response_common_failure_output: JsonSchema = { /** * The schema of `secrets-store_created` in responses. */ -export const secrets_store_created_output: JsonSchema = { +export const secrets$$store_created: JsonSchema = { "format": "date-time", "type": "string" }; @@ -106,7 +106,7 @@ export const secrets_store_created_output: JsonSchema = { /** * The schema of `secrets-store_messages` in responses. */ -export const secrets_store_messages_output: JsonSchema = { +export const secrets$$store_messages: JsonSchema = { "items": { "properties": { "code": { @@ -139,7 +139,7 @@ export const secrets_store_messages_output: JsonSchema = { /** * The schema of `secrets-store_modified` in responses. */ -export const secrets_store_modified_output: JsonSchema = { +export const secrets$$store_modified: JsonSchema = { "format": "date-time", "type": "string" }; @@ -147,6 +147,6 @@ export const secrets_store_modified_output: JsonSchema = { /** * The schema of `secrets-store_store_identifier` in responses. */ -export const secrets_store_store_identifier_output: JsonSchema = { +export const secrets$$store_store_identifier: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/secretsStore/quota/outputs.ts b/src/generated/forge-mcp/secretsStore/quota/outputs.ts index d5836df27..7311d22c2 100644 --- a/src/generated/forge-mcp/secretsStore/quota/outputs.ts +++ b/src/generated/forge-mcp/secretsStore/quota/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `secrets-store_quota` in responses. */ -export const secrets_store_quota_output: JsonSchema = { +export const secrets$$store_quota: JsonSchema = { "type": "number" }; /** * The schema of `secrets-store_quota_response` in responses. */ -export const secrets_store_quota_response_output: JsonSchema = { +export const secrets$$store_quota_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secrets-store_api-response-collection" @@ -32,7 +32,7 @@ export const secrets_store_quota_response_output: JsonSchema = { /** * The schema of `secrets-store_secretsUsageObject` in responses. */ -export const secrets_store_secretsUsageObject_output: JsonSchema = { +export const secrets$$store_secretsUsageObject: JsonSchema = { "properties": { "secrets": { "$ref": "#/$defs/secrets-store_usageQuotaObject" @@ -47,14 +47,14 @@ export const secrets_store_secretsUsageObject_output: JsonSchema = { /** * The schema of `secrets-store_usage` in responses. */ -export const secrets_store_usage_output: JsonSchema = { +export const secrets$$store_usage: JsonSchema = { "type": "number" }; /** * The schema of `secrets-store_usageQuotaObject` in responses. */ -export const secrets_store_usageQuotaObject_output: JsonSchema = { +export const secrets$$store_usageQuotaObject: JsonSchema = { "properties": { "quota": { "$ref": "#/$defs/secrets-store_quota" diff --git a/src/generated/forge-mcp/secretsStore/quota/tools.ts b/src/generated/forge-mcp/secretsStore/quota/tools.ts index d0c5c3064..327e9ce97 100644 --- a/src/generated/forge-mcp/secretsStore/quota/tools.ts +++ b/src/generated/forge-mcp/secretsStore/quota/tools.ts @@ -3,50 +3,58 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - secrets_store_api_response_collection_output, - secrets_store_api_response_common_failure_output, - secrets_store_api_response_common_output, - secrets_store_messages_output, + secrets$$store_api$$response$$collection, + secrets$$store_api$$response$$common, + secrets$$store_api$$response$$common$$failure, + secrets$$store_messages, } from "../outputs.js"; import { - secrets_store_quota_output, - secrets_store_quota_response_output, - secrets_store_secretsUsageObject_output, - secrets_store_usageQuotaObject_output, - secrets_store_usage_output, + secrets$$store_quota, + secrets$$store_quota_response, + secrets$$store_secretsUsageObject, + secrets$$store_usage, + secrets$$store_usageQuotaObject, } from "./outputs.js"; /** - * The tools of `secrets_store.quota`. + * The tools of `secretsStore.quota`. */ export const tools: readonly Tool[] = [ { - name: "secrets_store_quota_get", + name: "secretsStore_quota_get", title: "View secret usage", description: "Lists the number of secrets used in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/secrets-store_quota_response", $defs: { - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "secrets-store_messages": secrets_store_messages_output, - "secrets-store_quota": secrets_store_quota_output, - "secrets-store_quota_response": secrets_store_quota_response_output, - "secrets-store_secretsUsageObject": secrets_store_secretsUsageObject_output, - "secrets-store_usage": secrets_store_usage_output, - "secrets-store_usageQuotaObject": secrets_store_usageQuotaObject_output, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_quota": secrets$$store_quota, + "secrets-store_quota_response": secrets$$store_quota_response, + "secrets-store_secretsUsageObject": secrets$$store_secretsUsageObject, + "secrets-store_usage": secrets$$store_usage, + "secrets-store_usageQuotaObject": secrets$$store_usageQuotaObject, }, }, annotations: { @@ -81,15 +89,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "secrets-store_messages": secrets_store_messages_output, - "secrets-store_quota": secrets_store_quota_output, - "secrets-store_quota_response": secrets_store_quota_response_output, - "secrets-store_secretsUsageObject": secrets_store_secretsUsageObject_output, - "secrets-store_usage": secrets_store_usage_output, - "secrets-store_usageQuotaObject": secrets_store_usageQuotaObject_output, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_quota": secrets$$store_quota, + "secrets-store_quota_response": secrets$$store_quota_response, + "secrets-store_secretsUsageObject": secrets$$store_secretsUsageObject, + "secrets-store_usage": secrets$$store_usage, + "secrets-store_usageQuotaObject": secrets$$store_usageQuotaObject, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/secretsStore/secrets/outputs.ts b/src/generated/forge-mcp/secretsStore/secrets/outputs.ts index 95adb14f0..d4507a267 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/outputs.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `secrets-store_SecretStatus` in responses. */ -export const secrets_store_SecretStatus_output: JsonSchema = { +export const secrets$$store_SecretStatus: JsonSchema = { "enum": [ "pending", "active", @@ -18,7 +18,7 @@ export const secrets_store_SecretStatus_output: JsonSchema = { /** * The schema of `secrets-store_api-response-single` in responses. */ -export const secrets_store_api_response_single_output: JsonSchema = { +export const secrets$$store_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/secrets-store_messages" @@ -44,14 +44,14 @@ export const secrets_store_api_response_single_output: JsonSchema = { /** * The schema of `secrets-store_comment` in responses. */ -export const secrets_store_comment_output: JsonSchema = { +export const secrets$$store_comment: JsonSchema = { "type": "string" }; /** * The schema of `secrets-store_delete_response` in responses. */ -export const secrets_store_delete_response_output: JsonSchema = { +export const secrets$$store_delete_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secrets-store_api-response-single" @@ -77,14 +77,14 @@ export const secrets_store_delete_response_output: JsonSchema = { /** * The schema of `secrets-store_identifier` in responses. */ -export const secrets_store_identifier_output: JsonSchema = { +export const secrets$$store_identifier: JsonSchema = { "type": "string" }; /** * The schema of `secrets-store_inheritable_scopes` in responses. */ -export const secrets_store_inheritable_scopes_output: JsonSchema = { +export const secrets$$store_inheritable_scopes: JsonSchema = { "oneOf": [ { "items": { @@ -109,7 +109,7 @@ export const secrets_store_inheritable_scopes_output: JsonSchema = { /** * The schema of `secrets-store_secretObject` in responses. */ -export const secrets_store_secretObject_output: JsonSchema = { +export const secrets$$store_secretObject: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/secrets-store_comment" @@ -150,14 +150,14 @@ export const secrets_store_secretObject_output: JsonSchema = { /** * The schema of `secrets-store_secret_name` in responses. */ -export const secrets_store_secret_name_output: JsonSchema = { +export const secrets$$store_secret_name: JsonSchema = { "type": "string" }; /** * The schema of `secrets-store_secret_response` in responses. */ -export const secrets_store_secret_response_output: JsonSchema = { +export const secrets$$store_secret_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secrets-store_api-response-single" @@ -176,7 +176,7 @@ export const secrets_store_secret_response_output: JsonSchema = { /** * The schema of `secrets-store_secrets_response_collection` in responses. */ -export const secrets_store_secrets_response_collection_output: JsonSchema = { +export const secrets$$store_secrets_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secrets-store_api-response-collection" diff --git a/src/generated/forge-mcp/secretsStore/secrets/schemas.ts b/src/generated/forge-mcp/secretsStore/secrets/schemas.ts index c26d19074..5ffc40b52 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/schemas.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `secrets-store_comment`. */ -export const secrets_store_comment: JsonSchema = { +export const secrets$$store_comment: JsonSchema = { "description": "Freeform text describing the secret.", "type": "string" }; @@ -14,7 +14,7 @@ export const secrets_store_comment: JsonSchema = { /** * The schema of `secrets-store_createSecretObject`. */ -export const secrets_store_createSecretObject: JsonSchema = { +export const secrets$$store_createSecretObject: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/secrets-store_comment", @@ -43,7 +43,7 @@ export const secrets_store_createSecretObject: JsonSchema = { /** * The schema of `secrets-store_deleteSecretsRequest`. */ -export const secrets_store_deleteSecretsRequest: JsonSchema = { +export const secrets$$store_deleteSecretsRequest: JsonSchema = { "description": "Request body for bulk deleting secrets.", "properties": { "ids": { @@ -63,7 +63,7 @@ export const secrets_store_deleteSecretsRequest: JsonSchema = { /** * The schema of `secrets-store_duplicateSecretObject`. */ -export const secrets_store_duplicateSecretObject: JsonSchema = { +export const secrets$$store_duplicateSecretObject: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/secrets-store_comment", @@ -87,7 +87,7 @@ export const secrets_store_duplicateSecretObject: JsonSchema = { /** * The schema of `secrets-store_identifier`. */ -export const secrets_store_identifier: JsonSchema = { +export const secrets$$store_identifier: JsonSchema = { "description": "Secret identifier tag.", "type": "string" }; @@ -95,7 +95,7 @@ export const secrets_store_identifier: JsonSchema = { /** * The schema of `secrets-store_inheritable_scopes`. */ -export const secrets_store_inheritable_scopes: JsonSchema = { +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": [ { @@ -121,7 +121,7 @@ export const secrets_store_inheritable_scopes: JsonSchema = { /** * The schema of `secrets-store_patchSecretObject`. */ -export const secrets_store_patchSecretObject: JsonSchema = { +export const secrets$$store_patchSecretObject: JsonSchema = { "properties": { "comment": { "$ref": "#/$defs/secrets-store_comment", @@ -142,7 +142,7 @@ export const secrets_store_patchSecretObject: JsonSchema = { /** * The schema of `secrets-store_scopes`. */ -export const secrets_store_scopes: JsonSchema = { +export const secrets$$store_scopes: JsonSchema = { "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": [ @@ -161,7 +161,7 @@ export const secrets_store_scopes: JsonSchema = { /** * The schema of `secrets-store_secret_name`. */ -export const secrets_store_secret_name: JsonSchema = { +export const secrets$$store_secret_name: JsonSchema = { "description": "The name of the secret.", "type": "string" }; @@ -169,7 +169,7 @@ export const secrets_store_secret_name: JsonSchema = { /** * The schema of `secrets-store_value`. */ -export const secrets_store_value: JsonSchema = { +export const secrets$$store_value: JsonSchema = { "description": "The value of the secret. Maximum 64 KiB (65,536 bytes). Note that this is 'write only' - the API never returns this value; it exists only to create or modify secrets.", "type": "string" }; diff --git a/src/generated/forge-mcp/secretsStore/secrets/tools.ts b/src/generated/forge-mcp/secretsStore/secrets/tools.ts index edb1eb32e..c65c79eef 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/tools.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/tools.ts @@ -1,80 +1,88 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - secrets_store_api_response_collection_output, - secrets_store_api_response_common_failure_output, - secrets_store_api_response_common_output, - secrets_store_created_output, - secrets_store_messages_output, - secrets_store_modified_output, - secrets_store_store_identifier_output, + secrets$$store_api$$response$$collection, + secrets$$store_api$$response$$common, + secrets$$store_api$$response$$common$$failure, + secrets$$store_created, + secrets$$store_messages, + secrets$$store_modified, + secrets$$store_store_identifier, } from "../outputs.js"; import { - secrets_store_SecretStatus_output, - secrets_store_api_response_single_output, - secrets_store_comment_output, - secrets_store_delete_response_output, - secrets_store_identifier_output, - secrets_store_inheritable_scopes_output, - secrets_store_secretObject_output, - secrets_store_secret_name_output, - secrets_store_secret_response_output, - secrets_store_secrets_response_collection_output, + secrets$$store_SecretStatus, + secrets$$store_api$$response$$single, + secrets$$store_comment, + secrets$$store_delete_response, + secrets$$store_identifier, + secrets$$store_inheritable_scopes, + secrets$$store_secretObject, + secrets$$store_secret_name, + secrets$$store_secret_response, + secrets$$store_secrets_response_collection, } from "./outputs.js"; import { - secrets_store_comment, - secrets_store_createSecretObject, - secrets_store_deleteSecretsRequest, - secrets_store_duplicateSecretObject, - secrets_store_identifier, - secrets_store_inheritable_scopes, - secrets_store_patchSecretObject, - secrets_store_scopes, - secrets_store_secret_name, - secrets_store_value, + secrets$$store_comment as secrets$$store_comment$, + secrets$$store_createSecretObject, + secrets$$store_deleteSecretsRequest, + secrets$$store_duplicateSecretObject, + secrets$$store_identifier as secrets$$store_identifier$, + secrets$$store_inheritable_scopes as secrets$$store_inheritable_scopes$, + secrets$$store_patchSecretObject, + secrets$$store_scopes, + secrets$$store_secret_name as secrets$$store_secret_name$, + secrets$$store_value, } from "./schemas.js"; /** - * The tools of `secrets_store.secrets`. + * The tools of `secretsStore.secrets`. */ export const tools: readonly Tool[] = [ { - name: "secrets_store_secrets_bulk_delete", + name: "secretsStore_secrets_bulkDelete", title: "Delete secrets", description: "Deletes one or more secrets.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the specified secrets and cannot be undone.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/secrets-store_deleteSecretsRequest" }, - "store_id": { - "description": "Store identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "store_id": { + "description": "Store identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "store_id" + ], + "type": "object" } }, required: [ - "account_id", - "store_id", + "path", "body" ], $defs: { - "secrets-store_deleteSecretsRequest": secrets_store_deleteSecretsRequest, - "secrets-store_identifier": secrets_store_identifier, + "secrets-store_deleteSecretsRequest": secrets$$store_deleteSecretsRequest, + "secrets-store_identifier": secrets$$store_identifier$, }, }, outputSchema: { "$ref": "#/$defs/secrets-store_delete_response", $defs: { - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "secrets-store_delete_response": secrets_store_delete_response_output, - "secrets-store_messages": secrets_store_messages_output, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_delete_response": secrets$$store_delete_response, + "secrets-store_messages": secrets$$store_messages, }, }, annotations: { @@ -108,10 +116,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "secrets-store_delete_response": secrets_store_delete_response_output, - "secrets-store_messages": secrets_store_messages_output, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_delete_response": secrets$$store_delete_response, + "secrets-store_messages": secrets$$store_messages, }, }, request: (args) => ({ @@ -120,56 +128,64 @@ export const tools: readonly Tool[] = [ }), }, { - name: "secrets_store_secrets_create", + name: "secretsStore_secrets_create", title: "Create a secret", description: "Creates a secret in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, "body": { "items": { "$ref": "#/$defs/secrets-store_createSecretObject" }, "type": "array" }, - "store_id": { - "description": "Store identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "store_id": { + "description": "Store identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "store_id" + ], + "type": "object" } }, required: [ - "account_id", - "store_id", + "path", "body" ], $defs: { - "secrets-store_comment": secrets_store_comment, - "secrets-store_createSecretObject": secrets_store_createSecretObject, - "secrets-store_scopes": secrets_store_scopes, - "secrets-store_secret_name": secrets_store_secret_name, - "secrets-store_value": secrets_store_value, + "secrets-store_comment": secrets$$store_comment$, + "secrets-store_createSecretObject": secrets$$store_createSecretObject, + "secrets-store_scopes": secrets$$store_scopes, + "secrets-store_secret_name": secrets$$store_secret_name$, + "secrets-store_value": secrets$$store_value, }, }, outputSchema: { "$ref": "#/$defs/secrets-store_secrets_response_collection", $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secrets_response_collection": secrets_store_secrets_response_collection_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secrets_response_collection": secrets$$store_secrets_response_collection, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -203,20 +219,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secrets_response_collection": secrets_store_secrets_response_collection_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secrets_response_collection": secrets$$store_secrets_response_collection, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ @@ -225,37 +241,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "secrets_store_secrets_delete", + name: "secretsStore_secrets_delete", title: "Delete a secret", description: "Deletes a single secret.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "secret_id": { - "description": "Secret identifier.", - "type": "string" - }, - "store_id": { - "description": "Store identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "secret_id": { + "description": "Secret identifier.", + "type": "string" + }, + "store_id": { + "description": "Store identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "store_id", + "secret_id" + ], + "type": "object" } }, required: [ - "account_id", - "store_id", - "secret_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/secrets-store_delete_response", $defs: { - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "secrets-store_delete_response": secrets_store_delete_response_output, - "secrets-store_messages": secrets_store_messages_output, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_delete_response": secrets$$store_delete_response, + "secrets-store_messages": secrets$$store_messages, }, }, annotations: { @@ -289,10 +313,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "secrets-store_delete_response": secrets_store_delete_response_output, - "secrets-store_messages": secrets_store_messages_output, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_delete_response": secrets$$store_delete_response, + "secrets-store_messages": secrets$$store_messages, }, }, request: (args) => ({ @@ -300,56 +324,64 @@ export const tools: readonly Tool[] = [ }), }, { - name: "secrets_store_secrets_duplicate", + name: "secretsStore_secrets_duplicate", title: "Duplicate Secret", description: "Creates a duplicate of the secret, keeping the value.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/secrets-store_duplicateSecretObject" }, - "secret_id": { - "description": "Secret identifier.", - "type": "string" - }, - "store_id": { - "description": "Store identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "secret_id": { + "description": "Secret identifier.", + "type": "string" + }, + "store_id": { + "description": "Store identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "store_id", + "secret_id" + ], + "type": "object" } }, required: [ - "account_id", - "store_id", - "secret_id", + "path", "body" ], $defs: { - "secrets-store_comment": secrets_store_comment, - "secrets-store_duplicateSecretObject": secrets_store_duplicateSecretObject, - "secrets-store_scopes": secrets_store_scopes, - "secrets-store_secret_name": secrets_store_secret_name, + "secrets-store_comment": secrets$$store_comment$, + "secrets-store_duplicateSecretObject": secrets$$store_duplicateSecretObject, + "secrets-store_scopes": secrets$$store_scopes, + "secrets-store_secret_name": secrets$$store_secret_name$, }, }, outputSchema: { "$ref": "#/$defs/secrets-store_secret_response", $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secret_response": secrets_store_secret_response_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secret_response": secrets$$store_secret_response, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -383,19 +415,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secret_response": secrets_store_secret_response_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secret_response": secrets$$store_secret_response, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ @@ -404,56 +436,64 @@ export const tools: readonly Tool[] = [ }), }, { - name: "secrets_store_secrets_edit", + name: "secretsStore_secrets_edit", title: "Patch a secret", description: "Updates a single secret.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/secrets-store_patchSecretObject" }, - "secret_id": { - "description": "Secret identifier.", - "type": "string" - }, - "store_id": { - "description": "Store identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "secret_id": { + "description": "Secret identifier.", + "type": "string" + }, + "store_id": { + "description": "Store identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "store_id", + "secret_id" + ], + "type": "object" } }, required: [ - "account_id", - "store_id", - "secret_id", + "path", "body" ], $defs: { - "secrets-store_comment": secrets_store_comment, - "secrets-store_inheritable_scopes": secrets_store_inheritable_scopes, - "secrets-store_patchSecretObject": secrets_store_patchSecretObject, - "secrets-store_value": secrets_store_value, + "secrets-store_comment": secrets$$store_comment$, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes$, + "secrets-store_patchSecretObject": secrets$$store_patchSecretObject, + "secrets-store_value": secrets$$store_value, }, }, outputSchema: { "$ref": "#/$defs/secrets-store_secret_response", $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secret_response": secrets_store_secret_response_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secret_response": secrets$$store_secret_response, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -487,19 +527,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secret_response": secrets_store_secret_response_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secret_response": secrets$$store_secret_response, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ @@ -508,46 +548,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "secrets_store_secrets_get", + name: "secretsStore_secrets_get", title: "Get a secret by ID", description: "Returns details of a single secret.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "secret_id": { - "description": "Secret identifier.", - "type": "string" - }, - "store_id": { - "description": "Store identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "secret_id": { + "description": "Secret identifier.", + "type": "string" + }, + "store_id": { + "description": "Store identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "store_id", + "secret_id" + ], + "type": "object" } }, required: [ - "account_id", - "store_id", - "secret_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/secrets-store_secret_response", $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secret_response": secrets_store_secret_response_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secret_response": secrets$$store_secret_response, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -582,19 +630,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "secrets-store_api-response-single": secrets_store_api_response_single_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secret_response": secrets_store_secret_response_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_api-response-single": secrets$$store_api$$response$$single, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secret_response": secrets$$store_secret_response, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ @@ -602,90 +650,103 @@ export const tools: readonly Tool[] = [ }), }, { - name: "secrets_store_secrets_list", + name: "secretsStore_secrets_list", title: "List store secrets", description: "Lists all store secrets.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "direction": { - "default": "desc", - "description": "Direction to sort objects.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order": { - "default": "created", - "description": "Order secrets by values in the given field.", - "enum": [ - "name", - "comment", - "created", - "modified", - "status" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "store_id": { + "description": "Store identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "store_id" ], - "type": "string" - }, - "page": { - "description": "Page number.", - "type": "integer" - }, - "per_page": { - "description": "Number of objects to return per page.", - "type": "integer" + "type": "object" }, - "scopes": { - "description": "Only secrets with the given scopes will be returned.", - "items": { - "enum": [ - "workers", - "ai_gateway", - "dex", - "access", - "containers", - "websearch" - ], - "type": "string" + "query": { + "properties": { + "direction": { + "default": "desc", + "description": "Direction to sort objects.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "default": "created", + "description": "Order secrets by values in the given field.", + "enum": [ + "name", + "comment", + "created", + "modified", + "status" + ], + "type": "string" + }, + "page": { + "description": "Page number.", + "type": "integer" + }, + "per_page": { + "description": "Number of objects to return per page.", + "type": "integer" + }, + "scopes": { + "description": "Only secrets with the given scopes will be returned.", + "items": { + "enum": [ + "workers", + "ai_gateway", + "dex", + "access", + "containers", + "websearch" + ], + "type": "string" + }, + "type": "array" + }, + "search": { + "description": "Search secrets using a filter string, filtering across name and comment.", + "type": "string" + } }, - "type": "array" - }, - "search": { - "description": "Search secrets using a filter string, filtering across name and comment.", - "type": "string" - }, - "store_id": { - "description": "Store identifier.", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "store_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/secrets-store_secrets_response_collection", $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secrets_response_collection": secrets_store_secrets_response_collection_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secrets_response_collection": secrets$$store_secrets_response_collection, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -720,31 +781,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets_store_SecretStatus_output, - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "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_secretObject": secrets_store_secretObject_output, - "secrets-store_secret_name": secrets_store_secret_name_output, - "secrets-store_secrets_response_collection": secrets_store_secrets_response_collection_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, + "secrets-store_SecretStatus": secrets$$store_SecretStatus, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_comment": secrets$$store_comment, + "secrets-store_created": secrets$$store_created, + "secrets-store_identifier": secrets$$store_identifier, + "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_secretObject": secrets$$store_secretObject, + "secrets-store_secret_name": secrets$$store_secret_name, + "secrets-store_secrets_response_collection": secrets$$store_secrets_response_collection, + "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores/${pathParam(args, "store_id")}/secrets`, query: [ - ["direction", args["direction"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["order", args["order"], true], - ["scopes", args["scopes"], false], + ["direction", param(args, "query", "direction"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["order", param(args, "query", "order"), true], + ["scopes", param(args, "query", "scopes"), false], ], }), }, diff --git a/src/generated/forge-mcp/secretsStore/stores/outputs.ts b/src/generated/forge-mcp/secretsStore/stores/outputs.ts index 726433d2b..533a13951 100644 --- a/src/generated/forge-mcp/secretsStore/stores/outputs.ts +++ b/src/generated/forge-mcp/secretsStore/stores/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `secrets-store_account_identifier` in responses. */ -export const secrets_store_account_identifier_output: JsonSchema = { +export const secrets$$store_account_identifier: JsonSchema = { "type": "string" }; /** * The schema of `secrets-store_storeObject` in responses. */ -export const secrets_store_storeObject_output: JsonSchema = { +export const secrets$$store_storeObject: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/secrets-store_account_identifier" @@ -43,14 +43,14 @@ export const secrets_store_storeObject_output: JsonSchema = { /** * The schema of `secrets-store_store_name` in responses. */ -export const secrets_store_store_name_output: JsonSchema = { +export const secrets$$store_store_name: JsonSchema = { "type": "string" }; /** * The schema of `secrets-store_store_response` in responses. */ -export const secrets_store_store_response_output: JsonSchema = { +export const secrets$$store_store_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secrets-store_api-response-collection" @@ -69,7 +69,7 @@ export const secrets_store_store_response_output: JsonSchema = { /** * The schema of `secrets-store_stores_response_collection` in responses. */ -export const secrets_store_stores_response_collection_output: JsonSchema = { +export const secrets$$store_stores_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/secrets-store_api-response-collection" diff --git a/src/generated/forge-mcp/secretsStore/stores/tools.ts b/src/generated/forge-mcp/secretsStore/stores/tools.ts index b8df3a5b6..9807ea3cc 100644 --- a/src/generated/forge-mcp/secretsStore/stores/tools.ts +++ b/src/generated/forge-mcp/secretsStore/stores/tools.ts @@ -1,62 +1,70 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - secrets_store_api_response_collection_output, - secrets_store_api_response_common_failure_output, - secrets_store_api_response_common_output, - secrets_store_created_output, - secrets_store_messages_output, - secrets_store_modified_output, - secrets_store_store_identifier_output, + secrets$$store_api$$response$$collection, + secrets$$store_api$$response$$common, + secrets$$store_api$$response$$common$$failure, + secrets$$store_created, + secrets$$store_messages, + secrets$$store_modified, + secrets$$store_store_identifier, } from "../outputs.js"; import { - secrets_store_account_identifier_output, - secrets_store_storeObject_output, - secrets_store_store_name_output, - secrets_store_store_response_output, - secrets_store_stores_response_collection_output, + secrets$$store_account_identifier, + secrets$$store_storeObject, + secrets$$store_store_name, + secrets$$store_store_response, + secrets$$store_stores_response_collection, } from "./outputs.js"; /** - * The tools of `secrets_store.stores`. + * The tools of `secretsStore.stores`. */ export const tools: readonly Tool[] = [ { - name: "secrets_store_stores_get", + name: "secretsStore_stores_get", title: "Get a store by ID", description: "Returns details of a single store.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "store_id": { - "description": "Store identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + }, + "store_id": { + "description": "Store identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "store_id" + ], + "type": "object" } }, required: [ - "account_id", - "store_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/secrets-store_store_response", $defs: { - "secrets-store_account_identifier": secrets_store_account_identifier_output, - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "secrets-store_created": secrets_store_created_output, - "secrets-store_messages": secrets_store_messages_output, - "secrets-store_modified": secrets_store_modified_output, - "secrets-store_storeObject": secrets_store_storeObject_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, - "secrets-store_store_name": secrets_store_store_name_output, - "secrets-store_store_response": secrets_store_store_response_output, + "secrets-store_account_identifier": secrets$$store_account_identifier, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_created": secrets$$store_created, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_storeObject": secrets$$store_storeObject, + "secrets-store_store_identifier": secrets$$store_store_identifier, + "secrets-store_store_name": secrets$$store_store_name, + "secrets-store_store_response": secrets$$store_store_response, }, }, annotations: { @@ -91,17 +99,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_account_identifier": secrets_store_account_identifier_output, - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "secrets-store_created": secrets_store_created_output, - "secrets-store_messages": secrets_store_messages_output, - "secrets-store_modified": secrets_store_modified_output, - "secrets-store_storeObject": secrets_store_storeObject_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, - "secrets-store_store_name": secrets_store_store_name_output, - "secrets-store_store_response": secrets_store_store_response_output, + "secrets-store_account_identifier": secrets$$store_account_identifier, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_created": secrets$$store_created, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_storeObject": secrets$$store_storeObject, + "secrets-store_store_identifier": secrets$$store_store_identifier, + "secrets-store_store_name": secrets$$store_store_name, + "secrets-store_store_response": secrets$$store_store_response, }, }, request: (args) => ({ @@ -109,61 +117,74 @@ export const tools: readonly Tool[] = [ }), }, { - name: "secrets_store_stores_list", + name: "secretsStore_stores_list", title: "List account stores", description: "Lists all the stores in an account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account identifier.", - "type": "string" - }, - "direction": { - "default": "desc", - "description": "Direction to sort objects.", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "description": "Account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "order": { - "default": "created", - "description": "Order stores by values in the given field.", - "enum": [ - "name", - "created", - "modified" - ], - "type": "string" - }, - "page": { - "description": "Page number.", - "type": "integer" + "type": "object" }, - "per_page": { - "description": "Number of objects to return per page.", - "type": "integer" + "query": { + "properties": { + "direction": { + "default": "desc", + "description": "Direction to sort objects.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "default": "created", + "description": "Order stores by values in the given field.", + "enum": [ + "name", + "created", + "modified" + ], + "type": "string" + }, + "page": { + "description": "Page number.", + "type": "integer" + }, + "per_page": { + "description": "Number of objects to return per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/secrets-store_stores_response_collection", $defs: { - "secrets-store_account_identifier": secrets_store_account_identifier_output, - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "secrets-store_created": secrets_store_created_output, - "secrets-store_messages": secrets_store_messages_output, - "secrets-store_modified": secrets_store_modified_output, - "secrets-store_storeObject": secrets_store_storeObject_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, - "secrets-store_store_name": secrets_store_store_name_output, - "secrets-store_stores_response_collection": secrets_store_stores_response_collection_output, + "secrets-store_account_identifier": secrets$$store_account_identifier, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_created": secrets$$store_created, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_storeObject": secrets$$store_storeObject, + "secrets-store_store_identifier": secrets$$store_store_identifier, + "secrets-store_store_name": secrets$$store_store_name, + "secrets-store_stores_response_collection": secrets$$store_stores_response_collection, }, }, annotations: { @@ -198,26 +219,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_account_identifier": secrets_store_account_identifier_output, - "secrets-store_api-response-collection": secrets_store_api_response_collection_output, - "secrets-store_api-response-common": secrets_store_api_response_common_output, - "secrets-store_api-response-common-failure": secrets_store_api_response_common_failure_output, - "secrets-store_created": secrets_store_created_output, - "secrets-store_messages": secrets_store_messages_output, - "secrets-store_modified": secrets_store_modified_output, - "secrets-store_storeObject": secrets_store_storeObject_output, - "secrets-store_store_identifier": secrets_store_store_identifier_output, - "secrets-store_store_name": secrets_store_store_name_output, - "secrets-store_stores_response_collection": secrets_store_stores_response_collection_output, + "secrets-store_account_identifier": secrets$$store_account_identifier, + "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, + "secrets-store_api-response-common": secrets$$store_api$$response$$common, + "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, + "secrets-store_created": secrets$$store_created, + "secrets-store_messages": secrets$$store_messages, + "secrets-store_modified": secrets$$store_modified, + "secrets-store_storeObject": secrets$$store_storeObject, + "secrets-store_store_identifier": secrets$$store_store_identifier, + "secrets-store_store_name": secrets$$store_store_name, + "secrets-store_stores_response_collection": secrets$$store_stores_response_collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/secrets_store/stores`, query: [ - ["direction", args["direction"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], + ["direction", param(args, "query", "direction"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], ], }), }, diff --git a/src/generated/forge-mcp/securityInsights/auditLogs/outputs.ts b/src/generated/forge-mcp/securityInsights/auditLogs/outputs.ts index 9eb773775..e3805f9a9 100644 --- a/src/generated/forge-mcp/securityInsights/auditLogs/outputs.ts +++ b/src/generated/forge-mcp/securityInsights/auditLogs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `security-center_auditLog` in responses. */ -export const security_center_auditLog_output: JsonSchema = { +export const security$$center_auditLog: JsonSchema = { "properties": { "changed_at": { "format": "date-time", @@ -69,7 +69,7 @@ export const security_center_auditLog_output: JsonSchema = { /** * The schema of `security-center_auditLogResponse` in responses. */ -export const security_center_auditLogResponse_output: JsonSchema = { +export const security$$center_auditLogResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/security-center_api-response-common" diff --git a/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts b/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts index 1a3ffbd43..c4e6e2bc5 100644 --- a/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts +++ b/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts @@ -1,101 +1,114 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, } from "../../outputs.js"; -import { security_center_identifier } from "../../schemas.js"; +import { security$$center_identifier } from "../../schemas.js"; import { - security_center_auditLogResponse_output, - security_center_auditLog_output, + security$$center_auditLog, + security$$center_auditLogResponse, } from "./outputs.js"; /** - * The tools of `security_insights.audit_logs`. + * The tools of `securityInsights.auditLogs`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_audit_logs_get", + name: "securityInsights_auditLogs_get", title: "Retrieves Issue Audit Log", description: "Lists audit log entries for a specific Security Center insight, showing changes to its status and classification over time.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "issue_id": { + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "issue_id" ], - "type": "string" + "type": "object" }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "before": { - "description": "Filter entries changed before this timestamp (RFC 3339).", - "format": "date-time", - "type": "string" - }, - "changed_by": { - "description": "Filter by the actor that made the change.", - "type": "string" - }, - "cursor": { - "description": "Opaque cursor for pagination. Use the cursor value from result_info of the previous response.", - "type": "string" - }, - "field_changed": { - "description": "Filter by the field that was changed.", - "enum": [ - "status", - "user_classification" - ], - "type": "string" - }, - "issue_id": { - "type": "string" - }, - "order": { - "default": "desc", - "description": "Sort order for results. Use 'asc' for oldest first or 'desc' for newest first.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "per_page": { - "default": 25, - "description": "Number of results per page.", - "type": "integer" - }, - "since": { - "description": "Filter entries changed at or after this timestamp (RFC 3339).", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "before": { + "description": "Filter entries changed before this timestamp (RFC 3339).", + "format": "date-time", + "type": "string" + }, + "changed_by": { + "description": "Filter by the actor that made the change.", + "type": "string" + }, + "cursor": { + "description": "Opaque cursor for pagination. Use the cursor value from result_info of the previous response.", + "type": "string" + }, + "field_changed": { + "description": "Filter by the field that was changed.", + "enum": [ + "status", + "user_classification" + ], + "type": "string" + }, + "order": { + "default": "desc", + "description": "Sort order for results. Use 'asc' for oldest first or 'desc' for newest first.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "per_page": { + "default": 25, + "description": "Number of results per page.", + "type": "integer" + }, + "since": { + "description": "Filter entries changed at or after this timestamp (RFC 3339).", + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "issue_id" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { "$ref": "#/$defs/security-center_auditLogResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_auditLog": security_center_auditLog_output, - "security-center_auditLogResponse": security_center_auditLogResponse_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_auditLog": security$$center_auditLog, + "security-center_auditLogResponse": security$$center_auditLogResponse, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -117,101 +130,114 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_auditLog": security_center_auditLog_output, - "security-center_auditLogResponse": security_center_auditLogResponse_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_auditLog": security$$center_auditLog, + "security-center_auditLogResponse": security$$center_auditLogResponse, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/${pathParam(args, "issue_id")}/audit-log`, query: [ - ["per_page", args["per_page"], true], - ["cursor", args["cursor"], true], - ["field_changed", args["field_changed"], true], - ["changed_by", args["changed_by"], true], - ["since", args["since"], true], - ["before", args["before"], true], - ["order", args["order"], true], + ["per_page", param(args, "query", "per_page"), true], + ["cursor", param(args, "query", "cursor"), true], + ["field_changed", param(args, "query", "field_changed"), true], + ["changed_by", param(args, "query", "changed_by"), true], + ["since", param(args, "query", "since"), true], + ["before", param(args, "query", "before"), true], + ["order", param(args, "query", "order"), true], ], }), }, { - name: "security_insights_audit_logs_list", + name: "securityInsights_auditLogs_list", title: "Retrieves account or zone Audit Log", description: "Lists audit log entries for all Security Center insights in the account or zone, showing changes to insight status and classification.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "before": { - "description": "Filter entries changed before this timestamp (RFC 3339).", - "format": "date-time", - "type": "string" - }, - "changed_by": { - "description": "Filter by the actor that made the change.", - "type": "string" - }, - "cursor": { - "description": "Opaque cursor for pagination. Use the cursor value from result_info of the previous response.", - "type": "string" - }, - "field_changed": { - "description": "Filter by the field that was changed.", - "enum": [ - "status", - "user_classification" - ], - "type": "string" - }, - "order": { - "default": "desc", - "description": "Sort order for results. Use 'asc' for oldest first or 'desc' for newest first.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "per_page": { - "default": 25, - "description": "Number of results per page.", - "type": "integer" + "type": "object" }, - "since": { - "description": "Filter entries changed at or after this timestamp (RFC 3339).", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "before": { + "description": "Filter entries changed before this timestamp (RFC 3339).", + "format": "date-time", + "type": "string" + }, + "changed_by": { + "description": "Filter by the actor that made the change.", + "type": "string" + }, + "cursor": { + "description": "Opaque cursor for pagination. Use the cursor value from result_info of the previous response.", + "type": "string" + }, + "field_changed": { + "description": "Filter by the field that was changed.", + "enum": [ + "status", + "user_classification" + ], + "type": "string" + }, + "order": { + "default": "desc", + "description": "Sort order for results. Use 'asc' for oldest first or 'desc' for newest first.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "per_page": { + "default": 25, + "description": "Number of results per page.", + "type": "integer" + }, + "since": { + "description": "Filter entries changed at or after this timestamp (RFC 3339).", + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { "$ref": "#/$defs/security-center_auditLogResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_auditLog": security_center_auditLog_output, - "security-center_auditLogResponse": security_center_auditLogResponse_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_auditLog": security$$center_auditLog, + "security-center_auditLogResponse": security$$center_auditLogResponse, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -233,23 +259,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_auditLog": security_center_auditLog_output, - "security-center_auditLogResponse": security_center_auditLogResponse_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_auditLog": security$$center_auditLog, + "security-center_auditLogResponse": security$$center_auditLogResponse, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/audit-log`, query: [ - ["per_page", args["per_page"], true], - ["cursor", args["cursor"], true], - ["field_changed", args["field_changed"], true], - ["changed_by", args["changed_by"], true], - ["since", args["since"], true], - ["before", args["before"], true], - ["order", args["order"], true], + ["per_page", param(args, "query", "per_page"), true], + ["cursor", param(args, "query", "cursor"), true], + ["field_changed", param(args, "query", "field_changed"), true], + ["changed_by", param(args, "query", "changed_by"), true], + ["since", param(args, "query", "since"), true], + ["before", param(args, "query", "before"), true], + ["order", param(args, "query", "order"), true], ], }), }, diff --git a/src/generated/forge-mcp/securityInsights/context/tools.ts b/src/generated/forge-mcp/securityInsights/context/tools.ts index 55e34586b..4a7e8f238 100644 --- a/src/generated/forge-mcp/securityInsights/context/tools.ts +++ b/src/generated/forge-mcp/securityInsights/context/tools.ts @@ -3,37 +3,45 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, } from "../../outputs.js"; -import { security_center_identifier } from "../../schemas.js"; +import { security$$center_identifier } from "../../schemas.js"; /** - * The tools of `security_insights.context`. + * The tools of `securityInsights.context`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_context_get", + name: "securityInsights_context_get", title: "Retrieves Security Center Insight Context", description: "Returns the full context payload for an insight. This endpoint is used for insights with large payloads that are not included inline in the list response.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." - }, - "issue_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + }, + "issue_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "issue_id" + ], + "type": "object" } }, required: [ - "account_id", - "issue_id" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { @@ -51,8 +59,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -86,9 +94,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/securityInsights/count/outputs.ts b/src/generated/forge-mcp/securityInsights/count/outputs.ts index 445da1e1e..cb2c609fd 100644 --- a/src/generated/forge-mcp/securityInsights/count/outputs.ts +++ b/src/generated/forge-mcp/securityInsights/count/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `security-center_partnerInsightCountResponse` in responses. */ -export const security_center_partnerInsightCountResponse_output: JsonSchema = { +export const security$$center_partnerInsightCountResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/security-center_api-response-common" diff --git a/src/generated/forge-mcp/securityInsights/count/tools.ts b/src/generated/forge-mcp/securityInsights/count/tools.ts index 06eb96cdc..27010037c 100644 --- a/src/generated/forge-mcp/securityInsights/count/tools.ts +++ b/src/generated/forge-mcp/securityInsights/count/tools.ts @@ -1,114 +1,127 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, - security_center_valueCountsResponse_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, + security$$center_valueCountsResponse, } from "../../outputs.js"; import { - security_center_dismissed, - security_center_identifier, - security_center_issueClass, - security_center_issueClasses, - security_center_issueType, - security_center_issueTypes, - security_center_products, - security_center_severityQueryParam, - security_center_source, - security_center_sources, - security_center_subject, - security_center_subjects, + security$$center_dismissed, + security$$center_identifier, + security$$center_issueClass, + security$$center_issueClasses, + security$$center_issueType, + security$$center_issueTypes, + security$$center_products, + security$$center_severityQueryParam, + security$$center_source, + security$$center_sources, + security$$center_subject, + security$$center_subjects, } from "../../schemas.js"; -import { security_center_partnerInsightCountResponse_output } from "./outputs.js"; +import { security$$center_partnerInsightCountResponse } from "./outputs.js"; /** - * The tools of `security_insights.count`. + * The tools of `securityInsights.count`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_count_by_class", + name: "securityInsights_count_byClass", title: "Retrieves Security Center Insight Counts by Class", description: "Retrieves Security Center insight counts aggregated by classification class.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "dismissed": { - "$ref": "#/$defs/security-center_dismissed" - }, - "issue_class": { - "$ref": "#/$defs/security-center_issueClasses" - }, - "issue_class_neq": { - "$ref": "#/$defs/security-center_issueClasses" - }, - "issue_type": { - "$ref": "#/$defs/security-center_issueTypes" - }, - "issue_type_neq": { - "$ref": "#/$defs/security-center_issueTypes" - }, - "product": { - "$ref": "#/$defs/security-center_products" - }, - "product_neq": { - "$ref": "#/$defs/security-center_products" - }, - "severity": { - "$ref": "#/$defs/security-center_severityQueryParam" - }, - "severity_neq": { - "$ref": "#/$defs/security-center_severityQueryParam" - }, - "source": { - "$ref": "#/$defs/security-center_sources" - }, - "subject": { - "$ref": "#/$defs/security-center_subjects" - }, - "subject_neq": { - "$ref": "#/$defs/security-center_subjects" + "type": "object" + }, + "query": { + "properties": { + "dismissed": { + "$ref": "#/$defs/security-center_dismissed" + }, + "issue_class": { + "$ref": "#/$defs/security-center_issueClasses" + }, + "issue_class~neq": { + "$ref": "#/$defs/security-center_issueClasses" + }, + "issue_type": { + "$ref": "#/$defs/security-center_issueTypes" + }, + "issue_type~neq": { + "$ref": "#/$defs/security-center_issueTypes" + }, + "product": { + "$ref": "#/$defs/security-center_products" + }, + "product~neq": { + "$ref": "#/$defs/security-center_products" + }, + "severity": { + "$ref": "#/$defs/security-center_severityQueryParam" + }, + "severity~neq": { + "$ref": "#/$defs/security-center_severityQueryParam" + }, + "source": { + "$ref": "#/$defs/security-center_sources" + }, + "subject": { + "$ref": "#/$defs/security-center_subjects" + }, + "subject~neq": { + "$ref": "#/$defs/security-center_subjects" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "security-center_dismissed": security_center_dismissed, - "security-center_identifier": security_center_identifier, - "security-center_issueClass": security_center_issueClass, - "security-center_issueClasses": security_center_issueClasses, - "security-center_issueType": security_center_issueType, - "security-center_issueTypes": security_center_issueTypes, - "security-center_products": security_center_products, - "security-center_severityQueryParam": security_center_severityQueryParam, - "security-center_source": security_center_source, - "security-center_sources": security_center_sources, - "security-center_subject": security_center_subject, - "security-center_subjects": security_center_subjects, + "security-center_dismissed": security$$center_dismissed, + "security-center_identifier": security$$center_identifier, + "security-center_issueClass": security$$center_issueClass, + "security-center_issueClasses": security$$center_issueClasses, + "security-center_issueType": security$$center_issueType, + "security-center_issueTypes": security$$center_issueTypes, + "security-center_products": security$$center_products, + "security-center_severityQueryParam": security$$center_severityQueryParam, + "security-center_source": security$$center_source, + "security-center_sources": security$$center_sources, + "security-center_subject": security$$center_subject, + "security-center_subjects": security$$center_subjects, }, }, outputSchema: { "$ref": "#/$defs/security-center_valueCountsResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_valueCountsResponse": security_center_valueCountsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_valueCountsResponse": security$$center_valueCountsResponse, }, }, annotations: { @@ -130,71 +143,87 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_valueCountsResponse": security_center_valueCountsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_valueCountsResponse": security$$center_valueCountsResponse, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/class`, query: [ - ["dismissed", args["dismissed"], true], - ["issue_class", args["issue_class"], true], - ["issue_type", args["issue_type"], true], - ["product", args["product"], true], - ["source", args["source"], true], - ["severity", args["severity"], true], - ["subject", args["subject"], true], - ["issue_class~neq", args["issue_class_neq"], true], - ["issue_type~neq", args["issue_type_neq"], true], - ["product~neq", args["product_neq"], true], - ["severity~neq", args["severity_neq"], true], - ["subject~neq", args["subject_neq"], true], + ["dismissed", param(args, "query", "dismissed"), true], + ["issue_class", param(args, "query", "issue_class"), true], + ["issue_type", param(args, "query", "issue_type"), true], + ["product", param(args, "query", "product"), true], + ["source", param(args, "query", "source"), true], + ["severity", param(args, "query", "severity"), true], + ["subject", param(args, "query", "subject"), true], + ["issue_class~neq", param(args, "query", "issue_class~neq"), true], + ["issue_type~neq", param(args, "query", "issue_type~neq"), true], + ["product~neq", param(args, "query", "product~neq"), true], + ["severity~neq", param(args, "query", "severity~neq"), true], + ["subject~neq", param(args, "query", "subject~neq"), true], ], }), }, { - name: "security_insights_count_by_partner", + name: "securityInsights_count_byPartner", title: "Retrieves a Partner Security Center Insight Count", description: "Retrieves the uncapped count of active, non-dismissed, unclassified RiskRecon insights for the account or zone.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "source": { - "enum": [ - "riskrecon" + "type": "object" + }, + "query": { + "properties": { + "source": { + "enum": [ + "riskrecon" + ], + "type": "string" + } + }, + "required": [ + "source" ], - "type": "string" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "source" + "path", + "query" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { "$ref": "#/$defs/security-center_partnerInsightCountResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerInsightCountResponse": security_center_partnerInsightCountResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_partnerInsightCountResponse": security$$center_partnerInsightCountResponse, }, }, annotations: { @@ -216,100 +245,113 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerInsightCountResponse": security_center_partnerInsightCountResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_partnerInsightCountResponse": security$$center_partnerInsightCountResponse, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/partner-count`, query: [ - ["source", args["source"], true], + ["source", param(args, "query", "source"), true], ], }), }, { - name: "security_insights_count_by_severity", + name: "securityInsights_count_bySeverity", title: "Retrieves Security Center Insight Counts by Severity", description: "Retrieves Security Center insight counts aggregated by severity level (critical, high, medium, low).", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "dismissed": { - "$ref": "#/$defs/security-center_dismissed" - }, - "issue_class": { - "$ref": "#/$defs/security-center_issueClasses" - }, - "issue_class_neq": { - "$ref": "#/$defs/security-center_issueClasses" - }, - "issue_type": { - "$ref": "#/$defs/security-center_issueTypes" - }, - "issue_type_neq": { - "$ref": "#/$defs/security-center_issueTypes" - }, - "product": { - "$ref": "#/$defs/security-center_products" - }, - "product_neq": { - "$ref": "#/$defs/security-center_products" - }, - "severity": { - "$ref": "#/$defs/security-center_severityQueryParam" - }, - "severity_neq": { - "$ref": "#/$defs/security-center_severityQueryParam" - }, - "source": { - "$ref": "#/$defs/security-center_sources" - }, - "subject": { - "$ref": "#/$defs/security-center_subjects" - }, - "subject_neq": { - "$ref": "#/$defs/security-center_subjects" + "type": "object" + }, + "query": { + "properties": { + "dismissed": { + "$ref": "#/$defs/security-center_dismissed" + }, + "issue_class": { + "$ref": "#/$defs/security-center_issueClasses" + }, + "issue_class~neq": { + "$ref": "#/$defs/security-center_issueClasses" + }, + "issue_type": { + "$ref": "#/$defs/security-center_issueTypes" + }, + "issue_type~neq": { + "$ref": "#/$defs/security-center_issueTypes" + }, + "product": { + "$ref": "#/$defs/security-center_products" + }, + "product~neq": { + "$ref": "#/$defs/security-center_products" + }, + "severity": { + "$ref": "#/$defs/security-center_severityQueryParam" + }, + "severity~neq": { + "$ref": "#/$defs/security-center_severityQueryParam" + }, + "source": { + "$ref": "#/$defs/security-center_sources" + }, + "subject": { + "$ref": "#/$defs/security-center_subjects" + }, + "subject~neq": { + "$ref": "#/$defs/security-center_subjects" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "security-center_dismissed": security_center_dismissed, - "security-center_identifier": security_center_identifier, - "security-center_issueClass": security_center_issueClass, - "security-center_issueClasses": security_center_issueClasses, - "security-center_issueType": security_center_issueType, - "security-center_issueTypes": security_center_issueTypes, - "security-center_products": security_center_products, - "security-center_severityQueryParam": security_center_severityQueryParam, - "security-center_source": security_center_source, - "security-center_sources": security_center_sources, - "security-center_subject": security_center_subject, - "security-center_subjects": security_center_subjects, + "security-center_dismissed": security$$center_dismissed, + "security-center_identifier": security$$center_identifier, + "security-center_issueClass": security$$center_issueClass, + "security-center_issueClasses": security$$center_issueClasses, + "security-center_issueType": security$$center_issueType, + "security-center_issueTypes": security$$center_issueTypes, + "security-center_products": security$$center_products, + "security-center_severityQueryParam": security$$center_severityQueryParam, + "security-center_source": security$$center_source, + "security-center_sources": security$$center_sources, + "security-center_subject": security$$center_subject, + "security-center_subjects": security$$center_subjects, }, }, outputSchema: { "$ref": "#/$defs/security-center_valueCountsResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_valueCountsResponse": security_center_valueCountsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_valueCountsResponse": security$$center_valueCountsResponse, }, }, annotations: { @@ -331,111 +373,124 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_valueCountsResponse": security_center_valueCountsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_valueCountsResponse": security$$center_valueCountsResponse, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/severity`, query: [ - ["dismissed", args["dismissed"], true], - ["issue_class", args["issue_class"], true], - ["issue_type", args["issue_type"], true], - ["product", args["product"], true], - ["source", args["source"], true], - ["severity", args["severity"], true], - ["subject", args["subject"], true], - ["issue_class~neq", args["issue_class_neq"], true], - ["issue_type~neq", args["issue_type_neq"], true], - ["product~neq", args["product_neq"], true], - ["severity~neq", args["severity_neq"], true], - ["subject~neq", args["subject_neq"], true], + ["dismissed", param(args, "query", "dismissed"), true], + ["issue_class", param(args, "query", "issue_class"), true], + ["issue_type", param(args, "query", "issue_type"), true], + ["product", param(args, "query", "product"), true], + ["source", param(args, "query", "source"), true], + ["severity", param(args, "query", "severity"), true], + ["subject", param(args, "query", "subject"), true], + ["issue_class~neq", param(args, "query", "issue_class~neq"), true], + ["issue_type~neq", param(args, "query", "issue_type~neq"), true], + ["product~neq", param(args, "query", "product~neq"), true], + ["severity~neq", param(args, "query", "severity~neq"), true], + ["subject~neq", param(args, "query", "subject~neq"), true], ], }), }, { - name: "security_insights_count_by_type", + name: "securityInsights_count_byType", title: "Retrieves Security Center Insight Counts by Type", description: "Retrieves Security Center insight counts aggregated by insight type.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "dismissed": { - "$ref": "#/$defs/security-center_dismissed" - }, - "issue_class": { - "$ref": "#/$defs/security-center_issueClasses" - }, - "issue_class_neq": { - "$ref": "#/$defs/security-center_issueClasses" - }, - "issue_type": { - "$ref": "#/$defs/security-center_issueTypes" - }, - "issue_type_neq": { - "$ref": "#/$defs/security-center_issueTypes" - }, - "product": { - "$ref": "#/$defs/security-center_products" - }, - "product_neq": { - "$ref": "#/$defs/security-center_products" - }, - "severity": { - "$ref": "#/$defs/security-center_severityQueryParam" - }, - "severity_neq": { - "$ref": "#/$defs/security-center_severityQueryParam" - }, - "source": { - "$ref": "#/$defs/security-center_sources" - }, - "subject": { - "$ref": "#/$defs/security-center_subjects" - }, - "subject_neq": { - "$ref": "#/$defs/security-center_subjects" + "type": "object" + }, + "query": { + "properties": { + "dismissed": { + "$ref": "#/$defs/security-center_dismissed" + }, + "issue_class": { + "$ref": "#/$defs/security-center_issueClasses" + }, + "issue_class~neq": { + "$ref": "#/$defs/security-center_issueClasses" + }, + "issue_type": { + "$ref": "#/$defs/security-center_issueTypes" + }, + "issue_type~neq": { + "$ref": "#/$defs/security-center_issueTypes" + }, + "product": { + "$ref": "#/$defs/security-center_products" + }, + "product~neq": { + "$ref": "#/$defs/security-center_products" + }, + "severity": { + "$ref": "#/$defs/security-center_severityQueryParam" + }, + "severity~neq": { + "$ref": "#/$defs/security-center_severityQueryParam" + }, + "source": { + "$ref": "#/$defs/security-center_sources" + }, + "subject": { + "$ref": "#/$defs/security-center_subjects" + }, + "subject~neq": { + "$ref": "#/$defs/security-center_subjects" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "security-center_dismissed": security_center_dismissed, - "security-center_identifier": security_center_identifier, - "security-center_issueClass": security_center_issueClass, - "security-center_issueClasses": security_center_issueClasses, - "security-center_issueType": security_center_issueType, - "security-center_issueTypes": security_center_issueTypes, - "security-center_products": security_center_products, - "security-center_severityQueryParam": security_center_severityQueryParam, - "security-center_source": security_center_source, - "security-center_sources": security_center_sources, - "security-center_subject": security_center_subject, - "security-center_subjects": security_center_subjects, + "security-center_dismissed": security$$center_dismissed, + "security-center_identifier": security$$center_identifier, + "security-center_issueClass": security$$center_issueClass, + "security-center_issueClasses": security$$center_issueClasses, + "security-center_issueType": security$$center_issueType, + "security-center_issueTypes": security$$center_issueTypes, + "security-center_products": security$$center_products, + "security-center_severityQueryParam": security$$center_severityQueryParam, + "security-center_source": security$$center_source, + "security-center_sources": security$$center_sources, + "security-center_subject": security$$center_subject, + "security-center_subjects": security$$center_subjects, }, }, outputSchema: { "$ref": "#/$defs/security-center_valueCountsResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_valueCountsResponse": security_center_valueCountsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_valueCountsResponse": security$$center_valueCountsResponse, }, }, annotations: { @@ -457,27 +512,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_valueCountsResponse": security_center_valueCountsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_valueCountsResponse": security$$center_valueCountsResponse, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights/type`, query: [ - ["dismissed", args["dismissed"], true], - ["issue_class", args["issue_class"], true], - ["issue_type", args["issue_type"], true], - ["product", args["product"], true], - ["source", args["source"], true], - ["severity", args["severity"], true], - ["subject", args["subject"], true], - ["issue_class~neq", args["issue_class_neq"], true], - ["issue_type~neq", args["issue_type_neq"], true], - ["product~neq", args["product_neq"], true], - ["severity~neq", args["severity_neq"], true], - ["subject~neq", args["subject_neq"], true], + ["dismissed", param(args, "query", "dismissed"), true], + ["issue_class", param(args, "query", "issue_class"), true], + ["issue_type", param(args, "query", "issue_type"), true], + ["product", param(args, "query", "product"), true], + ["source", param(args, "query", "source"), true], + ["severity", param(args, "query", "severity"), true], + ["subject", param(args, "query", "subject"), true], + ["issue_class~neq", param(args, "query", "issue_class~neq"), true], + ["issue_type~neq", param(args, "query", "issue_type~neq"), true], + ["product~neq", param(args, "query", "product~neq"), true], + ["severity~neq", param(args, "query", "severity~neq"), true], + ["subject~neq", param(args, "query", "subject~neq"), true], ], }), }, diff --git a/src/generated/forge-mcp/securityInsights/partners/outputs.ts b/src/generated/forge-mcp/securityInsights/partners/outputs.ts index 82d9150d9..9f7776826 100644 --- a/src/generated/forge-mcp/securityInsights/partners/outputs.ts +++ b/src/generated/forge-mcp/securityInsights/partners/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `security-center_partnerAssetResultInfo` in responses. */ -export const security_center_partnerAssetResultInfo_output: JsonSchema = { +export const security$$center_partnerAssetResultInfo: JsonSchema = { "properties": { "count": { "type": "integer" @@ -28,7 +28,7 @@ export const security_center_partnerAssetResultInfo_output: JsonSchema = { /** * The schema of `security-center_partnerEntitlement` in responses. */ -export const security_center_partnerEntitlement_output: JsonSchema = { +export const security$$center_partnerEntitlement: JsonSchema = { "enum": [ "baseline", "premium" @@ -39,7 +39,7 @@ export const security_center_partnerEntitlement_output: JsonSchema = { /** * The schema of `security-center_shadowHost` in responses. */ -export const security_center_shadowHost_output: JsonSchema = { +export const security$$center_shadowHost: JsonSchema = { "properties": { "criticality": { "enum": [ @@ -81,7 +81,7 @@ export const security_center_shadowHost_output: JsonSchema = { /** * The schema of `security-center_shadowHostsResponse` in responses. */ -export const security_center_shadowHostsResponse_output: JsonSchema = { +export const security$$center_shadowHostsResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/security-center_api-response-common" diff --git a/src/generated/forge-mcp/securityInsights/partners/settings/outputs.ts b/src/generated/forge-mcp/securityInsights/partners/settings/outputs.ts index 14f188577..f97f63730 100644 --- a/src/generated/forge-mcp/securityInsights/partners/settings/outputs.ts +++ b/src/generated/forge-mcp/securityInsights/partners/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `security-center_partnerSettings` in responses. */ -export const security_center_partnerSettings_output: JsonSchema = { +export const security$$center_partnerSettings: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -21,7 +21,7 @@ export const security_center_partnerSettings_output: JsonSchema = { /** * The schema of `security-center_partnerSettingsGetResponse` in responses. */ -export const security_center_partnerSettingsGetResponse_output: JsonSchema = { +export const security$$center_partnerSettingsGetResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/security-center_api-response-common" @@ -57,7 +57,7 @@ export const security_center_partnerSettingsGetResponse_output: JsonSchema = { /** * The schema of `security-center_partnerSettingsPostResponse` in responses. */ -export const security_center_partnerSettingsPostResponse_output: JsonSchema = { +export const security$$center_partnerSettingsPostResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/security-center_api-response-common" diff --git a/src/generated/forge-mcp/securityInsights/partners/settings/schemas.ts b/src/generated/forge-mcp/securityInsights/partners/settings/schemas.ts index 04adfe35d..5aa92bca9 100644 --- a/src/generated/forge-mcp/securityInsights/partners/settings/schemas.ts +++ b/src/generated/forge-mcp/securityInsights/partners/settings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `security-center_partnerSettings`. */ -export const security_center_partnerSettings: JsonSchema = { +export const security$$center_partnerSettings: JsonSchema = { "properties": { "enabled": { "description": "Whether the partner integration is enabled for the account.", diff --git a/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts b/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts index 9d615797a..5c7bf2f1f 100644 --- a/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts @@ -3,55 +3,63 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, } from "../../../outputs.js"; -import { security_center_identifier } from "../../../schemas.js"; +import { security$$center_identifier } from "../../../schemas.js"; import { - security_center_partnerSettingsGetResponse_output, - security_center_partnerSettingsPostResponse_output, - security_center_partnerSettings_output, + security$$center_partnerSettings, + security$$center_partnerSettingsGetResponse, + security$$center_partnerSettingsPostResponse, } from "./outputs.js"; -import { security_center_partnerSettings } from "./schemas.js"; +import { security$$center_partnerSettings as security$$center_partnerSettings$ } from "./schemas.js"; /** - * The tools of `security_insights.partners.settings`. + * The tools of `securityInsights.partners.settings`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_partners_settings_get", + name: "securityInsights_partners_settings_get", title: "Retrieves Partner Integration Settings", description: "Returns whether the account has enabled the selected partner integration and, if enabled, whether the account has been matched with the partner. An integration that has not been configured is returned as disabled.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." - }, - "partner": { - "description": "The partner integration identifier.", - "enum": [ - "riskrecon" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + }, + "partner": { + "description": "The partner integration identifier.", + "enum": [ + "riskrecon" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "partner" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "partner" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { "$ref": "#/$defs/security-center_partnerSettingsGetResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerSettingsGetResponse": security_center_partnerSettingsGetResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_partnerSettingsGetResponse": security$$center_partnerSettingsGetResponse, }, }, annotations: { @@ -73,10 +81,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerSettingsGetResponse": security_center_partnerSettingsGetResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_partnerSettingsGetResponse": security$$center_partnerSettingsGetResponse, }, }, request: (args) => ({ @@ -84,44 +92,52 @@ export const tools: readonly Tool[] = [ }), }, { - name: "security_insights_partners_settings_update", + name: "securityInsights_partners_settings_update", title: "Updates Partner Integration Settings", description: "Enables or disables the selected partner integration for the account. Enabling the integration for the first time also schedules an account scan for that partner.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/security-center_partnerSettings" }, - "partner": { - "description": "The partner integration identifier.", - "enum": [ - "riskrecon" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + }, + "partner": { + "description": "The partner integration identifier.", + "enum": [ + "riskrecon" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "partner" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "partner", + "path", "body" ], $defs: { - "security-center_identifier": security_center_identifier, - "security-center_partnerSettings": security_center_partnerSettings, + "security-center_identifier": security$$center_identifier, + "security-center_partnerSettings": security$$center_partnerSettings$, }, }, outputSchema: { "$ref": "#/$defs/security-center_partnerSettingsPostResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerSettings": security_center_partnerSettings_output, - "security-center_partnerSettingsPostResponse": security_center_partnerSettingsPostResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_partnerSettings": security$$center_partnerSettings, + "security-center_partnerSettingsPostResponse": security$$center_partnerSettingsPostResponse, }, }, annotations: { @@ -143,11 +159,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerSettings": security_center_partnerSettings_output, - "security-center_partnerSettingsPostResponse": security_center_partnerSettingsPostResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_partnerSettings": security$$center_partnerSettings, + "security-center_partnerSettingsPostResponse": security$$center_partnerSettingsPostResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts b/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts index ccc68c1eb..40ff539a9 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts @@ -1,69 +1,82 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, } from "../../../outputs.js"; -import { security_center_identifier } from "../../../schemas.js"; +import { security$$center_identifier } from "../../../schemas.js"; import { - security_center_partnerAssetResultInfo_output, - security_center_partnerEntitlement_output, - security_center_shadowHost_output, - security_center_shadowHostsResponse_output, + security$$center_partnerAssetResultInfo, + security$$center_partnerEntitlement, + security$$center_shadowHost, + security$$center_shadowHostsResponse, } from "../outputs.js"; /** - * The tools of `security_insights.partners.shadow_hosts`. + * The tools of `securityInsights.partners.shadowHosts`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_partners_shadow_hosts_list", + name: "securityInsights_partners_shadowHosts_list", title: "Lists Partner-Discovered Shadow Hosts for a Zone", description: "Lists partner-discovered hosts beneath the zone that are not in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "cursor": { - "description": "Opaque cursor from the previous response's `result_info.cursor`. Omit for the first page.", - "type": "string" - }, - "partner": { - "description": "The partner integration identifier.", - "enum": [ - "riskrecon" + "path": { + "properties": { + "partner": { + "description": "The partner integration identifier.", + "enum": [ + "riskrecon" + ], + "type": "string" + }, + "zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "partner" ], - "type": "string" - }, - "per_page": { - "default": 25, - "description": "Number of premium partner asset results per page. Values other than 1 must be a multiple of 5.", - "type": "integer" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "query": { + "properties": { + "cursor": { + "description": "Opaque cursor from the previous response's `result_info.cursor`. Omit for the first page.", + "type": "string" + }, + "per_page": { + "default": 25, + "description": "Number of premium partner asset results per page. Values other than 1 must be a multiple of 5.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "zone_id", - "partner" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { "$ref": "#/$defs/security-center_shadowHostsResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerAssetResultInfo": security_center_partnerAssetResultInfo_output, - "security-center_partnerEntitlement": security_center_partnerEntitlement_output, - "security-center_shadowHost": security_center_shadowHost_output, - "security-center_shadowHostsResponse": security_center_shadowHostsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, + "security-center_partnerEntitlement": security$$center_partnerEntitlement, + "security-center_shadowHost": security$$center_shadowHost, + "security-center_shadowHostsResponse": security$$center_shadowHostsResponse, }, }, annotations: { @@ -91,20 +104,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerAssetResultInfo": security_center_partnerAssetResultInfo_output, - "security-center_partnerEntitlement": security_center_partnerEntitlement_output, - "security-center_shadowHost": security_center_shadowHost_output, - "security-center_shadowHostsResponse": security_center_shadowHostsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, + "security-center_partnerEntitlement": security$$center_partnerEntitlement, + "security-center_shadowHost": security$$center_shadowHost, + "security-center_shadowHostsResponse": security$$center_shadowHostsResponse, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/security-center/partners/${pathParam(args, "partner")}/shadow-hosts`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts b/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts index 8cc383133..bab39d764 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts @@ -1,74 +1,87 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, } from "../../../outputs.js"; -import { security_center_identifier } from "../../../schemas.js"; +import { security$$center_identifier } from "../../../schemas.js"; import { - security_center_partnerAssetResultInfo_output, - security_center_partnerEntitlement_output, - security_center_shadowHost_output, - security_center_shadowHostsResponse_output, + security$$center_partnerAssetResultInfo, + security$$center_partnerEntitlement, + security$$center_shadowHost, + security$$center_shadowHostsResponse, } from "../outputs.js"; /** - * The tools of `security_insights.partners.shadow_zone_hosts`. + * The tools of `securityInsights.partners.shadowZoneHosts`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_partners_shadow_zone_hosts_list", + name: "securityInsights_partners_shadowZoneHosts_list", title: "Lists Hosts in a Partner-Discovered Shadow Zone", description: "Lists hosts discovered beneath a shadow-zone domain. This endpoint is available only to premium accounts and supports JSON and CSV output.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." - }, - "cursor": { - "description": "Opaque cursor from the previous response's `result_info.cursor`. Omit for the first page.", - "type": "string" - }, - "domain": { - "description": "The shadow-zone domain.", - "type": "string" - }, - "partner": { - "description": "The partner integration identifier.", - "enum": [ - "riskrecon" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + }, + "domain": { + "description": "The shadow-zone domain.", + "type": "string" + }, + "partner": { + "description": "The partner integration identifier.", + "enum": [ + "riskrecon" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "partner", + "domain" ], - "type": "string" + "type": "object" }, - "per_page": { - "default": 25, - "description": "Number of premium partner asset results per page. Values other than 1 must be a multiple of 5.", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Opaque cursor from the previous response's `result_info.cursor`. Omit for the first page.", + "type": "string" + }, + "per_page": { + "default": 25, + "description": "Number of premium partner asset results per page. Values other than 1 must be a multiple of 5.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "partner", - "domain" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { "$ref": "#/$defs/security-center_shadowHostsResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerAssetResultInfo": security_center_partnerAssetResultInfo_output, - "security-center_partnerEntitlement": security_center_partnerEntitlement_output, - "security-center_shadowHost": security_center_shadowHost_output, - "security-center_shadowHostsResponse": security_center_shadowHostsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, + "security-center_partnerEntitlement": security$$center_partnerEntitlement, + "security-center_shadowHost": security$$center_shadowHost, + "security-center_shadowHostsResponse": security$$center_shadowHostsResponse, }, }, annotations: { @@ -90,20 +103,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerAssetResultInfo": security_center_partnerAssetResultInfo_output, - "security-center_partnerEntitlement": security_center_partnerEntitlement_output, - "security-center_shadowHost": security_center_shadowHost_output, - "security-center_shadowHostsResponse": security_center_shadowHostsResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, + "security-center_partnerEntitlement": security$$center_partnerEntitlement, + "security-center_shadowHost": security$$center_shadowHost, + "security-center_shadowHostsResponse": security$$center_shadowHostsResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/security-center/partners/${pathParam(args, "partner")}/shadow-zones/${pathParam(args, "domain")}/hosts`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts b/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts index 5d4367e60..40abff68e 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `security-center_shadowZone` in responses. */ -export const security_center_shadowZone_output: JsonSchema = { +export const security$$center_shadowZone: JsonSchema = { "properties": { "discovered_at": { "format": "date-time", @@ -30,7 +30,7 @@ export const security_center_shadowZone_output: JsonSchema = { /** * The schema of `security-center_shadowZonesResponse` in responses. */ -export const security_center_shadowZonesResponse_output: JsonSchema = { +export const security$$center_shadowZonesResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/security-center_api-response-common" diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts b/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts index a20d99797..69d3ef9d8 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts @@ -1,71 +1,84 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, } from "../../../outputs.js"; -import { security_center_identifier } from "../../../schemas.js"; +import { security$$center_identifier } from "../../../schemas.js"; import { - security_center_partnerAssetResultInfo_output, - security_center_partnerEntitlement_output, + security$$center_partnerAssetResultInfo, + security$$center_partnerEntitlement, } from "../outputs.js"; import { - security_center_shadowZone_output, - security_center_shadowZonesResponse_output, + security$$center_shadowZone, + security$$center_shadowZonesResponse, } from "./outputs.js"; /** - * The tools of `security_insights.partners.shadow_zones`. + * The tools of `securityInsights.partners.shadowZones`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_partners_shadow_zones_list", + name: "securityInsights_partners_shadowZones_list", title: "Lists Partner-Discovered Shadow Zones", description: "Lists domains discovered by the selected partner that are not in the account. Baseline accounts receive the total count only; premium accounts receive paginated items and may request CSV output.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." - }, - "cursor": { - "description": "Opaque cursor from the previous response's `result_info.cursor`. Omit for the first page.", - "type": "string" - }, - "partner": { - "description": "The partner integration identifier.", - "enum": [ - "riskrecon" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + }, + "partner": { + "description": "The partner integration identifier.", + "enum": [ + "riskrecon" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "partner" ], - "type": "string" + "type": "object" }, - "per_page": { - "default": 25, - "description": "Number of premium partner asset results per page. Values other than 1 must be a multiple of 5.", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Opaque cursor from the previous response's `result_info.cursor`. Omit for the first page.", + "type": "string" + }, + "per_page": { + "default": 25, + "description": "Number of premium partner asset results per page. Values other than 1 must be a multiple of 5.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "partner" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { "$ref": "#/$defs/security-center_shadowZonesResponse", $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerAssetResultInfo": security_center_partnerAssetResultInfo_output, - "security-center_partnerEntitlement": security_center_partnerEntitlement_output, - "security-center_shadowZone": security_center_shadowZone_output, - "security-center_shadowZonesResponse": security_center_shadowZonesResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, + "security-center_partnerEntitlement": security$$center_partnerEntitlement, + "security-center_shadowZone": security$$center_shadowZone, + "security-center_shadowZonesResponse": security$$center_shadowZonesResponse, }, }, annotations: { @@ -87,20 +100,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_partnerAssetResultInfo": security_center_partnerAssetResultInfo_output, - "security-center_partnerEntitlement": security_center_partnerEntitlement_output, - "security-center_shadowZone": security_center_shadowZone_output, - "security-center_shadowZonesResponse": security_center_shadowZonesResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, + "security-center_partnerEntitlement": security$$center_partnerEntitlement, + "security-center_shadowZone": security$$center_shadowZone, + "security-center_shadowZonesResponse": security$$center_shadowZonesResponse, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/security-center/partners/${pathParam(args, "partner")}/shadow-zones`, query: [ - ["cursor", args["cursor"], true], - ["per_page", args["per_page"], true], + ["cursor", param(args, "query", "cursor"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/securityInsights/scans/outputs.ts b/src/generated/forge-mcp/securityInsights/scans/outputs.ts index 65a59fc34..85d460c38 100644 --- a/src/generated/forge-mcp/securityInsights/scans/outputs.ts +++ b/src/generated/forge-mcp/securityInsights/scans/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `security-center_newScanResponse` in responses. */ -export const security_center_newScanResponse_output: JsonSchema = { +export const security$$center_newScanResponse: JsonSchema = { "properties": { "scan_id": { "type": "string" @@ -18,7 +18,7 @@ export const security_center_newScanResponse_output: JsonSchema = { /** * The schema of `security-center_scanQuota` in responses. */ -export const security_center_scanQuota_output: JsonSchema = { +export const security$$center_scanQuota: JsonSchema = { "properties": { "available": { "type": "integer" @@ -37,7 +37,7 @@ export const security_center_scanQuota_output: JsonSchema = { /** * The schema of `security-center_scanStatusResponse` in responses. */ -export const security_center_scanStatusResponse_output: JsonSchema = { +export const security$$center_scanStatusResponse: JsonSchema = { "properties": { "scan_id": { "type": "string" @@ -65,7 +65,7 @@ export const security_center_scanStatusResponse_output: JsonSchema = { /** * The schema of `security-center_scansListResponse` in responses. */ -export const security_center_scansListResponse_output: JsonSchema = { +export const security$$center_scansListResponse: JsonSchema = { "properties": { "quota": { "$ref": "#/$defs/security-center_scanQuota" diff --git a/src/generated/forge-mcp/securityInsights/scans/schemas.ts b/src/generated/forge-mcp/securityInsights/scans/schemas.ts index aee05e31b..24727703e 100644 --- a/src/generated/forge-mcp/securityInsights/scans/schemas.ts +++ b/src/generated/forge-mcp/securityInsights/scans/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `security-center_newScanRequest`. */ -export const security_center_newScanRequest: JsonSchema = { +export const security$$center_newScanRequest: JsonSchema = { "description": "Request body for starting an on-demand scan. Specify issue_type or issue_class to scope the scan, or provide an empty object to scan all issue types.", "oneOf": [ { diff --git a/src/generated/forge-mcp/securityInsights/scans/tools.ts b/src/generated/forge-mcp/securityInsights/scans/tools.ts index 620887c57..2322c9f55 100644 --- a/src/generated/forge-mcp/securityInsights/scans/tools.ts +++ b/src/generated/forge-mcp/securityInsights/scans/tools.ts @@ -3,53 +3,61 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, } from "../../outputs.js"; import { - security_center_identifier, - security_center_issueClass, - security_center_issueType, + security$$center_identifier, + security$$center_issueClass, + security$$center_issueType, } from "../../schemas.js"; import { - security_center_newScanResponse_output, - security_center_scanQuota_output, - security_center_scanStatusResponse_output, - security_center_scansListResponse_output, + security$$center_newScanResponse, + security$$center_scanQuota, + security$$center_scanStatusResponse, + security$$center_scansListResponse, } from "./outputs.js"; -import { security_center_newScanRequest } from "./schemas.js"; +import { security$$center_newScanRequest } from "./schemas.js"; /** - * The tools of `security_insights.scans`. + * The tools of `securityInsights.scans`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_scans_list", + name: "securityInsights_scans_list", title: "Get Recent account or zone Scans", description: "Returns the most recent on-demand scans for the account or zone, up to a maximum of 5. Each scan includes its ID, start time, and current status. This includes both account or zone-wide and zone-scoped scans. Also returns quota information showing how many scans have been used and how many remain in the current 24-hour window.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { @@ -67,11 +75,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_scanQuota": security_center_scanQuota_output, - "security-center_scanStatusResponse": security_center_scanStatusResponse_output, - "security-center_scansListResponse": security_center_scansListResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_scanQuota": security$$center_scanQuota, + "security-center_scanStatusResponse": security$$center_scanStatusResponse, + "security-center_scansListResponse": security$$center_scansListResponse, }, }, annotations: { @@ -105,12 +113,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_scanQuota": security_center_scanQuota_output, - "security-center_scanStatusResponse": security_center_scanStatusResponse_output, - "security-center_scansListResponse": security_center_scansListResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_scanQuota": security$$center_scanQuota, + "security-center_scanStatusResponse": security$$center_scanStatusResponse, + "security-center_scansListResponse": security$$center_scansListResponse, }, }, request: (args) => ({ @@ -118,38 +126,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "security_insights_scans_start", + name: "securityInsights_scans_start", title: "Start On-Demand account or zone Scan", description: "Initiates an on-demand security scan for the entire account or zone, scanning all zones associated with the account or zone. Rate limited to 5 scans per account or zone per 24-hour window.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/security-center_newScanRequest" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "security-center_identifier": security_center_identifier, - "security-center_issueClass": security_center_issueClass, - "security-center_issueType": security_center_issueType, - "security-center_newScanRequest": security_center_newScanRequest, + "security-center_identifier": security$$center_identifier, + "security-center_issueClass": security$$center_issueClass, + "security-center_issueType": security$$center_issueType, + "security-center_newScanRequest": security$$center_newScanRequest, }, }, outputSchema: { @@ -167,9 +183,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_newScanResponse": security_center_newScanResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_newScanResponse": security$$center_newScanResponse, }, }, annotations: { @@ -203,10 +219,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_newScanResponse": security_center_newScanResponse_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_newScanResponse": security$$center_newScanResponse, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/securityInsights/schemas.ts b/src/generated/forge-mcp/securityInsights/schemas.ts index 9ed91d0c7..3ee5ccf00 100644 --- a/src/generated/forge-mcp/securityInsights/schemas.ts +++ b/src/generated/forge-mcp/securityInsights/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `security-center_userClassificationUpdate`. */ -export const security_center_userClassificationUpdate: JsonSchema = { +export const security$$center_userClassificationUpdate: JsonSchema = { "properties": { "classification": { "$ref": "#/$defs/security-center_userClassification", diff --git a/src/generated/forge-mcp/securityInsights/state/outputs.ts b/src/generated/forge-mcp/securityInsights/state/outputs.ts index fd52c5bb9..63ae0809f 100644 --- a/src/generated/forge-mcp/securityInsights/state/outputs.ts +++ b/src/generated/forge-mcp/securityInsights/state/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `security-center_accountStateResponse` in responses. */ -export const security_center_accountStateResponse_output: JsonSchema = { +export const security$$center_accountStateResponse: JsonSchema = { "properties": { "recent_dormant_reactivation": { "type": "boolean" diff --git a/src/generated/forge-mcp/securityInsights/state/schemas.ts b/src/generated/forge-mcp/securityInsights/state/schemas.ts index d3ffa3c35..3eedcadd5 100644 --- a/src/generated/forge-mcp/securityInsights/state/schemas.ts +++ b/src/generated/forge-mcp/securityInsights/state/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `security-center_updateAccountStateRequest`. */ -export const security_center_updateAccountStateRequest: JsonSchema = { +export const security$$center_updateAccountStateRequest: JsonSchema = { "properties": { "scans_enabled": { "description": "Enable or disable scans for the account.", diff --git a/src/generated/forge-mcp/securityInsights/state/tools.ts b/src/generated/forge-mcp/securityInsights/state/tools.ts index abc12f246..5ca5f5cd1 100644 --- a/src/generated/forge-mcp/securityInsights/state/tools.ts +++ b/src/generated/forge-mcp/securityInsights/state/tools.ts @@ -3,35 +3,43 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_messages, } from "../../outputs.js"; -import { security_center_identifier } from "../../schemas.js"; -import { security_center_accountStateResponse_output } from "./outputs.js"; -import { security_center_updateAccountStateRequest } from "./schemas.js"; +import { security$$center_identifier } from "../../schemas.js"; +import { security$$center_accountStateResponse } from "./outputs.js"; +import { security$$center_updateAccountStateRequest } from "./schemas.js"; /** - * The tools of `security_insights.state`. + * The tools of `securityInsights.state`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_state_get", + name: "securityInsights_state_get", title: "Retrieves Account State", description: "Returns account-level Security Center state: whether scans are enabled for the account and whether the account was recently reactivated from a dormant state.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { @@ -49,9 +57,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "security-center_accountStateResponse": security_center_accountStateResponse_output, - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, + "security-center_accountStateResponse": security$$center_accountStateResponse, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -85,10 +93,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_accountStateResponse": security_center_accountStateResponse_output, - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, + "security-center_accountStateResponse": security$$center_accountStateResponse, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ @@ -96,27 +104,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "security_insights_state_update", + name: "securityInsights_state_update", title: "Updates Account State", description: "Updates account-level Security Center state. Currently supports enabling or disabling scans for the account. Returns the account's state after the update.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/security-center_updateAccountStateRequest" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "security-center_identifier": security_center_identifier, - "security-center_updateAccountStateRequest": security_center_updateAccountStateRequest, + "security-center_identifier": security$$center_identifier, + "security-center_updateAccountStateRequest": security$$center_updateAccountStateRequest, }, }, outputSchema: { @@ -134,9 +150,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "security-center_accountStateResponse": security_center_accountStateResponse_output, - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, + "security-center_accountStateResponse": security$$center_accountStateResponse, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -170,10 +186,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_accountStateResponse": security_center_accountStateResponse_output, - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, + "security-center_accountStateResponse": security$$center_accountStateResponse, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/securityInsights/tools.ts b/src/generated/forge-mcp/securityInsights/tools.ts index 8839c85bd..ddff722a8 100644 --- a/src/generated/forge-mcp/securityInsights/tools.ts +++ b/src/generated/forge-mcp/securityInsights/tools.ts @@ -1,88 +1,96 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_api_response_single_output, - security_center_count_output, - security_center_issueClass_output, - security_center_issueType_output, - security_center_issue_output, - security_center_messages_output, - security_center_page_output, - security_center_perPage_output, - security_center_source_output, - security_center_subject_output, - security_center_userClassification_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_api$$response$$single, + security$$center_count, + security$$center_issue, + security$$center_issueClass, + security$$center_issueType, + security$$center_messages, + security$$center_page, + security$$center_perPage, + security$$center_source, + security$$center_subject, + security$$center_userClassification, } from "../outputs.js"; import { - security_center_dismissed, - security_center_identifier, - security_center_issueClass, - security_center_issueClasses, - security_center_issueType, - security_center_issueTypes, - security_center_page, - security_center_perPage, - security_center_products, - security_center_severityQueryParam, - security_center_source, - security_center_sources, - security_center_subject, - security_center_subjects, - security_center_userClassification, + security$$center_dismissed, + security$$center_identifier, + security$$center_issueClass as security$$center_issueClass$, + security$$center_issueClasses, + security$$center_issueType as security$$center_issueType$, + security$$center_issueTypes, + security$$center_page as security$$center_page$, + security$$center_perPage as security$$center_perPage$, + security$$center_products, + security$$center_severityQueryParam, + security$$center_source as security$$center_source$, + security$$center_sources, + security$$center_subject as security$$center_subject$, + security$$center_subjects, + security$$center_userClassification as security$$center_userClassification$, } from "../schemas.js"; -import { security_center_userClassificationUpdate } from "./schemas.js"; +import { security$$center_userClassificationUpdate } from "./schemas.js"; /** - * The tools of `security_insights`. + * The tools of `securityInsights`. */ export const tools: readonly Tool[] = [ { - name: "security_insights_classify", + name: "securityInsights_classify", title: "Updates Security Center Insight Classification", description: "Updates the user classification for a Security Center insight. Valid values are 'false_positive' or 'accept_risk'. To reset, set classification to null. Cannot change directly between classification values - must reset to null first.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/security-center_userClassificationUpdate" }, - "issue_id": { - "type": "string" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "issue_id": { + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "issue_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "issue_id", + "path", "body" ], $defs: { - "security-center_identifier": security_center_identifier, - "security-center_userClassification": security_center_userClassification, - "security-center_userClassificationUpdate": security_center_userClassificationUpdate, + "security-center_identifier": security$$center_identifier, + "security-center_userClassification": security$$center_userClassification$, + "security-center_userClassificationUpdate": security$$center_userClassificationUpdate, }, }, outputSchema: { "$ref": "#/$defs/security-center_api-response-single", $defs: { - "security-center_api-response-single": security_center_api_response_single_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-single": security$$center_api$$response$$single, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -104,9 +112,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_api-response-single": security_center_api_response_single_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_api-response-single": security$$center_api$$response$$single, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ @@ -115,24 +123,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "security_insights_dismiss", + name: "securityInsights_dismiss", title: "Archives Security Center Insight", description: "Archives a Security Center insight for an account or zone, removing it from the active insights list while preserving historical data.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "dismiss": { @@ -142,25 +138,45 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "issue_id": { - "type": "string" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "issue_id": { + "type": "string" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "issue_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "issue_id", + "path", "body" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { "$ref": "#/$defs/security-center_api-response-single", $defs: { - "security-center_api-response-single": security_center_api_response_single_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-single": security$$center_api$$response$$single, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -189,9 +205,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_api-response-single": security_center_api_response_single_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_api-response-single": security$$center_api$$response$$single, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ @@ -200,88 +216,101 @@ export const tools: readonly Tool[] = [ }), }, { - name: "security_insights_list", + name: "securityInsights_list", title: "Retrieves Security Center Insights", description: "Lists all Security Center insights for the account or zone, showing security findings and recommendations.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "dismissed": { - "$ref": "#/$defs/security-center_dismissed" - }, - "issue_class": { - "$ref": "#/$defs/security-center_issueClasses" - }, - "issue_class_neq": { - "$ref": "#/$defs/security-center_issueClasses" - }, - "issue_type": { - "$ref": "#/$defs/security-center_issueTypes" - }, - "issue_type_neq": { - "$ref": "#/$defs/security-center_issueTypes" - }, - "page": { - "$ref": "#/$defs/security-center_page", - "default": 1 - }, - "per_page": { - "$ref": "#/$defs/security-center_perPage", - "default": 25 - }, - "product": { - "$ref": "#/$defs/security-center_products" - }, - "product_neq": { - "$ref": "#/$defs/security-center_products" - }, - "severity": { - "$ref": "#/$defs/security-center_severityQueryParam" - }, - "severity_neq": { - "$ref": "#/$defs/security-center_severityQueryParam" - }, - "source": { - "$ref": "#/$defs/security-center_sources" - }, - "subject": { - "$ref": "#/$defs/security-center_subjects" + "type": "object" }, - "subject_neq": { - "$ref": "#/$defs/security-center_subjects" + "query": { + "properties": { + "dismissed": { + "$ref": "#/$defs/security-center_dismissed" + }, + "issue_class": { + "$ref": "#/$defs/security-center_issueClasses" + }, + "issue_class~neq": { + "$ref": "#/$defs/security-center_issueClasses" + }, + "issue_type": { + "$ref": "#/$defs/security-center_issueTypes" + }, + "issue_type~neq": { + "$ref": "#/$defs/security-center_issueTypes" + }, + "page": { + "$ref": "#/$defs/security-center_page", + "default": 1 + }, + "per_page": { + "$ref": "#/$defs/security-center_perPage", + "default": 25 + }, + "product": { + "$ref": "#/$defs/security-center_products" + }, + "product~neq": { + "$ref": "#/$defs/security-center_products" + }, + "severity": { + "$ref": "#/$defs/security-center_severityQueryParam" + }, + "severity~neq": { + "$ref": "#/$defs/security-center_severityQueryParam" + }, + "source": { + "$ref": "#/$defs/security-center_sources" + }, + "subject": { + "$ref": "#/$defs/security-center_subjects" + }, + "subject~neq": { + "$ref": "#/$defs/security-center_subjects" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "security-center_dismissed": security_center_dismissed, - "security-center_identifier": security_center_identifier, - "security-center_issueClass": security_center_issueClass, - "security-center_issueClasses": security_center_issueClasses, - "security-center_issueType": security_center_issueType, - "security-center_issueTypes": security_center_issueTypes, - "security-center_page": security_center_page, - "security-center_perPage": security_center_perPage, - "security-center_products": security_center_products, - "security-center_severityQueryParam": security_center_severityQueryParam, - "security-center_source": security_center_source, - "security-center_sources": security_center_sources, - "security-center_subject": security_center_subject, - "security-center_subjects": security_center_subjects, + "security-center_dismissed": security$$center_dismissed, + "security-center_identifier": security$$center_identifier, + "security-center_issueClass": security$$center_issueClass$, + "security-center_issueClasses": security$$center_issueClasses, + "security-center_issueType": security$$center_issueType$, + "security-center_issueTypes": security$$center_issueTypes, + "security-center_page": security$$center_page$, + "security-center_perPage": security$$center_perPage$, + "security-center_products": security$$center_products, + "security-center_severityQueryParam": security$$center_severityQueryParam, + "security-center_source": security$$center_source$, + "security-center_sources": security$$center_sources, + "security-center_subject": security$$center_subject$, + "security-center_subjects": security$$center_subjects, }, }, outputSchema: { @@ -316,17 +345,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_count": security_center_count_output, - "security-center_issue": security_center_issue_output, - "security-center_issueClass": security_center_issueClass_output, - "security-center_issueType": security_center_issueType_output, - "security-center_messages": security_center_messages_output, - "security-center_page": security_center_page_output, - "security-center_perPage": security_center_perPage_output, - "security-center_source": security_center_source_output, - "security-center_subject": security_center_subject_output, - "security-center_userClassification": security_center_userClassification_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_count": security$$center_count, + "security-center_issue": security$$center_issue, + "security-center_issueClass": security$$center_issueClass, + "security-center_issueType": security$$center_issueType, + "security-center_messages": security$$center_messages, + "security-center_page": security$$center_page, + "security-center_perPage": security$$center_perPage, + "security-center_source": security$$center_source, + "security-center_subject": security$$center_subject, + "security-center_userClassification": security$$center_userClassification, }, }, annotations: { @@ -377,37 +406,37 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_count": security_center_count_output, - "security-center_issue": security_center_issue_output, - "security-center_issueClass": security_center_issueClass_output, - "security-center_issueType": security_center_issueType_output, - "security-center_messages": security_center_messages_output, - "security-center_page": security_center_page_output, - "security-center_perPage": security_center_perPage_output, - "security-center_source": security_center_source_output, - "security-center_subject": security_center_subject_output, - "security-center_userClassification": security_center_userClassification_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_count": security$$center_count, + "security-center_issue": security$$center_issue, + "security-center_issueClass": security$$center_issueClass, + "security-center_issueType": security$$center_issueType, + "security-center_messages": security$$center_messages, + "security-center_page": security$$center_page, + "security-center_perPage": security$$center_perPage, + "security-center_source": security$$center_source, + "security-center_subject": security$$center_subject, + "security-center_userClassification": security$$center_userClassification, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/security-center/insights`, query: [ - ["dismissed", args["dismissed"], true], - ["issue_class", args["issue_class"], true], - ["issue_type", args["issue_type"], true], - ["product", args["product"], true], - ["source", args["source"], true], - ["severity", args["severity"], true], - ["subject", args["subject"], true], - ["issue_class~neq", args["issue_class_neq"], true], - ["issue_type~neq", args["issue_type_neq"], true], - ["product~neq", args["product_neq"], true], - ["severity~neq", args["severity_neq"], true], - ["subject~neq", args["subject_neq"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["dismissed", param(args, "query", "dismissed"), true], + ["issue_class", param(args, "query", "issue_class"), true], + ["issue_type", param(args, "query", "issue_type"), true], + ["product", param(args, "query", "product"), true], + ["source", param(args, "query", "source"), true], + ["severity", param(args, "query", "severity"), true], + ["subject", param(args, "query", "subject"), true], + ["issue_class~neq", param(args, "query", "issue_class~neq"), true], + ["issue_type~neq", param(args, "query", "issue_type~neq"), true], + ["product~neq", param(args, "query", "product~neq"), true], + ["severity~neq", param(args, "query", "severity~neq"), true], + ["subject~neq", param(args, "query", "subject~neq"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/securityTxt/outputs.ts b/src/generated/forge-mcp/securityTxt/outputs.ts index 1918771a2..01f8069ac 100644 --- a/src/generated/forge-mcp/securityTxt/outputs.ts +++ b/src/generated/forge-mcp/securityTxt/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `security-center_securityTxt` in responses. */ -export const security_center_securityTxt_output: JsonSchema = { +export const security$$center_securityTxt: JsonSchema = { "properties": { "acknowledgments": { "items": { diff --git a/src/generated/forge-mcp/securityTxt/schemas.ts b/src/generated/forge-mcp/securityTxt/schemas.ts index 330c3e17c..1ad699c75 100644 --- a/src/generated/forge-mcp/securityTxt/schemas.ts +++ b/src/generated/forge-mcp/securityTxt/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `security-center_securityTxt`. */ -export const security_center_securityTxt: JsonSchema = { +export const security$$center_securityTxt: JsonSchema = { "properties": { "acknowledgments": { "items": { diff --git a/src/generated/forge-mcp/securityTxt/tools.ts b/src/generated/forge-mcp/securityTxt/tools.ts index 211c1fd4c..fe3cd53d3 100644 --- a/src/generated/forge-mcp/securityTxt/tools.ts +++ b/src/generated/forge-mcp/securityTxt/tools.ts @@ -3,43 +3,51 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - security_center_api_response_common_failure_output, - security_center_api_response_common_output, - security_center_api_response_single_output, - security_center_messages_output, + security$$center_api$$response$$common, + security$$center_api$$response$$common$$failure, + security$$center_api$$response$$single, + security$$center_messages, } from "../outputs.js"; -import { security_center_identifier } from "../schemas.js"; -import { security_center_securityTxt_output } from "./outputs.js"; -import { security_center_securityTxt } from "./schemas.js"; +import { security$$center_identifier } from "../schemas.js"; +import { security$$center_securityTxt } from "./outputs.js"; +import { security$$center_securityTxt as security$$center_securityTxt$ } from "./schemas.js"; /** - * The tools of `security_txt`. + * The tools of `securityTxt`. */ export const tools: readonly Tool[] = [ { - name: "security_txt_delete", + name: "securityTxt_delete", title: "Deletes security.txt", description: "Removes the security.txt file configuration for a zone. The /.well-known/security.txt endpoint will no longer be served.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { "$ref": "#/$defs/security-center_api-response-single", $defs: { - "security-center_api-response-single": security_center_api_response_single_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-single": security$$center_api$$response$$single, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -66,9 +74,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_api-response-single": security_center_api_response_single_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_api-response-single": security$$center_api$$response$$single, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ @@ -76,22 +84,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "security_txt_get", + name: "securityTxt_get", title: "Retrieves security.txt", description: "Retrieves the current security.txt file configuration for a zone, used for security vulnerability reporting.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "security-center_identifier": security_center_identifier, + "security-center_identifier": security$$center_identifier, }, }, outputSchema: { @@ -109,9 +125,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_messages": security_center_messages_output, - "security-center_securityTxt": security_center_securityTxt_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_messages": security$$center_messages, + "security-center_securityTxt": security$$center_securityTxt, }, }, annotations: { @@ -151,10 +167,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common": security_center_api_response_common_output, - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_messages": security_center_messages_output, - "security-center_securityTxt": security_center_securityTxt_output, + "security-center_api-response-common": security$$center_api$$response$$common, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_messages": security$$center_messages, + "security-center_securityTxt": security$$center_securityTxt, }, }, request: (args) => ({ @@ -162,7 +178,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "security_txt_update", + name: "securityTxt_update", title: "Updates security.txt", description: "Updates the security.txt file configuration for a zone, which provides security researchers with vulnerability reporting information.", inputSchema: { @@ -171,25 +187,33 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/security-center_securityTxt" }, - "zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/security-center_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "security-center_identifier": security_center_identifier, - "security-center_securityTxt": security_center_securityTxt, + "security-center_identifier": security$$center_identifier, + "security-center_securityTxt": security$$center_securityTxt$, }, }, outputSchema: { "$ref": "#/$defs/security-center_api-response-single", $defs: { - "security-center_api-response-single": security_center_api_response_single_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-single": security$$center_api$$response$$single, + "security-center_messages": security$$center_messages, }, }, annotations: { @@ -216,9 +240,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "security-center_api-response-common-failure": security_center_api_response_common_failure_output, - "security-center_api-response-single": security_center_api_response_single_output, - "security-center_messages": security_center_messages_output, + "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, + "security-center_api-response-single": security$$center_api$$response$$single, + "security-center_messages": security$$center_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/signedUrl/tools.ts b/src/generated/forge-mcp/signedUrl/tools.ts index 96057ac55..675ab0437 100644 --- a/src/generated/forge-mcp/signedUrl/tools.ts +++ b/src/generated/forge-mcp/signedUrl/tools.ts @@ -2,14 +2,14 @@ /* eslint-disable */ import type { Tool } from "../_/tool.js"; -import { brand_protection_api_Error_output } from "../outputs.js"; +import { brand$$protection$$api_Error } from "../outputs.js"; /** - * The tools of `signed_url`. + * The tools of `signedUrl`. */ export const tools: readonly Tool[] = [ { - name: "signed_url_get", + name: "signedUrl_get", title: "Internal route for testing signed URLs", description: "Internal route for testing signed URLs.", inputSchema: { @@ -45,7 +45,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "brand-protection-api_Error": brand_protection_api_Error_output, + "brand-protection-api_Error": brand$$protection$$api_Error, }, }, request: (_args) => ({ diff --git a/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts b/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts index e7b2af8e6..aa9d440cd 100644 --- a/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts +++ b/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `smartshield_base` in responses. */ -export const smartshield_base_output: JsonSchema = { +export const smartshield_base: JsonSchema = { "properties": { "id": { "type": "string" @@ -32,7 +32,7 @@ export const smartshield_base_output: JsonSchema = { /** * The schema of `smartshield_cache_reserve_clear` in responses. */ -export const smartshield_cache_reserve_clear_output: JsonSchema = { +export const smartshield_cache_reserve_clear: JsonSchema = { "allOf": [ { "$ref": "#/$defs/smartshield_base" @@ -54,7 +54,7 @@ export const smartshield_cache_reserve_clear_output: JsonSchema = { /** * The schema of `smartshield_cache_reserve_clear_end_ts` in responses. */ -export const smartshield_cache_reserve_clear_end_ts_output: JsonSchema = { +export const smartshield_cache_reserve_clear_end_ts: JsonSchema = { "format": "date-time", "type": "string" }; @@ -62,7 +62,7 @@ export const smartshield_cache_reserve_clear_end_ts_output: JsonSchema = { /** * The schema of `smartshield_cache_reserve_clear_response_value` in responses. */ -export const smartshield_cache_reserve_clear_response_value_output: JsonSchema = { +export const smartshield_cache_reserve_clear_response_value: JsonSchema = { "properties": { "result": { "allOf": [ @@ -96,7 +96,7 @@ export const smartshield_cache_reserve_clear_response_value_output: JsonSchema = /** * The schema of `smartshield_cache_reserve_clear_start_ts` in responses. */ -export const smartshield_cache_reserve_clear_start_ts_output: JsonSchema = { +export const smartshield_cache_reserve_clear_start_ts: JsonSchema = { "format": "date-time", "type": "string" }; @@ -104,7 +104,7 @@ export const smartshield_cache_reserve_clear_start_ts_output: JsonSchema = { /** * The schema of `smartshield_cache_reserve_clear_state` in responses. */ -export const smartshield_cache_reserve_clear_state_output: JsonSchema = { +export const smartshield_cache_reserve_clear_state: JsonSchema = { "enum": [ "In-progress", "Completed" diff --git a/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts b/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts index 2b9c80b37..b66e9ee2a 100644 --- a/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts +++ b/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts @@ -3,39 +3,47 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - smartshield_api_response_common_failure_output, - smartshield_api_response_common_output, - smartshield_api_response_result_output, - smartshield_messages_output, + smartshield_api$$response$$common, + smartshield_api$$response$$common$$failure, + smartshield_api$$response$$result, + smartshield_messages, } from "../outputs.js"; import { smartshield_identifier } from "../schemas.js"; import { - smartshield_base_output, - smartshield_cache_reserve_clear_end_ts_output, - smartshield_cache_reserve_clear_output, - smartshield_cache_reserve_clear_response_value_output, - smartshield_cache_reserve_clear_start_ts_output, - smartshield_cache_reserve_clear_state_output, + smartshield_base, + smartshield_cache_reserve_clear, + smartshield_cache_reserve_clear_end_ts, + smartshield_cache_reserve_clear_response_value, + smartshield_cache_reserve_clear_start_ts, + smartshield_cache_reserve_clear_state, } from "./outputs.js"; /** - * The tools of `smart_shield.cache_reserve_clear`. + * The tools of `smartShield.cacheReserveClear`. */ export const tools: readonly Tool[] = [ { - name: "smart_shield_cache_reserve_clear_clear", + name: "smartShield_cacheReserveClear_clear", title: "Start Cache Reserve Clear", description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.\n\nConfirm with the user before calling this tool. This operation permanently clears Cache Reserve for this zone and cannot be undone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "smartshield_identifier": smartshield_identifier, @@ -51,15 +59,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_base": smartshield_base_output, - "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear_output, - "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts_output, - "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value_output, - "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts_output, - "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state_output, - "smartshield_messages": smartshield_messages_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_base": smartshield_base, + "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear, + "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts, + "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value, + "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts, + "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state, + "smartshield_messages": smartshield_messages, }, }, annotations: { @@ -105,16 +113,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_base": smartshield_base_output, - "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear_output, - "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts_output, - "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value_output, - "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts_output, - "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state_output, - "smartshield_messages": smartshield_messages_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_base": smartshield_base, + "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear, + "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts, + "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value, + "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts, + "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state, + "smartshield_messages": smartshield_messages, }, }, request: (args) => ({ @@ -122,19 +130,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "smart_shield_cache_reserve_clear_status", + name: "smartShield_cacheReserveClear_status", title: "Get Cache Reserve Clear", description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "smartshield_identifier": smartshield_identifier, @@ -150,15 +166,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_base": smartshield_base_output, - "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear_output, - "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts_output, - "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value_output, - "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts_output, - "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state_output, - "smartshield_messages": smartshield_messages_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_base": smartshield_base, + "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear, + "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts, + "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value, + "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts, + "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state, + "smartshield_messages": smartshield_messages, }, }, annotations: { @@ -206,16 +222,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_base": smartshield_base_output, - "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear_output, - "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts_output, - "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value_output, - "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts_output, - "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state_output, - "smartshield_messages": smartshield_messages_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_base": smartshield_base, + "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear, + "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts, + "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value, + "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts, + "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state, + "smartshield_messages": smartshield_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts b/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts index a15ca4fb9..43098f7b4 100644 --- a/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts +++ b/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `smartshield_address` in responses. */ -export const smartshield_address_output: JsonSchema = { +export const smartshield_address: JsonSchema = { "type": "string" }; /** * The schema of `smartshield_api-response-collection` in responses. */ -export const smartshield_api_response_collection_output: JsonSchema = { +export const smartshield_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/smartshield_api-response-common" @@ -45,7 +45,7 @@ export const smartshield_api_response_collection_output: JsonSchema = { /** * The schema of `smartshield_check_regions` in responses. */ -export const smartshield_check_regions_output: JsonSchema = { +export const smartshield_check_regions: JsonSchema = { "oneOf": [ { "items": { @@ -78,35 +78,35 @@ export const smartshield_check_regions_output: JsonSchema = { /** * The schema of `smartshield_consecutive_fails` in responses. */ -export const smartshield_consecutive_fails_output: JsonSchema = { +export const smartshield_consecutive_fails: JsonSchema = { "type": "integer" }; /** * The schema of `smartshield_consecutive_successes` in responses. */ -export const smartshield_consecutive_successes_output: JsonSchema = { +export const smartshield_consecutive_successes: JsonSchema = { "type": "integer" }; /** * The schema of `smartshield_description` in responses. */ -export const smartshield_description_output: JsonSchema = { +export const smartshield_description: JsonSchema = { "type": "string" }; /** * The schema of `smartshield_failure_reason` in responses. */ -export const smartshield_failure_reason_output: JsonSchema = { +export const smartshield_failure_reason: JsonSchema = { "type": "string" }; /** * The schema of `smartshield_healthchecks` in responses. */ -export const smartshield_healthchecks_output: JsonSchema = { +export const smartshield_healthchecks: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/smartshield_address" @@ -169,7 +169,7 @@ export const smartshield_healthchecks_output: JsonSchema = { /** * The schema of `smartshield_http_config` in responses. */ -export const smartshield_http_config_output: JsonSchema = { +export const smartshield_http_config: JsonSchema = { "oneOf": [ { "properties": { @@ -236,21 +236,21 @@ export const smartshield_http_config_output: JsonSchema = { /** * The schema of `smartshield_interval` in responses. */ -export const smartshield_interval_output: JsonSchema = { +export const smartshield_interval: JsonSchema = { "type": "integer" }; /** * The schema of `smartshield_name` in responses. */ -export const smartshield_name_output: JsonSchema = { +export const smartshield_name: JsonSchema = { "type": "string" }; /** * The schema of `smartshield_response_collection` in responses. */ -export const smartshield_response_collection_output: JsonSchema = { +export const smartshield_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/smartshield_api-response-collection" @@ -272,7 +272,7 @@ export const smartshield_response_collection_output: JsonSchema = { /** * The schema of `smartshield_result_info` in responses. */ -export const smartshield_result_info_output: JsonSchema = { +export const smartshield_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -293,14 +293,14 @@ export const smartshield_result_info_output: JsonSchema = { /** * The schema of `smartshield_retries` in responses. */ -export const smartshield_retries_output: JsonSchema = { +export const smartshield_retries: JsonSchema = { "type": "integer" }; /** * The schema of `smartshield_single_hc_id_response` in responses. */ -export const smartshield_single_hc_id_response_output: JsonSchema = { +export const smartshield_single_hc_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/smartshield_api-response-common" @@ -324,7 +324,7 @@ export const smartshield_single_hc_id_response_output: JsonSchema = { /** * The schema of `smartshield_single_hc_response` in responses. */ -export const smartshield_single_hc_response_output: JsonSchema = { +export const smartshield_single_hc_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/smartshield_api-response-common" @@ -343,7 +343,7 @@ export const smartshield_single_hc_response_output: JsonSchema = { /** * The schema of `smartshield_status` in responses. */ -export const smartshield_status_output: JsonSchema = { +export const smartshield_status: JsonSchema = { "enum": [ "unknown", "healthy", @@ -356,14 +356,14 @@ export const smartshield_status_output: JsonSchema = { /** * The schema of `smartshield_suspended` in responses. */ -export const smartshield_suspended_output: JsonSchema = { +export const smartshield_suspended: JsonSchema = { "type": "boolean" }; /** * The schema of `smartshield_tcp_config` in responses. */ -export const smartshield_tcp_config_output: JsonSchema = { +export const smartshield_tcp_config: JsonSchema = { "oneOf": [ { "properties": { @@ -388,14 +388,14 @@ export const smartshield_tcp_config_output: JsonSchema = { /** * The schema of `smartshield_timeout` in responses. */ -export const smartshield_timeout_output: JsonSchema = { +export const smartshield_timeout: JsonSchema = { "type": "integer" }; /** * The schema of `smartshield_timestamp` in responses. */ -export const smartshield_timestamp_output: JsonSchema = { +export const smartshield_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -403,6 +403,6 @@ export const smartshield_timestamp_output: JsonSchema = { /** * The schema of `smartshield_type` in responses. */ -export const smartshield_type_output: JsonSchema = { +export const smartshield_type: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/smartShield/healthChecks/tools.ts b/src/generated/forge-mcp/smartShield/healthChecks/tools.ts index c95a4f09f..ab18ecd64 100644 --- a/src/generated/forge-mcp/smartShield/healthChecks/tools.ts +++ b/src/generated/forge-mcp/smartShield/healthChecks/tools.ts @@ -1,69 +1,69 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - smartshield_api_response_common_failure_output, - smartshield_api_response_common_output, - smartshield_api_response_result_output, - smartshield_identifier_output, - smartshield_messages_output, -} from "../outputs.js"; -import { - smartshield_api_response_common, - smartshield_api_response_result, + smartshield_api$$response$$common, + smartshield_api$$response$$common$$failure, + smartshield_api$$response$$result, smartshield_identifier, smartshield_messages, -} from "../schemas.js"; +} from "../outputs.js"; import { - smartshield_address_output, - smartshield_api_response_collection_output, - smartshield_check_regions_output, - smartshield_consecutive_fails_output, - smartshield_consecutive_successes_output, - smartshield_description_output, - smartshield_failure_reason_output, - smartshield_healthchecks_output, - smartshield_http_config_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_response_output, - smartshield_status_output, - smartshield_suspended_output, - smartshield_tcp_config_output, - smartshield_timeout_output, - smartshield_timestamp_output, - smartshield_type_output, -} from "./outputs.js"; + smartshield_api$$response$$common as smartshield_api$$response$$common$, + smartshield_api$$response$$result as smartshield_api$$response$$result$, + smartshield_identifier as smartshield_identifier$, + smartshield_messages as smartshield_messages$, +} from "../schemas.js"; import { smartshield_address, + smartshield_api$$response$$collection, smartshield_check_regions, smartshield_consecutive_fails, smartshield_consecutive_successes, smartshield_description, + smartshield_failure_reason, smartshield_healthchecks, smartshield_http_config, smartshield_interval, smartshield_name, - smartshield_query_healthcheck, + smartshield_response_collection, + smartshield_result_info, smartshield_retries, + smartshield_single_hc_id_response, smartshield_single_hc_response, + smartshield_status, smartshield_suspended, smartshield_tcp_config, smartshield_timeout, + smartshield_timestamp, smartshield_type, +} from "./outputs.js"; +import { + smartshield_address as smartshield_address$, + smartshield_check_regions as smartshield_check_regions$, + smartshield_consecutive_fails as smartshield_consecutive_fails$, + smartshield_consecutive_successes as smartshield_consecutive_successes$, + smartshield_description as smartshield_description$, + smartshield_healthchecks as smartshield_healthchecks$, + smartshield_http_config as smartshield_http_config$, + smartshield_interval as smartshield_interval$, + smartshield_name as smartshield_name$, + smartshield_query_healthcheck, + smartshield_retries as smartshield_retries$, + smartshield_single_hc_response as smartshield_single_hc_response$, + smartshield_suspended as smartshield_suspended$, + smartshield_tcp_config as smartshield_tcp_config$, + smartshield_timeout as smartshield_timeout$, + smartshield_type as smartshield_type$, } from "./schemas.js"; /** - * The tools of `smart_shield.health_checks`. + * The tools of `smartShield.healthChecks`. */ export const tools: readonly Tool[] = [ { - name: "smart_shield_health_checks_create", + name: "smartShield_healthChecks_create", title: "Create Health Check", description: "Create a new health check.", inputSchema: { @@ -72,60 +72,68 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/smartshield_query_healthcheck" }, - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], + $defs: { + "smartshield_address": smartshield_address$, + "smartshield_check_regions": smartshield_check_regions$, + "smartshield_consecutive_fails": smartshield_consecutive_fails$, + "smartshield_consecutive_successes": smartshield_consecutive_successes$, + "smartshield_description": smartshield_description$, + "smartshield_http_config": smartshield_http_config$, + "smartshield_identifier": smartshield_identifier$, + "smartshield_interval": smartshield_interval$, + "smartshield_name": smartshield_name$, + "smartshield_query_healthcheck": smartshield_query_healthcheck, + "smartshield_retries": smartshield_retries$, + "smartshield_suspended": smartshield_suspended$, + "smartshield_tcp_config": smartshield_tcp_config$, + "smartshield_timeout": smartshield_timeout$, + "smartshield_type": smartshield_type$, + }, + }, + outputSchema: { + "$ref": "#/$defs/smartshield_single_hc_response", $defs: { "smartshield_address": smartshield_address, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, "smartshield_consecutive_fails": smartshield_consecutive_fails, "smartshield_consecutive_successes": smartshield_consecutive_successes, "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, + "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, "smartshield_identifier": smartshield_identifier, "smartshield_interval": smartshield_interval, + "smartshield_messages": smartshield_messages, "smartshield_name": smartshield_name, - "smartshield_query_healthcheck": smartshield_query_healthcheck, "smartshield_retries": smartshield_retries, + "smartshield_single_hc_response": smartshield_single_hc_response, + "smartshield_status": smartshield_status, "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, "smartshield_type": smartshield_type, }, }, - outputSchema: { - "$ref": "#/$defs/smartshield_single_hc_response", - $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_interval": smartshield_interval_output, - "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, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -156,29 +164,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_interval": smartshield_interval_output, - "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, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, + "smartshield_address": smartshield_address, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_check_regions": smartshield_check_regions, + "smartshield_consecutive_fails": smartshield_consecutive_fails, + "smartshield_consecutive_successes": smartshield_consecutive_successes, + "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, + "smartshield_healthchecks": smartshield_healthchecks, + "smartshield_http_config": smartshield_http_config, + "smartshield_identifier": smartshield_identifier, + "smartshield_interval": smartshield_interval, + "smartshield_messages": smartshield_messages, + "smartshield_name": smartshield_name, + "smartshield_retries": smartshield_retries, + "smartshield_single_hc_response": smartshield_single_hc_response, + "smartshield_status": smartshield_status, + "smartshield_suspended": smartshield_suspended, + "smartshield_tcp_config": smartshield_tcp_config, + "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, + "smartshield_type": smartshield_type, }, }, request: (args) => ({ @@ -187,37 +195,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "smart_shield_health_checks_delete", + name: "smartShield_healthChecks_delete", title: "Delete Health Check", description: "Delete a health check.", inputSchema: { type: "object", properties: { - "healthcheck_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id" + "path" ], $defs: { - "smartshield_identifier": smartshield_identifier, + "smartshield_identifier": smartshield_identifier$, }, }, outputSchema: { "$ref": "#/$defs/smartshield_single_hc_id_response", $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_messages": smartshield_messages_output, - "smartshield_single_hc_id_response": smartshield_single_hc_id_response_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_identifier": smartshield_identifier, + "smartshield_messages": smartshield_messages, + "smartshield_single_hc_id_response": smartshield_single_hc_id_response, }, }, annotations: { @@ -250,12 +266,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_messages": smartshield_messages_output, - "smartshield_single_hc_id_response": smartshield_single_hc_id_response_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_identifier": smartshield_identifier, + "smartshield_messages": smartshield_messages, + "smartshield_single_hc_id_response": smartshield_single_hc_id_response, }, }, request: (args) => ({ @@ -263,7 +279,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "smart_shield_health_checks_edit", + name: "smartShield_healthChecks_edit", title: "Patch Health Check", description: "Patch a configured health check.", inputSchema: { @@ -272,65 +288,73 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/smartshield_query_healthcheck" }, - "healthcheck_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id", + "path", "body" ], + $defs: { + "smartshield_address": smartshield_address$, + "smartshield_check_regions": smartshield_check_regions$, + "smartshield_consecutive_fails": smartshield_consecutive_fails$, + "smartshield_consecutive_successes": smartshield_consecutive_successes$, + "smartshield_description": smartshield_description$, + "smartshield_http_config": smartshield_http_config$, + "smartshield_identifier": smartshield_identifier$, + "smartshield_interval": smartshield_interval$, + "smartshield_name": smartshield_name$, + "smartshield_query_healthcheck": smartshield_query_healthcheck, + "smartshield_retries": smartshield_retries$, + "smartshield_suspended": smartshield_suspended$, + "smartshield_tcp_config": smartshield_tcp_config$, + "smartshield_timeout": smartshield_timeout$, + "smartshield_type": smartshield_type$, + }, + }, + outputSchema: { + "$ref": "#/$defs/smartshield_single_hc_response", $defs: { "smartshield_address": smartshield_address, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, "smartshield_consecutive_fails": smartshield_consecutive_fails, "smartshield_consecutive_successes": smartshield_consecutive_successes, "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, + "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, "smartshield_identifier": smartshield_identifier, "smartshield_interval": smartshield_interval, + "smartshield_messages": smartshield_messages, "smartshield_name": smartshield_name, - "smartshield_query_healthcheck": smartshield_query_healthcheck, "smartshield_retries": smartshield_retries, + "smartshield_single_hc_response": smartshield_single_hc_response, + "smartshield_status": smartshield_status, "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, "smartshield_type": smartshield_type, }, }, - outputSchema: { - "$ref": "#/$defs/smartshield_single_hc_response", - $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_interval": smartshield_interval_output, - "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, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -361,29 +385,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_interval": smartshield_interval_output, - "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, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, + "smartshield_address": smartshield_address, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_check_regions": smartshield_check_regions, + "smartshield_consecutive_fails": smartshield_consecutive_fails, + "smartshield_consecutive_successes": smartshield_consecutive_successes, + "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, + "smartshield_healthchecks": smartshield_healthchecks, + "smartshield_http_config": smartshield_http_config, + "smartshield_identifier": smartshield_identifier, + "smartshield_interval": smartshield_interval, + "smartshield_messages": smartshield_messages, + "smartshield_name": smartshield_name, + "smartshield_retries": smartshield_retries, + "smartshield_single_hc_response": smartshield_single_hc_response, + "smartshield_status": smartshield_status, + "smartshield_suspended": smartshield_suspended, + "smartshield_tcp_config": smartshield_tcp_config, + "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, + "smartshield_type": smartshield_type, }, }, request: (args) => ({ @@ -392,54 +416,62 @@ export const tools: readonly Tool[] = [ }), }, { - name: "smart_shield_health_checks_get", + name: "smartShield_healthChecks_get", title: "Health Check Details", description: "Fetch a single configured health check.", inputSchema: { type: "object", properties: { - "healthcheck_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id" + "path" ], $defs: { - "smartshield_identifier": smartshield_identifier, + "smartshield_identifier": smartshield_identifier$, }, }, outputSchema: { "$ref": "#/$defs/smartshield_single_hc_response", $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_interval": smartshield_interval_output, - "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, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, + "smartshield_address": smartshield_address, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_check_regions": smartshield_check_regions, + "smartshield_consecutive_fails": smartshield_consecutive_fails, + "smartshield_consecutive_successes": smartshield_consecutive_successes, + "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, + "smartshield_healthchecks": smartshield_healthchecks, + "smartshield_http_config": smartshield_http_config, + "smartshield_identifier": smartshield_identifier, + "smartshield_interval": smartshield_interval, + "smartshield_messages": smartshield_messages, + "smartshield_name": smartshield_name, + "smartshield_retries": smartshield_retries, + "smartshield_single_hc_response": smartshield_single_hc_response, + "smartshield_status": smartshield_status, + "smartshield_suspended": smartshield_suspended, + "smartshield_tcp_config": smartshield_tcp_config, + "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, + "smartshield_type": smartshield_type, }, }, annotations: { @@ -473,29 +505,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_interval": smartshield_interval_output, - "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, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, + "smartshield_address": smartshield_address, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_check_regions": smartshield_check_regions, + "smartshield_consecutive_fails": smartshield_consecutive_fails, + "smartshield_consecutive_successes": smartshield_consecutive_successes, + "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, + "smartshield_healthchecks": smartshield_healthchecks, + "smartshield_http_config": smartshield_http_config, + "smartshield_identifier": smartshield_identifier, + "smartshield_interval": smartshield_interval, + "smartshield_messages": smartshield_messages, + "smartshield_name": smartshield_name, + "smartshield_retries": smartshield_retries, + "smartshield_single_hc_response": smartshield_single_hc_response, + "smartshield_status": smartshield_status, + "smartshield_suspended": smartshield_suspended, + "smartshield_tcp_config": smartshield_tcp_config, + "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, + "smartshield_type": smartshield_type, }, }, request: (args) => ({ @@ -503,61 +535,74 @@ export const tools: readonly Tool[] = [ }), }, { - name: "smart_shield_health_checks_list", + name: "smartShield_healthChecks_list", title: "List Health Checks", description: "List configured health checks.", inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 25, - "description": "Maximum number of results per page. Must be a multiple of 5.", - "type": "number" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 25, + "description": "Maximum number of results per page. Must be a multiple of 5.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "smartshield_identifier": smartshield_identifier, + "smartshield_identifier": smartshield_identifier$, }, }, outputSchema: { "$ref": "#/$defs/smartshield_response_collection", $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-collection": smartshield_api_response_collection_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "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, - "smartshield_suspended": smartshield_suspended_output, - "smartshield_tcp_config": smartshield_tcp_config_output, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, + "smartshield_address": smartshield_address, + "smartshield_api-response-collection": smartshield_api$$response$$collection, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_check_regions": smartshield_check_regions, + "smartshield_consecutive_fails": smartshield_consecutive_fails, + "smartshield_consecutive_successes": smartshield_consecutive_successes, + "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, + "smartshield_healthchecks": smartshield_healthchecks, + "smartshield_http_config": smartshield_http_config, + "smartshield_identifier": smartshield_identifier, + "smartshield_interval": smartshield_interval, + "smartshield_messages": smartshield_messages, + "smartshield_name": smartshield_name, + "smartshield_response_collection": smartshield_response_collection, + "smartshield_result_info": smartshield_result_info, + "smartshield_retries": smartshield_retries, + "smartshield_status": smartshield_status, + "smartshield_suspended": smartshield_suspended, + "smartshield_tcp_config": smartshield_tcp_config, + "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, + "smartshield_type": smartshield_type, }, }, annotations: { @@ -591,43 +636,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-collection": smartshield_api_response_collection_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "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, - "smartshield_suspended": smartshield_suspended_output, - "smartshield_tcp_config": smartshield_tcp_config_output, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, + "smartshield_address": smartshield_address, + "smartshield_api-response-collection": smartshield_api$$response$$collection, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_check_regions": smartshield_check_regions, + "smartshield_consecutive_fails": smartshield_consecutive_fails, + "smartshield_consecutive_successes": smartshield_consecutive_successes, + "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, + "smartshield_healthchecks": smartshield_healthchecks, + "smartshield_http_config": smartshield_http_config, + "smartshield_identifier": smartshield_identifier, + "smartshield_interval": smartshield_interval, + "smartshield_messages": smartshield_messages, + "smartshield_name": smartshield_name, + "smartshield_response_collection": smartshield_response_collection, + "smartshield_result_info": smartshield_result_info, + "smartshield_retries": smartshield_retries, + "smartshield_status": smartshield_status, + "smartshield_suspended": smartshield_suspended, + "smartshield_tcp_config": smartshield_tcp_config, + "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, + "smartshield_type": smartshield_type, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/smart_shield/healthchecks`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "smart_shield_health_checks_update", + name: "smartShield_healthChecks_update", title: "Update Health Check", description: "Update a configured health check.", inputSchema: { @@ -636,28 +681,61 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/smartshield_single_hc_response" }, - "healthcheck_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "path": { + "properties": { + "healthcheck_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "healthcheck_id" + ], + "type": "object" } }, required: [ - "zone_id", - "healthcheck_id", + "path", "body" ], + $defs: { + "smartshield_address": smartshield_address$, + "smartshield_api-response-common": smartshield_api$$response$$common$, + "smartshield_api-response-result": smartshield_api$$response$$result$, + "smartshield_check_regions": smartshield_check_regions$, + "smartshield_consecutive_fails": smartshield_consecutive_fails$, + "smartshield_consecutive_successes": smartshield_consecutive_successes$, + "smartshield_description": smartshield_description$, + "smartshield_healthchecks": smartshield_healthchecks$, + "smartshield_http_config": smartshield_http_config$, + "smartshield_identifier": smartshield_identifier$, + "smartshield_interval": smartshield_interval$, + "smartshield_messages": smartshield_messages$, + "smartshield_name": smartshield_name$, + "smartshield_retries": smartshield_retries$, + "smartshield_single_hc_response": smartshield_single_hc_response$, + "smartshield_suspended": smartshield_suspended$, + "smartshield_tcp_config": smartshield_tcp_config$, + "smartshield_timeout": smartshield_timeout$, + "smartshield_type": smartshield_type$, + }, + }, + outputSchema: { + "$ref": "#/$defs/smartshield_single_hc_response", $defs: { "smartshield_address": smartshield_address, - "smartshield_api-response-common": smartshield_api_response_common, - "smartshield_api-response-result": smartshield_api_response_result, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, "smartshield_consecutive_fails": smartshield_consecutive_fails, "smartshield_consecutive_successes": smartshield_consecutive_successes, "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, "smartshield_identifier": smartshield_identifier, @@ -666,39 +744,14 @@ export const tools: readonly Tool[] = [ "smartshield_name": smartshield_name, "smartshield_retries": smartshield_retries, "smartshield_single_hc_response": smartshield_single_hc_response, + "smartshield_status": smartshield_status, "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, "smartshield_type": smartshield_type, }, }, - outputSchema: { - "$ref": "#/$defs/smartshield_single_hc_response", - $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_interval": smartshield_interval_output, - "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, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -729,29 +782,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address_output, - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_check_regions": smartshield_check_regions_output, - "smartshield_consecutive_fails": smartshield_consecutive_fails_output, - "smartshield_consecutive_successes": smartshield_consecutive_successes_output, - "smartshield_description": smartshield_description_output, - "smartshield_failure_reason": smartshield_failure_reason_output, - "smartshield_healthchecks": smartshield_healthchecks_output, - "smartshield_http_config": smartshield_http_config_output, - "smartshield_identifier": smartshield_identifier_output, - "smartshield_interval": smartshield_interval_output, - "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, - "smartshield_timeout": smartshield_timeout_output, - "smartshield_timestamp": smartshield_timestamp_output, - "smartshield_type": smartshield_type_output, + "smartshield_address": smartshield_address, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_check_regions": smartshield_check_regions, + "smartshield_consecutive_fails": smartshield_consecutive_fails, + "smartshield_consecutive_successes": smartshield_consecutive_successes, + "smartshield_description": smartshield_description, + "smartshield_failure_reason": smartshield_failure_reason, + "smartshield_healthchecks": smartshield_healthchecks, + "smartshield_http_config": smartshield_http_config, + "smartshield_identifier": smartshield_identifier, + "smartshield_interval": smartshield_interval, + "smartshield_messages": smartshield_messages, + "smartshield_name": smartshield_name, + "smartshield_retries": smartshield_retries, + "smartshield_single_hc_response": smartshield_single_hc_response, + "smartshield_status": smartshield_status, + "smartshield_suspended": smartshield_suspended, + "smartshield_tcp_config": smartshield_tcp_config, + "smartshield_timeout": smartshield_timeout, + "smartshield_timestamp": smartshield_timestamp, + "smartshield_type": smartshield_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/smartShield/outputs.ts b/src/generated/forge-mcp/smartShield/outputs.ts index b0fce1281..5b916216f 100644 --- a/src/generated/forge-mcp/smartShield/outputs.ts +++ b/src/generated/forge-mcp/smartShield/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `smartshield_api-response-common` in responses. */ -export const smartshield_api_response_common_output: JsonSchema = { +export const smartshield_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/smartshield_messages" @@ -36,7 +36,7 @@ export const smartshield_api_response_common_output: JsonSchema = { /** * The schema of `smartshield_api-response-common-failure` in responses. */ -export const smartshield_api_response_common_failure_output: JsonSchema = { +export const smartshield_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/smartshield_messages" @@ -64,7 +64,7 @@ export const smartshield_api_response_common_failure_output: JsonSchema = { /** * The schema of `smartshield_api-response-result` in responses. */ -export const smartshield_api_response_result_output: JsonSchema = { +export const smartshield_api$$response$$result: JsonSchema = { "anyOf": [ { "type": "object" @@ -84,14 +84,14 @@ export const smartshield_api_response_result_output: JsonSchema = { /** * The schema of `smartshield_identifier` in responses. */ -export const smartshield_identifier_output: JsonSchema = { +export const smartshield_identifier: JsonSchema = { "type": "string" }; /** * The schema of `smartshield_messages` in responses. */ -export const smartshield_messages_output: JsonSchema = { +export const smartshield_messages: JsonSchema = { "items": { "properties": { "code": { @@ -113,7 +113,7 @@ export const smartshield_messages_output: JsonSchema = { /** * The schema of `smartshield_single_smart_shield_get_response` in responses. */ -export const smartshield_single_smart_shield_get_response_output: JsonSchema = { +export const smartshield_single_smart_shield_get_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/smartshield_api-response-common" @@ -132,7 +132,7 @@ export const smartshield_single_smart_shield_get_response_output: JsonSchema = { /** * The schema of `smartshield_single_smart_shield_patch_response` in responses. */ -export const smartshield_single_smart_shield_patch_response_output: JsonSchema = { +export const smartshield_single_smart_shield_patch_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/smartshield_api-response-common" @@ -151,7 +151,7 @@ export const smartshield_single_smart_shield_patch_response_output: JsonSchema = /** * The schema of `smartshield_smart_shield_settings` in responses. */ -export const smartshield_smart_shield_settings_output: JsonSchema = { +export const smartshield_smart_shield_settings: JsonSchema = { "properties": { "cache_reserve": { "properties": { @@ -235,7 +235,7 @@ export const smartshield_smart_shield_settings_output: JsonSchema = { /** * The schema of `smartshield_smart_shield_settings_get_response` in responses. */ -export const smartshield_smart_shield_settings_get_response_output: JsonSchema = { +export const smartshield_smart_shield_settings_get_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/smartshield_smart_shield_settings" @@ -255,7 +255,7 @@ export const smartshield_smart_shield_settings_get_response_output: JsonSchema = * The schema of `smartshield_smart_shield_settings_patch_response` in * responses. */ -export const smartshield_smart_shield_settings_patch_response_output: JsonSchema = { +export const smartshield_smart_shield_settings_patch_response: JsonSchema = { "properties": { "cache_reserve": { "properties": { diff --git a/src/generated/forge-mcp/smartShield/schemas.ts b/src/generated/forge-mcp/smartShield/schemas.ts index 396b77a2e..5182ffc87 100644 --- a/src/generated/forge-mcp/smartShield/schemas.ts +++ b/src/generated/forge-mcp/smartShield/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `smartshield_api-response-common`. */ -export const smartshield_api_response_common: JsonSchema = { +export const smartshield_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/smartshield_messages" @@ -37,7 +37,7 @@ export const smartshield_api_response_common: JsonSchema = { /** * The schema of `smartshield_api-response-result`. */ -export const smartshield_api_response_result: JsonSchema = { +export const smartshield_api$$response$$result: JsonSchema = { "anyOf": [ { "type": "object" diff --git a/src/generated/forge-mcp/smartShield/tools.ts b/src/generated/forge-mcp/smartShield/tools.ts index cc4b3942c..0e841f17d 100644 --- a/src/generated/forge-mcp/smartShield/tools.ts +++ b/src/generated/forge-mcp/smartShield/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - smartshield_api_response_common_failure_output, - smartshield_api_response_common_output, - smartshield_api_response_result_output, - smartshield_messages_output, - smartshield_single_smart_shield_get_response_output, - smartshield_single_smart_shield_patch_response_output, - smartshield_smart_shield_settings_get_response_output, - smartshield_smart_shield_settings_output, - smartshield_smart_shield_settings_patch_response_output, + smartshield_api$$response$$common, + smartshield_api$$response$$common$$failure, + smartshield_api$$response$$result, + smartshield_messages, + smartshield_single_smart_shield_get_response, + smartshield_single_smart_shield_patch_response, + smartshield_smart_shield_settings, + smartshield_smart_shield_settings_get_response, + smartshield_smart_shield_settings_patch_response, } from "./outputs.js"; import { smartshield_identifier, @@ -19,23 +19,31 @@ import { } from "./schemas.js"; /** - * The tools of `smart_shield`. + * The tools of `smartShield`. */ export const tools: readonly Tool[] = [ { - name: "smart_shield_get", + name: "smartShield_get", title: "Get Smart Shield Settings", description: "Retrieve Smart Shield Settings.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "smartshield_identifier": smartshield_identifier, @@ -51,12 +59,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_messages": smartshield_messages_output, - "smartshield_single_smart_shield_get_response": smartshield_single_smart_shield_get_response_output, - "smartshield_smart_shield_settings": smartshield_smart_shield_settings_output, - "smartshield_smart_shield_settings_get_response": smartshield_smart_shield_settings_get_response_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_messages": smartshield_messages, + "smartshield_single_smart_shield_get_response": smartshield_single_smart_shield_get_response, + "smartshield_smart_shield_settings": smartshield_smart_shield_settings, + "smartshield_smart_shield_settings_get_response": smartshield_smart_shield_settings_get_response, }, }, annotations: { @@ -110,13 +118,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_messages": smartshield_messages_output, - "smartshield_single_smart_shield_get_response": smartshield_single_smart_shield_get_response_output, - "smartshield_smart_shield_settings": smartshield_smart_shield_settings_output, - "smartshield_smart_shield_settings_get_response": smartshield_smart_shield_settings_get_response_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_messages": smartshield_messages, + "smartshield_single_smart_shield_get_response": smartshield_single_smart_shield_get_response, + "smartshield_smart_shield_settings": smartshield_smart_shield_settings, + "smartshield_smart_shield_settings_get_response": smartshield_smart_shield_settings_get_response, }, }, request: (args) => ({ @@ -124,7 +132,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "smart_shield_update", + name: "smartShield_update", title: "Patch Smart Shield Settings", description: "Set Smart Shield Settings.", inputSchema: { @@ -133,13 +141,21 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/smartshield_smart_shield_settings_patch_body" }, - "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/smartshield_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { @@ -157,11 +173,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_messages": smartshield_messages_output, - "smartshield_single_smart_shield_patch_response": smartshield_single_smart_shield_patch_response_output, - "smartshield_smart_shield_settings_patch_response": smartshield_smart_shield_settings_patch_response_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_messages": smartshield_messages, + "smartshield_single_smart_shield_patch_response": smartshield_single_smart_shield_patch_response, + "smartshield_smart_shield_settings_patch_response": smartshield_smart_shield_settings_patch_response, }, }, annotations: { @@ -214,12 +230,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_api-response-common": smartshield_api_response_common_output, - "smartshield_api-response-common-failure": smartshield_api_response_common_failure_output, - "smartshield_api-response-result": smartshield_api_response_result_output, - "smartshield_messages": smartshield_messages_output, - "smartshield_single_smart_shield_patch_response": smartshield_single_smart_shield_patch_response_output, - "smartshield_smart_shield_settings_patch_response": smartshield_smart_shield_settings_patch_response_output, + "smartshield_api-response-common": smartshield_api$$response$$common, + "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, + "smartshield_api-response-result": smartshield_api$$response$$result, + "smartshield_messages": smartshield_messages, + "smartshield_single_smart_shield_patch_response": smartshield_single_smart_shield_patch_response, + "smartshield_smart_shield_settings_patch_response": smartshield_smart_shield_settings_patch_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/snippets/content/tools.ts b/src/generated/forge-mcp/snippets/content/tools.ts index f35c8671c..3baace432 100644 --- a/src/generated/forge-mcp/snippets/content/tools.ts +++ b/src/generated/forge-mcp/snippets/content/tools.ts @@ -3,10 +3,10 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - snippets_Errors_output, - snippets_Message_output, - snippets_Messages_output, - snippets_Response_output, + snippets_Errors, + snippets_Message, + snippets_Messages, + snippets_Response, } from "../outputs.js"; import { snippets_SnippetName, snippets_ZoneId } from "../schemas.js"; @@ -21,18 +21,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "snippet_name": { - "$ref": "#/$defs/snippets_SnippetName", - "description": "Identify the snippet." - }, - "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "path": { + "properties": { + "snippet_name": { + "$ref": "#/$defs/snippets_SnippetName", + "description": "Identify the snippet." + }, + "zone_id": { + "$ref": "#/$defs/snippets_ZoneId", + "description": "Use this field to specify the unique ID of the zone." + } + }, + "required": [ + "zone_id", + "snippet_name" + ], + "type": "object" } }, required: [ - "zone_id", - "snippet_name" + "path" ], $defs: { "snippets_SnippetName": snippets_SnippetName, @@ -107,10 +115,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/snippets/outputs.ts b/src/generated/forge-mcp/snippets/outputs.ts index 09ec32b5d..59156fe1b 100644 --- a/src/generated/forge-mcp/snippets/outputs.ts +++ b/src/generated/forge-mcp/snippets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `snippets_Errors` in responses. */ -export const snippets_Errors_output: JsonSchema = { +export const snippets_Errors: JsonSchema = { "items": { "$ref": "#/$defs/snippets_Message" }, @@ -16,7 +16,7 @@ export const snippets_Errors_output: JsonSchema = { /** * The schema of `snippets_Message` in responses. */ -export const snippets_Message_output: JsonSchema = { +export const snippets_Message: JsonSchema = { "properties": { "code": { "type": "integer" @@ -34,7 +34,7 @@ export const snippets_Message_output: JsonSchema = { /** * The schema of `snippets_Messages` in responses. */ -export const snippets_Messages_output: JsonSchema = { +export const snippets_Messages: JsonSchema = { "items": { "$ref": "#/$defs/snippets_Message" }, @@ -44,21 +44,21 @@ export const snippets_Messages_output: JsonSchema = { /** * The schema of `snippets_Page` in responses. */ -export const snippets_Page_output: JsonSchema = { +export const snippets_Page: JsonSchema = { "type": "integer" }; /** * The schema of `snippets_PerPage` in responses. */ -export const snippets_PerPage_output: JsonSchema = { +export const snippets_PerPage: JsonSchema = { "type": "integer" }; /** * The schema of `snippets_Response` in responses. */ -export const snippets_Response_output: JsonSchema = { +export const snippets_Response: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/snippets_Errors" @@ -81,7 +81,7 @@ export const snippets_Response_output: JsonSchema = { /** * The schema of `snippets_ResultInfo` in responses. */ -export const snippets_ResultInfo_output: JsonSchema = { +export const snippets_ResultInfo: JsonSchema = { "properties": { "count": { "type": "integer" @@ -112,7 +112,7 @@ export const snippets_ResultInfo_output: JsonSchema = { /** * The schema of `snippets_Snippet` in responses. */ -export const snippets_Snippet_output: JsonSchema = { +export const snippets_Snippet: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -136,6 +136,6 @@ export const snippets_Snippet_output: JsonSchema = { /** * The schema of `snippets_SnippetName` in responses. */ -export const snippets_SnippetName_output: JsonSchema = { +export const snippets_SnippetName: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/snippets/rules/outputs.ts b/src/generated/forge-mcp/snippets/rules/outputs.ts index 810a14c52..02dc84285 100644 --- a/src/generated/forge-mcp/snippets/rules/outputs.ts +++ b/src/generated/forge-mcp/snippets/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `snippets_SnippetRules` in responses. */ -export const snippets_SnippetRules_output: JsonSchema = { +export const snippets_SnippetRules: JsonSchema = { "items": { "properties": { "description": { diff --git a/src/generated/forge-mcp/snippets/rules/tools.ts b/src/generated/forge-mcp/snippets/rules/tools.ts index caf1ea382..3a27c49e7 100644 --- a/src/generated/forge-mcp/snippets/rules/tools.ts +++ b/src/generated/forge-mcp/snippets/rules/tools.ts @@ -3,15 +3,18 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - snippets_Errors_output, - snippets_Message_output, - snippets_Messages_output, - snippets_Response_output, - snippets_SnippetName_output, + snippets_Errors, + snippets_Message, + snippets_Messages, + snippets_Response, + snippets_SnippetName, } from "../outputs.js"; -import { snippets_SnippetName, snippets_ZoneId } from "../schemas.js"; -import { snippets_SnippetRules_output } from "./outputs.js"; -import { snippets_SnippetRules } from "./schemas.js"; +import { + snippets_SnippetName as snippets_SnippetName$, + snippets_ZoneId, +} from "../schemas.js"; +import { snippets_SnippetRules } from "./outputs.js"; +import { snippets_SnippetRules as snippets_SnippetRules$ } from "./schemas.js"; /** * The tools of `snippets.rules`. @@ -24,13 +27,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/snippets_ZoneId", + "description": "Use this field to specify the unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "snippets_ZoneId": snippets_ZoneId, @@ -58,12 +69,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, - "snippets_SnippetName": snippets_SnippetName_output, - "snippets_SnippetRules": snippets_SnippetRules_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, + "snippets_SnippetName": snippets_SnippetName, + "snippets_SnippetRules": snippets_SnippetRules, }, }, annotations: { @@ -154,12 +165,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, - "snippets_SnippetName": snippets_SnippetName_output, - "snippets_SnippetRules": snippets_SnippetRules_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, + "snippets_SnippetName": snippets_SnippetName, + "snippets_SnippetRules": snippets_SnippetRules, }, }, request: (args) => ({ @@ -173,13 +184,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/snippets_ZoneId", + "description": "Use this field to specify the unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "snippets_ZoneId": snippets_ZoneId, @@ -207,12 +226,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, - "snippets_SnippetName": snippets_SnippetName_output, - "snippets_SnippetRules": snippets_SnippetRules_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, + "snippets_SnippetName": snippets_SnippetName, + "snippets_SnippetRules": snippets_SnippetRules, }, }, annotations: { @@ -304,12 +323,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, - "snippets_SnippetName": snippets_SnippetName_output, - "snippets_SnippetRules": snippets_SnippetRules_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, + "snippets_SnippetName": snippets_SnippetName, + "snippets_SnippetRules": snippets_SnippetRules, }, }, request: (args) => ({ @@ -335,18 +354,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/snippets_ZoneId", + "description": "Use this field to specify the unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "snippets_SnippetName": snippets_SnippetName, - "snippets_SnippetRules": snippets_SnippetRules, + "snippets_SnippetName": snippets_SnippetName$, + "snippets_SnippetRules": snippets_SnippetRules$, "snippets_ZoneId": snippets_ZoneId, }, }, @@ -372,12 +399,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, - "snippets_SnippetName": snippets_SnippetName_output, - "snippets_SnippetRules": snippets_SnippetRules_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, + "snippets_SnippetName": snippets_SnippetName, + "snippets_SnippetRules": snippets_SnippetRules, }, }, annotations: { @@ -468,12 +495,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, - "snippets_SnippetName": snippets_SnippetName_output, - "snippets_SnippetRules": snippets_SnippetRules_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, + "snippets_SnippetName": snippets_SnippetName, + "snippets_SnippetRules": snippets_SnippetRules, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/snippets/tools.ts b/src/generated/forge-mcp/snippets/tools.ts index 762540b96..6edb43809 100644 --- a/src/generated/forge-mcp/snippets/tools.ts +++ b/src/generated/forge-mcp/snippets/tools.ts @@ -1,22 +1,22 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; -import { - snippets_Errors_output, - snippets_Message_output, - snippets_Messages_output, - snippets_Page_output, - snippets_PerPage_output, - snippets_Response_output, - snippets_ResultInfo_output, - snippets_SnippetName_output, - snippets_Snippet_output, -} from "./outputs.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { + snippets_Errors, + snippets_Message, + snippets_Messages, snippets_Page, snippets_PerPage, + snippets_Response, + snippets_ResultInfo, + snippets_Snippet, snippets_SnippetName, +} from "./outputs.js"; +import { + snippets_Page as snippets_Page$, + snippets_PerPage as snippets_PerPage$, + snippets_SnippetName as snippets_SnippetName$, snippets_ZoneId, } from "./schemas.js"; @@ -31,21 +31,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "snippet_name": { - "$ref": "#/$defs/snippets_SnippetName", - "description": "Identify the snippet." - }, - "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "path": { + "properties": { + "snippet_name": { + "$ref": "#/$defs/snippets_SnippetName", + "description": "Identify the snippet." + }, + "zone_id": { + "$ref": "#/$defs/snippets_ZoneId", + "description": "Use this field to specify the unique ID of the zone." + } + }, + "required": [ + "zone_id", + "snippet_name" + ], + "type": "object" } }, required: [ - "zone_id", - "snippet_name" + "path" ], $defs: { - "snippets_SnippetName": snippets_SnippetName, + "snippets_SnippetName": snippets_SnippetName$, "snippets_ZoneId": snippets_ZoneId, }, }, @@ -71,10 +79,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, }, }, annotations: { @@ -165,10 +173,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, }, }, request: (args) => ({ @@ -182,21 +190,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "snippet_name": { - "$ref": "#/$defs/snippets_SnippetName", - "description": "Identify the snippet." - }, - "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "path": { + "properties": { + "snippet_name": { + "$ref": "#/$defs/snippets_SnippetName", + "description": "Identify the snippet." + }, + "zone_id": { + "$ref": "#/$defs/snippets_ZoneId", + "description": "Use this field to specify the unique ID of the zone." + } + }, + "required": [ + "zone_id", + "snippet_name" + ], + "type": "object" } }, required: [ - "zone_id", - "snippet_name" + "path" ], $defs: { - "snippets_SnippetName": snippets_SnippetName, + "snippets_SnippetName": snippets_SnippetName$, "snippets_ZoneId": snippets_ZoneId, }, }, @@ -222,12 +238,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, - "snippets_Snippet": snippets_Snippet_output, - "snippets_SnippetName": snippets_SnippetName_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, + "snippets_Snippet": snippets_Snippet, + "snippets_SnippetName": snippets_SnippetName, }, }, annotations: { @@ -319,12 +335,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Response": snippets_Response_output, - "snippets_Snippet": snippets_Snippet_output, - "snippets_SnippetName": snippets_SnippetName_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Response": snippets_Response, + "snippets_Snippet": snippets_Snippet, + "snippets_SnippetName": snippets_SnippetName, }, }, request: (args) => ({ @@ -338,27 +354,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "page": { - "$ref": "#/$defs/snippets_Page", - "default": 1, - "description": "Specifies the current page number." - }, - "per_page": { - "$ref": "#/$defs/snippets_PerPage", - "default": 25, - "description": "Specifies how many results to return per page." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/snippets_ZoneId", + "description": "Use this field to specify the unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "query": { + "properties": { + "page": { + "$ref": "#/$defs/snippets_Page", + "default": 1, + "description": "Specifies the current page number." + }, + "per_page": { + "$ref": "#/$defs/snippets_PerPage", + "default": 25, + "description": "Specifies how many results to return per page." + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "snippets_Page": snippets_Page, - "snippets_PerPage": snippets_PerPage, + "snippets_Page": snippets_Page$, + "snippets_PerPage": snippets_PerPage$, "snippets_ZoneId": snippets_ZoneId, }, }, @@ -390,15 +419,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Page": snippets_Page_output, - "snippets_PerPage": snippets_PerPage_output, - "snippets_Response": snippets_Response_output, - "snippets_ResultInfo": snippets_ResultInfo_output, - "snippets_Snippet": snippets_Snippet_output, - "snippets_SnippetName": snippets_SnippetName_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Page": snippets_Page, + "snippets_PerPage": snippets_PerPage, + "snippets_Response": snippets_Response, + "snippets_ResultInfo": snippets_ResultInfo, + "snippets_Snippet": snippets_Snippet, + "snippets_SnippetName": snippets_SnippetName, }, }, annotations: { @@ -496,22 +525,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "snippets_Errors": snippets_Errors_output, - "snippets_Message": snippets_Message_output, - "snippets_Messages": snippets_Messages_output, - "snippets_Page": snippets_Page_output, - "snippets_PerPage": snippets_PerPage_output, - "snippets_Response": snippets_Response_output, - "snippets_ResultInfo": snippets_ResultInfo_output, - "snippets_Snippet": snippets_Snippet_output, - "snippets_SnippetName": snippets_SnippetName_output, + "snippets_Errors": snippets_Errors, + "snippets_Message": snippets_Message, + "snippets_Messages": snippets_Messages, + "snippets_Page": snippets_Page, + "snippets_PerPage": snippets_PerPage, + "snippets_Response": snippets_Response, + "snippets_ResultInfo": snippets_ResultInfo, + "snippets_Snippet": snippets_Snippet, + "snippets_SnippetName": snippets_SnippetName, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/snippets`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/outputs.ts index e15942e58..e98bac182 100644 --- a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/outputs.ts +++ b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `spectrum-analytics_query-response-aggregate` in responses. */ -export const spectrum_analytics_query_response_aggregate_output: JsonSchema = { +export const spectrum$$analytics_query$$response$$aggregate: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-analytics_api-response-single" diff --git a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/schemas.ts b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/schemas.ts index f2eaf0815..ddb0a7358 100644 --- a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/schemas.ts +++ b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `spectrum-analytics_app_id_param`. */ -export const spectrum_analytics_app_id_param: JsonSchema = { +export const spectrum$$analytics_app_id_param: JsonSchema = { "description": "Comma-delimited list of Spectrum Application Id(s). If provided, the response will be limited to Spectrum Application Id(s) that match.", "type": "string" }; diff --git a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts index 99980dd78..a70416fde 100644 --- a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/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, param, pathParam } from "../../../../_/tool.js"; import { - spectrum_analytics_api_response_common_failure_output, - spectrum_analytics_api_response_single_output, - spectrum_analytics_identifier_output, - spectrum_analytics_messages_output, + spectrum$$analytics_api$$response$$common$$failure, + spectrum$$analytics_api$$response$$single, + spectrum$$analytics_identifier, + spectrum$$analytics_messages, } from "../../outputs.js"; -import { spectrum_analytics_identifier } from "../../schemas.js"; -import { spectrum_analytics_query_response_aggregate_output } from "./outputs.js"; -import { spectrum_analytics_app_id_param } from "./schemas.js"; +import { spectrum$$analytics_identifier as spectrum$$analytics_identifier$ } from "../../schemas.js"; +import { spectrum$$analytics_query$$response$$aggregate } from "./outputs.js"; +import { spectrum$$analytics_app_id_param } from "./schemas.js"; /** * The tools of `spectrum.analytics.aggregates.currents`. @@ -23,34 +23,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "app_id": { - "$ref": "#/$defs/spectrum-analytics_app_id_param", - "description": "Comma-delimited list of Spectrum Application Id(s). If provided, the response will be limited to Spectrum Application Id(s) that match." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/spectrum-analytics_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "colo_name": { - "description": "Co-location identifier.", - "type": "string" - }, - "zone_id": { - "$ref": "#/$defs/spectrum-analytics_identifier", - "description": "Identifier." + "query": { + "properties": { + "appID": { + "$ref": "#/$defs/spectrum-analytics_app_id_param", + "description": "Comma-delimited list of Spectrum Application Id(s). If provided, the response will be limited to Spectrum Application Id(s) that match." + }, + "colo_name": { + "description": "Co-location identifier.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "spectrum-analytics_app_id_param": spectrum_analytics_app_id_param, - "spectrum-analytics_identifier": spectrum_analytics_identifier, + "spectrum-analytics_app_id_param": spectrum$$analytics_app_id_param, + "spectrum-analytics_identifier": spectrum$$analytics_identifier$, }, }, outputSchema: { "$ref": "#/$defs/spectrum-analytics_query-response-aggregate", $defs: { - "spectrum-analytics_api-response-single": spectrum_analytics_api_response_single_output, - "spectrum-analytics_identifier": spectrum_analytics_identifier_output, - "spectrum-analytics_messages": spectrum_analytics_messages_output, - "spectrum-analytics_query-response-aggregate": spectrum_analytics_query_response_aggregate_output, + "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, + "spectrum-analytics_identifier": spectrum$$analytics_identifier, + "spectrum-analytics_messages": spectrum$$analytics_messages, + "spectrum-analytics_query-response-aggregate": spectrum$$analytics_query$$response$$aggregate, }, }, annotations: { @@ -77,18 +90,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-analytics_api-response-common-failure": spectrum_analytics_api_response_common_failure_output, - "spectrum-analytics_api-response-single": spectrum_analytics_api_response_single_output, - "spectrum-analytics_identifier": spectrum_analytics_identifier_output, - "spectrum-analytics_messages": spectrum_analytics_messages_output, - "spectrum-analytics_query-response-aggregate": spectrum_analytics_query_response_aggregate_output, + "spectrum-analytics_api-response-common-failure": spectrum$$analytics_api$$response$$common$$failure, + "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, + "spectrum-analytics_identifier": spectrum$$analytics_identifier, + "spectrum-analytics_messages": spectrum$$analytics_messages, + "spectrum-analytics_query-response-aggregate": spectrum$$analytics_query$$response$$aggregate, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/analytics/aggregate/current`, query: [ - ["appID", args["app_id"], true], - ["colo_name", args["colo_name"], true], + ["appID", param(args, "query", "appID"), true], + ["colo_name", param(args, "query", "colo_name"), true], ], }), }, diff --git a/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts b/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts index 1b907c3c8..b3626d017 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts @@ -1,36 +1,36 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - spectrum_analytics_api_response_common_failure_output, - spectrum_analytics_api_response_single_output, - spectrum_analytics_messages_output, - spectrum_analytics_since_output, - spectrum_analytics_timestamp_output, - spectrum_analytics_until_output, + spectrum$$analytics_api$$response$$common$$failure, + spectrum$$analytics_api$$response$$single, + spectrum$$analytics_messages, + spectrum$$analytics_since, + spectrum$$analytics_timestamp, + spectrum$$analytics_until, } from "../../outputs.js"; import { - spectrum_analytics_identifier, - spectrum_analytics_since, - spectrum_analytics_timestamp, - spectrum_analytics_until, + spectrum$$analytics_identifier, + spectrum$$analytics_since as spectrum$$analytics_since$, + spectrum$$analytics_timestamp as spectrum$$analytics_timestamp$, + spectrum$$analytics_until as spectrum$$analytics_until$, } from "../../schemas.js"; import { - spectrum_analytics_column_output, - spectrum_analytics_dimensions_output, - spectrum_analytics_filters_output, - spectrum_analytics_metrics_output, - spectrum_analytics_query_output, - spectrum_analytics_query_response_single_output, - spectrum_analytics_sort_output, - spectrum_analytics_stat_output, + spectrum$$analytics_column, + spectrum$$analytics_dimensions, + spectrum$$analytics_filters, + spectrum$$analytics_metrics, + spectrum$$analytics_query, + spectrum$$analytics_query$$response$$single, + spectrum$$analytics_sort, + spectrum$$analytics_stat, } from "../outputs.js"; import { - spectrum_analytics_dimensions, - spectrum_analytics_filters, - spectrum_analytics_metrics, - spectrum_analytics_sort, + spectrum$$analytics_dimensions as spectrum$$analytics_dimensions$, + spectrum$$analytics_filters as spectrum$$analytics_filters$, + spectrum$$analytics_metrics as spectrum$$analytics_metrics$, + spectrum$$analytics_sort as spectrum$$analytics_sort$, } from "../schemas.js"; /** @@ -44,78 +44,94 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "dimensions": { - "$ref": "#/$defs/spectrum-analytics_dimensions", - "description": "Can be used to break down the data by given attributes. Options are:\n\nDimension | Name | Example\n--------------------------|---------------------------------|--------------------------\nevent | Connection Event | connect, progress, disconnect, originError, clientFiltered\nappID | Application ID | 40d67c87c6cd4b889a4fd57805225e85\ncoloName | Colo Name | SFO\nipVersion | IP version used by the client | 4, 6." - }, - "filters": { - "$ref": "#/$defs/spectrum-analytics_filters", - "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters." - }, - "metrics": { - "$ref": "#/$defs/spectrum-analytics_metrics", - "description": "One or more metrics to compute. Options are:\n\nMetric | Name | Example | Unit\n--------------------------|-------------------------------------|--------------------------|--------------------------\ncount | Count of total events | 1000 | Count\nbytesIngress | Sum of ingress bytes | 1000 | Sum\nbytesEgress | Sum of egress bytes | 1000 | Sum\ndurationAvg | Average connection duration | 1.0 | Time in milliseconds\ndurationMedian | Median connection duration | 1.0 | Time in milliseconds\nduration90th | 90th percentile connection duration | 1.0 | Time in milliseconds\nduration99th | 99th percentile connection duration | 1.0 | Time in milliseconds." - }, - "since": { - "$ref": "#/$defs/spectrum-analytics_since" - }, - "sort": { - "$ref": "#/$defs/spectrum-analytics_sort", - "description": "The sort order for the result set; sort fields must be included in `metrics` or `dimensions`." - }, - "time_delta": { - "description": "Used to select time series resolution.", - "enum": [ - "year", - "quarter", - "month", - "week", - "day", - "hour", - "dekaminute", - "minute" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/spectrum-analytics_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" ], - "type": "string" - }, - "until": { - "$ref": "#/$defs/spectrum-analytics_until" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/spectrum-analytics_identifier", - "description": "Identifier." + "query": { + "properties": { + "dimensions": { + "$ref": "#/$defs/spectrum-analytics_dimensions", + "description": "Can be used to break down the data by given attributes. Options are:\n\nDimension | Name | Example\n--------------------------|---------------------------------|--------------------------\nevent | Connection Event | connect, progress, disconnect, originError, clientFiltered\nappID | Application ID | 40d67c87c6cd4b889a4fd57805225e85\ncoloName | Colo Name | SFO\nipVersion | IP version used by the client | 4, 6." + }, + "filters": { + "$ref": "#/$defs/spectrum-analytics_filters", + "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters." + }, + "metrics": { + "$ref": "#/$defs/spectrum-analytics_metrics", + "description": "One or more metrics to compute. Options are:\n\nMetric | Name | Example | Unit\n--------------------------|-------------------------------------|--------------------------|--------------------------\ncount | Count of total events | 1000 | Count\nbytesIngress | Sum of ingress bytes | 1000 | Sum\nbytesEgress | Sum of egress bytes | 1000 | Sum\ndurationAvg | Average connection duration | 1.0 | Time in milliseconds\ndurationMedian | Median connection duration | 1.0 | Time in milliseconds\nduration90th | 90th percentile connection duration | 1.0 | Time in milliseconds\nduration99th | 99th percentile connection duration | 1.0 | Time in milliseconds." + }, + "since": { + "$ref": "#/$defs/spectrum-analytics_since" + }, + "sort": { + "$ref": "#/$defs/spectrum-analytics_sort", + "description": "The sort order for the result set; sort fields must be included in `metrics` or `dimensions`." + }, + "time_delta": { + "description": "Used to select time series resolution.", + "enum": [ + "year", + "quarter", + "month", + "week", + "day", + "hour", + "dekaminute", + "minute" + ], + "type": "string" + }, + "until": { + "$ref": "#/$defs/spectrum-analytics_until" + } + }, + "required": [ + "time_delta" + ], + "type": "object" } }, required: [ - "zone_id", - "time_delta" + "path", + "query" ], $defs: { - "spectrum-analytics_dimensions": spectrum_analytics_dimensions, - "spectrum-analytics_filters": spectrum_analytics_filters, - "spectrum-analytics_identifier": spectrum_analytics_identifier, - "spectrum-analytics_metrics": spectrum_analytics_metrics, - "spectrum-analytics_since": spectrum_analytics_since, - "spectrum-analytics_sort": spectrum_analytics_sort, - "spectrum-analytics_timestamp": spectrum_analytics_timestamp, - "spectrum-analytics_until": spectrum_analytics_until, + "spectrum-analytics_dimensions": spectrum$$analytics_dimensions$, + "spectrum-analytics_filters": spectrum$$analytics_filters$, + "spectrum-analytics_identifier": spectrum$$analytics_identifier, + "spectrum-analytics_metrics": spectrum$$analytics_metrics$, + "spectrum-analytics_since": spectrum$$analytics_since$, + "spectrum-analytics_sort": spectrum$$analytics_sort$, + "spectrum-analytics_timestamp": spectrum$$analytics_timestamp$, + "spectrum-analytics_until": spectrum$$analytics_until$, }, }, outputSchema: { "$ref": "#/$defs/spectrum-analytics_query-response-single", $defs: { - "spectrum-analytics_api-response-single": spectrum_analytics_api_response_single_output, - "spectrum-analytics_column": spectrum_analytics_column_output, - "spectrum-analytics_dimensions": spectrum_analytics_dimensions_output, - "spectrum-analytics_filters": spectrum_analytics_filters_output, - "spectrum-analytics_messages": spectrum_analytics_messages_output, - "spectrum-analytics_metrics": spectrum_analytics_metrics_output, - "spectrum-analytics_query": spectrum_analytics_query_output, - "spectrum-analytics_query-response-single": spectrum_analytics_query_response_single_output, - "spectrum-analytics_since": spectrum_analytics_since_output, - "spectrum-analytics_sort": spectrum_analytics_sort_output, - "spectrum-analytics_stat": spectrum_analytics_stat_output, - "spectrum-analytics_timestamp": spectrum_analytics_timestamp_output, - "spectrum-analytics_until": spectrum_analytics_until_output, + "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, + "spectrum-analytics_column": spectrum$$analytics_column, + "spectrum-analytics_dimensions": spectrum$$analytics_dimensions, + "spectrum-analytics_filters": spectrum$$analytics_filters, + "spectrum-analytics_messages": spectrum$$analytics_messages, + "spectrum-analytics_metrics": spectrum$$analytics_metrics, + "spectrum-analytics_query": spectrum$$analytics_query, + "spectrum-analytics_query-response-single": spectrum$$analytics_query$$response$$single, + "spectrum-analytics_since": spectrum$$analytics_since, + "spectrum-analytics_sort": spectrum$$analytics_sort, + "spectrum-analytics_stat": spectrum$$analytics_stat, + "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, + "spectrum-analytics_until": spectrum$$analytics_until, }, }, annotations: { @@ -142,32 +158,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-analytics_api-response-common-failure": spectrum_analytics_api_response_common_failure_output, - "spectrum-analytics_api-response-single": spectrum_analytics_api_response_single_output, - "spectrum-analytics_column": spectrum_analytics_column_output, - "spectrum-analytics_dimensions": spectrum_analytics_dimensions_output, - "spectrum-analytics_filters": spectrum_analytics_filters_output, - "spectrum-analytics_messages": spectrum_analytics_messages_output, - "spectrum-analytics_metrics": spectrum_analytics_metrics_output, - "spectrum-analytics_query": spectrum_analytics_query_output, - "spectrum-analytics_query-response-single": spectrum_analytics_query_response_single_output, - "spectrum-analytics_since": spectrum_analytics_since_output, - "spectrum-analytics_sort": spectrum_analytics_sort_output, - "spectrum-analytics_stat": spectrum_analytics_stat_output, - "spectrum-analytics_timestamp": spectrum_analytics_timestamp_output, - "spectrum-analytics_until": spectrum_analytics_until_output, + "spectrum-analytics_api-response-common-failure": spectrum$$analytics_api$$response$$common$$failure, + "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, + "spectrum-analytics_column": spectrum$$analytics_column, + "spectrum-analytics_dimensions": spectrum$$analytics_dimensions, + "spectrum-analytics_filters": spectrum$$analytics_filters, + "spectrum-analytics_messages": spectrum$$analytics_messages, + "spectrum-analytics_metrics": spectrum$$analytics_metrics, + "spectrum-analytics_query": spectrum$$analytics_query, + "spectrum-analytics_query-response-single": spectrum$$analytics_query$$response$$single, + "spectrum-analytics_since": spectrum$$analytics_since, + "spectrum-analytics_sort": spectrum$$analytics_sort, + "spectrum-analytics_stat": spectrum$$analytics_stat, + "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, + "spectrum-analytics_until": spectrum$$analytics_until, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/analytics/events/bytime`, query: [ - ["dimensions", args["dimensions"], true], - ["sort", args["sort"], true], - ["until", args["until"], true], - ["metrics", args["metrics"], true], - ["filters", args["filters"], true], - ["since", args["since"], true], - ["time_delta", args["time_delta"], true], + ["dimensions", param(args, "query", "dimensions"), true], + ["sort", param(args, "query", "sort"), true], + ["until", param(args, "query", "until"), true], + ["metrics", param(args, "query", "metrics"), true], + ["filters", param(args, "query", "filters"), true], + ["since", param(args, "query", "since"), true], + ["time_delta", param(args, "query", "time_delta"), true], ], }), }, diff --git a/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts index cc11a34e3..22d48dff2 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `spectrum-analytics_column` in responses. */ -export const spectrum_analytics_column_output: JsonSchema = { +export const spectrum$$analytics_column: JsonSchema = { "properties": { "dimensions": { "items": { @@ -40,7 +40,7 @@ export const spectrum_analytics_column_output: JsonSchema = { /** * The schema of `spectrum-analytics_dimensions` in responses. */ -export const spectrum_analytics_dimensions_output: JsonSchema = { +export const spectrum$$analytics_dimensions: JsonSchema = { "items": { "enum": [ "event", @@ -56,14 +56,14 @@ export const spectrum_analytics_dimensions_output: JsonSchema = { /** * The schema of `spectrum-analytics_filters` in responses. */ -export const spectrum_analytics_filters_output: JsonSchema = { +export const spectrum$$analytics_filters: JsonSchema = { "type": "string" }; /** * The schema of `spectrum-analytics_metrics` in responses. */ -export const spectrum_analytics_metrics_output: JsonSchema = { +export const spectrum$$analytics_metrics: JsonSchema = { "items": { "enum": [ "count", @@ -82,7 +82,7 @@ export const spectrum_analytics_metrics_output: JsonSchema = { /** * The schema of `spectrum-analytics_query` in responses. */ -export const spectrum_analytics_query_output: JsonSchema = { +export const spectrum$$analytics_query: JsonSchema = { "properties": { "dimensions": { "$ref": "#/$defs/spectrum-analytics_dimensions" @@ -112,7 +112,7 @@ export const spectrum_analytics_query_output: JsonSchema = { /** * The schema of `spectrum-analytics_query-response-single` in responses. */ -export const spectrum_analytics_query_response_single_output: JsonSchema = { +export const spectrum$$analytics_query$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-analytics_api-response-single" @@ -175,7 +175,7 @@ export const spectrum_analytics_query_response_single_output: JsonSchema = { /** * The schema of `spectrum-analytics_sort` in responses. */ -export const spectrum_analytics_sort_output: JsonSchema = { +export const spectrum$$analytics_sort: JsonSchema = { "items": { "type": "string" }, @@ -185,7 +185,7 @@ export const spectrum_analytics_sort_output: JsonSchema = { /** * The schema of `spectrum-analytics_stat` in responses. */ -export const spectrum_analytics_stat_output: JsonSchema = { +export const spectrum$$analytics_stat: JsonSchema = { "additionalProperties": { "type": "number" }, diff --git a/src/generated/forge-mcp/spectrum/analytics/events/schemas.ts b/src/generated/forge-mcp/spectrum/analytics/events/schemas.ts index 9441a0df1..2ceaff914 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/schemas.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `spectrum-analytics_dimensions`. */ -export const spectrum_analytics_dimensions: JsonSchema = { +export const spectrum$$analytics_dimensions: JsonSchema = { "description": "Can be used to break down the data by given attributes. Options are:\n\nDimension | Name | Example\n--------------------------|---------------------------------|--------------------------\nevent | Connection Event | connect, progress, disconnect, originError, clientFiltered\nappID | Application ID | 40d67c87c6cd4b889a4fd57805225e85\ncoloName | Colo Name | SFO\nipVersion | IP version used by the client | 4, 6.", "items": { "enum": [ @@ -23,7 +23,7 @@ export const spectrum_analytics_dimensions: JsonSchema = { /** * The schema of `spectrum-analytics_filters`. */ -export const spectrum_analytics_filters: JsonSchema = { +export const spectrum$$analytics_filters: JsonSchema = { "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters.", "type": "string" }; @@ -31,7 +31,7 @@ export const spectrum_analytics_filters: JsonSchema = { /** * The schema of `spectrum-analytics_metrics`. */ -export const spectrum_analytics_metrics: JsonSchema = { +export const spectrum$$analytics_metrics: JsonSchema = { "description": "One or more metrics to compute. Options are:\n\nMetric | Name | Example | Unit\n--------------------------|-------------------------------------|--------------------------|--------------------------\ncount | Count of total events | 1000 | Count\nbytesIngress | Sum of ingress bytes | 1000 | Sum\nbytesEgress | Sum of egress bytes | 1000 | Sum\ndurationAvg | Average connection duration | 1.0 | Time in milliseconds\ndurationMedian | Median connection duration | 1.0 | Time in milliseconds\nduration90th | 90th percentile connection duration | 1.0 | Time in milliseconds\nduration99th | 99th percentile connection duration | 1.0 | Time in milliseconds.", "items": { "enum": [ @@ -51,7 +51,7 @@ export const spectrum_analytics_metrics: JsonSchema = { /** * The schema of `spectrum-analytics_sort`. */ -export const spectrum_analytics_sort: JsonSchema = { +export const spectrum$$analytics_sort: JsonSchema = { "description": "The sort order for the result set; sort fields must be included in `metrics` or `dimensions`.", "items": { "type": "string" diff --git a/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts b/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts index b41192ea2..6e27c0fdb 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts @@ -1,36 +1,36 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - spectrum_analytics_api_response_common_failure_output, - spectrum_analytics_api_response_single_output, - spectrum_analytics_messages_output, - spectrum_analytics_since_output, - spectrum_analytics_timestamp_output, - spectrum_analytics_until_output, + spectrum$$analytics_api$$response$$common$$failure, + spectrum$$analytics_api$$response$$single, + spectrum$$analytics_messages, + spectrum$$analytics_since, + spectrum$$analytics_timestamp, + spectrum$$analytics_until, } from "../../outputs.js"; import { - spectrum_analytics_identifier, - spectrum_analytics_since, - spectrum_analytics_timestamp, - spectrum_analytics_until, + spectrum$$analytics_identifier, + spectrum$$analytics_since as spectrum$$analytics_since$, + spectrum$$analytics_timestamp as spectrum$$analytics_timestamp$, + spectrum$$analytics_until as spectrum$$analytics_until$, } from "../../schemas.js"; import { - spectrum_analytics_column_output, - spectrum_analytics_dimensions_output, - spectrum_analytics_filters_output, - spectrum_analytics_metrics_output, - spectrum_analytics_query_output, - spectrum_analytics_query_response_single_output, - spectrum_analytics_sort_output, - spectrum_analytics_stat_output, + spectrum$$analytics_column, + spectrum$$analytics_dimensions, + spectrum$$analytics_filters, + spectrum$$analytics_metrics, + spectrum$$analytics_query, + spectrum$$analytics_query$$response$$single, + spectrum$$analytics_sort, + spectrum$$analytics_stat, } from "../outputs.js"; import { - spectrum_analytics_dimensions, - spectrum_analytics_filters, - spectrum_analytics_metrics, - spectrum_analytics_sort, + spectrum$$analytics_dimensions as spectrum$$analytics_dimensions$, + spectrum$$analytics_filters as spectrum$$analytics_filters$, + spectrum$$analytics_metrics as spectrum$$analytics_metrics$, + spectrum$$analytics_sort as spectrum$$analytics_sort$, } from "../schemas.js"; /** @@ -44,63 +44,76 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "dimensions": { - "$ref": "#/$defs/spectrum-analytics_dimensions", - "description": "Can be used to break down the data by given attributes. Options are:\n\nDimension | Name | Example\n--------------------------|---------------------------------|--------------------------\nevent | Connection Event | connect, progress, disconnect, originError, clientFiltered\nappID | Application ID | 40d67c87c6cd4b889a4fd57805225e85\ncoloName | Colo Name | SFO\nipVersion | IP version used by the client | 4, 6." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/spectrum-analytics_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "filters": { - "$ref": "#/$defs/spectrum-analytics_filters", - "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters." - }, - "metrics": { - "$ref": "#/$defs/spectrum-analytics_metrics", - "description": "One or more metrics to compute. Options are:\n\nMetric | Name | Example | Unit\n--------------------------|-------------------------------------|--------------------------|--------------------------\ncount | Count of total events | 1000 | Count\nbytesIngress | Sum of ingress bytes | 1000 | Sum\nbytesEgress | Sum of egress bytes | 1000 | Sum\ndurationAvg | Average connection duration | 1.0 | Time in milliseconds\ndurationMedian | Median connection duration | 1.0 | Time in milliseconds\nduration90th | 90th percentile connection duration | 1.0 | Time in milliseconds\nduration99th | 99th percentile connection duration | 1.0 | Time in milliseconds." - }, - "since": { - "$ref": "#/$defs/spectrum-analytics_since" - }, - "sort": { - "$ref": "#/$defs/spectrum-analytics_sort", - "description": "The sort order for the result set; sort fields must be included in `metrics` or `dimensions`." - }, - "until": { - "$ref": "#/$defs/spectrum-analytics_until" - }, - "zone_id": { - "$ref": "#/$defs/spectrum-analytics_identifier", - "description": "Identifier." + "query": { + "properties": { + "dimensions": { + "$ref": "#/$defs/spectrum-analytics_dimensions", + "description": "Can be used to break down the data by given attributes. Options are:\n\nDimension | Name | Example\n--------------------------|---------------------------------|--------------------------\nevent | Connection Event | connect, progress, disconnect, originError, clientFiltered\nappID | Application ID | 40d67c87c6cd4b889a4fd57805225e85\ncoloName | Colo Name | SFO\nipVersion | IP version used by the client | 4, 6." + }, + "filters": { + "$ref": "#/$defs/spectrum-analytics_filters", + "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters." + }, + "metrics": { + "$ref": "#/$defs/spectrum-analytics_metrics", + "description": "One or more metrics to compute. Options are:\n\nMetric | Name | Example | Unit\n--------------------------|-------------------------------------|--------------------------|--------------------------\ncount | Count of total events | 1000 | Count\nbytesIngress | Sum of ingress bytes | 1000 | Sum\nbytesEgress | Sum of egress bytes | 1000 | Sum\ndurationAvg | Average connection duration | 1.0 | Time in milliseconds\ndurationMedian | Median connection duration | 1.0 | Time in milliseconds\nduration90th | 90th percentile connection duration | 1.0 | Time in milliseconds\nduration99th | 99th percentile connection duration | 1.0 | Time in milliseconds." + }, + "since": { + "$ref": "#/$defs/spectrum-analytics_since" + }, + "sort": { + "$ref": "#/$defs/spectrum-analytics_sort", + "description": "The sort order for the result set; sort fields must be included in `metrics` or `dimensions`." + }, + "until": { + "$ref": "#/$defs/spectrum-analytics_until" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "spectrum-analytics_dimensions": spectrum_analytics_dimensions, - "spectrum-analytics_filters": spectrum_analytics_filters, - "spectrum-analytics_identifier": spectrum_analytics_identifier, - "spectrum-analytics_metrics": spectrum_analytics_metrics, - "spectrum-analytics_since": spectrum_analytics_since, - "spectrum-analytics_sort": spectrum_analytics_sort, - "spectrum-analytics_timestamp": spectrum_analytics_timestamp, - "spectrum-analytics_until": spectrum_analytics_until, + "spectrum-analytics_dimensions": spectrum$$analytics_dimensions$, + "spectrum-analytics_filters": spectrum$$analytics_filters$, + "spectrum-analytics_identifier": spectrum$$analytics_identifier, + "spectrum-analytics_metrics": spectrum$$analytics_metrics$, + "spectrum-analytics_since": spectrum$$analytics_since$, + "spectrum-analytics_sort": spectrum$$analytics_sort$, + "spectrum-analytics_timestamp": spectrum$$analytics_timestamp$, + "spectrum-analytics_until": spectrum$$analytics_until$, }, }, outputSchema: { "$ref": "#/$defs/spectrum-analytics_query-response-single", $defs: { - "spectrum-analytics_api-response-single": spectrum_analytics_api_response_single_output, - "spectrum-analytics_column": spectrum_analytics_column_output, - "spectrum-analytics_dimensions": spectrum_analytics_dimensions_output, - "spectrum-analytics_filters": spectrum_analytics_filters_output, - "spectrum-analytics_messages": spectrum_analytics_messages_output, - "spectrum-analytics_metrics": spectrum_analytics_metrics_output, - "spectrum-analytics_query": spectrum_analytics_query_output, - "spectrum-analytics_query-response-single": spectrum_analytics_query_response_single_output, - "spectrum-analytics_since": spectrum_analytics_since_output, - "spectrum-analytics_sort": spectrum_analytics_sort_output, - "spectrum-analytics_stat": spectrum_analytics_stat_output, - "spectrum-analytics_timestamp": spectrum_analytics_timestamp_output, - "spectrum-analytics_until": spectrum_analytics_until_output, + "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, + "spectrum-analytics_column": spectrum$$analytics_column, + "spectrum-analytics_dimensions": spectrum$$analytics_dimensions, + "spectrum-analytics_filters": spectrum$$analytics_filters, + "spectrum-analytics_messages": spectrum$$analytics_messages, + "spectrum-analytics_metrics": spectrum$$analytics_metrics, + "spectrum-analytics_query": spectrum$$analytics_query, + "spectrum-analytics_query-response-single": spectrum$$analytics_query$$response$$single, + "spectrum-analytics_since": spectrum$$analytics_since, + "spectrum-analytics_sort": spectrum$$analytics_sort, + "spectrum-analytics_stat": spectrum$$analytics_stat, + "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, + "spectrum-analytics_until": spectrum$$analytics_until, }, }, annotations: { @@ -127,31 +140,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-analytics_api-response-common-failure": spectrum_analytics_api_response_common_failure_output, - "spectrum-analytics_api-response-single": spectrum_analytics_api_response_single_output, - "spectrum-analytics_column": spectrum_analytics_column_output, - "spectrum-analytics_dimensions": spectrum_analytics_dimensions_output, - "spectrum-analytics_filters": spectrum_analytics_filters_output, - "spectrum-analytics_messages": spectrum_analytics_messages_output, - "spectrum-analytics_metrics": spectrum_analytics_metrics_output, - "spectrum-analytics_query": spectrum_analytics_query_output, - "spectrum-analytics_query-response-single": spectrum_analytics_query_response_single_output, - "spectrum-analytics_since": spectrum_analytics_since_output, - "spectrum-analytics_sort": spectrum_analytics_sort_output, - "spectrum-analytics_stat": spectrum_analytics_stat_output, - "spectrum-analytics_timestamp": spectrum_analytics_timestamp_output, - "spectrum-analytics_until": spectrum_analytics_until_output, + "spectrum-analytics_api-response-common-failure": spectrum$$analytics_api$$response$$common$$failure, + "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, + "spectrum-analytics_column": spectrum$$analytics_column, + "spectrum-analytics_dimensions": spectrum$$analytics_dimensions, + "spectrum-analytics_filters": spectrum$$analytics_filters, + "spectrum-analytics_messages": spectrum$$analytics_messages, + "spectrum-analytics_metrics": spectrum$$analytics_metrics, + "spectrum-analytics_query": spectrum$$analytics_query, + "spectrum-analytics_query-response-single": spectrum$$analytics_query$$response$$single, + "spectrum-analytics_since": spectrum$$analytics_since, + "spectrum-analytics_sort": spectrum$$analytics_sort, + "spectrum-analytics_stat": spectrum$$analytics_stat, + "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, + "spectrum-analytics_until": spectrum$$analytics_until, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/analytics/events/summary`, query: [ - ["dimensions", args["dimensions"], true], - ["sort", args["sort"], true], - ["until", args["until"], true], - ["metrics", args["metrics"], true], - ["filters", args["filters"], true], - ["since", args["since"], true], + ["dimensions", param(args, "query", "dimensions"), true], + ["sort", param(args, "query", "sort"), true], + ["until", param(args, "query", "until"), true], + ["metrics", param(args, "query", "metrics"), true], + ["filters", param(args, "query", "filters"), true], + ["since", param(args, "query", "since"), true], ], }), }, diff --git a/src/generated/forge-mcp/spectrum/analytics/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/outputs.ts index f980c6f67..6d856f050 100644 --- a/src/generated/forge-mcp/spectrum/analytics/outputs.ts +++ b/src/generated/forge-mcp/spectrum/analytics/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `spectrum-analytics_api-response-common-failure` in responses. */ -export const spectrum_analytics_api_response_common_failure_output: JsonSchema = { +export const spectrum$$analytics_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/spectrum-analytics_messages" @@ -36,7 +36,7 @@ export const spectrum_analytics_api_response_common_failure_output: JsonSchema = /** * The schema of `spectrum-analytics_api-response-single` in responses. */ -export const spectrum_analytics_api_response_single_output: JsonSchema = { +export const spectrum$$analytics_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/spectrum-analytics_messages" @@ -62,14 +62,14 @@ export const spectrum_analytics_api_response_single_output: JsonSchema = { /** * The schema of `spectrum-analytics_identifier` in responses. */ -export const spectrum_analytics_identifier_output: JsonSchema = { +export const spectrum$$analytics_identifier: JsonSchema = { "type": "string" }; /** * The schema of `spectrum-analytics_messages` in responses. */ -export const spectrum_analytics_messages_output: JsonSchema = { +export const spectrum$$analytics_messages: JsonSchema = { "items": { "properties": { "code": { @@ -102,7 +102,7 @@ export const spectrum_analytics_messages_output: JsonSchema = { /** * The schema of `spectrum-analytics_since` in responses. */ -export const spectrum_analytics_since_output: JsonSchema = { +export const spectrum$$analytics_since: JsonSchema = { "allOf": [ { "type": "string" @@ -116,7 +116,7 @@ export const spectrum_analytics_since_output: JsonSchema = { /** * The schema of `spectrum-analytics_timestamp` in responses. */ -export const spectrum_analytics_timestamp_output: JsonSchema = { +export const spectrum$$analytics_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -124,7 +124,7 @@ export const spectrum_analytics_timestamp_output: JsonSchema = { /** * The schema of `spectrum-analytics_until` in responses. */ -export const spectrum_analytics_until_output: JsonSchema = { +export const spectrum$$analytics_until: JsonSchema = { "allOf": [ { "type": "string" diff --git a/src/generated/forge-mcp/spectrum/analytics/schemas.ts b/src/generated/forge-mcp/spectrum/analytics/schemas.ts index b337084da..b2f10efe8 100644 --- a/src/generated/forge-mcp/spectrum/analytics/schemas.ts +++ b/src/generated/forge-mcp/spectrum/analytics/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `spectrum-analytics_identifier`. */ -export const spectrum_analytics_identifier: JsonSchema = { +export const spectrum$$analytics_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -14,7 +14,7 @@ export const spectrum_analytics_identifier: JsonSchema = { /** * The schema of `spectrum-analytics_since`. */ -export const spectrum_analytics_since: JsonSchema = { +export const spectrum$$analytics_since: JsonSchema = { "allOf": [ { "type": "string" @@ -28,7 +28,7 @@ export const spectrum_analytics_since: JsonSchema = { /** * The schema of `spectrum-analytics_timestamp`. */ -export const spectrum_analytics_timestamp: JsonSchema = { +export const spectrum$$analytics_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -36,7 +36,7 @@ export const spectrum_analytics_timestamp: JsonSchema = { /** * The schema of `spectrum-analytics_until`. */ -export const spectrum_analytics_until: JsonSchema = { +export const spectrum$$analytics_until: JsonSchema = { "allOf": [ { "type": "string" diff --git a/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts index e92e7ae9f..70f11891d 100644 --- a/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts +++ b/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `spectrum-analytics_api-response-collection` in responses. */ -export const spectrum_analytics_api_response_collection_output: JsonSchema = { +export const spectrum$$analytics_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-analytics_api-response-common" @@ -42,7 +42,7 @@ export const spectrum_analytics_api_response_collection_output: JsonSchema = { /** * The schema of `spectrum-analytics_api-response-common` in responses. */ -export const spectrum_analytics_api_response_common_output: JsonSchema = { +export const spectrum$$analytics_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/spectrum-analytics_messages" @@ -68,7 +68,7 @@ export const spectrum_analytics_api_response_common_output: JsonSchema = { /** * The schema of `spectrum-analytics_zone_report` in responses. */ -export const spectrum_analytics_zone_report_output: JsonSchema = { +export const spectrum$$analytics_zone_report: JsonSchema = { "properties": { "totals": { "properties": { @@ -111,7 +111,7 @@ export const spectrum_analytics_zone_report_output: JsonSchema = { /** * The schema of `spectrum-analytics_zones_report_response` in responses. */ -export const spectrum_analytics_zones_report_response_output: JsonSchema = { +export const spectrum$$analytics_zones_report_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-analytics_api-response-collection" diff --git a/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts b/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts index 6df462235..3768e0d37 100644 --- a/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts @@ -1,25 +1,25 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../../_/tool.js"; +import { type Tool, param } from "../../../../_/tool.js"; import { - spectrum_analytics_api_response_common_failure_output, - spectrum_analytics_identifier_output, - spectrum_analytics_messages_output, - spectrum_analytics_since_output, - spectrum_analytics_timestamp_output, - spectrum_analytics_until_output, + spectrum$$analytics_api$$response$$common$$failure, + spectrum$$analytics_identifier, + spectrum$$analytics_messages, + spectrum$$analytics_since, + spectrum$$analytics_timestamp, + spectrum$$analytics_until, } from "../../outputs.js"; import { - spectrum_analytics_since, - spectrum_analytics_timestamp, - spectrum_analytics_until, + spectrum$$analytics_since as spectrum$$analytics_since$, + spectrum$$analytics_timestamp as spectrum$$analytics_timestamp$, + spectrum$$analytics_until as spectrum$$analytics_until$, } from "../../schemas.js"; import { - spectrum_analytics_api_response_collection_output, - spectrum_analytics_api_response_common_output, - spectrum_analytics_zone_report_output, - spectrum_analytics_zones_report_response_output, + spectrum$$analytics_api$$response$$collection, + spectrum$$analytics_api$$response$$common, + spectrum$$analytics_zone_report, + spectrum$$analytics_zones_report_response, } from "./outputs.js"; /** @@ -33,36 +33,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "cdn_traffic": { - "default": true, - "description": "Include CDN traffic in the bandwidth aggregation.", - "type": "boolean" - }, - "since": { - "$ref": "#/$defs/spectrum-analytics_since" - }, - "until": { - "$ref": "#/$defs/spectrum-analytics_until" + "query": { + "properties": { + "cdn_traffic": { + "default": true, + "description": "Include CDN traffic in the bandwidth aggregation.", + "type": "boolean" + }, + "since": { + "$ref": "#/$defs/spectrum-analytics_since" + }, + "until": { + "$ref": "#/$defs/spectrum-analytics_until" + } + }, + "type": "object" } }, $defs: { - "spectrum-analytics_since": spectrum_analytics_since, - "spectrum-analytics_timestamp": spectrum_analytics_timestamp, - "spectrum-analytics_until": spectrum_analytics_until, + "spectrum-analytics_since": spectrum$$analytics_since$, + "spectrum-analytics_timestamp": spectrum$$analytics_timestamp$, + "spectrum-analytics_until": spectrum$$analytics_until$, }, }, outputSchema: { "$ref": "#/$defs/spectrum-analytics_zones_report_response", $defs: { - "spectrum-analytics_api-response-collection": spectrum_analytics_api_response_collection_output, - "spectrum-analytics_api-response-common": spectrum_analytics_api_response_common_output, - "spectrum-analytics_identifier": spectrum_analytics_identifier_output, - "spectrum-analytics_messages": spectrum_analytics_messages_output, - "spectrum-analytics_since": spectrum_analytics_since_output, - "spectrum-analytics_timestamp": spectrum_analytics_timestamp_output, - "spectrum-analytics_until": spectrum_analytics_until_output, - "spectrum-analytics_zone_report": spectrum_analytics_zone_report_output, - "spectrum-analytics_zones_report_response": spectrum_analytics_zones_report_response_output, + "spectrum-analytics_api-response-collection": spectrum$$analytics_api$$response$$collection, + "spectrum-analytics_api-response-common": spectrum$$analytics_api$$response$$common, + "spectrum-analytics_identifier": spectrum$$analytics_identifier, + "spectrum-analytics_messages": spectrum$$analytics_messages, + "spectrum-analytics_since": spectrum$$analytics_since, + "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, + "spectrum-analytics_until": spectrum$$analytics_until, + "spectrum-analytics_zone_report": spectrum$$analytics_zone_report, + "spectrum-analytics_zones_report_response": spectrum$$analytics_zones_report_response, }, }, annotations: { @@ -90,24 +95,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-analytics_api-response-collection": spectrum_analytics_api_response_collection_output, - "spectrum-analytics_api-response-common": spectrum_analytics_api_response_common_output, - "spectrum-analytics_api-response-common-failure": spectrum_analytics_api_response_common_failure_output, - "spectrum-analytics_identifier": spectrum_analytics_identifier_output, - "spectrum-analytics_messages": spectrum_analytics_messages_output, - "spectrum-analytics_since": spectrum_analytics_since_output, - "spectrum-analytics_timestamp": spectrum_analytics_timestamp_output, - "spectrum-analytics_until": spectrum_analytics_until_output, - "spectrum-analytics_zone_report": spectrum_analytics_zone_report_output, - "spectrum-analytics_zones_report_response": spectrum_analytics_zones_report_response_output, + "spectrum-analytics_api-response-collection": spectrum$$analytics_api$$response$$collection, + "spectrum-analytics_api-response-common": spectrum$$analytics_api$$response$$common, + "spectrum-analytics_api-response-common-failure": spectrum$$analytics_api$$response$$common$$failure, + "spectrum-analytics_identifier": spectrum$$analytics_identifier, + "spectrum-analytics_messages": spectrum$$analytics_messages, + "spectrum-analytics_since": spectrum$$analytics_since, + "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, + "spectrum-analytics_until": spectrum$$analytics_until, + "spectrum-analytics_zone_report": spectrum$$analytics_zone_report, + "spectrum-analytics_zones_report_response": spectrum$$analytics_zones_report_response, }, }, request: (args) => ({ path: `/user/spectrum_analytics/zones/report`, query: [ - ["since", args["since"], true], - ["until", args["until"], true], - ["cdn_traffic", args["cdn_traffic"], true], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], + ["cdn_traffic", param(args, "query", "cdn_traffic"), true], ], }), }, diff --git a/src/generated/forge-mcp/spectrum/apps/outputs.ts b/src/generated/forge-mcp/spectrum/apps/outputs.ts index 11738482e..e6b3ebe3f 100644 --- a/src/generated/forge-mcp/spectrum/apps/outputs.ts +++ b/src/generated/forge-mcp/spectrum/apps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `spectrum-config_api-response-single` in responses. */ -export const spectrum_config_api_response_single_output: JsonSchema = { +export const spectrum$$config_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/spectrum-config_messages" @@ -32,7 +32,7 @@ export const spectrum_config_api_response_single_output: JsonSchema = { /** * The schema of `spectrum-config_api-response-single-id` in responses. */ -export const spectrum_config_api_response_single_id_output: JsonSchema = { +export const spectrum$$config_api$$response$$single$$id: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-config_api-response-common" @@ -66,7 +66,7 @@ export const spectrum_config_api_response_single_id_output: JsonSchema = { /** * The schema of `spectrum-config_app_config` in responses. */ -export const spectrum_config_app_config_output: JsonSchema = { +export const spectrum$$config_app_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-config_base_app_config" @@ -126,7 +126,7 @@ export const spectrum_config_app_config_output: JsonSchema = { /** * The schema of `spectrum-config_app_config_collection` in responses. */ -export const spectrum_config_app_config_collection_output: JsonSchema = { +export const spectrum$$config_app_config_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-config_api-response-collection" @@ -158,7 +158,7 @@ export const spectrum_config_app_config_collection_output: JsonSchema = { /** * The schema of `spectrum-config_app_config_single` in responses. */ -export const spectrum_config_app_config_single_output: JsonSchema = { +export const spectrum$$config_app_config_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-config_api-response-single" @@ -184,21 +184,21 @@ export const spectrum_config_app_config_single_output: JsonSchema = { /** * The schema of `spectrum-config_app_identifier` in responses. */ -export const spectrum_config_app_identifier_output: JsonSchema = { +export const spectrum$$config_app_identifier: JsonSchema = { "$ref": "#/$defs/spectrum-config_identifier" }; /** * The schema of `spectrum-config_argo_smart_routing` in responses. */ -export const spectrum_config_argo_smart_routing_output: JsonSchema = { +export const spectrum$$config_argo_smart_routing: JsonSchema = { "type": "boolean" }; /** * The schema of `spectrum-config_base_app_config` in responses. */ -export const spectrum_config_base_app_config_output: JsonSchema = { +export const spectrum$$config_base_app_config: JsonSchema = { "properties": { "created_on": { "$ref": "#/$defs/spectrum-config_created" @@ -221,14 +221,14 @@ export const spectrum_config_base_app_config_output: JsonSchema = { /** * The schema of `spectrum-config_created` in responses. */ -export const spectrum_config_created_output: JsonSchema = { +export const spectrum$$config_created: JsonSchema = { "$ref": "#/$defs/spectrum-config_timestamp" }; /** * The schema of `spectrum-config_dns` in responses. */ -export const spectrum_config_dns_output: JsonSchema = { +export const spectrum$$config_dns: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/spectrum-config_dns_name" @@ -243,21 +243,21 @@ export const spectrum_config_dns_output: JsonSchema = { /** * The schema of `spectrum-config_dns_name` in responses. */ -export const spectrum_config_dns_name_output: JsonSchema = { +export const spectrum$$config_dns_name: JsonSchema = { "type": "string" }; /** * The schema of `spectrum-config_dns_ttl` in responses. */ -export const spectrum_config_dns_ttl_output: JsonSchema = { +export const spectrum$$config_dns_ttl: JsonSchema = { "type": "integer" }; /** * The schema of `spectrum-config_dns_type` in responses. */ -export const spectrum_config_dns_type_output: JsonSchema = { +export const spectrum$$config_dns_type: JsonSchema = { "enum": [ "CNAME", "ADDRESS" @@ -268,7 +268,7 @@ export const spectrum_config_dns_type_output: JsonSchema = { /** * The schema of `spectrum-config_edge_ips` in responses. */ -export const spectrum_config_edge_ips_output: JsonSchema = { +export const spectrum$$config_edge_ips: JsonSchema = { "oneOf": [ { "properties": { @@ -312,21 +312,21 @@ export const spectrum_config_edge_ips_output: JsonSchema = { /** * The schema of `spectrum-config_ip_firewall` in responses. */ -export const spectrum_config_ip_firewall_output: JsonSchema = { +export const spectrum$$config_ip_firewall: JsonSchema = { "type": "boolean" }; /** * The schema of `spectrum-config_modified` in responses. */ -export const spectrum_config_modified_output: JsonSchema = { +export const spectrum$$config_modified: JsonSchema = { "$ref": "#/$defs/spectrum-config_timestamp" }; /** * The schema of `spectrum-config_origin_direct` in responses. */ -export const spectrum_config_origin_direct_output: JsonSchema = { +export const spectrum$$config_origin_direct: JsonSchema = { "items": { "type": "string" }, @@ -336,7 +336,7 @@ export const spectrum_config_origin_direct_output: JsonSchema = { /** * The schema of `spectrum-config_origin_dns` in responses. */ -export const spectrum_config_origin_dns_output: JsonSchema = { +export const spectrum$$config_origin_dns: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/spectrum-config_origin_dns_name" @@ -354,14 +354,14 @@ export const spectrum_config_origin_dns_output: JsonSchema = { /** * The schema of `spectrum-config_origin_dns_name` in responses. */ -export const spectrum_config_origin_dns_name_output: JsonSchema = { +export const spectrum$$config_origin_dns_name: JsonSchema = { "type": "string" }; /** * The schema of `spectrum-config_origin_dns_type` in responses. */ -export const spectrum_config_origin_dns_type_output: JsonSchema = { +export const spectrum$$config_origin_dns_type: JsonSchema = { "enum": [ "", "A", @@ -374,7 +374,7 @@ export const spectrum_config_origin_dns_type_output: JsonSchema = { /** * The schema of `spectrum-config_origin_port` in responses. */ -export const spectrum_config_origin_port_output: JsonSchema = { +export const spectrum$$config_origin_port: JsonSchema = { "anyOf": [ { "type": "integer" @@ -388,14 +388,14 @@ export const spectrum_config_origin_port_output: JsonSchema = { /** * The schema of `spectrum-config_origin_worker_id` in responses. */ -export const spectrum_config_origin_worker_id_output: JsonSchema = { +export const spectrum$$config_origin_worker_id: JsonSchema = { "type": "string" }; /** * The schema of `spectrum-config_paygo_app_config` in responses. */ -export const spectrum_config_paygo_app_config_output: JsonSchema = { +export const spectrum$$config_paygo_app_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-config_base_app_config" @@ -424,14 +424,14 @@ export const spectrum_config_paygo_app_config_output: JsonSchema = { /** * The schema of `spectrum-config_protocol` in responses. */ -export const spectrum_config_protocol_output: JsonSchema = { +export const spectrum$$config_protocol: JsonSchema = { "type": "string" }; /** * The schema of `spectrum-config_proxy_protocol` in responses. */ -export const spectrum_config_proxy_protocol_output: JsonSchema = { +export const spectrum$$config_proxy_protocol: JsonSchema = { "enum": [ "off", "v1", @@ -444,7 +444,7 @@ export const spectrum_config_proxy_protocol_output: JsonSchema = { /** * The schema of `spectrum-config_timestamp` in responses. */ -export const spectrum_config_timestamp_output: JsonSchema = { +export const spectrum$$config_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -452,7 +452,7 @@ export const spectrum_config_timestamp_output: JsonSchema = { /** * The schema of `spectrum-config_tls` in responses. */ -export const spectrum_config_tls_output: JsonSchema = { +export const spectrum$$config_tls: JsonSchema = { "enum": [ "off", "flexible", @@ -465,7 +465,7 @@ export const spectrum_config_tls_output: JsonSchema = { /** * The schema of `spectrum-config_traffic_type` in responses. */ -export const spectrum_config_traffic_type_output: JsonSchema = { +export const spectrum$$config_traffic_type: JsonSchema = { "enum": [ "direct", "http", @@ -478,7 +478,7 @@ export const spectrum_config_traffic_type_output: JsonSchema = { /** * The schema of `spectrum-config_virtual_network_id` in responses. */ -export const spectrum_config_virtual_network_id_output: JsonSchema = { +export const spectrum$$config_virtual_network_id: JsonSchema = { "format": "uuid", "type": "string" }; diff --git a/src/generated/forge-mcp/spectrum/apps/schemas.ts b/src/generated/forge-mcp/spectrum/apps/schemas.ts index 668e45997..7e1176ec9 100644 --- a/src/generated/forge-mcp/spectrum/apps/schemas.ts +++ b/src/generated/forge-mcp/spectrum/apps/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `spectrum-config_app_config`. */ -export const spectrum_config_app_config: JsonSchema = { +export const spectrum$$config_app_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-config_base_app_config" @@ -88,7 +88,7 @@ export const spectrum_config_app_config: JsonSchema = { /** * The schema of `spectrum-config_app_identifier`. */ -export const spectrum_config_app_identifier: JsonSchema = { +export const spectrum$$config_app_identifier: JsonSchema = { "$ref": "#/$defs/spectrum-config_identifier", "description": "App identifier." }; @@ -96,7 +96,7 @@ export const spectrum_config_app_identifier: JsonSchema = { /** * The schema of `spectrum-config_argo_smart_routing`. */ -export const spectrum_config_argo_smart_routing: JsonSchema = { +export const spectrum$$config_argo_smart_routing: JsonSchema = { "description": "Enables Argo Smart Routing for this application.\nNotes: Only available for TCP or UDP applications with traffic_type set to \"direct\".", "type": "boolean" }; @@ -104,14 +104,14 @@ export const spectrum_config_argo_smart_routing: JsonSchema = { /** * The schema of `spectrum-config_base_app_config`. */ -export const spectrum_config_base_app_config: JsonSchema = { +export const spectrum$$config_base_app_config: JsonSchema = { "type": "object" }; /** * The schema of `spectrum-config_dns`. */ -export const spectrum_config_dns: JsonSchema = { +export const spectrum$$config_dns: JsonSchema = { "description": "The name and type of DNS record for the Spectrum application.", "properties": { "name": { @@ -129,7 +129,7 @@ export const spectrum_config_dns: JsonSchema = { /** * The schema of `spectrum-config_dns_name`. */ -export const spectrum_config_dns_name: JsonSchema = { +export const spectrum$$config_dns_name: JsonSchema = { "description": "The name of the DNS record associated with the application.", "type": "string" }; @@ -137,7 +137,7 @@ export const spectrum_config_dns_name: JsonSchema = { /** * The schema of `spectrum-config_dns_ttl`. */ -export const spectrum_config_dns_ttl: JsonSchema = { +export const spectrum$$config_dns_ttl: JsonSchema = { "description": "The TTL of our resolution of your DNS record in seconds.", "type": "integer" }; @@ -145,7 +145,7 @@ export const spectrum_config_dns_ttl: JsonSchema = { /** * The schema of `spectrum-config_dns_type`. */ -export const spectrum_config_dns_type: JsonSchema = { +export const spectrum$$config_dns_type: JsonSchema = { "description": "The type of DNS record associated with the application.", "enum": [ "CNAME", @@ -157,7 +157,7 @@ export const spectrum_config_dns_type: JsonSchema = { /** * The schema of `spectrum-config_edge_ips`. */ -export const spectrum_config_edge_ips: JsonSchema = { +export const spectrum$$config_edge_ips: JsonSchema = { "description": "The anycast edge IP configuration for the hostname of this application.", "oneOf": [ { @@ -206,7 +206,7 @@ export const spectrum_config_edge_ips: JsonSchema = { /** * The schema of `spectrum-config_ip_firewall`. */ -export const spectrum_config_ip_firewall: JsonSchema = { +export const spectrum$$config_ip_firewall: JsonSchema = { "description": "Enables IP Access Rules for this application.\nNotes: Only available for TCP applications.", "type": "boolean" }; @@ -214,7 +214,7 @@ export const spectrum_config_ip_firewall: JsonSchema = { /** * The schema of `spectrum-config_origin_direct`. */ -export const spectrum_config_origin_direct: JsonSchema = { +export const spectrum$$config_origin_direct: JsonSchema = { "description": "List of origin IP addresses. Array may contain multiple IP addresses for load balancing.", "items": { "type": "string" @@ -225,7 +225,7 @@ export const spectrum_config_origin_direct: JsonSchema = { /** * The schema of `spectrum-config_origin_dns`. */ -export const spectrum_config_origin_dns: JsonSchema = { +export const spectrum$$config_origin_dns: JsonSchema = { "description": "The name and type of DNS record for the Spectrum application.", "properties": { "name": { @@ -247,7 +247,7 @@ export const spectrum_config_origin_dns: JsonSchema = { /** * The schema of `spectrum-config_origin_dns_name`. */ -export const spectrum_config_origin_dns_name: JsonSchema = { +export const spectrum$$config_origin_dns_name: JsonSchema = { "description": "The name of the DNS record associated with the origin.", "type": "string" }; @@ -255,7 +255,7 @@ export const spectrum_config_origin_dns_name: JsonSchema = { /** * The schema of `spectrum-config_origin_dns_type`. */ -export const spectrum_config_origin_dns_type: JsonSchema = { +export const spectrum$$config_origin_dns_type: JsonSchema = { "description": "The type of DNS record associated with the origin. \"\" is used to specify a combination of A/AAAA records.", "enum": [ "", @@ -269,7 +269,7 @@ export const spectrum_config_origin_dns_type: JsonSchema = { /** * The schema of `spectrum-config_origin_port`. */ -export const spectrum_config_origin_port: JsonSchema = { +export const spectrum$$config_origin_port: JsonSchema = { "anyOf": [ { "type": "integer" @@ -284,7 +284,7 @@ export const spectrum_config_origin_port: JsonSchema = { /** * The schema of `spectrum-config_origin_worker_id`. */ -export const spectrum_config_origin_worker_id: JsonSchema = { +export const spectrum$$config_origin_worker_id: JsonSchema = { "description": "Optional Worker script tag (worker ID) to use as the application's origin. Only supported for TCP applications with traffic_type \"worker\"; mutually exclusive with origin_direct, origin_dns, origin_port, proxy_protocol, and argo_smart_routing. tls may only be \"off\" or \"flexible\".", "type": "string" }; @@ -292,7 +292,7 @@ export const spectrum_config_origin_worker_id: JsonSchema = { /** * The schema of `spectrum-config_paygo_app_config`. */ -export const spectrum_config_paygo_app_config: JsonSchema = { +export const spectrum$$config_paygo_app_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-config_base_app_config" @@ -324,7 +324,7 @@ export const spectrum_config_paygo_app_config: JsonSchema = { /** * The schema of `spectrum-config_protocol`. */ -export const spectrum_config_protocol: JsonSchema = { +export const spectrum$$config_protocol: JsonSchema = { "description": "The port configuration at Cloudflare's edge. May specify a single port, for example `\"tcp/1000\"`, or a range of ports, for example `\"tcp/1000-2000\"`.", "type": "string" }; @@ -332,7 +332,7 @@ export const spectrum_config_protocol: JsonSchema = { /** * The schema of `spectrum-config_proxy_protocol`. */ -export const spectrum_config_proxy_protocol: JsonSchema = { +export const spectrum$$config_proxy_protocol: JsonSchema = { "description": "Enables Proxy Protocol to the origin. Refer to [Enable Proxy protocol](https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/) for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol.", "enum": [ "off", @@ -346,7 +346,7 @@ export const spectrum_config_proxy_protocol: JsonSchema = { /** * The schema of `spectrum-config_tls`. */ -export const spectrum_config_tls: JsonSchema = { +export const spectrum$$config_tls: JsonSchema = { "description": "The type of TLS termination associated with the application.", "enum": [ "off", @@ -360,7 +360,7 @@ export const spectrum_config_tls: JsonSchema = { /** * The schema of `spectrum-config_traffic_type`. */ -export const spectrum_config_traffic_type: JsonSchema = { +export const spectrum$$config_traffic_type: JsonSchema = { "description": "Determines how data travels from the edge to your origin. When set to \"direct\", Spectrum will send traffic directly to your origin, and the application's type is derived from the `protocol`. When set to \"http\" or \"https\", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. When set to \"worker\", traffic is sent to the Worker specified by `origin_worker_id`.", "enum": [ "direct", @@ -374,7 +374,7 @@ export const spectrum_config_traffic_type: JsonSchema = { /** * The schema of `spectrum-config_update_app_config`. */ -export const spectrum_config_update_app_config: JsonSchema = { +export const spectrum$$config_update_app_config: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/spectrum-config_app_config" @@ -388,7 +388,7 @@ export const spectrum_config_update_app_config: JsonSchema = { /** * The schema of `spectrum-config_virtual_network_id`. */ -export const spectrum_config_virtual_network_id: JsonSchema = { +export const spectrum$$config_virtual_network_id: JsonSchema = { "description": "Optional UUID of a virtual network for routing origin traffic through tunnel virtual networks.", "format": "uuid", "type": "string" diff --git a/src/generated/forge-mcp/spectrum/apps/tools.ts b/src/generated/forge-mcp/spectrum/apps/tools.ts index e1d431941..76f1c4249 100644 --- a/src/generated/forge-mcp/spectrum/apps/tools.ts +++ b/src/generated/forge-mcp/spectrum/apps/tools.ts @@ -1,73 +1,73 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - spectrum_config_api_response_collection_output, - spectrum_config_api_response_common_failure_output, - spectrum_config_api_response_common_output, - spectrum_config_identifier_output, - spectrum_config_messages_output, + spectrum$$config_api$$response$$collection, + spectrum$$config_api$$response$$common, + spectrum$$config_api$$response$$common$$failure, + spectrum$$config_identifier, + spectrum$$config_messages, } from "../outputs.js"; import { - spectrum_config_identifier, - spectrum_config_zone_identifier, + spectrum$$config_identifier as spectrum$$config_identifier$, + spectrum$$config_zone_identifier, } from "../schemas.js"; import { - spectrum_config_api_response_single_id_output, - spectrum_config_api_response_single_output, - spectrum_config_app_config_collection_output, - spectrum_config_app_config_output, - spectrum_config_app_config_single_output, - spectrum_config_app_identifier_output, - spectrum_config_argo_smart_routing_output, - spectrum_config_base_app_config_output, - spectrum_config_created_output, - spectrum_config_dns_name_output, - spectrum_config_dns_output, - spectrum_config_dns_ttl_output, - spectrum_config_dns_type_output, - spectrum_config_edge_ips_output, - spectrum_config_ip_firewall_output, - spectrum_config_modified_output, - spectrum_config_origin_direct_output, - spectrum_config_origin_dns_name_output, - spectrum_config_origin_dns_output, - spectrum_config_origin_dns_type_output, - spectrum_config_origin_port_output, - spectrum_config_origin_worker_id_output, - spectrum_config_paygo_app_config_output, - spectrum_config_protocol_output, - spectrum_config_proxy_protocol_output, - spectrum_config_timestamp_output, - spectrum_config_tls_output, - spectrum_config_traffic_type_output, - spectrum_config_virtual_network_id_output, + spectrum$$config_api$$response$$single, + spectrum$$config_api$$response$$single$$id, + spectrum$$config_app_config, + spectrum$$config_app_config_collection, + spectrum$$config_app_config_single, + spectrum$$config_app_identifier, + spectrum$$config_argo_smart_routing, + spectrum$$config_base_app_config, + spectrum$$config_created, + spectrum$$config_dns, + spectrum$$config_dns_name, + spectrum$$config_dns_ttl, + spectrum$$config_dns_type, + spectrum$$config_edge_ips, + spectrum$$config_ip_firewall, + spectrum$$config_modified, + spectrum$$config_origin_direct, + spectrum$$config_origin_dns, + spectrum$$config_origin_dns_name, + spectrum$$config_origin_dns_type, + spectrum$$config_origin_port, + spectrum$$config_origin_worker_id, + spectrum$$config_paygo_app_config, + spectrum$$config_protocol, + spectrum$$config_proxy_protocol, + spectrum$$config_timestamp, + spectrum$$config_tls, + spectrum$$config_traffic_type, + spectrum$$config_virtual_network_id, } from "./outputs.js"; import { - spectrum_config_app_config, - spectrum_config_app_identifier, - spectrum_config_argo_smart_routing, - spectrum_config_base_app_config, - spectrum_config_dns, - spectrum_config_dns_name, - spectrum_config_dns_ttl, - spectrum_config_dns_type, - spectrum_config_edge_ips, - spectrum_config_ip_firewall, - spectrum_config_origin_direct, - spectrum_config_origin_dns, - spectrum_config_origin_dns_name, - spectrum_config_origin_dns_type, - spectrum_config_origin_port, - spectrum_config_origin_worker_id, - spectrum_config_paygo_app_config, - spectrum_config_protocol, - spectrum_config_proxy_protocol, - spectrum_config_tls, - spectrum_config_traffic_type, - spectrum_config_update_app_config, - spectrum_config_virtual_network_id, + spectrum$$config_app_config as spectrum$$config_app_config$, + spectrum$$config_app_identifier as spectrum$$config_app_identifier$, + spectrum$$config_argo_smart_routing as spectrum$$config_argo_smart_routing$, + spectrum$$config_base_app_config as spectrum$$config_base_app_config$, + spectrum$$config_dns as spectrum$$config_dns$, + spectrum$$config_dns_name as spectrum$$config_dns_name$, + spectrum$$config_dns_ttl as spectrum$$config_dns_ttl$, + spectrum$$config_dns_type as spectrum$$config_dns_type$, + spectrum$$config_edge_ips as spectrum$$config_edge_ips$, + spectrum$$config_ip_firewall as spectrum$$config_ip_firewall$, + spectrum$$config_origin_direct as spectrum$$config_origin_direct$, + spectrum$$config_origin_dns as spectrum$$config_origin_dns$, + spectrum$$config_origin_dns_name as spectrum$$config_origin_dns_name$, + spectrum$$config_origin_dns_type as spectrum$$config_origin_dns_type$, + spectrum$$config_origin_port as spectrum$$config_origin_port$, + spectrum$$config_origin_worker_id as spectrum$$config_origin_worker_id$, + spectrum$$config_paygo_app_config as spectrum$$config_paygo_app_config$, + spectrum$$config_protocol as spectrum$$config_protocol$, + spectrum$$config_proxy_protocol as spectrum$$config_proxy_protocol$, + spectrum$$config_tls as spectrum$$config_tls$, + spectrum$$config_traffic_type as spectrum$$config_traffic_type$, + spectrum$$config_update_app_config, + spectrum$$config_virtual_network_id as spectrum$$config_virtual_network_id$, } from "./schemas.js"; /** @@ -84,74 +84,82 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/spectrum-config_update_app_config" }, - "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/spectrum-config_zone_identifier", + "description": "Zone identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "spectrum-config_app_config": spectrum_config_app_config, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing, - "spectrum-config_base_app_config": spectrum_config_base_app_config, - "spectrum-config_dns": spectrum_config_dns, - "spectrum-config_dns_name": spectrum_config_dns_name, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl, - "spectrum-config_dns_type": spectrum_config_dns_type, - "spectrum-config_edge_ips": spectrum_config_edge_ips, - "spectrum-config_identifier": spectrum_config_identifier, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall, - "spectrum-config_origin_direct": spectrum_config_origin_direct, - "spectrum-config_origin_dns": spectrum_config_origin_dns, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type, - "spectrum-config_origin_port": spectrum_config_origin_port, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config, - "spectrum-config_protocol": spectrum_config_protocol, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol, - "spectrum-config_tls": spectrum_config_tls, - "spectrum-config_traffic_type": spectrum_config_traffic_type, - "spectrum-config_update_app_config": spectrum_config_update_app_config, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id, - "spectrum-config_zone_identifier": spectrum_config_zone_identifier, + "spectrum-config_app_config": spectrum$$config_app_config$, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing$, + "spectrum-config_base_app_config": spectrum$$config_base_app_config$, + "spectrum-config_dns": spectrum$$config_dns$, + "spectrum-config_dns_name": spectrum$$config_dns_name$, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl$, + "spectrum-config_dns_type": spectrum$$config_dns_type$, + "spectrum-config_edge_ips": spectrum$$config_edge_ips$, + "spectrum-config_identifier": spectrum$$config_identifier$, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall$, + "spectrum-config_origin_direct": spectrum$$config_origin_direct$, + "spectrum-config_origin_dns": spectrum$$config_origin_dns$, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name$, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type$, + "spectrum-config_origin_port": spectrum$$config_origin_port$, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id$, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config$, + "spectrum-config_protocol": spectrum$$config_protocol$, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol$, + "spectrum-config_tls": spectrum$$config_tls$, + "spectrum-config_traffic_type": spectrum$$config_traffic_type$, + "spectrum-config_update_app_config": spectrum$$config_update_app_config, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id$, + "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, }, }, outputSchema: { "$ref": "#/$defs/spectrum-config_app_config_single", $defs: { - "spectrum-config_api-response-single": spectrum_config_api_response_single_output, - "spectrum-config_app_config": spectrum_config_app_config_output, - "spectrum-config_app_config_single": spectrum_config_app_config_single_output, - "spectrum-config_app_identifier": spectrum_config_app_identifier_output, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, - "spectrum-config_base_app_config": spectrum_config_base_app_config_output, - "spectrum-config_created": spectrum_config_created_output, - "spectrum-config_dns": spectrum_config_dns_output, - "spectrum-config_dns_name": spectrum_config_dns_name_output, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, - "spectrum-config_dns_type": spectrum_config_dns_type_output, - "spectrum-config_edge_ips": spectrum_config_edge_ips_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_modified": spectrum_config_modified_output, - "spectrum-config_origin_direct": spectrum_config_origin_direct_output, - "spectrum-config_origin_dns": spectrum_config_origin_dns_output, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, - "spectrum-config_origin_port": spectrum_config_origin_port_output, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, - "spectrum-config_protocol": spectrum_config_protocol_output, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, - "spectrum-config_timestamp": spectrum_config_timestamp_output, - "spectrum-config_tls": spectrum_config_tls_output, - "spectrum-config_traffic_type": spectrum_config_traffic_type_output, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, + "spectrum-config_app_config": spectrum$$config_app_config, + "spectrum-config_app_config_single": spectrum$$config_app_config_single, + "spectrum-config_app_identifier": spectrum$$config_app_identifier, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, + "spectrum-config_base_app_config": spectrum$$config_base_app_config, + "spectrum-config_created": spectrum$$config_created, + "spectrum-config_dns": spectrum$$config_dns, + "spectrum-config_dns_name": spectrum$$config_dns_name, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, + "spectrum-config_dns_type": spectrum$$config_dns_type, + "spectrum-config_edge_ips": spectrum$$config_edge_ips, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_modified": spectrum$$config_modified, + "spectrum-config_origin_direct": spectrum$$config_origin_direct, + "spectrum-config_origin_dns": spectrum$$config_origin_dns, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, + "spectrum-config_origin_port": spectrum$$config_origin_port, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, + "spectrum-config_protocol": spectrum$$config_protocol, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, + "spectrum-config_timestamp": spectrum$$config_timestamp, + "spectrum-config_tls": spectrum$$config_tls, + "spectrum-config_traffic_type": spectrum$$config_traffic_type, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, annotations: { @@ -178,36 +186,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, - "spectrum-config_api-response-single": spectrum_config_api_response_single_output, - "spectrum-config_app_config": spectrum_config_app_config_output, - "spectrum-config_app_config_single": spectrum_config_app_config_single_output, - "spectrum-config_app_identifier": spectrum_config_app_identifier_output, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, - "spectrum-config_base_app_config": spectrum_config_base_app_config_output, - "spectrum-config_created": spectrum_config_created_output, - "spectrum-config_dns": spectrum_config_dns_output, - "spectrum-config_dns_name": spectrum_config_dns_name_output, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, - "spectrum-config_dns_type": spectrum_config_dns_type_output, - "spectrum-config_edge_ips": spectrum_config_edge_ips_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_modified": spectrum_config_modified_output, - "spectrum-config_origin_direct": spectrum_config_origin_direct_output, - "spectrum-config_origin_dns": spectrum_config_origin_dns_output, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, - "spectrum-config_origin_port": spectrum_config_origin_port_output, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, - "spectrum-config_protocol": spectrum_config_protocol_output, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, - "spectrum-config_timestamp": spectrum_config_timestamp_output, - "spectrum-config_tls": spectrum_config_tls_output, - "spectrum-config_traffic_type": spectrum_config_traffic_type_output, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + "spectrum-config_api-response-common-failure": spectrum$$config_api$$response$$common$$failure, + "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, + "spectrum-config_app_config": spectrum$$config_app_config, + "spectrum-config_app_config_single": spectrum$$config_app_config_single, + "spectrum-config_app_identifier": spectrum$$config_app_identifier, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, + "spectrum-config_base_app_config": spectrum$$config_base_app_config, + "spectrum-config_created": spectrum$$config_created, + "spectrum-config_dns": spectrum$$config_dns, + "spectrum-config_dns_name": spectrum$$config_dns_name, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, + "spectrum-config_dns_type": spectrum$$config_dns_type, + "spectrum-config_edge_ips": spectrum$$config_edge_ips, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_modified": spectrum$$config_modified, + "spectrum-config_origin_direct": spectrum$$config_origin_direct, + "spectrum-config_origin_dns": spectrum$$config_origin_dns, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, + "spectrum-config_origin_port": spectrum$$config_origin_port, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, + "spectrum-config_protocol": spectrum$$config_protocol, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, + "spectrum-config_timestamp": spectrum$$config_timestamp, + "spectrum-config_tls": spectrum$$config_tls, + "spectrum-config_traffic_type": spectrum$$config_traffic_type, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, request: (args) => ({ @@ -222,32 +230,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "app_id": { - "$ref": "#/$defs/spectrum-config_app_identifier", - "description": "App identifier." - }, - "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "path": { + "properties": { + "app_id": { + "$ref": "#/$defs/spectrum-config_app_identifier", + "description": "App identifier." + }, + "zone_id": { + "$ref": "#/$defs/spectrum-config_zone_identifier", + "description": "Zone identifier." + } + }, + "required": [ + "zone_id", + "app_id" + ], + "type": "object" } }, required: [ - "zone_id", - "app_id" + "path" ], $defs: { - "spectrum-config_app_identifier": spectrum_config_app_identifier, - "spectrum-config_identifier": spectrum_config_identifier, - "spectrum-config_zone_identifier": spectrum_config_zone_identifier, + "spectrum-config_app_identifier": spectrum$$config_app_identifier$, + "spectrum-config_identifier": spectrum$$config_identifier$, + "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, }, }, outputSchema: { "$ref": "#/$defs/spectrum-config_api-response-single-id", $defs: { - "spectrum-config_api-response-common": spectrum_config_api_response_common_output, - "spectrum-config_api-response-single-id": spectrum_config_api_response_single_id_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_messages": spectrum_config_messages_output, + "spectrum-config_api-response-common": spectrum$$config_api$$response$$common, + "spectrum-config_api-response-single-id": spectrum$$config_api$$response$$single$$id, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_messages": spectrum$$config_messages, }, }, annotations: { @@ -274,11 +290,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-config_api-response-common": spectrum_config_api_response_common_output, - "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, - "spectrum-config_api-response-single-id": spectrum_config_api_response_single_id_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_messages": spectrum_config_messages_output, + "spectrum-config_api-response-common": spectrum$$config_api$$response$$common, + "spectrum-config_api-response-common-failure": spectrum$$config_api$$response$$common$$failure, + "spectrum-config_api-response-single-id": spectrum$$config_api$$response$$single$$id, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_messages": spectrum$$config_messages, }, }, request: (args) => ({ @@ -292,57 +308,65 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "app_id": { - "$ref": "#/$defs/spectrum-config_app_identifier", - "description": "App identifier." - }, - "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "path": { + "properties": { + "app_id": { + "$ref": "#/$defs/spectrum-config_app_identifier", + "description": "App identifier." + }, + "zone_id": { + "$ref": "#/$defs/spectrum-config_zone_identifier", + "description": "Zone identifier." + } + }, + "required": [ + "zone_id", + "app_id" + ], + "type": "object" } }, required: [ - "zone_id", - "app_id" + "path" ], $defs: { - "spectrum-config_app_identifier": spectrum_config_app_identifier, - "spectrum-config_identifier": spectrum_config_identifier, - "spectrum-config_zone_identifier": spectrum_config_zone_identifier, + "spectrum-config_app_identifier": spectrum$$config_app_identifier$, + "spectrum-config_identifier": spectrum$$config_identifier$, + "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, }, }, outputSchema: { "$ref": "#/$defs/spectrum-config_app_config_single", $defs: { - "spectrum-config_api-response-single": spectrum_config_api_response_single_output, - "spectrum-config_app_config": spectrum_config_app_config_output, - "spectrum-config_app_config_single": spectrum_config_app_config_single_output, - "spectrum-config_app_identifier": spectrum_config_app_identifier_output, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, - "spectrum-config_base_app_config": spectrum_config_base_app_config_output, - "spectrum-config_created": spectrum_config_created_output, - "spectrum-config_dns": spectrum_config_dns_output, - "spectrum-config_dns_name": spectrum_config_dns_name_output, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, - "spectrum-config_dns_type": spectrum_config_dns_type_output, - "spectrum-config_edge_ips": spectrum_config_edge_ips_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_modified": spectrum_config_modified_output, - "spectrum-config_origin_direct": spectrum_config_origin_direct_output, - "spectrum-config_origin_dns": spectrum_config_origin_dns_output, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, - "spectrum-config_origin_port": spectrum_config_origin_port_output, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, - "spectrum-config_protocol": spectrum_config_protocol_output, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, - "spectrum-config_timestamp": spectrum_config_timestamp_output, - "spectrum-config_tls": spectrum_config_tls_output, - "spectrum-config_traffic_type": spectrum_config_traffic_type_output, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, + "spectrum-config_app_config": spectrum$$config_app_config, + "spectrum-config_app_config_single": spectrum$$config_app_config_single, + "spectrum-config_app_identifier": spectrum$$config_app_identifier, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, + "spectrum-config_base_app_config": spectrum$$config_base_app_config, + "spectrum-config_created": spectrum$$config_created, + "spectrum-config_dns": spectrum$$config_dns, + "spectrum-config_dns_name": spectrum$$config_dns_name, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, + "spectrum-config_dns_type": spectrum$$config_dns_type, + "spectrum-config_edge_ips": spectrum$$config_edge_ips, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_modified": spectrum$$config_modified, + "spectrum-config_origin_direct": spectrum$$config_origin_direct, + "spectrum-config_origin_dns": spectrum$$config_origin_dns, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, + "spectrum-config_origin_port": spectrum$$config_origin_port, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, + "spectrum-config_protocol": spectrum$$config_protocol, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, + "spectrum-config_timestamp": spectrum$$config_timestamp, + "spectrum-config_tls": spectrum$$config_tls, + "spectrum-config_traffic_type": spectrum$$config_traffic_type, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, annotations: { @@ -370,36 +394,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, - "spectrum-config_api-response-single": spectrum_config_api_response_single_output, - "spectrum-config_app_config": spectrum_config_app_config_output, - "spectrum-config_app_config_single": spectrum_config_app_config_single_output, - "spectrum-config_app_identifier": spectrum_config_app_identifier_output, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, - "spectrum-config_base_app_config": spectrum_config_base_app_config_output, - "spectrum-config_created": spectrum_config_created_output, - "spectrum-config_dns": spectrum_config_dns_output, - "spectrum-config_dns_name": spectrum_config_dns_name_output, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, - "spectrum-config_dns_type": spectrum_config_dns_type_output, - "spectrum-config_edge_ips": spectrum_config_edge_ips_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_modified": spectrum_config_modified_output, - "spectrum-config_origin_direct": spectrum_config_origin_direct_output, - "spectrum-config_origin_dns": spectrum_config_origin_dns_output, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, - "spectrum-config_origin_port": spectrum_config_origin_port_output, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, - "spectrum-config_protocol": spectrum_config_protocol_output, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, - "spectrum-config_timestamp": spectrum_config_timestamp_output, - "spectrum-config_tls": spectrum_config_tls_output, - "spectrum-config_traffic_type": spectrum_config_traffic_type_output, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + "spectrum-config_api-response-common-failure": spectrum$$config_api$$response$$common$$failure, + "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, + "spectrum-config_app_config": spectrum$$config_app_config, + "spectrum-config_app_config_single": spectrum$$config_app_config_single, + "spectrum-config_app_identifier": spectrum$$config_app_identifier, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, + "spectrum-config_base_app_config": spectrum$$config_base_app_config, + "spectrum-config_created": spectrum$$config_created, + "spectrum-config_dns": spectrum$$config_dns, + "spectrum-config_dns_name": spectrum$$config_dns_name, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, + "spectrum-config_dns_type": spectrum$$config_dns_type, + "spectrum-config_edge_ips": spectrum$$config_edge_ips, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_modified": spectrum$$config_modified, + "spectrum-config_origin_direct": spectrum$$config_origin_direct, + "spectrum-config_origin_dns": spectrum$$config_origin_dns, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, + "spectrum-config_origin_port": spectrum$$config_origin_port, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, + "spectrum-config_protocol": spectrum$$config_protocol, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, + "spectrum-config_timestamp": spectrum$$config_timestamp, + "spectrum-config_tls": spectrum$$config_tls, + "spectrum-config_traffic_type": spectrum$$config_traffic_type, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, request: (args) => ({ @@ -413,82 +437,95 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "direction": { - "default": "asc", - "description": "Sets the direction by which results are ordered.", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/spectrum-config_zone_identifier", + "description": "Zone identifier." + } + }, + "required": [ + "zone_id" ], - "type": "string" + "type": "object" }, - "order": { - "default": "dns", - "description": "Application field by which results are ordered.", - "enum": [ - "protocol", - "app_id", - "created_on", - "modified_on", - "dns" - ], - "type": "string" - }, - "page": { - "description": "Page number of paginated results. This parameter is required in order to use other pagination parameters. If included in the query, `result_info` will be present in the response.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Sets the maximum number of results per page.", - "type": "number" - }, - "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "query": { + "properties": { + "direction": { + "default": "asc", + "description": "Sets the direction by which results are ordered.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "default": "dns", + "description": "Application field by which results are ordered.", + "enum": [ + "protocol", + "app_id", + "created_on", + "modified_on", + "dns" + ], + "type": "string" + }, + "page": { + "description": "Page number of paginated results. This parameter is required in order to use other pagination parameters. If included in the query, `result_info` will be present in the response.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Sets the maximum number of results per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "spectrum-config_identifier": spectrum_config_identifier, - "spectrum-config_zone_identifier": spectrum_config_zone_identifier, + "spectrum-config_identifier": spectrum$$config_identifier$, + "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, }, }, outputSchema: { "$ref": "#/$defs/spectrum-config_app_config_collection", $defs: { - "spectrum-config_api-response-collection": spectrum_config_api_response_collection_output, - "spectrum-config_api-response-common": spectrum_config_api_response_common_output, - "spectrum-config_app_config": spectrum_config_app_config_output, - "spectrum-config_app_config_collection": spectrum_config_app_config_collection_output, - "spectrum-config_app_identifier": spectrum_config_app_identifier_output, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, - "spectrum-config_base_app_config": spectrum_config_base_app_config_output, - "spectrum-config_created": spectrum_config_created_output, - "spectrum-config_dns": spectrum_config_dns_output, - "spectrum-config_dns_name": spectrum_config_dns_name_output, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, - "spectrum-config_dns_type": spectrum_config_dns_type_output, - "spectrum-config_edge_ips": spectrum_config_edge_ips_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_modified": spectrum_config_modified_output, - "spectrum-config_origin_direct": spectrum_config_origin_direct_output, - "spectrum-config_origin_dns": spectrum_config_origin_dns_output, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, - "spectrum-config_origin_port": spectrum_config_origin_port_output, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, - "spectrum-config_protocol": spectrum_config_protocol_output, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, - "spectrum-config_timestamp": spectrum_config_timestamp_output, - "spectrum-config_tls": spectrum_config_tls_output, - "spectrum-config_traffic_type": spectrum_config_traffic_type_output, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + "spectrum-config_api-response-collection": spectrum$$config_api$$response$$collection, + "spectrum-config_api-response-common": spectrum$$config_api$$response$$common, + "spectrum-config_app_config": spectrum$$config_app_config, + "spectrum-config_app_config_collection": spectrum$$config_app_config_collection, + "spectrum-config_app_identifier": spectrum$$config_app_identifier, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, + "spectrum-config_base_app_config": spectrum$$config_base_app_config, + "spectrum-config_created": spectrum$$config_created, + "spectrum-config_dns": spectrum$$config_dns, + "spectrum-config_dns_name": spectrum$$config_dns_name, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, + "spectrum-config_dns_type": spectrum$$config_dns_type, + "spectrum-config_edge_ips": spectrum$$config_edge_ips, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_modified": spectrum$$config_modified, + "spectrum-config_origin_direct": spectrum$$config_origin_direct, + "spectrum-config_origin_dns": spectrum$$config_origin_dns, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, + "spectrum-config_origin_port": spectrum$$config_origin_port, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, + "spectrum-config_protocol": spectrum$$config_protocol, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, + "spectrum-config_timestamp": spectrum$$config_timestamp, + "spectrum-config_tls": spectrum$$config_tls, + "spectrum-config_traffic_type": spectrum$$config_traffic_type, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, annotations: { @@ -516,46 +553,46 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-config_api-response-collection": spectrum_config_api_response_collection_output, - "spectrum-config_api-response-common": spectrum_config_api_response_common_output, - "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, - "spectrum-config_app_config": spectrum_config_app_config_output, - "spectrum-config_app_config_collection": spectrum_config_app_config_collection_output, - "spectrum-config_app_identifier": spectrum_config_app_identifier_output, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, - "spectrum-config_base_app_config": spectrum_config_base_app_config_output, - "spectrum-config_created": spectrum_config_created_output, - "spectrum-config_dns": spectrum_config_dns_output, - "spectrum-config_dns_name": spectrum_config_dns_name_output, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, - "spectrum-config_dns_type": spectrum_config_dns_type_output, - "spectrum-config_edge_ips": spectrum_config_edge_ips_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_modified": spectrum_config_modified_output, - "spectrum-config_origin_direct": spectrum_config_origin_direct_output, - "spectrum-config_origin_dns": spectrum_config_origin_dns_output, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, - "spectrum-config_origin_port": spectrum_config_origin_port_output, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, - "spectrum-config_protocol": spectrum_config_protocol_output, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, - "spectrum-config_timestamp": spectrum_config_timestamp_output, - "spectrum-config_tls": spectrum_config_tls_output, - "spectrum-config_traffic_type": spectrum_config_traffic_type_output, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + "spectrum-config_api-response-collection": spectrum$$config_api$$response$$collection, + "spectrum-config_api-response-common": spectrum$$config_api$$response$$common, + "spectrum-config_api-response-common-failure": spectrum$$config_api$$response$$common$$failure, + "spectrum-config_app_config": spectrum$$config_app_config, + "spectrum-config_app_config_collection": spectrum$$config_app_config_collection, + "spectrum-config_app_identifier": spectrum$$config_app_identifier, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, + "spectrum-config_base_app_config": spectrum$$config_base_app_config, + "spectrum-config_created": spectrum$$config_created, + "spectrum-config_dns": spectrum$$config_dns, + "spectrum-config_dns_name": spectrum$$config_dns_name, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, + "spectrum-config_dns_type": spectrum$$config_dns_type, + "spectrum-config_edge_ips": spectrum$$config_edge_ips, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_modified": spectrum$$config_modified, + "spectrum-config_origin_direct": spectrum$$config_origin_direct, + "spectrum-config_origin_dns": spectrum$$config_origin_dns, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, + "spectrum-config_origin_port": spectrum$$config_origin_port, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, + "spectrum-config_protocol": spectrum$$config_protocol, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, + "spectrum-config_timestamp": spectrum$$config_timestamp, + "spectrum-config_tls": spectrum$$config_tls, + "spectrum-config_traffic_type": spectrum$$config_traffic_type, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/spectrum/apps`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], - ["order", args["order"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], + ["order", param(args, "query", "order"), true], ], }), }, @@ -566,83 +603,91 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "app_id": { - "$ref": "#/$defs/spectrum-config_app_identifier", - "description": "App identifier." - }, "body": { "$ref": "#/$defs/spectrum-config_update_app_config" }, - "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "path": { + "properties": { + "app_id": { + "$ref": "#/$defs/spectrum-config_app_identifier", + "description": "App identifier." + }, + "zone_id": { + "$ref": "#/$defs/spectrum-config_zone_identifier", + "description": "Zone identifier." + } + }, + "required": [ + "zone_id", + "app_id" + ], + "type": "object" } }, required: [ - "zone_id", - "app_id", + "path", "body" ], $defs: { - "spectrum-config_app_config": spectrum_config_app_config, - "spectrum-config_app_identifier": spectrum_config_app_identifier, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing, - "spectrum-config_base_app_config": spectrum_config_base_app_config, - "spectrum-config_dns": spectrum_config_dns, - "spectrum-config_dns_name": spectrum_config_dns_name, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl, - "spectrum-config_dns_type": spectrum_config_dns_type, - "spectrum-config_edge_ips": spectrum_config_edge_ips, - "spectrum-config_identifier": spectrum_config_identifier, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall, - "spectrum-config_origin_direct": spectrum_config_origin_direct, - "spectrum-config_origin_dns": spectrum_config_origin_dns, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type, - "spectrum-config_origin_port": spectrum_config_origin_port, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config, - "spectrum-config_protocol": spectrum_config_protocol, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol, - "spectrum-config_tls": spectrum_config_tls, - "spectrum-config_traffic_type": spectrum_config_traffic_type, - "spectrum-config_update_app_config": spectrum_config_update_app_config, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id, - "spectrum-config_zone_identifier": spectrum_config_zone_identifier, + "spectrum-config_app_config": spectrum$$config_app_config$, + "spectrum-config_app_identifier": spectrum$$config_app_identifier$, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing$, + "spectrum-config_base_app_config": spectrum$$config_base_app_config$, + "spectrum-config_dns": spectrum$$config_dns$, + "spectrum-config_dns_name": spectrum$$config_dns_name$, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl$, + "spectrum-config_dns_type": spectrum$$config_dns_type$, + "spectrum-config_edge_ips": spectrum$$config_edge_ips$, + "spectrum-config_identifier": spectrum$$config_identifier$, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall$, + "spectrum-config_origin_direct": spectrum$$config_origin_direct$, + "spectrum-config_origin_dns": spectrum$$config_origin_dns$, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name$, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type$, + "spectrum-config_origin_port": spectrum$$config_origin_port$, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id$, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config$, + "spectrum-config_protocol": spectrum$$config_protocol$, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol$, + "spectrum-config_tls": spectrum$$config_tls$, + "spectrum-config_traffic_type": spectrum$$config_traffic_type$, + "spectrum-config_update_app_config": spectrum$$config_update_app_config, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id$, + "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, }, }, outputSchema: { "$ref": "#/$defs/spectrum-config_app_config_single", $defs: { - "spectrum-config_api-response-single": spectrum_config_api_response_single_output, - "spectrum-config_app_config": spectrum_config_app_config_output, - "spectrum-config_app_config_single": spectrum_config_app_config_single_output, - "spectrum-config_app_identifier": spectrum_config_app_identifier_output, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, - "spectrum-config_base_app_config": spectrum_config_base_app_config_output, - "spectrum-config_created": spectrum_config_created_output, - "spectrum-config_dns": spectrum_config_dns_output, - "spectrum-config_dns_name": spectrum_config_dns_name_output, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, - "spectrum-config_dns_type": spectrum_config_dns_type_output, - "spectrum-config_edge_ips": spectrum_config_edge_ips_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_modified": spectrum_config_modified_output, - "spectrum-config_origin_direct": spectrum_config_origin_direct_output, - "spectrum-config_origin_dns": spectrum_config_origin_dns_output, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, - "spectrum-config_origin_port": spectrum_config_origin_port_output, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, - "spectrum-config_protocol": spectrum_config_protocol_output, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, - "spectrum-config_timestamp": spectrum_config_timestamp_output, - "spectrum-config_tls": spectrum_config_tls_output, - "spectrum-config_traffic_type": spectrum_config_traffic_type_output, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, + "spectrum-config_app_config": spectrum$$config_app_config, + "spectrum-config_app_config_single": spectrum$$config_app_config_single, + "spectrum-config_app_identifier": spectrum$$config_app_identifier, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, + "spectrum-config_base_app_config": spectrum$$config_base_app_config, + "spectrum-config_created": spectrum$$config_created, + "spectrum-config_dns": spectrum$$config_dns, + "spectrum-config_dns_name": spectrum$$config_dns_name, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, + "spectrum-config_dns_type": spectrum$$config_dns_type, + "spectrum-config_edge_ips": spectrum$$config_edge_ips, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_modified": spectrum$$config_modified, + "spectrum-config_origin_direct": spectrum$$config_origin_direct, + "spectrum-config_origin_dns": spectrum$$config_origin_dns, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, + "spectrum-config_origin_port": spectrum$$config_origin_port, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, + "spectrum-config_protocol": spectrum$$config_protocol, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, + "spectrum-config_timestamp": spectrum$$config_timestamp, + "spectrum-config_tls": spectrum$$config_tls, + "spectrum-config_traffic_type": spectrum$$config_traffic_type, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, annotations: { @@ -669,36 +714,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, - "spectrum-config_api-response-single": spectrum_config_api_response_single_output, - "spectrum-config_app_config": spectrum_config_app_config_output, - "spectrum-config_app_config_single": spectrum_config_app_config_single_output, - "spectrum-config_app_identifier": spectrum_config_app_identifier_output, - "spectrum-config_argo_smart_routing": spectrum_config_argo_smart_routing_output, - "spectrum-config_base_app_config": spectrum_config_base_app_config_output, - "spectrum-config_created": spectrum_config_created_output, - "spectrum-config_dns": spectrum_config_dns_output, - "spectrum-config_dns_name": spectrum_config_dns_name_output, - "spectrum-config_dns_ttl": spectrum_config_dns_ttl_output, - "spectrum-config_dns_type": spectrum_config_dns_type_output, - "spectrum-config_edge_ips": spectrum_config_edge_ips_output, - "spectrum-config_identifier": spectrum_config_identifier_output, - "spectrum-config_ip_firewall": spectrum_config_ip_firewall_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_modified": spectrum_config_modified_output, - "spectrum-config_origin_direct": spectrum_config_origin_direct_output, - "spectrum-config_origin_dns": spectrum_config_origin_dns_output, - "spectrum-config_origin_dns_name": spectrum_config_origin_dns_name_output, - "spectrum-config_origin_dns_type": spectrum_config_origin_dns_type_output, - "spectrum-config_origin_port": spectrum_config_origin_port_output, - "spectrum-config_origin_worker_id": spectrum_config_origin_worker_id_output, - "spectrum-config_paygo_app_config": spectrum_config_paygo_app_config_output, - "spectrum-config_protocol": spectrum_config_protocol_output, - "spectrum-config_proxy_protocol": spectrum_config_proxy_protocol_output, - "spectrum-config_timestamp": spectrum_config_timestamp_output, - "spectrum-config_tls": spectrum_config_tls_output, - "spectrum-config_traffic_type": spectrum_config_traffic_type_output, - "spectrum-config_virtual_network_id": spectrum_config_virtual_network_id_output, + "spectrum-config_api-response-common-failure": spectrum$$config_api$$response$$common$$failure, + "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, + "spectrum-config_app_config": spectrum$$config_app_config, + "spectrum-config_app_config_single": spectrum$$config_app_config_single, + "spectrum-config_app_identifier": spectrum$$config_app_identifier, + "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, + "spectrum-config_base_app_config": spectrum$$config_base_app_config, + "spectrum-config_created": spectrum$$config_created, + "spectrum-config_dns": spectrum$$config_dns, + "spectrum-config_dns_name": spectrum$$config_dns_name, + "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, + "spectrum-config_dns_type": spectrum$$config_dns_type, + "spectrum-config_edge_ips": spectrum$$config_edge_ips, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_modified": spectrum$$config_modified, + "spectrum-config_origin_direct": spectrum$$config_origin_direct, + "spectrum-config_origin_dns": spectrum$$config_origin_dns, + "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, + "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, + "spectrum-config_origin_port": spectrum$$config_origin_port, + "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, + "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, + "spectrum-config_protocol": spectrum$$config_protocol, + "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, + "spectrum-config_timestamp": spectrum$$config_timestamp, + "spectrum-config_tls": spectrum$$config_tls, + "spectrum-config_traffic_type": spectrum$$config_traffic_type, + "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/spectrum/outputs.ts b/src/generated/forge-mcp/spectrum/outputs.ts index 62ae2b25c..f1161fb1d 100644 --- a/src/generated/forge-mcp/spectrum/outputs.ts +++ b/src/generated/forge-mcp/spectrum/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `spectrum-config_api-response-collection` in responses. */ -export const spectrum_config_api_response_collection_output: JsonSchema = { +export const spectrum$$config_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-config_api-response-common" @@ -42,7 +42,7 @@ export const spectrum_config_api_response_collection_output: JsonSchema = { /** * The schema of `spectrum-config_api-response-common` in responses. */ -export const spectrum_config_api_response_common_output: JsonSchema = { +export const spectrum$$config_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/spectrum-config_messages" @@ -68,7 +68,7 @@ export const spectrum_config_api_response_common_output: JsonSchema = { /** * The schema of `spectrum-config_api-response-common-failure` in responses. */ -export const spectrum_config_api_response_common_failure_output: JsonSchema = { +export const spectrum$$config_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/spectrum-config_messages" @@ -98,14 +98,14 @@ export const spectrum_config_api_response_common_failure_output: JsonSchema = { /** * The schema of `spectrum-config_identifier` in responses. */ -export const spectrum_config_identifier_output: JsonSchema = { +export const spectrum$$config_identifier: JsonSchema = { "type": "string" }; /** * The schema of `spectrum-config_messages` in responses. */ -export const spectrum_config_messages_output: JsonSchema = { +export const spectrum$$config_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/spectrum/protocols/outputs.ts b/src/generated/forge-mcp/spectrum/protocols/outputs.ts index 8edeedcb8..56592f01e 100644 --- a/src/generated/forge-mcp/spectrum/protocols/outputs.ts +++ b/src/generated/forge-mcp/spectrum/protocols/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `spectrum-config_app_protocol` in responses. */ -export const spectrum_config_app_protocol_output: JsonSchema = { +export const spectrum$$config_app_protocol: JsonSchema = { "properties": { "description": { "type": "string" @@ -36,7 +36,7 @@ export const spectrum_config_app_protocol_output: JsonSchema = { /** * The schema of `spectrum-config_protocol_collection` in responses. */ -export const spectrum_config_protocol_collection_output: JsonSchema = { +export const spectrum$$config_protocol_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/spectrum-config_api-response-collection" diff --git a/src/generated/forge-mcp/spectrum/protocols/tools.ts b/src/generated/forge-mcp/spectrum/protocols/tools.ts index 6e709ebb4..9419f172c 100644 --- a/src/generated/forge-mcp/spectrum/protocols/tools.ts +++ b/src/generated/forge-mcp/spectrum/protocols/tools.ts @@ -3,18 +3,18 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - spectrum_config_api_response_collection_output, - spectrum_config_api_response_common_failure_output, - spectrum_config_api_response_common_output, - spectrum_config_messages_output, + spectrum$$config_api$$response$$collection, + spectrum$$config_api$$response$$common, + spectrum$$config_api$$response$$common$$failure, + spectrum$$config_messages, } from "../outputs.js"; import { - spectrum_config_identifier, - spectrum_config_zone_identifier, + spectrum$$config_identifier, + spectrum$$config_zone_identifier, } from "../schemas.js"; import { - spectrum_config_app_protocol_output, - spectrum_config_protocol_collection_output, + spectrum$$config_app_protocol, + spectrum$$config_protocol_collection, } from "./outputs.js"; /** @@ -28,27 +28,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/spectrum-config_zone_identifier", + "description": "Zone identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "spectrum-config_identifier": spectrum_config_identifier, - "spectrum-config_zone_identifier": spectrum_config_zone_identifier, + "spectrum-config_identifier": spectrum$$config_identifier, + "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, }, }, outputSchema: { "$ref": "#/$defs/spectrum-config_protocol_collection", $defs: { - "spectrum-config_api-response-collection": spectrum_config_api_response_collection_output, - "spectrum-config_api-response-common": spectrum_config_api_response_common_output, - "spectrum-config_app_protocol": spectrum_config_app_protocol_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_protocol_collection": spectrum_config_protocol_collection_output, + "spectrum-config_api-response-collection": spectrum$$config_api$$response$$collection, + "spectrum-config_api-response-common": spectrum$$config_api$$response$$common, + "spectrum-config_app_protocol": spectrum$$config_app_protocol, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_protocol_collection": spectrum$$config_protocol_collection, }, }, annotations: { @@ -76,12 +84,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "spectrum-config_api-response-collection": spectrum_config_api_response_collection_output, - "spectrum-config_api-response-common": spectrum_config_api_response_common_output, - "spectrum-config_api-response-common-failure": spectrum_config_api_response_common_failure_output, - "spectrum-config_app_protocol": spectrum_config_app_protocol_output, - "spectrum-config_messages": spectrum_config_messages_output, - "spectrum-config_protocol_collection": spectrum_config_protocol_collection_output, + "spectrum-config_api-response-collection": spectrum$$config_api$$response$$collection, + "spectrum-config_api-response-common": spectrum$$config_api$$response$$common, + "spectrum-config_api-response-common-failure": spectrum$$config_api$$response$$common$$failure, + "spectrum-config_app_protocol": spectrum$$config_app_protocol, + "spectrum-config_messages": spectrum$$config_messages, + "spectrum-config_protocol_collection": spectrum$$config_protocol_collection, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/spectrum/schemas.ts b/src/generated/forge-mcp/spectrum/schemas.ts index 2c2702413..0752ab5e2 100644 --- a/src/generated/forge-mcp/spectrum/schemas.ts +++ b/src/generated/forge-mcp/spectrum/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `spectrum-config_identifier`. */ -export const spectrum_config_identifier: JsonSchema = { +export const spectrum$$config_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -14,7 +14,7 @@ export const spectrum_config_identifier: JsonSchema = { /** * The schema of `spectrum-config_zone_identifier`. */ -export const spectrum_config_zone_identifier: JsonSchema = { +export const spectrum$$config_zone_identifier: JsonSchema = { "$ref": "#/$defs/spectrum-config_identifier", "description": "Zone identifier." }; diff --git a/src/generated/forge-mcp/speed/availabilities/outputs.ts b/src/generated/forge-mcp/speed/availabilities/outputs.ts index a9fccf116..55a2e3c87 100644 --- a/src/generated/forge-mcp/speed/availabilities/outputs.ts +++ b/src/generated/forge-mcp/speed/availabilities/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `observatory_availabilities` in responses. */ -export const observatory_availabilities_output: JsonSchema = { +export const observatory_availabilities: JsonSchema = { "properties": { "quota": { "properties": { @@ -80,7 +80,7 @@ export const observatory_availabilities_output: JsonSchema = { /** * The schema of `observatory_availabilities-response` in responses. */ -export const observatory_availabilities_response_output: JsonSchema = { +export const observatory_availabilities$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/observatory_api-response-single" @@ -99,7 +99,7 @@ export const observatory_availabilities_response_output: JsonSchema = { /** * The schema of `observatory_plan-properties-info` in responses. */ -export const observatory_plan_properties_info_output: JsonSchema = { +export const observatory_plan$$properties$$info: JsonSchema = { "properties": { "business": { "type": "integer" diff --git a/src/generated/forge-mcp/speed/availabilities/tools.ts b/src/generated/forge-mcp/speed/availabilities/tools.ts index f13d5cc93..56831120e 100644 --- a/src/generated/forge-mcp/speed/availabilities/tools.ts +++ b/src/generated/forge-mcp/speed/availabilities/tools.ts @@ -3,17 +3,17 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - observatory_api_response_common_failure_output, - observatory_api_response_single_output, - observatory_labeled_region_output, - observatory_messages_output, - observatory_region_output, + observatory_api$$response$$common$$failure, + observatory_api$$response$$single, + observatory_labeled_region, + observatory_messages, + observatory_region, } from "../outputs.js"; import { observatory_identifier } from "../schemas.js"; import { - observatory_availabilities_output, - observatory_availabilities_response_output, - observatory_plan_properties_info_output, + observatory_availabilities, + observatory_availabilities$$response, + observatory_plan$$properties$$info, } from "./outputs.js"; /** @@ -27,13 +27,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "observatory_identifier": observatory_identifier, @@ -42,13 +50,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/observatory_availabilities-response", $defs: { - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_availabilities": observatory_availabilities_output, - "observatory_availabilities-response": observatory_availabilities_response_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_messages": observatory_messages_output, - "observatory_plan-properties-info": observatory_plan_properties_info_output, - "observatory_region": observatory_region_output, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_availabilities": observatory_availabilities, + "observatory_availabilities-response": observatory_availabilities$$response, + "observatory_labeled_region": observatory_labeled_region, + "observatory_messages": observatory_messages, + "observatory_plan-properties-info": observatory_plan$$properties$$info, + "observatory_region": observatory_region, }, }, annotations: { @@ -82,14 +90,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_availabilities": observatory_availabilities_output, - "observatory_availabilities-response": observatory_availabilities_response_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_messages": observatory_messages_output, - "observatory_plan-properties-info": observatory_plan_properties_info_output, - "observatory_region": observatory_region_output, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_availabilities": observatory_availabilities, + "observatory_availabilities-response": observatory_availabilities$$response, + "observatory_labeled_region": observatory_labeled_region, + "observatory_messages": observatory_messages, + "observatory_plan-properties-info": observatory_plan$$properties$$info, + "observatory_region": observatory_region, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/speed/outputs.ts b/src/generated/forge-mcp/speed/outputs.ts index b90605d2c..718e9ecf8 100644 --- a/src/generated/forge-mcp/speed/outputs.ts +++ b/src/generated/forge-mcp/speed/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `observatory_api-response-common-failure` in responses. */ -export const observatory_api_response_common_failure_output: JsonSchema = { +export const observatory_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/observatory_messages" @@ -36,7 +36,7 @@ export const observatory_api_response_common_failure_output: JsonSchema = { /** * The schema of `observatory_api-response-single` in responses. */ -export const observatory_api_response_single_output: JsonSchema = { +export const observatory_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/observatory_messages" @@ -59,7 +59,7 @@ export const observatory_api_response_single_output: JsonSchema = { /** * The schema of `observatory_count-response` in responses. */ -export const observatory_count_response_output: JsonSchema = { +export const observatory_count$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/observatory_api-response-single" @@ -83,7 +83,7 @@ export const observatory_count_response_output: JsonSchema = { /** * The schema of `observatory_device_type` in responses. */ -export const observatory_device_type_output: JsonSchema = { +export const observatory_device_type: JsonSchema = { "enum": [ "DESKTOP", "MOBILE" @@ -94,7 +94,7 @@ export const observatory_device_type_output: JsonSchema = { /** * The schema of `observatory_labeled_region` in responses. */ -export const observatory_labeled_region_output: JsonSchema = { +export const observatory_labeled_region: JsonSchema = { "properties": { "label": { "type": "string" @@ -109,7 +109,7 @@ export const observatory_labeled_region_output: JsonSchema = { /** * The schema of `observatory_lighthouse_error_code` in responses. */ -export const observatory_lighthouse_error_code_output: JsonSchema = { +export const observatory_lighthouse_error_code: JsonSchema = { "enum": [ "NOT_REACHABLE", "DNS_FAILURE", @@ -123,7 +123,7 @@ export const observatory_lighthouse_error_code_output: JsonSchema = { /** * The schema of `observatory_lighthouse_report` in responses. */ -export const observatory_lighthouse_report_output: JsonSchema = { +export const observatory_lighthouse_report: JsonSchema = { "properties": { "cls": { "type": "number" @@ -179,7 +179,7 @@ export const observatory_lighthouse_report_output: JsonSchema = { /** * The schema of `observatory_lighthouse_state` in responses. */ -export const observatory_lighthouse_state_output: JsonSchema = { +export const observatory_lighthouse_state: JsonSchema = { "enum": [ "RUNNING", "COMPLETE", @@ -191,7 +191,7 @@ export const observatory_lighthouse_state_output: JsonSchema = { /** * The schema of `observatory_messages` in responses. */ -export const observatory_messages_output: JsonSchema = { +export const observatory_messages: JsonSchema = { "items": { "properties": { "code": { @@ -213,7 +213,7 @@ export const observatory_messages_output: JsonSchema = { /** * The schema of `observatory_page_test` in responses. */ -export const observatory_page_test_output: JsonSchema = { +export const observatory_page_test: JsonSchema = { "properties": { "date": { "$ref": "#/$defs/observatory_timestamp" @@ -243,7 +243,7 @@ export const observatory_page_test_output: JsonSchema = { /** * The schema of `observatory_region` in responses. */ -export const observatory_region_output: JsonSchema = { +export const observatory_region: JsonSchema = { "enum": [ "asia-east1", "asia-northeast1", @@ -273,7 +273,7 @@ export const observatory_region_output: JsonSchema = { /** * The schema of `observatory_schedule_frequency` in responses. */ -export const observatory_schedule_frequency_output: JsonSchema = { +export const observatory_schedule_frequency: JsonSchema = { "enum": [ "DAILY", "WEEKLY" @@ -284,7 +284,7 @@ export const observatory_schedule_frequency_output: JsonSchema = { /** * The schema of `observatory_timestamp` in responses. */ -export const observatory_timestamp_output: JsonSchema = { +export const observatory_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -292,13 +292,13 @@ export const observatory_timestamp_output: JsonSchema = { /** * The schema of `observatory_url` in responses. */ -export const observatory_url_output: JsonSchema = { +export const observatory_url: JsonSchema = { "type": "string" }; /** * The schema of `observatory_uuid` in responses. */ -export const observatory_uuid_output: JsonSchema = { +export const observatory_uuid: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/speed/pages/outputs.ts b/src/generated/forge-mcp/speed/pages/outputs.ts index ff14bce38..15f1fca55 100644 --- a/src/generated/forge-mcp/speed/pages/outputs.ts +++ b/src/generated/forge-mcp/speed/pages/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `observatory_api-response-collection` in responses. */ -export const observatory_api_response_collection_output: JsonSchema = { +export const observatory_api$$response$$collection: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/observatory_messages" @@ -29,7 +29,7 @@ export const observatory_api_response_collection_output: JsonSchema = { /** * The schema of `observatory_pages-response-collection` in responses. */ -export const observatory_pages_response_collection_output: JsonSchema = { +export const observatory_pages$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/observatory_api-response-collection" @@ -68,7 +68,7 @@ export const observatory_pages_response_collection_output: JsonSchema = { /** * The schema of `observatory_trend` in responses. */ -export const observatory_trend_output: JsonSchema = { +export const observatory_trend: JsonSchema = { "properties": { "cls": { "items": { @@ -181,7 +181,7 @@ export const observatory_trend_output: JsonSchema = { /** * The schema of `observatory_trend-response` in responses. */ -export const observatory_trend_response_output: JsonSchema = { +export const observatory_trend$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/observatory_api-response-single" diff --git a/src/generated/forge-mcp/speed/pages/tests/outputs.ts b/src/generated/forge-mcp/speed/pages/tests/outputs.ts index c127019ec..5a3aa9e82 100644 --- a/src/generated/forge-mcp/speed/pages/tests/outputs.ts +++ b/src/generated/forge-mcp/speed/pages/tests/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `observatory_page-test-response-collection` in responses. */ -export const observatory_page_test_response_collection_output: JsonSchema = { +export const observatory_page$$test$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/observatory_api-response-collection" @@ -36,7 +36,7 @@ export const observatory_page_test_response_collection_output: JsonSchema = { /** * The schema of `observatory_page-test-response-single` in responses. */ -export const observatory_page_test_response_single_output: JsonSchema = { +export const observatory_page$$test$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/observatory_api-response-single" @@ -55,7 +55,7 @@ export const observatory_page_test_response_single_output: JsonSchema = { /** * The schema of `observatory_result_info` in responses. */ -export const observatory_result_info_output: JsonSchema = { +export const observatory_result_info: JsonSchema = { "properties": { "count": { "type": "integer" diff --git a/src/generated/forge-mcp/speed/pages/tests/tools.ts b/src/generated/forge-mcp/speed/pages/tests/tools.ts index f1b642a8d..b3e4a067c 100644 --- a/src/generated/forge-mcp/speed/pages/tests/tools.ts +++ b/src/generated/forge-mcp/speed/pages/tests/tools.ts @@ -1,34 +1,34 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - observatory_api_response_common_failure_output, - observatory_api_response_single_output, - observatory_count_response_output, - observatory_device_type_output, - observatory_labeled_region_output, - observatory_lighthouse_error_code_output, - observatory_lighthouse_report_output, - observatory_lighthouse_state_output, - observatory_messages_output, - observatory_page_test_output, - observatory_region_output, - observatory_schedule_frequency_output, - observatory_timestamp_output, - observatory_url_output, - observatory_uuid_output, + observatory_api$$response$$common$$failure, + observatory_api$$response$$single, + observatory_count$$response, + observatory_device_type, + observatory_labeled_region, + observatory_lighthouse_error_code, + observatory_lighthouse_report, + observatory_lighthouse_state, + observatory_messages, + observatory_page_test, + observatory_region, + observatory_schedule_frequency, + observatory_timestamp, + observatory_url, + observatory_uuid, } from "../../outputs.js"; import { observatory_identifier, - observatory_region, - observatory_url, + observatory_region as observatory_region$, + observatory_url as observatory_url$, } from "../../schemas.js"; -import { observatory_api_response_collection_output } from "../outputs.js"; +import { observatory_api$$response$$collection } from "../outputs.js"; import { - observatory_page_test_response_collection_output, - observatory_page_test_response_single_output, - observatory_result_info_output, + observatory_page$$test$$response$$collection, + observatory_page$$test$$response$$single, + observatory_result_info, } from "./outputs.js"; /** @@ -57,42 +57,50 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." - }, - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "path": { + "properties": { + "url": { + "$ref": "#/$defs/observatory_url", + "description": "A URL." + }, + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "url" + ], + "type": "object" } }, required: [ - "zone_id", - "url" + "path" ], $defs: { "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region, - "observatory_url": observatory_url, + "observatory_region": observatory_region$, + "observatory_url": observatory_url$, }, }, outputSchema: { "$ref": "#/$defs/observatory_page-test-response-single", $defs: { - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page-test-response-single": observatory_page_test_response_single_output, - "observatory_page_test": observatory_page_test_output, - "observatory_region": observatory_region_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page-test-response-single": observatory_page$$test$$response$$single, + "observatory_page_test": observatory_page_test, + "observatory_region": observatory_region, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -125,21 +133,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page-test-response-single": observatory_page_test_response_single_output, - "observatory_page_test": observatory_page_test_output, - "observatory_region": observatory_region_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page-test-response-single": observatory_page$$test$$response$$single, + "observatory_page_test": observatory_page_test, + "observatory_region": observatory_region, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ @@ -154,41 +162,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "region": { - "allOf": [ - { - "$ref": "#/$defs/observatory_region" + "path": { + "properties": { + "url": { + "$ref": "#/$defs/observatory_url", + "description": "A URL." }, - { - "type": "string" + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." } - ] - }, - "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + }, + "required": [ + "zone_id", + "url" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "query": { + "properties": { + "region": { + "allOf": [ + { + "$ref": "#/$defs/observatory_region" + }, + { + "type": "string" + } + ] + } + }, + "type": "object" } }, required: [ - "zone_id", - "url" + "path" ], $defs: { "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region, - "observatory_url": observatory_url, + "observatory_region": observatory_region$, + "observatory_url": observatory_url$, }, }, outputSchema: { "$ref": "#/$defs/observatory_count-response", $defs: { - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_count-response": observatory_count_response_output, - "observatory_messages": observatory_messages_output, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_count-response": observatory_count$$response, + "observatory_messages": observatory_messages, }, }, annotations: { @@ -221,16 +242,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_count-response": observatory_count_response_output, - "observatory_messages": observatory_messages_output, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_count-response": observatory_count$$response, + "observatory_messages": observatory_messages, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/pages/${pathParam(args, "url")}/tests`, query: [ - ["region", args["region"], true], + ["region", param(args, "query", "region"), true], ], }), }, @@ -241,45 +262,53 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "test_id": { - "type": "string" - }, - "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." - }, - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "path": { + "properties": { + "test_id": { + "type": "string" + }, + "url": { + "$ref": "#/$defs/observatory_url", + "description": "A URL." + }, + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "url", + "test_id" + ], + "type": "object" } }, required: [ - "zone_id", - "url", - "test_id" + "path" ], $defs: { "observatory_identifier": observatory_identifier, - "observatory_url": observatory_url, + "observatory_url": observatory_url$, }, }, outputSchema: { "$ref": "#/$defs/observatory_page-test-response-single", $defs: { - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page-test-response-single": observatory_page_test_response_single_output, - "observatory_page_test": observatory_page_test_output, - "observatory_region": observatory_region_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page-test-response-single": observatory_page$$test$$response$$single, + "observatory_page_test": observatory_page_test, + "observatory_region": observatory_region, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -313,21 +342,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page-test-response-single": observatory_page_test_response_single_output, - "observatory_page_test": observatory_page_test_output, - "observatory_region": observatory_region_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page-test-response-single": observatory_page$$test$$response$$single, + "observatory_page_test": observatory_page_test, + "observatory_region": observatory_region, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ @@ -341,61 +370,74 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "type": "integer" - }, - "per_page": { - "default": 20, - "type": "integer" - }, - "region": { - "allOf": [ - { - "$ref": "#/$defs/observatory_region" + "path": { + "properties": { + "url": { + "$ref": "#/$defs/observatory_url", + "description": "A URL." }, - { - "type": "string" + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." } - ] - }, - "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + }, + "required": [ + "zone_id", + "url" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "query": { + "properties": { + "page": { + "default": 1, + "type": "integer" + }, + "per_page": { + "default": 20, + "type": "integer" + }, + "region": { + "allOf": [ + { + "$ref": "#/$defs/observatory_region" + }, + { + "type": "string" + } + ] + } + }, + "type": "object" } }, required: [ - "zone_id", - "url" + "path" ], $defs: { "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region, - "observatory_url": observatory_url, + "observatory_region": observatory_region$, + "observatory_url": observatory_url$, }, }, outputSchema: { "$ref": "#/$defs/observatory_page-test-response-collection", $defs: { - "observatory_api-response-collection": observatory_api_response_collection_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page-test-response-collection": observatory_page_test_response_collection_output, - "observatory_page_test": observatory_page_test_output, - "observatory_region": observatory_region_output, - "observatory_result_info": observatory_result_info_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-collection": observatory_api$$response$$collection, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page-test-response-collection": observatory_page$$test$$response$$collection, + "observatory_page_test": observatory_page_test, + "observatory_region": observatory_region, + "observatory_result_info": observatory_result_info, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -429,30 +471,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-collection": observatory_api_response_collection_output, - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page-test-response-collection": observatory_page_test_response_collection_output, - "observatory_page_test": observatory_page_test_output, - "observatory_region": observatory_region_output, - "observatory_result_info": observatory_result_info_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-collection": observatory_api$$response$$collection, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page-test-response-collection": observatory_page$$test$$response$$collection, + "observatory_page_test": observatory_page_test, + "observatory_region": observatory_region, + "observatory_result_info": observatory_result_info, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/pages/${pathParam(args, "url")}/tests`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["region", args["region"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["region", param(args, "query", "region"), true], ], }), }, diff --git a/src/generated/forge-mcp/speed/pages/tools.ts b/src/generated/forge-mcp/speed/pages/tools.ts index 8608c64d7..d2d8076ae 100644 --- a/src/generated/forge-mcp/speed/pages/tools.ts +++ b/src/generated/forge-mcp/speed/pages/tools.ts @@ -1,35 +1,35 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - observatory_api_response_common_failure_output, - observatory_api_response_single_output, - observatory_device_type_output, - observatory_labeled_region_output, - observatory_lighthouse_error_code_output, - observatory_lighthouse_report_output, - observatory_lighthouse_state_output, - observatory_messages_output, - observatory_page_test_output, - observatory_region_output, - observatory_schedule_frequency_output, - observatory_timestamp_output, - observatory_url_output, - observatory_uuid_output, -} from "../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { + observatory_api$$response$$common$$failure, + observatory_api$$response$$single, observatory_device_type, - observatory_identifier, + observatory_labeled_region, + observatory_lighthouse_error_code, + observatory_lighthouse_report, + observatory_lighthouse_state, + observatory_messages, + observatory_page_test, observatory_region, + observatory_schedule_frequency, observatory_timestamp, observatory_url, + observatory_uuid, +} from "../outputs.js"; +import { + observatory_device_type as observatory_device_type$, + observatory_identifier, + observatory_region as observatory_region$, + observatory_timestamp as observatory_timestamp$, + observatory_url as observatory_url$, } from "../schemas.js"; import { - observatory_api_response_collection_output, - observatory_pages_response_collection_output, - observatory_trend_output, - observatory_trend_response_output, + observatory_api$$response$$collection, + observatory_pages$$response$$collection, + observatory_trend, + observatory_trend$$response, } from "./outputs.js"; /** @@ -43,13 +43,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "observatory_identifier": observatory_identifier, @@ -58,20 +66,20 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/observatory_pages-response-collection", $defs: { - "observatory_api-response-collection": observatory_api_response_collection_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page_test": observatory_page_test_output, - "observatory_pages-response-collection": observatory_pages_response_collection_output, - "observatory_region": observatory_region_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-collection": observatory_api$$response$$collection, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page_test": observatory_page_test, + "observatory_pages-response-collection": observatory_pages$$response$$collection, + "observatory_region": observatory_region, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -105,21 +113,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-collection": observatory_api_response_collection_output, - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page_test": observatory_page_test_output, - "observatory_pages-response-collection": observatory_pages_response_collection_output, - "observatory_region": observatory_region_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-collection": observatory_api$$response$$collection, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page_test": observatory_page_test, + "observatory_pages-response-collection": observatory_pages$$response$$collection, + "observatory_region": observatory_region, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ @@ -133,61 +141,77 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "device_type": { - "$ref": "#/$defs/observatory_device_type", - "description": "The type of device." - }, - "end": { - "$ref": "#/$defs/observatory_timestamp" - }, - "metrics": { - "description": "A comma-separated list of metrics to include in the results.", - "type": "string" - }, - "region": { - "$ref": "#/$defs/observatory_region", - "description": "A test region." - }, - "start": { - "$ref": "#/$defs/observatory_timestamp" + "path": { + "properties": { + "url": { + "$ref": "#/$defs/observatory_url", + "description": "A URL." + }, + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "url" + ], + "type": "object" }, - "tz": { - "description": "The timezone of the start and end timestamps.", - "type": "string" - }, - "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." - }, - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "query": { + "properties": { + "deviceType": { + "$ref": "#/$defs/observatory_device_type", + "description": "The type of device." + }, + "end": { + "$ref": "#/$defs/observatory_timestamp" + }, + "metrics": { + "description": "A comma-separated list of metrics to include in the results.", + "type": "string" + }, + "region": { + "$ref": "#/$defs/observatory_region", + "description": "A test region." + }, + "start": { + "$ref": "#/$defs/observatory_timestamp" + }, + "tz": { + "description": "The timezone of the start and end timestamps.", + "type": "string" + } + }, + "required": [ + "region", + "deviceType", + "start", + "tz", + "metrics" + ], + "type": "object" } }, required: [ - "zone_id", - "url", - "region", - "device_type", - "start", - "tz", - "metrics" + "path", + "query" ], $defs: { - "observatory_device_type": observatory_device_type, + "observatory_device_type": observatory_device_type$, "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, + "observatory_region": observatory_region$, + "observatory_timestamp": observatory_timestamp$, + "observatory_url": observatory_url$, }, }, outputSchema: { "$ref": "#/$defs/observatory_trend-response", $defs: { - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_messages": observatory_messages_output, - "observatory_trend": observatory_trend_output, - "observatory_trend-response": observatory_trend_response_output, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_messages": observatory_messages, + "observatory_trend": observatory_trend, + "observatory_trend-response": observatory_trend$$response, }, }, annotations: { @@ -221,22 +245,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_messages": observatory_messages_output, - "observatory_trend": observatory_trend_output, - "observatory_trend-response": observatory_trend_response_output, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_messages": observatory_messages, + "observatory_trend": observatory_trend, + "observatory_trend-response": observatory_trend$$response, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/pages/${pathParam(args, "url")}/trend`, query: [ - ["region", args["region"], true], - ["deviceType", args["device_type"], true], - ["start", args["start"], true], - ["end", args["end"], true], - ["tz", args["tz"], true], - ["metrics", args["metrics"], true], + ["region", param(args, "query", "region"), true], + ["deviceType", param(args, "query", "deviceType"), true], + ["start", param(args, "query", "start"), true], + ["end", param(args, "query", "end"), true], + ["tz", param(args, "query", "tz"), true], + ["metrics", param(args, "query", "metrics"), true], ], }), }, diff --git a/src/generated/forge-mcp/speed/schedule/outputs.ts b/src/generated/forge-mcp/speed/schedule/outputs.ts index 16326d08d..b0c23c8c9 100644 --- a/src/generated/forge-mcp/speed/schedule/outputs.ts +++ b/src/generated/forge-mcp/speed/schedule/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `observatory_create-schedule-response` in responses. */ -export const observatory_create_schedule_response_output: JsonSchema = { +export const observatory_create$$schedule$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/observatory_api-response-single" @@ -33,7 +33,7 @@ export const observatory_create_schedule_response_output: JsonSchema = { /** * The schema of `observatory_schedule` in responses. */ -export const observatory_schedule_output: JsonSchema = { +export const observatory_schedule: JsonSchema = { "properties": { "frequency": { "$ref": "#/$defs/observatory_schedule_frequency" @@ -51,7 +51,7 @@ export const observatory_schedule_output: JsonSchema = { /** * The schema of `observatory_schedule-response-single` in responses. */ -export const observatory_schedule_response_single_output: JsonSchema = { +export const observatory_schedule$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/observatory_api-response-single" diff --git a/src/generated/forge-mcp/speed/schedule/tools.ts b/src/generated/forge-mcp/speed/schedule/tools.ts index 6871aa181..2feaf8a65 100644 --- a/src/generated/forge-mcp/speed/schedule/tools.ts +++ b/src/generated/forge-mcp/speed/schedule/tools.ts @@ -1,34 +1,34 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - observatory_api_response_common_failure_output, - observatory_api_response_single_output, - observatory_count_response_output, - observatory_device_type_output, - observatory_labeled_region_output, - observatory_lighthouse_error_code_output, - observatory_lighthouse_report_output, - observatory_lighthouse_state_output, - observatory_messages_output, - observatory_page_test_output, - observatory_region_output, - observatory_schedule_frequency_output, - observatory_timestamp_output, - observatory_url_output, - observatory_uuid_output, -} from "../outputs.js"; -import { - observatory_identifier, + observatory_api$$response$$common$$failure, + observatory_api$$response$$single, + observatory_count$$response, + observatory_device_type, + observatory_labeled_region, + observatory_lighthouse_error_code, + observatory_lighthouse_report, + observatory_lighthouse_state, + observatory_messages, + observatory_page_test, observatory_region, observatory_schedule_frequency, + observatory_timestamp, observatory_url, + observatory_uuid, +} from "../outputs.js"; +import { + observatory_identifier, + observatory_region as observatory_region$, + observatory_schedule_frequency as observatory_schedule_frequency$, + observatory_url as observatory_url$, } from "../schemas.js"; import { - observatory_create_schedule_response_output, - observatory_schedule_output, - observatory_schedule_response_single_output, + observatory_create$$schedule$$response, + observatory_schedule, + observatory_schedule$$response$$single, } from "./outputs.js"; /** @@ -42,58 +42,71 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "frequency": { - "$ref": "#/$defs/observatory_schedule_frequency", - "description": "The frequency of the scheduled test. Defaults to WEEKLY for free plans, DAILY for paid plans." - }, - "region": { - "allOf": [ - { - "$ref": "#/$defs/observatory_region" + "path": { + "properties": { + "url": { + "$ref": "#/$defs/observatory_url", + "description": "A URL." }, - { - "type": "string" + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." } - ] + }, + "required": [ + "zone_id", + "url" + ], + "type": "object" }, - "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." - }, - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "query": { + "properties": { + "frequency": { + "$ref": "#/$defs/observatory_schedule_frequency", + "description": "The frequency of the scheduled test. Defaults to WEEKLY for free plans, DAILY for paid plans." + }, + "region": { + "allOf": [ + { + "$ref": "#/$defs/observatory_region" + }, + { + "type": "string" + } + ] + } + }, + "type": "object" } }, required: [ - "zone_id", - "url" + "path" ], $defs: { "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_url": observatory_url, + "observatory_region": observatory_region$, + "observatory_schedule_frequency": observatory_schedule_frequency$, + "observatory_url": observatory_url$, }, }, outputSchema: { "$ref": "#/$defs/observatory_create-schedule-response", $defs: { - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_create-schedule-response": observatory_create_schedule_response_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page_test": observatory_page_test_output, - "observatory_region": observatory_region_output, - "observatory_schedule": observatory_schedule_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_create-schedule-response": observatory_create$$schedule$$response, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page_test": observatory_page_test, + "observatory_region": observatory_region, + "observatory_schedule": observatory_schedule, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -126,29 +139,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_create-schedule-response": observatory_create_schedule_response_output, - "observatory_device_type": observatory_device_type_output, - "observatory_labeled_region": observatory_labeled_region_output, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code_output, - "observatory_lighthouse_report": observatory_lighthouse_report_output, - "observatory_lighthouse_state": observatory_lighthouse_state_output, - "observatory_messages": observatory_messages_output, - "observatory_page_test": observatory_page_test_output, - "observatory_region": observatory_region_output, - "observatory_schedule": observatory_schedule_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_timestamp": observatory_timestamp_output, - "observatory_url": observatory_url_output, - "observatory_uuid": observatory_uuid_output, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_create-schedule-response": observatory_create$$schedule$$response, + "observatory_device_type": observatory_device_type, + "observatory_labeled_region": observatory_labeled_region, + "observatory_lighthouse_error_code": observatory_lighthouse_error_code, + "observatory_lighthouse_report": observatory_lighthouse_report, + "observatory_lighthouse_state": observatory_lighthouse_state, + "observatory_messages": observatory_messages, + "observatory_page_test": observatory_page_test, + "observatory_region": observatory_region, + "observatory_schedule": observatory_schedule, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_timestamp": observatory_timestamp, + "observatory_url": observatory_url, + "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/schedule/${pathParam(args, "url")}`, query: [ - ["region", args["region"], true], - ["frequency", args["frequency"], true], + ["region", param(args, "query", "region"), true], + ["frequency", param(args, "query", "frequency"), true], ], }), }, @@ -159,41 +172,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "region": { - "allOf": [ - { - "$ref": "#/$defs/observatory_region" + "path": { + "properties": { + "url": { + "$ref": "#/$defs/observatory_url", + "description": "A URL." }, - { - "type": "string" + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." } - ] + }, + "required": [ + "zone_id", + "url" + ], + "type": "object" }, - "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." - }, - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "query": { + "properties": { + "region": { + "allOf": [ + { + "$ref": "#/$defs/observatory_region" + }, + { + "type": "string" + } + ] + } + }, + "type": "object" } }, required: [ - "zone_id", - "url" + "path" ], $defs: { "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region, - "observatory_url": observatory_url, + "observatory_region": observatory_region$, + "observatory_url": observatory_url$, }, }, outputSchema: { "$ref": "#/$defs/observatory_count-response", $defs: { - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_count-response": observatory_count_response_output, - "observatory_messages": observatory_messages_output, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_count-response": observatory_count$$response, + "observatory_messages": observatory_messages, }, }, annotations: { @@ -226,16 +252,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_count-response": observatory_count_response_output, - "observatory_messages": observatory_messages_output, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_count-response": observatory_count$$response, + "observatory_messages": observatory_messages, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/schedule/${pathParam(args, "url")}`, query: [ - ["region", args["region"], true], + ["region", param(args, "query", "region"), true], ], }), }, @@ -246,45 +272,58 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "region": { - "allOf": [ - { - "$ref": "#/$defs/observatory_region" + "path": { + "properties": { + "url": { + "$ref": "#/$defs/observatory_url", + "description": "A URL." }, - { - "type": "string" + "zone_id": { + "$ref": "#/$defs/observatory_identifier", + "description": "Identifier." } - ] + }, + "required": [ + "zone_id", + "url" + ], + "type": "object" }, - "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." - }, - "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "query": { + "properties": { + "region": { + "allOf": [ + { + "$ref": "#/$defs/observatory_region" + }, + { + "type": "string" + } + ] + } + }, + "type": "object" } }, required: [ - "zone_id", - "url" + "path" ], $defs: { "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region, - "observatory_url": observatory_url, + "observatory_region": observatory_region$, + "observatory_url": observatory_url$, }, }, outputSchema: { "$ref": "#/$defs/observatory_schedule-response-single", $defs: { - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_messages": observatory_messages_output, - "observatory_region": observatory_region_output, - "observatory_schedule": observatory_schedule_output, - "observatory_schedule-response-single": observatory_schedule_response_single_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_url": observatory_url_output, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_messages": observatory_messages, + "observatory_region": observatory_region, + "observatory_schedule": observatory_schedule, + "observatory_schedule-response-single": observatory_schedule$$response$$single, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_url": observatory_url, }, }, annotations: { @@ -318,20 +357,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "observatory_api-response-common-failure": observatory_api_response_common_failure_output, - "observatory_api-response-single": observatory_api_response_single_output, - "observatory_messages": observatory_messages_output, - "observatory_region": observatory_region_output, - "observatory_schedule": observatory_schedule_output, - "observatory_schedule-response-single": observatory_schedule_response_single_output, - "observatory_schedule_frequency": observatory_schedule_frequency_output, - "observatory_url": observatory_url_output, + "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, + "observatory_api-response-single": observatory_api$$response$$single, + "observatory_messages": observatory_messages, + "observatory_region": observatory_region, + "observatory_schedule": observatory_schedule, + "observatory_schedule-response-single": observatory_schedule$$response$$single, + "observatory_schedule_frequency": observatory_schedule_frequency, + "observatory_url": observatory_url, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/speed_api/schedule/${pathParam(args, "url")}`, query: [ - ["region", args["region"], true], + ["region", param(args, "query", "region"), true], ], }), }, diff --git a/src/generated/forge-mcp/sql/tools.ts b/src/generated/forge-mcp/sql/tools.ts index 349b1aec6..c5a224ea3 100644 --- a/src/generated/forge-mcp/sql/tools.ts +++ b/src/generated/forge-mcp/sql/tools.ts @@ -1,29 +1,29 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../_/tool.js"; +import { type Tool, param } from "../_/tool.js"; import { - analytics_sql_ApiErrorResponse_output, - analytics_sql_Attribute_output, - analytics_sql_ClickHouseJsonQueryResponse_output, - analytics_sql_CustomAttribute_output, - analytics_sql_DatasetAvailability_output, - analytics_sql_GatewayApiErrorResponse_output, - analytics_sql_IntrospectionColumn_output, - analytics_sql_IntrospectionDatasetKind_output, - analytics_sql_IntrospectionDataset_output, - analytics_sql_IntrospectionResponse_output, - analytics_sql_IntrospectionSampling_output, - analytics_sql_LogExplorerQueryResponse_output, - analytics_sql_SqlQueryResponse_output, - analytics_sql_SqlQueryStatistics_output, + analytics$$sql_ApiErrorResponse, + analytics$$sql_Attribute, + analytics$$sql_ClickHouseJsonQueryResponse, + analytics$$sql_CustomAttribute, + analytics$$sql_DatasetAvailability, + analytics$$sql_GatewayApiErrorResponse, + analytics$$sql_IntrospectionColumn, + analytics$$sql_IntrospectionDataset, + analytics$$sql_IntrospectionDatasetKind, + analytics$$sql_IntrospectionResponse, + analytics$$sql_IntrospectionSampling, + analytics$$sql_LogExplorerQueryResponse, + analytics$$sql_SqlQueryResponse, + analytics$$sql_SqlQueryStatistics, } from "../outputs.js"; import { - analytics_sql_SqlQueryAccountScope, - analytics_sql_SqlQueryRequest, - analytics_sql_SqlQueryScope, - analytics_sql_SqlQueryTimeRange, - analytics_sql_SqlQueryZoneScope, + analytics$$sql_SqlQueryAccountScope, + analytics$$sql_SqlQueryRequest, + analytics$$sql_SqlQueryScope, + analytics$$sql_SqlQueryTimeRange, + analytics$$sql_SqlQueryZoneScope, } from "../schemas.js"; /** @@ -37,55 +37,63 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_tag": { - "description": "Account whose available analytics datasets are returned.", - "type": "string" - }, - "dataset_name": { - "description": "Return only the dataset with this exact name. An empty value is treated as if the parameter had been omitted, and does not filter the catalogue. A name that matches no dataset in this deployment's catalogue is rejected with `422`; a dataset that exists but is not describable here is rejected identically, so the two cases cannot be told apart.\n\nA Workers Analytics Engine dataset is named in full, as `events.analyticsEngine.`; the namespace on its own returns every such dataset the account has. A `dataset_name` the account does not have is rejected with `422` like any other unknown name.\n", - "type": "string" - }, - "include_attributes": { - "default": false, - "description": "Include a capped set of attribute names and types observed during the preceding seven days, as `attributes`. Requires a nonempty dataset_name. Replaces `include_custom_attributes`, which is deprecated.\n", - "type": "boolean" - }, - "include_columns": { - "default": false, - "description": "Include column metadata for each returned dataset.", - "type": "boolean" - }, - "include_custom_attributes": { - "default": false, - "description": "Include a capped set of custom attribute names and types observed during the preceding seven days, as `custom_attributes`. Requires a nonempty dataset_name. Deprecated in favor of `include_attributes`.\n", - "type": "boolean" - }, - "include_lex": { - "default": true, - "description": "Include Log Explorer datasets, which are listed only where the account has them. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", - "type": "boolean" - }, - "include_wae": { - "default": true, - "description": "Include Workers Analytics Engine datasets, which are discovered from the account's own data. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", - "type": "boolean" + "query": { + "properties": { + "account_tag": { + "description": "Account whose available analytics datasets are returned.", + "type": "string" + }, + "dataset_name": { + "description": "Return only the dataset with this exact name. An empty value is treated as if the parameter had been omitted, and does not filter the catalogue. A name that matches no dataset in this deployment's catalogue is rejected with `422`; a dataset that exists but is not describable here is rejected identically, so the two cases cannot be told apart.\n\nA Workers Analytics Engine dataset is named in full, as `events.analyticsEngine.`; the namespace on its own returns every such dataset the account has. A `dataset_name` the account does not have is rejected with `422` like any other unknown name.\n", + "type": "string" + }, + "include_attributes": { + "default": false, + "description": "Include a capped set of attribute names and types observed during the preceding seven days, as `attributes`. Requires a nonempty dataset_name. Replaces `include_custom_attributes`, which is deprecated.\n", + "type": "boolean" + }, + "include_columns": { + "default": false, + "description": "Include column metadata for each returned dataset.", + "type": "boolean" + }, + "include_custom_attributes": { + "default": false, + "description": "Include a capped set of custom attribute names and types observed during the preceding seven days, as `custom_attributes`. Requires a nonempty dataset_name. Deprecated in favor of `include_attributes`.\n", + "type": "boolean" + }, + "include_lex": { + "default": true, + "description": "Include Log Explorer datasets, which are listed only where the account has them. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", + "type": "boolean" + }, + "include_wae": { + "default": true, + "description": "Include Workers Analytics Engine datasets, which are discovered from the account's own data. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", + "type": "boolean" + } + }, + "required": [ + "account_tag" + ], + "type": "object" } }, required: [ - "account_tag" + "query" ], }, outputSchema: { "$ref": "#/$defs/analytics-sql_IntrospectionResponse", $defs: { - "analytics-sql_Attribute": analytics_sql_Attribute_output, - "analytics-sql_CustomAttribute": analytics_sql_CustomAttribute_output, - "analytics-sql_DatasetAvailability": analytics_sql_DatasetAvailability_output, - "analytics-sql_IntrospectionColumn": analytics_sql_IntrospectionColumn_output, - "analytics-sql_IntrospectionDataset": analytics_sql_IntrospectionDataset_output, - "analytics-sql_IntrospectionDatasetKind": analytics_sql_IntrospectionDatasetKind_output, - "analytics-sql_IntrospectionResponse": analytics_sql_IntrospectionResponse_output, - "analytics-sql_IntrospectionSampling": analytics_sql_IntrospectionSampling_output, + "analytics-sql_Attribute": analytics$$sql_Attribute, + "analytics-sql_CustomAttribute": analytics$$sql_CustomAttribute, + "analytics-sql_DatasetAvailability": analytics$$sql_DatasetAvailability, + "analytics-sql_IntrospectionColumn": analytics$$sql_IntrospectionColumn, + "analytics-sql_IntrospectionDataset": analytics$$sql_IntrospectionDataset, + "analytics-sql_IntrospectionDatasetKind": analytics$$sql_IntrospectionDatasetKind, + "analytics-sql_IntrospectionResponse": analytics$$sql_IntrospectionResponse, + "analytics-sql_IntrospectionSampling": analytics$$sql_IntrospectionSampling, }, }, annotations: { @@ -123,28 +131,28 @@ export const tools: readonly Tool[] = [ "503": null }, $defs: { - "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, - "analytics-sql_Attribute": analytics_sql_Attribute_output, - "analytics-sql_CustomAttribute": analytics_sql_CustomAttribute_output, - "analytics-sql_DatasetAvailability": analytics_sql_DatasetAvailability_output, - "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, - "analytics-sql_IntrospectionColumn": analytics_sql_IntrospectionColumn_output, - "analytics-sql_IntrospectionDataset": analytics_sql_IntrospectionDataset_output, - "analytics-sql_IntrospectionDatasetKind": analytics_sql_IntrospectionDatasetKind_output, - "analytics-sql_IntrospectionResponse": analytics_sql_IntrospectionResponse_output, - "analytics-sql_IntrospectionSampling": analytics_sql_IntrospectionSampling_output, + "analytics-sql_ApiErrorResponse": analytics$$sql_ApiErrorResponse, + "analytics-sql_Attribute": analytics$$sql_Attribute, + "analytics-sql_CustomAttribute": analytics$$sql_CustomAttribute, + "analytics-sql_DatasetAvailability": analytics$$sql_DatasetAvailability, + "analytics-sql_GatewayApiErrorResponse": analytics$$sql_GatewayApiErrorResponse, + "analytics-sql_IntrospectionColumn": analytics$$sql_IntrospectionColumn, + "analytics-sql_IntrospectionDataset": analytics$$sql_IntrospectionDataset, + "analytics-sql_IntrospectionDatasetKind": analytics$$sql_IntrospectionDatasetKind, + "analytics-sql_IntrospectionResponse": analytics$$sql_IntrospectionResponse, + "analytics-sql_IntrospectionSampling": analytics$$sql_IntrospectionSampling, }, }, request: (args) => ({ path: `/analytics/sql/introspection`, query: [ - ["account_tag", args["account_tag"], true], - ["include_columns", args["include_columns"], true], - ["include_custom_attributes", args["include_custom_attributes"], true], - ["include_attributes", args["include_attributes"], true], - ["include_wae", args["include_wae"], true], - ["include_lex", args["include_lex"], true], - ["dataset_name", args["dataset_name"], true], + ["account_tag", param(args, "query", "account_tag"), true], + ["include_columns", param(args, "query", "include_columns"), true], + ["include_custom_attributes", param(args, "query", "include_custom_attributes"), true], + ["include_attributes", param(args, "query", "include_attributes"), true], + ["include_wae", param(args, "query", "include_wae"), true], + ["include_lex", param(args, "query", "include_lex"), true], + ["dataset_name", param(args, "query", "dataset_name"), true], ], }), }, @@ -163,11 +171,11 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "analytics-sql_SqlQueryAccountScope": analytics_sql_SqlQueryAccountScope, - "analytics-sql_SqlQueryRequest": analytics_sql_SqlQueryRequest, - "analytics-sql_SqlQueryScope": analytics_sql_SqlQueryScope, - "analytics-sql_SqlQueryTimeRange": analytics_sql_SqlQueryTimeRange, - "analytics-sql_SqlQueryZoneScope": analytics_sql_SqlQueryZoneScope, + "analytics-sql_SqlQueryAccountScope": analytics$$sql_SqlQueryAccountScope, + "analytics-sql_SqlQueryRequest": analytics$$sql_SqlQueryRequest, + "analytics-sql_SqlQueryScope": analytics$$sql_SqlQueryScope, + "analytics-sql_SqlQueryTimeRange": analytics$$sql_SqlQueryTimeRange, + "analytics-sql_SqlQueryZoneScope": analytics$$sql_SqlQueryZoneScope, }, }, outputSchema: { @@ -183,10 +191,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, - "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, - "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, - "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + "analytics-sql_ClickHouseJsonQueryResponse": analytics$$sql_ClickHouseJsonQueryResponse, + "analytics-sql_LogExplorerQueryResponse": analytics$$sql_LogExplorerQueryResponse, + "analytics-sql_SqlQueryResponse": analytics$$sql_SqlQueryResponse, + "analytics-sql_SqlQueryStatistics": analytics$$sql_SqlQueryStatistics, }, }, annotations: { @@ -242,12 +250,12 @@ export const tools: readonly Tool[] = [ "507": null }, $defs: { - "analytics-sql_ApiErrorResponse": analytics_sql_ApiErrorResponse_output, - "analytics-sql_ClickHouseJsonQueryResponse": analytics_sql_ClickHouseJsonQueryResponse_output, - "analytics-sql_GatewayApiErrorResponse": analytics_sql_GatewayApiErrorResponse_output, - "analytics-sql_LogExplorerQueryResponse": analytics_sql_LogExplorerQueryResponse_output, - "analytics-sql_SqlQueryResponse": analytics_sql_SqlQueryResponse_output, - "analytics-sql_SqlQueryStatistics": analytics_sql_SqlQueryStatistics_output, + "analytics-sql_ApiErrorResponse": analytics$$sql_ApiErrorResponse, + "analytics-sql_ClickHouseJsonQueryResponse": analytics$$sql_ClickHouseJsonQueryResponse, + "analytics-sql_GatewayApiErrorResponse": analytics$$sql_GatewayApiErrorResponse, + "analytics-sql_LogExplorerQueryResponse": analytics$$sql_LogExplorerQueryResponse, + "analytics-sql_SqlQueryResponse": analytics$$sql_SqlQueryResponse, + "analytics-sql_SqlQueryStatistics": analytics$$sql_SqlQueryStatistics, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/analyze/outputs.ts b/src/generated/forge-mcp/ssl/analyze/outputs.ts index a9dc8f6c5..d9456c3f7 100644 --- a/src/generated/forge-mcp/ssl/analyze/outputs.ts +++ b/src/generated/forge-mcp/ssl/analyze/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `tls-certificates-and-hostnames_certificate_analyze_response` * in responses. */ -export const tls_certificates_and_hostnames_certificate_analyze_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_analyze_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" diff --git a/src/generated/forge-mcp/ssl/analyze/tools.ts b/src/generated/forge-mcp/ssl/analyze/tools.ts index 60347865a..d5ea85d32 100644 --- a/src/generated/forge-mcp/ssl/analyze/tools.ts +++ b/src/generated/forge-mcp/ssl/analyze/tools.ts @@ -3,16 +3,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_bundle_method, - tls_certificates_and_hostnames_certificate, + tls$$certificates$$and$$hostnames_bundle_method, + tls$$certificates$$and$$hostnames_certificate, } from "../schemas.js"; -import { tls_certificates_and_hostnames_certificate_analyze_response_output } from "./outputs.js"; +import { tls$$certificates$$and$$hostnames_certificate_analyze_response } from "./outputs.js"; /** * The tools of `ssl.analyze`. @@ -39,27 +39,35 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method, - "tls-certificates-and-hostnames_certificate": tls_certificates_and_hostnames_certificate, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate": tls$$certificates$$and$$hostnames_certificate, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_analyze_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_analyze_response": tls_certificates_and_hostnames_certificate_analyze_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_analyze_response": tls$$certificates$$and$$hostnames_certificate_analyze_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -107,10 +115,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_analyze_response": tls_certificates_and_hostnames_certificate_analyze_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_analyze_response": tls$$certificates$$and$$hostnames_certificate_analyze_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts b/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts index a9825e702..49ed1d823 100644 --- a/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts +++ b/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache_auto_origin_tls_kex_failure_response` in responses. */ -export const cache_auto_origin_tls_kex_failure_response_output: JsonSchema = { +export const cache_auto_origin_tls_kex_failure_response: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cache_messages" @@ -33,7 +33,7 @@ export const cache_auto_origin_tls_kex_failure_response_output: JsonSchema = { /** * The schema of `cache_auto_origin_tls_kex_response` in responses. */ -export const cache_auto_origin_tls_kex_response_output: JsonSchema = { +export const cache_auto_origin_tls_kex_response: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cache_messages" @@ -60,7 +60,7 @@ export const cache_auto_origin_tls_kex_response_output: JsonSchema = { /** * The schema of `cache_auto_origin_tls_kex_result` in responses. */ -export const cache_auto_origin_tls_kex_result_output: JsonSchema = { +export const cache_auto_origin_tls_kex_result: JsonSchema = { "properties": { "enabled": { "$ref": "#/$defs/cache_auto_origin_tls_kex_value" @@ -84,6 +84,6 @@ export const cache_auto_origin_tls_kex_result_output: JsonSchema = { /** * The schema of `cache_auto_origin_tls_kex_value` in responses. */ -export const cache_auto_origin_tls_kex_value_output: JsonSchema = { +export const cache_auto_origin_tls_kex_value: JsonSchema = { "type": "boolean" }; diff --git a/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts b/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts index 4c9658036..ecb3315e2 100644 --- a/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts +++ b/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts @@ -2,25 +2,25 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { cache_messages_output } from "../outputs.js"; +import { cache_messages } from "../outputs.js"; import { cache_identifier } from "../schemas.js"; import { - cache_auto_origin_tls_kex_failure_response_output, - cache_auto_origin_tls_kex_response_output, - cache_auto_origin_tls_kex_result_output, - cache_auto_origin_tls_kex_value_output, + cache_auto_origin_tls_kex_failure_response, + cache_auto_origin_tls_kex_response, + cache_auto_origin_tls_kex_result, + cache_auto_origin_tls_kex_value, } from "./outputs.js"; import { cache_auto_origin_tls_kex_patch, - cache_auto_origin_tls_kex_value, + cache_auto_origin_tls_kex_value as cache_auto_origin_tls_kex_value$, } from "./schemas.js"; /** - * The tools of `ssl.auto_origin_tls_kex`. + * The tools of `ssl.autoOriginTlsKex`. */ export const tools: readonly Tool[] = [ { - name: "ssl_auto_origin_tls_kex_edit", + name: "ssl_autoOriginTlsKex_edit", title: "Patch Auto-Origin TLS KEX enrollment status for the given zone", description: "Enable or disable Auto-Origin TLS KEX selection for the zone by sending `{\"enabled\": true}` or `{\"enabled\": false}`. When enabled, Cloudflare runs a periodic scan of the zone's origins to determine the preferred key-exchange algorithm and writes that preference to the edge so it is sent first in the TLS ClientHello to the origin.", inputSchema: { @@ -29,27 +29,35 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/cache_auto_origin_tls_kex_patch" }, - "zone_id": { - "$ref": "#/$defs/cache_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "cache_auto_origin_tls_kex_patch": cache_auto_origin_tls_kex_patch, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value, + "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value$, "cache_identifier": cache_identifier, }, }, outputSchema: { "$ref": "#/$defs/cache_auto_origin_tls_kex_response", $defs: { - "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response_output, - "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result_output, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value_output, - "cache_messages": cache_messages_output, + "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response, + "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result, + "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value, + "cache_messages": cache_messages, }, }, annotations: { @@ -79,11 +87,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache_auto_origin_tls_kex_failure_response": cache_auto_origin_tls_kex_failure_response_output, - "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response_output, - "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result_output, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value_output, - "cache_messages": cache_messages_output, + "cache_auto_origin_tls_kex_failure_response": cache_auto_origin_tls_kex_failure_response, + "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response, + "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result, + "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value, + "cache_messages": cache_messages, }, }, request: (args) => ({ @@ -92,18 +100,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_auto_origin_tls_kex_get", + name: "ssl_autoOriginTlsKex_get", title: "Get Auto-Origin TLS KEX enrollment status for the given zone", description: "When enabled, Cloudflare automatically selects the preferred TLS key-exchange algorithm to use when establishing the TLS connection to the zone's origin, picking from the algorithms permitted by the zone's `origin_tls_compliance_modes` setting. When disabled, the default key-exchange ordering is used.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "cache_identifier": cache_identifier, @@ -112,10 +128,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cache_auto_origin_tls_kex_response", $defs: { - "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response_output, - "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result_output, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value_output, - "cache_messages": cache_messages_output, + "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response, + "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result, + "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value, + "cache_messages": cache_messages, }, }, annotations: { @@ -145,11 +161,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache_auto_origin_tls_kex_failure_response": cache_auto_origin_tls_kex_failure_response_output, - "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response_output, - "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result_output, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value_output, - "cache_messages": cache_messages_output, + "cache_auto_origin_tls_kex_failure_response": cache_auto_origin_tls_kex_failure_response, + "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response, + "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result, + "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value, + "cache_messages": cache_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts b/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts index fd55683f4..1151ee175 100644 --- a/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts +++ b/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts @@ -3,31 +3,39 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cache_api_response_common_failure_output, - cache_api_response_single_id_output, - cache_messages_output, - cache_result_output, + cache_api$$response$$common$$failure, + cache_api$$response$$single$$id, + cache_messages, + cache_result, } from "../outputs.js"; import { cache_identifier } from "../schemas.js"; import { cache_schemas_patch, cache_schemas_value } from "./schemas.js"; /** - * The tools of `ssl.automatic_upgrader`. + * The tools of `ssl.automaticUpgrader`. */ export const tools: readonly Tool[] = [ { - name: "ssl_automatic_upgrader_get", + name: "ssl_automaticUpgrader_get", title: "Get Automatic SSL/TLS enrollment status for the given zone", description: "If the system is enabled, the response will include next_scheduled_scan, representing the next time this zone will be scanned and the zone's ssl/tls encryption mode is potentially upgraded by the system. If the system is disabled, next_scheduled_scan will not be present in the response body.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "cache_identifier": cache_identifier, @@ -36,9 +44,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cache_api-response-single-id", $defs: { - "cache_api-response-single-id": cache_api_response_single_id_output, - "cache_messages": cache_messages_output, - "cache_result": cache_result_output, + "cache_api-response-single-id": cache_api$$response$$single$$id, + "cache_messages": cache_messages, + "cache_result": cache_result, }, }, annotations: { @@ -79,10 +87,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache_api-response-common-failure": cache_api_response_common_failure_output, - "cache_api-response-single-id": cache_api_response_single_id_output, - "cache_messages": cache_messages_output, - "cache_result": cache_result_output, + "cache_api-response-common-failure": cache_api$$response$$common$$failure, + "cache_api-response-single-id": cache_api$$response$$single$$id, + "cache_messages": cache_messages, + "cache_result": cache_result, }, }, request: (args) => ({ @@ -90,7 +98,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_automatic_upgrader_patch", + name: "ssl_automaticUpgrader_patch", title: "Patch Automatic SSL/TLS Enrollment status for given zone", description: "The automatic system is enabled when this endpoint is hit with value in the request body is set to \"auto\", and disabled when the request body value is set to \"custom\".", inputSchema: { @@ -99,12 +107,20 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/cache_schemas_patch" }, - "zone_id": { - "$ref": "#/$defs/cache_identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache_identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { @@ -116,9 +132,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cache_api-response-single-id", $defs: { - "cache_api-response-single-id": cache_api_response_single_id_output, - "cache_messages": cache_messages_output, - "cache_result": cache_result_output, + "cache_api-response-single-id": cache_api$$response$$single$$id, + "cache_messages": cache_messages, + "cache_result": cache_result, }, }, annotations: { @@ -158,10 +174,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache_api-response-common-failure": cache_api_response_common_failure_output, - "cache_api-response-single-id": cache_api_response_single_id_output, - "cache_messages": cache_messages_output, - "cache_result": cache_result_output, + "cache_api-response-common-failure": cache_api$$response$$common$$failure, + "cache_api-response-single-id": cache_api$$response$$single$$id, + "cache_messages": cache_messages, + "cache_result": cache_result, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/outputs.ts b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/outputs.ts index cacb960b6..04535b6f1 100644 --- a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/outputs.ts +++ b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `tls-certificates-and-hostnames_hostname_associations_response` * in responses. */ -export const tls_certificates_and_hostnames_hostname_associations_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_associations_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -31,7 +31,7 @@ export const tls_certificates_and_hostnames_hostname_associations_response_outpu /** * The schema of `tls-certificates-and-hostnames_hostnames-2` in responses. */ -export const tls_certificates_and_hostnames_hostnames_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostnames$$2: JsonSchema = { "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/schemas.ts b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/schemas.ts index 9b73cf7bd..96bd5a516 100644 --- a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/schemas.ts +++ b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_hostname_association`. */ -export const tls_certificates_and_hostnames_hostname_association: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_association: JsonSchema = { "properties": { "hostnames": { "$ref": "#/$defs/tls-certificates-and-hostnames_hostnames-2" @@ -22,7 +22,7 @@ export const tls_certificates_and_hostnames_hostname_association: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_hostnames-2`. */ -export const tls_certificates_and_hostnames_hostnames_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostnames$$2: JsonSchema = { "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts index ec5f8fb52..a4937c402 100644 --- a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts +++ b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts @@ -1,56 +1,69 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { - tls_certificates_and_hostnames_hostname_associations_response_output, - tls_certificates_and_hostnames_hostnames_2_output, + tls$$certificates$$and$$hostnames_hostname_associations_response, + tls$$certificates$$and$$hostnames_hostnames$$2, } from "./outputs.js"; import { - tls_certificates_and_hostnames_hostname_association, - tls_certificates_and_hostnames_hostnames_2, + tls$$certificates$$and$$hostnames_hostname_association, + tls$$certificates$$and$$hostnames_hostnames$$2 as tls$$certificates$$and$$hostnames_hostnames$$2$, } from "./schemas.js"; /** - * The tools of `ssl.certificate_authorities.hostname_associations`. + * The tools of `ssl.certificateAuthorities.hostnameAssociations`. */ export const tools: readonly Tool[] = [ { - name: "ssl_certificate_authorities_hostname_associations_get", + name: "ssl_certificateAuthorities_hostnameAssociations_get", title: "List Hostname Associations", description: "List Hostname Associations.", inputSchema: { type: "object", properties: { - "mtls_certificate_id": { - "description": "The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtls_certificate_id is given, the results will be the hostnames associated to your active Cloudflare Managed CA.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "query": { + "properties": { + "mtls_certificate_id": { + "description": "The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtls_certificate_id is given, the results will be the hostnames associated to your active Cloudflare Managed CA.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_associations_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_hostname_associations_response": tls_certificates_and_hostnames_hostname_associations_response_output, - "tls-certificates-and-hostnames_hostnames-2": tls_certificates_and_hostnames_hostnames_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_hostname_associations_response": tls$$certificates$$and$$hostnames_hostname_associations_response, + "tls-certificates-and-hostnames_hostnames-2": tls$$certificates$$and$$hostnames_hostnames$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -84,22 +97,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_hostname_associations_response": tls_certificates_and_hostnames_hostname_associations_response_output, - "tls-certificates-and-hostnames_hostnames-2": tls_certificates_and_hostnames_hostnames_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_hostname_associations_response": tls$$certificates$$and$$hostnames_hostname_associations_response, + "tls-certificates-and-hostnames_hostnames-2": tls$$certificates$$and$$hostnames_hostnames$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/certificate_authorities/hostname_associations`, query: [ - ["mtls_certificate_id", args["mtls_certificate_id"], true], + ["mtls_certificate_id", param(args, "query", "mtls_certificate_id"), true], ], }), }, { - name: "ssl_certificate_authorities_hostname_associations_update", + name: "ssl_certificateAuthorities_hostnameAssociations_update", title: "Replace Hostname Associations", description: "Replace Hostname Associations.", inputSchema: { @@ -108,28 +121,36 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_association" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_hostname_association": tls_certificates_and_hostnames_hostname_association, - "tls-certificates-and-hostnames_hostnames-2": tls_certificates_and_hostnames_hostnames_2, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_hostname_association": tls$$certificates$$and$$hostnames_hostname_association, + "tls-certificates-and-hostnames_hostnames-2": tls$$certificates$$and$$hostnames_hostnames$$2$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_associations_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_hostname_associations_response": tls_certificates_and_hostnames_hostname_associations_response_output, - "tls-certificates-and-hostnames_hostnames-2": tls_certificates_and_hostnames_hostnames_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_hostname_associations_response": tls$$certificates$$and$$hostnames_hostname_associations_response, + "tls-certificates-and-hostnames_hostnames-2": tls$$certificates$$and$$hostnames_hostnames$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -162,11 +183,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_hostname_associations_response": tls_certificates_and_hostnames_hostname_associations_response_output, - "tls-certificates-and-hostnames_hostnames-2": tls_certificates_and_hostnames_hostnames_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_hostname_associations_response": tls$$certificates$$and$$hostnames_hostname_associations_response, + "tls-certificates-and-hostnames_hostnames-2": tls$$certificates$$and$$hostnames_hostnames$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts b/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts index afb5b8db1..4bb352bef 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../_/tool.js"; * `tls-certificates-and-hostnames_advanced_certificate_pack_response_single` in * responses. */ -export const tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -28,7 +28,7 @@ export const tls_certificates_and_hostnames_advanced_certificate_pack_response_s * The schema of `tls-certificates-and-hostnames_certificate_authority-2` in * responses. */ -export const tls_certificates_and_hostnames_certificate_authority_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_authority$$2: JsonSchema = { "enum": [ "google", "lets_encrypt", @@ -40,7 +40,7 @@ export const tls_certificates_and_hostnames_certificate_authority_2_output: Json /** * The schema of `tls-certificates-and-hostnames_certificate_pack` in responses. */ -export const tls_certificates_and_hostnames_certificate_pack_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_pack: JsonSchema = { "properties": { "certificate_authority": { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-2" @@ -113,7 +113,7 @@ export const tls_certificates_and_hostnames_certificate_pack_output: JsonSchema * The schema of `tls-certificates-and-hostnames_certificate_pack_certificate` * in responses. */ -export const tls_certificates_and_hostnames_certificate_pack_certificate_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_pack_certificate: JsonSchema = { "properties": { "bundle_method": { "type": "string" @@ -180,7 +180,7 @@ export const tls_certificates_and_hostnames_certificate_pack_certificate_output: * The schema of `tls-certificates-and-hostnames_certificate_pack_identifier` in * responses. */ -export const tls_certificates_and_hostnames_certificate_pack_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_pack_identifier: JsonSchema = { "type": "string" }; @@ -189,7 +189,7 @@ export const tls_certificates_and_hostnames_certificate_pack_identifier_output: * `tls-certificates-and-hostnames_certificate_pack_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_certificate_pack_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_pack_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -213,7 +213,7 @@ export const tls_certificates_and_hostnames_certificate_pack_response_collection * `tls-certificates-and-hostnames_certificate_pack_response_single` in * responses. */ -export const tls_certificates_and_hostnames_certificate_pack_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_pack_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -233,7 +233,7 @@ export const tls_certificates_and_hostnames_certificate_pack_response_single_out * The schema of `tls-certificates-and-hostnames_cloudflare_branding` in * responses. */ -export const tls_certificates_and_hostnames_cloudflare_branding_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_cloudflare_branding: JsonSchema = { "type": "boolean" }; @@ -242,7 +242,7 @@ export const tls_certificates_and_hostnames_cloudflare_branding_output: JsonSche * `tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single` * in responses. */ -export const tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_delete_advanced_certificate_pack_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -266,7 +266,7 @@ export const tls_certificates_and_hostnames_delete_advanced_certificate_pack_res /** * The schema of `tls-certificates-and-hostnames_hosts-2` in responses. */ -export const tls_certificates_and_hostnames_hosts_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hosts$$2: JsonSchema = { "items": { "type": "string" }, @@ -276,14 +276,14 @@ export const tls_certificates_and_hostnames_hosts_2_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_primary` in responses. */ -export const tls_certificates_and_hostnames_primary_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_primary: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_status-5` in responses. */ -export const tls_certificates_and_hostnames_status_5_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$5: JsonSchema = { "enum": [ "initializing", "pending_validation", @@ -313,7 +313,7 @@ export const tls_certificates_and_hostnames_status_5_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_type-2` in responses. */ -export const tls_certificates_and_hostnames_type_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_type$$2: JsonSchema = { "enum": [ "mh_custom", "managed_hostname", @@ -331,7 +331,7 @@ export const tls_certificates_and_hostnames_type_2_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_validation_method` in * responses. */ -export const tls_certificates_and_hostnames_validation_method_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validation_method: JsonSchema = { "enum": [ "txt", "http", @@ -343,7 +343,7 @@ export const tls_certificates_and_hostnames_validation_method_output: JsonSchema /** * The schema of `tls-certificates-and-hostnames_validity_days` in responses. */ -export const tls_certificates_and_hostnames_validity_days_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validity_days: JsonSchema = { "enum": [ 14, 30, diff --git a/src/generated/forge-mcp/ssl/certificatePacks/quota/outputs.ts b/src/generated/forge-mcp/ssl/certificatePacks/quota/outputs.ts index dafe301dd..ada37dceb 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/quota/outputs.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/quota/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * `tls-certificates-and-hostnames_certificate_pack_quota_response` in * responses. */ -export const tls_certificates_and_hostnames_certificate_pack_quota_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_pack_quota_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -32,7 +32,7 @@ export const tls_certificates_and_hostnames_certificate_pack_quota_response_outp /** * The schema of `tls-certificates-and-hostnames_quota` in responses. */ -export const tls_certificates_and_hostnames_quota_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_quota: JsonSchema = { "properties": { "allocated": { "type": "integer" diff --git a/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts b/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts index c485bea48..738db3805 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts @@ -3,46 +3,54 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { - tls_certificates_and_hostnames_certificate_pack_quota_response_output, - tls_certificates_and_hostnames_quota_output, + tls$$certificates$$and$$hostnames_certificate_pack_quota_response, + tls$$certificates$$and$$hostnames_quota, } from "./outputs.js"; /** - * The tools of `ssl.certificate_packs.quota`. + * The tools of `ssl.certificatePacks.quota`. */ export const tools: readonly Tool[] = [ { - name: "ssl_certificate_packs_quota_get", + name: "ssl_certificatePacks_quota_get", title: "Get Certificate Pack Quotas", description: "For a given zone, list certificate pack quotas.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_quota_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_pack_quota_response": tls_certificates_and_hostnames_certificate_pack_quota_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_quota": tls_certificates_and_hostnames_quota_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_pack_quota_response": tls$$certificates$$and$$hostnames_certificate_pack_quota_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_quota": tls$$certificates$$and$$hostnames_quota, }, }, annotations: { @@ -88,11 +96,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_pack_quota_response": tls_certificates_and_hostnames_certificate_pack_quota_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_quota": tls_certificates_and_hostnames_quota_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_pack_quota_response": tls$$certificates$$and$$hostnames_certificate_pack_quota_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_quota": tls$$certificates$$and$$hostnames_quota, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/certificatePacks/schemas.ts b/src/generated/forge-mcp/ssl/certificatePacks/schemas.ts index 636514f94..15898c42a 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/schemas.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_advanced_type`. */ -export const tls_certificates_and_hostnames_advanced_type: JsonSchema = { +export const tls$$certificates$$and$$hostnames_advanced_type: JsonSchema = { "description": "Type of certificate pack.", "enum": [ "advanced" @@ -17,7 +17,7 @@ export const tls_certificates_and_hostnames_advanced_type: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_certificate_authority-2`. */ -export const tls_certificates_and_hostnames_certificate_authority_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_authority$$2: JsonSchema = { "description": "Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions [see this page for more details](https://developers.cloudflare.com/ssl/reference/certificate-authorities).", "enum": [ "google", @@ -30,7 +30,7 @@ export const tls_certificates_and_hostnames_certificate_authority_2: JsonSchema /** * The schema of `tls-certificates-and-hostnames_certificate_pack_identifier`. */ -export const tls_certificates_and_hostnames_certificate_pack_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_pack_identifier: JsonSchema = { "description": "The unique identifier for a certificate_pack.", "type": "string" }; @@ -38,7 +38,7 @@ export const tls_certificates_and_hostnames_certificate_pack_identifier: JsonSch /** * The schema of `tls-certificates-and-hostnames_cloudflare_branding`. */ -export const tls_certificates_and_hostnames_cloudflare_branding: JsonSchema = { +export const tls$$certificates$$and$$hostnames_cloudflare_branding: JsonSchema = { "description": "Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.", "type": "boolean" }; @@ -46,7 +46,7 @@ export const tls_certificates_and_hostnames_cloudflare_branding: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_hosts-2`. */ -export const tls_certificates_and_hostnames_hosts_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hosts$$2: JsonSchema = { "description": "Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty.", "items": { "type": "string" @@ -57,7 +57,7 @@ export const tls_certificates_and_hostnames_hosts_2: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_validation_method`. */ -export const tls_certificates_and_hostnames_validation_method: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validation_method: JsonSchema = { "description": "Validation Method selected for the order.", "enum": [ "txt", @@ -70,7 +70,7 @@ export const tls_certificates_and_hostnames_validation_method: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_validity_days`. */ -export const tls_certificates_and_hostnames_validity_days: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validity_days: JsonSchema = { "description": "Validity Days selected for the order.", "enum": [ 14, diff --git a/src/generated/forge-mcp/ssl/certificatePacks/tools.ts b/src/generated/forge-mcp/ssl/certificatePacks/tools.ts index dc3904a15..019f625f4 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/tools.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/tools.ts @@ -1,50 +1,50 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_identifier_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_validation_record_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_identifier, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_validation_record, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier as tls$$certificates$$and$$hostnames_identifier$ } from "../../schemas.js"; import { - tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output, - tls_certificates_and_hostnames_certificate_authority_2_output, - tls_certificates_and_hostnames_certificate_pack_certificate_output, - tls_certificates_and_hostnames_certificate_pack_identifier_output, - tls_certificates_and_hostnames_certificate_pack_output, - tls_certificates_and_hostnames_certificate_pack_response_collection_output, - tls_certificates_and_hostnames_certificate_pack_response_single_output, - tls_certificates_and_hostnames_cloudflare_branding_output, - tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_output, - tls_certificates_and_hostnames_hosts_2_output, - tls_certificates_and_hostnames_primary_output, - tls_certificates_and_hostnames_status_5_output, - tls_certificates_and_hostnames_type_2_output, - tls_certificates_and_hostnames_validation_method_output, - tls_certificates_and_hostnames_validity_days_output, + tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, + tls$$certificates$$and$$hostnames_certificate_authority$$2, + tls$$certificates$$and$$hostnames_certificate_pack, + tls$$certificates$$and$$hostnames_certificate_pack_certificate, + tls$$certificates$$and$$hostnames_certificate_pack_identifier, + tls$$certificates$$and$$hostnames_certificate_pack_response_collection, + tls$$certificates$$and$$hostnames_certificate_pack_response_single, + tls$$certificates$$and$$hostnames_cloudflare_branding, + tls$$certificates$$and$$hostnames_delete_advanced_certificate_pack_response_single, + tls$$certificates$$and$$hostnames_hosts$$2, + tls$$certificates$$and$$hostnames_primary, + tls$$certificates$$and$$hostnames_status$$5, + tls$$certificates$$and$$hostnames_type$$2, + tls$$certificates$$and$$hostnames_validation_method, + tls$$certificates$$and$$hostnames_validity_days, } from "./outputs.js"; import { - tls_certificates_and_hostnames_advanced_type, - tls_certificates_and_hostnames_certificate_authority_2, - tls_certificates_and_hostnames_certificate_pack_identifier, - tls_certificates_and_hostnames_cloudflare_branding, - tls_certificates_and_hostnames_hosts_2, - tls_certificates_and_hostnames_validation_method, - tls_certificates_and_hostnames_validity_days, + tls$$certificates$$and$$hostnames_advanced_type, + tls$$certificates$$and$$hostnames_certificate_authority$$2 as tls$$certificates$$and$$hostnames_certificate_authority$$2$, + tls$$certificates$$and$$hostnames_certificate_pack_identifier as tls$$certificates$$and$$hostnames_certificate_pack_identifier$, + tls$$certificates$$and$$hostnames_cloudflare_branding as tls$$certificates$$and$$hostnames_cloudflare_branding$, + tls$$certificates$$and$$hostnames_hosts$$2 as tls$$certificates$$and$$hostnames_hosts$$2$, + tls$$certificates$$and$$hostnames_validation_method as tls$$certificates$$and$$hostnames_validation_method$, + tls$$certificates$$and$$hostnames_validity_days as tls$$certificates$$and$$hostnames_validity_days$, } from "./schemas.js"; /** - * The tools of `ssl.certificate_packs`. + * The tools of `ssl.certificatePacks`. */ export const tools: readonly Tool[] = [ { - name: "ssl_certificate_packs_create", + name: "ssl_certificatePacks_create", title: "Order Advanced Certificate Manager Certificate Pack", description: "For a given zone, order an advanced certificate pack.", inputSchema: { @@ -86,44 +86,52 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_advanced_type": tls_certificates_and_hostnames_advanced_type, - "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding, - "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method, - "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days, + "tls-certificates-and-hostnames_advanced_type": tls$$certificates$$and$$hostnames_advanced_type, + "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2$, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding$, + "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, + "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method$, + "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_advanced_certificate_pack_response_single", $defs: { - "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, - "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, - "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, - "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, - "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, - "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, - "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, + "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, + "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, + "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, + "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, + "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, annotations: { @@ -169,23 +177,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, - "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, - "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, - "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, - "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, - "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, - "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, + "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, + "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, + "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, + "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, + "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, request: (args) => ({ @@ -194,37 +202,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_certificate_packs_delete", + name: "ssl_certificatePacks_delete", title: "Delete Advanced Certificate Manager Certificate Pack", description: "For a given zone, delete an advanced certificate pack.", inputSchema: { type: "object", properties: { - "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier", - "description": "The unique identifier for a certificate_pack." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_pack_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier", + "description": "The unique identifier for a certificate_pack." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "certificate_pack_id" + ], + "type": "object" } }, required: [ - "zone_id", - "certificate_pack_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single": tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_delete_advanced_certificate_pack_response_single, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -270,11 +286,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single": tls_certificates_and_hostnames_delete_advanced_certificate_pack_response_single_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_delete_advanced_certificate_pack_response_single, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -282,7 +298,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_certificate_packs_edit", + name: "ssl_certificatePacks_edit", title: "Restart Validation or Update Advanced Certificate Manager Certificate Pack", description: "For a given zone, restart validation or add cloudflare branding for an advanced certificate pack. The former is only a validation operation for a Certificate Pack in a validation_timed_out status.", inputSchema: { @@ -297,45 +313,53 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier", - "description": "The unique identifier for a certificate_pack." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_pack_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier", + "description": "The unique identifier for a certificate_pack." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "certificate_pack_id" + ], + "type": "object" } }, required: [ - "zone_id", - "certificate_pack_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier$, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_advanced_certificate_pack_response_single", $defs: { - "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, - "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, - "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, - "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, - "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, - "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, - "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, + "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, + "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, + "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, + "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, + "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, annotations: { @@ -381,23 +405,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls_certificates_and_hostnames_advanced_certificate_pack_response_single_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, - "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, - "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, - "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, - "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, - "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, - "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, + "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, + "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, + "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, + "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, + "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, request: (args) => ({ @@ -406,49 +430,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_certificate_packs_get", + name: "ssl_certificatePacks_get", title: "Get Certificate Pack", description: "For a given zone, get a certificate pack.", inputSchema: { type: "object", properties: { - "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier", - "description": "The unique identifier for a certificate_pack." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_pack_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier", + "description": "The unique identifier for a certificate_pack." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "certificate_pack_id" + ], + "type": "object" } }, required: [ - "zone_id", - "certificate_pack_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, - "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, - "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_certificate_pack_response_single": tls_certificates_and_hostnames_certificate_pack_response_single_output, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, - "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, - "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, - "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, - "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, + "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_certificate_pack_response_single": tls$$certificates$$and$$hostnames_certificate_pack_response_single, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, + "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, + "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, + "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, + "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, annotations: { @@ -494,23 +526,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, - "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, - "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_certificate_pack_response_single": tls_certificates_and_hostnames_certificate_pack_response_single_output, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, - "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, - "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, - "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, - "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, + "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_certificate_pack_response_single": tls$$certificates$$and$$hostnames_certificate_pack_response_single, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, + "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, + "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, + "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, + "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, request: (args) => ({ @@ -518,69 +550,82 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_certificate_packs_list", + name: "ssl_certificatePacks_list", title: "List Certificate Packs", description: "For a given zone, list all active certificate packs.", inputSchema: { type: "object", properties: { - "deploy": { - "description": "Specify the deployment environment for the certificate packs.", - "enum": [ - "staging", - "production" - ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Number of certificate packs per page.", - "type": "number" - }, - "status": { - "description": "Include Certificate Packs of all statuses, not just active ones.", - "enum": [ - "all" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" ], - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "query": { + "properties": { + "deploy": { + "description": "Specify the deployment environment for the certificate packs.", + "enum": [ + "staging", + "production" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Number of certificate packs per page.", + "type": "number" + }, + "status": { + "description": "Include Certificate Packs of all statuses, not just active ones.", + "enum": [ + "all" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, - "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, - "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_certificate_pack_response_collection": tls_certificates_and_hostnames_certificate_pack_response_collection_output, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, - "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, - "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, - "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, - "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, + "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_certificate_pack_response_collection": tls$$certificates$$and$$hostnames_certificate_pack_response_collection, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, + "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, + "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, + "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, + "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, annotations: { @@ -626,33 +671,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate_authority-2": tls_certificates_and_hostnames_certificate_authority_2_output, - "tls-certificates-and-hostnames_certificate_pack": tls_certificates_and_hostnames_certificate_pack_output, - "tls-certificates-and-hostnames_certificate_pack_certificate": tls_certificates_and_hostnames_certificate_pack_certificate_output, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls_certificates_and_hostnames_certificate_pack_identifier_output, - "tls-certificates-and-hostnames_certificate_pack_response_collection": tls_certificates_and_hostnames_certificate_pack_response_collection_output, - "tls-certificates-and-hostnames_cloudflare_branding": tls_certificates_and_hostnames_cloudflare_branding_output, - "tls-certificates-and-hostnames_hosts-2": tls_certificates_and_hostnames_hosts_2_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_primary": tls_certificates_and_hostnames_primary_output, - "tls-certificates-and-hostnames_status-5": tls_certificates_and_hostnames_status_5_output, - "tls-certificates-and-hostnames_type-2": tls_certificates_and_hostnames_type_2_output, - "tls-certificates-and-hostnames_validation_method": tls_certificates_and_hostnames_validation_method_output, - "tls-certificates-and-hostnames_validation_record": tls_certificates_and_hostnames_validation_record_output, - "tls-certificates-and-hostnames_validity_days": tls_certificates_and_hostnames_validity_days_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, + "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, + "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, + "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, + "tls-certificates-and-hostnames_certificate_pack_response_collection": tls$$certificates$$and$$hostnames_certificate_pack_response_collection, + "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, + "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, + "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, + "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, + "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, + "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, + "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/certificate_packs`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["status", args["status"], true], - ["deploy", args["deploy"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["status", param(args, "query", "status"), true], + ["deploy", param(args, "query", "deploy"), true], ], }), }, diff --git a/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts b/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts index 8f85fa585..73a4e6e74 100644 --- a/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_certificate-7` in responses. */ -export const tls_certificates_and_hostnames_certificate_7_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate$$7: JsonSchema = { "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_certificate_7_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_certificate_authority-4` in * responses. */ -export const tls_certificates_and_hostnames_certificate_authority_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_authority$$4: JsonSchema = { "properties": { "id": { "type": "string" @@ -30,7 +30,7 @@ export const tls_certificates_and_hostnames_certificate_authority_4_output: Json * The schema of `tls-certificates-and-hostnames_client_certificate` in * responses. */ -export const tls_certificates_and_hostnames_client_certificate_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_client_certificate: JsonSchema = { "properties": { "certificate": { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-7" @@ -94,7 +94,7 @@ export const tls_certificates_and_hostnames_client_certificate_output: JsonSchem * The schema of `tls-certificates-and-hostnames_client_certificate_identifier` * in responses. */ -export const tls_certificates_and_hostnames_client_certificate_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_client_certificate_identifier: JsonSchema = { "type": "string" }; @@ -103,7 +103,7 @@ export const tls_certificates_and_hostnames_client_certificate_identifier_output * `tls-certificates-and-hostnames_client_certificate_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_client_certificate_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_client_certificate_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -127,7 +127,7 @@ export const tls_certificates_and_hostnames_client_certificate_response_collecti * `tls-certificates-and-hostnames_client_certificate_response_single` in * responses. */ -export const tls_certificates_and_hostnames_client_certificate_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_client_certificate_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -146,28 +146,28 @@ export const tls_certificates_and_hostnames_client_certificate_response_single_o /** * The schema of `tls-certificates-and-hostnames_common_name` in responses. */ -export const tls_certificates_and_hostnames_common_name_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_common_name: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_country` in responses. */ -export const tls_certificates_and_hostnames_country_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_country: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_csr-2` in responses. */ -export const tls_certificates_and_hostnames_csr_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_csr$$2: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_expired_on` in responses. */ -export const tls_certificates_and_hostnames_expired_on_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_expired_on: JsonSchema = { "type": "string" }; @@ -175,28 +175,28 @@ export const tls_certificates_and_hostnames_expired_on_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_fingerprint_sha256` in * responses. */ -export const tls_certificates_and_hostnames_fingerprint_sha256_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_fingerprint_sha256: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_issued_on` in responses. */ -export const tls_certificates_and_hostnames_issued_on_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_issued_on: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_location` in responses. */ -export const tls_certificates_and_hostnames_location_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_location: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_organization` in responses. */ -export const tls_certificates_and_hostnames_organization_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_organization: JsonSchema = { "type": "string" }; @@ -204,42 +204,42 @@ export const tls_certificates_and_hostnames_organization_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_organizational_unit` in * responses. */ -export const tls_certificates_and_hostnames_organizational_unit_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_organizational_unit: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_serial_number-3` in responses. */ -export const tls_certificates_and_hostnames_serial_number_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_serial_number$$3: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_signature-3` in responses. */ -export const tls_certificates_and_hostnames_signature_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_signature$$3: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_ski` in responses. */ -export const tls_certificates_and_hostnames_ski_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ski: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_state` in responses. */ -export const tls_certificates_and_hostnames_state_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_state: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_status-11` in responses. */ -export const tls_certificates_and_hostnames_status_11_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$11: JsonSchema = { "enum": [ "active", "pending_reactivation", @@ -252,6 +252,6 @@ export const tls_certificates_and_hostnames_status_11_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_validity_days-2` in responses. */ -export const tls_certificates_and_hostnames_validity_days_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validity_days$$2: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/ssl/clientCertificates/schemas.ts b/src/generated/forge-mcp/ssl/clientCertificates/schemas.ts index f73fe75f6..b10050b66 100644 --- a/src/generated/forge-mcp/ssl/clientCertificates/schemas.ts +++ b/src/generated/forge-mcp/ssl/clientCertificates/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_client_certificate_identifier`. */ -export const tls_certificates_and_hostnames_client_certificate_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_client_certificate_identifier: JsonSchema = { "description": "Client Certificate Tag", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_client_certificate_identifier: JsonS /** * The schema of `tls-certificates-and-hostnames_csr-2`. */ -export const tls_certificates_and_hostnames_csr_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_csr$$2: JsonSchema = { "description": "The Certificate Signing Request (CSR). Must be newline-encoded.", "type": "string" }; @@ -22,7 +22,7 @@ export const tls_certificates_and_hostnames_csr_2: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_validity_days-2`. */ -export const tls_certificates_and_hostnames_validity_days_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validity_days$$2: JsonSchema = { "description": "The number of days the Client Certificate will be valid after the issued_on date.", "type": "integer" }; diff --git a/src/generated/forge-mcp/ssl/clientCertificates/tools.ts b/src/generated/forge-mcp/ssl/clientCertificates/tools.ts index 4efd7c071..c63c10586 100644 --- a/src/generated/forge-mcp/ssl/clientCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/clientCertificates/tools.ts @@ -1,50 +1,50 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_certificate_7_output, - tls_certificates_and_hostnames_certificate_authority_4_output, - tls_certificates_and_hostnames_client_certificate_identifier_output, - tls_certificates_and_hostnames_client_certificate_output, - tls_certificates_and_hostnames_client_certificate_response_collection_output, - tls_certificates_and_hostnames_client_certificate_response_single_output, - tls_certificates_and_hostnames_common_name_output, - tls_certificates_and_hostnames_country_output, - tls_certificates_and_hostnames_csr_2_output, - tls_certificates_and_hostnames_expired_on_output, - tls_certificates_and_hostnames_fingerprint_sha256_output, - tls_certificates_and_hostnames_issued_on_output, - tls_certificates_and_hostnames_location_output, - tls_certificates_and_hostnames_organization_output, - tls_certificates_and_hostnames_organizational_unit_output, - tls_certificates_and_hostnames_serial_number_3_output, - tls_certificates_and_hostnames_signature_3_output, - tls_certificates_and_hostnames_ski_output, - tls_certificates_and_hostnames_state_output, - tls_certificates_and_hostnames_status_11_output, - tls_certificates_and_hostnames_validity_days_2_output, + tls$$certificates$$and$$hostnames_certificate$$7, + tls$$certificates$$and$$hostnames_certificate_authority$$4, + tls$$certificates$$and$$hostnames_client_certificate, + tls$$certificates$$and$$hostnames_client_certificate_identifier, + tls$$certificates$$and$$hostnames_client_certificate_response_collection, + tls$$certificates$$and$$hostnames_client_certificate_response_single, + tls$$certificates$$and$$hostnames_common_name, + tls$$certificates$$and$$hostnames_country, + tls$$certificates$$and$$hostnames_csr$$2, + tls$$certificates$$and$$hostnames_expired_on, + tls$$certificates$$and$$hostnames_fingerprint_sha256, + tls$$certificates$$and$$hostnames_issued_on, + tls$$certificates$$and$$hostnames_location, + tls$$certificates$$and$$hostnames_organization, + tls$$certificates$$and$$hostnames_organizational_unit, + tls$$certificates$$and$$hostnames_serial_number$$3, + tls$$certificates$$and$$hostnames_signature$$3, + tls$$certificates$$and$$hostnames_ski, + tls$$certificates$$and$$hostnames_state, + tls$$certificates$$and$$hostnames_status$$11, + tls$$certificates$$and$$hostnames_validity_days$$2, } from "./outputs.js"; import { - tls_certificates_and_hostnames_client_certificate_identifier, - tls_certificates_and_hostnames_csr_2, - tls_certificates_and_hostnames_validity_days_2, + tls$$certificates$$and$$hostnames_client_certificate_identifier as tls$$certificates$$and$$hostnames_client_certificate_identifier$, + tls$$certificates$$and$$hostnames_csr$$2 as tls$$certificates$$and$$hostnames_csr$$2$, + tls$$certificates$$and$$hostnames_validity_days$$2 as tls$$certificates$$and$$hostnames_validity_days$$2$, } from "./schemas.js"; /** - * The tools of `ssl.client_certificates`. + * The tools of `ssl.clientCertificates`. */ export const tools: readonly Tool[] = [ { - name: "ssl_client_certificates_create", + name: "ssl_clientCertificates_create", title: "Create Client Certificate", description: "Create a new API Shield mTLS Client Certificate.", inputSchema: { @@ -67,46 +67,54 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_single": tls_certificates_and_hostnames_client_certificate_response_single_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -151,29 +159,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_single": tls_certificates_and_hostnames_client_certificate_response_single_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ @@ -182,55 +190,63 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_client_certificates_delete", + name: "ssl_clientCertificates_delete", title: "Revoke Client Certificate", description: "Set a API Shield mTLS Client Certificate to pending_revocation status for processing to revoked status.", inputSchema: { type: "object", properties: { - "client_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier", - "description": "Client Certificate Tag" - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "client_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier", + "description": "Client Certificate Tag" + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "client_certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "client_certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_single": tls_certificates_and_hostnames_client_certificate_response_single_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -268,29 +284,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_single": tls_certificates_and_hostnames_client_certificate_response_single_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ @@ -298,7 +314,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_client_certificates_edit", + name: "ssl_clientCertificates_edit", title: "Reactivate Client Certificate", description: "If a API Shield mTLS Client Certificate is in a pending_revocation state, you may reactivate it with this endpoint.", inputSchema: { @@ -312,50 +328,58 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "client_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier", - "description": "Client Certificate Tag" - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "client_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier", + "description": "Client Certificate Tag" + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "client_certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "client_certificate_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_single": tls_certificates_and_hostnames_client_certificate_response_single_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -393,29 +417,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_single": tls_certificates_and_hostnames_client_certificate_response_single_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ @@ -424,55 +448,63 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_client_certificates_get", + name: "ssl_clientCertificates_get", title: "Client Certificate Details", description: "Get Details for a single mTLS API Shield Client Certificate.", inputSchema: { type: "object", properties: { - "client_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier", - "description": "Client Certificate Tag" - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "client_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier", + "description": "Client Certificate Tag" + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "client_certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "client_certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_single": tls_certificates_and_hostnames_client_certificate_response_single_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -511,29 +543,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_single": tls_certificates_and_hostnames_client_certificate_response_single_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ @@ -541,79 +573,92 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_client_certificates_list", + name: "ssl_clientCertificates_list", title: "List Client Certificates", description: "List all of your Zone's API Shield mTLS Client Certificates by Status and/or using Pagination.", inputSchema: { type: "object", properties: { - "limit": { - "description": "Limit to the number of records returned.", - "type": "integer" - }, - "offset": { - "description": "Offset the results.", - "type": "integer" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Number of records per page.", - "type": "number" - }, - "status": { - "description": "Client Certitifcate Status to filter results by.", - "enum": [ - "all", - "active", - "pending_reactivation", - "pending_revocation", - "revoked" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" ], - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "query": { + "properties": { + "limit": { + "description": "Limit to the number of records returned.", + "type": "integer" + }, + "offset": { + "description": "Offset the results.", + "type": "integer" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Number of records per page.", + "type": "number" + }, + "status": { + "description": "Client Certitifcate Status to filter results by.", + "enum": [ + "all", + "active", + "pending_reactivation", + "pending_revocation", + "revoked" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_collection": tls_certificates_and_hostnames_client_certificate_response_collection_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_collection": tls$$certificates$$and$$hostnames_client_certificate_response_collection, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -652,40 +697,40 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate-7": tls_certificates_and_hostnames_certificate_7_output, - "tls-certificates-and-hostnames_certificate_authority-4": tls_certificates_and_hostnames_certificate_authority_4_output, - "tls-certificates-and-hostnames_client_certificate": tls_certificates_and_hostnames_client_certificate_output, - "tls-certificates-and-hostnames_client_certificate_identifier": tls_certificates_and_hostnames_client_certificate_identifier_output, - "tls-certificates-and-hostnames_client_certificate_response_collection": tls_certificates_and_hostnames_client_certificate_response_collection_output, - "tls-certificates-and-hostnames_common_name": tls_certificates_and_hostnames_common_name_output, - "tls-certificates-and-hostnames_country": tls_certificates_and_hostnames_country_output, - "tls-certificates-and-hostnames_csr-2": tls_certificates_and_hostnames_csr_2_output, - "tls-certificates-and-hostnames_expired_on": tls_certificates_and_hostnames_expired_on_output, - "tls-certificates-and-hostnames_fingerprint_sha256": tls_certificates_and_hostnames_fingerprint_sha256_output, - "tls-certificates-and-hostnames_issued_on": tls_certificates_and_hostnames_issued_on_output, - "tls-certificates-and-hostnames_location": tls_certificates_and_hostnames_location_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_organization": tls_certificates_and_hostnames_organization_output, - "tls-certificates-and-hostnames_organizational_unit": tls_certificates_and_hostnames_organizational_unit_output, - "tls-certificates-and-hostnames_serial_number-3": tls_certificates_and_hostnames_serial_number_3_output, - "tls-certificates-and-hostnames_signature-3": tls_certificates_and_hostnames_signature_3_output, - "tls-certificates-and-hostnames_ski": tls_certificates_and_hostnames_ski_output, - "tls-certificates-and-hostnames_state": tls_certificates_and_hostnames_state_output, - "tls-certificates-and-hostnames_status-11": tls_certificates_and_hostnames_status_11_output, - "tls-certificates-and-hostnames_validity_days-2": tls_certificates_and_hostnames_validity_days_2_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, + "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, + "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, + "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, + "tls-certificates-and-hostnames_client_certificate_response_collection": tls$$certificates$$and$$hostnames_client_certificate_response_collection, + "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, + "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, + "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, + "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, + "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, + "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, + "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, + "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, + "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, + "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, + "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, + "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, + "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, + "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/client_certificates`, query: [ - ["status", args["status"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["limit", args["limit"], true], - ["offset", args["offset"], true], + ["status", param(args, "query", "status"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], ], }), }, diff --git a/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts b/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts index 83939f871..8ccf958f4 100644 --- a/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts +++ b/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `tls-certificates-and-hostnames_ct_alerting_emails` in * responses. */ -export const tls_certificates_and_hostnames_ct_alerting_emails_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ct_alerting_emails: JsonSchema = { "items": { "type": "string" }, @@ -19,7 +19,7 @@ export const tls_certificates_and_hostnames_ct_alerting_emails_output: JsonSchem * The schema of `tls-certificates-and-hostnames_ct_alerting_enabled` in * responses. */ -export const tls_certificates_and_hostnames_ct_alerting_enabled_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ct_alerting_enabled: JsonSchema = { "type": "boolean" }; @@ -27,7 +27,7 @@ export const tls_certificates_and_hostnames_ct_alerting_enabled_output: JsonSche * The schema of `tls-certificates-and-hostnames_ct_alerting_subscription` in * responses. */ -export const tls_certificates_and_hostnames_ct_alerting_subscription_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ct_alerting_subscription: JsonSchema = { "properties": { "emails": { "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_emails" @@ -47,7 +47,7 @@ export const tls_certificates_and_hostnames_ct_alerting_subscription_output: Jso * `tls-certificates-and-hostnames_ct_alerting_subscription_response_single` in * responses. */ -export const tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" diff --git a/src/generated/forge-mcp/ssl/ctAlerting/schemas.ts b/src/generated/forge-mcp/ssl/ctAlerting/schemas.ts index 5550acd84..5107c0f6b 100644 --- a/src/generated/forge-mcp/ssl/ctAlerting/schemas.ts +++ b/src/generated/forge-mcp/ssl/ctAlerting/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_ct_alerting_emails`. */ -export const tls_certificates_and_hostnames_ct_alerting_emails: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ct_alerting_emails: JsonSchema = { "description": "Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.\n", "items": { "type": "string" @@ -18,7 +18,7 @@ export const tls_certificates_and_hostnames_ct_alerting_emails: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_ct_alerting_enabled`. */ -export const tls_certificates_and_hostnames_ct_alerting_enabled: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ct_alerting_enabled: JsonSchema = { "description": "Whether CT alerting is enabled for the zone.", "type": "boolean" }; @@ -27,7 +27,7 @@ export const tls_certificates_and_hostnames_ct_alerting_enabled: JsonSchema = { * The schema of * `tls-certificates-and-hostnames_ct_alerting_subscription_update`. */ -export const tls_certificates_and_hostnames_ct_alerting_subscription_update: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ct_alerting_subscription_update: JsonSchema = { "description": "Request body for updating CT alerting subscription settings.", "properties": { "emails": { diff --git a/src/generated/forge-mcp/ssl/ctAlerting/tools.ts b/src/generated/forge-mcp/ssl/ctAlerting/tools.ts index f98942620..f6e48e63a 100644 --- a/src/generated/forge-mcp/ssl/ctAlerting/tools.ts +++ b/src/generated/forge-mcp/ssl/ctAlerting/tools.ts @@ -3,55 +3,63 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_ct_alerting_emails_output, - tls_certificates_and_hostnames_ct_alerting_enabled_output, - tls_certificates_and_hostnames_ct_alerting_subscription_output, - tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output, + tls$$certificates$$and$$hostnames_ct_alerting_emails, + tls$$certificates$$and$$hostnames_ct_alerting_enabled, + tls$$certificates$$and$$hostnames_ct_alerting_subscription, + tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, } from "./outputs.js"; import { - tls_certificates_and_hostnames_ct_alerting_emails, - tls_certificates_and_hostnames_ct_alerting_enabled, - tls_certificates_and_hostnames_ct_alerting_subscription_update, + tls$$certificates$$and$$hostnames_ct_alerting_emails as tls$$certificates$$and$$hostnames_ct_alerting_emails$, + tls$$certificates$$and$$hostnames_ct_alerting_enabled as tls$$certificates$$and$$hostnames_ct_alerting_enabled$, + tls$$certificates$$and$$hostnames_ct_alerting_subscription_update, } from "./schemas.js"; /** - * The tools of `ssl.ct_alerting`. + * The tools of `ssl.ctAlerting`. */ export const tools: readonly Tool[] = [ { - name: "ssl_ct_alerting_get", + name: "ssl_ctAlerting_get", title: "Get CT Alerting Subscription", description: "Retrieve the Certificate Transparency alerting subscription settings for a zone. Returns whether CT monitoring is enabled and the list of email addresses that receive alerts, if any have been configured.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ct_alerting_emails": tls_certificates_and_hostnames_ct_alerting_emails_output, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls_certificates_and_hostnames_ct_alerting_enabled_output, - "tls-certificates-and-hostnames_ct_alerting_subscription": tls_certificates_and_hostnames_ct_alerting_subscription_output, - "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails, + "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled, + "tls-certificates-and-hostnames_ct_alerting_subscription": tls$$certificates$$and$$hostnames_ct_alerting_subscription, + "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -92,13 +100,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ct_alerting_emails": tls_certificates_and_hostnames_ct_alerting_emails_output, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls_certificates_and_hostnames_ct_alerting_enabled_output, - "tls-certificates-and-hostnames_ct_alerting_subscription": tls_certificates_and_hostnames_ct_alerting_subscription_output, - "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails, + "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled, + "tls-certificates-and-hostnames_ct_alerting_subscription": tls$$certificates$$and$$hostnames_ct_alerting_subscription, + "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -106,7 +114,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_ct_alerting_update", + name: "ssl_ctAlerting_update", title: "Update CT Alerting Subscription", description: "Create or update the Certificate Transparency alerting subscription for a zone. Enables or disables email notifications when certificates are issued for the zone's domains.\nThe `enabled` field is required on every request and controls whether the subscription is active. The `emails` field is optional and, when provided, replaces the stored recipient list for the zone. When `emails` is omitted, the stored recipient list is preserved and only the enabled state is toggled. A maximum of 100 email addresses may be configured per zone.\nRequests that omit `enabled` are rejected with error code 1008.\nSubscribe and unsubscribe notification emails are only sent for recipients whose effective subscription state changes. Idempotent requests (no state change) send no notification email.", inputSchema: { @@ -115,31 +123,39 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription_update" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_ct_alerting_emails": tls_certificates_and_hostnames_ct_alerting_emails, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls_certificates_and_hostnames_ct_alerting_enabled, - "tls-certificates-and-hostnames_ct_alerting_subscription_update": tls_certificates_and_hostnames_ct_alerting_subscription_update, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails$, + "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled$, + "tls-certificates-and-hostnames_ct_alerting_subscription_update": tls$$certificates$$and$$hostnames_ct_alerting_subscription_update, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ct_alerting_emails": tls_certificates_and_hostnames_ct_alerting_emails_output, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls_certificates_and_hostnames_ct_alerting_enabled_output, - "tls-certificates-and-hostnames_ct_alerting_subscription": tls_certificates_and_hostnames_ct_alerting_subscription_output, - "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails, + "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled, + "tls-certificates-and-hostnames_ct_alerting_subscription": tls$$certificates$$and$$hostnames_ct_alerting_subscription, + "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -179,13 +195,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ct_alerting_emails": tls_certificates_and_hostnames_ct_alerting_emails_output, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls_certificates_and_hostnames_ct_alerting_enabled_output, - "tls-certificates-and-hostnames_ct_alerting_subscription": tls_certificates_and_hostnames_ct_alerting_subscription_output, - "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls_certificates_and_hostnames_ct_alerting_subscription_response_single_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails, + "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled, + "tls-certificates-and-hostnames_ct_alerting_subscription": tls$$certificates$$and$$hostnames_ct_alerting_subscription, + "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/customCertificates/outputs.ts b/src/generated/forge-mcp/ssl/customCertificates/outputs.ts index a0ba5748e..0260a3075 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../_/tool.js"; * `tls-certificates-and-hostnames_certificate_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_certificate_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -31,7 +31,7 @@ export const tls_certificates_and_hostnames_certificate_response_collection_outp * The schema of `tls-certificates-and-hostnames_certificate_response_id_only` * in responses. */ -export const tls_certificates_and_hostnames_certificate_response_id_only_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_id_only: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -56,7 +56,7 @@ export const tls_certificates_and_hostnames_certificate_response_id_only_output: * The schema of `tls-certificates-and-hostnames_certificate_response_single` in * responses. */ -export const tls_certificates_and_hostnames_certificate_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -76,7 +76,7 @@ export const tls_certificates_and_hostnames_certificate_response_single_output: * The schema of `tls-certificates-and-hostnames_custom-certificate` in * responses. */ -export const tls_certificates_and_hostnames_custom_certificate_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom$$certificate: JsonSchema = { "properties": { "bundle_method": { "$ref": "#/$defs/tls-certificates-and-hostnames_bundle_method" @@ -135,21 +135,21 @@ export const tls_certificates_and_hostnames_custom_certificate_output: JsonSchem * The schema of `tls-certificates-and-hostnames_custom_certificate_identifier` * in responses. */ -export const tls_certificates_and_hostnames_custom_certificate_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_certificate_identifier: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_custom_csr_id` in responses. */ -export const tls_certificates_and_hostnames_custom_csr_id_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_csr_id: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_expires_on` in responses. */ -export const tls_certificates_and_hostnames_expires_on_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_expires_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -157,7 +157,7 @@ export const tls_certificates_and_hostnames_expires_on_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_geo_restrictions` in responses. */ -export const tls_certificates_and_hostnames_geo_restrictions_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_geo_restrictions: JsonSchema = { "properties": { "label": { "enum": [ @@ -174,7 +174,7 @@ export const tls_certificates_and_hostnames_geo_restrictions_output: JsonSchema /** * The schema of `tls-certificates-and-hostnames_hosts` in responses. */ -export const tls_certificates_and_hostnames_hosts_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hosts: JsonSchema = { "items": { "type": "string" }, @@ -184,7 +184,7 @@ export const tls_certificates_and_hostnames_hosts_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_modified_on` in responses. */ -export const tls_certificates_and_hostnames_modified_on_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -193,21 +193,21 @@ export const tls_certificates_and_hostnames_modified_on_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_policy_restrictions` in * responses. */ -export const tls_certificates_and_hostnames_policy_restrictions_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_policy_restrictions: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_priority` in responses. */ -export const tls_certificates_and_hostnames_priority_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_priority: JsonSchema = { "type": "number" }; /** * The schema of `tls-certificates-and-hostnames_status` in responses. */ -export const tls_certificates_and_hostnames_status_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status: JsonSchema = { "enum": [ "active", "expired", diff --git a/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts b/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts index bc1e9b414..587a50713 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts @@ -3,50 +3,50 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_identifier_output, - tls_certificates_and_hostnames_issuer_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_signature_output, - tls_certificates_and_hostnames_uploaded_on_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_identifier, + tls$$certificates$$and$$hostnames_issuer, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_signature, + tls$$certificates$$and$$hostnames_uploaded_on, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier as tls$$certificates$$and$$hostnames_identifier$ } from "../../../schemas.js"; import { - tls_certificates_and_hostnames_bundle_method_output, - tls_certificates_and_hostnames_enabled_output, - tls_certificates_and_hostnames_host_output, - tls_certificates_and_hostnames_keyless_certificate_identifier_output, - tls_certificates_and_hostnames_keyless_certificate_output, - tls_certificates_and_hostnames_keyless_private_ip_output, - tls_certificates_and_hostnames_keyless_tunnel_output, - tls_certificates_and_hostnames_keyless_vnet_id_output, - tls_certificates_and_hostnames_name_output, - tls_certificates_and_hostnames_port_output, - tls_certificates_and_hostnames_status_2_output, + tls$$certificates$$and$$hostnames_bundle_method, + tls$$certificates$$and$$hostnames_enabled, + tls$$certificates$$and$$hostnames_host, + tls$$certificates$$and$$hostnames_keyless$$certificate, + tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + tls$$certificates$$and$$hostnames_keyless_private_ip, + tls$$certificates$$and$$hostnames_keyless_tunnel, + tls$$certificates$$and$$hostnames_keyless_vnet_id, + tls$$certificates$$and$$hostnames_name, + tls$$certificates$$and$$hostnames_port, + tls$$certificates$$and$$hostnames_status$$2, } from "../../outputs.js"; import { - tls_certificates_and_hostnames_certificate_response_collection_output, - tls_certificates_and_hostnames_custom_certificate_identifier_output, - tls_certificates_and_hostnames_custom_certificate_output, - tls_certificates_and_hostnames_custom_csr_id_output, - tls_certificates_and_hostnames_expires_on_output, - tls_certificates_and_hostnames_geo_restrictions_output, - tls_certificates_and_hostnames_hosts_output, - tls_certificates_and_hostnames_modified_on_output, - tls_certificates_and_hostnames_policy_restrictions_output, - tls_certificates_and_hostnames_priority_output, - tls_certificates_and_hostnames_status_output, + tls$$certificates$$and$$hostnames_certificate_response_collection, + tls$$certificates$$and$$hostnames_custom$$certificate, + tls$$certificates$$and$$hostnames_custom_certificate_identifier, + tls$$certificates$$and$$hostnames_custom_csr_id, + tls$$certificates$$and$$hostnames_expires_on, + tls$$certificates$$and$$hostnames_geo_restrictions, + tls$$certificates$$and$$hostnames_hosts, + tls$$certificates$$and$$hostnames_modified_on, + tls$$certificates$$and$$hostnames_policy_restrictions, + tls$$certificates$$and$$hostnames_priority, + tls$$certificates$$and$$hostnames_status, } from "../outputs.js"; -import { tls_certificates_and_hostnames_priority } from "../schemas.js"; +import { tls$$certificates$$and$$hostnames_priority as tls$$certificates$$and$$hostnames_priority$ } from "../schemas.js"; /** - * The tools of `ssl.custom_certificates.prioritize`. + * The tools of `ssl.customCertificates.prioritize`. */ export const tools: readonly Tool[] = [ { - name: "ssl_custom_certificates_prioritize_update", + name: "ssl_customCertificates_prioritize_update", title: "Re-prioritize SSL Certificates", description: "If a zone has multiple SSL certificates, you can set the order in which they should be used during a request. The higher priority will break ties across overlapping 'legacy_custom' certificates.", inputSchema: { @@ -73,52 +73,60 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_collection": tls_certificates_and_hostnames_certificate_response_collection_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_collection": tls$$certificates$$and$$hostnames_certificate_response_collection, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -164,36 +172,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_collection": tls_certificates_and_hostnames_certificate_response_collection_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_collection": tls$$certificates$$and$$hostnames_certificate_response_collection, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/customCertificates/schemas.ts b/src/generated/forge-mcp/ssl/customCertificates/schemas.ts index 972997f84..a1f47bb13 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/schemas.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_custom_certificate_identifier`. */ -export const tls_certificates_and_hostnames_custom_certificate_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_certificate_identifier: JsonSchema = { "description": "Custom certificate identifier tag.", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_custom_certificate_identifier: JsonS /** * The schema of `tls-certificates-and-hostnames_custom_csr_id`. */ -export const tls_certificates_and_hostnames_custom_csr_id: JsonSchema = { +export const tls$$certificates$$and$$hostnames_custom_csr_id: JsonSchema = { "description": "The identifier for the Custom CSR that was used.", "type": "string" }; @@ -22,7 +22,7 @@ export const tls_certificates_and_hostnames_custom_csr_id: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_deploy`. */ -export const tls_certificates_and_hostnames_deploy: JsonSchema = { +export const tls$$certificates$$and$$hostnames_deploy: JsonSchema = { "description": "The environment to deploy the certificate to, defaults to production.", "enum": [ "staging", @@ -34,7 +34,7 @@ export const tls_certificates_and_hostnames_deploy: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_geo_restrictions`. */ -export const tls_certificates_and_hostnames_geo_restrictions: JsonSchema = { +export const tls$$certificates$$and$$hostnames_geo_restrictions: JsonSchema = { "description": "Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance.", "properties": { "label": { @@ -52,7 +52,7 @@ export const tls_certificates_and_hostnames_geo_restrictions: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_policy`. */ -export const tls_certificates_and_hostnames_policy: JsonSchema = { +export const tls$$certificates$$and$$hostnames_policy: JsonSchema = { "description": "Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.\nNote: The API accepts this field as either \"policy\" or \"policy_restrictions\" in requests. Responses return this field as \"policy_restrictions\".", "type": "string" }; @@ -60,7 +60,7 @@ export const tls_certificates_and_hostnames_policy: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_priority`. */ -export const tls_certificates_and_hostnames_priority: JsonSchema = { +export const tls$$certificates$$and$$hostnames_priority: JsonSchema = { "description": "The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacy_custom' certificates, but 'legacy_custom' certificates will always supercede 'sni_custom' certificates.", "type": "number" }; @@ -68,7 +68,7 @@ export const tls_certificates_and_hostnames_priority: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_private_key`. */ -export const tls_certificates_and_hostnames_private_key: JsonSchema = { +export const tls$$certificates$$and$$hostnames_private_key: JsonSchema = { "description": "The zone's private key. Not required if custom_csr_id is provided, in which case the private key is retrieved from the CSR record held by Cloudflare.", "type": "string" }; @@ -76,7 +76,7 @@ export const tls_certificates_and_hostnames_private_key: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_type`. */ -export const tls_certificates_and_hostnames_type: JsonSchema = { +export const tls$$certificates$$and$$hostnames_type: JsonSchema = { "description": "The type 'legacy_custom' enables support for legacy clients which do not include SNI in the TLS handshake.", "enum": [ "legacy_custom", diff --git a/src/generated/forge-mcp/ssl/customCertificates/tools.ts b/src/generated/forge-mcp/ssl/customCertificates/tools.ts index 7eb072da1..5ab069bf6 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/tools.ts @@ -1,67 +1,67 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_identifier_output, - tls_certificates_and_hostnames_issuer_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_signature_output, - tls_certificates_and_hostnames_uploaded_on_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_identifier, + tls$$certificates$$and$$hostnames_issuer, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_signature, + tls$$certificates$$and$$hostnames_uploaded_on, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier as tls$$certificates$$and$$hostnames_identifier$ } from "../../schemas.js"; import { - tls_certificates_and_hostnames_bundle_method_output, - tls_certificates_and_hostnames_enabled_output, - tls_certificates_and_hostnames_host_output, - tls_certificates_and_hostnames_keyless_certificate_identifier_output, - tls_certificates_and_hostnames_keyless_certificate_output, - tls_certificates_and_hostnames_keyless_private_ip_output, - tls_certificates_and_hostnames_keyless_tunnel_output, - tls_certificates_and_hostnames_keyless_vnet_id_output, - tls_certificates_and_hostnames_name_output, - tls_certificates_and_hostnames_port_output, - tls_certificates_and_hostnames_status_2_output, + tls$$certificates$$and$$hostnames_bundle_method, + tls$$certificates$$and$$hostnames_enabled, + tls$$certificates$$and$$hostnames_host, + tls$$certificates$$and$$hostnames_keyless$$certificate, + tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + tls$$certificates$$and$$hostnames_keyless_private_ip, + tls$$certificates$$and$$hostnames_keyless_tunnel, + tls$$certificates$$and$$hostnames_keyless_vnet_id, + tls$$certificates$$and$$hostnames_name, + tls$$certificates$$and$$hostnames_port, + tls$$certificates$$and$$hostnames_status$$2, } from "../outputs.js"; import { - tls_certificates_and_hostnames_bundle_method, - tls_certificates_and_hostnames_certificate, + tls$$certificates$$and$$hostnames_bundle_method as tls$$certificates$$and$$hostnames_bundle_method$, + tls$$certificates$$and$$hostnames_certificate, } from "../schemas.js"; import { - tls_certificates_and_hostnames_certificate_response_collection_output, - tls_certificates_and_hostnames_certificate_response_id_only_output, - tls_certificates_and_hostnames_certificate_response_single_output, - tls_certificates_and_hostnames_custom_certificate_identifier_output, - tls_certificates_and_hostnames_custom_certificate_output, - tls_certificates_and_hostnames_custom_csr_id_output, - tls_certificates_and_hostnames_expires_on_output, - tls_certificates_and_hostnames_geo_restrictions_output, - tls_certificates_and_hostnames_hosts_output, - tls_certificates_and_hostnames_modified_on_output, - tls_certificates_and_hostnames_policy_restrictions_output, - tls_certificates_and_hostnames_priority_output, - tls_certificates_and_hostnames_status_output, + tls$$certificates$$and$$hostnames_certificate_response_collection, + tls$$certificates$$and$$hostnames_certificate_response_id_only, + tls$$certificates$$and$$hostnames_certificate_response_single, + tls$$certificates$$and$$hostnames_custom$$certificate, + tls$$certificates$$and$$hostnames_custom_certificate_identifier, + tls$$certificates$$and$$hostnames_custom_csr_id, + tls$$certificates$$and$$hostnames_expires_on, + tls$$certificates$$and$$hostnames_geo_restrictions, + tls$$certificates$$and$$hostnames_hosts, + tls$$certificates$$and$$hostnames_modified_on, + tls$$certificates$$and$$hostnames_policy_restrictions, + tls$$certificates$$and$$hostnames_priority, + tls$$certificates$$and$$hostnames_status, } from "./outputs.js"; import { - tls_certificates_and_hostnames_custom_certificate_identifier, - tls_certificates_and_hostnames_custom_csr_id, - tls_certificates_and_hostnames_deploy, - tls_certificates_and_hostnames_geo_restrictions, - tls_certificates_and_hostnames_policy, - tls_certificates_and_hostnames_private_key, - tls_certificates_and_hostnames_type, + tls$$certificates$$and$$hostnames_custom_certificate_identifier as tls$$certificates$$and$$hostnames_custom_certificate_identifier$, + tls$$certificates$$and$$hostnames_custom_csr_id as tls$$certificates$$and$$hostnames_custom_csr_id$, + tls$$certificates$$and$$hostnames_deploy, + tls$$certificates$$and$$hostnames_geo_restrictions as tls$$certificates$$and$$hostnames_geo_restrictions$, + tls$$certificates$$and$$hostnames_policy, + tls$$certificates$$and$$hostnames_private_key, + tls$$certificates$$and$$hostnames_type, } from "./schemas.js"; /** - * The tools of `ssl.custom_certificates`. + * The tools of `ssl.customCertificates`. */ export const tools: readonly Tool[] = [ { - name: "ssl_custom_certificates_create", + name: "ssl_customCertificates_create", title: "Create SSL Configuration", description: "Upload a new SSL certificate for a zone.", inputSchema: { @@ -110,58 +110,66 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method, - "tls-certificates-and-hostnames_certificate": tls_certificates_and_hostnames_certificate, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id, - "tls-certificates-and-hostnames_deploy": tls_certificates_and_hostnames_deploy, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_policy": tls_certificates_and_hostnames_policy, - "tls-certificates-and-hostnames_private_key": tls_certificates_and_hostnames_private_key, - "tls-certificates-and-hostnames_type": tls_certificates_and_hostnames_type, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method$, + "tls-certificates-and-hostnames_certificate": tls$$certificates$$and$$hostnames_certificate, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id$, + "tls-certificates-and-hostnames_deploy": tls$$certificates$$and$$hostnames_deploy, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, + "tls-certificates-and-hostnames_policy": tls$$certificates$$and$$hostnames_policy, + "tls-certificates-and-hostnames_private_key": tls$$certificates$$and$$hostnames_private_key, + "tls-certificates-and-hostnames_type": tls$$certificates$$and$$hostnames_type, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_single": tls_certificates_and_hostnames_certificate_response_single_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -207,35 +215,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_single": tls_certificates_and_hostnames_certificate_response_single_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -244,37 +252,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_custom_certificates_delete", + name: "ssl_customCertificates_delete", title: "Delete SSL Configuration", description: "Remove a SSL certificate from a zone.", inputSchema: { type: "object", properties: { - "custom_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier", - "description": "Custom certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "custom_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier", + "description": "Custom certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_id_only", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_response_id_only": tls_certificates_and_hostnames_certificate_response_id_only_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_response_id_only": tls$$certificates$$and$$hostnames_certificate_response_id_only, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -320,11 +336,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate_response_id_only": tls_certificates_and_hostnames_certificate_response_id_only_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate_response_id_only": tls$$certificates$$and$$hostnames_certificate_response_id_only, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -332,7 +348,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_custom_certificates_edit", + name: "ssl_customCertificates_edit", title: "Edit SSL Configuration", description: "Upload a new private key and/or PEM/CRT for the SSL certificate. Note: PATCHing a configuration for sni_custom certificates will result in a new resource id being returned, and the previous one being deleted.", inputSchema: { @@ -373,63 +389,71 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "custom_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier", - "description": "Custom certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "custom_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier", + "description": "Custom certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_certificate_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method, - "tls-certificates-and-hostnames_certificate": tls_certificates_and_hostnames_certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id, - "tls-certificates-and-hostnames_deploy": tls_certificates_and_hostnames_deploy, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_policy": tls_certificates_and_hostnames_policy, - "tls-certificates-and-hostnames_private_key": tls_certificates_and_hostnames_private_key, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method$, + "tls-certificates-and-hostnames_certificate": tls$$certificates$$and$$hostnames_certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier$, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id$, + "tls-certificates-and-hostnames_deploy": tls$$certificates$$and$$hostnames_deploy, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, + "tls-certificates-and-hostnames_policy": tls$$certificates$$and$$hostnames_policy, + "tls-certificates-and-hostnames_private_key": tls$$certificates$$and$$hostnames_private_key, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_single": tls_certificates_and_hostnames_certificate_response_single_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -475,35 +499,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_single": tls_certificates_and_hostnames_certificate_response_single_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -512,61 +536,69 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_custom_certificates_get", + name: "ssl_customCertificates_get", title: "SSL Configuration Details", description: "Retrieves details for a specific custom SSL certificate, including certificate metadata, bundle method, geographic restrictions, and associated keyless server configuration.", inputSchema: { type: "object", properties: { - "custom_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier", - "description": "Custom certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "custom_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier", + "description": "Custom certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "custom_certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "custom_certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_single": tls_certificates_and_hostnames_certificate_response_single_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -614,35 +646,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_single": tls_certificates_and_hostnames_certificate_response_single_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -650,86 +682,99 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_custom_certificates_list", + name: "ssl_customCertificates_list", title: "List SSL Configurations", description: "List, search, and filter all of your custom SSL certificates. The higher priority will break ties across overlapping 'legacy_custom' certificates, but 'legacy_custom' certificates will always supercede 'sni_custom' certificates.", inputSchema: { type: "object", properties: { - "match": { - "default": "all", - "description": "Whether to match all search requirements or at least one (any).", - "enum": [ - "any", - "all" - ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Number of zones per page.", - "type": "number" - }, - "status": { - "description": "Status of the zone's custom SSL.", - "enum": [ - "active", - "expired", - "deleted", - "pending", - "initializing" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" ], - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "query": { + "properties": { + "match": { + "default": "all", + "description": "Whether to match all search requirements or at least one (any).", + "enum": [ + "any", + "all" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Number of zones per page.", + "type": "number" + }, + "status": { + "description": "Status of the zone's custom SSL.", + "enum": [ + "active", + "expired", + "deleted", + "pending", + "initializing" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_collection": tls_certificates_and_hostnames_certificate_response_collection_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_collection": tls$$certificates$$and$$hostnames_certificate_response_collection, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -777,45 +822,45 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method_output, - "tls-certificates-and-hostnames_certificate_response_collection": tls_certificates_and_hostnames_certificate_response_collection_output, - "tls-certificates-and-hostnames_custom-certificate": tls_certificates_and_hostnames_custom_certificate_output, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls_certificates_and_hostnames_custom_certificate_identifier_output, - "tls-certificates-and-hostnames_custom_csr_id": tls_certificates_and_hostnames_custom_csr_id_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_expires_on": tls_certificates_and_hostnames_expires_on_output, - "tls-certificates-and-hostnames_geo_restrictions": tls_certificates_and_hostnames_geo_restrictions_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_hosts": tls_certificates_and_hostnames_hosts_output, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_modified_on": tls_certificates_and_hostnames_modified_on_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_policy_restrictions": tls_certificates_and_hostnames_policy_restrictions_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_priority": tls_certificates_and_hostnames_priority_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status": tls_certificates_and_hostnames_status_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, - "tls-certificates-and-hostnames_uploaded_on": tls_certificates_and_hostnames_uploaded_on_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate_response_collection": tls$$certificates$$and$$hostnames_certificate_response_collection, + "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, + "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, + "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, + "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, + "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/custom_certificates`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["match", args["match"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["match", param(args, "query", "match"), true], + ["status", param(args, "query", "status"), true], ], }), }, diff --git a/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts b/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts index 1a2b8f20c..225a1c7f2 100644 --- a/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts +++ b/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `tls-certificates-and-hostnames_dcv_delegation_response` in * responses. */ -export const tls_certificates_and_hostnames_dcv_delegation_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_dcv_delegation_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -26,14 +26,14 @@ export const tls_certificates_and_hostnames_dcv_delegation_response_output: Json /** * The schema of `tls-certificates-and-hostnames_uuid` in responses. */ -export const tls_certificates_and_hostnames_uuid_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_uuid: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_uuidObject` in responses. */ -export const tls_certificates_and_hostnames_uuidObject_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_uuidObject: JsonSchema = { "properties": { "uuid": { "$ref": "#/$defs/tls-certificates-and-hostnames_uuid" diff --git a/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts b/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts index c65444234..b0bcdac0f 100644 --- a/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts +++ b/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts @@ -3,48 +3,56 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_dcv_delegation_response_output, - tls_certificates_and_hostnames_uuidObject_output, - tls_certificates_and_hostnames_uuid_output, + tls$$certificates$$and$$hostnames_dcv_delegation_response, + tls$$certificates$$and$$hostnames_uuid, + tls$$certificates$$and$$hostnames_uuidObject, } from "./outputs.js"; /** - * The tools of `ssl.dcv_delegation`. + * The tools of `ssl.dcvDelegation`. */ export const tools: readonly Tool[] = [ { - name: "ssl_dcv_delegation_get", + name: "ssl_dcvDelegation_get", title: "Retrieve the DCV Delegation unique identifier.", description: "Retrieve the account and zone specific unique identifier used as part of the CNAME target for DCV Delegation.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_dcv_delegation_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_dcv_delegation_response": tls_certificates_and_hostnames_dcv_delegation_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_uuid": tls_certificates_and_hostnames_uuid_output, - "tls-certificates-and-hostnames_uuidObject": tls_certificates_and_hostnames_uuidObject_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_dcv_delegation_response": tls$$certificates$$and$$hostnames_dcv_delegation_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_uuid": tls$$certificates$$and$$hostnames_uuid, + "tls-certificates-and-hostnames_uuidObject": tls$$certificates$$and$$hostnames_uuidObject, }, }, annotations: { @@ -85,12 +93,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_dcv_delegation_response": tls_certificates_and_hostnames_dcv_delegation_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_uuid": tls_certificates_and_hostnames_uuid_output, - "tls-certificates-and-hostnames_uuidObject": tls_certificates_and_hostnames_uuidObject_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_dcv_delegation_response": tls$$certificates$$and$$hostnames_dcv_delegation_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_uuid": tls$$certificates$$and$$hostnames_uuid, + "tls-certificates-and-hostnames_uuidObject": tls$$certificates$$and$$hostnames_uuidObject, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts b/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts index 1afe76fb0..e108c89f2 100644 --- a/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_base` in responses. */ -export const tls_certificates_and_hostnames_base_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_base: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -62,7 +62,7 @@ export const tls_certificates_and_hostnames_base_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_keyless_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_keyless_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -85,7 +85,7 @@ export const tls_certificates_and_hostnames_keyless_response_collection_output: * The schema of `tls-certificates-and-hostnames_keyless_response_single` in * responses. */ -export const tls_certificates_and_hostnames_keyless_response_single_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -105,7 +105,7 @@ export const tls_certificates_and_hostnames_keyless_response_single_output: Json * The schema of `tls-certificates-and-hostnames_keyless_response_single_id` in * responses. */ -export const tls_certificates_and_hostnames_keyless_response_single_id_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_response_single_id: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" diff --git a/src/generated/forge-mcp/ssl/keylessCertificates/schemas.ts b/src/generated/forge-mcp/ssl/keylessCertificates/schemas.ts index f55a5f7c6..301c51216 100644 --- a/src/generated/forge-mcp/ssl/keylessCertificates/schemas.ts +++ b/src/generated/forge-mcp/ssl/keylessCertificates/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_certificate-2`. */ -export const tls_certificates_and_hostnames_certificate_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate$$2: JsonSchema = { "description": "The zone's SSL certificate or SSL certificate and intermediate(s).", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_certificate_2: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_enabled_write`. */ -export const tls_certificates_and_hostnames_enabled_write: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled_write: JsonSchema = { "deprecated": true, "description": "Whether or not the Keyless SSL is on or off.", "type": "boolean" @@ -23,7 +23,7 @@ export const tls_certificates_and_hostnames_enabled_write: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_name_write`. */ -export const tls_certificates_and_hostnames_name_write: JsonSchema = { +export const tls$$certificates$$and$$hostnames_name_write: JsonSchema = { "description": "The keyless SSL name.", "type": "string" }; diff --git a/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts b/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts index 31d62ab2a..ddd5427ab 100644 --- a/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts @@ -3,52 +3,52 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_enabled_output, - tls_certificates_and_hostnames_host_output, - tls_certificates_and_hostnames_keyless_certificate_identifier_output, - tls_certificates_and_hostnames_keyless_certificate_output, - tls_certificates_and_hostnames_keyless_private_ip_output, - tls_certificates_and_hostnames_keyless_tunnel_output, - tls_certificates_and_hostnames_keyless_vnet_id_output, - tls_certificates_and_hostnames_name_output, - tls_certificates_and_hostnames_port_output, - tls_certificates_and_hostnames_status_2_output, + tls$$certificates$$and$$hostnames_enabled, + tls$$certificates$$and$$hostnames_host, + tls$$certificates$$and$$hostnames_keyless$$certificate, + tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + tls$$certificates$$and$$hostnames_keyless_private_ip, + tls$$certificates$$and$$hostnames_keyless_tunnel, + tls$$certificates$$and$$hostnames_keyless_vnet_id, + tls$$certificates$$and$$hostnames_name, + tls$$certificates$$and$$hostnames_port, + tls$$certificates$$and$$hostnames_status$$2, } from "../outputs.js"; import { - tls_certificates_and_hostnames_bundle_method, - tls_certificates_and_hostnames_host, - tls_certificates_and_hostnames_keyless_certificate_identifier, - tls_certificates_and_hostnames_keyless_private_ip, - tls_certificates_and_hostnames_keyless_tunnel, - tls_certificates_and_hostnames_keyless_vnet_id, - tls_certificates_and_hostnames_port, + tls$$certificates$$and$$hostnames_bundle_method, + tls$$certificates$$and$$hostnames_host as tls$$certificates$$and$$hostnames_host$, + tls$$certificates$$and$$hostnames_keyless_certificate_identifier as tls$$certificates$$and$$hostnames_keyless_certificate_identifier$, + tls$$certificates$$and$$hostnames_keyless_private_ip as tls$$certificates$$and$$hostnames_keyless_private_ip$, + tls$$certificates$$and$$hostnames_keyless_tunnel as tls$$certificates$$and$$hostnames_keyless_tunnel$, + tls$$certificates$$and$$hostnames_keyless_vnet_id as tls$$certificates$$and$$hostnames_keyless_vnet_id$, + tls$$certificates$$and$$hostnames_port as tls$$certificates$$and$$hostnames_port$, } from "../schemas.js"; import { - tls_certificates_and_hostnames_base_output, - tls_certificates_and_hostnames_keyless_response_collection_output, - tls_certificates_and_hostnames_keyless_response_single_id_output, - tls_certificates_and_hostnames_keyless_response_single_output, + tls$$certificates$$and$$hostnames_base, + tls$$certificates$$and$$hostnames_keyless_response_collection, + tls$$certificates$$and$$hostnames_keyless_response_single, + tls$$certificates$$and$$hostnames_keyless_response_single_id, } from "./outputs.js"; import { - tls_certificates_and_hostnames_certificate_2, - tls_certificates_and_hostnames_enabled_write, - tls_certificates_and_hostnames_name_write, + tls$$certificates$$and$$hostnames_certificate$$2, + tls$$certificates$$and$$hostnames_enabled_write, + tls$$certificates$$and$$hostnames_name_write, } from "./schemas.js"; /** - * The tools of `ssl.keyless_certificates`. + * The tools of `ssl.keylessCertificates`. */ export const tools: readonly Tool[] = [ { - name: "ssl_keyless_certificates_create", + name: "ssl_keylessCertificates_create", title: "Create Keyless SSL Configuration", description: "Creates a Keyless SSL configuration that allows SSL/TLS termination without exposing private keys to Cloudflare. Keys remain on your infrastructure.", inputSchema: { @@ -90,43 +90,51 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_bundle_method": tls_certificates_and_hostnames_bundle_method, - "tls-certificates-and-hostnames_certificate-2": tls_certificates_and_hostnames_certificate_2, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id, - "tls-certificates-and-hostnames_name_write": tls_certificates_and_hostnames_name_write, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port, + "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, + "tls-certificates-and-hostnames_certificate-2": tls$$certificates$$and$$hostnames_certificate$$2, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip$, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel$, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id$, + "tls-certificates-and-hostnames_name_write": tls$$certificates$$and$$hostnames_name_write, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_response_single": tls_certificates_and_hostnames_keyless_response_single_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, annotations: { @@ -171,20 +179,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_response_single": tls_certificates_and_hostnames_keyless_response_single_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, request: (args) => ({ @@ -193,37 +201,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_keyless_certificates_delete", + name: "ssl_keylessCertificates_delete", title: "Delete Keyless SSL Configuration", description: "Removes a Keyless SSL configuration. SSL connections will no longer use the keyless server for cryptographic operations.", inputSchema: { type: "object", properties: { - "keyless_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier", - "description": "Keyless certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "keyless_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier", + "description": "Keyless certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "keyless_certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "keyless_certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single_id", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_response_single_id": tls_certificates_and_hostnames_keyless_response_single_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_response_single_id": tls$$certificates$$and$$hostnames_keyless_response_single_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -268,11 +284,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_response_single_id": tls_certificates_and_hostnames_keyless_response_single_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_response_single_id": tls$$certificates$$and$$hostnames_keyless_response_single_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -280,7 +296,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_keyless_certificates_edit", + name: "ssl_keylessCertificates_edit", title: "Edit Keyless SSL Configuration", description: "This will update attributes of a Keyless SSL. Consists of one or more of the following: host,name,port.", inputSchema: { @@ -312,48 +328,56 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "keyless_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier", - "description": "Keyless certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "keyless_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier", + "description": "Keyless certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "keyless_certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "keyless_certificate_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_enabled_write": tls_certificates_and_hostnames_enabled_write, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id, - "tls-certificates-and-hostnames_name_write": tls_certificates_and_hostnames_name_write, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port, + "tls-certificates-and-hostnames_enabled_write": tls$$certificates$$and$$hostnames_enabled_write, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier$, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip$, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel$, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id$, + "tls-certificates-and-hostnames_name_write": tls$$certificates$$and$$hostnames_name_write, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_response_single": tls_certificates_and_hostnames_keyless_response_single_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, annotations: { @@ -398,20 +422,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_response_single": tls_certificates_and_hostnames_keyless_response_single_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, request: (args) => ({ @@ -420,46 +444,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_keyless_certificates_get", + name: "ssl_keylessCertificates_get", title: "Get Keyless SSL Configuration", description: "Get details for one Keyless SSL configuration.", inputSchema: { type: "object", properties: { - "keyless_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier", - "description": "Keyless certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "keyless_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier", + "description": "Keyless certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "keyless_certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "keyless_certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_response_single": tls_certificates_and_hostnames_keyless_response_single_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, annotations: { @@ -542,20 +574,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_base": tls_certificates_and_hostnames_base_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_response_single": tls_certificates_and_hostnames_keyless_response_single_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, request: (args) => ({ @@ -563,41 +595,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_keyless_certificates_list", + name: "ssl_keylessCertificates_list", title: "List Keyless SSL Configurations", description: "List all Keyless SSL configurations for a given zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_response_collection": tls_certificates_and_hostnames_keyless_response_collection_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_response_collection": tls$$certificates$$and$$hostnames_keyless_response_collection, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, annotations: { @@ -643,21 +683,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_enabled": tls_certificates_and_hostnames_enabled_output, - "tls-certificates-and-hostnames_host": tls_certificates_and_hostnames_host_output, - "tls-certificates-and-hostnames_keyless-certificate": tls_certificates_and_hostnames_keyless_certificate_output, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls_certificates_and_hostnames_keyless_certificate_identifier_output, - "tls-certificates-and-hostnames_keyless_private_ip": tls_certificates_and_hostnames_keyless_private_ip_output, - "tls-certificates-and-hostnames_keyless_response_collection": tls_certificates_and_hostnames_keyless_response_collection_output, - "tls-certificates-and-hostnames_keyless_tunnel": tls_certificates_and_hostnames_keyless_tunnel_output, - "tls-certificates-and-hostnames_keyless_vnet_id": tls_certificates_and_hostnames_keyless_vnet_id_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_name": tls_certificates_and_hostnames_name_output, - "tls-certificates-and-hostnames_port": tls_certificates_and_hostnames_port_output, - "tls-certificates-and-hostnames_status-2": tls_certificates_and_hostnames_status_2_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, + "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, + "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, + "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, + "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, + "tls-certificates-and-hostnames_keyless_response_collection": tls$$certificates$$and$$hostnames_keyless_response_collection, + "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, + "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, + "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, + "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts index 6d170e17d..1434bfdef 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `tls-certificates-and-hostnames_associationObject` in * responses. */ -export const tls_certificates_and_hostnames_associationObject_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_associationObject: JsonSchema = { "properties": { "service": { "$ref": "#/$defs/tls-certificates-and-hostnames_service" @@ -24,7 +24,7 @@ export const tls_certificates_and_hostnames_associationObject_output: JsonSchema * `tls-certificates-and-hostnames_association_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_association_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_association_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -46,13 +46,13 @@ export const tls_certificates_and_hostnames_association_response_collection_outp /** * The schema of `tls-certificates-and-hostnames_service` in responses. */ -export const tls_certificates_and_hostnames_service_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_service: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_status-10` in responses. */ -export const tls_certificates_and_hostnames_status_10_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$10: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts index 02014a9ae..bbf685080 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts @@ -3,59 +3,67 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; -import { tls_certificates_and_hostnames_mtls_certificate_identifier } from "../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_mtls_certificate_identifier } from "../schemas.js"; import { - tls_certificates_and_hostnames_associationObject_output, - tls_certificates_and_hostnames_association_response_collection_output, - tls_certificates_and_hostnames_service_output, - tls_certificates_and_hostnames_status_10_output, + tls$$certificates$$and$$hostnames_associationObject, + tls$$certificates$$and$$hostnames_association_response_collection, + tls$$certificates$$and$$hostnames_service, + tls$$certificates$$and$$hostnames_status$$10, } from "./outputs.js"; /** - * The tools of `ssl.mtls_certificates.associations`. + * The tools of `ssl.mtlsCertificates.associations`. */ export const tools: readonly Tool[] = [ { - name: "ssl_mtls_certificates_associations_get", + name: "ssl_mtlsCertificates_associations_get", title: "List mTLS certificate associations", description: "Lists all active associations between the certificate and Cloudflare services.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." - }, - "mtls_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier", - "description": "Certificate identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + }, + "mtls_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier", + "description": "Certificate identifier tag." + } + }, + "required": [ + "account_id", + "mtls_certificate_id" + ], + "type": "object" } }, required: [ - "account_id", - "mtls_certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_association_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_associationObject": tls_certificates_and_hostnames_associationObject_output, - "tls-certificates-and-hostnames_association_response_collection": tls_certificates_and_hostnames_association_response_collection_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_service": tls_certificates_and_hostnames_service_output, - "tls-certificates-and-hostnames_status-10": tls_certificates_and_hostnames_status_10_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_associationObject": tls$$certificates$$and$$hostnames_associationObject, + "tls-certificates-and-hostnames_association_response_collection": tls$$certificates$$and$$hostnames_association_response_collection, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_service": tls$$certificates$$and$$hostnames_service, + "tls-certificates-and-hostnames_status-10": tls$$certificates$$and$$hostnames_status$$10, }, }, annotations: { @@ -101,14 +109,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_associationObject": tls_certificates_and_hostnames_associationObject_output, - "tls-certificates-and-hostnames_association_response_collection": tls_certificates_and_hostnames_association_response_collection_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_service": tls_certificates_and_hostnames_service_output, - "tls-certificates-and-hostnames_status-10": tls_certificates_and_hostnames_status_10_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_associationObject": tls$$certificates$$and$$hostnames_associationObject, + "tls-certificates-and-hostnames_association_response_collection": tls$$certificates$$and$$hostnames_association_response_collection, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_service": tls$$certificates$$and$$hostnames_service, + "tls-certificates-and-hostnames_status-10": tls$$certificates$$and$$hostnames_status$$10, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts index 1a2fefdd5..8be3862fe 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_ca` in responses. */ -export const tls_certificates_and_hostnames_ca_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ca: JsonSchema = { "type": "boolean" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_ca_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_certificateObject-3` in * responses. */ -export const tls_certificates_and_hostnames_certificateObject_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificateObject$$3: JsonSchema = { "properties": { "ca": { "$ref": "#/$defs/tls-certificates-and-hostnames_ca" @@ -54,7 +54,7 @@ export const tls_certificates_and_hostnames_certificateObject_3_output: JsonSche * The schema of `tls-certificates-and-hostnames_certificateObjectPost` in * responses. */ -export const tls_certificates_and_hostnames_certificateObjectPost_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificateObjectPost: JsonSchema = { "properties": { "ca": { "$ref": "#/$defs/tls-certificates-and-hostnames_ca" @@ -98,7 +98,7 @@ export const tls_certificates_and_hostnames_certificateObjectPost_output: JsonSc * `tls-certificates-and-hostnames_certificate_response_collection-5` in * responses. */ -export const tls_certificates_and_hostnames_certificate_response_collection_5_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_collection$$5: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -146,7 +146,7 @@ export const tls_certificates_and_hostnames_certificate_response_collection_5_ou * The schema of `tls-certificates-and-hostnames_certificate_response_single-5` * in responses. */ -export const tls_certificates_and_hostnames_certificate_response_single_5_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_single$$5: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -167,7 +167,7 @@ export const tls_certificates_and_hostnames_certificate_response_single_5_output * `tls-certificates-and-hostnames_certificate_response_single_post` in * responses. */ -export const tls_certificates_and_hostnames_certificate_response_single_post_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_single_post: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -186,14 +186,14 @@ export const tls_certificates_and_hostnames_certificate_response_single_post_out /** * The schema of `tls-certificates-and-hostnames_certificates-2` in responses. */ -export const tls_certificates_and_hostnames_certificates_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificates$$2: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_issuer-2` in responses. */ -export const tls_certificates_and_hostnames_issuer_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_issuer$$2: JsonSchema = { "type": "string" }; @@ -201,28 +201,28 @@ export const tls_certificates_and_hostnames_issuer_2_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_mtls_certificate_identifier` in * responses. */ -export const tls_certificates_and_hostnames_mtls_certificate_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_mtls_certificate_identifier: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_name-2` in responses. */ -export const tls_certificates_and_hostnames_name_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_name$$2: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_serial_number-2` in responses. */ -export const tls_certificates_and_hostnames_serial_number_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_serial_number$$2: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_type-3` in responses. */ -export const tls_certificates_and_hostnames_type_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_type$$3: JsonSchema = { "enum": [ "custom", "gateway_managed", @@ -234,7 +234,7 @@ export const tls_certificates_and_hostnames_type_3_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_updated_at-4` in responses. */ -export const tls_certificates_and_hostnames_updated_at_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_updated_at$$4: JsonSchema = { "format": "date-time", "type": "string" }; @@ -242,7 +242,7 @@ export const tls_certificates_and_hostnames_updated_at_4_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_uploaded_on-4` in responses. */ -export const tls_certificates_and_hostnames_uploaded_on_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_uploaded_on$$4: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/schemas.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/schemas.ts index e2c537276..42c177f84 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/schemas.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_ca`. */ -export const tls_certificates_and_hostnames_ca: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ca: JsonSchema = { "description": "Indicates whether the certificate is a CA or leaf certificate.", "type": "boolean" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_ca: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_certificates-2`. */ -export const tls_certificates_and_hostnames_certificates_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificates$$2: JsonSchema = { "description": "The uploaded root CA certificate.", "type": "string" }; @@ -22,7 +22,7 @@ export const tls_certificates_and_hostnames_certificates_2: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_mtls_certificate_identifier`. */ -export const tls_certificates_and_hostnames_mtls_certificate_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_mtls_certificate_identifier: JsonSchema = { "description": "Certificate identifier tag.", "type": "string" }; @@ -30,7 +30,7 @@ export const tls_certificates_and_hostnames_mtls_certificate_identifier: JsonSch /** * The schema of `tls-certificates-and-hostnames_name-2`. */ -export const tls_certificates_and_hostnames_name_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_name$$2: JsonSchema = { "description": "Optional unique name for the certificate. Only used for human readability.", "type": "string" }; @@ -38,7 +38,7 @@ export const tls_certificates_and_hostnames_name_2: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_private_key-4`. */ -export const tls_certificates_and_hostnames_private_key_4: JsonSchema = { +export const tls$$certificates$$and$$hostnames_private_key$$4: JsonSchema = { "description": "The private key for the certificate. This field is only needed for specific use cases such as using a custom certificate with Zero Trust's block page.", "type": "string" }; diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts index d48890894..3fc8bbdbe 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts @@ -1,56 +1,52 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_expires_on_2_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_signature_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_expires_on$$2, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_signature, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_ca_output, - tls_certificates_and_hostnames_certificateObjectPost_output, - tls_certificates_and_hostnames_certificateObject_3_output, - tls_certificates_and_hostnames_certificate_response_collection_5_output, - tls_certificates_and_hostnames_certificate_response_single_5_output, - tls_certificates_and_hostnames_certificate_response_single_post_output, - tls_certificates_and_hostnames_certificates_2_output, - tls_certificates_and_hostnames_issuer_2_output, - tls_certificates_and_hostnames_mtls_certificate_identifier_output, - tls_certificates_and_hostnames_name_2_output, - tls_certificates_and_hostnames_serial_number_2_output, - tls_certificates_and_hostnames_type_3_output, - tls_certificates_and_hostnames_updated_at_4_output, - tls_certificates_and_hostnames_uploaded_on_4_output, + tls$$certificates$$and$$hostnames_ca, + tls$$certificates$$and$$hostnames_certificateObject$$3, + tls$$certificates$$and$$hostnames_certificateObjectPost, + tls$$certificates$$and$$hostnames_certificate_response_collection$$5, + tls$$certificates$$and$$hostnames_certificate_response_single$$5, + tls$$certificates$$and$$hostnames_certificate_response_single_post, + tls$$certificates$$and$$hostnames_certificates$$2, + tls$$certificates$$and$$hostnames_issuer$$2, + tls$$certificates$$and$$hostnames_mtls_certificate_identifier, + tls$$certificates$$and$$hostnames_name$$2, + tls$$certificates$$and$$hostnames_serial_number$$2, + tls$$certificates$$and$$hostnames_type$$3, + tls$$certificates$$and$$hostnames_updated_at$$4, + tls$$certificates$$and$$hostnames_uploaded_on$$4, } from "./outputs.js"; import { - tls_certificates_and_hostnames_ca, - tls_certificates_and_hostnames_certificates_2, - tls_certificates_and_hostnames_mtls_certificate_identifier, - tls_certificates_and_hostnames_name_2, - tls_certificates_and_hostnames_private_key_4, + tls$$certificates$$and$$hostnames_ca as tls$$certificates$$and$$hostnames_ca$, + tls$$certificates$$and$$hostnames_certificates$$2 as tls$$certificates$$and$$hostnames_certificates$$2$, + tls$$certificates$$and$$hostnames_mtls_certificate_identifier as tls$$certificates$$and$$hostnames_mtls_certificate_identifier$, + tls$$certificates$$and$$hostnames_name$$2 as tls$$certificates$$and$$hostnames_name$$2$, + tls$$certificates$$and$$hostnames_private_key$$4, } from "./schemas.js"; /** - * The tools of `ssl.mtls_certificates`. + * The tools of `ssl.mtlsCertificates`. */ export const tools: readonly Tool[] = [ { - name: "ssl_mtls_certificates_create", + name: "ssl_mtlsCertificates_create", title: "Upload mTLS certificate", description: "Upload a certificate that you want to use with mTLS-enabled Cloudflare services, such as Bring Your Own CA (BYO-CA) for mTLS. To create certificates issued by the Cloudflare managed CA, use the [Create Client Certificate endpoint](/api/resources/client_certificates/methods/create/).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." - }, "body": { "properties": { "ca": { @@ -75,38 +71,50 @@ export const tools: readonly Tool[] = [ "certificates" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca, - "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2, - "tls-certificates-and-hostnames_private_key-4": tls_certificates_and_hostnames_private_key_4, + "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca$, + "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2$, + "tls-certificates-and-hostnames_private_key-4": tls$$certificates$$and$$hostnames_private_key$$4, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single_post", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, - "tls-certificates-and-hostnames_certificateObjectPost": tls_certificates_and_hostnames_certificateObjectPost_output, - "tls-certificates-and-hostnames_certificate_response_single_post": tls_certificates_and_hostnames_certificate_response_single_post_output, - "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, - "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, - "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, - "tls-certificates-and-hostnames_updated_at-4": tls_certificates_and_hostnames_updated_at_4_output, - "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, + "tls-certificates-and-hostnames_certificateObjectPost": tls$$certificates$$and$$hostnames_certificateObjectPost, + "tls-certificates-and-hostnames_certificate_response_single_post": tls$$certificates$$and$$hostnames_certificate_response_single_post, + "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, + "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, + "tls-certificates-and-hostnames_updated_at-4": tls$$certificates$$and$$hostnames_updated_at$$4, + "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, annotations: { @@ -151,22 +159,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, - "tls-certificates-and-hostnames_certificateObjectPost": tls_certificates_and_hostnames_certificateObjectPost_output, - "tls-certificates-and-hostnames_certificate_response_single_post": tls_certificates_and_hostnames_certificate_response_single_post_output, - "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, - "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, - "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, - "tls-certificates-and-hostnames_updated_at-4": tls_certificates_and_hostnames_updated_at_4_output, - "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, + "tls-certificates-and-hostnames_certificateObjectPost": tls$$certificates$$and$$hostnames_certificateObjectPost, + "tls-certificates-and-hostnames_certificate_response_single_post": tls$$certificates$$and$$hostnames_certificate_response_single_post, + "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, + "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, + "tls-certificates-and-hostnames_updated_at-4": tls$$certificates$$and$$hostnames_updated_at$$4, + "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, request: (args) => ({ @@ -175,47 +183,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_mtls_certificates_delete", + name: "ssl_mtlsCertificates_delete", title: "Delete mTLS certificate", description: "Deletes the mTLS certificate unless the certificate is in use by one or more Cloudflare services.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." - }, - "mtls_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier", - "description": "Certificate identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + }, + "mtls_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier", + "description": "Certificate identifier tag." + } + }, + "required": [ + "account_id", + "mtls_certificate_id" + ], + "type": "object" } }, required: [ - "account_id", - "mtls_certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-5", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, - "tls-certificates-and-hostnames_certificateObject-3": tls_certificates_and_hostnames_certificateObject_3_output, - "tls-certificates-and-hostnames_certificate_response_single-5": tls_certificates_and_hostnames_certificate_response_single_5_output, - "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, - "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, - "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, - "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, + "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, + "tls-certificates-and-hostnames_certificate_response_single-5": tls$$certificates$$and$$hostnames_certificate_response_single$$5, + "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, + "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, + "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, annotations: { @@ -260,21 +276,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, - "tls-certificates-and-hostnames_certificateObject-3": tls_certificates_and_hostnames_certificateObject_3_output, - "tls-certificates-and-hostnames_certificate_response_single-5": tls_certificates_and_hostnames_certificate_response_single_5_output, - "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, - "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, - "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, - "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, + "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, + "tls-certificates-and-hostnames_certificate_response_single-5": tls$$certificates$$and$$hostnames_certificate_response_single$$5, + "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, + "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, + "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, request: (args) => ({ @@ -282,47 +298,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_mtls_certificates_get", + name: "ssl_mtlsCertificates_get", title: "Get mTLS certificate", description: "Fetches a single mTLS certificate uploaded to your account. To get a certificate issued by the Cloudflare managed CA, use the [Client Certificate Details endpoint](/api/resources/client_certificates/methods/get/).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." - }, - "mtls_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier", - "description": "Certificate identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + }, + "mtls_certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier", + "description": "Certificate identifier tag." + } + }, + "required": [ + "account_id", + "mtls_certificate_id" + ], + "type": "object" } }, required: [ - "account_id", - "mtls_certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-5", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, - "tls-certificates-and-hostnames_certificateObject-3": tls_certificates_and_hostnames_certificateObject_3_output, - "tls-certificates-and-hostnames_certificate_response_single-5": tls_certificates_and_hostnames_certificate_response_single_5_output, - "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, - "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, - "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, - "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, + "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, + "tls-certificates-and-hostnames_certificate_response_single-5": tls$$certificates$$and$$hostnames_certificate_response_single$$5, + "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, + "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, + "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, annotations: { @@ -368,21 +392,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, - "tls-certificates-and-hostnames_certificateObject-3": tls_certificates_and_hostnames_certificateObject_3_output, - "tls-certificates-and-hostnames_certificate_response_single-5": tls_certificates_and_hostnames_certificate_response_single_5_output, - "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, - "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, - "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, - "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, + "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, + "tls-certificates-and-hostnames_certificate_response_single-5": tls$$certificates$$and$$hostnames_certificate_response_single$$5, + "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, + "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, + "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, request: (args) => ({ @@ -390,54 +414,67 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_mtls_certificates_list", + name: "ssl_mtlsCertificates_list", title: "List mTLS certificates", description: "Lists all mTLS certificates uploaded to your account, such as Bring Your Own CA (BYO-CA) for mTLS. To list certificates issued by the Cloudflare managed CA, use the [List Client Certificates endpoint](/api/resources/client_certificates/methods/list/).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "type": { - "description": "Filters results by certificate type. Multiple types can be comma-separated.", - "items": { - "enum": [ - "custom", - "gateway_managed", - "access_managed" - ], - "type": "string" + "query": { + "properties": { + "type": { + "description": "Filters results by certificate type. Multiple types can be comma-separated.", + "items": { + "enum": [ + "custom", + "gateway_managed", + "access_managed" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-5", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, - "tls-certificates-and-hostnames_certificateObject-3": tls_certificates_and_hostnames_certificateObject_3_output, - "tls-certificates-and-hostnames_certificate_response_collection-5": tls_certificates_and_hostnames_certificate_response_collection_5_output, - "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, - "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, - "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, - "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, + "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, + "tls-certificates-and-hostnames_certificate_response_collection-5": tls$$certificates$$and$$hostnames_certificate_response_collection$$5, + "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, + "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, + "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, annotations: { @@ -483,28 +520,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_ca": tls_certificates_and_hostnames_ca_output, - "tls-certificates-and-hostnames_certificateObject-3": tls_certificates_and_hostnames_certificateObject_3_output, - "tls-certificates-and-hostnames_certificate_response_collection-5": tls_certificates_and_hostnames_certificate_response_collection_5_output, - "tls-certificates-and-hostnames_certificates-2": tls_certificates_and_hostnames_certificates_2_output, - "tls-certificates-and-hostnames_expires_on-2": tls_certificates_and_hostnames_expires_on_2_output, - "tls-certificates-and-hostnames_issuer-2": tls_certificates_and_hostnames_issuer_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls_certificates_and_hostnames_mtls_certificate_identifier_output, - "tls-certificates-and-hostnames_name-2": tls_certificates_and_hostnames_name_2_output, - "tls-certificates-and-hostnames_serial_number-2": tls_certificates_and_hostnames_serial_number_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_type-3": tls_certificates_and_hostnames_type_3_output, - "tls-certificates-and-hostnames_uploaded_on-4": tls_certificates_and_hostnames_uploaded_on_4_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, + "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, + "tls-certificates-and-hostnames_certificate_response_collection-5": tls$$certificates$$and$$hostnames_certificate_response_collection$$5, + "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, + "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, + "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, + "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, + "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, + "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/mtls_certificates`, query: [ - ["type", args["type"], false], + ["type", param(args, "query", "type"), false], ], }), }, diff --git a/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts b/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts index fdc195504..256f0814b 100644 --- a/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_certificate-4` in responses. */ -export const tls_certificates_and_hostnames_certificate_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate$$4: JsonSchema = { "type": "string" }; @@ -15,7 +15,7 @@ export const tls_certificates_and_hostnames_certificate_4_output: JsonSchema = { * `tls-certificates-and-hostnames_certificate_response_collection-2` in * responses. */ -export const tls_certificates_and_hostnames_certificate_response_collection_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_collection$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -38,7 +38,7 @@ export const tls_certificates_and_hostnames_certificate_response_collection_2_ou * The schema of `tls-certificates-and-hostnames_certificate_response_single-2` * in responses. */ -export const tls_certificates_and_hostnames_certificate_response_single_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_single$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -58,7 +58,7 @@ export const tls_certificates_and_hostnames_certificate_response_single_2_output * The schema of `tls-certificates-and-hostnames_certificate_revoke_response` in * responses. */ -export const tls_certificates_and_hostnames_certificate_revoke_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_revoke_response: JsonSchema = { "properties": { "result": { "properties": { @@ -78,7 +78,7 @@ export const tls_certificates_and_hostnames_certificate_revoke_response_output: /** * The schema of `tls-certificates-and-hostnames_certificates` in responses. */ -export const tls_certificates_and_hostnames_certificates_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificates: JsonSchema = { "properties": { "certificate": { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-4" @@ -114,21 +114,21 @@ export const tls_certificates_and_hostnames_certificates_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_csr` in responses. */ -export const tls_certificates_and_hostnames_csr_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_csr: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_expires_on-3` in responses. */ -export const tls_certificates_and_hostnames_expires_on_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_expires_on$$3: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_hostnames` in responses. */ -export const tls_certificates_and_hostnames_hostnames_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostnames: JsonSchema = { "items": { "type": "string" }, @@ -142,14 +142,14 @@ export const tls_certificates_and_hostnames_hostnames_output: JsonSchema = { * `tls-certificates-and-hostnames_origin_ca_certificate_identifier` in * responses. */ -export const tls_certificates_and_hostnames_origin_ca_certificate_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_request_type` in responses. */ -export const tls_certificates_and_hostnames_request_type_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_request_type: JsonSchema = { "enum": [ "origin-rsa", "origin-ecc", @@ -162,7 +162,7 @@ export const tls_certificates_and_hostnames_request_type_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_requested_validity` in * responses. */ -export const tls_certificates_and_hostnames_requested_validity_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_requested_validity: JsonSchema = { "enum": [ 7, 30, @@ -178,7 +178,7 @@ export const tls_certificates_and_hostnames_requested_validity_output: JsonSchem /** * The schema of `tls-certificates-and-hostnames_revoked_at` in responses. */ -export const tls_certificates_and_hostnames_revoked_at_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_revoked_at: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/ssl/originCaCertificates/schemas.ts b/src/generated/forge-mcp/ssl/originCaCertificates/schemas.ts index 564401bf9..11c75f114 100644 --- a/src/generated/forge-mcp/ssl/originCaCertificates/schemas.ts +++ b/src/generated/forge-mcp/ssl/originCaCertificates/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_csr`. */ -export const tls_certificates_and_hostnames_csr: JsonSchema = { +export const tls$$certificates$$and$$hostnames_csr: JsonSchema = { "description": "The Certificate Signing Request (CSR). Must be newline-encoded.", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_csr: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_hostnames`. */ -export const tls_certificates_and_hostnames_hostnames: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostnames: JsonSchema = { "description": "Array of hostnames or wildcard names bound to the certificate.\nHostnames must be fully qualified domain names (FQDNs) belonging to zones on your account (e.g., `example.com` or `sub.example.com`). Wildcards are supported only as a `*.` prefix for a single level (e.g., `*.example.com`). Double wildcards (`*.*.example.com`) and interior wildcards (`foo.*.example.com`) are not allowed. The wildcard suffix must be a multi-label domain (`*.example.com` is valid, but `*.com` is not). Unicode/IDN hostnames are accepted and automatically converted to punycode.", "items": { "type": "string" @@ -28,7 +28,7 @@ export const tls_certificates_and_hostnames_hostnames: JsonSchema = { * The schema of * `tls-certificates-and-hostnames_origin_ca_certificate_identifier`. */ -export const tls_certificates_and_hostnames_origin_ca_certificate_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier: JsonSchema = { "description": "The x509 serial number of the Origin CA certificate.", "type": "string" }; @@ -36,7 +36,7 @@ export const tls_certificates_and_hostnames_origin_ca_certificate_identifier: Js /** * The schema of `tls-certificates-and-hostnames_request_type`. */ -export const tls_certificates_and_hostnames_request_type: JsonSchema = { +export const tls$$certificates$$and$$hostnames_request_type: JsonSchema = { "description": "Signature type desired on certificate (\"origin-rsa\" (rsa), \"origin-ecc\" (ecdsa), or \"keyless-certificate\" (for Keyless SSL servers).", "enum": [ "origin-rsa", @@ -49,7 +49,7 @@ export const tls_certificates_and_hostnames_request_type: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_requested_validity`. */ -export const tls_certificates_and_hostnames_requested_validity: JsonSchema = { +export const tls$$certificates$$and$$hostnames_requested_validity: JsonSchema = { "description": "The number of days for which the certificate should be valid.", "enum": [ 7, diff --git a/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts b/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts index 86740b493..c65772e44 100644 --- a/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts @@ -1,43 +1,43 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_certificate_4_output, - tls_certificates_and_hostnames_certificate_response_collection_2_output, - tls_certificates_and_hostnames_certificate_response_single_2_output, - tls_certificates_and_hostnames_certificate_revoke_response_output, - tls_certificates_and_hostnames_certificates_output, - tls_certificates_and_hostnames_csr_output, - tls_certificates_and_hostnames_expires_on_3_output, - tls_certificates_and_hostnames_hostnames_output, - tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, - tls_certificates_and_hostnames_request_type_output, - tls_certificates_and_hostnames_requested_validity_output, - tls_certificates_and_hostnames_revoked_at_output, + tls$$certificates$$and$$hostnames_certificate$$4, + tls$$certificates$$and$$hostnames_certificate_response_collection$$2, + tls$$certificates$$and$$hostnames_certificate_response_single$$2, + tls$$certificates$$and$$hostnames_certificate_revoke_response, + tls$$certificates$$and$$hostnames_certificates, + tls$$certificates$$and$$hostnames_csr, + tls$$certificates$$and$$hostnames_expires_on$$3, + tls$$certificates$$and$$hostnames_hostnames, + tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, + tls$$certificates$$and$$hostnames_request_type, + tls$$certificates$$and$$hostnames_requested_validity, + tls$$certificates$$and$$hostnames_revoked_at, } from "./outputs.js"; import { - tls_certificates_and_hostnames_csr, - tls_certificates_and_hostnames_hostnames, - tls_certificates_and_hostnames_origin_ca_certificate_identifier, - tls_certificates_and_hostnames_request_type, - tls_certificates_and_hostnames_requested_validity, + tls$$certificates$$and$$hostnames_csr as tls$$certificates$$and$$hostnames_csr$, + tls$$certificates$$and$$hostnames_hostnames as tls$$certificates$$and$$hostnames_hostnames$, + tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier as tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier$, + tls$$certificates$$and$$hostnames_request_type as tls$$certificates$$and$$hostnames_request_type$, + tls$$certificates$$and$$hostnames_requested_validity as tls$$certificates$$and$$hostnames_requested_validity$, } from "./schemas.js"; /** - * The tools of `ssl.origin_ca_certificates`. + * The tools of `ssl.originCaCertificates`. */ export const tools: readonly Tool[] = [ { - name: "ssl_origin_ca_certificates_create", + name: "ssl_originCaCertificates_create", title: "Create Certificate", description: "Create an Origin CA certificate. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).", inputSchema: { @@ -75,26 +75,26 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr, - "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames, - "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type, - "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity, + "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr$, + "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames$, + "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type$, + "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-2", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-4": tls_certificates_and_hostnames_certificate_4_output, - "tls-certificates-and-hostnames_certificate_response_single-2": tls_certificates_and_hostnames_certificate_response_single_2_output, - "tls-certificates-and-hostnames_certificates": tls_certificates_and_hostnames_certificates_output, - "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr_output, - "tls-certificates-and-hostnames_expires_on-3": tls_certificates_and_hostnames_expires_on_3_output, - "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, - "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type_output, - "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, + "tls-certificates-and-hostnames_certificate_response_single-2": tls$$certificates$$and$$hostnames_certificate_response_single$$2, + "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, + "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, + "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, + "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, + "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, annotations: { @@ -131,18 +131,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-4": tls_certificates_and_hostnames_certificate_4_output, - "tls-certificates-and-hostnames_certificate_response_single-2": tls_certificates_and_hostnames_certificate_response_single_2_output, - "tls-certificates-and-hostnames_certificates": tls_certificates_and_hostnames_certificates_output, - "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr_output, - "tls-certificates-and-hostnames_expires_on-3": tls_certificates_and_hostnames_expires_on_3_output, - "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, - "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type_output, - "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, + "tls-certificates-and-hostnames_certificate_response_single-2": tls$$certificates$$and$$hostnames_certificate_response_single$$2, + "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, + "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, + "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, + "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, + "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, request: (args) => ({ @@ -151,30 +151,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_ca_certificates_delete", + name: "ssl_originCaCertificates_delete", title: "Revoke Certificate", description: "Revoke an existing Origin CA certificate by its serial number. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).", inputSchema: { type: "object", properties: { - "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier", - "description": "The x509 serial number of the Origin CA certificate." + "path": { + "properties": { + "certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier", + "description": "The x509 serial number of the Origin CA certificate." + } + }, + "required": [ + "certificate_id" + ], + "type": "object" } }, required: [ - "certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_revoke_response", $defs: { - "tls-certificates-and-hostnames_certificate_revoke_response": tls_certificates_and_hostnames_certificate_revoke_response_output, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, - "tls-certificates-and-hostnames_revoked_at": tls_certificates_and_hostnames_revoked_at_output, + "tls-certificates-and-hostnames_certificate_revoke_response": tls$$certificates$$and$$hostnames_certificate_revoke_response, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_revoked_at": tls$$certificates$$and$$hostnames_revoked_at, }, }, annotations: { @@ -211,11 +219,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate_revoke_response": tls_certificates_and_hostnames_certificate_revoke_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, - "tls-certificates-and-hostnames_revoked_at": tls_certificates_and_hostnames_revoked_at_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate_revoke_response": tls$$certificates$$and$$hostnames_certificate_revoke_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_revoked_at": tls$$certificates$$and$$hostnames_revoked_at, }, }, request: (args) => ({ @@ -223,38 +231,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_ca_certificates_get", + name: "ssl_originCaCertificates_get", title: "Get Certificate", description: "Get an existing Origin CA certificate by its serial number. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).", inputSchema: { type: "object", properties: { - "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier", - "description": "The x509 serial number of the Origin CA certificate." + "path": { + "properties": { + "certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier", + "description": "The x509 serial number of the Origin CA certificate." + } + }, + "required": [ + "certificate_id" + ], + "type": "object" } }, required: [ - "certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-2", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-4": tls_certificates_and_hostnames_certificate_4_output, - "tls-certificates-and-hostnames_certificate_response_single-2": tls_certificates_and_hostnames_certificate_response_single_2_output, - "tls-certificates-and-hostnames_certificates": tls_certificates_and_hostnames_certificates_output, - "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr_output, - "tls-certificates-and-hostnames_expires_on-3": tls_certificates_and_hostnames_expires_on_3_output, - "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, - "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type_output, - "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, + "tls-certificates-and-hostnames_certificate_response_single-2": tls$$certificates$$and$$hostnames_certificate_response_single$$2, + "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, + "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, + "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, + "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, + "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, annotations: { @@ -291,18 +307,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-4": tls_certificates_and_hostnames_certificate_4_output, - "tls-certificates-and-hostnames_certificate_response_single-2": tls_certificates_and_hostnames_certificate_response_single_2_output, - "tls-certificates-and-hostnames_certificates": tls_certificates_and_hostnames_certificates_output, - "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr_output, - "tls-certificates-and-hostnames_expires_on-3": tls_certificates_and_hostnames_expires_on_3_output, - "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, - "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type_output, - "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, + "tls-certificates-and-hostnames_certificate_response_single-2": tls$$certificates$$and$$hostnames_certificate_response_single$$2, + "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, + "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, + "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, + "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, + "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, request: (args) => ({ @@ -310,57 +326,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_ca_certificates_list", + name: "ssl_originCaCertificates_list", title: "List Certificates", description: "List all existing Origin CA certificates for a given zone. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).", inputSchema: { type: "object", properties: { - "limit": { - "description": "Limit to the number of records returned.", - "type": "integer" - }, - "offset": { - "description": "Offset the results.", - "type": "integer" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Number of records per page.", - "type": "number" - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "query": { + "properties": { + "limit": { + "description": "Limit to the number of records returned.", + "type": "integer" + }, + "offset": { + "description": "Offset the results.", + "type": "integer" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Number of records per page.", + "type": "number" + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "query" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-2", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_certificate-4": tls_certificates_and_hostnames_certificate_4_output, - "tls-certificates-and-hostnames_certificate_response_collection-2": tls_certificates_and_hostnames_certificate_response_collection_2_output, - "tls-certificates-and-hostnames_certificates": tls_certificates_and_hostnames_certificates_output, - "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr_output, - "tls-certificates-and-hostnames_expires_on-3": tls_certificates_and_hostnames_expires_on_3_output, - "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, - "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type_output, - "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, + "tls-certificates-and-hostnames_certificate_response_collection-2": tls$$certificates$$and$$hostnames_certificate_response_collection$$2, + "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, + "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, + "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, + "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, + "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, annotations: { @@ -397,29 +421,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate-4": tls_certificates_and_hostnames_certificate_4_output, - "tls-certificates-and-hostnames_certificate_response_collection-2": tls_certificates_and_hostnames_certificate_response_collection_2_output, - "tls-certificates-and-hostnames_certificates": tls_certificates_and_hostnames_certificates_output, - "tls-certificates-and-hostnames_csr": tls_certificates_and_hostnames_csr_output, - "tls-certificates-and-hostnames_expires_on-3": tls_certificates_and_hostnames_expires_on_3_output, - "tls-certificates-and-hostnames_hostnames": tls_certificates_and_hostnames_hostnames_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls_certificates_and_hostnames_origin_ca_certificate_identifier_output, - "tls-certificates-and-hostnames_request_type": tls_certificates_and_hostnames_request_type_output, - "tls-certificates-and-hostnames_requested_validity": tls_certificates_and_hostnames_requested_validity_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, + "tls-certificates-and-hostnames_certificate_response_collection-2": tls$$certificates$$and$$hostnames_certificate_response_collection$$2, + "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, + "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, + "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, + "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, + "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, + "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, request: (args) => ({ path: `/certificates`, query: [ - ["zone_id", args["zone_id"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["limit", args["limit"], true], - ["offset", args["offset"], true], + ["zone_id", param(args, "query", "zone_id"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["limit", param(args, "query", "limit"), true], + ["offset", param(args, "query", "offset"), true], ], }), }, diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts index d609cb592..673be6485 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `tls-certificates-and-hostnames_hostname_assoc_object` in * responses. */ -export const tls_certificates_and_hostnames_hostname_assoc_object_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_assoc_object: JsonSchema = { "properties": { "cert_id": { "$ref": "#/$defs/tls-certificates-and-hostnames_cert_id" @@ -36,7 +36,7 @@ export const tls_certificates_and_hostnames_hostname_assoc_object_output: JsonSc * `tls-certificates-and-hostnames_hostname_assoc_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_hostname_assoc_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_assoc_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts index 70038af74..54d8c9620 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts @@ -1,87 +1,100 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { - tls_certificates_and_hostnames_cert_id_output, - tls_certificates_and_hostnames_created_at_3_output, - tls_certificates_and_hostnames_enabled_5_output, - tls_certificates_and_hostnames_hostname_2_output, - tls_certificates_and_hostnames_status_9_output, - tls_certificates_and_hostnames_updated_at_3_output, + tls$$certificates$$and$$hostnames_cert_id, + tls$$certificates$$and$$hostnames_created_at$$3, + tls$$certificates$$and$$hostnames_enabled$$5, + tls$$certificates$$and$$hostnames_hostname$$2, + tls$$certificates$$and$$hostnames_status$$9, + tls$$certificates$$and$$hostnames_updated_at$$3, } from "../outputs.js"; import { - tls_certificates_and_hostnames_hostname_assoc_object_output, - tls_certificates_and_hostnames_hostname_assoc_response_collection_output, + tls$$certificates$$and$$hostnames_hostname_assoc_object, + tls$$certificates$$and$$hostnames_hostname_assoc_response_collection, } from "./outputs.js"; /** - * The tools of `ssl.origin_tls_client_auth.hostname_associations`. + * The tools of `ssl.originTlsClientAuth.hostnameAssociations`. */ export const tools: readonly Tool[] = [ { - name: "ssl_origin_tls_client_auth_hostname_associations_list", + name: "ssl_originTlsClientAuth_hostnameAssociations_list", title: "List Hostname Associations", description: "List certificate ID - hostname associations for the given zone. Shows which hostnames are associated to which certificates for authenticated origin pulls.", inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 50, - "description": "Number of associations per page.", - "type": "number" - }, - "status": { - "description": "Filter associations by status. Use comma-separated values to filter by multiple statuses, or \"all\" to include every status. Defaults to \"active\" if not provided.", - "enum": [ - "active", - "pending_deployment", - "pending_deletion", - "deleted", - "deployment_timed_out", - "deletion_timed_out", - "all" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" ], - "type": "string" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 50, + "description": "Number of associations per page.", + "type": "number" + }, + "status": { + "description": "Filter associations by status. Use comma-separated values to filter by multiple statuses, or \"all\" to include every status. Defaults to \"active\" if not provided.", + "enum": [ + "active", + "pending_deployment", + "pending_deletion", + "deleted", + "deployment_timed_out", + "deletion_timed_out", + "all" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_assoc_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_cert_id": tls_certificates_and_hostnames_cert_id_output, - "tls-certificates-and-hostnames_created_at-3": tls_certificates_and_hostnames_created_at_3_output, - "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5_output, - "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2_output, - "tls-certificates-and-hostnames_hostname_assoc_object": tls_certificates_and_hostnames_hostname_assoc_object_output, - "tls-certificates-and-hostnames_hostname_assoc_response_collection": tls_certificates_and_hostnames_hostname_assoc_response_collection_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_updated_at-3": tls_certificates_and_hostnames_updated_at_3_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_cert_id": tls$$certificates$$and$$hostnames_cert_id, + "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, + "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, + "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, + "tls-certificates-and-hostnames_hostname_assoc_object": tls$$certificates$$and$$hostnames_hostname_assoc_object, + "tls-certificates-and-hostnames_hostname_assoc_response_collection": tls$$certificates$$and$$hostnames_hostname_assoc_response_collection, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, }, }, annotations: { @@ -122,26 +135,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_cert_id": tls_certificates_and_hostnames_cert_id_output, - "tls-certificates-and-hostnames_created_at-3": tls_certificates_and_hostnames_created_at_3_output, - "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5_output, - "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2_output, - "tls-certificates-and-hostnames_hostname_assoc_object": tls_certificates_and_hostnames_hostname_assoc_object_output, - "tls-certificates-and-hostnames_hostname_assoc_response_collection": tls_certificates_and_hostnames_hostname_assoc_response_collection_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_updated_at-3": tls_certificates_and_hostnames_updated_at_3_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_cert_id": tls$$certificates$$and$$hostnames_cert_id, + "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, + "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, + "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, + "tls-certificates-and-hostnames_hostname_assoc_object": tls$$certificates$$and$$hostnames_hostname_assoc_object, + "tls-certificates-and-hostnames_hostname_assoc_response_collection": tls$$certificates$$and$$hostnames_hostname_assoc_response_collection, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/origin_tls_client_auth/hostnames`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["status", param(args, "query", "status"), true], ], }), }, diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts index 0c807023c..15070bfd5 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `tls-certificates-and-hostnames_certificateObject-2` in * responses. */ -export const tls_certificates_and_hostnames_certificateObject_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificateObject$$2: JsonSchema = { "properties": { "certificate": { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-6" @@ -42,7 +42,7 @@ export const tls_certificates_and_hostnames_certificateObject_2_output: JsonSche * `tls-certificates-and-hostnames_certificate_response_collection-4` in * responses. */ -export const tls_certificates_and_hostnames_certificate_response_collection_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_collection$$4: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -65,7 +65,7 @@ export const tls_certificates_and_hostnames_certificate_response_collection_4_ou * The schema of `tls-certificates-and-hostnames_certificate_response_single-4` * in responses. */ -export const tls_certificates_and_hostnames_certificate_response_single_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_single$$4: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts index b7e4bbc80..2c94f8a6e 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts @@ -3,40 +3,40 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_issuer_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_signature_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_issuer, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_signature, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { - tls_certificates_and_hostnames_certificate_6_output, - tls_certificates_and_hostnames_expires_on_5_output, - tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - tls_certificates_and_hostnames_serial_number_output, - tls_certificates_and_hostnames_status_9_output, - tls_certificates_and_hostnames_uploaded_on_3_output, + tls$$certificates$$and$$hostnames_certificate$$6, + tls$$certificates$$and$$hostnames_expires_on$$5, + tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + tls$$certificates$$and$$hostnames_serial_number, + tls$$certificates$$and$$hostnames_status$$9, + tls$$certificates$$and$$hostnames_uploaded_on$$3, } from "../outputs.js"; import { - tls_certificates_and_hostnames_certificate_6, - tls_certificates_and_hostnames_hostname_aop_certificate_identifier, - tls_certificates_and_hostnames_private_key_3, + tls$$certificates$$and$$hostnames_certificate$$6 as tls$$certificates$$and$$hostnames_certificate$$6$, + tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier as tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier$, + tls$$certificates$$and$$hostnames_private_key$$3, } from "../schemas.js"; import { - tls_certificates_and_hostnames_certificateObject_2_output, - tls_certificates_and_hostnames_certificate_response_collection_4_output, - tls_certificates_and_hostnames_certificate_response_single_4_output, + tls$$certificates$$and$$hostnames_certificateObject$$2, + tls$$certificates$$and$$hostnames_certificate_response_collection$$4, + tls$$certificates$$and$$hostnames_certificate_response_single$$4, } from "./outputs.js"; /** - * The tools of `ssl.origin_tls_client_auth.hostname_certificates`. + * The tools of `ssl.originTlsClientAuth.hostnameCertificates`. */ export const tools: readonly Tool[] = [ { - name: "ssl_origin_tls_client_auth_hostname_certificates_create", + name: "ssl_originTlsClientAuth_hostnameCertificates_create", title: "Upload a Hostname Client Certificate", description: "Upload a certificate to be used for client authentication on a hostname. 10 hostname certificates per zone are allowed.", inputSchema: { @@ -59,36 +59,44 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_private_key-3": tls_certificates_and_hostnames_private_key_3, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_private_key-3": tls$$certificates$$and$$hostnames_private_key$$3, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-4", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, - "tls-certificates-and-hostnames_certificate_response_single-4": tls_certificates_and_hostnames_certificate_response_single_4_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, + "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -128,19 +136,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, - "tls-certificates-and-hostnames_certificate_response_single-4": tls_certificates_and_hostnames_certificate_response_single_4_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, + "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ @@ -149,45 +157,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_tls_client_auth_hostname_certificates_delete", + name: "ssl_originTlsClientAuth_hostnameCertificates_delete", title: "Delete Hostname Client Certificate", description: "Removes a client certificate used for authenticated origin pulls on a specific hostname.\nNote: Before deleting the certificate, you must first invalidate the hostname for client authentication by sending a PUT request with `enabled` set to null. After invalidating the association, the certificate can be safely deleted.", inputSchema: { type: "object", properties: { - "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier", - "description": "Certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier", + "description": "Certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-4", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, - "tls-certificates-and-hostnames_certificate_response_single-4": tls_certificates_and_hostnames_certificate_response_single_4_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, + "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -227,19 +243,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, - "tls-certificates-and-hostnames_certificate_response_single-4": tls_certificates_and_hostnames_certificate_response_single_4_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, + "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ @@ -247,45 +263,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_tls_client_auth_hostname_certificates_get", + name: "ssl_originTlsClientAuth_hostnameCertificates_get", title: "Get the Hostname Client Certificate", description: "Get the certificate by ID to be used for client authentication on a hostname.", inputSchema: { type: "object", properties: { - "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier", - "description": "Certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier", + "description": "Certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-4", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, - "tls-certificates-and-hostnames_certificate_response_single-4": tls_certificates_and_hostnames_certificate_response_single_4_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, + "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -326,19 +350,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, - "tls-certificates-and-hostnames_certificate_response_single-4": tls_certificates_and_hostnames_certificate_response_single_4_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, + "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ @@ -346,40 +370,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_tls_client_auth_hostname_certificates_list", + name: "ssl_originTlsClientAuth_hostnameCertificates_list", title: "List Certificates", description: "Lists all client certificates configured for per-hostname authenticated origin pulls on the zone.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-4", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, - "tls-certificates-and-hostnames_certificate_response_collection-4": tls_certificates_and_hostnames_certificate_response_collection_4_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, + "tls-certificates-and-hostnames_certificate_response_collection-4": tls$$certificates$$and$$hostnames_certificate_response_collection$$4, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -420,20 +452,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_certificateObject-2": tls_certificates_and_hostnames_certificateObject_2_output, - "tls-certificates-and-hostnames_certificate_response_collection-4": tls_certificates_and_hostnames_certificate_response_collection_4_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, + "tls-certificates-and-hostnames_certificate_response_collection-4": tls$$certificates$$and$$hostnames_certificate_response_collection$$4, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts index 9cf5adfcd..508c01f52 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * `tls-certificates-and-hostnames_hostname-authenticated-origin-pull` in * responses. */ -export const tls_certificates_and_hostnames_hostname_authenticated_origin_pull_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname$$authenticated$$origin$$pull: JsonSchema = { "allOf": [ { "properties": { @@ -44,7 +44,7 @@ export const tls_certificates_and_hostnames_hostname_authenticated_origin_pull_o * `tls-certificates-and-hostnames_hostname_aop_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_hostname_aop_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_aop_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -67,7 +67,7 @@ export const tls_certificates_and_hostnames_hostname_aop_response_collection_out * The schema of `tls-certificates-and-hostnames_hostname_aop_single_response` * in responses. */ -export const tls_certificates_and_hostnames_hostname_aop_single_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_aop_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -87,7 +87,7 @@ export const tls_certificates_and_hostnames_hostname_aop_single_response_output: * The schema of `tls-certificates-and-hostnames_hostname_certid_object` in * responses. */ -export const tls_certificates_and_hostnames_hostname_certid_object_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_certid_object: JsonSchema = { "properties": { "cert_id": { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier" diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/schemas.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/schemas.ts index 6979aaf25..31625ebcf 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/schemas.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_config`. */ -export const tls_certificates_and_hostnames_config: JsonSchema = { +export const tls$$certificates$$and$$hostnames_config: JsonSchema = { "items": { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_certid_input" }, @@ -16,7 +16,7 @@ export const tls_certificates_and_hostnames_config: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_hostname_certid_input`. */ -export const tls_certificates_and_hostnames_hostname_certid_input: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_certid_input: JsonSchema = { "properties": { "cert_id": { "$ref": "#/$defs/tls-certificates-and-hostnames_cert_id", diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts index eb545aff5..ad23d7bc5 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts @@ -3,92 +3,100 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_issuer_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_signature_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_issuer, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_signature, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { - tls_certificates_and_hostnames_certificate_6_output, - tls_certificates_and_hostnames_created_at_3_output, - tls_certificates_and_hostnames_enabled_5_output, - tls_certificates_and_hostnames_expires_on_5_output, - tls_certificates_and_hostnames_hostname_2_output, - tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - tls_certificates_and_hostnames_private_key_3_output, - tls_certificates_and_hostnames_serial_number_output, - tls_certificates_and_hostnames_status_9_output, - tls_certificates_and_hostnames_updated_at_3_output, - tls_certificates_and_hostnames_uploaded_on_3_output, + tls$$certificates$$and$$hostnames_certificate$$6, + tls$$certificates$$and$$hostnames_created_at$$3, + tls$$certificates$$and$$hostnames_enabled$$5, + tls$$certificates$$and$$hostnames_expires_on$$5, + tls$$certificates$$and$$hostnames_hostname$$2, + tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + tls$$certificates$$and$$hostnames_private_key$$3, + tls$$certificates$$and$$hostnames_serial_number, + tls$$certificates$$and$$hostnames_status$$9, + tls$$certificates$$and$$hostnames_updated_at$$3, + tls$$certificates$$and$$hostnames_uploaded_on$$3, } from "../outputs.js"; import { - tls_certificates_and_hostnames_cert_id, - tls_certificates_and_hostnames_enabled_5, - tls_certificates_and_hostnames_hostname_2, + tls$$certificates$$and$$hostnames_cert_id, + tls$$certificates$$and$$hostnames_enabled$$5 as tls$$certificates$$and$$hostnames_enabled$$5$, + tls$$certificates$$and$$hostnames_hostname$$2 as tls$$certificates$$and$$hostnames_hostname$$2$, } from "../schemas.js"; import { - tls_certificates_and_hostnames_hostname_aop_response_collection_output, - tls_certificates_and_hostnames_hostname_aop_single_response_output, - tls_certificates_and_hostnames_hostname_authenticated_origin_pull_output, - tls_certificates_and_hostnames_hostname_certid_object_output, + tls$$certificates$$and$$hostnames_hostname$$authenticated$$origin$$pull, + tls$$certificates$$and$$hostnames_hostname_aop_response_collection, + tls$$certificates$$and$$hostnames_hostname_aop_single_response, + tls$$certificates$$and$$hostnames_hostname_certid_object, } from "./outputs.js"; import { - tls_certificates_and_hostnames_config, - tls_certificates_and_hostnames_hostname_certid_input, + tls$$certificates$$and$$hostnames_config, + tls$$certificates$$and$$hostnames_hostname_certid_input, } from "./schemas.js"; /** - * The tools of `ssl.origin_tls_client_auth.hostnames`. + * The tools of `ssl.originTlsClientAuth.hostnames`. */ export const tools: readonly Tool[] = [ { - name: "ssl_origin_tls_client_auth_hostnames_get", + name: "ssl_originTlsClientAuth_hostnames_get", title: "Get the Hostname Status for Client Authentication", description: "Retrieves the client certificate authentication status for a specific hostname, showing whether authenticated origin pulls are enabled.", inputSchema: { type: "object", properties: { - "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2", - "description": "The hostname on the origin for which the client certificate uploaded will be used." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2", + "description": "The hostname on the origin for which the client certificate uploaded will be used." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "hostname" + ], + "type": "object" } }, required: [ - "zone_id", - "hostname" + "path" ], $defs: { - "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_single_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_created_at-3": tls_certificates_and_hostnames_created_at_3_output, - "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_hostname_aop_single_response": tls_certificates_and_hostnames_hostname_aop_single_response_output, - "tls-certificates-and-hostnames_hostname_certid_object": tls_certificates_and_hostnames_hostname_certid_object_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_updated_at-3": tls_certificates_and_hostnames_updated_at_3_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, + "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_hostname_aop_single_response": tls$$certificates$$and$$hostnames_hostname_aop_single_response, + "tls-certificates-and-hostnames_hostname_certid_object": tls$$certificates$$and$$hostnames_hostname_certid_object, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -129,23 +137,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_created_at-3": tls_certificates_and_hostnames_created_at_3_output, - "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_hostname_aop_single_response": tls_certificates_and_hostnames_hostname_aop_single_response_output, - "tls-certificates-and-hostnames_hostname_certid_object": tls_certificates_and_hostnames_hostname_certid_object_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_updated_at-3": tls_certificates_and_hostnames_updated_at_3_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, + "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_hostname_aop_single_response": tls$$certificates$$and$$hostnames_hostname_aop_single_response, + "tls-certificates-and-hostnames_hostname_certid_object": tls$$certificates$$and$$hostnames_hostname_certid_object, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ @@ -153,7 +161,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_tls_client_auth_hostnames_update", + name: "ssl_originTlsClientAuth_hostnames_update", title: "Enable or Disable a Hostname for Client Authentication", description: "Associate a hostname to a certificate and enable, disable or invalidate the association. If disabled, client certificate will not be sent to the hostname even if activated at the zone level. 100 maximum associations on a single certificate are allowed. Note: Use a null value for parameter *enabled* to invalidate the association.", inputSchema: { @@ -170,46 +178,54 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_cert_id": tls_certificates_and_hostnames_cert_id, - "tls-certificates-and-hostnames_config": tls_certificates_and_hostnames_config, - "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5, - "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2, - "tls-certificates-and-hostnames_hostname_certid_input": tls_certificates_and_hostnames_hostname_certid_input, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_cert_id": tls$$certificates$$and$$hostnames_cert_id, + "tls-certificates-and-hostnames_config": tls$$certificates$$and$$hostnames_config, + "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5$, + "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2$, + "tls-certificates-and-hostnames_hostname_certid_input": tls$$certificates$$and$$hostnames_hostname_certid_input, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_created_at-3": tls_certificates_and_hostnames_created_at_3_output, - "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2_output, - "tls-certificates-and-hostnames_hostname-authenticated-origin-pull": tls_certificates_and_hostnames_hostname_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_hostname_aop_response_collection": tls_certificates_and_hostnames_hostname_aop_response_collection_output, - "tls-certificates-and-hostnames_hostname_certid_object": tls_certificates_and_hostnames_hostname_certid_object_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-3": tls_certificates_and_hostnames_private_key_3_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_updated_at-3": tls_certificates_and_hostnames_updated_at_3_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, + "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, + "tls-certificates-and-hostnames_hostname-authenticated-origin-pull": tls$$certificates$$and$$hostnames_hostname$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_hostname_aop_response_collection": tls$$certificates$$and$$hostnames_hostname_aop_response_collection, + "tls-certificates-and-hostnames_hostname_certid_object": tls$$certificates$$and$$hostnames_hostname_certid_object, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-3": tls$$certificates$$and$$hostnames_private_key$$3, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -249,26 +265,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate-6": tls_certificates_and_hostnames_certificate_6_output, - "tls-certificates-and-hostnames_created_at-3": tls_certificates_and_hostnames_created_at_3_output, - "tls-certificates-and-hostnames_enabled-5": tls_certificates_and_hostnames_enabled_5_output, - "tls-certificates-and-hostnames_expires_on-5": tls_certificates_and_hostnames_expires_on_5_output, - "tls-certificates-and-hostnames_hostname-2": tls_certificates_and_hostnames_hostname_2_output, - "tls-certificates-and-hostnames_hostname-authenticated-origin-pull": tls_certificates_and_hostnames_hostname_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output, - "tls-certificates-and-hostnames_hostname_aop_response_collection": tls_certificates_and_hostnames_hostname_aop_response_collection_output, - "tls-certificates-and-hostnames_hostname_certid_object": tls_certificates_and_hostnames_hostname_certid_object_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-3": tls_certificates_and_hostnames_private_key_3_output, - "tls-certificates-and-hostnames_serial_number": tls_certificates_and_hostnames_serial_number_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-9": tls_certificates_and_hostnames_status_9_output, - "tls-certificates-and-hostnames_updated_at-3": tls_certificates_and_hostnames_updated_at_3_output, - "tls-certificates-and-hostnames_uploaded_on-3": tls_certificates_and_hostnames_uploaded_on_3_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, + "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, + "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, + "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, + "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, + "tls-certificates-and-hostnames_hostname-authenticated-origin-pull": tls$$certificates$$and$$hostnames_hostname$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, + "tls-certificates-and-hostnames_hostname_aop_response_collection": tls$$certificates$$and$$hostnames_hostname_aop_response_collection, + "tls-certificates-and-hostnames_hostname_certid_object": tls$$certificates$$and$$hostnames_hostname_certid_object, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-3": tls$$certificates$$and$$hostnames_private_key$$3, + "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, + "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, + "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts index 0fb81e5c5..6c8f304d8 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_cert_id` in responses. */ -export const tls_certificates_and_hostnames_cert_id_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_cert_id: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_certificate-6` in responses. */ -export const tls_certificates_and_hostnames_certificate_6_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate$$6: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_created_at-3` in responses. */ -export const tls_certificates_and_hostnames_created_at_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_created_at$$3: JsonSchema = { "format": "date-time", "type": "string" }; @@ -28,14 +28,14 @@ export const tls_certificates_and_hostnames_created_at_3_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_enabled-4` in responses. */ -export const tls_certificates_and_hostnames_enabled_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled$$4: JsonSchema = { "type": "boolean" }; /** * The schema of `tls-certificates-and-hostnames_enabled-5` in responses. */ -export const tls_certificates_and_hostnames_enabled_5_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled$$5: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -49,7 +49,7 @@ export const tls_certificates_and_hostnames_enabled_5_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_expires_on-5` in responses. */ -export const tls_certificates_and_hostnames_expires_on_5_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_expires_on$$5: JsonSchema = { "format": "date-time", "type": "string" }; @@ -57,7 +57,7 @@ export const tls_certificates_and_hostnames_expires_on_5_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_hostname-2` in responses. */ -export const tls_certificates_and_hostnames_hostname_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname$$2: JsonSchema = { "type": "string" }; @@ -66,28 +66,28 @@ export const tls_certificates_and_hostnames_hostname_2_output: JsonSchema = { * `tls-certificates-and-hostnames_hostname_aop_certificate_identifier` in * responses. */ -export const tls_certificates_and_hostnames_hostname_aop_certificate_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_private_key-3` in responses. */ -export const tls_certificates_and_hostnames_private_key_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_private_key$$3: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_serial_number` in responses. */ -export const tls_certificates_and_hostnames_serial_number_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_serial_number: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_status-9` in responses. */ -export const tls_certificates_and_hostnames_status_9_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$9: JsonSchema = { "enum": [ "initializing", "pending_deployment", @@ -103,7 +103,7 @@ export const tls_certificates_and_hostnames_status_9_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_updated_at-3` in responses. */ -export const tls_certificates_and_hostnames_updated_at_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_updated_at$$3: JsonSchema = { "format": "date-time", "type": "string" }; @@ -111,7 +111,7 @@ export const tls_certificates_and_hostnames_updated_at_3_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_uploaded_on-3` in responses. */ -export const tls_certificates_and_hostnames_uploaded_on_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_uploaded_on$$3: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/schemas.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/schemas.ts index 09abe0dec..54edbb02a 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/schemas.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_cert_id`. */ -export const tls_certificates_and_hostnames_cert_id: JsonSchema = { +export const tls$$certificates$$and$$hostnames_cert_id: JsonSchema = { "description": "Certificate identifier tag.", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_cert_id: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_certificate-6`. */ -export const tls_certificates_and_hostnames_certificate_6: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate$$6: JsonSchema = { "description": "The hostname certificate.", "type": "string" }; @@ -22,7 +22,7 @@ export const tls_certificates_and_hostnames_certificate_6: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_enabled-4`. */ -export const tls_certificates_and_hostnames_enabled_4: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled$$4: JsonSchema = { "description": "Indicates whether zone-level authenticated origin pulls is enabled.", "type": "boolean" }; @@ -30,7 +30,7 @@ export const tls_certificates_and_hostnames_enabled_4: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_enabled-5`. */ -export const tls_certificates_and_hostnames_enabled_5: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled$$5: JsonSchema = { "description": "Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.", "oneOf": [ { @@ -45,7 +45,7 @@ export const tls_certificates_and_hostnames_enabled_5: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_hostname-2`. */ -export const tls_certificates_and_hostnames_hostname_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname$$2: JsonSchema = { "description": "The hostname on the origin for which the client certificate uploaded will be used.", "type": "string" }; @@ -54,7 +54,7 @@ export const tls_certificates_and_hostnames_hostname_2: JsonSchema = { * The schema of * `tls-certificates-and-hostnames_hostname_aop_certificate_identifier`. */ -export const tls_certificates_and_hostnames_hostname_aop_certificate_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier: JsonSchema = { "description": "Certificate identifier tag.", "type": "string" }; @@ -62,7 +62,7 @@ export const tls_certificates_and_hostnames_hostname_aop_certificate_identifier: /** * The schema of `tls-certificates-and-hostnames_private_key-3`. */ -export const tls_certificates_and_hostnames_private_key_3: JsonSchema = { +export const tls$$certificates$$and$$hostnames_private_key$$3: JsonSchema = { "description": "The hostname certificate's private key.", "type": "string" }; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts index b3472564d..73e75f22f 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_enabled_response` in responses. */ -export const tls_certificates_and_hostnames_enabled_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts index d7230e8ef..f6e2f366b 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts @@ -3,45 +3,53 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; -import { tls_certificates_and_hostnames_enabled_4_output } from "../outputs.js"; -import { tls_certificates_and_hostnames_enabled_4 } from "../schemas.js"; -import { tls_certificates_and_hostnames_enabled_response_output } from "./outputs.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_enabled$$4 } from "../outputs.js"; +import { tls$$certificates$$and$$hostnames_enabled$$4 as tls$$certificates$$and$$hostnames_enabled$$4$ } from "../schemas.js"; +import { tls$$certificates$$and$$hostnames_enabled_response } from "./outputs.js"; /** - * The tools of `ssl.origin_tls_client_auth.settings`. + * The tools of `ssl.originTlsClientAuth.settings`. */ export const tools: readonly Tool[] = [ { - name: "ssl_origin_tls_client_auth_settings_get", + name: "ssl_originTlsClientAuth_settings_get", title: "Get Enablement Setting for Zone", description: "Get whether zone-level authenticated origin pulls is enabled or not. It is false by default.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_enabled_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_enabled_response": tls_certificates_and_hostnames_enabled_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_enabled_response": tls$$certificates$$and$$hostnames_enabled_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -82,11 +90,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_enabled_response": tls_certificates_and_hostnames_enabled_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_enabled_response": tls$$certificates$$and$$hostnames_enabled_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ @@ -94,7 +102,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_tls_client_auth_settings_update", + name: "ssl_originTlsClientAuth_settings_update", title: "Set Enablement for Zone", description: "Enable or disable zone-level authenticated origin pulls. 'enabled' should be set true either before/after the certificate is uploaded to see the certificate in use.", inputSchema: { @@ -112,27 +120,35 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_enabled_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_enabled_response": tls_certificates_and_hostnames_enabled_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_enabled_response": tls$$certificates$$and$$hostnames_enabled_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, annotations: { @@ -172,11 +188,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_enabled_response": tls_certificates_and_hostnames_enabled_response_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_enabled_response": tls$$certificates$$and$$hostnames_enabled_response, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts index 6201c0fc8..70011aac8 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_certificate-5` in responses. */ -export const tls_certificates_and_hostnames_certificate_5_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate$$5: JsonSchema = { "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_certificate_5_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_certificateObject` in * responses. */ -export const tls_certificates_and_hostnames_certificateObject_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificateObject: JsonSchema = { "properties": { "certificate": { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-5" @@ -46,7 +46,7 @@ export const tls_certificates_and_hostnames_certificateObject_output: JsonSchema * `tls-certificates-and-hostnames_certificate_response_collection-3` in * responses. */ -export const tls_certificates_and_hostnames_certificate_response_collection_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_collection$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -69,7 +69,7 @@ export const tls_certificates_and_hostnames_certificate_response_collection_3_ou * The schema of `tls-certificates-and-hostnames_certificate_response_single-3` * in responses. */ -export const tls_certificates_and_hostnames_certificate_response_single_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_response_single$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -88,7 +88,7 @@ export const tls_certificates_and_hostnames_certificate_response_single_3_output /** * The schema of `tls-certificates-and-hostnames_expires_on-4` in responses. */ -export const tls_certificates_and_hostnames_expires_on_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_expires_on$$4: JsonSchema = { "format": "date-time", "type": "string" }; @@ -96,14 +96,14 @@ export const tls_certificates_and_hostnames_expires_on_4_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_private_key-2` in responses. */ -export const tls_certificates_and_hostnames_private_key_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_private_key$$2: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_status-8` in responses. */ -export const tls_certificates_and_hostnames_status_8_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$8: JsonSchema = { "enum": [ "initializing", "pending_deployment", @@ -119,7 +119,7 @@ export const tls_certificates_and_hostnames_status_8_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_uploaded_on-2` in responses. */ -export const tls_certificates_and_hostnames_uploaded_on_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_uploaded_on$$2: JsonSchema = { "format": "date-time", "type": "string" }; @@ -128,7 +128,7 @@ export const tls_certificates_and_hostnames_uploaded_on_2_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_zone-authenticated-origin-pull` * in responses. */ -export const tls_certificates_and_hostnames_zone_authenticated_origin_pull_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull: JsonSchema = { "allOf": [ { "properties": { @@ -158,6 +158,6 @@ export const tls_certificates_and_hostnames_zone_authenticated_origin_pull_outpu * `tls-certificates-and-hostnames_zone_aop_certificate_identifier` in * responses. */ -export const tls_certificates_and_hostnames_zone_aop_certificate_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/schemas.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/schemas.ts index e72558e3a..3301b02d3 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/schemas.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_certificate-5`. */ -export const tls_certificates_and_hostnames_certificate_5: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate$$5: JsonSchema = { "description": "The zone's leaf certificate.", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_certificate_5: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_private_key-2`. */ -export const tls_certificates_and_hostnames_private_key_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_private_key$$2: JsonSchema = { "description": "The zone's private key.", "type": "string" }; @@ -23,7 +23,7 @@ export const tls_certificates_and_hostnames_private_key_2: JsonSchema = { * The schema of * `tls-certificates-and-hostnames_zone_aop_certificate_identifier`. */ -export const tls_certificates_and_hostnames_zone_aop_certificate_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier: JsonSchema = { "description": "Certificate identifier tag.", "type": "string" }; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts index cc505ac8a..329efec12 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts @@ -3,40 +3,40 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_issuer_output, - tls_certificates_and_hostnames_messages_output, - tls_certificates_and_hostnames_signature_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_issuer, + tls$$certificates$$and$$hostnames_messages, + tls$$certificates$$and$$hostnames_signature, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; -import { tls_certificates_and_hostnames_enabled_4_output } from "../outputs.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_enabled$$4 } from "../outputs.js"; import { - tls_certificates_and_hostnames_certificateObject_output, - tls_certificates_and_hostnames_certificate_5_output, - tls_certificates_and_hostnames_certificate_response_collection_3_output, - tls_certificates_and_hostnames_certificate_response_single_3_output, - tls_certificates_and_hostnames_expires_on_4_output, - tls_certificates_and_hostnames_private_key_2_output, - tls_certificates_and_hostnames_status_8_output, - tls_certificates_and_hostnames_uploaded_on_2_output, - tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, - tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, + tls$$certificates$$and$$hostnames_certificate$$5, + tls$$certificates$$and$$hostnames_certificateObject, + tls$$certificates$$and$$hostnames_certificate_response_collection$$3, + tls$$certificates$$and$$hostnames_certificate_response_single$$3, + tls$$certificates$$and$$hostnames_expires_on$$4, + tls$$certificates$$and$$hostnames_private_key$$2, + tls$$certificates$$and$$hostnames_status$$8, + tls$$certificates$$and$$hostnames_uploaded_on$$2, + tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, + tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, } from "./outputs.js"; import { - tls_certificates_and_hostnames_certificate_5, - tls_certificates_and_hostnames_private_key_2, - tls_certificates_and_hostnames_zone_aop_certificate_identifier, + tls$$certificates$$and$$hostnames_certificate$$5 as tls$$certificates$$and$$hostnames_certificate$$5$, + tls$$certificates$$and$$hostnames_private_key$$2 as tls$$certificates$$and$$hostnames_private_key$$2$, + tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier as tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier$, } from "./schemas.js"; /** - * The tools of `ssl.origin_tls_client_auth.zone_certificates`. + * The tools of `ssl.originTlsClientAuth.zoneCertificates`. */ export const tools: readonly Tool[] = [ { - name: "ssl_origin_tls_client_auth_zone_certificates_create", + name: "ssl_originTlsClientAuth_zoneCertificates_create", title: "Upload Certificate", description: "Upload your own certificate you want Cloudflare to use for edge-to-origin communication to override the shared certificate. Please note that it is important to keep only one certificate active. Also, make sure to enable zone-level authenticated origin pulls by making a PUT call to settings endpoint to see the uploaded certificate in use.", inputSchema: { @@ -59,38 +59,46 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2, + "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-3", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, - "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, - "tls-certificates-and-hostnames_certificate_response_single-3": tls_certificates_and_hostnames_certificate_response_single_3_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, - "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, - "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, + "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, + "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, + "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, annotations: { @@ -135,21 +143,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, - "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, - "tls-certificates-and-hostnames_certificate_response_single-3": tls_certificates_and_hostnames_certificate_response_single_3_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, - "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, - "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, + "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, + "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, + "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, request: (args) => ({ @@ -158,47 +166,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_tls_client_auth_zone_certificates_delete", + name: "ssl_originTlsClientAuth_zoneCertificates_delete", title: "Delete Certificate", description: "Removes a client certificate used for zone-level authenticated origin pulls.", inputSchema: { type: "object", properties: { - "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier", - "description": "Certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier", + "description": "Certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-3", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, - "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, - "tls-certificates-and-hostnames_certificate_response_single-3": tls_certificates_and_hostnames_certificate_response_single_3_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, - "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, - "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, + "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, + "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, + "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, annotations: { @@ -238,21 +254,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, - "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, - "tls-certificates-and-hostnames_certificate_response_single-3": tls_certificates_and_hostnames_certificate_response_single_3_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, - "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, - "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, + "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, + "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, + "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, request: (args) => ({ @@ -260,47 +276,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_tls_client_auth_zone_certificates_get", + name: "ssl_originTlsClientAuth_zoneCertificates_get", title: "Get Certificate Details", description: "Retrieves details for a specific client certificate used in zone-level authenticated origin pulls.", inputSchema: { type: "object", properties: { - "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier", - "description": "Certificate identifier tag." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier", + "description": "Certificate identifier tag." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "zone_id", - "certificate_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-3", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, - "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, - "tls-certificates-and-hostnames_certificate_response_single-3": tls_certificates_and_hostnames_certificate_response_single_3_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, - "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, - "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, + "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, + "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, + "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, annotations: { @@ -341,21 +365,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, - "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, - "tls-certificates-and-hostnames_certificate_response_single-3": tls_certificates_and_hostnames_certificate_response_single_3_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, - "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, - "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, + "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, + "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, + "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, request: (args) => ({ @@ -363,42 +387,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "ssl_origin_tls_client_auth_zone_certificates_list", + name: "ssl_originTlsClientAuth_zoneCertificates_list", title: "List Certificates", description: "Lists all client certificates configured for zone-level authenticated origin pulls.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-3", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, - "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, - "tls-certificates-and-hostnames_certificate_response_collection-3": tls_certificates_and_hostnames_certificate_response_collection_3_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, - "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, - "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, + "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, + "tls-certificates-and-hostnames_certificate_response_collection-3": tls$$certificates$$and$$hostnames_certificate_response_collection$$3, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, + "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, annotations: { @@ -444,22 +476,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_certificate-5": tls_certificates_and_hostnames_certificate_5_output, - "tls-certificates-and-hostnames_certificateObject": tls_certificates_and_hostnames_certificateObject_output, - "tls-certificates-and-hostnames_certificate_response_collection-3": tls_certificates_and_hostnames_certificate_response_collection_3_output, - "tls-certificates-and-hostnames_enabled-4": tls_certificates_and_hostnames_enabled_4_output, - "tls-certificates-and-hostnames_expires_on-4": tls_certificates_and_hostnames_expires_on_4_output, - "tls-certificates-and-hostnames_issuer": tls_certificates_and_hostnames_issuer_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_private_key-2": tls_certificates_and_hostnames_private_key_2_output, - "tls-certificates-and-hostnames_signature": tls_certificates_and_hostnames_signature_output, - "tls-certificates-and-hostnames_status-8": tls_certificates_and_hostnames_status_8_output, - "tls-certificates-and-hostnames_uploaded_on-2": tls_certificates_and_hostnames_uploaded_on_2_output, - "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls_certificates_and_hostnames_zone_authenticated_origin_pull_output, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls_certificates_and_hostnames_zone_aop_certificate_identifier_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, + "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, + "tls-certificates-and-hostnames_certificate_response_collection-3": tls$$certificates$$and$$hostnames_certificate_response_collection$$3, + "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, + "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, + "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, + "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, + "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, + "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, + "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, + "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/outputs.ts b/src/generated/forge-mcp/ssl/outputs.ts index 217ee5386..2b5ab51a9 100644 --- a/src/generated/forge-mcp/ssl/outputs.ts +++ b/src/generated/forge-mcp/ssl/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `cache_api-response-common-failure` in responses. */ -export const cache_api_response_common_failure_output: JsonSchema = { +export const cache_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cache_messages" @@ -33,7 +33,7 @@ export const cache_api_response_common_failure_output: JsonSchema = { /** * The schema of `cache_api-response-single-id` in responses. */ -export const cache_api_response_single_id_output: JsonSchema = { +export const cache_api$$response$$single$$id: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/cache_messages" @@ -60,7 +60,7 @@ export const cache_api_response_single_id_output: JsonSchema = { /** * The schema of `cache_messages` in responses. */ -export const cache_messages_output: JsonSchema = { +export const cache_messages: JsonSchema = { "items": { "properties": { "code": { @@ -82,7 +82,7 @@ export const cache_messages_output: JsonSchema = { /** * The schema of `cache_result` in responses. */ -export const cache_result_output: JsonSchema = { +export const cache_result: JsonSchema = { "properties": { "editable": { "type": "boolean" @@ -125,7 +125,7 @@ export const cache_result_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_bundle_method` in responses. */ -export const tls_certificates_and_hostnames_bundle_method_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_bundle_method: JsonSchema = { "enum": [ "ubiquitous", "optimal", @@ -137,14 +137,14 @@ export const tls_certificates_and_hostnames_bundle_method_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_enabled` in responses. */ -export const tls_certificates_and_hostnames_enabled_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `tls-certificates-and-hostnames_host` in responses. */ -export const tls_certificates_and_hostnames_host_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_host: JsonSchema = { "type": "string" }; @@ -152,7 +152,7 @@ export const tls_certificates_and_hostnames_host_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_keyless-certificate` in * responses. */ -export const tls_certificates_and_hostnames_keyless_certificate_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless$$certificate: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -208,7 +208,7 @@ export const tls_certificates_and_hostnames_keyless_certificate_output: JsonSche * The schema of `tls-certificates-and-hostnames_keyless_certificate_identifier` * in responses. */ -export const tls_certificates_and_hostnames_keyless_certificate_identifier_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_certificate_identifier: JsonSchema = { "type": "string" }; @@ -216,14 +216,14 @@ export const tls_certificates_and_hostnames_keyless_certificate_identifier_outpu * The schema of `tls-certificates-and-hostnames_keyless_private_ip` in * responses. */ -export const tls_certificates_and_hostnames_keyless_private_ip_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_private_ip: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_keyless_tunnel` in responses. */ -export const tls_certificates_and_hostnames_keyless_tunnel_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_tunnel: JsonSchema = { "properties": { "private_ip": { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_private_ip" @@ -242,28 +242,28 @@ export const tls_certificates_and_hostnames_keyless_tunnel_output: JsonSchema = /** * The schema of `tls-certificates-and-hostnames_keyless_vnet_id` in responses. */ -export const tls_certificates_and_hostnames_keyless_vnet_id_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_vnet_id: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_name` in responses. */ -export const tls_certificates_and_hostnames_name_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_name: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_port` in responses. */ -export const tls_certificates_and_hostnames_port_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_port: JsonSchema = { "type": "number" }; /** * The schema of `tls-certificates-and-hostnames_status-2` in responses. */ -export const tls_certificates_and_hostnames_status_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$2: JsonSchema = { "enum": [ "active", "deleted" diff --git a/src/generated/forge-mcp/ssl/schemas.ts b/src/generated/forge-mcp/ssl/schemas.ts index 12bfd89f9..9b3a57147 100644 --- a/src/generated/forge-mcp/ssl/schemas.ts +++ b/src/generated/forge-mcp/ssl/schemas.ts @@ -13,7 +13,7 @@ export const cache_identifier: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_bundle_method`. */ -export const tls_certificates_and_hostnames_bundle_method: JsonSchema = { +export const tls$$certificates$$and$$hostnames_bundle_method: JsonSchema = { "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it.", "enum": [ "ubiquitous", @@ -26,7 +26,7 @@ export const tls_certificates_and_hostnames_bundle_method: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_certificate`. */ -export const tls_certificates_and_hostnames_certificate: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate: JsonSchema = { "description": "The zone's SSL certificate or certificate and the intermediate(s).", "type": "string" }; @@ -34,7 +34,7 @@ export const tls_certificates_and_hostnames_certificate: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_host`. */ -export const tls_certificates_and_hostnames_host: JsonSchema = { +export const tls$$certificates$$and$$hostnames_host: JsonSchema = { "description": "The keyless SSL name.", "type": "string" }; @@ -43,7 +43,7 @@ export const tls_certificates_and_hostnames_host: JsonSchema = { * The schema of * `tls-certificates-and-hostnames_keyless_certificate_identifier`. */ -export const tls_certificates_and_hostnames_keyless_certificate_identifier: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_certificate_identifier: JsonSchema = { "description": "Keyless certificate identifier tag.", "type": "string" }; @@ -51,7 +51,7 @@ export const tls_certificates_and_hostnames_keyless_certificate_identifier: Json /** * The schema of `tls-certificates-and-hostnames_keyless_private_ip`. */ -export const tls_certificates_and_hostnames_keyless_private_ip: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_private_ip: JsonSchema = { "description": "Private IP of the Key Server Host.", "type": "string" }; @@ -59,7 +59,7 @@ export const tls_certificates_and_hostnames_keyless_private_ip: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_keyless_tunnel`. */ -export const tls_certificates_and_hostnames_keyless_tunnel: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_tunnel: JsonSchema = { "description": "Configuration for using Keyless SSL through a Cloudflare Tunnel.", "properties": { "private_ip": { @@ -81,7 +81,7 @@ export const tls_certificates_and_hostnames_keyless_tunnel: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_keyless_vnet_id`. */ -export const tls_certificates_and_hostnames_keyless_vnet_id: JsonSchema = { +export const tls$$certificates$$and$$hostnames_keyless_vnet_id: JsonSchema = { "description": "Cloudflare Tunnel Virtual Network ID.", "type": "string" }; @@ -89,7 +89,7 @@ export const tls_certificates_and_hostnames_keyless_vnet_id: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_port`. */ -export const tls_certificates_and_hostnames_port: JsonSchema = { +export const tls$$certificates$$and$$hostnames_port: JsonSchema = { "description": "The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.", "type": "number" }; diff --git a/src/generated/forge-mcp/ssl/universal/settings/outputs.ts b/src/generated/forge-mcp/ssl/universal/settings/outputs.ts index b8a09cc1b..b6b8dc2a7 100644 --- a/src/generated/forge-mcp/ssl/universal/settings/outputs.ts +++ b/src/generated/forge-mcp/ssl/universal/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_enabled-2` in responses. */ -export const tls_certificates_and_hostnames_enabled_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled$$2: JsonSchema = { "type": "boolean" }; @@ -15,7 +15,7 @@ export const tls_certificates_and_hostnames_enabled_2_output: JsonSchema = { * `tls-certificates-and-hostnames_ssl_universal_settings_response` in * responses. */ -export const tls_certificates_and_hostnames_ssl_universal_settings_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ssl_universal_settings_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -34,7 +34,7 @@ export const tls_certificates_and_hostnames_ssl_universal_settings_response_outp /** * The schema of `tls-certificates-and-hostnames_universal` in responses. */ -export const tls_certificates_and_hostnames_universal_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_universal: JsonSchema = { "properties": { "enabled": { "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-2" diff --git a/src/generated/forge-mcp/ssl/universal/settings/schemas.ts b/src/generated/forge-mcp/ssl/universal/settings/schemas.ts index 3c775a536..dc1c053ae 100644 --- a/src/generated/forge-mcp/ssl/universal/settings/schemas.ts +++ b/src/generated/forge-mcp/ssl/universal/settings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_enabled-2`. */ -export const tls_certificates_and_hostnames_enabled_2: JsonSchema = { +export const tls$$certificates$$and$$hostnames_enabled$$2: JsonSchema = { "description": "Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.\n\nBy disabling Universal SSL, you understand that the following Cloudflare settings and preferences will result in visitors being unable to visit your domain unless you have uploaded a custom certificate or purchased an advanced certificate.\n\n* HSTS\n* Always Use HTTPS\n* Opportunistic Encryption\n* Onion Routing\n* Any Page Rules redirecting traffic to HTTPS\n\nSimilarly, any HTTP redirect to HTTPS at the origin while the Cloudflare proxy is enabled will result in users being unable to visit your site without a valid certificate at Cloudflare's edge.\n\nIf you do not have a valid custom or advanced certificate at Cloudflare's edge and are unsure if any of the above Cloudflare settings are enabled, or if any HTTP redirects exist at your origin, we advise leaving Universal SSL enabled for your domain.", "type": "boolean" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_enabled_2: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_universal`. */ -export const tls_certificates_and_hostnames_universal: JsonSchema = { +export const tls$$certificates$$and$$hostnames_universal: JsonSchema = { "properties": { "enabled": { "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-2", diff --git a/src/generated/forge-mcp/ssl/universal/settings/tools.ts b/src/generated/forge-mcp/ssl/universal/settings/tools.ts index 0efe1e861..2c392ed48 100644 --- a/src/generated/forge-mcp/ssl/universal/settings/tools.ts +++ b/src/generated/forge-mcp/ssl/universal/settings/tools.ts @@ -3,19 +3,19 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { - tls_certificates_and_hostnames_enabled_2_output, - tls_certificates_and_hostnames_ssl_universal_settings_response_output, - tls_certificates_and_hostnames_universal_output, + tls$$certificates$$and$$hostnames_enabled$$2, + tls$$certificates$$and$$hostnames_ssl_universal_settings_response, + tls$$certificates$$and$$hostnames_universal, } from "./outputs.js"; import { - tls_certificates_and_hostnames_enabled_2, - tls_certificates_and_hostnames_universal, + tls$$certificates$$and$$hostnames_enabled$$2 as tls$$certificates$$and$$hostnames_enabled$$2$, + tls$$certificates$$and$$hostnames_universal as tls$$certificates$$and$$hostnames_universal$, } from "./schemas.js"; /** @@ -32,29 +32,37 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/tls-certificates-and-hostnames_universal" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_enabled-2": tls_certificates_and_hostnames_enabled_2, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_universal": tls_certificates_and_hostnames_universal, + "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_universal_settings_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_enabled-2": tls_certificates_and_hostnames_enabled_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ssl_universal_settings_response": tls_certificates_and_hostnames_ssl_universal_settings_response_output, - "tls-certificates-and-hostnames_universal": tls_certificates_and_hostnames_universal_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ssl_universal_settings_response": tls$$certificates$$and$$hostnames_ssl_universal_settings_response, + "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal, }, }, annotations: { @@ -100,12 +108,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_enabled-2": tls_certificates_and_hostnames_enabled_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ssl_universal_settings_response": tls_certificates_and_hostnames_ssl_universal_settings_response_output, - "tls-certificates-and-hostnames_universal": tls_certificates_and_hostnames_universal_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ssl_universal_settings_response": tls$$certificates$$and$$hostnames_ssl_universal_settings_response, + "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal, }, }, request: (args) => ({ @@ -120,26 +128,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_universal_settings_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_enabled-2": tls_certificates_and_hostnames_enabled_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ssl_universal_settings_response": tls_certificates_and_hostnames_ssl_universal_settings_response_output, - "tls-certificates-and-hostnames_universal": tls_certificates_and_hostnames_universal_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ssl_universal_settings_response": tls$$certificates$$and$$hostnames_ssl_universal_settings_response, + "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal, }, }, annotations: { @@ -185,12 +201,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_enabled-2": tls_certificates_and_hostnames_enabled_2_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ssl_universal_settings_response": tls_certificates_and_hostnames_ssl_universal_settings_response_output, - "tls-certificates-and-hostnames_universal": tls_certificates_and_hostnames_universal_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ssl_universal_settings_response": tls$$certificates$$and$$hostnames_ssl_universal_settings_response, + "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/verification/outputs.ts b/src/generated/forge-mcp/ssl/verification/outputs.ts index b7e843c4f..24a1c76ab 100644 --- a/src/generated/forge-mcp/ssl/verification/outputs.ts +++ b/src/generated/forge-mcp/ssl/verification/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_brand_check` in responses. */ -export const tls_certificates_and_hostnames_brand_check_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_brand_check: JsonSchema = { "type": "boolean" }; /** * The schema of `tls-certificates-and-hostnames_cert_pack_uuid` in responses. */ -export const tls_certificates_and_hostnames_cert_pack_uuid_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_cert_pack_uuid: JsonSchema = { "type": "string" }; @@ -21,7 +21,7 @@ export const tls_certificates_and_hostnames_cert_pack_uuid_output: JsonSchema = * The schema of `tls-certificates-and-hostnames_certificate_status` in * responses. */ -export const tls_certificates_and_hostnames_certificate_status_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_certificate_status: JsonSchema = { "enum": [ "initializing", "authorizing", @@ -37,7 +37,7 @@ export const tls_certificates_and_hostnames_certificate_status_output: JsonSchem /** * The schema of `tls-certificates-and-hostnames_signature-2` in responses. */ -export const tls_certificates_and_hostnames_signature_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_signature$$2: JsonSchema = { "enum": [ "ECDSAWithSHA256", "SHA1WithRSA", @@ -51,7 +51,7 @@ export const tls_certificates_and_hostnames_signature_2_output: JsonSchema = { * `tls-certificates-and-hostnames_ssl_validation_method_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_ssl_validation_method_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ssl_validation_method_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -80,7 +80,7 @@ export const tls_certificates_and_hostnames_ssl_validation_method_response_colle * `tls-certificates-and-hostnames_ssl_verification_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_ssl_verification_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_ssl_verification_response_collection: JsonSchema = { "properties": { "result": { "items": { @@ -95,7 +95,7 @@ export const tls_certificates_and_hostnames_ssl_verification_response_collection /** * The schema of `tls-certificates-and-hostnames_status-6` in responses. */ -export const tls_certificates_and_hostnames_status_6_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$6: JsonSchema = { "type": "string" }; @@ -103,7 +103,7 @@ export const tls_certificates_and_hostnames_status_6_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_validation_method-2` in * responses. */ -export const tls_certificates_and_hostnames_validation_method_2_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validation_method$$2: JsonSchema = { "enum": [ "http", "cname", @@ -116,7 +116,7 @@ export const tls_certificates_and_hostnames_validation_method_2_output: JsonSche * The schema of `tls-certificates-and-hostnames_validation_method_definition` * in responses. */ -export const tls_certificates_and_hostnames_validation_method_definition_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validation_method_definition: JsonSchema = { "enum": [ "http", "cname", @@ -129,7 +129,7 @@ export const tls_certificates_and_hostnames_validation_method_definition_output: /** * The schema of `tls-certificates-and-hostnames_verification` in responses. */ -export const tls_certificates_and_hostnames_verification_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_verification: JsonSchema = { "properties": { "brand_check": { "$ref": "#/$defs/tls-certificates-and-hostnames_brand_check" @@ -166,7 +166,7 @@ export const tls_certificates_and_hostnames_verification_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_verification_info` in * responses. */ -export const tls_certificates_and_hostnames_verification_info_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_verification_info: JsonSchema = { "properties": { "record_name": { "enum": [ @@ -194,7 +194,7 @@ export const tls_certificates_and_hostnames_verification_info_output: JsonSchema * The schema of `tls-certificates-and-hostnames_verification_status` in * responses. */ -export const tls_certificates_and_hostnames_verification_status_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_verification_status: JsonSchema = { "type": "boolean" }; @@ -202,7 +202,7 @@ export const tls_certificates_and_hostnames_verification_status_output: JsonSche * The schema of `tls-certificates-and-hostnames_verification_type` in * responses. */ -export const tls_certificates_and_hostnames_verification_type_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_verification_type: JsonSchema = { "enum": [ "cname", "meta tag" diff --git a/src/generated/forge-mcp/ssl/verification/schemas.ts b/src/generated/forge-mcp/ssl/verification/schemas.ts index d8c23e04d..3416110ea 100644 --- a/src/generated/forge-mcp/ssl/verification/schemas.ts +++ b/src/generated/forge-mcp/ssl/verification/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_cert_pack_uuid`. */ -export const tls_certificates_and_hostnames_cert_pack_uuid: JsonSchema = { +export const tls$$certificates$$and$$hostnames_cert_pack_uuid: JsonSchema = { "description": "Certificate Pack UUID.", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_cert_pack_uuid: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_validation_method-3`. */ -export const tls_certificates_and_hostnames_validation_method_3: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validation_method$$3: JsonSchema = { "properties": { "validation_method": { "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method_definition", @@ -30,7 +30,7 @@ export const tls_certificates_and_hostnames_validation_method_3: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_validation_method_definition`. */ -export const tls_certificates_and_hostnames_validation_method_definition: JsonSchema = { +export const tls$$certificates$$and$$hostnames_validation_method_definition: JsonSchema = { "description": "Desired validation method.", "enum": [ "http", diff --git a/src/generated/forge-mcp/ssl/verification/tools.ts b/src/generated/forge-mcp/ssl/verification/tools.ts index d7ade9058..c5f5697c2 100644 --- a/src/generated/forge-mcp/ssl/verification/tools.ts +++ b/src/generated/forge-mcp/ssl/verification/tools.ts @@ -1,32 +1,32 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls_certificates_and_hostnames_brand_check_output, - tls_certificates_and_hostnames_cert_pack_uuid_output, - tls_certificates_and_hostnames_certificate_status_output, - tls_certificates_and_hostnames_signature_2_output, - tls_certificates_and_hostnames_ssl_validation_method_response_collection_output, - tls_certificates_and_hostnames_ssl_verification_response_collection_output, - tls_certificates_and_hostnames_status_6_output, - tls_certificates_and_hostnames_validation_method_2_output, - tls_certificates_and_hostnames_validation_method_definition_output, - tls_certificates_and_hostnames_verification_info_output, - tls_certificates_and_hostnames_verification_output, - tls_certificates_and_hostnames_verification_status_output, - tls_certificates_and_hostnames_verification_type_output, + tls$$certificates$$and$$hostnames_brand_check, + tls$$certificates$$and$$hostnames_cert_pack_uuid, + tls$$certificates$$and$$hostnames_certificate_status, + tls$$certificates$$and$$hostnames_signature$$2, + tls$$certificates$$and$$hostnames_ssl_validation_method_response_collection, + tls$$certificates$$and$$hostnames_ssl_verification_response_collection, + tls$$certificates$$and$$hostnames_status$$6, + tls$$certificates$$and$$hostnames_validation_method$$2, + tls$$certificates$$and$$hostnames_validation_method_definition, + tls$$certificates$$and$$hostnames_verification, + tls$$certificates$$and$$hostnames_verification_info, + tls$$certificates$$and$$hostnames_verification_status, + tls$$certificates$$and$$hostnames_verification_type, } from "./outputs.js"; import { - tls_certificates_and_hostnames_cert_pack_uuid, - tls_certificates_and_hostnames_validation_method_3, - tls_certificates_and_hostnames_validation_method_definition, + tls$$certificates$$and$$hostnames_cert_pack_uuid as tls$$certificates$$and$$hostnames_cert_pack_uuid$, + tls$$certificates$$and$$hostnames_validation_method$$3, + tls$$certificates$$and$$hostnames_validation_method_definition as tls$$certificates$$and$$hostnames_validation_method_definition$, } from "./schemas.js"; /** @@ -43,35 +43,43 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method-3" }, - "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_cert_pack_uuid", - "description": "Certificate Pack UUID." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "certificate_pack_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_cert_pack_uuid", + "description": "Certificate Pack UUID." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "certificate_pack_id" + ], + "type": "object" } }, required: [ - "zone_id", - "certificate_pack_id", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_cert_pack_uuid": tls_certificates_and_hostnames_cert_pack_uuid, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_validation_method-3": tls_certificates_and_hostnames_validation_method_3, - "tls-certificates-and-hostnames_validation_method_definition": tls_certificates_and_hostnames_validation_method_definition, + "tls-certificates-and-hostnames_cert_pack_uuid": tls$$certificates$$and$$hostnames_cert_pack_uuid$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_validation_method-3": tls$$certificates$$and$$hostnames_validation_method$$3, + "tls-certificates-and-hostnames_validation_method_definition": tls$$certificates$$and$$hostnames_validation_method_definition$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_validation_method_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ssl_validation_method_response_collection": tls_certificates_and_hostnames_ssl_validation_method_response_collection_output, - "tls-certificates-and-hostnames_status-6": tls_certificates_and_hostnames_status_6_output, - "tls-certificates-and-hostnames_validation_method_definition": tls_certificates_and_hostnames_validation_method_definition_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ssl_validation_method_response_collection": tls$$certificates$$and$$hostnames_ssl_validation_method_response_collection, + "tls-certificates-and-hostnames_status-6": tls$$certificates$$and$$hostnames_status$$6, + "tls-certificates-and-hostnames_validation_method_definition": tls$$certificates$$and$$hostnames_validation_method_definition, }, }, annotations: { @@ -120,12 +128,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_ssl_validation_method_response_collection": tls_certificates_and_hostnames_ssl_validation_method_response_collection_output, - "tls-certificates-and-hostnames_status-6": tls_certificates_and_hostnames_status_6_output, - "tls-certificates-and-hostnames_validation_method_definition": tls_certificates_and_hostnames_validation_method_definition_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_ssl_validation_method_response_collection": tls$$certificates$$and$$hostnames_ssl_validation_method_response_collection, + "tls-certificates-and-hostnames_status-6": tls$$certificates$$and$$hostnames_status$$6, + "tls-certificates-and-hostnames_validation_method_definition": tls$$certificates$$and$$hostnames_validation_method_definition, }, }, request: (args) => ({ @@ -140,38 +148,51 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "retry": { - "description": "Immediately retry SSL Verification.", - "enum": [ - true + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" ], - "type": "boolean" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "query": { + "properties": { + "retry": { + "description": "Immediately retry SSL Verification.", + "enum": [ + true + ], + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_verification_response_collection", $defs: { - "tls-certificates-and-hostnames_brand_check": tls_certificates_and_hostnames_brand_check_output, - "tls-certificates-and-hostnames_cert_pack_uuid": tls_certificates_and_hostnames_cert_pack_uuid_output, - "tls-certificates-and-hostnames_certificate_status": tls_certificates_and_hostnames_certificate_status_output, - "tls-certificates-and-hostnames_signature-2": tls_certificates_and_hostnames_signature_2_output, - "tls-certificates-and-hostnames_ssl_verification_response_collection": tls_certificates_and_hostnames_ssl_verification_response_collection_output, - "tls-certificates-and-hostnames_validation_method-2": tls_certificates_and_hostnames_validation_method_2_output, - "tls-certificates-and-hostnames_verification": tls_certificates_and_hostnames_verification_output, - "tls-certificates-and-hostnames_verification_info": tls_certificates_and_hostnames_verification_info_output, - "tls-certificates-and-hostnames_verification_status": tls_certificates_and_hostnames_verification_status_output, - "tls-certificates-and-hostnames_verification_type": tls_certificates_and_hostnames_verification_type_output, + "tls-certificates-and-hostnames_brand_check": tls$$certificates$$and$$hostnames_brand_check, + "tls-certificates-and-hostnames_cert_pack_uuid": tls$$certificates$$and$$hostnames_cert_pack_uuid, + "tls-certificates-and-hostnames_certificate_status": tls$$certificates$$and$$hostnames_certificate_status, + "tls-certificates-and-hostnames_signature-2": tls$$certificates$$and$$hostnames_signature$$2, + "tls-certificates-and-hostnames_ssl_verification_response_collection": tls$$certificates$$and$$hostnames_ssl_verification_response_collection, + "tls-certificates-and-hostnames_validation_method-2": tls$$certificates$$and$$hostnames_validation_method$$2, + "tls-certificates-and-hostnames_verification": tls$$certificates$$and$$hostnames_verification, + "tls-certificates-and-hostnames_verification_info": tls$$certificates$$and$$hostnames_verification_info, + "tls-certificates-and-hostnames_verification_status": tls$$certificates$$and$$hostnames_verification_status, + "tls-certificates-and-hostnames_verification_type": tls$$certificates$$and$$hostnames_verification_type, }, }, annotations: { @@ -219,24 +240,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_brand_check": tls_certificates_and_hostnames_brand_check_output, - "tls-certificates-and-hostnames_cert_pack_uuid": tls_certificates_and_hostnames_cert_pack_uuid_output, - "tls-certificates-and-hostnames_certificate_status": tls_certificates_and_hostnames_certificate_status_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_signature-2": tls_certificates_and_hostnames_signature_2_output, - "tls-certificates-and-hostnames_ssl_verification_response_collection": tls_certificates_and_hostnames_ssl_verification_response_collection_output, - "tls-certificates-and-hostnames_validation_method-2": tls_certificates_and_hostnames_validation_method_2_output, - "tls-certificates-and-hostnames_verification": tls_certificates_and_hostnames_verification_output, - "tls-certificates-and-hostnames_verification_info": tls_certificates_and_hostnames_verification_info_output, - "tls-certificates-and-hostnames_verification_status": tls_certificates_and_hostnames_verification_status_output, - "tls-certificates-and-hostnames_verification_type": tls_certificates_and_hostnames_verification_type_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_brand_check": tls$$certificates$$and$$hostnames_brand_check, + "tls-certificates-and-hostnames_cert_pack_uuid": tls$$certificates$$and$$hostnames_cert_pack_uuid, + "tls-certificates-and-hostnames_certificate_status": tls$$certificates$$and$$hostnames_certificate_status, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_signature-2": tls$$certificates$$and$$hostnames_signature$$2, + "tls-certificates-and-hostnames_ssl_verification_response_collection": tls$$certificates$$and$$hostnames_ssl_verification_response_collection, + "tls-certificates-and-hostnames_validation_method-2": tls$$certificates$$and$$hostnames_validation_method$$2, + "tls-certificates-and-hostnames_verification": tls$$certificates$$and$$hostnames_verification, + "tls-certificates-and-hostnames_verification_info": tls$$certificates$$and$$hostnames_verification_info, + "tls-certificates-and-hostnames_verification_status": tls$$certificates$$and$$hostnames_verification_status, + "tls-certificates-and-hostnames_verification_type": tls$$certificates$$and$$hostnames_verification_type, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/ssl/verification`, query: [ - ["retry", args["retry"], true], + ["retry", param(args, "query", "retry"), true], ], }), }, diff --git a/src/generated/forge-mcp/stream/keys/outputs.ts b/src/generated/forge-mcp/stream/keys/outputs.ts index 7719a0346..565f71521 100644 --- a/src/generated/forge-mcp/stream/keys/outputs.ts +++ b/src/generated/forge-mcp/stream/keys/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `stream_jwk` in responses. */ -export const stream_jwk_output: JsonSchema = { +export const stream_jwk: JsonSchema = { "type": "string" }; /** * The schema of `stream_key_generation_response` in responses. */ -export const stream_key_generation_response_output: JsonSchema = { +export const stream_key_generation_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-common" @@ -32,7 +32,7 @@ export const stream_key_generation_response_output: JsonSchema = { /** * The schema of `stream_key_response_collection` in responses. */ -export const stream_key_response_collection_output: JsonSchema = { +export const stream_key_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-common" @@ -65,7 +65,7 @@ export const stream_key_response_collection_output: JsonSchema = { /** * The schema of `stream_keys` in responses. */ -export const stream_keys_output: JsonSchema = { +export const stream_keys: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/stream_signing_key_created" @@ -86,14 +86,14 @@ export const stream_keys_output: JsonSchema = { /** * The schema of `stream_pem` in responses. */ -export const stream_pem_output: JsonSchema = { +export const stream_pem: JsonSchema = { "type": "string" }; /** * The schema of `stream_signing_key_created` in responses. */ -export const stream_signing_key_created_output: JsonSchema = { +export const stream_signing_key_created: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/stream/keys/tools.ts b/src/generated/forge-mcp/stream/keys/tools.ts index f78c0b247..69e6eae53 100644 --- a/src/generated/forge-mcp/stream/keys/tools.ts +++ b/src/generated/forge-mcp/stream/keys/tools.ts @@ -3,21 +3,21 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_common_output, - stream_api_response_single_output, - stream_deleted_response_output, - stream_identifier_2_output, - stream_messages_output, + stream_api$$response$$common, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_deleted_response, + stream_identifier$$2, + stream_messages, } from "../outputs.js"; -import { stream_identifier_2 } from "../schemas.js"; +import { stream_identifier$$2 as stream_identifier$$2$ } from "../schemas.js"; import { - stream_jwk_output, - stream_key_generation_response_output, - stream_key_response_collection_output, - stream_keys_output, - stream_pem_output, - stream_signing_key_created_output, + stream_jwk, + stream_key_generation_response, + stream_key_response_collection, + stream_keys, + stream_pem, + stream_signing_key_created, } from "./outputs.js"; /** @@ -31,29 +31,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2$, }, }, outputSchema: { "$ref": "#/$defs/stream_key_generation_response", $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_identifier-2": stream_identifier_2_output, - "stream_jwk": stream_jwk_output, - "stream_key_generation_response": stream_key_generation_response_output, - "stream_keys": stream_keys_output, - "stream_messages": stream_messages_output, - "stream_pem": stream_pem_output, - "stream_signing_key_created": stream_signing_key_created_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_identifier-2": stream_identifier$$2, + "stream_jwk": stream_jwk, + "stream_key_generation_response": stream_key_generation_response, + "stream_keys": stream_keys, + "stream_messages": stream_messages, + "stream_pem": stream_pem, + "stream_signing_key_created": stream_signing_key_created, }, }, annotations: { @@ -80,15 +88,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_identifier-2": stream_identifier_2_output, - "stream_jwk": stream_jwk_output, - "stream_key_generation_response": stream_key_generation_response_output, - "stream_keys": stream_keys_output, - "stream_messages": stream_messages_output, - "stream_pem": stream_pem_output, - "stream_signing_key_created": stream_signing_key_created_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_identifier-2": stream_identifier$$2, + "stream_jwk": stream_jwk, + "stream_key_generation_response": stream_key_generation_response, + "stream_keys": stream_keys, + "stream_messages": stream_messages, + "stream_pem": stream_pem, + "stream_signing_key_created": stream_signing_key_created, }, }, request: (args) => ({ @@ -102,29 +110,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2$, }, }, outputSchema: { "$ref": "#/$defs/stream_deleted_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, annotations: { @@ -151,10 +167,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -168,26 +184,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2$, }, }, outputSchema: { "$ref": "#/$defs/stream_key_response_collection", $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_identifier-2": stream_identifier_2_output, - "stream_key_response_collection": stream_key_response_collection_output, - "stream_messages": stream_messages_output, - "stream_signing_key_created": stream_signing_key_created_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_identifier-2": stream_identifier$$2, + "stream_key_response_collection": stream_key_response_collection, + "stream_messages": stream_messages, + "stream_signing_key_created": stream_signing_key_created, }, }, annotations: { @@ -215,12 +239,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_identifier-2": stream_identifier_2_output, - "stream_key_response_collection": stream_key_response_collection_output, - "stream_messages": stream_messages_output, - "stream_signing_key_created": stream_signing_key_created_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_identifier-2": stream_identifier$$2, + "stream_key_response_collection": stream_key_response_collection, + "stream_messages": stream_messages, + "stream_signing_key_created": stream_signing_key_created, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs.ts b/src/generated/forge-mcp/stream/liveInputs/outputs.ts index 8d3cc9bcd..39bbf22e3 100644 --- a/src/generated/forge-mcp/stream/liveInputs/outputs.ts +++ b/src/generated/forge-mcp/stream/liveInputs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `stream_input_rtmps` in responses. */ -export const stream_input_rtmps_output: JsonSchema = { +export const stream_input_rtmps: JsonSchema = { "properties": { "streamKey": { "$ref": "#/$defs/stream_input_rtmps_stream_key" @@ -21,21 +21,21 @@ export const stream_input_rtmps_output: JsonSchema = { /** * The schema of `stream_input_rtmps_stream_key` in responses. */ -export const stream_input_rtmps_stream_key_output: JsonSchema = { +export const stream_input_rtmps_stream_key: JsonSchema = { "type": "string" }; /** * The schema of `stream_input_rtmps_url` in responses. */ -export const stream_input_rtmps_url_output: JsonSchema = { +export const stream_input_rtmps_url: JsonSchema = { "type": "string" }; /** * The schema of `stream_input_srt` in responses. */ -export const stream_input_srt_output: JsonSchema = { +export const stream_input_srt: JsonSchema = { "properties": { "passphrase": { "$ref": "#/$defs/stream_input_srt_stream_passphrase" @@ -53,28 +53,28 @@ export const stream_input_srt_output: JsonSchema = { /** * The schema of `stream_input_srt_stream_id` in responses. */ -export const stream_input_srt_stream_id_output: JsonSchema = { +export const stream_input_srt_stream_id: JsonSchema = { "type": "string" }; /** * The schema of `stream_input_srt_stream_passphrase` in responses. */ -export const stream_input_srt_stream_passphrase_output: JsonSchema = { +export const stream_input_srt_stream_passphrase: JsonSchema = { "type": "string" }; /** * The schema of `stream_input_srt_url` in responses. */ -export const stream_input_srt_url_output: JsonSchema = { +export const stream_input_srt_url: JsonSchema = { "type": "string" }; /** * The schema of `stream_input_webrtc` in responses. */ -export const stream_input_webrtc_output: JsonSchema = { +export const stream_input_webrtc: JsonSchema = { "properties": { "url": { "$ref": "#/$defs/stream_input_webrtc_url" @@ -86,14 +86,14 @@ export const stream_input_webrtc_output: JsonSchema = { /** * The schema of `stream_input_webrtc_url` in responses. */ -export const stream_input_webrtc_url_output: JsonSchema = { +export const stream_input_webrtc_url: JsonSchema = { "type": "string" }; /** * The schema of `stream_live_input` in responses. */ -export const stream_live_input_output: JsonSchema = { +export const stream_live_input: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/stream_live_input_created" @@ -153,7 +153,7 @@ export const stream_live_input_output: JsonSchema = { /** * The schema of `stream_live_input_created` in responses. */ -export const stream_live_input_created_output: JsonSchema = { +export const stream_live_input_created: JsonSchema = { "format": "date-time", "type": "string" }; @@ -161,21 +161,21 @@ export const stream_live_input_created_output: JsonSchema = { /** * The schema of `stream_live_input_enabled` in responses. */ -export const stream_live_input_enabled_output: JsonSchema = { +export const stream_live_input_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `stream_live_input_identifier` in responses. */ -export const stream_live_input_identifier_output: JsonSchema = { +export const stream_live_input_identifier: JsonSchema = { "type": "string" }; /** * The schema of `stream_live_input_keys_rotated_at` in responses. */ -export const stream_live_input_keys_rotated_at_output: JsonSchema = { +export const stream_live_input_keys_rotated_at: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -190,14 +190,14 @@ export const stream_live_input_keys_rotated_at_output: JsonSchema = { /** * The schema of `stream_live_input_metadata` in responses. */ -export const stream_live_input_metadata_output: JsonSchema = { +export const stream_live_input_metadata: JsonSchema = { "type": "object" }; /** * The schema of `stream_live_input_modified` in responses. */ -export const stream_live_input_modified_output: JsonSchema = { +export const stream_live_input_modified: JsonSchema = { "format": "date-time", "type": "string" }; @@ -205,7 +205,7 @@ export const stream_live_input_modified_output: JsonSchema = { /** * The schema of `stream_live_input_object_without_url` in responses. */ -export const stream_live_input_object_without_url_output: JsonSchema = { +export const stream_live_input_object_without_url: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/stream_live_input_created" @@ -232,7 +232,7 @@ export const stream_live_input_object_without_url_output: JsonSchema = { /** * The schema of `stream_live_input_playback` in responses. */ -export const stream_live_input_playback_output: JsonSchema = { +export const stream_live_input_playback: JsonSchema = { "properties": { "dash": { "$ref": "#/$defs/stream_playback_dash_url" @@ -251,14 +251,14 @@ export const stream_live_input_playback_output: JsonSchema = { /** * The schema of `stream_live_input_prefer_low_latency` in responses. */ -export const stream_live_input_prefer_low_latency_output: JsonSchema = { +export const stream_live_input_prefer_low_latency: JsonSchema = { "type": "boolean" }; /** * The schema of `stream_live_input_recording_allowedOrigins` in responses. */ -export const stream_live_input_recording_allowedOrigins_output: JsonSchema = { +export const stream_live_input_recording_allowedOrigins: JsonSchema = { "items": { "type": "string" }, @@ -268,21 +268,21 @@ export const stream_live_input_recording_allowedOrigins_output: JsonSchema = { /** * The schema of `stream_live_input_recording_deletion` in responses. */ -export const stream_live_input_recording_deletion_output: JsonSchema = { +export const stream_live_input_recording_deletion: JsonSchema = { "type": "number" }; /** * The schema of `stream_live_input_recording_hideLiveViewerCount` in responses. */ -export const stream_live_input_recording_hideLiveViewerCount_output: JsonSchema = { +export const stream_live_input_recording_hideLiveViewerCount: JsonSchema = { "type": "boolean" }; /** * The schema of `stream_live_input_recording_mode` in responses. */ -export const stream_live_input_recording_mode_output: JsonSchema = { +export const stream_live_input_recording_mode: JsonSchema = { "enum": [ "off", "automatic" @@ -293,14 +293,14 @@ export const stream_live_input_recording_mode_output: JsonSchema = { /** * The schema of `stream_live_input_recording_requireSignedURLs` in responses. */ -export const stream_live_input_recording_requireSignedURLs_output: JsonSchema = { +export const stream_live_input_recording_requireSignedURLs: JsonSchema = { "type": "boolean" }; /** * The schema of `stream_live_input_recording_settings` in responses. */ -export const stream_live_input_recording_settings_output: JsonSchema = { +export const stream_live_input_recording_settings: JsonSchema = { "properties": { "allowedOrigins": { "$ref": "#/$defs/stream_live_input_recording_allowedOrigins" @@ -324,14 +324,14 @@ export const stream_live_input_recording_settings_output: JsonSchema = { /** * The schema of `stream_live_input_recording_timeoutSeconds` in responses. */ -export const stream_live_input_recording_timeoutSeconds_output: JsonSchema = { +export const stream_live_input_recording_timeoutSeconds: JsonSchema = { "type": "integer" }; /** * The schema of `stream_live_input_response_collection` in responses. */ -export const stream_live_input_response_collection_output: JsonSchema = { +export const stream_live_input_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-common" @@ -364,7 +364,7 @@ export const stream_live_input_response_collection_output: JsonSchema = { /** * The schema of `stream_live_input_response_single` in responses. */ -export const stream_live_input_response_single_output: JsonSchema = { +export const stream_live_input_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" @@ -383,7 +383,7 @@ export const stream_live_input_response_single_output: JsonSchema = { /** * The schema of `stream_live_input_status` in responses. */ -export const stream_live_input_status_output: JsonSchema = { +export const stream_live_input_status: JsonSchema = { "oneOf": [ { "enum": [ @@ -407,21 +407,21 @@ export const stream_live_input_status_output: JsonSchema = { /** * The schema of `stream_playback_dash_url` in responses. */ -export const stream_playback_dash_url_output: JsonSchema = { +export const stream_playback_dash_url: JsonSchema = { "type": "string" }; /** * The schema of `stream_playback_hls_url` in responses. */ -export const stream_playback_hls_url_output: JsonSchema = { +export const stream_playback_hls_url: JsonSchema = { "type": "string" }; /** * The schema of `stream_playback_rtmps` in responses. */ -export const stream_playback_rtmps_output: JsonSchema = { +export const stream_playback_rtmps: JsonSchema = { "properties": { "streamKey": { "$ref": "#/$defs/stream_playback_rtmps_stream_key" @@ -436,21 +436,21 @@ export const stream_playback_rtmps_output: JsonSchema = { /** * The schema of `stream_playback_rtmps_stream_key` in responses. */ -export const stream_playback_rtmps_stream_key_output: JsonSchema = { +export const stream_playback_rtmps_stream_key: JsonSchema = { "type": "string" }; /** * The schema of `stream_playback_rtmps_url` in responses. */ -export const stream_playback_rtmps_url_output: JsonSchema = { +export const stream_playback_rtmps_url: JsonSchema = { "type": "string" }; /** * The schema of `stream_playback_srt` in responses. */ -export const stream_playback_srt_output: JsonSchema = { +export const stream_playback_srt: JsonSchema = { "properties": { "passphrase": { "$ref": "#/$defs/stream_playback_srt_stream_passphrase" @@ -468,28 +468,28 @@ export const stream_playback_srt_output: JsonSchema = { /** * The schema of `stream_playback_srt_stream_id` in responses. */ -export const stream_playback_srt_stream_id_output: JsonSchema = { +export const stream_playback_srt_stream_id: JsonSchema = { "type": "string" }; /** * The schema of `stream_playback_srt_stream_passphrase` in responses. */ -export const stream_playback_srt_stream_passphrase_output: JsonSchema = { +export const stream_playback_srt_stream_passphrase: JsonSchema = { "type": "string" }; /** * The schema of `stream_playback_srt_url` in responses. */ -export const stream_playback_srt_url_output: JsonSchema = { +export const stream_playback_srt_url: JsonSchema = { "type": "string" }; /** * The schema of `stream_playback_webrtc` in responses. */ -export const stream_playback_webrtc_output: JsonSchema = { +export const stream_playback_webrtc: JsonSchema = { "properties": { "url": { "$ref": "#/$defs/stream_playback_webrtc_url" @@ -501,6 +501,6 @@ export const stream_playback_webrtc_output: JsonSchema = { /** * The schema of `stream_playback_webrtc_url` in responses. */ -export const stream_playback_webrtc_url_output: JsonSchema = { +export const stream_playback_webrtc_url: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts b/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts index 89f58ef1d..5b9430ba0 100644 --- a/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts +++ b/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `stream_output` in responses. */ -export const stream_output_output: JsonSchema = { +export const stream_output: JsonSchema = { "properties": { "enabled": { "$ref": "#/$defs/stream_output_enabled" @@ -27,21 +27,21 @@ export const stream_output_output: JsonSchema = { /** * The schema of `stream_output_enabled` in responses. */ -export const stream_output_enabled_output: JsonSchema = { +export const stream_output_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `stream_output_identifier` in responses. */ -export const stream_output_identifier_output: JsonSchema = { +export const stream_output_identifier: JsonSchema = { "type": "string" }; /** * The schema of `stream_output_response_collection` in responses. */ -export const stream_output_response_collection_output: JsonSchema = { +export const stream_output_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-common" @@ -63,7 +63,7 @@ export const stream_output_response_collection_output: JsonSchema = { /** * The schema of `stream_output_response_single` in responses. */ -export const stream_output_response_single_output: JsonSchema = { +export const stream_output_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" @@ -82,13 +82,13 @@ export const stream_output_response_single_output: JsonSchema = { /** * The schema of `stream_output_streamKey` in responses. */ -export const stream_output_streamKey_output: JsonSchema = { +export const stream_output_streamKey: JsonSchema = { "type": "string" }; /** * The schema of `stream_output_url` in responses. */ -export const stream_output_url_output: JsonSchema = { +export const stream_output_url: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts b/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts index 386e7428a..7da4ef5f1 100644 --- a/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts +++ b/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts @@ -3,79 +3,87 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_common_output, - stream_api_response_single_output, - stream_messages_output, + stream_api$$response$$common, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_messages, } from "../../outputs.js"; -import { stream_identifier_2 } from "../../schemas.js"; +import { stream_identifier$$2 } from "../../schemas.js"; import { stream_live_input_identifier } from "../schemas.js"; import { - stream_output_enabled_output, - stream_output_identifier_output, - stream_output_output, - stream_output_response_collection_output, - stream_output_response_single_output, - stream_output_streamKey_output, - stream_output_url_output, -} from "./outputs.js"; -import { - stream_create_output_request, + stream_output, stream_output_enabled, stream_output_identifier, + stream_output_response_collection, + stream_output_response_single, stream_output_streamKey, stream_output_url, +} from "./outputs.js"; +import { + stream_create_output_request, + stream_output_enabled as stream_output_enabled$, + stream_output_identifier as stream_output_identifier$, + stream_output_streamKey as stream_output_streamKey$, + stream_output_url as stream_output_url$, stream_update_output_request, } from "./schemas.js"; /** - * The tools of `stream.live_inputs.outputs`. + * The tools of `stream.liveInputs.outputs`. */ export const tools: readonly Tool[] = [ { - name: "stream_live_inputs_outputs_create", + name: "stream_liveInputs_outputs_create", title: "Create a new output, connected to a live input", description: "Creates a new output that can be used to simulcast or restream live video to other RTMP or SRT destinations. Outputs are always linked to a specific live input — one live input can have many outputs.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/stream_create_output_request" }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + } + }, + "required": [ + "account_id", + "live_input_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier", + "path", "body" ], $defs: { "stream_create_output_request": stream_create_output_request, - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, "stream_live_input_identifier": stream_live_input_identifier, - "stream_output_enabled": stream_output_enabled, - "stream_output_streamKey": stream_output_streamKey, - "stream_output_url": stream_output_url, + "stream_output_enabled": stream_output_enabled$, + "stream_output_streamKey": stream_output_streamKey$, + "stream_output_url": stream_output_url$, }, }, outputSchema: { "$ref": "#/$defs/stream_output_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_output": stream_output_output, - "stream_output_enabled": stream_output_enabled_output, - "stream_output_identifier": stream_output_identifier_output, - "stream_output_response_single": stream_output_response_single_output, - "stream_output_streamKey": stream_output_streamKey_output, - "stream_output_url": stream_output_url_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_output": stream_output, + "stream_output_enabled": stream_output_enabled, + "stream_output_identifier": stream_output_identifier, + "stream_output_response_single": stream_output_response_single, + "stream_output_streamKey": stream_output_streamKey, + "stream_output_url": stream_output_url, }, }, annotations: { @@ -97,15 +105,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_output": stream_output_output, - "stream_output_enabled": stream_output_enabled_output, - "stream_output_identifier": stream_output_identifier_output, - "stream_output_response_single": stream_output_response_single_output, - "stream_output_streamKey": stream_output_streamKey_output, - "stream_output_url": stream_output_url_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_output": stream_output, + "stream_output_enabled": stream_output_enabled, + "stream_output_identifier": stream_output_identifier, + "stream_output_response_single": stream_output_response_single, + "stream_output_streamKey": stream_output_streamKey, + "stream_output_url": stream_output_url, }, }, request: (args) => ({ @@ -114,34 +122,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_live_inputs_outputs_delete", + name: "stream_liveInputs_outputs_delete", title: "Delete an output", description: "Deletes an output and removes it from the associated live input.\n\nConfirm with the user before calling this tool. Delete this output? Any active broadcast to this target will be terminated.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." - }, - "output_identifier": { - "$ref": "#/$defs/stream_output_identifier", - "description": "A unique identifier for the output." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + }, + "output_identifier": { + "$ref": "#/$defs/stream_output_identifier", + "description": "A unique identifier for the output." + } + }, + "required": [ + "account_id", + "live_input_identifier", + "output_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier", - "output_identifier" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, "stream_live_input_identifier": stream_live_input_identifier, - "stream_output_identifier": stream_output_identifier, + "stream_output_identifier": stream_output_identifier$, }, }, outputSchema: { @@ -171,41 +187,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_live_inputs_outputs_list", + name: "stream_liveInputs_outputs_list", title: "List all outputs associated with a specified live input", description: "Retrieves all outputs associated with a specified live input.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + } + }, + "required": [ + "account_id", + "live_input_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, "stream_live_input_identifier": stream_live_input_identifier, }, }, outputSchema: { "$ref": "#/$defs/stream_output_response_collection", $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_messages": stream_messages_output, - "stream_output": stream_output_output, - "stream_output_enabled": stream_output_enabled_output, - "stream_output_identifier": stream_output_identifier_output, - "stream_output_response_collection": stream_output_response_collection_output, - "stream_output_streamKey": stream_output_streamKey_output, - "stream_output_url": stream_output_url_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_messages": stream_messages, + "stream_output": stream_output, + "stream_output_enabled": stream_output_enabled, + "stream_output_identifier": stream_output_identifier, + "stream_output_response_collection": stream_output_response_collection, + "stream_output_streamKey": stream_output_streamKey, + "stream_output_url": stream_output_url, }, }, annotations: { @@ -233,15 +257,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_messages": stream_messages_output, - "stream_output": stream_output_output, - "stream_output_enabled": stream_output_enabled_output, - "stream_output_identifier": stream_output_identifier_output, - "stream_output_response_collection": stream_output_response_collection_output, - "stream_output_streamKey": stream_output_streamKey_output, - "stream_output_url": stream_output_url_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_messages": stream_messages, + "stream_output": stream_output, + "stream_output_enabled": stream_output_enabled, + "stream_output_identifier": stream_output_identifier, + "stream_output_response_collection": stream_output_response_collection, + "stream_output_streamKey": stream_output_streamKey, + "stream_output_url": stream_output_url, }, }, request: (args) => ({ @@ -249,53 +273,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_live_inputs_outputs_update", + name: "stream_liveInputs_outputs_update", title: "Update an output", description: "Updates the state of an output.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/stream_update_output_request" }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." - }, - "output_identifier": { - "$ref": "#/$defs/stream_output_identifier", - "description": "A unique identifier for the output." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + }, + "output_identifier": { + "$ref": "#/$defs/stream_output_identifier", + "description": "A unique identifier for the output." + } + }, + "required": [ + "account_id", + "live_input_identifier", + "output_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier", - "output_identifier", + "path", "body" ], $defs: { - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, "stream_live_input_identifier": stream_live_input_identifier, - "stream_output_enabled": stream_output_enabled, - "stream_output_identifier": stream_output_identifier, + "stream_output_enabled": stream_output_enabled$, + "stream_output_identifier": stream_output_identifier$, "stream_update_output_request": stream_update_output_request, }, }, outputSchema: { "$ref": "#/$defs/stream_output_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_output": stream_output_output, - "stream_output_enabled": stream_output_enabled_output, - "stream_output_identifier": stream_output_identifier_output, - "stream_output_response_single": stream_output_response_single_output, - "stream_output_streamKey": stream_output_streamKey_output, - "stream_output_url": stream_output_url_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_output": stream_output, + "stream_output_enabled": stream_output_enabled, + "stream_output_identifier": stream_output_identifier, + "stream_output_response_single": stream_output_response_single, + "stream_output_streamKey": stream_output_streamKey, + "stream_output_url": stream_output_url, }, }, annotations: { @@ -322,15 +354,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_output": stream_output_output, - "stream_output_enabled": stream_output_enabled_output, - "stream_output_identifier": stream_output_identifier_output, - "stream_output_response_single": stream_output_response_single_output, - "stream_output_streamKey": stream_output_streamKey_output, - "stream_output_url": stream_output_url_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_output": stream_output, + "stream_output_enabled": stream_output_enabled, + "stream_output_identifier": stream_output_identifier, + "stream_output_response_single": stream_output_response_single, + "stream_output_streamKey": stream_output_streamKey, + "stream_output_url": stream_output_url, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/liveInputs/tools.ts b/src/generated/forge-mcp/stream/liveInputs/tools.ts index c4628e20e..a34249d7b 100644 --- a/src/generated/forge-mcp/stream/liveInputs/tools.ts +++ b/src/generated/forge-mcp/stream/liveInputs/tools.ts @@ -1,62 +1,33 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_common_output, - stream_api_response_single_output, - stream_messages_output, + stream_api$$response$$common, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_messages, } from "../outputs.js"; -import { stream_identifier_2, stream_include_counts } from "../schemas.js"; +import { stream_identifier$$2, stream_include_counts } from "../schemas.js"; import { - stream_input_rtmps_output, - stream_input_rtmps_stream_key_output, - stream_input_rtmps_url_output, - stream_input_srt_output, - stream_input_srt_stream_id_output, - stream_input_srt_stream_passphrase_output, - stream_input_srt_url_output, - stream_input_webrtc_output, - stream_input_webrtc_url_output, - stream_live_input_created_output, - stream_live_input_enabled_output, - stream_live_input_identifier_output, - stream_live_input_keys_rotated_at_output, - stream_live_input_metadata_output, - stream_live_input_modified_output, - stream_live_input_object_without_url_output, - stream_live_input_output, - stream_live_input_playback_output, - stream_live_input_prefer_low_latency_output, - stream_live_input_recording_allowedOrigins_output, - stream_live_input_recording_deletion_output, - stream_live_input_recording_hideLiveViewerCount_output, - stream_live_input_recording_mode_output, - stream_live_input_recording_requireSignedURLs_output, - stream_live_input_recording_settings_output, - stream_live_input_recording_timeoutSeconds_output, - stream_live_input_response_collection_output, - stream_live_input_response_single_output, - stream_live_input_status_output, - stream_playback_dash_url_output, - stream_playback_hls_url_output, - stream_playback_rtmps_output, - stream_playback_rtmps_stream_key_output, - stream_playback_rtmps_url_output, - stream_playback_srt_output, - stream_playback_srt_stream_id_output, - stream_playback_srt_stream_passphrase_output, - stream_playback_srt_url_output, - stream_playback_webrtc_output, - stream_playback_webrtc_url_output, -} from "./outputs.js"; -import { - stream_create_input_request, - stream_live_input_default_creator, + stream_input_rtmps, + stream_input_rtmps_stream_key, + stream_input_rtmps_url, + stream_input_srt, + stream_input_srt_stream_id, + stream_input_srt_stream_passphrase, + stream_input_srt_url, + stream_input_webrtc, + stream_input_webrtc_url, + stream_live_input, + stream_live_input_created, stream_live_input_enabled, stream_live_input_identifier, + stream_live_input_keys_rotated_at, stream_live_input_metadata, + stream_live_input_modified, + stream_live_input_object_without_url, + stream_live_input_playback, stream_live_input_prefer_low_latency, stream_live_input_recording_allowedOrigins, stream_live_input_recording_deletion, @@ -65,42 +36,115 @@ import { stream_live_input_recording_requireSignedURLs, stream_live_input_recording_settings, stream_live_input_recording_timeoutSeconds, + stream_live_input_response_collection, + stream_live_input_response_single, + stream_live_input_status, + stream_playback_dash_url, + stream_playback_hls_url, + stream_playback_rtmps, + stream_playback_rtmps_stream_key, + stream_playback_rtmps_url, + stream_playback_srt, + stream_playback_srt_stream_id, + stream_playback_srt_stream_passphrase, + stream_playback_srt_url, + stream_playback_webrtc, + stream_playback_webrtc_url, +} from "./outputs.js"; +import { + stream_create_input_request, + stream_live_input_default_creator, + stream_live_input_enabled as stream_live_input_enabled$, + stream_live_input_identifier as stream_live_input_identifier$, + stream_live_input_metadata as stream_live_input_metadata$, + stream_live_input_prefer_low_latency as stream_live_input_prefer_low_latency$, + stream_live_input_recording_allowedOrigins as stream_live_input_recording_allowedOrigins$, + stream_live_input_recording_deletion as stream_live_input_recording_deletion$, + stream_live_input_recording_hideLiveViewerCount as stream_live_input_recording_hideLiveViewerCount$, + stream_live_input_recording_mode as stream_live_input_recording_mode$, + stream_live_input_recording_requireSignedURLs as stream_live_input_recording_requireSignedURLs$, + stream_live_input_recording_settings as stream_live_input_recording_settings$, + stream_live_input_recording_timeoutSeconds as stream_live_input_recording_timeoutSeconds$, stream_update_input_request, } from "./schemas.js"; /** - * The tools of `stream.live_inputs`. + * The tools of `stream.liveInputs`. */ export const tools: readonly Tool[] = [ { - name: "stream_live_inputs_create", + name: "stream_liveInputs_create", title: "Create a live input", description: "Creates a live input, and returns credentials that you or your users can use to stream live video to Cloudflare Stream.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/stream_create_input_request" }, - "idempotency_key": { - "description": "Prevents duplicate live inputs from being created when retrying this request. The key is scoped to the account, may contain up to 255 bytes, and expires six hours after the live input is created. Reusing a key for a deleted input before expiry returns a 409 Conflict response.", - "type": "string" + "headers": { + "properties": { + "Idempotency-Key": { + "description": "Prevents duplicate live inputs from being created when retrying this request. The key is scoped to the account, may contain up to 255 bytes, and expires six hours after the live input is created. Reusing a key for a deleted input before expiry returns a 409 Conflict response.", + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "stream_create_input_request": stream_create_input_request, - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, "stream_live_input_default_creator": stream_live_input_default_creator, + "stream_live_input_enabled": stream_live_input_enabled$, + "stream_live_input_metadata": stream_live_input_metadata$, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency$, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins$, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion$, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount$, + "stream_live_input_recording_mode": stream_live_input_recording_mode$, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs$, + "stream_live_input_recording_settings": stream_live_input_recording_settings$, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds$, + }, + }, + outputSchema: { + "$ref": "#/$defs/stream_live_input_response_single", + $defs: { + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, "stream_live_input_recording_deletion": stream_live_input_recording_deletion, @@ -109,51 +153,20 @@ export const tools: readonly Tool[] = [ "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, - }, - }, - outputSchema: { - "$ref": "#/$defs/stream_live_input_response_single", - $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -180,80 +193,88 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs`, headers: [ - ["Idempotency-Key", args["idempotency_key"]], + ["Idempotency-Key", param(args, "headers", "Idempotency-Key")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "stream_live_inputs_delete", + name: "stream_liveInputs_delete", title: "Delete a live input", description: "Permanently delete a live input, making it inaccessible and blocking current and future broadcasts to it. Existing recordings will be retained.\n\nConfirm with the user before calling this tool. Permanently delete this live input? It cannot be recreated.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + } + }, + "required": [ + "account_id", + "live_input_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, - "stream_live_input_identifier": stream_live_input_identifier, + "stream_identifier-2": stream_identifier$$2, + "stream_live_input_identifier": stream_live_input_identifier$, }, }, outputSchema: { @@ -283,73 +304,81 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_live_inputs_disable", + name: "stream_liveInputs_disable", title: "Disable a live input", description: "Prevents a live input from being streamed to and terminates any active broadcasts until re-enabled.\n\nConfirm with the user before calling this tool. Disable this live input? Active broadcasts will be terminated and future connections will be blocked until it is re-enabled.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + } + }, + "required": [ + "account_id", + "live_input_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, - "stream_live_input_identifier": stream_live_input_identifier, + "stream_identifier-2": stream_identifier$$2, + "stream_live_input_identifier": stream_live_input_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -371,47 +400,47 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ @@ -419,73 +448,81 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_live_inputs_enable", + name: "stream_liveInputs_enable", title: "Enable a live input", description: "Allows a disabled live input to start receiving broadcasts again.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + } + }, + "required": [ + "account_id", + "live_input_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, - "stream_live_input_identifier": stream_live_input_identifier, + "stream_identifier-2": stream_identifier$$2, + "stream_live_input_identifier": stream_live_input_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -507,47 +544,47 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ @@ -555,73 +592,81 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_live_inputs_get", + name: "stream_liveInputs_get", title: "Retrieve a live input", description: "Retrieves details of an existing live input.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + } + }, + "required": [ + "account_id", + "live_input_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, - "stream_live_input_identifier": stream_live_input_identifier, + "stream_identifier-2": stream_identifier$$2, + "stream_live_input_identifier": stream_live_input_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -649,47 +694,47 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ @@ -697,43 +742,56 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_live_inputs_list", + name: "stream_liveInputs_list", title: "List live inputs", description: "Lists the live inputs created for an account. To get the credentials needed to stream to a specific live input, request a single live input.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "include_counts": { - "$ref": "#/$defs/stream_include_counts", - "default": false, - "description": "Includes the total number of videos associated with the submitted query parameters." + "query": { + "properties": { + "include_counts": { + "$ref": "#/$defs/stream_include_counts", + "default": false, + "description": "Includes the total number of videos associated with the submitted query parameters." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, "stream_include_counts": stream_include_counts, }, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_collection", $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_object_without_url": stream_live_input_object_without_url_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_response_collection": stream_live_input_response_collection_output, - "stream_messages": stream_messages_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_object_without_url": stream_live_input_object_without_url, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_response_collection": stream_live_input_response_collection, + "stream_messages": stream_messages, }, }, annotations: { @@ -761,94 +819,102 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_object_without_url": stream_live_input_object_without_url_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_response_collection": stream_live_input_response_collection_output, - "stream_messages": stream_messages_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_object_without_url": stream_live_input_object_without_url, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_response_collection": stream_live_input_response_collection, + "stream_messages": stream_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/live_inputs`, query: [ - ["include_counts", args["include_counts"], true], + ["include_counts", param(args, "query", "include_counts"), true], ], }), }, { - name: "stream_live_inputs_rotate_keys", + name: "stream_liveInputs_rotateKeys", title: "Rotate keys for a live input", description: "Rotates the credentials for a live input without changing its identifier. Old credentials are revoked, broadcasts using stale credentials are automatically disconnected shortly after rotation, and the response returns refreshed credentials.\n\nConfirm with the user before calling this tool. Rotate keys for this live input? Active broadcasts will be terminated. New broadcasts cannot start with outdated credentials.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + } + }, + "required": [ + "account_id", + "live_input_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier" + "path" ], $defs: { - "stream_identifier-2": stream_identifier_2, - "stream_live_input_identifier": stream_live_input_identifier, + "stream_identifier-2": stream_identifier$$2, + "stream_live_input_identifier": stream_live_input_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -870,47 +936,47 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ @@ -918,35 +984,75 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_live_inputs_update", + name: "stream_liveInputs_update", title: "Update a live input", description: "Updates a specified live input.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/stream_update_input_request" }, - "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "live_input_identifier": { + "$ref": "#/$defs/stream_live_input_identifier", + "description": "A unique identifier for a live input." + } + }, + "required": [ + "account_id", + "live_input_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "live_input_identifier", + "path", "body" ], $defs: { - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, "stream_live_input_default_creator": stream_live_input_default_creator, + "stream_live_input_enabled": stream_live_input_enabled$, + "stream_live_input_identifier": stream_live_input_identifier$, + "stream_live_input_metadata": stream_live_input_metadata$, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency$, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins$, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion$, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount$, + "stream_live_input_recording_mode": stream_live_input_recording_mode$, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs$, + "stream_live_input_recording_settings": stream_live_input_recording_settings$, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds$, + "stream_update_input_request": stream_update_input_request, + }, + }, + outputSchema: { + "$ref": "#/$defs/stream_live_input_response_single", + $defs: { + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, "stream_live_input_enabled": stream_live_input_enabled, "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, "stream_live_input_recording_deletion": stream_live_input_recording_deletion, @@ -955,52 +1061,20 @@ export const tools: readonly Tool[] = [ "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, - "stream_update_input_request": stream_update_input_request, - }, - }, - outputSchema: { - "$ref": "#/$defs/stream_live_input_response_single", - $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -1027,47 +1101,47 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_input_rtmps": stream_input_rtmps_output, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key_output, - "stream_input_rtmps_url": stream_input_rtmps_url_output, - "stream_input_srt": stream_input_srt_output, - "stream_input_srt_stream_id": stream_input_srt_stream_id_output, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase_output, - "stream_input_srt_url": stream_input_srt_url_output, - "stream_input_webrtc": stream_input_webrtc_output, - "stream_input_webrtc_url": stream_input_webrtc_url_output, - "stream_live_input": stream_live_input_output, - "stream_live_input_created": stream_live_input_created_output, - "stream_live_input_enabled": stream_live_input_enabled_output, - "stream_live_input_identifier": stream_live_input_identifier_output, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at_output, - "stream_live_input_metadata": stream_live_input_metadata_output, - "stream_live_input_modified": stream_live_input_modified_output, - "stream_live_input_playback": stream_live_input_playback_output, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency_output, - "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins_output, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion_output, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount_output, - "stream_live_input_recording_mode": stream_live_input_recording_mode_output, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs_output, - "stream_live_input_recording_settings": stream_live_input_recording_settings_output, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds_output, - "stream_live_input_response_single": stream_live_input_response_single_output, - "stream_live_input_status": stream_live_input_status_output, - "stream_messages": stream_messages_output, - "stream_playback_dash_url": stream_playback_dash_url_output, - "stream_playback_hls_url": stream_playback_hls_url_output, - "stream_playback_rtmps": stream_playback_rtmps_output, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key_output, - "stream_playback_rtmps_url": stream_playback_rtmps_url_output, - "stream_playback_srt": stream_playback_srt_output, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id_output, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase_output, - "stream_playback_srt_url": stream_playback_srt_url_output, - "stream_playback_webrtc": stream_playback_webrtc_output, - "stream_playback_webrtc_url": stream_playback_webrtc_url_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_input_rtmps": stream_input_rtmps, + "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, + "stream_input_rtmps_url": stream_input_rtmps_url, + "stream_input_srt": stream_input_srt, + "stream_input_srt_stream_id": stream_input_srt_stream_id, + "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, + "stream_input_srt_url": stream_input_srt_url, + "stream_input_webrtc": stream_input_webrtc, + "stream_input_webrtc_url": stream_input_webrtc_url, + "stream_live_input": stream_live_input, + "stream_live_input_created": stream_live_input_created, + "stream_live_input_enabled": stream_live_input_enabled, + "stream_live_input_identifier": stream_live_input_identifier, + "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, + "stream_live_input_metadata": stream_live_input_metadata, + "stream_live_input_modified": stream_live_input_modified, + "stream_live_input_playback": stream_live_input_playback, + "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, + "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, + "stream_live_input_recording_deletion": stream_live_input_recording_deletion, + "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, + "stream_live_input_recording_mode": stream_live_input_recording_mode, + "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, + "stream_live_input_recording_settings": stream_live_input_recording_settings, + "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, + "stream_live_input_response_single": stream_live_input_response_single, + "stream_live_input_status": stream_live_input_status, + "stream_messages": stream_messages, + "stream_playback_dash_url": stream_playback_dash_url, + "stream_playback_hls_url": stream_playback_hls_url, + "stream_playback_rtmps": stream_playback_rtmps, + "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, + "stream_playback_rtmps_url": stream_playback_rtmps_url, + "stream_playback_srt": stream_playback_srt, + "stream_playback_srt_stream_id": stream_playback_srt_stream_id, + "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, + "stream_playback_srt_url": stream_playback_srt_url, + "stream_playback_webrtc": stream_playback_webrtc, + "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/outputs.ts b/src/generated/forge-mcp/stream/outputs.ts index a44c381ec..4c8eb33d3 100644 --- a/src/generated/forge-mcp/stream/outputs.ts +++ b/src/generated/forge-mcp/stream/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `stream_api-response-common` in responses. */ -export const stream_api_response_common_output: JsonSchema = { +export const stream_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/stream_messages" @@ -32,7 +32,7 @@ export const stream_api_response_common_output: JsonSchema = { /** * The schema of `stream_api-response-common-failure` in responses. */ -export const stream_api_response_common_failure_output: JsonSchema = { +export const stream_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/stream_messages" @@ -62,7 +62,7 @@ export const stream_api_response_common_failure_output: JsonSchema = { /** * The schema of `stream_api-response-single` in responses. */ -export const stream_api_response_single_output: JsonSchema = { +export const stream_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/stream_messages" @@ -88,14 +88,14 @@ export const stream_api_response_single_output: JsonSchema = { /** * The schema of `stream_creator` in responses. */ -export const stream_creator_output: JsonSchema = { +export const stream_creator: JsonSchema = { "type": "string" }; /** * The schema of `stream_deleted_response` in responses. */ -export const stream_deleted_response_output: JsonSchema = { +export const stream_deleted_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" @@ -114,28 +114,28 @@ export const stream_deleted_response_output: JsonSchema = { /** * The schema of `stream_downloadedFrom` in responses. */ -export const stream_downloadedFrom_output: JsonSchema = { +export const stream_downloadedFrom: JsonSchema = { "type": "string" }; /** * The schema of `stream_height` in responses. */ -export const stream_height_output: JsonSchema = { +export const stream_height: JsonSchema = { "type": "integer" }; /** * The schema of `stream_identifier-2` in responses. */ -export const stream_identifier_2_output: JsonSchema = { +export const stream_identifier$$2: JsonSchema = { "type": "string" }; /** * The schema of `stream_messages` in responses. */ -export const stream_messages_output: JsonSchema = { +export const stream_messages: JsonSchema = { "items": { "properties": { "code": { @@ -168,42 +168,42 @@ export const stream_messages_output: JsonSchema = { /** * The schema of `stream_name` in responses. */ -export const stream_name_output: JsonSchema = { +export const stream_name: JsonSchema = { "type": "string" }; /** * The schema of `stream_opacity` in responses. */ -export const stream_opacity_output: JsonSchema = { +export const stream_opacity: JsonSchema = { "type": "number" }; /** * The schema of `stream_padding` in responses. */ -export const stream_padding_output: JsonSchema = { +export const stream_padding: JsonSchema = { "type": "number" }; /** * The schema of `stream_position` in responses. */ -export const stream_position_output: JsonSchema = { +export const stream_position: JsonSchema = { "type": "string" }; /** * The schema of `stream_scale` in responses. */ -export const stream_scale_output: JsonSchema = { +export const stream_scale: JsonSchema = { "type": "number" }; /** * The schema of `stream_storage_use_response` in responses. */ -export const stream_storage_use_response_output: JsonSchema = { +export const stream_storage_use_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" @@ -236,7 +236,7 @@ export const stream_storage_use_response_output: JsonSchema = { /** * The schema of `stream_watermark_created` in responses. */ -export const stream_watermark_created_output: JsonSchema = { +export const stream_watermark_created: JsonSchema = { "format": "date-time", "type": "string" }; @@ -244,21 +244,21 @@ export const stream_watermark_created_output: JsonSchema = { /** * The schema of `stream_watermark_identifier` in responses. */ -export const stream_watermark_identifier_output: JsonSchema = { +export const stream_watermark_identifier: JsonSchema = { "type": "string" }; /** * The schema of `stream_watermark_size` in responses. */ -export const stream_watermark_size_output: JsonSchema = { +export const stream_watermark_size: JsonSchema = { "type": "number" }; /** * The schema of `stream_watermarks` in responses. */ -export const stream_watermarks_output: JsonSchema = { +export const stream_watermarks: JsonSchema = { "properties": { "created": { "$ref": "#/$defs/stream_watermark_created" @@ -300,6 +300,6 @@ export const stream_watermarks_output: JsonSchema = { /** * The schema of `stream_width` in responses. */ -export const stream_width_output: JsonSchema = { +export const stream_width: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/stream/schemas.ts b/src/generated/forge-mcp/stream/schemas.ts index 5d3c5d31e..87db38879 100644 --- a/src/generated/forge-mcp/stream/schemas.ts +++ b/src/generated/forge-mcp/stream/schemas.ts @@ -22,7 +22,7 @@ export const stream_creator: JsonSchema = { /** * The schema of `stream_identifier-2`. */ -export const stream_identifier_2: JsonSchema = { +export const stream_identifier$$2: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/stream/tools.ts b/src/generated/forge-mcp/stream/tools.ts index 728a0b454..210c49c20 100644 --- a/src/generated/forge-mcp/stream/tools.ts +++ b/src/generated/forge-mcp/stream/tools.ts @@ -1,51 +1,67 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_single_output, - stream_creator_output, - stream_messages_output, - stream_storage_use_response_output, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_creator, + stream_messages, + stream_storage_use_response, } from "./outputs.js"; -import { stream_account_identifier, stream_creator } from "./schemas.js"; +import { + stream_account_identifier, + stream_creator as stream_creator$, +} from "./schemas.js"; /** * The tools of `stream`. */ export const tools: readonly Tool[] = [ { - name: "stream_storage_usage", + name: "stream_storageUsage", title: "Storage use", description: "Returns information about an account's storage use.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "query": { + "properties": { + "creator": { + "$ref": "#/$defs/stream_creator", + "description": "A user-defined identifier for the media creator." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_creator": stream_creator, + "stream_creator": stream_creator$, }, }, outputSchema: { "$ref": "#/$defs/stream_storage_use_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_creator": stream_creator_output, - "stream_messages": stream_messages_output, - "stream_storage_use_response": stream_storage_use_response_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_creator": stream_creator, + "stream_messages": stream_messages, + "stream_storage_use_response": stream_storage_use_response, }, }, annotations: { @@ -73,17 +89,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_creator": stream_creator_output, - "stream_messages": stream_messages_output, - "stream_storage_use_response": stream_storage_use_response_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_creator": stream_creator, + "stream_messages": stream_messages, + "stream_storage_use_response": stream_storage_use_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/storage-usage`, query: [ - ["creator", args["creator"], true], + ["creator", param(args, "query", "creator"), true], ], }), }, diff --git a/src/generated/forge-mcp/stream/usage/tools.ts b/src/generated/forge-mcp/stream/usage/tools.ts index ae93ec86e..a97605287 100644 --- a/src/generated/forge-mcp/stream/usage/tools.ts +++ b/src/generated/forge-mcp/stream/usage/tools.ts @@ -1,15 +1,15 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - usage_analytics_api_error_output, - usage_analytics_api_message_output, - usage_analytics_error_response_output, - usage_analytics_stream_usage_data_point_output, - usage_analytics_stream_usage_response_output, + usage$$analytics_api_error, + usage$$analytics_api_message, + usage$$analytics_error_response, + usage$$analytics_stream_usage_data_point, + usage$$analytics_stream_usage_response, } from "../../outputs.js"; -import { usage_analytics_identifier } from "../../schemas.js"; +import { usage$$analytics_identifier } from "../../schemas.js"; /** * The tools of `stream.usage`. @@ -22,70 +22,83 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/usage-analytics_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" + "type": "object" }, - "account_or_zone_id": { - "$ref": "#/$defs/usage-analytics_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "filters": { - "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.\n", - "type": "string" - }, - "limit": { - "default": 100, - "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.\n", - "type": "integer" - }, - "metrics": { - "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.\n", - "type": "string" - }, - "since": { - "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.\n", - "format": "date-time", - "type": "string" - }, - "time_delta": { - "default": "hour", - "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.\n", - "enum": [ - "hour", - "day", - "week", - "month", - "quarter", - "year" - ], - "type": "string" - }, - "until": { - "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.\n", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "filters": { + "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.\n", + "type": "string" + }, + "limit": { + "default": 100, + "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.\n", + "type": "integer" + }, + "metrics": { + "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.\n", + "type": "string" + }, + "since": { + "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.\n", + "format": "date-time", + "type": "string" + }, + "time_delta": { + "default": "hour", + "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.\n", + "enum": [ + "hour", + "day", + "week", + "month", + "quarter", + "year" + ], + "type": "string" + }, + "until": { + "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.\n", + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "usage-analytics_identifier": usage_analytics_identifier, + "usage-analytics_identifier": usage$$analytics_identifier, }, }, outputSchema: { "$ref": "#/$defs/usage-analytics_stream_usage_response", $defs: { - "usage-analytics_api_error": usage_analytics_api_error_output, - "usage-analytics_api_message": usage_analytics_api_message_output, - "usage-analytics_stream_usage_data_point": usage_analytics_stream_usage_data_point_output, - "usage-analytics_stream_usage_response": usage_analytics_stream_usage_response_output, + "usage-analytics_api_error": usage$$analytics_api_error, + "usage-analytics_api_message": usage$$analytics_api_message, + "usage-analytics_stream_usage_data_point": usage$$analytics_stream_usage_data_point, + "usage-analytics_stream_usage_response": usage$$analytics_stream_usage_response, }, }, annotations: { @@ -118,22 +131,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "usage-analytics_api_error": usage_analytics_api_error_output, - "usage-analytics_api_message": usage_analytics_api_message_output, - "usage-analytics_error_response": usage_analytics_error_response_output, - "usage-analytics_stream_usage_data_point": usage_analytics_stream_usage_data_point_output, - "usage-analytics_stream_usage_response": usage_analytics_stream_usage_response_output, + "usage-analytics_api_error": usage$$analytics_api_error, + "usage-analytics_api_message": usage$$analytics_api_message, + "usage-analytics_error_response": usage$$analytics_error_response, + "usage-analytics_stream_usage_data_point": usage$$analytics_stream_usage_data_point, + "usage-analytics_stream_usage_response": usage$$analytics_stream_usage_response, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/stream/usage`, query: [ - ["metrics", args["metrics"], true], - ["since", args["since"], true], - ["until", args["until"], true], - ["time_delta", args["time_delta"], true], - ["limit", args["limit"], true], - ["filters", args["filters"], true], + ["metrics", param(args, "query", "metrics"), true], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], + ["time_delta", param(args, "query", "time_delta"), true], + ["limit", param(args, "query", "limit"), true], + ["filters", param(args, "query", "filters"), true], ], }), }, diff --git a/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts b/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts index 627c6c4fc..2acdd0e2e 100644 --- a/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `stream_addAudioTrackResponse` in responses. */ -export const stream_addAudioTrackResponse_output: JsonSchema = { +export const stream_addAudioTrackResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-common" @@ -25,7 +25,7 @@ export const stream_addAudioTrackResponse_output: JsonSchema = { /** * The schema of `stream_additionalAudio` in responses. */ -export const stream_additionalAudio_output: JsonSchema = { +export const stream_additionalAudio: JsonSchema = { "properties": { "default": { "$ref": "#/$defs/stream_audio_default" @@ -46,21 +46,21 @@ export const stream_additionalAudio_output: JsonSchema = { /** * The schema of `stream_audio_default` in responses. */ -export const stream_audio_default_output: JsonSchema = { +export const stream_audio_default: JsonSchema = { "type": "boolean" }; /** * The schema of `stream_audio_label` in responses. */ -export const stream_audio_label_output: JsonSchema = { +export const stream_audio_label: JsonSchema = { "type": "string" }; /** * The schema of `stream_audio_state` in responses. */ -export const stream_audio_state_output: JsonSchema = { +export const stream_audio_state: JsonSchema = { "enum": [ "queued", "ready", @@ -72,7 +72,7 @@ export const stream_audio_state_output: JsonSchema = { /** * The schema of `stream_listAudioTrackResponse` in responses. */ -export const stream_listAudioTrackResponse_output: JsonSchema = { +export const stream_listAudioTrackResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-common" diff --git a/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts b/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts index 0c26d3452..fe453a809 100644 --- a/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts +++ b/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts @@ -3,77 +3,85 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_common_output, - stream_api_response_single_output, - stream_deleted_response_output, - stream_messages_output, + stream_api$$response$$common, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_deleted_response, + stream_messages, } from "../../outputs.js"; import { stream_account_identifier } from "../../schemas.js"; -import { stream_identifier_output } from "../outputs.js"; -import { stream_identifier } from "../schemas.js"; +import { stream_identifier } from "../outputs.js"; +import { stream_identifier as stream_identifier$ } from "../schemas.js"; import { - stream_addAudioTrackResponse_output, - stream_additionalAudio_output, - stream_audio_default_output, - stream_audio_label_output, - stream_audio_state_output, - stream_listAudioTrackResponse_output, + stream_addAudioTrackResponse, + stream_additionalAudio, + stream_audio_default, + stream_audio_label, + stream_audio_state, + stream_listAudioTrackResponse, } from "./outputs.js"; import { - stream_audio_default, + stream_audio_default as stream_audio_default$, stream_audio_identifier, - stream_audio_label, + stream_audio_label as stream_audio_label$, stream_copyAudioTrack, stream_editAudioTrack, } from "./schemas.js"; /** - * The tools of `stream.videos.audio_tracks`. + * The tools of `stream.videos.audioTracks`. */ export const tools: readonly Tool[] = [ { - name: "stream_videos_audio_tracks_copy", + name: "stream_videos_audioTracks_copy", title: "Add audio tracks to a video", description: "Adds an additional audio track to a video using the provided audio track URL.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/stream_copyAudioTrack" }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", + "path", "body" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_audio_label": stream_audio_label, + "stream_audio_label": stream_audio_label$, "stream_copyAudioTrack": stream_copyAudioTrack, - "stream_identifier": stream_identifier, + "stream_identifier": stream_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_addAudioTrackResponse", $defs: { - "stream_addAudioTrackResponse": stream_addAudioTrackResponse_output, - "stream_additionalAudio": stream_additionalAudio_output, - "stream_api-response-common": stream_api_response_common_output, - "stream_audio_default": stream_audio_default_output, - "stream_audio_label": stream_audio_label_output, - "stream_audio_state": stream_audio_state_output, - "stream_identifier": stream_identifier_output, - "stream_messages": stream_messages_output, + "stream_addAudioTrackResponse": stream_addAudioTrackResponse, + "stream_additionalAudio": stream_additionalAudio, + "stream_api-response-common": stream_api$$response$$common, + "stream_audio_default": stream_audio_default, + "stream_audio_label": stream_audio_label, + "stream_audio_state": stream_audio_state, + "stream_identifier": stream_identifier, + "stream_messages": stream_messages, }, }, annotations: { @@ -95,15 +103,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_addAudioTrackResponse": stream_addAudioTrackResponse_output, - "stream_additionalAudio": stream_additionalAudio_output, - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_audio_default": stream_audio_default_output, - "stream_audio_label": stream_audio_label_output, - "stream_audio_state": stream_audio_state_output, - "stream_identifier": stream_identifier_output, - "stream_messages": stream_messages_output, + "stream_addAudioTrackResponse": stream_addAudioTrackResponse, + "stream_additionalAudio": stream_additionalAudio, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_audio_default": stream_audio_default, + "stream_audio_label": stream_audio_label, + "stream_audio_state": stream_audio_state, + "stream_identifier": stream_identifier, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -112,42 +120,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_videos_audio_tracks_delete", + name: "stream_videos_audioTracks_delete", title: "Delete additional audio tracks on a video", description: "Deletes additional audio tracks on a video. Deleting a default audio track is not allowed. You must assign another audio track as default prior to deletion.\n\nConfirm with the user before calling this tool. Permanently delete this audio track?", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "audio_identifier": { - "$ref": "#/$defs/stream_audio_identifier", - "description": "The unique identifier for an additional audio track." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "audio_identifier": { + "$ref": "#/$defs/stream_audio_identifier", + "description": "The unique identifier for an additional audio track." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier", + "audio_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", - "audio_identifier" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, "stream_audio_identifier": stream_audio_identifier, - "stream_identifier": stream_identifier, + "stream_identifier": stream_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_deleted_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, annotations: { @@ -174,9 +190,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -184,54 +200,62 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_videos_audio_tracks_edit", + name: "stream_videos_audioTracks_edit", title: "Edit additional audio tracks on a video", description: "Edits additional audio tracks on a video. Editing the default status of an audio track to `true` will mark all other audio tracks on the video default status to `false`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "audio_identifier": { - "$ref": "#/$defs/stream_audio_identifier", - "description": "The unique identifier for an additional audio track." - }, "body": { "$ref": "#/$defs/stream_editAudioTrack" }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "audio_identifier": { + "$ref": "#/$defs/stream_audio_identifier", + "description": "The unique identifier for an additional audio track." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier", + "audio_identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", - "audio_identifier", + "path", "body" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_audio_default": stream_audio_default, + "stream_audio_default": stream_audio_default$, "stream_audio_identifier": stream_audio_identifier, - "stream_audio_label": stream_audio_label, + "stream_audio_label": stream_audio_label$, "stream_editAudioTrack": stream_editAudioTrack, - "stream_identifier": stream_identifier, + "stream_identifier": stream_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_addAudioTrackResponse", $defs: { - "stream_addAudioTrackResponse": stream_addAudioTrackResponse_output, - "stream_additionalAudio": stream_additionalAudio_output, - "stream_api-response-common": stream_api_response_common_output, - "stream_audio_default": stream_audio_default_output, - "stream_audio_label": stream_audio_label_output, - "stream_audio_state": stream_audio_state_output, - "stream_identifier": stream_identifier_output, - "stream_messages": stream_messages_output, + "stream_addAudioTrackResponse": stream_addAudioTrackResponse, + "stream_additionalAudio": stream_additionalAudio, + "stream_api-response-common": stream_api$$response$$common, + "stream_audio_default": stream_audio_default, + "stream_audio_label": stream_audio_label, + "stream_audio_state": stream_audio_state, + "stream_identifier": stream_identifier, + "stream_messages": stream_messages, }, }, annotations: { @@ -258,15 +282,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_addAudioTrackResponse": stream_addAudioTrackResponse_output, - "stream_additionalAudio": stream_additionalAudio_output, - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_audio_default": stream_audio_default_output, - "stream_audio_label": stream_audio_label_output, - "stream_audio_state": stream_audio_state_output, - "stream_identifier": stream_identifier_output, - "stream_messages": stream_messages_output, + "stream_addAudioTrackResponse": stream_addAudioTrackResponse, + "stream_additionalAudio": stream_additionalAudio, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_audio_default": stream_audio_default, + "stream_audio_label": stream_audio_label, + "stream_audio_state": stream_audio_state, + "stream_identifier": stream_identifier, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -275,41 +299,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_videos_audio_tracks_list", + name: "stream_videos_audioTracks_list", title: "List additional audio tracks on a video", description: "Lists additional audio tracks on a video. Note this API will not return information for audio attached to the video upload.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_identifier": stream_identifier, + "stream_identifier": stream_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_listAudioTrackResponse", $defs: { - "stream_additionalAudio": stream_additionalAudio_output, - "stream_api-response-common": stream_api_response_common_output, - "stream_audio_default": stream_audio_default_output, - "stream_audio_label": stream_audio_label_output, - "stream_audio_state": stream_audio_state_output, - "stream_identifier": stream_identifier_output, - "stream_listAudioTrackResponse": stream_listAudioTrackResponse_output, - "stream_messages": stream_messages_output, + "stream_additionalAudio": stream_additionalAudio, + "stream_api-response-common": stream_api$$response$$common, + "stream_audio_default": stream_audio_default, + "stream_audio_label": stream_audio_label, + "stream_audio_state": stream_audio_state, + "stream_identifier": stream_identifier, + "stream_listAudioTrackResponse": stream_listAudioTrackResponse, + "stream_messages": stream_messages, }, }, annotations: { @@ -337,15 +369,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_additionalAudio": stream_additionalAudio_output, - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_audio_default": stream_audio_default_output, - "stream_audio_label": stream_audio_label_output, - "stream_audio_state": stream_audio_state_output, - "stream_identifier": stream_identifier_output, - "stream_listAudioTrackResponse": stream_listAudioTrackResponse_output, - "stream_messages": stream_messages_output, + "stream_additionalAudio": stream_additionalAudio, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_audio_default": stream_audio_default, + "stream_audio_label": stream_audio_label, + "stream_audio_state": stream_audio_state, + "stream_identifier": stream_identifier, + "stream_listAudioTrackResponse": stream_listAudioTrackResponse, + "stream_messages": stream_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/videos/captions/language/outputs.ts b/src/generated/forge-mcp/stream/videos/captions/language/outputs.ts index 372442a9e..bc71b0d11 100644 --- a/src/generated/forge-mcp/stream/videos/captions/language/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/captions/language/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `stream_language_response_single` in responses. */ -export const stream_language_response_single_output: JsonSchema = { +export const stream_language_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" diff --git a/src/generated/forge-mcp/stream/videos/captions/language/tools.ts b/src/generated/forge-mcp/stream/videos/captions/language/tools.ts index f7524df6e..d1da360e0 100644 --- a/src/generated/forge-mcp/stream/videos/captions/language/tools.ts +++ b/src/generated/forge-mcp/stream/videos/captions/language/tools.ts @@ -3,22 +3,22 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_common_output, - stream_api_response_single_output, - stream_messages_output, + stream_api$$response$$common, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_messages, } from "../../../outputs.js"; -import { stream_identifier_2 } from "../../../schemas.js"; +import { stream_identifier$$2 } from "../../../schemas.js"; import { stream_identifier } from "../../schemas.js"; import { - stream_caption_status_output, - stream_captions_output, - stream_generated_caption_output, - stream_label_output, - stream_language_output, + stream_caption_status, + stream_captions, + stream_generated_caption, + stream_label, + stream_language, } from "../outputs.js"; -import { stream_language } from "../schemas.js"; -import { stream_language_response_single_output } from "./outputs.js"; +import { stream_language as stream_language$ } from "../schemas.js"; +import { stream_language_response_single } from "./outputs.js"; /** * The tools of `stream.videos.captions.language`. @@ -31,28 +31,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." - }, - "language": { - "$ref": "#/$defs/stream_language", - "description": "The language tag in BCP 47 format." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + }, + "language": { + "$ref": "#/$defs/stream_language", + "description": "The language tag in BCP 47 format." + } + }, + "required": [ + "account_id", + "identifier", + "language" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", - "language" + "path" ], $defs: { "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, - "stream_language": stream_language, + "stream_identifier-2": stream_identifier$$2, + "stream_language": stream_language$, }, }, outputSchema: { @@ -70,8 +78,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_messages": stream_messages_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_messages": stream_messages, }, }, annotations: { @@ -110,9 +118,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_messages": stream_messages_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -126,41 +134,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." - }, - "language": { - "$ref": "#/$defs/stream_language", - "description": "The language tag in BCP 47 format." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + }, + "language": { + "$ref": "#/$defs/stream_language", + "description": "The language tag in BCP 47 format." + } + }, + "required": [ + "account_id", + "identifier", + "language" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", - "language" + "path" ], $defs: { "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, - "stream_language": stream_language, + "stream_identifier-2": stream_identifier$$2, + "stream_language": stream_language$, }, }, outputSchema: { "$ref": "#/$defs/stream_language_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_caption_status": stream_caption_status_output, - "stream_captions": stream_captions_output, - "stream_generated_caption": stream_generated_caption_output, - "stream_label": stream_label_output, - "stream_language": stream_language_output, - "stream_language_response_single": stream_language_response_single_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_caption_status": stream_caption_status, + "stream_captions": stream_captions, + "stream_generated_caption": stream_generated_caption, + "stream_label": stream_label, + "stream_language": stream_language, + "stream_language_response_single": stream_language_response_single, + "stream_messages": stream_messages, }, }, annotations: { @@ -182,15 +198,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_caption_status": stream_caption_status_output, - "stream_captions": stream_captions_output, - "stream_generated_caption": stream_generated_caption_output, - "stream_label": stream_label_output, - "stream_language": stream_language_output, - "stream_language_response_single": stream_language_response_single_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_caption_status": stream_caption_status, + "stream_captions": stream_captions, + "stream_generated_caption": stream_generated_caption, + "stream_label": stream_label, + "stream_language": stream_language, + "stream_language_response_single": stream_language_response_single, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -204,41 +220,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." - }, - "language": { - "$ref": "#/$defs/stream_language", - "description": "The language tag in BCP 47 format." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + }, + "language": { + "$ref": "#/$defs/stream_language", + "description": "The language tag in BCP 47 format." + } + }, + "required": [ + "account_id", + "identifier", + "language" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", - "language" + "path" ], $defs: { "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, - "stream_language": stream_language, + "stream_identifier-2": stream_identifier$$2, + "stream_language": stream_language$, }, }, outputSchema: { "$ref": "#/$defs/stream_language_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_caption_status": stream_caption_status_output, - "stream_captions": stream_captions_output, - "stream_generated_caption": stream_generated_caption_output, - "stream_label": stream_label_output, - "stream_language": stream_language_output, - "stream_language_response_single": stream_language_response_single_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_caption_status": stream_caption_status, + "stream_captions": stream_captions, + "stream_generated_caption": stream_generated_caption, + "stream_label": stream_label, + "stream_language": stream_language, + "stream_language_response_single": stream_language_response_single, + "stream_messages": stream_messages, }, }, annotations: { @@ -266,15 +290,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_caption_status": stream_caption_status_output, - "stream_captions": stream_captions_output, - "stream_generated_caption": stream_generated_caption_output, - "stream_label": stream_label_output, - "stream_language": stream_language_output, - "stream_language_response_single": stream_language_response_single_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_caption_status": stream_caption_status, + "stream_captions": stream_captions, + "stream_generated_caption": stream_generated_caption, + "stream_label": stream_label, + "stream_language": stream_language, + "stream_language_response_single": stream_language_response_single, + "stream_messages": stream_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts b/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts index fa95c6e1c..8005cd687 100644 --- a/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts +++ b/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts @@ -3,10 +3,10 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_messages_output, + stream_api$$response$$common$$failure, + stream_messages, } from "../../../../outputs.js"; -import { stream_identifier_2 } from "../../../../schemas.js"; +import { stream_identifier$$2 } from "../../../../schemas.js"; import { stream_identifier } from "../../../schemas.js"; import { stream_language } from "../../schemas.js"; @@ -21,27 +21,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." - }, - "language": { - "$ref": "#/$defs/stream_language", - "description": "The language tag in BCP 47 format." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + }, + "language": { + "$ref": "#/$defs/stream_language", + "description": "The language tag in BCP 47 format." + } + }, + "required": [ + "account_id", + "identifier", + "language" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", - "language" + "path" ], $defs: { "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, "stream_language": stream_language, }, }, @@ -68,8 +76,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_messages": stream_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/videos/captions/outputs.ts b/src/generated/forge-mcp/stream/videos/captions/outputs.ts index 98a88b9e0..026754a37 100644 --- a/src/generated/forge-mcp/stream/videos/captions/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/captions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `stream_caption_status` in responses. */ -export const stream_caption_status_output: JsonSchema = { +export const stream_caption_status: JsonSchema = { "enum": [ "ready", "inprogress", @@ -18,7 +18,7 @@ export const stream_caption_status_output: JsonSchema = { /** * The schema of `stream_captions` in responses. */ -export const stream_captions_output: JsonSchema = { +export const stream_captions: JsonSchema = { "properties": { "generated": { "$ref": "#/$defs/stream_generated_caption" @@ -39,28 +39,28 @@ export const stream_captions_output: JsonSchema = { /** * The schema of `stream_generated_caption` in responses. */ -export const stream_generated_caption_output: JsonSchema = { +export const stream_generated_caption: JsonSchema = { "type": "boolean" }; /** * The schema of `stream_label` in responses. */ -export const stream_label_output: JsonSchema = { +export const stream_label: JsonSchema = { "type": "string" }; /** * The schema of `stream_language` in responses. */ -export const stream_language_output: JsonSchema = { +export const stream_language: JsonSchema = { "type": "string" }; /** * The schema of `stream_language_response_collection` in responses. */ -export const stream_language_response_collection_output: JsonSchema = { +export const stream_language_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-common" diff --git a/src/generated/forge-mcp/stream/videos/captions/tools.ts b/src/generated/forge-mcp/stream/videos/captions/tools.ts index 03ee72fcd..06d8f85bf 100644 --- a/src/generated/forge-mcp/stream/videos/captions/tools.ts +++ b/src/generated/forge-mcp/stream/videos/captions/tools.ts @@ -3,19 +3,19 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_common_output, - stream_messages_output, + stream_api$$response$$common, + stream_api$$response$$common$$failure, + stream_messages, } from "../../outputs.js"; -import { stream_identifier_2 } from "../../schemas.js"; +import { stream_identifier$$2 } from "../../schemas.js"; import { stream_identifier } from "../schemas.js"; import { - stream_caption_status_output, - stream_captions_output, - stream_generated_caption_output, - stream_label_output, - stream_language_output, - stream_language_response_collection_output, + stream_caption_status, + stream_captions, + stream_generated_caption, + stream_label, + stream_language, + stream_language_response_collection, } from "./outputs.js"; /** @@ -29,35 +29,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/stream_language_response_collection", $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_caption_status": stream_caption_status_output, - "stream_captions": stream_captions_output, - "stream_generated_caption": stream_generated_caption_output, - "stream_label": stream_label_output, - "stream_language": stream_language_output, - "stream_language_response_collection": stream_language_response_collection_output, - "stream_messages": stream_messages_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_caption_status": stream_caption_status, + "stream_captions": stream_captions, + "stream_generated_caption": stream_generated_caption, + "stream_label": stream_label, + "stream_language": stream_language, + "stream_language_response_collection": stream_language_response_collection, + "stream_messages": stream_messages, }, }, annotations: { @@ -85,15 +93,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_caption_status": stream_caption_status_output, - "stream_captions": stream_captions_output, - "stream_generated_caption": stream_generated_caption_output, - "stream_label": stream_label_output, - "stream_language": stream_language_output, - "stream_language_response_collection": stream_language_response_collection_output, - "stream_messages": stream_messages_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_caption_status": stream_caption_status, + "stream_captions": stream_captions, + "stream_generated_caption": stream_generated_caption, + "stream_label": stream_label, + "stream_language": stream_language, + "stream_language_response_collection": stream_language_response_collection, + "stream_messages": stream_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/videos/directUpload/outputs.ts b/src/generated/forge-mcp/stream/videos/directUpload/outputs.ts index 923500ef4..7eda008f3 100644 --- a/src/generated/forge-mcp/stream/videos/directUpload/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/directUpload/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `stream_direct_upload_response` in responses. */ -export const stream_direct_upload_response_output: JsonSchema = { +export const stream_direct_upload_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" diff --git a/src/generated/forge-mcp/stream/videos/directUpload/tools.ts b/src/generated/forge-mcp/stream/videos/directUpload/tools.ts index 6769511ac..49f93ef52 100644 --- a/src/generated/forge-mcp/stream/videos/directUpload/tools.ts +++ b/src/generated/forge-mcp/stream/videos/directUpload/tools.ts @@ -1,66 +1,76 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_single_output, - stream_downloadedFrom_output, - stream_height_output, - stream_messages_output, - stream_name_output, - stream_opacity_output, - stream_padding_output, - stream_position_output, - stream_scale_output, - stream_watermark_created_output, - stream_watermark_identifier_output, - stream_watermark_size_output, - stream_watermarks_output, - stream_width_output, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_downloadedFrom, + stream_height, + stream_messages, + stream_name, + stream_opacity, + stream_padding, + stream_position, + stream_scale, + stream_watermark_created, + stream_watermark_identifier, + stream_watermark_size, + stream_watermarks, + stream_width, } from "../../outputs.js"; import { stream_account_identifier, stream_creator } from "../../schemas.js"; -import { - stream_identifier_output, - stream_scheduledDeletion_output, -} from "../outputs.js"; +import { stream_identifier, stream_scheduledDeletion } from "../outputs.js"; import { stream_allowedOrigins, stream_maxDurationSeconds, stream_media_metadata, stream_requireSignedURLs, - stream_scheduledDeletion, + stream_scheduledDeletion as stream_scheduledDeletion$, stream_thumbnailTimestampPct, stream_watermark_at_upload, } from "../schemas.js"; -import { stream_direct_upload_response_output } from "./outputs.js"; +import { stream_direct_upload_response } from "./outputs.js"; import { stream_direct_upload_request } from "./schemas.js"; /** - * The tools of `stream.videos.direct_upload`. + * The tools of `stream.videos.directUpload`. */ export const tools: readonly Tool[] = [ { - name: "stream_videos_direct_upload_create", + name: "stream_videos_directUpload_create", title: "Upload videos via direct upload URLs", description: "Creates a direct upload endpoint that allows an end-user to upload a video without an API key.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/stream_direct_upload_request" }, - "upload_creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "headers": { + "properties": { + "Upload-Creator": { + "$ref": "#/$defs/stream_creator", + "description": "A user-defined identifier for the media creator." + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -71,7 +81,7 @@ export const tools: readonly Tool[] = [ "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_scheduledDeletion": stream_scheduledDeletion$, "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, "stream_watermark_at_upload": stream_watermark_at_upload, }, @@ -79,23 +89,23 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/stream_direct_upload_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_direct_upload_response": stream_direct_upload_response_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_messages": stream_messages_output, - "stream_name": stream_name_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_position": stream_position_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_direct_upload_response": stream_direct_upload_response, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_messages": stream_messages, + "stream_name": stream_name, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_position": stream_position, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, annotations: { @@ -122,30 +132,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_direct_upload_response": stream_direct_upload_response_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_messages": stream_messages_output, - "stream_name": stream_name_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_position": stream_position_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_direct_upload_response": stream_direct_upload_response, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_messages": stream_messages, + "stream_name": stream_name, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_position": stream_position, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/direct_upload`, headers: [ - ["Upload-Creator", args["upload_creator"]], + ["Upload-Creator", param(args, "headers", "Upload-Creator")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/stream/videos/downloads/tools.ts b/src/generated/forge-mcp/stream/videos/downloads/tools.ts index 9c6fcc1fe..6d8010f61 100644 --- a/src/generated/forge-mcp/stream/videos/downloads/tools.ts +++ b/src/generated/forge-mcp/stream/videos/downloads/tools.ts @@ -3,18 +3,18 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_single_output, - stream_deleted_response_output, - stream_messages_output, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_deleted_response, + stream_messages, } from "../../outputs.js"; -import { stream_identifier_2 } from "../../schemas.js"; +import { stream_identifier$$2 } from "../../schemas.js"; import { - stream_download_percent_complete_output, - stream_download_status_output, - stream_download_url_output, - stream_downloads_output, - stream_downloads_response_output, + stream_download_percent_complete, + stream_download_status, + stream_download_url, + stream_downloads, + stream_downloads_response, } from "../outputs.js"; import { stream_identifier } from "../schemas.js"; import { stream_download_type } from "./schemas.js"; @@ -30,41 +30,49 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "download_type": { - "$ref": "#/$defs/stream_download_type", - "default": "default", - "description": "The type of downloads available are: `default`, `audio`." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "download_type": { + "$ref": "#/$defs/stream_download_type", + "default": "default", + "description": "The type of downloads available are: `default`, `audio`." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier", + "download_type" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", - "download_type" + "path" ], $defs: { "stream_download_type": stream_download_type, "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/stream_downloads_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_download_percent_complete": stream_download_percent_complete_output, - "stream_download_status": stream_download_status_output, - "stream_download_url": stream_download_url_output, - "stream_downloads": stream_downloads_output, - "stream_downloads_response": stream_downloads_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_download_percent_complete": stream_download_percent_complete, + "stream_download_status": stream_download_status, + "stream_download_url": stream_download_url, + "stream_downloads": stream_downloads, + "stream_downloads_response": stream_downloads_response, + "stream_messages": stream_messages, }, }, annotations: { @@ -86,14 +94,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_download_percent_complete": stream_download_percent_complete_output, - "stream_download_status": stream_download_status_output, - "stream_download_url": stream_download_url_output, - "stream_downloads": stream_downloads_output, - "stream_downloads_response": stream_downloads_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_download_percent_complete": stream_download_percent_complete, + "stream_download_status": stream_download_status, + "stream_download_url": stream_download_url, + "stream_downloads": stream_downloads, + "stream_downloads_response": stream_downloads_response, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -107,37 +115,45 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "download_type": { - "$ref": "#/$defs/stream_download_type", - "default": "default", - "description": "The type of downloads available are: `default`, `audio`." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "download_type": { + "$ref": "#/$defs/stream_download_type", + "default": "default", + "description": "The type of downloads available are: `default`, `audio`." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier", + "download_type" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", - "download_type" + "path" ], $defs: { "stream_download_type": stream_download_type, "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/stream_deleted_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, annotations: { @@ -164,10 +180,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts b/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts index 43c0ee1ad..4b8b59585 100644 --- a/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts +++ b/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts @@ -3,60 +3,68 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_single_output, - stream_deleted_response_output, - stream_messages_output, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_deleted_response, + stream_messages, } from "../../outputs.js"; -import { stream_identifier_2 } from "../../schemas.js"; +import { stream_identifier$$2 } from "../../schemas.js"; import { - stream_download_percent_complete_output, - stream_download_status_output, - stream_download_url_output, - stream_downloads_output, - stream_downloads_response_output, + stream_download_percent_complete, + stream_download_status, + stream_download_url, + stream_downloads, + stream_downloads_response, } from "../outputs.js"; import { stream_identifier } from "../schemas.js"; /** - * The tools of `stream.videos.downloads_default`. + * The tools of `stream.videos.downloadsDefault`. */ export const tools: readonly Tool[] = [ { - name: "stream_videos_downloads_default_create", + name: "stream_videos_downloadsDefault_create", title: "Create downloads", description: "Creates a download for a video when a video is ready to view. Use `/downloads/{download_type}` instead for type-specific downloads. Available types are `default` and `audio`.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/stream_downloads_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_download_percent_complete": stream_download_percent_complete_output, - "stream_download_status": stream_download_status_output, - "stream_download_url": stream_download_url_output, - "stream_downloads": stream_downloads_output, - "stream_downloads_response": stream_downloads_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_download_percent_complete": stream_download_percent_complete, + "stream_download_status": stream_download_status, + "stream_download_url": stream_download_url, + "stream_downloads": stream_downloads, + "stream_downloads_response": stream_downloads_response, + "stream_messages": stream_messages, }, }, annotations: { @@ -78,14 +86,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_download_percent_complete": stream_download_percent_complete_output, - "stream_download_status": stream_download_status_output, - "stream_download_url": stream_download_url_output, - "stream_downloads": stream_downloads_output, - "stream_downloads_response": stream_downloads_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_download_percent_complete": stream_download_percent_complete, + "stream_download_status": stream_download_status, + "stream_download_url": stream_download_url, + "stream_downloads": stream_downloads, + "stream_downloads_response": stream_downloads_response, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -93,36 +101,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_videos_downloads_default_delete", + name: "stream_videos_downloadsDefault_delete", title: "Delete downloads", description: "Delete the downloads for a video. Use `/downloads/{download_type}` instead for type-specific downloads. Available types are `default` and `audio`.\n\nThis method is deprecated.\n\nConfirm with the user before calling this tool. Remove this default download? It will need to be regenerated for future use.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/stream_deleted_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, annotations: { @@ -149,10 +165,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -160,40 +176,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "stream_videos_downloads_default_list", + name: "stream_videos_downloadsDefault_list", title: "List downloads", description: "Lists the downloads created for a video.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_identifier-2", + "description": "Identifier." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier_2, + "stream_identifier-2": stream_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/stream_downloads_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_download_percent_complete": stream_download_percent_complete_output, - "stream_download_status": stream_download_status_output, - "stream_download_url": stream_download_url_output, - "stream_downloads": stream_downloads_output, - "stream_downloads_response": stream_downloads_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_download_percent_complete": stream_download_percent_complete, + "stream_download_status": stream_download_status, + "stream_download_url": stream_download_url, + "stream_downloads": stream_downloads, + "stream_downloads_response": stream_downloads_response, + "stream_messages": stream_messages, }, }, annotations: { @@ -221,14 +245,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_download_percent_complete": stream_download_percent_complete_output, - "stream_download_status": stream_download_status_output, - "stream_download_url": stream_download_url_output, - "stream_downloads": stream_downloads_output, - "stream_downloads_response": stream_downloads_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_download_percent_complete": stream_download_percent_complete, + "stream_download_status": stream_download_status, + "stream_download_url": stream_download_url, + "stream_downloads": stream_downloads, + "stream_downloads_response": stream_downloads_response, + "stream_messages": stream_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/videos/outputs.ts b/src/generated/forge-mcp/stream/videos/outputs.ts index 9357fb2b7..661db55f4 100644 --- a/src/generated/forge-mcp/stream/videos/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `stream_allowedOrigins` in responses. */ -export const stream_allowedOrigins_output: JsonSchema = { +export const stream_allowedOrigins: JsonSchema = { "items": { "type": "string" }, @@ -16,7 +16,7 @@ export const stream_allowedOrigins_output: JsonSchema = { /** * The schema of `stream_clipResponseSingle` in responses. */ -export const stream_clipResponseSingle_output: JsonSchema = { +export const stream_clipResponseSingle: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" @@ -35,7 +35,7 @@ export const stream_clipResponseSingle_output: JsonSchema = { /** * The schema of `stream_created` in responses. */ -export const stream_created_output: JsonSchema = { +export const stream_created: JsonSchema = { "format": "date-time", "type": "string" }; @@ -43,14 +43,14 @@ export const stream_created_output: JsonSchema = { /** * The schema of `stream_download_percent_complete` in responses. */ -export const stream_download_percent_complete_output: JsonSchema = { +export const stream_download_percent_complete: JsonSchema = { "type": "number" }; /** * The schema of `stream_download_status` in responses. */ -export const stream_download_status_output: JsonSchema = { +export const stream_download_status: JsonSchema = { "enum": [ "ready", "inprogress", @@ -62,14 +62,14 @@ export const stream_download_status_output: JsonSchema = { /** * The schema of `stream_download_url` in responses. */ -export const stream_download_url_output: JsonSchema = { +export const stream_download_url: JsonSchema = { "type": "string" }; /** * The schema of `stream_downloads` in responses. */ -export const stream_downloads_output: JsonSchema = { +export const stream_downloads: JsonSchema = { "properties": { "percentComplete": { "$ref": "#/$defs/stream_download_percent_complete" @@ -91,7 +91,7 @@ export const stream_downloads_output: JsonSchema = { /** * The schema of `stream_downloads_response` in responses. */ -export const stream_downloads_response_output: JsonSchema = { +export const stream_downloads_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" @@ -118,35 +118,35 @@ export const stream_downloads_response_output: JsonSchema = { /** * The schema of `stream_duration` in responses. */ -export const stream_duration_output: JsonSchema = { +export const stream_duration: JsonSchema = { "type": "number" }; /** * The schema of `stream_errorReasonCode` in responses. */ -export const stream_errorReasonCode_output: JsonSchema = { +export const stream_errorReasonCode: JsonSchema = { "type": "string" }; /** * The schema of `stream_errorReasonText` in responses. */ -export const stream_errorReasonText_output: JsonSchema = { +export const stream_errorReasonText: JsonSchema = { "type": "string" }; /** * The schema of `stream_identifier` in responses. */ -export const stream_identifier_output: JsonSchema = { +export const stream_identifier: JsonSchema = { "type": "string" }; /** * The schema of `stream_input` in responses. */ -export const stream_input_output: JsonSchema = { +export const stream_input: JsonSchema = { "properties": { "height": { "type": "integer" @@ -161,28 +161,28 @@ export const stream_input_output: JsonSchema = { /** * The schema of `stream_liveInput` in responses. */ -export const stream_liveInput_output: JsonSchema = { +export const stream_liveInput: JsonSchema = { "type": "string" }; /** * The schema of `stream_maxDurationSeconds` in responses. */ -export const stream_maxDurationSeconds_output: JsonSchema = { +export const stream_maxDurationSeconds: JsonSchema = { "type": "integer" }; /** * The schema of `stream_media_metadata` in responses. */ -export const stream_media_metadata_output: JsonSchema = { +export const stream_media_metadata: JsonSchema = { "type": "object" }; /** * The schema of `stream_media_state` in responses. */ -export const stream_media_state_output: JsonSchema = { +export const stream_media_state: JsonSchema = { "enum": [ "pendingupload", "downloading", @@ -198,7 +198,7 @@ export const stream_media_state_output: JsonSchema = { /** * The schema of `stream_media_status` in responses. */ -export const stream_media_status_output: JsonSchema = { +export const stream_media_status: JsonSchema = { "properties": { "errorReasonCode": { "$ref": "#/$defs/stream_errorReasonCode" @@ -219,7 +219,7 @@ export const stream_media_status_output: JsonSchema = { /** * The schema of `stream_modified` in responses. */ -export const stream_modified_output: JsonSchema = { +export const stream_modified: JsonSchema = { "format": "date-time", "type": "string" }; @@ -227,7 +227,7 @@ export const stream_modified_output: JsonSchema = { /** * The schema of `stream_oneTimeUploadExpiry` in responses. */ -export const stream_oneTimeUploadExpiry_output: JsonSchema = { +export const stream_oneTimeUploadExpiry: JsonSchema = { "format": "date-time", "type": "string" }; @@ -235,14 +235,14 @@ export const stream_oneTimeUploadExpiry_output: JsonSchema = { /** * The schema of `stream_pctComplete` in responses. */ -export const stream_pctComplete_output: JsonSchema = { +export const stream_pctComplete: JsonSchema = { "type": "string" }; /** * The schema of `stream_playback` in responses. */ -export const stream_playback_output: JsonSchema = { +export const stream_playback: JsonSchema = { "properties": { "dash": { "type": "string" @@ -257,21 +257,21 @@ export const stream_playback_output: JsonSchema = { /** * The schema of `stream_preview` in responses. */ -export const stream_preview_output: JsonSchema = { +export const stream_preview: JsonSchema = { "type": "string" }; /** * The schema of `stream_readyToStream` in responses. */ -export const stream_readyToStream_output: JsonSchema = { +export const stream_readyToStream: JsonSchema = { "type": "boolean" }; /** * The schema of `stream_readyToStreamAt` in responses. */ -export const stream_readyToStreamAt_output: JsonSchema = { +export const stream_readyToStreamAt: JsonSchema = { "format": "date-time", "type": "string" }; @@ -279,14 +279,14 @@ export const stream_readyToStreamAt_output: JsonSchema = { /** * The schema of `stream_requireSignedURLs` in responses. */ -export const stream_requireSignedURLs_output: JsonSchema = { +export const stream_requireSignedURLs: JsonSchema = { "type": "boolean" }; /** * The schema of `stream_scheduledDeletion` in responses. */ -export const stream_scheduledDeletion_output: JsonSchema = { +export const stream_scheduledDeletion: JsonSchema = { "format": "date-time", "type": "string" }; @@ -294,28 +294,28 @@ export const stream_scheduledDeletion_output: JsonSchema = { /** * The schema of `stream_size` in responses. */ -export const stream_size_output: JsonSchema = { +export const stream_size: JsonSchema = { "type": "number" }; /** * The schema of `stream_thumbnailTimestampPct` in responses. */ -export const stream_thumbnailTimestampPct_output: JsonSchema = { +export const stream_thumbnailTimestampPct: JsonSchema = { "type": "number" }; /** * The schema of `stream_thumbnail_url` in responses. */ -export const stream_thumbnail_url_output: JsonSchema = { +export const stream_thumbnail_url: JsonSchema = { "type": "string" }; /** * The schema of `stream_uploaded` in responses. */ -export const stream_uploaded_output: JsonSchema = { +export const stream_uploaded: JsonSchema = { "format": "date-time", "type": "string" }; @@ -323,7 +323,7 @@ export const stream_uploaded_output: JsonSchema = { /** * The schema of `stream_video_response_collection` in responses. */ -export const stream_video_response_collection_output: JsonSchema = { +export const stream_video_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-common" @@ -356,7 +356,7 @@ export const stream_video_response_collection_output: JsonSchema = { /** * The schema of `stream_video_response_single` in responses. */ -export const stream_video_response_single_output: JsonSchema = { +export const stream_video_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" @@ -375,7 +375,7 @@ export const stream_video_response_single_output: JsonSchema = { /** * The schema of `stream_videos` in responses. */ -export const stream_videos_output: JsonSchema = { +export const stream_videos: JsonSchema = { "properties": { "allowedOrigins": { "$ref": "#/$defs/stream_allowedOrigins" diff --git a/src/generated/forge-mcp/stream/videos/token/outputs.ts b/src/generated/forge-mcp/stream/videos/token/outputs.ts index 246113ffe..db71db9c4 100644 --- a/src/generated/forge-mcp/stream/videos/token/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/token/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `stream_signed_token_response` in responses. */ -export const stream_signed_token_response_output: JsonSchema = { +export const stream_signed_token_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" diff --git a/src/generated/forge-mcp/stream/videos/token/tools.ts b/src/generated/forge-mcp/stream/videos/token/tools.ts index be6985aa6..160d0866b 100644 --- a/src/generated/forge-mcp/stream/videos/token/tools.ts +++ b/src/generated/forge-mcp/stream/videos/token/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_single_output, - stream_messages_output, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_messages, } from "../../outputs.js"; import { stream_account_identifier } from "../../schemas.js"; import { stream_identifier } from "../schemas.js"; -import { stream_signed_token_response_output } from "./outputs.js"; +import { stream_signed_token_response } from "./outputs.js"; import { stream_accessRules, stream_signed_token_request } from "./schemas.js"; /** @@ -23,21 +23,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/stream_signed_token_request" }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", + "path", "body" ], $defs: { @@ -50,9 +58,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/stream_signed_token_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_signed_token_response": stream_signed_token_response_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_signed_token_response": stream_signed_token_response, }, }, annotations: { @@ -74,10 +82,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_signed_token_response": stream_signed_token_response_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_signed_token_response": stream_signed_token_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/videos/tools.ts b/src/generated/forge-mcp/stream/videos/tools.ts index f9aee331b..62d867ec3 100644 --- a/src/generated/forge-mcp/stream/videos/tools.ts +++ b/src/generated/forge-mcp/stream/videos/tools.ts @@ -1,80 +1,80 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_common_output, - stream_api_response_single_output, - stream_creator_output, - stream_downloadedFrom_output, - stream_height_output, - stream_messages_output, - stream_name_output, - stream_opacity_output, - stream_padding_output, - stream_position_output, - stream_scale_output, - stream_watermark_created_output, - stream_watermark_identifier_output, - stream_watermark_size_output, - stream_watermarks_output, - stream_width_output, + stream_api$$response$$common, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_creator, + stream_downloadedFrom, + stream_height, + stream_messages, + stream_name, + stream_opacity, + stream_padding, + stream_position, + stream_scale, + stream_watermark_created, + stream_watermark_identifier, + stream_watermark_size, + stream_watermarks, + stream_width, } from "../outputs.js"; import { stream_account_identifier, - stream_creator, + stream_creator as stream_creator$, stream_include_counts, } from "../schemas.js"; -import { - stream_allowedOrigins_output, - stream_clipResponseSingle_output, - stream_created_output, - stream_duration_output, - stream_errorReasonCode_output, - stream_errorReasonText_output, - stream_identifier_output, - stream_input_output, - stream_liveInput_output, - stream_maxDurationSeconds_output, - stream_media_metadata_output, - stream_media_state_output, - stream_media_status_output, - stream_modified_output, - stream_oneTimeUploadExpiry_output, - stream_pctComplete_output, - stream_playback_output, - stream_preview_output, - stream_readyToStreamAt_output, - stream_readyToStream_output, - stream_requireSignedURLs_output, - stream_scheduledDeletion_output, - stream_size_output, - stream_thumbnailTimestampPct_output, - stream_thumbnail_url_output, - stream_uploaded_output, - stream_video_response_collection_output, - stream_video_response_single_output, - stream_videos_output, -} from "./outputs.js"; import { stream_allowedOrigins, - stream_asc, - stream_clipped_from_video_uid, - stream_direct_user, - stream_end, - stream_end_time_seconds, + stream_clipResponseSingle, + stream_created, + stream_duration, + stream_errorReasonCode, + stream_errorReasonText, stream_identifier, + stream_input, + stream_liveInput, stream_maxDurationSeconds, stream_media_metadata, stream_media_state, + stream_media_status, + stream_modified, stream_oneTimeUploadExpiry, + stream_pctComplete, + stream_playback, + stream_preview, + stream_readyToStream, + stream_readyToStreamAt, stream_requireSignedURLs, stream_scheduledDeletion, + stream_size, + stream_thumbnailTimestampPct, + stream_thumbnail_url, + stream_uploaded, + stream_video_response_collection, + stream_video_response_single, + stream_videos, +} from "./outputs.js"; +import { + stream_allowedOrigins as stream_allowedOrigins$, + stream_asc, + stream_clipped_from_video_uid, + stream_direct_user, + stream_end, + stream_end_time_seconds, + stream_identifier as stream_identifier$, + stream_maxDurationSeconds as stream_maxDurationSeconds$, + stream_media_metadata as stream_media_metadata$, + stream_media_state as stream_media_state$, + stream_oneTimeUploadExpiry as stream_oneTimeUploadExpiry$, + stream_requireSignedURLs as stream_requireSignedURLs$, + stream_scheduledDeletion as stream_scheduledDeletion$, stream_search, stream_start, stream_start_time_seconds, - stream_thumbnailTimestampPct, + stream_thumbnailTimestampPct as stream_thumbnailTimestampPct$, stream_tus_resumable, stream_type, stream_upload_length, @@ -98,29 +98,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/stream_videoClipStandard" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_allowedOrigins": stream_allowedOrigins, + "stream_allowedOrigins": stream_allowedOrigins$, "stream_clipped_from_video_uid": stream_clipped_from_video_uid, - "stream_creator": stream_creator, + "stream_creator": stream_creator$, "stream_end_time_seconds": stream_end_time_seconds, - "stream_media_metadata": stream_media_metadata, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_media_metadata": stream_media_metadata$, + "stream_requireSignedURLs": stream_requireSignedURLs$, + "stream_scheduledDeletion": stream_scheduledDeletion$, "stream_start_time_seconds": stream_start_time_seconds, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct$, "stream_videoClipStandard": stream_videoClipStandard, "stream_watermarkAtUpload": stream_watermarkAtUpload, }, @@ -128,48 +136,48 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/stream_clipResponseSingle", $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_clipResponseSingle": stream_clipResponseSingle_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-single": stream_api$$response$$single, + "stream_clipResponseSingle": stream_clipResponseSingle, + "stream_created": stream_created, + "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, + "stream_maxDurationSeconds": stream_maxDurationSeconds, + "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, + "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, annotations: { @@ -196,49 +204,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_clipResponseSingle": stream_clipResponseSingle_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_clipResponseSingle": stream_clipResponseSingle, + "stream_created": stream_created, + "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, + "stream_maxDurationSeconds": stream_maxDurationSeconds, + "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, + "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, request: (args) => ({ @@ -253,30 +261,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/stream_video_copy_request" }, - "upload_creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "headers": { + "properties": { + "Upload-Creator": { + "$ref": "#/$defs/stream_creator", + "description": "A user-defined identifier for the media creator." + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_allowedOrigins": stream_allowedOrigins, - "stream_creator": stream_creator, - "stream_media_metadata": stream_media_metadata, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_allowedOrigins": stream_allowedOrigins$, + "stream_creator": stream_creator$, + "stream_media_metadata": stream_media_metadata$, + "stream_requireSignedURLs": stream_requireSignedURLs$, + "stream_scheduledDeletion": stream_scheduledDeletion$, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct$, "stream_video_copy_request": stream_video_copy_request, "stream_watermark_at_upload": stream_watermark_at_upload, }, @@ -284,48 +305,48 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/stream_video_response_single", $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_video_response_single": stream_video_response_single_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-single": stream_api$$response$$single, + "stream_created": stream_created, + "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, + "stream_maxDurationSeconds": stream_maxDurationSeconds, + "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, + "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_video_response_single": stream_video_response_single, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, annotations: { @@ -352,55 +373,55 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_video_response_single": stream_video_response_single_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_created": stream_created, + "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, + "stream_maxDurationSeconds": stream_maxDurationSeconds, + "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, + "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_video_response_single": stream_video_response_single, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream/copy`, headers: [ - ["Upload-Creator", args["upload_creator"]], + ["Upload-Creator", param(args, "headers", "Upload-Creator")], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -412,40 +433,61 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "direct_user": { - "$ref": "#/$defs/stream_direct_user", - "default": false, - "description": "Provisions a URL to let your end users upload videos directly to Cloudflare Stream without exposing your API token to clients." - }, - "tus_resumable": { - "$ref": "#/$defs/stream_tus_resumable", - "description": "Specifies the TUS protocol version. This value must be included in every upload request.\nNotes: The only supported version of TUS protocol is 1.0.0." - }, - "upload_creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "headers": { + "properties": { + "Tus-Resumable": { + "$ref": "#/$defs/stream_tus_resumable", + "description": "Specifies the TUS protocol version. This value must be included in every upload request.\nNotes: The only supported version of TUS protocol is 1.0.0." + }, + "Upload-Creator": { + "$ref": "#/$defs/stream_creator", + "description": "A user-defined identifier for the media creator." + }, + "Upload-Length": { + "$ref": "#/$defs/stream_upload_length", + "description": "Indicates the size of the entire upload in bytes. The value must be a non-negative integer." + }, + "Upload-Metadata": { + "$ref": "#/$defs/stream_upload_metadata", + "description": "Comma-separated key-value pairs following the TUS protocol specification. Values are Base-64 encoded.\nSupported keys: `name`, `requiresignedurls`, `allowedorigins`, `thumbnailtimestamppct`, `watermark`, `scheduleddeletion`, `maxdurationseconds`." + } + }, + "required": [ + "Tus-Resumable", + "Upload-Length" + ], + "type": "object" }, - "upload_length": { - "$ref": "#/$defs/stream_upload_length", - "description": "Indicates the size of the entire upload in bytes. The value must be a non-negative integer." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "upload_metadata": { - "$ref": "#/$defs/stream_upload_metadata", - "description": "Comma-separated key-value pairs following the TUS protocol specification. Values are Base-64 encoded.\nSupported keys: `name`, `requiresignedurls`, `allowedorigins`, `thumbnailtimestamppct`, `watermark`, `scheduleddeletion`, `maxdurationseconds`." + "query": { + "properties": { + "direct_user": { + "$ref": "#/$defs/stream_direct_user", + "default": false, + "description": "Provisions a URL to let your end users upload videos directly to Cloudflare Stream without exposing your API token to clients." + } + }, + "type": "object" } }, required: [ - "account_id", - "tus_resumable", - "upload_length" + "path", + "headers" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_creator": stream_creator, + "stream_creator": stream_creator$, "stream_direct_user": stream_direct_user, "stream_tus_resumable": stream_tus_resumable, "stream_upload_length": stream_upload_length, @@ -474,20 +516,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_messages": stream_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream`, query: [ - ["direct_user", args["direct_user"], true], + ["direct_user", param(args, "query", "direct_user"), true], ], headers: [ - ["Tus-Resumable", args["tus_resumable"]], - ["Upload-Creator", args["upload_creator"]], - ["Upload-Length", args["upload_length"]], - ["Upload-Metadata", args["upload_metadata"]], + ["Tus-Resumable", param(args, "headers", "Tus-Resumable")], + ["Upload-Creator", param(args, "headers", "Upload-Creator")], + ["Upload-Length", param(args, "headers", "Upload-Length")], + ["Upload-Metadata", param(args, "headers", "Upload-Metadata")], ], }), }, @@ -498,22 +540,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_identifier": stream_identifier, + "stream_identifier": stream_identifier$, }, }, annotations: { @@ -538,8 +588,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -553,82 +603,90 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/stream_video_update" }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier", + "path", "body" ], $defs: { "stream_account_identifier": stream_account_identifier, + "stream_allowedOrigins": stream_allowedOrigins$, + "stream_creator": stream_creator$, + "stream_identifier": stream_identifier$, + "stream_maxDurationSeconds": stream_maxDurationSeconds$, + "stream_media_metadata": stream_media_metadata$, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry$, + "stream_requireSignedURLs": stream_requireSignedURLs$, + "stream_scheduledDeletion": stream_scheduledDeletion$, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct$, + "stream_video_update": stream_video_update, + }, + }, + outputSchema: { + "$ref": "#/$defs/stream_video_response_single", + $defs: { "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-single": stream_api$$response$$single, + "stream_created": stream_created, "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_video_update": stream_video_update, - }, - }, - outputSchema: { - "$ref": "#/$defs/stream_video_response_single", - $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_video_response_single": stream_video_response_single_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_video_response_single": stream_video_response_single, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, annotations: { @@ -650,49 +708,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_video_response_single": stream_video_response_single_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_created": stream_created, + "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, + "stream_maxDurationSeconds": stream_maxDurationSeconds, + "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, + "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_video_response_single": stream_video_response_single, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, request: (args) => ({ @@ -707,22 +765,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_identifier": stream_identifier, + "stream_identifier": stream_identifier$, }, }, annotations: { @@ -748,8 +814,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -763,69 +829,77 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "identifier": { + "$ref": "#/$defs/stream_identifier", + "description": "A Cloudflare-generated unique identifier for a media item." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_identifier": stream_identifier, + "stream_identifier": stream_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_video_response_single", $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_video_response_single": stream_video_response_single_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-single": stream_api$$response$$single, + "stream_created": stream_created, + "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, + "stream_maxDurationSeconds": stream_maxDurationSeconds, + "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, + "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_video_response_single": stream_video_response_single, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, annotations: { @@ -853,49 +927,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_video_response_single": stream_video_response_single_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_created": stream_created, + "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, + "stream_maxDurationSeconds": stream_maxDurationSeconds, + "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, + "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_video_response_single": stream_video_response_single, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, request: (args) => ({ @@ -909,85 +983,98 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "after": { - "description": "Alias for 'start'. Returns videos created after this date/time (RFC 3339 format).", - "format": "date-time", - "type": "string" - }, - "asc": { - "$ref": "#/$defs/stream_asc", - "default": false, - "description": "Lists videos in ascending order of creation." - }, - "before": { - "description": "Alias for 'end'. Returns videos created before this date/time (RFC 3339 format).", - "format": "date-time", - "type": "string" - }, - "creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." - }, - "end": { - "$ref": "#/$defs/stream_end", - "description": "Lists videos created before the specified date." - }, - "id": { - "description": "Filter by video ID(s). Can be a single ID or a comma-separated list of IDs.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "include_counts": { - "$ref": "#/$defs/stream_include_counts", - "default": false, - "description": "Includes the total number of videos associated with the submitted query parameters." - }, - "limit": { - "description": "Maximum number of videos to return (default 1000, max 1000).", - "type": "integer" - }, - "live_input_id": { - "description": "Filter by live input ID to find videos associated with a specific live stream.", - "type": "string" - }, - "name": { - "description": "Filter by video name/UID(s). Can be a single name or a comma-separated list.", - "type": "string" - }, - "search": { - "$ref": "#/$defs/stream_search", - "description": "Provides a partial word match of the `name` key in the `meta` field. Slow for medium to large video libraries. May be unavailable for very large libraries." - }, - "start": { - "$ref": "#/$defs/stream_start", - "description": "Lists videos created after the specified date." - }, - "status": { - "$ref": "#/$defs/stream_media_state", - "description": "Specifies the processing status for all quality levels for a video." - }, - "type": { - "$ref": "#/$defs/stream_type", - "description": "Specifies whether the video is `vod` or `live`." - }, - "video_name": { - "$ref": "#/$defs/stream_video_name", - "description": "Provides a fast, exact string match on the `name` key in the `meta` field." + "query": { + "properties": { + "after": { + "description": "Alias for 'start'. Returns videos created after this date/time (RFC 3339 format).", + "format": "date-time", + "type": "string" + }, + "asc": { + "$ref": "#/$defs/stream_asc", + "default": false, + "description": "Lists videos in ascending order of creation." + }, + "before": { + "description": "Alias for 'end'. Returns videos created before this date/time (RFC 3339 format).", + "format": "date-time", + "type": "string" + }, + "creator": { + "$ref": "#/$defs/stream_creator", + "description": "A user-defined identifier for the media creator." + }, + "end": { + "$ref": "#/$defs/stream_end", + "description": "Lists videos created before the specified date." + }, + "id": { + "description": "Filter by video ID(s). Can be a single ID or a comma-separated list of IDs.", + "type": "string" + }, + "include_counts": { + "$ref": "#/$defs/stream_include_counts", + "default": false, + "description": "Includes the total number of videos associated with the submitted query parameters." + }, + "limit": { + "description": "Maximum number of videos to return (default 1000, max 1000).", + "type": "integer" + }, + "live_input_id": { + "description": "Filter by live input ID to find videos associated with a specific live stream.", + "type": "string" + }, + "name": { + "description": "Filter by video name/UID(s). Can be a single name or a comma-separated list.", + "type": "string" + }, + "search": { + "$ref": "#/$defs/stream_search", + "description": "Provides a partial word match of the `name` key in the `meta` field. Slow for medium to large video libraries. May be unavailable for very large libraries." + }, + "start": { + "$ref": "#/$defs/stream_start", + "description": "Lists videos created after the specified date." + }, + "status": { + "$ref": "#/$defs/stream_media_state", + "description": "Specifies the processing status for all quality levels for a video." + }, + "type": { + "$ref": "#/$defs/stream_type", + "description": "Specifies whether the video is `vod` or `live`." + }, + "video_name": { + "$ref": "#/$defs/stream_video_name", + "description": "Provides a fast, exact string match on the `name` key in the `meta` field." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, "stream_asc": stream_asc, - "stream_creator": stream_creator, + "stream_creator": stream_creator$, "stream_end": stream_end, "stream_include_counts": stream_include_counts, - "stream_media_state": stream_media_state, + "stream_media_state": stream_media_state$, "stream_search": stream_search, "stream_start": stream_start, "stream_type": stream_type, @@ -997,48 +1084,48 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/stream_video_response_collection", $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-common": stream_api_response_common_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_video_response_collection": stream_video_response_collection_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-common": stream_api$$response$$common, + "stream_created": stream_created, + "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, + "stream_maxDurationSeconds": stream_maxDurationSeconds, + "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, + "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_video_response_collection": stream_video_response_collection, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, annotations: { @@ -1066,69 +1153,69 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_allowedOrigins": stream_allowedOrigins_output, - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_created": stream_created_output, - "stream_creator": stream_creator_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_duration": stream_duration_output, - "stream_errorReasonCode": stream_errorReasonCode_output, - "stream_errorReasonText": stream_errorReasonText_output, - "stream_height": stream_height_output, - "stream_identifier": stream_identifier_output, - "stream_input": stream_input_output, - "stream_liveInput": stream_liveInput_output, - "stream_maxDurationSeconds": stream_maxDurationSeconds_output, - "stream_media_metadata": stream_media_metadata_output, - "stream_media_state": stream_media_state_output, - "stream_media_status": stream_media_status_output, - "stream_messages": stream_messages_output, - "stream_modified": stream_modified_output, - "stream_name": stream_name_output, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_pctComplete": stream_pctComplete_output, - "stream_playback": stream_playback_output, - "stream_position": stream_position_output, - "stream_preview": stream_preview_output, - "stream_readyToStream": stream_readyToStream_output, - "stream_readyToStreamAt": stream_readyToStreamAt_output, - "stream_requireSignedURLs": stream_requireSignedURLs_output, - "stream_scale": stream_scale_output, - "stream_scheduledDeletion": stream_scheduledDeletion_output, - "stream_size": stream_size_output, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct_output, - "stream_thumbnail_url": stream_thumbnail_url_output, - "stream_uploaded": stream_uploaded_output, - "stream_video_response_collection": stream_video_response_collection_output, - "stream_videos": stream_videos_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_allowedOrigins": stream_allowedOrigins, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_created": stream_created, + "stream_creator": stream_creator, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_duration": stream_duration, + "stream_errorReasonCode": stream_errorReasonCode, + "stream_errorReasonText": stream_errorReasonText, + "stream_height": stream_height, + "stream_identifier": stream_identifier, + "stream_input": stream_input, + "stream_liveInput": stream_liveInput, + "stream_maxDurationSeconds": stream_maxDurationSeconds, + "stream_media_metadata": stream_media_metadata, + "stream_media_state": stream_media_state, + "stream_media_status": stream_media_status, + "stream_messages": stream_messages, + "stream_modified": stream_modified, + "stream_name": stream_name, + "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_pctComplete": stream_pctComplete, + "stream_playback": stream_playback, + "stream_position": stream_position, + "stream_preview": stream_preview, + "stream_readyToStream": stream_readyToStream, + "stream_readyToStreamAt": stream_readyToStreamAt, + "stream_requireSignedURLs": stream_requireSignedURLs, + "stream_scale": stream_scale, + "stream_scheduledDeletion": stream_scheduledDeletion, + "stream_size": stream_size, + "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, + "stream_thumbnail_url": stream_thumbnail_url, + "stream_uploaded": stream_uploaded, + "stream_video_response_collection": stream_video_response_collection, + "stream_videos": stream_videos, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/stream`, query: [ - ["status", args["status"], true], - ["creator", args["creator"], true], - ["type", args["type"], true], - ["asc", args["asc"], true], - ["video_name", args["video_name"], true], - ["search", args["search"], true], - ["start", args["start"], true], - ["end", args["end"], true], - ["include_counts", args["include_counts"], true], - ["id", args["id"], true], - ["name", args["name"], true], - ["live_input_id", args["live_input_id"], true], - ["before", args["before"], true], - ["after", args["after"], true], - ["limit", args["limit"], true], + ["status", param(args, "query", "status"), true], + ["creator", param(args, "query", "creator"), true], + ["type", param(args, "query", "type"), true], + ["asc", param(args, "query", "asc"), true], + ["video_name", param(args, "query", "video_name"), true], + ["search", param(args, "query", "search"), true], + ["start", param(args, "query", "start"), true], + ["end", param(args, "query", "end"), true], + ["include_counts", param(args, "query", "include_counts"), true], + ["id", param(args, "query", "id"), true], + ["name", param(args, "query", "name"), true], + ["live_input_id", param(args, "query", "live_input_id"), true], + ["before", param(args, "query", "before"), true], + ["after", param(args, "query", "after"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, diff --git a/src/generated/forge-mcp/stream/watermarks/outputs.ts b/src/generated/forge-mcp/stream/watermarks/outputs.ts index 40b35b167..fd9bc59cf 100644 --- a/src/generated/forge-mcp/stream/watermarks/outputs.ts +++ b/src/generated/forge-mcp/stream/watermarks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `stream_watermark_response_collection` in responses. */ -export const stream_watermark_response_collection_output: JsonSchema = { +export const stream_watermark_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-common" @@ -28,7 +28,7 @@ export const stream_watermark_response_collection_output: JsonSchema = { /** * The schema of `stream_watermark_response_single` in responses. */ -export const stream_watermark_response_single_output: JsonSchema = { +export const stream_watermark_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" diff --git a/src/generated/forge-mcp/stream/watermarks/tools.ts b/src/generated/forge-mcp/stream/watermarks/tools.ts index 625428687..e0a4c9e26 100644 --- a/src/generated/forge-mcp/stream/watermarks/tools.ts +++ b/src/generated/forge-mcp/stream/watermarks/tools.ts @@ -3,35 +3,35 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_common_output, - stream_api_response_single_output, - stream_downloadedFrom_output, - stream_height_output, - stream_messages_output, - stream_name_output, - stream_opacity_output, - stream_padding_output, - stream_position_output, - stream_scale_output, - stream_watermark_created_output, - stream_watermark_identifier_output, - stream_watermark_size_output, - stream_watermarks_output, - stream_width_output, -} from "../outputs.js"; -import { - stream_account_identifier, + stream_api$$response$$common, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_downloadedFrom, + stream_height, + stream_messages, stream_name, stream_opacity, stream_padding, stream_position, stream_scale, + stream_watermark_created, stream_watermark_identifier, + stream_watermark_size, + stream_watermarks, + stream_width, +} from "../outputs.js"; +import { + stream_account_identifier, + stream_name as stream_name$, + stream_opacity as stream_opacity$, + stream_padding as stream_padding$, + stream_position as stream_position$, + stream_scale as stream_scale$, + stream_watermark_identifier as stream_watermark_identifier$, } from "../schemas.js"; import { - stream_watermark_response_collection_output, - stream_watermark_response_single_output, + stream_watermark_response_collection, + stream_watermark_response_single, } from "./outputs.js"; /** @@ -45,10 +45,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, "body": { "properties": { "name": { @@ -82,39 +78,51 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_name": stream_name, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_position": stream_position, - "stream_scale": stream_scale, + "stream_name": stream_name$, + "stream_opacity": stream_opacity$, + "stream_padding": stream_padding$, + "stream_position": stream_position$, + "stream_scale": stream_scale$, }, }, outputSchema: { "$ref": "#/$defs/stream_watermark_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_height": stream_height_output, - "stream_messages": stream_messages_output, - "stream_name": stream_name_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_position": stream_position_output, - "stream_scale": stream_scale_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_response_single": stream_watermark_response_single_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_height": stream_height, + "stream_messages": stream_messages, + "stream_name": stream_name, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_position": stream_position, + "stream_scale": stream_scale, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_response_single": stream_watermark_response_single, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, annotations: { @@ -141,22 +149,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_height": stream_height_output, - "stream_messages": stream_messages_output, - "stream_name": stream_name_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_position": stream_position_output, - "stream_scale": stream_scale_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_response_single": stream_watermark_response_single_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_height": stream_height, + "stream_messages": stream_messages, + "stream_name": stream_name, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_position": stream_position, + "stream_scale": stream_scale, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_response_single": stream_watermark_response_single, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, request: (args) => ({ @@ -171,22 +179,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "identifier": { - "$ref": "#/$defs/stream_watermark_identifier", - "description": "The unique identifier for a watermark profile." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "identifier": { + "$ref": "#/$defs/stream_watermark_identifier", + "description": "The unique identifier for a watermark profile." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_identifier": stream_watermark_identifier$, }, }, outputSchema: { @@ -204,8 +220,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, }, }, annotations: { @@ -244,9 +260,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -260,42 +276,50 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, - "identifier": { - "$ref": "#/$defs/stream_watermark_identifier", - "description": "The unique identifier for a watermark profile." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + }, + "identifier": { + "$ref": "#/$defs/stream_watermark_identifier", + "description": "The unique identifier for a watermark profile." + } + }, + "required": [ + "account_id", + "identifier" + ], + "type": "object" } }, required: [ - "account_id", - "identifier" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, - "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_identifier": stream_watermark_identifier$, }, }, outputSchema: { "$ref": "#/$defs/stream_watermark_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_height": stream_height_output, - "stream_messages": stream_messages_output, - "stream_name": stream_name_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_position": stream_position_output, - "stream_scale": stream_scale_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_response_single": stream_watermark_response_single_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_height": stream_height, + "stream_messages": stream_messages, + "stream_name": stream_name, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_position": stream_position, + "stream_scale": stream_scale, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_response_single": stream_watermark_response_single, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, annotations: { @@ -323,22 +347,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_height": stream_height_output, - "stream_messages": stream_messages_output, - "stream_name": stream_name_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_position": stream_position_output, - "stream_scale": stream_scale_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_response_single": stream_watermark_response_single_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_height": stream_height, + "stream_messages": stream_messages, + "stream_name": stream_name, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_position": stream_position, + "stream_scale": stream_scale, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_response_single": stream_watermark_response_single, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, request: (args) => ({ @@ -352,13 +376,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, @@ -367,21 +399,21 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/stream_watermark_response_collection", $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_height": stream_height_output, - "stream_messages": stream_messages_output, - "stream_name": stream_name_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_position": stream_position_output, - "stream_scale": stream_scale_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_response_collection": stream_watermark_response_collection_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_height": stream_height, + "stream_messages": stream_messages, + "stream_name": stream_name, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_position": stream_position, + "stream_scale": stream_scale, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_response_collection": stream_watermark_response_collection, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, annotations: { @@ -409,22 +441,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common": stream_api_response_common_output, - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_downloadedFrom": stream_downloadedFrom_output, - "stream_height": stream_height_output, - "stream_messages": stream_messages_output, - "stream_name": stream_name_output, - "stream_opacity": stream_opacity_output, - "stream_padding": stream_padding_output, - "stream_position": stream_position_output, - "stream_scale": stream_scale_output, - "stream_watermark_created": stream_watermark_created_output, - "stream_watermark_identifier": stream_watermark_identifier_output, - "stream_watermark_response_collection": stream_watermark_response_collection_output, - "stream_watermark_size": stream_watermark_size_output, - "stream_watermarks": stream_watermarks_output, - "stream_width": stream_width_output, + "stream_api-response-common": stream_api$$response$$common, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_downloadedFrom": stream_downloadedFrom, + "stream_height": stream_height, + "stream_messages": stream_messages, + "stream_name": stream_name, + "stream_opacity": stream_opacity, + "stream_padding": stream_padding, + "stream_position": stream_position, + "stream_scale": stream_scale, + "stream_watermark_created": stream_watermark_created, + "stream_watermark_identifier": stream_watermark_identifier, + "stream_watermark_response_collection": stream_watermark_response_collection, + "stream_watermark_size": stream_watermark_size, + "stream_watermarks": stream_watermarks, + "stream_width": stream_width, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/webhooks/outputs.ts b/src/generated/forge-mcp/stream/webhooks/outputs.ts index fff463d22..8415b44bc 100644 --- a/src/generated/forge-mcp/stream/webhooks/outputs.ts +++ b/src/generated/forge-mcp/stream/webhooks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `stream_webhook_response_single` in responses. */ -export const stream_webhook_response_single_output: JsonSchema = { +export const stream_webhook_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/stream_api-response-single" diff --git a/src/generated/forge-mcp/stream/webhooks/tools.ts b/src/generated/forge-mcp/stream/webhooks/tools.ts index 1fce986e2..0cec0933c 100644 --- a/src/generated/forge-mcp/stream/webhooks/tools.ts +++ b/src/generated/forge-mcp/stream/webhooks/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - stream_api_response_common_failure_output, - stream_api_response_single_output, - stream_deleted_response_output, - stream_messages_output, + stream_api$$response$$common$$failure, + stream_api$$response$$single, + stream_deleted_response, + stream_messages, } from "../outputs.js"; import { stream_account_identifier } from "../schemas.js"; -import { stream_webhook_response_single_output } from "./outputs.js"; +import { stream_webhook_response_single } from "./outputs.js"; import { stream_webhook_request } from "./schemas.js"; /** @@ -23,13 +23,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, @@ -38,9 +46,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/stream_deleted_response", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, annotations: { @@ -67,10 +75,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_deleted_response": stream_deleted_response_output, - "stream_messages": stream_messages_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_deleted_response": stream_deleted_response, + "stream_messages": stream_messages, }, }, request: (args) => ({ @@ -84,13 +92,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "stream_account_identifier": stream_account_identifier, @@ -99,9 +115,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/stream_webhook_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_webhook_response_single": stream_webhook_response_single_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_webhook_response_single": stream_webhook_response_single, }, }, annotations: { @@ -129,10 +145,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_webhook_response_single": stream_webhook_response_single_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_webhook_response_single": stream_webhook_response_single, }, }, request: (args) => ({ @@ -146,16 +162,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." - }, "body": { "$ref": "#/$defs/stream_webhook_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/stream_account_identifier", + "description": "The account identifier tag." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -166,9 +190,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/stream_webhook_response_single", $defs: { - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_webhook_response_single": stream_webhook_response_single_output, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_webhook_response_single": stream_webhook_response_single, }, }, annotations: { @@ -195,10 +219,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "stream_api-response-common-failure": stream_api_response_common_failure_output, - "stream_api-response-single": stream_api_response_single_output, - "stream_messages": stream_messages_output, - "stream_webhook_response_single": stream_webhook_response_single_output, + "stream_api-response-common-failure": stream_api$$response$$common$$failure, + "stream_api-response-single": stream_api$$response$$single, + "stream_messages": stream_messages, + "stream_webhook_response_single": stream_webhook_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tags/accountResources/outputs.ts b/src/generated/forge-mcp/tags/accountResources/outputs.ts index 04a81f451..570ee9c3f 100644 --- a/src/generated/forge-mcp/tags/accountResources/outputs.ts +++ b/src/generated/forge-mcp/tags/accountResources/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `resource-tagging_tagged_resource_response_single` in * responses. */ -export const resource_tagging_tagged_resource_response_single_output: JsonSchema = { +export const resource$$tagging_tagged_resource_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-tagging_api-response-common" diff --git a/src/generated/forge-mcp/tags/accountResources/schemas.ts b/src/generated/forge-mcp/tags/accountResources/schemas.ts index 42fb33985..dc1475fa5 100644 --- a/src/generated/forge-mcp/tags/accountResources/schemas.ts +++ b/src/generated/forge-mcp/tags/accountResources/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `resource-tagging_account_resource_type`. */ -export const resource_tagging_account_resource_type: JsonSchema = { +export const resource$$tagging_account_resource_type: JsonSchema = { "description": "Identifies the type of account-level resource.", "enum": [ "access_application", @@ -51,7 +51,7 @@ export const resource_tagging_account_resource_type: JsonSchema = { /** * The schema of `resource-tagging_account_resource_type_base_enum`. */ -export const resource_tagging_account_resource_type_base_enum: JsonSchema = { +export const resource$$tagging_account_resource_type_base_enum: JsonSchema = { "description": "Enum for base account-level resource types (those with no extra required fields).", "enum": [ "access_application", @@ -95,7 +95,7 @@ export const resource_tagging_account_resource_type_base_enum: JsonSchema = { /** * The schema of `resource-tagging_account_resource_type_worker_version_enum`. */ -export const resource_tagging_account_resource_type_worker_version_enum: JsonSchema = { +export const resource$$tagging_account_resource_type_worker_version_enum: JsonSchema = { "description": "Enum for worker_version resource type.", "enum": [ "worker_version" @@ -106,7 +106,7 @@ export const resource_tagging_account_resource_type_worker_version_enum: JsonSch /** * The schema of `resource-tagging_delete_tags_request_account_level`. */ -export const resource_tagging_delete_tags_request_account_level: JsonSchema = { +export const resource$$tagging_delete_tags_request_account_level: JsonSchema = { "description": "Request body schema for deleting tags from account-level resources. Use /zones/{zone_id}/tags for zone-level resources.", "oneOf": [ { @@ -121,7 +121,7 @@ export const resource_tagging_delete_tags_request_account_level: JsonSchema = { /** * The schema of `resource-tagging_delete_tags_request_account_level_base`. */ -export const resource_tagging_delete_tags_request_account_level_base: JsonSchema = { +export const resource$$tagging_delete_tags_request_account_level_base: JsonSchema = { "description": "Request body schema for deleting tags from account-level resources.", "properties": { "resource_id": { @@ -144,7 +144,7 @@ export const resource_tagging_delete_tags_request_account_level_base: JsonSchema * The schema of * `resource-tagging_delete_tags_request_account_level_worker_version`. */ -export const resource_tagging_delete_tags_request_account_level_worker_version: JsonSchema = { +export const resource$$tagging_delete_tags_request_account_level_worker_version: JsonSchema = { "description": "Request body schema for deleting tags from worker_version resources.", "properties": { "resource_id": { @@ -171,7 +171,7 @@ export const resource_tagging_delete_tags_request_account_level_worker_version: /** * The schema of `resource-tagging_set_tags_request_account_level`. */ -export const resource_tagging_set_tags_request_account_level: JsonSchema = { +export const resource$$tagging_set_tags_request_account_level: JsonSchema = { "description": "Request body schema for setting tags on account-level resources.", "oneOf": [ { @@ -186,7 +186,7 @@ export const resource_tagging_set_tags_request_account_level: JsonSchema = { /** * The schema of `resource-tagging_set_tags_request_account_level_base`. */ -export const resource_tagging_set_tags_request_account_level_base: JsonSchema = { +export const resource$$tagging_set_tags_request_account_level_base: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-tagging_delete_tags_request_account_level_base" @@ -208,7 +208,7 @@ export const resource_tagging_set_tags_request_account_level_base: JsonSchema = * The schema of * `resource-tagging_set_tags_request_account_level_worker_version`. */ -export const resource_tagging_set_tags_request_account_level_worker_version: JsonSchema = { +export const resource$$tagging_set_tags_request_account_level_worker_version: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-tagging_delete_tags_request_account_level_worker_version" diff --git a/src/generated/forge-mcp/tags/accountResources/tools.ts b/src/generated/forge-mcp/tags/accountResources/tools.ts index ceba170d4..ddcf095c5 100644 --- a/src/generated/forge-mcp/tags/accountResources/tools.ts +++ b/src/generated/forge-mcp/tags/accountResources/tools.ts @@ -1,139 +1,152 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource_tagging_access_application_id_output, - resource_tagging_api_response_common_failure_output, - resource_tagging_api_response_common_output, - resource_tagging_etag_output, - resource_tagging_identifier_output, - resource_tagging_messages_output, - resource_tagging_namespace_worker_navigation_output, - resource_tagging_resource_id_output, - resource_tagging_resource_name_output, - resource_tagging_tagged_resource_object_access_application_output, - resource_tagging_tagged_resource_object_access_application_policy_base_output, - resource_tagging_tagged_resource_object_access_application_policy_output, - resource_tagging_tagged_resource_object_access_group_output, - resource_tagging_tagged_resource_object_access_service_token_output, - resource_tagging_tagged_resource_object_account_level_base_output, - resource_tagging_tagged_resource_object_account_output, - 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, - resource_tagging_tagged_resource_object_cloudflared_tunnel_output, - resource_tagging_tagged_resource_object_custom_certificate_output, - resource_tagging_tagged_resource_object_custom_hostname_output, - resource_tagging_tagged_resource_object_cws_deployment_output, - resource_tagging_tagged_resource_object_cws_policy_output, - resource_tagging_tagged_resource_object_cws_policy_set_output, - resource_tagging_tagged_resource_object_cws_workload_output, - resource_tagging_tagged_resource_object_d1_database_output, - resource_tagging_tagged_resource_object_device_output, - resource_tagging_tagged_resource_object_dns_record_output, - resource_tagging_tagged_resource_object_durable_object_namespace_output, - resource_tagging_tagged_resource_object_gateway_list_output, - resource_tagging_tagged_resource_object_gateway_rule_output, - resource_tagging_tagged_resource_object_healthcheck_output, - resource_tagging_tagged_resource_object_image_output, - resource_tagging_tagged_resource_object_infrastructure_target_output, - resource_tagging_tagged_resource_object_kv_namespace_output, - resource_tagging_tagged_resource_object_load_balancer_monitor_output, - resource_tagging_tagged_resource_object_load_balancer_output, - resource_tagging_tagged_resource_object_load_balancer_pool_output, - resource_tagging_tagged_resource_object_managed_client_certificate_output, - resource_tagging_tagged_resource_object_namespace_worker_output, - resource_tagging_tagged_resource_object_output, - resource_tagging_tagged_resource_object_pages_project_output, - resource_tagging_tagged_resource_object_queue_output, - resource_tagging_tagged_resource_object_r2_bucket_output, - resource_tagging_tagged_resource_object_resource_share_output, - resource_tagging_tagged_resource_object_stream_live_input_output, - resource_tagging_tagged_resource_object_stream_video_output, - resource_tagging_tagged_resource_object_vectorize_index_output, - resource_tagging_tagged_resource_object_worker_output, - resource_tagging_tagged_resource_object_worker_route_output, - resource_tagging_tagged_resource_object_worker_version_base_output, - resource_tagging_tagged_resource_object_worker_version_output, - resource_tagging_tagged_resource_object_zone_level_base_output, - resource_tagging_tagged_resource_object_zone_output, - resource_tagging_tagged_resource_object_zone_ruleset_output, - resource_tagging_tags_output, - resource_tagging_tags_updated_at_output, - resource_tagging_worker_id_output, - resource_tagging_zone_id_output, + resource$$tagging_access_application_id, + resource$$tagging_api$$response$$common, + resource$$tagging_api$$response$$common$$failure, + resource$$tagging_etag, + resource$$tagging_identifier, + resource$$tagging_messages, + resource$$tagging_namespace_worker_navigation, + resource$$tagging_resource_id, + resource$$tagging_resource_name, + resource$$tagging_tagged_resource_object, + resource$$tagging_tagged_resource_object_access_application, + resource$$tagging_tagged_resource_object_access_application_policy, + resource$$tagging_tagged_resource_object_access_application_policy_base, + resource$$tagging_tagged_resource_object_access_group, + resource$$tagging_tagged_resource_object_access_service_token, + resource$$tagging_tagged_resource_object_account, + resource$$tagging_tagged_resource_object_account_level_base, + resource$$tagging_tagged_resource_object_account_ruleset, + resource$$tagging_tagged_resource_object_ai_gateway, + resource$$tagging_tagged_resource_object_ai_search_instance, + resource$$tagging_tagged_resource_object_ai_search_namespace, + resource$$tagging_tagged_resource_object_alerting_policy, + resource$$tagging_tagged_resource_object_alerting_webhook, + resource$$tagging_tagged_resource_object_api_gateway_operation, + resource$$tagging_tagged_resource_object_cloudflared_tunnel, + resource$$tagging_tagged_resource_object_custom_certificate, + resource$$tagging_tagged_resource_object_custom_hostname, + resource$$tagging_tagged_resource_object_cws_deployment, + resource$$tagging_tagged_resource_object_cws_policy, + resource$$tagging_tagged_resource_object_cws_policy_set, + resource$$tagging_tagged_resource_object_cws_workload, + resource$$tagging_tagged_resource_object_d1_database, + resource$$tagging_tagged_resource_object_device, + resource$$tagging_tagged_resource_object_dns_record, + resource$$tagging_tagged_resource_object_durable_object_namespace, + resource$$tagging_tagged_resource_object_gateway_list, + resource$$tagging_tagged_resource_object_gateway_rule, + resource$$tagging_tagged_resource_object_healthcheck, + resource$$tagging_tagged_resource_object_image, + resource$$tagging_tagged_resource_object_infrastructure_target, + resource$$tagging_tagged_resource_object_kv_namespace, + resource$$tagging_tagged_resource_object_load_balancer, + resource$$tagging_tagged_resource_object_load_balancer_monitor, + resource$$tagging_tagged_resource_object_load_balancer_pool, + resource$$tagging_tagged_resource_object_managed_client_certificate, + resource$$tagging_tagged_resource_object_namespace_worker, + resource$$tagging_tagged_resource_object_pages_project, + resource$$tagging_tagged_resource_object_queue, + resource$$tagging_tagged_resource_object_r2_bucket, + resource$$tagging_tagged_resource_object_resource_share, + resource$$tagging_tagged_resource_object_stream_live_input, + resource$$tagging_tagged_resource_object_stream_video, + resource$$tagging_tagged_resource_object_vectorize_index, + resource$$tagging_tagged_resource_object_worker, + resource$$tagging_tagged_resource_object_worker_route, + resource$$tagging_tagged_resource_object_worker_version, + resource$$tagging_tagged_resource_object_worker_version_base, + resource$$tagging_tagged_resource_object_zone, + resource$$tagging_tagged_resource_object_zone_level_base, + resource$$tagging_tagged_resource_object_zone_ruleset, + resource$$tagging_tags, + resource$$tagging_tags_updated_at, + resource$$tagging_worker_id, + resource$$tagging_zone_id, } from "../outputs.js"; import { - resource_tagging_account_id, - resource_tagging_identifier, - resource_tagging_resource_id, - resource_tagging_tags, - resource_tagging_worker_id, + resource$$tagging_account_id, + resource$$tagging_identifier as resource$$tagging_identifier$, + resource$$tagging_resource_id as resource$$tagging_resource_id$, + resource$$tagging_tags as resource$$tagging_tags$, + resource$$tagging_worker_id as resource$$tagging_worker_id$, } from "../schemas.js"; -import { resource_tagging_tagged_resource_response_single_output } from "./outputs.js"; +import { resource$$tagging_tagged_resource_response_single } from "./outputs.js"; import { - resource_tagging_account_resource_type, - resource_tagging_account_resource_type_base_enum, - resource_tagging_account_resource_type_worker_version_enum, - resource_tagging_delete_tags_request_account_level, - resource_tagging_delete_tags_request_account_level_base, - resource_tagging_delete_tags_request_account_level_worker_version, - resource_tagging_set_tags_request_account_level, - resource_tagging_set_tags_request_account_level_base, - resource_tagging_set_tags_request_account_level_worker_version, + resource$$tagging_account_resource_type, + resource$$tagging_account_resource_type_base_enum, + resource$$tagging_account_resource_type_worker_version_enum, + resource$$tagging_delete_tags_request_account_level, + resource$$tagging_delete_tags_request_account_level_base, + resource$$tagging_delete_tags_request_account_level_worker_version, + resource$$tagging_set_tags_request_account_level, + resource$$tagging_set_tags_request_account_level_base, + resource$$tagging_set_tags_request_account_level_worker_version, } from "./schemas.js"; /** - * The tools of `tags.account_resources`. + * The tools of `tags.accountResources`. */ export const tools: readonly Tool[] = [ { - name: "tags_account_resources_delete", + name: "tags_accountResources_delete", title: "Delete tags from an account or zone-level resource", description: "Removes all tags from a specific account or zone-level resource.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/resource-tagging_account_id", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/resource-tagging_delete_tags_request_account_level" }, - "if_match": { - "description": "ETag value for optimistic concurrency control. When provided, the server will\nverify the current resource ETag matches before applying the write. Returns\n412 Precondition Failed if the resource has been modified since the ETag was\nobtained. Omit this header for unconditional writes.\n", - "type": "string" + "headers": { + "properties": { + "If-Match": { + "description": "ETag value for optimistic concurrency control. When provided, the server will\nverify the current resource ETag matches before applying the write. Returns\n412 Precondition Failed if the resource has been modified since the ETag was\nobtained. Omit this header for unconditional writes.\n", + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/resource-tagging_account_id", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "resource-tagging_account_id": resource_tagging_account_id, - "resource-tagging_account_resource_type_base_enum": resource_tagging_account_resource_type_base_enum, - "resource-tagging_account_resource_type_worker_version_enum": resource_tagging_account_resource_type_worker_version_enum, - "resource-tagging_delete_tags_request_account_level": resource_tagging_delete_tags_request_account_level, - "resource-tagging_delete_tags_request_account_level_base": resource_tagging_delete_tags_request_account_level_base, - "resource-tagging_delete_tags_request_account_level_worker_version": resource_tagging_delete_tags_request_account_level_worker_version, - "resource-tagging_identifier": resource_tagging_identifier, - "resource-tagging_resource_id": resource_tagging_resource_id, - "resource-tagging_worker_id": resource_tagging_worker_id, + "resource-tagging_account_id": resource$$tagging_account_id, + "resource-tagging_account_resource_type_base_enum": resource$$tagging_account_resource_type_base_enum, + "resource-tagging_account_resource_type_worker_version_enum": resource$$tagging_account_resource_type_worker_version_enum, + "resource-tagging_delete_tags_request_account_level": resource$$tagging_delete_tags_request_account_level, + "resource-tagging_delete_tags_request_account_level_base": resource$$tagging_delete_tags_request_account_level_base, + "resource-tagging_delete_tags_request_account_level_worker_version": resource$$tagging_delete_tags_request_account_level_worker_version, + "resource-tagging_identifier": resource$$tagging_identifier$, + "resource-tagging_resource_id": resource$$tagging_resource_id$, + "resource-tagging_worker_id": resource$$tagging_worker_id$, }, }, annotations: { @@ -168,131 +181,147 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, - "resource-tagging_messages": resource_tagging_messages_output, + "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, + "resource-tagging_messages": resource$$tagging_messages, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/tags`, headers: [ - ["If-Match", args["if_match"]], + ["If-Match", param(args, "headers", "If-Match")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "tags_account_resources_get", + name: "tags_accountResources_get", title: "Get tags for an account or zone-level resource", description: "Retrieves tags for a specific account or zone-level resource.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/resource-tagging_account_id", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/resource-tagging_account_id", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "resource_id": { - "$ref": "#/$defs/resource-tagging_resource_id", - "description": "The ID of the resource to retrieve tags for." + "type": "object" }, - "resource_type": { - "$ref": "#/$defs/resource-tagging_account_resource_type", - "description": "The type of the resource." - }, - "worker_id": { - "$ref": "#/$defs/resource-tagging_worker_id", - "description": "Worker identifier. Required for worker_version resources." + "query": { + "properties": { + "resource_id": { + "$ref": "#/$defs/resource-tagging_resource_id", + "description": "The ID of the resource to retrieve tags for." + }, + "resource_type": { + "$ref": "#/$defs/resource-tagging_account_resource_type", + "description": "The type of the resource." + }, + "worker_id": { + "$ref": "#/$defs/resource-tagging_worker_id", + "description": "Worker identifier. Required for worker_version resources." + } + }, + "required": [ + "resource_id", + "resource_type" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "resource_id", - "resource_type" + "path", + "query" ], $defs: { - "resource-tagging_account_id": resource_tagging_account_id, - "resource-tagging_account_resource_type": resource_tagging_account_resource_type, - "resource-tagging_identifier": resource_tagging_identifier, - "resource-tagging_resource_id": resource_tagging_resource_id, - "resource-tagging_worker_id": resource_tagging_worker_id, + "resource-tagging_account_id": resource$$tagging_account_id, + "resource-tagging_account_resource_type": resource$$tagging_account_resource_type, + "resource-tagging_identifier": resource$$tagging_identifier$, + "resource-tagging_resource_id": resource$$tagging_resource_id$, + "resource-tagging_worker_id": resource$$tagging_worker_id$, }, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tagged_resource_response_single", $defs: { - "resource-tagging_access_application_id": resource_tagging_access_application_id_output, - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_etag": resource_tagging_etag_output, - "resource-tagging_identifier": resource_tagging_identifier_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_namespace_worker_navigation": resource_tagging_namespace_worker_navigation_output, - "resource-tagging_resource_id": resource_tagging_resource_id_output, - "resource-tagging_resource_name": resource_tagging_resource_name_output, - "resource-tagging_tagged_resource_object": resource_tagging_tagged_resource_object_output, - "resource-tagging_tagged_resource_object_access_application": resource_tagging_tagged_resource_object_access_application_output, - "resource-tagging_tagged_resource_object_access_application_policy": resource_tagging_tagged_resource_object_access_application_policy_output, - "resource-tagging_tagged_resource_object_access_application_policy_base": resource_tagging_tagged_resource_object_access_application_policy_base_output, - "resource-tagging_tagged_resource_object_access_group": resource_tagging_tagged_resource_object_access_group_output, - "resource-tagging_tagged_resource_object_access_service_token": resource_tagging_tagged_resource_object_access_service_token_output, - "resource-tagging_tagged_resource_object_account": resource_tagging_tagged_resource_object_account_output, - "resource-tagging_tagged_resource_object_account_level_base": resource_tagging_tagged_resource_object_account_level_base_output, - "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, - "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource_tagging_tagged_resource_object_cloudflared_tunnel_output, - "resource-tagging_tagged_resource_object_custom_certificate": resource_tagging_tagged_resource_object_custom_certificate_output, - "resource-tagging_tagged_resource_object_custom_hostname": resource_tagging_tagged_resource_object_custom_hostname_output, - "resource-tagging_tagged_resource_object_cws_deployment": resource_tagging_tagged_resource_object_cws_deployment_output, - "resource-tagging_tagged_resource_object_cws_policy": resource_tagging_tagged_resource_object_cws_policy_output, - "resource-tagging_tagged_resource_object_cws_policy_set": resource_tagging_tagged_resource_object_cws_policy_set_output, - "resource-tagging_tagged_resource_object_cws_workload": resource_tagging_tagged_resource_object_cws_workload_output, - "resource-tagging_tagged_resource_object_d1_database": resource_tagging_tagged_resource_object_d1_database_output, - "resource-tagging_tagged_resource_object_device": resource_tagging_tagged_resource_object_device_output, - "resource-tagging_tagged_resource_object_dns_record": resource_tagging_tagged_resource_object_dns_record_output, - "resource-tagging_tagged_resource_object_durable_object_namespace": resource_tagging_tagged_resource_object_durable_object_namespace_output, - "resource-tagging_tagged_resource_object_gateway_list": resource_tagging_tagged_resource_object_gateway_list_output, - "resource-tagging_tagged_resource_object_gateway_rule": resource_tagging_tagged_resource_object_gateway_rule_output, - "resource-tagging_tagged_resource_object_healthcheck": resource_tagging_tagged_resource_object_healthcheck_output, - "resource-tagging_tagged_resource_object_image": resource_tagging_tagged_resource_object_image_output, - "resource-tagging_tagged_resource_object_infrastructure_target": resource_tagging_tagged_resource_object_infrastructure_target_output, - "resource-tagging_tagged_resource_object_kv_namespace": resource_tagging_tagged_resource_object_kv_namespace_output, - "resource-tagging_tagged_resource_object_load_balancer": resource_tagging_tagged_resource_object_load_balancer_output, - "resource-tagging_tagged_resource_object_load_balancer_monitor": resource_tagging_tagged_resource_object_load_balancer_monitor_output, - "resource-tagging_tagged_resource_object_load_balancer_pool": resource_tagging_tagged_resource_object_load_balancer_pool_output, - "resource-tagging_tagged_resource_object_managed_client_certificate": resource_tagging_tagged_resource_object_managed_client_certificate_output, - "resource-tagging_tagged_resource_object_namespace_worker": resource_tagging_tagged_resource_object_namespace_worker_output, - "resource-tagging_tagged_resource_object_pages_project": resource_tagging_tagged_resource_object_pages_project_output, - "resource-tagging_tagged_resource_object_queue": resource_tagging_tagged_resource_object_queue_output, - "resource-tagging_tagged_resource_object_r2_bucket": resource_tagging_tagged_resource_object_r2_bucket_output, - "resource-tagging_tagged_resource_object_resource_share": resource_tagging_tagged_resource_object_resource_share_output, - "resource-tagging_tagged_resource_object_stream_live_input": resource_tagging_tagged_resource_object_stream_live_input_output, - "resource-tagging_tagged_resource_object_stream_video": resource_tagging_tagged_resource_object_stream_video_output, - "resource-tagging_tagged_resource_object_vectorize_index": resource_tagging_tagged_resource_object_vectorize_index_output, - "resource-tagging_tagged_resource_object_worker": resource_tagging_tagged_resource_object_worker_output, - "resource-tagging_tagged_resource_object_worker_route": resource_tagging_tagged_resource_object_worker_route_output, - "resource-tagging_tagged_resource_object_worker_version": resource_tagging_tagged_resource_object_worker_version_output, - "resource-tagging_tagged_resource_object_worker_version_base": resource_tagging_tagged_resource_object_worker_version_base_output, - "resource-tagging_tagged_resource_object_zone": resource_tagging_tagged_resource_object_zone_output, - "resource-tagging_tagged_resource_object_zone_level_base": resource_tagging_tagged_resource_object_zone_level_base_output, - "resource-tagging_tagged_resource_object_zone_ruleset": resource_tagging_tagged_resource_object_zone_ruleset_output, - "resource-tagging_tagged_resource_response_single": resource_tagging_tagged_resource_response_single_output, - "resource-tagging_tags": resource_tagging_tags_output, - "resource-tagging_tags_updated_at": resource_tagging_tags_updated_at_output, - "resource-tagging_worker_id": resource_tagging_worker_id_output, - "resource-tagging_zone_id": resource_tagging_zone_id_output, + "resource-tagging_access_application_id": resource$$tagging_access_application_id, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_etag": resource$$tagging_etag, + "resource-tagging_identifier": resource$$tagging_identifier, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, + "resource-tagging_resource_id": resource$$tagging_resource_id, + "resource-tagging_resource_name": resource$$tagging_resource_name, + "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, + "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, + "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, + "resource-tagging_tagged_resource_object_access_application_policy_base": resource$$tagging_tagged_resource_object_access_application_policy_base, + "resource-tagging_tagged_resource_object_access_group": resource$$tagging_tagged_resource_object_access_group, + "resource-tagging_tagged_resource_object_access_service_token": resource$$tagging_tagged_resource_object_access_service_token, + "resource-tagging_tagged_resource_object_account": resource$$tagging_tagged_resource_object_account, + "resource-tagging_tagged_resource_object_account_level_base": resource$$tagging_tagged_resource_object_account_level_base, + "resource-tagging_tagged_resource_object_account_ruleset": resource$$tagging_tagged_resource_object_account_ruleset, + "resource-tagging_tagged_resource_object_ai_gateway": resource$$tagging_tagged_resource_object_ai_gateway, + "resource-tagging_tagged_resource_object_ai_search_instance": resource$$tagging_tagged_resource_object_ai_search_instance, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource$$tagging_tagged_resource_object_ai_search_namespace, + "resource-tagging_tagged_resource_object_alerting_policy": resource$$tagging_tagged_resource_object_alerting_policy, + "resource-tagging_tagged_resource_object_alerting_webhook": resource$$tagging_tagged_resource_object_alerting_webhook, + "resource-tagging_tagged_resource_object_api_gateway_operation": resource$$tagging_tagged_resource_object_api_gateway_operation, + "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource$$tagging_tagged_resource_object_cloudflared_tunnel, + "resource-tagging_tagged_resource_object_custom_certificate": resource$$tagging_tagged_resource_object_custom_certificate, + "resource-tagging_tagged_resource_object_custom_hostname": resource$$tagging_tagged_resource_object_custom_hostname, + "resource-tagging_tagged_resource_object_cws_deployment": resource$$tagging_tagged_resource_object_cws_deployment, + "resource-tagging_tagged_resource_object_cws_policy": resource$$tagging_tagged_resource_object_cws_policy, + "resource-tagging_tagged_resource_object_cws_policy_set": resource$$tagging_tagged_resource_object_cws_policy_set, + "resource-tagging_tagged_resource_object_cws_workload": resource$$tagging_tagged_resource_object_cws_workload, + "resource-tagging_tagged_resource_object_d1_database": resource$$tagging_tagged_resource_object_d1_database, + "resource-tagging_tagged_resource_object_device": resource$$tagging_tagged_resource_object_device, + "resource-tagging_tagged_resource_object_dns_record": resource$$tagging_tagged_resource_object_dns_record, + "resource-tagging_tagged_resource_object_durable_object_namespace": resource$$tagging_tagged_resource_object_durable_object_namespace, + "resource-tagging_tagged_resource_object_gateway_list": resource$$tagging_tagged_resource_object_gateway_list, + "resource-tagging_tagged_resource_object_gateway_rule": resource$$tagging_tagged_resource_object_gateway_rule, + "resource-tagging_tagged_resource_object_healthcheck": resource$$tagging_tagged_resource_object_healthcheck, + "resource-tagging_tagged_resource_object_image": resource$$tagging_tagged_resource_object_image, + "resource-tagging_tagged_resource_object_infrastructure_target": resource$$tagging_tagged_resource_object_infrastructure_target, + "resource-tagging_tagged_resource_object_kv_namespace": resource$$tagging_tagged_resource_object_kv_namespace, + "resource-tagging_tagged_resource_object_load_balancer": resource$$tagging_tagged_resource_object_load_balancer, + "resource-tagging_tagged_resource_object_load_balancer_monitor": resource$$tagging_tagged_resource_object_load_balancer_monitor, + "resource-tagging_tagged_resource_object_load_balancer_pool": resource$$tagging_tagged_resource_object_load_balancer_pool, + "resource-tagging_tagged_resource_object_managed_client_certificate": resource$$tagging_tagged_resource_object_managed_client_certificate, + "resource-tagging_tagged_resource_object_namespace_worker": resource$$tagging_tagged_resource_object_namespace_worker, + "resource-tagging_tagged_resource_object_pages_project": resource$$tagging_tagged_resource_object_pages_project, + "resource-tagging_tagged_resource_object_queue": resource$$tagging_tagged_resource_object_queue, + "resource-tagging_tagged_resource_object_r2_bucket": resource$$tagging_tagged_resource_object_r2_bucket, + "resource-tagging_tagged_resource_object_resource_share": resource$$tagging_tagged_resource_object_resource_share, + "resource-tagging_tagged_resource_object_stream_live_input": resource$$tagging_tagged_resource_object_stream_live_input, + "resource-tagging_tagged_resource_object_stream_video": resource$$tagging_tagged_resource_object_stream_video, + "resource-tagging_tagged_resource_object_vectorize_index": resource$$tagging_tagged_resource_object_vectorize_index, + "resource-tagging_tagged_resource_object_worker": resource$$tagging_tagged_resource_object_worker, + "resource-tagging_tagged_resource_object_worker_route": resource$$tagging_tagged_resource_object_worker_route, + "resource-tagging_tagged_resource_object_worker_version": resource$$tagging_tagged_resource_object_worker_version, + "resource-tagging_tagged_resource_object_worker_version_base": resource$$tagging_tagged_resource_object_worker_version_base, + "resource-tagging_tagged_resource_object_zone": resource$$tagging_tagged_resource_object_zone, + "resource-tagging_tagged_resource_object_zone_level_base": resource$$tagging_tagged_resource_object_zone_level_base, + "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, + "resource-tagging_tagged_resource_response_single": resource$$tagging_tagged_resource_response_single, + "resource-tagging_tags": resource$$tagging_tags, + "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, + "resource-tagging_worker_id": resource$$tagging_worker_id, + "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, annotations: { @@ -326,196 +355,209 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_access_application_id": resource_tagging_access_application_id_output, - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, - "resource-tagging_etag": resource_tagging_etag_output, - "resource-tagging_identifier": resource_tagging_identifier_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_namespace_worker_navigation": resource_tagging_namespace_worker_navigation_output, - "resource-tagging_resource_id": resource_tagging_resource_id_output, - "resource-tagging_resource_name": resource_tagging_resource_name_output, - "resource-tagging_tagged_resource_object": resource_tagging_tagged_resource_object_output, - "resource-tagging_tagged_resource_object_access_application": resource_tagging_tagged_resource_object_access_application_output, - "resource-tagging_tagged_resource_object_access_application_policy": resource_tagging_tagged_resource_object_access_application_policy_output, - "resource-tagging_tagged_resource_object_access_application_policy_base": resource_tagging_tagged_resource_object_access_application_policy_base_output, - "resource-tagging_tagged_resource_object_access_group": resource_tagging_tagged_resource_object_access_group_output, - "resource-tagging_tagged_resource_object_access_service_token": resource_tagging_tagged_resource_object_access_service_token_output, - "resource-tagging_tagged_resource_object_account": resource_tagging_tagged_resource_object_account_output, - "resource-tagging_tagged_resource_object_account_level_base": resource_tagging_tagged_resource_object_account_level_base_output, - "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, - "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource_tagging_tagged_resource_object_cloudflared_tunnel_output, - "resource-tagging_tagged_resource_object_custom_certificate": resource_tagging_tagged_resource_object_custom_certificate_output, - "resource-tagging_tagged_resource_object_custom_hostname": resource_tagging_tagged_resource_object_custom_hostname_output, - "resource-tagging_tagged_resource_object_cws_deployment": resource_tagging_tagged_resource_object_cws_deployment_output, - "resource-tagging_tagged_resource_object_cws_policy": resource_tagging_tagged_resource_object_cws_policy_output, - "resource-tagging_tagged_resource_object_cws_policy_set": resource_tagging_tagged_resource_object_cws_policy_set_output, - "resource-tagging_tagged_resource_object_cws_workload": resource_tagging_tagged_resource_object_cws_workload_output, - "resource-tagging_tagged_resource_object_d1_database": resource_tagging_tagged_resource_object_d1_database_output, - "resource-tagging_tagged_resource_object_device": resource_tagging_tagged_resource_object_device_output, - "resource-tagging_tagged_resource_object_dns_record": resource_tagging_tagged_resource_object_dns_record_output, - "resource-tagging_tagged_resource_object_durable_object_namespace": resource_tagging_tagged_resource_object_durable_object_namespace_output, - "resource-tagging_tagged_resource_object_gateway_list": resource_tagging_tagged_resource_object_gateway_list_output, - "resource-tagging_tagged_resource_object_gateway_rule": resource_tagging_tagged_resource_object_gateway_rule_output, - "resource-tagging_tagged_resource_object_healthcheck": resource_tagging_tagged_resource_object_healthcheck_output, - "resource-tagging_tagged_resource_object_image": resource_tagging_tagged_resource_object_image_output, - "resource-tagging_tagged_resource_object_infrastructure_target": resource_tagging_tagged_resource_object_infrastructure_target_output, - "resource-tagging_tagged_resource_object_kv_namespace": resource_tagging_tagged_resource_object_kv_namespace_output, - "resource-tagging_tagged_resource_object_load_balancer": resource_tagging_tagged_resource_object_load_balancer_output, - "resource-tagging_tagged_resource_object_load_balancer_monitor": resource_tagging_tagged_resource_object_load_balancer_monitor_output, - "resource-tagging_tagged_resource_object_load_balancer_pool": resource_tagging_tagged_resource_object_load_balancer_pool_output, - "resource-tagging_tagged_resource_object_managed_client_certificate": resource_tagging_tagged_resource_object_managed_client_certificate_output, - "resource-tagging_tagged_resource_object_namespace_worker": resource_tagging_tagged_resource_object_namespace_worker_output, - "resource-tagging_tagged_resource_object_pages_project": resource_tagging_tagged_resource_object_pages_project_output, - "resource-tagging_tagged_resource_object_queue": resource_tagging_tagged_resource_object_queue_output, - "resource-tagging_tagged_resource_object_r2_bucket": resource_tagging_tagged_resource_object_r2_bucket_output, - "resource-tagging_tagged_resource_object_resource_share": resource_tagging_tagged_resource_object_resource_share_output, - "resource-tagging_tagged_resource_object_stream_live_input": resource_tagging_tagged_resource_object_stream_live_input_output, - "resource-tagging_tagged_resource_object_stream_video": resource_tagging_tagged_resource_object_stream_video_output, - "resource-tagging_tagged_resource_object_vectorize_index": resource_tagging_tagged_resource_object_vectorize_index_output, - "resource-tagging_tagged_resource_object_worker": resource_tagging_tagged_resource_object_worker_output, - "resource-tagging_tagged_resource_object_worker_route": resource_tagging_tagged_resource_object_worker_route_output, - "resource-tagging_tagged_resource_object_worker_version": resource_tagging_tagged_resource_object_worker_version_output, - "resource-tagging_tagged_resource_object_worker_version_base": resource_tagging_tagged_resource_object_worker_version_base_output, - "resource-tagging_tagged_resource_object_zone": resource_tagging_tagged_resource_object_zone_output, - "resource-tagging_tagged_resource_object_zone_level_base": resource_tagging_tagged_resource_object_zone_level_base_output, - "resource-tagging_tagged_resource_object_zone_ruleset": resource_tagging_tagged_resource_object_zone_ruleset_output, - "resource-tagging_tagged_resource_response_single": resource_tagging_tagged_resource_response_single_output, - "resource-tagging_tags": resource_tagging_tags_output, - "resource-tagging_tags_updated_at": resource_tagging_tags_updated_at_output, - "resource-tagging_worker_id": resource_tagging_worker_id_output, - "resource-tagging_zone_id": resource_tagging_zone_id_output, + "resource-tagging_access_application_id": resource$$tagging_access_application_id, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, + "resource-tagging_etag": resource$$tagging_etag, + "resource-tagging_identifier": resource$$tagging_identifier, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, + "resource-tagging_resource_id": resource$$tagging_resource_id, + "resource-tagging_resource_name": resource$$tagging_resource_name, + "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, + "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, + "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, + "resource-tagging_tagged_resource_object_access_application_policy_base": resource$$tagging_tagged_resource_object_access_application_policy_base, + "resource-tagging_tagged_resource_object_access_group": resource$$tagging_tagged_resource_object_access_group, + "resource-tagging_tagged_resource_object_access_service_token": resource$$tagging_tagged_resource_object_access_service_token, + "resource-tagging_tagged_resource_object_account": resource$$tagging_tagged_resource_object_account, + "resource-tagging_tagged_resource_object_account_level_base": resource$$tagging_tagged_resource_object_account_level_base, + "resource-tagging_tagged_resource_object_account_ruleset": resource$$tagging_tagged_resource_object_account_ruleset, + "resource-tagging_tagged_resource_object_ai_gateway": resource$$tagging_tagged_resource_object_ai_gateway, + "resource-tagging_tagged_resource_object_ai_search_instance": resource$$tagging_tagged_resource_object_ai_search_instance, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource$$tagging_tagged_resource_object_ai_search_namespace, + "resource-tagging_tagged_resource_object_alerting_policy": resource$$tagging_tagged_resource_object_alerting_policy, + "resource-tagging_tagged_resource_object_alerting_webhook": resource$$tagging_tagged_resource_object_alerting_webhook, + "resource-tagging_tagged_resource_object_api_gateway_operation": resource$$tagging_tagged_resource_object_api_gateway_operation, + "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource$$tagging_tagged_resource_object_cloudflared_tunnel, + "resource-tagging_tagged_resource_object_custom_certificate": resource$$tagging_tagged_resource_object_custom_certificate, + "resource-tagging_tagged_resource_object_custom_hostname": resource$$tagging_tagged_resource_object_custom_hostname, + "resource-tagging_tagged_resource_object_cws_deployment": resource$$tagging_tagged_resource_object_cws_deployment, + "resource-tagging_tagged_resource_object_cws_policy": resource$$tagging_tagged_resource_object_cws_policy, + "resource-tagging_tagged_resource_object_cws_policy_set": resource$$tagging_tagged_resource_object_cws_policy_set, + "resource-tagging_tagged_resource_object_cws_workload": resource$$tagging_tagged_resource_object_cws_workload, + "resource-tagging_tagged_resource_object_d1_database": resource$$tagging_tagged_resource_object_d1_database, + "resource-tagging_tagged_resource_object_device": resource$$tagging_tagged_resource_object_device, + "resource-tagging_tagged_resource_object_dns_record": resource$$tagging_tagged_resource_object_dns_record, + "resource-tagging_tagged_resource_object_durable_object_namespace": resource$$tagging_tagged_resource_object_durable_object_namespace, + "resource-tagging_tagged_resource_object_gateway_list": resource$$tagging_tagged_resource_object_gateway_list, + "resource-tagging_tagged_resource_object_gateway_rule": resource$$tagging_tagged_resource_object_gateway_rule, + "resource-tagging_tagged_resource_object_healthcheck": resource$$tagging_tagged_resource_object_healthcheck, + "resource-tagging_tagged_resource_object_image": resource$$tagging_tagged_resource_object_image, + "resource-tagging_tagged_resource_object_infrastructure_target": resource$$tagging_tagged_resource_object_infrastructure_target, + "resource-tagging_tagged_resource_object_kv_namespace": resource$$tagging_tagged_resource_object_kv_namespace, + "resource-tagging_tagged_resource_object_load_balancer": resource$$tagging_tagged_resource_object_load_balancer, + "resource-tagging_tagged_resource_object_load_balancer_monitor": resource$$tagging_tagged_resource_object_load_balancer_monitor, + "resource-tagging_tagged_resource_object_load_balancer_pool": resource$$tagging_tagged_resource_object_load_balancer_pool, + "resource-tagging_tagged_resource_object_managed_client_certificate": resource$$tagging_tagged_resource_object_managed_client_certificate, + "resource-tagging_tagged_resource_object_namespace_worker": resource$$tagging_tagged_resource_object_namespace_worker, + "resource-tagging_tagged_resource_object_pages_project": resource$$tagging_tagged_resource_object_pages_project, + "resource-tagging_tagged_resource_object_queue": resource$$tagging_tagged_resource_object_queue, + "resource-tagging_tagged_resource_object_r2_bucket": resource$$tagging_tagged_resource_object_r2_bucket, + "resource-tagging_tagged_resource_object_resource_share": resource$$tagging_tagged_resource_object_resource_share, + "resource-tagging_tagged_resource_object_stream_live_input": resource$$tagging_tagged_resource_object_stream_live_input, + "resource-tagging_tagged_resource_object_stream_video": resource$$tagging_tagged_resource_object_stream_video, + "resource-tagging_tagged_resource_object_vectorize_index": resource$$tagging_tagged_resource_object_vectorize_index, + "resource-tagging_tagged_resource_object_worker": resource$$tagging_tagged_resource_object_worker, + "resource-tagging_tagged_resource_object_worker_route": resource$$tagging_tagged_resource_object_worker_route, + "resource-tagging_tagged_resource_object_worker_version": resource$$tagging_tagged_resource_object_worker_version, + "resource-tagging_tagged_resource_object_worker_version_base": resource$$tagging_tagged_resource_object_worker_version_base, + "resource-tagging_tagged_resource_object_zone": resource$$tagging_tagged_resource_object_zone, + "resource-tagging_tagged_resource_object_zone_level_base": resource$$tagging_tagged_resource_object_zone_level_base, + "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, + "resource-tagging_tagged_resource_response_single": resource$$tagging_tagged_resource_response_single, + "resource-tagging_tags": resource$$tagging_tags, + "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, + "resource-tagging_worker_id": resource$$tagging_worker_id, + "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/tags`, query: [ - ["resource_id", args["resource_id"], true], - ["resource_type", args["resource_type"], true], - ["worker_id", args["worker_id"], true], + ["resource_id", param(args, "query", "resource_id"), true], + ["resource_type", param(args, "query", "resource_type"), true], + ["worker_id", param(args, "query", "worker_id"), true], ], }), }, { - name: "tags_account_resources_update", + name: "tags_accountResources_update", title: "Set tags for an account or zone-level resource", description: "Creates or updates tags for a specific account or zone-level resource. Replaces all existing tags for the resource.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/resource-tagging_account_id", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/resource-tagging_set_tags_request_account_level" }, - "if_match": { - "description": "ETag value for optimistic concurrency control. When provided, the server will\nverify the current resource ETag matches before applying the write. Returns\n412 Precondition Failed if the resource has been modified since the ETag was\nobtained. Omit this header for unconditional writes.\n", - "type": "string" + "headers": { + "properties": { + "If-Match": { + "description": "ETag value for optimistic concurrency control. When provided, the server will\nverify the current resource ETag matches before applying the write. Returns\n412 Precondition Failed if the resource has been modified since the ETag was\nobtained. Omit this header for unconditional writes.\n", + "type": "string" + } + }, + "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/resource-tagging_account_id", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "resource-tagging_account_id": resource_tagging_account_id, - "resource-tagging_account_resource_type_base_enum": resource_tagging_account_resource_type_base_enum, - "resource-tagging_account_resource_type_worker_version_enum": resource_tagging_account_resource_type_worker_version_enum, - "resource-tagging_delete_tags_request_account_level_base": resource_tagging_delete_tags_request_account_level_base, - "resource-tagging_delete_tags_request_account_level_worker_version": resource_tagging_delete_tags_request_account_level_worker_version, - "resource-tagging_identifier": resource_tagging_identifier, - "resource-tagging_resource_id": resource_tagging_resource_id, - "resource-tagging_set_tags_request_account_level": resource_tagging_set_tags_request_account_level, - "resource-tagging_set_tags_request_account_level_base": resource_tagging_set_tags_request_account_level_base, - "resource-tagging_set_tags_request_account_level_worker_version": resource_tagging_set_tags_request_account_level_worker_version, - "resource-tagging_tags": resource_tagging_tags, - "resource-tagging_worker_id": resource_tagging_worker_id, + "resource-tagging_account_id": resource$$tagging_account_id, + "resource-tagging_account_resource_type_base_enum": resource$$tagging_account_resource_type_base_enum, + "resource-tagging_account_resource_type_worker_version_enum": resource$$tagging_account_resource_type_worker_version_enum, + "resource-tagging_delete_tags_request_account_level_base": resource$$tagging_delete_tags_request_account_level_base, + "resource-tagging_delete_tags_request_account_level_worker_version": resource$$tagging_delete_tags_request_account_level_worker_version, + "resource-tagging_identifier": resource$$tagging_identifier$, + "resource-tagging_resource_id": resource$$tagging_resource_id$, + "resource-tagging_set_tags_request_account_level": resource$$tagging_set_tags_request_account_level, + "resource-tagging_set_tags_request_account_level_base": resource$$tagging_set_tags_request_account_level_base, + "resource-tagging_set_tags_request_account_level_worker_version": resource$$tagging_set_tags_request_account_level_worker_version, + "resource-tagging_tags": resource$$tagging_tags$, + "resource-tagging_worker_id": resource$$tagging_worker_id$, }, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tagged_resource_response_single", $defs: { - "resource-tagging_access_application_id": resource_tagging_access_application_id_output, - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_etag": resource_tagging_etag_output, - "resource-tagging_identifier": resource_tagging_identifier_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_namespace_worker_navigation": resource_tagging_namespace_worker_navigation_output, - "resource-tagging_resource_id": resource_tagging_resource_id_output, - "resource-tagging_resource_name": resource_tagging_resource_name_output, - "resource-tagging_tagged_resource_object": resource_tagging_tagged_resource_object_output, - "resource-tagging_tagged_resource_object_access_application": resource_tagging_tagged_resource_object_access_application_output, - "resource-tagging_tagged_resource_object_access_application_policy": resource_tagging_tagged_resource_object_access_application_policy_output, - "resource-tagging_tagged_resource_object_access_application_policy_base": resource_tagging_tagged_resource_object_access_application_policy_base_output, - "resource-tagging_tagged_resource_object_access_group": resource_tagging_tagged_resource_object_access_group_output, - "resource-tagging_tagged_resource_object_access_service_token": resource_tagging_tagged_resource_object_access_service_token_output, - "resource-tagging_tagged_resource_object_account": resource_tagging_tagged_resource_object_account_output, - "resource-tagging_tagged_resource_object_account_level_base": resource_tagging_tagged_resource_object_account_level_base_output, - "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, - "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource_tagging_tagged_resource_object_cloudflared_tunnel_output, - "resource-tagging_tagged_resource_object_custom_certificate": resource_tagging_tagged_resource_object_custom_certificate_output, - "resource-tagging_tagged_resource_object_custom_hostname": resource_tagging_tagged_resource_object_custom_hostname_output, - "resource-tagging_tagged_resource_object_cws_deployment": resource_tagging_tagged_resource_object_cws_deployment_output, - "resource-tagging_tagged_resource_object_cws_policy": resource_tagging_tagged_resource_object_cws_policy_output, - "resource-tagging_tagged_resource_object_cws_policy_set": resource_tagging_tagged_resource_object_cws_policy_set_output, - "resource-tagging_tagged_resource_object_cws_workload": resource_tagging_tagged_resource_object_cws_workload_output, - "resource-tagging_tagged_resource_object_d1_database": resource_tagging_tagged_resource_object_d1_database_output, - "resource-tagging_tagged_resource_object_device": resource_tagging_tagged_resource_object_device_output, - "resource-tagging_tagged_resource_object_dns_record": resource_tagging_tagged_resource_object_dns_record_output, - "resource-tagging_tagged_resource_object_durable_object_namespace": resource_tagging_tagged_resource_object_durable_object_namespace_output, - "resource-tagging_tagged_resource_object_gateway_list": resource_tagging_tagged_resource_object_gateway_list_output, - "resource-tagging_tagged_resource_object_gateway_rule": resource_tagging_tagged_resource_object_gateway_rule_output, - "resource-tagging_tagged_resource_object_healthcheck": resource_tagging_tagged_resource_object_healthcheck_output, - "resource-tagging_tagged_resource_object_image": resource_tagging_tagged_resource_object_image_output, - "resource-tagging_tagged_resource_object_infrastructure_target": resource_tagging_tagged_resource_object_infrastructure_target_output, - "resource-tagging_tagged_resource_object_kv_namespace": resource_tagging_tagged_resource_object_kv_namespace_output, - "resource-tagging_tagged_resource_object_load_balancer": resource_tagging_tagged_resource_object_load_balancer_output, - "resource-tagging_tagged_resource_object_load_balancer_monitor": resource_tagging_tagged_resource_object_load_balancer_monitor_output, - "resource-tagging_tagged_resource_object_load_balancer_pool": resource_tagging_tagged_resource_object_load_balancer_pool_output, - "resource-tagging_tagged_resource_object_managed_client_certificate": resource_tagging_tagged_resource_object_managed_client_certificate_output, - "resource-tagging_tagged_resource_object_namespace_worker": resource_tagging_tagged_resource_object_namespace_worker_output, - "resource-tagging_tagged_resource_object_pages_project": resource_tagging_tagged_resource_object_pages_project_output, - "resource-tagging_tagged_resource_object_queue": resource_tagging_tagged_resource_object_queue_output, - "resource-tagging_tagged_resource_object_r2_bucket": resource_tagging_tagged_resource_object_r2_bucket_output, - "resource-tagging_tagged_resource_object_resource_share": resource_tagging_tagged_resource_object_resource_share_output, - "resource-tagging_tagged_resource_object_stream_live_input": resource_tagging_tagged_resource_object_stream_live_input_output, - "resource-tagging_tagged_resource_object_stream_video": resource_tagging_tagged_resource_object_stream_video_output, - "resource-tagging_tagged_resource_object_vectorize_index": resource_tagging_tagged_resource_object_vectorize_index_output, - "resource-tagging_tagged_resource_object_worker": resource_tagging_tagged_resource_object_worker_output, - "resource-tagging_tagged_resource_object_worker_route": resource_tagging_tagged_resource_object_worker_route_output, - "resource-tagging_tagged_resource_object_worker_version": resource_tagging_tagged_resource_object_worker_version_output, - "resource-tagging_tagged_resource_object_worker_version_base": resource_tagging_tagged_resource_object_worker_version_base_output, - "resource-tagging_tagged_resource_object_zone": resource_tagging_tagged_resource_object_zone_output, - "resource-tagging_tagged_resource_object_zone_level_base": resource_tagging_tagged_resource_object_zone_level_base_output, - "resource-tagging_tagged_resource_object_zone_ruleset": resource_tagging_tagged_resource_object_zone_ruleset_output, - "resource-tagging_tagged_resource_response_single": resource_tagging_tagged_resource_response_single_output, - "resource-tagging_tags": resource_tagging_tags_output, - "resource-tagging_tags_updated_at": resource_tagging_tags_updated_at_output, - "resource-tagging_worker_id": resource_tagging_worker_id_output, - "resource-tagging_zone_id": resource_tagging_zone_id_output, + "resource-tagging_access_application_id": resource$$tagging_access_application_id, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_etag": resource$$tagging_etag, + "resource-tagging_identifier": resource$$tagging_identifier, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, + "resource-tagging_resource_id": resource$$tagging_resource_id, + "resource-tagging_resource_name": resource$$tagging_resource_name, + "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, + "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, + "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, + "resource-tagging_tagged_resource_object_access_application_policy_base": resource$$tagging_tagged_resource_object_access_application_policy_base, + "resource-tagging_tagged_resource_object_access_group": resource$$tagging_tagged_resource_object_access_group, + "resource-tagging_tagged_resource_object_access_service_token": resource$$tagging_tagged_resource_object_access_service_token, + "resource-tagging_tagged_resource_object_account": resource$$tagging_tagged_resource_object_account, + "resource-tagging_tagged_resource_object_account_level_base": resource$$tagging_tagged_resource_object_account_level_base, + "resource-tagging_tagged_resource_object_account_ruleset": resource$$tagging_tagged_resource_object_account_ruleset, + "resource-tagging_tagged_resource_object_ai_gateway": resource$$tagging_tagged_resource_object_ai_gateway, + "resource-tagging_tagged_resource_object_ai_search_instance": resource$$tagging_tagged_resource_object_ai_search_instance, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource$$tagging_tagged_resource_object_ai_search_namespace, + "resource-tagging_tagged_resource_object_alerting_policy": resource$$tagging_tagged_resource_object_alerting_policy, + "resource-tagging_tagged_resource_object_alerting_webhook": resource$$tagging_tagged_resource_object_alerting_webhook, + "resource-tagging_tagged_resource_object_api_gateway_operation": resource$$tagging_tagged_resource_object_api_gateway_operation, + "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource$$tagging_tagged_resource_object_cloudflared_tunnel, + "resource-tagging_tagged_resource_object_custom_certificate": resource$$tagging_tagged_resource_object_custom_certificate, + "resource-tagging_tagged_resource_object_custom_hostname": resource$$tagging_tagged_resource_object_custom_hostname, + "resource-tagging_tagged_resource_object_cws_deployment": resource$$tagging_tagged_resource_object_cws_deployment, + "resource-tagging_tagged_resource_object_cws_policy": resource$$tagging_tagged_resource_object_cws_policy, + "resource-tagging_tagged_resource_object_cws_policy_set": resource$$tagging_tagged_resource_object_cws_policy_set, + "resource-tagging_tagged_resource_object_cws_workload": resource$$tagging_tagged_resource_object_cws_workload, + "resource-tagging_tagged_resource_object_d1_database": resource$$tagging_tagged_resource_object_d1_database, + "resource-tagging_tagged_resource_object_device": resource$$tagging_tagged_resource_object_device, + "resource-tagging_tagged_resource_object_dns_record": resource$$tagging_tagged_resource_object_dns_record, + "resource-tagging_tagged_resource_object_durable_object_namespace": resource$$tagging_tagged_resource_object_durable_object_namespace, + "resource-tagging_tagged_resource_object_gateway_list": resource$$tagging_tagged_resource_object_gateway_list, + "resource-tagging_tagged_resource_object_gateway_rule": resource$$tagging_tagged_resource_object_gateway_rule, + "resource-tagging_tagged_resource_object_healthcheck": resource$$tagging_tagged_resource_object_healthcheck, + "resource-tagging_tagged_resource_object_image": resource$$tagging_tagged_resource_object_image, + "resource-tagging_tagged_resource_object_infrastructure_target": resource$$tagging_tagged_resource_object_infrastructure_target, + "resource-tagging_tagged_resource_object_kv_namespace": resource$$tagging_tagged_resource_object_kv_namespace, + "resource-tagging_tagged_resource_object_load_balancer": resource$$tagging_tagged_resource_object_load_balancer, + "resource-tagging_tagged_resource_object_load_balancer_monitor": resource$$tagging_tagged_resource_object_load_balancer_monitor, + "resource-tagging_tagged_resource_object_load_balancer_pool": resource$$tagging_tagged_resource_object_load_balancer_pool, + "resource-tagging_tagged_resource_object_managed_client_certificate": resource$$tagging_tagged_resource_object_managed_client_certificate, + "resource-tagging_tagged_resource_object_namespace_worker": resource$$tagging_tagged_resource_object_namespace_worker, + "resource-tagging_tagged_resource_object_pages_project": resource$$tagging_tagged_resource_object_pages_project, + "resource-tagging_tagged_resource_object_queue": resource$$tagging_tagged_resource_object_queue, + "resource-tagging_tagged_resource_object_r2_bucket": resource$$tagging_tagged_resource_object_r2_bucket, + "resource-tagging_tagged_resource_object_resource_share": resource$$tagging_tagged_resource_object_resource_share, + "resource-tagging_tagged_resource_object_stream_live_input": resource$$tagging_tagged_resource_object_stream_live_input, + "resource-tagging_tagged_resource_object_stream_video": resource$$tagging_tagged_resource_object_stream_video, + "resource-tagging_tagged_resource_object_vectorize_index": resource$$tagging_tagged_resource_object_vectorize_index, + "resource-tagging_tagged_resource_object_worker": resource$$tagging_tagged_resource_object_worker, + "resource-tagging_tagged_resource_object_worker_route": resource$$tagging_tagged_resource_object_worker_route, + "resource-tagging_tagged_resource_object_worker_version": resource$$tagging_tagged_resource_object_worker_version, + "resource-tagging_tagged_resource_object_worker_version_base": resource$$tagging_tagged_resource_object_worker_version_base, + "resource-tagging_tagged_resource_object_zone": resource$$tagging_tagged_resource_object_zone, + "resource-tagging_tagged_resource_object_zone_level_base": resource$$tagging_tagged_resource_object_zone_level_base, + "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, + "resource-tagging_tagged_resource_response_single": resource$$tagging_tagged_resource_response_single, + "resource-tagging_tags": resource$$tagging_tags, + "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, + "resource-tagging_worker_id": resource$$tagging_worker_id, + "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, annotations: { @@ -552,77 +594,77 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_access_application_id": resource_tagging_access_application_id_output, - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, - "resource-tagging_etag": resource_tagging_etag_output, - "resource-tagging_identifier": resource_tagging_identifier_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_namespace_worker_navigation": resource_tagging_namespace_worker_navigation_output, - "resource-tagging_resource_id": resource_tagging_resource_id_output, - "resource-tagging_resource_name": resource_tagging_resource_name_output, - "resource-tagging_tagged_resource_object": resource_tagging_tagged_resource_object_output, - "resource-tagging_tagged_resource_object_access_application": resource_tagging_tagged_resource_object_access_application_output, - "resource-tagging_tagged_resource_object_access_application_policy": resource_tagging_tagged_resource_object_access_application_policy_output, - "resource-tagging_tagged_resource_object_access_application_policy_base": resource_tagging_tagged_resource_object_access_application_policy_base_output, - "resource-tagging_tagged_resource_object_access_group": resource_tagging_tagged_resource_object_access_group_output, - "resource-tagging_tagged_resource_object_access_service_token": resource_tagging_tagged_resource_object_access_service_token_output, - "resource-tagging_tagged_resource_object_account": resource_tagging_tagged_resource_object_account_output, - "resource-tagging_tagged_resource_object_account_level_base": resource_tagging_tagged_resource_object_account_level_base_output, - "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, - "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource_tagging_tagged_resource_object_cloudflared_tunnel_output, - "resource-tagging_tagged_resource_object_custom_certificate": resource_tagging_tagged_resource_object_custom_certificate_output, - "resource-tagging_tagged_resource_object_custom_hostname": resource_tagging_tagged_resource_object_custom_hostname_output, - "resource-tagging_tagged_resource_object_cws_deployment": resource_tagging_tagged_resource_object_cws_deployment_output, - "resource-tagging_tagged_resource_object_cws_policy": resource_tagging_tagged_resource_object_cws_policy_output, - "resource-tagging_tagged_resource_object_cws_policy_set": resource_tagging_tagged_resource_object_cws_policy_set_output, - "resource-tagging_tagged_resource_object_cws_workload": resource_tagging_tagged_resource_object_cws_workload_output, - "resource-tagging_tagged_resource_object_d1_database": resource_tagging_tagged_resource_object_d1_database_output, - "resource-tagging_tagged_resource_object_device": resource_tagging_tagged_resource_object_device_output, - "resource-tagging_tagged_resource_object_dns_record": resource_tagging_tagged_resource_object_dns_record_output, - "resource-tagging_tagged_resource_object_durable_object_namespace": resource_tagging_tagged_resource_object_durable_object_namespace_output, - "resource-tagging_tagged_resource_object_gateway_list": resource_tagging_tagged_resource_object_gateway_list_output, - "resource-tagging_tagged_resource_object_gateway_rule": resource_tagging_tagged_resource_object_gateway_rule_output, - "resource-tagging_tagged_resource_object_healthcheck": resource_tagging_tagged_resource_object_healthcheck_output, - "resource-tagging_tagged_resource_object_image": resource_tagging_tagged_resource_object_image_output, - "resource-tagging_tagged_resource_object_infrastructure_target": resource_tagging_tagged_resource_object_infrastructure_target_output, - "resource-tagging_tagged_resource_object_kv_namespace": resource_tagging_tagged_resource_object_kv_namespace_output, - "resource-tagging_tagged_resource_object_load_balancer": resource_tagging_tagged_resource_object_load_balancer_output, - "resource-tagging_tagged_resource_object_load_balancer_monitor": resource_tagging_tagged_resource_object_load_balancer_monitor_output, - "resource-tagging_tagged_resource_object_load_balancer_pool": resource_tagging_tagged_resource_object_load_balancer_pool_output, - "resource-tagging_tagged_resource_object_managed_client_certificate": resource_tagging_tagged_resource_object_managed_client_certificate_output, - "resource-tagging_tagged_resource_object_namespace_worker": resource_tagging_tagged_resource_object_namespace_worker_output, - "resource-tagging_tagged_resource_object_pages_project": resource_tagging_tagged_resource_object_pages_project_output, - "resource-tagging_tagged_resource_object_queue": resource_tagging_tagged_resource_object_queue_output, - "resource-tagging_tagged_resource_object_r2_bucket": resource_tagging_tagged_resource_object_r2_bucket_output, - "resource-tagging_tagged_resource_object_resource_share": resource_tagging_tagged_resource_object_resource_share_output, - "resource-tagging_tagged_resource_object_stream_live_input": resource_tagging_tagged_resource_object_stream_live_input_output, - "resource-tagging_tagged_resource_object_stream_video": resource_tagging_tagged_resource_object_stream_video_output, - "resource-tagging_tagged_resource_object_vectorize_index": resource_tagging_tagged_resource_object_vectorize_index_output, - "resource-tagging_tagged_resource_object_worker": resource_tagging_tagged_resource_object_worker_output, - "resource-tagging_tagged_resource_object_worker_route": resource_tagging_tagged_resource_object_worker_route_output, - "resource-tagging_tagged_resource_object_worker_version": resource_tagging_tagged_resource_object_worker_version_output, - "resource-tagging_tagged_resource_object_worker_version_base": resource_tagging_tagged_resource_object_worker_version_base_output, - "resource-tagging_tagged_resource_object_zone": resource_tagging_tagged_resource_object_zone_output, - "resource-tagging_tagged_resource_object_zone_level_base": resource_tagging_tagged_resource_object_zone_level_base_output, - "resource-tagging_tagged_resource_object_zone_ruleset": resource_tagging_tagged_resource_object_zone_ruleset_output, - "resource-tagging_tagged_resource_response_single": resource_tagging_tagged_resource_response_single_output, - "resource-tagging_tags": resource_tagging_tags_output, - "resource-tagging_tags_updated_at": resource_tagging_tags_updated_at_output, - "resource-tagging_worker_id": resource_tagging_worker_id_output, - "resource-tagging_zone_id": resource_tagging_zone_id_output, + "resource-tagging_access_application_id": resource$$tagging_access_application_id, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, + "resource-tagging_etag": resource$$tagging_etag, + "resource-tagging_identifier": resource$$tagging_identifier, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, + "resource-tagging_resource_id": resource$$tagging_resource_id, + "resource-tagging_resource_name": resource$$tagging_resource_name, + "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, + "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, + "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, + "resource-tagging_tagged_resource_object_access_application_policy_base": resource$$tagging_tagged_resource_object_access_application_policy_base, + "resource-tagging_tagged_resource_object_access_group": resource$$tagging_tagged_resource_object_access_group, + "resource-tagging_tagged_resource_object_access_service_token": resource$$tagging_tagged_resource_object_access_service_token, + "resource-tagging_tagged_resource_object_account": resource$$tagging_tagged_resource_object_account, + "resource-tagging_tagged_resource_object_account_level_base": resource$$tagging_tagged_resource_object_account_level_base, + "resource-tagging_tagged_resource_object_account_ruleset": resource$$tagging_tagged_resource_object_account_ruleset, + "resource-tagging_tagged_resource_object_ai_gateway": resource$$tagging_tagged_resource_object_ai_gateway, + "resource-tagging_tagged_resource_object_ai_search_instance": resource$$tagging_tagged_resource_object_ai_search_instance, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource$$tagging_tagged_resource_object_ai_search_namespace, + "resource-tagging_tagged_resource_object_alerting_policy": resource$$tagging_tagged_resource_object_alerting_policy, + "resource-tagging_tagged_resource_object_alerting_webhook": resource$$tagging_tagged_resource_object_alerting_webhook, + "resource-tagging_tagged_resource_object_api_gateway_operation": resource$$tagging_tagged_resource_object_api_gateway_operation, + "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource$$tagging_tagged_resource_object_cloudflared_tunnel, + "resource-tagging_tagged_resource_object_custom_certificate": resource$$tagging_tagged_resource_object_custom_certificate, + "resource-tagging_tagged_resource_object_custom_hostname": resource$$tagging_tagged_resource_object_custom_hostname, + "resource-tagging_tagged_resource_object_cws_deployment": resource$$tagging_tagged_resource_object_cws_deployment, + "resource-tagging_tagged_resource_object_cws_policy": resource$$tagging_tagged_resource_object_cws_policy, + "resource-tagging_tagged_resource_object_cws_policy_set": resource$$tagging_tagged_resource_object_cws_policy_set, + "resource-tagging_tagged_resource_object_cws_workload": resource$$tagging_tagged_resource_object_cws_workload, + "resource-tagging_tagged_resource_object_d1_database": resource$$tagging_tagged_resource_object_d1_database, + "resource-tagging_tagged_resource_object_device": resource$$tagging_tagged_resource_object_device, + "resource-tagging_tagged_resource_object_dns_record": resource$$tagging_tagged_resource_object_dns_record, + "resource-tagging_tagged_resource_object_durable_object_namespace": resource$$tagging_tagged_resource_object_durable_object_namespace, + "resource-tagging_tagged_resource_object_gateway_list": resource$$tagging_tagged_resource_object_gateway_list, + "resource-tagging_tagged_resource_object_gateway_rule": resource$$tagging_tagged_resource_object_gateway_rule, + "resource-tagging_tagged_resource_object_healthcheck": resource$$tagging_tagged_resource_object_healthcheck, + "resource-tagging_tagged_resource_object_image": resource$$tagging_tagged_resource_object_image, + "resource-tagging_tagged_resource_object_infrastructure_target": resource$$tagging_tagged_resource_object_infrastructure_target, + "resource-tagging_tagged_resource_object_kv_namespace": resource$$tagging_tagged_resource_object_kv_namespace, + "resource-tagging_tagged_resource_object_load_balancer": resource$$tagging_tagged_resource_object_load_balancer, + "resource-tagging_tagged_resource_object_load_balancer_monitor": resource$$tagging_tagged_resource_object_load_balancer_monitor, + "resource-tagging_tagged_resource_object_load_balancer_pool": resource$$tagging_tagged_resource_object_load_balancer_pool, + "resource-tagging_tagged_resource_object_managed_client_certificate": resource$$tagging_tagged_resource_object_managed_client_certificate, + "resource-tagging_tagged_resource_object_namespace_worker": resource$$tagging_tagged_resource_object_namespace_worker, + "resource-tagging_tagged_resource_object_pages_project": resource$$tagging_tagged_resource_object_pages_project, + "resource-tagging_tagged_resource_object_queue": resource$$tagging_tagged_resource_object_queue, + "resource-tagging_tagged_resource_object_r2_bucket": resource$$tagging_tagged_resource_object_r2_bucket, + "resource-tagging_tagged_resource_object_resource_share": resource$$tagging_tagged_resource_object_resource_share, + "resource-tagging_tagged_resource_object_stream_live_input": resource$$tagging_tagged_resource_object_stream_live_input, + "resource-tagging_tagged_resource_object_stream_video": resource$$tagging_tagged_resource_object_stream_video, + "resource-tagging_tagged_resource_object_vectorize_index": resource$$tagging_tagged_resource_object_vectorize_index, + "resource-tagging_tagged_resource_object_worker": resource$$tagging_tagged_resource_object_worker, + "resource-tagging_tagged_resource_object_worker_route": resource$$tagging_tagged_resource_object_worker_route, + "resource-tagging_tagged_resource_object_worker_version": resource$$tagging_tagged_resource_object_worker_version, + "resource-tagging_tagged_resource_object_worker_version_base": resource$$tagging_tagged_resource_object_worker_version_base, + "resource-tagging_tagged_resource_object_zone": resource$$tagging_tagged_resource_object_zone, + "resource-tagging_tagged_resource_object_zone_level_base": resource$$tagging_tagged_resource_object_zone_level_base, + "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, + "resource-tagging_tagged_resource_response_single": resource$$tagging_tagged_resource_response_single, + "resource-tagging_tags": resource$$tagging_tags, + "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, + "resource-tagging_worker_id": resource$$tagging_worker_id, + "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/tags`, headers: [ - ["If-Match", args["if_match"]], + ["If-Match", param(args, "headers", "If-Match")], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/tags/keys/outputs.ts b/src/generated/forge-mcp/tags/keys/outputs.ts index 4762d1fa7..bfc78f9c7 100644 --- a/src/generated/forge-mcp/tags/keys/outputs.ts +++ b/src/generated/forge-mcp/tags/keys/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `resource-tagging_tag_keys_response_collection` in responses. */ -export const resource_tagging_tag_keys_response_collection_output: JsonSchema = { +export const resource$$tagging_tag_keys_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-tagging_api-response-common" diff --git a/src/generated/forge-mcp/tags/keys/tools.ts b/src/generated/forge-mcp/tags/keys/tools.ts index 640f00d86..f14bdc016 100644 --- a/src/generated/forge-mcp/tags/keys/tools.ts +++ b/src/generated/forge-mcp/tags/keys/tools.ts @@ -1,18 +1,18 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource_tagging_api_response_common_failure_output, - resource_tagging_api_response_common_output, - resource_tagging_cursor_result_info_output, - resource_tagging_messages_output, + resource$$tagging_api$$response$$common, + resource$$tagging_api$$response$$common$$failure, + resource$$tagging_cursor_result_info, + resource$$tagging_messages, } from "../outputs.js"; import { - resource_tagging_account_id, - resource_tagging_identifier, + resource$$tagging_account_id, + resource$$tagging_identifier, } from "../schemas.js"; -import { resource_tagging_tag_keys_response_collection_output } from "./outputs.js"; +import { resource$$tagging_tag_keys_response_collection } from "./outputs.js"; /** * The tools of `tags.keys`. @@ -25,29 +25,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-tagging_account_id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-tagging_account_id" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "cursor": { - "description": "Cursor for pagination.", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Cursor for pagination.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "resource-tagging_account_id": resource_tagging_account_id, - "resource-tagging_identifier": resource_tagging_identifier, + "resource-tagging_account_id": resource$$tagging_account_id, + "resource-tagging_identifier": resource$$tagging_identifier, }, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tag_keys_response_collection", $defs: { - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_tag_keys_response_collection": resource_tagging_tag_keys_response_collection_output, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_tag_keys_response_collection": resource$$tagging_tag_keys_response_collection, }, }, annotations: { @@ -81,17 +94,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, - "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_tag_keys_response_collection": resource_tagging_tag_keys_response_collection_output, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, + "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_tag_keys_response_collection": resource$$tagging_tag_keys_response_collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tags/keys`, query: [ - ["cursor", args["cursor"], true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/tags/outputs.ts b/src/generated/forge-mcp/tags/outputs.ts index 6d0964cb9..1800572a0 100644 --- a/src/generated/forge-mcp/tags/outputs.ts +++ b/src/generated/forge-mcp/tags/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `resource-tagging_access_application_id` in responses. */ -export const resource_tagging_access_application_id_output: JsonSchema = { +export const resource$$tagging_access_application_id: JsonSchema = { "format": "uuid", "type": "string" }; @@ -14,7 +14,7 @@ export const resource_tagging_access_application_id_output: JsonSchema = { /** * The schema of `resource-tagging_api-response-common` in responses. */ -export const resource_tagging_api_response_common_output: JsonSchema = { +export const resource$$tagging_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/resource-tagging_messages" @@ -40,7 +40,7 @@ export const resource_tagging_api_response_common_output: JsonSchema = { /** * The schema of `resource-tagging_api-response-common-failure` in responses. */ -export const resource_tagging_api_response_common_failure_output: JsonSchema = { +export const resource$$tagging_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/resource-tagging_messages" @@ -70,7 +70,7 @@ export const resource_tagging_api_response_common_failure_output: JsonSchema = { /** * The schema of `resource-tagging_cursor_result_info` in responses. */ -export const resource_tagging_cursor_result_info_output: JsonSchema = { +export const resource$$tagging_cursor_result_info: JsonSchema = { "properties": { "count": { "type": "integer" @@ -92,21 +92,21 @@ export const resource_tagging_cursor_result_info_output: JsonSchema = { /** * The schema of `resource-tagging_etag` in responses. */ -export const resource_tagging_etag_output: JsonSchema = { +export const resource$$tagging_etag: JsonSchema = { "type": "string" }; /** * The schema of `resource-tagging_identifier` in responses. */ -export const resource_tagging_identifier_output: JsonSchema = { +export const resource$$tagging_identifier: JsonSchema = { "type": "string" }; /** * The schema of `resource-tagging_messages` in responses. */ -export const resource_tagging_messages_output: JsonSchema = { +export const resource$$tagging_messages: JsonSchema = { "items": { "properties": { "code": { @@ -139,7 +139,7 @@ export const resource_tagging_messages_output: JsonSchema = { /** * The schema of `resource-tagging_namespace_worker_navigation` in responses. */ -export const resource_tagging_namespace_worker_navigation_output: JsonSchema = { +export const resource$$tagging_namespace_worker_navigation: JsonSchema = { "properties": { "namespace_id": { "type": "string" @@ -162,21 +162,21 @@ export const resource_tagging_namespace_worker_navigation_output: JsonSchema = { /** * The schema of `resource-tagging_resource_id` in responses. */ -export const resource_tagging_resource_id_output: JsonSchema = { +export const resource$$tagging_resource_id: JsonSchema = { "type": "string" }; /** * The schema of `resource-tagging_resource_name` in responses. */ -export const resource_tagging_resource_name_output: JsonSchema = { +export const resource$$tagging_resource_name: JsonSchema = { "type": "string" }; /** * The schema of `resource-tagging_tagged_resource_object` in responses. */ -export const resource_tagging_tagged_resource_object_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/resource-tagging_tagged_resource_object_access_application" @@ -323,7 +323,7 @@ export const resource_tagging_tagged_resource_object_output: JsonSchema = { * The schema of `resource-tagging_tagged_resource_object_access_application` in * responses. */ -export const resource_tagging_tagged_resource_object_access_application_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_access_application: JsonSchema = { "allOf": [ { "properties": { @@ -350,7 +350,7 @@ export const resource_tagging_tagged_resource_object_access_application_output: * `resource-tagging_tagged_resource_object_access_application_policy` in * responses. */ -export const resource_tagging_tagged_resource_object_access_application_policy_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_access_application_policy: JsonSchema = { "allOf": [ { "properties": { @@ -377,7 +377,7 @@ export const resource_tagging_tagged_resource_object_access_application_policy_o * `resource-tagging_tagged_resource_object_access_application_policy_base` in * responses. */ -export const resource_tagging_tagged_resource_object_access_application_policy_base_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_access_application_policy_base: JsonSchema = { "properties": { "access_application_id": { "$ref": "#/$defs/resource-tagging_access_application_id" @@ -416,7 +416,7 @@ export const resource_tagging_tagged_resource_object_access_application_policy_b * The schema of `resource-tagging_tagged_resource_object_access_group` in * responses. */ -export const resource_tagging_tagged_resource_object_access_group_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_access_group: JsonSchema = { "allOf": [ { "properties": { @@ -442,7 +442,7 @@ export const resource_tagging_tagged_resource_object_access_group_output: JsonSc * The schema of `resource-tagging_tagged_resource_object_access_service_token` * in responses. */ -export const resource_tagging_tagged_resource_object_access_service_token_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_access_service_token: JsonSchema = { "allOf": [ { "properties": { @@ -467,7 +467,7 @@ export const resource_tagging_tagged_resource_object_access_service_token_output /** * The schema of `resource-tagging_tagged_resource_object_account` in responses. */ -export const resource_tagging_tagged_resource_object_account_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_account: JsonSchema = { "allOf": [ { "properties": { @@ -493,7 +493,7 @@ export const resource_tagging_tagged_resource_object_account_output: JsonSchema * The schema of `resource-tagging_tagged_resource_object_account_level_base` in * responses. */ -export const resource_tagging_tagged_resource_object_account_level_base_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_account_level_base: JsonSchema = { "properties": { "etag": { "$ref": "#/$defs/resource-tagging_etag" @@ -524,7 +524,7 @@ export const resource_tagging_tagged_resource_object_account_level_base_output: * The schema of `resource-tagging_tagged_resource_object_account_ruleset` in * responses. */ -export const resource_tagging_tagged_resource_object_account_ruleset_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_account_ruleset: JsonSchema = { "allOf": [ { "properties": { @@ -550,7 +550,7 @@ export const resource_tagging_tagged_resource_object_account_ruleset_output: Jso * The schema of `resource-tagging_tagged_resource_object_ai_gateway` in * responses. */ -export const resource_tagging_tagged_resource_object_ai_gateway_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_ai_gateway: JsonSchema = { "allOf": [ { "properties": { @@ -576,7 +576,7 @@ export const resource_tagging_tagged_resource_object_ai_gateway_output: JsonSche * The schema of `resource-tagging_tagged_resource_object_ai_search_instance` in * responses. */ -export const resource_tagging_tagged_resource_object_ai_search_instance_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_ai_search_instance: JsonSchema = { "allOf": [ { "properties": { @@ -602,7 +602,7 @@ 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 = { +export const resource$$tagging_tagged_resource_object_ai_search_namespace: JsonSchema = { "allOf": [ { "properties": { @@ -628,7 +628,7 @@ export const resource_tagging_tagged_resource_object_ai_search_namespace_output: * The schema of `resource-tagging_tagged_resource_object_alerting_policy` in * responses. */ -export const resource_tagging_tagged_resource_object_alerting_policy_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_alerting_policy: JsonSchema = { "allOf": [ { "properties": { @@ -654,7 +654,7 @@ export const resource_tagging_tagged_resource_object_alerting_policy_output: Jso * The schema of `resource-tagging_tagged_resource_object_alerting_webhook` in * responses. */ -export const resource_tagging_tagged_resource_object_alerting_webhook_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_alerting_webhook: JsonSchema = { "allOf": [ { "properties": { @@ -680,7 +680,7 @@ export const resource_tagging_tagged_resource_object_alerting_webhook_output: Js * The schema of `resource-tagging_tagged_resource_object_api_gateway_operation` * in responses. */ -export const resource_tagging_tagged_resource_object_api_gateway_operation_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_api_gateway_operation: JsonSchema = { "allOf": [ { "properties": { @@ -706,7 +706,7 @@ export const resource_tagging_tagged_resource_object_api_gateway_operation_outpu * The schema of `resource-tagging_tagged_resource_object_cloudflared_tunnel` in * responses. */ -export const resource_tagging_tagged_resource_object_cloudflared_tunnel_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_cloudflared_tunnel: JsonSchema = { "allOf": [ { "properties": { @@ -732,7 +732,7 @@ export const resource_tagging_tagged_resource_object_cloudflared_tunnel_output: * The schema of `resource-tagging_tagged_resource_object_custom_certificate` in * responses. */ -export const resource_tagging_tagged_resource_object_custom_certificate_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_custom_certificate: JsonSchema = { "allOf": [ { "properties": { @@ -758,7 +758,7 @@ export const resource_tagging_tagged_resource_object_custom_certificate_output: * The schema of `resource-tagging_tagged_resource_object_custom_hostname` in * responses. */ -export const resource_tagging_tagged_resource_object_custom_hostname_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_custom_hostname: JsonSchema = { "allOf": [ { "properties": { @@ -784,7 +784,7 @@ export const resource_tagging_tagged_resource_object_custom_hostname_output: Jso * The schema of `resource-tagging_tagged_resource_object_cws_deployment` in * responses. */ -export const resource_tagging_tagged_resource_object_cws_deployment_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_cws_deployment: JsonSchema = { "allOf": [ { "properties": { @@ -810,7 +810,7 @@ export const resource_tagging_tagged_resource_object_cws_deployment_output: Json * The schema of `resource-tagging_tagged_resource_object_cws_policy` in * responses. */ -export const resource_tagging_tagged_resource_object_cws_policy_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_cws_policy: JsonSchema = { "allOf": [ { "properties": { @@ -836,7 +836,7 @@ export const resource_tagging_tagged_resource_object_cws_policy_output: JsonSche * The schema of `resource-tagging_tagged_resource_object_cws_policy_set` in * responses. */ -export const resource_tagging_tagged_resource_object_cws_policy_set_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_cws_policy_set: JsonSchema = { "allOf": [ { "properties": { @@ -862,7 +862,7 @@ export const resource_tagging_tagged_resource_object_cws_policy_set_output: Json * The schema of `resource-tagging_tagged_resource_object_cws_workload` in * responses. */ -export const resource_tagging_tagged_resource_object_cws_workload_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_cws_workload: JsonSchema = { "allOf": [ { "properties": { @@ -888,7 +888,7 @@ export const resource_tagging_tagged_resource_object_cws_workload_output: JsonSc * The schema of `resource-tagging_tagged_resource_object_d1_database` in * responses. */ -export const resource_tagging_tagged_resource_object_d1_database_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_d1_database: JsonSchema = { "allOf": [ { "properties": { @@ -913,7 +913,7 @@ export const resource_tagging_tagged_resource_object_d1_database_output: JsonSch /** * The schema of `resource-tagging_tagged_resource_object_device` in responses. */ -export const resource_tagging_tagged_resource_object_device_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_device: JsonSchema = { "allOf": [ { "properties": { @@ -939,7 +939,7 @@ export const resource_tagging_tagged_resource_object_device_output: JsonSchema = * The schema of `resource-tagging_tagged_resource_object_dns_record` in * responses. */ -export const resource_tagging_tagged_resource_object_dns_record_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_dns_record: JsonSchema = { "allOf": [ { "properties": { @@ -966,7 +966,7 @@ export const resource_tagging_tagged_resource_object_dns_record_output: JsonSche * `resource-tagging_tagged_resource_object_durable_object_namespace` in * responses. */ -export const resource_tagging_tagged_resource_object_durable_object_namespace_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_durable_object_namespace: JsonSchema = { "allOf": [ { "properties": { @@ -992,7 +992,7 @@ export const resource_tagging_tagged_resource_object_durable_object_namespace_ou * The schema of `resource-tagging_tagged_resource_object_gateway_list` in * responses. */ -export const resource_tagging_tagged_resource_object_gateway_list_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_gateway_list: JsonSchema = { "allOf": [ { "properties": { @@ -1018,7 +1018,7 @@ export const resource_tagging_tagged_resource_object_gateway_list_output: JsonSc * The schema of `resource-tagging_tagged_resource_object_gateway_rule` in * responses. */ -export const resource_tagging_tagged_resource_object_gateway_rule_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_gateway_rule: JsonSchema = { "allOf": [ { "properties": { @@ -1044,7 +1044,7 @@ export const resource_tagging_tagged_resource_object_gateway_rule_output: JsonSc * The schema of `resource-tagging_tagged_resource_object_healthcheck` in * responses. */ -export const resource_tagging_tagged_resource_object_healthcheck_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_healthcheck: JsonSchema = { "allOf": [ { "properties": { @@ -1069,7 +1069,7 @@ export const resource_tagging_tagged_resource_object_healthcheck_output: JsonSch /** * The schema of `resource-tagging_tagged_resource_object_image` in responses. */ -export const resource_tagging_tagged_resource_object_image_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_image: JsonSchema = { "allOf": [ { "properties": { @@ -1095,7 +1095,7 @@ export const resource_tagging_tagged_resource_object_image_output: JsonSchema = * The schema of `resource-tagging_tagged_resource_object_infrastructure_target` * in responses. */ -export const resource_tagging_tagged_resource_object_infrastructure_target_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_infrastructure_target: JsonSchema = { "allOf": [ { "properties": { @@ -1121,7 +1121,7 @@ export const resource_tagging_tagged_resource_object_infrastructure_target_outpu * The schema of `resource-tagging_tagged_resource_object_kv_namespace` in * responses. */ -export const resource_tagging_tagged_resource_object_kv_namespace_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_kv_namespace: JsonSchema = { "allOf": [ { "properties": { @@ -1147,7 +1147,7 @@ export const resource_tagging_tagged_resource_object_kv_namespace_output: JsonSc * The schema of `resource-tagging_tagged_resource_object_load_balancer` in * responses. */ -export const resource_tagging_tagged_resource_object_load_balancer_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_load_balancer: JsonSchema = { "allOf": [ { "properties": { @@ -1173,7 +1173,7 @@ export const resource_tagging_tagged_resource_object_load_balancer_output: JsonS * The schema of `resource-tagging_tagged_resource_object_load_balancer_monitor` * in responses. */ -export const resource_tagging_tagged_resource_object_load_balancer_monitor_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_load_balancer_monitor: JsonSchema = { "allOf": [ { "properties": { @@ -1199,7 +1199,7 @@ export const resource_tagging_tagged_resource_object_load_balancer_monitor_outpu * The schema of `resource-tagging_tagged_resource_object_load_balancer_pool` in * responses. */ -export const resource_tagging_tagged_resource_object_load_balancer_pool_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_load_balancer_pool: JsonSchema = { "allOf": [ { "properties": { @@ -1226,7 +1226,7 @@ export const resource_tagging_tagged_resource_object_load_balancer_pool_output: * `resource-tagging_tagged_resource_object_managed_client_certificate` in * responses. */ -export const resource_tagging_tagged_resource_object_managed_client_certificate_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_managed_client_certificate: JsonSchema = { "allOf": [ { "properties": { @@ -1252,7 +1252,7 @@ export const resource_tagging_tagged_resource_object_managed_client_certificate_ * The schema of `resource-tagging_tagged_resource_object_namespace_worker` in * responses. */ -export const resource_tagging_tagged_resource_object_namespace_worker_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_namespace_worker: JsonSchema = { "allOf": [ { "properties": { @@ -1281,7 +1281,7 @@ export const resource_tagging_tagged_resource_object_namespace_worker_output: Js * The schema of `resource-tagging_tagged_resource_object_pages_project` in * responses. */ -export const resource_tagging_tagged_resource_object_pages_project_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_pages_project: JsonSchema = { "allOf": [ { "properties": { @@ -1306,7 +1306,7 @@ export const resource_tagging_tagged_resource_object_pages_project_output: JsonS /** * The schema of `resource-tagging_tagged_resource_object_queue` in responses. */ -export const resource_tagging_tagged_resource_object_queue_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_queue: JsonSchema = { "allOf": [ { "properties": { @@ -1332,7 +1332,7 @@ export const resource_tagging_tagged_resource_object_queue_output: JsonSchema = * The schema of `resource-tagging_tagged_resource_object_r2_bucket` in * responses. */ -export const resource_tagging_tagged_resource_object_r2_bucket_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_r2_bucket: JsonSchema = { "allOf": [ { "properties": { @@ -1358,7 +1358,7 @@ export const resource_tagging_tagged_resource_object_r2_bucket_output: JsonSchem * The schema of `resource-tagging_tagged_resource_object_resource_share` in * responses. */ -export const resource_tagging_tagged_resource_object_resource_share_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_resource_share: JsonSchema = { "allOf": [ { "properties": { @@ -1384,7 +1384,7 @@ export const resource_tagging_tagged_resource_object_resource_share_output: Json * The schema of `resource-tagging_tagged_resource_object_stream_live_input` in * responses. */ -export const resource_tagging_tagged_resource_object_stream_live_input_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_stream_live_input: JsonSchema = { "allOf": [ { "properties": { @@ -1410,7 +1410,7 @@ export const resource_tagging_tagged_resource_object_stream_live_input_output: J * The schema of `resource-tagging_tagged_resource_object_stream_video` in * responses. */ -export const resource_tagging_tagged_resource_object_stream_video_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_stream_video: JsonSchema = { "allOf": [ { "properties": { @@ -1436,7 +1436,7 @@ export const resource_tagging_tagged_resource_object_stream_video_output: JsonSc * The schema of `resource-tagging_tagged_resource_object_vectorize_index` in * responses. */ -export const resource_tagging_tagged_resource_object_vectorize_index_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_vectorize_index: JsonSchema = { "allOf": [ { "properties": { @@ -1461,7 +1461,7 @@ export const resource_tagging_tagged_resource_object_vectorize_index_output: Jso /** * The schema of `resource-tagging_tagged_resource_object_worker` in responses. */ -export const resource_tagging_tagged_resource_object_worker_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_worker: JsonSchema = { "allOf": [ { "properties": { @@ -1487,7 +1487,7 @@ export const resource_tagging_tagged_resource_object_worker_output: JsonSchema = * The schema of `resource-tagging_tagged_resource_object_worker_route` in * responses. */ -export const resource_tagging_tagged_resource_object_worker_route_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_worker_route: JsonSchema = { "allOf": [ { "properties": { @@ -1513,7 +1513,7 @@ export const resource_tagging_tagged_resource_object_worker_route_output: JsonSc * The schema of `resource-tagging_tagged_resource_object_worker_version` in * responses. */ -export const resource_tagging_tagged_resource_object_worker_version_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_worker_version: JsonSchema = { "allOf": [ { "properties": { @@ -1539,7 +1539,7 @@ export const resource_tagging_tagged_resource_object_worker_version_output: Json * The schema of `resource-tagging_tagged_resource_object_worker_version_base` * in responses. */ -export const resource_tagging_tagged_resource_object_worker_version_base_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_worker_version_base: JsonSchema = { "properties": { "etag": { "$ref": "#/$defs/resource-tagging_etag" @@ -1573,7 +1573,7 @@ export const resource_tagging_tagged_resource_object_worker_version_base_output: /** * The schema of `resource-tagging_tagged_resource_object_zone` in responses. */ -export const resource_tagging_tagged_resource_object_zone_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_zone: JsonSchema = { "allOf": [ { "properties": { @@ -1599,7 +1599,7 @@ export const resource_tagging_tagged_resource_object_zone_output: JsonSchema = { * The schema of `resource-tagging_tagged_resource_object_zone_level_base` in * responses. */ -export const resource_tagging_tagged_resource_object_zone_level_base_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_zone_level_base: JsonSchema = { "properties": { "etag": { "$ref": "#/$defs/resource-tagging_etag" @@ -1634,7 +1634,7 @@ export const resource_tagging_tagged_resource_object_zone_level_base_output: Jso * The schema of `resource-tagging_tagged_resource_object_zone_ruleset` in * responses. */ -export const resource_tagging_tagged_resource_object_zone_ruleset_output: JsonSchema = { +export const resource$$tagging_tagged_resource_object_zone_ruleset: JsonSchema = { "allOf": [ { "properties": { @@ -1659,7 +1659,7 @@ export const resource_tagging_tagged_resource_object_zone_ruleset_output: JsonSc /** * The schema of `resource-tagging_tags` in responses. */ -export const resource_tagging_tags_output: JsonSchema = { +export const resource$$tagging_tags: JsonSchema = { "additionalProperties": { "type": "string" }, @@ -1669,7 +1669,7 @@ export const resource_tagging_tags_output: JsonSchema = { /** * The schema of `resource-tagging_tags_updated_at` in responses. */ -export const resource_tagging_tags_updated_at_output: JsonSchema = { +export const resource$$tagging_tags_updated_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -1677,13 +1677,13 @@ export const resource_tagging_tags_updated_at_output: JsonSchema = { /** * The schema of `resource-tagging_worker_id` in responses. */ -export const resource_tagging_worker_id_output: JsonSchema = { +export const resource$$tagging_worker_id: JsonSchema = { "type": "string" }; /** * The schema of `resource-tagging_zone_id` in responses. */ -export const resource_tagging_zone_id_output: JsonSchema = { +export const resource$$tagging_zone_id: JsonSchema = { "$ref": "#/$defs/resource-tagging_identifier" }; diff --git a/src/generated/forge-mcp/tags/resources/outputs.ts b/src/generated/forge-mcp/tags/resources/outputs.ts index cfedbf1ba..7324e4815 100644 --- a/src/generated/forge-mcp/tags/resources/outputs.ts +++ b/src/generated/forge-mcp/tags/resources/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `resource-tagging_tagged_resource_response_collection` in * responses. */ -export const resource_tagging_tagged_resource_response_collection_output: JsonSchema = { +export const resource$$tagging_tagged_resource_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-tagging_api-response-common" diff --git a/src/generated/forge-mcp/tags/resources/tools.ts b/src/generated/forge-mcp/tags/resources/tools.ts index fcf56bb75..b16f8ad71 100644 --- a/src/generated/forge-mcp/tags/resources/tools.ts +++ b/src/generated/forge-mcp/tags/resources/tools.ts @@ -1,81 +1,81 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource_tagging_access_application_id_output, - resource_tagging_api_response_common_failure_output, - resource_tagging_api_response_common_output, - resource_tagging_cursor_result_info_output, - resource_tagging_etag_output, - resource_tagging_identifier_output, - resource_tagging_messages_output, - resource_tagging_namespace_worker_navigation_output, - resource_tagging_resource_id_output, - resource_tagging_resource_name_output, - resource_tagging_tagged_resource_object_access_application_output, - resource_tagging_tagged_resource_object_access_application_policy_base_output, - resource_tagging_tagged_resource_object_access_application_policy_output, - resource_tagging_tagged_resource_object_access_group_output, - resource_tagging_tagged_resource_object_access_service_token_output, - resource_tagging_tagged_resource_object_account_level_base_output, - resource_tagging_tagged_resource_object_account_output, - 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, - resource_tagging_tagged_resource_object_cloudflared_tunnel_output, - resource_tagging_tagged_resource_object_custom_certificate_output, - resource_tagging_tagged_resource_object_custom_hostname_output, - resource_tagging_tagged_resource_object_cws_deployment_output, - resource_tagging_tagged_resource_object_cws_policy_output, - resource_tagging_tagged_resource_object_cws_policy_set_output, - resource_tagging_tagged_resource_object_cws_workload_output, - resource_tagging_tagged_resource_object_d1_database_output, - resource_tagging_tagged_resource_object_device_output, - resource_tagging_tagged_resource_object_dns_record_output, - resource_tagging_tagged_resource_object_durable_object_namespace_output, - resource_tagging_tagged_resource_object_gateway_list_output, - resource_tagging_tagged_resource_object_gateway_rule_output, - resource_tagging_tagged_resource_object_healthcheck_output, - resource_tagging_tagged_resource_object_image_output, - resource_tagging_tagged_resource_object_infrastructure_target_output, - resource_tagging_tagged_resource_object_kv_namespace_output, - resource_tagging_tagged_resource_object_load_balancer_monitor_output, - resource_tagging_tagged_resource_object_load_balancer_output, - resource_tagging_tagged_resource_object_load_balancer_pool_output, - resource_tagging_tagged_resource_object_managed_client_certificate_output, - resource_tagging_tagged_resource_object_namespace_worker_output, - resource_tagging_tagged_resource_object_output, - resource_tagging_tagged_resource_object_pages_project_output, - resource_tagging_tagged_resource_object_queue_output, - resource_tagging_tagged_resource_object_r2_bucket_output, - resource_tagging_tagged_resource_object_resource_share_output, - resource_tagging_tagged_resource_object_stream_live_input_output, - resource_tagging_tagged_resource_object_stream_video_output, - resource_tagging_tagged_resource_object_vectorize_index_output, - resource_tagging_tagged_resource_object_worker_output, - resource_tagging_tagged_resource_object_worker_route_output, - resource_tagging_tagged_resource_object_worker_version_base_output, - resource_tagging_tagged_resource_object_worker_version_output, - resource_tagging_tagged_resource_object_zone_level_base_output, - resource_tagging_tagged_resource_object_zone_output, - resource_tagging_tagged_resource_object_zone_ruleset_output, - resource_tagging_tags_output, - resource_tagging_tags_updated_at_output, - resource_tagging_worker_id_output, - resource_tagging_zone_id_output, + resource$$tagging_access_application_id, + resource$$tagging_api$$response$$common, + resource$$tagging_api$$response$$common$$failure, + resource$$tagging_cursor_result_info, + resource$$tagging_etag, + resource$$tagging_identifier, + resource$$tagging_messages, + resource$$tagging_namespace_worker_navigation, + resource$$tagging_resource_id, + resource$$tagging_resource_name, + resource$$tagging_tagged_resource_object, + resource$$tagging_tagged_resource_object_access_application, + resource$$tagging_tagged_resource_object_access_application_policy, + resource$$tagging_tagged_resource_object_access_application_policy_base, + resource$$tagging_tagged_resource_object_access_group, + resource$$tagging_tagged_resource_object_access_service_token, + resource$$tagging_tagged_resource_object_account, + resource$$tagging_tagged_resource_object_account_level_base, + resource$$tagging_tagged_resource_object_account_ruleset, + resource$$tagging_tagged_resource_object_ai_gateway, + resource$$tagging_tagged_resource_object_ai_search_instance, + resource$$tagging_tagged_resource_object_ai_search_namespace, + resource$$tagging_tagged_resource_object_alerting_policy, + resource$$tagging_tagged_resource_object_alerting_webhook, + resource$$tagging_tagged_resource_object_api_gateway_operation, + resource$$tagging_tagged_resource_object_cloudflared_tunnel, + resource$$tagging_tagged_resource_object_custom_certificate, + resource$$tagging_tagged_resource_object_custom_hostname, + resource$$tagging_tagged_resource_object_cws_deployment, + resource$$tagging_tagged_resource_object_cws_policy, + resource$$tagging_tagged_resource_object_cws_policy_set, + resource$$tagging_tagged_resource_object_cws_workload, + resource$$tagging_tagged_resource_object_d1_database, + resource$$tagging_tagged_resource_object_device, + resource$$tagging_tagged_resource_object_dns_record, + resource$$tagging_tagged_resource_object_durable_object_namespace, + resource$$tagging_tagged_resource_object_gateway_list, + resource$$tagging_tagged_resource_object_gateway_rule, + resource$$tagging_tagged_resource_object_healthcheck, + resource$$tagging_tagged_resource_object_image, + resource$$tagging_tagged_resource_object_infrastructure_target, + resource$$tagging_tagged_resource_object_kv_namespace, + resource$$tagging_tagged_resource_object_load_balancer, + resource$$tagging_tagged_resource_object_load_balancer_monitor, + resource$$tagging_tagged_resource_object_load_balancer_pool, + resource$$tagging_tagged_resource_object_managed_client_certificate, + resource$$tagging_tagged_resource_object_namespace_worker, + resource$$tagging_tagged_resource_object_pages_project, + resource$$tagging_tagged_resource_object_queue, + resource$$tagging_tagged_resource_object_r2_bucket, + resource$$tagging_tagged_resource_object_resource_share, + resource$$tagging_tagged_resource_object_stream_live_input, + resource$$tagging_tagged_resource_object_stream_video, + resource$$tagging_tagged_resource_object_vectorize_index, + resource$$tagging_tagged_resource_object_worker, + resource$$tagging_tagged_resource_object_worker_route, + resource$$tagging_tagged_resource_object_worker_version, + resource$$tagging_tagged_resource_object_worker_version_base, + resource$$tagging_tagged_resource_object_zone, + resource$$tagging_tagged_resource_object_zone_level_base, + resource$$tagging_tagged_resource_object_zone_ruleset, + resource$$tagging_tags, + resource$$tagging_tags_updated_at, + resource$$tagging_worker_id, + resource$$tagging_zone_id, } from "../outputs.js"; import { - resource_tagging_account_id, - resource_tagging_identifier, - resource_tagging_resource_id, - resource_tagging_resource_type, + resource$$tagging_account_id, + resource$$tagging_identifier as resource$$tagging_identifier$, + resource$$tagging_resource_id as resource$$tagging_resource_id$, + resource$$tagging_resource_type, } from "../schemas.js"; -import { resource_tagging_tagged_resource_response_collection_output } from "./outputs.js"; +import { resource$$tagging_tagged_resource_response_collection } from "./outputs.js"; /** * The tools of `tags.resources`. @@ -88,128 +88,141 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-tagging_account_id" - }, - "case_insensitive": { - "default": false, - "description": "Match `tag` keys and values case-insensitively. Stored casing is unchanged. Example: ?tag=environment=production&case_insensitive=true", - "type": "boolean" - }, - "cursor": { - "description": "Cursor for pagination.", - "type": "string" - }, - "id": { - "description": "Filter by resource ID. Can be repeated up to 50 times to filter by multiple IDs. Example: ?id=abc&id=def", - "items": { - "$ref": "#/$defs/resource-tagging_resource_id" - }, - "maxItems": 50, - "type": "array" - }, - "include_navigation": { - "default": false, - "description": "Resolve current namespace Worker navigation by immutable child tag. Optional read-only navigation is omitted for deleted or unresolved children. Lookups are limited to this page, at most five concurrently, with a shared two-second budget. Tag identity, ETag, filters and pagination are unchanged; name filtering still uses the stored resource name. Defaults to false.", - "type": "boolean" - }, - "name": { - "description": "Filter by resource name. Performs a case-insensitive substring match. Example: ?name=my-zone", - "type": "string" - }, - "tag": { - "description": "Filter resources by tag criteria. This parameter can be repeated multiple times, with AND logic between parameters.\n\nSupported syntax:\n- **Key-only**: `tag=` - Resource must have the tag key (e.g., `tag=production`)\n- **Key-value**: `tag==` - Resource must have the tag with specific value (e.g., `tag=env=prod`)\n- **Multiple values (OR)**: `tag==,` - Resource must have tag with any of the values (e.g., `tag=env=prod,staging`)\n- **Negate key-only**: `tag=!` - Resource must not have the tag key (e.g., `tag=!archived`)\n- **Negate key-value**: `tag=!=` - Resource must not have the tag with specific value (e.g., `tag=region!=us-west-1`)\n\nMultiple tag parameters are combined with AND logic.\n", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-tagging_account_id" + } }, - "type": "array" + "required": [ + "account_id" + ], + "type": "object" }, - "type": { - "description": "Filter by resource type. Can be repeated to filter by multiple types (OR logic). Example: ?type=zone&type=worker", - "items": { - "$ref": "#/$defs/resource-tagging_resource_type" + "query": { + "properties": { + "case_insensitive": { + "default": false, + "description": "Match `tag` keys and values case-insensitively. Stored casing is unchanged. Example: ?tag=environment=production&case_insensitive=true", + "type": "boolean" + }, + "cursor": { + "description": "Cursor for pagination.", + "type": "string" + }, + "id": { + "description": "Filter by resource ID. Can be repeated up to 50 times to filter by multiple IDs. Example: ?id=abc&id=def", + "items": { + "$ref": "#/$defs/resource-tagging_resource_id" + }, + "maxItems": 50, + "type": "array" + }, + "include_navigation": { + "default": false, + "description": "Resolve current namespace Worker navigation by immutable child tag. Optional read-only navigation is omitted for deleted or unresolved children. Lookups are limited to this page, at most five concurrently, with a shared two-second budget. Tag identity, ETag, filters and pagination are unchanged; name filtering still uses the stored resource name. Defaults to false.", + "type": "boolean" + }, + "name": { + "description": "Filter by resource name. Performs a case-insensitive substring match. Example: ?name=my-zone", + "type": "string" + }, + "tag": { + "description": "Filter resources by tag criteria. This parameter can be repeated multiple times, with AND logic between parameters.\n\nSupported syntax:\n- **Key-only**: `tag=` - Resource must have the tag key (e.g., `tag=production`)\n- **Key-value**: `tag==` - Resource must have the tag with specific value (e.g., `tag=env=prod`)\n- **Multiple values (OR)**: `tag==,` - Resource must have tag with any of the values (e.g., `tag=env=prod,staging`)\n- **Negate key-only**: `tag=!` - Resource must not have the tag key (e.g., `tag=!archived`)\n- **Negate key-value**: `tag=!=` - Resource must not have the tag with specific value (e.g., `tag=region!=us-west-1`)\n\nMultiple tag parameters are combined with AND logic.\n", + "items": { + "type": "string" + }, + "type": "array" + }, + "type": { + "description": "Filter by resource type. Can be repeated to filter by multiple types (OR logic). Example: ?type=zone&type=worker", + "items": { + "$ref": "#/$defs/resource-tagging_resource_type" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "resource-tagging_account_id": resource_tagging_account_id, - "resource-tagging_identifier": resource_tagging_identifier, - "resource-tagging_resource_id": resource_tagging_resource_id, - "resource-tagging_resource_type": resource_tagging_resource_type, + "resource-tagging_account_id": resource$$tagging_account_id, + "resource-tagging_identifier": resource$$tagging_identifier$, + "resource-tagging_resource_id": resource$$tagging_resource_id$, + "resource-tagging_resource_type": resource$$tagging_resource_type, }, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tagged_resource_response_collection", $defs: { - "resource-tagging_access_application_id": resource_tagging_access_application_id_output, - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, - "resource-tagging_etag": resource_tagging_etag_output, - "resource-tagging_identifier": resource_tagging_identifier_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_namespace_worker_navigation": resource_tagging_namespace_worker_navigation_output, - "resource-tagging_resource_id": resource_tagging_resource_id_output, - "resource-tagging_resource_name": resource_tagging_resource_name_output, - "resource-tagging_tagged_resource_object": resource_tagging_tagged_resource_object_output, - "resource-tagging_tagged_resource_object_access_application": resource_tagging_tagged_resource_object_access_application_output, - "resource-tagging_tagged_resource_object_access_application_policy": resource_tagging_tagged_resource_object_access_application_policy_output, - "resource-tagging_tagged_resource_object_access_application_policy_base": resource_tagging_tagged_resource_object_access_application_policy_base_output, - "resource-tagging_tagged_resource_object_access_group": resource_tagging_tagged_resource_object_access_group_output, - "resource-tagging_tagged_resource_object_access_service_token": resource_tagging_tagged_resource_object_access_service_token_output, - "resource-tagging_tagged_resource_object_account": resource_tagging_tagged_resource_object_account_output, - "resource-tagging_tagged_resource_object_account_level_base": resource_tagging_tagged_resource_object_account_level_base_output, - "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, - "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource_tagging_tagged_resource_object_cloudflared_tunnel_output, - "resource-tagging_tagged_resource_object_custom_certificate": resource_tagging_tagged_resource_object_custom_certificate_output, - "resource-tagging_tagged_resource_object_custom_hostname": resource_tagging_tagged_resource_object_custom_hostname_output, - "resource-tagging_tagged_resource_object_cws_deployment": resource_tagging_tagged_resource_object_cws_deployment_output, - "resource-tagging_tagged_resource_object_cws_policy": resource_tagging_tagged_resource_object_cws_policy_output, - "resource-tagging_tagged_resource_object_cws_policy_set": resource_tagging_tagged_resource_object_cws_policy_set_output, - "resource-tagging_tagged_resource_object_cws_workload": resource_tagging_tagged_resource_object_cws_workload_output, - "resource-tagging_tagged_resource_object_d1_database": resource_tagging_tagged_resource_object_d1_database_output, - "resource-tagging_tagged_resource_object_device": resource_tagging_tagged_resource_object_device_output, - "resource-tagging_tagged_resource_object_dns_record": resource_tagging_tagged_resource_object_dns_record_output, - "resource-tagging_tagged_resource_object_durable_object_namespace": resource_tagging_tagged_resource_object_durable_object_namespace_output, - "resource-tagging_tagged_resource_object_gateway_list": resource_tagging_tagged_resource_object_gateway_list_output, - "resource-tagging_tagged_resource_object_gateway_rule": resource_tagging_tagged_resource_object_gateway_rule_output, - "resource-tagging_tagged_resource_object_healthcheck": resource_tagging_tagged_resource_object_healthcheck_output, - "resource-tagging_tagged_resource_object_image": resource_tagging_tagged_resource_object_image_output, - "resource-tagging_tagged_resource_object_infrastructure_target": resource_tagging_tagged_resource_object_infrastructure_target_output, - "resource-tagging_tagged_resource_object_kv_namespace": resource_tagging_tagged_resource_object_kv_namespace_output, - "resource-tagging_tagged_resource_object_load_balancer": resource_tagging_tagged_resource_object_load_balancer_output, - "resource-tagging_tagged_resource_object_load_balancer_monitor": resource_tagging_tagged_resource_object_load_balancer_monitor_output, - "resource-tagging_tagged_resource_object_load_balancer_pool": resource_tagging_tagged_resource_object_load_balancer_pool_output, - "resource-tagging_tagged_resource_object_managed_client_certificate": resource_tagging_tagged_resource_object_managed_client_certificate_output, - "resource-tagging_tagged_resource_object_namespace_worker": resource_tagging_tagged_resource_object_namespace_worker_output, - "resource-tagging_tagged_resource_object_pages_project": resource_tagging_tagged_resource_object_pages_project_output, - "resource-tagging_tagged_resource_object_queue": resource_tagging_tagged_resource_object_queue_output, - "resource-tagging_tagged_resource_object_r2_bucket": resource_tagging_tagged_resource_object_r2_bucket_output, - "resource-tagging_tagged_resource_object_resource_share": resource_tagging_tagged_resource_object_resource_share_output, - "resource-tagging_tagged_resource_object_stream_live_input": resource_tagging_tagged_resource_object_stream_live_input_output, - "resource-tagging_tagged_resource_object_stream_video": resource_tagging_tagged_resource_object_stream_video_output, - "resource-tagging_tagged_resource_object_vectorize_index": resource_tagging_tagged_resource_object_vectorize_index_output, - "resource-tagging_tagged_resource_object_worker": resource_tagging_tagged_resource_object_worker_output, - "resource-tagging_tagged_resource_object_worker_route": resource_tagging_tagged_resource_object_worker_route_output, - "resource-tagging_tagged_resource_object_worker_version": resource_tagging_tagged_resource_object_worker_version_output, - "resource-tagging_tagged_resource_object_worker_version_base": resource_tagging_tagged_resource_object_worker_version_base_output, - "resource-tagging_tagged_resource_object_zone": resource_tagging_tagged_resource_object_zone_output, - "resource-tagging_tagged_resource_object_zone_level_base": resource_tagging_tagged_resource_object_zone_level_base_output, - "resource-tagging_tagged_resource_object_zone_ruleset": resource_tagging_tagged_resource_object_zone_ruleset_output, - "resource-tagging_tagged_resource_response_collection": resource_tagging_tagged_resource_response_collection_output, - "resource-tagging_tags": resource_tagging_tags_output, - "resource-tagging_tags_updated_at": resource_tagging_tags_updated_at_output, - "resource-tagging_worker_id": resource_tagging_worker_id_output, - "resource-tagging_zone_id": resource_tagging_zone_id_output, + "resource-tagging_access_application_id": resource$$tagging_access_application_id, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, + "resource-tagging_etag": resource$$tagging_etag, + "resource-tagging_identifier": resource$$tagging_identifier, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, + "resource-tagging_resource_id": resource$$tagging_resource_id, + "resource-tagging_resource_name": resource$$tagging_resource_name, + "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, + "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, + "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, + "resource-tagging_tagged_resource_object_access_application_policy_base": resource$$tagging_tagged_resource_object_access_application_policy_base, + "resource-tagging_tagged_resource_object_access_group": resource$$tagging_tagged_resource_object_access_group, + "resource-tagging_tagged_resource_object_access_service_token": resource$$tagging_tagged_resource_object_access_service_token, + "resource-tagging_tagged_resource_object_account": resource$$tagging_tagged_resource_object_account, + "resource-tagging_tagged_resource_object_account_level_base": resource$$tagging_tagged_resource_object_account_level_base, + "resource-tagging_tagged_resource_object_account_ruleset": resource$$tagging_tagged_resource_object_account_ruleset, + "resource-tagging_tagged_resource_object_ai_gateway": resource$$tagging_tagged_resource_object_ai_gateway, + "resource-tagging_tagged_resource_object_ai_search_instance": resource$$tagging_tagged_resource_object_ai_search_instance, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource$$tagging_tagged_resource_object_ai_search_namespace, + "resource-tagging_tagged_resource_object_alerting_policy": resource$$tagging_tagged_resource_object_alerting_policy, + "resource-tagging_tagged_resource_object_alerting_webhook": resource$$tagging_tagged_resource_object_alerting_webhook, + "resource-tagging_tagged_resource_object_api_gateway_operation": resource$$tagging_tagged_resource_object_api_gateway_operation, + "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource$$tagging_tagged_resource_object_cloudflared_tunnel, + "resource-tagging_tagged_resource_object_custom_certificate": resource$$tagging_tagged_resource_object_custom_certificate, + "resource-tagging_tagged_resource_object_custom_hostname": resource$$tagging_tagged_resource_object_custom_hostname, + "resource-tagging_tagged_resource_object_cws_deployment": resource$$tagging_tagged_resource_object_cws_deployment, + "resource-tagging_tagged_resource_object_cws_policy": resource$$tagging_tagged_resource_object_cws_policy, + "resource-tagging_tagged_resource_object_cws_policy_set": resource$$tagging_tagged_resource_object_cws_policy_set, + "resource-tagging_tagged_resource_object_cws_workload": resource$$tagging_tagged_resource_object_cws_workload, + "resource-tagging_tagged_resource_object_d1_database": resource$$tagging_tagged_resource_object_d1_database, + "resource-tagging_tagged_resource_object_device": resource$$tagging_tagged_resource_object_device, + "resource-tagging_tagged_resource_object_dns_record": resource$$tagging_tagged_resource_object_dns_record, + "resource-tagging_tagged_resource_object_durable_object_namespace": resource$$tagging_tagged_resource_object_durable_object_namespace, + "resource-tagging_tagged_resource_object_gateway_list": resource$$tagging_tagged_resource_object_gateway_list, + "resource-tagging_tagged_resource_object_gateway_rule": resource$$tagging_tagged_resource_object_gateway_rule, + "resource-tagging_tagged_resource_object_healthcheck": resource$$tagging_tagged_resource_object_healthcheck, + "resource-tagging_tagged_resource_object_image": resource$$tagging_tagged_resource_object_image, + "resource-tagging_tagged_resource_object_infrastructure_target": resource$$tagging_tagged_resource_object_infrastructure_target, + "resource-tagging_tagged_resource_object_kv_namespace": resource$$tagging_tagged_resource_object_kv_namespace, + "resource-tagging_tagged_resource_object_load_balancer": resource$$tagging_tagged_resource_object_load_balancer, + "resource-tagging_tagged_resource_object_load_balancer_monitor": resource$$tagging_tagged_resource_object_load_balancer_monitor, + "resource-tagging_tagged_resource_object_load_balancer_pool": resource$$tagging_tagged_resource_object_load_balancer_pool, + "resource-tagging_tagged_resource_object_managed_client_certificate": resource$$tagging_tagged_resource_object_managed_client_certificate, + "resource-tagging_tagged_resource_object_namespace_worker": resource$$tagging_tagged_resource_object_namespace_worker, + "resource-tagging_tagged_resource_object_pages_project": resource$$tagging_tagged_resource_object_pages_project, + "resource-tagging_tagged_resource_object_queue": resource$$tagging_tagged_resource_object_queue, + "resource-tagging_tagged_resource_object_r2_bucket": resource$$tagging_tagged_resource_object_r2_bucket, + "resource-tagging_tagged_resource_object_resource_share": resource$$tagging_tagged_resource_object_resource_share, + "resource-tagging_tagged_resource_object_stream_live_input": resource$$tagging_tagged_resource_object_stream_live_input, + "resource-tagging_tagged_resource_object_stream_video": resource$$tagging_tagged_resource_object_stream_video, + "resource-tagging_tagged_resource_object_vectorize_index": resource$$tagging_tagged_resource_object_vectorize_index, + "resource-tagging_tagged_resource_object_worker": resource$$tagging_tagged_resource_object_worker, + "resource-tagging_tagged_resource_object_worker_route": resource$$tagging_tagged_resource_object_worker_route, + "resource-tagging_tagged_resource_object_worker_version": resource$$tagging_tagged_resource_object_worker_version, + "resource-tagging_tagged_resource_object_worker_version_base": resource$$tagging_tagged_resource_object_worker_version_base, + "resource-tagging_tagged_resource_object_zone": resource$$tagging_tagged_resource_object_zone, + "resource-tagging_tagged_resource_object_zone_level_base": resource$$tagging_tagged_resource_object_zone_level_base, + "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, + "resource-tagging_tagged_resource_response_collection": resource$$tagging_tagged_resource_response_collection, + "resource-tagging_tags": resource$$tagging_tags, + "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, + "resource-tagging_worker_id": resource$$tagging_worker_id, + "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, annotations: { @@ -243,84 +256,84 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_access_application_id": resource_tagging_access_application_id_output, - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, - "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, - "resource-tagging_etag": resource_tagging_etag_output, - "resource-tagging_identifier": resource_tagging_identifier_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_namespace_worker_navigation": resource_tagging_namespace_worker_navigation_output, - "resource-tagging_resource_id": resource_tagging_resource_id_output, - "resource-tagging_resource_name": resource_tagging_resource_name_output, - "resource-tagging_tagged_resource_object": resource_tagging_tagged_resource_object_output, - "resource-tagging_tagged_resource_object_access_application": resource_tagging_tagged_resource_object_access_application_output, - "resource-tagging_tagged_resource_object_access_application_policy": resource_tagging_tagged_resource_object_access_application_policy_output, - "resource-tagging_tagged_resource_object_access_application_policy_base": resource_tagging_tagged_resource_object_access_application_policy_base_output, - "resource-tagging_tagged_resource_object_access_group": resource_tagging_tagged_resource_object_access_group_output, - "resource-tagging_tagged_resource_object_access_service_token": resource_tagging_tagged_resource_object_access_service_token_output, - "resource-tagging_tagged_resource_object_account": resource_tagging_tagged_resource_object_account_output, - "resource-tagging_tagged_resource_object_account_level_base": resource_tagging_tagged_resource_object_account_level_base_output, - "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, - "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource_tagging_tagged_resource_object_cloudflared_tunnel_output, - "resource-tagging_tagged_resource_object_custom_certificate": resource_tagging_tagged_resource_object_custom_certificate_output, - "resource-tagging_tagged_resource_object_custom_hostname": resource_tagging_tagged_resource_object_custom_hostname_output, - "resource-tagging_tagged_resource_object_cws_deployment": resource_tagging_tagged_resource_object_cws_deployment_output, - "resource-tagging_tagged_resource_object_cws_policy": resource_tagging_tagged_resource_object_cws_policy_output, - "resource-tagging_tagged_resource_object_cws_policy_set": resource_tagging_tagged_resource_object_cws_policy_set_output, - "resource-tagging_tagged_resource_object_cws_workload": resource_tagging_tagged_resource_object_cws_workload_output, - "resource-tagging_tagged_resource_object_d1_database": resource_tagging_tagged_resource_object_d1_database_output, - "resource-tagging_tagged_resource_object_device": resource_tagging_tagged_resource_object_device_output, - "resource-tagging_tagged_resource_object_dns_record": resource_tagging_tagged_resource_object_dns_record_output, - "resource-tagging_tagged_resource_object_durable_object_namespace": resource_tagging_tagged_resource_object_durable_object_namespace_output, - "resource-tagging_tagged_resource_object_gateway_list": resource_tagging_tagged_resource_object_gateway_list_output, - "resource-tagging_tagged_resource_object_gateway_rule": resource_tagging_tagged_resource_object_gateway_rule_output, - "resource-tagging_tagged_resource_object_healthcheck": resource_tagging_tagged_resource_object_healthcheck_output, - "resource-tagging_tagged_resource_object_image": resource_tagging_tagged_resource_object_image_output, - "resource-tagging_tagged_resource_object_infrastructure_target": resource_tagging_tagged_resource_object_infrastructure_target_output, - "resource-tagging_tagged_resource_object_kv_namespace": resource_tagging_tagged_resource_object_kv_namespace_output, - "resource-tagging_tagged_resource_object_load_balancer": resource_tagging_tagged_resource_object_load_balancer_output, - "resource-tagging_tagged_resource_object_load_balancer_monitor": resource_tagging_tagged_resource_object_load_balancer_monitor_output, - "resource-tagging_tagged_resource_object_load_balancer_pool": resource_tagging_tagged_resource_object_load_balancer_pool_output, - "resource-tagging_tagged_resource_object_managed_client_certificate": resource_tagging_tagged_resource_object_managed_client_certificate_output, - "resource-tagging_tagged_resource_object_namespace_worker": resource_tagging_tagged_resource_object_namespace_worker_output, - "resource-tagging_tagged_resource_object_pages_project": resource_tagging_tagged_resource_object_pages_project_output, - "resource-tagging_tagged_resource_object_queue": resource_tagging_tagged_resource_object_queue_output, - "resource-tagging_tagged_resource_object_r2_bucket": resource_tagging_tagged_resource_object_r2_bucket_output, - "resource-tagging_tagged_resource_object_resource_share": resource_tagging_tagged_resource_object_resource_share_output, - "resource-tagging_tagged_resource_object_stream_live_input": resource_tagging_tagged_resource_object_stream_live_input_output, - "resource-tagging_tagged_resource_object_stream_video": resource_tagging_tagged_resource_object_stream_video_output, - "resource-tagging_tagged_resource_object_vectorize_index": resource_tagging_tagged_resource_object_vectorize_index_output, - "resource-tagging_tagged_resource_object_worker": resource_tagging_tagged_resource_object_worker_output, - "resource-tagging_tagged_resource_object_worker_route": resource_tagging_tagged_resource_object_worker_route_output, - "resource-tagging_tagged_resource_object_worker_version": resource_tagging_tagged_resource_object_worker_version_output, - "resource-tagging_tagged_resource_object_worker_version_base": resource_tagging_tagged_resource_object_worker_version_base_output, - "resource-tagging_tagged_resource_object_zone": resource_tagging_tagged_resource_object_zone_output, - "resource-tagging_tagged_resource_object_zone_level_base": resource_tagging_tagged_resource_object_zone_level_base_output, - "resource-tagging_tagged_resource_object_zone_ruleset": resource_tagging_tagged_resource_object_zone_ruleset_output, - "resource-tagging_tagged_resource_response_collection": resource_tagging_tagged_resource_response_collection_output, - "resource-tagging_tags": resource_tagging_tags_output, - "resource-tagging_tags_updated_at": resource_tagging_tags_updated_at_output, - "resource-tagging_worker_id": resource_tagging_worker_id_output, - "resource-tagging_zone_id": resource_tagging_zone_id_output, + "resource-tagging_access_application_id": resource$$tagging_access_application_id, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, + "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, + "resource-tagging_etag": resource$$tagging_etag, + "resource-tagging_identifier": resource$$tagging_identifier, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, + "resource-tagging_resource_id": resource$$tagging_resource_id, + "resource-tagging_resource_name": resource$$tagging_resource_name, + "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, + "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, + "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, + "resource-tagging_tagged_resource_object_access_application_policy_base": resource$$tagging_tagged_resource_object_access_application_policy_base, + "resource-tagging_tagged_resource_object_access_group": resource$$tagging_tagged_resource_object_access_group, + "resource-tagging_tagged_resource_object_access_service_token": resource$$tagging_tagged_resource_object_access_service_token, + "resource-tagging_tagged_resource_object_account": resource$$tagging_tagged_resource_object_account, + "resource-tagging_tagged_resource_object_account_level_base": resource$$tagging_tagged_resource_object_account_level_base, + "resource-tagging_tagged_resource_object_account_ruleset": resource$$tagging_tagged_resource_object_account_ruleset, + "resource-tagging_tagged_resource_object_ai_gateway": resource$$tagging_tagged_resource_object_ai_gateway, + "resource-tagging_tagged_resource_object_ai_search_instance": resource$$tagging_tagged_resource_object_ai_search_instance, + "resource-tagging_tagged_resource_object_ai_search_namespace": resource$$tagging_tagged_resource_object_ai_search_namespace, + "resource-tagging_tagged_resource_object_alerting_policy": resource$$tagging_tagged_resource_object_alerting_policy, + "resource-tagging_tagged_resource_object_alerting_webhook": resource$$tagging_tagged_resource_object_alerting_webhook, + "resource-tagging_tagged_resource_object_api_gateway_operation": resource$$tagging_tagged_resource_object_api_gateway_operation, + "resource-tagging_tagged_resource_object_cloudflared_tunnel": resource$$tagging_tagged_resource_object_cloudflared_tunnel, + "resource-tagging_tagged_resource_object_custom_certificate": resource$$tagging_tagged_resource_object_custom_certificate, + "resource-tagging_tagged_resource_object_custom_hostname": resource$$tagging_tagged_resource_object_custom_hostname, + "resource-tagging_tagged_resource_object_cws_deployment": resource$$tagging_tagged_resource_object_cws_deployment, + "resource-tagging_tagged_resource_object_cws_policy": resource$$tagging_tagged_resource_object_cws_policy, + "resource-tagging_tagged_resource_object_cws_policy_set": resource$$tagging_tagged_resource_object_cws_policy_set, + "resource-tagging_tagged_resource_object_cws_workload": resource$$tagging_tagged_resource_object_cws_workload, + "resource-tagging_tagged_resource_object_d1_database": resource$$tagging_tagged_resource_object_d1_database, + "resource-tagging_tagged_resource_object_device": resource$$tagging_tagged_resource_object_device, + "resource-tagging_tagged_resource_object_dns_record": resource$$tagging_tagged_resource_object_dns_record, + "resource-tagging_tagged_resource_object_durable_object_namespace": resource$$tagging_tagged_resource_object_durable_object_namespace, + "resource-tagging_tagged_resource_object_gateway_list": resource$$tagging_tagged_resource_object_gateway_list, + "resource-tagging_tagged_resource_object_gateway_rule": resource$$tagging_tagged_resource_object_gateway_rule, + "resource-tagging_tagged_resource_object_healthcheck": resource$$tagging_tagged_resource_object_healthcheck, + "resource-tagging_tagged_resource_object_image": resource$$tagging_tagged_resource_object_image, + "resource-tagging_tagged_resource_object_infrastructure_target": resource$$tagging_tagged_resource_object_infrastructure_target, + "resource-tagging_tagged_resource_object_kv_namespace": resource$$tagging_tagged_resource_object_kv_namespace, + "resource-tagging_tagged_resource_object_load_balancer": resource$$tagging_tagged_resource_object_load_balancer, + "resource-tagging_tagged_resource_object_load_balancer_monitor": resource$$tagging_tagged_resource_object_load_balancer_monitor, + "resource-tagging_tagged_resource_object_load_balancer_pool": resource$$tagging_tagged_resource_object_load_balancer_pool, + "resource-tagging_tagged_resource_object_managed_client_certificate": resource$$tagging_tagged_resource_object_managed_client_certificate, + "resource-tagging_tagged_resource_object_namespace_worker": resource$$tagging_tagged_resource_object_namespace_worker, + "resource-tagging_tagged_resource_object_pages_project": resource$$tagging_tagged_resource_object_pages_project, + "resource-tagging_tagged_resource_object_queue": resource$$tagging_tagged_resource_object_queue, + "resource-tagging_tagged_resource_object_r2_bucket": resource$$tagging_tagged_resource_object_r2_bucket, + "resource-tagging_tagged_resource_object_resource_share": resource$$tagging_tagged_resource_object_resource_share, + "resource-tagging_tagged_resource_object_stream_live_input": resource$$tagging_tagged_resource_object_stream_live_input, + "resource-tagging_tagged_resource_object_stream_video": resource$$tagging_tagged_resource_object_stream_video, + "resource-tagging_tagged_resource_object_vectorize_index": resource$$tagging_tagged_resource_object_vectorize_index, + "resource-tagging_tagged_resource_object_worker": resource$$tagging_tagged_resource_object_worker, + "resource-tagging_tagged_resource_object_worker_route": resource$$tagging_tagged_resource_object_worker_route, + "resource-tagging_tagged_resource_object_worker_version": resource$$tagging_tagged_resource_object_worker_version, + "resource-tagging_tagged_resource_object_worker_version_base": resource$$tagging_tagged_resource_object_worker_version_base, + "resource-tagging_tagged_resource_object_zone": resource$$tagging_tagged_resource_object_zone, + "resource-tagging_tagged_resource_object_zone_level_base": resource$$tagging_tagged_resource_object_zone_level_base, + "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, + "resource-tagging_tagged_resource_response_collection": resource$$tagging_tagged_resource_response_collection, + "resource-tagging_tags": resource$$tagging_tags, + "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, + "resource-tagging_worker_id": resource$$tagging_worker_id, + "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tags/resources`, query: [ - ["include_navigation", args["include_navigation"], true], - ["type", args["type"], true], - ["name", args["name"], true], - ["id", args["id"], true], - ["case_insensitive", args["case_insensitive"], true], - ["tag", args["tag"], true], - ["cursor", args["cursor"], true], + ["include_navigation", param(args, "query", "include_navigation"), true], + ["type", param(args, "query", "type"), true], + ["name", param(args, "query", "name"), true], + ["id", param(args, "query", "id"), true], + ["case_insensitive", param(args, "query", "case_insensitive"), true], + ["tag", param(args, "query", "tag"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/tags/schemas.ts b/src/generated/forge-mcp/tags/schemas.ts index 0688d0401..c4fa1b70d 100644 --- a/src/generated/forge-mcp/tags/schemas.ts +++ b/src/generated/forge-mcp/tags/schemas.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `resource-tagging_account_id`. */ -export const resource_tagging_account_id: JsonSchema = { +export const resource$$tagging_account_id: JsonSchema = { "$ref": "#/$defs/resource-tagging_identifier" }; /** * The schema of `resource-tagging_identifier`. */ -export const resource_tagging_identifier: JsonSchema = { +export const resource$$tagging_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; @@ -21,7 +21,7 @@ export const resource_tagging_identifier: JsonSchema = { /** * The schema of `resource-tagging_resource_id`. */ -export const resource_tagging_resource_id: JsonSchema = { +export const resource$$tagging_resource_id: JsonSchema = { "description": "Identifies the unique resource.", "type": "string" }; @@ -29,7 +29,7 @@ export const resource_tagging_resource_id: JsonSchema = { /** * The schema of `resource-tagging_resource_type`. */ -export const resource_tagging_resource_type: JsonSchema = { +export const resource$$tagging_resource_type: JsonSchema = { "description": "Identifies the type of resource.", "enum": [ "access_application", @@ -85,7 +85,7 @@ export const resource_tagging_resource_type: JsonSchema = { /** * The schema of `resource-tagging_tags`. */ -export const resource_tagging_tags: JsonSchema = { +export const resource$$tagging_tags: JsonSchema = { "additionalProperties": { "type": "string" }, @@ -96,7 +96,7 @@ export const resource_tagging_tags: JsonSchema = { /** * The schema of `resource-tagging_worker_id`. */ -export const resource_tagging_worker_id: JsonSchema = { +export const resource$$tagging_worker_id: JsonSchema = { "description": "Worker ID is required only for worker_version resources", "type": "string" }; diff --git a/src/generated/forge-mcp/tags/summary/outputs.ts b/src/generated/forge-mcp/tags/summary/outputs.ts index 226de1747..b4c54dede 100644 --- a/src/generated/forge-mcp/tags/summary/outputs.ts +++ b/src/generated/forge-mcp/tags/summary/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `resource-tagging_tag_key_summary` in responses. */ -export const resource_tagging_tag_key_summary_output: JsonSchema = { +export const resource$$tagging_tag_key_summary: JsonSchema = { "properties": { "key": { "type": "string" @@ -29,7 +29,7 @@ export const resource_tagging_tag_key_summary_output: JsonSchema = { * The schema of `resource-tagging_tag_key_summary_response_collection` in * responses. */ -export const resource_tagging_tag_key_summary_response_collection_output: JsonSchema = { +export const resource$$tagging_tag_key_summary_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-tagging_api-response-common" diff --git a/src/generated/forge-mcp/tags/summary/tools.ts b/src/generated/forge-mcp/tags/summary/tools.ts index 5b5e94772..2fb184a2b 100644 --- a/src/generated/forge-mcp/tags/summary/tools.ts +++ b/src/generated/forge-mcp/tags/summary/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, param, pathParam } from "../../_/tool.js"; import { - resource_tagging_api_response_common_failure_output, - resource_tagging_api_response_common_output, - resource_tagging_cursor_result_info_output, - resource_tagging_messages_output, + resource$$tagging_api$$response$$common, + resource$$tagging_api$$response$$common$$failure, + resource$$tagging_cursor_result_info, + resource$$tagging_messages, } from "../outputs.js"; import { - resource_tagging_account_id, - resource_tagging_identifier, + resource$$tagging_account_id, + resource$$tagging_identifier, } from "../schemas.js"; import { - resource_tagging_tag_key_summary_output, - resource_tagging_tag_key_summary_response_collection_output, + resource$$tagging_tag_key_summary, + resource$$tagging_tag_key_summary_response_collection, } from "./outputs.js"; /** @@ -28,30 +28,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-tagging_account_id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-tagging_account_id" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "cursor": { - "description": "Cursor for pagination.", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Cursor for pagination.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "resource-tagging_account_id": resource_tagging_account_id, - "resource-tagging_identifier": resource_tagging_identifier, + "resource-tagging_account_id": resource$$tagging_account_id, + "resource-tagging_identifier": resource$$tagging_identifier, }, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tag_key_summary_response_collection", $defs: { - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_tag_key_summary": resource_tagging_tag_key_summary_output, - "resource-tagging_tag_key_summary_response_collection": resource_tagging_tag_key_summary_response_collection_output, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_tag_key_summary": resource$$tagging_tag_key_summary, + "resource-tagging_tag_key_summary_response_collection": resource$$tagging_tag_key_summary_response_collection, }, }, annotations: { @@ -85,18 +98,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, - "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_tag_key_summary": resource_tagging_tag_key_summary_output, - "resource-tagging_tag_key_summary_response_collection": resource_tagging_tag_key_summary_response_collection_output, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, + "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_tag_key_summary": resource$$tagging_tag_key_summary, + "resource-tagging_tag_key_summary_response_collection": resource$$tagging_tag_key_summary_response_collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tags/summary`, query: [ - ["cursor", args["cursor"], true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/tags/values/outputs.ts b/src/generated/forge-mcp/tags/values/outputs.ts index 878314ca5..b5859df16 100644 --- a/src/generated/forge-mcp/tags/values/outputs.ts +++ b/src/generated/forge-mcp/tags/values/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `resource-tagging_tag_values_response_collection` in responses. */ -export const resource_tagging_tag_values_response_collection_output: JsonSchema = { +export const resource$$tagging_tag_values_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/resource-tagging_api-response-common" diff --git a/src/generated/forge-mcp/tags/values/tools.ts b/src/generated/forge-mcp/tags/values/tools.ts index 1794aa569..cbe0dfd3c 100644 --- a/src/generated/forge-mcp/tags/values/tools.ts +++ b/src/generated/forge-mcp/tags/values/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource_tagging_api_response_common_failure_output, - resource_tagging_api_response_common_output, - resource_tagging_cursor_result_info_output, - resource_tagging_messages_output, + resource$$tagging_api$$response$$common, + resource$$tagging_api$$response$$common$$failure, + resource$$tagging_cursor_result_info, + resource$$tagging_messages, } from "../outputs.js"; import { - resource_tagging_account_id, - resource_tagging_identifier, - resource_tagging_resource_type, + resource$$tagging_account_id, + resource$$tagging_identifier, + resource$$tagging_resource_type, } from "../schemas.js"; -import { resource_tagging_tag_values_response_collection_output } from "./outputs.js"; +import { resource$$tagging_tag_values_response_collection } from "./outputs.js"; /** * The tools of `tags.values`. @@ -26,39 +26,52 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/resource-tagging_account_id" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/resource-tagging_account_id" + }, + "tag_key": { + "description": "The tag key to retrieve values for.", + "type": "string" + } + }, + "required": [ + "account_id", + "tag_key" + ], + "type": "object" }, - "cursor": { - "description": "Cursor for pagination.", - "type": "string" - }, - "tag_key": { - "description": "The tag key to retrieve values for.", - "type": "string" - }, - "type": { - "$ref": "#/$defs/resource-tagging_resource_type", - "description": "Filter by resource type." + "query": { + "properties": { + "cursor": { + "description": "Cursor for pagination.", + "type": "string" + }, + "type": { + "$ref": "#/$defs/resource-tagging_resource_type", + "description": "Filter by resource type." + } + }, + "type": "object" } }, required: [ - "account_id", - "tag_key" + "path" ], $defs: { - "resource-tagging_account_id": resource_tagging_account_id, - "resource-tagging_identifier": resource_tagging_identifier, - "resource-tagging_resource_type": resource_tagging_resource_type, + "resource-tagging_account_id": resource$$tagging_account_id, + "resource-tagging_identifier": resource$$tagging_identifier, + "resource-tagging_resource_type": resource$$tagging_resource_type, }, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tag_values_response_collection", $defs: { - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_tag_values_response_collection": resource_tagging_tag_values_response_collection_output, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_tag_values_response_collection": resource$$tagging_tag_values_response_collection, }, }, annotations: { @@ -92,18 +105,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_api-response-common": resource_tagging_api_response_common_output, - "resource-tagging_api-response-common-failure": resource_tagging_api_response_common_failure_output, - "resource-tagging_cursor_result_info": resource_tagging_cursor_result_info_output, - "resource-tagging_messages": resource_tagging_messages_output, - "resource-tagging_tag_values_response_collection": resource_tagging_tag_values_response_collection_output, + "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, + "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, + "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, + "resource-tagging_messages": resource$$tagging_messages, + "resource-tagging_tag_values_response_collection": resource$$tagging_tag_values_response_collection, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tags/values/${pathParam(args, "tag_key")}`, query: [ - ["type", args["type"], true], - ["cursor", args["cursor"], true], + ["type", param(args, "query", "type"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, diff --git a/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts b/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts index b29ed1ab0..3939506ad 100644 --- a/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts +++ b/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `dns-custom-nameservers_CustomNS-2` in responses. */ -export const dns_custom_nameservers_CustomNS_2_output: JsonSchema = { +export const dns$$custom$$nameservers_CustomNS$$2: JsonSchema = { "properties": { "dns_records": { "items": { @@ -56,7 +56,7 @@ export const dns_custom_nameservers_CustomNS_2_output: JsonSchema = { /** * The schema of `dns-custom-nameservers_empty_response-3` in responses. */ -export const dns_custom_nameservers_empty_response_3_output: JsonSchema = { +export const dns$$custom$$nameservers_empty_response$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-custom-nameservers_api-response-collection" @@ -79,7 +79,7 @@ export const dns_custom_nameservers_empty_response_3_output: JsonSchema = { /** * The schema of `dns-custom-nameservers_tcns_response_collection` in responses. */ -export const dns_custom_nameservers_tcns_response_collection_output: JsonSchema = { +export const dns$$custom$$nameservers_tcns_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-custom-nameservers_api-response-collection" @@ -101,7 +101,7 @@ export const dns_custom_nameservers_tcns_response_collection_output: JsonSchema /** * The schema of `dns-custom-nameservers_tcns_response_single` in responses. */ -export const dns_custom_nameservers_tcns_response_single_output: JsonSchema = { +export const dns$$custom$$nameservers_tcns_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dns-custom-nameservers_api-response-single" diff --git a/src/generated/forge-mcp/tenantCustomNameservers/schemas.ts b/src/generated/forge-mcp/tenantCustomNameservers/schemas.ts index a766e3199..13c7a7037 100644 --- a/src/generated/forge-mcp/tenantCustomNameservers/schemas.ts +++ b/src/generated/forge-mcp/tenantCustomNameservers/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `dns-custom-nameservers_identifier-3`. */ -export const dns_custom_nameservers_identifier_3: JsonSchema = { +export const dns$$custom$$nameservers_identifier$$3: JsonSchema = { "description": "Tenant identifier tag.", "type": "string" }; diff --git a/src/generated/forge-mcp/tenantCustomNameservers/tools.ts b/src/generated/forge-mcp/tenantCustomNameservers/tools.ts index 9b31c6c4d..b0cfd90ab 100644 --- a/src/generated/forge-mcp/tenantCustomNameservers/tools.ts +++ b/src/generated/forge-mcp/tenantCustomNameservers/tools.ts @@ -3,34 +3,34 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - dns_custom_nameservers_api_response_collection_output, - dns_custom_nameservers_api_response_common_failure_output, - dns_custom_nameservers_api_response_common_output, - dns_custom_nameservers_api_response_single_output, - dns_custom_nameservers_identifier_2_output, - dns_custom_nameservers_messages_output, - dns_custom_nameservers_ns_name_output, - dns_custom_nameservers_ns_set_output, + dns$$custom$$nameservers_api$$response$$collection, + dns$$custom$$nameservers_api$$response$$common, + dns$$custom$$nameservers_api$$response$$common$$failure, + dns$$custom$$nameservers_api$$response$$single, + dns$$custom$$nameservers_identifier$$2, + dns$$custom$$nameservers_messages, + dns$$custom$$nameservers_ns_name, + dns$$custom$$nameservers_ns_set, } from "../outputs.js"; import { - dns_custom_nameservers_CustomNSInput, - dns_custom_nameservers_ns_name, - dns_custom_nameservers_ns_set, + dns$$custom$$nameservers_CustomNSInput, + dns$$custom$$nameservers_ns_name as dns$$custom$$nameservers_ns_name$, + dns$$custom$$nameservers_ns_set as dns$$custom$$nameservers_ns_set$, } from "../schemas.js"; import { - dns_custom_nameservers_CustomNS_2_output, - dns_custom_nameservers_empty_response_3_output, - dns_custom_nameservers_tcns_response_collection_output, - dns_custom_nameservers_tcns_response_single_output, + dns$$custom$$nameservers_CustomNS$$2, + dns$$custom$$nameservers_empty_response$$3, + dns$$custom$$nameservers_tcns_response_collection, + dns$$custom$$nameservers_tcns_response_single, } from "./outputs.js"; -import { dns_custom_nameservers_identifier_3 } from "./schemas.js"; +import { dns$$custom$$nameservers_identifier$$3 } from "./schemas.js"; /** - * The tools of `tenant_custom_nameservers`. + * The tools of `tenantCustomNameservers`. */ export const tools: readonly Tool[] = [ { - name: "tenant_custom_nameservers_create", + name: "tenantCustomNameservers_create", title: "Add Tenant Custom Nameserver", description: "Adds a custom nameserver for a tenant.", inputSchema: { @@ -39,32 +39,40 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/dns-custom-nameservers_CustomNSInput" }, - "tenant_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier-3", - "description": "Tenant identifier tag." + "path": { + "properties": { + "tenant_id": { + "$ref": "#/$defs/dns-custom-nameservers_identifier-3", + "description": "Tenant identifier tag." + } + }, + "required": [ + "tenant_id" + ], + "type": "object" } }, required: [ - "tenant_id", + "path", "body" ], $defs: { - "dns-custom-nameservers_CustomNSInput": dns_custom_nameservers_CustomNSInput, - "dns-custom-nameservers_identifier-3": dns_custom_nameservers_identifier_3, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set, + "dns-custom-nameservers_CustomNSInput": dns$$custom$$nameservers_CustomNSInput, + "dns-custom-nameservers_identifier-3": dns$$custom$$nameservers_identifier$$3, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name$, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set$, }, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_tcns_response_single", $defs: { - "dns-custom-nameservers_CustomNS-2": dns_custom_nameservers_CustomNS_2_output, - "dns-custom-nameservers_api-response-single": dns_custom_nameservers_api_response_single_output, - "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, - "dns-custom-nameservers_tcns_response_single": dns_custom_nameservers_tcns_response_single_output, + "dns-custom-nameservers_CustomNS-2": dns$$custom$$nameservers_CustomNS$$2, + "dns-custom-nameservers_api-response-single": dns$$custom$$nameservers_api$$response$$single, + "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, + "dns-custom-nameservers_tcns_response_single": dns$$custom$$nameservers_tcns_response_single, }, }, annotations: { @@ -101,14 +109,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-custom-nameservers_CustomNS-2": dns_custom_nameservers_CustomNS_2_output, - "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, - "dns-custom-nameservers_api-response-single": dns_custom_nameservers_api_response_single_output, - "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, - "dns-custom-nameservers_tcns_response_single": dns_custom_nameservers_tcns_response_single_output, + "dns-custom-nameservers_CustomNS-2": dns$$custom$$nameservers_CustomNS$$2, + "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, + "dns-custom-nameservers_api-response-single": dns$$custom$$nameservers_api$$response$$single, + "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, + "dns-custom-nameservers_tcns_response_single": dns$$custom$$nameservers_tcns_response_single, }, }, request: (args) => ({ @@ -117,37 +125,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "tenant_custom_nameservers_delete", + name: "tenantCustomNameservers_delete", title: "Delete Tenant Custom Nameserver", description: "Deletes a tenant's custom nameserver.", inputSchema: { type: "object", properties: { - "custom_ns_id": { - "$ref": "#/$defs/dns-custom-nameservers_ns_name", - "description": "The FQDN of the name server." - }, - "tenant_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier-3", - "description": "Tenant identifier tag." + "path": { + "properties": { + "custom_ns_id": { + "$ref": "#/$defs/dns-custom-nameservers_ns_name", + "description": "The FQDN of the name server." + }, + "tenant_id": { + "$ref": "#/$defs/dns-custom-nameservers_identifier-3", + "description": "Tenant identifier tag." + } + }, + "required": [ + "tenant_id", + "custom_ns_id" + ], + "type": "object" } }, required: [ - "tenant_id", - "custom_ns_id" + "path" ], $defs: { - "dns-custom-nameservers_identifier-3": dns_custom_nameservers_identifier_3, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name, + "dns-custom-nameservers_identifier-3": dns$$custom$$nameservers_identifier$$3, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name$, }, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_empty_response-3", $defs: { - "dns-custom-nameservers_api-response-collection": dns_custom_nameservers_api_response_collection_output, - "dns-custom-nameservers_api-response-common": dns_custom_nameservers_api_response_common_output, - "dns-custom-nameservers_empty_response-3": dns_custom_nameservers_empty_response_3_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, + "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, + "dns-custom-nameservers_empty_response-3": dns$$custom$$nameservers_empty_response$$3, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, }, }, annotations: { @@ -184,11 +200,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-custom-nameservers_api-response-collection": dns_custom_nameservers_api_response_collection_output, - "dns-custom-nameservers_api-response-common": dns_custom_nameservers_api_response_common_output, - "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, - "dns-custom-nameservers_empty_response-3": dns_custom_nameservers_empty_response_3_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, + "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, + "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, + "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, + "dns-custom-nameservers_empty_response-3": dns$$custom$$nameservers_empty_response$$3, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, }, }, request: (args) => ({ @@ -196,35 +212,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "tenant_custom_nameservers_get", + name: "tenantCustomNameservers_get", title: "List Tenant Custom Nameservers", description: "Lists a tenant's custom nameservers.", inputSchema: { type: "object", properties: { - "tenant_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier-3", - "description": "Tenant identifier tag." + "path": { + "properties": { + "tenant_id": { + "$ref": "#/$defs/dns-custom-nameservers_identifier-3", + "description": "Tenant identifier tag." + } + }, + "required": [ + "tenant_id" + ], + "type": "object" } }, required: [ - "tenant_id" + "path" ], $defs: { - "dns-custom-nameservers_identifier-3": dns_custom_nameservers_identifier_3, + "dns-custom-nameservers_identifier-3": dns$$custom$$nameservers_identifier$$3, }, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_tcns_response_collection", $defs: { - "dns-custom-nameservers_CustomNS-2": dns_custom_nameservers_CustomNS_2_output, - "dns-custom-nameservers_api-response-collection": dns_custom_nameservers_api_response_collection_output, - "dns-custom-nameservers_api-response-common": dns_custom_nameservers_api_response_common_output, - "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, - "dns-custom-nameservers_tcns_response_collection": dns_custom_nameservers_tcns_response_collection_output, + "dns-custom-nameservers_CustomNS-2": dns$$custom$$nameservers_CustomNS$$2, + "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, + "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, + "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, + "dns-custom-nameservers_tcns_response_collection": dns$$custom$$nameservers_tcns_response_collection, }, }, annotations: { @@ -261,15 +285,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dns-custom-nameservers_CustomNS-2": dns_custom_nameservers_CustomNS_2_output, - "dns-custom-nameservers_api-response-collection": dns_custom_nameservers_api_response_collection_output, - "dns-custom-nameservers_api-response-common": dns_custom_nameservers_api_response_common_output, - "dns-custom-nameservers_api-response-common-failure": dns_custom_nameservers_api_response_common_failure_output, - "dns-custom-nameservers_identifier-2": dns_custom_nameservers_identifier_2_output, - "dns-custom-nameservers_messages": dns_custom_nameservers_messages_output, - "dns-custom-nameservers_ns_name": dns_custom_nameservers_ns_name_output, - "dns-custom-nameservers_ns_set": dns_custom_nameservers_ns_set_output, - "dns-custom-nameservers_tcns_response_collection": dns_custom_nameservers_tcns_response_collection_output, + "dns-custom-nameservers_CustomNS-2": dns$$custom$$nameservers_CustomNS$$2, + "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, + "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, + "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, + "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, + "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, + "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, + "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, + "dns-custom-nameservers_tcns_response_collection": dns$$custom$$nameservers_tcns_response_collection, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnel/outputs.ts b/src/generated/forge-mcp/tunnel/outputs.ts index e36666f87..84b072d88 100644 --- a/src/generated/forge-mcp/tunnel/outputs.ts +++ b/src/generated/forge-mcp/tunnel/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `tunnel_cfd-tunnel-response-collection` in responses. */ -export const tunnel_cfd_tunnel_response_collection_output: JsonSchema = { +export const tunnel_cfd$$tunnel$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-collection" diff --git a/src/generated/forge-mcp/tunnel/tools.ts b/src/generated/forge-mcp/tunnel/tools.ts index 7c2aa1738..dd0be756b 100644 --- a/src/generated/forge-mcp/tunnel/tools.ts +++ b/src/generated/forge-mcp/tunnel/tools.ts @@ -1,45 +1,45 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - tunnel_account_id_output, - tunnel_api_response_collection_output, - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_cfd_tunnel_output, - tunnel_client_id_output, - tunnel_colo_name_output, - tunnel_config_src_output, - tunnel_connection_id_output, - tunnel_connections_deprecated_output, - tunnel_conns_active_at_output, - tunnel_conns_inactive_at_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_ip_output, - tunnel_is_pending_reconnect_output, - tunnel_messages_output, - tunnel_metadata_output, - tunnel_remote_config_output, - tunnel_result_info_output, - tunnel_schemas_connection_output, - tunnel_status_output, - tunnel_tunnel_id_output, - tunnel_tunnel_name_output, - tunnel_tunnel_type_output, - tunnel_version_output, + tunnel_account_id, + tunnel_api$$response$$collection, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_cfd_tunnel, + tunnel_client_id, + tunnel_colo_name, + tunnel_config_src, + tunnel_connection_id, + tunnel_connections_deprecated, + tunnel_conns_active_at, + tunnel_conns_inactive_at, + tunnel_created_at, + tunnel_deleted_at, + tunnel_ip, + tunnel_is_pending_reconnect, + tunnel_messages, + tunnel_metadata, + tunnel_remote_config, + tunnel_result_info, + tunnel_schemas$$connection, + tunnel_status, + tunnel_tunnel_id, + tunnel_tunnel_name, + tunnel_tunnel_type, + tunnel_version, } from "../outputs.js"; import { - tunnel_account_id, + tunnel_account_id as tunnel_account_id$, tunnel_existed_at, tunnel_page_number, tunnel_per_page, - tunnel_status, - tunnel_tunnel_id, - tunnel_tunnel_name, + tunnel_status as tunnel_status$, + tunnel_tunnel_id as tunnel_tunnel_id$, + tunnel_tunnel_name as tunnel_tunnel_name$, } from "../schemas.js"; -import { tunnel_cfd_tunnel_response_collection_output } from "./outputs.js"; +import { tunnel_cfd$$tunnel$$response$$collection } from "./outputs.js"; /** * The tools of `tunnel`. @@ -52,96 +52,109 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "exclude_prefix": { - "type": "string" - }, - "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." - }, - "include_prefix": { - "type": "string" - }, - "is_deleted": { - "description": "If `true`, only include deleted tunnels. If `false`, exclude deleted tunnels. If empty, all tunnels will be included.", - "type": "boolean" - }, - "name": { - "$ref": "#/$defs/tunnel_tunnel_name", - "description": "A user-friendly name for a tunnel." - }, - "page": { - "$ref": "#/$defs/tunnel_page_number", - "default": 1, - "description": "Page number of paginated results." - }, - "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." - }, - "status": { - "$ref": "#/$defs/tunnel_status", - "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge)." - }, - "uuid": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." - }, - "was_active_at": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "was_inactive_at": { - "format": "date-time", - "type": "string" + "query": { + "properties": { + "exclude_prefix": { + "type": "string" + }, + "existed_at": { + "$ref": "#/$defs/tunnel_existed_at", + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + }, + "include_prefix": { + "type": "string" + }, + "is_deleted": { + "description": "If `true`, only include deleted tunnels. If `false`, exclude deleted tunnels. If empty, all tunnels will be included.", + "type": "boolean" + }, + "name": { + "$ref": "#/$defs/tunnel_tunnel_name", + "description": "A user-friendly name for a tunnel." + }, + "page": { + "$ref": "#/$defs/tunnel_page_number", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "$ref": "#/$defs/tunnel_per_page", + "description": "Number of results to display." + }, + "status": { + "$ref": "#/$defs/tunnel_status", + "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge)." + }, + "uuid": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + }, + "was_active_at": { + "format": "date-time", + "type": "string" + }, + "was_inactive_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "tunnel_account_id": tunnel_account_id, + "tunnel_account_id": tunnel_account_id$, "tunnel_existed_at": tunnel_existed_at, "tunnel_page_number": tunnel_page_number, "tunnel_per_page": tunnel_per_page, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_status": tunnel_status$, + "tunnel_tunnel_id": tunnel_tunnel_id$, + "tunnel_tunnel_name": tunnel_tunnel_name$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-collection", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_cfd-tunnel-response-collection": tunnel_cfd_tunnel_response_collection_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_cfd-tunnel-response-collection": tunnel_cfd$$tunnel$$response$$collection, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_result_info": tunnel_result_info, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, annotations: { @@ -183,49 +196,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_cfd-tunnel-response-collection": tunnel_cfd_tunnel_response_collection_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_cfd-tunnel-response-collection": tunnel_cfd$$tunnel$$response$$collection, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_result_info": tunnel_result_info, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel`, query: [ - ["name", args["name"], true], - ["is_deleted", args["is_deleted"], true], - ["existed_at", args["existed_at"], true], - ["uuid", args["uuid"], true], - ["was_active_at", args["was_active_at"], true], - ["was_inactive_at", args["was_inactive_at"], true], - ["include_prefix", args["include_prefix"], true], - ["exclude_prefix", args["exclude_prefix"], true], - ["status", args["status"], true], - ["per_page", args["per_page"], true], - ["page", args["page"], true], + ["name", param(args, "query", "name"), true], + ["is_deleted", param(args, "query", "is_deleted"), true], + ["existed_at", param(args, "query", "existed_at"), true], + ["uuid", param(args, "query", "uuid"), true], + ["was_active_at", param(args, "query", "was_active_at"), true], + ["was_inactive_at", param(args, "query", "was_inactive_at"), true], + ["include_prefix", param(args, "query", "include_prefix"), true], + ["exclude_prefix", param(args, "query", "exclude_prefix"), true], + ["status", param(args, "query", "status"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], ], }), }, diff --git a/src/generated/forge-mcp/tunnels/config/outputs.ts b/src/generated/forge-mcp/tunnels/config/outputs.ts index d948cc6a2..a4acccc4c 100644 --- a/src/generated/forge-mcp/tunnels/config/outputs.ts +++ b/src/generated/forge-mcp/tunnels/config/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tunnel_config` in responses. */ -export const tunnel_config_output: JsonSchema = { +export const tunnel_config: JsonSchema = { "properties": { "ingress": { "items": { @@ -25,7 +25,7 @@ export const tunnel_config_output: JsonSchema = { /** * The schema of `tunnel_config_src-2` in responses. */ -export const tunnel_config_src_2_output: JsonSchema = { +export const tunnel_config_src$$2: JsonSchema = { "enum": [ "local", "cloudflare" @@ -36,14 +36,14 @@ export const tunnel_config_src_2_output: JsonSchema = { /** * The schema of `tunnel_config_version-2` in responses. */ -export const tunnel_config_version_2_output: JsonSchema = { +export const tunnel_config_version$$2: JsonSchema = { "type": "integer" }; /** * The schema of `tunnel_configuration` in responses. */ -export const tunnel_configuration_output: JsonSchema = { +export const tunnel_configuration: JsonSchema = { "properties": { "account_id": { "$ref": "#/$defs/tunnel_identifier" @@ -70,7 +70,7 @@ export const tunnel_configuration_output: JsonSchema = { /** * The schema of `tunnel_configuration_response` in responses. */ -export const tunnel_configuration_response_output: JsonSchema = { +export const tunnel_configuration_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-single-2" @@ -89,7 +89,7 @@ export const tunnel_configuration_response_output: JsonSchema = { /** * The schema of `tunnel_ingressRule` in responses. */ -export const tunnel_ingressRule_output: JsonSchema = { +export const tunnel_ingressRule: JsonSchema = { "properties": { "hostname": { "type": "string" @@ -114,7 +114,7 @@ export const tunnel_ingressRule_output: JsonSchema = { /** * The schema of `tunnel_originRequest` in responses. */ -export const tunnel_originRequest_output: JsonSchema = { +export const tunnel_originRequest: JsonSchema = { "properties": { "access": { "properties": { @@ -186,7 +186,7 @@ export const tunnel_originRequest_output: JsonSchema = { /** * The schema of `tunnel_timestamp` in responses. */ -export const tunnel_timestamp_output: JsonSchema = { +export const tunnel_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/tunnels/config/tools.ts b/src/generated/forge-mcp/tunnels/config/tools.ts index 7d0196002..e11733e62 100644 --- a/src/generated/forge-mcp/tunnels/config/tools.ts +++ b/src/generated/forge-mcp/tunnels/config/tools.ts @@ -3,27 +3,30 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tunnel_api_response_common_failure_2_output, - tunnel_api_response_single_2_output, - tunnel_identifier_output, - tunnel_messages_2_output, - tunnel_tunnel_id_2_output, + tunnel_api$$response$$common$$failure$$2, + tunnel_api$$response$$single$$2, + tunnel_identifier, + tunnel_messages$$2, + tunnel_tunnel_id$$2, } from "../../outputs.js"; -import { tunnel_identifier, tunnel_tunnel_id_2 } from "../../schemas.js"; import { - tunnel_config_output, - tunnel_config_src_2_output, - tunnel_config_version_2_output, - tunnel_configuration_output, - tunnel_configuration_response_output, - tunnel_ingressRule_output, - tunnel_originRequest_output, - tunnel_timestamp_output, -} from "./outputs.js"; + tunnel_identifier as tunnel_identifier$, + tunnel_tunnel_id$$2 as tunnel_tunnel_id$$2$, +} from "../../schemas.js"; import { tunnel_config, + tunnel_config_src$$2, + tunnel_config_version$$2, + tunnel_configuration, + tunnel_configuration_response, tunnel_ingressRule, tunnel_originRequest, + tunnel_timestamp, +} from "./outputs.js"; +import { + tunnel_config as tunnel_config$, + tunnel_ingressRule as tunnel_ingressRule$, + tunnel_originRequest as tunnel_originRequest$, } from "./schemas.js"; /** @@ -37,39 +40,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_identifier", - "description": "Identifier." - }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_identifier", + "description": "Identifier." + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id-2", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id" + "path" ], $defs: { - "tunnel_identifier": tunnel_identifier, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2, + "tunnel_identifier": tunnel_identifier$, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_configuration_response", $defs: { - "tunnel_api-response-single-2": tunnel_api_response_single_2_output, - "tunnel_config": tunnel_config_output, - "tunnel_config_src-2": tunnel_config_src_2_output, - "tunnel_config_version-2": tunnel_config_version_2_output, - "tunnel_configuration": tunnel_configuration_output, - "tunnel_configuration_response": tunnel_configuration_response_output, - "tunnel_identifier": tunnel_identifier_output, - "tunnel_ingressRule": tunnel_ingressRule_output, - "tunnel_messages-2": tunnel_messages_2_output, - "tunnel_originRequest": tunnel_originRequest_output, - "tunnel_timestamp": tunnel_timestamp_output, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, + "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, + "tunnel_config": tunnel_config, + "tunnel_config_src-2": tunnel_config_src$$2, + "tunnel_config_version-2": tunnel_config_version$$2, + "tunnel_configuration": tunnel_configuration, + "tunnel_configuration_response": tunnel_configuration_response, + "tunnel_identifier": tunnel_identifier, + "tunnel_ingressRule": tunnel_ingressRule, + "tunnel_messages-2": tunnel_messages$$2, + "tunnel_originRequest": tunnel_originRequest, + "tunnel_timestamp": tunnel_timestamp, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, }, }, annotations: { @@ -101,19 +112,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common-failure-2": tunnel_api_response_common_failure_2_output, - "tunnel_api-response-single-2": tunnel_api_response_single_2_output, - "tunnel_config": tunnel_config_output, - "tunnel_config_src-2": tunnel_config_src_2_output, - "tunnel_config_version-2": tunnel_config_version_2_output, - "tunnel_configuration": tunnel_configuration_output, - "tunnel_configuration_response": tunnel_configuration_response_output, - "tunnel_identifier": tunnel_identifier_output, - "tunnel_ingressRule": tunnel_ingressRule_output, - "tunnel_messages-2": tunnel_messages_2_output, - "tunnel_originRequest": tunnel_originRequest_output, - "tunnel_timestamp": tunnel_timestamp_output, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, + "tunnel_api-response-common-failure-2": tunnel_api$$response$$common$$failure$$2, + "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, + "tunnel_config": tunnel_config, + "tunnel_config_src-2": tunnel_config_src$$2, + "tunnel_config_version-2": tunnel_config_version$$2, + "tunnel_configuration": tunnel_configuration, + "tunnel_configuration_response": tunnel_configuration_response, + "tunnel_identifier": tunnel_identifier, + "tunnel_ingressRule": tunnel_ingressRule, + "tunnel_messages-2": tunnel_messages$$2, + "tunnel_originRequest": tunnel_originRequest, + "tunnel_timestamp": tunnel_timestamp, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, }, }, request: (args) => ({ @@ -127,10 +138,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_identifier", - "description": "Identifier." - }, "body": { "properties": { "config": { @@ -139,39 +146,51 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_identifier", + "description": "Identifier." + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id-2", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id", + "path", "body" ], $defs: { - "tunnel_config": tunnel_config, - "tunnel_identifier": tunnel_identifier, - "tunnel_ingressRule": tunnel_ingressRule, - "tunnel_originRequest": tunnel_originRequest, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2, + "tunnel_config": tunnel_config$, + "tunnel_identifier": tunnel_identifier$, + "tunnel_ingressRule": tunnel_ingressRule$, + "tunnel_originRequest": tunnel_originRequest$, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_configuration_response", $defs: { - "tunnel_api-response-single-2": tunnel_api_response_single_2_output, - "tunnel_config": tunnel_config_output, - "tunnel_config_src-2": tunnel_config_src_2_output, - "tunnel_config_version-2": tunnel_config_version_2_output, - "tunnel_configuration": tunnel_configuration_output, - "tunnel_configuration_response": tunnel_configuration_response_output, - "tunnel_identifier": tunnel_identifier_output, - "tunnel_ingressRule": tunnel_ingressRule_output, - "tunnel_messages-2": tunnel_messages_2_output, - "tunnel_originRequest": tunnel_originRequest_output, - "tunnel_timestamp": tunnel_timestamp_output, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, + "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, + "tunnel_config": tunnel_config, + "tunnel_config_src-2": tunnel_config_src$$2, + "tunnel_config_version-2": tunnel_config_version$$2, + "tunnel_configuration": tunnel_configuration, + "tunnel_configuration_response": tunnel_configuration_response, + "tunnel_identifier": tunnel_identifier, + "tunnel_ingressRule": tunnel_ingressRule, + "tunnel_messages-2": tunnel_messages$$2, + "tunnel_originRequest": tunnel_originRequest, + "tunnel_timestamp": tunnel_timestamp, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, }, }, annotations: { @@ -200,19 +219,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common-failure-2": tunnel_api_response_common_failure_2_output, - "tunnel_api-response-single-2": tunnel_api_response_single_2_output, - "tunnel_config": tunnel_config_output, - "tunnel_config_src-2": tunnel_config_src_2_output, - "tunnel_config_version-2": tunnel_config_version_2_output, - "tunnel_configuration": tunnel_configuration_output, - "tunnel_configuration_response": tunnel_configuration_response_output, - "tunnel_identifier": tunnel_identifier_output, - "tunnel_ingressRule": tunnel_ingressRule_output, - "tunnel_messages-2": tunnel_messages_2_output, - "tunnel_originRequest": tunnel_originRequest_output, - "tunnel_timestamp": tunnel_timestamp_output, - "tunnel_tunnel_id-2": tunnel_tunnel_id_2_output, + "tunnel_api-response-common-failure-2": tunnel_api$$response$$common$$failure$$2, + "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, + "tunnel_config": tunnel_config, + "tunnel_config_src-2": tunnel_config_src$$2, + "tunnel_config_version-2": tunnel_config_version$$2, + "tunnel_configuration": tunnel_configuration, + "tunnel_configuration_response": tunnel_configuration_response, + "tunnel_identifier": tunnel_identifier, + "tunnel_ingressRule": tunnel_ingressRule, + "tunnel_messages-2": tunnel_messages$$2, + "tunnel_originRequest": tunnel_originRequest, + "tunnel_timestamp": tunnel_timestamp, + "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/connections/outputs.ts b/src/generated/forge-mcp/tunnels/connections/outputs.ts index f5215ba7b..3836cf047 100644 --- a/src/generated/forge-mcp/tunnels/connections/outputs.ts +++ b/src/generated/forge-mcp/tunnels/connections/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tunnel_tunnel_connections_response` in responses. */ -export const tunnel_tunnel_connections_response_output: JsonSchema = { +export const tunnel_tunnel_connections_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-collection" diff --git a/src/generated/forge-mcp/tunnels/connections/tools.ts b/src/generated/forge-mcp/tunnels/connections/tools.ts index bcd54a428..f9a14a109 100644 --- a/src/generated/forge-mcp/tunnels/connections/tools.ts +++ b/src/generated/forge-mcp/tunnels/connections/tools.ts @@ -1,36 +1,36 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tunnel_api_response_collection_output, - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_arch_output, - tunnel_client_id_output, - tunnel_colo_name_output, - tunnel_connection_id_output, - tunnel_empty_response_output, - tunnel_features_output, - tunnel_ip_output, - tunnel_is_pending_reconnect_output, - tunnel_messages_output, - tunnel_result_info_output, - tunnel_run_at_output, - tunnel_schemas_connection_output, - tunnel_version_output, + tunnel_api$$response$$collection, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_arch, + tunnel_client_id, + tunnel_colo_name, + tunnel_connection_id, + tunnel_empty_response, + tunnel_features, + tunnel_ip, + tunnel_is_pending_reconnect, + tunnel_messages, + tunnel_result_info, + tunnel_run_at, + tunnel_schemas$$connection, + tunnel_version, } from "../../outputs.js"; import { tunnel_account_id, - tunnel_client_id, + tunnel_client_id as tunnel_client_id$, tunnel_tunnel_id, } from "../../schemas.js"; import { - tunnel_config_version_output, - tunnel_connections_output, - tunnel_tunnel_client_output, + tunnel_config_version, + tunnel_connections, + tunnel_tunnel_client, } from "../outputs.js"; -import { tunnel_tunnel_connections_response_output } from "./outputs.js"; +import { tunnel_tunnel_connections_response } from "./outputs.js"; /** * The tools of `tunnels.connections`. @@ -43,35 +43,48 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "client_id": { - "$ref": "#/$defs/tunnel_client_id", - "description": "UUID of the Cloudflare Tunnel connector." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "query": { + "properties": { + "client_id": { + "$ref": "#/$defs/tunnel_client_id", + "description": "UUID of the Cloudflare Tunnel connector." + } + }, + "type": "object" } }, required: [ - "account_id", - "tunnel_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_client_id": tunnel_client_id, + "tunnel_client_id": tunnel_client_id$, "tunnel_tunnel_id": tunnel_tunnel_id, }, }, outputSchema: { "$ref": "#/$defs/tunnel_empty_response", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_empty_response": tunnel_empty_response_output, - "tunnel_messages": tunnel_messages_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_empty_response": tunnel_empty_response, + "tunnel_messages": tunnel_messages, }, }, annotations: { @@ -107,16 +120,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_empty_response": tunnel_empty_response_output, - "tunnel_messages": tunnel_messages_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_empty_response": tunnel_empty_response, + "tunnel_messages": tunnel_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cfd_tunnel/${pathParam(args, "tunnel_id")}/connections`, query: [ - ["client_id", args["client_id"], true], + ["client_id", param(args, "query", "client_id"), true], ], }), }, @@ -127,18 +140,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, @@ -148,24 +169,24 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tunnel_tunnel_connections_response", $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_arch": tunnel_arch_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_version": tunnel_config_version_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections": tunnel_connections_output, - "tunnel_features": tunnel_features_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_run_at": tunnel_run_at_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_tunnel_client": tunnel_tunnel_client_output, - "tunnel_tunnel_connections_response": tunnel_tunnel_connections_response_output, - "tunnel_version": tunnel_version_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_arch": tunnel_arch, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_version": tunnel_config_version, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections": tunnel_connections, + "tunnel_features": tunnel_features, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_run_at": tunnel_run_at, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_tunnel_client": tunnel_tunnel_client, + "tunnel_tunnel_connections_response": tunnel_tunnel_connections_response, + "tunnel_version": tunnel_version, }, }, annotations: { @@ -204,25 +225,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_arch": tunnel_arch_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_version": tunnel_config_version_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections": tunnel_connections_output, - "tunnel_features": tunnel_features_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_run_at": tunnel_run_at_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_tunnel_client": tunnel_tunnel_client_output, - "tunnel_tunnel_connections_response": tunnel_tunnel_connections_response_output, - "tunnel_version": tunnel_version_output, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_arch": tunnel_arch, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_version": tunnel_config_version, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections": tunnel_connections, + "tunnel_features": tunnel_features, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_result_info": tunnel_result_info, + "tunnel_run_at": tunnel_run_at, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_tunnel_client": tunnel_tunnel_client, + "tunnel_tunnel_connections_response": tunnel_tunnel_connections_response, + "tunnel_version": tunnel_version, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/connectors/outputs.ts b/src/generated/forge-mcp/tunnels/connectors/outputs.ts index e3ef07688..c7f28836b 100644 --- a/src/generated/forge-mcp/tunnels/connectors/outputs.ts +++ b/src/generated/forge-mcp/tunnels/connectors/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tunnel_tunnel_client_response` in responses. */ -export const tunnel_tunnel_client_response_output: JsonSchema = { +export const tunnel_tunnel_client_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" diff --git a/src/generated/forge-mcp/tunnels/connectors/tools.ts b/src/generated/forge-mcp/tunnels/connectors/tools.ts index 318b1c454..d4cc6a12f 100644 --- a/src/generated/forge-mcp/tunnels/connectors/tools.ts +++ b/src/generated/forge-mcp/tunnels/connectors/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_arch_output, - tunnel_client_id_output, - tunnel_colo_name_output, - tunnel_connection_id_output, - tunnel_features_output, - tunnel_ip_output, - tunnel_is_pending_reconnect_output, - tunnel_messages_output, - tunnel_run_at_output, - tunnel_schemas_connection_output, - tunnel_version_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_arch, + tunnel_client_id, + tunnel_colo_name, + tunnel_connection_id, + tunnel_features, + tunnel_ip, + tunnel_is_pending_reconnect, + tunnel_messages, + tunnel_run_at, + tunnel_schemas$$connection, + tunnel_version, } from "../../outputs.js"; import { tunnel_account_id, - tunnel_client_id, + tunnel_client_id as tunnel_client_id$, tunnel_tunnel_id, } from "../../schemas.js"; import { - tunnel_config_version_output, - tunnel_connections_output, - tunnel_tunnel_client_output, + tunnel_config_version, + tunnel_connections, + tunnel_tunnel_client, } from "../outputs.js"; -import { tunnel_tunnel_client_response_output } from "./outputs.js"; +import { tunnel_tunnel_client_response } from "./outputs.js"; /** * The tools of `tunnels.connectors`. @@ -40,49 +40,57 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "connector_id": { - "$ref": "#/$defs/tunnel_client_id", - "description": "UUID of the Cloudflare Tunnel connector." - }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "connector_id": { + "$ref": "#/$defs/tunnel_client_id", + "description": "UUID of the Cloudflare Tunnel connector." + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id", + "connector_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id", - "connector_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_client_id": tunnel_client_id, + "tunnel_client_id": tunnel_client_id$, "tunnel_tunnel_id": tunnel_tunnel_id, }, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_client_response", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_arch": tunnel_arch_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_version": tunnel_config_version_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections": tunnel_connections_output, - "tunnel_features": tunnel_features_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_run_at": tunnel_run_at_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_tunnel_client": tunnel_tunnel_client_output, - "tunnel_tunnel_client_response": tunnel_tunnel_client_response_output, - "tunnel_version": tunnel_version_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_arch": tunnel_arch, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_version": tunnel_config_version, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections": tunnel_connections, + "tunnel_features": tunnel_features, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_run_at": tunnel_run_at, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_tunnel_client": tunnel_tunnel_client, + "tunnel_tunnel_client_response": tunnel_tunnel_client_response, + "tunnel_version": tunnel_version, }, }, annotations: { @@ -121,23 +129,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_arch": tunnel_arch_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_version": tunnel_config_version_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections": tunnel_connections_output, - "tunnel_features": tunnel_features_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_run_at": tunnel_run_at_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_tunnel_client": tunnel_tunnel_client_output, - "tunnel_tunnel_client_response": tunnel_tunnel_client_response_output, - "tunnel_version": tunnel_version_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_arch": tunnel_arch, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_version": tunnel_config_version, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections": tunnel_connections, + "tunnel_features": tunnel_features, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_run_at": tunnel_run_at, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_tunnel_client": tunnel_tunnel_client, + "tunnel_tunnel_client_response": tunnel_tunnel_client_response, + "tunnel_version": tunnel_version, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/managementToken/schemas.ts b/src/generated/forge-mcp/tunnels/managementToken/schemas.ts index 292d563c4..e63a370a4 100644 --- a/src/generated/forge-mcp/tunnels/managementToken/schemas.ts +++ b/src/generated/forge-mcp/tunnels/managementToken/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tunnel_management-resources`. */ -export const tunnel_management_resources: JsonSchema = { +export const tunnel_management$$resources: JsonSchema = { "description": "Management resources the token will have access to.", "enum": [ "logs" diff --git a/src/generated/forge-mcp/tunnels/managementToken/tools.ts b/src/generated/forge-mcp/tunnels/managementToken/tools.ts index 9527d45a1..41aa920c9 100644 --- a/src/generated/forge-mcp/tunnels/managementToken/tools.ts +++ b/src/generated/forge-mcp/tunnels/managementToken/tools.ts @@ -3,30 +3,26 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_messages_output, - tunnel_tunnel_response_token_output, - tunnel_tunnel_token_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_messages, + tunnel_tunnel_response_token, + tunnel_tunnel_token, } from "../../outputs.js"; import { tunnel_account_id, tunnel_tunnel_id } from "../../schemas.js"; -import { tunnel_management_resources } from "./schemas.js"; +import { tunnel_management$$resources } from "./schemas.js"; /** - * The tools of `tunnels.management_token`. + * The tools of `tunnels.managementToken`. */ export const tools: readonly Tool[] = [ { - name: "tunnels_management_token_create", + name: "tunnels_managementToken_create", title: "Get a Cloudflare Tunnel management token", description: "Creates a short-lived management token for the requested Tunnel management resources, such as streaming logs. Treat the token as a secret.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "resources": { @@ -41,29 +37,41 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_management-resources": tunnel_management_resources, + "tunnel_management-resources": tunnel_management$$resources, "tunnel_tunnel_id": tunnel_tunnel_id, }, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_response_token", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_response_token": tunnel_tunnel_response_token_output, - "tunnel_tunnel_token": tunnel_tunnel_token_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_response_token": tunnel_tunnel_response_token, + "tunnel_tunnel_token": tunnel_tunnel_token, }, }, annotations: { @@ -99,11 +107,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_response_token": tunnel_tunnel_response_token_output, - "tunnel_tunnel_token": tunnel_tunnel_token_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_response_token": tunnel_tunnel_response_token, + "tunnel_tunnel_token": tunnel_tunnel_token, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/outputs.ts b/src/generated/forge-mcp/tunnels/outputs.ts index 2d39fcd6f..c76f5f72c 100644 --- a/src/generated/forge-mcp/tunnels/outputs.ts +++ b/src/generated/forge-mcp/tunnels/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `tunnel_cfd-tunnel-response-single` in responses. */ -export const tunnel_cfd_tunnel_response_single_output: JsonSchema = { +export const tunnel_cfd$$tunnel$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" @@ -25,14 +25,14 @@ export const tunnel_cfd_tunnel_response_single_output: JsonSchema = { /** * The schema of `tunnel_config_version` in responses. */ -export const tunnel_config_version_output: JsonSchema = { +export const tunnel_config_version: JsonSchema = { "type": "integer" }; /** * The schema of `tunnel_connections` in responses. */ -export const tunnel_connections_output: JsonSchema = { +export const tunnel_connections: JsonSchema = { "items": { "$ref": "#/$defs/tunnel_schemas-connection" }, @@ -42,7 +42,7 @@ export const tunnel_connections_output: JsonSchema = { /** * The schema of `tunnel_tunnel-response-collection` in responses. */ -export const tunnel_tunnel_response_collection_output: JsonSchema = { +export const tunnel_tunnel$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-collection" @@ -71,7 +71,7 @@ export const tunnel_tunnel_response_collection_output: JsonSchema = { /** * The schema of `tunnel_tunnel_client` in responses. */ -export const tunnel_tunnel_client_output: JsonSchema = { +export const tunnel_tunnel_client: JsonSchema = { "properties": { "arch": { "$ref": "#/$defs/tunnel_arch" diff --git a/src/generated/forge-mcp/tunnels/token/tools.ts b/src/generated/forge-mcp/tunnels/token/tools.ts index d7a428f97..1eb29b8dd 100644 --- a/src/generated/forge-mcp/tunnels/token/tools.ts +++ b/src/generated/forge-mcp/tunnels/token/tools.ts @@ -3,11 +3,11 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_messages_output, - tunnel_tunnel_response_token_output, - tunnel_tunnel_token_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_messages, + tunnel_tunnel_response_token, + tunnel_tunnel_token, } from "../../outputs.js"; import { tunnel_account_id, tunnel_tunnel_id } from "../../schemas.js"; @@ -22,18 +22,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, @@ -43,10 +51,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tunnel_tunnel_response_token", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_response_token": tunnel_tunnel_response_token_output, - "tunnel_tunnel_token": tunnel_tunnel_token_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_response_token": tunnel_tunnel_response_token, + "tunnel_tunnel_token": tunnel_tunnel_token, }, }, annotations: { @@ -82,11 +90,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_tunnel_response_token": tunnel_tunnel_response_token_output, - "tunnel_tunnel_token": tunnel_tunnel_token_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_messages": tunnel_messages, + "tunnel_tunnel_response_token": tunnel_tunnel_response_token, + "tunnel_tunnel_token": tunnel_tunnel_token, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/tools.ts b/src/generated/forge-mcp/tunnels/tools.ts index e52732336..a927f4056 100644 --- a/src/generated/forge-mcp/tunnels/tools.ts +++ b/src/generated/forge-mcp/tunnels/tools.ts @@ -1,52 +1,52 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; -import { - tunnel_account_id_output, - tunnel_api_response_collection_output, - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_cfd_tunnel_output, - tunnel_client_id_output, - tunnel_colo_name_output, - tunnel_config_src_output, - tunnel_connection_id_output, - tunnel_connections_deprecated_output, - tunnel_conns_active_at_output, - tunnel_conns_inactive_at_output, - tunnel_created_at_output, - tunnel_deleted_at_output, - tunnel_ip_output, - tunnel_is_pending_reconnect_output, - tunnel_messages_output, - tunnel_metadata_output, - tunnel_remote_config_output, - tunnel_result_info_output, - tunnel_schemas_connection_output, - tunnel_status_output, - tunnel_tunnel_id_output, - tunnel_tunnel_name_output, - tunnel_tunnel_type_output, - tunnel_version_output, - tunnel_warp_connector_tunnel_output, -} from "../outputs.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { tunnel_account_id, + tunnel_api$$response$$collection, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_cfd_tunnel, + tunnel_client_id, + tunnel_colo_name, tunnel_config_src, - tunnel_existed_at, - tunnel_page_number, - tunnel_per_page, + tunnel_connection_id, + tunnel_connections_deprecated, + tunnel_conns_active_at, + tunnel_conns_inactive_at, + tunnel_created_at, + tunnel_deleted_at, + tunnel_ip, + tunnel_is_pending_reconnect, + tunnel_messages, + tunnel_metadata, + tunnel_remote_config, + tunnel_result_info, + tunnel_schemas$$connection, tunnel_status, tunnel_tunnel_id, tunnel_tunnel_name, - tunnel_tunnel_secret, tunnel_tunnel_type, + tunnel_version, + tunnel_warp_connector_tunnel, +} from "../outputs.js"; +import { + tunnel_account_id as tunnel_account_id$, + tunnel_config_src as tunnel_config_src$, + tunnel_existed_at, + tunnel_page_number, + tunnel_per_page, + tunnel_status as tunnel_status$, + tunnel_tunnel_id as tunnel_tunnel_id$, + tunnel_tunnel_name as tunnel_tunnel_name$, + tunnel_tunnel_secret, + tunnel_tunnel_type as tunnel_tunnel_type$, tunnel_tunnel_types, } from "../schemas.js"; import { - tunnel_cfd_tunnel_response_single_output, - tunnel_tunnel_response_collection_output, + tunnel_cfd$$tunnel$$response$$single, + tunnel_tunnel$$response$$collection, } from "./outputs.js"; /** @@ -60,10 +60,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "config_src": { @@ -82,46 +78,58 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_config_src": tunnel_config_src, - "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_account_id": tunnel_account_id$, + "tunnel_config_src": tunnel_config_src$, + "tunnel_tunnel_name": tunnel_tunnel_name$, "tunnel_tunnel_secret": tunnel_tunnel_secret, }, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-single", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, annotations: { @@ -157,31 +165,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, request: (args) => ({ @@ -196,51 +204,59 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id" + "path" ], $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_account_id": tunnel_account_id$, + "tunnel_tunnel_id": tunnel_tunnel_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-single", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, annotations: { @@ -276,31 +292,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, request: (args) => ({ @@ -314,10 +330,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "name": { @@ -331,50 +343,62 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id", + "path", "body" ], $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_account_id": tunnel_account_id$, + "tunnel_tunnel_id": tunnel_tunnel_id$, + "tunnel_tunnel_name": tunnel_tunnel_name$, "tunnel_tunnel_secret": tunnel_tunnel_secret, }, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-single", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, annotations: { @@ -410,31 +434,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, request: (args) => ({ @@ -449,51 +473,59 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + }, + "tunnel_id": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + } + }, + "required": [ + "account_id", + "tunnel_id" + ], + "type": "object" } }, required: [ - "account_id", - "tunnel_id" + "path" ], $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_account_id": tunnel_account_id$, + "tunnel_tunnel_id": tunnel_tunnel_id$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-single", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, annotations: { @@ -532,31 +564,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_cfd-tunnel-response-single": tunnel_cfd_tunnel_response_single_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, }, }, request: (args) => ({ @@ -570,102 +602,115 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, - "exclude_prefix": { - "type": "string" - }, - "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." - }, - "include_prefix": { - "type": "string" - }, - "is_deleted": { - "description": "If `true`, only include deleted tunnels. If `false`, exclude deleted tunnels. If empty, all tunnels will be included.", - "type": "boolean" - }, - "name": { - "description": "A user-friendly name for the tunnel.", - "type": "string" - }, - "page": { - "$ref": "#/$defs/tunnel_page_number", - "default": 1, - "description": "Page number of paginated results." - }, - "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." - }, - "status": { - "$ref": "#/$defs/tunnel_status", - "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge)." - }, - "tun_types": { - "$ref": "#/$defs/tunnel_tunnel_types", - "description": "The types of tunnels to filter by, separated by commas." - }, - "uuid": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." - }, - "was_active_at": { - "format": "date-time", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "was_inactive_at": { - "format": "date-time", - "type": "string" + "query": { + "properties": { + "exclude_prefix": { + "type": "string" + }, + "existed_at": { + "$ref": "#/$defs/tunnel_existed_at", + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + }, + "include_prefix": { + "type": "string" + }, + "is_deleted": { + "description": "If `true`, only include deleted tunnels. If `false`, exclude deleted tunnels. If empty, all tunnels will be included.", + "type": "boolean" + }, + "name": { + "description": "A user-friendly name for the tunnel.", + "type": "string" + }, + "page": { + "$ref": "#/$defs/tunnel_page_number", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "$ref": "#/$defs/tunnel_per_page", + "description": "Number of results to display." + }, + "status": { + "$ref": "#/$defs/tunnel_status", + "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge)." + }, + "tun_types": { + "$ref": "#/$defs/tunnel_tunnel_types", + "description": "The types of tunnels to filter by, separated by commas." + }, + "uuid": { + "$ref": "#/$defs/tunnel_tunnel_id", + "description": "UUID of the tunnel." + }, + "was_active_at": { + "format": "date-time", + "type": "string" + }, + "was_inactive_at": { + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "tunnel_account_id": tunnel_account_id, + "tunnel_account_id": tunnel_account_id$, "tunnel_existed_at": tunnel_existed_at, "tunnel_page_number": tunnel_page_number, "tunnel_per_page": tunnel_per_page, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_status": tunnel_status$, + "tunnel_tunnel_id": tunnel_tunnel_id$, + "tunnel_tunnel_type": tunnel_tunnel_type$, "tunnel_tunnel_types": tunnel_tunnel_types, }, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel-response-collection", $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel-response-collection": tunnel_tunnel_response_collection_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_result_info": tunnel_result_info, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel-response-collection": tunnel_tunnel$$response$$collection, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, annotations: { @@ -704,51 +749,51 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id_output, - "tunnel_api-response-collection": tunnel_api_response_collection_output, - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_cfd_tunnel": tunnel_cfd_tunnel_output, - "tunnel_client_id": tunnel_client_id_output, - "tunnel_colo_name": tunnel_colo_name_output, - "tunnel_config_src": tunnel_config_src_output, - "tunnel_connection_id": tunnel_connection_id_output, - "tunnel_connections_deprecated": tunnel_connections_deprecated_output, - "tunnel_conns_active_at": tunnel_conns_active_at_output, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at_output, - "tunnel_created_at": tunnel_created_at_output, - "tunnel_deleted_at": tunnel_deleted_at_output, - "tunnel_ip": tunnel_ip_output, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_metadata": tunnel_metadata_output, - "tunnel_remote_config": tunnel_remote_config_output, - "tunnel_result_info": tunnel_result_info_output, - "tunnel_schemas-connection": tunnel_schemas_connection_output, - "tunnel_status": tunnel_status_output, - "tunnel_tunnel-response-collection": tunnel_tunnel_response_collection_output, - "tunnel_tunnel_id": tunnel_tunnel_id_output, - "tunnel_tunnel_name": tunnel_tunnel_name_output, - "tunnel_tunnel_type": tunnel_tunnel_type_output, - "tunnel_version": tunnel_version_output, - "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel_output, + "tunnel_account_id": tunnel_account_id, + "tunnel_api-response-collection": tunnel_api$$response$$collection, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_cfd_tunnel": tunnel_cfd_tunnel, + "tunnel_client_id": tunnel_client_id, + "tunnel_colo_name": tunnel_colo_name, + "tunnel_config_src": tunnel_config_src, + "tunnel_connection_id": tunnel_connection_id, + "tunnel_connections_deprecated": tunnel_connections_deprecated, + "tunnel_conns_active_at": tunnel_conns_active_at, + "tunnel_conns_inactive_at": tunnel_conns_inactive_at, + "tunnel_created_at": tunnel_created_at, + "tunnel_deleted_at": tunnel_deleted_at, + "tunnel_ip": tunnel_ip, + "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, + "tunnel_messages": tunnel_messages, + "tunnel_metadata": tunnel_metadata, + "tunnel_remote_config": tunnel_remote_config, + "tunnel_result_info": tunnel_result_info, + "tunnel_schemas-connection": tunnel_schemas$$connection, + "tunnel_status": tunnel_status, + "tunnel_tunnel-response-collection": tunnel_tunnel$$response$$collection, + "tunnel_tunnel_id": tunnel_tunnel_id, + "tunnel_tunnel_name": tunnel_tunnel_name, + "tunnel_tunnel_type": tunnel_tunnel_type, + "tunnel_version": tunnel_version, + "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/tunnels`, query: [ - ["name", args["name"], true], - ["is_deleted", args["is_deleted"], true], - ["existed_at", args["existed_at"], true], - ["uuid", args["uuid"], true], - ["was_active_at", args["was_active_at"], true], - ["was_inactive_at", args["was_inactive_at"], true], - ["include_prefix", args["include_prefix"], true], - ["exclude_prefix", args["exclude_prefix"], true], - ["tun_types", args["tun_types"], true], - ["status", args["status"], true], - ["per_page", args["per_page"], true], - ["page", args["page"], true], + ["name", param(args, "query", "name"), true], + ["is_deleted", param(args, "query", "is_deleted"), true], + ["existed_at", param(args, "query", "existed_at"), true], + ["uuid", param(args, "query", "uuid"), true], + ["was_active_at", param(args, "query", "was_active_at"), true], + ["was_inactive_at", param(args, "query", "was_inactive_at"), true], + ["include_prefix", param(args, "query", "include_prefix"), true], + ["exclude_prefix", param(args, "query", "exclude_prefix"), true], + ["tun_types", param(args, "query", "tun_types"), true], + ["status", param(args, "query", "status"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], ], }), }, diff --git a/src/generated/forge-mcp/turnstile/widgets/outputs.ts b/src/generated/forge-mcp/turnstile/widgets/outputs.ts index 3c5ba4cf7..b01c52a6e 100644 --- a/src/generated/forge-mcp/turnstile/widgets/outputs.ts +++ b/src/generated/forge-mcp/turnstile/widgets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `turnstile_api-response-common` in responses. */ -export const turnstile_api_response_common_output: JsonSchema = { +export const turnstile_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/turnstile_messages" @@ -29,7 +29,7 @@ export const turnstile_api_response_common_output: JsonSchema = { /** * The schema of `turnstile_api-response-common-failure` in responses. */ -export const turnstile_api_response_common_failure_output: JsonSchema = { +export const turnstile_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/turnstile_messages" @@ -63,14 +63,14 @@ export const turnstile_api_response_common_failure_output: JsonSchema = { /** * The schema of `turnstile_bot_fight_mode` in responses. */ -export const turnstile_bot_fight_mode_output: JsonSchema = { +export const turnstile_bot_fight_mode: JsonSchema = { "type": "boolean" }; /** * The schema of `turnstile_clearance_level` in responses. */ -export const turnstile_clearance_level_output: JsonSchema = { +export const turnstile_clearance_level: JsonSchema = { "enum": [ "no_clearance", "jschallenge", @@ -83,7 +83,7 @@ export const turnstile_clearance_level_output: JsonSchema = { /** * The schema of `turnstile_created_on` in responses. */ -export const turnstile_created_on_output: JsonSchema = { +export const turnstile_created_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -91,7 +91,7 @@ export const turnstile_created_on_output: JsonSchema = { /** * The schema of `turnstile_deployed_via` in responses. */ -export const turnstile_deployed_via_output: JsonSchema = { +export const turnstile_deployed_via: JsonSchema = { "enum": [ "wrangler", "dashboard", @@ -105,7 +105,7 @@ export const turnstile_deployed_via_output: JsonSchema = { /** * The schema of `turnstile_domains` in responses. */ -export const turnstile_domains_output: JsonSchema = { +export const turnstile_domains: JsonSchema = { "items": { "type": "string" }, @@ -115,14 +115,14 @@ export const turnstile_domains_output: JsonSchema = { /** * The schema of `turnstile_ephemeral_id` in responses. */ -export const turnstile_ephemeral_id_output: JsonSchema = { +export const turnstile_ephemeral_id: JsonSchema = { "type": "boolean" }; /** * The schema of `turnstile_last_modified_via` in responses. */ -export const turnstile_last_modified_via_output: JsonSchema = { +export const turnstile_last_modified_via: JsonSchema = { "enum": [ "wrangler", "dashboard", @@ -136,7 +136,7 @@ export const turnstile_last_modified_via_output: JsonSchema = { /** * The schema of `turnstile_messages` in responses. */ -export const turnstile_messages_output: JsonSchema = { +export const turnstile_messages: JsonSchema = { "items": { "properties": { "code": { @@ -158,7 +158,7 @@ export const turnstile_messages_output: JsonSchema = { /** * The schema of `turnstile_modified_on` in responses. */ -export const turnstile_modified_on_output: JsonSchema = { +export const turnstile_modified_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -166,21 +166,21 @@ export const turnstile_modified_on_output: JsonSchema = { /** * The schema of `turnstile_name` in responses. */ -export const turnstile_name_output: JsonSchema = { +export const turnstile_name: JsonSchema = { "type": "string" }; /** * The schema of `turnstile_offlabel` in responses. */ -export const turnstile_offlabel_output: JsonSchema = { +export const turnstile_offlabel: JsonSchema = { "type": "boolean" }; /** * The schema of `turnstile_region` in responses. */ -export const turnstile_region_output: JsonSchema = { +export const turnstile_region: JsonSchema = { "enum": [ "world", "china" @@ -191,7 +191,7 @@ export const turnstile_region_output: JsonSchema = { /** * The schema of `turnstile_result_info` in responses. */ -export const turnstile_result_info_output: JsonSchema = { +export const turnstile_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -218,21 +218,21 @@ export const turnstile_result_info_output: JsonSchema = { /** * The schema of `turnstile_secret` in responses. */ -export const turnstile_secret_output: JsonSchema = { +export const turnstile_secret: JsonSchema = { "type": "string" }; /** * The schema of `turnstile_sitekey` in responses. */ -export const turnstile_sitekey_output: JsonSchema = { +export const turnstile_sitekey: JsonSchema = { "type": "string" }; /** * The schema of `turnstile_widget_detail` in responses. */ -export const turnstile_widget_detail_output: JsonSchema = { +export const turnstile_widget_detail: JsonSchema = { "properties": { "bot_fight_mode": { "$ref": "#/$defs/turnstile_bot_fight_mode" @@ -297,7 +297,7 @@ export const turnstile_widget_detail_output: JsonSchema = { /** * The schema of `turnstile_widget_list` in responses. */ -export const turnstile_widget_list_output: JsonSchema = { +export const turnstile_widget_list: JsonSchema = { "properties": { "bot_fight_mode": { "$ref": "#/$defs/turnstile_bot_fight_mode" @@ -358,7 +358,7 @@ export const turnstile_widget_list_output: JsonSchema = { /** * The schema of `turnstile_widget_mode` in responses. */ -export const turnstile_widget_mode_output: JsonSchema = { +export const turnstile_widget_mode: JsonSchema = { "enum": [ "non-interactive", "invisible", diff --git a/src/generated/forge-mcp/turnstile/widgets/tools.ts b/src/generated/forge-mcp/turnstile/widgets/tools.ts index 6f3b05b02..483192a4b 100644 --- a/src/generated/forge-mcp/turnstile/widgets/tools.ts +++ b/src/generated/forge-mcp/turnstile/widgets/tools.ts @@ -1,41 +1,41 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - turnstile_api_response_common_failure_output, - turnstile_api_response_common_output, - turnstile_bot_fight_mode_output, - turnstile_clearance_level_output, - turnstile_created_on_output, - turnstile_deployed_via_output, - turnstile_domains_output, - turnstile_ephemeral_id_output, - turnstile_last_modified_via_output, - turnstile_messages_output, - turnstile_modified_on_output, - turnstile_name_output, - turnstile_offlabel_output, - turnstile_region_output, - turnstile_result_info_output, - turnstile_secret_output, - turnstile_sitekey_output, - turnstile_widget_detail_output, - turnstile_widget_list_output, - turnstile_widget_mode_output, -} from "./outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { + turnstile_api$$response$$common, + turnstile_api$$response$$common$$failure, turnstile_bot_fight_mode, turnstile_clearance_level, + turnstile_created_on, + turnstile_deployed_via, turnstile_domains, turnstile_ephemeral_id, - turnstile_identifier, - turnstile_invalidate_immediately, + turnstile_last_modified_via, + turnstile_messages, + turnstile_modified_on, turnstile_name, turnstile_offlabel, turnstile_region, + turnstile_result_info, + turnstile_secret, turnstile_sitekey, + turnstile_widget_detail, + turnstile_widget_list, turnstile_widget_mode, +} from "./outputs.js"; +import { + turnstile_bot_fight_mode as turnstile_bot_fight_mode$, + turnstile_clearance_level as turnstile_clearance_level$, + turnstile_domains as turnstile_domains$, + turnstile_ephemeral_id as turnstile_ephemeral_id$, + turnstile_identifier, + turnstile_invalidate_immediately, + turnstile_name as turnstile_name$, + turnstile_offlabel as turnstile_offlabel$, + turnstile_region as turnstile_region$, + turnstile_sitekey as turnstile_sitekey$, + turnstile_widget_mode as turnstile_widget_mode$, } from "./schemas.js"; /** @@ -49,10 +49,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" - }, "body": { "properties": { "bot_fight_mode": { @@ -94,54 +90,71 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "direction": { - "description": "Direction to order widgets.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "filter": { - "description": "Filter widgets by field. The `name` field uses case-insensitive\nsubstring matching; `sitekey` uses exact matching.\nFormat: `field:value`\n\nSupported fields:\n- `name` - Filter by widget name (e.g., `filter=name:login-form`)\n- `sitekey` - Filter by sitekey (e.g., `filter=sitekey:0x4AAA`)\n\nReturns 400 Bad Request if the field is unsupported or format is invalid.\nAn empty filter value returns all results.\n", - "type": "string" - }, - "order": { - "description": "Field to order widgets by.", - "enum": [ - "id", - "sitekey", - "name", - "created_on", - "modified_on" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/turnstile_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" + "type": "object" }, - "per_page": { - "default": 25, - "description": "Number of items per page.", - "type": "number" + "query": { + "properties": { + "direction": { + "description": "Direction to order widgets.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "filter": { + "description": "Filter widgets by field. The `name` field uses case-insensitive\nsubstring matching; `sitekey` uses exact matching.\nFormat: `field:value`\n\nSupported fields:\n- `name` - Filter by widget name (e.g., `filter=name:login-form`)\n- `sitekey` - Filter by sitekey (e.g., `filter=sitekey:0x4AAA`)\n\nReturns 400 Bad Request if the field is unsupported or format is invalid.\nAn empty filter value returns all results.\n", + "type": "string" + }, + "order": { + "description": "Field to order widgets by.", + "enum": [ + "id", + "sitekey", + "name", + "created_on", + "modified_on" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 25, + "description": "Number of items per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode$, + "turnstile_clearance_level": turnstile_clearance_level$, + "turnstile_domains": turnstile_domains$, + "turnstile_ephemeral_id": turnstile_ephemeral_id$, "turnstile_identifier": turnstile_identifier, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_widget_mode": turnstile_widget_mode, + "turnstile_name": turnstile_name$, + "turnstile_offlabel": turnstile_offlabel$, + "turnstile_region": turnstile_region$, + "turnstile_widget_mode": turnstile_widget_mode$, }, }, outputSchema: { @@ -167,24 +180,24 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_result_info": turnstile_result_info_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_result_info": turnstile_result_info, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -237,35 +250,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_result_info": turnstile_result_info_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_result_info": turnstile_result_info, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/challenges/widgets`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["filter", args["filter"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["filter", param(args, "query", "filter"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -277,22 +290,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" - }, - "sitekey": { - "$ref": "#/$defs/turnstile_sitekey", - "description": "Unique identifier for a Turnstile widget." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/turnstile_identifier", + "description": "Identifier" + }, + "sitekey": { + "$ref": "#/$defs/turnstile_sitekey", + "description": "Unique identifier for a Turnstile widget." + } + }, + "required": [ + "account_id", + "sitekey" + ], + "type": "object" } }, required: [ - "account_id", - "sitekey" + "path" ], $defs: { "turnstile_identifier": turnstile_identifier, - "turnstile_sitekey": turnstile_sitekey, + "turnstile_sitekey": turnstile_sitekey$, }, }, outputSchema: { @@ -310,23 +331,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -366,24 +387,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ @@ -397,22 +418,30 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" - }, - "sitekey": { - "$ref": "#/$defs/turnstile_sitekey", - "description": "Unique identifier for a Turnstile widget." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/turnstile_identifier", + "description": "Identifier" + }, + "sitekey": { + "$ref": "#/$defs/turnstile_sitekey", + "description": "Unique identifier for a Turnstile widget." + } + }, + "required": [ + "account_id", + "sitekey" + ], + "type": "object" } }, required: [ - "account_id", - "sitekey" + "path" ], $defs: { "turnstile_identifier": turnstile_identifier, - "turnstile_sitekey": turnstile_sitekey, + "turnstile_sitekey": turnstile_sitekey$, }, }, outputSchema: { @@ -430,23 +459,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -488,24 +517,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ @@ -519,46 +548,59 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" - }, - "direction": { - "description": "Direction to order widgets.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "filter": { - "description": "Filter widgets by field. The `name` field uses case-insensitive\nsubstring matching; `sitekey` uses exact matching.\nFormat: `field:value`\n\nSupported fields:\n- `name` - Filter by widget name (e.g., `filter=name:login-form`)\n- `sitekey` - Filter by sitekey (e.g., `filter=sitekey:0x4AAA`)\n\nReturns 400 Bad Request if the field is unsupported or format is invalid.\nAn empty filter value returns all results.\n", - "type": "string" - }, - "order": { - "description": "Field to order widgets by.", - "enum": [ - "id", - "sitekey", - "name", - "created_on", - "modified_on" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/turnstile_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" + "type": "object" }, - "per_page": { - "default": 25, - "description": "Number of items per page.", - "type": "number" + "query": { + "properties": { + "direction": { + "description": "Direction to order widgets.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "filter": { + "description": "Filter widgets by field. The `name` field uses case-insensitive\nsubstring matching; `sitekey` uses exact matching.\nFormat: `field:value`\n\nSupported fields:\n- `name` - Filter by widget name (e.g., `filter=name:login-form`)\n- `sitekey` - Filter by sitekey (e.g., `filter=sitekey:0x4AAA`)\n\nReturns 400 Bad Request if the field is unsupported or format is invalid.\nAn empty filter value returns all results.\n", + "type": "string" + }, + "order": { + "description": "Field to order widgets by.", + "enum": [ + "id", + "sitekey", + "name", + "created_on", + "modified_on" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 25, + "description": "Number of items per page.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "turnstile_identifier": turnstile_identifier, @@ -590,23 +632,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_result_info": turnstile_result_info_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_list": turnstile_widget_list_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_result_info": turnstile_result_info, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_list": turnstile_widget_list, + "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -659,48 +701,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_result_info": turnstile_result_info_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_list": turnstile_widget_list_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_result_info": turnstile_result_info, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_list": turnstile_widget_list, + "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/challenges/widgets`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["filter", args["filter"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["filter", param(args, "query", "filter"), true], ], }), }, { - name: "turnstile_widgets_rotate_secret", + name: "turnstile_widgets_rotateSecret", title: "Rotate Secret for a Turnstile Widget", description: "Generates a new secret key for this widget. If `invalidate_immediately`\nis set to `false`, the previous secret remains valid for 2 hours.\n\nNote that secrets cannot be rotated again during the grace period.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" - }, "body": { "properties": { "invalidate_immediately": { @@ -711,20 +749,32 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "sitekey": { - "$ref": "#/$defs/turnstile_sitekey", - "description": "Unique identifier for a Turnstile widget." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/turnstile_identifier", + "description": "Identifier" + }, + "sitekey": { + "$ref": "#/$defs/turnstile_sitekey", + "description": "Unique identifier for a Turnstile widget." + } + }, + "required": [ + "account_id", + "sitekey" + ], + "type": "object" } }, required: [ - "account_id", - "sitekey", + "path", "body" ], $defs: { "turnstile_identifier": turnstile_identifier, "turnstile_invalidate_immediately": turnstile_invalidate_immediately, - "turnstile_sitekey": turnstile_sitekey, + "turnstile_sitekey": turnstile_sitekey$, }, }, outputSchema: { @@ -742,23 +792,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -798,24 +848,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ @@ -830,10 +880,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" - }, "body": { "properties": { "bot_fight_mode": { @@ -875,27 +921,39 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "sitekey": { - "$ref": "#/$defs/turnstile_sitekey", - "description": "Unique identifier for a Turnstile widget." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/turnstile_identifier", + "description": "Identifier" + }, + "sitekey": { + "$ref": "#/$defs/turnstile_sitekey", + "description": "Unique identifier for a Turnstile widget." + } + }, + "required": [ + "account_id", + "sitekey" + ], + "type": "object" } }, required: [ - "account_id", - "sitekey", + "path", "body" ], $defs: { - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode$, + "turnstile_clearance_level": turnstile_clearance_level$, + "turnstile_domains": turnstile_domains$, + "turnstile_ephemeral_id": turnstile_ephemeral_id$, "turnstile_identifier": turnstile_identifier, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_sitekey": turnstile_sitekey, - "turnstile_widget_mode": turnstile_widget_mode, + "turnstile_name": turnstile_name$, + "turnstile_offlabel": turnstile_offlabel$, + "turnstile_region": turnstile_region$, + "turnstile_sitekey": turnstile_sitekey$, + "turnstile_widget_mode": turnstile_widget_mode$, }, }, outputSchema: { @@ -913,23 +971,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -974,24 +1032,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "turnstile_api-response-common": turnstile_api_response_common_output, - "turnstile_api-response-common-failure": turnstile_api_response_common_failure_output, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode_output, - "turnstile_clearance_level": turnstile_clearance_level_output, - "turnstile_created_on": turnstile_created_on_output, - "turnstile_deployed_via": turnstile_deployed_via_output, - "turnstile_domains": turnstile_domains_output, - "turnstile_ephemeral_id": turnstile_ephemeral_id_output, - "turnstile_last_modified_via": turnstile_last_modified_via_output, - "turnstile_messages": turnstile_messages_output, - "turnstile_modified_on": turnstile_modified_on_output, - "turnstile_name": turnstile_name_output, - "turnstile_offlabel": turnstile_offlabel_output, - "turnstile_region": turnstile_region_output, - "turnstile_secret": turnstile_secret_output, - "turnstile_sitekey": turnstile_sitekey_output, - "turnstile_widget_detail": turnstile_widget_detail_output, - "turnstile_widget_mode": turnstile_widget_mode_output, + "turnstile_api-response-common": turnstile_api$$response$$common, + "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, + "turnstile_bot_fight_mode": turnstile_bot_fight_mode, + "turnstile_clearance_level": turnstile_clearance_level, + "turnstile_created_on": turnstile_created_on, + "turnstile_deployed_via": turnstile_deployed_via, + "turnstile_domains": turnstile_domains, + "turnstile_ephemeral_id": turnstile_ephemeral_id, + "turnstile_last_modified_via": turnstile_last_modified_via, + "turnstile_messages": turnstile_messages, + "turnstile_modified_on": turnstile_modified_on, + "turnstile_name": turnstile_name, + "turnstile_offlabel": turnstile_offlabel, + "turnstile_region": turnstile_region, + "turnstile_secret": turnstile_secret, + "turnstile_sitekey": turnstile_sitekey, + "turnstile_widget_detail": turnstile_widget_detail, + "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/urlNormalization/outputs.ts b/src/generated/forge-mcp/urlNormalization/outputs.ts index c162c59f4..d61efb944 100644 --- a/src/generated/forge-mcp/urlNormalization/outputs.ts +++ b/src/generated/forge-mcp/urlNormalization/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `rulesets_UrlNormalization` in responses. */ -export const rulesets_UrlNormalization_output: JsonSchema = { +export const rulesets_UrlNormalization: JsonSchema = { "properties": { "scope": { "enum": [ diff --git a/src/generated/forge-mcp/urlNormalization/tools.ts b/src/generated/forge-mcp/urlNormalization/tools.ts index 5661318e2..81449f26a 100644 --- a/src/generated/forge-mcp/urlNormalization/tools.ts +++ b/src/generated/forge-mcp/urlNormalization/tools.ts @@ -3,33 +3,41 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - rulesets_Errors_output, - rulesets_Message_output, - rulesets_Messages_output, - rulesets_Response_output, + rulesets_Errors, + rulesets_Message, + rulesets_Messages, + rulesets_Response, } from "../outputs.js"; import { rulesets_ZoneId } from "../schemas.js"; -import { rulesets_UrlNormalization_output } from "./outputs.js"; -import { rulesets_UrlNormalization } from "./schemas.js"; +import { rulesets_UrlNormalization } from "./outputs.js"; +import { rulesets_UrlNormalization as rulesets_UrlNormalization$ } from "./schemas.js"; /** - * The tools of `url_normalization`. + * The tools of `urlNormalization`. */ export const tools: readonly Tool[] = [ { - name: "url_normalization_delete", + name: "urlNormalization_delete", title: "Delete URL Normalization settings", description: "Deletes the URL Normalization settings.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/rulesets_ZoneId", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "rulesets_ZoneId": rulesets_ZoneId, @@ -101,10 +109,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, }, }, request: (args) => ({ @@ -112,19 +120,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "url_normalization_get", + name: "urlNormalization_get", title: "Get URL Normalization settings", description: "Fetches the current URL Normalization settings.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/rulesets_ZoneId", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "rulesets_ZoneId": rulesets_ZoneId, @@ -152,11 +168,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_UrlNormalization": rulesets_UrlNormalization_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, + "rulesets_UrlNormalization": rulesets_UrlNormalization, }, }, annotations: { @@ -267,11 +283,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_UrlNormalization": rulesets_UrlNormalization_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, + "rulesets_UrlNormalization": rulesets_UrlNormalization, }, }, request: (args) => ({ @@ -279,7 +295,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "url_normalization_update", + name: "urlNormalization_update", title: "Update URL Normalization settings", description: "Updates the URL Normalization settings.", inputSchema: { @@ -288,17 +304,25 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/rulesets_UrlNormalization" }, - "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/rulesets_ZoneId", + "description": "The unique ID of the zone." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "rulesets_UrlNormalization": rulesets_UrlNormalization, + "rulesets_UrlNormalization": rulesets_UrlNormalization$, "rulesets_ZoneId": rulesets_ZoneId, }, }, @@ -324,11 +348,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_UrlNormalization": rulesets_UrlNormalization_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, + "rulesets_UrlNormalization": rulesets_UrlNormalization, }, }, annotations: { @@ -418,11 +442,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_Errors": rulesets_Errors_output, - "rulesets_Message": rulesets_Message_output, - "rulesets_Messages": rulesets_Messages_output, - "rulesets_Response": rulesets_Response_output, - "rulesets_UrlNormalization": rulesets_UrlNormalization_output, + "rulesets_Errors": rulesets_Errors, + "rulesets_Message": rulesets_Message, + "rulesets_Messages": rulesets_Messages, + "rulesets_Response": rulesets_Response, + "rulesets_UrlNormalization": rulesets_UrlNormalization, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/urlScanner/responses/tools.ts b/src/generated/forge-mcp/urlScanner/responses/tools.ts index d27e130da..c57f1abca 100644 --- a/src/generated/forge-mcp/urlScanner/responses/tools.ts +++ b/src/generated/forge-mcp/urlScanner/responses/tools.ts @@ -4,28 +4,36 @@ import { type Tool, pathParam } from "../../_/tool.js"; /** - * The tools of `url_scanner.responses`. + * The tools of `urlScanner.responses`. */ export const tools: readonly Tool[] = [ { - name: "url_scanner_responses_get", + name: "urlScanner_responses_get", title: "Get raw response", description: "Returns the raw response of the network request. Find the `response_id` in the `data.requests.response.hash`.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "response_id": { - "description": "Response hash.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "response_id": { + "description": "Response hash.", + "type": "string" + } + }, + "required": [ + "account_id", + "response_id" + ], + "type": "object" } }, required: [ - "account_id", - "response_id" + "path" ], }, annotations: { diff --git a/src/generated/forge-mcp/urlScanner/scans/tools.ts b/src/generated/forge-mcp/urlScanner/scans/tools.ts index 462c39025..b4eaefc07 100644 --- a/src/generated/forge-mcp/urlScanner/scans/tools.ts +++ b/src/generated/forge-mcp/urlScanner/scans/tools.ts @@ -1,23 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** - * The tools of `url_scanner.scans`. + * The tools of `urlScanner.scans`. */ export const tools: readonly Tool[] = [ { - name: "url_scanner_scans_bulk_create", + name: "urlScanner_scans_bulkCreate", title: "Bulk create URL Scans", description: "Submit URLs to scan. Check limits at https://developers.cloudflare.com/security-center/investigate/scan-limits/ and take into account scans submitted in bulk have lower priority and may take longer to finish.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "items": { "properties": { @@ -72,10 +68,22 @@ export const tools: readonly Tool[] = [ "type": "object" }, "type": "array" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -274,16 +282,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "url_scanner_scans_create", + name: "urlScanner_scans_create", title: "Create URL Scan", description: "Submit a URL to scan. Check limits at https://developers.cloudflare.com/security-center/investigate/scan-limits/.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "properties": { "agentReadiness": { @@ -481,10 +485,22 @@ export const tools: readonly Tool[] = [ "url" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -726,25 +742,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "url_scanner_scans_dom", + name: "urlScanner_scans_dom", title: "Get URL scan's DOM", description: "Returns a plain text response, with the scan's DOM content as rendered by Chrome.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "scan_id": { - "description": "Scan UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "scan_id": { + "description": "Scan UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "scan_id" + ], + "type": "object" } }, required: [ - "account_id", - "scan_id" + "path" ], }, annotations: { @@ -882,25 +906,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "url_scanner_scans_get", + name: "urlScanner_scans_get", title: "Get URL scan", description: "Get URL scan by uuid", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "scan_id": { - "description": "Scan UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "scan_id": { + "description": "Scan UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "scan_id" + ], + "type": "object" } }, required: [ - "account_id", - "scan_id" + "path" ], }, outputSchema: { @@ -10289,25 +10321,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "url_scanner_scans_har", + name: "urlScanner_scans_har", title: "Get URL scan's HAR", description: "Get a URL scan's HAR file. See HAR spec at http://www.softwareishard.com/blog/har-12-spec/.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "scan_id": { - "description": "Scan UUID.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "scan_id": { + "description": "Scan UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "scan_id" + ], + "type": "object" } }, required: [ - "account_id", - "scan_id" + "path" ], }, outputSchema: { @@ -10960,27 +11000,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "url_scanner_scans_list", + name: "urlScanner_scans_list", title: "Search URL scans", description: "Use a subset of ElasticSearch Query syntax to filter scans. Some example queries:

- 'path:\"/bundles/jquery.js\"': Searches for scans who requested resources with the given path.
- 'page.asn:AS24940 AND hash:xxx': Websites hosted in AS24940 where a resource with the given hash was downloaded.
- 'page.domain:microsoft* AND verdicts.malicious:true AND NOT page.domain:microsoft.com': malicious scans whose hostname starts with \"microsoft\".
- 'apikey:me AND date:[2025-01 TO 2025-02]': my scans from 2025 January to 2025 February.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, "query": { - "description": "Filter scans", - "type": "string" - }, - "size": { - "description": "Limit the number of objects in the response.", - "type": "integer" + "properties": { + "q": { + "description": "Filter scans", + "type": "string" + }, + "size": { + "description": "Limit the number of objects in the response.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -11269,41 +11322,54 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/search`, query: [ - ["size", args["size"], true], - ["q", args["query"], true], + ["size", param(args, "query", "size"), true], + ["q", param(args, "query", "q"), true], ], }), }, { - name: "url_scanner_scans_screenshot", + name: "urlScanner_scans_screenshot", title: "Get screenshot", description: "Get scan's screenshot by resolution (desktop/mobile/tablet).", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, - "resolution": { - "default": "desktop", - "description": "Target device type.", - "enum": [ - "desktop", - "mobile", - "tablet" + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + }, + "scan_id": { + "description": "Scan UUID.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "scan_id" ], - "type": "string" + "type": "object" }, - "scan_id": { - "description": "Scan UUID.", - "format": "uuid", - "type": "string" + "query": { + "properties": { + "resolution": { + "default": "desktop", + "description": "Target device type.", + "enum": [ + "desktop", + "mobile", + "tablet" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "scan_id" + "path" ], }, annotations: { @@ -11439,7 +11505,7 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/urlscanner/v2/screenshots/${pathParam(args, "scan_id")}.png`, query: [ - ["resolution", args["resolution"], true], + ["resolution", param(args, "query", "resolution"), true], ], }), }, diff --git a/src/generated/forge-mcp/user/auditLogs/tools.ts b/src/generated/forge-mcp/user/auditLogs/tools.ts index 1b58904e2..c2ce64ca4 100644 --- a/src/generated/forge-mcp/user/auditLogs/tools.ts +++ b/src/generated/forge-mcp/user/auditLogs/tools.ts @@ -1,109 +1,114 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../_/tool.js"; +import { type Tool, param } from "../../_/tool.js"; import { - aaa_api_response_common_failure_output, - aaa_api_response_common_output, - aaa_audit_logs_output, - aaa_audit_logs_response_collection_output$, - aaa_identifier_output, - aaa_messages_output, + aaa_api$$response$$common, + aaa_api$$response$$common$$failure, + aaa_audit$$logs, + aaa_audit_logs_response_collection, + aaa_identifier, + aaa_messages, } from "../../outputs.js"; /** - * The tools of `user.audit_logs`. + * The tools of `user.auditLogs`. */ export const tools: readonly Tool[] = [ { - name: "user_audit_logs_list", + name: "user_auditLogs_list", title: "Get user audit logs", description: "Gets a list of audit logs for a user account. Can be filtered by who made the change, on which zone, and the timeframe of the change.", inputSchema: { type: "object", properties: { - "action_type": { - "description": "Filters by the action type.", - "type": "string" - }, - "actor_email": { - "description": "Filters by the email address of the actor that made the change.", - "type": "string" - }, - "actor_ip": { - "description": "Filters by the IP address of the request that made the change by specific IP address or valid CIDR Range.", - "type": "string" - }, - "before": { - "oneOf": [ - { - "format": "date", + "query": { + "properties": { + "action.type": { + "description": "Filters by the action type.", "type": "string" }, - { - "format": "date-time", + "actor.email": { + "description": "Filters by the email address of the actor that made the change.", "type": "string" - } - ] - }, - "direction": { - "default": "desc", - "description": "Changes the direction of the chronological sorting.", - "enum": [ - "desc", - "asc" - ], - "type": "string" - }, - "export": { - "description": "Indicates that this request is an export of logs in CSV format.", - "type": "boolean" - }, - "hide_user_logs": { - "default": false, - "description": "Indicates whether or not to hide user level audit logs.", - "type": "boolean" - }, - "id": { - "description": "Finds a specific log by its ID.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Defines which page of results to return.", - "type": "number" - }, - "per_page": { - "default": 100, - "description": "Sets the number of results to return per page.", - "type": "number" - }, - "since": { - "oneOf": [ - { - "format": "date", + }, + "actor.ip": { + "description": "Filters by the IP address of the request that made the change by specific IP address or valid CIDR Range.", "type": "string" }, - { - "format": "date-time", + "before": { + "oneOf": [ + { + "format": "date", + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "direction": { + "default": "desc", + "description": "Changes the direction of the chronological sorting.", + "enum": [ + "desc", + "asc" + ], + "type": "string" + }, + "export": { + "description": "Indicates that this request is an export of logs in CSV format.", + "type": "boolean" + }, + "hide_user_logs": { + "default": false, + "description": "Indicates whether or not to hide user level audit logs.", + "type": "boolean" + }, + "id": { + "description": "Finds a specific log by its ID.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Defines which page of results to return.", + "type": "number" + }, + "per_page": { + "default": 100, + "description": "Sets the number of results to return per page.", + "type": "number" + }, + "since": { + "oneOf": [ + { + "format": "date", + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] + }, + "zone.name": { + "description": "Filters by the name of the zone associated to the change.", "type": "string" } - ] - }, - "zone_name": { - "description": "Filters by the name of the zone associated to the change.", - "type": "string" + }, + "type": "object" } }, }, outputSchema: { "$ref": "#/$defs/aaa_audit_logs_response_collection", $defs: { - "aaa_api-response-common": aaa_api_response_common_output, - "aaa_audit-logs": aaa_audit_logs_output, - "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection_output$, - "aaa_identifier": aaa_identifier_output, - "aaa_messages": aaa_messages_output, + "aaa_api-response-common": aaa_api$$response$$common, + "aaa_audit-logs": aaa_audit$$logs, + "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection, + "aaa_identifier": aaa_identifier, + "aaa_messages": aaa_messages, }, }, annotations: { @@ -144,29 +149,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_api-response-common": aaa_api_response_common_output, - "aaa_api-response-common-failure": aaa_api_response_common_failure_output, - "aaa_audit-logs": aaa_audit_logs_output, - "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection_output$, - "aaa_identifier": aaa_identifier_output, - "aaa_messages": aaa_messages_output, + "aaa_api-response-common": aaa_api$$response$$common, + "aaa_api-response-common-failure": aaa_api$$response$$common$$failure, + "aaa_audit-logs": aaa_audit$$logs, + "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection, + "aaa_identifier": aaa_identifier, + "aaa_messages": aaa_messages, }, }, request: (args) => ({ path: `/user/audit_logs`, query: [ - ["id", args["id"], true], - ["export", args["export"], true], - ["action.type", args["action_type"], true], - ["actor.ip", args["actor_ip"], true], - ["actor.email", args["actor_email"], true], - ["since", args["since"], true], - ["before", args["before"], true], - ["zone.name", args["zone_name"], true], - ["direction", args["direction"], true], - ["per_page", args["per_page"], true], - ["page", args["page"], true], - ["hide_user_logs", args["hide_user_logs"], true], + ["id", param(args, "query", "id"), true], + ["export", param(args, "query", "export"), true], + ["action.type", param(args, "query", "action.type"), true], + ["actor.ip", param(args, "query", "actor.ip"), true], + ["actor.email", param(args, "query", "actor.email"), true], + ["since", param(args, "query", "since"), true], + ["before", param(args, "query", "before"), true], + ["zone.name", param(args, "query", "zone.name"), true], + ["direction", param(args, "query", "direction"), true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], + ["hide_user_logs", param(args, "query", "hide_user_logs"), true], ], }), }, diff --git a/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts b/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts index dd75b7c40..5a8fedae7 100644 --- a/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts +++ b/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `firewall_rule_collection_response` in responses. */ -export const firewall_rule_collection_response_output: JsonSchema = { +export const firewall_rule_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-collection" @@ -28,7 +28,7 @@ export const firewall_rule_collection_response_output: JsonSchema = { /** * The schema of `firewall_rule_single_id_response` in responses. */ -export const firewall_rule_single_id_response_output: JsonSchema = { +export const firewall_rule_single_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-single" @@ -52,7 +52,7 @@ export const firewall_rule_single_id_response_output: JsonSchema = { /** * The schema of `firewall_rule_single_response` in responses. */ -export const firewall_rule_single_response_output: JsonSchema = { +export const firewall_rule_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/firewall_api-response-single" diff --git a/src/generated/forge-mcp/user/firewall/accessRules/tools.ts b/src/generated/forge-mcp/user/firewall/accessRules/tools.ts index 8539daf29..577d2b786 100644 --- a/src/generated/forge-mcp/user/firewall/accessRules/tools.ts +++ b/src/generated/forge-mcp/user/firewall/accessRules/tools.ts @@ -1,48 +1,48 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; -import { - firewall_api_response_collection_output, - firewall_api_response_common_failure_output, - firewall_api_response_common_output, - firewall_api_response_single_output, - firewall_asn_configuration_output, - firewall_cidr_configuration_output, - firewall_configuration_output, - firewall_country_configuration_output, - firewall_ip_configuration_output, - firewall_ipv6_configuration_output, - firewall_messages_output, - firewall_notes_output, - firewall_result_info_output, - firewall_rule_output, - firewall_schemas_identifier_output, - firewall_schemas_mode_output, -} from "../../../outputs.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { + firewall_api$$response$$collection, + firewall_api$$response$$common, + firewall_api$$response$$common$$failure, + firewall_api$$response$$single, firewall_asn_configuration, firewall_cidr_configuration, firewall_configuration, firewall_country_configuration, firewall_ip_configuration, firewall_ipv6_configuration, + firewall_messages, firewall_notes, + firewall_result_info, + firewall_rule, + firewall_schemas$$identifier, + firewall_schemas$$mode, +} from "../../../outputs.js"; +import { + firewall_asn_configuration as firewall_asn_configuration$, + firewall_cidr_configuration as firewall_cidr_configuration$, + firewall_configuration as firewall_configuration$, + firewall_country_configuration as firewall_country_configuration$, + firewall_ip_configuration as firewall_ip_configuration$, + firewall_ipv6_configuration as firewall_ipv6_configuration$, + firewall_notes as firewall_notes$, firewall_rule_identifier, - firewall_schemas_mode, + firewall_schemas$$mode as firewall_schemas$$mode$, } from "../../../schemas.js"; import { - firewall_rule_collection_response_output, - firewall_rule_single_id_response_output, - firewall_rule_single_response_output, + firewall_rule_collection_response, + firewall_rule_single_id_response, + firewall_rule_single_response, } from "./outputs.js"; /** - * The tools of `user.firewall.access_rules`. + * The tools of `user.firewall.accessRules`. */ export const tools: readonly Tool[] = [ { - name: "user_firewall_access_rules_create", + name: "user_firewall_accessRules_create", title: "Create an IP Access rule", description: "Creates a new IP Access rule for all zones owned by the current user.\n\nNote: To create an IP Access rule that applies to a specific zone, refer to the [IP Access rules for a zone](#ip-access-rules-for-a-zone) endpoints.", inputSchema: { @@ -73,33 +73,33 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { + "firewall_asn_configuration": firewall_asn_configuration$, + "firewall_cidr_configuration": firewall_cidr_configuration$, + "firewall_configuration": firewall_configuration$, + "firewall_country_configuration": firewall_country_configuration$, + "firewall_ip_configuration": firewall_ip_configuration$, + "firewall_ipv6_configuration": firewall_ipv6_configuration$, + "firewall_notes": firewall_notes$, + "firewall_schemas-mode": firewall_schemas$$mode$, + }, + }, + outputSchema: { + "$ref": "#/$defs/firewall_rule_single_response", + $defs: { + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, "firewall_asn_configuration": firewall_asn_configuration, "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, "firewall_notes": firewall_notes, - "firewall_schemas-mode": firewall_schemas_mode, - }, - }, - outputSchema: { - "$ref": "#/$defs/firewall_rule_single_response", - $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_rule": firewall_rule_output, - "firewall_rule_single_response": firewall_rule_single_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_rule": firewall_rule, + "firewall_rule_single_response": firewall_rule_single_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, }, }, annotations: { @@ -132,21 +132,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_rule": firewall_rule_output, - "firewall_rule_single_response": firewall_rule_single_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_rule": firewall_rule, + "firewall_rule_single_response": firewall_rule_single_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, }, }, request: (args) => ({ @@ -155,19 +155,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_firewall_access_rules_delete", + name: "user_firewall_accessRules_delete", title: "Delete an IP Access rule", description: "Deletes an IP Access rule at the user level.\n\nNote: Deleting a user-level rule will affect all zones owned by the user.\n\nConfirm with the user before calling this tool. This operation deletes the user-level IP Access Rule and affects every zone owned by the user.", inputSchema: { type: "object", properties: { - "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/firewall_rule_identifier", + "description": "Unique identifier for a rule." + } + }, + "required": [ + "rule_id" + ], + "type": "object" } }, required: [ - "rule_id" + "path" ], $defs: { "firewall_rule_identifier": firewall_rule_identifier, @@ -176,11 +184,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/firewall_rule_single_id_response", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_rule_single_id_response": firewall_rule_single_id_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_messages": firewall_messages, + "firewall_rule_single_id_response": firewall_rule_single_id_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, }, }, annotations: { @@ -213,12 +221,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_messages": firewall_messages_output, - "firewall_rule_single_id_response": firewall_rule_single_id_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_messages": firewall_messages, + "firewall_rule_single_id_response": firewall_rule_single_id_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, }, }, request: (args) => ({ @@ -226,7 +234,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_firewall_access_rules_edit", + name: "user_firewall_accessRules_edit", title: "Update an IP Access rule", description: "Updates an IP Access rule defined at the user level. You can only update the rule action (`mode` parameter) and notes.", inputSchema: { @@ -244,38 +252,46 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/firewall_rule_identifier", + "description": "Unique identifier for a rule." + } + }, + "required": [ + "rule_id" + ], + "type": "object" } }, required: [ - "rule_id", + "path", "body" ], $defs: { - "firewall_notes": firewall_notes, + "firewall_notes": firewall_notes$, "firewall_rule_identifier": firewall_rule_identifier, - "firewall_schemas-mode": firewall_schemas_mode, + "firewall_schemas-mode": firewall_schemas$$mode$, }, }, outputSchema: { "$ref": "#/$defs/firewall_rule_single_response", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_rule": firewall_rule_output, - "firewall_rule_single_response": firewall_rule_single_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_rule": firewall_rule, + "firewall_rule_single_response": firewall_rule_single_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, }, }, annotations: { @@ -308,21 +324,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_rule": firewall_rule_output, - "firewall_rule_single_response": firewall_rule_single_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_rule": firewall_rule, + "firewall_rule_single_response": firewall_rule_single_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, }, }, request: (args) => ({ @@ -331,19 +347,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_firewall_access_rules_get", + name: "user_firewall_accessRules_get", title: "Get an IP Access rule", description: "Fetches the details of an IP Access rule defined at the user level.", inputSchema: { type: "object", properties: { - "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/firewall_rule_identifier", + "description": "Unique identifier for a rule." + } + }, + "required": [ + "rule_id" + ], + "type": "object" } }, required: [ - "rule_id" + "path" ], $defs: { "firewall_rule_identifier": firewall_rule_identifier, @@ -352,20 +376,20 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/firewall_rule_single_response", $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_rule": firewall_rule_output, - "firewall_rule_single_response": firewall_rule_single_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_rule": firewall_rule, + "firewall_rule_single_response": firewall_rule_single_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, }, }, annotations: { @@ -399,21 +423,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_api-response-single": firewall_api_response_single_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_rule": firewall_rule_output, - "firewall_rule_single_response": firewall_rule_single_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_api-response-single": firewall_api$$response$$single, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_rule": firewall_rule, + "firewall_rule_single_response": firewall_rule_single_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, }, }, request: (args) => ({ @@ -421,91 +445,96 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_firewall_access_rules_list", + name: "user_firewall_accessRules_list", title: "List IP Access rules", description: "Fetches IP Access rules of the user. You can filter the results using several optional parameters.", inputSchema: { type: "object", properties: { - "access_rule_mode": { - "$ref": "#/$defs/firewall_schemas-mode", - "description": "The action to apply to a matched request." - }, - "configuration_target": { - "description": "Defines the target to search in existing rules.", - "enum": [ - "ip", - "ip_range", - "asn", - "country" - ], - "type": "string" - }, - "configuration_value": { - "description": "Defines the target value to search for in existing rules: an IP address, an IP address range, or a country code, depending on the provided `configuration.target`.\nNotes: You can search for a single IPv4 address, an IP address range with a subnet of '/16' or '/24', or a two-letter ISO-3166-1 alpha-2 country code.", - "type": "string" - }, - "direction": { - "description": "Defines the direction used to sort returned rules.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "match": { - "default": "all", - "description": "Defines the search requirements. When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match.", - "enum": [ - "any", - "all" - ], - "type": "string" - }, - "notes": { - "description": "Defines the string to search for in the notes of existing IP Access rules.\nNotes: For example, the string 'attack' would match IP Access rules with notes 'Attack 26/02' and 'Attack 27/02'. The search is case insensitive.", - "type": "string" - }, - "order": { - "description": "Defines the field used to sort returned rules.", - "enum": [ - "configuration.target", - "configuration.value", - "mode" - ], - "type": "string" - }, - "page": { - "description": "Defines the requested page within paginated list of results.", - "type": "number" - }, - "per_page": { - "description": "Defines the maximum number of results requested.", - "type": "number" + "query": { + "properties": { + "configuration.target": { + "description": "Defines the target to search in existing rules.", + "enum": [ + "ip", + "ip_range", + "asn", + "country" + ], + "type": "string" + }, + "configuration.value": { + "description": "Defines the target value to search for in existing rules: an IP address, an IP address range, or a country code, depending on the provided `configuration.target`.\nNotes: You can search for a single IPv4 address, an IP address range with a subnet of '/16' or '/24', or a two-letter ISO-3166-1 alpha-2 country code.", + "type": "string" + }, + "direction": { + "description": "Defines the direction used to sort returned rules.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "match": { + "default": "all", + "description": "Defines the search requirements. When set to `all`, all the search requirements must match. When set to `any`, only one of the search requirements has to match.", + "enum": [ + "any", + "all" + ], + "type": "string" + }, + "mode": { + "$ref": "#/$defs/firewall_schemas-mode", + "description": "The action to apply to a matched request." + }, + "notes": { + "description": "Defines the string to search for in the notes of existing IP Access rules.\nNotes: For example, the string 'attack' would match IP Access rules with notes 'Attack 26/02' and 'Attack 27/02'. The search is case insensitive.", + "type": "string" + }, + "order": { + "description": "Defines the field used to sort returned rules.", + "enum": [ + "configuration.target", + "configuration.value", + "mode" + ], + "type": "string" + }, + "page": { + "description": "Defines the requested page within paginated list of results.", + "type": "number" + }, + "per_page": { + "description": "Defines the maximum number of results requested.", + "type": "number" + } + }, + "type": "object" } }, $defs: { - "firewall_schemas-mode": firewall_schemas_mode, + "firewall_schemas-mode": firewall_schemas$$mode$, }, }, outputSchema: { "$ref": "#/$defs/firewall_rule_collection_response", $defs: { - "firewall_api-response-collection": firewall_api_response_collection_output, - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_result_info": firewall_result_info_output, - "firewall_rule": firewall_rule_output, - "firewall_rule_collection_response": firewall_rule_collection_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_api-response-collection": firewall_api$$response$$collection, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_result_info": firewall_result_info, + "firewall_rule": firewall_rule, + "firewall_rule_collection_response": firewall_rule_collection_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, }, }, annotations: { @@ -539,36 +568,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "firewall_api-response-collection": firewall_api_response_collection_output, - "firewall_api-response-common": firewall_api_response_common_output, - "firewall_api-response-common-failure": firewall_api_response_common_failure_output, - "firewall_asn_configuration": firewall_asn_configuration_output, - "firewall_cidr_configuration": firewall_cidr_configuration_output, - "firewall_configuration": firewall_configuration_output, - "firewall_country_configuration": firewall_country_configuration_output, - "firewall_ip_configuration": firewall_ip_configuration_output, - "firewall_ipv6_configuration": firewall_ipv6_configuration_output, - "firewall_messages": firewall_messages_output, - "firewall_notes": firewall_notes_output, - "firewall_result_info": firewall_result_info_output, - "firewall_rule": firewall_rule_output, - "firewall_rule_collection_response": firewall_rule_collection_response_output, - "firewall_schemas-identifier": firewall_schemas_identifier_output, - "firewall_schemas-mode": firewall_schemas_mode_output, + "firewall_api-response-collection": firewall_api$$response$$collection, + "firewall_api-response-common": firewall_api$$response$$common, + "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, + "firewall_asn_configuration": firewall_asn_configuration, + "firewall_cidr_configuration": firewall_cidr_configuration, + "firewall_configuration": firewall_configuration, + "firewall_country_configuration": firewall_country_configuration, + "firewall_ip_configuration": firewall_ip_configuration, + "firewall_ipv6_configuration": firewall_ipv6_configuration, + "firewall_messages": firewall_messages, + "firewall_notes": firewall_notes, + "firewall_result_info": firewall_result_info, + "firewall_rule": firewall_rule, + "firewall_rule_collection_response": firewall_rule_collection_response, + "firewall_schemas-identifier": firewall_schemas$$identifier, + "firewall_schemas-mode": firewall_schemas$$mode, }, }, request: (args) => ({ path: `/user/firewall/access_rules/rules`, query: [ - ["mode", args["access_rule_mode"], true], - ["configuration.target", args["configuration_target"], true], - ["configuration.value", args["configuration_value"], true], - ["notes", args["notes"], true], - ["match", args["match"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["mode", param(args, "query", "mode"), true], + ["configuration.target", param(args, "query", "configuration.target"), true], + ["configuration.value", param(args, "query", "configuration.value"), true], + ["notes", param(args, "query", "notes"), true], + ["match", param(args, "query", "match"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, diff --git a/src/generated/forge-mcp/user/invites/outputs.ts b/src/generated/forge-mcp/user/invites/outputs.ts index c7a670ac1..3f699b981 100644 --- a/src/generated/forge-mcp/user/invites/outputs.ts +++ b/src/generated/forge-mcp/user/invites/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_invite_components-schemas-identifier` in responses. */ -export const iam_invite_components_schemas_identifier_output: JsonSchema = { +export const iam_invite_components$$schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `iam_invited_by` in responses. */ -export const iam_invited_by_output: JsonSchema = { +export const iam_invited_by: JsonSchema = { "type": "string" }; /** * The schema of `iam_invited_member_email` in responses. */ -export const iam_invited_member_email_output: JsonSchema = { +export const iam_invited_member_email: JsonSchema = { "type": "string" }; /** * The schema of `iam_invited_on` in responses. */ -export const iam_invited_on_output: JsonSchema = { +export const iam_invited_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -35,7 +35,7 @@ export const iam_invited_on_output: JsonSchema = { /** * The schema of `iam_schemas-collection_invite_response` in responses. */ -export const iam_schemas_collection_invite_response_output: JsonSchema = { +export const iam_schemas$$collection_invite_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -57,7 +57,7 @@ export const iam_schemas_collection_invite_response_output: JsonSchema = { /** * The schema of `iam_schemas-expires_on` in responses. */ -export const iam_schemas_expires_on_output: JsonSchema = { +export const iam_schemas$$expires_on: JsonSchema = { "format": "date-time", "type": "string" }; @@ -65,7 +65,7 @@ export const iam_schemas_expires_on_output: JsonSchema = { /** * The schema of `iam_single_invite_response` in responses. */ -export const iam_single_invite_response_output: JsonSchema = { +export const iam_single_invite_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -84,7 +84,7 @@ export const iam_single_invite_response_output: JsonSchema = { /** * The schema of `iam_user_invite` in responses. */ -export const iam_user_invite_output: JsonSchema = { +export const iam_user_invite: JsonSchema = { "properties": { "expires_on": { "$ref": "#/$defs/iam_schemas-expires_on" diff --git a/src/generated/forge-mcp/user/invites/schemas.ts b/src/generated/forge-mcp/user/invites/schemas.ts index b418becc0..28148e332 100644 --- a/src/generated/forge-mcp/user/invites/schemas.ts +++ b/src/generated/forge-mcp/user/invites/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_invite_components-schemas-identifier`. */ -export const iam_invite_components_schemas_identifier: JsonSchema = { +export const iam_invite_components$$schemas$$identifier: JsonSchema = { "description": "Invite identifier tag.", "type": "string" }; diff --git a/src/generated/forge-mcp/user/invites/tools.ts b/src/generated/forge-mcp/user/invites/tools.ts index a17a53b8f..8b915df88 100644 --- a/src/generated/forge-mcp/user/invites/tools.ts +++ b/src/generated/forge-mcp/user/invites/tools.ts @@ -3,25 +3,25 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_output, - iam_messages_2_output, - iam_result_info_output, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_messages$$2, + iam_result_info, } from "../../outputs.js"; -import { iam_role_names_output } from "../outputs.js"; +import { iam_role_names } from "../outputs.js"; import { - iam_invite_components_schemas_identifier_output, - iam_invited_by_output, - iam_invited_member_email_output, - iam_invited_on_output, - iam_schemas_collection_invite_response_output, - iam_schemas_expires_on_output, - iam_single_invite_response_output, - iam_user_invite_output, + iam_invite_components$$schemas$$identifier, + iam_invited_by, + iam_invited_member_email, + iam_invited_on, + iam_schemas$$collection_invite_response, + iam_schemas$$expires_on, + iam_single_invite_response, + iam_user_invite, } from "./outputs.js"; -import { iam_invite_components_schemas_identifier } from "./schemas.js"; +import { iam_invite_components$$schemas$$identifier as iam_invite_components$$schemas$$identifier$ } from "./schemas.js"; /** * The tools of `user.invites`. @@ -34,31 +34,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "invite_id": { - "$ref": "#/$defs/iam_invite_components-schemas-identifier", - "description": "Invite identifier tag." + "path": { + "properties": { + "invite_id": { + "$ref": "#/$defs/iam_invite_components-schemas-identifier", + "description": "Invite identifier tag." + } + }, + "required": [ + "invite_id" + ], + "type": "object" } }, required: [ - "invite_id" + "path" ], $defs: { - "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier, + "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_invite_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier_output, - "iam_invited_by": iam_invited_by_output, - "iam_invited_member_email": iam_invited_member_email_output, - "iam_invited_on": iam_invited_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-expires_on": iam_schemas_expires_on_output, - "iam_single_invite_response": iam_single_invite_response_output, - "iam_user_invite": iam_user_invite_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, + "iam_invited_by": iam_invited_by, + "iam_invited_member_email": iam_invited_member_email, + "iam_invited_on": iam_invited_on, + "iam_messages-2": iam_messages$$2, + "iam_role_names": iam_role_names, + "iam_schemas-expires_on": iam_schemas$$expires_on, + "iam_single_invite_response": iam_single_invite_response, + "iam_user_invite": iam_user_invite, }, }, annotations: { @@ -92,17 +100,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier_output, - "iam_invited_by": iam_invited_by_output, - "iam_invited_member_email": iam_invited_member_email_output, - "iam_invited_on": iam_invited_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-expires_on": iam_schemas_expires_on_output, - "iam_single_invite_response": iam_single_invite_response_output, - "iam_user_invite": iam_user_invite_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, + "iam_invited_by": iam_invited_by, + "iam_invited_member_email": iam_invited_member_email, + "iam_invited_on": iam_invited_on, + "iam_messages-2": iam_messages$$2, + "iam_role_names": iam_role_names, + "iam_schemas-expires_on": iam_schemas$$expires_on, + "iam_single_invite_response": iam_single_invite_response, + "iam_user_invite": iam_user_invite, }, }, request: (args) => ({ @@ -120,18 +128,18 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/iam_schemas-collection_invite_response", $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier_output, - "iam_invited_by": iam_invited_by_output, - "iam_invited_member_email": iam_invited_member_email_output, - "iam_invited_on": iam_invited_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_result_info": iam_result_info_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-collection_invite_response": iam_schemas_collection_invite_response_output, - "iam_schemas-expires_on": iam_schemas_expires_on_output, - "iam_user_invite": iam_user_invite_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, + "iam_invited_by": iam_invited_by, + "iam_invited_member_email": iam_invited_member_email, + "iam_invited_on": iam_invited_on, + "iam_messages-2": iam_messages$$2, + "iam_result_info": iam_result_info, + "iam_role_names": iam_role_names, + "iam_schemas-collection_invite_response": iam_schemas$$collection_invite_response, + "iam_schemas-expires_on": iam_schemas$$expires_on, + "iam_user_invite": iam_user_invite, }, }, annotations: { @@ -165,19 +173,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier_output, - "iam_invited_by": iam_invited_by_output, - "iam_invited_member_email": iam_invited_member_email_output, - "iam_invited_on": iam_invited_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_result_info": iam_result_info_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-collection_invite_response": iam_schemas_collection_invite_response_output, - "iam_schemas-expires_on": iam_schemas_expires_on_output, - "iam_user_invite": iam_user_invite_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, + "iam_invited_by": iam_invited_by, + "iam_invited_member_email": iam_invited_member_email, + "iam_invited_on": iam_invited_on, + "iam_messages-2": iam_messages$$2, + "iam_result_info": iam_result_info, + "iam_role_names": iam_role_names, + "iam_schemas-collection_invite_response": iam_schemas$$collection_invite_response, + "iam_schemas-expires_on": iam_schemas$$expires_on, + "iam_user_invite": iam_user_invite, }, }, request: (_args) => ({ @@ -207,32 +215,40 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "invite_id": { - "$ref": "#/$defs/iam_invite_components-schemas-identifier", - "description": "Invite identifier tag." + "path": { + "properties": { + "invite_id": { + "$ref": "#/$defs/iam_invite_components-schemas-identifier", + "description": "Invite identifier tag." + } + }, + "required": [ + "invite_id" + ], + "type": "object" } }, required: [ - "invite_id", + "path", "body" ], $defs: { - "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier, + "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_invite_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier_output, - "iam_invited_by": iam_invited_by_output, - "iam_invited_member_email": iam_invited_member_email_output, - "iam_invited_on": iam_invited_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-expires_on": iam_schemas_expires_on_output, - "iam_single_invite_response": iam_single_invite_response_output, - "iam_user_invite": iam_user_invite_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, + "iam_invited_by": iam_invited_by, + "iam_invited_member_email": iam_invited_member_email, + "iam_invited_on": iam_invited_on, + "iam_messages-2": iam_messages$$2, + "iam_role_names": iam_role_names, + "iam_schemas-expires_on": iam_schemas$$expires_on, + "iam_single_invite_response": iam_single_invite_response, + "iam_user_invite": iam_user_invite, }, }, annotations: { @@ -265,17 +281,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_invite_components-schemas-identifier": iam_invite_components_schemas_identifier_output, - "iam_invited_by": iam_invited_by_output, - "iam_invited_member_email": iam_invited_member_email_output, - "iam_invited_on": iam_invited_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-expires_on": iam_schemas_expires_on_output, - "iam_single_invite_response": iam_single_invite_response_output, - "iam_user_invite": iam_user_invite_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, + "iam_invited_by": iam_invited_by, + "iam_invited_member_email": iam_invited_member_email, + "iam_invited_on": iam_invited_on, + "iam_messages-2": iam_messages$$2, + "iam_role_names": iam_role_names, + "iam_schemas-expires_on": iam_schemas$$expires_on, + "iam_single_invite_response": iam_single_invite_response, + "iam_user_invite": iam_user_invite, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts b/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts index d49f84830..2df671705 100644 --- a/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts @@ -3,40 +3,40 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_identifier_output, - load_balancing_messages_output, - load_balancing_preview_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_identifier, + load$$balancing_messages, + load$$balancing_preview_response, } from "../../../../outputs.js"; import { - load_balancing_allow_insecure, - load_balancing_consecutive_down, - load_balancing_consecutive_up, - load_balancing_description, - load_balancing_expected_body, - load_balancing_expected_codes, - load_balancing_follow_redirects, - load_balancing_header, - load_balancing_identifier, - load_balancing_interval, - load_balancing_method, - load_balancing_monitor_editable, - load_balancing_path, - load_balancing_port, - load_balancing_probe_zone, - load_balancing_retries, - load_balancing_timeout, - load_balancing_type, + load$$balancing_allow_insecure, + load$$balancing_consecutive_down, + load$$balancing_consecutive_up, + load$$balancing_description, + load$$balancing_expected_body, + load$$balancing_expected_codes, + load$$balancing_follow_redirects, + load$$balancing_header, + load$$balancing_identifier as load$$balancing_identifier$, + load$$balancing_interval, + load$$balancing_method, + load$$balancing_monitor$$editable, + load$$balancing_path, + load$$balancing_port, + load$$balancing_probe_zone, + load$$balancing_retries, + load$$balancing_timeout, + load$$balancing_type, } from "../../../../schemas.js"; /** - * The tools of `user.load_balancers.monitors.preview`. + * The tools of `user.loadBalancers.monitors.preview`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_monitors_preview_create", + name: "user_loadBalancers_monitors_preview_create", title: "Preview Monitor", description: "Preview pools using the specified monitor with provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.", inputSchema: { @@ -45,43 +45,51 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/load-balancing_monitor-editable" }, - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "monitor_id" + ], + "type": "object" } }, required: [ - "monitor_id", + "path", "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_identifier": load_balancing_identifier, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier$, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_type": load$$balancing_type, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_preview_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_preview_response": load_balancing_preview_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_preview_response": load$$balancing_preview_response, }, }, annotations: { @@ -103,12 +111,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_preview_response": load_balancing_preview_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_preview_response": load$$balancing_preview_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts b/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts index f0dd511f9..0ff9dbd2e 100644 --- a/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts @@ -3,41 +3,49 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_messages_output, - load_balancing_monitor_references_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_messages, + load$$balancing_monitor$$references$$response, } from "../../../../outputs.js"; -import { load_balancing_identifier } from "../../../../schemas.js"; +import { load$$balancing_identifier } from "../../../../schemas.js"; /** - * The tools of `user.load_balancers.monitors.references`. + * The tools of `user.loadBalancers.monitors.references`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_monitors_references_list", + name: "user_loadBalancers_monitors_references_list", title: "List Monitor References", description: "Get the list of resources that reference the provided monitor.", inputSchema: { type: "object", properties: { - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "monitor_id" + ], + "type": "object" } }, required: [ - "monitor_id" + "path" ], $defs: { - "load-balancing_identifier": load_balancing_identifier, + "load-balancing_identifier": load$$balancing_identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-references-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-references-response": load_balancing_monitor_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-references-response": load$$balancing_monitor$$references$$response, }, }, annotations: { @@ -65,10 +73,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_monitor-references-response": load_balancing_monitor_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_monitor-references-response": load$$balancing_monitor$$references$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts b/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts index dd5af4869..4bc5084ac 100644 --- a/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts @@ -3,63 +3,63 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - load_balancing_allow_insecure_output, - load_balancing_api_paginated_response_collection_output, - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_consecutive_down_output, - load_balancing_consecutive_up_output, - load_balancing_description_output, - load_balancing_expected_body_output, - load_balancing_expected_codes_output, - load_balancing_follow_redirects_output, - load_balancing_header_output, - load_balancing_id_response_output, - load_balancing_identifier_output, - load_balancing_interval_output, - load_balancing_messages_output, - load_balancing_method_output, - load_balancing_monitor_editable_output, - load_balancing_monitor_output, - load_balancing_monitor_response_collection_output, - load_balancing_monitor_response_single_output, - load_balancing_path_output, - load_balancing_port_output, - load_balancing_probe_zone_output, - load_balancing_result_info_output, - load_balancing_retries_output, - load_balancing_timeout_output, - load_balancing_timestamp_output, - load_balancing_type_output, + load$$balancing_allow_insecure, + load$$balancing_api$$paginated$$response$$collection, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_consecutive_down, + load$$balancing_consecutive_up, + load$$balancing_description, + load$$balancing_expected_body, + load$$balancing_expected_codes, + load$$balancing_follow_redirects, + load$$balancing_header, + load$$balancing_id_response, + load$$balancing_identifier, + load$$balancing_interval, + load$$balancing_messages, + load$$balancing_method, + load$$balancing_monitor, + load$$balancing_monitor$$editable, + load$$balancing_monitor$$response$$collection, + load$$balancing_monitor$$response$$single, + load$$balancing_path, + load$$balancing_port, + load$$balancing_probe_zone, + load$$balancing_result_info, + load$$balancing_retries, + load$$balancing_timeout, + load$$balancing_timestamp, + load$$balancing_type, } from "../../../outputs.js"; import { - load_balancing_allow_insecure, - load_balancing_consecutive_down, - load_balancing_consecutive_up, - load_balancing_description, - load_balancing_expected_body, - load_balancing_expected_codes, - load_balancing_follow_redirects, - load_balancing_header, - load_balancing_identifier, - load_balancing_interval, - load_balancing_method, - load_balancing_monitor_editable, - load_balancing_path, - load_balancing_port, - load_balancing_probe_zone, - load_balancing_retries, - load_balancing_timeout, - load_balancing_type, + load$$balancing_allow_insecure as load$$balancing_allow_insecure$, + load$$balancing_consecutive_down as load$$balancing_consecutive_down$, + load$$balancing_consecutive_up as load$$balancing_consecutive_up$, + load$$balancing_description as load$$balancing_description$, + load$$balancing_expected_body as load$$balancing_expected_body$, + load$$balancing_expected_codes as load$$balancing_expected_codes$, + load$$balancing_follow_redirects as load$$balancing_follow_redirects$, + load$$balancing_header as load$$balancing_header$, + load$$balancing_identifier as load$$balancing_identifier$, + load$$balancing_interval as load$$balancing_interval$, + load$$balancing_method as load$$balancing_method$, + load$$balancing_monitor$$editable as load$$balancing_monitor$$editable$, + load$$balancing_path as load$$balancing_path$, + load$$balancing_port as load$$balancing_port$, + load$$balancing_probe_zone as load$$balancing_probe_zone$, + load$$balancing_retries as load$$balancing_retries$, + load$$balancing_timeout as load$$balancing_timeout$, + load$$balancing_type as load$$balancing_type$, } from "../../../schemas.js"; /** - * The tools of `user.load_balancers.monitors`. + * The tools of `user.loadBalancers.monitors`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_monitors_create", + name: "user_loadBalancers_monitors_create", title: "Create Monitor", description: "Create a configured monitor.", inputSchema: { @@ -73,52 +73,52 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure$, + "load-balancing_consecutive_down": load$$balancing_consecutive_down$, + "load-balancing_consecutive_up": load$$balancing_consecutive_up$, + "load-balancing_description": load$$balancing_description$, + "load-balancing_expected_body": load$$balancing_expected_body$, + "load-balancing_expected_codes": load$$balancing_expected_codes$, + "load-balancing_follow_redirects": load$$balancing_follow_redirects$, + "load-balancing_header": load$$balancing_header$, + "load-balancing_interval": load$$balancing_interval$, + "load-balancing_method": load$$balancing_method$, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, + "load-balancing_path": load$$balancing_path$, + "load-balancing_port": load$$balancing_port$, + "load-balancing_probe_zone": load$$balancing_probe_zone$, + "load-balancing_retries": load$$balancing_retries$, + "load-balancing_timeout": load$$balancing_timeout$, + "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -145,31 +145,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -178,31 +178,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_load_balancers_monitors_delete", + name: "user_loadBalancers_monitors_delete", title: "Delete Monitor", description: "Delete a configured monitor.", inputSchema: { type: "object", properties: { - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "monitor_id" + ], + "type": "object" } }, required: [ - "monitor_id" + "path" ], $defs: { - "load-balancing_identifier": load_balancing_identifier, + "load-balancing_identifier": load$$balancing_identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_id_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_id_response": load_balancing_id_response_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_id_response": load$$balancing_id_response, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, }, }, annotations: { @@ -229,12 +237,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_id_response": load_balancing_id_response_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_id_response": load$$balancing_id_response, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, }, }, request: (args) => ({ @@ -242,7 +250,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_load_balancers_monitors_edit", + name: "user_loadBalancers_monitors_edit", title: "Patch Monitor", description: "Apply changes to an existing monitor, overwriting the supplied properties.", inputSchema: { @@ -251,62 +259,70 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/load-balancing_monitor-editable" }, - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "monitor_id" + ], + "type": "object" } }, required: [ - "monitor_id", + "path", "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_identifier": load_balancing_identifier, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure$, + "load-balancing_consecutive_down": load$$balancing_consecutive_down$, + "load-balancing_consecutive_up": load$$balancing_consecutive_up$, + "load-balancing_description": load$$balancing_description$, + "load-balancing_expected_body": load$$balancing_expected_body$, + "load-balancing_expected_codes": load$$balancing_expected_codes$, + "load-balancing_follow_redirects": load$$balancing_follow_redirects$, + "load-balancing_header": load$$balancing_header$, + "load-balancing_identifier": load$$balancing_identifier$, + "load-balancing_interval": load$$balancing_interval$, + "load-balancing_method": load$$balancing_method$, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, + "load-balancing_path": load$$balancing_path$, + "load-balancing_port": load$$balancing_port$, + "load-balancing_probe_zone": load$$balancing_probe_zone$, + "load-balancing_retries": load$$balancing_retries$, + "load-balancing_timeout": load$$balancing_timeout$, + "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -333,31 +349,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -366,50 +382,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_load_balancers_monitors_get", + name: "user_loadBalancers_monitors_get", title: "Monitor Details", description: "Fetch a single configured monitor for a user.", inputSchema: { type: "object", properties: { - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "monitor_id" + ], + "type": "object" } }, required: [ - "monitor_id" + "path" ], $defs: { - "load-balancing_identifier": load_balancing_identifier, + "load-balancing_identifier": load$$balancing_identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -437,31 +461,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -469,7 +493,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_load_balancers_monitors_list", + name: "user_loadBalancers_monitors_list", title: "List Monitors", description: "List configured monitors for a user.", inputSchema: { @@ -479,31 +503,31 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-collection", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-collection": load_balancing_monitor_response_collection_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-collection": load$$balancing_monitor$$response$$collection, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -531,32 +555,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-collection": load_balancing_monitor_response_collection_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-collection": load$$balancing_monitor$$response$$collection, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (_args) => ({ @@ -564,7 +588,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_load_balancers_monitors_update", + name: "user_loadBalancers_monitors_update", title: "Update Monitor", description: "Modify a configured monitor.", inputSchema: { @@ -573,62 +597,70 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/load-balancing_monitor-editable" }, - "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "path": { + "properties": { + "monitor_id": { + "$ref": "#/$defs/load-balancing_identifier" + } + }, + "required": [ + "monitor_id" + ], + "type": "object" } }, required: [ - "monitor_id", + "path", "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_identifier": load_balancing_identifier, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure$, + "load-balancing_consecutive_down": load$$balancing_consecutive_down$, + "load-balancing_consecutive_up": load$$balancing_consecutive_up$, + "load-balancing_description": load$$balancing_description$, + "load-balancing_expected_body": load$$balancing_expected_body$, + "load-balancing_expected_codes": load$$balancing_expected_codes$, + "load-balancing_follow_redirects": load$$balancing_follow_redirects$, + "load-balancing_header": load$$balancing_header$, + "load-balancing_identifier": load$$balancing_identifier$, + "load-balancing_interval": load$$balancing_interval$, + "load-balancing_method": load$$balancing_method$, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, + "load-balancing_path": load$$balancing_path$, + "load-balancing_port": load$$balancing_port$, + "load-balancing_probe_zone": load$$balancing_probe_zone$, + "load-balancing_retries": load$$balancing_retries$, + "load-balancing_timeout": load$$balancing_timeout$, + "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -655,31 +687,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_consecutive_down": load_balancing_consecutive_down_output, - "load-balancing_consecutive_up": load_balancing_consecutive_up_output, - "load-balancing_description": load_balancing_description_output, - "load-balancing_expected_body": load_balancing_expected_body_output, - "load-balancing_expected_codes": load_balancing_expected_codes_output, - "load-balancing_follow_redirects": load_balancing_follow_redirects_output, - "load-balancing_header": load_balancing_header_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_interval": load_balancing_interval_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_method": load_balancing_method_output, - "load-balancing_monitor": load_balancing_monitor_output, - "load-balancing_monitor-editable": load_balancing_monitor_editable_output, - "load-balancing_monitor-response-single": load_balancing_monitor_response_single_output, - "load-balancing_path": load_balancing_path_output, - "load-balancing_port": load_balancing_port_output, - "load-balancing_probe_zone": load_balancing_probe_zone_output, - "load-balancing_retries": load_balancing_retries_output, - "load-balancing_timeout": load_balancing_timeout_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_type": load_balancing_type_output, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor": load$$balancing_monitor, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts index 668a3c3da..de6e918b5 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts @@ -3,84 +3,84 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { - load_balancing_Host_output, - load_balancing_address_output, - load_balancing_api_paginated_response_collection_output, - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_check_regions_output, - load_balancing_disabled_at_output, - load_balancing_enabled_output, - load_balancing_filter_options_output, - load_balancing_health_sources_output, - load_balancing_latitude_output, - load_balancing_load_shedding_output, - load_balancing_longitude_output, - load_balancing_messages_output, - load_balancing_minimum_origins_output, - load_balancing_monitor_group_id_output, - load_balancing_monitor_id_output, - load_balancing_name_output, - load_balancing_networks_output, - load_balancing_notification_email_output, - load_balancing_notification_filter_output, - load_balancing_origin_flatten_cname_output, - load_balancing_origin_output, - load_balancing_origin_port_output, - load_balancing_origin_steering_output, - load_balancing_origins_output, - load_balancing_pool_output, - load_balancing_result_info_output, - load_balancing_schemas_description_output, - load_balancing_schemas_disabled_at_output, - load_balancing_schemas_enabled_output, - load_balancing_schemas_header_output, - load_balancing_schemas_identifier_output, - load_balancing_schemas_name_output, - load_balancing_schemas_response_collection_output, - load_balancing_schemas_single_response_output, - load_balancing_timestamp_output, - load_balancing_virtual_network_id_output, - load_balancing_weight_output, + load$$balancing_Host, + load$$balancing_address, + load$$balancing_api$$paginated$$response$$collection, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_check_regions, + load$$balancing_disabled_at, + load$$balancing_enabled, + load$$balancing_filter_options, + load$$balancing_health_sources, + load$$balancing_latitude, + load$$balancing_load_shedding, + load$$balancing_longitude, + load$$balancing_messages, + load$$balancing_minimum_origins, + load$$balancing_monitor_group_id, + load$$balancing_monitor_id, + load$$balancing_name, + load$$balancing_networks, + load$$balancing_notification_email, + load$$balancing_notification_filter, + load$$balancing_origin, + load$$balancing_origin_flatten_cname, + load$$balancing_origin_port, + load$$balancing_origin_steering, + load$$balancing_origins, + load$$balancing_pool, + load$$balancing_result_info, + load$$balancing_schemas$$description, + load$$balancing_schemas$$disabled_at, + load$$balancing_schemas$$enabled, + load$$balancing_schemas$$header, + load$$balancing_schemas$$identifier, + load$$balancing_schemas$$name, + load$$balancing_schemas$$response_collection, + load$$balancing_schemas$$single_response, + load$$balancing_timestamp, + load$$balancing_virtual_network_id, + load$$balancing_weight, } from "../../../../../outputs.js"; import { - load_balancing_Host, - load_balancing_address, - load_balancing_check_regions, - load_balancing_enabled, - load_balancing_filter_options, - load_balancing_health_sources, - load_balancing_latitude, - load_balancing_load_shedding, - load_balancing_longitude, - load_balancing_minimum_origins, - load_balancing_monitor_group_id, - load_balancing_monitor_id, - load_balancing_name, - load_balancing_notification_email, - load_balancing_notification_filter, - load_balancing_origin, - load_balancing_origin_flatten_cname, - load_balancing_origin_port, - load_balancing_origin_steering, - load_balancing_origins, - load_balancing_patch_pools_notification_email, - load_balancing_schemas_description, - load_balancing_schemas_enabled, - load_balancing_schemas_header, - load_balancing_schemas_identifier, - load_balancing_schemas_name, - load_balancing_virtual_network_id, - load_balancing_weight, + load$$balancing_Host as load$$balancing_Host$, + load$$balancing_address as load$$balancing_address$, + load$$balancing_check_regions as load$$balancing_check_regions$, + load$$balancing_enabled as load$$balancing_enabled$, + load$$balancing_filter_options as load$$balancing_filter_options$, + load$$balancing_health_sources as load$$balancing_health_sources$, + load$$balancing_latitude as load$$balancing_latitude$, + load$$balancing_load_shedding as load$$balancing_load_shedding$, + load$$balancing_longitude as load$$balancing_longitude$, + load$$balancing_minimum_origins as load$$balancing_minimum_origins$, + load$$balancing_monitor_group_id as load$$balancing_monitor_group_id$, + load$$balancing_monitor_id as load$$balancing_monitor_id$, + load$$balancing_name as load$$balancing_name$, + load$$balancing_notification_email as load$$balancing_notification_email$, + load$$balancing_notification_filter as load$$balancing_notification_filter$, + load$$balancing_origin as load$$balancing_origin$, + load$$balancing_origin_flatten_cname as load$$balancing_origin_flatten_cname$, + load$$balancing_origin_port as load$$balancing_origin_port$, + load$$balancing_origin_steering as load$$balancing_origin_steering$, + load$$balancing_origins as load$$balancing_origins$, + load$$balancing_patch_pools_notification_email, + load$$balancing_schemas$$description as load$$balancing_schemas$$description$, + load$$balancing_schemas$$enabled as load$$balancing_schemas$$enabled$, + load$$balancing_schemas$$header as load$$balancing_schemas$$header$, + load$$balancing_schemas$$identifier as load$$balancing_schemas$$identifier$, + load$$balancing_schemas$$name as load$$balancing_schemas$$name$, + load$$balancing_virtual_network_id as load$$balancing_virtual_network_id$, + load$$balancing_weight as load$$balancing_weight$, } from "../../../../../schemas.js"; /** - * The tools of `user.load_balancers.pools.edit.pools`. + * The tools of `user.loadBalancers.pools.edit.pools`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_pools_edit_pools_pool", + name: "user_loadBalancers_pools_edit_pools_pool", title: "Patch Pool", description: "Apply changes to an existing pool, overwriting the supplied properties.", inputSchema: { @@ -155,83 +155,91 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "pool_id" + ], + "type": "object" } }, required: [ - "pool_id", + "path", "body" ], $defs: { - "load-balancing_Host": load_balancing_Host, - "load-balancing_address": load_balancing_address, - "load-balancing_check_regions": load_balancing_check_regions, - "load-balancing_enabled": load_balancing_enabled, - "load-balancing_filter_options": load_balancing_filter_options, - "load-balancing_health_sources": load_balancing_health_sources, - "load-balancing_latitude": load_balancing_latitude, - "load-balancing_load_shedding": load_balancing_load_shedding, - "load-balancing_longitude": load_balancing_longitude, - "load-balancing_minimum_origins": load_balancing_minimum_origins, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id, - "load-balancing_monitor_id": load_balancing_monitor_id, - "load-balancing_name": load_balancing_name, - "load-balancing_notification_email": load_balancing_notification_email, - "load-balancing_notification_filter": load_balancing_notification_filter, - "load-balancing_origin": load_balancing_origin, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname, - "load-balancing_origin_port": load_balancing_origin_port, - "load-balancing_origin_steering": load_balancing_origin_steering, - "load-balancing_origins": load_balancing_origins, - "load-balancing_schemas-description": load_balancing_schemas_description, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled, - "load-balancing_schemas-header": load_balancing_schemas_header, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, - "load-balancing_schemas-name": load_balancing_schemas_name, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id, - "load-balancing_weight": load_balancing_weight, + "load-balancing_Host": load$$balancing_Host$, + "load-balancing_address": load$$balancing_address$, + "load-balancing_check_regions": load$$balancing_check_regions$, + "load-balancing_enabled": load$$balancing_enabled$, + "load-balancing_filter_options": load$$balancing_filter_options$, + "load-balancing_health_sources": load$$balancing_health_sources$, + "load-balancing_latitude": load$$balancing_latitude$, + "load-balancing_load_shedding": load$$balancing_load_shedding$, + "load-balancing_longitude": load$$balancing_longitude$, + "load-balancing_minimum_origins": load$$balancing_minimum_origins$, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, + "load-balancing_monitor_id": load$$balancing_monitor_id$, + "load-balancing_name": load$$balancing_name$, + "load-balancing_notification_email": load$$balancing_notification_email$, + "load-balancing_notification_filter": load$$balancing_notification_filter$, + "load-balancing_origin": load$$balancing_origin$, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, + "load-balancing_origin_port": load$$balancing_origin_port$, + "load-balancing_origin_steering": load$$balancing_origin_steering$, + "load-balancing_origins": load$$balancing_origins$, + "load-balancing_schemas-description": load$$balancing_schemas$$description$, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, + "load-balancing_schemas-header": load$$balancing_schemas$$header$, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, + "load-balancing_schemas-name": load$$balancing_schemas$$name$, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, + "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -258,43 +266,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -303,7 +311,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_load_balancers_pools_edit_pools_pools", + name: "user_loadBalancers_pools_edit_pools_pools", title: "Patch Pools", description: "Apply changes to a number of existing pools, overwriting the supplied properties. Pools are ordered by ascending `name`. Returns the list of affected pools. Supports the standard pagination query parameters, either `limit`/`offset` or `per_page`/`page`.", inputSchema: { @@ -323,49 +331,49 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "load-balancing_patch_pools_notification_email": load_balancing_patch_pools_notification_email, + "load-balancing_patch_pools_notification_email": load$$balancing_patch_pools_notification_email, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-response_collection", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-response_collection": load_balancing_schemas_response_collection_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -392,44 +400,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-response_collection": load_balancing_schemas_response_collection_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts index d9d2ec0e6..20adb5e8e 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts @@ -3,45 +3,53 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_health_details_output, - load_balancing_messages_output, - load_balancing_origin_health_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_health_details, + load$$balancing_messages, + load$$balancing_origin$$health, } from "../../../../outputs.js"; -import { load_balancing_schemas_identifier } from "../../../../schemas.js"; +import { load$$balancing_schemas$$identifier } from "../../../../schemas.js"; /** - * The tools of `user.load_balancers.pools.health`. + * The tools of `user.loadBalancers.pools.health`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_pools_health_get", + name: "user_loadBalancers_pools_health_get", title: "Pool Health Details", description: "Fetch the latest pool health status for a single pool.", inputSchema: { type: "object", properties: { - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "pool_id" + ], + "type": "object" } }, required: [ - "pool_id" + "path" ], $defs: { - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_health_details", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_health_details": load_balancing_health_details_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin-health": load_balancing_origin_health_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_health_details": load$$balancing_health_details, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin-health": load$$balancing_origin$$health, }, }, annotations: { @@ -69,12 +77,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_health_details": load_balancing_health_details_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin-health": load_balancing_origin_health_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_health_details": load$$balancing_health_details, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin-health": load$$balancing_origin$$health, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts index 6f165f5ca..466745781 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts @@ -3,40 +3,40 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_identifier_output, - load_balancing_messages_output, - load_balancing_preview_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_identifier, + load$$balancing_messages, + load$$balancing_preview_response, } from "../../../../outputs.js"; import { - load_balancing_allow_insecure, - load_balancing_consecutive_down, - load_balancing_consecutive_up, - load_balancing_description, - load_balancing_expected_body, - load_balancing_expected_codes, - load_balancing_follow_redirects, - load_balancing_header, - load_balancing_interval, - load_balancing_method, - load_balancing_monitor_editable, - load_balancing_path, - load_balancing_port, - load_balancing_probe_zone, - load_balancing_retries, - load_balancing_schemas_identifier, - load_balancing_timeout, - load_balancing_type, + load$$balancing_allow_insecure, + load$$balancing_consecutive_down, + load$$balancing_consecutive_up, + load$$balancing_description, + load$$balancing_expected_body, + load$$balancing_expected_codes, + load$$balancing_follow_redirects, + load$$balancing_header, + load$$balancing_interval, + load$$balancing_method, + load$$balancing_monitor$$editable, + load$$balancing_path, + load$$balancing_port, + load$$balancing_probe_zone, + load$$balancing_retries, + load$$balancing_schemas$$identifier, + load$$balancing_timeout, + load$$balancing_type, } from "../../../../schemas.js"; /** - * The tools of `user.load_balancers.pools.preview`. + * The tools of `user.loadBalancers.pools.preview`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_pools_preview_create", + name: "user_loadBalancers_pools_preview_create", title: "Preview Pool", description: "Preview pool health using provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.", inputSchema: { @@ -45,43 +45,51 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/load-balancing_monitor-editable" }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "pool_id" + ], + "type": "object" } }, required: [ - "pool_id", + "path", "body" ], $defs: { - "load-balancing_allow_insecure": load_balancing_allow_insecure, - "load-balancing_consecutive_down": load_balancing_consecutive_down, - "load-balancing_consecutive_up": load_balancing_consecutive_up, - "load-balancing_description": load_balancing_description, - "load-balancing_expected_body": load_balancing_expected_body, - "load-balancing_expected_codes": load_balancing_expected_codes, - "load-balancing_follow_redirects": load_balancing_follow_redirects, - "load-balancing_header": load_balancing_header, - "load-balancing_interval": load_balancing_interval, - "load-balancing_method": load_balancing_method, - "load-balancing_monitor-editable": load_balancing_monitor_editable, - "load-balancing_path": load_balancing_path, - "load-balancing_port": load_balancing_port, - "load-balancing_probe_zone": load_balancing_probe_zone, - "load-balancing_retries": load_balancing_retries, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, - "load-balancing_timeout": load_balancing_timeout, - "load-balancing_type": load_balancing_type, + "load-balancing_allow_insecure": load$$balancing_allow_insecure, + "load-balancing_consecutive_down": load$$balancing_consecutive_down, + "load-balancing_consecutive_up": load$$balancing_consecutive_up, + "load-balancing_description": load$$balancing_description, + "load-balancing_expected_body": load$$balancing_expected_body, + "load-balancing_expected_codes": load$$balancing_expected_codes, + "load-balancing_follow_redirects": load$$balancing_follow_redirects, + "load-balancing_header": load$$balancing_header, + "load-balancing_interval": load$$balancing_interval, + "load-balancing_method": load$$balancing_method, + "load-balancing_monitor-editable": load$$balancing_monitor$$editable, + "load-balancing_path": load$$balancing_path, + "load-balancing_port": load$$balancing_port, + "load-balancing_probe_zone": load$$balancing_probe_zone, + "load-balancing_retries": load$$balancing_retries, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_timeout": load$$balancing_timeout, + "load-balancing_type": load$$balancing_type, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_preview_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_preview_response": load_balancing_preview_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_preview_response": load$$balancing_preview_response, }, }, annotations: { @@ -103,12 +111,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_identifier": load_balancing_identifier_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_preview_response": load_balancing_preview_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_identifier": load$$balancing_identifier, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_preview_response": load$$balancing_preview_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts index 63b31c97a..6f883d5c4 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts @@ -3,41 +3,49 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_messages_output, - load_balancing_pools_references_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_messages, + load$$balancing_pools$$references$$response, } from "../../../../outputs.js"; -import { load_balancing_schemas_identifier } from "../../../../schemas.js"; +import { load$$balancing_schemas$$identifier } from "../../../../schemas.js"; /** - * The tools of `user.load_balancers.pools.references`. + * The tools of `user.loadBalancers.pools.references`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_pools_references_list", + name: "user_loadBalancers_pools_references_list", title: "List Pool References", description: "Get the list of resources that reference the provided pool.", inputSchema: { type: "object", properties: { - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "pool_id" + ], + "type": "object" } }, required: [ - "pool_id" + "path" ], $defs: { - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_pools-references-response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_pools-references-response": load_balancing_pools_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_pools-references-response": load$$balancing_pools$$references$$response, }, }, annotations: { @@ -65,10 +73,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_pools-references-response": load_balancing_pools_references_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_pools-references-response": load$$balancing_pools$$references$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts index 53814da73..ef1eb1e00 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts @@ -1,87 +1,87 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - load_balancing_Host_output, - load_balancing_address_output, - load_balancing_api_paginated_response_collection_output, - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_check_regions_output, - load_balancing_disabled_at_output, - load_balancing_enabled_output, - load_balancing_filter_options_output, - load_balancing_health_sources_output, - load_balancing_latitude_output, - load_balancing_load_shedding_output, - load_balancing_longitude_output, - load_balancing_messages_output, - load_balancing_minimum_origins_output, - load_balancing_monitor_group_id_output, - load_balancing_monitor_id_output, - load_balancing_name_output, - load_balancing_networks_output, - load_balancing_notification_email_output, - load_balancing_notification_filter_output, - load_balancing_origin_flatten_cname_output, - load_balancing_origin_output, - load_balancing_origin_port_output, - load_balancing_origin_steering_output, - load_balancing_origins_output, - load_balancing_pool_output, - load_balancing_result_info_output, - load_balancing_schemas_description_output, - load_balancing_schemas_disabled_at_output, - load_balancing_schemas_enabled_output, - load_balancing_schemas_header_output, - load_balancing_schemas_id_response_output, - load_balancing_schemas_identifier_output, - load_balancing_schemas_name_output, - load_balancing_schemas_response_collection_output, - load_balancing_schemas_single_response_output, - load_balancing_timestamp_output, - load_balancing_virtual_network_id_output, - load_balancing_weight_output, + load$$balancing_Host, + load$$balancing_address, + load$$balancing_api$$paginated$$response$$collection, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_check_regions, + load$$balancing_disabled_at, + load$$balancing_enabled, + load$$balancing_filter_options, + load$$balancing_health_sources, + load$$balancing_latitude, + load$$balancing_load_shedding, + load$$balancing_longitude, + load$$balancing_messages, + load$$balancing_minimum_origins, + load$$balancing_monitor_group_id, + load$$balancing_monitor_id, + load$$balancing_name, + load$$balancing_networks, + load$$balancing_notification_email, + load$$balancing_notification_filter, + load$$balancing_origin, + load$$balancing_origin_flatten_cname, + load$$balancing_origin_port, + load$$balancing_origin_steering, + load$$balancing_origins, + load$$balancing_pool, + load$$balancing_result_info, + load$$balancing_schemas$$description, + load$$balancing_schemas$$disabled_at, + load$$balancing_schemas$$enabled, + load$$balancing_schemas$$header, + load$$balancing_schemas$$id_response, + load$$balancing_schemas$$identifier, + load$$balancing_schemas$$name, + load$$balancing_schemas$$response_collection, + load$$balancing_schemas$$single_response, + load$$balancing_timestamp, + load$$balancing_virtual_network_id, + load$$balancing_weight, } from "../../../outputs.js"; import { - load_balancing_Host, - load_balancing_address, - load_balancing_check_regions, - load_balancing_enabled, - load_balancing_filter_options, - load_balancing_health_sources, - load_balancing_latitude, - load_balancing_load_shedding, - load_balancing_longitude, - load_balancing_minimum_origins, - load_balancing_monitor_group_id, - load_balancing_monitor_id, - load_balancing_name, - load_balancing_networks, - load_balancing_notification_email, - load_balancing_notification_filter, - load_balancing_origin, - load_balancing_origin_flatten_cname, - load_balancing_origin_port, - load_balancing_origin_steering, - load_balancing_origins, - load_balancing_schemas_description, - load_balancing_schemas_enabled, - load_balancing_schemas_header, - load_balancing_schemas_identifier, - load_balancing_schemas_name, - load_balancing_virtual_network_id, - load_balancing_weight, + load$$balancing_Host as load$$balancing_Host$, + load$$balancing_address as load$$balancing_address$, + load$$balancing_check_regions as load$$balancing_check_regions$, + load$$balancing_enabled as load$$balancing_enabled$, + load$$balancing_filter_options as load$$balancing_filter_options$, + load$$balancing_health_sources as load$$balancing_health_sources$, + load$$balancing_latitude as load$$balancing_latitude$, + load$$balancing_load_shedding as load$$balancing_load_shedding$, + load$$balancing_longitude as load$$balancing_longitude$, + load$$balancing_minimum_origins as load$$balancing_minimum_origins$, + load$$balancing_monitor_group_id as load$$balancing_monitor_group_id$, + load$$balancing_monitor_id as load$$balancing_monitor_id$, + load$$balancing_name as load$$balancing_name$, + load$$balancing_networks as load$$balancing_networks$, + load$$balancing_notification_email as load$$balancing_notification_email$, + load$$balancing_notification_filter as load$$balancing_notification_filter$, + load$$balancing_origin as load$$balancing_origin$, + load$$balancing_origin_flatten_cname as load$$balancing_origin_flatten_cname$, + load$$balancing_origin_port as load$$balancing_origin_port$, + load$$balancing_origin_steering as load$$balancing_origin_steering$, + load$$balancing_origins as load$$balancing_origins$, + load$$balancing_schemas$$description as load$$balancing_schemas$$description$, + load$$balancing_schemas$$enabled as load$$balancing_schemas$$enabled$, + load$$balancing_schemas$$header as load$$balancing_schemas$$header$, + load$$balancing_schemas$$identifier as load$$balancing_schemas$$identifier$, + load$$balancing_schemas$$name as load$$balancing_schemas$$name$, + load$$balancing_virtual_network_id as load$$balancing_virtual_network_id$, + load$$balancing_weight as load$$balancing_weight$, } from "../../../schemas.js"; /** - * The tools of `user.load_balancers.pools`. + * The tools of `user.loadBalancers.pools`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_pools_create", + name: "user_loadBalancers_pools_create", title: "Create Pool", description: "Create a new pool.", inputSchema: { @@ -169,74 +169,74 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "load-balancing_Host": load_balancing_Host, - "load-balancing_address": load_balancing_address, - "load-balancing_check_regions": load_balancing_check_regions, - "load-balancing_enabled": load_balancing_enabled, - "load-balancing_filter_options": load_balancing_filter_options, - "load-balancing_health_sources": load_balancing_health_sources, - "load-balancing_latitude": load_balancing_latitude, - "load-balancing_load_shedding": load_balancing_load_shedding, - "load-balancing_longitude": load_balancing_longitude, - "load-balancing_minimum_origins": load_balancing_minimum_origins, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id, - "load-balancing_monitor_id": load_balancing_monitor_id, - "load-balancing_name": load_balancing_name, - "load-balancing_networks": load_balancing_networks, - "load-balancing_notification_email": load_balancing_notification_email, - "load-balancing_notification_filter": load_balancing_notification_filter, - "load-balancing_origin": load_balancing_origin, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname, - "load-balancing_origin_port": load_balancing_origin_port, - "load-balancing_origin_steering": load_balancing_origin_steering, - "load-balancing_origins": load_balancing_origins, - "load-balancing_schemas-description": load_balancing_schemas_description, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled, - "load-balancing_schemas-header": load_balancing_schemas_header, - "load-balancing_schemas-name": load_balancing_schemas_name, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id, - "load-balancing_weight": load_balancing_weight, + "load-balancing_Host": load$$balancing_Host$, + "load-balancing_address": load$$balancing_address$, + "load-balancing_check_regions": load$$balancing_check_regions$, + "load-balancing_enabled": load$$balancing_enabled$, + "load-balancing_filter_options": load$$balancing_filter_options$, + "load-balancing_health_sources": load$$balancing_health_sources$, + "load-balancing_latitude": load$$balancing_latitude$, + "load-balancing_load_shedding": load$$balancing_load_shedding$, + "load-balancing_longitude": load$$balancing_longitude$, + "load-balancing_minimum_origins": load$$balancing_minimum_origins$, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, + "load-balancing_monitor_id": load$$balancing_monitor_id$, + "load-balancing_name": load$$balancing_name$, + "load-balancing_networks": load$$balancing_networks$, + "load-balancing_notification_email": load$$balancing_notification_email$, + "load-balancing_notification_filter": load$$balancing_notification_filter$, + "load-balancing_origin": load$$balancing_origin$, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, + "load-balancing_origin_port": load$$balancing_origin_port$, + "load-balancing_origin_steering": load$$balancing_origin_steering$, + "load-balancing_origins": load$$balancing_origins$, + "load-balancing_schemas-description": load$$balancing_schemas$$description$, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, + "load-balancing_schemas-header": load$$balancing_schemas$$header$, + "load-balancing_schemas-name": load$$balancing_schemas$$name$, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, + "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -263,43 +263,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -308,31 +308,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_load_balancers_pools_delete", + name: "user_loadBalancers_pools_delete", title: "Delete Pool", description: "Delete a configured pool.", inputSchema: { type: "object", properties: { - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "pool_id" + ], + "type": "object" } }, required: [ - "pool_id" + "path" ], $defs: { - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-id_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_schemas-id_response": load_balancing_schemas_id_response_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_schemas-id_response": load$$balancing_schemas$$id_response, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, annotations: { @@ -359,12 +367,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_schemas-id_response": load_balancing_schemas_id_response_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_schemas-id_response": load$$balancing_schemas$$id_response, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, request: (args) => ({ @@ -372,62 +380,70 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_load_balancers_pools_get", + name: "user_loadBalancers_pools_get", title: "Pool Details", description: "Fetch a single configured pool.", inputSchema: { type: "object", properties: { - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "pool_id" + ], + "type": "object" } }, required: [ - "pool_id" + "path" ], $defs: { - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -455,43 +471,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -499,58 +515,63 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_load_balancers_pools_list", + name: "user_loadBalancers_pools_list", title: "List Pools", description: "List configured pools.", inputSchema: { type: "object", properties: { - "monitor": { - "description": "The ID of the Monitor to use for checking the health of origins within this pool.", - "type": "string" + "query": { + "properties": { + "monitor": { + "description": "The ID of the Monitor to use for checking the health of origins within this pool.", + "type": "string" + } + }, + "type": "object" } }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-response_collection", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-response_collection": load_balancing_schemas_response_collection_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -578,55 +599,55 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-response_collection": load_balancing_schemas_response_collection_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ path: `/user/load_balancers/pools`, query: [ - ["monitor", args["monitor"], true], + ["monitor", param(args, "query", "monitor"), true], ], }), }, { - name: "user_load_balancers_pools_update", + name: "user_loadBalancers_pools_update", title: "Update Pool", description: "Modify a configured pool.", inputSchema: { @@ -709,84 +730,92 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "path": { + "properties": { + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + } + }, + "required": [ + "pool_id" + ], + "type": "object" } }, required: [ - "pool_id", + "path", "body" ], $defs: { - "load-balancing_Host": load_balancing_Host, - "load-balancing_address": load_balancing_address, - "load-balancing_check_regions": load_balancing_check_regions, - "load-balancing_enabled": load_balancing_enabled, - "load-balancing_filter_options": load_balancing_filter_options, - "load-balancing_health_sources": load_balancing_health_sources, - "load-balancing_latitude": load_balancing_latitude, - "load-balancing_load_shedding": load_balancing_load_shedding, - "load-balancing_longitude": load_balancing_longitude, - "load-balancing_minimum_origins": load_balancing_minimum_origins, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id, - "load-balancing_monitor_id": load_balancing_monitor_id, - "load-balancing_name": load_balancing_name, - "load-balancing_networks": load_balancing_networks, - "load-balancing_notification_email": load_balancing_notification_email, - "load-balancing_notification_filter": load_balancing_notification_filter, - "load-balancing_origin": load_balancing_origin, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname, - "load-balancing_origin_port": load_balancing_origin_port, - "load-balancing_origin_steering": load_balancing_origin_steering, - "load-balancing_origins": load_balancing_origins, - "load-balancing_schemas-description": load_balancing_schemas_description, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled, - "load-balancing_schemas-header": load_balancing_schemas_header, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, - "load-balancing_schemas-name": load_balancing_schemas_name, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id, - "load-balancing_weight": load_balancing_weight, + "load-balancing_Host": load$$balancing_Host$, + "load-balancing_address": load$$balancing_address$, + "load-balancing_check_regions": load$$balancing_check_regions$, + "load-balancing_enabled": load$$balancing_enabled$, + "load-balancing_filter_options": load$$balancing_filter_options$, + "load-balancing_health_sources": load$$balancing_health_sources$, + "load-balancing_latitude": load$$balancing_latitude$, + "load-balancing_load_shedding": load$$balancing_load_shedding$, + "load-balancing_longitude": load$$balancing_longitude$, + "load-balancing_minimum_origins": load$$balancing_minimum_origins$, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, + "load-balancing_monitor_id": load$$balancing_monitor_id$, + "load-balancing_name": load$$balancing_name$, + "load-balancing_networks": load$$balancing_networks$, + "load-balancing_notification_email": load$$balancing_notification_email$, + "load-balancing_notification_filter": load$$balancing_notification_filter$, + "load-balancing_origin": load$$balancing_origin$, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, + "load-balancing_origin_port": load$$balancing_origin_port$, + "load-balancing_origin_steering": load$$balancing_origin_steering$, + "load-balancing_origins": load$$balancing_origins$, + "load-balancing_schemas-description": load$$balancing_schemas$$description$, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, + "load-balancing_schemas-header": load$$balancing_schemas$$header$, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, + "load-balancing_schemas-name": load$$balancing_schemas$$name$, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, + "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -813,43 +842,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_Host": load_balancing_Host_output, - "load-balancing_address": load_balancing_address_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_check_regions": load_balancing_check_regions_output, - "load-balancing_disabled_at": load_balancing_disabled_at_output, - "load-balancing_enabled": load_balancing_enabled_output, - "load-balancing_filter_options": load_balancing_filter_options_output, - "load-balancing_health_sources": load_balancing_health_sources_output, - "load-balancing_latitude": load_balancing_latitude_output, - "load-balancing_load_shedding": load_balancing_load_shedding_output, - "load-balancing_longitude": load_balancing_longitude_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_minimum_origins": load_balancing_minimum_origins_output, - "load-balancing_monitor_group_id": load_balancing_monitor_group_id_output, - "load-balancing_monitor_id": load_balancing_monitor_id_output, - "load-balancing_name": load_balancing_name_output, - "load-balancing_networks": load_balancing_networks_output, - "load-balancing_notification_email": load_balancing_notification_email_output, - "load-balancing_notification_filter": load_balancing_notification_filter_output, - "load-balancing_origin": load_balancing_origin_output, - "load-balancing_origin_flatten_cname": load_balancing_origin_flatten_cname_output, - "load-balancing_origin_port": load_balancing_origin_port_output, - "load-balancing_origin_steering": load_balancing_origin_steering_output, - "load-balancing_origins": load_balancing_origins_output, - "load-balancing_pool": load_balancing_pool_output, - "load-balancing_schemas-description": load_balancing_schemas_description_output, - "load-balancing_schemas-disabled_at": load_balancing_schemas_disabled_at_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-header": load_balancing_schemas_header_output, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, - "load-balancing_schemas-single_response": load_balancing_schemas_single_response_output, - "load-balancing_timestamp": load_balancing_timestamp_output, - "load-balancing_virtual_network_id": load_balancing_virtual_network_id_output, - "load-balancing_weight": load_balancing_weight_output, + "load-balancing_Host": load$$balancing_Host, + "load-balancing_address": load$$balancing_address, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_check_regions": load$$balancing_check_regions, + "load-balancing_disabled_at": load$$balancing_disabled_at, + "load-balancing_enabled": load$$balancing_enabled, + "load-balancing_filter_options": load$$balancing_filter_options, + "load-balancing_health_sources": load$$balancing_health_sources, + "load-balancing_latitude": load$$balancing_latitude, + "load-balancing_load_shedding": load$$balancing_load_shedding, + "load-balancing_longitude": load$$balancing_longitude, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_minimum_origins": load$$balancing_minimum_origins, + "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, + "load-balancing_monitor_id": load$$balancing_monitor_id, + "load-balancing_name": load$$balancing_name, + "load-balancing_networks": load$$balancing_networks, + "load-balancing_notification_email": load$$balancing_notification_email, + "load-balancing_notification_filter": load$$balancing_notification_filter, + "load-balancing_origin": load$$balancing_origin, + "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, + "load-balancing_origin_port": load$$balancing_origin_port, + "load-balancing_origin_steering": load$$balancing_origin_steering, + "load-balancing_origins": load$$balancing_origins, + "load-balancing_pool": load$$balancing_pool, + "load-balancing_schemas-description": load$$balancing_schemas$$description, + "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-header": load$$balancing_schemas$$header, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_schemas-name": load$$balancing_schemas$$name, + "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, + "load-balancing_timestamp": load$$balancing_timestamp, + "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, + "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/preview/schemas.ts b/src/generated/forge-mcp/user/loadBalancers/preview/schemas.ts index 2700b9bc0..96629f20c 100644 --- a/src/generated/forge-mcp/user/loadBalancers/preview/schemas.ts +++ b/src/generated/forge-mcp/user/loadBalancers/preview/schemas.ts @@ -6,4 +6,4 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `load-balancing_preview_id`. */ -export const load_balancing_preview_id: JsonSchema = {}; +export const load$$balancing_preview_id: JsonSchema = {}; diff --git a/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts b/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts index a1cdd750e..66a1ef897 100644 --- a/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts @@ -3,47 +3,55 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_messages_output, - load_balancing_origin_health_data_output, - load_balancing_preview_result_output, - load_balancing_preview_result_response_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_messages, + load$$balancing_origin_health_data, + load$$balancing_preview_result, + load$$balancing_preview_result_response, } from "../../../outputs.js"; -import { load_balancing_preview_id } from "./schemas.js"; +import { load$$balancing_preview_id } from "./schemas.js"; /** - * The tools of `user.load_balancers.preview`. + * The tools of `user.loadBalancers.preview`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_preview_get", + name: "user_loadBalancers_preview_get", title: "Preview Result", description: "Get the result of a previous preview operation using the provided preview_id.", inputSchema: { type: "object", properties: { - "preview_id": { - "$ref": "#/$defs/load-balancing_preview_id" + "path": { + "properties": { + "preview_id": { + "$ref": "#/$defs/load-balancing_preview_id" + } + }, + "required": [ + "preview_id" + ], + "type": "object" } }, required: [ - "preview_id" + "path" ], $defs: { - "load-balancing_preview_id": load_balancing_preview_id, + "load-balancing_preview_id": load$$balancing_preview_id, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_preview_result_response", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin_health_data": load_balancing_origin_health_data_output, - "load-balancing_preview_result": load_balancing_preview_result_output, - "load-balancing_preview_result_response": load_balancing_preview_result_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin_health_data": load$$balancing_origin_health_data, + "load-balancing_preview_result": load$$balancing_preview_result, + "load-balancing_preview_result_response": load$$balancing_preview_result_response, }, }, annotations: { @@ -71,13 +79,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin_health_data": load_balancing_origin_health_data_output, - "load-balancing_preview_result": load_balancing_preview_result_output, - "load-balancing_preview_result_response": load_balancing_preview_result_response_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin_health_data": load$$balancing_origin_health_data, + "load-balancing_preview_result": load$$balancing_preview_result, + "load-balancing_preview_result_response": load$$balancing_preview_result_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts b/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts index f30a27ba7..215f4b7fb 100644 --- a/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts @@ -1,47 +1,52 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; import { - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_api_response_single_output, - load_balancing_messages_output, - load_balancing_region_components_schemas_response_collection_output, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_api$$response$$single, + load$$balancing_messages, + load$$balancing_region_components$$schemas$$response_collection, } from "../../../outputs.js"; -import { load_balancing_subdivision_code_a2 } from "../../../schemas.js"; +import { load$$balancing_subdivision_code_a2 } from "../../../schemas.js"; /** - * The tools of `user.load_balancers.regions`. + * The tools of `user.loadBalancers.regions`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancers_regions_list", + name: "user_loadBalancers_regions_list", title: "List Regions", description: "List all region mappings in the user context.", inputSchema: { type: "object", properties: { - "country_code": { - "description": "Two-letter alpha-2 country code as defined in ISO 3166-1.", - "type": "string" - }, - "subdivision_code": { - "$ref": "#/$defs/load-balancing_subdivision_code_a2", - "description": "Two-letter subdivision code followed in ISO 3166-2." + "query": { + "properties": { + "country_code": { + "description": "Two-letter alpha-2 country code as defined in ISO 3166-1.", + "type": "string" + }, + "subdivision_code": { + "$ref": "#/$defs/load-balancing_subdivision_code_a2", + "description": "Two-letter subdivision code followed in ISO 3166-2." + } + }, + "type": "object" } }, $defs: { - "load-balancing_subdivision_code_a2": load_balancing_subdivision_code_a2, + "load-balancing_subdivision_code_a2": load$$balancing_subdivision_code_a2, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_region_components-schemas-response_collection", $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_region_components-schemas-response_collection": load_balancing_region_components_schemas_response_collection_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_region_components-schemas-response_collection": load$$balancing_region_components$$schemas$$response_collection, }, }, annotations: { @@ -69,18 +74,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_api-response-single": load_balancing_api_response_single_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_region_components-schemas-response_collection": load_balancing_region_components_schemas_response_collection_output, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_api-response-single": load$$balancing_api$$response$$single, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_region_components-schemas-response_collection": load$$balancing_region_components$$schemas$$response_collection, }, }, request: (args) => ({ path: `/user/load_balancers/regions`, query: [ - ["subdivision_code", args["subdivision_code"], true], - ["country_code", args["country_code"], true], + ["subdivision_code", param(args, "query", "subdivision_code"), true], + ["country_code", param(args, "query", "country_code"), true], ], }), }, diff --git a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts index 834740f60..559886e3b 100644 --- a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts +++ b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `load-balancing_analytics` in responses. */ -export const load_balancing_analytics_output: JsonSchema = { +export const load$$balancing_analytics: JsonSchema = { "properties": { "id": { "type": "integer" @@ -32,7 +32,7 @@ export const load_balancing_analytics_output: JsonSchema = { * The schema of `load-balancing_components-schemas-response_collection` in * responses. */ -export const load_balancing_components_schemas_response_collection_output: JsonSchema = { +export const load$$balancing_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/load-balancing_api-paginated-response-collection" @@ -54,7 +54,7 @@ export const load_balancing_components_schemas_response_collection_output: JsonS /** * The schema of `load-balancing_origin-analytics` in responses. */ -export const load_balancing_origin_analytics_output: JsonSchema = { +export const load$$balancing_origin$$analytics: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/load-balancing_address" @@ -84,27 +84,27 @@ export const load_balancing_origin_analytics_output: JsonSchema = { /** * The schema of `load-balancing_origin-changed` in responses. */ -export const load_balancing_origin_changed_output: JsonSchema = { +export const load$$balancing_origin$$changed: JsonSchema = { "type": "boolean" }; /** * The schema of `load-balancing_origin-failure-reason` in responses. */ -export const load_balancing_origin_failure_reason_output: JsonSchema = { +export const load$$balancing_origin$$failure$$reason: JsonSchema = { "type": "string" }; /** * The schema of `load-balancing_origin-healthy` in responses. */ -export const load_balancing_origin_healthy_output: JsonSchema = { +export const load$$balancing_origin$$healthy: JsonSchema = { "type": "boolean" }; /** * The schema of `load-balancing_origin-ip` in responses. */ -export const load_balancing_origin_ip_output: JsonSchema = { +export const load$$balancing_origin$$ip: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/schemas.ts b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/schemas.ts index 2467b5623..0a34ca294 100644 --- a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/schemas.ts +++ b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `load-balancing_origin_healthy`. */ -export const load_balancing_origin_healthy: JsonSchema = { +export const load$$balancing_origin_healthy: JsonSchema = { "description": "If true, filter events where the origin status is healthy. If false, filter events where the origin status is unhealthy.", "type": "boolean" }; @@ -14,7 +14,7 @@ export const load_balancing_origin_healthy: JsonSchema = { /** * The schema of `load-balancing_pool_name`. */ -export const load_balancing_pool_name: JsonSchema = { +export const load$$balancing_pool_name: JsonSchema = { "description": "The name for the pool to filter.", "type": "string" }; @@ -22,7 +22,7 @@ export const load_balancing_pool_name: JsonSchema = { /** * The schema of `load-balancing_until`. */ -export const load_balancing_until: JsonSchema = { +export const load$$balancing_until: JsonSchema = { "description": "End date and time of requesting data period in the ISO8601 format.", "format": "date-time", "type": "string" diff --git a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts index 9c9638b60..847be07be 100644 --- a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts @@ -1,99 +1,104 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; import { - load_balancing_address_output, - load_balancing_api_paginated_response_collection_output, - load_balancing_api_response_common_failure_output, - load_balancing_api_response_common_output, - load_balancing_messages_output, - load_balancing_result_info_output, - load_balancing_schemas_enabled_output, - load_balancing_schemas_name_output, + load$$balancing_address, + load$$balancing_api$$paginated$$response$$collection, + load$$balancing_api$$response$$common, + load$$balancing_api$$response$$common$$failure, + load$$balancing_messages, + load$$balancing_result_info, + load$$balancing_schemas$$enabled, + load$$balancing_schemas$$name, } from "../../../outputs.js"; -import { load_balancing_schemas_identifier } from "../../../schemas.js"; +import { load$$balancing_schemas$$identifier } from "../../../schemas.js"; import { - load_balancing_analytics_output, - load_balancing_components_schemas_response_collection_output, - load_balancing_origin_analytics_output, - load_balancing_origin_changed_output, - load_balancing_origin_failure_reason_output, - load_balancing_origin_healthy_output, - load_balancing_origin_ip_output, + load$$balancing_analytics, + load$$balancing_components$$schemas$$response_collection, + load$$balancing_origin$$analytics, + load$$balancing_origin$$changed, + load$$balancing_origin$$failure$$reason, + load$$balancing_origin$$healthy, + load$$balancing_origin$$ip, } from "./outputs.js"; import { - load_balancing_origin_healthy, - load_balancing_pool_name, - load_balancing_until, + load$$balancing_origin_healthy, + load$$balancing_pool_name, + load$$balancing_until, } from "./schemas.js"; /** - * The tools of `user.load_balancing_analytics.events`. + * The tools of `user.loadBalancingAnalytics.events`. */ export const tools: readonly Tool[] = [ { - name: "user_load_balancing_analytics_events_list", + name: "user_loadBalancingAnalytics_events_list", title: "List Healthcheck Events", description: "List origin health changes.", inputSchema: { type: "object", properties: { - "origin_healthy": { - "$ref": "#/$defs/load-balancing_origin_healthy", - "default": true, - "description": "If true, filter events where the origin status is healthy. If false, filter events where the origin status is unhealthy." - }, - "origin_name": { - "description": "The name for the origin to filter.", - "type": "string" - }, - "pool_healthy": { - "default": true, - "description": "If true, filter events where the pool status is healthy. If false, filter events where the pool status is unhealthy.", - "type": "boolean" - }, - "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" - }, - "pool_name": { - "$ref": "#/$defs/load-balancing_pool_name", - "description": "The name for the pool to filter." - }, - "since": { - "description": "Start date and time of requesting data period in the ISO8601 format.", - "format": "date-time", - "type": "string" - }, - "until": { - "$ref": "#/$defs/load-balancing_until", - "description": "End date and time of requesting data period in the ISO8601 format." + "query": { + "properties": { + "origin_healthy": { + "$ref": "#/$defs/load-balancing_origin_healthy", + "default": true, + "description": "If true, filter events where the origin status is healthy. If false, filter events where the origin status is unhealthy." + }, + "origin_name": { + "description": "The name for the origin to filter.", + "type": "string" + }, + "pool_healthy": { + "default": true, + "description": "If true, filter events where the pool status is healthy. If false, filter events where the pool status is unhealthy.", + "type": "boolean" + }, + "pool_id": { + "$ref": "#/$defs/load-balancing_schemas-identifier" + }, + "pool_name": { + "$ref": "#/$defs/load-balancing_pool_name", + "description": "The name for the pool to filter." + }, + "since": { + "description": "Start date and time of requesting data period in the ISO8601 format.", + "format": "date-time", + "type": "string" + }, + "until": { + "$ref": "#/$defs/load-balancing_until", + "description": "End date and time of requesting data period in the ISO8601 format." + } + }, + "type": "object" } }, $defs: { - "load-balancing_origin_healthy": load_balancing_origin_healthy, - "load-balancing_pool_name": load_balancing_pool_name, - "load-balancing_schemas-identifier": load_balancing_schemas_identifier, - "load-balancing_until": load_balancing_until, + "load-balancing_origin_healthy": load$$balancing_origin_healthy, + "load-balancing_pool_name": load$$balancing_pool_name, + "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, + "load-balancing_until": load$$balancing_until, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_components-schemas-response_collection", $defs: { - "load-balancing_address": load_balancing_address_output, - "load-balancing_analytics": load_balancing_analytics_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_components-schemas-response_collection": load_balancing_components_schemas_response_collection_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin-analytics": load_balancing_origin_analytics_output, - "load-balancing_origin-changed": load_balancing_origin_changed_output, - "load-balancing_origin-failure-reason": load_balancing_origin_failure_reason_output, - "load-balancing_origin-healthy": load_balancing_origin_healthy_output, - "load-balancing_origin-ip": load_balancing_origin_ip_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_address": load$$balancing_address, + "load-balancing_analytics": load$$balancing_analytics, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_components-schemas-response_collection": load$$balancing_components$$schemas$$response_collection, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin-analytics": load$$balancing_origin$$analytics, + "load-balancing_origin-changed": load$$balancing_origin$$changed, + "load-balancing_origin-failure-reason": load$$balancing_origin$$failure$$reason, + "load-balancing_origin-healthy": load$$balancing_origin$$healthy, + "load-balancing_origin-ip": load$$balancing_origin$$ip, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-name": load$$balancing_schemas$$name, }, }, annotations: { @@ -121,33 +126,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_address": load_balancing_address_output, - "load-balancing_analytics": load_balancing_analytics_output, - "load-balancing_api-paginated-response-collection": load_balancing_api_paginated_response_collection_output, - "load-balancing_api-response-common": load_balancing_api_response_common_output, - "load-balancing_api-response-common-failure": load_balancing_api_response_common_failure_output, - "load-balancing_components-schemas-response_collection": load_balancing_components_schemas_response_collection_output, - "load-balancing_messages": load_balancing_messages_output, - "load-balancing_origin-analytics": load_balancing_origin_analytics_output, - "load-balancing_origin-changed": load_balancing_origin_changed_output, - "load-balancing_origin-failure-reason": load_balancing_origin_failure_reason_output, - "load-balancing_origin-healthy": load_balancing_origin_healthy_output, - "load-balancing_origin-ip": load_balancing_origin_ip_output, - "load-balancing_result_info": load_balancing_result_info_output, - "load-balancing_schemas-enabled": load_balancing_schemas_enabled_output, - "load-balancing_schemas-name": load_balancing_schemas_name_output, + "load-balancing_address": load$$balancing_address, + "load-balancing_analytics": load$$balancing_analytics, + "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, + "load-balancing_api-response-common": load$$balancing_api$$response$$common, + "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, + "load-balancing_components-schemas-response_collection": load$$balancing_components$$schemas$$response_collection, + "load-balancing_messages": load$$balancing_messages, + "load-balancing_origin-analytics": load$$balancing_origin$$analytics, + "load-balancing_origin-changed": load$$balancing_origin$$changed, + "load-balancing_origin-failure-reason": load$$balancing_origin$$failure$$reason, + "load-balancing_origin-healthy": load$$balancing_origin$$healthy, + "load-balancing_origin-ip": load$$balancing_origin$$ip, + "load-balancing_result_info": load$$balancing_result_info, + "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, + "load-balancing_schemas-name": load$$balancing_schemas$$name, }, }, request: (args) => ({ path: `/user/load_balancing_analytics/events`, query: [ - ["until", args["until"], true], - ["pool_name", args["pool_name"], true], - ["origin_healthy", args["origin_healthy"], true], - ["pool_id", args["pool_id"], true], - ["since", args["since"], true], - ["origin_name", args["origin_name"], true], - ["pool_healthy", args["pool_healthy"], true], + ["until", param(args, "query", "until"), true], + ["pool_name", param(args, "query", "pool_name"), true], + ["origin_healthy", param(args, "query", "origin_healthy"), true], + ["pool_id", param(args, "query", "pool_id"), true], + ["since", param(args, "query", "since"), true], + ["origin_name", param(args, "query", "origin_name"), true], + ["pool_healthy", param(args, "query", "pool_healthy"), true], ], }), }, diff --git a/src/generated/forge-mcp/user/memberships/outputs.ts b/src/generated/forge-mcp/user/memberships/outputs.ts index 29d9dfa18..95af53d15 100644 --- a/src/generated/forge-mcp/user/memberships/outputs.ts +++ b/src/generated/forge-mcp/user/memberships/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_api_access_enabled` in responses. */ -export const iam_api_access_enabled_output: JsonSchema = { +export const iam_api_access_enabled: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -20,7 +20,7 @@ export const iam_api_access_enabled_output: JsonSchema = { /** * The schema of `iam_collection_membership_response` in responses. */ -export const iam_collection_membership_response_output: JsonSchema = { +export const iam_collection_membership_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -43,7 +43,7 @@ export const iam_collection_membership_response_output: JsonSchema = { * The schema of `iam_collection_membership_response_with_policies` in * responses. */ -export const iam_collection_membership_response_with_policies_output: JsonSchema = { +export const iam_collection_membership_response_with_policies: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-collection" @@ -65,7 +65,7 @@ export const iam_collection_membership_response_with_policies_output: JsonSchema /** * The schema of `iam_membership` in responses. */ -export const iam_membership_output: JsonSchema = { +export const iam_membership: JsonSchema = { "properties": { "account": { "$ref": "#/$defs/iam_schemas-account" @@ -92,7 +92,7 @@ export const iam_membership_output: JsonSchema = { /** * The schema of `iam_membership-with-policies` in responses. */ -export const iam_membership_with_policies_output: JsonSchema = { +export const iam_membership$$with$$policies: JsonSchema = { "properties": { "account": { "$ref": "#/$defs/iam_schemas-account" @@ -125,7 +125,7 @@ export const iam_membership_with_policies_output: JsonSchema = { /** * The schema of `iam_schemas-account` in responses. */ -export const iam_schemas_account_output: JsonSchema = { +export const iam_schemas$$account: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -180,7 +180,7 @@ export const iam_schemas_account_output: JsonSchema = { /** * The schema of `iam_schemas-status` in responses. */ -export const iam_schemas_status_output: JsonSchema = { +export const iam_schemas$$status: JsonSchema = { "enum": [ "accepted", "pending", @@ -192,7 +192,7 @@ export const iam_schemas_status_output: JsonSchema = { /** * The schema of `iam_single_membership_response_with_policies` in responses. */ -export const iam_single_membership_response_with_policies_output: JsonSchema = { +export const iam_single_membership_response_with_policies: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" diff --git a/src/generated/forge-mcp/user/memberships/schemas.ts b/src/generated/forge-mcp/user/memberships/schemas.ts index 1169ad118..6a769c1ff 100644 --- a/src/generated/forge-mcp/user/memberships/schemas.ts +++ b/src/generated/forge-mcp/user/memberships/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `iam_properties-name`. */ -export const iam_properties_name: JsonSchema = { +export const iam_properties$$name: JsonSchema = { "description": "Account name", "type": "string" }; diff --git a/src/generated/forge-mcp/user/memberships/tools.ts b/src/generated/forge-mcp/user/memberships/tools.ts index 5f6b9cdf1..9254f64aa 100644 --- a/src/generated/forge-mcp/user/memberships/tools.ts +++ b/src/generated/forge-mcp/user/memberships/tools.ts @@ -1,44 +1,44 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - iam_access_output, - iam_account_type_output, - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_output, - iam_common_components_schemas_identifier_output, - iam_grants_output, - iam_list_member_policy_output, - iam_membership_components_schemas_identifier_output, - iam_messages_2_output, - iam_permission_group_output, - iam_permission_groups_output, - iam_permissions_output, - iam_policy_identifier_output, - iam_resource_group_output, - iam_resource_groups_output, - iam_result_info_output, - iam_scope_key_output, - iam_scope_object_key_output, - iam_scope_object_output, - iam_scope_output, + iam_access, + iam_account$$type, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_common_components$$schemas$$identifier, + iam_grants, + iam_list_member_policy, + iam_membership_components$$schemas$$identifier, + iam_messages$$2, + iam_permission_group, + iam_permission_groups, + iam_permissions, + iam_policy_identifier, + iam_resource_group, + iam_resource_groups, + iam_result_info, + iam_scope, + iam_scope_key, + iam_scope_object, + iam_scope_object_key, } from "../../outputs.js"; -import { iam_membership_components_schemas_identifier } from "../../schemas.js"; -import { iam_role_names_output } from "../outputs.js"; +import { iam_membership_components$$schemas$$identifier as iam_membership_components$$schemas$$identifier$ } from "../../schemas.js"; +import { iam_role_names } from "../outputs.js"; import { - iam_api_access_enabled_output, - iam_collection_membership_response_output, - iam_collection_membership_response_with_policies_output, - iam_membership_output, - iam_membership_with_policies_output, - iam_schemas_account_output, - iam_schemas_status_output, - iam_single_membership_response_with_policies_output, + iam_api_access_enabled, + iam_collection_membership_response, + iam_collection_membership_response_with_policies, + iam_membership, + iam_membership$$with$$policies, + iam_schemas$$account, + iam_schemas$$status, + iam_single_membership_response_with_policies, } from "./outputs.js"; -import { iam_properties_name } from "./schemas.js"; +import { iam_properties$$name } from "./schemas.js"; /** * The tools of `user.memberships`. @@ -51,16 +51,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "membership_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "path": { + "properties": { + "membership_id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier", + "description": "Membership identifier tag." + } + }, + "required": [ + "membership_id" + ], + "type": "object" } }, required: [ - "membership_id" + "path" ], $defs: { - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, }, }, outputSchema: { @@ -83,9 +91,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -129,10 +137,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -146,53 +154,58 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_name": { - "$ref": "#/$defs/iam_properties-name", - "description": "Account name" - }, - "direction": { - "description": "Direction to order memberships.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "name": { - "$ref": "#/$defs/iam_properties-name", - "description": "Account name" - }, - "order": { - "description": "Field to order memberships by.", - "enum": [ - "id", - "account.name", - "status" - ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Number of memberships per page.", - "type": "number" - }, - "status": { - "description": "Status of this membership.", - "enum": [ - "accepted", - "pending", - "rejected" - ], - "type": "string" + "query": { + "properties": { + "account.name": { + "$ref": "#/$defs/iam_properties-name", + "description": "Account name" + }, + "direction": { + "description": "Direction to order memberships.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "$ref": "#/$defs/iam_properties-name", + "description": "Account name" + }, + "order": { + "description": "Field to order memberships by.", + "enum": [ + "id", + "account.name", + "status" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Number of memberships per page.", + "type": "number" + }, + "status": { + "description": "Status of this membership.", + "enum": [ + "accepted", + "pending", + "rejected" + ], + "type": "string" + } + }, + "type": "object" } }, $defs: { - "iam_properties-name": iam_properties_name, + "iam_properties-name": iam_properties$$name, }, }, outputSchema: { @@ -205,34 +218,34 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api_access_enabled": iam_api_access_enabled_output, - "iam_collection_membership_response": iam_collection_membership_response_output, - "iam_collection_membership_response_with_policies": iam_collection_membership_response_with_policies_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_grants": iam_grants_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_membership": iam_membership_output, - "iam_membership-with-policies": iam_membership_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_result_info": iam_result_info_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-account": iam_schemas_account_output, - "iam_schemas-status": iam_schemas_status_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_access": iam_access, + "iam_account-type": iam_account$$type, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api_access_enabled": iam_api_access_enabled, + "iam_collection_membership_response": iam_collection_membership_response, + "iam_collection_membership_response_with_policies": iam_collection_membership_response_with_policies, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_grants": iam_grants, + "iam_list_member_policy": iam_list_member_policy, + "iam_membership": iam_membership, + "iam_membership-with-policies": iam_membership$$with$$policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_result_info": iam_result_info, + "iam_role_names": iam_role_names, + "iam_schemas-account": iam_schemas$$account, + "iam_schemas-status": iam_schemas$$status, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -267,47 +280,47 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api_access_enabled": iam_api_access_enabled_output, - "iam_collection_membership_response": iam_collection_membership_response_output, - "iam_collection_membership_response_with_policies": iam_collection_membership_response_with_policies_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_grants": iam_grants_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_membership": iam_membership_output, - "iam_membership-with-policies": iam_membership_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_result_info": iam_result_info_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-account": iam_schemas_account_output, - "iam_schemas-status": iam_schemas_status_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, + "iam_access": iam_access, + "iam_account-type": iam_account$$type, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api_access_enabled": iam_api_access_enabled, + "iam_collection_membership_response": iam_collection_membership_response, + "iam_collection_membership_response_with_policies": iam_collection_membership_response_with_policies, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_grants": iam_grants, + "iam_list_member_policy": iam_list_member_policy, + "iam_membership": iam_membership, + "iam_membership-with-policies": iam_membership$$with$$policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_result_info": iam_result_info, + "iam_role_names": iam_role_names, + "iam_schemas-account": iam_schemas$$account, + "iam_schemas-status": iam_schemas$$status, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ path: `/memberships`, query: [ - ["account.name", args["account_name"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["name", args["name"], true], - ["status", args["status"], true], + ["account.name", param(args, "query", "account.name"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["name", param(args, "query", "name"), true], + ["status", param(args, "query", "status"), true], ], }), }, @@ -334,46 +347,54 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "membership_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "path": { + "properties": { + "membership_id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier", + "description": "Membership identifier tag." + } + }, + "required": [ + "membership_id" + ], + "type": "object" } }, required: [ - "membership_id", + "path", "body" ], $defs: { - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_membership_response_with_policies", $defs: { - "iam_access": iam_access_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_api_access_enabled": iam_api_access_enabled_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_grants": iam_grants_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_membership-with-policies": iam_membership_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-account": iam_schemas_account_output, - "iam_schemas-status": iam_schemas_status_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies_output, + "iam_access": iam_access, + "iam_account-type": iam_account$$type, + "iam_api-response-single": iam_api$$response$$single, + "iam_api_access_enabled": iam_api_access_enabled, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_grants": iam_grants, + "iam_list_member_policy": iam_list_member_policy, + "iam_membership-with-policies": iam_membership$$with$$policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role_names": iam_role_names, + "iam_schemas-account": iam_schemas$$account, + "iam_schemas-status": iam_schemas$$status, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, annotations: { @@ -400,31 +421,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_api_access_enabled": iam_api_access_enabled_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_grants": iam_grants_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_membership-with-policies": iam_membership_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-account": iam_schemas_account_output, - "iam_schemas-status": iam_schemas_status_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies_output, + "iam_access": iam_access, + "iam_account-type": iam_account$$type, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_api_access_enabled": iam_api_access_enabled, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_grants": iam_grants, + "iam_list_member_policy": iam_list_member_policy, + "iam_membership-with-policies": iam_membership$$with$$policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role_names": iam_role_names, + "iam_schemas-account": iam_schemas$$account, + "iam_schemas-status": iam_schemas$$status, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, request: (args) => ({ @@ -433,51 +454,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_memberships_user_memberships_get", + name: "user_memberships_userMembershipsGet", title: "Get User Membership", description: "Get a specific membership for the currently authenticated user.", inputSchema: { type: "object", properties: { - "membership_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "path": { + "properties": { + "membership_id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier", + "description": "Membership identifier tag." + } + }, + "required": [ + "membership_id" + ], + "type": "object" } }, required: [ - "membership_id" + "path" ], $defs: { - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_membership_response_with_policies", $defs: { - "iam_access": iam_access_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_api_access_enabled": iam_api_access_enabled_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_grants": iam_grants_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_membership-with-policies": iam_membership_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-account": iam_schemas_account_output, - "iam_schemas-status": iam_schemas_status_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies_output, + "iam_access": iam_access, + "iam_account-type": iam_account$$type, + "iam_api-response-single": iam_api$$response$$single, + "iam_api_access_enabled": iam_api_access_enabled, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_grants": iam_grants, + "iam_list_member_policy": iam_list_member_policy, + "iam_membership-with-policies": iam_membership$$with$$policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role_names": iam_role_names, + "iam_schemas-account": iam_schemas$$account, + "iam_schemas-status": iam_schemas$$status, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, annotations: { @@ -516,31 +545,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_api_access_enabled": iam_api_access_enabled_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_grants": iam_grants_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_membership-with-policies": iam_membership_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-account": iam_schemas_account_output, - "iam_schemas-status": iam_schemas_status_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies_output, + "iam_access": iam_access, + "iam_account-type": iam_account$$type, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_api_access_enabled": iam_api_access_enabled, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_grants": iam_grants, + "iam_list_member_policy": iam_list_member_policy, + "iam_membership-with-policies": iam_membership$$with$$policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role_names": iam_role_names, + "iam_schemas-account": iam_schemas$$account, + "iam_schemas-status": iam_schemas$$status, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, request: (args) => ({ @@ -548,51 +577,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "user_memberships_user_s_account_memberships_membership_details", + name: "user_memberships_userSAccountMembershipsMembershipDetails", title: "Membership Details", description: "Get a specific membership.", inputSchema: { type: "object", properties: { - "membership_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "path": { + "properties": { + "membership_id": { + "$ref": "#/$defs/iam_membership_components-schemas-identifier", + "description": "Membership identifier tag." + } + }, + "required": [ + "membership_id" + ], + "type": "object" } }, required: [ - "membership_id" + "path" ], $defs: { - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_membership_response_with_policies", $defs: { - "iam_access": iam_access_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_api_access_enabled": iam_api_access_enabled_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_grants": iam_grants_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_membership-with-policies": iam_membership_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-account": iam_schemas_account_output, - "iam_schemas-status": iam_schemas_status_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies_output, + "iam_access": iam_access, + "iam_account-type": iam_account$$type, + "iam_api-response-single": iam_api$$response$$single, + "iam_api_access_enabled": iam_api_access_enabled, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_grants": iam_grants, + "iam_list_member_policy": iam_list_member_policy, + "iam_membership-with-policies": iam_membership$$with$$policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role_names": iam_role_names, + "iam_schemas-account": iam_schemas$$account, + "iam_schemas-status": iam_schemas$$status, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, annotations: { @@ -620,31 +657,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access_output, - "iam_account-type": iam_account_type_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_api_access_enabled": iam_api_access_enabled_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_grants": iam_grants_output, - "iam_list_member_policy": iam_list_member_policy_output, - "iam_membership-with-policies": iam_membership_with_policies_output, - "iam_membership_components-schemas-identifier": iam_membership_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_permissions": iam_permissions_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_resource_group": iam_resource_group_output, - "iam_resource_groups": iam_resource_groups_output, - "iam_role_names": iam_role_names_output, - "iam_schemas-account": iam_schemas_account_output, - "iam_schemas-status": iam_schemas_status_output, - "iam_scope": iam_scope_output, - "iam_scope_key": iam_scope_key_output, - "iam_scope_object": iam_scope_object_output, - "iam_scope_object_key": iam_scope_object_key_output, - "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies_output, + "iam_access": iam_access, + "iam_account-type": iam_account$$type, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_api_access_enabled": iam_api_access_enabled, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_grants": iam_grants, + "iam_list_member_policy": iam_list_member_policy, + "iam_membership-with-policies": iam_membership$$with$$policies, + "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_permissions": iam_permissions, + "iam_policy_identifier": iam_policy_identifier, + "iam_resource_group": iam_resource_group, + "iam_resource_groups": iam_resource_groups, + "iam_role_names": iam_role_names, + "iam_schemas-account": iam_schemas$$account, + "iam_schemas-status": iam_schemas$$status, + "iam_scope": iam_scope, + "iam_scope_key": iam_scope_key, + "iam_scope_object": iam_scope_object, + "iam_scope_object_key": iam_scope_object_key, + "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/outputs.ts b/src/generated/forge-mcp/user/outputs.ts index 4055ae4ba..e581d67df 100644 --- a/src/generated/forge-mcp/user/outputs.ts +++ b/src/generated/forge-mcp/user/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `iam_components-schemas-status` in responses. */ -export const iam_components_schemas_status_output: JsonSchema = { +export const iam_components$$schemas$$status: JsonSchema = { "enum": [ "member", "invited" @@ -17,7 +17,7 @@ export const iam_components_schemas_status_output: JsonSchema = { /** * The schema of `iam_country` in responses. */ -export const iam_country_output: JsonSchema = { +export const iam_country: JsonSchema = { "oneOf": [ { "type": "string" @@ -31,7 +31,7 @@ export const iam_country_output: JsonSchema = { /** * The schema of `iam_organization` in responses. */ -export const iam_organization_output: JsonSchema = { +export const iam_organization: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/iam_common_components-schemas-identifier" @@ -58,7 +58,7 @@ export const iam_organization_output: JsonSchema = { /** * The schema of `iam_role_names` in responses. */ -export const iam_role_names_output: JsonSchema = { +export const iam_role_names: JsonSchema = { "items": { "type": "string" }, @@ -68,14 +68,14 @@ export const iam_role_names_output: JsonSchema = { /** * The schema of `iam_schemas-name` in responses. */ -export const iam_schemas_name_output: JsonSchema = { +export const iam_schemas$$name: JsonSchema = { "type": "string" }; /** * The schema of `iam_schemas-permissions` in responses. */ -export const iam_schemas_permissions_output: JsonSchema = { +export const iam_schemas$$permissions: JsonSchema = { "items": { "type": "string" }, @@ -85,7 +85,7 @@ export const iam_schemas_permissions_output: JsonSchema = { /** * The schema of `iam_single_user_response` in responses. */ -export const iam_single_user_response_output: JsonSchema = { +export const iam_single_user_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/iam_api-response-single" @@ -161,7 +161,7 @@ export const iam_single_user_response_output: JsonSchema = { /** * The schema of `iam_telephone` in responses. */ -export const iam_telephone_output: JsonSchema = { +export const iam_telephone: JsonSchema = { "oneOf": [ { "type": "string" @@ -175,14 +175,14 @@ export const iam_telephone_output: JsonSchema = { /** * The schema of `iam_two_factor_authentication_locked` in responses. */ -export const iam_two_factor_authentication_locked_output: JsonSchema = { +export const iam_two_factor_authentication_locked: JsonSchema = { "type": "boolean" }; /** * The schema of `iam_zipcode` in responses. */ -export const iam_zipcode_output: JsonSchema = { +export const iam_zipcode: JsonSchema = { "oneOf": [ { "type": "string" diff --git a/src/generated/forge-mcp/user/subscriptions/outputs.ts b/src/generated/forge-mcp/user/subscriptions/outputs.ts index 70312b757..dbf0d3133 100644 --- a/src/generated/forge-mcp/user/subscriptions/outputs.ts +++ b/src/generated/forge-mcp/user/subscriptions/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `bill-subs-api_user_subscription_response_collection` in * responses. */ -export const bill_subs_api_user_subscription_response_collection_output: JsonSchema = { +export const bill$$subs$$api_user_subscription_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-collection" @@ -29,7 +29,7 @@ export const bill_subs_api_user_subscription_response_collection_output: JsonSch /** * The schema of `bill-subs-api_user_subscription_response_single` in responses. */ -export const bill_subs_api_user_subscription_response_single_output: JsonSchema = { +export const bill$$subs$$api_user_subscription_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" diff --git a/src/generated/forge-mcp/user/subscriptions/tools.ts b/src/generated/forge-mcp/user/subscriptions/tools.ts index ed44854bc..e4c48cb09 100644 --- a/src/generated/forge-mcp/user/subscriptions/tools.ts +++ b/src/generated/forge-mcp/user/subscriptions/tools.ts @@ -3,41 +3,41 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - bill_subs_api_api_response_collection_output, - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_api_response_single_output, - bill_subs_api_component_value_output, - bill_subs_api_component_values_output, - bill_subs_api_currency_output, - bill_subs_api_current_period_end_output, - bill_subs_api_current_period_start_output, - bill_subs_api_frequency_output, - bill_subs_api_identifier_output, - bill_subs_api_install_id_output, - bill_subs_api_messages_output, - bill_subs_api_name_output, - bill_subs_api_price_output, - bill_subs_api_rate_plan_output, - bill_subs_api_result_info_output, - bill_subs_api_schemas_identifier_output, - bill_subs_api_state_output, - bill_subs_api_subscription_output, - bill_subs_api_zone_output, + bill$$subs$$api_api$$response$$collection, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_api$$response$$single, + bill$$subs$$api_component_value, + bill$$subs$$api_component_values, + bill$$subs$$api_currency, + bill$$subs$$api_current_period_end, + bill$$subs$$api_current_period_start, + bill$$subs$$api_frequency, + bill$$subs$$api_identifier, + bill$$subs$$api_install_id, + bill$$subs$$api_messages, + bill$$subs$$api_name, + bill$$subs$$api_price, + bill$$subs$$api_rate_plan, + bill$$subs$$api_result_info, + bill$$subs$$api_schemas$$identifier, + bill$$subs$$api_state, + bill$$subs$$api_subscription, + bill$$subs$$api_zone, } from "../../outputs.js"; import { - bill_subs_api_component_value, - bill_subs_api_component_values, - bill_subs_api_frequency, - bill_subs_api_install_id, - bill_subs_api_rate_plan, - bill_subs_api_schemas_identifier, - bill_subs_api_subscription_v2, - bill_subs_api_zone, + bill$$subs$$api_component_value as bill$$subs$$api_component_value$, + bill$$subs$$api_component_values as bill$$subs$$api_component_values$, + bill$$subs$$api_frequency as bill$$subs$$api_frequency$, + bill$$subs$$api_install_id as bill$$subs$$api_install_id$, + bill$$subs$$api_rate_plan as bill$$subs$$api_rate_plan$, + bill$$subs$$api_schemas$$identifier as bill$$subs$$api_schemas$$identifier$, + bill$$subs$$api_subscription$$v2, + bill$$subs$$api_zone as bill$$subs$$api_zone$, } from "../../schemas.js"; import { - bill_subs_api_user_subscription_response_collection_output, - bill_subs_api_user_subscription_response_single_output, + bill$$subs$$api_user_subscription_response_collection, + bill$$subs$$api_user_subscription_response_single, } from "./outputs.js"; /** @@ -51,16 +51,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "path": { + "properties": { + "identifier": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier", + "description": "Subscription identifier tag." + } + }, + "required": [ + "identifier" + ], + "type": "object" } }, required: [ - "identifier" + "path" ], $defs: { - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, }, }, outputSchema: { @@ -71,7 +79,7 @@ export const tools: readonly Tool[] = [ }, "type": "object", $defs: { - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, annotations: { @@ -108,9 +116,9 @@ export const tools: readonly Tool[] = [ } }, $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, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, request: (args) => ({ @@ -128,26 +136,26 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/bill-subs-api_user_subscription_response_collection", $defs: { - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_user_subscription_response_collection": bill_subs_api_user_subscription_response_collection_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_result_info": bill$$subs$$api_result_info, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_user_subscription_response_collection": bill$$subs$$api_user_subscription_response_collection, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, annotations: { @@ -180,27 +188,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription": bill_subs_api_subscription_output, - "bill-subs-api_user_subscription_response_collection": bill_subs_api_user_subscription_response_collection_output, - "bill-subs-api_zone": bill_subs_api_zone_output, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_result_info": bill$$subs$$api_result_info, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription": bill$$subs$$api_subscription, + "bill-subs-api_user_subscription_response_collection": bill$$subs$$api_user_subscription_response_collection, + "bill-subs-api_zone": bill$$subs$$api_zone, }, }, request: (_args) => ({ @@ -217,33 +225,41 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/bill-subs-api_subscription-v2" }, - "identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "path": { + "properties": { + "identifier": { + "$ref": "#/$defs/bill-subs-api_schemas-identifier", + "description": "Subscription identifier tag." + } + }, + "required": [ + "identifier" + ], + "type": "object" } }, required: [ - "identifier", + "path", "body" ], $defs: { - "bill-subs-api_component_value": bill_subs_api_component_value, - "bill-subs-api_component_values": bill_subs_api_component_values, - "bill-subs-api_frequency": bill_subs_api_frequency, - "bill-subs-api_install_id": bill_subs_api_install_id, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2, - "bill-subs-api_zone": bill_subs_api_zone, + "bill-subs-api_component_value": bill$$subs$$api_component_value$, + "bill-subs-api_component_values": bill$$subs$$api_component_values$, + "bill-subs-api_frequency": bill$$subs$$api_frequency$, + "bill-subs-api_install_id": bill$$subs$$api_install_id$, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, + "bill-subs-api_zone": bill$$subs$$api_zone$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_user_subscription_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_user_subscription_response_single": bill_subs_api_user_subscription_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_user_subscription_response_single": bill$$subs$$api_user_subscription_response_single, }, }, annotations: { @@ -282,11 +298,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_user_subscription_response_single": bill_subs_api_user_subscription_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_user_subscription_response_single": bill$$subs$$api_user_subscription_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts b/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts index 7802ac18b..352bffc88 100644 --- a/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts +++ b/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts @@ -1,45 +1,50 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import type { Tool } from "../../../_/tool.js"; +import { type Tool, param } from "../../../_/tool.js"; import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_messages_2_output, - iam_permissions_group_response_collection_output, - iam_result_info_output, + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_messages$$2, + iam_permissions_group_response_collection, + iam_result_info, } from "../../../outputs.js"; /** - * The tools of `user.tokens.permission_groups`. + * The tools of `user.tokens.permissionGroups`. */ export const tools: readonly Tool[] = [ { - name: "user_tokens_permission_groups_list", + name: "user_tokens_permissionGroups_list", title: "List Token Permission Groups", description: "Find all available permission groups for API Tokens.", inputSchema: { type: "object", properties: { - "name": { - "description": "Filter by the name of the permission group.\nThe value must be URL-encoded.", - "type": "string" - }, - "scope": { - "description": "Filter by the scope of the permission group.\nThe value must be URL-encoded.", - "type": "string" + "query": { + "properties": { + "name": { + "description": "Filter by the name of the permission group.\nThe value must be URL-encoded.", + "type": "string" + }, + "scope": { + "description": "Filter by the scope of the permission group.\nThe value must be URL-encoded.", + "type": "string" + } + }, + "type": "object" } }, }, outputSchema: { "$ref": "#/$defs/iam_permissions_group_response_collection", $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_messages-2": iam_messages_2_output, - "iam_permissions_group_response_collection": iam_permissions_group_response_collection_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_messages-2": iam_messages$$2, + "iam_permissions_group_response_collection": iam_permissions_group_response_collection, + "iam_result_info": iam_result_info, }, }, annotations: { @@ -78,19 +83,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_messages-2": iam_messages_2_output, - "iam_permissions_group_response_collection": iam_permissions_group_response_collection_output, - "iam_result_info": iam_result_info_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_messages-2": iam_messages$$2, + "iam_permissions_group_response_collection": iam_permissions_group_response_collection, + "iam_result_info": iam_result_info, }, }, request: (args) => ({ path: `/user/tokens/permission_groups`, query: [ - ["name", args["name"], true], - ["scope", args["scope"], true], + ["name", param(args, "query", "name"), true], + ["scope", param(args, "query", "scope"), true], ], }), }, diff --git a/src/generated/forge-mcp/user/tokens/tools.ts b/src/generated/forge-mcp/user/tokens/tools.ts index 1b6312654..d8b72e9d0 100644 --- a/src/generated/forge-mcp/user/tokens/tools.ts +++ b/src/generated/forge-mcp/user/tokens/tools.ts @@ -1,69 +1,69 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - iam_api_response_collection_output, - iam_api_response_common_failure_output, - iam_api_response_common_output, - iam_api_response_single_id_output, - iam_api_response_single_output, - iam_cidr_list_output, - iam_collection_tokens_response_output, - iam_common_components_schemas_identifier_output, - iam_condition_output, - iam_creator_email_at_creation_output, - iam_effect_output, - iam_expires_on_output, - iam_issued_on_output, - iam_last_used_on_output, - iam_messages_2_output, - iam_modified_on_output, - iam_name_output, - iam_not_before_output, - iam_permission_group_output, - iam_permission_groups_output, - iam_policy_identifier_output, - iam_policy_with_permission_groups_and_resources_output, - iam_provisioner_id_output, - iam_provisioner_type_output, - iam_request_ip_output, - iam_resources_output, - iam_resources_type_object_nested_output, - iam_resources_type_object_string_output, - iam_response_single_value_output, - iam_result_info_output, - iam_single_token_create_response_output, - iam_single_token_response_output, - iam_token_base_output, - iam_token_identifier_output, - iam_token_policies_output, - iam_token_prefix_output, - iam_token_status_output, - iam_token_suffix_output, - iam_token_verify_response_single_segment_output, - iam_token_with_value_output, - iam_value_output, -} from "../../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { + iam_api$$response$$collection, + iam_api$$response$$common, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_api$$response$$single$$id, iam_cidr_list, + iam_collection_tokens_response, + iam_common_components$$schemas$$identifier, iam_condition, - iam_create_payload, + iam_creator_email_at_creation, iam_effect, iam_expires_on, + iam_issued_on, + iam_last_used_on, + iam_messages$$2, + iam_modified_on, iam_name, iam_not_before, iam_permission_group, iam_permission_groups, + iam_policy_identifier, iam_policy_with_permission_groups_and_resources, + iam_provisioner_id, + iam_provisioner_type, iam_request_ip, iam_resources, iam_resources_type_object_nested, iam_resources_type_object_string, - iam_token_body, + iam_response_single_value, + iam_result_info, + iam_single_token_create_response, + iam_single_token_response, + iam_token_base, iam_token_identifier, iam_token_policies, + iam_token_prefix, iam_token_status, + iam_token_suffix, + iam_token_verify_response_single_segment, + iam_token_with_value, + iam_value, +} from "../../outputs.js"; +import { + iam_cidr_list as iam_cidr_list$, + iam_condition as iam_condition$, + iam_create_payload, + iam_effect as iam_effect$, + iam_expires_on as iam_expires_on$, + iam_name as iam_name$, + iam_not_before as iam_not_before$, + iam_permission_group as iam_permission_group$, + iam_permission_groups as iam_permission_groups$, + iam_policy_with_permission_groups_and_resources as iam_policy_with_permission_groups_and_resources$, + iam_request_ip as iam_request_ip$, + iam_resources as iam_resources$, + iam_resources_type_object_nested as iam_resources_type_object_nested$, + iam_resources_type_object_string as iam_resources_type_object_string$, + iam_token_body, + iam_token_identifier as iam_token_identifier$, + iam_token_policies as iam_token_policies$, + iam_token_status as iam_token_status$, } from "../../schemas.js"; /** @@ -85,57 +85,57 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { + "iam_cidr_list": iam_cidr_list$, + "iam_condition": iam_condition$, + "iam_create_payload": iam_create_payload, + "iam_effect": iam_effect$, + "iam_expires_on": iam_expires_on$, + "iam_name": iam_name$, + "iam_not_before": iam_not_before$, + "iam_permission_group": iam_permission_group$, + "iam_permission_groups": iam_permission_groups$, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources$, + "iam_request_ip": iam_request_ip$, + "iam_resources": iam_resources$, + "iam_resources_type_object_nested": iam_resources_type_object_nested$, + "iam_resources_type_object_string": iam_resources_type_object_string$, + "iam_token_policies": iam_token_policies$, + }, + }, + outputSchema: { + "$ref": "#/$defs/iam_single_token_create_response", + $defs: { + "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_create_payload": iam_create_payload, + "iam_creator_email_at_creation": iam_creator_email_at_creation, "iam_effect": iam_effect, "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, "iam_name": iam_name, "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_create_response": iam_single_token_create_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - }, - }, - outputSchema: { - "$ref": "#/$defs/iam_single_token_create_response", - $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_create_response": iam_single_token_create_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, - "iam_token_with_value": iam_token_with_value_output, - "iam_value": iam_value_output, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, + "iam_token_with_value": iam_token_with_value, + "iam_value": iam_value, }, }, annotations: { @@ -173,38 +173,38 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_create_response": iam_single_token_create_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, - "iam_token_with_value": iam_token_with_value_output, - "iam_value": iam_value_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_cidr_list": iam_cidr_list, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_create_response": iam_single_token_create_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, + "iam_token_with_value": iam_token_with_value, + "iam_value": iam_value, }, }, request: (args) => ({ @@ -219,25 +219,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "path": { + "properties": { + "token_id": { + "$ref": "#/$defs/iam_token_identifier", + "description": "Token identifier tag." + } + }, + "required": [ + "token_id" + ], + "type": "object" } }, required: [ - "token_id" + "path" ], $defs: { - "iam_token_identifier": iam_token_identifier, + "iam_token_identifier": iam_token_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, annotations: { @@ -275,11 +283,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single-id": iam_api_response_single_id_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_messages-2": iam_messages_2_output, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single-id": iam_api$$response$$single$$id, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_messages-2": iam_messages$$2, }, }, request: (args) => ({ @@ -293,50 +301,58 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "path": { + "properties": { + "token_id": { + "$ref": "#/$defs/iam_token_identifier", + "description": "Token identifier tag." + } + }, + "required": [ + "token_id" + ], + "type": "object" } }, required: [ - "token_id" + "path" ], $defs: { - "iam_token_identifier": iam_token_identifier, + "iam_token_identifier": iam_token_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_token_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_response": iam_single_token_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_cidr_list": iam_cidr_list, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_response": iam_single_token_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -375,36 +391,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_response": iam_single_token_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_cidr_list": iam_cidr_list, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_response": iam_single_token_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -418,65 +434,70 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "include_expired": { - "default": false, - "description": "When true, includes recently-expired tokens in the response.", - "type": "boolean" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "number" + "query": { + "properties": { + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "include_expired": { + "default": false, + "description": "When true, includes recently-expired tokens in the response.", + "type": "boolean" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "number" + } + }, + "type": "object" } }, }, outputSchema: { "$ref": "#/$defs/iam_collection_tokens_response", $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_collection_tokens_response": iam_collection_tokens_response_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_result_info": iam_result_info_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_cidr_list": iam_cidr_list, + "iam_collection_tokens_response": iam_collection_tokens_response, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_result_info": iam_result_info, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -515,47 +536,47 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-collection": iam_api_response_collection_output, - "iam_api-response-common": iam_api_response_common_output, - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_collection_tokens_response": iam_collection_tokens_response_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_result_info": iam_result_info_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-collection": iam_api$$response$$collection, + "iam_api-response-common": iam_api$$response$$common, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_cidr_list": iam_cidr_list, + "iam_collection_tokens_response": iam_collection_tokens_response, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_result_info": iam_result_info, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ path: `/user/tokens`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["direction", args["direction"], true], - ["include_expired", args["include_expired"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["direction", param(args, "query", "direction"), true], + ["include_expired", param(args, "query", "include_expired"), true], ], }), }, @@ -566,25 +587,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "path": { + "properties": { + "token_id": { + "$ref": "#/$defs/iam_token_identifier", + "description": "Token identifier tag." + } + }, + "required": [ + "token_id" + ], + "type": "object" } }, required: [ - "token_id" + "path" ], $defs: { - "iam_token_identifier": iam_token_identifier, + "iam_token_identifier": iam_token_identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_response_single_value", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_value": iam_response_single_value_output, - "iam_value": iam_value_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_response_single_value": iam_response_single_value, + "iam_value": iam_value, }, }, annotations: { @@ -622,11 +651,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_messages-2": iam_messages_2_output, - "iam_response_single_value": iam_response_single_value_output, - "iam_value": iam_value_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_messages-2": iam_messages$$2, + "iam_response_single_value": iam_response_single_value, + "iam_value": iam_value, }, }, request: (args) => ({ @@ -643,67 +672,75 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/iam_token_body" }, - "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "path": { + "properties": { + "token_id": { + "$ref": "#/$defs/iam_token_identifier", + "description": "Token identifier tag." + } + }, + "required": [ + "token_id" + ], + "type": "object" } }, required: [ - "token_id", + "path", "body" ], $defs: { + "iam_cidr_list": iam_cidr_list$, + "iam_condition": iam_condition$, + "iam_effect": iam_effect$, + "iam_expires_on": iam_expires_on$, + "iam_name": iam_name$, + "iam_not_before": iam_not_before$, + "iam_permission_group": iam_permission_group$, + "iam_permission_groups": iam_permission_groups$, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources$, + "iam_request_ip": iam_request_ip$, + "iam_resources": iam_resources$, + "iam_resources_type_object_nested": iam_resources_type_object_nested$, + "iam_resources_type_object_string": iam_resources_type_object_string$, + "iam_token_body": iam_token_body, + "iam_token_identifier": iam_token_identifier$, + "iam_token_policies": iam_token_policies$, + "iam_token_status": iam_token_status$, + }, + }, + outputSchema: { + "$ref": "#/$defs/iam_single_token_response", + $defs: { + "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, "iam_effect": iam_effect, "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, "iam_name": iam_name, "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, - "iam_token_body": iam_token_body, + "iam_single_token_response": iam_single_token_response, + "iam_token_base": iam_token_base, "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, "iam_token_status": iam_token_status, - }, - }, - outputSchema: { - "$ref": "#/$defs/iam_single_token_response", - $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_response": iam_single_token_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -741,36 +778,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_cidr_list": iam_cidr_list_output, - "iam_condition": iam_condition_output, - "iam_creator_email_at_creation": iam_creator_email_at_creation_output, - "iam_effect": iam_effect_output, - "iam_expires_on": iam_expires_on_output, - "iam_issued_on": iam_issued_on_output, - "iam_last_used_on": iam_last_used_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_modified_on": iam_modified_on_output, - "iam_name": iam_name_output, - "iam_not_before": iam_not_before_output, - "iam_permission_group": iam_permission_group_output, - "iam_permission_groups": iam_permission_groups_output, - "iam_policy_identifier": iam_policy_identifier_output, - "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources_output, - "iam_provisioner_id": iam_provisioner_id_output, - "iam_provisioner_type": iam_provisioner_type_output, - "iam_request_ip": iam_request_ip_output, - "iam_resources": iam_resources_output, - "iam_resources_type_object_nested": iam_resources_type_object_nested_output, - "iam_resources_type_object_string": iam_resources_type_object_string_output, - "iam_single_token_response": iam_single_token_response_output, - "iam_token_base": iam_token_base_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_policies": iam_token_policies_output, - "iam_token_prefix": iam_token_prefix_output, - "iam_token_status": iam_token_status_output, - "iam_token_suffix": iam_token_suffix_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_cidr_list": iam_cidr_list, + "iam_condition": iam_condition, + "iam_creator_email_at_creation": iam_creator_email_at_creation, + "iam_effect": iam_effect, + "iam_expires_on": iam_expires_on, + "iam_issued_on": iam_issued_on, + "iam_last_used_on": iam_last_used_on, + "iam_messages-2": iam_messages$$2, + "iam_modified_on": iam_modified_on, + "iam_name": iam_name, + "iam_not_before": iam_not_before, + "iam_permission_group": iam_permission_group, + "iam_permission_groups": iam_permission_groups, + "iam_policy_identifier": iam_policy_identifier, + "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, + "iam_provisioner_id": iam_provisioner_id, + "iam_provisioner_type": iam_provisioner_type, + "iam_request_ip": iam_request_ip, + "iam_resources": iam_resources, + "iam_resources_type_object_nested": iam_resources_type_object_nested, + "iam_resources_type_object_string": iam_resources_type_object_string, + "iam_single_token_response": iam_single_token_response, + "iam_token_base": iam_token_base, + "iam_token_identifier": iam_token_identifier, + "iam_token_policies": iam_token_policies, + "iam_token_prefix": iam_token_prefix, + "iam_token_status": iam_token_status, + "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -789,13 +826,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/iam_token_verify_response_single_segment", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_expires_on": iam_expires_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_not_before": iam_not_before_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_status": iam_token_status_output, - "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_expires_on": iam_expires_on, + "iam_messages-2": iam_messages$$2, + "iam_not_before": iam_not_before, + "iam_token_identifier": iam_token_identifier, + "iam_token_status": iam_token_status, + "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment, }, }, annotations: { @@ -825,14 +862,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_expires_on": iam_expires_on_output, - "iam_messages-2": iam_messages_2_output, - "iam_not_before": iam_not_before_output, - "iam_token_identifier": iam_token_identifier_output, - "iam_token_status": iam_token_status_output, - "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_expires_on": iam_expires_on, + "iam_messages-2": iam_messages$$2, + "iam_not_before": iam_not_before, + "iam_token_identifier": iam_token_identifier, + "iam_token_status": iam_token_status, + "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment, }, }, request: (_args) => ({ diff --git a/src/generated/forge-mcp/user/tools.ts b/src/generated/forge-mcp/user/tools.ts index 8da18e7b5..400243347 100644 --- a/src/generated/forge-mcp/user/tools.ts +++ b/src/generated/forge-mcp/user/tools.ts @@ -3,27 +3,34 @@ import type { Tool } from "../_/tool.js"; import { - iam_api_response_common_failure_output, - iam_api_response_single_output, - iam_common_components_schemas_identifier_output, - iam_first_name_output, - iam_last_name_output, - iam_messages_2_output, - iam_two_factor_authentication_enabled_output, + iam_api$$response$$common$$failure, + iam_api$$response$$single, + iam_common_components$$schemas$$identifier, + iam_first_name, + iam_last_name, + iam_messages$$2, + iam_two_factor_authentication_enabled, } from "../outputs.js"; -import { iam_first_name, iam_last_name } from "../schemas.js"; import { - iam_components_schemas_status_output, - iam_country_output, - iam_organization_output, - iam_schemas_name_output, - iam_schemas_permissions_output, - iam_single_user_response_output, - iam_telephone_output, - iam_two_factor_authentication_locked_output, - iam_zipcode_output, + iam_first_name as iam_first_name$, + iam_last_name as iam_last_name$, +} from "../schemas.js"; +import { + iam_components$$schemas$$status, + iam_country, + iam_organization, + iam_schemas$$name, + iam_schemas$$permissions, + iam_single_user_response, + iam_telephone, + iam_two_factor_authentication_locked, + iam_zipcode, } from "./outputs.js"; -import { iam_country, iam_telephone, iam_zipcode } from "./schemas.js"; +import { + iam_country as iam_country$, + iam_telephone as iam_telephone$, + iam_zipcode as iam_zipcode$, +} from "./schemas.js"; /** * The tools of `user`. @@ -66,31 +73,31 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "iam_country": iam_country, - "iam_first_name": iam_first_name, - "iam_last_name": iam_last_name, - "iam_telephone": iam_telephone, - "iam_zipcode": iam_zipcode, + "iam_country": iam_country$, + "iam_first_name": iam_first_name$, + "iam_last_name": iam_last_name$, + "iam_telephone": iam_telephone$, + "iam_zipcode": iam_zipcode$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_user_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_components-schemas-status": iam_components_schemas_status_output, - "iam_country": iam_country_output, - "iam_first_name": iam_first_name_output, - "iam_last_name": iam_last_name_output, - "iam_messages-2": iam_messages_2_output, - "iam_organization": iam_organization_output, - "iam_schemas-name": iam_schemas_name_output, - "iam_schemas-permissions": iam_schemas_permissions_output, - "iam_single_user_response": iam_single_user_response_output, - "iam_telephone": iam_telephone_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, - "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked_output, - "iam_zipcode": iam_zipcode_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_components-schemas-status": iam_components$$schemas$$status, + "iam_country": iam_country, + "iam_first_name": iam_first_name, + "iam_last_name": iam_last_name, + "iam_messages-2": iam_messages$$2, + "iam_organization": iam_organization, + "iam_schemas-name": iam_schemas$$name, + "iam_schemas-permissions": iam_schemas$$permissions, + "iam_single_user_response": iam_single_user_response, + "iam_telephone": iam_telephone, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, + "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked, + "iam_zipcode": iam_zipcode, }, }, annotations: { @@ -128,22 +135,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_components-schemas-status": iam_components_schemas_status_output, - "iam_country": iam_country_output, - "iam_first_name": iam_first_name_output, - "iam_last_name": iam_last_name_output, - "iam_messages-2": iam_messages_2_output, - "iam_organization": iam_organization_output, - "iam_schemas-name": iam_schemas_name_output, - "iam_schemas-permissions": iam_schemas_permissions_output, - "iam_single_user_response": iam_single_user_response_output, - "iam_telephone": iam_telephone_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, - "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked_output, - "iam_zipcode": iam_zipcode_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_components-schemas-status": iam_components$$schemas$$status, + "iam_country": iam_country, + "iam_first_name": iam_first_name, + "iam_last_name": iam_last_name, + "iam_messages-2": iam_messages$$2, + "iam_organization": iam_organization, + "iam_schemas-name": iam_schemas$$name, + "iam_schemas-permissions": iam_schemas$$permissions, + "iam_single_user_response": iam_single_user_response, + "iam_telephone": iam_telephone, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, + "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked, + "iam_zipcode": iam_zipcode, }, }, request: (args) => ({ @@ -162,21 +169,21 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/iam_single_user_response", $defs: { - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_components-schemas-status": iam_components_schemas_status_output, - "iam_country": iam_country_output, - "iam_first_name": iam_first_name_output, - "iam_last_name": iam_last_name_output, - "iam_messages-2": iam_messages_2_output, - "iam_organization": iam_organization_output, - "iam_schemas-name": iam_schemas_name_output, - "iam_schemas-permissions": iam_schemas_permissions_output, - "iam_single_user_response": iam_single_user_response_output, - "iam_telephone": iam_telephone_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, - "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked_output, - "iam_zipcode": iam_zipcode_output, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_components-schemas-status": iam_components$$schemas$$status, + "iam_country": iam_country, + "iam_first_name": iam_first_name, + "iam_last_name": iam_last_name, + "iam_messages-2": iam_messages$$2, + "iam_organization": iam_organization, + "iam_schemas-name": iam_schemas$$name, + "iam_schemas-permissions": iam_schemas$$permissions, + "iam_single_user_response": iam_single_user_response, + "iam_telephone": iam_telephone, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, + "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked, + "iam_zipcode": iam_zipcode, }, }, annotations: { @@ -215,22 +222,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_api-response-common-failure": iam_api_response_common_failure_output, - "iam_api-response-single": iam_api_response_single_output, - "iam_common_components-schemas-identifier": iam_common_components_schemas_identifier_output, - "iam_components-schemas-status": iam_components_schemas_status_output, - "iam_country": iam_country_output, - "iam_first_name": iam_first_name_output, - "iam_last_name": iam_last_name_output, - "iam_messages-2": iam_messages_2_output, - "iam_organization": iam_organization_output, - "iam_schemas-name": iam_schemas_name_output, - "iam_schemas-permissions": iam_schemas_permissions_output, - "iam_single_user_response": iam_single_user_response_output, - "iam_telephone": iam_telephone_output, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled_output, - "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked_output, - "iam_zipcode": iam_zipcode_output, + "iam_api-response-common-failure": iam_api$$response$$common$$failure, + "iam_api-response-single": iam_api$$response$$single, + "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, + "iam_components-schemas-status": iam_components$$schemas$$status, + "iam_country": iam_country, + "iam_first_name": iam_first_name, + "iam_last_name": iam_last_name, + "iam_messages-2": iam_messages$$2, + "iam_organization": iam_organization, + "iam_schemas-name": iam_schemas$$name, + "iam_schemas-permissions": iam_schemas$$permissions, + "iam_single_user_response": iam_single_user_response, + "iam_telephone": iam_telephone, + "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, + "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked, + "iam_zipcode": iam_zipcode, }, }, request: (_args) => ({ diff --git a/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts b/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts index d3c946e89..8214180af 100644 --- a/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts +++ b/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `vectorize_create-metadata-index-response` in responses. */ -export const vectorize_create_metadata_index_response_output: JsonSchema = { +export const vectorize_create$$metadata$$index$$response: JsonSchema = { "properties": { "mutationId": { "$ref": "#/$defs/vectorize_mutation-uuid" @@ -18,7 +18,7 @@ export const vectorize_create_metadata_index_response_output: JsonSchema = { /** * The schema of `vectorize_delete-metadata-index-response` in responses. */ -export const vectorize_delete_metadata_index_response_output: JsonSchema = { +export const vectorize_delete$$metadata$$index$$response: JsonSchema = { "properties": { "mutationId": { "$ref": "#/$defs/vectorize_mutation-uuid" @@ -30,7 +30,7 @@ export const vectorize_delete_metadata_index_response_output: JsonSchema = { /** * The schema of `vectorize_list-metadata-index-response` in responses. */ -export const vectorize_list_metadata_index_response_output: JsonSchema = { +export const vectorize_list$$metadata$$index$$response: JsonSchema = { "properties": { "metadataIndexes": { "items": { diff --git a/src/generated/forge-mcp/vectorize/metadataIndex/schemas.ts b/src/generated/forge-mcp/vectorize/metadataIndex/schemas.ts index 3c1d82488..bad8012e5 100644 --- a/src/generated/forge-mcp/vectorize/metadataIndex/schemas.ts +++ b/src/generated/forge-mcp/vectorize/metadataIndex/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `vectorize_create-metadata-index-request`. */ -export const vectorize_create_metadata_index_request: JsonSchema = { +export const vectorize_create$$metadata$$index$$request: JsonSchema = { "properties": { "indexType": { "description": "Specifies the type of metadata property to index.", @@ -32,7 +32,7 @@ export const vectorize_create_metadata_index_request: JsonSchema = { /** * The schema of `vectorize_delete-metadata-index-request`. */ -export const vectorize_delete_metadata_index_request: JsonSchema = { +export const vectorize_delete$$metadata$$index$$request: JsonSchema = { "properties": { "propertyName": { "description": "Specifies the metadata property for which the index must be deleted.", diff --git a/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts b/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts index c39496856..c6579815b 100644 --- a/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts +++ b/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts @@ -3,54 +3,62 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - vectorize_api_response_common_failure_output, - vectorize_api_response_common_output, - vectorize_api_response_single_output, - vectorize_messages_output, - vectorize_mutation_uuid_output, + vectorize_api$$response$$common, + vectorize_api$$response$$common$$failure, + vectorize_api$$response$$single, + vectorize_messages, + vectorize_mutation$$uuid, } from "../outputs.js"; -import { vectorize_identifier, vectorize_index_name } from "../schemas.js"; +import { vectorize_identifier, vectorize_index$$name } from "../schemas.js"; import { - vectorize_create_metadata_index_response_output, - vectorize_delete_metadata_index_response_output, - vectorize_list_metadata_index_response_output, + vectorize_create$$metadata$$index$$response, + vectorize_delete$$metadata$$index$$response, + vectorize_list$$metadata$$index$$response, } from "./outputs.js"; import { - vectorize_create_metadata_index_request, - vectorize_delete_metadata_index_request, + vectorize_create$$metadata$$index$$request, + vectorize_delete$$metadata$$index$$request, } from "./schemas.js"; /** - * The tools of `vectorize.metadata_index`. + * The tools of `vectorize.metadataIndex`. */ export const tools: readonly Tool[] = [ { - name: "vectorize_metadata_index_create", + name: "vectorize_metadataIndex_create", title: "Create Metadata Index", description: "Enable metadata filtering based on metadata property. Limited to 10 properties.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/vectorize_create-metadata-index-request" }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" } }, required: [ - "account_id", - "index_name", + "path", "body" ], $defs: { - "vectorize_create-metadata-index-request": vectorize_create_metadata_index_request, + "vectorize_create-metadata-index-request": vectorize_create$$metadata$$index$$request, "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index_name, + "vectorize_index-name": vectorize_index$$name, }, }, outputSchema: { @@ -68,11 +76,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_create-metadata-index-response": vectorize_create_metadata_index_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_create-metadata-index-response": vectorize_create$$metadata$$index$$response, + "vectorize_messages": vectorize_messages, + "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, annotations: { @@ -116,12 +124,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_create-metadata-index-response": vectorize_create_metadata_index_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_create-metadata-index-response": vectorize_create$$metadata$$index$$response, + "vectorize_messages": vectorize_messages, + "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, request: (args) => ({ @@ -130,32 +138,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "vectorize_metadata_index_delete", + name: "vectorize_metadataIndex_delete", title: "Delete Metadata Index", description: "Allow Vectorize to delete the specified metadata index.\n\nConfirm with the user before calling this tool. This operation deletes a metadata index destructively.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/vectorize_delete-metadata-index-request" }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" } }, required: [ - "account_id", - "index_name", + "path", "body" ], $defs: { - "vectorize_delete-metadata-index-request": vectorize_delete_metadata_index_request, + "vectorize_delete-metadata-index-request": vectorize_delete$$metadata$$index$$request, "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index_name, + "vectorize_index-name": vectorize_index$$name, }, }, outputSchema: { @@ -173,11 +189,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_delete-metadata-index-response": vectorize_delete_metadata_index_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_delete-metadata-index-response": vectorize_delete$$metadata$$index$$response, + "vectorize_messages": vectorize_messages, + "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, annotations: { @@ -221,12 +237,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_delete-metadata-index-response": vectorize_delete_metadata_index_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_delete-metadata-index-response": vectorize_delete$$metadata$$index$$response, + "vectorize_messages": vectorize_messages, + "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, request: (args) => ({ @@ -235,27 +251,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "vectorize_metadata_index_list", + name: "vectorize_metadataIndex_list", title: "List Metadata Indexes", description: "List Metadata Indexes for the specified Vectorize Index.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" } }, required: [ - "account_id", - "index_name" + "path" ], $defs: { "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index_name, + "vectorize_index-name": vectorize_index$$name, }, }, outputSchema: { @@ -273,10 +297,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_list-metadata-index-response": vectorize_list_metadata_index_response_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_list-metadata-index-response": vectorize_list$$metadata$$index$$response, + "vectorize_messages": vectorize_messages, }, }, annotations: { @@ -316,11 +340,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_list-metadata-index-response": vectorize_list_metadata_index_response_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_list-metadata-index-response": vectorize_list$$metadata$$index$$response, + "vectorize_messages": vectorize_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/vectorize/outputs.ts b/src/generated/forge-mcp/vectorize/outputs.ts index e3827c31d..c0fc74137 100644 --- a/src/generated/forge-mcp/vectorize/outputs.ts +++ b/src/generated/forge-mcp/vectorize/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `vectorize_api-response-common` in responses. */ -export const vectorize_api_response_common_output: JsonSchema = { +export const vectorize_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/vectorize_messages" @@ -49,7 +49,7 @@ export const vectorize_api_response_common_output: JsonSchema = { /** * The schema of `vectorize_api-response-common-failure` in responses. */ -export const vectorize_api_response_common_failure_output: JsonSchema = { +export const vectorize_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/vectorize_messages" @@ -79,7 +79,7 @@ export const vectorize_api_response_common_failure_output: JsonSchema = { /** * The schema of `vectorize_api-response-single` in responses. */ -export const vectorize_api_response_single_output: JsonSchema = { +export const vectorize_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/vectorize_api-response-common" @@ -108,7 +108,7 @@ export const vectorize_api_response_single_output: JsonSchema = { /** * The schema of `vectorize_create-index-response` in responses. */ -export const vectorize_create_index_response_output: JsonSchema = { +export const vectorize_create$$index$$response: JsonSchema = { "properties": { "config": { "allOf": [ @@ -147,7 +147,7 @@ export const vectorize_create_index_response_output: JsonSchema = { * The schema of `vectorize_index-delete-vectors-by-id-v2-response` in * responses. */ -export const vectorize_index_delete_vectors_by_id_v2_response_output: JsonSchema = { +export const vectorize_index$$delete$$vectors$$by$$id$$v2$$response: JsonSchema = { "properties": { "mutationId": { "$ref": "#/$defs/vectorize_mutation-uuid" @@ -159,14 +159,14 @@ export const vectorize_index_delete_vectors_by_id_v2_response_output: JsonSchema /** * The schema of `vectorize_index-description` in responses. */ -export const vectorize_index_description_output: JsonSchema = { +export const vectorize_index$$description: JsonSchema = { "type": "string" }; /** * The schema of `vectorize_index-dimension-configuration` in responses. */ -export const vectorize_index_dimension_configuration_output: JsonSchema = { +export const vectorize_index$$dimension$$configuration: JsonSchema = { "properties": { "dimensions": { "$ref": "#/$defs/vectorize_index-dimensions" @@ -185,14 +185,14 @@ export const vectorize_index_dimension_configuration_output: JsonSchema = { /** * The schema of `vectorize_index-dimensions` in responses. */ -export const vectorize_index_dimensions_output: JsonSchema = { +export const vectorize_index$$dimensions: JsonSchema = { "type": "integer" }; /** * The schema of `vectorize_index-get-vectors-by-id-response` in responses. */ -export const vectorize_index_get_vectors_by_id_response_output: JsonSchema = { +export const vectorize_index$$get$$vectors$$by$$id$$response: JsonSchema = { "items": { "properties": { "id": { @@ -226,7 +226,7 @@ export const vectorize_index_get_vectors_by_id_response_output: JsonSchema = { /** * The schema of `vectorize_index-info-response` in responses. */ -export const vectorize_index_info_response_output: JsonSchema = { +export const vectorize_index$$info$$response: JsonSchema = { "properties": { "dimensions": { "$ref": "#/$defs/vectorize_index-dimensions" @@ -262,7 +262,7 @@ export const vectorize_index_info_response_output: JsonSchema = { /** * The schema of `vectorize_index-list-vectors-response` in responses. */ -export const vectorize_index_list_vectors_response_output: JsonSchema = { +export const vectorize_index$$list$$vectors$$response: JsonSchema = { "properties": { "count": { "type": "integer" @@ -313,7 +313,7 @@ export const vectorize_index_list_vectors_response_output: JsonSchema = { /** * The schema of `vectorize_index-metric` in responses. */ -export const vectorize_index_metric_output: JsonSchema = { +export const vectorize_index$$metric: JsonSchema = { "enum": [ "cosine", "euclidean", @@ -325,14 +325,14 @@ export const vectorize_index_metric_output: JsonSchema = { /** * The schema of `vectorize_index-name` in responses. */ -export const vectorize_index_name_output: JsonSchema = { +export const vectorize_index$$name: JsonSchema = { "type": "string" }; /** * The schema of `vectorize_index-preset` in responses. */ -export const vectorize_index_preset_output: JsonSchema = { +export const vectorize_index$$preset: JsonSchema = { "enum": [ "@cf/baai/bge-small-en-v1.5", "@cf/baai/bge-base-en-v1.5", @@ -346,7 +346,7 @@ export const vectorize_index_preset_output: JsonSchema = { /** * The schema of `vectorize_index-query-v2-response` in responses. */ -export const vectorize_index_query_v2_response_output: JsonSchema = { +export const vectorize_index$$query$$v2$$response: JsonSchema = { "properties": { "count": { "type": "integer" @@ -405,7 +405,7 @@ export const vectorize_index_query_v2_response_output: JsonSchema = { /** * The schema of `vectorize_messages` in responses. */ -export const vectorize_messages_output: JsonSchema = { +export const vectorize_messages: JsonSchema = { "items": { "properties": { "code": { @@ -427,7 +427,7 @@ export const vectorize_messages_output: JsonSchema = { /** * The schema of `vectorize_mutation-uuid` in responses. */ -export const vectorize_mutation_uuid_output: JsonSchema = { +export const vectorize_mutation$$uuid: JsonSchema = { "format": "uuid", "type": "string" }; @@ -435,14 +435,14 @@ export const vectorize_mutation_uuid_output: JsonSchema = { /** * The schema of `vectorize_vector-identifier` in responses. */ -export const vectorize_vector_identifier_output: JsonSchema = { +export const vectorize_vector$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `vectorize_vector-list-item` in responses. */ -export const vectorize_vector_list_item_output: JsonSchema = { +export const vectorize_vector$$list$$item: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/vectorize_vector-identifier" diff --git a/src/generated/forge-mcp/vectorize/schemas.ts b/src/generated/forge-mcp/vectorize/schemas.ts index 607267f82..c58e34654 100644 --- a/src/generated/forge-mcp/vectorize/schemas.ts +++ b/src/generated/forge-mcp/vectorize/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `vectorize_create-index-request`. */ -export const vectorize_create_index_request: JsonSchema = { +export const vectorize_create$$index$$request: JsonSchema = { "properties": { "config": { "$ref": "#/$defs/vectorize_index-configuration" @@ -37,7 +37,7 @@ export const vectorize_identifier: JsonSchema = { /** * The schema of `vectorize_index-configuration`. */ -export const vectorize_index_configuration: JsonSchema = { +export const vectorize_index$$configuration: JsonSchema = { "description": "Specifies the type of configuration to use for the index.", "oneOf": [ { @@ -52,7 +52,7 @@ export const vectorize_index_configuration: JsonSchema = { /** * The schema of `vectorize_index-delete-vectors-by-id-request`. */ -export const vectorize_index_delete_vectors_by_id_request: JsonSchema = { +export const vectorize_index$$delete$$vectors$$by$$id$$request: JsonSchema = { "properties": { "ids": { "description": "A list of vector identifiers to delete from the index indicated by the path.", @@ -68,7 +68,7 @@ export const vectorize_index_delete_vectors_by_id_request: JsonSchema = { /** * The schema of `vectorize_index-description`. */ -export const vectorize_index_description: JsonSchema = { +export const vectorize_index$$description: JsonSchema = { "description": "Specifies the description of the index.", "type": "string" }; @@ -76,7 +76,7 @@ export const vectorize_index_description: JsonSchema = { /** * The schema of `vectorize_index-dimension-configuration`. */ -export const vectorize_index_dimension_configuration: JsonSchema = { +export const vectorize_index$$dimension$$configuration: JsonSchema = { "properties": { "dimensions": { "$ref": "#/$defs/vectorize_index-dimensions", @@ -97,7 +97,7 @@ export const vectorize_index_dimension_configuration: JsonSchema = { /** * The schema of `vectorize_index-dimensions`. */ -export const vectorize_index_dimensions: JsonSchema = { +export const vectorize_index$$dimensions: JsonSchema = { "description": "Specifies the number of dimensions for the index", "type": "integer" }; @@ -105,7 +105,7 @@ export const vectorize_index_dimensions: JsonSchema = { /** * The schema of `vectorize_index-get-vectors-by-id-request`. */ -export const vectorize_index_get_vectors_by_id_request: JsonSchema = { +export const vectorize_index$$get$$vectors$$by$$id$$request: JsonSchema = { "properties": { "ids": { "description": "A list of vector identifiers to retrieve from the index indicated by the path.", @@ -121,7 +121,7 @@ export const vectorize_index_get_vectors_by_id_request: JsonSchema = { /** * The schema of `vectorize_index-metric`. */ -export const vectorize_index_metric: JsonSchema = { +export const vectorize_index$$metric: JsonSchema = { "description": "Specifies the type of metric to use calculating distance.", "enum": [ "cosine", @@ -134,14 +134,14 @@ export const vectorize_index_metric: JsonSchema = { /** * The schema of `vectorize_index-name`. */ -export const vectorize_index_name: JsonSchema = { +export const vectorize_index$$name: JsonSchema = { "type": "string" }; /** * The schema of `vectorize_index-preset`. */ -export const vectorize_index_preset: JsonSchema = { +export const vectorize_index$$preset: JsonSchema = { "description": "Specifies the preset to use for the index.", "enum": [ "@cf/baai/bge-small-en-v1.5", @@ -156,7 +156,7 @@ export const vectorize_index_preset: JsonSchema = { /** * The schema of `vectorize_index-preset-configuration`. */ -export const vectorize_index_preset_configuration: JsonSchema = { +export const vectorize_index$$preset$$configuration: JsonSchema = { "properties": { "preset": { "$ref": "#/$defs/vectorize_index-preset", @@ -172,7 +172,7 @@ export const vectorize_index_preset_configuration: JsonSchema = { /** * The schema of `vectorize_index-query-v2-request`. */ -export const vectorize_index_query_v2_request: JsonSchema = { +export const vectorize_index$$query$$v2$$request: JsonSchema = { "properties": { "filter": { "description": "A metadata filter expression used to limit nearest neighbor results.", @@ -215,7 +215,7 @@ export const vectorize_index_query_v2_request: JsonSchema = { /** * The schema of `vectorize_vector-identifier`. */ -export const vectorize_vector_identifier: JsonSchema = { +export const vectorize_vector$$identifier: JsonSchema = { "description": "Identifier for a Vector", "type": "string" }; diff --git a/src/generated/forge-mcp/vectorize/tools.ts b/src/generated/forge-mcp/vectorize/tools.ts index ce338ce0e..37a88e2f4 100644 --- a/src/generated/forge-mcp/vectorize/tools.ts +++ b/src/generated/forge-mcp/vectorize/tools.ts @@ -1,43 +1,43 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { - vectorize_api_response_common_failure_output, - vectorize_api_response_common_output, - vectorize_api_response_single_output, - vectorize_create_index_response_output, - vectorize_index_delete_vectors_by_id_v2_response_output, - vectorize_index_description_output, - vectorize_index_dimension_configuration_output, - vectorize_index_dimensions_output, - vectorize_index_get_vectors_by_id_response_output, - vectorize_index_info_response_output, - vectorize_index_list_vectors_response_output, - vectorize_index_metric_output, - vectorize_index_name_output, - vectorize_index_preset_output, - vectorize_index_query_v2_response_output, - vectorize_messages_output, - vectorize_mutation_uuid_output, - vectorize_vector_identifier_output, - vectorize_vector_list_item_output, + vectorize_api$$response$$common, + vectorize_api$$response$$common$$failure, + vectorize_api$$response$$single, + vectorize_create$$index$$response, + vectorize_index$$delete$$vectors$$by$$id$$v2$$response, + vectorize_index$$description, + vectorize_index$$dimension$$configuration, + vectorize_index$$dimensions, + vectorize_index$$get$$vectors$$by$$id$$response, + vectorize_index$$info$$response, + vectorize_index$$list$$vectors$$response, + vectorize_index$$metric, + vectorize_index$$name, + vectorize_index$$preset, + vectorize_index$$query$$v2$$response, + vectorize_messages, + vectorize_mutation$$uuid, + vectorize_vector$$identifier, + vectorize_vector$$list$$item, } from "./outputs.js"; import { - vectorize_create_index_request, + vectorize_create$$index$$request, vectorize_identifier, - vectorize_index_configuration, - vectorize_index_delete_vectors_by_id_request, - vectorize_index_description, - vectorize_index_dimension_configuration, - vectorize_index_dimensions, - vectorize_index_get_vectors_by_id_request, - vectorize_index_metric, - vectorize_index_name, - vectorize_index_preset, - vectorize_index_preset_configuration, - vectorize_index_query_v2_request, - vectorize_vector_identifier, + vectorize_index$$configuration, + vectorize_index$$delete$$vectors$$by$$id$$request, + vectorize_index$$description as vectorize_index$$description$, + vectorize_index$$dimension$$configuration as vectorize_index$$dimension$$configuration$, + vectorize_index$$dimensions as vectorize_index$$dimensions$, + vectorize_index$$get$$vectors$$by$$id$$request, + vectorize_index$$metric as vectorize_index$$metric$, + vectorize_index$$name as vectorize_index$$name$, + vectorize_index$$preset as vectorize_index$$preset$, + vectorize_index$$preset$$configuration, + vectorize_index$$query$$v2$$request, + vectorize_vector$$identifier as vectorize_vector$$identifier$, } from "./schemas.js"; /** @@ -51,29 +51,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/vectorize_create-index-request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "vectorize_create-index-request": vectorize_create_index_request, + "vectorize_create-index-request": vectorize_create$$index$$request, "vectorize_identifier": vectorize_identifier, - "vectorize_index-configuration": vectorize_index_configuration, - "vectorize_index-description": vectorize_index_description, - "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration, - "vectorize_index-dimensions": vectorize_index_dimensions, - "vectorize_index-metric": vectorize_index_metric, - "vectorize_index-name": vectorize_index_name, - "vectorize_index-preset": vectorize_index_preset, - "vectorize_index-preset-configuration": vectorize_index_preset_configuration, + "vectorize_index-configuration": vectorize_index$$configuration, + "vectorize_index-description": vectorize_index$$description$, + "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration$, + "vectorize_index-dimensions": vectorize_index$$dimensions$, + "vectorize_index-metric": vectorize_index$$metric$, + "vectorize_index-name": vectorize_index$$name$, + "vectorize_index-preset": vectorize_index$$preset$, + "vectorize_index-preset-configuration": vectorize_index$$preset$$configuration, }, }, outputSchema: { @@ -91,16 +99,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_create-index-response": vectorize_create_index_response_output, - "vectorize_index-description": vectorize_index_description_output, - "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration_output, - "vectorize_index-dimensions": vectorize_index_dimensions_output, - "vectorize_index-metric": vectorize_index_metric_output, - "vectorize_index-name": vectorize_index_name_output, - "vectorize_index-preset": vectorize_index_preset_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_create-index-response": vectorize_create$$index$$response, + "vectorize_index-description": vectorize_index$$description, + "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, + "vectorize_index-dimensions": vectorize_index$$dimensions, + "vectorize_index-metric": vectorize_index$$metric, + "vectorize_index-name": vectorize_index$$name, + "vectorize_index-preset": vectorize_index$$preset, + "vectorize_messages": vectorize_messages, }, }, annotations: { @@ -144,17 +152,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_create-index-response": vectorize_create_index_response_output, - "vectorize_index-description": vectorize_index_description_output, - "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration_output, - "vectorize_index-dimensions": vectorize_index_dimensions_output, - "vectorize_index-metric": vectorize_index_metric_output, - "vectorize_index-name": vectorize_index_name_output, - "vectorize_index-preset": vectorize_index_preset_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_create-index-response": vectorize_create$$index$$response, + "vectorize_index-description": vectorize_index$$description, + "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, + "vectorize_index-dimensions": vectorize_index$$dimensions, + "vectorize_index-metric": vectorize_index$$metric, + "vectorize_index-name": vectorize_index$$name, + "vectorize_index-preset": vectorize_index$$preset, + "vectorize_messages": vectorize_messages, }, }, request: (args) => ({ @@ -169,21 +177,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" } }, required: [ - "account_id", - "index_name" + "path" ], $defs: { "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index_name, + "vectorize_index-name": vectorize_index$$name$, }, }, outputSchema: { @@ -208,9 +224,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_messages": vectorize_messages, }, }, annotations: { @@ -261,10 +277,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_messages": vectorize_messages, }, }, request: (args) => ({ @@ -272,33 +288,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "vectorize_delete_by_ids", + name: "vectorize_deleteByIds", title: "Delete Vectors By Identifier", description: "Delete a set of vectors from an index by their vector identifiers.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/vectorize_index-delete-vectors-by-id-request" }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" } }, required: [ - "account_id", - "index_name", + "path", "body" ], $defs: { "vectorize_identifier": vectorize_identifier, - "vectorize_index-delete-vectors-by-id-request": vectorize_index_delete_vectors_by_id_request, - "vectorize_index-name": vectorize_index_name, - "vectorize_vector-identifier": vectorize_vector_identifier, + "vectorize_index-delete-vectors-by-id-request": vectorize_index$$delete$$vectors$$by$$id$$request, + "vectorize_index-name": vectorize_index$$name$, + "vectorize_vector-identifier": vectorize_vector$$identifier$, }, }, outputSchema: { @@ -316,11 +340,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_index-delete-vectors-by-id-v2-response": vectorize_index_delete_vectors_by_id_v2_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_index-delete-vectors-by-id-v2-response": vectorize_index$$delete$$vectors$$by$$id$$v2$$response, + "vectorize_messages": vectorize_messages, + "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, annotations: { @@ -364,12 +388,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_index-delete-vectors-by-id-v2-response": vectorize_index_delete_vectors_by_id_v2_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_index-delete-vectors-by-id-v2-response": vectorize_index$$delete$$vectors$$by$$id$$v2$$response, + "vectorize_messages": vectorize_messages, + "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, request: (args) => ({ @@ -384,21 +408,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" } }, required: [ - "account_id", - "index_name" + "path" ], $defs: { "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index_name, + "vectorize_index-name": vectorize_index$$name$, }, }, outputSchema: { @@ -416,16 +448,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_create-index-response": vectorize_create_index_response_output, - "vectorize_index-description": vectorize_index_description_output, - "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration_output, - "vectorize_index-dimensions": vectorize_index_dimensions_output, - "vectorize_index-metric": vectorize_index_metric_output, - "vectorize_index-name": vectorize_index_name_output, - "vectorize_index-preset": vectorize_index_preset_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_create-index-response": vectorize_create$$index$$response, + "vectorize_index-description": vectorize_index$$description, + "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, + "vectorize_index-dimensions": vectorize_index$$dimensions, + "vectorize_index-metric": vectorize_index$$metric, + "vectorize_index-name": vectorize_index$$name, + "vectorize_index-preset": vectorize_index$$preset, + "vectorize_messages": vectorize_messages, }, }, annotations: { @@ -470,17 +502,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_create-index-response": vectorize_create_index_response_output, - "vectorize_index-description": vectorize_index_description_output, - "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration_output, - "vectorize_index-dimensions": vectorize_index_dimensions_output, - "vectorize_index-metric": vectorize_index_metric_output, - "vectorize_index-name": vectorize_index_name_output, - "vectorize_index-preset": vectorize_index_preset_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_create-index-response": vectorize_create$$index$$response, + "vectorize_index-description": vectorize_index$$description, + "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, + "vectorize_index-dimensions": vectorize_index$$dimensions, + "vectorize_index-metric": vectorize_index$$metric, + "vectorize_index-name": vectorize_index$$name, + "vectorize_index-preset": vectorize_index$$preset, + "vectorize_messages": vectorize_messages, }, }, request: (args) => ({ @@ -488,33 +520,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "vectorize_get_by_ids", + name: "vectorize_getByIds", title: "Get Vectors By Identifier", description: "Get a set of vectors from an index by their vector identifiers.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/vectorize_index-get-vectors-by-id-request" }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" } }, required: [ - "account_id", - "index_name", + "path", "body" ], $defs: { "vectorize_identifier": vectorize_identifier, - "vectorize_index-get-vectors-by-id-request": vectorize_index_get_vectors_by_id_request, - "vectorize_index-name": vectorize_index_name, - "vectorize_vector-identifier": vectorize_vector_identifier, + "vectorize_index-get-vectors-by-id-request": vectorize_index$$get$$vectors$$by$$id$$request, + "vectorize_index-name": vectorize_index$$name$, + "vectorize_vector-identifier": vectorize_vector$$identifier$, }, }, outputSchema: { @@ -532,10 +572,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_index-get-vectors-by-id-response": vectorize_index_get_vectors_by_id_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_vector-identifier": vectorize_vector_identifier_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_index-get-vectors-by-id-response": vectorize_index$$get$$vectors$$by$$id$$response, + "vectorize_messages": vectorize_messages, + "vectorize_vector-identifier": vectorize_vector$$identifier, }, }, annotations: { @@ -575,11 +615,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_index-get-vectors-by-id-response": vectorize_index_get_vectors_by_id_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_vector-identifier": vectorize_vector_identifier_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_index-get-vectors-by-id-response": vectorize_index$$get$$vectors$$by$$id$$response, + "vectorize_messages": vectorize_messages, + "vectorize_vector-identifier": vectorize_vector$$identifier, }, }, request: (args) => ({ @@ -594,21 +634,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" } }, required: [ - "account_id", - "index_name" + "path" ], $defs: { "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index_name, + "vectorize_index-name": vectorize_index$$name$, }, }, outputSchema: { @@ -626,12 +674,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_index-dimensions": vectorize_index_dimensions_output, - "vectorize_index-info-response": vectorize_index_info_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_index-dimensions": vectorize_index$$dimensions, + "vectorize_index-info-response": vectorize_index$$info$$response, + "vectorize_messages": vectorize_messages, + "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, annotations: { @@ -676,13 +724,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_index-dimensions": vectorize_index_dimensions_output, - "vectorize_index-info-response": vectorize_index_info_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_mutation-uuid": vectorize_mutation_uuid_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_index-dimensions": vectorize_index$$dimensions, + "vectorize_index-info-response": vectorize_index$$info$$response, + "vectorize_messages": vectorize_messages, + "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, request: (args) => ({ @@ -696,13 +744,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "vectorize_identifier": vectorize_identifier, @@ -726,15 +782,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_create-index-response": vectorize_create_index_response_output, - "vectorize_index-description": vectorize_index_description_output, - "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration_output, - "vectorize_index-dimensions": vectorize_index_dimensions_output, - "vectorize_index-metric": vectorize_index_metric_output, - "vectorize_index-name": vectorize_index_name_output, - "vectorize_index-preset": vectorize_index_preset_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_create-index-response": vectorize_create$$index$$response, + "vectorize_index-description": vectorize_index$$description, + "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, + "vectorize_index-dimensions": vectorize_index$$dimensions, + "vectorize_index-metric": vectorize_index$$metric, + "vectorize_index-name": vectorize_index$$name, + "vectorize_index-preset": vectorize_index$$preset, + "vectorize_messages": vectorize_messages, }, }, annotations: { @@ -782,16 +838,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_create-index-response": vectorize_create_index_response_output, - "vectorize_index-description": vectorize_index_description_output, - "vectorize_index-dimension-configuration": vectorize_index_dimension_configuration_output, - "vectorize_index-dimensions": vectorize_index_dimensions_output, - "vectorize_index-metric": vectorize_index_metric_output, - "vectorize_index-name": vectorize_index_name_output, - "vectorize_index-preset": vectorize_index_preset_output, - "vectorize_messages": vectorize_messages_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_create-index-response": vectorize_create$$index$$response, + "vectorize_index-description": vectorize_index$$description, + "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, + "vectorize_index-dimensions": vectorize_index$$dimensions, + "vectorize_index-metric": vectorize_index$$metric, + "vectorize_index-name": vectorize_index$$name, + "vectorize_index-preset": vectorize_index$$preset, + "vectorize_messages": vectorize_messages, }, }, request: (args) => ({ @@ -799,36 +855,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "vectorize_list_vectors", + name: "vectorize_listVectors", title: "List Vectors", description: "Returns a paginated list of vector identifiers from the specified index.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, - "count": { - "default": 100, - "description": "Maximum number of vectors to return", - "type": "integer" - }, - "cursor": { - "description": "Cursor for pagination to get the next page of results", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "query": { + "properties": { + "count": { + "default": 100, + "description": "Maximum number of vectors to return", + "type": "integer" + }, + "cursor": { + "description": "Cursor for pagination to get the next page of results", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "index_name" + "path" ], $defs: { "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index_name, + "vectorize_index-name": vectorize_index$$name$, }, }, outputSchema: { @@ -846,12 +915,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_index-list-vectors-response": vectorize_index_list_vectors_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_vector-identifier": vectorize_vector_identifier_output, - "vectorize_vector-list-item": vectorize_vector_list_item_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_index-list-vectors-response": vectorize_index$$list$$vectors$$response, + "vectorize_messages": vectorize_messages, + "vectorize_vector-identifier": vectorize_vector$$identifier, + "vectorize_vector-list-item": vectorize_vector$$list$$item, }, }, annotations: { @@ -896,20 +965,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_index-list-vectors-response": vectorize_index_list_vectors_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_vector-identifier": vectorize_vector_identifier_output, - "vectorize_vector-list-item": vectorize_vector_list_item_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_index-list-vectors-response": vectorize_index$$list$$vectors$$response, + "vectorize_messages": vectorize_messages, + "vectorize_vector-identifier": vectorize_vector$$identifier, + "vectorize_vector-list-item": vectorize_vector$$list$$item, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/vectorize/v2/indexes/${pathParam(args, "index_name")}/list`, query: [ - ["count", args["count"], true], - ["cursor", args["cursor"], true], + ["count", param(args, "query", "count"), true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, @@ -920,26 +989,34 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" - }, "body": { "$ref": "#/$defs/vectorize_index-query-v2-request" }, - "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/vectorize_identifier", + "description": "Identifier" + }, + "index_name": { + "$ref": "#/$defs/vectorize_index-name" + } + }, + "required": [ + "account_id", + "index_name" + ], + "type": "object" } }, required: [ - "account_id", - "index_name", + "path", "body" ], $defs: { "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index_name, - "vectorize_index-query-v2-request": vectorize_index_query_v2_request, + "vectorize_index-name": vectorize_index$$name$, + "vectorize_index-query-v2-request": vectorize_index$$query$$v2$$request, }, }, outputSchema: { @@ -957,11 +1034,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_index-query-v2-response": vectorize_index_query_v2_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_vector-identifier": vectorize_vector_identifier_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_index-query-v2-response": vectorize_index$$query$$v2$$response, + "vectorize_messages": vectorize_messages, + "vectorize_vector-identifier": vectorize_vector$$identifier, }, }, annotations: { @@ -1001,12 +1078,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "vectorize_api-response-common": vectorize_api_response_common_output, - "vectorize_api-response-common-failure": vectorize_api_response_common_failure_output, - "vectorize_api-response-single": vectorize_api_response_single_output, - "vectorize_index-query-v2-response": vectorize_index_query_v2_response_output, - "vectorize_messages": vectorize_messages_output, - "vectorize_vector-identifier": vectorize_vector_identifier_output, + "vectorize_api-response-common": vectorize_api$$response$$common, + "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, + "vectorize_api-response-single": vectorize_api$$response$$single, + "vectorize_index-query-v2-response": vectorize_index$$query$$v2$$response, + "vectorize_messages": vectorize_messages, + "vectorize_vector-identifier": vectorize_vector$$identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/outputs.ts b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/outputs.ts index 48921b45b..d7a0b64e4 100644 --- a/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waitingroom_response_collection` in responses. */ -export const waitingroom_response_collection_output: JsonSchema = { +export const waitingroom_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-collection" diff --git a/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts index 4c8375e65..0b18e2170 100644 --- a/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts @@ -1,79 +1,92 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - waitingroom_additional_routes_output, - waitingroom_api_response_collection_output, - waitingroom_api_response_common_2_output, - waitingroom_api_response_common_failure_output, - waitingroom_cookie_attributes_output, - waitingroom_cookie_suffix_output, - waitingroom_custom_page_html_output, - waitingroom_default_template_language_output, - waitingroom_description_output, - waitingroom_disable_session_renewal_output, - waitingroom_enabled_origin_commands_output, - waitingroom_host_output, - waitingroom_json_response_enabled_output, - waitingroom_messages_output, - waitingroom_name_output, - waitingroom_new_users_per_minute_output, - waitingroom_next_event_prequeue_start_time_output, - waitingroom_next_event_start_time_output, - waitingroom_path_output, - waitingroom_queue_all_output, - waitingroom_queueing_method_output, - waitingroom_queueing_status_code_output, - waitingroom_session_duration_output, - waitingroom_suspended_output, - waitingroom_timestamp_output, - waitingroom_total_active_users_output, - waitingroom_turnstile_action_output, - waitingroom_turnstile_mode_output, - waitingroom_waiting_room_id_output, - waitingroom_waitingroom_output, + waitingroom_additional_routes, + waitingroom_api$$response$$collection, + waitingroom_api$$response$$common$$2, + waitingroom_api$$response$$common$$failure, + waitingroom_cookie_attributes, + waitingroom_cookie_suffix, + waitingroom_custom_page_html, + waitingroom_default_template_language, + waitingroom_description, + waitingroom_disable_session_renewal, + waitingroom_enabled_origin_commands, + waitingroom_host, + waitingroom_json_response_enabled, + waitingroom_messages, + waitingroom_name, + waitingroom_new_users_per_minute, + waitingroom_next_event_prequeue_start_time, + waitingroom_next_event_start_time, + waitingroom_path, + waitingroom_queue_all, + waitingroom_queueing_method, + waitingroom_queueing_status_code, + waitingroom_session_duration, + waitingroom_suspended, + waitingroom_timestamp, + waitingroom_total_active_users, + waitingroom_turnstile_action, + waitingroom_turnstile_mode, + waitingroom_waiting_room_id, + waitingroom_waitingroom, } from "../outputs.js"; import { waitingroom_identifier } from "../schemas.js"; -import { waitingroom_response_collection_output } from "./outputs.js"; +import { waitingroom_response_collection } from "./outputs.js"; /** - * The tools of `waiting_rooms.account_waiting_rooms`. + * The tools of `waitingRooms.accountWaitingRooms`. */ export const tools: readonly Tool[] = [ { - name: "waiting_rooms_account_waiting_rooms_list", + name: "waitingRooms_accountWaitingRooms_list", title: "List waiting rooms for account or zone", description: "Lists waiting rooms for account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 25, - "description": "Maximum number of results per page. Must be a multiple of 5.", - "type": "number" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 25, + "description": "Maximum number of results per page. Must be a multiple of 5.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "waitingroom_identifier": waitingroom_identifier, @@ -82,36 +95,36 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_response_collection", $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_response_collection": waitingroom_response_collection_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix, + "waitingroom_custom_page_html": waitingroom_custom_page_html, + "waitingroom_default_template_language": waitingroom_default_template_language, + "waitingroom_description": waitingroom_description, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, + "waitingroom_host": waitingroom_host, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, + "waitingroom_name": waitingroom_name, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, + "waitingroom_path": waitingroom_path, + "waitingroom_queue_all": waitingroom_queue_all, + "waitingroom_queueing_method": waitingroom_queueing_method, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code, + "waitingroom_response_collection": waitingroom_response_collection, + "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, + "waitingroom_total_active_users": waitingroom_total_active_users, + "waitingroom_turnstile_action": waitingroom_turnstile_action, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, annotations: { @@ -151,44 +164,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_response_collection": waitingroom_response_collection_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix, + "waitingroom_custom_page_html": waitingroom_custom_page_html, + "waitingroom_default_template_language": waitingroom_default_template_language, + "waitingroom_description": waitingroom_description, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, + "waitingroom_host": waitingroom_host, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, + "waitingroom_name": waitingroom_name, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, + "waitingroom_path": waitingroom_path, + "waitingroom_queue_all": waitingroom_queue_all, + "waitingroom_queueing_method": waitingroom_queueing_method, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code, + "waitingroom_response_collection": waitingroom_response_collection, + "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, + "waitingroom_total_active_users": waitingroom_total_active_users, + "waitingroom_turnstile_action": waitingroom_turnstile_action, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/waiting_rooms`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts b/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts index 7b61548fe..d9e5c3c78 100644 --- a/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `waitingroom_event_details_custom_page_html` in responses. */ -export const waitingroom_event_details_custom_page_html_output: JsonSchema = { +export const waitingroom_event_details_custom_page_html: JsonSchema = { "type": "string" }; @@ -14,28 +14,28 @@ export const waitingroom_event_details_custom_page_html_output: JsonSchema = { * The schema of `waitingroom_event_details_disable_session_renewal` in * responses. */ -export const waitingroom_event_details_disable_session_renewal_output: JsonSchema = { +export const waitingroom_event_details_disable_session_renewal: JsonSchema = { "type": "boolean" }; /** * The schema of `waitingroom_event_details_new_users_per_minute` in responses. */ -export const waitingroom_event_details_new_users_per_minute_output: JsonSchema = { +export const waitingroom_event_details_new_users_per_minute: JsonSchema = { "type": "integer" }; /** * The schema of `waitingroom_event_details_queueing_method` in responses. */ -export const waitingroom_event_details_queueing_method_output: JsonSchema = { +export const waitingroom_event_details_queueing_method: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_event_details_response` in responses. */ -export const waitingroom_event_details_response_output: JsonSchema = { +export const waitingroom_event_details_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-single" @@ -54,7 +54,7 @@ export const waitingroom_event_details_response_output: JsonSchema = { /** * The schema of `waitingroom_event_details_result` in responses. */ -export const waitingroom_event_details_result_output: JsonSchema = { +export const waitingroom_event_details_result: JsonSchema = { "properties": { "created_on": { "$ref": "#/$defs/waitingroom_timestamp" @@ -111,13 +111,13 @@ export const waitingroom_event_details_result_output: JsonSchema = { /** * The schema of `waitingroom_event_details_session_duration` in responses. */ -export const waitingroom_event_details_session_duration_output: JsonSchema = { +export const waitingroom_event_details_session_duration: JsonSchema = { "type": "integer" }; /** * The schema of `waitingroom_event_details_total_active_users` in responses. */ -export const waitingroom_event_details_total_active_users_output: JsonSchema = { +export const waitingroom_event_details_total_active_users: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/waitingRooms/events/details/tools.ts b/src/generated/forge-mcp/waitingRooms/events/details/tools.ts index 6c560337b..4013a8d75 100644 --- a/src/generated/forge-mcp/waitingRooms/events/details/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/events/details/tools.ts @@ -3,67 +3,75 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - waitingroom_api_response_common_failure_output, - waitingroom_api_response_common_output, - waitingroom_api_response_single_output, - waitingroom_messages_output, - waitingroom_timestamp_output, + waitingroom_api$$response$$common, + waitingroom_api$$response$$common$$failure, + waitingroom_api$$response$$single, + waitingroom_messages, + waitingroom_timestamp, } from "../../outputs.js"; import { waitingroom_identifier, waitingroom_waiting_room_id, } from "../../schemas.js"; import { - waitingroom_event_description_output, - waitingroom_event_end_time_output, - waitingroom_event_id_output, - waitingroom_event_name_output, - waitingroom_event_prequeue_start_time_output, - waitingroom_event_shuffle_at_event_start_output, - waitingroom_event_start_time_output, - waitingroom_event_suspended_output, + waitingroom_event_description, + waitingroom_event_end_time, + waitingroom_event_id, + waitingroom_event_name, + waitingroom_event_prequeue_start_time, + waitingroom_event_shuffle_at_event_start, + waitingroom_event_start_time, + waitingroom_event_suspended, } from "../outputs.js"; -import { waitingroom_event_id } from "../schemas.js"; +import { waitingroom_event_id as waitingroom_event_id$ } from "../schemas.js"; import { - waitingroom_event_details_custom_page_html_output, - waitingroom_event_details_disable_session_renewal_output, - waitingroom_event_details_new_users_per_minute_output, - waitingroom_event_details_queueing_method_output, - waitingroom_event_details_response_output, - waitingroom_event_details_result_output, - waitingroom_event_details_session_duration_output, - waitingroom_event_details_total_active_users_output, + waitingroom_event_details_custom_page_html, + waitingroom_event_details_disable_session_renewal, + waitingroom_event_details_new_users_per_minute, + waitingroom_event_details_queueing_method, + waitingroom_event_details_response, + waitingroom_event_details_result, + waitingroom_event_details_session_duration, + waitingroom_event_details_total_active_users, } from "./outputs.js"; /** - * The tools of `waiting_rooms.events.details`. + * The tools of `waitingRooms.events.details`. */ export const tools: readonly Tool[] = [ { - name: "waiting_rooms_events_details_get", + name: "waitingRooms_events_details_get", title: "Preview active event details", description: "Previews an event's configuration as if it was active. Inherited fields from the waiting room will be displayed with their current values.", inputSchema: { type: "object", properties: { - "event_id": { - "$ref": "#/$defs/waitingroom_event_id" - }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "event_id": { + "$ref": "#/$defs/waitingroom_event_id" + }, + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id", + "event_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", - "event_id" + "path" ], $defs: { - "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_id": waitingroom_event_id$, "waitingroom_identifier": waitingroom_identifier, "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, @@ -71,26 +79,26 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_event_details_response", $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_details_custom_page_html": waitingroom_event_details_custom_page_html_output, - "waitingroom_event_details_disable_session_renewal": waitingroom_event_details_disable_session_renewal_output, - "waitingroom_event_details_new_users_per_minute": waitingroom_event_details_new_users_per_minute_output, - "waitingroom_event_details_queueing_method": waitingroom_event_details_queueing_method_output, - "waitingroom_event_details_response": waitingroom_event_details_response_output, - "waitingroom_event_details_result": waitingroom_event_details_result_output, - "waitingroom_event_details_session_duration": waitingroom_event_details_session_duration_output, - "waitingroom_event_details_total_active_users": waitingroom_event_details_total_active_users_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_event_description": waitingroom_event_description, + "waitingroom_event_details_custom_page_html": waitingroom_event_details_custom_page_html, + "waitingroom_event_details_disable_session_renewal": waitingroom_event_details_disable_session_renewal, + "waitingroom_event_details_new_users_per_minute": waitingroom_event_details_new_users_per_minute, + "waitingroom_event_details_queueing_method": waitingroom_event_details_queueing_method, + "waitingroom_event_details_response": waitingroom_event_details_response, + "waitingroom_event_details_result": waitingroom_event_details_result, + "waitingroom_event_details_session_duration": waitingroom_event_details_session_duration, + "waitingroom_event_details_total_active_users": waitingroom_event_details_total_active_users, + "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_name": waitingroom_event_name, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, + "waitingroom_event_start_time": waitingroom_event_start_time, + "waitingroom_event_suspended": waitingroom_event_suspended, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -131,27 +139,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_details_custom_page_html": waitingroom_event_details_custom_page_html_output, - "waitingroom_event_details_disable_session_renewal": waitingroom_event_details_disable_session_renewal_output, - "waitingroom_event_details_new_users_per_minute": waitingroom_event_details_new_users_per_minute_output, - "waitingroom_event_details_queueing_method": waitingroom_event_details_queueing_method_output, - "waitingroom_event_details_response": waitingroom_event_details_response_output, - "waitingroom_event_details_result": waitingroom_event_details_result_output, - "waitingroom_event_details_session_duration": waitingroom_event_details_session_duration_output, - "waitingroom_event_details_total_active_users": waitingroom_event_details_total_active_users_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_event_description": waitingroom_event_description, + "waitingroom_event_details_custom_page_html": waitingroom_event_details_custom_page_html, + "waitingroom_event_details_disable_session_renewal": waitingroom_event_details_disable_session_renewal, + "waitingroom_event_details_new_users_per_minute": waitingroom_event_details_new_users_per_minute, + "waitingroom_event_details_queueing_method": waitingroom_event_details_queueing_method, + "waitingroom_event_details_response": waitingroom_event_details_response, + "waitingroom_event_details_result": waitingroom_event_details_result, + "waitingroom_event_details_session_duration": waitingroom_event_details_session_duration, + "waitingroom_event_details_total_active_users": waitingroom_event_details_total_active_users, + "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_name": waitingroom_event_name, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, + "waitingroom_event_start_time": waitingroom_event_start_time, + "waitingroom_event_suspended": waitingroom_event_suspended, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/events/outputs.ts b/src/generated/forge-mcp/waitingRooms/events/outputs.ts index 5bb9071c9..418c11c1e 100644 --- a/src/generated/forge-mcp/waitingRooms/events/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/events/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waitingroom_event_custom_page_html` in responses. */ -export const waitingroom_event_custom_page_html_output: JsonSchema = { +export const waitingroom_event_custom_page_html: JsonSchema = { "oneOf": [ { "type": "string" @@ -20,14 +20,14 @@ export const waitingroom_event_custom_page_html_output: JsonSchema = { /** * The schema of `waitingroom_event_description` in responses. */ -export const waitingroom_event_description_output: JsonSchema = { +export const waitingroom_event_description: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_event_disable_session_renewal` in responses. */ -export const waitingroom_event_disable_session_renewal_output: JsonSchema = { +export const waitingroom_event_disable_session_renewal: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -41,21 +41,21 @@ export const waitingroom_event_disable_session_renewal_output: JsonSchema = { /** * The schema of `waitingroom_event_end_time` in responses. */ -export const waitingroom_event_end_time_output: JsonSchema = { +export const waitingroom_event_end_time: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_event_id` in responses. */ -export const waitingroom_event_id_output: JsonSchema = { +export const waitingroom_event_id: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_event_id_response` in responses. */ -export const waitingroom_event_id_response_output: JsonSchema = { +export const waitingroom_event_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-single" @@ -79,14 +79,14 @@ export const waitingroom_event_id_response_output: JsonSchema = { /** * The schema of `waitingroom_event_name` in responses. */ -export const waitingroom_event_name_output: JsonSchema = { +export const waitingroom_event_name: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_event_new_users_per_minute` in responses. */ -export const waitingroom_event_new_users_per_minute_output: JsonSchema = { +export const waitingroom_event_new_users_per_minute: JsonSchema = { "oneOf": [ { "type": "integer" @@ -100,7 +100,7 @@ export const waitingroom_event_new_users_per_minute_output: JsonSchema = { /** * The schema of `waitingroom_event_prequeue_start_time` in responses. */ -export const waitingroom_event_prequeue_start_time_output: JsonSchema = { +export const waitingroom_event_prequeue_start_time: JsonSchema = { "oneOf": [ { "type": "string" @@ -114,7 +114,7 @@ export const waitingroom_event_prequeue_start_time_output: JsonSchema = { /** * The schema of `waitingroom_event_queueing_method` in responses. */ -export const waitingroom_event_queueing_method_output: JsonSchema = { +export const waitingroom_event_queueing_method: JsonSchema = { "oneOf": [ { "type": "string" @@ -128,7 +128,7 @@ export const waitingroom_event_queueing_method_output: JsonSchema = { /** * The schema of `waitingroom_event_response` in responses. */ -export const waitingroom_event_response_output: JsonSchema = { +export const waitingroom_event_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-single" @@ -147,7 +147,7 @@ export const waitingroom_event_response_output: JsonSchema = { /** * The schema of `waitingroom_event_response_collection` in responses. */ -export const waitingroom_event_response_collection_output: JsonSchema = { +export const waitingroom_event_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-collection" @@ -169,7 +169,7 @@ export const waitingroom_event_response_collection_output: JsonSchema = { /** * The schema of `waitingroom_event_result` in responses. */ -export const waitingroom_event_result_output: JsonSchema = { +export const waitingroom_event_result: JsonSchema = { "properties": { "created_on": { "$ref": "#/$defs/waitingroom_timestamp" @@ -232,7 +232,7 @@ export const waitingroom_event_result_output: JsonSchema = { /** * The schema of `waitingroom_event_session_duration` in responses. */ -export const waitingroom_event_session_duration_output: JsonSchema = { +export const waitingroom_event_session_duration: JsonSchema = { "oneOf": [ { "type": "integer" @@ -246,28 +246,28 @@ export const waitingroom_event_session_duration_output: JsonSchema = { /** * The schema of `waitingroom_event_shuffle_at_event_start` in responses. */ -export const waitingroom_event_shuffle_at_event_start_output: JsonSchema = { +export const waitingroom_event_shuffle_at_event_start: JsonSchema = { "type": "boolean" }; /** * The schema of `waitingroom_event_start_time` in responses. */ -export const waitingroom_event_start_time_output: JsonSchema = { +export const waitingroom_event_start_time: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_event_suspended` in responses. */ -export const waitingroom_event_suspended_output: JsonSchema = { +export const waitingroom_event_suspended: JsonSchema = { "type": "boolean" }; /** * The schema of `waitingroom_event_total_active_users` in responses. */ -export const waitingroom_event_total_active_users_output: JsonSchema = { +export const waitingroom_event_total_active_users: JsonSchema = { "oneOf": [ { "type": "integer" @@ -281,7 +281,7 @@ export const waitingroom_event_total_active_users_output: JsonSchema = { /** * The schema of `waitingroom_event_turnstile_action` in responses. */ -export const waitingroom_event_turnstile_action_output: JsonSchema = { +export const waitingroom_event_turnstile_action: JsonSchema = { "oneOf": [ { "enum": [ @@ -299,7 +299,7 @@ export const waitingroom_event_turnstile_action_output: JsonSchema = { /** * The schema of `waitingroom_event_turnstile_mode` in responses. */ -export const waitingroom_event_turnstile_mode_output: JsonSchema = { +export const waitingroom_event_turnstile_mode: JsonSchema = { "oneOf": [ { "enum": [ diff --git a/src/generated/forge-mcp/waitingRooms/events/tools.ts b/src/generated/forge-mcp/waitingRooms/events/tools.ts index 0216767a7..6fc1f69eb 100644 --- a/src/generated/forge-mcp/waitingRooms/events/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/events/tools.ts @@ -1,52 +1,34 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - waitingroom_api_response_collection_output, - waitingroom_api_response_common_2_output, - waitingroom_api_response_common_failure_output, - waitingroom_api_response_common_output, - waitingroom_api_response_single_output, - waitingroom_messages_output, - waitingroom_timestamp_output, + waitingroom_api$$response$$collection, + waitingroom_api$$response$$common, + waitingroom_api$$response$$common$$2, + waitingroom_api$$response$$common$$failure, + waitingroom_api$$response$$single, + waitingroom_messages, + waitingroom_timestamp, } from "../outputs.js"; import { waitingroom_identifier, waitingroom_waiting_room_id, } from "../schemas.js"; -import { - waitingroom_event_custom_page_html_output, - waitingroom_event_description_output, - waitingroom_event_disable_session_renewal_output, - waitingroom_event_end_time_output, - waitingroom_event_id_output, - waitingroom_event_id_response_output, - waitingroom_event_name_output, - waitingroom_event_new_users_per_minute_output, - waitingroom_event_prequeue_start_time_output, - waitingroom_event_queueing_method_output, - waitingroom_event_response_collection_output, - waitingroom_event_response_output, - waitingroom_event_result_output, - waitingroom_event_session_duration_output, - waitingroom_event_shuffle_at_event_start_output, - waitingroom_event_start_time_output, - waitingroom_event_suspended_output, - waitingroom_event_total_active_users_output, - waitingroom_event_turnstile_action_output, - waitingroom_event_turnstile_mode_output, -} from "./outputs.js"; import { waitingroom_event_custom_page_html, waitingroom_event_description, waitingroom_event_disable_session_renewal, waitingroom_event_end_time, waitingroom_event_id, + waitingroom_event_id_response, waitingroom_event_name, waitingroom_event_new_users_per_minute, waitingroom_event_prequeue_start_time, waitingroom_event_queueing_method, + waitingroom_event_response, + waitingroom_event_response_collection, + waitingroom_event_result, waitingroom_event_session_duration, waitingroom_event_shuffle_at_event_start, waitingroom_event_start_time, @@ -54,15 +36,33 @@ import { waitingroom_event_total_active_users, waitingroom_event_turnstile_action, waitingroom_event_turnstile_mode, +} from "./outputs.js"; +import { + waitingroom_event_custom_page_html as waitingroom_event_custom_page_html$, + waitingroom_event_description as waitingroom_event_description$, + waitingroom_event_disable_session_renewal as waitingroom_event_disable_session_renewal$, + waitingroom_event_end_time as waitingroom_event_end_time$, + waitingroom_event_id as waitingroom_event_id$, + waitingroom_event_name as waitingroom_event_name$, + waitingroom_event_new_users_per_minute as waitingroom_event_new_users_per_minute$, + waitingroom_event_prequeue_start_time as waitingroom_event_prequeue_start_time$, + waitingroom_event_queueing_method as waitingroom_event_queueing_method$, + waitingroom_event_session_duration as waitingroom_event_session_duration$, + waitingroom_event_shuffle_at_event_start as waitingroom_event_shuffle_at_event_start$, + waitingroom_event_start_time as waitingroom_event_start_time$, + waitingroom_event_suspended as waitingroom_event_suspended$, + waitingroom_event_total_active_users as waitingroom_event_total_active_users$, + waitingroom_event_turnstile_action as waitingroom_event_turnstile_action$, + waitingroom_event_turnstile_mode as waitingroom_event_turnstile_mode$, waitingroom_query_event, } from "./schemas.js"; /** - * The tools of `waiting_rooms.events`. + * The tools of `waitingRooms.events`. */ export const tools: readonly Tool[] = [ { - name: "waiting_rooms_events_create", + name: "waitingRooms_events_create", title: "Create event", description: "Only available for the Waiting Room Advanced subscription. Creates an event for a waiting room. An event takes place during a specified period of time, temporarily changing the behavior of a waiting room. While the event is active, some of the properties in the event's configuration may either override or inherit from the waiting room's configuration. Note that events cannot overlap with each other, so only one event can be active at a time.", inputSchema: { @@ -71,28 +71,64 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_query_event" }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", + "path", "body" ], $defs: { + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html$, + "waitingroom_event_description": waitingroom_event_description$, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal$, + "waitingroom_event_end_time": waitingroom_event_end_time$, + "waitingroom_event_name": waitingroom_event_name$, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute$, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time$, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method$, + "waitingroom_event_session_duration": waitingroom_event_session_duration$, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start$, + "waitingroom_event_start_time": waitingroom_event_start_time$, + "waitingroom_event_suspended": waitingroom_event_suspended$, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users$, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action$, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode$, + "waitingroom_identifier": waitingroom_identifier, + "waitingroom_query_event": waitingroom_query_event, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + }, + }, + outputSchema: { + "$ref": "#/$defs/waitingroom_event_response", + $defs: { + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, "waitingroom_event_description": waitingroom_event_description, "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, "waitingroom_event_name": waitingroom_event_name, "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response": waitingroom_event_response, + "waitingroom_event_result": waitingroom_event_result, "waitingroom_event_session_duration": waitingroom_event_session_duration, "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, "waitingroom_event_start_time": waitingroom_event_start_time, @@ -100,36 +136,8 @@ export const tools: readonly Tool[] = [ "waitingroom_event_total_active_users": waitingroom_event_total_active_users, "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_query_event": waitingroom_query_event, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, - }, - outputSchema: { - "$ref": "#/$defs/waitingroom_event_response", - $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response": waitingroom_event_response_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -166,29 +174,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response": waitingroom_event_response_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, + "waitingroom_event_description": waitingroom_event_description, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, + "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_name": waitingroom_event_name, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response": waitingroom_event_response, + "waitingroom_event_result": waitingroom_event_result, + "waitingroom_event_session_duration": waitingroom_event_session_duration, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, + "waitingroom_event_start_time": waitingroom_event_start_time, + "waitingroom_event_suspended": waitingroom_event_suspended, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -197,30 +205,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_events_delete", + name: "waitingRooms_events_delete", title: "Delete event", description: "Deletes an event for a waiting room.\n\nConfirm with the user before calling this tool. This operation deletes the event from the waiting room.", inputSchema: { type: "object", properties: { - "event_id": { - "$ref": "#/$defs/waitingroom_event_id" - }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "event_id": { + "$ref": "#/$defs/waitingroom_event_id" + }, + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id", + "event_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", - "event_id" + "path" ], $defs: { - "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_id": waitingroom_event_id$, "waitingroom_identifier": waitingroom_identifier, "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, @@ -228,11 +244,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_event_id_response", $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_id_response": waitingroom_event_id_response_output, - "waitingroom_messages": waitingroom_messages_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_id_response": waitingroom_event_id_response, + "waitingroom_messages": waitingroom_messages, }, }, annotations: { @@ -272,12 +288,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_id_response": waitingroom_event_id_response_output, - "waitingroom_messages": waitingroom_messages_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_id_response": waitingroom_event_id_response, + "waitingroom_messages": waitingroom_messages, }, }, request: (args) => ({ @@ -285,7 +301,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_events_edit", + name: "waitingRooms_events_edit", title: "Patch event", description: "Patches a configured event for a waiting room.", inputSchema: { @@ -294,24 +310,58 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_query_event" }, - "event_id": { - "$ref": "#/$defs/waitingroom_event_id" - }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "event_id": { + "$ref": "#/$defs/waitingroom_event_id" + }, + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id", + "event_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", - "event_id", + "path", "body" ], $defs: { + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html$, + "waitingroom_event_description": waitingroom_event_description$, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal$, + "waitingroom_event_end_time": waitingroom_event_end_time$, + "waitingroom_event_id": waitingroom_event_id$, + "waitingroom_event_name": waitingroom_event_name$, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute$, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time$, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method$, + "waitingroom_event_session_duration": waitingroom_event_session_duration$, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start$, + "waitingroom_event_start_time": waitingroom_event_start_time$, + "waitingroom_event_suspended": waitingroom_event_suspended$, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users$, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action$, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode$, + "waitingroom_identifier": waitingroom_identifier, + "waitingroom_query_event": waitingroom_query_event, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + }, + }, + outputSchema: { + "$ref": "#/$defs/waitingroom_event_response", + $defs: { + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, "waitingroom_event_description": waitingroom_event_description, "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, @@ -321,6 +371,8 @@ export const tools: readonly Tool[] = [ "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response": waitingroom_event_response, + "waitingroom_event_result": waitingroom_event_result, "waitingroom_event_session_duration": waitingroom_event_session_duration, "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, "waitingroom_event_start_time": waitingroom_event_start_time, @@ -328,36 +380,8 @@ export const tools: readonly Tool[] = [ "waitingroom_event_total_active_users": waitingroom_event_total_active_users, "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_query_event": waitingroom_query_event, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, - }, - outputSchema: { - "$ref": "#/$defs/waitingroom_event_response", - $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response": waitingroom_event_response_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -397,29 +421,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response": waitingroom_event_response_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, + "waitingroom_event_description": waitingroom_event_description, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, + "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_name": waitingroom_event_name, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response": waitingroom_event_response, + "waitingroom_event_result": waitingroom_event_result, + "waitingroom_event_session_duration": waitingroom_event_session_duration, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, + "waitingroom_event_start_time": waitingroom_event_start_time, + "waitingroom_event_suspended": waitingroom_event_suspended, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -428,30 +452,38 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_events_get", + name: "waitingRooms_events_get", title: "Event details", description: "Fetches a single configured event for a waiting room.", inputSchema: { type: "object", properties: { - "event_id": { - "$ref": "#/$defs/waitingroom_event_id" - }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "event_id": { + "$ref": "#/$defs/waitingroom_event_id" + }, + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id", + "event_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", - "event_id" + "path" ], $defs: { - "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_id": waitingroom_event_id$, "waitingroom_identifier": waitingroom_identifier, "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, @@ -459,28 +491,28 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_event_response", $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response": waitingroom_event_response_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, + "waitingroom_event_description": waitingroom_event_description, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, + "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_name": waitingroom_event_name, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response": waitingroom_event_response, + "waitingroom_event_result": waitingroom_event_result, + "waitingroom_event_session_duration": waitingroom_event_session_duration, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, + "waitingroom_event_start_time": waitingroom_event_start_time, + "waitingroom_event_suspended": waitingroom_event_suspended, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -521,29 +553,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response": waitingroom_event_response_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, + "waitingroom_event_description": waitingroom_event_description, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, + "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_name": waitingroom_event_name, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response": waitingroom_event_response, + "waitingroom_event_result": waitingroom_event_result, + "waitingroom_event_session_duration": waitingroom_event_session_duration, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, + "waitingroom_event_start_time": waitingroom_event_start_time, + "waitingroom_event_suspended": waitingroom_event_suspended, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -551,33 +583,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_events_list", + name: "waitingRooms_events_list", title: "List events", description: "Lists events for a waiting room.", inputSchema: { type: "object", properties: { - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 25, - "description": "Maximum number of results per page. Must be a multiple of 5.", - "type": "number" - }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 25, + "description": "Maximum number of results per page. Must be a multiple of 5.", + "type": "number" + } + }, + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id" + "path" ], $defs: { "waitingroom_identifier": waitingroom_identifier, @@ -587,28 +632,28 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_event_response_collection", $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response_collection": waitingroom_event_response_collection_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, + "waitingroom_event_description": waitingroom_event_description, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, + "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_name": waitingroom_event_name, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response_collection": waitingroom_event_response_collection, + "waitingroom_event_result": waitingroom_event_result, + "waitingroom_event_session_duration": waitingroom_event_session_duration, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, + "waitingroom_event_start_time": waitingroom_event_start_time, + "waitingroom_event_suspended": waitingroom_event_suspended, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -649,41 +694,41 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response_collection": waitingroom_event_response_collection_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, + "waitingroom_event_description": waitingroom_event_description, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, + "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_name": waitingroom_event_name, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response_collection": waitingroom_event_response_collection, + "waitingroom_event_result": waitingroom_event_result, + "waitingroom_event_session_duration": waitingroom_event_session_duration, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, + "waitingroom_event_start_time": waitingroom_event_start_time, + "waitingroom_event_suspended": waitingroom_event_suspended, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/waiting_rooms/${pathParam(args, "waiting_room_id")}/events`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "waiting_rooms_events_update", + name: "waitingRooms_events_update", title: "Update event", description: "Updates a configured event for a waiting room.", inputSchema: { @@ -692,24 +737,58 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_query_event" }, - "event_id": { - "$ref": "#/$defs/waitingroom_event_id" - }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "event_id": { + "$ref": "#/$defs/waitingroom_event_id" + }, + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id", + "event_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", - "event_id", + "path", "body" ], $defs: { + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html$, + "waitingroom_event_description": waitingroom_event_description$, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal$, + "waitingroom_event_end_time": waitingroom_event_end_time$, + "waitingroom_event_id": waitingroom_event_id$, + "waitingroom_event_name": waitingroom_event_name$, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute$, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time$, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method$, + "waitingroom_event_session_duration": waitingroom_event_session_duration$, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start$, + "waitingroom_event_start_time": waitingroom_event_start_time$, + "waitingroom_event_suspended": waitingroom_event_suspended$, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users$, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action$, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode$, + "waitingroom_identifier": waitingroom_identifier, + "waitingroom_query_event": waitingroom_query_event, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + }, + }, + outputSchema: { + "$ref": "#/$defs/waitingroom_event_response", + $defs: { + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, "waitingroom_event_description": waitingroom_event_description, "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, @@ -719,6 +798,8 @@ export const tools: readonly Tool[] = [ "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response": waitingroom_event_response, + "waitingroom_event_result": waitingroom_event_result, "waitingroom_event_session_duration": waitingroom_event_session_duration, "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, "waitingroom_event_start_time": waitingroom_event_start_time, @@ -726,36 +807,8 @@ export const tools: readonly Tool[] = [ "waitingroom_event_total_active_users": waitingroom_event_total_active_users, "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_query_event": waitingroom_query_event, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, - }, - outputSchema: { - "$ref": "#/$defs/waitingroom_event_response", - $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response": waitingroom_event_response_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -795,29 +848,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html_output, - "waitingroom_event_description": waitingroom_event_description_output, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal_output, - "waitingroom_event_end_time": waitingroom_event_end_time_output, - "waitingroom_event_id": waitingroom_event_id_output, - "waitingroom_event_name": waitingroom_event_name_output, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute_output, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time_output, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method_output, - "waitingroom_event_response": waitingroom_event_response_output, - "waitingroom_event_result": waitingroom_event_result_output, - "waitingroom_event_session_duration": waitingroom_event_session_duration_output, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start_output, - "waitingroom_event_start_time": waitingroom_event_start_time_output, - "waitingroom_event_suspended": waitingroom_event_suspended_output, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users_output, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action_output, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, + "waitingroom_event_description": waitingroom_event_description, + "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, + "waitingroom_event_end_time": waitingroom_event_end_time, + "waitingroom_event_id": waitingroom_event_id, + "waitingroom_event_name": waitingroom_event_name, + "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, + "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, + "waitingroom_event_queueing_method": waitingroom_event_queueing_method, + "waitingroom_event_response": waitingroom_event_response, + "waitingroom_event_result": waitingroom_event_result, + "waitingroom_event_session_duration": waitingroom_event_session_duration, + "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, + "waitingroom_event_start_time": waitingroom_event_start_time, + "waitingroom_event_suspended": waitingroom_event_suspended, + "waitingroom_event_total_active_users": waitingroom_event_total_active_users, + "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, + "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, + "waitingroom_messages": waitingroom_messages, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/outputs.ts b/src/generated/forge-mcp/waitingRooms/outputs.ts index 2f4d75791..7d6f32fc4 100644 --- a/src/generated/forge-mcp/waitingRooms/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `waitingroom_additional_routes` in responses. */ -export const waitingroom_additional_routes_output: JsonSchema = { +export const waitingroom_additional_routes: JsonSchema = { "items": { "properties": { "host": { @@ -24,7 +24,7 @@ export const waitingroom_additional_routes_output: JsonSchema = { /** * The schema of `waitingroom_api-response-collection` in responses. */ -export const waitingroom_api_response_collection_output: JsonSchema = { +export const waitingroom_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-common-2" @@ -60,7 +60,7 @@ export const waitingroom_api_response_collection_output: JsonSchema = { /** * The schema of `waitingroom_api-response-common` in responses. */ -export const waitingroom_api_response_common_output: JsonSchema = { +export const waitingroom_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/waitingroom_messages" @@ -94,7 +94,7 @@ export const waitingroom_api_response_common_output: JsonSchema = { /** * The schema of `waitingroom_api-response-common-2` in responses. */ -export const waitingroom_api_response_common_2_output: JsonSchema = { +export const waitingroom_api$$response$$common$$2: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/waitingroom_messages" @@ -120,7 +120,7 @@ export const waitingroom_api_response_common_2_output: JsonSchema = { /** * The schema of `waitingroom_api-response-common-failure` in responses. */ -export const waitingroom_api_response_common_failure_output: JsonSchema = { +export const waitingroom_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/waitingroom_messages" @@ -150,7 +150,7 @@ export const waitingroom_api_response_common_failure_output: JsonSchema = { /** * The schema of `waitingroom_api-response-single` in responses. */ -export const waitingroom_api_response_single_output: JsonSchema = { +export const waitingroom_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-common" @@ -176,7 +176,7 @@ export const waitingroom_api_response_single_output: JsonSchema = { /** * The schema of `waitingroom_cookie_attributes` in responses. */ -export const waitingroom_cookie_attributes_output: JsonSchema = { +export const waitingroom_cookie_attributes: JsonSchema = { "properties": { "samesite": { "enum": [ @@ -202,21 +202,21 @@ export const waitingroom_cookie_attributes_output: JsonSchema = { /** * The schema of `waitingroom_cookie_suffix` in responses. */ -export const waitingroom_cookie_suffix_output: JsonSchema = { +export const waitingroom_cookie_suffix: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_custom_page_html` in responses. */ -export const waitingroom_custom_page_html_output: JsonSchema = { +export const waitingroom_custom_page_html: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_default_template_language` in responses. */ -export const waitingroom_default_template_language_output: JsonSchema = { +export const waitingroom_default_template_language: JsonSchema = { "enum": [ "en-US", "es-ES", @@ -264,21 +264,21 @@ export const waitingroom_default_template_language_output: JsonSchema = { /** * The schema of `waitingroom_description` in responses. */ -export const waitingroom_description_output: JsonSchema = { +export const waitingroom_description: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_disable_session_renewal` in responses. */ -export const waitingroom_disable_session_renewal_output: JsonSchema = { +export const waitingroom_disable_session_renewal: JsonSchema = { "type": "boolean" }; /** * The schema of `waitingroom_enabled_origin_commands` in responses. */ -export const waitingroom_enabled_origin_commands_output: JsonSchema = { +export const waitingroom_enabled_origin_commands: JsonSchema = { "items": { "enum": [ "revoke" @@ -291,21 +291,21 @@ export const waitingroom_enabled_origin_commands_output: JsonSchema = { /** * The schema of `waitingroom_host` in responses. */ -export const waitingroom_host_output: JsonSchema = { +export const waitingroom_host: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_json_response_enabled` in responses. */ -export const waitingroom_json_response_enabled_output: JsonSchema = { +export const waitingroom_json_response_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `waitingroom_messages` in responses. */ -export const waitingroom_messages_output: JsonSchema = { +export const waitingroom_messages: JsonSchema = { "items": { "properties": { "code": { @@ -338,21 +338,21 @@ export const waitingroom_messages_output: JsonSchema = { /** * The schema of `waitingroom_name` in responses. */ -export const waitingroom_name_output: JsonSchema = { +export const waitingroom_name: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_new_users_per_minute` in responses. */ -export const waitingroom_new_users_per_minute_output: JsonSchema = { +export const waitingroom_new_users_per_minute: JsonSchema = { "type": "integer" }; /** * The schema of `waitingroom_next_event_prequeue_start_time` in responses. */ -export const waitingroom_next_event_prequeue_start_time_output: JsonSchema = { +export const waitingroom_next_event_prequeue_start_time: JsonSchema = { "oneOf": [ { "type": "string" @@ -366,7 +366,7 @@ export const waitingroom_next_event_prequeue_start_time_output: JsonSchema = { /** * The schema of `waitingroom_next_event_start_time` in responses. */ -export const waitingroom_next_event_start_time_output: JsonSchema = { +export const waitingroom_next_event_start_time: JsonSchema = { "oneOf": [ { "type": "string" @@ -380,21 +380,21 @@ export const waitingroom_next_event_start_time_output: JsonSchema = { /** * The schema of `waitingroom_path` in responses. */ -export const waitingroom_path_output: JsonSchema = { +export const waitingroom_path: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_queue_all` in responses. */ -export const waitingroom_queue_all_output: JsonSchema = { +export const waitingroom_queue_all: JsonSchema = { "type": "boolean" }; /** * The schema of `waitingroom_queueing_method` in responses. */ -export const waitingroom_queueing_method_output: JsonSchema = { +export const waitingroom_queueing_method: JsonSchema = { "enum": [ "fifo", "random", @@ -407,7 +407,7 @@ export const waitingroom_queueing_method_output: JsonSchema = { /** * The schema of `waitingroom_queueing_status_code` in responses. */ -export const waitingroom_queueing_status_code_output: JsonSchema = { +export const waitingroom_queueing_status_code: JsonSchema = { "enum": [ 200, 202, @@ -419,14 +419,14 @@ export const waitingroom_queueing_status_code_output: JsonSchema = { /** * The schema of `waitingroom_session_duration` in responses. */ -export const waitingroom_session_duration_output: JsonSchema = { +export const waitingroom_session_duration: JsonSchema = { "type": "integer" }; /** * The schema of `waitingroom_single_response` in responses. */ -export const waitingroom_single_response_output: JsonSchema = { +export const waitingroom_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-single" @@ -445,14 +445,14 @@ export const waitingroom_single_response_output: JsonSchema = { /** * The schema of `waitingroom_suspended` in responses. */ -export const waitingroom_suspended_output: JsonSchema = { +export const waitingroom_suspended: JsonSchema = { "type": "boolean" }; /** * The schema of `waitingroom_timestamp` in responses. */ -export const waitingroom_timestamp_output: JsonSchema = { +export const waitingroom_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -460,14 +460,14 @@ export const waitingroom_timestamp_output: JsonSchema = { /** * The schema of `waitingroom_total_active_users` in responses. */ -export const waitingroom_total_active_users_output: JsonSchema = { +export const waitingroom_total_active_users: JsonSchema = { "type": "integer" }; /** * The schema of `waitingroom_turnstile_action` in responses. */ -export const waitingroom_turnstile_action_output: JsonSchema = { +export const waitingroom_turnstile_action: JsonSchema = { "enum": [ "log", "infinite_queue" @@ -478,7 +478,7 @@ export const waitingroom_turnstile_action_output: JsonSchema = { /** * The schema of `waitingroom_turnstile_mode` in responses. */ -export const waitingroom_turnstile_mode_output: JsonSchema = { +export const waitingroom_turnstile_mode: JsonSchema = { "enum": [ "off", "invisible", @@ -491,14 +491,14 @@ export const waitingroom_turnstile_mode_output: JsonSchema = { /** * The schema of `waitingroom_waiting_room_id` in responses. */ -export const waitingroom_waiting_room_id_output: JsonSchema = { +export const waitingroom_waiting_room_id: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_waiting_room_id_response` in responses. */ -export const waitingroom_waiting_room_id_response_output: JsonSchema = { +export const waitingroom_waiting_room_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-single" @@ -522,7 +522,7 @@ export const waitingroom_waiting_room_id_response_output: JsonSchema = { /** * The schema of `waitingroom_waitingroom` in responses. */ -export const waitingroom_waitingroom_output: JsonSchema = { +export const waitingroom_waitingroom: JsonSchema = { "properties": { "additional_routes": { "$ref": "#/$defs/waitingroom_additional_routes" diff --git a/src/generated/forge-mcp/waitingRooms/page/outputs.ts b/src/generated/forge-mcp/waitingRooms/page/outputs.ts index 5fcc66049..22f554800 100644 --- a/src/generated/forge-mcp/waitingRooms/page/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/page/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waitingroom_preview_response` in responses. */ -export const waitingroom_preview_response_output: JsonSchema = { +export const waitingroom_preview_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-single" @@ -30,6 +30,6 @@ export const waitingroom_preview_response_output: JsonSchema = { /** * The schema of `waitingroom_preview_url` in responses. */ -export const waitingroom_preview_url_output: JsonSchema = { +export const waitingroom_preview_url: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/waitingRooms/page/tools.ts b/src/generated/forge-mcp/waitingRooms/page/tools.ts index 9b4ba656a..12abc6abf 100644 --- a/src/generated/forge-mcp/waitingRooms/page/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/page/tools.ts @@ -3,27 +3,27 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - waitingroom_api_response_common_failure_output, - waitingroom_api_response_common_output, - waitingroom_api_response_single_output, - waitingroom_messages_output, + waitingroom_api$$response$$common, + waitingroom_api$$response$$common$$failure, + waitingroom_api$$response$$single, + waitingroom_messages, } from "../outputs.js"; import { waitingroom_custom_page_html, waitingroom_identifier, } from "../schemas.js"; import { - waitingroom_preview_response_output, - waitingroom_preview_url_output, + waitingroom_preview_response, + waitingroom_preview_url, } from "./outputs.js"; import { waitingroom_query_preview } from "./schemas.js"; /** - * The tools of `waiting_rooms.page`. + * The tools of `waitingRooms.page`. */ export const tools: readonly Tool[] = [ { - name: "waiting_rooms_page_preview", + name: "waitingRooms_page_preview", title: "Create a custom waiting room page preview", description: "Creates a waiting room page preview. Upload a custom waiting room page for preview. You will receive a preview URL in the form `http://waitingrooms.dev/preview/`. You can use the following query parameters to change the state of the preview:\n1. `force_queue`: Boolean indicating if all users will be queued in the waiting room and no one will be let into the origin website (also known as queueAll).\n2. `queue_is_full`: Boolean indicating if the waiting room's queue is currently full and not accepting new users at the moment.\n3. `queueing_method`: The queueing method currently used by the waiting room.\n\t- **fifo** indicates a FIFO queue.\n\t- **random** indicates a Random queue.\n\t- **passthrough** indicates a Passthrough queue. Keep in mind that the waiting room page will only be displayed if `force_queue=true` or `event=prequeueing` — for other cases the request will pass through to the origin. For our preview, this will be a fake origin website returning \\\"Welcome\\\". \n\t- **reject** indicates a Reject queue.\n4. `event`: Used to preview a waiting room event.\n\t- **none** indicates no event is occurring.\n\t- **prequeueing** indicates that an event is prequeueing (between `prequeue_start_time` and `event_start_time`).\n\t- **started** indicates that an event has started (between `event_start_time` and `event_end_time`).\n5. `shuffle_at_event_start`: Boolean indicating if the event will shuffle users in the prequeue when it starts. This can only be set to **true** if an event is active (`event` is not **none**).\n\nFor example, you can make a request to `http://waitingrooms.dev/preview/?force_queue=false&queue_is_full=false&queueing_method=random&event=started&shuffle_at_event_start=true`\n6. `waitTime`: Non-zero, positive integer indicating the estimated wait time in minutes. The default value is 10 minutes.\n\nFor example, you can make a request to `http://waitingrooms.dev/preview/?waitTime=50` to configure the estimated wait time as 50 minutes.", inputSchema: { @@ -32,13 +32,21 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_query_preview" }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { @@ -50,11 +58,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_preview_response", $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_preview_response": waitingroom_preview_response_output, - "waitingroom_preview_url": waitingroom_preview_url_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_preview_response": waitingroom_preview_response, + "waitingroom_preview_url": waitingroom_preview_url, }, }, annotations: { @@ -94,12 +102,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_preview_response": waitingroom_preview_response_output, - "waitingroom_preview_url": waitingroom_preview_url_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_preview_response": waitingroom_preview_response, + "waitingroom_preview_url": waitingroom_preview_url, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/rules/outputs.ts b/src/generated/forge-mcp/waitingRooms/rules/outputs.ts index da7bcc6cd..d1c80e093 100644 --- a/src/generated/forge-mcp/waitingRooms/rules/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waitingroom_rule_action` in responses. */ -export const waitingroom_rule_action_output: JsonSchema = { +export const waitingroom_rule_action: JsonSchema = { "enum": [ "bypass_waiting_room" ], @@ -16,35 +16,35 @@ export const waitingroom_rule_action_output: JsonSchema = { /** * The schema of `waitingroom_rule_description` in responses. */ -export const waitingroom_rule_description_output: JsonSchema = { +export const waitingroom_rule_description: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_rule_enabled` in responses. */ -export const waitingroom_rule_enabled_output: JsonSchema = { +export const waitingroom_rule_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `waitingroom_rule_expression` in responses. */ -export const waitingroom_rule_expression_output: JsonSchema = { +export const waitingroom_rule_expression: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_rule_id` in responses. */ -export const waitingroom_rule_id_output: JsonSchema = { +export const waitingroom_rule_id: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_rule_result` in responses. */ -export const waitingroom_rule_result_output: JsonSchema = { +export const waitingroom_rule_result: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/waitingroom_rule_action" @@ -74,14 +74,14 @@ export const waitingroom_rule_result_output: JsonSchema = { /** * The schema of `waitingroom_rule_version` in responses. */ -export const waitingroom_rule_version_output: JsonSchema = { +export const waitingroom_rule_version: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_rules_response_collection` in responses. */ -export const waitingroom_rules_response_collection_output: JsonSchema = { +export const waitingroom_rules_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-collection" diff --git a/src/generated/forge-mcp/waitingRooms/rules/tools.ts b/src/generated/forge-mcp/waitingRooms/rules/tools.ts index 5852ec2d9..a6d828ca3 100644 --- a/src/generated/forge-mcp/waitingRooms/rules/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/rules/tools.ts @@ -3,44 +3,44 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - waitingroom_api_response_collection_output, - waitingroom_api_response_common_2_output, - waitingroom_api_response_common_failure_output, - waitingroom_messages_output, - waitingroom_timestamp_output, + waitingroom_api$$response$$collection, + waitingroom_api$$response$$common$$2, + waitingroom_api$$response$$common$$failure, + waitingroom_messages, + waitingroom_timestamp, } from "../outputs.js"; import { waitingroom_identifier, waitingroom_waiting_room_id, } from "../schemas.js"; import { - waitingroom_rule_action_output, - waitingroom_rule_description_output, - waitingroom_rule_enabled_output, - waitingroom_rule_expression_output, - waitingroom_rule_id_output, - waitingroom_rule_result_output, - waitingroom_rule_version_output, - waitingroom_rules_response_collection_output, -} from "./outputs.js"; -import { - waitingroom_create_rule, - waitingroom_patch_rule, waitingroom_rule_action, waitingroom_rule_description, waitingroom_rule_enabled, waitingroom_rule_expression, waitingroom_rule_id, + waitingroom_rule_result, + waitingroom_rule_version, + waitingroom_rules_response_collection, +} from "./outputs.js"; +import { + waitingroom_create_rule, + waitingroom_patch_rule, + waitingroom_rule_action as waitingroom_rule_action$, + waitingroom_rule_description as waitingroom_rule_description$, + waitingroom_rule_enabled as waitingroom_rule_enabled$, + waitingroom_rule_expression as waitingroom_rule_expression$, + waitingroom_rule_id as waitingroom_rule_id$, waitingroom_rule_position, waitingroom_update_rules, } from "./schemas.js"; /** - * The tools of `waiting_rooms.rules`. + * The tools of `waitingRooms.rules`. */ export const tools: readonly Tool[] = [ { - name: "waiting_rooms_rules_create", + name: "waitingRooms_rules_create", title: "Create Waiting Room Rule", description: "Only available for the Waiting Room Advanced subscription. Creates a rule for a waiting room.", inputSchema: { @@ -49,44 +49,52 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_create_rule" }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", + "path", "body" ], $defs: { "waitingroom_create_rule": waitingroom_create_rule, "waitingroom_identifier": waitingroom_identifier, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_action": waitingroom_rule_action$, + "waitingroom_rule_description": waitingroom_rule_description$, + "waitingroom_rule_enabled": waitingroom_rule_enabled$, + "waitingroom_rule_expression": waitingroom_rule_expression$, "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, }, outputSchema: { "$ref": "#/$defs/waitingroom_rules_response_collection", $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -123,19 +131,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -144,50 +152,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_rules_delete", + name: "waitingRooms_rules_delete", title: "Delete Waiting Room Rule", description: "Deletes a rule for a waiting room.\n\nConfirm with the user before calling this tool. This operation deletes the rule from the waiting room.", inputSchema: { type: "object", properties: { - "rule_id": { - "$ref": "#/$defs/waitingroom_rule_id", - "description": "The ID of the rule." - }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/waitingroom_rule_id", + "description": "The ID of the rule." + }, + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id", + "rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", - "rule_id" + "path" ], $defs: { "waitingroom_identifier": waitingroom_identifier, - "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_id": waitingroom_rule_id$, "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, }, outputSchema: { "$ref": "#/$defs/waitingroom_rules_response_collection", $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -227,19 +243,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -247,7 +263,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_rules_edit", + name: "waitingRooms_rules_edit", title: "Patch Waiting Room Rule", description: "Patches a rule for a waiting room.", inputSchema: { @@ -256,32 +272,40 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_patch_rule" }, - "rule_id": { - "$ref": "#/$defs/waitingroom_rule_id", - "description": "The ID of the rule." - }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "rule_id": { + "$ref": "#/$defs/waitingroom_rule_id", + "description": "The ID of the rule." + }, + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id", + "rule_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", - "rule_id", + "path", "body" ], $defs: { "waitingroom_identifier": waitingroom_identifier, "waitingroom_patch_rule": waitingroom_patch_rule, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_action": waitingroom_rule_action$, + "waitingroom_rule_description": waitingroom_rule_description$, + "waitingroom_rule_enabled": waitingroom_rule_enabled$, + "waitingroom_rule_expression": waitingroom_rule_expression$, + "waitingroom_rule_id": waitingroom_rule_id$, "waitingroom_rule_position": waitingroom_rule_position, "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, @@ -289,18 +313,18 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_rules_response_collection", $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -340,19 +364,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -361,23 +385,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_rules_get", + name: "waitingRooms_rules_get", title: "List Waiting Room Rules", description: "Lists rules for a waiting room.", inputSchema: { type: "object", properties: { - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id" + "path" ], $defs: { "waitingroom_identifier": waitingroom_identifier, @@ -387,18 +419,18 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_rules_response_collection", $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -439,19 +471,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -459,7 +491,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_rules_update", + name: "waitingRooms_rules_update", title: "Replace Waiting Room Rules", description: "Only available for the Waiting Room Advanced subscription. Replaces all rules for a waiting room.", inputSchema: { @@ -468,26 +500,34 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_update_rules" }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", + "path", "body" ], $defs: { "waitingroom_create_rule": waitingroom_create_rule, "waitingroom_identifier": waitingroom_identifier, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_action": waitingroom_rule_action$, + "waitingroom_rule_description": waitingroom_rule_description$, + "waitingroom_rule_enabled": waitingroom_rule_enabled$, + "waitingroom_rule_expression": waitingroom_rule_expression$, "waitingroom_update_rules": waitingroom_update_rules, "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, @@ -495,18 +535,18 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_rules_response_collection", $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -546,19 +586,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-collection": waitingroom_api_response_collection_output, - "waitingroom_api-response-common-2": waitingroom_api_response_common_2_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_rule_action": waitingroom_rule_action_output, - "waitingroom_rule_description": waitingroom_rule_description_output, - "waitingroom_rule_enabled": waitingroom_rule_enabled_output, - "waitingroom_rule_expression": waitingroom_rule_expression_output, - "waitingroom_rule_id": waitingroom_rule_id_output, - "waitingroom_rule_result": waitingroom_rule_result_output, - "waitingroom_rule_version": waitingroom_rule_version_output, - "waitingroom_rules_response_collection": waitingroom_rules_response_collection_output, - "waitingroom_timestamp": waitingroom_timestamp_output, + "waitingroom_api-response-collection": waitingroom_api$$response$$collection, + "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_messages": waitingroom_messages, + "waitingroom_rule_action": waitingroom_rule_action, + "waitingroom_rule_description": waitingroom_rule_description, + "waitingroom_rule_enabled": waitingroom_rule_enabled, + "waitingroom_rule_expression": waitingroom_rule_expression, + "waitingroom_rule_id": waitingroom_rule_id, + "waitingroom_rule_result": waitingroom_rule_result, + "waitingroom_rule_version": waitingroom_rule_version, + "waitingroom_rules_response_collection": waitingroom_rules_response_collection, + "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/settings/outputs.ts b/src/generated/forge-mcp/waitingRooms/settings/outputs.ts index 8821e3430..a892c2b7e 100644 --- a/src/generated/forge-mcp/waitingRooms/settings/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/settings/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waitingroom_search_engine_crawler_bypass` in responses. */ -export const waitingroom_search_engine_crawler_bypass_output: JsonSchema = { +export const waitingroom_search_engine_crawler_bypass: JsonSchema = { "type": "boolean" }; /** * The schema of `waitingroom_zone_settings_response` in responses. */ -export const waitingroom_zone_settings_response_output: JsonSchema = { +export const waitingroom_zone_settings_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-single" diff --git a/src/generated/forge-mcp/waitingRooms/settings/tools.ts b/src/generated/forge-mcp/waitingRooms/settings/tools.ts index 7948beebe..976f21637 100644 --- a/src/generated/forge-mcp/waitingRooms/settings/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/settings/tools.ts @@ -3,27 +3,27 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - waitingroom_api_response_common_failure_output, - waitingroom_api_response_common_output, - waitingroom_api_response_single_output, - waitingroom_messages_output, + waitingroom_api$$response$$common, + waitingroom_api$$response$$common$$failure, + waitingroom_api$$response$$single, + waitingroom_messages, } from "../outputs.js"; import { waitingroom_identifier } from "../schemas.js"; import { - waitingroom_search_engine_crawler_bypass_output, - waitingroom_zone_settings_response_output, + waitingroom_search_engine_crawler_bypass, + waitingroom_zone_settings_response, } from "./outputs.js"; import { - waitingroom_search_engine_crawler_bypass, + waitingroom_search_engine_crawler_bypass as waitingroom_search_engine_crawler_bypass$, waitingroom_zone_settings, } from "./schemas.js"; /** - * The tools of `waiting_rooms.settings`. + * The tools of `waitingRooms.settings`. */ export const tools: readonly Tool[] = [ { - name: "waiting_rooms_settings_edit", + name: "waitingRooms_settings_edit", title: "Patch zone-level Waiting Room settings", description: "Patch zone-level Waiting Room settings.", inputSchema: { @@ -32,29 +32,37 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_zone_settings" }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "waitingroom_identifier": waitingroom_identifier, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass$, "waitingroom_zone_settings": waitingroom_zone_settings, }, }, outputSchema: { "$ref": "#/$defs/waitingroom_zone_settings_response", $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass_output, - "waitingroom_zone_settings_response": waitingroom_zone_settings_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, + "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, annotations: { @@ -94,12 +102,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass_output, - "waitingroom_zone_settings_response": waitingroom_zone_settings_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, + "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, request: (args) => ({ @@ -108,19 +116,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_settings_get", + name: "waitingRooms_settings_get", title: "Get zone-level Waiting Room settings", description: "Get zone-level Waiting Room settings.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "waitingroom_identifier": waitingroom_identifier, @@ -129,11 +145,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_zone_settings_response", $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass_output, - "waitingroom_zone_settings_response": waitingroom_zone_settings_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, + "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, annotations: { @@ -174,12 +190,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass_output, - "waitingroom_zone_settings_response": waitingroom_zone_settings_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, + "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, request: (args) => ({ @@ -187,7 +203,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_settings_update", + name: "waitingRooms_settings_update", title: "Update zone-level Waiting Room settings", description: "Replace zone-level Waiting Room settings.", inputSchema: { @@ -196,29 +212,37 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_zone_settings" }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "waitingroom_identifier": waitingroom_identifier, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass$, "waitingroom_zone_settings": waitingroom_zone_settings, }, }, outputSchema: { "$ref": "#/$defs/waitingroom_zone_settings_response", $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass_output, - "waitingroom_zone_settings_response": waitingroom_zone_settings_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, + "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, annotations: { @@ -258,12 +282,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass_output, - "waitingroom_zone_settings_response": waitingroom_zone_settings_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, + "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts b/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts index cb65212ef..ebbeceaa1 100644 --- a/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `waitingroom_estimated_queued_users` in responses. */ -export const waitingroom_estimated_queued_users_output: JsonSchema = { +export const waitingroom_estimated_queued_users: JsonSchema = { "type": "integer" }; /** * The schema of `waitingroom_estimated_total_active_users` in responses. */ -export const waitingroom_estimated_total_active_users_output: JsonSchema = { +export const waitingroom_estimated_total_active_users: JsonSchema = { "type": "integer" }; /** * The schema of `waitingroom_max_estimated_time_minutes` in responses. */ -export const waitingroom_max_estimated_time_minutes_output: JsonSchema = { +export const waitingroom_max_estimated_time_minutes: JsonSchema = { "type": "integer" }; /** * The schema of `waitingroom_status` in responses. */ -export const waitingroom_status_output: JsonSchema = { +export const waitingroom_status: JsonSchema = { "enum": [ "event_prequeueing", "not_queueing", @@ -40,14 +40,14 @@ export const waitingroom_status_output: JsonSchema = { /** * The schema of `waitingroom_status_event_id` in responses. */ -export const waitingroom_status_event_id_output: JsonSchema = { +export const waitingroom_status_event_id: JsonSchema = { "type": "string" }; /** * The schema of `waitingroom_status_response` in responses. */ -export const waitingroom_status_response_output: JsonSchema = { +export const waitingroom_status_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/waitingroom_api-response-single" diff --git a/src/generated/forge-mcp/waitingRooms/statuses/tools.ts b/src/generated/forge-mcp/waitingRooms/statuses/tools.ts index 2ab503462..4b4728026 100644 --- a/src/generated/forge-mcp/waitingRooms/statuses/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/statuses/tools.ts @@ -3,46 +3,54 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - waitingroom_api_response_common_failure_output, - waitingroom_api_response_common_output, - waitingroom_api_response_single_output, - waitingroom_messages_output, + waitingroom_api$$response$$common, + waitingroom_api$$response$$common$$failure, + waitingroom_api$$response$$single, + waitingroom_messages, } from "../outputs.js"; import { waitingroom_identifier, waitingroom_waiting_room_id, } from "../schemas.js"; import { - waitingroom_estimated_queued_users_output, - waitingroom_estimated_total_active_users_output, - waitingroom_max_estimated_time_minutes_output, - waitingroom_status_event_id_output, - waitingroom_status_output, - waitingroom_status_response_output, + waitingroom_estimated_queued_users, + waitingroom_estimated_total_active_users, + waitingroom_max_estimated_time_minutes, + waitingroom_status, + waitingroom_status_event_id, + waitingroom_status_response, } from "./outputs.js"; /** - * The tools of `waiting_rooms.statuses`. + * The tools of `waitingRooms.statuses`. */ export const tools: readonly Tool[] = [ { - name: "waiting_rooms_statuses_get", + name: "waitingRooms_statuses_get", title: "Get waiting room status", description: "Fetches the status of a configured waiting room. Response fields include:\n1. `status`: String indicating the status of the waiting room. The possible status are:\n\t- **not_queueing** indicates that the configured thresholds have not been met and all users are going through to the origin.\n\t- **queueing** indicates that the thresholds have been met and some users are held in the waiting room.\n\t- **event_prequeueing** indicates that an event is active and is currently prequeueing users before it starts.\n\t- **suspended** indicates that the room is suspended.\n2. `event_id`: String of the current event's `id` if an event is active, otherwise an empty string.\n3. `estimated_queued_users`: Integer of the estimated number of users currently waiting in the queue.\n4. `estimated_total_active_users`: Integer of the estimated number of users currently active on the origin.\n5. `max_estimated_time_minutes`: Integer of the maximum estimated time currently presented to the users.", inputSchema: { type: "object", properties: { - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id" + "path" ], $defs: { "waitingroom_identifier": waitingroom_identifier, @@ -52,15 +60,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/waitingroom_status_response", $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_estimated_queued_users": waitingroom_estimated_queued_users_output, - "waitingroom_estimated_total_active_users": waitingroom_estimated_total_active_users_output, - "waitingroom_max_estimated_time_minutes": waitingroom_max_estimated_time_minutes_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_status": waitingroom_status_output, - "waitingroom_status_event_id": waitingroom_status_event_id_output, - "waitingroom_status_response": waitingroom_status_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_estimated_queued_users": waitingroom_estimated_queued_users, + "waitingroom_estimated_total_active_users": waitingroom_estimated_total_active_users, + "waitingroom_max_estimated_time_minutes": waitingroom_max_estimated_time_minutes, + "waitingroom_messages": waitingroom_messages, + "waitingroom_status": waitingroom_status, + "waitingroom_status_event_id": waitingroom_status_event_id, + "waitingroom_status_response": waitingroom_status_response, }, }, annotations: { @@ -101,16 +109,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_estimated_queued_users": waitingroom_estimated_queued_users_output, - "waitingroom_estimated_total_active_users": waitingroom_estimated_total_active_users_output, - "waitingroom_max_estimated_time_minutes": waitingroom_max_estimated_time_minutes_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_status": waitingroom_status_output, - "waitingroom_status_event_id": waitingroom_status_event_id_output, - "waitingroom_status_response": waitingroom_status_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_estimated_queued_users": waitingroom_estimated_queued_users, + "waitingroom_estimated_total_active_users": waitingroom_estimated_total_active_users, + "waitingroom_max_estimated_time_minutes": waitingroom_max_estimated_time_minutes, + "waitingroom_messages": waitingroom_messages, + "waitingroom_status": waitingroom_status, + "waitingroom_status_event_id": waitingroom_status_event_id, + "waitingroom_status_response": waitingroom_status_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/tools.ts b/src/generated/forge-mcp/waitingRooms/tools.ts index 4a74c7e19..1937f8339 100644 --- a/src/generated/forge-mcp/waitingRooms/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/tools.ts @@ -2,42 +2,11 @@ /* eslint-disable */ import { type Tool, pathParam } from "../_/tool.js"; -import { - waitingroom_additional_routes_output, - waitingroom_api_response_common_failure_output, - waitingroom_api_response_common_output, - waitingroom_api_response_single_output, - waitingroom_cookie_attributes_output, - waitingroom_cookie_suffix_output, - waitingroom_custom_page_html_output, - waitingroom_default_template_language_output, - waitingroom_description_output, - waitingroom_disable_session_renewal_output, - waitingroom_enabled_origin_commands_output, - waitingroom_host_output, - waitingroom_json_response_enabled_output, - waitingroom_messages_output, - waitingroom_name_output, - waitingroom_new_users_per_minute_output, - waitingroom_next_event_prequeue_start_time_output, - waitingroom_next_event_start_time_output, - waitingroom_path_output, - waitingroom_queue_all_output, - waitingroom_queueing_method_output, - waitingroom_queueing_status_code_output, - waitingroom_session_duration_output, - waitingroom_single_response_output, - waitingroom_suspended_output, - waitingroom_timestamp_output, - waitingroom_total_active_users_output, - waitingroom_turnstile_action_output, - waitingroom_turnstile_mode_output, - waitingroom_waiting_room_id_output, - waitingroom_waiting_room_id_response_output, - waitingroom_waitingroom_output, -} from "./outputs.js"; import { waitingroom_additional_routes, + waitingroom_api$$response$$common, + waitingroom_api$$response$$common$$failure, + waitingroom_api$$response$$single, waitingroom_cookie_attributes, waitingroom_cookie_suffix, waitingroom_custom_page_html, @@ -46,29 +15,60 @@ import { waitingroom_disable_session_renewal, waitingroom_enabled_origin_commands, waitingroom_host, - waitingroom_identifier, waitingroom_json_response_enabled, + waitingroom_messages, waitingroom_name, waitingroom_new_users_per_minute, + waitingroom_next_event_prequeue_start_time, + waitingroom_next_event_start_time, waitingroom_path, - waitingroom_query_waitingroom, waitingroom_queue_all, waitingroom_queueing_method, waitingroom_queueing_status_code, waitingroom_session_duration, + waitingroom_single_response, waitingroom_suspended, + waitingroom_timestamp, waitingroom_total_active_users, waitingroom_turnstile_action, waitingroom_turnstile_mode, waitingroom_waiting_room_id, + waitingroom_waiting_room_id_response, + waitingroom_waitingroom, +} from "./outputs.js"; +import { + waitingroom_additional_routes as waitingroom_additional_routes$, + waitingroom_cookie_attributes as waitingroom_cookie_attributes$, + waitingroom_cookie_suffix as waitingroom_cookie_suffix$, + waitingroom_custom_page_html as waitingroom_custom_page_html$, + waitingroom_default_template_language as waitingroom_default_template_language$, + waitingroom_description as waitingroom_description$, + waitingroom_disable_session_renewal as waitingroom_disable_session_renewal$, + waitingroom_enabled_origin_commands as waitingroom_enabled_origin_commands$, + waitingroom_host as waitingroom_host$, + waitingroom_identifier, + waitingroom_json_response_enabled as waitingroom_json_response_enabled$, + waitingroom_name as waitingroom_name$, + waitingroom_new_users_per_minute as waitingroom_new_users_per_minute$, + waitingroom_path as waitingroom_path$, + waitingroom_query_waitingroom, + waitingroom_queue_all as waitingroom_queue_all$, + waitingroom_queueing_method as waitingroom_queueing_method$, + waitingroom_queueing_status_code as waitingroom_queueing_status_code$, + waitingroom_session_duration as waitingroom_session_duration$, + waitingroom_suspended as waitingroom_suspended$, + waitingroom_total_active_users as waitingroom_total_active_users$, + waitingroom_turnstile_action as waitingroom_turnstile_action$, + waitingroom_turnstile_mode as waitingroom_turnstile_mode$, + waitingroom_waiting_room_id as waitingroom_waiting_room_id$, } from "./schemas.js"; /** - * The tools of `waiting_rooms`. + * The tools of `waitingRooms`. */ export const tools: readonly Tool[] = [ { - name: "waiting_rooms_create", + name: "waitingRooms_create", title: "Create waiting room", description: "Creates a new waiting room.", inputSchema: { @@ -77,17 +77,55 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_query_waitingroom" }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], + $defs: { + "waitingroom_additional_routes": waitingroom_additional_routes$, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes$, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix$, + "waitingroom_custom_page_html": waitingroom_custom_page_html$, + "waitingroom_default_template_language": waitingroom_default_template_language$, + "waitingroom_description": waitingroom_description$, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal$, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands$, + "waitingroom_host": waitingroom_host$, + "waitingroom_identifier": waitingroom_identifier, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled$, + "waitingroom_name": waitingroom_name$, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute$, + "waitingroom_path": waitingroom_path$, + "waitingroom_query_waitingroom": waitingroom_query_waitingroom, + "waitingroom_queue_all": waitingroom_queue_all$, + "waitingroom_queueing_method": waitingroom_queueing_method$, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code$, + "waitingroom_session_duration": waitingroom_session_duration$, + "waitingroom_suspended": waitingroom_suspended$, + "waitingroom_total_active_users": waitingroom_total_active_users$, + "waitingroom_turnstile_action": waitingroom_turnstile_action$, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode$, + }, + }, + outputSchema: { + "$ref": "#/$defs/waitingroom_single_response", $defs: { "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, "waitingroom_cookie_suffix": waitingroom_cookie_suffix, "waitingroom_custom_page_html": waitingroom_custom_page_html, @@ -96,55 +134,25 @@ export const tools: readonly Tool[] = [ "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, "waitingroom_host": waitingroom_host, - "waitingroom_identifier": waitingroom_identifier, "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, "waitingroom_name": waitingroom_name, "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, "waitingroom_path": waitingroom_path, - "waitingroom_query_waitingroom": waitingroom_query_waitingroom, "waitingroom_queue_all": waitingroom_queue_all, "waitingroom_queueing_method": waitingroom_queueing_method, "waitingroom_queueing_status_code": waitingroom_queueing_status_code, "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_single_response": waitingroom_single_response, "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, "waitingroom_total_active_users": waitingroom_total_active_users, "waitingroom_turnstile_action": waitingroom_turnstile_action, "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - }, - }, - outputSchema: { - "$ref": "#/$defs/waitingroom_single_response", - $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_single_response": waitingroom_single_response_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, annotations: { @@ -184,37 +192,37 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_single_response": waitingroom_single_response_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix, + "waitingroom_custom_page_html": waitingroom_custom_page_html, + "waitingroom_default_template_language": waitingroom_default_template_language, + "waitingroom_description": waitingroom_description, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, + "waitingroom_host": waitingroom_host, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, + "waitingroom_name": waitingroom_name, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, + "waitingroom_path": waitingroom_path, + "waitingroom_queue_all": waitingroom_queue_all, + "waitingroom_queueing_method": waitingroom_queueing_method, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code, + "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_single_response": waitingroom_single_response, + "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, + "waitingroom_total_active_users": waitingroom_total_active_users, + "waitingroom_turnstile_action": waitingroom_turnstile_action, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, request: (args) => ({ @@ -223,37 +231,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_delete", + name: "waitingRooms_delete", title: "Delete waiting room", description: "Deletes a waiting room.\n\nConfirm with the user before calling this tool. This operation deletes the waiting room from the zone.", inputSchema: { type: "object", properties: { - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id" + "path" ], $defs: { "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id$, }, }, outputSchema: { "$ref": "#/$defs/waitingroom_waiting_room_id_response", $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waiting_room_id_response": waitingroom_waiting_room_id_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waiting_room_id_response": waitingroom_waiting_room_id_response, }, }, annotations: { @@ -293,12 +309,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waiting_room_id_response": waitingroom_waiting_room_id_response_output, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_messages": waitingroom_messages, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waiting_room_id_response": waitingroom_waiting_room_id_response, }, }, request: (args) => ({ @@ -306,7 +322,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_edit", + name: "waitingRooms_edit", title: "Patch waiting room", description: "Patches a configured waiting room.", inputSchema: { @@ -315,21 +331,60 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_query_waitingroom" }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", + "path", "body" ], + $defs: { + "waitingroom_additional_routes": waitingroom_additional_routes$, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes$, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix$, + "waitingroom_custom_page_html": waitingroom_custom_page_html$, + "waitingroom_default_template_language": waitingroom_default_template_language$, + "waitingroom_description": waitingroom_description$, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal$, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands$, + "waitingroom_host": waitingroom_host$, + "waitingroom_identifier": waitingroom_identifier, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled$, + "waitingroom_name": waitingroom_name$, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute$, + "waitingroom_path": waitingroom_path$, + "waitingroom_query_waitingroom": waitingroom_query_waitingroom, + "waitingroom_queue_all": waitingroom_queue_all$, + "waitingroom_queueing_method": waitingroom_queueing_method$, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code$, + "waitingroom_session_duration": waitingroom_session_duration$, + "waitingroom_suspended": waitingroom_suspended$, + "waitingroom_total_active_users": waitingroom_total_active_users$, + "waitingroom_turnstile_action": waitingroom_turnstile_action$, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode$, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id$, + }, + }, + outputSchema: { + "$ref": "#/$defs/waitingroom_single_response", $defs: { "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, "waitingroom_cookie_suffix": waitingroom_cookie_suffix, "waitingroom_custom_page_html": waitingroom_custom_page_html, @@ -338,56 +393,25 @@ export const tools: readonly Tool[] = [ "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, "waitingroom_host": waitingroom_host, - "waitingroom_identifier": waitingroom_identifier, "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, "waitingroom_name": waitingroom_name, "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, "waitingroom_path": waitingroom_path, - "waitingroom_query_waitingroom": waitingroom_query_waitingroom, "waitingroom_queue_all": waitingroom_queue_all, "waitingroom_queueing_method": waitingroom_queueing_method, "waitingroom_queueing_status_code": waitingroom_queueing_status_code, "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_single_response": waitingroom_single_response, "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, "waitingroom_total_active_users": waitingroom_total_active_users, "waitingroom_turnstile_action": waitingroom_turnstile_action, "waitingroom_turnstile_mode": waitingroom_turnstile_mode, "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, - }, - outputSchema: { - "$ref": "#/$defs/waitingroom_single_response", - $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_single_response": waitingroom_single_response_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, annotations: { @@ -427,37 +451,37 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_single_response": waitingroom_single_response_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix, + "waitingroom_custom_page_html": waitingroom_custom_page_html, + "waitingroom_default_template_language": waitingroom_default_template_language, + "waitingroom_description": waitingroom_description, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, + "waitingroom_host": waitingroom_host, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, + "waitingroom_name": waitingroom_name, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, + "waitingroom_path": waitingroom_path, + "waitingroom_queue_all": waitingroom_queue_all, + "waitingroom_queueing_method": waitingroom_queueing_method, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code, + "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_single_response": waitingroom_single_response, + "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, + "waitingroom_total_active_users": waitingroom_total_active_users, + "waitingroom_turnstile_action": waitingroom_turnstile_action, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, request: (args) => ({ @@ -466,62 +490,70 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_get", + name: "waitingRooms_get", title: "Waiting room details", description: "Fetches a single configured waiting room.", inputSchema: { type: "object", properties: { - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id" + "path" ], $defs: { "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id$, }, }, outputSchema: { "$ref": "#/$defs/waitingroom_single_response", $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_single_response": waitingroom_single_response_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix, + "waitingroom_custom_page_html": waitingroom_custom_page_html, + "waitingroom_default_template_language": waitingroom_default_template_language, + "waitingroom_description": waitingroom_description, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, + "waitingroom_host": waitingroom_host, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, + "waitingroom_name": waitingroom_name, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, + "waitingroom_path": waitingroom_path, + "waitingroom_queue_all": waitingroom_queue_all, + "waitingroom_queueing_method": waitingroom_queueing_method, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code, + "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_single_response": waitingroom_single_response, + "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, + "waitingroom_total_active_users": waitingroom_total_active_users, + "waitingroom_turnstile_action": waitingroom_turnstile_action, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, annotations: { @@ -562,37 +594,37 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_single_response": waitingroom_single_response_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix, + "waitingroom_custom_page_html": waitingroom_custom_page_html, + "waitingroom_default_template_language": waitingroom_default_template_language, + "waitingroom_description": waitingroom_description, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, + "waitingroom_host": waitingroom_host, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, + "waitingroom_name": waitingroom_name, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, + "waitingroom_path": waitingroom_path, + "waitingroom_queue_all": waitingroom_queue_all, + "waitingroom_queueing_method": waitingroom_queueing_method, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code, + "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_single_response": waitingroom_single_response, + "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, + "waitingroom_total_active_users": waitingroom_total_active_users, + "waitingroom_turnstile_action": waitingroom_turnstile_action, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, request: (args) => ({ @@ -600,7 +632,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "waiting_rooms_update", + name: "waitingRooms_update", title: "Update waiting room", description: "Updates a configured waiting room.", inputSchema: { @@ -609,21 +641,60 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/waitingroom_query_waitingroom" }, - "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" - }, - "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "path": { + "properties": { + "waiting_room_id": { + "$ref": "#/$defs/waitingroom_waiting_room_id" + }, + "zone_id": { + "$ref": "#/$defs/waitingroom_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "waiting_room_id" + ], + "type": "object" } }, required: [ - "zone_id", - "waiting_room_id", + "path", "body" ], + $defs: { + "waitingroom_additional_routes": waitingroom_additional_routes$, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes$, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix$, + "waitingroom_custom_page_html": waitingroom_custom_page_html$, + "waitingroom_default_template_language": waitingroom_default_template_language$, + "waitingroom_description": waitingroom_description$, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal$, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands$, + "waitingroom_host": waitingroom_host$, + "waitingroom_identifier": waitingroom_identifier, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled$, + "waitingroom_name": waitingroom_name$, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute$, + "waitingroom_path": waitingroom_path$, + "waitingroom_query_waitingroom": waitingroom_query_waitingroom, + "waitingroom_queue_all": waitingroom_queue_all$, + "waitingroom_queueing_method": waitingroom_queueing_method$, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code$, + "waitingroom_session_duration": waitingroom_session_duration$, + "waitingroom_suspended": waitingroom_suspended$, + "waitingroom_total_active_users": waitingroom_total_active_users$, + "waitingroom_turnstile_action": waitingroom_turnstile_action$, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode$, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id$, + }, + }, + outputSchema: { + "$ref": "#/$defs/waitingroom_single_response", $defs: { "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, "waitingroom_cookie_suffix": waitingroom_cookie_suffix, "waitingroom_custom_page_html": waitingroom_custom_page_html, @@ -632,56 +703,25 @@ export const tools: readonly Tool[] = [ "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, "waitingroom_host": waitingroom_host, - "waitingroom_identifier": waitingroom_identifier, "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, "waitingroom_name": waitingroom_name, "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, "waitingroom_path": waitingroom_path, - "waitingroom_query_waitingroom": waitingroom_query_waitingroom, "waitingroom_queue_all": waitingroom_queue_all, "waitingroom_queueing_method": waitingroom_queueing_method, "waitingroom_queueing_status_code": waitingroom_queueing_status_code, "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_single_response": waitingroom_single_response, "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, "waitingroom_total_active_users": waitingroom_total_active_users, "waitingroom_turnstile_action": waitingroom_turnstile_action, "waitingroom_turnstile_mode": waitingroom_turnstile_mode, "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, - }, - outputSchema: { - "$ref": "#/$defs/waitingroom_single_response", - $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_single_response": waitingroom_single_response_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, annotations: { @@ -721,37 +761,37 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "waitingroom_additional_routes": waitingroom_additional_routes_output, - "waitingroom_api-response-common": waitingroom_api_response_common_output, - "waitingroom_api-response-common-failure": waitingroom_api_response_common_failure_output, - "waitingroom_api-response-single": waitingroom_api_response_single_output, - "waitingroom_cookie_attributes": waitingroom_cookie_attributes_output, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix_output, - "waitingroom_custom_page_html": waitingroom_custom_page_html_output, - "waitingroom_default_template_language": waitingroom_default_template_language_output, - "waitingroom_description": waitingroom_description_output, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal_output, - "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands_output, - "waitingroom_host": waitingroom_host_output, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled_output, - "waitingroom_messages": waitingroom_messages_output, - "waitingroom_name": waitingroom_name_output, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute_output, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time_output, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time_output, - "waitingroom_path": waitingroom_path_output, - "waitingroom_queue_all": waitingroom_queue_all_output, - "waitingroom_queueing_method": waitingroom_queueing_method_output, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code_output, - "waitingroom_session_duration": waitingroom_session_duration_output, - "waitingroom_single_response": waitingroom_single_response_output, - "waitingroom_suspended": waitingroom_suspended_output, - "waitingroom_timestamp": waitingroom_timestamp_output, - "waitingroom_total_active_users": waitingroom_total_active_users_output, - "waitingroom_turnstile_action": waitingroom_turnstile_action_output, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode_output, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id_output, - "waitingroom_waitingroom": waitingroom_waitingroom_output, + "waitingroom_additional_routes": waitingroom_additional_routes, + "waitingroom_api-response-common": waitingroom_api$$response$$common, + "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, + "waitingroom_api-response-single": waitingroom_api$$response$$single, + "waitingroom_cookie_attributes": waitingroom_cookie_attributes, + "waitingroom_cookie_suffix": waitingroom_cookie_suffix, + "waitingroom_custom_page_html": waitingroom_custom_page_html, + "waitingroom_default_template_language": waitingroom_default_template_language, + "waitingroom_description": waitingroom_description, + "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, + "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, + "waitingroom_host": waitingroom_host, + "waitingroom_json_response_enabled": waitingroom_json_response_enabled, + "waitingroom_messages": waitingroom_messages, + "waitingroom_name": waitingroom_name, + "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, + "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, + "waitingroom_next_event_start_time": waitingroom_next_event_start_time, + "waitingroom_path": waitingroom_path, + "waitingroom_queue_all": waitingroom_queue_all, + "waitingroom_queueing_method": waitingroom_queueing_method, + "waitingroom_queueing_status_code": waitingroom_queueing_status_code, + "waitingroom_session_duration": waitingroom_session_duration, + "waitingroom_single_response": waitingroom_single_response, + "waitingroom_suspended": waitingroom_suspended, + "waitingroom_timestamp": waitingroom_timestamp, + "waitingroom_total_active_users": waitingroom_total_active_users, + "waitingroom_turnstile_action": waitingroom_turnstile_action, + "waitingroom_turnstile_mode": waitingroom_turnstile_mode, + "waitingroom_waiting_room_id": waitingroom_waiting_room_id, + "waitingroom_waitingroom": waitingroom_waitingroom, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/outputs.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/outputs.ts index e3e6cb1bd..c374faa92 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/outputs.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; /** * The schema of `web3_content_list_entry_collection_response` in responses. */ -export const web3_content_list_entry_collection_response_output: JsonSchema = { +export const web3_content_list_entry_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/web3_api-response-collection" @@ -30,7 +30,7 @@ export const web3_content_list_entry_collection_response_output: JsonSchema = { /** * The schema of `web3_content_list_entry_single_response` in responses. */ -export const web3_content_list_entry_single_response_output: JsonSchema = { +export const web3_content_list_entry_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/web3_api-response-single" diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts index c937a5ed8..53b8bca34 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts @@ -3,41 +3,41 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { - web3_api_response_collection_output, - web3_api_response_common_failure_output, - web3_api_response_common_output, - web3_api_response_single_id_output, - web3_api_response_single_output, - web3_identifier_output, - web3_messages_output, - web3_result_info_output, - web3_timestamp_output, + web3_api$$response$$collection, + web3_api$$response$$common, + web3_api$$response$$common$$failure, + web3_api$$response$$single, + web3_api$$response$$single$$id, + web3_identifier, + web3_messages, + web3_result_info, + web3_timestamp, } from "../../../outputs.js"; -import { web3_identifier } from "../../../schemas.js"; -import { - web3_content_list_entries_output, - web3_content_list_entry_content_output, - web3_content_list_entry_description_output, - web3_content_list_entry_output, - web3_content_list_entry_type_output, -} from "../outputs.js"; +import { web3_identifier as web3_identifier$ } from "../../../schemas.js"; import { + web3_content_list_entries, + web3_content_list_entry, web3_content_list_entry_content, web3_content_list_entry_description, web3_content_list_entry_type, +} from "../outputs.js"; +import { + web3_content_list_entry_content as web3_content_list_entry_content$, + web3_content_list_entry_description as web3_content_list_entry_description$, + web3_content_list_entry_type as web3_content_list_entry_type$, } from "../schemas.js"; import { - web3_content_list_entry_collection_response_output, - web3_content_list_entry_single_response_output, + web3_content_list_entry_collection_response, + web3_content_list_entry_single_response, } from "./outputs.js"; import { web3_content_list_entry_create_request } from "./schemas.js"; /** - * The tools of `web3.hostnames.ipfs_universal_paths.content_lists.entries`. + * The tools of `web3.hostnames.ipfsUniversalPaths.contentLists.entries`. */ export const tools: readonly Tool[] = [ { - name: "web3_hostnames_ipfs_universal_paths_content_lists_entries_create", + name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_create", title: "Create IPFS Universal Path Gateway Content List Entry", description: "Create IPFS Universal Path Gateway Content List Entry", inputSchema: { @@ -46,41 +46,49 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/web3_content_list_entry_create_request" }, - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier", + "path", "body" ], $defs: { - "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_content": web3_content_list_entry_content$, "web3_content_list_entry_create_request": web3_content_list_entry_create_request, - "web3_content_list_entry_description": web3_content_list_entry_description, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, + "web3_content_list_entry_description": web3_content_list_entry_description$, + "web3_content_list_entry_type": web3_content_list_entry_type$, + "web3_identifier": web3_identifier$, }, }, outputSchema: { "$ref": "#/$defs/web3_content_list_entry_single_response", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_entry": web3_content_list_entry_output, - "web3_content_list_entry_content": web3_content_list_entry_content_output, - "web3_content_list_entry_description": web3_content_list_entry_description_output, - "web3_content_list_entry_single_response": web3_content_list_entry_single_response_output, - "web3_content_list_entry_type": web3_content_list_entry_type_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_timestamp": web3_timestamp_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_entry": web3_content_list_entry, + "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_description": web3_content_list_entry_description, + "web3_content_list_entry_single_response": web3_content_list_entry_single_response, + "web3_content_list_entry_type": web3_content_list_entry_type, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_timestamp": web3_timestamp, }, }, annotations: { @@ -127,17 +135,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_entry": web3_content_list_entry_output, - "web3_content_list_entry_content": web3_content_list_entry_content_output, - "web3_content_list_entry_description": web3_content_list_entry_description_output, - "web3_content_list_entry_single_response": web3_content_list_entry_single_response_output, - "web3_content_list_entry_type": web3_content_list_entry_type_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_timestamp": web3_timestamp_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_entry": web3_content_list_entry, + "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_description": web3_content_list_entry_description, + "web3_content_list_entry_single_response": web3_content_list_entry_single_response, + "web3_content_list_entry_type": web3_content_list_entry_type, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_timestamp": web3_timestamp, }, }, request: (args) => ({ @@ -146,43 +154,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web3_hostnames_ipfs_universal_paths_content_lists_entries_delete", + name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_delete", title: "Delete IPFS Universal Path Gateway Content List Entry", description: "Delete IPFS Universal Path Gateway Content List Entry", inputSchema: { type: "object", properties: { "body": {}, - "content_list_entry_identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "content_list_entry_identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier", + "content_list_entry_identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier", - "content_list_entry_identifier", + "path", "body" ], $defs: { - "web3_identifier": web3_identifier, + "web3_identifier": web3_identifier$, }, }, outputSchema: { "$ref": "#/$defs/web3_api-response-single-id", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single-id": web3_api_response_single_id_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single-id": web3_api$$response$$single$$id, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, }, }, annotations: { @@ -232,11 +248,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single-id": web3_api_response_single_id_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single-id": web3_api$$response$$single$$id, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, }, }, request: (args) => ({ @@ -245,47 +261,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web3_hostnames_ipfs_universal_paths_content_lists_entries_get", + name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_get", title: "IPFS Universal Path Gateway Content List Entry Details", description: "IPFS Universal Path Gateway Content List Entry Details", inputSchema: { type: "object", properties: { - "content_list_entry_identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "content_list_entry_identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier", + "content_list_entry_identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier", - "content_list_entry_identifier" + "path" ], $defs: { - "web3_identifier": web3_identifier, + "web3_identifier": web3_identifier$, }, }, outputSchema: { "$ref": "#/$defs/web3_content_list_entry_single_response", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_entry": web3_content_list_entry_output, - "web3_content_list_entry_content": web3_content_list_entry_content_output, - "web3_content_list_entry_description": web3_content_list_entry_description_output, - "web3_content_list_entry_single_response": web3_content_list_entry_single_response_output, - "web3_content_list_entry_type": web3_content_list_entry_type_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_timestamp": web3_timestamp_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_entry": web3_content_list_entry, + "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_description": web3_content_list_entry_description, + "web3_content_list_entry_single_response": web3_content_list_entry_single_response, + "web3_content_list_entry_type": web3_content_list_entry_type, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_timestamp": web3_timestamp, }, }, annotations: { @@ -336,17 +360,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_entry": web3_content_list_entry_output, - "web3_content_list_entry_content": web3_content_list_entry_content_output, - "web3_content_list_entry_description": web3_content_list_entry_description_output, - "web3_content_list_entry_single_response": web3_content_list_entry_single_response_output, - "web3_content_list_entry_type": web3_content_list_entry_type_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_timestamp": web3_timestamp_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_entry": web3_content_list_entry, + "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_description": web3_content_list_entry_description, + "web3_content_list_entry_single_response": web3_content_list_entry_single_response, + "web3_content_list_entry_type": web3_content_list_entry_type, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_timestamp": web3_timestamp, }, }, request: (args) => ({ @@ -354,44 +378,52 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web3_hostnames_ipfs_universal_paths_content_lists_entries_list", + name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_list", title: "List IPFS Universal Path Gateway Content List Entries", description: "List IPFS Universal Path Gateway Content List Entries", inputSchema: { type: "object", properties: { - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier" + "path" ], $defs: { - "web3_identifier": web3_identifier, + "web3_identifier": web3_identifier$, }, }, outputSchema: { "$ref": "#/$defs/web3_content_list_entry_collection_response", $defs: { - "web3_api-response-collection": web3_api_response_collection_output, - "web3_api-response-common": web3_api_response_common_output, - "web3_content_list_entries": web3_content_list_entries_output, - "web3_content_list_entry": web3_content_list_entry_output, - "web3_content_list_entry_collection_response": web3_content_list_entry_collection_response_output, - "web3_content_list_entry_content": web3_content_list_entry_content_output, - "web3_content_list_entry_description": web3_content_list_entry_description_output, - "web3_content_list_entry_type": web3_content_list_entry_type_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_result_info": web3_result_info_output, - "web3_timestamp": web3_timestamp_output, + "web3_api-response-collection": web3_api$$response$$collection, + "web3_api-response-common": web3_api$$response$$common, + "web3_content_list_entries": web3_content_list_entries, + "web3_content_list_entry": web3_content_list_entry, + "web3_content_list_entry_collection_response": web3_content_list_entry_collection_response, + "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_description": web3_content_list_entry_description, + "web3_content_list_entry_type": web3_content_list_entry_type, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_result_info": web3_result_info, + "web3_timestamp": web3_timestamp, }, }, annotations: { @@ -442,19 +474,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-collection": web3_api_response_collection_output, - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_content_list_entries": web3_content_list_entries_output, - "web3_content_list_entry": web3_content_list_entry_output, - "web3_content_list_entry_collection_response": web3_content_list_entry_collection_response_output, - "web3_content_list_entry_content": web3_content_list_entry_content_output, - "web3_content_list_entry_description": web3_content_list_entry_description_output, - "web3_content_list_entry_type": web3_content_list_entry_type_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_result_info": web3_result_info_output, - "web3_timestamp": web3_timestamp_output, + "web3_api-response-collection": web3_api$$response$$collection, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_content_list_entries": web3_content_list_entries, + "web3_content_list_entry": web3_content_list_entry, + "web3_content_list_entry_collection_response": web3_content_list_entry_collection_response, + "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_description": web3_content_list_entry_description, + "web3_content_list_entry_type": web3_content_list_entry_type, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_result_info": web3_result_info, + "web3_timestamp": web3_timestamp, }, }, request: (args) => ({ @@ -462,7 +494,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web3_hostnames_ipfs_universal_paths_content_lists_entries_update", + name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_update", title: "Edit IPFS Universal Path Gateway Content List Entry", description: "Edit IPFS Universal Path Gateway Content List Entry", inputSchema: { @@ -471,46 +503,54 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/web3_content_list_entry_create_request" }, - "content_list_entry_identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "content_list_entry_identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier", + "content_list_entry_identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier", - "content_list_entry_identifier", + "path", "body" ], $defs: { - "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_content": web3_content_list_entry_content$, "web3_content_list_entry_create_request": web3_content_list_entry_create_request, - "web3_content_list_entry_description": web3_content_list_entry_description, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, + "web3_content_list_entry_description": web3_content_list_entry_description$, + "web3_content_list_entry_type": web3_content_list_entry_type$, + "web3_identifier": web3_identifier$, }, }, outputSchema: { "$ref": "#/$defs/web3_content_list_entry_single_response", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_entry": web3_content_list_entry_output, - "web3_content_list_entry_content": web3_content_list_entry_content_output, - "web3_content_list_entry_description": web3_content_list_entry_description_output, - "web3_content_list_entry_single_response": web3_content_list_entry_single_response_output, - "web3_content_list_entry_type": web3_content_list_entry_type_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_timestamp": web3_timestamp_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_entry": web3_content_list_entry, + "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_description": web3_content_list_entry_description, + "web3_content_list_entry_single_response": web3_content_list_entry_single_response, + "web3_content_list_entry_type": web3_content_list_entry_type, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_timestamp": web3_timestamp, }, }, annotations: { @@ -560,17 +600,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_entry": web3_content_list_entry_output, - "web3_content_list_entry_content": web3_content_list_entry_content_output, - "web3_content_list_entry_description": web3_content_list_entry_description_output, - "web3_content_list_entry_single_response": web3_content_list_entry_single_response_output, - "web3_content_list_entry_type": web3_content_list_entry_type_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_timestamp": web3_timestamp_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_entry": web3_content_list_entry, + "web3_content_list_entry_content": web3_content_list_entry_content, + "web3_content_list_entry_description": web3_content_list_entry_description, + "web3_content_list_entry_single_response": web3_content_list_entry_single_response, + "web3_content_list_entry_type": web3_content_list_entry_type, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_timestamp": web3_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts index 55c99c80d..3c92d2604 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `web3_content_list_action` in responses. */ -export const web3_content_list_action_output: JsonSchema = { +export const web3_content_list_action: JsonSchema = { "enum": [ "block" ], @@ -16,7 +16,7 @@ export const web3_content_list_action_output: JsonSchema = { /** * The schema of `web3_content_list_details` in responses. */ -export const web3_content_list_details_output: JsonSchema = { +export const web3_content_list_details: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/web3_content_list_action" @@ -28,7 +28,7 @@ export const web3_content_list_details_output: JsonSchema = { /** * The schema of `web3_content_list_details_response` in responses. */ -export const web3_content_list_details_response_output: JsonSchema = { +export const web3_content_list_details_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/web3_api-response-single" @@ -47,7 +47,7 @@ export const web3_content_list_details_response_output: JsonSchema = { /** * The schema of `web3_content_list_entries` in responses. */ -export const web3_content_list_entries_output: JsonSchema = { +export const web3_content_list_entries: JsonSchema = { "items": { "$ref": "#/$defs/web3_content_list_entry" }, @@ -57,7 +57,7 @@ export const web3_content_list_entries_output: JsonSchema = { /** * The schema of `web3_content_list_entry` in responses. */ -export const web3_content_list_entry_output: JsonSchema = { +export const web3_content_list_entry: JsonSchema = { "properties": { "content": { "$ref": "#/$defs/web3_content_list_entry_content" @@ -84,21 +84,21 @@ export const web3_content_list_entry_output: JsonSchema = { /** * The schema of `web3_content_list_entry_content` in responses. */ -export const web3_content_list_entry_content_output: JsonSchema = { +export const web3_content_list_entry_content: JsonSchema = { "type": "string" }; /** * The schema of `web3_content_list_entry_description` in responses. */ -export const web3_content_list_entry_description_output: JsonSchema = { +export const web3_content_list_entry_description: JsonSchema = { "type": "string" }; /** * The schema of `web3_content_list_entry_type` in responses. */ -export const web3_content_list_entry_type_output: JsonSchema = { +export const web3_content_list_entry_type: JsonSchema = { "enum": [ "cid", "content_path" diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts index b9813f8c9..4fe5f9b8a 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts @@ -3,19 +3,19 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - web3_api_response_common_failure_output, - web3_api_response_common_output, - web3_api_response_single_output, - web3_messages_output, + web3_api$$response$$common, + web3_api$$response$$common$$failure, + web3_api$$response$$single, + web3_messages, } from "../../outputs.js"; import { web3_identifier } from "../../schemas.js"; import { - web3_content_list_action_output, - web3_content_list_details_output, - web3_content_list_details_response_output, + web3_content_list_action, + web3_content_list_details, + web3_content_list_details_response, } from "./outputs.js"; import { - web3_content_list_action, + web3_content_list_action as web3_content_list_action$, web3_content_list_entries, web3_content_list_entry, web3_content_list_entry_content, @@ -25,28 +25,36 @@ import { } from "./schemas.js"; /** - * The tools of `web3.hostnames.ipfs_universal_paths.content_lists`. + * The tools of `web3.hostnames.ipfsUniversalPaths.contentLists`. */ export const tools: readonly Tool[] = [ { - name: "web3_hostnames_ipfs_universal_paths_content_lists_get", + name: "web3_hostnames_ipfsUniversalPaths_contentLists_get", title: "IPFS Universal Path Gateway Content List Details", description: "IPFS Universal Path Gateway Content List Details", inputSchema: { type: "object", properties: { - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier" + "path" ], $defs: { "web3_identifier": web3_identifier, @@ -55,12 +63,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/web3_content_list_details_response", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_action": web3_content_list_action_output, - "web3_content_list_details": web3_content_list_details_output, - "web3_content_list_details_response": web3_content_list_details_response_output, - "web3_messages": web3_messages_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_action": web3_content_list_action, + "web3_content_list_details": web3_content_list_details, + "web3_content_list_details_response": web3_content_list_details_response, + "web3_messages": web3_messages, }, }, annotations: { @@ -111,13 +119,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_action": web3_content_list_action_output, - "web3_content_list_details": web3_content_list_details_output, - "web3_content_list_details_response": web3_content_list_details_response_output, - "web3_messages": web3_messages_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_action": web3_content_list_action, + "web3_content_list_details": web3_content_list_details, + "web3_content_list_details_response": web3_content_list_details_response, + "web3_messages": web3_messages, }, }, request: (args) => ({ @@ -125,7 +133,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web3_hostnames_ipfs_universal_paths_content_lists_update", + name: "web3_hostnames_ipfsUniversalPaths_contentLists_update", title: "Update IPFS Universal Path Gateway Content List", description: "Update IPFS Universal Path Gateway Content List", inputSchema: { @@ -134,22 +142,30 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/web3_content_list_update_request" }, - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier", + "path", "body" ], $defs: { - "web3_content_list_action": web3_content_list_action, + "web3_content_list_action": web3_content_list_action$, "web3_content_list_entries": web3_content_list_entries, "web3_content_list_entry": web3_content_list_entry, "web3_content_list_entry_content": web3_content_list_entry_content, @@ -162,12 +178,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/web3_content_list_details_response", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_action": web3_content_list_action_output, - "web3_content_list_details": web3_content_list_details_output, - "web3_content_list_details_response": web3_content_list_details_response_output, - "web3_messages": web3_messages_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_action": web3_content_list_action, + "web3_content_list_details": web3_content_list_details, + "web3_content_list_details_response": web3_content_list_details_response, + "web3_messages": web3_messages, }, }, annotations: { @@ -217,13 +233,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_content_list_action": web3_content_list_action_output, - "web3_content_list_details": web3_content_list_details_output, - "web3_content_list_details_response": web3_content_list_details_response_output, - "web3_messages": web3_messages_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single": web3_api$$response$$single, + "web3_content_list_action": web3_content_list_action, + "web3_content_list_details": web3_content_list_details, + "web3_content_list_details_response": web3_content_list_details_response, + "web3_messages": web3_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/web3/hostnames/outputs.ts b/src/generated/forge-mcp/web3/hostnames/outputs.ts index 696e692c3..69e354ca3 100644 --- a/src/generated/forge-mcp/web3/hostnames/outputs.ts +++ b/src/generated/forge-mcp/web3/hostnames/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `web3_api-response-collection` in responses. */ -export const web3_api_response_collection_output: JsonSchema = { +export const web3_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/web3_api-response-common" @@ -36,7 +36,7 @@ export const web3_api_response_collection_output: JsonSchema = { /** * The schema of `web3_api-response-common` in responses. */ -export const web3_api_response_common_output: JsonSchema = { +export const web3_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/web3_messages" @@ -77,7 +77,7 @@ export const web3_api_response_common_output: JsonSchema = { /** * The schema of `web3_api-response-common-failure` in responses. */ -export const web3_api_response_common_failure_output: JsonSchema = { +export const web3_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/web3_messages" @@ -107,7 +107,7 @@ export const web3_api_response_common_failure_output: JsonSchema = { /** * The schema of `web3_api-response-single` in responses. */ -export const web3_api_response_single_output: JsonSchema = { +export const web3_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/web3_api-response-common" @@ -136,7 +136,7 @@ export const web3_api_response_single_output: JsonSchema = { /** * The schema of `web3_api-response-single-id` in responses. */ -export const web3_api_response_single_id_output: JsonSchema = { +export const web3_api$$response$$single$$id: JsonSchema = { "allOf": [ { "$ref": "#/$defs/web3_api-response-common" @@ -170,7 +170,7 @@ export const web3_api_response_single_id_output: JsonSchema = { /** * The schema of `web3_collection_response` in responses. */ -export const web3_collection_response_output: JsonSchema = { +export const web3_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/web3_api-response-collection" @@ -192,28 +192,28 @@ export const web3_collection_response_output: JsonSchema = { /** * The schema of `web3_description` in responses. */ -export const web3_description_output: JsonSchema = { +export const web3_description: JsonSchema = { "type": "string" }; /** * The schema of `web3_dnslink` in responses. */ -export const web3_dnslink_output: JsonSchema = { +export const web3_dnslink: JsonSchema = { "type": "string" }; /** * The schema of `web3_identifier` in responses. */ -export const web3_identifier_output: JsonSchema = { +export const web3_identifier: JsonSchema = { "type": "string" }; /** * The schema of `web3_messages` in responses. */ -export const web3_messages_output: JsonSchema = { +export const web3_messages: JsonSchema = { "items": { "properties": { "code": { @@ -235,14 +235,14 @@ export const web3_messages_output: JsonSchema = { /** * The schema of `web3_name` in responses. */ -export const web3_name_output: JsonSchema = { +export const web3_name: JsonSchema = { "type": "string" }; /** * The schema of `web3_result_info` in responses. */ -export const web3_result_info_output: JsonSchema = { +export const web3_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -263,7 +263,7 @@ export const web3_result_info_output: JsonSchema = { /** * The schema of `web3_single_response` in responses. */ -export const web3_single_response_output: JsonSchema = { +export const web3_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/web3_api-response-single" @@ -282,7 +282,7 @@ export const web3_single_response_output: JsonSchema = { /** * The schema of `web3_status` in responses. */ -export const web3_status_output: JsonSchema = { +export const web3_status: JsonSchema = { "enum": [ "active", "pending", @@ -295,7 +295,7 @@ export const web3_status_output: JsonSchema = { /** * The schema of `web3_target` in responses. */ -export const web3_target_output: JsonSchema = { +export const web3_target: JsonSchema = { "enum": [ "ethereum", "ipfs", @@ -307,7 +307,7 @@ export const web3_target_output: JsonSchema = { /** * The schema of `web3_timestamp` in responses. */ -export const web3_timestamp_output: JsonSchema = { +export const web3_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -315,7 +315,7 @@ export const web3_timestamp_output: JsonSchema = { /** * The schema of `web3_web3-hostname` in responses. */ -export const web3_web3_hostname_output: JsonSchema = { +export const web3_web3$$hostname: JsonSchema = { "properties": { "created_on": { "$ref": "#/$defs/web3_timestamp" diff --git a/src/generated/forge-mcp/web3/hostnames/tools.ts b/src/generated/forge-mcp/web3/hostnames/tools.ts index 11cd04a2d..9e8a3c0c3 100644 --- a/src/generated/forge-mcp/web3/hostnames/tools.ts +++ b/src/generated/forge-mcp/web3/hostnames/tools.ts @@ -3,32 +3,32 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - web3_api_response_collection_output, - web3_api_response_common_failure_output, - web3_api_response_common_output, - web3_api_response_single_id_output, - web3_api_response_single_output, - web3_collection_response_output, - web3_description_output, - web3_dnslink_output, - web3_identifier_output, - web3_messages_output, - web3_name_output, - web3_result_info_output, - web3_single_response_output, - web3_status_output, - web3_target_output, - web3_timestamp_output, - web3_web3_hostname_output, -} from "./outputs.js"; -import { - web3_create_request, + web3_api$$response$$collection, + web3_api$$response$$common, + web3_api$$response$$common$$failure, + web3_api$$response$$single, + web3_api$$response$$single$$id, + web3_collection_response, web3_description, web3_dnslink, web3_identifier, - web3_modify_request, + web3_messages, web3_name, + web3_result_info, + web3_single_response, + web3_status, web3_target, + web3_timestamp, + web3_web3$$hostname, +} from "./outputs.js"; +import { + web3_create_request, + web3_description as web3_description$, + web3_dnslink as web3_dnslink$, + web3_identifier as web3_identifier$, + web3_modify_request, + web3_name as web3_name$, + web3_target as web3_target$, } from "./schemas.js"; /** @@ -45,39 +45,47 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/web3_create_request" }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "web3_create_request": web3_create_request, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, - "web3_name": web3_name, - "web3_target": web3_target, + "web3_description": web3_description$, + "web3_dnslink": web3_dnslink$, + "web3_identifier": web3_identifier$, + "web3_name": web3_name$, + "web3_target": web3_target$, }, }, outputSchema: { "$ref": "#/$defs/web3_single_response", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_description": web3_description_output, - "web3_dnslink": web3_dnslink_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_name": web3_name_output, - "web3_single_response": web3_single_response_output, - "web3_status": web3_status_output, - "web3_target": web3_target_output, - "web3_timestamp": web3_timestamp_output, - "web3_web3-hostname": web3_web3_hostname_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single": web3_api$$response$$single, + "web3_description": web3_description, + "web3_dnslink": web3_dnslink, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_name": web3_name, + "web3_single_response": web3_single_response, + "web3_status": web3_status, + "web3_target": web3_target, + "web3_timestamp": web3_timestamp, + "web3_web3-hostname": web3_web3$$hostname, }, }, annotations: { @@ -127,22 +135,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-collection": web3_api_response_collection_output, - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_collection_response": web3_collection_response_output, - "web3_description": web3_description_output, - "web3_dnslink": web3_dnslink_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_name": web3_name_output, - "web3_result_info": web3_result_info_output, - "web3_single_response": web3_single_response_output, - "web3_status": web3_status_output, - "web3_target": web3_target_output, - "web3_timestamp": web3_timestamp_output, - "web3_web3-hostname": web3_web3_hostname_output, + "web3_api-response-collection": web3_api$$response$$collection, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single": web3_api$$response$$single, + "web3_collection_response": web3_collection_response, + "web3_description": web3_description, + "web3_dnslink": web3_dnslink, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_name": web3_name, + "web3_result_info": web3_result_info, + "web3_single_response": web3_single_response, + "web3_status": web3_status, + "web3_target": web3_target, + "web3_timestamp": web3_timestamp, + "web3_web3-hostname": web3_web3$$hostname, }, }, request: (args) => ({ @@ -158,31 +166,39 @@ export const tools: readonly Tool[] = [ type: "object", properties: { "body": {}, - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier", + "path", "body" ], $defs: { - "web3_identifier": web3_identifier, + "web3_identifier": web3_identifier$, }, }, outputSchema: { "$ref": "#/$defs/web3_api-response-single-id", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single-id": web3_api_response_single_id_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single-id": web3_api$$response$$single$$id, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, }, }, annotations: { @@ -232,21 +248,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-collection": web3_api_response_collection_output, - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single-id": web3_api_response_single_id_output, - "web3_collection_response": web3_collection_response_output, - "web3_description": web3_description_output, - "web3_dnslink": web3_dnslink_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_name": web3_name_output, - "web3_result_info": web3_result_info_output, - "web3_status": web3_status_output, - "web3_target": web3_target_output, - "web3_timestamp": web3_timestamp_output, - "web3_web3-hostname": web3_web3_hostname_output, + "web3_api-response-collection": web3_api$$response$$collection, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single-id": web3_api$$response$$single$$id, + "web3_collection_response": web3_collection_response, + "web3_description": web3_description, + "web3_dnslink": web3_dnslink, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_name": web3_name, + "web3_result_info": web3_result_info, + "web3_status": web3_status, + "web3_target": web3_target, + "web3_timestamp": web3_timestamp, + "web3_web3-hostname": web3_web3$$hostname, }, }, request: (args) => ({ @@ -264,42 +280,50 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/web3_modify_request" }, - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier", + "path", "body" ], $defs: { - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, + "web3_description": web3_description$, + "web3_dnslink": web3_dnslink$, + "web3_identifier": web3_identifier$, "web3_modify_request": web3_modify_request, }, }, outputSchema: { "$ref": "#/$defs/web3_single_response", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_description": web3_description_output, - "web3_dnslink": web3_dnslink_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_name": web3_name_output, - "web3_single_response": web3_single_response_output, - "web3_status": web3_status_output, - "web3_target": web3_target_output, - "web3_timestamp": web3_timestamp_output, - "web3_web3-hostname": web3_web3_hostname_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single": web3_api$$response$$single, + "web3_description": web3_description, + "web3_dnslink": web3_dnslink, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_name": web3_name, + "web3_single_response": web3_single_response, + "web3_status": web3_status, + "web3_target": web3_target, + "web3_timestamp": web3_timestamp, + "web3_web3-hostname": web3_web3$$hostname, }, }, annotations: { @@ -349,22 +373,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-collection": web3_api_response_collection_output, - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_collection_response": web3_collection_response_output, - "web3_description": web3_description_output, - "web3_dnslink": web3_dnslink_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_name": web3_name_output, - "web3_result_info": web3_result_info_output, - "web3_single_response": web3_single_response_output, - "web3_status": web3_status_output, - "web3_target": web3_target_output, - "web3_timestamp": web3_timestamp_output, - "web3_web3-hostname": web3_web3_hostname_output, + "web3_api-response-collection": web3_api$$response$$collection, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single": web3_api$$response$$single, + "web3_collection_response": web3_collection_response, + "web3_description": web3_description, + "web3_dnslink": web3_dnslink, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_name": web3_name, + "web3_result_info": web3_result_info, + "web3_single_response": web3_single_response, + "web3_status": web3_status, + "web3_target": web3_target, + "web3_timestamp": web3_timestamp, + "web3_web3-hostname": web3_web3$$hostname, }, }, request: (args) => ({ @@ -379,38 +403,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." - }, - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "identifier": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + }, + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id", + "identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "identifier" + "path" ], $defs: { - "web3_identifier": web3_identifier, + "web3_identifier": web3_identifier$, }, }, outputSchema: { "$ref": "#/$defs/web3_single_response", $defs: { - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_description": web3_description_output, - "web3_dnslink": web3_dnslink_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_name": web3_name_output, - "web3_single_response": web3_single_response_output, - "web3_status": web3_status_output, - "web3_target": web3_target_output, - "web3_timestamp": web3_timestamp_output, - "web3_web3-hostname": web3_web3_hostname_output, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-single": web3_api$$response$$single, + "web3_description": web3_description, + "web3_dnslink": web3_dnslink, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_name": web3_name, + "web3_single_response": web3_single_response, + "web3_status": web3_status, + "web3_target": web3_target, + "web3_timestamp": web3_timestamp, + "web3_web3-hostname": web3_web3$$hostname, }, }, annotations: { @@ -461,22 +493,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-collection": web3_api_response_collection_output, - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_api-response-single": web3_api_response_single_output, - "web3_collection_response": web3_collection_response_output, - "web3_description": web3_description_output, - "web3_dnslink": web3_dnslink_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_name": web3_name_output, - "web3_result_info": web3_result_info_output, - "web3_single_response": web3_single_response_output, - "web3_status": web3_status_output, - "web3_target": web3_target_output, - "web3_timestamp": web3_timestamp_output, - "web3_web3-hostname": web3_web3_hostname_output, + "web3_api-response-collection": web3_api$$response$$collection, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_api-response-single": web3_api$$response$$single, + "web3_collection_response": web3_collection_response, + "web3_description": web3_description, + "web3_dnslink": web3_dnslink, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_name": web3_name, + "web3_result_info": web3_result_info, + "web3_single_response": web3_single_response, + "web3_status": web3_status, + "web3_target": web3_target, + "web3_timestamp": web3_timestamp, + "web3_web3-hostname": web3_web3$$hostname, }, }, request: (args) => ({ @@ -490,34 +522,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/web3_identifier", + "description": "Specify the identifier of the hostname." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "web3_identifier": web3_identifier, + "web3_identifier": web3_identifier$, }, }, outputSchema: { "$ref": "#/$defs/web3_collection_response", $defs: { - "web3_api-response-collection": web3_api_response_collection_output, - "web3_api-response-common": web3_api_response_common_output, - "web3_collection_response": web3_collection_response_output, - "web3_description": web3_description_output, - "web3_dnslink": web3_dnslink_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_name": web3_name_output, - "web3_result_info": web3_result_info_output, - "web3_status": web3_status_output, - "web3_target": web3_target_output, - "web3_timestamp": web3_timestamp_output, - "web3_web3-hostname": web3_web3_hostname_output, + "web3_api-response-collection": web3_api$$response$$collection, + "web3_api-response-common": web3_api$$response$$common, + "web3_collection_response": web3_collection_response, + "web3_description": web3_description, + "web3_dnslink": web3_dnslink, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_name": web3_name, + "web3_result_info": web3_result_info, + "web3_status": web3_status, + "web3_target": web3_target, + "web3_timestamp": web3_timestamp, + "web3_web3-hostname": web3_web3$$hostname, }, }, annotations: { @@ -568,20 +608,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "web3_api-response-collection": web3_api_response_collection_output, - "web3_api-response-common": web3_api_response_common_output, - "web3_api-response-common-failure": web3_api_response_common_failure_output, - "web3_collection_response": web3_collection_response_output, - "web3_description": web3_description_output, - "web3_dnslink": web3_dnslink_output, - "web3_identifier": web3_identifier_output, - "web3_messages": web3_messages_output, - "web3_name": web3_name_output, - "web3_result_info": web3_result_info_output, - "web3_status": web3_status_output, - "web3_target": web3_target_output, - "web3_timestamp": web3_timestamp_output, - "web3_web3-hostname": web3_web3_hostname_output, + "web3_api-response-collection": web3_api$$response$$collection, + "web3_api-response-common": web3_api$$response$$common, + "web3_api-response-common-failure": web3_api$$response$$common$$failure, + "web3_collection_response": web3_collection_response, + "web3_description": web3_description, + "web3_dnslink": web3_dnslink, + "web3_identifier": web3_identifier, + "web3_messages": web3_messages, + "web3_name": web3_name, + "web3_result_info": web3_result_info, + "web3_status": web3_status, + "web3_target": web3_target, + "web3_timestamp": web3_timestamp, + "web3_web3-hostname": web3_web3$$hostname, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts b/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts index a03f86ff9..8ce49b802 100644 --- a/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts +++ b/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_api_discovery_origin` in responses. */ -export const api_shield_api_discovery_origin_output: JsonSchema = { +export const api$$shield_api_discovery_origin: JsonSchema = { "enum": [ "ML", "SessionIdentifier", @@ -18,7 +18,7 @@ export const api_shield_api_discovery_origin_output: JsonSchema = { /** * The schema of `api-shield_api_discovery_patch_multiple_request` in responses. */ -export const api_shield_api_discovery_patch_multiple_request_output: JsonSchema = { +export const api$$shield_api_discovery_patch_multiple_request: JsonSchema = { "additionalProperties": { "$ref": "#/$defs/api-shield_api_discovery_patch_multiple_request_entry" }, @@ -29,7 +29,7 @@ export const api_shield_api_discovery_patch_multiple_request_output: JsonSchema * The schema of `api-shield_api_discovery_patch_multiple_request_entry` in * responses. */ -export const api_shield_api_discovery_patch_multiple_request_entry_output: JsonSchema = { +export const api$$shield_api_discovery_patch_multiple_request_entry: JsonSchema = { "properties": { "state": { "$ref": "#/$defs/api-shield_api_discovery_state_patch" @@ -41,7 +41,7 @@ export const api_shield_api_discovery_patch_multiple_request_entry_output: JsonS /** * The schema of `api-shield_api_discovery_state` in responses. */ -export const api_shield_api_discovery_state_output: JsonSchema = { +export const api$$shield_api_discovery_state: JsonSchema = { "enum": [ "review", "saved", @@ -53,7 +53,7 @@ export const api_shield_api_discovery_state_output: JsonSchema = { /** * The schema of `api-shield_api_discovery_state_patch` in responses. */ -export const api_shield_api_discovery_state_patch_output: JsonSchema = { +export const api$$shield_api_discovery_state_patch: JsonSchema = { "enum": [ "review", "ignored" @@ -64,7 +64,7 @@ export const api_shield_api_discovery_state_patch_output: JsonSchema = { /** * The schema of `api-shield_discovery_operation` in responses. */ -export const api_shield_discovery_operation_output: JsonSchema = { +export const api$$shield_discovery_operation: JsonSchema = { "allOf": [ { "properties": { @@ -104,7 +104,7 @@ export const api_shield_discovery_operation_output: JsonSchema = { /** * The schema of `api-shield_patch_discoveries_response` in responses. */ -export const api_shield_patch_discoveries_response_output: JsonSchema = { +export const api$$shield_patch_discoveries_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" @@ -126,7 +126,7 @@ export const api_shield_patch_discoveries_response_output: JsonSchema = { /** * The schema of `api-shield_patch_discovery_response` in responses. */ -export const api_shield_patch_discovery_response_output: JsonSchema = { +export const api$$shield_patch_discovery_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" @@ -153,7 +153,7 @@ export const api_shield_patch_discovery_response_output: JsonSchema = { /** * The schema of `api-shield_traffic_stats` in responses. */ -export const api_shield_traffic_stats_output: JsonSchema = { +export const api$$shield_traffic_stats: JsonSchema = { "properties": { "traffic_stats": { "properties": { diff --git a/src/generated/forge-mcp/webAssets/discovery/operations/schemas.ts b/src/generated/forge-mcp/webAssets/discovery/operations/schemas.ts index 8fd9842fe..e279fad7d 100644 --- a/src/generated/forge-mcp/webAssets/discovery/operations/schemas.ts +++ b/src/generated/forge-mcp/webAssets/discovery/operations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_api_discovery_origin`. */ -export const api_shield_api_discovery_origin: JsonSchema = { +export const api$$shield_api_discovery_origin: JsonSchema = { "description": "* `ML` - Discovered operation was sourced using ML API Discovery * `SessionIdentifier` - Discovered operation was sourced using Session Identifier API Discovery * `LabelDiscovery` - Discovered operation was identified to have a specific label\n", "enum": [ "ML", @@ -19,7 +19,7 @@ export const api_shield_api_discovery_origin: JsonSchema = { /** * The schema of `api-shield_api_discovery_patch_multiple_request`. */ -export const api_shield_api_discovery_patch_multiple_request: JsonSchema = { +export const api$$shield_api_discovery_patch_multiple_request: JsonSchema = { "additionalProperties": { "$ref": "#/$defs/api-shield_api_discovery_patch_multiple_request_entry" }, @@ -29,7 +29,7 @@ export const api_shield_api_discovery_patch_multiple_request: JsonSchema = { /** * The schema of `api-shield_api_discovery_patch_multiple_request_entry`. */ -export const api_shield_api_discovery_patch_multiple_request_entry: JsonSchema = { +export const api$$shield_api_discovery_patch_multiple_request_entry: JsonSchema = { "description": "Mappings of discovered operations (keys) to objects describing their state", "properties": { "state": { @@ -43,7 +43,7 @@ export const api_shield_api_discovery_patch_multiple_request_entry: JsonSchema = /** * The schema of `api-shield_api_discovery_state`. */ -export const api_shield_api_discovery_state: JsonSchema = { +export const api$$shield_api_discovery_state: JsonSchema = { "description": "State of operation in API Discovery\n * `review` - Operation is not saved into API Shield Endpoint Management\n * `saved` - Operation is saved into API Shield Endpoint Management\n * `ignored` - Operation is marked as ignored\n", "enum": [ "review", @@ -56,7 +56,7 @@ export const api_shield_api_discovery_state: JsonSchema = { /** * The schema of `api-shield_api_discovery_state_patch`. */ -export const api_shield_api_discovery_state_patch: JsonSchema = { +export const api$$shield_api_discovery_state_patch: JsonSchema = { "description": "Mark state of operation in API Discovery\n * `review` - Mark operation as for review\n * `ignored` - Mark operation as ignored\n", "enum": [ "review", diff --git a/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts b/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts index f5910e0a6..38b8af925 100644 --- a/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts @@ -1,52 +1,52 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_basic_operation_output, - api_shield_endpoint_output, - api_shield_host_output, - api_shield_messages_output, - api_shield_method_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, - api_shield_uuid_2_output, - api_shield_uuid_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_basic_operation, + api$$shield_endpoint, + api$$shield_host, + api$$shield_messages, + api$$shield_method, + api$$shield_timestamp, + api$$shield_timestamp$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid as api$$shield_uuid$, + api$$shield_uuid$$2 as api$$shield_uuid$$2$, } from "../../../schemas.js"; import { - api_shield_api_discovery_origin_output, - api_shield_api_discovery_patch_multiple_request_entry_output, - api_shield_api_discovery_patch_multiple_request_output, - api_shield_api_discovery_state_output, - api_shield_api_discovery_state_patch_output, - api_shield_discovery_operation_output, - api_shield_patch_discoveries_response_output, - api_shield_patch_discovery_response_output, - api_shield_traffic_stats_output, + api$$shield_api_discovery_origin, + api$$shield_api_discovery_patch_multiple_request, + api$$shield_api_discovery_patch_multiple_request_entry, + api$$shield_api_discovery_state, + api$$shield_api_discovery_state_patch, + api$$shield_discovery_operation, + api$$shield_patch_discoveries_response, + api$$shield_patch_discovery_response, + api$$shield_traffic_stats, } from "./outputs.js"; import { - api_shield_api_discovery_origin, - api_shield_api_discovery_patch_multiple_request, - api_shield_api_discovery_patch_multiple_request_entry, - api_shield_api_discovery_state, - api_shield_api_discovery_state_patch, + api$$shield_api_discovery_origin as api$$shield_api_discovery_origin$, + api$$shield_api_discovery_patch_multiple_request as api$$shield_api_discovery_patch_multiple_request$, + api$$shield_api_discovery_patch_multiple_request_entry as api$$shield_api_discovery_patch_multiple_request_entry$, + api$$shield_api_discovery_state as api$$shield_api_discovery_state$, + api$$shield_api_discovery_state_patch as api$$shield_api_discovery_state_patch$, } from "./schemas.js"; /** - * The tools of `web_assets.discovery.operations`. + * The tools of `webAssets.discovery.operations`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_discovery_operations_bulk_edit", + name: "webAssets_discovery_operations_bulkEdit", title: "Edit discovered web and API operations", description: "Updates the state of one or more discovered web and API operations.", inputSchema: { @@ -55,31 +55,39 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_api_discovery_patch_multiple_request" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_api_discovery_patch_multiple_request": api_shield_api_discovery_patch_multiple_request, - "api-shield_api_discovery_patch_multiple_request_entry": api_shield_api_discovery_patch_multiple_request_entry, - "api-shield_api_discovery_state_patch": api_shield_api_discovery_state_patch, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_api_discovery_patch_multiple_request": api$$shield_api_discovery_patch_multiple_request$, + "api-shield_api_discovery_patch_multiple_request_entry": api$$shield_api_discovery_patch_multiple_request_entry$, + "api-shield_api_discovery_state_patch": api$$shield_api_discovery_state_patch$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/api-shield_patch_discoveries_response", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api_discovery_patch_multiple_request": api_shield_api_discovery_patch_multiple_request_output, - "api-shield_api_discovery_patch_multiple_request_entry": api_shield_api_discovery_patch_multiple_request_entry_output, - "api-shield_api_discovery_state_patch": api_shield_api_discovery_state_patch_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_patch_discoveries_response": api_shield_patch_discoveries_response_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api_discovery_patch_multiple_request": api$$shield_api_discovery_patch_multiple_request, + "api-shield_api_discovery_patch_multiple_request_entry": api$$shield_api_discovery_patch_multiple_request_entry, + "api-shield_api_discovery_state_patch": api$$shield_api_discovery_state_patch, + "api-shield_messages": api$$shield_messages, + "api-shield_patch_discoveries_response": api$$shield_patch_discoveries_response, }, }, annotations: { @@ -107,13 +115,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api_discovery_patch_multiple_request": api_shield_api_discovery_patch_multiple_request_output, - "api-shield_api_discovery_patch_multiple_request_entry": api_shield_api_discovery_patch_multiple_request_entry_output, - "api-shield_api_discovery_state_patch": api_shield_api_discovery_state_patch_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_patch_discoveries_response": api_shield_patch_discoveries_response_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api_discovery_patch_multiple_request": api$$shield_api_discovery_patch_multiple_request, + "api-shield_api_discovery_patch_multiple_request_entry": api$$shield_api_discovery_patch_multiple_request_entry, + "api-shield_api_discovery_state_patch": api$$shield_api_discovery_state_patch, + "api-shield_messages": api$$shield_messages, + "api-shield_patch_discoveries_response": api$$shield_patch_discoveries_response, }, }, request: (args) => ({ @@ -122,7 +130,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_discovery_operations_edit", + name: "webAssets_discovery_operations_edit", title: "Edit a discovered web or API operation", description: "Updates the state of a discovered web or API operation.", inputSchema: { @@ -136,34 +144,42 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "discovery_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Discovery ID of a discovered operation" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "discovery_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Discovery ID of a discovered operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "discovery_id" + ], + "type": "object" } }, required: [ - "zone_id", - "discovery_id", + "path", "body" ], $defs: { - "api-shield_api_discovery_state_patch": api_shield_api_discovery_state_patch, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_api_discovery_state_patch": api$$shield_api_discovery_state_patch$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_patch_discovery_response", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api_discovery_state": api_shield_api_discovery_state_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_patch_discovery_response": api_shield_patch_discovery_response_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api_discovery_state": api$$shield_api_discovery_state, + "api-shield_messages": api$$shield_messages, + "api-shield_patch_discovery_response": api$$shield_patch_discovery_response, }, }, annotations: { @@ -191,11 +207,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api_discovery_state": api_shield_api_discovery_state_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_patch_discovery_response": api_shield_patch_discovery_response_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api_discovery_state": api$$shield_api_discovery_state, + "api-shield_messages": api$$shield_messages, + "api-shield_patch_discovery_response": api$$shield_patch_discovery_response, }, }, request: (args) => ({ @@ -204,29 +220,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_discovery_operations_get", + name: "webAssets_discovery_operations_get", title: "Get a discovered web or API operation", description: "Returns a discovered web or API operation by discovery ID.", inputSchema: { type: "object", properties: { - "discovery_id": { - "$ref": "#/$defs/api-shield_uuid-2", - "description": "Discovery ID of a discovered operation" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "discovery_id": { + "$ref": "#/$defs/api-shield_uuid-2", + "description": "Discovery ID of a discovered operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "discovery_id" + ], + "type": "object" } }, required: [ - "zone_id", - "discovery_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -250,21 +274,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api_discovery_origin": api_shield_api_discovery_origin_output, - "api-shield_api_discovery_state": api_shield_api_discovery_state_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_discovery_operation": api_shield_discovery_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_traffic_stats": api_shield_traffic_stats_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api_discovery_origin": api$$shield_api_discovery_origin, + "api-shield_api_discovery_state": api$$shield_api_discovery_state, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_discovery_operation": api$$shield_discovery_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_traffic_stats": api$$shield_traffic_stats, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -312,22 +336,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api_discovery_origin": api_shield_api_discovery_origin_output, - "api-shield_api_discovery_state": api_shield_api_discovery_state_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_discovery_operation": api_shield_discovery_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_traffic_stats": api_shield_traffic_stats_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api_discovery_origin": api$$shield_api_discovery_origin, + "api-shield_api_discovery_state": api$$shield_api_discovery_state, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_discovery_operation": api$$shield_discovery_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_traffic_stats": api$$shield_traffic_stats, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -335,83 +359,96 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_discovery_operations_list", + name: "webAssets_discovery_operations_list", title: "List discovered web and API operations", description: "Returns the latest web and API operations discovered from zone traffic.", inputSchema: { type: "object", properties: { - "diff": { - "description": "When `true`, only return API Discovery results that are not saved into API Shield Endpoint Management", - "type": "boolean" - }, - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "endpoint": { - "description": "Filter results to only include endpoints containing this pattern.", - "type": "string" - }, - "host": { - "description": "Filter results to only include the specified hosts.", - "items": { - "type": "string" - }, - "type": "array" - }, - "method": { - "description": "Filter results to only include the specified HTTP methods.", - "items": { - "type": "string" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } }, - "type": "array" - }, - "order": { - "description": "Field to order by", - "enum": [ - "host", - "method", - "endpoint", - "traffic_stats.requests", - "traffic_stats.last_updated" + "required": [ + "zone_id" ], - "type": "string" - }, - "origin": { - "$ref": "#/$defs/api-shield_api_discovery_origin", - "description": "Filter results to only include discovery results sourced from a particular discovery engine\n * `ML` - Discovered operations that were sourced using ML API Discovery\n * `SessionIdentifier` - Discovered operations that were sourced using Session Identifier API Discovery\n" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" - }, - "state": { - "$ref": "#/$defs/api-shield_api_discovery_state", - "description": "Filter results to only include discovery results in a particular state. States are as follows\n * `review` - Discovered operations that are not saved into API Shield Endpoint Management\n * `saved` - Discovered operations that are already saved into API Shield Endpoint Management\n * `ignored` - Discovered operations that have been marked as ignored\n" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "diff": { + "description": "When `true`, only return API Discovery results that are not saved into API Shield Endpoint Management", + "type": "boolean" + }, + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "endpoint": { + "description": "Filter results to only include endpoints containing this pattern.", + "type": "string" + }, + "host": { + "description": "Filter results to only include the specified hosts.", + "items": { + "type": "string" + }, + "type": "array" + }, + "method": { + "description": "Filter results to only include the specified HTTP methods.", + "items": { + "type": "string" + }, + "type": "array" + }, + "order": { + "description": "Field to order by", + "enum": [ + "host", + "method", + "endpoint", + "traffic_stats.requests", + "traffic_stats.last_updated" + ], + "type": "string" + }, + "origin": { + "$ref": "#/$defs/api-shield_api_discovery_origin", + "description": "Filter results to only include discovery results sourced from a particular discovery engine\n * `ML` - Discovered operations that were sourced using ML API Discovery\n * `SessionIdentifier` - Discovered operations that were sourced using Session Identifier API Discovery\n" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" + }, + "state": { + "$ref": "#/$defs/api-shield_api_discovery_state", + "description": "Filter results to only include discovery results in a particular state. States are as follows\n * `review` - Discovered operations that are not saved into API Shield Endpoint Management\n * `saved` - Discovered operations that are already saved into API Shield Endpoint Management\n * `ignored` - Discovered operations that have been marked as ignored\n" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_api_discovery_origin": api_shield_api_discovery_origin, - "api-shield_api_discovery_state": api_shield_api_discovery_state, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_api_discovery_origin": api$$shield_api_discovery_origin$, + "api-shield_api_discovery_state": api$$shield_api_discovery_state$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -435,21 +472,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api_discovery_origin": api_shield_api_discovery_origin_output, - "api-shield_api_discovery_state": api_shield_api_discovery_state_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_discovery_operation": api_shield_discovery_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_traffic_stats": api_shield_traffic_stats_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api_discovery_origin": api$$shield_api_discovery_origin, + "api-shield_api_discovery_state": api$$shield_api_discovery_state, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_discovery_operation": api$$shield_discovery_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_traffic_stats": api$$shield_traffic_stats, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -497,37 +534,37 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_api_discovery_origin": api_shield_api_discovery_origin_output, - "api-shield_api_discovery_state": api_shield_api_discovery_state_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_discovery_operation": api_shield_discovery_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_traffic_stats": api_shield_traffic_stats_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_api_discovery_origin": api$$shield_api_discovery_origin, + "api-shield_api_discovery_state": api$$shield_api_discovery_state, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_discovery_operation": api$$shield_discovery_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_traffic_stats": api$$shield_traffic_stats, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/discovery/operations`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["host", args["host"], true], - ["method", args["method"], true], - ["endpoint", args["endpoint"], true], - ["direction", args["direction"], true], - ["order", args["order"], true], - ["diff", args["diff"], true], - ["origin", args["origin"], true], - ["state", args["state"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["host", param(args, "query", "host"), true], + ["method", param(args, "query", "method"), true], + ["endpoint", param(args, "query", "endpoint"), true], + ["direction", param(args, "query", "direction"), true], + ["order", param(args, "query", "order"), true], + ["diff", param(args, "query", "diff"), true], + ["origin", param(args, "query", "origin"), true], + ["state", param(args, "query", "state"), true], ], }), }, diff --git a/src/generated/forge-mcp/webAssets/discovery/outputs.ts b/src/generated/forge-mcp/webAssets/discovery/outputs.ts index d4bf7b527..6d38b1dc0 100644 --- a/src/generated/forge-mcp/webAssets/discovery/outputs.ts +++ b/src/generated/forge-mcp/webAssets/discovery/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `api-shield_openapi` in responses. */ -export const api_shield_openapi_output: JsonSchema = { +export const api$$shield_openapi: JsonSchema = { "type": "object" }; /** * The schema of `api-shield_schema_response_discovery` in responses. */ -export const api_shield_schema_response_discovery_output: JsonSchema = { +export const api$$shield_schema_response_discovery: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" diff --git a/src/generated/forge-mcp/webAssets/discovery/tools.ts b/src/generated/forge-mcp/webAssets/discovery/tools.ts index 36287d4af..3eda0059c 100644 --- a/src/generated/forge-mcp/webAssets/discovery/tools.ts +++ b/src/generated/forge-mcp/webAssets/discovery/tools.ts @@ -3,53 +3,61 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, } from "../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, + api$$shield_identifier, + api$$shield_identifier$$2, } from "../../schemas.js"; import { - api_shield_openapi_output, - api_shield_schema_response_discovery_output, + api$$shield_openapi, + api$$shield_schema_response_discovery, } from "./outputs.js"; /** - * The tools of `web_assets.discovery`. + * The tools of `webAssets.discovery`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_discovery_get", + name: "webAssets_discovery_get", title: "Export discovered API operations as OpenAPI schemas", description: "Returns the latest API operations discovered from zone traffic, rendered as OpenAPI schemas.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/api-shield_schema_response_discovery", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_openapi": api_shield_openapi_output, - "api-shield_schema_response_discovery": api_shield_schema_response_discovery_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_openapi": api$$shield_openapi, + "api-shield_schema_response_discovery": api$$shield_schema_response_discovery, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -86,13 +94,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_openapi": api_shield_openapi_output, - "api-shield_schema_response_discovery": api_shield_schema_response_discovery_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_openapi": api$$shield_openapi, + "api-shield_schema_response_discovery": api$$shield_schema_response_discovery, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts b/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts index b1bffe7e3..d34431049 100644 --- a/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts @@ -3,42 +3,42 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, } from "../../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../../schemas.js"; import { - api_shield_label_description_output, - api_shield_label_metadata_output, - api_shield_label_name_output, - api_shield_label_output, - api_shield_label_source_output, + api$$shield_label, + api$$shield_label_description, + api$$shield_label_metadata, + api$$shield_label_name, + api$$shield_label_source, } from "../../../outputs.js"; import { - api_shield_label_name, - api_shield_operation_id_selector, + api$$shield_label_name as api$$shield_label_name$, + api$$shield_operation_id_selector, } from "../../../schemas.js"; import { - api_shield_full_label_output, - api_shield_label_mapped_resources_output, + api$$shield_full_label, + api$$shield_label_mapped_resources, } from "../../outputs.js"; -import { api_shield_replace_operations_attached_to_label_request } from "../../schemas.js"; -import { api_shield_full_managed_label_output } from "../outputs.js"; +import { api$$shield_replace_operations_attached_to_label_request } from "../../schemas.js"; +import { api$$shield_full_managed_label } from "../outputs.js"; /** - * The tools of `web_assets.labels.managed.operations`. + * The tools of `webAssets.labels.managed.operations`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_labels_managed_operations_update", + name: "webAssets_labels_managed_operations_update", title: "Replace operations attached to a managed label", description: "Replaces the complete set of web and API operations attached to the managed label.", inputSchema: { @@ -47,27 +47,35 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_replace_operations_attached_to_label_request" }, - "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "name": { + "$ref": "#/$defs/api-shield_label_name", + "description": "The label name" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "name" + ], + "type": "object" } }, required: [ - "zone_id", - "name", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, - "api-shield_operation_id_selector": api_shield_operation_id_selector, - "api-shield_replace_operations_attached_to_label_request": api_shield_replace_operations_attached_to_label_request, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_operation_id_selector": api$$shield_operation_id_selector, + "api-shield_replace_operations_attached_to_label_request": api$$shield_replace_operations_attached_to_label_request, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, outputSchema: { @@ -88,18 +96,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_full_managed_label": api_shield_full_managed_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_full_label": api$$shield_full_label, + "api-shield_full_managed_label": api$$shield_full_managed_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -142,19 +150,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_full_managed_label": api_shield_full_managed_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_full_label": api$$shield_full_label, + "api-shield_full_managed_label": api$$shield_full_managed_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/labels/managed/outputs.ts b/src/generated/forge-mcp/webAssets/labels/managed/outputs.ts index bb9af4adb..92a19859d 100644 --- a/src/generated/forge-mcp/webAssets/labels/managed/outputs.ts +++ b/src/generated/forge-mcp/webAssets/labels/managed/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_full_managed_label` in responses. */ -export const api_shield_full_managed_label_output: JsonSchema = { +export const api$$shield_full_managed_label: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_full_label" diff --git a/src/generated/forge-mcp/webAssets/labels/managed/tools.ts b/src/generated/forge-mcp/webAssets/labels/managed/tools.ts index 90e722280..98390d262 100644 --- a/src/generated/forge-mcp/webAssets/labels/managed/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/managed/tools.ts @@ -1,64 +1,77 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, } from "../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, + api$$shield_identifier, + api$$shield_identifier$$2, } from "../../../schemas.js"; import { - api_shield_label_description_output, - api_shield_label_metadata_output, - api_shield_label_name_output, - api_shield_label_output, - api_shield_label_source_output, + api$$shield_label, + api$$shield_label_description, + api$$shield_label_metadata, + api$$shield_label_name, + api$$shield_label_source, } from "../../outputs.js"; -import { api_shield_label_name } from "../../schemas.js"; +import { api$$shield_label_name as api$$shield_label_name$ } from "../../schemas.js"; import { - api_shield_full_label_output, - api_shield_label_mapped_resources_output, + api$$shield_full_label, + api$$shield_label_mapped_resources, } from "../outputs.js"; -import { api_shield_full_managed_label_output } from "./outputs.js"; +import { api$$shield_full_managed_label } from "./outputs.js"; /** - * The tools of `web_assets.labels.managed`. + * The tools of `webAssets.labels.managed`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_labels_managed_get", + name: "webAssets_labels_managed_get", title: "Get a managed operation label", description: "Returns a managed label and the web and API operations associated with it.", inputSchema: { type: "object", properties: { - "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" - }, - "with_mapped_resource_counts": { - "default": false, - "description": "Include `mapped_resources` for each label", - "type": "boolean" + "path": { + "properties": { + "name": { + "$ref": "#/$defs/api-shield_label_name", + "description": "The label name" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "name" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "with_mapped_resource_counts": { + "default": false, + "description": "Include `mapped_resources` for each label", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", - "name" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, }, }, outputSchema: { @@ -79,18 +92,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_full_managed_label": api_shield_full_managed_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_full_label": api$$shield_full_label, + "api-shield_full_managed_label": api$$shield_full_managed_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -135,25 +148,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_full_managed_label": api_shield_full_managed_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_full_label": api$$shield_full_label, + "api-shield_full_managed_label": api$$shield_full_managed_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/managed/${pathParam(args, "name")}`, query: [ - ["with_mapped_resource_counts", args["with_mapped_resource_counts"], true], + ["with_mapped_resource_counts", param(args, "query", "with_mapped_resource_counts"), true], ], }), }, diff --git a/src/generated/forge-mcp/webAssets/labels/outputs.ts b/src/generated/forge-mcp/webAssets/labels/outputs.ts index 769fb4664..490ceb584 100644 --- a/src/generated/forge-mcp/webAssets/labels/outputs.ts +++ b/src/generated/forge-mcp/webAssets/labels/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `api-shield_full_label` in responses. */ -export const api_shield_full_label_output: JsonSchema = { +export const api$$shield_full_label: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_label" @@ -25,6 +25,6 @@ export const api_shield_full_label_output: JsonSchema = { /** * The schema of `api-shield_label_mapped_resources` in responses. */ -export const api_shield_label_mapped_resources_output: JsonSchema = { +export const api$$shield_label_mapped_resources: JsonSchema = { "type": "object" }; diff --git a/src/generated/forge-mcp/webAssets/labels/schemas.ts b/src/generated/forge-mcp/webAssets/labels/schemas.ts index 171835095..09e4bc256 100644 --- a/src/generated/forge-mcp/webAssets/labels/schemas.ts +++ b/src/generated/forge-mcp/webAssets/labels/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `api-shield_replace_operations_attached_to_label_request`. */ -export const api_shield_replace_operations_attached_to_label_request: JsonSchema = { +export const api$$shield_replace_operations_attached_to_label_request: JsonSchema = { "properties": { "selector": { "$ref": "#/$defs/api-shield_operation_id_selector", diff --git a/src/generated/forge-mcp/webAssets/labels/tools.ts b/src/generated/forge-mcp/webAssets/labels/tools.ts index 4bc7d17d8..74e543338 100644 --- a/src/generated/forge-mcp/webAssets/labels/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/tools.ts @@ -1,96 +1,109 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, } from "../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, + api$$shield_identifier, + api$$shield_identifier$$2, } from "../../schemas.js"; import { - api_shield_label_description_output, - api_shield_label_metadata_output, - api_shield_label_name_output, - api_shield_label_output, - api_shield_label_source_output, + api$$shield_label, + api$$shield_label_description, + api$$shield_label_metadata, + api$$shield_label_name, + api$$shield_label_source, } from "../outputs.js"; -import { api_shield_label_source } from "../schemas.js"; +import { api$$shield_label_source as api$$shield_label_source$ } from "../schemas.js"; import { - api_shield_full_label_output, - api_shield_label_mapped_resources_output, + api$$shield_full_label, + api$$shield_label_mapped_resources, } from "./outputs.js"; /** - * The tools of `web_assets.labels`. + * The tools of `webAssets.labels`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_labels_list", + name: "webAssets_labels_list", title: "List operation labels", description: "Returns all managed and user-defined labels available for web and API operations in the zone.", inputSchema: { type: "object", properties: { - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "filter": { - "description": "Filter for labels where the name or description matches using substring match", - "type": "string" - }, - "order": { - "description": "Field to order by", - "enum": [ - "name", - "description", - "created_at", - "last_updated", - "mapped_resources.operations" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" - }, - "source": { - "$ref": "#/$defs/api-shield_label_source", - "description": "Filter for labels with source" - }, - "with_mapped_resource_counts": { - "default": false, - "description": "Include `mapped_resources` for each label", - "type": "boolean" + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "filter": { + "description": "Filter for labels where the name or description matches using substring match", + "type": "string" + }, + "order": { + "description": "Field to order by", + "enum": [ + "name", + "description", + "created_at", + "last_updated", + "mapped_resources.operations" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" + }, + "source": { + "$ref": "#/$defs/api-shield_label_source", + "description": "Filter for labels with source" + }, + "with_mapped_resource_counts": { + "default": false, + "description": "Include `mapped_resources` for each label", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_source": api_shield_label_source, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_source": api$$shield_label_source$, }, }, outputSchema: { @@ -114,18 +127,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_full_label": api$$shield_full_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -173,31 +186,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_full_label": api$$shield_full_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["source", args["source"], true], - ["filter", args["filter"], true], - ["with_mapped_resource_counts", args["with_mapped_resource_counts"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["source", param(args, "query", "source"), true], + ["filter", param(args, "query", "filter"), true], + ["with_mapped_resource_counts", param(args, "query", "with_mapped_resource_counts"), true], ], }), }, diff --git a/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts b/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts index 746c5fe04..9800bb500 100644 --- a/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts @@ -3,41 +3,41 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, } from "../../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../../schemas.js"; import { - api_shield_label_description_output, - api_shield_label_metadata_output, - api_shield_label_name_output, - api_shield_label_output, - api_shield_label_source_output, + api$$shield_label, + api$$shield_label_description, + api$$shield_label_metadata, + api$$shield_label_name, + api$$shield_label_source, } from "../../../outputs.js"; import { - api_shield_label_name, - api_shield_operation_id_selector, + api$$shield_label_name as api$$shield_label_name$, + api$$shield_operation_id_selector, } from "../../../schemas.js"; import { - api_shield_full_label_output, - api_shield_label_mapped_resources_output, + api$$shield_full_label, + api$$shield_label_mapped_resources, } from "../../outputs.js"; -import { api_shield_replace_operations_attached_to_label_request } from "../../schemas.js"; +import { api$$shield_replace_operations_attached_to_label_request } from "../../schemas.js"; /** - * The tools of `web_assets.labels.user.operations`. + * The tools of `webAssets.labels.user.operations`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_labels_user_operations_update", + name: "webAssets_labels_user_operations_update", title: "Replace operations attached to a user-defined label", description: "Replaces the complete set of web and API operations attached to the user-defined label.", inputSchema: { @@ -46,27 +46,35 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_replace_operations_attached_to_label_request" }, - "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "name": { + "$ref": "#/$defs/api-shield_label_name", + "description": "The label name" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "name" + ], + "type": "object" } }, required: [ - "zone_id", - "name", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, - "api-shield_operation_id_selector": api_shield_operation_id_selector, - "api-shield_replace_operations_attached_to_label_request": api_shield_replace_operations_attached_to_label_request, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_operation_id_selector": api$$shield_operation_id_selector, + "api-shield_replace_operations_attached_to_label_request": api$$shield_replace_operations_attached_to_label_request, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, outputSchema: { @@ -87,17 +95,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_full_label": api$$shield_full_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -140,18 +148,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_full_label": api$$shield_full_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/labels/user/schemas.ts b/src/generated/forge-mcp/webAssets/labels/user/schemas.ts index a8ca1adf5..beee032f3 100644 --- a/src/generated/forge-mcp/webAssets/labels/user/schemas.ts +++ b/src/generated/forge-mcp/webAssets/labels/user/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_label_request`. */ -export const api_shield_label_request: JsonSchema = { +export const api$$shield_label_request: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/api-shield_label_description", @@ -30,7 +30,7 @@ export const api_shield_label_request: JsonSchema = { /** * The schema of `api-shield_patch_label_request`. */ -export const api_shield_patch_label_request: JsonSchema = { +export const api$$shield_patch_label_request: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/api-shield_label_description", @@ -47,7 +47,7 @@ export const api_shield_patch_label_request: JsonSchema = { /** * The schema of `api-shield_put_label_request`. */ -export const api_shield_put_label_request: JsonSchema = { +export const api$$shield_put_label_request: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/api-shield_label_description", diff --git a/src/generated/forge-mcp/webAssets/labels/user/tools.ts b/src/generated/forge-mcp/webAssets/labels/user/tools.ts index f79d3dd63..c005f444f 100644 --- a/src/generated/forge-mcp/webAssets/labels/user/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/user/tools.ts @@ -1,47 +1,47 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, + api$$shield_timestamp, + api$$shield_timestamp$$2, } from "../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, + api$$shield_identifier, + api$$shield_identifier$$2, } from "../../../schemas.js"; import { - api_shield_label_description_output, - api_shield_label_metadata_output, - api_shield_label_name_output, - api_shield_label_output, - api_shield_label_source_output, + api$$shield_label, + api$$shield_label_description, + api$$shield_label_metadata, + api$$shield_label_name, + api$$shield_label_source, } from "../../outputs.js"; import { - api_shield_label_description, - api_shield_label_metadata, - api_shield_label_name, + api$$shield_label_description as api$$shield_label_description$, + api$$shield_label_metadata as api$$shield_label_metadata$, + api$$shield_label_name as api$$shield_label_name$, } from "../../schemas.js"; import { - api_shield_full_label_output, - api_shield_label_mapped_resources_output, + api$$shield_full_label, + api$$shield_label_mapped_resources, } from "../outputs.js"; import { - api_shield_label_request, - api_shield_patch_label_request, - api_shield_put_label_request, + api$$shield_label_request, + api$$shield_patch_label_request, + api$$shield_put_label_request, } from "./schemas.js"; /** - * The tools of `web_assets.labels.user`. + * The tools of `webAssets.labels.user`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_labels_user_bulk_create", + name: "webAssets_labels_user_bulkCreate", title: "Create user-defined operation labels", description: "Creates one or more user-defined labels for classifying web and API operations.", inputSchema: { @@ -53,21 +53,29 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_description": api_shield_label_description, - "api-shield_label_metadata": api_shield_label_metadata, - "api-shield_label_name": api_shield_label_name, - "api-shield_label_request": api_shield_label_request, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_description": api$$shield_label_description$, + "api-shield_label_metadata": api$$shield_label_metadata$, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_label_request": api$$shield_label_request, }, }, outputSchema: { @@ -91,16 +99,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -146,17 +154,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ @@ -165,7 +173,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_labels_user_bulk_delete", + name: "webAssets_labels_user_bulkDelete", title: "Delete user-defined operation labels", description: "Deletes one or more user-defined labels and removes their associations with web and API operations.\n\nConfirm with the user before calling this tool. This operation deletes the selected user-defined labels and removes them from associated web and API operations.", inputSchema: { @@ -177,18 +185,26 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, }, }, outputSchema: { @@ -212,16 +228,16 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -267,17 +283,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ @@ -286,28 +302,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_labels_user_delete", + name: "webAssets_labels_user_delete", title: "Delete a user-defined operation label", description: "Deletes a user-defined label and removes its associations with web and API operations.\n\nConfirm with the user before calling this tool. This operation deletes the user-defined label and removes it from associated web and API operations.", inputSchema: { type: "object", properties: { - "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "name": { + "$ref": "#/$defs/api-shield_label_name", + "description": "The label name" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "name" + ], + "type": "object" } }, required: [ - "zone_id", - "name" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, }, }, outputSchema: { @@ -328,15 +352,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -379,16 +403,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ @@ -396,7 +420,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_labels_user_edit", + name: "webAssets_labels_user_edit", title: "Edit a user-defined operation label", description: "Updates only the supplied fields on a user-defined label.", inputSchema: { @@ -405,26 +429,34 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_patch_label_request" }, - "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "name": { + "$ref": "#/$defs/api-shield_label_name", + "description": "The label name" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "name" + ], + "type": "object" } }, required: [ - "zone_id", - "name", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_description": api_shield_label_description, - "api-shield_label_metadata": api_shield_label_metadata, - "api-shield_label_name": api_shield_label_name, - "api-shield_patch_label_request": api_shield_patch_label_request, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_description": api$$shield_label_description$, + "api-shield_label_metadata": api$$shield_label_metadata$, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_patch_label_request": api$$shield_patch_label_request, }, }, outputSchema: { @@ -445,15 +477,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -496,16 +528,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ @@ -514,33 +546,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_labels_user_get", + name: "webAssets_labels_user_get", title: "Get a user-defined operation label", description: "Returns a user-defined label and the web and API operations associated with it.", inputSchema: { type: "object", properties: { - "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" - }, - "with_mapped_resource_counts": { - "default": false, - "description": "Include `mapped_resources` for each label", - "type": "boolean" + "path": { + "properties": { + "name": { + "$ref": "#/$defs/api-shield_label_name", + "description": "The label name" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "name" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "with_mapped_resource_counts": { + "default": false, + "description": "Include `mapped_resources` for each label", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", - "name" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, }, }, outputSchema: { @@ -561,17 +606,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_full_label": api$$shield_full_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -616,29 +661,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_full_label": api_shield_full_label_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_mapped_resources": api_shield_label_mapped_resources_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_full_label": api$$shield_full_label, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/labels/user/${pathParam(args, "name")}`, query: [ - ["with_mapped_resource_counts", args["with_mapped_resource_counts"], true], + ["with_mapped_resource_counts", param(args, "query", "with_mapped_resource_counts"), true], ], }), }, { - name: "web_assets_labels_user_update", + name: "webAssets_labels_user_update", title: "Update a user-defined operation label", description: "Replaces all editable fields on a user-defined label.", inputSchema: { @@ -647,26 +692,34 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_put_label_request" }, - "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "name": { + "$ref": "#/$defs/api-shield_label_name", + "description": "The label name" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "name" + ], + "type": "object" } }, required: [ - "zone_id", - "name", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_description": api_shield_label_description, - "api-shield_label_metadata": api_shield_label_metadata, - "api-shield_label_name": api_shield_label_name, - "api-shield_put_label_request": api_shield_put_label_request, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_description": api$$shield_label_description$, + "api-shield_label_metadata": api$$shield_label_metadata$, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_put_label_request": api$$shield_put_label_request, }, }, outputSchema: { @@ -687,15 +740,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -738,16 +791,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/operations/labels/outputs.ts b/src/generated/forge-mcp/webAssets/operations/labels/outputs.ts index c0e0e9b45..c18cd4224 100644 --- a/src/generated/forge-mcp/webAssets/operations/labels/outputs.ts +++ b/src/generated/forge-mcp/webAssets/operations/labels/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_operation_with_labels_only` in responses. */ -export const api_shield_operation_with_labels_only_output: JsonSchema = { +export const api$$shield_operation_with_labels_only: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_standard_operation" diff --git a/src/generated/forge-mcp/webAssets/operations/labels/schemas.ts b/src/generated/forge-mcp/webAssets/operations/labels/schemas.ts index e2dd7c6dd..3968c0bfc 100644 --- a/src/generated/forge-mcp/webAssets/operations/labels/schemas.ts +++ b/src/generated/forge-mcp/webAssets/operations/labels/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `api-shield_bulk_delete_labels_on_operation_request`. */ -export const api_shield_bulk_delete_labels_on_operation_request: JsonSchema = { +export const api$$shield_bulk_delete_labels_on_operation_request: JsonSchema = { "properties": { "managed": { "properties": { @@ -46,7 +46,7 @@ export const api_shield_bulk_delete_labels_on_operation_request: JsonSchema = { /** * The schema of `api-shield_bulk_post_labels_on_operation_request`. */ -export const api_shield_bulk_post_labels_on_operation_request: JsonSchema = { +export const api$$shield_bulk_post_labels_on_operation_request: JsonSchema = { "properties": { "managed": { "properties": { @@ -88,7 +88,7 @@ export const api_shield_bulk_post_labels_on_operation_request: JsonSchema = { /** * The schema of `api-shield_bulk_put_labels_on_operation_request`. */ -export const api_shield_bulk_put_labels_on_operation_request: JsonSchema = { +export const api$$shield_bulk_put_labels_on_operation_request: JsonSchema = { "properties": { "managed": { "description": "Managed labels to replace for all affected operations", @@ -138,7 +138,7 @@ export const api_shield_bulk_put_labels_on_operation_request: JsonSchema = { /** * The schema of `api-shield_delete_labels_on_operation_request`. */ -export const api_shield_delete_labels_on_operation_request: JsonSchema = { +export const api$$shield_delete_labels_on_operation_request: JsonSchema = { "properties": { "managed": { "description": "List of managed label names.", @@ -161,7 +161,7 @@ export const api_shield_delete_labels_on_operation_request: JsonSchema = { /** * The schema of `api-shield_post_labels_on_operation_request`. */ -export const api_shield_post_labels_on_operation_request: JsonSchema = { +export const api$$shield_post_labels_on_operation_request: JsonSchema = { "properties": { "managed": { "description": "List of managed label names.", @@ -186,7 +186,7 @@ export const api_shield_post_labels_on_operation_request: JsonSchema = { /** * The schema of `api-shield_put_labels_on_operation_request`. */ -export const api_shield_put_labels_on_operation_request: JsonSchema = { +export const api$$shield_put_labels_on_operation_request: JsonSchema = { "properties": { "managed": { "description": "List of managed label names. Omitting this property or passing an empty array will result in all managed labels being removed from the operation", diff --git a/src/generated/forge-mcp/webAssets/operations/labels/tools.ts b/src/generated/forge-mcp/webAssets/operations/labels/tools.ts index b6e891c6e..dfd8958b0 100644 --- a/src/generated/forge-mcp/webAssets/operations/labels/tools.ts +++ b/src/generated/forge-mcp/webAssets/operations/labels/tools.ts @@ -3,52 +3,52 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_basic_operation_output, - api_shield_endpoint_output, - api_shield_host_output, - api_shield_messages_output, - api_shield_method_output, - api_shield_standard_operation_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, - api_shield_uuid_2_output, - api_shield_uuid_output, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_basic_operation, + api$$shield_endpoint, + api$$shield_host, + api$$shield_messages, + api$$shield_method, + api$$shield_standard_operation, + api$$shield_timestamp, + api$$shield_timestamp$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_uuid as api$$shield_uuid$, + api$$shield_uuid$$2 as api$$shield_uuid$$2$, } from "../../../schemas.js"; import { - api_shield_label_description_output, - api_shield_label_metadata_output, - api_shield_label_name_output, - api_shield_label_output, - api_shield_label_source_output, + api$$shield_label, + api$$shield_label_description, + api$$shield_label_metadata, + api$$shield_label_name, + api$$shield_label_source, } from "../../outputs.js"; import { - api_shield_label_name, - api_shield_operation_id_selector, + api$$shield_label_name as api$$shield_label_name$, + api$$shield_operation_id_selector, } from "../../schemas.js"; -import { api_shield_operation_with_labels_only_output } from "./outputs.js"; +import { api$$shield_operation_with_labels_only } from "./outputs.js"; import { - api_shield_bulk_delete_labels_on_operation_request, - api_shield_bulk_post_labels_on_operation_request, - api_shield_bulk_put_labels_on_operation_request, - api_shield_delete_labels_on_operation_request, - api_shield_post_labels_on_operation_request, - api_shield_put_labels_on_operation_request, + api$$shield_bulk_delete_labels_on_operation_request, + api$$shield_bulk_post_labels_on_operation_request, + api$$shield_bulk_put_labels_on_operation_request, + api$$shield_delete_labels_on_operation_request, + api$$shield_post_labels_on_operation_request, + api$$shield_put_labels_on_operation_request, } from "./schemas.js"; /** - * The tools of `web_assets.operations.labels`. + * The tools of `webAssets.operations.labels`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_operations_labels_bulk_create", + name: "webAssets_operations_labels_bulkCreate", title: "Attach labels to web or API operations", description: "Attaches labels to multiple web or API operations in one request.", inputSchema: { @@ -57,22 +57,30 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_bulk_post_labels_on_operation_request" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_bulk_post_labels_on_operation_request": api_shield_bulk_post_labels_on_operation_request, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, - "api-shield_operation_id_selector": api_shield_operation_id_selector, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_bulk_post_labels_on_operation_request": api$$shield_bulk_post_labels_on_operation_request, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_operation_id_selector": api$$shield_operation_id_selector, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -96,23 +104,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -158,24 +166,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -184,7 +192,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_operations_labels_bulk_delete", + name: "webAssets_operations_labels_bulkDelete", title: "Remove labels from web or API operations", description: "Removes labels from multiple web or API operations in one request.\n\nConfirm with the user before calling this tool. This operation removes the selected labels from the selected web and API operations.", inputSchema: { @@ -193,22 +201,30 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_bulk_delete_labels_on_operation_request" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_bulk_delete_labels_on_operation_request": api_shield_bulk_delete_labels_on_operation_request, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, - "api-shield_operation_id_selector": api_shield_operation_id_selector, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_bulk_delete_labels_on_operation_request": api$$shield_bulk_delete_labels_on_operation_request, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_operation_id_selector": api$$shield_operation_id_selector, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -232,23 +248,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -294,24 +310,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -320,7 +336,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_operations_labels_bulk_update", + name: "webAssets_operations_labels_bulkUpdate", title: "Replace labels on web or API operations", description: "Replaces the complete label sets on multiple web or API operations in one request.", inputSchema: { @@ -329,22 +345,30 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_bulk_put_labels_on_operation_request" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_bulk_put_labels_on_operation_request": api_shield_bulk_put_labels_on_operation_request, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, - "api-shield_operation_id_selector": api_shield_operation_id_selector, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_bulk_put_labels_on_operation_request": api$$shield_bulk_put_labels_on_operation_request, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_operation_id_selector": api$$shield_operation_id_selector, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -368,23 +392,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -430,24 +454,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -456,7 +480,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_operations_labels_create", + name: "webAssets_operations_labels_create", title: "Attach labels to a web or API operation", description: "Attaches one or more labels to a web or API operation.", inputSchema: { @@ -465,25 +489,33 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_post_labels_on_operation_request" }, - "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "operation_id": { + "$ref": "#/$defs/api-shield_uuid", + "description": "Identifier for the operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "operation_id" + ], + "type": "object" } }, required: [ - "zone_id", - "operation_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, - "api-shield_post_labels_on_operation_request": api_shield_post_labels_on_operation_request, - "api-shield_uuid": api_shield_uuid, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_post_labels_on_operation_request": api$$shield_post_labels_on_operation_request, + "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { @@ -504,23 +536,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -563,24 +595,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -589,7 +621,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_operations_labels_delete", + name: "webAssets_operations_labels_delete", title: "Remove labels from a web or API operation", description: "Removes one or more labels from a web or API operation.\n\nConfirm with the user before calling this tool. This operation removes the selected labels from the web or API operation.", inputSchema: { @@ -598,25 +630,33 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_delete_labels_on_operation_request" }, - "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "operation_id": { + "$ref": "#/$defs/api-shield_uuid", + "description": "Identifier for the operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "operation_id" + ], + "type": "object" } }, required: [ - "zone_id", - "operation_id", + "path", "body" ], $defs: { - "api-shield_delete_labels_on_operation_request": api_shield_delete_labels_on_operation_request, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, - "api-shield_uuid": api_shield_uuid, + "api-shield_delete_labels_on_operation_request": api$$shield_delete_labels_on_operation_request, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { @@ -637,23 +677,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -696,24 +736,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -722,7 +762,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_operations_labels_update", + name: "webAssets_operations_labels_update", title: "Replace labels on a web or API operation", description: "Replaces the complete label set on a web or API operation.", inputSchema: { @@ -731,25 +771,33 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_put_labels_on_operation_request" }, - "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "operation_id": { + "$ref": "#/$defs/api-shield_uuid", + "description": "Identifier for the operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "operation_id" + ], + "type": "object" } }, required: [ - "zone_id", - "operation_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_label_name": api_shield_label_name, - "api-shield_put_labels_on_operation_request": api_shield_put_labels_on_operation_request, - "api-shield_uuid": api_shield_uuid, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_label_name": api$$shield_label_name$, + "api-shield_put_labels_on_operation_request": api$$shield_put_labels_on_operation_request, + "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { @@ -770,23 +818,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -829,24 +877,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_label": api_shield_label_output, - "api-shield_label_description": api_shield_label_description_output, - "api-shield_label_metadata": api_shield_label_metadata_output, - "api-shield_label_name": api_shield_label_name_output, - "api-shield_label_source": api_shield_label_source_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation_with_labels_only": api_shield_operation_with_labels_only_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_label": api$$shield_label, + "api-shield_label_description": api$$shield_label_description, + "api-shield_label_metadata": api$$shield_label_metadata, + "api-shield_label_name": api$$shield_label_name, + "api-shield_label_source": api$$shield_label_source, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/operations/outputs.ts b/src/generated/forge-mcp/webAssets/operations/outputs.ts index 49c5629ed..c7b955791 100644 --- a/src/generated/forge-mcp/webAssets/operations/outputs.ts +++ b/src/generated/forge-mcp/webAssets/operations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `api-shield_multiple-operation-response` in responses. */ -export const api_shield_multiple_operation_response_output: JsonSchema = { +export const api$$shield_multiple$$operation$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" @@ -32,7 +32,7 @@ export const api_shield_multiple_operation_response_output: JsonSchema = { * The schema of `api-shield_multiple-operation-response-paginated` in * responses. */ -export const api_shield_multiple_operation_response_paginated_output: JsonSchema = { +export const api$$shield_multiple$$operation$$response$$paginated: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-collection" @@ -57,7 +57,7 @@ export const api_shield_multiple_operation_response_paginated_output: JsonSchema /** * The schema of `api-shield_operation_schema_fragment` in responses. */ -export const api_shield_operation_schema_fragment_output: JsonSchema = { +export const api$$shield_operation_schema_fragment: JsonSchema = { "oneOf": [ { "properties": { @@ -82,7 +82,7 @@ export const api_shield_operation_schema_fragment_output: JsonSchema = { /** * The schema of `api-shield_operation_schemas` in responses. */ -export const api_shield_operation_schemas_output: JsonSchema = { +export const api$$shield_operation_schemas: JsonSchema = { "properties": { "learned": { "$ref": "#/$defs/api-shield_operation_schema_fragment" @@ -97,7 +97,7 @@ export const api_shield_operation_schemas_output: JsonSchema = { /** * The schema of `api-shield_single-operation-response` in responses. */ -export const api_shield_single_operation_response_output: JsonSchema = { +export const api$$shield_single$$operation$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" diff --git a/src/generated/forge-mcp/webAssets/operations/schemas.ts b/src/generated/forge-mcp/webAssets/operations/schemas.ts index f29cb1d4a..ec5df3e13 100644 --- a/src/generated/forge-mcp/webAssets/operations/schemas.ts +++ b/src/generated/forge-mcp/webAssets/operations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `api-shield_object-with-operation-id`. */ -export const api_shield_object_with_operation_id: JsonSchema = { +export const api$$shield_object$$with$$operation$$id: JsonSchema = { "properties": { "operation_id": { "allOf": [ diff --git a/src/generated/forge-mcp/webAssets/operations/tools.ts b/src/generated/forge-mcp/webAssets/operations/tools.ts index 50e425e5b..717a53e61 100644 --- a/src/generated/forge-mcp/webAssets/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/operations/tools.ts @@ -1,64 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - api_shield_api_response_collection_output, - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_auth_id_tokens_output, - api_shield_basic_operation_output, - api_shield_confidence_intervals_bounds_output, - api_shield_data_points_output, - api_shield_endpoint_output, - api_shield_host_output, - api_shield_messages_output, - api_shield_method_output, - api_shield_operation_feature_api_routing_output, - api_shield_operation_feature_confidence_intervals_output, - api_shield_operation_feature_parameter_schemas_output, - api_shield_operation_feature_schema_info_output, - api_shield_operation_feature_thresholds_output, - api_shield_operation_features_output, - api_shield_operation_output, - api_shield_p50_output, - api_shield_p90_output, - api_shield_p99_output, - api_shield_parameter_schemas_definition_output, - api_shield_period_seconds_output, - api_shield_requests_output, - api_shield_standard_operation_output, - api_shield_suggested_threshold_output, - api_shield_timestamp_2_output, - api_shield_timestamp_output, - api_shield_uuid_2_output, - api_shield_uuid_output, + api$$shield_api$$response$$collection, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_auth_id_tokens, + api$$shield_basic_operation, + api$$shield_confidence_intervals_bounds, + api$$shield_data_points, + api$$shield_endpoint, + api$$shield_host, + api$$shield_messages, + api$$shield_method, + api$$shield_operation, + api$$shield_operation_feature_api_routing, + api$$shield_operation_feature_confidence_intervals, + api$$shield_operation_feature_parameter_schemas, + api$$shield_operation_feature_schema_info, + api$$shield_operation_feature_thresholds, + api$$shield_operation_features, + api$$shield_p50, + api$$shield_p90, + api$$shield_p99, + api$$shield_parameter_schemas_definition, + api$$shield_period_seconds, + api$$shield_requests, + api$$shield_standard_operation, + api$$shield_suggested_threshold, + api$$shield_timestamp, + api$$shield_timestamp$$2, + api$$shield_uuid, + api$$shield_uuid$$2, } from "../../outputs.js"; import { - api_shield_basic_operation, - api_shield_endpoint, - api_shield_host, - api_shield_identifier, - api_shield_identifier_2, - api_shield_method, - api_shield_uuid, - api_shield_uuid_2, + api$$shield_basic_operation as api$$shield_basic_operation$, + api$$shield_endpoint as api$$shield_endpoint$, + api$$shield_host as api$$shield_host$, + api$$shield_identifier, + api$$shield_identifier$$2, + api$$shield_method as api$$shield_method$, + api$$shield_uuid as api$$shield_uuid$, + api$$shield_uuid$$2 as api$$shield_uuid$$2$, } from "../../schemas.js"; import { - api_shield_multiple_operation_response_output, - api_shield_multiple_operation_response_paginated_output, - api_shield_operation_schema_fragment_output, - api_shield_operation_schemas_output, - api_shield_single_operation_response_output, + api$$shield_multiple$$operation$$response, + api$$shield_multiple$$operation$$response$$paginated, + api$$shield_operation_schema_fragment, + api$$shield_operation_schemas, + api$$shield_single$$operation$$response, } from "./outputs.js"; -import { api_shield_object_with_operation_id } from "./schemas.js"; +import { api$$shield_object$$with$$operation$$id } from "./schemas.js"; /** - * The tools of `web_assets.operations`. + * The tools of `webAssets.operations`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_operations_bulk_create", + name: "webAssets_operations_bulkCreate", title: "Create web or API operations", description: "Creates one or more web or API operations. Hosts, methods, and paths are normalized; an existing matching operation is returned instead of duplicated.", inputSchema: { @@ -70,55 +70,63 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_basic_operation": api_shield_basic_operation, - "api-shield_endpoint": api_shield_endpoint, - "api-shield_host": api_shield_host, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_method": api_shield_method, + "api-shield_basic_operation": api$$shield_basic_operation$, + "api-shield_endpoint": api$$shield_endpoint$, + "api-shield_host": api$$shield_host$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_method": api$$shield_method$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_multiple-operation-response", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_multiple-operation-response": api_shield_multiple_operation_response_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_multiple-operation-response": api$$shield_multiple$$operation$$response, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -146,36 +154,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_multiple-operation-response": api_shield_multiple_operation_response_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_multiple-operation-response": api$$shield_multiple$$operation$$response, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -184,7 +192,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_operations_bulk_delete", + name: "webAssets_operations_bulkDelete", title: "Delete web or API operations", description: "Deletes multiple web or API operations from endpoint management in one request.\n\nConfirm with the user before calling this tool. This operation deletes the selected web or API operations.", inputSchema: { @@ -196,27 +204,35 @@ export const tools: readonly Tool[] = [ }, "type": "array" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_object-with-operation-id": api_shield_object_with_operation_id, - "api-shield_uuid": api_shield_uuid, - "api-shield_uuid-2": api_shield_uuid_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_object-with-operation-id": api$$shield_object$$with$$operation$$id, + "api-shield_uuid": api$$shield_uuid$, + "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_api-response-common", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -244,9 +260,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ @@ -255,7 +271,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_operations_create", + name: "webAssets_operations_create", title: "Create a web or API operation", description: "Creates one web or API operation. The host, method, and path are normalized; an existing matching operation is returned instead of duplicated.", inputSchema: { @@ -264,57 +280,65 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/api-shield_basic_operation" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "api-shield_basic_operation": api_shield_basic_operation, - "api-shield_endpoint": api_shield_endpoint, - "api-shield_host": api_shield_host, - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_method": api_shield_method, + "api-shield_basic_operation": api$$shield_basic_operation$, + "api-shield_endpoint": api$$shield_endpoint$, + "api-shield_host": api$$shield_host$, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_method": api$$shield_method$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_single-operation-response", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_operation_schema_fragment": api_shield_operation_schema_fragment_output, - "api-shield_operation_schemas": api_shield_operation_schemas_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_single-operation-response": api_shield_single_operation_response_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_operation_schema_fragment": api$$shield_operation_schema_fragment, + "api-shield_operation_schemas": api$$shield_operation_schemas, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_single-operation-response": api$$shield_single$$operation$$response, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -342,38 +366,38 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_operation_schema_fragment": api_shield_operation_schema_fragment_output, - "api-shield_operation_schemas": api_shield_operation_schemas_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_single-operation-response": api_shield_single_operation_response_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_operation_schema_fragment": api$$shield_operation_schema_fragment, + "api-shield_operation_schemas": api$$shield_operation_schemas, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_single-operation-response": api$$shield_single$$operation$$response, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -382,35 +406,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_operations_delete", + name: "webAssets_operations_delete", title: "Delete a web or API operation", description: "Deletes a web or API operation from endpoint management so its feature configuration is no longer tracked.\n\nConfirm with the user before calling this tool. This operation deletes the web or API operation.", inputSchema: { type: "object", properties: { - "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "path": { + "properties": { + "operation_id": { + "$ref": "#/$defs/api-shield_uuid", + "description": "Identifier for the operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } + }, + "required": [ + "zone_id", + "operation_id" + ], + "type": "object" } }, required: [ - "zone_id", - "operation_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_api-response-common", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, }, }, annotations: { @@ -438,9 +470,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, }, }, request: (args) => ({ @@ -448,82 +480,95 @@ export const tools: readonly Tool[] = [ }), }, { - name: "web_assets_operations_get", + name: "webAssets_operations_get", title: "Get a web or API operation", description: "Returns a web or API operation, including its schema validation settings and requested feature data.", inputSchema: { type: "object", properties: { - "feature": { - "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", - "items": { - "enum": [ - "thresholds", - "parameter_schemas", - "schema_info", - "confidence_intervals" - ], - "type": "string" + "path": { + "properties": { + "operation_id": { + "$ref": "#/$defs/api-shield_uuid", + "description": "Identifier for the operation" + }, + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } }, - "type": "array" - }, - "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" - }, - "with_schemas": { - "default": false, - "description": "When true, includes OpenAPI schemas (both uploaded and learned) for the operation in the response. Due to the conversion overhead, this parameter is only supported on single-operation retrieval.", - "type": "boolean" + "required": [ + "zone_id", + "operation_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "feature": { + "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", + "items": { + "enum": [ + "thresholds", + "parameter_schemas", + "schema_info", + "confidence_intervals" + ], + "type": "string" + }, + "type": "array" + }, + "with_schemas": { + "default": false, + "description": "When true, includes OpenAPI schemas (both uploaded and learned) for the operation in the response. Due to the conversion overhead, this parameter is only supported on single-operation retrieval.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id", - "operation_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, - "api-shield_uuid": api_shield_uuid, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, + "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_single-operation-response", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_operation_schema_fragment": api_shield_operation_schema_fragment_output, - "api-shield_operation_schemas": api_shield_operation_schemas_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_single-operation-response": api_shield_single_operation_response_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_operation_schema_fragment": api$$shield_operation_schema_fragment, + "api-shield_operation_schemas": api$$shield_operation_schemas, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_single-operation-response": api$$shield_single$$operation$$response, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -553,159 +598,172 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_operation_schema_fragment": api_shield_operation_schema_fragment_output, - "api-shield_operation_schemas": api_shield_operation_schemas_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_single-operation-response": api_shield_single_operation_response_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_operation_schema_fragment": api$$shield_operation_schema_fragment, + "api-shield_operation_schemas": api$$shield_operation_schemas, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_single-operation-response": api$$shield_single$$operation$$response, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations/${pathParam(args, "operation_id")}`, query: [ - ["feature", args["feature"], true], - ["with_schemas", args["with_schemas"], true], + ["feature", param(args, "query", "feature"), true], + ["with_schemas", param(args, "query", "with_schemas"), true], ], }), }, { - name: "web_assets_operations_list", + name: "webAssets_operations_list", title: "List web and API operations", description: "Lists web and API operations tracked for the zone, including each operation's method, path, and feature configuration.", inputSchema: { type: "object", properties: { - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "endpoint": { - "description": "Filter results to only include endpoints containing this pattern.", - "type": "string" - }, - "feature": { - "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", - "items": { - "enum": [ - "thresholds", - "parameter_schemas", - "schema_info", - "confidence_intervals" - ], - "type": "string" - }, - "type": "array" - }, - "host": { - "description": "Filter results to only include the specified hosts.", - "items": { - "type": "string" - }, - "type": "array" - }, - "method": { - "description": "Filter results to only include the specified HTTP methods.", - "items": { - "type": "string" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } }, - "type": "array" - }, - "order": { - "description": "Field to order by. When requesting a feature, the feature keys are available for ordering as well, e.g., `thresholds.suggested_threshold`.", - "enum": [ - "method", - "host", - "endpoint", - "thresholds.$key" + "required": [ + "zone_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Maximum number of results per page.", - "type": "integer" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "query": { + "properties": { + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "endpoint": { + "description": "Filter results to only include endpoints containing this pattern.", + "type": "string" + }, + "feature": { + "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", + "items": { + "enum": [ + "thresholds", + "parameter_schemas", + "schema_info", + "confidence_intervals" + ], + "type": "string" + }, + "type": "array" + }, + "host": { + "description": "Filter results to only include the specified hosts.", + "items": { + "type": "string" + }, + "type": "array" + }, + "method": { + "description": "Filter results to only include the specified HTTP methods.", + "items": { + "type": "string" + }, + "type": "array" + }, + "order": { + "description": "Field to order by. When requesting a feature, the feature keys are available for ordering as well, e.g., `thresholds.suggested_threshold`.", + "enum": [ + "method", + "host", + "endpoint", + "thresholds.$key" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Maximum number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/api-shield_multiple-operation-response-paginated", $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_multiple-operation-response-paginated": api_shield_multiple_operation_response_paginated_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_multiple-operation-response-paginated": api$$shield_multiple$$operation$$response$$paginated, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -735,50 +793,50 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-collection": api_shield_api_response_collection_output, - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_auth_id_tokens": api_shield_auth_id_tokens_output, - "api-shield_basic_operation": api_shield_basic_operation_output, - "api-shield_confidence_intervals_bounds": api_shield_confidence_intervals_bounds_output, - "api-shield_data_points": api_shield_data_points_output, - "api-shield_endpoint": api_shield_endpoint_output, - "api-shield_host": api_shield_host_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_method": api_shield_method_output, - "api-shield_multiple-operation-response-paginated": api_shield_multiple_operation_response_paginated_output, - "api-shield_operation": api_shield_operation_output, - "api-shield_operation_feature_api_routing": api_shield_operation_feature_api_routing_output, - "api-shield_operation_feature_confidence_intervals": api_shield_operation_feature_confidence_intervals_output, - "api-shield_operation_feature_parameter_schemas": api_shield_operation_feature_parameter_schemas_output, - "api-shield_operation_feature_schema_info": api_shield_operation_feature_schema_info_output, - "api-shield_operation_feature_thresholds": api_shield_operation_feature_thresholds_output, - "api-shield_operation_features": api_shield_operation_features_output, - "api-shield_p50": api_shield_p50_output, - "api-shield_p90": api_shield_p90_output, - "api-shield_p99": api_shield_p99_output, - "api-shield_parameter_schemas_definition": api_shield_parameter_schemas_definition_output, - "api-shield_period_seconds": api_shield_period_seconds_output, - "api-shield_requests": api_shield_requests_output, - "api-shield_standard_operation": api_shield_standard_operation_output, - "api-shield_suggested_threshold": api_shield_suggested_threshold_output, - "api-shield_timestamp": api_shield_timestamp_output, - "api-shield_timestamp-2": api_shield_timestamp_2_output, - "api-shield_uuid": api_shield_uuid_output, - "api-shield_uuid-2": api_shield_uuid_2_output, + "api-shield_api-response-collection": api$$shield_api$$response$$collection, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, + "api-shield_basic_operation": api$$shield_basic_operation, + "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, + "api-shield_data_points": api$$shield_data_points, + "api-shield_endpoint": api$$shield_endpoint, + "api-shield_host": api$$shield_host, + "api-shield_messages": api$$shield_messages, + "api-shield_method": api$$shield_method, + "api-shield_multiple-operation-response-paginated": api$$shield_multiple$$operation$$response$$paginated, + "api-shield_operation": api$$shield_operation, + "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, + "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, + "api-shield_operation_feature_parameter_schemas": api$$shield_operation_feature_parameter_schemas, + "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, + "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, + "api-shield_operation_features": api$$shield_operation_features, + "api-shield_p50": api$$shield_p50, + "api-shield_p90": api$$shield_p90, + "api-shield_p99": api$$shield_p99, + "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, + "api-shield_period_seconds": api$$shield_period_seconds, + "api-shield_requests": api$$shield_requests, + "api-shield_standard_operation": api$$shield_standard_operation, + "api-shield_suggested_threshold": api$$shield_suggested_threshold, + "api-shield_timestamp": api$$shield_timestamp, + "api-shield_timestamp-2": api$$shield_timestamp$$2, + "api-shield_uuid": api$$shield_uuid, + "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/operations`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["host", args["host"], true], - ["method", args["method"], true], - ["endpoint", args["endpoint"], true], - ["feature", args["feature"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["host", param(args, "query", "host"), true], + ["method", param(args, "query", "method"), true], + ["endpoint", param(args, "query", "endpoint"), true], + ["feature", param(args, "query", "feature"), true], ], }), }, diff --git a/src/generated/forge-mcp/webAssets/outputs.ts b/src/generated/forge-mcp/webAssets/outputs.ts index 6cc3642c8..a0f94f153 100644 --- a/src/generated/forge-mcp/webAssets/outputs.ts +++ b/src/generated/forge-mcp/webAssets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `api-shield_label` in responses. */ -export const api_shield_label_output: JsonSchema = { +export const api$$shield_label: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/api-shield_timestamp-2" @@ -41,28 +41,28 @@ export const api_shield_label_output: JsonSchema = { /** * The schema of `api-shield_label_description` in responses. */ -export const api_shield_label_description_output: JsonSchema = { +export const api$$shield_label_description: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_label_metadata` in responses. */ -export const api_shield_label_metadata_output: JsonSchema = { +export const api$$shield_label_metadata: JsonSchema = { "type": "object" }; /** * The schema of `api-shield_label_name` in responses. */ -export const api_shield_label_name_output: JsonSchema = { +export const api$$shield_label_name: JsonSchema = { "type": "string" }; /** * The schema of `api-shield_label_source` in responses. */ -export const api_shield_label_source_output: JsonSchema = { +export const api$$shield_label_source: JsonSchema = { "enum": [ "user", "managed" diff --git a/src/generated/forge-mcp/webAssets/schemas.ts b/src/generated/forge-mcp/webAssets/schemas.ts index da2a43783..d236a0536 100644 --- a/src/generated/forge-mcp/webAssets/schemas.ts +++ b/src/generated/forge-mcp/webAssets/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `api-shield_label_description`. */ -export const api_shield_label_description: JsonSchema = { +export const api$$shield_label_description: JsonSchema = { "description": "The description of the label", "type": "string" }; @@ -14,7 +14,7 @@ export const api_shield_label_description: JsonSchema = { /** * The schema of `api-shield_label_metadata`. */ -export const api_shield_label_metadata: JsonSchema = { +export const api$$shield_label_metadata: JsonSchema = { "description": "Metadata for the label", "type": "object" }; @@ -22,7 +22,7 @@ export const api_shield_label_metadata: JsonSchema = { /** * The schema of `api-shield_label_name`. */ -export const api_shield_label_name: JsonSchema = { +export const api$$shield_label_name: JsonSchema = { "description": "The name of the label", "type": "string" }; @@ -30,7 +30,7 @@ export const api_shield_label_name: JsonSchema = { /** * The schema of `api-shield_label_source`. */ -export const api_shield_label_source: JsonSchema = { +export const api$$shield_label_source: JsonSchema = { "description": "* `user` - label is owned by the user\n* `managed` - label is owned by cloudflare\n", "enum": [ "user", @@ -42,7 +42,7 @@ export const api_shield_label_source: JsonSchema = { /** * The schema of `api-shield_operation_id_selector`. */ -export const api_shield_operation_id_selector: JsonSchema = { +export const api$$shield_operation_id_selector: JsonSchema = { "description": "Operation IDs selector", "properties": { "include": { diff --git a/src/generated/forge-mcp/webAssets/schemas/outputs.ts b/src/generated/forge-mcp/webAssets/schemas/outputs.ts index 018ca46cc..d849ada22 100644 --- a/src/generated/forge-mcp/webAssets/schemas/outputs.ts +++ b/src/generated/forge-mcp/webAssets/schemas/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `api-shield_openapi-with-thresholds` in responses. */ -export const api_shield_openapi_with_thresholds_output: JsonSchema = { +export const api$$shield_openapi$$with$$thresholds: JsonSchema = { "type": "object" }; /** * The schema of `api-shield_schema-response-with-thresholds` in responses. */ -export const api_shield_schema_response_with_thresholds_output: JsonSchema = { +export const api$$shield_schema$$response$$with$$thresholds: JsonSchema = { "allOf": [ { "$ref": "#/$defs/api-shield_api-response-common" diff --git a/src/generated/forge-mcp/webAssets/schemas/tools.ts b/src/generated/forge-mcp/webAssets/schemas/tools.ts index fa0abc88c..56b345e77 100644 --- a/src/generated/forge-mcp/webAssets/schemas/tools.ts +++ b/src/generated/forge-mcp/webAssets/schemas/tools.ts @@ -1,81 +1,94 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - api_shield_api_response_common_failure_output, - api_shield_api_response_common_output, - api_shield_messages_output, + api$$shield_api$$response$$common, + api$$shield_api$$response$$common$$failure, + api$$shield_messages, } from "../../outputs.js"; import { - api_shield_identifier, - api_shield_identifier_2, + api$$shield_identifier, + api$$shield_identifier$$2, } from "../../schemas.js"; import { - api_shield_openapi_with_thresholds_output, - api_shield_schema_response_with_thresholds_output, + api$$shield_openapi$$with$$thresholds, + api$$shield_schema$$response$$with$$thresholds, } from "./outputs.js"; /** - * The tools of `web_assets.schemas`. + * The tools of `webAssets.schemas`. */ export const tools: readonly Tool[] = [ { - name: "web_assets_schemas_list", + name: "webAssets_schemas_list", title: "Export web and API operations as OpenAPI schemas", description: "Returns tracked web and API operations and their feature configuration rendered as OpenAPI schemas.", inputSchema: { type: "object", properties: { - "feature": { - "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", - "items": { - "enum": [ - "thresholds", - "parameter_schemas", - "schema_info", - "confidence_intervals" - ], - "type": "string" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/api-shield_identifier-2" + } }, - "type": "array" + "required": [ + "zone_id" + ], + "type": "object" }, - "host": { - "description": "Receive schema only for the given host(s).", - "items": { - "type": "string" + "query": { + "properties": { + "feature": { + "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", + "items": { + "enum": [ + "thresholds", + "parameter_schemas", + "schema_info", + "confidence_intervals" + ], + "type": "string" + }, + "type": "array" + }, + "host": { + "description": "Receive schema only for the given host(s).", + "items": { + "type": "string" + }, + "type": "array" + }, + "include_schema_kind": { + "description": "Schema kinds to include in exported OpenAPI schemas.", + "items": { + "enum": [ + "learned" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" - }, - "include_schema_kind": { - "description": "Schema kinds to include in exported OpenAPI schemas.", - "items": { - "enum": [ - "learned" - ], - "type": "string" - }, - "type": "array" - }, - "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "api-shield_identifier": api_shield_identifier, - "api-shield_identifier-2": api_shield_identifier_2, + "api-shield_identifier": api$$shield_identifier, + "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/api-shield_schema-response-with-thresholds", $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_openapi-with-thresholds": api_shield_openapi_with_thresholds_output, - "api-shield_schema-response-with-thresholds": api_shield_schema_response_with_thresholds_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_messages": api$$shield_messages, + "api-shield_openapi-with-thresholds": api$$shield_openapi$$with$$thresholds, + "api-shield_schema-response-with-thresholds": api$$shield_schema$$response$$with$$thresholds, }, }, annotations: { @@ -105,19 +118,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "api-shield_api-response-common": api_shield_api_response_common_output, - "api-shield_api-response-common-failure": api_shield_api_response_common_failure_output, - "api-shield_messages": api_shield_messages_output, - "api-shield_openapi-with-thresholds": api_shield_openapi_with_thresholds_output, - "api-shield_schema-response-with-thresholds": api_shield_schema_response_with_thresholds_output, + "api-shield_api-response-common": api$$shield_api$$response$$common, + "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, + "api-shield_messages": api$$shield_messages, + "api-shield_openapi-with-thresholds": api$$shield_openapi$$with$$thresholds, + "api-shield_schema-response-with-thresholds": api$$shield_schema$$response$$with$$thresholds, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/api_gateway/schemas`, query: [ - ["host", args["host"], true], - ["feature", args["feature"], true], - ["include_schema_kind", args["include_schema_kind"], true], + ["host", param(args, "query", "host"), true], + ["feature", param(args, "query", "feature"), true], + ["include_schema_kind", param(args, "query", "include_schema_kind"), true], ], }), }, diff --git a/src/generated/forge-mcp/workers/accountSettings/outputs.ts b/src/generated/forge-mcp/workers/accountSettings/outputs.ts index 830567fd9..535ea68aa 100644 --- a/src/generated/forge-mcp/workers/accountSettings/outputs.ts +++ b/src/generated/forge-mcp/workers/accountSettings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_account-settings` in responses. */ -export const workers_account_settings_output: JsonSchema = { +export const workers_account$$settings: JsonSchema = { "properties": { "default_usage_model": { "type": "string" diff --git a/src/generated/forge-mcp/workers/accountSettings/schemas.ts b/src/generated/forge-mcp/workers/accountSettings/schemas.ts index 4a32dd79e..04ecb7653 100644 --- a/src/generated/forge-mcp/workers/accountSettings/schemas.ts +++ b/src/generated/forge-mcp/workers/accountSettings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_account-settings`. */ -export const workers_account_settings: JsonSchema = { +export const workers_account$$settings: JsonSchema = { "properties": { "default_usage_model": { "type": "string" diff --git a/src/generated/forge-mcp/workers/accountSettings/tools.ts b/src/generated/forge-mcp/workers/accountSettings/tools.ts index 5923d0a82..74d4c60b8 100644 --- a/src/generated/forge-mcp/workers/accountSettings/tools.ts +++ b/src/generated/forge-mcp/workers/accountSettings/tools.ts @@ -3,32 +3,40 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../../outputs.js"; import { workers_identifier } from "../../schemas.js"; -import { workers_account_settings_output } from "./outputs.js"; -import { workers_account_settings } from "./schemas.js"; +import { workers_account$$settings } from "./outputs.js"; +import { workers_account$$settings as workers_account$$settings$ } from "./schemas.js"; /** - * The tools of `workers.account_settings`. + * The tools of `workers.accountSettings`. */ export const tools: readonly Tool[] = [ { - name: "workers_account_settings_get", + name: "workers_accountSettings_get", title: "Fetch Workers Account Settings", description: "Fetches Workers account settings for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -52,9 +60,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_account-settings": workers_account_settings_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_account-settings": workers_account$$settings, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -127,10 +135,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_account-settings": workers_account_settings_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_account-settings": workers_account$$settings, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -138,26 +146,34 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_account_settings_update", + name: "workers_accountSettings_update", title: "Configure Workers Account Settings", description: "Configure Workers account settings for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_account-settings" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers_account-settings": workers_account_settings, + "workers_account-settings": workers_account$$settings$, "workers_identifier": workers_identifier, }, }, @@ -179,9 +195,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_account-settings": workers_account_settings_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_account-settings": workers_account$$settings, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -226,10 +242,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_account-settings": workers_account_settings_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_account-settings": workers_account$$settings, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/assets/upload/tools.ts b/src/generated/forge-mcp/workers/assets/upload/tools.ts index a409f19b9..cbda33ad6 100644 --- a/src/generated/forge-mcp/workers/assets/upload/tools.ts +++ b/src/generated/forge-mcp/workers/assets/upload/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_create_assets_upload_session_response_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_create$$assets$$upload$$session$$response, + workers_messages, } from "../../../outputs.js"; import { - workers_create_assets_upload_session_object, + workers_create$$assets$$upload$$session$$object, workers_identifier, - workers_manifest_value, + workers_manifest$$value, workers_script_name, } from "../../../schemas.js"; @@ -20,42 +20,50 @@ import { */ export const tools: readonly Tool[] = [ { - name: "workers_assets_upload_create_session", + name: "workers_assets_upload_createSession", title: "Create Worker Assets Upload Session", description: "Start uploading a collection of assets for use in a Worker version. To learn more about the direct uploads of assets, see https://developers.cloudflare.com/workers/static-assets/direct-upload/.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_create-assets-upload-session-object" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", + "path", "body" ], $defs: { - "workers_create-assets-upload-session-object": workers_create_assets_upload_session_object, + "workers_create-assets-upload-session-object": workers_create$$assets$$upload$$session$$object, "workers_identifier": workers_identifier, - "workers_manifest-value": workers_manifest_value, + "workers_manifest-value": workers_manifest$$value, "workers_script_name": workers_script_name, }, }, outputSchema: { "$ref": "#/$defs/workers_create-assets-upload-session-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_create-assets-upload-session-response": workers_create_assets_upload_session_response_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_create-assets-upload-session-response": workers_create$$assets$$upload$$session$$response, + "workers_messages": workers_messages, }, }, annotations: { @@ -92,10 +100,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_create-assets-upload-session-response": workers_create_assets_upload_session_response_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_create-assets-upload-session-response": workers_create$$assets$$upload$$session$$response, + "workers_messages": workers_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/deployments/outputs.ts b/src/generated/forge-mcp/workers/deployments/outputs.ts index ec948f9bd..91534f4e8 100644 --- a/src/generated/forge-mcp/workers/deployments/outputs.ts +++ b/src/generated/forge-mcp/workers/deployments/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_deployment` in responses. */ -export const workers_deployment_output: JsonSchema = { +export const workers_deployment: JsonSchema = { "properties": { "annotations": { "properties": { diff --git a/src/generated/forge-mcp/workers/deployments/tools.ts b/src/generated/forge-mcp/workers/deployments/tools.ts index 47149499d..2a97c6131 100644 --- a/src/generated/forge-mcp/workers/deployments/tools.ts +++ b/src/generated/forge-mcp/workers/deployments/tools.ts @@ -1,21 +1,21 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - workers_api_response_collection_output, - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_code_update_strategy_output, - workers_messages_output, + workers_api$$response$$collection, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_code_update_strategy, + workers_messages, } from "../../outputs.js"; import { - workers_code_update_strategy, + workers_code_update_strategy as workers_code_update_strategy$, workers_identifier, workers_script_name, } from "../../schemas.js"; -import { workers_deployment_output } from "./outputs.js"; -import { workers_deployment } from "./schemas.js"; +import { workers_deployment } from "./outputs.js"; +import { workers_deployment as workers_deployment$ } from "./schemas.js"; /** * The tools of `workers.deployments`. @@ -28,30 +28,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_deployment" }, - "bypass_deployment_checks": { - "description": "If set to true, the deployment will be created even if normally blocked by something such rolling back to an older version when a secret has changed.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "query": { + "properties": { + "force": { + "description": "If set to true, the deployment will be created even if normally blocked by something such rolling back to an older version when a secret has changed.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "script_name", + "path", "body" ], $defs: { - "workers_code_update_strategy": workers_code_update_strategy, - "workers_deployment": workers_deployment, + "workers_code_update_strategy": workers_code_update_strategy$, + "workers_deployment": workers_deployment$, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, }, @@ -74,10 +87,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_code_update_strategy": workers_code_update_strategy_output, - "workers_deployment": workers_deployment_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_code_update_strategy": workers_code_update_strategy, + "workers_deployment": workers_deployment, + "workers_messages": workers_messages, }, }, annotations: { @@ -123,17 +136,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_code_update_strategy": workers_code_update_strategy_output, - "workers_deployment": workers_deployment_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_code_update_strategy": workers_code_update_strategy, + "workers_deployment": workers_deployment, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/deployments`, query: [ - ["force", args["bypass_deployment_checks"], true], + ["force", param(args, "query", "force"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -145,23 +158,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "deployment_id": { - "format": "uuid", - "type": "string" - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "deployment_id": { + "format": "uuid", + "type": "string" + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", - "deployment_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -171,8 +192,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_api-response-common", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -202,9 +223,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -218,23 +239,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "deployment_id": { - "format": "uuid", - "type": "string" - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "deployment_id": { + "format": "uuid", + "type": "string" + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", - "deployment_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -259,10 +288,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_code_update_strategy": workers_code_update_strategy_output, - "workers_deployment": workers_deployment_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_code_update_strategy": workers_code_update_strategy, + "workers_deployment": workers_deployment, + "workers_messages": workers_messages, }, }, annotations: { @@ -314,11 +343,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_code_update_strategy": workers_code_update_strategy_output, - "workers_deployment": workers_deployment_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_code_update_strategy": workers_code_update_strategy, + "workers_deployment": workers_deployment, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -332,38 +361,51 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "page": { - "default": 1, - "description": "Current page.", - "type": "integer" - }, - "per_page": { - "default": 10, - "description": "Items per page.", - "type": "integer" - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." - }, - "since": { - "description": "Start of the deployment creation time range, inclusive.", - "format": "date-time", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" }, - "until": { - "description": "End of the deployment creation time range, inclusive.", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Current page.", + "type": "integer" + }, + "per_page": { + "default": 10, + "description": "Items per page.", + "type": "integer" + }, + "since": { + "description": "Start of the deployment creation time range, inclusive.", + "format": "date-time", + "type": "string" + }, + "until": { + "description": "End of the deployment creation time range, inclusive.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -399,11 +441,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_code_update_strategy": workers_code_update_strategy_output, - "workers_deployment": workers_deployment_output, - "workers_messages": workers_messages_output, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_code_update_strategy": workers_code_update_strategy, + "workers_deployment": workers_deployment, + "workers_messages": workers_messages, }, }, annotations: { @@ -466,21 +508,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_code_update_strategy": workers_code_update_strategy_output, - "workers_deployment": workers_deployment_output, - "workers_messages": workers_messages_output, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_code_update_strategy": workers_code_update_strategy, + "workers_deployment": workers_deployment, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/deployments`, query: [ - ["since", args["since"], true], - ["until", args["until"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/workers/domains/outputs.ts b/src/generated/forge-mcp/workers/domains/outputs.ts index 1e32beddf..de502f34c 100644 --- a/src/generated/forge-mcp/workers/domains/outputs.ts +++ b/src/generated/forge-mcp/workers/domains/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_Domain` in responses. */ -export const workers_Domain_output: JsonSchema = { +export const workers_Domain: JsonSchema = { "properties": { "cert_id": { "format": "uuid", diff --git a/src/generated/forge-mcp/workers/domains/tools.ts b/src/generated/forge-mcp/workers/domains/tools.ts index 48be93aa2..e3fb13165 100644 --- a/src/generated/forge-mcp/workers/domains/tools.ts +++ b/src/generated/forge-mcp/workers/domains/tools.ts @@ -1,15 +1,15 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - workers_api_response_collection_output, - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$collection, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../../outputs.js"; import { workers_identifier } from "../../schemas.js"; -import { workers_Domain_output } from "./outputs.js"; +import { workers_Domain } from "./outputs.js"; /** * The tools of `workers.domains`. @@ -22,18 +22,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "domain_id": { - "description": "ID of the domain.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "domain_id": { + "description": "ID of the domain.", + "type": "string" + } + }, + "required": [ + "account_id", + "domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -42,8 +50,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_api-response-common", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -73,9 +81,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -89,18 +97,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "domain_id": { - "description": "ID of the domain.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "domain_id": { + "description": "ID of the domain.", + "type": "string" + } + }, + "required": [ + "account_id", + "domain_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -124,9 +140,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Domain": workers_Domain_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_Domain": workers_Domain, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -172,10 +188,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Domain": workers_Domain_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_Domain": workers_Domain, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -189,42 +205,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "enabled": { - "description": "Whether the configured hostname is routable for the domain.", - "type": "boolean" - }, - "environment": { - "deprecated": true, - "description": "Worker environment associated with the domain.", - "type": "string" - }, - "hostname": { - "description": "Hostname of the domain.", - "type": "string" - }, - "previews_enabled": { - "description": "Whether previews are routable for the domain.", - "type": "boolean" - }, - "service": { - "description": "Name of the Worker associated with the domain.", - "type": "string" - }, - "zone_id": { - "description": "ID of the zone containing the domain hostname.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "zone_name": { - "description": "Name of the zone containing the domain hostname.", - "type": "string" + "query": { + "properties": { + "enabled": { + "description": "Whether the configured hostname is routable for the domain.", + "type": "boolean" + }, + "environment": { + "deprecated": true, + "description": "Worker environment associated with the domain.", + "type": "string" + }, + "hostname": { + "description": "Hostname of the domain.", + "type": "string" + }, + "previews_enabled": { + "description": "Whether previews are routable for the domain.", + "type": "boolean" + }, + "service": { + "description": "Name of the Worker associated with the domain.", + "type": "string" + }, + "zone_id": { + "description": "ID of the zone containing the domain hostname.", + "type": "string" + }, + "zone_name": { + "description": "Name of the zone containing the domain hostname.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -251,10 +280,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Domain": workers_Domain_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_Domain": workers_Domain, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -303,23 +332,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Domain": workers_Domain_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_Domain": workers_Domain, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/domains`, query: [ - ["zone_id", args["zone_id"], true], - ["zone_name", args["zone_name"], true], - ["service", args["service"], true], - ["hostname", args["hostname"], true], - ["environment", args["environment"], true], - ["previews_enabled", args["previews_enabled"], true], - ["enabled", args["enabled"], true], + ["zone_id", param(args, "query", "zone_id"), true], + ["zone_name", param(args, "query", "zone_name"), true], + ["service", param(args, "query", "service"), true], + ["hostname", param(args, "query", "hostname"), true], + ["environment", param(args, "query", "environment"), true], + ["previews_enabled", param(args, "query", "previews_enabled"), true], + ["enabled", param(args, "query", "enabled"), true], ], }), }, @@ -330,10 +359,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "properties": { "enabled": { @@ -372,10 +397,22 @@ export const tools: readonly Tool[] = [ "zone_name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -400,9 +437,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Domain": workers_Domain_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_Domain": workers_Domain, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -447,10 +484,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Domain": workers_Domain_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_Domain": workers_Domain, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts index 8179d72e2..16161bdd1 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts @@ -3,8 +3,8 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_messages_output, + workers_api$$response$$common$$failure, + workers_messages, } from "../../../../outputs.js"; import { workers_identifier, @@ -22,18 +22,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -73,8 +81,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/legacy/scripts/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/outputs.ts index 340d8c061..ae4c695c5 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/outputs.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `workers_script-response-collection` in responses. */ -export const workers_script_response_collection_output: JsonSchema = { +export const workers_script$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" diff --git a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts index 01d24ca81..1a3b55d42 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `workers_script-and-version-settings-item` in responses. */ -export const workers_script_and_version_settings_item_output: JsonSchema = { +export const workers_script$$and$$version$$settings$$item: JsonSchema = { "properties": { "annotations": { "properties": { @@ -125,7 +125,7 @@ export const workers_script_and_version_settings_item_output: JsonSchema = { /** * The schema of `workers_script-and-version-settings-response` in responses. */ -export const workers_script_and_version_settings_response_output: JsonSchema = { +export const workers_script$$and$$version$$settings$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" diff --git a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts index 8351063e6..c4446efae 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts @@ -3,120 +3,128 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_binding_item_output, - workers_binding_kind_ai_output, - workers_binding_kind_ai_search_namespace_output, - workers_binding_kind_ai_search_output, - workers_binding_kind_analytics_engine_output, - workers_binding_kind_artifacts_output, - workers_binding_kind_assets_output, - workers_binding_kind_browser_output, - workers_binding_kind_d1_output, - workers_binding_kind_data_blob_output, - workers_binding_kind_dispatch_namespace_output, - workers_binding_kind_durable_object_namespace_output, - workers_binding_kind_flagship_output, - workers_binding_kind_hyperdrive_output, - workers_binding_kind_images_output, - workers_binding_kind_inherit_output, - workers_binding_kind_json_output, - workers_binding_kind_k2_output, - workers_binding_kind_kv_namespace_output, - workers_binding_kind_media_output, - workers_binding_kind_messaging_output, - workers_binding_kind_mtls_certificate_output, - workers_binding_kind_pipelines_output, - workers_binding_kind_plain_text_output, - workers_binding_kind_queue_output, - workers_binding_kind_r2_bucket_output, - workers_binding_kind_ratelimit_output, - workers_binding_kind_secret_key_output, - workers_binding_kind_secret_text_output, - workers_binding_kind_secrets_store_secret_output, - workers_binding_kind_send_email_output, - workers_binding_kind_service_output, - workers_binding_kind_text_blob_output, - workers_binding_kind_vectorize_output, - workers_binding_kind_version_metadata_output, - workers_binding_kind_vpc_network_output, - workers_binding_kind_vpc_service_output, - workers_binding_kind_wasm_module_output, - workers_binding_kind_workflow_output, - workers_binding_name_output, - workers_bindings_output, - workers_cache_options_output, - workers_compatibility_date_output, - workers_compatibility_flag_output, - workers_compatibility_flags_output, - workers_durable_object_deleted_export_output, - workers_durable_object_expecting_transfer_export_output, - workers_durable_object_export_output, - workers_durable_object_export_variants_output, - workers_durable_object_renamed_export_output, - workers_durable_object_transferred_export_output, - workers_entrypoint_cache_options_output, - workers_export_config_output, - workers_export_storage_output, - workers_exports_config_map_output, - workers_exports_reconciliation_info_output, - workers_exports_reconciliation_rename_output, - workers_exports_reconciliation_result_output, - workers_exports_reconciliation_scenario_output, - workers_exports_reconciliation_transfer_output, - workers_exports_reconciliation_transfer_pending_output, - workers_exports_reconciliation_warning_output, - workers_limits_output, - workers_logpush_output, - workers_messages_output, - workers_migration_step_output, - workers_migration_tag_conditions_output, - workers_multiple_step_migrations_output, - workers_namespace_identifier_output, - workers_observability_2_output, - workers_placement_info_no_status_output, - workers_placement_target_output, - workers_single_step_migrations_output, - workers_tag_output, - workers_tags_output, - workers_tail_consumers_output, - workers_tail_consumers_script_output, - workers_usage_model_output, - workers_worker_export_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_binding_item, + workers_binding_kind_ai, + workers_binding_kind_ai_search, + workers_binding_kind_ai_search_namespace, + workers_binding_kind_analytics_engine, + workers_binding_kind_artifacts, + workers_binding_kind_assets, + workers_binding_kind_browser, + workers_binding_kind_d1, + workers_binding_kind_data_blob, + workers_binding_kind_dispatch_namespace, + workers_binding_kind_durable_object_namespace, + workers_binding_kind_flagship, + workers_binding_kind_hyperdrive, + workers_binding_kind_images, + workers_binding_kind_inherit, + workers_binding_kind_json, + workers_binding_kind_k2, + workers_binding_kind_kv_namespace, + workers_binding_kind_media, + workers_binding_kind_messaging, + workers_binding_kind_mtls_certificate, + workers_binding_kind_pipelines, + workers_binding_kind_plain_text, + workers_binding_kind_queue, + workers_binding_kind_r2_bucket, + workers_binding_kind_ratelimit, + workers_binding_kind_secret_key, + workers_binding_kind_secret_text, + workers_binding_kind_secrets_store_secret, + workers_binding_kind_send_email, + workers_binding_kind_service, + workers_binding_kind_text_blob, + workers_binding_kind_vectorize, + workers_binding_kind_version_metadata, + workers_binding_kind_vpc_network, + workers_binding_kind_vpc_service, + workers_binding_kind_wasm_module, + workers_binding_kind_workflow, + workers_binding_name, + workers_bindings, + workers_cache_options, + workers_compatibility_date, + workers_compatibility_flag, + workers_compatibility_flags, + workers_durable_object_deleted_export, + workers_durable_object_expecting_transfer_export, + workers_durable_object_export, + workers_durable_object_export_variants, + workers_durable_object_renamed_export, + workers_durable_object_transferred_export, + workers_entrypoint_cache_options, + workers_export_config, + workers_export_storage, + workers_exports_config_map, + workers_exports_reconciliation_info, + workers_exports_reconciliation_rename, + workers_exports_reconciliation_result, + workers_exports_reconciliation_scenario, + workers_exports_reconciliation_transfer, + workers_exports_reconciliation_transfer_pending, + workers_exports_reconciliation_warning, + workers_limits, + workers_logpush, + workers_messages, + workers_migration_step, + workers_migration_tag_conditions, + workers_multiple_step_migrations, + workers_namespace_identifier, + workers_observability$$2, + workers_placement_info_no_status, + workers_placement_target, + workers_single_step_migrations, + workers_tag, + workers_tags, + workers_tail_consumers, + workers_tail_consumers_script, + workers_usage_model, + workers_worker_export, } from "../../../../outputs.js"; import { workers_identifier, workers_script_name, } from "../../../../schemas.js"; import { - workers_script_and_version_settings_item_output, - workers_script_and_version_settings_response_output, + workers_script$$and$$version$$settings$$item, + workers_script$$and$$version$$settings$$response, } from "./outputs.js"; /** - * The tools of `workers.legacy.scripts.script_and_version_settings`. + * The tools of `workers.legacy.scripts.scriptAndVersionSettings`. */ export const tools: readonly Tool[] = [ { - name: "workers_legacy_scripts_script_and_version_settings_get", + name: "workers_legacy_scripts_scriptAndVersionSettings_get", title: "Get Worker Script and Version Settings", description: "Get Worker script metadata and config, such as bindings or usage model.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -126,88 +134,88 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_script-and-version-settings-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_limits": workers_limits_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_script-and-version-settings-item": workers_script_and_version_settings_item_output, - "workers_script-and-version-settings-response": workers_script_and_version_settings_response_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_limits": workers_limits, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_observability-2": workers_observability$$2, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_script-and-version-settings-item": workers_script$$and$$version$$settings$$item, + "workers_script-and-version-settings-response": workers_script$$and$$version$$settings$$response, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, annotations: { @@ -247,89 +255,89 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_limits": workers_limits_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_script-and-version-settings-item": workers_script_and_version_settings_item_output, - "workers_script-and-version-settings-response": workers_script_and_version_settings_response_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_limits": workers_limits, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_observability-2": workers_observability$$2, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_script-and-version-settings-item": workers_script$$and$$version$$settings$$item, + "workers_script-and-version-settings-response": workers_script$$and$$version$$settings$$response, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts index 273f73421..d8d71d970 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `workers_script-settings-item` in responses. */ -export const workers_script_settings_item_output: JsonSchema = { +export const workers_script$$settings$$item: JsonSchema = { "properties": { "logpush": { "$ref": "#/$defs/workers_logpush" @@ -54,7 +54,7 @@ export const workers_script_settings_item_output: JsonSchema = { /** * The schema of `workers_script-settings-response` in responses. */ -export const workers_script_settings_response_output: JsonSchema = { +export const workers_script$$settings$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" diff --git a/src/generated/forge-mcp/workers/legacy/scripts/settings/schemas.ts b/src/generated/forge-mcp/workers/legacy/scripts/settings/schemas.ts index e6ebf2dfb..3de1f246d 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/settings/schemas.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/settings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `workers_script-settings-item`. */ -export const workers_script_settings_item: JsonSchema = { +export const workers_script$$settings$$item: JsonSchema = { "properties": { "logpush": { "$ref": "#/$defs/workers_logpush", diff --git a/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts index 8849c6539..88cfa922b 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts @@ -3,32 +3,32 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_exports_reconciliation_error_output, - workers_exports_reconciliation_error_response_output, - workers_exports_reconciliation_scenario_output, - workers_logpush_output, - workers_messages_output, - workers_observability_2_output, - workers_tag_output, - workers_tags_output, - workers_tail_consumers_script_output, -} from "../../../../outputs.js"; -import { - workers_identifier, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_exports_reconciliation_error, + workers_exports_reconciliation_error_response, + workers_exports_reconciliation_scenario, workers_logpush, - workers_observability_2, - workers_script_name, + workers_messages, + workers_observability$$2, workers_tag, workers_tags, workers_tail_consumers_script, +} from "../../../../outputs.js"; +import { + workers_identifier, + workers_logpush as workers_logpush$, + workers_observability$$2 as workers_observability$$2$, + workers_script_name, + workers_tag as workers_tag$, + workers_tags as workers_tags$, + workers_tail_consumers_script as workers_tail_consumers_script$, } from "../../../../schemas.js"; import { - workers_script_settings_item_output, - workers_script_settings_response_output, + workers_script$$settings$$item, + workers_script$$settings$$response, } from "./outputs.js"; -import { workers_script_settings_item } from "./schemas.js"; +import { workers_script$$settings$$item as workers_script$$settings$$item$ } from "./schemas.js"; /** * The tools of `workers.legacy.scripts.settings`. @@ -41,46 +41,54 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_script-settings-item" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", + "path", "body" ], $defs: { "workers_identifier": workers_identifier, - "workers_logpush": workers_logpush, - "workers_observability-2": workers_observability_2, - "workers_script-settings-item": workers_script_settings_item, + "workers_logpush": workers_logpush$, + "workers_observability-2": workers_observability$$2$, + "workers_script-settings-item": workers_script$$settings$$item$, "workers_script_name": workers_script_name, - "workers_tag": workers_tag, - "workers_tags": workers_tags, - "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_tag": workers_tag$, + "workers_tags": workers_tags$, + "workers_tail_consumers_script": workers_tail_consumers_script$, }, }, outputSchema: { "$ref": "#/$defs/workers_script-settings-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_observability-2": workers_observability_2_output, - "workers_script-settings-item": workers_script_settings_item_output, - "workers_script-settings-response": workers_script_settings_response_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_observability-2": workers_observability$$2, + "workers_script-settings-item": workers_script$$settings$$item, + "workers_script-settings-response": workers_script$$settings$$response, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers_script": workers_tail_consumers_script, }, }, annotations: { @@ -121,19 +129,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, - "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_observability-2": workers_observability_2_output, - "workers_script-settings-item": workers_script_settings_item_output, - "workers_script-settings-response": workers_script_settings_response_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_observability-2": workers_observability$$2, + "workers_script-settings-item": workers_script$$settings$$item, + "workers_script-settings-response": workers_script$$settings$$response, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers_script": workers_tail_consumers_script, }, }, request: (args) => ({ @@ -148,18 +156,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -169,15 +185,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_script-settings-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_observability-2": workers_observability_2_output, - "workers_script-settings-item": workers_script_settings_item_output, - "workers_script-settings-response": workers_script_settings_response_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_observability-2": workers_observability$$2, + "workers_script-settings-item": workers_script$$settings$$item, + "workers_script-settings-response": workers_script$$settings$$response, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers_script": workers_tail_consumers_script, }, }, annotations: { @@ -217,16 +233,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_observability-2": workers_observability_2_output, - "workers_script-settings-item": workers_script_settings_item_output, - "workers_script-settings-response": workers_script_settings_response_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_observability-2": workers_observability$$2, + "workers_script-settings-item": workers_script$$settings$$item, + "workers_script-settings-response": workers_script$$settings$$response, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers_script": workers_tail_consumers_script, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/legacy/scripts/subdomain/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/outputs.ts index baa0253d7..25ad7bf40 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/subdomain/outputs.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `workers_subdomain` in responses. */ -export const workers_subdomain_output: JsonSchema = { +export const workers_subdomain: JsonSchema = { "properties": { "enabled": { "type": "boolean" diff --git a/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts index 38e997542..ac4066918 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../../../../outputs.js"; import { workers_identifier, workers_script_name, } from "../../../../schemas.js"; -import { workers_subdomain_output } from "./outputs.js"; +import { workers_subdomain } from "./outputs.js"; /** * The tools of `workers.legacy.scripts.subdomain`. @@ -24,10 +24,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "properties": { "enabled": { @@ -44,14 +40,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", + "path", "body" ], $defs: { @@ -77,9 +85,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_subdomain": workers_subdomain_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_subdomain": workers_subdomain, }, }, annotations: { @@ -128,10 +136,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_subdomain": workers_subdomain_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_subdomain": workers_subdomain, }, }, request: (args) => ({ @@ -146,18 +154,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -182,9 +198,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_subdomain": workers_subdomain_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_subdomain": workers_subdomain, }, }, annotations: { @@ -233,10 +249,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_subdomain": workers_subdomain_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_subdomain": workers_subdomain, }, }, request: (args) => ({ @@ -250,18 +266,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -286,9 +310,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_subdomain": workers_subdomain_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_subdomain": workers_subdomain, }, }, annotations: { @@ -343,10 +367,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_subdomain": workers_subdomain_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_subdomain": workers_subdomain, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/legacy/scripts/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/tools.ts index a066602bf..8eeeafb17 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/tools.ts @@ -1,49 +1,52 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_api_response_null_result_output, - workers_cache_options_output, - workers_compatibility_date_output, - workers_compatibility_flag_output, - workers_compatibility_flags_output, - workers_created_on_output, - workers_durable_object_deleted_export_output, - workers_durable_object_expecting_transfer_export_output, - workers_durable_object_export_output, - workers_durable_object_export_variants_output, - workers_durable_object_renamed_export_output, - workers_durable_object_transferred_export_output, - workers_entrypoint_cache_options_output, - workers_etag_output, - workers_export_config_output, - workers_export_storage_output, - workers_exports_config_map_output, - workers_has_assets_output, - workers_has_modules_output, - workers_identifier_output, - workers_logpush_output, - workers_messages_output, - workers_modified_on_output, - workers_observability_2_output, - workers_placement_info_output, - workers_placement_mode_output, - workers_placement_status_output, - workers_placement_target_output, - workers_script_response_output, - workers_tag_output, - workers_tags_output, - workers_tail_consumers_output, - workers_tail_consumers_script_output, - workers_usage_model_output, - workers_worker_export_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_api$$response$$null$$result, + workers_cache_options, + workers_compatibility_date, + workers_compatibility_flag, + workers_compatibility_flags, + workers_created_on, + workers_durable_object_deleted_export, + workers_durable_object_expecting_transfer_export, + workers_durable_object_export, + workers_durable_object_export_variants, + workers_durable_object_renamed_export, + workers_durable_object_transferred_export, + workers_entrypoint_cache_options, + workers_etag, + workers_export_config, + workers_export_storage, + workers_exports_config_map, + workers_has_assets, + workers_has_modules, + workers_identifier, + workers_logpush, + workers_messages, + workers_modified_on, + workers_observability$$2, + workers_placement_info, + workers_placement_mode, + workers_placement_status, + workers_placement_target, + workers_script$$response, + workers_tag, + workers_tags, + workers_tail_consumers, + workers_tail_consumers_script, + workers_usage_model, + workers_worker_export, } from "../../../outputs.js"; -import { workers_identifier, workers_script_name } from "../../../schemas.js"; -import { workers_route_output } from "../../outputs.js"; -import { workers_script_response_collection_output } from "./outputs.js"; +import { + workers_identifier as workers_identifier$, + workers_script_name, +} from "../../../schemas.js"; +import { workers_route } from "../../outputs.js"; +import { workers_script$$response$$collection } from "./outputs.js"; /** * The tools of `workers.legacy.scripts`. @@ -56,34 +59,47 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "delete_with_references": { - "description": "If true, delete the Worker even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Worker are deleted even if other Workers reference them.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "query": { + "properties": { + "force": { + "description": "If true, delete the Worker even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Worker are deleted even if other Workers reference them.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, "workers_script_name": workers_script_name, }, }, outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, annotations: { @@ -115,16 +131,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}`, query: [ - ["force", args["delete_with_references"], true], + ["force", param(args, "query", "force"), true], ], }), }, @@ -135,21 +151,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, "workers_script_name": workers_script_name, }, }, @@ -186,8 +210,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -201,62 +225,75 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "tags": { - "description": "Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.", - "type": "string" + "query": { + "properties": { + "tags": { + "description": "Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, }, }, outputSchema: { "$ref": "#/$defs/workers_script-response-collection", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_created_on": workers_created_on_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_etag": workers_etag_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_has_assets": workers_has_assets_output, - "workers_has_modules": workers_has_modules_output, - "workers_identifier": workers_identifier_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info": workers_placement_info_output, - "workers_placement_mode": workers_placement_mode_output, - "workers_placement_status": workers_placement_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_route": workers_route_output, - "workers_script-response": workers_script_response_output, - "workers_script-response-collection": workers_script_response_collection_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_created_on": workers_created_on, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_etag": workers_etag, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_has_assets": workers_has_assets, + "workers_has_modules": workers_has_modules, + "workers_identifier": workers_identifier, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_observability-2": workers_observability$$2, + "workers_placement_info": workers_placement_info, + "workers_placement_mode": workers_placement_mode, + "workers_placement_status": workers_placement_status, + "workers_placement_target": workers_placement_target, + "workers_route": workers_route, + "workers_script-response": workers_script$$response, + "workers_script-response-collection": workers_script$$response$$collection, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, annotations: { @@ -296,50 +333,50 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_created_on": workers_created_on_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_etag": workers_etag_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_has_assets": workers_has_assets_output, - "workers_has_modules": workers_has_modules_output, - "workers_identifier": workers_identifier_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info": workers_placement_info_output, - "workers_placement_mode": workers_placement_mode_output, - "workers_placement_status": workers_placement_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_route": workers_route_output, - "workers_script-response": workers_script_response_output, - "workers_script-response-collection": workers_script_response_collection_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_created_on": workers_created_on, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_etag": workers_etag, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_has_assets": workers_has_assets, + "workers_has_modules": workers_has_modules, + "workers_identifier": workers_identifier, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_observability-2": workers_observability$$2, + "workers_placement_info": workers_placement_info, + "workers_placement_mode": workers_placement_mode, + "workers_placement_status": workers_placement_status, + "workers_placement_target": workers_placement_target, + "workers_route": workers_route, + "workers_script-response": workers_script$$response, + "workers_script-response-collection": workers_script$$response$$collection, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts`, query: [ - ["tags", args["tags"], true], + ["tags", param(args, "query", "tags"), true], ], }), }, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts index 4c305f524..e194be77c 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `workers_usage-model-response` in responses. */ -export const workers_usage_model_response_output: JsonSchema = { +export const workers_usage$$model$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" @@ -36,7 +36,7 @@ export const workers_usage_model_response_output: JsonSchema = { /** * The schema of `workers_user_limits` in responses. */ -export const workers_user_limits_output: JsonSchema = { +export const workers_user_limits: JsonSchema = { "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts index 288f00332..bd7495045 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts @@ -3,45 +3,53 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, - workers_usage_model_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, + workers_usage_model, } from "../../../../outputs.js"; import { workers_identifier, workers_script_name, - workers_usage_model, + workers_usage_model as workers_usage_model$, } from "../../../../schemas.js"; import { - workers_usage_model_response_output, - workers_user_limits_output, + workers_usage$$model$$response, + workers_user_limits, } from "./outputs.js"; -import { workers_user_limits } from "./schemas.js"; +import { workers_user_limits as workers_user_limits$ } from "./schemas.js"; /** - * The tools of `workers.legacy.scripts.usage_model`. + * The tools of `workers.legacy.scripts.usageModel`. */ export const tools: readonly Tool[] = [ { - name: "workers_legacy_scripts_usage_model_get", + name: "workers_legacy_scripts_usageModel_get", title: "Get Worker Script Usage Model", description: "Fetches the usage model for a Worker script.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -51,11 +59,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_usage-model-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_usage-model-response": workers_usage_model_response_output, - "workers_usage_model": workers_usage_model_output, - "workers_user_limits": workers_user_limits_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_usage-model-response": workers_usage$$model$$response, + "workers_usage_model": workers_usage_model, + "workers_user_limits": workers_user_limits, }, }, annotations: { @@ -95,12 +103,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_usage-model-response": workers_usage_model_response_output, - "workers_usage_model": workers_usage_model_output, - "workers_user_limits": workers_user_limits_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_usage-model-response": workers_usage$$model$$response, + "workers_usage_model": workers_usage_model, + "workers_user_limits": workers_user_limits, }, }, request: (args) => ({ @@ -108,16 +116,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_legacy_scripts_usage_model_update", + name: "workers_legacy_scripts_usageModel_update", title: "Replace Worker Script Usage Model", description: "Replaces the usage model for a Worker script. Requires a Workers Paid subscription.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "properties": { "usage_model": { @@ -132,31 +136,43 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", + "path", "body" ], $defs: { "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, - "workers_usage_model": workers_usage_model, - "workers_user_limits": workers_user_limits, + "workers_usage_model": workers_usage_model$, + "workers_user_limits": workers_user_limits$, }, }, outputSchema: { "$ref": "#/$defs/workers_usage-model-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_usage-model-response": workers_usage_model_response_output, - "workers_usage_model": workers_usage_model_output, - "workers_user_limits": workers_user_limits_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_usage-model-response": workers_usage$$model$$response, + "workers_usage_model": workers_usage_model, + "workers_user_limits": workers_user_limits, }, }, annotations: { @@ -190,12 +206,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_usage-model-response": workers_usage_model_response_output, - "workers_usage_model": workers_usage_model_output, - "workers_user_limits": workers_user_limits_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_usage-model-response": workers_usage$$model$$response, + "workers_usage_model": workers_usage_model, + "workers_user_limits": workers_user_limits, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/legacy/scripts/versions/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/versions/outputs.ts index d99e2f301..a8038857f 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/versions/outputs.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/versions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `workers_version-item-full` in responses. */ -export const workers_version_item_full_output: JsonSchema = { +export const workers_version$$item$$full: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_version-item-short" @@ -113,7 +113,7 @@ export const workers_version_item_full_output: JsonSchema = { /** * The schema of `workers_version-item-short` in responses. */ -export const workers_version_item_short_output: JsonSchema = { +export const workers_version$$item$$short: JsonSchema = { "properties": { "id": { "type": "string" @@ -164,7 +164,7 @@ export const workers_version_item_short_output: JsonSchema = { /** * The schema of `workers_versions-list-response` in responses. */ -export const workers_versions_list_response_output: JsonSchema = { +export const workers_versions$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" @@ -194,7 +194,7 @@ export const workers_versions_list_response_output: JsonSchema = { /** * The schema of `workers_versions-single-response` in responses. */ -export const workers_versions_single_response_output: JsonSchema = { +export const workers_versions$$single$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" diff --git a/src/generated/forge-mcp/workers/legacy/scripts/versions/schemas.ts b/src/generated/forge-mcp/workers/legacy/scripts/versions/schemas.ts index 21a73c399..760746685 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/versions/schemas.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/versions/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `workers_script_name-2`. */ -export const workers_script_name_2: JsonSchema = { +export const workers_script_name$$2: JsonSchema = { "description": "Name of the script.", "type": "string" }; diff --git a/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts index b4da2ae22..a62ebb595 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts @@ -1,74 +1,74 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_binding_item_output, - workers_binding_kind_ai_output, - workers_binding_kind_ai_search_namespace_output, - workers_binding_kind_ai_search_output, - workers_binding_kind_analytics_engine_output, - workers_binding_kind_artifacts_output, - workers_binding_kind_assets_output, - workers_binding_kind_browser_output, - workers_binding_kind_d1_output, - workers_binding_kind_data_blob_output, - workers_binding_kind_dispatch_namespace_output, - workers_binding_kind_durable_object_namespace_output, - workers_binding_kind_flagship_output, - workers_binding_kind_hyperdrive_output, - workers_binding_kind_images_output, - workers_binding_kind_inherit_output, - workers_binding_kind_json_output, - workers_binding_kind_k2_output, - workers_binding_kind_kv_namespace_output, - workers_binding_kind_media_output, - workers_binding_kind_messaging_output, - workers_binding_kind_mtls_certificate_output, - workers_binding_kind_pipelines_output, - workers_binding_kind_plain_text_output, - workers_binding_kind_queue_output, - workers_binding_kind_r2_bucket_output, - workers_binding_kind_ratelimit_output, - workers_binding_kind_secret_key_output, - workers_binding_kind_secret_text_output, - workers_binding_kind_secrets_store_secret_output, - workers_binding_kind_send_email_output, - workers_binding_kind_service_output, - workers_binding_kind_text_blob_output, - workers_binding_kind_vectorize_output, - workers_binding_kind_version_metadata_output, - workers_binding_kind_vpc_network_output, - workers_binding_kind_vpc_service_output, - workers_binding_kind_wasm_module_output, - workers_binding_kind_workflow_output, - workers_binding_name_output, - workers_bindings_output, - workers_durable_object_deleted_export_output, - workers_durable_object_expecting_transfer_export_output, - workers_durable_object_export_output, - workers_durable_object_export_variants_output, - workers_durable_object_renamed_export_output, - workers_durable_object_transferred_export_output, - workers_entrypoint_cache_options_output, - workers_export_config_output, - workers_export_storage_output, - workers_exports_config_map_output, - workers_messages_output, - workers_namespace_identifier_output, - workers_worker_export_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_binding_item, + workers_binding_kind_ai, + workers_binding_kind_ai_search, + workers_binding_kind_ai_search_namespace, + workers_binding_kind_analytics_engine, + workers_binding_kind_artifacts, + workers_binding_kind_assets, + workers_binding_kind_browser, + workers_binding_kind_d1, + workers_binding_kind_data_blob, + workers_binding_kind_dispatch_namespace, + workers_binding_kind_durable_object_namespace, + workers_binding_kind_flagship, + workers_binding_kind_hyperdrive, + workers_binding_kind_images, + workers_binding_kind_inherit, + workers_binding_kind_json, + workers_binding_kind_k2, + workers_binding_kind_kv_namespace, + workers_binding_kind_media, + workers_binding_kind_messaging, + workers_binding_kind_mtls_certificate, + workers_binding_kind_pipelines, + workers_binding_kind_plain_text, + workers_binding_kind_queue, + workers_binding_kind_r2_bucket, + workers_binding_kind_ratelimit, + workers_binding_kind_secret_key, + workers_binding_kind_secret_text, + workers_binding_kind_secrets_store_secret, + workers_binding_kind_send_email, + workers_binding_kind_service, + workers_binding_kind_text_blob, + workers_binding_kind_vectorize, + workers_binding_kind_version_metadata, + workers_binding_kind_vpc_network, + workers_binding_kind_vpc_service, + workers_binding_kind_wasm_module, + workers_binding_kind_workflow, + workers_binding_name, + workers_bindings, + workers_durable_object_deleted_export, + workers_durable_object_expecting_transfer_export, + workers_durable_object_export, + workers_durable_object_export_variants, + workers_durable_object_renamed_export, + workers_durable_object_transferred_export, + workers_entrypoint_cache_options, + workers_export_config, + workers_export_storage, + workers_exports_config_map, + workers_messages, + workers_namespace_identifier, + workers_worker_export, } from "../../../../outputs.js"; import { workers_identifier } from "../../../../schemas.js"; import { - workers_version_item_full_output, - workers_version_item_short_output, - workers_versions_list_response_output, - workers_versions_single_response_output, + workers_version$$item$$full, + workers_version$$item$$short, + workers_versions$$list$$response, + workers_versions$$single$$response, } from "./outputs.js"; import { - workers_script_name_2, + workers_script_name$$2, workers_version_identifier, } from "./schemas.js"; @@ -83,90 +83,98 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name-2", - "description": "Name of the script." - }, - "version_id": { - "$ref": "#/$defs/workers_version_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name-2", + "description": "Name of the script." + }, + "version_id": { + "$ref": "#/$defs/workers_version_identifier" + } + }, + "required": [ + "account_id", + "script_name", + "version_id" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", - "version_id" + "path" ], $defs: { "workers_identifier": workers_identifier, - "workers_script_name-2": workers_script_name_2, + "workers_script_name-2": workers_script_name$$2, "workers_version_identifier": workers_version_identifier, }, }, outputSchema: { "$ref": "#/$defs/workers_versions-single-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_messages": workers_messages_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_version-item-full": workers_version_item_full_output, - "workers_version-item-short": workers_version_item_short_output, - "workers_versions-single-response": workers_versions_single_response_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_messages": workers_messages, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_version-item-full": workers_version$$item$$full, + "workers_version-item-short": workers_version$$item$$short, + "workers_versions-single-response": workers_versions$$single$$response, + "workers_worker_export": workers_worker_export, }, }, annotations: { @@ -211,65 +219,65 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_messages": workers_messages_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_version-item-full": workers_version_item_full_output, - "workers_version-item-short": workers_version_item_short_output, - "workers_versions-single-response": workers_versions_single_response_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_messages": workers_messages, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_version-item-full": workers_version$$item$$full, + "workers_version-item-short": workers_version$$item$$short, + "workers_versions-single-response": workers_versions$$single$$response, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ @@ -283,45 +291,58 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "deployable": { - "default": false, - "description": "Only return versions that can be used in a deployment. Ignores pagination.", - "type": "boolean" - }, - "page": { - "default": 1, - "description": "Current page.", - "type": "integer" - }, - "per_page": { - "description": "Items per-page.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name-2", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" }, - "script_name": { - "$ref": "#/$defs/workers_script_name-2", - "description": "Name of the script." + "query": { + "properties": { + "deployable": { + "default": false, + "description": "Only return versions that can be used in a deployment. Ignores pagination.", + "type": "boolean" + }, + "page": { + "default": 1, + "description": "Current page.", + "type": "integer" + }, + "per_page": { + "description": "Items per-page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, - "workers_script_name-2": workers_script_name_2, + "workers_script_name-2": workers_script_name$$2, }, }, outputSchema: { "$ref": "#/$defs/workers_versions-list-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_version-item-short": workers_version_item_short_output, - "workers_versions-list-response": workers_versions_list_response_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_version-item-short": workers_version$$item$$short, + "workers_versions-list-response": workers_versions$$list$$response, }, }, annotations: { @@ -368,19 +389,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_version-item-short": workers_version_item_short_output, - "workers_versions-list-response": workers_versions_list_response_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_version-item-short": workers_version$$item$$short, + "workers_versions-list-response": workers_versions$$list$$response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/versions`, query: [ - ["deployable", args["deployable"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["deployable", param(args, "query", "deployable"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/workers/outputs.ts b/src/generated/forge-mcp/workers/outputs.ts index 4ccacd514..ddcff15ab 100644 --- a/src/generated/forge-mcp/workers/outputs.ts +++ b/src/generated/forge-mcp/workers/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `workers_ErrorAuth` in responses. */ -export const workers_ErrorAuth_output: JsonSchema = { +export const workers_ErrorAuth: JsonSchema = { "properties": { "code": { "enum": [ @@ -28,7 +28,7 @@ export const workers_ErrorAuth_output: JsonSchema = { /** * The schema of `workers_ErrorInternalServer` in responses. */ -export const workers_ErrorInternalServer_output: JsonSchema = { +export const workers_ErrorInternalServer: JsonSchema = { "properties": { "code": { "enum": [ @@ -50,7 +50,7 @@ export const workers_ErrorInternalServer_output: JsonSchema = { /** * The schema of `workers_ErrorMissingParam` in responses. */ -export const workers_ErrorMissingParam_output: JsonSchema = { +export const workers_ErrorMissingParam: JsonSchema = { "properties": { "code": { "enum": [ @@ -72,7 +72,7 @@ export const workers_ErrorMissingParam_output: JsonSchema = { /** * The schema of `workers_ErrorWorkerInvalid` in responses. */ -export const workers_ErrorWorkerInvalid_output: JsonSchema = { +export const workers_ErrorWorkerInvalid: JsonSchema = { "properties": { "code": { "enum": [ @@ -94,7 +94,7 @@ export const workers_ErrorWorkerInvalid_output: JsonSchema = { /** * The schema of `workers_ErrorWorkerLimit` in responses. */ -export const workers_ErrorWorkerLimit_output: JsonSchema = { +export const workers_ErrorWorkerLimit: JsonSchema = { "properties": { "code": { "enum": [ @@ -116,7 +116,7 @@ export const workers_ErrorWorkerLimit_output: JsonSchema = { /** * The schema of `workers_ErrorWorkerNameConflict` in responses. */ -export const workers_ErrorWorkerNameConflict_output: JsonSchema = { +export const workers_ErrorWorkerNameConflict: JsonSchema = { "properties": { "code": { "enum": [ @@ -138,7 +138,7 @@ export const workers_ErrorWorkerNameConflict_output: JsonSchema = { /** * The schema of `workers_ErrorWorkerNameInvalid` in responses. */ -export const workers_ErrorWorkerNameInvalid_output: JsonSchema = { +export const workers_ErrorWorkerNameInvalid: JsonSchema = { "properties": { "code": { "enum": [ @@ -160,7 +160,7 @@ export const workers_ErrorWorkerNameInvalid_output: JsonSchema = { /** * The schema of `workers_ErrorWorkerNamePreviewLengthLimit` in responses. */ -export const workers_ErrorWorkerNamePreviewLengthLimit_output: JsonSchema = { +export const workers_ErrorWorkerNamePreviewLengthLimit: JsonSchema = { "properties": { "code": { "enum": [ @@ -182,7 +182,7 @@ export const workers_ErrorWorkerNamePreviewLengthLimit_output: JsonSchema = { /** * The schema of `workers_ErrorWorkerNameSubdomainLengthLimit` in responses. */ -export const workers_ErrorWorkerNameSubdomainLengthLimit_output: JsonSchema = { +export const workers_ErrorWorkerNameSubdomainLengthLimit: JsonSchema = { "properties": { "code": { "enum": [ @@ -204,7 +204,7 @@ export const workers_ErrorWorkerNameSubdomainLengthLimit_output: JsonSchema = { /** * The schema of `workers_ErrorWorkerNotFound` in responses. */ -export const workers_ErrorWorkerNotFound_output: JsonSchema = { +export const workers_ErrorWorkerNotFound: JsonSchema = { "properties": { "code": { "enum": [ @@ -227,7 +227,7 @@ export const workers_ErrorWorkerNotFound_output: JsonSchema = { * The schema of `workers_ErrorWorkerObservabilitySamplingRateInvalid` in * responses. */ -export const workers_ErrorWorkerObservabilitySamplingRateInvalid_output: JsonSchema = { +export const workers_ErrorWorkerObservabilitySamplingRateInvalid: JsonSchema = { "properties": { "code": { "enum": [ @@ -249,7 +249,7 @@ export const workers_ErrorWorkerObservabilitySamplingRateInvalid_output: JsonSch /** * The schema of `workers_ErrorWorkerTagInvalid` in responses. */ -export const workers_ErrorWorkerTagInvalid_output: JsonSchema = { +export const workers_ErrorWorkerTagInvalid: JsonSchema = { "properties": { "code": { "enum": [ @@ -271,7 +271,7 @@ export const workers_ErrorWorkerTagInvalid_output: JsonSchema = { /** * The schema of `workers_ErrorWorkerTagLengthLimit` in responses. */ -export const workers_ErrorWorkerTagLengthLimit_output: JsonSchema = { +export const workers_ErrorWorkerTagLengthLimit: JsonSchema = { "properties": { "code": { "enum": [ @@ -293,7 +293,7 @@ export const workers_ErrorWorkerTagLengthLimit_output: JsonSchema = { /** * The schema of `workers_ErrorWorkerTagLimit` in responses. */ -export const workers_ErrorWorkerTagLimit_output: JsonSchema = { +export const workers_ErrorWorkerTagLimit: JsonSchema = { "properties": { "code": { "enum": [ @@ -315,7 +315,7 @@ export const workers_ErrorWorkerTagLimit_output: JsonSchema = { /** * The schema of `workers_PreviewsBaseConfig` in responses. */ -export const workers_PreviewsBaseConfig_output: JsonSchema = { +export const workers_PreviewsBaseConfig: JsonSchema = { "properties": { "cache_options": { "$ref": "#/$defs/workers_cache_options" @@ -356,7 +356,7 @@ export const workers_PreviewsBaseConfig_output: JsonSchema = { /** * The schema of `workers_Worker` in responses. */ -export const workers_Worker_output: JsonSchema = { +export const workers_Worker: JsonSchema = { "properties": { "created_on": { "format": "date-time", @@ -666,7 +666,7 @@ export const workers_Worker_output: JsonSchema = { /** * The schema of `workers_container_item` in responses. */ -export const workers_container_item_output: JsonSchema = { +export const workers_container_item: JsonSchema = { "properties": { "class_name": { "type": "string" @@ -681,7 +681,7 @@ export const workers_container_item_output: JsonSchema = { /** * The schema of `workers_containers` in responses. */ -export const workers_containers_output: JsonSchema = { +export const workers_containers: JsonSchema = { "items": { "$ref": "#/$defs/workers_container_item" }, @@ -691,7 +691,7 @@ export const workers_containers_output: JsonSchema = { /** * The schema of `workers_env` in responses. */ -export const workers_env_output: JsonSchema = { +export const workers_env: JsonSchema = { "additionalProperties": { "$ref": "#/$defs/workers_env_binding_item" }, @@ -701,7 +701,7 @@ export const workers_env_output: JsonSchema = { /** * The schema of `workers_env_binding_item` in responses. */ -export const workers_env_binding_item_output: JsonSchema = { +export const workers_env_binding_item: JsonSchema = { "properties": { "type": { "type": "string" @@ -716,7 +716,7 @@ export const workers_env_binding_item_output: JsonSchema = { /** * The schema of `workers_observability` in responses. */ -export const workers_observability_output: JsonSchema = { +export const workers_observability: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -806,7 +806,7 @@ export const workers_observability_output: JsonSchema = { /** * The schema of `workers_route` in responses. */ -export const workers_route_output: JsonSchema = { +export const workers_route: JsonSchema = { "properties": { "id": { "$ref": "#/$defs/workers_identifier" diff --git a/src/generated/forge-mcp/workers/placement/regions/outputs.ts b/src/generated/forge-mcp/workers/placement/regions/outputs.ts index 25327e8c8..d71758035 100644 --- a/src/generated/forge-mcp/workers/placement/regions/outputs.ts +++ b/src/generated/forge-mcp/workers/placement/regions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `workers_placement-provider` in responses. */ -export const workers_placement_provider_output: JsonSchema = { +export const workers_placement$$provider: JsonSchema = { "properties": { "id": { "type": "string" @@ -28,7 +28,7 @@ export const workers_placement_provider_output: JsonSchema = { /** * The schema of `workers_placement-region` in responses. */ -export const workers_placement_region_output: JsonSchema = { +export const workers_placement$$region: JsonSchema = { "properties": { "id": { "type": "string" @@ -43,7 +43,7 @@ export const workers_placement_region_output: JsonSchema = { /** * The schema of `workers_placement-regions-response` in responses. */ -export const workers_placement_regions_response_output: JsonSchema = { +export const workers_placement$$regions$$response: JsonSchema = { "properties": { "providers": { "items": { diff --git a/src/generated/forge-mcp/workers/placement/regions/tools.ts b/src/generated/forge-mcp/workers/placement/regions/tools.ts index 494a86b7c..48aece877 100644 --- a/src/generated/forge-mcp/workers/placement/regions/tools.ts +++ b/src/generated/forge-mcp/workers/placement/regions/tools.ts @@ -3,15 +3,15 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../../../outputs.js"; import { workers_identifier } from "../../../schemas.js"; import { - workers_placement_provider_output, - workers_placement_region_output, - workers_placement_regions_response_output, + workers_placement$$provider, + workers_placement$$region, + workers_placement$$regions$$response, } from "./outputs.js"; /** @@ -25,13 +25,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -55,11 +63,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_placement-provider": workers_placement_provider_output, - "workers_placement-region": workers_placement_region_output, - "workers_placement-regions-response": workers_placement_regions_response_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_placement-provider": workers_placement$$provider, + "workers_placement-region": workers_placement$$region, + "workers_placement-regions-response": workers_placement$$regions$$response, }, }, annotations: { @@ -106,12 +114,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_placement-provider": workers_placement_provider_output, - "workers_placement-region": workers_placement_region_output, - "workers_placement-regions-response": workers_placement_regions_response_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_placement-provider": workers_placement$$provider, + "workers_placement-region": workers_placement$$region, + "workers_placement-regions-response": workers_placement$$regions$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/previews/deployments/outputs.ts b/src/generated/forge-mcp/workers/previews/deployments/outputs.ts index b40dc869d..0f3626ae5 100644 --- a/src/generated/forge-mcp/workers/previews/deployments/outputs.ts +++ b/src/generated/forge-mcp/workers/previews/deployments/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `workers_PreviewDeployment` in responses. */ -export const workers_PreviewDeployment_output: JsonSchema = { +export const workers_PreviewDeployment: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_PreviewDeploymentRequest" @@ -65,7 +65,7 @@ export const workers_PreviewDeployment_output: JsonSchema = { /** * The schema of `workers_PreviewDeploymentConfig` in responses. */ -export const workers_PreviewDeploymentConfig_output: JsonSchema = { +export const workers_PreviewDeploymentConfig: JsonSchema = { "properties": { "annotations": { "properties": { @@ -162,7 +162,7 @@ export const workers_PreviewDeploymentConfig_output: JsonSchema = { /** * The schema of `workers_PreviewDeploymentRequest` in responses. */ -export const workers_PreviewDeploymentRequest_output: JsonSchema = { +export const workers_PreviewDeploymentRequest: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_PreviewDeploymentConfig" @@ -201,7 +201,7 @@ export const workers_PreviewDeploymentRequest_output: JsonSchema = { /** * The schema of `workers_assets` in responses. */ -export const workers_assets_output: JsonSchema = { +export const workers_assets: JsonSchema = { "properties": { "config": { "properties": { diff --git a/src/generated/forge-mcp/workers/previews/deployments/tools.ts b/src/generated/forge-mcp/workers/previews/deployments/tools.ts index 7300738c9..00ba05f46 100644 --- a/src/generated/forge-mcp/workers/previews/deployments/tools.ts +++ b/src/generated/forge-mcp/workers/previews/deployments/tools.ts @@ -1,86 +1,11 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; -import { - workers_api_response_collection_output, - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_binding_item_output, - workers_binding_kind_ai_output, - workers_binding_kind_ai_search_namespace_output, - workers_binding_kind_ai_search_output, - workers_binding_kind_analytics_engine_output, - workers_binding_kind_artifacts_output, - workers_binding_kind_assets_output, - workers_binding_kind_browser_output, - workers_binding_kind_d1_output, - workers_binding_kind_data_blob_output, - workers_binding_kind_dispatch_namespace_output, - workers_binding_kind_durable_object_namespace_output, - workers_binding_kind_flagship_output, - workers_binding_kind_hyperdrive_output, - workers_binding_kind_images_output, - workers_binding_kind_inherit_output, - workers_binding_kind_json_output, - workers_binding_kind_k2_output, - workers_binding_kind_kv_namespace_output, - workers_binding_kind_media_output, - workers_binding_kind_messaging_output, - workers_binding_kind_mtls_certificate_output, - workers_binding_kind_pipelines_output, - workers_binding_kind_plain_text_output, - workers_binding_kind_queue_output, - workers_binding_kind_r2_bucket_output, - workers_binding_kind_ratelimit_output, - workers_binding_kind_secret_key_output, - workers_binding_kind_secret_text_output, - workers_binding_kind_secrets_store_secret_output, - workers_binding_kind_send_email_output, - workers_binding_kind_service_output, - workers_binding_kind_text_blob_output, - workers_binding_kind_vectorize_output, - workers_binding_kind_version_metadata_output, - workers_binding_kind_vpc_network_output, - workers_binding_kind_vpc_service_output, - workers_binding_kind_wasm_module_output, - workers_binding_kind_workflow_output, - workers_binding_name_output, - workers_bindings_output, - workers_cache_options_output, - workers_compatibility_date_output, - workers_compatibility_flag_output, - workers_compatibility_flags_output, - workers_durable_object_deleted_export_output, - workers_durable_object_expecting_transfer_export_output, - workers_durable_object_export_output, - workers_durable_object_export_variants_output, - workers_durable_object_renamed_export_output, - workers_durable_object_transferred_export_output, - workers_entrypoint_cache_options_output, - workers_export_config_output, - workers_export_storage_output, - workers_exports_config_map_output, - workers_exports_reconciliation_error_output, - workers_exports_reconciliation_error_response_output, - workers_exports_reconciliation_info_output, - workers_exports_reconciliation_rename_output, - workers_exports_reconciliation_result_output, - workers_exports_reconciliation_scenario_output, - workers_exports_reconciliation_transfer_output, - workers_exports_reconciliation_transfer_pending_output, - workers_exports_reconciliation_warning_output, - workers_messages_output, - workers_migration_step_output, - workers_migration_tag_conditions_output, - workers_multiple_step_migrations_output, - workers_namespace_identifier_output, - workers_placement_info_no_status_output, - workers_placement_target_output, - workers_single_step_migrations_output, - workers_worker_export_output, -} from "../../../outputs.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { + workers_api$$response$$collection, + workers_api$$response$$common, + workers_api$$response$$common$$failure, workers_binding_item, workers_binding_kind_ai, workers_binding_kind_ai_search, @@ -136,7 +61,16 @@ import { workers_export_config, workers_export_storage, workers_exports_config_map, - workers_identifier, + workers_exports_reconciliation_error, + workers_exports_reconciliation_error_response, + workers_exports_reconciliation_info, + workers_exports_reconciliation_rename, + workers_exports_reconciliation_result, + workers_exports_reconciliation_scenario, + workers_exports_reconciliation_transfer, + workers_exports_reconciliation_transfer_pending, + workers_exports_reconciliation_warning, + workers_messages, workers_migration_step, workers_migration_tag_conditions, workers_multiple_step_migrations, @@ -145,29 +79,95 @@ import { workers_placement_target, workers_single_step_migrations, workers_worker_export, -} from "../../../schemas.js"; +} from "../../../outputs.js"; import { - workers_container_item_output, - workers_containers_output, - workers_env_binding_item_output, - workers_env_output, -} from "../../outputs.js"; + workers_binding_item as workers_binding_item$, + workers_binding_kind_ai as workers_binding_kind_ai$, + workers_binding_kind_ai_search as workers_binding_kind_ai_search$, + workers_binding_kind_ai_search_namespace as workers_binding_kind_ai_search_namespace$, + workers_binding_kind_analytics_engine as workers_binding_kind_analytics_engine$, + workers_binding_kind_artifacts as workers_binding_kind_artifacts$, + workers_binding_kind_assets as workers_binding_kind_assets$, + workers_binding_kind_browser as workers_binding_kind_browser$, + workers_binding_kind_d1 as workers_binding_kind_d1$, + workers_binding_kind_data_blob as workers_binding_kind_data_blob$, + workers_binding_kind_dispatch_namespace as workers_binding_kind_dispatch_namespace$, + workers_binding_kind_durable_object_namespace as workers_binding_kind_durable_object_namespace$, + workers_binding_kind_flagship as workers_binding_kind_flagship$, + workers_binding_kind_hyperdrive as workers_binding_kind_hyperdrive$, + workers_binding_kind_images as workers_binding_kind_images$, + workers_binding_kind_inherit as workers_binding_kind_inherit$, + workers_binding_kind_json as workers_binding_kind_json$, + workers_binding_kind_k2 as workers_binding_kind_k2$, + workers_binding_kind_kv_namespace as workers_binding_kind_kv_namespace$, + workers_binding_kind_media as workers_binding_kind_media$, + workers_binding_kind_messaging as workers_binding_kind_messaging$, + workers_binding_kind_mtls_certificate as workers_binding_kind_mtls_certificate$, + workers_binding_kind_pipelines as workers_binding_kind_pipelines$, + workers_binding_kind_plain_text as workers_binding_kind_plain_text$, + workers_binding_kind_queue as workers_binding_kind_queue$, + workers_binding_kind_r2_bucket as workers_binding_kind_r2_bucket$, + workers_binding_kind_ratelimit as workers_binding_kind_ratelimit$, + workers_binding_kind_secret_key as workers_binding_kind_secret_key$, + workers_binding_kind_secret_text as workers_binding_kind_secret_text$, + workers_binding_kind_secrets_store_secret as workers_binding_kind_secrets_store_secret$, + workers_binding_kind_send_email as workers_binding_kind_send_email$, + workers_binding_kind_service as workers_binding_kind_service$, + workers_binding_kind_text_blob as workers_binding_kind_text_blob$, + workers_binding_kind_vectorize as workers_binding_kind_vectorize$, + workers_binding_kind_version_metadata as workers_binding_kind_version_metadata$, + workers_binding_kind_vpc_network as workers_binding_kind_vpc_network$, + workers_binding_kind_vpc_service as workers_binding_kind_vpc_service$, + workers_binding_kind_wasm_module as workers_binding_kind_wasm_module$, + workers_binding_kind_workflow as workers_binding_kind_workflow$, + workers_binding_name as workers_binding_name$, + workers_bindings as workers_bindings$, + workers_cache_options as workers_cache_options$, + workers_compatibility_date as workers_compatibility_date$, + workers_compatibility_flag as workers_compatibility_flag$, + workers_compatibility_flags as workers_compatibility_flags$, + workers_durable_object_deleted_export as workers_durable_object_deleted_export$, + workers_durable_object_expecting_transfer_export as workers_durable_object_expecting_transfer_export$, + workers_durable_object_export as workers_durable_object_export$, + workers_durable_object_export_variants as workers_durable_object_export_variants$, + workers_durable_object_renamed_export as workers_durable_object_renamed_export$, + workers_durable_object_transferred_export as workers_durable_object_transferred_export$, + workers_entrypoint_cache_options as workers_entrypoint_cache_options$, + workers_export_config as workers_export_config$, + workers_export_storage as workers_export_storage$, + workers_exports_config_map as workers_exports_config_map$, + workers_identifier, + workers_migration_step as workers_migration_step$, + workers_migration_tag_conditions as workers_migration_tag_conditions$, + workers_multiple_step_migrations as workers_multiple_step_migrations$, + workers_namespace_identifier as workers_namespace_identifier$, + workers_placement_info_no_status as workers_placement_info_no_status$, + workers_placement_target as workers_placement_target$, + workers_single_step_migrations as workers_single_step_migrations$, + workers_worker_export as workers_worker_export$, +} from "../../../schemas.js"; import { workers_container_item, workers_containers, workers_env, workers_env_binding_item, -} from "../../schemas.js"; +} from "../../outputs.js"; import { - workers_PreviewDeploymentConfig_output, - workers_PreviewDeploymentRequest_output, - workers_PreviewDeployment_output, - workers_assets_output, -} from "./outputs.js"; + workers_container_item as workers_container_item$, + workers_containers as workers_containers$, + workers_env as workers_env$, + workers_env_binding_item as workers_env_binding_item$, +} from "../../schemas.js"; import { + workers_PreviewDeployment, workers_PreviewDeploymentConfig, workers_PreviewDeploymentRequest, workers_assets, +} from "./outputs.js"; +import { + workers_PreviewDeploymentConfig as workers_PreviewDeploymentConfig$, + workers_PreviewDeploymentRequest as workers_PreviewDeploymentRequest$, + workers_assets as workers_assets$, } from "./schemas.js"; /** @@ -181,36 +181,142 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_PreviewDeploymentRequest", "description": "Preview deployment creation parameters." }, - "ignore_defaults": { - "description": "If true, preview defaults from the parent Worker are ignored.", - "type": "boolean" - }, - "preview_id": { - "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "preview_id": { + "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "preview_id" + ], + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "ignore_defaults": { + "description": "If true, preview defaults from the parent Worker are ignored.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id", - "preview_id", + "path", "body" ], $defs: { + "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig$, + "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest$, + "workers_assets": workers_assets$, + "workers_binding_item": workers_binding_item$, + "workers_binding_kind_ai": workers_binding_kind_ai$, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search$, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace$, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine$, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts$, + "workers_binding_kind_assets": workers_binding_kind_assets$, + "workers_binding_kind_browser": workers_binding_kind_browser$, + "workers_binding_kind_d1": workers_binding_kind_d1$, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob$, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace$, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace$, + "workers_binding_kind_flagship": workers_binding_kind_flagship$, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive$, + "workers_binding_kind_images": workers_binding_kind_images$, + "workers_binding_kind_inherit": workers_binding_kind_inherit$, + "workers_binding_kind_json": workers_binding_kind_json$, + "workers_binding_kind_k2": workers_binding_kind_k2$, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace$, + "workers_binding_kind_media": workers_binding_kind_media$, + "workers_binding_kind_messaging": workers_binding_kind_messaging$, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate$, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines$, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text$, + "workers_binding_kind_queue": workers_binding_kind_queue$, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket$, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit$, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret$, + "workers_binding_kind_send_email": workers_binding_kind_send_email$, + "workers_binding_kind_service": workers_binding_kind_service$, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob$, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize$, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata$, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network$, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service$, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module$, + "workers_binding_kind_workflow": workers_binding_kind_workflow$, + "workers_binding_name": workers_binding_name$, + "workers_bindings": workers_bindings$, + "workers_cache_options": workers_cache_options$, + "workers_compatibility_date": workers_compatibility_date$, + "workers_compatibility_flag": workers_compatibility_flag$, + "workers_compatibility_flags": workers_compatibility_flags$, + "workers_container_item": workers_container_item$, + "workers_containers": workers_containers$, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export$, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export$, + "workers_durable_object_export": workers_durable_object_export$, + "workers_durable_object_export_variants": workers_durable_object_export_variants$, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export$, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export$, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options$, + "workers_env": workers_env$, + "workers_env_binding_item": workers_env_binding_item$, + "workers_export_config": workers_export_config$, + "workers_export_storage": workers_export_storage$, + "workers_exports_config_map": workers_exports_config_map$, + "workers_identifier": workers_identifier, + "workers_migration_step": workers_migration_step$, + "workers_migration_tag_conditions": workers_migration_tag_conditions$, + "workers_multiple_step_migrations": workers_multiple_step_migrations$, + "workers_namespace_identifier": workers_namespace_identifier$, + "workers_placement_info_no_status": workers_placement_info_no_status$, + "workers_placement_target": workers_placement_target$, + "workers_single_step_migrations": workers_single_step_migrations$, + "workers_worker_export": workers_worker_export$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/workers_PreviewDeployment" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ], + $defs: { + "workers_PreviewDeployment": workers_PreviewDeployment, "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig, "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest, + "workers_api-response-common": workers_api$$response$$common, "workers_assets": workers_assets, "workers_binding_item": workers_binding_item, "workers_binding_kind_ai": workers_binding_kind_ai, @@ -271,7 +377,14 @@ export const tools: readonly Tool[] = [ "workers_export_config": workers_export_config, "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, - "workers_identifier": workers_identifier, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, @@ -282,106 +395,6 @@ export const tools: readonly Tool[] = [ "workers_worker_export": workers_worker_export, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/workers_api-response-common" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/workers_PreviewDeployment" - } - }, - "required": [ - "result" - ], - "type": "object" - } - ], - $defs: { - "workers_PreviewDeployment": workers_PreviewDeployment_output, - "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig_output, - "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_assets": workers_assets_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -428,95 +441,95 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_PreviewDeployment": workers_PreviewDeployment_output, - "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig_output, - "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_assets": workers_assets_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, - "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_PreviewDeployment": workers_PreviewDeployment, + "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig, + "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_assets": workers_assets, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments`, query: [ - ["ignore_defaults", args["ignore_defaults"], true], + ["ignore_defaults", param(args, "query", "ignore_defaults"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -528,28 +541,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "deployment_id": { - "description": "Identifier for the deployment, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created deployment.", - "type": "string" - }, - "preview_id": { - "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", - "type": "string" - }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "deployment_id": { + "description": "Identifier for the deployment, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created deployment.", + "type": "string" + }, + "preview_id": { + "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "preview_id", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "worker_id", - "preview_id", - "deployment_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -558,8 +579,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_api-response-common", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -589,9 +610,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -605,35 +626,141 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_PreviewDeploymentRequest", "description": "JSON Merge Patch to apply to the latest preview deployment. An empty object creates a new deployment with no changes." }, - "ignore_defaults": { - "description": "If true, preview defaults from the parent Worker are ignored.", - "type": "boolean" - }, - "preview_id": { - "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "preview_id": { + "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "preview_id" + ], + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "ignore_defaults": { + "description": "If true, preview defaults from the parent Worker are ignored.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id", - "preview_id" + "path" + ], + $defs: { + "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig$, + "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest$, + "workers_assets": workers_assets$, + "workers_binding_item": workers_binding_item$, + "workers_binding_kind_ai": workers_binding_kind_ai$, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search$, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace$, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine$, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts$, + "workers_binding_kind_assets": workers_binding_kind_assets$, + "workers_binding_kind_browser": workers_binding_kind_browser$, + "workers_binding_kind_d1": workers_binding_kind_d1$, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob$, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace$, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace$, + "workers_binding_kind_flagship": workers_binding_kind_flagship$, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive$, + "workers_binding_kind_images": workers_binding_kind_images$, + "workers_binding_kind_inherit": workers_binding_kind_inherit$, + "workers_binding_kind_json": workers_binding_kind_json$, + "workers_binding_kind_k2": workers_binding_kind_k2$, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace$, + "workers_binding_kind_media": workers_binding_kind_media$, + "workers_binding_kind_messaging": workers_binding_kind_messaging$, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate$, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines$, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text$, + "workers_binding_kind_queue": workers_binding_kind_queue$, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket$, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit$, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret$, + "workers_binding_kind_send_email": workers_binding_kind_send_email$, + "workers_binding_kind_service": workers_binding_kind_service$, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob$, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize$, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata$, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network$, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service$, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module$, + "workers_binding_kind_workflow": workers_binding_kind_workflow$, + "workers_binding_name": workers_binding_name$, + "workers_bindings": workers_bindings$, + "workers_cache_options": workers_cache_options$, + "workers_compatibility_date": workers_compatibility_date$, + "workers_compatibility_flag": workers_compatibility_flag$, + "workers_compatibility_flags": workers_compatibility_flags$, + "workers_container_item": workers_container_item$, + "workers_containers": workers_containers$, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export$, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export$, + "workers_durable_object_export": workers_durable_object_export$, + "workers_durable_object_export_variants": workers_durable_object_export_variants$, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export$, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export$, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options$, + "workers_env": workers_env$, + "workers_env_binding_item": workers_env_binding_item$, + "workers_export_config": workers_export_config$, + "workers_export_storage": workers_export_storage$, + "workers_exports_config_map": workers_exports_config_map$, + "workers_identifier": workers_identifier, + "workers_migration_step": workers_migration_step$, + "workers_migration_tag_conditions": workers_migration_tag_conditions$, + "workers_multiple_step_migrations": workers_multiple_step_migrations$, + "workers_namespace_identifier": workers_namespace_identifier$, + "workers_placement_info_no_status": workers_placement_info_no_status$, + "workers_placement_target": workers_placement_target$, + "workers_single_step_migrations": workers_single_step_migrations$, + "workers_worker_export": workers_worker_export$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/workers_PreviewDeployment" + } + }, + "required": [ + "result" + ], + "type": "object" + } ], $defs: { + "workers_PreviewDeployment": workers_PreviewDeployment, "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig, "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest, + "workers_api-response-common": workers_api$$response$$common, "workers_assets": workers_assets, "workers_binding_item": workers_binding_item, "workers_binding_kind_ai": workers_binding_kind_ai, @@ -694,7 +821,14 @@ export const tools: readonly Tool[] = [ "workers_export_config": workers_export_config, "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, - "workers_identifier": workers_identifier, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, @@ -705,106 +839,6 @@ export const tools: readonly Tool[] = [ "workers_worker_export": workers_worker_export, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/workers_api-response-common" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/workers_PreviewDeployment" - } - }, - "required": [ - "result" - ], - "type": "object" - } - ], - $defs: { - "workers_PreviewDeployment": workers_PreviewDeployment_output, - "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig_output, - "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_assets": workers_assets_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -851,239 +885,252 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_PreviewDeployment": workers_PreviewDeployment_output, - "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig_output, - "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_assets": workers_assets_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, - "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, - }, - }, - request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments/latest`, - query: [ - ["ignore_defaults", args["ignore_defaults"], true], - ], - body: { value: args["body"], mediaType: "application/json" }, - }), - }, - { - name: "workers_previews_deployments_get", - title: "Get Preview Deployment", - description: "Get details about a specific preview deployment.\n\nThis method is beta.", - inputSchema: { - type: "object", - properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "deployment_id": { - "description": "Identifier for the deployment, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created deployment.", - "type": "string" - }, - "include": { - "description": "Whether to include the `modules` property of the deployment in the response, which contains code and sourcemap content and may add several megabytes to the response size.", - "enum": [ - "modules" - ], - "type": "string" - }, - "preview_id": { - "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", - "type": "string" - }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" - } - }, - required: [ - "account_id", - "worker_id", - "preview_id", - "deployment_id" - ], - $defs: { - "workers_identifier": workers_identifier, - }, - }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/workers_api-response-common" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/workers_PreviewDeployment" - } - }, - "required": [ - "result" - ], - "type": "object" - } - ], - $defs: { - "workers_PreviewDeployment": workers_PreviewDeployment_output, - "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig_output, - "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_assets": workers_assets_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, - }, + "workers_PreviewDeployment": workers_PreviewDeployment, + "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig, + "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_assets": workers_assets, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, + }, + }, + request: (args) => ({ + path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments/latest`, + query: [ + ["ignore_defaults", param(args, "query", "ignore_defaults"), true], + ], + body: { value: args["body"], mediaType: "application/json" }, + }), + }, + { + name: "workers_previews_deployments_get", + title: "Get Preview Deployment", + description: "Get details about a specific preview deployment.\n\nThis method is beta.", + inputSchema: { + type: "object", + properties: { + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "deployment_id": { + "description": "Identifier for the deployment, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created deployment.", + "type": "string" + }, + "preview_id": { + "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "preview_id", + "deployment_id" + ], + "type": "object" + }, + "query": { + "properties": { + "include": { + "description": "Whether to include the `modules` property of the deployment in the response, which contains code and sourcemap content and may add several megabytes to the response size.", + "enum": [ + "modules" + ], + "type": "string" + } + }, + "type": "object" + } + }, + required: [ + "path" + ], + $defs: { + "workers_identifier": workers_identifier, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/workers_PreviewDeployment" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ], + $defs: { + "workers_PreviewDeployment": workers_PreviewDeployment, + "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig, + "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest, + "workers_api-response-common": workers_api$$response$$common, + "workers_assets": workers_assets, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, + }, }, annotations: { "destructiveHint": false, @@ -1129,93 +1176,93 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_PreviewDeployment": workers_PreviewDeployment_output, - "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig_output, - "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_assets": workers_assets_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_PreviewDeployment": workers_PreviewDeployment, + "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig, + "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_assets": workers_assets, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments/${pathParam(args, "deployment_id")}`, query: [ - ["include", args["include"], true], + ["include", param(args, "query", "include"), true], ], }), }, @@ -1226,33 +1273,46 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "page": { - "default": 1, - "description": "Current page.", - "type": "integer" - }, - "per_page": { - "default": 10, - "description": "Items per-page.", - "type": "integer" - }, - "preview_id": { - "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "preview_id": { + "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "preview_id" + ], + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Current page.", + "type": "integer" + }, + "per_page": { + "default": 10, + "description": "Items per-page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id", - "preview_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -1279,87 +1339,87 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_PreviewDeployment": workers_PreviewDeployment_output, - "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig_output, - "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_assets": workers_assets_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_PreviewDeployment": workers_PreviewDeployment, + "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig, + "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_assets": workers_assets, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, annotations: { @@ -1409,95 +1469,95 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_PreviewDeployment": workers_PreviewDeployment_output, - "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig_output, - "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_assets": workers_assets_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_PreviewDeployment": workers_PreviewDeployment, + "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig, + "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_assets": workers_assets, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}/deployments`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/workers/previews/outputs.ts b/src/generated/forge-mcp/workers/previews/outputs.ts index b5fb94509..c05b6fd35 100644 --- a/src/generated/forge-mcp/workers/previews/outputs.ts +++ b/src/generated/forge-mcp/workers/previews/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_Preview` in responses. */ -export const workers_Preview_output: JsonSchema = { +export const workers_Preview: JsonSchema = { "properties": { "created_on": { "format": "date-time", diff --git a/src/generated/forge-mcp/workers/previews/tools.ts b/src/generated/forge-mcp/workers/previews/tools.ts index 4bb46836e..8a985a051 100644 --- a/src/generated/forge-mcp/workers/previews/tools.ts +++ b/src/generated/forge-mcp/workers/previews/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, param, pathParam } from "../../_/tool.js"; import { - workers_api_response_collection_output, - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$collection, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../../outputs.js"; import { workers_identifier } from "../../schemas.js"; -import { workers_Preview_output } from "./outputs.js"; -import { workers_Preview } from "./schemas.js"; +import { workers_Preview } from "./outputs.js"; +import { workers_Preview as workers_Preview$ } from "./schemas.js"; /** * The tools of `workers.previews`. @@ -23,10 +23,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "description": "Preview creation parameters.", "properties": { @@ -177,22 +173,39 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "ignore_base_config": { - "description": "If true, preview base config from the parent Worker is ignored.", - "type": "boolean" - }, - "ignore_defaults": { - "description": "If true, preview defaults/base config from the parent Worker is ignored.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id" + ], + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "ignore_base_config": { + "description": "If true, preview base config from the parent Worker is ignored.", + "type": "boolean" + }, + "ignore_defaults": { + "description": "If true, preview defaults/base config from the parent Worker is ignored.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id", + "path", "body" ], $defs: { @@ -217,9 +230,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -261,17 +274,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews`, query: [ - ["ignore_defaults", args["ignore_defaults"], true], - ["ignore_base_config", args["ignore_base_config"], true], + ["ignore_defaults", param(args, "query", "ignore_defaults"), true], + ["ignore_base_config", param(args, "query", "ignore_base_config"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -283,31 +296,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_Preview", "description": "Preview partial update parameters." }, - "preview_id": { - "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", - "type": "string" - }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "preview_id": { + "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "preview_id" + ], + "type": "object" } }, required: [ - "account_id", - "worker_id", - "preview_id", + "path", "body" ], $defs: { - "workers_Preview": workers_Preview, + "workers_Preview": workers_Preview$, "workers_identifier": workers_identifier, }, }, @@ -329,9 +350,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -373,10 +394,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -391,23 +412,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "preview_id": { - "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", - "type": "string" - }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "preview_id": { + "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "preview_id" + ], + "type": "object" } }, required: [ - "account_id", - "worker_id", - "preview_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -431,9 +460,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -480,10 +509,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -497,57 +526,70 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "name": { - "description": "Partial-match filter on preview name.", - "type": "string" - }, - "order": { - "default": "desc", - "description": "Sort direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order_by": { - "default": "deployed_on", - "description": "Property to sort results by.", - "enum": [ - "deployed_on", - "updated_on", - "created_on", - "slug", - "name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page.", - "type": "integer" - }, - "per_page": { - "default": 10, - "description": "Items per-page.", - "type": "integer" - }, - "slug": { - "description": "Partial-match filter on preview slug.", - "type": "string" + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "name": { + "description": "Partial-match filter on preview name.", + "type": "string" + }, + "order": { + "default": "desc", + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order_by": { + "default": "deployed_on", + "description": "Property to sort results by.", + "enum": [ + "deployed_on", + "updated_on", + "created_on", + "slug", + "name" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page.", + "type": "integer" + }, + "per_page": { + "default": 10, + "description": "Items per-page.", + "type": "integer" + }, + "slug": { + "description": "Partial-match filter on preview slug.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -574,10 +616,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -627,22 +669,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order_by", args["order_by"], true], - ["order", args["order"], true], - ["slug", args["slug"], true], - ["name", args["name"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order_by", param(args, "query", "order_by"), true], + ["order", param(args, "query", "order"), true], + ["slug", param(args, "query", "slug"), true], + ["name", param(args, "query", "name"), true], ], }), }, @@ -653,10 +695,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "description": "Preview update parameters.", "properties": { @@ -807,27 +845,44 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "ignore_base_config": { - "description": "If true, preview base config from the parent Worker is ignored.", - "type": "boolean" - }, - "ignore_defaults": { - "description": "If true, preview defaults/base config from the parent Worker is ignored.", - "type": "boolean" - }, - "preview_id": { - "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "preview_id": { + "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "preview_id" + ], + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "ignore_base_config": { + "description": "If true, preview base config from the parent Worker is ignored.", + "type": "boolean" + }, + "ignore_defaults": { + "description": "If true, preview defaults/base config from the parent Worker is ignored.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id", - "preview_id", + "path", "body" ], $defs: { @@ -852,9 +907,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -899,17 +954,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Preview": workers_Preview_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_Preview": workers_Preview, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/previews/${pathParam(args, "preview_id")}`, query: [ - ["ignore_defaults", args["ignore_defaults"], true], - ["ignore_base_config", args["ignore_base_config"], true], + ["ignore_defaults", param(args, "query", "ignore_defaults"), true], + ["ignore_base_config", param(args, "query", "ignore_base_config"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/workers/routes/tools.ts b/src/generated/forge-mcp/workers/routes/tools.ts index 3e5c9eb31..c9f4659a0 100644 --- a/src/generated/forge-mcp/workers/routes/tools.ts +++ b/src/generated/forge-mcp/workers/routes/tools.ts @@ -3,14 +3,14 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_identifier_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_identifier, + workers_messages, } from "../../outputs.js"; -import { workers_identifier } from "../../schemas.js"; -import { workers_route_output } from "../outputs.js"; -import { workers_route } from "../schemas.js"; +import { workers_identifier as workers_identifier$ } from "../../schemas.js"; +import { workers_route } from "../outputs.js"; +import { workers_route as workers_route$ } from "../schemas.js"; /** * The tools of `workers.routes`. @@ -26,18 +26,26 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/workers_route" }, - "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "workers_identifier": workers_identifier, - "workers_route": workers_route, + "workers_identifier": workers_identifier$, + "workers_route": workers_route$, }, }, outputSchema: { @@ -58,10 +66,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_route": workers_route_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_route": workers_route, }, }, annotations: { @@ -106,11 +114,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_route": workers_route_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_route": workers_route, }, }, request: (args) => ({ @@ -125,21 +133,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "route_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "route_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "route_id" + ], + "type": "object" } }, required: [ - "zone_id", - "route_id" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, }, }, outputSchema: { @@ -165,9 +181,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, }, }, annotations: { @@ -217,10 +233,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -234,21 +250,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "route_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "route_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "route_id" + ], + "type": "object" } }, required: [ - "zone_id", - "route_id" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, }, }, outputSchema: { @@ -269,10 +293,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_route": workers_route_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_route": workers_route, }, }, annotations: { @@ -318,11 +342,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_route": workers_route_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_route": workers_route, }, }, request: (args) => ({ @@ -336,16 +360,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, }, }, outputSchema: { @@ -369,10 +401,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_route": workers_route_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_route": workers_route, }, }, annotations: { @@ -421,11 +453,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_route": workers_route_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_route": workers_route, }, }, request: (args) => ({ @@ -442,23 +474,31 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/workers_route" }, - "route_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "route_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "zone_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "route_id" + ], + "type": "object" } }, required: [ - "zone_id", - "route_id", + "path", "body" ], $defs: { - "workers_identifier": workers_identifier, - "workers_route": workers_route, + "workers_identifier": workers_identifier$, + "workers_route": workers_route$, }, }, outputSchema: { @@ -479,10 +519,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_route": workers_route_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_route": workers_route, }, }, annotations: { @@ -527,11 +567,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_route": workers_route_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_route": workers_route, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/scripts/schedules/outputs.ts b/src/generated/forge-mcp/workers/scripts/schedules/outputs.ts index 2946d8b3d..288f6f6c6 100644 --- a/src/generated/forge-mcp/workers/scripts/schedules/outputs.ts +++ b/src/generated/forge-mcp/workers/scripts/schedules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `workers_schedule` in responses. */ -export const workers_schedule_output: JsonSchema = { +export const workers_schedule: JsonSchema = { "properties": { "created_on": { "type": "string" diff --git a/src/generated/forge-mcp/workers/scripts/schedules/tools.ts b/src/generated/forge-mcp/workers/scripts/schedules/tools.ts index b8126f151..3d0c8e182 100644 --- a/src/generated/forge-mcp/workers/scripts/schedules/tools.ts +++ b/src/generated/forge-mcp/workers/scripts/schedules/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../../../outputs.js"; import { workers_identifier, workers_script_name } from "../../../schemas.js"; -import { workers_schedule_output } from "./outputs.js"; -import { workers_schedule } from "./schemas.js"; +import { workers_schedule } from "./outputs.js"; +import { workers_schedule as workers_schedule$ } from "./schemas.js"; /** * The tools of `workers.scripts.schedules`. @@ -22,18 +22,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -69,9 +77,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_schedule": workers_schedule_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_schedule": workers_schedule, }, }, annotations: { @@ -136,10 +144,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_schedule": workers_schedule_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_schedule": workers_schedule, }, }, request: (args) => ({ @@ -153,29 +161,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "items": { "$ref": "#/$defs/workers_schedule" }, "type": "array" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", + "path", "body" ], $defs: { "workers_identifier": workers_identifier, - "workers_schedule": workers_schedule, + "workers_schedule": workers_schedule$, "workers_script_name": workers_script_name, }, }, @@ -208,9 +224,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_schedule": workers_schedule_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_schedule": workers_schedule, }, }, annotations: { @@ -270,10 +286,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_schedule": workers_schedule_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_schedule": workers_schedule, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/scripts/tools.ts b/src/generated/forge-mcp/workers/scripts/tools.ts index 8644a88ac..5b901560c 100644 --- a/src/generated/forge-mcp/workers/scripts/tools.ts +++ b/src/generated/forge-mcp/workers/scripts/tools.ts @@ -1,18 +1,18 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - workers_api_response_collection_output, - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_created_on_output, - workers_identifier_output, - workers_messages_output, - workers_modified_on_output, - workers_script_name_output, + workers_api$$response$$collection, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_created_on, + workers_identifier, + workers_messages, + workers_modified_on, + workers_script_name, } from "../../outputs.js"; -import { workers_identifier } from "../../schemas.js"; +import { workers_identifier as workers_identifier$ } from "../../schemas.js"; /** * The tools of `workers.scripts`. @@ -25,44 +25,57 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "id": { - "description": "Worker ID (also called tag) to search for. Only exact matches are returned.", - "type": "string" - }, - "name": { - "description": "Worker name to search for. Both exact and partial matches are returned.", - "type": "string" - }, - "order_by": { - "default": "name", - "description": "Property to sort results by. Results are sorted in ascending order.", - "enum": [ - "created_on", - "modified_on", - "name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page.", - "type": "integer" + "type": "object" }, - "per_page": { - "default": 10, - "description": "Items per page.", - "type": "integer" + "query": { + "properties": { + "id": { + "description": "Worker ID (also called tag) to search for. Only exact matches are returned.", + "type": "string" + }, + "name": { + "description": "Worker name to search for. Both exact and partial matches are returned.", + "type": "string" + }, + "order_by": { + "default": "name", + "description": "Property to sort results by. Results are sorted in ascending order.", + "enum": [ + "created_on", + "modified_on", + "name" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page.", + "type": "integer" + }, + "per_page": { + "default": 10, + "description": "Items per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, }, }, outputSchema: { @@ -115,13 +128,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_created_on": workers_created_on_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_script_name": workers_script_name_output, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_created_on": workers_created_on, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_script_name": workers_script_name, }, }, annotations: { @@ -205,24 +218,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_created_on": workers_created_on_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_script_name": workers_script_name_output, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_created_on": workers_created_on, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_script_name": workers_script_name, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts-search`, query: [ - ["name", args["name"], true], - ["id", args["id"], true], - ["order_by", args["order_by"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["name", param(args, "query", "name"), true], + ["id", param(args, "query", "id"), true], + ["order_by", param(args, "query", "order_by"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/workers/secrets/tools.ts b/src/generated/forge-mcp/workers/secrets/tools.ts index b2268d83a..16fa63a8a 100644 --- a/src/generated/forge-mcp/workers/secrets/tools.ts +++ b/src/generated/forge-mcp/workers/secrets/tools.ts @@ -1,28 +1,28 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_api_response_null_result_output, - workers_binding_kind_secret_key_output, - workers_binding_kind_secret_text_output, - workers_binding_name_output, - workers_messages_output, - workers_secret_output, - workers_secret_patch_response_output, -} from "../../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_api$$response$$null$$result, workers_binding_kind_secret_key, workers_binding_kind_secret_text, workers_binding_name, + workers_messages, + workers_secret, + workers_secret$$patch$$response, +} from "../../outputs.js"; +import { + workers_binding_kind_secret_key as workers_binding_kind_secret_key$, + workers_binding_kind_secret_text as workers_binding_kind_secret_text$, + workers_binding_name as workers_binding_name$, workers_identifier, workers_script_name, - workers_secret, + workers_secret as workers_secret$, + workers_secret$$patch$$request, workers_secret_name, workers_secret_name_url_encoded, - workers_secret_patch_request, } from "../../schemas.js"; /** @@ -36,31 +36,39 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_secret-patch-request" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", + "path", "body" ], $defs: { - "workers_binding_kind_secret_key": workers_binding_kind_secret_key, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, + "workers_binding_name": workers_binding_name$, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, - "workers_secret": workers_secret, - "workers_secret-patch-request": workers_secret_patch_request, + "workers_secret": workers_secret$, + "workers_secret-patch-request": workers_secret$$patch$$request, }, }, outputSchema: { @@ -78,13 +86,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, - "workers_secret-patch-response": workers_secret_patch_response_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, + "workers_secret-patch-response": workers_secret$$patch$$response, }, }, annotations: { @@ -130,14 +138,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, - "workers_secret-patch-response": workers_secret_patch_response_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, + "workers_secret-patch-response": workers_secret$$patch$$response, }, }, request: (args) => ({ @@ -152,27 +160,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." - }, - "secret_name": { - "$ref": "#/$defs/workers_secret_name", - "description": "A JavaScript variable name for the secret binding." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + }, + "secret_name": { + "$ref": "#/$defs/workers_secret_name", + "description": "A JavaScript variable name for the secret binding." + } + }, + "required": [ + "account_id", + "script_name", + "secret_name" + ], + "type": "object" }, - "url_encoded": { - "$ref": "#/$defs/workers_secret_name_url_encoded", - "description": "Flag that indicates whether the secret name is URL encoded." + "query": { + "properties": { + "url_encoded": { + "$ref": "#/$defs/workers_secret_name_url_encoded", + "description": "Flag that indicates whether the secret name is URL encoded." + } + }, + "type": "object" } }, required: [ - "account_id", - "script_name", - "secret_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -184,9 +205,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, annotations: { @@ -217,16 +238,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/secrets/${pathParam(args, "secret_name")}`, query: [ - ["url_encoded", args["url_encoded"], true], + ["url_encoded", param(args, "query", "url_encoded"), true], ], }), }, @@ -237,27 +258,40 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." - }, - "secret_name": { - "$ref": "#/$defs/workers_secret_name", - "description": "A JavaScript variable name for the secret binding." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + }, + "secret_name": { + "$ref": "#/$defs/workers_secret_name", + "description": "A JavaScript variable name for the secret binding." + } + }, + "required": [ + "account_id", + "script_name", + "secret_name" + ], + "type": "object" }, - "url_encoded": { - "$ref": "#/$defs/workers_secret_name_url_encoded", - "description": "Flag that indicates whether the secret name is URL encoded." + "query": { + "properties": { + "url_encoded": { + "$ref": "#/$defs/workers_secret_name_url_encoded", + "description": "Flag that indicates whether the secret name is URL encoded." + } + }, + "type": "object" } }, required: [ - "account_id", - "script_name", - "secret_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -281,12 +315,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, annotations: { @@ -335,19 +369,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/scripts/${pathParam(args, "script_name")}/secrets/${pathParam(args, "secret_name")}`, query: [ - ["url_encoded", args["url_encoded"], true], + ["url_encoded", param(args, "query", "url_encoded"), true], ], }), }, @@ -358,18 +392,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -394,12 +436,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, annotations: { @@ -451,13 +493,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, request: (args) => ({ @@ -471,30 +513,38 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_secret" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", + "path", "body" ], $defs: { - "workers_binding_kind_secret_key": workers_binding_kind_secret_key, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, + "workers_binding_name": workers_binding_name$, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, - "workers_secret": workers_secret, + "workers_secret": workers_secret$, }, }, outputSchema: { @@ -512,12 +562,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, annotations: { @@ -563,13 +613,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/subdomains/outputs.ts b/src/generated/forge-mcp/workers/subdomains/outputs.ts index 7eff8a647..18b520339 100644 --- a/src/generated/forge-mcp/workers/subdomains/outputs.ts +++ b/src/generated/forge-mcp/workers/subdomains/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_subdomain-2` in responses. */ -export const workers_subdomain_2_output: JsonSchema = { +export const workers_subdomain$$2: JsonSchema = { "properties": { "subdomain": { "type": "string" diff --git a/src/generated/forge-mcp/workers/subdomains/schemas.ts b/src/generated/forge-mcp/workers/subdomains/schemas.ts index 797a28f0e..5894b6876 100644 --- a/src/generated/forge-mcp/workers/subdomains/schemas.ts +++ b/src/generated/forge-mcp/workers/subdomains/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_subdomain-2`. */ -export const workers_subdomain_2: JsonSchema = { +export const workers_subdomain$$2: JsonSchema = { "properties": { "subdomain": { "type": "string" diff --git a/src/generated/forge-mcp/workers/subdomains/tools.ts b/src/generated/forge-mcp/workers/subdomains/tools.ts index 14039df54..1b6613da9 100644 --- a/src/generated/forge-mcp/workers/subdomains/tools.ts +++ b/src/generated/forge-mcp/workers/subdomains/tools.ts @@ -3,13 +3,13 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_messages, } from "../../outputs.js"; import { workers_identifier } from "../../schemas.js"; -import { workers_subdomain_2_output } from "./outputs.js"; -import { workers_subdomain_2 } from "./schemas.js"; +import { workers_subdomain$$2 } from "./outputs.js"; +import { workers_subdomain$$2 as workers_subdomain$$2$ } from "./schemas.js"; /** * The tools of `workers.subdomains`. @@ -22,13 +22,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -59,8 +67,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -74,13 +82,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -104,9 +120,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_subdomain-2": workers_subdomain_2_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_subdomain-2": workers_subdomain$$2, }, }, annotations: { @@ -152,10 +168,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_subdomain-2": workers_subdomain_2_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_subdomain-2": workers_subdomain$$2, }, }, request: (args) => ({ @@ -169,21 +185,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_subdomain-2" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "workers_identifier": workers_identifier, - "workers_subdomain-2": workers_subdomain_2, + "workers_subdomain-2": workers_subdomain$$2$, }, }, outputSchema: { @@ -204,9 +228,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_subdomain-2": workers_subdomain_2_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_subdomain-2": workers_subdomain$$2, }, }, annotations: { @@ -251,10 +275,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_subdomain-2": workers_subdomain_2_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_subdomain-2": workers_subdomain$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/tail/outputs.ts b/src/generated/forge-mcp/workers/tail/outputs.ts index 213d90d4b..1540829d6 100644 --- a/src/generated/forge-mcp/workers/tail/outputs.ts +++ b/src/generated/forge-mcp/workers/tail/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_tail` in responses. */ -export const workers_tail_output: JsonSchema = { +export const workers_tail: JsonSchema = { "properties": { "expires_at": { "type": "string" diff --git a/src/generated/forge-mcp/workers/tail/tools.ts b/src/generated/forge-mcp/workers/tail/tools.ts index 7b5278e2f..35148b9fe 100644 --- a/src/generated/forge-mcp/workers/tail/tools.ts +++ b/src/generated/forge-mcp/workers/tail/tools.ts @@ -3,13 +3,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_identifier_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_identifier, + workers_messages, } from "../../outputs.js"; -import { workers_identifier, workers_script_name } from "../../schemas.js"; -import { workers_tail_output } from "./outputs.js"; +import { + workers_identifier as workers_identifier$, + workers_script_name, +} from "../../schemas.js"; +import { workers_tail } from "./outputs.js"; /** * The tools of `workers.tail`. @@ -22,34 +25,42 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "script_name", - "id" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, "workers_script_name": workers_script_name, }, }, outputSchema: { "$ref": "#/$defs/workers_api-response-common", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -84,9 +95,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -100,21 +111,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, "workers_script_name": workers_script_name, }, }, @@ -136,10 +155,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_tail": workers_tail_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_tail": workers_tail, }, }, annotations: { @@ -193,11 +212,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_tail": workers_tail_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_tail": workers_tail, }, }, request: (args) => ({ @@ -211,21 +230,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "script_name" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, "workers_script_name": workers_script_name, }, }, @@ -247,10 +274,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_tail": workers_tail_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_tail": workers_tail, }, }, annotations: { @@ -300,11 +327,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_tail": workers_tail_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_tail": workers_tail, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/tools.ts b/src/generated/forge-mcp/workers/tools.ts index 63c1551f4..266ddbee2 100644 --- a/src/generated/forge-mcp/workers/tools.ts +++ b/src/generated/forge-mcp/workers/tools.ts @@ -1,51 +1,51 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; -import { - workers_api_response_collection_output, - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_cache_options_output, - workers_limits_output, - workers_messages_output, - workers_placement_info_no_status_output, - workers_placement_target_output, -} from "../outputs.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { + workers_api$$response$$collection, + workers_api$$response$$common, + workers_api$$response$$common$$failure, workers_cache_options, - workers_identifier, workers_limits, + workers_messages, workers_placement_info_no_status, workers_placement_target, -} from "../schemas.js"; +} from "../outputs.js"; import { - workers_ErrorAuth_output, - workers_ErrorInternalServer_output, - workers_ErrorMissingParam_output, - workers_ErrorWorkerInvalid_output, - workers_ErrorWorkerLimit_output, - workers_ErrorWorkerNameConflict_output, - workers_ErrorWorkerNameInvalid_output, - workers_ErrorWorkerNamePreviewLengthLimit_output, - workers_ErrorWorkerNameSubdomainLengthLimit_output, - workers_ErrorWorkerNotFound_output, - workers_ErrorWorkerObservabilitySamplingRateInvalid_output, - workers_ErrorWorkerTagInvalid_output, - workers_ErrorWorkerTagLengthLimit_output, - workers_ErrorWorkerTagLimit_output, - workers_PreviewsBaseConfig_output, - workers_Worker_output, - workers_env_binding_item_output, - workers_env_output, - workers_observability_output, -} from "./outputs.js"; + workers_cache_options as workers_cache_options$, + workers_identifier, + workers_limits as workers_limits$, + workers_placement_info_no_status as workers_placement_info_no_status$, + workers_placement_target as workers_placement_target$, +} from "../schemas.js"; import { + workers_ErrorAuth, + workers_ErrorInternalServer, + workers_ErrorMissingParam, + workers_ErrorWorkerInvalid, + workers_ErrorWorkerLimit, + workers_ErrorWorkerNameConflict, + workers_ErrorWorkerNameInvalid, + workers_ErrorWorkerNamePreviewLengthLimit, + workers_ErrorWorkerNameSubdomainLengthLimit, + workers_ErrorWorkerNotFound, + workers_ErrorWorkerObservabilitySamplingRateInvalid, + workers_ErrorWorkerTagInvalid, + workers_ErrorWorkerTagLengthLimit, + workers_ErrorWorkerTagLimit, workers_PreviewsBaseConfig, workers_Worker, workers_env, workers_env_binding_item, workers_observability, +} from "./outputs.js"; +import { + workers_PreviewsBaseConfig as workers_PreviewsBaseConfig$, + workers_Worker as workers_Worker$, + workers_env as workers_env$, + workers_env_binding_item as workers_env_binding_item$, + workers_observability as workers_observability$, } from "./schemas.js"; /** @@ -59,10 +59,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "description": "Worker creation parameters.", "properties": { @@ -247,22 +243,34 @@ export const tools: readonly Tool[] = [ "tail_consumers" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, - "workers_cache_options": workers_cache_options, - "workers_env": workers_env, - "workers_env_binding_item": workers_env_binding_item, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig$, + "workers_cache_options": workers_cache_options$, + "workers_env": workers_env$, + "workers_env_binding_item": workers_env_binding_item$, "workers_identifier": workers_identifier, - "workers_limits": workers_limits, - "workers_observability": workers_observability, - "workers_placement_info_no_status": workers_placement_info_no_status, - "workers_placement_target": workers_placement_target, + "workers_limits": workers_limits$, + "workers_observability": workers_observability$, + "workers_placement_info_no_status": workers_placement_info_no_status$, + "workers_placement_target": workers_placement_target$, }, }, outputSchema: { @@ -283,17 +291,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-common": workers_api$$response$$common, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, annotations: { @@ -469,30 +477,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_ErrorAuth": workers_ErrorAuth_output, - "workers_ErrorInternalServer": workers_ErrorInternalServer_output, - "workers_ErrorWorkerInvalid": workers_ErrorWorkerInvalid_output, - "workers_ErrorWorkerLimit": workers_ErrorWorkerLimit_output, - "workers_ErrorWorkerNameConflict": workers_ErrorWorkerNameConflict_output, - "workers_ErrorWorkerNameInvalid": workers_ErrorWorkerNameInvalid_output, - "workers_ErrorWorkerNamePreviewLengthLimit": workers_ErrorWorkerNamePreviewLengthLimit_output, - "workers_ErrorWorkerNameSubdomainLengthLimit": workers_ErrorWorkerNameSubdomainLengthLimit_output, - "workers_ErrorWorkerObservabilitySamplingRateInvalid": workers_ErrorWorkerObservabilitySamplingRateInvalid_output, - "workers_ErrorWorkerTagInvalid": workers_ErrorWorkerTagInvalid_output, - "workers_ErrorWorkerTagLengthLimit": workers_ErrorWorkerTagLengthLimit_output, - "workers_ErrorWorkerTagLimit": workers_ErrorWorkerTagLimit_output, - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_ErrorAuth": workers_ErrorAuth, + "workers_ErrorInternalServer": workers_ErrorInternalServer, + "workers_ErrorWorkerInvalid": workers_ErrorWorkerInvalid, + "workers_ErrorWorkerLimit": workers_ErrorWorkerLimit, + "workers_ErrorWorkerNameConflict": workers_ErrorWorkerNameConflict, + "workers_ErrorWorkerNameInvalid": workers_ErrorWorkerNameInvalid, + "workers_ErrorWorkerNamePreviewLengthLimit": workers_ErrorWorkerNamePreviewLengthLimit, + "workers_ErrorWorkerNameSubdomainLengthLimit": workers_ErrorWorkerNameSubdomainLengthLimit, + "workers_ErrorWorkerObservabilitySamplingRateInvalid": workers_ErrorWorkerObservabilitySamplingRateInvalid, + "workers_ErrorWorkerTagInvalid": workers_ErrorWorkerTagInvalid, + "workers_ErrorWorkerTagLengthLimit": workers_ErrorWorkerTagLengthLimit, + "workers_ErrorWorkerTagLimit": workers_ErrorWorkerTagLimit, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, request: (args) => ({ @@ -507,22 +515,35 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "delete_with_references": { - "description": "If true, delete the Worker even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Worker are deleted even if other Workers reference them.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id" + ], + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "force": { + "description": "If true, delete the Worker even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Worker are deleted even if other Workers reference them.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -531,8 +552,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_api-response-common", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -642,19 +663,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_ErrorAuth": workers_ErrorAuth_output, - "workers_ErrorInternalServer": workers_ErrorInternalServer_output, - "workers_ErrorMissingParam": workers_ErrorMissingParam_output, - "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_ErrorAuth": workers_ErrorAuth, + "workers_ErrorInternalServer": workers_ErrorInternalServer, + "workers_ErrorMissingParam": workers_ErrorMissingParam, + "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}`, query: [ - ["force", args["delete_with_references"], true], + ["force", param(args, "query", "force"), true], ], }), }, @@ -665,35 +686,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_Worker", "description": "Worker partial update parameters." }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id" + ], + "type": "object" } }, required: [ - "account_id", - "worker_id", + "path", "body" ], $defs: { - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, - "workers_Worker": workers_Worker, - "workers_cache_options": workers_cache_options, - "workers_env": workers_env, - "workers_env_binding_item": workers_env_binding_item, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig$, + "workers_Worker": workers_Worker$, + "workers_cache_options": workers_cache_options$, + "workers_env": workers_env$, + "workers_env_binding_item": workers_env_binding_item$, "workers_identifier": workers_identifier, - "workers_limits": workers_limits, - "workers_observability": workers_observability, - "workers_placement_info_no_status": workers_placement_info_no_status, - "workers_placement_target": workers_placement_target, + "workers_limits": workers_limits$, + "workers_observability": workers_observability$, + "workers_placement_info_no_status": workers_placement_info_no_status$, + "workers_placement_target": workers_placement_target$, }, }, outputSchema: { @@ -714,17 +743,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-common": workers_api$$response$$common, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, annotations: { @@ -928,32 +957,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_ErrorAuth": workers_ErrorAuth_output, - "workers_ErrorInternalServer": workers_ErrorInternalServer_output, - "workers_ErrorMissingParam": workers_ErrorMissingParam_output, - "workers_ErrorWorkerInvalid": workers_ErrorWorkerInvalid_output, - "workers_ErrorWorkerLimit": workers_ErrorWorkerLimit_output, - "workers_ErrorWorkerNameConflict": workers_ErrorWorkerNameConflict_output, - "workers_ErrorWorkerNameInvalid": workers_ErrorWorkerNameInvalid_output, - "workers_ErrorWorkerNamePreviewLengthLimit": workers_ErrorWorkerNamePreviewLengthLimit_output, - "workers_ErrorWorkerNameSubdomainLengthLimit": workers_ErrorWorkerNameSubdomainLengthLimit_output, - "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound_output, - "workers_ErrorWorkerObservabilitySamplingRateInvalid": workers_ErrorWorkerObservabilitySamplingRateInvalid_output, - "workers_ErrorWorkerTagInvalid": workers_ErrorWorkerTagInvalid_output, - "workers_ErrorWorkerTagLengthLimit": workers_ErrorWorkerTagLengthLimit_output, - "workers_ErrorWorkerTagLimit": workers_ErrorWorkerTagLimit_output, - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_ErrorAuth": workers_ErrorAuth, + "workers_ErrorInternalServer": workers_ErrorInternalServer, + "workers_ErrorMissingParam": workers_ErrorMissingParam, + "workers_ErrorWorkerInvalid": workers_ErrorWorkerInvalid, + "workers_ErrorWorkerLimit": workers_ErrorWorkerLimit, + "workers_ErrorWorkerNameConflict": workers_ErrorWorkerNameConflict, + "workers_ErrorWorkerNameInvalid": workers_ErrorWorkerNameInvalid, + "workers_ErrorWorkerNamePreviewLengthLimit": workers_ErrorWorkerNamePreviewLengthLimit, + "workers_ErrorWorkerNameSubdomainLengthLimit": workers_ErrorWorkerNameSubdomainLengthLimit, + "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound, + "workers_ErrorWorkerObservabilitySamplingRateInvalid": workers_ErrorWorkerObservabilitySamplingRateInvalid, + "workers_ErrorWorkerTagInvalid": workers_ErrorWorkerTagInvalid, + "workers_ErrorWorkerTagLengthLimit": workers_ErrorWorkerTagLengthLimit, + "workers_ErrorWorkerTagLimit": workers_ErrorWorkerTagLimit, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, request: (args) => ({ @@ -968,18 +997,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id" + ], + "type": "object" } }, required: [ - "account_id", - "worker_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -1003,17 +1040,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-common": workers_api$$response$$common, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, annotations: { @@ -1125,21 +1162,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_ErrorInternalServer": workers_ErrorInternalServer_output, - "workers_ErrorMissingParam": workers_ErrorMissingParam_output, - "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound_output, - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_ErrorInternalServer": workers_ErrorInternalServer, + "workers_ErrorMissingParam": workers_ErrorMissingParam, + "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, request: (args) => ({ @@ -1153,43 +1190,56 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "order": { - "default": "desc", - "description": "Sort direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order_by": { - "default": "deployed_on", - "description": "Property to sort results by.", - "enum": [ - "deployed_on", - "updated_on", - "created_on", - "name" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page.", - "type": "integer" + "type": "object" }, - "per_page": { - "default": 10, - "description": "Items per-page.", - "type": "integer" + "query": { + "properties": { + "order": { + "default": "desc", + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order_by": { + "default": "deployed_on", + "description": "Property to sort results by.", + "enum": [ + "deployed_on", + "updated_on", + "created_on", + "name" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Current page.", + "type": "integer" + }, + "per_page": { + "default": 10, + "description": "Items per-page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -1216,18 +1266,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, annotations: { @@ -1321,30 +1371,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_ErrorAuth": workers_ErrorAuth_output, - "workers_ErrorInternalServer": workers_ErrorInternalServer_output, - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_ErrorAuth": workers_ErrorAuth, + "workers_ErrorInternalServer": workers_ErrorInternalServer, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order_by", args["order_by"], true], - ["order", args["order"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order_by", param(args, "query", "order_by"), true], + ["order", param(args, "query", "order"), true], ], }), }, @@ -1355,10 +1405,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "description": "Worker update parameters.", "properties": { @@ -1544,26 +1590,38 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id" + ], + "type": "object" } }, required: [ - "account_id", - "worker_id", + "path", "body" ], $defs: { - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, - "workers_cache_options": workers_cache_options, - "workers_env": workers_env, - "workers_env_binding_item": workers_env_binding_item, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig$, + "workers_cache_options": workers_cache_options$, + "workers_env": workers_env$, + "workers_env_binding_item": workers_env_binding_item$, "workers_identifier": workers_identifier, - "workers_limits": workers_limits, - "workers_observability": workers_observability, - "workers_placement_info_no_status": workers_placement_info_no_status, - "workers_placement_target": workers_placement_target, + "workers_limits": workers_limits$, + "workers_observability": workers_observability$, + "workers_placement_info_no_status": workers_placement_info_no_status$, + "workers_placement_target": workers_placement_target$, }, }, outputSchema: { @@ -1584,17 +1642,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-common": workers_api$$response$$common, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, annotations: { @@ -1798,32 +1856,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_ErrorAuth": workers_ErrorAuth_output, - "workers_ErrorInternalServer": workers_ErrorInternalServer_output, - "workers_ErrorMissingParam": workers_ErrorMissingParam_output, - "workers_ErrorWorkerInvalid": workers_ErrorWorkerInvalid_output, - "workers_ErrorWorkerLimit": workers_ErrorWorkerLimit_output, - "workers_ErrorWorkerNameConflict": workers_ErrorWorkerNameConflict_output, - "workers_ErrorWorkerNameInvalid": workers_ErrorWorkerNameInvalid_output, - "workers_ErrorWorkerNamePreviewLengthLimit": workers_ErrorWorkerNamePreviewLengthLimit_output, - "workers_ErrorWorkerNameSubdomainLengthLimit": workers_ErrorWorkerNameSubdomainLengthLimit_output, - "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound_output, - "workers_ErrorWorkerObservabilitySamplingRateInvalid": workers_ErrorWorkerObservabilitySamplingRateInvalid_output, - "workers_ErrorWorkerTagInvalid": workers_ErrorWorkerTagInvalid_output, - "workers_ErrorWorkerTagLengthLimit": workers_ErrorWorkerTagLengthLimit_output, - "workers_ErrorWorkerTagLimit": workers_ErrorWorkerTagLimit_output, - "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig_output, - "workers_Worker": workers_Worker_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_cache_options": workers_cache_options_output, - "workers_env": workers_env_output, - "workers_env_binding_item": workers_env_binding_item_output, - "workers_limits": workers_limits_output, - "workers_messages": workers_messages_output, - "workers_observability": workers_observability_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, + "workers_ErrorAuth": workers_ErrorAuth, + "workers_ErrorInternalServer": workers_ErrorInternalServer, + "workers_ErrorMissingParam": workers_ErrorMissingParam, + "workers_ErrorWorkerInvalid": workers_ErrorWorkerInvalid, + "workers_ErrorWorkerLimit": workers_ErrorWorkerLimit, + "workers_ErrorWorkerNameConflict": workers_ErrorWorkerNameConflict, + "workers_ErrorWorkerNameInvalid": workers_ErrorWorkerNameInvalid, + "workers_ErrorWorkerNamePreviewLengthLimit": workers_ErrorWorkerNamePreviewLengthLimit, + "workers_ErrorWorkerNameSubdomainLengthLimit": workers_ErrorWorkerNameSubdomainLengthLimit, + "workers_ErrorWorkerNotFound": workers_ErrorWorkerNotFound, + "workers_ErrorWorkerObservabilitySamplingRateInvalid": workers_ErrorWorkerObservabilitySamplingRateInvalid, + "workers_ErrorWorkerTagInvalid": workers_ErrorWorkerTagInvalid, + "workers_ErrorWorkerTagLengthLimit": workers_ErrorWorkerTagLengthLimit, + "workers_ErrorWorkerTagLimit": workers_ErrorWorkerTagLimit, + "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig, + "workers_Worker": workers_Worker, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_cache_options": workers_cache_options, + "workers_env": workers_env, + "workers_env_binding_item": workers_env_binding_item, + "workers_limits": workers_limits, + "workers_messages": workers_messages, + "workers_observability": workers_observability, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/versions/latest/tools.ts b/src/generated/forge-mcp/workers/versions/latest/tools.ts index 7ca27d143..5015df820 100644 --- a/src/generated/forge-mcp/workers/versions/latest/tools.ts +++ b/src/generated/forge-mcp/workers/versions/latest/tools.ts @@ -1,85 +1,10 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; -import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_binding_item_output, - workers_binding_kind_ai_output, - workers_binding_kind_ai_search_namespace_output, - workers_binding_kind_ai_search_output, - workers_binding_kind_analytics_engine_output, - workers_binding_kind_artifacts_output, - workers_binding_kind_assets_output, - workers_binding_kind_browser_output, - workers_binding_kind_d1_output, - workers_binding_kind_data_blob_output, - workers_binding_kind_dispatch_namespace_output, - workers_binding_kind_durable_object_namespace_output, - workers_binding_kind_flagship_output, - workers_binding_kind_hyperdrive_output, - workers_binding_kind_images_output, - workers_binding_kind_inherit_output, - workers_binding_kind_json_output, - workers_binding_kind_k2_output, - workers_binding_kind_kv_namespace_output, - workers_binding_kind_media_output, - workers_binding_kind_messaging_output, - workers_binding_kind_mtls_certificate_output, - workers_binding_kind_pipelines_output, - workers_binding_kind_plain_text_output, - workers_binding_kind_queue_output, - workers_binding_kind_r2_bucket_output, - workers_binding_kind_ratelimit_output, - workers_binding_kind_secret_key_output, - workers_binding_kind_secret_text_output, - workers_binding_kind_secrets_store_secret_output, - workers_binding_kind_send_email_output, - workers_binding_kind_service_output, - workers_binding_kind_text_blob_output, - workers_binding_kind_vectorize_output, - workers_binding_kind_version_metadata_output, - workers_binding_kind_vpc_network_output, - workers_binding_kind_vpc_service_output, - workers_binding_kind_wasm_module_output, - workers_binding_kind_workflow_output, - workers_binding_name_output, - workers_bindings_output, - workers_cache_options_output, - workers_compatibility_date_output, - workers_compatibility_flag_output, - workers_compatibility_flags_output, - workers_durable_object_deleted_export_output, - workers_durable_object_expecting_transfer_export_output, - workers_durable_object_export_output, - workers_durable_object_export_variants_output, - workers_durable_object_renamed_export_output, - workers_durable_object_transferred_export_output, - workers_entrypoint_cache_options_output, - workers_export_config_output, - workers_export_storage_output, - workers_exports_config_map_output, - workers_exports_reconciliation_error_output, - workers_exports_reconciliation_error_response_output, - workers_exports_reconciliation_info_output, - workers_exports_reconciliation_rename_output, - workers_exports_reconciliation_result_output, - workers_exports_reconciliation_scenario_output, - workers_exports_reconciliation_transfer_output, - workers_exports_reconciliation_transfer_pending_output, - workers_exports_reconciliation_warning_output, - workers_messages_output, - workers_migration_step_output, - workers_migration_tag_conditions_output, - workers_multiple_step_migrations_output, - workers_namespace_identifier_output, - workers_placement_info_no_status_output, - workers_placement_target_output, - workers_single_step_migrations_output, - workers_worker_export_output, -} from "../../../outputs.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { + workers_api$$response$$common, + workers_api$$response$$common$$failure, workers_binding_item, workers_binding_kind_ai, workers_binding_kind_ai_search, @@ -135,6 +60,8 @@ import { workers_export_config, workers_export_storage, workers_exports_config_map, + workers_exports_reconciliation_error, + workers_exports_reconciliation_error_response, workers_exports_reconciliation_info, workers_exports_reconciliation_rename, workers_exports_reconciliation_result, @@ -142,7 +69,7 @@ import { workers_exports_reconciliation_transfer, workers_exports_reconciliation_transfer_pending, workers_exports_reconciliation_warning, - workers_identifier, + workers_messages, workers_migration_step, workers_migration_tag_conditions, workers_multiple_step_migrations, @@ -151,14 +78,87 @@ import { workers_placement_target, workers_single_step_migrations, workers_worker_export, +} from "../../../outputs.js"; +import { + workers_binding_item as workers_binding_item$, + workers_binding_kind_ai as workers_binding_kind_ai$, + workers_binding_kind_ai_search as workers_binding_kind_ai_search$, + workers_binding_kind_ai_search_namespace as workers_binding_kind_ai_search_namespace$, + workers_binding_kind_analytics_engine as workers_binding_kind_analytics_engine$, + workers_binding_kind_artifacts as workers_binding_kind_artifacts$, + workers_binding_kind_assets as workers_binding_kind_assets$, + workers_binding_kind_browser as workers_binding_kind_browser$, + workers_binding_kind_d1 as workers_binding_kind_d1$, + workers_binding_kind_data_blob as workers_binding_kind_data_blob$, + workers_binding_kind_dispatch_namespace as workers_binding_kind_dispatch_namespace$, + workers_binding_kind_durable_object_namespace as workers_binding_kind_durable_object_namespace$, + workers_binding_kind_flagship as workers_binding_kind_flagship$, + workers_binding_kind_hyperdrive as workers_binding_kind_hyperdrive$, + workers_binding_kind_images as workers_binding_kind_images$, + workers_binding_kind_inherit as workers_binding_kind_inherit$, + workers_binding_kind_json as workers_binding_kind_json$, + workers_binding_kind_k2 as workers_binding_kind_k2$, + workers_binding_kind_kv_namespace as workers_binding_kind_kv_namespace$, + workers_binding_kind_media as workers_binding_kind_media$, + workers_binding_kind_messaging as workers_binding_kind_messaging$, + workers_binding_kind_mtls_certificate as workers_binding_kind_mtls_certificate$, + workers_binding_kind_pipelines as workers_binding_kind_pipelines$, + workers_binding_kind_plain_text as workers_binding_kind_plain_text$, + workers_binding_kind_queue as workers_binding_kind_queue$, + workers_binding_kind_r2_bucket as workers_binding_kind_r2_bucket$, + workers_binding_kind_ratelimit as workers_binding_kind_ratelimit$, + workers_binding_kind_secret_key as workers_binding_kind_secret_key$, + workers_binding_kind_secret_text as workers_binding_kind_secret_text$, + workers_binding_kind_secrets_store_secret as workers_binding_kind_secrets_store_secret$, + workers_binding_kind_send_email as workers_binding_kind_send_email$, + workers_binding_kind_service as workers_binding_kind_service$, + workers_binding_kind_text_blob as workers_binding_kind_text_blob$, + workers_binding_kind_vectorize as workers_binding_kind_vectorize$, + workers_binding_kind_version_metadata as workers_binding_kind_version_metadata$, + workers_binding_kind_vpc_network as workers_binding_kind_vpc_network$, + workers_binding_kind_vpc_service as workers_binding_kind_vpc_service$, + workers_binding_kind_wasm_module as workers_binding_kind_wasm_module$, + workers_binding_kind_workflow as workers_binding_kind_workflow$, + workers_binding_name as workers_binding_name$, + workers_bindings as workers_bindings$, + workers_cache_options as workers_cache_options$, + workers_compatibility_date as workers_compatibility_date$, + workers_compatibility_flag as workers_compatibility_flag$, + workers_compatibility_flags as workers_compatibility_flags$, + workers_durable_object_deleted_export as workers_durable_object_deleted_export$, + workers_durable_object_expecting_transfer_export as workers_durable_object_expecting_transfer_export$, + workers_durable_object_export as workers_durable_object_export$, + workers_durable_object_export_variants as workers_durable_object_export_variants$, + workers_durable_object_renamed_export as workers_durable_object_renamed_export$, + workers_durable_object_transferred_export as workers_durable_object_transferred_export$, + workers_entrypoint_cache_options as workers_entrypoint_cache_options$, + workers_export_config as workers_export_config$, + workers_export_storage as workers_export_storage$, + workers_exports_config_map as workers_exports_config_map$, + workers_exports_reconciliation_info as workers_exports_reconciliation_info$, + workers_exports_reconciliation_rename as workers_exports_reconciliation_rename$, + workers_exports_reconciliation_result as workers_exports_reconciliation_result$, + workers_exports_reconciliation_scenario as workers_exports_reconciliation_scenario$, + workers_exports_reconciliation_transfer as workers_exports_reconciliation_transfer$, + workers_exports_reconciliation_transfer_pending as workers_exports_reconciliation_transfer_pending$, + workers_exports_reconciliation_warning as workers_exports_reconciliation_warning$, + workers_identifier, + workers_migration_step as workers_migration_step$, + workers_migration_tag_conditions as workers_migration_tag_conditions$, + workers_multiple_step_migrations as workers_multiple_step_migrations$, + workers_namespace_identifier as workers_namespace_identifier$, + workers_placement_info_no_status as workers_placement_info_no_status$, + workers_placement_target as workers_placement_target$, + workers_single_step_migrations as workers_single_step_migrations$, + workers_worker_export as workers_worker_export$, } from "../../../schemas.js"; +import { workers_container_item, workers_containers } from "../../outputs.js"; import { - workers_container_item_output, - workers_containers_output, -} from "../../outputs.js"; -import { workers_container_item, workers_containers } from "../../schemas.js"; -import { workers_Version_output } from "../outputs.js"; -import { workers_Version } from "../schemas.js"; + workers_container_item as workers_container_item$, + workers_containers as workers_containers$, +} from "../../schemas.js"; +import { workers_Version } from "../outputs.js"; +import { workers_Version as workers_Version$ } from "../schemas.js"; /** * The tools of `workers.versions.latest`. @@ -171,29 +171,137 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_Version", "description": "JSON Merge Patch to apply to the latest version. An empty object creates a new version with no changes." }, - "deploy": { - "description": "If true, a deployment will be created that sends 100% of traffic to the new version.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id" + ], + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "deploy": { + "description": "If true, a deployment will be created that sends 100% of traffic to the new version.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id" + "path" + ], + $defs: { + "workers_Version": workers_Version$, + "workers_binding_item": workers_binding_item$, + "workers_binding_kind_ai": workers_binding_kind_ai$, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search$, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace$, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine$, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts$, + "workers_binding_kind_assets": workers_binding_kind_assets$, + "workers_binding_kind_browser": workers_binding_kind_browser$, + "workers_binding_kind_d1": workers_binding_kind_d1$, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob$, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace$, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace$, + "workers_binding_kind_flagship": workers_binding_kind_flagship$, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive$, + "workers_binding_kind_images": workers_binding_kind_images$, + "workers_binding_kind_inherit": workers_binding_kind_inherit$, + "workers_binding_kind_json": workers_binding_kind_json$, + "workers_binding_kind_k2": workers_binding_kind_k2$, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace$, + "workers_binding_kind_media": workers_binding_kind_media$, + "workers_binding_kind_messaging": workers_binding_kind_messaging$, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate$, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines$, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text$, + "workers_binding_kind_queue": workers_binding_kind_queue$, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket$, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit$, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret$, + "workers_binding_kind_send_email": workers_binding_kind_send_email$, + "workers_binding_kind_service": workers_binding_kind_service$, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob$, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize$, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata$, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network$, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service$, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module$, + "workers_binding_kind_workflow": workers_binding_kind_workflow$, + "workers_binding_name": workers_binding_name$, + "workers_bindings": workers_bindings$, + "workers_cache_options": workers_cache_options$, + "workers_compatibility_date": workers_compatibility_date$, + "workers_compatibility_flag": workers_compatibility_flag$, + "workers_compatibility_flags": workers_compatibility_flags$, + "workers_container_item": workers_container_item$, + "workers_containers": workers_containers$, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export$, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export$, + "workers_durable_object_export": workers_durable_object_export$, + "workers_durable_object_export_variants": workers_durable_object_export_variants$, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export$, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export$, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options$, + "workers_export_config": workers_export_config$, + "workers_export_storage": workers_export_storage$, + "workers_exports_config_map": workers_exports_config_map$, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info$, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename$, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result$, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario$, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer$, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending$, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning$, + "workers_identifier": workers_identifier, + "workers_migration_step": workers_migration_step$, + "workers_migration_tag_conditions": workers_migration_tag_conditions$, + "workers_multiple_step_migrations": workers_multiple_step_migrations$, + "workers_namespace_identifier": workers_namespace_identifier$, + "workers_placement_info_no_status": workers_placement_info_no_status$, + "workers_placement_target": workers_placement_target$, + "workers_single_step_migrations": workers_single_step_migrations$, + "workers_worker_export": workers_worker_export$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/workers_Version" + } + }, + "required": [ + "result" + ], + "type": "object" + } ], $defs: { "workers_Version": workers_Version, + "workers_api-response-common": workers_api$$response$$common, "workers_binding_item": workers_binding_item, "workers_binding_kind_ai": workers_binding_kind_ai, "workers_binding_kind_ai_search": workers_binding_kind_ai_search, @@ -258,7 +366,7 @@ export const tools: readonly Tool[] = [ "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, - "workers_identifier": workers_identifier, + "workers_messages": workers_messages, "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, @@ -269,101 +377,6 @@ export const tools: readonly Tool[] = [ "workers_worker_export": workers_worker_export, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/workers_api-response-common" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/workers_Version" - } - }, - "required": [ - "result" - ], - "type": "object" - } - ], - $defs: { - "workers_Version": workers_Version_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -417,90 +430,90 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Version": workers_Version_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, - "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_Version": workers_Version, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions/latest`, query: [ - ["deploy", args["deploy"], true], + ["deploy", param(args, "query", "deploy"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), diff --git a/src/generated/forge-mcp/workers/versions/outputs.ts b/src/generated/forge-mcp/workers/versions/outputs.ts index 43fe0c3e7..aa0339efe 100644 --- a/src/generated/forge-mcp/workers/versions/outputs.ts +++ b/src/generated/forge-mcp/workers/versions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_Version` in responses. */ -export const workers_Version_output: JsonSchema = { +export const workers_Version: JsonSchema = { "properties": { "annotations": { "properties": { diff --git a/src/generated/forge-mcp/workers/versions/tools.ts b/src/generated/forge-mcp/workers/versions/tools.ts index 05259cbf1..a02c8c118 100644 --- a/src/generated/forge-mcp/workers/versions/tools.ts +++ b/src/generated/forge-mcp/workers/versions/tools.ts @@ -1,86 +1,11 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; -import { - workers_api_response_collection_output, - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_binding_item_output, - workers_binding_kind_ai_output, - workers_binding_kind_ai_search_namespace_output, - workers_binding_kind_ai_search_output, - workers_binding_kind_analytics_engine_output, - workers_binding_kind_artifacts_output, - workers_binding_kind_assets_output, - workers_binding_kind_browser_output, - workers_binding_kind_d1_output, - workers_binding_kind_data_blob_output, - workers_binding_kind_dispatch_namespace_output, - workers_binding_kind_durable_object_namespace_output, - workers_binding_kind_flagship_output, - workers_binding_kind_hyperdrive_output, - workers_binding_kind_images_output, - workers_binding_kind_inherit_output, - workers_binding_kind_json_output, - workers_binding_kind_k2_output, - workers_binding_kind_kv_namespace_output, - workers_binding_kind_media_output, - workers_binding_kind_messaging_output, - workers_binding_kind_mtls_certificate_output, - workers_binding_kind_pipelines_output, - workers_binding_kind_plain_text_output, - workers_binding_kind_queue_output, - workers_binding_kind_r2_bucket_output, - workers_binding_kind_ratelimit_output, - workers_binding_kind_secret_key_output, - workers_binding_kind_secret_text_output, - workers_binding_kind_secrets_store_secret_output, - workers_binding_kind_send_email_output, - workers_binding_kind_service_output, - workers_binding_kind_text_blob_output, - workers_binding_kind_vectorize_output, - workers_binding_kind_version_metadata_output, - workers_binding_kind_vpc_network_output, - workers_binding_kind_vpc_service_output, - workers_binding_kind_wasm_module_output, - workers_binding_kind_workflow_output, - workers_binding_name_output, - workers_bindings_output, - workers_cache_options_output, - workers_compatibility_date_output, - workers_compatibility_flag_output, - workers_compatibility_flags_output, - workers_durable_object_deleted_export_output, - workers_durable_object_expecting_transfer_export_output, - workers_durable_object_export_output, - workers_durable_object_export_variants_output, - workers_durable_object_renamed_export_output, - workers_durable_object_transferred_export_output, - workers_entrypoint_cache_options_output, - workers_export_config_output, - workers_export_storage_output, - workers_exports_config_map_output, - workers_exports_reconciliation_error_output, - workers_exports_reconciliation_error_response_output, - workers_exports_reconciliation_info_output, - workers_exports_reconciliation_rename_output, - workers_exports_reconciliation_result_output, - workers_exports_reconciliation_scenario_output, - workers_exports_reconciliation_transfer_output, - workers_exports_reconciliation_transfer_pending_output, - workers_exports_reconciliation_warning_output, - workers_messages_output, - workers_migration_step_output, - workers_migration_tag_conditions_output, - workers_multiple_step_migrations_output, - workers_namespace_identifier_output, - workers_placement_info_no_status_output, - workers_placement_target_output, - workers_single_step_migrations_output, - workers_worker_export_output, -} from "../../outputs.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { + workers_api$$response$$collection, + workers_api$$response$$common, + workers_api$$response$$common$$failure, workers_binding_item, workers_binding_kind_ai, workers_binding_kind_ai_search, @@ -136,6 +61,8 @@ import { workers_export_config, workers_export_storage, workers_exports_config_map, + workers_exports_reconciliation_error, + workers_exports_reconciliation_error_response, workers_exports_reconciliation_info, workers_exports_reconciliation_rename, workers_exports_reconciliation_result, @@ -143,7 +70,7 @@ import { workers_exports_reconciliation_transfer, workers_exports_reconciliation_transfer_pending, workers_exports_reconciliation_warning, - workers_identifier, + workers_messages, workers_migration_step, workers_migration_tag_conditions, workers_multiple_step_migrations, @@ -152,16 +79,92 @@ import { workers_placement_target, workers_single_step_migrations, workers_worker_export, +} from "../../outputs.js"; +import { + workers_binding_item as workers_binding_item$, + workers_binding_kind_ai as workers_binding_kind_ai$, + workers_binding_kind_ai_search as workers_binding_kind_ai_search$, + workers_binding_kind_ai_search_namespace as workers_binding_kind_ai_search_namespace$, + workers_binding_kind_analytics_engine as workers_binding_kind_analytics_engine$, + workers_binding_kind_artifacts as workers_binding_kind_artifacts$, + workers_binding_kind_assets as workers_binding_kind_assets$, + workers_binding_kind_browser as workers_binding_kind_browser$, + workers_binding_kind_d1 as workers_binding_kind_d1$, + workers_binding_kind_data_blob as workers_binding_kind_data_blob$, + workers_binding_kind_dispatch_namespace as workers_binding_kind_dispatch_namespace$, + workers_binding_kind_durable_object_namespace as workers_binding_kind_durable_object_namespace$, + workers_binding_kind_flagship as workers_binding_kind_flagship$, + workers_binding_kind_hyperdrive as workers_binding_kind_hyperdrive$, + workers_binding_kind_images as workers_binding_kind_images$, + workers_binding_kind_inherit as workers_binding_kind_inherit$, + workers_binding_kind_json as workers_binding_kind_json$, + workers_binding_kind_k2 as workers_binding_kind_k2$, + workers_binding_kind_kv_namespace as workers_binding_kind_kv_namespace$, + workers_binding_kind_media as workers_binding_kind_media$, + workers_binding_kind_messaging as workers_binding_kind_messaging$, + workers_binding_kind_mtls_certificate as workers_binding_kind_mtls_certificate$, + workers_binding_kind_pipelines as workers_binding_kind_pipelines$, + workers_binding_kind_plain_text as workers_binding_kind_plain_text$, + workers_binding_kind_queue as workers_binding_kind_queue$, + workers_binding_kind_r2_bucket as workers_binding_kind_r2_bucket$, + workers_binding_kind_ratelimit as workers_binding_kind_ratelimit$, + workers_binding_kind_secret_key as workers_binding_kind_secret_key$, + workers_binding_kind_secret_text as workers_binding_kind_secret_text$, + workers_binding_kind_secrets_store_secret as workers_binding_kind_secrets_store_secret$, + workers_binding_kind_send_email as workers_binding_kind_send_email$, + workers_binding_kind_service as workers_binding_kind_service$, + workers_binding_kind_text_blob as workers_binding_kind_text_blob$, + workers_binding_kind_vectorize as workers_binding_kind_vectorize$, + workers_binding_kind_version_metadata as workers_binding_kind_version_metadata$, + workers_binding_kind_vpc_network as workers_binding_kind_vpc_network$, + workers_binding_kind_vpc_service as workers_binding_kind_vpc_service$, + workers_binding_kind_wasm_module as workers_binding_kind_wasm_module$, + workers_binding_kind_workflow as workers_binding_kind_workflow$, + workers_binding_name as workers_binding_name$, + workers_bindings as workers_bindings$, + workers_cache_options as workers_cache_options$, + workers_compatibility_date as workers_compatibility_date$, + workers_compatibility_flag as workers_compatibility_flag$, + workers_compatibility_flags as workers_compatibility_flags$, + workers_durable_object_deleted_export as workers_durable_object_deleted_export$, + workers_durable_object_expecting_transfer_export as workers_durable_object_expecting_transfer_export$, + workers_durable_object_export as workers_durable_object_export$, + workers_durable_object_export_variants as workers_durable_object_export_variants$, + workers_durable_object_renamed_export as workers_durable_object_renamed_export$, + workers_durable_object_transferred_export as workers_durable_object_transferred_export$, + workers_entrypoint_cache_options as workers_entrypoint_cache_options$, + workers_export_config as workers_export_config$, + workers_export_storage as workers_export_storage$, + workers_exports_config_map as workers_exports_config_map$, + workers_exports_reconciliation_info as workers_exports_reconciliation_info$, + workers_exports_reconciliation_rename as workers_exports_reconciliation_rename$, + workers_exports_reconciliation_result as workers_exports_reconciliation_result$, + workers_exports_reconciliation_scenario as workers_exports_reconciliation_scenario$, + workers_exports_reconciliation_transfer as workers_exports_reconciliation_transfer$, + workers_exports_reconciliation_transfer_pending as workers_exports_reconciliation_transfer_pending$, + workers_exports_reconciliation_warning as workers_exports_reconciliation_warning$, + workers_identifier, + workers_migration_step as workers_migration_step$, + workers_migration_tag_conditions as workers_migration_tag_conditions$, + workers_multiple_step_migrations as workers_multiple_step_migrations$, + workers_namespace_identifier as workers_namespace_identifier$, + workers_placement_info_no_status as workers_placement_info_no_status$, + workers_placement_target as workers_placement_target$, + workers_single_step_migrations as workers_single_step_migrations$, + workers_worker_export as workers_worker_export$, } from "../../schemas.js"; import { - workers_ErrorAuth_output, - workers_ErrorInternalServer_output, - workers_container_item_output, - workers_containers_output, + workers_ErrorAuth, + workers_ErrorInternalServer, + workers_container_item, + workers_containers, } from "../outputs.js"; -import { workers_container_item, workers_containers } from "../schemas.js"; -import { workers_Version_output } from "./outputs.js"; -import { workers_Version } from "./schemas.js"; +import { + workers_container_item as workers_container_item$, + workers_containers as workers_containers$, +} from "../schemas.js"; +import { workers_Version } from "./outputs.js"; +import { workers_Version as workers_Version$ } from "./schemas.js"; /** * The tools of `workers.versions`. @@ -174,30 +177,138 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_Version", "description": "Version creation parameters." }, - "deploy": { - "description": "If true, a deployment will be created that sends 100% of traffic to the new version.", - "type": "boolean" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id" + ], + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "deploy": { + "description": "If true, a deployment will be created that sends 100% of traffic to the new version.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id", + "path", "body" ], + $defs: { + "workers_Version": workers_Version$, + "workers_binding_item": workers_binding_item$, + "workers_binding_kind_ai": workers_binding_kind_ai$, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search$, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace$, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine$, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts$, + "workers_binding_kind_assets": workers_binding_kind_assets$, + "workers_binding_kind_browser": workers_binding_kind_browser$, + "workers_binding_kind_d1": workers_binding_kind_d1$, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob$, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace$, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace$, + "workers_binding_kind_flagship": workers_binding_kind_flagship$, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive$, + "workers_binding_kind_images": workers_binding_kind_images$, + "workers_binding_kind_inherit": workers_binding_kind_inherit$, + "workers_binding_kind_json": workers_binding_kind_json$, + "workers_binding_kind_k2": workers_binding_kind_k2$, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace$, + "workers_binding_kind_media": workers_binding_kind_media$, + "workers_binding_kind_messaging": workers_binding_kind_messaging$, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate$, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines$, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text$, + "workers_binding_kind_queue": workers_binding_kind_queue$, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket$, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit$, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret$, + "workers_binding_kind_send_email": workers_binding_kind_send_email$, + "workers_binding_kind_service": workers_binding_kind_service$, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob$, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize$, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata$, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network$, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service$, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module$, + "workers_binding_kind_workflow": workers_binding_kind_workflow$, + "workers_binding_name": workers_binding_name$, + "workers_bindings": workers_bindings$, + "workers_cache_options": workers_cache_options$, + "workers_compatibility_date": workers_compatibility_date$, + "workers_compatibility_flag": workers_compatibility_flag$, + "workers_compatibility_flags": workers_compatibility_flags$, + "workers_container_item": workers_container_item$, + "workers_containers": workers_containers$, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export$, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export$, + "workers_durable_object_export": workers_durable_object_export$, + "workers_durable_object_export_variants": workers_durable_object_export_variants$, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export$, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export$, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options$, + "workers_export_config": workers_export_config$, + "workers_export_storage": workers_export_storage$, + "workers_exports_config_map": workers_exports_config_map$, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info$, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename$, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result$, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario$, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer$, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending$, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning$, + "workers_identifier": workers_identifier, + "workers_migration_step": workers_migration_step$, + "workers_migration_tag_conditions": workers_migration_tag_conditions$, + "workers_multiple_step_migrations": workers_multiple_step_migrations$, + "workers_namespace_identifier": workers_namespace_identifier$, + "workers_placement_info_no_status": workers_placement_info_no_status$, + "workers_placement_target": workers_placement_target$, + "workers_single_step_migrations": workers_single_step_migrations$, + "workers_worker_export": workers_worker_export$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/workers_api-response-common" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/workers_Version" + } + }, + "required": [ + "result" + ], + "type": "object" + } + ], $defs: { "workers_Version": workers_Version, + "workers_api-response-common": workers_api$$response$$common, "workers_binding_item": workers_binding_item, "workers_binding_kind_ai": workers_binding_kind_ai, "workers_binding_kind_ai_search": workers_binding_kind_ai_search, @@ -262,7 +373,7 @@ export const tools: readonly Tool[] = [ "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, - "workers_identifier": workers_identifier, + "workers_messages": workers_messages, "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, @@ -273,101 +384,6 @@ export const tools: readonly Tool[] = [ "workers_worker_export": workers_worker_export, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/workers_api-response-common" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/workers_Version" - } - }, - "required": [ - "result" - ], - "type": "object" - } - ], - $defs: { - "workers_Version": workers_Version_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -421,90 +437,90 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Version": workers_Version_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_error": workers_exports_reconciliation_error_output, - "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_Version": workers_Version, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_error": workers_exports_reconciliation_error, + "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions`, query: [ - ["deploy", args["deploy"], true], + ["deploy", param(args, "query", "deploy"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), @@ -516,23 +532,31 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "version_id": { - "description": "Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created version.", - "type": "string" - }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "version_id": { + "description": "Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created version.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "version_id" + ], + "type": "object" } }, required: [ - "account_id", - "worker_id", - "version_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -541,8 +565,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_api-response-common", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, }, }, annotations: { @@ -572,9 +596,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -588,30 +612,43 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "include": { - "description": "Whether to include the `modules` property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size.", - "enum": [ - "modules" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "version_id": { + "description": "Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created version.", + "type": "string" + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "version_id" ], - "type": "string" - }, - "version_id": { - "description": "Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created version.", - "type": "string" + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "include": { + "description": "Whether to include the `modules` property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size.", + "enum": [ + "modules" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id", - "version_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -635,81 +672,81 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Version": workers_Version_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_Version": workers_Version, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, annotations: { @@ -759,88 +796,88 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Version": workers_Version_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_Version": workers_Version, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions/${pathParam(args, "version_id")}`, query: [ - ["include", args["include"], true], + ["include", param(args, "query", "include"), true], ], }), }, @@ -851,28 +888,41 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "page": { - "default": 1, - "description": "Current page.", - "type": "integer" - }, - "per_page": { - "default": 10, - "description": "Items per-page.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "worker_id": { + "description": "Identifier for the Worker, which can be ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id" + ], + "type": "object" }, - "worker_id": { - "description": "Identifier for the Worker, which can be ID or name.", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Current page.", + "type": "integer" + }, + "per_page": { + "default": 10, + "description": "Items per-page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "worker_id" + "path" ], $defs: { "workers_identifier": workers_identifier, @@ -899,82 +949,82 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_Version": workers_Version_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_Version": workers_Version, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, annotations: { @@ -1029,90 +1079,90 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_Version": workers_Version_output, - "workers_api-response-collection": workers_api_response_collection_output, - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_container_item": workers_container_item_output, - "workers_containers": workers_containers_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_worker_export": workers_worker_export_output, + "workers_Version": workers_Version, + "workers_api-response-collection": workers_api$$response$$collection, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_container_item": workers_container_item, + "workers_containers": workers_containers, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/workers/${pathParam(args, "worker_id")}/versions`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, @@ -1123,10 +1173,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "properties": { "actor_id": { @@ -1155,19 +1201,31 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "version_id": { - "description": "Identifies the version by UUID or UUID prefix with a minimum length of eight characters. Use \"latest\" to select the most recently created version, which may not be deployed. Use \"latest-deployed\" to profile a version in the active deployment. Versions are tried in order of traffic share until one has a loaded isolate.", - "type": "string" - }, - "worker_id": { - "description": "Identifies the Worker by ID or name.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "version_id": { + "description": "Identifies the version by UUID or UUID prefix with a minimum length of eight characters. Use \"latest\" to select the most recently created version, which may not be deployed. Use \"latest-deployed\" to profile a version in the active deployment. Versions are tried in order of traffic share until one has a loaded isolate.", + "type": "string" + }, + "worker_id": { + "description": "Identifies the Worker by ID or name.", + "type": "string" + } + }, + "required": [ + "account_id", + "worker_id", + "version_id" + ], + "type": "object" } }, required: [ - "account_id", - "worker_id", - "version_id", + "path", "body" ], $defs: { @@ -1263,10 +1321,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_ErrorAuth": workers_ErrorAuth_output, - "workers_ErrorInternalServer": workers_ErrorInternalServer_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_ErrorAuth": workers_ErrorAuth, + "workers_ErrorInternalServer": workers_ErrorInternalServer, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts b/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts index 0820f9e85..30682602c 100644 --- a/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts +++ b/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `builds_PreviewResponse` in responses. */ -export const builds_PreviewResponse_output: JsonSchema = { +export const builds_PreviewResponse: JsonSchema = { "properties": { "auto_build": { "$ref": "#/$defs/builds_preview_auto_build" @@ -30,7 +30,7 @@ export const builds_PreviewResponse_output: JsonSchema = { /** * The schema of `builds_PreviewSummary` in responses. */ -export const builds_PreviewSummary_output: JsonSchema = { +export const builds_PreviewSummary: JsonSchema = { "properties": { "auto_build": { "$ref": "#/$defs/builds_preview_auto_build" @@ -51,13 +51,13 @@ export const builds_PreviewSummary_output: JsonSchema = { /** * The schema of `builds_preview_auto_build` in responses. */ -export const builds_preview_auto_build_output: JsonSchema = { +export const builds_preview_auto_build: JsonSchema = { "type": "boolean" }; /** * The schema of `builds_preview_auto_delete` in responses. */ -export const builds_preview_auto_delete_output: JsonSchema = { +export const builds_preview_auto_delete: JsonSchema = { "type": "boolean" }; diff --git a/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts b/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts index da36e2c5b..bddde85ee 100644 --- a/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts +++ b/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts @@ -1,110 +1,118 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_BuildOutcome_output, - builds_BuildResponse_output, - builds_BuildStatus_output, - builds_BuildTriggerMetadataResponse_output, - builds_BuildTriggerSource_output, - builds_EnvironmentVariablesResponse_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_SCMProviderType_output, - builds_UpsertRepoConnectionResponse_output, - builds_WorkerBuildSettings_output, - builds_branch_excludes_output, - builds_branch_includes_output, - builds_branch_output, - builds_build_caching_enabled_output, - builds_build_command_output, - builds_build_token_name_output, - builds_build_token_uuid_output, - builds_build_uuid_output, - builds_commit_hash_output, - builds_created_on_output, - builds_deleted_on_output, - builds_deploy_command_output, - builds_deploy_hook_name_output, - builds_external_script_id_output, - builds_is_secret_output, - builds_modified_on_output, - builds_path_excludes_output, - builds_path_includes_output, - builds_provider_account_id_output, - builds_provider_account_name_output, - builds_repo_connection_uuid_output, - builds_repo_id_output, - builds_repo_name_output, - builds_root_directory_output, - builds_stopped_on_output, - builds_trigger_name_output, - builds_trigger_uuid_output, -} from "../../../outputs.js"; -import { - builds_BuildSeedRepoInput, - builds_BuildSeedRepoInputFile, - builds_CreateBuildRequest, - builds_UpdateWorkerBuildSettingsInput, - builds_account_id, + builds_APIResponse, + builds_ApiError, + builds_BuildOutcome, + builds_BuildResponse, + builds_BuildStatus, + builds_BuildTriggerMetadataResponse, + builds_BuildTriggerSource, + builds_EnvironmentVariablesResponse, + builds_ErrorResponse, + builds_PaginationInfo, + builds_SCMProviderType, + builds_UpsertRepoConnectionResponse, + builds_WorkerBuildSettings, builds_branch, + builds_branch_excludes, + builds_branch_includes, builds_build_caching_enabled, builds_build_command, + builds_build_token_name, builds_build_token_uuid, + builds_build_uuid, builds_commit_hash, + builds_created_on, + builds_deleted_on, builds_deploy_command, + builds_deploy_hook_name, builds_external_script_id, builds_is_secret, + builds_modified_on, builds_path_excludes, builds_path_includes, + builds_provider_account_id, + builds_provider_account_name, + builds_repo_connection_uuid, + builds_repo_id, + builds_repo_name, builds_root_directory, + builds_stopped_on, + builds_trigger_name, + builds_trigger_uuid, +} from "../../../outputs.js"; +import { + builds_BuildSeedRepoInput, + builds_BuildSeedRepoInputFile, + builds_CreateBuildRequest, + builds_UpdateWorkerBuildSettingsInput, + builds_account_id, + builds_branch as builds_branch$, + builds_build_caching_enabled as builds_build_caching_enabled$, + builds_build_command as builds_build_command$, + builds_build_token_uuid as builds_build_token_uuid$, + builds_commit_hash as builds_commit_hash$, + builds_deploy_command as builds_deploy_command$, + builds_external_script_id as builds_external_script_id$, + builds_is_secret as builds_is_secret$, + builds_path_excludes as builds_path_excludes$, + builds_path_includes as builds_path_includes$, + builds_root_directory as builds_root_directory$, } from "../../../schemas.js"; import { - builds_PreviewResponse_output, - builds_PreviewSummary_output, - builds_preview_auto_build_output, - builds_preview_auto_delete_output, + builds_PreviewResponse, + builds_PreviewSummary, + builds_preview_auto_build, + builds_preview_auto_delete, } from "./outputs.js"; import { builds_UpdatePreviewRequest, - builds_preview_auto_build, - builds_preview_auto_delete, + builds_preview_auto_build as builds_preview_auto_build$, + builds_preview_auto_delete as builds_preview_auto_delete$, } from "./schemas.js"; /** - * The tools of `workers_builds.workers.previews`. + * The tools of `workersBuilds.workers.previews`. */ export const tools: readonly Tool[] = [ { - name: "workers_builds_workers_previews_create_build", + name: "workersBuilds_workers_previews_createBuild", title: "Create preview build", description: "Trigger a build for a single Preview.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_CreateBuildRequest" }, - "preview_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The script tag of the Preview, which is a Worker in its own right" - }, - "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "preview_id": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The script tag of the Preview, which is a Worker in its own right" + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The Worker script tag (external script ID)" + } + }, + "required": [ + "account_id", + "script_tag", + "preview_id" + ], + "type": "object" } }, required: [ - "account_id", - "script_tag", - "preview_id", + "path", "body" ], $defs: { @@ -112,9 +120,9 @@ export const tools: readonly Tool[] = [ "builds_BuildSeedRepoInputFile": builds_BuildSeedRepoInputFile, "builds_CreateBuildRequest": builds_CreateBuildRequest, "builds_account_id": builds_account_id, - "builds_branch": builds_branch, - "builds_commit_hash": builds_commit_hash, - "builds_external_script_id": builds_external_script_id, + "builds_branch": builds_branch$, + "builds_commit_hash": builds_commit_hash$, + "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -132,42 +140,42 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -212,43 +220,43 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -257,49 +265,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_builds_workers_previews_edit", + name: "workersBuilds_workers_previews_edit", title: "Update preview", description: "Update a single Preview of a Worker. Supports partial updates to the tracked branch, the automation flags, and the build settings.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_UpdatePreviewRequest" }, - "preview_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The script tag of the Preview, which is a Worker in its own right" - }, - "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "preview_id": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The script tag of the Preview, which is a Worker in its own right" + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The Worker script tag (external script ID)" + } + }, + "required": [ + "account_id", + "script_tag", + "preview_id" + ], + "type": "object" } }, required: [ - "account_id", - "script_tag", - "preview_id", + "path", "body" ], $defs: { "builds_UpdatePreviewRequest": builds_UpdatePreviewRequest, "builds_UpdateWorkerBuildSettingsInput": builds_UpdateWorkerBuildSettingsInput, "builds_account_id": builds_account_id, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, - "builds_path_excludes": builds_path_excludes, - "builds_path_includes": builds_path_includes, - "builds_preview_auto_build": builds_preview_auto_build, - "builds_preview_auto_delete": builds_preview_auto_delete, - "builds_root_directory": builds_root_directory, + "builds_build_caching_enabled": builds_build_caching_enabled$, + "builds_build_command": builds_build_command$, + "builds_build_token_uuid": builds_build_token_uuid$, + "builds_deploy_command": builds_deploy_command$, + "builds_external_script_id": builds_external_script_id$, + "builds_is_secret": builds_is_secret$, + "builds_path_excludes": builds_path_excludes$, + "builds_path_includes": builds_path_includes$, + "builds_preview_auto_build": builds_preview_auto_build$, + "builds_preview_auto_delete": builds_preview_auto_delete$, + "builds_root_directory": builds_root_directory$, }, }, outputSchema: { @@ -317,25 +333,25 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_PreviewResponse": builds_PreviewResponse_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_branch": builds_branch_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_preview_auto_build": builds_preview_auto_build_output, - "builds_preview_auto_delete": builds_preview_auto_delete_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_PreviewResponse": builds_PreviewResponse, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_branch": builds_branch, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_preview_auto_build": builds_preview_auto_build, + "builds_preview_auto_delete": builds_preview_auto_delete, + "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -383,26 +399,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_PreviewResponse": builds_PreviewResponse_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_branch": builds_branch_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_preview_auto_build": builds_preview_auto_build_output, - "builds_preview_auto_delete": builds_preview_auto_delete_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_PreviewResponse": builds_PreviewResponse, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_branch": builds_branch, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_preview_auto_build": builds_preview_auto_build, + "builds_preview_auto_delete": builds_preview_auto_delete, + "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ @@ -411,33 +427,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_builds_workers_previews_get", + name: "workersBuilds_workers_previews_get", title: "Get preview", description: "Retrieve a single Preview of a Worker, including the build settings it currently uses.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "preview_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The script tag of the Preview, which is a Worker in its own right" - }, - "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "preview_id": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The script tag of the Preview, which is a Worker in its own right" + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The Worker script tag (external script ID)" + } + }, + "required": [ + "account_id", + "script_tag", + "preview_id" + ], + "type": "object" } }, required: [ - "account_id", - "script_tag", - "preview_id" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id, + "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -455,25 +479,25 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_PreviewResponse": builds_PreviewResponse_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_branch": builds_branch_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_preview_auto_build": builds_preview_auto_build_output, - "builds_preview_auto_delete": builds_preview_auto_delete_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_PreviewResponse": builds_PreviewResponse, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_branch": builds_branch, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_preview_auto_build": builds_preview_auto_build, + "builds_preview_auto_delete": builds_preview_auto_delete, + "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -516,26 +540,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_PreviewResponse": builds_PreviewResponse_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_branch": builds_branch_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_preview_auto_build": builds_preview_auto_build_output, - "builds_preview_auto_delete": builds_preview_auto_delete_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_PreviewResponse": builds_PreviewResponse, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_branch": builds_branch, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_preview_auto_build": builds_preview_auto_build, + "builds_preview_auto_delete": builds_preview_auto_delete, + "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ @@ -543,38 +567,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_builds_workers_previews_list", + name: "workersBuilds_workers_previews_list", title: "List previews", description: "List the Previews of a Worker with pagination.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "page": { - "default": 1, - "description": "Page number for pagination", - "type": "integer" - }, - "per_page": { - "default": 50, - "description": "Number of items per page", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The Worker script tag (external script ID)" + } + }, + "required": [ + "account_id", + "script_tag" + ], + "type": "object" }, - "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number for pagination", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of items per page", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "script_tag" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id, + "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -598,14 +635,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_PreviewSummary": builds_PreviewSummary_output, - "builds_branch": builds_branch_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_preview_auto_build": builds_preview_auto_build_output, - "builds_preview_auto_delete": builds_preview_auto_delete_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_PreviewSummary": builds_PreviewSummary, + "builds_branch": builds_branch, + "builds_external_script_id": builds_external_script_id, + "builds_preview_auto_build": builds_preview_auto_build, + "builds_preview_auto_delete": builds_preview_auto_delete, }, }, annotations: { @@ -651,63 +688,76 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_PreviewSummary": builds_PreviewSummary_output, - "builds_branch": builds_branch_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_preview_auto_build": builds_preview_auto_build_output, - "builds_preview_auto_delete": builds_preview_auto_delete_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_PreviewSummary": builds_PreviewSummary, + "builds_branch": builds_branch, + "builds_external_script_id": builds_external_script_id, + "builds_preview_auto_build": builds_preview_auto_build, + "builds_preview_auto_delete": builds_preview_auto_delete, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}/previews`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "workers_builds_workers_previews_list_builds", + name: "workersBuilds_workers_previews_listBuilds", title: "List builds by preview", description: "List the builds of a single Preview with pagination.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, - "page": { - "default": 1, - "description": "Page number for pagination", - "type": "integer" - }, - "per_page": { - "default": 50, - "description": "Number of items per page", - "type": "integer" - }, - "preview_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The script tag of the Preview, which is a Worker in its own right" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "preview_id": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The script tag of the Preview, which is a Worker in its own right" + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The Worker script tag (external script ID)" + } + }, + "required": [ + "account_id", + "script_tag", + "preview_id" + ], + "type": "object" }, - "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number for pagination", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of items per page", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "script_tag", - "preview_id" + "path" ], $defs: { "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id, + "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -731,42 +781,42 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -815,50 +865,50 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_BuildOutcome": builds_BuildOutcome_output, - "builds_BuildResponse": builds_BuildResponse_output, - "builds_BuildStatus": builds_BuildStatus_output, - "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse_output, - "builds_BuildTriggerSource": builds_BuildTriggerSource_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse_output, - "builds_branch": builds_branch_output, - "builds_branch_excludes": builds_branch_excludes_output, - "builds_branch_includes": builds_branch_includes_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_name": builds_build_token_name_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_build_uuid": builds_build_uuid_output, - "builds_commit_hash": builds_commit_hash_output, - "builds_created_on": builds_created_on_output, - "builds_deleted_on": builds_deleted_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_deploy_hook_name": builds_deploy_hook_name_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_modified_on": builds_modified_on_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_connection_uuid": builds_repo_connection_uuid_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, - "builds_stopped_on": builds_stopped_on_output, - "builds_trigger_name": builds_trigger_name_output, - "builds_trigger_uuid": builds_trigger_uuid_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_BuildOutcome": builds_BuildOutcome, + "builds_BuildResponse": builds_BuildResponse, + "builds_BuildStatus": builds_BuildStatus, + "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, + "builds_BuildTriggerSource": builds_BuildTriggerSource, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, + "builds_branch": builds_branch, + "builds_branch_excludes": builds_branch_excludes, + "builds_branch_includes": builds_branch_includes, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_name": builds_build_token_name, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_build_uuid": builds_build_uuid, + "builds_commit_hash": builds_commit_hash, + "builds_created_on": builds_created_on, + "builds_deleted_on": builds_deleted_on, + "builds_deploy_command": builds_deploy_command, + "builds_deploy_hook_name": builds_deploy_hook_name, + "builds_external_script_id": builds_external_script_id, + "builds_modified_on": builds_modified_on, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_connection_uuid": builds_repo_connection_uuid, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, + "builds_stopped_on": builds_stopped_on, + "builds_trigger_name": builds_trigger_name, + "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/builds/workers/${pathParam(args, "script_tag")}/previews/${pathParam(args, "preview_id")}/builds`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/workersBuilds/workers/tools.ts b/src/generated/forge-mcp/workersBuilds/workers/tools.ts index 9f2b53524..7b6852a4d 100644 --- a/src/generated/forge-mcp/workersBuilds/workers/tools.ts +++ b/src/generated/forge-mcp/workersBuilds/workers/tools.ts @@ -3,65 +3,76 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - builds_APIResponse_output, - builds_ApiError_output, - builds_EnvironmentVariablesResponse_output, - builds_ErrorResponse_output, - builds_PaginationInfo_output, - builds_SCMProviderType_output, - builds_WorkerBuildSettings_output, - builds_WorkerGitRepository_output, - builds_WorkerResponse_output, - builds_build_caching_enabled_output, - builds_build_command_output, - builds_build_token_uuid_output, - builds_created_on_output, - builds_deploy_command_output, - builds_external_script_id_output, - builds_is_secret_output, - builds_path_excludes_output, - builds_path_includes_output, - builds_provider_account_id_output, - builds_provider_account_name_output, - builds_repo_id_output, - builds_repo_name_output, - builds_root_directory_output, + builds_APIResponse, + builds_ApiError, + builds_EnvironmentVariablesResponse, + builds_ErrorResponse, + builds_PaginationInfo, + builds_SCMProviderType, + builds_WorkerBuildSettings, + builds_WorkerGitRepository, + builds_WorkerResponse, + builds_build_caching_enabled, + builds_build_command, + builds_build_token_uuid, + builds_created_on, + builds_deploy_command, + builds_external_script_id, + builds_is_secret, + builds_path_excludes, + builds_path_includes, + builds_provider_account_id, + builds_provider_account_name, + builds_repo_id, + builds_repo_name, + builds_root_directory, } from "../../outputs.js"; -import { builds_account_id, builds_external_script_id } from "../../schemas.js"; +import { + builds_account_id, + builds_external_script_id as builds_external_script_id$, +} from "../../schemas.js"; import { builds_MigrateToPreviewsRequest } from "./schemas.js"; /** - * The tools of `workers_builds.workers`. + * The tools of `workersBuilds.workers`. */ export const tools: readonly Tool[] = [ { - name: "workers_builds_workers_migrate_to_previews", + name: "workersBuilds_workers_migrateToPreviews", title: "Migrate worker to previews", description: "Migrate a Worker's legacy non-production trigger to Previews. The legacy build settings become the Previews base config and the legacy trigger is removed.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." - }, "body": { "$ref": "#/$defs/builds_MigrateToPreviewsRequest" }, - "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/builds_account_id", + "description": "Account identifier." + }, + "script_tag": { + "$ref": "#/$defs/builds_external_script_id", + "description": "The Worker script tag (external script ID)" + } + }, + "required": [ + "account_id", + "script_tag" + ], + "type": "object" } }, required: [ - "account_id", - "script_tag", + "path", "body" ], $defs: { "builds_MigrateToPreviewsRequest": builds_MigrateToPreviewsRequest, "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id, + "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -79,28 +90,28 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_WorkerGitRepository": builds_WorkerGitRepository_output, - "builds_WorkerResponse": builds_WorkerResponse_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_WorkerGitRepository": builds_WorkerGitRepository, + "builds_WorkerResponse": builds_WorkerResponse, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -145,29 +156,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "builds_APIResponse": builds_APIResponse_output, - "builds_ApiError": builds_ApiError_output, - "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse_output, - "builds_ErrorResponse": builds_ErrorResponse_output, - "builds_PaginationInfo": builds_PaginationInfo_output, - "builds_SCMProviderType": builds_SCMProviderType_output, - "builds_WorkerBuildSettings": builds_WorkerBuildSettings_output, - "builds_WorkerGitRepository": builds_WorkerGitRepository_output, - "builds_WorkerResponse": builds_WorkerResponse_output, - "builds_build_caching_enabled": builds_build_caching_enabled_output, - "builds_build_command": builds_build_command_output, - "builds_build_token_uuid": builds_build_token_uuid_output, - "builds_created_on": builds_created_on_output, - "builds_deploy_command": builds_deploy_command_output, - "builds_external_script_id": builds_external_script_id_output, - "builds_is_secret": builds_is_secret_output, - "builds_path_excludes": builds_path_excludes_output, - "builds_path_includes": builds_path_includes_output, - "builds_provider_account_id": builds_provider_account_id_output, - "builds_provider_account_name": builds_provider_account_name_output, - "builds_repo_id": builds_repo_id_output, - "builds_repo_name": builds_repo_name_output, - "builds_root_directory": builds_root_directory_output, + "builds_APIResponse": builds_APIResponse, + "builds_ApiError": builds_ApiError, + "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, + "builds_ErrorResponse": builds_ErrorResponse, + "builds_PaginationInfo": builds_PaginationInfo, + "builds_SCMProviderType": builds_SCMProviderType, + "builds_WorkerBuildSettings": builds_WorkerBuildSettings, + "builds_WorkerGitRepository": builds_WorkerGitRepository, + "builds_WorkerResponse": builds_WorkerResponse, + "builds_build_caching_enabled": builds_build_caching_enabled, + "builds_build_command": builds_build_command, + "builds_build_token_uuid": builds_build_token_uuid, + "builds_created_on": builds_created_on, + "builds_deploy_command": builds_deploy_command, + "builds_external_script_id": builds_external_script_id, + "builds_is_secret": builds_is_secret, + "builds_path_excludes": builds_path_excludes, + "builds_path_includes": builds_path_includes, + "builds_provider_account_id": builds_provider_account_id, + "builds_provider_account_name": builds_provider_account_name, + "builds_repo_id": builds_repo_id, + "builds_repo_name": builds_repo_name, + "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts index 3a62bb5cc..ffdcd5888 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `workers_dispatch_namespace_name` in responses. */ -export const workers_dispatch_namespace_name_output: JsonSchema = { +export const workers_dispatch_namespace_name: JsonSchema = { "type": "string" }; /** * The schema of `workers_namespace-list-response` in responses. */ -export const workers_namespace_list_response_output: JsonSchema = { +export const workers_namespace$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" @@ -35,7 +35,7 @@ export const workers_namespace_list_response_output: JsonSchema = { /** * The schema of `workers_namespace-response` in responses. */ -export const workers_namespace_response_output: JsonSchema = { +export const workers_namespace$$response: JsonSchema = { "properties": { "created_by": { "$ref": "#/$defs/workers_identifier" @@ -68,7 +68,7 @@ export const workers_namespace_response_output: JsonSchema = { /** * The schema of `workers_namespace-single-response` in responses. */ -export const workers_namespace_single_response_output: JsonSchema = { +export const workers_namespace$$single$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" @@ -87,20 +87,20 @@ export const workers_namespace_single_response_output: JsonSchema = { /** * The schema of `workers_script_count` in responses. */ -export const workers_script_count_output: JsonSchema = { +export const workers_script_count: JsonSchema = { "type": "integer" }; /** * The schema of `workers_trusted_workers` in responses. */ -export const workers_trusted_workers_output: JsonSchema = { +export const workers_trusted_workers: JsonSchema = { "type": "boolean" }; /** * The schema of `workers_uuid` in responses. */ -export const workers_uuid_output: JsonSchema = { +export const workers_uuid: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts index f749602b0..52add6073 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts @@ -3,67 +3,74 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_create_assets_upload_session_response_output, - workers_messages_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_create$$assets$$upload$$session$$response, + workers_messages, } from "../../../../../outputs.js"; import { - workers_create_assets_upload_session_object, + workers_create$$assets$$upload$$session$$object, workers_identifier, - workers_manifest_value, + workers_manifest$$value, workers_script_name, } from "../../../../../schemas.js"; import { workers_dispatch_namespace_name } from "../../../schemas.js"; /** - * The tools of - * `workers_for_platforms.dispatch_namespaces.scripts.assets.upload`. + * The tools of `workersForPlatforms.dispatchNamespaces.scripts.assets.upload`. */ export const tools: readonly Tool[] = [ { - name: "workers_for_platforms_dispatch_namespaces_scripts_assets_upload_create_session", + name: "workersForPlatforms_dispatchNamespaces_scripts_assets_upload_createSession", title: "Create Workers for Platforms Assets Upload Session", description: "Start uploading a collection of assets for use in a Workers for Platforms script version. To learn more about the direct uploads of assets, see https://developers.cloudflare.com/workers/static-assets/direct-upload/.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_create-assets-upload-session-object" }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name", + "path", "body" ], $defs: { - "workers_create-assets-upload-session-object": workers_create_assets_upload_session_object, + "workers_create-assets-upload-session-object": workers_create$$assets$$upload$$session$$object, "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_identifier": workers_identifier, - "workers_manifest-value": workers_manifest_value, + "workers_manifest-value": workers_manifest$$value, "workers_script_name": workers_script_name, }, }, outputSchema: { "$ref": "#/$defs/workers_create-assets-upload-session-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_create-assets-upload-session-response": workers_create_assets_upload_session_response_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_create-assets-upload-session-response": workers_create$$assets$$upload$$session$$response, + "workers_messages": workers_messages, }, }, annotations: { @@ -90,10 +97,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_create-assets-upload-session-response": workers_create_assets_upload_session_response_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_create-assets-upload-session-response": workers_create$$assets$$upload$$session$$response, + "workers_messages": workers_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts index e8811d781..030e6fbb4 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts @@ -3,51 +3,51 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_binding_item_output, - workers_binding_kind_ai_output, - workers_binding_kind_ai_search_namespace_output, - workers_binding_kind_ai_search_output, - workers_binding_kind_analytics_engine_output, - workers_binding_kind_artifacts_output, - workers_binding_kind_assets_output, - workers_binding_kind_browser_output, - workers_binding_kind_d1_output, - workers_binding_kind_data_blob_output, - workers_binding_kind_dispatch_namespace_output, - workers_binding_kind_durable_object_namespace_output, - workers_binding_kind_flagship_output, - workers_binding_kind_hyperdrive_output, - workers_binding_kind_images_output, - workers_binding_kind_inherit_output, - workers_binding_kind_json_output, - workers_binding_kind_k2_output, - workers_binding_kind_kv_namespace_output, - workers_binding_kind_media_output, - workers_binding_kind_messaging_output, - workers_binding_kind_mtls_certificate_output, - workers_binding_kind_pipelines_output, - workers_binding_kind_plain_text_output, - workers_binding_kind_queue_output, - workers_binding_kind_r2_bucket_output, - workers_binding_kind_ratelimit_output, - workers_binding_kind_secret_key_output, - workers_binding_kind_secret_text_output, - workers_binding_kind_secrets_store_secret_output, - workers_binding_kind_send_email_output, - workers_binding_kind_service_output, - workers_binding_kind_text_blob_output, - workers_binding_kind_vectorize_output, - workers_binding_kind_version_metadata_output, - workers_binding_kind_vpc_network_output, - workers_binding_kind_vpc_service_output, - workers_binding_kind_wasm_module_output, - workers_binding_kind_workflow_output, - workers_binding_name_output, - workers_bindings_output, - workers_messages_output, - workers_namespace_identifier_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_binding_item, + workers_binding_kind_ai, + workers_binding_kind_ai_search, + workers_binding_kind_ai_search_namespace, + workers_binding_kind_analytics_engine, + workers_binding_kind_artifacts, + workers_binding_kind_assets, + workers_binding_kind_browser, + workers_binding_kind_d1, + workers_binding_kind_data_blob, + workers_binding_kind_dispatch_namespace, + workers_binding_kind_durable_object_namespace, + workers_binding_kind_flagship, + workers_binding_kind_hyperdrive, + workers_binding_kind_images, + workers_binding_kind_inherit, + workers_binding_kind_json, + workers_binding_kind_k2, + workers_binding_kind_kv_namespace, + workers_binding_kind_media, + workers_binding_kind_messaging, + workers_binding_kind_mtls_certificate, + workers_binding_kind_pipelines, + workers_binding_kind_plain_text, + workers_binding_kind_queue, + workers_binding_kind_r2_bucket, + workers_binding_kind_ratelimit, + workers_binding_kind_secret_key, + workers_binding_kind_secret_text, + workers_binding_kind_secrets_store_secret, + workers_binding_kind_send_email, + workers_binding_kind_service, + workers_binding_kind_text_blob, + workers_binding_kind_vectorize, + workers_binding_kind_version_metadata, + workers_binding_kind_vpc_network, + workers_binding_kind_vpc_service, + workers_binding_kind_wasm_module, + workers_binding_kind_workflow, + workers_binding_name, + workers_bindings, + workers_messages, + workers_namespace_identifier, } from "../../../../outputs.js"; import { workers_identifier, @@ -56,33 +56,41 @@ import { import { workers_dispatch_namespace_name } from "../../schemas.js"; /** - * The tools of `workers_for_platforms.dispatch_namespaces.scripts.bindings`. + * The tools of `workersForPlatforms.dispatchNamespaces.scripts.bindings`. */ export const tools: readonly Tool[] = [ { - name: "workers_for_platforms_dispatch_namespaces_scripts_bindings_get", + name: "workersForPlatforms_dispatchNamespaces_scripts_bindings_get", title: "Get Workers for Platforms Script Bindings", description: "Fetch bindings from a script uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name" + "path" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, @@ -108,50 +116,50 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_messages": workers_messages_output, - "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_messages": workers_messages, + "workers_namespace_identifier": workers_namespace_identifier, }, }, annotations: { @@ -195,51 +203,51 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_messages": workers_messages_output, - "workers_namespace_identifier": workers_namespace_identifier_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_messages": workers_messages, + "workers_namespace_identifier": workers_namespace_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts index e48ac5e41..c833f6601 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts @@ -3,8 +3,8 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_messages_output, + workers_api$$response$$common$$failure, + workers_messages, } from "../../../../outputs.js"; import { workers_identifier, @@ -13,33 +13,41 @@ import { import { workers_dispatch_namespace_name } from "../../schemas.js"; /** - * The tools of `workers_for_platforms.dispatch_namespaces.scripts.content`. + * The tools of `workersForPlatforms.dispatchNamespaces.scripts.content`. */ export const tools: readonly Tool[] = [ { - name: "workers_for_platforms_dispatch_namespaces_scripts_content_get", + name: "workersForPlatforms_dispatchNamespaces_scripts_content_get", title: "Get Workers for Platforms Script Content", description: "Fetch content from a script uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name" + "path" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, @@ -74,8 +82,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts index 66fd0d1c1..09c5c9941 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `workers_namespace-script-delete-bulk-response` in responses. */ -export const workers_namespace_script_delete_bulk_response_output: JsonSchema = { +export const workers_namespace$$script$$delete$$bulk$$response: JsonSchema = { "properties": { "deleted": { "items": { @@ -32,7 +32,7 @@ export const workers_namespace_script_delete_bulk_response_output: JsonSchema = /** * The schema of `workers_namespace-script-response` in responses. */ -export const workers_namespace_script_response_output: JsonSchema = { +export const workers_namespace$$script$$response: JsonSchema = { "properties": { "created_on": { "$ref": "#/$defs/workers_created_on" @@ -53,7 +53,7 @@ export const workers_namespace_script_response_output: JsonSchema = { /** * The schema of `workers_namespace-script-response-single` in responses. */ -export const workers_namespace_script_response_single_output: JsonSchema = { +export const workers_namespace$$script$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts index feb1d5f31..0a281d885 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts @@ -1,73 +1,81 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; -import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_api_response_null_result_output, - workers_binding_kind_secret_key_output, - workers_binding_kind_secret_text_output, - workers_binding_name_output, - workers_messages_output, - workers_secret_output, - workers_secret_patch_response_output, -} from "../../../../outputs.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_api$$response$$null$$result, workers_binding_kind_secret_key, workers_binding_kind_secret_text, workers_binding_name, + workers_messages, + workers_secret, + workers_secret$$patch$$response, +} from "../../../../outputs.js"; +import { + workers_binding_kind_secret_key as workers_binding_kind_secret_key$, + workers_binding_kind_secret_text as workers_binding_kind_secret_text$, + workers_binding_name as workers_binding_name$, workers_identifier, workers_script_name, - workers_secret, + workers_secret as workers_secret$, + workers_secret$$patch$$request, workers_secret_name, workers_secret_name_url_encoded, - workers_secret_patch_request, } from "../../../../schemas.js"; import { workers_dispatch_namespace_name } from "../../schemas.js"; /** - * The tools of `workers_for_platforms.dispatch_namespaces.scripts.secrets`. + * The tools of `workersForPlatforms.dispatchNamespaces.scripts.secrets`. */ export const tools: readonly Tool[] = [ { - name: "workers_for_platforms_dispatch_namespaces_scripts_secrets_bulk", + name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_bulk", title: "Patch multiple Workers for Platforms script secrets", description: "Create, update, or delete multiple secrets on a Workers for Platforms script in a single operation using JSON Merge Patch (RFC 7396).\nThis operation creates a single version with all changes included.\nPrefer this API instead of changing many secrets individually.\n\nUsage:\n\n- To create or update a secret, set its value to a secret object.\n- To delete a secret, set its value to `null`.\n- Secrets not included in the request are left unchanged.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_secret-patch-request" }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name", + "path", "body" ], $defs: { - "workers_binding_kind_secret_key": workers_binding_kind_secret_key, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, + "workers_binding_name": workers_binding_name$, "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, - "workers_secret": workers_secret, - "workers_secret-patch-request": workers_secret_patch_request, + "workers_secret": workers_secret$, + "workers_secret-patch-request": workers_secret$$patch$$request, }, }, outputSchema: { @@ -88,13 +96,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, - "workers_secret-patch-response": workers_secret_patch_response_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, + "workers_secret-patch-response": workers_secret$$patch$$response, }, }, annotations: { @@ -134,14 +142,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, - "workers_secret-patch-response": workers_secret_patch_response_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, + "workers_secret-patch-response": workers_secret$$patch$$response, }, }, request: (args) => ({ @@ -150,38 +158,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_secrets_delete", + name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_delete", title: "Delete Workers for Platforms script secret", description: "Remove a secret from a Workers for Platforms script by creating a new version without that\nsecret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers for Platforms script secret.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." - }, - "secret_name": { - "$ref": "#/$defs/workers_secret_name", - "description": "A JavaScript variable name for the secret binding." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + }, + "secret_name": { + "$ref": "#/$defs/workers_secret_name", + "description": "A JavaScript variable name for the secret binding." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name", + "secret_name" + ], + "type": "object" }, - "url_encoded": { - "$ref": "#/$defs/workers_secret_name_url_encoded", - "description": "Flag that indicates whether the secret name is URL encoded." + "query": { + "properties": { + "url_encoded": { + "$ref": "#/$defs/workers_secret_name_url_encoded", + "description": "Flag that indicates whether the secret name is URL encoded." + } + }, + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name", - "secret_name" + "path" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, @@ -194,9 +215,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, annotations: { @@ -223,52 +244,65 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/secrets/${pathParam(args, "secret_name")}`, query: [ - ["url_encoded", args["url_encoded"], true], + ["url_encoded", param(args, "query", "url_encoded"), true], ], }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_secrets_get", + name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_get", title: "Get Workers for Platforms Script Secret", description: "Get a given secret binding (value omitted) on a script uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." - }, - "secret_name": { - "$ref": "#/$defs/workers_secret_name", - "description": "A JavaScript variable name for the secret binding." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + }, + "secret_name": { + "$ref": "#/$defs/workers_secret_name", + "description": "A JavaScript variable name for the secret binding." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name", + "secret_name" + ], + "type": "object" }, - "url_encoded": { - "$ref": "#/$defs/workers_secret_name_url_encoded", - "description": "Flag that indicates whether the secret name is URL encoded." + "query": { + "properties": { + "url_encoded": { + "$ref": "#/$defs/workers_secret_name_url_encoded", + "description": "Flag that indicates whether the secret name is URL encoded." + } + }, + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name", - "secret_name" + "path" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, @@ -296,12 +330,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, annotations: { @@ -345,46 +379,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/secrets/${pathParam(args, "secret_name")}`, query: [ - ["url_encoded", args["url_encoded"], true], + ["url_encoded", param(args, "query", "url_encoded"), true], ], }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_secrets_list", + name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_list", title: "List Workers for Platforms Script Secrets", description: "List secrets bound to a script uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name" + "path" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, @@ -413,12 +455,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, annotations: { @@ -465,13 +507,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, request: (args) => ({ @@ -479,42 +521,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_secrets_update", + name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_update", title: "Add a secret to a Workers for Platforms script", description: "Add a secret to a Workers for Platforms script by creating a new version with that secret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_secret" }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name", + "path", "body" ], $defs: { - "workers_binding_kind_secret_key": workers_binding_kind_secret_key, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, + "workers_binding_name": workers_binding_name$, "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, - "workers_secret": workers_secret, + "workers_secret": workers_secret$, }, }, outputSchema: { @@ -535,12 +585,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, annotations: { @@ -585,13 +635,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_name": workers_binding_name_output, - "workers_messages": workers_messages_output, - "workers_secret": workers_secret_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_name": workers_binding_name, + "workers_messages": workers_messages, + "workers_secret": workers_secret, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts index 87183bde9..df92f591b 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * The schema of `workers_namespace-script-and-version-settings-item` in * responses. */ -export const workers_namespace_script_and_version_settings_item_output: JsonSchema = { +export const workers_namespace$$script$$and$$version$$settings$$item: JsonSchema = { "properties": { "bindings": { "allOf": [ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts index 232bfb899..dcaa29d9a 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts @@ -3,123 +3,131 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_binding_item_output, - workers_binding_kind_ai_output, - workers_binding_kind_ai_search_namespace_output, - workers_binding_kind_ai_search_output, - workers_binding_kind_analytics_engine_output, - workers_binding_kind_artifacts_output, - workers_binding_kind_assets_output, - workers_binding_kind_browser_output, - workers_binding_kind_d1_output, - workers_binding_kind_data_blob_output, - workers_binding_kind_dispatch_namespace_output, - workers_binding_kind_durable_object_namespace_output, - workers_binding_kind_flagship_output, - workers_binding_kind_hyperdrive_output, - workers_binding_kind_images_output, - workers_binding_kind_inherit_output, - workers_binding_kind_json_output, - workers_binding_kind_k2_output, - workers_binding_kind_kv_namespace_output, - workers_binding_kind_media_output, - workers_binding_kind_messaging_output, - workers_binding_kind_mtls_certificate_output, - workers_binding_kind_pipelines_output, - workers_binding_kind_plain_text_output, - workers_binding_kind_queue_output, - workers_binding_kind_r2_bucket_output, - workers_binding_kind_ratelimit_output, - workers_binding_kind_secret_key_output, - workers_binding_kind_secret_text_output, - workers_binding_kind_secrets_store_secret_output, - workers_binding_kind_send_email_output, - workers_binding_kind_service_output, - workers_binding_kind_text_blob_output, - workers_binding_kind_vectorize_output, - workers_binding_kind_version_metadata_output, - workers_binding_kind_vpc_network_output, - workers_binding_kind_vpc_service_output, - workers_binding_kind_wasm_module_output, - workers_binding_kind_workflow_output, - workers_binding_name_output, - workers_bindings_output, - workers_cache_options_output, - workers_compatibility_date_output, - workers_compatibility_flag_output, - workers_compatibility_flags_output, - workers_durable_object_deleted_export_output, - workers_durable_object_expecting_transfer_export_output, - workers_durable_object_export_output, - workers_durable_object_export_variants_output, - workers_durable_object_renamed_export_output, - workers_durable_object_transferred_export_output, - workers_entrypoint_cache_options_output, - workers_export_config_output, - workers_export_storage_output, - workers_exports_config_map_output, - workers_exports_reconciliation_info_output, - workers_exports_reconciliation_rename_output, - workers_exports_reconciliation_result_output, - workers_exports_reconciliation_scenario_output, - workers_exports_reconciliation_transfer_output, - workers_exports_reconciliation_transfer_pending_output, - workers_exports_reconciliation_warning_output, - workers_limits_output, - workers_logpush_output, - workers_messages_output, - workers_migration_step_output, - workers_migration_tag_conditions_output, - workers_multiple_step_migrations_output, - workers_namespace_identifier_output, - workers_observability_2_output, - workers_placement_info_no_status_output, - workers_placement_target_output, - workers_single_step_migrations_output, - workers_tag_output, - workers_tags_output, - workers_tail_consumers_output, - workers_tail_consumers_script_output, - workers_usage_model_output, - workers_worker_export_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_binding_item, + workers_binding_kind_ai, + workers_binding_kind_ai_search, + workers_binding_kind_ai_search_namespace, + workers_binding_kind_analytics_engine, + workers_binding_kind_artifacts, + workers_binding_kind_assets, + workers_binding_kind_browser, + workers_binding_kind_d1, + workers_binding_kind_data_blob, + workers_binding_kind_dispatch_namespace, + workers_binding_kind_durable_object_namespace, + workers_binding_kind_flagship, + workers_binding_kind_hyperdrive, + workers_binding_kind_images, + workers_binding_kind_inherit, + workers_binding_kind_json, + workers_binding_kind_k2, + workers_binding_kind_kv_namespace, + workers_binding_kind_media, + workers_binding_kind_messaging, + workers_binding_kind_mtls_certificate, + workers_binding_kind_pipelines, + workers_binding_kind_plain_text, + workers_binding_kind_queue, + workers_binding_kind_r2_bucket, + workers_binding_kind_ratelimit, + workers_binding_kind_secret_key, + workers_binding_kind_secret_text, + workers_binding_kind_secrets_store_secret, + workers_binding_kind_send_email, + workers_binding_kind_service, + workers_binding_kind_text_blob, + workers_binding_kind_vectorize, + workers_binding_kind_version_metadata, + workers_binding_kind_vpc_network, + workers_binding_kind_vpc_service, + workers_binding_kind_wasm_module, + workers_binding_kind_workflow, + workers_binding_name, + workers_bindings, + workers_cache_options, + workers_compatibility_date, + workers_compatibility_flag, + workers_compatibility_flags, + workers_durable_object_deleted_export, + workers_durable_object_expecting_transfer_export, + workers_durable_object_export, + workers_durable_object_export_variants, + workers_durable_object_renamed_export, + workers_durable_object_transferred_export, + workers_entrypoint_cache_options, + workers_export_config, + workers_export_storage, + workers_exports_config_map, + workers_exports_reconciliation_info, + workers_exports_reconciliation_rename, + workers_exports_reconciliation_result, + workers_exports_reconciliation_scenario, + workers_exports_reconciliation_transfer, + workers_exports_reconciliation_transfer_pending, + workers_exports_reconciliation_warning, + workers_limits, + workers_logpush, + workers_messages, + workers_migration_step, + workers_migration_tag_conditions, + workers_multiple_step_migrations, + workers_namespace_identifier, + workers_observability$$2, + workers_placement_info_no_status, + workers_placement_target, + workers_single_step_migrations, + workers_tag, + workers_tags, + workers_tail_consumers, + workers_tail_consumers_script, + workers_usage_model, + workers_worker_export, } from "../../../../outputs.js"; import { workers_identifier, workers_script_name, } from "../../../../schemas.js"; import { workers_dispatch_namespace_name } from "../../schemas.js"; -import { workers_namespace_script_and_version_settings_item_output } from "./outputs.js"; +import { workers_namespace$$script$$and$$version$$settings$$item } from "./outputs.js"; /** - * The tools of `workers_for_platforms.dispatch_namespaces.scripts.settings`. + * The tools of `workersForPlatforms.dispatchNamespaces.scripts.settings`. */ export const tools: readonly Tool[] = [ { - name: "workers_for_platforms_dispatch_namespaces_scripts_settings_get", + name: "workersForPlatforms_dispatchNamespaces_scripts_settings_get", title: "Get Workers for Platforms Script Settings", description: "Get settings for a script uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name" + "path" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, @@ -142,87 +150,87 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_limits": workers_limits_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace-script-and-version-settings-item": workers_namespace_script_and_version_settings_item_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_limits": workers_limits, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace-script-and-version-settings-item": workers_namespace$$script$$and$$version$$settings$$item, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_observability-2": workers_observability$$2, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, annotations: { @@ -263,88 +271,88 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_binding_item": workers_binding_item_output, - "workers_binding_kind_ai": workers_binding_kind_ai_output, - "workers_binding_kind_ai_search": workers_binding_kind_ai_search_output, - "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace_output, - "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine_output, - "workers_binding_kind_artifacts": workers_binding_kind_artifacts_output, - "workers_binding_kind_assets": workers_binding_kind_assets_output, - "workers_binding_kind_browser": workers_binding_kind_browser_output, - "workers_binding_kind_d1": workers_binding_kind_d1_output, - "workers_binding_kind_data_blob": workers_binding_kind_data_blob_output, - "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace_output, - "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace_output, - "workers_binding_kind_flagship": workers_binding_kind_flagship_output, - "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive_output, - "workers_binding_kind_images": workers_binding_kind_images_output, - "workers_binding_kind_inherit": workers_binding_kind_inherit_output, - "workers_binding_kind_json": workers_binding_kind_json_output, - "workers_binding_kind_k2": workers_binding_kind_k2_output, - "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace_output, - "workers_binding_kind_media": workers_binding_kind_media_output, - "workers_binding_kind_messaging": workers_binding_kind_messaging_output, - "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate_output, - "workers_binding_kind_pipelines": workers_binding_kind_pipelines_output, - "workers_binding_kind_plain_text": workers_binding_kind_plain_text_output, - "workers_binding_kind_queue": workers_binding_kind_queue_output, - "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket_output, - "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit_output, - "workers_binding_kind_secret_key": workers_binding_kind_secret_key_output, - "workers_binding_kind_secret_text": workers_binding_kind_secret_text_output, - "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret_output, - "workers_binding_kind_send_email": workers_binding_kind_send_email_output, - "workers_binding_kind_service": workers_binding_kind_service_output, - "workers_binding_kind_text_blob": workers_binding_kind_text_blob_output, - "workers_binding_kind_vectorize": workers_binding_kind_vectorize_output, - "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata_output, - "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network_output, - "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service_output, - "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module_output, - "workers_binding_kind_workflow": workers_binding_kind_workflow_output, - "workers_binding_name": workers_binding_name_output, - "workers_bindings": workers_bindings_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_exports_reconciliation_info": workers_exports_reconciliation_info_output, - "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename_output, - "workers_exports_reconciliation_result": workers_exports_reconciliation_result_output, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario_output, - "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer_output, - "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending_output, - "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning_output, - "workers_limits": workers_limits_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_migration_step": workers_migration_step_output, - "workers_migration_tag_conditions": workers_migration_tag_conditions_output, - "workers_multiple_step_migrations": workers_multiple_step_migrations_output, - "workers_namespace-script-and-version-settings-item": workers_namespace_script_and_version_settings_item_output, - "workers_namespace_identifier": workers_namespace_identifier_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info_no_status": workers_placement_info_no_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_single_step_migrations": workers_single_step_migrations_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_binding_item": workers_binding_item, + "workers_binding_kind_ai": workers_binding_kind_ai, + "workers_binding_kind_ai_search": workers_binding_kind_ai_search, + "workers_binding_kind_ai_search_namespace": workers_binding_kind_ai_search_namespace, + "workers_binding_kind_analytics_engine": workers_binding_kind_analytics_engine, + "workers_binding_kind_artifacts": workers_binding_kind_artifacts, + "workers_binding_kind_assets": workers_binding_kind_assets, + "workers_binding_kind_browser": workers_binding_kind_browser, + "workers_binding_kind_d1": workers_binding_kind_d1, + "workers_binding_kind_data_blob": workers_binding_kind_data_blob, + "workers_binding_kind_dispatch_namespace": workers_binding_kind_dispatch_namespace, + "workers_binding_kind_durable_object_namespace": workers_binding_kind_durable_object_namespace, + "workers_binding_kind_flagship": workers_binding_kind_flagship, + "workers_binding_kind_hyperdrive": workers_binding_kind_hyperdrive, + "workers_binding_kind_images": workers_binding_kind_images, + "workers_binding_kind_inherit": workers_binding_kind_inherit, + "workers_binding_kind_json": workers_binding_kind_json, + "workers_binding_kind_k2": workers_binding_kind_k2, + "workers_binding_kind_kv_namespace": workers_binding_kind_kv_namespace, + "workers_binding_kind_media": workers_binding_kind_media, + "workers_binding_kind_messaging": workers_binding_kind_messaging, + "workers_binding_kind_mtls_certificate": workers_binding_kind_mtls_certificate, + "workers_binding_kind_pipelines": workers_binding_kind_pipelines, + "workers_binding_kind_plain_text": workers_binding_kind_plain_text, + "workers_binding_kind_queue": workers_binding_kind_queue, + "workers_binding_kind_r2_bucket": workers_binding_kind_r2_bucket, + "workers_binding_kind_ratelimit": workers_binding_kind_ratelimit, + "workers_binding_kind_secret_key": workers_binding_kind_secret_key, + "workers_binding_kind_secret_text": workers_binding_kind_secret_text, + "workers_binding_kind_secrets_store_secret": workers_binding_kind_secrets_store_secret, + "workers_binding_kind_send_email": workers_binding_kind_send_email, + "workers_binding_kind_service": workers_binding_kind_service, + "workers_binding_kind_text_blob": workers_binding_kind_text_blob, + "workers_binding_kind_vectorize": workers_binding_kind_vectorize, + "workers_binding_kind_version_metadata": workers_binding_kind_version_metadata, + "workers_binding_kind_vpc_network": workers_binding_kind_vpc_network, + "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, + "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, + "workers_binding_kind_workflow": workers_binding_kind_workflow, + "workers_binding_name": workers_binding_name, + "workers_bindings": workers_bindings, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_exports_reconciliation_info": workers_exports_reconciliation_info, + "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, + "workers_exports_reconciliation_result": workers_exports_reconciliation_result, + "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, + "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, + "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, + "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, + "workers_limits": workers_limits, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_migration_step": workers_migration_step, + "workers_migration_tag_conditions": workers_migration_tag_conditions, + "workers_multiple_step_migrations": workers_multiple_step_migrations, + "workers_namespace-script-and-version-settings-item": workers_namespace$$script$$and$$version$$settings$$item, + "workers_namespace_identifier": workers_namespace_identifier, + "workers_observability-2": workers_observability$$2, + "workers_placement_info_no_status": workers_placement_info_no_status, + "workers_placement_target": workers_placement_target, + "workers_single_step_migrations": workers_single_step_migrations, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/outputs.ts index 47c133403..13c49c383 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/outputs.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `workers_tags-kv-response` in responses. */ -export const workers_tags_kv_response_output: JsonSchema = { +export const workers_tags$$kv$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/workers_api-response-common" @@ -28,7 +28,7 @@ export const workers_tags_kv_response_output: JsonSchema = { /** * The schema of `workers_tags_kv` in responses. */ -export const workers_tags_kv_output: JsonSchema = { +export const workers_tags_kv: JsonSchema = { "additionalProperties": { "type": "string" }, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts index 0751a41c5..1844f9140 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts @@ -1,73 +1,78 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_api_response_null_result_output, - workers_messages_output, - workers_tag_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_api$$response$$null$$result, + workers_messages, + workers_tag, } from "../../../../outputs.js"; import { workers_identifier, workers_script_name, - workers_tag, + workers_tag as workers_tag$, workers_tags, } from "../../../../schemas.js"; import { workers_dispatch_namespace_name } from "../../schemas.js"; -import { - workers_tags_kv_output, - workers_tags_kv_response_output, -} from "./outputs.js"; +import { workers_tags$$kv$$response, workers_tags_kv } from "./outputs.js"; import { workers_tag_patch, workers_typed_tag_key } from "./schemas.js"; /** - * The tools of `workers_for_platforms.dispatch_namespaces.scripts.tags`. + * The tools of `workersForPlatforms.dispatchNamespaces.scripts.tags`. */ export const tools: readonly Tool[] = [ { - name: "workers_for_platforms_dispatch_namespaces_scripts_tags_create", + name: "workersForPlatforms_dispatchNamespaces_scripts_tags_create", title: "Create Workers for Platforms Script Tag", description: "Add a single tag to a script uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." - }, - "tag": { - "$ref": "#/$defs/workers_tag" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + }, + "tag": { + "$ref": "#/$defs/workers_tag" + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name", + "tag" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name", - "tag" + "path" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, - "workers_tag": workers_tag, + "workers_tag": workers_tag$, }, }, outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, annotations: { @@ -97,10 +102,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -108,50 +113,63 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_tags_delete", + name: "workersForPlatforms_dispatchNamespaces_scripts_tags_delete", title: "Delete Workers for Platforms Script Tag", description: "Delete a tag from a script uploaded to a Workers for Platforms dispatch namespace.\n\nOn `api-version` dates on or after `2026-10-01`, `tag` identifies a key and the operation returns the complete updated tag map. Deleting a missing key succeeds. Earlier versions retain the legacy string-tag behavior and return a null result.\n\nConfirm with the user before calling this tool. This will delete the tag from the Workers for Platforms script.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "api_version": { - "description": "Requested API compatibility date in `YYYY-MM-DD[.release]` format (UTC). The optional release suffix contains lowercase letters; for example, `2026-10-01.epoch`.\n\nTyped Worker tag operations require a date on or after `2026-10-01`.\n", - "type": "string" - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "headers": { + "properties": { + "api-version": { + "description": "Requested API compatibility date in `YYYY-MM-DD[.release]` format (UTC). The optional release suffix contains lowercase letters; for example, `2026-10-01.epoch`.\n\nTyped Worker tag operations require a date on or after `2026-10-01`.\n", + "type": "string" + } + }, + "type": "object" }, - "tag": { - "oneOf": [ - { - "$ref": "#/$defs/workers_typed_tag_key" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." }, - { - "$ref": "#/$defs/workers_tag" + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + }, + "tag": { + "oneOf": [ + { + "$ref": "#/$defs/workers_typed_tag_key" + }, + { + "$ref": "#/$defs/workers_tag" + } + ] } - ] + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name", + "tag" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name", - "tag" + "path" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, - "workers_tag": workers_tag, + "workers_tag": workers_tag$, "workers_typed_tag_key": workers_typed_tag_key, }, }, @@ -165,11 +183,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, - "workers_tags-kv-response": workers_tags_kv_response_output, - "workers_tags_kv": workers_tags_kv_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, + "workers_tags-kv-response": workers_tags$$kv$$response, + "workers_tags_kv": workers_tags_kv, }, }, annotations: { @@ -203,57 +221,70 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, - "workers_tags-kv-response": workers_tags_kv_response_output, - "workers_tags_kv": workers_tags_kv_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, + "workers_tags-kv-response": workers_tags$$kv$$response, + "workers_tags_kv": workers_tags_kv, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/tags/${pathParam(args, "tag")}`, headers: [ - ["api-version", args["api_version"]], + ["api-version", param(args, "headers", "api-version")], ], }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_tags_edit", + name: "workersForPlatforms_dispatchNamespaces_scripts_tags_edit", title: "Update Workers for Platforms Script Tag", description: "Add or update one tag key/value on a script uploaded to a Workers for Platforms dispatch namespace without replacing its other tags.\n\nThis operation requires an `api-version` on or after `2026-10-01`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "api_version": { - "description": "Requested API compatibility date in `YYYY-MM-DD[.release]` format (UTC). The optional release suffix contains lowercase letters; for example, `2026-10-01.epoch`.\n\nTyped Worker tag operations require a date on or after `2026-10-01`.\n", - "type": "string" - }, "body": { "$ref": "#/$defs/workers_tag_patch" }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "headers": { + "properties": { + "api-version": { + "description": "Requested API compatibility date in `YYYY-MM-DD[.release]` format (UTC). The optional release suffix contains lowercase letters; for example, `2026-10-01.epoch`.\n\nTyped Worker tag operations require a date on or after `2026-10-01`.\n", + "type": "string" + } + }, + "type": "object" }, - "tag": { - "$ref": "#/$defs/workers_typed_tag_key", - "description": "Tag key. Cloudflare-reserved prefixes are not accepted." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + }, + "tag": { + "$ref": "#/$defs/workers_typed_tag_key", + "description": "Tag key. Cloudflare-reserved prefixes are not accepted." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name", + "tag" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name", - "tag", + "path", "body" ], $defs: { @@ -267,10 +298,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_tags-kv-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_tags-kv-response": workers_tags_kv_response_output, - "workers_tags_kv": workers_tags_kv_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_tags-kv-response": workers_tags$$kv$$response, + "workers_tags_kv": workers_tags_kv, }, }, annotations: { @@ -297,45 +328,53 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_tags-kv-response": workers_tags_kv_response_output, - "workers_tags_kv": workers_tags_kv_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_tags-kv-response": workers_tags$$kv$$response, + "workers_tags_kv": workers_tags_kv, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}/tags/${pathParam(args, "tag")}`, headers: [ - ["api-version", args["api_version"]], + ["api-version", param(args, "headers", "api-version")], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_tags_list", + name: "workersForPlatforms_dispatchNamespaces_scripts_tags_list", title: "List Workers for Platforms Script Tags", description: "Fetch tags from a script uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name" + "path" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, @@ -361,9 +400,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_tag": workers_tag_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_tag": workers_tag, }, }, annotations: { @@ -407,10 +446,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_tag": workers_tag_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_tag": workers_tag, }, }, request: (args) => ({ @@ -418,39 +457,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_tags_update", + name: "workersForPlatforms_dispatchNamespaces_scripts_tags_update", title: "Replace Workers for Platforms Script Tags", description: "Replace tags for a script uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/workers_tags" }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name", + "path", "body" ], $defs: { "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, - "workers_tag": workers_tag, + "workers_tag": workers_tag$, "workers_tags": workers_tags, }, }, @@ -475,9 +522,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_messages": workers_messages_output, - "workers_tag": workers_tag_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_messages": workers_messages, + "workers_tag": workers_tag, }, }, annotations: { @@ -522,10 +569,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_tag": workers_tag_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_tag": workers_tag, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts index af0696cb5..3782daf33 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts @@ -1,100 +1,113 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_api_response_null_result_output, - workers_cache_options_output, - workers_compatibility_date_output, - workers_compatibility_flag_output, - workers_compatibility_flags_output, - workers_created_on_output, - workers_durable_object_deleted_export_output, - workers_durable_object_expecting_transfer_export_output, - workers_durable_object_export_output, - workers_durable_object_export_variants_output, - workers_durable_object_renamed_export_output, - workers_durable_object_transferred_export_output, - workers_entrypoint_cache_options_output, - workers_etag_output, - workers_export_config_output, - workers_export_storage_output, - workers_exports_config_map_output, - workers_has_assets_output, - workers_has_modules_output, - workers_logpush_output, - workers_messages_output, - workers_modified_on_output, - workers_observability_2_output, - workers_placement_info_output, - workers_placement_mode_output, - workers_placement_status_output, - workers_placement_target_output, - workers_script_response_output, - workers_tag_output, - workers_tags_output, - workers_tail_consumers_output, - workers_tail_consumers_script_output, - workers_usage_model_output, - workers_worker_export_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_api$$response$$null$$result, + workers_cache_options, + workers_compatibility_date, + workers_compatibility_flag, + workers_compatibility_flags, + workers_created_on, + workers_durable_object_deleted_export, + workers_durable_object_expecting_transfer_export, + workers_durable_object_export, + workers_durable_object_export_variants, + workers_durable_object_renamed_export, + workers_durable_object_transferred_export, + workers_entrypoint_cache_options, + workers_etag, + workers_export_config, + workers_export_storage, + workers_exports_config_map, + workers_has_assets, + workers_has_modules, + workers_logpush, + workers_messages, + workers_modified_on, + workers_observability$$2, + workers_placement_info, + workers_placement_mode, + workers_placement_status, + workers_placement_target, + workers_script$$response, + workers_tag, + workers_tags, + workers_tail_consumers, + workers_tail_consumers_script, + workers_usage_model, + workers_worker_export, } from "../../../outputs.js"; import { workers_identifier, workers_script_name } from "../../../schemas.js"; +import { workers_dispatch_namespace_name, workers_uuid } from "../outputs.js"; +import { workers_dispatch_namespace_name as workers_dispatch_namespace_name$ } from "../schemas.js"; import { - workers_dispatch_namespace_name_output, - workers_uuid_output, -} from "../outputs.js"; -import { workers_dispatch_namespace_name } from "../schemas.js"; -import { - workers_namespace_script_delete_bulk_response_output, - workers_namespace_script_response_output, - workers_namespace_script_response_single_output, + workers_namespace$$script$$delete$$bulk$$response, + workers_namespace$$script$$response, + workers_namespace$$script$$response$$single, } from "./outputs.js"; /** - * The tools of `workers_for_platforms.dispatch_namespaces.scripts`. + * The tools of `workersForPlatforms.dispatchNamespaces.scripts`. */ export const tools: readonly Tool[] = [ { - name: "workers_for_platforms_dispatch_namespaces_scripts_bulk_delete", + name: "workersForPlatforms_dispatchNamespaces_scripts_bulkDelete", title: "Delete Workers for Platforms Scripts", description: "Delete multiple scripts from a Workers for Platforms dispatch namespace based on optional tag filters.\n\nConfirm with the user before calling this tool. This will permanently delete matching scripts in the Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "limit": { - "description": "Limit the number of scripts to delete.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + } + }, + "required": [ + "account_id", + "dispatch_namespace" + ], + "type": "object" }, - "tags": { - "description": "Filter scripts by tags before deletion. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.", - "type": "string" + "query": { + "properties": { + "limit": { + "description": "Limit the number of scripts to delete.", + "type": "integer" + }, + "tags": { + "description": "Filter scripts by tags before deletion. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.", + "type": "string" + } + }, + "required": [ + "tags" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "tags" + "path", + "query" ], $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, "workers_identifier": workers_identifier, }, }, outputSchema: { "$ref": "#/$defs/workers_namespace-script-delete-bulk-response", $defs: { - "workers_namespace-script-delete-bulk-response": workers_namespace_script_delete_bulk_response_output, - "workers_uuid": workers_uuid_output, + "workers_namespace-script-delete-bulk-response": workers_namespace$$script$$delete$$bulk$$response, + "workers_uuid": workers_uuid, }, }, annotations: { @@ -124,51 +137,64 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_messages": workers_messages_output, - "workers_namespace-script-delete-bulk-response": workers_namespace_script_delete_bulk_response_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_messages": workers_messages, + "workers_namespace-script-delete-bulk-response": workers_namespace$$script$$delete$$bulk$$response, + "workers_uuid": workers_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts`, query: [ - ["tags", args["tags"], true], - ["limit", args["limit"], true], + ["tags", param(args, "query", "tags"), true], + ["limit", param(args, "query", "limit"), true], ], }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_delete", + name: "workersForPlatforms_dispatchNamespaces_scripts_delete", title: "Delete Workers for Platforms Script", description: "Delete a script from a Workers for Platforms dispatch namespace. This call has no response body on a successful delete.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers for Platforms script.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "delete_with_references": { - "description": "If true, delete the script even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted script are deleted even if other Workers reference them.", - "type": "boolean" - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "query": { + "properties": { + "force": { + "description": "If true, delete the script even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted script are deleted even if other Workers reference them.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name" + "path" ], $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, }, @@ -176,9 +202,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, annotations: { @@ -205,46 +231,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts/${pathParam(args, "script_name")}`, query: [ - ["force", args["delete_with_references"], true], + ["force", param(args, "query", "force"), true], ], }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_get", + name: "workersForPlatforms_dispatchNamespaces_scripts_get", title: "Get Workers for Platforms Script details", description: "Fetch information about a script uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." - }, - "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + }, + "script_name": { + "$ref": "#/$defs/workers_script_name", + "description": "Name of the script." + } + }, + "required": [ + "account_id", + "dispatch_namespace", + "script_name" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", - "script_name" + "path" ], $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, "workers_identifier": workers_identifier, "workers_script_name": workers_script_name, }, @@ -252,43 +286,43 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/workers_namespace-script-response-single", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_etag": workers_etag_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_has_assets": workers_has_assets_output, - "workers_has_modules": workers_has_modules_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-script-response": workers_namespace_script_response_output, - "workers_namespace-script-response-single": workers_namespace_script_response_single_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info": workers_placement_info_output, - "workers_placement_mode": workers_placement_mode_output, - "workers_placement_status": workers_placement_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_script-response": workers_script_response_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_etag": workers_etag, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_has_assets": workers_has_assets, + "workers_has_modules": workers_has_modules, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-script-response": workers_namespace$$script$$response, + "workers_namespace-script-response-single": workers_namespace$$script$$response$$single, + "workers_observability-2": workers_observability$$2, + "workers_placement_info": workers_placement_info, + "workers_placement_mode": workers_placement_mode, + "workers_placement_status": workers_placement_status, + "workers_placement_target": workers_placement_target, + "workers_script-response": workers_script$$response, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, annotations: { @@ -317,44 +351,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_etag": workers_etag_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_has_assets": workers_has_assets_output, - "workers_has_modules": workers_has_modules_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-script-response": workers_namespace_script_response_output, - "workers_namespace-script-response-single": workers_namespace_script_response_single_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info": workers_placement_info_output, - "workers_placement_mode": workers_placement_mode_output, - "workers_placement_status": workers_placement_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_script-response": workers_script_response_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_etag": workers_etag, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_has_assets": workers_has_assets, + "workers_has_modules": workers_has_modules, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-script-response": workers_namespace$$script$$response, + "workers_namespace-script-response-single": workers_namespace$$script$$response$$single, + "workers_observability-2": workers_observability$$2, + "workers_placement_info": workers_placement_info, + "workers_placement_mode": workers_placement_mode, + "workers_placement_status": workers_placement_status, + "workers_placement_target": workers_placement_target, + "workers_script-response": workers_script$$response, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ @@ -362,31 +396,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_scripts_list", + name: "workersForPlatforms_dispatchNamespaces_scripts_list", title: "List Workers for Platforms Scripts", description: "Fetch a list of scripts uploaded to a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + } + }, + "required": [ + "account_id", + "dispatch_namespace" + ], + "type": "object" }, - "tags": { - "description": "Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.", - "type": "string" + "query": { + "properties": { + "tags": { + "description": "Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace" + "path" ], $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, "workers_identifier": workers_identifier, }, }, @@ -411,42 +458,42 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_etag": workers_etag_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_has_assets": workers_has_assets_output, - "workers_has_modules": workers_has_modules_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-script-response": workers_namespace_script_response_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info": workers_placement_info_output, - "workers_placement_mode": workers_placement_mode_output, - "workers_placement_status": workers_placement_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_script-response": workers_script_response_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_etag": workers_etag, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_has_assets": workers_has_assets, + "workers_has_modules": workers_has_modules, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-script-response": workers_namespace$$script$$response, + "workers_observability-2": workers_observability$$2, + "workers_placement_info": workers_placement_info, + "workers_placement_mode": workers_placement_mode, + "workers_placement_status": workers_placement_status, + "workers_placement_target": workers_placement_target, + "workers_script-response": workers_script$$response, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, annotations: { @@ -493,49 +540,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_cache_options": workers_cache_options_output, - "workers_compatibility_date": workers_compatibility_date_output, - "workers_compatibility_flag": workers_compatibility_flag_output, - "workers_compatibility_flags": workers_compatibility_flags_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_durable_object_deleted_export": workers_durable_object_deleted_export_output, - "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export_output, - "workers_durable_object_export": workers_durable_object_export_output, - "workers_durable_object_export_variants": workers_durable_object_export_variants_output, - "workers_durable_object_renamed_export": workers_durable_object_renamed_export_output, - "workers_durable_object_transferred_export": workers_durable_object_transferred_export_output, - "workers_entrypoint_cache_options": workers_entrypoint_cache_options_output, - "workers_etag": workers_etag_output, - "workers_export_config": workers_export_config_output, - "workers_export_storage": workers_export_storage_output, - "workers_exports_config_map": workers_exports_config_map_output, - "workers_has_assets": workers_has_assets_output, - "workers_has_modules": workers_has_modules_output, - "workers_logpush": workers_logpush_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-script-response": workers_namespace_script_response_output, - "workers_observability-2": workers_observability_2_output, - "workers_placement_info": workers_placement_info_output, - "workers_placement_mode": workers_placement_mode_output, - "workers_placement_status": workers_placement_status_output, - "workers_placement_target": workers_placement_target_output, - "workers_script-response": workers_script_response_output, - "workers_tag": workers_tag_output, - "workers_tags": workers_tags_output, - "workers_tail_consumers": workers_tail_consumers_output, - "workers_tail_consumers_script": workers_tail_consumers_script_output, - "workers_usage_model": workers_usage_model_output, - "workers_worker_export": workers_worker_export_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_cache_options": workers_cache_options, + "workers_compatibility_date": workers_compatibility_date, + "workers_compatibility_flag": workers_compatibility_flag, + "workers_compatibility_flags": workers_compatibility_flags, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_durable_object_deleted_export": workers_durable_object_deleted_export, + "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, + "workers_durable_object_export": workers_durable_object_export, + "workers_durable_object_export_variants": workers_durable_object_export_variants, + "workers_durable_object_renamed_export": workers_durable_object_renamed_export, + "workers_durable_object_transferred_export": workers_durable_object_transferred_export, + "workers_entrypoint_cache_options": workers_entrypoint_cache_options, + "workers_etag": workers_etag, + "workers_export_config": workers_export_config, + "workers_export_storage": workers_export_storage, + "workers_exports_config_map": workers_exports_config_map, + "workers_has_assets": workers_has_assets, + "workers_has_modules": workers_has_modules, + "workers_logpush": workers_logpush, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-script-response": workers_namespace$$script$$response, + "workers_observability-2": workers_observability$$2, + "workers_placement_info": workers_placement_info, + "workers_placement_mode": workers_placement_mode, + "workers_placement_status": workers_placement_status, + "workers_placement_target": workers_placement_target, + "workers_script-response": workers_script$$response, + "workers_tag": workers_tag, + "workers_tags": workers_tags, + "workers_tail_consumers": workers_tail_consumers, + "workers_tail_consumers_script": workers_tail_consumers_script, + "workers_usage_model": workers_usage_model, + "workers_worker_export": workers_worker_export, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workers/dispatch/namespaces/${pathParam(args, "dispatch_namespace")}/scripts`, query: [ - ["tags", args["tags"], true], + ["tags", param(args, "query", "tags"), true], ], }), }, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts index 011b9cdf2..028b64c83 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts @@ -3,44 +3,40 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - workers_api_response_common_failure_output, - workers_api_response_common_output, - workers_api_response_null_result_output, - workers_created_on_output, - workers_identifier_output, - workers_messages_output, - workers_modified_on_output, + workers_api$$response$$common, + workers_api$$response$$common$$failure, + workers_api$$response$$null$$result, + workers_created_on, + workers_identifier, + workers_messages, + workers_modified_on, } from "../../outputs.js"; -import { workers_identifier } from "../../schemas.js"; -import { - workers_dispatch_namespace_name_output, - workers_namespace_list_response_output, - workers_namespace_response_output, - workers_namespace_single_response_output, - workers_script_count_output, - workers_trusted_workers_output, - workers_uuid_output, -} from "./outputs.js"; +import { workers_identifier as workers_identifier$ } from "../../schemas.js"; import { workers_dispatch_namespace_name, + workers_namespace$$list$$response, + workers_namespace$$response, + workers_namespace$$single$$response, + workers_script_count, workers_trusted_workers, + workers_uuid, +} from "./outputs.js"; +import { + workers_dispatch_namespace_name as workers_dispatch_namespace_name$, + workers_trusted_workers as workers_trusted_workers$, } from "./schemas.js"; /** - * The tools of `workers_for_platforms.dispatch_namespaces`. + * The tools of `workersForPlatforms.dispatchNamespaces`. */ export const tools: readonly Tool[] = [ { - name: "workers_for_platforms_dispatch_namespaces_create", + name: "workersForPlatforms_dispatchNamespaces_create", title: "Create Workers for Platforms Dispatch Namespace", description: "Create a new Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "properties": { "name": { @@ -49,30 +45,42 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, }, }, outputSchema: { "$ref": "#/$defs/workers_namespace-single-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_namespace-single-response": workers_namespace_single_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-response": workers_namespace$$response, + "workers_namespace-single-response": workers_namespace$$single$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, annotations: { @@ -99,18 +107,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_namespace-single-response": workers_namespace_single_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-response": workers_namespace$$response, + "workers_namespace-single-response": workers_namespace$$single$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, request: (args) => ({ @@ -119,36 +127,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_delete", + name: "workersForPlatforms_dispatchNamespaces_delete", title: "Delete Workers for Platforms Dispatch Namespace", description: "Delete a Workers for Platforms dispatch namespace.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + } + }, + "required": [ + "account_id", + "dispatch_namespace" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace" + "path" ], $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, + "workers_identifier": workers_identifier$, }, }, outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, annotations: { @@ -175,10 +191,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_api-response-null-result": workers_api_response_null_result_output, - "workers_messages": workers_messages_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_api-response-null-result": workers_api$$response$$null$$result, + "workers_messages": workers_messages, }, }, request: (args) => ({ @@ -186,16 +202,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_edit", + name: "workersForPlatforms_dispatchNamespaces_edit", title: "Patch Workers for Platforms Dispatch Namespace", description: "Patch a Workers for Platforms dispatch namespace. Omitted fields are left unchanged.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "properties": { "name": { @@ -210,36 +222,48 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + } + }, + "required": [ + "account_id", + "dispatch_namespace" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", + "path", "body" ], $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_trusted_workers": workers_trusted_workers, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, + "workers_identifier": workers_identifier$, + "workers_trusted_workers": workers_trusted_workers$, }, }, outputSchema: { "$ref": "#/$defs/workers_namespace-single-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_namespace-single-response": workers_namespace_single_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-response": workers_namespace$$response, + "workers_namespace-single-response": workers_namespace$$single$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, annotations: { @@ -269,18 +293,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_namespace-single-response": workers_namespace_single_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-response": workers_namespace$$response, + "workers_namespace-single-response": workers_namespace$$single$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, request: (args) => ({ @@ -289,44 +313,52 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_get", + name: "workersForPlatforms_dispatchNamespaces_get", title: "Get Workers for Platforms Dispatch Namespace", description: "Get a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + } + }, + "required": [ + "account_id", + "dispatch_namespace" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace" + "path" ], $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, + "workers_identifier": workers_identifier$, }, }, outputSchema: { "$ref": "#/$defs/workers_namespace-single-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_namespace-single-response": workers_namespace_single_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-response": workers_namespace$$response, + "workers_namespace-single-response": workers_namespace$$single$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, annotations: { @@ -355,18 +387,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_namespace-single-response": workers_namespace_single_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-response": workers_namespace$$response, + "workers_namespace-single-response": workers_namespace$$single$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, request: (args) => ({ @@ -374,38 +406,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_list", + name: "workersForPlatforms_dispatchNamespaces_list", title: "List Workers for Platforms Dispatch Namespaces", description: "Fetch a list of Workers for Platforms dispatch namespaces.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "workers_identifier": workers_identifier, + "workers_identifier": workers_identifier$, }, }, outputSchema: { "$ref": "#/$defs/workers_namespace-list-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-list-response": workers_namespace_list_response_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-list-response": workers_namespace$$list$$response, + "workers_namespace-response": workers_namespace$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, annotations: { @@ -434,18 +474,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-list-response": workers_namespace_list_response_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-list-response": workers_namespace$$list$$response, + "workers_namespace-response": workers_namespace$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, request: (args) => ({ @@ -453,16 +493,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_for_platforms_dispatch_namespaces_update", + name: "workersForPlatforms_dispatchNamespaces_update", title: "Update Workers for Platforms Dispatch Namespace", description: "Update a Workers for Platforms dispatch namespace.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." - }, "body": { "properties": { "name": { @@ -477,36 +513,48 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/workers_identifier", + "description": "Identifier." + }, + "dispatch_namespace": { + "$ref": "#/$defs/workers_dispatch_namespace_name", + "description": "Name of the Workers for Platforms dispatch namespace." + } + }, + "required": [ + "account_id", + "dispatch_namespace" + ], + "type": "object" } }, required: [ - "account_id", - "dispatch_namespace", + "path", "body" ], $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_trusted_workers": workers_trusted_workers, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, + "workers_identifier": workers_identifier$, + "workers_trusted_workers": workers_trusted_workers$, }, }, outputSchema: { "$ref": "#/$defs/workers_namespace-single-response", $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_namespace-single-response": workers_namespace_single_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-response": workers_namespace$$response, + "workers_namespace-single-response": workers_namespace$$single$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, annotations: { @@ -536,18 +584,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "workers_api-response-common": workers_api_response_common_output, - "workers_api-response-common-failure": workers_api_response_common_failure_output, - "workers_created_on": workers_created_on_output, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name_output, - "workers_identifier": workers_identifier_output, - "workers_messages": workers_messages_output, - "workers_modified_on": workers_modified_on_output, - "workers_namespace-response": workers_namespace_response_output, - "workers_namespace-single-response": workers_namespace_single_response_output, - "workers_script_count": workers_script_count_output, - "workers_trusted_workers": workers_trusted_workers_output, - "workers_uuid": workers_uuid_output, + "workers_api-response-common": workers_api$$response$$common, + "workers_api-response-common-failure": workers_api$$response$$common$$failure, + "workers_created_on": workers_created_on, + "workers_dispatch_namespace_name": workers_dispatch_namespace_name, + "workers_identifier": workers_identifier, + "workers_messages": workers_messages, + "workers_modified_on": workers_modified_on, + "workers_namespace-response": workers_namespace$$response, + "workers_namespace-single-response": workers_namespace$$single$$response, + "workers_script_count": workers_script_count, + "workers_trusted_workers": workers_trusted_workers, + "workers_uuid": workers_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersVpc/services/outputs.ts b/src/generated/forge-mcp/workersVpc/services/outputs.ts index a4bcee103..9c125a2e5 100644 --- a/src/generated/forge-mcp/workersVpc/services/outputs.ts +++ b/src/generated/forge-mcp/workersVpc/services/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `infra_ApiTlsSettings` in responses. */ -export const infra_ApiTlsSettings_output: JsonSchema = { +export const infra_ApiTlsSettings: JsonSchema = { "properties": { "cert_verification_mode": { "type": "string" @@ -41,7 +41,7 @@ export const infra_ApiTlsSettings_output: JsonSchema = { /** * The schema of `infra_ConnectivityServiceArray` in responses. */ -export const infra_ConnectivityServiceArray_output: JsonSchema = { +export const infra_ConnectivityServiceArray: JsonSchema = { "items": { "$ref": "#/$defs/infra_ServiceConfig" }, @@ -51,7 +51,7 @@ export const infra_ConnectivityServiceArray_output: JsonSchema = { /** * The schema of `infra_DualStackHost` in responses. */ -export const infra_DualStackHost_output: JsonSchema = { +export const infra_DualStackHost: JsonSchema = { "properties": { "ipv4": { "type": "string" @@ -74,7 +74,7 @@ export const infra_DualStackHost_output: JsonSchema = { /** * The schema of `infra_HostnameHost` in responses. */ -export const infra_HostnameHost_output: JsonSchema = { +export const infra_HostnameHost: JsonSchema = { "properties": { "hostname": { "type": "string" @@ -93,7 +93,7 @@ export const infra_HostnameHost_output: JsonSchema = { /** * The schema of `infra_HttpServiceConfig` in responses. */ -export const infra_HttpServiceConfig_output: JsonSchema = { +export const infra_HttpServiceConfig: JsonSchema = { "allOf": [ { "$ref": "#/$defs/infra_ServiceCommon" @@ -129,7 +129,7 @@ export const infra_HttpServiceConfig_output: JsonSchema = { /** * The schema of `infra_IPv4Host` in responses. */ -export const infra_IPv4Host_output: JsonSchema = { +export const infra_IPv4Host: JsonSchema = { "properties": { "ipv4": { "type": "string" @@ -148,7 +148,7 @@ export const infra_IPv4Host_output: JsonSchema = { /** * The schema of `infra_IPv6Host` in responses. */ -export const infra_IPv6Host_output: JsonSchema = { +export const infra_IPv6Host: JsonSchema = { "properties": { "ipv6": { "type": "string" @@ -167,7 +167,7 @@ export const infra_IPv6Host_output: JsonSchema = { /** * The schema of `infra_Network` in responses. */ -export const infra_Network_output: JsonSchema = { +export const infra_Network: JsonSchema = { "properties": { "tunnel_id": { "format": "uuid", @@ -183,7 +183,7 @@ export const infra_Network_output: JsonSchema = { /** * The schema of `infra_ResolverNetwork` in responses. */ -export const infra_ResolverNetwork_output: JsonSchema = { +export const infra_ResolverNetwork: JsonSchema = { "properties": { "resolver_ips": { "oneOf": [ @@ -212,7 +212,7 @@ export const infra_ResolverNetwork_output: JsonSchema = { /** * The schema of `infra_ServiceCommon` in responses. */ -export const infra_ServiceCommon_output: JsonSchema = { +export const infra_ServiceCommon: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -257,7 +257,7 @@ export const infra_ServiceCommon_output: JsonSchema = { /** * The schema of `infra_ServiceConfig` in responses. */ -export const infra_ServiceConfig_output: JsonSchema = { +export const infra_ServiceConfig: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/infra_HttpServiceConfig" @@ -271,7 +271,7 @@ export const infra_ServiceConfig_output: JsonSchema = { /** * The schema of `infra_ServiceHost` in responses. */ -export const infra_ServiceHost_output: JsonSchema = { +export const infra_ServiceHost: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/infra_IPv4Host" @@ -291,7 +291,7 @@ export const infra_ServiceHost_output: JsonSchema = { /** * The schema of `infra_ServiceType` in responses. */ -export const infra_ServiceType_output: JsonSchema = { +export const infra_ServiceType: JsonSchema = { "enum": [ "tcp", "http" @@ -302,7 +302,7 @@ export const infra_ServiceType_output: JsonSchema = { /** * The schema of `infra_TcpServiceConfig` in responses. */ -export const infra_TcpServiceConfig_output: JsonSchema = { +export const infra_TcpServiceConfig: JsonSchema = { "allOf": [ { "$ref": "#/$defs/infra_ServiceCommon" diff --git a/src/generated/forge-mcp/workersVpc/services/tools.ts b/src/generated/forge-mcp/workersVpc/services/tools.ts index 86f272f11..094bfe4fa 100644 --- a/src/generated/forge-mcp/workersVpc/services/tools.ts +++ b/src/generated/forge-mcp/workersVpc/services/tools.ts @@ -1,33 +1,18 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - infra_api_response_collection_output, - infra_api_response_common_failure_output, - infra_api_response_common_output, - infra_api_response_single_output, - infra_messages_output, + infra_api$$response$$collection, + infra_api$$response$$common, + infra_api$$response$$common$$failure, + infra_api$$response$$single, + infra_messages, } from "../../outputs.js"; import { infra_AccountTag } from "../../schemas.js"; -import { - infra_ApiTlsSettings_output, - infra_ConnectivityServiceArray_output, - infra_DualStackHost_output, - infra_HostnameHost_output, - infra_HttpServiceConfig_output, - infra_IPv4Host_output, - infra_IPv6Host_output, - infra_Network_output, - infra_ResolverNetwork_output, - infra_ServiceCommon_output, - infra_ServiceConfig_output, - infra_ServiceHost_output, - infra_ServiceType_output, - infra_TcpServiceConfig_output, -} from "./outputs.js"; import { infra_ApiTlsSettings, + infra_ConnectivityServiceArray, infra_DualStackHost, infra_HostnameHost, infra_HttpServiceConfig, @@ -40,46 +25,69 @@ import { infra_ServiceHost, infra_ServiceType, infra_TcpServiceConfig, +} from "./outputs.js"; +import { + infra_ApiTlsSettings as infra_ApiTlsSettings$, + infra_DualStackHost as infra_DualStackHost$, + infra_HostnameHost as infra_HostnameHost$, + infra_HttpServiceConfig as infra_HttpServiceConfig$, + infra_IPv4Host as infra_IPv4Host$, + infra_IPv6Host as infra_IPv6Host$, + infra_Network as infra_Network$, + infra_ResolverNetwork as infra_ResolverNetwork$, + infra_ServiceCommon as infra_ServiceCommon$, + infra_ServiceConfig as infra_ServiceConfig$, + infra_ServiceHost as infra_ServiceHost$, + infra_ServiceType as infra_ServiceType$, + infra_TcpServiceConfig as infra_TcpServiceConfig$, } from "./schemas.js"; /** - * The tools of `workers_vpc.services`. + * The tools of `workersVpc.services`. */ export const tools: readonly Tool[] = [ { - name: "workers_vpc_services_create", + name: "workersVpc_services_create", title: "Create Workers VPC connectivity service", description: "Creates a new Workers VPC connectivity service in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, "body": { "$ref": "#/$defs/infra_ServiceConfig" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "infra_AccountTag": infra_AccountTag, - "infra_ApiTlsSettings": infra_ApiTlsSettings, - "infra_DualStackHost": infra_DualStackHost, - "infra_HostnameHost": infra_HostnameHost, - "infra_HttpServiceConfig": infra_HttpServiceConfig, - "infra_IPv4Host": infra_IPv4Host, - "infra_IPv6Host": infra_IPv6Host, - "infra_Network": infra_Network, - "infra_ResolverNetwork": infra_ResolverNetwork, - "infra_ServiceCommon": infra_ServiceCommon, - "infra_ServiceConfig": infra_ServiceConfig, - "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, - "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_ApiTlsSettings": infra_ApiTlsSettings$, + "infra_DualStackHost": infra_DualStackHost$, + "infra_HostnameHost": infra_HostnameHost$, + "infra_HttpServiceConfig": infra_HttpServiceConfig$, + "infra_IPv4Host": infra_IPv4Host$, + "infra_IPv6Host": infra_IPv6Host$, + "infra_Network": infra_Network$, + "infra_ResolverNetwork": infra_ResolverNetwork$, + "infra_ServiceCommon": infra_ServiceCommon$, + "infra_ServiceConfig": infra_ServiceConfig$, + "infra_ServiceHost": infra_ServiceHost$, + "infra_ServiceType": infra_ServiceType$, + "infra_TcpServiceConfig": infra_TcpServiceConfig$, }, }, outputSchema: { @@ -97,21 +105,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_ApiTlsSettings": infra_ApiTlsSettings_output, - "infra_DualStackHost": infra_DualStackHost_output, - "infra_HostnameHost": infra_HostnameHost_output, - "infra_HttpServiceConfig": infra_HttpServiceConfig_output, - "infra_IPv4Host": infra_IPv4Host_output, - "infra_IPv6Host": infra_IPv6Host_output, - "infra_Network": infra_Network_output, - "infra_ResolverNetwork": infra_ResolverNetwork_output, - "infra_ServiceCommon": infra_ServiceCommon_output, - "infra_ServiceConfig": infra_ServiceConfig_output, - "infra_ServiceHost": infra_ServiceHost_output, - "infra_ServiceType": infra_ServiceType_output, - "infra_TcpServiceConfig": infra_TcpServiceConfig_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_ApiTlsSettings": infra_ApiTlsSettings, + "infra_DualStackHost": infra_DualStackHost, + "infra_HostnameHost": infra_HostnameHost, + "infra_HttpServiceConfig": infra_HttpServiceConfig, + "infra_IPv4Host": infra_IPv4Host, + "infra_IPv6Host": infra_IPv6Host, + "infra_Network": infra_Network, + "infra_ResolverNetwork": infra_ResolverNetwork, + "infra_ServiceCommon": infra_ServiceCommon, + "infra_ServiceConfig": infra_ServiceConfig, + "infra_ServiceHost": infra_ServiceHost, + "infra_ServiceType": infra_ServiceType, + "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, annotations: { @@ -145,22 +153,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_ApiTlsSettings": infra_ApiTlsSettings_output, - "infra_DualStackHost": infra_DualStackHost_output, - "infra_HostnameHost": infra_HostnameHost_output, - "infra_HttpServiceConfig": infra_HttpServiceConfig_output, - "infra_IPv4Host": infra_IPv4Host_output, - "infra_IPv6Host": infra_IPv6Host_output, - "infra_Network": infra_Network_output, - "infra_ResolverNetwork": infra_ResolverNetwork_output, - "infra_ServiceCommon": infra_ServiceCommon_output, - "infra_ServiceConfig": infra_ServiceConfig_output, - "infra_ServiceHost": infra_ServiceHost_output, - "infra_ServiceType": infra_ServiceType_output, - "infra_TcpServiceConfig": infra_TcpServiceConfig_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_ApiTlsSettings": infra_ApiTlsSettings, + "infra_DualStackHost": infra_DualStackHost, + "infra_HostnameHost": infra_HostnameHost, + "infra_HttpServiceConfig": infra_HttpServiceConfig, + "infra_IPv4Host": infra_IPv4Host, + "infra_IPv6Host": infra_IPv6Host, + "infra_Network": infra_Network, + "infra_ResolverNetwork": infra_ResolverNetwork, + "infra_ServiceCommon": infra_ServiceCommon, + "infra_ServiceConfig": infra_ServiceConfig, + "infra_ServiceHost": infra_ServiceHost, + "infra_ServiceType": infra_ServiceType, + "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, request: (args) => ({ @@ -169,23 +177,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_vpc_services_delete", + name: "workersVpc_services_delete", title: "Delete Workers VPC connectivity service", description: "Removes a single Workers VPC connectivity service by its ID. Any Worker\nbindings referencing this service will stop working.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes a Workers VPC connectivity service.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "service_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "service_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "service_id" + ], + "type": "object" } }, required: [ - "account_id", - "service_id" + "path" ], }, annotations: { @@ -205,8 +221,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_messages": infra_messages_output, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_messages": infra_messages, }, }, request: (args) => ({ @@ -214,23 +230,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_vpc_services_get", + name: "workersVpc_services_get", title: "Get Workers VPC connectivity service", description: "Fetches a single Workers VPC connectivity service by its ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "service_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "service_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "service_id" + ], + "type": "object" } }, required: [ - "account_id", - "service_id" + "path" ], }, outputSchema: { @@ -248,21 +272,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_ApiTlsSettings": infra_ApiTlsSettings_output, - "infra_DualStackHost": infra_DualStackHost_output, - "infra_HostnameHost": infra_HostnameHost_output, - "infra_HttpServiceConfig": infra_HttpServiceConfig_output, - "infra_IPv4Host": infra_IPv4Host_output, - "infra_IPv6Host": infra_IPv6Host_output, - "infra_Network": infra_Network_output, - "infra_ResolverNetwork": infra_ResolverNetwork_output, - "infra_ServiceCommon": infra_ServiceCommon_output, - "infra_ServiceConfig": infra_ServiceConfig_output, - "infra_ServiceHost": infra_ServiceHost_output, - "infra_ServiceType": infra_ServiceType_output, - "infra_TcpServiceConfig": infra_TcpServiceConfig_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_ApiTlsSettings": infra_ApiTlsSettings, + "infra_DualStackHost": infra_DualStackHost, + "infra_HostnameHost": infra_HostnameHost, + "infra_HttpServiceConfig": infra_HttpServiceConfig, + "infra_IPv4Host": infra_IPv4Host, + "infra_IPv6Host": infra_IPv6Host, + "infra_Network": infra_Network, + "infra_ResolverNetwork": infra_ResolverNetwork, + "infra_ServiceCommon": infra_ServiceCommon, + "infra_ServiceConfig": infra_ServiceConfig, + "infra_ServiceHost": infra_ServiceHost, + "infra_ServiceType": infra_ServiceType, + "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, annotations: { @@ -296,22 +320,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_ApiTlsSettings": infra_ApiTlsSettings_output, - "infra_DualStackHost": infra_DualStackHost_output, - "infra_HostnameHost": infra_HostnameHost_output, - "infra_HttpServiceConfig": infra_HttpServiceConfig_output, - "infra_IPv4Host": infra_IPv4Host_output, - "infra_IPv6Host": infra_IPv6Host_output, - "infra_Network": infra_Network_output, - "infra_ResolverNetwork": infra_ResolverNetwork_output, - "infra_ServiceCommon": infra_ServiceCommon_output, - "infra_ServiceConfig": infra_ServiceConfig_output, - "infra_ServiceHost": infra_ServiceHost_output, - "infra_ServiceType": infra_ServiceType_output, - "infra_TcpServiceConfig": infra_TcpServiceConfig_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_ApiTlsSettings": infra_ApiTlsSettings, + "infra_DualStackHost": infra_DualStackHost, + "infra_HostnameHost": infra_HostnameHost, + "infra_HttpServiceConfig": infra_HttpServiceConfig, + "infra_IPv4Host": infra_IPv4Host, + "infra_IPv6Host": infra_IPv6Host, + "infra_Network": infra_Network, + "infra_ResolverNetwork": infra_ResolverNetwork, + "infra_ServiceCommon": infra_ServiceCommon, + "infra_ServiceConfig": infra_ServiceConfig, + "infra_ServiceHost": infra_ServiceHost, + "infra_ServiceType": infra_ServiceType, + "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, request: (args) => ({ @@ -319,43 +343,56 @@ export const tools: readonly Tool[] = [ }), }, { - name: "workers_vpc_services_list", + name: "workersVpc_services_list", title: "List Workers VPC connectivity services", description: "Lists the Workers VPC connectivity services in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, - "page": { - "default": 1, - "description": "Current page in the response", - "type": "integer" - }, - "per_page": { - "default": 1000, - "description": "Max amount of entries returned per page", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "type": { - "oneOf": [ - { - "$ref": "#/$defs/infra_ServiceType" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Current page in the response", + "type": "integer" }, - { - "type": "null" + "per_page": { + "default": 1000, + "description": "Max amount of entries returned per page", + "type": "integer" + }, + "type": { + "oneOf": [ + { + "$ref": "#/$defs/infra_ServiceType" + }, + { + "type": "null" + } + ] } - ] + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "infra_AccountTag": infra_AccountTag, - "infra_ServiceType": infra_ServiceType, + "infra_ServiceType": infra_ServiceType$, }, }, outputSchema: { @@ -373,23 +410,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_ApiTlsSettings": infra_ApiTlsSettings_output, - "infra_ConnectivityServiceArray": infra_ConnectivityServiceArray_output, - "infra_DualStackHost": infra_DualStackHost_output, - "infra_HostnameHost": infra_HostnameHost_output, - "infra_HttpServiceConfig": infra_HttpServiceConfig_output, - "infra_IPv4Host": infra_IPv4Host_output, - "infra_IPv6Host": infra_IPv6Host_output, - "infra_Network": infra_Network_output, - "infra_ResolverNetwork": infra_ResolverNetwork_output, - "infra_ServiceCommon": infra_ServiceCommon_output, - "infra_ServiceConfig": infra_ServiceConfig_output, - "infra_ServiceHost": infra_ServiceHost_output, - "infra_ServiceType": infra_ServiceType_output, - "infra_TcpServiceConfig": infra_TcpServiceConfig_output, - "infra_api-response-collection": infra_api_response_collection_output, - "infra_api-response-common": infra_api_response_common_output, - "infra_messages": infra_messages_output, + "infra_ApiTlsSettings": infra_ApiTlsSettings, + "infra_ConnectivityServiceArray": infra_ConnectivityServiceArray, + "infra_DualStackHost": infra_DualStackHost, + "infra_HostnameHost": infra_HostnameHost, + "infra_HttpServiceConfig": infra_HttpServiceConfig, + "infra_IPv4Host": infra_IPv4Host, + "infra_IPv6Host": infra_IPv6Host, + "infra_Network": infra_Network, + "infra_ResolverNetwork": infra_ResolverNetwork, + "infra_ServiceCommon": infra_ServiceCommon, + "infra_ServiceConfig": infra_ServiceConfig, + "infra_ServiceHost": infra_ServiceHost, + "infra_ServiceType": infra_ServiceType, + "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_api-response-collection": infra_api$$response$$collection, + "infra_api-response-common": infra_api$$response$$common, + "infra_messages": infra_messages, }, }, annotations: { @@ -423,72 +460,80 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_ApiTlsSettings": infra_ApiTlsSettings_output, - "infra_ConnectivityServiceArray": infra_ConnectivityServiceArray_output, - "infra_DualStackHost": infra_DualStackHost_output, - "infra_HostnameHost": infra_HostnameHost_output, - "infra_HttpServiceConfig": infra_HttpServiceConfig_output, - "infra_IPv4Host": infra_IPv4Host_output, - "infra_IPv6Host": infra_IPv6Host_output, - "infra_Network": infra_Network_output, - "infra_ResolverNetwork": infra_ResolverNetwork_output, - "infra_ServiceCommon": infra_ServiceCommon_output, - "infra_ServiceConfig": infra_ServiceConfig_output, - "infra_ServiceHost": infra_ServiceHost_output, - "infra_ServiceType": infra_ServiceType_output, - "infra_TcpServiceConfig": infra_TcpServiceConfig_output, - "infra_api-response-collection": infra_api_response_collection_output, - "infra_api-response-common": infra_api_response_common_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_messages": infra_messages_output, + "infra_ApiTlsSettings": infra_ApiTlsSettings, + "infra_ConnectivityServiceArray": infra_ConnectivityServiceArray, + "infra_DualStackHost": infra_DualStackHost, + "infra_HostnameHost": infra_HostnameHost, + "infra_HttpServiceConfig": infra_HttpServiceConfig, + "infra_IPv4Host": infra_IPv4Host, + "infra_IPv6Host": infra_IPv6Host, + "infra_Network": infra_Network, + "infra_ResolverNetwork": infra_ResolverNetwork, + "infra_ServiceCommon": infra_ServiceCommon, + "infra_ServiceConfig": infra_ServiceConfig, + "infra_ServiceHost": infra_ServiceHost, + "infra_ServiceType": infra_ServiceType, + "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_api-response-collection": infra_api$$response$$collection, + "infra_api-response-common": infra_api$$response$$common, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_messages": infra_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/connectivity/directory/services`, query: [ - ["type", args["type"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["type", param(args, "query", "type"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "workers_vpc_services_update", + name: "workersVpc_services_update", title: "Update Workers VPC connectivity service", description: "Updates an existing Workers VPC connectivity service by its ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/infra_ServiceConfig" }, - "service_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "service_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "service_id" + ], + "type": "object" } }, required: [ - "account_id", - "service_id", + "path", "body" ], $defs: { - "infra_ApiTlsSettings": infra_ApiTlsSettings, - "infra_DualStackHost": infra_DualStackHost, - "infra_HostnameHost": infra_HostnameHost, - "infra_HttpServiceConfig": infra_HttpServiceConfig, - "infra_IPv4Host": infra_IPv4Host, - "infra_IPv6Host": infra_IPv6Host, - "infra_Network": infra_Network, - "infra_ResolverNetwork": infra_ResolverNetwork, - "infra_ServiceCommon": infra_ServiceCommon, - "infra_ServiceConfig": infra_ServiceConfig, - "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, - "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_ApiTlsSettings": infra_ApiTlsSettings$, + "infra_DualStackHost": infra_DualStackHost$, + "infra_HostnameHost": infra_HostnameHost$, + "infra_HttpServiceConfig": infra_HttpServiceConfig$, + "infra_IPv4Host": infra_IPv4Host$, + "infra_IPv6Host": infra_IPv6Host$, + "infra_Network": infra_Network$, + "infra_ResolverNetwork": infra_ResolverNetwork$, + "infra_ServiceCommon": infra_ServiceCommon$, + "infra_ServiceConfig": infra_ServiceConfig$, + "infra_ServiceHost": infra_ServiceHost$, + "infra_ServiceType": infra_ServiceType$, + "infra_TcpServiceConfig": infra_TcpServiceConfig$, }, }, outputSchema: { @@ -506,21 +551,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_ApiTlsSettings": infra_ApiTlsSettings_output, - "infra_DualStackHost": infra_DualStackHost_output, - "infra_HostnameHost": infra_HostnameHost_output, - "infra_HttpServiceConfig": infra_HttpServiceConfig_output, - "infra_IPv4Host": infra_IPv4Host_output, - "infra_IPv6Host": infra_IPv6Host_output, - "infra_Network": infra_Network_output, - "infra_ResolverNetwork": infra_ResolverNetwork_output, - "infra_ServiceCommon": infra_ServiceCommon_output, - "infra_ServiceConfig": infra_ServiceConfig_output, - "infra_ServiceHost": infra_ServiceHost_output, - "infra_ServiceType": infra_ServiceType_output, - "infra_TcpServiceConfig": infra_TcpServiceConfig_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_ApiTlsSettings": infra_ApiTlsSettings, + "infra_DualStackHost": infra_DualStackHost, + "infra_HostnameHost": infra_HostnameHost, + "infra_HttpServiceConfig": infra_HttpServiceConfig, + "infra_IPv4Host": infra_IPv4Host, + "infra_IPv6Host": infra_IPv6Host, + "infra_Network": infra_Network, + "infra_ResolverNetwork": infra_ResolverNetwork, + "infra_ServiceCommon": infra_ServiceCommon, + "infra_ServiceConfig": infra_ServiceConfig, + "infra_ServiceHost": infra_ServiceHost, + "infra_ServiceType": infra_ServiceType, + "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, annotations: { @@ -554,22 +599,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_ApiTlsSettings": infra_ApiTlsSettings_output, - "infra_DualStackHost": infra_DualStackHost_output, - "infra_HostnameHost": infra_HostnameHost_output, - "infra_HttpServiceConfig": infra_HttpServiceConfig_output, - "infra_IPv4Host": infra_IPv4Host_output, - "infra_IPv6Host": infra_IPv6Host_output, - "infra_Network": infra_Network_output, - "infra_ResolverNetwork": infra_ResolverNetwork_output, - "infra_ServiceCommon": infra_ServiceCommon_output, - "infra_ServiceConfig": infra_ServiceConfig_output, - "infra_ServiceHost": infra_ServiceHost_output, - "infra_ServiceType": infra_ServiceType_output, - "infra_TcpServiceConfig": infra_TcpServiceConfig_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_ApiTlsSettings": infra_ApiTlsSettings, + "infra_DualStackHost": infra_DualStackHost, + "infra_HostnameHost": infra_HostnameHost, + "infra_HttpServiceConfig": infra_HttpServiceConfig, + "infra_IPv4Host": infra_IPv4Host, + "infra_IPv6Host": infra_IPv6Host, + "infra_Network": infra_Network, + "infra_ResolverNetwork": infra_ResolverNetwork, + "infra_ServiceCommon": infra_ServiceCommon, + "infra_ServiceConfig": infra_ServiceConfig, + "infra_ServiceHost": infra_ServiceHost, + "infra_ServiceType": infra_ServiceType, + "infra_TcpServiceConfig": infra_TcpServiceConfig, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workflows/concurrency/tools.ts b/src/generated/forge-mcp/workflows/concurrency/tools.ts index f4f34238c..a0958c2b0 100644 --- a/src/generated/forge-mcp/workflows/concurrency/tools.ts +++ b/src/generated/forge-mcp/workflows/concurrency/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `workflows.concurrency`. @@ -14,9 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "limit": { @@ -33,10 +30,21 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -428,18 +436,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "key_id": { - "description": "Identifier of the concurrency key.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "key_id": { + "description": "Identifier of the concurrency key.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "key_id" + ], + "type": "object" } }, required: [ - "account_id", - "key_id" + "path" ], }, outputSchema: { @@ -873,9 +889,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "limit": { @@ -888,15 +901,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "key_id": { - "description": "Identifier of the concurrency key.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "key_id": { + "description": "Identifier of the concurrency key.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "key_id" + ], + "type": "object" } }, required: [ - "account_id", - "key_id", + "path", "body" ], }, @@ -1288,18 +1312,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "key_id": { - "description": "Identifier of the concurrency key.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "key_id": { + "description": "Identifier of the concurrency key.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "key_id" + ], + "type": "object" } }, required: [ - "account_id", - "key_id" + "path" ], }, outputSchema: { @@ -1731,20 +1763,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "type": "number" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 10, - "type": "number" + "query": { + "properties": { + "page": { + "default": 1, + "type": "number" + }, + "per_page": { + "default": 10, + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -2090,8 +2135,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/concurrency`, query: [ - ["per_page", args["per_page"], true], - ["page", args["page"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], ], }), }, diff --git a/src/generated/forge-mcp/workflows/instances/batch/tools.ts b/src/generated/forge-mcp/workflows/instances/batch/tools.ts index 197c12f91..3eeac11f4 100644 --- a/src/generated/forge-mcp/workflows/instances/batch/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/batch/tools.ts @@ -14,9 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "items": { "properties": { @@ -78,13 +75,24 @@ export const tools: readonly Tool[] = [ "minItems": 1, "type": "array" }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", + "path", "body" ], }, diff --git a/src/generated/forge-mcp/workflows/instances/events/tools.ts b/src/generated/forge-mcp/workflows/instances/events/tools.ts index 6955bae40..d8cd22901 100644 --- a/src/generated/forge-mcp/workflows/instances/events/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/events/tools.ts @@ -14,28 +14,36 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "type": "object" }, - "event_type": { - "type": "string" - }, - "instance_id": { - "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "event_type": { + "type": "string" + }, + "instance_id": { + "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "instance_id", + "event_type" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "instance_id", - "event_type", + "path", "body" ], }, diff --git a/src/generated/forge-mcp/workflows/instances/step/tools.ts b/src/generated/forge-mcp/workflows/instances/step/tools.ts index 9b6e43c56..7df47b3f8 100644 --- a/src/generated/forge-mcp/workflows/instances/step/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/step/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; /** * The tools of `workflows.instances.step`. @@ -14,39 +14,55 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "attempt": { - "description": "Specific attempt number to retrieve output or error for.", - "type": "integer" - }, - "instance_id": { - "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", - "type": "string" - }, - "name": { - "description": "Exact step name from the instance logs response, including the generated counter suffix.", - "type": "string" - }, - "type": { - "description": "Step type to disambiguate step.do and waitForEvent entries that share the same name.", - "enum": [ - "step", - "waitForEvent" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "instance_id": { + "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "instance_id" ], - "type": "string" + "type": "object" }, - "workflow_name": { - "type": "string" + "query": { + "properties": { + "attempt": { + "description": "Specific attempt number to retrieve output or error for.", + "type": "integer" + }, + "name": { + "description": "Exact step name from the instance logs response, including the generated counter suffix.", + "type": "string" + }, + "type": { + "description": "Step type to disambiguate step.do and waitForEvent entries that share the same name.", + "enum": [ + "step", + "waitForEvent" + ], + "type": "string" + } + }, + "required": [ + "name", + "type" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "instance_id", - "name", - "type" + "path", + "query" ], }, outputSchema: { @@ -526,9 +542,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}/step`, query: [ - ["name", args["name"], true], - ["type", args["type"], true], - ["attempt", args["attempt"], true], + ["name", param(args, "query", "name"), true], + ["type", param(args, "query", "type"), true], + ["attempt", param(args, "query", "attempt"), true], ], }), }, diff --git a/src/generated/forge-mcp/workflows/instances/tools.ts b/src/generated/forge-mcp/workflows/instances/tools.ts index 3e71c616f..b698be829 100644 --- a/src/generated/forge-mcp/workflows/instances/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `workflows.instances`. @@ -14,9 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "instance_id": { @@ -73,13 +70,24 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", + "path", "body" ], }, @@ -476,21 +484,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "instance_id": { + "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "instance_id" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "instance_id" + "path" ], }, outputSchema: { @@ -774,39 +790,52 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "instance_id": { - "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", - "type": "string" - }, - "order": { - "default": "asc", - "description": "Step ordering: \"asc\" (default, oldest first) or \"desc\" (newest first).", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "simple": { - "default": "false", - "description": "When true, omits step details and returns only metadata with step_count.", - "enum": [ - "true", - "false" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "instance_id": { + "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "instance_id" ], - "type": "string" + "type": "object" }, - "workflow_name": { - "type": "string" + "query": { + "properties": { + "order": { + "default": "asc", + "description": "Step ordering: \"asc\" (default, oldest first) or \"desc\" (newest first).", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "simple": { + "default": "false", + "description": "When true, omits step details and returns only metadata with step_count.", + "enum": [ + "true", + "false" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "instance_id" + "path" ], }, outputSchema: { @@ -2126,8 +2155,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances/${pathParam(args, "instance_id")}`, query: [ - ["simple", args["simple"], true], - ["order", args["order"], true], + ["simple", param(args, "query", "simple"), true], + ["order", param(args, "query", "order"), true], ], }), }, @@ -2138,60 +2167,73 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "cursor": { - "description": "Opaque token for cursor-based pagination. Mutually exclusive with `page`.", - "type": "string" - }, - "direction": { - "description": "Defines the direction for cursor-based pagination.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "end": { - "description": "Accepts ISO 8601 with no timezone offsets and in UTC.", - "format": "date-time", - "type": "string" - }, - "page": { - "description": "Deprecated: use `cursor` for pagination instead.", - "type": "number" - }, - "per_page": { - "default": 50, - "type": "number" - }, - "start": { - "description": "Accepts ISO 8601 with no timezone offsets and in UTC.", - "format": "date-time", - "type": "string" - }, - "status": { - "enum": [ - "queued", - "running", - "paused", - "errored", - "terminated", - "complete", - "waitingForPause", - "waiting", - "rollingBack" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name" ], - "type": "string" + "type": "object" }, - "workflow_name": { - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Opaque token for cursor-based pagination. Mutually exclusive with `page`.", + "type": "string" + }, + "date_end": { + "description": "Accepts ISO 8601 with no timezone offsets and in UTC.", + "format": "date-time", + "type": "string" + }, + "date_start": { + "description": "Accepts ISO 8601 with no timezone offsets and in UTC.", + "format": "date-time", + "type": "string" + }, + "direction": { + "description": "Defines the direction for cursor-based pagination.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "page": { + "description": "Deprecated: use `cursor` for pagination instead.", + "type": "number" + }, + "per_page": { + "default": 50, + "type": "number" + }, + "status": { + "enum": [ + "queued", + "running", + "paused", + "errored", + "terminated", + "complete", + "waitingForPause", + "waiting", + "rollingBack" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "workflow_name" + "path" ], }, outputSchema: { @@ -2647,13 +2689,13 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/instances`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["cursor", args["cursor"], true], - ["direction", args["direction"], true], - ["status", args["status"], true], - ["date_start", args["start"], true], - ["date_end", args["end"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["cursor", param(args, "query", "cursor"), true], + ["direction", param(args, "query", "direction"), true], + ["status", param(args, "query", "status"), true], + ["date_start", param(args, "query", "date_start"), true], + ["date_end", param(args, "query", "date_end"), true], ], }), }, @@ -2664,9 +2706,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "oneOf": [ { @@ -2754,18 +2793,29 @@ export const tools: readonly Tool[] = [ } ] }, - "instance_id": { - "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "instance_id": { + "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "instance_id" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "instance_id", + "path", "body" ], }, @@ -3158,9 +3208,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "oneOf": [ { @@ -3248,18 +3295,29 @@ export const tools: readonly Tool[] = [ } ] }, - "instance_id": { - "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "instance_id": { + "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "instance_id" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "instance_id", + "path", "body" ], }, @@ -3649,9 +3707,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "oneOf": [ { @@ -3739,18 +3794,29 @@ export const tools: readonly Tool[] = [ } ] }, - "instance_id": { - "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "instance_id": { + "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "instance_id" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "instance_id", + "path", "body" ], }, @@ -4143,9 +4209,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "oneOf": [ { @@ -4233,18 +4296,29 @@ export const tools: readonly Tool[] = [ } ] }, - "instance_id": { - "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "instance_id": { + "description": "Instance identifier. User-created instances match `^[a-zA-Z0-9_][a-zA-Z0-9-_]*$` (max 100 characters); cron-triggered instances can use a longer, system-generated id derived from the cron expression.", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "instance_id" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "instance_id", + "path", "body" ], }, diff --git a/src/generated/forge-mcp/workflows/settings/tools.ts b/src/generated/forge-mcp/workflows/settings/tools.ts index 4c5158f22..66e8c2e4b 100644 --- a/src/generated/forge-mcp/workflows/settings/tools.ts +++ b/src/generated/forge-mcp/workflows/settings/tools.ts @@ -14,9 +14,6 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "properties": { "default_retention": { @@ -49,10 +46,21 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], }, @@ -338,12 +346,20 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { diff --git a/src/generated/forge-mcp/workflows/tools.ts b/src/generated/forge-mcp/workflows/tools.ts index d6fa6aa74..d8f2170c0 100644 --- a/src/generated/forge-mcp/workflows/tools.ts +++ b/src/generated/forge-mcp/workflows/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; /** * The tools of `workflows`. @@ -14,16 +14,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name" + "path" ], }, outputSchema: { @@ -369,16 +377,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name" + "path" ], }, outputSchema: { @@ -854,24 +870,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "type": "number" - }, - "per_page": { - "default": 10, - "type": "number" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "description": "Allows filtering workflows` name.", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "type": "number" + }, + "per_page": { + "default": 10, + "type": "number" + }, + "search": { + "description": "Allows filtering workflows` name.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -1301,9 +1330,9 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows`, query: [ - ["per_page", args["per_page"], true], - ["page", args["page"], true], - ["search", args["search"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], + ["search", param(args, "query", "search"), true], ], }), }, diff --git a/src/generated/forge-mcp/workflows/versions/tools.ts b/src/generated/forge-mcp/workflows/versions/tools.ts index 5a4dd6442..04a21b674 100644 --- a/src/generated/forge-mcp/workflows/versions/tools.ts +++ b/src/generated/forge-mcp/workflows/versions/tools.ts @@ -1,7 +1,7 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; /** * The tools of `workflows.versions`. @@ -14,21 +14,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "version_id": { - "format": "uuid", - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "version_id": { + "format": "uuid", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "version_id" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "version_id" + "path" ], }, outputSchema: { @@ -466,21 +474,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "version_id": { - "format": "uuid", - "type": "string" - }, - "workflow_name": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "version_id": { + "format": "uuid", + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name", + "version_id" + ], + "type": "object" } }, required: [ - "account_id", - "workflow_name", - "version_id" + "path" ], }, outputSchema: { @@ -2342,24 +2358,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "type": "number" - }, - "per_page": { - "default": 50, - "type": "number" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "workflow_name": { + "type": "string" + } + }, + "required": [ + "account_id", + "workflow_name" + ], + "type": "object" }, - "workflow_name": { - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "type": "number" + }, + "per_page": { + "default": 50, + "type": "number" + } + }, + "type": "object" } }, required: [ - "account_id", - "workflow_name" + "path" ], }, outputSchema: { @@ -2751,8 +2780,8 @@ export const tools: readonly Tool[] = [ request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/workflows/${pathParam(args, "workflow_name")}/versions`, query: [ - ["per_page", args["per_page"], true], - ["page", args["page"], true], + ["per_page", param(args, "query", "per_page"), true], + ["page", param(args, "query", "page"), true], ], }), }, diff --git a/src/generated/forge-mcp/zaraz/config/schemas.ts b/src/generated/forge-mcp/zaraz/config/schemas.ts index 9e742b84c..10d43a101 100644 --- a/src/generated/forge-mcp/zaraz/config/schemas.ts +++ b/src/generated/forge-mcp/zaraz/config/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zaraz_zaraz-config-body`. */ -export const zaraz_zaraz_config_body: JsonSchema = { +export const zaraz_zaraz$$config$$body: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_zaraz-config-base" diff --git a/src/generated/forge-mcp/zaraz/config/tools.ts b/src/generated/forge-mcp/zaraz/config/tools.ts index 6a2cf1127..6a6a41c2f 100644 --- a/src/generated/forge-mcp/zaraz/config/tools.ts +++ b/src/generated/forge-mcp/zaraz/config/tools.ts @@ -3,46 +3,46 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - zaraz_api_response_common_failure_output, - zaraz_api_response_common_output, - zaraz_base_mc_output, - zaraz_base_tool_output, - zaraz_click_listener_rule_output, - zaraz_custom_managed_component_output, - zaraz_element_visibility_rule_output, - zaraz_form_submission_rule_output, - zaraz_load_rule_output, - zaraz_managed_component_output, - zaraz_messages_output, - zaraz_scroll_depth_rule_output, - zaraz_secret_variable_output, - zaraz_string_variable_output, - zaraz_timer_rule_output, - zaraz_variable_match_rule_output, - zaraz_worker_variable_output, - zaraz_zaraz_config_base_output, - zaraz_zaraz_config_response_output, - zaraz_zaraz_config_return_output, -} from "../outputs.js"; -import { - zaraz_base_mc, - zaraz_base_tool, - zaraz_click_listener_rule, - zaraz_custom_managed_component, - zaraz_element_visibility_rule, - zaraz_form_submission_rule, - zaraz_identifier, - zaraz_load_rule, - zaraz_managed_component, - zaraz_scroll_depth_rule, + zaraz_api$$response$$common, + zaraz_api$$response$$common$$failure, + zaraz_base$$mc, + zaraz_base$$tool, + zaraz_click$$listener$$rule, + zaraz_custom$$managed$$component, + zaraz_element$$visibility$$rule, + zaraz_form$$submission$$rule, + zaraz_load$$rule, + zaraz_managed$$component, + zaraz_messages, + zaraz_scroll$$depth$$rule, zaraz_secret_variable, zaraz_string_variable, - zaraz_timer_rule, - zaraz_variable_match_rule, + zaraz_timer$$rule, + zaraz_variable$$match$$rule, zaraz_worker_variable, - zaraz_zaraz_config_base, + zaraz_zaraz$$config$$base, + zaraz_zaraz$$config$$response, + zaraz_zaraz$$config$$return, +} from "../outputs.js"; +import { + zaraz_base$$mc as zaraz_base$$mc$, + zaraz_base$$tool as zaraz_base$$tool$, + zaraz_click$$listener$$rule as zaraz_click$$listener$$rule$, + zaraz_custom$$managed$$component as zaraz_custom$$managed$$component$, + zaraz_element$$visibility$$rule as zaraz_element$$visibility$$rule$, + zaraz_form$$submission$$rule as zaraz_form$$submission$$rule$, + zaraz_identifier, + zaraz_load$$rule as zaraz_load$$rule$, + zaraz_managed$$component as zaraz_managed$$component$, + zaraz_scroll$$depth$$rule as zaraz_scroll$$depth$$rule$, + zaraz_secret_variable as zaraz_secret_variable$, + zaraz_string_variable as zaraz_string_variable$, + zaraz_timer$$rule as zaraz_timer$$rule$, + zaraz_variable$$match$$rule as zaraz_variable$$match$$rule$, + zaraz_worker_variable as zaraz_worker_variable$, + zaraz_zaraz$$config$$base as zaraz_zaraz$$config$$base$, } from "../schemas.js"; -import { zaraz_zaraz_config_body } from "./schemas.js"; +import { zaraz_zaraz$$config$$body } from "./schemas.js"; /** * The tools of `zaraz.config`. @@ -55,13 +55,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "zaraz_identifier": zaraz_identifier, @@ -70,25 +78,25 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-response", $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-response": zaraz_zaraz_config_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-response": zaraz_zaraz$$config$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, annotations: { @@ -117,26 +125,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-response": zaraz_zaraz_config_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-response": zaraz_zaraz$$config$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, request: (args) => ({ @@ -153,57 +161,65 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/zaraz_zaraz-config-body" }, - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "zaraz_base-mc": zaraz_base_mc, - "zaraz_base-tool": zaraz_base_tool, - "zaraz_click-listener-rule": zaraz_click_listener_rule, - "zaraz_custom-managed-component": zaraz_custom_managed_component, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule, - "zaraz_form-submission-rule": zaraz_form_submission_rule, + "zaraz_base-mc": zaraz_base$$mc$, + "zaraz_base-tool": zaraz_base$$tool$, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule$, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component$, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule$, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule$, "zaraz_identifier": zaraz_identifier, - "zaraz_load-rule": zaraz_load_rule, - "zaraz_managed-component": zaraz_managed_component, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule, - "zaraz_secret_variable": zaraz_secret_variable, - "zaraz_string_variable": zaraz_string_variable, - "zaraz_timer-rule": zaraz_timer_rule, - "zaraz_variable-match-rule": zaraz_variable_match_rule, - "zaraz_worker_variable": zaraz_worker_variable, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base, - "zaraz_zaraz-config-body": zaraz_zaraz_config_body, + "zaraz_load-rule": zaraz_load$$rule$, + "zaraz_managed-component": zaraz_managed$$component$, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule$, + "zaraz_secret_variable": zaraz_secret_variable$, + "zaraz_string_variable": zaraz_string_variable$, + "zaraz_timer-rule": zaraz_timer$$rule$, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule$, + "zaraz_worker_variable": zaraz_worker_variable$, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base$, + "zaraz_zaraz-config-body": zaraz_zaraz$$config$$body, }, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-response", $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-response": zaraz_zaraz_config_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-response": zaraz_zaraz$$config$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, annotations: { @@ -231,26 +247,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-response": zaraz_zaraz_config_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-response": zaraz_zaraz$$config$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zaraz/default/tools.ts b/src/generated/forge-mcp/zaraz/default/tools.ts index bca76da38..8b84d0f4f 100644 --- a/src/generated/forge-mcp/zaraz/default/tools.ts +++ b/src/generated/forge-mcp/zaraz/default/tools.ts @@ -3,26 +3,26 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - zaraz_api_response_common_failure_output, - zaraz_api_response_common_output, - zaraz_base_mc_output, - zaraz_base_tool_output, - zaraz_click_listener_rule_output, - zaraz_custom_managed_component_output, - zaraz_element_visibility_rule_output, - zaraz_form_submission_rule_output, - zaraz_load_rule_output, - zaraz_managed_component_output, - zaraz_messages_output, - zaraz_scroll_depth_rule_output, - zaraz_secret_variable_output, - zaraz_string_variable_output, - zaraz_timer_rule_output, - zaraz_variable_match_rule_output, - zaraz_worker_variable_output, - zaraz_zaraz_config_base_output, - zaraz_zaraz_config_response_output, - zaraz_zaraz_config_return_output, + zaraz_api$$response$$common, + zaraz_api$$response$$common$$failure, + zaraz_base$$mc, + zaraz_base$$tool, + zaraz_click$$listener$$rule, + zaraz_custom$$managed$$component, + zaraz_element$$visibility$$rule, + zaraz_form$$submission$$rule, + zaraz_load$$rule, + zaraz_managed$$component, + zaraz_messages, + zaraz_scroll$$depth$$rule, + zaraz_secret_variable, + zaraz_string_variable, + zaraz_timer$$rule, + zaraz_variable$$match$$rule, + zaraz_worker_variable, + zaraz_zaraz$$config$$base, + zaraz_zaraz$$config$$response, + zaraz_zaraz$$config$$return, } from "../outputs.js"; import { zaraz_identifier } from "../schemas.js"; @@ -37,13 +37,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "zaraz_identifier": zaraz_identifier, @@ -52,25 +60,25 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-response", $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-response": zaraz_zaraz_config_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-response": zaraz_zaraz$$config$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, annotations: { @@ -99,26 +107,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-response": zaraz_zaraz_config_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-response": zaraz_zaraz$$config$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zaraz/export/tools.ts b/src/generated/forge-mcp/zaraz/export/tools.ts index d08060269..0f65479d4 100644 --- a/src/generated/forge-mcp/zaraz/export/tools.ts +++ b/src/generated/forge-mcp/zaraz/export/tools.ts @@ -3,24 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - zaraz_api_response_common_failure_output, - zaraz_base_mc_output, - zaraz_base_tool_output, - zaraz_click_listener_rule_output, - zaraz_custom_managed_component_output, - zaraz_element_visibility_rule_output, - zaraz_form_submission_rule_output, - zaraz_load_rule_output, - zaraz_managed_component_output, - zaraz_messages_output, - zaraz_scroll_depth_rule_output, - zaraz_secret_variable_output, - zaraz_string_variable_output, - zaraz_timer_rule_output, - zaraz_variable_match_rule_output, - zaraz_worker_variable_output, - zaraz_zaraz_config_base_output, - zaraz_zaraz_config_return_output, + zaraz_api$$response$$common$$failure, + zaraz_base$$mc, + zaraz_base$$tool, + zaraz_click$$listener$$rule, + zaraz_custom$$managed$$component, + zaraz_element$$visibility$$rule, + zaraz_form$$submission$$rule, + zaraz_load$$rule, + zaraz_managed$$component, + zaraz_messages, + zaraz_scroll$$depth$$rule, + zaraz_secret_variable, + zaraz_string_variable, + zaraz_timer$$rule, + zaraz_variable$$match$$rule, + zaraz_worker_variable, + zaraz_zaraz$$config$$base, + zaraz_zaraz$$config$$return, } from "../outputs.js"; import { zaraz_identifier } from "../schemas.js"; @@ -35,13 +35,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "zaraz_identifier": zaraz_identifier, @@ -50,22 +58,22 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-return", $defs: { - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, annotations: { @@ -94,24 +102,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zaraz/history/configs/outputs.ts b/src/generated/forge-mcp/zaraz/history/configs/outputs.ts index 68b6d573d..d65c0dac2 100644 --- a/src/generated/forge-mcp/zaraz/history/configs/outputs.ts +++ b/src/generated/forge-mcp/zaraz/history/configs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zaraz_zaraz-config-history-response` in responses. */ -export const zaraz_zaraz_config_history_response_output: JsonSchema = { +export const zaraz_zaraz$$config$$history$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_api-response-common" diff --git a/src/generated/forge-mcp/zaraz/history/configs/tools.ts b/src/generated/forge-mcp/zaraz/history/configs/tools.ts index 056ec1bdb..8320db13b 100644 --- a/src/generated/forge-mcp/zaraz/history/configs/tools.ts +++ b/src/generated/forge-mcp/zaraz/history/configs/tools.ts @@ -1,31 +1,31 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - zaraz_api_response_common_failure_output, - zaraz_api_response_common_output, - zaraz_base_mc_output, - zaraz_base_tool_output, - zaraz_click_listener_rule_output, - zaraz_custom_managed_component_output, - zaraz_element_visibility_rule_output, - zaraz_form_submission_rule_output, - zaraz_load_rule_output, - zaraz_managed_component_output, - zaraz_messages_output, - zaraz_scroll_depth_rule_output, - zaraz_secret_variable_output, - zaraz_string_variable_output, - zaraz_timer_rule_output, - zaraz_variable_match_rule_output, - zaraz_worker_variable_output, - zaraz_zaraz_config_base_output, - zaraz_zaraz_config_return_output, + zaraz_api$$response$$common, + zaraz_api$$response$$common$$failure, + zaraz_base$$mc, + zaraz_base$$tool, + zaraz_click$$listener$$rule, + zaraz_custom$$managed$$component, + zaraz_element$$visibility$$rule, + zaraz_form$$submission$$rule, + zaraz_load$$rule, + zaraz_managed$$component, + zaraz_messages, + zaraz_scroll$$depth$$rule, + zaraz_secret_variable, + zaraz_string_variable, + zaraz_timer$$rule, + zaraz_variable$$match$$rule, + zaraz_worker_variable, + zaraz_zaraz$$config$$base, + zaraz_zaraz$$config$$return, } from "../../outputs.js"; import { zaraz_identifier } from "../../schemas.js"; -import { zaraz_zaraz_config_row_base_output } from "../outputs.js"; -import { zaraz_zaraz_config_history_response_output } from "./outputs.js"; +import { zaraz_zaraz$$config$$row$$base } from "../outputs.js"; +import { zaraz_zaraz$$config$$history$$response } from "./outputs.js"; /** * The tools of `zaraz.history.configs`. @@ -38,21 +38,37 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "ids": { - "description": "Comma separated list of Zaraz configuration IDs.", - "items": { - "type": "integer" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } }, - "type": "array" + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "query": { + "properties": { + "ids": { + "description": "Comma separated list of Zaraz configuration IDs.", + "items": { + "type": "integer" + }, + "type": "array" + } + }, + "required": [ + "ids" + ], + "type": "object" } }, required: [ - "zone_id", - "ids" + "path", + "query" ], $defs: { "zaraz_identifier": zaraz_identifier, @@ -61,26 +77,26 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-history-response", $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-history-response": zaraz_zaraz_config_history_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, - "zaraz_zaraz-config-row-base": zaraz_zaraz_config_row_base_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-history-response": zaraz_zaraz$$config$$history$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, + "zaraz_zaraz-config-row-base": zaraz_zaraz$$config$$row$$base, }, }, annotations: { @@ -109,33 +125,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-history-response": zaraz_zaraz_config_history_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, - "zaraz_zaraz-config-row-base": zaraz_zaraz_config_row_base_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-history-response": zaraz_zaraz$$config$$history$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, + "zaraz_zaraz-config-row-base": zaraz_zaraz$$config$$row$$base, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/history/configs`, query: [ - ["ids", args["ids"], false], + ["ids", param(args, "query", "ids"), false], ], }), }, diff --git a/src/generated/forge-mcp/zaraz/history/outputs.ts b/src/generated/forge-mcp/zaraz/history/outputs.ts index b72d5a4c2..d4c68eb18 100644 --- a/src/generated/forge-mcp/zaraz/history/outputs.ts +++ b/src/generated/forge-mcp/zaraz/history/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zaraz_zaraz-config-row-base` in responses. */ -export const zaraz_zaraz_config_row_base_output: JsonSchema = { +export const zaraz_zaraz$$config$$row$$base: JsonSchema = { "properties": { "createdAt": { "format": "date-time", @@ -35,7 +35,7 @@ export const zaraz_zaraz_config_row_base_output: JsonSchema = { /** * The schema of `zaraz_zaraz-history-response` in responses. */ -export const zaraz_zaraz_history_response_output: JsonSchema = { +export const zaraz_zaraz$$history$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_api-response-common" diff --git a/src/generated/forge-mcp/zaraz/history/tools.ts b/src/generated/forge-mcp/zaraz/history/tools.ts index 8f0be00a4..4f9356cb0 100644 --- a/src/generated/forge-mcp/zaraz/history/tools.ts +++ b/src/generated/forge-mcp/zaraz/history/tools.ts @@ -1,33 +1,33 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - zaraz_api_response_common_failure_output, - zaraz_api_response_common_output, - zaraz_base_mc_output, - zaraz_base_tool_output, - zaraz_click_listener_rule_output, - zaraz_custom_managed_component_output, - zaraz_element_visibility_rule_output, - zaraz_form_submission_rule_output, - zaraz_load_rule_output, - zaraz_managed_component_output, - zaraz_messages_output, - zaraz_scroll_depth_rule_output, - zaraz_secret_variable_output, - zaraz_string_variable_output, - zaraz_timer_rule_output, - zaraz_variable_match_rule_output, - zaraz_worker_variable_output, - zaraz_zaraz_config_base_output, - zaraz_zaraz_config_response_output, - zaraz_zaraz_config_return_output, + zaraz_api$$response$$common, + zaraz_api$$response$$common$$failure, + zaraz_base$$mc, + zaraz_base$$tool, + zaraz_click$$listener$$rule, + zaraz_custom$$managed$$component, + zaraz_element$$visibility$$rule, + zaraz_form$$submission$$rule, + zaraz_load$$rule, + zaraz_managed$$component, + zaraz_messages, + zaraz_scroll$$depth$$rule, + zaraz_secret_variable, + zaraz_string_variable, + zaraz_timer$$rule, + zaraz_variable$$match$$rule, + zaraz_worker_variable, + zaraz_zaraz$$config$$base, + zaraz_zaraz$$config$$response, + zaraz_zaraz$$config$$return, } from "../outputs.js"; import { zaraz_identifier } from "../schemas.js"; import { - zaraz_zaraz_config_row_base_output, - zaraz_zaraz_history_response_output, + zaraz_zaraz$$config$$row$$base, + zaraz_zaraz$$history$$response, } from "./outputs.js"; /** @@ -41,40 +41,53 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "limit": { - "description": "Maximum amount of results to list. Default value is 10.", - "type": "integer" - }, - "offset": { - "description": "Ordinal number to start listing the results with. Default value is 0.", - "type": "integer" - }, - "sort_field": { - "description": "The field to sort by. Default is updated_at.", - "enum": [ - "id", - "user_id", - "description", - "created_at", - "updated_at" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" ], - "type": "string" + "type": "object" }, - "sort_order": { - "description": "Sorting order. Default is DESC.", - "enum": [ - "DESC", - "ASC" - ], - "type": "string" - }, - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "query": { + "properties": { + "limit": { + "description": "Maximum amount of results to list. Default value is 10.", + "type": "integer" + }, + "offset": { + "description": "Ordinal number to start listing the results with. Default value is 0.", + "type": "integer" + }, + "sortField": { + "description": "The field to sort by. Default is updated_at.", + "enum": [ + "id", + "user_id", + "description", + "created_at", + "updated_at" + ], + "type": "string" + }, + "sortOrder": { + "description": "Sorting order. Default is DESC.", + "enum": [ + "DESC", + "ASC" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "zaraz_identifier": zaraz_identifier, @@ -83,10 +96,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/zaraz_zaraz-history-response", $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_zaraz-config-row-base": zaraz_zaraz_config_row_base_output, - "zaraz_zaraz-history-response": zaraz_zaraz_history_response_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_messages": zaraz_messages, + "zaraz_zaraz-config-row-base": zaraz_zaraz$$config$$row$$base, + "zaraz_zaraz-history-response": zaraz_zaraz$$history$$response, }, }, annotations: { @@ -115,20 +128,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_zaraz-config-row-base": zaraz_zaraz_config_row_base_output, - "zaraz_zaraz-history-response": zaraz_zaraz_history_response_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_messages": zaraz_messages, + "zaraz_zaraz-config-row-base": zaraz_zaraz$$config$$row$$base, + "zaraz_zaraz-history-response": zaraz_zaraz$$history$$response, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/settings/zaraz/history`, query: [ - ["offset", args["offset"], true], - ["limit", args["limit"], true], - ["sortField", args["sort_field"], true], - ["sortOrder", args["sort_order"], true], + ["offset", param(args, "query", "offset"), true], + ["limit", param(args, "query", "limit"), true], + ["sortField", param(args, "query", "sortField"), true], + ["sortOrder", param(args, "query", "sortOrder"), true], ], }), }, @@ -142,13 +155,21 @@ export const tools: readonly Tool[] = [ "body": { "type": "integer" }, - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { @@ -158,25 +179,25 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-response", $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-response": zaraz_zaraz_config_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-response": zaraz_zaraz$$config$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, annotations: { @@ -204,26 +225,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_base-mc": zaraz_base_mc_output, - "zaraz_base-tool": zaraz_base_tool_output, - "zaraz_click-listener-rule": zaraz_click_listener_rule_output, - "zaraz_custom-managed-component": zaraz_custom_managed_component_output, - "zaraz_element-visibility-rule": zaraz_element_visibility_rule_output, - "zaraz_form-submission-rule": zaraz_form_submission_rule_output, - "zaraz_load-rule": zaraz_load_rule_output, - "zaraz_managed-component": zaraz_managed_component_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_scroll-depth-rule": zaraz_scroll_depth_rule_output, - "zaraz_secret_variable": zaraz_secret_variable_output, - "zaraz_string_variable": zaraz_string_variable_output, - "zaraz_timer-rule": zaraz_timer_rule_output, - "zaraz_variable-match-rule": zaraz_variable_match_rule_output, - "zaraz_worker_variable": zaraz_worker_variable_output, - "zaraz_zaraz-config-base": zaraz_zaraz_config_base_output, - "zaraz_zaraz-config-response": zaraz_zaraz_config_response_output, - "zaraz_zaraz-config-return": zaraz_zaraz_config_return_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_base-mc": zaraz_base$$mc, + "zaraz_base-tool": zaraz_base$$tool, + "zaraz_click-listener-rule": zaraz_click$$listener$$rule, + "zaraz_custom-managed-component": zaraz_custom$$managed$$component, + "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule, + "zaraz_form-submission-rule": zaraz_form$$submission$$rule, + "zaraz_load-rule": zaraz_load$$rule, + "zaraz_managed-component": zaraz_managed$$component, + "zaraz_messages": zaraz_messages, + "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule, + "zaraz_secret_variable": zaraz_secret_variable, + "zaraz_string_variable": zaraz_string_variable, + "zaraz_timer-rule": zaraz_timer$$rule, + "zaraz_variable-match-rule": zaraz_variable$$match$$rule, + "zaraz_worker_variable": zaraz_worker_variable, + "zaraz_zaraz-config-base": zaraz_zaraz$$config$$base, + "zaraz_zaraz-config-response": zaraz_zaraz$$config$$response, + "zaraz_zaraz-config-return": zaraz_zaraz$$config$$return, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zaraz/outputs.ts b/src/generated/forge-mcp/zaraz/outputs.ts index 59029177f..6eff2a4f8 100644 --- a/src/generated/forge-mcp/zaraz/outputs.ts +++ b/src/generated/forge-mcp/zaraz/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `zaraz_api-response-common` in responses. */ -export const zaraz_api_response_common_output: JsonSchema = { +export const zaraz_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zaraz_messages" @@ -29,7 +29,7 @@ export const zaraz_api_response_common_output: JsonSchema = { /** * The schema of `zaraz_api-response-common-failure` in responses. */ -export const zaraz_api_response_common_failure_output: JsonSchema = { +export const zaraz_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zaraz_messages" @@ -59,7 +59,7 @@ export const zaraz_api_response_common_failure_output: JsonSchema = { /** * The schema of `zaraz_base-mc` in responses. */ -export const zaraz_base_mc_output: JsonSchema = { +export const zaraz_base$$mc: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_base-tool" @@ -168,7 +168,7 @@ export const zaraz_base_mc_output: JsonSchema = { /** * The schema of `zaraz_base-tool` in responses. */ -export const zaraz_base_tool_output: JsonSchema = { +export const zaraz_base$$tool: JsonSchema = { "properties": { "blockingTriggers": { "items": { @@ -217,7 +217,7 @@ export const zaraz_base_tool_output: JsonSchema = { /** * The schema of `zaraz_click-listener-rule` in responses. */ -export const zaraz_click_listener_rule_output: JsonSchema = { +export const zaraz_click$$listener$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -263,7 +263,7 @@ export const zaraz_click_listener_rule_output: JsonSchema = { /** * The schema of `zaraz_custom-managed-component` in responses. */ -export const zaraz_custom_managed_component_output: JsonSchema = { +export const zaraz_custom$$managed$$component: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_base-mc" @@ -304,7 +304,7 @@ export const zaraz_custom_managed_component_output: JsonSchema = { /** * The schema of `zaraz_element-visibility-rule` in responses. */ -export const zaraz_element_visibility_rule_output: JsonSchema = { +export const zaraz_element$$visibility$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -338,7 +338,7 @@ export const zaraz_element_visibility_rule_output: JsonSchema = { /** * The schema of `zaraz_form-submission-rule` in responses. */ -export const zaraz_form_submission_rule_output: JsonSchema = { +export const zaraz_form$$submission$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -376,7 +376,7 @@ export const zaraz_form_submission_rule_output: JsonSchema = { /** * The schema of `zaraz_load-rule` in responses. */ -export const zaraz_load_rule_output: JsonSchema = { +export const zaraz_load$$rule: JsonSchema = { "properties": { "id": { "type": "string" @@ -415,7 +415,7 @@ export const zaraz_load_rule_output: JsonSchema = { /** * The schema of `zaraz_managed-component` in responses. */ -export const zaraz_managed_component_output: JsonSchema = { +export const zaraz_managed$$component: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_base-mc" @@ -440,7 +440,7 @@ export const zaraz_managed_component_output: JsonSchema = { /** * The schema of `zaraz_messages` in responses. */ -export const zaraz_messages_output: JsonSchema = { +export const zaraz_messages: JsonSchema = { "items": { "properties": { "code": { @@ -473,7 +473,7 @@ export const zaraz_messages_output: JsonSchema = { /** * The schema of `zaraz_scroll-depth-rule` in responses. */ -export const zaraz_scroll_depth_rule_output: JsonSchema = { +export const zaraz_scroll$$depth$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -507,7 +507,7 @@ export const zaraz_scroll_depth_rule_output: JsonSchema = { /** * The schema of `zaraz_secret_variable` in responses. */ -export const zaraz_secret_variable_output: JsonSchema = { +export const zaraz_secret_variable: JsonSchema = { "properties": { "name": { "type": "string" @@ -533,7 +533,7 @@ export const zaraz_secret_variable_output: JsonSchema = { /** * The schema of `zaraz_string_variable` in responses. */ -export const zaraz_string_variable_output: JsonSchema = { +export const zaraz_string_variable: JsonSchema = { "properties": { "name": { "type": "string" @@ -559,7 +559,7 @@ export const zaraz_string_variable_output: JsonSchema = { /** * The schema of `zaraz_timer-rule` in responses. */ -export const zaraz_timer_rule_output: JsonSchema = { +export const zaraz_timer$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -597,7 +597,7 @@ export const zaraz_timer_rule_output: JsonSchema = { /** * The schema of `zaraz_variable-match-rule` in responses. */ -export const zaraz_variable_match_rule_output: JsonSchema = { +export const zaraz_variable$$match$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -635,7 +635,7 @@ export const zaraz_variable_match_rule_output: JsonSchema = { /** * The schema of `zaraz_worker_variable` in responses. */ -export const zaraz_worker_variable_output: JsonSchema = { +export const zaraz_worker_variable: JsonSchema = { "properties": { "name": { "type": "string" @@ -673,7 +673,7 @@ export const zaraz_worker_variable_output: JsonSchema = { /** * The schema of `zaraz_zaraz-config-base` in responses. */ -export const zaraz_zaraz_config_base_output: JsonSchema = { +export const zaraz_zaraz$$config$$base: JsonSchema = { "properties": { "analytics": { "properties": { @@ -996,7 +996,7 @@ export const zaraz_zaraz_config_base_output: JsonSchema = { /** * The schema of `zaraz_zaraz-config-response` in responses. */ -export const zaraz_zaraz_config_response_output: JsonSchema = { +export const zaraz_zaraz$$config$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_api-response-common" @@ -1015,7 +1015,7 @@ export const zaraz_zaraz_config_response_output: JsonSchema = { /** * The schema of `zaraz_zaraz-config-return` in responses. */ -export const zaraz_zaraz_config_return_output: JsonSchema = { +export const zaraz_zaraz$$config$$return: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_zaraz-config-base" diff --git a/src/generated/forge-mcp/zaraz/publish/tools.ts b/src/generated/forge-mcp/zaraz/publish/tools.ts index 36bc55120..c7f6f4915 100644 --- a/src/generated/forge-mcp/zaraz/publish/tools.ts +++ b/src/generated/forge-mcp/zaraz/publish/tools.ts @@ -3,9 +3,9 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - zaraz_api_response_common_failure_output, - zaraz_api_response_common_output, - zaraz_messages_output, + zaraz_api$$response$$common, + zaraz_api$$response$$common$$failure, + zaraz_messages, } from "../outputs.js"; import { zaraz_identifier } from "../schemas.js"; @@ -23,13 +23,21 @@ export const tools: readonly Tool[] = [ "body": { "type": "string" }, - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "zaraz_identifier": zaraz_identifier, @@ -50,8 +58,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_messages": zaraz_messages_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_messages": zaraz_messages, }, }, annotations: { @@ -95,9 +103,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_messages": zaraz_messages_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_messages": zaraz_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zaraz/schemas.ts b/src/generated/forge-mcp/zaraz/schemas.ts index e417de0a7..6f36ffe96 100644 --- a/src/generated/forge-mcp/zaraz/schemas.ts +++ b/src/generated/forge-mcp/zaraz/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `zaraz_base-mc`. */ -export const zaraz_base_mc: JsonSchema = { +export const zaraz_base$$mc: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_base-tool" @@ -128,7 +128,7 @@ export const zaraz_base_mc: JsonSchema = { /** * The schema of `zaraz_base-tool`. */ -export const zaraz_base_tool: JsonSchema = { +export const zaraz_base$$tool: JsonSchema = { "properties": { "blockingTriggers": { "description": "List of blocking trigger IDs.", @@ -184,7 +184,7 @@ export const zaraz_base_tool: JsonSchema = { /** * The schema of `zaraz_click-listener-rule`. */ -export const zaraz_click_listener_rule: JsonSchema = { +export const zaraz_click$$listener$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -230,7 +230,7 @@ export const zaraz_click_listener_rule: JsonSchema = { /** * The schema of `zaraz_custom-managed-component`. */ -export const zaraz_custom_managed_component: JsonSchema = { +export const zaraz_custom$$managed$$component: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_base-mc" @@ -272,7 +272,7 @@ export const zaraz_custom_managed_component: JsonSchema = { /** * The schema of `zaraz_element-visibility-rule`. */ -export const zaraz_element_visibility_rule: JsonSchema = { +export const zaraz_element$$visibility$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -306,7 +306,7 @@ export const zaraz_element_visibility_rule: JsonSchema = { /** * The schema of `zaraz_form-submission-rule`. */ -export const zaraz_form_submission_rule: JsonSchema = { +export const zaraz_form$$submission$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -352,7 +352,7 @@ export const zaraz_identifier: JsonSchema = { /** * The schema of `zaraz_load-rule`. */ -export const zaraz_load_rule: JsonSchema = { +export const zaraz_load$$rule: JsonSchema = { "properties": { "id": { "type": "string" @@ -391,7 +391,7 @@ export const zaraz_load_rule: JsonSchema = { /** * The schema of `zaraz_managed-component`. */ -export const zaraz_managed_component: JsonSchema = { +export const zaraz_managed$$component: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_base-mc" @@ -416,7 +416,7 @@ export const zaraz_managed_component: JsonSchema = { /** * The schema of `zaraz_scroll-depth-rule`. */ -export const zaraz_scroll_depth_rule: JsonSchema = { +export const zaraz_scroll$$depth$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -502,7 +502,7 @@ export const zaraz_string_variable: JsonSchema = { /** * The schema of `zaraz_timer-rule`. */ -export const zaraz_timer_rule: JsonSchema = { +export const zaraz_timer$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -540,7 +540,7 @@ export const zaraz_timer_rule: JsonSchema = { /** * The schema of `zaraz_variable-match-rule`. */ -export const zaraz_variable_match_rule: JsonSchema = { +export const zaraz_variable$$match$$rule: JsonSchema = { "properties": { "action": { "enum": [ @@ -616,7 +616,7 @@ export const zaraz_worker_variable: JsonSchema = { /** * The schema of `zaraz_zaraz-config-base`. */ -export const zaraz_zaraz_config_base: JsonSchema = { +export const zaraz_zaraz$$config$$base: JsonSchema = { "description": "Zaraz configuration.", "properties": { "analytics": { diff --git a/src/generated/forge-mcp/zaraz/workflow/outputs.ts b/src/generated/forge-mcp/zaraz/workflow/outputs.ts index 228638c20..cb93eb6b0 100644 --- a/src/generated/forge-mcp/zaraz/workflow/outputs.ts +++ b/src/generated/forge-mcp/zaraz/workflow/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zaraz_zaraz-workflow` in responses. */ -export const zaraz_zaraz_workflow_output: JsonSchema = { +export const zaraz_zaraz$$workflow: JsonSchema = { "enum": [ "realtime", "preview" @@ -17,7 +17,7 @@ export const zaraz_zaraz_workflow_output: JsonSchema = { /** * The schema of `zaraz_zaraz-workflow-response` in responses. */ -export const zaraz_zaraz_workflow_response_output: JsonSchema = { +export const zaraz_zaraz$$workflow$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zaraz_api-response-common" diff --git a/src/generated/forge-mcp/zaraz/workflow/schemas.ts b/src/generated/forge-mcp/zaraz/workflow/schemas.ts index ff8a430d1..aa7375410 100644 --- a/src/generated/forge-mcp/zaraz/workflow/schemas.ts +++ b/src/generated/forge-mcp/zaraz/workflow/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zaraz_zaraz-workflow`. */ -export const zaraz_zaraz_workflow: JsonSchema = { +export const zaraz_zaraz$$workflow: JsonSchema = { "description": "Zaraz workflow.", "enum": [ "realtime", diff --git a/src/generated/forge-mcp/zaraz/workflow/tools.ts b/src/generated/forge-mcp/zaraz/workflow/tools.ts index 3898a02ac..a530b379d 100644 --- a/src/generated/forge-mcp/zaraz/workflow/tools.ts +++ b/src/generated/forge-mcp/zaraz/workflow/tools.ts @@ -3,16 +3,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - zaraz_api_response_common_failure_output, - zaraz_api_response_common_output, - zaraz_messages_output, + zaraz_api$$response$$common, + zaraz_api$$response$$common$$failure, + zaraz_messages, } from "../outputs.js"; import { zaraz_identifier } from "../schemas.js"; import { - zaraz_zaraz_workflow_output, - zaraz_zaraz_workflow_response_output, + zaraz_zaraz$$workflow, + zaraz_zaraz$$workflow$$response, } from "./outputs.js"; -import { zaraz_zaraz_workflow } from "./schemas.js"; +import { zaraz_zaraz$$workflow as zaraz_zaraz$$workflow$ } from "./schemas.js"; /** * The tools of `zaraz.workflow`. @@ -25,13 +25,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "zaraz_identifier": zaraz_identifier, @@ -40,10 +48,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/zaraz_zaraz-workflow-response", $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_zaraz-workflow": zaraz_zaraz_workflow_output, - "zaraz_zaraz-workflow-response": zaraz_zaraz_workflow_response_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_messages": zaraz_messages, + "zaraz_zaraz-workflow": zaraz_zaraz$$workflow, + "zaraz_zaraz-workflow-response": zaraz_zaraz$$workflow$$response, }, }, annotations: { @@ -72,11 +80,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_zaraz-workflow": zaraz_zaraz_workflow_output, - "zaraz_zaraz-workflow-response": zaraz_zaraz_workflow_response_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_messages": zaraz_messages, + "zaraz_zaraz-workflow": zaraz_zaraz$$workflow, + "zaraz_zaraz-workflow-response": zaraz_zaraz$$workflow$$response, }, }, request: (args) => ({ @@ -93,27 +101,35 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/zaraz_zaraz-workflow" }, - "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zaraz_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "zaraz_identifier": zaraz_identifier, - "zaraz_zaraz-workflow": zaraz_zaraz_workflow, + "zaraz_zaraz-workflow": zaraz_zaraz$$workflow$, }, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-workflow-response", $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_zaraz-workflow": zaraz_zaraz_workflow_output, - "zaraz_zaraz-workflow-response": zaraz_zaraz_workflow_response_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_messages": zaraz_messages, + "zaraz_zaraz-workflow": zaraz_zaraz$$workflow, + "zaraz_zaraz-workflow-response": zaraz_zaraz$$workflow$$response, }, }, annotations: { @@ -141,11 +157,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zaraz_api-response-common": zaraz_api_response_common_output, - "zaraz_api-response-common-failure": zaraz_api_response_common_failure_output, - "zaraz_messages": zaraz_messages_output, - "zaraz_zaraz-workflow": zaraz_zaraz_workflow_output, - "zaraz_zaraz-workflow-response": zaraz_zaraz_workflow_response_output, + "zaraz_api-response-common": zaraz_api$$response$$common, + "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, + "zaraz_messages": zaraz_messages, + "zaraz_zaraz-workflow": zaraz_zaraz$$workflow, + "zaraz_zaraz-workflow-response": zaraz_zaraz$$workflow$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts index fa319a5d5..b45ec7dd3 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts @@ -6,56 +6,56 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_allow_all_headers` in responses. */ -export const access_allow_all_headers_output: JsonSchema = { +export const access_allow_all_headers: JsonSchema = { "type": "boolean" }; /** * The schema of `access_allow_all_methods` in responses. */ -export const access_allow_all_methods_output: JsonSchema = { +export const access_allow_all_methods: JsonSchema = { "type": "boolean" }; /** * The schema of `access_allow_all_origins` in responses. */ -export const access_allow_all_origins_output: JsonSchema = { +export const access_allow_all_origins: JsonSchema = { "type": "boolean" }; /** * The schema of `access_allow_authenticate_via_warp-2` in responses. */ -export const access_allow_authenticate_via_warp_2_output: JsonSchema = { +export const access_allow_authenticate_via_warp$$2: JsonSchema = { "type": "boolean" }; /** * The schema of `access_allow_credentials` in responses. */ -export const access_allow_credentials_output: JsonSchema = { +export const access_allow_credentials: JsonSchema = { "type": "boolean" }; /** * The schema of `access_allow_email_alias` in responses. */ -export const access_allow_email_alias_output: JsonSchema = { +export const access_allow_email_alias: JsonSchema = { "type": "boolean" }; /** * The schema of `access_allow_iframe` in responses. */ -export const access_allow_iframe_output: JsonSchema = { +export const access_allow_iframe: JsonSchema = { "type": "boolean" }; /** * The schema of `access_allowed_headers` in responses. */ -export const access_allowed_headers_output: JsonSchema = { +export const access_allowed_headers: JsonSchema = { "items": { "type": "string" }, @@ -65,7 +65,7 @@ export const access_allowed_headers_output: JsonSchema = { /** * The schema of `access_allowed_idps` in responses. */ -export const access_allowed_idps_output: JsonSchema = { +export const access_allowed_idps: JsonSchema = { "items": { "type": "string" }, @@ -75,7 +75,7 @@ export const access_allowed_idps_output: JsonSchema = { /** * The schema of `access_allowed_methods` in responses. */ -export const access_allowed_methods_output: JsonSchema = { +export const access_allowed_methods: JsonSchema = { "items": { "enum": [ "GET", @@ -96,7 +96,7 @@ export const access_allowed_methods_output: JsonSchema = { /** * The schema of `access_allowed_origins` in responses. */ -export const access_allowed_origins_output: JsonSchema = { +export const access_allowed_origins: JsonSchema = { "items": { "type": "string" }, @@ -106,14 +106,14 @@ export const access_allowed_origins_output: JsonSchema = { /** * The schema of `access_app_launcher_logo_url` in responses. */ -export const access_app_launcher_logo_url_output: JsonSchema = { +export const access_app_launcher_logo_url: JsonSchema = { "type": "string" }; /** * The schema of `access_app_launcher_props` in responses. */ -export const access_app_launcher_props_output: JsonSchema = { +export const access_app_launcher_props: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_feature_app_props" @@ -163,14 +163,14 @@ export const access_app_launcher_props_output: JsonSchema = { /** * The schema of `access_app_launcher_visible` in responses. */ -export const access_app_launcher_visible_output: JsonSchema = { +export const access_app_launcher_visible: JsonSchema = { "type": "boolean" }; /** * The schema of `access_app_policy_response` in responses. */ -export const access_app_policy_response_output: JsonSchema = { +export const access_app_policy_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_policy_resp" @@ -192,7 +192,7 @@ export const access_app_policy_response_output: JsonSchema = { /** * The schema of `access_app_resp_embedded_policies` in responses. */ -export const access_app_resp_embedded_policies_output: JsonSchema = { +export const access_app_resp_embedded_policies: JsonSchema = { "properties": { "policies": { "items": { @@ -207,7 +207,7 @@ export const access_app_resp_embedded_policies_output: JsonSchema = { /** * The schema of `access_app_resp_embedded_target_criteria_infra` in responses. */ -export const access_app_resp_embedded_target_criteria_infra_output: JsonSchema = { +export const access_app_resp_embedded_target_criteria_infra: JsonSchema = { "properties": { "target_criteria": { "items": { @@ -223,7 +223,7 @@ export const access_app_resp_embedded_target_criteria_infra_output: JsonSchema = * The schema of `access_app_resp_embedded_target_criteria_self_hosted` in * responses. */ -export const access_app_resp_embedded_target_criteria_self_hosted_output: JsonSchema = { +export const access_app_resp_embedded_target_criteria_self_hosted: JsonSchema = { "properties": { "target_criteria": { "items": { @@ -238,7 +238,7 @@ export const access_app_resp_embedded_target_criteria_self_hosted_output: JsonSc /** * The schema of `access_app_response` in responses. */ -export const access_app_response_output: JsonSchema = { +export const access_app_response: JsonSchema = { "anyOf": [ { "allOf": [ @@ -425,21 +425,21 @@ export const access_app_response_output: JsonSchema = { /** * The schema of `access_aud-2` in responses. */ -export const access_aud_2_output: JsonSchema = { +export const access_aud$$2: JsonSchema = { "type": "string" }; /** * The schema of `access_auto_redirect_to_identity-2` in responses. */ -export const access_auto_redirect_to_identity_2_output: JsonSchema = { +export const access_auto_redirect_to_identity$$2: JsonSchema = { "type": "boolean" }; /** * The schema of `access_basic_app_response_props` in responses. */ -export const access_basic_app_response_props_output: JsonSchema = { +export const access_basic_app_response_props: JsonSchema = { "properties": { "aud": { "$ref": "#/$defs/access_aud-2" @@ -460,14 +460,14 @@ export const access_basic_app_response_props_output: JsonSchema = { /** * The schema of `access_bg_color` in responses. */ -export const access_bg_color_output: JsonSchema = { +export const access_bg_color: JsonSchema = { "type": "string" }; /** * The schema of `access_biso_props` in responses. */ -export const access_biso_props_output: JsonSchema = { +export const access_biso_props: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_feature_app_props" @@ -499,7 +499,7 @@ export const access_biso_props_output: JsonSchema = { /** * The schema of `access_bookmark_props` in responses. */ -export const access_bookmark_props_output: JsonSchema = { +export const access_bookmark_props: JsonSchema = { "properties": { "app_launcher_visible": { "$ref": "#/$defs/access_app_launcher_visible" @@ -533,21 +533,21 @@ export const access_bookmark_props_output: JsonSchema = { /** * The schema of `access_button_color` in responses. */ -export const access_button_color_output: JsonSchema = { +export const access_button_color: JsonSchema = { "type": "string" }; /** * The schema of `access_button_text_color` in responses. */ -export const access_button_text_color_output: JsonSchema = { +export const access_button_text_color: JsonSchema = { "type": "string" }; /** * The schema of `access_connection_rules_infra` in responses. */ -export const access_connection_rules_infra_output: JsonSchema = { +export const access_connection_rules_infra: JsonSchema = { "properties": { "ssh": { "$ref": "#/$defs/access_connection_rules_ssh" @@ -559,7 +559,7 @@ export const access_connection_rules_infra_output: JsonSchema = { /** * The schema of `access_connection_rules_ssh` in responses. */ -export const access_connection_rules_ssh_output: JsonSchema = { +export const access_connection_rules_ssh: JsonSchema = { "properties": { "allow_email_alias": { "$ref": "#/$defs/access_allow_email_alias" @@ -577,7 +577,7 @@ export const access_connection_rules_ssh_output: JsonSchema = { /** * The schema of `access_cors_headers` in responses. */ -export const access_cors_headers_output: JsonSchema = { +export const access_cors_headers: JsonSchema = { "properties": { "allow_all_headers": { "$ref": "#/$defs/access_allow_all_headers" @@ -610,28 +610,28 @@ export const access_cors_headers_output: JsonSchema = { /** * The schema of `access_custom_deny_message` in responses. */ -export const access_custom_deny_message_output: JsonSchema = { +export const access_custom_deny_message: JsonSchema = { "type": "string" }; /** * The schema of `access_custom_deny_url` in responses. */ -export const access_custom_deny_url_output: JsonSchema = { +export const access_custom_deny_url: JsonSchema = { "type": "string" }; /** * The schema of `access_custom_non_identity_deny_url` in responses. */ -export const access_custom_non_identity_deny_url_output: JsonSchema = { +export const access_custom_non_identity_deny_url: JsonSchema = { "type": "string" }; /** * The schema of `access_custom_pages-2` in responses. */ -export const access_custom_pages_2_output: JsonSchema = { +export const access_custom_pages$$2: JsonSchema = { "items": { "type": "string" }, @@ -641,7 +641,7 @@ export const access_custom_pages_2_output: JsonSchema = { /** * The schema of `access_destination_overrides` in responses. */ -export const access_destination_overrides_output: JsonSchema = { +export const access_destination_overrides: JsonSchema = { "items": { "properties": { "behavior": { @@ -667,7 +667,7 @@ export const access_destination_overrides_output: JsonSchema = { /** * The schema of `access_destinations` in responses. */ -export const access_destinations_output: JsonSchema = { +export const access_destinations: JsonSchema = { "items": { "oneOf": [ { @@ -815,21 +815,21 @@ export const access_destinations_output: JsonSchema = { /** * The schema of `access_domain` in responses. */ -export const access_domain_output: JsonSchema = { +export const access_domain: JsonSchema = { "type": "string" }; /** * The schema of `access_eager_redirect_cookie_setting` in responses. */ -export const access_eager_redirect_cookie_setting_output: JsonSchema = { +export const access_eager_redirect_cookie_setting: JsonSchema = { "type": "boolean" }; /** * The schema of `access_empty_response-2` in responses. */ -export const access_empty_response_2_output: JsonSchema = { +export const access_empty_response$$2: JsonSchema = { "properties": { "result": { "oneOf": [ @@ -855,14 +855,14 @@ export const access_empty_response_2_output: JsonSchema = { /** * The schema of `access_enable_binding_cookie` in responses. */ -export const access_enable_binding_cookie_output: JsonSchema = { +export const access_enable_binding_cookie: JsonSchema = { "type": "boolean" }; /** * The schema of `access_end_user_all_preview_workers_destination` in responses. */ -export const access_end_user_all_preview_workers_destination_output: JsonSchema = { +export const access_end_user_all_preview_workers_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides" @@ -883,7 +883,7 @@ export const access_end_user_all_preview_workers_destination_output: JsonSchema /** * The schema of `access_end_user_all_workers_destination` in responses. */ -export const access_end_user_all_workers_destination_output: JsonSchema = { +export const access_end_user_all_workers_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides" @@ -904,7 +904,7 @@ export const access_end_user_all_workers_destination_output: JsonSchema = { /** * The schema of `access_end_user_destinations` in responses. */ -export const access_end_user_destinations_output: JsonSchema = { +export const access_end_user_destinations: JsonSchema = { "items": { "oneOf": [ { @@ -930,7 +930,7 @@ export const access_end_user_destinations_output: JsonSchema = { /** * The schema of `access_end_user_oauth_configuration` in responses. */ -export const access_end_user_oauth_configuration_output: JsonSchema = { +export const access_end_user_oauth_configuration: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_oauth_configuration" @@ -952,7 +952,7 @@ export const access_end_user_oauth_configuration_output: JsonSchema = { /** * The schema of `access_end_user_preview_worker_destination` in responses. */ -export const access_end_user_preview_worker_destination_output: JsonSchema = { +export const access_end_user_preview_worker_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides" @@ -977,7 +977,7 @@ export const access_end_user_preview_worker_destination_output: JsonSchema = { /** * The schema of `access_end_user_props` in responses. */ -export const access_end_user_props_output: JsonSchema = { +export const access_end_user_props: JsonSchema = { "properties": { "allowed_idps": { "$ref": "#/$defs/access_allowed_idps" @@ -1030,7 +1030,7 @@ export const access_end_user_props_output: JsonSchema = { /** * The schema of `access_end_user_public_destination` in responses. */ -export const access_end_user_public_destination_output: JsonSchema = { +export const access_end_user_public_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides" @@ -1054,7 +1054,7 @@ export const access_end_user_public_destination_output: JsonSchema = { /** * The schema of `access_end_user_worker_destination` in responses. */ -export const access_end_user_worker_destination_output: JsonSchema = { +export const access_end_user_worker_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides" @@ -1079,7 +1079,7 @@ export const access_end_user_worker_destination_output: JsonSchema = { /** * The schema of `access_feature_app_props` in responses. */ -export const access_feature_app_props_output: JsonSchema = { +export const access_feature_app_props: JsonSchema = { "properties": { "allowed_idps": { "$ref": "#/$defs/access_allowed_idps" @@ -1118,7 +1118,7 @@ export const access_feature_app_props_output: JsonSchema = { /** * The schema of `access_footer_links` in responses. */ -export const access_footer_links_output: JsonSchema = { +export const access_footer_links: JsonSchema = { "items": { "properties": { "name": { @@ -1140,28 +1140,28 @@ export const access_footer_links_output: JsonSchema = { /** * The schema of `access_header_bg_color` in responses. */ -export const access_header_bg_color_output: JsonSchema = { +export const access_header_bg_color: JsonSchema = { "type": "string" }; /** * The schema of `access_http_only_cookie_attribute` in responses. */ -export const access_http_only_cookie_attribute_output: JsonSchema = { +export const access_http_only_cookie_attribute: JsonSchema = { "type": "boolean" }; /** * The schema of `access_image_url` in responses. */ -export const access_image_url_output: JsonSchema = { +export const access_image_url: JsonSchema = { "type": "string" }; /** * The schema of `access_infra_app_resp_embedded_policies` in responses. */ -export const access_infra_app_resp_embedded_policies_output: JsonSchema = { +export const access_infra_app_resp_embedded_policies: JsonSchema = { "properties": { "policies": { "items": { @@ -1176,7 +1176,7 @@ export const access_infra_app_resp_embedded_policies_output: JsonSchema = { /** * The schema of `access_infra_mfa_config` in responses. */ -export const access_infra_mfa_config_output: JsonSchema = { +export const access_infra_mfa_config: JsonSchema = { "properties": { "allowed_authenticators": { "items": { @@ -1201,7 +1201,7 @@ export const access_infra_mfa_config_output: JsonSchema = { /** * The schema of `access_infra_policy_resp` in responses. */ -export const access_infra_policy_resp_output: JsonSchema = { +export const access_infra_policy_resp: JsonSchema = { "allOf": [ { "properties": { @@ -1223,7 +1223,7 @@ export const access_infra_policy_resp_output: JsonSchema = { /** * The schema of `access_infra_props` in responses. */ -export const access_infra_props_output: JsonSchema = { +export const access_infra_props: JsonSchema = { "allOf": [ { "properties": { @@ -1258,7 +1258,7 @@ export const access_infra_props_output: JsonSchema = { /** * The schema of `access_landing_page_design` in responses. */ -export const access_landing_page_design_output: JsonSchema = { +export const access_landing_page_design: JsonSchema = { "properties": { "button_color": { "$ref": "#/$defs/access_button_color" @@ -1282,21 +1282,21 @@ export const access_landing_page_design_output: JsonSchema = { /** * The schema of `access_logo_url` in responses. */ -export const access_logo_url_output: JsonSchema = { +export const access_logo_url: JsonSchema = { "type": "string" }; /** * The schema of `access_max_age` in responses. */ -export const access_max_age_output: JsonSchema = { +export const access_max_age: JsonSchema = { "type": "number" }; /** * The schema of `access_mcp_portal_props` in responses. */ -export const access_mcp_portal_props_output: JsonSchema = { +export const access_mcp_portal_props: JsonSchema = { "properties": { "allow_authenticate_via_warp": { "$ref": "#/$defs/access_allow_authenticate_via_warp-2" @@ -1372,7 +1372,7 @@ export const access_mcp_portal_props_output: JsonSchema = { /** * The schema of `access_mcp_props` in responses. */ -export const access_mcp_props_output: JsonSchema = { +export const access_mcp_props: JsonSchema = { "properties": { "allow_authenticate_via_warp": { "$ref": "#/$defs/access_allow_authenticate_via_warp-2" @@ -1445,21 +1445,21 @@ export const access_mcp_props_output: JsonSchema = { /** * The schema of `access_message` in responses. */ -export const access_message_output: JsonSchema = { +export const access_message: JsonSchema = { "type": "string" }; /** * The schema of `access_name-8` in responses. */ -export const access_name_8_output: JsonSchema = { +export const access_name$$8: JsonSchema = { "type": "string" }; /** * The schema of `access_oauth_configuration` in responses. */ -export const access_oauth_configuration_output: JsonSchema = { +export const access_oauth_configuration: JsonSchema = { "properties": { "dynamic_client_registration": { "properties": { @@ -1502,7 +1502,7 @@ export const access_oauth_configuration_output: JsonSchema = { /** * The schema of `access_oidc_saas_app` in responses. */ -export const access_oidc_saas_app_output: JsonSchema = { +export const access_oidc_saas_app: JsonSchema = { "properties": { "access_token_lifetime": { "type": "string" @@ -1632,35 +1632,35 @@ export const access_oidc_saas_app_output: JsonSchema = { /** * The schema of `access_options_preflight_bypass` in responses. */ -export const access_options_preflight_bypass_output: JsonSchema = { +export const access_options_preflight_bypass: JsonSchema = { "type": "boolean" }; /** * The schema of `access_path_cookie_attribute` in responses. */ -export const access_path_cookie_attribute_output: JsonSchema = { +export const access_path_cookie_attribute: JsonSchema = { "type": "boolean" }; /** * The schema of `access_port` in responses. */ -export const access_port_output: JsonSchema = { +export const access_port: JsonSchema = { "type": "integer" }; /** * The schema of `access_precedence` in responses. */ -export const access_precedence_output: JsonSchema = { +export const access_precedence: JsonSchema = { "type": "integer" }; /** * The schema of `access_protocol_infra_app` in responses. */ -export const access_protocol_infra_app_output: JsonSchema = { +export const access_protocol_infra_app: JsonSchema = { "enum": [ "SSH" ], @@ -1670,7 +1670,7 @@ export const access_protocol_infra_app_output: JsonSchema = { /** * The schema of `access_protocol_self_hosted_app` in responses. */ -export const access_protocol_self_hosted_app_output: JsonSchema = { +export const access_protocol_self_hosted_app: JsonSchema = { "enum": [ "RDP" ], @@ -1680,7 +1680,7 @@ export const access_protocol_self_hosted_app_output: JsonSchema = { /** * The schema of `access_proxy_endpoint_props` in responses. */ -export const access_proxy_endpoint_props_output: JsonSchema = { +export const access_proxy_endpoint_props: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_feature_app_props" @@ -1712,7 +1712,7 @@ export const access_proxy_endpoint_props_output: JsonSchema = { /** * The schema of `access_rdp_props` in responses. */ -export const access_rdp_props_output: JsonSchema = { +export const access_rdp_props: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_app_resp_embedded_target_criteria_self_hosted" @@ -1741,14 +1741,14 @@ export const access_rdp_props_output: JsonSchema = { /** * The schema of `access_read_service_tokens_from_header` in responses. */ -export const access_read_service_tokens_from_header_output: JsonSchema = { +export const access_read_service_tokens_from_header: JsonSchema = { "type": "string" }; /** * The schema of `access_response_collection-8` in responses. */ -export const access_response_collection_8_output: JsonSchema = { +export const access_response_collection$$8: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -1770,7 +1770,7 @@ export const access_response_collection_8_output: JsonSchema = { /** * The schema of `access_saas_props` in responses. */ -export const access_saas_props_output: JsonSchema = { +export const access_saas_props: JsonSchema = { "properties": { "allowed_idps": { "$ref": "#/$defs/access_allowed_idps" @@ -1823,14 +1823,14 @@ export const access_saas_props_output: JsonSchema = { /** * The schema of `access_same_site_cookie_attribute` in responses. */ -export const access_same_site_cookie_attribute_output: JsonSchema = { +export const access_same_site_cookie_attribute: JsonSchema = { "type": "string" }; /** * The schema of `access_saml_saas_app` in responses. */ -export const access_saml_saas_app_output: JsonSchema = { +export const access_saml_saas_app: JsonSchema = { "properties": { "auth_type": { "enum": [ @@ -1930,7 +1930,7 @@ export const access_saml_saas_app_output: JsonSchema = { /** * The schema of `access_scim_config` in responses. */ -export const access_scim_config_output: JsonSchema = { +export const access_scim_config: JsonSchema = { "properties": { "authentication": { "oneOf": [ @@ -1972,7 +1972,7 @@ export const access_scim_config_output: JsonSchema = { * The schema of `access_scim_config_authentication_access_service_token` in * responses. */ -export const access_scim_config_authentication_access_service_token_output: JsonSchema = { +export const access_scim_config_authentication_access_service_token: JsonSchema = { "properties": { "client_id": { "type": "string" @@ -1998,7 +1998,7 @@ export const access_scim_config_authentication_access_service_token_output: Json /** * The schema of `access_scim_config_authentication_http_basic` in responses. */ -export const access_scim_config_authentication_http_basic_output: JsonSchema = { +export const access_scim_config_authentication_http_basic: JsonSchema = { "properties": { "password": { "type": "string" @@ -2024,7 +2024,7 @@ export const access_scim_config_authentication_http_basic_output: JsonSchema = { /** * The schema of `access_scim_config_authentication_oauth2` in responses. */ -export const access_scim_config_authentication_oauth2_output: JsonSchema = { +export const access_scim_config_authentication_oauth2: JsonSchema = { "properties": { "authorization_url": { "type": "string" @@ -2065,7 +2065,7 @@ export const access_scim_config_authentication_oauth2_output: JsonSchema = { * The schema of `access_scim_config_authentication_oauth_bearer_token` in * responses. */ -export const access_scim_config_authentication_oauth_bearer_token_output: JsonSchema = { +export const access_scim_config_authentication_oauth_bearer_token: JsonSchema = { "properties": { "scheme": { "enum": [ @@ -2087,7 +2087,7 @@ export const access_scim_config_authentication_oauth_bearer_token_output: JsonSc /** * The schema of `access_scim_config_mapping` in responses. */ -export const access_scim_config_mapping_output: JsonSchema = { +export const access_scim_config_mapping: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -2132,7 +2132,7 @@ export const access_scim_config_mapping_output: JsonSchema = { /** * The schema of `access_scim_config_multi_authentication` in responses. */ -export const access_scim_config_multi_authentication_output: JsonSchema = { +export const access_scim_config_multi_authentication: JsonSchema = { "items": { "$ref": "#/$defs/access_scim_config_single_authentication" }, @@ -2142,7 +2142,7 @@ export const access_scim_config_multi_authentication_output: JsonSchema = { /** * The schema of `access_scim_config_single_authentication` in responses. */ -export const access_scim_config_single_authentication_output: JsonSchema = { +export const access_scim_config_single_authentication: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/access_scim_config_authentication_http_basic" @@ -2162,7 +2162,7 @@ export const access_scim_config_single_authentication_output: JsonSchema = { /** * The schema of `access_self_hosted_domains` in responses. */ -export const access_self_hosted_domains_output: JsonSchema = { +export const access_self_hosted_domains: JsonSchema = { "items": { "type": "string" }, @@ -2172,7 +2172,7 @@ export const access_self_hosted_domains_output: JsonSchema = { /** * The schema of `access_self_hosted_props` in responses. */ -export const access_self_hosted_props_output: JsonSchema = { +export const access_self_hosted_props: JsonSchema = { "properties": { "allow_authenticate_via_warp": { "$ref": "#/$defs/access_allow_authenticate_via_warp-2" @@ -2285,21 +2285,21 @@ export const access_self_hosted_props_output: JsonSchema = { /** * The schema of `access_service_auth_401_redirect` in responses. */ -export const access_service_auth_401_redirect_output: JsonSchema = { +export const access_service_auth_401_redirect: JsonSchema = { "type": "boolean" }; /** * The schema of `access_session_duration-2` in responses. */ -export const access_session_duration_2_output: JsonSchema = { +export const access_session_duration$$2: JsonSchema = { "type": "string" }; /** * The schema of `access_single_response-9` in responses. */ -export const access_single_response_9_output: JsonSchema = { +export const access_single_response$$9: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -2318,21 +2318,21 @@ export const access_single_response_9_output: JsonSchema = { /** * The schema of `access_skip_app_launcher_login_page` in responses. */ -export const access_skip_app_launcher_login_page_output: JsonSchema = { +export const access_skip_app_launcher_login_page: JsonSchema = { "type": "boolean" }; /** * The schema of `access_skip_interstitial` in responses. */ -export const access_skip_interstitial_output: JsonSchema = { +export const access_skip_interstitial: JsonSchema = { "type": "boolean" }; /** * The schema of `access_ssh_props` in responses. */ -export const access_ssh_props_output: JsonSchema = { +export const access_ssh_props: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_self_hosted_props" @@ -2358,7 +2358,7 @@ export const access_ssh_props_output: JsonSchema = { /** * The schema of `access_tags-2` in responses. */ -export const access_tags_2_output: JsonSchema = { +export const access_tags$$2: JsonSchema = { "items": { "type": "string" }, @@ -2368,7 +2368,7 @@ export const access_tags_2_output: JsonSchema = { /** * The schema of `access_target_attributes` in responses. */ -export const access_target_attributes_output: JsonSchema = { +export const access_target_attributes: JsonSchema = { "additionalProperties": { "items": { "type": "string" @@ -2381,7 +2381,7 @@ export const access_target_attributes_output: JsonSchema = { /** * The schema of `access_target_criteria_base` in responses. */ -export const access_target_criteria_base_output: JsonSchema = { +export const access_target_criteria_base: JsonSchema = { "properties": { "exclude": { "$ref": "#/$defs/access_target_rule" @@ -2408,7 +2408,7 @@ export const access_target_criteria_base_output: JsonSchema = { /** * The schema of `access_target_criteria_infra_app` in responses. */ -export const access_target_criteria_infra_app_output: JsonSchema = { +export const access_target_criteria_infra_app: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_target_criteria_base" @@ -2427,7 +2427,7 @@ export const access_target_criteria_infra_app_output: JsonSchema = { /** * The schema of `access_target_criteria_self_hosted_app` in responses. */ -export const access_target_criteria_self_hosted_app_output: JsonSchema = { +export const access_target_criteria_self_hosted_app: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_target_criteria_base" @@ -2446,7 +2446,7 @@ export const access_target_criteria_self_hosted_app_output: JsonSchema = { /** * The schema of `access_target_rule` in responses. */ -export const access_target_rule_output: JsonSchema = { +export const access_target_rule: JsonSchema = { "properties": { "tags": { "additionalProperties": { @@ -2469,7 +2469,7 @@ export const access_target_rule_output: JsonSchema = { /** * The schema of `access_target_rule_attributes` in responses. */ -export const access_target_rule_attributes_output: JsonSchema = { +export const access_target_rule_attributes: JsonSchema = { "properties": { "hostname": { "items": { @@ -2486,14 +2486,14 @@ export const access_target_rule_attributes_output: JsonSchema = { /** * The schema of `access_title` in responses. */ -export const access_title_output: JsonSchema = { +export const access_title: JsonSchema = { "type": "string" }; /** * The schema of `access_type` in responses. */ -export const access_type_output: JsonSchema = { +export const access_type: JsonSchema = { "enum": [ "self_hosted", "end_user", @@ -2518,14 +2518,14 @@ export const access_type_output: JsonSchema = { * The schema of `access_use_clientless_isolation_app_launcher_url` in * responses. */ -export const access_use_clientless_isolation_app_launcher_url_output: JsonSchema = { +export const access_use_clientless_isolation_app_launcher_url: JsonSchema = { "type": "boolean" }; /** * The schema of `access_usernames` in responses. */ -export const access_usernames_output: JsonSchema = { +export const access_usernames: JsonSchema = { "items": { "type": "string" }, @@ -2535,7 +2535,7 @@ export const access_usernames_output: JsonSchema = { /** * The schema of `access_vnc_props` in responses. */ -export const access_vnc_props_output: JsonSchema = { +export const access_vnc_props: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_self_hosted_props" @@ -2561,7 +2561,7 @@ export const access_vnc_props_output: JsonSchema = { /** * The schema of `access_warp_props` in responses. */ -export const access_warp_props_output: JsonSchema = { +export const access_warp_props: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_feature_app_props" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policies/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policies/outputs.ts index 09d77dae0..6e8ac46f0 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policies/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policies/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_app_policy_result` in responses. */ -export const access_app_policy_result_output: JsonSchema = { +export const access_app_policy_result: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/access_app_policy_response" @@ -20,7 +20,7 @@ export const access_app_policy_result_output: JsonSchema = { /** * The schema of `access_response_collection-9` in responses. */ -export const access_response_collection_9_output: JsonSchema = { +export const access_response_collection$$9: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -42,7 +42,7 @@ export const access_response_collection_9_output: JsonSchema = { /** * The schema of `access_single_response-10` in responses. */ -export const access_single_response_10_output: JsonSchema = { +export const access_single_response$$10: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts index c12f7d946..72cfe198e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts @@ -1,195 +1,206 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_identifier_output, - access_messages_output, - access_timestamp_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_identifier, + access_messages, + access_timestamp, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; import { - access_access_group_rule_output, - access_allowed_clipboard_local_to_remote_formats_output, - access_allowed_clipboard_remote_to_local_formats_output, - access_any_valid_service_token_rule_output, - access_approval_group_output, - access_approval_groups_output, - access_approval_required_output, - access_auth_context_rule_output, - access_authentication_method_rule_output, - access_azure_group_rule_output, - access_base_policy_resp_output, - access_certificate_rule_output, - access_cloudflare_account_member_rule_output, - access_common_name_rule_output, - access_connection_rules_output, - access_connection_rules_rdp_output, - access_country_rule_output, - access_decision_output, - access_device_posture_rule_output, - access_domain_rule_output, - access_email_list_rule_output, - access_email_rule_output, - access_everyone_rule_output, - access_exclude_2_output, - access_external_evaluation_rule_output, - access_github_organization_rule_output, - access_gsuite_group_rule_output, - access_include_2_output, - access_ip_list_rule_output, - access_ip_rule_output, - access_isolation_required_output, - access_linked_app_token_rule_output, - access_login_method_rule_output, - access_mfa_config_output, - access_name_9_output, - access_oidc_claim_rule_output, - access_okta_group_rule_output, - access_policy_resolution_account_id_output, - access_policy_resp_output, - access_purpose_justification_prompt_output, - access_purpose_justification_required_output, - access_rdp_clipboard_format_output, - access_require_2_output, - access_rule_output, - access_saml_group_rule_output, - access_service_token_rule_output, - access_service_token_tag_rule_output, - access_session_duration_3_output, - access_user_risk_score_rule_output, - access_uuid_2_output, + access_identifier as access_identifier$, + access_uuid, +} from "../../../schemas.js"; +import { + access_access_group_rule, + access_allowed_clipboard_local_to_remote_formats, + access_allowed_clipboard_remote_to_local_formats, + access_any_valid_service_token_rule, + access_approval_group, + access_approval_groups, + access_approval_required, + access_auth_context_rule, + access_authentication_method_rule, + access_azure_group_rule, + access_base_policy_resp, + access_certificate_rule, + access_cloudflare_account_member_rule, + access_common_name_rule, + access_connection_rules, + access_connection_rules_rdp, + access_country_rule, + access_decision, + access_device_posture_rule, + access_domain_rule, + access_email_list_rule, + access_email_rule, + access_everyone_rule, + access_exclude$$2, + access_external_evaluation_rule, + access_github_organization_rule, + access_gsuite_group_rule, + access_include$$2, + access_ip_list_rule, + access_ip_rule, + access_isolation_required, + access_linked_app_token_rule, + access_login_method_rule, + access_mfa_config, + access_name$$9, + access_oidc_claim_rule, + access_okta_group_rule, + access_policy_resolution_account_id, + access_policy_resp, + access_purpose_justification_prompt, + access_purpose_justification_required, + access_rdp_clipboard_format, + access_require$$2, + access_rule, + access_saml_group_rule, + access_service_token_rule, + access_service_token_tag_rule, + access_session_duration$$3, + access_user_risk_score_rule, + access_uuid$$2, } from "../../outputs.js"; import { - access_allow_email_alias_output, - access_app_policy_response_output, - access_connection_rules_infra_output, - access_connection_rules_ssh_output, - access_infra_mfa_config_output, - access_infra_policy_resp_output, - access_precedence_output, - access_usernames_output, + access_allow_email_alias, + access_app_policy_response, + access_connection_rules_infra, + access_connection_rules_ssh, + access_infra_mfa_config, + access_infra_policy_resp, + access_precedence, + access_usernames, } from "../outputs.js"; import { - access_app_policy_result_output, - access_response_collection_9_output, - access_single_response_10_output, + access_app_policy_result, + access_response_collection$$9, + access_single_response$$10, } from "./outputs.js"; /** - * The tools of `zero_trust.access.applications.policies`. + * The tools of `zeroTrust.access.applications.policies`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_applications_policies_get", + name: "zeroTrust_access_applications_policies_get", title: "Get an Access application policy", description: "Fetches a single Access policy configured for an application. Returns both exclusively owned and reusable policies used by the application.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_uuid", + "description": "The application ID." + }, + "policy_id": { + "$ref": "#/$defs/access_uuid", + "description": "The policy ID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id", + "policy_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "The application ID." - }, - "policy_id": { - "$ref": "#/$defs/access_uuid", - "description": "The policy ID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id", - "policy_id" + "path" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, "access_uuid": access_uuid, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-10", $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_policy_result": access_app_policy_result_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_precedence": access_precedence_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-10": access_single_response_10_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_email_alias": access_allow_email_alias, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-single": access_api$$response$$single, + "access_app_policy_response": access_app_policy_response, + "access_app_policy_result": access_app_policy_result, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_precedence": access_precedence, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-10": access_single_response$$10, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -217,71 +228,71 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_policy_result": access_app_policy_result_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_precedence": access_precedence_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-10": access_single_response_10_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_email_alias": access_allow_email_alias, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_policy_response": access_app_policy_response, + "access_app_policy_result": access_app_policy_result, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_precedence": access_precedence, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-10": access_single_response$$10, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -289,117 +300,130 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_applications_policies_list", + name: "zeroTrust_access_applications_policies_list", title: "List Access application policies", description: "Lists Access policies configured for an application. Returns both exclusively scoped and reusable policies used by the application.\n\nThis method is deprecated.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_uuid", + "description": "The application ID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "The application ID." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" + "type": "object" }, - "per_page": { - "default": 200, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 200, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id" + "path" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, "access_uuid": access_uuid, }, }, outputSchema: { "$ref": "#/$defs/access_response_collection-9", $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_policy_result": access_app_policy_result_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_precedence": access_precedence_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_response_collection-9": access_response_collection_9_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_email_alias": access_allow_email_alias, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_app_policy_response": access_app_policy_response, + "access_app_policy_result": access_app_policy_result, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_precedence": access_precedence, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_response_collection-9": access_response_collection$$9, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -427,180 +451,188 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_policy_result": access_app_policy_result_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_precedence": access_precedence_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_response_collection-9": access_response_collection_9_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_email_alias": access_allow_email_alias, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_app_policy_response": access_app_policy_response, + "access_app_policy_result": access_app_policy_result, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_precedence": access_precedence, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_response_collection-9": access_response_collection$$9, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/${pathParam(args, "app_id")}/policies`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_applications_policies_make_reusable", + name: "zeroTrust_access_applications_policies_makeReusable", title: "Convert an Access application policy to a reusable policy", description: "Converts an application-scoped policy to a reusable policy. The policy will no longer be exclusively scoped to the application. Further updates to the policy should go through the /accounts/{account_id}/policies/{uid} endpoint.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "The application ID." - }, - "policy_id": { - "$ref": "#/$defs/access_uuid", - "description": "The policy ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "app_id": { + "$ref": "#/$defs/access_uuid", + "description": "The application ID." + }, + "policy_id": { + "$ref": "#/$defs/access_uuid", + "description": "The policy ID." + } + }, + "required": [ + "account_id", + "app_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "app_id", - "policy_id" + "path" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, "access_uuid": access_uuid, }, }, outputSchema: { "$ref": "#/$defs/access_response_collection-9", $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_policy_result": access_app_policy_result_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_precedence": access_precedence_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_response_collection-9": access_response_collection_9_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_email_alias": access_allow_email_alias, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_app_policy_response": access_app_policy_response, + "access_app_policy_result": access_app_policy_result, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_precedence": access_precedence, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_response_collection-9": access_response_collection$$9, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -627,72 +659,72 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_policy_result": access_app_policy_result_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_precedence": access_precedence_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_response_collection-9": access_response_collection_9_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_email_alias": access_allow_email_alias, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_app_policy_response": access_app_policy_response, + "access_app_policy_result": access_app_policy_result, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_precedence": access_precedence, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_response_collection-9": access_response_collection$$9, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts index e1b68a5bb..098c055db 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts @@ -6,35 +6,35 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_percent_approved` in responses. */ -export const access_percent_approved_output: JsonSchema = { +export const access_percent_approved: JsonSchema = { "type": "integer" }; /** * The schema of `access_percent_blocked` in responses. */ -export const access_percent_blocked_output: JsonSchema = { +export const access_percent_blocked: JsonSchema = { "type": "integer" }; /** * The schema of `access_percent_errored` in responses. */ -export const access_percent_errored_output: JsonSchema = { +export const access_percent_errored: JsonSchema = { "type": "integer" }; /** * The schema of `access_percent_users_processed` in responses. */ -export const access_percent_users_processed_output: JsonSchema = { +export const access_percent_users_processed: JsonSchema = { "type": "integer" }; /** * The schema of `access_policy_init_resp` in responses. */ -export const access_policy_init_resp_output: JsonSchema = { +export const access_policy_init_resp: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -61,14 +61,14 @@ export const access_policy_init_resp_output: JsonSchema = { /** * The schema of `access_policy_test_id` in responses. */ -export const access_policy_test_id_output: JsonSchema = { +export const access_policy_test_id: JsonSchema = { "type": "string" }; /** * The schema of `access_policy_update_resp` in responses. */ -export const access_policy_update_resp_output: JsonSchema = { +export const access_policy_update_resp: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -119,7 +119,7 @@ export const access_policy_update_resp_output: JsonSchema = { /** * The schema of `access_status` in responses. */ -export const access_status_output: JsonSchema = { +export const access_status: JsonSchema = { "enum": [ "success" ], @@ -129,14 +129,14 @@ export const access_status_output: JsonSchema = { /** * The schema of `access_total_users` in responses. */ -export const access_total_users_output: JsonSchema = { +export const access_total_users: JsonSchema = { "type": "integer" }; /** * The schema of `access_update_status` in responses. */ -export const access_update_status_output: JsonSchema = { +export const access_update_status: JsonSchema = { "enum": [ "blocked", "processing", @@ -149,20 +149,20 @@ export const access_update_status_output: JsonSchema = { /** * The schema of `access_users_approved` in responses. */ -export const access_users_approved_output: JsonSchema = { +export const access_users_approved: JsonSchema = { "type": "integer" }; /** * The schema of `access_users_blocked` in responses. */ -export const access_users_blocked_output: JsonSchema = { +export const access_users_blocked: JsonSchema = { "type": "integer" }; /** * The schema of `access_users_errored` in responses. */ -export const access_users_errored_output: JsonSchema = { +export const access_users_errored: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts index d1d260b87..b145478a0 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts @@ -3,9 +3,9 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../../outputs.js"; import { access_identifier } from "../../../schemas.js"; import { @@ -32,18 +32,18 @@ import { access_email_list_rule, access_email_rule, access_everyone_rule, - access_exclude_2, + access_exclude$$2, access_external_evaluation_rule, access_github_organization_rule, access_gsuite_group_rule, - access_include_2, + access_include$$2, access_ip_list_rule, access_ip_rule, access_isolation_required, access_linked_app_token_rule, access_login_method_rule, access_mfa_config, - access_name_9, + access_name$$9, access_oidc_claim_rule, access_okta_group_rule, access_policy_req, @@ -51,52 +51,63 @@ import { access_purpose_justification_prompt, access_purpose_justification_required, access_rdp_clipboard_format, - access_require_2, + access_require$$2, access_rule, access_saml_group_rule, access_service_token_rule, access_service_token_tag_rule, - access_session_duration_3, + access_session_duration$$3, access_user_risk_score_rule, } from "../../schemas.js"; import { - access_percent_approved_output, - access_percent_blocked_output, - access_percent_errored_output, - access_percent_users_processed_output, - access_policy_init_resp_output, - access_policy_test_id_output, - access_policy_update_resp_output, - access_status_output, - access_total_users_output, - access_update_status_output, - access_users_approved_output, - access_users_blocked_output, - access_users_errored_output, + access_percent_approved, + access_percent_blocked, + access_percent_errored, + access_percent_users_processed, + access_policy_init_resp, + access_policy_test_id, + access_policy_update_resp, + access_status, + access_total_users, + access_update_status, + access_users_approved, + access_users_blocked, + access_users_errored, } from "./outputs.js"; -import { access_policy_init_req, access_policy_test_id } from "./schemas.js"; +import { + access_policy_init_req, + access_policy_test_id as access_policy_test_id$, +} from "./schemas.js"; /** - * The tools of `zero_trust.access.applications.policy_tests`. + * The tools of `zeroTrust.access.applications.policyTests`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_applications_policy_tests_create", + name: "zeroTrust_access_applications_policyTests_create", title: "Start Access policy test", description: "Starts an Access policy test.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_policy_init_req" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -123,19 +134,19 @@ export const tools: readonly Tool[] = [ "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, "access_everyone_rule": access_everyone_rule, - "access_exclude-2": access_exclude_2, + "access_exclude-2": access_exclude$$2, "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, "access_identifier": access_identifier, - "access_include-2": access_include_2, + "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_mfa_config": access_mfa_config, - "access_name-9": access_name_9, + "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_policy_init_req": access_policy_init_req, @@ -144,23 +155,23 @@ export const tools: readonly Tool[] = [ "access_purpose_justification_prompt": access_purpose_justification_prompt, "access_purpose_justification_required": access_purpose_justification_required, "access_rdp_clipboard_format": access_rdp_clipboard_format, - "access_require-2": access_require_2, + "access_require-2": access_require$$2, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration_3, + "access_session_duration-3": access_session_duration$$3, "access_user_risk_score_rule": access_user_risk_score_rule, }, }, outputSchema: { "$ref": "#/$defs/access_policy_init_resp", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_policy_init_resp": access_policy_init_resp_output, - "access_policy_test_id": access_policy_test_id_output, - "access_status": access_status_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_policy_init_resp": access_policy_init_resp, + "access_policy_test_id": access_policy_test_id, + "access_status": access_status, }, }, annotations: { @@ -187,12 +198,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_policy_init_resp": access_policy_init_resp_output, - "access_policy_test_id": access_policy_test_id_output, - "access_status": access_status_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_policy_init_resp": access_policy_init_resp, + "access_policy_test_id": access_policy_test_id, + "access_status": access_status, }, }, request: (args) => ({ @@ -201,46 +212,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_applications_policy_tests_get", + name: "zeroTrust_access_applications_policyTests_get", title: "Get the current status of a given Access policy test", description: "Fetches the current status of a given Access policy test.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "policy_test_id": { - "$ref": "#/$defs/access_policy_test_id", - "description": "The UUID of the policy test." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "policy_test_id": { + "$ref": "#/$defs/access_policy_test_id", + "description": "The UUID of the policy test." + } + }, + "required": [ + "account_id", + "policy_test_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_test_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_policy_test_id": access_policy_test_id, + "access_policy_test_id": access_policy_test_id$, }, }, outputSchema: { "$ref": "#/$defs/access_policy_update_resp", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_percent_approved": access_percent_approved_output, - "access_percent_blocked": access_percent_blocked_output, - "access_percent_errored": access_percent_errored_output, - "access_percent_users_processed": access_percent_users_processed_output, - "access_policy_test_id": access_policy_test_id_output, - "access_policy_update_resp": access_policy_update_resp_output, - "access_total_users": access_total_users_output, - "access_update_status": access_update_status_output, - "access_users_approved": access_users_approved_output, - "access_users_blocked": access_users_blocked_output, - "access_users_errored": access_users_errored_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_percent_approved": access_percent_approved, + "access_percent_blocked": access_percent_blocked, + "access_percent_errored": access_percent_errored, + "access_percent_users_processed": access_percent_users_processed, + "access_policy_test_id": access_policy_test_id, + "access_policy_update_resp": access_policy_update_resp, + "access_total_users": access_total_users, + "access_update_status": access_update_status, + "access_users_approved": access_users_approved, + "access_users_blocked": access_users_blocked, + "access_users_errored": access_users_errored, }, }, annotations: { @@ -268,20 +287,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_percent_approved": access_percent_approved_output, - "access_percent_blocked": access_percent_blocked_output, - "access_percent_errored": access_percent_errored_output, - "access_percent_users_processed": access_percent_users_processed_output, - "access_policy_test_id": access_policy_test_id_output, - "access_policy_update_resp": access_policy_update_resp_output, - "access_total_users": access_total_users_output, - "access_update_status": access_update_status_output, - "access_users_approved": access_users_approved_output, - "access_users_blocked": access_users_blocked_output, - "access_users_errored": access_users_errored_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_percent_approved": access_percent_approved, + "access_percent_blocked": access_percent_blocked, + "access_percent_errored": access_percent_errored, + "access_percent_users_processed": access_percent_users_processed, + "access_policy_test_id": access_policy_test_id, + "access_policy_update_resp": access_policy_update_resp, + "access_total_users": access_total_users, + "access_update_status": access_update_status, + "access_users_approved": access_users_approved, + "access_users_blocked": access_users_blocked, + "access_users_errored": access_users_errored, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts index 990fe575b..cf07412bf 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; /** * The schema of `access_policy_users` in responses. */ -export const access_policy_users_output: JsonSchema = { +export const access_policy_users: JsonSchema = { "properties": { "email": { "$ref": "#/$defs/access_email-2" @@ -27,7 +27,7 @@ export const access_policy_users_output: JsonSchema = { /** * The schema of `access_policy_users_resp` in responses. */ -export const access_policy_users_resp_output: JsonSchema = { +export const access_policy_users_resp: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -49,7 +49,7 @@ export const access_policy_users_resp_output: JsonSchema = { /** * The schema of `access_user_result` in responses. */ -export const access_user_result_output: JsonSchema = { +export const access_user_result: JsonSchema = { "enum": [ "approved", "blocked", diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts index 4bfce7ea1..b7bc6d11e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts @@ -1,66 +1,76 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, - access_uuid_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, + access_uuid, } from "../../../../outputs.js"; import { access_identifier } from "../../../../schemas.js"; -import { - access_email_2_output, - access_name_10_output, -} from "../../../outputs.js"; +import { access_email$$2, access_name$$10 } from "../../../outputs.js"; import { access_policy_test_id } from "../schemas.js"; import { - access_policy_users_output, - access_policy_users_resp_output, - access_user_result_output, + access_policy_users, + access_policy_users_resp, + access_user_result, } from "./outputs.js"; /** - * The tools of `zero_trust.access.applications.policy_tests.users`. + * The tools of `zeroTrust.access.applications.policyTests.users`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_applications_policy_tests_users_list", + name: "zeroTrust_access_applications_policyTests_users_list", title: "Get an Access policy test users page", description: "Fetches a single page of user results from an Access policy test.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 25, - "type": "integer" - }, - "policy_test_id": { - "$ref": "#/$defs/access_policy_test_id", - "description": "The UUID of the policy test." - }, - "status": { - "description": "Filter users by their policy evaluation status.", - "enum": [ - "success", - "fail", - "error" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "policy_test_id": { + "$ref": "#/$defs/access_policy_test_id", + "description": "The UUID of the policy test." + } + }, + "required": [ + "account_id", + "policy_test_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 25, + "type": "integer" + }, + "status": { + "description": "Filter users by their policy evaluation status.", + "enum": [ + "success", + "fail", + "error" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "policy_test_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -70,14 +80,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_policy_users_resp", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_email-2": access_email_2_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_policy_users": access_policy_users_output, - "access_policy_users_resp": access_policy_users_resp_output, - "access_user_result": access_user_result_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_email-2": access_email$$2, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_policy_users": access_policy_users, + "access_policy_users_resp": access_policy_users_resp, + "access_user_result": access_user_result, + "access_uuid": access_uuid, }, }, annotations: { @@ -105,23 +115,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_email-2": access_email_2_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_policy_users": access_policy_users_output, - "access_policy_users_resp": access_policy_users_resp_output, - "access_user_result": access_user_result_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_email-2": access_email$$2, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_policy_users": access_policy_users, + "access_policy_users_resp": access_policy_users_resp, + "access_user_result": access_user_result, + "access_uuid": access_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policy-tests/${pathParam(args, "policy_test_id")}/users`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["status", param(args, "query", "status"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/applications/schemas.ts index 0d5675b29..a9f0bb9fe 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/schemas.ts @@ -30,7 +30,7 @@ export const access_allow_all_origins: JsonSchema = { /** * The schema of `access_allow_authenticate_via_warp-2`. */ -export const access_allow_authenticate_via_warp_2: JsonSchema = { +export const access_allow_authenticate_via_warp$$2: JsonSchema = { "description": "When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication.", "type": "boolean" }; @@ -484,7 +484,7 @@ export const access_app_resp_embedded_target_criteria_self_hosted: JsonSchema = /** * The schema of `access_auto_redirect_to_identity-2`. */ -export const access_auto_redirect_to_identity_2: JsonSchema = { +export const access_auto_redirect_to_identity$$2: JsonSchema = { "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps.", "type": "boolean" }; @@ -684,7 +684,7 @@ export const access_custom_non_identity_deny_url: JsonSchema = { /** * The schema of `access_custom_pages-2`. */ -export const access_custom_pages_2: JsonSchema = { +export const access_custom_pages$$2: JsonSchema = { "description": "The custom pages that will be displayed when applicable for this application", "items": { "type": "string" @@ -1606,7 +1606,7 @@ export const access_message: JsonSchema = { /** * The schema of `access_name-8`. */ -export const access_name_8: JsonSchema = { +export const access_name$$8: JsonSchema = { "description": "The name of the application.", "type": "string" }; @@ -2574,7 +2574,7 @@ export const access_service_auth_401_redirect: JsonSchema = { /** * The schema of `access_session_duration-2`. */ -export const access_session_duration_2: JsonSchema = { +export const access_session_duration$$2: JsonSchema = { "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", "type": "string" }; @@ -2624,7 +2624,7 @@ export const access_ssh_props: JsonSchema = { /** * The schema of `access_tags-2`. */ -export const access_tags_2: JsonSchema = { +export const access_tags$$2: JsonSchema = { "description": "The tags you want assigned to an application. Tags are used to filter applications in the App Launcher dashboard.", "items": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts index 8be483eaa..e0592d807 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_app_settings_response` in responses. */ -export const access_app_settings_response_output: JsonSchema = { +export const access_app_settings_response: JsonSchema = { "properties": { "allow_iframe": { "$ref": "#/$defs/access_allow_iframe" @@ -21,7 +21,7 @@ export const access_app_settings_response_output: JsonSchema = { /** * The schema of `access_single_response_update` in responses. */ -export const access_single_response_update_output: JsonSchema = { +export const access_single_response_update: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts index b4267eea7..70b9af1cc 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts @@ -3,80 +3,85 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; +import { access_allow_iframe, access_skip_interstitial } from "../outputs.js"; import { - access_allow_iframe_output, - access_skip_interstitial_output, -} from "../outputs.js"; -import { - access_allow_iframe, + access_allow_iframe as access_allow_iframe$, access_app_id, - access_skip_interstitial, + access_skip_interstitial as access_skip_interstitial$, } from "../schemas.js"; import { - access_app_settings_response_output, - access_single_response_update_output, + access_app_settings_response, + access_single_response_update, } from "./outputs.js"; import { access_app_settings_request } from "./schemas.js"; /** - * The tools of `zero_trust.access.applications.settings`. + * The tools of `zeroTrust.access.applications.settings`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_applications_settings_update", + name: "zeroTrust_access_applications_settings_update", title: "Update Access application settings", description: "Updates Access application settings.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_app_id" - }, "body": { "$ref": "#/$defs/access_app_settings_request" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_app_id" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id", + "path", "body" ], $defs: { - "access_allow_iframe": access_allow_iframe, + "access_allow_iframe": access_allow_iframe$, "access_app_id": access_app_id, "access_app_settings_request": access_app_settings_request, "access_identifier": access_identifier, - "access_skip_interstitial": access_skip_interstitial, + "access_skip_interstitial": access_skip_interstitial$, "access_uuid": access_uuid, }, }, outputSchema: { "$ref": "#/$defs/access_single_response_update", $defs: { - "access_allow_iframe": access_allow_iframe_output, - "access_api-response-single": access_api_response_single_output, - "access_app_settings_response": access_app_settings_response_output, - "access_messages": access_messages_output, - "access_single_response_update": access_single_response_update_output, - "access_skip_interstitial": access_skip_interstitial_output, + "access_allow_iframe": access_allow_iframe, + "access_api-response-single": access_api$$response$$single, + "access_app_settings_response": access_app_settings_response, + "access_messages": access_messages, + "access_single_response_update": access_single_response_update, + "access_skip_interstitial": access_skip_interstitial, }, }, annotations: { @@ -103,13 +108,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_allow_iframe": access_allow_iframe_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_settings_response": access_app_settings_response_output, - "access_messages": access_messages_output, - "access_single_response_update": access_single_response_update_output, - "access_skip_interstitial": access_skip_interstitial_output, + "access_allow_iframe": access_allow_iframe, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_settings_response": access_app_settings_response, + "access_messages": access_messages, + "access_single_response_update": access_single_response_update, + "access_skip_interstitial": access_skip_interstitial, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts index 2a178cf45..5ad3920b9 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_aud` in responses. */ -export const access_aud_output: JsonSchema = { +export const access_aud: JsonSchema = { "type": "string" }; /** * The schema of `access_ca` in responses. */ -export const access_ca_output: JsonSchema = { +export const access_ca: JsonSchema = { "properties": { "aud": { "$ref": "#/$defs/access_aud" @@ -31,14 +31,14 @@ export const access_ca_output: JsonSchema = { /** * The schema of `access_id-2` in responses. */ -export const access_id_2_output: JsonSchema = { +export const access_id$$2: JsonSchema = { "type": "string" }; /** * The schema of `access_id_response-2` in responses. */ -export const access_id_response_2_output: JsonSchema = { +export const access_id_response$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -62,14 +62,14 @@ export const access_id_response_2_output: JsonSchema = { /** * The schema of `access_public_key` in responses. */ -export const access_public_key_output: JsonSchema = { +export const access_public_key: JsonSchema = { "type": "string" }; /** * The schema of `access_response_collection-5` in responses. */ -export const access_response_collection_5_output: JsonSchema = { +export const access_response_collection$$5: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -91,7 +91,7 @@ export const access_response_collection_5_output: JsonSchema = { /** * The schema of `access_single_response-6` in responses. */ -export const access_single_response_6_output: JsonSchema = { +export const access_single_response$$6: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts index 82f497312..85cd050ee 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts @@ -1,57 +1,65 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; import { - access_aud_output, - access_ca_output, - access_id_2_output, - access_id_response_2_output, - access_public_key_output, - access_response_collection_5_output, - access_single_response_6_output, + access_aud, + access_ca, + access_id$$2, + access_id_response$$2, + access_public_key, + access_response_collection$$5, + access_single_response$$6, } from "./outputs.js"; /** - * The tools of `zero_trust.access.applications.short_lived_certificates`. + * The tools of `zeroTrust.access.applications.shortLivedCertificates`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_applications_short_lived_certificates_create", + name: "zeroTrust_access_applications_shortLivedCertificates_create", title: "Create a short-lived certificate CA", description: "Generates a new short-lived certificate CA and public key.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -61,13 +69,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_single_response-6", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_aud": access_aud_output, - "access_ca": access_ca_output, - "access_id-2": access_id_2_output, - "access_messages": access_messages_output, - "access_public_key": access_public_key_output, - "access_single_response-6": access_single_response_6_output, + "access_api-response-single": access_api$$response$$single, + "access_aud": access_aud, + "access_ca": access_ca, + "access_id-2": access_id$$2, + "access_messages": access_messages, + "access_public_key": access_public_key, + "access_single_response-6": access_single_response$$6, }, }, annotations: { @@ -94,14 +102,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_aud": access_aud_output, - "access_ca": access_ca_output, - "access_id-2": access_id_2_output, - "access_messages": access_messages_output, - "access_public_key": access_public_key_output, - "access_single_response-6": access_single_response_6_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_aud": access_aud, + "access_ca": access_ca, + "access_id-2": access_id$$2, + "access_messages": access_messages, + "access_public_key": access_public_key, + "access_single_response-6": access_single_response$$6, }, }, request: (args) => ({ @@ -109,33 +117,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_applications_short_lived_certificates_delete", + name: "zeroTrust_access_applications_shortLivedCertificates_delete", title: "Delete a short-lived certificate CA", description: "Deletes a short-lived certificate CA.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -145,10 +161,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_id_response-2", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_id-2": access_id_2_output, - "access_id_response-2": access_id_response_2_output, - "access_messages": access_messages_output, + "access_api-response-single": access_api$$response$$single, + "access_id-2": access_id$$2, + "access_id_response-2": access_id_response$$2, + "access_messages": access_messages, }, }, annotations: { @@ -175,11 +191,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_id-2": access_id_2_output, - "access_id_response-2": access_id_response_2_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_id-2": access_id$$2, + "access_id_response-2": access_id_response$$2, + "access_messages": access_messages, }, }, request: (args) => ({ @@ -187,33 +203,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_applications_short_lived_certificates_get", + name: "zeroTrust_access_applications_shortLivedCertificates_get", title: "Get a short-lived certificate CA", description: "Fetches a short-lived certificate CA and its public key.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -223,13 +247,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_single_response-6", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_aud": access_aud_output, - "access_ca": access_ca_output, - "access_id-2": access_id_2_output, - "access_messages": access_messages_output, - "access_public_key": access_public_key_output, - "access_single_response-6": access_single_response_6_output, + "access_api-response-single": access_api$$response$$single, + "access_aud": access_aud, + "access_ca": access_ca, + "access_id-2": access_id$$2, + "access_messages": access_messages, + "access_public_key": access_public_key, + "access_single_response-6": access_single_response$$6, }, }, annotations: { @@ -257,14 +281,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_aud": access_aud_output, - "access_ca": access_ca_output, - "access_id-2": access_id_2_output, - "access_messages": access_messages_output, - "access_public_key": access_public_key_output, - "access_single_response-6": access_single_response_6_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_aud": access_aud, + "access_ca": access_ca, + "access_id-2": access_id$$2, + "access_messages": access_messages, + "access_public_key": access_public_key, + "access_single_response-6": access_single_response$$6, }, }, request: (args) => ({ @@ -272,38 +296,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_applications_short_lived_certificates_list", + name: "zeroTrust_access_applications_shortLivedCertificates_list", title: "List short-lived certificate CAs", description: "Lists short-lived certificate CAs and their public keys.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" + "type": "object" }, - "per_page": { - "default": 100, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -312,14 +349,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-5", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_aud": access_aud_output, - "access_ca": access_ca_output, - "access_id-2": access_id_2_output, - "access_messages": access_messages_output, - "access_public_key": access_public_key_output, - "access_response_collection-5": access_response_collection_5_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_aud": access_aud, + "access_ca": access_ca, + "access_id-2": access_id$$2, + "access_messages": access_messages, + "access_public_key": access_public_key, + "access_response_collection-5": access_response_collection$$5, }, }, annotations: { @@ -347,22 +384,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_aud": access_aud_output, - "access_ca": access_ca_output, - "access_id-2": access_id_2_output, - "access_messages": access_messages_output, - "access_public_key": access_public_key_output, - "access_response_collection-5": access_response_collection_5_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_aud": access_aud, + "access_ca": access_ca, + "access_id-2": access_id$$2, + "access_messages": access_messages, + "access_public_key": access_public_key, + "access_response_collection-5": access_response_collection$$5, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps/ca`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts index e65feecc9..9e9f18a33 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts @@ -1,79 +1,27 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; -import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_created_at_output, - access_id_response_output, - access_identifier_output, - access_messages_output, - access_timestamp_output, - access_updated_at_output, - access_uuid_output, -} from "../../outputs.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, access_created_at, + access_id_response, access_identifier, + access_messages, access_timestamp, access_updated_at, access_uuid, -} from "../../schemas.js"; +} from "../../outputs.js"; import { - access_access_group_rule_output, - access_allowed_clipboard_local_to_remote_formats_output, - access_allowed_clipboard_remote_to_local_formats_output, - access_any_valid_service_token_rule_output, - access_approval_group_output, - access_approval_groups_output, - access_approval_required_output, - access_auth_context_rule_output, - access_authentication_method_rule_output, - access_azure_group_rule_output, - access_base_policy_resp_output, - access_certificate_rule_output, - access_cloudflare_account_member_rule_output, - access_common_name_rule_output, - access_connection_rules_output, - access_connection_rules_rdp_output, - access_country_rule_output, - access_decision_output, - access_device_posture_rule_output, - access_domain_rule_output, - access_email_list_rule_output, - access_email_rule_output, - access_everyone_rule_output, - access_exclude_2_output, - access_external_evaluation_rule_output, - access_github_organization_rule_output, - access_gsuite_group_rule_output, - access_include_2_output, - access_ip_list_rule_output, - access_ip_rule_output, - access_isolation_required_output, - access_linked_app_token_rule_output, - access_login_method_rule_output, - access_mfa_config_output, - access_name_9_output, - access_oidc_claim_rule_output, - access_okta_group_rule_output, - access_policy_resolution_account_id_output, - access_policy_resp_output, - access_purpose_justification_prompt_output, - access_purpose_justification_required_output, - access_rdp_clipboard_format_output, - access_require_2_output, - access_rule_output, - access_saml_group_rule_output, - access_service_token_rule_output, - access_service_token_tag_rule_output, - access_session_duration_3_output, - access_user_risk_score_rule_output, - access_uuid_2_output, -} from "../outputs.js"; + access_created_at as access_created_at$, + access_identifier as access_identifier$, + access_timestamp as access_timestamp$, + access_updated_at as access_updated_at$, + access_uuid as access_uuid$, +} from "../../schemas.js"; import { access_access_group_rule, access_allowed_clipboard_local_to_remote_formats, @@ -85,7 +33,7 @@ import { access_auth_context_rule, access_authentication_method_rule, access_azure_group_rule, - access_base_policy_req, + access_base_policy_resp, access_certificate_rule, access_cloudflare_account_member_rule, access_common_name_rule, @@ -98,149 +46,91 @@ import { access_email_list_rule, access_email_rule, access_everyone_rule, - access_exclude_2, + access_exclude$$2, access_external_evaluation_rule, access_github_organization_rule, access_gsuite_group_rule, - access_include_2, + access_include$$2, access_ip_list_rule, access_ip_rule, access_isolation_required, access_linked_app_token_rule, access_login_method_rule, access_mfa_config, - access_name_9, + access_name$$9, access_oidc_claim_rule, access_okta_group_rule, - access_policy_req, access_policy_resolution_account_id, + access_policy_resp, access_purpose_justification_prompt, access_purpose_justification_required, access_rdp_clipboard_format, - access_require_2, + access_require$$2, access_rule, access_saml_group_rule, access_service_token_rule, access_service_token_tag_rule, - access_session_duration_3, + access_session_duration$$3, access_user_risk_score_rule, - access_uuid_2, -} from "../schemas.js"; + access_uuid$$2, +} from "../outputs.js"; import { - access_allow_all_headers_output, - access_allow_all_methods_output, - access_allow_all_origins_output, - access_allow_authenticate_via_warp_2_output, - access_allow_credentials_output, - access_allow_email_alias_output, - access_allow_iframe_output, - access_allowed_headers_output, - access_allowed_idps_output, - access_allowed_methods_output, - access_allowed_origins_output, - access_app_launcher_logo_url_output, - access_app_launcher_props_output, - access_app_launcher_visible_output, - access_app_policy_response_output, - access_app_resp_embedded_policies_output, - access_app_resp_embedded_target_criteria_infra_output, - access_app_resp_embedded_target_criteria_self_hosted_output, - access_app_response_output, - access_aud_2_output, - access_auto_redirect_to_identity_2_output, - access_basic_app_response_props_output, - access_bg_color_output, - access_biso_props_output, - access_bookmark_props_output, - access_button_color_output, - access_button_text_color_output, - access_connection_rules_infra_output, - access_connection_rules_ssh_output, - access_cors_headers_output, - access_custom_deny_message_output, - access_custom_deny_url_output, - access_custom_non_identity_deny_url_output, - access_custom_pages_2_output, - access_destination_overrides_output, - access_destinations_output, - access_domain_output, - access_eager_redirect_cookie_setting_output, - access_empty_response_2_output, - access_enable_binding_cookie_output, - access_end_user_all_preview_workers_destination_output, - access_end_user_all_workers_destination_output, - access_end_user_destinations_output, - access_end_user_oauth_configuration_output, - access_end_user_preview_worker_destination_output, - access_end_user_props_output, - access_end_user_public_destination_output, - access_end_user_worker_destination_output, - access_feature_app_props_output, - access_footer_links_output, - access_header_bg_color_output, - access_http_only_cookie_attribute_output, - access_image_url_output, - access_infra_app_resp_embedded_policies_output, - access_infra_mfa_config_output, - access_infra_policy_resp_output, - access_infra_props_output, - access_landing_page_design_output, - access_logo_url_output, - access_max_age_output, - access_mcp_portal_props_output, - access_mcp_props_output, - access_message_output, - access_name_8_output, - access_oauth_configuration_output, - access_oidc_saas_app_output, - access_options_preflight_bypass_output, - access_path_cookie_attribute_output, - access_port_output, - access_precedence_output, - access_protocol_infra_app_output, - access_protocol_self_hosted_app_output, - access_proxy_endpoint_props_output, - access_rdp_props_output, - access_read_service_tokens_from_header_output, - access_response_collection_8_output, - access_saas_props_output, - access_same_site_cookie_attribute_output, - access_saml_saas_app_output, - access_scim_config_authentication_access_service_token_output, - access_scim_config_authentication_http_basic_output, - access_scim_config_authentication_oauth2_output, - access_scim_config_authentication_oauth_bearer_token_output, - access_scim_config_mapping_output, - access_scim_config_multi_authentication_output, - access_scim_config_output, - access_scim_config_single_authentication_output, - access_self_hosted_domains_output, - access_self_hosted_props_output, - access_service_auth_401_redirect_output, - access_session_duration_2_output, - access_single_response_9_output, - access_skip_app_launcher_login_page_output, - access_skip_interstitial_output, - access_ssh_props_output, - access_tags_2_output, - access_target_attributes_output, - access_target_criteria_base_output, - access_target_criteria_infra_app_output, - access_target_criteria_self_hosted_app_output, - access_target_rule_attributes_output, - access_target_rule_output, - access_title_output, - access_type_output, - access_use_clientless_isolation_app_launcher_url_output, - access_usernames_output, - access_vnc_props_output, - access_warp_props_output, -} from "./outputs.js"; + access_access_group_rule as access_access_group_rule$, + access_allowed_clipboard_local_to_remote_formats as access_allowed_clipboard_local_to_remote_formats$, + access_allowed_clipboard_remote_to_local_formats as access_allowed_clipboard_remote_to_local_formats$, + access_any_valid_service_token_rule as access_any_valid_service_token_rule$, + access_approval_group as access_approval_group$, + access_approval_groups as access_approval_groups$, + access_approval_required as access_approval_required$, + access_auth_context_rule as access_auth_context_rule$, + access_authentication_method_rule as access_authentication_method_rule$, + access_azure_group_rule as access_azure_group_rule$, + access_base_policy_req, + access_certificate_rule as access_certificate_rule$, + access_cloudflare_account_member_rule as access_cloudflare_account_member_rule$, + access_common_name_rule as access_common_name_rule$, + access_connection_rules as access_connection_rules$, + access_connection_rules_rdp as access_connection_rules_rdp$, + access_country_rule as access_country_rule$, + access_decision as access_decision$, + access_device_posture_rule as access_device_posture_rule$, + access_domain_rule as access_domain_rule$, + access_email_list_rule as access_email_list_rule$, + access_email_rule as access_email_rule$, + access_everyone_rule as access_everyone_rule$, + access_exclude$$2 as access_exclude$$2$, + access_external_evaluation_rule as access_external_evaluation_rule$, + access_github_organization_rule as access_github_organization_rule$, + access_gsuite_group_rule as access_gsuite_group_rule$, + access_include$$2 as access_include$$2$, + access_ip_list_rule as access_ip_list_rule$, + access_ip_rule as access_ip_rule$, + access_isolation_required as access_isolation_required$, + access_linked_app_token_rule as access_linked_app_token_rule$, + access_login_method_rule as access_login_method_rule$, + access_mfa_config as access_mfa_config$, + access_name$$9 as access_name$$9$, + access_oidc_claim_rule as access_oidc_claim_rule$, + access_okta_group_rule as access_okta_group_rule$, + access_policy_req, + access_policy_resolution_account_id as access_policy_resolution_account_id$, + access_purpose_justification_prompt as access_purpose_justification_prompt$, + access_purpose_justification_required as access_purpose_justification_required$, + access_rdp_clipboard_format as access_rdp_clipboard_format$, + access_require$$2 as access_require$$2$, + access_rule as access_rule$, + access_saml_group_rule as access_saml_group_rule$, + access_service_token_rule as access_service_token_rule$, + access_service_token_tag_rule as access_service_token_tag_rule$, + access_session_duration$$3 as access_session_duration$$3$, + access_user_risk_score_rule as access_user_risk_score_rule$, + access_uuid$$2 as access_uuid$$2$, +} from "../schemas.js"; import { access_allow_all_headers, access_allow_all_methods, access_allow_all_origins, - access_allow_authenticate_via_warp_2, + access_allow_authenticate_via_warp$$2, access_allow_credentials, access_allow_email_alias, access_allow_iframe, @@ -248,18 +138,17 @@ import { access_allowed_idps, access_allowed_methods, access_allowed_origins, - access_app_id, access_app_launcher_logo_url, access_app_launcher_props, access_app_launcher_visible, - access_app_policy_link, - access_app_policy_request, - access_app_req_embedded_policies, - access_app_req_embedded_scim_config, - access_app_request, + access_app_policy_response, + access_app_resp_embedded_policies, access_app_resp_embedded_target_criteria_infra, access_app_resp_embedded_target_criteria_self_hosted, - access_auto_redirect_to_identity_2, + access_app_response, + access_aud$$2, + access_auto_redirect_to_identity$$2, + access_basic_app_response_props, access_bg_color, access_biso_props, access_bookmark_props, @@ -271,11 +160,12 @@ import { access_custom_deny_message, access_custom_deny_url, access_custom_non_identity_deny_url, - access_custom_pages_2, + access_custom_pages$$2, access_destination_overrides, access_destinations, access_domain, access_eager_redirect_cookie_setting, + access_empty_response$$2, access_enable_binding_cookie, access_end_user_all_preview_workers_destination, access_end_user_all_workers_destination, @@ -290,9 +180,9 @@ import { access_header_bg_color, access_http_only_cookie_attribute, access_image_url, - access_infra_app_req_embedded_policies, + access_infra_app_resp_embedded_policies, access_infra_mfa_config, - access_infra_policy_req, + access_infra_policy_resp, access_infra_props, access_landing_page_design, access_logo_url, @@ -300,7 +190,7 @@ import { access_mcp_portal_props, access_mcp_props, access_message, - access_name_8, + access_name$$8, access_oauth_configuration, access_oidc_saas_app, access_options_preflight_bypass, @@ -312,6 +202,7 @@ import { access_proxy_endpoint_props, access_rdp_props, access_read_service_tokens_from_header, + access_response_collection$$8, access_saas_props, access_same_site_cookie_attribute, access_saml_saas_app, @@ -326,11 +217,12 @@ import { access_self_hosted_domains, access_self_hosted_props, access_service_auth_401_redirect, - access_session_duration_2, + access_session_duration$$2, + access_single_response$$9, access_skip_app_launcher_login_page, access_skip_interstitial, access_ssh_props, - access_tags_2, + access_tags$$2, access_target_attributes, access_target_criteria_base, access_target_criteria_infra_app, @@ -343,46 +235,339 @@ import { access_usernames, access_vnc_props, access_warp_props, +} from "./outputs.js"; +import { + access_allow_all_headers as access_allow_all_headers$, + access_allow_all_methods as access_allow_all_methods$, + access_allow_all_origins as access_allow_all_origins$, + access_allow_authenticate_via_warp$$2 as access_allow_authenticate_via_warp$$2$, + access_allow_credentials as access_allow_credentials$, + access_allow_email_alias as access_allow_email_alias$, + access_allow_iframe as access_allow_iframe$, + access_allowed_headers as access_allowed_headers$, + access_allowed_idps as access_allowed_idps$, + access_allowed_methods as access_allowed_methods$, + access_allowed_origins as access_allowed_origins$, + access_app_id, + access_app_launcher_logo_url as access_app_launcher_logo_url$, + access_app_launcher_props as access_app_launcher_props$, + access_app_launcher_visible as access_app_launcher_visible$, + access_app_policy_link, + access_app_policy_request, + access_app_req_embedded_policies, + access_app_req_embedded_scim_config, + access_app_request, + access_app_resp_embedded_target_criteria_infra as access_app_resp_embedded_target_criteria_infra$, + access_app_resp_embedded_target_criteria_self_hosted as access_app_resp_embedded_target_criteria_self_hosted$, + access_auto_redirect_to_identity$$2 as access_auto_redirect_to_identity$$2$, + access_bg_color as access_bg_color$, + access_biso_props as access_biso_props$, + access_bookmark_props as access_bookmark_props$, + access_button_color as access_button_color$, + access_button_text_color as access_button_text_color$, + access_connection_rules_infra as access_connection_rules_infra$, + access_connection_rules_ssh as access_connection_rules_ssh$, + access_cors_headers as access_cors_headers$, + access_custom_deny_message as access_custom_deny_message$, + access_custom_deny_url as access_custom_deny_url$, + access_custom_non_identity_deny_url as access_custom_non_identity_deny_url$, + access_custom_pages$$2 as access_custom_pages$$2$, + access_destination_overrides as access_destination_overrides$, + access_destinations as access_destinations$, + access_domain as access_domain$, + access_eager_redirect_cookie_setting as access_eager_redirect_cookie_setting$, + access_enable_binding_cookie as access_enable_binding_cookie$, + access_end_user_all_preview_workers_destination as access_end_user_all_preview_workers_destination$, + access_end_user_all_workers_destination as access_end_user_all_workers_destination$, + access_end_user_destinations as access_end_user_destinations$, + access_end_user_oauth_configuration as access_end_user_oauth_configuration$, + access_end_user_preview_worker_destination as access_end_user_preview_worker_destination$, + access_end_user_props as access_end_user_props$, + access_end_user_public_destination as access_end_user_public_destination$, + access_end_user_worker_destination as access_end_user_worker_destination$, + access_feature_app_props as access_feature_app_props$, + access_footer_links as access_footer_links$, + access_header_bg_color as access_header_bg_color$, + access_http_only_cookie_attribute as access_http_only_cookie_attribute$, + access_image_url as access_image_url$, + access_infra_app_req_embedded_policies, + access_infra_mfa_config as access_infra_mfa_config$, + access_infra_policy_req, + access_infra_props as access_infra_props$, + access_landing_page_design as access_landing_page_design$, + access_logo_url as access_logo_url$, + access_max_age as access_max_age$, + access_mcp_portal_props as access_mcp_portal_props$, + access_mcp_props as access_mcp_props$, + access_message as access_message$, + access_name$$8 as access_name$$8$, + access_oauth_configuration as access_oauth_configuration$, + access_oidc_saas_app as access_oidc_saas_app$, + access_options_preflight_bypass as access_options_preflight_bypass$, + access_path_cookie_attribute as access_path_cookie_attribute$, + access_port as access_port$, + access_precedence as access_precedence$, + access_protocol_infra_app as access_protocol_infra_app$, + access_protocol_self_hosted_app as access_protocol_self_hosted_app$, + access_proxy_endpoint_props as access_proxy_endpoint_props$, + access_rdp_props as access_rdp_props$, + access_read_service_tokens_from_header as access_read_service_tokens_from_header$, + access_saas_props as access_saas_props$, + access_same_site_cookie_attribute as access_same_site_cookie_attribute$, + access_saml_saas_app as access_saml_saas_app$, + access_scim_config as access_scim_config$, + access_scim_config_authentication_access_service_token as access_scim_config_authentication_access_service_token$, + access_scim_config_authentication_http_basic as access_scim_config_authentication_http_basic$, + access_scim_config_authentication_oauth2 as access_scim_config_authentication_oauth2$, + access_scim_config_authentication_oauth_bearer_token as access_scim_config_authentication_oauth_bearer_token$, + access_scim_config_mapping as access_scim_config_mapping$, + access_scim_config_multi_authentication as access_scim_config_multi_authentication$, + access_scim_config_single_authentication as access_scim_config_single_authentication$, + access_self_hosted_domains as access_self_hosted_domains$, + access_self_hosted_props as access_self_hosted_props$, + access_service_auth_401_redirect as access_service_auth_401_redirect$, + access_session_duration$$2 as access_session_duration$$2$, + access_skip_app_launcher_login_page as access_skip_app_launcher_login_page$, + access_skip_interstitial as access_skip_interstitial$, + access_ssh_props as access_ssh_props$, + access_tags$$2 as access_tags$$2$, + access_target_attributes as access_target_attributes$, + access_target_criteria_base as access_target_criteria_base$, + access_target_criteria_infra_app as access_target_criteria_infra_app$, + access_target_criteria_self_hosted_app as access_target_criteria_self_hosted_app$, + access_target_rule as access_target_rule$, + access_target_rule_attributes as access_target_rule_attributes$, + access_title as access_title$, + access_type as access_type$, + access_use_clientless_isolation_app_launcher_url as access_use_clientless_isolation_app_launcher_url$, + access_usernames as access_usernames$, + access_vnc_props as access_vnc_props$, + access_warp_props as access_warp_props$, } from "./schemas.js"; /** - * The tools of `zero_trust.access.applications`. + * The tools of `zeroTrust.access.applications`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_applications_create", + name: "zeroTrust_access_applications_create", title: "Add an Access application", description: "Adds a new application to Access.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/access_app_request" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], + $defs: { + "access_access_group_rule": access_access_group_rule$, + "access_allow_all_headers": access_allow_all_headers$, + "access_allow_all_methods": access_allow_all_methods$, + "access_allow_all_origins": access_allow_all_origins$, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2$, + "access_allow_credentials": access_allow_credentials$, + "access_allow_email_alias": access_allow_email_alias$, + "access_allow_iframe": access_allow_iframe$, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats$, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats$, + "access_allowed_headers": access_allowed_headers$, + "access_allowed_idps": access_allowed_idps$, + "access_allowed_methods": access_allowed_methods$, + "access_allowed_origins": access_allowed_origins$, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, + "access_app_launcher_logo_url": access_app_launcher_logo_url$, + "access_app_launcher_props": access_app_launcher_props$, + "access_app_launcher_visible": access_app_launcher_visible$, + "access_app_policy_link": access_app_policy_link, + "access_app_policy_request": access_app_policy_request, + "access_app_req_embedded_policies": access_app_req_embedded_policies, + "access_app_req_embedded_scim_config": access_app_req_embedded_scim_config, + "access_app_request": access_app_request, + "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra$, + "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted$, + "access_approval_group": access_approval_group$, + "access_approval_groups": access_approval_groups$, + "access_approval_required": access_approval_required$, + "access_auth_context_rule": access_auth_context_rule$, + "access_authentication_method_rule": access_authentication_method_rule$, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2$, + "access_azure_group_rule": access_azure_group_rule$, + "access_base_policy_req": access_base_policy_req, + "access_bg_color": access_bg_color$, + "access_biso_props": access_biso_props$, + "access_bookmark_props": access_bookmark_props$, + "access_button_color": access_button_color$, + "access_button_text_color": access_button_text_color$, + "access_certificate_rule": access_certificate_rule$, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule$, + "access_common_name_rule": access_common_name_rule$, + "access_connection_rules": access_connection_rules$, + "access_connection_rules_infra": access_connection_rules_infra$, + "access_connection_rules_rdp": access_connection_rules_rdp$, + "access_connection_rules_ssh": access_connection_rules_ssh$, + "access_cors_headers": access_cors_headers$, + "access_country_rule": access_country_rule$, + "access_created_at": access_created_at$, + "access_custom_deny_message": access_custom_deny_message$, + "access_custom_deny_url": access_custom_deny_url$, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url$, + "access_custom_pages-2": access_custom_pages$$2$, + "access_decision": access_decision$, + "access_destination_overrides": access_destination_overrides$, + "access_destinations": access_destinations$, + "access_device_posture_rule": access_device_posture_rule$, + "access_domain": access_domain$, + "access_domain_rule": access_domain_rule$, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting$, + "access_email_list_rule": access_email_list_rule$, + "access_email_rule": access_email_rule$, + "access_enable_binding_cookie": access_enable_binding_cookie$, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination$, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination$, + "access_end_user_destinations": access_end_user_destinations$, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration$, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination$, + "access_end_user_props": access_end_user_props$, + "access_end_user_public_destination": access_end_user_public_destination$, + "access_end_user_worker_destination": access_end_user_worker_destination$, + "access_everyone_rule": access_everyone_rule$, + "access_exclude-2": access_exclude$$2$, + "access_external_evaluation_rule": access_external_evaluation_rule$, + "access_feature_app_props": access_feature_app_props$, + "access_footer_links": access_footer_links$, + "access_github_organization_rule": access_github_organization_rule$, + "access_gsuite_group_rule": access_gsuite_group_rule$, + "access_header_bg_color": access_header_bg_color$, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute$, + "access_identifier": access_identifier$, + "access_image_url": access_image_url$, + "access_include-2": access_include$$2$, + "access_infra_app_req_embedded_policies": access_infra_app_req_embedded_policies, + "access_infra_mfa_config": access_infra_mfa_config$, + "access_infra_policy_req": access_infra_policy_req, + "access_infra_props": access_infra_props$, + "access_ip_list_rule": access_ip_list_rule$, + "access_ip_rule": access_ip_rule$, + "access_isolation_required": access_isolation_required$, + "access_landing_page_design": access_landing_page_design$, + "access_linked_app_token_rule": access_linked_app_token_rule$, + "access_login_method_rule": access_login_method_rule$, + "access_logo_url": access_logo_url$, + "access_max_age": access_max_age$, + "access_mcp_portal_props": access_mcp_portal_props$, + "access_mcp_props": access_mcp_props$, + "access_message": access_message$, + "access_mfa_config": access_mfa_config$, + "access_name-8": access_name$$8$, + "access_name-9": access_name$$9$, + "access_oauth_configuration": access_oauth_configuration$, + "access_oidc_claim_rule": access_oidc_claim_rule$, + "access_oidc_saas_app": access_oidc_saas_app$, + "access_okta_group_rule": access_okta_group_rule$, + "access_options_preflight_bypass": access_options_preflight_bypass$, + "access_path_cookie_attribute": access_path_cookie_attribute$, + "access_policy_req": access_policy_req, + "access_policy_resolution_account_id": access_policy_resolution_account_id$, + "access_port": access_port$, + "access_precedence": access_precedence$, + "access_protocol_infra_app": access_protocol_infra_app$, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app$, + "access_proxy_endpoint_props": access_proxy_endpoint_props$, + "access_purpose_justification_prompt": access_purpose_justification_prompt$, + "access_purpose_justification_required": access_purpose_justification_required$, + "access_rdp_clipboard_format": access_rdp_clipboard_format$, + "access_rdp_props": access_rdp_props$, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header$, + "access_require-2": access_require$$2$, + "access_rule": access_rule$, + "access_saas_props": access_saas_props$, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute$, + "access_saml_group_rule": access_saml_group_rule$, + "access_saml_saas_app": access_saml_saas_app$, + "access_scim_config": access_scim_config$, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token$, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic$, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2$, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token$, + "access_scim_config_mapping": access_scim_config_mapping$, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication$, + "access_scim_config_single_authentication": access_scim_config_single_authentication$, + "access_self_hosted_domains": access_self_hosted_domains$, + "access_self_hosted_props": access_self_hosted_props$, + "access_service_auth_401_redirect": access_service_auth_401_redirect$, + "access_service_token_rule": access_service_token_rule$, + "access_service_token_tag_rule": access_service_token_tag_rule$, + "access_session_duration-2": access_session_duration$$2$, + "access_session_duration-3": access_session_duration$$3$, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page$, + "access_skip_interstitial": access_skip_interstitial$, + "access_ssh_props": access_ssh_props$, + "access_tags-2": access_tags$$2$, + "access_target_attributes": access_target_attributes$, + "access_target_criteria_base": access_target_criteria_base$, + "access_target_criteria_infra_app": access_target_criteria_infra_app$, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app$, + "access_target_rule": access_target_rule$, + "access_target_rule_attributes": access_target_rule_attributes$, + "access_timestamp": access_timestamp$, + "access_title": access_title$, + "access_type": access_type$, + "access_updated_at": access_updated_at$, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url$, + "access_user_risk_score_rule": access_user_risk_score_rule$, + "access_usernames": access_usernames$, + "access_uuid": access_uuid$, + "access_uuid-2": access_uuid$$2$, + "access_vnc_props": access_vnc_props$, + "access_warp_props": access_warp_props$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/access_single_response-9" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/access_app_response" + } + }, + "type": "object" + } + ], $defs: { "access_access_group_rule": access_access_group_rule, "access_allow_all_headers": access_allow_all_headers, "access_allow_all_methods": access_allow_all_methods, "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, "access_allow_credentials": access_allow_credentials, "access_allow_email_alias": access_allow_email_alias, "access_allow_iframe": access_allow_iframe, @@ -393,24 +578,25 @@ export const tools: readonly Tool[] = [ "access_allowed_methods": access_allowed_methods, "access_allowed_origins": access_allowed_origins, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-single": access_api$$response$$single, "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, "access_app_launcher_visible": access_app_launcher_visible, - "access_app_policy_link": access_app_policy_link, - "access_app_policy_request": access_app_policy_request, - "access_app_req_embedded_policies": access_app_req_embedded_policies, - "access_app_req_embedded_scim_config": access_app_req_embedded_scim_config, - "access_app_request": access_app_request, + "access_app_policy_response": access_app_policy_response, + "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted, + "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, "access_approval_required": access_approval_required, + "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, - "access_base_policy_req": access_base_policy_req, + "access_base_policy_resp": access_base_policy_resp, + "access_basic_app_response_props": access_basic_app_response_props, "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, @@ -429,7 +615,7 @@ export const tools: readonly Tool[] = [ "access_custom_deny_message": access_custom_deny_message, "access_custom_deny_url": access_custom_deny_url, "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, - "access_custom_pages-2": access_custom_pages_2, + "access_custom_pages-2": access_custom_pages$$2, "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, @@ -449,7 +635,7 @@ export const tools: readonly Tool[] = [ "access_end_user_public_destination": access_end_user_public_destination, "access_end_user_worker_destination": access_end_user_worker_destination, "access_everyone_rule": access_everyone_rule, - "access_exclude-2": access_exclude_2, + "access_exclude-2": access_exclude$$2, "access_external_evaluation_rule": access_external_evaluation_rule, "access_feature_app_props": access_feature_app_props, "access_footer_links": access_footer_links, @@ -459,10 +645,10 @@ export const tools: readonly Tool[] = [ "access_http_only_cookie_attribute": access_http_only_cookie_attribute, "access_identifier": access_identifier, "access_image_url": access_image_url, - "access_include-2": access_include_2, - "access_infra_app_req_embedded_policies": access_infra_app_req_embedded_policies, + "access_include-2": access_include$$2, + "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, - "access_infra_policy_req": access_infra_policy_req, + "access_infra_policy_resp": access_infra_policy_resp, "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, @@ -475,17 +661,18 @@ export const tools: readonly Tool[] = [ "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, "access_message": access_message, + "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name_8, - "access_name-9": access_name_9, + "access_name-8": access_name$$8, + "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, "access_options_preflight_bypass": access_options_preflight_bypass, "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_req": access_policy_req, "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, "access_port": access_port, "access_precedence": access_precedence, "access_protocol_infra_app": access_protocol_infra_app, @@ -496,7 +683,7 @@ export const tools: readonly Tool[] = [ "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, "access_read_service_tokens_from_header": access_read_service_tokens_from_header, - "access_require-2": access_require_2, + "access_require-2": access_require$$2, "access_rule": access_rule, "access_saas_props": access_saas_props, "access_same_site_cookie_attribute": access_same_site_cookie_attribute, @@ -515,12 +702,13 @@ export const tools: readonly Tool[] = [ "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration_2, - "access_session_duration-3": access_session_duration_3, + "access_session_duration-2": access_session_duration$$2, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-9": access_single_response$$9, "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, - "access_tags-2": access_tags_2, + "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, "access_target_criteria_base": access_target_criteria_base, "access_target_criteria_infra_app": access_target_criteria_infra_app, @@ -535,191 +723,11 @@ export const tools: readonly Tool[] = [ "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, "access_uuid": access_uuid, - "access_uuid-2": access_uuid_2, + "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/access_single_response-9" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/access_app_response" - } - }, - "type": "object" - } - ], - $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_all_headers": access_allow_all_headers_output, - "access_allow_all_methods": access_allow_all_methods_output, - "access_allow_all_origins": access_allow_all_origins_output, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, - "access_allow_credentials": access_allow_credentials_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allow_iframe": access_allow_iframe_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_allowed_headers": access_allowed_headers_output, - "access_allowed_idps": access_allowed_idps_output, - "access_allowed_methods": access_allowed_methods_output, - "access_allowed_origins": access_allowed_origins_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_app_launcher_logo_url": access_app_launcher_logo_url_output, - "access_app_launcher_props": access_app_launcher_props_output, - "access_app_launcher_visible": access_app_launcher_visible_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_resp_embedded_policies": access_app_resp_embedded_policies_output, - "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra_output, - "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted_output, - "access_app_response": access_app_response_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_aud-2": access_aud_2_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_basic_app_response_props": access_basic_app_response_props_output, - "access_bg_color": access_bg_color_output, - "access_biso_props": access_biso_props_output, - "access_bookmark_props": access_bookmark_props_output, - "access_button_color": access_button_color_output, - "access_button_text_color": access_button_text_color_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_cors_headers": access_cors_headers_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_custom_deny_message": access_custom_deny_message_output, - "access_custom_deny_url": access_custom_deny_url_output, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, - "access_custom_pages-2": access_custom_pages_2_output, - "access_decision": access_decision_output, - "access_destination_overrides": access_destination_overrides_output, - "access_destinations": access_destinations_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain": access_domain_output, - "access_domain_rule": access_domain_rule_output, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_enable_binding_cookie": access_enable_binding_cookie_output, - "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, - "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, - "access_end_user_destinations": access_end_user_destinations_output, - "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, - "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, - "access_end_user_props": access_end_user_props_output, - "access_end_user_public_destination": access_end_user_public_destination_output, - "access_end_user_worker_destination": access_end_user_worker_destination_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_feature_app_props": access_feature_app_props_output, - "access_footer_links": access_footer_links_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_header_bg_color": access_header_bg_color_output, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, - "access_identifier": access_identifier_output, - "access_image_url": access_image_url_output, - "access_include-2": access_include_2_output, - "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_infra_props": access_infra_props_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_landing_page_design": access_landing_page_design_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_logo_url": access_logo_url_output, - "access_max_age": access_max_age_output, - "access_mcp_portal_props": access_mcp_portal_props_output, - "access_mcp_props": access_mcp_props_output, - "access_message": access_message_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-8": access_name_8_output, - "access_name-9": access_name_9_output, - "access_oauth_configuration": access_oauth_configuration_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_oidc_saas_app": access_oidc_saas_app_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_options_preflight_bypass": access_options_preflight_bypass_output, - "access_path_cookie_attribute": access_path_cookie_attribute_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_port": access_port_output, - "access_precedence": access_precedence_output, - "access_protocol_infra_app": access_protocol_infra_app_output, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, - "access_proxy_endpoint_props": access_proxy_endpoint_props_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_rdp_props": access_rdp_props_output, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, - "access_require-2": access_require_2_output, - "access_rule": access_rule_output, - "access_saas_props": access_saas_props_output, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_saml_saas_app": access_saml_saas_app_output, - "access_scim_config": access_scim_config_output, - "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, - "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, - "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, - "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, - "access_scim_config_mapping": access_scim_config_mapping_output, - "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, - "access_scim_config_single_authentication": access_scim_config_single_authentication_output, - "access_self_hosted_domains": access_self_hosted_domains_output, - "access_self_hosted_props": access_self_hosted_props_output, - "access_service_auth_401_redirect": access_service_auth_401_redirect_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-2": access_session_duration_2_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-9": access_single_response_9_output, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, - "access_skip_interstitial": access_skip_interstitial_output, - "access_ssh_props": access_ssh_props_output, - "access_tags-2": access_tags_2_output, - "access_target_attributes": access_target_attributes_output, - "access_target_criteria_base": access_target_criteria_base_output, - "access_target_criteria_infra_app": access_target_criteria_infra_app_output, - "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, - "access_target_rule": access_target_rule_output, - "access_target_rule_attributes": access_target_rule_attributes_output, - "access_timestamp": access_timestamp_output, - "access_title": access_title_output, - "access_type": access_type_output, - "access_updated_at": access_updated_at_output, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid": access_uuid_output, - "access_uuid-2": access_uuid_2_output, - "access_vnc_props": access_vnc_props_output, - "access_warp_props": access_warp_props_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -757,170 +765,170 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_all_headers": access_allow_all_headers_output, - "access_allow_all_methods": access_allow_all_methods_output, - "access_allow_all_origins": access_allow_all_origins_output, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, - "access_allow_credentials": access_allow_credentials_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allow_iframe": access_allow_iframe_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_allowed_headers": access_allowed_headers_output, - "access_allowed_idps": access_allowed_idps_output, - "access_allowed_methods": access_allowed_methods_output, - "access_allowed_origins": access_allowed_origins_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_launcher_logo_url": access_app_launcher_logo_url_output, - "access_app_launcher_props": access_app_launcher_props_output, - "access_app_launcher_visible": access_app_launcher_visible_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_resp_embedded_policies": access_app_resp_embedded_policies_output, - "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra_output, - "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted_output, - "access_app_response": access_app_response_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_aud-2": access_aud_2_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_basic_app_response_props": access_basic_app_response_props_output, - "access_bg_color": access_bg_color_output, - "access_biso_props": access_biso_props_output, - "access_bookmark_props": access_bookmark_props_output, - "access_button_color": access_button_color_output, - "access_button_text_color": access_button_text_color_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_cors_headers": access_cors_headers_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_custom_deny_message": access_custom_deny_message_output, - "access_custom_deny_url": access_custom_deny_url_output, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, - "access_custom_pages-2": access_custom_pages_2_output, - "access_decision": access_decision_output, - "access_destination_overrides": access_destination_overrides_output, - "access_destinations": access_destinations_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain": access_domain_output, - "access_domain_rule": access_domain_rule_output, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_enable_binding_cookie": access_enable_binding_cookie_output, - "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, - "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, - "access_end_user_destinations": access_end_user_destinations_output, - "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, - "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, - "access_end_user_props": access_end_user_props_output, - "access_end_user_public_destination": access_end_user_public_destination_output, - "access_end_user_worker_destination": access_end_user_worker_destination_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_feature_app_props": access_feature_app_props_output, - "access_footer_links": access_footer_links_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_header_bg_color": access_header_bg_color_output, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, - "access_identifier": access_identifier_output, - "access_image_url": access_image_url_output, - "access_include-2": access_include_2_output, - "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_infra_props": access_infra_props_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_landing_page_design": access_landing_page_design_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_logo_url": access_logo_url_output, - "access_max_age": access_max_age_output, - "access_mcp_portal_props": access_mcp_portal_props_output, - "access_mcp_props": access_mcp_props_output, - "access_message": access_message_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-8": access_name_8_output, - "access_name-9": access_name_9_output, - "access_oauth_configuration": access_oauth_configuration_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_oidc_saas_app": access_oidc_saas_app_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_options_preflight_bypass": access_options_preflight_bypass_output, - "access_path_cookie_attribute": access_path_cookie_attribute_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_port": access_port_output, - "access_precedence": access_precedence_output, - "access_protocol_infra_app": access_protocol_infra_app_output, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, - "access_proxy_endpoint_props": access_proxy_endpoint_props_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_rdp_props": access_rdp_props_output, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, - "access_require-2": access_require_2_output, - "access_rule": access_rule_output, - "access_saas_props": access_saas_props_output, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_saml_saas_app": access_saml_saas_app_output, - "access_scim_config": access_scim_config_output, - "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, - "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, - "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, - "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, - "access_scim_config_mapping": access_scim_config_mapping_output, - "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, - "access_scim_config_single_authentication": access_scim_config_single_authentication_output, - "access_self_hosted_domains": access_self_hosted_domains_output, - "access_self_hosted_props": access_self_hosted_props_output, - "access_service_auth_401_redirect": access_service_auth_401_redirect_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-2": access_session_duration_2_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-9": access_single_response_9_output, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, - "access_skip_interstitial": access_skip_interstitial_output, - "access_ssh_props": access_ssh_props_output, - "access_tags-2": access_tags_2_output, - "access_target_attributes": access_target_attributes_output, - "access_target_criteria_base": access_target_criteria_base_output, - "access_target_criteria_infra_app": access_target_criteria_infra_app_output, - "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, - "access_target_rule": access_target_rule_output, - "access_target_rule_attributes": access_target_rule_attributes_output, - "access_timestamp": access_timestamp_output, - "access_title": access_title_output, - "access_type": access_type_output, - "access_updated_at": access_updated_at_output, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid": access_uuid_output, - "access_uuid-2": access_uuid_2_output, - "access_vnc_props": access_vnc_props_output, - "access_warp_props": access_warp_props_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_all_headers": access_allow_all_headers, + "access_allow_all_methods": access_allow_all_methods, + "access_allow_all_origins": access_allow_all_origins, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, + "access_allow_credentials": access_allow_credentials, + "access_allow_email_alias": access_allow_email_alias, + "access_allow_iframe": access_allow_iframe, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_allowed_headers": access_allowed_headers, + "access_allowed_idps": access_allowed_idps, + "access_allowed_methods": access_allowed_methods, + "access_allowed_origins": access_allowed_origins, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_launcher_logo_url": access_app_launcher_logo_url, + "access_app_launcher_props": access_app_launcher_props, + "access_app_launcher_visible": access_app_launcher_visible, + "access_app_policy_response": access_app_policy_response, + "access_app_resp_embedded_policies": access_app_resp_embedded_policies, + "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, + "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted, + "access_app_response": access_app_response, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_aud-2": access_aud$$2, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_basic_app_response_props": access_basic_app_response_props, + "access_bg_color": access_bg_color, + "access_biso_props": access_biso_props, + "access_bookmark_props": access_bookmark_props, + "access_button_color": access_button_color, + "access_button_text_color": access_button_text_color, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_cors_headers": access_cors_headers, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_custom_deny_message": access_custom_deny_message, + "access_custom_deny_url": access_custom_deny_url, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, + "access_custom_pages-2": access_custom_pages$$2, + "access_decision": access_decision, + "access_destination_overrides": access_destination_overrides, + "access_destinations": access_destinations, + "access_device_posture_rule": access_device_posture_rule, + "access_domain": access_domain, + "access_domain_rule": access_domain_rule, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_enable_binding_cookie": access_enable_binding_cookie, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination, + "access_end_user_destinations": access_end_user_destinations, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination, + "access_end_user_props": access_end_user_props, + "access_end_user_public_destination": access_end_user_public_destination, + "access_end_user_worker_destination": access_end_user_worker_destination, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_feature_app_props": access_feature_app_props, + "access_footer_links": access_footer_links, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_header_bg_color": access_header_bg_color, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute, + "access_identifier": access_identifier, + "access_image_url": access_image_url, + "access_include-2": access_include$$2, + "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_infra_props": access_infra_props, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_landing_page_design": access_landing_page_design, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_logo_url": access_logo_url, + "access_max_age": access_max_age, + "access_mcp_portal_props": access_mcp_portal_props, + "access_mcp_props": access_mcp_props, + "access_message": access_message, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-8": access_name$$8, + "access_name-9": access_name$$9, + "access_oauth_configuration": access_oauth_configuration, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_oidc_saas_app": access_oidc_saas_app, + "access_okta_group_rule": access_okta_group_rule, + "access_options_preflight_bypass": access_options_preflight_bypass, + "access_path_cookie_attribute": access_path_cookie_attribute, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_port": access_port, + "access_precedence": access_precedence, + "access_protocol_infra_app": access_protocol_infra_app, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app, + "access_proxy_endpoint_props": access_proxy_endpoint_props, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_rdp_props": access_rdp_props, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header, + "access_require-2": access_require$$2, + "access_rule": access_rule, + "access_saas_props": access_saas_props, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute, + "access_saml_group_rule": access_saml_group_rule, + "access_saml_saas_app": access_saml_saas_app, + "access_scim_config": access_scim_config, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token, + "access_scim_config_mapping": access_scim_config_mapping, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication, + "access_scim_config_single_authentication": access_scim_config_single_authentication, + "access_self_hosted_domains": access_self_hosted_domains, + "access_self_hosted_props": access_self_hosted_props, + "access_service_auth_401_redirect": access_service_auth_401_redirect, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-2": access_session_duration$$2, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-9": access_single_response$$9, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, + "access_skip_interstitial": access_skip_interstitial, + "access_ssh_props": access_ssh_props, + "access_tags-2": access_tags$$2, + "access_target_attributes": access_target_attributes, + "access_target_criteria_base": access_target_criteria_base, + "access_target_criteria_infra_app": access_target_criteria_infra_app, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, + "access_target_rule": access_target_rule, + "access_target_rule_attributes": access_target_rule_attributes, + "access_timestamp": access_timestamp, + "access_title": access_title, + "access_type": access_type, + "access_updated_at": access_updated_at, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid": access_uuid, + "access_uuid-2": access_uuid$$2, + "access_vnc_props": access_vnc_props, + "access_warp_props": access_warp_props, }, }, request: (args) => ({ @@ -929,46 +937,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_applications_delete", + name: "zeroTrust_access_applications_delete", title: "Delete an Access application", description: "Deletes an application from Access.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_app_id" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_app_id" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id" + "path" ], $defs: { "access_app_id": access_app_id, - "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_identifier": access_identifier$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_id_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, annotations: { @@ -995,11 +1011,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -1007,206 +1023,214 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_applications_get", + name: "zeroTrust_access_applications_get", title: "Get an Access application", description: "Fetches information about an Access application.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_app_id" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_app_id" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id" + "path" ], $defs: { "access_app_id": access_app_id, - "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_identifier": access_identifier$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-9", $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_all_headers": access_allow_all_headers_output, - "access_allow_all_methods": access_allow_all_methods_output, - "access_allow_all_origins": access_allow_all_origins_output, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, - "access_allow_credentials": access_allow_credentials_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allow_iframe": access_allow_iframe_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_allowed_headers": access_allowed_headers_output, - "access_allowed_idps": access_allowed_idps_output, - "access_allowed_methods": access_allowed_methods_output, - "access_allowed_origins": access_allowed_origins_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_app_launcher_logo_url": access_app_launcher_logo_url_output, - "access_app_launcher_props": access_app_launcher_props_output, - "access_app_launcher_visible": access_app_launcher_visible_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_resp_embedded_policies": access_app_resp_embedded_policies_output, - "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra_output, - "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted_output, - "access_app_response": access_app_response_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_aud-2": access_aud_2_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_basic_app_response_props": access_basic_app_response_props_output, - "access_bg_color": access_bg_color_output, - "access_biso_props": access_biso_props_output, - "access_bookmark_props": access_bookmark_props_output, - "access_button_color": access_button_color_output, - "access_button_text_color": access_button_text_color_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_cors_headers": access_cors_headers_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_custom_deny_message": access_custom_deny_message_output, - "access_custom_deny_url": access_custom_deny_url_output, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, - "access_custom_pages-2": access_custom_pages_2_output, - "access_decision": access_decision_output, - "access_destination_overrides": access_destination_overrides_output, - "access_destinations": access_destinations_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain": access_domain_output, - "access_domain_rule": access_domain_rule_output, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_enable_binding_cookie": access_enable_binding_cookie_output, - "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, - "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, - "access_end_user_destinations": access_end_user_destinations_output, - "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, - "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, - "access_end_user_props": access_end_user_props_output, - "access_end_user_public_destination": access_end_user_public_destination_output, - "access_end_user_worker_destination": access_end_user_worker_destination_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_feature_app_props": access_feature_app_props_output, - "access_footer_links": access_footer_links_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_header_bg_color": access_header_bg_color_output, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, - "access_identifier": access_identifier_output, - "access_image_url": access_image_url_output, - "access_include-2": access_include_2_output, - "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_infra_props": access_infra_props_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_landing_page_design": access_landing_page_design_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_logo_url": access_logo_url_output, - "access_max_age": access_max_age_output, - "access_mcp_portal_props": access_mcp_portal_props_output, - "access_mcp_props": access_mcp_props_output, - "access_message": access_message_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-8": access_name_8_output, - "access_name-9": access_name_9_output, - "access_oauth_configuration": access_oauth_configuration_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_oidc_saas_app": access_oidc_saas_app_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_options_preflight_bypass": access_options_preflight_bypass_output, - "access_path_cookie_attribute": access_path_cookie_attribute_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_port": access_port_output, - "access_precedence": access_precedence_output, - "access_protocol_infra_app": access_protocol_infra_app_output, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, - "access_proxy_endpoint_props": access_proxy_endpoint_props_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_rdp_props": access_rdp_props_output, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, - "access_require-2": access_require_2_output, - "access_rule": access_rule_output, - "access_saas_props": access_saas_props_output, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_saml_saas_app": access_saml_saas_app_output, - "access_scim_config": access_scim_config_output, - "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, - "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, - "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, - "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, - "access_scim_config_mapping": access_scim_config_mapping_output, - "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, - "access_scim_config_single_authentication": access_scim_config_single_authentication_output, - "access_self_hosted_domains": access_self_hosted_domains_output, - "access_self_hosted_props": access_self_hosted_props_output, - "access_service_auth_401_redirect": access_service_auth_401_redirect_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-2": access_session_duration_2_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-9": access_single_response_9_output, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, - "access_skip_interstitial": access_skip_interstitial_output, - "access_ssh_props": access_ssh_props_output, - "access_tags-2": access_tags_2_output, - "access_target_attributes": access_target_attributes_output, - "access_target_criteria_base": access_target_criteria_base_output, - "access_target_criteria_infra_app": access_target_criteria_infra_app_output, - "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, - "access_target_rule": access_target_rule_output, - "access_target_rule_attributes": access_target_rule_attributes_output, - "access_timestamp": access_timestamp_output, - "access_title": access_title_output, - "access_type": access_type_output, - "access_updated_at": access_updated_at_output, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid": access_uuid_output, - "access_uuid-2": access_uuid_2_output, - "access_vnc_props": access_vnc_props_output, - "access_warp_props": access_warp_props_output, - }, + "access_access_group_rule": access_access_group_rule, + "access_allow_all_headers": access_allow_all_headers, + "access_allow_all_methods": access_allow_all_methods, + "access_allow_all_origins": access_allow_all_origins, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, + "access_allow_credentials": access_allow_credentials, + "access_allow_email_alias": access_allow_email_alias, + "access_allow_iframe": access_allow_iframe, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_allowed_headers": access_allowed_headers, + "access_allowed_idps": access_allowed_idps, + "access_allowed_methods": access_allowed_methods, + "access_allowed_origins": access_allowed_origins, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-single": access_api$$response$$single, + "access_app_launcher_logo_url": access_app_launcher_logo_url, + "access_app_launcher_props": access_app_launcher_props, + "access_app_launcher_visible": access_app_launcher_visible, + "access_app_policy_response": access_app_policy_response, + "access_app_resp_embedded_policies": access_app_resp_embedded_policies, + "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, + "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted, + "access_app_response": access_app_response, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_aud-2": access_aud$$2, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_basic_app_response_props": access_basic_app_response_props, + "access_bg_color": access_bg_color, + "access_biso_props": access_biso_props, + "access_bookmark_props": access_bookmark_props, + "access_button_color": access_button_color, + "access_button_text_color": access_button_text_color, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_cors_headers": access_cors_headers, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_custom_deny_message": access_custom_deny_message, + "access_custom_deny_url": access_custom_deny_url, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, + "access_custom_pages-2": access_custom_pages$$2, + "access_decision": access_decision, + "access_destination_overrides": access_destination_overrides, + "access_destinations": access_destinations, + "access_device_posture_rule": access_device_posture_rule, + "access_domain": access_domain, + "access_domain_rule": access_domain_rule, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_enable_binding_cookie": access_enable_binding_cookie, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination, + "access_end_user_destinations": access_end_user_destinations, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination, + "access_end_user_props": access_end_user_props, + "access_end_user_public_destination": access_end_user_public_destination, + "access_end_user_worker_destination": access_end_user_worker_destination, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_feature_app_props": access_feature_app_props, + "access_footer_links": access_footer_links, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_header_bg_color": access_header_bg_color, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute, + "access_identifier": access_identifier, + "access_image_url": access_image_url, + "access_include-2": access_include$$2, + "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_infra_props": access_infra_props, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_landing_page_design": access_landing_page_design, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_logo_url": access_logo_url, + "access_max_age": access_max_age, + "access_mcp_portal_props": access_mcp_portal_props, + "access_mcp_props": access_mcp_props, + "access_message": access_message, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-8": access_name$$8, + "access_name-9": access_name$$9, + "access_oauth_configuration": access_oauth_configuration, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_oidc_saas_app": access_oidc_saas_app, + "access_okta_group_rule": access_okta_group_rule, + "access_options_preflight_bypass": access_options_preflight_bypass, + "access_path_cookie_attribute": access_path_cookie_attribute, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_port": access_port, + "access_precedence": access_precedence, + "access_protocol_infra_app": access_protocol_infra_app, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app, + "access_proxy_endpoint_props": access_proxy_endpoint_props, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_rdp_props": access_rdp_props, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header, + "access_require-2": access_require$$2, + "access_rule": access_rule, + "access_saas_props": access_saas_props, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute, + "access_saml_group_rule": access_saml_group_rule, + "access_saml_saas_app": access_saml_saas_app, + "access_scim_config": access_scim_config, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token, + "access_scim_config_mapping": access_scim_config_mapping, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication, + "access_scim_config_single_authentication": access_scim_config_single_authentication, + "access_self_hosted_domains": access_self_hosted_domains, + "access_self_hosted_props": access_self_hosted_props, + "access_service_auth_401_redirect": access_service_auth_401_redirect, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-2": access_session_duration$$2, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-9": access_single_response$$9, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, + "access_skip_interstitial": access_skip_interstitial, + "access_ssh_props": access_ssh_props, + "access_tags-2": access_tags$$2, + "access_target_attributes": access_target_attributes, + "access_target_criteria_base": access_target_criteria_base, + "access_target_criteria_infra_app": access_target_criteria_infra_app, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, + "access_target_rule": access_target_rule, + "access_target_rule_attributes": access_target_rule_attributes, + "access_timestamp": access_timestamp, + "access_title": access_title, + "access_type": access_type, + "access_updated_at": access_updated_at, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid": access_uuid, + "access_uuid-2": access_uuid$$2, + "access_vnc_props": access_vnc_props, + "access_warp_props": access_warp_props, + }, }, annotations: { "destructiveHint": false, @@ -1234,170 +1258,170 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_all_headers": access_allow_all_headers_output, - "access_allow_all_methods": access_allow_all_methods_output, - "access_allow_all_origins": access_allow_all_origins_output, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, - "access_allow_credentials": access_allow_credentials_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allow_iframe": access_allow_iframe_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_allowed_headers": access_allowed_headers_output, - "access_allowed_idps": access_allowed_idps_output, - "access_allowed_methods": access_allowed_methods_output, - "access_allowed_origins": access_allowed_origins_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_launcher_logo_url": access_app_launcher_logo_url_output, - "access_app_launcher_props": access_app_launcher_props_output, - "access_app_launcher_visible": access_app_launcher_visible_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_resp_embedded_policies": access_app_resp_embedded_policies_output, - "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra_output, - "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted_output, - "access_app_response": access_app_response_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_aud-2": access_aud_2_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_basic_app_response_props": access_basic_app_response_props_output, - "access_bg_color": access_bg_color_output, - "access_biso_props": access_biso_props_output, - "access_bookmark_props": access_bookmark_props_output, - "access_button_color": access_button_color_output, - "access_button_text_color": access_button_text_color_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_cors_headers": access_cors_headers_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_custom_deny_message": access_custom_deny_message_output, - "access_custom_deny_url": access_custom_deny_url_output, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, - "access_custom_pages-2": access_custom_pages_2_output, - "access_decision": access_decision_output, - "access_destination_overrides": access_destination_overrides_output, - "access_destinations": access_destinations_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain": access_domain_output, - "access_domain_rule": access_domain_rule_output, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_enable_binding_cookie": access_enable_binding_cookie_output, - "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, - "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, - "access_end_user_destinations": access_end_user_destinations_output, - "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, - "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, - "access_end_user_props": access_end_user_props_output, - "access_end_user_public_destination": access_end_user_public_destination_output, - "access_end_user_worker_destination": access_end_user_worker_destination_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_feature_app_props": access_feature_app_props_output, - "access_footer_links": access_footer_links_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_header_bg_color": access_header_bg_color_output, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, - "access_identifier": access_identifier_output, - "access_image_url": access_image_url_output, - "access_include-2": access_include_2_output, - "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_infra_props": access_infra_props_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_landing_page_design": access_landing_page_design_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_logo_url": access_logo_url_output, - "access_max_age": access_max_age_output, - "access_mcp_portal_props": access_mcp_portal_props_output, - "access_mcp_props": access_mcp_props_output, - "access_message": access_message_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-8": access_name_8_output, - "access_name-9": access_name_9_output, - "access_oauth_configuration": access_oauth_configuration_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_oidc_saas_app": access_oidc_saas_app_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_options_preflight_bypass": access_options_preflight_bypass_output, - "access_path_cookie_attribute": access_path_cookie_attribute_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_port": access_port_output, - "access_precedence": access_precedence_output, - "access_protocol_infra_app": access_protocol_infra_app_output, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, - "access_proxy_endpoint_props": access_proxy_endpoint_props_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_rdp_props": access_rdp_props_output, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, - "access_require-2": access_require_2_output, - "access_rule": access_rule_output, - "access_saas_props": access_saas_props_output, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_saml_saas_app": access_saml_saas_app_output, - "access_scim_config": access_scim_config_output, - "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, - "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, - "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, - "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, - "access_scim_config_mapping": access_scim_config_mapping_output, - "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, - "access_scim_config_single_authentication": access_scim_config_single_authentication_output, - "access_self_hosted_domains": access_self_hosted_domains_output, - "access_self_hosted_props": access_self_hosted_props_output, - "access_service_auth_401_redirect": access_service_auth_401_redirect_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-2": access_session_duration_2_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-9": access_single_response_9_output, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, - "access_skip_interstitial": access_skip_interstitial_output, - "access_ssh_props": access_ssh_props_output, - "access_tags-2": access_tags_2_output, - "access_target_attributes": access_target_attributes_output, - "access_target_criteria_base": access_target_criteria_base_output, - "access_target_criteria_infra_app": access_target_criteria_infra_app_output, - "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, - "access_target_rule": access_target_rule_output, - "access_target_rule_attributes": access_target_rule_attributes_output, - "access_timestamp": access_timestamp_output, - "access_title": access_title_output, - "access_type": access_type_output, - "access_updated_at": access_updated_at_output, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid": access_uuid_output, - "access_uuid-2": access_uuid_2_output, - "access_vnc_props": access_vnc_props_output, - "access_warp_props": access_warp_props_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_all_headers": access_allow_all_headers, + "access_allow_all_methods": access_allow_all_methods, + "access_allow_all_origins": access_allow_all_origins, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, + "access_allow_credentials": access_allow_credentials, + "access_allow_email_alias": access_allow_email_alias, + "access_allow_iframe": access_allow_iframe, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_allowed_headers": access_allowed_headers, + "access_allowed_idps": access_allowed_idps, + "access_allowed_methods": access_allowed_methods, + "access_allowed_origins": access_allowed_origins, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_launcher_logo_url": access_app_launcher_logo_url, + "access_app_launcher_props": access_app_launcher_props, + "access_app_launcher_visible": access_app_launcher_visible, + "access_app_policy_response": access_app_policy_response, + "access_app_resp_embedded_policies": access_app_resp_embedded_policies, + "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, + "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted, + "access_app_response": access_app_response, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_aud-2": access_aud$$2, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_basic_app_response_props": access_basic_app_response_props, + "access_bg_color": access_bg_color, + "access_biso_props": access_biso_props, + "access_bookmark_props": access_bookmark_props, + "access_button_color": access_button_color, + "access_button_text_color": access_button_text_color, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_cors_headers": access_cors_headers, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_custom_deny_message": access_custom_deny_message, + "access_custom_deny_url": access_custom_deny_url, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, + "access_custom_pages-2": access_custom_pages$$2, + "access_decision": access_decision, + "access_destination_overrides": access_destination_overrides, + "access_destinations": access_destinations, + "access_device_posture_rule": access_device_posture_rule, + "access_domain": access_domain, + "access_domain_rule": access_domain_rule, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_enable_binding_cookie": access_enable_binding_cookie, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination, + "access_end_user_destinations": access_end_user_destinations, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination, + "access_end_user_props": access_end_user_props, + "access_end_user_public_destination": access_end_user_public_destination, + "access_end_user_worker_destination": access_end_user_worker_destination, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_feature_app_props": access_feature_app_props, + "access_footer_links": access_footer_links, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_header_bg_color": access_header_bg_color, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute, + "access_identifier": access_identifier, + "access_image_url": access_image_url, + "access_include-2": access_include$$2, + "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_infra_props": access_infra_props, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_landing_page_design": access_landing_page_design, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_logo_url": access_logo_url, + "access_max_age": access_max_age, + "access_mcp_portal_props": access_mcp_portal_props, + "access_mcp_props": access_mcp_props, + "access_message": access_message, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-8": access_name$$8, + "access_name-9": access_name$$9, + "access_oauth_configuration": access_oauth_configuration, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_oidc_saas_app": access_oidc_saas_app, + "access_okta_group_rule": access_okta_group_rule, + "access_options_preflight_bypass": access_options_preflight_bypass, + "access_path_cookie_attribute": access_path_cookie_attribute, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_port": access_port, + "access_precedence": access_precedence, + "access_protocol_infra_app": access_protocol_infra_app, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app, + "access_proxy_endpoint_props": access_proxy_endpoint_props, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_rdp_props": access_rdp_props, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header, + "access_require-2": access_require$$2, + "access_rule": access_rule, + "access_saas_props": access_saas_props, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute, + "access_saml_group_rule": access_saml_group_rule, + "access_saml_saas_app": access_saml_saas_app, + "access_scim_config": access_scim_config, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token, + "access_scim_config_mapping": access_scim_config_mapping, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication, + "access_scim_config_single_authentication": access_scim_config_single_authentication, + "access_self_hosted_domains": access_self_hosted_domains, + "access_self_hosted_props": access_self_hosted_props, + "access_service_auth_401_redirect": access_service_auth_401_redirect, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-2": access_session_duration$$2, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-9": access_single_response$$9, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, + "access_skip_interstitial": access_skip_interstitial, + "access_ssh_props": access_ssh_props, + "access_tags-2": access_tags$$2, + "access_target_attributes": access_target_attributes, + "access_target_criteria_base": access_target_criteria_base, + "access_target_criteria_infra_app": access_target_criteria_infra_app, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, + "access_target_rule": access_target_rule, + "access_target_rule_attributes": access_target_rule_attributes, + "access_timestamp": access_timestamp, + "access_title": access_title, + "access_type": access_type, + "access_updated_at": access_updated_at, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid": access_uuid, + "access_uuid-2": access_uuid$$2, + "access_vnc_props": access_vnc_props, + "access_warp_props": access_warp_props, }, }, request: (args) => ({ @@ -1405,234 +1429,247 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_applications_list", + name: "zeroTrust_access_applications_list", title: "List Access applications", description: "Lists all Access applications in an account or zone.", inputSchema: { type: "object", - properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "aud": { - "description": "The aud of the app.", - "type": "string" - }, - "domain": { - "description": "The domain of the app.", - "type": "string" - }, - "exact": { - "description": "True for only exact string matches against passed name/domain query parameters.", - "type": "boolean" - }, - "name": { - "description": "The name of the app.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 1000, - "description": "Number of results per page.", - "type": "integer" - }, - "search": { - "description": "Search for apps by other listed query parameters.", - "type": "string" + properties: { + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" }, - "target_attributes": { - "description": "Target Criteria attributes in key=value format.", - "type": "string" + "query": { + "properties": { + "aud": { + "description": "The aud of the app.", + "type": "string" + }, + "domain": { + "description": "The domain of the app.", + "type": "string" + }, + "exact": { + "description": "True for only exact string matches against passed name/domain query parameters.", + "type": "boolean" + }, + "name": { + "description": "The name of the app.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 1000, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Search for apps by other listed query parameters.", + "type": "string" + }, + "target_attributes": { + "description": "Target Criteria attributes in key=value format.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, }, }, outputSchema: { "$ref": "#/$defs/access_response_collection-8", $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_all_headers": access_allow_all_headers_output, - "access_allow_all_methods": access_allow_all_methods_output, - "access_allow_all_origins": access_allow_all_origins_output, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, - "access_allow_credentials": access_allow_credentials_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allow_iframe": access_allow_iframe_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_allowed_headers": access_allowed_headers_output, - "access_allowed_idps": access_allowed_idps_output, - "access_allowed_methods": access_allowed_methods_output, - "access_allowed_origins": access_allowed_origins_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_app_launcher_logo_url": access_app_launcher_logo_url_output, - "access_app_launcher_props": access_app_launcher_props_output, - "access_app_launcher_visible": access_app_launcher_visible_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_resp_embedded_policies": access_app_resp_embedded_policies_output, - "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra_output, - "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted_output, - "access_app_response": access_app_response_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_aud-2": access_aud_2_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_basic_app_response_props": access_basic_app_response_props_output, - "access_bg_color": access_bg_color_output, - "access_biso_props": access_biso_props_output, - "access_bookmark_props": access_bookmark_props_output, - "access_button_color": access_button_color_output, - "access_button_text_color": access_button_text_color_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_cors_headers": access_cors_headers_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_custom_deny_message": access_custom_deny_message_output, - "access_custom_deny_url": access_custom_deny_url_output, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, - "access_custom_pages-2": access_custom_pages_2_output, - "access_decision": access_decision_output, - "access_destination_overrides": access_destination_overrides_output, - "access_destinations": access_destinations_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain": access_domain_output, - "access_domain_rule": access_domain_rule_output, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_enable_binding_cookie": access_enable_binding_cookie_output, - "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, - "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, - "access_end_user_destinations": access_end_user_destinations_output, - "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, - "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, - "access_end_user_props": access_end_user_props_output, - "access_end_user_public_destination": access_end_user_public_destination_output, - "access_end_user_worker_destination": access_end_user_worker_destination_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_feature_app_props": access_feature_app_props_output, - "access_footer_links": access_footer_links_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_header_bg_color": access_header_bg_color_output, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, - "access_identifier": access_identifier_output, - "access_image_url": access_image_url_output, - "access_include-2": access_include_2_output, - "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_infra_props": access_infra_props_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_landing_page_design": access_landing_page_design_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_logo_url": access_logo_url_output, - "access_max_age": access_max_age_output, - "access_mcp_portal_props": access_mcp_portal_props_output, - "access_mcp_props": access_mcp_props_output, - "access_message": access_message_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-8": access_name_8_output, - "access_name-9": access_name_9_output, - "access_oauth_configuration": access_oauth_configuration_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_oidc_saas_app": access_oidc_saas_app_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_options_preflight_bypass": access_options_preflight_bypass_output, - "access_path_cookie_attribute": access_path_cookie_attribute_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_port": access_port_output, - "access_precedence": access_precedence_output, - "access_protocol_infra_app": access_protocol_infra_app_output, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, - "access_proxy_endpoint_props": access_proxy_endpoint_props_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_rdp_props": access_rdp_props_output, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, - "access_require-2": access_require_2_output, - "access_response_collection-8": access_response_collection_8_output, - "access_rule": access_rule_output, - "access_saas_props": access_saas_props_output, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_saml_saas_app": access_saml_saas_app_output, - "access_scim_config": access_scim_config_output, - "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, - "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, - "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, - "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, - "access_scim_config_mapping": access_scim_config_mapping_output, - "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, - "access_scim_config_single_authentication": access_scim_config_single_authentication_output, - "access_self_hosted_domains": access_self_hosted_domains_output, - "access_self_hosted_props": access_self_hosted_props_output, - "access_service_auth_401_redirect": access_service_auth_401_redirect_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-2": access_session_duration_2_output, - "access_session_duration-3": access_session_duration_3_output, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, - "access_skip_interstitial": access_skip_interstitial_output, - "access_ssh_props": access_ssh_props_output, - "access_tags-2": access_tags_2_output, - "access_target_attributes": access_target_attributes_output, - "access_target_criteria_base": access_target_criteria_base_output, - "access_target_criteria_infra_app": access_target_criteria_infra_app_output, - "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, - "access_target_rule": access_target_rule_output, - "access_target_rule_attributes": access_target_rule_attributes_output, - "access_timestamp": access_timestamp_output, - "access_title": access_title_output, - "access_type": access_type_output, - "access_updated_at": access_updated_at_output, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid": access_uuid_output, - "access_uuid-2": access_uuid_2_output, - "access_vnc_props": access_vnc_props_output, - "access_warp_props": access_warp_props_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_all_headers": access_allow_all_headers, + "access_allow_all_methods": access_allow_all_methods, + "access_allow_all_origins": access_allow_all_origins, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, + "access_allow_credentials": access_allow_credentials, + "access_allow_email_alias": access_allow_email_alias, + "access_allow_iframe": access_allow_iframe, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_allowed_headers": access_allowed_headers, + "access_allowed_idps": access_allowed_idps, + "access_allowed_methods": access_allowed_methods, + "access_allowed_origins": access_allowed_origins, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_app_launcher_logo_url": access_app_launcher_logo_url, + "access_app_launcher_props": access_app_launcher_props, + "access_app_launcher_visible": access_app_launcher_visible, + "access_app_policy_response": access_app_policy_response, + "access_app_resp_embedded_policies": access_app_resp_embedded_policies, + "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, + "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted, + "access_app_response": access_app_response, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_aud-2": access_aud$$2, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_basic_app_response_props": access_basic_app_response_props, + "access_bg_color": access_bg_color, + "access_biso_props": access_biso_props, + "access_bookmark_props": access_bookmark_props, + "access_button_color": access_button_color, + "access_button_text_color": access_button_text_color, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_cors_headers": access_cors_headers, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_custom_deny_message": access_custom_deny_message, + "access_custom_deny_url": access_custom_deny_url, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, + "access_custom_pages-2": access_custom_pages$$2, + "access_decision": access_decision, + "access_destination_overrides": access_destination_overrides, + "access_destinations": access_destinations, + "access_device_posture_rule": access_device_posture_rule, + "access_domain": access_domain, + "access_domain_rule": access_domain_rule, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_enable_binding_cookie": access_enable_binding_cookie, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination, + "access_end_user_destinations": access_end_user_destinations, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination, + "access_end_user_props": access_end_user_props, + "access_end_user_public_destination": access_end_user_public_destination, + "access_end_user_worker_destination": access_end_user_worker_destination, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_feature_app_props": access_feature_app_props, + "access_footer_links": access_footer_links, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_header_bg_color": access_header_bg_color, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute, + "access_identifier": access_identifier, + "access_image_url": access_image_url, + "access_include-2": access_include$$2, + "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_infra_props": access_infra_props, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_landing_page_design": access_landing_page_design, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_logo_url": access_logo_url, + "access_max_age": access_max_age, + "access_mcp_portal_props": access_mcp_portal_props, + "access_mcp_props": access_mcp_props, + "access_message": access_message, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-8": access_name$$8, + "access_name-9": access_name$$9, + "access_oauth_configuration": access_oauth_configuration, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_oidc_saas_app": access_oidc_saas_app, + "access_okta_group_rule": access_okta_group_rule, + "access_options_preflight_bypass": access_options_preflight_bypass, + "access_path_cookie_attribute": access_path_cookie_attribute, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_port": access_port, + "access_precedence": access_precedence, + "access_protocol_infra_app": access_protocol_infra_app, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app, + "access_proxy_endpoint_props": access_proxy_endpoint_props, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_rdp_props": access_rdp_props, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header, + "access_require-2": access_require$$2, + "access_response_collection-8": access_response_collection$$8, + "access_rule": access_rule, + "access_saas_props": access_saas_props, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute, + "access_saml_group_rule": access_saml_group_rule, + "access_saml_saas_app": access_saml_saas_app, + "access_scim_config": access_scim_config, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token, + "access_scim_config_mapping": access_scim_config_mapping, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication, + "access_scim_config_single_authentication": access_scim_config_single_authentication, + "access_self_hosted_domains": access_self_hosted_domains, + "access_self_hosted_props": access_self_hosted_props, + "access_service_auth_401_redirect": access_service_auth_401_redirect, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-2": access_session_duration$$2, + "access_session_duration-3": access_session_duration$$3, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, + "access_skip_interstitial": access_skip_interstitial, + "access_ssh_props": access_ssh_props, + "access_tags-2": access_tags$$2, + "access_target_attributes": access_target_attributes, + "access_target_criteria_base": access_target_criteria_base, + "access_target_criteria_infra_app": access_target_criteria_infra_app, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, + "access_target_rule": access_target_rule, + "access_target_rule_attributes": access_target_rule_attributes, + "access_timestamp": access_timestamp, + "access_title": access_title, + "access_type": access_type, + "access_updated_at": access_updated_at, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid": access_uuid, + "access_uuid-2": access_uuid$$2, + "access_vnc_props": access_vnc_props, + "access_warp_props": access_warp_props, }, }, annotations: { @@ -1662,225 +1699,233 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_all_headers": access_allow_all_headers_output, - "access_allow_all_methods": access_allow_all_methods_output, - "access_allow_all_origins": access_allow_all_origins_output, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, - "access_allow_credentials": access_allow_credentials_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allow_iframe": access_allow_iframe_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_allowed_headers": access_allowed_headers_output, - "access_allowed_idps": access_allowed_idps_output, - "access_allowed_methods": access_allowed_methods_output, - "access_allowed_origins": access_allowed_origins_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_app_launcher_logo_url": access_app_launcher_logo_url_output, - "access_app_launcher_props": access_app_launcher_props_output, - "access_app_launcher_visible": access_app_launcher_visible_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_resp_embedded_policies": access_app_resp_embedded_policies_output, - "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra_output, - "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted_output, - "access_app_response": access_app_response_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_aud-2": access_aud_2_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_basic_app_response_props": access_basic_app_response_props_output, - "access_bg_color": access_bg_color_output, - "access_biso_props": access_biso_props_output, - "access_bookmark_props": access_bookmark_props_output, - "access_button_color": access_button_color_output, - "access_button_text_color": access_button_text_color_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_cors_headers": access_cors_headers_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_custom_deny_message": access_custom_deny_message_output, - "access_custom_deny_url": access_custom_deny_url_output, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, - "access_custom_pages-2": access_custom_pages_2_output, - "access_decision": access_decision_output, - "access_destination_overrides": access_destination_overrides_output, - "access_destinations": access_destinations_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain": access_domain_output, - "access_domain_rule": access_domain_rule_output, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_enable_binding_cookie": access_enable_binding_cookie_output, - "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, - "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, - "access_end_user_destinations": access_end_user_destinations_output, - "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, - "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, - "access_end_user_props": access_end_user_props_output, - "access_end_user_public_destination": access_end_user_public_destination_output, - "access_end_user_worker_destination": access_end_user_worker_destination_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_feature_app_props": access_feature_app_props_output, - "access_footer_links": access_footer_links_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_header_bg_color": access_header_bg_color_output, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, - "access_identifier": access_identifier_output, - "access_image_url": access_image_url_output, - "access_include-2": access_include_2_output, - "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_infra_props": access_infra_props_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_landing_page_design": access_landing_page_design_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_logo_url": access_logo_url_output, - "access_max_age": access_max_age_output, - "access_mcp_portal_props": access_mcp_portal_props_output, - "access_mcp_props": access_mcp_props_output, - "access_message": access_message_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-8": access_name_8_output, - "access_name-9": access_name_9_output, - "access_oauth_configuration": access_oauth_configuration_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_oidc_saas_app": access_oidc_saas_app_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_options_preflight_bypass": access_options_preflight_bypass_output, - "access_path_cookie_attribute": access_path_cookie_attribute_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_port": access_port_output, - "access_precedence": access_precedence_output, - "access_protocol_infra_app": access_protocol_infra_app_output, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, - "access_proxy_endpoint_props": access_proxy_endpoint_props_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_rdp_props": access_rdp_props_output, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, - "access_require-2": access_require_2_output, - "access_response_collection-8": access_response_collection_8_output, - "access_rule": access_rule_output, - "access_saas_props": access_saas_props_output, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_saml_saas_app": access_saml_saas_app_output, - "access_scim_config": access_scim_config_output, - "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, - "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, - "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, - "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, - "access_scim_config_mapping": access_scim_config_mapping_output, - "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, - "access_scim_config_single_authentication": access_scim_config_single_authentication_output, - "access_self_hosted_domains": access_self_hosted_domains_output, - "access_self_hosted_props": access_self_hosted_props_output, - "access_service_auth_401_redirect": access_service_auth_401_redirect_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-2": access_session_duration_2_output, - "access_session_duration-3": access_session_duration_3_output, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, - "access_skip_interstitial": access_skip_interstitial_output, - "access_ssh_props": access_ssh_props_output, - "access_tags-2": access_tags_2_output, - "access_target_attributes": access_target_attributes_output, - "access_target_criteria_base": access_target_criteria_base_output, - "access_target_criteria_infra_app": access_target_criteria_infra_app_output, - "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, - "access_target_rule": access_target_rule_output, - "access_target_rule_attributes": access_target_rule_attributes_output, - "access_timestamp": access_timestamp_output, - "access_title": access_title_output, - "access_type": access_type_output, - "access_updated_at": access_updated_at_output, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid": access_uuid_output, - "access_uuid-2": access_uuid_2_output, - "access_vnc_props": access_vnc_props_output, - "access_warp_props": access_warp_props_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_all_headers": access_allow_all_headers, + "access_allow_all_methods": access_allow_all_methods, + "access_allow_all_origins": access_allow_all_origins, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, + "access_allow_credentials": access_allow_credentials, + "access_allow_email_alias": access_allow_email_alias, + "access_allow_iframe": access_allow_iframe, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_allowed_headers": access_allowed_headers, + "access_allowed_idps": access_allowed_idps, + "access_allowed_methods": access_allowed_methods, + "access_allowed_origins": access_allowed_origins, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_app_launcher_logo_url": access_app_launcher_logo_url, + "access_app_launcher_props": access_app_launcher_props, + "access_app_launcher_visible": access_app_launcher_visible, + "access_app_policy_response": access_app_policy_response, + "access_app_resp_embedded_policies": access_app_resp_embedded_policies, + "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, + "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted, + "access_app_response": access_app_response, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_aud-2": access_aud$$2, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_basic_app_response_props": access_basic_app_response_props, + "access_bg_color": access_bg_color, + "access_biso_props": access_biso_props, + "access_bookmark_props": access_bookmark_props, + "access_button_color": access_button_color, + "access_button_text_color": access_button_text_color, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_cors_headers": access_cors_headers, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_custom_deny_message": access_custom_deny_message, + "access_custom_deny_url": access_custom_deny_url, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, + "access_custom_pages-2": access_custom_pages$$2, + "access_decision": access_decision, + "access_destination_overrides": access_destination_overrides, + "access_destinations": access_destinations, + "access_device_posture_rule": access_device_posture_rule, + "access_domain": access_domain, + "access_domain_rule": access_domain_rule, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_enable_binding_cookie": access_enable_binding_cookie, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination, + "access_end_user_destinations": access_end_user_destinations, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination, + "access_end_user_props": access_end_user_props, + "access_end_user_public_destination": access_end_user_public_destination, + "access_end_user_worker_destination": access_end_user_worker_destination, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_feature_app_props": access_feature_app_props, + "access_footer_links": access_footer_links, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_header_bg_color": access_header_bg_color, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute, + "access_identifier": access_identifier, + "access_image_url": access_image_url, + "access_include-2": access_include$$2, + "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_infra_props": access_infra_props, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_landing_page_design": access_landing_page_design, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_logo_url": access_logo_url, + "access_max_age": access_max_age, + "access_mcp_portal_props": access_mcp_portal_props, + "access_mcp_props": access_mcp_props, + "access_message": access_message, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-8": access_name$$8, + "access_name-9": access_name$$9, + "access_oauth_configuration": access_oauth_configuration, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_oidc_saas_app": access_oidc_saas_app, + "access_okta_group_rule": access_okta_group_rule, + "access_options_preflight_bypass": access_options_preflight_bypass, + "access_path_cookie_attribute": access_path_cookie_attribute, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_port": access_port, + "access_precedence": access_precedence, + "access_protocol_infra_app": access_protocol_infra_app, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app, + "access_proxy_endpoint_props": access_proxy_endpoint_props, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_rdp_props": access_rdp_props, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header, + "access_require-2": access_require$$2, + "access_response_collection-8": access_response_collection$$8, + "access_rule": access_rule, + "access_saas_props": access_saas_props, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute, + "access_saml_group_rule": access_saml_group_rule, + "access_saml_saas_app": access_saml_saas_app, + "access_scim_config": access_scim_config, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token, + "access_scim_config_mapping": access_scim_config_mapping, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication, + "access_scim_config_single_authentication": access_scim_config_single_authentication, + "access_self_hosted_domains": access_self_hosted_domains, + "access_self_hosted_props": access_self_hosted_props, + "access_service_auth_401_redirect": access_service_auth_401_redirect, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-2": access_session_duration$$2, + "access_session_duration-3": access_session_duration$$3, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, + "access_skip_interstitial": access_skip_interstitial, + "access_ssh_props": access_ssh_props, + "access_tags-2": access_tags$$2, + "access_target_attributes": access_target_attributes, + "access_target_criteria_base": access_target_criteria_base, + "access_target_criteria_infra_app": access_target_criteria_infra_app, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, + "access_target_rule": access_target_rule, + "access_target_rule_attributes": access_target_rule_attributes, + "access_timestamp": access_timestamp, + "access_title": access_title, + "access_type": access_type, + "access_updated_at": access_updated_at, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid": access_uuid, + "access_uuid-2": access_uuid$$2, + "access_vnc_props": access_vnc_props, + "access_warp_props": access_warp_props, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/apps`, query: [ - ["name", args["name"], true], - ["domain", args["domain"], true], - ["aud", args["aud"], true], - ["target_attributes", args["target_attributes"], true], - ["exact", args["exact"], true], - ["search", args["search"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["name", param(args, "query", "name"), true], + ["domain", param(args, "query", "domain"), true], + ["aud", param(args, "query", "aud"), true], + ["target_attributes", param(args, "query", "target_attributes"), true], + ["exact", param(args, "query", "exact"), true], + ["search", param(args, "query", "search"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_applications_revoke_tokens", + name: "zeroTrust_access_applications_revokeTokens", title: "Revoke application tokens", description: "Revokes all tokens issued for an application.\n\nConfirm with the user before calling this tool. This operation invalidates every service token for the app.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_app_id" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_app_id" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id" + "path" ], $defs: { "access_app_id": access_app_id, - "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_identifier": access_identifier$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_empty_response-2", $defs: { - "access_empty_response-2": access_empty_response_2_output, + "access_empty_response-2": access_empty_response$$2, }, }, annotations: { @@ -1908,9 +1953,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_empty_response-2": access_empty_response_2_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_empty_response-2": access_empty_response$$2, + "access_messages": access_messages, }, }, request: (args) => ({ @@ -1918,43 +1963,229 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_applications_update", + name: "zeroTrust_access_applications_update", title: "Update an Access application", description: "Updates an Access application.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_app_id" - }, "body": { "$ref": "#/$defs/access_app_request" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_app_id" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id", + "path", "body" ], + $defs: { + "access_access_group_rule": access_access_group_rule$, + "access_allow_all_headers": access_allow_all_headers$, + "access_allow_all_methods": access_allow_all_methods$, + "access_allow_all_origins": access_allow_all_origins$, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2$, + "access_allow_credentials": access_allow_credentials$, + "access_allow_email_alias": access_allow_email_alias$, + "access_allow_iframe": access_allow_iframe$, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats$, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats$, + "access_allowed_headers": access_allowed_headers$, + "access_allowed_idps": access_allowed_idps$, + "access_allowed_methods": access_allowed_methods$, + "access_allowed_origins": access_allowed_origins$, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, + "access_app_id": access_app_id, + "access_app_launcher_logo_url": access_app_launcher_logo_url$, + "access_app_launcher_props": access_app_launcher_props$, + "access_app_launcher_visible": access_app_launcher_visible$, + "access_app_policy_link": access_app_policy_link, + "access_app_policy_request": access_app_policy_request, + "access_app_req_embedded_policies": access_app_req_embedded_policies, + "access_app_req_embedded_scim_config": access_app_req_embedded_scim_config, + "access_app_request": access_app_request, + "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra$, + "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted$, + "access_approval_group": access_approval_group$, + "access_approval_groups": access_approval_groups$, + "access_approval_required": access_approval_required$, + "access_auth_context_rule": access_auth_context_rule$, + "access_authentication_method_rule": access_authentication_method_rule$, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2$, + "access_azure_group_rule": access_azure_group_rule$, + "access_base_policy_req": access_base_policy_req, + "access_bg_color": access_bg_color$, + "access_biso_props": access_biso_props$, + "access_bookmark_props": access_bookmark_props$, + "access_button_color": access_button_color$, + "access_button_text_color": access_button_text_color$, + "access_certificate_rule": access_certificate_rule$, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule$, + "access_common_name_rule": access_common_name_rule$, + "access_connection_rules": access_connection_rules$, + "access_connection_rules_infra": access_connection_rules_infra$, + "access_connection_rules_rdp": access_connection_rules_rdp$, + "access_connection_rules_ssh": access_connection_rules_ssh$, + "access_cors_headers": access_cors_headers$, + "access_country_rule": access_country_rule$, + "access_created_at": access_created_at$, + "access_custom_deny_message": access_custom_deny_message$, + "access_custom_deny_url": access_custom_deny_url$, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url$, + "access_custom_pages-2": access_custom_pages$$2$, + "access_decision": access_decision$, + "access_destination_overrides": access_destination_overrides$, + "access_destinations": access_destinations$, + "access_device_posture_rule": access_device_posture_rule$, + "access_domain": access_domain$, + "access_domain_rule": access_domain_rule$, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting$, + "access_email_list_rule": access_email_list_rule$, + "access_email_rule": access_email_rule$, + "access_enable_binding_cookie": access_enable_binding_cookie$, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination$, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination$, + "access_end_user_destinations": access_end_user_destinations$, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration$, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination$, + "access_end_user_props": access_end_user_props$, + "access_end_user_public_destination": access_end_user_public_destination$, + "access_end_user_worker_destination": access_end_user_worker_destination$, + "access_everyone_rule": access_everyone_rule$, + "access_exclude-2": access_exclude$$2$, + "access_external_evaluation_rule": access_external_evaluation_rule$, + "access_feature_app_props": access_feature_app_props$, + "access_footer_links": access_footer_links$, + "access_github_organization_rule": access_github_organization_rule$, + "access_gsuite_group_rule": access_gsuite_group_rule$, + "access_header_bg_color": access_header_bg_color$, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute$, + "access_identifier": access_identifier$, + "access_image_url": access_image_url$, + "access_include-2": access_include$$2$, + "access_infra_app_req_embedded_policies": access_infra_app_req_embedded_policies, + "access_infra_mfa_config": access_infra_mfa_config$, + "access_infra_policy_req": access_infra_policy_req, + "access_infra_props": access_infra_props$, + "access_ip_list_rule": access_ip_list_rule$, + "access_ip_rule": access_ip_rule$, + "access_isolation_required": access_isolation_required$, + "access_landing_page_design": access_landing_page_design$, + "access_linked_app_token_rule": access_linked_app_token_rule$, + "access_login_method_rule": access_login_method_rule$, + "access_logo_url": access_logo_url$, + "access_max_age": access_max_age$, + "access_mcp_portal_props": access_mcp_portal_props$, + "access_mcp_props": access_mcp_props$, + "access_message": access_message$, + "access_mfa_config": access_mfa_config$, + "access_name-8": access_name$$8$, + "access_name-9": access_name$$9$, + "access_oauth_configuration": access_oauth_configuration$, + "access_oidc_claim_rule": access_oidc_claim_rule$, + "access_oidc_saas_app": access_oidc_saas_app$, + "access_okta_group_rule": access_okta_group_rule$, + "access_options_preflight_bypass": access_options_preflight_bypass$, + "access_path_cookie_attribute": access_path_cookie_attribute$, + "access_policy_req": access_policy_req, + "access_policy_resolution_account_id": access_policy_resolution_account_id$, + "access_port": access_port$, + "access_precedence": access_precedence$, + "access_protocol_infra_app": access_protocol_infra_app$, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app$, + "access_proxy_endpoint_props": access_proxy_endpoint_props$, + "access_purpose_justification_prompt": access_purpose_justification_prompt$, + "access_purpose_justification_required": access_purpose_justification_required$, + "access_rdp_clipboard_format": access_rdp_clipboard_format$, + "access_rdp_props": access_rdp_props$, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header$, + "access_require-2": access_require$$2$, + "access_rule": access_rule$, + "access_saas_props": access_saas_props$, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute$, + "access_saml_group_rule": access_saml_group_rule$, + "access_saml_saas_app": access_saml_saas_app$, + "access_scim_config": access_scim_config$, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token$, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic$, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2$, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token$, + "access_scim_config_mapping": access_scim_config_mapping$, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication$, + "access_scim_config_single_authentication": access_scim_config_single_authentication$, + "access_self_hosted_domains": access_self_hosted_domains$, + "access_self_hosted_props": access_self_hosted_props$, + "access_service_auth_401_redirect": access_service_auth_401_redirect$, + "access_service_token_rule": access_service_token_rule$, + "access_service_token_tag_rule": access_service_token_tag_rule$, + "access_session_duration-2": access_session_duration$$2$, + "access_session_duration-3": access_session_duration$$3$, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page$, + "access_skip_interstitial": access_skip_interstitial$, + "access_ssh_props": access_ssh_props$, + "access_tags-2": access_tags$$2$, + "access_target_attributes": access_target_attributes$, + "access_target_criteria_base": access_target_criteria_base$, + "access_target_criteria_infra_app": access_target_criteria_infra_app$, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app$, + "access_target_rule": access_target_rule$, + "access_target_rule_attributes": access_target_rule_attributes$, + "access_timestamp": access_timestamp$, + "access_title": access_title$, + "access_type": access_type$, + "access_updated_at": access_updated_at$, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url$, + "access_user_risk_score_rule": access_user_risk_score_rule$, + "access_usernames": access_usernames$, + "access_uuid": access_uuid$, + "access_uuid-2": access_uuid$$2$, + "access_vnc_props": access_vnc_props$, + "access_warp_props": access_warp_props$, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/access_single_response-9" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/access_app_response" + } + }, + "type": "object" + } + ], $defs: { "access_access_group_rule": access_access_group_rule, "access_allow_all_headers": access_allow_all_headers, "access_allow_all_methods": access_allow_all_methods, "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, "access_allow_credentials": access_allow_credentials, "access_allow_email_alias": access_allow_email_alias, "access_allow_iframe": access_allow_iframe, @@ -1965,25 +2196,25 @@ export const tools: readonly Tool[] = [ "access_allowed_methods": access_allowed_methods, "access_allowed_origins": access_allowed_origins, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, - "access_app_id": access_app_id, + "access_api-response-single": access_api$$response$$single, "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, "access_app_launcher_visible": access_app_launcher_visible, - "access_app_policy_link": access_app_policy_link, - "access_app_policy_request": access_app_policy_request, - "access_app_req_embedded_policies": access_app_req_embedded_policies, - "access_app_req_embedded_scim_config": access_app_req_embedded_scim_config, - "access_app_request": access_app_request, + "access_app_policy_response": access_app_policy_response, + "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted, + "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, "access_approval_required": access_approval_required, + "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, - "access_base_policy_req": access_base_policy_req, + "access_base_policy_resp": access_base_policy_resp, + "access_basic_app_response_props": access_basic_app_response_props, "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, @@ -2002,7 +2233,7 @@ export const tools: readonly Tool[] = [ "access_custom_deny_message": access_custom_deny_message, "access_custom_deny_url": access_custom_deny_url, "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, - "access_custom_pages-2": access_custom_pages_2, + "access_custom_pages-2": access_custom_pages$$2, "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, @@ -2022,7 +2253,7 @@ export const tools: readonly Tool[] = [ "access_end_user_public_destination": access_end_user_public_destination, "access_end_user_worker_destination": access_end_user_worker_destination, "access_everyone_rule": access_everyone_rule, - "access_exclude-2": access_exclude_2, + "access_exclude-2": access_exclude$$2, "access_external_evaluation_rule": access_external_evaluation_rule, "access_feature_app_props": access_feature_app_props, "access_footer_links": access_footer_links, @@ -2032,10 +2263,10 @@ export const tools: readonly Tool[] = [ "access_http_only_cookie_attribute": access_http_only_cookie_attribute, "access_identifier": access_identifier, "access_image_url": access_image_url, - "access_include-2": access_include_2, - "access_infra_app_req_embedded_policies": access_infra_app_req_embedded_policies, + "access_include-2": access_include$$2, + "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, - "access_infra_policy_req": access_infra_policy_req, + "access_infra_policy_resp": access_infra_policy_resp, "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, @@ -2048,17 +2279,18 @@ export const tools: readonly Tool[] = [ "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, "access_message": access_message, + "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name_8, - "access_name-9": access_name_9, + "access_name-8": access_name$$8, + "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, "access_options_preflight_bypass": access_options_preflight_bypass, "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_req": access_policy_req, "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, "access_port": access_port, "access_precedence": access_precedence, "access_protocol_infra_app": access_protocol_infra_app, @@ -2069,7 +2301,7 @@ export const tools: readonly Tool[] = [ "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, "access_read_service_tokens_from_header": access_read_service_tokens_from_header, - "access_require-2": access_require_2, + "access_require-2": access_require$$2, "access_rule": access_rule, "access_saas_props": access_saas_props, "access_same_site_cookie_attribute": access_same_site_cookie_attribute, @@ -2088,12 +2320,13 @@ export const tools: readonly Tool[] = [ "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration_2, - "access_session_duration-3": access_session_duration_3, + "access_session_duration-2": access_session_duration$$2, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-9": access_single_response$$9, "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, - "access_tags-2": access_tags_2, + "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, "access_target_criteria_base": access_target_criteria_base, "access_target_criteria_infra_app": access_target_criteria_infra_app, @@ -2108,191 +2341,11 @@ export const tools: readonly Tool[] = [ "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, "access_uuid": access_uuid, - "access_uuid-2": access_uuid_2, + "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/access_single_response-9" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/access_app_response" - } - }, - "type": "object" - } - ], - $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_all_headers": access_allow_all_headers_output, - "access_allow_all_methods": access_allow_all_methods_output, - "access_allow_all_origins": access_allow_all_origins_output, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, - "access_allow_credentials": access_allow_credentials_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allow_iframe": access_allow_iframe_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_allowed_headers": access_allowed_headers_output, - "access_allowed_idps": access_allowed_idps_output, - "access_allowed_methods": access_allowed_methods_output, - "access_allowed_origins": access_allowed_origins_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_app_launcher_logo_url": access_app_launcher_logo_url_output, - "access_app_launcher_props": access_app_launcher_props_output, - "access_app_launcher_visible": access_app_launcher_visible_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_resp_embedded_policies": access_app_resp_embedded_policies_output, - "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra_output, - "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted_output, - "access_app_response": access_app_response_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_aud-2": access_aud_2_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_basic_app_response_props": access_basic_app_response_props_output, - "access_bg_color": access_bg_color_output, - "access_biso_props": access_biso_props_output, - "access_bookmark_props": access_bookmark_props_output, - "access_button_color": access_button_color_output, - "access_button_text_color": access_button_text_color_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_cors_headers": access_cors_headers_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_custom_deny_message": access_custom_deny_message_output, - "access_custom_deny_url": access_custom_deny_url_output, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, - "access_custom_pages-2": access_custom_pages_2_output, - "access_decision": access_decision_output, - "access_destination_overrides": access_destination_overrides_output, - "access_destinations": access_destinations_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain": access_domain_output, - "access_domain_rule": access_domain_rule_output, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_enable_binding_cookie": access_enable_binding_cookie_output, - "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, - "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, - "access_end_user_destinations": access_end_user_destinations_output, - "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, - "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, - "access_end_user_props": access_end_user_props_output, - "access_end_user_public_destination": access_end_user_public_destination_output, - "access_end_user_worker_destination": access_end_user_worker_destination_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_feature_app_props": access_feature_app_props_output, - "access_footer_links": access_footer_links_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_header_bg_color": access_header_bg_color_output, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, - "access_identifier": access_identifier_output, - "access_image_url": access_image_url_output, - "access_include-2": access_include_2_output, - "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_infra_props": access_infra_props_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_landing_page_design": access_landing_page_design_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_logo_url": access_logo_url_output, - "access_max_age": access_max_age_output, - "access_mcp_portal_props": access_mcp_portal_props_output, - "access_mcp_props": access_mcp_props_output, - "access_message": access_message_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-8": access_name_8_output, - "access_name-9": access_name_9_output, - "access_oauth_configuration": access_oauth_configuration_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_oidc_saas_app": access_oidc_saas_app_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_options_preflight_bypass": access_options_preflight_bypass_output, - "access_path_cookie_attribute": access_path_cookie_attribute_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_port": access_port_output, - "access_precedence": access_precedence_output, - "access_protocol_infra_app": access_protocol_infra_app_output, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, - "access_proxy_endpoint_props": access_proxy_endpoint_props_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_rdp_props": access_rdp_props_output, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, - "access_require-2": access_require_2_output, - "access_rule": access_rule_output, - "access_saas_props": access_saas_props_output, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_saml_saas_app": access_saml_saas_app_output, - "access_scim_config": access_scim_config_output, - "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, - "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, - "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, - "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, - "access_scim_config_mapping": access_scim_config_mapping_output, - "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, - "access_scim_config_single_authentication": access_scim_config_single_authentication_output, - "access_self_hosted_domains": access_self_hosted_domains_output, - "access_self_hosted_props": access_self_hosted_props_output, - "access_service_auth_401_redirect": access_service_auth_401_redirect_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-2": access_session_duration_2_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-9": access_single_response_9_output, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, - "access_skip_interstitial": access_skip_interstitial_output, - "access_ssh_props": access_ssh_props_output, - "access_tags-2": access_tags_2_output, - "access_target_attributes": access_target_attributes_output, - "access_target_criteria_base": access_target_criteria_base_output, - "access_target_criteria_infra_app": access_target_criteria_infra_app_output, - "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, - "access_target_rule": access_target_rule_output, - "access_target_rule_attributes": access_target_rule_attributes_output, - "access_timestamp": access_timestamp_output, - "access_title": access_title_output, - "access_type": access_type_output, - "access_updated_at": access_updated_at_output, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid": access_uuid_output, - "access_uuid-2": access_uuid_2_output, - "access_vnc_props": access_vnc_props_output, - "access_warp_props": access_warp_props_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -2330,170 +2383,170 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allow_all_headers": access_allow_all_headers_output, - "access_allow_all_methods": access_allow_all_methods_output, - "access_allow_all_origins": access_allow_all_origins_output, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp_2_output, - "access_allow_credentials": access_allow_credentials_output, - "access_allow_email_alias": access_allow_email_alias_output, - "access_allow_iframe": access_allow_iframe_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_allowed_headers": access_allowed_headers_output, - "access_allowed_idps": access_allowed_idps_output, - "access_allowed_methods": access_allowed_methods_output, - "access_allowed_origins": access_allowed_origins_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_launcher_logo_url": access_app_launcher_logo_url_output, - "access_app_launcher_props": access_app_launcher_props_output, - "access_app_launcher_visible": access_app_launcher_visible_output, - "access_app_policy_response": access_app_policy_response_output, - "access_app_resp_embedded_policies": access_app_resp_embedded_policies_output, - "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra_output, - "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted_output, - "access_app_response": access_app_response_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_aud-2": access_aud_2_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity_2_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_basic_app_response_props": access_basic_app_response_props_output, - "access_bg_color": access_bg_color_output, - "access_biso_props": access_biso_props_output, - "access_bookmark_props": access_bookmark_props_output, - "access_button_color": access_button_color_output, - "access_button_text_color": access_button_text_color_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_infra": access_connection_rules_infra_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_connection_rules_ssh": access_connection_rules_ssh_output, - "access_cors_headers": access_cors_headers_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_custom_deny_message": access_custom_deny_message_output, - "access_custom_deny_url": access_custom_deny_url_output, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url_output, - "access_custom_pages-2": access_custom_pages_2_output, - "access_decision": access_decision_output, - "access_destination_overrides": access_destination_overrides_output, - "access_destinations": access_destinations_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain": access_domain_output, - "access_domain_rule": access_domain_rule_output, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_enable_binding_cookie": access_enable_binding_cookie_output, - "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination_output, - "access_end_user_all_workers_destination": access_end_user_all_workers_destination_output, - "access_end_user_destinations": access_end_user_destinations_output, - "access_end_user_oauth_configuration": access_end_user_oauth_configuration_output, - "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination_output, - "access_end_user_props": access_end_user_props_output, - "access_end_user_public_destination": access_end_user_public_destination_output, - "access_end_user_worker_destination": access_end_user_worker_destination_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_feature_app_props": access_feature_app_props_output, - "access_footer_links": access_footer_links_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_header_bg_color": access_header_bg_color_output, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute_output, - "access_identifier": access_identifier_output, - "access_image_url": access_image_url_output, - "access_include-2": access_include_2_output, - "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies_output, - "access_infra_mfa_config": access_infra_mfa_config_output, - "access_infra_policy_resp": access_infra_policy_resp_output, - "access_infra_props": access_infra_props_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_landing_page_design": access_landing_page_design_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_logo_url": access_logo_url_output, - "access_max_age": access_max_age_output, - "access_mcp_portal_props": access_mcp_portal_props_output, - "access_mcp_props": access_mcp_props_output, - "access_message": access_message_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-8": access_name_8_output, - "access_name-9": access_name_9_output, - "access_oauth_configuration": access_oauth_configuration_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_oidc_saas_app": access_oidc_saas_app_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_options_preflight_bypass": access_options_preflight_bypass_output, - "access_path_cookie_attribute": access_path_cookie_attribute_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_port": access_port_output, - "access_precedence": access_precedence_output, - "access_protocol_infra_app": access_protocol_infra_app_output, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app_output, - "access_proxy_endpoint_props": access_proxy_endpoint_props_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_rdp_props": access_rdp_props_output, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header_output, - "access_require-2": access_require_2_output, - "access_rule": access_rule_output, - "access_saas_props": access_saas_props_output, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_saml_saas_app": access_saml_saas_app_output, - "access_scim_config": access_scim_config_output, - "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token_output, - "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic_output, - "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2_output, - "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token_output, - "access_scim_config_mapping": access_scim_config_mapping_output, - "access_scim_config_multi_authentication": access_scim_config_multi_authentication_output, - "access_scim_config_single_authentication": access_scim_config_single_authentication_output, - "access_self_hosted_domains": access_self_hosted_domains_output, - "access_self_hosted_props": access_self_hosted_props_output, - "access_service_auth_401_redirect": access_service_auth_401_redirect_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-2": access_session_duration_2_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-9": access_single_response_9_output, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page_output, - "access_skip_interstitial": access_skip_interstitial_output, - "access_ssh_props": access_ssh_props_output, - "access_tags-2": access_tags_2_output, - "access_target_attributes": access_target_attributes_output, - "access_target_criteria_base": access_target_criteria_base_output, - "access_target_criteria_infra_app": access_target_criteria_infra_app_output, - "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app_output, - "access_target_rule": access_target_rule_output, - "access_target_rule_attributes": access_target_rule_attributes_output, - "access_timestamp": access_timestamp_output, - "access_title": access_title_output, - "access_type": access_type_output, - "access_updated_at": access_updated_at_output, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_usernames": access_usernames_output, - "access_uuid": access_uuid_output, - "access_uuid-2": access_uuid_2_output, - "access_vnc_props": access_vnc_props_output, - "access_warp_props": access_warp_props_output, + "access_access_group_rule": access_access_group_rule, + "access_allow_all_headers": access_allow_all_headers, + "access_allow_all_methods": access_allow_all_methods, + "access_allow_all_origins": access_allow_all_origins, + "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, + "access_allow_credentials": access_allow_credentials, + "access_allow_email_alias": access_allow_email_alias, + "access_allow_iframe": access_allow_iframe, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_allowed_headers": access_allowed_headers, + "access_allowed_idps": access_allowed_idps, + "access_allowed_methods": access_allowed_methods, + "access_allowed_origins": access_allowed_origins, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_launcher_logo_url": access_app_launcher_logo_url, + "access_app_launcher_props": access_app_launcher_props, + "access_app_launcher_visible": access_app_launcher_visible, + "access_app_policy_response": access_app_policy_response, + "access_app_resp_embedded_policies": access_app_resp_embedded_policies, + "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, + "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted, + "access_app_response": access_app_response, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_aud-2": access_aud$$2, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_basic_app_response_props": access_basic_app_response_props, + "access_bg_color": access_bg_color, + "access_biso_props": access_biso_props, + "access_bookmark_props": access_bookmark_props, + "access_button_color": access_button_color, + "access_button_text_color": access_button_text_color, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_infra": access_connection_rules_infra, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_connection_rules_ssh": access_connection_rules_ssh, + "access_cors_headers": access_cors_headers, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_custom_deny_message": access_custom_deny_message, + "access_custom_deny_url": access_custom_deny_url, + "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, + "access_custom_pages-2": access_custom_pages$$2, + "access_decision": access_decision, + "access_destination_overrides": access_destination_overrides, + "access_destinations": access_destinations, + "access_device_posture_rule": access_device_posture_rule, + "access_domain": access_domain, + "access_domain_rule": access_domain_rule, + "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_enable_binding_cookie": access_enable_binding_cookie, + "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, + "access_end_user_all_workers_destination": access_end_user_all_workers_destination, + "access_end_user_destinations": access_end_user_destinations, + "access_end_user_oauth_configuration": access_end_user_oauth_configuration, + "access_end_user_preview_worker_destination": access_end_user_preview_worker_destination, + "access_end_user_props": access_end_user_props, + "access_end_user_public_destination": access_end_user_public_destination, + "access_end_user_worker_destination": access_end_user_worker_destination, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_feature_app_props": access_feature_app_props, + "access_footer_links": access_footer_links, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_header_bg_color": access_header_bg_color, + "access_http_only_cookie_attribute": access_http_only_cookie_attribute, + "access_identifier": access_identifier, + "access_image_url": access_image_url, + "access_include-2": access_include$$2, + "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, + "access_infra_mfa_config": access_infra_mfa_config, + "access_infra_policy_resp": access_infra_policy_resp, + "access_infra_props": access_infra_props, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_landing_page_design": access_landing_page_design, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_logo_url": access_logo_url, + "access_max_age": access_max_age, + "access_mcp_portal_props": access_mcp_portal_props, + "access_mcp_props": access_mcp_props, + "access_message": access_message, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-8": access_name$$8, + "access_name-9": access_name$$9, + "access_oauth_configuration": access_oauth_configuration, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_oidc_saas_app": access_oidc_saas_app, + "access_okta_group_rule": access_okta_group_rule, + "access_options_preflight_bypass": access_options_preflight_bypass, + "access_path_cookie_attribute": access_path_cookie_attribute, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_port": access_port, + "access_precedence": access_precedence, + "access_protocol_infra_app": access_protocol_infra_app, + "access_protocol_self_hosted_app": access_protocol_self_hosted_app, + "access_proxy_endpoint_props": access_proxy_endpoint_props, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_rdp_props": access_rdp_props, + "access_read_service_tokens_from_header": access_read_service_tokens_from_header, + "access_require-2": access_require$$2, + "access_rule": access_rule, + "access_saas_props": access_saas_props, + "access_same_site_cookie_attribute": access_same_site_cookie_attribute, + "access_saml_group_rule": access_saml_group_rule, + "access_saml_saas_app": access_saml_saas_app, + "access_scim_config": access_scim_config, + "access_scim_config_authentication_access_service_token": access_scim_config_authentication_access_service_token, + "access_scim_config_authentication_http_basic": access_scim_config_authentication_http_basic, + "access_scim_config_authentication_oauth2": access_scim_config_authentication_oauth2, + "access_scim_config_authentication_oauth_bearer_token": access_scim_config_authentication_oauth_bearer_token, + "access_scim_config_mapping": access_scim_config_mapping, + "access_scim_config_multi_authentication": access_scim_config_multi_authentication, + "access_scim_config_single_authentication": access_scim_config_single_authentication, + "access_self_hosted_domains": access_self_hosted_domains, + "access_self_hosted_props": access_self_hosted_props, + "access_service_auth_401_redirect": access_service_auth_401_redirect, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-2": access_session_duration$$2, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-9": access_single_response$$9, + "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, + "access_skip_interstitial": access_skip_interstitial, + "access_ssh_props": access_ssh_props, + "access_tags-2": access_tags$$2, + "access_target_attributes": access_target_attributes, + "access_target_criteria_base": access_target_criteria_base, + "access_target_criteria_infra_app": access_target_criteria_infra_app, + "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, + "access_target_rule": access_target_rule, + "access_target_rule_attributes": access_target_rule_attributes, + "access_timestamp": access_timestamp, + "access_title": access_title, + "access_type": access_type, + "access_updated_at": access_updated_at, + "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_usernames": access_usernames, + "access_uuid": access_uuid, + "access_uuid-2": access_uuid$$2, + "access_vnc_props": access_vnc_props, + "access_warp_props": access_warp_props, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/outputs.ts index 98c54cc72..8c003d841 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_policy_check_response` in responses. */ -export const access_policy_check_response_output: JsonSchema = { +export const access_policy_check_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts index 24852e154..c6138af15 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts @@ -3,60 +3,71 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, - access_uuid_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, + access_uuid, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; +import { + access_identifier, + access_uuid as access_uuid$, +} from "../../../schemas.js"; import { access_app_id } from "../schemas.js"; -import { access_policy_check_response_output } from "./outputs.js"; +import { access_policy_check_response } from "./outputs.js"; /** - * The tools of `zero_trust.access.applications.user_policy_checks`. + * The tools of `zeroTrust.access.applications.userPolicyChecks`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_applications_user_policy_checks_list", + name: "zeroTrust_access_applications_userPolicyChecks_list", title: "Test Access policies", description: "Tests if a specific user has permission to access an application.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "app_id": { + "$ref": "#/$defs/access_app_id" + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "app_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "app_id": { - "$ref": "#/$defs/access_app_id" + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "app_id" + "path" ], $defs: { "access_app_id": access_app_id, "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_policy_check_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_policy_check_response": access_policy_check_response_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_policy_check_response": access_policy_check_response, + "access_uuid": access_uuid, }, }, annotations: { @@ -84,11 +95,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_policy_check_response": access_policy_check_response_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_policy_check_response": access_policy_check_response, + "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts index faf6ee795..6a5548952 100644 --- a/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_app_count-2` in responses. */ -export const access_app_count_2_output: JsonSchema = { +export const access_app_count$$2: JsonSchema = { "type": "integer" }; /** * The schema of `access_contract_version` in responses. */ -export const access_contract_version_output: JsonSchema = { +export const access_contract_version: JsonSchema = { "type": "integer" }; /** * The schema of `access_custom_page` in responses. */ -export const access_custom_page_output: JsonSchema = { +export const access_custom_page: JsonSchema = { "properties": { "app_count": { "$ref": "#/$defs/access_app_count-2" @@ -58,7 +58,7 @@ export const access_custom_page_output: JsonSchema = { /** * The schema of `access_custom_page_without_html` in responses. */ -export const access_custom_page_without_html_output: JsonSchema = { +export const access_custom_page_without_html: JsonSchema = { "properties": { "app_count": { "$ref": "#/$defs/access_app_count-2" @@ -98,14 +98,14 @@ export const access_custom_page_without_html_output: JsonSchema = { /** * The schema of `access_name-11` in responses. */ -export const access_name_11_output: JsonSchema = { +export const access_name$$11: JsonSchema = { "type": "string" }; /** * The schema of `access_response_collection-11` in responses. */ -export const access_response_collection_11_output: JsonSchema = { +export const access_response_collection$$11: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -127,7 +127,7 @@ export const access_response_collection_11_output: JsonSchema = { /** * The schema of `access_single_response-12` in responses. */ -export const access_single_response_12_output: JsonSchema = { +export const access_single_response$$12: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -146,7 +146,7 @@ export const access_single_response_12_output: JsonSchema = { /** * The schema of `access_single_response_without_html` in responses. */ -export const access_single_response_without_html_output: JsonSchema = { +export const access_single_response_without_html: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -165,7 +165,7 @@ export const access_single_response_without_html_output: JsonSchema = { /** * The schema of `access_template_violation` in responses. */ -export const access_template_violation_output: JsonSchema = { +export const access_template_violation: JsonSchema = { "properties": { "message": { "type": "string" @@ -187,7 +187,7 @@ export const access_template_violation_output: JsonSchema = { /** * The schema of `access_type-2` in responses. */ -export const access_type_2_output: JsonSchema = { +export const access_type$$2: JsonSchema = { "enum": [ "identity_denied", "forbidden", @@ -200,7 +200,7 @@ export const access_type_2_output: JsonSchema = { /** * The schema of `access_validate_response` in responses. */ -export const access_validate_response_output: JsonSchema = { +export const access_validate_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -219,7 +219,7 @@ export const access_validate_response_output: JsonSchema = { /** * The schema of `access_validation_result` in responses. */ -export const access_validation_result_output: JsonSchema = { +export const access_validation_result: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/zeroTrust/access/customPages/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/customPages/schemas.ts index 4e52a78e9..a51a7c442 100644 --- a/src/generated/forge-mcp/zeroTrust/access/customPages/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/customPages/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_app_count-2`. */ -export const access_app_count_2: JsonSchema = { +export const access_app_count$$2: JsonSchema = { "description": "Number of apps the custom page is assigned to.", "type": "integer" }; @@ -92,7 +92,7 @@ export const access_custom_page_validate: JsonSchema = { /** * The schema of `access_name-11`. */ -export const access_name_11: JsonSchema = { +export const access_name$$11: JsonSchema = { "description": "Custom page name.", "type": "string" }; @@ -100,7 +100,7 @@ export const access_name_11: JsonSchema = { /** * The schema of `access_type-2`. */ -export const access_type_2: JsonSchema = { +export const access_type$$2: JsonSchema = { "description": "Custom page type.", "enum": [ "identity_denied", diff --git a/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts b/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts index aea5bfcf9..72cf165eb 100644 --- a/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts @@ -1,100 +1,108 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; -import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_created_at_output, - access_messages_output, - access_timestamp_output, - access_updated_at_output, - access_uuid_output, -} from "../../outputs.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, access_created_at, - access_identifier, + access_messages, access_timestamp, access_updated_at, access_uuid, -} from "../../schemas.js"; -import { access_id_response_3_output } from "../outputs.js"; +} from "../../outputs.js"; import { - access_app_count_2_output, - access_contract_version_output, - access_custom_page_output, - access_custom_page_without_html_output, - access_name_11_output, - access_response_collection_11_output, - access_single_response_12_output, - access_single_response_without_html_output, - access_template_violation_output, - access_type_2_output, - access_validate_response_output, - access_validation_result_output, -} from "./outputs.js"; + access_created_at as access_created_at$, + access_identifier, + access_timestamp as access_timestamp$, + access_updated_at as access_updated_at$, + access_uuid as access_uuid$, +} from "../../schemas.js"; +import { access_id_response$$3 } from "../outputs.js"; import { - access_app_count_2, + access_app_count$$2, access_contract_version, access_custom_page, + access_custom_page_without_html, + access_name$$11, + access_response_collection$$11, + access_single_response$$12, + access_single_response_without_html, + access_template_violation, + access_type$$2, + access_validate_response, + access_validation_result, +} from "./outputs.js"; +import { + access_app_count$$2 as access_app_count$$2$, + access_contract_version as access_contract_version$, + access_custom_page as access_custom_page$, access_custom_page_validate, - access_name_11, - access_type_2, + access_name$$11 as access_name$$11$, + access_type$$2 as access_type$$2$, } from "./schemas.js"; /** - * The tools of `zero_trust.access.custom_pages`. + * The tools of `zeroTrust.access.customPages`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_custom_pages_create", + name: "zeroTrust_access_customPages_create", title: "Create a custom page", description: "Create a custom page", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_custom_page" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "access_app_count-2": access_app_count_2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, - "access_custom_page": access_custom_page, + "access_app_count-2": access_app_count$$2$, + "access_contract_version": access_contract_version$, + "access_created_at": access_created_at$, + "access_custom_page": access_custom_page$, "access_identifier": access_identifier, - "access_name-11": access_name_11, - "access_timestamp": access_timestamp, - "access_type-2": access_type_2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, + "access_name-11": access_name$$11$, + "access_timestamp": access_timestamp$, + "access_type-2": access_type$$2$, + "access_updated_at": access_updated_at$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response_without_html", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_app_count-2": access_app_count_2_output, - "access_contract_version": access_contract_version_output, - "access_created_at": access_created_at_output, - "access_custom_page_without_html": access_custom_page_without_html_output, - "access_messages": access_messages_output, - "access_name-11": access_name_11_output, - "access_single_response_without_html": access_single_response_without_html_output, - "access_template_violation": access_template_violation_output, - "access_timestamp": access_timestamp_output, - "access_type-2": access_type_2_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_app_count-2": access_app_count$$2, + "access_contract_version": access_contract_version, + "access_created_at": access_created_at, + "access_custom_page_without_html": access_custom_page_without_html, + "access_messages": access_messages, + "access_name-11": access_name$$11, + "access_single_response_without_html": access_single_response_without_html, + "access_template_violation": access_template_violation, + "access_timestamp": access_timestamp, + "access_type-2": access_type$$2, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -124,22 +132,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_count-2": access_app_count_2_output, - "access_contract_version": access_contract_version_output, - "access_created_at": access_created_at_output, - "access_custom_page_without_html": access_custom_page_without_html_output, - "access_messages": access_messages_output, - "access_name-11": access_name_11_output, - "access_single_response_without_html": access_single_response_without_html_output, - "access_template_violation": access_template_violation_output, - "access_timestamp": access_timestamp_output, - "access_type-2": access_type_2_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, - "access_validate_response": access_validate_response_output, - "access_validation_result": access_validation_result_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_count-2": access_app_count$$2, + "access_contract_version": access_contract_version, + "access_created_at": access_created_at, + "access_custom_page_without_html": access_custom_page_without_html, + "access_messages": access_messages, + "access_name-11": access_name$$11, + "access_single_response_without_html": access_single_response_without_html, + "access_template_violation": access_template_violation, + "access_timestamp": access_timestamp, + "access_type-2": access_type$$2, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, + "access_validate_response": access_validate_response, + "access_validation_result": access_validation_result, }, }, request: (args) => ({ @@ -148,37 +156,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_custom_pages_delete", + name: "zeroTrust_access_customPages_delete", title: "Delete a custom page", description: "Delete a custom page", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "custom_page_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "custom_page_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "custom_page_id" + ], + "type": "object" } }, required: [ - "account_id", - "custom_page_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_id_response-3", $defs: { - "access_api-response-common": access_api_response_common_output, - "access_id_response-3": access_id_response_3_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-common": access_api$$response$$common, + "access_id_response-3": access_id_response$$3, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, annotations: { @@ -205,11 +221,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_id_response-3": access_id_response_3_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_id_response-3": access_id_response$$3, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -217,45 +233,53 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_custom_pages_get", + name: "zeroTrust_access_customPages_get", title: "Get a custom page", description: "Fetches a custom page and also returns its HTML.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "custom_page_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "custom_page_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "custom_page_id" + ], + "type": "object" } }, required: [ - "account_id", - "custom_page_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-12", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_app_count-2": access_app_count_2_output, - "access_contract_version": access_contract_version_output, - "access_created_at": access_created_at_output, - "access_custom_page": access_custom_page_output, - "access_messages": access_messages_output, - "access_name-11": access_name_11_output, - "access_single_response-12": access_single_response_12_output, - "access_timestamp": access_timestamp_output, - "access_type-2": access_type_2_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_app_count-2": access_app_count$$2, + "access_contract_version": access_contract_version, + "access_created_at": access_created_at, + "access_custom_page": access_custom_page, + "access_messages": access_messages, + "access_name-11": access_name$$11, + "access_single_response-12": access_single_response$$12, + "access_timestamp": access_timestamp, + "access_type-2": access_type$$2, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -283,19 +307,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_count-2": access_app_count_2_output, - "access_contract_version": access_contract_version_output, - "access_created_at": access_created_at_output, - "access_custom_page": access_custom_page_output, - "access_messages": access_messages_output, - "access_name-11": access_name_11_output, - "access_single_response-12": access_single_response_12_output, - "access_timestamp": access_timestamp_output, - "access_type-2": access_type_2_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_count-2": access_app_count$$2, + "access_contract_version": access_contract_version, + "access_created_at": access_created_at, + "access_custom_page": access_custom_page, + "access_messages": access_messages, + "access_name-11": access_name$$11, + "access_single_response-12": access_single_response$$12, + "access_timestamp": access_timestamp, + "access_type-2": access_type$$2, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -303,29 +327,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_custom_pages_list", + name: "zeroTrust_access_customPages_list", title: "List custom pages", description: "List custom pages", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 50, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -334,20 +371,20 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-11", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_app_count-2": access_app_count_2_output, - "access_contract_version": access_contract_version_output, - "access_created_at": access_created_at_output, - "access_custom_page_without_html": access_custom_page_without_html_output, - "access_messages": access_messages_output, - "access_name-11": access_name_11_output, - "access_response_collection-11": access_response_collection_11_output, - "access_template_violation": access_template_violation_output, - "access_timestamp": access_timestamp_output, - "access_type-2": access_type_2_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_app_count-2": access_app_count$$2, + "access_contract_version": access_contract_version, + "access_created_at": access_created_at, + "access_custom_page_without_html": access_custom_page_without_html, + "access_messages": access_messages, + "access_name-11": access_name$$11, + "access_response_collection-11": access_response_collection$$11, + "access_template_violation": access_template_violation, + "access_timestamp": access_timestamp, + "access_type-2": access_type$$2, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -375,83 +412,91 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_app_count-2": access_app_count_2_output, - "access_contract_version": access_contract_version_output, - "access_created_at": access_created_at_output, - "access_custom_page_without_html": access_custom_page_without_html_output, - "access_messages": access_messages_output, - "access_name-11": access_name_11_output, - "access_response_collection-11": access_response_collection_11_output, - "access_template_violation": access_template_violation_output, - "access_timestamp": access_timestamp_output, - "access_type-2": access_type_2_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_app_count-2": access_app_count$$2, + "access_contract_version": access_contract_version, + "access_created_at": access_created_at, + "access_custom_page_without_html": access_custom_page_without_html, + "access_messages": access_messages, + "access_name-11": access_name$$11, + "access_response_collection-11": access_response_collection$$11, + "access_template_violation": access_template_violation, + "access_timestamp": access_timestamp, + "access_type-2": access_type$$2, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/custom_pages`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_custom_pages_update", + name: "zeroTrust_access_customPages_update", title: "Update a custom page", description: "Update a custom page", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_custom_page" }, - "custom_page_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "custom_page_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "custom_page_id" + ], + "type": "object" } }, required: [ - "account_id", - "custom_page_id" + "path" ], $defs: { - "access_app_count-2": access_app_count_2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, - "access_custom_page": access_custom_page, + "access_app_count-2": access_app_count$$2$, + "access_contract_version": access_contract_version$, + "access_created_at": access_created_at$, + "access_custom_page": access_custom_page$, "access_identifier": access_identifier, - "access_name-11": access_name_11, - "access_timestamp": access_timestamp, - "access_type-2": access_type_2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, + "access_name-11": access_name$$11$, + "access_timestamp": access_timestamp$, + "access_type-2": access_type$$2$, + "access_updated_at": access_updated_at$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response_without_html", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_app_count-2": access_app_count_2_output, - "access_contract_version": access_contract_version_output, - "access_created_at": access_created_at_output, - "access_custom_page_without_html": access_custom_page_without_html_output, - "access_messages": access_messages_output, - "access_name-11": access_name_11_output, - "access_single_response_without_html": access_single_response_without_html_output, - "access_template_violation": access_template_violation_output, - "access_timestamp": access_timestamp_output, - "access_type-2": access_type_2_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_app_count-2": access_app_count$$2, + "access_contract_version": access_contract_version, + "access_created_at": access_created_at, + "access_custom_page_without_html": access_custom_page_without_html, + "access_messages": access_messages, + "access_name-11": access_name$$11, + "access_single_response_without_html": access_single_response_without_html, + "access_template_violation": access_template_violation, + "access_timestamp": access_timestamp, + "access_type-2": access_type$$2, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -481,22 +526,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_count-2": access_app_count_2_output, - "access_contract_version": access_contract_version_output, - "access_created_at": access_created_at_output, - "access_custom_page_without_html": access_custom_page_without_html_output, - "access_messages": access_messages_output, - "access_name-11": access_name_11_output, - "access_single_response_without_html": access_single_response_without_html_output, - "access_template_violation": access_template_violation_output, - "access_timestamp": access_timestamp_output, - "access_type-2": access_type_2_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, - "access_validate_response": access_validate_response_output, - "access_validation_result": access_validation_result_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_count-2": access_app_count$$2, + "access_contract_version": access_contract_version, + "access_created_at": access_created_at, + "access_custom_page_without_html": access_custom_page_without_html, + "access_messages": access_messages, + "access_name-11": access_name$$11, + "access_single_response_without_html": access_single_response_without_html, + "access_template_violation": access_template_violation, + "access_timestamp": access_timestamp, + "access_type-2": access_type$$2, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, + "access_validate_response": access_validate_response, + "access_validation_result": access_validation_result, }, }, request: (args) => ({ @@ -505,38 +550,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_custom_pages_validate", + name: "zeroTrust_access_customPages_validate", title: "Validate a custom page template", description: "Validate a Liquid template and return its errors and warnings without persisting it.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_custom_page_validate" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_custom_page_validate": access_custom_page_validate, "access_identifier": access_identifier, - "access_type-2": access_type_2, + "access_type-2": access_type$$2$, }, }, outputSchema: { "$ref": "#/$defs/access_validate_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_template_violation": access_template_violation_output, - "access_type-2": access_type_2_output, - "access_validate_response": access_validate_response_output, - "access_validation_result": access_validation_result_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_template_violation": access_template_violation, + "access_type-2": access_type$$2, + "access_validate_response": access_validate_response, + "access_validation_result": access_validation_result, }, }, annotations: { @@ -563,13 +616,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_template_violation": access_template_violation_output, - "access_type-2": access_type_2_output, - "access_validate_response": access_validate_response_output, - "access_validation_result": access_validation_result_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_template_violation": access_template_violation, + "access_type-2": access_type$$2, + "access_validate_response": access_validate_response, + "access_validation_result": access_validation_result, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts index d2387ced8..a6745484c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `zero-trust-gateway_public_key` in responses. */ -export const zero_trust_gateway_public_key_output: JsonSchema = { +export const zero$$trust$$gateway_public_key: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_settings` in responses. */ -export const zero_trust_gateway_settings_output: JsonSchema = { +export const zero$$trust$$gateway_settings: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" @@ -34,7 +34,7 @@ export const zero_trust_gateway_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_single_response-6` in responses. */ -export const zero_trust_gateway_single_response_6_output: JsonSchema = { +export const zero$$trust$$gateway_single_response$$6: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -53,6 +53,6 @@ export const zero_trust_gateway_single_response_6_output: JsonSchema = { /** * The schema of `zero-trust-gateway_uuid-5` in responses. */ -export const zero_trust_gateway_uuid_5_output: JsonSchema = { +export const zero$$trust$$gateway_uuid$$5: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/schemas.ts index 780f8b353..e61f8d28c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `zero-trust-gateway_public_key`. */ -export const zero_trust_gateway_public_key: JsonSchema = { +export const zero$$trust$$gateway_public_key: JsonSchema = { "description": "Provide the Base64-encoded HPKE public key that encrypts SSH session logs. See https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-infrastructure-access/#enable-ssh-command-logging.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts index ac79d224e..4980da413 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts @@ -3,53 +3,61 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, - zero_trust_gateway_read_only_timestamp_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, + zero$$trust$$gateway_read_only_timestamp, } from "../../../outputs.js"; -import { zero_trust_gateway_identifier_2 } from "../../../schemas.js"; +import { zero$$trust$$gateway_identifier$$2 } from "../../../schemas.js"; import { - zero_trust_gateway_public_key_output, - zero_trust_gateway_settings_output, - zero_trust_gateway_single_response_6_output, - zero_trust_gateway_uuid_5_output, + zero$$trust$$gateway_public_key, + zero$$trust$$gateway_settings, + zero$$trust$$gateway_single_response$$6, + zero$$trust$$gateway_uuid$$5, } from "./outputs.js"; -import { zero_trust_gateway_public_key } from "./schemas.js"; +import { zero$$trust$$gateway_public_key as zero$$trust$$gateway_public_key$ } from "./schemas.js"; /** - * The tools of `zero_trust.access.infrastructure.audit_ssh_settings`. + * The tools of `zeroTrust.access.infrastructure.auditSshSettings`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_infrastructure_audit_ssh_settings_get", + name: "zeroTrust_access_infrastructure_auditSshSettings_get", title: "Get Zero Trust SSH settings", description: "Retrieve SSH with Access for Infrastructure settings for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-6", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_public_key": zero_trust_gateway_public_key_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_settings": zero_trust_gateway_settings_output, - "zero-trust-gateway_single_response-6": zero_trust_gateway_single_response_6_output, - "zero-trust-gateway_uuid-5": zero_trust_gateway_uuid_5_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_settings": zero$$trust$$gateway_settings, + "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, + "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, annotations: { @@ -78,14 +86,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_public_key": zero_trust_gateway_public_key_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_settings": zero_trust_gateway_settings_output, - "zero-trust-gateway_single_response-6": zero_trust_gateway_single_response_6_output, - "zero-trust-gateway_uuid-5": zero_trust_gateway_uuid_5_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_settings": zero$$trust$$gateway_settings, + "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, + "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, request: (args) => ({ @@ -93,34 +101,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_infrastructure_audit_ssh_settings_rotate_seed", + name: "zeroTrust_access_infrastructure_auditSshSettings_rotateSeed", title: "Rotate Zero Trust SSH account seed", description: "Rotate the SSH account seed that generates the host key identity when connecting through the Cloudflare SSH Proxy.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-6", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_public_key": zero_trust_gateway_public_key_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_settings": zero_trust_gateway_settings_output, - "zero-trust-gateway_single_response-6": zero_trust_gateway_single_response_6_output, - "zero-trust-gateway_uuid-5": zero_trust_gateway_uuid_5_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_settings": zero$$trust$$gateway_settings, + "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, + "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, annotations: { @@ -149,14 +165,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_public_key": zero_trust_gateway_public_key_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_settings": zero_trust_gateway_settings_output, - "zero-trust-gateway_single_response-6": zero_trust_gateway_single_response_6_output, - "zero-trust-gateway_uuid-5": zero_trust_gateway_uuid_5_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_settings": zero$$trust$$gateway_settings, + "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, + "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, request: (args) => ({ @@ -164,16 +180,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_infrastructure_audit_ssh_settings_update", + name: "zeroTrust_access_infrastructure_auditSshSettings_update", title: "Update Zero Trust SSH settings", description: "Update SSH with Access for Infrastructure settings for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "public_key": { @@ -185,27 +197,39 @@ export const tools: readonly Tool[] = [ "public_key" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_public_key": zero_trust_gateway_public_key, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-6", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_public_key": zero_trust_gateway_public_key_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_settings": zero_trust_gateway_settings_output, - "zero-trust-gateway_single_response-6": zero_trust_gateway_single_response_6_output, - "zero-trust-gateway_uuid-5": zero_trust_gateway_uuid_5_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_settings": zero$$trust$$gateway_settings, + "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, + "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, annotations: { @@ -234,14 +258,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_public_key": zero_trust_gateway_public_key_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_settings": zero_trust_gateway_settings_output, - "zero-trust-gateway_single_response-6": zero_trust_gateway_single_response_6_output, - "zero-trust-gateway_uuid-5": zero_trust_gateway_uuid_5_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_settings": zero$$trust$$gateway_settings, + "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, + "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/outputs.ts index 6a536d835..bf0b1db9f 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_certificates-2` in responses. */ -export const access_certificates_2_output: JsonSchema = { +export const access_certificates$$2: JsonSchema = { "properties": { "id": { "type": "string" @@ -21,7 +21,7 @@ export const access_certificates_2_output: JsonSchema = { /** * The schema of `access_response_collection-7` in responses. */ -export const access_response_collection_7_output: JsonSchema = { +export const access_response_collection$$7: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -43,7 +43,7 @@ export const access_response_collection_7_output: JsonSchema = { /** * The schema of `access_single_response-8` in responses. */ -export const access_single_response_8_output: JsonSchema = { +export const access_single_response$$8: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts index 84efe8b61..7d0447cd5 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts @@ -3,39 +3,50 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_id_response_output, - access_messages_output, - access_uuid_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_id_response, + access_messages, + access_uuid, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; import { - access_certificates_2_output, - access_response_collection_7_output, - access_single_response_8_output, + access_identifier, + access_uuid as access_uuid$, +} from "../../../schemas.js"; +import { + access_certificates$$2, + access_response_collection$$7, + access_single_response$$8, } from "./outputs.js"; /** - * The tools of `zero_trust.access.infrastructure.ssh_ca`. + * The tools of `zeroTrust.access.infrastructure.sshCa`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_infrastructure_ssh_ca_create", + name: "zeroTrust_access_infrastructure_sshCa_create", title: "Add a new SSH Certificate Authority (CA)", description: "Adds a new SSH Certificate Authority (CA).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -44,10 +55,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_single_response-8", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_certificates-2": access_certificates_2_output, - "access_messages": access_messages_output, - "access_single_response-8": access_single_response_8_output, + "access_api-response-single": access_api$$response$$single, + "access_certificates-2": access_certificates$$2, + "access_messages": access_messages, + "access_single_response-8": access_single_response$$8, }, }, annotations: { @@ -74,11 +85,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_certificates-2": access_certificates_2_output, - "access_messages": access_messages_output, - "access_single_response-8": access_single_response_8_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_certificates-2": access_certificates$$2, + "access_messages": access_messages, + "access_single_response-8": access_single_response$$8, }, }, request: (args) => ({ @@ -86,37 +97,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_infrastructure_ssh_ca_delete", + name: "zeroTrust_access_infrastructure_sshCa_delete", title: "Delete an SSH Certificate Authority (CA)", description: "Deletes an SSH Certificate Authority.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "certificate_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "certificate_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "account_id", - "certificate_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_id_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, annotations: { @@ -143,11 +162,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -155,19 +174,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_infrastructure_ssh_ca_list", + name: "zeroTrust_access_infrastructure_sshCa_list", title: "List SSH Certificate Authorities (CA)", description: "Lists SSH Certificate Authorities (CA).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -176,11 +203,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-7", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_certificates-2": access_certificates_2_output, - "access_messages": access_messages_output, - "access_response_collection-7": access_response_collection_7_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_certificates-2": access_certificates$$2, + "access_messages": access_messages, + "access_response_collection-7": access_response_collection$$7, }, }, annotations: { @@ -208,12 +235,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_certificates-2": access_certificates_2_output, - "access_messages": access_messages_output, - "access_response_collection-7": access_response_collection_7_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_certificates-2": access_certificates$$2, + "access_messages": access_messages, + "access_response_collection-7": access_response_collection$$7, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts index 7deaa1e89..8f4425706 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_access-requests` in responses. */ -export const access_access_requests_output: JsonSchema = { +export const access_access$$requests: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/access_action" @@ -42,63 +42,63 @@ export const access_access_requests_output: JsonSchema = { /** * The schema of `access_action` in responses. */ -export const access_action_output: JsonSchema = { +export const access_action: JsonSchema = { "type": "string" }; /** * The schema of `access_allowed` in responses. */ -export const access_allowed_output: JsonSchema = { +export const access_allowed: JsonSchema = { "type": "boolean" }; /** * The schema of `access_app_domain` in responses. */ -export const access_app_domain_output: JsonSchema = { +export const access_app_domain: JsonSchema = { "type": "string" }; /** * The schema of `access_app_uid` in responses. */ -export const access_app_uid_output: JsonSchema = { +export const access_app_uid: JsonSchema = { "type": "string" }; /** * The schema of `access_connection` in responses. */ -export const access_connection_output: JsonSchema = { +export const access_connection: JsonSchema = { "type": "string" }; /** * The schema of `access_email-3` in responses. */ -export const access_email_3_output: JsonSchema = { +export const access_email$$3: JsonSchema = { "type": "string" }; /** * The schema of `access_ip` in responses. */ -export const access_ip_output: JsonSchema = { +export const access_ip: JsonSchema = { "type": "string" }; /** * The schema of `access_ray_id` in responses. */ -export const access_ray_id_output: JsonSchema = { +export const access_ray_id: JsonSchema = { "type": "string" }; /** * The schema of `access_response_collection-12` in responses. */ -export const access_response_collection_12_output: JsonSchema = { +export const access_response_collection$$12: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-common" diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/schemas.ts index 4c888b45f..e10d88f51 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_email-3`. */ -export const access_email_3: JsonSchema = { +export const access_email$$3: JsonSchema = { "description": "The email address of the authenticating user.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts index ec011991e..a02adc16e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts @@ -1,184 +1,200 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_common_output, - access_messages_output, - access_timestamp_output, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_messages, + access_timestamp, } from "../../../outputs.js"; import { access_identifier } from "../../../schemas.js"; import { - access_access_requests_output, - access_action_output, - access_allowed_output, - access_app_domain_output, - access_app_uid_output, - access_connection_output, - access_email_3_output, - access_ip_output, - access_ray_id_output, - access_response_collection_12_output, + access_access$$requests, + access_action, + access_allowed, + access_app_domain, + access_app_uid, + access_connection, + access_email$$3, + access_ip, + access_ray_id, + access_response_collection$$12, } from "./outputs.js"; -import { access_email_3, access_user_id } from "./schemas.js"; +import { + access_email$$3 as access_email$$3$, + access_user_id, +} from "./schemas.js"; /** - * The tools of `zero_trust.access.logs.access_requests`. + * The tools of `zeroTrust.access.logs.accessRequests`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_logs_access_requests_list", + name: "zeroTrust_access_logs_accessRequests_list", title: "Get Access authentication logs", description: "Gets a list of Access authentication audit logs for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "allowed_op": { - "default": "eq", - "description": "Operator for the `allowed` filter.", - "enum": [ - "eq", - "neq" - ], - "type": "string" - }, - "app_type_op": { - "default": "eq", - "description": "Operator for the `app_type` filter.", - "enum": [ - "eq", - "neq" - ], - "type": "string" - }, - "app_uid_op": { - "default": "eq", - "description": "Operator for the `app_uid` filter.", - "enum": [ - "eq", - "neq" - ], - "type": "string" - }, - "country_code_op": { - "default": "eq", - "description": "Operator for the `country_code` filter.", - "enum": [ - "eq", - "neq" - ], - "type": "string" - }, - "direction": { - "default": "desc", - "description": "The chronological sorting order for the logs.", - "enum": [ - "desc", - "asc" - ], - "type": "string" - }, - "email": { - "$ref": "#/$defs/access_email-3", - "description": "Filter by user email. Match mode is controlled by `emailOp` (preferred) or the legacy `email_exact` flag.\n- Default (no `emailOp`, `email_exact=false` or unset): substring match — `email=@example.com` returns all events with that domain.\n- Exact match: set `emailOp=eq` (preferred) or `email_exact=true` — e.g. `email=user@example.com&email_exact=true` returns only that user.\n- Explicit substring match: set `emailOp=contains` (without `email_exact=true`). When both are set, `email_exact=true` takes precedence and the match is exact.\n- Exclusion: set `emailOp=neq`. With `email_exact=true` this is an exact-value exclusion; without it, a fuzzy substring exclusion.\n" - }, - "email_exact": { - "default": false, - "description": "When true, `email` is matched exactly instead of substring matching.", - "type": "boolean" - }, - "email_op": { - "default": "eq", - "description": "Operator for the `email` filter.\n`contains` performs a substring (case-sensitive) match. When `email_exact=true`\nis also set, `email_exact` takes precedence and `contains` is ignored.\n", - "enum": [ - "eq", - "neq", - "contains" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "fields": { - "description": "Comma-separated list of fields to include in the response.\nWhen omitted, all fields are returned.\n", - "type": "string" - }, - "idp_op": { - "default": "eq", - "description": "Operator for the `idp` filter.", - "enum": [ - "eq", - "neq" - ], - "type": "string" - }, - "limit": { - "default": 25, - "description": "The maximum number of log entries to retrieve.", - "type": "integer" - }, - "non_identity_op": { - "default": "eq", - "description": "Operator for the `non_identity` filter.", - "enum": [ - "eq", - "neq" - ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 25, - "description": "Number of results per page.", - "type": "integer" - }, - "ray_id_op": { - "default": "eq", - "description": "Operator for the `ray_id` filter.", - "enum": [ - "eq", - "neq" - ], - "type": "string" - }, - "since": { - "description": "The earliest event timestamp to query.", - "format": "date-time", - "type": "string" - }, - "until": { - "description": "The latest event timestamp to query.", - "format": "date-time", - "type": "string" - }, - "user_id": { - "$ref": "#/$defs/access_user_id", - "deprecated": true, - "description": "Deprecated. Accepted for backward compatibility but no longer applied\nas a filter. Use `email` instead.\n" - }, - "user_id_op": { - "default": "eq", - "deprecated": true, - "description": "Deprecated. Accepted for backward compatibility but no longer applied\nas a filter (the `user_id` parameter is itself deprecated).\n", - "enum": [ - "eq", - "neq" - ], - "type": "string" + "query": { + "properties": { + "allowedOp": { + "default": "eq", + "description": "Operator for the `allowed` filter.", + "enum": [ + "eq", + "neq" + ], + "type": "string" + }, + "app_typeOp": { + "default": "eq", + "description": "Operator for the `app_type` filter.", + "enum": [ + "eq", + "neq" + ], + "type": "string" + }, + "app_uidOp": { + "default": "eq", + "description": "Operator for the `app_uid` filter.", + "enum": [ + "eq", + "neq" + ], + "type": "string" + }, + "country_codeOp": { + "default": "eq", + "description": "Operator for the `country_code` filter.", + "enum": [ + "eq", + "neq" + ], + "type": "string" + }, + "direction": { + "default": "desc", + "description": "The chronological sorting order for the logs.", + "enum": [ + "desc", + "asc" + ], + "type": "string" + }, + "email": { + "$ref": "#/$defs/access_email-3", + "description": "Filter by user email. Match mode is controlled by `emailOp` (preferred) or the legacy `email_exact` flag.\n- Default (no `emailOp`, `email_exact=false` or unset): substring match — `email=@example.com` returns all events with that domain.\n- Exact match: set `emailOp=eq` (preferred) or `email_exact=true` — e.g. `email=user@example.com&email_exact=true` returns only that user.\n- Explicit substring match: set `emailOp=contains` (without `email_exact=true`). When both are set, `email_exact=true` takes precedence and the match is exact.\n- Exclusion: set `emailOp=neq`. With `email_exact=true` this is an exact-value exclusion; without it, a fuzzy substring exclusion.\n" + }, + "emailOp": { + "default": "eq", + "description": "Operator for the `email` filter.\n`contains` performs a substring (case-sensitive) match. When `email_exact=true`\nis also set, `email_exact` takes precedence and `contains` is ignored.\n", + "enum": [ + "eq", + "neq", + "contains" + ], + "type": "string" + }, + "email_exact": { + "default": false, + "description": "When true, `email` is matched exactly instead of substring matching.", + "type": "boolean" + }, + "fields": { + "description": "Comma-separated list of fields to include in the response.\nWhen omitted, all fields are returned.\n", + "type": "string" + }, + "idpOp": { + "default": "eq", + "description": "Operator for the `idp` filter.", + "enum": [ + "eq", + "neq" + ], + "type": "string" + }, + "limit": { + "default": 25, + "description": "The maximum number of log entries to retrieve.", + "type": "integer" + }, + "non_identityOp": { + "default": "eq", + "description": "Operator for the `non_identity` filter.", + "enum": [ + "eq", + "neq" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 25, + "description": "Number of results per page.", + "type": "integer" + }, + "ray_idOp": { + "default": "eq", + "description": "Operator for the `ray_id` filter.", + "enum": [ + "eq", + "neq" + ], + "type": "string" + }, + "since": { + "description": "The earliest event timestamp to query.", + "format": "date-time", + "type": "string" + }, + "until": { + "description": "The latest event timestamp to query.", + "format": "date-time", + "type": "string" + }, + "user_id": { + "$ref": "#/$defs/access_user_id", + "deprecated": true, + "description": "Deprecated. Accepted for backward compatibility but no longer applied\nas a filter. Use `email` instead.\n" + }, + "user_idOp": { + "default": "eq", + "deprecated": true, + "description": "Deprecated. Accepted for backward compatibility but no longer applied\nas a filter (the `user_id` parameter is itself deprecated).\n", + "enum": [ + "eq", + "neq" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "access_email-3": access_email_3, + "access_email-3": access_email$$3$, "access_identifier": access_identifier, "access_user_id": access_user_id, }, @@ -186,19 +202,19 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-12", $defs: { - "access_access-requests": access_access_requests_output, - "access_action": access_action_output, - "access_allowed": access_allowed_output, - "access_api-response-common": access_api_response_common_output, - "access_app_domain": access_app_domain_output, - "access_app_uid": access_app_uid_output, - "access_connection": access_connection_output, - "access_email-3": access_email_3_output, - "access_ip": access_ip_output, - "access_messages": access_messages_output, - "access_ray_id": access_ray_id_output, - "access_response_collection-12": access_response_collection_12_output, - "access_timestamp": access_timestamp_output, + "access_access-requests": access_access$$requests, + "access_action": access_action, + "access_allowed": access_allowed, + "access_api-response-common": access_api$$response$$common, + "access_app_domain": access_app_domain, + "access_app_uid": access_app_uid, + "access_connection": access_connection, + "access_email-3": access_email$$3, + "access_ip": access_ip, + "access_messages": access_messages, + "access_ray_id": access_ray_id, + "access_response_collection-12": access_response_collection$$12, + "access_timestamp": access_timestamp, }, }, annotations: { @@ -225,44 +241,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access-requests": access_access_requests_output, - "access_action": access_action_output, - "access_allowed": access_allowed_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_app_domain": access_app_domain_output, - "access_app_uid": access_app_uid_output, - "access_connection": access_connection_output, - "access_email-3": access_email_3_output, - "access_ip": access_ip_output, - "access_messages": access_messages_output, - "access_ray_id": access_ray_id_output, - "access_response_collection-12": access_response_collection_12_output, - "access_timestamp": access_timestamp_output, + "access_access-requests": access_access$$requests, + "access_action": access_action, + "access_allowed": access_allowed, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_app_domain": access_app_domain, + "access_app_uid": access_app_uid, + "access_connection": access_connection, + "access_email-3": access_email$$3, + "access_ip": access_ip, + "access_messages": access_messages, + "access_ray_id": access_ray_id, + "access_response_collection-12": access_response_collection$$12, + "access_timestamp": access_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/logs/access_requests`, query: [ - ["limit", args["limit"], true], - ["direction", args["direction"], true], - ["since", args["since"], true], - ["until", args["until"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["email", args["email"], true], - ["email_exact", args["email_exact"], true], - ["user_id", args["user_id"], true], - ["allowedOp", args["allowed_op"], true], - ["country_codeOp", args["country_code_op"], true], - ["app_typeOp", args["app_type_op"], true], - ["app_uidOp", args["app_uid_op"], true], - ["ray_idOp", args["ray_id_op"], true], - ["emailOp", args["email_op"], true], - ["idpOp", args["idp_op"], true], - ["non_identityOp", args["non_identity_op"], true], - ["user_idOp", args["user_id_op"], true], - ["fields", args["fields"], true], + ["limit", param(args, "query", "limit"), true], + ["direction", param(args, "query", "direction"), true], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["email", param(args, "query", "email"), true], + ["email_exact", param(args, "query", "email_exact"), true], + ["user_id", param(args, "query", "user_id"), true], + ["allowedOp", param(args, "query", "allowedOp"), true], + ["country_codeOp", param(args, "query", "country_codeOp"), true], + ["app_typeOp", param(args, "query", "app_typeOp"), true], + ["app_uidOp", param(args, "query", "app_uidOp"), true], + ["ray_idOp", param(args, "query", "ray_idOp"), true], + ["emailOp", param(args, "query", "emailOp"), true], + ["idpOp", param(args, "query", "idpOp"), true], + ["non_identityOp", param(args, "query", "non_identityOp"), true], + ["user_idOp", param(args, "query", "user_idOp"), true], + ["fields", param(args, "query", "fields"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts index dd3cf1241..f11a15a39 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_jit_request_event` in responses. */ -export const access_jit_request_event_output: JsonSchema = { +export const access_jit_request_event: JsonSchema = { "properties": { "actor_email": { "type": "string" @@ -43,7 +43,7 @@ export const access_jit_request_event_output: JsonSchema = { /** * The schema of `access_jit_request_event_type` in responses. */ -export const access_jit_request_event_type_output: JsonSchema = { +export const access_jit_request_event_type: JsonSchema = { "enum": [ "CREATED", "APPROVER_DECISION", @@ -58,7 +58,7 @@ export const access_jit_request_event_type_output: JsonSchema = { /** * The schema of `access_jit_request_log` in responses. */ -export const access_jit_request_log_output: JsonSchema = { +export const access_jit_request_log: JsonSchema = { "properties": { "app_aud": { "type": "string" @@ -100,7 +100,7 @@ export const access_jit_request_log_output: JsonSchema = { /** * The schema of `access_jit_request_log_detail` in responses. */ -export const access_jit_request_log_detail_output: JsonSchema = { +export const access_jit_request_log_detail: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_jit_request_log" @@ -122,7 +122,7 @@ export const access_jit_request_log_detail_output: JsonSchema = { /** * The schema of `access_jit_request_status` in responses. */ -export const access_jit_request_status_output: JsonSchema = { +export const access_jit_request_status: JsonSchema = { "enum": [ "PENDING", "APPROVED", @@ -136,7 +136,7 @@ export const access_jit_request_status_output: JsonSchema = { /** * The schema of `access_response_collection-13` in responses. */ -export const access_response_collection_13_output: JsonSchema = { +export const access_response_collection$$13: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -158,7 +158,7 @@ export const access_response_collection_13_output: JsonSchema = { /** * The schema of `access_response_single` in responses. */ -export const access_response_single_output: JsonSchema = { +export const access_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts index 07807cbb8..ec4659a0f 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts @@ -1,50 +1,58 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_messages_output, - access_timestamp_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, + access_timestamp, } from "../../../outputs.js"; import { access_identifier } from "../../../schemas.js"; import { - access_jit_request_event_output, - access_jit_request_event_type_output, - access_jit_request_log_detail_output, - access_jit_request_log_output, - access_jit_request_status_output, - access_response_collection_13_output, - access_response_single_output, + access_jit_request_event, + access_jit_request_event_type, + access_jit_request_log, + access_jit_request_log_detail, + access_jit_request_status, + access_response_collection$$13, + access_response_single, } from "./outputs.js"; -import { access_jit_request_status } from "./schemas.js"; +import { access_jit_request_status as access_jit_request_status$ } from "./schemas.js"; /** - * The tools of `zero_trust.access.logs.jit_requests`. + * The tools of `zeroTrust.access.logs.jitRequests`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_logs_jit_requests_get", + name: "zeroTrust_access_logs_jitRequests_get", title: "Get an Access JIT request log", description: "Gets an account-scoped Access JIT request summary and its lifecycle events in chronological order.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "knock_request_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "knock_request_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "knock_request_id" + ], + "type": "object" } }, required: [ - "account_id", - "knock_request_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -53,15 +61,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_single", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_jit_request_event": access_jit_request_event_output, - "access_jit_request_event_type": access_jit_request_event_type_output, - "access_jit_request_log": access_jit_request_log_output, - "access_jit_request_log_detail": access_jit_request_log_detail_output, - "access_jit_request_status": access_jit_request_status_output, - "access_messages": access_messages_output, - "access_response_single": access_response_single_output, - "access_timestamp": access_timestamp_output, + "access_api-response-single": access_api$$response$$single, + "access_jit_request_event": access_jit_request_event, + "access_jit_request_event_type": access_jit_request_event_type, + "access_jit_request_log": access_jit_request_log, + "access_jit_request_log_detail": access_jit_request_log_detail, + "access_jit_request_status": access_jit_request_status, + "access_messages": access_messages, + "access_response_single": access_response_single, + "access_timestamp": access_timestamp, }, }, annotations: { @@ -86,16 +94,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_jit_request_event": access_jit_request_event_output, - "access_jit_request_event_type": access_jit_request_event_type_output, - "access_jit_request_log": access_jit_request_log_output, - "access_jit_request_log_detail": access_jit_request_log_detail_output, - "access_jit_request_status": access_jit_request_status_output, - "access_messages": access_messages_output, - "access_response_single": access_response_single_output, - "access_timestamp": access_timestamp_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_jit_request_event": access_jit_request_event, + "access_jit_request_event_type": access_jit_request_event_type, + "access_jit_request_log": access_jit_request_log, + "access_jit_request_log_detail": access_jit_request_log_detail, + "access_jit_request_status": access_jit_request_status, + "access_messages": access_messages, + "access_response_single": access_response_single, + "access_timestamp": access_timestamp, }, }, request: (args) => ({ @@ -103,63 +111,76 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_logs_jit_requests_list", + name: "zeroTrust_access_logs_jitRequests_list", title: "List Access JIT request logs", description: "Lists account-wide Access JIT request logs reconstructed from request lifecycle events.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 25, - "description": "Number of results per page.", - "type": "integer" - }, - "search": { - "description": "Case-insensitive search over request ID, requester email, application audience, and application hostname.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "since": { - "description": "The earliest request timestamp to query. Defaults to 366 days before the current time.", - "format": "date-time", - "type": "string" - }, - "status": { - "$ref": "#/$defs/access_jit_request_status", - "description": "JIT request status. `SPENT` is deprecated and interpreted as `APPROVED`." - }, - "until": { - "description": "The latest request timestamp to query. Defaults to the current time.", - "format": "date-time", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 25, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Case-insensitive search over request ID, requester email, application audience, and application hostname.", + "type": "string" + }, + "since": { + "description": "The earliest request timestamp to query. Defaults to 366 days before the current time.", + "format": "date-time", + "type": "string" + }, + "status": { + "$ref": "#/$defs/access_jit_request_status", + "description": "JIT request status. `SPENT` is deprecated and interpreted as `APPROVED`." + }, + "until": { + "description": "The latest request timestamp to query. Defaults to the current time.", + "format": "date-time", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_jit_request_status": access_jit_request_status, + "access_jit_request_status": access_jit_request_status$, }, }, outputSchema: { "$ref": "#/$defs/access_response_collection-13", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_jit_request_log": access_jit_request_log_output, - "access_jit_request_status": access_jit_request_status_output, - "access_messages": access_messages_output, - "access_response_collection-13": access_response_collection_13_output, - "access_timestamp": access_timestamp_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_jit_request_log": access_jit_request_log, + "access_jit_request_status": access_jit_request_status, + "access_messages": access_messages, + "access_response_collection-13": access_response_collection$$13, + "access_timestamp": access_timestamp, }, }, annotations: { @@ -181,25 +202,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_jit_request_log": access_jit_request_log_output, - "access_jit_request_status": access_jit_request_status_output, - "access_messages": access_messages_output, - "access_response_collection-13": access_response_collection_13_output, - "access_timestamp": access_timestamp_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_jit_request_log": access_jit_request_log, + "access_jit_request_status": access_jit_request_status, + "access_messages": access_messages, + "access_response_collection-13": access_response_collection$$13, + "access_timestamp": access_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/logs/jit_requests`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["status", args["status"], true], - ["search", args["search"], true], - ["since", args["since"], true], - ["until", args["until"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["status", param(args, "query", "status"), true], + ["search", param(args, "query", "search"), true], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts index 3622429fb..0d56d85b8 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; /** * The schema of `access_responses` in responses. */ -export const access_responses_output: JsonSchema = { +export const access_responses: JsonSchema = { "properties": { "cf_resource_id": { "type": "string" @@ -48,7 +48,7 @@ export const access_responses_output: JsonSchema = { /** * The schema of `access_scim_update_logs_response` in responses. */ -export const access_scim_update_logs_response_output: JsonSchema = { +export const access_scim_update_logs_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/schemas.ts index d1965dc8e..73963cbc4 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; /** * The schema of `access_cf_resource_id-3`. */ -export const access_cf_resource_id_3: JsonSchema = { +export const access_cf_resource_id$$3: JsonSchema = { "description": "The unique Cloudflare-generated Id of the SCIM resource. Pass once for\na single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to filter by multiple resources\nin one request.", "items": { "type": "string" @@ -40,7 +40,7 @@ export const access_idp_id: JsonSchema = { /** * The schema of `access_idp_resource_id-3`. */ -export const access_idp_resource_id_3: JsonSchema = { +export const access_idp_resource_id$$3: JsonSchema = { "description": "The IdP-generated Id of the SCIM resource. Pass once for a single\nlookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to filter by multiple\nresources in one request.", "items": { "type": "string" @@ -122,7 +122,7 @@ export const access_since: JsonSchema = { /** * The schema of `access_status-2`. */ -export const access_status_2: JsonSchema = { +export const access_status$$2: JsonSchema = { "description": "The status of the SCIM request.", "items": { "enum": [ diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts index e879a898e..bc8fe4e51 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts @@ -1,139 +1,155 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_messages_output, - access_timestamp_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_messages, + access_timestamp, } from "../../../../outputs.js"; import { access_identifier } from "../../../../schemas.js"; import { - access_responses_output, - access_scim_update_logs_response_output, + access_responses, + access_scim_update_logs_response, } from "./outputs.js"; import { - access_cf_resource_id_3, + access_cf_resource_id$$3, access_direction, access_idp_id, - access_idp_resource_id_3, + access_idp_resource_id$$3, access_limit, access_request_method, access_resource_group_name, access_resource_type, access_resource_user_email, access_since, - access_status_2, + access_status$$2, access_until, } from "./schemas.js"; /** - * The tools of `zero_trust.access.logs.scim.updates`. + * The tools of `zeroTrust.access.logs.scim.updates`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_logs_scim_updates_list", + name: "zeroTrust_access_logs_scim_updates_list", title: "List Access SCIM update logs", description: "Lists Access SCIM update logs that maintain a record of updates made to User and Group resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "cf_resource_id": { - "$ref": "#/$defs/access_cf_resource_id-3", - "description": "The unique Cloudflare-generated Id of the SCIM resource. Pass once for\na single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to filter by multiple resources\nin one request." - }, - "direction": { - "$ref": "#/$defs/access_direction", - "default": "desc", - "description": "The chronological order used to sort the logs." - }, - "idp_id": { - "$ref": "#/$defs/access_idp_id", - "description": "The unique Id of the IdP that has SCIM enabled." - }, - "idp_resource_id": { - "$ref": "#/$defs/access_idp_resource_id-3", - "description": "The IdP-generated Id of the SCIM resource. Pass once for a single\nlookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to filter by multiple\nresources in one request." - }, - "limit": { - "$ref": "#/$defs/access_limit", - "default": 20, - "description": "The maximum number of update logs to retrieve." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "Number of results per page.", - "type": "integer" - }, - "request_method": { - "$ref": "#/$defs/access_request_method", - "description": "The request method of the SCIM request." - }, - "resource_group_name": { - "$ref": "#/$defs/access_resource_group_name", - "description": "The display name of the SCIM Group resource. Pass once for a single\nlookup (`?resource_group_name=A`) or repeat the parameter\n(`?resource_group_name=A&resource_group_name=B`) to filter by multiple\ngroup names in one request." - }, - "resource_type": { - "$ref": "#/$defs/access_resource_type", - "description": "The resource type of the SCIM request." - }, - "resource_user_email": { - "$ref": "#/$defs/access_resource_user_email", - "description": "The email address of the SCIM User resource. Pass once for a single\nlookup (`?resource_user_email=A`) or repeat the parameter\n(`?resource_user_email=A&resource_user_email=B`) to filter by multiple\nemails in one request." - }, - "since": { - "$ref": "#/$defs/access_since", - "description": "the timestamp of the earliest update log." - }, - "status": { - "$ref": "#/$defs/access_status-2", - "description": "The status of the SCIM request." - }, - "until": { - "$ref": "#/$defs/access_until", - "description": "the timestamp of the most-recent update log." + "query": { + "properties": { + "cf_resource_id": { + "$ref": "#/$defs/access_cf_resource_id-3", + "description": "The unique Cloudflare-generated Id of the SCIM resource. Pass once for\na single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to filter by multiple resources\nin one request." + }, + "direction": { + "$ref": "#/$defs/access_direction", + "default": "desc", + "description": "The chronological order used to sort the logs." + }, + "idp_id": { + "$ref": "#/$defs/access_idp_id", + "description": "The unique Id of the IdP that has SCIM enabled." + }, + "idp_resource_id": { + "$ref": "#/$defs/access_idp_resource_id-3", + "description": "The IdP-generated Id of the SCIM resource. Pass once for a single\nlookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to filter by multiple\nresources in one request." + }, + "limit": { + "$ref": "#/$defs/access_limit", + "default": 20, + "description": "The maximum number of update logs to retrieve." + }, + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "Number of results per page.", + "type": "integer" + }, + "request_method": { + "$ref": "#/$defs/access_request_method", + "description": "The request method of the SCIM request." + }, + "resource_group_name": { + "$ref": "#/$defs/access_resource_group_name", + "description": "The display name of the SCIM Group resource. Pass once for a single\nlookup (`?resource_group_name=A`) or repeat the parameter\n(`?resource_group_name=A&resource_group_name=B`) to filter by multiple\ngroup names in one request." + }, + "resource_type": { + "$ref": "#/$defs/access_resource_type", + "description": "The resource type of the SCIM request." + }, + "resource_user_email": { + "$ref": "#/$defs/access_resource_user_email", + "description": "The email address of the SCIM User resource. Pass once for a single\nlookup (`?resource_user_email=A`) or repeat the parameter\n(`?resource_user_email=A&resource_user_email=B`) to filter by multiple\nemails in one request." + }, + "since": { + "$ref": "#/$defs/access_since", + "description": "the timestamp of the earliest update log." + }, + "status": { + "$ref": "#/$defs/access_status-2", + "description": "The status of the SCIM request." + }, + "until": { + "$ref": "#/$defs/access_until", + "description": "the timestamp of the most-recent update log." + } + }, + "required": [ + "idp_id" + ], + "type": "object" } }, required: [ - "account_id", - "idp_id" + "path", + "query" ], $defs: { - "access_cf_resource_id-3": access_cf_resource_id_3, + "access_cf_resource_id-3": access_cf_resource_id$$3, "access_direction": access_direction, "access_identifier": access_identifier, "access_idp_id": access_idp_id, - "access_idp_resource_id-3": access_idp_resource_id_3, + "access_idp_resource_id-3": access_idp_resource_id$$3, "access_limit": access_limit, "access_request_method": access_request_method, "access_resource_group_name": access_resource_group_name, "access_resource_type": access_resource_type, "access_resource_user_email": access_resource_user_email, "access_since": access_since, - "access_status-2": access_status_2, + "access_status-2": access_status$$2, "access_until": access_until, }, }, outputSchema: { "$ref": "#/$defs/access_scim_update_logs_response", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_messages": access_messages_output, - "access_responses": access_responses_output, - "access_scim_update_logs_response": access_scim_update_logs_response_output, - "access_timestamp": access_timestamp_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_messages": access_messages, + "access_responses": access_responses, + "access_scim_update_logs_response": access_scim_update_logs_response, + "access_timestamp": access_timestamp, }, }, annotations: { @@ -160,32 +176,32 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_messages": access_messages_output, - "access_responses": access_responses_output, - "access_scim_update_logs_response": access_scim_update_logs_response_output, - "access_timestamp": access_timestamp_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_messages": access_messages, + "access_responses": access_responses, + "access_scim_update_logs_response": access_scim_update_logs_response, + "access_timestamp": access_timestamp, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/logs/scim/updates`, query: [ - ["limit", args["limit"], true], - ["direction", args["direction"], true], - ["since", args["since"], true], - ["until", args["until"], true], - ["idp_id", args["idp_id"], true], - ["status", args["status"], true], - ["resource_type", args["resource_type"], true], - ["request_method", args["request_method"], true], - ["resource_user_email", args["resource_user_email"], true], - ["resource_group_name", args["resource_group_name"], true], - ["cf_resource_id", args["cf_resource_id"], true], - ["idp_resource_id", args["idp_resource_id"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["limit", param(args, "query", "limit"), true], + ["direction", param(args, "query", "direction"), true], + ["since", param(args, "query", "since"), true], + ["until", param(args, "query", "until"), true], + ["idp_id", param(args, "query", "idp_id"), true], + ["status", param(args, "query", "status"), true], + ["resource_type", param(args, "query", "resource_type"), true], + ["request_method", param(args, "query", "request_method"), true], + ["resource_user_email", param(args, "query", "resource_user_email"), true], + ["resource_group_name", param(args, "query", "resource_group_name"), true], + ["cf_resource_id", param(args, "query", "cf_resource_id"), true], + ["idp_resource_id", param(args, "query", "idp_resource_id"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts index 7b170d9b2..468ec1f92 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_aaguid` in responses. */ -export const access_aaguid_output: JsonSchema = { +export const access_aaguid: JsonSchema = { "format": "uuid", "type": "string" }; @@ -14,7 +14,7 @@ export const access_aaguid_output: JsonSchema = { /** * The schema of `access_authenticator_device_aaguid` in responses. */ -export const access_authenticator_device_aaguid_output: JsonSchema = { +export const access_authenticator_device_aaguid: JsonSchema = { "properties": { "aaguid": { "$ref": "#/$defs/access_aaguid" @@ -33,14 +33,14 @@ export const access_authenticator_device_aaguid_output: JsonSchema = { /** * The schema of `access_name-14` in responses. */ -export const access_name_14_output: JsonSchema = { +export const access_name$$14: JsonSchema = { "type": "string" }; /** * The schema of `access_response_collection-17` in responses. */ -export const access_response_collection_17_output: JsonSchema = { +export const access_response_collection$$17: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts index 5567af6b4..9925240a8 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts @@ -3,37 +3,45 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_messages_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_messages, } from "../../../outputs.js"; import { access_identifier } from "../../../schemas.js"; import { - access_aaguid_output, - access_authenticator_device_aaguid_output, - access_name_14_output, - access_response_collection_17_output, + access_aaguid, + access_authenticator_device_aaguid, + access_name$$14, + access_response_collection$$17, } from "./outputs.js"; /** - * The tools of `zero_trust.access.mfa.authenticator_catalog`. + * The tools of `zeroTrust.access.mfa.authenticatorCatalog`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_mfa_authenticator_catalog_list", + name: "zeroTrust_access_mfa_authenticatorCatalog_list", title: "List authenticator device AAGUIDs", description: "Returns a list of Authenticator Device AAGUIDs for MFA configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -42,13 +50,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-17", $defs: { - "access_aaguid": access_aaguid_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_authenticator_device_aaguid": access_authenticator_device_aaguid_output, - "access_messages": access_messages_output, - "access_name-14": access_name_14_output, - "access_response_collection-17": access_response_collection_17_output, + "access_aaguid": access_aaguid, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_authenticator_device_aaguid": access_authenticator_device_aaguid, + "access_messages": access_messages, + "access_name-14": access_name$$14, + "access_response_collection-17": access_response_collection$$17, }, }, annotations: { @@ -70,14 +78,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_aaguid": access_aaguid_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_authenticator_device_aaguid": access_authenticator_device_aaguid_output, - "access_messages": access_messages_output, - "access_name-14": access_name_14_output, - "access_response_collection-17": access_response_collection_17_output, + "access_aaguid": access_aaguid, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_authenticator_device_aaguid": access_authenticator_device_aaguid, + "access_messages": access_messages, + "access_name-14": access_name$$14, + "access_response_collection-17": access_response_collection$$17, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts index 49d49e3f7..895873ee4 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_associated_hostnames` in responses. */ -export const access_associated_hostnames_output: JsonSchema = { +export const access_associated_hostnames: JsonSchema = { "items": { "type": "string" }, @@ -16,7 +16,7 @@ export const access_associated_hostnames_output: JsonSchema = { /** * The schema of `access_certificates` in responses. */ -export const access_certificates_output: JsonSchema = { +export const access_certificates: JsonSchema = { "properties": { "associated_hostnames": { "$ref": "#/$defs/access_associated_hostnames" @@ -46,21 +46,21 @@ export const access_certificates_output: JsonSchema = { /** * The schema of `access_fingerprint` in responses. */ -export const access_fingerprint_output: JsonSchema = { +export const access_fingerprint: JsonSchema = { "type": "string" }; /** * The schema of `access_name-7` in responses. */ -export const access_name_7_output: JsonSchema = { +export const access_name$$7: JsonSchema = { "type": "string" }; /** * The schema of `access_response_collection-6` in responses. */ -export const access_response_collection_6_output: JsonSchema = { +export const access_response_collection$$6: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -82,7 +82,7 @@ export const access_response_collection_6_output: JsonSchema = { /** * The schema of `access_single_response-7` in responses. */ -export const access_single_response_7_output: JsonSchema = { +export const access_single_response$$7: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/schemas.ts index c5d4e3c6d..985fde9e7 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/schemas.ts @@ -17,7 +17,7 @@ export const access_associated_hostnames: JsonSchema = { /** * The schema of `access_name-7`. */ -export const access_name_7: JsonSchema = { +export const access_name$$7: JsonSchema = { "description": "The name of the certificate.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/outputs.ts index 96841167c..e9ef11a98 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_response_collection_hostnames` in responses. */ -export const access_response_collection_hostnames_output: JsonSchema = { +export const access_response_collection_hostnames: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -28,7 +28,7 @@ export const access_response_collection_hostnames_output: JsonSchema = { /** * The schema of `access_settings` in responses. */ -export const access_settings_output: JsonSchema = { +export const access_settings: JsonSchema = { "properties": { "china_network": { "type": "boolean" diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts index 5d97d3c03..bed49a8a6 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts @@ -3,45 +3,53 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_messages_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_messages, } from "../../../outputs.js"; import { access_identifier } from "../../../schemas.js"; import { - access_response_collection_hostnames_output, - access_settings_output, + access_response_collection_hostnames, + access_settings, } from "./outputs.js"; -import { access_settings } from "./schemas.js"; +import { access_settings as access_settings$ } from "./schemas.js"; /** - * The tools of `zero_trust.access.mtls_certificates.settings`. + * The tools of `zeroTrust.access.mtlsCertificates.settings`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_mtls_certificates_settings_get", + name: "zeroTrust_access_mtlsCertificates_settings_get", title: "List all mTLS hostname settings", description: "List all mTLS hostname settings for this account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -50,11 +58,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection_hostnames", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_messages": access_messages_output, - "access_response_collection_hostnames": access_response_collection_hostnames_output, - "access_settings": access_settings_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_messages": access_messages, + "access_response_collection_hostnames": access_response_collection_hostnames, + "access_settings": access_settings, }, }, annotations: { @@ -82,12 +90,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_messages": access_messages_output, - "access_response_collection_hostnames": access_response_collection_hostnames_output, - "access_settings": access_settings_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_messages": access_messages, + "access_response_collection_hostnames": access_response_collection_hostnames, + "access_settings": access_settings, }, }, request: (args) => ({ @@ -95,24 +103,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_mtls_certificates_settings_update", + name: "zeroTrust_access_mtlsCertificates_settings_update", title: "Update an mTLS certificate's hostname settings", description: "Updates an mTLS certificate's hostname settings.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "settings": { @@ -126,26 +122,46 @@ export const tools: readonly Tool[] = [ "settings" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { "access_identifier": access_identifier, - "access_settings": access_settings, + "access_settings": access_settings$, }, }, outputSchema: { "$ref": "#/$defs/access_response_collection_hostnames", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_messages": access_messages_output, - "access_response_collection_hostnames": access_response_collection_hostnames_output, - "access_settings": access_settings_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_messages": access_messages, + "access_response_collection_hostnames": access_response_collection_hostnames, + "access_settings": access_settings, }, }, annotations: { @@ -172,12 +188,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_messages": access_messages_output, - "access_response_collection_hostnames": access_response_collection_hostnames_output, - "access_settings": access_settings_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_messages": access_messages, + "access_response_collection_hostnames": access_response_collection_hostnames, + "access_settings": access_settings, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts index bb973a179..00b6eef4a 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts @@ -1,53 +1,47 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_created_at_output, - access_messages_output, - access_timestamp_output, - access_updated_at_output, - access_uuid_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_created_at, + access_messages, + access_timestamp, + access_updated_at, + access_uuid, } from "../../outputs.js"; -import { access_identifier, access_uuid } from "../../schemas.js"; -import { access_id_response_3_output } from "../outputs.js"; import { - access_associated_hostnames_output, - access_certificates_output, - access_fingerprint_output, - access_name_7_output, - access_response_collection_6_output, - access_single_response_7_output, + access_identifier, + access_uuid as access_uuid$, +} from "../../schemas.js"; +import { access_id_response$$3 } from "../outputs.js"; +import { + access_associated_hostnames, + access_certificates, + access_fingerprint, + access_name$$7, + access_response_collection$$6, + access_single_response$$7, } from "./outputs.js"; -import { access_associated_hostnames, access_name_7 } from "./schemas.js"; +import { + access_associated_hostnames as access_associated_hostnames$, + access_name$$7 as access_name$$7$, +} from "./schemas.js"; /** - * The tools of `zero_trust.access.mtls_certificates`. + * The tools of `zeroTrust.access.mtlsCertificates`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_mtls_certificates_create", + name: "zeroTrust_access_mtlsCertificates_create", title: "Add an mTLS certificate", description: "Adds a new mTLS root certificate to Access.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "associated_hostnames": { @@ -68,32 +62,52 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { - "access_associated_hostnames": access_associated_hostnames, + "access_associated_hostnames": access_associated_hostnames$, "access_identifier": access_identifier, - "access_name-7": access_name_7, + "access_name-7": access_name$$7$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-7", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_associated_hostnames": access_associated_hostnames_output, - "access_certificates": access_certificates_output, - "access_created_at": access_created_at_output, - "access_fingerprint": access_fingerprint_output, - "access_messages": access_messages_output, - "access_name-7": access_name_7_output, - "access_single_response-7": access_single_response_7_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-single": access_api$$response$$single, + "access_associated_hostnames": access_associated_hostnames, + "access_certificates": access_certificates, + "access_created_at": access_created_at, + "access_fingerprint": access_fingerprint, + "access_messages": access_messages, + "access_name-7": access_name$$7, + "access_single_response-7": access_single_response$$7, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -120,17 +134,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_associated_hostnames": access_associated_hostnames_output, - "access_certificates": access_certificates_output, - "access_created_at": access_created_at_output, - "access_fingerprint": access_fingerprint_output, - "access_messages": access_messages_output, - "access_name-7": access_name_7_output, - "access_single_response-7": access_single_response_7_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_associated_hostnames": access_associated_hostnames, + "access_certificates": access_certificates, + "access_created_at": access_created_at, + "access_fingerprint": access_fingerprint, + "access_messages": access_messages, + "access_name-7": access_name$$7, + "access_single_response-7": access_single_response$$7, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -139,46 +153,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_mtls_certificates_delete", + name: "zeroTrust_access_mtlsCertificates_delete", title: "Delete an mTLS certificate", description: "Deletes an mTLS certificate.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "certificate_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "certificate_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "certificate_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "certificate_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_id_response-3", $defs: { - "access_api-response-common": access_api_response_common_output, - "access_id_response-3": access_id_response_3_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-common": access_api$$response$$common, + "access_id_response-3": access_id_response$$3, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, annotations: { @@ -205,11 +227,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_id_response-3": access_id_response_3_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_id_response-3": access_id_response$$3, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -217,52 +239,60 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_mtls_certificates_get", + name: "zeroTrust_access_mtlsCertificates_get", title: "Get an mTLS certificate", description: "Fetches a single mTLS certificate.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "certificate_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "certificate_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "certificate_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "certificate_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-7", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_associated_hostnames": access_associated_hostnames_output, - "access_certificates": access_certificates_output, - "access_created_at": access_created_at_output, - "access_fingerprint": access_fingerprint_output, - "access_messages": access_messages_output, - "access_name-7": access_name_7_output, - "access_single_response-7": access_single_response_7_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-single": access_api$$response$$single, + "access_associated_hostnames": access_associated_hostnames, + "access_certificates": access_certificates, + "access_created_at": access_created_at, + "access_fingerprint": access_fingerprint, + "access_messages": access_messages, + "access_name-7": access_name$$7, + "access_single_response-7": access_single_response$$7, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -290,17 +320,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_associated_hostnames": access_associated_hostnames_output, - "access_certificates": access_certificates_output, - "access_created_at": access_created_at_output, - "access_fingerprint": access_fingerprint_output, - "access_messages": access_messages_output, - "access_name-7": access_name_7_output, - "access_single_response-7": access_single_response_7_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_associated_hostnames": access_associated_hostnames, + "access_certificates": access_certificates, + "access_created_at": access_created_at, + "access_fingerprint": access_fingerprint, + "access_messages": access_messages, + "access_name-7": access_name$$7, + "access_single_response-7": access_single_response$$7, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -308,38 +338,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_mtls_certificates_list", + name: "zeroTrust_access_mtlsCertificates_list", title: "List mTLS certificates", description: "Lists all mTLS root certificates.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" + "type": "object" }, - "per_page": { - "default": 50, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -348,17 +391,17 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-6", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_associated_hostnames": access_associated_hostnames_output, - "access_certificates": access_certificates_output, - "access_created_at": access_created_at_output, - "access_fingerprint": access_fingerprint_output, - "access_messages": access_messages_output, - "access_name-7": access_name_7_output, - "access_response_collection-6": access_response_collection_6_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_associated_hostnames": access_associated_hostnames, + "access_certificates": access_certificates, + "access_created_at": access_created_at, + "access_fingerprint": access_fingerprint, + "access_messages": access_messages, + "access_name-7": access_name$$7, + "access_response_collection-6": access_response_collection$$6, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -386,47 +429,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_associated_hostnames": access_associated_hostnames_output, - "access_certificates": access_certificates_output, - "access_created_at": access_created_at_output, - "access_fingerprint": access_fingerprint_output, - "access_messages": access_messages_output, - "access_name-7": access_name_7_output, - "access_response_collection-6": access_response_collection_6_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_associated_hostnames": access_associated_hostnames, + "access_certificates": access_certificates, + "access_created_at": access_created_at, + "access_fingerprint": access_fingerprint, + "access_messages": access_messages, + "access_name-7": access_name$$7, + "access_response_collection-6": access_response_collection$$6, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/certificates`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_mtls_certificates_update", + name: "zeroTrust_access_mtlsCertificates_update", title: "Update an mTLS certificate", description: "Updates a configured mTLS certificate.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "associated_hostnames": { @@ -443,37 +474,57 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "certificate_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "certificate_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "certificate_id", + "path", "body" ], $defs: { - "access_associated_hostnames": access_associated_hostnames, + "access_associated_hostnames": access_associated_hostnames$, "access_identifier": access_identifier, - "access_name-7": access_name_7, - "access_uuid": access_uuid, + "access_name-7": access_name$$7$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-7", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_associated_hostnames": access_associated_hostnames_output, - "access_certificates": access_certificates_output, - "access_created_at": access_created_at_output, - "access_fingerprint": access_fingerprint_output, - "access_messages": access_messages_output, - "access_name-7": access_name_7_output, - "access_single_response-7": access_single_response_7_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-single": access_api$$response$$single, + "access_associated_hostnames": access_associated_hostnames, + "access_certificates": access_certificates, + "access_created_at": access_created_at, + "access_fingerprint": access_fingerprint, + "access_messages": access_messages, + "access_name-7": access_name$$7, + "access_single_response-7": access_single_response$$7, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -500,17 +551,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_associated_hostnames": access_associated_hostnames_output, - "access_certificates": access_certificates_output, - "access_created_at": access_created_at_output, - "access_fingerprint": access_fingerprint_output, - "access_messages": access_messages_output, - "access_name-7": access_name_7_output, - "access_single_response-7": access_single_response_7_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_associated_hostnames": access_associated_hostnames, + "access_certificates": access_certificates, + "access_created_at": access_created_at, + "access_fingerprint": access_fingerprint, + "access_messages": access_messages, + "access_name-7": access_name$$7, + "access_single_response-7": access_single_response$$7, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/outputs.ts index 1b099593b..827149268 100644 --- a/src/generated/forge-mcp/zeroTrust/access/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `access_access_group_rule` in responses. */ -export const access_access_group_rule_output: JsonSchema = { +export const access_access_group_rule: JsonSchema = { "properties": { "group": { "properties": { @@ -30,7 +30,7 @@ export const access_access_group_rule_output: JsonSchema = { * The schema of `access_allowed_clipboard_local_to_remote_formats` in * responses. */ -export const access_allowed_clipboard_local_to_remote_formats_output: JsonSchema = { +export const access_allowed_clipboard_local_to_remote_formats: JsonSchema = { "items": { "$ref": "#/$defs/access_rdp_clipboard_format" }, @@ -41,7 +41,7 @@ export const access_allowed_clipboard_local_to_remote_formats_output: JsonSchema * The schema of `access_allowed_clipboard_remote_to_local_formats` in * responses. */ -export const access_allowed_clipboard_remote_to_local_formats_output: JsonSchema = { +export const access_allowed_clipboard_remote_to_local_formats: JsonSchema = { "items": { "$ref": "#/$defs/access_rdp_clipboard_format" }, @@ -51,7 +51,7 @@ export const access_allowed_clipboard_remote_to_local_formats_output: JsonSchema /** * The schema of `access_any_valid_service_token_rule` in responses. */ -export const access_any_valid_service_token_rule_output: JsonSchema = { +export const access_any_valid_service_token_rule: JsonSchema = { "properties": { "any_valid_service_token": { "type": "object" @@ -66,7 +66,7 @@ export const access_any_valid_service_token_rule_output: JsonSchema = { /** * The schema of `access_approval_group` in responses. */ -export const access_approval_group_output: JsonSchema = { +export const access_approval_group: JsonSchema = { "properties": { "approvals_needed": { "type": "number" @@ -90,7 +90,7 @@ export const access_approval_group_output: JsonSchema = { /** * The schema of `access_approval_groups` in responses. */ -export const access_approval_groups_output: JsonSchema = { +export const access_approval_groups: JsonSchema = { "items": { "$ref": "#/$defs/access_approval_group" }, @@ -100,14 +100,14 @@ export const access_approval_groups_output: JsonSchema = { /** * The schema of `access_approval_required` in responses. */ -export const access_approval_required_output: JsonSchema = { +export const access_approval_required: JsonSchema = { "type": "boolean" }; /** * The schema of `access_auth_context_rule` in responses. */ -export const access_auth_context_rule_output: JsonSchema = { +export const access_auth_context_rule: JsonSchema = { "properties": { "auth_context": { "properties": { @@ -138,7 +138,7 @@ export const access_auth_context_rule_output: JsonSchema = { /** * The schema of `access_authentication_method_rule` in responses. */ -export const access_authentication_method_rule_output: JsonSchema = { +export const access_authentication_method_rule: JsonSchema = { "properties": { "auth_method": { "properties": { @@ -161,7 +161,7 @@ export const access_authentication_method_rule_output: JsonSchema = { /** * The schema of `access_azure_group_rule` in responses. */ -export const access_azure_group_rule_output: JsonSchema = { +export const access_azure_group_rule: JsonSchema = { "properties": { "azureAD": { "properties": { @@ -188,7 +188,7 @@ export const access_azure_group_rule_output: JsonSchema = { /** * The schema of `access_base_policy_resp` in responses. */ -export const access_base_policy_resp_output: JsonSchema = { +export const access_base_policy_resp: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/access_timestamp" @@ -224,7 +224,7 @@ export const access_base_policy_resp_output: JsonSchema = { /** * The schema of `access_certificate_rule` in responses. */ -export const access_certificate_rule_output: JsonSchema = { +export const access_certificate_rule: JsonSchema = { "properties": { "certificate": { "type": "object" @@ -239,7 +239,7 @@ export const access_certificate_rule_output: JsonSchema = { /** * The schema of `access_cloudflare_account_member_rule` in responses. */ -export const access_cloudflare_account_member_rule_output: JsonSchema = { +export const access_cloudflare_account_member_rule: JsonSchema = { "properties": { "cloudflare_account_member": { "properties": { @@ -259,7 +259,7 @@ export const access_cloudflare_account_member_rule_output: JsonSchema = { /** * The schema of `access_common_name_rule` in responses. */ -export const access_common_name_rule_output: JsonSchema = { +export const access_common_name_rule: JsonSchema = { "properties": { "common_name": { "properties": { @@ -282,7 +282,7 @@ export const access_common_name_rule_output: JsonSchema = { /** * The schema of `access_connection_rules` in responses. */ -export const access_connection_rules_output: JsonSchema = { +export const access_connection_rules: JsonSchema = { "properties": { "rdp": { "$ref": "#/$defs/access_connection_rules_rdp" @@ -294,7 +294,7 @@ export const access_connection_rules_output: JsonSchema = { /** * The schema of `access_connection_rules_rdp` in responses. */ -export const access_connection_rules_rdp_output: JsonSchema = { +export const access_connection_rules_rdp: JsonSchema = { "properties": { "allowed_clipboard_local_to_remote_formats": { "$ref": "#/$defs/access_allowed_clipboard_local_to_remote_formats" @@ -309,7 +309,7 @@ export const access_connection_rules_rdp_output: JsonSchema = { /** * The schema of `access_country_rule` in responses. */ -export const access_country_rule_output: JsonSchema = { +export const access_country_rule: JsonSchema = { "properties": { "geo": { "properties": { @@ -332,7 +332,7 @@ export const access_country_rule_output: JsonSchema = { /** * The schema of `access_decision` in responses. */ -export const access_decision_output: JsonSchema = { +export const access_decision: JsonSchema = { "enum": [ "allow", "deny", @@ -345,7 +345,7 @@ export const access_decision_output: JsonSchema = { /** * The schema of `access_device_posture_rule` in responses. */ -export const access_device_posture_rule_output: JsonSchema = { +export const access_device_posture_rule: JsonSchema = { "properties": { "device_posture": { "properties": { @@ -371,7 +371,7 @@ export const access_device_posture_rule_output: JsonSchema = { /** * The schema of `access_domain_rule` in responses. */ -export const access_domain_rule_output: JsonSchema = { +export const access_domain_rule: JsonSchema = { "properties": { "email_domain": { "properties": { @@ -394,14 +394,14 @@ export const access_domain_rule_output: JsonSchema = { /** * The schema of `access_email-2` in responses. */ -export const access_email_2_output: JsonSchema = { +export const access_email$$2: JsonSchema = { "type": "string" }; /** * The schema of `access_email_list_rule` in responses. */ -export const access_email_list_rule_output: JsonSchema = { +export const access_email_list_rule: JsonSchema = { "properties": { "email_list": { "properties": { @@ -424,7 +424,7 @@ export const access_email_list_rule_output: JsonSchema = { /** * The schema of `access_email_rule` in responses. */ -export const access_email_rule_output: JsonSchema = { +export const access_email_rule: JsonSchema = { "properties": { "email": { "properties": { @@ -447,7 +447,7 @@ export const access_email_rule_output: JsonSchema = { /** * The schema of `access_everyone_rule` in responses. */ -export const access_everyone_rule_output: JsonSchema = { +export const access_everyone_rule: JsonSchema = { "properties": { "everyone": { "type": "object" @@ -462,7 +462,7 @@ export const access_everyone_rule_output: JsonSchema = { /** * The schema of `access_exclude-2` in responses. */ -export const access_exclude_2_output: JsonSchema = { +export const access_exclude$$2: JsonSchema = { "items": { "$ref": "#/$defs/access_rule" }, @@ -472,7 +472,7 @@ export const access_exclude_2_output: JsonSchema = { /** * The schema of `access_external_evaluation_rule` in responses. */ -export const access_external_evaluation_rule_output: JsonSchema = { +export const access_external_evaluation_rule: JsonSchema = { "properties": { "external_evaluation": { "properties": { @@ -499,7 +499,7 @@ export const access_external_evaluation_rule_output: JsonSchema = { /** * The schema of `access_github_organization_rule` in responses. */ -export const access_github_organization_rule_output: JsonSchema = { +export const access_github_organization_rule: JsonSchema = { "properties": { "github-organization": { "properties": { @@ -529,7 +529,7 @@ export const access_github_organization_rule_output: JsonSchema = { /** * The schema of `access_gsuite_group_rule` in responses. */ -export const access_gsuite_group_rule_output: JsonSchema = { +export const access_gsuite_group_rule: JsonSchema = { "properties": { "gsuite": { "properties": { @@ -556,7 +556,7 @@ export const access_gsuite_group_rule_output: JsonSchema = { /** * The schema of `access_id_response-3` in responses. */ -export const access_id_response_3_output: JsonSchema = { +export const access_id_response$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-common" @@ -580,7 +580,7 @@ export const access_id_response_3_output: JsonSchema = { /** * The schema of `access_include-2` in responses. */ -export const access_include_2_output: JsonSchema = { +export const access_include$$2: JsonSchema = { "items": { "$ref": "#/$defs/access_rule" }, @@ -590,7 +590,7 @@ export const access_include_2_output: JsonSchema = { /** * The schema of `access_ip_list_rule` in responses. */ -export const access_ip_list_rule_output: JsonSchema = { +export const access_ip_list_rule: JsonSchema = { "properties": { "ip_list": { "properties": { @@ -613,7 +613,7 @@ export const access_ip_list_rule_output: JsonSchema = { /** * The schema of `access_ip_rule` in responses. */ -export const access_ip_rule_output: JsonSchema = { +export const access_ip_rule: JsonSchema = { "properties": { "ip": { "properties": { @@ -636,14 +636,14 @@ export const access_ip_rule_output: JsonSchema = { /** * The schema of `access_isolation_required` in responses. */ -export const access_isolation_required_output: JsonSchema = { +export const access_isolation_required: JsonSchema = { "type": "boolean" }; /** * The schema of `access_linked_app_token_rule` in responses. */ -export const access_linked_app_token_rule_output: JsonSchema = { +export const access_linked_app_token_rule: JsonSchema = { "properties": { "linked_app_token": { "properties": { @@ -666,7 +666,7 @@ export const access_linked_app_token_rule_output: JsonSchema = { /** * The schema of `access_login_method_rule` in responses. */ -export const access_login_method_rule_output: JsonSchema = { +export const access_login_method_rule: JsonSchema = { "properties": { "login_method": { "properties": { @@ -689,7 +689,7 @@ export const access_login_method_rule_output: JsonSchema = { /** * The schema of `access_mfa_config` in responses. */ -export const access_mfa_config_output: JsonSchema = { +export const access_mfa_config: JsonSchema = { "properties": { "allowed_authenticators": { "items": { @@ -715,21 +715,21 @@ export const access_mfa_config_output: JsonSchema = { /** * The schema of `access_name-10` in responses. */ -export const access_name_10_output: JsonSchema = { +export const access_name$$10: JsonSchema = { "type": "string" }; /** * The schema of `access_name-9` in responses. */ -export const access_name_9_output: JsonSchema = { +export const access_name$$9: JsonSchema = { "type": "string" }; /** * The schema of `access_oidc_claim_rule` in responses. */ -export const access_oidc_claim_rule_output: JsonSchema = { +export const access_oidc_claim_rule: JsonSchema = { "properties": { "oidc": { "properties": { @@ -760,7 +760,7 @@ export const access_oidc_claim_rule_output: JsonSchema = { /** * The schema of `access_okta_group_rule` in responses. */ -export const access_okta_group_rule_output: JsonSchema = { +export const access_okta_group_rule: JsonSchema = { "properties": { "okta": { "properties": { @@ -787,14 +787,14 @@ export const access_okta_group_rule_output: JsonSchema = { /** * The schema of `access_policy_resolution_account_id` in responses. */ -export const access_policy_resolution_account_id_output: JsonSchema = { +export const access_policy_resolution_account_id: JsonSchema = { "type": "string" }; /** * The schema of `access_policy_resp` in responses. */ -export const access_policy_resp_output: JsonSchema = { +export const access_policy_resp: JsonSchema = { "allOf": [ { "properties": { @@ -834,21 +834,21 @@ export const access_policy_resp_output: JsonSchema = { /** * The schema of `access_purpose_justification_prompt` in responses. */ -export const access_purpose_justification_prompt_output: JsonSchema = { +export const access_purpose_justification_prompt: JsonSchema = { "type": "string" }; /** * The schema of `access_purpose_justification_required` in responses. */ -export const access_purpose_justification_required_output: JsonSchema = { +export const access_purpose_justification_required: JsonSchema = { "type": "boolean" }; /** * The schema of `access_rdp_clipboard_format` in responses. */ -export const access_rdp_clipboard_format_output: JsonSchema = { +export const access_rdp_clipboard_format: JsonSchema = { "enum": [ "text", "file" @@ -859,7 +859,7 @@ export const access_rdp_clipboard_format_output: JsonSchema = { /** * The schema of `access_require-2` in responses. */ -export const access_require_2_output: JsonSchema = { +export const access_require$$2: JsonSchema = { "items": { "$ref": "#/$defs/access_rule" }, @@ -869,7 +869,7 @@ export const access_require_2_output: JsonSchema = { /** * The schema of `access_rule` in responses. */ -export const access_rule_output: JsonSchema = { +export const access_rule: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/access_access_group_rule" @@ -958,7 +958,7 @@ export const access_rule_output: JsonSchema = { /** * The schema of `access_saml_group_rule` in responses. */ -export const access_saml_group_rule_output: JsonSchema = { +export const access_saml_group_rule: JsonSchema = { "properties": { "saml": { "properties": { @@ -989,7 +989,7 @@ export const access_saml_group_rule_output: JsonSchema = { /** * The schema of `access_service_token_rule` in responses. */ -export const access_service_token_rule_output: JsonSchema = { +export const access_service_token_rule: JsonSchema = { "properties": { "service_token": { "properties": { @@ -1012,7 +1012,7 @@ export const access_service_token_rule_output: JsonSchema = { /** * The schema of `access_service_token_tag_rule` in responses. */ -export const access_service_token_tag_rule_output: JsonSchema = { +export const access_service_token_tag_rule: JsonSchema = { "properties": { "service_token_tag": { "properties": { @@ -1039,7 +1039,7 @@ export const access_service_token_tag_rule_output: JsonSchema = { /** * The schema of `access_session_duration-3` in responses. */ -export const access_session_duration_3_output: JsonSchema = { +export const access_session_duration$$3: JsonSchema = { "oneOf": [ { "type": "string" @@ -1053,7 +1053,7 @@ export const access_session_duration_3_output: JsonSchema = { /** * The schema of `access_user_risk_score_rule` in responses. */ -export const access_user_risk_score_rule_output: JsonSchema = { +export const access_user_risk_score_rule: JsonSchema = { "properties": { "user_risk_score": { "properties": { @@ -1086,6 +1086,6 @@ export const access_user_risk_score_rule_output: JsonSchema = { /** * The schema of `access_uuid-2` in responses. */ -export const access_uuid_2_output: JsonSchema = { +export const access_uuid$$2: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts index 9e0356d3b..d9a00706c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_app_count` in responses. */ -export const access_app_count_output: JsonSchema = { +export const access_app_count: JsonSchema = { "type": "integer" }; /** * The schema of `access_id_response-4` in responses. */ -export const access_id_response_4_output: JsonSchema = { +export const access_id_response$$4: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -37,7 +37,7 @@ export const access_id_response_4_output: JsonSchema = { /** * The schema of `access_response_collection-10` in responses. */ -export const access_response_collection_10_output: JsonSchema = { +export const access_response_collection$$10: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -59,7 +59,7 @@ export const access_response_collection_10_output: JsonSchema = { /** * The schema of `access_reusable_policy_resp` in responses. */ -export const access_reusable_policy_resp_output: JsonSchema = { +export const access_reusable_policy_resp: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_policy_resp" @@ -87,7 +87,7 @@ export const access_reusable_policy_resp_output: JsonSchema = { /** * The schema of `access_single_response-11` in responses. */ -export const access_single_response_11_output: JsonSchema = { +export const access_single_response$$11: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts index af67b94f9..30c8fae72 100644 --- a/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts @@ -1,69 +1,17 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_identifier_output, - access_messages_output, - access_timestamp_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_identifier, + access_messages, + access_timestamp, } from "../../outputs.js"; -import { access_identifier } from "../../schemas.js"; -import { - access_access_group_rule_output, - access_allowed_clipboard_local_to_remote_formats_output, - access_allowed_clipboard_remote_to_local_formats_output, - access_any_valid_service_token_rule_output, - access_approval_group_output, - access_approval_groups_output, - access_approval_required_output, - access_auth_context_rule_output, - access_authentication_method_rule_output, - access_azure_group_rule_output, - access_base_policy_resp_output, - access_certificate_rule_output, - access_cloudflare_account_member_rule_output, - access_common_name_rule_output, - access_connection_rules_output, - access_connection_rules_rdp_output, - access_country_rule_output, - access_decision_output, - access_device_posture_rule_output, - access_domain_rule_output, - access_email_list_rule_output, - access_email_rule_output, - access_everyone_rule_output, - access_exclude_2_output, - access_external_evaluation_rule_output, - access_github_organization_rule_output, - access_gsuite_group_rule_output, - access_include_2_output, - access_ip_list_rule_output, - access_ip_rule_output, - access_isolation_required_output, - access_linked_app_token_rule_output, - access_login_method_rule_output, - access_mfa_config_output, - access_name_9_output, - access_oidc_claim_rule_output, - access_okta_group_rule_output, - access_policy_resolution_account_id_output, - access_policy_resp_output, - access_purpose_justification_prompt_output, - access_purpose_justification_required_output, - access_rdp_clipboard_format_output, - access_require_2_output, - access_rule_output, - access_saml_group_rule_output, - access_service_token_rule_output, - access_service_token_tag_rule_output, - access_session_duration_3_output, - access_user_risk_score_rule_output, - access_uuid_2_output, -} from "../outputs.js"; +import { access_identifier as access_identifier$ } from "../../schemas.js"; import { access_access_group_rule, access_allowed_clipboard_local_to_remote_formats, @@ -75,7 +23,7 @@ import { access_auth_context_rule, access_authentication_method_rule, access_azure_group_rule, - access_base_policy_req, + access_base_policy_resp, access_certificate_rule, access_cloudflare_account_member_rule, access_common_name_rule, @@ -88,77 +36,194 @@ import { access_email_list_rule, access_email_rule, access_everyone_rule, - access_exclude_2, + access_exclude$$2, access_external_evaluation_rule, access_github_organization_rule, access_gsuite_group_rule, - access_include_2, + access_include$$2, access_ip_list_rule, access_ip_rule, access_isolation_required, access_linked_app_token_rule, access_login_method_rule, access_mfa_config, - access_name_9, + access_name$$9, access_oidc_claim_rule, access_okta_group_rule, - access_policy_req, access_policy_resolution_account_id, + access_policy_resp, access_purpose_justification_prompt, access_purpose_justification_required, access_rdp_clipboard_format, - access_require_2, + access_require$$2, access_rule, access_saml_group_rule, access_service_token_rule, access_service_token_tag_rule, - access_session_duration_3, + access_session_duration$$3, access_user_risk_score_rule, - access_uuid_2, + access_uuid$$2, +} from "../outputs.js"; +import { + access_access_group_rule as access_access_group_rule$, + access_allowed_clipboard_local_to_remote_formats as access_allowed_clipboard_local_to_remote_formats$, + access_allowed_clipboard_remote_to_local_formats as access_allowed_clipboard_remote_to_local_formats$, + access_any_valid_service_token_rule as access_any_valid_service_token_rule$, + access_approval_group as access_approval_group$, + access_approval_groups as access_approval_groups$, + access_approval_required as access_approval_required$, + access_auth_context_rule as access_auth_context_rule$, + access_authentication_method_rule as access_authentication_method_rule$, + access_azure_group_rule as access_azure_group_rule$, + access_base_policy_req, + access_certificate_rule as access_certificate_rule$, + access_cloudflare_account_member_rule as access_cloudflare_account_member_rule$, + access_common_name_rule as access_common_name_rule$, + access_connection_rules as access_connection_rules$, + access_connection_rules_rdp as access_connection_rules_rdp$, + access_country_rule as access_country_rule$, + access_decision as access_decision$, + access_device_posture_rule as access_device_posture_rule$, + access_domain_rule as access_domain_rule$, + access_email_list_rule as access_email_list_rule$, + access_email_rule as access_email_rule$, + access_everyone_rule as access_everyone_rule$, + access_exclude$$2 as access_exclude$$2$, + access_external_evaluation_rule as access_external_evaluation_rule$, + access_github_organization_rule as access_github_organization_rule$, + access_gsuite_group_rule as access_gsuite_group_rule$, + access_include$$2 as access_include$$2$, + access_ip_list_rule as access_ip_list_rule$, + access_ip_rule as access_ip_rule$, + access_isolation_required as access_isolation_required$, + access_linked_app_token_rule as access_linked_app_token_rule$, + access_login_method_rule as access_login_method_rule$, + access_mfa_config as access_mfa_config$, + access_name$$9 as access_name$$9$, + access_oidc_claim_rule as access_oidc_claim_rule$, + access_okta_group_rule as access_okta_group_rule$, + access_policy_req, + access_policy_resolution_account_id as access_policy_resolution_account_id$, + access_purpose_justification_prompt as access_purpose_justification_prompt$, + access_purpose_justification_required as access_purpose_justification_required$, + access_rdp_clipboard_format as access_rdp_clipboard_format$, + access_require$$2 as access_require$$2$, + access_rule as access_rule$, + access_saml_group_rule as access_saml_group_rule$, + access_service_token_rule as access_service_token_rule$, + access_service_token_tag_rule as access_service_token_tag_rule$, + access_session_duration$$3 as access_session_duration$$3$, + access_user_risk_score_rule as access_user_risk_score_rule$, + access_uuid$$2 as access_uuid$$2$, } from "../schemas.js"; import { - access_app_count_output, - access_id_response_4_output, - access_response_collection_10_output, - access_reusable_policy_resp_output, - access_single_response_11_output, + access_app_count, + access_id_response$$4, + access_response_collection$$10, + access_reusable_policy_resp, + access_single_response$$11, } from "./outputs.js"; /** - * The tools of `zero_trust.access.policies`. + * The tools of `zeroTrust.access.policies`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_policies_create", + name: "zeroTrust_access_policies_create", title: "Create an Access reusable policy", description: "Creates a new Access reusable policy.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_policy_req" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], + $defs: { + "access_access_group_rule": access_access_group_rule$, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats$, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats$, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, + "access_approval_group": access_approval_group$, + "access_approval_groups": access_approval_groups$, + "access_approval_required": access_approval_required$, + "access_auth_context_rule": access_auth_context_rule$, + "access_authentication_method_rule": access_authentication_method_rule$, + "access_azure_group_rule": access_azure_group_rule$, + "access_base_policy_req": access_base_policy_req, + "access_certificate_rule": access_certificate_rule$, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule$, + "access_common_name_rule": access_common_name_rule$, + "access_connection_rules": access_connection_rules$, + "access_connection_rules_rdp": access_connection_rules_rdp$, + "access_country_rule": access_country_rule$, + "access_decision": access_decision$, + "access_device_posture_rule": access_device_posture_rule$, + "access_domain_rule": access_domain_rule$, + "access_email_list_rule": access_email_list_rule$, + "access_email_rule": access_email_rule$, + "access_everyone_rule": access_everyone_rule$, + "access_exclude-2": access_exclude$$2$, + "access_external_evaluation_rule": access_external_evaluation_rule$, + "access_github_organization_rule": access_github_organization_rule$, + "access_gsuite_group_rule": access_gsuite_group_rule$, + "access_identifier": access_identifier$, + "access_include-2": access_include$$2$, + "access_ip_list_rule": access_ip_list_rule$, + "access_ip_rule": access_ip_rule$, + "access_isolation_required": access_isolation_required$, + "access_linked_app_token_rule": access_linked_app_token_rule$, + "access_login_method_rule": access_login_method_rule$, + "access_mfa_config": access_mfa_config$, + "access_name-9": access_name$$9$, + "access_oidc_claim_rule": access_oidc_claim_rule$, + "access_okta_group_rule": access_okta_group_rule$, + "access_policy_req": access_policy_req, + "access_policy_resolution_account_id": access_policy_resolution_account_id$, + "access_purpose_justification_prompt": access_purpose_justification_prompt$, + "access_purpose_justification_required": access_purpose_justification_required$, + "access_rdp_clipboard_format": access_rdp_clipboard_format$, + "access_require-2": access_require$$2$, + "access_rule": access_rule$, + "access_saml_group_rule": access_saml_group_rule$, + "access_service_token_rule": access_service_token_rule$, + "access_service_token_tag_rule": access_service_token_tag_rule$, + "access_session_duration-3": access_session_duration$$3$, + "access_user_risk_score_rule": access_user_risk_score_rule$, + }, + }, + outputSchema: { + "$ref": "#/$defs/access_single_response-11", $defs: { "access_access_group_rule": access_access_group_rule, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-single": access_api$$response$$single, + "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, - "access_base_policy_req": access_base_policy_req, + "access_base_policy_resp": access_base_policy_resp, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -171,95 +236,38 @@ export const tools: readonly Tool[] = [ "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, "access_everyone_rule": access_everyone_rule, - "access_exclude-2": access_exclude_2, + "access_exclude-2": access_exclude$$2, "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, "access_identifier": access_identifier, - "access_include-2": access_include_2, + "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name_9, + "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_req": access_policy_req, "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, "access_purpose_justification_prompt": access_purpose_justification_prompt, "access_purpose_justification_required": access_purpose_justification_required, "access_rdp_clipboard_format": access_rdp_clipboard_format, - "access_require-2": access_require_2, + "access_require-2": access_require$$2, + "access_reusable_policy_resp": access_reusable_policy_resp, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration_3, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-11": access_single_response$$11, + "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - }, - }, - outputSchema: { - "$ref": "#/$defs/access_single_response-11", - $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_app_count": access_app_count_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_reusable_policy_resp": access_reusable_policy_resp_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-11": access_single_response_11_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid-2": access_uuid_2_output, + "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -286,64 +294,64 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_count": access_app_count_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_reusable_policy_resp": access_reusable_policy_resp_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-11": access_single_response_11_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_count": access_app_count, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_reusable_policy_resp": access_reusable_policy_resp, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-11": access_single_response$$11, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -352,37 +360,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_policies_delete", + name: "zeroTrust_access_policies_delete", title: "Delete an Access reusable policy", description: "Deletes an Access reusable policy.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "policy_id": { - "$ref": "#/$defs/access_uuid-2", - "description": "The UUID of the policy" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "policy_id": { + "$ref": "#/$defs/access_uuid-2", + "description": "The UUID of the policy" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "access_identifier": access_identifier, - "access_uuid-2": access_uuid_2, + "access_identifier": access_identifier$, + "access_uuid-2": access_uuid$$2$, }, }, outputSchema: { "$ref": "#/$defs/access_id_response-4", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_id_response-4": access_id_response_4_output, - "access_messages": access_messages_output, - "access_uuid-2": access_uuid_2_output, + "access_api-response-single": access_api$$response$$single, + "access_id_response-4": access_id_response$$4, + "access_messages": access_messages, + "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -409,11 +425,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_id_response-4": access_id_response_4_output, - "access_messages": access_messages_output, - "access_uuid-2": access_uuid_2_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_id_response-4": access_id_response$$4, + "access_messages": access_messages, + "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -421,90 +437,98 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_policies_get", + name: "zeroTrust_access_policies_get", title: "Get an Access reusable policy", description: "Fetches a single Access reusable policy.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "policy_id": { - "$ref": "#/$defs/access_uuid-2", - "description": "The UUID of the policy" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "policy_id": { + "$ref": "#/$defs/access_uuid-2", + "description": "The UUID of the policy" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "access_identifier": access_identifier, - "access_uuid-2": access_uuid_2, + "access_identifier": access_identifier$, + "access_uuid-2": access_uuid$$2$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-11", $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_app_count": access_app_count_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_reusable_policy_resp": access_reusable_policy_resp_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-11": access_single_response_11_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-single": access_api$$response$$single, + "access_app_count": access_app_count, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_reusable_policy_resp": access_reusable_policy_resp, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-11": access_single_response$$11, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -532,64 +556,64 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_count": access_app_count_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_reusable_policy_resp": access_reusable_policy_resp_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-11": access_single_response_11_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_count": access_app_count, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_reusable_policy_resp": access_reusable_policy_resp, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-11": access_single_response$$11, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -597,95 +621,108 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_policies_list", + name: "zeroTrust_access_policies_list", title: "List Access reusable policies", description: "Lists Access reusable policies.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 100, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, }, }, outputSchema: { "$ref": "#/$defs/access_response_collection-10", $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_app_count": access_app_count_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_response_collection-10": access_response_collection_10_output, - "access_reusable_policy_resp": access_reusable_policy_resp_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_app_count": access_app_count, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_response_collection-10": access_response_collection$$10, + "access_reusable_policy_resp": access_reusable_policy_resp, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -713,111 +750,177 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_app_count": access_app_count_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_response_collection-10": access_response_collection_10_output, - "access_reusable_policy_resp": access_reusable_policy_resp_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_app_count": access_app_count, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_response_collection-10": access_response_collection$$10, + "access_reusable_policy_resp": access_reusable_policy_resp, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/policies`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_policies_update", + name: "zeroTrust_access_policies_update", title: "Update an Access reusable policy", description: "Updates a Access reusable policy.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_policy_req" }, - "policy_id": { - "$ref": "#/$defs/access_uuid-2", - "description": "The UUID of the policy" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "policy_id": { + "$ref": "#/$defs/access_uuid-2", + "description": "The UUID of the policy" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", + "path", "body" ], + $defs: { + "access_access_group_rule": access_access_group_rule$, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats$, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats$, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, + "access_approval_group": access_approval_group$, + "access_approval_groups": access_approval_groups$, + "access_approval_required": access_approval_required$, + "access_auth_context_rule": access_auth_context_rule$, + "access_authentication_method_rule": access_authentication_method_rule$, + "access_azure_group_rule": access_azure_group_rule$, + "access_base_policy_req": access_base_policy_req, + "access_certificate_rule": access_certificate_rule$, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule$, + "access_common_name_rule": access_common_name_rule$, + "access_connection_rules": access_connection_rules$, + "access_connection_rules_rdp": access_connection_rules_rdp$, + "access_country_rule": access_country_rule$, + "access_decision": access_decision$, + "access_device_posture_rule": access_device_posture_rule$, + "access_domain_rule": access_domain_rule$, + "access_email_list_rule": access_email_list_rule$, + "access_email_rule": access_email_rule$, + "access_everyone_rule": access_everyone_rule$, + "access_exclude-2": access_exclude$$2$, + "access_external_evaluation_rule": access_external_evaluation_rule$, + "access_github_organization_rule": access_github_organization_rule$, + "access_gsuite_group_rule": access_gsuite_group_rule$, + "access_identifier": access_identifier$, + "access_include-2": access_include$$2$, + "access_ip_list_rule": access_ip_list_rule$, + "access_ip_rule": access_ip_rule$, + "access_isolation_required": access_isolation_required$, + "access_linked_app_token_rule": access_linked_app_token_rule$, + "access_login_method_rule": access_login_method_rule$, + "access_mfa_config": access_mfa_config$, + "access_name-9": access_name$$9$, + "access_oidc_claim_rule": access_oidc_claim_rule$, + "access_okta_group_rule": access_okta_group_rule$, + "access_policy_req": access_policy_req, + "access_policy_resolution_account_id": access_policy_resolution_account_id$, + "access_purpose_justification_prompt": access_purpose_justification_prompt$, + "access_purpose_justification_required": access_purpose_justification_required$, + "access_rdp_clipboard_format": access_rdp_clipboard_format$, + "access_require-2": access_require$$2$, + "access_rule": access_rule$, + "access_saml_group_rule": access_saml_group_rule$, + "access_service_token_rule": access_service_token_rule$, + "access_service_token_tag_rule": access_service_token_tag_rule$, + "access_session_duration-3": access_session_duration$$3$, + "access_user_risk_score_rule": access_user_risk_score_rule$, + "access_uuid-2": access_uuid$$2$, + }, + }, + outputSchema: { + "$ref": "#/$defs/access_single_response-11", $defs: { "access_access_group_rule": access_access_group_rule, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-single": access_api$$response$$single, + "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, - "access_base_policy_req": access_base_policy_req, + "access_base_policy_resp": access_base_policy_resp, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -830,96 +933,38 @@ export const tools: readonly Tool[] = [ "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, "access_everyone_rule": access_everyone_rule, - "access_exclude-2": access_exclude_2, + "access_exclude-2": access_exclude$$2, "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, "access_identifier": access_identifier, - "access_include-2": access_include_2, + "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name_9, + "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_req": access_policy_req, "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, "access_purpose_justification_prompt": access_purpose_justification_prompt, "access_purpose_justification_required": access_purpose_justification_required, "access_rdp_clipboard_format": access_rdp_clipboard_format, - "access_require-2": access_require_2, + "access_require-2": access_require$$2, + "access_reusable_policy_resp": access_reusable_policy_resp, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration_3, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-11": access_single_response$$11, + "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid-2": access_uuid_2, - }, - }, - outputSchema: { - "$ref": "#/$defs/access_single_response-11", - $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_app_count": access_app_count_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_reusable_policy_resp": access_reusable_policy_resp_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-11": access_single_response_11_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid-2": access_uuid_2_output, + "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -946,64 +991,64 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats_output, - "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_app_count": access_app_count_output, - "access_approval_group": access_approval_group_output, - "access_approval_groups": access_approval_groups_output, - "access_approval_required": access_approval_required_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_base_policy_resp": access_base_policy_resp_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_connection_rules": access_connection_rules_output, - "access_connection_rules_rdp": access_connection_rules_rdp_output, - "access_country_rule": access_country_rule_output, - "access_decision": access_decision_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude-2": access_exclude_2_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include-2": access_include_2_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_isolation_required": access_isolation_required_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_mfa_config": access_mfa_config_output, - "access_name-9": access_name_9_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_policy_resolution_account_id": access_policy_resolution_account_id_output, - "access_policy_resp": access_policy_resp_output, - "access_purpose_justification_prompt": access_purpose_justification_prompt_output, - "access_purpose_justification_required": access_purpose_justification_required_output, - "access_rdp_clipboard_format": access_rdp_clipboard_format_output, - "access_require-2": access_require_2_output, - "access_reusable_policy_resp": access_reusable_policy_resp_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_session_duration-3": access_session_duration_3_output, - "access_single_response-11": access_single_response_11_output, - "access_timestamp": access_timestamp_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid-2": access_uuid_2_output, + "access_access_group_rule": access_access_group_rule, + "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, + "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_app_count": access_app_count, + "access_approval_group": access_approval_group, + "access_approval_groups": access_approval_groups, + "access_approval_required": access_approval_required, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_base_policy_resp": access_base_policy_resp, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_connection_rules": access_connection_rules, + "access_connection_rules_rdp": access_connection_rules_rdp, + "access_country_rule": access_country_rule, + "access_decision": access_decision, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude-2": access_exclude$$2, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include-2": access_include$$2, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_isolation_required": access_isolation_required, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_mfa_config": access_mfa_config, + "access_name-9": access_name$$9, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_policy_resolution_account_id": access_policy_resolution_account_id, + "access_policy_resp": access_policy_resp, + "access_purpose_justification_prompt": access_purpose_justification_prompt, + "access_purpose_justification_required": access_purpose_justification_required, + "access_rdp_clipboard_format": access_rdp_clipboard_format, + "access_require-2": access_require$$2, + "access_reusable_policy_resp": access_reusable_policy_resp, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_session_duration-3": access_session_duration$$3, + "access_single_response-11": access_single_response$$11, + "access_timestamp": access_timestamp, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts index 3ace7357d..660933217 100644 --- a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_exclude` in responses. */ -export const access_exclude_output: JsonSchema = { +export const access_exclude: JsonSchema = { "items": { "$ref": "#/$defs/access_rule" }, @@ -16,7 +16,7 @@ export const access_exclude_output: JsonSchema = { /** * The schema of `access_groups-2` in responses. */ -export const access_groups_2_output: JsonSchema = { +export const access_groups$$2: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/access_created_at" @@ -49,7 +49,7 @@ export const access_groups_2_output: JsonSchema = { /** * The schema of `access_include` in responses. */ -export const access_include_output: JsonSchema = { +export const access_include: JsonSchema = { "items": { "$ref": "#/$defs/access_rule" }, @@ -59,14 +59,14 @@ export const access_include_output: JsonSchema = { /** * The schema of `access_name-6` in responses. */ -export const access_name_6_output: JsonSchema = { +export const access_name$$6: JsonSchema = { "type": "string" }; /** * The schema of `access_require` in responses. */ -export const access_require_output: JsonSchema = { +export const access_require: JsonSchema = { "items": { "$ref": "#/$defs/access_rule" }, @@ -76,7 +76,7 @@ export const access_require_output: JsonSchema = { /** * The schema of `access_response_collection-2` in responses. */ -export const access_response_collection_2_output: JsonSchema = { +export const access_response_collection$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -98,7 +98,7 @@ export const access_response_collection_2_output: JsonSchema = { /** * The schema of `access_single_response-4` in responses. */ -export const access_single_response_4_output: JsonSchema = { +export const access_single_response$$4: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/schemas.ts index c4220e1be..3881dab25 100644 --- a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/schemas.ts @@ -36,7 +36,7 @@ export const access_is_default: JsonSchema = { /** * The schema of `access_name-6`. */ -export const access_name_6: JsonSchema = { +export const access_name$$6: JsonSchema = { "description": "The name of the Access group.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts index da3fb7693..8c9fac908 100644 --- a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts @@ -1,51 +1,24 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_created_at_output, - access_id_response_output, - access_identifier_output, - access_messages_output, - access_timestamp_output, - access_updated_at_output, - access_uuid_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_created_at, + access_id_response, + access_identifier, + access_messages, + access_timestamp, + access_updated_at, + access_uuid, } from "../../outputs.js"; -import { access_identifier, access_uuid } from "../../schemas.js"; import { - access_access_group_rule_output, - access_any_valid_service_token_rule_output, - access_auth_context_rule_output, - access_authentication_method_rule_output, - access_azure_group_rule_output, - access_certificate_rule_output, - access_cloudflare_account_member_rule_output, - access_common_name_rule_output, - access_country_rule_output, - access_device_posture_rule_output, - access_domain_rule_output, - access_email_list_rule_output, - access_email_rule_output, - access_everyone_rule_output, - access_external_evaluation_rule_output, - access_github_organization_rule_output, - access_gsuite_group_rule_output, - access_ip_list_rule_output, - access_ip_rule_output, - access_linked_app_token_rule_output, - access_login_method_rule_output, - access_oidc_claim_rule_output, - access_okta_group_rule_output, - access_rule_output, - access_saml_group_rule_output, - access_service_token_rule_output, - access_service_token_tag_rule_output, - access_user_risk_score_rule_output, -} from "../outputs.js"; + access_identifier as access_identifier$, + access_uuid as access_uuid$, +} from "../../schemas.js"; import { access_access_group_rule, access_any_valid_service_token_rule, @@ -75,47 +48,65 @@ import { access_service_token_rule, access_service_token_tag_rule, access_user_risk_score_rule, -} from "../schemas.js"; +} from "../outputs.js"; import { - access_exclude_output, - access_groups_2_output, - access_include_output, - access_name_6_output, - access_require_output, - access_response_collection_2_output, - access_single_response_4_output, -} from "./outputs.js"; + access_access_group_rule as access_access_group_rule$, + access_any_valid_service_token_rule as access_any_valid_service_token_rule$, + access_auth_context_rule as access_auth_context_rule$, + access_authentication_method_rule as access_authentication_method_rule$, + access_azure_group_rule as access_azure_group_rule$, + access_certificate_rule as access_certificate_rule$, + access_cloudflare_account_member_rule as access_cloudflare_account_member_rule$, + access_common_name_rule as access_common_name_rule$, + access_country_rule as access_country_rule$, + access_device_posture_rule as access_device_posture_rule$, + access_domain_rule as access_domain_rule$, + access_email_list_rule as access_email_list_rule$, + access_email_rule as access_email_rule$, + access_everyone_rule as access_everyone_rule$, + access_external_evaluation_rule as access_external_evaluation_rule$, + access_github_organization_rule as access_github_organization_rule$, + access_gsuite_group_rule as access_gsuite_group_rule$, + access_ip_list_rule as access_ip_list_rule$, + access_ip_rule as access_ip_rule$, + access_linked_app_token_rule as access_linked_app_token_rule$, + access_login_method_rule as access_login_method_rule$, + access_oidc_claim_rule as access_oidc_claim_rule$, + access_okta_group_rule as access_okta_group_rule$, + access_rule as access_rule$, + access_saml_group_rule as access_saml_group_rule$, + access_service_token_rule as access_service_token_rule$, + access_service_token_tag_rule as access_service_token_tag_rule$, + access_user_risk_score_rule as access_user_risk_score_rule$, +} from "../schemas.js"; import { access_exclude, + access_groups$$2, access_include, - access_is_default, - access_name_6, + access_name$$6, access_require, + access_response_collection$$2, + access_single_response$$4, +} from "./outputs.js"; +import { + access_exclude as access_exclude$, + access_include as access_include$, + access_is_default, + access_name$$6 as access_name$$6$, + access_require as access_require$, } from "./schemas.js"; /** - * The tools of `zero_trust.access.rule_groups`. + * The tools of `zeroTrust.access.ruleGroups`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_rule_groups_create", + name: "zeroTrust_access_ruleGroups_create", title: "Create an Access group", description: "Creates a new Access group.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "exclude": { @@ -144,16 +135,76 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], + $defs: { + "access_access_group_rule": access_access_group_rule$, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, + "access_auth_context_rule": access_auth_context_rule$, + "access_authentication_method_rule": access_authentication_method_rule$, + "access_azure_group_rule": access_azure_group_rule$, + "access_certificate_rule": access_certificate_rule$, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule$, + "access_common_name_rule": access_common_name_rule$, + "access_country_rule": access_country_rule$, + "access_device_posture_rule": access_device_posture_rule$, + "access_domain_rule": access_domain_rule$, + "access_email_list_rule": access_email_list_rule$, + "access_email_rule": access_email_rule$, + "access_everyone_rule": access_everyone_rule$, + "access_exclude": access_exclude$, + "access_external_evaluation_rule": access_external_evaluation_rule$, + "access_github_organization_rule": access_github_organization_rule$, + "access_gsuite_group_rule": access_gsuite_group_rule$, + "access_identifier": access_identifier$, + "access_include": access_include$, + "access_ip_list_rule": access_ip_list_rule$, + "access_ip_rule": access_ip_rule$, + "access_is_default": access_is_default, + "access_linked_app_token_rule": access_linked_app_token_rule$, + "access_login_method_rule": access_login_method_rule$, + "access_name-6": access_name$$6$, + "access_oidc_claim_rule": access_oidc_claim_rule$, + "access_okta_group_rule": access_okta_group_rule$, + "access_require": access_require$, + "access_rule": access_rule$, + "access_saml_group_rule": access_saml_group_rule$, + "access_service_token_rule": access_service_token_rule$, + "access_service_token_tag_rule": access_service_token_tag_rule$, + "access_user_risk_score_rule": access_user_risk_score_rule$, + }, + }, + outputSchema: { + "$ref": "#/$defs/access_single_response-4", $defs: { "access_access_group_rule": access_access_group_rule, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-single": access_api$$response$$single, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -161,6 +212,7 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, + "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -169,15 +221,16 @@ export const tools: readonly Tool[] = [ "access_exclude": access_exclude, "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, + "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_is_default": access_is_default, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_name-6": access_name_6, + "access_messages": access_messages, + "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -185,53 +238,11 @@ export const tools: readonly Tool[] = [ "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, + "access_single_response-4": access_single_response$$4, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, - }, - }, - outputSchema: { - "$ref": "#/$defs/access_single_response-4", - $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude": access_exclude_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_groups-2": access_groups_2_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include": access_include_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_name-6": access_name_6_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_require": access_require_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_single_response-4": access_single_response_4_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid": access_uuid_output, + "access_uuid": access_uuid, }, }, annotations: { @@ -258,48 +269,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude": access_exclude_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_groups-2": access_groups_2_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include": access_include_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_name-6": access_name_6_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_require": access_require_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_single_response-4": access_single_response_4_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid": access_uuid_output, + "access_access_group_rule": access_access_group_rule, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude": access_exclude, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_groups-2": access_groups$$2, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include": access_include, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_name-6": access_name$$6, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_require": access_require, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_single_response-4": access_single_response$$4, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -308,46 +319,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_rule_groups_delete", + name: "zeroTrust_access_ruleGroups_delete", title: "Delete an Access group", description: "Deletes an Access group.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "group_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "group_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "group_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "group_id" + "path" ], $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_identifier": access_identifier$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_id_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, annotations: { @@ -374,11 +393,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -386,83 +405,91 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_rule_groups_get", + name: "zeroTrust_access_ruleGroups_get", title: "Get an Access group", description: "Fetches a single Access group.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "group_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "group_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "group_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "group_id" + "path" ], $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_identifier": access_identifier$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-4", $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude": access_exclude_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_groups-2": access_groups_2_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include": access_include_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_name-6": access_name_6_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_require": access_require_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_single_response-4": access_single_response_4_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid": access_uuid_output, + "access_access_group_rule": access_access_group_rule, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-single": access_api$$response$$single, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude": access_exclude, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_groups-2": access_groups$$2, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include": access_include, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_name-6": access_name$$6, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_require": access_require, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_single_response-4": access_single_response$$4, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid": access_uuid, }, }, annotations: { @@ -490,48 +517,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude": access_exclude_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_groups-2": access_groups_2_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include": access_include_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_name-6": access_name_6_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_require": access_require_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_single_response-4": access_single_response_4_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid": access_uuid_output, + "access_access_group_rule": access_access_group_rule, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude": access_exclude, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_groups-2": access_groups$$2, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include": access_include, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_name-6": access_name$$6, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_require": access_require, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_single_response-4": access_single_response$$4, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -539,96 +566,109 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_rule_groups_list", + name: "zeroTrust_access_ruleGroups_list", title: "List Access groups", description: "Lists all Access groups.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "name": { - "description": "The name of the group.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 1000, - "description": "Number of results per page.", - "type": "integer" + "type": "object" }, - "search": { - "description": "Search for groups by other listed query parameters.", - "type": "string" + "query": { + "properties": { + "name": { + "description": "The name of the group.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 1000, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Search for groups by other listed query parameters.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, }, }, outputSchema: { "$ref": "#/$defs/access_response_collection-2", $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude": access_exclude_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_groups-2": access_groups_2_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include": access_include_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_name-6": access_name_6_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_require": access_require_output, - "access_response_collection-2": access_response_collection_2_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid": access_uuid_output, + "access_access_group_rule": access_access_group_rule, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude": access_exclude, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_groups-2": access_groups$$2, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include": access_include, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_name-6": access_name$$6, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_require": access_require, + "access_response_collection-2": access_response_collection$$2, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid": access_uuid, }, }, annotations: { @@ -656,80 +696,68 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude": access_exclude_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_groups-2": access_groups_2_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include": access_include_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_name-6": access_name_6_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_require": access_require_output, - "access_response_collection-2": access_response_collection_2_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid": access_uuid_output, + "access_access_group_rule": access_access_group_rule, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude": access_exclude, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_groups-2": access_groups$$2, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include": access_include, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_name-6": access_name$$6, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_require": access_require, + "access_response_collection-2": access_response_collection$$2, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid": access_uuid, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/groups`, query: [ - ["name", args["name"], true], - ["search", args["search"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["name", param(args, "query", "name"), true], + ["search", param(args, "query", "search"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_rule_groups_update", + name: "zeroTrust_access_ruleGroups_update", title: "Update an Access group", description: "Updates a configured Access group.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "exclude": { @@ -759,20 +787,81 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "group_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "group_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "group_id", + "path", "body" ], + $defs: { + "access_access_group_rule": access_access_group_rule$, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, + "access_auth_context_rule": access_auth_context_rule$, + "access_authentication_method_rule": access_authentication_method_rule$, + "access_azure_group_rule": access_azure_group_rule$, + "access_certificate_rule": access_certificate_rule$, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule$, + "access_common_name_rule": access_common_name_rule$, + "access_country_rule": access_country_rule$, + "access_device_posture_rule": access_device_posture_rule$, + "access_domain_rule": access_domain_rule$, + "access_email_list_rule": access_email_list_rule$, + "access_email_rule": access_email_rule$, + "access_everyone_rule": access_everyone_rule$, + "access_exclude": access_exclude$, + "access_external_evaluation_rule": access_external_evaluation_rule$, + "access_github_organization_rule": access_github_organization_rule$, + "access_gsuite_group_rule": access_gsuite_group_rule$, + "access_identifier": access_identifier$, + "access_include": access_include$, + "access_ip_list_rule": access_ip_list_rule$, + "access_ip_rule": access_ip_rule$, + "access_is_default": access_is_default, + "access_linked_app_token_rule": access_linked_app_token_rule$, + "access_login_method_rule": access_login_method_rule$, + "access_name-6": access_name$$6$, + "access_oidc_claim_rule": access_oidc_claim_rule$, + "access_okta_group_rule": access_okta_group_rule$, + "access_require": access_require$, + "access_rule": access_rule$, + "access_saml_group_rule": access_saml_group_rule$, + "access_service_token_rule": access_service_token_rule$, + "access_service_token_tag_rule": access_service_token_tag_rule$, + "access_user_risk_score_rule": access_user_risk_score_rule$, + "access_uuid": access_uuid$, + }, + }, + outputSchema: { + "$ref": "#/$defs/access_single_response-4", $defs: { "access_access_group_rule": access_access_group_rule, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-single": access_api$$response$$single, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -780,6 +869,7 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, + "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -788,15 +878,16 @@ export const tools: readonly Tool[] = [ "access_exclude": access_exclude, "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, + "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_is_default": access_is_default, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_name-6": access_name_6, + "access_messages": access_messages, + "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -804,56 +895,13 @@ export const tools: readonly Tool[] = [ "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, + "access_single_response-4": access_single_response$$4, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, "access_uuid": access_uuid, }, }, - outputSchema: { - "$ref": "#/$defs/access_single_response-4", - $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude": access_exclude_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_groups-2": access_groups_2_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include": access_include_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_name-6": access_name_6_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_require": access_require_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_single_response-4": access_single_response_4_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid": access_uuid_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -878,48 +926,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_group_rule": access_access_group_rule_output, - "access_any_valid_service_token_rule": access_any_valid_service_token_rule_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_context_rule": access_auth_context_rule_output, - "access_authentication_method_rule": access_authentication_method_rule_output, - "access_azure_group_rule": access_azure_group_rule_output, - "access_certificate_rule": access_certificate_rule_output, - "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule_output, - "access_common_name_rule": access_common_name_rule_output, - "access_country_rule": access_country_rule_output, - "access_created_at": access_created_at_output, - "access_device_posture_rule": access_device_posture_rule_output, - "access_domain_rule": access_domain_rule_output, - "access_email_list_rule": access_email_list_rule_output, - "access_email_rule": access_email_rule_output, - "access_everyone_rule": access_everyone_rule_output, - "access_exclude": access_exclude_output, - "access_external_evaluation_rule": access_external_evaluation_rule_output, - "access_github_organization_rule": access_github_organization_rule_output, - "access_groups-2": access_groups_2_output, - "access_gsuite_group_rule": access_gsuite_group_rule_output, - "access_identifier": access_identifier_output, - "access_include": access_include_output, - "access_ip_list_rule": access_ip_list_rule_output, - "access_ip_rule": access_ip_rule_output, - "access_linked_app_token_rule": access_linked_app_token_rule_output, - "access_login_method_rule": access_login_method_rule_output, - "access_messages": access_messages_output, - "access_name-6": access_name_6_output, - "access_oidc_claim_rule": access_oidc_claim_rule_output, - "access_okta_group_rule": access_okta_group_rule_output, - "access_require": access_require_output, - "access_rule": access_rule_output, - "access_saml_group_rule": access_saml_group_rule_output, - "access_service_token_rule": access_service_token_rule_output, - "access_service_token_tag_rule": access_service_token_tag_rule_output, - "access_single_response-4": access_single_response_4_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_risk_score_rule": access_user_risk_score_rule_output, - "access_uuid": access_uuid_output, + "access_access_group_rule": access_access_group_rule, + "access_any_valid_service_token_rule": access_any_valid_service_token_rule, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_auth_context_rule": access_auth_context_rule, + "access_authentication_method_rule": access_authentication_method_rule, + "access_azure_group_rule": access_azure_group_rule, + "access_certificate_rule": access_certificate_rule, + "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, + "access_common_name_rule": access_common_name_rule, + "access_country_rule": access_country_rule, + "access_created_at": access_created_at, + "access_device_posture_rule": access_device_posture_rule, + "access_domain_rule": access_domain_rule, + "access_email_list_rule": access_email_list_rule, + "access_email_rule": access_email_rule, + "access_everyone_rule": access_everyone_rule, + "access_exclude": access_exclude, + "access_external_evaluation_rule": access_external_evaluation_rule, + "access_github_organization_rule": access_github_organization_rule, + "access_groups-2": access_groups$$2, + "access_gsuite_group_rule": access_gsuite_group_rule, + "access_identifier": access_identifier, + "access_include": access_include, + "access_ip_list_rule": access_ip_list_rule, + "access_ip_rule": access_ip_rule, + "access_linked_app_token_rule": access_linked_app_token_rule, + "access_login_method_rule": access_login_method_rule, + "access_messages": access_messages, + "access_name-6": access_name$$6, + "access_oidc_claim_rule": access_oidc_claim_rule, + "access_okta_group_rule": access_okta_group_rule, + "access_require": access_require, + "access_rule": access_rule, + "access_saml_group_rule": access_saml_group_rule, + "access_service_token_rule": access_service_token_rule, + "access_service_token_tag_rule": access_service_token_tag_rule, + "access_single_response-4": access_single_response$$4, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_risk_score_rule": access_user_risk_score_rule, + "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/outputs.ts index f4855bd6c..1b87fa2af 100644 --- a/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_certificate_set_list_response` in responses. */ -export const access_certificate_set_list_response_output: JsonSchema = { +export const access_certificate_set_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -28,7 +28,7 @@ export const access_certificate_set_list_response_output: JsonSchema = { /** * The schema of `access_certificate_set_response` in responses. */ -export const access_certificate_set_response_output: JsonSchema = { +export const access_certificate_set_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -47,7 +47,7 @@ export const access_certificate_set_response_output: JsonSchema = { /** * The schema of `access_saml_certificate-2` in responses. */ -export const access_saml_certificate_2_output: JsonSchema = { +export const access_saml_certificate$$2: JsonSchema = { "properties": { "is_current": { "type": "boolean" @@ -75,7 +75,7 @@ export const access_saml_certificate_2_output: JsonSchema = { /** * The schema of `access_saml_certificate_set-2` in responses. */ -export const access_saml_certificate_set_2_output: JsonSchema = { +export const access_saml_certificate_set$$2: JsonSchema = { "properties": { "created_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts index 673b9869d..f37ee0596 100644 --- a/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts @@ -1,45 +1,53 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../outputs.js"; import { access_identifier, access_uuid } from "../../schemas.js"; import { - access_certificate_set_list_response_output, - access_certificate_set_response_output, - access_saml_certificate_2_output, - access_saml_certificate_set_2_output, + access_certificate_set_list_response, + access_certificate_set_response, + access_saml_certificate$$2, + access_saml_certificate_set$$2, } from "./outputs.js"; /** - * The tools of `zero_trust.access.saml_encryption_certificates`. + * The tools of `zeroTrust.access.samlEncryptionCertificates`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_saml_encryption_certificates_get", + name: "zeroTrust_access_samlEncryptionCertificates_get", title: "Get SAML certificate set", description: "Retrieves a specific SAML encryption certificate set by its UID, including both current and previous certificates if available.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "saml_cert_set_id": { - "$ref": "#/$defs/access_uuid", - "description": "UID of the SAML certificate set." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "saml_cert_set_id": { + "$ref": "#/$defs/access_uuid", + "description": "UID of the SAML certificate set." + } + }, + "required": [ + "account_id", + "saml_cert_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "saml_cert_set_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -49,11 +57,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_certificate_set_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_certificate_set_response": access_certificate_set_response_output, - "access_messages": access_messages_output, - "access_saml_certificate-2": access_saml_certificate_2_output, - "access_saml_certificate_set-2": access_saml_certificate_set_2_output, + "access_api-response-single": access_api$$response$$single, + "access_certificate_set_response": access_certificate_set_response, + "access_messages": access_messages, + "access_saml_certificate-2": access_saml_certificate$$2, + "access_saml_certificate_set-2": access_saml_certificate_set$$2, }, }, annotations: { @@ -78,12 +86,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_certificate_set_response": access_certificate_set_response_output, - "access_messages": access_messages_output, - "access_saml_certificate-2": access_saml_certificate_2_output, - "access_saml_certificate_set-2": access_saml_certificate_set_2_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_certificate_set_response": access_certificate_set_response, + "access_messages": access_messages, + "access_saml_certificate-2": access_saml_certificate$$2, + "access_saml_certificate_set-2": access_saml_certificate_set$$2, }, }, request: (args) => ({ @@ -91,24 +99,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_saml_encryption_certificates_get_pem", + name: "zeroTrust_access_samlEncryptionCertificates_getPem", title: "Download current certificate in PEM format", description: "Downloads the current SAML encryption certificate's public key in PEM format for the specified certificate set. This endpoint is useful for providing the certificate to Identity Providers for SAML assertion encryption configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "saml_cert_set_id": { - "$ref": "#/$defs/access_uuid", - "description": "UID of the SAML certificate set." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "saml_cert_set_id": { + "$ref": "#/$defs/access_uuid", + "description": "UID of the SAML certificate set." + } + }, + "required": [ + "account_id", + "saml_cert_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "saml_cert_set_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -135,8 +151,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_messages": access_messages, }, }, request: (args) => ({ @@ -144,33 +160,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_saml_encryption_certificates_list", + name: "zeroTrust_access_samlEncryptionCertificates_list", title: "List SAML certificate sets", description: "Returns a paginated list of the organization's SAML encryption certificate sets.\nEach certificate set includes the current and (if present) previous certificates.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "id": { - "description": "Filter by SAML certificate set UID. Accepts a comma-separated list of UIDs.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" - }, - "per_page": { - "default": 25, - "description": "Maximum number of results per page.", - "type": "integer" + "query": { + "properties": { + "id": { + "description": "Filter by SAML certificate set UID. Accepts a comma-separated list of UIDs.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 25, + "description": "Maximum number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -179,12 +208,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_certificate_set_list_response", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_certificate_set_list_response": access_certificate_set_list_response_output, - "access_messages": access_messages_output, - "access_saml_certificate-2": access_saml_certificate_2_output, - "access_saml_certificate_set-2": access_saml_certificate_set_2_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_certificate_set_list_response": access_certificate_set_list_response, + "access_messages": access_messages, + "access_saml_certificate-2": access_saml_certificate$$2, + "access_saml_certificate_set-2": access_saml_certificate_set$$2, }, }, annotations: { @@ -206,43 +235,51 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_certificate_set_list_response": access_certificate_set_list_response_output, - "access_messages": access_messages_output, - "access_saml_certificate-2": access_saml_certificate_2_output, - "access_saml_certificate_set-2": access_saml_certificate_set_2_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_certificate_set_list_response": access_certificate_set_list_response, + "access_messages": access_messages, + "access_saml_certificate-2": access_saml_certificate$$2, + "access_saml_certificate_set-2": access_saml_certificate_set$$2, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/saml_certificates`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["id", args["id"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["id", param(args, "query", "id"), true], ], }), }, { - name: "zero_trust_access_saml_encryption_certificates_rotate", + name: "zeroTrust_access_samlEncryptionCertificates_rotate", title: "Rotate SAML certificate", description: "Rotates the SAML encryption certificates within the specified certificate set. This generates a new\ncertificate and moves the current certificate to the previous slot. If a previous certificate exists,\nit will be deactivated and removed.\n\nThis endpoint ensures zero-downtime rotation by maintaining both current and previous certificates \nduring the transition period, allowing IdPs time to update their configurations. Automated rotation\nhappens 30 days before a current certificate's expiration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "saml_cert_set_id": { - "$ref": "#/$defs/access_uuid", - "description": "UID of the SAML certificate set to rotate." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "saml_cert_set_id": { + "$ref": "#/$defs/access_uuid", + "description": "UID of the SAML certificate set to rotate." + } + }, + "required": [ + "account_id", + "saml_cert_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "saml_cert_set_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -252,11 +289,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_certificate_set_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_certificate_set_response": access_certificate_set_response_output, - "access_messages": access_messages_output, - "access_saml_certificate-2": access_saml_certificate_2_output, - "access_saml_certificate_set-2": access_saml_certificate_set_2_output, + "access_api-response-single": access_api$$response$$single, + "access_certificate_set_response": access_certificate_set_response, + "access_messages": access_messages, + "access_saml_certificate-2": access_saml_certificate$$2, + "access_saml_certificate_set-2": access_saml_certificate_set$$2, }, }, annotations: { @@ -281,12 +318,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_certificate_set_response": access_certificate_set_response_output, - "access_messages": access_messages_output, - "access_saml_certificate-2": access_saml_certificate_2_output, - "access_saml_certificate_set-2": access_saml_certificate_set_2_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_certificate_set_response": access_certificate_set_response, + "access_messages": access_messages, + "access_saml_certificate-2": access_saml_certificate$$2, + "access_saml_certificate_set-2": access_saml_certificate_set$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/schemas.ts index 12eea1853..9524b976e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/schemas.ts @@ -436,7 +436,7 @@ export const access_domain_rule: JsonSchema = { /** * The schema of `access_email-2`. */ -export const access_email_2: JsonSchema = { +export const access_email$$2: JsonSchema = { "description": "The email of the user.", "type": "string" }; @@ -511,7 +511,7 @@ export const access_everyone_rule: JsonSchema = { /** * The schema of `access_exclude-2`. */ -export const access_exclude_2: JsonSchema = { +export const access_exclude$$2: JsonSchema = { "description": "Rules evaluated with a NOT logical operator. To match the policy, a user cannot meet any of the Exclude rules.", "items": { "$ref": "#/$defs/access_rule" @@ -616,7 +616,7 @@ export const access_gsuite_group_rule: JsonSchema = { /** * The schema of `access_include-2`. */ -export const access_include_2: JsonSchema = { +export const access_include$$2: JsonSchema = { "description": "Rules evaluated with an OR logical operator. A user needs to meet only one of the Include rules.", "items": { "$ref": "#/$defs/access_rule" @@ -765,7 +765,7 @@ export const access_mfa_config: JsonSchema = { /** * The schema of `access_name-10`. */ -export const access_name_10: JsonSchema = { +export const access_name$$10: JsonSchema = { "description": "The name of the user.", "type": "string" }; @@ -773,7 +773,7 @@ export const access_name_10: JsonSchema = { /** * The schema of `access_name-9`. */ -export const access_name_9: JsonSchema = { +export const access_name$$9: JsonSchema = { "description": "The name of the Access policy.", "type": "string" }; @@ -930,7 +930,7 @@ export const access_rdp_clipboard_format: JsonSchema = { /** * The schema of `access_require-2`. */ -export const access_require_2: JsonSchema = { +export const access_require$$2: JsonSchema = { "description": "Rules evaluated with an AND logical operator. To match the policy, a user must meet all of the Require rules.", "items": { "$ref": "#/$defs/access_rule" @@ -1120,7 +1120,7 @@ export const access_service_token_tag_rule: JsonSchema = { /** * The schema of `access_session_duration-3`. */ -export const access_session_duration_3: JsonSchema = { +export const access_session_duration$$3: JsonSchema = { "description": "The amount of time that tokens issued for the application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", "oneOf": [ { @@ -1170,7 +1170,7 @@ export const access_user_risk_score_rule: JsonSchema = { /** * The schema of `access_uuid-2`. */ -export const access_uuid_2: JsonSchema = { +export const access_uuid$$2: JsonSchema = { "description": "The UUID of the policy", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts index dccc2b3cb..1265cbe1f 100644 --- a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_client_secret` in responses. */ -export const access_client_secret_output: JsonSchema = { +export const access_client_secret: JsonSchema = { "type": "string" }; /** * The schema of `access_create_response` in responses. */ -export const access_create_response_output: JsonSchema = { +export const access_create_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -61,7 +61,7 @@ export const access_create_response_output: JsonSchema = { /** * The schema of `access_response_collection-4` in responses. */ -export const access_response_collection_4_output: JsonSchema = { +export const access_response_collection$$4: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts index bae392ee8..b19795bc5 100644 --- a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts @@ -1,40 +1,40 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; -import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_client_id_output, - access_created_at_output, - access_duration_output, - access_enabled_output, - access_leak_report_url_output, - access_leak_reported_at_output, - access_leak_reporter_output, - access_messages_output, - access_name_2_output, - access_service_tokens_output, - access_single_response_2_output, - access_tags_output, - access_timestamp_output, - access_updated_at_output, - access_uuid_output, -} from "../../outputs.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_client_id, + access_created_at, access_duration, access_enabled, - access_identifier, - access_name_2, + access_leak_report_url, + access_leak_reported_at, + access_leak_reporter, + access_messages, + access_name$$2, + access_service$$tokens, + access_single_response$$2, access_tags, + access_timestamp, + access_updated_at, access_uuid, +} from "../../outputs.js"; +import { + access_duration as access_duration$, + access_enabled as access_enabled$, + access_identifier, + access_name$$2 as access_name$$2$, + access_tags as access_tags$, + access_uuid as access_uuid$, } from "../../schemas.js"; import { - access_client_secret_output, - access_create_response_output, - access_response_collection_4_output, + access_client_secret, + access_create_response, + access_response_collection$$4, } from "./outputs.js"; import { access_client_secret_version, @@ -42,28 +42,16 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.access.service_tokens`. + * The tools of `zeroTrust.access.serviceTokens`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_service_tokens_create", + name: "zeroTrust_access_serviceTokens_create", title: "Create a service token", description: "Generates a new service token. **Note:** This is the only time you can get the Client Secret. If you lose the Client Secret, you will have to rotate the Client Secret or create a new service token.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "client_secret_version": { @@ -97,38 +85,58 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { "access_client_secret_version": access_client_secret_version, - "access_duration": access_duration, - "access_enabled": access_enabled, + "access_duration": access_duration$, + "access_enabled": access_enabled$, "access_identifier": access_identifier, - "access_name-2": access_name_2, + "access_name-2": access_name$$2$, "access_previous_client_secret_expires_at": access_previous_client_secret_expires_at, - "access_tags": access_tags, + "access_tags": access_tags$, }, }, outputSchema: { "$ref": "#/$defs/access_create_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_client_secret": access_client_secret_output, - "access_create_response": access_create_response_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_client_secret": access_client_secret, + "access_create_response": access_create_response, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -155,19 +163,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_client_secret": access_client_secret_output, - "access_create_response": access_create_response_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_client_secret": access_client_secret, + "access_create_response": access_create_response, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -176,58 +184,66 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_service_tokens_delete", + name: "zeroTrust_access_serviceTokens_delete", title: "Delete a service token", description: "Deletes a service token.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "service_token_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "service_token_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "service_token_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-2", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -254,23 +270,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -278,58 +294,66 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_service_tokens_get", + name: "zeroTrust_access_serviceTokens_get", title: "Get a service token", description: "Fetches a single service token.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "service_token_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "service_token_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "service_token_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-2", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -357,23 +381,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -381,46 +405,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_service_tokens_list", + name: "zeroTrust_access_serviceTokens_list", title: "List service tokens", description: "Lists all service tokens.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "name": { - "description": "The name of the service token.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 1000, - "description": "Number of results per page.", - "type": "integer" + "type": "object" }, - "search": { - "description": "Search for service tokens by other listed query parameters.", - "type": "string" + "query": { + "properties": { + "name": { + "description": "The name of the service token.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 1000, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Search for service tokens by other listed query parameters.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -429,23 +466,23 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-4", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_response_collection-4": access_response_collection_4_output, - "access_service-tokens": access_service_tokens_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_response_collection-4": access_response_collection$$4, + "access_service-tokens": access_service$$tokens, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -473,80 +510,88 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_response_collection-4": access_response_collection_4_output, - "access_service-tokens": access_service_tokens_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_response_collection-4": access_response_collection$$4, + "access_service-tokens": access_service$$tokens, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/service_tokens`, query: [ - ["name", args["name"], true], - ["search", args["search"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["name", param(args, "query", "name"), true], + ["search", param(args, "query", "search"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_service_tokens_refresh", + name: "zeroTrust_access_serviceTokens_refresh", title: "Refresh a service token", description: "Refreshes the expiration of a service token.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "service_token_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "service_token_id" + ], + "type": "object" } }, required: [ - "account_id", - "service_token_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-2", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -573,23 +618,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -597,16 +642,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_service_tokens_rotate", + name: "zeroTrust_access_serviceTokens_rotate", title: "Rotate a service token", description: "Generates a new Client Secret for a service token and revokes the old one.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "properties": { "previous_client_secret_expires_at": { @@ -617,35 +658,47 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "service_token_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "service_token_id" + ], + "type": "object" } }, required: [ - "account_id", - "service_token_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_create_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_client_secret": access_client_secret_output, - "access_create_response": access_create_response_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_client_secret": access_client_secret, + "access_create_response": access_create_response, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -667,19 +720,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_client_secret": access_client_secret_output, - "access_create_response": access_create_response_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_client_secret": access_client_secret, + "access_create_response": access_create_response, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -688,24 +741,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_service_tokens_update", + name: "zeroTrust_access_serviceTokens_update", title: "Update a service token", description: "Updates a configured service token.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "client_secret_version": { @@ -737,47 +778,67 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "service_token_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "service_token_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "service_token_id", + "path", "body" ], $defs: { "access_client_secret_version": access_client_secret_version, - "access_duration": access_duration, - "access_enabled": access_enabled, + "access_duration": access_duration$, + "access_enabled": access_enabled$, "access_identifier": access_identifier, - "access_name-2": access_name_2, + "access_name-2": access_name$$2$, "access_previous_client_secret_expires_at": access_previous_client_secret_expires_at, - "access_tags": access_tags, - "access_uuid": access_uuid, + "access_tags": access_tags$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-2", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -804,23 +865,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts index 0e01168b5..422f97ef0 100644 --- a/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_days_until_next_rotation` in responses. */ -export const access_days_until_next_rotation_output: JsonSchema = { +export const access_days_until_next_rotation: JsonSchema = { "type": "number" }; /** * The schema of `access_key_config` in responses. */ -export const access_key_config_output: JsonSchema = { +export const access_key_config: JsonSchema = { "properties": { "days_until_next_rotation": { "$ref": "#/$defs/access_days_until_next_rotation" @@ -31,14 +31,14 @@ export const access_key_config_output: JsonSchema = { /** * The schema of `access_key_rotation_interval_days` in responses. */ -export const access_key_rotation_interval_days_output: JsonSchema = { +export const access_key_rotation_interval_days: JsonSchema = { "type": "number" }; /** * The schema of `access_last_key_rotation_at` in responses. */ -export const access_last_key_rotation_at_output: JsonSchema = { +export const access_last_key_rotation_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -46,7 +46,7 @@ export const access_last_key_rotation_at_output: JsonSchema = { /** * The schema of `access_single_response-13` in responses. */ -export const access_single_response_13_output: JsonSchema = { +export const access_single_response$$13: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts b/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts index 5c0351dc0..cd1838336 100644 --- a/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts @@ -3,38 +3,46 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../outputs.js"; import { access_identifier } from "../../schemas.js"; import { - access_days_until_next_rotation_output, - access_key_config_output, - access_key_rotation_interval_days_output, - access_last_key_rotation_at_output, - access_single_response_13_output, + access_days_until_next_rotation, + access_key_config, + access_key_rotation_interval_days, + access_last_key_rotation_at, + access_single_response$$13, } from "./outputs.js"; -import { access_key_rotation_interval_days } from "./schemas.js"; +import { access_key_rotation_interval_days as access_key_rotation_interval_days$ } from "./schemas.js"; /** - * The tools of `zero_trust.access.signing_keys`. + * The tools of `zeroTrust.access.signingKeys`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_signing_keys_get", + name: "zeroTrust_access_signingKeys_get", title: "Get the Access key configuration", description: "Gets the Access key rotation settings for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -43,13 +51,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_single_response-13", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_days_until_next_rotation": access_days_until_next_rotation_output, - "access_key_config": access_key_config_output, - "access_key_rotation_interval_days": access_key_rotation_interval_days_output, - "access_last_key_rotation_at": access_last_key_rotation_at_output, - "access_messages": access_messages_output, - "access_single_response-13": access_single_response_13_output, + "access_api-response-single": access_api$$response$$single, + "access_days_until_next_rotation": access_days_until_next_rotation, + "access_key_config": access_key_config, + "access_key_rotation_interval_days": access_key_rotation_interval_days, + "access_last_key_rotation_at": access_last_key_rotation_at, + "access_messages": access_messages, + "access_single_response-13": access_single_response$$13, }, }, annotations: { @@ -77,14 +85,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_days_until_next_rotation": access_days_until_next_rotation_output, - "access_key_config": access_key_config_output, - "access_key_rotation_interval_days": access_key_rotation_interval_days_output, - "access_last_key_rotation_at": access_last_key_rotation_at_output, - "access_messages": access_messages_output, - "access_single_response-13": access_single_response_13_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_days_until_next_rotation": access_days_until_next_rotation, + "access_key_config": access_key_config, + "access_key_rotation_interval_days": access_key_rotation_interval_days, + "access_last_key_rotation_at": access_last_key_rotation_at, + "access_messages": access_messages, + "access_single_response-13": access_single_response$$13, }, }, request: (args) => ({ @@ -92,19 +100,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_signing_keys_rotate", + name: "zeroTrust_access_signingKeys_rotate", title: "Rotate Access keys", description: "Perfoms a key rotation for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -113,13 +129,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_single_response-13", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_days_until_next_rotation": access_days_until_next_rotation_output, - "access_key_config": access_key_config_output, - "access_key_rotation_interval_days": access_key_rotation_interval_days_output, - "access_last_key_rotation_at": access_last_key_rotation_at_output, - "access_messages": access_messages_output, - "access_single_response-13": access_single_response_13_output, + "access_api-response-single": access_api$$response$$single, + "access_days_until_next_rotation": access_days_until_next_rotation, + "access_key_config": access_key_config, + "access_key_rotation_interval_days": access_key_rotation_interval_days, + "access_last_key_rotation_at": access_last_key_rotation_at, + "access_messages": access_messages, + "access_single_response-13": access_single_response$$13, }, }, annotations: { @@ -146,14 +162,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_days_until_next_rotation": access_days_until_next_rotation_output, - "access_key_config": access_key_config_output, - "access_key_rotation_interval_days": access_key_rotation_interval_days_output, - "access_last_key_rotation_at": access_last_key_rotation_at_output, - "access_messages": access_messages_output, - "access_single_response-13": access_single_response_13_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_days_until_next_rotation": access_days_until_next_rotation, + "access_key_config": access_key_config, + "access_key_rotation_interval_days": access_key_rotation_interval_days, + "access_last_key_rotation_at": access_last_key_rotation_at, + "access_messages": access_messages, + "access_single_response-13": access_single_response$$13, }, }, request: (args) => ({ @@ -161,16 +177,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_signing_keys_update", + name: "zeroTrust_access_signingKeys_update", title: "Update the Access key configuration", description: "Updates the Access key rotation settings for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "properties": { "key_rotation_interval_days": { @@ -182,27 +194,39 @@ export const tools: readonly Tool[] = [ "key_rotation_interval_days" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "access_identifier": access_identifier, - "access_key_rotation_interval_days": access_key_rotation_interval_days, + "access_key_rotation_interval_days": access_key_rotation_interval_days$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-13", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_days_until_next_rotation": access_days_until_next_rotation_output, - "access_key_config": access_key_config_output, - "access_key_rotation_interval_days": access_key_rotation_interval_days_output, - "access_last_key_rotation_at": access_last_key_rotation_at_output, - "access_messages": access_messages_output, - "access_single_response-13": access_single_response_13_output, + "access_api-response-single": access_api$$response$$single, + "access_days_until_next_rotation": access_days_until_next_rotation, + "access_key_config": access_key_config, + "access_key_rotation_interval_days": access_key_rotation_interval_days, + "access_last_key_rotation_at": access_last_key_rotation_at, + "access_messages": access_messages, + "access_single_response-13": access_single_response$$13, }, }, annotations: { @@ -229,14 +253,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_days_until_next_rotation": access_days_until_next_rotation_output, - "access_key_config": access_key_config_output, - "access_key_rotation_interval_days": access_key_rotation_interval_days_output, - "access_last_key_rotation_at": access_last_key_rotation_at_output, - "access_messages": access_messages_output, - "access_single_response-13": access_single_response_13_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_days_until_next_rotation": access_days_until_next_rotation, + "access_key_config": access_key_config, + "access_key_rotation_interval_days": access_key_rotation_interval_days, + "access_last_key_rotation_at": access_last_key_rotation_at, + "access_messages": access_messages, + "access_single_response-13": access_single_response$$13, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts index 1d368057e..658eadc68 100644 --- a/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_name-13` in responses. */ -export const access_name_13_output: JsonSchema = { +export const access_name$$13: JsonSchema = { "type": "string" }; /** * The schema of `access_name_response` in responses. */ -export const access_name_response_output: JsonSchema = { +export const access_name_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -37,7 +37,7 @@ export const access_name_response_output: JsonSchema = { /** * The schema of `access_response_collection-16` in responses. */ -export const access_response_collection_16_output: JsonSchema = { +export const access_response_collection$$16: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -59,7 +59,7 @@ export const access_response_collection_16_output: JsonSchema = { /** * The schema of `access_single_response-15` in responses. */ -export const access_single_response_15_output: JsonSchema = { +export const access_single_response$$15: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -78,7 +78,7 @@ export const access_single_response_15_output: JsonSchema = { /** * The schema of `access_tag` in responses. */ -export const access_tag_output: JsonSchema = { +export const access_tag: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/access_created_at" diff --git a/src/generated/forge-mcp/zeroTrust/access/tags/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/tags/schemas.ts index 435ada0fa..8e8d0e309 100644 --- a/src/generated/forge-mcp/zeroTrust/access/tags/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/tags/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_name-13`. */ -export const access_name_13: JsonSchema = { +export const access_name$$13: JsonSchema = { "description": "The name of the tag", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts b/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts index 4563164e3..89e49db2e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts @@ -1,47 +1,46 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; -import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_created_at_output, - access_messages_output, - access_timestamp_output, - access_updated_at_output, -} from "../../outputs.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, access_created_at, - access_identifier, + access_messages, access_timestamp, access_updated_at, +} from "../../outputs.js"; +import { + access_created_at as access_created_at$, + access_identifier, + access_timestamp as access_timestamp$, + access_updated_at as access_updated_at$, } from "../../schemas.js"; import { - access_name_13_output, - access_name_response_output, - access_response_collection_16_output, - access_single_response_15_output, - access_tag_output, + access_name$$13, + access_name_response, + access_response_collection$$16, + access_single_response$$15, + access_tag, } from "./outputs.js"; -import { access_name_13, access_tag_without_app_count } from "./schemas.js"; +import { + access_name$$13 as access_name$$13$, + access_tag_without_app_count, +} from "./schemas.js"; /** - * The tools of `zero_trust.access.tags`. + * The tools of `zeroTrust.access.tags`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_tags_create", + name: "zeroTrust_access_tags_create", title: "Create a tag", description: "Create a tag", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "properties": { "name": { @@ -50,27 +49,39 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_name-13": access_name_13, + "access_name-13": access_name$$13$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-15", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_single_response-15": access_single_response_15_output, - "access_tag": access_tag_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_single_response-15": access_single_response$$15, + "access_tag": access_tag, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -92,15 +103,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_single_response-15": access_single_response_15_output, - "access_tag": access_tag_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_single_response-15": access_single_response$$15, + "access_tag": access_tag, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -109,37 +120,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_tags_delete", + name: "zeroTrust_access_tags_delete", title: "Delete a tag", description: "Delete a tag", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "tag_name": { - "$ref": "#/$defs/access_name-13", - "description": "The name of the tag" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "tag_name": { + "$ref": "#/$defs/access_name-13", + "description": "The name of the tag" + } + }, + "required": [ + "account_id", + "tag_name" + ], + "type": "object" } }, required: [ - "account_id", - "tag_name" + "path" ], $defs: { "access_identifier": access_identifier, - "access_name-13": access_name_13, + "access_name-13": access_name$$13$, }, }, outputSchema: { "$ref": "#/$defs/access_name_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_name_response": access_name_response_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_name_response": access_name_response, }, }, annotations: { @@ -161,11 +180,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_name_response": access_name_response_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_name_response": access_name_response, }, }, request: (args) => ({ @@ -173,41 +192,49 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_tags_get", + name: "zeroTrust_access_tags_get", title: "Get a tag", description: "Get a tag", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "tag_name": { - "$ref": "#/$defs/access_name-13", - "description": "The name of the tag" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "tag_name": { + "$ref": "#/$defs/access_name-13", + "description": "The name of the tag" + } + }, + "required": [ + "account_id", + "tag_name" + ], + "type": "object" } }, required: [ - "account_id", - "tag_name" + "path" ], $defs: { "access_identifier": access_identifier, - "access_name-13": access_name_13, + "access_name-13": access_name$$13$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-15", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_single_response-15": access_single_response_15_output, - "access_tag": access_tag_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_single_response-15": access_single_response$$15, + "access_tag": access_tag, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -229,15 +256,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_single_response-15": access_single_response_15_output, - "access_tag": access_tag_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_single_response-15": access_single_response$$15, + "access_tag": access_tag, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -245,29 +272,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_tags_list", + name: "zeroTrust_access_tags_list", title: "List tags", description: "List tags", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 50, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -276,15 +316,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-16", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_response_collection-16": access_response_collection_16_output, - "access_tag": access_tag_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_response_collection-16": access_response_collection$$16, + "access_tag": access_tag, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -306,69 +346,77 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_response_collection-16": access_response_collection_16_output, - "access_tag": access_tag_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_response_collection-16": access_response_collection$$16, + "access_tag": access_tag, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/tags`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_tags_update", + name: "zeroTrust_access_tags_update", title: "Update a tag", description: "Update a tag", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_tag_without_app_count" }, - "tag_name": { - "$ref": "#/$defs/access_name-13", - "description": "The name of the tag" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "tag_name": { + "$ref": "#/$defs/access_name-13", + "description": "The name of the tag" + } + }, + "required": [ + "account_id", + "tag_name" + ], + "type": "object" } }, required: [ - "account_id", - "tag_name" + "path" ], $defs: { - "access_created_at": access_created_at, + "access_created_at": access_created_at$, "access_identifier": access_identifier, - "access_name-13": access_name_13, + "access_name-13": access_name$$13$, "access_tag_without_app_count": access_tag_without_app_count, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, + "access_timestamp": access_timestamp$, + "access_updated_at": access_updated_at$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-15", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_single_response-15": access_single_response_15_output, - "access_tag": access_tag_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_single_response-15": access_single_response$$15, + "access_tag": access_tag, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, annotations: { @@ -390,15 +438,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_name-13": access_name_13_output, - "access_single_response-15": access_single_response_15_output, - "access_tag": access_tag_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_name-13": access_name$$13, + "access_single_response-15": access_single_response$$15, + "access_tag": access_tag, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts b/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts index e7d115a74..6c0db5932 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts @@ -3,35 +3,34 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - infra_api_response_common_failure_output, - infra_api_response_single_output, - infra_messages_output, + infra_api$$response$$common$$failure, + infra_api$$response$$single, + infra_messages, } from "../../../../outputs.js"; import { infra_AccountTag } from "../../../../schemas.js"; import { - infra_IPInfo_output, - infra_TargetArray_output, - infra_TargetId_output, - infra_Target_output, + infra_IPInfo, + infra_Target, + infra_TargetArray, + infra_TargetId, } from "../outputs.js"; -import { infra_IPInfo, infra_TargetId } from "../schemas.js"; +import { + infra_IPInfo as infra_IPInfo$, + infra_TargetId as infra_TargetId$, +} from "../schemas.js"; import { infra_BatchReplaceTargetTagsItem } from "./schemas.js"; /** - * The tools of `zero_trust.access.targets.bulk`. + * The tools of `zeroTrust.access.targets.bulk`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_targets_bulk_delete", + name: "zeroTrust_access_targets_bulk_delete", title: "Delete targets", description: "Removes one or more targets.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, "body": { "properties": { "target_ids": { @@ -46,15 +45,27 @@ export const tools: readonly Tool[] = [ "target_ids" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "infra_AccountTag": infra_AccountTag, - "infra_TargetId": infra_TargetId, + "infra_TargetId": infra_TargetId$, }, }, annotations: { @@ -74,8 +85,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_messages": infra_messages_output, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_messages": infra_messages, }, }, request: (args) => ({ @@ -84,16 +95,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_targets_bulk_replace_tags", + name: "zeroTrust_access_targets_bulk_replaceTags", title: "Replace tags on existing targets", description: "Replaces tags for one or more existing infrastructure access targets.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, "body": { "properties": { "items": { @@ -107,16 +114,28 @@ export const tools: readonly Tool[] = [ "items" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "infra_AccountTag": infra_AccountTag, "infra_BatchReplaceTargetTagsItem": infra_BatchReplaceTargetTagsItem, - "infra_TargetId": infra_TargetId, + "infra_TargetId": infra_TargetId$, }, }, outputSchema: { @@ -134,12 +153,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetArray": infra_TargetArray_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetArray": infra_TargetArray, + "infra_TargetId": infra_TargetId, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, annotations: { @@ -178,13 +197,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetArray": infra_TargetArray_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetArray": infra_TargetArray, + "infra_TargetId": infra_TargetId, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, request: (args) => ({ @@ -193,16 +212,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_targets_bulk_update", + name: "zeroTrust_access_targets_bulk_update", title: "Create new targets", description: "Adds one or more targets.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, "body": { "items": { "properties": { @@ -236,15 +251,27 @@ export const tools: readonly Tool[] = [ "type": "object" }, "type": "array" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "infra_AccountTag": infra_AccountTag, - "infra_IPInfo": infra_IPInfo, + "infra_IPInfo": infra_IPInfo$, }, }, outputSchema: { @@ -262,12 +289,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetArray": infra_TargetArray_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetArray": infra_TargetArray, + "infra_TargetId": infra_TargetId, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, annotations: { @@ -306,13 +333,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetArray": infra_TargetArray_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetArray": infra_TargetArray, + "infra_TargetId": infra_TargetId, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts index a995e71ed..58be35866 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `infra_IPInfo` in responses. */ -export const infra_IPInfo_output: JsonSchema = { +export const infra_IPInfo: JsonSchema = { "properties": { "ipv4": { "properties": { @@ -39,7 +39,7 @@ export const infra_IPInfo_output: JsonSchema = { /** * The schema of `infra_Target` in responses. */ -export const infra_Target_output: JsonSchema = { +export const infra_Target: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -85,7 +85,7 @@ export const infra_Target_output: JsonSchema = { /** * The schema of `infra_TargetArray` in responses. */ -export const infra_TargetArray_output: JsonSchema = { +export const infra_TargetArray: JsonSchema = { "items": { "$ref": "#/$defs/infra_Target" }, @@ -95,7 +95,7 @@ export const infra_TargetArray_output: JsonSchema = { /** * The schema of `infra_TargetId` in responses. */ -export const infra_TargetId_output: JsonSchema = { +export const infra_TargetId: JsonSchema = { "format": "uuid", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts b/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts index 81f4eb3ae..9680fa84c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts @@ -1,42 +1,38 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - infra_api_response_collection_output, - infra_api_response_common_failure_output, - infra_api_response_common_output, - infra_api_response_single_output, - infra_messages_output, + infra_api$$response$$collection, + infra_api$$response$$common, + infra_api$$response$$common$$failure, + infra_api$$response$$single, + infra_messages, } from "../../../outputs.js"; import { infra_AccountTag } from "../../../schemas.js"; import { - infra_IPInfo_output, - infra_TargetArray_output, - infra_TargetId_output, - infra_Target_output, + infra_IPInfo, + infra_Target, + infra_TargetArray, + infra_TargetId, } from "./outputs.js"; import { - infra_IPInfo, + infra_IPInfo as infra_IPInfo$, infra_SortingDirection, - infra_TargetId, + infra_TargetId as infra_TargetId$, } from "./schemas.js"; /** - * The tools of `zero_trust.access.targets`. + * The tools of `zeroTrust.access.targets`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_targets_create", + name: "zeroTrust_access_targets_create", title: "Create new target", description: "Creates a new infrastructure access target in the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, "body": { "properties": { "hostname": { @@ -67,15 +63,27 @@ export const tools: readonly Tool[] = [ "ip" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "infra_AccountTag": infra_AccountTag, - "infra_IPInfo": infra_IPInfo, + "infra_IPInfo": infra_IPInfo$, }, }, outputSchema: { @@ -93,11 +101,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetId": infra_TargetId, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, annotations: { @@ -131,12 +139,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetId": infra_TargetId, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, request: (args) => ({ @@ -145,28 +153,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_targets_delete", + name: "zeroTrust_access_targets_delete", title: "Delete target", description: "Removes a single infrastructure access target by its ID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, - "target_id": { - "$ref": "#/$defs/infra_TargetId", - "description": "Target identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" + }, + "target_id": { + "$ref": "#/$defs/infra_TargetId", + "description": "Target identifier" + } + }, + "required": [ + "account_id", + "target_id" + ], + "type": "object" } }, required: [ - "account_id", - "target_id" + "path" ], $defs: { "infra_AccountTag": infra_AccountTag, - "infra_TargetId": infra_TargetId, + "infra_TargetId": infra_TargetId$, }, }, annotations: { @@ -186,8 +202,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_messages": infra_messages_output, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_messages": infra_messages, }, }, request: (args) => ({ @@ -195,28 +211,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_targets_get", + name: "zeroTrust_access_targets_get", title: "Get target", description: "Fetches a single infrastructure access target by its ID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, - "target_id": { - "$ref": "#/$defs/infra_TargetId", - "description": "Target identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" + }, + "target_id": { + "$ref": "#/$defs/infra_TargetId", + "description": "Target identifier" + } + }, + "required": [ + "account_id", + "target_id" + ], + "type": "object" } }, required: [ - "account_id", - "target_id" + "path" ], $defs: { "infra_AccountTag": infra_AccountTag, - "infra_TargetId": infra_TargetId, + "infra_TargetId": infra_TargetId$, }, }, outputSchema: { @@ -234,11 +258,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetId": infra_TargetId, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, annotations: { @@ -272,12 +296,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetId": infra_TargetId, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, request: (args) => ({ @@ -285,222 +309,235 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_targets_list", + name: "zeroTrust_access_targets_list", title: "List all targets", description: "Lists and sorts an account's targets. Filters are optional and are ANDed\ntogether.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, - "created_after": { - "description": "Date and time at which the target was created after (inclusive)", - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" } - ] + }, + "required": [ + "account_id" + ], + "type": "object" }, - "created_before": { - "description": "Date and time at which the target was created before (inclusive)", - "oneOf": [ - { - "format": "date-time", - "type": "string" + "query": { + "properties": { + "created_after": { + "description": "Date and time at which the target was created after (inclusive)", + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "direction": { - "$ref": "#/$defs/infra_SortingDirection", - "description": "The sorting direction." - }, - "hostname": { - "description": "Hostname of a target", - "oneOf": [ - { - "type": "string" + "created_before": { + "description": "Date and time at which the target was created before (inclusive)", + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "hostname_contains": { - "description": "Partial match to the hostname of a target", - "oneOf": [ - { - "type": "string" + "direction": { + "$ref": "#/$defs/infra_SortingDirection", + "description": "The sorting direction." }, - { - "type": "null" - } - ] - }, - "ip_like": { - "description": "Filters for targets whose IP addresses look like the specified string.\nSupports `*` as a wildcard character", - "oneOf": [ - { - "type": "string" + "hostname": { + "description": "Hostname of a target", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "ip_v4": { - "description": "IPv4 address of the target", - "oneOf": [ - { - "type": "string" + "hostname_contains": { + "description": "Partial match to the hostname of a target", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "ip_v6": { - "description": "IPv6 address of the target", - "oneOf": [ - { - "type": "string" + "ip_like": { + "description": "Filters for targets whose IP addresses look like the specified string.\nSupports `*` as a wildcard character", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "ips": { - "description": "Filters for targets that have any of the following IP addresses. Specify\n`ips` multiple times in query parameter to build list of candidates.", - "items": { - "type": "string" - }, - "type": "array" - }, - "ipv4_end": { - "description": "Defines an IPv4 filter range's ending value (inclusive). Requires\n`ipv4_start` to be specified as well.", - "oneOf": [ - { - "type": "string" + "ip_v4": { + "description": "IPv4 address of the target", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "ipv4_start": { - "description": "Defines an IPv4 filter range's starting value (inclusive). Requires\n`ipv4_end` to be specified as well.", - "oneOf": [ - { - "type": "string" + "ip_v6": { + "description": "IPv6 address of the target", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "ipv6_end": { - "description": "Defines an IPv6 filter range's ending value (inclusive). Requires\n`ipv6_start` to be specified as well.", - "oneOf": [ - { - "type": "string" + "ips": { + "description": "Filters for targets that have any of the following IP addresses. Specify\n`ips` multiple times in query parameter to build list of candidates.", + "items": { + "type": "string" + }, + "type": "array" }, - { - "type": "null" - } - ] - }, - "ipv6_start": { - "description": "Defines an IPv6 filter range's starting value (inclusive). Requires\n`ipv6_end` to be specified as well.", - "oneOf": [ - { - "type": "string" + "ipv4_end": { + "description": "Defines an IPv4 filter range's ending value (inclusive). Requires\n`ipv4_start` to be specified as well.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "modified_after": { - "description": "Date and time at which the target was modified after (inclusive)", - "oneOf": [ - { - "format": "date-time", - "type": "string" + "ipv4_start": { + "description": "Defines an IPv4 filter range's starting value (inclusive). Requires\n`ipv4_end` to be specified as well.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "modified_before": { - "description": "Date and time at which the target was modified before (inclusive)", - "oneOf": [ - { - "format": "date-time", - "type": "string" + "ipv6_end": { + "description": "Defines an IPv6 filter range's ending value (inclusive). Requires\n`ipv6_start` to be specified as well.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, - { - "type": "null" - } - ] - }, - "order": { - "description": "The field to sort by.", - "enum": [ - "hostname", - "created_at" - ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Current page in the response", - "type": "integer" - }, - "per_page": { - "default": 1000, - "description": "Max amount of entries returned per page", - "type": "integer" - }, - "tag": { - "description": "Filter by tag key:value pairs. Multiple `tag` params are AND'd.\nFormat: `tag=key:value` (e.g., `tag=environment:production`).\nKey and value must both be non-empty; `tag=:value` and `tag=key:` return 400.", - "items": { - "type": "string" - }, - "type": "array" - }, - "target_ids": { - "description": "Filters for targets that have any of the following UUIDs. Specify\n`target_ids` multiple times in query parameter to build list of\ncandidates.", - "items": { - "format": "uuid", - "type": "string" - }, - "type": "array" - }, - "virtual_network_id": { - "description": "Private virtual network identifier of the target", - "oneOf": [ - { - "format": "uuid", + "ipv6_start": { + "description": "Defines an IPv6 filter range's starting value (inclusive). Requires\n`ipv6_end` to be specified as well.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] + }, + "modified_after": { + "description": "Date and time at which the target was modified after (inclusive)", + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "modified_before": { + "description": "Date and time at which the target was modified before (inclusive)", + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "order": { + "description": "The field to sort by.", + "enum": [ + "hostname", + "created_at" + ], "type": "string" }, - { - "type": "null" + "page": { + "default": 1, + "description": "Current page in the response", + "type": "integer" + }, + "per_page": { + "default": 1000, + "description": "Max amount of entries returned per page", + "type": "integer" + }, + "tag": { + "description": "Filter by tag key:value pairs. Multiple `tag` params are AND'd.\nFormat: `tag=key:value` (e.g., `tag=environment:production`).\nKey and value must both be non-empty; `tag=:value` and `tag=key:` return 400.", + "items": { + "type": "string" + }, + "type": "array" + }, + "target_ids": { + "description": "Filters for targets that have any of the following UUIDs. Specify\n`target_ids` multiple times in query parameter to build list of\ncandidates.", + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "virtual_network_id": { + "description": "Private virtual network identifier of the target", + "oneOf": [ + { + "format": "uuid", + "type": "string" + }, + { + "type": "null" + } + ] } - ] + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "infra_AccountTag": infra_AccountTag, @@ -522,13 +559,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetArray": infra_TargetArray_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-collection": infra_api_response_collection_output, - "infra_api-response-common": infra_api_response_common_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetArray": infra_TargetArray, + "infra_TargetId": infra_TargetId, + "infra_api-response-collection": infra_api$$response$$collection, + "infra_api-response-common": infra_api$$response$$common, + "infra_messages": infra_messages, }, }, annotations: { @@ -562,54 +599,50 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetArray": infra_TargetArray_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-collection": infra_api_response_collection_output, - "infra_api-response-common": infra_api_response_common_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetArray": infra_TargetArray, + "infra_TargetId": infra_TargetId, + "infra_api-response-collection": infra_api$$response$$collection, + "infra_api-response-common": infra_api$$response$$common, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_messages": infra_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/infrastructure/targets`, query: [ - ["hostname", args["hostname"], true], - ["hostname_contains", args["hostname_contains"], true], - ["virtual_network_id", args["virtual_network_id"], true], - ["ip_v4", args["ip_v4"], true], - ["ip_v6", args["ip_v6"], true], - ["created_before", args["created_before"], true], - ["created_after", args["created_after"], true], - ["modified_before", args["modified_before"], true], - ["modified_after", args["modified_after"], true], - ["ips", args["ips"], true], - ["target_ids", args["target_ids"], true], - ["ip_like", args["ip_like"], true], - ["ipv4_start", args["ipv4_start"], true], - ["ipv4_end", args["ipv4_end"], true], - ["ipv6_start", args["ipv6_start"], true], - ["ipv6_end", args["ipv6_end"], true], - ["tag", args["tag"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["hostname", param(args, "query", "hostname"), true], + ["hostname_contains", param(args, "query", "hostname_contains"), true], + ["virtual_network_id", param(args, "query", "virtual_network_id"), true], + ["ip_v4", param(args, "query", "ip_v4"), true], + ["ip_v6", param(args, "query", "ip_v6"), true], + ["created_before", param(args, "query", "created_before"), true], + ["created_after", param(args, "query", "created_after"), true], + ["modified_before", param(args, "query", "modified_before"), true], + ["modified_after", param(args, "query", "modified_after"), true], + ["ips", param(args, "query", "ips"), true], + ["target_ids", param(args, "query", "target_ids"), true], + ["ip_like", param(args, "query", "ip_like"), true], + ["ipv4_start", param(args, "query", "ipv4_start"), true], + ["ipv4_end", param(args, "query", "ipv4_end"), true], + ["ipv6_start", param(args, "query", "ipv6_start"), true], + ["ipv6_end", param(args, "query", "ipv6_end"), true], + ["tag", param(args, "query", "tag"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, { - name: "zero_trust_access_targets_update", + name: "zeroTrust_access_targets_update", title: "Update target", description: "Updates an existing infrastructure access target by its ID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" - }, "body": { "properties": { "hostname": { @@ -641,20 +674,32 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "target_id": { - "$ref": "#/$defs/infra_TargetId", - "description": "Target identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/infra_AccountTag", + "description": "Account identifier" + }, + "target_id": { + "$ref": "#/$defs/infra_TargetId", + "description": "Target identifier" + } + }, + "required": [ + "account_id", + "target_id" + ], + "type": "object" } }, required: [ - "account_id", - "target_id", + "path", "body" ], $defs: { "infra_AccountTag": infra_AccountTag, - "infra_IPInfo": infra_IPInfo, - "infra_TargetId": infra_TargetId, + "infra_IPInfo": infra_IPInfo$, + "infra_TargetId": infra_TargetId$, }, }, outputSchema: { @@ -672,11 +717,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetId": infra_TargetId, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, annotations: { @@ -710,12 +755,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "infra_IPInfo": infra_IPInfo_output, - "infra_Target": infra_Target_output, - "infra_TargetId": infra_TargetId_output, - "infra_api-response-common-failure": infra_api_response_common_failure_output, - "infra_api-response-single": infra_api_response_single_output, - "infra_messages": infra_messages_output, + "infra_IPInfo": infra_IPInfo, + "infra_Target": infra_Target, + "infra_TargetId": infra_TargetId, + "infra_api-response-common-failure": infra_api$$response$$common$$failure, + "infra_api-response-single": infra_api$$response$$single, + "infra_messages": infra_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts index a4559841c..d1262c0b8 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_response_collection-3` in responses. */ -export const access_response_collection_3_output: JsonSchema = { +export const access_response_collection$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -28,7 +28,7 @@ export const access_response_collection_3_output: JsonSchema = { /** * The schema of `access_single_response-5` in responses. */ -export const access_single_response_5_output: JsonSchema = { +export const access_single_response$$5: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -47,7 +47,7 @@ export const access_single_response_5_output: JsonSchema = { /** * The schema of `access_user_population` in responses. */ -export const access_user_population_output: JsonSchema = { +export const access_user_population: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/access_created_at" @@ -74,6 +74,6 @@ export const access_user_population_output: JsonSchema = { /** * The schema of `access_user_population_name` in responses. */ -export const access_user_population_name_output: JsonSchema = { +export const access_user_population_name: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts index 169787c95..488d30973 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts @@ -1,72 +1,83 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_created_at_output, - access_id_response_output, - access_messages_output, - access_timestamp_output, - access_updated_at_output, - access_uuid_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_created_at, + access_id_response, + access_messages, + access_timestamp, + access_updated_at, + access_uuid, } from "../../outputs.js"; -import { access_identifier, access_uuid } from "../../schemas.js"; import { - access_response_collection_3_output, - access_single_response_5_output, - access_user_population_name_output, - access_user_population_output, -} from "./outputs.js"; + access_identifier, + access_uuid as access_uuid$, +} from "../../schemas.js"; import { + access_response_collection$$3, + access_single_response$$5, + access_user_population, access_user_population_name, +} from "./outputs.js"; +import { + access_user_population_name as access_user_population_name$, access_user_population_request, } from "./schemas.js"; /** - * The tools of `zero_trust.access.user_populations`. + * The tools of `zeroTrust.access.userPopulations`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_user_populations_create", + name: "zeroTrust_access_userPopulations_create", title: "Create a user population", description: "Creates a user population in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_user_population_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "access_identifier": access_identifier, - "access_user_population_name": access_user_population_name, + "access_user_population_name": access_user_population_name$, "access_user_population_request": access_user_population_request, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-5", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_single_response-5": access_single_response_5_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_population": access_user_population_output, - "access_user_population_name": access_user_population_name_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_single_response-5": access_single_response$$5, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_population": access_user_population, + "access_user_population_name": access_user_population_name, + "access_uuid": access_uuid, }, }, annotations: { @@ -88,16 +99,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_single_response-5": access_single_response_5_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_population": access_user_population_output, - "access_user_population_name": access_user_population_name_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_single_response-5": access_single_response$$5, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_population": access_user_population, + "access_user_population_name": access_user_population_name, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -106,37 +117,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_user_populations_delete", + name: "zeroTrust_access_userPopulations_delete", title: "Delete a user population", description: "Deletes a user population that is not attached to an application.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_population_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_population_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_population_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_id_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, annotations: { @@ -158,11 +177,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -170,42 +189,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_user_populations_get", + name: "zeroTrust_access_userPopulations_get", title: "Get a user population", description: "Fetches a user population.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_population_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_population_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_population_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-5", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_single_response-5": access_single_response_5_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_population": access_user_population_output, - "access_user_population_name": access_user_population_name_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_single_response-5": access_single_response$$5, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_population": access_user_population, + "access_user_population_name": access_user_population_name, + "access_uuid": access_uuid, }, }, annotations: { @@ -227,16 +254,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_single_response-5": access_single_response_5_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_population": access_user_population_output, - "access_user_population_name": access_user_population_name_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_single_response-5": access_single_response$$5, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_population": access_user_population, + "access_user_population_name": access_user_population_name, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -244,29 +271,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_user_populations_list", + name: "zeroTrust_access_userPopulations_list", title: "List user populations", description: "Lists the user populations in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 100, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -275,16 +315,16 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-3", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_response_collection-3": access_response_collection_3_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_population": access_user_population_output, - "access_user_population_name": access_user_population_name_output, - "access_uuid": access_uuid_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_response_collection-3": access_response_collection$$3, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_population": access_user_population, + "access_user_population_name": access_user_population_name, + "access_uuid": access_uuid, }, }, annotations: { @@ -306,70 +346,78 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_response_collection-3": access_response_collection_3_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_population": access_user_population_output, - "access_user_population_name": access_user_population_name_output, - "access_uuid": access_uuid_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_response_collection-3": access_response_collection$$3, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_population": access_user_population, + "access_user_population_name": access_user_population_name, + "access_uuid": access_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_user_populations_update", + name: "zeroTrust_access_userPopulations_update", title: "Update a user population", description: "Updates a user population's name.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_user_population_request" }, - "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_population_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_population_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_population_id", + "path", "body" ], $defs: { "access_identifier": access_identifier, - "access_user_population_name": access_user_population_name, + "access_user_population_name": access_user_population_name$, "access_user_population_request": access_user_population_request, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-5", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_single_response-5": access_single_response_5_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_population": access_user_population_output, - "access_user_population_name": access_user_population_name_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_single_response-5": access_single_response$$5, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_population": access_user_population, + "access_user_population_name": access_user_population_name, + "access_uuid": access_uuid, }, }, annotations: { @@ -391,16 +439,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_messages": access_messages_output, - "access_single_response-5": access_single_response_5_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_user_population": access_user_population_output, - "access_user_population_name": access_user_population_name_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_messages": access_messages, + "access_single_response-5": access_single_response$$5, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_user_population": access_user_population, + "access_user_population_name": access_user_population_name, + "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/outputs.ts index 4b765342c..8dbeed52b 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_scim_email` in responses. */ -export const access_scim_email_output: JsonSchema = { +export const access_scim_email: JsonSchema = { "properties": { "primary": { "type": "boolean" @@ -24,7 +24,7 @@ export const access_scim_email_output: JsonSchema = { /** * The schema of `access_scim_meta` in responses. */ -export const access_scim_meta_output: JsonSchema = { +export const access_scim_meta: JsonSchema = { "properties": { "created": { "format": "date-time", @@ -50,7 +50,7 @@ export const access_scim_meta_output: JsonSchema = { /** * The schema of `access_scim_name` in responses. */ -export const access_scim_name_output: JsonSchema = { +export const access_scim_name: JsonSchema = { "properties": { "familyName": { "type": "string" @@ -77,7 +77,7 @@ export const access_scim_name_output: JsonSchema = { /** * The schema of `access_scim_user` in responses. */ -export const access_scim_user_output: JsonSchema = { +export const access_scim_user: JsonSchema = { "properties": { "active": { "type": "boolean" @@ -119,7 +119,7 @@ export const access_scim_user_output: JsonSchema = { /** * The schema of `access_scim_user_collection_response` in responses. */ -export const access_scim_user_collection_response_output: JsonSchema = { +export const access_scim_user_collection_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -138,7 +138,7 @@ export const access_scim_user_collection_response_output: JsonSchema = { /** * The schema of `access_scim_user_list_response` in responses. */ -export const access_scim_user_list_response_output: JsonSchema = { +export const access_scim_user_list_response: JsonSchema = { "properties": { "Resources": { "items": { @@ -175,7 +175,7 @@ export const access_scim_user_list_response_output: JsonSchema = { /** * The schema of `access_scim_user_single_response` in responses. */ -export const access_scim_user_single_response_output: JsonSchema = { +export const access_scim_user_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts index 60e3ae4f9..b3f67c0db 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts @@ -1,77 +1,85 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; -import { - access_scim_email_output, - access_scim_meta_output, - access_scim_name_output, - access_scim_user_collection_response_output, - access_scim_user_list_response_output, - access_scim_user_output, - access_scim_user_single_response_output, -} from "./outputs.js"; import { access_scim_email, access_scim_meta, access_scim_name, - access_scim_patch_request, access_scim_user, + access_scim_user_collection_response, + access_scim_user_list_response, + access_scim_user_single_response, +} from "./outputs.js"; +import { + access_scim_email as access_scim_email$, + access_scim_meta as access_scim_meta$, + access_scim_name as access_scim_name$, + access_scim_patch_request, + access_scim_user as access_scim_user$, } from "./schemas.js"; /** - * The tools of `zero_trust.access.user_populations.users`. + * The tools of `zeroTrust.access.userPopulations.users`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_user_populations_users_create", + name: "zeroTrust_access_userPopulations_users_create", title: "Create a user population user", description: "Creates a SCIM user in a user population.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_scim_user" }, - "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_population_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_population_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_population_id", + "path", "body" ], $defs: { "access_identifier": access_identifier, - "access_scim_email": access_scim_email, - "access_scim_meta": access_scim_meta, - "access_scim_name": access_scim_name, - "access_scim_user": access_scim_user, + "access_scim_email": access_scim_email$, + "access_scim_meta": access_scim_meta$, + "access_scim_name": access_scim_name$, + "access_scim_user": access_scim_user$, "access_uuid": access_uuid, }, }, outputSchema: { "$ref": "#/$defs/access_scim_user_single_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_single_response": access_scim_user_single_response_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_single_response": access_scim_user_single_response, }, }, annotations: { @@ -93,14 +101,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_single_response": access_scim_user_single_response_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_single_response": access_scim_user_single_response, }, }, request: (args) => ({ @@ -109,29 +117,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_user_populations_users_delete", + name: "zeroTrust_access_userPopulations_users_delete", title: "Delete a user population user", description: "Deletes a SCIM user from a user population.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "user_id": { - "description": "The SCIM user identifier.", - "type": "string" - }, - "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "description": "The SCIM user identifier.", + "type": "string" + }, + "user_population_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_population_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_population_id", - "user_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -155,8 +171,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_messages": access_messages, }, }, request: (args) => ({ @@ -164,37 +180,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_user_populations_users_get", + name: "zeroTrust_access_userPopulations_users_get", title: "Get a user population user", description: "Fetches a SCIM user from a user population.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "attributes": { - "description": "Comma-separated SCIM attributes to return.", - "type": "string" - }, - "excluded_attributes": { - "description": "Comma-separated SCIM attributes to exclude from the response.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "description": "The SCIM user identifier.", + "type": "string" + }, + "user_population_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_population_id", + "user_id" + ], + "type": "object" }, - "user_id": { - "description": "The SCIM user identifier.", - "type": "string" - }, - "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "query": { + "properties": { + "attributes": { + "description": "Comma-separated SCIM attributes to return.", + "type": "string" + }, + "excludedAttributes": { + "description": "Comma-separated SCIM attributes to exclude from the response.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "user_population_id", - "user_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -204,13 +233,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_scim_user_single_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_single_response": access_scim_user_single_response_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_single_response": access_scim_user_single_response, }, }, annotations: { @@ -232,64 +261,77 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_single_response": access_scim_user_single_response_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_single_response": access_scim_user_single_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}/users/${pathParam(args, "user_id")}`, query: [ - ["attributes", args["attributes"], true], - ["excludedAttributes", args["excluded_attributes"], true], + ["attributes", param(args, "query", "attributes"), true], + ["excludedAttributes", param(args, "query", "excludedAttributes"), true], ], }), }, { - name: "zero_trust_access_user_populations_users_list", + name: "zeroTrust_access_userPopulations_users_list", title: "List users in a user population", description: "Lists SCIM users in a user population.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "attributes": { - "description": "Comma-separated SCIM attributes to return.", - "type": "string" - }, - "count": { - "description": "The maximum number of results to return.", - "type": "integer" - }, - "excluded_attributes": { - "description": "Comma-separated SCIM attributes to exclude from the response.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_population_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_population_id" + ], + "type": "object" }, - "filter": { - "description": "A SCIM filter expression.", - "type": "string" - }, - "start_index": { - "default": 1, - "description": "The 1-based index of the first result to return.", - "type": "integer" - }, - "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "query": { + "properties": { + "attributes": { + "description": "Comma-separated SCIM attributes to return.", + "type": "string" + }, + "count": { + "description": "The maximum number of results to return.", + "type": "integer" + }, + "excludedAttributes": { + "description": "Comma-separated SCIM attributes to exclude from the response.", + "type": "string" + }, + "filter": { + "description": "A SCIM filter expression.", + "type": "string" + }, + "startIndex": { + "default": 1, + "description": "The 1-based index of the first result to return.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "user_population_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -299,14 +341,14 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_scim_user_collection_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_collection_response": access_scim_user_collection_response_output, - "access_scim_user_list_response": access_scim_user_list_response_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_collection_response": access_scim_user_collection_response, + "access_scim_user_list_response": access_scim_user_list_response, }, }, annotations: { @@ -328,76 +370,84 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_collection_response": access_scim_user_collection_response_output, - "access_scim_user_list_response": access_scim_user_list_response_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_collection_response": access_scim_user_collection_response, + "access_scim_user_list_response": access_scim_user_list_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/user_populations/${pathParam(args, "user_population_id")}/users`, query: [ - ["filter", args["filter"], true], - ["startIndex", args["start_index"], true], - ["count", args["count"], true], - ["attributes", args["attributes"], true], - ["excludedAttributes", args["excluded_attributes"], true], + ["filter", param(args, "query", "filter"), true], + ["startIndex", param(args, "query", "startIndex"), true], + ["count", param(args, "query", "count"), true], + ["attributes", param(args, "query", "attributes"), true], + ["excludedAttributes", param(args, "query", "excludedAttributes"), true], ], }), }, { - name: "zero_trust_access_user_populations_users_replace", + name: "zeroTrust_access_userPopulations_users_replace", title: "Replace a user population user", description: "Replaces a SCIM user in a user population.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_scim_user" }, - "user_id": { - "description": "The SCIM user identifier.", - "type": "string" - }, - "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "description": "The SCIM user identifier.", + "type": "string" + }, + "user_population_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_population_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_population_id", - "user_id", + "path", "body" ], $defs: { "access_identifier": access_identifier, - "access_scim_email": access_scim_email, - "access_scim_meta": access_scim_meta, - "access_scim_name": access_scim_name, - "access_scim_user": access_scim_user, + "access_scim_email": access_scim_email$, + "access_scim_meta": access_scim_meta$, + "access_scim_name": access_scim_name$, + "access_scim_user": access_scim_user$, "access_uuid": access_uuid, }, }, outputSchema: { "$ref": "#/$defs/access_scim_user_single_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_single_response": access_scim_user_single_response_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_single_response": access_scim_user_single_response, }, }, annotations: { @@ -419,14 +469,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_single_response": access_scim_user_single_response_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_single_response": access_scim_user_single_response, }, }, request: (args) => ({ @@ -435,32 +485,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_user_populations_users_update", + name: "zeroTrust_access_userPopulations_users_update", title: "Update a user population user", description: "Updates a SCIM user in a user population.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_scim_patch_request" }, - "user_id": { - "description": "The SCIM user identifier.", - "type": "string" - }, - "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "description": "The SCIM user identifier.", + "type": "string" + }, + "user_population_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_population_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_population_id", - "user_id", + "path", "body" ], $defs: { @@ -472,13 +530,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_scim_user_single_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_single_response": access_scim_user_single_response_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_single_response": access_scim_user_single_response, }, }, annotations: { @@ -500,14 +558,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_scim_email": access_scim_email_output, - "access_scim_meta": access_scim_meta_output, - "access_scim_name": access_scim_name_output, - "access_scim_user": access_scim_user_output, - "access_scim_user_single_response": access_scim_user_single_response_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_scim_email": access_scim_email, + "access_scim_meta": access_scim_meta, + "access_scim_name": access_scim_name, + "access_scim_user": access_scim_user, + "access_scim_user_single_response": access_scim_user_single_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/outputs.ts index 551dafd72..2cb559458 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_active_session_response` in responses. */ -export const access_active_session_response_output: JsonSchema = { +export const access_active_session_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -37,7 +37,7 @@ export const access_active_session_response_output: JsonSchema = { /** * The schema of `access_active_sessions_response` in responses. */ -export const access_active_sessions_response_output: JsonSchema = { +export const access_active_sessions_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts index 08f44c70b..50ae601eb 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts @@ -3,54 +3,62 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; import { - access_device_posture_check_output, - access_device_posture_rule_2_output, - access_device_session_output, - access_geo_output, - access_identity_output, - access_string_key_map_device_session_output, + access_device_posture_check, + access_device_posture_rule$$2, + access_device_session, + access_geo, + access_identity, + access_string_key_map_device_session, } from "../outputs.js"; import { - access_active_session_response_output, - access_active_sessions_response_output, + access_active_session_response, + access_active_sessions_response, } from "./outputs.js"; import { access_nonce } from "./schemas.js"; /** - * The tools of `zero_trust.access.users.active_sessions`. + * The tools of `zeroTrust.access.users.activeSessions`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_users_active_sessions_get", + name: "zeroTrust_access_users_activeSessions_get", title: "Get single active session", description: "Get an active session for a single user.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "nonce": { - "$ref": "#/$defs/access_nonce" - }, - "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "nonce": { + "$ref": "#/$defs/access_nonce" + }, + "user_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_id", + "nonce" + ], + "type": "object" } }, required: [ - "account_id", - "user_id", - "nonce" + "path" ], $defs: { "access_identifier": access_identifier, @@ -61,15 +69,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_active_session_response", $defs: { - "access_active_session_response": access_active_session_response_output, - "access_api-response-single": access_api_response_single_output, - "access_device_posture_check": access_device_posture_check_output, - "access_device_posture_rule-2": access_device_posture_rule_2_output, - "access_device_session": access_device_session_output, - "access_geo": access_geo_output, - "access_identity": access_identity_output, - "access_messages": access_messages_output, - "access_string_key_map_device_session": access_string_key_map_device_session_output, + "access_active_session_response": access_active_session_response, + "access_api-response-single": access_api$$response$$single, + "access_device_posture_check": access_device_posture_check, + "access_device_posture_rule-2": access_device_posture_rule$$2, + "access_device_session": access_device_session, + "access_geo": access_geo, + "access_identity": access_identity, + "access_messages": access_messages, + "access_string_key_map_device_session": access_string_key_map_device_session, }, }, annotations: { @@ -96,16 +104,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_active_session_response": access_active_session_response_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_device_posture_check": access_device_posture_check_output, - "access_device_posture_rule-2": access_device_posture_rule_2_output, - "access_device_session": access_device_session_output, - "access_geo": access_geo_output, - "access_identity": access_identity_output, - "access_messages": access_messages_output, - "access_string_key_map_device_session": access_string_key_map_device_session_output, + "access_active_session_response": access_active_session_response, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_device_posture_check": access_device_posture_check, + "access_device_posture_rule-2": access_device_posture_rule$$2, + "access_device_session": access_device_session, + "access_geo": access_geo, + "access_identity": access_identity, + "access_messages": access_messages, + "access_string_key_map_device_session": access_string_key_map_device_session, }, }, request: (args) => ({ @@ -113,24 +121,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_users_active_sessions_list", + name: "zeroTrust_access_users_activeSessions_list", title: "Get active sessions", description: "Get active sessions for a single user.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -140,10 +156,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_active_sessions_response", $defs: { - "access_active_sessions_response": access_active_sessions_response_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_messages": access_messages_output, + "access_active_sessions_response": access_active_sessions_response, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_messages": access_messages, }, }, annotations: { @@ -170,11 +186,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_active_sessions_response": access_active_sessions_response_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_messages": access_messages_output, + "access_active_sessions_response": access_active_sessions_response, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_messages": access_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/outputs.ts index 7003d2df7..876a115f8 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_failed_login_response` in responses. */ -export const access_failed_login_response_output: JsonSchema = { +export const access_failed_login_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts index 4d9d30bd7..c5a800825 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts @@ -3,37 +3,45 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_messages_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_messages, } from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; -import { access_failed_login_response_output } from "./outputs.js"; +import { access_failed_login_response } from "./outputs.js"; /** - * The tools of `zero_trust.access.users.failed_logins`. + * The tools of `zeroTrust.access.users.failedLogins`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_users_failed_logins_list", + name: "zeroTrust_access_users_failedLogins_list", title: "Get failed logins", description: "Get all failed login attempts for a single user.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -43,10 +51,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_failed_login_response", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_failed_login_response": access_failed_login_response_output, - "access_messages": access_messages_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_failed_login_response": access_failed_login_response, + "access_messages": access_messages, }, }, annotations: { @@ -73,11 +81,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_failed_login_response": access_failed_login_response_output, - "access_messages": access_messages_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_failed_login_response": access_failed_login_response, + "access_messages": access_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/outputs.ts index e3d22f3d9..2e7cabec2 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_last_seen_identity_response` in responses. */ -export const access_last_seen_identity_response_output: JsonSchema = { +export const access_last_seen_identity_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts index bc0f16d7c..be844ff3d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts @@ -3,44 +3,52 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; import { - access_device_posture_check_output, - access_device_posture_rule_2_output, - access_device_session_output, - access_geo_output, - access_identity_output, - access_string_key_map_device_session_output, + access_device_posture_check, + access_device_posture_rule$$2, + access_device_session, + access_geo, + access_identity, + access_string_key_map_device_session, } from "../outputs.js"; -import { access_last_seen_identity_response_output } from "./outputs.js"; +import { access_last_seen_identity_response } from "./outputs.js"; /** - * The tools of `zero_trust.access.users.last_seen_identity`. + * The tools of `zeroTrust.access.users.lastSeenIdentity`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_users_last_seen_identity_get", + name: "zeroTrust_access_users_lastSeenIdentity_get", title: "Get last seen identity", description: "Get last seen identity for a single user.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -50,15 +58,15 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_last_seen_identity_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_device_posture_check": access_device_posture_check_output, - "access_device_posture_rule-2": access_device_posture_rule_2_output, - "access_device_session": access_device_session_output, - "access_geo": access_geo_output, - "access_identity": access_identity_output, - "access_last_seen_identity_response": access_last_seen_identity_response_output, - "access_messages": access_messages_output, - "access_string_key_map_device_session": access_string_key_map_device_session_output, + "access_api-response-single": access_api$$response$$single, + "access_device_posture_check": access_device_posture_check, + "access_device_posture_rule-2": access_device_posture_rule$$2, + "access_device_session": access_device_session, + "access_geo": access_geo, + "access_identity": access_identity, + "access_last_seen_identity_response": access_last_seen_identity_response, + "access_messages": access_messages, + "access_string_key_map_device_session": access_string_key_map_device_session, }, }, annotations: { @@ -85,16 +93,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_device_posture_check": access_device_posture_check_output, - "access_device_posture_rule-2": access_device_posture_rule_2_output, - "access_device_session": access_device_session_output, - "access_geo": access_geo_output, - "access_identity": access_identity_output, - "access_last_seen_identity_response": access_last_seen_identity_response_output, - "access_messages": access_messages_output, - "access_string_key_map_device_session": access_string_key_map_device_session_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_device_posture_check": access_device_posture_check, + "access_device_posture_rule-2": access_device_posture_rule$$2, + "access_device_session": access_device_session, + "access_geo": access_geo, + "access_identity": access_identity, + "access_last_seen_identity_response": access_last_seen_identity_response, + "access_messages": access_messages, + "access_string_key_map_device_session": access_string_key_map_device_session, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts index 743446f62..5dbf6c5ae 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_access_seat-2` in responses. */ -export const access_access_seat_2_output: JsonSchema = { +export const access_access_seat$$2: JsonSchema = { "type": "boolean" }; /** * The schema of `access_active_device_count` in responses. */ -export const access_active_device_count_output: JsonSchema = { +export const access_active_device_count: JsonSchema = { "type": "number" }; /** * The schema of `access_delete_user_response` in responses. */ -export const access_delete_user_response_output: JsonSchema = { +export const access_delete_user_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -46,7 +46,7 @@ export const access_delete_user_response_output: JsonSchema = { /** * The schema of `access_device_posture_check` in responses. */ -export const access_device_posture_check_output: JsonSchema = { +export const access_device_posture_check: JsonSchema = { "properties": { "exists": { "type": "boolean" @@ -61,7 +61,7 @@ export const access_device_posture_check_output: JsonSchema = { /** * The schema of `access_device_posture_rule-2` in responses. */ -export const access_device_posture_rule_2_output: JsonSchema = { +export const access_device_posture_rule$$2: JsonSchema = { "properties": { "check": { "$ref": "#/$defs/access_device_posture_check" @@ -97,7 +97,7 @@ export const access_device_posture_rule_2_output: JsonSchema = { /** * The schema of `access_device_session` in responses. */ -export const access_device_session_output: JsonSchema = { +export const access_device_session: JsonSchema = { "properties": { "last_authenticated": { "type": "number" @@ -109,7 +109,7 @@ export const access_device_session_output: JsonSchema = { /** * The schema of `access_empty_response` in responses. */ -export const access_empty_response_output: JsonSchema = { +export const access_empty_response: JsonSchema = { "properties": { "result": { "enum": [ @@ -132,14 +132,14 @@ export const access_empty_response_output: JsonSchema = { /** * The schema of `access_gateway_seat-2` in responses. */ -export const access_gateway_seat_2_output: JsonSchema = { +export const access_gateway_seat$$2: JsonSchema = { "type": "boolean" }; /** * The schema of `access_geo` in responses. */ -export const access_geo_output: JsonSchema = { +export const access_geo: JsonSchema = { "properties": { "country": { "type": "string" @@ -151,7 +151,7 @@ export const access_geo_output: JsonSchema = { /** * The schema of `access_identity` in responses. */ -export const access_identity_output: JsonSchema = { +export const access_identity: JsonSchema = { "properties": { "account_id": { "type": "string" @@ -242,7 +242,7 @@ export const access_identity_output: JsonSchema = { /** * The schema of `access_last_successful_login` in responses. */ -export const access_last_successful_login_output: JsonSchema = { +export const access_last_successful_login: JsonSchema = { "format": "date-time", "type": "string" }; @@ -250,7 +250,7 @@ export const access_last_successful_login_output: JsonSchema = { /** * The schema of `access_response_collection-25` in responses. */ -export const access_response_collection_25_output: JsonSchema = { +export const access_response_collection$$25: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -294,14 +294,14 @@ export const access_response_collection_25_output: JsonSchema = { /** * The schema of `access_seat_uid-2` in responses. */ -export const access_seat_uid_2_output: JsonSchema = { +export const access_seat_uid$$2: JsonSchema = { "type": "string" }; /** * The schema of `access_single_user_response` in responses. */ -export const access_single_user_response_output: JsonSchema = { +export const access_single_user_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -320,7 +320,7 @@ export const access_single_user_response_output: JsonSchema = { /** * The schema of `access_string_key_map_device_session` in responses. */ -export const access_string_key_map_device_session_output: JsonSchema = { +export const access_string_key_map_device_session: JsonSchema = { "additionalProperties": { "$ref": "#/$defs/access_device_session" }, @@ -330,14 +330,14 @@ export const access_string_key_map_device_session_output: JsonSchema = { /** * The schema of `access_uid` in responses. */ -export const access_uid_output: JsonSchema = { +export const access_uid: JsonSchema = { "type": "string" }; /** * The schema of `access_users-2` in responses. */ -export const access_users_2_output: JsonSchema = { +export const access_users$$2: JsonSchema = { "properties": { "access_seat": { "$ref": "#/$defs/access_access_seat-2" diff --git a/src/generated/forge-mcp/zeroTrust/access/users/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/tools.ts index 063e5b7b8..6657a2974 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/tools.ts @@ -1,48 +1,50 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_messages_output, - access_timestamp_output, - access_uuid_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, + access_timestamp, + access_uuid, } from "../../outputs.js"; -import { access_identifier, access_uuid } from "../../schemas.js"; -import { access_email_2_output, access_name_10_output } from "../outputs.js"; -import { access_email_2, access_name_10 } from "../schemas.js"; import { - access_access_seat_2_output, - access_active_device_count_output, - access_delete_user_response_output, - access_empty_response_output, - access_gateway_seat_2_output, - access_last_successful_login_output, - access_response_collection_25_output, - access_seat_uid_2_output, - access_single_user_response_output, - access_uid_output, - access_users_2_output, + access_identifier, + access_uuid as access_uuid$, +} from "../../schemas.js"; +import { access_email$$2, access_name$$10 } from "../outputs.js"; +import { + access_email$$2 as access_email$$2$, + access_name$$10 as access_name$$10$, +} from "../schemas.js"; +import { + access_access_seat$$2, + access_active_device_count, + access_delete_user_response, + access_empty_response, + access_gateway_seat$$2, + access_last_successful_login, + access_response_collection$$25, + access_seat_uid$$2, + access_single_user_response, + access_uid, + access_users$$2, } from "./outputs.js"; /** - * The tools of `zero_trust.access.users`. + * The tools of `zeroTrust.access.users`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_access_users_create", + name: "zeroTrust_access_users_create", title: "Create a user", description: "Creates a new user.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "properties": { "email": { @@ -58,35 +60,47 @@ export const tools: readonly Tool[] = [ "email" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "access_email-2": access_email_2, + "access_email-2": access_email$$2$, "access_identifier": access_identifier, - "access_name-10": access_name_10, + "access_name-10": access_name$$10$, }, }, outputSchema: { "$ref": "#/$defs/access_single_user_response", $defs: { - "access_access_seat-2": access_access_seat_2_output, - "access_active_device_count": access_active_device_count_output, - "access_api-response-single": access_api_response_single_output, - "access_email-2": access_email_2_output, - "access_gateway_seat-2": access_gateway_seat_2_output, - "access_last_successful_login": access_last_successful_login_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_seat_uid-2": access_seat_uid_2_output, - "access_single_user_response": access_single_user_response_output, - "access_timestamp": access_timestamp_output, - "access_uid": access_uid_output, - "access_users-2": access_users_2_output, - "access_uuid": access_uuid_output, + "access_access_seat-2": access_access_seat$$2, + "access_active_device_count": access_active_device_count, + "access_api-response-single": access_api$$response$$single, + "access_email-2": access_email$$2, + "access_gateway_seat-2": access_gateway_seat$$2, + "access_last_successful_login": access_last_successful_login, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_seat_uid-2": access_seat_uid$$2, + "access_single_user_response": access_single_user_response, + "access_timestamp": access_timestamp, + "access_uid": access_uid, + "access_users-2": access_users$$2, + "access_uuid": access_uuid, }, }, annotations: { @@ -111,21 +125,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat-2": access_access_seat_2_output, - "access_active_device_count": access_active_device_count_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_email-2": access_email_2_output, - "access_gateway_seat-2": access_gateway_seat_2_output, - "access_last_successful_login": access_last_successful_login_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_seat_uid-2": access_seat_uid_2_output, - "access_single_user_response": access_single_user_response_output, - "access_timestamp": access_timestamp_output, - "access_uid": access_uid_output, - "access_users-2": access_users_2_output, - "access_uuid": access_uuid_output, + "access_access_seat-2": access_access_seat$$2, + "access_active_device_count": access_active_device_count, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_email-2": access_email$$2, + "access_gateway_seat-2": access_gateway_seat$$2, + "access_last_successful_login": access_last_successful_login, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_seat_uid-2": access_seat_uid$$2, + "access_single_user_response": access_single_user_response, + "access_timestamp": access_timestamp, + "access_uid": access_uid, + "access_users-2": access_users$$2, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -134,36 +148,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_users_delete", + name: "zeroTrust_access_users_delete", title: "Delete a user", description: "Deletes a specific user for an account. This will also revoke any active seats and tokens for the user.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_delete_user_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_delete_user_response": access_delete_user_response_output, - "access_messages": access_messages_output, + "access_api-response-single": access_api$$response$$single, + "access_delete_user_response": access_delete_user_response, + "access_messages": access_messages, }, }, annotations: { @@ -188,10 +210,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_delete_user_response": access_delete_user_response_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_delete_user_response": access_delete_user_response, + "access_messages": access_messages, }, }, request: (args) => ({ @@ -199,47 +221,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_users_get", + name: "zeroTrust_access_users_get", title: "Get a user", description: "Gets a specific user for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_user_response", $defs: { - "access_access_seat-2": access_access_seat_2_output, - "access_active_device_count": access_active_device_count_output, - "access_api-response-single": access_api_response_single_output, - "access_email-2": access_email_2_output, - "access_gateway_seat-2": access_gateway_seat_2_output, - "access_last_successful_login": access_last_successful_login_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_seat_uid-2": access_seat_uid_2_output, - "access_single_user_response": access_single_user_response_output, - "access_timestamp": access_timestamp_output, - "access_uid": access_uid_output, - "access_users-2": access_users_2_output, - "access_uuid": access_uuid_output, + "access_access_seat-2": access_access_seat$$2, + "access_active_device_count": access_active_device_count, + "access_api-response-single": access_api$$response$$single, + "access_email-2": access_email$$2, + "access_gateway_seat-2": access_gateway_seat$$2, + "access_last_successful_login": access_last_successful_login, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_seat_uid-2": access_seat_uid$$2, + "access_single_user_response": access_single_user_response, + "access_timestamp": access_timestamp, + "access_uid": access_uid, + "access_users-2": access_users$$2, + "access_uuid": access_uuid, }, }, annotations: { @@ -266,21 +296,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat-2": access_access_seat_2_output, - "access_active_device_count": access_active_device_count_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_email-2": access_email_2_output, - "access_gateway_seat-2": access_gateway_seat_2_output, - "access_last_successful_login": access_last_successful_login_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_seat_uid-2": access_seat_uid_2_output, - "access_single_user_response": access_single_user_response_output, - "access_timestamp": access_timestamp_output, - "access_uid": access_uid_output, - "access_users-2": access_users_2_output, - "access_uuid": access_uuid_output, + "access_access_seat-2": access_access_seat$$2, + "access_active_device_count": access_active_device_count, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_email-2": access_email$$2, + "access_gateway_seat-2": access_gateway_seat$$2, + "access_last_successful_login": access_last_successful_login, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_seat_uid-2": access_seat_uid$$2, + "access_single_user_response": access_single_user_response, + "access_timestamp": access_timestamp, + "access_uid": access_uid, + "access_users-2": access_users$$2, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -288,41 +318,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_access_users_list", + name: "zeroTrust_access_users_list", title: "Get users", description: "Gets a list of users for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "email": { - "description": "The email of the user.", - "type": "string" - }, - "name": { - "description": "The name of the user.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 1000, - "description": "Number of results per page.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "description": "Search for users by other listed query parameters.", - "type": "string" + "query": { + "properties": { + "email": { + "description": "The email of the user.", + "type": "string" + }, + "name": { + "description": "The name of the user.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 1000, + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Search for users by other listed query parameters.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -331,21 +374,21 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection-25", $defs: { - "access_access_seat-2": access_access_seat_2_output, - "access_active_device_count": access_active_device_count_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_email-2": access_email_2_output, - "access_gateway_seat-2": access_gateway_seat_2_output, - "access_last_successful_login": access_last_successful_login_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_response_collection-25": access_response_collection_25_output, - "access_seat_uid-2": access_seat_uid_2_output, - "access_timestamp": access_timestamp_output, - "access_uid": access_uid_output, - "access_users-2": access_users_2_output, - "access_uuid": access_uuid_output, + "access_access_seat-2": access_access_seat$$2, + "access_active_device_count": access_active_device_count, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_email-2": access_email$$2, + "access_gateway_seat-2": access_gateway_seat$$2, + "access_last_successful_login": access_last_successful_login, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_response_collection-25": access_response_collection$$25, + "access_seat_uid-2": access_seat_uid$$2, + "access_timestamp": access_timestamp, + "access_uid": access_uid, + "access_users-2": access_users$$2, + "access_uuid": access_uuid, }, }, annotations: { @@ -372,54 +415,42 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat-2": access_access_seat_2_output, - "access_active_device_count": access_active_device_count_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_email-2": access_email_2_output, - "access_gateway_seat-2": access_gateway_seat_2_output, - "access_last_successful_login": access_last_successful_login_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_response_collection-25": access_response_collection_25_output, - "access_seat_uid-2": access_seat_uid_2_output, - "access_timestamp": access_timestamp_output, - "access_uid": access_uid_output, - "access_users-2": access_users_2_output, - "access_uuid": access_uuid_output, + "access_access_seat-2": access_access_seat$$2, + "access_active_device_count": access_active_device_count, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_email-2": access_email$$2, + "access_gateway_seat-2": access_gateway_seat$$2, + "access_last_successful_login": access_last_successful_login, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_response_collection-25": access_response_collection$$25, + "access_seat_uid-2": access_seat_uid$$2, + "access_timestamp": access_timestamp, + "access_uid": access_uid, + "access_users-2": access_users$$2, + "access_uuid": access_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/users`, query: [ - ["name", args["name"], true], - ["email", args["email"], true], - ["search", args["search"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["name", param(args, "query", "name"), true], + ["email", param(args, "query", "email"), true], + ["search", param(args, "query", "search"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_access_users_revoke", + name: "zeroTrust_access_users_revoke", title: "Revoke all Access tokens for a user", description: "Revokes a user's access across all applications.\n\nConfirm with the user before calling this tool. This operation revokes all access tokens for a user destructively.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "devices": { @@ -444,14 +475,39 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "devices": { - "description": "When set to `true`, all devices associated with the user will be revoked.", - "type": "boolean" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" + }, + "query": { + "properties": { + "devices": { + "description": "When set to `true`, all devices associated with the user will be revoked.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { @@ -461,7 +517,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_empty_response", $defs: { - "access_empty_response": access_empty_response_output, + "access_empty_response": access_empty_response, }, }, annotations: { @@ -488,30 +544,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_empty_response": access_empty_response_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_empty_response": access_empty_response, + "access_messages": access_messages, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/organizations/revoke_user`, query: [ - ["devices", args["devices"], true], + ["devices", param(args, "query", "devices"), true], ], body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "zero_trust_access_users_update", + name: "zeroTrust_access_users_update", title: "Update a user", description: "Updates a specific user's name for an account. Requires the user's current email as confirmation (email cannot be changed).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "properties": { "email": { @@ -529,40 +581,52 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "user_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id", + "path", "body" ], $defs: { - "access_email-2": access_email_2, + "access_email-2": access_email$$2$, "access_identifier": access_identifier, - "access_name-10": access_name_10, - "access_uuid": access_uuid, + "access_name-10": access_name$$10$, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_user_response", $defs: { - "access_access_seat-2": access_access_seat_2_output, - "access_active_device_count": access_active_device_count_output, - "access_api-response-single": access_api_response_single_output, - "access_email-2": access_email_2_output, - "access_gateway_seat-2": access_gateway_seat_2_output, - "access_last_successful_login": access_last_successful_login_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_seat_uid-2": access_seat_uid_2_output, - "access_single_user_response": access_single_user_response_output, - "access_timestamp": access_timestamp_output, - "access_uid": access_uid_output, - "access_users-2": access_users_2_output, - "access_uuid": access_uuid_output, + "access_access_seat-2": access_access_seat$$2, + "access_active_device_count": access_active_device_count, + "access_api-response-single": access_api$$response$$single, + "access_email-2": access_email$$2, + "access_gateway_seat-2": access_gateway_seat$$2, + "access_last_successful_login": access_last_successful_login, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_seat_uid-2": access_seat_uid$$2, + "access_single_user_response": access_single_user_response, + "access_timestamp": access_timestamp, + "access_uid": access_uid, + "access_users-2": access_users$$2, + "access_uuid": access_uuid, }, }, annotations: { @@ -589,21 +653,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat-2": access_access_seat_2_output, - "access_active_device_count": access_active_device_count_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_email-2": access_email_2_output, - "access_gateway_seat-2": access_gateway_seat_2_output, - "access_last_successful_login": access_last_successful_login_output, - "access_messages": access_messages_output, - "access_name-10": access_name_10_output, - "access_seat_uid-2": access_seat_uid_2_output, - "access_single_user_response": access_single_user_response_output, - "access_timestamp": access_timestamp_output, - "access_uid": access_uid_output, - "access_users-2": access_users_2_output, - "access_uuid": access_uuid_output, + "access_access_seat-2": access_access_seat$$2, + "access_active_device_count": access_active_device_count, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_email-2": access_email$$2, + "access_gateway_seat-2": access_gateway_seat$$2, + "access_last_successful_login": access_last_successful_login, + "access_messages": access_messages, + "access_name-10": access_name$$10, + "access_seat_uid-2": access_seat_uid$$2, + "access_single_user_response": access_single_user_response, + "access_timestamp": access_timestamp, + "access_uid": access_uid, + "access_users-2": access_users$$2, + "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/outputs.ts index 66a8b0b3a..ce109ef13 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `one_AuthMethodDetail` in responses. */ -export const one_AuthMethodDetail_output: JsonSchema = { +export const one_AuthMethodDetail: JsonSchema = { "properties": { "display_name": { "type": "string" @@ -66,7 +66,7 @@ export const one_AuthMethodDetail_output: JsonSchema = { /** * The schema of `one_Instructions` in responses. */ -export const one_Instructions_output: JsonSchema = { +export const one_Instructions: JsonSchema = { "properties": { "markdown": { "type": "string" @@ -81,7 +81,7 @@ export const one_Instructions_output: JsonSchema = { /** * The schema of `one_PaginatedAuthMethodDetailList` in responses. */ -export const one_PaginatedAuthMethodDetailList_output: JsonSchema = { +export const one_PaginatedAuthMethodDetailList: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts index 0534d0bcc..508d59037 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts @@ -1,70 +1,83 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - one_AuthMethodDetail_output, - one_Instructions_output, - one_PaginatedAuthMethodDetailList_output, + one_AuthMethodDetail, + one_Instructions, + one_PaginatedAuthMethodDetailList, } from "./outputs.js"; /** - * The tools of `zero_trust.casb.applications.auth_methods`. + * The tools of `zeroTrust.casb.applications.authMethods`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_applications_auth_methods_list", + name: "zeroTrust_casb_applications_authMethods_list", title: "Get auth methods", description: "Returns available auth methods for the specified vendor, including credential schema, instructions, and example payloads. Use this to understand what credentials are required before calling POST /v2/integrations.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, - "application_id": { - "description": "Application/vendor identifier.", - "enum": [ - "ANTHROPIC", - "AWS", - "BITBUCKET", - "BOX", - "CONFLUENCE", - "DROPBOX", - "GITHUB", - "GOOGLE_CLOUD_PLATFORM", - "GOOGLE_WORKSPACE", - "JIRA", - "MICROSOFT_INTERNAL", - "OPENAI", - "SALESFORCE", - "SERVICENOW", - "SLACK", - "ZOOM" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "application_id": { + "description": "Application/vendor identifier.", + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT_INTERNAL", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "application_id" ], - "type": "string" - }, - "page": { - "description": "A page number within the paginated result set.", - "type": "integer" + "type": "object" }, - "page_size": { - "description": "Number of results to return per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "description": "A page number within the paginated result set.", + "type": "integer" + }, + "page_size": { + "description": "Number of results to return per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "application_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/one_PaginatedAuthMethodDetailList", $defs: { - "one_AuthMethodDetail": one_AuthMethodDetail_output, - "one_Instructions": one_Instructions_output, - "one_PaginatedAuthMethodDetailList": one_PaginatedAuthMethodDetailList_output, + "one_AuthMethodDetail": one_AuthMethodDetail, + "one_Instructions": one_Instructions, + "one_PaginatedAuthMethodDetailList": one_PaginatedAuthMethodDetailList, }, }, annotations: { @@ -87,16 +100,16 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "one_AuthMethodDetail": one_AuthMethodDetail_output, - "one_Instructions": one_Instructions_output, - "one_PaginatedAuthMethodDetailList": one_PaginatedAuthMethodDetailList_output, + "one_AuthMethodDetail": one_AuthMethodDetail, + "one_Instructions": one_Instructions, + "one_PaginatedAuthMethodDetailList": one_PaginatedAuthMethodDetailList, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/applications/${pathParam(args, "application_id")}/auth-methods`, query: [ - ["page", args["page"], true], - ["page_size", args["page_size"], true], + ["page", param(args, "query", "page"), true], + ["page_size", param(args, "query", "page_size"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/outputs.ts index 3e788b413..368fd2f57 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/applications/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `one_ApplicationDetail` in responses. */ -export const one_ApplicationDetail_output: JsonSchema = { +export const one_ApplicationDetail: JsonSchema = { "properties": { "auth_methods": { "items": { @@ -91,7 +91,7 @@ export const one_ApplicationDetail_output: JsonSchema = { /** * The schema of `one_ApplicationDetailResponse` in responses. */ -export const one_ApplicationDetailResponse_output: JsonSchema = { +export const one_ApplicationDetailResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -122,7 +122,7 @@ export const one_ApplicationDetailResponse_output: JsonSchema = { /** * The schema of `one_ApplicationList` in responses. */ -export const one_ApplicationList_output: JsonSchema = { +export const one_ApplicationList: JsonSchema = { "properties": { "auth_methods": { "items": { @@ -210,7 +210,7 @@ export const one_ApplicationList_output: JsonSchema = { /** * The schema of `one_AuthMethod` in responses. */ -export const one_AuthMethod_output: JsonSchema = { +export const one_AuthMethod: JsonSchema = { "properties": { "display_name": { "type": "string" @@ -240,7 +240,7 @@ export const one_AuthMethod_output: JsonSchema = { /** * The schema of `one_AuthMethodSummary` in responses. */ -export const one_AuthMethodSummary_output: JsonSchema = { +export const one_AuthMethodSummary: JsonSchema = { "properties": { "display_name": { "type": "string" @@ -259,7 +259,7 @@ export const one_AuthMethodSummary_output: JsonSchema = { /** * The schema of `one_FeatureScope` in responses. */ -export const one_FeatureScope_output: JsonSchema = { +export const one_FeatureScope: JsonSchema = { "properties": { "description": { "type": "string" @@ -289,7 +289,7 @@ export const one_FeatureScope_output: JsonSchema = { /** * The schema of `one_PaginatedApplicationListList` in responses. */ -export const one_PaginatedApplicationListList_output: JsonSchema = { +export const one_PaginatedApplicationListList: JsonSchema = { "properties": { "errors": { "items": { @@ -363,7 +363,7 @@ export const one_PaginatedApplicationListList_output: JsonSchema = { /** * The schema of `one_Permission` in responses. */ -export const one_Permission_output: JsonSchema = { +export const one_Permission: JsonSchema = { "properties": { "display_name": { "type": "string" @@ -392,7 +392,7 @@ export const one_Permission_output: JsonSchema = { /** * The schema of `one_UseCaseDetail` in responses. */ -export const one_UseCaseDetail_output: JsonSchema = { +export const one_UseCaseDetail: JsonSchema = { "properties": { "base_scopes": { "items": { @@ -429,7 +429,7 @@ export const one_UseCaseDetail_output: JsonSchema = { /** * The schema of `one_UseCaseSummary` in responses. */ -export const one_UseCaseSummary_output: JsonSchema = { +export const one_UseCaseSummary: JsonSchema = { "properties": { "display_name": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts index 7d9a58675..8c0b3e40e 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts @@ -1,72 +1,80 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - one_ApplicationDetailResponse_output, - one_ApplicationDetail_output, - one_ApplicationList_output, - one_AuthMethodSummary_output, - one_AuthMethod_output, - one_FeatureScope_output, - one_PaginatedApplicationListList_output, - one_Permission_output, - one_UseCaseDetail_output, - one_UseCaseSummary_output, + one_ApplicationDetail, + one_ApplicationDetailResponse, + one_ApplicationList, + one_AuthMethod, + one_AuthMethodSummary, + one_FeatureScope, + one_PaginatedApplicationListList, + one_Permission, + one_UseCaseDetail, + one_UseCaseSummary, } from "./outputs.js"; /** - * The tools of `zero_trust.casb.applications`. + * The tools of `zeroTrust.casb.applications`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_applications_get", + name: "zeroTrust_casb_applications_get", title: "Get application details", description: "Returns full application details including auth methods, use cases, and permissions.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, - "application_id": { - "description": "Application/vendor identifier.", - "enum": [ - "ANTHROPIC", - "AWS", - "BITBUCKET", - "BOX", - "CONFLUENCE", - "DROPBOX", - "GITHUB", - "GOOGLE_CLOUD_PLATFORM", - "GOOGLE_WORKSPACE", - "JIRA", - "MICROSOFT_INTERNAL", - "OPENAI", - "SALESFORCE", - "SERVICENOW", - "SLACK", - "ZOOM" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "application_id": { + "description": "Application/vendor identifier.", + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT_INTERNAL", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" + } + }, + "required": [ + "account_id", + "application_id" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "application_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/one_ApplicationDetailResponse", $defs: { - "one_ApplicationDetail": one_ApplicationDetail_output, - "one_ApplicationDetailResponse": one_ApplicationDetailResponse_output, - "one_AuthMethod": one_AuthMethod_output, - "one_FeatureScope": one_FeatureScope_output, - "one_Permission": one_Permission_output, - "one_UseCaseDetail": one_UseCaseDetail_output, + "one_ApplicationDetail": one_ApplicationDetail, + "one_ApplicationDetailResponse": one_ApplicationDetailResponse, + "one_AuthMethod": one_AuthMethod, + "one_FeatureScope": one_FeatureScope, + "one_Permission": one_Permission, + "one_UseCaseDetail": one_UseCaseDetail, }, }, annotations: { @@ -89,12 +97,12 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "one_ApplicationDetail": one_ApplicationDetail_output, - "one_ApplicationDetailResponse": one_ApplicationDetailResponse_output, - "one_AuthMethod": one_AuthMethod_output, - "one_FeatureScope": one_FeatureScope_output, - "one_Permission": one_Permission_output, - "one_UseCaseDetail": one_UseCaseDetail_output, + "one_ApplicationDetail": one_ApplicationDetail, + "one_ApplicationDetailResponse": one_ApplicationDetailResponse, + "one_AuthMethod": one_AuthMethod, + "one_FeatureScope": one_FeatureScope, + "one_Permission": one_Permission, + "one_UseCaseDetail": one_UseCaseDetail, }, }, request: (args) => ({ @@ -102,41 +110,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_applications_list", + name: "zeroTrust_casb_applications_list", title: "List applications", description: "Returns a list of available applications with use cases and permissions.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, - "environment": { - "description": "Filter by supported environment (standard, fedramp).", - "type": "string" - }, - "page": { - "description": "A page number within the paginated result set.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "page_size": { - "description": "Number of results to return per page.", - "type": "integer" + "query": { + "properties": { + "environment": { + "description": "Filter by supported environment (standard, fedramp).", + "type": "string" + }, + "page": { + "description": "A page number within the paginated result set.", + "type": "integer" + }, + "page_size": { + "description": "Number of results to return per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/one_PaginatedApplicationListList", $defs: { - "one_ApplicationList": one_ApplicationList_output, - "one_AuthMethodSummary": one_AuthMethodSummary_output, - "one_PaginatedApplicationListList": one_PaginatedApplicationListList_output, - "one_Permission": one_Permission_output, - "one_UseCaseSummary": one_UseCaseSummary_output, + "one_ApplicationList": one_ApplicationList, + "one_AuthMethodSummary": one_AuthMethodSummary, + "one_PaginatedApplicationListList": one_PaginatedApplicationListList, + "one_Permission": one_Permission, + "one_UseCaseSummary": one_UseCaseSummary, }, }, annotations: { @@ -159,19 +180,19 @@ export const tools: readonly Tool[] = [ "400": null }, $defs: { - "one_ApplicationList": one_ApplicationList_output, - "one_AuthMethodSummary": one_AuthMethodSummary_output, - "one_PaginatedApplicationListList": one_PaginatedApplicationListList_output, - "one_Permission": one_Permission_output, - "one_UseCaseSummary": one_UseCaseSummary_output, + "one_ApplicationList": one_ApplicationList, + "one_AuthMethodSummary": one_AuthMethodSummary, + "one_PaginatedApplicationListList": one_PaginatedApplicationListList, + "one_Permission": one_Permission, + "one_UseCaseSummary": one_UseCaseSummary, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/applications`, query: [ - ["environment", args["environment"], true], - ["page", args["page"], true], - ["page_size", args["page_size"], true], + ["environment", param(args, "query", "environment"), true], + ["page", param(args, "query", "page"), true], + ["page_size", param(args, "query", "page_size"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/outputs.ts index 042333933..f4713ec65 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_AssetSchemaDetail` in responses. */ -export const posture_api_AssetSchemaDetail_output: JsonSchema = { +export const posture$$api_AssetSchemaDetail: JsonSchema = { "properties": { "asset_class": { "type": "string" @@ -25,7 +25,7 @@ export const posture_api_AssetSchemaDetail_output: JsonSchema = { /** * The schema of `posture-api_AssetSchemaListResponse` in responses. */ -export const posture_api_AssetSchemaListResponse_output: JsonSchema = { +export const posture$$api_AssetSchemaListResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -47,7 +47,7 @@ export const posture_api_AssetSchemaListResponse_output: JsonSchema = { /** * The schema of `posture-api_AssetSchemaResponse` in responses. */ -export const posture_api_AssetSchemaResponse_output: JsonSchema = { +export const posture$$api_AssetSchemaResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -66,7 +66,7 @@ export const posture_api_AssetSchemaResponse_output: JsonSchema = { /** * The schema of `posture-api_AssetSchemaSummary` in responses. */ -export const posture_api_AssetSchemaSummary_output: JsonSchema = { +export const posture$$api_AssetSchemaSummary: JsonSchema = { "properties": { "asset_class": { "type": "string" @@ -81,7 +81,7 @@ export const posture_api_AssetSchemaSummary_output: JsonSchema = { /** * The schema of `posture-api_AssetSchemaVendorGroup` in responses. */ -export const posture_api_AssetSchemaVendorGroup_output: JsonSchema = { +export const posture$$api_AssetSchemaVendorGroup: JsonSchema = { "properties": { "asset_classes": { "items": { diff --git a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts index c32e920a3..b2472f66d 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts @@ -1,52 +1,60 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - posture_api_api_response_common_output, - posture_api_error_response_output, - posture_api_messages_output, + posture$$api_api$$response$$common, + posture$$api_error$$response, + posture$$api_messages, } from "../outputs.js"; import { - posture_api_AssetSchemaDetail_output, - posture_api_AssetSchemaListResponse_output, - posture_api_AssetSchemaResponse_output, - posture_api_AssetSchemaSummary_output, - posture_api_AssetSchemaVendorGroup_output, + posture$$api_AssetSchemaDetail, + posture$$api_AssetSchemaListResponse, + posture$$api_AssetSchemaResponse, + posture$$api_AssetSchemaSummary, + posture$$api_AssetSchemaVendorGroup, } from "./outputs.js"; /** - * The tools of `zero_trust.casb.asset_schemas`. + * The tools of `zeroTrust.casb.assetSchemas`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_asset_schemas_get", + name: "zeroTrust_casb_assetSchemas_get", title: "Get asset schema by asset class", description: "Returns the fields and related attributes a custom finding type may reference\nfor the given asset class (JSON Schema). Used by the custom finding types builder.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "asset_class": { - "description": "Asset class identifier (PascalCase), e.g. AnthropicApiKey.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "asset_class": { + "description": "Asset class identifier (PascalCase), e.g. AnthropicApiKey.", + "type": "string" + } + }, + "required": [ + "account_id", + "asset_class" + ], + "type": "object" } }, required: [ - "account_id", - "asset_class" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_AssetSchemaResponse", $defs: { - "posture-api_AssetSchemaDetail": posture_api_AssetSchemaDetail_output, - "posture-api_AssetSchemaResponse": posture_api_AssetSchemaResponse_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_AssetSchemaDetail": posture$$api_AssetSchemaDetail, + "posture-api_AssetSchemaResponse": posture$$api_AssetSchemaResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -83,11 +91,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_AssetSchemaDetail": posture_api_AssetSchemaDetail_output, - "posture-api_AssetSchemaResponse": posture_api_AssetSchemaResponse_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_AssetSchemaDetail": posture$$api_AssetSchemaDetail, + "posture-api_AssetSchemaResponse": posture$$api_AssetSchemaResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -95,52 +103,65 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_asset_schemas_list", + name: "zeroTrust_casb_assetSchemas_list", title: "List asset schemas", description: "Returns the catalog of asset classes available when authoring custom\nfindings, grouped by vendor. Optionally filter to a single vendor with\nthe `vendor` query parameter.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "vendor": { - "description": "Restrict the result to a single vendor. Unknown values return 400.", - "enum": [ - "ANTHROPIC", - "AWS", - "BITBUCKET", - "BOX", - "CONFLUENCE", - "DROPBOX", - "GITHUB", - "GOOGLE_CLOUD_PLATFORM", - "GOOGLE_WORKSPACE", - "JIRA", - "MICROSOFT", - "OPENAI", - "SALESFORCE", - "SERVICENOW", - "SLACK", - "WORKDAY", - "ZOOM" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "vendor": { + "description": "Restrict the result to a single vendor. Unknown values return 400.", + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "WORKDAY", + "ZOOM" + ], + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_AssetSchemaListResponse", $defs: { - "posture-api_AssetSchemaListResponse": posture_api_AssetSchemaListResponse_output, - "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_messages": posture_api_messages_output, + "posture-api_AssetSchemaListResponse": posture$$api_AssetSchemaListResponse, + "posture-api_AssetSchemaSummary": posture$$api_AssetSchemaSummary, + "posture-api_AssetSchemaVendorGroup": posture$$api_AssetSchemaVendorGroup, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -177,18 +198,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_AssetSchemaListResponse": posture_api_AssetSchemaListResponse_output, - "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, + "posture-api_AssetSchemaListResponse": posture$$api_AssetSchemaListResponse, + "posture-api_AssetSchemaSummary": posture$$api_AssetSchemaSummary, + "posture-api_AssetSchemaVendorGroup": posture$$api_AssetSchemaVendorGroup, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/asset_schemas`, query: [ - ["vendor", args["vendor"], true], + ["vendor", param(args, "query", "vendor"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/content/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/content/outputs.ts index 53195d58f..c625cc7cb 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/content/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/content/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_ContentAsset` in responses. */ -export const posture_api_ContentAsset_output: JsonSchema = { +export const posture$$api_ContentAsset: JsonSchema = { "properties": { "asset_id": { "format": "uuid", @@ -54,7 +54,7 @@ export const posture_api_ContentAsset_output: JsonSchema = { /** * The schema of `posture-api_PaginatedContentAssetList` in responses. */ -export const posture_api_PaginatedContentAssetList_output: JsonSchema = { +export const posture$$api_PaginatedContentAssetList: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/casb/content/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/content/schemas.ts index 0f743f769..4358b1058 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/content/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/content/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_ContentExportRequest`. */ -export const posture_api_ContentExportRequest: JsonSchema = { +export const posture$$api_ContentExportRequest: JsonSchema = { "description": "Request body for creating content exports.", "properties": { "dlp_profile_id": { @@ -70,7 +70,7 @@ export const posture_api_ContentExportRequest: JsonSchema = { /** * The schema of `posture-api_ContentOrder`. */ -export const posture_api_ContentOrder: JsonSchema = { +export const posture$$api_ContentOrder: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_Order" @@ -99,7 +99,7 @@ export const posture_api_ContentOrder: JsonSchema = { /** * The schema of `posture-api_DLPProfile`. */ -export const posture_api_DLPProfile: JsonSchema = { +export const posture$$api_DLPProfile: JsonSchema = { "description": "DLP profile configuration.", "properties": { "entries": { @@ -130,7 +130,7 @@ export const posture_api_DLPProfile: JsonSchema = { /** * The schema of `posture-api_DLPProfileEntry`. */ -export const posture_api_DLPProfileEntry: JsonSchema = { +export const posture$$api_DLPProfileEntry: JsonSchema = { "description": "Entry within a DLP profile.", "properties": { "id": { @@ -159,7 +159,7 @@ export const posture_api_DLPProfileEntry: JsonSchema = { /** * The schema of `posture-api_Order`. */ -export const posture_api_Order: JsonSchema = { +export const posture$$api_Order: JsonSchema = { "description": "Generic ordering specification.", "properties": { "direction": { diff --git a/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts index 0a47458e1..bd1d1fbb8 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts @@ -1,80 +1,88 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - posture_api_CredentialHealthStatusEnum_output, - posture_api_DlpContext_output, - posture_api_ExportJobTypeEnum_output, - posture_api_ExportJob_output, - posture_api_IntegrationPolicy_output, - posture_api_IntegrationSummary_output, - posture_api_StatusEnum_output, - posture_api_Vendor_output, - posture_api_ZeroTrustProduct_output, - posture_api_api_response_collection_output, - posture_api_api_response_common_output, - posture_api_export_job_response_output, - posture_api_messages_output, - posture_api_result_info_output, + posture$$api_CredentialHealthStatusEnum, + posture$$api_DlpContext, + posture$$api_ExportJob, + posture$$api_ExportJobTypeEnum, + posture$$api_IntegrationPolicy, + posture$$api_IntegrationSummary, + posture$$api_StatusEnum, + posture$$api_Vendor, + posture$$api_ZeroTrustProduct, + posture$$api_api$$response$$collection, + posture$$api_api$$response$$common, + posture$$api_export$$job$$response, + posture$$api_messages, + posture$$api_result$$info, } from "../outputs.js"; import { - posture_api_DirectionEnum, - posture_api_VendorsEnum, + posture$$api_DirectionEnum, + posture$$api_VendorsEnum, } from "../schemas.js"; import { - posture_api_ContentAsset_output, - posture_api_PaginatedContentAssetList_output, + posture$$api_ContentAsset, + posture$$api_PaginatedContentAssetList, } from "./outputs.js"; import { - posture_api_ContentExportRequest, - posture_api_ContentOrder, - posture_api_DLPProfile, - posture_api_DLPProfileEntry, - posture_api_Order, + posture$$api_ContentExportRequest, + posture$$api_ContentOrder, + posture$$api_DLPProfile, + posture$$api_DLPProfileEntry, + posture$$api_Order, } from "./schemas.js"; /** - * The tools of `zero_trust.casb.content`. + * The tools of `zeroTrust.casb.content`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_content_export", + name: "zeroTrust_casb_content_export", title: "Create a content export", description: "Creates a CSV export for content and accepts optional filters in the payload.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_ContentExportRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "posture-api_ContentExportRequest": posture_api_ContentExportRequest, - "posture-api_ContentOrder": posture_api_ContentOrder, - "posture-api_DLPProfile": posture_api_DLPProfile, - "posture-api_DLPProfileEntry": posture_api_DLPProfileEntry, - "posture-api_DirectionEnum": posture_api_DirectionEnum, - "posture-api_Order": posture_api_Order, - "posture-api_VendorsEnum": posture_api_VendorsEnum, + "posture-api_ContentExportRequest": posture$$api_ContentExportRequest, + "posture-api_ContentOrder": posture$$api_ContentOrder, + "posture-api_DLPProfile": posture$$api_DLPProfile, + "posture-api_DLPProfileEntry": posture$$api_DLPProfileEntry, + "posture-api_DirectionEnum": posture$$api_DirectionEnum, + "posture-api_Order": posture$$api_Order, + "posture-api_VendorsEnum": posture$$api_VendorsEnum, }, }, outputSchema: { "$ref": "#/$defs/posture-api_export-job-response", $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -103,12 +111,12 @@ export const tools: readonly Tool[] = [ } }, $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -117,92 +125,105 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_content_list", + name: "zeroTrust_casb_content_list", title: "List DLP content findings", description: "List DLP content findings", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "dlp_profile_id": { - "description": "Filter by an DLP profile ID", - "format": "uuid", - "type": "string" - }, - "integration_id": { - "description": "Filter by an integration ID", - "format": "uuid", - "type": "string" - }, - "max_affliction_date": { - "description": "Filter to view findings that occurred on or before the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", - "format": "date-time", - "type": "string" - }, - "min_affliction_date": { - "description": "Filter to view findings that occurred on or after the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", - "format": "date-time", - "type": "string" - }, - "order": { - "description": "Which field to use when ordering content assets.", - "enum": [ - "asset_name", - "dlp_profile_count", - "integration_name", - "latest_affliction_date" - ], - "type": "string" - }, - "page": { - "description": "A page number within the paginated result set.", - "type": "integer" - }, - "per_page": { - "description": "Number of results to return per page.", - "type": "integer" - }, - "search": { - "description": "A search term.", - "type": "string" + "type": "object" }, - "vendor": { - "$ref": "#/$defs/posture-api_VendorsEnum", - "description": "Filter by vendor" + "query": { + "properties": { + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "dlp_profile_id": { + "description": "Filter by an DLP profile ID", + "format": "uuid", + "type": "string" + }, + "integration_id": { + "description": "Filter by an integration ID", + "format": "uuid", + "type": "string" + }, + "max_affliction_date": { + "description": "Filter to view findings that occurred on or before the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", + "format": "date-time", + "type": "string" + }, + "min_affliction_date": { + "description": "Filter to view findings that occurred on or after the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", + "format": "date-time", + "type": "string" + }, + "order": { + "description": "Which field to use when ordering content assets.", + "enum": [ + "asset_name", + "dlp_profile_count", + "integration_name", + "latest_affliction_date" + ], + "type": "string" + }, + "page": { + "description": "A page number within the paginated result set.", + "type": "integer" + }, + "per_page": { + "description": "Number of results to return per page.", + "type": "integer" + }, + "search": { + "description": "A search term.", + "type": "string" + }, + "vendor": { + "$ref": "#/$defs/posture-api_VendorsEnum", + "description": "Filter by vendor" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "posture-api_VendorsEnum": posture_api_VendorsEnum, + "posture-api_VendorsEnum": posture$$api_VendorsEnum, }, }, outputSchema: { "$ref": "#/$defs/posture-api_PaginatedContentAssetList", $defs: { - "posture-api_ContentAsset": posture_api_ContentAsset_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_PaginatedContentAssetList": posture_api_PaginatedContentAssetList_output, - "posture-api_Vendor": posture_api_Vendor_output, - "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, - "posture-api_api-response-collection": posture_api_api_response_collection_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_ContentAsset": posture$$api_ContentAsset, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_PaginatedContentAssetList": posture$$api_PaginatedContentAssetList, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_messages": posture$$api_messages, + "posture-api_result-info": posture$$api_result$$info, }, }, annotations: { @@ -231,33 +252,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_ContentAsset": posture_api_ContentAsset_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_PaginatedContentAssetList": posture_api_PaginatedContentAssetList_output, - "posture-api_Vendor": posture_api_Vendor_output, - "posture-api_ZeroTrustProduct": posture_api_ZeroTrustProduct_output, - "posture-api_api-response-collection": posture_api_api_response_collection_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, + "posture-api_ContentAsset": posture$$api_ContentAsset, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_PaginatedContentAssetList": posture$$api_PaginatedContentAssetList, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, + "posture-api_result-info": posture$$api_result$$info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/content`, query: [ - ["direction", args["direction"], true], - ["dlp_profile_id", args["dlp_profile_id"], true], - ["integration_id", args["integration_id"], true], - ["max_affliction_date", args["max_affliction_date"], true], - ["min_affliction_date", args["min_affliction_date"], true], - ["order", args["order"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["vendor", args["vendor"], true], + ["direction", param(args, "query", "direction"), true], + ["dlp_profile_id", param(args, "query", "dlp_profile_id"), true], + ["integration_id", param(args, "query", "integration_id"), true], + ["max_affliction_date", param(args, "query", "max_affliction_date"), true], + ["min_affliction_date", param(args, "query", "min_affliction_date"), true], + ["order", param(args, "query", "order"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["vendor", param(args, "query", "vendor"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/exports/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/exports/outputs.ts index e2bce95eb..b4a63d9cd 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/exports/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/exports/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_PaginatedExportJobList` in responses. */ -export const posture_api_PaginatedExportJobList_output: JsonSchema = { +export const posture$$api_PaginatedExportJobList: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts index 3d7080596..3fac9a81f 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts @@ -1,54 +1,62 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - posture_api_ExportJobTypeEnum_output, - posture_api_ExportJob_output, - posture_api_StatusEnum_output, - posture_api_api_response_collection_output, - posture_api_api_response_common_output, - posture_api_export_job_response_output, - posture_api_messages_output, - posture_api_result_info_output, + posture$$api_ExportJob, + posture$$api_ExportJobTypeEnum, + posture$$api_StatusEnum, + posture$$api_api$$response$$collection, + posture$$api_api$$response$$common, + posture$$api_export$$job$$response, + posture$$api_messages, + posture$$api_result$$info, } from "../outputs.js"; -import { posture_api_StatusEnum } from "../schemas.js"; -import { posture_api_PaginatedExportJobList_output } from "./outputs.js"; +import { posture$$api_StatusEnum as posture$$api_StatusEnum$ } from "../schemas.js"; +import { posture$$api_PaginatedExportJobList } from "./outputs.js"; /** - * The tools of `zero_trust.casb.exports`. + * The tools of `zeroTrust.casb.exports`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_exports_get", + name: "zeroTrust_casb_exports_get", title: "Get a single export job", description: "Retrieves a single export job by its unique identifier", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "id": { - "description": "Unique identifier for the export job", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "id": { + "description": "Unique identifier for the export job", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_export-job-response", $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -78,12 +86,12 @@ export const tools: readonly Tool[] = [ } }, $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -91,46 +99,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_exports_list", + name: "zeroTrust_casb_exports_list", title: "List all export jobs", description: "List all export jobs for a given requestor's organization", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "page": { - "description": "A page number within the paginated result set.", - "type": "integer" - }, - "per_page": { - "description": "Number of results to return per page.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "status": { - "$ref": "#/$defs/posture-api_StatusEnum", - "description": "Filter on export job's status" + "query": { + "properties": { + "page": { + "description": "A page number within the paginated result set.", + "type": "integer" + }, + "per_page": { + "description": "Number of results to return per page.", + "type": "integer" + }, + "status": { + "$ref": "#/$defs/posture-api_StatusEnum", + "description": "Filter on export job's status" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "posture-api_StatusEnum": posture_api_StatusEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum$, }, }, outputSchema: { "$ref": "#/$defs/posture-api_PaginatedExportJobList", $defs: { - "posture-api_ExportJob": posture_api_ExportJob_output, - "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, - "posture-api_PaginatedExportJobList": posture_api_PaginatedExportJobList_output, - "posture-api_StatusEnum": posture_api_StatusEnum_output, - "posture-api_api-response-collection": posture_api_api_response_collection_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_PaginatedExportJobList": posture$$api_PaginatedExportJobList, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_messages": posture$$api_messages, + "posture-api_result-info": posture$$api_result$$info, }, }, annotations: { @@ -159,22 +180,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_ExportJob": posture_api_ExportJob_output, - "posture-api_ExportJobTypeEnum": posture_api_ExportJobTypeEnum_output, - "posture-api_PaginatedExportJobList": posture_api_PaginatedExportJobList_output, - "posture-api_StatusEnum": posture_api_StatusEnum_output, - "posture-api_api-response-collection": posture_api_api_response_collection_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, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_PaginatedExportJobList": posture$$api_PaginatedExportJobList, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, + "posture-api_result-info": posture$$api_result$$info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/exports`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["status", param(args, "query", "status"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts index 1f727ef8c..da7378402 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_FindingTypeValidationError` in responses. */ -export const posture_api_FindingTypeValidationError_output: JsonSchema = { +export const posture$$api_FindingTypeValidationError: JsonSchema = { "properties": { "code": { "type": "string" @@ -37,7 +37,7 @@ export const posture_api_FindingTypeValidationError_output: JsonSchema = { /** * The schema of `posture-api_ValidateFindingTypeResponse` in responses. */ -export const posture_api_ValidateFindingTypeResponse_output: JsonSchema = { +export const posture$$api_ValidateFindingTypeResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -56,7 +56,7 @@ export const posture_api_ValidateFindingTypeResponse_output: JsonSchema = { /** * The schema of `posture-api_ValidateFindingTypeResult` in responses. */ -export const posture_api_ValidateFindingTypeResult_output: JsonSchema = { +export const posture$$api_ValidateFindingTypeResult: JsonSchema = { "properties": { "errors": { "items": { @@ -78,7 +78,7 @@ export const posture_api_ValidateFindingTypeResult_output: JsonSchema = { /** * The schema of `posture-api_custom-finding-type-response` in responses. */ -export const posture_api_custom_finding_type_response_output: JsonSchema = { +export const posture$$api_custom$$finding$$type$$response: JsonSchema = { "properties": { "applies_to_all_integrations": { "type": "boolean" @@ -186,7 +186,7 @@ export const posture_api_custom_finding_type_response_output: JsonSchema = { /** * The schema of `posture-api_custom-finding-type-single-response` in responses. */ -export const posture_api_custom_finding_type_single_response_output: JsonSchema = { +export const posture$$api_custom$$finding$$type$$single$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -205,7 +205,7 @@ export const posture_api_custom_finding_type_single_response_output: JsonSchema /** * The schema of `posture-api_finding-type-response` in responses. */ -export const posture_api_finding_type_response_output: JsonSchema = { +export const posture$$api_finding$$type$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -224,7 +224,7 @@ export const posture_api_finding_type_response_output: JsonSchema = { /** * The schema of `posture-api_paginated-finding-type-list` in responses. */ -export const posture_api_paginated_finding_type_list_output: JsonSchema = { +export const posture$$api_paginated$$finding$$type$$list: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/outputs.ts index ce5ff2b3e..e8c55bccc 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `posture-api_PaginatedRemediationTypeList` in responses. */ -export const posture_api_PaginatedRemediationTypeList_output: JsonSchema = { +export const posture$$api_PaginatedRemediationTypeList: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-collection" @@ -28,7 +28,7 @@ export const posture_api_PaginatedRemediationTypeList_output: JsonSchema = { /** * The schema of `posture-api_RemediationType` in responses. */ -export const posture_api_RemediationType_output: JsonSchema = { +export const posture$$api_RemediationType: JsonSchema = { "properties": { "description": { "type": "string" 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 30f897b05..788bb1b02 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts @@ -1,69 +1,82 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - posture_api_api_response_collection_output, - posture_api_api_response_common_output, - posture_api_messages_output, - posture_api_result_info_output, + posture$$api_api$$response$$collection, + posture$$api_api$$response$$common, + posture$$api_messages, + posture$$api_result$$info, } from "../../outputs.js"; import { - posture_api_PaginatedRemediationTypeList_output, - posture_api_RemediationType_output, + posture$$api_PaginatedRemediationTypeList, + posture$$api_RemediationType, } from "./outputs.js"; /** - * The tools of `zero_trust.casb.finding_types.remediation_types`. + * The tools of `zeroTrust.casb.findingTypes.remediationTypes`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_finding_types_remediation_types_list", + name: "zeroTrust_casb_findingTypes_remediationTypes_list", title: "List remediation types for a finding type", description: "List all remediation types for a given finding type.\nThis endpoint supports both cursor and offset pagination.\nNote that `cursor` and `page` are mutually exclusive.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_type_id": { + "description": "A UUID string identifying the finding type.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_type_id" + ], + "type": "object" }, - "cursor": { - "description": "A cursor for pagination.", - "type": "string" - }, - "finding_type_id": { - "description": "A UUID string identifying the finding type.", - "format": "uuid", - "type": "string" - }, - "integration_id": { - "description": "Filter by an integration ID", - "format": "uuid", - "type": "string" - }, - "page": { - "description": "A page number within the paginated result set.", - "type": "integer" - }, - "per_page": { - "description": "Number of results to return per page.", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "A cursor for pagination.", + "type": "string" + }, + "integration_id": { + "description": "Filter by an integration ID", + "format": "uuid", + "type": "string" + }, + "page": { + "description": "A page number within the paginated result set.", + "type": "integer" + }, + "per_page": { + "description": "Number of results to return per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "finding_type_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_PaginatedRemediationTypeList", $defs: { - "posture-api_PaginatedRemediationTypeList": posture_api_PaginatedRemediationTypeList_output, - "posture-api_RemediationType": posture_api_RemediationType_output, - "posture-api_api-response-collection": posture_api_api_response_collection_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_PaginatedRemediationTypeList": posture$$api_PaginatedRemediationTypeList, + "posture-api_RemediationType": posture$$api_RemediationType, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_messages": posture$$api_messages, + "posture-api_result-info": posture$$api_result$$info, }, }, annotations: { @@ -93,21 +106,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_PaginatedRemediationTypeList": posture_api_PaginatedRemediationTypeList_output, - "posture-api_RemediationType": posture_api_RemediationType_output, - "posture-api_api-response-collection": posture_api_api_response_collection_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, + "posture-api_PaginatedRemediationTypeList": posture$$api_PaginatedRemediationTypeList, + "posture-api_RemediationType": posture$$api_RemediationType, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, + "posture-api_result-info": posture$$api_result$$info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/finding_types/${pathParam(args, "finding_type_id")}/remediation_types`, query: [ - ["integration_id", args["integration_id"], true], - ["cursor", args["cursor"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["integration_id", param(args, "query", "integration_id"), true], + ["cursor", param(args, "query", "cursor"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/schemas.ts index 982b60527..2088bc11c 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_FindingTypeOriginEnum`. */ -export const posture_api_FindingTypeOriginEnum: JsonSchema = { +export const posture$$api_FindingTypeOriginEnum: JsonSchema = { "description": "Finding type origins for list filters.", "enum": [ "custom", @@ -18,7 +18,7 @@ export const posture_api_FindingTypeOriginEnum: JsonSchema = { /** * The schema of `posture-api_FindingTypeSeverityEnum`. */ -export const posture_api_FindingTypeSeverityEnum: JsonSchema = { +export const posture$$api_FindingTypeSeverityEnum: JsonSchema = { "description": "Finding type severities for list filters.", "enum": [ "critical", @@ -32,7 +32,7 @@ export const posture_api_FindingTypeSeverityEnum: JsonSchema = { /** * The schema of `posture-api_create-finding-type-request`. */ -export const posture_api_create_finding_type_request: JsonSchema = { +export const posture$$api_create$$finding$$type$$request: JsonSchema = { "properties": { "applies_to_all_integrations": { "description": "When true, this finding type applies to every current and future integration of the vendor.", @@ -98,7 +98,7 @@ export const posture_api_create_finding_type_request: JsonSchema = { /** * The schema of `posture-api_update-finding-type-request`. */ -export const posture_api_update_finding_type_request: JsonSchema = { +export const posture$$api_update$$finding$$type$$request: JsonSchema = { "properties": { "applies_to_all_integrations": { "description": "When true, this finding type applies to every current and future integration of the vendor.", diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts index 5c74ddf4d..e9dddc245 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts @@ -1,84 +1,92 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - posture_api_BaseFindingType_output, - posture_api_FindingCategoryTypeEnum_output, - posture_api_FindingCategory_output, - posture_api_FindingTypeVendorsEnum_output, - posture_api_ObservationEnum_output, - posture_api_ProductEnum_output, - posture_api_SeverityEnum_output, - posture_api_api_response_collection_output, - posture_api_api_response_common_output, - posture_api_error_response_output, - posture_api_messages_output, - posture_api_result_info_output, + posture$$api_BaseFindingType, + posture$$api_FindingCategory, + posture$$api_FindingCategoryTypeEnum, + posture$$api_FindingTypeVendorsEnum, + posture$$api_ObservationEnum, + posture$$api_ProductEnum, + posture$$api_SeverityEnum, + posture$$api_api$$response$$collection, + posture$$api_api$$response$$common, + posture$$api_error$$response, + posture$$api_messages, + posture$$api_result$$info, } from "../outputs.js"; import { - posture_api_FindingCategoryTypeEnum, - posture_api_FindingTypeVendorsEnum, - posture_api_SeverityEnum, + posture$$api_FindingCategoryTypeEnum as posture$$api_FindingCategoryTypeEnum$, + posture$$api_FindingTypeVendorsEnum as posture$$api_FindingTypeVendorsEnum$, + posture$$api_SeverityEnum as posture$$api_SeverityEnum$, } from "../schemas.js"; import { - posture_api_FindingTypeValidationError_output, - posture_api_ValidateFindingTypeResponse_output, - posture_api_ValidateFindingTypeResult_output, - posture_api_custom_finding_type_response_output, - posture_api_custom_finding_type_single_response_output, - posture_api_finding_type_response_output, - posture_api_paginated_finding_type_list_output, + posture$$api_FindingTypeValidationError, + posture$$api_ValidateFindingTypeResponse, + posture$$api_ValidateFindingTypeResult, + posture$$api_custom$$finding$$type$$response, + posture$$api_custom$$finding$$type$$single$$response, + posture$$api_finding$$type$$response, + posture$$api_paginated$$finding$$type$$list, } from "./outputs.js"; import { - posture_api_FindingTypeOriginEnum, - posture_api_FindingTypeSeverityEnum, - posture_api_create_finding_type_request, - posture_api_update_finding_type_request, + posture$$api_FindingTypeOriginEnum, + posture$$api_FindingTypeSeverityEnum, + posture$$api_create$$finding$$type$$request, + posture$$api_update$$finding$$type$$request, } from "./schemas.js"; /** - * The tools of `zero_trust.casb.finding_types`. + * The tools of `zeroTrust.casb.findingTypes`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_finding_types_create", + name: "zeroTrust_casb_findingTypes_create", title: "Create a custom finding type", description: "Create a new custom finding type with policy definition.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_create-finding-type-request" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum, - "posture-api_SeverityEnum": posture_api_SeverityEnum, - "posture-api_create-finding-type-request": posture_api_create_finding_type_request, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum$, + "posture-api_SeverityEnum": posture$$api_SeverityEnum$, + "posture-api_create-finding-type-request": posture$$api_create$$finding$$type$$request, }, }, outputSchema: { "$ref": "#/$defs/posture-api_custom-finding-type-single-response", $defs: { - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "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_custom-finding-type-single-response": posture_api_custom_finding_type_single_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_custom-finding-type-response": posture$$api_custom$$finding$$type$$response, + "posture-api_custom-finding-type-single-response": posture$$api_custom$$finding$$type$$single$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -123,17 +131,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "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_custom-finding-type-single-response": posture_api_custom_finding_type_single_response_output, - "posture-api_error-response": posture_api_error_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_custom-finding-type-response": posture$$api_custom$$finding$$type$$response, + "posture-api_custom-finding-type-single-response": posture$$api_custom$$finding$$type$$single$$response, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -142,25 +150,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_finding_types_delete", + name: "zeroTrust_casb_findingTypes_delete", title: "Delete a custom finding type", description: "Delete an existing custom finding type.\n\n**Security**: Only custom finding types (not system-managed) can be deleted.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "finding_type_id": { - "description": "A UUID string identifying the finding type.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_type_id": { + "description": "A UUID string identifying the finding type.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_type_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_type_id" + "path" ], }, annotations: { @@ -200,9 +216,9 @@ export const tools: readonly Tool[] = [ } }, $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, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -210,40 +226,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_finding_types_get", + name: "zeroTrust_casb_findingTypes_get", title: "Get finding by ID", description: "Retrieve a specific finding type by its unique identifier.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "finding_type_id": { - "description": "A UUID string identifying the finding type.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_type_id": { + "description": "A UUID string identifying the finding type.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_type_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_type_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_finding-type-response", $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "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_finding-type-response": posture_api_finding_type_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-type-response": posture$$api_finding$$type$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -273,16 +297,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "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_finding-type-response": posture_api_finding_type_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-type-response": posture$$api_finding$$type$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -290,117 +314,130 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_finding_types_list", + name: "zeroTrust_casb_findingTypes_list", title: "List all finding types", description: "List all available finding types with pagination support.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "direction": { - "description": "Sort direction for the primary field. Defaults to 'desc'.\nTies are resolved by case-insensitive name, then ID, both ascending regardless of direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "max_updated_at": { - "description": "Return only finding types updated at or before this RFC 3339 timestamp (inclusive).", - "format": "date-time", - "type": "string" - }, - "min_updated_at": { - "description": "Return only finding types updated at or after this RFC 3339 timestamp (inclusive).", - "format": "date-time", - "type": "string" - }, - "order": { - "description": "Field to sort by (case-insensitive). Defaults to 'created'.\nName and vendor sorting is case-insensitive; vendor uses friendly provider names.\nAscending order: type Content then Posture; origin custom then system;\nseverity Low, Medium, High, Critical.", - "enum": [ - "created", - "updated", - "match_count", - "name", - "vendor", - "type", - "origin", - "severity" - ], - "type": "string" - }, - "origins": { - "description": "Filter finding types by origin. Supports multiple comma-separated, case-insensitive values.", - "items": { - "$ref": "#/$defs/posture-api_FindingTypeOriginEnum" - }, - "type": "array" - }, - "page": { - "description": "A page number within the paginated result set.", - "type": "integer" - }, - "per_page": { - "description": "Number of results to return per page.", - "type": "integer" - }, - "quarantined": { - "description": "When true, return only quarantined finding types; when false, return only non-quarantined finding types. Omit to return both.", - "type": "boolean" - }, - "search": { - "description": "Filter finding types by name or ID (case-insensitive substring match).", - "type": "string" - }, - "severities": { - "description": "Filter finding types by severity. Supports multiple comma-separated, case-insensitive values.", - "items": { - "$ref": "#/$defs/posture-api_FindingTypeSeverityEnum" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } }, - "type": "array" - }, - "types": { - "description": "Filter finding types by category type. Supports multiple comma-separated, case-insensitive values.", - "items": { - "$ref": "#/$defs/posture-api_FindingCategoryTypeEnum" - }, - "type": "array" - }, - "vendors": { - "description": "Filter finding types by vendor. Supports multiple comma-separated values. Each value may be either the vendor enum (GOOGLE_WORKSPACE) or the friendly name returned by the read routes (Google Workspace).", - "items": { - "$ref": "#/$defs/posture-api_FindingTypeVendorsEnum" + "required": [ + "account_id" + ], + "type": "object" + }, + "query": { + "properties": { + "direction": { + "description": "Sort direction for the primary field. Defaults to 'desc'.\nTies are resolved by case-insensitive name, then ID, both ascending regardless of direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "max_updated_at": { + "description": "Return only finding types updated at or before this RFC 3339 timestamp (inclusive).", + "format": "date-time", + "type": "string" + }, + "min_updated_at": { + "description": "Return only finding types updated at or after this RFC 3339 timestamp (inclusive).", + "format": "date-time", + "type": "string" + }, + "order": { + "description": "Field to sort by (case-insensitive). Defaults to 'created'.\nName and vendor sorting is case-insensitive; vendor uses friendly provider names.\nAscending order: type Content then Posture; origin custom then system;\nseverity Low, Medium, High, Critical.", + "enum": [ + "created", + "updated", + "match_count", + "name", + "vendor", + "type", + "origin", + "severity" + ], + "type": "string" + }, + "origins": { + "description": "Filter finding types by origin. Supports multiple comma-separated, case-insensitive values.", + "items": { + "$ref": "#/$defs/posture-api_FindingTypeOriginEnum" + }, + "type": "array" + }, + "page": { + "description": "A page number within the paginated result set.", + "type": "integer" + }, + "per_page": { + "description": "Number of results to return per page.", + "type": "integer" + }, + "quarantined": { + "description": "When true, return only quarantined finding types; when false, return only non-quarantined finding types. Omit to return both.", + "type": "boolean" + }, + "search": { + "description": "Filter finding types by name or ID (case-insensitive substring match).", + "type": "string" + }, + "severities": { + "description": "Filter finding types by severity. Supports multiple comma-separated, case-insensitive values.", + "items": { + "$ref": "#/$defs/posture-api_FindingTypeSeverityEnum" + }, + "type": "array" + }, + "types": { + "description": "Filter finding types by category type. Supports multiple comma-separated, case-insensitive values.", + "items": { + "$ref": "#/$defs/posture-api_FindingCategoryTypeEnum" + }, + "type": "array" + }, + "vendors": { + "description": "Filter finding types by vendor. Supports multiple comma-separated values. Each value may be either the vendor enum (GOOGLE_WORKSPACE) or the friendly name returned by the read routes (Google Workspace).", + "items": { + "$ref": "#/$defs/posture-api_FindingTypeVendorsEnum" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum, - "posture-api_FindingTypeOriginEnum": posture_api_FindingTypeOriginEnum, - "posture-api_FindingTypeSeverityEnum": posture_api_FindingTypeSeverityEnum, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum$, + "posture-api_FindingTypeOriginEnum": posture$$api_FindingTypeOriginEnum, + "posture-api_FindingTypeSeverityEnum": posture$$api_FindingTypeSeverityEnum, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum$, }, }, outputSchema: { "$ref": "#/$defs/posture-api_paginated-finding-type-list", $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "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-collection": posture_api_api_response_collection_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_paginated-finding-type-list": posture_api_paginated_finding_type_list_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_messages": posture$$api_messages, + "posture-api_paginated-finding-type-list": posture$$api_paginated$$finding$$type$$list, + "posture-api_result-info": posture$$api_result$$info, }, }, annotations: { @@ -432,82 +469,90 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "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-collection": posture_api_api_response_collection_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_paginated-finding-type-list": posture_api_paginated_finding_type_list_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, + "posture-api_paginated-finding-type-list": posture$$api_paginated$$finding$$type$$list, + "posture-api_result-info": posture$$api_result$$info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/finding_types`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["vendors", args["vendors"], false], - ["types", args["types"], false], - ["origins", args["origins"], false], - ["severities", args["severities"], false], - ["search", args["search"], true], - ["quarantined", args["quarantined"], true], - ["min_updated_at", args["min_updated_at"], true], - ["max_updated_at", args["max_updated_at"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["vendors", param(args, "query", "vendors"), false], + ["types", param(args, "query", "types"), false], + ["origins", param(args, "query", "origins"), false], + ["severities", param(args, "query", "severities"), false], + ["search", param(args, "query", "search"), true], + ["quarantined", param(args, "query", "quarantined"), true], + ["min_updated_at", param(args, "query", "min_updated_at"), true], + ["max_updated_at", param(args, "query", "max_updated_at"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, { - name: "zero_trust_casb_finding_types_update", + name: "zeroTrust_casb_findingTypes_update", title: "Update a custom finding type", description: "Update an existing custom finding type.\n\n**Immutable fields**: asset_vendor, asset_class, expression, and category cannot be changed after creation.\n\n**Security**: Only custom finding types (not system-managed) can be updated.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_update-finding-type-request" }, - "finding_type_id": { - "description": "A UUID string identifying the finding type.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_type_id": { + "description": "A UUID string identifying the finding type.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_type_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_type_id", + "path", "body" ], $defs: { - "posture-api_SeverityEnum": posture_api_SeverityEnum, - "posture-api_update-finding-type-request": posture_api_update_finding_type_request, + "posture-api_SeverityEnum": posture$$api_SeverityEnum$, + "posture-api_update-finding-type-request": posture$$api_update$$finding$$type$$request, }, }, outputSchema: { "$ref": "#/$defs/posture-api_custom-finding-type-single-response", $defs: { - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "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_custom-finding-type-single-response": posture_api_custom_finding_type_single_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_custom-finding-type-response": posture$$api_custom$$finding$$type$$response, + "posture-api_custom-finding-type-single-response": posture$$api_custom$$finding$$type$$single$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -555,17 +600,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "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_custom-finding-type-single-response": posture_api_custom_finding_type_single_response_output, - "posture-api_error-response": posture_api_error_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_custom-finding-type-response": posture$$api_custom$$finding$$type$$response, + "posture-api_custom-finding-type-single-response": posture$$api_custom$$finding$$type$$single$$response, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -574,38 +619,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_finding_types_validate", + name: "zeroTrust_casb_findingTypes_validate", title: "Validate a custom finding type", description: "Check a candidate custom finding type without creating it, so problems can\nbe corrected before publishing. The request body is the same shape as\n`CreateFindingType`, and the candidate is checked against the same rules, so\na valid result means the definition itself is sound. It is not a reservation:\na create can still be rejected for a reason that does not belong to the\ndefinition, such as the account already holding the maximum number of custom\nfinding types.\n\nA candidate that fails validation is still a **200** with\n`result.valid: false` and one entry in `result.errors` per problem — that is\nthe answer this endpoint exists to give. `4xx` is reserved for a request\nthat could not be processed at all, such as a body that will not parse.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_create-finding-type-request" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum, - "posture-api_SeverityEnum": posture_api_SeverityEnum, - "posture-api_create-finding-type-request": posture_api_create_finding_type_request, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum$, + "posture-api_SeverityEnum": posture$$api_SeverityEnum$, + "posture-api_create-finding-type-request": posture$$api_create$$finding$$type$$request, }, }, outputSchema: { "$ref": "#/$defs/posture-api_ValidateFindingTypeResponse", $defs: { - "posture-api_FindingTypeValidationError": posture_api_FindingTypeValidationError_output, - "posture-api_ValidateFindingTypeResponse": posture_api_ValidateFindingTypeResponse_output, - "posture-api_ValidateFindingTypeResult": posture_api_ValidateFindingTypeResult_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_FindingTypeValidationError": posture$$api_FindingTypeValidationError, + "posture-api_ValidateFindingTypeResponse": posture$$api_ValidateFindingTypeResponse, + "posture-api_ValidateFindingTypeResult": posture$$api_ValidateFindingTypeResult, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -644,12 +697,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_FindingTypeValidationError": posture_api_FindingTypeValidationError_output, - "posture-api_ValidateFindingTypeResponse": posture_api_ValidateFindingTypeResponse_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, + "posture-api_FindingTypeValidationError": posture$$api_FindingTypeValidationError, + "posture-api_ValidateFindingTypeResponse": posture$$api_ValidateFindingTypeResponse, + "posture-api_ValidateFindingTypeResult": posture$$api_ValidateFindingTypeResult, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts index f17a26adc..66e77628c 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `posture-api_Asset` in responses. */ -export const posture_api_Asset_output: JsonSchema = { +export const posture$$api_Asset: JsonSchema = { "properties": { "category": { "$ref": "#/$defs/posture-api_AssetCategory" @@ -54,7 +54,7 @@ export const posture_api_Asset_output: JsonSchema = { /** * The schema of `posture-api_AssetCategory` in responses. */ -export const posture_api_AssetCategory_output: JsonSchema = { +export const posture$$api_AssetCategory: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -88,7 +88,7 @@ export const posture_api_AssetCategory_output: JsonSchema = { /** * The schema of `posture-api_AssetField` in responses. */ -export const posture_api_AssetField_output: JsonSchema = { +export const posture$$api_AssetField: JsonSchema = { "properties": { "link": { "oneOf": [ @@ -117,7 +117,7 @@ export const posture_api_AssetField_output: JsonSchema = { /** * The schema of `posture-api_FindingInstance` in responses. */ -export const posture_api_FindingInstance_output: JsonSchema = { +export const posture$$api_FindingInstance: JsonSchema = { "properties": { "affliction_date": { "format": "date-time", @@ -165,7 +165,7 @@ export const posture_api_FindingInstance_output: JsonSchema = { /** * The schema of `posture-api_RemediationJobSummary` in responses. */ -export const posture_api_RemediationJobSummary_output: JsonSchema = { +export const posture$$api_RemediationJobSummary: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -194,7 +194,7 @@ export const posture_api_RemediationJobSummary_output: JsonSchema = { /** * The schema of `posture-api_WebhookInvocationSummary` in responses. */ -export const posture_api_WebhookInvocationSummary_output: JsonSchema = { +export const posture$$api_WebhookInvocationSummary: JsonSchema = { "properties": { "latest_job": { "properties": { @@ -245,7 +245,7 @@ export const posture_api_WebhookInvocationSummary_output: JsonSchema = { /** * The schema of `posture-api_finding-instance-response` in responses. */ -export const posture_api_finding_instance_response_output: JsonSchema = { +export const posture$$api_finding$$instance$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -264,7 +264,7 @@ export const posture_api_finding_instance_response_output: JsonSchema = { /** * The schema of `posture-api_paginated-finding-instance-list` in responses. */ -export const posture_api_paginated_finding_instance_list_output: JsonSchema = { +export const posture$$api_paginated$$finding$$instance$$list: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/schemas.ts index c1d8300ee..4c899cdc9 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `posture-api_FindingInstanceBulkActionRequest`. */ -export const posture_api_FindingInstanceBulkActionRequest: JsonSchema = { +export const posture$$api_FindingInstanceBulkActionRequest: JsonSchema = { "description": "Request body for bulk actions on finding instances.", "properties": { "check_instances": { @@ -27,7 +27,7 @@ export const posture_api_FindingInstanceBulkActionRequest: JsonSchema = { /** * The schema of `posture-api_FindingInstanceExportFilterRequest`. */ -export const posture_api_FindingInstanceExportFilterRequest: JsonSchema = { +export const posture$$api_FindingInstanceExportFilterRequest: JsonSchema = { "description": "Filter specification for finding instance exports.", "properties": { "archived": { @@ -63,7 +63,7 @@ export const posture_api_FindingInstanceExportFilterRequest: JsonSchema = { /** * The schema of `posture-api_FindingInstanceExportOrderFilterRequest`. */ -export const posture_api_FindingInstanceExportOrderFilterRequest: JsonSchema = { +export const posture$$api_FindingInstanceExportOrderFilterRequest: JsonSchema = { "description": "Order specification for finding instance exports.", "properties": { "direction": { 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 1ce5ecd4a..5fd0f9802 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts @@ -1,82 +1,90 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - posture_api_DlpContext_output, - posture_api_ExportJobTypeEnum_output, - posture_api_ExportJob_output, - posture_api_RemediationJobStatusEnum_output, - posture_api_StatusEnum_output, - posture_api_api_response_collection_output, - posture_api_api_response_common_output, - posture_api_export_job_response_output, - posture_api_messages_output, - posture_api_result_info_output, + posture$$api_DlpContext, + posture$$api_ExportJob, + posture$$api_ExportJobTypeEnum, + posture$$api_RemediationJobStatusEnum, + posture$$api_StatusEnum, + posture$$api_api$$response$$collection, + posture$$api_api$$response$$common, + posture$$api_export$$job$$response, + posture$$api_messages, + posture$$api_result$$info, } from "../../outputs.js"; -import { posture_api_DirectionEnum } from "../../schemas.js"; +import { posture$$api_DirectionEnum } from "../../schemas.js"; import { - posture_api_AssetCategory_output, - posture_api_AssetField_output, - posture_api_Asset_output, - posture_api_FindingInstance_output, - posture_api_RemediationJobSummary_output, - posture_api_WebhookInvocationSummary_output, - posture_api_finding_instance_response_output, - posture_api_paginated_finding_instance_list_output, + posture$$api_Asset, + posture$$api_AssetCategory, + posture$$api_AssetField, + posture$$api_FindingInstance, + posture$$api_RemediationJobSummary, + posture$$api_WebhookInvocationSummary, + posture$$api_finding$$instance$$response, + posture$$api_paginated$$finding$$instance$$list, } from "./outputs.js"; import { - posture_api_FindingInstanceBulkActionRequest, - posture_api_FindingInstanceExportFilterRequest, - posture_api_FindingInstanceExportOrderFilterRequest, + posture$$api_FindingInstanceBulkActionRequest, + posture$$api_FindingInstanceExportFilterRequest, + posture$$api_FindingInstanceExportOrderFilterRequest, } from "./schemas.js"; /** - * The tools of `zero_trust.casb.findings.instances`. + * The tools of `zeroTrust.casb.findings.instances`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_findings_instances_archive", + name: "zeroTrust_casb_findings_instances_archive", title: "Archive a finding", description: "Archive one or more finding instances.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_FindingInstanceBulkActionRequest" }, - "finding_id": { - "contentEncoding": "base64", - "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_id": { + "contentEncoding": "base64", + "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_id" + "path" ], $defs: { - "posture-api_FindingInstanceBulkActionRequest": posture_api_FindingInstanceBulkActionRequest, + "posture-api_FindingInstanceBulkActionRequest": posture$$api_FindingInstanceBulkActionRequest, }, }, outputSchema: { "$ref": "#/$defs/posture-api_finding-instance-response", $defs: { - "posture-api_Asset": posture_api_Asset_output, - "posture-api_AssetCategory": posture_api_AssetCategory_output, - "posture-api_AssetField": posture_api_AssetField_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_FindingInstance": posture_api_FindingInstance_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, - "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_finding-instance-response": posture_api_finding_instance_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_Asset": posture$$api_Asset, + "posture-api_AssetCategory": posture$$api_AssetCategory, + "posture-api_AssetField": posture$$api_AssetField, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_FindingInstance": posture$$api_FindingInstance, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, + "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-instance-response": posture$$api_finding$$instance$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -105,17 +113,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_Asset": posture_api_Asset_output, - "posture-api_AssetCategory": posture_api_AssetCategory_output, - "posture-api_AssetField": posture_api_AssetField_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_FindingInstance": posture_api_FindingInstance_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, - "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_finding-instance-response": posture_api_finding_instance_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_Asset": posture$$api_Asset, + "posture-api_AssetCategory": posture$$api_AssetCategory, + "posture-api_AssetField": posture$$api_AssetField, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_FindingInstance": posture$$api_FindingInstance, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, + "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-instance-response": posture$$api_finding$$instance$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -124,43 +132,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_findings_instances_export", + name: "zeroTrust_casb_findings_instances_export", title: "Create a finding instances export", description: "Creates a CSV export for Finding instances and accepts optional filters in the payload.\n\nIdentify the finding as `-`: join the `integration.id` and\n`finding.id` of the finding (from the List posture findings response) with a hyphen.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_FindingInstanceExportFilterRequest" }, - "finding_namespace_id": { - "description": "Identifies the finding whose instances to export, in the form `-`.\nTake `integration.id` and `finding.id` from the finding in the List posture findings response\nand join them with a hyphen.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "storage_namespace_id": { + "description": "Identifies the finding whose instances to export, in the form `-`.\nTake `integration.id` and `finding.id` from the finding in the List posture findings response\nand join them with a hyphen.", + "type": "string" + } + }, + "required": [ + "account_id", + "storage_namespace_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_namespace_id" + "path" ], $defs: { - "posture-api_DirectionEnum": posture_api_DirectionEnum, - "posture-api_FindingInstanceExportFilterRequest": posture_api_FindingInstanceExportFilterRequest, - "posture-api_FindingInstanceExportOrderFilterRequest": posture_api_FindingInstanceExportOrderFilterRequest, + "posture-api_DirectionEnum": posture$$api_DirectionEnum, + "posture-api_FindingInstanceExportFilterRequest": posture$$api_FindingInstanceExportFilterRequest, + "posture-api_FindingInstanceExportOrderFilterRequest": posture$$api_FindingInstanceExportOrderFilterRequest, }, }, outputSchema: { "$ref": "#/$defs/posture-api_export-job-response", $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -190,61 +206,69 @@ export const tools: readonly Tool[] = [ } }, $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ - path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_namespace_id")}/instances/export`, + path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "storage_namespace_id")}/instances/export`, body: { value: args["body"], mediaType: "application/json" }, }), }, { - name: "zero_trust_casb_findings_instances_get", + name: "zeroTrust_casb_findings_instances_get", title: "Get a finding instance using an instance ID", description: "Gets a security Finding instance by id.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "finding_id": { - "contentEncoding": "base64", - "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", - "type": "string" - }, - "instance_id": { - "description": "A uuid ID identifying this Finding instance.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_id": { + "contentEncoding": "base64", + "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", + "type": "string" + }, + "instance_id": { + "description": "A uuid ID identifying this Finding instance.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_id", + "instance_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_id", - "instance_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_finding-instance-response", $defs: { - "posture-api_Asset": posture_api_Asset_output, - "posture-api_AssetCategory": posture_api_AssetCategory_output, - "posture-api_AssetField": posture_api_AssetField_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_FindingInstance": posture_api_FindingInstance_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, - "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_finding-instance-response": posture_api_finding_instance_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_Asset": posture$$api_Asset, + "posture-api_AssetCategory": posture$$api_AssetCategory, + "posture-api_AssetField": posture$$api_AssetField, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_FindingInstance": posture$$api_FindingInstance, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, + "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-instance-response": posture$$api_finding$$instance$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -274,17 +298,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_Asset": posture_api_Asset_output, - "posture-api_AssetCategory": posture_api_AssetCategory_output, - "posture-api_AssetField": posture_api_AssetField_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_FindingInstance": posture_api_FindingInstance_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, - "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_finding-instance-response": posture_api_finding_instance_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_Asset": posture$$api_Asset, + "posture-api_AssetCategory": posture$$api_AssetCategory, + "posture-api_AssetField": posture$$api_AssetField, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_FindingInstance": posture$$api_FindingInstance, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, + "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-instance-response": posture$$api_finding$$instance$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -292,120 +316,133 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_findings_instances_list", + name: "zeroTrust_casb_findings_instances_list", title: "List instances of a finding", description: "Lists all security finding instances for a given security finding.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "archived": { - "description": "Archived", - "type": "boolean" - }, - "asset_ids": { - "description": "Filter finding instances by an array of asset IDs. Supports multiple comma-separated values.", - "items": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_id": { + "contentEncoding": "base64", + "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", + "type": "string" + } }, - "type": "array" - }, - "cursor": { - "description": "A cursor for pagination. Obtained from the `result_info.cursor` field of a previous response.", - "type": "string" - }, - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" + "required": [ + "account_id", + "finding_id" ], - "type": "string" + "type": "object" }, - "finding_id": { - "contentEncoding": "base64", - "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", - "type": "string" - }, - "finding_instance_ids": { - "description": "Filter finding instances by an array of finding instance IDs. Supports multiple comma-separated values.", - "items": { - "format": "uuid", - "type": "string" + "query": { + "properties": { + "archived": { + "description": "Archived", + "type": "boolean" + }, + "asset_ids": { + "description": "Filter finding instances by an array of asset IDs. Supports multiple comma-separated values.", + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "cursor": { + "description": "A cursor for pagination. Obtained from the `result_info.cursor` field of a previous response.", + "type": "string" + }, + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "finding_instance_ids": { + "description": "Filter finding instances by an array of finding instance IDs. Supports multiple comma-separated values.", + "items": { + "format": "uuid", + "type": "string" + }, + "type": "array" + }, + "max_affliction_date": { + "description": "Filter to view findings that occurred on or before the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", + "format": "date-time", + "type": "string" + }, + "min_affliction_date": { + "description": "Filter to view findings that occurred on or after the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", + "format": "date-time", + "type": "string" + }, + "order": { + "description": "Which field to use when ordering the Finding's instances.\nWhen ordering by 'remediation.status', only the most recent non-stale remediation job is considered. Stale jobs (created before the instance's affliction_date) are treated as having no status for ordering purposes.", + "enum": [ + "affliction_date", + "asset.name", + "remediation.status" + ], + "type": "string" + }, + "page": { + "description": "A page number within the paginated result set.", + "type": "integer" + }, + "per_page": { + "description": "Number of results to return per page.", + "type": "integer" + }, + "remediation_statuses": { + "description": "Filter finding instances by most recent remediation job status. Supports multiple comma-separated values.\nUse 'none' to filter instances with no remediation jobs or instances where the most recent job is stale.\nNote: Stale jobs (created before the instance's affliction_date) are ignored for filtering purposes, but are still included in the 'remediations' array with stale=true.", + "items": { + "enum": [ + "none", + "pending", + "processing", + "validating", + "completed", + "failed" + ], + "type": "string" + }, + "type": "array" + }, + "search": { + "description": "A search term.", + "type": "string" + } }, - "type": "array" - }, - "max_affliction_date": { - "description": "Filter to view findings that occurred on or before the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", - "format": "date-time", - "type": "string" - }, - "min_affliction_date": { - "description": "Filter to view findings that occurred on or after the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", - "format": "date-time", - "type": "string" - }, - "order": { - "description": "Which field to use when ordering the Finding's instances.\nWhen ordering by 'remediation.status', only the most recent non-stale remediation job is considered. Stale jobs (created before the instance's affliction_date) are treated as having no status for ordering purposes.", - "enum": [ - "affliction_date", - "asset.name", - "remediation.status" - ], - "type": "string" - }, - "page": { - "description": "A page number within the paginated result set.", - "type": "integer" - }, - "per_page": { - "description": "Number of results to return per page.", - "type": "integer" - }, - "remediation_statuses": { - "description": "Filter finding instances by most recent remediation job status. Supports multiple comma-separated values.\nUse 'none' to filter instances with no remediation jobs or instances where the most recent job is stale.\nNote: Stale jobs (created before the instance's affliction_date) are ignored for filtering purposes, but are still included in the 'remediations' array with stale=true.", - "items": { - "enum": [ - "none", - "pending", - "processing", - "validating", - "completed", - "failed" - ], - "type": "string" - }, - "type": "array" - }, - "search": { - "description": "A search term.", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "finding_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_paginated-finding-instance-list", $defs: { - "posture-api_Asset": posture_api_Asset_output, - "posture-api_AssetCategory": posture_api_AssetCategory_output, - "posture-api_AssetField": posture_api_AssetField_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_FindingInstance": posture_api_FindingInstance_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, - "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, - "posture-api_api-response-collection": posture_api_api_response_collection_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_paginated-finding-instance-list": posture_api_paginated_finding_instance_list_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_Asset": posture$$api_Asset, + "posture-api_AssetCategory": posture$$api_AssetCategory, + "posture-api_AssetField": posture$$api_AssetField, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_FindingInstance": posture$$api_FindingInstance, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, + "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_messages": posture$$api_messages, + "posture-api_paginated-finding-instance-list": posture$$api_paginated$$finding$$instance$$list, + "posture-api_result-info": posture$$api_result$$info, }, }, annotations: { @@ -435,81 +472,89 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_Asset": posture_api_Asset_output, - "posture-api_AssetCategory": posture_api_AssetCategory_output, - "posture-api_AssetField": posture_api_AssetField_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_FindingInstance": posture_api_FindingInstance_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, - "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, - "posture-api_api-response-collection": posture_api_api_response_collection_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_paginated-finding-instance-list": posture_api_paginated_finding_instance_list_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_Asset": posture$$api_Asset, + "posture-api_AssetCategory": posture$$api_AssetCategory, + "posture-api_AssetField": posture$$api_AssetField, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_FindingInstance": posture$$api_FindingInstance, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, + "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, + "posture-api_paginated-finding-instance-list": posture$$api_paginated$$finding$$instance$$list, + "posture-api_result-info": posture$$api_result$$info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings/${pathParam(args, "finding_id")}/instances`, query: [ - ["archived", args["archived"], true], - ["cursor", args["cursor"], true], - ["direction", args["direction"], true], - ["max_affliction_date", args["max_affliction_date"], true], - ["min_affliction_date", args["min_affliction_date"], true], - ["order", args["order"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["remediation_statuses", args["remediation_statuses"], false], - ["finding_instance_ids", args["finding_instance_ids"], true], - ["asset_ids", args["asset_ids"], true], + ["archived", param(args, "query", "archived"), true], + ["cursor", param(args, "query", "cursor"), true], + ["direction", param(args, "query", "direction"), true], + ["max_affliction_date", param(args, "query", "max_affliction_date"), true], + ["min_affliction_date", param(args, "query", "min_affliction_date"), true], + ["order", param(args, "query", "order"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["remediation_statuses", param(args, "query", "remediation_statuses"), false], + ["finding_instance_ids", param(args, "query", "finding_instance_ids"), true], + ["asset_ids", param(args, "query", "asset_ids"), true], ], }), }, { - name: "zero_trust_casb_findings_instances_unarchive", + name: "zeroTrust_casb_findings_instances_unarchive", title: "Remove the archive marking from a finding instance", description: "Remove the archive marking from one or more finding instances.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_FindingInstanceBulkActionRequest" }, - "finding_id": { - "contentEncoding": "base64", - "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_id": { + "contentEncoding": "base64", + "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_id" + "path" ], $defs: { - "posture-api_FindingInstanceBulkActionRequest": posture_api_FindingInstanceBulkActionRequest, + "posture-api_FindingInstanceBulkActionRequest": posture$$api_FindingInstanceBulkActionRequest, }, }, outputSchema: { "$ref": "#/$defs/posture-api_finding-instance-response", $defs: { - "posture-api_Asset": posture_api_Asset_output, - "posture-api_AssetCategory": posture_api_AssetCategory_output, - "posture-api_AssetField": posture_api_AssetField_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_FindingInstance": posture_api_FindingInstance_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, - "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_finding-instance-response": posture_api_finding_instance_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_Asset": posture$$api_Asset, + "posture-api_AssetCategory": posture$$api_AssetCategory, + "posture-api_AssetField": posture$$api_AssetField, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_FindingInstance": posture$$api_FindingInstance, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, + "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-instance-response": posture$$api_finding$$instance$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -538,17 +583,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_Asset": posture_api_Asset_output, - "posture-api_AssetCategory": posture_api_AssetCategory_output, - "posture-api_AssetField": posture_api_AssetField_output, - "posture-api_DlpContext": posture_api_DlpContext_output, - "posture-api_FindingInstance": posture_api_FindingInstance_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_RemediationJobSummary": posture_api_RemediationJobSummary_output, - "posture-api_WebhookInvocationSummary": posture_api_WebhookInvocationSummary_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_finding-instance-response": posture_api_finding_instance_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_Asset": posture$$api_Asset, + "posture-api_AssetCategory": posture$$api_AssetCategory, + "posture-api_AssetField": posture$$api_AssetField, + "posture-api_DlpContext": posture$$api_DlpContext, + "posture-api_FindingInstance": posture$$api_FindingInstance, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, + "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-instance-response": posture$$api_finding$$instance$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts index 5f57983e3..cea45810e 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_Finding` in responses. */ -export const posture_api_Finding_output: JsonSchema = { +export const posture$$api_Finding: JsonSchema = { "properties": { "active_count": { "type": "integer" @@ -54,7 +54,7 @@ export const posture_api_Finding_output: JsonSchema = { /** * The schema of `posture-api_FindingRemediation` in responses. */ -export const posture_api_FindingRemediation_output: JsonSchema = { +export const posture$$api_FindingRemediation: JsonSchema = { "oneOf": [ { "properties": { @@ -100,7 +100,7 @@ export const posture_api_FindingRemediation_output: JsonSchema = { /** * The schema of `posture-api_FindingSeverityOverride` in responses. */ -export const posture_api_FindingSeverityOverride_output: JsonSchema = { +export const posture$$api_FindingSeverityOverride: JsonSchema = { "properties": { "created_by": { "type": "string" @@ -119,7 +119,7 @@ export const posture_api_FindingSeverityOverride_output: JsonSchema = { /** * The schema of `posture-api_FindingType` in responses. */ -export const posture_api_FindingType_output: JsonSchema = { +export const posture$$api_FindingType: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_BaseFindingType" @@ -138,7 +138,7 @@ export const posture_api_FindingType_output: JsonSchema = { /** * The schema of `posture-api_finding-response` in responses. */ -export const posture_api_finding_response_output: JsonSchema = { +export const posture$$api_finding$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -157,7 +157,7 @@ export const posture_api_finding_response_output: JsonSchema = { /** * The schema of `posture-api_paginated-finding-list` in responses. */ -export const posture_api_paginated_finding_list_output: JsonSchema = { +export const posture$$api_paginated$$finding$$list: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts index 1e27f5e6d..471b5f436 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_FindingBulkActionRequest`. */ -export const posture_api_FindingBulkActionRequest: JsonSchema = { +export const posture$$api_FindingBulkActionRequest: JsonSchema = { "description": "Request body for bulk actions on findings.", "properties": { "checks": { @@ -28,7 +28,7 @@ export const posture_api_FindingBulkActionRequest: JsonSchema = { /** * The schema of `posture-api_FindingExportFilterRequest`. */ -export const posture_api_FindingExportFilterRequest: JsonSchema = { +export const posture$$api_FindingExportFilterRequest: JsonSchema = { "description": "Filter specification for findings export jobs.", "properties": { "ignored": { @@ -93,7 +93,7 @@ export const posture_api_FindingExportFilterRequest: JsonSchema = { /** * The schema of `posture-api_FindingExportOrderFilterRequest`. */ -export const posture_api_FindingExportOrderFilterRequest: JsonSchema = { +export const posture$$api_FindingExportOrderFilterRequest: JsonSchema = { "description": "Order specification for finding exports.", "properties": { "direction": { @@ -122,7 +122,7 @@ export const posture_api_FindingExportOrderFilterRequest: JsonSchema = { /** * The schema of `posture-api_SeveritiesEnum`. */ -export const posture_api_SeveritiesEnum: JsonSchema = { +export const posture$$api_SeveritiesEnum: JsonSchema = { "description": "The severity level for export filters.", "enum": [ "CRITICAL", @@ -136,7 +136,7 @@ export const posture_api_SeveritiesEnum: JsonSchema = { /** * The schema of `posture-api_TuneFindingSeverityRequest`. */ -export const posture_api_TuneFindingSeverityRequest: JsonSchema = { +export const posture$$api_TuneFindingSeverityRequest: JsonSchema = { "description": "Request body for updating a finding's severity.", "properties": { "new_severity": { diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts index 4855e60bd..41b70a994 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts @@ -1,89 +1,97 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - posture_api_BaseFindingType_output, - posture_api_CredentialHealthStatusEnum_output, - posture_api_ExportJobTypeEnum_output, - posture_api_ExportJob_output, - posture_api_FindingCategoryTypeEnum_output, - posture_api_FindingCategory_output, - posture_api_FindingTypeVendorsEnum_output, - posture_api_IntegrationPolicy_output, - posture_api_IntegrationSummary_output, - posture_api_ObservationEnum_output, - posture_api_ProductEnum_output, - posture_api_SeverityEnum_output, - posture_api_StatusEnum_output, - posture_api_Vendor_output, - posture_api_ZeroTrustProduct_output, - posture_api_api_response_collection_output, - posture_api_api_response_common_output, - posture_api_error_response_output, - posture_api_export_job_response_output, - posture_api_messages_output, - posture_api_result_info_output, + posture$$api_BaseFindingType, + posture$$api_CredentialHealthStatusEnum, + posture$$api_ExportJob, + posture$$api_ExportJobTypeEnum, + posture$$api_FindingCategory, + posture$$api_FindingCategoryTypeEnum, + posture$$api_FindingTypeVendorsEnum, + posture$$api_IntegrationPolicy, + posture$$api_IntegrationSummary, + posture$$api_ObservationEnum, + posture$$api_ProductEnum, + posture$$api_SeverityEnum, + posture$$api_StatusEnum, + posture$$api_Vendor, + posture$$api_ZeroTrustProduct, + posture$$api_api$$response$$collection, + posture$$api_api$$response$$common, + posture$$api_error$$response, + posture$$api_export$$job$$response, + posture$$api_messages, + posture$$api_result$$info, } from "../outputs.js"; import { - posture_api_DirectionEnum, - posture_api_VendorsEnum, + posture$$api_DirectionEnum, + posture$$api_VendorsEnum, } from "../schemas.js"; import { - posture_api_FindingRemediation_output, - posture_api_FindingSeverityOverride_output, - posture_api_FindingType_output, - posture_api_Finding_output, - posture_api_finding_response_output, - posture_api_paginated_finding_list_output, + posture$$api_Finding, + posture$$api_FindingRemediation, + posture$$api_FindingSeverityOverride, + posture$$api_FindingType, + posture$$api_finding$$response, + posture$$api_paginated$$finding$$list, } from "./outputs.js"; import { - posture_api_FindingBulkActionRequest, - posture_api_FindingExportFilterRequest, - posture_api_FindingExportOrderFilterRequest, - posture_api_SeveritiesEnum, - posture_api_TuneFindingSeverityRequest, + posture$$api_FindingBulkActionRequest, + posture$$api_FindingExportFilterRequest, + posture$$api_FindingExportOrderFilterRequest, + posture$$api_SeveritiesEnum, + posture$$api_TuneFindingSeverityRequest, } from "./schemas.js"; /** - * The tools of `zero_trust.casb.findings`. + * The tools of `zeroTrust.casb.findings`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_findings_export", + name: "zeroTrust_casb_findings_export", title: "Create new findings export request", description: "Creates a CSV export for findings and accepts optional filters in the payload.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_FindingExportFilterRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "posture-api_DirectionEnum": posture_api_DirectionEnum, - "posture-api_FindingExportFilterRequest": posture_api_FindingExportFilterRequest, - "posture-api_FindingExportOrderFilterRequest": posture_api_FindingExportOrderFilterRequest, - "posture-api_SeveritiesEnum": posture_api_SeveritiesEnum, - "posture-api_VendorsEnum": posture_api_VendorsEnum, + "posture-api_DirectionEnum": posture$$api_DirectionEnum, + "posture-api_FindingExportFilterRequest": posture$$api_FindingExportFilterRequest, + "posture-api_FindingExportOrderFilterRequest": posture$$api_FindingExportOrderFilterRequest, + "posture-api_SeveritiesEnum": posture$$api_SeveritiesEnum, + "posture-api_VendorsEnum": posture$$api_VendorsEnum, }, }, outputSchema: { "$ref": "#/$defs/posture-api_export-job-response", $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -112,12 +120,12 @@ export const tools: readonly Tool[] = [ } }, $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -126,49 +134,57 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_findings_get", + name: "zeroTrust_casb_findings_get", title: "Get a posture finding", description: "Gets a security Finding that has been identified as being problematic.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "finding_id": { - "contentEncoding": "base64", - "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_id": { + "contentEncoding": "base64", + "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_finding-response", $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -208,26 +224,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -235,50 +251,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_findings_ignore", + name: "zeroTrust_casb_findings_ignore", title: "Mark a finding as ignored", description: "Given a list of findings, mark as ignored. Does nothing if Finding is already ignored.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_FindingBulkActionRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "posture-api_FindingBulkActionRequest": posture_api_FindingBulkActionRequest, + "posture-api_FindingBulkActionRequest": posture$$api_FindingBulkActionRequest, }, }, outputSchema: { "$ref": "#/$defs/posture-api_finding-response", $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -306,25 +330,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -333,145 +357,158 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_findings_list", + name: "zeroTrust_casb_findings_list", title: "List posture findings", description: "List all security findings that have been identified as being problematic. \nThis will return a list of findings regardless if they have been ignored or not.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "cursor": { - "description": "A cursor for pagination. Obtained from the `result_info.cursor` field of a previous response.", - "type": "string" - }, - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "finding_type_ids": { - "description": "A comma separated list of UUIDs identifying the finding type(s).", - "format": "uuid", - "type": "string" - }, - "ignored": { - "description": "Filter for only the ignored findings. Set to false to only see \"active\" items", - "type": "boolean" - }, - "integration_id": { - "description": "Filter by an integration ID", - "format": "uuid", - "type": "string" - }, - "max_affliction_date": { - "description": "Filter to view findings that occurred on or before the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", - "format": "date-time", - "type": "string" - }, - "min_affliction_date": { - "description": "Filter to view findings that occurred on or after the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", - "format": "date-time", - "type": "string" - }, - "observation": { - "description": "Filter by observation type of the finding", - "enum": [ - "Activity", - "Insight", - "Issue" - ], - "type": "string" - }, - "order": { - "description": "Which field to use when ordering the findings.", - "enum": [ - "finding.name", - "instance_count", - "integration.name", - "latest_affliction_date", - "severity" - ], - "type": "string" - }, - "page": { - "description": "A page number within the paginated result set.", - "type": "integer" - }, - "per_page": { - "description": "Number of results to return per page.", - "type": "integer" - }, - "product": { - "description": "Filter by product category of the finding", - "enum": [ - "Cloud", - "Saas" - ], - "type": "string" - }, - "search": { - "description": "A search term.", - "type": "string" - }, - "severity": { - "description": "Filter by severity", - "enum": [ - "Critical", - "High", - "Medium", - "Low" - ], - "type": "string" - }, - "type": { - "description": "Filter by type of the finding", - "enum": [ - "Content", - "Posture" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "vendor": { - "$ref": "#/$defs/posture-api_VendorsEnum", - "description": "Filter by vendor" + "type": "object" + }, + "query": { + "properties": { + "cursor": { + "description": "A cursor for pagination. Obtained from the `result_info.cursor` field of a previous response.", + "type": "string" + }, + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "finding_type_ids": { + "description": "A comma separated list of UUIDs identifying the finding type(s).", + "format": "uuid", + "type": "string" + }, + "ignored": { + "description": "Filter for only the ignored findings. Set to false to only see \"active\" items", + "type": "boolean" + }, + "integration_id": { + "description": "Filter by an integration ID", + "format": "uuid", + "type": "string" + }, + "max_affliction_date": { + "description": "Filter to view findings that occurred on or before the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", + "format": "date-time", + "type": "string" + }, + "min_affliction_date": { + "description": "Filter to view findings that occurred on or after the affliction date. Can be a date-time in ISO 8601 format or an epoch timestamp.", + "format": "date-time", + "type": "string" + }, + "observation": { + "description": "Filter by observation type of the finding", + "enum": [ + "Activity", + "Insight", + "Issue" + ], + "type": "string" + }, + "order": { + "description": "Which field to use when ordering the findings.", + "enum": [ + "finding.name", + "instance_count", + "integration.name", + "latest_affliction_date", + "severity" + ], + "type": "string" + }, + "page": { + "description": "A page number within the paginated result set.", + "type": "integer" + }, + "per_page": { + "description": "Number of results to return per page.", + "type": "integer" + }, + "product": { + "description": "Filter by product category of the finding", + "enum": [ + "Cloud", + "Saas" + ], + "type": "string" + }, + "search": { + "description": "A search term.", + "type": "string" + }, + "severity": { + "description": "Filter by severity", + "enum": [ + "Critical", + "High", + "Medium", + "Low" + ], + "type": "string" + }, + "type": { + "description": "Filter by type of the finding", + "enum": [ + "Content", + "Posture" + ], + "type": "string" + }, + "vendor": { + "$ref": "#/$defs/posture-api_VendorsEnum", + "description": "Filter by vendor" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "posture-api_VendorsEnum": posture_api_VendorsEnum, + "posture-api_VendorsEnum": posture$$api_VendorsEnum, }, }, outputSchema: { "$ref": "#/$defs/posture-api_paginated-finding-list", $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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-collection": posture_api_api_response_collection_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_paginated-finding-list": posture_api_paginated_finding_list_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_messages": posture$$api_messages, + "posture-api_paginated-finding-list": posture$$api_paginated$$finding$$list, + "posture-api_result-info": posture$$api_result$$info, }, }, annotations: { @@ -508,96 +545,104 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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-collection": posture_api_api_response_collection_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_paginated-finding-list": posture_api_paginated_finding_list_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, + "posture-api_paginated-finding-list": posture$$api_paginated$$finding$$list, + "posture-api_result-info": posture$$api_result$$info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/findings`, query: [ - ["cursor", args["cursor"], true], - ["direction", args["direction"], true], - ["ignored", args["ignored"], true], - ["integration_id", args["integration_id"], true], - ["max_affliction_date", args["max_affliction_date"], true], - ["min_affliction_date", args["min_affliction_date"], true], - ["observation", args["observation"], true], - ["order", args["order"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["product", args["product"], true], - ["search", args["search"], true], - ["severity", args["severity"], true], - ["type", args["type"], true], - ["vendor", args["vendor"], true], - ["finding_type_ids", args["finding_type_ids"], true], + ["cursor", param(args, "query", "cursor"), true], + ["direction", param(args, "query", "direction"), true], + ["ignored", param(args, "query", "ignored"), true], + ["integration_id", param(args, "query", "integration_id"), true], + ["max_affliction_date", param(args, "query", "max_affliction_date"), true], + ["min_affliction_date", param(args, "query", "min_affliction_date"), true], + ["observation", param(args, "query", "observation"), true], + ["order", param(args, "query", "order"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["product", param(args, "query", "product"), true], + ["search", param(args, "query", "search"), true], + ["severity", param(args, "query", "severity"), true], + ["type", param(args, "query", "type"), true], + ["vendor", param(args, "query", "vendor"), true], + ["finding_type_ids", param(args, "query", "finding_type_ids"), true], ], }), }, { - name: "zero_trust_casb_findings_reset_severity", + name: "zeroTrust_casb_findings_resetSeverity", title: "Reset severity for a finding back to the default", description: "If a Finding's severity has been changed, reset it back to default value.\nDoes nothing if no override exists.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "finding_id": { - "contentEncoding": "base64", - "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_id": { + "contentEncoding": "base64", + "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_finding-response", $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -629,26 +674,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -656,56 +701,64 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_findings_tune_severity", + name: "zeroTrust_casb_findings_tuneSeverity", title: "Update the severity for a finding", description: "Update the severity of a Finding.\nThis will update the `severity_override` field on the Finding payload with the new severity value.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_TuneFindingSeverityRequest" }, - "finding_id": { - "contentEncoding": "base64", - "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "finding_id": { + "contentEncoding": "base64", + "description": "The `id` of a finding, as returned in each item of the List posture findings response.\nIt is a base64-encoded identifier.", + "type": "string" + } + }, + "required": [ + "account_id", + "finding_id" + ], + "type": "object" } }, required: [ - "account_id", - "finding_id", + "path", "body" ], $defs: { - "posture-api_TuneFindingSeverityRequest": posture_api_TuneFindingSeverityRequest, + "posture-api_TuneFindingSeverityRequest": posture$$api_TuneFindingSeverityRequest, }, }, outputSchema: { "$ref": "#/$defs/posture-api_finding-response", $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -737,26 +790,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -765,50 +818,58 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_findings_unignore", + name: "zeroTrust_casb_findings_unignore", title: "Remove ignore marker from a finding", description: "Ability to un-ignore a Finding if it's previously been ignored. Does nothing if the Finding is not ignored.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_FindingBulkActionRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "posture-api_FindingBulkActionRequest": posture_api_FindingBulkActionRequest, + "posture-api_FindingBulkActionRequest": posture$$api_FindingBulkActionRequest, }, }, outputSchema: { "$ref": "#/$defs/posture-api_finding-response", $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -836,25 +897,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_BaseFindingType": posture_api_BaseFindingType_output, - "posture-api_CredentialHealthStatusEnum": posture_api_CredentialHealthStatusEnum_output, - "posture-api_Finding": posture_api_Finding_output, - "posture-api_FindingCategory": posture_api_FindingCategory_output, - "posture-api_FindingCategoryTypeEnum": posture_api_FindingCategoryTypeEnum_output, - "posture-api_FindingRemediation": posture_api_FindingRemediation_output, - "posture-api_FindingSeverityOverride": posture_api_FindingSeverityOverride_output, - "posture-api_FindingType": posture_api_FindingType_output, - "posture-api_FindingTypeVendorsEnum": posture_api_FindingTypeVendorsEnum_output, - "posture-api_IntegrationPolicy": posture_api_IntegrationPolicy_output, - "posture-api_IntegrationSummary": posture_api_IntegrationSummary_output, - "posture-api_ObservationEnum": posture_api_ObservationEnum_output, - "posture-api_ProductEnum": posture_api_ProductEnum_output, - "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_finding-response": posture_api_finding_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_BaseFindingType": posture$$api_BaseFindingType, + "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, + "posture-api_Finding": posture$$api_Finding, + "posture-api_FindingCategory": posture$$api_FindingCategory, + "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, + "posture-api_FindingRemediation": posture$$api_FindingRemediation, + "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, + "posture-api_FindingType": posture$$api_FindingType, + "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, + "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, + "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, + "posture-api_ObservationEnum": posture$$api_ObservationEnum, + "posture-api_ProductEnum": posture$$api_ProductEnum, + "posture-api_SeverityEnum": posture$$api_SeverityEnum, + "posture-api_Vendor": posture$$api_Vendor, + "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_finding-response": posture$$api_finding$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/integrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/integrations/outputs.ts index 0af54e47b..83ada64cb 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/integrations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/integrations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `one_IntegrationCreateResponse` in responses. */ -export const one_IntegrationCreateResponse_output: JsonSchema = { +export const one_IntegrationCreateResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -37,7 +37,7 @@ export const one_IntegrationCreateResponse_output: JsonSchema = { /** * The schema of `one_IntegrationDetailResponse` in responses. */ -export const one_IntegrationDetailResponse_output: JsonSchema = { +export const one_IntegrationDetailResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -68,7 +68,7 @@ export const one_IntegrationDetailResponse_output: JsonSchema = { /** * The schema of `one_IntegrationPauseResponse` in responses. */ -export const one_IntegrationPauseResponse_output: JsonSchema = { +export const one_IntegrationPauseResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -99,7 +99,7 @@ export const one_IntegrationPauseResponse_output: JsonSchema = { /** * The schema of `one_IntegrationResumeResponse` in responses. */ -export const one_IntegrationResumeResponse_output: JsonSchema = { +export const one_IntegrationResumeResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -130,7 +130,7 @@ export const one_IntegrationResumeResponse_output: JsonSchema = { /** * The schema of `one_IntegrationUpdateResponse` in responses. */ -export const one_IntegrationUpdateResponse_output: JsonSchema = { +export const one_IntegrationUpdateResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -161,7 +161,7 @@ export const one_IntegrationUpdateResponse_output: JsonSchema = { /** * The schema of `one_IntegrationV2Detail` in responses. */ -export const one_IntegrationV2Detail_output: JsonSchema = { +export const one_IntegrationV2Detail: JsonSchema = { "properties": { "application": { "additionalProperties": { @@ -296,7 +296,7 @@ export const one_IntegrationV2Detail_output: JsonSchema = { /** * The schema of `one_IntegrationV2ListItem` in responses. */ -export const one_IntegrationV2ListItem_output: JsonSchema = { +export const one_IntegrationV2ListItem: JsonSchema = { "properties": { "application": { "additionalProperties": { @@ -378,7 +378,7 @@ export const one_IntegrationV2ListItem_output: JsonSchema = { /** * The schema of `one_PaginatedIntegrationV2ListItemList` in responses. */ -export const one_PaginatedIntegrationV2ListItemList_output: JsonSchema = { +export const one_PaginatedIntegrationV2ListItemList: JsonSchema = { "properties": { "errors": { "items": { diff --git a/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts index 3ab65c8a9..4861ef344 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/integrations/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, param, pathParam } from "../../../_/tool.js"; import { - one_IntegrationCreateResponse_output, - one_IntegrationDetailResponse_output, - one_IntegrationPauseResponse_output, - one_IntegrationResumeResponse_output, - one_IntegrationUpdateResponse_output, - one_IntegrationV2Detail_output, - one_IntegrationV2ListItem_output, - one_PaginatedIntegrationV2ListItemList_output, + one_IntegrationCreateResponse, + one_IntegrationDetailResponse, + one_IntegrationPauseResponse, + one_IntegrationResumeResponse, + one_IntegrationUpdateResponse, + one_IntegrationV2Detail, + one_IntegrationV2ListItem, + one_PaginatedIntegrationV2ListItemList, } from "./outputs.js"; import { one_IntegrationV2CreateRequest, @@ -18,26 +18,34 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.casb.integrations`. + * The tools of `zeroTrust.casb.integrations`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_integrations_create", + name: "zeroTrust_casb_integrations_create", title: "Create integration", description: "Creates a new integration for the specified application. Integration creation with OAuth is not supported by API at the moment. For other auth methods, use `GET /v2/applications/{application_id}/credential-guide` to see the required credential structure and example payloads for each vendor.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/one_IntegrationV2CreateRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -47,8 +55,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/one_IntegrationCreateResponse", $defs: { - "one_IntegrationCreateResponse": one_IntegrationCreateResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationCreateResponse": one_IntegrationCreateResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, annotations: { @@ -71,8 +79,8 @@ export const tools: readonly Tool[] = [ "400": null }, $defs: { - "one_IntegrationCreateResponse": one_IntegrationCreateResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationCreateResponse": one_IntegrationCreateResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, request: (args) => ({ @@ -81,24 +89,32 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_integrations_delete", + name: "zeroTrust_casb_integrations_delete", title: "Delete integration", description: "Delete an integration by soft-deleting it.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, - "id": { - "description": "Integration ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "id": { + "description": "Integration ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, annotations: { @@ -124,31 +140,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_integrations_get", + name: "zeroTrust_casb_integrations_get", title: "Get integration details", description: "Returns full integration details including use cases and permissions.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, - "id": { - "description": "Integration ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "id": { + "description": "Integration ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { "$ref": "#/$defs/one_IntegrationDetailResponse", $defs: { - "one_IntegrationDetailResponse": one_IntegrationDetailResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationDetailResponse": one_IntegrationDetailResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, annotations: { @@ -171,8 +195,8 @@ export const tools: readonly Tool[] = [ "404": null }, $defs: { - "one_IntegrationDetailResponse": one_IntegrationDetailResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationDetailResponse": one_IntegrationDetailResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, request: (args) => ({ @@ -180,78 +204,91 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_integrations_list", + name: "zeroTrust_casb_integrations_list", title: "List integrations", description: "Returns a paginated list of integrations for the account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, - "application": { - "description": "Filter by application/vendor (e.g., GOOGLE_WORKSPACE, MICROSOFT_INTERNAL).", - "type": "string" - }, - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "dlp_enabled": { - "description": "Filter by DLP enabled status (true/false).", - "type": "boolean" - }, - "order": { - "description": "Field to order results by.", - "enum": [ - "application", - "created", - "name", - "status" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "page": { - "description": "Page number within the paginated result set.", - "type": "integer" - }, - "page_size": { - "description": "Number of results per page.", - "type": "integer" - }, - "search": { - "description": "Search integrations by name or application.", - "type": "string" - }, - "status": { - "description": "Filter by integration status.", - "enum": [ - "Healthy", - "Initializing", - "Offline", - "Unhealthy" - ], - "type": "string" - }, - "use_cases": { - "description": "Filter by enabled use cases (e.g., casb, ces). Matches integrations enrolled in any of the specified values. Can be specified multiple times.", - "type": "string" + "query": { + "properties": { + "application": { + "description": "Filter by application/vendor (e.g., GOOGLE_WORKSPACE, MICROSOFT_INTERNAL).", + "type": "string" + }, + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "dlp_enabled": { + "description": "Filter by DLP enabled status (true/false).", + "type": "boolean" + }, + "order": { + "description": "Field to order results by.", + "enum": [ + "application", + "created", + "name", + "status" + ], + "type": "string" + }, + "page": { + "description": "Page number within the paginated result set.", + "type": "integer" + }, + "page_size": { + "description": "Number of results per page.", + "type": "integer" + }, + "search": { + "description": "Search integrations by name or application.", + "type": "string" + }, + "status": { + "description": "Filter by integration status.", + "enum": [ + "Healthy", + "Initializing", + "Offline", + "Unhealthy" + ], + "type": "string" + }, + "use_cases": { + "description": "Filter by enabled use cases (e.g., casb, ces). Matches integrations enrolled in any of the specified values. Can be specified multiple times.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/one_PaginatedIntegrationV2ListItemList", $defs: { - "one_IntegrationV2ListItem": one_IntegrationV2ListItem_output, - "one_PaginatedIntegrationV2ListItemList": one_PaginatedIntegrationV2ListItemList_output, + "one_IntegrationV2ListItem": one_IntegrationV2ListItem, + "one_PaginatedIntegrationV2ListItemList": one_PaginatedIntegrationV2ListItemList, }, }, annotations: { @@ -274,51 +311,59 @@ export const tools: readonly Tool[] = [ "400": null }, $defs: { - "one_IntegrationV2ListItem": one_IntegrationV2ListItem_output, - "one_PaginatedIntegrationV2ListItemList": one_PaginatedIntegrationV2ListItemList_output, + "one_IntegrationV2ListItem": one_IntegrationV2ListItem, + "one_PaginatedIntegrationV2ListItemList": one_PaginatedIntegrationV2ListItemList, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/one/integrations`, query: [ - ["application", args["application"], true], - ["direction", args["direction"], true], - ["dlp_enabled", args["dlp_enabled"], true], - ["order", args["order"], true], - ["page", args["page"], true], - ["page_size", args["page_size"], true], - ["search", args["search"], true], - ["status", args["status"], true], - ["use_cases", args["use_cases"], true], + ["application", param(args, "query", "application"), true], + ["direction", param(args, "query", "direction"), true], + ["dlp_enabled", param(args, "query", "dlp_enabled"), true], + ["order", param(args, "query", "order"), true], + ["page", param(args, "query", "page"), true], + ["page_size", param(args, "query", "page_size"), true], + ["search", param(args, "query", "search"), true], + ["status", param(args, "query", "status"), true], + ["use_cases", param(args, "query", "use_cases"), true], ], }), }, { - name: "zero_trust_casb_integrations_pause", + name: "zeroTrust_casb_integrations_pause", title: "Pause integration", description: "Pauses an integration, stopping all crawlers.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, - "id": { - "description": "Integration ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "id": { + "description": "Integration ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { "$ref": "#/$defs/one_IntegrationPauseResponse", $defs: { - "one_IntegrationPauseResponse": one_IntegrationPauseResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationPauseResponse": one_IntegrationPauseResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, annotations: { @@ -341,8 +386,8 @@ export const tools: readonly Tool[] = [ "400": null }, $defs: { - "one_IntegrationPauseResponse": one_IntegrationPauseResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationPauseResponse": one_IntegrationPauseResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, request: (args) => ({ @@ -350,31 +395,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_integrations_resume", + name: "zeroTrust_casb_integrations_resume", title: "Resume integration", description: "Resumes a paused integration, restarting crawlers.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, - "id": { - "description": "Integration ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "id": { + "description": "Integration ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], }, outputSchema: { "$ref": "#/$defs/one_IntegrationResumeResponse", $defs: { - "one_IntegrationResumeResponse": one_IntegrationResumeResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationResumeResponse": one_IntegrationResumeResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, annotations: { @@ -397,8 +450,8 @@ export const tools: readonly Tool[] = [ "400": null }, $defs: { - "one_IntegrationResumeResponse": one_IntegrationResumeResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationResumeResponse": one_IntegrationResumeResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, request: (args) => ({ @@ -406,27 +459,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_integrations_update", + name: "zeroTrust_casb_integrations_update", title: "Update integration", description: "Updates an integration's name, permissions, DLP profiles, use cases, or credentials.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account identifier.", - "type": "string" - }, "body": { "$ref": "#/$defs/one_PatchedUpdateIntegrationV2Request" }, - "id": { - "description": "Integration ID.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account identifier.", + "type": "string" + }, + "id": { + "description": "Integration ID.", + "type": "string" + } + }, + "required": [ + "account_id", + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path" ], $defs: { "one_PatchedUpdateIntegrationV2Request": one_PatchedUpdateIntegrationV2Request, @@ -435,8 +496,8 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/one_IntegrationUpdateResponse", $defs: { - "one_IntegrationUpdateResponse": one_IntegrationUpdateResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationUpdateResponse": one_IntegrationUpdateResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, annotations: { @@ -459,8 +520,8 @@ export const tools: readonly Tool[] = [ "400": null }, $defs: { - "one_IntegrationUpdateResponse": one_IntegrationUpdateResponse_output, - "one_IntegrationV2Detail": one_IntegrationV2Detail_output, + "one_IntegrationUpdateResponse": one_IntegrationUpdateResponse, + "one_IntegrationV2Detail": one_IntegrationV2Detail, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/outputs.ts index 45f40bab9..b0233ad79 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `posture-api_BaseFindingType` in responses. */ -export const posture_api_BaseFindingType_output: JsonSchema = { +export const posture$$api_BaseFindingType: JsonSchema = { "properties": { "applies_to_all_integrations": { "type": "boolean" @@ -105,7 +105,7 @@ export const posture_api_BaseFindingType_output: JsonSchema = { /** * The schema of `posture-api_CredentialHealthStatusEnum` in responses. */ -export const posture_api_CredentialHealthStatusEnum_output: JsonSchema = { +export const posture$$api_CredentialHealthStatusEnum: JsonSchema = { "enum": [ "Initializing", "Healthy", @@ -117,7 +117,7 @@ export const posture_api_CredentialHealthStatusEnum_output: JsonSchema = { /** * The schema of `posture-api_DlpContext` in responses. */ -export const posture_api_DlpContext_output: JsonSchema = { +export const posture$$api_DlpContext: JsonSchema = { "properties": { "created": { "format": "date-time", @@ -196,7 +196,7 @@ export const posture_api_DlpContext_output: JsonSchema = { /** * The schema of `posture-api_ExportJob` in responses. */ -export const posture_api_ExportJob_output: JsonSchema = { +export const posture$$api_ExportJob: JsonSchema = { "properties": { "download_url": { "oneOf": [ @@ -264,7 +264,7 @@ export const posture_api_ExportJob_output: JsonSchema = { /** * The schema of `posture-api_ExportJobTypeEnum` in responses. */ -export const posture_api_ExportJobTypeEnum_output: JsonSchema = { +export const posture$$api_ExportJobTypeEnum: JsonSchema = { "enum": [ "finding", "findingInstance", @@ -277,7 +277,7 @@ export const posture_api_ExportJobTypeEnum_output: JsonSchema = { /** * The schema of `posture-api_FindingCategory` in responses. */ -export const posture_api_FindingCategory_output: JsonSchema = { +export const posture$$api_FindingCategory: JsonSchema = { "properties": { "observation": { "$ref": "#/$defs/posture-api_ObservationEnum" @@ -300,7 +300,7 @@ export const posture_api_FindingCategory_output: JsonSchema = { /** * The schema of `posture-api_FindingCategoryTypeEnum` in responses. */ -export const posture_api_FindingCategoryTypeEnum_output: JsonSchema = { +export const posture$$api_FindingCategoryTypeEnum: JsonSchema = { "enum": [ "Content", "Posture" @@ -311,7 +311,7 @@ export const posture_api_FindingCategoryTypeEnum_output: JsonSchema = { /** * The schema of `posture-api_FindingTypeVendorsEnum` in responses. */ -export const posture_api_FindingTypeVendorsEnum_output: JsonSchema = { +export const posture$$api_FindingTypeVendorsEnum: JsonSchema = { "enum": [ "ANTHROPIC", "AWS", @@ -336,7 +336,7 @@ export const posture_api_FindingTypeVendorsEnum_output: JsonSchema = { /** * The schema of `posture-api_IntegrationPolicy` in responses. */ -export const posture_api_IntegrationPolicy_output: JsonSchema = { +export const posture$$api_IntegrationPolicy: JsonSchema = { "properties": { "client_id": { "oneOf": [ @@ -384,7 +384,7 @@ export const posture_api_IntegrationPolicy_output: JsonSchema = { /** * The schema of `posture-api_IntegrationSummary` in responses. */ -export const posture_api_IntegrationSummary_output: JsonSchema = { +export const posture$$api_IntegrationSummary: JsonSchema = { "properties": { "created": { "format": "date-time", @@ -468,7 +468,7 @@ export const posture_api_IntegrationSummary_output: JsonSchema = { /** * The schema of `posture-api_ObservationEnum` in responses. */ -export const posture_api_ObservationEnum_output: JsonSchema = { +export const posture$$api_ObservationEnum: JsonSchema = { "enum": [ "Issue", "Insight", @@ -480,7 +480,7 @@ export const posture_api_ObservationEnum_output: JsonSchema = { /** * The schema of `posture-api_ProductEnum` in responses. */ -export const posture_api_ProductEnum_output: JsonSchema = { +export const posture$$api_ProductEnum: JsonSchema = { "enum": [ "SaaS", "Cloud" @@ -491,7 +491,7 @@ export const posture_api_ProductEnum_output: JsonSchema = { /** * The schema of `posture-api_RemediationJobStatusEnum` in responses. */ -export const posture_api_RemediationJobStatusEnum_output: JsonSchema = { +export const posture$$api_RemediationJobStatusEnum: JsonSchema = { "enum": [ "pending", "processing", @@ -505,7 +505,7 @@ export const posture_api_RemediationJobStatusEnum_output: JsonSchema = { /** * The schema of `posture-api_SeverityEnum` in responses. */ -export const posture_api_SeverityEnum_output: JsonSchema = { +export const posture$$api_SeverityEnum: JsonSchema = { "enum": [ "Critical", "High", @@ -518,7 +518,7 @@ export const posture_api_SeverityEnum_output: JsonSchema = { /** * The schema of `posture-api_StatusEnum` in responses. */ -export const posture_api_StatusEnum_output: JsonSchema = { +export const posture$$api_StatusEnum: JsonSchema = { "enum": [ "Pending", "Success", @@ -532,7 +532,7 @@ export const posture_api_StatusEnum_output: JsonSchema = { /** * The schema of `posture-api_Vendor` in responses. */ -export const posture_api_Vendor_output: JsonSchema = { +export const posture$$api_Vendor: JsonSchema = { "properties": { "description": { "oneOf": [ @@ -587,7 +587,7 @@ export const posture_api_Vendor_output: JsonSchema = { /** * The schema of `posture-api_ZeroTrustProduct` in responses. */ -export const posture_api_ZeroTrustProduct_output: JsonSchema = { +export const posture$$api_ZeroTrustProduct: JsonSchema = { "properties": { "description": { "type": "string" @@ -608,7 +608,7 @@ export const posture_api_ZeroTrustProduct_output: JsonSchema = { /** * The schema of `posture-api_api-response-collection` in responses. */ -export const posture_api_api_response_collection_output: JsonSchema = { +export const posture$$api_api$$response$$collection: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/posture-api_messages" @@ -635,7 +635,7 @@ export const posture_api_api_response_collection_output: JsonSchema = { /** * The schema of `posture-api_api-response-common` in responses. */ -export const posture_api_api_response_common_output: JsonSchema = { +export const posture$$api_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/posture-api_messages" @@ -658,7 +658,7 @@ export const posture_api_api_response_common_output: JsonSchema = { /** * The schema of `posture-api_error-response` in responses. */ -export const posture_api_error_response_output: JsonSchema = { +export const posture$$api_error$$response: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/posture-api_messages" @@ -684,7 +684,7 @@ export const posture_api_error_response_output: JsonSchema = { /** * The schema of `posture-api_export-job-response` in responses. */ -export const posture_api_export_job_response_output: JsonSchema = { +export const posture$$api_export$$job$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -703,7 +703,7 @@ export const posture_api_export_job_response_output: JsonSchema = { /** * The schema of `posture-api_messages` in responses. */ -export const posture_api_messages_output: JsonSchema = { +export const posture$$api_messages: JsonSchema = { "items": { "properties": { "code": { @@ -736,7 +736,7 @@ export const posture_api_messages_output: JsonSchema = { /** * The schema of `posture-api_result-info` in responses. */ -export const posture_api_result_info_output: JsonSchema = { +export const posture$$api_result$$info: JsonSchema = { "properties": { "count": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/casb/policies/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/policies/outputs.ts index 32b3e0c93..562861f7b 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/policies/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/policies/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_DeletePolicyResponse` in responses. */ -export const posture_api_DeletePolicyResponse_output: JsonSchema = { +export const posture$$api_DeletePolicyResponse: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -22,7 +22,7 @@ export const posture_api_DeletePolicyResponse_output: JsonSchema = { /** * The schema of `posture-api_PolicyActionsResponse` in responses. */ -export const posture_api_PolicyActionsResponse_output: JsonSchema = { +export const posture$$api_PolicyActionsResponse: JsonSchema = { "properties": { "remediation_types": { "items": { @@ -47,7 +47,7 @@ export const posture_api_PolicyActionsResponse_output: JsonSchema = { /** * The schema of `posture-api_PolicyRemediationTypeResponse` in responses. */ -export const posture_api_PolicyRemediationTypeResponse_output: JsonSchema = { +export const posture$$api_PolicyRemediationTypeResponse: JsonSchema = { "properties": { "display_name": { "type": "string" @@ -71,7 +71,7 @@ export const posture_api_PolicyRemediationTypeResponse_output: JsonSchema = { /** * The schema of `posture-api_PolicyResponse` in responses. */ -export const posture_api_PolicyResponse_output: JsonSchema = { +export const posture$$api_PolicyResponse: JsonSchema = { "properties": { "actions": { "$ref": "#/$defs/posture-api_PolicyActionsResponse" @@ -138,7 +138,7 @@ export const posture_api_PolicyResponse_output: JsonSchema = { /** * The schema of `posture-api_PolicyWebhookConfigResponse` in responses. */ -export const posture_api_PolicyWebhookConfigResponse_output: JsonSchema = { +export const posture$$api_PolicyWebhookConfigResponse: JsonSchema = { "properties": { "display_name": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/casb/policies/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/policies/schemas.ts index bdcb6a968..f54a32496 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/policies/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/policies/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_CreatePolicyRequest`. */ -export const posture_api_CreatePolicyRequest: JsonSchema = { +export const posture$$api_CreatePolicyRequest: JsonSchema = { "description": "Request body for creating a new policy configuration.", "properties": { "actions": { @@ -56,7 +56,7 @@ export const posture_api_CreatePolicyRequest: JsonSchema = { /** * The schema of `posture-api_PolicyActionsInput`. */ -export const posture_api_PolicyActionsInput: JsonSchema = { +export const posture$$api_PolicyActionsInput: JsonSchema = { "description": "Actions to execute when this policy is triggered, grouped by action type.\nA policy must contain at least one action across all groups and may include\nat most one remediation.", "properties": { "remediation_types": { @@ -81,7 +81,7 @@ export const posture_api_PolicyActionsInput: JsonSchema = { /** * The schema of `posture-api_PolicyRemediationActionInput`. */ -export const posture_api_PolicyRemediationActionInput: JsonSchema = { +export const posture$$api_PolicyRemediationActionInput: JsonSchema = { "description": "A remediation action to be executed.", "properties": { "remediation_type_id": { @@ -99,7 +99,7 @@ export const posture_api_PolicyRemediationActionInput: JsonSchema = { /** * The schema of `posture-api_PolicyWebhookActionInput`. */ -export const posture_api_PolicyWebhookActionInput: JsonSchema = { +export const posture$$api_PolicyWebhookActionInput: JsonSchema = { "description": "A webhook action to be executed.", "properties": { "webhook_config_id": { @@ -117,7 +117,7 @@ export const posture_api_PolicyWebhookActionInput: JsonSchema = { /** * The schema of `posture-api_UpdatePolicyRequest`. */ -export const posture_api_UpdatePolicyRequest: JsonSchema = { +export const posture$$api_UpdatePolicyRequest: JsonSchema = { "description": "Request body for updating an existing policy configuration.", "properties": { "actions": { diff --git a/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts index 9a51ad1be..d579f9106 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts @@ -1,57 +1,65 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - posture_api_api_response_collection_output, - posture_api_api_response_common_output, - posture_api_error_response_output, - posture_api_messages_output, - posture_api_result_info_output, + posture$$api_api$$response$$collection, + posture$$api_api$$response$$common, + posture$$api_error$$response, + posture$$api_messages, + posture$$api_result$$info, } from "../outputs.js"; import { - posture_api_DeletePolicyResponse_output, - posture_api_PolicyActionsResponse_output, - posture_api_PolicyRemediationTypeResponse_output, - posture_api_PolicyResponse_output, - posture_api_PolicyWebhookConfigResponse_output, + posture$$api_DeletePolicyResponse, + posture$$api_PolicyActionsResponse, + posture$$api_PolicyRemediationTypeResponse, + posture$$api_PolicyResponse, + posture$$api_PolicyWebhookConfigResponse, } from "./outputs.js"; import { - posture_api_CreatePolicyRequest, - posture_api_PolicyActionsInput, - posture_api_PolicyRemediationActionInput, - posture_api_PolicyWebhookActionInput, - posture_api_UpdatePolicyRequest, + posture$$api_CreatePolicyRequest, + posture$$api_PolicyActionsInput, + posture$$api_PolicyRemediationActionInput, + posture$$api_PolicyWebhookActionInput, + posture$$api_UpdatePolicyRequest, } from "./schemas.js"; /** - * The tools of `zero_trust.casb.policies`. + * The tools of `zeroTrust.casb.policies`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_policies_create", + name: "zeroTrust_casb_policies_create", title: "Create a new policy configuration", description: "Creates a new policy configuration that defines automated actions to be executed \nwhen security findings are detected. A policy can include multiple remediation \nand/or webhook actions that will be triggered automatically.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_CreatePolicyRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "posture-api_CreatePolicyRequest": posture_api_CreatePolicyRequest, - "posture-api_PolicyActionsInput": posture_api_PolicyActionsInput, - "posture-api_PolicyRemediationActionInput": posture_api_PolicyRemediationActionInput, - "posture-api_PolicyWebhookActionInput": posture_api_PolicyWebhookActionInput, + "posture-api_CreatePolicyRequest": posture$$api_CreatePolicyRequest, + "posture-api_PolicyActionsInput": posture$$api_PolicyActionsInput, + "posture-api_PolicyRemediationActionInput": posture$$api_PolicyRemediationActionInput, + "posture-api_PolicyWebhookActionInput": posture$$api_PolicyWebhookActionInput, }, }, outputSchema: { @@ -69,12 +77,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, - "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_messages": posture_api_messages_output, + "posture-api_PolicyActionsResponse": posture$$api_PolicyActionsResponse, + "posture-api_PolicyRemediationTypeResponse": posture$$api_PolicyRemediationTypeResponse, + "posture-api_PolicyResponse": posture$$api_PolicyResponse, + "posture-api_PolicyWebhookConfigResponse": posture$$api_PolicyWebhookConfigResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -125,13 +133,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, - "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_PolicyActionsResponse": posture$$api_PolicyActionsResponse, + "posture-api_PolicyRemediationTypeResponse": posture$$api_PolicyRemediationTypeResponse, + "posture-api_PolicyResponse": posture$$api_PolicyResponse, + "posture-api_PolicyWebhookConfigResponse": posture$$api_PolicyWebhookConfigResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -140,25 +148,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_policies_delete", + name: "zeroTrust_casb_policies_delete", title: "Delete a policy configuration", description: "Deletes a policy configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "policy_id": { - "description": "A UUID identifying the policy.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "policy_id": { + "description": "A UUID identifying the policy.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], }, outputSchema: { @@ -176,9 +192,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "posture-api_DeletePolicyResponse": posture_api_DeletePolicyResponse_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_DeletePolicyResponse": posture$$api_DeletePolicyResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -229,10 +245,10 @@ export const tools: readonly Tool[] = [ } }, $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, + "posture-api_DeletePolicyResponse": posture$$api_DeletePolicyResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -240,25 +256,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_policies_get", + name: "zeroTrust_casb_policies_get", title: "Get a policy configuration by ID", description: "Retrieves the details of a specific policy configuration, including its\nassociated remediation and webhook actions.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "policy_id": { - "description": "The UUID of the policy configuration to retrieve.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "policy_id": { + "description": "The UUID of the policy configuration to retrieve.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], }, outputSchema: { @@ -276,12 +300,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, - "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_messages": posture_api_messages_output, + "posture-api_PolicyActionsResponse": posture$$api_PolicyActionsResponse, + "posture-api_PolicyRemediationTypeResponse": posture$$api_PolicyRemediationTypeResponse, + "posture-api_PolicyResponse": posture$$api_PolicyResponse, + "posture-api_PolicyWebhookConfigResponse": posture$$api_PolicyWebhookConfigResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -333,13 +357,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, - "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_PolicyActionsResponse": posture$$api_PolicyActionsResponse, + "posture-api_PolicyRemediationTypeResponse": posture$$api_PolicyRemediationTypeResponse, + "posture-api_PolicyResponse": posture$$api_PolicyResponse, + "posture-api_PolicyWebhookConfigResponse": posture$$api_PolicyWebhookConfigResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -347,23 +371,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_policies_list", + name: "zeroTrust_casb_policies_list", title: "List policy configurations", description: "Returns a list of integration-scoped policy configurations for the given account. This endpoint supports cursor based pagination. By default, results are returned in sorted order based on created_at.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "cursor": { - "description": "Cursor for pagination. Obtained from the `result_info.cursor` field of a previous response.", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Cursor for pagination. Obtained from the `result_info.cursor` field of a previous response.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -384,13 +421,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, - "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-collection": posture_api_api_response_collection_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_result-info": posture_api_result_info_output, + "posture-api_PolicyActionsResponse": posture$$api_PolicyActionsResponse, + "posture-api_PolicyRemediationTypeResponse": posture$$api_PolicyRemediationTypeResponse, + "posture-api_PolicyResponse": posture$$api_PolicyResponse, + "posture-api_PolicyWebhookConfigResponse": posture$$api_PolicyWebhookConfigResponse, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_messages": posture$$api_messages, + "posture-api_result-info": posture$$api_result$$info, }, }, annotations: { @@ -442,54 +479,62 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, - "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-collection": posture_api_api_response_collection_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, + "posture-api_PolicyActionsResponse": posture$$api_PolicyActionsResponse, + "posture-api_PolicyRemediationTypeResponse": posture$$api_PolicyRemediationTypeResponse, + "posture-api_PolicyResponse": posture$$api_PolicyResponse, + "posture-api_PolicyWebhookConfigResponse": posture$$api_PolicyWebhookConfigResponse, + "posture-api_api-response-collection": posture$$api_api$$response$$collection, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, + "posture-api_result-info": posture$$api_result$$info, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/policies`, query: [ - ["cursor", args["cursor"], true], + ["cursor", param(args, "query", "cursor"), true], ], }), }, { - name: "zero_trust_casb_policies_update", + name: "zeroTrust_casb_policies_update", title: "Update a policy configuration", description: "Updates an existing policy configuration and replaces its actions.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_UpdatePolicyRequest" }, - "policy_id": { - "description": "Policy configuration ID", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "policy_id": { + "description": "Policy configuration ID", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", + "path", "body" ], $defs: { - "posture-api_PolicyActionsInput": posture_api_PolicyActionsInput, - "posture-api_PolicyRemediationActionInput": posture_api_PolicyRemediationActionInput, - "posture-api_PolicyWebhookActionInput": posture_api_PolicyWebhookActionInput, - "posture-api_UpdatePolicyRequest": posture_api_UpdatePolicyRequest, + "posture-api_PolicyActionsInput": posture$$api_PolicyActionsInput, + "posture-api_PolicyRemediationActionInput": posture$$api_PolicyRemediationActionInput, + "posture-api_PolicyWebhookActionInput": posture$$api_PolicyWebhookActionInput, + "posture-api_UpdatePolicyRequest": posture$$api_UpdatePolicyRequest, }, }, outputSchema: { @@ -507,12 +552,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, - "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_messages": posture_api_messages_output, + "posture-api_PolicyActionsResponse": posture$$api_PolicyActionsResponse, + "posture-api_PolicyRemediationTypeResponse": posture$$api_PolicyRemediationTypeResponse, + "posture-api_PolicyResponse": posture$$api_PolicyResponse, + "posture-api_PolicyWebhookConfigResponse": posture$$api_PolicyWebhookConfigResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -563,13 +608,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_PolicyActionsResponse": posture_api_PolicyActionsResponse_output, - "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_PolicyActionsResponse": posture$$api_PolicyActionsResponse, + "posture-api_PolicyRemediationTypeResponse": posture$$api_PolicyRemediationTypeResponse, + "posture-api_PolicyResponse": posture$$api_PolicyResponse, + "posture-api_PolicyWebhookConfigResponse": posture$$api_PolicyWebhookConfigResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts index 09e5479d0..f7e103f50 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `posture-api_CreateRemediationJobResponse` in responses. */ -export const posture_api_CreateRemediationJobResponse_output: JsonSchema = { +export const posture$$api_CreateRemediationJobResponse: JsonSchema = { "properties": { "errors": { "items": { @@ -57,7 +57,7 @@ export const posture_api_CreateRemediationJobResponse_output: JsonSchema = { /** * The schema of `posture-api_PaginatedRemediationJobList` in responses. */ -export const posture_api_PaginatedRemediationJobList_output: JsonSchema = { +export const posture$$api_PaginatedRemediationJobList: JsonSchema = { "properties": { "errors": { "items": { @@ -121,7 +121,7 @@ export const posture_api_PaginatedRemediationJobList_output: JsonSchema = { /** * The schema of `posture-api_RemediationJob` in responses. */ -export const posture_api_RemediationJob_output: JsonSchema = { +export const posture$$api_RemediationJob: JsonSchema = { "properties": { "asset": { "$ref": "#/$defs/posture-api_RemediationJobAsset" @@ -209,7 +209,7 @@ export const posture_api_RemediationJob_output: JsonSchema = { /** * The schema of `posture-api_RemediationJobAsset` in responses. */ -export const posture_api_RemediationJobAsset_output: JsonSchema = { +export const posture$$api_RemediationJobAsset: JsonSchema = { "properties": { "category": { "$ref": "#/$defs/posture-api_RemediationJobAssetCategory" @@ -254,7 +254,7 @@ export const posture_api_RemediationJobAsset_output: JsonSchema = { /** * The schema of `posture-api_RemediationJobAssetCategory` in responses. */ -export const posture_api_RemediationJobAssetCategory_output: JsonSchema = { +export const posture$$api_RemediationJobAssetCategory: JsonSchema = { "properties": { "service": { "type": "string" @@ -277,7 +277,7 @@ export const posture_api_RemediationJobAssetCategory_output: JsonSchema = { /** * The schema of `posture-api_RemediationJobAssetField` in responses. */ -export const posture_api_RemediationJobAssetField_output: JsonSchema = { +export const posture$$api_RemediationJobAssetField: JsonSchema = { "properties": { "link": { "oneOf": [ @@ -316,7 +316,7 @@ export const posture_api_RemediationJobAssetField_output: JsonSchema = { /** * The schema of `posture-api_RemediationJobFailure` in responses. */ -export const posture_api_RemediationJobFailure_output: JsonSchema = { +export const posture$$api_RemediationJobFailure: JsonSchema = { "properties": { "error": { "type": "string" @@ -336,7 +336,7 @@ export const posture_api_RemediationJobFailure_output: JsonSchema = { /** * The schema of `posture-api_VendorsDisplayNameEnum` in responses. */ -export const posture_api_VendorsDisplayNameEnum_output: JsonSchema = { +export const posture$$api_VendorsDisplayNameEnum: JsonSchema = { "enum": [ "AWS", "Anthropic", diff --git a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/schemas.ts index f6b896ed8..9f0a04156 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `posture-api_RemediationJobActorTypeEnum`. */ -export const posture_api_RemediationJobActorTypeEnum: JsonSchema = { +export const posture$$api_RemediationJobActorTypeEnum: JsonSchema = { "description": "Type of actor that triggered the remediation job.", "enum": [ "user", @@ -18,7 +18,7 @@ export const posture_api_RemediationJobActorTypeEnum: JsonSchema = { /** * The schema of `posture-api_RemediationJobsCreateRequest`. */ -export const posture_api_RemediationJobsCreateRequest: JsonSchema = { +export const posture$$api_RemediationJobsCreateRequest: JsonSchema = { "description": "Request body for creating remediation jobs.", "properties": { "finding_instance_ids": { @@ -45,7 +45,7 @@ export const posture_api_RemediationJobsCreateRequest: JsonSchema = { /** * The schema of `posture-api_RemediationJobsExportFilterRequest`. */ -export const posture_api_RemediationJobsExportFilterRequest: JsonSchema = { +export const posture$$api_RemediationJobsExportFilterRequest: JsonSchema = { "description": "Filter specification for remediation jobs export.", "properties": { "integration_id": { @@ -92,7 +92,7 @@ export const posture_api_RemediationJobsExportFilterRequest: JsonSchema = { /** * The schema of `posture-api_RemediationJobsExportOrderFilterRequest`. */ -export const posture_api_RemediationJobsExportOrderFilterRequest: JsonSchema = { +export const posture$$api_RemediationJobsExportOrderFilterRequest: JsonSchema = { "description": "Order specification for remediation jobs exports.", "properties": { "direction": { 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 bca3e69d5..8223fdefe 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts @@ -1,75 +1,83 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - posture_api_ExportJobTypeEnum_output, - 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_export_job_response_output, - posture_api_messages_output, + posture$$api_ExportJob, + posture$$api_ExportJobTypeEnum, + posture$$api_RemediationJobStatusEnum, + posture$$api_StatusEnum, + posture$$api_api$$response$$common, + posture$$api_error$$response, + posture$$api_export$$job$$response, + posture$$api_messages, } from "../../outputs.js"; import { - posture_api_DirectionEnum, - posture_api_RemediationJobStatusEnum, + posture$$api_DirectionEnum, + posture$$api_RemediationJobStatusEnum as posture$$api_RemediationJobStatusEnum$, } from "../../schemas.js"; import { - posture_api_CreateRemediationJobResponse_output, - posture_api_PaginatedRemediationJobList_output, - posture_api_RemediationJobAssetCategory_output, - posture_api_RemediationJobAssetField_output, - posture_api_RemediationJobAsset_output, - posture_api_RemediationJobFailure_output, - posture_api_RemediationJob_output, - posture_api_VendorsDisplayNameEnum_output, + posture$$api_CreateRemediationJobResponse, + posture$$api_PaginatedRemediationJobList, + posture$$api_RemediationJob, + posture$$api_RemediationJobAsset, + posture$$api_RemediationJobAssetCategory, + posture$$api_RemediationJobAssetField, + posture$$api_RemediationJobFailure, + posture$$api_VendorsDisplayNameEnum, } from "./outputs.js"; import { - posture_api_RemediationJobActorTypeEnum, - posture_api_RemediationJobsCreateRequest, - posture_api_RemediationJobsExportFilterRequest, - posture_api_RemediationJobsExportOrderFilterRequest, + posture$$api_RemediationJobActorTypeEnum, + posture$$api_RemediationJobsCreateRequest, + posture$$api_RemediationJobsExportFilterRequest, + posture$$api_RemediationJobsExportOrderFilterRequest, } from "./schemas.js"; /** - * The tools of `zero_trust.casb.remediations.jobs`. + * The tools of `zeroTrust.casb.remediations.jobs`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_remediations_jobs_create", + name: "zeroTrust_casb_remediations_jobs_create", title: "Creates remediation jobs", description: "Create one or more remediation jobs tied to a specific Cloudflare Account.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_RemediationJobsCreateRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "posture-api_RemediationJobsCreateRequest": posture_api_RemediationJobsCreateRequest, + "posture-api_RemediationJobsCreateRequest": posture$$api_RemediationJobsCreateRequest, }, }, outputSchema: { "$ref": "#/$defs/posture-api_CreateRemediationJobResponse", $defs: { - "posture-api_CreateRemediationJobResponse": posture_api_CreateRemediationJobResponse_output, - "posture-api_RemediationJob": posture_api_RemediationJob_output, - "posture-api_RemediationJobAsset": posture_api_RemediationJobAsset_output, - "posture-api_RemediationJobAssetCategory": posture_api_RemediationJobAssetCategory_output, - "posture-api_RemediationJobAssetField": posture_api_RemediationJobAssetField_output, - "posture-api_RemediationJobFailure": posture_api_RemediationJobFailure_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_VendorsDisplayNameEnum": posture_api_VendorsDisplayNameEnum_output, + "posture-api_CreateRemediationJobResponse": posture$$api_CreateRemediationJobResponse, + "posture-api_RemediationJob": posture$$api_RemediationJob, + "posture-api_RemediationJobAsset": posture$$api_RemediationJobAsset, + "posture-api_RemediationJobAssetCategory": posture$$api_RemediationJobAssetCategory, + "posture-api_RemediationJobAssetField": posture$$api_RemediationJobAssetField, + "posture-api_RemediationJobFailure": posture$$api_RemediationJobFailure, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_VendorsDisplayNameEnum": posture$$api_VendorsDisplayNameEnum, }, }, annotations: { @@ -102,17 +110,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_CreateRemediationJobResponse": posture_api_CreateRemediationJobResponse_output, - "posture-api_RemediationJob": posture_api_RemediationJob_output, - "posture-api_RemediationJobAsset": posture_api_RemediationJobAsset_output, - "posture-api_RemediationJobAssetCategory": posture_api_RemediationJobAssetCategory_output, - "posture-api_RemediationJobAssetField": posture_api_RemediationJobAssetField_output, - "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, + "posture-api_CreateRemediationJobResponse": posture$$api_CreateRemediationJobResponse, + "posture-api_RemediationJob": posture$$api_RemediationJob, + "posture-api_RemediationJobAsset": posture$$api_RemediationJobAsset, + "posture-api_RemediationJobAssetCategory": posture$$api_RemediationJobAssetCategory, + "posture-api_RemediationJobAssetField": posture$$api_RemediationJobAssetField, + "posture-api_RemediationJobFailure": posture$$api_RemediationJobFailure, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_VendorsDisplayNameEnum": posture$$api_VendorsDisplayNameEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -121,39 +129,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_remediations_jobs_export", + name: "zeroTrust_casb_remediations_jobs_export", title: "Create a remediation jobs export", description: "Creates a CSV export for remediation jobs and accepts optional filters in the payload.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_RemediationJobsExportFilterRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "posture-api_DirectionEnum": posture_api_DirectionEnum, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum, - "posture-api_RemediationJobsExportFilterRequest": posture_api_RemediationJobsExportFilterRequest, - "posture-api_RemediationJobsExportOrderFilterRequest": posture_api_RemediationJobsExportOrderFilterRequest, + "posture-api_DirectionEnum": posture$$api_DirectionEnum, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum$, + "posture-api_RemediationJobsExportFilterRequest": posture$$api_RemediationJobsExportFilterRequest, + "posture-api_RemediationJobsExportOrderFilterRequest": posture$$api_RemediationJobsExportOrderFilterRequest, }, }, outputSchema: { "$ref": "#/$defs/posture-api_export-job-response", $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -182,12 +198,12 @@ export const tools: readonly Tool[] = [ } }, $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_export-job-response": posture_api_export_job_response_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_ExportJob": posture$$api_ExportJob, + "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, + "posture-api_StatusEnum": posture$$api_StatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_export-job-response": posture$$api_export$$job$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -196,98 +212,111 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_remediations_jobs_list", + name: "zeroTrust_casb_remediations_jobs_list", title: "List remediation jobs", description: "List all remediation jobs tied to a specific Cloudflare Account. Note that `cursor` and `page` are mutually exclusive.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "cursor": { - "description": "A cursor for pagination.", - "type": "string" - }, - "direction": { - "description": "Direction to order results.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "integration_id": { - "description": "Filter by an integration ID", - "format": "uuid", - "type": "string" - }, - "max_updated_at": { - "description": "Filter to view remediations updated on or before the max updated datetime. Can be a date-time in ISO 8601 format or an epoch timestamp.", - "format": "date-time", - "type": "string" - }, - "min_updated_at": { - "description": "Filter to view remediations updated on or after the min updated datetime. Can be a date-time in ISO 8601 format or an epoch timestamp.", - "format": "date-time", - "type": "string" - }, - "order": { - "description": "An optional param to sort the results by the given field.", - "enum": [ - "created_at", - "affliction_date", - "integration_name", - "status", - "last_updated_at", - "asset_name", - "finding_type_name" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "description": "A page number within the paginated result set.", - "type": "integer" - }, - "per_page": { - "description": "Number of results to return per page.", - "type": "integer" - }, - "search": { - "description": "A search term.", - "type": "string" - }, - "status": { - "$ref": "#/$defs/posture-api_RemediationJobStatusEnum", - "description": "Filter to view remediations with the given status." + "type": "object" }, - "triggered_by_actor": { - "description": "Filter remediations by what kind of actor triggered them. Supports multiple comma-separated values.", - "items": { - "$ref": "#/$defs/posture-api_RemediationJobActorTypeEnum" + "query": { + "properties": { + "cursor": { + "description": "A cursor for pagination.", + "type": "string" + }, + "direction": { + "description": "Direction to order results.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "integration_id": { + "description": "Filter by an integration ID", + "format": "uuid", + "type": "string" + }, + "max_updated_at": { + "description": "Filter to view remediations updated on or before the max updated datetime. Can be a date-time in ISO 8601 format or an epoch timestamp.", + "format": "date-time", + "type": "string" + }, + "min_updated_at": { + "description": "Filter to view remediations updated on or after the min updated datetime. Can be a date-time in ISO 8601 format or an epoch timestamp.", + "format": "date-time", + "type": "string" + }, + "order": { + "description": "An optional param to sort the results by the given field.", + "enum": [ + "created_at", + "affliction_date", + "integration_name", + "status", + "last_updated_at", + "asset_name", + "finding_type_name" + ], + "type": "string" + }, + "page": { + "description": "A page number within the paginated result set.", + "type": "integer" + }, + "per_page": { + "description": "Number of results to return per page.", + "type": "integer" + }, + "search": { + "description": "A search term.", + "type": "string" + }, + "status": { + "$ref": "#/$defs/posture-api_RemediationJobStatusEnum", + "description": "Filter to view remediations with the given status." + }, + "triggered_by_actor": { + "description": "Filter remediations by what kind of actor triggered them. Supports multiple comma-separated values.", + "items": { + "$ref": "#/$defs/posture-api_RemediationJobActorTypeEnum" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "posture-api_RemediationJobActorTypeEnum": posture_api_RemediationJobActorTypeEnum, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum, + "posture-api_RemediationJobActorTypeEnum": posture$$api_RemediationJobActorTypeEnum, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum$, }, }, outputSchema: { "$ref": "#/$defs/posture-api_PaginatedRemediationJobList", $defs: { - "posture-api_PaginatedRemediationJobList": posture_api_PaginatedRemediationJobList_output, - "posture-api_RemediationJob": posture_api_RemediationJob_output, - "posture-api_RemediationJobAsset": posture_api_RemediationJobAsset_output, - "posture-api_RemediationJobAssetCategory": posture_api_RemediationJobAssetCategory_output, - "posture-api_RemediationJobAssetField": posture_api_RemediationJobAssetField_output, - "posture-api_RemediationJobStatusEnum": posture_api_RemediationJobStatusEnum_output, - "posture-api_VendorsDisplayNameEnum": posture_api_VendorsDisplayNameEnum_output, + "posture-api_PaginatedRemediationJobList": posture$$api_PaginatedRemediationJobList, + "posture-api_RemediationJob": posture$$api_RemediationJob, + "posture-api_RemediationJobAsset": posture$$api_RemediationJobAsset, + "posture-api_RemediationJobAssetCategory": posture$$api_RemediationJobAssetCategory, + "posture-api_RemediationJobAssetField": posture$$api_RemediationJobAssetField, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_VendorsDisplayNameEnum": posture$$api_VendorsDisplayNameEnum, }, }, annotations: { @@ -316,31 +345,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_PaginatedRemediationJobList": posture_api_PaginatedRemediationJobList_output, - "posture-api_RemediationJob": posture_api_RemediationJob_output, - "posture-api_RemediationJobAsset": posture_api_RemediationJobAsset_output, - "posture-api_RemediationJobAssetCategory": posture_api_RemediationJobAssetCategory_output, - "posture-api_RemediationJobAssetField": posture_api_RemediationJobAssetField_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, + "posture-api_PaginatedRemediationJobList": posture$$api_PaginatedRemediationJobList, + "posture-api_RemediationJob": posture$$api_RemediationJob, + "posture-api_RemediationJobAsset": posture$$api_RemediationJobAsset, + "posture-api_RemediationJobAssetCategory": posture$$api_RemediationJobAssetCategory, + "posture-api_RemediationJobAssetField": posture$$api_RemediationJobAssetField, + "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, + "posture-api_VendorsDisplayNameEnum": posture$$api_VendorsDisplayNameEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/data-security/posture/remediations/jobs`, query: [ - ["cursor", args["cursor"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], - ["min_updated_at", args["min_updated_at"], true], - ["max_updated_at", args["max_updated_at"], true], - ["status", args["status"], true], - ["triggered_by_actor", args["triggered_by_actor"], false], - ["integration_id", args["integration_id"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], + ["cursor", param(args, "query", "cursor"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], + ["min_updated_at", param(args, "query", "min_updated_at"), true], + ["max_updated_at", param(args, "query", "max_updated_at"), true], + ["status", param(args, "query", "status"), true], + ["triggered_by_actor", param(args, "query", "triggered_by_actor"), false], + ["integration_id", param(args, "query", "integration_id"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/schemas.ts index 0b26799cc..c99c26f58 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `posture-api_DirectionEnum`. */ -export const posture_api_DirectionEnum: JsonSchema = { +export const posture$$api_DirectionEnum: JsonSchema = { "description": "Sort direction.", "enum": [ "asc", @@ -18,7 +18,7 @@ export const posture_api_DirectionEnum: JsonSchema = { /** * The schema of `posture-api_FindingCategoryTypeEnum`. */ -export const posture_api_FindingCategoryTypeEnum: JsonSchema = { +export const posture$$api_FindingCategoryTypeEnum: JsonSchema = { "description": "The type of the finding category.", "enum": [ "Content", @@ -30,7 +30,7 @@ export const posture_api_FindingCategoryTypeEnum: JsonSchema = { /** * The schema of `posture-api_FindingTypeVendorsEnum`. */ -export const posture_api_FindingTypeVendorsEnum: JsonSchema = { +export const posture$$api_FindingTypeVendorsEnum: JsonSchema = { "description": "Vendors whose assets a finding type can evaluate.", "enum": [ "ANTHROPIC", @@ -56,7 +56,7 @@ export const posture_api_FindingTypeVendorsEnum: JsonSchema = { /** * The schema of `posture-api_RemediationJobStatusEnum`. */ -export const posture_api_RemediationJobStatusEnum: JsonSchema = { +export const posture$$api_RemediationJobStatusEnum: JsonSchema = { "description": "Status of a remediation job.", "enum": [ "pending", @@ -71,7 +71,7 @@ export const posture_api_RemediationJobStatusEnum: JsonSchema = { /** * The schema of `posture-api_SeverityEnum`. */ -export const posture_api_SeverityEnum: JsonSchema = { +export const posture$$api_SeverityEnum: JsonSchema = { "description": "The severity level of a finding.", "enum": [ "Critical", @@ -85,7 +85,7 @@ export const posture_api_SeverityEnum: JsonSchema = { /** * The schema of `posture-api_StatusEnum`. */ -export const posture_api_StatusEnum: JsonSchema = { +export const posture$$api_StatusEnum: JsonSchema = { "description": "Status of an export job.", "enum": [ "Pending", @@ -100,7 +100,7 @@ export const posture_api_StatusEnum: JsonSchema = { /** * The schema of `posture-api_VendorsEnum`. */ -export const posture_api_VendorsEnum: JsonSchema = { +export const posture$$api_VendorsEnum: JsonSchema = { "description": "Supported vendor types for integrations.", "enum": [ "ANTHROPIC", diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts index 95de826dd..160911522 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `posture-api_CreateWebhookJobsResponse` in responses. */ -export const posture_api_CreateWebhookJobsResponse_output: JsonSchema = { +export const posture$$api_CreateWebhookJobsResponse: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -46,7 +46,7 @@ export const posture_api_CreateWebhookJobsResponse_output: JsonSchema = { /** * The schema of `posture-api_WebhookJob` in responses. */ -export const posture_api_WebhookJob_output: JsonSchema = { +export const posture$$api_WebhookJob: JsonSchema = { "properties": { "asset_data": { "type": "object" @@ -108,7 +108,7 @@ export const posture_api_WebhookJob_output: JsonSchema = { /** * The schema of `posture-api_WebhookJobActorTypeEnum` in responses. */ -export const posture_api_WebhookJobActorTypeEnum_output: JsonSchema = { +export const posture$$api_WebhookJobActorTypeEnum: JsonSchema = { "enum": [ "user", "account_token" @@ -119,7 +119,7 @@ export const posture_api_WebhookJobActorTypeEnum_output: JsonSchema = { /** * The schema of `posture-api_WebhookJobFailure` in responses. */ -export const posture_api_WebhookJobFailure_output: JsonSchema = { +export const posture$$api_WebhookJobFailure: JsonSchema = { "properties": { "error": { "type": "string" @@ -144,7 +144,7 @@ export const posture_api_WebhookJobFailure_output: JsonSchema = { /** * The schema of `posture-api_WebhookJobFailureReasonEnum` in responses. */ -export const posture_api_WebhookJobFailureReasonEnum_output: JsonSchema = { +export const posture$$api_WebhookJobFailureReasonEnum: JsonSchema = { "enum": [ "Permission Denied", "Integration Unavailable", @@ -157,7 +157,7 @@ export const posture_api_WebhookJobFailureReasonEnum_output: JsonSchema = { /** * The schema of `posture-api_WebhookJobParameters` in responses. */ -export const posture_api_WebhookJobParameters_output: JsonSchema = { +export const posture$$api_WebhookJobParameters: JsonSchema = { "properties": { "finding_instance_id": { "format": "uuid", @@ -173,7 +173,7 @@ export const posture_api_WebhookJobParameters_output: JsonSchema = { /** * The schema of `posture-api_WebhookJobStatusEnum` in responses. */ -export const posture_api_WebhookJobStatusEnum_output: JsonSchema = { +export const posture$$api_WebhookJobStatusEnum: JsonSchema = { "enum": [ "pending", "processing", diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/schemas.ts index 2c5029077..5494078ed 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `posture-api_CreateWebhookJobsRequest`. */ -export const posture_api_CreateWebhookJobsRequest: JsonSchema = { +export const posture$$api_CreateWebhookJobsRequest: JsonSchema = { "description": "Request body for creating up to 100 webhook jobs. The number of jobs is the product of webhook_ids and finding_instance_ids.", "properties": { "finding_instance_ids": { 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 fe937db07..5bea90da1 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts @@ -3,60 +3,68 @@ 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_api$$response$$common, + posture$$api_error$$response, + posture$$api_messages, } from "../../outputs.js"; import { - posture_api_CreateWebhookJobsResponse_output, - posture_api_WebhookJobActorTypeEnum_output, - posture_api_WebhookJobFailureReasonEnum_output, - posture_api_WebhookJobFailure_output, - posture_api_WebhookJobParameters_output, - posture_api_WebhookJobStatusEnum_output, - posture_api_WebhookJob_output, + posture$$api_CreateWebhookJobsResponse, + posture$$api_WebhookJob, + posture$$api_WebhookJobActorTypeEnum, + posture$$api_WebhookJobFailure, + posture$$api_WebhookJobFailureReasonEnum, + posture$$api_WebhookJobParameters, + posture$$api_WebhookJobStatusEnum, } from "./outputs.js"; -import { posture_api_CreateWebhookJobsRequest } from "./schemas.js"; +import { posture$$api_CreateWebhookJobsRequest } from "./schemas.js"; /** - * The tools of `zero_trust.casb.webhooks.jobs`. + * The tools of `zeroTrust.casb.webhooks.jobs`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_webhooks_jobs_create", + name: "zeroTrust_casb_webhooks_jobs_create", title: "Create webhook jobs", description: "Creates webhook jobs to send a finding instance to one or more configured webhooks.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_CreateWebhookJobsRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "posture-api_CreateWebhookJobsRequest": posture_api_CreateWebhookJobsRequest, + "posture-api_CreateWebhookJobsRequest": posture$$api_CreateWebhookJobsRequest, }, }, outputSchema: { "$ref": "#/$defs/posture-api_CreateWebhookJobsResponse", $defs: { - "posture-api_CreateWebhookJobsResponse": posture_api_CreateWebhookJobsResponse_output, - "posture-api_WebhookJob": posture_api_WebhookJob_output, - "posture-api_WebhookJobActorTypeEnum": posture_api_WebhookJobActorTypeEnum_output, - "posture-api_WebhookJobFailure": posture_api_WebhookJobFailure_output, - "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_messages": posture_api_messages_output, + "posture-api_CreateWebhookJobsResponse": posture$$api_CreateWebhookJobsResponse, + "posture-api_WebhookJob": posture$$api_WebhookJob, + "posture-api_WebhookJobActorTypeEnum": posture$$api_WebhookJobActorTypeEnum, + "posture-api_WebhookJobFailure": posture$$api_WebhookJobFailure, + "posture-api_WebhookJobFailureReasonEnum": posture$$api_WebhookJobFailureReasonEnum, + "posture-api_WebhookJobParameters": posture$$api_WebhookJobParameters, + "posture-api_WebhookJobStatusEnum": posture$$api_WebhookJobStatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -95,16 +103,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_CreateWebhookJobsResponse": posture_api_CreateWebhookJobsResponse_output, - "posture-api_WebhookJob": posture_api_WebhookJob_output, - "posture-api_WebhookJobActorTypeEnum": posture_api_WebhookJobActorTypeEnum_output, - "posture-api_WebhookJobFailure": posture_api_WebhookJobFailure_output, - "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, + "posture-api_CreateWebhookJobsResponse": posture$$api_CreateWebhookJobsResponse, + "posture-api_WebhookJob": posture$$api_WebhookJob, + "posture-api_WebhookJobActorTypeEnum": posture$$api_WebhookJobActorTypeEnum, + "posture-api_WebhookJobFailure": posture$$api_WebhookJobFailure, + "posture-api_WebhookJobFailureReasonEnum": posture$$api_WebhookJobFailureReasonEnum, + "posture-api_WebhookJobParameters": posture$$api_WebhookJobParameters, + "posture-api_WebhookJobStatusEnum": posture$$api_WebhookJobStatusEnum, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/outputs.ts index 7ccd44b5b..6ae9020c8 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_EvaluateNewWebhookResponse` in responses. */ -export const posture_api_EvaluateNewWebhookResponse_output: JsonSchema = { +export const posture$$api_EvaluateNewWebhookResponse: JsonSchema = { "properties": { "message": { "type": "string" @@ -29,7 +29,7 @@ export const posture_api_EvaluateNewWebhookResponse_output: JsonSchema = { /** * The schema of `posture-api_Webhook` in responses. */ -export const posture_api_Webhook_output: JsonSchema = { +export const posture$$api_Webhook: JsonSchema = { "properties": { "authentication_type": { "enum": [ @@ -100,7 +100,7 @@ export const posture_api_Webhook_output: JsonSchema = { /** * The schema of `posture-api_webhook-list-response` in responses. */ -export const posture_api_webhook_list_response_output: JsonSchema = { +export const posture$$api_webhook$$list$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" @@ -122,7 +122,7 @@ export const posture_api_webhook_list_response_output: JsonSchema = { /** * The schema of `posture-api_webhook-response` in responses. */ -export const posture_api_webhook_response_output: JsonSchema = { +export const posture$$api_webhook$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/posture-api_api-response-common" diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/schemas.ts index 7c6817387..1929055b0 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `posture-api_CreateWebhookRequest`. */ -export const posture_api_CreateWebhookRequest: JsonSchema = { +export const posture$$api_CreateWebhookRequest: JsonSchema = { "description": "Request body for creating a new webhook configuration.", "properties": { "authentication_type": { @@ -60,7 +60,7 @@ export const posture_api_CreateWebhookRequest: JsonSchema = { /** * The schema of `posture-api_EvaluateNewWebhookRequest`. */ -export const posture_api_EvaluateNewWebhookRequest: JsonSchema = { +export const posture$$api_EvaluateNewWebhookRequest: JsonSchema = { "description": "Request body for testing a webhook configuration before creating it.", "properties": { "authentication_type": { @@ -100,7 +100,7 @@ export const posture_api_EvaluateNewWebhookRequest: JsonSchema = { /** * The schema of `posture-api_UpdateWebhookRequest`. */ -export const posture_api_UpdateWebhookRequest: JsonSchema = { +export const posture$$api_UpdateWebhookRequest: JsonSchema = { "description": "Request body for updating an existing webhook configuration.", "properties": { "authentication_type": { @@ -154,7 +154,7 @@ export const posture_api_UpdateWebhookRequest: JsonSchema = { /** * The schema of `posture-api_WebhookHeaderInput`. */ -export const posture_api_WebhookHeaderInput: JsonSchema = { +export const posture$$api_WebhookHeaderInput: JsonSchema = { "description": "A header to include in webhook requests. On Create/Evaluate, both key and value are required. On Update, omitting value means \"keep existing value\".", "properties": { "key": { diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts index d1e390d98..b33b5c717 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts @@ -3,49 +3,57 @@ 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_api$$response$$common, + posture$$api_error$$response, + posture$$api_messages, } from "../outputs.js"; import { - posture_api_EvaluateNewWebhookResponse_output, - posture_api_Webhook_output, - posture_api_webhook_list_response_output, - posture_api_webhook_response_output, + posture$$api_EvaluateNewWebhookResponse, + posture$$api_Webhook, + posture$$api_webhook$$list$$response, + posture$$api_webhook$$response, } from "./outputs.js"; import { - posture_api_CreateWebhookRequest, - posture_api_EvaluateNewWebhookRequest, - posture_api_UpdateWebhookRequest, - posture_api_WebhookHeaderInput, + posture$$api_CreateWebhookRequest, + posture$$api_EvaluateNewWebhookRequest, + posture$$api_UpdateWebhookRequest, + posture$$api_WebhookHeaderInput, } from "./schemas.js"; /** - * The tools of `zero_trust.casb.webhooks`. + * The tools of `zeroTrust.casb.webhooks`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_casb_webhooks_create", + name: "zeroTrust_casb_webhooks_create", title: "Create a new webhook configuration", description: "Creates a new webhook configuration for sending finding notifications to external endpoints.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_CreateWebhookRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "posture-api_CreateWebhookRequest": posture_api_CreateWebhookRequest, - "posture-api_WebhookHeaderInput": posture_api_WebhookHeaderInput, + "posture-api_CreateWebhookRequest": posture$$api_CreateWebhookRequest, + "posture-api_WebhookHeaderInput": posture$$api_WebhookHeaderInput, }, }, outputSchema: { @@ -63,9 +71,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "posture-api_Webhook": posture_api_Webhook_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_Webhook": posture$$api_Webhook, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -116,10 +124,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_Webhook": posture_api_Webhook_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_Webhook": posture$$api_Webhook, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -128,32 +136,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_webhooks_delete", + name: "zeroTrust_casb_webhooks_delete", title: "Delete a webhook configuration", description: "Soft deletes a webhook configuration by its unique identifier.\nThe webhook will be marked as deleted and will no longer be available for use.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "webhook_id": { - "description": "A UUID identifying the webhook configuration.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "webhook_id": { + "description": "A UUID identifying the webhook configuration.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "webhook_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_api-response-common", $defs: { - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -184,9 +200,9 @@ export const tools: readonly Tool[] = [ } }, $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, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -194,27 +210,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_webhooks_evaluate", + name: "zeroTrust_casb_webhooks_evaluate", title: "Test a webhook configuration before creating it", description: "Sends a test webhook event to the specified destination URL to verify the webhook endpoint \nis reachable and properly configured. This allows customers to validate their webhook \nconfiguration before creating the actual webhook resource.\n\nThe test payload includes:\n- event_type: \"webhook.test\"\n- timestamp: Current UTC timestamp\n- message: Test message indicating this is from Cloudflare CASB\n- data: Object with test: true", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_EvaluateNewWebhookRequest" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "posture-api_EvaluateNewWebhookRequest": posture_api_EvaluateNewWebhookRequest, - "posture-api_WebhookHeaderInput": posture_api_WebhookHeaderInput, + "posture-api_EvaluateNewWebhookRequest": posture$$api_EvaluateNewWebhookRequest, + "posture-api_WebhookHeaderInput": posture$$api_WebhookHeaderInput, }, }, outputSchema: { @@ -232,9 +256,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "posture-api_EvaluateNewWebhookResponse": posture_api_EvaluateNewWebhookResponse_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_EvaluateNewWebhookResponse": posture$$api_EvaluateNewWebhookResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -282,10 +306,10 @@ export const tools: readonly Tool[] = [ } }, $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, + "posture-api_EvaluateNewWebhookResponse": posture$$api_EvaluateNewWebhookResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -294,25 +318,33 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_webhooks_evaluate_existing", + name: "zeroTrust_casb_webhooks_evaluateExisting", title: "Test an existing webhook configuration", description: "Sends a test webhook event using an existing webhook configuration.\nThis allows customers to verify their webhook endpoint is still reachable and properly \nconfigured after creating the webhook resource.\n\nThe test payload includes:\n- event_type: \"webhook.test\"\n- timestamp: Current UTC timestamp\n- message: Test message indicating this is from Cloudflare CASB\n- data: Object with test: true", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "webhook_id": { - "description": "A UUID identifying the webhook configuration.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "webhook_id": { + "description": "A UUID identifying the webhook configuration.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "webhook_id" + "path" ], }, outputSchema: { @@ -330,9 +362,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "posture-api_EvaluateNewWebhookResponse": posture_api_EvaluateNewWebhookResponse_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_EvaluateNewWebhookResponse": posture$$api_EvaluateNewWebhookResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -383,10 +415,10 @@ export const tools: readonly Tool[] = [ } }, $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, + "posture-api_EvaluateNewWebhookResponse": posture$$api_EvaluateNewWebhookResponse, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ @@ -394,34 +426,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_webhooks_get", + name: "zeroTrust_casb_webhooks_get", title: "Get webhook configuration by ID", description: "Retrieves a specific webhook configuration by its unique identifier.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, - "webhook_id": { - "description": "A UUID identifying the webhook configuration.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "webhook_id": { + "description": "A UUID identifying the webhook configuration.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "webhook_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_webhook-response", $defs: { - "posture-api_Webhook": posture_api_Webhook_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_webhook-response": posture_api_webhook_response_output, + "posture-api_Webhook": posture$$api_Webhook, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, + "posture-api_webhook-response": posture$$api_webhook$$response, }, }, annotations: { @@ -461,11 +501,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_Webhook": posture_api_Webhook_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_webhook-response": posture_api_webhook_response_output, + "posture-api_Webhook": posture$$api_Webhook, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, + "posture-api_webhook-response": posture$$api_webhook$$response, }, }, request: (args) => ({ @@ -473,28 +513,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_webhooks_list", + name: "zeroTrust_casb_webhooks_list", title: "List webhook configurations", description: "Retrieves all webhook configurations for the authenticated account.\nReturns an array of webhook configurations that can be used to send finding notifications.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/posture-api_webhook-list-response", $defs: { - "posture-api_Webhook": posture_api_Webhook_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, - "posture-api_webhook-list-response": posture_api_webhook_list_response_output, + "posture-api_Webhook": posture$$api_Webhook, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, + "posture-api_webhook-list-response": posture$$api_webhook$$list$$response, }, }, annotations: { @@ -528,11 +576,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_Webhook": posture_api_Webhook_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_webhook-list-response": posture_api_webhook_list_response_output, + "posture-api_Webhook": posture$$api_Webhook, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, + "posture-api_webhook-list-response": posture$$api_webhook$$list$$response, }, }, request: (args) => ({ @@ -540,33 +588,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_casb_webhooks_update", + name: "zeroTrust_casb_webhooks_update", title: "Update an existing webhook configuration", description: "Updates an existing webhook configuration with new settings.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID for the user making the request.", - "type": "string" - }, "body": { "$ref": "#/$defs/posture-api_UpdateWebhookRequest" }, - "webhook_id": { - "description": "A UUID identifying the webhook configuration.", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID for the user making the request.", + "type": "string" + }, + "webhook_id": { + "description": "A UUID identifying the webhook configuration.", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "webhook_id" + ], + "type": "object" } }, required: [ - "account_id", - "webhook_id", + "path", "body" ], $defs: { - "posture-api_UpdateWebhookRequest": posture_api_UpdateWebhookRequest, - "posture-api_WebhookHeaderInput": posture_api_WebhookHeaderInput, + "posture-api_UpdateWebhookRequest": posture$$api_UpdateWebhookRequest, + "posture-api_WebhookHeaderInput": posture$$api_WebhookHeaderInput, }, }, outputSchema: { @@ -584,9 +640,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "posture-api_Webhook": posture_api_Webhook_output, - "posture-api_api-response-common": posture_api_api_response_common_output, - "posture-api_messages": posture_api_messages_output, + "posture-api_Webhook": posture$$api_Webhook, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_messages": posture$$api_messages, }, }, annotations: { @@ -637,10 +693,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "posture-api_Webhook": posture_api_Webhook_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_Webhook": posture$$api_Webhook, + "posture-api_api-response-common": posture$$api_api$$response$$common, + "posture-api_error-response": posture$$api_error$$response, + "posture-api_messages": posture$$api_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts b/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts index 5bdab80ff..8f4f93650 100644 --- a/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `tunnel_icmp_proxy_enabled` in responses. */ -export const tunnel_icmp_proxy_enabled_output: JsonSchema = { +export const tunnel_icmp_proxy_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `tunnel_offramp_warp_enabled` in responses. */ -export const tunnel_offramp_warp_enabled_output: JsonSchema = { +export const tunnel_offramp_warp_enabled: JsonSchema = { "type": "boolean" }; @@ -21,7 +21,7 @@ export const tunnel_offramp_warp_enabled_output: JsonSchema = { * The schema of `tunnel_zero_trust_connectivity_settings_response` in * responses. */ -export const tunnel_zero_trust_connectivity_settings_response_output: JsonSchema = { +export const tunnel_zero_trust_connectivity_settings_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tunnel_api-response-common" diff --git a/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts b/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts index 39c3c9888..a280a9128 100644 --- a/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts @@ -3,36 +3,32 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - tunnel_api_response_common_failure_output, - tunnel_api_response_common_output, - tunnel_messages_output, + tunnel_api$$response$$common, + tunnel_api$$response$$common$$failure, + tunnel_messages, } from "../../outputs.js"; import { tunnel_account_id } from "../../schemas.js"; -import { - tunnel_icmp_proxy_enabled_output, - tunnel_offramp_warp_enabled_output, - tunnel_zero_trust_connectivity_settings_response_output, -} from "./outputs.js"; import { tunnel_icmp_proxy_enabled, tunnel_offramp_warp_enabled, + tunnel_zero_trust_connectivity_settings_response, +} from "./outputs.js"; +import { + tunnel_icmp_proxy_enabled as tunnel_icmp_proxy_enabled$, + tunnel_offramp_warp_enabled as tunnel_offramp_warp_enabled$, } from "./schemas.js"; /** - * The tools of `zero_trust.connectivity_settings`. + * The tools of `zeroTrust.connectivitySettings`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_connectivity_settings_edit", + name: "zeroTrust_connectivitySettings_edit", title: "Updates the Zero Trust Connectivity Settings", description: "Updates the Zero Trust Connectivity Settings for the given account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" - }, "body": { "properties": { "icmp_proxy_enabled": { @@ -45,26 +41,38 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "tunnel_account_id": tunnel_account_id, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled, + "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled$, + "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_zero_trust_connectivity_settings_response", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled_output, - "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled, + "tunnel_messages": tunnel_messages, + "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled, + "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response, }, }, annotations: { @@ -91,12 +99,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled_output, - "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled, + "tunnel_messages": tunnel_messages, + "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled, + "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response, }, }, request: (args) => ({ @@ -105,19 +113,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_connectivity_settings_get", + name: "zeroTrust_connectivitySettings_get", title: "Get Zero Trust Connectivity Settings", description: "Gets the Zero Trust Connectivity Settings for the given account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/tunnel_account_id", + "description": "Cloudflare account ID" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "tunnel_account_id": tunnel_account_id, @@ -126,11 +142,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tunnel_zero_trust_connectivity_settings_response", $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled_output, - "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled, + "tunnel_messages": tunnel_messages, + "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled, + "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response, }, }, annotations: { @@ -159,12 +175,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_api-response-common": tunnel_api_response_common_output, - "tunnel_api-response-common-failure": tunnel_api_response_common_failure_output, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled_output, - "tunnel_messages": tunnel_messages_output, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled_output, - "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response_output, + "tunnel_api-response-common": tunnel_api$$response$$common, + "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, + "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled, + "tunnel_messages": tunnel_messages, + "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled, + "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/outputs.ts index 7abf1a2eb..45450c3c2 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cws_BasicAuthCredential` in responses. */ -export const cws_BasicAuthCredential_output: JsonSchema = { +export const cws_BasicAuthCredential: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -36,7 +36,7 @@ export const cws_BasicAuthCredential_output: JsonSchema = { /** * The schema of `cws_PageResponseBasicAuthCredential` in responses. */ -export const cws_PageResponseBasicAuthCredential_output: JsonSchema = { +export const cws_PageResponseBasicAuthCredential: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -97,7 +97,7 @@ export const cws_PageResponseBasicAuthCredential_output: JsonSchema = { /** * The schema of `cws_ResponseBasicAuthCredential` in responses. */ -export const cws_ResponseBasicAuthCredential_output: JsonSchema = { +export const cws_ResponseBasicAuthCredential: JsonSchema = { "properties": { "errors": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/outputs.ts index c70ff7af8..5a37c4dbb 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `cws_BasicAuthSecretResponse` in responses. */ -export const cws_BasicAuthSecretResponse_output: JsonSchema = { +export const cws_BasicAuthSecretResponse: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -31,7 +31,7 @@ export const cws_BasicAuthSecretResponse_output: JsonSchema = { /** * The schema of `cws_PageResponseBasicAuthSecretResponse` in responses. */ -export const cws_PageResponseBasicAuthSecretResponse_output: JsonSchema = { +export const cws_PageResponseBasicAuthSecretResponse: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -92,7 +92,7 @@ export const cws_PageResponseBasicAuthSecretResponse_output: JsonSchema = { /** * The schema of `cws_ResponseBasicAuthSecretResponse` in responses. */ -export const cws_ResponseBasicAuthSecretResponse_output: JsonSchema = { +export const cws_ResponseBasicAuthSecretResponse: JsonSchema = { "properties": { "errors": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts index ddeba4cbc..5e400e778 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts @@ -1,49 +1,57 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../../outputs.js"; import { - cws_BasicAuthSecretResponse_output, - cws_PageResponseBasicAuthSecretResponse_output, - cws_ResponseBasicAuthSecretResponse_output, + cws_BasicAuthSecretResponse, + cws_PageResponseBasicAuthSecretResponse, + cws_ResponseBasicAuthSecretResponse, } from "./outputs.js"; import { cws_CreateBasicAuthSecretBody } from "./schemas.js"; /** - * The tools of `zero_trust.cws.basic_auth_credentials.secrets`. + * The tools of `zeroTrust.cws.basicAuthCredentials.secrets`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_basic_auth_credentials_secrets_create", + name: "zeroTrust_cws_basicAuthCredentials_secrets_create", title: "Add a secret to a basic-auth credential", description: "Adds a password secret to the credential.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_CreateBasicAuthSecretBody" }, - "credential_id": { - "description": "ID of the parent credential", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "credential_id": { + "description": "ID of the parent credential", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_id", + "path", "body" ], $defs: { @@ -53,10 +61,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseBasicAuthSecretResponse", $defs: { - "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseBasicAuthSecretResponse": cws_ResponseBasicAuthSecretResponse_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseBasicAuthSecretResponse": cws_ResponseBasicAuthSecretResponse, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -87,11 +95,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseBasicAuthSecretResponse": cws_ResponseBasicAuthSecretResponse_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseBasicAuthSecretResponse": cws_ResponseBasicAuthSecretResponse, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -100,40 +108,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_basic_auth_credentials_secrets_delete", + name: "zeroTrust_cws_basicAuthCredentials_secrets_delete", title: "Delete a basic-auth secret", description: "Deletes the specified secret from the credential.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this basic-auth secret?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "credential_id": { - "description": "ID of the parent credential", - "format": "uuid", - "type": "string" - }, - "secret_id": { - "description": "ID of the secret to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "credential_id": { + "description": "ID of the parent credential", + "format": "uuid", + "type": "string" + }, + "secret_id": { + "description": "ID of the secret to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_id", + "secret_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_id", - "secret_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -161,11 +177,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -173,40 +189,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_basic_auth_credentials_secrets_get", + name: "zeroTrust_cws_basicAuthCredentials_secrets_get", title: "Get a basic-auth secret by ID", description: "Returns the specified secret's metadata without exposing its password or hash.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "credential_id": { - "description": "ID of the parent credential", - "format": "uuid", - "type": "string" - }, - "secret_id": { - "description": "ID of the secret to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "credential_id": { + "description": "ID of the parent credential", + "format": "uuid", + "type": "string" + }, + "secret_id": { + "description": "ID of the secret to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_id", + "secret_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_id", - "secret_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseBasicAuthSecretResponse", $defs: { - "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseBasicAuthSecretResponse": cws_ResponseBasicAuthSecretResponse_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseBasicAuthSecretResponse": cws_ResponseBasicAuthSecretResponse, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -234,11 +258,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseBasicAuthSecretResponse": cws_ResponseBasicAuthSecretResponse_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseBasicAuthSecretResponse": cws_ResponseBasicAuthSecretResponse, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -246,61 +270,74 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_basic_auth_credentials_secrets_list", + name: "zeroTrust_cws_basicAuthCredentials_secrets_list", title: "List secrets for a basic-auth credential", description: "Returns a paginated list of secrets belonging to the credential.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "credential_id": { - "description": "ID of the parent credential", - "format": "uuid", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "created_at" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "credential_id": { + "description": "ID of the parent credential", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_id" ], - "type": "string" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "created_at" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "credential_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponseBasicAuthSecretResponse", $defs: { - "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseBasicAuthSecretResponse": cws_PageResponseBasicAuthSecretResponse_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseBasicAuthSecretResponse": cws_PageResponseBasicAuthSecretResponse, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, annotations: { @@ -328,21 +365,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseBasicAuthSecretResponse": cws_PageResponseBasicAuthSecretResponse_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_BasicAuthSecretResponse": cws_BasicAuthSecretResponse, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseBasicAuthSecretResponse": cws_PageResponseBasicAuthSecretResponse, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials/${pathParam(args, "credential_id")}/secrets`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts index f9ca38cad..2831de5e7 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts @@ -1,43 +1,51 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../outputs.js"; import { - cws_BasicAuthCredential_output, - cws_PageResponseBasicAuthCredential_output, - cws_ResponseBasicAuthCredential_output, + cws_BasicAuthCredential, + cws_PageResponseBasicAuthCredential, + cws_ResponseBasicAuthCredential, } from "./outputs.js"; import { cws_CreateBasicAuthCredentialInputBody } from "./schemas.js"; /** - * The tools of `zero_trust.cws.basic_auth_credentials`. + * The tools of `zeroTrust.cws.basicAuthCredentials`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_basic_auth_credentials_create", + name: "zeroTrust_cws_basicAuthCredentials_create", title: "Create a basic-auth credential", description: "Creates a basic-auth credential with the specified username.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_CreateBasicAuthCredentialInputBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -47,10 +55,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseBasicAuthCredential", $defs: { - "cws_BasicAuthCredential": cws_BasicAuthCredential_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseBasicAuthCredential": cws_ResponseBasicAuthCredential_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_BasicAuthCredential": cws_BasicAuthCredential, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseBasicAuthCredential": cws_ResponseBasicAuthCredential, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -78,11 +86,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_BasicAuthCredential": cws_BasicAuthCredential_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseBasicAuthCredential": cws_ResponseBasicAuthCredential_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_BasicAuthCredential": cws_BasicAuthCredential, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseBasicAuthCredential": cws_ResponseBasicAuthCredential, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -91,34 +99,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_basic_auth_credentials_delete", + name: "zeroTrust_cws_basicAuthCredentials_delete", title: "Delete a basic-auth credential", description: "Deletes the credential and its secrets if it is not attached to a deployment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this basic-auth credential?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "credential_id": { - "description": "ID of the credential to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "credential_id": { + "description": "ID of the credential to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -146,11 +162,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -158,34 +174,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_basic_auth_credentials_get", + name: "zeroTrust_cws_basicAuthCredentials_get", title: "Get a basic-auth credential by ID", description: "Returns the basic-auth credential with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "credential_id": { - "description": "ID of the credential to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "credential_id": { + "description": "ID of the credential to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "credential_id" + ], + "type": "object" } }, required: [ - "account_id", - "credential_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseBasicAuthCredential", $defs: { - "cws_BasicAuthCredential": cws_BasicAuthCredential_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseBasicAuthCredential": cws_ResponseBasicAuthCredential_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_BasicAuthCredential": cws_BasicAuthCredential, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseBasicAuthCredential": cws_ResponseBasicAuthCredential, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -213,11 +237,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_BasicAuthCredential": cws_BasicAuthCredential_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseBasicAuthCredential": cws_ResponseBasicAuthCredential_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_BasicAuthCredential": cws_BasicAuthCredential, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseBasicAuthCredential": cws_ResponseBasicAuthCredential, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -225,66 +249,79 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_basic_auth_credentials_list", + name: "zeroTrust_cws_basicAuthCredentials_list", title: "List basic-auth credentials for an account", description: "Returns a paginated list of basic-auth credentials in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "deployment_id": { - "description": "Filter to credentials attached to this deployment", - "format": "uuid", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "username", - "created_at", - "updated_at" - ], - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" + "type": "object" }, - "username": { - "description": "Filter by username (case-insensitive substring match)", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "deployment_id": { + "description": "Filter to credentials attached to this deployment", + "format": "uuid", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "username", + "created_at", + "updated_at" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + }, + "username": { + "description": "Filter by username (case-insensitive substring match)", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponseBasicAuthCredential", $defs: { - "cws_BasicAuthCredential": cws_BasicAuthCredential_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseBasicAuthCredential": cws_PageResponseBasicAuthCredential_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_BasicAuthCredential": cws_BasicAuthCredential, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseBasicAuthCredential": cws_PageResponseBasicAuthCredential, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, annotations: { @@ -312,23 +349,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_BasicAuthCredential": cws_BasicAuthCredential_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseBasicAuthCredential": cws_PageResponseBasicAuthCredential_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_BasicAuthCredential": cws_BasicAuthCredential, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseBasicAuthCredential": cws_PageResponseBasicAuthCredential, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/basic-auth-credentials`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["username", args["username"], false], - ["deployment_id", args["deployment_id"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["username", param(args, "query", "username"), false], + ["deployment_id", param(args, "query", "deployment_id"), false], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/deployments/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/deployments/outputs.ts index 9be019ef1..d18237718 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/deployments/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/deployments/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cws_Deployment` in responses. */ -export const cws_Deployment_output: JsonSchema = { +export const cws_Deployment: JsonSchema = { "properties": { "basic_auth_credential_ids": { "oneOf": [ @@ -100,7 +100,7 @@ export const cws_Deployment_output: JsonSchema = { /** * The schema of `cws_PageResponseDeployment` in responses. */ -export const cws_PageResponseDeployment_output: JsonSchema = { +export const cws_PageResponseDeployment: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -161,7 +161,7 @@ export const cws_PageResponseDeployment_output: JsonSchema = { /** * The schema of `cws_ResponseDeployment` in responses. */ -export const cws_ResponseDeployment_output: JsonSchema = { +export const cws_ResponseDeployment: JsonSchema = { "properties": { "errors": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts index ad44b5f00..3978894b0 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../outputs.js"; import { - cws_Deployment_output, - cws_PageResponseDeployment_output, - cws_ResponseDeployment_output, + cws_Deployment, + cws_PageResponseDeployment, + cws_ResponseDeployment, } from "./outputs.js"; import { cws_CreateDeploymentInputBody, @@ -21,26 +21,34 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.cws.deployments`. + * The tools of `zeroTrust.cws.deployments`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_deployments_create", + name: "zeroTrust_cws_deployments_create", title: "Create a new deployment", description: "Creates a deployment with the specified policy sets, domain ACL, and basic-auth credentials.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_CreateDeploymentInputBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -50,10 +58,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseDeployment", $defs: { - "cws_Deployment": cws_Deployment_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeployment": cws_ResponseDeployment_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_Deployment": cws_Deployment, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeployment": cws_ResponseDeployment, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -81,11 +89,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_Deployment": cws_Deployment_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeployment": cws_ResponseDeployment_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_Deployment": cws_Deployment, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeployment": cws_ResponseDeployment, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -94,34 +102,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_deployments_delete", + name: "zeroTrust_cws_deployments_delete", title: "Delete a deployment", description: "Deletes the deployment and detaches its associated resources. The resources are not deleted.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this deployment?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "deployment_id": { - "description": "ID of the deployment to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "deployment_id": { + "description": "ID of the deployment to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "deployment_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -149,11 +165,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -161,34 +177,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_deployments_get", + name: "zeroTrust_cws_deployments_get", title: "Get a deployment by ID", description: "Returns the deployment with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "deployment_id": { - "description": "ID of the deployment to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "deployment_id": { + "description": "ID of the deployment to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "deployment_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeployment", $defs: { - "cws_Deployment": cws_Deployment_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeployment": cws_ResponseDeployment_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_Deployment": cws_Deployment, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeployment": cws_ResponseDeployment, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -216,11 +240,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_Deployment": cws_Deployment_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeployment": cws_ResponseDeployment_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_Deployment": cws_Deployment, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeployment": cws_ResponseDeployment, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -228,61 +252,74 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_deployments_list", + name: "zeroTrust_cws_deployments_list", title: "List deployments", description: "Returns a paginated list of deployments in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "name": { - "description": "Filter by deployment name (case-insensitive substring match)", - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "name", - "created_at", - "updated_at" - ], - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filter by deployment name (case-insensitive substring match)", + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponseDeployment", $defs: { - "cws_Deployment": cws_Deployment_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseDeployment": cws_PageResponseDeployment_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_Deployment": cws_Deployment, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseDeployment": cws_PageResponseDeployment, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, annotations: { @@ -310,48 +347,56 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_Deployment": cws_Deployment_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseDeployment": cws_PageResponseDeployment_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_Deployment": cws_Deployment, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseDeployment": cws_PageResponseDeployment, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/deployments`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["name", args["name"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["name", param(args, "query", "name"), false], ], }), }, { - name: "zero_trust_cws_deployments_update", + name: "zeroTrust_cws_deployments_update", title: "Update a deployment", description: "Replaces the deployment's mutable configuration and resource attachments.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_UpdateDeploymentInputBody" }, - "deployment_id": { - "description": "ID of the deployment to update", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "deployment_id": { + "description": "ID of the deployment to update", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "deployment_id" + ], + "type": "object" } }, required: [ - "account_id", - "deployment_id", + "path", "body" ], $defs: { @@ -361,10 +406,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseDeployment", $defs: { - "cws_Deployment": cws_Deployment_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeployment": cws_ResponseDeployment_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_Deployment": cws_Deployment, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeployment": cws_ResponseDeployment, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -392,11 +437,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_Deployment": cws_Deployment_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeployment": cws_ResponseDeployment_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_Deployment": cws_Deployment, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeployment": cws_ResponseDeployment, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/cws/domainAcls/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/outputs.ts index 794a4860f..c79ea27a2 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/domainAcls/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cws_DomainACL` in responses. */ -export const cws_DomainACL_output: JsonSchema = { +export const cws_DomainACL: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -58,7 +58,7 @@ export const cws_DomainACL_output: JsonSchema = { /** * The schema of `cws_DomainACLEntry` in responses. */ -export const cws_DomainACLEntry_output: JsonSchema = { +export const cws_DomainACLEntry: JsonSchema = { "properties": { "action": { "enum": [ @@ -81,7 +81,7 @@ export const cws_DomainACLEntry_output: JsonSchema = { /** * The schema of `cws_PageResponseDomainACL` in responses. */ -export const cws_PageResponseDomainACL_output: JsonSchema = { +export const cws_PageResponseDomainACL: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -142,7 +142,7 @@ export const cws_PageResponseDomainACL_output: JsonSchema = { /** * The schema of `cws_ResponseDomainACL` in responses. */ -export const cws_ResponseDomainACL_output: JsonSchema = { +export const cws_ResponseDomainACL: JsonSchema = { "properties": { "errors": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts index e2bc3e7f5..ec25d1979 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts @@ -1,63 +1,71 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../outputs.js"; import { - cws_DomainACLEntry_output, - cws_DomainACL_output, - cws_PageResponseDomainACL_output, - cws_ResponseDomainACL_output, + cws_DomainACL, + cws_DomainACLEntry, + cws_PageResponseDomainACL, + cws_ResponseDomainACL, } from "./outputs.js"; import { cws_CreateDomainACLInputBody, - cws_DomainACLEntry, + cws_DomainACLEntry as cws_DomainACLEntry$, cws_UpdateDomainACLInputBody, } from "./schemas.js"; /** - * The tools of `zero_trust.cws.domain_acls`. + * The tools of `zeroTrust.cws.domainAcls`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_domain_acls_create", + name: "zeroTrust_cws_domainAcls_create", title: "Create a new domain ACL", description: "Creates a domain access control list with its default action and entries.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_CreateDomainACLInputBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "cws_CreateDomainACLInputBody": cws_CreateDomainACLInputBody, - "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_DomainACLEntry": cws_DomainACLEntry$, }, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDomainACL", $defs: { - "cws_DomainACL": cws_DomainACL_output, - "cws_DomainACLEntry": cws_DomainACLEntry_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDomainACL": cws_ResponseDomainACL_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DomainACL": cws_DomainACL, + "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDomainACL": cws_ResponseDomainACL, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -85,12 +93,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DomainACL": cws_DomainACL_output, - "cws_DomainACLEntry": cws_DomainACLEntry_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDomainACL": cws_ResponseDomainACL_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DomainACL": cws_DomainACL, + "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDomainACL": cws_ResponseDomainACL, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -99,34 +107,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_domain_acls_delete", + name: "zeroTrust_cws_domainAcls_delete", title: "Delete a domain ACL", description: "Deletes the domain ACL if it is not attached to a deployment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this domain ACL?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "domain_acl_id": { - "description": "ID of the domain ACL to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "domain_acl_id": { + "description": "ID of the domain ACL to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "domain_acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_acl_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -154,11 +170,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -166,35 +182,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_domain_acls_get", + name: "zeroTrust_cws_domainAcls_get", title: "Get a domain ACL by ID", description: "Returns the domain access control list with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "domain_acl_id": { - "description": "ID of the domain ACL to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "domain_acl_id": { + "description": "ID of the domain ACL to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "domain_acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_acl_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDomainACL", $defs: { - "cws_DomainACL": cws_DomainACL_output, - "cws_DomainACLEntry": cws_DomainACLEntry_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDomainACL": cws_ResponseDomainACL_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DomainACL": cws_DomainACL, + "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDomainACL": cws_ResponseDomainACL, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -222,12 +246,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DomainACL": cws_DomainACL_output, - "cws_DomainACLEntry": cws_DomainACLEntry_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDomainACL": cws_ResponseDomainACL_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DomainACL": cws_DomainACL, + "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDomainACL": cws_ResponseDomainACL, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -235,67 +259,80 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_domain_acls_list", + name: "zeroTrust_cws_domainAcls_list", title: "List domain ACLs", description: "Returns a paginated list of domain access control lists in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "deployment_id": { - "description": "Filter to domain ACLs attached to this deployment", - "format": "uuid", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "name": { - "description": "Filter by domain ACL name (case-insensitive substring match)", - "type": "string" + "type": "object" }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "name", - "created_at", - "updated_at" - ], - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "deployment_id": { + "description": "Filter to domain ACLs attached to this deployment", + "format": "uuid", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filter by domain ACL name (case-insensitive substring match)", + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponseDomainACL", $defs: { - "cws_DomainACL": cws_DomainACL_output, - "cws_DomainACLEntry": cws_DomainACLEntry_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseDomainACL": cws_PageResponseDomainACL_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_DomainACL": cws_DomainACL, + "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseDomainACL": cws_PageResponseDomainACL, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, annotations: { @@ -323,65 +360,73 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DomainACL": cws_DomainACL_output, - "cws_DomainACLEntry": cws_DomainACLEntry_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseDomainACL": cws_PageResponseDomainACL_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_DomainACL": cws_DomainACL, + "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseDomainACL": cws_PageResponseDomainACL, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/domain-acls`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["name", args["name"], false], - ["deployment_id", args["deployment_id"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["name", param(args, "query", "name"), false], + ["deployment_id", param(args, "query", "deployment_id"), false], ], }), }, { - name: "zero_trust_cws_domain_acls_update", + name: "zeroTrust_cws_domainAcls_update", title: "Update a domain ACL and replace its entries", description: "Replaces the domain access control list's name, default action, and entries.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_UpdateDomainACLInputBody" }, - "domain_acl_id": { - "description": "ID of the domain ACL to update", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "domain_acl_id": { + "description": "ID of the domain ACL to update", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "domain_acl_id" + ], + "type": "object" } }, required: [ - "account_id", - "domain_acl_id", + "path", "body" ], $defs: { - "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_DomainACLEntry": cws_DomainACLEntry$, "cws_UpdateDomainACLInputBody": cws_UpdateDomainACLInputBody, }, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDomainACL", $defs: { - "cws_DomainACL": cws_DomainACL_output, - "cws_DomainACLEntry": cws_DomainACLEntry_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDomainACL": cws_ResponseDomainACL_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DomainACL": cws_DomainACL, + "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDomainACL": cws_ResponseDomainACL, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -409,12 +454,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DomainACL": cws_DomainACL_output, - "cws_DomainACLEntry": cws_DomainACLEntry_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDomainACL": cws_ResponseDomainACL_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DomainACL": cws_DomainACL, + "cws_DomainACLEntry": cws_DomainACLEntry, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDomainACL": cws_ResponseDomainACL, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/cws/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/outputs.ts index cbb5eac55..52b43ab46 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cws_DeletedResult` in responses. */ -export const cws_DeletedResult_output: JsonSchema = { +export const cws_DeletedResult: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -22,7 +22,7 @@ export const cws_DeletedResult_output: JsonSchema = { /** * The schema of `cws_ErrorResponse` in responses. */ -export const cws_ErrorResponse_output: JsonSchema = { +export const cws_ErrorResponse: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -72,7 +72,7 @@ export const cws_ErrorResponse_output: JsonSchema = { /** * The schema of `cws_MessageSource` in responses. */ -export const cws_MessageSource_output: JsonSchema = { +export const cws_MessageSource: JsonSchema = { "properties": { "pointer": { "type": "string" @@ -87,7 +87,7 @@ export const cws_MessageSource_output: JsonSchema = { /** * The schema of `cws_ResponseDeletedResult` in responses. */ -export const cws_ResponseDeletedResult_output: JsonSchema = { +export const cws_ResponseDeletedResult: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -134,7 +134,7 @@ export const cws_ResponseDeletedResult_output: JsonSchema = { /** * The schema of `cws_ResponseMessage` in responses. */ -export const cws_ResponseMessage_output: JsonSchema = { +export const cws_ResponseMessage: JsonSchema = { "properties": { "code": { "type": "integer" @@ -156,7 +156,7 @@ export const cws_ResponseMessage_output: JsonSchema = { /** * The schema of `cws_ResultInfo` in responses. */ -export const cws_ResultInfo_output: JsonSchema = { +export const cws_ResultInfo: JsonSchema = { "properties": { "count": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/cws/policies/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/policies/outputs.ts index 769af381a..3c2077265 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/policies/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/policies/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cws_PageResponsePolicy` in responses. */ -export const cws_PageResponsePolicy_output: JsonSchema = { +export const cws_PageResponsePolicy: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -67,7 +67,7 @@ export const cws_PageResponsePolicy_output: JsonSchema = { /** * The schema of `cws_Policy` in responses. */ -export const cws_Policy_output: JsonSchema = { +export const cws_Policy: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -123,7 +123,7 @@ export const cws_Policy_output: JsonSchema = { /** * The schema of `cws_ResponsePolicy` in responses. */ -export const cws_ResponsePolicy_output: JsonSchema = { +export const cws_ResponsePolicy: JsonSchema = { "properties": { "errors": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts index cb10a0324..c1cfc3d1d 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../outputs.js"; import { - cws_PageResponsePolicy_output, - cws_Policy_output, - cws_ResponsePolicy_output, + cws_PageResponsePolicy, + cws_Policy, + cws_ResponsePolicy, } from "./outputs.js"; import { cws_CreatePolicyInputBody, @@ -21,26 +21,34 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.cws.policies`. + * The tools of `zeroTrust.cws.policies`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_policies_create", + name: "zeroTrust_cws_policies_create", title: "Create a new policy", description: "Creates a policy from inline Rego source, an entrypoint, and a filter expression.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_CreatePolicyInputBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -50,10 +58,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponsePolicy", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_Policy": cws_Policy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicy": cws_ResponsePolicy_output, + "cws_MessageSource": cws_MessageSource, + "cws_Policy": cws_Policy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicy": cws_ResponsePolicy, }, }, annotations: { @@ -84,11 +92,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_Policy": cws_Policy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicy": cws_ResponsePolicy_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_Policy": cws_Policy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicy": cws_ResponsePolicy, }, }, request: (args) => ({ @@ -97,34 +105,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_policies_delete", + name: "zeroTrust_cws_policies_delete", title: "Delete a policy", description: "Deletes the policy and cascades its policy-set membership rows. The policy sets remain.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this policy?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "policy_id": { - "description": "ID of the policy to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "policy_id": { + "description": "ID of the policy to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -152,11 +168,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -164,34 +180,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_policies_get", + name: "zeroTrust_cws_policies_get", title: "Get a policy by ID", description: "Returns the policy with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "policy_id": { - "description": "ID of the policy to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "policy_id": { + "description": "ID of the policy to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponsePolicy", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_Policy": cws_Policy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicy": cws_ResponsePolicy_output, + "cws_MessageSource": cws_MessageSource, + "cws_Policy": cws_Policy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicy": cws_ResponsePolicy, }, }, annotations: { @@ -219,11 +243,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_Policy": cws_Policy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicy": cws_ResponsePolicy_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_Policy": cws_Policy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicy": cws_ResponsePolicy, }, }, request: (args) => ({ @@ -231,70 +255,83 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_policies_list", + name: "zeroTrust_cws_policies_list", title: "List policies", description: "Returns a paginated list of policies in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "name": { - "description": "Filter by policy name (case-insensitive substring match)", - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "name", - "created_at", - "updated_at" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "package_path": { - "description": "Filter by package path (case-sensitive literal substring match)", - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" - }, - "policy_set_id": { - "description": "Filter to policies attached to (members of) this policy set", - "format": "uuid", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filter by policy name (case-insensitive substring match)", + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "package_path": { + "description": "Filter by package path (case-sensitive literal substring match)", + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + }, + "policy_set_id": { + "description": "Filter to policies attached to (members of) this policy set", + "format": "uuid", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponsePolicy", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponsePolicy": cws_PageResponsePolicy_output, - "cws_Policy": cws_Policy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponsePolicy": cws_PageResponsePolicy, + "cws_Policy": cws_Policy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, annotations: { @@ -322,50 +359,58 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponsePolicy": cws_PageResponsePolicy_output, - "cws_Policy": cws_Policy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponsePolicy": cws_PageResponsePolicy, + "cws_Policy": cws_Policy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policies`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["name", args["name"], false], - ["policy_set_id", args["policy_set_id"], false], - ["package_path", args["package_path"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["name", param(args, "query", "name"), false], + ["policy_set_id", param(args, "query", "policy_set_id"), false], + ["package_path", param(args, "query", "package_path"), false], ], }), }, { - name: "zero_trust_cws_policies_update", + name: "zeroTrust_cws_policies_update", title: "Update a policy", description: "Replaces the policy's configuration. Omit tags or use {} to clear them.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_UpdatePolicyInputBody" }, - "policy_id": { - "description": "ID of the policy to update", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "policy_id": { + "description": "ID of the policy to update", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", + "path", "body" ], $defs: { @@ -375,10 +420,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponsePolicy", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_Policy": cws_Policy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicy": cws_ResponsePolicy_output, + "cws_MessageSource": cws_MessageSource, + "cws_Policy": cws_Policy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicy": cws_ResponsePolicy, }, }, annotations: { @@ -409,11 +454,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_Policy": cws_Policy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicy": cws_ResponsePolicy_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_Policy": cws_Policy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicy": cws_ResponsePolicy, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/cws/policySets/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/policySets/outputs.ts index 940cfebe2..ed0d787da 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/policySets/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/policySets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cws_PageResponsePolicySet` in responses. */ -export const cws_PageResponsePolicySet_output: JsonSchema = { +export const cws_PageResponsePolicySet: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -67,7 +67,7 @@ export const cws_PageResponsePolicySet_output: JsonSchema = { /** * The schema of `cws_PolicySet` in responses. */ -export const cws_PolicySet_output: JsonSchema = { +export const cws_PolicySet: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -151,7 +151,7 @@ export const cws_PolicySet_output: JsonSchema = { /** * The schema of `cws_PolicySetPolicy` in responses. */ -export const cws_PolicySetPolicy_output: JsonSchema = { +export const cws_PolicySetPolicy: JsonSchema = { "properties": { "enforce": { "type": "boolean" @@ -171,7 +171,7 @@ export const cws_PolicySetPolicy_output: JsonSchema = { /** * The schema of `cws_ResponsePolicySet` in responses. */ -export const cws_ResponsePolicySet_output: JsonSchema = { +export const cws_ResponsePolicySet: JsonSchema = { "properties": { "errors": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts index c66a50c0b..03573cf66 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/policySets/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, param, pathParam } from "../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../outputs.js"; import { - cws_PageResponsePolicySet_output, - cws_PolicySetPolicy_output, - cws_PolicySet_output, - cws_ResponsePolicySet_output, + cws_PageResponsePolicySet, + cws_PolicySet, + cws_PolicySetPolicy, + cws_ResponsePolicySet, } from "./outputs.js"; import { cws_CreatePolicySetInputBody, @@ -23,26 +23,34 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.cws.policy_sets`. + * The tools of `zeroTrust.cws.policySets`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_policy_sets_create", + name: "zeroTrust_cws_policySets_create", title: "Create a new policy set", description: "Creates a policy set containing the specified policies and workload targets.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_CreatePolicySetInputBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -53,11 +61,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponsePolicySet", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_PolicySet": cws_PolicySet_output, - "cws_PolicySetPolicy": cws_PolicySetPolicy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicySet": cws_ResponsePolicySet_output, + "cws_MessageSource": cws_MessageSource, + "cws_PolicySet": cws_PolicySet, + "cws_PolicySetPolicy": cws_PolicySetPolicy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicySet": cws_ResponsePolicySet, }, }, annotations: { @@ -85,12 +93,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PolicySet": cws_PolicySet_output, - "cws_PolicySetPolicy": cws_PolicySetPolicy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicySet": cws_ResponsePolicySet_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PolicySet": cws_PolicySet, + "cws_PolicySetPolicy": cws_PolicySetPolicy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicySet": cws_ResponsePolicySet, }, }, request: (args) => ({ @@ -99,34 +107,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_policy_sets_delete", + name: "zeroTrust_cws_policySets_delete", title: "Delete a policy set", description: "Deletes the policy set and cascades its deployment attachment and policy and workload membership rows. The referenced deployments, policies, and workloads remain.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this policy set?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "policy_set_id": { - "description": "ID of the policy set to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "policy_set_id": { + "description": "ID of the policy set to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_set_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -154,11 +170,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -166,35 +182,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_policy_sets_get", + name: "zeroTrust_cws_policySets_get", title: "Get a policy set by ID", description: "Returns the policy set with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "policy_set_id": { - "description": "ID of the policy set to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "policy_set_id": { + "description": "ID of the policy set to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_set_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponsePolicySet", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_PolicySet": cws_PolicySet_output, - "cws_PolicySetPolicy": cws_PolicySetPolicy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicySet": cws_ResponsePolicySet_output, + "cws_MessageSource": cws_MessageSource, + "cws_PolicySet": cws_PolicySet, + "cws_PolicySetPolicy": cws_PolicySetPolicy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicySet": cws_ResponsePolicySet, }, }, annotations: { @@ -222,12 +246,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PolicySet": cws_PolicySet_output, - "cws_PolicySetPolicy": cws_PolicySetPolicy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicySet": cws_ResponsePolicySet_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PolicySet": cws_PolicySet, + "cws_PolicySetPolicy": cws_PolicySetPolicy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicySet": cws_ResponsePolicySet, }, }, request: (args) => ({ @@ -235,67 +259,80 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_policy_sets_list", + name: "zeroTrust_cws_policySets_list", title: "List policy sets", description: "Returns a paginated list of policy sets in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "deployment_id": { - "description": "Filter to policy sets attached to this deployment", - "format": "uuid", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "name": { - "description": "Filter by policy set name (case-insensitive substring match)", - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "name", - "created_at", - "updated_at" - ], - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "deployment_id": { + "description": "Filter to policy sets attached to this deployment", + "format": "uuid", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filter by policy set name (case-insensitive substring match)", + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponsePolicySet", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponsePolicySet": cws_PageResponsePolicySet_output, - "cws_PolicySet": cws_PolicySet_output, - "cws_PolicySetPolicy": cws_PolicySetPolicy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponsePolicySet": cws_PageResponsePolicySet, + "cws_PolicySet": cws_PolicySet, + "cws_PolicySetPolicy": cws_PolicySetPolicy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, annotations: { @@ -323,50 +360,58 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponsePolicySet": cws_PageResponsePolicySet_output, - "cws_PolicySet": cws_PolicySet_output, - "cws_PolicySetPolicy": cws_PolicySetPolicy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponsePolicySet": cws_PageResponsePolicySet, + "cws_PolicySet": cws_PolicySet, + "cws_PolicySetPolicy": cws_PolicySetPolicy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/policy-sets`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["name", args["name"], false], - ["deployment_id", args["deployment_id"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["name", param(args, "query", "name"), false], + ["deployment_id", param(args, "query", "deployment_id"), false], ], }), }, { - name: "zero_trust_cws_policy_sets_update", + name: "zeroTrust_cws_policySets_update", title: "Update a policy set", description: "Replaces the policy set's configuration. Omit tags or use {} to clear them.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_UpdatePolicySetInputBody" }, - "policy_set_id": { - "description": "ID of the policy set to update", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "policy_set_id": { + "description": "ID of the policy set to update", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "policy_set_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_set_id", + "path", "body" ], $defs: { @@ -377,11 +422,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponsePolicySet", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_PolicySet": cws_PolicySet_output, - "cws_PolicySetPolicy": cws_PolicySetPolicy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicySet": cws_ResponsePolicySet_output, + "cws_MessageSource": cws_MessageSource, + "cws_PolicySet": cws_PolicySet, + "cws_PolicySetPolicy": cws_PolicySetPolicy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicySet": cws_ResponsePolicySet, }, }, annotations: { @@ -409,12 +454,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PolicySet": cws_PolicySet_output, - "cws_PolicySetPolicy": cws_PolicySetPolicy_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponsePolicySet": cws_ResponsePolicySet_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PolicySet": cws_PolicySet, + "cws_PolicySetPolicy": cws_PolicySetPolicy, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponsePolicySet": cws_ResponsePolicySet, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/outputs.ts index 7c8e62dff..6847a67d7 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cws_JSONDocument` in responses. */ -export const cws_JSONDocument_output: JsonSchema = { +export const cws_JSONDocument: JsonSchema = { "anyOf": [ { "additionalProperties": { @@ -35,7 +35,7 @@ export const cws_JSONDocument_output: JsonSchema = { /** * The schema of `cws_JSONValue` in responses. */ -export const cws_JSONValue_output: JsonSchema = { +export const cws_JSONValue: JsonSchema = { "anyOf": [ { "additionalProperties": { @@ -67,7 +67,7 @@ export const cws_JSONValue_output: JsonSchema = { /** * The schema of `cws_PageResponseRegoMetadata` in responses. */ -export const cws_PageResponseRegoMetadata_output: JsonSchema = { +export const cws_PageResponseRegoMetadata: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -128,7 +128,7 @@ export const cws_PageResponseRegoMetadata_output: JsonSchema = { /** * The schema of `cws_RegoMetadata` in responses. */ -export const cws_RegoMetadata_output: JsonSchema = { +export const cws_RegoMetadata: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -166,7 +166,7 @@ export const cws_RegoMetadata_output: JsonSchema = { /** * The schema of `cws_ResponseRegoMetadata` in responses. */ -export const cws_ResponseRegoMetadata_output: JsonSchema = { +export const cws_ResponseRegoMetadata: JsonSchema = { "properties": { "errors": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts index 6d9701d0e..5d2413174 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts @@ -1,66 +1,74 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../outputs.js"; -import { - cws_JSONDocument_output, - cws_JSONValue_output, - cws_PageResponseRegoMetadata_output, - cws_RegoMetadata_output, - cws_ResponseRegoMetadata_output, -} from "./outputs.js"; import { cws_JSONDocument, cws_JSONValue, + cws_PageResponseRegoMetadata, + cws_RegoMetadata, + cws_ResponseRegoMetadata, +} from "./outputs.js"; +import { + cws_JSONDocument as cws_JSONDocument$, + cws_JSONValue as cws_JSONValue$, cws_RegoMetadataBody, } from "./schemas.js"; /** - * The tools of `zero_trust.cws.rego_metadata`. + * The tools of `zeroTrust.cws.regoMetadata`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_rego_metadata_create", + name: "zeroTrust_cws_regoMetadata_create", title: "Create a new rego metadata document", description: "Creates a JSON document that Rego can access through its import path.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_RegoMetadataBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "cws_JSONDocument": cws_JSONDocument, - "cws_JSONValue": cws_JSONValue, + "cws_JSONDocument": cws_JSONDocument$, + "cws_JSONValue": cws_JSONValue$, "cws_RegoMetadataBody": cws_RegoMetadataBody, }, }, outputSchema: { "$ref": "#/$defs/cws_ResponseRegoMetadata", $defs: { - "cws_JSONDocument": cws_JSONDocument_output, - "cws_JSONValue": cws_JSONValue_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoMetadata": cws_RegoMetadata_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata_output, + "cws_JSONDocument": cws_JSONDocument, + "cws_JSONValue": cws_JSONValue, + "cws_MessageSource": cws_MessageSource, + "cws_RegoMetadata": cws_RegoMetadata, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata, }, }, annotations: { @@ -88,13 +96,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_JSONDocument": cws_JSONDocument_output, - "cws_JSONValue": cws_JSONValue_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoMetadata": cws_RegoMetadata_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_JSONDocument": cws_JSONDocument, + "cws_JSONValue": cws_JSONValue, + "cws_MessageSource": cws_MessageSource, + "cws_RegoMetadata": cws_RegoMetadata, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata, }, }, request: (args) => ({ @@ -103,34 +111,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_rego_metadata_delete", + name: "zeroTrust_cws_regoMetadata_delete", title: "Delete a rego metadata document", description: "Deletes the specified Rego metadata document.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this Rego metadata document?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "rego_metadata_id": { - "description": "ID of the rego metadata document to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "rego_metadata_id": { + "description": "ID of the rego metadata document to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "rego_metadata_id" + ], + "type": "object" } }, required: [ - "account_id", - "rego_metadata_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -158,11 +174,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -170,36 +186,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_rego_metadata_get", + name: "zeroTrust_cws_regoMetadata_get", title: "Get a rego metadata document by ID", description: "Returns the Rego metadata document with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "rego_metadata_id": { - "description": "ID of the rego metadata document to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "rego_metadata_id": { + "description": "ID of the rego metadata document to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "rego_metadata_id" + ], + "type": "object" } }, required: [ - "account_id", - "rego_metadata_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseRegoMetadata", $defs: { - "cws_JSONDocument": cws_JSONDocument_output, - "cws_JSONValue": cws_JSONValue_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoMetadata": cws_RegoMetadata_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata_output, + "cws_JSONDocument": cws_JSONDocument, + "cws_JSONValue": cws_JSONValue, + "cws_MessageSource": cws_MessageSource, + "cws_RegoMetadata": cws_RegoMetadata, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata, }, }, annotations: { @@ -227,13 +251,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_JSONDocument": cws_JSONDocument_output, - "cws_JSONValue": cws_JSONValue_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoMetadata": cws_RegoMetadata_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_JSONDocument": cws_JSONDocument, + "cws_JSONValue": cws_JSONValue, + "cws_MessageSource": cws_MessageSource, + "cws_RegoMetadata": cws_RegoMetadata, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata, }, }, request: (args) => ({ @@ -241,67 +265,80 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_rego_metadata_list", + name: "zeroTrust_cws_regoMetadata_list", title: "List Rego metadata documents", description: "Returns a paginated list of Rego metadata documents in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "import_path": { - "description": "Filter by import path (case-sensitive literal substring match)", - "type": "string" - }, - "name": { - "description": "Filter by rego metadata name (case-insensitive substring match)", - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "name", - "created_at", - "updated_at" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "import_path": { + "description": "Filter by import path (case-sensitive literal substring match)", + "type": "string" + }, + "name": { + "description": "Filter by rego metadata name (case-insensitive substring match)", + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponseRegoMetadata", $defs: { - "cws_JSONDocument": cws_JSONDocument_output, - "cws_JSONValue": cws_JSONValue_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseRegoMetadata": cws_PageResponseRegoMetadata_output, - "cws_RegoMetadata": cws_RegoMetadata_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_JSONDocument": cws_JSONDocument, + "cws_JSONValue": cws_JSONValue, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseRegoMetadata": cws_PageResponseRegoMetadata, + "cws_RegoMetadata": cws_RegoMetadata, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, annotations: { @@ -329,68 +366,76 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_JSONDocument": cws_JSONDocument_output, - "cws_JSONValue": cws_JSONValue_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseRegoMetadata": cws_PageResponseRegoMetadata_output, - "cws_RegoMetadata": cws_RegoMetadata_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_JSONDocument": cws_JSONDocument, + "cws_JSONValue": cws_JSONValue, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseRegoMetadata": cws_PageResponseRegoMetadata, + "cws_RegoMetadata": cws_RegoMetadata, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-metadata`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["name", args["name"], false], - ["import_path", args["import_path"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["name", param(args, "query", "name"), false], + ["import_path", param(args, "query", "import_path"), false], ], }), }, { - name: "zero_trust_cws_rego_metadata_update", + name: "zeroTrust_cws_regoMetadata_update", title: "Update a rego metadata document", description: "Replaces the metadata document's name, import path, and JSON data.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_RegoMetadataBody" }, - "rego_metadata_id": { - "description": "ID of the rego metadata document to update", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "rego_metadata_id": { + "description": "ID of the rego metadata document to update", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "rego_metadata_id" + ], + "type": "object" } }, required: [ - "account_id", - "rego_metadata_id", + "path", "body" ], $defs: { - "cws_JSONDocument": cws_JSONDocument, - "cws_JSONValue": cws_JSONValue, + "cws_JSONDocument": cws_JSONDocument$, + "cws_JSONValue": cws_JSONValue$, "cws_RegoMetadataBody": cws_RegoMetadataBody, }, }, outputSchema: { "$ref": "#/$defs/cws_ResponseRegoMetadata", $defs: { - "cws_JSONDocument": cws_JSONDocument_output, - "cws_JSONValue": cws_JSONValue_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoMetadata": cws_RegoMetadata_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata_output, + "cws_JSONDocument": cws_JSONDocument, + "cws_JSONValue": cws_JSONValue, + "cws_MessageSource": cws_MessageSource, + "cws_RegoMetadata": cws_RegoMetadata, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata, }, }, annotations: { @@ -418,13 +463,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_JSONDocument": cws_JSONDocument_output, - "cws_JSONValue": cws_JSONValue_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoMetadata": cws_RegoMetadata_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_JSONDocument": cws_JSONDocument, + "cws_JSONValue": cws_JSONValue, + "cws_MessageSource": cws_MessageSource, + "cws_RegoMetadata": cws_RegoMetadata, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoMetadata": cws_ResponseRegoMetadata, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoModules/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/regoModules/outputs.ts index d2ab4bf55..08f202b5d 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/regoModules/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/regoModules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cws_PageResponseRegoModule` in responses. */ -export const cws_PageResponseRegoModule_output: JsonSchema = { +export const cws_PageResponseRegoModule: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -67,7 +67,7 @@ export const cws_PageResponseRegoModule_output: JsonSchema = { /** * The schema of `cws_RegoModule` in responses. */ -export const cws_RegoModule_output: JsonSchema = { +export const cws_RegoModule: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -105,7 +105,7 @@ export const cws_RegoModule_output: JsonSchema = { /** * The schema of `cws_ResponseRegoModule` in responses. */ -export const cws_ResponseRegoModule_output: JsonSchema = { +export const cws_ResponseRegoModule: JsonSchema = { "properties": { "errors": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts index 6b0d7cf6e..397d87e63 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../outputs.js"; import { - cws_PageResponseRegoModule_output, - cws_RegoModule_output, - cws_ResponseRegoModule_output, + cws_PageResponseRegoModule, + cws_RegoModule, + cws_ResponseRegoModule, } from "./outputs.js"; import { cws_CreateRegoModuleInputBody, @@ -21,26 +21,34 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.cws.rego_modules`. + * The tools of `zeroTrust.cws.regoModules`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_rego_modules_create", + name: "zeroTrust_cws_regoModules_create", title: "Create a new Rego module", description: "Creates a library Rego module and derives its package path from the source.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_CreateRegoModuleInputBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -50,10 +58,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseRegoModule", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoModule": cws_RegoModule_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoModule": cws_ResponseRegoModule_output, + "cws_MessageSource": cws_MessageSource, + "cws_RegoModule": cws_RegoModule, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoModule": cws_ResponseRegoModule, }, }, annotations: { @@ -84,11 +92,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoModule": cws_RegoModule_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoModule": cws_ResponseRegoModule_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_RegoModule": cws_RegoModule, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoModule": cws_ResponseRegoModule, }, }, request: (args) => ({ @@ -97,34 +105,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_rego_modules_delete", + name: "zeroTrust_cws_regoModules_delete", title: "Delete a Rego module", description: "Deletes the module if no policy or library references its rules.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this Rego module?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "rego_module_id": { - "description": "ID of the Rego module to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "rego_module_id": { + "description": "ID of the Rego module to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "rego_module_id" + ], + "type": "object" } }, required: [ - "account_id", - "rego_module_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -152,11 +168,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -164,34 +180,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_rego_modules_get", + name: "zeroTrust_cws_regoModules_get", title: "Get a Rego module by ID", description: "Returns the library Rego module with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "rego_module_id": { - "description": "ID of the Rego module to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "rego_module_id": { + "description": "ID of the Rego module to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "rego_module_id" + ], + "type": "object" } }, required: [ - "account_id", - "rego_module_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseRegoModule", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoModule": cws_RegoModule_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoModule": cws_ResponseRegoModule_output, + "cws_MessageSource": cws_MessageSource, + "cws_RegoModule": cws_RegoModule, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoModule": cws_ResponseRegoModule, }, }, annotations: { @@ -219,11 +243,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoModule": cws_RegoModule_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoModule": cws_ResponseRegoModule_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_RegoModule": cws_RegoModule, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoModule": cws_ResponseRegoModule, }, }, request: (args) => ({ @@ -231,65 +255,78 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_rego_modules_list", + name: "zeroTrust_cws_regoModules_list", title: "List Rego modules", description: "Returns a paginated list of library Rego modules in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "name": { - "description": "Filter by Rego module name (case-insensitive substring match)", - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "name", - "created_at", - "updated_at" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "package_path": { - "description": "Filter by package path (case-sensitive literal substring match)", - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filter by Rego module name (case-insensitive substring match)", + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "package_path": { + "description": "Filter by package path (case-sensitive literal substring match)", + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponseRegoModule", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseRegoModule": cws_PageResponseRegoModule_output, - "cws_RegoModule": cws_RegoModule_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseRegoModule": cws_PageResponseRegoModule, + "cws_RegoModule": cws_RegoModule, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, annotations: { @@ -317,49 +354,57 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseRegoModule": cws_PageResponseRegoModule_output, - "cws_RegoModule": cws_RegoModule_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseRegoModule": cws_PageResponseRegoModule, + "cws_RegoModule": cws_RegoModule, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/rego-modules`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["name", args["name"], false], - ["package_path", args["package_path"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["name", param(args, "query", "name"), false], + ["package_path", param(args, "query", "package_path"), false], ], }), }, { - name: "zero_trust_cws_rego_modules_update", + name: "zeroTrust_cws_regoModules_update", title: "Update a Rego module", description: "Replaces the module and validates policies and libraries that depend on it.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_UpdateRegoModuleInputBody" }, - "rego_module_id": { - "description": "ID of the Rego module to update", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "rego_module_id": { + "description": "ID of the Rego module to update", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "rego_module_id" + ], + "type": "object" } }, required: [ - "account_id", - "rego_module_id", + "path", "body" ], $defs: { @@ -369,10 +414,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseRegoModule", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoModule": cws_RegoModule_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoModule": cws_ResponseRegoModule_output, + "cws_MessageSource": cws_MessageSource, + "cws_RegoModule": cws_RegoModule, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoModule": cws_ResponseRegoModule, }, }, annotations: { @@ -403,11 +448,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_RegoModule": cws_RegoModule_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseRegoModule": cws_ResponseRegoModule_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_RegoModule": cws_RegoModule, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseRegoModule": cws_ResponseRegoModule, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/outputs.ts index 1fe2146c0..85ef02824 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `cws_PageResponseTenantStructureNode` in responses. */ -export const cws_PageResponseTenantStructureNode_output: JsonSchema = { +export const cws_PageResponseTenantStructureNode: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -67,7 +67,7 @@ export const cws_PageResponseTenantStructureNode_output: JsonSchema = { /** * The schema of `cws_ResponseTenantNodeBatchResult` in responses. */ -export const cws_ResponseTenantNodeBatchResult_output: JsonSchema = { +export const cws_ResponseTenantNodeBatchResult: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -114,7 +114,7 @@ export const cws_ResponseTenantNodeBatchResult_output: JsonSchema = { /** * The schema of `cws_ResponseTenantStructureNode` in responses. */ -export const cws_ResponseTenantStructureNode_output: JsonSchema = { +export const cws_ResponseTenantStructureNode: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -161,7 +161,7 @@ export const cws_ResponseTenantStructureNode_output: JsonSchema = { /** * The schema of `cws_TenantNodeBatchResult` in responses. */ -export const cws_TenantNodeBatchResult_output: JsonSchema = { +export const cws_TenantNodeBatchResult: JsonSchema = { "properties": { "created": { "items": { @@ -193,7 +193,7 @@ export const cws_TenantNodeBatchResult_output: JsonSchema = { /** * The schema of `cws_TenantStructureNode` in responses. */ -export const cws_TenantStructureNode_output: JsonSchema = { +export const cws_TenantStructureNode: JsonSchema = { "properties": { "created_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts index 6a00a705a..df119ad73 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts @@ -1,21 +1,21 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../../outputs.js"; import { - cws_PageResponseTenantStructureNode_output, - cws_ResponseTenantNodeBatchResult_output, - cws_ResponseTenantStructureNode_output, - cws_TenantNodeBatchResult_output, - cws_TenantStructureNode_output, + cws_PageResponseTenantStructureNode, + cws_ResponseTenantNodeBatchResult, + cws_ResponseTenantStructureNode, + cws_TenantNodeBatchResult, + cws_TenantStructureNode, } from "./outputs.js"; import { cws_BatchTenantNodesInputBody, @@ -25,32 +25,40 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.cws.tenant_structures.nodes`. + * The tools of `zeroTrust.cws.tenantStructures.nodes`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_tenant_structures_nodes_batch", + name: "zeroTrust_cws_tenantStructures_nodes_batch", title: "Apply a batch of tenant node mutations", description: "Atomically validates and applies 1 to 500 unordered node operations. Creates may reference new parents but cannot reuse a native_id deleted in the same batch. Maximum body size: 1 MiB.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Apply this tenant node batch?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_BatchTenantNodesInputBody" }, - "structure_id": { - "description": "ID of the parent tenant structure", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "structure_id": { + "description": "ID of the parent tenant structure", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "structure_id" + ], + "type": "object" } }, required: [ - "account_id", - "structure_id", + "path", "body" ], $defs: { @@ -63,12 +71,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseTenantNodeBatchResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantNodeBatchResult": cws_ResponseTenantNodeBatchResult_output, - "cws_TenantNodeBatchResult": cws_TenantNodeBatchResult_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantNodeBatchResult": cws_ResponseTenantNodeBatchResult, + "cws_TenantNodeBatchResult": cws_TenantNodeBatchResult, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, annotations: { @@ -99,13 +107,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantNodeBatchResult": cws_ResponseTenantNodeBatchResult_output, - "cws_TenantNodeBatchResult": cws_TenantNodeBatchResult_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantNodeBatchResult": cws_ResponseTenantNodeBatchResult, + "cws_TenantNodeBatchResult": cws_TenantNodeBatchResult, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, request: (args) => ({ @@ -114,28 +122,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_tenant_structures_nodes_create", + name: "zeroTrust_cws_tenantStructures_nodes_create", title: "Add a node to a tenant structure", description: "Adds a validated cloud-native node to the tenant hierarchy.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_TenantNodeBody" }, - "structure_id": { - "description": "ID of the parent tenant structure", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "structure_id": { + "description": "ID of the parent tenant structure", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "structure_id" + ], + "type": "object" } }, required: [ - "account_id", - "structure_id", + "path", "body" ], $defs: { @@ -145,10 +161,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseTenantStructureNode", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, annotations: { @@ -176,11 +192,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, request: (args) => ({ @@ -189,40 +205,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_tenant_structures_nodes_delete", + name: "zeroTrust_cws_tenantStructures_nodes_delete", title: "Delete a tenant node", description: "Deletes a childless node from the tenant hierarchy.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this tenant node?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "node_id": { - "description": "ID of the node to delete", - "format": "uuid", - "type": "string" - }, - "structure_id": { - "description": "ID of the parent tenant structure", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "node_id": { + "description": "ID of the node to delete", + "format": "uuid", + "type": "string" + }, + "structure_id": { + "description": "ID of the parent tenant structure", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "structure_id", + "node_id" + ], + "type": "object" } }, required: [ - "account_id", - "structure_id", - "node_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -250,11 +274,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -262,40 +286,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_tenant_structures_nodes_get", + name: "zeroTrust_cws_tenantStructures_nodes_get", title: "Get a tenant node by ID", description: "Returns the tenant node with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "node_id": { - "description": "ID of the node to retrieve", - "format": "uuid", - "type": "string" - }, - "structure_id": { - "description": "ID of the parent tenant structure", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "node_id": { + "description": "ID of the node to retrieve", + "format": "uuid", + "type": "string" + }, + "structure_id": { + "description": "ID of the parent tenant structure", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "structure_id", + "node_id" + ], + "type": "object" } }, required: [ - "account_id", - "structure_id", - "node_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseTenantStructureNode", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, annotations: { @@ -323,11 +355,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, request: (args) => ({ @@ -335,79 +367,92 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_tenant_structures_nodes_list", + name: "zeroTrust_cws_tenantStructures_nodes_list", title: "List nodes for a tenant structure", description: "Returns a paginated list of nodes in the tenant structure.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "structure_id": { + "description": "ID of the parent tenant structure", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "structure_id" ], - "type": "string" - }, - "name": { - "description": "Filter by node name (case-insensitive substring match)", - "type": "string" - }, - "native_id": { - "description": "Filter by exact cloud-native identifier", - "type": "string" - }, - "node_kind": { - "description": "Filter by exact node kind", - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "name", - "created_at", - "updated_at" - ], - "type": "string" - }, - "parent": { - "description": "Filter by exact parent native ID", - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" - }, - "structure_id": { - "description": "ID of the parent tenant structure", - "format": "uuid", - "type": "string" + "type": "object" + }, + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filter by node name (case-insensitive substring match)", + "type": "string" + }, + "native_id": { + "description": "Filter by exact cloud-native identifier", + "type": "string" + }, + "node_kind": { + "description": "Filter by exact node kind", + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "parent": { + "description": "Filter by exact parent native ID", + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "structure_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponseTenantStructureNode", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseTenantStructureNode": cws_PageResponseTenantStructureNode_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseTenantStructureNode": cws_PageResponseTenantStructureNode, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, annotations: { @@ -435,57 +480,65 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseTenantStructureNode": cws_PageResponseTenantStructureNode_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseTenantStructureNode": cws_PageResponseTenantStructureNode, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures/${pathParam(args, "structure_id")}/nodes`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["node_kind", args["node_kind"], false], - ["native_id", args["native_id"], false], - ["name", args["name"], false], - ["parent", args["parent"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["node_kind", param(args, "query", "node_kind"), false], + ["native_id", param(args, "query", "native_id"), false], + ["name", param(args, "query", "name"), false], + ["parent", param(args, "query", "parent"), false], ], }), }, { - name: "zero_trust_cws_tenant_structures_nodes_update", + name: "zeroTrust_cws_tenantStructures_nodes_update", title: "Update a tenant node", description: "Updates the node's display name or parent while preserving its immutable identity fields.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_TenantNodeBody" }, - "node_id": { - "description": "ID of the node to update", - "format": "uuid", - "type": "string" - }, - "structure_id": { - "description": "ID of the parent tenant structure", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "node_id": { + "description": "ID of the node to update", + "format": "uuid", + "type": "string" + }, + "structure_id": { + "description": "ID of the parent tenant structure", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "structure_id", + "node_id" + ], + "type": "object" } }, required: [ - "account_id", - "structure_id", - "node_id", + "path", "body" ], $defs: { @@ -495,10 +548,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseTenantStructureNode", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, annotations: { @@ -526,11 +579,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode_output, - "cws_TenantStructureNode": cws_TenantStructureNode_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructureNode": cws_ResponseTenantStructureNode, + "cws_TenantStructureNode": cws_TenantStructureNode, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/outputs.ts index af00ae435..9276f03df 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cws_PageResponseTenantStructure` in responses. */ -export const cws_PageResponseTenantStructure_output: JsonSchema = { +export const cws_PageResponseTenantStructure: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -67,7 +67,7 @@ export const cws_PageResponseTenantStructure_output: JsonSchema = { /** * The schema of `cws_ResponseTenantStructure` in responses. */ -export const cws_ResponseTenantStructure_output: JsonSchema = { +export const cws_ResponseTenantStructure: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -114,7 +114,7 @@ export const cws_ResponseTenantStructure_output: JsonSchema = { /** * The schema of `cws_TenantStructure` in responses. */ -export const cws_TenantStructure_output: JsonSchema = { +export const cws_TenantStructure: JsonSchema = { "properties": { "application": { "enum": [ diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts index 271c2c548..193758b63 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../outputs.js"; import { - cws_PageResponseTenantStructure_output, - cws_ResponseTenantStructure_output, - cws_TenantStructure_output, + cws_PageResponseTenantStructure, + cws_ResponseTenantStructure, + cws_TenantStructure, } from "./outputs.js"; import { cws_CreateTenantStructureInputBody, @@ -21,26 +21,34 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.cws.tenant_structures`. + * The tools of `zeroTrust.cws.tenantStructures`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_tenant_structures_create", + name: "zeroTrust_cws_tenantStructures_create", title: "Create a tenant structure", description: "Creates an empty tenant hierarchy for the selected cloud application.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_CreateTenantStructureInputBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -50,10 +58,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseTenantStructure", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructure": cws_ResponseTenantStructure_output, - "cws_TenantStructure": cws_TenantStructure_output, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructure": cws_ResponseTenantStructure, + "cws_TenantStructure": cws_TenantStructure, }, }, annotations: { @@ -81,11 +89,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructure": cws_ResponseTenantStructure_output, - "cws_TenantStructure": cws_TenantStructure_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructure": cws_ResponseTenantStructure, + "cws_TenantStructure": cws_TenantStructure, }, }, request: (args) => ({ @@ -94,34 +102,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_tenant_structures_delete", + name: "zeroTrust_cws_tenantStructures_delete", title: "Delete a tenant structure", description: "Deletes the tenant structure and all nodes in its hierarchy.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this tenant structure?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "structure_id": { - "description": "ID of the tenant structure to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "structure_id": { + "description": "ID of the tenant structure to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "structure_id" + ], + "type": "object" } }, required: [ - "account_id", - "structure_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -149,11 +165,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -161,34 +177,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_tenant_structures_get", + name: "zeroTrust_cws_tenantStructures_get", title: "Get a tenant structure by ID", description: "Returns the tenant structure with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "structure_id": { - "description": "ID of the tenant structure to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "structure_id": { + "description": "ID of the tenant structure to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "structure_id" + ], + "type": "object" } }, required: [ - "account_id", - "structure_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseTenantStructure", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructure": cws_ResponseTenantStructure_output, - "cws_TenantStructure": cws_TenantStructure_output, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructure": cws_ResponseTenantStructure, + "cws_TenantStructure": cws_TenantStructure, }, }, annotations: { @@ -216,11 +240,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructure": cws_ResponseTenantStructure_output, - "cws_TenantStructure": cws_TenantStructure_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructure": cws_ResponseTenantStructure, + "cws_TenantStructure": cws_TenantStructure, }, }, request: (args) => ({ @@ -228,65 +252,78 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_tenant_structures_list", + name: "zeroTrust_cws_tenantStructures_list", title: "List tenant structures for an account", description: "Returns a paginated list of tenant structures in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "import_path": { - "description": "Filter by import path (case-sensitive literal substring match)", - "type": "string" + "type": "object" }, - "name": { - "description": "Filter by tenant structure name (case-insensitive substring match)", - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "name", - "created_at", - "updated_at" - ], - "type": "string" - }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "import_path": { + "description": "Filter by import path (case-sensitive literal substring match)", + "type": "string" + }, + "name": { + "description": "Filter by tenant structure name (case-insensitive substring match)", + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponseTenantStructure", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseTenantStructure": cws_PageResponseTenantStructure_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, - "cws_TenantStructure": cws_TenantStructure_output, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseTenantStructure": cws_PageResponseTenantStructure, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, + "cws_TenantStructure": cws_TenantStructure, }, }, annotations: { @@ -314,49 +351,57 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseTenantStructure": cws_PageResponseTenantStructure_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, - "cws_TenantStructure": cws_TenantStructure_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseTenantStructure": cws_PageResponseTenantStructure, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, + "cws_TenantStructure": cws_TenantStructure, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/tenant-structures`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["name", args["name"], false], - ["import_path", args["import_path"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["name", param(args, "query", "name"), false], + ["import_path", param(args, "query", "import_path"), false], ], }), }, { - name: "zero_trust_cws_tenant_structures_update", + name: "zeroTrust_cws_tenantStructures_update", title: "Update a tenant structure", description: "Updates the tenant structure's name and import path; its application remains immutable.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_UpdateTenantStructureInputBody" }, - "structure_id": { - "description": "ID of the tenant structure to update", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "structure_id": { + "description": "ID of the tenant structure to update", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "structure_id" + ], + "type": "object" } }, required: [ - "account_id", - "structure_id", + "path", "body" ], $defs: { @@ -366,10 +411,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseTenantStructure", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructure": cws_ResponseTenantStructure_output, - "cws_TenantStructure": cws_TenantStructure_output, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructure": cws_ResponseTenantStructure, + "cws_TenantStructure": cws_TenantStructure, }, }, annotations: { @@ -397,11 +442,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseTenantStructure": cws_ResponseTenantStructure_output, - "cws_TenantStructure": cws_TenantStructure_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseTenantStructure": cws_ResponseTenantStructure, + "cws_TenantStructure": cws_TenantStructure, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/cws/workloads/outputs.ts b/src/generated/forge-mcp/zeroTrust/cws/workloads/outputs.ts index c6121223c..8ac6829c4 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/workloads/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/workloads/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `cws_PageResponseWorkload` in responses. */ -export const cws_PageResponseWorkload_output: JsonSchema = { +export const cws_PageResponseWorkload: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -67,7 +67,7 @@ export const cws_PageResponseWorkload_output: JsonSchema = { /** * The schema of `cws_ResponseWorkload` in responses. */ -export const cws_ResponseWorkload_output: JsonSchema = { +export const cws_ResponseWorkload: JsonSchema = { "properties": { "errors": { "oneOf": [ @@ -114,7 +114,7 @@ export const cws_ResponseWorkload_output: JsonSchema = { /** * The schema of `cws_Workload` in responses. */ -export const cws_Workload_output: JsonSchema = { +export const cws_Workload: JsonSchema = { "properties": { "created_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts index 43c9edfa0..9232a775c 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts @@ -1,19 +1,19 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cws_DeletedResult_output, - cws_ErrorResponse_output, - cws_MessageSource_output, - cws_ResponseDeletedResult_output, - cws_ResponseMessage_output, - cws_ResultInfo_output, + cws_DeletedResult, + cws_ErrorResponse, + cws_MessageSource, + cws_ResponseDeletedResult, + cws_ResponseMessage, + cws_ResultInfo, } from "../outputs.js"; import { - cws_PageResponseWorkload_output, - cws_ResponseWorkload_output, - cws_Workload_output, + cws_PageResponseWorkload, + cws_ResponseWorkload, + cws_Workload, } from "./outputs.js"; import { cws_CreateWorkloadInputBody, @@ -21,26 +21,34 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.cws.workloads`. + * The tools of `zeroTrust.cws.workloads`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_cws_workloads_create", + name: "zeroTrust_cws_workloads_create", title: "Create a new workload", description: "Creates a reusable workload selector from a filter expression.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_CreateWorkloadInputBody" + }, + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -50,10 +58,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseWorkload", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseWorkload": cws_ResponseWorkload_output, - "cws_Workload": cws_Workload_output, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseWorkload": cws_ResponseWorkload, + "cws_Workload": cws_Workload, }, }, annotations: { @@ -81,11 +89,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseWorkload": cws_ResponseWorkload_output, - "cws_Workload": cws_Workload_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseWorkload": cws_ResponseWorkload, + "cws_Workload": cws_Workload, }, }, request: (args) => ({ @@ -94,34 +102,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_workloads_delete", + name: "zeroTrust_cws_workloads_delete", title: "Delete a workload", description: "Deletes the workload if it is not targeted by a policy set.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this workload?", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "workload_id": { - "description": "ID of the workload to delete", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "workload_id": { + "description": "ID of the workload to delete", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "workload_id" + ], + "type": "object" } }, required: [ - "account_id", - "workload_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, annotations: { @@ -149,11 +165,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_DeletedResult": cws_DeletedResult_output, - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseDeletedResult": cws_ResponseDeletedResult_output, - "cws_ResponseMessage": cws_ResponseMessage_output, + "cws_DeletedResult": cws_DeletedResult, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseDeletedResult": cws_ResponseDeletedResult, + "cws_ResponseMessage": cws_ResponseMessage, }, }, request: (args) => ({ @@ -161,34 +177,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_workloads_get", + name: "zeroTrust_cws_workloads_get", title: "Get a workload by ID", description: "Returns the workload with the specified ID.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "workload_id": { - "description": "ID of the workload to retrieve", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "workload_id": { + "description": "ID of the workload to retrieve", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "workload_id" + ], + "type": "object" } }, required: [ - "account_id", - "workload_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_ResponseWorkload", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseWorkload": cws_ResponseWorkload_output, - "cws_Workload": cws_Workload_output, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseWorkload": cws_ResponseWorkload, + "cws_Workload": cws_Workload, }, }, annotations: { @@ -216,11 +240,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseWorkload": cws_ResponseWorkload_output, - "cws_Workload": cws_Workload_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseWorkload": cws_ResponseWorkload, + "cws_Workload": cws_Workload, }, }, request: (args) => ({ @@ -228,66 +252,79 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_cws_workloads_list", + name: "zeroTrust_cws_workloads_list", title: "List workloads", description: "Returns a paginated list of workloads in the account.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, - "cursor": { - "description": "Pagination cursor from previous response", - "type": "string" - }, - "direction": { - "default": "asc", - "description": "Sort direction (default: asc)", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "name": { - "description": "Filter by workload name (case-insensitive substring match)", - "type": "string" - }, - "order": { - "default": "created_at", - "description": "Field to order results by (default: created_at)", - "enum": [ - "name", - "created_at", - "updated_at" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "per_page": { - "default": 20, - "description": "Number of items per page (1-100, default 20)", - "type": "integer" - }, - "policy_set_id": { - "description": "Filter to workloads attached to this policy set", - "format": "uuid", - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Pagination cursor from previous response", + "type": "string" + }, + "direction": { + "default": "asc", + "description": "Sort direction (default: asc)", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "name": { + "description": "Filter by workload name (case-insensitive substring match)", + "type": "string" + }, + "order": { + "default": "created_at", + "description": "Field to order results by (default: created_at)", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "per_page": { + "default": 20, + "description": "Number of items per page (1-100, default 20)", + "type": "integer" + }, + "policy_set_id": { + "description": "Filter to workloads attached to this policy set", + "format": "uuid", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { "$ref": "#/$defs/cws_PageResponseWorkload", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseWorkload": cws_PageResponseWorkload_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, - "cws_Workload": cws_Workload_output, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseWorkload": cws_PageResponseWorkload, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, + "cws_Workload": cws_Workload, }, }, annotations: { @@ -315,49 +352,57 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_PageResponseWorkload": cws_PageResponseWorkload_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResultInfo": cws_ResultInfo_output, - "cws_Workload": cws_Workload_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_PageResponseWorkload": cws_PageResponseWorkload, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResultInfo": cws_ResultInfo, + "cws_Workload": cws_Workload, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/cws/workloads`, query: [ - ["cursor", args["cursor"], false], - ["per_page", args["per_page"], false], - ["order", args["order"], false], - ["direction", args["direction"], false], - ["name", args["name"], false], - ["policy_set_id", args["policy_set_id"], false], + ["cursor", param(args, "query", "cursor"), false], + ["per_page", param(args, "query", "per_page"), false], + ["order", param(args, "query", "order"), false], + ["direction", param(args, "query", "direction"), false], + ["name", param(args, "query", "name"), false], + ["policy_set_id", param(args, "query", "policy_set_id"), false], ], }), }, { - name: "zero_trust_cws_workloads_update", + name: "zeroTrust_cws_workloads_update", title: "Update a workload", description: "Replaces the workload's configuration. Omit tags or use {} to clear them.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Cloudflare account ID (32-character hexadecimal string)", - "type": "string" - }, "body": { "$ref": "#/$defs/cws_UpdateWorkloadInputBody" }, - "workload_id": { - "description": "ID of the workload to update", - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "description": "Cloudflare account ID (32-character hexadecimal string)", + "type": "string" + }, + "workload_id": { + "description": "ID of the workload to update", + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "workload_id" + ], + "type": "object" } }, required: [ - "account_id", - "workload_id", + "path", "body" ], $defs: { @@ -367,10 +412,10 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/cws_ResponseWorkload", $defs: { - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseWorkload": cws_ResponseWorkload_output, - "cws_Workload": cws_Workload_output, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseWorkload": cws_ResponseWorkload, + "cws_Workload": cws_Workload, }, }, annotations: { @@ -398,11 +443,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cws_ErrorResponse": cws_ErrorResponse_output, - "cws_MessageSource": cws_MessageSource_output, - "cws_ResponseMessage": cws_ResponseMessage_output, - "cws_ResponseWorkload": cws_ResponseWorkload_output, - "cws_Workload": cws_Workload_output, + "cws_ErrorResponse": cws_ErrorResponse, + "cws_MessageSource": cws_MessageSource, + "cws_ResponseMessage": cws_ResponseMessage, + "cws_ResponseWorkload": cws_ResponseWorkload, + "cws_Workload": cws_Workload, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/outputs.ts index 06fe22a5c..b2807ef69 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_client_version` in responses. */ -export const teams_devices_client_version_output: JsonSchema = { +export const teams$$devices_client_version: JsonSchema = { "properties": { "package_size": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/outputs.ts index 4363f79a3..536451482 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `teams-devices_target_environment_info` in responses. */ -export const teams_devices_target_environment_info_output: JsonSchema = { +export const teams$$devices_target_environment_info: JsonSchema = { "properties": { "display_name": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts index 50f9364a9..fcf091b24 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts @@ -3,28 +3,36 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - teams_devices_v4_error_response_output, - teams_devices_v4_response_message_output, + teams$$devices_v4_error_response, + teams$$devices_v4_response_message, } from "../../outputs.js"; -import { teams_devices_target_environment_info_output } from "./outputs.js"; +import { teams$$devices_target_environment_info } from "./outputs.js"; /** - * The tools of `zero_trust.devices.client_versions.target_environments`. + * The tools of `zeroTrust.devices.clientVersions.targetEnvironments`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_client_versions_target_environments_list", + name: "zeroTrust_devices_clientVersions_targetEnvironments_list", title: "List available target environments", description: "Retrieves a list of all available target environments with their display names. This endpoint is in Beta.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -59,8 +67,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_target_environment_info": teams_devices_target_environment_info_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_target_environment_info": teams$$devices_target_environment_info, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -111,9 +119,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_target_environment_info": teams_devices_target_environment_info_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_target_environment_info": teams$$devices_target_environment_info, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts index 77279981c..d6773055d 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts @@ -1,55 +1,71 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - teams_devices_pagination_info_output, - teams_devices_v4_error_response_output, - teams_devices_v4_response_message_output, + teams$$devices_pagination_info, + teams$$devices_v4_error_response, + teams$$devices_v4_response_message, } from "../outputs.js"; -import { teams_devices_client_version_output } from "./outputs.js"; +import { teams$$devices_client_version } from "./outputs.js"; /** - * The tools of `zero_trust.devices.client_versions`. + * The tools of `zeroTrust.devices.clientVersions`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_client_versions_list", + name: "zeroTrust_devices_clientVersions_list", title: "List client versions", description: "Lists available WARP client versions for a specific target environment and release track. This endpoint is in Beta.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "description": "The page number to return.", - "type": "integer" - }, - "per_page": { - "default": 20, - "description": "The maximum number of versions to return per page.", - "type": "integer" - }, - "release_track": { - "description": "The release track (ga for General Availability, beta for Beta releases).", - "enum": [ - "ga", - "beta" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "target_environment": { - "description": "The target environment for the client version (e.g., windows, macos).", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "The page number to return.", + "type": "integer" + }, + "per_page": { + "default": 20, + "description": "The maximum number of versions to return per page.", + "type": "integer" + }, + "release_track": { + "description": "The release track (ga for General Availability, beta for Beta releases).", + "enum": [ + "ga", + "beta" + ], + "type": "string" + }, + "target_environment": { + "description": "The target environment for the client version (e.g., windows, macos).", + "type": "string" + } + }, + "required": [ + "target_environment", + "release_track" + ], + "type": "object" } }, required: [ - "account_id", - "target_environment", - "release_track" + "path", + "query" ], }, outputSchema: { @@ -88,9 +104,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_client_version": teams_devices_client_version_output, - "teams-devices_pagination_info": teams_devices_pagination_info_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_client_version": teams$$devices_client_version, + "teams-devices_pagination_info": teams$$devices_pagination_info, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -145,19 +161,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_client_version": teams_devices_client_version_output, - "teams-devices_pagination_info": teams_devices_pagination_info_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_client_version": teams$$devices_client_version, + "teams-devices_pagination_info": teams$$devices_pagination_info, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/client-versions`, query: [ - ["target_environment", args["target_environment"], true], - ["release_track", args["release_track"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["target_environment", param(args, "query", "target_environment"), true], + ["release_track", param(args, "query", "release_track"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts index 4e4205274..5373feef8 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_deployment_group` in responses. */ -export const teams_devices_deployment_group_output: JsonSchema = { +export const teams$$devices_deployment_group: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/teams-devices_deployment_group_created_at" @@ -43,28 +43,28 @@ export const teams_devices_deployment_group_output: JsonSchema = { /** * The schema of `teams-devices_deployment_group_created_at` in responses. */ -export const teams_devices_deployment_group_created_at_output: JsonSchema = { +export const teams$$devices_deployment_group_created_at: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_deployment_group_id` in responses. */ -export const teams_devices_deployment_group_id_output: JsonSchema = { +export const teams$$devices_deployment_group_id: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_deployment_group_name` in responses. */ -export const teams_devices_deployment_group_name_output: JsonSchema = { +export const teams$$devices_deployment_group_name: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_deployment_group_policy_ids` in responses. */ -export const teams_devices_deployment_group_policy_ids_output: JsonSchema = { +export const teams$$devices_deployment_group_policy_ids: JsonSchema = { "oneOf": [ { "items": { @@ -81,14 +81,14 @@ export const teams_devices_deployment_group_policy_ids_output: JsonSchema = { /** * The schema of `teams-devices_deployment_group_updated_at` in responses. */ -export const teams_devices_deployment_group_updated_at_output: JsonSchema = { +export const teams$$devices_deployment_group_updated_at: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_version_config` in responses. */ -export const teams_devices_version_config_output: JsonSchema = { +export const teams$$devices_version_config: JsonSchema = { "properties": { "target_environment": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/schemas.ts index f6da27492..4272c0d9d 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_deployment_group_create_request`. */ -export const teams_devices_deployment_group_create_request: JsonSchema = { +export const teams$$devices_deployment_group_create_request: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/teams-devices_deployment_group_name", @@ -38,7 +38,7 @@ export const teams_devices_deployment_group_create_request: JsonSchema = { /** * The schema of `teams-devices_deployment_group_name`. */ -export const teams_devices_deployment_group_name: JsonSchema = { +export const teams$$devices_deployment_group_name: JsonSchema = { "description": "A user-friendly name for the deployment group.", "type": "string" }; @@ -46,7 +46,7 @@ export const teams_devices_deployment_group_name: JsonSchema = { /** * The schema of `teams-devices_deployment_group_update_request`. */ -export const teams_devices_deployment_group_update_request: JsonSchema = { +export const teams$$devices_deployment_group_update_request: JsonSchema = { "properties": { "name": { "$ref": "#/$defs/teams-devices_deployment_group_name", @@ -73,7 +73,7 @@ export const teams_devices_deployment_group_update_request: JsonSchema = { /** * The schema of `teams-devices_version_config`. */ -export const teams_devices_version_config: JsonSchema = { +export const teams$$devices_version_config: JsonSchema = { "properties": { "target_environment": { "description": "The target environment for the client version (e.g., windows, macos).", diff --git a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts index 7200a21eb..eee2fd445 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts @@ -1,54 +1,62 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - teams_devices_pagination_info_output, - teams_devices_v4_error_response_output, - teams_devices_v4_response_message_output, + teams$$devices_pagination_info, + teams$$devices_v4_error_response, + teams$$devices_v4_response_message, } from "../outputs.js"; import { - teams_devices_deployment_group_created_at_output, - teams_devices_deployment_group_id_output, - teams_devices_deployment_group_name_output, - teams_devices_deployment_group_output, - teams_devices_deployment_group_policy_ids_output, - teams_devices_deployment_group_updated_at_output, - teams_devices_version_config_output, + teams$$devices_deployment_group, + teams$$devices_deployment_group_created_at, + teams$$devices_deployment_group_id, + teams$$devices_deployment_group_name, + teams$$devices_deployment_group_policy_ids, + teams$$devices_deployment_group_updated_at, + teams$$devices_version_config, } from "./outputs.js"; import { - teams_devices_deployment_group_create_request, - teams_devices_deployment_group_name, - teams_devices_deployment_group_update_request, - teams_devices_version_config, + teams$$devices_deployment_group_create_request, + teams$$devices_deployment_group_name as teams$$devices_deployment_group_name$, + teams$$devices_deployment_group_update_request, + teams$$devices_version_config as teams$$devices_version_config$, } from "./schemas.js"; /** - * The tools of `zero_trust.devices.deployment_groups`. + * The tools of `zeroTrust.devices.deploymentGroups`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_deployment_groups_create", + name: "zeroTrust_devices_deploymentGroups_create", title: "Create deployment group", description: "Creates a new deployment group. Policy IDs must be unique across all deployment groups. This endpoint is in Beta.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/teams-devices_deployment_group_create_request" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_deployment_group_create_request": teams_devices_deployment_group_create_request, - "teams-devices_deployment_group_name": teams_devices_deployment_group_name, - "teams-devices_version_config": teams_devices_version_config, + "teams-devices_deployment_group_create_request": teams$$devices_deployment_group_create_request, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name$, + "teams-devices_version_config": teams$$devices_version_config$, }, }, outputSchema: { @@ -80,14 +88,14 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_deployment_group": teams_devices_deployment_group_output, - "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, - "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, - "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, - "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, - "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, - "teams-devices_version_config": teams_devices_version_config_output, + "teams-devices_deployment_group": teams$$devices_deployment_group, + "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, + "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, + "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, + "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, + "teams-devices_version_config": teams$$devices_version_config, }, }, annotations: { @@ -138,15 +146,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_deployment_group": teams_devices_deployment_group_output, - "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, - "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, - "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, - "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, - "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, - "teams-devices_version_config": teams_devices_version_config_output, + "teams-devices_deployment_group": teams$$devices_deployment_group, + "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, + "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, + "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, + "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, + "teams-devices_version_config": teams$$devices_version_config, }, }, request: (args) => ({ @@ -155,22 +163,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_deployment_groups_delete", + name: "zeroTrust_devices_deploymentGroups_delete", title: "Delete deployment group", description: "Deletes a deployment group. Associated policies no longer apply and devices stop receiving version targets. This endpoint is in Beta.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "group_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], }, outputSchema: { @@ -207,7 +223,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -263,8 +279,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ @@ -272,22 +288,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_deployment_groups_get", + name: "zeroTrust_devices_deploymentGroups_get", title: "Get deployment group", description: "Fetches a single deployment group by its ID. This endpoint is in Beta.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "group_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id" + "path" ], }, outputSchema: { @@ -319,14 +343,14 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_deployment_group": teams_devices_deployment_group_output, - "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, - "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, - "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, - "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, - "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, - "teams-devices_version_config": teams_devices_version_config_output, + "teams-devices_deployment_group": teams$$devices_deployment_group, + "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, + "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, + "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, + "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, + "teams-devices_version_config": teams$$devices_version_config, }, }, annotations: { @@ -374,15 +398,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_deployment_group": teams_devices_deployment_group_output, - "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, - "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, - "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, - "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, - "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, - "teams-devices_version_config": teams_devices_version_config_output, + "teams-devices_deployment_group": teams$$devices_deployment_group, + "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, + "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, + "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, + "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, + "teams-devices_version_config": teams$$devices_version_config, }, }, request: (args) => ({ @@ -390,28 +414,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_deployment_groups_list", + name: "zeroTrust_devices_deploymentGroups_list", title: "List deployment groups", description: "Lists all deployment groups for an account. Use deployment groups to assign target WARP client versions to specific devices. This endpoint is in Beta.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "description": "The page number to return.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 50, - "description": "The maximum number of deployment groups to return per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "The page number to return.", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "The maximum number of deployment groups to return per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -450,15 +487,15 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_deployment_group": teams_devices_deployment_group_output, - "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, - "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, - "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, - "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, - "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, - "teams-devices_pagination_info": teams_devices_pagination_info_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, - "teams-devices_version_config": teams_devices_version_config_output, + "teams-devices_deployment_group": teams$$devices_deployment_group, + "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, + "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, + "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, + "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, + "teams-devices_pagination_info": teams$$devices_pagination_info, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, + "teams-devices_version_config": teams$$devices_version_config, }, }, annotations: { @@ -513,52 +550,60 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_deployment_group": teams_devices_deployment_group_output, - "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, - "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, - "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, - "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, - "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, - "teams-devices_pagination_info": teams_devices_pagination_info_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, - "teams-devices_version_config": teams_devices_version_config_output, + "teams-devices_deployment_group": teams$$devices_deployment_group, + "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, + "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, + "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, + "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, + "teams-devices_pagination_info": teams$$devices_pagination_info, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, + "teams-devices_version_config": teams$$devices_version_config, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/deployment-groups`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_devices_deployment_groups_update", + name: "zeroTrust_devices_deploymentGroups_update", title: "Update deployment group", description: "Updates a deployment group. Returns 409 if any newly added policy IDs already belong to another deployment group. This endpoint is in Beta.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/teams-devices_deployment_group_update_request" }, - "group_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "group_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "group_id", + "path", "body" ], $defs: { - "teams-devices_deployment_group_name": teams_devices_deployment_group_name, - "teams-devices_deployment_group_update_request": teams_devices_deployment_group_update_request, - "teams-devices_version_config": teams_devices_version_config, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name$, + "teams-devices_deployment_group_update_request": teams$$devices_deployment_group_update_request, + "teams-devices_version_config": teams$$devices_version_config$, }, }, outputSchema: { @@ -590,14 +635,14 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_deployment_group": teams_devices_deployment_group_output, - "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, - "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, - "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, - "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, - "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, - "teams-devices_version_config": teams_devices_version_config_output, + "teams-devices_deployment_group": teams$$devices_deployment_group, + "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, + "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, + "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, + "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, + "teams-devices_version_config": teams$$devices_version_config, }, }, annotations: { @@ -648,15 +693,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_deployment_group": teams_devices_deployment_group_output, - "teams-devices_deployment_group_created_at": teams_devices_deployment_group_created_at_output, - "teams-devices_deployment_group_id": teams_devices_deployment_group_id_output, - "teams-devices_deployment_group_name": teams_devices_deployment_group_name_output, - "teams-devices_deployment_group_policy_ids": teams_devices_deployment_group_policy_ids_output, - "teams-devices_deployment_group_updated_at": teams_devices_deployment_group_updated_at_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, - "teams-devices_version_config": teams_devices_version_config_output, + "teams-devices_deployment_group": teams$$devices_deployment_group, + "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, + "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, + "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, + "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, + "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, + "teams-devices_version_config": teams$$devices_version_config, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts index 2de150275..ec6a85d34 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_disconnect` in responses. */ -export const teams_devices_disconnect_output: JsonSchema = { +export const teams$$devices_disconnect: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_global_warp_override` in responses. */ -export const teams_devices_global_warp_override_output: JsonSchema = { +export const teams$$devices_global_warp_override: JsonSchema = { "properties": { "disconnect": { "$ref": "#/$defs/teams-devices_disconnect" @@ -28,7 +28,7 @@ export const teams_devices_global_warp_override_output: JsonSchema = { /** * The schema of `teams-devices_global_warp_override_response` in responses. */ -export const teams_devices_global_warp_override_response_output: JsonSchema = { +export const teams$$devices_global_warp_override_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-single" @@ -47,7 +47,7 @@ export const teams_devices_global_warp_override_response_output: JsonSchema = { /** * The schema of `teams-devices_timestamp` in responses. */ -export const teams_devices_timestamp_output: JsonSchema = { +export const teams$$devices_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/schemas.ts index 290a51877..4b9edac00 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_disconnect`. */ -export const teams_devices_disconnect: JsonSchema = { +export const teams$$devices_disconnect: JsonSchema = { "description": "Disconnects all devices on the account using Global WARP override.", "type": "boolean" }; @@ -14,7 +14,7 @@ export const teams_devices_disconnect: JsonSchema = { /** * The schema of `teams-devices_global_warp_override_request`. */ -export const teams_devices_global_warp_override_request: JsonSchema = { +export const teams$$devices_global_warp_override_request: JsonSchema = { "description": "Global WARP override request", "properties": { "disconnect": { @@ -35,7 +35,7 @@ export const teams_devices_global_warp_override_request: JsonSchema = { /** * The schema of `teams-devices_justification`. */ -export const teams_devices_justification: JsonSchema = { +export const teams$$devices_justification: JsonSchema = { "description": "Reasoning for setting the Global WARP override state. This will be surfaced in the audit log.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts index fabd3d627..2d231b55e 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts @@ -3,56 +3,64 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - teams_devices_api_response_common_failure_output, - teams_devices_api_response_common_output, - teams_devices_api_response_single_output, - teams_devices_messages_output, + teams$$devices_api$$response$$common, + teams$$devices_api$$response$$common$$failure, + teams$$devices_api$$response$$single, + teams$$devices_messages, } from "../outputs.js"; -import { teams_devices_identifier } from "../schemas.js"; +import { teams$$devices_identifier } from "../schemas.js"; import { - teams_devices_disconnect_output, - teams_devices_global_warp_override_output, - teams_devices_global_warp_override_response_output, - teams_devices_timestamp_output, + teams$$devices_disconnect, + teams$$devices_global_warp_override, + teams$$devices_global_warp_override_response, + teams$$devices_timestamp, } from "./outputs.js"; import { - teams_devices_disconnect, - teams_devices_global_warp_override_request, - teams_devices_justification, + teams$$devices_disconnect as teams$$devices_disconnect$, + teams$$devices_global_warp_override_request, + teams$$devices_justification, } from "./schemas.js"; /** - * The tools of `zero_trust.devices.emergency_disconnect`. + * The tools of `zeroTrust.devices.emergencyDisconnect`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_emergency_disconnect_get", + name: "zeroTrust_devices_emergencyDisconnect_get", title: "Get Global Disconnect", description: "Fetch the Global WARP disconnect state.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, + "teams-devices_identifier": teams$$devices_identifier, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_global_warp_override_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_disconnect": teams_devices_disconnect_output, - "teams-devices_global_warp_override": teams_devices_global_warp_override_output, - "teams-devices_global_warp_override_response": teams_devices_global_warp_override_response_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_timestamp": teams_devices_timestamp_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_disconnect": teams$$devices_disconnect, + "teams-devices_global_warp_override": teams$$devices_global_warp_override, + "teams-devices_global_warp_override_response": teams$$devices_global_warp_override_response, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_timestamp": teams$$devices_timestamp, }, }, annotations: { @@ -82,14 +90,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_disconnect": teams_devices_disconnect_output, - "teams-devices_global_warp_override": teams_devices_global_warp_override_output, - "teams-devices_global_warp_override_response": teams_devices_global_warp_override_response_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_timestamp": teams_devices_timestamp_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_disconnect": teams$$devices_disconnect, + "teams-devices_global_warp_override": teams$$devices_global_warp_override, + "teams-devices_global_warp_override_response": teams$$devices_global_warp_override_response, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_timestamp": teams$$devices_timestamp, }, }, request: (args) => ({ @@ -97,40 +105,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_emergency_disconnect_set", + name: "zeroTrust_devices_emergencyDisconnect_set", title: "Set Global Disconnect", description: "Sets the Global WARP disconnect state.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "$ref": "#/$defs/teams-devices_global_warp_override_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_disconnect": teams_devices_disconnect, - "teams-devices_global_warp_override_request": teams_devices_global_warp_override_request, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_justification": teams_devices_justification, + "teams-devices_disconnect": teams$$devices_disconnect$, + "teams-devices_global_warp_override_request": teams$$devices_global_warp_override_request, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_justification": teams$$devices_justification, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_global_warp_override_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_disconnect": teams_devices_disconnect_output, - "teams-devices_global_warp_override": teams_devices_global_warp_override_output, - "teams-devices_global_warp_override_response": teams_devices_global_warp_override_response_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_timestamp": teams_devices_timestamp_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_disconnect": teams$$devices_disconnect, + "teams-devices_global_warp_override": teams$$devices_global_warp_override, + "teams-devices_global_warp_override_response": teams$$devices_global_warp_override_response, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_timestamp": teams$$devices_timestamp, }, }, annotations: { @@ -157,14 +173,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_disconnect": teams_devices_disconnect_output, - "teams-devices_global_warp_override": teams_devices_global_warp_override_output, - "teams-devices_global_warp_override_response": teams_devices_global_warp_override_response_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_timestamp": teams_devices_timestamp_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_disconnect": teams$$devices_disconnect, + "teams-devices_global_warp_override": teams$$devices_global_warp_override, + "teams-devices_global_warp_override_response": teams$$devices_global_warp_override_response, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_timestamp": teams$$devices_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts index e795fd0d3..6693dd7c7 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_ip_profile` in responses. */ -export const teams_devices_ip_profile_output: JsonSchema = { +export const teams$$devices_ip_profile: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/teams-devices_ip_profile_created_at" @@ -53,14 +53,14 @@ export const teams_devices_ip_profile_output: JsonSchema = { /** * The schema of `teams-devices_ip_profile_created_at` in responses. */ -export const teams_devices_ip_profile_created_at_output: JsonSchema = { +export const teams$$devices_ip_profile_created_at: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_ip_profile_description` in responses. */ -export const teams_devices_ip_profile_description_output: JsonSchema = { +export const teams$$devices_ip_profile_description: JsonSchema = { "oneOf": [ { "type": "string" @@ -74,48 +74,48 @@ export const teams_devices_ip_profile_description_output: JsonSchema = { /** * The schema of `teams-devices_ip_profile_enabled` in responses. */ -export const teams_devices_ip_profile_enabled_output: JsonSchema = { +export const teams$$devices_ip_profile_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_ip_profile_id` in responses. */ -export const teams_devices_ip_profile_id_output: JsonSchema = { +export const teams$$devices_ip_profile_id: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_ip_profile_match` in responses. */ -export const teams_devices_ip_profile_match_output: JsonSchema = { +export const teams$$devices_ip_profile_match: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_ip_profile_name` in responses. */ -export const teams_devices_ip_profile_name_output: JsonSchema = { +export const teams$$devices_ip_profile_name: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_ip_profile_precedence` in responses. */ -export const teams_devices_ip_profile_precedence_output: JsonSchema = { +export const teams$$devices_ip_profile_precedence: JsonSchema = { "type": "integer" }; /** * The schema of `teams-devices_ip_profile_subnet_id` in responses. */ -export const teams_devices_ip_profile_subnet_id_output: JsonSchema = { +export const teams$$devices_ip_profile_subnet_id: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_ip_profile_updated_at` in responses. */ -export const teams_devices_ip_profile_updated_at_output: JsonSchema = { +export const teams$$devices_ip_profile_updated_at: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/schemas.ts index 6bf2a8faf..160ac8efb 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_ip_profile_create_request`. */ -export const teams_devices_ip_profile_create_request: JsonSchema = { +export const teams$$devices_ip_profile_create_request: JsonSchema = { "properties": { "description": { "description": "An optional description of the Device IP profile.", @@ -53,7 +53,7 @@ export const teams_devices_ip_profile_create_request: JsonSchema = { /** * The schema of `teams-devices_ip_profile_enabled`. */ -export const teams_devices_ip_profile_enabled: JsonSchema = { +export const teams$$devices_ip_profile_enabled: JsonSchema = { "description": "Whether the Device IP profile is enabled.", "type": "boolean" }; @@ -61,7 +61,7 @@ export const teams_devices_ip_profile_enabled: JsonSchema = { /** * The schema of `teams-devices_ip_profile_match`. */ -export const teams_devices_ip_profile_match: JsonSchema = { +export const teams$$devices_ip_profile_match: JsonSchema = { "description": "The wirefilter expression to match registrations. Available values: \"identity.name\", \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.saml_attributes\".", "type": "string" }; @@ -69,7 +69,7 @@ export const teams_devices_ip_profile_match: JsonSchema = { /** * The schema of `teams-devices_ip_profile_name`. */ -export const teams_devices_ip_profile_name: JsonSchema = { +export const teams$$devices_ip_profile_name: JsonSchema = { "description": "A user-friendly name for the Device IP profile.", "type": "string" }; @@ -77,7 +77,7 @@ export const teams_devices_ip_profile_name: JsonSchema = { /** * The schema of `teams-devices_ip_profile_precedence`. */ -export const teams_devices_ip_profile_precedence: JsonSchema = { +export const teams$$devices_ip_profile_precedence: JsonSchema = { "description": "The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.", "type": "integer" }; @@ -85,7 +85,7 @@ export const teams_devices_ip_profile_precedence: JsonSchema = { /** * The schema of `teams-devices_ip_profile_subnet_id`. */ -export const teams_devices_ip_profile_subnet_id: JsonSchema = { +export const teams$$devices_ip_profile_subnet_id: JsonSchema = { "description": "The ID of the Subnet.", "type": "string" }; @@ -93,7 +93,7 @@ export const teams_devices_ip_profile_subnet_id: JsonSchema = { /** * The schema of `teams-devices_ip_profile_update_request`. */ -export const teams_devices_ip_profile_update_request: JsonSchema = { +export const teams$$devices_ip_profile_update_request: JsonSchema = { "properties": { "description": { "description": "An optional description of the Device IP profile.", diff --git a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts index 2825d7020..feddb8b40 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts @@ -1,62 +1,70 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - teams_devices_pagination_info_output, - teams_devices_v4_error_response_output, - teams_devices_v4_response_message_output, + teams$$devices_pagination_info, + teams$$devices_v4_error_response, + teams$$devices_v4_response_message, } from "../outputs.js"; import { - teams_devices_ip_profile_created_at_output, - teams_devices_ip_profile_description_output, - teams_devices_ip_profile_enabled_output, - teams_devices_ip_profile_id_output, - teams_devices_ip_profile_match_output, - teams_devices_ip_profile_name_output, - teams_devices_ip_profile_output, - teams_devices_ip_profile_precedence_output, - teams_devices_ip_profile_subnet_id_output, - teams_devices_ip_profile_updated_at_output, + teams$$devices_ip_profile, + teams$$devices_ip_profile_created_at, + teams$$devices_ip_profile_description, + teams$$devices_ip_profile_enabled, + teams$$devices_ip_profile_id, + teams$$devices_ip_profile_match, + teams$$devices_ip_profile_name, + teams$$devices_ip_profile_precedence, + teams$$devices_ip_profile_subnet_id, + teams$$devices_ip_profile_updated_at, } from "./outputs.js"; import { - teams_devices_ip_profile_create_request, - teams_devices_ip_profile_enabled, - teams_devices_ip_profile_match, - teams_devices_ip_profile_name, - teams_devices_ip_profile_precedence, - teams_devices_ip_profile_subnet_id, - teams_devices_ip_profile_update_request, + teams$$devices_ip_profile_create_request, + teams$$devices_ip_profile_enabled as teams$$devices_ip_profile_enabled$, + teams$$devices_ip_profile_match as teams$$devices_ip_profile_match$, + teams$$devices_ip_profile_name as teams$$devices_ip_profile_name$, + teams$$devices_ip_profile_precedence as teams$$devices_ip_profile_precedence$, + teams$$devices_ip_profile_subnet_id as teams$$devices_ip_profile_subnet_id$, + teams$$devices_ip_profile_update_request, } from "./schemas.js"; /** - * The tools of `zero_trust.devices.ip_profiles`. + * The tools of `zeroTrust.devices.ipProfiles`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_ip_profiles_create", + name: "zeroTrust_devices_ipProfiles_create", title: "Create IP profile", description: "Creates a WARP Device IP profile. Currently, only IPv4 Device subnets can be associated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/teams-devices_ip_profile_create_request" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_ip_profile_create_request": teams_devices_ip_profile_create_request, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id, + "teams-devices_ip_profile_create_request": teams$$devices_ip_profile_create_request, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match$, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name$, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence$, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id$, }, }, outputSchema: { @@ -88,17 +96,17 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_ip_profile": teams_devices_ip_profile_output, - "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, - "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, - "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, - "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, - "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_ip_profile": teams$$devices_ip_profile, + "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, + "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, + "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, + "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, + "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -151,18 +159,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_ip_profile": teams_devices_ip_profile_output, - "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, - "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, - "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, - "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, - "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_ip_profile": teams$$devices_ip_profile, + "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, + "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, + "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, + "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, + "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ @@ -171,22 +179,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_ip_profiles_delete", + name: "zeroTrust_devices_ipProfiles_delete", title: "Delete IP profile", description: "Delete a WARP Device IP profile.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "profile_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "profile_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id" + "path" ], }, outputSchema: { @@ -223,7 +239,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -281,8 +297,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ @@ -290,22 +306,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_ip_profiles_get", + name: "zeroTrust_devices_ipProfiles_get", title: "Get IP profile", description: "Fetches a single WARP Device IP profile.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "profile_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "profile_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id" + "path" ], }, outputSchema: { @@ -337,17 +361,17 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_ip_profile": teams_devices_ip_profile_output, - "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, - "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, - "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, - "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, - "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_ip_profile": teams$$devices_ip_profile, + "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, + "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, + "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, + "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, + "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -401,18 +425,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_ip_profile": teams_devices_ip_profile_output, - "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, - "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, - "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, - "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, - "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_ip_profile": teams$$devices_ip_profile, + "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, + "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, + "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, + "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, + "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ @@ -420,28 +444,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_ip_profiles_list", + name: "zeroTrust_devices_ipProfiles_list", title: "List IP profiles", description: "Lists WARP Device IP profiles.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "page": { - "default": 1, - "description": "The page number to return.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 50, - "description": "The number of IP profiles to return per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "The page number to return.", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "The number of IP profiles to return per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -479,18 +516,18 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_ip_profile": teams_devices_ip_profile_output, - "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, - "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, - "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, - "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, - "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, - "teams-devices_pagination_info": teams_devices_pagination_info_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_ip_profile": teams$$devices_ip_profile, + "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, + "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, + "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, + "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, + "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, + "teams-devices_pagination_info": teams$$devices_pagination_info, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -550,58 +587,66 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_ip_profile": teams_devices_ip_profile_output, - "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, - "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, - "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, - "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, - "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, - "teams-devices_pagination_info": teams_devices_pagination_info_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_ip_profile": teams$$devices_ip_profile, + "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, + "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, + "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, + "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, + "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, + "teams-devices_pagination_info": teams$$devices_pagination_info, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/ip-profiles`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_devices_ip_profiles_update", + name: "zeroTrust_devices_ipProfiles_update", title: "Update IP profile", description: "Updates a WARP Device IP profile. Currently, only IPv4 Device subnets can be associated.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/teams-devices_ip_profile_update_request" }, - "profile_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "profile_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id", + "path", "body" ], $defs: { - "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id, - "teams-devices_ip_profile_update_request": teams_devices_ip_profile_update_request, + "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled$, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match$, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name$, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence$, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id$, + "teams-devices_ip_profile_update_request": teams$$devices_ip_profile_update_request, }, }, outputSchema: { @@ -633,17 +678,17 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_ip_profile": teams_devices_ip_profile_output, - "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, - "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, - "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, - "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, - "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_ip_profile": teams$$devices_ip_profile, + "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, + "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, + "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, + "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, + "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -696,18 +741,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_ip_profile": teams_devices_ip_profile_output, - "teams-devices_ip_profile_created_at": teams_devices_ip_profile_created_at_output, - "teams-devices_ip_profile_description": teams_devices_ip_profile_description_output, - "teams-devices_ip_profile_enabled": teams_devices_ip_profile_enabled_output, - "teams-devices_ip_profile_id": teams_devices_ip_profile_id_output, - "teams-devices_ip_profile_match": teams_devices_ip_profile_match_output, - "teams-devices_ip_profile_name": teams_devices_ip_profile_name_output, - "teams-devices_ip_profile_precedence": teams_devices_ip_profile_precedence_output, - "teams-devices_ip_profile_subnet_id": teams_devices_ip_profile_subnet_id_output, - "teams-devices_ip_profile_updated_at": teams_devices_ip_profile_updated_at_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_ip_profile": teams$$devices_ip_profile, + "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, + "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, + "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, + "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, + "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, + "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, + "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, + "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, + "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts index 038be6486..70482d2e9 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `teams-devices_components-schemas-response_collection` in * responses. */ -export const teams_devices_components_schemas_response_collection_output: JsonSchema = { +export const teams$$devices_components$$schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-collection" @@ -30,7 +30,7 @@ export const teams_devices_components_schemas_response_collection_output: JsonSc * The schema of `teams-devices_components-schemas-single_response` in * responses. */ -export const teams_devices_components_schemas_single_response_output: JsonSchema = { +export const teams$$devices_components$$schemas$$single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-single" @@ -49,7 +49,7 @@ export const teams_devices_components_schemas_single_response_output: JsonSchema /** * The schema of `teams-devices_components-schemas-type` in responses. */ -export const teams_devices_components_schemas_type_output: JsonSchema = { +export const teams$$devices_components$$schemas$$type: JsonSchema = { "enum": [ "tls" ], @@ -59,7 +59,7 @@ export const teams_devices_components_schemas_type_output: JsonSchema = { /** * The schema of `teams-devices_device-managed-networks` in responses. */ -export const teams_devices_device_managed_networks_output: JsonSchema = { +export const teams$$devices_device$$managed$$networks: JsonSchema = { "properties": { "config": { "$ref": "#/$defs/teams-devices_schemas-config_response" @@ -81,21 +81,21 @@ export const teams_devices_device_managed_networks_output: JsonSchema = { * The schema of `teams-devices_device-managed-networks_components-schemas-name` * in responses. */ -export const teams_devices_device_managed_networks_components_schemas_name_output: JsonSchema = { +export const teams$$devices_device$$managed$$networks_components$$schemas$$name: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_schemas-config_response` in responses. */ -export const teams_devices_schemas_config_response_output: JsonSchema = { +export const teams$$devices_schemas$$config_response: JsonSchema = { "$ref": "#/$defs/teams-devices_tls_config_response" }; /** * The schema of `teams-devices_tls_config_response` in responses. */ -export const teams_devices_tls_config_response_output: JsonSchema = { +export const teams$$devices_tls_config_response: JsonSchema = { "properties": { "sha256": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/devices/networks/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/networks/schemas.ts index f9759bbb0..b82d529ee 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/networks/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/networks/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_components-schemas-type`. */ -export const teams_devices_components_schemas_type: JsonSchema = { +export const teams$$devices_components$$schemas$$type: JsonSchema = { "description": "The type of device managed network.", "enum": [ "tls" @@ -18,7 +18,7 @@ export const teams_devices_components_schemas_type: JsonSchema = { * The schema of * `teams-devices_device-managed-networks_components-schemas-name`. */ -export const teams_devices_device_managed_networks_components_schemas_name: JsonSchema = { +export const teams$$devices_device$$managed$$networks_components$$schemas$$name: JsonSchema = { "description": "The name of the device managed network. This name must be unique.", "type": "string" }; @@ -26,7 +26,7 @@ export const teams_devices_device_managed_networks_components_schemas_name: Json /** * The schema of `teams-devices_schemas-config_request`. */ -export const teams_devices_schemas_config_request: JsonSchema = { +export const teams$$devices_schemas$$config_request: JsonSchema = { "$ref": "#/$defs/teams-devices_tls_config_request", "description": "The configuration object containing information for the WARP client to detect the managed network." }; @@ -34,7 +34,7 @@ export const teams_devices_schemas_config_request: JsonSchema = { /** * The schema of `teams-devices_tls_config_request`. */ -export const teams_devices_tls_config_request: JsonSchema = { +export const teams$$devices_tls_config_request: JsonSchema = { "properties": { "sha256": { "description": "The SHA-256 hash of the TLS certificate presented by the host found at tls_sockaddr. If absent, regular certificate verification (trusted roots, valid timestamp, etc) will be used to validate the certificate.", diff --git a/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts index a30d48b25..a10d690b1 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts @@ -3,45 +3,45 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - teams_devices_api_response_collection_output, - teams_devices_api_response_common_failure_output, - teams_devices_api_response_common_output, - teams_devices_api_response_single_output, - teams_devices_messages_output, - teams_devices_result_info_output, - teams_devices_uuid_output, + teams$$devices_api$$response$$collection, + teams$$devices_api$$response$$common, + teams$$devices_api$$response$$common$$failure, + teams$$devices_api$$response$$single, + teams$$devices_messages, + teams$$devices_result_info, + teams$$devices_uuid, } from "../outputs.js"; -import { teams_devices_identifier, teams_devices_uuid } from "../schemas.js"; import { - teams_devices_components_schemas_response_collection_output, - teams_devices_components_schemas_single_response_output, - teams_devices_components_schemas_type_output, - teams_devices_device_managed_networks_components_schemas_name_output, - teams_devices_device_managed_networks_output, - teams_devices_schemas_config_response_output, - teams_devices_tls_config_response_output, + teams$$devices_identifier, + teams$$devices_uuid as teams$$devices_uuid$, +} from "../schemas.js"; +import { + teams$$devices_components$$schemas$$response_collection, + teams$$devices_components$$schemas$$single_response, + teams$$devices_components$$schemas$$type, + teams$$devices_device$$managed$$networks, + teams$$devices_device$$managed$$networks_components$$schemas$$name, + teams$$devices_schemas$$config_response, + teams$$devices_tls_config_response, } from "./outputs.js"; import { - teams_devices_components_schemas_type, - teams_devices_device_managed_networks_components_schemas_name, - teams_devices_schemas_config_request, - teams_devices_tls_config_request, + teams$$devices_components$$schemas$$type as teams$$devices_components$$schemas$$type$, + teams$$devices_device$$managed$$networks_components$$schemas$$name as teams$$devices_device$$managed$$networks_components$$schemas$$name$, + teams$$devices_schemas$$config_request, + teams$$devices_tls_config_request, } from "./schemas.js"; /** - * The tools of `zero_trust.devices.networks`. + * The tools of `zeroTrust.devices.networks`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_networks_create", + name: "zeroTrust_devices_networks_create", title: "Create a device managed network", description: "Creates a new device managed network.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "properties": { "config": { @@ -62,33 +62,44 @@ export const tools: readonly Tool[] = [ "type" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_components-schemas-type": teams_devices_components_schemas_type, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_schemas-config_request": teams_devices_schemas_config_request, - "teams-devices_tls_config_request": teams_devices_tls_config_request, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type$, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name$, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_schemas-config_request": teams$$devices_schemas$$config_request, + "teams-devices_tls_config_request": teams$$devices_tls_config_request, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_components-schemas-single_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-single_response": teams_devices_components_schemas_single_response_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -115,17 +126,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-single_response": teams_devices_components_schemas_single_response_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -134,43 +145,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_networks_delete", + name: "zeroTrust_devices_networks_delete", title: "Delete a device managed network", description: "Deletes a device managed network and fetches a list of the remaining device managed networks for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, - "network_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "network_id": { + "$ref": "#/$defs/teams-devices_uuid", + "description": "API UUID." + } + }, + "required": [ + "account_id", + "network_id" + ], + "type": "object" } }, required: [ - "account_id", - "network_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_uuid": teams_devices_uuid, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_uuid": teams$$devices_uuid$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_components-schemas-response_collection", $defs: { - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_components-schemas-response_collection": teams_devices_components_schemas_response_collection_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_components-schemas-response_collection": teams$$devices_components$$schemas$$response_collection, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -197,18 +216,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_components-schemas-response_collection": teams_devices_components_schemas_response_collection_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_components-schemas-response_collection": teams$$devices_components$$schemas$$response_collection, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -216,42 +235,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_networks_get", + name: "zeroTrust_devices_networks_get", title: "Get device managed network details", description: "Fetches details for a single managed network.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, - "network_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "network_id": { + "$ref": "#/$defs/teams-devices_uuid", + "description": "API UUID." + } + }, + "required": [ + "account_id", + "network_id" + ], + "type": "object" } }, required: [ - "account_id", - "network_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_uuid": teams_devices_uuid, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_uuid": teams$$devices_uuid$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_components-schemas-single_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-single_response": teams_devices_components_schemas_single_response_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -273,17 +300,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-single_response": teams_devices_components_schemas_single_response_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -291,37 +318,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_networks_list", + name: "zeroTrust_devices_networks_list", title: "List your device managed networks", description: "Fetches a list of managed networks for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, + "teams-devices_identifier": teams$$devices_identifier, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_components-schemas-response_collection", $defs: { - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_components-schemas-response_collection": teams_devices_components_schemas_response_collection_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_components-schemas-response_collection": teams$$devices_components$$schemas$$response_collection, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -343,18 +378,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_components-schemas-response_collection": teams_devices_components_schemas_response_collection_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_components-schemas-response_collection": teams$$devices_components$$schemas$$response_collection, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -362,15 +397,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_networks_update", + name: "zeroTrust_devices_networks_update", title: "Update a device managed network", description: "Updates a configured device managed network.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "properties": { "config": { @@ -387,38 +419,49 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "network_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "network_id": { + "$ref": "#/$defs/teams-devices_uuid", + "description": "API UUID." + } + }, + "required": [ + "account_id", + "network_id" + ], + "type": "object" } }, required: [ - "account_id", - "network_id", + "path", "body" ], $defs: { - "teams-devices_components-schemas-type": teams_devices_components_schemas_type, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_schemas-config_request": teams_devices_schemas_config_request, - "teams-devices_tls_config_request": teams_devices_tls_config_request, - "teams-devices_uuid": teams_devices_uuid, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type$, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name$, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_schemas-config_request": teams$$devices_schemas$$config_request, + "teams-devices_tls_config_request": teams$$devices_tls_config_request, + "teams-devices_uuid": teams$$devices_uuid$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_components-schemas-single_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-single_response": teams_devices_components_schemas_single_response_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -445,17 +488,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-single_response": teams_devices_components_schemas_single_response_output, - "teams-devices_components-schemas-type": teams_devices_components_schemas_type_output, - "teams-devices_device-managed-networks": teams_devices_device_managed_networks_output, - "teams-devices_device-managed-networks_components-schemas-name": teams_devices_device_managed_networks_components_schemas_name_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-config_response": teams_devices_schemas_config_response_output, - "teams-devices_tls_config_response": teams_devices_tls_config_response_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, + "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, + "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, + "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, + "teams-devices_tls_config_response": teams$$devices_tls_config_response, + "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/outputs.ts index 65af12f12..0a9b718bb 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `teams-devices_api-response-collection` in responses. */ -export const teams_devices_api_response_collection_output: JsonSchema = { +export const teams$$devices_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-common" @@ -38,7 +38,7 @@ export const teams_devices_api_response_collection_output: JsonSchema = { /** * The schema of `teams-devices_api-response-common` in responses. */ -export const teams_devices_api_response_common_output: JsonSchema = { +export const teams$$devices_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/teams-devices_messages" @@ -81,7 +81,7 @@ export const teams_devices_api_response_common_output: JsonSchema = { /** * The schema of `teams-devices_api-response-common-failure` in responses. */ -export const teams_devices_api_response_common_failure_output: JsonSchema = { +export const teams$$devices_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/teams-devices_messages" @@ -111,7 +111,7 @@ export const teams_devices_api_response_common_failure_output: JsonSchema = { /** * The schema of `teams-devices_api-response-single` in responses. */ -export const teams_devices_api_response_single_output: JsonSchema = { +export const teams$$devices_api$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-common" @@ -140,14 +140,14 @@ export const teams_devices_api_response_single_output: JsonSchema = { /** * The schema of `teams-devices_components-schemas-uuid` in responses. */ -export const teams_devices_components_schemas_uuid_output: JsonSchema = { +export const teams$$devices_components$$schemas$$uuid: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_cursor_result_info` in responses. */ -export const teams_devices_cursor_result_info_output: JsonSchema = { +export const teams$$devices_cursor_result_info: JsonSchema = { "properties": { "count": { "type": "integer" @@ -180,14 +180,14 @@ export const teams_devices_cursor_result_info_output: JsonSchema = { /** * The schema of `teams-devices_email` in responses. */ -export const teams_devices_email_output: JsonSchema = { +export const teams$$devices_email: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_empty_body` in responses. */ -export const teams_devices_empty_body_output: JsonSchema = { +export const teams$$devices_empty_body: JsonSchema = { "oneOf": [ { "type": "object" @@ -201,7 +201,7 @@ export const teams_devices_empty_body_output: JsonSchema = { /** * The schema of `teams-devices_messages` in responses. */ -export const teams_devices_messages_output: JsonSchema = { +export const teams$$devices_messages: JsonSchema = { "items": { "properties": { "code": { @@ -223,7 +223,7 @@ export const teams_devices_messages_output: JsonSchema = { /** * The schema of `teams-devices_pagination_info` in responses. */ -export const teams_devices_pagination_info_output: JsonSchema = { +export const teams$$devices_pagination_info: JsonSchema = { "properties": { "count": { "type": "integer" @@ -253,7 +253,7 @@ export const teams_devices_pagination_info_output: JsonSchema = { /** * The schema of `teams-devices_physical_device` in responses. */ -export const teams_devices_physical_device_output: JsonSchema = { +export const teams$$devices_physical_device: JsonSchema = { "properties": { "active_registrations": { "type": "integer" @@ -435,7 +435,7 @@ export const teams_devices_physical_device_output: JsonSchema = { /** * The schema of `teams-devices_policy_summary` in responses. */ -export const teams_devices_policy_summary_output: JsonSchema = { +export const teams$$devices_policy_summary: JsonSchema = { "properties": { "default": { "type": "boolean" @@ -466,7 +466,7 @@ export const teams_devices_policy_summary_output: JsonSchema = { /** * The schema of `teams-devices_registration_details` in responses. */ -export const teams_devices_registration_details_output: JsonSchema = { +export const teams$$devices_registration_details: JsonSchema = { "properties": { "policy": { "oneOf": [ @@ -485,7 +485,7 @@ export const teams_devices_registration_details_output: JsonSchema = { /** * The schema of `teams-devices_registration_type` in responses. */ -export const teams_devices_registration_type_output: JsonSchema = { +export const teams$$devices_registration_type: JsonSchema = { "enum": [ "warp", "browser_extension" @@ -496,7 +496,7 @@ export const teams_devices_registration_type_output: JsonSchema = { /** * The schema of `teams-devices_result_info` in responses. */ -export const teams_devices_result_info_output: JsonSchema = { +export const teams$$devices_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -517,7 +517,7 @@ export const teams_devices_result_info_output: JsonSchema = { /** * The schema of `teams-devices_user` in responses. */ -export const teams_devices_user_output: JsonSchema = { +export const teams$$devices_user: JsonSchema = { "properties": { "email": { "$ref": "#/$defs/teams-devices_email" @@ -535,14 +535,14 @@ export const teams_devices_user_output: JsonSchema = { /** * The schema of `teams-devices_uuid` in responses. */ -export const teams_devices_uuid_output: JsonSchema = { +export const teams$$devices_uuid: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_v4_error_response` in responses. */ -export const teams_devices_v4_error_response_output: JsonSchema = { +export const teams$$devices_v4_error_response: JsonSchema = { "properties": { "errors": { "items": { @@ -586,7 +586,7 @@ export const teams_devices_v4_error_response_output: JsonSchema = { /** * The schema of `teams-devices_v4_response_message` in responses. */ -export const teams_devices_v4_response_message_output: JsonSchema = { +export const teams$$devices_v4_response_message: JsonSchema = { "properties": { "code": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/outputs.ts index c9582880e..31584fd6f 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_override_code` in responses. */ -export const teams_devices_override_code_output: JsonSchema = { +export const teams$$devices_override_code: JsonSchema = { "properties": { "code": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/schemas.ts index 272850d3c..1a89cb241 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_override_code_create_request`. */ -export const teams_devices_override_code_create_request: JsonSchema = { +export const teams$$devices_override_code_create_request: JsonSchema = { "properties": { "device_id": { "description": "Physical device ID. Required when scope is device and forbidden when scope is account.", diff --git a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts index cbd0dd5a6..016ad0be8 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts @@ -3,36 +3,44 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - teams_devices_v4_error_response_output, - teams_devices_v4_response_message_output, + teams$$devices_v4_error_response, + teams$$devices_v4_response_message, } from "../outputs.js"; -import { teams_devices_override_code_output } from "./outputs.js"; -import { teams_devices_override_code_create_request } from "./schemas.js"; +import { teams$$devices_override_code } from "./outputs.js"; +import { teams$$devices_override_code_create_request } from "./schemas.js"; /** - * The tools of `zero_trust.devices.override_codes`. + * The tools of `zeroTrust.devices.overrideCodes`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_override_codes_create", + name: "zeroTrust_devices_overrideCodes_create", title: "Generate an uninstall protection override code", description: "Generates an account-wide or device-specific uninstall protection override code.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/teams-devices_override_code_create_request" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_override_code_create_request": teams_devices_override_code_create_request, + "teams-devices_override_code_create_request": teams$$devices_override_code_create_request, }, }, outputSchema: { @@ -64,8 +72,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_override_code": teams_devices_override_code_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_override_code": teams$$devices_override_code, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -116,9 +124,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_override_code": teams_devices_override_code_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_override_code": teams$$devices_override_code, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts index 91f1e85ff..69714bdbd 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `teams-devices_components-schemas-name` in responses. */ -export const teams_devices_components_schemas_name_output: JsonSchema = { +export const teams$$devices_components$$schemas$$name: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_config_response` in responses. */ -export const teams_devices_config_response_output: JsonSchema = { +export const teams$$devices_config_response: JsonSchema = { "$ref": "#/$defs/teams-devices_workspace_one_config_response" }; /** * The schema of `teams-devices_device-posture-integrations` in responses. */ -export const teams_devices_device_posture_integrations_output: JsonSchema = { +export const teams$$devices_device$$posture$$integrations: JsonSchema = { "properties": { "config": { "$ref": "#/$defs/teams-devices_config_response" @@ -44,14 +44,14 @@ export const teams_devices_device_posture_integrations_output: JsonSchema = { /** * The schema of `teams-devices_interval` in responses. */ -export const teams_devices_interval_output: JsonSchema = { +export const teams$$devices_interval: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_schemas-id_response` in responses. */ -export const teams_devices_schemas_id_response_output: JsonSchema = { +export const teams$$devices_schemas$$id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-single" @@ -77,7 +77,7 @@ export const teams_devices_schemas_id_response_output: JsonSchema = { /** * The schema of `teams-devices_schemas-response_collection` in responses. */ -export const teams_devices_schemas_response_collection_output: JsonSchema = { +export const teams$$devices_schemas$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-collection" @@ -99,7 +99,7 @@ export const teams_devices_schemas_response_collection_output: JsonSchema = { /** * The schema of `teams-devices_schemas-single_response` in responses. */ -export const teams_devices_schemas_single_response_output: JsonSchema = { +export const teams$$devices_schemas$$single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-single" @@ -118,7 +118,7 @@ export const teams_devices_schemas_single_response_output: JsonSchema = { /** * The schema of `teams-devices_schemas-type` in responses. */ -export const teams_devices_schemas_type_output: JsonSchema = { +export const teams$$devices_schemas$$type: JsonSchema = { "enum": [ "workspace_one", "crowdstrike_s2s", @@ -135,7 +135,7 @@ export const teams_devices_schemas_type_output: JsonSchema = { /** * The schema of `teams-devices_workspace_one_config_response` in responses. */ -export const teams_devices_workspace_one_config_response_output: JsonSchema = { +export const teams$$devices_workspace_one_config_response: JsonSchema = { "properties": { "api_url": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/schemas.ts index 060ebf922..f6ed97832 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `teams-devices_components-schemas-name`. */ -export const teams_devices_components_schemas_name: JsonSchema = { +export const teams$$devices_components$$schemas$$name: JsonSchema = { "description": "The name of the device posture integration.", "type": "string" }; @@ -14,7 +14,7 @@ export const teams_devices_components_schemas_name: JsonSchema = { /** * The schema of `teams-devices_config_request`. */ -export const teams_devices_config_request: JsonSchema = { +export const teams$$devices_config_request: JsonSchema = { "description": "The configuration object containing third-party integration information.", "oneOf": [ { @@ -47,7 +47,7 @@ export const teams_devices_config_request: JsonSchema = { /** * The schema of `teams-devices_crowdstrike_config_request`. */ -export const teams_devices_crowdstrike_config_request: JsonSchema = { +export const teams$$devices_crowdstrike_config_request: JsonSchema = { "description": "Crowdstrike Config", "properties": { "api_url": { @@ -79,7 +79,7 @@ export const teams_devices_crowdstrike_config_request: JsonSchema = { /** * The schema of `teams-devices_custom_s2s_config_request`. */ -export const teams_devices_custom_s2s_config_request: JsonSchema = { +export const teams$$devices_custom_s2s_config_request: JsonSchema = { "description": "Custom Device Posture Integration Config", "properties": { "access_client_id": { @@ -106,7 +106,7 @@ export const teams_devices_custom_s2s_config_request: JsonSchema = { /** * The schema of `teams-devices_interval`. */ -export const teams_devices_interval: JsonSchema = { +export const teams$$devices_interval: JsonSchema = { "description": "The interval between each posture check with the third-party API. Use `m` for minutes (e.g. `5m`) and `h` for hours (e.g. `12h`).", "type": "string" }; @@ -114,7 +114,7 @@ export const teams_devices_interval: JsonSchema = { /** * The schema of `teams-devices_intune_config_request`. */ -export const teams_devices_intune_config_request: JsonSchema = { +export const teams$$devices_intune_config_request: JsonSchema = { "description": "Intune Config", "properties": { "client_id": { @@ -141,7 +141,7 @@ export const teams_devices_intune_config_request: JsonSchema = { /** * The schema of `teams-devices_kolide_config_request`. */ -export const teams_devices_kolide_config_request: JsonSchema = { +export const teams$$devices_kolide_config_request: JsonSchema = { "description": "Kolide Config", "properties": { "client_id": { @@ -163,7 +163,7 @@ export const teams_devices_kolide_config_request: JsonSchema = { /** * The schema of `teams-devices_schemas-type`. */ -export const teams_devices_schemas_type: JsonSchema = { +export const teams$$devices_schemas$$type: JsonSchema = { "description": "The type of device posture integration.", "enum": [ "workspace_one", @@ -181,7 +181,7 @@ export const teams_devices_schemas_type: JsonSchema = { /** * The schema of `teams-devices_sentinelone_s2s_config_request`. */ -export const teams_devices_sentinelone_s2s_config_request: JsonSchema = { +export const teams$$devices_sentinelone_s2s_config_request: JsonSchema = { "description": "SentinelOne S2S Config", "properties": { "api_url": { @@ -203,7 +203,7 @@ export const teams_devices_sentinelone_s2s_config_request: JsonSchema = { /** * The schema of `teams-devices_tanium_config_request`. */ -export const teams_devices_tanium_config_request: JsonSchema = { +export const teams$$devices_tanium_config_request: JsonSchema = { "description": "Tanium Config", "properties": { "access_client_id": { @@ -233,7 +233,7 @@ export const teams_devices_tanium_config_request: JsonSchema = { /** * The schema of `teams-devices_uptycs_config_request`. */ -export const teams_devices_uptycs_config_request: JsonSchema = { +export const teams$$devices_uptycs_config_request: JsonSchema = { "description": "Uptycs Config", "properties": { "api_url": { @@ -265,7 +265,7 @@ export const teams_devices_uptycs_config_request: JsonSchema = { /** * The schema of `teams-devices_workspace_one_config_request`. */ -export const teams_devices_workspace_one_config_request: JsonSchema = { +export const teams$$devices_workspace_one_config_request: JsonSchema = { "description": "Workspace One Config", "properties": { "api_url": { diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts index 9604f6e32..8dc0801d6 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts @@ -3,55 +3,55 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - teams_devices_api_response_collection_output, - teams_devices_api_response_common_failure_output, - teams_devices_api_response_common_output, - teams_devices_api_response_single_output, - teams_devices_messages_output, - teams_devices_result_info_output, - teams_devices_uuid_output, + teams$$devices_api$$response$$collection, + teams$$devices_api$$response$$common, + teams$$devices_api$$response$$common$$failure, + teams$$devices_api$$response$$single, + teams$$devices_messages, + teams$$devices_result_info, + teams$$devices_uuid, } from "../../outputs.js"; -import { teams_devices_identifier, teams_devices_uuid } from "../../schemas.js"; import { - teams_devices_components_schemas_name_output, - teams_devices_config_response_output, - teams_devices_device_posture_integrations_output, - teams_devices_interval_output, - teams_devices_schemas_id_response_output, - teams_devices_schemas_response_collection_output, - teams_devices_schemas_single_response_output, - teams_devices_schemas_type_output, - teams_devices_workspace_one_config_response_output, + teams$$devices_identifier, + teams$$devices_uuid as teams$$devices_uuid$, +} from "../../schemas.js"; +import { + teams$$devices_components$$schemas$$name, + teams$$devices_config_response, + teams$$devices_device$$posture$$integrations, + teams$$devices_interval, + teams$$devices_schemas$$id_response, + teams$$devices_schemas$$response_collection, + teams$$devices_schemas$$single_response, + teams$$devices_schemas$$type, + teams$$devices_workspace_one_config_response, } from "./outputs.js"; import { - teams_devices_components_schemas_name, - teams_devices_config_request, - teams_devices_crowdstrike_config_request, - teams_devices_custom_s2s_config_request, - teams_devices_interval, - teams_devices_intune_config_request, - teams_devices_kolide_config_request, - teams_devices_schemas_type, - teams_devices_sentinelone_s2s_config_request, - teams_devices_tanium_config_request, - teams_devices_uptycs_config_request, - teams_devices_workspace_one_config_request, + teams$$devices_components$$schemas$$name as teams$$devices_components$$schemas$$name$, + teams$$devices_config_request, + teams$$devices_crowdstrike_config_request, + teams$$devices_custom_s2s_config_request, + teams$$devices_interval as teams$$devices_interval$, + teams$$devices_intune_config_request, + teams$$devices_kolide_config_request, + teams$$devices_schemas$$type as teams$$devices_schemas$$type$, + teams$$devices_sentinelone_s2s_config_request, + teams$$devices_tanium_config_request, + teams$$devices_uptycs_config_request, + teams$$devices_workspace_one_config_request, } from "./schemas.js"; /** - * The tools of `zero_trust.devices.posture.integrations`. + * The tools of `zeroTrust.devices.posture.integrations`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_posture_integrations_create", + name: "zeroTrust_devices_posture_integrations_create", title: "Create posture integration", description: "Create a new device posture integration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "properties": { "config": { @@ -77,42 +77,53 @@ export const tools: readonly Tool[] = [ "type" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_components-schemas-name": teams_devices_components_schemas_name, - "teams-devices_config_request": teams_devices_config_request, - "teams-devices_crowdstrike_config_request": teams_devices_crowdstrike_config_request, - "teams-devices_custom_s2s_config_request": teams_devices_custom_s2s_config_request, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_interval": teams_devices_interval, - "teams-devices_intune_config_request": teams_devices_intune_config_request, - "teams-devices_kolide_config_request": teams_devices_kolide_config_request, - "teams-devices_schemas-type": teams_devices_schemas_type, - "teams-devices_sentinelone_s2s_config_request": teams_devices_sentinelone_s2s_config_request, - "teams-devices_tanium_config_request": teams_devices_tanium_config_request, - "teams-devices_uptycs_config_request": teams_devices_uptycs_config_request, - "teams-devices_workspace_one_config_request": teams_devices_workspace_one_config_request, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name$, + "teams-devices_config_request": teams$$devices_config_request, + "teams-devices_crowdstrike_config_request": teams$$devices_crowdstrike_config_request, + "teams-devices_custom_s2s_config_request": teams$$devices_custom_s2s_config_request, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_interval": teams$$devices_interval$, + "teams-devices_intune_config_request": teams$$devices_intune_config_request, + "teams-devices_kolide_config_request": teams$$devices_kolide_config_request, + "teams-devices_schemas-type": teams$$devices_schemas$$type$, + "teams-devices_sentinelone_s2s_config_request": teams$$devices_sentinelone_s2s_config_request, + "teams-devices_tanium_config_request": teams$$devices_tanium_config_request, + "teams-devices_uptycs_config_request": teams$$devices_uptycs_config_request, + "teams-devices_workspace_one_config_request": teams$$devices_workspace_one_config_request, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_schemas-single_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, - "teams-devices_config_response": teams_devices_config_response_output, - "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, - "teams-devices_interval": teams_devices_interval_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-single_response": teams_devices_schemas_single_response_output, - "teams-devices_schemas-type": teams_devices_schemas_type_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, + "teams-devices_config_response": teams$$devices_config_response, + "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, + "teams-devices_interval": teams$$devices_interval, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, + "teams-devices_schemas-type": teams$$devices_schemas$$type, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, annotations: { @@ -139,18 +150,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, - "teams-devices_config_response": teams_devices_config_response_output, - "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, - "teams-devices_interval": teams_devices_interval_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-single_response": teams_devices_schemas_single_response_output, - "teams-devices_schemas-type": teams_devices_schemas_type_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, + "teams-devices_config_response": teams$$devices_config_response, + "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, + "teams-devices_interval": teams$$devices_interval, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, + "teams-devices_schemas-type": teams$$devices_schemas$$type, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, request: (args) => ({ @@ -159,36 +170,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_posture_integrations_delete", + name: "zeroTrust_devices_posture_integrations_delete", title: "Delete posture integration", description: "Delete a configured device posture integration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, - "integration_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "integration_id": { + "$ref": "#/$defs/teams-devices_uuid", + "description": "API UUID." + } + }, + "required": [ + "account_id", + "integration_id" + ], + "type": "object" } }, required: [ - "account_id", - "integration_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_uuid": teams_devices_uuid, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_uuid": teams$$devices_uuid$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_schemas-id_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-id_response": teams_devices_schemas_id_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-id_response": teams$$devices_schemas$$id_response, }, }, annotations: { @@ -215,11 +234,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-id_response": teams_devices_schemas_id_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-id_response": teams$$devices_schemas$$id_response, }, }, request: (args) => ({ @@ -227,43 +246,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_posture_integrations_get", + name: "zeroTrust_devices_posture_integrations_get", title: "Get posture integration", description: "Fetches details for a single device posture integration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, - "integration_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "integration_id": { + "$ref": "#/$defs/teams-devices_uuid", + "description": "API UUID." + } + }, + "required": [ + "account_id", + "integration_id" + ], + "type": "object" } }, required: [ - "account_id", - "integration_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_uuid": teams_devices_uuid, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_uuid": teams$$devices_uuid$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_schemas-single_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, - "teams-devices_config_response": teams_devices_config_response_output, - "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, - "teams-devices_interval": teams_devices_interval_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-single_response": teams_devices_schemas_single_response_output, - "teams-devices_schemas-type": teams_devices_schemas_type_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, + "teams-devices_config_response": teams$$devices_config_response, + "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, + "teams-devices_interval": teams$$devices_interval, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, + "teams-devices_schemas-type": teams$$devices_schemas$$type, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, annotations: { @@ -285,18 +312,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, - "teams-devices_config_response": teams_devices_config_response_output, - "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, - "teams-devices_interval": teams_devices_interval_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-single_response": teams_devices_schemas_single_response_output, - "teams-devices_schemas-type": teams_devices_schemas_type_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, + "teams-devices_config_response": teams$$devices_config_response, + "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, + "teams-devices_interval": teams$$devices_interval, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, + "teams-devices_schemas-type": teams$$devices_schemas$$type, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, request: (args) => ({ @@ -304,38 +331,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_posture_integrations_list", + name: "zeroTrust_devices_posture_integrations_list", title: "List posture integrations", description: "Fetches the list of device posture integrations for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, + "teams-devices_identifier": teams$$devices_identifier, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_schemas-response_collection", $defs: { - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, - "teams-devices_config_response": teams_devices_config_response_output, - "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, - "teams-devices_interval": teams_devices_interval_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_schemas-response_collection": teams_devices_schemas_response_collection_output, - "teams-devices_schemas-type": teams_devices_schemas_type_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, + "teams-devices_config_response": teams$$devices_config_response, + "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, + "teams-devices_interval": teams$$devices_interval, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_schemas-response_collection": teams$$devices_schemas$$response_collection, + "teams-devices_schemas-type": teams$$devices_schemas$$type, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, annotations: { @@ -357,19 +392,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, - "teams-devices_config_response": teams_devices_config_response_output, - "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, - "teams-devices_interval": teams_devices_interval_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_schemas-response_collection": teams_devices_schemas_response_collection_output, - "teams-devices_schemas-type": teams_devices_schemas_type_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, + "teams-devices_config_response": teams$$devices_config_response, + "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, + "teams-devices_interval": teams$$devices_interval, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_schemas-response_collection": teams$$devices_schemas$$response_collection, + "teams-devices_schemas-type": teams$$devices_schemas$$type, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, request: (args) => ({ @@ -377,15 +412,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_posture_integrations_update", + name: "zeroTrust_devices_posture_integrations_update", title: "Update posture integration", description: "Updates a configured device posture integration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "properties": { "config": { @@ -406,47 +438,58 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "integration_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "integration_id": { + "$ref": "#/$defs/teams-devices_uuid", + "description": "API UUID." + } + }, + "required": [ + "account_id", + "integration_id" + ], + "type": "object" } }, required: [ - "account_id", - "integration_id", + "path", "body" ], $defs: { - "teams-devices_components-schemas-name": teams_devices_components_schemas_name, - "teams-devices_config_request": teams_devices_config_request, - "teams-devices_crowdstrike_config_request": teams_devices_crowdstrike_config_request, - "teams-devices_custom_s2s_config_request": teams_devices_custom_s2s_config_request, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_interval": teams_devices_interval, - "teams-devices_intune_config_request": teams_devices_intune_config_request, - "teams-devices_kolide_config_request": teams_devices_kolide_config_request, - "teams-devices_schemas-type": teams_devices_schemas_type, - "teams-devices_sentinelone_s2s_config_request": teams_devices_sentinelone_s2s_config_request, - "teams-devices_tanium_config_request": teams_devices_tanium_config_request, - "teams-devices_uptycs_config_request": teams_devices_uptycs_config_request, - "teams-devices_uuid": teams_devices_uuid, - "teams-devices_workspace_one_config_request": teams_devices_workspace_one_config_request, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name$, + "teams-devices_config_request": teams$$devices_config_request, + "teams-devices_crowdstrike_config_request": teams$$devices_crowdstrike_config_request, + "teams-devices_custom_s2s_config_request": teams$$devices_custom_s2s_config_request, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_interval": teams$$devices_interval$, + "teams-devices_intune_config_request": teams$$devices_intune_config_request, + "teams-devices_kolide_config_request": teams$$devices_kolide_config_request, + "teams-devices_schemas-type": teams$$devices_schemas$$type$, + "teams-devices_sentinelone_s2s_config_request": teams$$devices_sentinelone_s2s_config_request, + "teams-devices_tanium_config_request": teams$$devices_tanium_config_request, + "teams-devices_uptycs_config_request": teams$$devices_uptycs_config_request, + "teams-devices_uuid": teams$$devices_uuid$, + "teams-devices_workspace_one_config_request": teams$$devices_workspace_one_config_request, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_schemas-single_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, - "teams-devices_config_response": teams_devices_config_response_output, - "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, - "teams-devices_interval": teams_devices_interval_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-single_response": teams_devices_schemas_single_response_output, - "teams-devices_schemas-type": teams_devices_schemas_type_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, + "teams-devices_config_response": teams$$devices_config_response, + "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, + "teams-devices_interval": teams$$devices_interval, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, + "teams-devices_schemas-type": teams$$devices_schemas$$type, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, annotations: { @@ -473,18 +516,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_components-schemas-name": teams_devices_components_schemas_name_output, - "teams-devices_config_response": teams_devices_config_response_output, - "teams-devices_device-posture-integrations": teams_devices_device_posture_integrations_output, - "teams-devices_interval": teams_devices_interval_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_schemas-single_response": teams_devices_schemas_single_response_output, - "teams-devices_schemas-type": teams_devices_schemas_type_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_config_response": teams_devices_workspace_one_config_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, + "teams-devices_config_response": teams$$devices_config_response, + "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, + "teams-devices_interval": teams$$devices_interval, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, + "teams-devices_schemas-type": teams$$devices_schemas$$type, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts index d8beb951d..0826225c3 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * The schema of `teams-devices_access_serial_number_list_input_request` in * responses. */ -export const teams_devices_access_serial_number_list_input_request_output: JsonSchema = { +export const teams$$devices_access_serial_number_list_input_request: JsonSchema = { "properties": { "id": { "type": "string" @@ -22,7 +22,7 @@ export const teams_devices_access_serial_number_list_input_request_output: JsonS /** * The schema of `teams-devices_antivirus_input_request` in responses. */ -export const teams_devices_antivirus_input_request_output: JsonSchema = { +export const teams$$devices_antivirus_input_request: JsonSchema = { "properties": { "update_window_days": { "type": "number" @@ -34,7 +34,7 @@ export const teams_devices_antivirus_input_request_output: JsonSchema = { /** * The schema of `teams-devices_application_input_request` in responses. */ -export const teams_devices_application_input_request_output: JsonSchema = { +export const teams$$devices_application_input_request: JsonSchema = { "properties": { "operating_system": { "enum": [ @@ -64,7 +64,7 @@ export const teams_devices_application_input_request_output: JsonSchema = { /** * The schema of `teams-devices_carbonblack_input_request` in responses. */ -export const teams_devices_carbonblack_input_request_output: JsonSchema = { +export const teams$$devices_carbonblack_input_request: JsonSchema = { "properties": { "operating_system": { "enum": [ @@ -94,7 +94,7 @@ export const teams_devices_carbonblack_input_request_output: JsonSchema = { /** * The schema of `teams-devices_checkDisks` in responses. */ -export const teams_devices_checkDisks_output: JsonSchema = { +export const teams$$devices_checkDisks: JsonSchema = { "items": { "type": "string" }, @@ -104,7 +104,7 @@ export const teams_devices_checkDisks_output: JsonSchema = { /** * The schema of `teams-devices_client_certificate_input_request` in responses. */ -export const teams_devices_client_certificate_input_request_output: JsonSchema = { +export const teams$$devices_client_certificate_input_request: JsonSchema = { "properties": { "certificate_id": { "type": "string" @@ -124,7 +124,7 @@ export const teams_devices_client_certificate_input_request_output: JsonSchema = * The schema of `teams-devices_client_certificate_v2_input_request` in * responses. */ -export const teams_devices_client_certificate_v2_input_request_output: JsonSchema = { +export const teams$$devices_client_certificate_v2_input_request: JsonSchema = { "properties": { "certificate_id": { "type": "string" @@ -178,7 +178,7 @@ export const teams_devices_client_certificate_v2_input_request_output: JsonSchem /** * The schema of `teams-devices_crowdstrike_input_request` in responses. */ -export const teams_devices_crowdstrike_input_request_output: JsonSchema = { +export const teams$$devices_crowdstrike_input_request: JsonSchema = { "properties": { "connection_id": { "type": "string" @@ -236,7 +236,7 @@ export const teams_devices_crowdstrike_input_request_output: JsonSchema = { /** * The schema of `teams-devices_custom_s2s_input_request` in responses. */ -export const teams_devices_custom_s2s_input_request_output: JsonSchema = { +export const teams$$devices_custom_s2s_input_request: JsonSchema = { "properties": { "connection_id": { "type": "string" @@ -266,14 +266,14 @@ export const teams_devices_custom_s2s_input_request_output: JsonSchema = { /** * The schema of `teams-devices_description` in responses. */ -export const teams_devices_description_output: JsonSchema = { +export const teams$$devices_description: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_device-posture-rules` in responses. */ -export const teams_devices_device_posture_rules_output: JsonSchema = { +export const teams$$devices_device$$posture$$rules: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/teams-devices_description" @@ -309,7 +309,7 @@ export const teams_devices_device_posture_rules_output: JsonSchema = { /** * The schema of `teams-devices_disk_encryption_input_request` in responses. */ -export const teams_devices_disk_encryption_input_request_output: JsonSchema = { +export const teams$$devices_disk_encryption_input_request: JsonSchema = { "properties": { "checkDisks": { "$ref": "#/$defs/teams-devices_checkDisks" @@ -324,7 +324,7 @@ export const teams_devices_disk_encryption_input_request_output: JsonSchema = { /** * The schema of `teams-devices_domain_joined_input_request` in responses. */ -export const teams_devices_domain_joined_input_request_output: JsonSchema = { +export const teams$$devices_domain_joined_input_request: JsonSchema = { "properties": { "domain": { "type": "string" @@ -345,14 +345,14 @@ export const teams_devices_domain_joined_input_request_output: JsonSchema = { /** * The schema of `teams-devices_expiration` in responses. */ -export const teams_devices_expiration_output: JsonSchema = { +export const teams$$devices_expiration: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_extended_key_usage_enum` in responses. */ -export const teams_devices_extended_key_usage_enum_output: JsonSchema = { +export const teams$$devices_extended_key_usage_enum: JsonSchema = { "enum": [ "clientAuth", "emailProtection" @@ -363,7 +363,7 @@ export const teams_devices_extended_key_usage_enum_output: JsonSchema = { /** * The schema of `teams-devices_file_input_request` in responses. */ -export const teams_devices_file_input_request_output: JsonSchema = { +export const teams$$devices_file_input_request: JsonSchema = { "properties": { "exists": { "type": "boolean" @@ -396,7 +396,7 @@ export const teams_devices_file_input_request_output: JsonSchema = { /** * The schema of `teams-devices_firewall_input_request` in responses. */ -export const teams_devices_firewall_input_request_output: JsonSchema = { +export const teams$$devices_firewall_input_request: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -419,7 +419,7 @@ export const teams_devices_firewall_input_request_output: JsonSchema = { /** * The schema of `teams-devices_id_response` in responses. */ -export const teams_devices_id_response_output: JsonSchema = { +export const teams$$devices_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-single" @@ -443,7 +443,7 @@ export const teams_devices_id_response_output: JsonSchema = { /** * The schema of `teams-devices_input` in responses. */ -export const teams_devices_input_output: JsonSchema = { +export const teams$$devices_input: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/teams-devices_file_input_request" @@ -511,7 +511,7 @@ export const teams_devices_input_output: JsonSchema = { /** * The schema of `teams-devices_intune_input_request` in responses. */ -export const teams_devices_intune_input_request_output: JsonSchema = { +export const teams$$devices_intune_input_request: JsonSchema = { "properties": { "compliance_status": { "enum": [ @@ -538,7 +538,7 @@ export const teams_devices_intune_input_request_output: JsonSchema = { /** * The schema of `teams-devices_kolide_input_request` in responses. */ -export const teams_devices_kolide_input_request_output: JsonSchema = { +export const teams$$devices_kolide_input_request: JsonSchema = { "properties": { "auth_state": { "items": { @@ -579,7 +579,7 @@ export const teams_devices_kolide_input_request_output: JsonSchema = { /** * The schema of `teams-devices_match` in responses. */ -export const teams_devices_match_output: JsonSchema = { +export const teams$$devices_match: JsonSchema = { "items": { "$ref": "#/$defs/teams-devices_match_item" }, @@ -589,7 +589,7 @@ export const teams_devices_match_output: JsonSchema = { /** * The schema of `teams-devices_match_item` in responses. */ -export const teams_devices_match_item_output: JsonSchema = { +export const teams$$devices_match_item: JsonSchema = { "properties": { "platform": { "$ref": "#/$defs/teams-devices_platform" @@ -601,14 +601,14 @@ export const teams_devices_match_item_output: JsonSchema = { /** * The schema of `teams-devices_name` in responses. */ -export const teams_devices_name_output: JsonSchema = { +export const teams$$devices_name: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_os_version_input_request` in responses. */ -export const teams_devices_os_version_input_request_output: JsonSchema = { +export const teams$$devices_os_version_input_request: JsonSchema = { "properties": { "operating_system": { "enum": [ @@ -650,7 +650,7 @@ export const teams_devices_os_version_input_request_output: JsonSchema = { /** * The schema of `teams-devices_paths` in responses. */ -export const teams_devices_paths_output: JsonSchema = { +export const teams$$devices_paths: JsonSchema = { "items": { "type": "string" }, @@ -660,7 +660,7 @@ export const teams_devices_paths_output: JsonSchema = { /** * The schema of `teams-devices_platform` in responses. */ -export const teams_devices_platform_output: JsonSchema = { +export const teams$$devices_platform: JsonSchema = { "enum": [ "windows", "mac", @@ -675,14 +675,14 @@ export const teams_devices_platform_output: JsonSchema = { /** * The schema of `teams-devices_requireAll` in responses. */ -export const teams_devices_requireAll_output: JsonSchema = { +export const teams$$devices_requireAll: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_response_collection` in responses. */ -export const teams_devices_response_collection_output: JsonSchema = { +export const teams$$devices_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-collection" @@ -704,14 +704,14 @@ export const teams_devices_response_collection_output: JsonSchema = { /** * The schema of `teams-devices_schedule` in responses. */ -export const teams_devices_schedule_output: JsonSchema = { +export const teams$$devices_schedule: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_sentinelone_input_request` in responses. */ -export const teams_devices_sentinelone_input_request_output: JsonSchema = { +export const teams$$devices_sentinelone_input_request: JsonSchema = { "properties": { "operating_system": { "enum": [ @@ -741,7 +741,7 @@ export const teams_devices_sentinelone_input_request_output: JsonSchema = { /** * The schema of `teams-devices_sentinelone_s2s_input_request` in responses. */ -export const teams_devices_sentinelone_s2s_input_request_output: JsonSchema = { +export const teams$$devices_sentinelone_s2s_input_request: JsonSchema = { "properties": { "active_threats": { "type": "number" @@ -796,7 +796,7 @@ export const teams_devices_sentinelone_s2s_input_request_output: JsonSchema = { /** * The schema of `teams-devices_single_response` in responses. */ -export const teams_devices_single_response_output: JsonSchema = { +export const teams$$devices_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-single" @@ -815,7 +815,7 @@ export const teams_devices_single_response_output: JsonSchema = { /** * The schema of `teams-devices_tanium_input_request` in responses. */ -export const teams_devices_tanium_input_request_output: JsonSchema = { +export const teams$$devices_tanium_input_request: JsonSchema = { "properties": { "connection_id": { "type": "string" @@ -865,7 +865,7 @@ export const teams_devices_tanium_input_request_output: JsonSchema = { /** * The schema of `teams-devices_trust_stores` in responses. */ -export const teams_devices_trust_stores_output: JsonSchema = { +export const teams$$devices_trust_stores: JsonSchema = { "items": { "$ref": "#/$defs/teams-devices_trust_stores_enum" }, @@ -875,7 +875,7 @@ export const teams_devices_trust_stores_output: JsonSchema = { /** * The schema of `teams-devices_trust_stores_enum` in responses. */ -export const teams_devices_trust_stores_enum_output: JsonSchema = { +export const teams$$devices_trust_stores_enum: JsonSchema = { "enum": [ "system", "user" @@ -886,7 +886,7 @@ export const teams_devices_trust_stores_enum_output: JsonSchema = { /** * The schema of `teams-devices_type` in responses. */ -export const teams_devices_type_output: JsonSchema = { +export const teams$$devices_type: JsonSchema = { "enum": [ "file", "application", @@ -918,7 +918,7 @@ export const teams_devices_type_output: JsonSchema = { /** * The schema of `teams-devices_unique_client_id_input_request` in responses. */ -export const teams_devices_unique_client_id_input_request_output: JsonSchema = { +export const teams$$devices_unique_client_id_input_request: JsonSchema = { "properties": { "id": { "type": "string" @@ -942,7 +942,7 @@ export const teams_devices_unique_client_id_input_request_output: JsonSchema = { /** * The schema of `teams-devices_workspace_one_input_request` in responses. */ -export const teams_devices_workspace_one_input_request_output: JsonSchema = { +export const teams$$devices_workspace_one_input_request: JsonSchema = { "properties": { "compliance_status": { "enum": [ diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/schemas.ts index 968f36061..caf90bdff 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `teams-devices_access_serial_number_list_input_request`. */ -export const teams_devices_access_serial_number_list_input_request: JsonSchema = { +export const teams$$devices_access_serial_number_list_input_request: JsonSchema = { "description": "Serial Number", "properties": { "id": { @@ -23,7 +23,7 @@ export const teams_devices_access_serial_number_list_input_request: JsonSchema = /** * The schema of `teams-devices_antivirus_input_request`. */ -export const teams_devices_antivirus_input_request: JsonSchema = { +export const teams$$devices_antivirus_input_request: JsonSchema = { "description": "Antivirus", "properties": { "update_window_days": { @@ -37,7 +37,7 @@ export const teams_devices_antivirus_input_request: JsonSchema = { /** * The schema of `teams-devices_application_input_request`. */ -export const teams_devices_application_input_request: JsonSchema = { +export const teams$$devices_application_input_request: JsonSchema = { "description": "Application", "properties": { "operating_system": { @@ -72,7 +72,7 @@ export const teams_devices_application_input_request: JsonSchema = { /** * The schema of `teams-devices_carbonblack_input_request`. */ -export const teams_devices_carbonblack_input_request: JsonSchema = { +export const teams$$devices_carbonblack_input_request: JsonSchema = { "description": "Carbonblack", "properties": { "operating_system": { @@ -107,7 +107,7 @@ export const teams_devices_carbonblack_input_request: JsonSchema = { /** * The schema of `teams-devices_checkDisks`. */ -export const teams_devices_checkDisks: JsonSchema = { +export const teams$$devices_checkDisks: JsonSchema = { "description": "List of volume names to be checked for encryption.", "items": { "type": "string" @@ -118,7 +118,7 @@ export const teams_devices_checkDisks: JsonSchema = { /** * The schema of `teams-devices_client_certificate_input_request`. */ -export const teams_devices_client_certificate_input_request: JsonSchema = { +export const teams$$devices_client_certificate_input_request: JsonSchema = { "description": "Client Certificate", "properties": { "certificate_id": { @@ -140,7 +140,7 @@ export const teams_devices_client_certificate_input_request: JsonSchema = { /** * The schema of `teams-devices_client_certificate_v2_input_request`. */ -export const teams_devices_client_certificate_v2_input_request: JsonSchema = { +export const teams$$devices_client_certificate_v2_input_request: JsonSchema = { "description": "Client Certificate V2", "properties": { "certificate_id": { @@ -203,7 +203,7 @@ export const teams_devices_client_certificate_v2_input_request: JsonSchema = { /** * The schema of `teams-devices_crowdstrike_input_request`. */ -export const teams_devices_crowdstrike_input_request: JsonSchema = { +export const teams$$devices_crowdstrike_input_request: JsonSchema = { "description": "Crowdstrike S2S Input", "properties": { "connection_id": { @@ -271,7 +271,7 @@ export const teams_devices_crowdstrike_input_request: JsonSchema = { /** * The schema of `teams-devices_custom_s2s_input_request`. */ -export const teams_devices_custom_s2s_input_request: JsonSchema = { +export const teams$$devices_custom_s2s_input_request: JsonSchema = { "description": "Custom Device Posture Integration Input", "properties": { "connection_id": { @@ -305,7 +305,7 @@ export const teams_devices_custom_s2s_input_request: JsonSchema = { /** * The schema of `teams-devices_description`. */ -export const teams_devices_description: JsonSchema = { +export const teams$$devices_description: JsonSchema = { "description": "The description of the device posture rule.", "type": "string" }; @@ -313,7 +313,7 @@ export const teams_devices_description: JsonSchema = { /** * The schema of `teams-devices_disk_encryption_input_request`. */ -export const teams_devices_disk_encryption_input_request: JsonSchema = { +export const teams$$devices_disk_encryption_input_request: JsonSchema = { "description": "Disk Encryption", "properties": { "checkDisks": { @@ -331,7 +331,7 @@ export const teams_devices_disk_encryption_input_request: JsonSchema = { /** * The schema of `teams-devices_domain_joined_input_request`. */ -export const teams_devices_domain_joined_input_request: JsonSchema = { +export const teams$$devices_domain_joined_input_request: JsonSchema = { "description": "Domain Joined", "properties": { "domain": { @@ -355,7 +355,7 @@ export const teams_devices_domain_joined_input_request: JsonSchema = { /** * The schema of `teams-devices_expiration`. */ -export const teams_devices_expiration: JsonSchema = { +export const teams$$devices_expiration: JsonSchema = { "description": "Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client.", "type": "string" }; @@ -363,7 +363,7 @@ export const teams_devices_expiration: JsonSchema = { /** * The schema of `teams-devices_extended_key_usage_enum`. */ -export const teams_devices_extended_key_usage_enum: JsonSchema = { +export const teams$$devices_extended_key_usage_enum: JsonSchema = { "enum": [ "clientAuth", "emailProtection" @@ -374,7 +374,7 @@ export const teams_devices_extended_key_usage_enum: JsonSchema = { /** * The schema of `teams-devices_file_input_request`. */ -export const teams_devices_file_input_request: JsonSchema = { +export const teams$$devices_file_input_request: JsonSchema = { "description": "File Check", "properties": { "exists": { @@ -413,7 +413,7 @@ export const teams_devices_file_input_request: JsonSchema = { /** * The schema of `teams-devices_firewall_input_request`. */ -export const teams_devices_firewall_input_request: JsonSchema = { +export const teams$$devices_firewall_input_request: JsonSchema = { "description": "Firewall", "properties": { "enabled": { @@ -439,7 +439,7 @@ export const teams_devices_firewall_input_request: JsonSchema = { /** * The schema of `teams-devices_input`. */ -export const teams_devices_input: JsonSchema = { +export const teams$$devices_input: JsonSchema = { "description": "The value to be checked against.", "oneOf": [ { @@ -508,7 +508,7 @@ export const teams_devices_input: JsonSchema = { /** * The schema of `teams-devices_intune_input_request`. */ -export const teams_devices_intune_input_request: JsonSchema = { +export const teams$$devices_intune_input_request: JsonSchema = { "description": "Intune S2S Input", "properties": { "compliance_status": { @@ -538,7 +538,7 @@ export const teams_devices_intune_input_request: JsonSchema = { /** * The schema of `teams-devices_kolide_input_request`. */ -export const teams_devices_kolide_input_request: JsonSchema = { +export const teams$$devices_kolide_input_request: JsonSchema = { "description": "Kolide S2S Input", "properties": { "auth_state": { @@ -584,7 +584,7 @@ export const teams_devices_kolide_input_request: JsonSchema = { /** * The schema of `teams-devices_match`. */ -export const teams_devices_match: JsonSchema = { +export const teams$$devices_match: JsonSchema = { "description": "The conditions that the client must match to run the rule.", "items": { "$ref": "#/$defs/teams-devices_match_item" @@ -595,7 +595,7 @@ export const teams_devices_match: JsonSchema = { /** * The schema of `teams-devices_match_item`. */ -export const teams_devices_match_item: JsonSchema = { +export const teams$$devices_match_item: JsonSchema = { "properties": { "platform": { "$ref": "#/$defs/teams-devices_platform" @@ -607,7 +607,7 @@ export const teams_devices_match_item: JsonSchema = { /** * The schema of `teams-devices_name`. */ -export const teams_devices_name: JsonSchema = { +export const teams$$devices_name: JsonSchema = { "description": "The name of the device posture rule.", "type": "string" }; @@ -615,7 +615,7 @@ export const teams_devices_name: JsonSchema = { /** * The schema of `teams-devices_os_version_input_request`. */ -export const teams_devices_os_version_input_request: JsonSchema = { +export const teams$$devices_os_version_input_request: JsonSchema = { "description": "OS Version", "properties": { "operating_system": { @@ -664,7 +664,7 @@ export const teams_devices_os_version_input_request: JsonSchema = { /** * The schema of `teams-devices_paths`. */ -export const teams_devices_paths: JsonSchema = { +export const teams$$devices_paths: JsonSchema = { "description": "List of paths to check for client certificate on linux.", "items": { "type": "string" @@ -675,7 +675,7 @@ export const teams_devices_paths: JsonSchema = { /** * The schema of `teams-devices_platform`. */ -export const teams_devices_platform: JsonSchema = { +export const teams$$devices_platform: JsonSchema = { "enum": [ "windows", "mac", @@ -690,7 +690,7 @@ export const teams_devices_platform: JsonSchema = { /** * The schema of `teams-devices_requireAll`. */ -export const teams_devices_requireAll: JsonSchema = { +export const teams$$devices_requireAll: JsonSchema = { "description": "Whether to check all disks for encryption.", "type": "boolean" }; @@ -698,7 +698,7 @@ export const teams_devices_requireAll: JsonSchema = { /** * The schema of `teams-devices_schedule`. */ -export const teams_devices_schedule: JsonSchema = { +export const teams$$devices_schedule: JsonSchema = { "description": "Polling frequency for the WARP client posture check. Default: `5m` (poll every five minutes). Minimum: `1m`.", "type": "string" }; @@ -706,7 +706,7 @@ export const teams_devices_schedule: JsonSchema = { /** * The schema of `teams-devices_sentinelone_input_request`. */ -export const teams_devices_sentinelone_input_request: JsonSchema = { +export const teams$$devices_sentinelone_input_request: JsonSchema = { "description": "Sentinelone", "properties": { "operating_system": { @@ -741,7 +741,7 @@ export const teams_devices_sentinelone_input_request: JsonSchema = { /** * The schema of `teams-devices_sentinelone_s2s_input_request`. */ -export const teams_devices_sentinelone_s2s_input_request: JsonSchema = { +export const teams$$devices_sentinelone_s2s_input_request: JsonSchema = { "description": "SentinelOne S2S Input", "properties": { "active_threats": { @@ -804,7 +804,7 @@ export const teams_devices_sentinelone_s2s_input_request: JsonSchema = { /** * The schema of `teams-devices_tanium_input_request`. */ -export const teams_devices_tanium_input_request: JsonSchema = { +export const teams$$devices_tanium_input_request: JsonSchema = { "description": "Tanium S2S Input", "properties": { "connection_id": { @@ -861,7 +861,7 @@ export const teams_devices_tanium_input_request: JsonSchema = { /** * The schema of `teams-devices_trust_stores`. */ -export const teams_devices_trust_stores: JsonSchema = { +export const teams$$devices_trust_stores: JsonSchema = { "description": "List of trust stores to check for client certificate.", "items": { "$ref": "#/$defs/teams-devices_trust_stores_enum" @@ -872,7 +872,7 @@ export const teams_devices_trust_stores: JsonSchema = { /** * The schema of `teams-devices_trust_stores_enum`. */ -export const teams_devices_trust_stores_enum: JsonSchema = { +export const teams$$devices_trust_stores_enum: JsonSchema = { "enum": [ "system", "user" @@ -883,7 +883,7 @@ export const teams_devices_trust_stores_enum: JsonSchema = { /** * The schema of `teams-devices_type`. */ -export const teams_devices_type: JsonSchema = { +export const teams$$devices_type: JsonSchema = { "description": "The type of device posture rule.", "enum": [ "file", @@ -916,7 +916,7 @@ export const teams_devices_type: JsonSchema = { /** * The schema of `teams-devices_unique_client_id_input_request`. */ -export const teams_devices_unique_client_id_input_request: JsonSchema = { +export const teams$$devices_unique_client_id_input_request: JsonSchema = { "description": "Unique Client ID", "properties": { "id": { @@ -943,7 +943,7 @@ export const teams_devices_unique_client_id_input_request: JsonSchema = { /** * The schema of `teams-devices_workspace_one_input_request`. */ -export const teams_devices_workspace_one_input_request: JsonSchema = { +export const teams$$devices_workspace_one_input_request: JsonSchema = { "description": "Workspace One S2S Input", "properties": { "compliance_status": { diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts index c7ec52883..77f7e13c4 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts @@ -3,108 +3,108 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - teams_devices_api_response_collection_output, - teams_devices_api_response_common_failure_output, - teams_devices_api_response_common_output, - teams_devices_api_response_single_output, - teams_devices_messages_output, - teams_devices_result_info_output, - teams_devices_uuid_output, + teams$$devices_api$$response$$collection, + teams$$devices_api$$response$$common, + teams$$devices_api$$response$$common$$failure, + teams$$devices_api$$response$$single, + teams$$devices_messages, + teams$$devices_result_info, + teams$$devices_uuid, } from "../../outputs.js"; -import { teams_devices_identifier, teams_devices_uuid } from "../../schemas.js"; import { - teams_devices_access_serial_number_list_input_request_output, - teams_devices_antivirus_input_request_output, - teams_devices_application_input_request_output, - teams_devices_carbonblack_input_request_output, - teams_devices_checkDisks_output, - teams_devices_client_certificate_input_request_output, - teams_devices_client_certificate_v2_input_request_output, - teams_devices_crowdstrike_input_request_output, - teams_devices_custom_s2s_input_request_output, - teams_devices_description_output, - teams_devices_device_posture_rules_output, - teams_devices_disk_encryption_input_request_output, - teams_devices_domain_joined_input_request_output, - teams_devices_expiration_output, - teams_devices_extended_key_usage_enum_output, - teams_devices_file_input_request_output, - teams_devices_firewall_input_request_output, - teams_devices_id_response_output, - teams_devices_input_output, - teams_devices_intune_input_request_output, - teams_devices_kolide_input_request_output, - teams_devices_match_item_output, - teams_devices_match_output, - teams_devices_name_output, - teams_devices_os_version_input_request_output, - teams_devices_paths_output, - teams_devices_platform_output, - teams_devices_requireAll_output, - teams_devices_response_collection_output, - teams_devices_schedule_output, - teams_devices_sentinelone_input_request_output, - teams_devices_sentinelone_s2s_input_request_output, - teams_devices_single_response_output, - teams_devices_tanium_input_request_output, - teams_devices_trust_stores_enum_output, - teams_devices_trust_stores_output, - teams_devices_type_output, - teams_devices_unique_client_id_input_request_output, - teams_devices_workspace_one_input_request_output, + teams$$devices_identifier, + teams$$devices_uuid as teams$$devices_uuid$, +} from "../../schemas.js"; +import { + teams$$devices_access_serial_number_list_input_request, + teams$$devices_antivirus_input_request, + teams$$devices_application_input_request, + teams$$devices_carbonblack_input_request, + teams$$devices_checkDisks, + teams$$devices_client_certificate_input_request, + teams$$devices_client_certificate_v2_input_request, + teams$$devices_crowdstrike_input_request, + teams$$devices_custom_s2s_input_request, + teams$$devices_description, + teams$$devices_device$$posture$$rules, + teams$$devices_disk_encryption_input_request, + teams$$devices_domain_joined_input_request, + teams$$devices_expiration, + teams$$devices_extended_key_usage_enum, + teams$$devices_file_input_request, + teams$$devices_firewall_input_request, + teams$$devices_id_response, + teams$$devices_input, + teams$$devices_intune_input_request, + teams$$devices_kolide_input_request, + teams$$devices_match, + teams$$devices_match_item, + teams$$devices_name, + teams$$devices_os_version_input_request, + teams$$devices_paths, + teams$$devices_platform, + teams$$devices_requireAll, + teams$$devices_response_collection, + teams$$devices_schedule, + teams$$devices_sentinelone_input_request, + teams$$devices_sentinelone_s2s_input_request, + teams$$devices_single_response, + teams$$devices_tanium_input_request, + teams$$devices_trust_stores, + teams$$devices_trust_stores_enum, + teams$$devices_type, + teams$$devices_unique_client_id_input_request, + teams$$devices_workspace_one_input_request, } from "./outputs.js"; import { - teams_devices_access_serial_number_list_input_request, - teams_devices_antivirus_input_request, - teams_devices_application_input_request, - teams_devices_carbonblack_input_request, - teams_devices_checkDisks, - teams_devices_client_certificate_input_request, - teams_devices_client_certificate_v2_input_request, - teams_devices_crowdstrike_input_request, - teams_devices_custom_s2s_input_request, - teams_devices_description, - teams_devices_disk_encryption_input_request, - teams_devices_domain_joined_input_request, - teams_devices_expiration, - teams_devices_extended_key_usage_enum, - teams_devices_file_input_request, - teams_devices_firewall_input_request, - teams_devices_input, - teams_devices_intune_input_request, - teams_devices_kolide_input_request, - teams_devices_match, - teams_devices_match_item, - teams_devices_name, - teams_devices_os_version_input_request, - teams_devices_paths, - teams_devices_platform, - teams_devices_requireAll, - teams_devices_schedule, - teams_devices_sentinelone_input_request, - teams_devices_sentinelone_s2s_input_request, - teams_devices_tanium_input_request, - teams_devices_trust_stores, - teams_devices_trust_stores_enum, - teams_devices_type, - teams_devices_unique_client_id_input_request, - teams_devices_workspace_one_input_request, + teams$$devices_access_serial_number_list_input_request as teams$$devices_access_serial_number_list_input_request$, + teams$$devices_antivirus_input_request as teams$$devices_antivirus_input_request$, + teams$$devices_application_input_request as teams$$devices_application_input_request$, + teams$$devices_carbonblack_input_request as teams$$devices_carbonblack_input_request$, + teams$$devices_checkDisks as teams$$devices_checkDisks$, + teams$$devices_client_certificate_input_request as teams$$devices_client_certificate_input_request$, + teams$$devices_client_certificate_v2_input_request as teams$$devices_client_certificate_v2_input_request$, + teams$$devices_crowdstrike_input_request as teams$$devices_crowdstrike_input_request$, + teams$$devices_custom_s2s_input_request as teams$$devices_custom_s2s_input_request$, + teams$$devices_description as teams$$devices_description$, + teams$$devices_disk_encryption_input_request as teams$$devices_disk_encryption_input_request$, + teams$$devices_domain_joined_input_request as teams$$devices_domain_joined_input_request$, + teams$$devices_expiration as teams$$devices_expiration$, + teams$$devices_extended_key_usage_enum as teams$$devices_extended_key_usage_enum$, + teams$$devices_file_input_request as teams$$devices_file_input_request$, + teams$$devices_firewall_input_request as teams$$devices_firewall_input_request$, + teams$$devices_input as teams$$devices_input$, + teams$$devices_intune_input_request as teams$$devices_intune_input_request$, + teams$$devices_kolide_input_request as teams$$devices_kolide_input_request$, + teams$$devices_match as teams$$devices_match$, + teams$$devices_match_item as teams$$devices_match_item$, + teams$$devices_name as teams$$devices_name$, + teams$$devices_os_version_input_request as teams$$devices_os_version_input_request$, + teams$$devices_paths as teams$$devices_paths$, + teams$$devices_platform as teams$$devices_platform$, + teams$$devices_requireAll as teams$$devices_requireAll$, + teams$$devices_schedule as teams$$devices_schedule$, + teams$$devices_sentinelone_input_request as teams$$devices_sentinelone_input_request$, + teams$$devices_sentinelone_s2s_input_request as teams$$devices_sentinelone_s2s_input_request$, + teams$$devices_tanium_input_request as teams$$devices_tanium_input_request$, + teams$$devices_trust_stores as teams$$devices_trust_stores$, + teams$$devices_trust_stores_enum as teams$$devices_trust_stores_enum$, + teams$$devices_type as teams$$devices_type$, + teams$$devices_unique_client_id_input_request as teams$$devices_unique_client_id_input_request$, + teams$$devices_workspace_one_input_request as teams$$devices_workspace_one_input_request$, } from "./schemas.js"; /** - * The tools of `zero_trust.devices.posture.rules`. + * The tools of `zeroTrust.devices.posture.rules`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_posture_rules_create", + name: "zeroTrust_devices_posture_rules_create", title: "Create posture rule", description: "Creates a new device posture rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "properties": { "description": { @@ -141,95 +141,106 @@ export const tools: readonly Tool[] = [ "type" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request, - "teams-devices_application_input_request": teams_devices_application_input_request, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request, - "teams-devices_checkDisks": teams_devices_checkDisks, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request, - "teams-devices_description": teams_devices_description, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request, - "teams-devices_expiration": teams_devices_expiration, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum, - "teams-devices_file_input_request": teams_devices_file_input_request, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_input": teams_devices_input, - "teams-devices_intune_input_request": teams_devices_intune_input_request, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request, - "teams-devices_match": teams_devices_match, - "teams-devices_match_item": teams_devices_match_item, - "teams-devices_name": teams_devices_name, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request, - "teams-devices_paths": teams_devices_paths, - "teams-devices_platform": teams_devices_platform, - "teams-devices_requireAll": teams_devices_requireAll, - "teams-devices_schedule": teams_devices_schedule, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request, - "teams-devices_trust_stores": teams_devices_trust_stores, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum, - "teams-devices_type": teams_devices_type, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request$, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request$, + "teams-devices_application_input_request": teams$$devices_application_input_request$, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request$, + "teams-devices_checkDisks": teams$$devices_checkDisks$, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request$, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request$, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request$, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request$, + "teams-devices_description": teams$$devices_description$, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request$, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request$, + "teams-devices_expiration": teams$$devices_expiration$, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum$, + "teams-devices_file_input_request": teams$$devices_file_input_request$, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request$, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_input": teams$$devices_input$, + "teams-devices_intune_input_request": teams$$devices_intune_input_request$, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request$, + "teams-devices_match": teams$$devices_match$, + "teams-devices_match_item": teams$$devices_match_item$, + "teams-devices_name": teams$$devices_name$, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request$, + "teams-devices_paths": teams$$devices_paths$, + "teams-devices_platform": teams$$devices_platform$, + "teams-devices_requireAll": teams$$devices_requireAll$, + "teams-devices_schedule": teams$$devices_schedule$, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request$, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request$, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request$, + "teams-devices_trust_stores": teams$$devices_trust_stores$, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum$, + "teams-devices_type": teams$$devices_type$, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request$, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_single_response", $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_application_input_request": teams_devices_application_input_request_output, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, - "teams-devices_checkDisks": teams_devices_checkDisks_output, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, - "teams-devices_description": teams_devices_description_output, - "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, - "teams-devices_expiration": teams_devices_expiration_output, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, - "teams-devices_file_input_request": teams_devices_file_input_request_output, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, - "teams-devices_input": teams_devices_input_output, - "teams-devices_intune_input_request": teams_devices_intune_input_request_output, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, - "teams-devices_match": teams_devices_match_output, - "teams-devices_match_item": teams_devices_match_item_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_name": teams_devices_name_output, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, - "teams-devices_paths": teams_devices_paths_output, - "teams-devices_platform": teams_devices_platform_output, - "teams-devices_requireAll": teams_devices_requireAll_output, - "teams-devices_schedule": teams_devices_schedule_output, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, - "teams-devices_single_response": teams_devices_single_response_output, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, - "teams-devices_trust_stores": teams_devices_trust_stores_output, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, - "teams-devices_type": teams_devices_type_output, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_application_input_request": teams$$devices_application_input_request, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request, + "teams-devices_checkDisks": teams$$devices_checkDisks, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, + "teams-devices_description": teams$$devices_description, + "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, + "teams-devices_expiration": teams$$devices_expiration, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, + "teams-devices_file_input_request": teams$$devices_file_input_request, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, + "teams-devices_input": teams$$devices_input, + "teams-devices_intune_input_request": teams$$devices_intune_input_request, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request, + "teams-devices_match": teams$$devices_match, + "teams-devices_match_item": teams$$devices_match_item, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_name": teams$$devices_name, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, + "teams-devices_paths": teams$$devices_paths, + "teams-devices_platform": teams$$devices_platform, + "teams-devices_requireAll": teams$$devices_requireAll, + "teams-devices_schedule": teams$$devices_schedule, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, + "teams-devices_single_response": teams$$devices_single_response, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, + "teams-devices_trust_stores": teams$$devices_trust_stores, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, + "teams-devices_type": teams$$devices_type, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, annotations: { @@ -256,48 +267,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_application_input_request": teams_devices_application_input_request_output, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, - "teams-devices_checkDisks": teams_devices_checkDisks_output, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, - "teams-devices_description": teams_devices_description_output, - "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, - "teams-devices_expiration": teams_devices_expiration_output, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, - "teams-devices_file_input_request": teams_devices_file_input_request_output, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, - "teams-devices_input": teams_devices_input_output, - "teams-devices_intune_input_request": teams_devices_intune_input_request_output, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, - "teams-devices_match": teams_devices_match_output, - "teams-devices_match_item": teams_devices_match_item_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_name": teams_devices_name_output, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, - "teams-devices_paths": teams_devices_paths_output, - "teams-devices_platform": teams_devices_platform_output, - "teams-devices_requireAll": teams_devices_requireAll_output, - "teams-devices_schedule": teams_devices_schedule_output, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, - "teams-devices_single_response": teams_devices_single_response_output, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, - "teams-devices_trust_stores": teams_devices_trust_stores_output, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, - "teams-devices_type": teams_devices_type_output, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_application_input_request": teams$$devices_application_input_request, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request, + "teams-devices_checkDisks": teams$$devices_checkDisks, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, + "teams-devices_description": teams$$devices_description, + "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, + "teams-devices_expiration": teams$$devices_expiration, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, + "teams-devices_file_input_request": teams$$devices_file_input_request, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, + "teams-devices_input": teams$$devices_input, + "teams-devices_intune_input_request": teams$$devices_intune_input_request, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request, + "teams-devices_match": teams$$devices_match, + "teams-devices_match_item": teams$$devices_match_item, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_name": teams$$devices_name, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, + "teams-devices_paths": teams$$devices_paths, + "teams-devices_platform": teams$$devices_platform, + "teams-devices_requireAll": teams$$devices_requireAll, + "teams-devices_schedule": teams$$devices_schedule, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, + "teams-devices_single_response": teams$$devices_single_response, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, + "teams-devices_trust_stores": teams$$devices_trust_stores, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, + "teams-devices_type": teams$$devices_type, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, request: (args) => ({ @@ -306,37 +317,45 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_posture_rules_delete", + name: "zeroTrust_devices_posture_rules_delete", title: "Delete posture rule", description: "Deletes a device posture rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, - "rule_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "rule_id": { + "$ref": "#/$defs/teams-devices_uuid", + "description": "API UUID." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_uuid": teams_devices_uuid, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_uuid": teams$$devices_uuid$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_id_response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_id_response": teams_devices_id_response_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_id_response": teams$$devices_id_response, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -363,12 +382,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_id_response": teams_devices_id_response_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_uuid": teams_devices_uuid_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_id_response": teams$$devices_id_response, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -376,73 +395,81 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_posture_rules_get", + name: "zeroTrust_devices_posture_rules_get", title: "Get posture rule", description: "Fetches a single device posture rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, - "rule_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "rule_id": { + "$ref": "#/$defs/teams-devices_uuid", + "description": "API UUID." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_uuid": teams_devices_uuid, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_uuid": teams$$devices_uuid$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_single_response", $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_application_input_request": teams_devices_application_input_request_output, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, - "teams-devices_checkDisks": teams_devices_checkDisks_output, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, - "teams-devices_description": teams_devices_description_output, - "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, - "teams-devices_expiration": teams_devices_expiration_output, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, - "teams-devices_file_input_request": teams_devices_file_input_request_output, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, - "teams-devices_input": teams_devices_input_output, - "teams-devices_intune_input_request": teams_devices_intune_input_request_output, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, - "teams-devices_match": teams_devices_match_output, - "teams-devices_match_item": teams_devices_match_item_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_name": teams_devices_name_output, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, - "teams-devices_paths": teams_devices_paths_output, - "teams-devices_platform": teams_devices_platform_output, - "teams-devices_requireAll": teams_devices_requireAll_output, - "teams-devices_schedule": teams_devices_schedule_output, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, - "teams-devices_single_response": teams_devices_single_response_output, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, - "teams-devices_trust_stores": teams_devices_trust_stores_output, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, - "teams-devices_type": teams_devices_type_output, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_application_input_request": teams$$devices_application_input_request, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request, + "teams-devices_checkDisks": teams$$devices_checkDisks, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, + "teams-devices_description": teams$$devices_description, + "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, + "teams-devices_expiration": teams$$devices_expiration, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, + "teams-devices_file_input_request": teams$$devices_file_input_request, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, + "teams-devices_input": teams$$devices_input, + "teams-devices_intune_input_request": teams$$devices_intune_input_request, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request, + "teams-devices_match": teams$$devices_match, + "teams-devices_match_item": teams$$devices_match_item, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_name": teams$$devices_name, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, + "teams-devices_paths": teams$$devices_paths, + "teams-devices_platform": teams$$devices_platform, + "teams-devices_requireAll": teams$$devices_requireAll, + "teams-devices_schedule": teams$$devices_schedule, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, + "teams-devices_single_response": teams$$devices_single_response, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, + "teams-devices_trust_stores": teams$$devices_trust_stores, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, + "teams-devices_type": teams$$devices_type, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, annotations: { @@ -464,48 +491,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_application_input_request": teams_devices_application_input_request_output, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, - "teams-devices_checkDisks": teams_devices_checkDisks_output, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, - "teams-devices_description": teams_devices_description_output, - "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, - "teams-devices_expiration": teams_devices_expiration_output, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, - "teams-devices_file_input_request": teams_devices_file_input_request_output, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, - "teams-devices_input": teams_devices_input_output, - "teams-devices_intune_input_request": teams_devices_intune_input_request_output, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, - "teams-devices_match": teams_devices_match_output, - "teams-devices_match_item": teams_devices_match_item_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_name": teams_devices_name_output, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, - "teams-devices_paths": teams_devices_paths_output, - "teams-devices_platform": teams_devices_platform_output, - "teams-devices_requireAll": teams_devices_requireAll_output, - "teams-devices_schedule": teams_devices_schedule_output, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, - "teams-devices_single_response": teams_devices_single_response_output, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, - "teams-devices_trust_stores": teams_devices_trust_stores_output, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, - "teams-devices_type": teams_devices_type_output, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_application_input_request": teams$$devices_application_input_request, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request, + "teams-devices_checkDisks": teams$$devices_checkDisks, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, + "teams-devices_description": teams$$devices_description, + "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, + "teams-devices_expiration": teams$$devices_expiration, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, + "teams-devices_file_input_request": teams$$devices_file_input_request, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, + "teams-devices_input": teams$$devices_input, + "teams-devices_intune_input_request": teams$$devices_intune_input_request, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request, + "teams-devices_match": teams$$devices_match, + "teams-devices_match_item": teams$$devices_match_item, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_name": teams$$devices_name, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, + "teams-devices_paths": teams$$devices_paths, + "teams-devices_platform": teams$$devices_platform, + "teams-devices_requireAll": teams$$devices_requireAll, + "teams-devices_schedule": teams$$devices_schedule, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, + "teams-devices_single_response": teams$$devices_single_response, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, + "teams-devices_trust_stores": teams$$devices_trust_stores, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, + "teams-devices_type": teams$$devices_type, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, request: (args) => ({ @@ -513,68 +540,76 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_posture_rules_list", + name: "zeroTrust_devices_posture_rules_list", title: "List posture rules", description: "Fetches device posture rules for a Zero Trust account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, + "teams-devices_identifier": teams$$devices_identifier, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_response_collection", $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_application_input_request": teams_devices_application_input_request_output, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, - "teams-devices_checkDisks": teams_devices_checkDisks_output, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, - "teams-devices_description": teams_devices_description_output, - "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, - "teams-devices_expiration": teams_devices_expiration_output, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, - "teams-devices_file_input_request": teams_devices_file_input_request_output, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, - "teams-devices_input": teams_devices_input_output, - "teams-devices_intune_input_request": teams_devices_intune_input_request_output, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, - "teams-devices_match": teams_devices_match_output, - "teams-devices_match_item": teams_devices_match_item_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_name": teams_devices_name_output, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, - "teams-devices_paths": teams_devices_paths_output, - "teams-devices_platform": teams_devices_platform_output, - "teams-devices_requireAll": teams_devices_requireAll_output, - "teams-devices_response_collection": teams_devices_response_collection_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_schedule": teams_devices_schedule_output, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, - "teams-devices_trust_stores": teams_devices_trust_stores_output, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, - "teams-devices_type": teams_devices_type_output, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_application_input_request": teams$$devices_application_input_request, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request, + "teams-devices_checkDisks": teams$$devices_checkDisks, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, + "teams-devices_description": teams$$devices_description, + "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, + "teams-devices_expiration": teams$$devices_expiration, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, + "teams-devices_file_input_request": teams$$devices_file_input_request, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, + "teams-devices_input": teams$$devices_input, + "teams-devices_intune_input_request": teams$$devices_intune_input_request, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request, + "teams-devices_match": teams$$devices_match, + "teams-devices_match_item": teams$$devices_match_item, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_name": teams$$devices_name, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, + "teams-devices_paths": teams$$devices_paths, + "teams-devices_platform": teams$$devices_platform, + "teams-devices_requireAll": teams$$devices_requireAll, + "teams-devices_response_collection": teams$$devices_response_collection, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_schedule": teams$$devices_schedule, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, + "teams-devices_trust_stores": teams$$devices_trust_stores, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, + "teams-devices_type": teams$$devices_type, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, annotations: { @@ -596,49 +631,49 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_application_input_request": teams_devices_application_input_request_output, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, - "teams-devices_checkDisks": teams_devices_checkDisks_output, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, - "teams-devices_description": teams_devices_description_output, - "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, - "teams-devices_expiration": teams_devices_expiration_output, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, - "teams-devices_file_input_request": teams_devices_file_input_request_output, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, - "teams-devices_input": teams_devices_input_output, - "teams-devices_intune_input_request": teams_devices_intune_input_request_output, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, - "teams-devices_match": teams_devices_match_output, - "teams-devices_match_item": teams_devices_match_item_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_name": teams_devices_name_output, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, - "teams-devices_paths": teams_devices_paths_output, - "teams-devices_platform": teams_devices_platform_output, - "teams-devices_requireAll": teams_devices_requireAll_output, - "teams-devices_response_collection": teams_devices_response_collection_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_schedule": teams_devices_schedule_output, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, - "teams-devices_trust_stores": teams_devices_trust_stores_output, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, - "teams-devices_type": teams_devices_type_output, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_application_input_request": teams$$devices_application_input_request, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request, + "teams-devices_checkDisks": teams$$devices_checkDisks, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, + "teams-devices_description": teams$$devices_description, + "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, + "teams-devices_expiration": teams$$devices_expiration, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, + "teams-devices_file_input_request": teams$$devices_file_input_request, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, + "teams-devices_input": teams$$devices_input, + "teams-devices_intune_input_request": teams$$devices_intune_input_request, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request, + "teams-devices_match": teams$$devices_match, + "teams-devices_match_item": teams$$devices_match_item, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_name": teams$$devices_name, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, + "teams-devices_paths": teams$$devices_paths, + "teams-devices_platform": teams$$devices_platform, + "teams-devices_requireAll": teams$$devices_requireAll, + "teams-devices_response_collection": teams$$devices_response_collection, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_schedule": teams$$devices_schedule, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, + "teams-devices_trust_stores": teams$$devices_trust_stores, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, + "teams-devices_type": teams$$devices_type, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, request: (args) => ({ @@ -646,15 +681,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_posture_rules_update", + name: "zeroTrust_devices_posture_rules_update", title: "Update posture rule", description: "Updates a device posture rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "properties": { "description": { @@ -692,100 +724,111 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "rule_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "rule_id": { + "$ref": "#/$defs/teams-devices_uuid", + "description": "API UUID." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id", + "path", "body" ], $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request, - "teams-devices_application_input_request": teams_devices_application_input_request, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request, - "teams-devices_checkDisks": teams_devices_checkDisks, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request, - "teams-devices_description": teams_devices_description, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request, - "teams-devices_expiration": teams_devices_expiration, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum, - "teams-devices_file_input_request": teams_devices_file_input_request, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_input": teams_devices_input, - "teams-devices_intune_input_request": teams_devices_intune_input_request, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request, - "teams-devices_match": teams_devices_match, - "teams-devices_match_item": teams_devices_match_item, - "teams-devices_name": teams_devices_name, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request, - "teams-devices_paths": teams_devices_paths, - "teams-devices_platform": teams_devices_platform, - "teams-devices_requireAll": teams_devices_requireAll, - "teams-devices_schedule": teams_devices_schedule, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request, - "teams-devices_trust_stores": teams_devices_trust_stores, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum, - "teams-devices_type": teams_devices_type, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request, - "teams-devices_uuid": teams_devices_uuid, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request$, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request$, + "teams-devices_application_input_request": teams$$devices_application_input_request$, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request$, + "teams-devices_checkDisks": teams$$devices_checkDisks$, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request$, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request$, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request$, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request$, + "teams-devices_description": teams$$devices_description$, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request$, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request$, + "teams-devices_expiration": teams$$devices_expiration$, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum$, + "teams-devices_file_input_request": teams$$devices_file_input_request$, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request$, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_input": teams$$devices_input$, + "teams-devices_intune_input_request": teams$$devices_intune_input_request$, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request$, + "teams-devices_match": teams$$devices_match$, + "teams-devices_match_item": teams$$devices_match_item$, + "teams-devices_name": teams$$devices_name$, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request$, + "teams-devices_paths": teams$$devices_paths$, + "teams-devices_platform": teams$$devices_platform$, + "teams-devices_requireAll": teams$$devices_requireAll$, + "teams-devices_schedule": teams$$devices_schedule$, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request$, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request$, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request$, + "teams-devices_trust_stores": teams$$devices_trust_stores$, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum$, + "teams-devices_type": teams$$devices_type$, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request$, + "teams-devices_uuid": teams$$devices_uuid$, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_single_response", $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_application_input_request": teams_devices_application_input_request_output, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, - "teams-devices_checkDisks": teams_devices_checkDisks_output, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, - "teams-devices_description": teams_devices_description_output, - "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, - "teams-devices_expiration": teams_devices_expiration_output, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, - "teams-devices_file_input_request": teams_devices_file_input_request_output, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, - "teams-devices_input": teams_devices_input_output, - "teams-devices_intune_input_request": teams_devices_intune_input_request_output, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, - "teams-devices_match": teams_devices_match_output, - "teams-devices_match_item": teams_devices_match_item_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_name": teams_devices_name_output, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, - "teams-devices_paths": teams_devices_paths_output, - "teams-devices_platform": teams_devices_platform_output, - "teams-devices_requireAll": teams_devices_requireAll_output, - "teams-devices_schedule": teams_devices_schedule_output, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, - "teams-devices_single_response": teams_devices_single_response_output, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, - "teams-devices_trust_stores": teams_devices_trust_stores_output, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, - "teams-devices_type": teams_devices_type_output, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_application_input_request": teams$$devices_application_input_request, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request, + "teams-devices_checkDisks": teams$$devices_checkDisks, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, + "teams-devices_description": teams$$devices_description, + "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, + "teams-devices_expiration": teams$$devices_expiration, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, + "teams-devices_file_input_request": teams$$devices_file_input_request, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, + "teams-devices_input": teams$$devices_input, + "teams-devices_intune_input_request": teams$$devices_intune_input_request, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request, + "teams-devices_match": teams$$devices_match, + "teams-devices_match_item": teams$$devices_match_item, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_name": teams$$devices_name, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, + "teams-devices_paths": teams$$devices_paths, + "teams-devices_platform": teams$$devices_platform, + "teams-devices_requireAll": teams$$devices_requireAll, + "teams-devices_schedule": teams$$devices_schedule, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, + "teams-devices_single_response": teams$$devices_single_response, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, + "teams-devices_trust_stores": teams$$devices_trust_stores, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, + "teams-devices_type": teams$$devices_type, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, annotations: { @@ -812,48 +855,48 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_access_serial_number_list_input_request": teams_devices_access_serial_number_list_input_request_output, - "teams-devices_antivirus_input_request": teams_devices_antivirus_input_request_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_application_input_request": teams_devices_application_input_request_output, - "teams-devices_carbonblack_input_request": teams_devices_carbonblack_input_request_output, - "teams-devices_checkDisks": teams_devices_checkDisks_output, - "teams-devices_client_certificate_input_request": teams_devices_client_certificate_input_request_output, - "teams-devices_client_certificate_v2_input_request": teams_devices_client_certificate_v2_input_request_output, - "teams-devices_crowdstrike_input_request": teams_devices_crowdstrike_input_request_output, - "teams-devices_custom_s2s_input_request": teams_devices_custom_s2s_input_request_output, - "teams-devices_description": teams_devices_description_output, - "teams-devices_device-posture-rules": teams_devices_device_posture_rules_output, - "teams-devices_disk_encryption_input_request": teams_devices_disk_encryption_input_request_output, - "teams-devices_domain_joined_input_request": teams_devices_domain_joined_input_request_output, - "teams-devices_expiration": teams_devices_expiration_output, - "teams-devices_extended_key_usage_enum": teams_devices_extended_key_usage_enum_output, - "teams-devices_file_input_request": teams_devices_file_input_request_output, - "teams-devices_firewall_input_request": teams_devices_firewall_input_request_output, - "teams-devices_input": teams_devices_input_output, - "teams-devices_intune_input_request": teams_devices_intune_input_request_output, - "teams-devices_kolide_input_request": teams_devices_kolide_input_request_output, - "teams-devices_match": teams_devices_match_output, - "teams-devices_match_item": teams_devices_match_item_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_name": teams_devices_name_output, - "teams-devices_os_version_input_request": teams_devices_os_version_input_request_output, - "teams-devices_paths": teams_devices_paths_output, - "teams-devices_platform": teams_devices_platform_output, - "teams-devices_requireAll": teams_devices_requireAll_output, - "teams-devices_schedule": teams_devices_schedule_output, - "teams-devices_sentinelone_input_request": teams_devices_sentinelone_input_request_output, - "teams-devices_sentinelone_s2s_input_request": teams_devices_sentinelone_s2s_input_request_output, - "teams-devices_single_response": teams_devices_single_response_output, - "teams-devices_tanium_input_request": teams_devices_tanium_input_request_output, - "teams-devices_trust_stores": teams_devices_trust_stores_output, - "teams-devices_trust_stores_enum": teams_devices_trust_stores_enum_output, - "teams-devices_type": teams_devices_type_output, - "teams-devices_unique_client_id_input_request": teams_devices_unique_client_id_input_request_output, - "teams-devices_uuid": teams_devices_uuid_output, - "teams-devices_workspace_one_input_request": teams_devices_workspace_one_input_request_output, + "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request, + "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_application_input_request": teams$$devices_application_input_request, + "teams-devices_carbonblack_input_request": teams$$devices_carbonblack_input_request, + "teams-devices_checkDisks": teams$$devices_checkDisks, + "teams-devices_client_certificate_input_request": teams$$devices_client_certificate_input_request, + "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, + "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, + "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, + "teams-devices_description": teams$$devices_description, + "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, + "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, + "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, + "teams-devices_expiration": teams$$devices_expiration, + "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, + "teams-devices_file_input_request": teams$$devices_file_input_request, + "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, + "teams-devices_input": teams$$devices_input, + "teams-devices_intune_input_request": teams$$devices_intune_input_request, + "teams-devices_kolide_input_request": teams$$devices_kolide_input_request, + "teams-devices_match": teams$$devices_match, + "teams-devices_match_item": teams$$devices_match_item, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_name": teams$$devices_name, + "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, + "teams-devices_paths": teams$$devices_paths, + "teams-devices_platform": teams$$devices_platform, + "teams-devices_requireAll": teams$$devices_requireAll, + "teams-devices_schedule": teams$$devices_schedule, + "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, + "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, + "teams-devices_single_response": teams$$devices_single_response, + "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, + "teams-devices_trust_stores": teams$$devices_trust_stores, + "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, + "teams-devices_type": teams$$devices_type, + "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, + "teams-devices_uuid": teams$$devices_uuid, + "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts index 841b9233b..1a3710a75 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `teams-devices_browser_extension_config` in responses. */ -export const teams_devices_browser_extension_config_output: JsonSchema = { +export const teams$$devices_browser_extension_config: JsonSchema = { "oneOf": [ { "properties": { @@ -36,14 +36,14 @@ export const teams_devices_browser_extension_config_output: JsonSchema = { /** * The schema of `teams-devices_default` in responses. */ -export const teams_devices_default_output: JsonSchema = { +export const teams$$devices_default: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_device_settings_policy` in responses. */ -export const teams_devices_device_settings_policy_output: JsonSchema = { +export const teams$$devices_device_settings_policy: JsonSchema = { "properties": { "allow_mode_switch": { "$ref": "#/$defs/teams-devices_allow_mode_switch" @@ -157,7 +157,7 @@ export const teams_devices_device_settings_policy_output: JsonSchema = { /** * The schema of `teams-devices_device_settings_response` in responses. */ -export const teams_devices_device_settings_response_output: JsonSchema = { +export const teams$$devices_device_settings_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-single" @@ -177,7 +177,7 @@ export const teams_devices_device_settings_response_output: JsonSchema = { * The schema of `teams-devices_device_settings_response_collection` in * responses. */ -export const teams_devices_device_settings_response_collection_output: JsonSchema = { +export const teams$$devices_device_settings_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-collection" @@ -199,28 +199,28 @@ export const teams_devices_device_settings_response_collection_output: JsonSchem /** * The schema of `teams-devices_precedence` in responses. */ -export const teams_devices_precedence_output: JsonSchema = { +export const teams$$devices_precedence: JsonSchema = { "type": "number" }; /** * The schema of `teams-devices_schemas-description` in responses. */ -export const teams_devices_schemas_description_output: JsonSchema = { +export const teams$$devices_schemas$$description: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_schemas-match` in responses. */ -export const teams_devices_schemas_match_output: JsonSchema = { +export const teams$$devices_schemas$$match: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_target_dex_test` in responses. */ -export const teams_devices_target_dex_test_output: JsonSchema = { +export const teams$$devices_target_dex_test: JsonSchema = { "properties": { "id": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/schemas.ts index a91f791e4..b9d8001be 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `teams-devices_browser_extension_config`. */ -export const teams_devices_browser_extension_config: JsonSchema = { +export const teams$$devices_browser_extension_config: JsonSchema = { "description": "Browser extension proxy settings. Required when profile_type is browser_extension and invalid for WARP profiles.", "oneOf": [ { @@ -39,7 +39,7 @@ export const teams_devices_browser_extension_config: JsonSchema = { /** * The schema of `teams-devices_default`. */ -export const teams_devices_default: JsonSchema = { +export const teams$$devices_default: JsonSchema = { "description": "Whether the policy is the account default. WARP group profiles cannot set this field.", "type": "boolean" }; @@ -47,7 +47,7 @@ export const teams_devices_default: JsonSchema = { /** * The schema of `teams-devices_precedence`. */ -export const teams_devices_precedence: JsonSchema = { +export const teams$$devices_precedence: JsonSchema = { "description": "The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.", "type": "number" }; @@ -55,7 +55,7 @@ export const teams_devices_precedence: JsonSchema = { /** * The schema of `teams-devices_schemas-description`. */ -export const teams_devices_schemas_description: JsonSchema = { +export const teams$$devices_schemas$$description: JsonSchema = { "description": "A description of the policy.", "type": "string" }; @@ -63,7 +63,7 @@ export const teams_devices_schemas_description: JsonSchema = { /** * The schema of `teams-devices_schemas-match`. */ -export const teams_devices_schemas_match: JsonSchema = { +export const teams$$devices_schemas$$match: JsonSchema = { "description": "The wirefilter expression to match devices. Available values: \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.service_token_uuid\", \"identity.saml_attributes\", \"network\", \"os.name\", \"os.version\", \"device.tags\".", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts index 62f28ba33..9c69726cc 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts @@ -1,131 +1,128 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - teams_devices_api_response_collection_output, - teams_devices_api_response_common_failure_output, - teams_devices_api_response_common_output, - teams_devices_api_response_single_output, - teams_devices_messages_output, - teams_devices_result_info_output, + teams$$devices_api$$response$$collection, + teams$$devices_api$$response$$common, + teams$$devices_api$$response$$common$$failure, + teams$$devices_api$$response$$single, + teams$$devices_messages, + teams$$devices_result_info, } from "../../outputs.js"; -import { teams_devices_identifier } from "../../schemas.js"; +import { teams$$devices_identifier } from "../../schemas.js"; import { - teams_devices_allow_mode_switch_output, - teams_devices_allow_updates_output, - teams_devices_allowed_to_leave_output, - teams_devices_auto_connect_output, - teams_devices_captive_portal_output, - teams_devices_disable_auto_fallback_output, - teams_devices_dns_search_suffix_output, - teams_devices_dns_search_suffixes_output, - teams_devices_enable_device_credential_authentication_output, - teams_devices_exclude_office_ips_output, - teams_devices_exclude_output, - teams_devices_exclude_split_tunnel_with_address_output, - teams_devices_exclude_split_tunnel_with_host_output, - teams_devices_fallback_domain_output, - teams_devices_fallback_domains_output, - teams_devices_gateway_unique_id_output, - teams_devices_global_acceleration_output, - teams_devices_include_output, - teams_devices_include_split_tunnel_address_output, - teams_devices_include_split_tunnel_description_output, - teams_devices_include_split_tunnel_host_output, - teams_devices_include_split_tunnel_with_address_output, - teams_devices_include_split_tunnel_with_host_output, - teams_devices_ip_output, - teams_devices_lan_allow_minutes_output, - teams_devices_lan_allow_subnet_size_output, - teams_devices_profile_type_output, - teams_devices_register_interface_ip_with_dns_output, - teams_devices_sccm_vpn_boundary_support_output, - teams_devices_schemas_uuid_output, - teams_devices_service_mode_v2_output, - teams_devices_split_tunnel_address_output, - teams_devices_split_tunnel_description_output, - teams_devices_split_tunnel_host_output, - teams_devices_split_tunnel_include_output, - teams_devices_split_tunnel_output, - teams_devices_support_url_output, - teams_devices_switch_locked_output, - teams_devices_tunnel_protocol_output, - teams_devices_uninstall_protection_output, - teams_devices_virtual_networks_output, + teams$$devices_allow_mode_switch, + teams$$devices_allow_updates, + teams$$devices_allowed_to_leave, + teams$$devices_auto_connect, + teams$$devices_captive_portal, + teams$$devices_disable_auto_fallback, + teams$$devices_dns_search_suffix, + teams$$devices_dns_search_suffixes, + teams$$devices_enable_device_credential_authentication, + teams$$devices_exclude, + teams$$devices_exclude_office_ips, + teams$$devices_exclude_split_tunnel_with_address, + teams$$devices_exclude_split_tunnel_with_host, + teams$$devices_fallback_domain, + teams$$devices_fallback_domains, + teams$$devices_gateway_unique_id, + teams$$devices_global_acceleration, + teams$$devices_include, + teams$$devices_include_split_tunnel_address, + teams$$devices_include_split_tunnel_description, + teams$$devices_include_split_tunnel_host, + teams$$devices_include_split_tunnel_with_address, + teams$$devices_include_split_tunnel_with_host, + teams$$devices_ip, + teams$$devices_lan_allow_minutes, + teams$$devices_lan_allow_subnet_size, + teams$$devices_profile_type, + teams$$devices_register_interface_ip_with_dns, + teams$$devices_sccm_vpn_boundary_support, + teams$$devices_schemas$$uuid, + teams$$devices_service_mode_v2, + teams$$devices_split_tunnel, + teams$$devices_split_tunnel_address, + teams$$devices_split_tunnel_description, + teams$$devices_split_tunnel_host, + teams$$devices_split_tunnel_include, + teams$$devices_support_url, + teams$$devices_switch_locked, + teams$$devices_tunnel_protocol, + teams$$devices_uninstall_protection, + teams$$devices_virtual_networks, } from "../outputs.js"; import { - teams_devices_allow_mode_switch, - teams_devices_allow_updates, - teams_devices_allowed_to_leave, - teams_devices_auto_connect, - teams_devices_captive_portal, - teams_devices_disable_auto_fallback, - teams_devices_dns_search_suffix, - teams_devices_dns_search_suffixes, - teams_devices_enable_device_credential_authentication, - teams_devices_exclude_office_ips, - teams_devices_exclude_request, - teams_devices_exclude_split_tunnel_with_address, - teams_devices_exclude_split_tunnel_with_host, - teams_devices_global_acceleration, - teams_devices_include_request, - teams_devices_include_split_tunnel_address, - teams_devices_include_split_tunnel_description, - teams_devices_include_split_tunnel_host, - teams_devices_include_split_tunnel_with_address, - teams_devices_include_split_tunnel_with_host, - teams_devices_lan_allow_minutes, - teams_devices_lan_allow_subnet_size, - teams_devices_profile_type, - teams_devices_register_interface_ip_with_dns, - teams_devices_sccm_vpn_boundary_support, - teams_devices_schemas_uuid, - teams_devices_service_mode_v2, - teams_devices_split_tunnel, - teams_devices_split_tunnel_address, - teams_devices_split_tunnel_description, - teams_devices_split_tunnel_host, - teams_devices_split_tunnel_include, - teams_devices_support_url, - teams_devices_switch_locked, - teams_devices_tunnel_protocol, - teams_devices_uninstall_protection, - teams_devices_virtual_networks, + teams$$devices_allow_mode_switch as teams$$devices_allow_mode_switch$, + teams$$devices_allow_updates as teams$$devices_allow_updates$, + teams$$devices_allowed_to_leave as teams$$devices_allowed_to_leave$, + teams$$devices_auto_connect as teams$$devices_auto_connect$, + teams$$devices_captive_portal as teams$$devices_captive_portal$, + teams$$devices_disable_auto_fallback as teams$$devices_disable_auto_fallback$, + teams$$devices_dns_search_suffix as teams$$devices_dns_search_suffix$, + teams$$devices_dns_search_suffixes as teams$$devices_dns_search_suffixes$, + teams$$devices_enable_device_credential_authentication as teams$$devices_enable_device_credential_authentication$, + teams$$devices_exclude_office_ips as teams$$devices_exclude_office_ips$, + teams$$devices_exclude_request, + teams$$devices_exclude_split_tunnel_with_address as teams$$devices_exclude_split_tunnel_with_address$, + teams$$devices_exclude_split_tunnel_with_host as teams$$devices_exclude_split_tunnel_with_host$, + teams$$devices_global_acceleration as teams$$devices_global_acceleration$, + teams$$devices_include_request, + teams$$devices_include_split_tunnel_address as teams$$devices_include_split_tunnel_address$, + teams$$devices_include_split_tunnel_description as teams$$devices_include_split_tunnel_description$, + teams$$devices_include_split_tunnel_host as teams$$devices_include_split_tunnel_host$, + teams$$devices_include_split_tunnel_with_address as teams$$devices_include_split_tunnel_with_address$, + teams$$devices_include_split_tunnel_with_host as teams$$devices_include_split_tunnel_with_host$, + teams$$devices_lan_allow_minutes as teams$$devices_lan_allow_minutes$, + teams$$devices_lan_allow_subnet_size as teams$$devices_lan_allow_subnet_size$, + teams$$devices_profile_type as teams$$devices_profile_type$, + teams$$devices_register_interface_ip_with_dns as teams$$devices_register_interface_ip_with_dns$, + teams$$devices_sccm_vpn_boundary_support as teams$$devices_sccm_vpn_boundary_support$, + teams$$devices_schemas$$uuid as teams$$devices_schemas$$uuid$, + teams$$devices_service_mode_v2 as teams$$devices_service_mode_v2$, + teams$$devices_split_tunnel as teams$$devices_split_tunnel$, + teams$$devices_split_tunnel_address as teams$$devices_split_tunnel_address$, + teams$$devices_split_tunnel_description as teams$$devices_split_tunnel_description$, + teams$$devices_split_tunnel_host as teams$$devices_split_tunnel_host$, + teams$$devices_split_tunnel_include as teams$$devices_split_tunnel_include$, + teams$$devices_support_url as teams$$devices_support_url$, + teams$$devices_switch_locked as teams$$devices_switch_locked$, + teams$$devices_tunnel_protocol as teams$$devices_tunnel_protocol$, + teams$$devices_uninstall_protection as teams$$devices_uninstall_protection$, + teams$$devices_virtual_networks as teams$$devices_virtual_networks$, } from "../schemas.js"; import { - teams_devices_browser_extension_config_output, - teams_devices_default_output, - teams_devices_device_settings_policy_output, - teams_devices_device_settings_response_collection_output, - teams_devices_device_settings_response_output, - teams_devices_precedence_output, - teams_devices_schemas_description_output, - teams_devices_schemas_match_output, - teams_devices_target_dex_test_output, + teams$$devices_browser_extension_config, + teams$$devices_default, + teams$$devices_device_settings_policy, + teams$$devices_device_settings_response, + teams$$devices_device_settings_response_collection, + teams$$devices_precedence, + teams$$devices_schemas$$description, + teams$$devices_schemas$$match, + teams$$devices_target_dex_test, } from "./outputs.js"; import { - teams_devices_browser_extension_config, - teams_devices_default, - teams_devices_precedence, - teams_devices_schemas_description, - teams_devices_schemas_match, + teams$$devices_browser_extension_config as teams$$devices_browser_extension_config$, + teams$$devices_default as teams$$devices_default$, + teams$$devices_precedence as teams$$devices_precedence$, + teams$$devices_schemas$$description as teams$$devices_schemas$$description$, + teams$$devices_schemas$$match as teams$$devices_schemas$$match$, } from "./schemas.js"; /** - * The tools of `zero_trust.devices.profiles.custom`. + * The tools of `zeroTrust.devices.profiles.custom`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_profiles_custom_create", + name: "zeroTrust_devices_profiles_custom_create", title: "Create a device settings profile", description: "Creates a device settings profile to be applied to certain devices matching the criteria.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "properties": { "allow_mode_switch": { @@ -276,112 +273,123 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch, - "teams-devices_allow_updates": teams_devices_allow_updates, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave, - "teams-devices_auto_connect": teams_devices_auto_connect, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config, - "teams-devices_captive_portal": teams_devices_captive_portal, - "teams-devices_default": teams_devices_default, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips, - "teams-devices_exclude_request": teams_devices_exclude_request, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host, - "teams-devices_global_acceleration": teams_devices_global_acceleration, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_include_request": teams_devices_include_request, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size, - "teams-devices_precedence": teams_devices_precedence, - "teams-devices_profile_type": teams_devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams_devices_schemas_description, - "teams-devices_schemas-match": teams_devices_schemas_match, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2, - "teams-devices_split_tunnel": teams_devices_split_tunnel, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include, - "teams-devices_support_url": teams_devices_support_url, - "teams-devices_switch_locked": teams_devices_switch_locked, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection, - "teams-devices_virtual_networks": teams_devices_virtual_networks, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch$, + "teams-devices_allow_updates": teams$$devices_allow_updates$, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave$, + "teams-devices_auto_connect": teams$$devices_auto_connect$, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config$, + "teams-devices_captive_portal": teams$$devices_captive_portal$, + "teams-devices_default": teams$$devices_default$, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback$, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix$, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes$, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication$, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips$, + "teams-devices_exclude_request": teams$$devices_exclude_request, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address$, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host$, + "teams-devices_global_acceleration": teams$$devices_global_acceleration$, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_include_request": teams$$devices_include_request, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address$, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description$, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host$, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address$, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host$, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes$, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size$, + "teams-devices_precedence": teams$$devices_precedence$, + "teams-devices_profile_type": teams$$devices_profile_type$, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns$, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support$, + "teams-devices_schemas-description": teams$$devices_schemas$$description$, + "teams-devices_schemas-match": teams$$devices_schemas$$match$, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2$, + "teams-devices_split_tunnel": teams$$devices_split_tunnel$, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address$, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description$, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host$, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include$, + "teams-devices_support_url": teams$$devices_support_url$, + "teams-devices_switch_locked": teams$$devices_switch_locked$, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol$, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection$, + "teams-devices_virtual_networks": teams$$devices_virtual_networks$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response": teams_devices_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response": teams$$devices_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, annotations: { @@ -408,59 +416,59 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response": teams_devices_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response": teams$$devices_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, request: (args) => ({ @@ -469,84 +477,92 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_profiles_custom_delete", + name: "zeroTrust_devices_profiles_custom_delete", title: "Delete a device settings profile", description: "Deletes a device settings profile and fetches a list of the remaining profiles for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, - "policy_id": { - "$ref": "#/$defs/teams-devices_schemas-uuid" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "policy_id": { + "$ref": "#/$defs/teams-devices_schemas-uuid" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response_collection", $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response_collection": teams_devices_device_settings_response_collection_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response_collection": teams$$devices_device_settings_response_collection, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, annotations: { @@ -573,60 +589,60 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response_collection": teams_devices_device_settings_response_collection_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response_collection": teams$$devices_device_settings_response_collection, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, request: (args) => ({ @@ -634,83 +650,91 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_profiles_custom_get", + name: "zeroTrust_devices_profiles_custom_get", title: "Get device settings profile by ID", description: "Fetches a device settings profile by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, - "policy_id": { - "$ref": "#/$defs/teams-devices_schemas-uuid" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "policy_id": { + "$ref": "#/$defs/teams-devices_schemas-uuid" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response": teams_devices_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response": teams$$devices_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, annotations: { @@ -732,59 +756,59 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response": teams_devices_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response": teams$$devices_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, request: (args) => ({ @@ -792,85 +816,98 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_profiles_custom_list", + name: "zeroTrust_devices_profiles_custom_list", title: "List device settings profiles", description: "Fetches a list of the device settings profiles for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "profile_type": { - "$ref": "#/$defs/teams-devices_profile_type", - "default": "warp", - "description": "Filter profiles by client type. When omitted, only WARP profiles are returned." + "query": { + "properties": { + "profile_type": { + "$ref": "#/$defs/teams-devices_profile_type", + "default": "warp", + "description": "Filter profiles by client type. When omitted, only WARP profiles are returned." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_profile_type": teams_devices_profile_type, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_profile_type": teams$$devices_profile_type$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response_collection", $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response_collection": teams_devices_device_settings_response_collection_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response_collection": teams$$devices_device_settings_response_collection, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, annotations: { @@ -892,79 +929,76 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-collection": teams_devices_api_response_collection_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response_collection": teams_devices_device_settings_response_collection_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_result_info": teams_devices_result_info_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response_collection": teams$$devices_device_settings_response_collection, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_result_info": teams$$devices_result_info, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/policies`, query: [ - ["profile_type", args["profile_type"], true], + ["profile_type", param(args, "query", "profile_type"), true], ], }), }, { - name: "zero_trust_devices_profiles_custom_update", + name: "zeroTrust_devices_profiles_custom_update", title: "Update a device settings profile", description: "Updates a configured device settings profile.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "properties": { "allow_mode_switch": { @@ -1101,115 +1135,126 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "policy_id": { - "$ref": "#/$defs/teams-devices_schemas-uuid" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + }, + "policy_id": { + "$ref": "#/$defs/teams-devices_schemas-uuid" + } + }, + "required": [ + "account_id", + "policy_id" + ], + "type": "object" } }, required: [ - "account_id", - "policy_id", + "path", "body" ], $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch, - "teams-devices_allow_updates": teams_devices_allow_updates, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave, - "teams-devices_auto_connect": teams_devices_auto_connect, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config, - "teams-devices_captive_portal": teams_devices_captive_portal, - "teams-devices_default": teams_devices_default, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips, - "teams-devices_exclude_request": teams_devices_exclude_request, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host, - "teams-devices_global_acceleration": teams_devices_global_acceleration, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_include_request": teams_devices_include_request, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size, - "teams-devices_precedence": teams_devices_precedence, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams_devices_schemas_description, - "teams-devices_schemas-match": teams_devices_schemas_match, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2, - "teams-devices_split_tunnel": teams_devices_split_tunnel, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include, - "teams-devices_support_url": teams_devices_support_url, - "teams-devices_switch_locked": teams_devices_switch_locked, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection, - "teams-devices_virtual_networks": teams_devices_virtual_networks, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch$, + "teams-devices_allow_updates": teams$$devices_allow_updates$, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave$, + "teams-devices_auto_connect": teams$$devices_auto_connect$, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config$, + "teams-devices_captive_portal": teams$$devices_captive_portal$, + "teams-devices_default": teams$$devices_default$, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback$, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix$, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes$, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication$, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips$, + "teams-devices_exclude_request": teams$$devices_exclude_request, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address$, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host$, + "teams-devices_global_acceleration": teams$$devices_global_acceleration$, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_include_request": teams$$devices_include_request, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address$, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description$, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host$, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address$, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host$, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes$, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size$, + "teams-devices_precedence": teams$$devices_precedence$, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns$, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support$, + "teams-devices_schemas-description": teams$$devices_schemas$$description$, + "teams-devices_schemas-match": teams$$devices_schemas$$match$, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid$, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2$, + "teams-devices_split_tunnel": teams$$devices_split_tunnel$, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address$, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description$, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host$, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include$, + "teams-devices_support_url": teams$$devices_support_url$, + "teams-devices_switch_locked": teams$$devices_switch_locked$, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol$, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection$, + "teams-devices_virtual_networks": teams$$devices_virtual_networks$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response": teams_devices_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response": teams$$devices_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, annotations: { @@ -1236,59 +1281,59 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_browser_extension_config": teams_devices_browser_extension_config_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default": teams_devices_default_output, - "teams-devices_device_settings_policy": teams_devices_device_settings_policy_output, - "teams-devices_device_settings_response": teams_devices_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes_output, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_precedence": teams_devices_precedence_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-description": teams_devices_schemas_description_output, - "teams-devices_schemas-match": teams_devices_schemas_match_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_target_dex_test": teams_devices_target_dex_test_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default": teams$$devices_default, + "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, + "teams-devices_device_settings_response": teams$$devices_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_precedence": teams$$devices_precedence, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-description": teams$$devices_schemas$$description, + "teams-devices_schemas-match": teams$$devices_schemas$$match, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_target_dex_test": teams$$devices_target_dex_test, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts index 22bb7c310..fb367d2a4 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `teams-devices_default_device_settings_policy` in responses. */ -export const teams_devices_default_device_settings_policy_output: JsonSchema = { +export const teams$$devices_default_device_settings_policy: JsonSchema = { "properties": { "allow_mode_switch": { "$ref": "#/$defs/teams-devices_allow_mode_switch" @@ -93,7 +93,7 @@ export const teams_devices_default_device_settings_policy_output: JsonSchema = { /** * The schema of `teams-devices_default_device_settings_response` in responses. */ -export const teams_devices_default_device_settings_response_output: JsonSchema = { +export const teams$$devices_default_device_settings_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts index 98c2d3f5d..f51fc27ca 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts @@ -3,164 +3,172 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - teams_devices_api_response_common_failure_output, - teams_devices_api_response_common_output, - teams_devices_api_response_single_output, - teams_devices_messages_output, + teams$$devices_api$$response$$common, + teams$$devices_api$$response$$common$$failure, + teams$$devices_api$$response$$single, + teams$$devices_messages, } from "../../outputs.js"; -import { teams_devices_identifier } from "../../schemas.js"; +import { teams$$devices_identifier } from "../../schemas.js"; import { - teams_devices_allow_mode_switch_output, - teams_devices_allow_updates_output, - teams_devices_allowed_to_leave_output, - teams_devices_auto_connect_output, - teams_devices_captive_portal_output, - teams_devices_disable_auto_fallback_output, - teams_devices_dns_search_suffix_output, - teams_devices_dns_search_suffixes_output, - teams_devices_enable_device_credential_authentication_output, - teams_devices_exclude_office_ips_output, - teams_devices_exclude_output, - teams_devices_exclude_split_tunnel_with_address_output, - teams_devices_exclude_split_tunnel_with_host_output, - teams_devices_fallback_domain_output, - teams_devices_fallback_domains_output, - teams_devices_gateway_unique_id_output, - teams_devices_global_acceleration_output, - teams_devices_include_output, - teams_devices_include_split_tunnel_address_output, - teams_devices_include_split_tunnel_description_output, - teams_devices_include_split_tunnel_host_output, - teams_devices_include_split_tunnel_with_address_output, - teams_devices_include_split_tunnel_with_host_output, - teams_devices_ip_output, - teams_devices_profile_type_output, - teams_devices_register_interface_ip_with_dns_output, - teams_devices_sccm_vpn_boundary_support_output, - teams_devices_schemas_uuid_output, - teams_devices_service_mode_v2_output, - teams_devices_split_tunnel_address_output, - teams_devices_split_tunnel_description_output, - teams_devices_split_tunnel_host_output, - teams_devices_split_tunnel_include_output, - teams_devices_split_tunnel_output, - teams_devices_support_url_output, - teams_devices_switch_locked_output, - teams_devices_tunnel_protocol_output, - teams_devices_uninstall_protection_output, - teams_devices_virtual_networks_output, + teams$$devices_allow_mode_switch, + teams$$devices_allow_updates, + teams$$devices_allowed_to_leave, + teams$$devices_auto_connect, + teams$$devices_captive_portal, + teams$$devices_disable_auto_fallback, + teams$$devices_dns_search_suffix, + teams$$devices_dns_search_suffixes, + teams$$devices_enable_device_credential_authentication, + teams$$devices_exclude, + teams$$devices_exclude_office_ips, + teams$$devices_exclude_split_tunnel_with_address, + teams$$devices_exclude_split_tunnel_with_host, + teams$$devices_fallback_domain, + teams$$devices_fallback_domains, + teams$$devices_gateway_unique_id, + teams$$devices_global_acceleration, + teams$$devices_include, + teams$$devices_include_split_tunnel_address, + teams$$devices_include_split_tunnel_description, + teams$$devices_include_split_tunnel_host, + teams$$devices_include_split_tunnel_with_address, + teams$$devices_include_split_tunnel_with_host, + teams$$devices_ip, + teams$$devices_profile_type, + teams$$devices_register_interface_ip_with_dns, + teams$$devices_sccm_vpn_boundary_support, + teams$$devices_schemas$$uuid, + teams$$devices_service_mode_v2, + teams$$devices_split_tunnel, + teams$$devices_split_tunnel_address, + teams$$devices_split_tunnel_description, + teams$$devices_split_tunnel_host, + teams$$devices_split_tunnel_include, + teams$$devices_support_url, + teams$$devices_switch_locked, + teams$$devices_tunnel_protocol, + teams$$devices_uninstall_protection, + teams$$devices_virtual_networks, } from "../outputs.js"; import { - teams_devices_allow_mode_switch, - teams_devices_allow_updates, - teams_devices_allowed_to_leave, - teams_devices_auto_connect, - teams_devices_captive_portal, - teams_devices_disable_auto_fallback, - teams_devices_dns_search_suffix, - teams_devices_dns_search_suffixes, - teams_devices_enable_device_credential_authentication, - teams_devices_exclude_office_ips, - teams_devices_exclude_request, - teams_devices_exclude_split_tunnel_with_address, - teams_devices_exclude_split_tunnel_with_host, - teams_devices_global_acceleration, - teams_devices_include_request, - teams_devices_include_split_tunnel_address, - teams_devices_include_split_tunnel_description, - teams_devices_include_split_tunnel_host, - teams_devices_include_split_tunnel_with_address, - teams_devices_include_split_tunnel_with_host, - teams_devices_lan_allow_minutes, - teams_devices_lan_allow_subnet_size, - teams_devices_register_interface_ip_with_dns, - teams_devices_sccm_vpn_boundary_support, - teams_devices_service_mode_v2, - teams_devices_split_tunnel, - teams_devices_split_tunnel_address, - teams_devices_split_tunnel_description, - teams_devices_split_tunnel_host, - teams_devices_split_tunnel_include, - teams_devices_support_url, - teams_devices_switch_locked, - teams_devices_tunnel_protocol, - teams_devices_uninstall_protection, - teams_devices_virtual_networks, + teams$$devices_allow_mode_switch as teams$$devices_allow_mode_switch$, + teams$$devices_allow_updates as teams$$devices_allow_updates$, + teams$$devices_allowed_to_leave as teams$$devices_allowed_to_leave$, + teams$$devices_auto_connect as teams$$devices_auto_connect$, + teams$$devices_captive_portal as teams$$devices_captive_portal$, + teams$$devices_disable_auto_fallback as teams$$devices_disable_auto_fallback$, + teams$$devices_dns_search_suffix as teams$$devices_dns_search_suffix$, + teams$$devices_dns_search_suffixes as teams$$devices_dns_search_suffixes$, + teams$$devices_enable_device_credential_authentication as teams$$devices_enable_device_credential_authentication$, + teams$$devices_exclude_office_ips as teams$$devices_exclude_office_ips$, + teams$$devices_exclude_request, + teams$$devices_exclude_split_tunnel_with_address as teams$$devices_exclude_split_tunnel_with_address$, + teams$$devices_exclude_split_tunnel_with_host as teams$$devices_exclude_split_tunnel_with_host$, + teams$$devices_global_acceleration as teams$$devices_global_acceleration$, + teams$$devices_include_request, + teams$$devices_include_split_tunnel_address as teams$$devices_include_split_tunnel_address$, + teams$$devices_include_split_tunnel_description as teams$$devices_include_split_tunnel_description$, + teams$$devices_include_split_tunnel_host as teams$$devices_include_split_tunnel_host$, + teams$$devices_include_split_tunnel_with_address as teams$$devices_include_split_tunnel_with_address$, + teams$$devices_include_split_tunnel_with_host as teams$$devices_include_split_tunnel_with_host$, + teams$$devices_lan_allow_minutes, + teams$$devices_lan_allow_subnet_size, + teams$$devices_register_interface_ip_with_dns as teams$$devices_register_interface_ip_with_dns$, + teams$$devices_sccm_vpn_boundary_support as teams$$devices_sccm_vpn_boundary_support$, + teams$$devices_service_mode_v2 as teams$$devices_service_mode_v2$, + teams$$devices_split_tunnel as teams$$devices_split_tunnel$, + teams$$devices_split_tunnel_address as teams$$devices_split_tunnel_address$, + teams$$devices_split_tunnel_description as teams$$devices_split_tunnel_description$, + teams$$devices_split_tunnel_host as teams$$devices_split_tunnel_host$, + teams$$devices_split_tunnel_include as teams$$devices_split_tunnel_include$, + teams$$devices_support_url as teams$$devices_support_url$, + teams$$devices_switch_locked as teams$$devices_switch_locked$, + teams$$devices_tunnel_protocol as teams$$devices_tunnel_protocol$, + teams$$devices_uninstall_protection as teams$$devices_uninstall_protection$, + teams$$devices_virtual_networks as teams$$devices_virtual_networks$, } from "../schemas.js"; import { - teams_devices_default_device_settings_policy_output, - teams_devices_default_device_settings_response_output, + teams$$devices_default_device_settings_policy, + teams$$devices_default_device_settings_response, } from "./outputs.js"; /** - * The tools of `zero_trust.devices.profiles.default`. + * The tools of `zeroTrust.devices.profiles.default`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_profiles_default_get", + name: "zeroTrust_devices_profiles_default_get", title: "Get the default device settings profile", description: "Fetches the default device settings profile for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, + "teams-devices_identifier": teams$$devices_identifier, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_default_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default_device_settings_policy": teams_devices_default_device_settings_policy_output, - "teams-devices_default_device_settings_response": teams_devices_default_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default_device_settings_policy": teams$$devices_default_device_settings_policy, + "teams-devices_default_device_settings_response": teams$$devices_default_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, annotations: { @@ -182,51 +190,51 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default_device_settings_policy": teams_devices_default_device_settings_policy_output, - "teams-devices_default_device_settings_response": teams_devices_default_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default_device_settings_policy": teams$$devices_default_device_settings_policy, + "teams-devices_default_device_settings_response": teams$$devices_default_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, request: (args) => ({ @@ -234,15 +242,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_profiles_default_update", + name: "zeroTrust_devices_profiles_default_update", title: "Update the default device settings profile", description: "Updates the default device settings profile for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "properties": { "allow_mode_switch": { @@ -349,98 +354,109 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch, - "teams-devices_allow_updates": teams_devices_allow_updates, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave, - "teams-devices_auto_connect": teams_devices_auto_connect, - "teams-devices_captive_portal": teams_devices_captive_portal, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips, - "teams-devices_exclude_request": teams_devices_exclude_request, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host, - "teams-devices_global_acceleration": teams_devices_global_acceleration, - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_include_request": teams_devices_include_request, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host, - "teams-devices_lan_allow_minutes": teams_devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams_devices_lan_allow_subnet_size, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2, - "teams-devices_split_tunnel": teams_devices_split_tunnel, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include, - "teams-devices_support_url": teams_devices_support_url, - "teams-devices_switch_locked": teams_devices_switch_locked, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection, - "teams-devices_virtual_networks": teams_devices_virtual_networks, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch$, + "teams-devices_allow_updates": teams$$devices_allow_updates$, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave$, + "teams-devices_auto_connect": teams$$devices_auto_connect$, + "teams-devices_captive_portal": teams$$devices_captive_portal$, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback$, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix$, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes$, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication$, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips$, + "teams-devices_exclude_request": teams$$devices_exclude_request, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address$, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host$, + "teams-devices_global_acceleration": teams$$devices_global_acceleration$, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_include_request": teams$$devices_include_request, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address$, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description$, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host$, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address$, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host$, + "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, + "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns$, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support$, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2$, + "teams-devices_split_tunnel": teams$$devices_split_tunnel$, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address$, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description$, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host$, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include$, + "teams-devices_support_url": teams$$devices_support_url$, + "teams-devices_switch_locked": teams$$devices_switch_locked$, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol$, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection$, + "teams-devices_virtual_networks": teams$$devices_virtual_networks$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_default_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default_device_settings_policy": teams_devices_default_device_settings_policy_output, - "teams-devices_default_device_settings_response": teams_devices_default_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default_device_settings_policy": teams$$devices_default_device_settings_policy, + "teams-devices_default_device_settings_response": teams$$devices_default_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, annotations: { @@ -467,51 +483,51 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams_devices_allow_mode_switch_output, - "teams-devices_allow_updates": teams_devices_allow_updates_output, - "teams-devices_allowed_to_leave": teams_devices_allowed_to_leave_output, - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_auto_connect": teams_devices_auto_connect_output, - "teams-devices_captive_portal": teams_devices_captive_portal_output, - "teams-devices_default_device_settings_policy": teams_devices_default_device_settings_policy_output, - "teams-devices_default_device_settings_response": teams_devices_default_device_settings_response_output, - "teams-devices_disable_auto_fallback": teams_devices_disable_auto_fallback_output, - "teams-devices_dns_search_suffix": teams_devices_dns_search_suffix_output, - "teams-devices_dns_search_suffixes": teams_devices_dns_search_suffixes_output, - "teams-devices_enable_device_credential_authentication": teams_devices_enable_device_credential_authentication_output, - "teams-devices_exclude": teams_devices_exclude_output, - "teams-devices_exclude_office_ips": teams_devices_exclude_office_ips_output, - "teams-devices_exclude_split_tunnel_with_address": teams_devices_exclude_split_tunnel_with_address_output, - "teams-devices_exclude_split_tunnel_with_host": teams_devices_exclude_split_tunnel_with_host_output, - "teams-devices_fallback_domain": teams_devices_fallback_domain_output, - "teams-devices_fallback_domains": teams_devices_fallback_domains_output, - "teams-devices_gateway_unique_id": teams_devices_gateway_unique_id_output, - "teams-devices_global_acceleration": teams_devices_global_acceleration_output, - "teams-devices_include": teams_devices_include_output, - "teams-devices_include_split_tunnel_address": teams_devices_include_split_tunnel_address_output, - "teams-devices_include_split_tunnel_description": teams_devices_include_split_tunnel_description_output, - "teams-devices_include_split_tunnel_host": teams_devices_include_split_tunnel_host_output, - "teams-devices_include_split_tunnel_with_address": teams_devices_include_split_tunnel_with_address_output, - "teams-devices_include_split_tunnel_with_host": teams_devices_include_split_tunnel_with_host_output, - "teams-devices_ip": teams_devices_ip_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_profile_type": teams_devices_profile_type_output, - "teams-devices_register_interface_ip_with_dns": teams_devices_register_interface_ip_with_dns_output, - "teams-devices_sccm_vpn_boundary_support": teams_devices_sccm_vpn_boundary_support_output, - "teams-devices_schemas-uuid": teams_devices_schemas_uuid_output, - "teams-devices_service_mode_v2": teams_devices_service_mode_v2_output, - "teams-devices_split_tunnel": teams_devices_split_tunnel_output, - "teams-devices_split_tunnel_address": teams_devices_split_tunnel_address_output, - "teams-devices_split_tunnel_description": teams_devices_split_tunnel_description_output, - "teams-devices_split_tunnel_host": teams_devices_split_tunnel_host_output, - "teams-devices_split_tunnel_include": teams_devices_split_tunnel_include_output, - "teams-devices_support_url": teams_devices_support_url_output, - "teams-devices_switch_locked": teams_devices_switch_locked_output, - "teams-devices_tunnel_protocol": teams_devices_tunnel_protocol_output, - "teams-devices_uninstall_protection": teams_devices_uninstall_protection_output, - "teams-devices_virtual_networks": teams_devices_virtual_networks_output, + "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, + "teams-devices_allow_updates": teams$$devices_allow_updates, + "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_auto_connect": teams$$devices_auto_connect, + "teams-devices_captive_portal": teams$$devices_captive_portal, + "teams-devices_default_device_settings_policy": teams$$devices_default_device_settings_policy, + "teams-devices_default_device_settings_response": teams$$devices_default_device_settings_response, + "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, + "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, + "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, + "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, + "teams-devices_exclude": teams$$devices_exclude, + "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, + "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, + "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, + "teams-devices_fallback_domain": teams$$devices_fallback_domain, + "teams-devices_fallback_domains": teams$$devices_fallback_domains, + "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, + "teams-devices_global_acceleration": teams$$devices_global_acceleration, + "teams-devices_include": teams$$devices_include, + "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, + "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, + "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, + "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, + "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, + "teams-devices_ip": teams$$devices_ip, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_profile_type": teams$$devices_profile_type, + "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, + "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, + "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, + "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, + "teams-devices_split_tunnel": teams$$devices_split_tunnel, + "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, + "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, + "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, + "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, + "teams-devices_support_url": teams$$devices_support_url, + "teams-devices_switch_locked": teams$$devices_switch_locked, + "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, + "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, + "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts index 15ddefa4a..86c0aaad6 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts @@ -6,49 +6,49 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_allow_mode_switch` in responses. */ -export const teams_devices_allow_mode_switch_output: JsonSchema = { +export const teams$$devices_allow_mode_switch: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_allow_updates` in responses. */ -export const teams_devices_allow_updates_output: JsonSchema = { +export const teams$$devices_allow_updates: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_allowed_to_leave` in responses. */ -export const teams_devices_allowed_to_leave_output: JsonSchema = { +export const teams$$devices_allowed_to_leave: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_auto_connect` in responses. */ -export const teams_devices_auto_connect_output: JsonSchema = { +export const teams$$devices_auto_connect: JsonSchema = { "type": "number" }; /** * The schema of `teams-devices_captive_portal` in responses. */ -export const teams_devices_captive_portal_output: JsonSchema = { +export const teams$$devices_captive_portal: JsonSchema = { "type": "number" }; /** * The schema of `teams-devices_disable_auto_fallback` in responses. */ -export const teams_devices_disable_auto_fallback_output: JsonSchema = { +export const teams$$devices_disable_auto_fallback: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_dns_search_suffix` in responses. */ -export const teams_devices_dns_search_suffix_output: JsonSchema = { +export const teams$$devices_dns_search_suffix: JsonSchema = { "properties": { "description": { "type": "string" @@ -66,7 +66,7 @@ export const teams_devices_dns_search_suffix_output: JsonSchema = { /** * The schema of `teams-devices_dns_search_suffixes` in responses. */ -export const teams_devices_dns_search_suffixes_output: JsonSchema = { +export const teams$$devices_dns_search_suffixes: JsonSchema = { "items": { "$ref": "#/$defs/teams-devices_dns_search_suffix" }, @@ -77,14 +77,14 @@ export const teams_devices_dns_search_suffixes_output: JsonSchema = { * The schema of `teams-devices_enable_device_credential_authentication` in * responses. */ -export const teams_devices_enable_device_credential_authentication_output: JsonSchema = { +export const teams$$devices_enable_device_credential_authentication: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_exclude` in responses. */ -export const teams_devices_exclude_output: JsonSchema = { +export const teams$$devices_exclude: JsonSchema = { "items": { "$ref": "#/$defs/teams-devices_split_tunnel" }, @@ -94,14 +94,14 @@ export const teams_devices_exclude_output: JsonSchema = { /** * The schema of `teams-devices_exclude_office_ips` in responses. */ -export const teams_devices_exclude_office_ips_output: JsonSchema = { +export const teams$$devices_exclude_office_ips: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_exclude_split_tunnel_with_address` in responses. */ -export const teams_devices_exclude_split_tunnel_with_address_output: JsonSchema = { +export const teams$$devices_exclude_split_tunnel_with_address: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/teams-devices_split_tunnel_address" @@ -119,7 +119,7 @@ export const teams_devices_exclude_split_tunnel_with_address_output: JsonSchema /** * The schema of `teams-devices_exclude_split_tunnel_with_host` in responses. */ -export const teams_devices_exclude_split_tunnel_with_host_output: JsonSchema = { +export const teams$$devices_exclude_split_tunnel_with_host: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/teams-devices_split_tunnel_description" @@ -137,7 +137,7 @@ export const teams_devices_exclude_split_tunnel_with_host_output: JsonSchema = { /** * The schema of `teams-devices_fallback_domain` in responses. */ -export const teams_devices_fallback_domain_output: JsonSchema = { +export const teams$$devices_fallback_domain: JsonSchema = { "properties": { "description": { "type": "string" @@ -161,7 +161,7 @@ export const teams_devices_fallback_domain_output: JsonSchema = { /** * The schema of `teams-devices_fallback_domains` in responses. */ -export const teams_devices_fallback_domains_output: JsonSchema = { +export const teams$$devices_fallback_domains: JsonSchema = { "items": { "$ref": "#/$defs/teams-devices_fallback_domain" }, @@ -171,14 +171,14 @@ export const teams_devices_fallback_domains_output: JsonSchema = { /** * The schema of `teams-devices_gateway_unique_id` in responses. */ -export const teams_devices_gateway_unique_id_output: JsonSchema = { +export const teams$$devices_gateway_unique_id: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_global_acceleration` in responses. */ -export const teams_devices_global_acceleration_output: JsonSchema = { +export const teams$$devices_global_acceleration: JsonSchema = { "oneOf": [ { "properties": { @@ -230,7 +230,7 @@ export const teams_devices_global_acceleration_output: JsonSchema = { /** * The schema of `teams-devices_include` in responses. */ -export const teams_devices_include_output: JsonSchema = { +export const teams$$devices_include: JsonSchema = { "items": { "$ref": "#/$defs/teams-devices_split_tunnel_include" }, @@ -240,28 +240,28 @@ export const teams_devices_include_output: JsonSchema = { /** * The schema of `teams-devices_include_split_tunnel_address` in responses. */ -export const teams_devices_include_split_tunnel_address_output: JsonSchema = { +export const teams$$devices_include_split_tunnel_address: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_include_split_tunnel_description` in responses. */ -export const teams_devices_include_split_tunnel_description_output: JsonSchema = { +export const teams$$devices_include_split_tunnel_description: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_include_split_tunnel_host` in responses. */ -export const teams_devices_include_split_tunnel_host_output: JsonSchema = { +export const teams$$devices_include_split_tunnel_host: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_include_split_tunnel_with_address` in responses. */ -export const teams_devices_include_split_tunnel_with_address_output: JsonSchema = { +export const teams$$devices_include_split_tunnel_with_address: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/teams-devices_include_split_tunnel_address" @@ -279,7 +279,7 @@ export const teams_devices_include_split_tunnel_with_address_output: JsonSchema /** * The schema of `teams-devices_include_split_tunnel_with_host` in responses. */ -export const teams_devices_include_split_tunnel_with_host_output: JsonSchema = { +export const teams$$devices_include_split_tunnel_with_host: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/teams-devices_include_split_tunnel_description" @@ -297,28 +297,28 @@ export const teams_devices_include_split_tunnel_with_host_output: JsonSchema = { /** * The schema of `teams-devices_ip` in responses. */ -export const teams_devices_ip_output: JsonSchema = { +export const teams$$devices_ip: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_lan_allow_minutes` in responses. */ -export const teams_devices_lan_allow_minutes_output: JsonSchema = { +export const teams$$devices_lan_allow_minutes: JsonSchema = { "type": "number" }; /** * The schema of `teams-devices_lan_allow_subnet_size` in responses. */ -export const teams_devices_lan_allow_subnet_size_output: JsonSchema = { +export const teams$$devices_lan_allow_subnet_size: JsonSchema = { "type": "number" }; /** * The schema of `teams-devices_profile_type` in responses. */ -export const teams_devices_profile_type_output: JsonSchema = { +export const teams$$devices_profile_type: JsonSchema = { "enum": [ "warp", "browser_extension" @@ -329,28 +329,28 @@ export const teams_devices_profile_type_output: JsonSchema = { /** * The schema of `teams-devices_register_interface_ip_with_dns` in responses. */ -export const teams_devices_register_interface_ip_with_dns_output: JsonSchema = { +export const teams$$devices_register_interface_ip_with_dns: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_sccm_vpn_boundary_support` in responses. */ -export const teams_devices_sccm_vpn_boundary_support_output: JsonSchema = { +export const teams$$devices_sccm_vpn_boundary_support: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_schemas-uuid` in responses. */ -export const teams_devices_schemas_uuid_output: JsonSchema = { +export const teams$$devices_schemas$$uuid: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_service_mode_v2` in responses. */ -export const teams_devices_service_mode_v2_output: JsonSchema = { +export const teams$$devices_service_mode_v2: JsonSchema = { "properties": { "mode": { "type": "string" @@ -365,7 +365,7 @@ export const teams_devices_service_mode_v2_output: JsonSchema = { /** * The schema of `teams-devices_split_tunnel` in responses. */ -export const teams_devices_split_tunnel_output: JsonSchema = { +export const teams$$devices_split_tunnel: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/teams-devices_exclude_split_tunnel_with_address" @@ -379,28 +379,28 @@ export const teams_devices_split_tunnel_output: JsonSchema = { /** * The schema of `teams-devices_split_tunnel_address` in responses. */ -export const teams_devices_split_tunnel_address_output: JsonSchema = { +export const teams$$devices_split_tunnel_address: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_split_tunnel_description` in responses. */ -export const teams_devices_split_tunnel_description_output: JsonSchema = { +export const teams$$devices_split_tunnel_description: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_split_tunnel_host` in responses. */ -export const teams_devices_split_tunnel_host_output: JsonSchema = { +export const teams$$devices_split_tunnel_host: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_split_tunnel_include` in responses. */ -export const teams_devices_split_tunnel_include_output: JsonSchema = { +export const teams$$devices_split_tunnel_include: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/teams-devices_include_split_tunnel_with_address" @@ -414,35 +414,35 @@ export const teams_devices_split_tunnel_include_output: JsonSchema = { /** * The schema of `teams-devices_support_url` in responses. */ -export const teams_devices_support_url_output: JsonSchema = { +export const teams$$devices_support_url: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_switch_locked` in responses. */ -export const teams_devices_switch_locked_output: JsonSchema = { +export const teams$$devices_switch_locked: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_tunnel_protocol` in responses. */ -export const teams_devices_tunnel_protocol_output: JsonSchema = { +export const teams$$devices_tunnel_protocol: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_uninstall_protection` in responses. */ -export const teams_devices_uninstall_protection_output: JsonSchema = { +export const teams$$devices_uninstall_protection: JsonSchema = { "type": "boolean" }; /** * The schema of `teams-devices_virtual_networks` in responses. */ -export const teams_devices_virtual_networks_output: JsonSchema = { +export const teams$$devices_virtual_networks: JsonSchema = { "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/schemas.ts index cba044418..95a2687ec 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_allow_mode_switch`. */ -export const teams_devices_allow_mode_switch: JsonSchema = { +export const teams$$devices_allow_mode_switch: JsonSchema = { "description": "Whether to allow the user to switch WARP between modes.", "type": "boolean" }; @@ -14,7 +14,7 @@ export const teams_devices_allow_mode_switch: JsonSchema = { /** * The schema of `teams-devices_allow_updates`. */ -export const teams_devices_allow_updates: JsonSchema = { +export const teams$$devices_allow_updates: JsonSchema = { "description": "Whether to receive update notifications when a new version of the client is available.", "type": "boolean" }; @@ -22,7 +22,7 @@ export const teams_devices_allow_updates: JsonSchema = { /** * The schema of `teams-devices_allowed_to_leave`. */ -export const teams_devices_allowed_to_leave: JsonSchema = { +export const teams$$devices_allowed_to_leave: JsonSchema = { "description": "Whether to allow devices to leave the organization.", "type": "boolean" }; @@ -30,7 +30,7 @@ export const teams_devices_allowed_to_leave: JsonSchema = { /** * The schema of `teams-devices_auto_connect`. */ -export const teams_devices_auto_connect: JsonSchema = { +export const teams$$devices_auto_connect: JsonSchema = { "description": "The amount of time in seconds to reconnect after having been disabled.", "type": "number" }; @@ -38,7 +38,7 @@ export const teams_devices_auto_connect: JsonSchema = { /** * The schema of `teams-devices_captive_portal`. */ -export const teams_devices_captive_portal: JsonSchema = { +export const teams$$devices_captive_portal: JsonSchema = { "description": "Turn on the captive portal after the specified amount of time.", "type": "number" }; @@ -46,7 +46,7 @@ export const teams_devices_captive_portal: JsonSchema = { /** * The schema of `teams-devices_disable_auto_fallback`. */ -export const teams_devices_disable_auto_fallback: JsonSchema = { +export const teams$$devices_disable_auto_fallback: JsonSchema = { "description": "If the `dns_server` field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to `true`.", "type": "boolean" }; @@ -54,7 +54,7 @@ export const teams_devices_disable_auto_fallback: JsonSchema = { /** * The schema of `teams-devices_dns_search_suffix`. */ -export const teams_devices_dns_search_suffix: JsonSchema = { +export const teams$$devices_dns_search_suffix: JsonSchema = { "properties": { "description": { "description": "A description of the DNS search suffix.", @@ -74,7 +74,7 @@ export const teams_devices_dns_search_suffix: JsonSchema = { /** * The schema of `teams-devices_dns_search_suffixes`. */ -export const teams_devices_dns_search_suffixes: JsonSchema = { +export const teams$$devices_dns_search_suffixes: JsonSchema = { "description": "List of DNS search suffixes to apply to clients. Suffixes are evaluated in order. Use an empty array to clear.", "items": { "$ref": "#/$defs/teams-devices_dns_search_suffix" @@ -85,7 +85,7 @@ export const teams_devices_dns_search_suffixes: JsonSchema = { /** * The schema of `teams-devices_enable_device_credential_authentication`. */ -export const teams_devices_enable_device_credential_authentication: JsonSchema = { +export const teams$$devices_enable_device_credential_authentication: JsonSchema = { "description": "Determines whether the WARP client can silently reauthenticate the user with device credentials (Microsoft Entra) instead of prompting for browser-based reauthentication.", "type": "boolean" }; @@ -93,7 +93,7 @@ export const teams_devices_enable_device_credential_authentication: JsonSchema = /** * The schema of `teams-devices_exclude_office_ips`. */ -export const teams_devices_exclude_office_ips: JsonSchema = { +export const teams$$devices_exclude_office_ips: JsonSchema = { "description": "Whether to add Microsoft IPs to Split Tunnel exclusions.", "type": "boolean" }; @@ -101,7 +101,7 @@ export const teams_devices_exclude_office_ips: JsonSchema = { /** * The schema of `teams-devices_exclude_request`. */ -export const teams_devices_exclude_request: JsonSchema = { +export const teams$$devices_exclude_request: JsonSchema = { "description": "List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.", "items": { "$ref": "#/$defs/teams-devices_split_tunnel" @@ -112,7 +112,7 @@ export const teams_devices_exclude_request: JsonSchema = { /** * The schema of `teams-devices_exclude_split_tunnel_with_address`. */ -export const teams_devices_exclude_split_tunnel_with_address: JsonSchema = { +export const teams$$devices_exclude_split_tunnel_with_address: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/teams-devices_split_tunnel_address", @@ -132,7 +132,7 @@ export const teams_devices_exclude_split_tunnel_with_address: JsonSchema = { /** * The schema of `teams-devices_exclude_split_tunnel_with_host`. */ -export const teams_devices_exclude_split_tunnel_with_host: JsonSchema = { +export const teams$$devices_exclude_split_tunnel_with_host: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/teams-devices_split_tunnel_description", @@ -152,7 +152,7 @@ export const teams_devices_exclude_split_tunnel_with_host: JsonSchema = { /** * The schema of `teams-devices_global_acceleration`. */ -export const teams_devices_global_acceleration: JsonSchema = { +export const teams$$devices_global_acceleration: JsonSchema = { "description": "Global Acceleration settings for China. When configured, WARP clients connect to the Global Accelerator addresses instead of the default ones. Please contact your account representative to enable this feature on your account. See https://developers.cloudflare.com/china-network/concepts/global-acceleration/.", "oneOf": [ { @@ -213,7 +213,7 @@ export const teams_devices_global_acceleration: JsonSchema = { /** * The schema of `teams-devices_include_request`. */ -export const teams_devices_include_request: JsonSchema = { +export const teams$$devices_include_request: JsonSchema = { "description": "List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request.", "items": { "$ref": "#/$defs/teams-devices_split_tunnel_include" @@ -224,7 +224,7 @@ export const teams_devices_include_request: JsonSchema = { /** * The schema of `teams-devices_include_split_tunnel_address`. */ -export const teams_devices_include_split_tunnel_address: JsonSchema = { +export const teams$$devices_include_split_tunnel_address: JsonSchema = { "description": "The address in CIDR format to include in the tunnel. If `address` is present, `host` must not be present.", "type": "string" }; @@ -232,7 +232,7 @@ export const teams_devices_include_split_tunnel_address: JsonSchema = { /** * The schema of `teams-devices_include_split_tunnel_description`. */ -export const teams_devices_include_split_tunnel_description: JsonSchema = { +export const teams$$devices_include_split_tunnel_description: JsonSchema = { "description": "A description of the Split Tunnel item, displayed in the client UI.", "type": "string" }; @@ -240,7 +240,7 @@ export const teams_devices_include_split_tunnel_description: JsonSchema = { /** * The schema of `teams-devices_include_split_tunnel_host`. */ -export const teams_devices_include_split_tunnel_host: JsonSchema = { +export const teams$$devices_include_split_tunnel_host: JsonSchema = { "description": "The domain name to include in the tunnel. If `host` is present, `address` must not be present.", "type": "string" }; @@ -248,7 +248,7 @@ export const teams_devices_include_split_tunnel_host: JsonSchema = { /** * The schema of `teams-devices_include_split_tunnel_with_address`. */ -export const teams_devices_include_split_tunnel_with_address: JsonSchema = { +export const teams$$devices_include_split_tunnel_with_address: JsonSchema = { "properties": { "address": { "$ref": "#/$defs/teams-devices_include_split_tunnel_address", @@ -268,7 +268,7 @@ export const teams_devices_include_split_tunnel_with_address: JsonSchema = { /** * The schema of `teams-devices_include_split_tunnel_with_host`. */ -export const teams_devices_include_split_tunnel_with_host: JsonSchema = { +export const teams$$devices_include_split_tunnel_with_host: JsonSchema = { "properties": { "description": { "$ref": "#/$defs/teams-devices_include_split_tunnel_description", @@ -288,7 +288,7 @@ export const teams_devices_include_split_tunnel_with_host: JsonSchema = { /** * The schema of `teams-devices_lan_allow_minutes`. */ -export const teams_devices_lan_allow_minutes: JsonSchema = { +export const teams$$devices_lan_allow_minutes: JsonSchema = { "description": "The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.", "type": "number" }; @@ -296,7 +296,7 @@ export const teams_devices_lan_allow_minutes: JsonSchema = { /** * The schema of `teams-devices_lan_allow_subnet_size`. */ -export const teams_devices_lan_allow_subnet_size: JsonSchema = { +export const teams$$devices_lan_allow_subnet_size: JsonSchema = { "description": "The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.", "type": "number" }; @@ -304,7 +304,7 @@ export const teams_devices_lan_allow_subnet_size: JsonSchema = { /** * The schema of `teams-devices_profile_type`. */ -export const teams_devices_profile_type: JsonSchema = { +export const teams$$devices_profile_type: JsonSchema = { "description": "The client type to which the device settings profile applies. This field is set when the profile is created and cannot be changed.", "enum": [ "warp", @@ -316,7 +316,7 @@ export const teams_devices_profile_type: JsonSchema = { /** * The schema of `teams-devices_register_interface_ip_with_dns`. */ -export const teams_devices_register_interface_ip_with_dns: JsonSchema = { +export const teams$$devices_register_interface_ip_with_dns: JsonSchema = { "description": "Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.", "type": "boolean" }; @@ -324,7 +324,7 @@ export const teams_devices_register_interface_ip_with_dns: JsonSchema = { /** * The schema of `teams-devices_sccm_vpn_boundary_support`. */ -export const teams_devices_sccm_vpn_boundary_support: JsonSchema = { +export const teams$$devices_sccm_vpn_boundary_support: JsonSchema = { "description": "Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only).", "type": "boolean" }; @@ -332,14 +332,14 @@ export const teams_devices_sccm_vpn_boundary_support: JsonSchema = { /** * The schema of `teams-devices_schemas-uuid`. */ -export const teams_devices_schemas_uuid: JsonSchema = { +export const teams$$devices_schemas$$uuid: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_service_mode_v2`. */ -export const teams_devices_service_mode_v2: JsonSchema = { +export const teams$$devices_service_mode_v2: JsonSchema = { "properties": { "mode": { "description": "The mode to run the WARP client under.", @@ -356,7 +356,7 @@ export const teams_devices_service_mode_v2: JsonSchema = { /** * The schema of `teams-devices_split_tunnel`. */ -export const teams_devices_split_tunnel: JsonSchema = { +export const teams$$devices_split_tunnel: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/teams-devices_exclude_split_tunnel_with_address" @@ -370,7 +370,7 @@ export const teams_devices_split_tunnel: JsonSchema = { /** * The schema of `teams-devices_split_tunnel_address`. */ -export const teams_devices_split_tunnel_address: JsonSchema = { +export const teams$$devices_split_tunnel_address: JsonSchema = { "description": "The address in CIDR format to exclude from the tunnel. If `address` is present, `host` must not be present.", "type": "string" }; @@ -378,7 +378,7 @@ export const teams_devices_split_tunnel_address: JsonSchema = { /** * The schema of `teams-devices_split_tunnel_description`. */ -export const teams_devices_split_tunnel_description: JsonSchema = { +export const teams$$devices_split_tunnel_description: JsonSchema = { "description": "A description of the Split Tunnel item, displayed in the client UI.", "type": "string" }; @@ -386,7 +386,7 @@ export const teams_devices_split_tunnel_description: JsonSchema = { /** * The schema of `teams-devices_split_tunnel_host`. */ -export const teams_devices_split_tunnel_host: JsonSchema = { +export const teams$$devices_split_tunnel_host: JsonSchema = { "description": "The domain name to exclude from the tunnel. If `host` is present, `address` must not be present.", "type": "string" }; @@ -394,7 +394,7 @@ export const teams_devices_split_tunnel_host: JsonSchema = { /** * The schema of `teams-devices_split_tunnel_include`. */ -export const teams_devices_split_tunnel_include: JsonSchema = { +export const teams$$devices_split_tunnel_include: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/teams-devices_include_split_tunnel_with_address" @@ -408,7 +408,7 @@ export const teams_devices_split_tunnel_include: JsonSchema = { /** * The schema of `teams-devices_support_url`. */ -export const teams_devices_support_url: JsonSchema = { +export const teams$$devices_support_url: JsonSchema = { "description": "The URL to launch when the Send Feedback button is clicked.", "type": "string" }; @@ -416,7 +416,7 @@ export const teams_devices_support_url: JsonSchema = { /** * The schema of `teams-devices_switch_locked`. */ -export const teams_devices_switch_locked: JsonSchema = { +export const teams$$devices_switch_locked: JsonSchema = { "description": "Whether to allow the user to turn off the WARP switch and disconnect the client.", "type": "boolean" }; @@ -424,7 +424,7 @@ export const teams_devices_switch_locked: JsonSchema = { /** * The schema of `teams-devices_tunnel_protocol`. */ -export const teams_devices_tunnel_protocol: JsonSchema = { +export const teams$$devices_tunnel_protocol: JsonSchema = { "description": "Determines which tunnel protocol to use.", "type": "string" }; @@ -432,7 +432,7 @@ export const teams_devices_tunnel_protocol: JsonSchema = { /** * The schema of `teams-devices_uninstall_protection`. */ -export const teams_devices_uninstall_protection: JsonSchema = { +export const teams$$devices_uninstall_protection: JsonSchema = { "description": "Determines whether uninstalling the WARP client requires an override code. (Windows only).", "type": "boolean" }; @@ -440,7 +440,7 @@ export const teams_devices_uninstall_protection: JsonSchema = { /** * The schema of `teams-devices_virtual_networks`. */ -export const teams_devices_virtual_networks: JsonSchema = { +export const teams$$devices_virtual_networks: JsonSchema = { "description": "Virtual network access settings for the device.", "oneOf": [ { diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts index b95a8ba4a..d7729d40e 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_registration` in responses. */ -export const teams_devices_registration_output: JsonSchema = { +export const teams$$devices_registration: JsonSchema = { "properties": { "created_at": { "type": "string" @@ -111,7 +111,7 @@ export const teams_devices_registration_output: JsonSchema = { /** * The schema of `teams-devices_registration_device_details` in responses. */ -export const teams_devices_registration_device_details_output: JsonSchema = { +export const teams$$devices_registration_device_details: JsonSchema = { "properties": { "client_version": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/outputs.ts index 921627b5a..b936d1d1d 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `teams-devices_override_codes` in responses. */ -export const teams_devices_override_codes_output: JsonSchema = { +export const teams$$devices_override_codes: JsonSchema = { "properties": { "disable_for_time": { "additionalProperties": { diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts index 7b70e5b47..77bf78cb2 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts @@ -3,32 +3,40 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - teams_devices_v4_error_response_output, - teams_devices_v4_response_message_output, + teams$$devices_v4_error_response, + teams$$devices_v4_response_message, } from "../../outputs.js"; -import { teams_devices_override_codes_output } from "./outputs.js"; +import { teams$$devices_override_codes } from "./outputs.js"; /** - * The tools of `zero_trust.devices.registrations.override_codes`. + * The tools of `zeroTrust.devices.registrations.overrideCodes`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_registrations_override_codes_get", + name: "zeroTrust_devices_registrations_overrideCodes_get", title: "Get override codes", description: "Fetches one-time use admin override codes for a registration. This relies on the **Admin Override** setting being enabled in your device configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "registration_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "registration_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "registration_id" + ], + "type": "object" } }, required: [ - "account_id", - "registration_id" + "path" ], }, outputSchema: { @@ -60,8 +68,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_override_codes": teams_devices_override_codes_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_override_codes": teams$$devices_override_codes, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -115,9 +123,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_override_codes": teams_devices_override_codes_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_override_codes": teams$$devices_override_codes, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts index 5197717c6..23c4ba86e 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts @@ -1,49 +1,65 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - teams_devices_components_schemas_uuid_output, - teams_devices_cursor_result_info_output, - teams_devices_email_output, - teams_devices_empty_body_output, - teams_devices_policy_summary_output, - teams_devices_registration_type_output, - teams_devices_user_output, - teams_devices_v4_error_response_output, - teams_devices_v4_response_message_output, + teams$$devices_components$$schemas$$uuid, + teams$$devices_cursor_result_info, + teams$$devices_email, + teams$$devices_empty_body, + teams$$devices_policy_summary, + teams$$devices_registration_type, + teams$$devices_user, + teams$$devices_v4_error_response, + teams$$devices_v4_response_message, } from "../outputs.js"; -import { teams_devices_registration_type } from "../schemas.js"; +import { teams$$devices_registration_type as teams$$devices_registration_type$ } from "../schemas.js"; import { - teams_devices_registration_device_details_output, - teams_devices_registration_output, + teams$$devices_registration, + teams$$devices_registration_device_details, } from "./outputs.js"; /** - * The tools of `zero_trust.devices.registrations`. + * The tools of `zeroTrust.devices.registrations`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_registrations_bulk_delete", + name: "zeroTrust_devices_registrations_bulkDelete", title: "Delete registrations", description: "Deletes a list of WARP registrations.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "id": { - "description": "A list of registration IDs to delete.", - "items": { - "type": "string" + "query": { + "properties": { + "id": { + "description": "A list of registration IDs to delete.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "required": [ + "id" + ], + "type": "object" } }, required: [ - "account_id", - "id" + "path", + "query" ], }, outputSchema: { @@ -78,9 +94,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_cursor_result_info": teams_devices_cursor_result_info_output, - "teams-devices_empty_body": teams_devices_empty_body_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, + "teams-devices_empty_body": teams$$devices_empty_body, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -136,36 +152,44 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_cursor_result_info": teams_devices_cursor_result_info_output, - "teams-devices_empty_body": teams_devices_empty_body_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, + "teams-devices_empty_body": teams$$devices_empty_body, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/registrations`, query: [ - ["id", args["id"], true], + ["id", param(args, "query", "id"), true], ], }), }, { - name: "zero_trust_devices_registrations_delete", + name: "zeroTrust_devices_registrations_delete", title: "Delete registration", description: "Deletes a WARP registration.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "registration_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "registration_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "registration_id" + ], + "type": "object" } }, required: [ - "account_id", - "registration_id" + "path" ], }, outputSchema: { @@ -196,8 +220,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_empty_body": teams_devices_empty_body_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_empty_body": teams$$devices_empty_body, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -249,9 +273,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_empty_body": teams_devices_empty_body_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_empty_body": teams$$devices_empty_body, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ @@ -259,26 +283,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_registrations_get", + name: "zeroTrust_devices_registrations_get", title: "Get registration", description: "Fetches a single WARP registration.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "include": { - "description": "Comma-separated list of additional information that should be included in the registration response. Supported values are: \"policy\".\n", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "registration_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "registration_id" + ], + "type": "object" }, - "registration_id": { - "type": "string" + "query": { + "properties": { + "include": { + "description": "Comma-separated list of additional information that should be included in the registration response. Supported values are: \"policy\".\n", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "registration_id" + "path" ], }, outputSchema: { @@ -310,14 +347,14 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration": teams_devices_registration_output, - "teams-devices_registration_device_details": teams_devices_registration_device_details_output, - "teams-devices_registration_type": teams_devices_registration_type_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_email": teams$$devices_email, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration": teams$$devices_registration, + "teams-devices_registration_device_details": teams$$devices_registration_device_details, + "teams-devices_registration_type": teams$$devices_registration_type, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -365,119 +402,132 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration": teams_devices_registration_output, - "teams-devices_registration_device_details": teams_devices_registration_device_details_output, - "teams-devices_registration_type": teams_devices_registration_type_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_email": teams$$devices_email, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration": teams$$devices_registration, + "teams-devices_registration_device_details": teams$$devices_registration_device_details, + "teams-devices_registration_type": teams$$devices_registration_type, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/registrations/${pathParam(args, "registration_id")}`, query: [ - ["include", args["include"], true], + ["include", param(args, "query", "include"), true], ], }), }, { - name: "zero_trust_devices_registrations_list", + name: "zeroTrust_devices_registrations_list", title: "List registrations", description: "Lists WARP registrations.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "cursor": { - "description": "Opaque token indicating the starting position when requesting the next set of records. A cursor value can be obtained from the result_info.cursor field in the response.", - "type": "string" - }, - "device_id": { - "description": "Filter by WARP device ID.", - "type": "string" - }, - "id": { - "description": "Filter by registration ID.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } }, - "type": "array" - }, - "include": { - "description": "Comma-separated list of additional information that should be included in the registration response. Supported values are: \"policy\".\n", - "type": "string" - }, - "per_page": { - "description": "The maximum number of devices to return in a single response.", - "type": "integer" - }, - "policy_id": { - "description": "Filter by the ID of the device settings profile assigned to the registration.", - "format": "uuid", - "type": "string" - }, - "registration_type": { - "$ref": "#/$defs/teams-devices_registration_type", - "description": "Filter by registration client type." - }, - "search": { - "description": "Filter by registration details.", - "type": "string" - }, - "seen_after": { - "description": "Filter by the last_seen timestamp - returns only registrations last seen after this timestamp.", - "type": "string" - }, - "seen_before": { - "description": "Filter by the last_seen timestamp - returns only registrations last seen before this timestamp.", - "type": "string" - }, - "sort_by": { - "description": "The registration field to order results by.", - "enum": [ - "id", - "user.name", - "user.email", - "last_seen_at", - "created_at" - ], - "type": "string" - }, - "sort_order": { - "description": "Sort direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "status": { - "description": "Filter by registration status. Defaults to 'active'.", - "enum": [ - "active", - "all", - "revoked" + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "user_id": { - "description": "Filter by user ID.", - "items": { - "type": "string" + "query": { + "properties": { + "cursor": { + "description": "Opaque token indicating the starting position when requesting the next set of records. A cursor value can be obtained from the result_info.cursor field in the response.", + "type": "string" + }, + "device.id": { + "description": "Filter by WARP device ID.", + "type": "string" + }, + "id": { + "description": "Filter by registration ID.", + "items": { + "type": "string" + }, + "type": "array" + }, + "include": { + "description": "Comma-separated list of additional information that should be included in the registration response. Supported values are: \"policy\".\n", + "type": "string" + }, + "per_page": { + "description": "The maximum number of devices to return in a single response.", + "type": "integer" + }, + "policy.id": { + "description": "Filter by the ID of the device settings profile assigned to the registration.", + "format": "uuid", + "type": "string" + }, + "registration_type": { + "$ref": "#/$defs/teams-devices_registration_type", + "description": "Filter by registration client type." + }, + "search": { + "description": "Filter by registration details.", + "type": "string" + }, + "seen_after": { + "description": "Filter by the last_seen timestamp - returns only registrations last seen after this timestamp.", + "type": "string" + }, + "seen_before": { + "description": "Filter by the last_seen timestamp - returns only registrations last seen before this timestamp.", + "type": "string" + }, + "sort_by": { + "description": "The registration field to order results by.", + "enum": [ + "id", + "user.name", + "user.email", + "last_seen_at", + "created_at" + ], + "type": "string" + }, + "sort_order": { + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "status": { + "description": "Filter by registration status. Defaults to 'active'.", + "enum": [ + "active", + "all", + "revoked" + ], + "type": "string" + }, + "user.id": { + "description": "Filter by user ID.", + "items": { + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_registration_type": teams_devices_registration_type, + "teams-devices_registration_type": teams$$devices_registration_type$, }, }, outputSchema: { @@ -515,15 +565,15 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_cursor_result_info": teams_devices_cursor_result_info_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration": teams_devices_registration_output, - "teams-devices_registration_device_details": teams_devices_registration_device_details_output, - "teams-devices_registration_type": teams_devices_registration_type_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, + "teams-devices_email": teams$$devices_email, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration": teams$$devices_registration, + "teams-devices_registration_device_details": teams$$devices_registration_device_details, + "teams-devices_registration_type": teams$$devices_registration_type, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -577,35 +627,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_cursor_result_info": teams_devices_cursor_result_info_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration": teams_devices_registration_output, - "teams-devices_registration_device_details": teams_devices_registration_device_details_output, - "teams-devices_registration_type": teams_devices_registration_type_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, + "teams-devices_email": teams$$devices_email, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration": teams$$devices_registration, + "teams-devices_registration_device_details": teams$$devices_registration_device_details, + "teams-devices_registration_type": teams$$devices_registration_type, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/registrations`, query: [ - ["user.id", args["user_id"], true], - ["seen_after", args["seen_after"], false], - ["seen_before", args["seen_before"], false], - ["status", args["status"], false], - ["registration_type", args["registration_type"], false], - ["per_page", args["per_page"], false], - ["search", args["search"], false], - ["sort_by", args["sort_by"], false], - ["sort_order", args["sort_order"], false], - ["cursor", args["cursor"], false], - ["id", args["id"], true], - ["device.id", args["device_id"], false], - ["policy.id", args["policy_id"], false], - ["include", args["include"], true], + ["user.id", param(args, "query", "user.id"), true], + ["seen_after", param(args, "query", "seen_after"), false], + ["seen_before", param(args, "query", "seen_before"), false], + ["status", param(args, "query", "status"), false], + ["registration_type", param(args, "query", "registration_type"), false], + ["per_page", param(args, "query", "per_page"), false], + ["search", param(args, "query", "search"), false], + ["sort_by", param(args, "query", "sort_by"), false], + ["sort_order", param(args, "query", "sort_order"), false], + ["cursor", param(args, "query", "cursor"), false], + ["id", param(args, "query", "id"), true], + ["device.id", param(args, "query", "device.id"), false], + ["policy.id", param(args, "query", "policy.id"), false], + ["include", param(args, "query", "include"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/schemas.ts index e572202c9..a4c32e38f 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/schemas.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `teams-devices_identifier`. */ -export const teams_devices_identifier: JsonSchema = { +export const teams$$devices_identifier: JsonSchema = { "type": "string" }; /** * The schema of `teams-devices_physical_device_update_request`. */ -export const teams_devices_physical_device_update_request: JsonSchema = { +export const teams$$devices_physical_device_update_request: JsonSchema = { "properties": { "tags": { "additionalProperties": { @@ -29,7 +29,7 @@ export const teams_devices_physical_device_update_request: JsonSchema = { /** * The schema of `teams-devices_registration_type`. */ -export const teams_devices_registration_type: JsonSchema = { +export const teams$$devices_registration_type: JsonSchema = { "description": "The registration client type, derived from device_type.", "enum": [ "warp", @@ -41,7 +41,7 @@ export const teams_devices_registration_type: JsonSchema = { /** * The schema of `teams-devices_uuid`. */ -export const teams_devices_uuid: JsonSchema = { +export const teams$$devices_uuid: JsonSchema = { "description": "API UUID.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/devices/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/settings/outputs.ts index f092b4816..8e3ee8b36 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/settings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/settings/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `teams-devices_zero-trust-account-device-settings` in * responses. */ -export const teams_devices_zero_trust_account_device_settings_output: JsonSchema = { +export const teams$$devices_zero$$trust$$account$$device$$settings: JsonSchema = { "properties": { "disable_for_time": { "type": "number" @@ -44,7 +44,7 @@ export const teams_devices_zero_trust_account_device_settings_output: JsonSchema * The schema of `teams-devices_zero-trust-account-device-settings-response` in * responses. */ -export const teams_devices_zero_trust_account_device_settings_response_output: JsonSchema = { +export const teams$$devices_zero$$trust$$account$$device$$settings$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/teams-devices_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/devices/settings/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/settings/schemas.ts index d24053ad2..e6f8c1c97 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/settings/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/settings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `teams-devices_zero-trust-account-device-settings`. */ -export const teams_devices_zero_trust_account_device_settings: JsonSchema = { +export const teams$$devices_zero$$trust$$account$$device$$settings: JsonSchema = { "properties": { "disable_for_time": { "description": "Sets the time limit, in seconds, that a user can use an override code to bypass WARP.", diff --git a/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts index 1d6a469be..212111e7d 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts @@ -3,48 +3,56 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - teams_devices_api_response_common_failure_output, - teams_devices_api_response_common_output, - teams_devices_api_response_single_output, - teams_devices_messages_output, + teams$$devices_api$$response$$common, + teams$$devices_api$$response$$common$$failure, + teams$$devices_api$$response$$single, + teams$$devices_messages, } from "../outputs.js"; -import { teams_devices_identifier } from "../schemas.js"; +import { teams$$devices_identifier } from "../schemas.js"; import { - teams_devices_zero_trust_account_device_settings_output, - teams_devices_zero_trust_account_device_settings_response_output, + teams$$devices_zero$$trust$$account$$device$$settings, + teams$$devices_zero$$trust$$account$$device$$settings$$response, } from "./outputs.js"; -import { teams_devices_zero_trust_account_device_settings } from "./schemas.js"; +import { teams$$devices_zero$$trust$$account$$device$$settings as teams$$devices_zero$$trust$$account$$device$$settings$ } from "./schemas.js"; /** - * The tools of `zero_trust.devices.settings`. + * The tools of `zeroTrust.devices.settings`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_settings_delete", + name: "zeroTrust_devices_settings_delete", title: "Reset device settings", description: "Resets the current device settings for a Zero Trust account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, + "teams-devices_identifier": teams$$devices_identifier, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings-response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings_output, - "teams-devices_zero-trust-account-device-settings-response": teams_devices_zero_trust_account_device_settings_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_zero-trust-account-device-settings": teams$$devices_zero$$trust$$account$$device$$settings, + "teams-devices_zero-trust-account-device-settings-response": teams$$devices_zero$$trust$$account$$device$$settings$$response, }, }, annotations: { @@ -71,12 +79,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings_output, - "teams-devices_zero-trust-account-device-settings-response": teams_devices_zero_trust_account_device_settings_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_zero-trust-account-device-settings": teams$$devices_zero$$trust$$account$$device$$settings, + "teams-devices_zero-trust-account-device-settings-response": teams$$devices_zero$$trust$$account$$device$$settings$$response, }, }, request: (args) => ({ @@ -84,31 +92,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_settings_get", + name: "zeroTrust_devices_settings_get", title: "Get device settings", description: "Describes the current device settings for a Zero Trust account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, + "teams-devices_identifier": teams$$devices_identifier, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings-response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings_output, - "teams-devices_zero-trust-account-device-settings-response": teams_devices_zero_trust_account_device_settings_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_zero-trust-account-device-settings": teams$$devices_zero$$trust$$account$$device$$settings, + "teams-devices_zero-trust-account-device-settings-response": teams$$devices_zero$$trust$$account$$device$$settings$$response, }, }, annotations: { @@ -130,12 +146,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings_output, - "teams-devices_zero-trust-account-device-settings-response": teams_devices_zero_trust_account_device_settings_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_zero-trust-account-device-settings": teams$$devices_zero$$trust$$account$$device$$settings, + "teams-devices_zero-trust-account-device-settings-response": teams$$devices_zero$$trust$$account$$device$$settings$$response, }, }, request: (args) => ({ @@ -143,36 +159,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_settings_update", + name: "zeroTrust_devices_settings_update", title: "Update device settings", description: "Updates the device settings for a Zero Trust account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/teams-devices_identifier" - }, "body": { "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/teams-devices_identifier" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "teams-devices_identifier": teams_devices_identifier, - "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings, + "teams-devices_identifier": teams$$devices_identifier, + "teams-devices_zero-trust-account-device-settings": teams$$devices_zero$$trust$$account$$device$$settings$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings-response", $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings_output, - "teams-devices_zero-trust-account-device-settings-response": teams_devices_zero_trust_account_device_settings_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_zero-trust-account-device-settings": teams$$devices_zero$$trust$$account$$device$$settings, + "teams-devices_zero-trust-account-device-settings-response": teams$$devices_zero$$trust$$account$$device$$settings$$response, }, }, annotations: { @@ -199,12 +223,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_api-response-common": teams_devices_api_response_common_output, - "teams-devices_api-response-common-failure": teams_devices_api_response_common_failure_output, - "teams-devices_api-response-single": teams_devices_api_response_single_output, - "teams-devices_messages": teams_devices_messages_output, - "teams-devices_zero-trust-account-device-settings": teams_devices_zero_trust_account_device_settings_output, - "teams-devices_zero-trust-account-device-settings-response": teams_devices_zero_trust_account_device_settings_response_output, + "teams-devices_api-response-common": teams$$devices_api$$response$$common, + "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, + "teams-devices_api-response-single": teams$$devices_api$$response$$single, + "teams-devices_messages": teams$$devices_messages, + "teams-devices_zero-trust-account-device-settings": teams$$devices_zero$$trust$$account$$device$$settings, + "teams-devices_zero-trust-account-device-settings-response": teams$$devices_zero$$trust$$account$$device$$settings$$response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/tools.ts index 1b056b597..63695a2a1 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/tools.ts @@ -1,45 +1,53 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - teams_devices_components_schemas_uuid_output, - teams_devices_cursor_result_info_output, - teams_devices_email_output, - teams_devices_empty_body_output, - teams_devices_physical_device_output, - teams_devices_policy_summary_output, - teams_devices_registration_details_output, - teams_devices_user_output, - teams_devices_v4_error_response_output, - teams_devices_v4_response_message_output, + teams$$devices_components$$schemas$$uuid, + teams$$devices_cursor_result_info, + teams$$devices_email, + teams$$devices_empty_body, + teams$$devices_physical_device, + teams$$devices_policy_summary, + teams$$devices_registration_details, + teams$$devices_user, + teams$$devices_v4_error_response, + teams$$devices_v4_response_message, } from "./outputs.js"; import { - teams_devices_physical_device_update_request, - teams_devices_registration_type, + teams$$devices_physical_device_update_request, + teams$$devices_registration_type, } from "./schemas.js"; /** - * The tools of `zero_trust.devices`. + * The tools of `zeroTrust.devices`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_devices_delete", + name: "zeroTrust_devices_delete", title: "Delete device", description: "Deletes a WARP device.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "device_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "device_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "device_id" + ], + "type": "object" } }, required: [ - "account_id", - "device_id" + "path" ], }, outputSchema: { @@ -70,8 +78,8 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_empty_body": teams_devices_empty_body_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_empty_body": teams$$devices_empty_body, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -123,9 +131,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_empty_body": teams_devices_empty_body_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_empty_body": teams$$devices_empty_body, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ @@ -133,26 +141,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_devices_get", + name: "zeroTrust_devices_get", title: "Get device", description: "Fetches a single WARP device.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "device_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "device_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "device_id" + ], + "type": "object" }, - "include": { - "description": "Comma-separated list of additional information that should be included in the device response. Supported values are: \"last_seen_registration.policy\".\n", - "type": "string" + "query": { + "properties": { + "include": { + "description": "Comma-separated list of additional information that should be included in the device response. Supported values are: \"last_seen_registration.policy\".\n", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id", - "device_id" + "path" ], }, outputSchema: { @@ -184,13 +205,13 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_physical_device": teams_devices_physical_device_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration_details": teams_devices_registration_details_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_email": teams$$devices_email, + "teams-devices_physical_device": teams$$devices_physical_device, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration_details": teams$$devices_registration_details, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -238,121 +259,134 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_physical_device": teams_devices_physical_device_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration_details": teams_devices_registration_details_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_email": teams$$devices_email, + "teams-devices_physical_device": teams$$devices_physical_device, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration_details": teams$$devices_registration_details, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/physical-devices/${pathParam(args, "device_id")}`, query: [ - ["include", args["include"], true], + ["include", param(args, "query", "include"), true], ], }), }, { - name: "zero_trust_devices_list", + name: "zeroTrust_devices_list", title: "List devices", description: "Lists WARP devices.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "active_registrations": { - "description": "Include or exclude devices with active registrations. The default is \"only\" - return only devices with active registrations.", - "enum": [ - "include", - "only", - "exclude" - ], - "type": "string" - }, - "cursor": { - "description": "Opaque token indicating the starting position when requesting the next set of records. A cursor value can be obtained from the result_info.cursor field in the response.", - "type": "string" - }, - "has_registration_type": { - "$ref": "#/$defs/teams-devices_registration_type", - "description": "Filter by the type of active registration associated with the device." - }, - "id": { - "description": "Filter by a one or more device IDs.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } }, - "type": "array" - }, - "include": { - "description": "Comma-separated list of additional information that should be included in the device response. Supported values are: \"last_seen_registration.policy\".\n", - "type": "string" - }, - "last_seen_registration_policy_id": { - "description": "Filter by the ID of the device settings profile assigned to the device registration.", - "format": "uuid", - "type": "string" - }, - "last_seen_user_email": { - "description": "Filter by the last seen user's email.", - "type": "string" - }, - "per_page": { - "description": "The maximum number of devices to return in a single response.", - "type": "integer" - }, - "search": { - "description": "Search by device details.", - "type": "string" - }, - "seen_after": { - "description": "Filter by the last_seen timestamp - returns only devices last seen after this timestamp.", - "type": "string" - }, - "seen_before": { - "description": "Filter by the last_seen timestamp - returns only devices last seen before this timestamp.", - "type": "string" - }, - "sort_by": { - "description": "The device field to order results by.", - "enum": [ - "name", - "id", - "client_version", - "last_seen_user.email", - "last_seen_at", - "active_registrations", - "created_at" - ], - "type": "string" - }, - "sort_order": { - "description": "Sort direction.", - "enum": [ - "asc", - "desc" + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "tag": { - "description": "Filter by one or more device tags in key:value format. Devices must match all provided tags.", - "items": { - "type": "string" + "query": { + "properties": { + "active_registrations": { + "description": "Include or exclude devices with active registrations. The default is \"only\" - return only devices with active registrations.", + "enum": [ + "include", + "only", + "exclude" + ], + "type": "string" + }, + "cursor": { + "description": "Opaque token indicating the starting position when requesting the next set of records. A cursor value can be obtained from the result_info.cursor field in the response.", + "type": "string" + }, + "has_registration_type": { + "$ref": "#/$defs/teams-devices_registration_type", + "description": "Filter by the type of active registration associated with the device." + }, + "id": { + "description": "Filter by a one or more device IDs.", + "items": { + "type": "string" + }, + "type": "array" + }, + "include": { + "description": "Comma-separated list of additional information that should be included in the device response. Supported values are: \"last_seen_registration.policy\".\n", + "type": "string" + }, + "last_seen_registration.policy.id": { + "description": "Filter by the ID of the device settings profile assigned to the device registration.", + "format": "uuid", + "type": "string" + }, + "last_seen_user.email": { + "description": "Filter by the last seen user's email.", + "type": "string" + }, + "per_page": { + "description": "The maximum number of devices to return in a single response.", + "type": "integer" + }, + "search": { + "description": "Search by device details.", + "type": "string" + }, + "seen_after": { + "description": "Filter by the last_seen timestamp - returns only devices last seen after this timestamp.", + "type": "string" + }, + "seen_before": { + "description": "Filter by the last_seen timestamp - returns only devices last seen before this timestamp.", + "type": "string" + }, + "sort_by": { + "description": "The device field to order results by.", + "enum": [ + "name", + "id", + "client_version", + "last_seen_user.email", + "last_seen_at", + "active_registrations", + "created_at" + ], + "type": "string" + }, + "sort_order": { + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "tag": { + "description": "Filter by one or more device tags in key:value format. Devices must match all provided tags.", + "items": { + "type": "string" + }, + "maxItems": 10, + "type": "array" + } }, - "maxItems": 10, - "type": "array" + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "teams-devices_registration_type": teams_devices_registration_type, + "teams-devices_registration_type": teams$$devices_registration_type, }, }, outputSchema: { @@ -390,14 +424,14 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_cursor_result_info": teams_devices_cursor_result_info_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_physical_device": teams_devices_physical_device_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration_details": teams_devices_registration_details_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, + "teams-devices_email": teams$$devices_email, + "teams-devices_physical_device": teams$$devices_physical_device, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration_details": teams$$devices_registration_details, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -451,61 +485,69 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_cursor_result_info": teams_devices_cursor_result_info_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_physical_device": teams_devices_physical_device_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration_details": teams_devices_registration_details_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, + "teams-devices_email": teams$$devices_email, + "teams-devices_physical_device": teams$$devices_physical_device, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration_details": teams$$devices_registration_details, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/devices/physical-devices`, query: [ - ["cursor", args["cursor"], false], - ["sort_by", args["sort_by"], false], - ["sort_order", args["sort_order"], false], - ["last_seen_user.email", args["last_seen_user_email"], false], - ["seen_after", args["seen_after"], false], - ["seen_before", args["seen_before"], false], - ["per_page", args["per_page"], false], - ["search", args["search"], false], - ["active_registrations", args["active_registrations"], false], - ["has_registration_type", args["has_registration_type"], false], - ["id", args["id"], true], - ["tag", args["tag"], true], - ["last_seen_registration.policy.id", args["last_seen_registration_policy_id"], false], - ["include", args["include"], true], + ["cursor", param(args, "query", "cursor"), false], + ["sort_by", param(args, "query", "sort_by"), false], + ["sort_order", param(args, "query", "sort_order"), false], + ["last_seen_user.email", param(args, "query", "last_seen_user.email"), false], + ["seen_after", param(args, "query", "seen_after"), false], + ["seen_before", param(args, "query", "seen_before"), false], + ["per_page", param(args, "query", "per_page"), false], + ["search", param(args, "query", "search"), false], + ["active_registrations", param(args, "query", "active_registrations"), false], + ["has_registration_type", param(args, "query", "has_registration_type"), false], + ["id", param(args, "query", "id"), true], + ["tag", param(args, "query", "tag"), true], + ["last_seen_registration.policy.id", param(args, "query", "last_seen_registration.policy.id"), false], + ["include", param(args, "query", "include"), true], ], }), }, { - name: "zero_trust_devices_update", + name: "zeroTrust_devices_update", title: "Update device", description: "Updates properties of a WARP device.\n\nThis method is beta.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/teams-devices_physical_device_update_request" }, - "device_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "device_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "device_id" + ], + "type": "object" } }, required: [ - "account_id", - "device_id", + "path", "body" ], $defs: { - "teams-devices_physical_device_update_request": teams_devices_physical_device_update_request, + "teams-devices_physical_device_update_request": teams$$devices_physical_device_update_request, }, }, outputSchema: { @@ -537,13 +579,13 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_physical_device": teams_devices_physical_device_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration_details": teams_devices_registration_details_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_email": teams$$devices_email, + "teams-devices_physical_device": teams$$devices_physical_device, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration_details": teams$$devices_registration_details, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, annotations: { @@ -597,14 +639,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams_devices_components_schemas_uuid_output, - "teams-devices_email": teams_devices_email_output, - "teams-devices_physical_device": teams_devices_physical_device_output, - "teams-devices_policy_summary": teams_devices_policy_summary_output, - "teams-devices_registration_details": teams_devices_registration_details_output, - "teams-devices_user": teams_devices_user_output, - "teams-devices_v4_error_response": teams_devices_v4_error_response_output, - "teams-devices_v4_response_message": teams_devices_v4_response_message_output, + "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, + "teams-devices_email": teams$$devices_email, + "teams-devices_physical_device": teams$$devices_physical_device, + "teams-devices_policy_summary": teams$$devices_policy_summary, + "teams-devices_registration_details": teams$$devices_registration_details, + "teams-devices_user": teams$$devices_user, + "teams-devices_v4_error_response": teams$$devices_v4_error_response, + "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/colos/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/colos/outputs.ts index e62a4fcf9..0f8c03305 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/colos/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/colos/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_colos_response` in responses. */ -export const digital_experience_monitoring_colos_response_output: JsonSchema = { +export const digital$$experience$$monitoring_colos_response: JsonSchema = { "items": { "properties": { "airportCode": { diff --git a/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts index ad19b7c58..6bd6793fd 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts @@ -1,54 +1,70 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_common_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$common, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_messages, } from "../outputs.js"; -import { digital_experience_monitoring_account_identifier } from "../schemas.js"; -import { digital_experience_monitoring_colos_response_output } from "./outputs.js"; +import { digital$$experience$$monitoring_account_identifier } from "../schemas.js"; +import { digital$$experience$$monitoring_colos_response } from "./outputs.js"; /** - * The tools of `zero_trust.dex.colos`. + * The tools of `zeroTrust.dex.colos`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_colos_list", + name: "zeroTrust_dex_colos_list", title: "List Cloudflare colos", description: "List Cloudflare colos that account's devices were connected to during a time period, sorted by usage starting from the most used colo. Colos without traffic are also returned and sorted alphabetically.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "from": { - "description": "Start time for connection period in ISO (RFC3339 - ISO 8601) format.", - "type": "string" - }, - "sort_by": { - "description": "Type of usage that colos should be sorted by. If unspecified, returns all Cloudflare colos sorted alphabetically.", - "enum": [ - "fleet-status-usage", - "application-tests-usage" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "to": { - "description": "End time for connection period in ISO (RFC3339 - ISO 8601) format.", - "type": "string" + "query": { + "properties": { + "from": { + "description": "Start time for connection period in ISO (RFC3339 - ISO 8601) format.", + "type": "string" + }, + "sortBy": { + "description": "Type of usage that colos should be sorted by. If unspecified, returns all Cloudflare colos sorted alphabetically.", + "enum": [ + "fleet-status-usage", + "application-tests-usage" + ], + "type": "string" + }, + "to": { + "description": "End time for connection period in ISO (RFC3339 - ISO 8601) format.", + "type": "string" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" } }, required: [ - "account_id", - "from", - "to" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { @@ -66,9 +82,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_colos_response": digital_experience_monitoring_colos_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_colos_response": digital$$experience$$monitoring_colos_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, annotations: { @@ -110,18 +126,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_colos_response": digital_experience_monitoring_colos_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_colos_response": digital$$experience$$monitoring_colos_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/colos`, query: [ - ["from", args["from"], true], - ["to", args["to"], true], - ["sortBy", args["sort_by"], true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["sortBy", param(args, "query", "sortBy"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts index 562d70aa8..51d324261 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * The schema of `digital-experience-monitoring_commands_devices_response` in * responses. */ -export const digital_experience_monitoring_commands_devices_response_output: JsonSchema = { +export const digital$$experience$$monitoring_commands_devices_response: JsonSchema = { "properties": { "devices": { "items": { diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts index 8e0269b3b..8773f8e84 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts @@ -1,56 +1,72 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_collection_output, - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_common_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_platform_output, - digital_experience_monitoring_status_output, - digital_experience_monitoring_timestamp_output, - digital_experience_monitoring_version_output, + digital$$experience$$monitoring_api$$response$$collection, + digital$$experience$$monitoring_api$$response$$common, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_platform, + digital$$experience$$monitoring_status, + digital$$experience$$monitoring_timestamp, + digital$$experience$$monitoring_version, } from "../../outputs.js"; -import { digital_experience_monitoring_account_identifier } from "../../schemas.js"; -import { digital_experience_monitoring_commands_devices_response_output } from "./outputs.js"; +import { digital$$experience$$monitoring_account_identifier } from "../../schemas.js"; +import { digital$$experience$$monitoring_commands_devices_response } from "./outputs.js"; /** - * The tools of `zero_trust.dex.commands.eligible_devices`. + * The tools of `zeroTrust.dex.commands.eligibleDevices`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_commands_eligible_devices_list", + name: "zeroTrust_dex_commands_eligibleDevices_list", title: "List devices eligible for remote captures", description: "List devices with WARP client support for remote captures which have been connected in the last 1 hour.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "description": "Number of results per page.", - "type": "number" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "search": { - "description": "Filter devices by name or email.", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "description": "Number of results per page.", + "type": "number" + }, + "search": { + "description": "Filter devices by name or email.", + "type": "string" + } + }, + "required": [ + "page", + "per_page" + ], + "type": "object" } }, required: [ - "account_id", - "page", - "per_page" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { @@ -68,14 +84,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_commands_devices_response": digital_experience_monitoring_commands_devices_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_platform": digital_experience_monitoring_platform_output, - "digital-experience-monitoring_status": digital_experience_monitoring_status_output, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, - "digital-experience-monitoring_version": digital_experience_monitoring_version_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_commands_devices_response": digital$$experience$$monitoring_commands_devices_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, + "digital-experience-monitoring_status": digital$$experience$$monitoring_status, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, + "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, annotations: { @@ -117,23 +133,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_commands_devices_response": digital_experience_monitoring_commands_devices_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_platform": digital_experience_monitoring_platform_output, - "digital-experience-monitoring_status": digital_experience_monitoring_status_output, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, - "digital-experience-monitoring_version": digital_experience_monitoring_version_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_commands_devices_response": digital$$experience$$monitoring_commands_devices_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, + "digital-experience-monitoring_status": digital$$experience$$monitoring_status, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, + "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/commands/devices`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["search", args["search"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["search", param(args, "query", "search"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/outputs.ts index 3b337b33d..2e9db5d81 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `digital-experience-monitoring_get_commands_response` in * responses. */ -export const digital_experience_monitoring_get_commands_response_output: JsonSchema = { +export const digital$$experience$$monitoring_get_commands_response: JsonSchema = { "properties": { "commands": { "items": { @@ -68,7 +68,7 @@ export const digital_experience_monitoring_get_commands_response_output: JsonSch * The schema of `digital-experience-monitoring_post_commands_response` in * responses. */ -export const digital_experience_monitoring_post_commands_response_output: JsonSchema = { +export const digital$$experience$$monitoring_post_commands_response: JsonSchema = { "properties": { "commands": { "items": { diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/quota/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/outputs.ts index cf9caa00c..4c8a48152 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/quota/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * The schema of `digital-experience-monitoring_get_commands_quota_response` in * responses. */ -export const digital_experience_monitoring_get_commands_quota_response_output: JsonSchema = { +export const digital$$experience$$monitoring_get_commands_quota_response: JsonSchema = { "properties": { "quota": { "type": "number" diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts index 92d984386..243d0148e 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts @@ -3,35 +3,43 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_collection_output, - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_common_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$collection, + digital$$experience$$monitoring_api$$response$$common, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_messages, } from "../../outputs.js"; -import { digital_experience_monitoring_account_identifier } from "../../schemas.js"; -import { digital_experience_monitoring_get_commands_quota_response_output } from "./outputs.js"; +import { digital$$experience$$monitoring_account_identifier } from "../../schemas.js"; +import { digital$$experience$$monitoring_get_commands_quota_response } from "./outputs.js"; /** - * The tools of `zero_trust.dex.commands.quota`. + * The tools of `zeroTrust.dex.commands.quota`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_commands_quota_get", + name: "zeroTrust_dex_commands_quota_get", title: "Returns account commands usage, quota, and reset time", description: "Retrieves the current quota usage and limits for device commands within a specific account, including the time when the quota will reset", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { @@ -49,10 +57,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_get_commands_quota_response": digital_experience_monitoring_get_commands_quota_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_get_commands_quota_response": digital$$experience$$monitoring_get_commands_quota_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, annotations: { @@ -94,11 +102,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_get_commands_quota_response": digital_experience_monitoring_get_commands_quota_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_get_commands_quota_response": digital$$experience$$monitoring_get_commands_quota_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/results/schemas.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/results/schemas.ts index 020b33e84..1b5ff7b0e 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/results/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/results/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_command_id`. */ -export const digital_experience_monitoring_command_id: JsonSchema = { +export const digital$$experience$$monitoring_command_id: JsonSchema = { "description": "Unique identifier for a command", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts index 61eb39939..f8fafa7e5 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts @@ -3,44 +3,52 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_messages, } from "../../outputs.js"; -import { digital_experience_monitoring_account_identifier } from "../../schemas.js"; -import { digital_experience_monitoring_command_id } from "./schemas.js"; +import { digital$$experience$$monitoring_account_identifier } from "../../schemas.js"; +import { digital$$experience$$monitoring_command_id } from "./schemas.js"; /** - * The tools of `zero_trust.dex.commands.results`. + * The tools of `zeroTrust.dex.commands.results`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_commands_results_get", + name: "zeroTrust_dex_commands_results_get", title: "Download command output file", description: "Downloads artifacts for an executed command. Bulk downloads are not supported", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "command_id": { - "$ref": "#/$defs/digital-experience-monitoring_command_id", - "description": "Unique identifier for command." - }, - "filename": { - "description": "The name of the file to be downloaded, including the `.zip` extension.", - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "command_id": { + "$ref": "#/$defs/digital-experience-monitoring_command_id", + "description": "Unique identifier for command." + }, + "filename": { + "description": "The name of the file to be downloaded, including the `.zip` extension.", + "type": "string" + } + }, + "required": [ + "account_id", + "command_id", + "filename" + ], + "type": "object" } }, required: [ - "account_id", - "command_id", - "filename" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_command_id": digital_experience_monitoring_command_id, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_command_id": digital$$experience$$monitoring_command_id, }, }, annotations: { @@ -68,8 +76,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts index ae1e56572..fcddad13b 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts @@ -1,34 +1,30 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - digital_experience_monitoring_api_response_collection_output, - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_common_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$collection, + digital$$experience$$monitoring_api$$response$$common, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_messages, } from "../outputs.js"; -import { digital_experience_monitoring_account_identifier } from "../schemas.js"; +import { digital$$experience$$monitoring_account_identifier } from "../schemas.js"; import { - digital_experience_monitoring_get_commands_response_output, - digital_experience_monitoring_post_commands_response_output, + digital$$experience$$monitoring_get_commands_response, + digital$$experience$$monitoring_post_commands_response, } from "./outputs.js"; /** - * The tools of `zero_trust.dex.commands`. + * The tools of `zeroTrust.dex.commands`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_commands_create", + name: "zeroTrust_dex_commands_create", title: "Create account commands", description: "Initiate commands for up to 10 devices per account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, "body": { "properties": { "commands": { @@ -123,14 +119,26 @@ export const tools: readonly Tool[] = [ "commands" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { @@ -148,10 +156,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_post_commands_response": digital_experience_monitoring_post_commands_response_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_post_commands_response": digital$$experience$$monitoring_post_commands_response, }, }, annotations: { @@ -190,11 +198,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_post_commands_response": digital_experience_monitoring_post_commands_response_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_post_commands_response": digital$$experience$$monitoring_post_commands_response, }, }, request: (args) => ({ @@ -203,70 +211,86 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dex_commands_list", + name: "zeroTrust_dex_commands_list", title: "List account commands", description: "Retrieves a paginated list of commands issued to devices under the specified account, optionally filtered by time range, device, or other parameters", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "command_type": { - "description": "Optionally filter executed commands by command type.", - "enum": [ - "pcap", - "speed-test", - "warp-diag" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "device_id": { - "description": "Unique identifier for a device.", - "type": "string" - }, - "from": { - "description": "Start time for the query in ISO (RFC3339 - ISO 8601) format.", - "format": "date-time", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "description": "Number of results per page.", - "type": "number" + "type": "object" }, - "status": { - "description": "Optionally filter executed commands by status.", - "enum": [ - "PENDING_EXEC", - "PENDING_UPLOAD", - "SUCCESS", - "FAILED" + "query": { + "properties": { + "command_type": { + "description": "Optionally filter executed commands by command type.", + "enum": [ + "pcap", + "speed-test", + "warp-diag" + ], + "type": "string" + }, + "device_id": { + "description": "Unique identifier for a device.", + "type": "string" + }, + "from": { + "description": "Start time for the query in ISO (RFC3339 - ISO 8601) format.", + "format": "date-time", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "description": "Number of results per page.", + "type": "number" + }, + "status": { + "description": "Optionally filter executed commands by status.", + "enum": [ + "PENDING_EXEC", + "PENDING_UPLOAD", + "SUCCESS", + "FAILED" + ], + "type": "string" + }, + "to": { + "description": "End time for the query in ISO (RFC3339 - ISO 8601) format.", + "format": "date-time", + "type": "string" + }, + "user_email": { + "description": "Email tied to the device.", + "type": "string" + } + }, + "required": [ + "page", + "per_page" ], - "type": "string" - }, - "to": { - "description": "End time for the query in ISO (RFC3339 - ISO 8601) format.", - "format": "date-time", - "type": "string" - }, - "user_email": { - "description": "Email tied to the device.", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "page", - "per_page" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { @@ -284,10 +308,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_get_commands_response": digital_experience_monitoring_get_commands_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_get_commands_response": digital$$experience$$monitoring_get_commands_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, annotations: { @@ -329,24 +353,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_get_commands_response": digital_experience_monitoring_get_commands_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_get_commands_response": digital$$experience$$monitoring_get_commands_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/commands`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["from", args["from"], true], - ["to", args["to"], true], - ["device_id", args["device_id"], true], - ["user_email", args["user_email"], true], - ["command_type", args["command_type"], true], - ["status", args["status"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["device_id", param(args, "query", "device_id"), true], + ["user_email", param(args, "query", "user_email"), true], + ["command_type", param(args, "query", "command_type"), true], + ["status", param(args, "query", "status"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts index 9b948cb5b..c6a87660f 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; * The schema of `digital-experience-monitoring_fleet_status_live_response` in * responses. */ -export const digital_experience_monitoring_fleet_status_live_response_output: JsonSchema = { +export const digital$$experience$$monitoring_fleet_status_live_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/digital-experience-monitoring_api-response-single" @@ -101,7 +101,7 @@ export const digital_experience_monitoring_fleet_status_live_response_output: Js /** * The schema of `digital-experience-monitoring_live_stat` in responses. */ -export const digital_experience_monitoring_live_stat_output: JsonSchema = { +export const digital$$experience$$monitoring_live_stat: JsonSchema = { "properties": { "uniqueDevicesTotal": { "$ref": "#/$defs/digital-experience-monitoring_uniqueDevicesTotal" diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts index 2909c8753..4cd80c060 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts @@ -1,58 +1,74 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, } from "../../../outputs.js"; -import { digital_experience_monitoring_account_identifier } from "../../../schemas.js"; -import { digital_experience_monitoring_since_minutes } from "../../schemas.js"; -import { digital_experience_monitoring_uniqueDevicesTotal_output } from "../outputs.js"; +import { digital$$experience$$monitoring_account_identifier } from "../../../schemas.js"; +import { digital$$experience$$monitoring_since_minutes } from "../../schemas.js"; +import { digital$$experience$$monitoring_uniqueDevicesTotal } from "../outputs.js"; import { - digital_experience_monitoring_fleet_status_live_response_output, - digital_experience_monitoring_live_stat_output, + digital$$experience$$monitoring_fleet_status_live_response, + digital$$experience$$monitoring_live_stat, } from "./outputs.js"; /** - * The tools of `zero_trust.dex.devices.aggregates.live`. + * The tools of `zeroTrust.dex.devices.aggregates.live`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_devices_aggregates_live_get", + name: "zeroTrust_dex_devices_aggregates_live_get", title: "Get live aggregate device details by dimension", description: "Get details for live (up to 60 minutes) devices using WARP.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "since_minutes": { - "$ref": "#/$defs/digital-experience-monitoring_since_minutes", - "default": 10, - "description": "Number of minutes before current time." + "query": { + "properties": { + "since_minutes": { + "$ref": "#/$defs/digital-experience-monitoring_since_minutes", + "default": 10, + "description": "Number of minutes before current time." + } + }, + "required": [ + "since_minutes" + ], + "type": "object" } }, required: [ - "account_id", - "since_minutes" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_since_minutes": digital_experience_monitoring_since_minutes, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_since_minutes": digital$$experience$$monitoring_since_minutes, }, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_fleet_status_live_response", $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_fleet_status_live_response": digital_experience_monitoring_fleet_status_live_response_output, - "digital-experience-monitoring_live_stat": digital_experience_monitoring_live_stat_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uniqueDevicesTotal": digital_experience_monitoring_uniqueDevicesTotal_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_fleet_status_live_response": digital$$experience$$monitoring_fleet_status_live_response, + "digital-experience-monitoring_live_stat": digital$$experience$$monitoring_live_stat, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uniqueDevicesTotal": digital$$experience$$monitoring_uniqueDevicesTotal, }, }, annotations: { @@ -82,18 +98,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_fleet_status_live_response": digital_experience_monitoring_fleet_status_live_response_output, - "digital-experience-monitoring_live_stat": digital_experience_monitoring_live_stat_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uniqueDevicesTotal": digital_experience_monitoring_uniqueDevicesTotal_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_fleet_status_live_response": digital$$experience$$monitoring_fleet_status_live_response, + "digital-experience-monitoring_live_stat": digital$$experience$$monitoring_live_stat, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uniqueDevicesTotal": digital$$experience$$monitoring_uniqueDevicesTotal, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/fleet-status/live`, query: [ - ["since_minutes", args["since_minutes"], true], + ["since_minutes", param(args, "query", "since_minutes"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts index 370c69fef..79c4cb240 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts @@ -7,6 +7,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; * The schema of `digital-experience-monitoring_uniqueDevicesTotal` in * responses. */ -export const digital_experience_monitoring_uniqueDevicesTotal_output: JsonSchema = { +export const digital$$experience$$monitoring_uniqueDevicesTotal: JsonSchema = { "type": "number" }; diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts index a01126122..6b6c4392e 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; * The schema of `digital-experience-monitoring_fleet_status_over_time_response` * in responses. */ -export const digital_experience_monitoring_fleet_status_over_time_response_output: JsonSchema = { +export const digital$$experience$$monitoring_fleet_status_over_time_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/digital-experience-monitoring_api-response-single" @@ -49,7 +49,7 @@ export const digital_experience_monitoring_fleet_status_over_time_response_outpu * The schema of `digital-experience-monitoring_schemas-aggregate_stat` in * responses. */ -export const digital_experience_monitoring_schemas_aggregate_stat_output: JsonSchema = { +export const digital$$experience$$monitoring_schemas$$aggregate_stat: JsonSchema = { "properties": { "timestamp": { "$ref": "#/$defs/digital-experience-monitoring_timestamp" diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts index 550d396fa..e40fe0338 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts @@ -1,78 +1,94 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_timestamp_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_timestamp, } from "../../../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_colo, - digital_experience_monitoring_timestamp, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_colo, + digital$$experience$$monitoring_timestamp as digital$$experience$$monitoring_timestamp$, } from "../../../schemas.js"; -import { digital_experience_monitoring_device_id } from "../../schemas.js"; -import { digital_experience_monitoring_uniqueDevicesTotal_output } from "../outputs.js"; +import { digital$$experience$$monitoring_device_id } from "../../schemas.js"; +import { digital$$experience$$monitoring_uniqueDevicesTotal } from "../outputs.js"; import { - digital_experience_monitoring_fleet_status_over_time_response_output, - digital_experience_monitoring_schemas_aggregate_stat_output, + digital$$experience$$monitoring_fleet_status_over_time_response, + digital$$experience$$monitoring_schemas$$aggregate_stat, } from "./outputs.js"; /** - * The tools of `zero_trust.dex.devices.aggregates.over_time`. + * The tools of `zeroTrust.dex.devices.aggregates.overTime`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_devices_aggregates_over_time_get", + name: "zeroTrust_dex_devices_aggregates_overTime_get", title: "Get over time aggregate details for devices by dimension", description: "Get aggregate details for devices using WARP, up to 7 days.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo", - "description": "Cloudflare colo airport code." - }, - "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_device_id", - "description": "Device-specific ID, given as UUID." - }, - "from": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." - }, - "to": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + "query": { + "properties": { + "colo": { + "$ref": "#/$defs/digital-experience-monitoring_colo", + "description": "Cloudflare colo airport code." + }, + "device_id": { + "$ref": "#/$defs/digital-experience-monitoring_device_id", + "description": "Device-specific ID, given as UUID." + }, + "from": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp", + "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + }, + "to": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp", + "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + } + }, + "required": [ + "to", + "from" + ], + "type": "object" } }, required: [ - "account_id", - "to", - "from" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_colo": digital_experience_monitoring_colo, - "digital-experience-monitoring_device_id": digital_experience_monitoring_device_id, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, + "digital-experience-monitoring_device_id": digital$$experience$$monitoring_device_id, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp$, }, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_fleet_status_over_time_response", $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_fleet_status_over_time_response": digital_experience_monitoring_fleet_status_over_time_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-aggregate_stat": digital_experience_monitoring_schemas_aggregate_stat_output, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, - "digital-experience-monitoring_uniqueDevicesTotal": digital_experience_monitoring_uniqueDevicesTotal_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_fleet_status_over_time_response": digital$$experience$$monitoring_fleet_status_over_time_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-aggregate_stat": digital$$experience$$monitoring_schemas$$aggregate_stat, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, + "digital-experience-monitoring_uniqueDevicesTotal": digital$$experience$$monitoring_uniqueDevicesTotal, }, }, annotations: { @@ -102,22 +118,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_fleet_status_over_time_response": digital_experience_monitoring_fleet_status_over_time_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-aggregate_stat": digital_experience_monitoring_schemas_aggregate_stat_output, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, - "digital-experience-monitoring_uniqueDevicesTotal": digital_experience_monitoring_uniqueDevicesTotal_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_fleet_status_over_time_response": digital$$experience$$monitoring_fleet_status_over_time_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-aggregate_stat": digital$$experience$$monitoring_schemas$$aggregate_stat, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, + "digital-experience-monitoring_uniqueDevicesTotal": digital$$experience$$monitoring_uniqueDevicesTotal, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/fleet-status/over-time`, query: [ - ["to", args["to"], true], - ["from", args["from"], true], - ["colo", args["colo"], true], - ["device_id", args["device_id"], true], + ["to", param(args, "query", "to"), true], + ["from", param(args, "query", "from"), true], + ["colo", param(args, "query", "colo"), true], + ["device_id", param(args, "query", "device_id"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts index e26ce1027..8d00f8471 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_cpu_pct_by_app` in responses. */ -export const digital_experience_monitoring_cpu_pct_by_app_output: JsonSchema = { +export const digital$$experience$$monitoring_cpu_pct_by_app: JsonSchema = { "properties": { "cpu_pct": { "oneOf": [ @@ -35,7 +35,7 @@ export const digital_experience_monitoring_cpu_pct_by_app_output: JsonSchema = { /** * The schema of `digital-experience-monitoring_device` in responses. */ -export const digital_experience_monitoring_device_output: JsonSchema = { +export const digital$$experience$$monitoring_device: JsonSchema = { "properties": { "alwaysOn": { "oneOf": [ @@ -426,7 +426,7 @@ export const digital_experience_monitoring_device_output: JsonSchema = { /** * The schema of `digital-experience-monitoring_directional_stat` in responses. */ -export const digital_experience_monitoring_directional_stat_output: JsonSchema = { +export const digital$$experience$$monitoring_directional_stat: JsonSchema = { "properties": { "downstream": { "oneOf": [ @@ -456,7 +456,7 @@ export const digital_experience_monitoring_directional_stat_output: JsonSchema = * The schema of `digital-experience-monitoring_fleet_status_devices_response` * in responses. */ -export const digital_experience_monitoring_fleet_status_devices_response_output: JsonSchema = { +export const digital$$experience$$monitoring_fleet_status_devices_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/digital-experience-monitoring_api-response-collection" @@ -478,14 +478,14 @@ export const digital_experience_monitoring_fleet_status_devices_response_output: /** * The schema of `digital-experience-monitoring_mode` in responses. */ -export const digital_experience_monitoring_mode_output: JsonSchema = { +export const digital$$experience$$monitoring_mode: JsonSchema = { "type": "string" }; /** * The schema of `digital-experience-monitoring_personEmail` in responses. */ -export const digital_experience_monitoring_personEmail_output: JsonSchema = { +export const digital$$experience$$monitoring_personEmail: JsonSchema = { "type": "string" }; @@ -493,7 +493,7 @@ export const digital_experience_monitoring_personEmail_output: JsonSchema = { * The schema of `digital-experience-monitoring_ram_used_pct_by_app` in * responses. */ -export const digital_experience_monitoring_ram_used_pct_by_app_output: JsonSchema = { +export const digital$$experience$$monitoring_ram_used_pct_by_app: JsonSchema = { "properties": { "name": { "oneOf": [ @@ -522,7 +522,7 @@ export const digital_experience_monitoring_ram_used_pct_by_app_output: JsonSchem /** * The schema of `digital-experience-monitoring_rtt_stats` in responses. */ -export const digital_experience_monitoring_rtt_stats_output: JsonSchema = { +export const digital$$experience$$monitoring_rtt_stats: JsonSchema = { "properties": { "minRttUs": { "oneOf": [ @@ -561,7 +561,7 @@ export const digital_experience_monitoring_rtt_stats_output: JsonSchema = { /** * The schema of `digital-experience-monitoring_schemas-ip_info` in responses. */ -export const digital_experience_monitoring_schemas_ip_info_output: JsonSchema = { +export const digital$$experience$$monitoring_schemas$$ip_info: JsonSchema = { "properties": { "address": { "oneOf": [ @@ -668,7 +668,7 @@ export const digital_experience_monitoring_schemas_ip_info_output: JsonSchema = /** * The schema of `digital-experience-monitoring_tunnel_stats` in responses. */ -export const digital_experience_monitoring_tunnel_stats_output: JsonSchema = { +export const digital$$experience$$monitoring_tunnel_stats: JsonSchema = { "properties": { "bytesLost": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/outputs.ts index d08ac98ea..8897d4d3b 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * The schema of `digital-experience-monitoring_device_state_over_time` in * responses. */ -export const digital_experience_monitoring_device_state_over_time_output: JsonSchema = { +export const digital$$experience$$monitoring_device_state_over_time: JsonSchema = { "properties": { "battery_cycles": { "items": { @@ -144,7 +144,7 @@ export const digital_experience_monitoring_device_state_over_time_output: JsonSc * `digital-experience-monitoring_device_state_top_networks_summary` in * responses. */ -export const digital_experience_monitoring_device_state_top_networks_summary_output: JsonSchema = { +export const digital$$experience$$monitoring_device_state_top_networks_summary: JsonSchema = { "properties": { "count": { "type": "integer" @@ -164,7 +164,7 @@ export const digital_experience_monitoring_device_state_top_networks_summary_out * The schema of `digital-experience-monitoring_device_status_over_time_result` * in responses. */ -export const digital_experience_monitoring_device_status_over_time_result_output: JsonSchema = { +export const digital$$experience$$monitoring_device_status_over_time_result: JsonSchema = { "properties": { "over_time": { "$ref": "#/$defs/digital-experience-monitoring_device_state_over_time" @@ -186,7 +186,7 @@ export const digital_experience_monitoring_device_status_over_time_result_output /** * The schema of `digital-experience-monitoring_timeslot_cpu_apps` in responses. */ -export const digital_experience_monitoring_timeslot_cpu_apps_output: JsonSchema = { +export const digital$$experience$$monitoring_timeslot_cpu_apps: JsonSchema = { "properties": { "timestamp": { "type": "string" @@ -208,7 +208,7 @@ export const digital_experience_monitoring_timeslot_cpu_apps_output: JsonSchema /** * The schema of `digital-experience-monitoring_timeslot_float` in responses. */ -export const digital_experience_monitoring_timeslot_float_output: JsonSchema = { +export const digital$$experience$$monitoring_timeslot_float: JsonSchema = { "properties": { "timestamp": { "type": "string" @@ -227,7 +227,7 @@ export const digital_experience_monitoring_timeslot_float_output: JsonSchema = { /** * The schema of `digital-experience-monitoring_timeslot_int` in responses. */ -export const digital_experience_monitoring_timeslot_int_output: JsonSchema = { +export const digital$$experience$$monitoring_timeslot_int: JsonSchema = { "properties": { "timestamp": { "type": "string" @@ -246,7 +246,7 @@ export const digital_experience_monitoring_timeslot_int_output: JsonSchema = { /** * The schema of `digital-experience-monitoring_timeslot_ram_apps` in responses. */ -export const digital_experience_monitoring_timeslot_ram_apps_output: JsonSchema = { +export const digital$$experience$$monitoring_timeslot_ram_apps: JsonSchema = { "properties": { "timestamp": { "type": "string" @@ -269,7 +269,7 @@ export const digital_experience_monitoring_timeslot_ram_apps_output: JsonSchema * The schema of `digital-experience-monitoring_timeslot_rtt_stats` in * responses. */ -export const digital_experience_monitoring_timeslot_rtt_stats_output: JsonSchema = { +export const digital$$experience$$monitoring_timeslot_rtt_stats: JsonSchema = { "properties": { "timestamp": { "type": "string" @@ -288,7 +288,7 @@ export const digital_experience_monitoring_timeslot_rtt_stats_output: JsonSchema /** * The schema of `digital-experience-monitoring_timeslot_string` in responses. */ -export const digital_experience_monitoring_timeslot_string_output: JsonSchema = { +export const digital$$experience$$monitoring_timeslot_string: JsonSchema = { "properties": { "timestamp": { "type": "string" @@ -308,7 +308,7 @@ export const digital_experience_monitoring_timeslot_string_output: JsonSchema = * The schema of `digital-experience-monitoring_timeslot_tunnel_stats` in * responses. */ -export const digital_experience_monitoring_timeslot_tunnel_stats_output: JsonSchema = { +export const digital$$experience$$monitoring_timeslot_tunnel_stats: JsonSchema = { "properties": { "timestamp": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts index 14b69622c..53f1ab3e7 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts @@ -1,90 +1,106 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, } from "../../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_colo, - digital_experience_monitoring_timestamp, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_colo, + digital$$experience$$monitoring_timestamp, } from "../../schemas.js"; import { - digital_experience_monitoring_cpu_pct_by_app_output, - digital_experience_monitoring_directional_stat_output, - digital_experience_monitoring_ram_used_pct_by_app_output, - digital_experience_monitoring_rtt_stats_output, - digital_experience_monitoring_tunnel_stats_output, + digital$$experience$$monitoring_cpu_pct_by_app, + digital$$experience$$monitoring_directional_stat, + digital$$experience$$monitoring_ram_used_pct_by_app, + digital$$experience$$monitoring_rtt_stats, + digital$$experience$$monitoring_tunnel_stats, } from "../outputs.js"; -import { digital_experience_monitoring_device_id } from "../schemas.js"; +import { digital$$experience$$monitoring_device_id } from "../schemas.js"; import { - digital_experience_monitoring_device_state_over_time_output, - digital_experience_monitoring_device_state_top_networks_summary_output, - digital_experience_monitoring_device_status_over_time_result_output, - digital_experience_monitoring_timeslot_cpu_apps_output, - digital_experience_monitoring_timeslot_float_output, - digital_experience_monitoring_timeslot_int_output, - digital_experience_monitoring_timeslot_ram_apps_output, - digital_experience_monitoring_timeslot_rtt_stats_output, - digital_experience_monitoring_timeslot_string_output, - digital_experience_monitoring_timeslot_tunnel_stats_output, + digital$$experience$$monitoring_device_state_over_time, + digital$$experience$$monitoring_device_state_top_networks_summary, + digital$$experience$$monitoring_device_status_over_time_result, + digital$$experience$$monitoring_timeslot_cpu_apps, + digital$$experience$$monitoring_timeslot_float, + digital$$experience$$monitoring_timeslot_int, + digital$$experience$$monitoring_timeslot_ram_apps, + digital$$experience$$monitoring_timeslot_rtt_stats, + digital$$experience$$monitoring_timeslot_string, + digital$$experience$$monitoring_timeslot_tunnel_stats, } from "./outputs.js"; /** - * The tools of `zero_trust.dex.devices.over_time`. + * The tools of `zeroTrust.dex.devices.overTime`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_devices_over_time_get", + name: "zeroTrust_dex_devices_overTime_get", title: "Get the status over time for a device", description: "Get time-bucketed status metrics for a specific device.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo", - "description": "List of data centers to filter results." - }, - "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_device_id", - "description": "Device-specific ID, given as UUID." - }, - "from": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." - }, - "interval": { - "description": "Time interval for aggregate time slots.", - "enum": [ - "minute", - "hour" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "device_id": { + "$ref": "#/$defs/digital-experience-monitoring_device_id", + "description": "Device-specific ID, given as UUID." + } + }, + "required": [ + "account_id", + "device_id" ], - "type": "string" + "type": "object" }, - "to": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + "query": { + "properties": { + "colo": { + "$ref": "#/$defs/digital-experience-monitoring_colo", + "description": "List of data centers to filter results." + }, + "from": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp", + "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + }, + "interval": { + "description": "Time interval for aggregate time slots.", + "enum": [ + "minute", + "hour" + ], + "type": "string" + }, + "to": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp", + "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + } + }, + "required": [ + "from", + "to", + "interval" + ], + "type": "object" } }, required: [ - "account_id", - "device_id", - "from", - "to", - "interval" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_colo": digital_experience_monitoring_colo, - "digital-experience-monitoring_device_id": digital_experience_monitoring_device_id, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, + "digital-experience-monitoring_device_id": digital$$experience$$monitoring_device_id, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, }, }, outputSchema: { @@ -102,23 +118,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_cpu_pct_by_app": digital_experience_monitoring_cpu_pct_by_app_output, - "digital-experience-monitoring_device_state_over_time": digital_experience_monitoring_device_state_over_time_output, - "digital-experience-monitoring_device_state_top_networks_summary": digital_experience_monitoring_device_state_top_networks_summary_output, - "digital-experience-monitoring_device_status_over_time_result": digital_experience_monitoring_device_status_over_time_result_output, - "digital-experience-monitoring_directional_stat": digital_experience_monitoring_directional_stat_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_ram_used_pct_by_app": digital_experience_monitoring_ram_used_pct_by_app_output, - "digital-experience-monitoring_rtt_stats": digital_experience_monitoring_rtt_stats_output, - "digital-experience-monitoring_timeslot_cpu_apps": digital_experience_monitoring_timeslot_cpu_apps_output, - "digital-experience-monitoring_timeslot_float": digital_experience_monitoring_timeslot_float_output, - "digital-experience-monitoring_timeslot_int": digital_experience_monitoring_timeslot_int_output, - "digital-experience-monitoring_timeslot_ram_apps": digital_experience_monitoring_timeslot_ram_apps_output, - "digital-experience-monitoring_timeslot_rtt_stats": digital_experience_monitoring_timeslot_rtt_stats_output, - "digital-experience-monitoring_timeslot_string": digital_experience_monitoring_timeslot_string_output, - "digital-experience-monitoring_timeslot_tunnel_stats": digital_experience_monitoring_timeslot_tunnel_stats_output, - "digital-experience-monitoring_tunnel_stats": digital_experience_monitoring_tunnel_stats_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, + "digital-experience-monitoring_device_state_over_time": digital$$experience$$monitoring_device_state_over_time, + "digital-experience-monitoring_device_state_top_networks_summary": digital$$experience$$monitoring_device_state_top_networks_summary, + "digital-experience-monitoring_device_status_over_time_result": digital$$experience$$monitoring_device_status_over_time_result, + "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, + "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, + "digital-experience-monitoring_timeslot_cpu_apps": digital$$experience$$monitoring_timeslot_cpu_apps, + "digital-experience-monitoring_timeslot_float": digital$$experience$$monitoring_timeslot_float, + "digital-experience-monitoring_timeslot_int": digital$$experience$$monitoring_timeslot_int, + "digital-experience-monitoring_timeslot_ram_apps": digital$$experience$$monitoring_timeslot_ram_apps, + "digital-experience-monitoring_timeslot_rtt_stats": digital$$experience$$monitoring_timeslot_rtt_stats, + "digital-experience-monitoring_timeslot_string": digital$$experience$$monitoring_timeslot_string, + "digital-experience-monitoring_timeslot_tunnel_stats": digital$$experience$$monitoring_timeslot_tunnel_stats, + "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, }, }, annotations: { @@ -160,33 +176,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_cpu_pct_by_app": digital_experience_monitoring_cpu_pct_by_app_output, - "digital-experience-monitoring_device_state_over_time": digital_experience_monitoring_device_state_over_time_output, - "digital-experience-monitoring_device_state_top_networks_summary": digital_experience_monitoring_device_state_top_networks_summary_output, - "digital-experience-monitoring_device_status_over_time_result": digital_experience_monitoring_device_status_over_time_result_output, - "digital-experience-monitoring_directional_stat": digital_experience_monitoring_directional_stat_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_ram_used_pct_by_app": digital_experience_monitoring_ram_used_pct_by_app_output, - "digital-experience-monitoring_rtt_stats": digital_experience_monitoring_rtt_stats_output, - "digital-experience-monitoring_timeslot_cpu_apps": digital_experience_monitoring_timeslot_cpu_apps_output, - "digital-experience-monitoring_timeslot_float": digital_experience_monitoring_timeslot_float_output, - "digital-experience-monitoring_timeslot_int": digital_experience_monitoring_timeslot_int_output, - "digital-experience-monitoring_timeslot_ram_apps": digital_experience_monitoring_timeslot_ram_apps_output, - "digital-experience-monitoring_timeslot_rtt_stats": digital_experience_monitoring_timeslot_rtt_stats_output, - "digital-experience-monitoring_timeslot_string": digital_experience_monitoring_timeslot_string_output, - "digital-experience-monitoring_timeslot_tunnel_stats": digital_experience_monitoring_timeslot_tunnel_stats_output, - "digital-experience-monitoring_tunnel_stats": digital_experience_monitoring_tunnel_stats_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, + "digital-experience-monitoring_device_state_over_time": digital$$experience$$monitoring_device_state_over_time, + "digital-experience-monitoring_device_state_top_networks_summary": digital$$experience$$monitoring_device_state_top_networks_summary, + "digital-experience-monitoring_device_status_over_time_result": digital$$experience$$monitoring_device_status_over_time_result, + "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, + "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, + "digital-experience-monitoring_timeslot_cpu_apps": digital$$experience$$monitoring_timeslot_cpu_apps, + "digital-experience-monitoring_timeslot_float": digital$$experience$$monitoring_timeslot_float, + "digital-experience-monitoring_timeslot_int": digital$$experience$$monitoring_timeslot_int, + "digital-experience-monitoring_timeslot_ram_apps": digital$$experience$$monitoring_timeslot_ram_apps, + "digital-experience-monitoring_timeslot_rtt_stats": digital$$experience$$monitoring_timeslot_rtt_stats, + "digital-experience-monitoring_timeslot_string": digital$$experience$$monitoring_timeslot_string, + "digital-experience-monitoring_timeslot_tunnel_stats": digital$$experience$$monitoring_timeslot_tunnel_stats, + "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/${pathParam(args, "device_id")}/fleet-status/over-time`, query: [ - ["from", args["from"], true], - ["to", args["to"], true], - ["interval", args["interval"], true], - ["colo", args["colo"], true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["interval", param(args, "query", "interval"), true], + ["colo", param(args, "query", "colo"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/schemas.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/schemas.ts index b9b2a06ad..7585983e0 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_device_id`. */ -export const digital_experience_monitoring_device_id: JsonSchema = { +export const digital$$experience$$monitoring_device_id: JsonSchema = { "description": "Unique identifier for the physical device (UUID).", "type": "string" }; @@ -14,7 +14,7 @@ export const digital_experience_monitoring_device_id: JsonSchema = { /** * The schema of `digital-experience-monitoring_mode`. */ -export const digital_experience_monitoring_mode: JsonSchema = { +export const digital$$experience$$monitoring_mode: JsonSchema = { "description": "The mode under which the WARP client is run.", "type": "string" }; @@ -22,7 +22,7 @@ export const digital_experience_monitoring_mode: JsonSchema = { /** * The schema of `digital-experience-monitoring_page`. */ -export const digital_experience_monitoring_page: JsonSchema = { +export const digital$$experience$$monitoring_page: JsonSchema = { "description": "Page number of paginated results.", "type": "number" }; @@ -30,7 +30,7 @@ export const digital_experience_monitoring_page: JsonSchema = { /** * The schema of `digital-experience-monitoring_per_page`. */ -export const digital_experience_monitoring_per_page: JsonSchema = { +export const digital$$experience$$monitoring_per_page: JsonSchema = { "description": "Number of results per page.", "type": "number" }; @@ -38,7 +38,7 @@ export const digital_experience_monitoring_per_page: JsonSchema = { /** * The schema of `digital-experience-monitoring_since_minutes`. */ -export const digital_experience_monitoring_since_minutes: JsonSchema = { +export const digital$$experience$$monitoring_since_minutes: JsonSchema = { "description": "Number of minutes before current time.", "type": "number" }; @@ -46,7 +46,7 @@ export const digital_experience_monitoring_since_minutes: JsonSchema = { /** * The schema of `digital-experience-monitoring_sort_by`. */ -export const digital_experience_monitoring_sort_by: JsonSchema = { +export const digital$$experience$$monitoring_sort_by: JsonSchema = { "description": "Dimension to sort results by.", "enum": [ "colo", @@ -63,7 +63,7 @@ export const digital_experience_monitoring_sort_by: JsonSchema = { /** * The schema of `digital-experience-monitoring_source`. */ -export const digital_experience_monitoring_source: JsonSchema = { +export const digital$$experience$$monitoring_source: JsonSchema = { "description": "Specifies fleet status details source.", "enum": [ "last_seen", @@ -76,7 +76,7 @@ export const digital_experience_monitoring_source: JsonSchema = { /** * The schema of `digital-experience-monitoring_time_now`. */ -export const digital_experience_monitoring_time_now: JsonSchema = { +export const digital$$experience$$monitoring_time_now: JsonSchema = { "description": "Current time. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts index 7fdf94b13..1b87a94ed 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts @@ -1,113 +1,129 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - digital_experience_monitoring_api_response_collection_output, - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_common_output, - digital_experience_monitoring_colo_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_platform_output, - digital_experience_monitoring_status_output, - digital_experience_monitoring_timestamp_output, - digital_experience_monitoring_version_output, + digital$$experience$$monitoring_api$$response$$collection, + digital$$experience$$monitoring_api$$response$$common, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_colo, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_platform, + digital$$experience$$monitoring_status, + digital$$experience$$monitoring_timestamp, + digital$$experience$$monitoring_version, } from "../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_colo, - digital_experience_monitoring_platform, - digital_experience_monitoring_status, - digital_experience_monitoring_timestamp, - digital_experience_monitoring_version, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_colo as digital$$experience$$monitoring_colo$, + digital$$experience$$monitoring_platform as digital$$experience$$monitoring_platform$, + digital$$experience$$monitoring_status as digital$$experience$$monitoring_status$, + digital$$experience$$monitoring_timestamp as digital$$experience$$monitoring_timestamp$, + digital$$experience$$monitoring_version as digital$$experience$$monitoring_version$, } from "../schemas.js"; import { - digital_experience_monitoring_cpu_pct_by_app_output, - digital_experience_monitoring_device_output, - digital_experience_monitoring_directional_stat_output, - digital_experience_monitoring_fleet_status_devices_response_output, - digital_experience_monitoring_mode_output, - digital_experience_monitoring_personEmail_output, - digital_experience_monitoring_ram_used_pct_by_app_output, - digital_experience_monitoring_rtt_stats_output, - digital_experience_monitoring_schemas_ip_info_output, - digital_experience_monitoring_tunnel_stats_output, + digital$$experience$$monitoring_cpu_pct_by_app, + digital$$experience$$monitoring_device, + digital$$experience$$monitoring_directional_stat, + digital$$experience$$monitoring_fleet_status_devices_response, + digital$$experience$$monitoring_mode, + digital$$experience$$monitoring_personEmail, + digital$$experience$$monitoring_ram_used_pct_by_app, + digital$$experience$$monitoring_rtt_stats, + digital$$experience$$monitoring_schemas$$ip_info, + digital$$experience$$monitoring_tunnel_stats, } from "./outputs.js"; import { - digital_experience_monitoring_device_id, - digital_experience_monitoring_mode, - digital_experience_monitoring_page, - digital_experience_monitoring_per_page, - digital_experience_monitoring_since_minutes, - digital_experience_monitoring_sort_by, - digital_experience_monitoring_source, - digital_experience_monitoring_time_now, + digital$$experience$$monitoring_device_id, + digital$$experience$$monitoring_mode as digital$$experience$$monitoring_mode$, + digital$$experience$$monitoring_page, + digital$$experience$$monitoring_per_page, + digital$$experience$$monitoring_since_minutes, + digital$$experience$$monitoring_sort_by, + digital$$experience$$monitoring_source, + digital$$experience$$monitoring_time_now, } from "./schemas.js"; /** - * The tools of `zero_trust.dex.devices`. + * The tools of `zeroTrust.dex.devices`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_devices_get", + name: "zeroTrust_dex_devices_get", title: "Get the latest status of a device.", description: "Get the latest status of a device given device_id from the device_state table.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "device_id": { + "$ref": "#/$defs/digital-experience-monitoring_device_id", + "description": "Device-specific ID, given as UUID." + } + }, + "required": [ + "account_id", + "device_id" + ], + "type": "object" }, - "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo", - "description": "List of data centers to filter results." - }, - "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_device_id", - "description": "Device-specific ID, given as UUID." - }, - "since_minutes": { - "$ref": "#/$defs/digital-experience-monitoring_since_minutes", - "default": 10, - "description": "Number of minutes before current time." - }, - "time_now": { - "$ref": "#/$defs/digital-experience-monitoring_time_now", - "deprecated": true, - "description": "Current time in ISO format." + "query": { + "properties": { + "colo": { + "$ref": "#/$defs/digital-experience-monitoring_colo", + "description": "List of data centers to filter results." + }, + "since_minutes": { + "$ref": "#/$defs/digital-experience-monitoring_since_minutes", + "default": 10, + "description": "Number of minutes before current time." + }, + "time_now": { + "$ref": "#/$defs/digital-experience-monitoring_time_now", + "deprecated": true, + "description": "Current time in ISO format." + } + }, + "required": [ + "since_minutes" + ], + "type": "object" } }, required: [ - "account_id", - "device_id", - "since_minutes" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_colo": digital_experience_monitoring_colo, - "digital-experience-monitoring_device_id": digital_experience_monitoring_device_id, - "digital-experience-monitoring_since_minutes": digital_experience_monitoring_since_minutes, - "digital-experience-monitoring_time_now": digital_experience_monitoring_time_now, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo$, + "digital-experience-monitoring_device_id": digital$$experience$$monitoring_device_id, + "digital-experience-monitoring_since_minutes": digital$$experience$$monitoring_since_minutes, + "digital-experience-monitoring_time_now": digital$$experience$$monitoring_time_now, }, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_device", $defs: { - "digital-experience-monitoring_colo": digital_experience_monitoring_colo_output, - "digital-experience-monitoring_cpu_pct_by_app": digital_experience_monitoring_cpu_pct_by_app_output, - "digital-experience-monitoring_device": digital_experience_monitoring_device_output, - "digital-experience-monitoring_directional_stat": digital_experience_monitoring_directional_stat_output, - "digital-experience-monitoring_mode": digital_experience_monitoring_mode_output, - "digital-experience-monitoring_personEmail": digital_experience_monitoring_personEmail_output, - "digital-experience-monitoring_platform": digital_experience_monitoring_platform_output, - "digital-experience-monitoring_ram_used_pct_by_app": digital_experience_monitoring_ram_used_pct_by_app_output, - "digital-experience-monitoring_rtt_stats": digital_experience_monitoring_rtt_stats_output, - "digital-experience-monitoring_schemas-ip_info": digital_experience_monitoring_schemas_ip_info_output, - "digital-experience-monitoring_status": digital_experience_monitoring_status_output, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, - "digital-experience-monitoring_tunnel_stats": digital_experience_monitoring_tunnel_stats_output, - "digital-experience-monitoring_version": digital_experience_monitoring_version_output, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, + "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, + "digital-experience-monitoring_device": digital$$experience$$monitoring_device, + "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, + "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode, + "digital-experience-monitoring_personEmail": digital$$experience$$monitoring_personEmail, + "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, + "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, + "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, + "digital-experience-monitoring_schemas-ip_info": digital$$experience$$monitoring_schemas$$ip_info, + "digital-experience-monitoring_status": digital$$experience$$monitoring_status, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, + "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, + "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, annotations: { @@ -137,139 +153,155 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_colo": digital_experience_monitoring_colo_output, - "digital-experience-monitoring_cpu_pct_by_app": digital_experience_monitoring_cpu_pct_by_app_output, - "digital-experience-monitoring_device": digital_experience_monitoring_device_output, - "digital-experience-monitoring_directional_stat": digital_experience_monitoring_directional_stat_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_mode": digital_experience_monitoring_mode_output, - "digital-experience-monitoring_personEmail": digital_experience_monitoring_personEmail_output, - "digital-experience-monitoring_platform": digital_experience_monitoring_platform_output, - "digital-experience-monitoring_ram_used_pct_by_app": digital_experience_monitoring_ram_used_pct_by_app_output, - "digital-experience-monitoring_rtt_stats": digital_experience_monitoring_rtt_stats_output, - "digital-experience-monitoring_schemas-ip_info": digital_experience_monitoring_schemas_ip_info_output, - "digital-experience-monitoring_status": digital_experience_monitoring_status_output, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, - "digital-experience-monitoring_tunnel_stats": digital_experience_monitoring_tunnel_stats_output, - "digital-experience-monitoring_version": digital_experience_monitoring_version_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, + "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, + "digital-experience-monitoring_device": digital$$experience$$monitoring_device, + "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode, + "digital-experience-monitoring_personEmail": digital$$experience$$monitoring_personEmail, + "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, + "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, + "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, + "digital-experience-monitoring_schemas-ip_info": digital$$experience$$monitoring_schemas$$ip_info, + "digital-experience-monitoring_status": digital$$experience$$monitoring_status, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, + "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, + "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/${pathParam(args, "device_id")}/fleet-status/live`, query: [ - ["since_minutes", args["since_minutes"], true], - ["time_now", args["time_now"], true], - ["colo", args["colo"], true], + ["since_minutes", param(args, "query", "since_minutes"), true], + ["time_now", param(args, "query", "time_now"), true], + ["colo", param(args, "query", "colo"), true], ], }), }, { - name: "zero_trust_dex_devices_list", + name: "zeroTrust_dex_devices_list", title: "List details of devices using WARP.", description: "List details of devices using WARP.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo", - "description": "Cloudflare colo airport code." - }, - "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_device_id", - "description": "Device-specific ID, given as UUID." - }, - "device_mode": { - "$ref": "#/$defs/digital-experience-monitoring_mode", - "description": "The mode under which the WARP client is run." - }, - "from": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." - }, - "page": { - "$ref": "#/$defs/digital-experience-monitoring_page", - "default": 1, - "description": "Page number of paginated results." - }, - "per_page": { - "$ref": "#/$defs/digital-experience-monitoring_per_page", - "description": "Number of results per page." - }, - "platform": { - "$ref": "#/$defs/digital-experience-monitoring_platform", - "description": "Operating system." - }, - "sort_by": { - "$ref": "#/$defs/digital-experience-monitoring_sort_by", - "default": "timestamp", - "description": "Dimension to sort results by." - }, - "source": { - "$ref": "#/$defs/digital-experience-monitoring_source", - "default": "last_seen", - "description": "Source:\n * `hourly` - device details aggregated hourly, up to 7 days prior\n * `last_seen` - device details, up to 60 minutes prior. Time windows exceeding 60 minutes will be rejected from June 1st, 2026. Please use 'hourly' or 'raw' instead for longer time ranges.\n * `raw` - device details, up to 7 days prior\n" - }, - "status": { - "$ref": "#/$defs/digital-experience-monitoring_status", - "description": "Network status." - }, - "to": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "warp_version": { - "$ref": "#/$defs/digital-experience-monitoring_version", - "description": "WARP client version." + "query": { + "properties": { + "colo": { + "$ref": "#/$defs/digital-experience-monitoring_colo", + "description": "Cloudflare colo airport code." + }, + "device_id": { + "$ref": "#/$defs/digital-experience-monitoring_device_id", + "description": "Device-specific ID, given as UUID." + }, + "from": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp", + "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + }, + "mode": { + "$ref": "#/$defs/digital-experience-monitoring_mode", + "description": "The mode under which the WARP client is run." + }, + "page": { + "$ref": "#/$defs/digital-experience-monitoring_page", + "default": 1, + "description": "Page number of paginated results." + }, + "per_page": { + "$ref": "#/$defs/digital-experience-monitoring_per_page", + "description": "Number of results per page." + }, + "platform": { + "$ref": "#/$defs/digital-experience-monitoring_platform", + "description": "Operating system." + }, + "sort_by": { + "$ref": "#/$defs/digital-experience-monitoring_sort_by", + "default": "timestamp", + "description": "Dimension to sort results by." + }, + "source": { + "$ref": "#/$defs/digital-experience-monitoring_source", + "default": "last_seen", + "description": "Source:\n * `hourly` - device details aggregated hourly, up to 7 days prior\n * `last_seen` - device details, up to 60 minutes prior. Time windows exceeding 60 minutes will be rejected from June 1st, 2026. Please use 'hourly' or 'raw' instead for longer time ranges.\n * `raw` - device details, up to 7 days prior\n" + }, + "status": { + "$ref": "#/$defs/digital-experience-monitoring_status", + "description": "Network status." + }, + "to": { + "$ref": "#/$defs/digital-experience-monitoring_timestamp", + "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + }, + "version": { + "$ref": "#/$defs/digital-experience-monitoring_version", + "description": "WARP client version." + } + }, + "required": [ + "to", + "from", + "page", + "per_page" + ], + "type": "object" } }, required: [ - "account_id", - "to", - "from", - "page", - "per_page" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_colo": digital_experience_monitoring_colo, - "digital-experience-monitoring_device_id": digital_experience_monitoring_device_id, - "digital-experience-monitoring_mode": digital_experience_monitoring_mode, - "digital-experience-monitoring_page": digital_experience_monitoring_page, - "digital-experience-monitoring_per_page": digital_experience_monitoring_per_page, - "digital-experience-monitoring_platform": digital_experience_monitoring_platform, - "digital-experience-monitoring_sort_by": digital_experience_monitoring_sort_by, - "digital-experience-monitoring_source": digital_experience_monitoring_source, - "digital-experience-monitoring_status": digital_experience_monitoring_status, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp, - "digital-experience-monitoring_version": digital_experience_monitoring_version, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo$, + "digital-experience-monitoring_device_id": digital$$experience$$monitoring_device_id, + "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode$, + "digital-experience-monitoring_page": digital$$experience$$monitoring_page, + "digital-experience-monitoring_per_page": digital$$experience$$monitoring_per_page, + "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform$, + "digital-experience-monitoring_sort_by": digital$$experience$$monitoring_sort_by, + "digital-experience-monitoring_source": digital$$experience$$monitoring_source, + "digital-experience-monitoring_status": digital$$experience$$monitoring_status$, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp$, + "digital-experience-monitoring_version": digital$$experience$$monitoring_version$, }, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_fleet_status_devices_response", $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_colo": digital_experience_monitoring_colo_output, - "digital-experience-monitoring_cpu_pct_by_app": digital_experience_monitoring_cpu_pct_by_app_output, - "digital-experience-monitoring_device": digital_experience_monitoring_device_output, - "digital-experience-monitoring_directional_stat": digital_experience_monitoring_directional_stat_output, - "digital-experience-monitoring_fleet_status_devices_response": digital_experience_monitoring_fleet_status_devices_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_mode": digital_experience_monitoring_mode_output, - "digital-experience-monitoring_personEmail": digital_experience_monitoring_personEmail_output, - "digital-experience-monitoring_platform": digital_experience_monitoring_platform_output, - "digital-experience-monitoring_ram_used_pct_by_app": digital_experience_monitoring_ram_used_pct_by_app_output, - "digital-experience-monitoring_rtt_stats": digital_experience_monitoring_rtt_stats_output, - "digital-experience-monitoring_schemas-ip_info": digital_experience_monitoring_schemas_ip_info_output, - "digital-experience-monitoring_status": digital_experience_monitoring_status_output, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, - "digital-experience-monitoring_tunnel_stats": digital_experience_monitoring_tunnel_stats_output, - "digital-experience-monitoring_version": digital_experience_monitoring_version_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, + "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, + "digital-experience-monitoring_device": digital$$experience$$monitoring_device, + "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, + "digital-experience-monitoring_fleet_status_devices_response": digital$$experience$$monitoring_fleet_status_devices_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode, + "digital-experience-monitoring_personEmail": digital$$experience$$monitoring_personEmail, + "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, + "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, + "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, + "digital-experience-monitoring_schemas-ip_info": digital$$experience$$monitoring_schemas$$ip_info, + "digital-experience-monitoring_status": digital$$experience$$monitoring_status, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, + "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, + "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, annotations: { @@ -299,42 +331,42 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_colo": digital_experience_monitoring_colo_output, - "digital-experience-monitoring_cpu_pct_by_app": digital_experience_monitoring_cpu_pct_by_app_output, - "digital-experience-monitoring_device": digital_experience_monitoring_device_output, - "digital-experience-monitoring_directional_stat": digital_experience_monitoring_directional_stat_output, - "digital-experience-monitoring_fleet_status_devices_response": digital_experience_monitoring_fleet_status_devices_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_mode": digital_experience_monitoring_mode_output, - "digital-experience-monitoring_personEmail": digital_experience_monitoring_personEmail_output, - "digital-experience-monitoring_platform": digital_experience_monitoring_platform_output, - "digital-experience-monitoring_ram_used_pct_by_app": digital_experience_monitoring_ram_used_pct_by_app_output, - "digital-experience-monitoring_rtt_stats": digital_experience_monitoring_rtt_stats_output, - "digital-experience-monitoring_schemas-ip_info": digital_experience_monitoring_schemas_ip_info_output, - "digital-experience-monitoring_status": digital_experience_monitoring_status_output, - "digital-experience-monitoring_timestamp": digital_experience_monitoring_timestamp_output, - "digital-experience-monitoring_tunnel_stats": digital_experience_monitoring_tunnel_stats_output, - "digital-experience-monitoring_version": digital_experience_monitoring_version_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, + "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, + "digital-experience-monitoring_device": digital$$experience$$monitoring_device, + "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, + "digital-experience-monitoring_fleet_status_devices_response": digital$$experience$$monitoring_fleet_status_devices_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode, + "digital-experience-monitoring_personEmail": digital$$experience$$monitoring_personEmail, + "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, + "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, + "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, + "digital-experience-monitoring_schemas-ip_info": digital$$experience$$monitoring_schemas$$ip_info, + "digital-experience-monitoring_status": digital$$experience$$monitoring_status, + "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, + "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, + "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/fleet-status/devices`, query: [ - ["to", args["to"], true], - ["from", args["from"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["sort_by", args["sort_by"], true], - ["colo", args["colo"], true], - ["device_id", args["device_id"], true], - ["mode", args["device_mode"], true], - ["status", args["status"], true], - ["platform", args["platform"], true], - ["version", args["warp_version"], true], - ["source", args["source"], true], + ["to", param(args, "query", "to"), true], + ["from", param(args, "query", "from"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["sort_by", param(args, "query", "sort_by"), true], + ["colo", param(args, "query", "colo"), true], + ["device_id", param(args, "query", "device_id"), true], + ["mode", param(args, "query", "mode"), true], + ["status", param(args, "query", "status"), true], + ["platform", param(args, "query", "platform"), true], + ["version", param(args, "query", "version"), true], + ["source", param(args, "query", "source"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/isps/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/isps/outputs.ts index 23b53d662..9546e6bd1 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/isps/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/isps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_device_isp` in responses. */ -export const digital_experience_monitoring_device_isp_output: JsonSchema = { +export const digital$$experience$$monitoring_device_isp: JsonSchema = { "properties": { "ip": { "$ref": "#/$defs/digital-experience-monitoring_ip_info" @@ -34,7 +34,7 @@ export const digital_experience_monitoring_device_isp_output: JsonSchema = { * The schema of `digital-experience-monitoring_device_isps_response` in * responses. */ -export const digital_experience_monitoring_device_isps_response_output: JsonSchema = { +export const digital$$experience$$monitoring_device_isps_response: JsonSchema = { "properties": { "isps": { "items": { @@ -52,7 +52,7 @@ export const digital_experience_monitoring_device_isps_response_output: JsonSche /** * The schema of `digital-experience-monitoring_ip_info` in responses. */ -export const digital_experience_monitoring_ip_info_output: JsonSchema = { +export const digital$$experience$$monitoring_ip_info: JsonSchema = { "properties": { "address": { "type": "string" @@ -82,7 +82,7 @@ export const digital_experience_monitoring_ip_info_output: JsonSchema = { /** * The schema of `digital-experience-monitoring_ip_location` in responses. */ -export const digital_experience_monitoring_ip_location_output: JsonSchema = { +export const digital$$experience$$monitoring_ip_location: JsonSchema = { "properties": { "city": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts index a75aff614..f1141ea39 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts @@ -1,92 +1,108 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - digital_experience_monitoring_api_response_collection_output, - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_common_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$collection, + digital$$experience$$monitoring_api$$response$$common, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_messages, } from "../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_uuid, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_uuid, } from "../schemas.js"; import { - digital_experience_monitoring_device_isp_output, - digital_experience_monitoring_device_isps_response_output, - digital_experience_monitoring_ip_info_output, - digital_experience_monitoring_ip_location_output, + digital$$experience$$monitoring_device_isp, + digital$$experience$$monitoring_device_isps_response, + digital$$experience$$monitoring_ip_info, + digital$$experience$$monitoring_ip_location, } from "./outputs.js"; /** - * The tools of `zero_trust.dex.isps`. + * The tools of `zeroTrust.dex.isps`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_isps_list", + name: "zeroTrust_dex_isps_list", title: "List device ISPs", description: "List ISP information observed for a specific device during traceroute tests.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "cursor": { - "description": "Cursor for cursor-based pagination. Mutually exclusive with page.", - "type": "string" - }, - "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Device-specific ID, given as UUID." - }, - "from": { - "description": "Start time for the query in ISO 8601 format.", - "format": "date-time", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results. Mutually exclusive with cursor.", - "type": "integer" - }, - "per_page": { - "description": "Number of items per page", - "type": "integer" - }, - "sort_by": { - "default": "time_start", - "description": "The field to sort results by.", - "enum": [ - "time_start" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "device_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Device-specific ID, given as UUID." + } + }, + "required": [ + "account_id", + "device_id" ], - "type": "string" + "type": "object" }, - "sort_order": { - "default": "DESC", - "description": "The order to sort results.", - "enum": [ - "ASC", - "DESC" + "query": { + "properties": { + "cursor": { + "description": "Cursor for cursor-based pagination. Mutually exclusive with page.", + "type": "string" + }, + "from": { + "description": "Start time for the query in ISO 8601 format.", + "format": "date-time", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results. Mutually exclusive with cursor.", + "type": "integer" + }, + "per_page": { + "description": "Number of items per page", + "type": "integer" + }, + "sort_by": { + "default": "time_start", + "description": "The field to sort results by.", + "enum": [ + "time_start" + ], + "type": "string" + }, + "sort_order": { + "default": "DESC", + "description": "The order to sort results.", + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + }, + "to": { + "description": "End time for the query in ISO 8601 format.", + "format": "date-time", + "type": "string" + } + }, + "required": [ + "per_page" ], - "type": "string" - }, - "to": { - "description": "End time for the query in ISO 8601 format.", - "format": "date-time", - "type": "string" + "type": "object" } }, required: [ - "account_id", - "device_id", - "per_page" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, outputSchema: { @@ -104,13 +120,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_device_isp": digital_experience_monitoring_device_isp_output, - "digital-experience-monitoring_device_isps_response": digital_experience_monitoring_device_isps_response_output, - "digital-experience-monitoring_ip_info": digital_experience_monitoring_ip_info_output, - "digital-experience-monitoring_ip_location": digital_experience_monitoring_ip_location_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_device_isp": digital$$experience$$monitoring_device_isp, + "digital-experience-monitoring_device_isps_response": digital$$experience$$monitoring_device_isps_response, + "digital-experience-monitoring_ip_info": digital$$experience$$monitoring_ip_info, + "digital-experience-monitoring_ip_location": digital$$experience$$monitoring_ip_location, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, annotations: { @@ -152,26 +168,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_device_isp": digital_experience_monitoring_device_isp_output, - "digital-experience-monitoring_device_isps_response": digital_experience_monitoring_device_isps_response_output, - "digital-experience-monitoring_ip_info": digital_experience_monitoring_ip_info_output, - "digital-experience-monitoring_ip_location": digital_experience_monitoring_ip_location_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_device_isp": digital$$experience$$monitoring_device_isp, + "digital-experience-monitoring_device_isps_response": digital$$experience$$monitoring_device_isps_response, + "digital-experience-monitoring_ip_info": digital$$experience$$monitoring_ip_info, + "digital-experience-monitoring_ip_location": digital$$experience$$monitoring_ip_location, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/${pathParam(args, "device_id")}/isps`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["cursor", args["cursor"], true], - ["sort_by", args["sort_by"], true], - ["sort_order", args["sort_order"], true], - ["from", args["from"], true], - ["to", args["to"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["cursor", param(args, "query", "cursor"), true], + ["sort_by", param(args, "query", "sort_by"), true], + ["sort_order", param(args, "query", "sort_order"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/outputs.ts index 92c7361d8..37c66ceae 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `digital-experience-monitoring_api-response-collection` in * responses. */ -export const digital_experience_monitoring_api_response_collection_output: JsonSchema = { +export const digital$$experience$$monitoring_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/digital-experience-monitoring_api-response-common" @@ -44,7 +44,7 @@ export const digital_experience_monitoring_api_response_collection_output: JsonS * The schema of `digital-experience-monitoring_api-response-common` in * responses. */ -export const digital_experience_monitoring_api_response_common_output: JsonSchema = { +export const digital$$experience$$monitoring_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/digital-experience-monitoring_messages" @@ -71,7 +71,7 @@ export const digital_experience_monitoring_api_response_common_output: JsonSchem * The schema of `digital-experience-monitoring_api-response-common-failure` in * responses. */ -export const digital_experience_monitoring_api_response_common_failure_output: JsonSchema = { +export const digital$$experience$$monitoring_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/digital-experience-monitoring_messages" @@ -102,7 +102,7 @@ export const digital_experience_monitoring_api_response_common_failure_output: J * The schema of `digital-experience-monitoring_api-response-single` in * responses. */ -export const digital_experience_monitoring_api_response_single_output: JsonSchema = { +export const digital$$experience$$monitoring_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/digital-experience-monitoring_messages" @@ -128,7 +128,7 @@ export const digital_experience_monitoring_api_response_single_output: JsonSchem /** * The schema of `digital-experience-monitoring_colo` in responses. */ -export const digital_experience_monitoring_colo_output: JsonSchema = { +export const digital$$experience$$monitoring_colo: JsonSchema = { "type": "string" }; @@ -136,7 +136,7 @@ export const digital_experience_monitoring_colo_output: JsonSchema = { * The schema of `digital-experience-monitoring_device-dex-test-schemas-data` in * responses. */ -export const digital_experience_monitoring_device_dex_test_schemas_data_output: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$data: JsonSchema = { "properties": { "host": { "type": "string" @@ -165,7 +165,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_data_output: /** * The schema of `digital-experience-monitoring_messages` in responses. */ -export const digital_experience_monitoring_messages_output: JsonSchema = { +export const digital$$experience$$monitoring_messages: JsonSchema = { "items": { "properties": { "code": { @@ -198,34 +198,34 @@ export const digital_experience_monitoring_messages_output: JsonSchema = { /** * The schema of `digital-experience-monitoring_platform` in responses. */ -export const digital_experience_monitoring_platform_output: JsonSchema = { +export const digital$$experience$$monitoring_platform: JsonSchema = { "type": "string" }; /** * The schema of `digital-experience-monitoring_status` in responses. */ -export const digital_experience_monitoring_status_output: JsonSchema = { +export const digital$$experience$$monitoring_status: JsonSchema = { "type": "string" }; /** * The schema of `digital-experience-monitoring_timestamp` in responses. */ -export const digital_experience_monitoring_timestamp_output: JsonSchema = { +export const digital$$experience$$monitoring_timestamp: JsonSchema = { "type": "string" }; /** * The schema of `digital-experience-monitoring_uuid` in responses. */ -export const digital_experience_monitoring_uuid_output: JsonSchema = { +export const digital$$experience$$monitoring_uuid: JsonSchema = { "type": "string" }; /** * The schema of `digital-experience-monitoring_version` in responses. */ -export const digital_experience_monitoring_version_output: JsonSchema = { +export const digital$$experience$$monitoring_version: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts index 1fc18398d..0b85fb75a 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_aggregate_stat` in responses. */ -export const digital_experience_monitoring_aggregate_stat_output: JsonSchema = { +export const digital$$experience$$monitoring_aggregate_stat: JsonSchema = { "properties": { "avgMs": { "oneOf": [ @@ -42,7 +42,7 @@ export const digital_experience_monitoring_aggregate_stat_output: JsonSchema = { * The schema of `digital-experience-monitoring_aggregate_time_period` in * responses. */ -export const digital_experience_monitoring_aggregate_time_period_output: JsonSchema = { +export const digital$$experience$$monitoring_aggregate_time_period: JsonSchema = { "properties": { "units": { "enum": [ @@ -67,7 +67,7 @@ export const digital_experience_monitoring_aggregate_time_period_output: JsonSch * The schema of `digital-experience-monitoring_aggregate_time_slot` in * responses. */ -export const digital_experience_monitoring_aggregate_time_slot_output: JsonSchema = { +export const digital$$experience$$monitoring_aggregate_time_slot: JsonSchema = { "properties": { "avgMs": { "type": "integer" @@ -86,7 +86,7 @@ export const digital_experience_monitoring_aggregate_time_slot_output: JsonSchem /** * The schema of `digital-experience-monitoring_tests_response` in responses. */ -export const digital_experience_monitoring_tests_response_output: JsonSchema = { +export const digital$$experience$$monitoring_tests_response: JsonSchema = { "properties": { "overviewMetrics": { "properties": { @@ -287,7 +287,7 @@ export const digital_experience_monitoring_tests_response_output: JsonSchema = { /** * The schema of `digital-experience-monitoring_timing_aggregates` in responses. */ -export const digital_experience_monitoring_timing_aggregates_output: JsonSchema = { +export const digital$$experience$$monitoring_timing_aggregates: JsonSchema = { "properties": { "avgMs": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts index 0072e1b67..9c0b9a0fa 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts @@ -1,80 +1,93 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_uuid_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_uuid, } from "../../outputs.js"; -import { digital_experience_monitoring_account_identifier } from "../../schemas.js"; +import { digital$$experience$$monitoring_account_identifier } from "../../schemas.js"; import { - digital_experience_monitoring_aggregate_stat_output, - digital_experience_monitoring_aggregate_time_period_output, - digital_experience_monitoring_aggregate_time_slot_output, - digital_experience_monitoring_tests_response_output, - digital_experience_monitoring_timing_aggregates_output, + digital$$experience$$monitoring_aggregate_stat, + digital$$experience$$monitoring_aggregate_time_period, + digital$$experience$$monitoring_aggregate_time_slot, + digital$$experience$$monitoring_tests_response, + digital$$experience$$monitoring_timing_aggregates, } from "./outputs.js"; /** - * The tools of `zero_trust.dex.overview.tests`. + * The tools of `zeroTrust.dex.overview.tests`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_overview_tests_list", + name: "zeroTrust_dex_overview_tests_list", title: "List DEX test analytics", description: "List DEX tests with overview metrics.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "colo": { - "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", - "type": "string" - }, - "device_id": { - "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } }, - "type": "array" - }, - "kind": { - "description": "Filter by test type.", - "enum": [ - "http", - "traceroute" + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results", - "type": "number" - }, - "per_page": { - "default": 10, - "description": "Number of items per page", - "type": "number" - }, - "registration_id": { - "description": "Optionally filter results to a specific device registration. Must be used in combination with a single deviceId.", - "type": "string" + "type": "object" }, - "test_name": { - "description": "Optionally filter results by test name.", - "type": "string" + "query": { + "properties": { + "colo": { + "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", + "type": "string" + }, + "deviceId": { + "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", + "items": { + "type": "string" + }, + "type": "array" + }, + "kind": { + "description": "Filter by test type.", + "enum": [ + "http", + "traceroute" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results", + "type": "number" + }, + "per_page": { + "default": 10, + "description": "Number of items per page", + "type": "number" + }, + "registration_id": { + "description": "Optionally filter results to a specific device registration. Must be used in combination with a single deviceId.", + "type": "string" + }, + "testName": { + "description": "Optionally filter results by test name.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { @@ -92,14 +105,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_aggregate_stat": digital_experience_monitoring_aggregate_stat_output, - "digital-experience-monitoring_aggregate_time_period": digital_experience_monitoring_aggregate_time_period_output, - "digital-experience-monitoring_aggregate_time_slot": digital_experience_monitoring_aggregate_time_slot_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_tests_response": digital_experience_monitoring_tests_response_output, - "digital-experience-monitoring_timing_aggregates": digital_experience_monitoring_timing_aggregates_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_aggregate_stat": digital$$experience$$monitoring_aggregate_stat, + "digital-experience-monitoring_aggregate_time_period": digital$$experience$$monitoring_aggregate_time_period, + "digital-experience-monitoring_aggregate_time_slot": digital$$experience$$monitoring_aggregate_time_slot, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_tests_response": digital$$experience$$monitoring_tests_response, + "digital-experience-monitoring_timing_aggregates": digital$$experience$$monitoring_timing_aggregates, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -141,27 +154,27 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_aggregate_stat": digital_experience_monitoring_aggregate_stat_output, - "digital-experience-monitoring_aggregate_time_period": digital_experience_monitoring_aggregate_time_period_output, - "digital-experience-monitoring_aggregate_time_slot": digital_experience_monitoring_aggregate_time_slot_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_tests_response": digital_experience_monitoring_tests_response_output, - "digital-experience-monitoring_timing_aggregates": digital_experience_monitoring_timing_aggregates_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_aggregate_stat": digital$$experience$$monitoring_aggregate_stat, + "digital-experience-monitoring_aggregate_time_period": digital$$experience$$monitoring_aggregate_time_period, + "digital-experience-monitoring_aggregate_time_slot": digital$$experience$$monitoring_aggregate_time_slot, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_tests_response": digital$$experience$$monitoring_tests_response, + "digital-experience-monitoring_timing_aggregates": digital$$experience$$monitoring_timing_aggregates, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/tests/overview`, query: [ - ["colo", args["colo"], true], - ["testName", args["test_name"], true], - ["deviceId", args["device_id"], true], - ["registration_id", args["registration_id"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["kind", args["kind"], true], + ["colo", param(args, "query", "colo"), true], + ["testName", param(args, "query", "testName"), true], + ["deviceId", param(args, "query", "deviceId"), true], + ["registration_id", param(args, "query", "registration_id"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["kind", param(args, "query", "kind"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/outputs.ts index 9d3ed9ff0..ffce9333a 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; * The schema of `digital-experience-monitoring_unique_devices_response` in * responses. */ -export const digital_experience_monitoring_unique_devices_response_output: JsonSchema = { +export const digital$$experience$$monitoring_unique_devices_response: JsonSchema = { "properties": { "uniqueDevicesTotal": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts index 1859629da..a50bc0f5d 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts @@ -1,47 +1,60 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, } from "../../../outputs.js"; -import { digital_experience_monitoring_account_identifier } from "../../../schemas.js"; -import { digital_experience_monitoring_unique_devices_response_output } from "./outputs.js"; +import { digital$$experience$$monitoring_account_identifier } from "../../../schemas.js"; +import { digital$$experience$$monitoring_unique_devices_response } from "./outputs.js"; /** - * The tools of `zero_trust.dex.overview.tests.unique_devices`. + * The tools of `zeroTrust.dex.overview.tests.uniqueDevices`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_overview_tests_unique_devices_get", + name: "zeroTrust_dex_overview_tests_uniqueDevices_get", title: "Get count of devices targeted", description: "Returns unique count of devices that have run synthetic application monitoring tests in the past 7 days.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "device_id": { - "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } }, - "type": "array" + "required": [ + "account_id" + ], + "type": "object" }, - "test_name": { - "description": "Optionally filter results by test name.", - "type": "string" + "query": { + "properties": { + "deviceId": { + "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", + "items": { + "type": "string" + }, + "type": "array" + }, + "testName": { + "description": "Optionally filter results by test name.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { @@ -59,9 +72,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_unique_devices_response": digital_experience_monitoring_unique_devices_response_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_unique_devices_response": digital$$experience$$monitoring_unique_devices_response, }, }, annotations: { @@ -103,17 +116,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_unique_devices_response": digital_experience_monitoring_unique_devices_response_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_unique_devices_response": digital$$experience$$monitoring_unique_devices_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/tests/unique-devices`, query: [ - ["testName", args["test_name"], true], - ["deviceId", args["device_id"], true], + ["testName", param(args, "query", "testName"), true], + ["deviceId", param(args, "query", "deviceId"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts index c9e5bcade..5964deafd 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_dex-rule` in responses. */ -export const digital_experience_monitoring_dex_rule_output: JsonSchema = { +export const digital$$experience$$monitoring_dex$$rule: JsonSchema = { "properties": { "created_at": { "type": "string" @@ -45,7 +45,7 @@ export const digital_experience_monitoring_dex_rule_output: JsonSchema = { /** * The schema of `digital-experience-monitoring_dex-targeted-test` in responses. */ -export const digital_experience_monitoring_dex_targeted_test_output: JsonSchema = { +export const digital$$experience$$monitoring_dex$$targeted$$test: JsonSchema = { "properties": { "data": { "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-data" @@ -73,7 +73,7 @@ export const digital_experience_monitoring_dex_targeted_test_output: JsonSchema * The schema of `digital-experience-monitoring_list_rules_response` in * responses. */ -export const digital_experience_monitoring_list_rules_response_output: JsonSchema = { +export const digital$$experience$$monitoring_list_rules_response: JsonSchema = { "properties": { "rules": { "items": { diff --git a/src/generated/forge-mcp/zeroTrust/dex/rules/schemas.ts b/src/generated/forge-mcp/zeroTrust/dex/rules/schemas.ts index 790e91eb0..ec4edc687 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/rules/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_create_rule_body`. */ -export const digital_experience_monitoring_create_rule_body: JsonSchema = { +export const digital$$experience$$monitoring_create_rule_body: JsonSchema = { "properties": { "description": { "type": "string" @@ -30,7 +30,7 @@ export const digital_experience_monitoring_create_rule_body: JsonSchema = { /** * The schema of `digital-experience-monitoring_patch_rule_body`. */ -export const digital_experience_monitoring_patch_rule_body: JsonSchema = { +export const digital$$experience$$monitoring_patch_rule_body: JsonSchema = { "properties": { "description": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts index 0753ab2cf..b98cb46b8 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts @@ -1,56 +1,64 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - digital_experience_monitoring_api_response_collection_output, - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_common_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_device_dex_test_schemas_data_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_uuid_output, + digital$$experience$$monitoring_api$$response$$collection, + digital$$experience$$monitoring_api$$response$$common, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_uuid, } from "../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_uuid, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, } from "../schemas.js"; import { - digital_experience_monitoring_dex_rule_output, - digital_experience_monitoring_dex_targeted_test_output, - digital_experience_monitoring_list_rules_response_output, + digital$$experience$$monitoring_dex$$rule, + digital$$experience$$monitoring_dex$$targeted$$test, + digital$$experience$$monitoring_list_rules_response, } from "./outputs.js"; import { - digital_experience_monitoring_create_rule_body, - digital_experience_monitoring_patch_rule_body, + digital$$experience$$monitoring_create_rule_body, + digital$$experience$$monitoring_patch_rule_body, } from "./schemas.js"; /** - * The tools of `zero_trust.dex.rules`. + * The tools of `zeroTrust.dex.rules`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_rules_create", + name: "zeroTrust_dex_rules_create", title: "Create a DEX Rule", description: "Create a DEX Rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, "body": { "$ref": "#/$defs/digital-experience-monitoring_create_rule_body" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_create_rule_body": digital_experience_monitoring_create_rule_body, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_create_rule_body": digital$$experience$$monitoring_create_rule_body, }, }, outputSchema: { @@ -68,12 +76,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, - "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, + "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -112,13 +120,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, - "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, + "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -127,28 +135,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dex_rules_delete", + name: "zeroTrust_dex_rules_delete", title: "Delete a DEX Rule", description: "Delete a DEX Rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "rule_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier of the rule." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "rule_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier of the rule." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -173,8 +189,8 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, annotations: { @@ -220,9 +236,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, }, }, request: (args) => ({ @@ -230,28 +246,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dex_rules_get", + name: "zeroTrust_dex_rules_get", title: "Get DEX Rule", description: "Get details for a DEX Rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "rule_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier of the rule." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "rule_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier of the rule." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -269,12 +293,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, - "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, + "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -316,13 +340,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, - "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, + "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -330,56 +354,72 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dex_rules_list", + name: "zeroTrust_dex_rules_list", title: "List DEX Rules", description: "List DEX Rules.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "name": { - "description": "Filter results by rule name.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "description": "Number of results per page.", - "type": "number" - }, - "sort_by": { - "default": "name", - "description": "Which property to sort results by.", - "enum": [ - "name", - "created_at", - "updated_at" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "sort_order": { - "default": "ASC", - "description": "Sort direction for sort_by property.", - "enum": [ - "ASC", - "DESC" + "query": { + "properties": { + "name": { + "description": "Filter results by rule name.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "description": "Number of results per page.", + "type": "number" + }, + "sort_by": { + "default": "name", + "description": "Which property to sort results by.", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "sort_order": { + "default": "ASC", + "description": "Sort direction for sort_by property.", + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + } + }, + "required": [ + "page", + "per_page" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "page", - "per_page" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { @@ -397,14 +437,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, - "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, - "digital-experience-monitoring_list_rules_response": digital_experience_monitoring_list_rules_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, + "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, + "digital-experience-monitoring_list_rules_response": digital$$experience$$monitoring_list_rules_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -446,56 +486,64 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, - "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, - "digital-experience-monitoring_list_rules_response": digital_experience_monitoring_list_rules_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, + "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, + "digital-experience-monitoring_list_rules_response": digital$$experience$$monitoring_list_rules_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/rules`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["sort_order", args["sort_order"], true], - ["sort_by", args["sort_by"], true], - ["name", args["name"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["sort_order", param(args, "query", "sort_order"), true], + ["sort_by", param(args, "query", "sort_by"), true], + ["name", param(args, "query", "name"), true], ], }), }, { - name: "zero_trust_dex_rules_update", + name: "zeroTrust_dex_rules_update", title: "Update a DEX Rule", description: "Update a DEX Rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, "body": { "$ref": "#/$defs/digital-experience-monitoring_patch_rule_body" }, - "rule_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier of the rule." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "rule_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier of the rule." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id", + "path", "body" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_patch_rule_body": digital_experience_monitoring_patch_rule_body, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_patch_rule_body": digital$$experience$$monitoring_patch_rule_body, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -513,12 +561,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, - "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, + "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -557,13 +605,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_dex-rule": digital_experience_monitoring_dex_rule_output, - "digital-experience-monitoring_dex-targeted-test": digital_experience_monitoring_dex_targeted_test_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, + "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/schemas.ts b/src/generated/forge-mcp/zeroTrust/dex/schemas.ts index 678196a75..a9c3bd405 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `digital-experience-monitoring_account_identifier`. */ -export const digital_experience_monitoring_account_identifier: JsonSchema = { +export const digital$$experience$$monitoring_account_identifier: JsonSchema = { "description": "Unique identifier linked to an account.", "type": "string" }; @@ -14,7 +14,7 @@ export const digital_experience_monitoring_account_identifier: JsonSchema = { /** * The schema of `digital-experience-monitoring_colo`. */ -export const digital_experience_monitoring_colo: JsonSchema = { +export const digital$$experience$$monitoring_colo: JsonSchema = { "description": "Cloudflare colo airport code.", "type": "string" }; @@ -22,7 +22,7 @@ export const digital_experience_monitoring_colo: JsonSchema = { /** * The schema of `digital-experience-monitoring_device-dex-test-schemas-data`. */ -export const digital_experience_monitoring_device_dex_test_schemas_data: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$data: JsonSchema = { "description": "The configuration object which contains the details for the WARP client to conduct the test.", "properties": { "host": { @@ -55,7 +55,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_data: JsonSch /** * The schema of `digital-experience-monitoring_platform`. */ -export const digital_experience_monitoring_platform: JsonSchema = { +export const digital$$experience$$monitoring_platform: JsonSchema = { "description": "Operating system.", "type": "string" }; @@ -63,7 +63,7 @@ export const digital_experience_monitoring_platform: JsonSchema = { /** * The schema of `digital-experience-monitoring_status`. */ -export const digital_experience_monitoring_status: JsonSchema = { +export const digital$$experience$$monitoring_status: JsonSchema = { "description": "Network status.", "type": "string" }; @@ -71,14 +71,14 @@ export const digital_experience_monitoring_status: JsonSchema = { /** * The schema of `digital-experience-monitoring_timestamp`. */ -export const digital_experience_monitoring_timestamp: JsonSchema = { +export const digital$$experience$$monitoring_timestamp: JsonSchema = { "type": "string" }; /** * The schema of `digital-experience-monitoring_uuid`. */ -export const digital_experience_monitoring_uuid: JsonSchema = { +export const digital$$experience$$monitoring_uuid: JsonSchema = { "description": "API Resource UUID tag.", "type": "string" }; @@ -86,7 +86,7 @@ export const digital_experience_monitoring_uuid: JsonSchema = { /** * The schema of `digital-experience-monitoring_version`. */ -export const digital_experience_monitoring_version: JsonSchema = { +export const digital$$experience$$monitoring_version: JsonSchema = { "description": "WARP client version.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts index b45b4a623..3b59ce34f 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * The schema of `digital-experience-monitoring_http_details_response` in * responses. */ -export const digital_experience_monitoring_http_details_response_output: JsonSchema = { +export const digital$$experience$$monitoring_http_details_response: JsonSchema = { "properties": { "host": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/outputs.ts index 92e98077f..3e1d1b977 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; * `digital-experience-monitoring_http_details_percentiles_response` in * responses. */ -export const digital_experience_monitoring_http_details_percentiles_response_output: JsonSchema = { +export const digital$$experience$$monitoring_http_details_percentiles_response: JsonSchema = { "properties": { "dnsResponseTimeMs": { "$ref": "#/$defs/digital-experience-monitoring_percentiles" diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts index 81ce21d05..af9887b28 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts @@ -1,67 +1,83 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, } from "../../../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_uuid, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_uuid, } from "../../../schemas.js"; -import { digital_experience_monitoring_percentiles_output } from "../../outputs.js"; -import { digital_experience_monitoring_http_details_percentiles_response_output } from "./outputs.js"; +import { digital$$experience$$monitoring_percentiles } from "../../outputs.js"; +import { digital$$experience$$monitoring_http_details_percentiles_response } from "./outputs.js"; /** - * The tools of `zero_trust.dex.test_results.http.percentiles`. + * The tools of `zeroTrust.dex.testResults.http.percentiles`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_test_results_http_percentiles_get", + name: "zeroTrust_dex_testResults_http_percentiles_get", title: "Get percentiles for an http test", description: "Get percentiles for an http test for a given time period between 1 hour and 7 days.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "colo": { - "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", - "type": "string" - }, - "device_id": { - "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "test_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier for a specific test." + } }, - "type": "array" - }, - "from": { - "description": "Start time for the query in ISO (RFC3339 - ISO 8601) format.", - "type": "string" - }, - "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "required": [ + "account_id", + "test_id" + ], + "type": "object" }, - "to": { - "description": "End time for the query in ISO (RFC3339 - ISO 8601) format.", - "type": "string" + "query": { + "properties": { + "colo": { + "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", + "type": "string" + }, + "deviceId": { + "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", + "items": { + "type": "string" + }, + "type": "array" + }, + "from": { + "description": "Start time for the query in ISO (RFC3339 - ISO 8601) format.", + "type": "string" + }, + "to": { + "description": "End time for the query in ISO (RFC3339 - ISO 8601) format.", + "type": "string" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" } }, required: [ - "account_id", - "test_id", - "from", - "to" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, outputSchema: { @@ -79,10 +95,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_http_details_percentiles_response": digital_experience_monitoring_http_details_percentiles_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_percentiles": digital_experience_monitoring_percentiles_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_http_details_percentiles_response": digital$$experience$$monitoring_http_details_percentiles_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_percentiles": digital$$experience$$monitoring_percentiles, }, }, annotations: { @@ -124,20 +140,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_http_details_percentiles_response": digital_experience_monitoring_http_details_percentiles_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_percentiles": digital_experience_monitoring_percentiles_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_http_details_percentiles_response": digital$$experience$$monitoring_http_details_percentiles_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_percentiles": digital$$experience$$monitoring_percentiles, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/http-tests/${pathParam(args, "test_id")}/percentiles`, query: [ - ["deviceId", args["device_id"], true], - ["from", args["from"], true], - ["to", args["to"], true], - ["colo", args["colo"], true], + ["deviceId", param(args, "query", "deviceId"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["colo", param(args, "query", "colo"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts index 1e86bf239..d87df7d04 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts @@ -1,80 +1,96 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_uuid_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_uuid, } from "../../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_uuid, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, } from "../../schemas.js"; import { - digital_experience_monitoring_test_stat_over_time_output, - digital_experience_monitoring_test_stat_pct_over_time_output, + digital$$experience$$monitoring_test_stat_over_time, + digital$$experience$$monitoring_test_stat_pct_over_time, } from "../outputs.js"; -import { digital_experience_monitoring_http_details_response_output } from "./outputs.js"; +import { digital$$experience$$monitoring_http_details_response } from "./outputs.js"; /** - * The tools of `zero_trust.dex.test_results.http`. + * The tools of `zeroTrust.dex.testResults.http`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_test_results_http_get", + name: "zeroTrust_dex_testResults_http_get", title: "Get details and aggregate metrics for an http test", description: "Get test details and aggregate performance metrics for an http test for a given time period between 1 hour and 7 days.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "colo": { - "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", - "type": "string" - }, - "device_id": { - "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "test_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier for a specific test." + } }, - "type": "array" - }, - "from": { - "description": "Start time for aggregate metrics in ISO ms.", - "type": "string" - }, - "interval": { - "description": "Time interval for aggregate time slots.", - "enum": [ - "minute", - "hour" + "required": [ + "account_id", + "test_id" ], - "type": "string" - }, - "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "type": "object" }, - "to": { - "description": "End time for aggregate metrics in ISO ms.", - "type": "string" + "query": { + "properties": { + "colo": { + "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", + "type": "string" + }, + "deviceId": { + "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", + "items": { + "type": "string" + }, + "type": "array" + }, + "from": { + "description": "Start time for aggregate metrics in ISO ms.", + "type": "string" + }, + "interval": { + "description": "Time interval for aggregate time slots.", + "enum": [ + "minute", + "hour" + ], + "type": "string" + }, + "to": { + "description": "End time for aggregate metrics in ISO ms.", + "type": "string" + } + }, + "required": [ + "from", + "to", + "interval" + ], + "type": "object" } }, required: [ - "account_id", - "test_id", - "from", - "to", - "interval" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -92,12 +108,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_http_details_response": digital_experience_monitoring_http_details_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_test_stat_over_time": digital_experience_monitoring_test_stat_over_time_output, - "digital-experience-monitoring_test_stat_pct_over_time": digital_experience_monitoring_test_stat_pct_over_time_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_http_details_response": digital$$experience$$monitoring_http_details_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_test_stat_over_time": digital$$experience$$monitoring_test_stat_over_time, + "digital-experience-monitoring_test_stat_pct_over_time": digital$$experience$$monitoring_test_stat_pct_over_time, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -139,23 +155,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_http_details_response": digital_experience_monitoring_http_details_response_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_test_stat_over_time": digital_experience_monitoring_test_stat_over_time_output, - "digital-experience-monitoring_test_stat_pct_over_time": digital_experience_monitoring_test_stat_pct_over_time_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_http_details_response": digital$$experience$$monitoring_http_details_response, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_test_stat_over_time": digital$$experience$$monitoring_test_stat_over_time, + "digital-experience-monitoring_test_stat_pct_over_time": digital$$experience$$monitoring_test_stat_pct_over_time, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/http-tests/${pathParam(args, "test_id")}`, query: [ - ["deviceId", args["device_id"], true], - ["from", args["from"], true], - ["to", args["to"], true], - ["interval", args["interval"], true], - ["colo", args["colo"], true], + ["deviceId", param(args, "query", "deviceId"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["interval", param(args, "query", "interval"), true], + ["colo", param(args, "query", "colo"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/outputs.ts index 8506b2a19..c231b4caf 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_percentiles` in responses. */ -export const digital_experience_monitoring_percentiles_output: JsonSchema = { +export const digital$$experience$$monitoring_percentiles: JsonSchema = { "properties": { "p50": { "oneOf": [ @@ -56,7 +56,7 @@ export const digital_experience_monitoring_percentiles_output: JsonSchema = { * The schema of `digital-experience-monitoring_test_stat_over_time` in * responses. */ -export const digital_experience_monitoring_test_stat_over_time_output: JsonSchema = { +export const digital$$experience$$monitoring_test_stat_over_time: JsonSchema = { "properties": { "avg": { "oneOf": [ @@ -117,7 +117,7 @@ export const digital_experience_monitoring_test_stat_over_time_output: JsonSchem * The schema of `digital-experience-monitoring_test_stat_pct_over_time` in * responses. */ -export const digital_experience_monitoring_test_stat_pct_over_time_output: JsonSchema = { +export const digital$$experience$$monitoring_test_stat_pct_over_time: JsonSchema = { "properties": { "avg": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts index c83461d40..bc4710baf 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; /** * The schema of `digital-experience-monitoring_execution_context` in responses. */ -export const digital_experience_monitoring_execution_context_output: JsonSchema = { +export const digital$$experience$$monitoring_execution_context: JsonSchema = { "enum": [ "EXECUTION_CONTEXT_INVALID", "OUT_OF_TUNNEL", @@ -20,7 +20,7 @@ export const digital_experience_monitoring_execution_context_output: JsonSchema * `digital-experience-monitoring_traceroute_test_result_network_path_response` * in responses. */ -export const digital_experience_monitoring_traceroute_test_result_network_path_response_output: JsonSchema = { +export const digital$$experience$$monitoring_traceroute_test_result_network_path_response: JsonSchema = { "properties": { "colo": { "$ref": "#/$defs/digital-experience-monitoring_colo" diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts index dd41b7d68..9c5ca8c66 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts @@ -3,48 +3,56 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_colo_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_uuid_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_colo, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_uuid, } from "../../../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_uuid, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, } from "../../../schemas.js"; import { - digital_experience_monitoring_execution_context_output, - digital_experience_monitoring_traceroute_test_result_network_path_response_output, + digital$$experience$$monitoring_execution_context, + digital$$experience$$monitoring_traceroute_test_result_network_path_response, } from "./outputs.js"; /** - * The tools of `zero_trust.dex.test_results.traceroute.network_path`. + * The tools of `zeroTrust.dex.testResults.traceroute.networkPath`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_test_results_traceroute_network_path_get", + name: "zeroTrust_dex_testResults_traceroute_networkPath_get", title: "Get details for a specific traceroute test run", description: "Get a breakdown of hops and performance metrics for a specific traceroute test run", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "test_result_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific traceroute test." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "test_result_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier for a specific traceroute test." + } + }, + "required": [ + "account_id", + "test_result_id" + ], + "type": "object" } }, required: [ - "account_id", - "test_result_id" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -62,12 +70,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_colo": digital_experience_monitoring_colo_output, - "digital-experience-monitoring_execution_context": digital_experience_monitoring_execution_context_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_traceroute_test_result_network_path_response": digital_experience_monitoring_traceroute_test_result_network_path_response_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, + "digital-experience-monitoring_execution_context": digital$$experience$$monitoring_execution_context, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_traceroute_test_result_network_path_response": digital$$experience$$monitoring_traceroute_test_result_network_path_response, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -109,13 +117,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_colo": digital_experience_monitoring_colo_output, - "digital-experience-monitoring_execution_context": digital_experience_monitoring_execution_context_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_traceroute_test_result_network_path_response": digital_experience_monitoring_traceroute_test_result_network_path_response_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, + "digital-experience-monitoring_execution_context": digital$$experience$$monitoring_execution_context, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_traceroute_test_result_network_path_response": digital$$experience$$monitoring_traceroute_test_result_network_path_response, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts index eb98b0156..7641b4c58 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * The schema of `digital-experience-monitoring_traceroute_details_response` in * responses. */ -export const digital_experience_monitoring_traceroute_details_response_output: JsonSchema = { +export const digital$$experience$$monitoring_traceroute_details_response: JsonSchema = { "properties": { "host": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/outputs.ts index 0de45a362..870f131e0 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; * `digital-experience-monitoring_traceroute_details_percentiles_response` in * responses. */ -export const digital_experience_monitoring_traceroute_details_percentiles_response_output: JsonSchema = { +export const digital$$experience$$monitoring_traceroute_details_percentiles_response: JsonSchema = { "properties": { "hopsCount": { "$ref": "#/$defs/digital-experience-monitoring_percentiles" diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts index 542384dd5..1943ef51e 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts @@ -1,67 +1,83 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, } from "../../../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_uuid, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_uuid, } from "../../../schemas.js"; -import { digital_experience_monitoring_percentiles_output } from "../../outputs.js"; -import { digital_experience_monitoring_traceroute_details_percentiles_response_output } from "./outputs.js"; +import { digital$$experience$$monitoring_percentiles } from "../../outputs.js"; +import { digital$$experience$$monitoring_traceroute_details_percentiles_response } from "./outputs.js"; /** - * The tools of `zero_trust.dex.test_results.traceroute.percentiles`. + * The tools of `zeroTrust.dex.testResults.traceroute.percentiles`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_test_results_traceroute_percentiles_get", + name: "zeroTrust_dex_testResults_traceroute_percentiles_get", title: "Get percentiles for a traceroute test", description: "Get percentiles for a traceroute test for a given time period between 1 hour and 7 days.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "colo": { - "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", - "type": "string" - }, - "device_id": { - "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "test_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier for a specific test." + } }, - "type": "array" - }, - "from": { - "description": "Start time for the query in ISO (RFC3339 - ISO 8601) format.", - "type": "string" - }, - "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "required": [ + "account_id", + "test_id" + ], + "type": "object" }, - "to": { - "description": "End time for the query in ISO (RFC3339 - ISO 8601) format.", - "type": "string" + "query": { + "properties": { + "colo": { + "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", + "type": "string" + }, + "deviceId": { + "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", + "items": { + "type": "string" + }, + "type": "array" + }, + "from": { + "description": "Start time for the query in ISO (RFC3339 - ISO 8601) format.", + "type": "string" + }, + "to": { + "description": "End time for the query in ISO (RFC3339 - ISO 8601) format.", + "type": "string" + } + }, + "required": [ + "from", + "to" + ], + "type": "object" } }, required: [ - "account_id", - "test_id", - "from", - "to" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, outputSchema: { @@ -79,10 +95,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_percentiles": digital_experience_monitoring_percentiles_output, - "digital-experience-monitoring_traceroute_details_percentiles_response": digital_experience_monitoring_traceroute_details_percentiles_response_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_percentiles": digital$$experience$$monitoring_percentiles, + "digital-experience-monitoring_traceroute_details_percentiles_response": digital$$experience$$monitoring_traceroute_details_percentiles_response, }, }, annotations: { @@ -124,20 +140,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_percentiles": digital_experience_monitoring_percentiles_output, - "digital-experience-monitoring_traceroute_details_percentiles_response": digital_experience_monitoring_traceroute_details_percentiles_response_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_percentiles": digital$$experience$$monitoring_percentiles, + "digital-experience-monitoring_traceroute_details_percentiles_response": digital$$experience$$monitoring_traceroute_details_percentiles_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/traceroute-tests/${pathParam(args, "test_id")}/percentiles`, query: [ - ["deviceId", args["device_id"], true], - ["from", args["from"], true], - ["to", args["to"], true], - ["colo", args["colo"], true], + ["deviceId", param(args, "query", "deviceId"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["colo", param(args, "query", "colo"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts index 9382c67b1..4092bd660 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts @@ -1,80 +1,96 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_uuid_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_uuid, } from "../../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_uuid, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, } from "../../schemas.js"; import { - digital_experience_monitoring_test_stat_over_time_output, - digital_experience_monitoring_test_stat_pct_over_time_output, + digital$$experience$$monitoring_test_stat_over_time, + digital$$experience$$monitoring_test_stat_pct_over_time, } from "../outputs.js"; -import { digital_experience_monitoring_traceroute_details_response_output } from "./outputs.js"; +import { digital$$experience$$monitoring_traceroute_details_response } from "./outputs.js"; /** - * The tools of `zero_trust.dex.test_results.traceroute`. + * The tools of `zeroTrust.dex.testResults.traceroute`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_test_results_traceroute_get", + name: "zeroTrust_dex_testResults_traceroute_get", title: "Get details and aggregate metrics for a traceroute test", description: "Get test details and aggregate performance metrics for a traceroute test for a given time period between 1 hour and 7 days.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "colo": { - "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", - "type": "string" - }, - "device_id": { - "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "test_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier for a specific test." + } }, - "type": "array" - }, - "from": { - "description": "Start time for aggregate metrics in ISO ms.", - "type": "string" - }, - "interval": { - "description": "Time interval for aggregate time slots.", - "enum": [ - "minute", - "hour" + "required": [ + "account_id", + "test_id" ], - "type": "string" - }, - "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "type": "object" }, - "to": { - "description": "End time for aggregate metrics in ISO ms.", - "type": "string" + "query": { + "properties": { + "colo": { + "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", + "type": "string" + }, + "deviceId": { + "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", + "items": { + "type": "string" + }, + "type": "array" + }, + "from": { + "description": "Start time for aggregate metrics in ISO ms.", + "type": "string" + }, + "interval": { + "description": "Time interval for aggregate time slots.", + "enum": [ + "minute", + "hour" + ], + "type": "string" + }, + "to": { + "description": "End time for aggregate metrics in ISO ms.", + "type": "string" + } + }, + "required": [ + "from", + "to", + "interval" + ], + "type": "object" } }, required: [ - "account_id", - "test_id", - "from", - "to", - "interval" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -92,12 +108,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_test_stat_over_time": digital_experience_monitoring_test_stat_over_time_output, - "digital-experience-monitoring_test_stat_pct_over_time": digital_experience_monitoring_test_stat_pct_over_time_output, - "digital-experience-monitoring_traceroute_details_response": digital_experience_monitoring_traceroute_details_response_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_test_stat_over_time": digital$$experience$$monitoring_test_stat_over_time, + "digital-experience-monitoring_test_stat_pct_over_time": digital$$experience$$monitoring_test_stat_pct_over_time, + "digital-experience-monitoring_traceroute_details_response": digital$$experience$$monitoring_traceroute_details_response, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -139,23 +155,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_test_stat_over_time": digital_experience_monitoring_test_stat_over_time_output, - "digital-experience-monitoring_test_stat_pct_over_time": digital_experience_monitoring_test_stat_pct_over_time_output, - "digital-experience-monitoring_traceroute_details_response": digital_experience_monitoring_traceroute_details_response_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_test_stat_over_time": digital$$experience$$monitoring_test_stat_over_time, + "digital-experience-monitoring_test_stat_pct_over_time": digital$$experience$$monitoring_test_stat_pct_over_time, + "digital-experience-monitoring_traceroute_details_response": digital$$experience$$monitoring_traceroute_details_response, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/traceroute-tests/${pathParam(args, "test_id")}`, query: [ - ["deviceId", args["device_id"], true], - ["from", args["from"], true], - ["to", args["to"], true], - ["interval", args["interval"], true], - ["colo", args["colo"], true], + ["deviceId", param(args, "query", "deviceId"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["interval", param(args, "query", "interval"), true], + ["colo", param(args, "query", "colo"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts index 01e3bf22c..9a4db6813 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * `digital-experience-monitoring_traceroute_test_network_path_response` in * responses. */ -export const digital_experience_monitoring_traceroute_test_network_path_response_output: JsonSchema = { +export const digital$$experience$$monitoring_traceroute_test_network_path_response: JsonSchema = { "properties": { "deviceName": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts index c5f16505a..1c3c7c6fd 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts @@ -1,70 +1,86 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_uuid_output, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_uuid, } from "../../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_uuid, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, } from "../../schemas.js"; -import { digital_experience_monitoring_traceroute_test_network_path_response_output } from "./outputs.js"; +import { digital$$experience$$monitoring_traceroute_test_network_path_response } from "./outputs.js"; /** - * The tools of `zero_trust.dex.tests.network_path`. + * The tools of `zeroTrust.dex.tests.networkPath`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_tests_network_path_get", + name: "zeroTrust_dex_tests_networkPath_get", title: "Get network path breakdown for a traceroute test", description: "Get a breakdown of metrics by hop for individual traceroute test runs.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "device_id": { - "description": "Device to filter traceroute result runs to.", - "type": "string" - }, - "from": { - "description": "Start time for aggregate metrics in ISO ms.", - "type": "string" - }, - "interval": { - "description": "Time interval for aggregate time slots.", - "enum": [ - "minute", - "hour" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "test_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier for a specific test." + } + }, + "required": [ + "account_id", + "test_id" ], - "type": "string" - }, - "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "type": "object" }, - "to": { - "description": "End time for aggregate metrics in ISO ms.", - "type": "string" + "query": { + "properties": { + "deviceId": { + "description": "Device to filter traceroute result runs to.", + "type": "string" + }, + "from": { + "description": "Start time for aggregate metrics in ISO ms.", + "type": "string" + }, + "interval": { + "description": "Time interval for aggregate time slots.", + "enum": [ + "minute", + "hour" + ], + "type": "string" + }, + "to": { + "description": "End time for aggregate metrics in ISO ms.", + "type": "string" + } + }, + "required": [ + "deviceId", + "from", + "to", + "interval" + ], + "type": "object" } }, required: [ - "account_id", - "test_id", - "device_id", - "from", - "to", - "interval" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -82,10 +98,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_traceroute_test_network_path_response": digital_experience_monitoring_traceroute_test_network_path_response_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_traceroute_test_network_path_response": digital$$experience$$monitoring_traceroute_test_network_path_response, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -127,20 +143,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_traceroute_test_network_path_response": digital_experience_monitoring_traceroute_test_network_path_response_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_traceroute_test_network_path_response": digital$$experience$$monitoring_traceroute_test_network_path_response, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/traceroute-tests/${pathParam(args, "test_id")}/network-path`, query: [ - ["deviceId", args["device_id"], true], - ["from", args["from"], true], - ["to", args["to"], true], - ["interval", args["interval"], true], + ["deviceId", param(args, "query", "deviceId"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["interval", param(args, "query", "interval"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts index 2d66d91a3..cf013bc34 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `digital-experience-monitoring_api-response-collection-common` * in responses. */ -export const digital_experience_monitoring_api_response_collection_common_output: JsonSchema = { +export const digital$$experience$$monitoring_api$$response$$collection$$common: JsonSchema = { "allOf": [ { "$ref": "#/$defs/digital-experience-monitoring_api-response-common" @@ -38,7 +38,7 @@ export const digital_experience_monitoring_api_response_collection_common_output * `digital-experience-monitoring_device-dex-test-schemas-description` in * responses. */ -export const digital_experience_monitoring_device_dex_test_schemas_description_output: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$description: JsonSchema = { "type": "string" }; @@ -46,7 +46,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_description_o * The schema of `digital-experience-monitoring_device-dex-test-schemas-enabled` * in responses. */ -export const digital_experience_monitoring_device_dex_test_schemas_enabled_output: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled: JsonSchema = { "type": "boolean" }; @@ -54,7 +54,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_enabled_outpu * The schema of `digital-experience-monitoring_device-dex-test-schemas-http` in * responses. */ -export const digital_experience_monitoring_device_dex_test_schemas_http_output: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$http: JsonSchema = { "properties": { "created": { "format": "date-time", @@ -103,7 +103,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_http_output: * `digital-experience-monitoring_device-dex-test-schemas-interval` in * responses. */ -export const digital_experience_monitoring_device_dex_test_schemas_interval_output: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval: JsonSchema = { "type": "string" }; @@ -111,7 +111,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_interval_outp * The schema of `digital-experience-monitoring_device-dex-test-schemas-name` in * responses. */ -export const digital_experience_monitoring_device_dex_test_schemas_name_output: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$name: JsonSchema = { "type": "string" }; @@ -119,7 +119,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_name_output: * The schema of `digital-experience-monitoring_device-dex-test-target-policies` * in responses. */ -export const digital_experience_monitoring_device_dex_test_target_policies_output: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$target$$policies: JsonSchema = { "items": { "$ref": "#/$defs/digital-experience-monitoring_dex_target_policy" }, @@ -130,7 +130,7 @@ export const digital_experience_monitoring_device_dex_test_target_policies_outpu * The schema of `digital-experience-monitoring_dex-delete-response-collection` * in responses. */ -export const digital_experience_monitoring_dex_delete_response_collection_output: JsonSchema = { +export const digital$$experience$$monitoring_dex$$delete$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/digital-experience-monitoring_api-response-common" @@ -158,7 +158,7 @@ export const digital_experience_monitoring_dex_delete_response_collection_output * The schema of `digital-experience-monitoring_dex-response_collection` in * responses. */ -export const digital_experience_monitoring_dex_response_collection_output: JsonSchema = { +export const digital$$experience$$monitoring_dex$$response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/digital-experience-monitoring_api-response-collection-common" @@ -181,7 +181,7 @@ export const digital_experience_monitoring_dex_response_collection_output: JsonS * The schema of `digital-experience-monitoring_dex-single_response` in * responses. */ -export const digital_experience_monitoring_dex_single_response_output: JsonSchema = { +export const digital$$experience$$monitoring_dex$$single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/digital-experience-monitoring_api-response-single" @@ -200,7 +200,7 @@ export const digital_experience_monitoring_dex_single_response_output: JsonSchem /** * The schema of `digital-experience-monitoring_dex_target_policy` in responses. */ -export const digital_experience_monitoring_dex_target_policy_output: JsonSchema = { +export const digital$$experience$$monitoring_dex_target_policy: JsonSchema = { "properties": { "default": { "type": "boolean" @@ -221,6 +221,6 @@ export const digital_experience_monitoring_dex_target_policy_output: JsonSchema /** * The schema of `digital-experience-monitoring_schemas-test-id` in responses. */ -export const digital_experience_monitoring_schemas_test_id_output: JsonSchema = { +export const digital$$experience$$monitoring_schemas$$test$$id: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/schemas.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/schemas.ts index 784e05f05..ca8d326df 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/schemas.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of * `digital-experience-monitoring_device-dex-test-schemas-description`. */ -export const digital_experience_monitoring_device_dex_test_schemas_description: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$description: JsonSchema = { "description": "Additional details about the test.", "type": "string" }; @@ -16,7 +16,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_description: * The schema of * `digital-experience-monitoring_device-dex-test-schemas-enabled`. */ -export const digital_experience_monitoring_device_dex_test_schemas_enabled: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled: JsonSchema = { "description": "Determines whether or not the test is active.", "type": "boolean" }; @@ -24,7 +24,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_enabled: Json /** * The schema of `digital-experience-monitoring_device-dex-test-schemas-http`. */ -export const digital_experience_monitoring_device_dex_test_schemas_http: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$http: JsonSchema = { "properties": { "data": { "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-data", @@ -66,7 +66,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_http: JsonSch * The schema of * `digital-experience-monitoring_device-dex-test-schemas-interval`. */ -export const digital_experience_monitoring_device_dex_test_schemas_interval: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval: JsonSchema = { "description": "How often the test will run.", "type": "string" }; @@ -74,7 +74,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_interval: Jso /** * The schema of `digital-experience-monitoring_device-dex-test-schemas-name`. */ -export const digital_experience_monitoring_device_dex_test_schemas_name: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$name: JsonSchema = { "description": "The name of the DEX test. Must be unique.", "type": "string" }; @@ -83,7 +83,7 @@ export const digital_experience_monitoring_device_dex_test_schemas_name: JsonSch * The schema of * `digital-experience-monitoring_device-dex-test-target-policies`. */ -export const digital_experience_monitoring_device_dex_test_target_policies: JsonSchema = { +export const digital$$experience$$monitoring_device$$dex$$test$$target$$policies: JsonSchema = { "description": "DEX rules targeted by this test", "items": { "$ref": "#/$defs/digital-experience-monitoring_dex_target_policy" @@ -94,7 +94,7 @@ export const digital_experience_monitoring_device_dex_test_target_policies: Json /** * The schema of `digital-experience-monitoring_dex_target_policy`. */ -export const digital_experience_monitoring_dex_target_policy: JsonSchema = { +export const digital$$experience$$monitoring_dex_target_policy: JsonSchema = { "properties": { "default": { "description": "Whether the DEX rule is the account default.", @@ -118,7 +118,7 @@ export const digital_experience_monitoring_dex_target_policy: JsonSchema = { /** * The schema of `digital-experience-monitoring_schemas-test-id`. */ -export const digital_experience_monitoring_schemas_test_id: JsonSchema = { +export const digital$$experience$$monitoring_schemas$$test$$id: JsonSchema = { "description": "The unique identifier for the test.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts index dfdda4613..09a5d8d8a 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts @@ -1,97 +1,105 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_common_output, - digital_experience_monitoring_api_response_single_output, - digital_experience_monitoring_device_dex_test_schemas_data_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_uuid_output, + digital$$experience$$monitoring_api$$response$$common, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_api$$response$$single, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_uuid, } from "../outputs.js"; import { - digital_experience_monitoring_account_identifier, - digital_experience_monitoring_device_dex_test_schemas_data, - digital_experience_monitoring_uuid, + digital$$experience$$monitoring_account_identifier, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$data as digital$$experience$$monitoring_device$$dex$$test$$schemas$$data$, + digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, } from "../schemas.js"; import { - digital_experience_monitoring_api_response_collection_common_output, - digital_experience_monitoring_device_dex_test_schemas_description_output, - digital_experience_monitoring_device_dex_test_schemas_enabled_output, - digital_experience_monitoring_device_dex_test_schemas_http_output, - digital_experience_monitoring_device_dex_test_schemas_interval_output, - digital_experience_monitoring_device_dex_test_schemas_name_output, - digital_experience_monitoring_device_dex_test_target_policies_output, - digital_experience_monitoring_dex_delete_response_collection_output, - digital_experience_monitoring_dex_response_collection_output, - digital_experience_monitoring_dex_single_response_output, - digital_experience_monitoring_dex_target_policy_output, - digital_experience_monitoring_schemas_test_id_output, + digital$$experience$$monitoring_api$$response$$collection$$common, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + digital$$experience$$monitoring_dex$$delete$$response$$collection, + digital$$experience$$monitoring_dex$$response_collection, + digital$$experience$$monitoring_dex$$single_response, + digital$$experience$$monitoring_dex_target_policy, + digital$$experience$$monitoring_schemas$$test$$id, } from "./outputs.js"; import { - digital_experience_monitoring_device_dex_test_schemas_description, - digital_experience_monitoring_device_dex_test_schemas_enabled, - digital_experience_monitoring_device_dex_test_schemas_http, - digital_experience_monitoring_device_dex_test_schemas_interval, - digital_experience_monitoring_device_dex_test_schemas_name, - digital_experience_monitoring_device_dex_test_target_policies, - digital_experience_monitoring_dex_target_policy, - digital_experience_monitoring_schemas_test_id, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$description as digital$$experience$$monitoring_device$$dex$$test$$schemas$$description$, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled as digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled$, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$http as digital$$experience$$monitoring_device$$dex$$test$$schemas$$http$, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval as digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval$, + digital$$experience$$monitoring_device$$dex$$test$$schemas$$name as digital$$experience$$monitoring_device$$dex$$test$$schemas$$name$, + digital$$experience$$monitoring_device$$dex$$test$$target$$policies as digital$$experience$$monitoring_device$$dex$$test$$target$$policies$, + digital$$experience$$monitoring_dex_target_policy as digital$$experience$$monitoring_dex_target_policy$, + digital$$experience$$monitoring_schemas$$test$$id as digital$$experience$$monitoring_schemas$$test$$id$, } from "./schemas.js"; /** - * The tools of `zero_trust.dex.tests`. + * The tools of `zeroTrust.dex.tests`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_tests_create", + name: "zeroTrust_dex_tests_create", title: "Create Device DEX test", description: "Create a DEX test.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, "body": { "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-http" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data$, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description$, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled$, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http$, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval$, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name$, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies$, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy$, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_dex-single_response", $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-single_response": digital_experience_monitoring_dex_single_response_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -118,20 +126,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-single_response": digital_experience_monitoring_dex_single_response_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -140,46 +148,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dex_tests_delete", + name: "zeroTrust_dex_tests_delete", title: "Delete Device DEX test", description: "Delete a Device DEX test. Returns the remaining device dex tests for the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "dex_test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a DEX test." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "dex_test_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier for a DEX test." + } + }, + "required": [ + "account_id", + "dex_test_id" + ], + "type": "object" } }, required: [ - "account_id", - "dex_test_id" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_dex-delete-response-collection", $defs: { - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-delete-response-collection": digital_experience_monitoring_dex_delete_response_collection_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-delete-response-collection": digital$$experience$$monitoring_dex$$delete$$response$$collection, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -206,20 +222,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-delete-response-collection": digital_experience_monitoring_dex_delete_response_collection_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-delete-response-collection": digital$$experience$$monitoring_dex$$delete$$response$$collection, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -227,46 +243,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dex_tests_get", + name: "zeroTrust_dex_tests_get", title: "Get Device DEX test", description: "Fetch a single DEX test.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "dex_test_id": { - "$ref": "#/$defs/digital-experience-monitoring_schemas-test-id", - "description": "Unique identifier for a DEX test." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "dex_test_id": { + "$ref": "#/$defs/digital-experience-monitoring_schemas-test-id", + "description": "Unique identifier for a DEX test." + } + }, + "required": [ + "account_id", + "dex_test_id" + ], + "type": "object" } }, required: [ - "account_id", - "dex_test_id" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id$, }, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_dex-single_response", $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-single_response": digital_experience_monitoring_dex_single_response_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -296,20 +320,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-single_response": digital_experience_monitoring_dex_single_response_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -317,63 +341,76 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dex_tests_list", + name: "zeroTrust_dex_tests_list", title: "List Device DEX tests", description: "Fetch all DEX tests.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "kind": { - "description": "Filter by test type.", - "enum": [ - "http", - "traceroute" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" + "type": "object" }, - "per_page": { - "default": 10, - "description": "Number of results per page.", - "type": "number" - }, - "test_name": { - "description": "Filter by test name.", - "type": "string" + "query": { + "properties": { + "kind": { + "description": "Filter by test type.", + "enum": [ + "http", + "traceroute" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 10, + "description": "Number of results per page.", + "type": "number" + }, + "testName": { + "description": "Filter by test name.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_dex-response_collection", $defs: { - "digital-experience-monitoring_api-response-collection-common": digital_experience_monitoring_api_response_collection_common_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-response_collection": digital_experience_monitoring_dex_response_collection_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-collection-common": digital$$experience$$monitoring_api$$response$$collection$$common, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-response_collection": digital$$experience$$monitoring_dex$$response_collection, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -403,86 +440,94 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-collection-common": digital_experience_monitoring_api_response_collection_common_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-response_collection": digital_experience_monitoring_dex_response_collection_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-collection-common": digital$$experience$$monitoring_api$$response$$collection$$common, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-response_collection": digital$$experience$$monitoring_dex$$response_collection, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/devices/dex_tests`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["testName", args["test_name"], true], - ["kind", args["kind"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["testName", param(args, "query", "testName"), true], + ["kind", param(args, "query", "kind"), true], ], }), }, { - name: "zero_trust_dex_tests_update", + name: "zeroTrust_dex_tests_update", title: "Update Device DEX test", description: "Update a DEX test.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, "body": { "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-http" }, - "dex_test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a DEX test." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + }, + "dex_test_id": { + "$ref": "#/$defs/digital-experience-monitoring_uuid", + "description": "Unique identifier for a DEX test." + } + }, + "required": [ + "account_id", + "dex_test_id" + ], + "type": "object" } }, required: [ - "account_id", - "dex_test_id", + "path", "body" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data$, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description$, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled$, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http$, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval$, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name$, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies$, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy$, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_dex-single_response", $defs: { - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-single_response": digital_experience_monitoring_dex_single_response_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -509,20 +554,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_api-response-single": digital_experience_monitoring_api_response_single_output, - "digital-experience-monitoring_device-dex-test-schemas-data": digital_experience_monitoring_device_dex_test_schemas_data_output, - "digital-experience-monitoring_device-dex-test-schemas-description": digital_experience_monitoring_device_dex_test_schemas_description_output, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital_experience_monitoring_device_dex_test_schemas_enabled_output, - "digital-experience-monitoring_device-dex-test-schemas-http": digital_experience_monitoring_device_dex_test_schemas_http_output, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital_experience_monitoring_device_dex_test_schemas_interval_output, - "digital-experience-monitoring_device-dex-test-schemas-name": digital_experience_monitoring_device_dex_test_schemas_name_output, - "digital-experience-monitoring_device-dex-test-target-policies": digital_experience_monitoring_device_dex_test_target_policies_output, - "digital-experience-monitoring_dex-single_response": digital_experience_monitoring_dex_single_response_output, - "digital-experience-monitoring_dex_target_policy": digital_experience_monitoring_dex_target_policy_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_schemas-test-id": digital_experience_monitoring_schemas_test_id_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, + "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, + "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, + "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, + "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, + "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, + "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, + "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, + "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, + "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts index f96148323..c0d4164a3 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `digital-experience-monitoring_timestamp_datetime` in * responses. */ -export const digital_experience_monitoring_timestamp_datetime_output: JsonSchema = { +export const digital$$experience$$monitoring_timestamp_datetime: JsonSchema = { "format": "date-time", "type": "string" }; @@ -16,7 +16,7 @@ export const digital_experience_monitoring_timestamp_datetime_output: JsonSchema * The schema of `digital-experience-monitoring_warp_config_change_event` in * responses. */ -export const digital_experience_monitoring_warp_config_change_event_output: JsonSchema = { +export const digital$$experience$$monitoring_warp_config_change_event: JsonSchema = { "properties": { "device_id": { "$ref": "#/$defs/digital-experience-monitoring_uuid" @@ -53,7 +53,7 @@ export const digital_experience_monitoring_warp_config_change_event_output: Json * The schema of `digital-experience-monitoring_warp_config_details` in * responses. */ -export const digital_experience_monitoring_warp_config_details_output: JsonSchema = { +export const digital$$experience$$monitoring_warp_config_details: JsonSchema = { "properties": { "account_name": { "type": "string" @@ -72,7 +72,7 @@ export const digital_experience_monitoring_warp_config_details_output: JsonSchem * The schema of `digital-experience-monitoring_warp_events_response` in * responses. */ -export const digital_experience_monitoring_warp_events_response_output: JsonSchema = { +export const digital$$experience$$monitoring_warp_events_response: JsonSchema = { "items": { "oneOf": [ { @@ -90,7 +90,7 @@ export const digital_experience_monitoring_warp_events_response_output: JsonSche * The schema of `digital-experience-monitoring_warp_toggle_change_event` in * responses. */ -export const digital_experience_monitoring_warp_toggle_change_event_output: JsonSchema = { +export const digital$$experience$$monitoring_warp_toggle_change_event: JsonSchema = { "properties": { "account_name": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts index 3f8c39228..262411b9f 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts @@ -1,98 +1,114 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - digital_experience_monitoring_api_response_collection_output, - digital_experience_monitoring_api_response_common_failure_output, - digital_experience_monitoring_api_response_common_output, - digital_experience_monitoring_messages_output, - digital_experience_monitoring_uuid_output, + digital$$experience$$monitoring_api$$response$$collection, + digital$$experience$$monitoring_api$$response$$common, + digital$$experience$$monitoring_api$$response$$common$$failure, + digital$$experience$$monitoring_messages, + digital$$experience$$monitoring_uuid, } from "../outputs.js"; -import { digital_experience_monitoring_account_identifier } from "../schemas.js"; +import { digital$$experience$$monitoring_account_identifier } from "../schemas.js"; import { - digital_experience_monitoring_timestamp_datetime_output, - digital_experience_monitoring_warp_config_change_event_output, - digital_experience_monitoring_warp_config_details_output, - digital_experience_monitoring_warp_events_response_output, - digital_experience_monitoring_warp_toggle_change_event_output, + digital$$experience$$monitoring_timestamp_datetime, + digital$$experience$$monitoring_warp_config_change_event, + digital$$experience$$monitoring_warp_config_details, + digital$$experience$$monitoring_warp_events_response, + digital$$experience$$monitoring_warp_toggle_change_event, } from "./outputs.js"; /** - * The tools of `zero_trust.dex.warp_change_events`. + * The tools of `zeroTrust.dex.warpChangeEvents`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dex_warp_change_events_list", + name: "zeroTrust_dex_warpChangeEvents_list", title: "List WARP change events.", description: "List WARP configuration and enablement toggle change events by device.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." - }, - "account_name": { - "description": "Filter events by account name.", - "type": "string" - }, - "config_name": { - "description": "Filter events by WARP configuration name changed from or to. Applicable to type='config' events only.", - "type": "string" - }, - "from": { - "description": "Start time for the query in ISO (RFC3339 - ISO 8601) format.", - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "description": "Number of results per page.", - "type": "number" - }, - "sort_order": { - "default": "ASC", - "description": "Sort response by event timestamp.", - "enum": [ - "ASC", - "DESC" - ], - "type": "string" - }, - "to": { - "description": "End time for the query in ISO (RFC3339 - ISO 8601) format.", - "type": "string" - }, - "toggle": { - "description": "Filter events by type toggle value. Applicable to type='toggle' events only.", - "enum": [ - "on", - "off" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/digital-experience-monitoring_account_identifier", + "description": "Unique Cloudflare account ID." + } + }, + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "type": { - "description": "Filter events by type 'config' or 'toggle'.", - "enum": [ - "config", - "toggle" + "query": { + "properties": { + "account_name": { + "description": "Filter events by account name.", + "type": "string" + }, + "config_name": { + "description": "Filter events by WARP configuration name changed from or to. Applicable to type='config' events only.", + "type": "string" + }, + "from": { + "description": "Start time for the query in ISO (RFC3339 - ISO 8601) format.", + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "description": "Number of results per page.", + "type": "number" + }, + "sort_order": { + "default": "ASC", + "description": "Sort response by event timestamp.", + "enum": [ + "ASC", + "DESC" + ], + "type": "string" + }, + "to": { + "description": "End time for the query in ISO (RFC3339 - ISO 8601) format.", + "type": "string" + }, + "toggle": { + "description": "Filter events by type toggle value. Applicable to type='toggle' events only.", + "enum": [ + "on", + "off" + ], + "type": "string" + }, + "type": { + "description": "Filter events by type 'config' or 'toggle'.", + "enum": [ + "config", + "toggle" + ], + "type": "string" + } + }, + "required": [ + "page", + "per_page", + "from", + "to" ], - "type": "string" + "type": "object" } }, required: [ - "account_id", - "page", - "per_page", - "from", - "to" + "path", + "query" ], $defs: { - "digital-experience-monitoring_account_identifier": digital_experience_monitoring_account_identifier, + "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, }, }, outputSchema: { @@ -110,15 +126,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_timestamp_datetime": digital_experience_monitoring_timestamp_datetime_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, - "digital-experience-monitoring_warp_config_change_event": digital_experience_monitoring_warp_config_change_event_output, - "digital-experience-monitoring_warp_config_details": digital_experience_monitoring_warp_config_details_output, - "digital-experience-monitoring_warp_events_response": digital_experience_monitoring_warp_events_response_output, - "digital-experience-monitoring_warp_toggle_change_event": digital_experience_monitoring_warp_toggle_change_event_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_timestamp_datetime": digital$$experience$$monitoring_timestamp_datetime, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, + "digital-experience-monitoring_warp_config_change_event": digital$$experience$$monitoring_warp_config_change_event, + "digital-experience-monitoring_warp_config_details": digital$$experience$$monitoring_warp_config_details, + "digital-experience-monitoring_warp_events_response": digital$$experience$$monitoring_warp_events_response, + "digital-experience-monitoring_warp_toggle_change_event": digital$$experience$$monitoring_warp_toggle_change_event, }, }, annotations: { @@ -160,30 +176,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "digital-experience-monitoring_api-response-collection": digital_experience_monitoring_api_response_collection_output, - "digital-experience-monitoring_api-response-common": digital_experience_monitoring_api_response_common_output, - "digital-experience-monitoring_api-response-common-failure": digital_experience_monitoring_api_response_common_failure_output, - "digital-experience-monitoring_messages": digital_experience_monitoring_messages_output, - "digital-experience-monitoring_timestamp_datetime": digital_experience_monitoring_timestamp_datetime_output, - "digital-experience-monitoring_uuid": digital_experience_monitoring_uuid_output, - "digital-experience-monitoring_warp_config_change_event": digital_experience_monitoring_warp_config_change_event_output, - "digital-experience-monitoring_warp_config_details": digital_experience_monitoring_warp_config_details_output, - "digital-experience-monitoring_warp_events_response": digital_experience_monitoring_warp_events_response_output, - "digital-experience-monitoring_warp_toggle_change_event": digital_experience_monitoring_warp_toggle_change_event_output, + "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, + "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, + "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, + "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, + "digital-experience-monitoring_timestamp_datetime": digital$$experience$$monitoring_timestamp_datetime, + "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, + "digital-experience-monitoring_warp_config_change_event": digital$$experience$$monitoring_warp_config_change_event, + "digital-experience-monitoring_warp_config_details": digital$$experience$$monitoring_warp_config_details, + "digital-experience-monitoring_warp_events_response": digital$$experience$$monitoring_warp_events_response, + "digital-experience-monitoring_warp_toggle_change_event": digital$$experience$$monitoring_warp_toggle_change_event, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dex/warp-change-events`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["from", args["from"], true], - ["to", args["to"], true], - ["type", args["type"], true], - ["toggle", args["toggle"], true], - ["config_name", args["config_name"], true], - ["account_name", args["account_name"], true], - ["sort_order", args["sort_order"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["from", param(args, "query", "from"), true], + ["to", param(args, "query", "to"), true], + ["type", param(args, "query", "type"), true], + ["toggle", param(args, "query", "toggle"), true], + ["config_name", param(args, "query", "config_name"), true], + ["account_name", param(args, "query", "account_name"), true], + ["sort_order", param(args, "query", "sort_order"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/outputs.ts index 9d20c2f02..95050082f 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_CustomPromptTopic` in responses. */ -export const dlp_CustomPromptTopic_output: JsonSchema = { +export const dlp_CustomPromptTopic: JsonSchema = { "properties": { "created_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts index 1401c1a5b..a5480a2c0 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts @@ -3,38 +3,46 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_CustomPromptTopic_output } from "./outputs.js"; +import { dlp_CustomPromptTopic } from "./outputs.js"; import { dlp_CustomPromptTopicUpdate, dlp_NewCustomPromptTopic, } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.custom_prompt_topics`. + * The tools of `zeroTrust.dlp.customPromptTopics`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_custom_prompt_topics_create", + name: "zeroTrust_dlp_customPromptTopics_create", title: "Create custom prompt topic", description: "Creates a DLP custom prompt topic entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewCustomPromptTopic", "description": "A new custom prompt topic to create." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -56,9 +64,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomPromptTopic": dlp_CustomPromptTopic, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -100,10 +108,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomPromptTopic": dlp_CustomPromptTopic, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -112,23 +120,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_custom_prompt_topics_delete", + name: "zeroTrust_dlp_customPromptTopics_delete", title: "Delete custom prompt topic", description: "Deletes a DLP custom prompt topic entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "entry_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "entry_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "entry_id" + ], + "type": "object" } }, required: [ - "account_id", - "entry_id" + "path" ], }, outputSchema: { @@ -146,9 +162,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -190,10 +206,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -201,23 +217,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_custom_prompt_topics_get", + name: "zeroTrust_dlp_customPromptTopics_get", title: "Get custom prompt topic", description: "Fetches a DLP custom prompt topic entry by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "entry_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "entry_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "entry_id" + ], + "type": "object" } }, required: [ - "account_id", - "entry_id" + "path" ], }, outputSchema: { @@ -235,9 +259,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomPromptTopic": dlp_CustomPromptTopic, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -277,10 +301,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomPromptTopic": dlp_CustomPromptTopic, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -288,18 +312,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_custom_prompt_topics_list", + name: "zeroTrust_dlp_customPromptTopics_list", title: "List custom prompt topics", description: "Lists all DLP custom prompt topic entries in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -320,9 +352,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomPromptTopic": dlp_CustomPromptTopic, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -365,10 +397,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomPromptTopic": dlp_CustomPromptTopic, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -376,27 +408,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_custom_prompt_topics_update", + name: "zeroTrust_dlp_customPromptTopics_update", title: "Update custom prompt topic", description: "Updates a DLP custom prompt topic entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_CustomPromptTopicUpdate", "description": "Update to be applied to the custom prompt topic." }, - "entry_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "entry_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "entry_id" + ], + "type": "object" } }, required: [ - "account_id", - "entry_id", + "path", "body" ], $defs: { @@ -418,9 +458,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomPromptTopic": dlp_CustomPromptTopic, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -462,10 +502,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_CustomPromptTopic": dlp_CustomPromptTopic_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomPromptTopic": dlp_CustomPromptTopic, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/outputs.ts index 1ffb03aee..4812f9ccc 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_DataClass` in responses. */ -export const dlp_DataClass_output: JsonSchema = { +export const dlp_DataClass: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -65,7 +65,7 @@ export const dlp_DataClass_output: JsonSchema = { /** * The schema of `dlp_DataClassArray` in responses. */ -export const dlp_DataClassArray_output: JsonSchema = { +export const dlp_DataClassArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_DataClass" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts index 18f50fa1d..e10cdaa3f 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts @@ -3,42 +3,50 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_SensitivityLevelRef_output } from "../outputs.js"; -import { dlp_SensitivityLevelRef } from "../schemas.js"; -import { dlp_DataClassArray_output, dlp_DataClass_output } from "./outputs.js"; +import { dlp_SensitivityLevelRef } from "../outputs.js"; +import { dlp_SensitivityLevelRef as dlp_SensitivityLevelRef$ } from "../schemas.js"; +import { dlp_DataClass, dlp_DataClassArray } from "./outputs.js"; import { dlp_DataClassUpdate, dlp_NewDataClass } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.data_classes`. + * The tools of `zeroTrust.dlp.dataClasses`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_data_classes_create", + name: "zeroTrust_dlp_dataClasses_create", title: "Creates a new data class", description: "Creates a data class for use in DLP profiles.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewDataClass", "description": "Attributes of the new data class." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "dlp_NewDataClass": dlp_NewDataClass, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef$, }, }, outputSchema: { @@ -56,10 +64,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataClass": dlp_DataClass_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataClass": dlp_DataClass, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -98,11 +106,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataClass": dlp_DataClass_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataClass": dlp_DataClass, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -111,23 +119,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_classes_delete", + name: "zeroTrust_dlp_dataClasses_delete", title: "Delete a single data class", description: "Deletes a data class from the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "data_class_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "data_class_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "data_class_id" + ], + "type": "object" } }, required: [ - "account_id", - "data_class_id" + "path" ], }, outputSchema: { @@ -145,9 +161,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -186,10 +202,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -197,23 +213,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_classes_get", + name: "zeroTrust_dlp_dataClasses_get", title: "Retrieve a specific data class", description: "Gets the configuration for a data class.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "data_class_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "data_class_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "data_class_id" + ], + "type": "object" } }, required: [ - "account_id", - "data_class_id" + "path" ], }, outputSchema: { @@ -231,10 +255,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataClass": dlp_DataClass_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataClass": dlp_DataClass, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -274,11 +298,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataClass": dlp_DataClass_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataClass": dlp_DataClass, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -286,18 +310,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_classes_list", + name: "zeroTrust_dlp_dataClasses_list", title: "Retrieve all data classes in an account", description: "Lists data classes configured for the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -315,11 +347,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataClass": dlp_DataClass_output, - "dlp_DataClassArray": dlp_DataClassArray_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataClass": dlp_DataClass, + "dlp_DataClassArray": dlp_DataClassArray, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -359,12 +391,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataClass": dlp_DataClass_output, - "dlp_DataClassArray": dlp_DataClassArray_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataClass": dlp_DataClass, + "dlp_DataClassArray": dlp_DataClassArray, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -372,32 +404,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_classes_update", + name: "zeroTrust_dlp_dataClasses_update", title: "Update the attributes of a single data class", description: "Updates the configuration for a data class.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_DataClassUpdate", "description": "Attributes of the data class to update." }, - "data_class_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "data_class_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "data_class_id" + ], + "type": "object" } }, required: [ - "account_id", - "data_class_id", + "path", "body" ], $defs: { "dlp_DataClassUpdate": dlp_DataClassUpdate, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef$, }, }, outputSchema: { @@ -415,10 +455,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataClass": dlp_DataClass_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataClass": dlp_DataClass, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -457,11 +497,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataClass": dlp_DataClass_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataClass": dlp_DataClass, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/outputs.ts index 5bf76901f..98046610c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_DataTagCategory` in responses. */ -export const dlp_DataTagCategory_output: JsonSchema = { +export const dlp_DataTagCategory: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -64,7 +64,7 @@ export const dlp_DataTagCategory_output: JsonSchema = { /** * The schema of `dlp_DataTagCategoryArray` in responses. */ -export const dlp_DataTagCategoryArray_output: JsonSchema = { +export const dlp_DataTagCategoryArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_DataTagCategory" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts index a101ea8ed..61fb19f57 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts @@ -3,17 +3,14 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_DataTag_output } from "../outputs.js"; +import { dlp_DataTag } from "../outputs.js"; import { dlp_DataTagUpdate, dlp_NewDataTag } from "../schemas.js"; -import { - dlp_DataTagCategoryArray_output, - dlp_DataTagCategory_output, -} from "./outputs.js"; +import { dlp_DataTagCategory, dlp_DataTagCategoryArray } from "./outputs.js"; import { dlp_DataTagCategoryTagUpdate, dlp_DataTagCategoryUpdate, @@ -21,26 +18,34 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.data_tag_categories`. + * The tools of `zeroTrust.dlp.dataTagCategories`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_data_tag_categories_create", + name: "zeroTrust_dlp_dataTagCategories_create", title: "Creates a new data tag category.", description: "Creates a data tag category, optionally from a template.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewDataTagCategory", "description": "Attributes of the new data tag category." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -63,10 +68,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagCategory": dlp_DataTagCategory_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagCategory": dlp_DataTagCategory, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -105,11 +110,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagCategory": dlp_DataTagCategory_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagCategory": dlp_DataTagCategory, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -118,23 +123,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_tag_categories_delete", + name: "zeroTrust_dlp_dataTagCategories_delete", title: "Delete a single data tag category.", description: "Deletes a data tag category and its tags.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "category_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "category_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id" + "path" ], }, outputSchema: { @@ -152,9 +165,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -193,10 +206,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -204,23 +217,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_tag_categories_get", + name: "zeroTrust_dlp_dataTagCategories_get", title: "Retrieve a specific data tag category.", description: "Gets a data tag category and its tags.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "category_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "category_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id" + "path" ], }, outputSchema: { @@ -238,10 +259,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagCategory": dlp_DataTagCategory_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagCategory": dlp_DataTagCategory, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -281,11 +302,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagCategory": dlp_DataTagCategory_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagCategory": dlp_DataTagCategory, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -293,18 +314,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_tag_categories_list", + name: "zeroTrust_dlp_dataTagCategories_list", title: "Retrieve all data tag categories in an account", description: "Lists data tag categories configured for the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -322,11 +351,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagCategory": dlp_DataTagCategory_output, - "dlp_DataTagCategoryArray": dlp_DataTagCategoryArray_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagCategory": dlp_DataTagCategory, + "dlp_DataTagCategoryArray": dlp_DataTagCategoryArray, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -366,12 +395,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagCategory": dlp_DataTagCategory_output, - "dlp_DataTagCategoryArray": dlp_DataTagCategoryArray_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagCategory": dlp_DataTagCategory, + "dlp_DataTagCategoryArray": dlp_DataTagCategoryArray, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -379,27 +408,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_tag_categories_update", + name: "zeroTrust_dlp_dataTagCategories_update", title: "Update the attributes of a single data tag category.", description: "Updates a data tag category and its tags.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_DataTagCategoryUpdate", "description": "Attributes of the data tag category to update." }, - "category_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "category_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id", + "path", "body" ], $defs: { @@ -423,10 +460,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagCategory": dlp_DataTagCategory_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagCategory": dlp_DataTagCategory, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -465,11 +502,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagCategory": dlp_DataTagCategory_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagCategory": dlp_DataTagCategory, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/outputs.ts index 4e18655c0..8e3fde3fd 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_DataTagCategoryTemplate` in responses. */ -export const dlp_DataTagCategoryTemplate_output: JsonSchema = { +export const dlp_DataTagCategoryTemplate: JsonSchema = { "properties": { "description": { "type": "string" @@ -37,7 +37,7 @@ export const dlp_DataTagCategoryTemplate_output: JsonSchema = { /** * The schema of `dlp_DataTagCategoryTemplateArray` in responses. */ -export const dlp_DataTagCategoryTemplateArray_output: JsonSchema = { +export const dlp_DataTagCategoryTemplateArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_DataTagCategoryTemplate" }, @@ -47,7 +47,7 @@ export const dlp_DataTagCategoryTemplateArray_output: JsonSchema = { /** * The schema of `dlp_DataTagTemplate` in responses. */ -export const dlp_DataTagTemplate_output: JsonSchema = { +export const dlp_DataTagTemplate: JsonSchema = { "properties": { "description": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts index e2ccb2ac1..d418fa862 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts @@ -3,38 +3,46 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; import { - dlp_DataTagCategoryTemplateArray_output, - dlp_DataTagCategoryTemplate_output, - dlp_DataTagTemplate_output, + dlp_DataTagCategoryTemplate, + dlp_DataTagCategoryTemplateArray, + dlp_DataTagTemplate, } from "./outputs.js"; /** - * The tools of `zero_trust.dlp.data_tag_category_templates`. + * The tools of `zeroTrust.dlp.dataTagCategoryTemplates`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_data_tag_category_templates_get", + name: "zeroTrust_dlp_dataTagCategoryTemplates_get", title: "Retrieve a specific data tag category template.", description: "Gets an available data tag category template.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "template_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "template_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "template_id" + ], + "type": "object" } }, required: [ - "account_id", - "template_id" + "path" ], }, outputSchema: { @@ -52,10 +60,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate_output, - "dlp_DataTagTemplate": dlp_DataTagTemplate_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate, + "dlp_DataTagTemplate": dlp_DataTagTemplate, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -98,11 +106,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate_output, - "dlp_DataTagTemplate": dlp_DataTagTemplate_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate, + "dlp_DataTagTemplate": dlp_DataTagTemplate, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -110,18 +118,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_tag_category_templates_list", + name: "zeroTrust_dlp_dataTagCategoryTemplates_list", title: "Retrieve all data tag category templates in an account", description: "Lists available data tag category templates.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -139,11 +155,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate_output, - "dlp_DataTagCategoryTemplateArray": dlp_DataTagCategoryTemplateArray_output, - "dlp_DataTagTemplate": dlp_DataTagTemplate_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate, + "dlp_DataTagCategoryTemplateArray": dlp_DataTagCategoryTemplateArray, + "dlp_DataTagTemplate": dlp_DataTagTemplate, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -186,12 +202,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate_output, - "dlp_DataTagCategoryTemplateArray": dlp_DataTagCategoryTemplateArray_output, - "dlp_DataTagTemplate": dlp_DataTagTemplate_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTagCategoryTemplate": dlp_DataTagCategoryTemplate, + "dlp_DataTagCategoryTemplateArray": dlp_DataTagCategoryTemplateArray, + "dlp_DataTagTemplate": dlp_DataTagTemplate, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTags/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/outputs.ts index 20fe1fa0a..1f005aadf 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTags/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_DataTagArray` in responses. */ -export const dlp_DataTagArray_output: JsonSchema = { +export const dlp_DataTagArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_DataTag" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts index 84d254887..bb267e71b 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts @@ -3,41 +3,49 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_DataTag_output } from "../outputs.js"; +import { dlp_DataTag } from "../outputs.js"; import { dlp_DataTagUpdate, dlp_NewDataTag } from "../schemas.js"; -import { dlp_DataTagArray_output } from "./outputs.js"; +import { dlp_DataTagArray } from "./outputs.js"; /** - * The tools of `zero_trust.dlp.data_tags`. + * The tools of `zeroTrust.dlp.dataTags`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_data_tags_create", + name: "zeroTrust_dlp_dataTags_create", title: "Creates a new data tag.", description: "Creates a data tag in a category.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewDataTag", "description": "Attributes of the new data tag." }, - "category_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "category_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id", + "path", "body" ], $defs: { @@ -59,9 +67,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -100,10 +108,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -112,28 +120,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_tags_delete", + name: "zeroTrust_dlp_dataTags_delete", title: "Delete a single data tag.", description: "Deletes a data tag from a category.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "category_id": { - "format": "uuid", - "type": "string" - }, - "tag_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "category_id": { + "format": "uuid", + "type": "string" + }, + "tag_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id", + "tag_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id", - "tag_id" + "path" ], }, outputSchema: { @@ -151,9 +167,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -192,10 +208,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -203,28 +219,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_tags_get", + name: "zeroTrust_dlp_dataTags_get", title: "Retrieve a specific data tag.", description: "Gets a data tag from a category.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "category_id": { - "format": "uuid", - "type": "string" - }, - "tag_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "category_id": { + "format": "uuid", + "type": "string" + }, + "tag_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id", + "tag_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id", - "tag_id" + "path" ], }, outputSchema: { @@ -242,9 +266,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -284,10 +308,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -295,23 +319,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_tags_list", + name: "zeroTrust_dlp_dataTags_list", title: "Retrieve all data tags in a data tag category", description: "Lists data tags in a category.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "category_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "category_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id" + "path" ], }, outputSchema: { @@ -329,10 +361,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagArray": dlp_DataTagArray_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagArray": dlp_DataTagArray, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -372,11 +404,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_DataTagArray": dlp_DataTagArray_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_DataTagArray": dlp_DataTagArray, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -384,32 +416,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_data_tags_update", + name: "zeroTrust_dlp_dataTags_update", title: "Update the attributes of a single data tag.", description: "Updates a data tag in a category.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_DataTagUpdate", "description": "Attributes of the data tag to update." }, - "category_id": { - "format": "uuid", - "type": "string" - }, - "tag_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "category_id": { + "format": "uuid", + "type": "string" + }, + "tag_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "category_id", + "tag_id" + ], + "type": "object" } }, required: [ - "account_id", - "category_id", - "tag_id", + "path", "body" ], $defs: { @@ -431,9 +471,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -472,10 +512,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DataTag": dlp_DataTag_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DataTag": dlp_DataTag, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts index f5e84eac6..621c46964 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_Dataset` in responses. */ -export const dlp_Dataset_output: JsonSchema = { +export const dlp_Dataset: JsonSchema = { "properties": { "case_sensitive": { "type": "boolean" @@ -79,7 +79,7 @@ export const dlp_Dataset_output: JsonSchema = { /** * The schema of `dlp_DatasetArray` in responses. */ -export const dlp_DatasetArray_output: JsonSchema = { +export const dlp_DatasetArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_Dataset" }, @@ -89,7 +89,7 @@ export const dlp_DatasetArray_output: JsonSchema = { /** * The schema of `dlp_DatasetColumn` in responses. */ -export const dlp_DatasetColumn_output: JsonSchema = { +export const dlp_DatasetColumn: JsonSchema = { "properties": { "entry_id": { "format": "uuid", @@ -117,7 +117,7 @@ export const dlp_DatasetColumn_output: JsonSchema = { /** * The schema of `dlp_DatasetCreation` in responses. */ -export const dlp_DatasetCreation_output: JsonSchema = { +export const dlp_DatasetCreation: JsonSchema = { "properties": { "dataset": { "$ref": "#/$defs/dlp_Dataset" @@ -147,7 +147,7 @@ export const dlp_DatasetCreation_output: JsonSchema = { /** * The schema of `dlp_DatasetNewVersion` in responses. */ -export const dlp_DatasetNewVersion_output: JsonSchema = { +export const dlp_DatasetNewVersion: JsonSchema = { "properties": { "case_sensitive": { "type": "boolean" @@ -182,7 +182,7 @@ export const dlp_DatasetNewVersion_output: JsonSchema = { /** * The schema of `dlp_DatasetUpload` in responses. */ -export const dlp_DatasetUpload_output: JsonSchema = { +export const dlp_DatasetUpload: JsonSchema = { "properties": { "num_cells": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts index 9a1a3f599..3b55cba06 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts @@ -3,42 +3,50 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_DatasetUploadStatus_output } from "../outputs.js"; +import { dlp_DatasetUploadStatus } from "../outputs.js"; import { - dlp_DatasetArray_output, - dlp_DatasetColumn_output, - dlp_DatasetCreation_output, - dlp_DatasetNewVersion_output, - dlp_DatasetUpload_output, - dlp_Dataset_output, + dlp_Dataset, + dlp_DatasetArray, + dlp_DatasetColumn, + dlp_DatasetCreation, + dlp_DatasetNewVersion, + dlp_DatasetUpload, } from "./outputs.js"; import { dlp_DatasetUpdate, dlp_NewDataset } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.datasets`. + * The tools of `zeroTrust.dlp.datasets`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_datasets_create", + name: "zeroTrust_dlp_datasets_create", title: "Create a new dataset", description: "Creates a new DLP (Data Loss Prevention) dataset for storing custom detection patterns. Datasets can contain exact match data, word lists, or EDM (Exact Data Match) configurations.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewDataset", "description": "Dataset description." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -60,13 +68,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Dataset": dlp_Dataset_output, - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetCreation": dlp_DatasetCreation_output, - "dlp_DatasetUpload": dlp_DatasetUpload_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Dataset": dlp_Dataset, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetCreation": dlp_DatasetCreation, + "dlp_DatasetUpload": dlp_DatasetUpload, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -105,14 +113,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Dataset": dlp_Dataset_output, - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetCreation": dlp_DatasetCreation_output, - "dlp_DatasetUpload": dlp_DatasetUpload_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Dataset": dlp_Dataset, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetCreation": dlp_DatasetCreation, + "dlp_DatasetUpload": dlp_DatasetUpload, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -121,23 +129,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_datasets_delete", + name: "zeroTrust_dlp_datasets_delete", title: "Delete a dataset", description: "This deletes all versions of the dataset.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "dataset_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "dataset_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, annotations: { @@ -162,8 +178,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_messages": dlp_messages_output, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -171,23 +187,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_datasets_get", + name: "zeroTrust_dlp_datasets_get", title: "Fetch a specific dataset", description: "Gets a dataset and its latest upload status.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "dataset_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "dataset_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -205,12 +229,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Dataset": dlp_Dataset_output, - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetUpload": dlp_DatasetUpload_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Dataset": dlp_Dataset, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetUpload": dlp_DatasetUpload, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -250,13 +274,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Dataset": dlp_Dataset_output, - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetUpload": dlp_DatasetUpload_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Dataset": dlp_Dataset, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetUpload": dlp_DatasetUpload, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -264,18 +288,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_datasets_list", + name: "zeroTrust_dlp_datasets_list", title: "Fetch all datasets", description: "Lists all DLP datasets configured for the account, including custom word lists and EDM datasets.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -293,13 +325,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Dataset": dlp_Dataset_output, - "dlp_DatasetArray": dlp_DatasetArray_output, - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetUpload": dlp_DatasetUpload_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Dataset": dlp_Dataset, + "dlp_DatasetArray": dlp_DatasetArray, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetUpload": dlp_DatasetUpload, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -339,14 +371,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Dataset": dlp_Dataset_output, - "dlp_DatasetArray": dlp_DatasetArray_output, - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetUpload": dlp_DatasetUpload_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Dataset": dlp_Dataset, + "dlp_DatasetArray": dlp_DatasetArray, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetUpload": dlp_DatasetUpload, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -354,23 +386,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_datasets_prepare_upload", + name: "zeroTrust_dlp_datasets_prepareUpload", title: "Prepare to upload a new version of a dataset", description: "Creates a new version of a DLP dataset, allowing you to stage changes before activation. Used for single-column EDM and custom word lists.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "dataset_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "dataset_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id" + "path" ], }, outputSchema: { @@ -388,11 +428,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetNewVersion": dlp_DatasetNewVersion_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetNewVersion": dlp_DatasetNewVersion, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -431,12 +471,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetNewVersion": dlp_DatasetNewVersion_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetNewVersion": dlp_DatasetNewVersion, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -444,27 +484,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_datasets_update", + name: "zeroTrust_dlp_datasets_update", title: "Update details about a dataset", description: "Updates the configuration of an existing DLP dataset, such as its name, description, or detection settings.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_DatasetUpdate", "description": "Dataset description." }, - "dataset_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "dataset_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "dataset_id" + ], + "type": "object" } }, required: [ - "account_id", - "dataset_id", + "path", "body" ], $defs: { @@ -486,12 +534,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Dataset": dlp_Dataset_output, - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetUpload": dlp_DatasetUpload_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Dataset": dlp_Dataset, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetUpload": dlp_DatasetUpload, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -530,13 +578,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Dataset": dlp_Dataset_output, - "dlp_DatasetColumn": dlp_DatasetColumn_output, - "dlp_DatasetUpload": dlp_DatasetUpload_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Dataset": dlp_Dataset, + "dlp_DatasetColumn": dlp_DatasetColumn, + "dlp_DatasetUpload": dlp_DatasetUpload, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts index 4ef02622b..98f208c58 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_DocumentFingerprint` in responses. */ -export const dlp_DocumentFingerprint_output: JsonSchema = { +export const dlp_DocumentFingerprint: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -73,7 +73,7 @@ export const dlp_DocumentFingerprint_output: JsonSchema = { /** * The schema of `dlp_DocumentFingerprintArray` in responses. */ -export const dlp_DocumentFingerprintArray_output: JsonSchema = { +export const dlp_DocumentFingerprintArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_DocumentFingerprint" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts index ba6c3e154..11bc3f623 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts @@ -3,14 +3,14 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_DatasetUploadStatus_output } from "../outputs.js"; +import { dlp_DatasetUploadStatus } from "../outputs.js"; import { - dlp_DocumentFingerprintArray_output, - dlp_DocumentFingerprint_output, + dlp_DocumentFingerprint, + dlp_DocumentFingerprintArray, } from "./outputs.js"; import { dlp_NewDocumentFingerprint, @@ -18,26 +18,34 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.document_fingerprints`. + * The tools of `zeroTrust.dlp.documentFingerprints`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_document_fingerprints_create", + name: "zeroTrust_dlp_documentFingerprints_create", title: "Creates a new document fingerprint.", description: "Creates a new document fingerprint for DLP scanning. Document fingerprints detect documents that are structurally similar to the uploaded sample.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewDocumentFingerprint", "description": "Attributes of the new document fingerprint." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -59,10 +67,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -101,11 +109,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -114,23 +122,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_document_fingerprints_delete", + name: "zeroTrust_dlp_documentFingerprints_delete", title: "Delete a single document fingerprint.", description: "Removes a document fingerprint from DLP configuration. Documents matching this fingerprint will no longer be detected.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "document_fingerprint_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "document_fingerprint_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "document_fingerprint_id" + ], + "type": "object" } }, required: [ - "account_id", - "document_fingerprint_id" + "path" ], }, annotations: { @@ -155,8 +171,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_messages": dlp_messages_output, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -164,23 +180,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_document_fingerprints_get", + name: "zeroTrust_dlp_documentFingerprints_get", title: "Retrieve data about a specific document fingerprint.", description: "Gets a document fingerprint and its latest upload status.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "document_fingerprint_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "document_fingerprint_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "document_fingerprint_id" + ], + "type": "object" } }, required: [ - "account_id", - "document_fingerprint_id" + "path" ], }, outputSchema: { @@ -198,10 +222,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -241,11 +265,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -253,18 +277,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_document_fingerprints_list", + name: "zeroTrust_dlp_documentFingerprints_list", title: "Retrieve data about all document fingerprints.", description: "Lists all document fingerprints configured for DLP scanning in the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -282,11 +314,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, - "dlp_DocumentFingerprintArray": dlp_DocumentFingerprintArray_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint, + "dlp_DocumentFingerprintArray": dlp_DocumentFingerprintArray, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -326,12 +358,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, - "dlp_DocumentFingerprintArray": dlp_DocumentFingerprintArray_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint, + "dlp_DocumentFingerprintArray": dlp_DocumentFingerprintArray, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -339,27 +371,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_document_fingerprints_update", + name: "zeroTrust_dlp_documentFingerprints_update", title: "Update the attributes of a single document fingerprint.", description: "Updates metadata for an existing document fingerprint, such as its name or description.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_UpdateDocumentFingerprint", "description": "Attributes of the document fingerprint to update." }, - "document_fingerprint_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "document_fingerprint_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "document_fingerprint_id" + ], + "type": "object" } }, required: [ - "account_id", - "document_fingerprint_id", + "path", "body" ], $defs: { @@ -381,10 +421,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -423,11 +463,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprint": dlp_DocumentFingerprint_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprint": dlp_DocumentFingerprint, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/outputs.ts index 37f241dce..0cc5b9551 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `dlp_AddinAccountMapping` in responses. */ -export const dlp_AddinAccountMapping_output: JsonSchema = { +export const dlp_AddinAccountMapping: JsonSchema = { "properties": { "addin_identifier_token": { "format": "uuid", @@ -26,7 +26,7 @@ export const dlp_AddinAccountMapping_output: JsonSchema = { /** * The schema of `dlp_AddinAuth` in responses. */ -export const dlp_AddinAuth_output: JsonSchema = { +export const dlp_AddinAuth: JsonSchema = { "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts index f06497df5..b428641b0 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts @@ -3,41 +3,49 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../../outputs.js"; +import { dlp_AddinAccountMapping, dlp_AddinAuth } from "./outputs.js"; import { - dlp_AddinAccountMapping_output, - dlp_AddinAuth_output, -} from "./outputs.js"; -import { dlp_AddinAuth, dlp_UpdateAddinAccountMapping } from "./schemas.js"; + dlp_AddinAuth as dlp_AddinAuth$, + dlp_UpdateAddinAccountMapping, +} from "./schemas.js"; /** - * The tools of `zero_trust.dlp.email.account_mapping`. + * The tools of `zeroTrust.dlp.email.accountMapping`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_email_account_mapping_create", + name: "zeroTrust_dlp_email_accountMapping_create", title: "Create mapping", description: "Creates a mapping between a Cloudflare account and an email provider for DLP email scanning integration.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_UpdateAddinAccountMapping", "description": "Account mapping." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "dlp_AddinAuth": dlp_AddinAuth, + "dlp_AddinAuth": dlp_AddinAuth$, "dlp_UpdateAddinAccountMapping": dlp_UpdateAddinAccountMapping, }, }, @@ -56,10 +64,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AddinAccountMapping": dlp_AddinAccountMapping_output, - "dlp_AddinAuth": dlp_AddinAuth_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AddinAccountMapping": dlp_AddinAccountMapping, + "dlp_AddinAuth": dlp_AddinAuth, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -98,11 +106,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AddinAccountMapping": dlp_AddinAccountMapping_output, - "dlp_AddinAuth": dlp_AddinAuth_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AddinAccountMapping": dlp_AddinAccountMapping, + "dlp_AddinAuth": dlp_AddinAuth, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -111,18 +119,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_email_account_mapping_get", + name: "zeroTrust_dlp_email_accountMapping_get", title: "Get mapping", description: "Retrieves the email provider mapping configuration for DLP email scanning.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -140,10 +156,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AddinAccountMapping": dlp_AddinAccountMapping_output, - "dlp_AddinAuth": dlp_AddinAuth_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AddinAccountMapping": dlp_AddinAccountMapping, + "dlp_AddinAuth": dlp_AddinAuth, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -183,11 +199,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AddinAccountMapping": dlp_AddinAccountMapping_output, - "dlp_AddinAuth": dlp_AddinAuth_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AddinAccountMapping": dlp_AddinAccountMapping, + "dlp_AddinAuth": dlp_AddinAuth, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts index 5896e1549..0ac836a02 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `dlp_EmailRule` in responses. */ -export const dlp_EmailRule_output: JsonSchema = { +export const dlp_EmailRule: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/dlp_EmailRuleAction" @@ -65,7 +65,7 @@ export const dlp_EmailRule_output: JsonSchema = { /** * The schema of `dlp_EmailRuleAction` in responses. */ -export const dlp_EmailRuleAction_output: JsonSchema = { +export const dlp_EmailRuleAction: JsonSchema = { "properties": { "action": { "enum": [ @@ -93,7 +93,7 @@ export const dlp_EmailRuleAction_output: JsonSchema = { /** * The schema of `dlp_EmailRuleArray` in responses. */ -export const dlp_EmailRuleArray_output: JsonSchema = { +export const dlp_EmailRuleArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_EmailRule" }, @@ -103,7 +103,7 @@ export const dlp_EmailRuleArray_output: JsonSchema = { /** * The schema of `dlp_EmailRuleCondition` in responses. */ -export const dlp_EmailRuleCondition_output: JsonSchema = { +export const dlp_EmailRuleCondition: JsonSchema = { "properties": { "operator": { "$ref": "#/$defs/dlp_EmailRuleOperator" @@ -126,7 +126,7 @@ export const dlp_EmailRuleCondition_output: JsonSchema = { /** * The schema of `dlp_EmailRuleOperator` in responses. */ -export const dlp_EmailRuleOperator_output: JsonSchema = { +export const dlp_EmailRuleOperator: JsonSchema = { "enum": [ "InList", "NotInList", @@ -139,7 +139,7 @@ export const dlp_EmailRuleOperator_output: JsonSchema = { /** * The schema of `dlp_EmailRuleSelector` in responses. */ -export const dlp_EmailRuleSelector_output: JsonSchema = { +export const dlp_EmailRuleSelector: JsonSchema = { "enum": [ "Recipients", "Sender", @@ -151,7 +151,7 @@ export const dlp_EmailRuleSelector_output: JsonSchema = { /** * The schema of `dlp_EmailRuleValue` in responses. */ -export const dlp_EmailRuleValue_output: JsonSchema = { +export const dlp_EmailRuleValue: JsonSchema = { "oneOf": [ { "items": { diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts index 0c6e67a20..d0b344de6 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts @@ -3,50 +3,58 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../../outputs.js"; import { - dlp_EmailRuleAction_output, - dlp_EmailRuleArray_output, - dlp_EmailRuleCondition_output, - dlp_EmailRuleOperator_output, - dlp_EmailRuleSelector_output, - dlp_EmailRuleValue_output, - dlp_EmailRule_output, -} from "./outputs.js"; -import { - dlp_CreateEmailRule, + dlp_EmailRule, dlp_EmailRuleAction, + dlp_EmailRuleArray, dlp_EmailRuleCondition, dlp_EmailRuleOperator, dlp_EmailRuleSelector, dlp_EmailRuleValue, +} from "./outputs.js"; +import { + dlp_CreateEmailRule, + dlp_EmailRuleAction as dlp_EmailRuleAction$, + dlp_EmailRuleCondition as dlp_EmailRuleCondition$, + dlp_EmailRuleOperator as dlp_EmailRuleOperator$, + dlp_EmailRuleSelector as dlp_EmailRuleSelector$, + dlp_EmailRuleValue as dlp_EmailRuleValue$, dlp_UpdateEmailRulePriorities, } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.email.rules`. + * The tools of `zeroTrust.dlp.email.rules`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_email_rules_bulk_edit", + name: "zeroTrust_dlp_email_rules_bulkEdit", title: "Update email scanner rule priorities", description: "Reorders DLP email scanning rules by updating their priority values. Higher priority rules are evaluated first.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_UpdateEmailRulePriorities", "description": "Rule priorities." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -68,14 +76,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -114,15 +122,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -131,31 +139,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_email_rules_create", + name: "zeroTrust_dlp_email_rules_create", title: "Create email scanner rule", description: "Creates a new DLP email scanning rule that defines what content patterns to detect in email messages and what actions to take.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_CreateEmailRule", "description": "Rule description." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "dlp_CreateEmailRule": dlp_CreateEmailRule, - "dlp_EmailRuleAction": dlp_EmailRuleAction, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, - "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_EmailRuleAction": dlp_EmailRuleAction$, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition$, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator$, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector$, + "dlp_EmailRuleValue": dlp_EmailRuleValue$, }, }, outputSchema: { @@ -173,14 +189,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -219,15 +235,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -236,23 +252,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_email_rules_delete", + name: "zeroTrust_dlp_email_rules_delete", title: "Delete email scanner rule", description: "Removes a DLP email scanning rule. The rule will no longer be applied to email messages.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "rule_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "rule_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], }, outputSchema: { @@ -270,14 +294,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -316,15 +340,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -332,23 +356,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_email_rules_get", + name: "zeroTrust_dlp_email_rules_get", title: "Get an email scanner rule", description: "Gets detailed configuration for a specific DLP email scanning rule, including detection patterns and actions.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "rule_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "rule_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], }, outputSchema: { @@ -366,14 +398,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -413,15 +445,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -429,18 +461,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_email_rules_list", + name: "zeroTrust_dlp_email_rules_list", title: "List all email scanner rules", description: "Lists all email scanner rules for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -458,15 +498,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleArray": dlp_EmailRuleArray_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleArray": dlp_EmailRuleArray, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -506,16 +546,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleArray": dlp_EmailRuleArray_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleArray": dlp_EmailRuleArray, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -523,36 +563,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_email_rules_update", + name: "zeroTrust_dlp_email_rules_update", title: "Update email scanner rule", description: "Updates a DLP email scanning rule.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_CreateEmailRule", "description": "Rule description." }, - "rule_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "rule_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id", + "path", "body" ], $defs: { "dlp_CreateEmailRule": dlp_CreateEmailRule, - "dlp_EmailRuleAction": dlp_EmailRuleAction, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, - "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_EmailRuleAction": dlp_EmailRuleAction$, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition$, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator$, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector$, + "dlp_EmailRuleValue": dlp_EmailRuleValue$, }, }, outputSchema: { @@ -570,14 +618,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -616,15 +664,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_EmailRule": dlp_EmailRule_output, - "dlp_EmailRuleAction": dlp_EmailRuleAction_output, - "dlp_EmailRuleCondition": dlp_EmailRuleCondition_output, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator_output, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector_output, - "dlp_EmailRuleValue": dlp_EmailRuleValue_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_EmailRule": dlp_EmailRule, + "dlp_EmailRuleAction": dlp_EmailRuleAction, + "dlp_EmailRuleCondition": dlp_EmailRuleCondition, + "dlp_EmailRuleOperator": dlp_EmailRuleOperator, + "dlp_EmailRuleSelector": dlp_EmailRuleSelector, + "dlp_EmailRuleValue": dlp_EmailRuleValue, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts index 982c8e394..9f66ed3fa 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_EntryProfile` in responses. */ -export const dlp_EntryProfile_output: JsonSchema = { +export const dlp_EntryProfile: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -26,7 +26,7 @@ export const dlp_EntryProfile_output: JsonSchema = { /** * The schema of `dlp_EntryWithSharedProfiles` in responses. */ -export const dlp_EntryWithSharedProfiles_output: JsonSchema = { +export const dlp_EntryWithSharedProfiles: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dlp_EntryWithUploadStatus" @@ -51,7 +51,7 @@ export const dlp_EntryWithSharedProfiles_output: JsonSchema = { /** * The schema of `dlp_EntryWithUploadStatus` in responses. */ -export const dlp_EntryWithUploadStatus_output: JsonSchema = { +export const dlp_EntryWithUploadStatus: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dlp_Entry" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts index e8e543164..c5f953a93 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts @@ -3,62 +3,73 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; import { - dlp_CustomEntry_output, - dlp_CustomPromptTopicEntry_output, - dlp_DatasetUploadStatus_output, - dlp_DocumentFingerprintEntry_output, - dlp_EntryConfidence_output, - dlp_Entry_output, - dlp_ExactDataEntry_output, - dlp_IntegrationEntry_output, - dlp_Pattern_output, - dlp_PredefinedEntryVariant_output, - dlp_PredefinedEntry_output, - dlp_PromptTopicType_output, - dlp_Validation_output, - dlp_WordListEntry_output, + dlp_CustomEntry, + dlp_CustomPromptTopicEntry, + dlp_DatasetUploadStatus, + dlp_DocumentFingerprintEntry, + dlp_Entry, + dlp_EntryConfidence, + dlp_ExactDataEntry, + dlp_IntegrationEntry, + dlp_Pattern, + dlp_PredefinedEntry, + dlp_PredefinedEntryVariant, + dlp_PromptTopicType, + dlp_Validation, + dlp_WordListEntry, } from "../outputs.js"; -import { dlp_Pattern, dlp_Validation } from "../schemas.js"; import { - dlp_EntryProfile_output, - dlp_EntryWithSharedProfiles_output, - dlp_EntryWithUploadStatus_output, + dlp_Pattern as dlp_Pattern$, + dlp_Validation as dlp_Validation$, +} from "../schemas.js"; +import { + dlp_EntryProfile, + dlp_EntryWithSharedProfiles, + dlp_EntryWithUploadStatus, } from "./outputs.js"; import { dlp_EntryUpdate, dlp_NewEntry } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.entries`. + * The tools of `zeroTrust.dlp.entries`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_entries_create", + name: "zeroTrust_dlp_entries_create", title: "Create custom entry", description: "Creates a DLP custom entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewEntry", "description": "A new entry to create." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "dlp_NewEntry": dlp_NewEntry, - "dlp_Pattern": dlp_Pattern, - "dlp_Validation": dlp_Validation, + "dlp_Pattern": dlp_Pattern$, + "dlp_Validation": dlp_Validation$, }, }, outputSchema: { @@ -76,11 +87,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_Validation": dlp_Validation_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_Pattern": dlp_Pattern, + "dlp_Validation": dlp_Validation, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -119,12 +130,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_Validation": dlp_Validation_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_Pattern": dlp_Pattern, + "dlp_Validation": dlp_Validation, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -133,23 +144,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_entries_delete", + name: "zeroTrust_dlp_entries_delete", title: "Delete custom entry", description: "Deletes a DLP custom entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "entry_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "entry_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "entry_id" + ], + "type": "object" } }, required: [ - "account_id", - "entry_id" + "path" ], }, outputSchema: { @@ -167,9 +186,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -208,10 +227,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -219,23 +238,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_entries_get", + name: "zeroTrust_dlp_entries_get", title: "Get DLP Entry", description: "Fetches a DLP entry by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "entry_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "entry_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "entry_id" + ], + "type": "object" } }, required: [ - "account_id", - "entry_id" + "path" ], }, outputSchema: { @@ -253,25 +280,25 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_EntryProfile": dlp_EntryProfile_output, - "dlp_EntryWithSharedProfiles": dlp_EntryWithSharedProfiles_output, - "dlp_EntryWithUploadStatus": dlp_EntryWithUploadStatus_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_EntryProfile": dlp_EntryProfile, + "dlp_EntryWithSharedProfiles": dlp_EntryWithSharedProfiles, + "dlp_EntryWithUploadStatus": dlp_EntryWithUploadStatus, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -311,26 +338,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_EntryProfile": dlp_EntryProfile_output, - "dlp_EntryWithSharedProfiles": dlp_EntryWithSharedProfiles_output, - "dlp_EntryWithUploadStatus": dlp_EntryWithUploadStatus_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_EntryProfile": dlp_EntryProfile, + "dlp_EntryWithSharedProfiles": dlp_EntryWithSharedProfiles, + "dlp_EntryWithUploadStatus": dlp_EntryWithUploadStatus, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -338,18 +365,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_entries_list", + name: "zeroTrust_dlp_entries_list", title: "List all entries", description: "Lists all DLP entries in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -370,23 +405,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_EntryWithUploadStatus": dlp_EntryWithUploadStatus_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_EntryWithUploadStatus": dlp_EntryWithUploadStatus, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -429,24 +464,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_EntryWithUploadStatus": dlp_EntryWithUploadStatus_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_EntryWithUploadStatus": dlp_EntryWithUploadStatus, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -454,33 +489,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_entries_update", + name: "zeroTrust_dlp_entries_update", title: "Update entry", description: "Updates a DLP entry.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_EntryUpdate", "description": "Update to be applied to the entry." }, - "entry_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "entry_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "entry_id" + ], + "type": "object" } }, required: [ - "account_id", - "entry_id", + "path", "body" ], $defs: { "dlp_EntryUpdate": dlp_EntryUpdate, - "dlp_Pattern": dlp_Pattern, - "dlp_Validation": dlp_Validation, + "dlp_Pattern": dlp_Pattern$, + "dlp_Validation": dlp_Validation$, }, }, outputSchema: { @@ -498,21 +541,21 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -551,22 +594,22 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/limits/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/limits/outputs.ts index ba6b1f140..da027cfc9 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/limits/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/limits/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_Limits` in responses. */ -export const dlp_Limits_output: JsonSchema = { +export const dlp_Limits: JsonSchema = { "properties": { "max_custom_regex_entries": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts index 8f4d0c621..474856a6e 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts @@ -3,29 +3,37 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_Limits_output } from "./outputs.js"; +import { dlp_Limits } from "./outputs.js"; /** - * The tools of `zero_trust.dlp.limits`. + * The tools of `zeroTrust.dlp.limits`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_limits_list", + name: "zeroTrust_dlp_limits_list", title: "Fetch limits associated with DLP for account", description: "Retrieves current DLP usage limits and quotas for the account, including\nmaximum allowed counts and current usage for custom entries, dataset cells,\nand document fingerprints.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -43,9 +51,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Limits": dlp_Limits_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Limits": dlp_Limits, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -85,10 +93,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Limits": dlp_Limits_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Limits": dlp_Limits, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts index 41e04cd7a..0a631a59d 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `dlp_CustomEntry` in responses. */ -export const dlp_CustomEntry_output: JsonSchema = { +export const dlp_CustomEntry: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -72,7 +72,7 @@ export const dlp_CustomEntry_output: JsonSchema = { /** * The schema of `dlp_CustomPromptTopicEntry` in responses. */ -export const dlp_CustomPromptTopicEntry_output: JsonSchema = { +export const dlp_CustomPromptTopicEntry: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -116,7 +116,7 @@ export const dlp_CustomPromptTopicEntry_output: JsonSchema = { /** * The schema of `dlp_DataTag` in responses. */ -export const dlp_DataTag_output: JsonSchema = { +export const dlp_DataTag: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -156,7 +156,7 @@ export const dlp_DataTag_output: JsonSchema = { /** * The schema of `dlp_DatasetUploadStatus` in responses. */ -export const dlp_DatasetUploadStatus_output: JsonSchema = { +export const dlp_DatasetUploadStatus: JsonSchema = { "enum": [ "empty", "uploading", @@ -171,7 +171,7 @@ export const dlp_DatasetUploadStatus_output: JsonSchema = { /** * The schema of `dlp_DocumentFingerprintEntry` in responses. */ -export const dlp_DocumentFingerprintEntry_output: JsonSchema = { +export const dlp_DocumentFingerprintEntry: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -215,7 +215,7 @@ export const dlp_DocumentFingerprintEntry_output: JsonSchema = { /** * The schema of `dlp_Entry` in responses. */ -export const dlp_Entry_output: JsonSchema = { +export const dlp_Entry: JsonSchema = { "oneOf": [ { "allOf": [ @@ -370,7 +370,7 @@ export const dlp_Entry_output: JsonSchema = { /** * The schema of `dlp_EntryConfidence` in responses. */ -export const dlp_EntryConfidence_output: JsonSchema = { +export const dlp_EntryConfidence: JsonSchema = { "properties": { "ai_context_available": { "type": "boolean" @@ -389,7 +389,7 @@ export const dlp_EntryConfidence_output: JsonSchema = { /** * The schema of `dlp_ExactDataEntry` in responses. */ -export const dlp_ExactDataEntry_output: JsonSchema = { +export const dlp_ExactDataEntry: JsonSchema = { "properties": { "case_sensitive": { "type": "boolean" @@ -441,7 +441,7 @@ export const dlp_ExactDataEntry_output: JsonSchema = { /** * The schema of `dlp_IntegrationEntry` in responses. */ -export const dlp_IntegrationEntry_output: JsonSchema = { +export const dlp_IntegrationEntry: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -486,7 +486,7 @@ export const dlp_IntegrationEntry_output: JsonSchema = { /** * The schema of `dlp_Pattern` in responses. */ -export const dlp_Pattern_output: JsonSchema = { +export const dlp_Pattern: JsonSchema = { "properties": { "regex": { "type": "string" @@ -504,7 +504,7 @@ export const dlp_Pattern_output: JsonSchema = { /** * The schema of `dlp_PredefinedEntry` in responses. */ -export const dlp_PredefinedEntry_output: JsonSchema = { +export const dlp_PredefinedEntry: JsonSchema = { "properties": { "confidence": { "$ref": "#/$defs/dlp_EntryConfidence" @@ -549,7 +549,7 @@ export const dlp_PredefinedEntry_output: JsonSchema = { /** * The schema of `dlp_PredefinedEntryVariant` in responses. */ -export const dlp_PredefinedEntryVariant_output: JsonSchema = { +export const dlp_PredefinedEntryVariant: JsonSchema = { "oneOf": [ { "properties": { @@ -609,7 +609,7 @@ export const dlp_PredefinedEntryVariant_output: JsonSchema = { /** * The schema of `dlp_PromptTopicType` in responses. */ -export const dlp_PromptTopicType_output: JsonSchema = { +export const dlp_PromptTopicType: JsonSchema = { "enum": [ "Intent", "Content" @@ -620,7 +620,7 @@ export const dlp_PromptTopicType_output: JsonSchema = { /** * The schema of `dlp_SensitivityLevel` in responses. */ -export const dlp_SensitivityLevel_output: JsonSchema = { +export const dlp_SensitivityLevel: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -660,7 +660,7 @@ export const dlp_SensitivityLevel_output: JsonSchema = { /** * The schema of `dlp_SensitivityLevelRef` in responses. */ -export const dlp_SensitivityLevelRef_output: JsonSchema = { +export const dlp_SensitivityLevelRef: JsonSchema = { "properties": { "group_id": { "format": "uuid", @@ -681,7 +681,7 @@ export const dlp_SensitivityLevelRef_output: JsonSchema = { /** * The schema of `dlp_Validation` in responses. */ -export const dlp_Validation_output: JsonSchema = { +export const dlp_Validation: JsonSchema = { "enum": [ "luhn" ], @@ -691,7 +691,7 @@ export const dlp_Validation_output: JsonSchema = { /** * The schema of `dlp_WordListEntry` in responses. */ -export const dlp_WordListEntry_output: JsonSchema = { +export const dlp_WordListEntry: JsonSchema = { "properties": { "created_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/zeroTrust/dlp/patterns/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/patterns/outputs.ts index 955af8456..a1bf27797 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/patterns/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/patterns/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_RegexValidationResult` in responses. */ -export const dlp_RegexValidationResult_output: JsonSchema = { +export const dlp_RegexValidationResult: JsonSchema = { "properties": { "valid": { "type": "boolean" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts index 0d8064445..22fd92f56 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts @@ -3,35 +3,43 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_RegexValidationResult_output } from "./outputs.js"; +import { dlp_RegexValidationResult } from "./outputs.js"; import { dlp_RegexValidationQuery } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.patterns`. + * The tools of `zeroTrust.dlp.patterns`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_patterns_validate", + name: "zeroTrust_dlp_patterns_validate", title: "Validate a DLP regex pattern", description: "Validates whether this pattern is a valid regular expression. Rejects it if\nthe regular expression is too complex or can match an unbounded-length\nstring. The regex will be rejected if it uses `*` or `+`. Bound the maximum\nnumber of characters that can be matched using a range, e.g. `{1,100}`.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_RegexValidationQuery", "description": "Validation query." + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -53,9 +61,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RegexValidationResult": dlp_RegexValidationResult_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RegexValidationResult": dlp_RegexValidationResult, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -94,10 +102,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RegexValidationResult": dlp_RegexValidationResult_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RegexValidationResult": dlp_RegexValidationResult, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts index 2b1888a98..40fe1bae3 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts @@ -3,42 +3,45 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../../outputs.js"; import { - dlp_CustomEntry_output, - dlp_CustomPromptTopicEntry_output, - dlp_DocumentFingerprintEntry_output, - dlp_EntryConfidence_output, - dlp_Entry_output, - dlp_ExactDataEntry_output, - dlp_IntegrationEntry_output, - dlp_Pattern_output, - dlp_PredefinedEntryVariant_output, - dlp_PredefinedEntry_output, - dlp_PromptTopicType_output, - dlp_SensitivityLevelRef_output, - dlp_Validation_output, - dlp_WordListEntry_output, -} from "../../outputs.js"; -import { + dlp_CustomEntry, + dlp_CustomPromptTopicEntry, + dlp_DocumentFingerprintEntry, + dlp_Entry, + dlp_EntryConfidence, + dlp_ExactDataEntry, + dlp_IntegrationEntry, dlp_Pattern, + dlp_PredefinedEntry, + dlp_PredefinedEntryVariant, + dlp_PromptTopicType, dlp_SensitivityLevelRef, dlp_Validation, + dlp_WordListEntry, +} from "../../outputs.js"; +import { + dlp_Pattern as dlp_Pattern$, + dlp_SensitivityLevelRef as dlp_SensitivityLevelRef$, + dlp_Validation as dlp_Validation$, } from "../../schemas.js"; import { - dlp_Confidence_output, - dlp_ContextAwareness_output, - dlp_CustomProfile_output, - dlp_IntegrationProfile_output, - dlp_PredefinedProfile_output, - dlp_Profile_output, - dlp_SkipConfig_output, + dlp_Confidence, + dlp_ContextAwareness, + dlp_CustomProfile, + dlp_IntegrationProfile, + dlp_PredefinedProfile, + dlp_Profile, + dlp_SkipConfig, } from "../outputs.js"; -import { dlp_ContextAwareness, dlp_SkipConfig } from "../schemas.js"; +import { + dlp_ContextAwareness as dlp_ContextAwareness$, + dlp_SkipConfig as dlp_SkipConfig$, +} from "../schemas.js"; import { dlp_CustomProfileUpdate, dlp_EntryOfNewProfile, @@ -52,39 +55,47 @@ import { } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.profiles.custom`. + * The tools of `zeroTrust.dlp.profiles.custom`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_profiles_custom_create", + name: "zeroTrust_dlp_profiles_custom_create", title: "Create custom profile", description: "Creates a DLP custom profile.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewCustomProfile", "description": "A new profile to create." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_ContextAwareness": dlp_ContextAwareness$, "dlp_EntryOfNewProfile": dlp_EntryOfNewProfile, "dlp_NewCustomEntry": dlp_NewCustomEntry, "dlp_NewCustomProfile": dlp_NewCustomProfile, "dlp_NewSharedEntry": dlp_NewSharedEntry, "dlp_NewWordListEntry": dlp_NewWordListEntry, - "dlp_Pattern": dlp_Pattern, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, - "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, + "dlp_Pattern": dlp_Pattern$, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef$, + "dlp_SkipConfig": dlp_SkipConfig$, + "dlp_Validation": dlp_Validation$, }, }, outputSchema: { @@ -102,29 +113,29 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -163,30 +174,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -195,23 +206,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_profiles_custom_delete", + name: "zeroTrust_dlp_profiles_custom_delete", title: "Delete custom profile", description: "Deletes a DLP custom profile.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "profile_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "profile_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id" + "path" ], }, outputSchema: { @@ -229,9 +248,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -270,10 +289,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -281,40 +300,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_profiles_custom_update", + name: "zeroTrust_dlp_profiles_custom_update", title: "Update custom profile", description: "Updates a DLP custom profile.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_CustomProfileUpdate", "description": "The updated parameters for the profile." }, - "profile_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "profile_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id", + "path", "body" ], $defs: { - "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_ContextAwareness": dlp_ContextAwareness$, "dlp_CustomProfileUpdate": dlp_CustomProfileUpdate, "dlp_NewCustomEntry": dlp_NewCustomEntry, "dlp_NewCustomEntryWithId": dlp_NewCustomEntryWithId, - "dlp_Pattern": dlp_Pattern, + "dlp_Pattern": dlp_Pattern$, "dlp_ProfileEntryUpdate": dlp_ProfileEntryUpdate, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef$, "dlp_SharedEntryUpdate": dlp_SharedEntryUpdate, - "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, + "dlp_SkipConfig": dlp_SkipConfig$, + "dlp_Validation": dlp_Validation$, }, }, outputSchema: { @@ -332,29 +359,29 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -393,30 +420,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts index 8b93e460f..c80cfd7a5 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_Confidence` in responses. */ -export const dlp_Confidence_output: JsonSchema = { +export const dlp_Confidence: JsonSchema = { "enum": [ "low", "medium", @@ -19,7 +19,7 @@ export const dlp_Confidence_output: JsonSchema = { /** * The schema of `dlp_ContextAwareness` in responses. */ -export const dlp_ContextAwareness_output: JsonSchema = { +export const dlp_ContextAwareness: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -38,7 +38,7 @@ export const dlp_ContextAwareness_output: JsonSchema = { /** * The schema of `dlp_CustomProfile` in responses. */ -export const dlp_CustomProfile_output: JsonSchema = { +export const dlp_CustomProfile: JsonSchema = { "properties": { "ai_context_enabled": { "type": "boolean" @@ -127,7 +127,7 @@ export const dlp_CustomProfile_output: JsonSchema = { /** * The schema of `dlp_IntegrationProfile` in responses. */ -export const dlp_IntegrationProfile_output: JsonSchema = { +export const dlp_IntegrationProfile: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -186,7 +186,7 @@ export const dlp_IntegrationProfile_output: JsonSchema = { /** * The schema of `dlp_PredefinedProfile` in responses. */ -export const dlp_PredefinedProfile_output: JsonSchema = { +export const dlp_PredefinedProfile: JsonSchema = { "properties": { "ai_context_enabled": { "type": "boolean" @@ -232,7 +232,7 @@ export const dlp_PredefinedProfile_output: JsonSchema = { /** * The schema of `dlp_Profile` in responses. */ -export const dlp_Profile_output: JsonSchema = { +export const dlp_Profile: JsonSchema = { "oneOf": [ { "allOf": [ @@ -303,7 +303,7 @@ export const dlp_Profile_output: JsonSchema = { /** * The schema of `dlp_ProfileArray` in responses. */ -export const dlp_ProfileArray_output: JsonSchema = { +export const dlp_ProfileArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_Profile" }, @@ -313,7 +313,7 @@ export const dlp_ProfileArray_output: JsonSchema = { /** * The schema of `dlp_SkipConfig` in responses. */ -export const dlp_SkipConfig_output: JsonSchema = { +export const dlp_SkipConfig: JsonSchema = { "properties": { "files": { "type": "boolean" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts index 885b0f700..a6f925b8a 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts @@ -3,74 +3,85 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../../outputs.js"; import { - dlp_CustomEntry_output, - dlp_CustomPromptTopicEntry_output, - dlp_DocumentFingerprintEntry_output, - dlp_EntryConfidence_output, - dlp_Entry_output, - dlp_ExactDataEntry_output, - dlp_IntegrationEntry_output, - dlp_Pattern_output, - dlp_PredefinedEntryVariant_output, - dlp_PredefinedEntry_output, - dlp_PromptTopicType_output, - dlp_SensitivityLevelRef_output, - dlp_Validation_output, - dlp_WordListEntry_output, + dlp_CustomEntry, + dlp_CustomPromptTopicEntry, + dlp_DocumentFingerprintEntry, + dlp_Entry, + dlp_EntryConfidence, + dlp_ExactDataEntry, + dlp_IntegrationEntry, + dlp_Pattern, + dlp_PredefinedEntry, + dlp_PredefinedEntryVariant, + dlp_PromptTopicType, + dlp_SensitivityLevelRef, + dlp_Validation, + dlp_WordListEntry, } from "../../outputs.js"; import { - dlp_Confidence_output, - dlp_ContextAwareness_output, - dlp_CustomProfile_output, - dlp_IntegrationProfile_output, - dlp_PredefinedProfile_output, - dlp_Profile_output, - dlp_SkipConfig_output, + dlp_Confidence, + dlp_ContextAwareness, + dlp_CustomProfile, + dlp_IntegrationProfile, + dlp_PredefinedProfile, + dlp_Profile, + dlp_SkipConfig, } from "../outputs.js"; -import { dlp_ContextAwareness, dlp_SkipConfig } from "../schemas.js"; +import { + dlp_ContextAwareness as dlp_ContextAwareness$, + dlp_SkipConfig as dlp_SkipConfig$, +} from "../schemas.js"; import { dlp_PredefinedProfileEntryUpdate, dlp_PredefinedProfileUpdate, } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.profiles.predefined`. + * The tools of `zeroTrust.dlp.profiles.predefined`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_profiles_predefined_update", + name: "zeroTrust_dlp_profiles_predefined_update", title: "Update predefined profile", description: "Updates a DLP predefined profile. Only supports enabling/disabling entries.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_PredefinedProfileUpdate", "description": "The updated parameters for the predefined profile." }, - "profile_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "profile_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id", + "path", "body" ], $defs: { - "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_ContextAwareness": dlp_ContextAwareness$, "dlp_PredefinedProfileEntryUpdate": dlp_PredefinedProfileEntryUpdate, "dlp_PredefinedProfileUpdate": dlp_PredefinedProfileUpdate, - "dlp_SkipConfig": dlp_SkipConfig, + "dlp_SkipConfig": dlp_SkipConfig$, }, }, outputSchema: { @@ -88,29 +99,29 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -149,30 +160,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts index 906ff95de..11ff482f2 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts @@ -1,61 +1,69 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; import { - dlp_CustomEntry_output, - dlp_CustomPromptTopicEntry_output, - dlp_DocumentFingerprintEntry_output, - dlp_EntryConfidence_output, - dlp_Entry_output, - dlp_ExactDataEntry_output, - dlp_IntegrationEntry_output, - dlp_Pattern_output, - dlp_PredefinedEntryVariant_output, - dlp_PredefinedEntry_output, - dlp_PromptTopicType_output, - dlp_SensitivityLevelRef_output, - dlp_Validation_output, - dlp_WordListEntry_output, + dlp_CustomEntry, + dlp_CustomPromptTopicEntry, + dlp_DocumentFingerprintEntry, + dlp_Entry, + dlp_EntryConfidence, + dlp_ExactDataEntry, + dlp_IntegrationEntry, + dlp_Pattern, + dlp_PredefinedEntry, + dlp_PredefinedEntryVariant, + dlp_PromptTopicType, + dlp_SensitivityLevelRef, + dlp_Validation, + dlp_WordListEntry, } from "../outputs.js"; import { - dlp_Confidence_output, - dlp_ContextAwareness_output, - dlp_CustomProfile_output, - dlp_IntegrationProfile_output, - dlp_PredefinedProfile_output, - dlp_ProfileArray_output, - dlp_Profile_output, - dlp_SkipConfig_output, + dlp_Confidence, + dlp_ContextAwareness, + dlp_CustomProfile, + dlp_IntegrationProfile, + dlp_PredefinedProfile, + dlp_Profile, + dlp_ProfileArray, + dlp_SkipConfig, } from "./outputs.js"; /** - * The tools of `zero_trust.dlp.profiles`. + * The tools of `zeroTrust.dlp.profiles`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_profiles_get", + name: "zeroTrust_dlp_profiles_get", title: "Get DLP Profile", description: "Fetches a DLP profile by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "profile_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "profile_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "profile_id" + ], + "type": "object" } }, required: [ - "account_id", - "profile_id" + "path" ], }, outputSchema: { @@ -73,29 +81,29 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -135,30 +143,30 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -166,22 +174,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_profiles_list", + name: "zeroTrust_dlp_profiles_list", title: "List all profiles", description: "Lists all DLP profiles in an account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "all": { - "description": "Return all profiles, including those that current account does not have access to.", - "type": "boolean" + "query": { + "properties": { + "all": { + "description": "Return all profiles, including those that current account does not have access to.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -199,30 +220,30 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_ProfileArray": dlp_ProfileArray_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_ProfileArray": dlp_ProfileArray, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -262,37 +283,37 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence_output, - "dlp_ContextAwareness": dlp_ContextAwareness_output, - "dlp_CustomEntry": dlp_CustomEntry_output, - "dlp_CustomProfile": dlp_CustomProfile_output, - "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry_output, - "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry_output, - "dlp_Entry": dlp_Entry_output, - "dlp_EntryConfidence": dlp_EntryConfidence_output, - "dlp_ExactDataEntry": dlp_ExactDataEntry_output, - "dlp_IntegrationEntry": dlp_IntegrationEntry_output, - "dlp_IntegrationProfile": dlp_IntegrationProfile_output, - "dlp_Pattern": dlp_Pattern_output, - "dlp_PredefinedEntry": dlp_PredefinedEntry_output, - "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant_output, - "dlp_PredefinedProfile": dlp_PredefinedProfile_output, - "dlp_Profile": dlp_Profile_output, - "dlp_ProfileArray": dlp_ProfileArray_output, - "dlp_PromptTopicType": dlp_PromptTopicType_output, - "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef_output, - "dlp_SkipConfig": dlp_SkipConfig_output, - "dlp_Validation": dlp_Validation_output, - "dlp_WordListEntry": dlp_WordListEntry_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Confidence": dlp_Confidence, + "dlp_ContextAwareness": dlp_ContextAwareness, + "dlp_CustomEntry": dlp_CustomEntry, + "dlp_CustomProfile": dlp_CustomProfile, + "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, + "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, + "dlp_Entry": dlp_Entry, + "dlp_EntryConfidence": dlp_EntryConfidence, + "dlp_ExactDataEntry": dlp_ExactDataEntry, + "dlp_IntegrationEntry": dlp_IntegrationEntry, + "dlp_IntegrationProfile": dlp_IntegrationProfile, + "dlp_Pattern": dlp_Pattern, + "dlp_PredefinedEntry": dlp_PredefinedEntry, + "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, + "dlp_PredefinedProfile": dlp_PredefinedProfile, + "dlp_Profile": dlp_Profile, + "dlp_ProfileArray": dlp_ProfileArray, + "dlp_PromptTopicType": dlp_PromptTopicType, + "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, + "dlp_SkipConfig": dlp_SkipConfig, + "dlp_Validation": dlp_Validation, + "dlp_WordListEntry": dlp_WordListEntry, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/profiles`, query: [ - ["all", args["all"], true], + ["all", param(args, "query", "all"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/outputs.ts index 0ad8dd41d..ade4794af 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_SensitivityGroupTemplate` in responses. */ -export const dlp_SensitivityGroupTemplate_output: JsonSchema = { +export const dlp_SensitivityGroupTemplate: JsonSchema = { "properties": { "description": { "type": "string" @@ -37,7 +37,7 @@ export const dlp_SensitivityGroupTemplate_output: JsonSchema = { /** * The schema of `dlp_SensitivityGroupTemplateArray` in responses. */ -export const dlp_SensitivityGroupTemplateArray_output: JsonSchema = { +export const dlp_SensitivityGroupTemplateArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_SensitivityGroupTemplate" }, @@ -47,7 +47,7 @@ export const dlp_SensitivityGroupTemplateArray_output: JsonSchema = { /** * The schema of `dlp_SensitivityLevelTemplate` in responses. */ -export const dlp_SensitivityLevelTemplate_output: JsonSchema = { +export const dlp_SensitivityLevelTemplate: JsonSchema = { "properties": { "description": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts index ff8e68f40..622ea2b99 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts @@ -3,38 +3,46 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; import { - dlp_SensitivityGroupTemplateArray_output, - dlp_SensitivityGroupTemplate_output, - dlp_SensitivityLevelTemplate_output, + dlp_SensitivityGroupTemplate, + dlp_SensitivityGroupTemplateArray, + dlp_SensitivityLevelTemplate, } from "./outputs.js"; /** - * The tools of `zero_trust.dlp.sensitivity_group_templates`. + * The tools of `zeroTrust.dlp.sensitivityGroupTemplates`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_sensitivity_group_templates_get", + name: "zeroTrust_dlp_sensitivityGroupTemplates_get", title: "Retrieve a specific sensitivity group template.", description: "Gets an available sensitivity group template.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "template_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "template_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "template_id" + ], + "type": "object" } }, required: [ - "account_id", - "template_id" + "path" ], }, outputSchema: { @@ -52,10 +60,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate_output, - "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate, + "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -98,11 +106,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate_output, - "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate, + "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -110,18 +118,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_group_templates_list", + name: "zeroTrust_dlp_sensitivityGroupTemplates_list", title: "Retrieve all sensitivity group templates in an account", description: "Lists available sensitivity group templates.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -139,11 +155,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate_output, - "dlp_SensitivityGroupTemplateArray": dlp_SensitivityGroupTemplateArray_output, - "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate, + "dlp_SensitivityGroupTemplateArray": dlp_SensitivityGroupTemplateArray, + "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -186,12 +202,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate_output, - "dlp_SensitivityGroupTemplateArray": dlp_SensitivityGroupTemplateArray_output, - "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroupTemplate": dlp_SensitivityGroupTemplate, + "dlp_SensitivityGroupTemplateArray": dlp_SensitivityGroupTemplateArray, + "dlp_SensitivityLevelTemplate": dlp_SensitivityLevelTemplate, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/outputs.ts index c934df160..4b029a915 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_SensitivityGroup` in responses. */ -export const dlp_SensitivityGroup_output: JsonSchema = { +export const dlp_SensitivityGroup: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -64,7 +64,7 @@ export const dlp_SensitivityGroup_output: JsonSchema = { /** * The schema of `dlp_SensitivityGroupArray` in responses. */ -export const dlp_SensitivityGroupArray_output: JsonSchema = { +export const dlp_SensitivityGroupArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_SensitivityGroup" }, @@ -74,7 +74,7 @@ export const dlp_SensitivityGroupArray_output: JsonSchema = { /** * The schema of `dlp_SensitivityLevelOrder` in responses. */ -export const dlp_SensitivityLevelOrder_output: JsonSchema = { +export const dlp_SensitivityLevelOrder: JsonSchema = { "properties": { "level_ids": { "items": { diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts index 82d9f1898..1d8cf066e 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts @@ -3,49 +3,57 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_SensitivityLevel_output } from "../outputs.js"; +import { dlp_SensitivityLevel } from "../outputs.js"; import { dlp_NewSensitivityLevel, dlp_SensitivityLevelUpdate, } from "../schemas.js"; import { - dlp_SensitivityGroupArray_output, - dlp_SensitivityGroup_output, - dlp_SensitivityLevelOrder_output, + dlp_SensitivityGroup, + dlp_SensitivityGroupArray, + dlp_SensitivityLevelOrder, } from "./outputs.js"; import { dlp_NewSensitivityGroup, dlp_SensitivityGroupLevelUpdate, dlp_SensitivityGroupUpdate, - dlp_SensitivityLevelOrder, + dlp_SensitivityLevelOrder as dlp_SensitivityLevelOrder$, } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.sensitivity_groups`. + * The tools of `zeroTrust.dlp.sensitivityGroups`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_sensitivity_groups_create", + name: "zeroTrust_dlp_sensitivityGroups_create", title: "Creates a new sensitivity group.", description: "Creates a sensitivity group, optionally from a template.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewSensitivityGroup", "description": "Attributes of the new sensitivity group." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { @@ -68,10 +76,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityGroup": dlp_SensitivityGroup_output, - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroup": dlp_SensitivityGroup, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -110,11 +118,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityGroup": dlp_SensitivityGroup_output, - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroup": dlp_SensitivityGroup, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -123,23 +131,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_groups_delete", + name: "zeroTrust_dlp_sensitivityGroups_delete", title: "Delete a single sensitivity group.", description: "Deletes a sensitivity group and its levels.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id" + "path" ], }, outputSchema: { @@ -157,9 +173,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -198,10 +214,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -209,23 +225,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_groups_get", + name: "zeroTrust_dlp_sensitivityGroups_get", title: "Retrieve a specific sensitivity group.", description: "Gets a sensitivity group and its levels.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id" + "path" ], }, outputSchema: { @@ -243,10 +267,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityGroup": dlp_SensitivityGroup_output, - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroup": dlp_SensitivityGroup, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -286,11 +310,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityGroup": dlp_SensitivityGroup_output, - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroup": dlp_SensitivityGroup, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -298,23 +322,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_groups_get_level_order", + name: "zeroTrust_dlp_sensitivityGroups_getLevelOrder", title: "Retrieve the ordered list of level IDs for a sensitivity group.", description: "Gets the current order of sensitivity levels in a group.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id" + "path" ], }, outputSchema: { @@ -332,9 +364,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -374,10 +406,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -385,18 +417,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_groups_list", + name: "zeroTrust_dlp_sensitivityGroups_list", title: "Retrieve all sensitivity groups in an account", description: "Lists sensitivity groups configured for the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -414,11 +454,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityGroup": dlp_SensitivityGroup_output, - "dlp_SensitivityGroupArray": dlp_SensitivityGroupArray_output, - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroup": dlp_SensitivityGroup, + "dlp_SensitivityGroupArray": dlp_SensitivityGroupArray, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -458,12 +498,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityGroup": dlp_SensitivityGroup_output, - "dlp_SensitivityGroupArray": dlp_SensitivityGroupArray_output, - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroup": dlp_SensitivityGroup, + "dlp_SensitivityGroupArray": dlp_SensitivityGroupArray, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -471,27 +511,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_groups_update", + name: "zeroTrust_dlp_sensitivityGroups_update", title: "Update the attributes of a single sensitivity group.", description: "Updates a sensitivity group and its levels.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_SensitivityGroupUpdate", "description": "Attributes of the sensitivity group to update." }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id", + "path", "body" ], $defs: { @@ -515,10 +563,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityGroup": dlp_SensitivityGroup_output, - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroup": dlp_SensitivityGroup, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -557,11 +605,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityGroup": dlp_SensitivityGroup_output, - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityGroup": dlp_SensitivityGroup, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -570,31 +618,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_groups_update_level_order", + name: "zeroTrust_dlp_sensitivityGroups_updateLevelOrder", title: "Set the ordering of levels within a sensitivity group.", description: "Updates the order of sensitivity levels in a group.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_SensitivityLevelOrder", "description": "Desired ordered list of level IDs." }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id", + "path", "body" ], $defs: { - "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder, + "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder$, }, }, outputSchema: { @@ -612,9 +668,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -653,10 +709,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/outputs.ts index e90e04572..694b296f3 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_SensitivityLevelArray` in responses. */ -export const dlp_SensitivityLevelArray_output: JsonSchema = { +export const dlp_SensitivityLevelArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_SensitivityLevel" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts index f662f5189..6283bfebf 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts @@ -3,44 +3,52 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_SensitivityLevel_output } from "../outputs.js"; +import { dlp_SensitivityLevel } from "../outputs.js"; import { dlp_NewSensitivityLevel, dlp_SensitivityLevelUpdate, } from "../schemas.js"; -import { dlp_SensitivityLevelArray_output } from "./outputs.js"; +import { dlp_SensitivityLevelArray } from "./outputs.js"; /** - * The tools of `zero_trust.dlp.sensitivity_levels`. + * The tools of `zeroTrust.dlp.sensitivityLevels`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_sensitivity_levels_create", + name: "zeroTrust_dlp_sensitivityLevels_create", title: "Creates a new sensitivity level.", description: "Creates a sensitivity level in a group.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_NewSensitivityLevel", "description": "Attributes of the new sensitivity level." }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id", + "path", "body" ], $defs: { @@ -62,9 +70,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -103,10 +111,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -115,28 +123,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_levels_delete", + name: "zeroTrust_dlp_sensitivityLevels_delete", title: "Delete a single sensitivity level.", description: "Deletes a sensitivity level from a group.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" - }, - "sensitivity_level_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + }, + "sensitivity_level_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id", + "sensitivity_level_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id", - "sensitivity_level_id" + "path" ], }, outputSchema: { @@ -154,9 +170,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -195,10 +211,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -206,28 +222,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_levels_get", + name: "zeroTrust_dlp_sensitivityLevels_get", title: "Retrieve a specific sensitivity level.", description: "Gets a sensitivity level from a group.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" - }, - "sensitivity_level_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + }, + "sensitivity_level_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id", + "sensitivity_level_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id", - "sensitivity_level_id" + "path" ], }, outputSchema: { @@ -245,9 +269,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -287,10 +311,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -298,23 +322,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_levels_list", + name: "zeroTrust_dlp_sensitivityLevels_list", title: "Retrieve all sensitivity levels in a sensitivity group", description: "Lists sensitivity levels in a sensitivity group.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id" + "path" ], }, outputSchema: { @@ -332,10 +364,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_SensitivityLevelArray": dlp_SensitivityLevelArray_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_SensitivityLevelArray": dlp_SensitivityLevelArray, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -375,11 +407,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_SensitivityLevelArray": dlp_SensitivityLevelArray_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_SensitivityLevelArray": dlp_SensitivityLevelArray, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -387,32 +419,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_sensitivity_levels_update", + name: "zeroTrust_dlp_sensitivityLevels_update", title: "Update the attributes of a single sensitivity level.", description: "Updates a sensitivity level in a group.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_SensitivityLevelUpdate", "description": "Attributes of the sensitivity level to update." }, - "sensitivity_group_id": { - "format": "uuid", - "type": "string" - }, - "sensitivity_level_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "sensitivity_group_id": { + "format": "uuid", + "type": "string" + }, + "sensitivity_level_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "sensitivity_group_id", + "sensitivity_level_id" + ], + "type": "object" } }, required: [ - "account_id", - "sensitivity_group_id", - "sensitivity_level_id", + "path", "body" ], $defs: { @@ -434,9 +474,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -475,10 +515,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_SensitivityLevel": dlp_SensitivityLevel_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_SensitivityLevel": dlp_SensitivityLevel, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts index 689761bcd..2ffea61bb 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_DlpSettings` in responses. */ -export const dlp_DlpSettings_output: JsonSchema = { +export const dlp_DlpSettings: JsonSchema = { "properties": { "ai_context_analysis": { "type": "boolean" @@ -29,7 +29,7 @@ export const dlp_DlpSettings_output: JsonSchema = { /** * The schema of `dlp_PayloadLogMaskingLevel` in responses. */ -export const dlp_PayloadLogMaskingLevel_output: JsonSchema = { +export const dlp_PayloadLogMaskingLevel: JsonSchema = { "enum": [ "full", "partial", @@ -42,7 +42,7 @@ export const dlp_PayloadLogMaskingLevel_output: JsonSchema = { /** * The schema of `dlp_PayloadLogSetting` in responses. */ -export const dlp_PayloadLogSetting_output: JsonSchema = { +export const dlp_PayloadLogSetting: JsonSchema = { "properties": { "masking_level": { "$ref": "#/$defs/dlp_PayloadLogMaskingLevel" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts index 20685c41f..af6f10edb 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts @@ -3,38 +3,46 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; import { - dlp_DlpSettings_output, - dlp_PayloadLogMaskingLevel_output, - dlp_PayloadLogSetting_output, + dlp_DlpSettings, + dlp_PayloadLogMaskingLevel, + dlp_PayloadLogSetting, } from "./outputs.js"; import { dlp_DlpSettingsUpdate, - dlp_PayloadLogMaskingLevel, + dlp_PayloadLogMaskingLevel as dlp_PayloadLogMaskingLevel$, dlp_PayloadLogSettingUpdate, } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.settings`. + * The tools of `zeroTrust.dlp.settings`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_settings_delete", + name: "zeroTrust_dlp_settings_delete", title: "Delete (reset) DLP account-level settings to initial values.", description: "Deletes account-level DLP settings and returns the initial values.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -52,11 +60,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DlpSettings": dlp_DlpSettings_output, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, - "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DlpSettings": dlp_DlpSettings, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -95,12 +103,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DlpSettings": dlp_DlpSettings_output, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, - "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DlpSettings": dlp_DlpSettings, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -108,27 +116,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_settings_edit", + name: "zeroTrust_dlp_settings_edit", title: "Partially update DLP account-level settings.", description: "Missing fields keep their existing values.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_DlpSettingsUpdate", "description": "DLP settings fields to update." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "dlp_DlpSettingsUpdate": dlp_DlpSettingsUpdate, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel$, "dlp_PayloadLogSettingUpdate": dlp_PayloadLogSettingUpdate, }, }, @@ -147,11 +163,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DlpSettings": dlp_DlpSettings_output, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, - "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DlpSettings": dlp_DlpSettings, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -190,12 +206,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DlpSettings": dlp_DlpSettings_output, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, - "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DlpSettings": dlp_DlpSettings, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -204,18 +220,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_settings_get", + name: "zeroTrust_dlp_settings_get", title: "Get DLP account-level settings.", description: "Gets the account-level DLP settings.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -233,11 +257,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DlpSettings": dlp_DlpSettings_output, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, - "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DlpSettings": dlp_DlpSettings, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -277,12 +301,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DlpSettings": dlp_DlpSettings_output, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, - "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DlpSettings": dlp_DlpSettings, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -290,27 +314,35 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_settings_update", + name: "zeroTrust_dlp_settings_update", title: "Update DLP account-level settings (full replacement).", description: "Missing fields are reset to initial (unconfigured) values.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_DlpSettingsUpdate", "description": "New DLP settings." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "dlp_DlpSettingsUpdate": dlp_DlpSettingsUpdate, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel$, "dlp_PayloadLogSettingUpdate": dlp_PayloadLogSettingUpdate, }, }, @@ -329,11 +361,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DlpSettings": dlp_DlpSettings_output, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, - "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DlpSettings": dlp_DlpSettings, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -372,12 +404,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DlpSettings": dlp_DlpSettings_output, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel_output, - "dlp_PayloadLogSetting": dlp_PayloadLogSetting_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_DlpSettings": dlp_DlpSettings, + "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, + "dlp_PayloadLogSetting": dlp_PayloadLogSetting, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts index eab3aaa00..9c105c5c8 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_AttachedEntry` in responses. */ -export const dlp_AttachedEntry_output: JsonSchema = { +export const dlp_AttachedEntry: JsonSchema = { "properties": { "id": { "format": "uuid", @@ -30,7 +30,7 @@ export const dlp_AttachedEntry_output: JsonSchema = { /** * The schema of `dlp_EntryType` in responses. */ -export const dlp_EntryType_output: JsonSchema = { +export const dlp_EntryType: JsonSchema = { "enum": [ "custom", "custom_prompt_topic", @@ -46,7 +46,7 @@ export const dlp_EntryType_output: JsonSchema = { /** * The schema of `dlp_ProximityWeight` in responses. */ -export const dlp_ProximityWeight_output: JsonSchema = { +export const dlp_ProximityWeight: JsonSchema = { "enum": [ "strong", "moderate", @@ -58,7 +58,7 @@ export const dlp_ProximityWeight_output: JsonSchema = { /** * The schema of `dlp_ProximityWord` in responses. */ -export const dlp_ProximityWord_output: JsonSchema = { +export const dlp_ProximityWord: JsonSchema = { "properties": { "weight": { "$ref": "#/$defs/dlp_ProximityWeight" @@ -77,7 +77,7 @@ export const dlp_ProximityWord_output: JsonSchema = { /** * The schema of `dlp_ProximityWordValidator` in responses. */ -export const dlp_ProximityWordValidator_output: JsonSchema = { +export const dlp_ProximityWordValidator: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -118,7 +118,7 @@ export const dlp_ProximityWordValidator_output: JsonSchema = { /** * The schema of `dlp_Validator` in responses. */ -export const dlp_Validator_output: JsonSchema = { +export const dlp_Validator: JsonSchema = { "oneOf": [ { "allOf": [ @@ -168,7 +168,7 @@ export const dlp_Validator_output: JsonSchema = { /** * The schema of `dlp_ValidatorArray` in responses. */ -export const dlp_ValidatorArray_output: JsonSchema = { +export const dlp_ValidatorArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_Validator" }, @@ -178,7 +178,7 @@ export const dlp_ValidatorArray_output: JsonSchema = { /** * The schema of `dlp_ValidatorReferences` in responses. */ -export const dlp_ValidatorReferences_output: JsonSchema = { +export const dlp_ValidatorReferences: JsonSchema = { "properties": { "entries": { "items": { @@ -200,7 +200,7 @@ export const dlp_ValidatorReferences_output: JsonSchema = { /** * The schema of `dlp_WorkerDefault` in responses. */ -export const dlp_WorkerDefault_output: JsonSchema = { +export const dlp_WorkerDefault: JsonSchema = { "oneOf": [ { "type": "number" @@ -217,7 +217,7 @@ export const dlp_WorkerDefault_output: JsonSchema = { /** * The schema of `dlp_WorkerValidator` in responses. */ -export const dlp_WorkerValidator_output: JsonSchema = { +export const dlp_WorkerValidator: JsonSchema = { "properties": { "created_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/outputs.ts index 647acf326..50668fc1b 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `dlp_ProximityWordValidatorArray` in responses. */ -export const dlp_ProximityWordValidatorArray_output: JsonSchema = { +export const dlp_ProximityWordValidatorArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_ProximityWordValidator" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts index 15994817f..634d350c2 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts @@ -3,49 +3,60 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../../outputs.js"; import { - dlp_AttachedEntry_output, - dlp_EntryType_output, - dlp_ProximityWeight_output, - dlp_ProximityWordValidator_output, - dlp_ProximityWord_output, - dlp_ValidatorReferences_output, + dlp_AttachedEntry, + dlp_EntryType, + dlp_ProximityWeight, + dlp_ProximityWord, + dlp_ProximityWordValidator, + dlp_ValidatorReferences, } from "../outputs.js"; -import { dlp_ProximityWeight, dlp_ProximityWord } from "../schemas.js"; -import { dlp_ProximityWordValidatorArray_output } from "./outputs.js"; +import { + dlp_ProximityWeight as dlp_ProximityWeight$, + dlp_ProximityWord as dlp_ProximityWord$, +} from "../schemas.js"; +import { dlp_ProximityWordValidatorArray } from "./outputs.js"; import { dlp_ProximityWordValidatorWrite } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.validators.proximity_words`. + * The tools of `zeroTrust.dlp.validators.proximityWords`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_validators_proximity_words_create", + name: "zeroTrust_dlp_validators_proximityWords_create", title: "Create a proximity word validator", description: "Creates a reusable list of weighted words that detection entries can attach to in order to\nrefine their matches. An account may own at most 100 validators across all kinds.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_ProximityWordValidatorWrite", "description": "Attributes of the new validator." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "dlp_ProximityWeight": dlp_ProximityWeight, - "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWeight": dlp_ProximityWeight$, + "dlp_ProximityWord": dlp_ProximityWord$, "dlp_ProximityWordValidatorWrite": dlp_ProximityWordValidatorWrite, }, }, @@ -64,14 +75,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -110,15 +121,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -127,23 +138,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_validators_proximity_words_delete", + name: "zeroTrust_dlp_validators_proximityWords_delete", title: "Delete a proximity word validator", description: "Deletes a `proximity_words` validator. Fails with `409` while any detection entry is still\nattached to it; detach it from those entries first.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "validator_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "validator_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "validator_id" + ], + "type": "object" } }, required: [ - "account_id", - "validator_id" + "path" ], }, outputSchema: { @@ -161,9 +180,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -202,10 +221,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -213,23 +232,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_validators_proximity_words_get", + name: "zeroTrust_dlp_validators_proximityWords_get", title: "Get a proximity word validator", description: "Fetches a `proximity_words` validator by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "validator_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "validator_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "validator_id" + ], + "type": "object" } }, required: [ - "account_id", - "validator_id" + "path" ], }, outputSchema: { @@ -247,14 +274,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -294,15 +321,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -310,18 +337,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_validators_proximity_words_list", + name: "zeroTrust_dlp_validators_proximityWords_list", title: "List proximity word validators", description: "Lists the `proximity_words` validators configured for the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -339,15 +374,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_ProximityWordValidatorArray": dlp_ProximityWordValidatorArray_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_ProximityWordValidatorArray": dlp_ProximityWordValidatorArray, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -387,16 +422,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_ProximityWordValidatorArray": dlp_ProximityWordValidatorArray_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_ProximityWordValidatorArray": dlp_ProximityWordValidatorArray, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -404,32 +439,40 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_validators_proximity_words_update", + name: "zeroTrust_dlp_validators_proximityWords_update", title: "Update a proximity word validator", description: "Replaces the name and word list of a `proximity_words` validator. Attachments to detection\nentries are owned from the entry side and are not affected.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_ProximityWordValidatorWrite", "description": "Attributes of the validator to update." }, - "validator_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "validator_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "validator_id" + ], + "type": "object" } }, required: [ - "account_id", - "validator_id", + "path", "body" ], $defs: { - "dlp_ProximityWeight": dlp_ProximityWeight, - "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWeight": dlp_ProximityWeight$, + "dlp_ProximityWord": dlp_ProximityWord$, "dlp_ProximityWordValidatorWrite": dlp_ProximityWordValidatorWrite, }, }, @@ -448,14 +491,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -494,15 +537,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts index cba15fa92..32e299052 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts @@ -1,48 +1,56 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; import { - dlp_AttachedEntry_output, - dlp_EntryType_output, - dlp_ProximityWeight_output, - dlp_ProximityWordValidator_output, - dlp_ProximityWord_output, - dlp_ValidatorArray_output, - dlp_ValidatorReferences_output, - dlp_Validator_output, - dlp_WorkerDefault_output, - dlp_WorkerValidator_output, + dlp_AttachedEntry, + dlp_EntryType, + dlp_ProximityWeight, + dlp_ProximityWord, + dlp_ProximityWordValidator, + dlp_Validator, + dlp_ValidatorArray, + dlp_ValidatorReferences, + dlp_WorkerDefault, + dlp_WorkerValidator, } from "./outputs.js"; import { dlp_ValidatorKind } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.validators`. + * The tools of `zeroTrust.dlp.validators`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_validators_get", + name: "zeroTrust_dlp_validators_get", title: "Get a validator", description: "Fetches a validator of any kind by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "validator_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "validator_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "validator_id" + ], + "type": "object" } }, required: [ - "account_id", - "validator_id" + "path" ], }, outputSchema: { @@ -60,17 +68,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_Validator": dlp_Validator_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_Validator": dlp_Validator, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -110,18 +118,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_Validator": dlp_Validator_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_Validator": dlp_Validator, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -129,29 +137,42 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_validators_list", + name: "zeroTrust_dlp_validators_list", title: "List validators", description: "Lists the validators configured for the account, of every kind.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "kind": { - "description": "Only return validators of this kind. Omit to return every kind.", - "oneOf": [ - { - "$ref": "#/$defs/dlp_ValidatorKind" - }, - { - "type": "null" + "query": { + "properties": { + "kind": { + "description": "Only return validators of this kind. Omit to return every kind.", + "oneOf": [ + { + "$ref": "#/$defs/dlp_ValidatorKind" + }, + { + "type": "null" + } + ] } - ] + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "dlp_ValidatorKind": dlp_ValidatorKind, @@ -172,18 +193,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_Validator": dlp_Validator_output, - "dlp_ValidatorArray": dlp_ValidatorArray_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_Validator": dlp_Validator, + "dlp_ValidatorArray": dlp_ValidatorArray, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -223,25 +244,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ProximityWeight": dlp_ProximityWeight_output, - "dlp_ProximityWord": dlp_ProximityWord_output, - "dlp_ProximityWordValidator": dlp_ProximityWordValidator_output, - "dlp_Validator": dlp_Validator_output, - "dlp_ValidatorArray": dlp_ValidatorArray_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ProximityWeight": dlp_ProximityWeight, + "dlp_ProximityWord": dlp_ProximityWord, + "dlp_ProximityWordValidator": dlp_ProximityWordValidator, + "dlp_Validator": dlp_Validator, + "dlp_ValidatorArray": dlp_ValidatorArray, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/dlp/validators`, query: [ - ["kind", args["kind"], true], + ["kind", param(args, "query", "kind"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/outputs.ts index c87f080e8..1750c06d3 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `dlp_WorkerValidatorArray` in responses. */ -export const dlp_WorkerValidatorArray_output: JsonSchema = { +export const dlp_WorkerValidatorArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_WorkerValidator" }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts index bdb3b7703..abf54ed0b 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../../_/tool.js"; /** * The schema of `dlp_WorkerStatus` in responses. */ -export const dlp_WorkerStatus_output: JsonSchema = { +export const dlp_WorkerStatus: JsonSchema = { "enum": [ "worker_not_found", "worker_error", @@ -19,7 +19,7 @@ export const dlp_WorkerStatus_output: JsonSchema = { /** * The schema of `dlp_WorkerValidatorStatus` in responses. */ -export const dlp_WorkerValidatorStatus_output: JsonSchema = { +export const dlp_WorkerValidatorStatus: JsonSchema = { "properties": { "status": { "$ref": "#/$defs/dlp_WorkerStatus" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts index 64c1364f6..a6dc9f55c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts @@ -3,37 +3,42 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../../../outputs.js"; -import { - dlp_WorkerStatus_output, - dlp_WorkerValidatorStatus_output, -} from "./outputs.js"; +import { dlp_WorkerStatus, dlp_WorkerValidatorStatus } from "./outputs.js"; /** - * The tools of `zero_trust.dlp.validators.worker.status`. + * The tools of `zeroTrust.dlp.validators.worker.status`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_validators_worker_status_get", + name: "zeroTrust_dlp_validators_worker_status_get", title: "Get a worker validator status", description: "Reports whether the validator's Worker can be used. Returns `worker_not_found` if the Worker\ncannot be found, and `worker_error` if the Worker does not have a valid validation entrypoint\nor is returning incorrect responses.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "validator_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "validator_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "validator_id" + ], + "type": "object" } }, required: [ - "account_id", - "validator_id" + "path" ], }, outputSchema: { @@ -51,10 +56,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_WorkerStatus": dlp_WorkerStatus_output, - "dlp_WorkerValidatorStatus": dlp_WorkerValidatorStatus_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_WorkerStatus": dlp_WorkerStatus, + "dlp_WorkerValidatorStatus": dlp_WorkerValidatorStatus, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -94,11 +99,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_WorkerStatus": dlp_WorkerStatus_output, - "dlp_WorkerValidatorStatus": dlp_WorkerValidatorStatus_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_WorkerStatus": dlp_WorkerStatus, + "dlp_WorkerValidatorStatus": dlp_WorkerValidatorStatus, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts index a9fb590ad..edd307dec 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts @@ -3,47 +3,55 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../../outputs.js"; import { - dlp_AttachedEntry_output, - dlp_EntryType_output, - dlp_ValidatorReferences_output, - dlp_WorkerDefault_output, - dlp_WorkerValidator_output, + dlp_AttachedEntry, + dlp_EntryType, + dlp_ValidatorReferences, + dlp_WorkerDefault, + dlp_WorkerValidator, } from "../outputs.js"; -import { dlp_WorkerDefault } from "../schemas.js"; -import { dlp_WorkerValidatorArray_output } from "./outputs.js"; +import { dlp_WorkerDefault as dlp_WorkerDefault$ } from "../schemas.js"; +import { dlp_WorkerValidatorArray } from "./outputs.js"; import { dlp_WorkerValidatorWrite } from "./schemas.js"; /** - * The tools of `zero_trust.dlp.validators.worker`. + * The tools of `zeroTrust.dlp.validators.worker`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_dlp_validators_worker_create", + name: "zeroTrust_dlp_validators_worker_create", title: "Create a worker validator", description: "Registers a customer Worker as a validator. An account may own at most 100 validators across\nall kinds.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_WorkerValidatorWrite", "description": "Attributes of the new validator." + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerDefault": dlp_WorkerDefault$, "dlp_WorkerValidatorWrite": dlp_WorkerValidatorWrite, }, }, @@ -62,13 +70,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -107,14 +115,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -123,23 +131,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_validators_worker_delete", + name: "zeroTrust_dlp_validators_worker_delete", title: "Delete a worker validator", description: "Deletes a `worker` validator. Fails with `409` while any detection entry is still attached to\nit; detach it from those entries first.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "validator_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "validator_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "validator_id" + ], + "type": "object" } }, required: [ - "account_id", - "validator_id" + "path" ], }, outputSchema: { @@ -157,9 +173,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -198,10 +214,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -209,23 +225,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_validators_worker_get", + name: "zeroTrust_dlp_validators_worker_get", title: "Get a worker validator", description: "Fetches a `worker` validator by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "validator_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "validator_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "validator_id" + ], + "type": "object" } }, required: [ - "account_id", - "validator_id" + "path" ], }, outputSchema: { @@ -243,13 +267,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -289,14 +313,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -304,18 +328,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_validators_worker_list", + name: "zeroTrust_dlp_validators_worker_list", title: "List worker validators", description: "Lists the `worker` validators configured for the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -333,14 +365,14 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_WorkerValidatorArray": dlp_WorkerValidatorArray_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_WorkerValidatorArray": dlp_WorkerValidatorArray, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -380,15 +412,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_WorkerValidatorArray": dlp_WorkerValidatorArray_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_WorkerValidatorArray": dlp_WorkerValidatorArray, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -396,31 +428,39 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_dlp_validators_worker_update", + name: "zeroTrust_dlp_validators_worker_update", title: "Update a worker validator", description: "Replaces the name, script tag and fallback verdict of a `worker` validator. Attachments to\ndetection entries are owned from the entry side and are not affected.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_WorkerValidatorWrite", "description": "Attributes of the validator to update." }, - "validator_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "validator_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "validator_id" + ], + "type": "object" } }, required: [ - "account_id", - "validator_id", + "path", "body" ], $defs: { - "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerDefault": dlp_WorkerDefault$, "dlp_WorkerValidatorWrite": dlp_WorkerValidatorWrite, }, }, @@ -439,13 +479,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -484,14 +524,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_AttachedEntry": dlp_AttachedEntry_output, - "dlp_EntryType": dlp_EntryType_output, - "dlp_ValidatorReferences": dlp_ValidatorReferences_output, - "dlp_WorkerDefault": dlp_WorkerDefault_output, - "dlp_WorkerValidator": dlp_WorkerValidator_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_AttachedEntry": dlp_AttachedEntry, + "dlp_EntryType": dlp_EntryType, + "dlp_ValidatorReferences": dlp_ValidatorReferences, + "dlp_WorkerDefault": dlp_WorkerDefault, + "dlp_WorkerValidator": dlp_WorkerValidator, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts index ccd04da20..632b6d1c1 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_app-types` in responses. */ -export const zero_trust_gateway_app_types_output: JsonSchema = { +export const zero$$trust$$gateway_app$$types: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/zero-trust-gateway_application" @@ -20,21 +20,21 @@ export const zero_trust_gateway_app_types_output: JsonSchema = { /** * The schema of `zero-trust-gateway_app_id` in responses. */ -export const zero_trust_gateway_app_id_output: JsonSchema = { +export const zero$$trust$$gateway_app_id: JsonSchema = { "type": "integer" }; /** * The schema of `zero-trust-gateway_app_type_id` in responses. */ -export const zero_trust_gateway_app_type_id_output: JsonSchema = { +export const zero$$trust$$gateway_app_type_id: JsonSchema = { "type": "integer" }; /** * The schema of `zero-trust-gateway_application` in responses. */ -export const zero_trust_gateway_application_output: JsonSchema = { +export const zero$$trust$$gateway_application: JsonSchema = { "properties": { "application_type_id": { "$ref": "#/$defs/zero-trust-gateway_app_type_id" @@ -55,7 +55,7 @@ export const zero_trust_gateway_application_output: JsonSchema = { /** * The schema of `zero-trust-gateway_application_type` in responses. */ -export const zero_trust_gateway_application_type_output: JsonSchema = { +export const zero$$trust$$gateway_application_type: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/zero-trust-gateway_timestamp" @@ -76,14 +76,14 @@ export const zero_trust_gateway_application_type_output: JsonSchema = { /** * The schema of `zero-trust-gateway_name-4` in responses. */ -export const zero_trust_gateway_name_4_output: JsonSchema = { +export const zero$$trust$$gateway_name$$4: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_response_collection-7` in responses. */ -export const zero_trust_gateway_response_collection_7_output: JsonSchema = { +export const zero$$trust$$gateway_response_collection$$7: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts index cb82abb9d..51c067359 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts @@ -3,64 +3,72 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_messages_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_messages, } from "../../outputs.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_result_info_output, - zero_trust_gateway_timestamp_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_result_info, + zero$$trust$$gateway_timestamp, } from "../outputs.js"; -import { zero_trust_gateway_identifier_3 } from "../schemas.js"; +import { zero$$trust$$gateway_identifier$$3 } from "../schemas.js"; import { - zero_trust_gateway_app_id_output, - zero_trust_gateway_app_type_id_output, - zero_trust_gateway_app_types_output, - zero_trust_gateway_application_output, - zero_trust_gateway_application_type_output, - zero_trust_gateway_name_4_output, - zero_trust_gateway_response_collection_7_output, + zero$$trust$$gateway_app$$types, + zero$$trust$$gateway_app_id, + zero$$trust$$gateway_app_type_id, + zero$$trust$$gateway_application, + zero$$trust$$gateway_application_type, + zero$$trust$$gateway_name$$4, + zero$$trust$$gateway_response_collection$$7, } from "./outputs.js"; /** - * The tools of `zero_trust.gateway.app_types`. + * The tools of `zeroTrust.gateway.appTypes`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_app_types_list", + name: "zeroTrust_gateway_appTypes_list", title: "List application and application type mappings", description: "List all application and application type mappings.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-3", - "description": "Provide the identifier string." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-3", + "description": "Provide the identifier string." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-3": zero_trust_gateway_identifier_3, + "zero-trust-gateway_identifier-3": zero$$trust$$gateway_identifier$$3, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-7", $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_app-types": zero_trust_gateway_app_types_output, - "zero-trust-gateway_app_id": zero_trust_gateway_app_id_output, - "zero-trust-gateway_app_type_id": zero_trust_gateway_app_type_id_output, - "zero-trust-gateway_application": zero_trust_gateway_application_output, - "zero-trust-gateway_application_type": zero_trust_gateway_application_type_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-4": zero_trust_gateway_name_4_output, - "zero-trust-gateway_response_collection-7": zero_trust_gateway_response_collection_7_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_app-types": zero$$trust$$gateway_app$$types, + "zero-trust-gateway_app_id": zero$$trust$$gateway_app_id, + "zero-trust-gateway_app_type_id": zero$$trust$$gateway_app_type_id, + "zero-trust-gateway_application": zero$$trust$$gateway_application, + "zero-trust-gateway_application_type": zero$$trust$$gateway_application_type, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-4": zero$$trust$$gateway_name$$4, + "zero-trust-gateway_response_collection-7": zero$$trust$$gateway_response_collection$$7, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, }, }, annotations: { @@ -95,19 +103,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_app-types": zero_trust_gateway_app_types_output, - "zero-trust-gateway_app_id": zero_trust_gateway_app_id_output, - "zero-trust-gateway_app_type_id": zero_trust_gateway_app_type_id_output, - "zero-trust-gateway_application": zero_trust_gateway_application_output, - "zero-trust-gateway_application_type": zero_trust_gateway_application_type_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-4": zero_trust_gateway_name_4_output, - "zero-trust-gateway_response_collection-7": zero_trust_gateway_response_collection_7_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_app-types": zero$$trust$$gateway_app$$types, + "zero-trust-gateway_app_id": zero$$trust$$gateway_app_id, + "zero-trust-gateway_app_type_id": zero$$trust$$gateway_app_type_id, + "zero-trust-gateway_application": zero$$trust$$gateway_application, + "zero-trust-gateway_application_type": zero$$trust$$gateway_application_type, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-4": zero$$trust$$gateway_name$$4, + "zero-trust-gateway_response_collection-7": zero$$trust$$gateway_response_collection$$7, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts index 898dc89b2..85bfa405a 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_beta` in responses. */ -export const zero_trust_gateway_beta_output: JsonSchema = { +export const zero$$trust$$gateway_beta: JsonSchema = { "type": "boolean" }; /** * The schema of `zero-trust-gateway_categories` in responses. */ -export const zero_trust_gateway_categories_output: JsonSchema = { +export const zero$$trust$$gateway_categories: JsonSchema = { "properties": { "beta": { "$ref": "#/$defs/zero-trust-gateway_beta" @@ -43,7 +43,7 @@ export const zero_trust_gateway_categories_output: JsonSchema = { /** * The schema of `zero-trust-gateway_class` in responses. */ -export const zero_trust_gateway_class_output: JsonSchema = { +export const zero$$trust$$gateway_class: JsonSchema = { "enum": [ "free", "premium", @@ -57,28 +57,28 @@ export const zero_trust_gateway_class_output: JsonSchema = { /** * The schema of `zero-trust-gateway_description-3` in responses. */ -export const zero_trust_gateway_description_3_output: JsonSchema = { +export const zero$$trust$$gateway_description$$3: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_id` in responses. */ -export const zero_trust_gateway_id_output: JsonSchema = { +export const zero$$trust$$gateway_id: JsonSchema = { "type": "integer" }; /** * The schema of `zero-trust-gateway_name-5` in responses. */ -export const zero_trust_gateway_name_5_output: JsonSchema = { +export const zero$$trust$$gateway_name$$5: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_response_collection-8` in responses. */ -export const zero_trust_gateway_response_collection_8_output: JsonSchema = { +export const zero$$trust$$gateway_response_collection$$8: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" @@ -100,7 +100,7 @@ export const zero_trust_gateway_response_collection_8_output: JsonSchema = { /** * The schema of `zero-trust-gateway_subcategory` in responses. */ -export const zero_trust_gateway_subcategory_output: JsonSchema = { +export const zero$$trust$$gateway_subcategory: JsonSchema = { "properties": { "beta": { "$ref": "#/$defs/zero-trust-gateway_beta" diff --git a/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts index f69eb7145..66d849c19 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts @@ -3,64 +3,72 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_messages_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_messages, } from "../../outputs.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_result_info_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_result_info, } from "../outputs.js"; -import { zero_trust_gateway_identifier_3 } from "../schemas.js"; +import { zero$$trust$$gateway_identifier$$3 } from "../schemas.js"; import { - zero_trust_gateway_beta_output, - zero_trust_gateway_categories_output, - zero_trust_gateway_class_output, - zero_trust_gateway_description_3_output, - zero_trust_gateway_id_output, - zero_trust_gateway_name_5_output, - zero_trust_gateway_response_collection_8_output, - zero_trust_gateway_subcategory_output, + zero$$trust$$gateway_beta, + zero$$trust$$gateway_categories, + zero$$trust$$gateway_class, + zero$$trust$$gateway_description$$3, + zero$$trust$$gateway_id, + zero$$trust$$gateway_name$$5, + zero$$trust$$gateway_response_collection$$8, + zero$$trust$$gateway_subcategory, } from "./outputs.js"; /** - * The tools of `zero_trust.gateway.categories`. + * The tools of `zeroTrust.gateway.categories`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_categories_list", + name: "zeroTrust_gateway_categories_list", title: "List categories", description: "List all categories.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-3", - "description": "Provide the identifier string." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-3", + "description": "Provide the identifier string." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-3": zero_trust_gateway_identifier_3, + "zero-trust-gateway_identifier-3": zero$$trust$$gateway_identifier$$3, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-8", $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_beta": zero_trust_gateway_beta_output, - "zero-trust-gateway_categories": zero_trust_gateway_categories_output, - "zero-trust-gateway_class": zero_trust_gateway_class_output, - "zero-trust-gateway_description-3": zero_trust_gateway_description_3_output, - "zero-trust-gateway_id": zero_trust_gateway_id_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-5": zero_trust_gateway_name_5_output, - "zero-trust-gateway_response_collection-8": zero_trust_gateway_response_collection_8_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_subcategory": zero_trust_gateway_subcategory_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_beta": zero$$trust$$gateway_beta, + "zero-trust-gateway_categories": zero$$trust$$gateway_categories, + "zero-trust-gateway_class": zero$$trust$$gateway_class, + "zero-trust-gateway_description-3": zero$$trust$$gateway_description$$3, + "zero-trust-gateway_id": zero$$trust$$gateway_id, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-5": zero$$trust$$gateway_name$$5, + "zero-trust-gateway_response_collection-8": zero$$trust$$gateway_response_collection$$8, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_subcategory": zero$$trust$$gateway_subcategory, }, }, annotations: { @@ -95,19 +103,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_beta": zero_trust_gateway_beta_output, - "zero-trust-gateway_categories": zero_trust_gateway_categories_output, - "zero-trust-gateway_class": zero_trust_gateway_class_output, - "zero-trust-gateway_description-3": zero_trust_gateway_description_3_output, - "zero-trust-gateway_id": zero_trust_gateway_id_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-5": zero_trust_gateway_name_5_output, - "zero-trust-gateway_response_collection-8": zero_trust_gateway_response_collection_8_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_subcategory": zero_trust_gateway_subcategory_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_beta": zero$$trust$$gateway_beta, + "zero-trust-gateway_categories": zero$$trust$$gateway_categories, + "zero-trust-gateway_class": zero$$trust$$gateway_class, + "zero-trust-gateway_description-3": zero$$trust$$gateway_description$$3, + "zero-trust-gateway_id": zero$$trust$$gateway_id, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-5": zero$$trust$$gateway_name$$5, + "zero-trust-gateway_response_collection-8": zero$$trust$$gateway_response_collection$$8, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_subcategory": zero$$trust$$gateway_subcategory, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts index 17ffe2eb3..a587876c1 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_binding_status` in responses. */ -export const zero_trust_gateway_binding_status_output: JsonSchema = { +export const zero$$trust$$gateway_binding_status: JsonSchema = { "enum": [ "pending_deployment", "available", @@ -19,7 +19,7 @@ export const zero_trust_gateway_binding_status_output: JsonSchema = { /** * The schema of `zero-trust-gateway_certificates` in responses. */ -export const zero_trust_gateway_certificates_output: JsonSchema = { +export const zero$$trust$$gateway_certificates: JsonSchema = { "properties": { "binding_status": { "$ref": "#/$defs/zero-trust-gateway_binding_status" @@ -67,14 +67,14 @@ export const zero_trust_gateway_certificates_output: JsonSchema = { /** * The schema of `zero-trust-gateway_region` in responses. */ -export const zero_trust_gateway_region_output: JsonSchema = { +export const zero$$trust$$gateway_region: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_response_collection` in responses. */ -export const zero_trust_gateway_response_collection_output: JsonSchema = { +export const zero$$trust$$gateway_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" @@ -96,7 +96,7 @@ export const zero_trust_gateway_response_collection_output: JsonSchema = { /** * The schema of `zero-trust-gateway_single_response` in responses. */ -export const zero_trust_gateway_single_response_output: JsonSchema = { +export const zero$$trust$$gateway_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -115,7 +115,7 @@ export const zero_trust_gateway_single_response_output: JsonSchema = { /** * The schema of `zero-trust-gateway_type` in responses. */ -export const zero_trust_gateway_type_output: JsonSchema = { +export const zero$$trust$$gateway_type: JsonSchema = { "enum": [ "custom", "gateway_managed" @@ -126,6 +126,6 @@ export const zero_trust_gateway_type_output: JsonSchema = { /** * The schema of `zero-trust-gateway_uuid` in responses. */ -export const zero_trust_gateway_uuid_output: JsonSchema = { +export const zero$$trust$$gateway_uuid: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/certificates/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/certificates/schemas.ts index 0e383b3aa..aaf8ff3f6 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/certificates/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/certificates/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_generate-cert-request`. */ -export const zero_trust_gateway_generate_cert_request: JsonSchema = { +export const zero$$trust$$gateway_generate$$cert$$request: JsonSchema = { "properties": { "validity_period_days": { "description": "Sets the certificate validity period in days (range: 1-10,950 days / ~30 years). Defaults to 1,825 days (5 years). **Important**: This field is only settable during the certificate creation. Certificates becomes immutable after creation - use the `/activate` and `/deactivate` endpoints to manage certificate lifecycle.", @@ -19,7 +19,7 @@ export const zero_trust_gateway_generate_cert_request: JsonSchema = { /** * The schema of `zero-trust-gateway_uuid`. */ -export const zero_trust_gateway_uuid: JsonSchema = { +export const zero$$trust$$gateway_uuid: JsonSchema = { "description": "Identify the certificate with a UUID.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts index d76890a95..31c8799a7 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts @@ -3,72 +3,80 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, - zero_trust_gateway_read_only_timestamp_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, + zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero_trust_gateway_identifier_2 } from "../../schemas.js"; +import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_result_info_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_result_info, } from "../outputs.js"; import { - zero_trust_gateway_binding_status_output, - zero_trust_gateway_certificates_output, - zero_trust_gateway_region_output, - zero_trust_gateway_response_collection_output, - zero_trust_gateway_single_response_output, - zero_trust_gateway_type_output, - zero_trust_gateway_uuid_output, + zero$$trust$$gateway_binding_status, + zero$$trust$$gateway_certificates, + zero$$trust$$gateway_region, + zero$$trust$$gateway_response_collection, + zero$$trust$$gateway_single_response, + zero$$trust$$gateway_type, + zero$$trust$$gateway_uuid, } from "./outputs.js"; import { - zero_trust_gateway_generate_cert_request, - zero_trust_gateway_uuid, + zero$$trust$$gateway_generate$$cert$$request, + zero$$trust$$gateway_uuid as zero$$trust$$gateway_uuid$, } from "./schemas.js"; /** - * The tools of `zero_trust.gateway.certificates`. + * The tools of `zeroTrust.gateway.certificates`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_certificates_activate", + name: "zeroTrust_gateway_certificates_activate", title: "Activate a Zero Trust certificate", description: "Bind a single Zero Trust certificate to the edge.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "certificate_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid", - "description": "Identify the certificate with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "certificate_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid", + "description": "Identify the certificate with a UUID." + } + }, + "required": [ + "account_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "account_id", - "certificate_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -97,16 +105,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -114,40 +122,48 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_certificates_create", + name: "zeroTrust_gateway_certificates_create", title: "Create Zero Trust certificate", description: "Create a new Zero Trust certificate.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "$ref": "#/$defs/zero-trust-gateway_generate-cert-request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_generate-cert-request": zero_trust_gateway_generate_cert_request, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, + "zero-trust-gateway_generate-cert-request": zero$$trust$$gateway_generate$$cert$$request, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -176,16 +192,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -194,42 +210,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_certificates_deactivate", + name: "zeroTrust_gateway_certificates_deactivate", title: "Deactivate a Zero Trust certificate", description: "Unbind a single Zero Trust certificate from the edge.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "certificate_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid", - "description": "Identify the certificate with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "certificate_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid", + "description": "Identify the certificate with a UUID." + } + }, + "required": [ + "account_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "account_id", - "certificate_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -258,16 +282,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -275,42 +299,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_certificates_delete", + name: "zeroTrust_gateway_certificates_delete", title: "Delete Zero Trust certificate", description: "Delete a gateway-managed Zero Trust certificate. You must deactivate the certificate from the edge (inactive) before deleting it.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "certificate_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid", - "description": "Identify the certificate with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "certificate_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid", + "description": "Identify the certificate with a UUID." + } + }, + "required": [ + "account_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "account_id", - "certificate_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -339,16 +371,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -356,42 +388,50 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_certificates_get", + name: "zeroTrust_gateway_certificates_get", title: "Get Zero Trust certificate details", description: "Get a single Zero Trust certificate.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "certificate_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid", - "description": "Identify the certificate with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "certificate_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid", + "description": "Identify the certificate with a UUID." + } + }, + "required": [ + "account_id", + "certificate_id" + ], + "type": "object" } }, required: [ - "account_id", - "certificate_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -420,16 +460,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_single_response": zero_trust_gateway_single_response_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -437,38 +477,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_certificates_list", + name: "zeroTrust_gateway_certificates_list", title: "List Zero Trust certificates", description: "List all Zero Trust certificates for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection", $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_response_collection": zero_trust_gateway_response_collection_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_response_collection": zero$$trust$$gateway_response_collection, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -497,18 +545,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_binding_status": zero_trust_gateway_binding_status_output, - "zero-trust-gateway_certificates": zero_trust_gateway_certificates_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_region": zero_trust_gateway_region_output, - "zero-trust-gateway_response_collection": zero_trust_gateway_response_collection_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_type": zero_trust_gateway_type_output, - "zero-trust-gateway_uuid": zero_trust_gateway_uuid_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, + "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_region": zero$$trust$$gateway_region, + "zero-trust-gateway_response_collection": zero$$trust$$gateway_response_collection, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_type": zero$$trust$$gateway_type, + "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts index 1cf36c6f4..07bea6f9c 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_activity-log-settings` in responses. */ -export const zero_trust_gateway_activity_log_settings_output: JsonSchema = { +export const zero$$trust$$gateway_activity$$log$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -32,7 +32,7 @@ export const zero_trust_gateway_activity_log_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_anti-virus-settings` in responses. */ -export const zero_trust_gateway_anti_virus_settings_output: JsonSchema = { +export const zero$$trust$$gateway_anti$$virus$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -60,7 +60,7 @@ export const zero_trust_gateway_anti_virus_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_block-page-settings` in responses. */ -export const zero_trust_gateway_block_page_settings_output: JsonSchema = { +export const zero$$trust$$gateway_block$$page$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -154,7 +154,7 @@ export const zero_trust_gateway_block_page_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_body-scanning-settings` in responses. */ -export const zero_trust_gateway_body_scanning_settings_output: JsonSchema = { +export const zero$$trust$$gateway_body$$scanning$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -177,7 +177,7 @@ export const zero_trust_gateway_body_scanning_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_browser-isolation-settings` in responses. */ -export const zero_trust_gateway_browser_isolation_settings_output: JsonSchema = { +export const zero$$trust$$gateway_browser$$isolation$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -199,7 +199,7 @@ export const zero_trust_gateway_browser_isolation_settings_output: JsonSchema = /** * The schema of `zero-trust-gateway_certificate-settings` in responses. */ -export const zero_trust_gateway_certificate_settings_output: JsonSchema = { +export const zero$$trust$$gateway_certificate$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -221,7 +221,7 @@ export const zero_trust_gateway_certificate_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_custom-certificate-settings` in responses. */ -export const zero_trust_gateway_custom_certificate_settings_output: JsonSchema = { +export const zero$$trust$$gateway_custom$$certificate$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -260,7 +260,7 @@ export const zero_trust_gateway_custom_certificate_settings_output: JsonSchema = /** * The schema of `zero-trust-gateway_enabled_download_phase` in responses. */ -export const zero_trust_gateway_enabled_download_phase_output: JsonSchema = { +export const zero$$trust$$gateway_enabled_download_phase: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -274,7 +274,7 @@ export const zero_trust_gateway_enabled_download_phase_output: JsonSchema = { /** * The schema of `zero-trust-gateway_enabled_upload_phase` in responses. */ -export const zero_trust_gateway_enabled_upload_phase_output: JsonSchema = { +export const zero$$trust$$gateway_enabled_upload_phase: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -288,7 +288,7 @@ export const zero_trust_gateway_enabled_upload_phase_output: JsonSchema = { /** * The schema of `zero-trust-gateway_extended-email-matching` in responses. */ -export const zero_trust_gateway_extended_email_matching_output: JsonSchema = { +export const zero$$trust$$gateway_extended$$email$$matching: JsonSchema = { "oneOf": [ { "properties": { @@ -323,7 +323,7 @@ export const zero_trust_gateway_extended_email_matching_output: JsonSchema = { /** * The schema of `zero-trust-gateway_fail_closed` in responses. */ -export const zero_trust_gateway_fail_closed_output: JsonSchema = { +export const zero$$trust$$gateway_fail_closed: JsonSchema = { "oneOf": [ { "type": "boolean" @@ -337,7 +337,7 @@ export const zero_trust_gateway_fail_closed_output: JsonSchema = { /** * The schema of `zero-trust-gateway_fips-settings` in responses. */ -export const zero_trust_gateway_fips_settings_output: JsonSchema = { +export const zero$$trust$$gateway_fips$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -356,7 +356,7 @@ export const zero_trust_gateway_fips_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_gateway-account-settings` in responses. */ -export const zero_trust_gateway_gateway_account_settings_output: JsonSchema = { +export const zero$$trust$$gateway_gateway$$account$$settings: JsonSchema = { "properties": { "settings": { "properties": { @@ -415,7 +415,7 @@ export const zero_trust_gateway_gateway_account_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_gateway_account_config` in responses. */ -export const zero_trust_gateway_gateway_account_config_output: JsonSchema = { +export const zero$$trust$$gateway_gateway_account_config: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -449,7 +449,7 @@ export const zero_trust_gateway_gateway_account_config_output: JsonSchema = { /** * The schema of `zero-trust-gateway_host-selector-settings` in responses. */ -export const zero_trust_gateway_host_selector_settings_output: JsonSchema = { +export const zero$$trust$$gateway_host$$selector$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -475,7 +475,7 @@ export const zero_trust_gateway_host_selector_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_inspection-settings` in responses. */ -export const zero_trust_gateway_inspection_settings_output: JsonSchema = { +export const zero$$trust$$gateway_inspection$$settings: JsonSchema = { "oneOf": [ { "properties": { @@ -498,7 +498,7 @@ export const zero_trust_gateway_inspection_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_max-ttl-secs` in responses. */ -export const zero_trust_gateway_max_ttl_secs_output: JsonSchema = { +export const zero$$trust$$gateway_max$$ttl$$secs: JsonSchema = { "oneOf": [ { "type": "integer" @@ -512,7 +512,7 @@ export const zero_trust_gateway_max_ttl_secs_output: JsonSchema = { /** * The schema of `zero-trust-gateway_notification_settings` in responses. */ -export const zero_trust_gateway_notification_settings_output: JsonSchema = { +export const zero$$trust$$gateway_notification_settings: JsonSchema = { "oneOf": [ { "properties": { @@ -540,7 +540,7 @@ export const zero_trust_gateway_notification_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_protocol-detection` in responses. */ -export const zero_trust_gateway_protocol_detection_output: JsonSchema = { +export const zero$$trust$$gateway_protocol$$detection: JsonSchema = { "oneOf": [ { "properties": { @@ -566,7 +566,7 @@ export const zero_trust_gateway_protocol_detection_output: JsonSchema = { /** * The schema of `zero-trust-gateway_sandbox` in responses. */ -export const zero_trust_gateway_sandbox_output: JsonSchema = { +export const zero$$trust$$gateway_sandbox: JsonSchema = { "oneOf": [ { "properties": { @@ -599,7 +599,7 @@ export const zero_trust_gateway_sandbox_output: JsonSchema = { /** * The schema of `zero-trust-gateway_tls-settings` in responses. */ -export const zero_trust_gateway_tls_settings_output: JsonSchema = { +export const zero$$trust$$gateway_tls$$settings: JsonSchema = { "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/zeroTrust/gateway/configurations/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/configurations/schemas.ts index ef238e68e..e03655769 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/configurations/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/configurations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_activity-log-settings`. */ -export const zero_trust_gateway_activity_log_settings: JsonSchema = { +export const zero$$trust$$gateway_activity$$log$$settings: JsonSchema = { "description": "Specify activity log settings.", "oneOf": [ { @@ -34,7 +34,7 @@ export const zero_trust_gateway_activity_log_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_anti-virus-settings`. */ -export const zero_trust_gateway_anti_virus_settings: JsonSchema = { +export const zero$$trust$$gateway_anti$$virus$$settings: JsonSchema = { "description": "Specify anti-virus settings.", "oneOf": [ { @@ -67,7 +67,7 @@ export const zero_trust_gateway_anti_virus_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_block-page-settings`. */ -export const zero_trust_gateway_block_page_settings: JsonSchema = { +export const zero$$trust$$gateway_block$$page$$settings: JsonSchema = { "description": "Specify block page layout settings.", "oneOf": [ { @@ -145,7 +145,7 @@ export const zero_trust_gateway_block_page_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_body-scanning-settings`. */ -export const zero_trust_gateway_body_scanning_settings: JsonSchema = { +export const zero$$trust$$gateway_body$$scanning$$settings: JsonSchema = { "description": "Specify the DLP inspection mode.", "oneOf": [ { @@ -170,7 +170,7 @@ export const zero_trust_gateway_body_scanning_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_browser-isolation-settings`. */ -export const zero_trust_gateway_browser_isolation_settings: JsonSchema = { +export const zero$$trust$$gateway_browser$$isolation$$settings: JsonSchema = { "description": "Specify Clientless Browser Isolation settings.", "oneOf": [ { @@ -195,7 +195,7 @@ export const zero_trust_gateway_browser_isolation_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_certificate-settings`. */ -export const zero_trust_gateway_certificate_settings: JsonSchema = { +export const zero$$trust$$gateway_certificate$$settings: JsonSchema = { "description": "Specify certificate settings for Gateway TLS interception. If unset, the Cloudflare Root CA handles interception.", "oneOf": [ { @@ -219,7 +219,7 @@ export const zero_trust_gateway_certificate_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_custom-certificate-settings`. */ -export const zero_trust_gateway_custom_certificate_settings: JsonSchema = { +export const zero$$trust$$gateway_custom$$certificate$$settings: JsonSchema = { "deprecated": true, "description": "Specify custom certificate settings for BYO-PKI. This field is deprecated; use `certificate` instead.", "oneOf": [ @@ -255,7 +255,7 @@ export const zero_trust_gateway_custom_certificate_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_enabled_download_phase`. */ -export const zero_trust_gateway_enabled_download_phase: JsonSchema = { +export const zero$$trust$$gateway_enabled_download_phase: JsonSchema = { "description": "Specify whether to enable anti-virus scanning on downloads.", "oneOf": [ { @@ -270,7 +270,7 @@ export const zero_trust_gateway_enabled_download_phase: JsonSchema = { /** * The schema of `zero-trust-gateway_enabled_upload_phase`. */ -export const zero_trust_gateway_enabled_upload_phase: JsonSchema = { +export const zero$$trust$$gateway_enabled_upload_phase: JsonSchema = { "description": "Specify whether to enable anti-virus scanning on uploads.", "oneOf": [ { @@ -285,7 +285,7 @@ export const zero_trust_gateway_enabled_upload_phase: JsonSchema = { /** * The schema of `zero-trust-gateway_extended-email-matching`. */ -export const zero_trust_gateway_extended_email_matching: JsonSchema = { +export const zero$$trust$$gateway_extended$$email$$matching: JsonSchema = { "description": "Configures user email settings for firewall policies. When you enable this, the system standardizes email addresses in the identity portion of the rule to match extended email variants in firewall policies. When you disable this setting, the system matches email addresses exactly as you provide them. Enable this setting if your email uses `.` or `+` modifiers.", "oneOf": [ { @@ -313,7 +313,7 @@ export const zero_trust_gateway_extended_email_matching: JsonSchema = { /** * The schema of `zero-trust-gateway_fail_closed`. */ -export const zero_trust_gateway_fail_closed: JsonSchema = { +export const zero$$trust$$gateway_fail_closed: JsonSchema = { "description": "Specify whether to block requests for unscannable files.", "oneOf": [ { @@ -328,7 +328,7 @@ export const zero_trust_gateway_fail_closed: JsonSchema = { /** * The schema of `zero-trust-gateway_fips-settings`. */ -export const zero_trust_gateway_fips_settings: JsonSchema = { +export const zero$$trust$$gateway_fips$$settings: JsonSchema = { "description": "Specify FIPS settings.", "oneOf": [ { @@ -349,7 +349,7 @@ export const zero_trust_gateway_fips_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_gateway-account-settings`. */ -export const zero_trust_gateway_gateway_account_settings: JsonSchema = { +export const zero$$trust$$gateway_gateway$$account$$settings: JsonSchema = { "description": "Specify account settings.", "properties": { "settings": { @@ -425,7 +425,7 @@ export const zero_trust_gateway_gateway_account_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_host-selector-settings`. */ -export const zero_trust_gateway_host_selector_settings: JsonSchema = { +export const zero$$trust$$gateway_host$$selector$$settings: JsonSchema = { "description": "Enable host selection in egress policies.", "oneOf": [ { @@ -453,7 +453,7 @@ export const zero_trust_gateway_host_selector_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_inspection-settings`. */ -export const zero_trust_gateway_inspection_settings: JsonSchema = { +export const zero$$trust$$gateway_inspection$$settings: JsonSchema = { "description": "Define the proxy inspection mode.", "oneOf": [ { @@ -478,7 +478,7 @@ export const zero_trust_gateway_inspection_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_max-ttl-secs`. */ -export const zero_trust_gateway_max_ttl_secs: JsonSchema = { +export const zero$$trust$$gateway_max$$ttl$$secs: JsonSchema = { "description": "Account-level cap on DNS response TTLs, in seconds. Gateway rewrites DNS responses so returned record TTLs do not exceed this value. Null means no cap. Each DNS location can inherit, override, or disable it through the location `max_ttl` setting.", "oneOf": [ { @@ -493,7 +493,7 @@ export const zero_trust_gateway_max_ttl_secs: JsonSchema = { /** * The schema of `zero-trust-gateway_notification_settings`. */ -export const zero_trust_gateway_notification_settings: JsonSchema = { +export const zero$$trust$$gateway_notification_settings: JsonSchema = { "description": "Configure the message the user's device shows during an antivirus scan.", "oneOf": [ { @@ -526,7 +526,7 @@ export const zero_trust_gateway_notification_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_protocol-detection`. */ -export const zero_trust_gateway_protocol_detection: JsonSchema = { +export const zero$$trust$$gateway_protocol$$detection: JsonSchema = { "description": "Specify whether to detect protocols from the initial bytes of client traffic.", "oneOf": [ { @@ -554,7 +554,7 @@ export const zero_trust_gateway_protocol_detection: JsonSchema = { /** * The schema of `zero-trust-gateway_sandbox`. */ -export const zero_trust_gateway_sandbox: JsonSchema = { +export const zero$$trust$$gateway_sandbox: JsonSchema = { "description": "Specify whether to enable the sandbox.", "oneOf": [ { @@ -590,7 +590,7 @@ export const zero_trust_gateway_sandbox: JsonSchema = { /** * The schema of `zero-trust-gateway_tls-settings`. */ -export const zero_trust_gateway_tls_settings: JsonSchema = { +export const zero$$trust$$gateway_tls$$settings: JsonSchema = { "description": "Specify whether to inspect encrypted HTTP traffic.", "oneOf": [ { diff --git a/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts index 8ee6654f1..e5883e1c1 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts @@ -3,132 +3,140 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, - zero_trust_gateway_read_only_timestamp_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, + zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero_trust_gateway_identifier } from "../schemas.js"; +import { zero$$trust$$gateway_identifier } from "../schemas.js"; import { - zero_trust_gateway_activity_log_settings_output, - zero_trust_gateway_anti_virus_settings_output, - zero_trust_gateway_block_page_settings_output, - zero_trust_gateway_body_scanning_settings_output, - zero_trust_gateway_browser_isolation_settings_output, - zero_trust_gateway_certificate_settings_output, - zero_trust_gateway_custom_certificate_settings_output, - zero_trust_gateway_enabled_download_phase_output, - zero_trust_gateway_enabled_upload_phase_output, - zero_trust_gateway_extended_email_matching_output, - zero_trust_gateway_fail_closed_output, - zero_trust_gateway_fips_settings_output, - zero_trust_gateway_gateway_account_config_output, - zero_trust_gateway_gateway_account_settings_output, - zero_trust_gateway_host_selector_settings_output, - zero_trust_gateway_inspection_settings_output, - zero_trust_gateway_max_ttl_secs_output, - zero_trust_gateway_notification_settings_output, - zero_trust_gateway_protocol_detection_output, - zero_trust_gateway_sandbox_output, - zero_trust_gateway_tls_settings_output, + zero$$trust$$gateway_activity$$log$$settings, + zero$$trust$$gateway_anti$$virus$$settings, + zero$$trust$$gateway_block$$page$$settings, + zero$$trust$$gateway_body$$scanning$$settings, + zero$$trust$$gateway_browser$$isolation$$settings, + zero$$trust$$gateway_certificate$$settings, + zero$$trust$$gateway_custom$$certificate$$settings, + zero$$trust$$gateway_enabled_download_phase, + zero$$trust$$gateway_enabled_upload_phase, + zero$$trust$$gateway_extended$$email$$matching, + zero$$trust$$gateway_fail_closed, + zero$$trust$$gateway_fips$$settings, + zero$$trust$$gateway_gateway$$account$$settings, + zero$$trust$$gateway_gateway_account_config, + zero$$trust$$gateway_host$$selector$$settings, + zero$$trust$$gateway_inspection$$settings, + zero$$trust$$gateway_max$$ttl$$secs, + zero$$trust$$gateway_notification_settings, + zero$$trust$$gateway_protocol$$detection, + zero$$trust$$gateway_sandbox, + zero$$trust$$gateway_tls$$settings, } from "./outputs.js"; import { - zero_trust_gateway_activity_log_settings, - zero_trust_gateway_anti_virus_settings, - zero_trust_gateway_block_page_settings, - zero_trust_gateway_body_scanning_settings, - zero_trust_gateway_browser_isolation_settings, - zero_trust_gateway_certificate_settings, - zero_trust_gateway_custom_certificate_settings, - zero_trust_gateway_enabled_download_phase, - zero_trust_gateway_enabled_upload_phase, - zero_trust_gateway_extended_email_matching, - zero_trust_gateway_fail_closed, - zero_trust_gateway_fips_settings, - zero_trust_gateway_gateway_account_settings, - zero_trust_gateway_host_selector_settings, - zero_trust_gateway_inspection_settings, - zero_trust_gateway_max_ttl_secs, - zero_trust_gateway_notification_settings, - zero_trust_gateway_protocol_detection, - zero_trust_gateway_sandbox, - zero_trust_gateway_tls_settings, + zero$$trust$$gateway_activity$$log$$settings as zero$$trust$$gateway_activity$$log$$settings$, + zero$$trust$$gateway_anti$$virus$$settings as zero$$trust$$gateway_anti$$virus$$settings$, + zero$$trust$$gateway_block$$page$$settings as zero$$trust$$gateway_block$$page$$settings$, + zero$$trust$$gateway_body$$scanning$$settings as zero$$trust$$gateway_body$$scanning$$settings$, + zero$$trust$$gateway_browser$$isolation$$settings as zero$$trust$$gateway_browser$$isolation$$settings$, + zero$$trust$$gateway_certificate$$settings as zero$$trust$$gateway_certificate$$settings$, + zero$$trust$$gateway_custom$$certificate$$settings as zero$$trust$$gateway_custom$$certificate$$settings$, + zero$$trust$$gateway_enabled_download_phase as zero$$trust$$gateway_enabled_download_phase$, + zero$$trust$$gateway_enabled_upload_phase as zero$$trust$$gateway_enabled_upload_phase$, + zero$$trust$$gateway_extended$$email$$matching as zero$$trust$$gateway_extended$$email$$matching$, + zero$$trust$$gateway_fail_closed as zero$$trust$$gateway_fail_closed$, + zero$$trust$$gateway_fips$$settings as zero$$trust$$gateway_fips$$settings$, + zero$$trust$$gateway_gateway$$account$$settings as zero$$trust$$gateway_gateway$$account$$settings$, + zero$$trust$$gateway_host$$selector$$settings as zero$$trust$$gateway_host$$selector$$settings$, + zero$$trust$$gateway_inspection$$settings as zero$$trust$$gateway_inspection$$settings$, + zero$$trust$$gateway_max$$ttl$$secs as zero$$trust$$gateway_max$$ttl$$secs$, + zero$$trust$$gateway_notification_settings as zero$$trust$$gateway_notification_settings$, + zero$$trust$$gateway_protocol$$detection as zero$$trust$$gateway_protocol$$detection$, + zero$$trust$$gateway_sandbox as zero$$trust$$gateway_sandbox$, + zero$$trust$$gateway_tls$$settings as zero$$trust$$gateway_tls$$settings$, } from "./schemas.js"; /** - * The tools of `zero_trust.gateway.configurations`. + * The tools of `zeroTrust.gateway.configurations`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_configurations_edit", + name: "zeroTrust_gateway_configurations_edit", title: "Patch Zero Trust account configuration", description: "Update (PATCH) a single subcollection of settings such as `antivirus`, `tls_decrypt`, `activity_log`, `block_page`, `browser_isolation`, `fips`, `body_scanning`, `certificate`, or `max_ttl_secs` without updating the entire configuration object. This endpoint returns an error if any settings collection lacks proper configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." - }, "body": { "$ref": "#/$defs/zero-trust-gateway_gateway-account-settings" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings, - "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings, - "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings, - "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings, - "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings, - "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings, - "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings, - "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase, - "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase, - "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching, - "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed, - "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings, - "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings, - "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings, - "zero-trust-gateway_identifier": zero_trust_gateway_identifier, - "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings, - "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs, - "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings, - "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection, - "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox, - "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings, + "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings$, + "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings$, + "zero-trust-gateway_block-page-settings": zero$$trust$$gateway_block$$page$$settings$, + "zero-trust-gateway_body-scanning-settings": zero$$trust$$gateway_body$$scanning$$settings$, + "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings$, + "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings$, + "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings$, + "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase$, + "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase$, + "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching$, + "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed$, + "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings$, + "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings$, + "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings$, + "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, + "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings$, + "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs$, + "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings$, + "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection$, + "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox$, + "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway_account_config", $defs: { - "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings_output, - "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings_output, - "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings_output, - "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings_output, - "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings_output, - "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings_output, - "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase_output, - "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase_output, - "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching_output, - "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed_output, - "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings_output, - "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings_output, - "zero-trust-gateway_gateway_account_config": zero_trust_gateway_gateway_account_config_output, - "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings_output, - "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings_output, - "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings_output, - "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox_output, - "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings_output, + "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings, + "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_block-page-settings": zero$$trust$$gateway_block$$page$$settings, + "zero-trust-gateway_body-scanning-settings": zero$$trust$$gateway_body$$scanning$$settings, + "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, + "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, + "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, + "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, + "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, + "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, + "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, + "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, + "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, + "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, + "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, + "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, + "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, + "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, + "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, }, annotations: { @@ -157,31 +165,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings_output, - "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings_output, - "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings_output, - "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings_output, - "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings_output, - "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings_output, - "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase_output, - "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase_output, - "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching_output, - "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed_output, - "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings_output, - "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings_output, - "zero-trust-gateway_gateway_account_config": zero_trust_gateway_gateway_account_config_output, - "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings_output, - "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings_output, - "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings_output, - "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox_output, - "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings_output, + "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings, + "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_block-page-settings": zero$$trust$$gateway_block$$page$$settings, + "zero-trust-gateway_body-scanning-settings": zero$$trust$$gateway_body$$scanning$$settings, + "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, + "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, + "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, + "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, + "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, + "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, + "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, + "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, + "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, + "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, + "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, + "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, + "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, + "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, + "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, }, request: (args) => ({ @@ -190,51 +198,59 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_configurations_get", + name: "zeroTrust_gateway_configurations_get", title: "Get Zero Trust account configuration", description: "Retrieve the current Zero Trust account configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier": zero_trust_gateway_identifier, + "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway_account_config", $defs: { - "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings_output, - "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings_output, - "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings_output, - "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings_output, - "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings_output, - "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings_output, - "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase_output, - "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase_output, - "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching_output, - "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed_output, - "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings_output, - "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings_output, - "zero-trust-gateway_gateway_account_config": zero_trust_gateway_gateway_account_config_output, - "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings_output, - "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings_output, - "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings_output, - "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox_output, - "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings_output, + "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings, + "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_block-page-settings": zero$$trust$$gateway_block$$page$$settings, + "zero-trust-gateway_body-scanning-settings": zero$$trust$$gateway_body$$scanning$$settings, + "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, + "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, + "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, + "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, + "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, + "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, + "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, + "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, + "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, + "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, + "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, + "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, + "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, + "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, + "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, }, annotations: { @@ -263,31 +279,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings_output, - "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings_output, - "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings_output, - "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings_output, - "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings_output, - "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings_output, - "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase_output, - "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase_output, - "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching_output, - "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed_output, - "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings_output, - "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings_output, - "zero-trust-gateway_gateway_account_config": zero_trust_gateway_gateway_account_config_output, - "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings_output, - "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings_output, - "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings_output, - "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox_output, - "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings_output, + "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings, + "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_block-page-settings": zero$$trust$$gateway_block$$page$$settings, + "zero-trust-gateway_body-scanning-settings": zero$$trust$$gateway_body$$scanning$$settings, + "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, + "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, + "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, + "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, + "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, + "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, + "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, + "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, + "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, + "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, + "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, + "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, + "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, + "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, + "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, }, request: (args) => ({ @@ -295,75 +311,83 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_configurations_update", + name: "zeroTrust_gateway_configurations_update", title: "Update Zero Trust account configuration", description: "Update the current Zero Trust account configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." - }, "body": { "$ref": "#/$defs/zero-trust-gateway_gateway-account-settings" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings, - "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings, - "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings, - "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings, - "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings, - "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings, - "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings, - "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase, - "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase, - "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching, - "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed, - "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings, - "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings, - "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings, - "zero-trust-gateway_identifier": zero_trust_gateway_identifier, - "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings, - "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs, - "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings, - "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection, - "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox, - "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings, + "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings$, + "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings$, + "zero-trust-gateway_block-page-settings": zero$$trust$$gateway_block$$page$$settings$, + "zero-trust-gateway_body-scanning-settings": zero$$trust$$gateway_body$$scanning$$settings$, + "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings$, + "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings$, + "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings$, + "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase$, + "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase$, + "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching$, + "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed$, + "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings$, + "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings$, + "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings$, + "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, + "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings$, + "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs$, + "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings$, + "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection$, + "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox$, + "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway_account_config", $defs: { - "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings_output, - "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings_output, - "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings_output, - "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings_output, - "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings_output, - "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings_output, - "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase_output, - "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase_output, - "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching_output, - "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed_output, - "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings_output, - "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings_output, - "zero-trust-gateway_gateway_account_config": zero_trust_gateway_gateway_account_config_output, - "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings_output, - "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings_output, - "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings_output, - "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox_output, - "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings_output, + "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings, + "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_block-page-settings": zero$$trust$$gateway_block$$page$$settings, + "zero-trust-gateway_body-scanning-settings": zero$$trust$$gateway_body$$scanning$$settings, + "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, + "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, + "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, + "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, + "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, + "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, + "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, + "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, + "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, + "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, + "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, + "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, + "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, + "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, + "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, }, annotations: { @@ -392,31 +416,31 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_activity-log-settings": zero_trust_gateway_activity_log_settings_output, - "zero-trust-gateway_anti-virus-settings": zero_trust_gateway_anti_virus_settings_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_block-page-settings": zero_trust_gateway_block_page_settings_output, - "zero-trust-gateway_body-scanning-settings": zero_trust_gateway_body_scanning_settings_output, - "zero-trust-gateway_browser-isolation-settings": zero_trust_gateway_browser_isolation_settings_output, - "zero-trust-gateway_certificate-settings": zero_trust_gateway_certificate_settings_output, - "zero-trust-gateway_custom-certificate-settings": zero_trust_gateway_custom_certificate_settings_output, - "zero-trust-gateway_enabled_download_phase": zero_trust_gateway_enabled_download_phase_output, - "zero-trust-gateway_enabled_upload_phase": zero_trust_gateway_enabled_upload_phase_output, - "zero-trust-gateway_extended-email-matching": zero_trust_gateway_extended_email_matching_output, - "zero-trust-gateway_fail_closed": zero_trust_gateway_fail_closed_output, - "zero-trust-gateway_fips-settings": zero_trust_gateway_fips_settings_output, - "zero-trust-gateway_gateway-account-settings": zero_trust_gateway_gateway_account_settings_output, - "zero-trust-gateway_gateway_account_config": zero_trust_gateway_gateway_account_config_output, - "zero-trust-gateway_host-selector-settings": zero_trust_gateway_host_selector_settings_output, - "zero-trust-gateway_inspection-settings": zero_trust_gateway_inspection_settings_output, - "zero-trust-gateway_max-ttl-secs": zero_trust_gateway_max_ttl_secs_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_notification_settings": zero_trust_gateway_notification_settings_output, - "zero-trust-gateway_protocol-detection": zero_trust_gateway_protocol_detection_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_sandbox": zero_trust_gateway_sandbox_output, - "zero-trust-gateway_tls-settings": zero_trust_gateway_tls_settings_output, + "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings, + "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_block-page-settings": zero$$trust$$gateway_block$$page$$settings, + "zero-trust-gateway_body-scanning-settings": zero$$trust$$gateway_body$$scanning$$settings, + "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, + "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, + "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, + "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, + "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, + "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, + "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, + "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, + "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, + "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, + "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, + "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, + "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, + "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, + "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/outputs.ts index 6d1157ff0..95d9ac1da 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_dns_destination_ip_pair` in responses. */ -export const zero_trust_gateway_dns_destination_ip_pair_output: JsonSchema = { +export const zero$$trust$$gateway_dns_destination_ip_pair: JsonSchema = { "properties": { "backup_ip": { "type": "string" @@ -38,7 +38,7 @@ export const zero_trust_gateway_dns_destination_ip_pair_output: JsonSchema = { /** * The schema of `zero-trust-gateway_response_collection-2` in responses. */ -export const zero_trust_gateway_response_collection_2_output: JsonSchema = { +export const zero$$trust$$gateway_response_collection$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts index 8de7fdf4c..5f6865a5b 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts @@ -3,52 +3,60 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_messages_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_messages, } from "../../outputs.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_result_info_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_result_info, } from "../outputs.js"; -import { zero_trust_gateway_identifier } from "../schemas.js"; +import { zero$$trust$$gateway_identifier } from "../schemas.js"; import { - zero_trust_gateway_dns_destination_ip_pair_output, - zero_trust_gateway_response_collection_2_output, + zero$$trust$$gateway_dns_destination_ip_pair, + zero$$trust$$gateway_response_collection$$2, } from "./outputs.js"; /** - * The tools of `zero_trust.gateway.dns_destination_ips`. + * The tools of `zeroTrust.gateway.dnsDestinationIps`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_dns_destination_ips_list", + name: "zeroTrust_gateway_dnsDestinationIps_list", title: "List Zero Trust Gateway DNS destination IPv4 address pairs", description: "List Zero Trust Gateway IPv4 address pairs for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier": zero_trust_gateway_identifier, + "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-2", $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_dns_destination_ip_pair": zero_trust_gateway_dns_destination_ip_pair_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_response_collection-2": zero_trust_gateway_response_collection_2_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_dns_destination_ip_pair": zero$$trust$$gateway_dns_destination_ip_pair, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_response_collection-2": zero$$trust$$gateway_response_collection$$2, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, }, }, annotations: { @@ -84,13 +92,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_dns_destination_ip_pair": zero_trust_gateway_dns_destination_ip_pair_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_response_collection-2": zero_trust_gateway_response_collection_2_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_dns_destination_ip_pair": zero$$trust$$gateway_dns_destination_ip_pair, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_response_collection-2": zero$$trust$$gateway_response_collection$$2, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/items/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/outputs.ts index e34af97ed..2e5181dd5 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/items/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/outputs.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * The schema of `zero-trust-gateway_list_item_response_collection` in * responses. */ -export const zero_trust_gateway_list_item_response_collection_output: JsonSchema = { +export const zero$$trust$$gateway_list_item_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts index e0143a967..4ce5c59cb 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts @@ -1,77 +1,90 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_messages_output, - zero_trust_gateway_read_only_timestamp_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_messages, + zero$$trust$$gateway_read_only_timestamp, } from "../../../outputs.js"; -import { zero_trust_gateway_identifier_2 } from "../../../schemas.js"; +import { zero$$trust$$gateway_identifier$$2 } from "../../../schemas.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_result_info_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_result_info, } from "../../outputs.js"; import { - zero_trust_gateway_description_item_output, - zero_trust_gateway_items_output, - zero_trust_gateway_value_output, + zero$$trust$$gateway_description_item, + zero$$trust$$gateway_items, + zero$$trust$$gateway_value, } from "../outputs.js"; -import { zero_trust_gateway_uuid_2 } from "../schemas.js"; -import { zero_trust_gateway_list_item_response_collection_output } from "./outputs.js"; +import { zero$$trust$$gateway_uuid$$2 } from "../schemas.js"; +import { zero$$trust$$gateway_list_item_response_collection } from "./outputs.js"; /** - * The tools of `zero_trust.gateway.lists.items`. + * The tools of `zeroTrust.gateway.lists.items`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_lists_items_list", + name: "zeroTrust_gateway_lists_items_list", title: "Get Zero Trust list items", description: "Fetch all items in a single Zero Trust list.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "list_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-2", + "description": "Identify the API resource with a UUID." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" }, - "per_page": { - "default": 50, - "description": "Number of items per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of items per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "list_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_list_item_response_collection", $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_list_item_response_collection": zero_trust_gateway_list_item_response_collection_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_list_item_response_collection": zero$$trust$$gateway_list_item_response_collection, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -100,23 +113,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_list_item_response_collection": zero_trust_gateway_list_item_response_collection_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_list_item_response_collection": zero$$trust$$gateway_list_item_response_collection, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/lists/${pathParam(args, "list_id")}/items`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts index 040d3be2e..e6767f757 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_count` in responses. */ -export const zero_trust_gateway_count_output: JsonSchema = { +export const zero$$trust$$gateway_count: JsonSchema = { "type": "number" }; /** * The schema of `zero-trust-gateway_description` in responses. */ -export const zero_trust_gateway_description_output: JsonSchema = { +export const zero$$trust$$gateway_description: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_description_item` in responses. */ -export const zero_trust_gateway_description_item_output: JsonSchema = { +export const zero$$trust$$gateway_description_item: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_items` in responses. */ -export const zero_trust_gateway_items_output: JsonSchema = { +export const zero$$trust$$gateway_items: JsonSchema = { "items": { "properties": { "created_at": { @@ -48,7 +48,7 @@ export const zero_trust_gateway_items_output: JsonSchema = { /** * The schema of `zero-trust-gateway_list_single_response` in responses. */ -export const zero_trust_gateway_list_single_response_output: JsonSchema = { +export const zero$$trust$$gateway_list_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -67,7 +67,7 @@ export const zero_trust_gateway_list_single_response_output: JsonSchema = { /** * The schema of `zero-trust-gateway_lists` in responses. */ -export const zero_trust_gateway_lists_output: JsonSchema = { +export const zero$$trust$$gateway_lists: JsonSchema = { "properties": { "count": { "$ref": "#/$defs/zero-trust-gateway_count" @@ -100,14 +100,14 @@ export const zero_trust_gateway_lists_output: JsonSchema = { /** * The schema of `zero-trust-gateway_name` in responses. */ -export const zero_trust_gateway_name_output: JsonSchema = { +export const zero$$trust$$gateway_name: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_response_collection-3` in responses. */ -export const zero_trust_gateway_response_collection_3_output: JsonSchema = { +export const zero$$trust$$gateway_response_collection$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" @@ -130,7 +130,7 @@ export const zero_trust_gateway_response_collection_3_output: JsonSchema = { * The schema of `zero-trust-gateway_single_response_with_list_items` in * responses. */ -export const zero_trust_gateway_single_response_with_list_items_output: JsonSchema = { +export const zero$$trust$$gateway_single_response_with_list_items: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -172,7 +172,7 @@ export const zero_trust_gateway_single_response_with_list_items_output: JsonSche /** * The schema of `zero-trust-gateway_type-2` in responses. */ -export const zero_trust_gateway_type_2_output: JsonSchema = { +export const zero$$trust$$gateway_type$$2: JsonSchema = { "enum": [ "SERIAL", "URL", @@ -190,13 +190,13 @@ export const zero_trust_gateway_type_2_output: JsonSchema = { /** * The schema of `zero-trust-gateway_uuid-2` in responses. */ -export const zero_trust_gateway_uuid_2_output: JsonSchema = { +export const zero$$trust$$gateway_uuid$$2: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_value` in responses. */ -export const zero_trust_gateway_value_output: JsonSchema = { +export const zero$$trust$$gateway_value: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/schemas.ts index 1f4a7f13e..d8c423659 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_description`. */ -export const zero_trust_gateway_description: JsonSchema = { +export const zero$$trust$$gateway_description: JsonSchema = { "description": "Provide the list description.", "type": "string" }; @@ -14,7 +14,7 @@ export const zero_trust_gateway_description: JsonSchema = { /** * The schema of `zero-trust-gateway_description_item`. */ -export const zero_trust_gateway_description_item: JsonSchema = { +export const zero$$trust$$gateway_description_item: JsonSchema = { "description": "Provide the list item description (optional).", "type": "string" }; @@ -22,7 +22,7 @@ export const zero_trust_gateway_description_item: JsonSchema = { /** * The schema of `zero-trust-gateway_items-input`. */ -export const zero_trust_gateway_items_input: JsonSchema = { +export const zero$$trust$$gateway_items$$input: JsonSchema = { "description": "Add items to the list.", "items": { "properties": { @@ -43,7 +43,7 @@ export const zero_trust_gateway_items_input: JsonSchema = { /** * The schema of `zero-trust-gateway_name`. */ -export const zero_trust_gateway_name: JsonSchema = { +export const zero$$trust$$gateway_name: JsonSchema = { "description": "Specify the list name.", "type": "string" }; @@ -51,7 +51,7 @@ export const zero_trust_gateway_name: JsonSchema = { /** * The schema of `zero-trust-gateway_type-2`. */ -export const zero_trust_gateway_type_2: JsonSchema = { +export const zero$$trust$$gateway_type$$2: JsonSchema = { "description": "Specify the list type.", "enum": [ "SERIAL", @@ -70,7 +70,7 @@ export const zero_trust_gateway_type_2: JsonSchema = { /** * The schema of `zero-trust-gateway_uuid-2`. */ -export const zero_trust_gateway_uuid_2: JsonSchema = { +export const zero$$trust$$gateway_uuid$$2: JsonSchema = { "description": "Identify the API resource with a UUID.", "type": "string" }; @@ -78,7 +78,7 @@ export const zero_trust_gateway_uuid_2: JsonSchema = { /** * The schema of `zero-trust-gateway_value`. */ -export const zero_trust_gateway_value: JsonSchema = { +export const zero$$trust$$gateway_value: JsonSchema = { "description": "Specify the item value.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts index 3d6d43788..0a7348ce1 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts @@ -1,59 +1,55 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, - zero_trust_gateway_read_only_timestamp_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, + zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero_trust_gateway_identifier_2 } from "../../schemas.js"; +import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_empty_response_output, - zero_trust_gateway_result_info_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_empty_response, + zero$$trust$$gateway_result_info, } from "../outputs.js"; import { - zero_trust_gateway_count_output, - zero_trust_gateway_description_item_output, - zero_trust_gateway_description_output, - zero_trust_gateway_items_output, - zero_trust_gateway_list_single_response_output, - zero_trust_gateway_lists_output, - zero_trust_gateway_name_output, - zero_trust_gateway_response_collection_3_output, - zero_trust_gateway_single_response_with_list_items_output, - zero_trust_gateway_type_2_output, - zero_trust_gateway_uuid_2_output, - zero_trust_gateway_value_output, + zero$$trust$$gateway_count, + zero$$trust$$gateway_description, + zero$$trust$$gateway_description_item, + zero$$trust$$gateway_items, + zero$$trust$$gateway_list_single_response, + zero$$trust$$gateway_lists, + zero$$trust$$gateway_name, + zero$$trust$$gateway_response_collection$$3, + zero$$trust$$gateway_single_response_with_list_items, + zero$$trust$$gateway_type$$2, + zero$$trust$$gateway_uuid$$2, + zero$$trust$$gateway_value, } from "./outputs.js"; import { - zero_trust_gateway_description, - zero_trust_gateway_description_item, - zero_trust_gateway_items_input, - zero_trust_gateway_name, - zero_trust_gateway_type_2, - zero_trust_gateway_uuid_2, - zero_trust_gateway_value, + zero$$trust$$gateway_description as zero$$trust$$gateway_description$, + zero$$trust$$gateway_description_item as zero$$trust$$gateway_description_item$, + zero$$trust$$gateway_items$$input, + zero$$trust$$gateway_name as zero$$trust$$gateway_name$, + zero$$trust$$gateway_type$$2 as zero$$trust$$gateway_type$$2$, + zero$$trust$$gateway_uuid$$2 as zero$$trust$$gateway_uuid$$2$, + zero$$trust$$gateway_value as zero$$trust$$gateway_value$, } from "./schemas.js"; /** - * The tools of `zero_trust.gateway.lists`. + * The tools of `zeroTrust.gateway.lists`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_lists_create", + name: "zeroTrust_gateway_lists_create", title: "Create Zero Trust list", description: "Creates a new Zero Trust list.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "description": { @@ -78,36 +74,48 @@ export const tools: readonly Tool[] = [ "type" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "zero-trust-gateway_description": zero_trust_gateway_description, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_items-input": zero_trust_gateway_items_input, - "zero-trust-gateway_name": zero_trust_gateway_name, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2, - "zero-trust-gateway_value": zero_trust_gateway_value, + "zero-trust-gateway_description": zero$$trust$$gateway_description$, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item$, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_items-input": zero$$trust$$gateway_items$$input, + "zero-trust-gateway_name": zero$$trust$$gateway_name$, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2$, + "zero-trust-gateway_value": zero$$trust$$gateway_value$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response_with_list_items", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response_with_list_items": zero_trust_gateway_single_response_with_list_items_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response_with_list_items": zero$$trust$$gateway_single_response_with_list_items, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -136,18 +144,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response_with_list_items": zero_trust_gateway_single_response_with_list_items_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response_with_list_items": zero$$trust$$gateway_single_response_with_list_items, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ @@ -156,36 +164,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_lists_delete", + name: "zeroTrust_gateway_lists_delete", title: "Delete Zero Trust list", description: "Deletes a Zero Trust list.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "list_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-2", + "description": "Identify the API resource with a UUID." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, annotations: { @@ -214,10 +230,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, request: (args) => ({ @@ -225,16 +241,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_lists_edit", + name: "zeroTrust_gateway_lists_edit", title: "Patch Zero Trust list.", description: "Appends or removes an item from a configured Zero Trust list.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "append": { @@ -251,40 +263,52 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "list_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-2", + "description": "Identify the API resource with a UUID." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id", + "path", "body" ], $defs: { - "zero-trust-gateway_description_item": zero_trust_gateway_description_item, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_items-input": zero_trust_gateway_items_input, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2, - "zero-trust-gateway_value": zero_trust_gateway_value, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item$, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_items-input": zero$$trust$$gateway_items$$input, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2$, + "zero-trust-gateway_value": zero$$trust$$gateway_value$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_list_single_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_count": zero_trust_gateway_count_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_list_single_response": zero_trust_gateway_list_single_response_output, - "zero-trust-gateway_lists": zero_trust_gateway_lists_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_count": zero$$trust$$gateway_count, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, + "zero-trust-gateway_lists": zero$$trust$$gateway_lists, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -313,20 +337,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_count": zero_trust_gateway_count_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_list_single_response": zero_trust_gateway_list_single_response_output, - "zero-trust-gateway_lists": zero_trust_gateway_lists_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_count": zero$$trust$$gateway_count, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, + "zero-trust-gateway_lists": zero$$trust$$gateway_lists, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ @@ -335,46 +359,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_lists_get", + name: "zeroTrust_gateway_lists_get", title: "Get Zero Trust list details", description: "Fetch a single Zero Trust list.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "list_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-2", + "description": "Identify the API resource with a UUID." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_list_single_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_count": zero_trust_gateway_count_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_list_single_response": zero_trust_gateway_list_single_response_output, - "zero-trust-gateway_lists": zero_trust_gateway_lists_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_count": zero$$trust$$gateway_count, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, + "zero-trust-gateway_lists": zero$$trust$$gateway_lists, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -403,20 +435,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_count": zero_trust_gateway_count_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_list_single_response": zero_trust_gateway_list_single_response_output, - "zero-trust-gateway_lists": zero_trust_gateway_lists_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_count": zero$$trust$$gateway_count, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, + "zero-trust-gateway_lists": zero$$trust$$gateway_lists, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ @@ -424,77 +456,90 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_lists_list", + name: "zeroTrust_gateway_lists_list", title: "List Zero Trust lists", description: "Fetch all Zero Trust lists for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "direction": { - "description": "Sort direction. Applies to the field named in `order_by`; when `order_by`\nis omitted it applies to the default `created_at` ordering. When\n`direction` is omitted the default is field-specific: explicitly choosing\n`created_at` or `updated_at` defaults to descending (newest first); `name`\nand `item_count` default to ascending; and the default `created_at`\nordering used when `order_by` is omitted is ascending (for backwards\ncompatibility).\n * `asc` — ascending.\n * `desc` — descending.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "filter": { - "description": "Filter the returned lists by one or more `field:value` pairs.\nRepeat the parameter to apply multiple filters; they are combined with\nlogical AND (a list must satisfy every filter to be returned).\n\nSupported fields and their matching behaviour:\n * `name` — case-insensitive substring match on the list name.\n * `id` — substring match on the list ID (UUID), with or without dashes.\n * `type` — exact match on the list type. Supersedes the legacy `type` query\n parameter when both are supplied. Must be one of the valid type values.\n * `item_count` — exact integer match on the number of items in the list.\n\nEach entry must match one of the per-field patterns below: the field must be\none of `name`, `id`, `type`, or `item_count`; `name`/`id` accept any value,\n`type` is restricted to the valid list type values, and `item_count` must be\na non-negative integer.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } }, - "type": "array" - }, - "order_by": { - "description": "Field to sort the returned lists by. When omitted, results are ordered by\n`created_at` in ascending order (i.e. creation order) for backwards\ncompatibility. Supported values:\n * `name` — sort alphabetically by list name.\n * `created_at` — sort by creation time; defaults to descending unless `direction` is set.\n * `updated_at` — sort by last-modified time; defaults to descending unless `direction` is set.\n * `item_count` — sort by number of items in the list.", - "enum": [ - "name", - "created_at", - "updated_at", - "item_count" + "required": [ + "account_id" ], - "type": "string" - }, - "search": { - "description": "Case-insensitive substring match on the list name or description. When\ncombined with `filter`, both must match (logical AND).", - "type": "string" + "type": "object" }, - "type": { - "$ref": "#/$defs/zero-trust-gateway_type-2", - "deprecated": true, - "description": "Specify the list type." + "query": { + "properties": { + "direction": { + "description": "Sort direction. Applies to the field named in `order_by`; when `order_by`\nis omitted it applies to the default `created_at` ordering. When\n`direction` is omitted the default is field-specific: explicitly choosing\n`created_at` or `updated_at` defaults to descending (newest first); `name`\nand `item_count` default to ascending; and the default `created_at`\nordering used when `order_by` is omitted is ascending (for backwards\ncompatibility).\n * `asc` — ascending.\n * `desc` — descending.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "filter": { + "description": "Filter the returned lists by one or more `field:value` pairs.\nRepeat the parameter to apply multiple filters; they are combined with\nlogical AND (a list must satisfy every filter to be returned).\n\nSupported fields and their matching behaviour:\n * `name` — case-insensitive substring match on the list name.\n * `id` — substring match on the list ID (UUID), with or without dashes.\n * `type` — exact match on the list type. Supersedes the legacy `type` query\n parameter when both are supplied. Must be one of the valid type values.\n * `item_count` — exact integer match on the number of items in the list.\n\nEach entry must match one of the per-field patterns below: the field must be\none of `name`, `id`, `type`, or `item_count`; `name`/`id` accept any value,\n`type` is restricted to the valid list type values, and `item_count` must be\na non-negative integer.", + "items": { + "type": "string" + }, + "type": "array" + }, + "order_by": { + "description": "Field to sort the returned lists by. When omitted, results are ordered by\n`created_at` in ascending order (i.e. creation order) for backwards\ncompatibility. Supported values:\n * `name` — sort alphabetically by list name.\n * `created_at` — sort by creation time; defaults to descending unless `direction` is set.\n * `updated_at` — sort by last-modified time; defaults to descending unless `direction` is set.\n * `item_count` — sort by number of items in the list.", + "enum": [ + "name", + "created_at", + "updated_at", + "item_count" + ], + "type": "string" + }, + "search": { + "description": "Case-insensitive substring match on the list name or description. When\ncombined with `filter`, both must match (logical AND).", + "type": "string" + }, + "type": { + "$ref": "#/$defs/zero-trust-gateway_type-2", + "deprecated": true, + "description": "Specify the list type." + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-3", $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_count": zero_trust_gateway_count_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_lists": zero_trust_gateway_lists_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-3": zero_trust_gateway_response_collection_3_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_count": zero$$trust$$gateway_count, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_lists": zero$$trust$$gateway_lists, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-3": zero$$trust$$gateway_response_collection$$3, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -523,46 +568,42 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_count": zero_trust_gateway_count_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_lists": zero_trust_gateway_lists_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-3": zero_trust_gateway_response_collection_3_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_count": zero$$trust$$gateway_count, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_lists": zero$$trust$$gateway_lists, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-3": zero$$trust$$gateway_response_collection$$3, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/lists`, query: [ - ["type", args["type"], true], - ["filter", args["filter"], true], - ["search", args["search"], true], - ["order_by", args["order_by"], true], - ["direction", args["direction"], true], + ["type", param(args, "query", "type"), true], + ["filter", param(args, "query", "filter"), true], + ["search", param(args, "query", "search"), true], + ["order_by", param(args, "query", "order_by"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, { - name: "zero_trust_gateway_lists_update", + name: "zeroTrust_gateway_lists_update", title: "Update Zero Trust list", description: "Updates a configured Zero Trust list. Skips updating list items if not included in the payload. A non empty list items will overwrite the existing list.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "description": { @@ -583,42 +624,54 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "list_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-2", + "description": "Identify the API resource with a UUID." + } + }, + "required": [ + "account_id", + "list_id" + ], + "type": "object" } }, required: [ - "account_id", - "list_id", + "path", "body" ], $defs: { - "zero-trust-gateway_description": zero_trust_gateway_description, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_items-input": zero_trust_gateway_items_input, - "zero-trust-gateway_name": zero_trust_gateway_name, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2, - "zero-trust-gateway_value": zero_trust_gateway_value, + "zero-trust-gateway_description": zero$$trust$$gateway_description$, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item$, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_items-input": zero$$trust$$gateway_items$$input, + "zero-trust-gateway_name": zero$$trust$$gateway_name$, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2$, + "zero-trust-gateway_value": zero$$trust$$gateway_value$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_list_single_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_count": zero_trust_gateway_count_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_list_single_response": zero_trust_gateway_list_single_response_output, - "zero-trust-gateway_lists": zero_trust_gateway_lists_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_count": zero$$trust$$gateway_count, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, + "zero-trust-gateway_lists": zero$$trust$$gateway_lists, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -647,20 +700,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_count": zero_trust_gateway_count_output, - "zero-trust-gateway_description": zero_trust_gateway_description_output, - "zero-trust-gateway_description_item": zero_trust_gateway_description_item_output, - "zero-trust-gateway_items": zero_trust_gateway_items_output, - "zero-trust-gateway_list_single_response": zero_trust_gateway_list_single_response_output, - "zero-trust-gateway_lists": zero_trust_gateway_lists_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name": zero_trust_gateway_name_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_type-2": zero_trust_gateway_type_2_output, - "zero-trust-gateway_uuid-2": zero_trust_gateway_uuid_2_output, - "zero-trust-gateway_value": zero_trust_gateway_value_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_count": zero$$trust$$gateway_count, + "zero-trust-gateway_description": zero$$trust$$gateway_description, + "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, + "zero-trust-gateway_items": zero$$trust$$gateway_items, + "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, + "zero-trust-gateway_lists": zero$$trust$$gateway_lists, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name": zero$$trust$$gateway_name, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, + "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, + "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts index 36829d983..7f219ec58 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_client-default` in responses. */ -export const zero_trust_gateway_client_default_output: JsonSchema = { +export const zero$$trust$$gateway_client$$default: JsonSchema = { "type": "boolean" }; /** * The schema of `zero-trust-gateway_dns-destination-ips-id-read` in responses. */ -export const zero_trust_gateway_dns_destination_ips_id_read_output: JsonSchema = { +export const zero$$trust$$gateway_dns$$destination$$ips$$id$$read: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_dns64-enabled` in responses. */ -export const zero_trust_gateway_dns64_enabled_output: JsonSchema = { +export const zero$$trust$$gateway_dns64$$enabled: JsonSchema = { "type": "boolean" }; @@ -28,7 +28,7 @@ export const zero_trust_gateway_dns64_enabled_output: JsonSchema = { * The schema of `zero-trust-gateway_dns_destination_ipv6_block_id` in * responses. */ -export const zero_trust_gateway_dns_destination_ipv6_block_id_output: JsonSchema = { +export const zero$$trust$$gateway_dns_destination_ipv6_block_id: JsonSchema = { "oneOf": [ { "type": "string" @@ -42,7 +42,7 @@ export const zero_trust_gateway_dns_destination_ipv6_block_id_output: JsonSchema /** * The schema of `zero-trust-gateway_doh_endpoint` in responses. */ -export const zero_trust_gateway_doh_endpoint_output: JsonSchema = { +export const zero$$trust$$gateway_doh_endpoint: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -60,7 +60,7 @@ export const zero_trust_gateway_doh_endpoint_output: JsonSchema = { /** * The schema of `zero-trust-gateway_dot_endpoint` in responses. */ -export const zero_trust_gateway_dot_endpoint_output: JsonSchema = { +export const zero$$trust$$gateway_dot_endpoint: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -75,14 +75,14 @@ export const zero_trust_gateway_dot_endpoint_output: JsonSchema = { /** * The schema of `zero-trust-gateway_ecs-support` in responses. */ -export const zero_trust_gateway_ecs_support_output: JsonSchema = { +export const zero$$trust$$gateway_ecs$$support: JsonSchema = { "type": "boolean" }; /** * The schema of `zero-trust-gateway_endpoints` in responses. */ -export const zero_trust_gateway_endpoints_output: JsonSchema = { +export const zero$$trust$$gateway_endpoints: JsonSchema = { "oneOf": [ { "properties": { @@ -116,14 +116,14 @@ export const zero_trust_gateway_endpoints_output: JsonSchema = { /** * The schema of `zero-trust-gateway_ip` in responses. */ -export const zero_trust_gateway_ip_output: JsonSchema = { +export const zero$$trust$$gateway_ip: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_ip_network` in responses. */ -export const zero_trust_gateway_ip_network_output: JsonSchema = { +export const zero$$trust$$gateway_ip_network: JsonSchema = { "properties": { "network": { "type": "string" @@ -138,7 +138,7 @@ export const zero_trust_gateway_ip_network_output: JsonSchema = { /** * The schema of `zero-trust-gateway_ip_networks` in responses. */ -export const zero_trust_gateway_ip_networks_output: JsonSchema = { +export const zero$$trust$$gateway_ip_networks: JsonSchema = { "oneOf": [ { "items": { @@ -155,7 +155,7 @@ export const zero_trust_gateway_ip_networks_output: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv4_endpoint` in responses. */ -export const zero_trust_gateway_ipv4_endpoint_output: JsonSchema = { +export const zero$$trust$$gateway_ipv4_endpoint: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -167,7 +167,7 @@ export const zero_trust_gateway_ipv4_endpoint_output: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv4_network` in responses. */ -export const zero_trust_gateway_ipv4_network_output: JsonSchema = { +export const zero$$trust$$gateway_ipv4_network: JsonSchema = { "properties": { "network": { "type": "string" @@ -182,7 +182,7 @@ export const zero_trust_gateway_ipv4_network_output: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv4_networks` in responses. */ -export const zero_trust_gateway_ipv4_networks_output: JsonSchema = { +export const zero$$trust$$gateway_ipv4_networks: JsonSchema = { "oneOf": [ { "items": { @@ -199,7 +199,7 @@ export const zero_trust_gateway_ipv4_networks_output: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv6_endpoint` in responses. */ -export const zero_trust_gateway_ipv6_endpoint_output: JsonSchema = { +export const zero$$trust$$gateway_ipv6_endpoint: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -214,7 +214,7 @@ export const zero_trust_gateway_ipv6_endpoint_output: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv6_network` in responses. */ -export const zero_trust_gateway_ipv6_network_output: JsonSchema = { +export const zero$$trust$$gateway_ipv6_network: JsonSchema = { "properties": { "network": { "type": "string" @@ -229,7 +229,7 @@ export const zero_trust_gateway_ipv6_network_output: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv6_networks` in responses. */ -export const zero_trust_gateway_ipv6_networks_output: JsonSchema = { +export const zero$$trust$$gateway_ipv6_networks: JsonSchema = { "oneOf": [ { "items": { @@ -246,7 +246,7 @@ export const zero_trust_gateway_ipv6_networks_output: JsonSchema = { /** * The schema of `zero-trust-gateway_locations` in responses. */ -export const zero_trust_gateway_locations_output: JsonSchema = { +export const zero$$trust$$gateway_locations: JsonSchema = { "properties": { "client_default": { "$ref": "#/$defs/zero-trust-gateway_client-default" @@ -303,7 +303,7 @@ export const zero_trust_gateway_locations_output: JsonSchema = { /** * The schema of `zero-trust-gateway_max-ttl` in responses. */ -export const zero_trust_gateway_max_ttl_output: JsonSchema = { +export const zero$$trust$$gateway_max$$ttl: JsonSchema = { "oneOf": [ { "properties": { @@ -340,14 +340,14 @@ export const zero_trust_gateway_max_ttl_output: JsonSchema = { /** * The schema of `zero-trust-gateway_name-2` in responses. */ -export const zero_trust_gateway_name_2_output: JsonSchema = { +export const zero$$trust$$gateway_name$$2: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_response_collection-5` in responses. */ -export const zero_trust_gateway_response_collection_5_output: JsonSchema = { +export const zero$$trust$$gateway_response_collection$$5: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" @@ -369,7 +369,7 @@ export const zero_trust_gateway_response_collection_5_output: JsonSchema = { /** * The schema of `zero-trust-gateway_single_response-3` in responses. */ -export const zero_trust_gateway_single_response_3_output: JsonSchema = { +export const zero$$trust$$gateway_single_response$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -388,6 +388,6 @@ export const zero_trust_gateway_single_response_3_output: JsonSchema = { /** * The schema of `zero-trust-gateway_subdomain` in responses. */ -export const zero_trust_gateway_subdomain_output: JsonSchema = { +export const zero$$trust$$gateway_subdomain: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/locations/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/locations/schemas.ts index 561285c13..2dac48604 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/locations/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/locations/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_client-default`. */ -export const zero_trust_gateway_client_default: JsonSchema = { +export const zero$$trust$$gateway_client$$default: JsonSchema = { "description": "Indicate whether this location is the default location.", "type": "boolean" }; @@ -14,7 +14,7 @@ export const zero_trust_gateway_client_default: JsonSchema = { /** * The schema of `zero-trust-gateway_dns-destination-ips-id-write`. */ -export const zero_trust_gateway_dns_destination_ips_id_write: JsonSchema = { +export const zero$$trust$$gateway_dns$$destination$$ips$$id$$write: JsonSchema = { "description": "Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.", "type": "string" }; @@ -22,7 +22,7 @@ export const zero_trust_gateway_dns_destination_ips_id_write: JsonSchema = { /** * The schema of `zero-trust-gateway_dns64-enabled`. */ -export const zero_trust_gateway_dns64_enabled: JsonSchema = { +export const zero$$trust$$gateway_dns64$$enabled: JsonSchema = { "description": "Enable DNS64 synthesis for DNS queries matched to this location. When updating a location, omitting this field resets it to false.", "type": "boolean" }; @@ -30,7 +30,7 @@ export const zero_trust_gateway_dns64_enabled: JsonSchema = { /** * The schema of `zero-trust-gateway_doh_endpoint`. */ -export const zero_trust_gateway_doh_endpoint: JsonSchema = { +export const zero$$trust$$gateway_doh_endpoint: JsonSchema = { "properties": { "enabled": { "description": "Indicate whether the DOH endpoint is enabled for this location.", @@ -51,7 +51,7 @@ export const zero_trust_gateway_doh_endpoint: JsonSchema = { /** * The schema of `zero-trust-gateway_dot_endpoint`. */ -export const zero_trust_gateway_dot_endpoint: JsonSchema = { +export const zero$$trust$$gateway_dot_endpoint: JsonSchema = { "properties": { "enabled": { "description": "Indicate whether the DOT endpoint is enabled for this location.", @@ -68,7 +68,7 @@ export const zero_trust_gateway_dot_endpoint: JsonSchema = { /** * The schema of `zero-trust-gateway_ecs-support`. */ -export const zero_trust_gateway_ecs_support: JsonSchema = { +export const zero$$trust$$gateway_ecs$$support: JsonSchema = { "description": "Indicate whether the location must resolve EDNS queries.", "type": "boolean" }; @@ -76,7 +76,7 @@ export const zero_trust_gateway_ecs_support: JsonSchema = { /** * The schema of `zero-trust-gateway_endpoints`. */ -export const zero_trust_gateway_endpoints: JsonSchema = { +export const zero$$trust$$gateway_endpoints: JsonSchema = { "description": "Configure the destination endpoints for this location.", "oneOf": [ { @@ -111,7 +111,7 @@ export const zero_trust_gateway_endpoints: JsonSchema = { /** * The schema of `zero-trust-gateway_ip_network`. */ -export const zero_trust_gateway_ip_network: JsonSchema = { +export const zero$$trust$$gateway_ip_network: JsonSchema = { "properties": { "network": { "description": "Specify the IP address or IP CIDR.", @@ -127,7 +127,7 @@ export const zero_trust_gateway_ip_network: JsonSchema = { /** * The schema of `zero-trust-gateway_ip_networks`. */ -export const zero_trust_gateway_ip_networks: JsonSchema = { +export const zero$$trust$$gateway_ip_networks: JsonSchema = { "description": "Specify the list of allowed source IP network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.", "oneOf": [ { @@ -145,7 +145,7 @@ export const zero_trust_gateway_ip_networks: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv4_endpoint`. */ -export const zero_trust_gateway_ipv4_endpoint: JsonSchema = { +export const zero$$trust$$gateway_ipv4_endpoint: JsonSchema = { "properties": { "enabled": { "description": "Indicate whether the IPv4 endpoint is enabled for this location.", @@ -158,7 +158,7 @@ export const zero_trust_gateway_ipv4_endpoint: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv4_network`. */ -export const zero_trust_gateway_ipv4_network: JsonSchema = { +export const zero$$trust$$gateway_ipv4_network: JsonSchema = { "properties": { "network": { "description": "Specify the IPv4 address or IPv4 CIDR. Limit IPv4 CIDRs to a maximum of /24.", @@ -174,7 +174,7 @@ export const zero_trust_gateway_ipv4_network: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv4_networks`. */ -export const zero_trust_gateway_ipv4_networks: JsonSchema = { +export const zero$$trust$$gateway_ipv4_networks: JsonSchema = { "description": "Specify the list of network ranges from which requests at this location originate. The list takes effect only if it is non-empty and the IPv4 endpoint is enabled for this location.", "oneOf": [ { @@ -192,7 +192,7 @@ export const zero_trust_gateway_ipv4_networks: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv6_endpoint`. */ -export const zero_trust_gateway_ipv6_endpoint: JsonSchema = { +export const zero$$trust$$gateway_ipv6_endpoint: JsonSchema = { "properties": { "enabled": { "description": "Indicate whether the IPV6 endpoint is enabled for this location.", @@ -209,7 +209,7 @@ export const zero_trust_gateway_ipv6_endpoint: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv6_network`. */ -export const zero_trust_gateway_ipv6_network: JsonSchema = { +export const zero$$trust$$gateway_ipv6_network: JsonSchema = { "properties": { "network": { "description": "Specify the IPv6 address or IPv6 CIDR.", @@ -225,7 +225,7 @@ export const zero_trust_gateway_ipv6_network: JsonSchema = { /** * The schema of `zero-trust-gateway_ipv6_networks`. */ -export const zero_trust_gateway_ipv6_networks: JsonSchema = { +export const zero$$trust$$gateway_ipv6_networks: JsonSchema = { "description": "Specify the list of allowed source IPv6 network ranges for this endpoint. When the list is empty, the endpoint allows all source IPs. The list takes effect only if the endpoint is enabled for this location.", "oneOf": [ { @@ -243,7 +243,7 @@ export const zero_trust_gateway_ipv6_networks: JsonSchema = { /** * The schema of `zero-trust-gateway_max-ttl`. */ -export const zero_trust_gateway_max_ttl: JsonSchema = { +export const zero$$trust$$gateway_max$$ttl: JsonSchema = { "description": "Controls how DNS response TTLs are capped for this location relative to the account `max_ttl_secs` setting. Omitting `max_ttl` on update resets it to `inherit`.", "oneOf": [ { @@ -283,7 +283,7 @@ export const zero_trust_gateway_max_ttl: JsonSchema = { /** * The schema of `zero-trust-gateway_name-2`. */ -export const zero_trust_gateway_name_2: JsonSchema = { +export const zero$$trust$$gateway_name$$2: JsonSchema = { "description": "Specify the location name.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts index e0750dcd2..3d75d8cf0 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts @@ -1,82 +1,78 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, - zero_trust_gateway_read_only_timestamp_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, + zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero_trust_gateway_identifier_2 } from "../../schemas.js"; +import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_empty_response_output, - zero_trust_gateway_result_info_output, - zero_trust_gateway_uuid_3_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_empty_response, + zero$$trust$$gateway_result_info, + zero$$trust$$gateway_uuid$$3, } from "../outputs.js"; -import { zero_trust_gateway_uuid_3 } from "../schemas.js"; +import { zero$$trust$$gateway_uuid$$3 as zero$$trust$$gateway_uuid$$3$ } from "../schemas.js"; import { - zero_trust_gateway_client_default_output, - zero_trust_gateway_dns64_enabled_output, - zero_trust_gateway_dns_destination_ips_id_read_output, - zero_trust_gateway_dns_destination_ipv6_block_id_output, - zero_trust_gateway_doh_endpoint_output, - zero_trust_gateway_dot_endpoint_output, - zero_trust_gateway_ecs_support_output, - zero_trust_gateway_endpoints_output, - zero_trust_gateway_ip_network_output, - zero_trust_gateway_ip_networks_output, - zero_trust_gateway_ip_output, - zero_trust_gateway_ipv4_endpoint_output, - zero_trust_gateway_ipv4_network_output, - zero_trust_gateway_ipv4_networks_output, - zero_trust_gateway_ipv6_endpoint_output, - zero_trust_gateway_ipv6_network_output, - zero_trust_gateway_ipv6_networks_output, - zero_trust_gateway_locations_output, - zero_trust_gateway_max_ttl_output, - zero_trust_gateway_name_2_output, - zero_trust_gateway_response_collection_5_output, - zero_trust_gateway_single_response_3_output, - zero_trust_gateway_subdomain_output, + zero$$trust$$gateway_client$$default, + zero$$trust$$gateway_dns$$destination$$ips$$id$$read, + zero$$trust$$gateway_dns64$$enabled, + zero$$trust$$gateway_dns_destination_ipv6_block_id, + zero$$trust$$gateway_doh_endpoint, + zero$$trust$$gateway_dot_endpoint, + zero$$trust$$gateway_ecs$$support, + zero$$trust$$gateway_endpoints, + zero$$trust$$gateway_ip, + zero$$trust$$gateway_ip_network, + zero$$trust$$gateway_ip_networks, + zero$$trust$$gateway_ipv4_endpoint, + zero$$trust$$gateway_ipv4_network, + zero$$trust$$gateway_ipv4_networks, + zero$$trust$$gateway_ipv6_endpoint, + zero$$trust$$gateway_ipv6_network, + zero$$trust$$gateway_ipv6_networks, + zero$$trust$$gateway_locations, + zero$$trust$$gateway_max$$ttl, + zero$$trust$$gateway_name$$2, + zero$$trust$$gateway_response_collection$$5, + zero$$trust$$gateway_single_response$$3, + zero$$trust$$gateway_subdomain, } from "./outputs.js"; import { - zero_trust_gateway_client_default, - zero_trust_gateway_dns64_enabled, - zero_trust_gateway_dns_destination_ips_id_write, - zero_trust_gateway_doh_endpoint, - zero_trust_gateway_dot_endpoint, - zero_trust_gateway_ecs_support, - zero_trust_gateway_endpoints, - zero_trust_gateway_ip_network, - zero_trust_gateway_ip_networks, - zero_trust_gateway_ipv4_endpoint, - zero_trust_gateway_ipv4_network, - zero_trust_gateway_ipv4_networks, - zero_trust_gateway_ipv6_endpoint, - zero_trust_gateway_ipv6_network, - zero_trust_gateway_ipv6_networks, - zero_trust_gateway_max_ttl, - zero_trust_gateway_name_2, + zero$$trust$$gateway_client$$default as zero$$trust$$gateway_client$$default$, + zero$$trust$$gateway_dns$$destination$$ips$$id$$write, + zero$$trust$$gateway_dns64$$enabled as zero$$trust$$gateway_dns64$$enabled$, + zero$$trust$$gateway_doh_endpoint as zero$$trust$$gateway_doh_endpoint$, + zero$$trust$$gateway_dot_endpoint as zero$$trust$$gateway_dot_endpoint$, + zero$$trust$$gateway_ecs$$support as zero$$trust$$gateway_ecs$$support$, + zero$$trust$$gateway_endpoints as zero$$trust$$gateway_endpoints$, + zero$$trust$$gateway_ip_network as zero$$trust$$gateway_ip_network$, + zero$$trust$$gateway_ip_networks as zero$$trust$$gateway_ip_networks$, + zero$$trust$$gateway_ipv4_endpoint as zero$$trust$$gateway_ipv4_endpoint$, + zero$$trust$$gateway_ipv4_network as zero$$trust$$gateway_ipv4_network$, + zero$$trust$$gateway_ipv4_networks as zero$$trust$$gateway_ipv4_networks$, + zero$$trust$$gateway_ipv6_endpoint as zero$$trust$$gateway_ipv6_endpoint$, + zero$$trust$$gateway_ipv6_network as zero$$trust$$gateway_ipv6_network$, + zero$$trust$$gateway_ipv6_networks as zero$$trust$$gateway_ipv6_networks$, + zero$$trust$$gateway_max$$ttl as zero$$trust$$gateway_max$$ttl$, + zero$$trust$$gateway_name$$2 as zero$$trust$$gateway_name$$2$, } from "./schemas.js"; /** - * The tools of `zero_trust.gateway.locations`. + * The tools of `zeroTrust.gateway.locations`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_locations_create", + name: "zeroTrust_gateway_locations_create", title: "Create a Zero Trust Gateway location", description: "Create a new Zero Trust Gateway location.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "client_default": { @@ -122,62 +118,74 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "zero-trust-gateway_client-default": zero_trust_gateway_client_default, - "zero-trust-gateway_dns-destination-ips-id-write": zero_trust_gateway_dns_destination_ips_id_write, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default$, + "zero-trust-gateway_dns-destination-ips-id-write": zero$$trust$$gateway_dns$$destination$$ips$$id$$write, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled$, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint$, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint$, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support$, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints$, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network$, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks$, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint$, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network$, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks$, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint$, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network$, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks$, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl$, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-3", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, - "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, - "zero-trust-gateway_ip": zero_trust_gateway_ip_output, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, - "zero-trust-gateway_locations": zero_trust_gateway_locations_output, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-3": zero_trust_gateway_single_response_3_output, - "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, + "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, + "zero-trust-gateway_ip": zero$$trust$$gateway_ip, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks, + "zero-trust-gateway_locations": zero$$trust$$gateway_locations, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, + "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -212,33 +220,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, - "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, - "zero-trust-gateway_ip": zero_trust_gateway_ip_output, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, - "zero-trust-gateway_locations": zero_trust_gateway_locations_output, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-3": zero_trust_gateway_single_response_3_output, - "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, + "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, + "zero-trust-gateway_ip": zero$$trust$$gateway_ip, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks, + "zero-trust-gateway_locations": zero$$trust$$gateway_locations, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, + "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -247,35 +255,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_locations_delete", + name: "zeroTrust_gateway_locations_delete", title: "Delete a Zero Trust Gateway location", description: "Delete a configured Zero Trust Gateway location.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "location_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "location_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + } + }, + "required": [ + "account_id", + "location_id" + ], + "type": "object" } }, required: [ - "account_id", - "location_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, annotations: { @@ -310,10 +326,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, request: (args) => ({ @@ -321,58 +337,66 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_locations_get", + name: "zeroTrust_gateway_locations_get", title: "Get Zero Trust Gateway location details", description: "Get a single Zero Trust Gateway location.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "location_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "location_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + } + }, + "required": [ + "account_id", + "location_id" + ], + "type": "object" } }, required: [ - "account_id", - "location_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-3", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, - "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, - "zero-trust-gateway_ip": zero_trust_gateway_ip_output, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, - "zero-trust-gateway_locations": zero_trust_gateway_locations_output, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-3": zero_trust_gateway_single_response_3_output, - "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, + "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, + "zero-trust-gateway_ip": zero$$trust$$gateway_ip, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks, + "zero-trust-gateway_locations": zero$$trust$$gateway_locations, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, + "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -408,33 +432,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, - "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, - "zero-trust-gateway_ip": zero_trust_gateway_ip_output, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, - "zero-trust-gateway_locations": zero_trust_gateway_locations_output, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-3": zero_trust_gateway_single_response_3_output, - "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, + "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, + "zero-trust-gateway_ip": zero$$trust$$gateway_ip, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks, + "zero-trust-gateway_locations": zero$$trust$$gateway_locations, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, + "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -442,83 +466,96 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_locations_list", + name: "zeroTrust_gateway_locations_list", title: "List Zero Trust Gateway locations", description: "List Zero Trust Gateway locations for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "direction": { - "description": "Sort direction. Only takes effect when `order_by` is also provided; it\nis ignored otherwise. When `direction` is omitted the effective\ndirection is field-specific: `created_at` and `updated_at` default to\ndescending (newest first); `name` defaults to ascending.\n * `asc` — ascending.\n * `desc` — descending.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "filter": { - "description": "Filter the returned locations by one or more `field:value` pairs.\nRepeat the parameter to apply multiple filters; they are combined with\nlogical AND (a location must satisfy every filter to be returned).\n\nSupported fields and their matching behaviour:\n * `name` — case-insensitive substring match on the location name.\n * `id` — substring match on the location ID (UUID), with or without dashes.\n * `is_default` — whether it is the default for the account.\n\nEach entry must match one of the per-field patterns below:\n * the field must be one of `name`, `id`, or `is_default`;\n * `name`/`id` accept any value;\n * `is_default` only accepts `true` or `false`; any other value returns `400`", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } }, - "type": "array" - }, - "order_by": { - "description": "Field to sort the returned locations by. When omitted, the order of\nresults is unspecified. Supported values:\n * `name` — sort alphabetically by location name.\n * `created_at` — sort by creation time; defaults to descending unless `direction` is set.\n * `updated_at` — sort by last-modified time; defaults to descending unless `direction` is set.", - "enum": [ - "name", - "created_at", - "updated_at" + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "search": { - "description": "Case-insensitive substring match on the location name. When combined\nwith `filter`, both must match (logical AND).", - "type": "string" + "query": { + "properties": { + "direction": { + "description": "Sort direction. Only takes effect when `order_by` is also provided; it\nis ignored otherwise. When `direction` is omitted the effective\ndirection is field-specific: `created_at` and `updated_at` default to\ndescending (newest first); `name` defaults to ascending.\n * `asc` — ascending.\n * `desc` — descending.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "filter": { + "description": "Filter the returned locations by one or more `field:value` pairs.\nRepeat the parameter to apply multiple filters; they are combined with\nlogical AND (a location must satisfy every filter to be returned).\n\nSupported fields and their matching behaviour:\n * `name` — case-insensitive substring match on the location name.\n * `id` — substring match on the location ID (UUID), with or without dashes.\n * `is_default` — whether it is the default for the account.\n\nEach entry must match one of the per-field patterns below:\n * the field must be one of `name`, `id`, or `is_default`;\n * `name`/`id` accept any value;\n * `is_default` only accepts `true` or `false`; any other value returns `400`", + "items": { + "type": "string" + }, + "type": "array" + }, + "order_by": { + "description": "Field to sort the returned locations by. When omitted, the order of\nresults is unspecified. Supported values:\n * `name` — sort alphabetically by location name.\n * `created_at` — sort by creation time; defaults to descending unless `direction` is set.\n * `updated_at` — sort by last-modified time; defaults to descending unless `direction` is set.", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "search": { + "description": "Case-insensitive substring match on the location name. When combined\nwith `filter`, both must match (logical AND).", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-5", $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, - "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, - "zero-trust-gateway_ip": zero_trust_gateway_ip_output, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, - "zero-trust-gateway_locations": zero_trust_gateway_locations_output, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-5": zero_trust_gateway_response_collection_5_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, + "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, + "zero-trust-gateway_ip": zero$$trust$$gateway_ip, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks, + "zero-trust-gateway_locations": zero$$trust$$gateway_locations, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-5": zero$$trust$$gateway_response_collection$$5, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -554,58 +591,54 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, - "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, - "zero-trust-gateway_ip": zero_trust_gateway_ip_output, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, - "zero-trust-gateway_locations": zero_trust_gateway_locations_output, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-5": zero_trust_gateway_response_collection_5_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, + "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, + "zero-trust-gateway_ip": zero$$trust$$gateway_ip, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks, + "zero-trust-gateway_locations": zero$$trust$$gateway_locations, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-5": zero$$trust$$gateway_response_collection$$5, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/locations`, query: [ - ["filter", args["filter"], true], - ["search", args["search"], true], - ["order_by", args["order_by"], true], - ["direction", args["direction"], true], + ["filter", param(args, "query", "filter"), true], + ["search", param(args, "query", "search"), true], + ["order_by", param(args, "query", "order_by"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, { - name: "zero_trust_gateway_locations_update", + name: "zeroTrust_gateway_locations_update", title: "Update a Zero Trust Gateway location", description: "Update a configured Zero Trust Gateway location.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "client_default": { @@ -652,66 +685,78 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "location_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "location_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + } + }, + "required": [ + "account_id", + "location_id" + ], + "type": "object" } }, required: [ - "account_id", - "location_id", + "path", "body" ], $defs: { - "zero-trust-gateway_client-default": zero_trust_gateway_client_default, - "zero-trust-gateway_dns-destination-ips-id-write": zero_trust_gateway_dns_destination_ips_id_write, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default$, + "zero-trust-gateway_dns-destination-ips-id-write": zero$$trust$$gateway_dns$$destination$$ips$$id$$write, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled$, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint$, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint$, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support$, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints$, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network$, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks$, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint$, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network$, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks$, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint$, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network$, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks$, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl$, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2$, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-3", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, - "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, - "zero-trust-gateway_ip": zero_trust_gateway_ip_output, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, - "zero-trust-gateway_locations": zero_trust_gateway_locations_output, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-3": zero_trust_gateway_single_response_3_output, - "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, + "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, + "zero-trust-gateway_ip": zero$$trust$$gateway_ip, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks, + "zero-trust-gateway_locations": zero$$trust$$gateway_locations, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, + "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -746,33 +791,33 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_client-default": zero_trust_gateway_client_default_output, - "zero-trust-gateway_dns-destination-ips-id-read": zero_trust_gateway_dns_destination_ips_id_read_output, - "zero-trust-gateway_dns64-enabled": zero_trust_gateway_dns64_enabled_output, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero_trust_gateway_dns_destination_ipv6_block_id_output, - "zero-trust-gateway_doh_endpoint": zero_trust_gateway_doh_endpoint_output, - "zero-trust-gateway_dot_endpoint": zero_trust_gateway_dot_endpoint_output, - "zero-trust-gateway_ecs-support": zero_trust_gateway_ecs_support_output, - "zero-trust-gateway_endpoints": zero_trust_gateway_endpoints_output, - "zero-trust-gateway_ip": zero_trust_gateway_ip_output, - "zero-trust-gateway_ip_network": zero_trust_gateway_ip_network_output, - "zero-trust-gateway_ip_networks": zero_trust_gateway_ip_networks_output, - "zero-trust-gateway_ipv4_endpoint": zero_trust_gateway_ipv4_endpoint_output, - "zero-trust-gateway_ipv4_network": zero_trust_gateway_ipv4_network_output, - "zero-trust-gateway_ipv4_networks": zero_trust_gateway_ipv4_networks_output, - "zero-trust-gateway_ipv6_endpoint": zero_trust_gateway_ipv6_endpoint_output, - "zero-trust-gateway_ipv6_network": zero_trust_gateway_ipv6_network_output, - "zero-trust-gateway_ipv6_networks": zero_trust_gateway_ipv6_networks_output, - "zero-trust-gateway_locations": zero_trust_gateway_locations_output, - "zero-trust-gateway_max-ttl": zero_trust_gateway_max_ttl_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-2": zero_trust_gateway_name_2_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-3": zero_trust_gateway_single_response_3_output, - "zero-trust-gateway_subdomain": zero_trust_gateway_subdomain_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, + "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, + "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, + "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, + "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, + "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, + "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, + "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, + "zero-trust-gateway_ip": zero$$trust$$gateway_ip, + "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, + "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, + "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, + "zero-trust-gateway_ipv4_network": zero$$trust$$gateway_ipv4_network, + "zero-trust-gateway_ipv4_networks": zero$$trust$$gateway_ipv4_networks, + "zero-trust-gateway_ipv6_endpoint": zero$$trust$$gateway_ipv6_endpoint, + "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network, + "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks, + "zero-trust-gateway_locations": zero$$trust$$gateway_locations, + "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, + "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/logging/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/logging/outputs.ts index 4f828b46d..aadc5f68b 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/logging/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/logging/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_account-log-options` in responses. */ -export const zero_trust_gateway_account_log_options_output: JsonSchema = { +export const zero$$trust$$gateway_account$$log$$options: JsonSchema = { "properties": { "log_all": { "type": "boolean" @@ -22,7 +22,7 @@ export const zero_trust_gateway_account_log_options_output: JsonSchema = { * The schema of `zero-trust-gateway_gateway-account-logging-settings` in * responses. */ -export const zero_trust_gateway_gateway_account_logging_settings_output: JsonSchema = { +export const zero$$trust$$gateway_gateway$$account$$logging$$settings: JsonSchema = { "properties": { "redact_pii": { "type": "boolean" @@ -49,7 +49,7 @@ export const zero_trust_gateway_gateway_account_logging_settings_output: JsonSch * The schema of `zero-trust-gateway_gateway-account-logging-settings-response` * in responses. */ -export const zero_trust_gateway_gateway_account_logging_settings_response_output: JsonSchema = { +export const zero$$trust$$gateway_gateway$$account$$logging$$settings$$response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/gateway/logging/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/logging/schemas.ts index 10207ddd6..672270906 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/logging/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/logging/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_account-log-options`. */ -export const zero_trust_gateway_account_log_options: JsonSchema = { +export const zero$$trust$$gateway_account$$log$$options: JsonSchema = { "properties": { "log_all": { "default": false, @@ -25,7 +25,7 @@ export const zero_trust_gateway_account_log_options: JsonSchema = { /** * The schema of `zero-trust-gateway_gateway-account-logging-settings`. */ -export const zero_trust_gateway_gateway_account_logging_settings: JsonSchema = { +export const zero$$trust$$gateway_gateway$$account$$logging$$settings: JsonSchema = { "properties": { "redact_pii": { "default": false, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts index ca27a50e0..7eb69eabc 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts @@ -3,52 +3,60 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, } from "../../outputs.js"; -import { zero_trust_gateway_identifier } from "../schemas.js"; +import { zero$$trust$$gateway_identifier } from "../schemas.js"; import { - zero_trust_gateway_account_log_options_output, - zero_trust_gateway_gateway_account_logging_settings_output, - zero_trust_gateway_gateway_account_logging_settings_response_output, + zero$$trust$$gateway_account$$log$$options, + zero$$trust$$gateway_gateway$$account$$logging$$settings, + zero$$trust$$gateway_gateway$$account$$logging$$settings$$response, } from "./outputs.js"; import { - zero_trust_gateway_account_log_options, - zero_trust_gateway_gateway_account_logging_settings, + zero$$trust$$gateway_account$$log$$options as zero$$trust$$gateway_account$$log$$options$, + zero$$trust$$gateway_gateway$$account$$logging$$settings as zero$$trust$$gateway_gateway$$account$$logging$$settings$, } from "./schemas.js"; /** - * The tools of `zero_trust.gateway.logging`. + * The tools of `zeroTrust.gateway.logging`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_logging_get", + name: "zeroTrust_gateway_logging_get", title: "Get logging settings for the Zero Trust account", description: "Retrieve the current logging settings for the Zero Trust account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier": zero_trust_gateway_identifier, + "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings-response", $defs: { - "zero-trust-gateway_account-log-options": zero_trust_gateway_account_log_options_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_gateway-account-logging-settings": zero_trust_gateway_gateway_account_logging_settings_output, - "zero-trust-gateway_gateway-account-logging-settings-response": zero_trust_gateway_gateway_account_logging_settings_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_account-log-options": zero$$trust$$gateway_account$$log$$options, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_gateway-account-logging-settings": zero$$trust$$gateway_gateway$$account$$logging$$settings, + "zero-trust-gateway_gateway-account-logging-settings-response": zero$$trust$$gateway_gateway$$account$$logging$$settings$$response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, annotations: { @@ -77,12 +85,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_account-log-options": zero_trust_gateway_account_log_options_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_gateway-account-logging-settings": zero_trust_gateway_gateway_account_logging_settings_output, - "zero-trust-gateway_gateway-account-logging-settings-response": zero_trust_gateway_gateway_account_logging_settings_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_account-log-options": zero$$trust$$gateway_account$$log$$options, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_gateway-account-logging-settings": zero$$trust$$gateway_gateway$$account$$logging$$settings, + "zero-trust-gateway_gateway-account-logging-settings-response": zero$$trust$$gateway_gateway$$account$$logging$$settings$$response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, request: (args) => ({ @@ -90,38 +98,46 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_logging_update", + name: "zeroTrust_gateway_logging_update", title: "Update Zero Trust account logging settings", description: "Update logging settings for the current Zero Trust account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." - }, "body": { "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "zero-trust-gateway_account-log-options": zero_trust_gateway_account_log_options, - "zero-trust-gateway_gateway-account-logging-settings": zero_trust_gateway_gateway_account_logging_settings, - "zero-trust-gateway_identifier": zero_trust_gateway_identifier, + "zero-trust-gateway_account-log-options": zero$$trust$$gateway_account$$log$$options$, + "zero-trust-gateway_gateway-account-logging-settings": zero$$trust$$gateway_gateway$$account$$logging$$settings$, + "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings-response", $defs: { - "zero-trust-gateway_account-log-options": zero_trust_gateway_account_log_options_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_gateway-account-logging-settings": zero_trust_gateway_gateway_account_logging_settings_output, - "zero-trust-gateway_gateway-account-logging-settings-response": zero_trust_gateway_gateway_account_logging_settings_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_account-log-options": zero$$trust$$gateway_account$$log$$options, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_gateway-account-logging-settings": zero$$trust$$gateway_gateway$$account$$logging$$settings, + "zero-trust-gateway_gateway-account-logging-settings-response": zero$$trust$$gateway_gateway$$account$$logging$$settings$$response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, annotations: { @@ -150,12 +166,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_account-log-options": zero_trust_gateway_account_log_options_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_gateway-account-logging-settings": zero_trust_gateway_gateway_account_logging_settings_output, - "zero-trust-gateway_gateway-account-logging-settings-response": zero_trust_gateway_gateway_account_logging_settings_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_account-log-options": zero$$trust$$gateway_account$$log$$options, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_gateway-account-logging-settings": zero$$trust$$gateway_gateway$$account$$logging$$settings, + "zero-trust-gateway_gateway-account-logging-settings-response": zero$$trust$$gateway_gateway$$account$$logging$$settings$$response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts index afc1f67a1..1a3a6d84f 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zero-trust-gateway_api-response-collection` in responses. */ -export const zero_trust_gateway_api_response_collection_output: JsonSchema = { +export const zero$$trust$$gateway_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-common" @@ -25,7 +25,7 @@ export const zero_trust_gateway_api_response_collection_output: JsonSchema = { /** * The schema of `zero-trust-gateway_api-response-common` in responses. */ -export const zero_trust_gateway_api_response_common_output: JsonSchema = { +export const zero$$trust$$gateway_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zero-trust-gateway_messages" @@ -51,14 +51,14 @@ export const zero_trust_gateway_api_response_common_output: JsonSchema = { /** * The schema of `zero-trust-gateway_cf_account_id` in responses. */ -export const zero_trust_gateway_cf_account_id_output: JsonSchema = { +export const zero$$trust$$gateway_cf_account_id: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_empty_response` in responses. */ -export const zero_trust_gateway_empty_response_output: JsonSchema = { +export const zero$$trust$$gateway_empty_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -77,7 +77,7 @@ export const zero_trust_gateway_empty_response_output: JsonSchema = { /** * The schema of `zero-trust-gateway_gateway_account` in responses. */ -export const zero_trust_gateway_gateway_account_output: JsonSchema = { +export const zero$$trust$$gateway_gateway_account: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -107,21 +107,21 @@ export const zero_trust_gateway_gateway_account_output: JsonSchema = { /** * The schema of `zero-trust-gateway_gateway_tag` in responses. */ -export const zero_trust_gateway_gateway_tag_output: JsonSchema = { +export const zero$$trust$$gateway_gateway_tag: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_provider_name` in responses. */ -export const zero_trust_gateway_provider_name_output: JsonSchema = { +export const zero$$trust$$gateway_provider_name: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_result_info` in responses. */ -export const zero_trust_gateway_result_info_output: JsonSchema = { +export const zero$$trust$$gateway_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -142,7 +142,7 @@ export const zero_trust_gateway_result_info_output: JsonSchema = { /** * The schema of `zero-trust-gateway_timestamp` in responses. */ -export const zero_trust_gateway_timestamp_output: JsonSchema = { +export const zero$$trust$$gateway_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -150,6 +150,6 @@ export const zero_trust_gateway_timestamp_output: JsonSchema = { /** * The schema of `zero-trust-gateway_uuid-3` in responses. */ -export const zero_trust_gateway_uuid_3_output: JsonSchema = { +export const zero$$trust$$gateway_uuid$$3: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts index 2f11e5448..e643d22a4 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_contents` in responses. */ -export const zero_trust_gateway_contents_output: JsonSchema = { +export const zero$$trust$$gateway_contents: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_description-4` in responses. */ -export const zero_trust_gateway_description_4_output: JsonSchema = { +export const zero$$trust$$gateway_description$$4: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_name-7` in responses. */ -export const zero_trust_gateway_name_7_output: JsonSchema = { +export const zero$$trust$$gateway_name$$7: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_pacfile` in responses. */ -export const zero_trust_gateway_pacfile_output: JsonSchema = { +export const zero$$trust$$gateway_pacfile: JsonSchema = { "properties": { "contents": { "$ref": "#/$defs/zero-trust-gateway_contents" @@ -60,7 +60,7 @@ export const zero_trust_gateway_pacfile_output: JsonSchema = { /** * The schema of `zero-trust-gateway_response_collection-10` in responses. */ -export const zero_trust_gateway_response_collection_10_output: JsonSchema = { +export const zero$$trust$$gateway_response_collection$$10: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" @@ -118,7 +118,7 @@ export const zero_trust_gateway_response_collection_10_output: JsonSchema = { /** * The schema of `zero-trust-gateway_single_response-7` in responses. */ -export const zero_trust_gateway_single_response_7_output: JsonSchema = { +export const zero$$trust$$gateway_single_response$$7: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -137,13 +137,13 @@ export const zero_trust_gateway_single_response_7_output: JsonSchema = { /** * The schema of `zero-trust-gateway_slug` in responses. */ -export const zero_trust_gateway_slug_output: JsonSchema = { +export const zero$$trust$$gateway_slug: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_url` in responses. */ -export const zero_trust_gateway_url_output: JsonSchema = { +export const zero$$trust$$gateway_url: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/schemas.ts index 729b9326d..f2f8954a4 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_contents`. */ -export const zero_trust_gateway_contents: JsonSchema = { +export const zero$$trust$$gateway_contents: JsonSchema = { "description": "Actual contents of the PAC file", "type": "string" }; @@ -14,7 +14,7 @@ export const zero_trust_gateway_contents: JsonSchema = { /** * The schema of `zero-trust-gateway_description-4`. */ -export const zero_trust_gateway_description_4: JsonSchema = { +export const zero$$trust$$gateway_description$$4: JsonSchema = { "description": "Detailed description of the PAC file.", "type": "string" }; @@ -22,7 +22,7 @@ export const zero_trust_gateway_description_4: JsonSchema = { /** * The schema of `zero-trust-gateway_name-7`. */ -export const zero_trust_gateway_name_7: JsonSchema = { +export const zero$$trust$$gateway_name$$7: JsonSchema = { "description": "Name of the PAC file.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts index 6bb6aaf1f..eda2e092a 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts @@ -1,53 +1,49 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, - zero_trust_gateway_read_only_timestamp_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, + zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero_trust_gateway_identifier_2 } from "../../schemas.js"; +import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_empty_response_output, - zero_trust_gateway_result_info_output, - zero_trust_gateway_uuid_3_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_empty_response, + zero$$trust$$gateway_result_info, + zero$$trust$$gateway_uuid$$3, } from "../outputs.js"; -import { zero_trust_gateway_uuid_3 } from "../schemas.js"; +import { zero$$trust$$gateway_uuid$$3 as zero$$trust$$gateway_uuid$$3$ } from "../schemas.js"; import { - zero_trust_gateway_contents_output, - zero_trust_gateway_description_4_output, - zero_trust_gateway_name_7_output, - zero_trust_gateway_pacfile_output, - zero_trust_gateway_response_collection_10_output, - zero_trust_gateway_single_response_7_output, - zero_trust_gateway_slug_output, - zero_trust_gateway_url_output, + zero$$trust$$gateway_contents, + zero$$trust$$gateway_description$$4, + zero$$trust$$gateway_name$$7, + zero$$trust$$gateway_pacfile, + zero$$trust$$gateway_response_collection$$10, + zero$$trust$$gateway_single_response$$7, + zero$$trust$$gateway_slug, + zero$$trust$$gateway_url, } from "./outputs.js"; import { - zero_trust_gateway_contents, - zero_trust_gateway_description_4, - zero_trust_gateway_name_7, + zero$$trust$$gateway_contents as zero$$trust$$gateway_contents$, + zero$$trust$$gateway_description$$4 as zero$$trust$$gateway_description$$4$, + zero$$trust$$gateway_name$$7 as zero$$trust$$gateway_name$$7$, } from "./schemas.js"; /** - * The tools of `zero_trust.gateway.pacfiles`. + * The tools of `zeroTrust.gateway.pacfiles`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_pacfiles_create", + name: "zeroTrust_gateway_pacfiles_create", title: "Create a PAC file", description: "Create a new Zero Trust Gateway PAC file.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "contents": { @@ -72,33 +68,45 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "zero-trust-gateway_contents": zero_trust_gateway_contents, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7, + "zero-trust-gateway_contents": zero$$trust$$gateway_contents$, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4$, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-7", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_contents": zero_trust_gateway_contents_output, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, - "zero-trust-gateway_pacfile": zero_trust_gateway_pacfile_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-7": zero_trust_gateway_single_response_7_output, - "zero-trust-gateway_slug": zero_trust_gateway_slug_output, - "zero-trust-gateway_url": zero_trust_gateway_url_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_contents": zero$$trust$$gateway_contents, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, + "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, + "zero-trust-gateway_slug": zero$$trust$$gateway_slug, + "zero-trust-gateway_url": zero$$trust$$gateway_url, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -132,18 +140,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_contents": zero_trust_gateway_contents_output, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, - "zero-trust-gateway_pacfile": zero_trust_gateway_pacfile_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-7": zero_trust_gateway_single_response_7_output, - "zero-trust-gateway_slug": zero_trust_gateway_slug_output, - "zero-trust-gateway_url": zero_trust_gateway_url_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_contents": zero$$trust$$gateway_contents, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, + "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, + "zero-trust-gateway_slug": zero$$trust$$gateway_slug, + "zero-trust-gateway_url": zero$$trust$$gateway_url, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -152,35 +160,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_pacfiles_delete", + name: "zeroTrust_gateway_pacfiles_delete", title: "Delete a PAC file", description: "Delete a configured Zero Trust Gateway PAC file.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "pacfile_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "pacfile_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + } + }, + "required": [ + "account_id", + "pacfile_id" + ], + "type": "object" } }, required: [ - "account_id", - "pacfile_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, annotations: { @@ -214,10 +230,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, request: (args) => ({ @@ -225,43 +241,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_pacfiles_get", + name: "zeroTrust_gateway_pacfiles_get", title: "Get a PAC file", description: "Get a single Zero Trust Gateway PAC file.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "pacfile_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "pacfile_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + } + }, + "required": [ + "account_id", + "pacfile_id" + ], + "type": "object" } }, required: [ - "account_id", - "pacfile_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-7", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_contents": zero_trust_gateway_contents_output, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, - "zero-trust-gateway_pacfile": zero_trust_gateway_pacfile_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-7": zero_trust_gateway_single_response_7_output, - "zero-trust-gateway_slug": zero_trust_gateway_slug_output, - "zero-trust-gateway_url": zero_trust_gateway_url_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_contents": zero$$trust$$gateway_contents, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, + "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, + "zero-trust-gateway_slug": zero$$trust$$gateway_slug, + "zero-trust-gateway_url": zero$$trust$$gateway_url, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -296,18 +320,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_contents": zero_trust_gateway_contents_output, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, - "zero-trust-gateway_pacfile": zero_trust_gateway_pacfile_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-7": zero_trust_gateway_single_response_7_output, - "zero-trust-gateway_slug": zero_trust_gateway_slug_output, - "zero-trust-gateway_url": zero_trust_gateway_url_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_contents": zero$$trust$$gateway_contents, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, + "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, + "zero-trust-gateway_slug": zero$$trust$$gateway_slug, + "zero-trust-gateway_url": zero$$trust$$gateway_url, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -315,48 +339,61 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_pacfiles_list", + name: "zeroTrust_gateway_pacfiles_list", title: "List PAC files", description: "List all Zero Trust Gateway PAC files for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" }, - "per_page": { - "default": 50, - "description": "Number of items per page.", - "type": "integer" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "integer" + }, + "per_page": { + "default": 50, + "description": "Number of items per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-10", $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-10": zero_trust_gateway_response_collection_10_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_slug": zero_trust_gateway_slug_output, - "zero-trust-gateway_url": zero_trust_gateway_url_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-10": zero$$trust$$gateway_response_collection$$10, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_slug": zero$$trust$$gateway_slug, + "zero-trust-gateway_url": zero$$trust$$gateway_url, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -391,39 +428,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-10": zero_trust_gateway_response_collection_10_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_slug": zero_trust_gateway_slug_output, - "zero-trust-gateway_url": zero_trust_gateway_url_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-10": zero$$trust$$gateway_response_collection$$10, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_slug": zero$$trust$$gateway_slug, + "zero-trust-gateway_url": zero$$trust$$gateway_url, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/pacfiles`, query: [ - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_gateway_pacfiles_update", + name: "zeroTrust_gateway_pacfiles_update", title: "Update a Zero Trust Gateway PAC file", description: "Update a configured Zero Trust Gateway PAC file.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "contents": { @@ -446,37 +479,49 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "pacfile_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "pacfile_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + } + }, + "required": [ + "account_id", + "pacfile_id" + ], + "type": "object" } }, required: [ - "account_id", - "pacfile_id", + "path", "body" ], $defs: { - "zero-trust-gateway_contents": zero_trust_gateway_contents, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3, + "zero-trust-gateway_contents": zero$$trust$$gateway_contents$, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4$, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7$, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-7", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_contents": zero_trust_gateway_contents_output, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, - "zero-trust-gateway_pacfile": zero_trust_gateway_pacfile_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-7": zero_trust_gateway_single_response_7_output, - "zero-trust-gateway_slug": zero_trust_gateway_slug_output, - "zero-trust-gateway_url": zero_trust_gateway_url_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_contents": zero$$trust$$gateway_contents, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, + "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, + "zero-trust-gateway_slug": zero$$trust$$gateway_slug, + "zero-trust-gateway_url": zero$$trust$$gateway_url, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -510,18 +555,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_contents": zero_trust_gateway_contents_output, - "zero-trust-gateway_description-4": zero_trust_gateway_description_4_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-7": zero_trust_gateway_name_7_output, - "zero-trust-gateway_pacfile": zero_trust_gateway_pacfile_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-7": zero_trust_gateway_single_response_7_output, - "zero-trust-gateway_slug": zero_trust_gateway_slug_output, - "zero-trust-gateway_url": zero_trust_gateway_url_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_contents": zero$$trust$$gateway_contents, + "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, + "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, + "zero-trust-gateway_slug": zero$$trust$$gateway_slug, + "zero-trust-gateway_url": zero$$trust$$gateway_url, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts index 207e726b6..6f32fc8f0 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_ips` in responses. */ -export const zero_trust_gateway_ips_output: JsonSchema = { +export const zero$$trust$$gateway_ips: JsonSchema = { "items": { "type": "string" }, @@ -16,14 +16,14 @@ export const zero_trust_gateway_ips_output: JsonSchema = { /** * The schema of `zero-trust-gateway_name-6` in responses. */ -export const zero_trust_gateway_name_6_output: JsonSchema = { +export const zero$$trust$$gateway_name$$6: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_proxy-endpoint-identity` in responses. */ -export const zero_trust_gateway_proxy_endpoint_identity_output: JsonSchema = { +export const zero$$trust$$gateway_proxy$$endpoint$$identity: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" @@ -57,7 +57,7 @@ export const zero_trust_gateway_proxy_endpoint_identity_output: JsonSchema = { /** * The schema of `zero-trust-gateway_proxy-endpoint-ip` in responses. */ -export const zero_trust_gateway_proxy_endpoint_ip_output: JsonSchema = { +export const zero$$trust$$gateway_proxy$$endpoint$$ip: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" @@ -94,7 +94,7 @@ export const zero_trust_gateway_proxy_endpoint_ip_output: JsonSchema = { /** * The schema of `zero-trust-gateway_proxy-endpoints` in responses. */ -export const zero_trust_gateway_proxy_endpoints_output: JsonSchema = { +export const zero$$trust$$gateway_proxy$$endpoints: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/zero-trust-gateway_proxy-endpoint-ip" @@ -108,7 +108,7 @@ export const zero_trust_gateway_proxy_endpoints_output: JsonSchema = { /** * The schema of `zero-trust-gateway_response_collection-9` in responses. */ -export const zero_trust_gateway_response_collection_9_output: JsonSchema = { +export const zero$$trust$$gateway_response_collection$$9: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" @@ -130,7 +130,7 @@ export const zero_trust_gateway_response_collection_9_output: JsonSchema = { /** * The schema of `zero-trust-gateway_single_response-5` in responses. */ -export const zero_trust_gateway_single_response_5_output: JsonSchema = { +export const zero$$trust$$gateway_single_response$$5: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -149,6 +149,6 @@ export const zero_trust_gateway_single_response_5_output: JsonSchema = { /** * The schema of `zero-trust-gateway_subdomain-2` in responses. */ -export const zero_trust_gateway_subdomain_2_output: JsonSchema = { +export const zero$$trust$$gateway_subdomain$$2: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/schemas.ts index 17cb53494..32685ff2c 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_ips`. */ -export const zero_trust_gateway_ips: JsonSchema = { +export const zero$$trust$$gateway_ips: JsonSchema = { "description": "Specify the list of CIDRs to restrict ingress connections.", "items": { "type": "string" @@ -17,7 +17,7 @@ export const zero_trust_gateway_ips: JsonSchema = { /** * The schema of `zero-trust-gateway_name-6`. */ -export const zero_trust_gateway_name_6: JsonSchema = { +export const zero$$trust$$gateway_name$$6: JsonSchema = { "description": "Specify the name of the proxy endpoint.", "type": "string" }; @@ -25,7 +25,7 @@ export const zero_trust_gateway_name_6: JsonSchema = { /** * The schema of `zero-trust-gateway_proxy-endpoint-identity-create`. */ -export const zero_trust_gateway_proxy_endpoint_identity_create: JsonSchema = { +export const zero$$trust$$gateway_proxy$$endpoint$$identity$$create: JsonSchema = { "properties": { "kind": { "description": "The proxy endpoint kind", @@ -49,7 +49,7 @@ export const zero_trust_gateway_proxy_endpoint_identity_create: JsonSchema = { /** * The schema of `zero-trust-gateway_proxy-endpoint-ip-create`. */ -export const zero_trust_gateway_proxy_endpoint_ip_create: JsonSchema = { +export const zero$$trust$$gateway_proxy$$endpoint$$ip$$create: JsonSchema = { "properties": { "kind": { "description": "The proxy endpoint kind", diff --git a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts index 800b6995f..28d044d4d 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts @@ -1,54 +1,50 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, - zero_trust_gateway_read_only_timestamp_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, + zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero_trust_gateway_identifier_2 } from "../../schemas.js"; +import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_empty_response_output, - zero_trust_gateway_result_info_output, - zero_trust_gateway_uuid_3_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_empty_response, + zero$$trust$$gateway_result_info, + zero$$trust$$gateway_uuid$$3, } from "../outputs.js"; -import { zero_trust_gateway_uuid_3 } from "../schemas.js"; +import { zero$$trust$$gateway_uuid$$3 as zero$$trust$$gateway_uuid$$3$ } from "../schemas.js"; import { - zero_trust_gateway_ips_output, - zero_trust_gateway_name_6_output, - zero_trust_gateway_proxy_endpoint_identity_output, - zero_trust_gateway_proxy_endpoint_ip_output, - zero_trust_gateway_proxy_endpoints_output, - zero_trust_gateway_response_collection_9_output, - zero_trust_gateway_single_response_5_output, - zero_trust_gateway_subdomain_2_output, + zero$$trust$$gateway_ips, + zero$$trust$$gateway_name$$6, + zero$$trust$$gateway_proxy$$endpoint$$identity, + zero$$trust$$gateway_proxy$$endpoint$$ip, + zero$$trust$$gateway_proxy$$endpoints, + zero$$trust$$gateway_response_collection$$9, + zero$$trust$$gateway_single_response$$5, + zero$$trust$$gateway_subdomain$$2, } from "./outputs.js"; import { - zero_trust_gateway_ips, - zero_trust_gateway_name_6, - zero_trust_gateway_proxy_endpoint_identity_create, - zero_trust_gateway_proxy_endpoint_ip_create, + zero$$trust$$gateway_ips as zero$$trust$$gateway_ips$, + zero$$trust$$gateway_name$$6 as zero$$trust$$gateway_name$$6$, + zero$$trust$$gateway_proxy$$endpoint$$identity$$create, + zero$$trust$$gateway_proxy$$endpoint$$ip$$create, } from "./schemas.js"; /** - * The tools of `zero_trust.gateway.proxy_endpoints`. + * The tools of `zeroTrust.gateway.proxyEndpoints`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_proxy_endpoints_create", + name: "zeroTrust_gateway_proxyEndpoints_create", title: "Create a proxy endpoint", description: "Create a new Zero Trust Gateway proxy endpoint.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "allOf": [ { @@ -76,33 +72,45 @@ export const tools: readonly Tool[] = [ ] } ] + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6, - "zero-trust-gateway_proxy-endpoint-identity-create": zero_trust_gateway_proxy_endpoint_identity_create, - "zero-trust-gateway_proxy-endpoint-ip-create": zero_trust_gateway_proxy_endpoint_ip_create, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6$, + "zero-trust-gateway_proxy-endpoint-identity-create": zero$$trust$$gateway_proxy$$endpoint$$identity$$create, + "zero-trust-gateway_proxy-endpoint-ip-create": zero$$trust$$gateway_proxy$$endpoint$$ip$$create, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-5", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_ips": zero_trust_gateway_ips_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, - "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, - "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, - "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-5": zero_trust_gateway_single_response_5_output, - "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_ips": zero$$trust$$gateway_ips, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, + "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, + "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, + "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, + "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -131,18 +139,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_ips": zero_trust_gateway_ips_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, - "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, - "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, - "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-5": zero_trust_gateway_single_response_5_output, - "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_ips": zero$$trust$$gateway_ips, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, + "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, + "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, + "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, + "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -151,35 +159,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_proxy_endpoints_delete", + name: "zeroTrust_gateway_proxyEndpoints_delete", title: "Delete a proxy endpoint", description: "Delete a configured Zero Trust Gateway proxy endpoint.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "proxy_endpoint_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "proxy_endpoint_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + } + }, + "required": [ + "account_id", + "proxy_endpoint_id" + ], + "type": "object" } }, required: [ - "account_id", - "proxy_endpoint_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, annotations: { @@ -208,10 +224,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, request: (args) => ({ @@ -219,16 +235,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_proxy_endpoints_edit", + name: "zeroTrust_gateway_proxyEndpoints_edit", title: "Update a proxy endpoint", description: "Update a configured Zero Trust Gateway proxy endpoint.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "ips": { @@ -242,36 +254,48 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "proxy_endpoint_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "proxy_endpoint_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + } + }, + "required": [ + "account_id", + "proxy_endpoint_id" + ], + "type": "object" } }, required: [ - "account_id", - "proxy_endpoint_id", + "path", "body" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_ips": zero_trust_gateway_ips, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_ips": zero$$trust$$gateway_ips$, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6$, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-5", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_ips": zero_trust_gateway_ips_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, - "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, - "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, - "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-5": zero_trust_gateway_single_response_5_output, - "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_ips": zero$$trust$$gateway_ips, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, + "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, + "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, + "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, + "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -300,18 +324,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_ips": zero_trust_gateway_ips_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, - "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, - "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, - "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-5": zero_trust_gateway_single_response_5_output, - "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_ips": zero$$trust$$gateway_ips, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, + "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, + "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, + "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, + "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -320,43 +344,51 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_proxy_endpoints_get", + name: "zeroTrust_gateway_proxyEndpoints_get", title: "Get a proxy endpoint", description: "Get a single Zero Trust Gateway proxy endpoint.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "proxy_endpoint_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "proxy_endpoint_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-3" + } + }, + "required": [ + "account_id", + "proxy_endpoint_id" + ], + "type": "object" } }, required: [ - "account_id", - "proxy_endpoint_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-5", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_ips": zero_trust_gateway_ips_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, - "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, - "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, - "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-5": zero_trust_gateway_single_response_5_output, - "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_ips": zero$$trust$$gateway_ips, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, + "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, + "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, + "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, + "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -385,18 +417,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_ips": zero_trust_gateway_ips_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, - "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, - "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, - "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_single_response-5": zero_trust_gateway_single_response_5_output, - "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_ips": zero$$trust$$gateway_ips, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, + "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, + "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, + "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, + "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -404,68 +436,81 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_proxy_endpoints_list", + name: "zeroTrust_gateway_proxyEndpoints_list", title: "List proxy endpoints", description: "List all Zero Trust Gateway proxy endpoints for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "direction": { - "description": "Sort direction. Only takes effect when `order_by` is also provided; it\nis ignored otherwise. When `direction` is omitted the effective\ndirection is field-specific: `created_at` and `updated_at` default to\ndescending (newest first); `name` defaults to ascending.\n * `asc` — ascending.\n * `desc` — descending.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "filter": { - "description": "Filter the returned proxy endpoints by one or more `field:value` pairs.\nRepeat the parameter to apply multiple filters; they are combined with\nlogical AND (an endpoint must satisfy every filter to be returned).\n\nSupported fields and their matching behaviour:\n * `name` — case-insensitive substring match on the endpoint name.\n * `id` — substring match on the endpoint ID (UUID), with or without dashes.\n * `kind` — exact match on the endpoint kind. The value must be `ip` or `identity`; any other value returns `400`.\n\nEach entry must match one of the per-field patterns below: the field\nmust be one of `name`, `id`, or `kind`; `name`/`id` accept any value,\nwhile `kind` only accepts `ip` or `identity`.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } }, - "type": "array" - }, - "order_by": { - "description": "Field to sort the returned endpoints by. When omitted, the order of\nresults is unspecified. Supported values:\n * `name` — sort alphabetically by endpoint name.\n * `created_at` — sort by creation time; defaults to descending unless `direction` is set.\n * `updated_at` — sort by last-modified time; defaults to descending unless `direction` is set.", - "enum": [ - "name", - "created_at", - "updated_at" + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "search": { - "description": "Case-insensitive substring match on the endpoint name. When combined\nwith `filter`, both must match (logical AND).", - "type": "string" + "query": { + "properties": { + "direction": { + "description": "Sort direction. Only takes effect when `order_by` is also provided; it\nis ignored otherwise. When `direction` is omitted the effective\ndirection is field-specific: `created_at` and `updated_at` default to\ndescending (newest first); `name` defaults to ascending.\n * `asc` — ascending.\n * `desc` — descending.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "filter": { + "description": "Filter the returned proxy endpoints by one or more `field:value` pairs.\nRepeat the parameter to apply multiple filters; they are combined with\nlogical AND (an endpoint must satisfy every filter to be returned).\n\nSupported fields and their matching behaviour:\n * `name` — case-insensitive substring match on the endpoint name.\n * `id` — substring match on the endpoint ID (UUID), with or without dashes.\n * `kind` — exact match on the endpoint kind. The value must be `ip` or `identity`; any other value returns `400`.\n\nEach entry must match one of the per-field patterns below: the field\nmust be one of `name`, `id`, or `kind`; `name`/`id` accept any value,\nwhile `kind` only accepts `ip` or `identity`.", + "items": { + "type": "string" + }, + "type": "array" + }, + "order_by": { + "description": "Field to sort the returned endpoints by. When omitted, the order of\nresults is unspecified. Supported values:\n * `name` — sort alphabetically by endpoint name.\n * `created_at` — sort by creation time; defaults to descending unless `direction` is set.\n * `updated_at` — sort by last-modified time; defaults to descending unless `direction` is set.", + "enum": [ + "name", + "created_at", + "updated_at" + ], + "type": "string" + }, + "search": { + "description": "Case-insensitive substring match on the endpoint name. When combined\nwith `filter`, both must match (logical AND).", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-9", $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_ips": zero_trust_gateway_ips_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, - "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, - "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, - "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-9": zero_trust_gateway_response_collection_9_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_ips": zero$$trust$$gateway_ips, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, + "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, + "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, + "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-9": zero$$trust$$gateway_response_collection$$9, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -494,29 +539,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_ips": zero_trust_gateway_ips_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-6": zero_trust_gateway_name_6_output, - "zero-trust-gateway_proxy-endpoint-identity": zero_trust_gateway_proxy_endpoint_identity_output, - "zero-trust-gateway_proxy-endpoint-ip": zero_trust_gateway_proxy_endpoint_ip_output, - "zero-trust-gateway_proxy-endpoints": zero_trust_gateway_proxy_endpoints_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-9": zero_trust_gateway_response_collection_9_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_subdomain-2": zero_trust_gateway_subdomain_2_output, - "zero-trust-gateway_uuid-3": zero_trust_gateway_uuid_3_output, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_ips": zero$$trust$$gateway_ips, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, + "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, + "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, + "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-9": zero$$trust$$gateway_response_collection$$9, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, + "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/proxy_endpoints`, query: [ - ["filter", args["filter"], true], - ["search", args["search"], true], - ["order_by", args["order_by"], true], - ["direction", args["direction"], true], + ["filter", param(args, "query", "filter"), true], + ["search", param(args, "query", "search"), true], + ["order_by", param(args, "query", "order_by"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts index 927e848ca..5d2d5a5f4 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_action` in responses. */ -export const zero_trust_gateway_action_output: JsonSchema = { +export const zero$$trust$$gateway_action: JsonSchema = { "enum": [ "on", "off", @@ -32,7 +32,7 @@ export const zero_trust_gateway_action_output: JsonSchema = { /** * The schema of `zero-trust-gateway_deleted_at` in responses. */ -export const zero_trust_gateway_deleted_at_output: JsonSchema = { +export const zero$$trust$$gateway_deleted_at: JsonSchema = { "oneOf": [ { "format": "date-time", @@ -47,21 +47,21 @@ export const zero_trust_gateway_deleted_at_output: JsonSchema = { /** * The schema of `zero-trust-gateway_description-2` in responses. */ -export const zero_trust_gateway_description_2_output: JsonSchema = { +export const zero$$trust$$gateway_description$$2: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_device_posture` in responses. */ -export const zero_trust_gateway_device_posture_output: JsonSchema = { +export const zero$$trust$$gateway_device_posture: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_dns_resolver_settings_v4` in responses. */ -export const zero_trust_gateway_dns_resolver_settings_v4_output: JsonSchema = { +export const zero$$trust$$gateway_dns_resolver_settings_v4: JsonSchema = { "properties": { "ip": { "type": "string" @@ -85,7 +85,7 @@ export const zero_trust_gateway_dns_resolver_settings_v4_output: JsonSchema = { /** * The schema of `zero-trust-gateway_dns_resolver_settings_v6` in responses. */ -export const zero_trust_gateway_dns_resolver_settings_v6_output: JsonSchema = { +export const zero$$trust$$gateway_dns_resolver_settings_v6: JsonSchema = { "properties": { "ip": { "type": "string" @@ -109,14 +109,14 @@ export const zero_trust_gateway_dns_resolver_settings_v6_output: JsonSchema = { /** * The schema of `zero-trust-gateway_enabled` in responses. */ -export const zero_trust_gateway_enabled_output: JsonSchema = { +export const zero$$trust$$gateway_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `zero-trust-gateway_expiration` in responses. */ -export const zero_trust_gateway_expiration_output: JsonSchema = { +export const zero$$trust$$gateway_expiration: JsonSchema = { "oneOf": [ { "properties": { @@ -151,7 +151,7 @@ export const zero_trust_gateway_expiration_output: JsonSchema = { /** * The schema of `zero-trust-gateway_filters` in responses. */ -export const zero_trust_gateway_filters_output: JsonSchema = { +export const zero$$trust$$gateway_filters: JsonSchema = { "items": { "enum": [ "http", @@ -170,35 +170,35 @@ export const zero_trust_gateway_filters_output: JsonSchema = { /** * The schema of `zero-trust-gateway_identity` in responses. */ -export const zero_trust_gateway_identity_output: JsonSchema = { +export const zero$$trust$$gateway_identity: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_name-3` in responses. */ -export const zero_trust_gateway_name_3_output: JsonSchema = { +export const zero$$trust$$gateway_name$$3: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_precedence` in responses. */ -export const zero_trust_gateway_precedence_output: JsonSchema = { +export const zero$$trust$$gateway_precedence: JsonSchema = { "type": "integer" }; /** * The schema of `zero-trust-gateway_read_only` in responses. */ -export const zero_trust_gateway_read_only_output: JsonSchema = { +export const zero$$trust$$gateway_read_only: JsonSchema = { "type": "boolean" }; /** * The schema of `zero-trust-gateway_response_collection-6` in responses. */ -export const zero_trust_gateway_response_collection_6_output: JsonSchema = { +export const zero$$trust$$gateway_response_collection$$6: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-collection" @@ -220,7 +220,7 @@ export const zero_trust_gateway_response_collection_6_output: JsonSchema = { /** * The schema of `zero-trust-gateway_rule-settings` in responses. */ -export const zero_trust_gateway_rule_settings_output: JsonSchema = { +export const zero$$trust$$gateway_rule$$settings: JsonSchema = { "properties": { "add_headers": { "oneOf": [ @@ -695,7 +695,7 @@ export const zero_trust_gateway_rule_settings_output: JsonSchema = { /** * The schema of `zero-trust-gateway_rules` in responses. */ -export const zero_trust_gateway_rules_output: JsonSchema = { +export const zero$$trust$$gateway_rules: JsonSchema = { "properties": { "action": { "$ref": "#/$defs/zero-trust-gateway_action" @@ -775,7 +775,7 @@ export const zero_trust_gateway_rules_output: JsonSchema = { /** * The schema of `zero-trust-gateway_schedule` in responses. */ -export const zero_trust_gateway_schedule_output: JsonSchema = { +export const zero$$trust$$gateway_schedule: JsonSchema = { "oneOf": [ { "properties": { @@ -815,14 +815,14 @@ export const zero_trust_gateway_schedule_output: JsonSchema = { /** * The schema of `zero-trust-gateway_sharable` in responses. */ -export const zero_trust_gateway_sharable_output: JsonSchema = { +export const zero$$trust$$gateway_sharable: JsonSchema = { "type": "boolean" }; /** * The schema of `zero-trust-gateway_single_response-4` in responses. */ -export const zero_trust_gateway_single_response_4_output: JsonSchema = { +export const zero$$trust$$gateway_single_response$$4: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zero-trust-gateway_api-response-single" @@ -841,21 +841,21 @@ export const zero_trust_gateway_single_response_4_output: JsonSchema = { /** * The schema of `zero-trust-gateway_source_account` in responses. */ -export const zero_trust_gateway_source_account_output: JsonSchema = { +export const zero$$trust$$gateway_source_account: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_traffic` in responses. */ -export const zero_trust_gateway_traffic_output: JsonSchema = { +export const zero$$trust$$gateway_traffic: JsonSchema = { "type": "string" }; /** * The schema of `zero-trust-gateway_uuid-4` in responses. */ -export const zero_trust_gateway_uuid_4_output: JsonSchema = { +export const zero$$trust$$gateway_uuid$$4: JsonSchema = { "format": "uuid", "type": "string" }; @@ -863,14 +863,14 @@ export const zero_trust_gateway_uuid_4_output: JsonSchema = { /** * The schema of `zero-trust-gateway_version` in responses. */ -export const zero_trust_gateway_version_output: JsonSchema = { +export const zero$$trust$$gateway_version: JsonSchema = { "type": "integer" }; /** * The schema of `zero-trust-gateway_warning_status` in responses. */ -export const zero_trust_gateway_warning_status_output: JsonSchema = { +export const zero$$trust$$gateway_warning_status: JsonSchema = { "oneOf": [ { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/gateway/rules/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/rules/schemas.ts index 6e29aaca9..a7283abd5 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/rules/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/rules/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `zero-trust-gateway_action`. */ -export const zero_trust_gateway_action: JsonSchema = { +export const zero$$trust$$gateway_action: JsonSchema = { "description": "Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to `true`.", "enum": [ "on", @@ -33,7 +33,7 @@ export const zero_trust_gateway_action: JsonSchema = { /** * The schema of `zero-trust-gateway_description-2`. */ -export const zero_trust_gateway_description_2: JsonSchema = { +export const zero$$trust$$gateway_description$$2: JsonSchema = { "description": "Specify the rule description.", "type": "string" }; @@ -41,7 +41,7 @@ export const zero_trust_gateway_description_2: JsonSchema = { /** * The schema of `zero-trust-gateway_device_posture`. */ -export const zero_trust_gateway_device_posture: JsonSchema = { +export const zero$$trust$$gateway_device_posture: JsonSchema = { "description": "Specify the wirefilter expression used for device posture check. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", "type": "string" }; @@ -49,7 +49,7 @@ export const zero_trust_gateway_device_posture: JsonSchema = { /** * The schema of `zero-trust-gateway_dns_resolver_settings_v4`. */ -export const zero_trust_gateway_dns_resolver_settings_v4: JsonSchema = { +export const zero$$trust$$gateway_dns_resolver_settings_v4: JsonSchema = { "properties": { "ip": { "description": "Specify the IPv4 address of the upstream resolver.", @@ -77,7 +77,7 @@ export const zero_trust_gateway_dns_resolver_settings_v4: JsonSchema = { /** * The schema of `zero-trust-gateway_dns_resolver_settings_v6`. */ -export const zero_trust_gateway_dns_resolver_settings_v6: JsonSchema = { +export const zero$$trust$$gateway_dns_resolver_settings_v6: JsonSchema = { "properties": { "ip": { "description": "Specify the IPv6 address of the upstream resolver.", @@ -105,7 +105,7 @@ export const zero_trust_gateway_dns_resolver_settings_v6: JsonSchema = { /** * The schema of `zero-trust-gateway_enabled`. */ -export const zero_trust_gateway_enabled: JsonSchema = { +export const zero$$trust$$gateway_enabled: JsonSchema = { "description": "Specify whether the rule is enabled.", "type": "boolean" }; @@ -113,7 +113,7 @@ export const zero_trust_gateway_enabled: JsonSchema = { /** * The schema of `zero-trust-gateway_expiration`. */ -export const zero_trust_gateway_expiration: JsonSchema = { +export const zero$$trust$$gateway_expiration: JsonSchema = { "description": "Defines the expiration time stamp and default duration of a DNS policy. Takes precedence over the policy's `schedule` configuration, if any. This does not apply to HTTP or network policies. Settable only for `dns` rules.", "oneOf": [ { @@ -147,7 +147,7 @@ export const zero_trust_gateway_expiration: JsonSchema = { /** * The schema of `zero-trust-gateway_filters`. */ -export const zero_trust_gateway_filters: JsonSchema = { +export const zero$$trust$$gateway_filters: JsonSchema = { "description": "Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions. Can only contain a single value.", "items": { "enum": [ @@ -167,7 +167,7 @@ export const zero_trust_gateway_filters: JsonSchema = { /** * The schema of `zero-trust-gateway_identity`. */ -export const zero_trust_gateway_identity: JsonSchema = { +export const zero$$trust$$gateway_identity: JsonSchema = { "description": "Specify the wirefilter expression used for identity matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", "type": "string" }; @@ -175,7 +175,7 @@ export const zero_trust_gateway_identity: JsonSchema = { /** * The schema of `zero-trust-gateway_name-3`. */ -export const zero_trust_gateway_name_3: JsonSchema = { +export const zero$$trust$$gateway_name$$3: JsonSchema = { "description": "Specify the rule name.", "type": "string" }; @@ -183,7 +183,7 @@ export const zero_trust_gateway_name_3: JsonSchema = { /** * The schema of `zero-trust-gateway_precedence`. */ -export const zero_trust_gateway_precedence: JsonSchema = { +export const zero$$trust$$gateway_precedence: JsonSchema = { "description": "Set the order of your rules. Lower values indicate higher precedence. At each processing phase, evaluate applicable rules in ascending order of this value. Refer to [Order of enforcement](http://developers.cloudflare.com/learning-paths/secure-internet-traffic/understand-policies/order-of-enforcement/#manage-precedence-with-terraform) to manage precedence via Terraform.", "type": "integer" }; @@ -191,7 +191,7 @@ export const zero_trust_gateway_precedence: JsonSchema = { /** * The schema of `zero-trust-gateway_rule-settings`. */ -export const zero_trust_gateway_rule_settings: JsonSchema = { +export const zero$$trust$$gateway_rule$$settings: JsonSchema = { "description": "Defines settings for this rule. Settings apply only to specific rule types and must use compatible selectors. If Terraform detects drift, confirm the setting supports your rule type and check whether the API modifies the value. Use API-returned values in your configuration to prevent drift.", "properties": { "add_headers": { @@ -732,7 +732,7 @@ export const zero_trust_gateway_rule_settings: JsonSchema = { /** * The schema of `zero-trust-gateway_schedule`. */ -export const zero_trust_gateway_schedule: JsonSchema = { +export const zero$$trust$$gateway_schedule: JsonSchema = { "description": "Defines the schedule for activating DNS policies. Settable only for `dns` and `dns_resolver` rules.", "oneOf": [ { @@ -781,7 +781,7 @@ export const zero_trust_gateway_schedule: JsonSchema = { /** * The schema of `zero-trust-gateway_traffic`. */ -export const zero_trust_gateway_traffic: JsonSchema = { +export const zero$$trust$$gateway_traffic: JsonSchema = { "description": "Specify the wirefilter expression used for traffic matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", "type": "string" }; @@ -789,7 +789,7 @@ export const zero_trust_gateway_traffic: JsonSchema = { /** * The schema of `zero-trust-gateway_uuid-4`. */ -export const zero_trust_gateway_uuid_4: JsonSchema = { +export const zero$$trust$$gateway_uuid$$4: JsonSchema = { "description": "Identify the API resource with a UUID.", "format": "uuid", "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts index 54f264a62..1a319a795 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts @@ -1,81 +1,77 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, - zero_trust_gateway_read_only_timestamp_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, + zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero_trust_gateway_identifier_2 } from "../../schemas.js"; +import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { - zero_trust_gateway_api_response_collection_output, - zero_trust_gateway_api_response_common_output, - zero_trust_gateway_empty_response_output, - zero_trust_gateway_result_info_output, - zero_trust_gateway_timestamp_output, + zero$$trust$$gateway_api$$response$$collection, + zero$$trust$$gateway_api$$response$$common, + zero$$trust$$gateway_empty_response, + zero$$trust$$gateway_result_info, + zero$$trust$$gateway_timestamp, } from "../outputs.js"; -import { zero_trust_gateway_timestamp } from "../schemas.js"; +import { zero$$trust$$gateway_timestamp as zero$$trust$$gateway_timestamp$ } from "../schemas.js"; import { - zero_trust_gateway_action_output, - zero_trust_gateway_deleted_at_output, - zero_trust_gateway_description_2_output, - zero_trust_gateway_device_posture_output, - zero_trust_gateway_dns_resolver_settings_v4_output, - zero_trust_gateway_dns_resolver_settings_v6_output, - zero_trust_gateway_enabled_output, - zero_trust_gateway_expiration_output, - zero_trust_gateway_filters_output, - zero_trust_gateway_identity_output, - zero_trust_gateway_name_3_output, - zero_trust_gateway_precedence_output, - zero_trust_gateway_read_only_output, - zero_trust_gateway_response_collection_6_output, - zero_trust_gateway_rule_settings_output, - zero_trust_gateway_rules_output, - zero_trust_gateway_schedule_output, - zero_trust_gateway_sharable_output, - zero_trust_gateway_single_response_4_output, - zero_trust_gateway_source_account_output, - zero_trust_gateway_traffic_output, - zero_trust_gateway_uuid_4_output, - zero_trust_gateway_version_output, - zero_trust_gateway_warning_status_output, + zero$$trust$$gateway_action, + zero$$trust$$gateway_deleted_at, + zero$$trust$$gateway_description$$2, + zero$$trust$$gateway_device_posture, + zero$$trust$$gateway_dns_resolver_settings_v4, + zero$$trust$$gateway_dns_resolver_settings_v6, + zero$$trust$$gateway_enabled, + zero$$trust$$gateway_expiration, + zero$$trust$$gateway_filters, + zero$$trust$$gateway_identity, + zero$$trust$$gateway_name$$3, + zero$$trust$$gateway_precedence, + zero$$trust$$gateway_read_only, + zero$$trust$$gateway_response_collection$$6, + zero$$trust$$gateway_rule$$settings, + zero$$trust$$gateway_rules, + zero$$trust$$gateway_schedule, + zero$$trust$$gateway_sharable, + zero$$trust$$gateway_single_response$$4, + zero$$trust$$gateway_source_account, + zero$$trust$$gateway_traffic, + zero$$trust$$gateway_uuid$$4, + zero$$trust$$gateway_version, + zero$$trust$$gateway_warning_status, } from "./outputs.js"; import { - zero_trust_gateway_action, - zero_trust_gateway_description_2, - zero_trust_gateway_device_posture, - zero_trust_gateway_dns_resolver_settings_v4, - zero_trust_gateway_dns_resolver_settings_v6, - zero_trust_gateway_enabled, - zero_trust_gateway_expiration, - zero_trust_gateway_filters, - zero_trust_gateway_identity, - zero_trust_gateway_name_3, - zero_trust_gateway_precedence, - zero_trust_gateway_rule_settings, - zero_trust_gateway_schedule, - zero_trust_gateway_traffic, - zero_trust_gateway_uuid_4, + zero$$trust$$gateway_action as zero$$trust$$gateway_action$, + zero$$trust$$gateway_description$$2 as zero$$trust$$gateway_description$$2$, + zero$$trust$$gateway_device_posture as zero$$trust$$gateway_device_posture$, + zero$$trust$$gateway_dns_resolver_settings_v4 as zero$$trust$$gateway_dns_resolver_settings_v4$, + zero$$trust$$gateway_dns_resolver_settings_v6 as zero$$trust$$gateway_dns_resolver_settings_v6$, + zero$$trust$$gateway_enabled as zero$$trust$$gateway_enabled$, + zero$$trust$$gateway_expiration as zero$$trust$$gateway_expiration$, + zero$$trust$$gateway_filters as zero$$trust$$gateway_filters$, + zero$$trust$$gateway_identity as zero$$trust$$gateway_identity$, + zero$$trust$$gateway_name$$3 as zero$$trust$$gateway_name$$3$, + zero$$trust$$gateway_precedence as zero$$trust$$gateway_precedence$, + zero$$trust$$gateway_rule$$settings as zero$$trust$$gateway_rule$$settings$, + zero$$trust$$gateway_schedule as zero$$trust$$gateway_schedule$, + zero$$trust$$gateway_traffic as zero$$trust$$gateway_traffic$, + zero$$trust$$gateway_uuid$$4 as zero$$trust$$gateway_uuid$$4$, } from "./schemas.js"; /** - * The tools of `zero_trust.gateway.rules`. + * The tools of `zeroTrust.gateway.rules`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_rules_create", + name: "zeroTrust_gateway_rules_create", title: "Create a Zero Trust Gateway rule", description: "Create a new Zero Trust Gateway rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "action": { @@ -136,61 +132,73 @@ export const tools: readonly Tool[] = [ "name" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration, - "zero-trust-gateway_filters": zero_trust_gateway_filters, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_identity": zero_trust_gateway_identity, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic, + "zero-trust-gateway_action": zero$$trust$$gateway_action$, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2$, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture$, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4$, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6$, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled$, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration$, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters$, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity$, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3$, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence$, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings$, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule$, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp$, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-4", $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -219,34 +227,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ @@ -255,36 +263,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_rules_delete", + name: "zeroTrust_gateway_rules_delete", title: "Delete a Zero Trust Gateway rule", description: "Delete a Zero Trust Gateway rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "rule_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-4", - "description": "Identify the API resource with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "rule_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-4", + "description": "Identify the API resource with a UUID." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, annotations: { @@ -313,10 +329,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_empty_response": zero_trust_gateway_empty_response_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_empty_response": zero$$trust$$gateway_empty_response, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, }, }, request: (args) => ({ @@ -324,60 +340,68 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_rules_get", + name: "zeroTrust_gateway_rules_get", title: "Get Zero Trust Gateway rule details.", description: "Get a single Zero Trust Gateway rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "rule_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-4", - "description": "Identify the API resource with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "rule_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-4", + "description": "Identify the API resource with a UUID." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-4", $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -406,34 +430,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ @@ -441,85 +465,98 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_rules_list", + name: "zeroTrust_gateway_rules_list", title: "List Zero Trust Gateway rules", description: "List Zero Trust Gateway rules for an account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "direction": { - "description": "Sort direction. When `order_by` is omitted, this controls the direction\nof the existing precedence ordering. Shared rules remain first in either\ndirection. Accepted values are `asc` and `desc`.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "filter": { - "description": "Filter the returned rules by one or more `field:value` pairs. Repeat the\nparameter to combine filters with logical AND.\n\nSupported fields are `name`, `id`, `action`, `enabled`, `source_account`,\n`is_shared`, `filters`, and `expression` (max 1024 bytes). The `source_account`\nvalue is matched as a normalized UUID substring. The `filters` value must\nbe one of the rule filter names and matches a member of the rule's `filters`\narray. The `expression` filter performs a case-insensitive literal\nsubstring match across traffic, identity, and device posture expressions.", - "items": { - "type": "string" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } }, - "type": "array" - }, - "order_by": { - "description": "Field to sort the returned rules by. Supported values are `name`,\n`created_at`, `updated_at`, and `precedence`.", - "enum": [ - "name", - "created_at", - "updated_at", - "precedence" + "required": [ + "account_id" ], - "type": "string" + "type": "object" }, - "search": { - "description": "Case-insensitive substring search across rule name and description.", - "type": "string" + "query": { + "properties": { + "direction": { + "description": "Sort direction. When `order_by` is omitted, this controls the direction\nof the existing precedence ordering. Shared rules remain first in either\ndirection. Accepted values are `asc` and `desc`.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "filter": { + "description": "Filter the returned rules by one or more `field:value` pairs. Repeat the\nparameter to combine filters with logical AND.\n\nSupported fields are `name`, `id`, `action`, `enabled`, `source_account`,\n`is_shared`, `filters`, and `expression` (max 1024 bytes). The `source_account`\nvalue is matched as a normalized UUID substring. The `filters` value must\nbe one of the rule filter names and matches a member of the rule's `filters`\narray. The `expression` filter performs a case-insensitive literal\nsubstring match across traffic, identity, and device posture expressions.", + "items": { + "type": "string" + }, + "type": "array" + }, + "order_by": { + "description": "Field to sort the returned rules by. Supported values are `name`,\n`created_at`, `updated_at`, and `precedence`.", + "enum": [ + "name", + "created_at", + "updated_at", + "precedence" + ], + "type": "string" + }, + "search": { + "description": "Case-insensitive substring search across rule name and description.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-6", $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-6": zero_trust_gateway_response_collection_6_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-6": zero$$trust$$gateway_response_collection$$6, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -548,99 +585,107 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-6": zero_trust_gateway_response_collection_6_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-6": zero$$trust$$gateway_response_collection$$6, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/gateway/rules`, query: [ - ["filter", args["filter"], true], - ["search", args["search"], true], - ["order_by", args["order_by"], true], - ["direction", args["direction"], true], + ["filter", param(args, "query", "filter"), true], + ["search", param(args, "query", "search"), true], + ["order_by", param(args, "query", "order_by"), true], + ["direction", param(args, "query", "direction"), true], ], }), }, { - name: "zero_trust_gateway_rules_list_tenant", + name: "zeroTrust_gateway_rules_listTenant", title: "List Zero Trust Gateway rules inherited from the parent account", description: "List Zero Trust Gateway rules for the parent account of an account in the MSP configuration.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-6", $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-6": zero_trust_gateway_response_collection_6_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-6": zero$$trust$$gateway_response_collection$$6, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -669,36 +714,36 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-collection": zero_trust_gateway_api_response_collection_output, - "zero-trust-gateway_api-response-common": zero_trust_gateway_api_response_common_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_response_collection-6": zero_trust_gateway_response_collection_6_output, - "zero-trust-gateway_result_info": zero_trust_gateway_result_info_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, + "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_response_collection-6": zero$$trust$$gateway_response_collection$$6, + "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ @@ -706,60 +751,68 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_rules_reset_expiration", + name: "zeroTrust_gateway_rules_resetExpiration", title: "Reset the expiration of a Zero Trust Gateway Rule", description: "Resets the expiration of a Zero Trust Gateway Rule if its duration elapsed and it has a default duration. The Zero Trust Gateway Rule must have values for both `expiration.expires_at` and `expiration.duration`.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, - "rule_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-4", - "description": "Identify the API resource with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "rule_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-4", + "description": "Identify the API resource with a UUID." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id" + "path" ], $defs: { - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-4", $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -788,34 +841,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ @@ -823,16 +876,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_rules_update", + name: "zeroTrust_gateway_rules_update", title: "Update a Zero Trust Gateway rule", description: "Update a configured Zero Trust Gateway rule.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." - }, "body": { "properties": { "action": { @@ -894,66 +943,78 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "rule_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-4", - "description": "Identify the API resource with a UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier-2", + "description": "Specify the Cloudflare account identifier." + }, + "rule_id": { + "$ref": "#/$defs/zero-trust-gateway_uuid-4", + "description": "Identify the API resource with a UUID." + } + }, + "required": [ + "account_id", + "rule_id" + ], + "type": "object" } }, required: [ - "account_id", - "rule_id", + "path", "body" ], $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration, - "zero-trust-gateway_filters": zero_trust_gateway_filters, - "zero-trust-gateway_identifier-2": zero_trust_gateway_identifier_2, - "zero-trust-gateway_identity": zero_trust_gateway_identity, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4, + "zero-trust-gateway_action": zero$$trust$$gateway_action$, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2$, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture$, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4$, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6$, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled$, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration$, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters$, + "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity$, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3$, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence$, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings$, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule$, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp$, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic$, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-4", $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -982,34 +1043,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero_trust_gateway_action_output, - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_deleted_at": zero_trust_gateway_deleted_at_output, - "zero-trust-gateway_description-2": zero_trust_gateway_description_2_output, - "zero-trust-gateway_device_posture": zero_trust_gateway_device_posture_output, - "zero-trust-gateway_dns_resolver_settings_v4": zero_trust_gateway_dns_resolver_settings_v4_output, - "zero-trust-gateway_dns_resolver_settings_v6": zero_trust_gateway_dns_resolver_settings_v6_output, - "zero-trust-gateway_enabled": zero_trust_gateway_enabled_output, - "zero-trust-gateway_expiration": zero_trust_gateway_expiration_output, - "zero-trust-gateway_filters": zero_trust_gateway_filters_output, - "zero-trust-gateway_identity": zero_trust_gateway_identity_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_name-3": zero_trust_gateway_name_3_output, - "zero-trust-gateway_precedence": zero_trust_gateway_precedence_output, - "zero-trust-gateway_read_only": zero_trust_gateway_read_only_output, - "zero-trust-gateway_read_only_timestamp": zero_trust_gateway_read_only_timestamp_output, - "zero-trust-gateway_rule-settings": zero_trust_gateway_rule_settings_output, - "zero-trust-gateway_rules": zero_trust_gateway_rules_output, - "zero-trust-gateway_schedule": zero_trust_gateway_schedule_output, - "zero-trust-gateway_sharable": zero_trust_gateway_sharable_output, - "zero-trust-gateway_single_response-4": zero_trust_gateway_single_response_4_output, - "zero-trust-gateway_source_account": zero_trust_gateway_source_account_output, - "zero-trust-gateway_timestamp": zero_trust_gateway_timestamp_output, - "zero-trust-gateway_traffic": zero_trust_gateway_traffic_output, - "zero-trust-gateway_uuid-4": zero_trust_gateway_uuid_4_output, - "zero-trust-gateway_version": zero_trust_gateway_version_output, - "zero-trust-gateway_warning_status": zero_trust_gateway_warning_status_output, + "zero-trust-gateway_action": zero$$trust$$gateway_action, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, + "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, + "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, + "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, + "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, + "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, + "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, + "zero-trust-gateway_filters": zero$$trust$$gateway_filters, + "zero-trust-gateway_identity": zero$$trust$$gateway_identity, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, + "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, + "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, + "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, + "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, + "zero-trust-gateway_rules": zero$$trust$$gateway_rules, + "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, + "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, + "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, + "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, + "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, + "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, + "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, + "zero-trust-gateway_version": zero$$trust$$gateway_version, + "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/schemas.ts index 4aeb1f5e4..582ebbab3 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zero-trust-gateway_identifier`. */ -export const zero_trust_gateway_identifier: JsonSchema = { +export const zero$$trust$$gateway_identifier: JsonSchema = { "description": "Specify the Cloudflare account identifier.", "type": "string" }; @@ -14,7 +14,7 @@ export const zero_trust_gateway_identifier: JsonSchema = { /** * The schema of `zero-trust-gateway_identifier-3`. */ -export const zero_trust_gateway_identifier_3: JsonSchema = { +export const zero$$trust$$gateway_identifier$$3: JsonSchema = { "description": "Provide the identifier string.", "type": "string" }; @@ -22,7 +22,7 @@ export const zero_trust_gateway_identifier_3: JsonSchema = { /** * The schema of `zero-trust-gateway_timestamp`. */ -export const zero_trust_gateway_timestamp: JsonSchema = { +export const zero$$trust$$gateway_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -30,6 +30,6 @@ export const zero_trust_gateway_timestamp: JsonSchema = { /** * The schema of `zero-trust-gateway_uuid-3`. */ -export const zero_trust_gateway_uuid_3: JsonSchema = { +export const zero$$trust$$gateway_uuid$$3: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/tools.ts index ffe938114..fbd3e98cd 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/tools.ts @@ -3,50 +3,58 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - zero_trust_gateway_api_response_common_failure_output, - zero_trust_gateway_api_response_single_output, - zero_trust_gateway_messages_output, + zero$$trust$$gateway_api$$response$$common$$failure, + zero$$trust$$gateway_api$$response$$single, + zero$$trust$$gateway_messages, } from "../outputs.js"; import { - zero_trust_gateway_cf_account_id_output, - zero_trust_gateway_gateway_account_output, - zero_trust_gateway_gateway_tag_output, - zero_trust_gateway_provider_name_output, + zero$$trust$$gateway_cf_account_id, + zero$$trust$$gateway_gateway_account, + zero$$trust$$gateway_gateway_tag, + zero$$trust$$gateway_provider_name, } from "./outputs.js"; -import { zero_trust_gateway_identifier } from "./schemas.js"; +import { zero$$trust$$gateway_identifier } from "./schemas.js"; /** - * The tools of `zero_trust.gateway`. + * The tools of `zeroTrust.gateway`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_gateway_create", + name: "zeroTrust_gateway_create", title: "Create Zero Trust account", description: "Create a Zero Trust account for an existing Cloudflare account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier": zero_trust_gateway_identifier, + "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway_account", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_cf_account_id": zero_trust_gateway_cf_account_id_output, - "zero-trust-gateway_gateway_account": zero_trust_gateway_gateway_account_output, - "zero-trust-gateway_gateway_tag": zero_trust_gateway_gateway_tag_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_provider_name": zero_trust_gateway_provider_name_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_cf_account_id": zero$$trust$$gateway_cf_account_id, + "zero-trust-gateway_gateway_account": zero$$trust$$gateway_gateway_account, + "zero-trust-gateway_gateway_tag": zero$$trust$$gateway_gateway_tag, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_provider_name": zero$$trust$$gateway_provider_name, }, }, annotations: { @@ -80,13 +88,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_cf_account_id": zero_trust_gateway_cf_account_id_output, - "zero-trust-gateway_gateway_account": zero_trust_gateway_gateway_account_output, - "zero-trust-gateway_gateway_tag": zero_trust_gateway_gateway_tag_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_provider_name": zero_trust_gateway_provider_name_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_cf_account_id": zero$$trust$$gateway_cf_account_id, + "zero-trust-gateway_gateway_account": zero$$trust$$gateway_gateway_account, + "zero-trust-gateway_gateway_tag": zero$$trust$$gateway_gateway_tag, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_provider_name": zero$$trust$$gateway_provider_name, }, }, request: (args) => ({ @@ -94,33 +102,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_gateway_list", + name: "zeroTrust_gateway_list", title: "Get Zero Trust account information", description: "Retrieve information about the current Zero Trust account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/zero-trust-gateway_identifier", + "description": "Specify the Cloudflare account identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "zero-trust-gateway_identifier": zero_trust_gateway_identifier, + "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway_account", $defs: { - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_cf_account_id": zero_trust_gateway_cf_account_id_output, - "zero-trust-gateway_gateway_account": zero_trust_gateway_gateway_account_output, - "zero-trust-gateway_gateway_tag": zero_trust_gateway_gateway_tag_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_provider_name": zero_trust_gateway_provider_name_output, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_cf_account_id": zero$$trust$$gateway_cf_account_id, + "zero-trust-gateway_gateway_account": zero$$trust$$gateway_gateway_account, + "zero-trust-gateway_gateway_tag": zero$$trust$$gateway_gateway_tag, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_provider_name": zero$$trust$$gateway_provider_name, }, }, annotations: { @@ -155,13 +171,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_api-response-common-failure": zero_trust_gateway_api_response_common_failure_output, - "zero-trust-gateway_api-response-single": zero_trust_gateway_api_response_single_output, - "zero-trust-gateway_cf_account_id": zero_trust_gateway_cf_account_id_output, - "zero-trust-gateway_gateway_account": zero_trust_gateway_gateway_account_output, - "zero-trust-gateway_gateway_tag": zero_trust_gateway_gateway_tag_output, - "zero-trust-gateway_messages": zero_trust_gateway_messages_output, - "zero-trust-gateway_provider_name": zero_trust_gateway_provider_name_output, + "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, + "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, + "zero-trust-gateway_cf_account_id": zero$$trust$$gateway_cf_account_id, + "zero-trust-gateway_gateway_account": zero$$trust$$gateway_gateway_account, + "zero-trust-gateway_gateway_tag": zero$$trust$$gateway_gateway_tag, + "zero-trust-gateway_messages": zero$$trust$$gateway_messages, + "zero-trust-gateway_provider_name": zero$$trust$$gateway_provider_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts index 858c6841b..1bee6b579 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_idp_federation_grant` in responses. */ -export const access_idp_federation_grant_output: JsonSchema = { +export const access_idp_federation_grant: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/access_created_at" @@ -30,7 +30,7 @@ export const access_idp_federation_grant_output: JsonSchema = { /** * The schema of `access_idp_federation_grant_id_response` in responses. */ -export const access_idp_federation_grant_id_response_output: JsonSchema = { +export const access_idp_federation_grant_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -54,7 +54,7 @@ export const access_idp_federation_grant_id_response_output: JsonSchema = { /** * The schema of `access_idp_federation_grant_list_response` in responses. */ -export const access_idp_federation_grant_list_response_output: JsonSchema = { +export const access_idp_federation_grant_list_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -76,7 +76,7 @@ export const access_idp_federation_grant_list_response_output: JsonSchema = { /** * The schema of `access_idp_federation_grant_response` in responses. */ -export const access_idp_federation_grant_response_output: JsonSchema = { +export const access_idp_federation_grant_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts index 6b22aa8ca..ced26a2c7 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts @@ -3,62 +3,70 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_created_at_output, - access_identifier_output, - access_messages_output, - access_timestamp_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_created_at, + access_identifier, + access_messages, + access_timestamp, } from "../../outputs.js"; -import { access_identifier } from "../../schemas.js"; +import { access_identifier as access_identifier$ } from "../../schemas.js"; import { - access_idp_federation_grant_id_response_output, - access_idp_federation_grant_list_response_output, - access_idp_federation_grant_output, - access_idp_federation_grant_response_output, + access_idp_federation_grant, + access_idp_federation_grant_id_response, + access_idp_federation_grant_list_response, + access_idp_federation_grant_response, } from "./outputs.js"; import { access_idp_federation_grant_create_request } from "./schemas.js"; /** - * The tools of `zero_trust.identity_providers.federation_grants`. + * The tools of `zeroTrust.identityProviders.federationGrants`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_identity_providers_federation_grants_create", + name: "zeroTrust_identityProviders_federationGrants_create", title: "Create an IdP federation grant", description: "Creates an IdP federation grant for the specified identity provider, making it\navailable for federation to other accounts in the same Cloudflare organization.\n\nThe account must belong to a Cloudflare organization. One-time pin and\nCloudflare-managed identity providers cannot be federated. An account\ncan federate at most five identity providers at a time.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "$ref": "#/$defs/access_idp_federation_grant_create_request" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, "access_idp_federation_grant_create_request": access_idp_federation_grant_create_request, }, }, outputSchema: { "$ref": "#/$defs/access_idp_federation_grant_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_identifier": access_identifier_output, - "access_idp_federation_grant": access_idp_federation_grant_output, - "access_idp_federation_grant_response": access_idp_federation_grant_response_output, - "access_messages": access_messages_output, - "access_timestamp": access_timestamp_output, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_identifier": access_identifier, + "access_idp_federation_grant": access_idp_federation_grant, + "access_idp_federation_grant_response": access_idp_federation_grant_response, + "access_messages": access_messages, + "access_timestamp": access_timestamp, }, }, annotations: { @@ -83,14 +91,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_identifier": access_identifier_output, - "access_idp_federation_grant": access_idp_federation_grant_output, - "access_idp_federation_grant_response": access_idp_federation_grant_response_output, - "access_messages": access_messages_output, - "access_timestamp": access_timestamp_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_identifier": access_identifier, + "access_idp_federation_grant": access_idp_federation_grant, + "access_idp_federation_grant_response": access_idp_federation_grant_response, + "access_messages": access_messages, + "access_timestamp": access_timestamp, }, }, request: (args) => ({ @@ -99,36 +107,44 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_federation_grants_delete", + name: "zeroTrust_identityProviders_federationGrants_delete", title: "Delete an IdP federation grant", description: "Deletes an IdP federation grant. The identity provider remains in the account,\nbut it is no longer available for federation to other accounts.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "grant_id": { - "$ref": "#/$defs/access_identifier", - "description": "UID of the IdP federation grant." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "grant_id": { + "$ref": "#/$defs/access_identifier", + "description": "UID of the IdP federation grant." + } + }, + "required": [ + "account_id", + "grant_id" + ], + "type": "object" } }, required: [ - "account_id", - "grant_id" + "path" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, }, }, outputSchema: { "$ref": "#/$defs/access_idp_federation_grant_id_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_identifier": access_identifier_output, - "access_idp_federation_grant_id_response": access_idp_federation_grant_id_response_output, - "access_messages": access_messages_output, + "access_api-response-single": access_api$$response$$single, + "access_identifier": access_identifier, + "access_idp_federation_grant_id_response": access_idp_federation_grant_id_response, + "access_messages": access_messages, }, }, annotations: { @@ -153,11 +169,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_identifier": access_identifier_output, - "access_idp_federation_grant_id_response": access_idp_federation_grant_id_response_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_identifier": access_identifier, + "access_idp_federation_grant_id_response": access_idp_federation_grant_id_response, + "access_messages": access_messages, }, }, request: (args) => ({ @@ -165,39 +181,47 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_federation_grants_get", + name: "zeroTrust_identityProviders_federationGrants_get", title: "Get an IdP federation grant", description: "Retrieves a single IdP federation grant by its UID.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "grant_id": { - "$ref": "#/$defs/access_identifier", - "description": "UID of the IdP federation grant." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "grant_id": { + "$ref": "#/$defs/access_identifier", + "description": "UID of the IdP federation grant." + } + }, + "required": [ + "account_id", + "grant_id" + ], + "type": "object" } }, required: [ - "account_id", - "grant_id" + "path" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, }, }, outputSchema: { "$ref": "#/$defs/access_idp_federation_grant_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_identifier": access_identifier_output, - "access_idp_federation_grant": access_idp_federation_grant_output, - "access_idp_federation_grant_response": access_idp_federation_grant_response_output, - "access_messages": access_messages_output, - "access_timestamp": access_timestamp_output, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_identifier": access_identifier, + "access_idp_federation_grant": access_idp_federation_grant, + "access_idp_federation_grant_response": access_idp_federation_grant_response, + "access_messages": access_messages, + "access_timestamp": access_timestamp, }, }, annotations: { @@ -225,14 +249,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_created_at": access_created_at_output, - "access_identifier": access_identifier_output, - "access_idp_federation_grant": access_idp_federation_grant_output, - "access_idp_federation_grant_response": access_idp_federation_grant_response_output, - "access_messages": access_messages_output, - "access_timestamp": access_timestamp_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_created_at": access_created_at, + "access_identifier": access_identifier, + "access_idp_federation_grant": access_idp_federation_grant, + "access_idp_federation_grant_response": access_idp_federation_grant_response, + "access_messages": access_messages, + "access_timestamp": access_timestamp, }, }, request: (args) => ({ @@ -240,35 +264,43 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_federation_grants_list", + name: "zeroTrust_identityProviders_federationGrants_list", title: "List IdP federation grants", description: "Lists the IdP federation grants owned by the account.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "access_identifier": access_identifier, + "access_identifier": access_identifier$, }, }, outputSchema: { "$ref": "#/$defs/access_idp_federation_grant_list_response", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_created_at": access_created_at_output, - "access_identifier": access_identifier_output, - "access_idp_federation_grant": access_idp_federation_grant_output, - "access_idp_federation_grant_list_response": access_idp_federation_grant_list_response_output, - "access_messages": access_messages_output, - "access_timestamp": access_timestamp_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_created_at": access_created_at, + "access_identifier": access_identifier, + "access_idp_federation_grant": access_idp_federation_grant, + "access_idp_federation_grant_list_response": access_idp_federation_grant_list_response, + "access_messages": access_messages, + "access_timestamp": access_timestamp, }, }, annotations: { @@ -293,15 +325,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_created_at": access_created_at_output, - "access_identifier": access_identifier_output, - "access_idp_federation_grant": access_idp_federation_grant_output, - "access_idp_federation_grant_list_response": access_idp_federation_grant_list_response_output, - "access_messages": access_messages_output, - "access_timestamp": access_timestamp_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_created_at": access_created_at, + "access_identifier": access_identifier, + "access_idp_federation_grant": access_idp_federation_grant, + "access_idp_federation_grant_list_response": access_idp_federation_grant_list_response, + "access_messages": access_messages, + "access_timestamp": access_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts index ba4fdd2b7..2daebcd4d 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `access_azureAD` in responses. */ -export const access_azureAD_output: JsonSchema = { +export const access_azureAD: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -54,7 +54,7 @@ export const access_azureAD_output: JsonSchema = { /** * The schema of `access_centrify` in responses. */ -export const access_centrify_output: JsonSchema = { +export const access_centrify: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -91,7 +91,7 @@ export const access_centrify_output: JsonSchema = { /** * The schema of `access_cloudflare` in responses. */ -export const access_cloudflare_output: JsonSchema = { +export const access_cloudflare: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -124,7 +124,7 @@ export const access_cloudflare_output: JsonSchema = { /** * The schema of `access_custom-claims-support` in responses. */ -export const access_custom_claims_support_output: JsonSchema = { +export const access_custom$$claims$$support: JsonSchema = { "properties": { "claims": { "items": { @@ -142,7 +142,7 @@ export const access_custom_claims_support_output: JsonSchema = { /** * The schema of `access_duo` in responses. */ -export const access_duo_output: JsonSchema = { +export const access_duo: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -178,7 +178,7 @@ export const access_duo_output: JsonSchema = { /** * The schema of `access_facebook` in responses. */ -export const access_facebook_output: JsonSchema = { +export const access_facebook: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -197,7 +197,7 @@ export const access_facebook_output: JsonSchema = { /** * The schema of `access_generic-oauth-config` in responses. */ -export const access_generic_oauth_config_output: JsonSchema = { +export const access_generic$$oauth$$config: JsonSchema = { "properties": { "client_id": { "type": "string" @@ -212,7 +212,7 @@ export const access_generic_oauth_config_output: JsonSchema = { /** * The schema of `access_github` in responses. */ -export const access_github_output: JsonSchema = { +export const access_github: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -231,7 +231,7 @@ export const access_github_output: JsonSchema = { /** * The schema of `access_google` in responses. */ -export const access_google_output: JsonSchema = { +export const access_google: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -257,7 +257,7 @@ export const access_google_output: JsonSchema = { /** * The schema of `access_google-apps` in responses. */ -export const access_google_apps_output: JsonSchema = { +export const access_google$$apps: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -302,7 +302,7 @@ export const access_google_apps_output: JsonSchema = { /** * The schema of `access_identity-provider` in responses. */ -export const access_identity_provider_output: JsonSchema = { +export const access_identity$$provider: JsonSchema = { "properties": { "config": { "type": "object" @@ -385,7 +385,7 @@ export const access_identity_provider_output: JsonSchema = { /** * The schema of `access_identity-providers` in responses. */ -export const access_identity_providers_output: JsonSchema = { +export const access_identity$$providers: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/access_azureAD" @@ -444,7 +444,7 @@ export const access_identity_providers_output: JsonSchema = { /** * The schema of `access_linkedin` in responses. */ -export const access_linkedin_output: JsonSchema = { +export const access_linkedin: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -463,14 +463,14 @@ export const access_linkedin_output: JsonSchema = { /** * The schema of `access_name-3` in responses. */ -export const access_name_3_output: JsonSchema = { +export const access_name$$3: JsonSchema = { "type": "string" }; /** * The schema of `access_oidc` in responses. */ -export const access_oidc_output: JsonSchema = { +export const access_oidc: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -519,7 +519,7 @@ export const access_oidc_output: JsonSchema = { /** * The schema of `access_okta` in responses. */ -export const access_okta_output: JsonSchema = { +export const access_okta: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -556,7 +556,7 @@ export const access_okta_output: JsonSchema = { /** * The schema of `access_onelogin` in responses. */ -export const access_onelogin_output: JsonSchema = { +export const access_onelogin: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -590,7 +590,7 @@ export const access_onelogin_output: JsonSchema = { /** * The schema of `access_onetimepin` in responses. */ -export const access_onetimepin_output: JsonSchema = { +export const access_onetimepin: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -620,7 +620,7 @@ export const access_onetimepin_output: JsonSchema = { /** * The schema of `access_passkeys` in responses. */ -export const access_passkeys_output: JsonSchema = { +export const access_passkeys: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -653,7 +653,7 @@ export const access_passkeys_output: JsonSchema = { /** * The schema of `access_pingone` in responses. */ -export const access_pingone_output: JsonSchema = { +export const access_pingone: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -687,7 +687,7 @@ export const access_pingone_output: JsonSchema = { /** * The schema of `access_response_collection` in responses. */ -export const access_response_collection_output: JsonSchema = { +export const access_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -761,7 +761,7 @@ export const access_response_collection_output: JsonSchema = { /** * The schema of `access_saml` in responses. */ -export const access_saml_output: JsonSchema = { +export const access_saml: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -829,7 +829,7 @@ export const access_saml_output: JsonSchema = { /** * The schema of `access_saml_certificate` in responses. */ -export const access_saml_certificate_output: JsonSchema = { +export const access_saml_certificate: JsonSchema = { "properties": { "is_current": { "type": "boolean" @@ -858,7 +858,7 @@ export const access_saml_certificate_output: JsonSchema = { /** * The schema of `access_saml_certificate_set` in responses. */ -export const access_saml_certificate_set_output: JsonSchema = { +export const access_saml_certificate_set: JsonSchema = { "properties": { "created_at": { "format": "date-time", @@ -897,7 +897,7 @@ export const access_saml_certificate_set_output: JsonSchema = { /** * The schema of `access_single_response-3` in responses. */ -export const access_single_response_3_output: JsonSchema = { +export const access_single_response$$3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -916,7 +916,7 @@ export const access_single_response_3_output: JsonSchema = { /** * The schema of `access_yandex` in responses. */ -export const access_yandex_output: JsonSchema = { +export const access_yandex: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/outputs.ts index 0b7f7d51d..fbaadbd7d 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_saml_certificate_set_response` in responses. */ -export const access_saml_certificate_set_response_output: JsonSchema = { +export const access_saml_certificate_set_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts index c810b9177..6007bbfd5 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts @@ -3,40 +3,48 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../outputs.js"; import { access_identifier, access_uuid } from "../../schemas.js"; import { - access_saml_certificate_output, - access_saml_certificate_set_output, + access_saml_certificate, + access_saml_certificate_set, } from "../outputs.js"; -import { access_saml_certificate_set_response_output } from "./outputs.js"; +import { access_saml_certificate_set_response } from "./outputs.js"; /** - * The tools of `zero_trust.identity_providers.saml_certificate`. + * The tools of `zeroTrust.identityProviders.samlCertificate`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_identity_providers_saml_certificate_create", + name: "zeroTrust_identityProviders_samlCertificate_create", title: "Create SAML encryption certificate for Identity Provider", description: "Creates a new SAML encryption certificate set and assigns it to the specified \nSAML Identity Provider. This endpoint is idempotent - if the IdP already has \na certificate set assigned, the existing certificate set is returned with a 200 status.\n\n**Workflow for enabling SAML encryption:**\n1. Call this endpoint to create and assign a certificate set to the IdP\n2. Update the IdP configuration (PUT `/identity_providers/{id}`) with:\n - `config.enable_encryption: true`\n - `saml_certificate_set_id: `\n3. Configure the certificate's public key in your external SAML Identity Provider", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "identity_provider_id" + ], + "type": "object" } }, required: [ - "account_id", - "identity_provider_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -46,11 +54,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_saml_certificate_set_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_saml_certificate_set_response": access_saml_certificate_set_response_output, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_saml_certificate_set_response": access_saml_certificate_set_response, }, }, annotations: { @@ -81,12 +89,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_messages": access_messages_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_saml_certificate_set_response": access_saml_certificate_set_response_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_messages": access_messages, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_saml_certificate_set_response": access_saml_certificate_set_response, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/schemas.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/schemas.ts index 76a82d005..5856786e1 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/schemas.ts @@ -132,7 +132,7 @@ export const access_cloudflare: JsonSchema = { /** * The schema of `access_custom-claims-support`. */ -export const access_custom_claims_support: JsonSchema = { +export const access_custom$$claims$$support: JsonSchema = { "properties": { "claims": { "description": "Custom claims", @@ -212,7 +212,7 @@ export const access_facebook: JsonSchema = { /** * The schema of `access_generic-oauth-config`. */ -export const access_generic_oauth_config: JsonSchema = { +export const access_generic$$oauth$$config: JsonSchema = { "properties": { "client_id": { "description": "Your OAuth Client ID", @@ -276,7 +276,7 @@ export const access_google: JsonSchema = { /** * The schema of `access_google-apps`. */ -export const access_google_apps: JsonSchema = { +export const access_google$$apps: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identity-provider" @@ -325,7 +325,7 @@ export const access_google_apps: JsonSchema = { /** * The schema of `access_identity-provider`. */ -export const access_identity_provider: JsonSchema = { +export const access_identity$$provider: JsonSchema = { "properties": { "config": { "description": "The configuration parameters for the identity provider. To view the required parameters for a specific provider, refer to our [developer documentation](https://developers.cloudflare.com/cloudflare-one/identity/idp-integration/).", @@ -410,7 +410,7 @@ export const access_identity_provider: JsonSchema = { /** * The schema of `access_identity-providers`. */ -export const access_identity_providers: JsonSchema = { +export const access_identity$$providers: JsonSchema = { "anyOf": [ { "$ref": "#/$defs/access_azureAD" @@ -489,7 +489,7 @@ export const access_linkedin: JsonSchema = { /** * The schema of `access_name-3`. */ -export const access_name_3: JsonSchema = { +export const access_name$$3: JsonSchema = { "description": "The name of the identity provider, shown to users on the login page.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts index 444a9a85b..566cb802e 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_externalId` in responses. */ -export const access_externalId_output: JsonSchema = { +export const access_externalId: JsonSchema = { "type": "string" }; /** * The schema of `access_group_details` in responses. */ -export const access_group_details_output: JsonSchema = { +export const access_group_details: JsonSchema = { "properties": { "displayName": { "type": "string" @@ -67,7 +67,7 @@ export const access_group_details_output: JsonSchema = { /** * The schema of `access_groups` in responses. */ -export const access_groups_output: JsonSchema = { +export const access_groups: JsonSchema = { "properties": { "displayName": { "type": "string" @@ -94,7 +94,7 @@ export const access_groups_output: JsonSchema = { /** * The schema of `access_scim_group_response` in responses. */ -export const access_scim_group_response_output: JsonSchema = { +export const access_scim_group_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -113,7 +113,7 @@ export const access_scim_group_response_output: JsonSchema = { /** * The schema of `access_scim_groups_response` in responses. */ -export const access_scim_groups_response_output: JsonSchema = { +export const access_scim_groups_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/schemas.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/schemas.ts index e88f73771..620dab499 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/schemas.ts @@ -30,7 +30,7 @@ export const access_idp_resource_id: JsonSchema = { /** * The schema of `access_name-4`. */ -export const access_name_4: JsonSchema = { +export const access_name$$4: JsonSchema = { "description": "The display name of the SCIM Group resource.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts index 601dd82a4..a507aaf4d 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts @@ -1,57 +1,65 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; -import { access_id_output, access_meta_output } from "../outputs.js"; +import { access_id, access_meta } from "../outputs.js"; import { - access_externalId_output, - access_group_details_output, - access_groups_output, - access_scim_group_response_output, - access_scim_groups_response_output, + access_externalId, + access_group_details, + access_groups, + access_scim_group_response, + access_scim_groups_response, } from "./outputs.js"; import { access_cf_resource_id, access_idp_resource_id, - access_name_4, + access_name$$4, } from "./schemas.js"; /** - * The tools of `zero_trust.identity_providers.scim.groups`. + * The tools of `zeroTrust.identityProviders.scim.groups`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_identity_providers_scim_groups_delete", + name: "zeroTrust_identityProviders_scim_groups_delete", title: "Delete a SCIM Group resource", description: "Deletes a SCIM Group resource from the identity provider's SCIM population.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "group_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "group_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "identity_provider_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "identity_provider_id", - "group_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -80,8 +88,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_messages": access_messages, }, }, request: (args) => ({ @@ -89,29 +97,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_scim_groups_get", + name: "zeroTrust_identityProviders_scim_groups_get", title: "Get a SCIM Group resource", description: "Returns a SCIM Group resource, including its direct members, synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "group_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "group_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "identity_provider_id", + "group_id" + ], + "type": "object" } }, required: [ - "account_id", - "identity_provider_id", - "group_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -121,13 +137,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_scim_group_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_externalId": access_externalId_output, - "access_group_details": access_group_details_output, - "access_id": access_id_output, - "access_messages": access_messages_output, - "access_meta": access_meta_output, - "access_scim_group_response": access_scim_group_response_output, + "access_api-response-single": access_api$$response$$single, + "access_externalId": access_externalId, + "access_group_details": access_group_details, + "access_id": access_id, + "access_messages": access_messages, + "access_meta": access_meta, + "access_scim_group_response": access_scim_group_response, }, }, annotations: { @@ -155,14 +171,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_externalId": access_externalId_output, - "access_group_details": access_group_details_output, - "access_id": access_id_output, - "access_messages": access_messages_output, - "access_meta": access_meta_output, - "access_scim_group_response": access_scim_group_response_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_externalId": access_externalId, + "access_group_details": access_group_details, + "access_id": access_id, + "access_messages": access_messages, + "access_meta": access_meta, + "access_scim_group_response": access_scim_group_response, }, }, request: (args) => ({ @@ -170,66 +186,79 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_scim_groups_list", + name: "zeroTrust_identityProviders_scim_groups_list", title: "List SCIM Group resources", description: "Lists SCIM Group resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "cf_resource_id": { - "$ref": "#/$defs/access_cf_resource_id", - "description": "The unique Cloudflare-generated Id of the SCIM Group resource; also known as the \"Id\".\nPass once for a single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to look up multiple groups in one request,\nup to 50 values. Mutually exclusive with `idp_resource_id`, `name`,\n`search_contains`, and `search_starts_with`." - }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." - }, - "idp_resource_id": { - "$ref": "#/$defs/access_idp_resource_id", - "description": "The IdP-generated Id of the SCIM Group resource; also known as the \"external Id\".\nPass once for a single lookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to look up multiple groups in one request,\nup to 50 values. Mutually exclusive with `cf_resource_id`, `name`,\n`search_contains`, and `search_starts_with`." - }, - "name": { - "$ref": "#/$defs/access_name-4", - "description": "The display name of the SCIM Group resource." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "identity_provider_id" + ], + "type": "object" }, - "per_page": { - "default": 100, - "description": "Number of results per page.", - "type": "integer" + "query": { + "properties": { + "cf_resource_id": { + "$ref": "#/$defs/access_cf_resource_id", + "description": "The unique Cloudflare-generated Id of the SCIM Group resource; also known as the \"Id\".\nPass once for a single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to look up multiple groups in one request,\nup to 50 values. Mutually exclusive with `idp_resource_id`, `name`,\n`search_contains`, and `search_starts_with`." + }, + "idp_resource_id": { + "$ref": "#/$defs/access_idp_resource_id", + "description": "The IdP-generated Id of the SCIM Group resource; also known as the \"external Id\".\nPass once for a single lookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to look up multiple groups in one request,\nup to 50 values. Mutually exclusive with `cf_resource_id`, `name`,\n`search_contains`, and `search_starts_with`." + }, + "name": { + "$ref": "#/$defs/access_name-4", + "description": "The display name of the SCIM Group resource." + }, + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Number of results per page.", + "type": "integer" + } + }, + "type": "object" } }, required: [ - "account_id", - "identity_provider_id" + "path" ], $defs: { "access_cf_resource_id": access_cf_resource_id, "access_identifier": access_identifier, "access_idp_resource_id": access_idp_resource_id, - "access_name-4": access_name_4, + "access_name-4": access_name$$4, "access_uuid": access_uuid, }, }, outputSchema: { "$ref": "#/$defs/access_scim_groups_response", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_externalId": access_externalId_output, - "access_groups": access_groups_output, - "access_id": access_id_output, - "access_messages": access_messages_output, - "access_meta": access_meta_output, - "access_scim_groups_response": access_scim_groups_response_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_externalId": access_externalId, + "access_groups": access_groups, + "access_id": access_id, + "access_messages": access_messages, + "access_meta": access_meta, + "access_scim_groups_response": access_scim_groups_response, }, }, annotations: { @@ -257,25 +286,25 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_externalId": access_externalId_output, - "access_groups": access_groups_output, - "access_id": access_id_output, - "access_messages": access_messages_output, - "access_meta": access_meta_output, - "access_scim_groups_response": access_scim_groups_response_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_externalId": access_externalId, + "access_groups": access_groups, + "access_id": access_id, + "access_messages": access_messages, + "access_meta": access_meta, + "access_scim_groups_response": access_scim_groups_response, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}/scim/groups`, query: [ - ["cf_resource_id", args["cf_resource_id"], true], - ["idp_resource_id", args["idp_resource_id"], true], - ["name", args["name"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["cf_resource_id", param(args, "query", "cf_resource_id"), true], + ["idp_resource_id", param(args, "query", "idp_resource_id"), true], + ["name", param(args, "query", "name"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts index 6fa77cd12..091988d69 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_id` in responses. */ -export const access_id_output: JsonSchema = { +export const access_id: JsonSchema = { "type": "string" }; /** * The schema of `access_meta` in responses. */ -export const access_meta_output: JsonSchema = { +export const access_meta: JsonSchema = { "properties": { "created": { "format": "date-time", diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts index 5d0917b2d..6d9510153 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_scim_user_response` in responses. */ -export const access_scim_user_response_output: JsonSchema = { +export const access_scim_user_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -25,7 +25,7 @@ export const access_scim_user_response_output: JsonSchema = { /** * The schema of `access_scim_users_response` in responses. */ -export const access_scim_users_response_output: JsonSchema = { +export const access_scim_users_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -47,7 +47,7 @@ export const access_scim_users_response_output: JsonSchema = { /** * The schema of `access_users` in responses. */ -export const access_users_output: JsonSchema = { +export const access_users: JsonSchema = { "properties": { "active": { "type": "boolean" diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/schemas.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/schemas.ts index 6fd0ebf54..e78e438e9 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; /** * The schema of `access_cf_resource_id-2`. */ -export const access_cf_resource_id_2: JsonSchema = { +export const access_cf_resource_id$$2: JsonSchema = { "description": "The unique Cloudflare-generated Id of the SCIM User resource; also known as the \"Id\".\nPass once for a single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `idp_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`.", "items": { "type": "string" @@ -26,7 +26,7 @@ export const access_email: JsonSchema = { /** * The schema of `access_idp_resource_id-2`. */ -export const access_idp_resource_id_2: JsonSchema = { +export const access_idp_resource_id$$2: JsonSchema = { "description": "The IdP-generated Id of the SCIM User resource; also known as the \"external Id\".\nPass once for a single lookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `cf_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`.", "items": { "type": "string" @@ -38,7 +38,7 @@ export const access_idp_resource_id_2: JsonSchema = { /** * The schema of `access_name-5`. */ -export const access_name_5: JsonSchema = { +export const access_name$$5: JsonSchema = { "description": "The name of the SCIM User resource.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts index d6677ec9f..d9fbf8e92 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts @@ -1,57 +1,65 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../../../_/tool.js"; +import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; -import { access_id_output, access_meta_output } from "../outputs.js"; +import { access_id, access_meta } from "../outputs.js"; import { - access_scim_user_response_output, - access_scim_users_response_output, - access_users_output, + access_scim_user_response, + access_scim_users_response, + access_users, } from "./outputs.js"; import { - access_cf_resource_id_2, + access_cf_resource_id$$2, access_email, - access_idp_resource_id_2, - access_name_5, + access_idp_resource_id$$2, + access_name$$5, access_username, } from "./schemas.js"; /** - * The tools of `zero_trust.identity_providers.scim.users`. + * The tools of `zeroTrust.identityProviders.scim.users`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_identity_providers_scim_users_delete", + name: "zeroTrust_identityProviders_scim_users_delete", title: "Delete a SCIM User resource", description: "Deletes a SCIM User resource from the identity provider's SCIM population.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." - }, - "user_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + }, + "user_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "identity_provider_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "identity_provider_id", - "user_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -80,8 +88,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_messages": access_messages, }, }, request: (args) => ({ @@ -89,29 +97,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_scim_users_get", + name: "zeroTrust_identityProviders_scim_users_get", title: "Get a SCIM User resource", description: "Returns a SCIM User resource synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." - }, - "user_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + }, + "user_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id", + "identity_provider_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "identity_provider_id", - "user_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -121,12 +137,12 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_scim_user_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_id": access_id_output, - "access_messages": access_messages_output, - "access_meta": access_meta_output, - "access_scim_user_response": access_scim_user_response_output, - "access_users": access_users_output, + "access_api-response-single": access_api$$response$$single, + "access_id": access_id, + "access_messages": access_messages, + "access_meta": access_meta, + "access_scim_user_response": access_scim_user_response, + "access_users": access_users, }, }, annotations: { @@ -154,13 +170,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_id": access_id_output, - "access_messages": access_messages_output, - "access_meta": access_meta_output, - "access_scim_user_response": access_scim_user_response_output, - "access_users": access_users_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_id": access_id, + "access_messages": access_messages, + "access_meta": access_meta, + "access_scim_user_response": access_scim_user_response, + "access_users": access_users, }, }, request: (args) => ({ @@ -168,61 +184,74 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_scim_users_list", + name: "zeroTrust_identityProviders_scim_users_list", title: "List SCIM User resources", description: "Lists SCIM User resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "cf_resource_id": { - "$ref": "#/$defs/access_cf_resource_id-2", - "description": "The unique Cloudflare-generated Id of the SCIM User resource; also known as the \"Id\".\nPass once for a single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `idp_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`." - }, - "email": { - "$ref": "#/$defs/access_email", - "description": "The email address of the SCIM User resource." - }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." - }, - "idp_resource_id": { - "$ref": "#/$defs/access_idp_resource_id-2", - "description": "The IdP-generated Id of the SCIM User resource; also known as the \"external Id\".\nPass once for a single lookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `cf_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`." - }, - "name": { - "$ref": "#/$defs/access_name-5", - "description": "The name of the SCIM User resource." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 100, - "description": "Number of results per page.", - "type": "integer" + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "identity_provider_id" + ], + "type": "object" }, - "username": { - "$ref": "#/$defs/access_username", - "description": "The username of the SCIM User resource." + "query": { + "properties": { + "cf_resource_id": { + "$ref": "#/$defs/access_cf_resource_id-2", + "description": "The unique Cloudflare-generated Id of the SCIM User resource; also known as the \"Id\".\nPass once for a single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `idp_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`." + }, + "email": { + "$ref": "#/$defs/access_email", + "description": "The email address of the SCIM User resource." + }, + "idp_resource_id": { + "$ref": "#/$defs/access_idp_resource_id-2", + "description": "The IdP-generated Id of the SCIM User resource; also known as the \"external Id\".\nPass once for a single lookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `cf_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`." + }, + "name": { + "$ref": "#/$defs/access_name-5", + "description": "The name of the SCIM User resource." + }, + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 100, + "description": "Number of results per page.", + "type": "integer" + }, + "username": { + "$ref": "#/$defs/access_username", + "description": "The username of the SCIM User resource." + } + }, + "type": "object" } }, required: [ - "account_id", - "identity_provider_id" + "path" ], $defs: { - "access_cf_resource_id-2": access_cf_resource_id_2, + "access_cf_resource_id-2": access_cf_resource_id$$2, "access_email": access_email, "access_identifier": access_identifier, - "access_idp_resource_id-2": access_idp_resource_id_2, - "access_name-5": access_name_5, + "access_idp_resource_id-2": access_idp_resource_id$$2, + "access_name-5": access_name$$5, "access_username": access_username, "access_uuid": access_uuid, }, @@ -230,13 +259,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_scim_users_response", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_id": access_id_output, - "access_messages": access_messages_output, - "access_meta": access_meta_output, - "access_scim_users_response": access_scim_users_response_output, - "access_users": access_users_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_id": access_id, + "access_messages": access_messages, + "access_meta": access_meta, + "access_scim_users_response": access_scim_users_response, + "access_users": access_users, }, }, annotations: { @@ -264,26 +293,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_id": access_id_output, - "access_messages": access_messages_output, - "access_meta": access_meta_output, - "access_scim_users_response": access_scim_users_response_output, - "access_users": access_users_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_id": access_id, + "access_messages": access_messages, + "access_meta": access_meta, + "access_scim_users_response": access_scim_users_response, + "access_users": access_users, }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/access/identity_providers/${pathParam(args, "identity_provider_id")}/scim/users`, query: [ - ["cf_resource_id", args["cf_resource_id"], true], - ["idp_resource_id", args["idp_resource_id"], true], - ["username", args["username"], true], - ["email", args["email"], true], - ["name", args["name"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["cf_resource_id", param(args, "query", "cf_resource_id"), true], + ["idp_resource_id", param(args, "query", "idp_resource_id"), true], + ["username", param(args, "query", "username"), true], + ["email", param(args, "query", "email"), true], + ["name", param(args, "query", "name"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts index f9f2c1ac2..58aec8605 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts @@ -1,118 +1,156 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../../_/tool.js"; +import { type Tool, param, pathParam } from "../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_api_response_single_output, - access_id_response_output, - access_messages_output, - access_uuid_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_id_response, + access_messages, + access_uuid, } from "../outputs.js"; -import { access_identifier, access_uuid } from "../schemas.js"; -import { - access_azureAD_output, - access_centrify_output, - access_cloudflare_output, - access_custom_claims_support_output, - access_duo_output, - access_facebook_output, - access_generic_oauth_config_output, - access_github_output, - access_google_apps_output, - access_google_output, - access_identity_provider_output, - access_identity_providers_output, - access_linkedin_output, - access_name_3_output, - access_oidc_output, - access_okta_output, - access_onelogin_output, - access_onetimepin_output, - access_passkeys_output, - access_pingone_output, - access_response_collection_output, - access_saml_certificate_output, - access_saml_certificate_set_output, - access_saml_output, - access_single_response_3_output, - access_yandex_output, -} from "./outputs.js"; +import { access_identifier, access_uuid as access_uuid$ } from "../schemas.js"; import { access_azureAD, access_centrify, access_cloudflare, - access_custom_claims_support, + access_custom$$claims$$support, access_duo, access_facebook, - access_generic_oauth_config, + access_generic$$oauth$$config, access_github, access_google, - access_google_apps, - access_identity_provider, - access_identity_providers, + access_google$$apps, + access_identity$$provider, + access_identity$$providers, access_linkedin, - access_name_3, + access_name$$3, access_oidc, access_okta, access_onelogin, access_onetimepin, access_passkeys, access_pingone, + access_response_collection, access_saml, + access_saml_certificate, + access_saml_certificate_set, + access_single_response$$3, access_yandex, +} from "./outputs.js"; +import { + access_azureAD as access_azureAD$, + access_centrify as access_centrify$, + access_cloudflare as access_cloudflare$, + access_custom$$claims$$support as access_custom$$claims$$support$, + access_duo as access_duo$, + access_facebook as access_facebook$, + access_generic$$oauth$$config as access_generic$$oauth$$config$, + access_github as access_github$, + access_google as access_google$, + access_google$$apps as access_google$$apps$, + access_identity$$provider as access_identity$$provider$, + access_identity$$providers as access_identity$$providers$, + access_linkedin as access_linkedin$, + access_name$$3 as access_name$$3$, + access_oidc as access_oidc$, + access_okta as access_okta$, + access_onelogin as access_onelogin$, + access_onetimepin as access_onetimepin$, + access_passkeys as access_passkeys$, + access_pingone as access_pingone$, + access_saml as access_saml$, + access_yandex as access_yandex$, } from "./schemas.js"; /** - * The tools of `zero_trust.identity_providers`. + * The tools of `zeroTrust.identityProviders`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_identity_providers_create", + name: "zeroTrust_identityProviders_create", title: "Add an Access identity provider", description: "Adds a new identity provider to Access.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/access_identity-providers" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], $defs: { + "access_azureAD": access_azureAD$, + "access_centrify": access_centrify$, + "access_cloudflare": access_cloudflare$, + "access_custom-claims-support": access_custom$$claims$$support$, + "access_duo": access_duo$, + "access_facebook": access_facebook$, + "access_generic-oauth-config": access_generic$$oauth$$config$, + "access_github": access_github$, + "access_google": access_google$, + "access_google-apps": access_google$$apps$, + "access_identifier": access_identifier, + "access_identity-provider": access_identity$$provider$, + "access_identity-providers": access_identity$$providers$, + "access_linkedin": access_linkedin$, + "access_name-3": access_name$$3$, + "access_oidc": access_oidc$, + "access_okta": access_okta$, + "access_onelogin": access_onelogin$, + "access_onetimepin": access_onetimepin$, + "access_passkeys": access_passkeys$, + "access_pingone": access_pingone$, + "access_saml": access_saml$, + "access_uuid": access_uuid$, + "access_yandex": access_yandex$, + }, + }, + outputSchema: { + "$ref": "#/$defs/access_single_response-3", + $defs: { + "access_api-response-single": access_api$$response$$single, "access_azureAD": access_azureAD, "access_centrify": access_centrify, "access_cloudflare": access_cloudflare, - "access_custom-claims-support": access_custom_claims_support, + "access_custom-claims-support": access_custom$$claims$$support, "access_duo": access_duo, "access_facebook": access_facebook, - "access_generic-oauth-config": access_generic_oauth_config, + "access_generic-oauth-config": access_generic$$oauth$$config, "access_github": access_github, "access_google": access_google, - "access_google-apps": access_google_apps, - "access_identifier": access_identifier, - "access_identity-provider": access_identity_provider, - "access_identity-providers": access_identity_providers, + "access_google-apps": access_google$$apps, + "access_identity-provider": access_identity$$provider, + "access_identity-providers": access_identity$$providers, "access_linkedin": access_linkedin, - "access_name-3": access_name_3, + "access_messages": access_messages, + "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -120,43 +158,13 @@ export const tools: readonly Tool[] = [ "access_passkeys": access_passkeys, "access_pingone": access_pingone, "access_saml": access_saml, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_single_response-3": access_single_response$$3, "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, - outputSchema: { - "$ref": "#/$defs/access_single_response-3", - $defs: { - "access_api-response-single": access_api_response_single_output, - "access_azureAD": access_azureAD_output, - "access_centrify": access_centrify_output, - "access_cloudflare": access_cloudflare_output, - "access_custom-claims-support": access_custom_claims_support_output, - "access_duo": access_duo_output, - "access_facebook": access_facebook_output, - "access_generic-oauth-config": access_generic_oauth_config_output, - "access_github": access_github_output, - "access_google": access_google_output, - "access_google-apps": access_google_apps_output, - "access_identity-provider": access_identity_provider_output, - "access_identity-providers": access_identity_providers_output, - "access_linkedin": access_linkedin_output, - "access_messages": access_messages_output, - "access_name-3": access_name_3_output, - "access_oidc": access_oidc_output, - "access_okta": access_okta_output, - "access_onelogin": access_onelogin_output, - "access_onetimepin": access_onetimepin_output, - "access_passkeys": access_passkeys_output, - "access_pingone": access_pingone_output, - "access_saml": access_saml_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_single_response-3": access_single_response_3_output, - "access_uuid": access_uuid_output, - "access_yandex": access_yandex_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -181,35 +189,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_azureAD": access_azureAD_output, - "access_centrify": access_centrify_output, - "access_cloudflare": access_cloudflare_output, - "access_custom-claims-support": access_custom_claims_support_output, - "access_duo": access_duo_output, - "access_facebook": access_facebook_output, - "access_generic-oauth-config": access_generic_oauth_config_output, - "access_github": access_github_output, - "access_google": access_google_output, - "access_google-apps": access_google_apps_output, - "access_identity-provider": access_identity_provider_output, - "access_identity-providers": access_identity_providers_output, - "access_linkedin": access_linkedin_output, - "access_messages": access_messages_output, - "access_name-3": access_name_3_output, - "access_oidc": access_oidc_output, - "access_okta": access_okta_output, - "access_onelogin": access_onelogin_output, - "access_onetimepin": access_onetimepin_output, - "access_passkeys": access_passkeys_output, - "access_pingone": access_pingone_output, - "access_saml": access_saml_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_single_response-3": access_single_response_3_output, - "access_uuid": access_uuid_output, - "access_yandex": access_yandex_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_azureAD": access_azureAD, + "access_centrify": access_centrify, + "access_cloudflare": access_cloudflare, + "access_custom-claims-support": access_custom$$claims$$support, + "access_duo": access_duo, + "access_facebook": access_facebook, + "access_generic-oauth-config": access_generic$$oauth$$config, + "access_github": access_github, + "access_google": access_google, + "access_google-apps": access_google$$apps, + "access_identity-provider": access_identity$$provider, + "access_identity-providers": access_identity$$providers, + "access_linkedin": access_linkedin, + "access_messages": access_messages, + "access_name-3": access_name$$3, + "access_oidc": access_oidc, + "access_okta": access_okta, + "access_onelogin": access_onelogin, + "access_onetimepin": access_onetimepin, + "access_passkeys": access_passkeys, + "access_pingone": access_pingone, + "access_saml": access_saml, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_single_response-3": access_single_response$$3, + "access_uuid": access_uuid, + "access_yandex": access_yandex, }, }, request: (args) => ({ @@ -218,46 +226,54 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_delete", + name: "zeroTrust_identityProviders_delete", title: "Delete an Access identity provider", description: "Deletes an identity provider from Access.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "identity_provider_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "identity_provider_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_id_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, annotations: { @@ -284,11 +300,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_id_response": access_id_response_output, - "access_messages": access_messages_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_id_response": access_id_response, + "access_messages": access_messages, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -296,70 +312,78 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_get", + name: "zeroTrust_identityProviders_get", title: "Get an Access identity provider", description: "Fetches a configured identity provider.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "identity_provider_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "identity_provider_id" + "path" ], $defs: { "access_identifier": access_identifier, - "access_uuid": access_uuid, + "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-3", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_azureAD": access_azureAD_output, - "access_centrify": access_centrify_output, - "access_cloudflare": access_cloudflare_output, - "access_custom-claims-support": access_custom_claims_support_output, - "access_duo": access_duo_output, - "access_facebook": access_facebook_output, - "access_generic-oauth-config": access_generic_oauth_config_output, - "access_github": access_github_output, - "access_google": access_google_output, - "access_google-apps": access_google_apps_output, - "access_identity-provider": access_identity_provider_output, - "access_identity-providers": access_identity_providers_output, - "access_linkedin": access_linkedin_output, - "access_messages": access_messages_output, - "access_name-3": access_name_3_output, - "access_oidc": access_oidc_output, - "access_okta": access_okta_output, - "access_onelogin": access_onelogin_output, - "access_onetimepin": access_onetimepin_output, - "access_passkeys": access_passkeys_output, - "access_pingone": access_pingone_output, - "access_saml": access_saml_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_single_response-3": access_single_response_3_output, - "access_uuid": access_uuid_output, - "access_yandex": access_yandex_output, + "access_api-response-single": access_api$$response$$single, + "access_azureAD": access_azureAD, + "access_centrify": access_centrify, + "access_cloudflare": access_cloudflare, + "access_custom-claims-support": access_custom$$claims$$support, + "access_duo": access_duo, + "access_facebook": access_facebook, + "access_generic-oauth-config": access_generic$$oauth$$config, + "access_github": access_github, + "access_google": access_google, + "access_google-apps": access_google$$apps, + "access_identity-provider": access_identity$$provider, + "access_identity-providers": access_identity$$providers, + "access_linkedin": access_linkedin, + "access_messages": access_messages, + "access_name-3": access_name$$3, + "access_oidc": access_oidc, + "access_okta": access_okta, + "access_onelogin": access_onelogin, + "access_onetimepin": access_onetimepin, + "access_passkeys": access_passkeys, + "access_pingone": access_pingone, + "access_saml": access_saml, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_single_response-3": access_single_response$$3, + "access_uuid": access_uuid, + "access_yandex": access_yandex, }, }, annotations: { @@ -387,35 +411,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_azureAD": access_azureAD_output, - "access_centrify": access_centrify_output, - "access_cloudflare": access_cloudflare_output, - "access_custom-claims-support": access_custom_claims_support_output, - "access_duo": access_duo_output, - "access_facebook": access_facebook_output, - "access_generic-oauth-config": access_generic_oauth_config_output, - "access_github": access_github_output, - "access_google": access_google_output, - "access_google-apps": access_google_apps_output, - "access_identity-provider": access_identity_provider_output, - "access_identity-providers": access_identity_providers_output, - "access_linkedin": access_linkedin_output, - "access_messages": access_messages_output, - "access_name-3": access_name_3_output, - "access_oidc": access_oidc_output, - "access_okta": access_okta_output, - "access_onelogin": access_onelogin_output, - "access_onetimepin": access_onetimepin_output, - "access_passkeys": access_passkeys_output, - "access_pingone": access_pingone_output, - "access_saml": access_saml_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_single_response-3": access_single_response_3_output, - "access_uuid": access_uuid_output, - "access_yandex": access_yandex_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_azureAD": access_azureAD, + "access_centrify": access_centrify, + "access_cloudflare": access_cloudflare, + "access_custom-claims-support": access_custom$$claims$$support, + "access_duo": access_duo, + "access_facebook": access_facebook, + "access_generic-oauth-config": access_generic$$oauth$$config, + "access_github": access_github, + "access_google": access_google, + "access_google-apps": access_google$$apps, + "access_identity-provider": access_identity$$provider, + "access_identity-providers": access_identity$$providers, + "access_linkedin": access_linkedin, + "access_messages": access_messages, + "access_name-3": access_name$$3, + "access_oidc": access_oidc, + "access_okta": access_okta, + "access_onelogin": access_onelogin, + "access_onetimepin": access_onetimepin, + "access_passkeys": access_passkeys, + "access_pingone": access_pingone, + "access_saml": access_saml, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_single_response-3": access_single_response$$3, + "access_uuid": access_uuid, + "access_yandex": access_yandex, }, }, request: (args) => ({ @@ -423,42 +447,55 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_identity_providers_list", + name: "zeroTrust_identityProviders_list", title: "List Access identity providers", description: "Lists all configured identity providers.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" + "type": "object" }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, - "page": { - "default": 1, - "description": "Page number of results.", - "type": "integer" - }, - "per_page": { - "default": 200, - "description": "Number of results per page.", - "type": "integer" - }, - "scim_enabled": { - "description": "Indicates to Access to only retrieve identity providers that have the System for Cross-Domain Identity Management (SCIM) enabled.", - "type": "string" + "query": { + "properties": { + "page": { + "default": 1, + "description": "Page number of results.", + "type": "integer" + }, + "per_page": { + "default": 200, + "description": "Number of results per page.", + "type": "integer" + }, + "scim_enabled": { + "description": "Indicates to Access to only retrieve identity providers that have the System for Cross-Domain Identity Management (SCIM) enabled.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -467,34 +504,34 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_response_collection", $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_azureAD": access_azureAD_output, - "access_centrify": access_centrify_output, - "access_cloudflare": access_cloudflare_output, - "access_custom-claims-support": access_custom_claims_support_output, - "access_duo": access_duo_output, - "access_facebook": access_facebook_output, - "access_generic-oauth-config": access_generic_oauth_config_output, - "access_github": access_github_output, - "access_google": access_google_output, - "access_google-apps": access_google_apps_output, - "access_identity-provider": access_identity_provider_output, - "access_linkedin": access_linkedin_output, - "access_messages": access_messages_output, - "access_name-3": access_name_3_output, - "access_oidc": access_oidc_output, - "access_okta": access_okta_output, - "access_onelogin": access_onelogin_output, - "access_onetimepin": access_onetimepin_output, - "access_passkeys": access_passkeys_output, - "access_pingone": access_pingone_output, - "access_response_collection": access_response_collection_output, - "access_saml": access_saml_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_uuid": access_uuid_output, - "access_yandex": access_yandex_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_azureAD": access_azureAD, + "access_centrify": access_centrify, + "access_cloudflare": access_cloudflare, + "access_custom-claims-support": access_custom$$claims$$support, + "access_duo": access_duo, + "access_facebook": access_facebook, + "access_generic-oauth-config": access_generic$$oauth$$config, + "access_github": access_github, + "access_google": access_google, + "access_google-apps": access_google$$apps, + "access_identity-provider": access_identity$$provider, + "access_linkedin": access_linkedin, + "access_messages": access_messages, + "access_name-3": access_name$$3, + "access_oidc": access_oidc, + "access_okta": access_okta, + "access_onelogin": access_onelogin, + "access_onetimepin": access_onetimepin, + "access_passkeys": access_passkeys, + "access_pingone": access_pingone, + "access_response_collection": access_response_collection, + "access_saml": access_saml, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_uuid": access_uuid, + "access_yandex": access_yandex, }, }, annotations: { @@ -522,95 +559,133 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_azureAD": access_azureAD_output, - "access_centrify": access_centrify_output, - "access_cloudflare": access_cloudflare_output, - "access_custom-claims-support": access_custom_claims_support_output, - "access_duo": access_duo_output, - "access_facebook": access_facebook_output, - "access_generic-oauth-config": access_generic_oauth_config_output, - "access_github": access_github_output, - "access_google": access_google_output, - "access_google-apps": access_google_apps_output, - "access_identity-provider": access_identity_provider_output, - "access_linkedin": access_linkedin_output, - "access_messages": access_messages_output, - "access_name-3": access_name_3_output, - "access_oidc": access_oidc_output, - "access_okta": access_okta_output, - "access_onelogin": access_onelogin_output, - "access_onetimepin": access_onetimepin_output, - "access_passkeys": access_passkeys_output, - "access_pingone": access_pingone_output, - "access_response_collection": access_response_collection_output, - "access_saml": access_saml_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_uuid": access_uuid_output, - "access_yandex": access_yandex_output, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_azureAD": access_azureAD, + "access_centrify": access_centrify, + "access_cloudflare": access_cloudflare, + "access_custom-claims-support": access_custom$$claims$$support, + "access_duo": access_duo, + "access_facebook": access_facebook, + "access_generic-oauth-config": access_generic$$oauth$$config, + "access_github": access_github, + "access_google": access_google, + "access_google-apps": access_google$$apps, + "access_identity-provider": access_identity$$provider, + "access_linkedin": access_linkedin, + "access_messages": access_messages, + "access_name-3": access_name$$3, + "access_oidc": access_oidc, + "access_okta": access_okta, + "access_onelogin": access_onelogin, + "access_onetimepin": access_onetimepin, + "access_passkeys": access_passkeys, + "access_pingone": access_pingone, + "access_response_collection": access_response_collection, + "access_saml": access_saml, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_uuid": access_uuid, + "access_yandex": access_yandex, }, }, request: (args) => ({ path: `/${pathParam(args, "account_or_zone")}/${pathParam(args, "account_or_zone_id")}/access/identity_providers`, query: [ - ["scim_enabled", args["scim_enabled"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], + ["scim_enabled", param(args, "query", "scim_enabled"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], ], }), }, { - name: "zero_trust_identity_providers_update", + name: "zeroTrust_identityProviders_update", title: "Update an Access identity provider", description: "Updates a configured identity provider.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "$ref": "#/$defs/access_identity-providers" }, - "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + }, + "identity_provider_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id", + "identity_provider_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", - "identity_provider_id", + "path", "body" ], $defs: { + "access_azureAD": access_azureAD$, + "access_centrify": access_centrify$, + "access_cloudflare": access_cloudflare$, + "access_custom-claims-support": access_custom$$claims$$support$, + "access_duo": access_duo$, + "access_facebook": access_facebook$, + "access_generic-oauth-config": access_generic$$oauth$$config$, + "access_github": access_github$, + "access_google": access_google$, + "access_google-apps": access_google$$apps$, + "access_identifier": access_identifier, + "access_identity-provider": access_identity$$provider$, + "access_identity-providers": access_identity$$providers$, + "access_linkedin": access_linkedin$, + "access_name-3": access_name$$3$, + "access_oidc": access_oidc$, + "access_okta": access_okta$, + "access_onelogin": access_onelogin$, + "access_onetimepin": access_onetimepin$, + "access_passkeys": access_passkeys$, + "access_pingone": access_pingone$, + "access_saml": access_saml$, + "access_uuid": access_uuid$, + "access_yandex": access_yandex$, + }, + }, + outputSchema: { + "$ref": "#/$defs/access_single_response-3", + $defs: { + "access_api-response-single": access_api$$response$$single, "access_azureAD": access_azureAD, "access_centrify": access_centrify, "access_cloudflare": access_cloudflare, - "access_custom-claims-support": access_custom_claims_support, + "access_custom-claims-support": access_custom$$claims$$support, "access_duo": access_duo, "access_facebook": access_facebook, - "access_generic-oauth-config": access_generic_oauth_config, + "access_generic-oauth-config": access_generic$$oauth$$config, "access_github": access_github, "access_google": access_google, - "access_google-apps": access_google_apps, - "access_identifier": access_identifier, - "access_identity-provider": access_identity_provider, - "access_identity-providers": access_identity_providers, + "access_google-apps": access_google$$apps, + "access_identity-provider": access_identity$$provider, + "access_identity-providers": access_identity$$providers, "access_linkedin": access_linkedin, - "access_name-3": access_name_3, + "access_messages": access_messages, + "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -618,43 +693,13 @@ export const tools: readonly Tool[] = [ "access_passkeys": access_passkeys, "access_pingone": access_pingone, "access_saml": access_saml, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_single_response-3": access_single_response$$3, "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, - outputSchema: { - "$ref": "#/$defs/access_single_response-3", - $defs: { - "access_api-response-single": access_api_response_single_output, - "access_azureAD": access_azureAD_output, - "access_centrify": access_centrify_output, - "access_cloudflare": access_cloudflare_output, - "access_custom-claims-support": access_custom_claims_support_output, - "access_duo": access_duo_output, - "access_facebook": access_facebook_output, - "access_generic-oauth-config": access_generic_oauth_config_output, - "access_github": access_github_output, - "access_google": access_google_output, - "access_google-apps": access_google_apps_output, - "access_identity-provider": access_identity_provider_output, - "access_identity-providers": access_identity_providers_output, - "access_linkedin": access_linkedin_output, - "access_messages": access_messages_output, - "access_name-3": access_name_3_output, - "access_oidc": access_oidc_output, - "access_okta": access_okta_output, - "access_onelogin": access_onelogin_output, - "access_onetimepin": access_onetimepin_output, - "access_passkeys": access_passkeys_output, - "access_pingone": access_pingone_output, - "access_saml": access_saml_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_single_response-3": access_single_response_3_output, - "access_uuid": access_uuid_output, - "access_yandex": access_yandex_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -679,35 +724,35 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_azureAD": access_azureAD_output, - "access_centrify": access_centrify_output, - "access_cloudflare": access_cloudflare_output, - "access_custom-claims-support": access_custom_claims_support_output, - "access_duo": access_duo_output, - "access_facebook": access_facebook_output, - "access_generic-oauth-config": access_generic_oauth_config_output, - "access_github": access_github_output, - "access_google": access_google_output, - "access_google-apps": access_google_apps_output, - "access_identity-provider": access_identity_provider_output, - "access_identity-providers": access_identity_providers_output, - "access_linkedin": access_linkedin_output, - "access_messages": access_messages_output, - "access_name-3": access_name_3_output, - "access_oidc": access_oidc_output, - "access_okta": access_okta_output, - "access_onelogin": access_onelogin_output, - "access_onetimepin": access_onetimepin_output, - "access_passkeys": access_passkeys_output, - "access_pingone": access_pingone_output, - "access_saml": access_saml_output, - "access_saml_certificate": access_saml_certificate_output, - "access_saml_certificate_set": access_saml_certificate_set_output, - "access_single_response-3": access_single_response_3_output, - "access_uuid": access_uuid_output, - "access_yandex": access_yandex_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_azureAD": access_azureAD, + "access_centrify": access_centrify, + "access_cloudflare": access_cloudflare, + "access_custom-claims-support": access_custom$$claims$$support, + "access_duo": access_duo, + "access_facebook": access_facebook, + "access_generic-oauth-config": access_generic$$oauth$$config, + "access_github": access_github, + "access_google": access_google, + "access_google-apps": access_google$$apps, + "access_identity-provider": access_identity$$provider, + "access_identity-providers": access_identity$$providers, + "access_linkedin": access_linkedin, + "access_messages": access_messages, + "access_name-3": access_name$$3, + "access_oidc": access_oidc, + "access_okta": access_okta, + "access_onelogin": access_onelogin, + "access_onetimepin": access_onetimepin, + "access_passkeys": access_passkeys, + "access_pingone": access_pingone, + "access_saml": access_saml, + "access_saml_certificate": access_saml_certificate, + "access_saml_certificate_set": access_saml_certificate_set, + "access_single_response-3": access_single_response$$3, + "access_uuid": access_uuid, + "access_yandex": access_yandex, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts b/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts index 0c614c4a1..435d975b6 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts @@ -6,6 +6,6 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_doh_jwt_duration` in responses. */ -export const access_doh_jwt_duration_output: JsonSchema = { +export const access_doh_jwt_duration: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts b/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts index fc1ba1c19..eab114541 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts @@ -3,46 +3,54 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_client_id_output, - access_created_at_output, - access_duration_output, - access_enabled_output, - access_leak_report_url_output, - access_leak_reported_at_output, - access_leak_reporter_output, - access_messages_output, - access_name_2_output, - access_service_tokens_output, - access_single_response_2_output, - access_tags_output, - access_timestamp_output, - access_updated_at_output, - access_uuid_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_client_id, + access_created_at, + access_duration, + access_enabled, + access_leak_report_url, + access_leak_reported_at, + access_leak_reporter, + access_messages, + access_name$$2, + access_service$$tokens, + access_single_response$$2, + access_tags, + access_timestamp, + access_updated_at, + access_uuid, } from "../../outputs.js"; import { access_identifier } from "../../schemas.js"; -import { access_doh_jwt_duration_output } from "./outputs.js"; -import { access_doh_jwt_duration } from "./schemas.js"; +import { access_doh_jwt_duration } from "./outputs.js"; +import { access_doh_jwt_duration as access_doh_jwt_duration$ } from "./schemas.js"; /** - * The tools of `zero_trust.organization.doh`. + * The tools of `zeroTrust.organization.doh`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_organization_doh_get", + name: "zeroTrust_organization_doh_get", title: "Get your Zero Trust organization DoH settings", description: "Returns the DoH settings for your Zero Trust organization.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -68,22 +76,22 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -129,23 +137,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -153,16 +161,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_organization_doh_update", + name: "zeroTrust_organization_doh_update", title: "Update your Zero Trust organization DoH settings", description: "Updates the DoH settings for your Zero Trust organization.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "properties": { "doh_jwt_duration": { @@ -175,13 +179,25 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { - "access_doh_jwt_duration": access_doh_jwt_duration, + "access_doh_jwt_duration": access_doh_jwt_duration$, "access_identifier": access_identifier, }, }, @@ -205,23 +221,23 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_doh_jwt_duration": access_doh_jwt_duration_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_doh_jwt_duration": access_doh_jwt_duration, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, annotations: { @@ -265,24 +281,24 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_client_id": access_client_id_output, - "access_created_at": access_created_at_output, - "access_doh_jwt_duration": access_doh_jwt_duration_output, - "access_duration": access_duration_output, - "access_enabled": access_enabled_output, - "access_leak_report_url": access_leak_report_url_output, - "access_leak_reported_at": access_leak_reported_at_output, - "access_leak_reporter": access_leak_reporter_output, - "access_messages": access_messages_output, - "access_name-2": access_name_2_output, - "access_service-tokens": access_service_tokens_output, - "access_single_response-2": access_single_response_2_output, - "access_tags": access_tags_output, - "access_timestamp": access_timestamp_output, - "access_updated_at": access_updated_at_output, - "access_uuid": access_uuid_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_client_id": access_client_id, + "access_created_at": access_created_at, + "access_doh_jwt_duration": access_doh_jwt_duration, + "access_duration": access_duration, + "access_enabled": access_enabled, + "access_leak_report_url": access_leak_report_url, + "access_leak_reported_at": access_leak_reported_at, + "access_leak_reporter": access_leak_reporter, + "access_messages": access_messages, + "access_name-2": access_name$$2, + "access_service-tokens": access_service$$tokens, + "access_single_response-2": access_single_response$$2, + "access_tags": access_tags, + "access_timestamp": access_timestamp, + "access_updated_at": access_updated_at, + "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/organization/outputs.ts b/src/generated/forge-mcp/zeroTrust/organization/outputs.ts index 190cf2abb..cc57ef3c9 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/outputs.ts @@ -6,28 +6,28 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `access_allow_authenticate_via_warp` in responses. */ -export const access_allow_authenticate_via_warp_output: JsonSchema = { +export const access_allow_authenticate_via_warp: JsonSchema = { "type": "boolean" }; /** * The schema of `access_auth_domain` in responses. */ -export const access_auth_domain_output: JsonSchema = { +export const access_auth_domain: JsonSchema = { "type": "string" }; /** * The schema of `access_auto_redirect_to_identity` in responses. */ -export const access_auto_redirect_to_identity_output: JsonSchema = { +export const access_auto_redirect_to_identity: JsonSchema = { "type": "boolean" }; /** * The schema of `access_custom_pages` in responses. */ -export const access_custom_pages_output: JsonSchema = { +export const access_custom_pages: JsonSchema = { "properties": { "forbidden": { "type": "string" @@ -42,7 +42,7 @@ export const access_custom_pages_output: JsonSchema = { /** * The schema of `access_deny_unmatched_requests` in responses. */ -export const access_deny_unmatched_requests_output: JsonSchema = { +export const access_deny_unmatched_requests: JsonSchema = { "type": "boolean" }; @@ -50,7 +50,7 @@ export const access_deny_unmatched_requests_output: JsonSchema = { * The schema of `access_deny_unmatched_requests_exempted_zone_names` in * responses. */ -export const access_deny_unmatched_requests_exempted_zone_names_output: JsonSchema = { +export const access_deny_unmatched_requests_exempted_zone_names: JsonSchema = { "items": { "type": "string" }, @@ -60,14 +60,14 @@ export const access_deny_unmatched_requests_exempted_zone_names_output: JsonSche /** * The schema of `access_disable_end_user_app_creation` in responses. */ -export const access_disable_end_user_app_creation_output: JsonSchema = { +export const access_disable_end_user_app_creation: JsonSchema = { "type": "boolean" }; /** * The schema of `access_get_response` in responses. */ -export const access_get_response_output: JsonSchema = { +export const access_get_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -101,14 +101,14 @@ export const access_get_response_output: JsonSchema = { /** * The schema of `access_is_ui_read_only` in responses. */ -export const access_is_ui_read_only_output: JsonSchema = { +export const access_is_ui_read_only: JsonSchema = { "type": "boolean" }; /** * The schema of `access_login_design` in responses. */ -export const access_login_design_output: JsonSchema = { +export const access_login_design: JsonSchema = { "properties": { "background_color": { "type": "string" @@ -132,7 +132,7 @@ export const access_login_design_output: JsonSchema = { /** * The schema of `access_mfa_piv_key_requirements` in responses. */ -export const access_mfa_piv_key_requirements_output: JsonSchema = { +export const access_mfa_piv_key_requirements: JsonSchema = { "properties": { "pin_policy": { "enum": [ @@ -185,21 +185,21 @@ export const access_mfa_piv_key_requirements_output: JsonSchema = { /** * The schema of `access_mfa_required_for_all_apps` in responses. */ -export const access_mfa_required_for_all_apps_output: JsonSchema = { +export const access_mfa_required_for_all_apps: JsonSchema = { "type": "boolean" }; /** * The schema of `access_name` in responses. */ -export const access_name_output: JsonSchema = { +export const access_name: JsonSchema = { "type": "string" }; /** * The schema of `access_org_mfa_config` in responses. */ -export const access_org_mfa_config_output: JsonSchema = { +export const access_org_mfa_config: JsonSchema = { "properties": { "allowed_authenticators": { "items": { @@ -231,7 +231,7 @@ export const access_org_mfa_config_output: JsonSchema = { /** * The schema of `access_organizations` in responses. */ -export const access_organizations_output: JsonSchema = { +export const access_organizations: JsonSchema = { "properties": { "allow_authenticate_via_warp": { "$ref": "#/$defs/access_allow_authenticate_via_warp" @@ -306,7 +306,7 @@ export const access_organizations_output: JsonSchema = { /** * The schema of `access_service_token_inactivity` in responses. */ -export const access_service_token_inactivity_output: JsonSchema = { +export const access_service_token_inactivity: JsonSchema = { "properties": { "action": { "enum": [ @@ -333,14 +333,14 @@ export const access_service_token_inactivity_output: JsonSchema = { /** * The schema of `access_session_duration` in responses. */ -export const access_session_duration_output: JsonSchema = { +export const access_session_duration: JsonSchema = { "type": "string" }; /** * The schema of `access_single_response` in responses. */ -export const access_single_response_output: JsonSchema = { +export const access_single_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -359,34 +359,34 @@ export const access_single_response_output: JsonSchema = { /** * The schema of `access_strict_service_token_auth` in responses. */ -export const access_strict_service_token_auth_output: JsonSchema = { +export const access_strict_service_token_auth: JsonSchema = { "type": "boolean" }; /** * The schema of `access_ui_read_only_toggle_reason` in responses. */ -export const access_ui_read_only_toggle_reason_output: JsonSchema = { +export const access_ui_read_only_toggle_reason: JsonSchema = { "type": "string" }; /** * The schema of `access_user_seat_expiration_inactive_time` in responses. */ -export const access_user_seat_expiration_inactive_time_output: JsonSchema = { +export const access_user_seat_expiration_inactive_time: JsonSchema = { "type": "string" }; /** * The schema of `access_warp_auth_non_browser_401` in responses. */ -export const access_warp_auth_non_browser_401_output: JsonSchema = { +export const access_warp_auth_non_browser_401: JsonSchema = { "type": "boolean" }; /** * The schema of `access_warp_auth_session_duration` in responses. */ -export const access_warp_auth_session_duration_output: JsonSchema = { +export const access_warp_auth_session_duration: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/organization/tools.ts b/src/generated/forge-mcp/zeroTrust/organization/tools.ts index f05f0aab3..d90ce10ca 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/tools.ts @@ -3,39 +3,14 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_created_at_output, - access_messages_output, - access_timestamp_output, - access_updated_at_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_created_at, + access_messages, + access_timestamp, + access_updated_at, } from "../outputs.js"; import { access_identifier } from "../schemas.js"; -import { - access_allow_authenticate_via_warp_output, - access_auth_domain_output, - access_auto_redirect_to_identity_output, - access_custom_pages_output, - access_deny_unmatched_requests_exempted_zone_names_output, - access_deny_unmatched_requests_output, - access_disable_end_user_app_creation_output, - access_get_response_output, - access_is_ui_read_only_output, - access_login_design_output, - access_mfa_piv_key_requirements_output, - access_mfa_required_for_all_apps_output, - access_name_output, - access_org_mfa_config_output, - access_organizations_output, - access_service_token_inactivity_output, - access_session_duration_output, - access_single_response_output, - access_strict_service_token_auth_output, - access_ui_read_only_toggle_reason_output, - access_user_seat_expiration_inactive_time_output, - access_warp_auth_non_browser_401_output, - access_warp_auth_session_duration_output, -} from "./outputs.js"; import { access_allow_authenticate_via_warp, access_auth_domain, @@ -44,44 +19,57 @@ import { access_deny_unmatched_requests, access_deny_unmatched_requests_exempted_zone_names, access_disable_end_user_app_creation, + access_get_response, access_is_ui_read_only, access_login_design, access_mfa_piv_key_requirements, access_mfa_required_for_all_apps, access_name, access_org_mfa_config, + access_organizations, access_service_token_inactivity, access_session_duration, + access_single_response, access_strict_service_token_auth, access_ui_read_only_toggle_reason, access_user_seat_expiration_inactive_time, access_warp_auth_non_browser_401, access_warp_auth_session_duration, +} from "./outputs.js"; +import { + access_allow_authenticate_via_warp as access_allow_authenticate_via_warp$, + access_auth_domain as access_auth_domain$, + access_auto_redirect_to_identity as access_auto_redirect_to_identity$, + access_custom_pages as access_custom_pages$, + access_deny_unmatched_requests as access_deny_unmatched_requests$, + access_deny_unmatched_requests_exempted_zone_names as access_deny_unmatched_requests_exempted_zone_names$, + access_disable_end_user_app_creation as access_disable_end_user_app_creation$, + access_is_ui_read_only as access_is_ui_read_only$, + access_login_design as access_login_design$, + access_mfa_piv_key_requirements as access_mfa_piv_key_requirements$, + access_mfa_required_for_all_apps as access_mfa_required_for_all_apps$, + access_name as access_name$, + access_org_mfa_config as access_org_mfa_config$, + access_service_token_inactivity as access_service_token_inactivity$, + access_session_duration as access_session_duration$, + access_strict_service_token_auth as access_strict_service_token_auth$, + access_ui_read_only_toggle_reason as access_ui_read_only_toggle_reason$, + access_user_seat_expiration_inactive_time as access_user_seat_expiration_inactive_time$, + access_warp_auth_non_browser_401 as access_warp_auth_non_browser_401$, + access_warp_auth_session_duration as access_warp_auth_session_duration$, } from "./schemas.js"; /** - * The tools of `zero_trust.organization`. + * The tools of `zeroTrust.organization`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_organization_create", + name: "zeroTrust_organization_create", title: "Create your Zero Trust organization", description: "Sets up a Zero Trust organization for your account or zone.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "allow_authenticate_via_warp": { @@ -167,68 +155,88 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], + $defs: { + "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp$, + "access_auth_domain": access_auth_domain$, + "access_auto_redirect_to_identity": access_auto_redirect_to_identity$, + "access_deny_unmatched_requests": access_deny_unmatched_requests$, + "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names$, + "access_disable_end_user_app_creation": access_disable_end_user_app_creation$, + "access_identifier": access_identifier, + "access_is_ui_read_only": access_is_ui_read_only$, + "access_login_design": access_login_design$, + "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements$, + "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps$, + "access_name": access_name$, + "access_org_mfa_config": access_org_mfa_config$, + "access_service_token_inactivity": access_service_token_inactivity$, + "access_session_duration": access_session_duration$, + "access_strict_service_token_auth": access_strict_service_token_auth$, + "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason$, + "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time$, + "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401$, + "access_warp_auth_session_duration": access_warp_auth_session_duration$, + }, + }, + outputSchema: { + "$ref": "#/$defs/access_single_response", $defs: { "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, + "access_api-response-single": access_api$$response$$single, "access_auth_domain": access_auth_domain, "access_auto_redirect_to_identity": access_auto_redirect_to_identity, + "access_created_at": access_created_at, + "access_custom_pages": access_custom_pages, "access_deny_unmatched_requests": access_deny_unmatched_requests, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, "access_disable_end_user_app_creation": access_disable_end_user_app_creation, - "access_identifier": access_identifier, "access_is_ui_read_only": access_is_ui_read_only, "access_login_design": access_login_design, + "access_messages": access_messages, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, "access_name": access_name, "access_org_mfa_config": access_org_mfa_config, + "access_organizations": access_organizations, "access_service_token_inactivity": access_service_token_inactivity, "access_session_duration": access_session_duration, + "access_single_response": access_single_response, "access_strict_service_token_auth": access_strict_service_token_auth, + "access_timestamp": access_timestamp, "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, + "access_updated_at": access_updated_at, "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, - outputSchema: { - "$ref": "#/$defs/access_single_response", - $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_domain": access_auth_domain_output, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity_output, - "access_created_at": access_created_at_output, - "access_custom_pages": access_custom_pages_output, - "access_deny_unmatched_requests": access_deny_unmatched_requests_output, - "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names_output, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation_output, - "access_is_ui_read_only": access_is_ui_read_only_output, - "access_login_design": access_login_design_output, - "access_messages": access_messages_output, - "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements_output, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps_output, - "access_name": access_name_output, - "access_org_mfa_config": access_org_mfa_config_output, - "access_organizations": access_organizations_output, - "access_service_token_inactivity": access_service_token_inactivity_output, - "access_session_duration": access_session_duration_output, - "access_single_response": access_single_response_output, - "access_strict_service_token_auth": access_strict_service_token_auth_output, - "access_timestamp": access_timestamp_output, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason_output, - "access_updated_at": access_updated_at_output, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time_output, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401_output, - "access_warp_auth_session_duration": access_warp_auth_session_duration_output, - }, - }, annotations: { "destructiveHint": false, "idempotentHint": false, @@ -253,34 +261,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_domain": access_auth_domain_output, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity_output, - "access_created_at": access_created_at_output, - "access_custom_pages": access_custom_pages_output, - "access_deny_unmatched_requests": access_deny_unmatched_requests_output, - "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names_output, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation_output, - "access_is_ui_read_only": access_is_ui_read_only_output, - "access_login_design": access_login_design_output, - "access_messages": access_messages_output, - "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements_output, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps_output, - "access_name": access_name_output, - "access_org_mfa_config": access_org_mfa_config_output, - "access_organizations": access_organizations_output, - "access_service_token_inactivity": access_service_token_inactivity_output, - "access_session_duration": access_session_duration_output, - "access_single_response": access_single_response_output, - "access_strict_service_token_auth": access_strict_service_token_auth_output, - "access_timestamp": access_timestamp_output, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason_output, - "access_updated_at": access_updated_at_output, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time_output, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401_output, - "access_warp_auth_session_duration": access_warp_auth_session_duration_output, + "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_auth_domain": access_auth_domain, + "access_auto_redirect_to_identity": access_auto_redirect_to_identity, + "access_created_at": access_created_at, + "access_custom_pages": access_custom_pages, + "access_deny_unmatched_requests": access_deny_unmatched_requests, + "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, + "access_disable_end_user_app_creation": access_disable_end_user_app_creation, + "access_is_ui_read_only": access_is_ui_read_only, + "access_login_design": access_login_design, + "access_messages": access_messages, + "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, + "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, + "access_name": access_name, + "access_org_mfa_config": access_org_mfa_config, + "access_organizations": access_organizations, + "access_service_token_inactivity": access_service_token_inactivity, + "access_session_duration": access_session_duration, + "access_single_response": access_single_response, + "access_strict_service_token_auth": access_strict_service_token_auth, + "access_timestamp": access_timestamp, + "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, + "access_updated_at": access_updated_at, + "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, + "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, + "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, request: (args) => ({ @@ -289,28 +297,36 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_organization_get", + name: "zeroTrust_organization_get", title: "Get your Zero Trust organization", description: "Returns the configuration for your Zero Trust organization.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -319,33 +335,33 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_get_response", $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_domain": access_auth_domain_output, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity_output, - "access_created_at": access_created_at_output, - "access_custom_pages": access_custom_pages_output, - "access_deny_unmatched_requests": access_deny_unmatched_requests_output, - "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names_output, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation_output, - "access_get_response": access_get_response_output, - "access_is_ui_read_only": access_is_ui_read_only_output, - "access_login_design": access_login_design_output, - "access_messages": access_messages_output, - "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements_output, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps_output, - "access_name": access_name_output, - "access_org_mfa_config": access_org_mfa_config_output, - "access_organizations": access_organizations_output, - "access_service_token_inactivity": access_service_token_inactivity_output, - "access_session_duration": access_session_duration_output, - "access_strict_service_token_auth": access_strict_service_token_auth_output, - "access_timestamp": access_timestamp_output, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason_output, - "access_updated_at": access_updated_at_output, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time_output, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401_output, - "access_warp_auth_session_duration": access_warp_auth_session_duration_output, + "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, + "access_api-response-single": access_api$$response$$single, + "access_auth_domain": access_auth_domain, + "access_auto_redirect_to_identity": access_auto_redirect_to_identity, + "access_created_at": access_created_at, + "access_custom_pages": access_custom_pages, + "access_deny_unmatched_requests": access_deny_unmatched_requests, + "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, + "access_disable_end_user_app_creation": access_disable_end_user_app_creation, + "access_get_response": access_get_response, + "access_is_ui_read_only": access_is_ui_read_only, + "access_login_design": access_login_design, + "access_messages": access_messages, + "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, + "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, + "access_name": access_name, + "access_org_mfa_config": access_org_mfa_config, + "access_organizations": access_organizations, + "access_service_token_inactivity": access_service_token_inactivity, + "access_session_duration": access_session_duration, + "access_strict_service_token_auth": access_strict_service_token_auth, + "access_timestamp": access_timestamp, + "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, + "access_updated_at": access_updated_at, + "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, + "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, + "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, annotations: { @@ -374,34 +390,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_domain": access_auth_domain_output, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity_output, - "access_created_at": access_created_at_output, - "access_custom_pages": access_custom_pages_output, - "access_deny_unmatched_requests": access_deny_unmatched_requests_output, - "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names_output, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation_output, - "access_get_response": access_get_response_output, - "access_is_ui_read_only": access_is_ui_read_only_output, - "access_login_design": access_login_design_output, - "access_messages": access_messages_output, - "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements_output, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps_output, - "access_name": access_name_output, - "access_org_mfa_config": access_org_mfa_config_output, - "access_organizations": access_organizations_output, - "access_service_token_inactivity": access_service_token_inactivity_output, - "access_session_duration": access_session_duration_output, - "access_strict_service_token_auth": access_strict_service_token_auth_output, - "access_timestamp": access_timestamp_output, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason_output, - "access_updated_at": access_updated_at_output, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time_output, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401_output, - "access_warp_auth_session_duration": access_warp_auth_session_duration_output, + "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_auth_domain": access_auth_domain, + "access_auto_redirect_to_identity": access_auto_redirect_to_identity, + "access_created_at": access_created_at, + "access_custom_pages": access_custom_pages, + "access_deny_unmatched_requests": access_deny_unmatched_requests, + "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, + "access_disable_end_user_app_creation": access_disable_end_user_app_creation, + "access_get_response": access_get_response, + "access_is_ui_read_only": access_is_ui_read_only, + "access_login_design": access_login_design, + "access_messages": access_messages, + "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, + "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, + "access_name": access_name, + "access_org_mfa_config": access_org_mfa_config, + "access_organizations": access_organizations, + "access_service_token_inactivity": access_service_token_inactivity, + "access_session_duration": access_session_duration, + "access_strict_service_token_auth": access_strict_service_token_auth, + "access_timestamp": access_timestamp, + "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, + "access_updated_at": access_updated_at, + "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, + "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, + "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, request: (args) => ({ @@ -409,24 +425,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_organization_update", + name: "zeroTrust_organization_update", title: "Update your Zero Trust organization", description: "Updates the configuration for your Zero Trust organization.", inputSchema: { type: "object", properties: { - "account_or_zone": { - "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", - "enum": [ - "accounts", - "zones" - ], - "type": "string" - }, - "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." - }, "body": { "properties": { "allow_authenticate_via_warp": { @@ -515,69 +519,89 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_or_zone": { + "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", + "enum": [ + "accounts", + "zones" + ], + "type": "string" + }, + "account_or_zone_id": { + "$ref": "#/$defs/access_identifier", + "description": "The account ID or zone ID, as selected by account_or_zone." + } + }, + "required": [ + "account_or_zone", + "account_or_zone_id" + ], + "type": "object" } }, required: [ - "account_or_zone", - "account_or_zone_id", + "path", "body" ], + $defs: { + "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp$, + "access_auth_domain": access_auth_domain$, + "access_auto_redirect_to_identity": access_auto_redirect_to_identity$, + "access_custom_pages": access_custom_pages$, + "access_deny_unmatched_requests": access_deny_unmatched_requests$, + "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names$, + "access_disable_end_user_app_creation": access_disable_end_user_app_creation$, + "access_identifier": access_identifier, + "access_is_ui_read_only": access_is_ui_read_only$, + "access_login_design": access_login_design$, + "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements$, + "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps$, + "access_name": access_name$, + "access_org_mfa_config": access_org_mfa_config$, + "access_service_token_inactivity": access_service_token_inactivity$, + "access_session_duration": access_session_duration$, + "access_strict_service_token_auth": access_strict_service_token_auth$, + "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason$, + "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time$, + "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401$, + "access_warp_auth_session_duration": access_warp_auth_session_duration$, + }, + }, + outputSchema: { + "$ref": "#/$defs/access_single_response", $defs: { "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, + "access_api-response-single": access_api$$response$$single, "access_auth_domain": access_auth_domain, "access_auto_redirect_to_identity": access_auto_redirect_to_identity, + "access_created_at": access_created_at, "access_custom_pages": access_custom_pages, "access_deny_unmatched_requests": access_deny_unmatched_requests, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, "access_disable_end_user_app_creation": access_disable_end_user_app_creation, - "access_identifier": access_identifier, "access_is_ui_read_only": access_is_ui_read_only, "access_login_design": access_login_design, + "access_messages": access_messages, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, "access_name": access_name, "access_org_mfa_config": access_org_mfa_config, + "access_organizations": access_organizations, "access_service_token_inactivity": access_service_token_inactivity, "access_session_duration": access_session_duration, + "access_single_response": access_single_response, "access_strict_service_token_auth": access_strict_service_token_auth, + "access_timestamp": access_timestamp, "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, + "access_updated_at": access_updated_at, "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, - outputSchema: { - "$ref": "#/$defs/access_single_response", - $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_domain": access_auth_domain_output, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity_output, - "access_created_at": access_created_at_output, - "access_custom_pages": access_custom_pages_output, - "access_deny_unmatched_requests": access_deny_unmatched_requests_output, - "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names_output, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation_output, - "access_is_ui_read_only": access_is_ui_read_only_output, - "access_login_design": access_login_design_output, - "access_messages": access_messages_output, - "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements_output, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps_output, - "access_name": access_name_output, - "access_org_mfa_config": access_org_mfa_config_output, - "access_organizations": access_organizations_output, - "access_service_token_inactivity": access_service_token_inactivity_output, - "access_session_duration": access_session_duration_output, - "access_single_response": access_single_response_output, - "access_strict_service_token_auth": access_strict_service_token_auth_output, - "access_timestamp": access_timestamp_output, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason_output, - "access_updated_at": access_updated_at_output, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time_output, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401_output, - "access_warp_auth_session_duration": access_warp_auth_session_duration_output, - }, - }, annotations: { "destructiveHint": true, "idempotentHint": true, @@ -602,34 +626,34 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_auth_domain": access_auth_domain_output, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity_output, - "access_created_at": access_created_at_output, - "access_custom_pages": access_custom_pages_output, - "access_deny_unmatched_requests": access_deny_unmatched_requests_output, - "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names_output, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation_output, - "access_is_ui_read_only": access_is_ui_read_only_output, - "access_login_design": access_login_design_output, - "access_messages": access_messages_output, - "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements_output, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps_output, - "access_name": access_name_output, - "access_org_mfa_config": access_org_mfa_config_output, - "access_organizations": access_organizations_output, - "access_service_token_inactivity": access_service_token_inactivity_output, - "access_session_duration": access_session_duration_output, - "access_single_response": access_single_response_output, - "access_strict_service_token_auth": access_strict_service_token_auth_output, - "access_timestamp": access_timestamp_output, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason_output, - "access_updated_at": access_updated_at_output, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time_output, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401_output, - "access_warp_auth_session_duration": access_warp_auth_session_duration_output, + "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_auth_domain": access_auth_domain, + "access_auto_redirect_to_identity": access_auto_redirect_to_identity, + "access_created_at": access_created_at, + "access_custom_pages": access_custom_pages, + "access_deny_unmatched_requests": access_deny_unmatched_requests, + "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, + "access_disable_end_user_app_creation": access_disable_end_user_app_creation, + "access_is_ui_read_only": access_is_ui_read_only, + "access_login_design": access_login_design, + "access_messages": access_messages, + "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, + "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, + "access_name": access_name, + "access_org_mfa_config": access_org_mfa_config, + "access_organizations": access_organizations, + "access_service_token_inactivity": access_service_token_inactivity, + "access_session_duration": access_session_duration, + "access_single_response": access_single_response, + "access_strict_service_token_auth": access_strict_service_token_auth, + "access_timestamp": access_timestamp, + "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, + "access_updated_at": access_updated_at, + "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, + "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, + "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/outputs.ts b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/outputs.ts index a6ae4279e..606fa17e0 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/outputs.ts @@ -6,14 +6,14 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `access_grant_trust_to_all_accounts_in_org` in responses. */ -export const access_grant_trust_to_all_accounts_in_org_output: JsonSchema = { +export const access_grant_trust_to_all_accounts_in_org: JsonSchema = { "type": "boolean" }; /** * The schema of `access_trust_settings_response` in responses. */ -export const access_trust_settings_response_output: JsonSchema = { +export const access_trust_settings_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -43,7 +43,7 @@ export const access_trust_settings_response_output: JsonSchema = { /** * The schema of `access_trusting_accounts` in responses. */ -export const access_trusting_accounts_output: JsonSchema = { +export const access_trusting_accounts: JsonSchema = { "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/tools.ts b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/tools.ts index 1b0fd430c..b27a8c67d 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/tools.ts @@ -3,39 +3,47 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../outputs.js"; import { access_identifier } from "../../schemas.js"; -import { - access_grant_trust_to_all_accounts_in_org_output, - access_trust_settings_response_output, - access_trusting_accounts_output, -} from "./outputs.js"; import { access_grant_trust_to_all_accounts_in_org, + access_trust_settings_response, access_trusting_accounts, +} from "./outputs.js"; +import { + access_grant_trust_to_all_accounts_in_org as access_grant_trust_to_all_accounts_in_org$, + access_trusting_accounts as access_trusting_accounts$, } from "./schemas.js"; /** - * The tools of `zero_trust.organization.trust_settings`. + * The tools of `zeroTrust.organization.trustSettings`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_organization_trust_settings_delete", + name: "zeroTrust_organization_trustSettings_delete", title: "Delete Zero Trust organization trust settings", description: "Resets the trust settings for your Zero Trust organization.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -44,11 +52,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_trust_settings_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org_output, - "access_messages": access_messages_output, - "access_trust_settings_response": access_trust_settings_response_output, - "access_trusting_accounts": access_trusting_accounts_output, + "access_api-response-single": access_api$$response$$single, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_messages": access_messages, + "access_trust_settings_response": access_trust_settings_response, + "access_trusting_accounts": access_trusting_accounts, }, }, annotations: { @@ -75,12 +83,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org_output, - "access_messages": access_messages_output, - "access_trust_settings_response": access_trust_settings_response_output, - "access_trusting_accounts": access_trusting_accounts_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_messages": access_messages, + "access_trust_settings_response": access_trust_settings_response, + "access_trusting_accounts": access_trusting_accounts, }, }, request: (args) => ({ @@ -88,19 +96,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_organization_trust_settings_get", + name: "zeroTrust_organization_trustSettings_get", title: "Get Zero Trust organization trust settings", description: "Returns the trust settings for your Zero Trust organization.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], $defs: { "access_identifier": access_identifier, @@ -109,11 +125,11 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_trust_settings_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org_output, - "access_messages": access_messages_output, - "access_trust_settings_response": access_trust_settings_response_output, - "access_trusting_accounts": access_trusting_accounts_output, + "access_api-response-single": access_api$$response$$single, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_messages": access_messages, + "access_trust_settings_response": access_trust_settings_response, + "access_trusting_accounts": access_trusting_accounts, }, }, annotations: { @@ -142,12 +158,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org_output, - "access_messages": access_messages_output, - "access_trust_settings_response": access_trust_settings_response_output, - "access_trusting_accounts": access_trusting_accounts_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_messages": access_messages, + "access_trust_settings_response": access_trust_settings_response, + "access_trusting_accounts": access_trusting_accounts, }, }, request: (args) => ({ @@ -155,16 +171,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_organization_trust_settings_replace", + name: "zeroTrust_organization_trustSettings_replace", title: "Replace Zero Trust organization trust settings", description: "Replaces the trust settings for your Zero Trust organization.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "properties": { "grant_trust_to_all_accounts_in_org": { @@ -180,26 +192,38 @@ export const tools: readonly Tool[] = [ "grant_trust_to_all_accounts_in_org" ], "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org$, "access_identifier": access_identifier, - "access_trusting_accounts": access_trusting_accounts, + "access_trusting_accounts": access_trusting_accounts$, }, }, outputSchema: { "$ref": "#/$defs/access_trust_settings_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org_output, - "access_messages": access_messages_output, - "access_trust_settings_response": access_trust_settings_response_output, - "access_trusting_accounts": access_trusting_accounts_output, + "access_api-response-single": access_api$$response$$single, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_messages": access_messages, + "access_trust_settings_response": access_trust_settings_response, + "access_trusting_accounts": access_trusting_accounts, }, }, annotations: { @@ -226,12 +250,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org_output, - "access_messages": access_messages_output, - "access_trust_settings_response": access_trust_settings_response_output, - "access_trusting_accounts": access_trusting_accounts_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_messages": access_messages, + "access_trust_settings_response": access_trust_settings_response, + "access_trusting_accounts": access_trusting_accounts, }, }, request: (args) => ({ @@ -240,16 +264,12 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_organization_trust_settings_update", + name: "zeroTrust_organization_trustSettings_update", title: "Update Zero Trust organization trust settings", description: "Updates the trust settings for your Zero Trust organization.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, "body": { "properties": { "grant_trust_to_all_accounts_in_org": { @@ -262,26 +282,38 @@ export const tools: readonly Tool[] = [ } }, "type": "object" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org$, "access_identifier": access_identifier, - "access_trusting_accounts": access_trusting_accounts, + "access_trusting_accounts": access_trusting_accounts$, }, }, outputSchema: { "$ref": "#/$defs/access_trust_settings_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org_output, - "access_messages": access_messages_output, - "access_trust_settings_response": access_trust_settings_response_output, - "access_trusting_accounts": access_trusting_accounts_output, + "access_api-response-single": access_api$$response$$single, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_messages": access_messages, + "access_trust_settings_response": access_trust_settings_response, + "access_trusting_accounts": access_trusting_accounts, }, }, annotations: { @@ -308,12 +340,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org_output, - "access_messages": access_messages_output, - "access_trust_settings_response": access_trust_settings_response_output, - "access_trusting_accounts": access_trusting_accounts_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, + "access_messages": access_messages, + "access_trust_settings_response": access_trust_settings_response, + "access_trusting_accounts": access_trusting_accounts, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/outputs.ts b/src/generated/forge-mcp/zeroTrust/outputs.ts index 00c9b7753..8c817cb17 100644 --- a/src/generated/forge-mcp/zeroTrust/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `access_api-response-collection` in responses. */ -export const access_api_response_collection_output: JsonSchema = { +export const access_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-common" @@ -42,7 +42,7 @@ export const access_api_response_collection_output: JsonSchema = { /** * The schema of `access_api-response-common` in responses. */ -export const access_api_response_common_output: JsonSchema = { +export const access_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/access_messages" @@ -68,7 +68,7 @@ export const access_api_response_common_output: JsonSchema = { /** * The schema of `access_api-response-common-failure` in responses. */ -export const access_api_response_common_failure_output: JsonSchema = { +export const access_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/access_messages" @@ -98,7 +98,7 @@ export const access_api_response_common_failure_output: JsonSchema = { /** * The schema of `access_api-response-single` in responses. */ -export const access_api_response_single_output: JsonSchema = { +export const access_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/access_messages" @@ -124,14 +124,14 @@ export const access_api_response_single_output: JsonSchema = { /** * The schema of `access_client_id` in responses. */ -export const access_client_id_output: JsonSchema = { +export const access_client_id: JsonSchema = { "type": "string" }; /** * The schema of `access_created_at` in responses. */ -export const access_created_at_output: JsonSchema = { +export const access_created_at: JsonSchema = { "allOf": [ { "type": "string" @@ -145,21 +145,21 @@ export const access_created_at_output: JsonSchema = { /** * The schema of `access_duration` in responses. */ -export const access_duration_output: JsonSchema = { +export const access_duration: JsonSchema = { "type": "string" }; /** * The schema of `access_enabled` in responses. */ -export const access_enabled_output: JsonSchema = { +export const access_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `access_id_response` in responses. */ -export const access_id_response_output: JsonSchema = { +export const access_id_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -183,21 +183,21 @@ export const access_id_response_output: JsonSchema = { /** * The schema of `access_identifier` in responses. */ -export const access_identifier_output: JsonSchema = { +export const access_identifier: JsonSchema = { "type": "string" }; /** * The schema of `access_leak_report_url` in responses. */ -export const access_leak_report_url_output: JsonSchema = { +export const access_leak_report_url: JsonSchema = { "type": "string" }; /** * The schema of `access_leak_reported_at` in responses. */ -export const access_leak_reported_at_output: JsonSchema = { +export const access_leak_reported_at: JsonSchema = { "format": "date-time", "type": "string" }; @@ -205,14 +205,14 @@ export const access_leak_reported_at_output: JsonSchema = { /** * The schema of `access_leak_reporter` in responses. */ -export const access_leak_reporter_output: JsonSchema = { +export const access_leak_reporter: JsonSchema = { "type": "string" }; /** * The schema of `access_messages` in responses. */ -export const access_messages_output: JsonSchema = { +export const access_messages: JsonSchema = { "items": { "properties": { "code": { @@ -245,14 +245,14 @@ export const access_messages_output: JsonSchema = { /** * The schema of `access_name-2` in responses. */ -export const access_name_2_output: JsonSchema = { +export const access_name$$2: JsonSchema = { "type": "string" }; /** * The schema of `access_service-tokens` in responses. */ -export const access_service_tokens_output: JsonSchema = { +export const access_service$$tokens: JsonSchema = { "properties": { "client_id": { "$ref": "#/$defs/access_client_id" @@ -314,7 +314,7 @@ export const access_service_tokens_output: JsonSchema = { /** * The schema of `access_single_response-2` in responses. */ -export const access_single_response_2_output: JsonSchema = { +export const access_single_response$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" @@ -333,7 +333,7 @@ export const access_single_response_2_output: JsonSchema = { /** * The schema of `access_tags` in responses. */ -export const access_tags_output: JsonSchema = { +export const access_tags: JsonSchema = { "oneOf": [ { "additionalProperties": { @@ -350,7 +350,7 @@ export const access_tags_output: JsonSchema = { /** * The schema of `access_timestamp` in responses. */ -export const access_timestamp_output: JsonSchema = { +export const access_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; @@ -358,7 +358,7 @@ export const access_timestamp_output: JsonSchema = { /** * The schema of `access_updated_at` in responses. */ -export const access_updated_at_output: JsonSchema = { +export const access_updated_at: JsonSchema = { "allOf": [ { "type": "string" @@ -372,14 +372,14 @@ export const access_updated_at_output: JsonSchema = { /** * The schema of `access_uuid` in responses. */ -export const access_uuid_output: JsonSchema = { +export const access_uuid: JsonSchema = { "type": "string" }; /** * The schema of `dlp_Empty` in responses. */ -export const dlp_Empty_output: JsonSchema = { +export const dlp_Empty: JsonSchema = { "oneOf": [ { "type": "object" @@ -393,7 +393,7 @@ export const dlp_Empty_output: JsonSchema = { /** * The schema of `dlp_api-response-common-failure` in responses. */ -export const dlp_api_response_common_failure_output: JsonSchema = { +export const dlp_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dlp_messages" @@ -423,7 +423,7 @@ export const dlp_api_response_common_failure_output: JsonSchema = { /** * The schema of `dlp_api-response-single` in responses. */ -export const dlp_api_response_single_output: JsonSchema = { +export const dlp_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dlp_messages" @@ -449,7 +449,7 @@ export const dlp_api_response_single_output: JsonSchema = { /** * The schema of `dlp_messages` in responses. */ -export const dlp_messages_output: JsonSchema = { +export const dlp_messages: JsonSchema = { "items": { "properties": { "code": { @@ -482,7 +482,7 @@ export const dlp_messages_output: JsonSchema = { /** * The schema of `zero-trust-gateway_api-response-common-failure` in responses. */ -export const zero_trust_gateway_api_response_common_failure_output: JsonSchema = { +export const zero$$trust$$gateway_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zero-trust-gateway_messages" @@ -512,7 +512,7 @@ export const zero_trust_gateway_api_response_common_failure_output: JsonSchema = /** * The schema of `zero-trust-gateway_api-response-single` in responses. */ -export const zero_trust_gateway_api_response_single_output: JsonSchema = { +export const zero$$trust$$gateway_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zero-trust-gateway_messages" @@ -538,7 +538,7 @@ export const zero_trust_gateway_api_response_single_output: JsonSchema = { /** * The schema of `zero-trust-gateway_messages` in responses. */ -export const zero_trust_gateway_messages_output: JsonSchema = { +export const zero$$trust$$gateway_messages: JsonSchema = { "items": { "properties": { "code": { @@ -560,7 +560,7 @@ export const zero_trust_gateway_messages_output: JsonSchema = { /** * The schema of `zero-trust-gateway_read_only_timestamp` in responses. */ -export const zero_trust_gateway_read_only_timestamp_output: JsonSchema = { +export const zero$$trust$$gateway_read_only_timestamp: JsonSchema = { "format": "date-time", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts index 56757b4cd..2cdecd7bf 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_Behavior` in responses. */ -export const dlp_Behavior_output: JsonSchema = { +export const dlp_Behavior: JsonSchema = { "properties": { "description": { "type": "string" @@ -33,7 +33,7 @@ export const dlp_Behavior_output: JsonSchema = { /** * The schema of `dlp_Behaviors` in responses. */ -export const dlp_Behaviors_output: JsonSchema = { +export const dlp_Behaviors: JsonSchema = { "properties": { "behaviors": { "additionalProperties": { @@ -51,7 +51,7 @@ export const dlp_Behaviors_output: JsonSchema = { /** * The schema of `dlp_UpdateBehavior` in responses. */ -export const dlp_UpdateBehavior_output: JsonSchema = { +export const dlp_UpdateBehavior: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -70,7 +70,7 @@ export const dlp_UpdateBehavior_output: JsonSchema = { /** * The schema of `dlp_UpdateBehaviors` in responses. */ -export const dlp_UpdateBehaviors_output: JsonSchema = { +export const dlp_UpdateBehaviors: JsonSchema = { "properties": { "behaviors": { "additionalProperties": { diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts index 5dec944f8..2ba4e1c71 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts @@ -3,37 +3,48 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; -import { dlp_RiskLevel_output } from "../outputs.js"; -import { dlp_RiskLevel } from "../schemas.js"; +import { dlp_RiskLevel } from "../outputs.js"; +import { dlp_RiskLevel as dlp_RiskLevel$ } from "../schemas.js"; import { - dlp_Behavior_output, - dlp_Behaviors_output, - dlp_UpdateBehavior_output, - dlp_UpdateBehaviors_output, + dlp_Behavior, + dlp_Behaviors, + dlp_UpdateBehavior, + dlp_UpdateBehaviors, } from "./outputs.js"; -import { dlp_UpdateBehavior, dlp_UpdateBehaviors } from "./schemas.js"; +import { + dlp_UpdateBehavior as dlp_UpdateBehavior$, + dlp_UpdateBehaviors as dlp_UpdateBehaviors$, +} from "./schemas.js"; /** - * The tools of `zero_trust.risk_scoring.behaviours`. + * The tools of `zeroTrust.riskScoring.behaviours`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_risk_scoring_behaviours_get", + name: "zeroTrust_riskScoring_behaviours_get", title: "Get all behaviors and associated configuration", description: "Retrieves configured risk score behaviors that define how user actions affect their overall risk score.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -51,11 +62,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Behavior": dlp_Behavior_output, - "dlp_Behaviors": dlp_Behaviors_output, - "dlp_RiskLevel": dlp_RiskLevel_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Behavior": dlp_Behavior, + "dlp_Behaviors": dlp_Behaviors, + "dlp_RiskLevel": dlp_RiskLevel, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -95,12 +106,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Behavior": dlp_Behavior_output, - "dlp_Behaviors": dlp_Behaviors_output, - "dlp_RiskLevel": dlp_RiskLevel_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Behavior": dlp_Behavior, + "dlp_Behaviors": dlp_Behaviors, + "dlp_RiskLevel": dlp_RiskLevel, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -108,29 +119,37 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_risk_scoring_behaviours_update", + name: "zeroTrust_riskScoring_behaviours_update", title: "Update configuration for risk behaviors", description: "Updates risk score behavior configurations, defining weights and thresholds for risk calculation.", inputSchema: { type: "object", properties: { - "account_id": { - "description": "Account ID.", - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_UpdateBehaviors", "description": "Behaviors." + }, + "path": { + "properties": { + "account_id": { + "description": "Account ID.", + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "dlp_RiskLevel": dlp_RiskLevel, - "dlp_UpdateBehavior": dlp_UpdateBehavior, - "dlp_UpdateBehaviors": dlp_UpdateBehaviors, + "dlp_RiskLevel": dlp_RiskLevel$, + "dlp_UpdateBehavior": dlp_UpdateBehavior$, + "dlp_UpdateBehaviors": dlp_UpdateBehaviors$, }, }, outputSchema: { @@ -148,11 +167,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskLevel": dlp_RiskLevel_output, - "dlp_UpdateBehavior": dlp_UpdateBehavior_output, - "dlp_UpdateBehaviors": dlp_UpdateBehaviors_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskLevel": dlp_RiskLevel, + "dlp_UpdateBehavior": dlp_UpdateBehavior, + "dlp_UpdateBehaviors": dlp_UpdateBehaviors, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -191,12 +210,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskLevel": dlp_RiskLevel_output, - "dlp_UpdateBehavior": dlp_UpdateBehavior_output, - "dlp_UpdateBehaviors": dlp_UpdateBehaviors_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskLevel": dlp_RiskLevel, + "dlp_UpdateBehavior": dlp_UpdateBehavior, + "dlp_UpdateBehaviors": dlp_UpdateBehaviors, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts index cb42da76b..0d6a73ec3 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_RiskScoreIntegration` in responses. */ -export const dlp_RiskScoreIntegration_output: JsonSchema = { +export const dlp_RiskScoreIntegration: JsonSchema = { "properties": { "account_tag": { "type": "string" @@ -51,7 +51,7 @@ export const dlp_RiskScoreIntegration_output: JsonSchema = { /** * The schema of `dlp_RiskScoreIntegrationArray` in responses. */ -export const dlp_RiskScoreIntegrationArray_output: JsonSchema = { +export const dlp_RiskScoreIntegrationArray: JsonSchema = { "items": { "$ref": "#/$defs/dlp_RiskScoreIntegration" }, @@ -61,7 +61,7 @@ export const dlp_RiskScoreIntegrationArray_output: JsonSchema = { /** * The schema of `dlp_RiskScoreIntegrationType` in responses. */ -export const dlp_RiskScoreIntegrationType_output: JsonSchema = { +export const dlp_RiskScoreIntegrationType: JsonSchema = { "enum": [ "Okta" ], diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts index de2a026fc..6b11edca8 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts @@ -3,36 +3,44 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../../outputs.js"; import { - dlp_RiskScoreIntegrationType_output, - dlp_RiskScoreIntegration_output, + dlp_RiskScoreIntegration, + dlp_RiskScoreIntegrationType, } from "../outputs.js"; /** - * The tools of `zero_trust.risk_scoring.integrations.references`. + * The tools of `zeroTrust.riskScoring.integrations.references`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_risk_scoring_integrations_references_get", + name: "zeroTrust_riskScoring_integrations_references_get", title: "Get risk score integration by reference id.", description: "Retrieves a Zero Trust risk score integration using its external reference ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "reference_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "reference_id": { + "type": "string" + } + }, + "required": [ + "account_id", + "reference_id" + ], + "type": "object" } }, required: [ - "account_id", - "reference_id" + "path" ], }, outputSchema: { @@ -50,10 +58,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -93,11 +101,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts index eca05d0de..b4a065e0c 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts @@ -3,47 +3,55 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../../outputs.js"; import { - dlp_RiskScoreIntegrationArray_output, - dlp_RiskScoreIntegrationType_output, - dlp_RiskScoreIntegration_output, + dlp_RiskScoreIntegration, + dlp_RiskScoreIntegrationArray, + dlp_RiskScoreIntegrationType, } from "./outputs.js"; import { dlp_CreateIntegrationBody, - dlp_RiskScoreIntegrationType, + dlp_RiskScoreIntegrationType as dlp_RiskScoreIntegrationType$, dlp_UpdateIntegrationBody, } from "./schemas.js"; /** - * The tools of `zero_trust.risk_scoring.integrations`. + * The tools of `zeroTrust.riskScoring.integrations`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_risk_scoring_integrations_create", + name: "zeroTrust_riskScoring_integrations_create", title: "Create new risk score integration.", description: "Creates a new Zero Trust risk score integration, connecting external risk signals to Cloudflare's risk scoring system.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_CreateIntegrationBody" + }, + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { "dlp_CreateIntegrationBody": dlp_CreateIntegrationBody, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType$, }, }, outputSchema: { @@ -61,10 +69,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -103,11 +111,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -116,23 +124,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_risk_scoring_integrations_delete", + name: "zeroTrust_riskScoring_integrations_delete", title: "Delete a risk score integration.", description: "Removes a Zero Trust risk score integration, disconnecting the external risk signal source.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "integration_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "integration_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "integration_id" + ], + "type": "object" } }, required: [ - "account_id", - "integration_id" + "path" ], }, outputSchema: { @@ -150,9 +166,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -191,10 +207,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -202,23 +218,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_risk_scoring_integrations_get", + name: "zeroTrust_riskScoring_integrations_get", title: "Get risk score integration by id.", description: "Gets a Zero Trust risk score integration by ID.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "integration_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "integration_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "integration_id" + ], + "type": "object" } }, required: [ - "account_id", - "integration_id" + "path" ], }, outputSchema: { @@ -236,10 +260,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -279,11 +303,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -291,18 +315,26 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_risk_scoring_integrations_list", + name: "zeroTrust_riskScoring_integrations_list", title: "List all risk score integrations for the account.", description: "Lists all configured Zero Trust risk score integrations for the account.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -320,11 +352,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationArray": dlp_RiskScoreIntegrationArray_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationArray": dlp_RiskScoreIntegrationArray, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -364,12 +396,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationArray": dlp_RiskScoreIntegrationArray_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationArray": dlp_RiskScoreIntegrationArray, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -377,26 +409,34 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_risk_scoring_integrations_update", + name: "zeroTrust_riskScoring_integrations_update", title: "Update a risk score integration.", description: "Overwrite the reference_id, tenant_url, and active values with the ones provided.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, "body": { "$ref": "#/$defs/dlp_UpdateIntegrationBody" }, - "integration_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "integration_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "integration_id" + ], + "type": "object" } }, required: [ - "account_id", - "integration_id", + "path", "body" ], $defs: { @@ -418,10 +458,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -460,11 +500,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration_output, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, + "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts index a6f865532..f3bb46141 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `dlp_RiskEvent` in responses. */ -export const dlp_RiskEvent_output: JsonSchema = { +export const dlp_RiskEvent: JsonSchema = { "properties": { "event_details": { "type": "object" @@ -37,7 +37,7 @@ export const dlp_RiskEvent_output: JsonSchema = { /** * The schema of `dlp_RiskEvents` in responses. */ -export const dlp_RiskEvents_output: JsonSchema = { +export const dlp_RiskEvents: JsonSchema = { "properties": { "email": { "type": "string" @@ -77,7 +77,7 @@ export const dlp_RiskEvents_output: JsonSchema = { /** * The schema of `dlp_RiskLevel` in responses. */ -export const dlp_RiskLevel_output: JsonSchema = { +export const dlp_RiskLevel: JsonSchema = { "enum": [ "low", "medium", @@ -89,7 +89,7 @@ export const dlp_RiskLevel_output: JsonSchema = { /** * The schema of `dlp_api-response-collection` in responses. */ -export const dlp_api_response_collection_output: JsonSchema = { +export const dlp_api$$response$$collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/dlp_api-response-common" @@ -125,7 +125,7 @@ export const dlp_api_response_collection_output: JsonSchema = { /** * The schema of `dlp_api-response-common` in responses. */ -export const dlp_api_response_common_output: JsonSchema = { +export const dlp_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/dlp_messages" diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts index 29ba7f645..cf32c7965 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `dlp_RiskSummary` in responses. */ -export const dlp_RiskSummary_output: JsonSchema = { +export const dlp_RiskSummary: JsonSchema = { "properties": { "users": { "items": { @@ -24,7 +24,7 @@ export const dlp_RiskSummary_output: JsonSchema = { /** * The schema of `dlp_UserRiskInfo` in responses. */ -export const dlp_UserRiskInfo_output: JsonSchema = { +export const dlp_UserRiskInfo: JsonSchema = { "properties": { "email": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts index bcc9cf5bd..b0e0507a2 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts @@ -3,33 +3,41 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - dlp_api_response_common_failure_output, - dlp_messages_output, + dlp_api$$response$$common$$failure, + dlp_messages, } from "../../outputs.js"; import { - dlp_RiskLevel_output, - dlp_api_response_collection_output, - dlp_api_response_common_output, + dlp_RiskLevel, + dlp_api$$response$$collection, + dlp_api$$response$$common, } from "../outputs.js"; -import { dlp_RiskSummary_output, dlp_UserRiskInfo_output } from "./outputs.js"; +import { dlp_RiskSummary, dlp_UserRiskInfo } from "./outputs.js"; /** - * The tools of `zero_trust.risk_scoring.summary`. + * The tools of `zeroTrust.riskScoring.summary`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_risk_scoring_summary_get", + name: "zeroTrust_riskScoring_summary_get", title: "Get risk score info for all users in the account", description: "Gets an aggregate summary of risk scores across the account, including distribution and trends.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id" + "path" ], }, outputSchema: { @@ -47,12 +55,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskLevel": dlp_RiskLevel_output, - "dlp_RiskSummary": dlp_RiskSummary_output, - "dlp_UserRiskInfo": dlp_UserRiskInfo_output, - "dlp_api-response-collection": dlp_api_response_collection_output, - "dlp_api-response-common": dlp_api_response_common_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskLevel": dlp_RiskLevel, + "dlp_RiskSummary": dlp_RiskSummary, + "dlp_UserRiskInfo": dlp_UserRiskInfo, + "dlp_api-response-collection": dlp_api$$response$$collection, + "dlp_api-response-common": dlp_api$$response$$common, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -91,13 +99,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskLevel": dlp_RiskLevel_output, - "dlp_RiskSummary": dlp_RiskSummary_output, - "dlp_UserRiskInfo": dlp_UserRiskInfo_output, - "dlp_api-response-collection": dlp_api_response_collection_output, - "dlp_api-response-common": dlp_api_response_common_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskLevel": dlp_RiskLevel, + "dlp_RiskSummary": dlp_RiskSummary, + "dlp_UserRiskInfo": dlp_UserRiskInfo, + "dlp_api-response-collection": dlp_api$$response$$collection, + "dlp_api-response-common": dlp_api$$response$$common, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts index a15228bd8..980d86945 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts @@ -3,41 +3,49 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - dlp_Empty_output, - dlp_api_response_common_failure_output, - dlp_api_response_single_output, - dlp_messages_output, + dlp_Empty, + dlp_api$$response$$common$$failure, + dlp_api$$response$$single, + dlp_messages, } from "../outputs.js"; import { - dlp_RiskEvent_output, - dlp_RiskEvents_output, - dlp_RiskLevel_output, - dlp_api_response_collection_output, - dlp_api_response_common_output, + dlp_RiskEvent, + dlp_RiskEvents, + dlp_RiskLevel, + dlp_api$$response$$collection, + dlp_api$$response$$common, } from "./outputs.js"; /** - * The tools of `zero_trust.risk_scoring`. + * The tools of `zeroTrust.riskScoring`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_risk_scoring_get", + name: "zeroTrust_riskScoring_get", title: "Get risk event/score information for a specific user", description: "Retrieves the detailed risk score breakdown for a specific user, including contributing factors.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "user_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "user_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id" + "path" ], }, outputSchema: { @@ -55,12 +63,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskEvent": dlp_RiskEvent_output, - "dlp_RiskEvents": dlp_RiskEvents_output, - "dlp_RiskLevel": dlp_RiskLevel_output, - "dlp_api-response-collection": dlp_api_response_collection_output, - "dlp_api-response-common": dlp_api_response_common_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskEvent": dlp_RiskEvent, + "dlp_RiskEvents": dlp_RiskEvents, + "dlp_RiskLevel": dlp_RiskLevel, + "dlp_api-response-collection": dlp_api$$response$$collection, + "dlp_api-response-common": dlp_api$$response$$common, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -99,13 +107,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskEvent": dlp_RiskEvent_output, - "dlp_RiskEvents": dlp_RiskEvents_output, - "dlp_RiskLevel": dlp_RiskLevel_output, - "dlp_api-response-collection": dlp_api_response_collection_output, - "dlp_api-response-common": dlp_api_response_common_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_messages": dlp_messages_output, + "dlp_RiskEvent": dlp_RiskEvent, + "dlp_RiskEvents": dlp_RiskEvents, + "dlp_RiskLevel": dlp_RiskLevel, + "dlp_api-response-collection": dlp_api$$response$$collection, + "dlp_api-response-common": dlp_api$$response$$common, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ @@ -113,23 +121,31 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zero_trust_risk_scoring_reset", + name: "zeroTrust_riskScoring_reset", title: "Clear the risk score for a particular user", description: "Resets risk scores for specified users, clearing their accumulated risk history.\n\nConfirm with the user before calling this tool. This operation wipes risk-scoring history.", inputSchema: { type: "object", properties: { - "account_id": { - "type": "string" - }, - "user_id": { - "format": "uuid", - "type": "string" + "path": { + "properties": { + "account_id": { + "type": "string" + }, + "user_id": { + "format": "uuid", + "type": "string" + } + }, + "required": [ + "account_id", + "user_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id" + "path" ], }, outputSchema: { @@ -147,9 +163,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, annotations: { @@ -188,10 +204,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Empty": dlp_Empty_output, - "dlp_api-response-common-failure": dlp_api_response_common_failure_output, - "dlp_api-response-single": dlp_api_response_single_output, - "dlp_messages": dlp_messages_output, + "dlp_Empty": dlp_Empty, + "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, + "dlp_api-response-single": dlp_api$$response$$single, + "dlp_messages": dlp_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/schemas.ts b/src/generated/forge-mcp/zeroTrust/schemas.ts index 9b48459e1..7dd9674ed 100644 --- a/src/generated/forge-mcp/zeroTrust/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/schemas.ts @@ -44,7 +44,7 @@ export const access_identifier: JsonSchema = { /** * The schema of `access_name-2`. */ -export const access_name_2: JsonSchema = { +export const access_name$$2: JsonSchema = { "description": "The name of the service token.", "type": "string" }; @@ -100,7 +100,7 @@ export const access_uuid: JsonSchema = { /** * The schema of `zero-trust-gateway_identifier-2`. */ -export const zero_trust_gateway_identifier_2: JsonSchema = { +export const zero$$trust$$gateway_identifier$$2: JsonSchema = { "description": "Specify the Cloudflare account identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/zeroTrust/seats/outputs.ts b/src/generated/forge-mcp/zeroTrust/seats/outputs.ts index 29b0298d0..2ed5b5439 100644 --- a/src/generated/forge-mcp/zeroTrust/seats/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/seats/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `access_access_seat` in responses. */ -export const access_access_seat_output: JsonSchema = { +export const access_access_seat: JsonSchema = { "type": "boolean" }; /** * The schema of `access_gateway_seat` in responses. */ -export const access_gateway_seat_output: JsonSchema = { +export const access_gateway_seat: JsonSchema = { "type": "boolean" }; /** * The schema of `access_response_collection-14` in responses. */ -export const access_response_collection_14_output: JsonSchema = { +export const access_response_collection$$14: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-collection" @@ -42,14 +42,14 @@ export const access_response_collection_14_output: JsonSchema = { /** * The schema of `access_seat_uid` in responses. */ -export const access_seat_uid_output: JsonSchema = { +export const access_seat_uid: JsonSchema = { "type": "string" }; /** * The schema of `access_seats` in responses. */ -export const access_seats_output: JsonSchema = { +export const access_seats: JsonSchema = { "properties": { "access_seat": { "$ref": "#/$defs/access_access_seat" diff --git a/src/generated/forge-mcp/zeroTrust/seats/schemas.ts b/src/generated/forge-mcp/zeroTrust/seats/schemas.ts index daefb88d6..c0677adc5 100644 --- a/src/generated/forge-mcp/zeroTrust/seats/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/seats/schemas.ts @@ -22,7 +22,7 @@ export const access_gateway_seat: JsonSchema = { /** * The schema of `access_identifier-2`. */ -export const access_identifier_2: JsonSchema = { +export const access_identifier$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_identifier" diff --git a/src/generated/forge-mcp/zeroTrust/seats/tools.ts b/src/generated/forge-mcp/zeroTrust/seats/tools.ts index d65e2b58b..377bff446 100644 --- a/src/generated/forge-mcp/zeroTrust/seats/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/seats/tools.ts @@ -3,73 +3,81 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - access_api_response_collection_output, - access_api_response_common_failure_output, - access_api_response_common_output, - access_messages_output, - access_timestamp_output, + access_api$$response$$collection, + access_api$$response$$common, + access_api$$response$$common$$failure, + access_messages, + access_timestamp, } from "../outputs.js"; import { access_identifier } from "../schemas.js"; -import { - access_access_seat_output, - access_gateway_seat_output, - access_response_collection_14_output, - access_seat_uid_output, - access_seats_output, -} from "./outputs.js"; import { access_access_seat, access_gateway_seat, - access_identifier_2, - access_seat, + access_response_collection$$14, access_seat_uid, + access_seats, +} from "./outputs.js"; +import { + access_access_seat as access_access_seat$, + access_gateway_seat as access_gateway_seat$, + access_identifier$$2, + access_seat, + access_seat_uid as access_seat_uid$, access_seats_definition, } from "./schemas.js"; /** - * The tools of `zero_trust.seats`. + * The tools of `zeroTrust.seats`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_seats_edit", + name: "zeroTrust_seats_edit", title: "Update a user seat", description: "Removes a user from a Zero Trust seat when both `access_seat` and `gateway_seat` are set to false.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier-2" - }, "body": { "$ref": "#/$defs/access_seats_definition" + }, + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier-2" + } + }, + "required": [ + "account_id" + ], + "type": "object" } }, required: [ - "account_id", + "path", "body" ], $defs: { - "access_access_seat": access_access_seat, - "access_gateway_seat": access_gateway_seat, + "access_access_seat": access_access_seat$, + "access_gateway_seat": access_gateway_seat$, "access_identifier": access_identifier, - "access_identifier-2": access_identifier_2, + "access_identifier-2": access_identifier$$2, "access_seat": access_seat, - "access_seat_uid": access_seat_uid, + "access_seat_uid": access_seat_uid$, "access_seats_definition": access_seats_definition, }, }, outputSchema: { "$ref": "#/$defs/access_response_collection-14", $defs: { - "access_access_seat": access_access_seat_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_gateway_seat": access_gateway_seat_output, - "access_messages": access_messages_output, - "access_response_collection-14": access_response_collection_14_output, - "access_seat_uid": access_seat_uid_output, - "access_seats": access_seats_output, - "access_timestamp": access_timestamp_output, + "access_access_seat": access_access_seat, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_gateway_seat": access_gateway_seat, + "access_messages": access_messages, + "access_response_collection-14": access_response_collection$$14, + "access_seat_uid": access_seat_uid, + "access_seats": access_seats, + "access_timestamp": access_timestamp, }, }, annotations: { @@ -96,16 +104,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat": access_access_seat_output, - "access_api-response-collection": access_api_response_collection_output, - "access_api-response-common": access_api_response_common_output, - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_gateway_seat": access_gateway_seat_output, - "access_messages": access_messages_output, - "access_response_collection-14": access_response_collection_14_output, - "access_seat_uid": access_seat_uid_output, - "access_seats": access_seats_output, - "access_timestamp": access_timestamp_output, + "access_access_seat": access_access_seat, + "access_api-response-collection": access_api$$response$$collection, + "access_api-response-common": access_api$$response$$common, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_gateway_seat": access_gateway_seat, + "access_messages": access_messages, + "access_response_collection-14": access_response_collection$$14, + "access_seat_uid": access_seat_uid, + "access_seats": access_seats, + "access_timestamp": access_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts b/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts index 69f0de3ff..66d64864a 100644 --- a/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts @@ -3,42 +3,50 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../../outputs.js"; import { access_identifier, access_uuid } from "../../../schemas.js"; -import { access_delete_authenticator_response_output } from "../../outputs.js"; +import { access_delete_authenticator_response } from "../../outputs.js"; import { access_authenticator_id } from "../../schemas.js"; /** - * The tools of `zero_trust.users.mfa.authenticators`. + * The tools of `zeroTrust.users.mfa.authenticators`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_users_mfa_authenticators_delete", + name: "zeroTrust_users_mfa_authenticators_delete", title: "Delete a user's authenticator", description: "Deletes a specific MFA device or passkey, including a PIV key or FIDO2 key enrollment, for a user. Admin deletion remains available when MFA is disabled. Successful deletion revokes the enrollment and returns a null result.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "authenticator_id": { - "$ref": "#/$defs/access_authenticator_id", - "description": "The unique identifier for the MFA device." - }, - "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "authenticator_id": { + "$ref": "#/$defs/access_authenticator_id", + "description": "The unique identifier for the MFA device." + }, + "user_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_id", + "authenticator_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id", - "authenticator_id" + "path" ], $defs: { "access_authenticator_id": access_authenticator_id, @@ -49,9 +57,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_delete_authenticator_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_delete_authenticator_response": access_delete_authenticator_response_output, - "access_messages": access_messages_output, + "access_api-response-single": access_api$$response$$single, + "access_delete_authenticator_response": access_delete_authenticator_response, + "access_messages": access_messages, }, }, annotations: { @@ -76,10 +84,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_delete_authenticator_response": access_delete_authenticator_response_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_delete_authenticator_response": access_delete_authenticator_response, + "access_messages": access_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/users/outputs.ts index e701c2dbf..1177ce084 100644 --- a/src/generated/forge-mcp/zeroTrust/users/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/users/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `access_delete_authenticator_response` in responses. */ -export const access_delete_authenticator_response_output: JsonSchema = { +export const access_delete_authenticator_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/access_api-response-single" diff --git a/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts b/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts index 710245a56..6bed6057f 100644 --- a/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts @@ -3,42 +3,50 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - access_api_response_common_failure_output, - access_api_response_single_output, - access_messages_output, + access_api$$response$$common$$failure, + access_api$$response$$single, + access_messages, } from "../../outputs.js"; import { access_identifier, access_uuid } from "../../schemas.js"; -import { access_delete_authenticator_response_output } from "../outputs.js"; +import { access_delete_authenticator_response } from "../outputs.js"; import { access_authenticator_id } from "../schemas.js"; /** - * The tools of `zero_trust.users.passkeys`. + * The tools of `zeroTrust.users.passkeys`. */ export const tools: readonly Tool[] = [ { - name: "zero_trust_users_passkeys_delete", + name: "zeroTrust_users_passkeys_delete", title: "Delete a user's passkey", description: "Alias of the authenticator deletion endpoint for passkey management. The identifier is the passkey's authenticator ID from the last-seen identity response. Successful deletion revokes the enrollment and returns a null result.", inputSchema: { type: "object", properties: { - "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." - }, - "authenticator_id": { - "$ref": "#/$defs/access_authenticator_id", - "description": "The unique identifier for the MFA device." - }, - "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "path": { + "properties": { + "account_id": { + "$ref": "#/$defs/access_identifier", + "description": "Identifier." + }, + "authenticator_id": { + "$ref": "#/$defs/access_authenticator_id", + "description": "The unique identifier for the MFA device." + }, + "user_id": { + "$ref": "#/$defs/access_uuid", + "description": "UUID." + } + }, + "required": [ + "account_id", + "user_id", + "authenticator_id" + ], + "type": "object" } }, required: [ - "account_id", - "user_id", - "authenticator_id" + "path" ], $defs: { "access_authenticator_id": access_authenticator_id, @@ -49,9 +57,9 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/access_delete_authenticator_response", $defs: { - "access_api-response-single": access_api_response_single_output, - "access_delete_authenticator_response": access_delete_authenticator_response_output, - "access_messages": access_messages_output, + "access_api-response-single": access_api$$response$$single, + "access_delete_authenticator_response": access_delete_authenticator_response, + "access_messages": access_messages, }, }, annotations: { @@ -76,10 +84,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_api-response-common-failure": access_api_response_common_failure_output, - "access_api-response-single": access_api_response_single_output, - "access_delete_authenticator_response": access_delete_authenticator_response_output, - "access_messages": access_messages_output, + "access_api-response-common-failure": access_api$$response$$common$$failure, + "access_api-response-single": access_api$$response$$single, + "access_delete_authenticator_response": access_delete_authenticator_response, + "access_messages": access_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/activationCheck/outputs.ts b/src/generated/forge-mcp/zones/activationCheck/outputs.ts index 069950af5..ddf4bb25a 100644 --- a/src/generated/forge-mcp/zones/activationCheck/outputs.ts +++ b/src/generated/forge-mcp/zones/activationCheck/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zone-activation_api-response-common-failure` in responses. */ -export const zone_activation_api_response_common_failure_output: JsonSchema = { +export const zone$$activation_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zone-activation_messages" @@ -36,7 +36,7 @@ export const zone_activation_api_response_common_failure_output: JsonSchema = { /** * The schema of `zone-activation_api-response-single` in responses. */ -export const zone_activation_api_response_single_output: JsonSchema = { +export const zone$$activation_api$$response$$single: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zone-activation_messages" @@ -62,14 +62,14 @@ export const zone_activation_api_response_single_output: JsonSchema = { /** * The schema of `zone-activation_identifier` in responses. */ -export const zone_activation_identifier_output: JsonSchema = { +export const zone$$activation_identifier: JsonSchema = { "type": "string" }; /** * The schema of `zone-activation_messages` in responses. */ -export const zone_activation_messages_output: JsonSchema = { +export const zone$$activation_messages: JsonSchema = { "items": { "properties": { "code": { diff --git a/src/generated/forge-mcp/zones/activationCheck/schemas.ts b/src/generated/forge-mcp/zones/activationCheck/schemas.ts index b7a7195d4..7300de49b 100644 --- a/src/generated/forge-mcp/zones/activationCheck/schemas.ts +++ b/src/generated/forge-mcp/zones/activationCheck/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zone-activation_identifier`. */ -export const zone_activation_identifier: JsonSchema = { +export const zone$$activation_identifier: JsonSchema = { "description": "Identifier.", "type": "string" }; diff --git a/src/generated/forge-mcp/zones/activationCheck/tools.ts b/src/generated/forge-mcp/zones/activationCheck/tools.ts index 743426fbf..efc324f74 100644 --- a/src/generated/forge-mcp/zones/activationCheck/tools.ts +++ b/src/generated/forge-mcp/zones/activationCheck/tools.ts @@ -3,34 +3,42 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - zone_activation_api_response_common_failure_output, - zone_activation_api_response_single_output, - zone_activation_identifier_output, - zone_activation_messages_output, + zone$$activation_api$$response$$common$$failure, + zone$$activation_api$$response$$single, + zone$$activation_identifier, + zone$$activation_messages, } from "./outputs.js"; -import { zone_activation_identifier } from "./schemas.js"; +import { zone$$activation_identifier as zone$$activation_identifier$ } from "./schemas.js"; /** - * The tools of `zones.activation_check`. + * The tools of `zones.activationCheck`. */ export const tools: readonly Tool[] = [ { - name: "zones_activation_check_activate", + name: "zones_activationCheck_activate", title: "Rerun the Activation Check", description: "Triggeres a new activation check for a PENDING Zone. This can be\ntriggered every 5 min for paygo/ent customers, every hour for FREE\nZones.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/zone-activation_identifier", - "description": "Zone ID" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zone-activation_identifier", + "description": "Zone ID" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "zone-activation_identifier": zone_activation_identifier, + "zone-activation_identifier": zone$$activation_identifier$, }, }, outputSchema: { @@ -53,9 +61,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zone-activation_api-response-single": zone_activation_api_response_single_output, - "zone-activation_identifier": zone_activation_identifier_output, - "zone-activation_messages": zone_activation_messages_output, + "zone-activation_api-response-single": zone$$activation_api$$response$$single, + "zone-activation_identifier": zone$$activation_identifier, + "zone-activation_messages": zone$$activation_messages, }, }, annotations: { @@ -99,10 +107,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zone-activation_api-response-common-failure": zone_activation_api_response_common_failure_output, - "zone-activation_api-response-single": zone_activation_api_response_single_output, - "zone-activation_identifier": zone_activation_identifier_output, - "zone-activation_messages": zone_activation_messages_output, + "zone-activation_api-response-common-failure": zone$$activation_api$$response$$common$$failure, + "zone-activation_api-response-single": zone$$activation_api$$response$$single, + "zone-activation_identifier": zone$$activation_identifier, + "zone-activation_messages": zone$$activation_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/aegis/outputs.ts b/src/generated/forge-mcp/zones/aegis/outputs.ts index 516247d55..fe4e9947e 100644 --- a/src/generated/forge-mcp/zones/aegis/outputs.ts +++ b/src/generated/forge-mcp/zones/aegis/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_aegis` in responses. */ -export const cache_settings_aegis_output: JsonSchema = { +export const cache$$settings_aegis: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -31,7 +31,7 @@ export const cache_settings_aegis_output: JsonSchema = { /** * The schema of `cache-settings_aegis_response_value` in responses. */ -export const cache_settings_aegis_response_value_output: JsonSchema = { +export const cache$$settings_aegis_response_value: JsonSchema = { "properties": { "result": { "$ref": "#/$defs/cache-settings_aegis" @@ -43,7 +43,7 @@ export const cache_settings_aegis_response_value_output: JsonSchema = { /** * The schema of `cache-settings_aegis_value` in responses. */ -export const cache_settings_aegis_value_output: JsonSchema = { +export const cache$$settings_aegis_value: JsonSchema = { "properties": { "enabled": { "type": "boolean" diff --git a/src/generated/forge-mcp/zones/aegis/schemas.ts b/src/generated/forge-mcp/zones/aegis/schemas.ts index 52e0b9fd2..7c7615eba 100644 --- a/src/generated/forge-mcp/zones/aegis/schemas.ts +++ b/src/generated/forge-mcp/zones/aegis/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_aegis_value`. */ -export const cache_settings_aegis_value: JsonSchema = { +export const cache$$settings_aegis_value: JsonSchema = { "description": "Value of the zone setting.", "properties": { "enabled": { diff --git a/src/generated/forge-mcp/zones/aegis/tools.ts b/src/generated/forge-mcp/zones/aegis/tools.ts index 1ee24ae30..4b7272c89 100644 --- a/src/generated/forge-mcp/zones/aegis/tools.ts +++ b/src/generated/forge-mcp/zones/aegis/tools.ts @@ -3,26 +3,26 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_base_output, - cache_settings_editable_output, - cache_settings_messages_output, - cache_settings_modified_on_output, - cache_settings_result_object_delete_output, - cache_settings_result_object_output, - cache_settings_setting_id_output, - cache_settings_setting_value_output, - cache_settings_zone_cache_settings_delete_response_single_output, - cache_settings_zone_cache_settings_response_single_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_base, + cache$$settings_editable, + cache$$settings_messages, + cache$$settings_modified_on, + cache$$settings_result$$object, + cache$$settings_result$$object$$delete, + cache$$settings_setting_id, + cache$$settings_setting_value, + cache$$settings_zone_cache_settings_delete_response_single, + cache$$settings_zone_cache_settings_response_single, } from "../../outputs.js"; -import { cache_settings_identifier } from "../../schemas.js"; +import { cache$$settings_identifier } from "../../schemas.js"; import { - cache_settings_aegis_output, - cache_settings_aegis_response_value_output, - cache_settings_aegis_value_output, + cache$$settings_aegis, + cache$$settings_aegis_response_value, + cache$$settings_aegis_value, } from "./outputs.js"; -import { cache_settings_aegis_value } from "./schemas.js"; +import { cache$$settings_aegis_value as cache$$settings_aegis_value$ } from "./schemas.js"; /** * The tools of `zones.aegis`. @@ -35,16 +35,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -57,17 +65,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_aegis": cache_settings_aegis_output, - "cache-settings_aegis_response_value": cache_settings_aegis_response_value_output, - "cache-settings_aegis_value": cache_settings_aegis_value_output, - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object-delete": cache_settings_result_object_delete_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_zone_cache_settings_delete_response_single": cache_settings_zone_cache_settings_delete_response_single_output, + "cache-settings_aegis": cache$$settings_aegis, + "cache-settings_aegis_response_value": cache$$settings_aegis_response_value, + "cache-settings_aegis_value": cache$$settings_aegis_value, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, annotations: { @@ -113,18 +121,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_aegis": cache_settings_aegis_output, - "cache-settings_aegis_response_value": cache_settings_aegis_response_value_output, - "cache-settings_aegis_value": cache_settings_aegis_value_output, - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object-delete": cache_settings_result_object_delete_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_zone_cache_settings_delete_response_single": cache_settings_zone_cache_settings_delete_response_single_output, + "cache-settings_aegis": cache$$settings_aegis, + "cache-settings_aegis_response_value": cache$$settings_aegis_response_value, + "cache-settings_aegis_value": cache$$settings_aegis_value, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, request: (args) => ({ @@ -150,18 +158,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_aegis_value": cache_settings_aegis_value, - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_aegis_value": cache$$settings_aegis_value$, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -174,18 +190,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_aegis": cache_settings_aegis_output, - "cache-settings_aegis_response_value": cache_settings_aegis_response_value_output, - "cache-settings_aegis_value": cache_settings_aegis_value_output, - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_aegis": cache$$settings_aegis, + "cache-settings_aegis_response_value": cache$$settings_aegis_response_value, + "cache-settings_aegis_value": cache$$settings_aegis_value, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -231,19 +247,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_aegis": cache_settings_aegis_output, - "cache-settings_aegis_response_value": cache_settings_aegis_response_value_output, - "cache-settings_aegis_value": cache_settings_aegis_value_output, - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_aegis": cache$$settings_aegis, + "cache-settings_aegis_response_value": cache$$settings_aegis_response_value, + "cache-settings_aegis_value": cache$$settings_aegis_value, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -258,16 +274,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -280,18 +304,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_aegis": cache_settings_aegis_output, - "cache-settings_aegis_response_value": cache_settings_aegis_response_value_output, - "cache-settings_aegis_value": cache_settings_aegis_value_output, - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_aegis": cache$$settings_aegis, + "cache-settings_aegis_response_value": cache$$settings_aegis_response_value, + "cache-settings_aegis_value": cache$$settings_aegis_value, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -339,19 +363,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_aegis": cache_settings_aegis_output, - "cache-settings_aegis_response_value": cache_settings_aegis_response_value_output, - "cache-settings_aegis_value": cache_settings_aegis_value_output, - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_aegis": cache$$settings_aegis, + "cache-settings_aegis_response_value": cache$$settings_aegis_response_value, + "cache-settings_aegis_value": cache$$settings_aegis_value, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/automaticPlatformOptimization/outputs.ts b/src/generated/forge-mcp/zones/automaticPlatformOptimization/outputs.ts index a61a12878..292b4ec29 100644 --- a/src/generated/forge-mcp/zones/automaticPlatformOptimization/outputs.ts +++ b/src/generated/forge-mcp/zones/automaticPlatformOptimization/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_automatic_platform_optimization_response` in responses. */ -export const speed_automatic_platform_optimization_response_output: JsonSchema = { +export const speed_automatic_platform_optimization_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" @@ -31,7 +31,7 @@ export const speed_automatic_platform_optimization_response_output: JsonSchema = /** * The schema of `speed_automatic_platform_optimization_value` in responses. */ -export const speed_automatic_platform_optimization_value_output: JsonSchema = { +export const speed_automatic_platform_optimization_value: JsonSchema = { "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts b/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts index 5d2c0ffdb..d3221fcab 100644 --- a/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts +++ b/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts @@ -3,24 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; import { - speed_automatic_platform_optimization_response_output, - speed_automatic_platform_optimization_value_output, + speed_automatic_platform_optimization_response, + speed_automatic_platform_optimization_value, } from "./outputs.js"; -import { speed_automatic_platform_optimization_value } from "./schemas.js"; +import { speed_automatic_platform_optimization_value as speed_automatic_platform_optimization_value$ } from "./schemas.js"; /** - * The tools of `zones.automatic_platform_optimization`. + * The tools of `zones.automaticPlatformOptimization`. */ export const tools: readonly Tool[] = [ { - name: "zones_automatic_platform_optimization_edit", + name: "zones_automaticPlatformOptimization_edit", title: "Change Automatic Platform Optimization setting", description: "Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your\nWordPress site from Cloudflare's edge network, reducing load times for visitors.\nRefer to the APO documentation for more information.", inputSchema: { @@ -38,17 +38,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value, + "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value$, "speed_identifier": speed_identifier, }, }, @@ -67,11 +75,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response_output, - "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response, + "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value, + "speed_base": speed_base, + "speed_messages": speed_messages, }, }, annotations: { @@ -121,12 +129,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response_output, - "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response, + "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value, + "speed_base": speed_base, + "speed_messages": speed_messages, }, }, request: (args) => ({ @@ -135,19 +143,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_automatic_platform_optimization_get", + name: "zones_automaticPlatformOptimization_get", title: "Get Automatic Platform Optimization setting", description: "Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your\nWordPress site from Cloudflare's edge network, reducing load times for visitors.\nRefer to the APO documentation for more information.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -168,11 +184,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response_output, - "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response, + "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value, + "speed_base": speed_base, + "speed_messages": speed_messages, }, }, annotations: { @@ -223,12 +239,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response_output, - "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_automatic_platform_optimization_response": speed_automatic_platform_optimization_response, + "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value, + "speed_base": speed_base, + "speed_messages": speed_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/binaryAst/outputs.ts b/src/generated/forge-mcp/zones/binaryAst/outputs.ts index af5fd44e0..75babd5d4 100644 --- a/src/generated/forge-mcp/zones/binaryAst/outputs.ts +++ b/src/generated/forge-mcp/zones/binaryAst/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_binary_ast_response` in responses. */ -export const speed_binary_ast_response_output: JsonSchema = { +export const speed_binary_ast_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" @@ -31,7 +31,7 @@ export const speed_binary_ast_response_output: JsonSchema = { /** * The schema of `speed_binary_ast_value` in responses. */ -export const speed_binary_ast_value_output: JsonSchema = { +export const speed_binary_ast_value: JsonSchema = { "enum": [ "off", "on", diff --git a/src/generated/forge-mcp/zones/binaryAst/tools.ts b/src/generated/forge-mcp/zones/binaryAst/tools.ts index a68a22b9e..8b65afbf7 100644 --- a/src/generated/forge-mcp/zones/binaryAst/tools.ts +++ b/src/generated/forge-mcp/zones/binaryAst/tools.ts @@ -3,24 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; import { - speed_binary_ast_response_output, - speed_binary_ast_value_output, + speed_binary_ast_response, + speed_binary_ast_value, } from "./outputs.js"; -import { speed_binary_ast_value } from "./schemas.js"; +import { speed_binary_ast_value as speed_binary_ast_value$ } from "./schemas.js"; /** - * The tools of `zones.binary_ast`. + * The tools of `zones.binaryAst`. */ export const tools: readonly Tool[] = [ { - name: "zones_binary_ast_edit", + name: "zones_binaryAst_edit", title: "Change Binary AST setting", description: "Binary AST is a new binary encoding for JavaScript that enables faster parsing of scripts.\nWhen enabled, Cloudflare will serve a binary-encoded version of JavaScript to compatible browsers.", inputSchema: { @@ -38,17 +38,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "speed_binary_ast_value": speed_binary_ast_value, + "speed_binary_ast_value": speed_binary_ast_value$, "speed_identifier": speed_identifier, }, }, @@ -67,11 +75,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_binary_ast_response": speed_binary_ast_response_output, - "speed_binary_ast_value": speed_binary_ast_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_binary_ast_response": speed_binary_ast_response, + "speed_binary_ast_value": speed_binary_ast_value, + "speed_messages": speed_messages, }, }, annotations: { @@ -121,12 +129,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_binary_ast_response": speed_binary_ast_response_output, - "speed_binary_ast_value": speed_binary_ast_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_binary_ast_response": speed_binary_ast_response, + "speed_binary_ast_value": speed_binary_ast_value, + "speed_messages": speed_messages, }, }, request: (args) => ({ @@ -135,19 +143,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_binary_ast_get", + name: "zones_binaryAst_get", title: "Get Binary AST setting", description: "Binary AST is a new binary encoding for JavaScript that enables faster parsing of scripts.\nWhen enabled, Cloudflare will serve a binary-encoded version of JavaScript to compatible browsers.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -168,11 +184,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_binary_ast_response": speed_binary_ast_response_output, - "speed_binary_ast_value": speed_binary_ast_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_binary_ast_response": speed_binary_ast_response, + "speed_binary_ast_value": speed_binary_ast_value, + "speed_messages": speed_messages, }, }, annotations: { @@ -223,12 +239,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_binary_ast_response": speed_binary_ast_response_output, - "speed_binary_ast_value": speed_binary_ast_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_binary_ast_response": speed_binary_ast_response, + "speed_binary_ast_value": speed_binary_ast_value, + "speed_messages": speed_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/fonts/outputs.ts b/src/generated/forge-mcp/zones/fonts/outputs.ts index d88541eee..6c6b7c403 100644 --- a/src/generated/forge-mcp/zones/fonts/outputs.ts +++ b/src/generated/forge-mcp/zones/fonts/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_cloudflare_fonts` in responses. */ -export const speed_cloudflare_fonts_output: JsonSchema = { +export const speed_cloudflare_fonts: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" @@ -31,7 +31,7 @@ export const speed_cloudflare_fonts_output: JsonSchema = { /** * The schema of `speed_cloudflare_fonts_value` in responses. */ -export const speed_cloudflare_fonts_value_output: JsonSchema = { +export const speed_cloudflare_fonts_value: JsonSchema = { "enum": [ "on", "off" diff --git a/src/generated/forge-mcp/zones/fonts/tools.ts b/src/generated/forge-mcp/zones/fonts/tools.ts index fce9ddcb9..b90fd4397 100644 --- a/src/generated/forge-mcp/zones/fonts/tools.ts +++ b/src/generated/forge-mcp/zones/fonts/tools.ts @@ -3,17 +3,17 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; import { - speed_cloudflare_fonts_output, - speed_cloudflare_fonts_value_output, + speed_cloudflare_fonts, + speed_cloudflare_fonts_value, } from "./outputs.js"; -import { speed_cloudflare_fonts_value } from "./schemas.js"; +import { speed_cloudflare_fonts_value as speed_cloudflare_fonts_value$ } from "./schemas.js"; /** * The tools of `zones.fonts`. @@ -39,17 +39,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value, + "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value$, "speed_identifier": speed_identifier, }, }, @@ -68,11 +76,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_cloudflare_fonts": speed_cloudflare_fonts_output, - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_cloudflare_fonts": speed_cloudflare_fonts, + "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value, + "speed_messages": speed_messages, }, }, annotations: { @@ -122,12 +130,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_cloudflare_fonts": speed_cloudflare_fonts_output, - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_cloudflare_fonts": speed_cloudflare_fonts, + "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value, + "speed_messages": speed_messages, }, }, request: (args) => ({ @@ -142,13 +150,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -169,11 +185,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_cloudflare_fonts": speed_cloudflare_fonts_output, - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_cloudflare_fonts": speed_cloudflare_fonts, + "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value, + "speed_messages": speed_messages, }, }, annotations: { @@ -224,12 +240,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_cloudflare_fonts": speed_cloudflare_fonts_output, - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_cloudflare_fonts": speed_cloudflare_fonts, + "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value, + "speed_messages": speed_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts b/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts index 2f92cee6c..c7f427b44 100644 --- a/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts +++ b/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_h2_prioritization_response` in responses. */ -export const speed_h2_prioritization_response_output: JsonSchema = { +export const speed_h2_prioritization_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" @@ -31,7 +31,7 @@ export const speed_h2_prioritization_response_output: JsonSchema = { /** * The schema of `speed_h2_prioritization_value` in responses. */ -export const speed_h2_prioritization_value_output: JsonSchema = { +export const speed_h2_prioritization_value: JsonSchema = { "enum": [ "off", "on", diff --git a/src/generated/forge-mcp/zones/h2Prioritization/tools.ts b/src/generated/forge-mcp/zones/h2Prioritization/tools.ts index 4b7f70bed..1a6f3ceb4 100644 --- a/src/generated/forge-mcp/zones/h2Prioritization/tools.ts +++ b/src/generated/forge-mcp/zones/h2Prioritization/tools.ts @@ -3,24 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; import { - speed_h2_prioritization_response_output, - speed_h2_prioritization_value_output, + speed_h2_prioritization_response, + speed_h2_prioritization_value, } from "./outputs.js"; -import { speed_h2_prioritization_value } from "./schemas.js"; +import { speed_h2_prioritization_value as speed_h2_prioritization_value$ } from "./schemas.js"; /** - * The tools of `zones.h2_prioritization`. + * The tools of `zones.h2Prioritization`. */ export const tools: readonly Tool[] = [ { - name: "zones_h2_prioritization_edit", + name: "zones_h2Prioritization_edit", title: "Change HTTP/2 Prioritization setting", description: "HTTP/2 Prioritization controls the order in which assets are delivered to browsers.\nCloudflare's HTTP/2 Prioritization overrides the default browser prioritization order,\nimproving the loading performance of web pages.", inputSchema: { @@ -38,17 +38,25 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "speed_h2_prioritization_value": speed_h2_prioritization_value, + "speed_h2_prioritization_value": speed_h2_prioritization_value$, "speed_identifier": speed_identifier, }, }, @@ -67,11 +75,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_h2_prioritization_response": speed_h2_prioritization_response_output, - "speed_h2_prioritization_value": speed_h2_prioritization_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_h2_prioritization_response": speed_h2_prioritization_response, + "speed_h2_prioritization_value": speed_h2_prioritization_value, + "speed_messages": speed_messages, }, }, annotations: { @@ -121,12 +129,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_h2_prioritization_response": speed_h2_prioritization_response_output, - "speed_h2_prioritization_value": speed_h2_prioritization_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_h2_prioritization_response": speed_h2_prioritization_response, + "speed_h2_prioritization_value": speed_h2_prioritization_value, + "speed_messages": speed_messages, }, }, request: (args) => ({ @@ -135,19 +143,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_h2_prioritization_get", + name: "zones_h2Prioritization_get", title: "Get HTTP/2 Prioritization setting", description: "HTTP/2 Prioritization controls the order in which assets are delivered to browsers.\nCloudflare's HTTP/2 Prioritization overrides the default browser prioritization order,\nimproving the loading performance of web pages.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -168,11 +184,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_h2_prioritization_response": speed_h2_prioritization_response_output, - "speed_h2_prioritization_value": speed_h2_prioritization_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_h2_prioritization_response": speed_h2_prioritization_response, + "speed_h2_prioritization_value": speed_h2_prioritization_value, + "speed_messages": speed_messages, }, }, annotations: { @@ -223,12 +239,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_h2_prioritization_response": speed_h2_prioritization_response_output, - "speed_h2_prioritization_value": speed_h2_prioritization_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_h2_prioritization_response": speed_h2_prioritization_response, + "speed_h2_prioritization_value": speed_h2_prioritization_value, + "speed_messages": speed_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/holds/outputs.ts b/src/generated/forge-mcp/zones/holds/outputs.ts index 02e7a5f9d..bb20c3cb6 100644 --- a/src/generated/forge-mcp/zones/holds/outputs.ts +++ b/src/generated/forge-mcp/zones/holds/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zones_api-response-common-3` in responses. */ -export const zones_api_response_common_3_output: JsonSchema = { +export const zones_api$$response$$common$$3: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zones_messages" @@ -49,7 +49,7 @@ export const zones_api_response_common_3_output: JsonSchema = { /** * The schema of `zones_api-response-single-2` in responses. */ -export const zones_api_response_single_2_output: JsonSchema = { +export const zones_api$$response$$single$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_api-response-common-3" diff --git a/src/generated/forge-mcp/zones/holds/tools.ts b/src/generated/forge-mcp/zones/holds/tools.ts index 7bf28528e..761b79674 100644 --- a/src/generated/forge-mcp/zones/holds/tools.ts +++ b/src/generated/forge-mcp/zones/holds/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, param, pathParam } from "../../_/tool.js"; import { - zones_api_response_common_failure_2_output, - zones_messages_2_output, + zones_api$$response$$common$$failure$$2, + zones_messages$$2, } from "../../outputs.js"; -import { zones_identifier_2 } from "../../schemas.js"; -import { zones_messages_output } from "../outputs.js"; +import { zones_identifier$$2 } from "../../schemas.js"; +import { zones_messages } from "../outputs.js"; import { - zones_api_response_common_3_output, - zones_api_response_single_2_output, + zones_api$$response$$common$$3, + zones_api$$response$$single$$2, } from "./outputs.js"; /** @@ -24,20 +24,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "include_subdomains": { - "description": "If provided, the zone hold will extend to block any subdomain of the given zone, as well\nas SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname\n'example.com' and include_subdomains=true will block 'example.com',\n'staging.example.com', 'api.staging.example.com', etc.", - "type": "boolean" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Zone ID" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Zone ID" + "query": { + "properties": { + "include_subdomains": { + "description": "If provided, the zone hold will extend to block any subdomain of the given zone, as well\nas SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname\n'example.com' and include_subdomains=true will block 'example.com',\n'staging.example.com', 'api.staging.example.com', etc.", + "type": "boolean" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2, }, }, outputSchema: { @@ -66,9 +79,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_api-response-common-3": zones_api_response_common_3_output, - "zones_api-response-single-2": zones_api_response_single_2_output, - "zones_messages": zones_messages_output, + "zones_api-response-common-3": zones_api$$response$$common$$3, + "zones_api-response-single-2": zones_api$$response$$single$$2, + "zones_messages": zones_messages, }, }, annotations: { @@ -118,17 +131,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common-3": zones_api_response_common_3_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_api-response-single-2": zones_api_response_single_2_output, - "zones_messages": zones_messages_output, - "zones_messages-2": zones_messages_2_output, + "zones_api-response-common-3": zones_api$$response$$common$$3, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_api-response-single-2": zones_api$$response$$single$$2, + "zones_messages": zones_messages, + "zones_messages-2": zones_messages$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hold`, query: [ - ["include_subdomains", args["include_subdomains"], true], + ["include_subdomains", param(args, "query", "include_subdomains"), true], ], }), }, @@ -139,20 +152,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "hold_after": { - "description": "If `hold_after` is provided, the hold will be temporarily disabled,\nthen automatically re-enabled by the system at the time specified\nin this RFC3339-formatted timestamp. Otherwise, the hold will be\ndisabled indefinitely. `hold_after` cannot be provided for CDN-only zones.", - "type": "string" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Zone ID" + } + }, + "required": [ + "zone_id" + ], + "type": "object" }, - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Zone ID" + "query": { + "properties": { + "hold_after": { + "description": "If `hold_after` is provided, the hold will be temporarily disabled,\nthen automatically re-enabled by the system at the time specified\nin this RFC3339-formatted timestamp. Otherwise, the hold will be\ndisabled indefinitely. `hold_after` cannot be provided for CDN-only zones.", + "type": "string" + } + }, + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2, }, }, outputSchema: { @@ -181,9 +207,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_api-response-common-3": zones_api_response_common_3_output, - "zones_api-response-single-2": zones_api_response_single_2_output, - "zones_messages": zones_messages_output, + "zones_api-response-common-3": zones_api$$response$$common$$3, + "zones_api-response-single-2": zones_api$$response$$single$$2, + "zones_messages": zones_messages, }, }, annotations: { @@ -233,17 +259,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common-3": zones_api_response_common_3_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_api-response-single-2": zones_api_response_single_2_output, - "zones_messages": zones_messages_output, - "zones_messages-2": zones_messages_2_output, + "zones_api-response-common-3": zones_api$$response$$common$$3, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_api-response-single-2": zones_api$$response$$single$$2, + "zones_messages": zones_messages, + "zones_messages-2": zones_messages$$2, }, }, request: (args) => ({ path: `/zones/${pathParam(args, "zone_id")}/hold`, query: [ - ["hold_after", args["hold_after"], true], + ["hold_after", param(args, "query", "hold_after"), true], ], }), }, @@ -276,17 +302,25 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Zone ID" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Zone ID" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2, }, }, outputSchema: { @@ -315,9 +349,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_api-response-common-3": zones_api_response_common_3_output, - "zones_api-response-single-2": zones_api_response_single_2_output, - "zones_messages": zones_messages_output, + "zones_api-response-common-3": zones_api$$response$$common$$3, + "zones_api-response-single-2": zones_api$$response$$single$$2, + "zones_messages": zones_messages, }, }, annotations: { @@ -375,11 +409,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common-3": zones_api_response_common_3_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_api-response-single-2": zones_api_response_single_2_output, - "zones_messages": zones_messages_output, - "zones_messages-2": zones_messages_2_output, + "zones_api-response-common-3": zones_api$$response$$common$$3, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_api-response-single-2": zones_api$$response$$single$$2, + "zones_messages": zones_messages, + "zones_messages-2": zones_messages$$2, }, }, request: (args) => ({ @@ -394,16 +428,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Zone ID" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zones_identifier-2", + "description": "Zone ID" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "zones_identifier-2": zones_identifier_2, + "zones_identifier-2": zones_identifier$$2, }, }, outputSchema: { @@ -432,9 +474,9 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_api-response-common-3": zones_api_response_common_3_output, - "zones_api-response-single-2": zones_api_response_single_2_output, - "zones_messages": zones_messages_output, + "zones_api-response-common-3": zones_api$$response$$common$$3, + "zones_api-response-single-2": zones_api$$response$$single$$2, + "zones_messages": zones_messages, }, }, annotations: { @@ -522,11 +564,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common-3": zones_api_response_common_3_output, - "zones_api-response-common-failure-2": zones_api_response_common_failure_2_output, - "zones_api-response-single-2": zones_api_response_single_2_output, - "zones_messages": zones_messages_output, - "zones_messages-2": zones_messages_2_output, + "zones_api-response-common-3": zones_api$$response$$common$$3, + "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, + "zones_api-response-single-2": zones_api$$response$$single$$2, + "zones_messages": zones_messages, + "zones_messages-2": zones_messages$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts b/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts index 3cffd96c4..e270d9de8 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_created_at-4` in responses. */ -export const tls_certificates_and_hostnames_created_at_4_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_created_at$$4: JsonSchema = { "format": "date-time", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_created_at_4_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_hostname-3` in responses. */ -export const tls_certificates_and_hostnames_hostname_3_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname$$3: JsonSchema = { "type": "string" }; @@ -22,7 +22,7 @@ export const tls_certificates_and_hostnames_hostname_3_output: JsonSchema = { * The schema of `tls-certificates-and-hostnames_per_hostname_settings_response` * in responses. */ -export const tls_certificates_and_hostnames_per_hostname_settings_response_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_per_hostname_settings_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -41,7 +41,7 @@ export const tls_certificates_and_hostnames_per_hostname_settings_response_outpu /** * The schema of `tls-certificates-and-hostnames_settingObject` in responses. */ -export const tls_certificates_and_hostnames_settingObject_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_settingObject: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-4" @@ -65,14 +65,14 @@ export const tls_certificates_and_hostnames_settingObject_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_status-12` in responses. */ -export const tls_certificates_and_hostnames_status_12_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_status$$12: JsonSchema = { "type": "string" }; /** * The schema of `tls-certificates-and-hostnames_updated_at-5` in responses. */ -export const tls_certificates_and_hostnames_updated_at_5_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_updated_at$$5: JsonSchema = { "format": "date-time", "type": "string" }; @@ -80,7 +80,7 @@ export const tls_certificates_and_hostnames_updated_at_5_output: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_value` in responses. */ -export const tls_certificates_and_hostnames_value_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_value: JsonSchema = { "oneOf": [ { "items": { diff --git a/src/generated/forge-mcp/zones/hostnames/settings/schemas.ts b/src/generated/forge-mcp/zones/hostnames/settings/schemas.ts index ed7b85558..e02ac583d 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/schemas.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../../_/tool.js"; /** * The schema of `tls-certificates-and-hostnames_hostname-3`. */ -export const tls_certificates_and_hostnames_hostname_3: JsonSchema = { +export const tls$$certificates$$and$$hostnames_hostname$$3: JsonSchema = { "description": "The hostname for which the tls settings are set.", "type": "string" }; @@ -14,7 +14,7 @@ export const tls_certificates_and_hostnames_hostname_3: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_setting_id`. */ -export const tls_certificates_and_hostnames_setting_id: JsonSchema = { +export const tls$$certificates$$and$$hostnames_setting_id: JsonSchema = { "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`.", "enum": [ "ciphers", @@ -27,7 +27,7 @@ export const tls_certificates_and_hostnames_setting_id: JsonSchema = { /** * The schema of `tls-certificates-and-hostnames_value`. */ -export const tls_certificates_and_hostnames_value: JsonSchema = { +export const tls$$certificates$$and$$hostnames_value: JsonSchema = { "description": "The TLS setting value.\nThe type depends on the `setting_id` used in the request path:\n- `ciphers`: an array of allowed cipher suite strings in BoringSSL format (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: a string indicating the minimum TLS version — one of `\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"` (e.g., `\"1.2\"`).\n- `http2`: a string indicating whether HTTP/2 is enabled — `\"on\"` or `\"off\"` (e.g., `\"on\"`).", "oneOf": [ { diff --git a/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts b/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts index d04cc6759..d7e2f04ce 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts @@ -8,7 +8,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; * `tls-certificates-and-hostnames_per_hostname_settings_response_collection` in * responses. */ -export const tls_certificates_and_hostnames_per_hostname_settings_response_collection_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_per_hostname_settings_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-collection" @@ -74,7 +74,7 @@ export const tls_certificates_and_hostnames_per_hostname_settings_response_colle * `tls-certificates-and-hostnames_per_hostname_settings_response_delete` in * responses. */ -export const tls_certificates_and_hostnames_per_hostname_settings_response_delete_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_per_hostname_settings_response_delete: JsonSchema = { "allOf": [ { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-single" @@ -94,7 +94,7 @@ export const tls_certificates_and_hostnames_per_hostname_settings_response_delet * The schema of `tls-certificates-and-hostnames_settingObjectDelete` in * responses. */ -export const tls_certificates_and_hostnames_settingObjectDelete_output: JsonSchema = { +export const tls$$certificates$$and$$hostnames_settingObjectDelete: JsonSchema = { "properties": { "created_at": { "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-4" diff --git a/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts b/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts index a54ec0493..11a01fb29 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_collection_output, - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_common_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$collection, + tls$$certificates$$and$$hostnames_api$$response$$common, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../../schemas.js"; import { - tls_certificates_and_hostnames_created_at_4_output, - tls_certificates_and_hostnames_hostname_3_output, - tls_certificates_and_hostnames_per_hostname_settings_response_output, - tls_certificates_and_hostnames_settingObject_output, - tls_certificates_and_hostnames_status_12_output, - tls_certificates_and_hostnames_updated_at_5_output, - tls_certificates_and_hostnames_value_output, + tls$$certificates$$and$$hostnames_created_at$$4, + tls$$certificates$$and$$hostnames_hostname$$3, + tls$$certificates$$and$$hostnames_per_hostname_settings_response, + tls$$certificates$$and$$hostnames_settingObject, + tls$$certificates$$and$$hostnames_status$$12, + tls$$certificates$$and$$hostnames_updated_at$$5, + tls$$certificates$$and$$hostnames_value, } from "../outputs.js"; import { - tls_certificates_and_hostnames_hostname_3, - tls_certificates_and_hostnames_setting_id, - tls_certificates_and_hostnames_value, + tls$$certificates$$and$$hostnames_hostname$$3 as tls$$certificates$$and$$hostnames_hostname$$3$, + tls$$certificates$$and$$hostnames_setting_id, + tls$$certificates$$and$$hostnames_value as tls$$certificates$$and$$hostnames_value$, } from "../schemas.js"; import { - tls_certificates_and_hostnames_per_hostname_settings_response_collection_output, - tls_certificates_and_hostnames_per_hostname_settings_response_delete_output, - tls_certificates_and_hostnames_settingObjectDelete_output, + tls$$certificates$$and$$hostnames_per_hostname_settings_response_collection, + tls$$certificates$$and$$hostnames_per_hostname_settings_response_delete, + tls$$certificates$$and$$hostnames_settingObjectDelete, } from "./outputs.js"; /** @@ -41,42 +41,50 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3", - "description": "The hostname for which the tls settings are set." - }, - "setting_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", - "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3", + "description": "The hostname for which the tls settings are set." + }, + "setting_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", + "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "setting_id", + "hostname" + ], + "type": "object" } }, required: [ - "zone_id", - "setting_id", - "hostname" + "path" ], $defs: { - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_setting_id": tls_certificates_and_hostnames_setting_id, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_setting_id": tls$$certificates$$and$$hostnames_setting_id, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response_delete", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_per_hostname_settings_response_delete": tls_certificates_and_hostnames_per_hostname_settings_response_delete_output, - "tls-certificates-and-hostnames_settingObjectDelete": tls_certificates_and_hostnames_settingObjectDelete_output, - "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, - "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, - "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_per_hostname_settings_response_delete": tls$$certificates$$and$$hostnames_per_hostname_settings_response_delete, + "tls-certificates-and-hostnames_settingObjectDelete": tls$$certificates$$and$$hostnames_settingObjectDelete, + "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, + "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, + "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, annotations: { @@ -121,16 +129,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_per_hostname_settings_response_delete": tls_certificates_and_hostnames_per_hostname_settings_response_delete_output, - "tls-certificates-and-hostnames_settingObjectDelete": tls_certificates_and_hostnames_settingObjectDelete_output, - "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, - "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, - "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_per_hostname_settings_response_delete": tls$$certificates$$and$$hostnames_per_hostname_settings_response_delete, + "tls-certificates-and-hostnames_settingObjectDelete": tls$$certificates$$and$$hostnames_settingObjectDelete, + "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, + "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, + "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, request: (args) => ({ @@ -144,36 +152,44 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "setting_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", - "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "setting_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", + "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "setting_id" + ], + "type": "object" } }, required: [ - "zone_id", - "setting_id" + "path" ], $defs: { - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_setting_id": tls_certificates_and_hostnames_setting_id, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_setting_id": tls$$certificates$$and$$hostnames_setting_id, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response_collection", $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_per_hostname_settings_response_collection": tls_certificates_and_hostnames_per_hostname_settings_response_collection_output, - "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, - "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, - "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_per_hostname_settings_response_collection": tls$$certificates$$and$$hostnames_per_hostname_settings_response_collection, + "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, + "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, + "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, annotations: { @@ -219,16 +235,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-collection": tls_certificates_and_hostnames_api_response_collection_output, - "tls-certificates-and-hostnames_api-response-common": tls_certificates_and_hostnames_api_response_common_output, - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_per_hostname_settings_response_collection": tls_certificates_and_hostnames_per_hostname_settings_response_collection_output, - "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, - "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, - "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, + "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_per_hostname_settings_response_collection": tls$$certificates$$and$$hostnames_per_hostname_settings_response_collection, + "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, + "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, + "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, request: (args) => ({ @@ -254,44 +270,52 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3", - "description": "The hostname for which the tls settings are set." - }, - "setting_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", - "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3", + "description": "The hostname for which the tls settings are set." + }, + "setting_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", + "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "setting_id", + "hostname" + ], + "type": "object" } }, required: [ - "zone_id", - "setting_id", - "hostname", + "path", "body" ], $defs: { - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_setting_id": tls_certificates_and_hostnames_setting_id, - "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_setting_id": tls$$certificates$$and$$hostnames_setting_id, + "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_per_hostname_settings_response": tls_certificates_and_hostnames_per_hostname_settings_response_output, - "tls-certificates-and-hostnames_settingObject": tls_certificates_and_hostnames_settingObject_output, - "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, - "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, - "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_per_hostname_settings_response": tls$$certificates$$and$$hostnames_per_hostname_settings_response, + "tls-certificates-and-hostnames_settingObject": tls$$certificates$$and$$hostnames_settingObject, + "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, + "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, + "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, annotations: { @@ -336,16 +360,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_per_hostname_settings_response": tls_certificates_and_hostnames_per_hostname_settings_response_output, - "tls-certificates-and-hostnames_settingObject": tls_certificates_and_hostnames_settingObject_output, - "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, - "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, - "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_per_hostname_settings_response": tls$$certificates$$and$$hostnames_per_hostname_settings_response, + "tls-certificates-and-hostnames_settingObject": tls$$certificates$$and$$hostnames_settingObject, + "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, + "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, + "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts b/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts index cbf4f71b9..e71f62ea7 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts @@ -3,72 +3,80 @@ import { type Tool, pathParam } from "../../../../_/tool.js"; import { - tls_certificates_and_hostnames_api_response_common_failure_output, - tls_certificates_and_hostnames_api_response_single_output, - tls_certificates_and_hostnames_messages_output, + tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + tls$$certificates$$and$$hostnames_api$$response$$single, + tls$$certificates$$and$$hostnames_messages, } from "../../../../outputs.js"; -import { tls_certificates_and_hostnames_identifier } from "../../../../schemas.js"; +import { tls$$certificates$$and$$hostnames_identifier } from "../../../../schemas.js"; import { - tls_certificates_and_hostnames_created_at_4_output, - tls_certificates_and_hostnames_hostname_3_output, - tls_certificates_and_hostnames_per_hostname_settings_response_output, - tls_certificates_and_hostnames_settingObject_output, - tls_certificates_and_hostnames_status_12_output, - tls_certificates_and_hostnames_updated_at_5_output, - tls_certificates_and_hostnames_value_output, + tls$$certificates$$and$$hostnames_created_at$$4, + tls$$certificates$$and$$hostnames_hostname$$3, + tls$$certificates$$and$$hostnames_per_hostname_settings_response, + tls$$certificates$$and$$hostnames_settingObject, + tls$$certificates$$and$$hostnames_status$$12, + tls$$certificates$$and$$hostnames_updated_at$$5, + tls$$certificates$$and$$hostnames_value, } from "../outputs.js"; import { - tls_certificates_and_hostnames_hostname_3, - tls_certificates_and_hostnames_setting_id, + tls$$certificates$$and$$hostnames_hostname$$3 as tls$$certificates$$and$$hostnames_hostname$$3$, + tls$$certificates$$and$$hostnames_setting_id, } from "../schemas.js"; /** - * The tools of `zones.hostnames.settings.tls_single`. + * The tools of `zones.hostnames.settings.tlsSingle`. */ export const tools: readonly Tool[] = [ { - name: "zones_hostnames_settings_tls_single_get", + name: "zones_hostnames_settings_tlsSingle_get", title: "Get TLS setting for hostname", description: "Get the requested TLS setting for the hostname.", inputSchema: { type: "object", properties: { - "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3", - "description": "The hostname for which the tls settings are set." - }, - "setting_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", - "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." - }, - "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "path": { + "properties": { + "hostname": { + "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3", + "description": "The hostname for which the tls settings are set." + }, + "setting_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", + "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." + }, + "zone_id": { + "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id", + "setting_id", + "hostname" + ], + "type": "object" } }, required: [ - "zone_id", - "setting_id", - "hostname" + "path" ], $defs: { - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3, - "tls-certificates-and-hostnames_identifier": tls_certificates_and_hostnames_identifier, - "tls-certificates-and-hostnames_setting_id": tls_certificates_and_hostnames_setting_id, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3$, + "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, + "tls-certificates-and-hostnames_setting_id": tls$$certificates$$and$$hostnames_setting_id, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response", $defs: { - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_per_hostname_settings_response": tls_certificates_and_hostnames_per_hostname_settings_response_output, - "tls-certificates-and-hostnames_settingObject": tls_certificates_and_hostnames_settingObject_output, - "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, - "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, - "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_per_hostname_settings_response": tls$$certificates$$and$$hostnames_per_hostname_settings_response, + "tls-certificates-and-hostnames_settingObject": tls$$certificates$$and$$hostnames_settingObject, + "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, + "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, + "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, annotations: { @@ -105,16 +113,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tls-certificates-and-hostnames_api-response-common-failure": tls_certificates_and_hostnames_api_response_common_failure_output, - "tls-certificates-and-hostnames_api-response-single": tls_certificates_and_hostnames_api_response_single_output, - "tls-certificates-and-hostnames_created_at-4": tls_certificates_and_hostnames_created_at_4_output, - "tls-certificates-and-hostnames_hostname-3": tls_certificates_and_hostnames_hostname_3_output, - "tls-certificates-and-hostnames_messages": tls_certificates_and_hostnames_messages_output, - "tls-certificates-and-hostnames_per_hostname_settings_response": tls_certificates_and_hostnames_per_hostname_settings_response_output, - "tls-certificates-and-hostnames_settingObject": tls_certificates_and_hostnames_settingObject_output, - "tls-certificates-and-hostnames_status-12": tls_certificates_and_hostnames_status_12_output, - "tls-certificates-and-hostnames_updated_at-5": tls_certificates_and_hostnames_updated_at_5_output, - "tls-certificates-and-hostnames_value": tls_certificates_and_hostnames_value_output, + "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, + "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, + "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, + "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, + "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, + "tls-certificates-and-hostnames_per_hostname_settings_response": tls$$certificates$$and$$hostnames_per_hostname_settings_response, + "tls-certificates-and-hostnames_settingObject": tls$$certificates$$and$$hostnames_settingObject, + "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, + "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, + "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/imageResizing/outputs.ts b/src/generated/forge-mcp/zones/imageResizing/outputs.ts index 1e67f16e2..3e07a256f 100644 --- a/src/generated/forge-mcp/zones/imageResizing/outputs.ts +++ b/src/generated/forge-mcp/zones/imageResizing/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_image_resizing_response` in responses. */ -export const speed_image_resizing_response_output: JsonSchema = { +export const speed_image_resizing_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" @@ -31,7 +31,7 @@ export const speed_image_resizing_response_output: JsonSchema = { /** * The schema of `speed_image_resizing_value` in responses. */ -export const speed_image_resizing_value_output: JsonSchema = { +export const speed_image_resizing_value: JsonSchema = { "enum": [ "off", "on", diff --git a/src/generated/forge-mcp/zones/imageResizing/tools.ts b/src/generated/forge-mcp/zones/imageResizing/tools.ts index 3453011d6..6f232600b 100644 --- a/src/generated/forge-mcp/zones/imageResizing/tools.ts +++ b/src/generated/forge-mcp/zones/imageResizing/tools.ts @@ -3,24 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; import { - speed_image_resizing_response_output, - speed_image_resizing_value_output, + speed_image_resizing_response, + speed_image_resizing_value, } from "./outputs.js"; -import { speed_image_resizing_value } from "./schemas.js"; +import { speed_image_resizing_value as speed_image_resizing_value$ } from "./schemas.js"; /** - * The tools of `zones.image_resizing`. + * The tools of `zones.imageResizing`. */ export const tools: readonly Tool[] = [ { - name: "zones_image_resizing_edit", + name: "zones_imageResizing_edit", title: "Change Image Transformations setting", description: "Sets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.", inputSchema: { @@ -38,18 +38,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "speed_identifier": speed_identifier, - "speed_image_resizing_value": speed_image_resizing_value, + "speed_image_resizing_value": speed_image_resizing_value$, }, }, outputSchema: { @@ -67,11 +75,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_image_resizing_response": speed_image_resizing_response_output, - "speed_image_resizing_value": speed_image_resizing_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_image_resizing_response": speed_image_resizing_response, + "speed_image_resizing_value": speed_image_resizing_value, + "speed_messages": speed_messages, }, }, annotations: { @@ -121,12 +129,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_image_resizing_response": speed_image_resizing_response_output, - "speed_image_resizing_value": speed_image_resizing_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_image_resizing_response": speed_image_resizing_response, + "speed_image_resizing_value": speed_image_resizing_value, + "speed_messages": speed_messages, }, }, request: (args) => ({ @@ -135,19 +143,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_image_resizing_get", + name: "zones_imageResizing_get", title: "Get Image Transformations setting", description: "Gets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -168,11 +184,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_image_resizing_response": speed_image_resizing_response_output, - "speed_image_resizing_value": speed_image_resizing_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_image_resizing_response": speed_image_resizing_response, + "speed_image_resizing_value": speed_image_resizing_value, + "speed_messages": speed_messages, }, }, annotations: { @@ -223,12 +239,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_image_resizing_response": speed_image_resizing_response_output, - "speed_image_resizing_value": speed_image_resizing_value_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_image_resizing_response": speed_image_resizing_response, + "speed_image_resizing_value": speed_image_resizing_value, + "speed_messages": speed_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts b/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts index 7bb4f65a2..c205f21ef 100644 --- a/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts +++ b/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_origin_h2_max_streams` in responses. */ -export const cache_settings_origin_h2_max_streams_output: JsonSchema = { +export const cache$$settings_origin_h2_max_streams: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -32,7 +32,7 @@ export const cache_settings_origin_h2_max_streams_output: JsonSchema = { * The schema of `cache-settings_origin_h2_max_streams_response_value` in * responses. */ -export const cache_settings_origin_h2_max_streams_response_value_output: JsonSchema = { +export const cache$$settings_origin_h2_max_streams_response_value: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_api-response-common" @@ -51,6 +51,6 @@ export const cache_settings_origin_h2_max_streams_response_value_output: JsonSch /** * The schema of `cache-settings_origin_h2_max_streams_value` in responses. */ -export const cache_settings_origin_h2_max_streams_value_output: JsonSchema = { +export const cache$$settings_origin_h2_max_streams_value: JsonSchema = { "type": "integer" }; diff --git a/src/generated/forge-mcp/zones/originH2MaxStreams/schemas.ts b/src/generated/forge-mcp/zones/originH2MaxStreams/schemas.ts index 9d9c4a0fa..acc38e894 100644 --- a/src/generated/forge-mcp/zones/originH2MaxStreams/schemas.ts +++ b/src/generated/forge-mcp/zones/originH2MaxStreams/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_origin_h2_max_streams_value`. */ -export const cache_settings_origin_h2_max_streams_value: JsonSchema = { +export const cache$$settings_origin_h2_max_streams_value: JsonSchema = { "description": "Value of the Origin H2 Max Streams Setting.", "type": "integer" }; diff --git a/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts b/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts index a2e0f3054..38bba4f8a 100644 --- a/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts +++ b/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts @@ -3,25 +3,25 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_base_output, - cache_settings_messages_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_base, + cache$$settings_messages, } from "../../outputs.js"; -import { cache_settings_identifier } from "../../schemas.js"; +import { cache$$settings_identifier } from "../../schemas.js"; import { - cache_settings_origin_h2_max_streams_output, - cache_settings_origin_h2_max_streams_response_value_output, - cache_settings_origin_h2_max_streams_value_output, + cache$$settings_origin_h2_max_streams, + cache$$settings_origin_h2_max_streams_response_value, + cache$$settings_origin_h2_max_streams_value, } from "./outputs.js"; -import { cache_settings_origin_h2_max_streams_value } from "./schemas.js"; +import { cache$$settings_origin_h2_max_streams_value as cache$$settings_origin_h2_max_streams_value$ } from "./schemas.js"; /** - * The tools of `zones.origin_h2_max_streams`. + * The tools of `zones.originH2MaxStreams`. */ export const tools: readonly Tool[] = [ { - name: "zones_origin_h2_max_streams_edit", + name: "zones_originH2MaxStreams_edit", title: "Change Origin H2 Max Streams Setting", description: "Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.", inputSchema: { @@ -39,29 +39,37 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_origin_h2_max_streams_value": cache_settings_origin_h2_max_streams_value, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value$, }, }, outputSchema: { "$ref": "#/$defs/cache-settings_origin_h2_max_streams_response_value", $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_h2_max_streams": cache_settings_origin_h2_max_streams_output, - "cache-settings_origin_h2_max_streams_response_value": cache_settings_origin_h2_max_streams_response_value_output, - "cache-settings_origin_h2_max_streams_value": cache_settings_origin_h2_max_streams_value_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_h2_max_streams": cache$$settings_origin_h2_max_streams, + "cache-settings_origin_h2_max_streams_response_value": cache$$settings_origin_h2_max_streams_response_value, + "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value, }, }, annotations: { @@ -100,13 +108,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_h2_max_streams": cache_settings_origin_h2_max_streams_output, - "cache-settings_origin_h2_max_streams_response_value": cache_settings_origin_h2_max_streams_response_value_output, - "cache-settings_origin_h2_max_streams_value": cache_settings_origin_h2_max_streams_value_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_h2_max_streams": cache$$settings_origin_h2_max_streams, + "cache-settings_origin_h2_max_streams_response_value": cache$$settings_origin_h2_max_streams_response_value, + "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value, }, }, request: (args) => ({ @@ -115,33 +123,41 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_origin_h2_max_streams_get", + name: "zones_originH2MaxStreams_get", title: "Get Origin H2 Max Streams Setting", description: "Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { "$ref": "#/$defs/cache-settings_origin_h2_max_streams_response_value", $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_h2_max_streams": cache_settings_origin_h2_max_streams_output, - "cache-settings_origin_h2_max_streams_response_value": cache_settings_origin_h2_max_streams_response_value_output, - "cache-settings_origin_h2_max_streams_value": cache_settings_origin_h2_max_streams_value_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_h2_max_streams": cache$$settings_origin_h2_max_streams, + "cache-settings_origin_h2_max_streams_response_value": cache$$settings_origin_h2_max_streams_response_value, + "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value, }, }, annotations: { @@ -182,13 +198,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_origin_h2_max_streams": cache_settings_origin_h2_max_streams_output, - "cache-settings_origin_h2_max_streams_response_value": cache_settings_origin_h2_max_streams_response_value_output, - "cache-settings_origin_h2_max_streams_value": cache_settings_origin_h2_max_streams_value_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_origin_h2_max_streams": cache$$settings_origin_h2_max_streams, + "cache-settings_origin_h2_max_streams_response_value": cache$$settings_origin_h2_max_streams_response_value, + "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts b/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts index 9a2f4bc94..328c96ec2 100644 --- a/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts +++ b/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_origin_max_http_version` in responses. */ -export const cache_settings_origin_max_http_version_output: JsonSchema = { +export const cache$$settings_origin_max_http_version: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -32,7 +32,7 @@ export const cache_settings_origin_max_http_version_output: JsonSchema = { * The schema of `cache-settings_origin_max_http_version_response_value` in * responses. */ -export const cache_settings_origin_max_http_version_response_value_output: JsonSchema = { +export const cache$$settings_origin_max_http_version_response_value: JsonSchema = { "properties": { "result": { "$ref": "#/$defs/cache-settings_origin_max_http_version" @@ -44,7 +44,7 @@ export const cache_settings_origin_max_http_version_response_value_output: JsonS /** * The schema of `cache-settings_origin_max_http_version_value` in responses. */ -export const cache_settings_origin_max_http_version_value_output: JsonSchema = { +export const cache$$settings_origin_max_http_version_value: JsonSchema = { "enum": [ "2", "1" diff --git a/src/generated/forge-mcp/zones/originMaxHttpVersion/schemas.ts b/src/generated/forge-mcp/zones/originMaxHttpVersion/schemas.ts index b63510e9e..7d8c2ce47 100644 --- a/src/generated/forge-mcp/zones/originMaxHttpVersion/schemas.ts +++ b/src/generated/forge-mcp/zones/originMaxHttpVersion/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_origin_max_http_version_value`. */ -export const cache_settings_origin_max_http_version_value: JsonSchema = { +export const cache$$settings_origin_max_http_version_value: JsonSchema = { "description": "Value of the Origin Max HTTP Version Setting.", "enum": [ "2", diff --git a/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts b/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts index 8c09abefe..c8dece1da 100644 --- a/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts +++ b/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts @@ -3,31 +3,31 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_base_output, - cache_settings_editable_output, - cache_settings_messages_output, - cache_settings_modified_on_output, - cache_settings_result_object_output, - cache_settings_setting_id_output, - cache_settings_setting_value_output, - cache_settings_zone_cache_settings_response_single_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_base, + cache$$settings_editable, + cache$$settings_messages, + cache$$settings_modified_on, + cache$$settings_result$$object, + cache$$settings_setting_id, + cache$$settings_setting_value, + cache$$settings_zone_cache_settings_response_single, } from "../../outputs.js"; -import { cache_settings_identifier } from "../../schemas.js"; +import { cache$$settings_identifier } from "../../schemas.js"; import { - cache_settings_origin_max_http_version_output, - cache_settings_origin_max_http_version_response_value_output, - cache_settings_origin_max_http_version_value_output, + cache$$settings_origin_max_http_version, + cache$$settings_origin_max_http_version_response_value, + cache$$settings_origin_max_http_version_value, } from "./outputs.js"; -import { cache_settings_origin_max_http_version_value } from "./schemas.js"; +import { cache$$settings_origin_max_http_version_value as cache$$settings_origin_max_http_version_value$ } from "./schemas.js"; /** - * The tools of `zones.origin_max_http_version`. + * The tools of `zones.originMaxHttpVersion`. */ export const tools: readonly Tool[] = [ { - name: "zones_origin_max_http_version_edit", + name: "zones_originMaxHttpVersion_edit", title: "Change Origin Max HTTP Version Setting", description: "Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is \"2\" for all plan types except Enterprise where it is \"1\".", inputSchema: { @@ -45,18 +45,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_origin_max_http_version_value": cache_settings_origin_max_http_version_value, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value$, }, }, outputSchema: { @@ -69,18 +77,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_max_http_version": cache_settings_origin_max_http_version_output, - "cache-settings_origin_max_http_version_response_value": cache_settings_origin_max_http_version_response_value_output, - "cache-settings_origin_max_http_version_value": cache_settings_origin_max_http_version_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_max_http_version": cache$$settings_origin_max_http_version, + "cache-settings_origin_max_http_version_response_value": cache$$settings_origin_max_http_version_response_value, + "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -126,19 +134,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_max_http_version": cache_settings_origin_max_http_version_output, - "cache-settings_origin_max_http_version_response_value": cache_settings_origin_max_http_version_response_value_output, - "cache-settings_origin_max_http_version_value": cache_settings_origin_max_http_version_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_max_http_version": cache$$settings_origin_max_http_version, + "cache-settings_origin_max_http_version_response_value": cache$$settings_origin_max_http_version_response_value, + "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -147,22 +155,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_origin_max_http_version_get", + name: "zones_originMaxHttpVersion_get", title: "Get Origin Max HTTP Version Setting", description: "Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is \"2\" for all plan types except Enterprise where it is \"1\".", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -175,18 +191,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_max_http_version": cache_settings_origin_max_http_version_output, - "cache-settings_origin_max_http_version_response_value": cache_settings_origin_max_http_version_response_value_output, - "cache-settings_origin_max_http_version_value": cache_settings_origin_max_http_version_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_max_http_version": cache$$settings_origin_max_http_version, + "cache-settings_origin_max_http_version_response_value": cache$$settings_origin_max_http_version_response_value, + "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -234,19 +250,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_max_http_version": cache_settings_origin_max_http_version_output, - "cache-settings_origin_max_http_version_response_value": cache_settings_origin_max_http_version_response_value_output, - "cache-settings_origin_max_http_version_value": cache_settings_origin_max_http_version_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_max_http_version": cache$$settings_origin_max_http_version, + "cache-settings_origin_max_http_version_response_value": cache$$settings_origin_max_http_version_response_value, + "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/originTlsComplianceModes/outputs.ts b/src/generated/forge-mcp/zones/originTlsComplianceModes/outputs.ts index e97174d1d..a892d3340 100644 --- a/src/generated/forge-mcp/zones/originTlsComplianceModes/outputs.ts +++ b/src/generated/forge-mcp/zones/originTlsComplianceModes/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_origin_tls_compliance_modes` in responses. */ -export const cache_settings_origin_tls_compliance_modes_output: JsonSchema = { +export const cache$$settings_origin_tls_compliance_modes: JsonSchema = { "allOf": [ { "$ref": "#/$defs/cache-settings_base" @@ -29,7 +29,7 @@ export const cache_settings_origin_tls_compliance_modes_output: JsonSchema = { * The schema of `cache-settings_origin_tls_compliance_modes_response_value` in * responses. */ -export const cache_settings_origin_tls_compliance_modes_response_value_output: JsonSchema = { +export const cache$$settings_origin_tls_compliance_modes_response_value: JsonSchema = { "properties": { "result": { "allOf": [ @@ -57,7 +57,7 @@ export const cache_settings_origin_tls_compliance_modes_response_value_output: J * The schema of `cache-settings_origin_tls_compliance_modes_value` in * responses. */ -export const cache_settings_origin_tls_compliance_modes_value_output: JsonSchema = { +export const cache$$settings_origin_tls_compliance_modes_value: JsonSchema = { "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/zones/originTlsComplianceModes/schemas.ts b/src/generated/forge-mcp/zones/originTlsComplianceModes/schemas.ts index 79481cbd8..71dbd45cc 100644 --- a/src/generated/forge-mcp/zones/originTlsComplianceModes/schemas.ts +++ b/src/generated/forge-mcp/zones/originTlsComplianceModes/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `cache-settings_origin_tls_compliance_modes_value`. */ -export const cache_settings_origin_tls_compliance_modes_value: JsonSchema = { +export const cache$$settings_origin_tls_compliance_modes_value: JsonSchema = { "description": "List of TLS compliance modes that constrain the key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. Currently supported values are `fips` (FIPS-approved curves) and `pqh` (post-quantum hybrid). Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Multiple modes are combined as the intersection of their permitted algorithm lists; selections whose intersection is empty are rejected. An empty list clears the constraint.", "items": { "type": "string" diff --git a/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts b/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts index 006ecdb89..f5efeb2d5 100644 --- a/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts +++ b/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts @@ -3,48 +3,56 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cache_settings_api_response_common_failure_output, - cache_settings_api_response_common_output, - cache_settings_base_output, - cache_settings_editable_output, - cache_settings_messages_output, - cache_settings_modified_on_output, - cache_settings_result_object_delete_output, - cache_settings_result_object_output, - cache_settings_setting_id_output, - cache_settings_setting_value_output, - cache_settings_zone_cache_settings_delete_response_single_output, - cache_settings_zone_cache_settings_response_single_output, + cache$$settings_api$$response$$common, + cache$$settings_api$$response$$common$$failure, + cache$$settings_base, + cache$$settings_editable, + cache$$settings_messages, + cache$$settings_modified_on, + cache$$settings_result$$object, + cache$$settings_result$$object$$delete, + cache$$settings_setting_id, + cache$$settings_setting_value, + cache$$settings_zone_cache_settings_delete_response_single, + cache$$settings_zone_cache_settings_response_single, } from "../../outputs.js"; -import { cache_settings_identifier } from "../../schemas.js"; +import { cache$$settings_identifier } from "../../schemas.js"; import { - cache_settings_origin_tls_compliance_modes_output, - cache_settings_origin_tls_compliance_modes_response_value_output, - cache_settings_origin_tls_compliance_modes_value_output, + cache$$settings_origin_tls_compliance_modes, + cache$$settings_origin_tls_compliance_modes_response_value, + cache$$settings_origin_tls_compliance_modes_value, } from "./outputs.js"; -import { cache_settings_origin_tls_compliance_modes_value } from "./schemas.js"; +import { cache$$settings_origin_tls_compliance_modes_value as cache$$settings_origin_tls_compliance_modes_value$ } from "./schemas.js"; /** - * The tools of `zones.origin_tls_compliance_modes`. + * The tools of `zones.originTlsComplianceModes`. */ export const tools: readonly Tool[] = [ { - name: "zones_origin_tls_compliance_modes_delete", + name: "zones_originTlsComplianceModes_delete", title: "Delete Origin TLS Compliance Modes setting", description: "Delete the Origin TLS Compliance Modes setting for the zone, removing any configured compliance constraint. After deletion, Cloudflare's default behavior applies (no compliance filtering of the key-exchange algorithm list sent to the origin).", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -62,15 +70,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, - "cache-settings_result-object-delete": cache_settings_result_object_delete_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_zone_cache_settings_delete_response_single": cache_settings_zone_cache_settings_delete_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, + "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, annotations: { @@ -112,16 +120,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, - "cache-settings_result-object-delete": cache_settings_result_object_delete_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_zone_cache_settings_delete_response_single": cache_settings_zone_cache_settings_delete_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, + "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, request: (args) => ({ @@ -129,7 +137,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_origin_tls_compliance_modes_edit", + name: "zones_originTlsComplianceModes_edit", title: "Change Origin TLS Compliance Modes setting", description: "Update the set of TLS compliance modes for the zone. PATCH performs a full replace of the modes list, not a merge — the request body is treated as the complete new list, and any modes not present in it are removed. (To remove a single mode from an existing configuration, send the updated list without it.) The request body must be of the form `{\"value\": [\"fips\", \"pqh\"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.", inputSchema: { @@ -147,18 +155,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value$, }, }, outputSchema: { @@ -171,18 +187,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, - "cache-settings_origin_tls_compliance_modes_response_value": cache_settings_origin_tls_compliance_modes_response_value_output, - "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, + "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, + "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -219,19 +235,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, - "cache-settings_origin_tls_compliance_modes_response_value": cache_settings_origin_tls_compliance_modes_response_value_output, - "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, + "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, + "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -240,22 +256,30 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_origin_tls_compliance_modes_get", + name: "zones_originTlsComplianceModes_get", title: "Get Origin TLS Compliance Modes setting", description: "Origin TLS Compliance Modes constrains the set of TLS key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. The value is a list of named compliance modes (currently `fips` and `pqh`). Multiple modes are combined as the intersection of their permitted algorithm lists. An empty list (or no rule configured) means no compliance constraint is applied.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, + "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -268,18 +292,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, - "cache-settings_origin_tls_compliance_modes_response_value": cache_settings_origin_tls_compliance_modes_response_value_output, - "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, + "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, + "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -316,19 +340,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, - "cache-settings_origin_tls_compliance_modes_response_value": cache_settings_origin_tls_compliance_modes_response_value_output, - "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, + "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, + "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ @@ -336,7 +360,7 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_origin_tls_compliance_modes_update", + name: "zones_originTlsComplianceModes_update", title: "Replace Origin TLS Compliance Modes setting", description: "Replace the entire set of TLS compliance modes for the zone with the list provided in the request body. PUT performs a full replace, not a merge — any modes not present in the request body are removed. The request body must be of the form `{\"value\": [\"fips\", \"pqh\"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.", inputSchema: { @@ -354,18 +378,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/cache-settings_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "cache-settings_identifier": cache_settings_identifier, - "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value, + "cache-settings_identifier": cache$$settings_identifier, + "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value$, }, }, outputSchema: { @@ -378,18 +410,18 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, - "cache-settings_origin_tls_compliance_modes_response_value": cache_settings_origin_tls_compliance_modes_response_value_output, - "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, + "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, + "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, annotations: { @@ -426,19 +458,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cache-settings_api-response-common": cache_settings_api_response_common_output, - "cache-settings_api-response-common-failure": cache_settings_api_response_common_failure_output, - "cache-settings_base": cache_settings_base_output, - "cache-settings_editable": cache_settings_editable_output, - "cache-settings_messages": cache_settings_messages_output, - "cache-settings_modified_on": cache_settings_modified_on_output, - "cache-settings_origin_tls_compliance_modes": cache_settings_origin_tls_compliance_modes_output, - "cache-settings_origin_tls_compliance_modes_response_value": cache_settings_origin_tls_compliance_modes_response_value_output, - "cache-settings_origin_tls_compliance_modes_value": cache_settings_origin_tls_compliance_modes_value_output, - "cache-settings_result-object": cache_settings_result_object_output, - "cache-settings_setting_id": cache_settings_setting_id_output, - "cache-settings_setting_value": cache_settings_setting_value_output, - "cache-settings_zone_cache_settings_response_single": cache_settings_zone_cache_settings_response_single_output, + "cache-settings_api-response-common": cache$$settings_api$$response$$common, + "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, + "cache-settings_base": cache$$settings_base, + "cache-settings_editable": cache$$settings_editable, + "cache-settings_messages": cache$$settings_messages, + "cache-settings_modified_on": cache$$settings_modified_on, + "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, + "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, + "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, + "cache-settings_result-object": cache$$settings_result$$object, + "cache-settings_setting_id": cache$$settings_setting_id, + "cache-settings_setting_value": cache$$settings_setting_value, + "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/outputs.ts b/src/generated/forge-mcp/zones/outputs.ts index 128059c16..3fbbc22a0 100644 --- a/src/generated/forge-mcp/zones/outputs.ts +++ b/src/generated/forge-mcp/zones/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../_/tool.js"; /** * The schema of `bill-subs-api_schemas-frequency` in responses. */ -export const bill_subs_api_schemas_frequency_output: JsonSchema = { +export const bill$$subs$$api_schemas$$frequency: JsonSchema = { "enum": [ "weekly", "monthly", @@ -19,14 +19,14 @@ export const bill_subs_api_schemas_frequency_output: JsonSchema = { /** * The schema of `bill-subs-api_schemas-name` in responses. */ -export const bill_subs_api_schemas_name_output: JsonSchema = { +export const bill$$subs$$api_schemas$$name: JsonSchema = { "type": "string" }; /** * The schema of `zones_api-response-common` in responses. */ -export const zones_api_response_common_output: JsonSchema = { +export const zones_api$$response$$common: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zones_messages" @@ -49,7 +49,7 @@ export const zones_api_response_common_output: JsonSchema = { /** * The schema of `zones_api-response-common-failure` in responses. */ -export const zones_api_response_common_failure_output: JsonSchema = { +export const zones_api$$response$$common$$failure: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zones_messages" @@ -83,7 +83,7 @@ export const zones_api_response_common_failure_output: JsonSchema = { /** * The schema of `zones_api-response-single-id` in responses. */ -export const zones_api_response_single_id_output: JsonSchema = { +export const zones_api$$response$$single$$id: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_api-response-common" @@ -117,14 +117,14 @@ export const zones_api_response_single_id_output: JsonSchema = { /** * The schema of `zones_identifier` in responses. */ -export const zones_identifier_output: JsonSchema = { +export const zones_identifier: JsonSchema = { "type": "string" }; /** * The schema of `zones_messages` in responses. */ -export const zones_messages_output: JsonSchema = { +export const zones_messages: JsonSchema = { "items": { "properties": { "code": { @@ -146,14 +146,14 @@ export const zones_messages_output: JsonSchema = { /** * The schema of `zones_paused` in responses. */ -export const zones_paused_output: JsonSchema = { +export const zones_paused: JsonSchema = { "type": "boolean" }; /** * The schema of `zones_result_info` in responses. */ -export const zones_result_info_output: JsonSchema = { +export const zones_result_info: JsonSchema = { "properties": { "count": { "type": "number" @@ -177,7 +177,7 @@ export const zones_result_info_output: JsonSchema = { /** * The schema of `zones_type` in responses. */ -export const zones_type_output: JsonSchema = { +export const zones_type: JsonSchema = { "enum": [ "full", "partial", @@ -190,7 +190,7 @@ export const zones_type_output: JsonSchema = { /** * The schema of `zones_zone` in responses. */ -export const zones_zone_output: JsonSchema = { +export const zones_zone: JsonSchema = { "properties": { "account": { "properties": { diff --git a/src/generated/forge-mcp/zones/plans/outputs.ts b/src/generated/forge-mcp/zones/plans/outputs.ts index 9c386df91..ccc34d008 100644 --- a/src/generated/forge-mcp/zones/plans/outputs.ts +++ b/src/generated/forge-mcp/zones/plans/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bill-subs-api_available-rate-plan` in responses. */ -export const bill_subs_api_available_rate_plan_output: JsonSchema = { +export const bill$$subs$$api_available$$rate$$plan: JsonSchema = { "properties": { "can_subscribe": { "$ref": "#/$defs/bill-subs-api_can_subscribe" @@ -42,34 +42,34 @@ export const bill_subs_api_available_rate_plan_output: JsonSchema = { /** * The schema of `bill-subs-api_can_subscribe` in responses. */ -export const bill_subs_api_can_subscribe_output: JsonSchema = { +export const bill$$subs$$api_can_subscribe: JsonSchema = { "type": "boolean" }; /** * The schema of `bill-subs-api_externally_managed` in responses. */ -export const bill_subs_api_externally_managed_output: JsonSchema = { +export const bill$$subs$$api_externally_managed: JsonSchema = { "type": "boolean" }; /** * The schema of `bill-subs-api_is_subscribed` in responses. */ -export const bill_subs_api_is_subscribed_output: JsonSchema = { +export const bill$$subs$$api_is_subscribed: JsonSchema = { "type": "boolean" }; /** * The schema of `bill-subs-api_legacy_id` in responses. */ -export const bill_subs_api_legacy_id_output: JsonSchema = { +export const bill$$subs$$api_legacy_id: JsonSchema = { "type": "string" }; /** * The schema of `bill-subs-api_schemas-price` in responses. */ -export const bill_subs_api_schemas_price_output: JsonSchema = { +export const bill$$subs$$api_schemas$$price: JsonSchema = { "type": "number" }; diff --git a/src/generated/forge-mcp/zones/plans/tools.ts b/src/generated/forge-mcp/zones/plans/tools.ts index 54a1d7fc7..d636e6052 100644 --- a/src/generated/forge-mcp/zones/plans/tools.ts +++ b/src/generated/forge-mcp/zones/plans/tools.ts @@ -3,27 +3,27 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - bill_subs_api_api_response_collection_output, - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_api_response_single_output, - bill_subs_api_currency_output, - bill_subs_api_identifier_output, - bill_subs_api_messages_output, - bill_subs_api_result_info_output, + bill$$subs$$api_api$$response$$collection, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_api$$response$$single, + bill$$subs$$api_currency, + bill$$subs$$api_identifier, + bill$$subs$$api_messages, + bill$$subs$$api_result_info, } from "../../outputs.js"; -import { bill_subs_api_identifier } from "../../schemas.js"; +import { bill$$subs$$api_identifier as bill$$subs$$api_identifier$ } from "../../schemas.js"; import { - bill_subs_api_schemas_frequency_output, - bill_subs_api_schemas_name_output, + bill$$subs$$api_schemas$$frequency, + bill$$subs$$api_schemas$$name, } from "../outputs.js"; import { - bill_subs_api_available_rate_plan_output, - bill_subs_api_can_subscribe_output, - bill_subs_api_externally_managed_output, - bill_subs_api_is_subscribed_output, - bill_subs_api_legacy_id_output, - bill_subs_api_schemas_price_output, + bill$$subs$$api_available$$rate$$plan, + bill$$subs$$api_can_subscribe, + bill$$subs$$api_externally_managed, + bill$$subs$$api_is_subscribed, + bill$$subs$$api_legacy_id, + bill$$subs$$api_schemas$$price, } from "./outputs.js"; /** @@ -37,21 +37,29 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "plan_identifier": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" - }, - "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "plan_identifier": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + }, + "zone_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "plan_identifier" + ], + "type": "object" } }, required: [ - "zone_id", - "plan_identifier" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, }, }, outputSchema: { @@ -69,19 +77,19 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_available-rate-plan": bill_subs_api_available_rate_plan_output, - "bill-subs-api_can_subscribe": bill_subs_api_can_subscribe_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_externally_managed": bill_subs_api_externally_managed_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_is_subscribed": bill_subs_api_is_subscribed_output, - "bill-subs-api_legacy_id": bill_subs_api_legacy_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_schemas-frequency": bill_subs_api_schemas_frequency_output, - "bill-subs-api_schemas-name": bill_subs_api_schemas_name_output, - "bill-subs-api_schemas-price": bill_subs_api_schemas_price_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_available-rate-plan": bill$$subs$$api_available$$rate$$plan, + "bill-subs-api_can_subscribe": bill$$subs$$api_can_subscribe, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_externally_managed": bill$$subs$$api_externally_managed, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_is_subscribed": bill$$subs$$api_is_subscribed, + "bill-subs-api_legacy_id": bill$$subs$$api_legacy_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, + "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, + "bill-subs-api_schemas-price": bill$$subs$$api_schemas$$price, }, }, annotations: { @@ -132,20 +140,20 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_available-rate-plan": bill_subs_api_available_rate_plan_output, - "bill-subs-api_can_subscribe": bill_subs_api_can_subscribe_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_externally_managed": bill_subs_api_externally_managed_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_is_subscribed": bill_subs_api_is_subscribed_output, - "bill-subs-api_legacy_id": bill_subs_api_legacy_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_schemas-frequency": bill_subs_api_schemas_frequency_output, - "bill-subs-api_schemas-name": bill_subs_api_schemas_name_output, - "bill-subs-api_schemas-price": bill_subs_api_schemas_price_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_available-rate-plan": bill$$subs$$api_available$$rate$$plan, + "bill-subs-api_can_subscribe": bill$$subs$$api_can_subscribe, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_externally_managed": bill$$subs$$api_externally_managed, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_is_subscribed": bill$$subs$$api_is_subscribed, + "bill-subs-api_legacy_id": bill$$subs$$api_legacy_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, + "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, + "bill-subs-api_schemas-price": bill$$subs$$api_schemas$$price, }, }, request: (args) => ({ @@ -159,16 +167,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, }, }, outputSchema: { @@ -189,20 +205,20 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_available-rate-plan": bill_subs_api_available_rate_plan_output, - "bill-subs-api_can_subscribe": bill_subs_api_can_subscribe_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_externally_managed": bill_subs_api_externally_managed_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_is_subscribed": bill_subs_api_is_subscribed_output, - "bill-subs-api_legacy_id": bill_subs_api_legacy_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, - "bill-subs-api_schemas-frequency": bill_subs_api_schemas_frequency_output, - "bill-subs-api_schemas-name": bill_subs_api_schemas_name_output, - "bill-subs-api_schemas-price": bill_subs_api_schemas_price_output, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_available-rate-plan": bill$$subs$$api_available$$rate$$plan, + "bill-subs-api_can_subscribe": bill$$subs$$api_can_subscribe, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_externally_managed": bill$$subs$$api_externally_managed, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_is_subscribed": bill$$subs$$api_is_subscribed, + "bill-subs-api_legacy_id": bill$$subs$$api_legacy_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_result_info": bill$$subs$$api_result_info, + "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, + "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, + "bill-subs-api_schemas-price": bill$$subs$$api_schemas$$price, }, }, annotations: { @@ -256,21 +272,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, - "bill-subs-api_available-rate-plan": bill_subs_api_available_rate_plan_output, - "bill-subs-api_can_subscribe": bill_subs_api_can_subscribe_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_externally_managed": bill_subs_api_externally_managed_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_is_subscribed": bill_subs_api_is_subscribed_output, - "bill-subs-api_legacy_id": bill_subs_api_legacy_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, - "bill-subs-api_schemas-frequency": bill_subs_api_schemas_frequency_output, - "bill-subs-api_schemas-name": bill_subs_api_schemas_name_output, - "bill-subs-api_schemas-price": bill_subs_api_schemas_price_output, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_available-rate-plan": bill$$subs$$api_available$$rate$$plan, + "bill-subs-api_can_subscribe": bill$$subs$$api_can_subscribe, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_externally_managed": bill$$subs$$api_externally_managed, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_is_subscribed": bill$$subs$$api_is_subscribed, + "bill-subs-api_legacy_id": bill$$subs$$api_legacy_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_result_info": bill$$subs$$api_result_info, + "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, + "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, + "bill-subs-api_schemas-price": bill$$subs$$api_schemas$$price, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/ratePlans/outputs.ts b/src/generated/forge-mcp/zones/ratePlans/outputs.ts index e3c69214d..ec77acabd 100644 --- a/src/generated/forge-mcp/zones/ratePlans/outputs.ts +++ b/src/generated/forge-mcp/zones/ratePlans/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bill-subs-api_components-schemas-name` in responses. */ -export const bill_subs_api_components_schemas_name_output: JsonSchema = { +export const bill$$subs$$api_components$$schemas$$name: JsonSchema = { "enum": [ "zones", "page_rules", @@ -19,21 +19,21 @@ export const bill_subs_api_components_schemas_name_output: JsonSchema = { /** * The schema of `bill-subs-api_default` in responses. */ -export const bill_subs_api_default_output: JsonSchema = { +export const bill$$subs$$api_default: JsonSchema = { "type": "number" }; /** * The schema of `bill-subs-api_duration` in responses. */ -export const bill_subs_api_duration_output: JsonSchema = { +export const bill$$subs$$api_duration: JsonSchema = { "type": "number" }; /** * The schema of `bill-subs-api_plan_component_value` in responses. */ -export const bill_subs_api_plan_component_value_output: JsonSchema = { +export const bill$$subs$$api_plan_component_value: JsonSchema = { "properties": { "default": { "$ref": "#/$defs/bill-subs-api_default" @@ -51,7 +51,7 @@ export const bill_subs_api_plan_component_value_output: JsonSchema = { /** * The schema of `bill-subs-api_plan_response_collection` in responses. */ -export const bill_subs_api_plan_response_collection_output: JsonSchema = { +export const bill$$subs$$api_plan_response_collection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-collection" @@ -74,14 +74,14 @@ export const bill_subs_api_plan_response_collection_output: JsonSchema = { * The schema of `bill-subs-api_rate-plan_components-schemas-identifier` in * responses. */ -export const bill_subs_api_rate_plan_components_schemas_identifier_output: JsonSchema = { +export const bill$$subs$$api_rate$$plan_components$$schemas$$identifier: JsonSchema = { "type": "string" }; /** * The schema of `bill-subs-api_schemas-component_values` in responses. */ -export const bill_subs_api_schemas_component_values_output: JsonSchema = { +export const bill$$subs$$api_schemas$$component_values: JsonSchema = { "items": { "$ref": "#/$defs/bill-subs-api_plan_component_value" }, @@ -91,7 +91,7 @@ export const bill_subs_api_schemas_component_values_output: JsonSchema = { /** * The schema of `bill-subs-api_schemas-rate-plan` in responses. */ -export const bill_subs_api_schemas_rate_plan_output: JsonSchema = { +export const bill$$subs$$api_schemas$$rate$$plan: JsonSchema = { "properties": { "components": { "$ref": "#/$defs/bill-subs-api_schemas-component_values" @@ -118,6 +118,6 @@ export const bill_subs_api_schemas_rate_plan_output: JsonSchema = { /** * The schema of `bill-subs-api_unit_price` in responses. */ -export const bill_subs_api_unit_price_output: JsonSchema = { +export const bill$$subs$$api_unit_price: JsonSchema = { "type": "number" }; diff --git a/src/generated/forge-mcp/zones/ratePlans/tools.ts b/src/generated/forge-mcp/zones/ratePlans/tools.ts index 2d64281ca..165c6ee10 100644 --- a/src/generated/forge-mcp/zones/ratePlans/tools.ts +++ b/src/generated/forge-mcp/zones/ratePlans/tools.ts @@ -3,72 +3,80 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - bill_subs_api_api_response_collection_output, - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_currency_output, - bill_subs_api_messages_output, - bill_subs_api_result_info_output, + bill$$subs$$api_api$$response$$collection, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_currency, + bill$$subs$$api_messages, + bill$$subs$$api_result_info, } from "../../outputs.js"; -import { bill_subs_api_identifier } from "../../schemas.js"; +import { bill$$subs$$api_identifier } from "../../schemas.js"; import { - bill_subs_api_schemas_frequency_output, - bill_subs_api_schemas_name_output, + bill$$subs$$api_schemas$$frequency, + bill$$subs$$api_schemas$$name, } from "../outputs.js"; import { - bill_subs_api_components_schemas_name_output, - bill_subs_api_default_output, - bill_subs_api_duration_output, - bill_subs_api_plan_component_value_output, - bill_subs_api_plan_response_collection_output, - bill_subs_api_rate_plan_components_schemas_identifier_output, - bill_subs_api_schemas_component_values_output, - bill_subs_api_schemas_rate_plan_output, - bill_subs_api_unit_price_output, + bill$$subs$$api_components$$schemas$$name, + bill$$subs$$api_default, + bill$$subs$$api_duration, + bill$$subs$$api_plan_component_value, + bill$$subs$$api_plan_response_collection, + bill$$subs$$api_rate$$plan_components$$schemas$$identifier, + bill$$subs$$api_schemas$$component_values, + bill$$subs$$api_schemas$$rate$$plan, + bill$$subs$$api_unit_price, } from "./outputs.js"; /** - * The tools of `zones.rate_plans`. + * The tools of `zones.ratePlans`. */ export const tools: readonly Tool[] = [ { - name: "zones_rate_plans_get", + name: "zones_ratePlans_get", title: "List Available Rate Plans", description: "Lists all rate plans the zone can subscribe to.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_plan_response_collection", $defs: { - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_components-schemas-name": bill_subs_api_components_schemas_name_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_default": bill_subs_api_default_output, - "bill-subs-api_duration": bill_subs_api_duration_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_plan_component_value": bill_subs_api_plan_component_value_output, - "bill-subs-api_plan_response_collection": bill_subs_api_plan_response_collection_output, - "bill-subs-api_rate-plan_components-schemas-identifier": bill_subs_api_rate_plan_components_schemas_identifier_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, - "bill-subs-api_schemas-component_values": bill_subs_api_schemas_component_values_output, - "bill-subs-api_schemas-frequency": bill_subs_api_schemas_frequency_output, - "bill-subs-api_schemas-name": bill_subs_api_schemas_name_output, - "bill-subs-api_schemas-rate-plan": bill_subs_api_schemas_rate_plan_output, - "bill-subs-api_unit_price": bill_subs_api_unit_price_output, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_components-schemas-name": bill$$subs$$api_components$$schemas$$name, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_default": bill$$subs$$api_default, + "bill-subs-api_duration": bill$$subs$$api_duration, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_plan_component_value": bill$$subs$$api_plan_component_value, + "bill-subs-api_plan_response_collection": bill$$subs$$api_plan_response_collection, + "bill-subs-api_rate-plan_components-schemas-identifier": bill$$subs$$api_rate$$plan_components$$schemas$$identifier, + "bill-subs-api_result_info": bill$$subs$$api_result_info, + "bill-subs-api_schemas-component_values": bill$$subs$$api_schemas$$component_values, + "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, + "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, + "bill-subs-api_schemas-rate-plan": bill$$subs$$api_schemas$$rate$$plan, + "bill-subs-api_unit_price": bill$$subs$$api_unit_price, }, }, annotations: { @@ -107,23 +115,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-collection": bill_subs_api_api_response_collection_output, - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-common-failure": bill_subs_api_api_response_common_failure_output, - "bill-subs-api_components-schemas-name": bill_subs_api_components_schemas_name_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_default": bill_subs_api_default_output, - "bill-subs-api_duration": bill_subs_api_duration_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_plan_component_value": bill_subs_api_plan_component_value_output, - "bill-subs-api_plan_response_collection": bill_subs_api_plan_response_collection_output, - "bill-subs-api_rate-plan_components-schemas-identifier": bill_subs_api_rate_plan_components_schemas_identifier_output, - "bill-subs-api_result_info": bill_subs_api_result_info_output, - "bill-subs-api_schemas-component_values": bill_subs_api_schemas_component_values_output, - "bill-subs-api_schemas-frequency": bill_subs_api_schemas_frequency_output, - "bill-subs-api_schemas-name": bill_subs_api_schemas_name_output, - "bill-subs-api_schemas-rate-plan": bill_subs_api_schemas_rate_plan_output, - "bill-subs-api_unit_price": bill_subs_api_unit_price_output, + "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_components-schemas-name": bill$$subs$$api_components$$schemas$$name, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_default": bill$$subs$$api_default, + "bill-subs-api_duration": bill$$subs$$api_duration, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_plan_component_value": bill$$subs$$api_plan_component_value, + "bill-subs-api_plan_response_collection": bill$$subs$$api_plan_response_collection, + "bill-subs-api_rate-plan_components-schemas-identifier": bill$$subs$$api_rate$$plan_components$$schemas$$identifier, + "bill-subs-api_result_info": bill$$subs$$api_result_info, + "bill-subs-api_schemas-component_values": bill$$subs$$api_schemas$$component_values, + "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, + "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, + "bill-subs-api_schemas-rate-plan": bill$$subs$$api_schemas$$rate$$plan, + "bill-subs-api_unit_price": bill$$subs$$api_unit_price, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/rum/outputs.ts b/src/generated/forge-mcp/zones/rum/outputs.ts index a6b8c9b2a..908290578 100644 --- a/src/generated/forge-mcp/zones/rum/outputs.ts +++ b/src/generated/forge-mcp/zones/rum/outputs.ts @@ -6,21 +6,21 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `rum_editable` in responses. */ -export const rum_editable_output: JsonSchema = { +export const rum_editable: JsonSchema = { "type": "boolean" }; /** * The schema of `rum_id` in responses. */ -export const rum_id_output: JsonSchema = { +export const rum_id: JsonSchema = { "type": "string" }; /** * The schema of `rum_rum-site-response-single` in responses. */ -export const rum_rum_site_response_single_output: JsonSchema = { +export const rum_rum$$site$$response$$single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/rum_api-response-common" @@ -39,7 +39,7 @@ export const rum_rum_site_response_single_output: JsonSchema = { /** * The schema of `rum_rum_site` in responses. */ -export const rum_rum_site_output: JsonSchema = { +export const rum_rum_site: JsonSchema = { "properties": { "editable": { "$ref": "#/$defs/rum_editable" @@ -57,6 +57,6 @@ export const rum_rum_site_output: JsonSchema = { /** * The schema of `rum_value` in responses. */ -export const rum_value_output: JsonSchema = { +export const rum_value: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zones/rum/schemas.ts b/src/generated/forge-mcp/zones/rum/schemas.ts index 553948afb..6edb8b273 100644 --- a/src/generated/forge-mcp/zones/rum/schemas.ts +++ b/src/generated/forge-mcp/zones/rum/schemas.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `rum_toggle-rum-request`. */ -export const rum_toggle_rum_request: JsonSchema = { +export const rum_toggle$$rum$$request: JsonSchema = { "properties": { "value": { "description": "Value can either be On or Off.", diff --git a/src/generated/forge-mcp/zones/rum/tools.ts b/src/generated/forge-mcp/zones/rum/tools.ts index 3d52d9837..86e1d4942 100644 --- a/src/generated/forge-mcp/zones/rum/tools.ts +++ b/src/generated/forge-mcp/zones/rum/tools.ts @@ -3,20 +3,20 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - rum_api_response_common_failure_output, - rum_api_response_common_output, - rum_messages_2_output, - rum_messages_output, + rum_api$$response$$common, + rum_api$$response$$common$$failure, + rum_messages, + rum_messages$$2, } from "../../outputs.js"; import { rum_identifier } from "../../schemas.js"; import { - rum_editable_output, - rum_id_output, - rum_rum_site_output, - rum_rum_site_response_single_output, - rum_value_output, + rum_editable, + rum_id, + rum_rum$$site$$response$$single, + rum_rum_site, + rum_value, } from "./outputs.js"; -import { rum_toggle_rum_request } from "./schemas.js"; +import { rum_toggle$$rum$$request } from "./schemas.js"; /** * The tools of `zones.rum`. @@ -32,30 +32,38 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/rum_toggle-rum-request" }, - "zone_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "rum_identifier": rum_identifier, - "rum_toggle-rum-request": rum_toggle_rum_request, + "rum_toggle-rum-request": rum_toggle$$rum$$request, }, }, outputSchema: { "$ref": "#/$defs/rum_rum-site-response-single", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_editable": rum_editable_output, - "rum_id": rum_id_output, - "rum_messages": rum_messages_output, - "rum_rum-site-response-single": rum_rum_site_response_single_output, - "rum_rum_site": rum_rum_site_output, - "rum_value": rum_value_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_editable": rum_editable, + "rum_id": rum_id, + "rum_messages": rum_messages, + "rum_rum-site-response-single": rum_rum$$site$$response$$single, + "rum_rum_site": rum_rum_site, + "rum_value": rum_value, }, }, annotations: { @@ -88,15 +96,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_editable": rum_editable_output, - "rum_id": rum_id_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rum-site-response-single": rum_rum_site_response_single_output, - "rum_rum_site": rum_rum_site_output, - "rum_value": rum_value_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_editable": rum_editable, + "rum_id": rum_id, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rum-site-response-single": rum_rum$$site$$response$$single, + "rum_rum_site": rum_rum_site, + "rum_value": rum_value, }, }, request: (args) => ({ @@ -111,13 +119,21 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/rum_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "rum_identifier": rum_identifier, @@ -126,13 +142,13 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/rum_rum-site-response-single", $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_editable": rum_editable_output, - "rum_id": rum_id_output, - "rum_messages": rum_messages_output, - "rum_rum-site-response-single": rum_rum_site_response_single_output, - "rum_rum_site": rum_rum_site_output, - "rum_value": rum_value_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_editable": rum_editable, + "rum_id": rum_id, + "rum_messages": rum_messages, + "rum_rum-site-response-single": rum_rum$$site$$response$$single, + "rum_rum_site": rum_rum_site, + "rum_value": rum_value, }, }, annotations: { @@ -166,15 +182,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rum_api-response-common": rum_api_response_common_output, - "rum_api-response-common-failure": rum_api_response_common_failure_output, - "rum_editable": rum_editable_output, - "rum_id": rum_id_output, - "rum_messages": rum_messages_output, - "rum_messages-2": rum_messages_2_output, - "rum_rum-site-response-single": rum_rum_site_response_single_output, - "rum_rum_site": rum_rum_site_output, - "rum_value": rum_value_output, + "rum_api-response-common": rum_api$$response$$common, + "rum_api-response-common-failure": rum_api$$response$$common$$failure, + "rum_editable": rum_editable, + "rum_id": rum_id, + "rum_messages": rum_messages, + "rum_messages-2": rum_messages$$2, + "rum_rum-site-response-single": rum_rum$$site$$response$$single, + "rum_rum_site": rum_rum_site, + "rum_value": rum_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/settings/outputs.ts b/src/generated/forge-mcp/zones/settings/outputs.ts index 02c931a11..ac11addcc 100644 --- a/src/generated/forge-mcp/zones/settings/outputs.ts +++ b/src/generated/forge-mcp/zones/settings/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `zones_0rtt` in responses. */ -export const zones_0rtt_output: JsonSchema = { +export const zones_0rtt: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -31,7 +31,7 @@ export const zones_0rtt_output: JsonSchema = { /** * The schema of `zones_0rtt_value` in responses. */ -export const zones_0rtt_value_output: JsonSchema = { +export const zones_0rtt_value: JsonSchema = { "enum": [ "on", "off" @@ -42,7 +42,7 @@ export const zones_0rtt_value_output: JsonSchema = { /** * The schema of `zones_advanced_ddos` in responses. */ -export const zones_advanced_ddos_output: JsonSchema = { +export const zones_advanced_ddos: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -67,7 +67,7 @@ export const zones_advanced_ddos_output: JsonSchema = { /** * The schema of `zones_advanced_ddos_value` in responses. */ -export const zones_advanced_ddos_value_output: JsonSchema = { +export const zones_advanced_ddos_value: JsonSchema = { "enum": [ "on", "off" @@ -78,7 +78,7 @@ export const zones_advanced_ddos_value_output: JsonSchema = { /** * The schema of `zones_always_online` in responses. */ -export const zones_always_online_output: JsonSchema = { +export const zones_always_online: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -103,7 +103,7 @@ export const zones_always_online_output: JsonSchema = { /** * The schema of `zones_always_online_value` in responses. */ -export const zones_always_online_value_output: JsonSchema = { +export const zones_always_online_value: JsonSchema = { "enum": [ "on", "off" @@ -114,7 +114,7 @@ export const zones_always_online_value_output: JsonSchema = { /** * The schema of `zones_always_use_https-2` in responses. */ -export const zones_always_use_https_2_output: JsonSchema = { +export const zones_always_use_https$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -139,7 +139,7 @@ export const zones_always_use_https_2_output: JsonSchema = { /** * The schema of `zones_always_use_https_value` in responses. */ -export const zones_always_use_https_value_output: JsonSchema = { +export const zones_always_use_https_value: JsonSchema = { "enum": [ "on", "off" @@ -150,7 +150,7 @@ export const zones_always_use_https_value_output: JsonSchema = { /** * The schema of `zones_api-response-common-4` in responses. */ -export const zones_api_response_common_4_output: JsonSchema = { +export const zones_api$$response$$common$$4: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zones_messages" @@ -173,7 +173,7 @@ export const zones_api_response_common_4_output: JsonSchema = { /** * The schema of `zones_api-response-common-failure-3` in responses. */ -export const zones_api_response_common_failure_3_output: JsonSchema = { +export const zones_api$$response$$common$$failure$$3: JsonSchema = { "properties": { "errors": { "$ref": "#/$defs/zones_messages" @@ -207,7 +207,7 @@ export const zones_api_response_common_failure_3_output: JsonSchema = { /** * The schema of `zones_automatic_https_rewrites-2` in responses. */ -export const zones_automatic_https_rewrites_2_output: JsonSchema = { +export const zones_automatic_https_rewrites$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -232,7 +232,7 @@ export const zones_automatic_https_rewrites_2_output: JsonSchema = { /** * The schema of `zones_automatic_https_rewrites_value` in responses. */ -export const zones_automatic_https_rewrites_value_output: JsonSchema = { +export const zones_automatic_https_rewrites_value: JsonSchema = { "enum": [ "on", "off" @@ -243,7 +243,7 @@ export const zones_automatic_https_rewrites_value_output: JsonSchema = { /** * The schema of `zones_automatic_platform_optimization` in responses. */ -export const zones_automatic_platform_optimization_output: JsonSchema = { +export const zones_automatic_platform_optimization: JsonSchema = { "properties": { "cache_by_device_type": { "type": "boolean" @@ -281,7 +281,7 @@ export const zones_automatic_platform_optimization_output: JsonSchema = { /** * The schema of `zones_base` in responses. */ -export const zones_base_output: JsonSchema = { +export const zones_base: JsonSchema = { "properties": { "editable": { "enum": [ @@ -337,7 +337,7 @@ export const zones_base_output: JsonSchema = { /** * The schema of `zones_brotli` in responses. */ -export const zones_brotli_output: JsonSchema = { +export const zones_brotli: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -362,7 +362,7 @@ export const zones_brotli_output: JsonSchema = { /** * The schema of `zones_brotli_value` in responses. */ -export const zones_brotli_value_output: JsonSchema = { +export const zones_brotli_value: JsonSchema = { "enum": [ "off", "on" @@ -373,7 +373,7 @@ export const zones_brotli_value_output: JsonSchema = { /** * The schema of `zones_browser_cache_ttl-2` in responses. */ -export const zones_browser_cache_ttl_2_output: JsonSchema = { +export const zones_browser_cache_ttl$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -398,14 +398,14 @@ export const zones_browser_cache_ttl_2_output: JsonSchema = { /** * The schema of `zones_browser_cache_ttl_value` in responses. */ -export const zones_browser_cache_ttl_value_output: JsonSchema = { +export const zones_browser_cache_ttl_value: JsonSchema = { "type": "integer" }; /** * The schema of `zones_browser_check-2` in responses. */ -export const zones_browser_check_2_output: JsonSchema = { +export const zones_browser_check$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -430,7 +430,7 @@ export const zones_browser_check_2_output: JsonSchema = { /** * The schema of `zones_browser_check_value` in responses. */ -export const zones_browser_check_value_output: JsonSchema = { +export const zones_browser_check_value: JsonSchema = { "enum": [ "on", "off" @@ -441,7 +441,7 @@ export const zones_browser_check_value_output: JsonSchema = { /** * The schema of `zones_cache-rules_aegis` in responses. */ -export const zones_cache_rules_aegis_output: JsonSchema = { +export const zones_cache$$rules_aegis: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_cache-rules_base" @@ -466,7 +466,7 @@ export const zones_cache_rules_aegis_output: JsonSchema = { /** * The schema of `zones_cache-rules_aegis_value` in responses. */ -export const zones_cache_rules_aegis_value_output: JsonSchema = { +export const zones_cache$$rules_aegis_value: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -481,7 +481,7 @@ export const zones_cache_rules_aegis_value_output: JsonSchema = { /** * The schema of `zones_cache-rules_base` in responses. */ -export const zones_cache_rules_base_output: JsonSchema = { +export const zones_cache$$rules_base: JsonSchema = { "properties": { "id": { "type": "string" @@ -507,7 +507,7 @@ export const zones_cache_rules_base_output: JsonSchema = { /** * The schema of `zones_cache-rules_origin_h2_max_streams` in responses. */ -export const zones_cache_rules_origin_h2_max_streams_output: JsonSchema = { +export const zones_cache$$rules_origin_h2_max_streams: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_cache-rules_base" @@ -532,14 +532,14 @@ export const zones_cache_rules_origin_h2_max_streams_output: JsonSchema = { /** * The schema of `zones_cache-rules_origin_h2_max_streams_value` in responses. */ -export const zones_cache_rules_origin_h2_max_streams_value_output: JsonSchema = { +export const zones_cache$$rules_origin_h2_max_streams_value: JsonSchema = { "type": "integer" }; /** * The schema of `zones_cache-rules_origin_max_http_version` in responses. */ -export const zones_cache_rules_origin_max_http_version_output: JsonSchema = { +export const zones_cache$$rules_origin_max_http_version: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_cache-rules_base" @@ -564,7 +564,7 @@ export const zones_cache_rules_origin_max_http_version_output: JsonSchema = { /** * The schema of `zones_cache-rules_origin_max_http_version_value` in responses. */ -export const zones_cache_rules_origin_max_http_version_value_output: JsonSchema = { +export const zones_cache$$rules_origin_max_http_version_value: JsonSchema = { "enum": [ "2", "1" @@ -575,7 +575,7 @@ export const zones_cache_rules_origin_max_http_version_value_output: JsonSchema /** * The schema of `zones_cache_level-2` in responses. */ -export const zones_cache_level_2_output: JsonSchema = { +export const zones_cache_level$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -600,7 +600,7 @@ export const zones_cache_level_2_output: JsonSchema = { /** * The schema of `zones_cache_level_value` in responses. */ -export const zones_cache_level_value_output: JsonSchema = { +export const zones_cache_level_value: JsonSchema = { "enum": [ "aggressive", "basic", @@ -612,7 +612,7 @@ export const zones_cache_level_value_output: JsonSchema = { /** * The schema of `zones_challenge_ttl` in responses. */ -export const zones_challenge_ttl_output: JsonSchema = { +export const zones_challenge_ttl: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -637,7 +637,7 @@ export const zones_challenge_ttl_output: JsonSchema = { /** * The schema of `zones_challenge_ttl_value` in responses. */ -export const zones_challenge_ttl_value_output: JsonSchema = { +export const zones_challenge_ttl_value: JsonSchema = { "enum": [ 300, 900, @@ -660,7 +660,7 @@ export const zones_challenge_ttl_value_output: JsonSchema = { /** * The schema of `zones_china_network_enabled` in responses. */ -export const zones_china_network_enabled_output: JsonSchema = { +export const zones_china_network_enabled: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -685,7 +685,7 @@ export const zones_china_network_enabled_output: JsonSchema = { /** * The schema of `zones_china_network_enabled_value` in responses. */ -export const zones_china_network_enabled_value_output: JsonSchema = { +export const zones_china_network_enabled_value: JsonSchema = { "enum": [ "on", "off" @@ -696,7 +696,7 @@ export const zones_china_network_enabled_value_output: JsonSchema = { /** * The schema of `zones_ciphers` in responses. */ -export const zones_ciphers_output: JsonSchema = { +export const zones_ciphers: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -721,7 +721,7 @@ export const zones_ciphers_output: JsonSchema = { /** * The schema of `zones_ciphers_value` in responses. */ -export const zones_ciphers_value_output: JsonSchema = { +export const zones_ciphers_value: JsonSchema = { "items": { "type": "string" }, @@ -731,7 +731,7 @@ export const zones_ciphers_value_output: JsonSchema = { /** * The schema of `zones_cname_flattening` in responses. */ -export const zones_cname_flattening_output: JsonSchema = { +export const zones_cname_flattening: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -756,7 +756,7 @@ export const zones_cname_flattening_output: JsonSchema = { /** * The schema of `zones_cname_flattening_value` in responses. */ -export const zones_cname_flattening_value_output: JsonSchema = { +export const zones_cname_flattening_value: JsonSchema = { "enum": [ "flatten_at_root", "flatten_all" @@ -767,7 +767,7 @@ export const zones_cname_flattening_value_output: JsonSchema = { /** * The schema of `zones_content_converter` in responses. */ -export const zones_content_converter_output: JsonSchema = { +export const zones_content_converter: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -792,7 +792,7 @@ export const zones_content_converter_output: JsonSchema = { /** * The schema of `zones_content_converter_value` in responses. */ -export const zones_content_converter_value_output: JsonSchema = { +export const zones_content_converter_value: JsonSchema = { "enum": [ "off", "on" @@ -803,7 +803,7 @@ export const zones_content_converter_value_output: JsonSchema = { /** * The schema of `zones_development_mode` in responses. */ -export const zones_development_mode_output: JsonSchema = { +export const zones_development_mode: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -831,7 +831,7 @@ export const zones_development_mode_output: JsonSchema = { /** * The schema of `zones_development_mode_value` in responses. */ -export const zones_development_mode_value_output: JsonSchema = { +export const zones_development_mode_value: JsonSchema = { "enum": [ "on", "off" @@ -842,7 +842,7 @@ export const zones_development_mode_value_output: JsonSchema = { /** * The schema of `zones_early_hints` in responses. */ -export const zones_early_hints_output: JsonSchema = { +export const zones_early_hints: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -867,7 +867,7 @@ export const zones_early_hints_output: JsonSchema = { /** * The schema of `zones_early_hints_value` in responses. */ -export const zones_early_hints_value_output: JsonSchema = { +export const zones_early_hints_value: JsonSchema = { "enum": [ "on", "off" @@ -878,7 +878,7 @@ export const zones_early_hints_value_output: JsonSchema = { /** * The schema of `zones_edge_cache_ttl-2` in responses. */ -export const zones_edge_cache_ttl_2_output: JsonSchema = { +export const zones_edge_cache_ttl$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -903,7 +903,7 @@ export const zones_edge_cache_ttl_2_output: JsonSchema = { /** * The schema of `zones_edge_cache_ttl_value` in responses. */ -export const zones_edge_cache_ttl_value_output: JsonSchema = { +export const zones_edge_cache_ttl_value: JsonSchema = { "enum": [ 30, 60, @@ -933,7 +933,7 @@ export const zones_edge_cache_ttl_value_output: JsonSchema = { /** * The schema of `zones_email_obfuscation-2` in responses. */ -export const zones_email_obfuscation_2_output: JsonSchema = { +export const zones_email_obfuscation$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -958,7 +958,7 @@ export const zones_email_obfuscation_2_output: JsonSchema = { /** * The schema of `zones_email_obfuscation_value` in responses. */ -export const zones_email_obfuscation_value_output: JsonSchema = { +export const zones_email_obfuscation_value: JsonSchema = { "enum": [ "on", "off" @@ -969,7 +969,7 @@ export const zones_email_obfuscation_value_output: JsonSchema = { /** * The schema of `zones_h2_prioritization` in responses. */ -export const zones_h2_prioritization_output: JsonSchema = { +export const zones_h2_prioritization: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -994,7 +994,7 @@ export const zones_h2_prioritization_output: JsonSchema = { /** * The schema of `zones_h2_prioritization_value` in responses. */ -export const zones_h2_prioritization_value_output: JsonSchema = { +export const zones_h2_prioritization_value: JsonSchema = { "enum": [ "on", "off", @@ -1006,7 +1006,7 @@ export const zones_h2_prioritization_value_output: JsonSchema = { /** * The schema of `zones_hotlink_protection` in responses. */ -export const zones_hotlink_protection_output: JsonSchema = { +export const zones_hotlink_protection: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1031,7 +1031,7 @@ export const zones_hotlink_protection_output: JsonSchema = { /** * The schema of `zones_hotlink_protection_value` in responses. */ -export const zones_hotlink_protection_value_output: JsonSchema = { +export const zones_hotlink_protection_value: JsonSchema = { "enum": [ "on", "off" @@ -1042,7 +1042,7 @@ export const zones_hotlink_protection_value_output: JsonSchema = { /** * The schema of `zones_http2` in responses. */ -export const zones_http2_output: JsonSchema = { +export const zones_http2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1067,7 +1067,7 @@ export const zones_http2_output: JsonSchema = { /** * The schema of `zones_http2_value` in responses. */ -export const zones_http2_value_output: JsonSchema = { +export const zones_http2_value: JsonSchema = { "enum": [ "on", "off" @@ -1078,7 +1078,7 @@ export const zones_http2_value_output: JsonSchema = { /** * The schema of `zones_http3` in responses. */ -export const zones_http3_output: JsonSchema = { +export const zones_http3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1103,7 +1103,7 @@ export const zones_http3_output: JsonSchema = { /** * The schema of `zones_http3_value` in responses. */ -export const zones_http3_value_output: JsonSchema = { +export const zones_http3_value: JsonSchema = { "enum": [ "on", "off" @@ -1114,7 +1114,7 @@ export const zones_http3_value_output: JsonSchema = { /** * The schema of `zones_image_resizing` in responses. */ -export const zones_image_resizing_output: JsonSchema = { +export const zones_image_resizing: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1139,7 +1139,7 @@ export const zones_image_resizing_output: JsonSchema = { /** * The schema of `zones_image_resizing_value` in responses. */ -export const zones_image_resizing_value_output: JsonSchema = { +export const zones_image_resizing_value: JsonSchema = { "enum": [ "on", "off", @@ -1151,7 +1151,7 @@ export const zones_image_resizing_value_output: JsonSchema = { /** * The schema of `zones_ip_geolocation-2` in responses. */ -export const zones_ip_geolocation_2_output: JsonSchema = { +export const zones_ip_geolocation$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1176,7 +1176,7 @@ export const zones_ip_geolocation_2_output: JsonSchema = { /** * The schema of `zones_ip_geolocation_value` in responses. */ -export const zones_ip_geolocation_value_output: JsonSchema = { +export const zones_ip_geolocation_value: JsonSchema = { "enum": [ "on", "off" @@ -1187,7 +1187,7 @@ export const zones_ip_geolocation_value_output: JsonSchema = { /** * The schema of `zones_ipv6` in responses. */ -export const zones_ipv6_output: JsonSchema = { +export const zones_ipv6: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1212,7 +1212,7 @@ export const zones_ipv6_output: JsonSchema = { /** * The schema of `zones_ipv6_value` in responses. */ -export const zones_ipv6_value_output: JsonSchema = { +export const zones_ipv6_value: JsonSchema = { "enum": [ "off", "on" @@ -1223,7 +1223,7 @@ export const zones_ipv6_value_output: JsonSchema = { /** * The schema of `zones_max_upload` in responses. */ -export const zones_max_upload_output: JsonSchema = { +export const zones_max_upload: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1248,7 +1248,7 @@ export const zones_max_upload_output: JsonSchema = { /** * The schema of `zones_max_upload_value` in responses. */ -export const zones_max_upload_value_output: JsonSchema = { +export const zones_max_upload_value: JsonSchema = { "enum": [ 100, 125, @@ -1283,7 +1283,7 @@ export const zones_max_upload_value_output: JsonSchema = { /** * The schema of `zones_min_tls_version` in responses. */ -export const zones_min_tls_version_output: JsonSchema = { +export const zones_min_tls_version: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1308,7 +1308,7 @@ export const zones_min_tls_version_output: JsonSchema = { /** * The schema of `zones_min_tls_version_value` in responses. */ -export const zones_min_tls_version_value_output: JsonSchema = { +export const zones_min_tls_version_value: JsonSchema = { "enum": [ "1.0", "1.1", @@ -1321,7 +1321,7 @@ export const zones_min_tls_version_value_output: JsonSchema = { /** * The schema of `zones_mirage-2` in responses. */ -export const zones_mirage_2_output: JsonSchema = { +export const zones_mirage$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1346,7 +1346,7 @@ export const zones_mirage_2_output: JsonSchema = { /** * The schema of `zones_mirage_value` in responses. */ -export const zones_mirage_value_output: JsonSchema = { +export const zones_mirage_value: JsonSchema = { "enum": [ "on", "off" @@ -1357,7 +1357,7 @@ export const zones_mirage_value_output: JsonSchema = { /** * The schema of `zones_nel` in responses. */ -export const zones_nel_output: JsonSchema = { +export const zones_nel: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1382,7 +1382,7 @@ export const zones_nel_output: JsonSchema = { /** * The schema of `zones_nel_value` in responses. */ -export const zones_nel_value_output: JsonSchema = { +export const zones_nel_value: JsonSchema = { "properties": { "enabled": { "type": "boolean" @@ -1394,7 +1394,7 @@ export const zones_nel_value_output: JsonSchema = { /** * The schema of `zones_opportunistic_encryption-2` in responses. */ -export const zones_opportunistic_encryption_2_output: JsonSchema = { +export const zones_opportunistic_encryption$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1419,7 +1419,7 @@ export const zones_opportunistic_encryption_2_output: JsonSchema = { /** * The schema of `zones_opportunistic_encryption_value` in responses. */ -export const zones_opportunistic_encryption_value_output: JsonSchema = { +export const zones_opportunistic_encryption_value: JsonSchema = { "enum": [ "on", "off" @@ -1430,7 +1430,7 @@ export const zones_opportunistic_encryption_value_output: JsonSchema = { /** * The schema of `zones_opportunistic_onion` in responses. */ -export const zones_opportunistic_onion_output: JsonSchema = { +export const zones_opportunistic_onion: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1455,7 +1455,7 @@ export const zones_opportunistic_onion_output: JsonSchema = { /** * The schema of `zones_opportunistic_onion_value` in responses. */ -export const zones_opportunistic_onion_value_output: JsonSchema = { +export const zones_opportunistic_onion_value: JsonSchema = { "enum": [ "on", "off" @@ -1466,7 +1466,7 @@ export const zones_opportunistic_onion_value_output: JsonSchema = { /** * The schema of `zones_orange_to_orange` in responses. */ -export const zones_orange_to_orange_output: JsonSchema = { +export const zones_orange_to_orange: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1491,7 +1491,7 @@ export const zones_orange_to_orange_output: JsonSchema = { /** * The schema of `zones_orange_to_orange_value` in responses. */ -export const zones_orange_to_orange_value_output: JsonSchema = { +export const zones_orange_to_orange_value: JsonSchema = { "enum": [ "on", "off" @@ -1502,7 +1502,7 @@ export const zones_orange_to_orange_value_output: JsonSchema = { /** * The schema of `zones_origin_error_page_pass_thru-2` in responses. */ -export const zones_origin_error_page_pass_thru_2_output: JsonSchema = { +export const zones_origin_error_page_pass_thru$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1527,7 +1527,7 @@ export const zones_origin_error_page_pass_thru_2_output: JsonSchema = { /** * The schema of `zones_origin_error_page_pass_thru_value` in responses. */ -export const zones_origin_error_page_pass_thru_value_output: JsonSchema = { +export const zones_origin_error_page_pass_thru_value: JsonSchema = { "enum": [ "on", "off" @@ -1538,7 +1538,7 @@ export const zones_origin_error_page_pass_thru_value_output: JsonSchema = { /** * The schema of `zones_polish-2` in responses. */ -export const zones_polish_2_output: JsonSchema = { +export const zones_polish$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1563,7 +1563,7 @@ export const zones_polish_2_output: JsonSchema = { /** * The schema of `zones_polish_value` in responses. */ -export const zones_polish_value_output: JsonSchema = { +export const zones_polish_value: JsonSchema = { "enum": [ "off", "lossless", @@ -1575,7 +1575,7 @@ export const zones_polish_value_output: JsonSchema = { /** * The schema of `zones_pre_render` in responses. */ -export const zones_pre_render_output: JsonSchema = { +export const zones_pre_render: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1600,7 +1600,7 @@ export const zones_pre_render_output: JsonSchema = { /** * The schema of `zones_pre_render_value` in responses. */ -export const zones_pre_render_value_output: JsonSchema = { +export const zones_pre_render_value: JsonSchema = { "enum": [ "off", "on" @@ -1611,7 +1611,7 @@ export const zones_pre_render_value_output: JsonSchema = { /** * The schema of `zones_prefetch_preload` in responses. */ -export const zones_prefetch_preload_output: JsonSchema = { +export const zones_prefetch_preload: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1636,7 +1636,7 @@ export const zones_prefetch_preload_output: JsonSchema = { /** * The schema of `zones_prefetch_preload_value` in responses. */ -export const zones_prefetch_preload_value_output: JsonSchema = { +export const zones_prefetch_preload_value: JsonSchema = { "enum": [ "on", "off" @@ -1647,7 +1647,7 @@ export const zones_prefetch_preload_value_output: JsonSchema = { /** * The schema of `zones_privacy_pass` in responses. */ -export const zones_privacy_pass_output: JsonSchema = { +export const zones_privacy_pass: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1672,7 +1672,7 @@ export const zones_privacy_pass_output: JsonSchema = { /** * The schema of `zones_privacy_pass_value` in responses. */ -export const zones_privacy_pass_value_output: JsonSchema = { +export const zones_privacy_pass_value: JsonSchema = { "enum": [ "on", "off" @@ -1683,7 +1683,7 @@ export const zones_privacy_pass_value_output: JsonSchema = { /** * The schema of `zones_proxy_read_timeout` in responses. */ -export const zones_proxy_read_timeout_output: JsonSchema = { +export const zones_proxy_read_timeout: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1708,14 +1708,14 @@ export const zones_proxy_read_timeout_output: JsonSchema = { /** * The schema of `zones_proxy_read_timeout_value` in responses. */ -export const zones_proxy_read_timeout_value_output: JsonSchema = { +export const zones_proxy_read_timeout_value: JsonSchema = { "type": "number" }; /** * The schema of `zones_pseudo_ipv4` in responses. */ -export const zones_pseudo_ipv4_output: JsonSchema = { +export const zones_pseudo_ipv4: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1740,7 +1740,7 @@ export const zones_pseudo_ipv4_output: JsonSchema = { /** * The schema of `zones_pseudo_ipv4_value` in responses. */ -export const zones_pseudo_ipv4_value_output: JsonSchema = { +export const zones_pseudo_ipv4_value: JsonSchema = { "enum": [ "off", "add_header", @@ -1752,7 +1752,7 @@ export const zones_pseudo_ipv4_value_output: JsonSchema = { /** * The schema of `zones_redirects_for_ai_training` in responses. */ -export const zones_redirects_for_ai_training_output: JsonSchema = { +export const zones_redirects_for_ai_training: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1777,7 +1777,7 @@ export const zones_redirects_for_ai_training_output: JsonSchema = { /** * The schema of `zones_redirects_for_ai_training_value` in responses. */ -export const zones_redirects_for_ai_training_value_output: JsonSchema = { +export const zones_redirects_for_ai_training_value: JsonSchema = { "enum": [ "off", "on" @@ -1788,7 +1788,7 @@ export const zones_redirects_for_ai_training_value_output: JsonSchema = { /** * The schema of `zones_replace_insecure_js` in responses. */ -export const zones_replace_insecure_js_output: JsonSchema = { +export const zones_replace_insecure_js: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1813,7 +1813,7 @@ export const zones_replace_insecure_js_output: JsonSchema = { /** * The schema of `zones_replace_insecure_js_value` in responses. */ -export const zones_replace_insecure_js_value_output: JsonSchema = { +export const zones_replace_insecure_js_value: JsonSchema = { "enum": [ "on", "off" @@ -1824,7 +1824,7 @@ export const zones_replace_insecure_js_value_output: JsonSchema = { /** * The schema of `zones_response_buffering-2` in responses. */ -export const zones_response_buffering_2_output: JsonSchema = { +export const zones_response_buffering$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1849,7 +1849,7 @@ export const zones_response_buffering_2_output: JsonSchema = { /** * The schema of `zones_response_buffering_value` in responses. */ -export const zones_response_buffering_value_output: JsonSchema = { +export const zones_response_buffering_value: JsonSchema = { "enum": [ "on", "off" @@ -1860,7 +1860,7 @@ export const zones_response_buffering_value_output: JsonSchema = { /** * The schema of `zones_rocket_loader-2` in responses. */ -export const zones_rocket_loader_2_output: JsonSchema = { +export const zones_rocket_loader$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1885,7 +1885,7 @@ export const zones_rocket_loader_2_output: JsonSchema = { /** * The schema of `zones_rocket_loader_value` in responses. */ -export const zones_rocket_loader_value_output: JsonSchema = { +export const zones_rocket_loader_value: JsonSchema = { "enum": [ "on", "off" @@ -1896,7 +1896,7 @@ export const zones_rocket_loader_value_output: JsonSchema = { /** * The schema of `zones_schemas-automatic_platform_optimization` in responses. */ -export const zones_schemas_automatic_platform_optimization_output: JsonSchema = { +export const zones_schemas$$automatic_platform_optimization: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1921,7 +1921,7 @@ export const zones_schemas_automatic_platform_optimization_output: JsonSchema = /** * The schema of `zones_search_for_agents` in responses. */ -export const zones_search_for_agents_output: JsonSchema = { +export const zones_search_for_agents: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1946,7 +1946,7 @@ export const zones_search_for_agents_output: JsonSchema = { /** * The schema of `zones_search_for_agents_value` in responses. */ -export const zones_search_for_agents_value_output: JsonSchema = { +export const zones_search_for_agents_value: JsonSchema = { "enum": [ "off", "on" @@ -1957,7 +1957,7 @@ export const zones_search_for_agents_value_output: JsonSchema = { /** * The schema of `zones_security_header` in responses. */ -export const zones_security_header_output: JsonSchema = { +export const zones_security_header: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -1982,7 +1982,7 @@ export const zones_security_header_output: JsonSchema = { /** * The schema of `zones_security_header_value` in responses. */ -export const zones_security_header_value_output: JsonSchema = { +export const zones_security_header_value: JsonSchema = { "properties": { "strict_transport_security": { "properties": { @@ -2011,7 +2011,7 @@ export const zones_security_header_value_output: JsonSchema = { /** * The schema of `zones_security_level-2` in responses. */ -export const zones_security_level_2_output: JsonSchema = { +export const zones_security_level$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2036,7 +2036,7 @@ export const zones_security_level_2_output: JsonSchema = { /** * The schema of `zones_security_level_value` in responses. */ -export const zones_security_level_value_output: JsonSchema = { +export const zones_security_level_value: JsonSchema = { "enum": [ "off", "essentially_off", @@ -2051,7 +2051,7 @@ export const zones_security_level_value_output: JsonSchema = { /** * The schema of `zones_server_side_exclude` in responses. */ -export const zones_server_side_exclude_output: JsonSchema = { +export const zones_server_side_exclude: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2076,7 +2076,7 @@ export const zones_server_side_exclude_output: JsonSchema = { /** * The schema of `zones_server_side_exclude_value` in responses. */ -export const zones_server_side_exclude_value_output: JsonSchema = { +export const zones_server_side_exclude_value: JsonSchema = { "enum": [ "on", "off" @@ -2087,7 +2087,7 @@ export const zones_server_side_exclude_value_output: JsonSchema = { /** * The schema of `zones_setting` in responses. */ -export const zones_setting_output: JsonSchema = { +export const zones_setting: JsonSchema = { "oneOf": [ { "$ref": "#/$defs/zones_0rtt" @@ -2296,7 +2296,7 @@ export const zones_setting_output: JsonSchema = { /** * The schema of `zones_sha1_support` in responses. */ -export const zones_sha1_support_output: JsonSchema = { +export const zones_sha1_support: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2321,7 +2321,7 @@ export const zones_sha1_support_output: JsonSchema = { /** * The schema of `zones_sha1_support_value` in responses. */ -export const zones_sha1_support_value_output: JsonSchema = { +export const zones_sha1_support_value: JsonSchema = { "enum": [ "off", "on" @@ -2332,7 +2332,7 @@ export const zones_sha1_support_value_output: JsonSchema = { /** * The schema of `zones_sort_query_string_for_cache-2` in responses. */ -export const zones_sort_query_string_for_cache_2_output: JsonSchema = { +export const zones_sort_query_string_for_cache$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2357,7 +2357,7 @@ export const zones_sort_query_string_for_cache_2_output: JsonSchema = { /** * The schema of `zones_sort_query_string_for_cache_value` in responses. */ -export const zones_sort_query_string_for_cache_value_output: JsonSchema = { +export const zones_sort_query_string_for_cache_value: JsonSchema = { "enum": [ "on", "off" @@ -2368,7 +2368,7 @@ export const zones_sort_query_string_for_cache_value_output: JsonSchema = { /** * The schema of `zones_ssl-2` in responses. */ -export const zones_ssl_2_output: JsonSchema = { +export const zones_ssl$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2393,7 +2393,7 @@ export const zones_ssl_2_output: JsonSchema = { /** * The schema of `zones_ssl_recommender` in responses. */ -export const zones_ssl_recommender_output: JsonSchema = { +export const zones_ssl_recommender: JsonSchema = { "properties": { "enabled": { "$ref": "#/$defs/zones_ssl_recommender_enabled" @@ -2411,14 +2411,14 @@ export const zones_ssl_recommender_output: JsonSchema = { /** * The schema of `zones_ssl_recommender_enabled` in responses. */ -export const zones_ssl_recommender_enabled_output: JsonSchema = { +export const zones_ssl_recommender_enabled: JsonSchema = { "type": "boolean" }; /** * The schema of `zones_ssl_value` in responses. */ -export const zones_ssl_value_output: JsonSchema = { +export const zones_ssl_value: JsonSchema = { "enum": [ "off", "flexible", @@ -2431,7 +2431,7 @@ export const zones_ssl_value_output: JsonSchema = { /** * The schema of `zones_tls_1_2_only` in responses. */ -export const zones_tls_1_2_only_output: JsonSchema = { +export const zones_tls_1_2_only: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2456,7 +2456,7 @@ export const zones_tls_1_2_only_output: JsonSchema = { /** * The schema of `zones_tls_1_2_only_value` in responses. */ -export const zones_tls_1_2_only_value_output: JsonSchema = { +export const zones_tls_1_2_only_value: JsonSchema = { "enum": [ "off", "on" @@ -2467,7 +2467,7 @@ export const zones_tls_1_2_only_value_output: JsonSchema = { /** * The schema of `zones_tls_1_3` in responses. */ -export const zones_tls_1_3_output: JsonSchema = { +export const zones_tls_1_3: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2492,7 +2492,7 @@ export const zones_tls_1_3_output: JsonSchema = { /** * The schema of `zones_tls_1_3_value` in responses. */ -export const zones_tls_1_3_value_output: JsonSchema = { +export const zones_tls_1_3_value: JsonSchema = { "enum": [ "on", "off", @@ -2504,7 +2504,7 @@ export const zones_tls_1_3_value_output: JsonSchema = { /** * The schema of `zones_tls_client_auth` in responses. */ -export const zones_tls_client_auth_output: JsonSchema = { +export const zones_tls_client_auth: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2529,7 +2529,7 @@ export const zones_tls_client_auth_output: JsonSchema = { /** * The schema of `zones_tls_client_auth_value` in responses. */ -export const zones_tls_client_auth_value_output: JsonSchema = { +export const zones_tls_client_auth_value: JsonSchema = { "enum": [ "on", "off" @@ -2540,7 +2540,7 @@ export const zones_tls_client_auth_value_output: JsonSchema = { /** * The schema of `zones_transformations` in responses. */ -export const zones_transformations_output: JsonSchema = { +export const zones_transformations: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2565,7 +2565,7 @@ export const zones_transformations_output: JsonSchema = { /** * The schema of `zones_transformations_allowed_origins` in responses. */ -export const zones_transformations_allowed_origins_output: JsonSchema = { +export const zones_transformations_allowed_origins: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2590,14 +2590,14 @@ export const zones_transformations_allowed_origins_output: JsonSchema = { /** * The schema of `zones_transformations_allowed_origins_value` in responses. */ -export const zones_transformations_allowed_origins_value_output: JsonSchema = { +export const zones_transformations_allowed_origins_value: JsonSchema = { "type": "string" }; /** * The schema of `zones_true_client_ip_header-2` in responses. */ -export const zones_true_client_ip_header_2_output: JsonSchema = { +export const zones_true_client_ip_header$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2622,7 +2622,7 @@ export const zones_true_client_ip_header_2_output: JsonSchema = { /** * The schema of `zones_true_client_ip_header_value` in responses. */ -export const zones_true_client_ip_header_value_output: JsonSchema = { +export const zones_true_client_ip_header_value: JsonSchema = { "enum": [ "on", "off" @@ -2633,7 +2633,7 @@ export const zones_true_client_ip_header_value_output: JsonSchema = { /** * The schema of `zones_waf-2` in responses. */ -export const zones_waf_2_output: JsonSchema = { +export const zones_waf$$2: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2658,7 +2658,7 @@ export const zones_waf_2_output: JsonSchema = { /** * The schema of `zones_waf_value` in responses. */ -export const zones_waf_value_output: JsonSchema = { +export const zones_waf_value: JsonSchema = { "enum": [ "on", "off" @@ -2669,7 +2669,7 @@ export const zones_waf_value_output: JsonSchema = { /** * The schema of `zones_webmcp_enabled` in responses. */ -export const zones_webmcp_enabled_output: JsonSchema = { +export const zones_webmcp_enabled: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2694,7 +2694,7 @@ export const zones_webmcp_enabled_output: JsonSchema = { /** * The schema of `zones_webmcp_enabled_value` in responses. */ -export const zones_webmcp_enabled_value_output: JsonSchema = { +export const zones_webmcp_enabled_value: JsonSchema = { "enum": [ "off", "on" @@ -2705,7 +2705,7 @@ export const zones_webmcp_enabled_value_output: JsonSchema = { /** * The schema of `zones_webmcp_mcp_url` in responses. */ -export const zones_webmcp_mcp_url_output: JsonSchema = { +export const zones_webmcp_mcp_url: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2730,14 +2730,14 @@ export const zones_webmcp_mcp_url_output: JsonSchema = { /** * The schema of `zones_webmcp_mcp_url_value` in responses. */ -export const zones_webmcp_mcp_url_value_output: JsonSchema = { +export const zones_webmcp_mcp_url_value: JsonSchema = { "type": "string" }; /** * The schema of `zones_webmcp_packs` in responses. */ -export const zones_webmcp_packs_output: JsonSchema = { +export const zones_webmcp_packs: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2762,14 +2762,14 @@ export const zones_webmcp_packs_output: JsonSchema = { /** * The schema of `zones_webmcp_packs_value` in responses. */ -export const zones_webmcp_packs_value_output: JsonSchema = { +export const zones_webmcp_packs_value: JsonSchema = { "type": "string" }; /** * The schema of `zones_webp` in responses. */ -export const zones_webp_output: JsonSchema = { +export const zones_webp: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2794,7 +2794,7 @@ export const zones_webp_output: JsonSchema = { /** * The schema of `zones_webp_value` in responses. */ -export const zones_webp_value_output: JsonSchema = { +export const zones_webp_value: JsonSchema = { "enum": [ "off", "on" @@ -2805,7 +2805,7 @@ export const zones_webp_value_output: JsonSchema = { /** * The schema of `zones_websockets` in responses. */ -export const zones_websockets_output: JsonSchema = { +export const zones_websockets: JsonSchema = { "allOf": [ { "$ref": "#/$defs/zones_base" @@ -2830,7 +2830,7 @@ export const zones_websockets_output: JsonSchema = { /** * The schema of `zones_websockets_value` in responses. */ -export const zones_websockets_value_output: JsonSchema = { +export const zones_websockets_value: JsonSchema = { "enum": [ "off", "on" diff --git a/src/generated/forge-mcp/zones/settings/schemas.ts b/src/generated/forge-mcp/zones/settings/schemas.ts index ad463abdf..9063268b8 100644 --- a/src/generated/forge-mcp/zones/settings/schemas.ts +++ b/src/generated/forge-mcp/zones/settings/schemas.ts @@ -146,7 +146,7 @@ export const zones_browser_check_value: JsonSchema = { /** * The schema of `zones_cache-rules_aegis_value`. */ -export const zones_cache_rules_aegis_value: JsonSchema = { +export const zones_cache$$rules_aegis_value: JsonSchema = { "description": "Value of the zone setting.", "properties": { "enabled": { @@ -164,7 +164,7 @@ export const zones_cache_rules_aegis_value: JsonSchema = { /** * The schema of `zones_cache-rules_origin_h2_max_streams_value`. */ -export const zones_cache_rules_origin_h2_max_streams_value: JsonSchema = { +export const zones_cache$$rules_origin_h2_max_streams_value: JsonSchema = { "description": "Value of the Origin H2 Max Streams Setting.", "type": "integer" }; @@ -172,7 +172,7 @@ export const zones_cache_rules_origin_h2_max_streams_value: JsonSchema = { /** * The schema of `zones_cache-rules_origin_max_http_version_value`. */ -export const zones_cache_rules_origin_max_http_version_value: JsonSchema = { +export const zones_cache$$rules_origin_max_http_version_value: JsonSchema = { "description": "Value of the Origin Max HTTP Version Setting.", "enum": [ "2", diff --git a/src/generated/forge-mcp/zones/settings/tools.ts b/src/generated/forge-mcp/zones/settings/tools.ts index 060d345ed..c30491511 100644 --- a/src/generated/forge-mcp/zones/settings/tools.ts +++ b/src/generated/forge-mcp/zones/settings/tools.ts @@ -2,216 +2,216 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { zones_messages_output } from "../outputs.js"; +import { zones_messages } from "../outputs.js"; import { zones_identifier } from "../schemas.js"; import { - zones_0rtt_output, - zones_0rtt_value_output, - zones_advanced_ddos_output, - zones_advanced_ddos_value_output, - zones_always_online_output, - zones_always_online_value_output, - zones_always_use_https_2_output, - zones_always_use_https_value_output, - zones_api_response_common_4_output, - zones_api_response_common_failure_3_output, - zones_automatic_https_rewrites_2_output, - zones_automatic_https_rewrites_value_output, - zones_automatic_platform_optimization_output, - zones_base_output, - zones_brotli_output, - zones_brotli_value_output, - zones_browser_cache_ttl_2_output, - zones_browser_cache_ttl_value_output, - zones_browser_check_2_output, - zones_browser_check_value_output, - zones_cache_level_2_output, - zones_cache_level_value_output, - zones_cache_rules_aegis_output, - zones_cache_rules_aegis_value_output, - zones_cache_rules_base_output, - zones_cache_rules_origin_h2_max_streams_output, - zones_cache_rules_origin_h2_max_streams_value_output, - zones_cache_rules_origin_max_http_version_output, - zones_cache_rules_origin_max_http_version_value_output, - zones_challenge_ttl_output, - zones_challenge_ttl_value_output, - zones_china_network_enabled_output, - zones_china_network_enabled_value_output, - zones_ciphers_output, - zones_ciphers_value_output, - zones_cname_flattening_output, - zones_cname_flattening_value_output, - zones_content_converter_output, - zones_content_converter_value_output, - zones_development_mode_output, - zones_development_mode_value_output, - zones_early_hints_output, - zones_early_hints_value_output, - zones_edge_cache_ttl_2_output, - zones_edge_cache_ttl_value_output, - zones_email_obfuscation_2_output, - zones_email_obfuscation_value_output, - zones_h2_prioritization_output, - zones_h2_prioritization_value_output, - zones_hotlink_protection_output, - zones_hotlink_protection_value_output, - zones_http2_output, - zones_http2_value_output, - zones_http3_output, - zones_http3_value_output, - zones_image_resizing_output, - zones_image_resizing_value_output, - zones_ip_geolocation_2_output, - zones_ip_geolocation_value_output, - zones_ipv6_output, - zones_ipv6_value_output, - zones_max_upload_output, - zones_max_upload_value_output, - zones_min_tls_version_output, - zones_min_tls_version_value_output, - zones_mirage_2_output, - zones_mirage_value_output, - zones_nel_output, - zones_nel_value_output, - zones_opportunistic_encryption_2_output, - zones_opportunistic_encryption_value_output, - zones_opportunistic_onion_output, - zones_opportunistic_onion_value_output, - zones_orange_to_orange_output, - zones_orange_to_orange_value_output, - zones_origin_error_page_pass_thru_2_output, - zones_origin_error_page_pass_thru_value_output, - zones_polish_2_output, - zones_polish_value_output, - zones_pre_render_output, - zones_pre_render_value_output, - zones_prefetch_preload_output, - zones_prefetch_preload_value_output, - zones_privacy_pass_output, - zones_privacy_pass_value_output, - zones_proxy_read_timeout_output, - zones_proxy_read_timeout_value_output, - zones_pseudo_ipv4_output, - zones_pseudo_ipv4_value_output, - zones_redirects_for_ai_training_output, - zones_redirects_for_ai_training_value_output, - zones_replace_insecure_js_output, - zones_replace_insecure_js_value_output, - zones_response_buffering_2_output, - zones_response_buffering_value_output, - zones_rocket_loader_2_output, - zones_rocket_loader_value_output, - zones_schemas_automatic_platform_optimization_output, - zones_search_for_agents_output, - zones_search_for_agents_value_output, - zones_security_header_output, - zones_security_header_value_output, - zones_security_level_2_output, - zones_security_level_value_output, - zones_server_side_exclude_output, - zones_server_side_exclude_value_output, - zones_setting_output, - zones_sha1_support_output, - zones_sha1_support_value_output, - zones_sort_query_string_for_cache_2_output, - zones_sort_query_string_for_cache_value_output, - zones_ssl_2_output, - zones_ssl_recommender_enabled_output, - zones_ssl_recommender_output, - zones_ssl_value_output, - zones_tls_1_2_only_output, - zones_tls_1_2_only_value_output, - zones_tls_1_3_output, - zones_tls_1_3_value_output, - zones_tls_client_auth_output, - zones_tls_client_auth_value_output, - zones_transformations_allowed_origins_output, - zones_transformations_allowed_origins_value_output, - zones_transformations_output, - zones_true_client_ip_header_2_output, - zones_true_client_ip_header_value_output, - zones_waf_2_output, - zones_waf_value_output, - zones_webmcp_enabled_output, - zones_webmcp_enabled_value_output, - zones_webmcp_mcp_url_output, - zones_webmcp_mcp_url_value_output, - zones_webmcp_packs_output, - zones_webmcp_packs_value_output, - zones_webp_output, - zones_webp_value_output, - zones_websockets_output, - zones_websockets_value_output, -} from "./outputs.js"; -import { + zones_0rtt, zones_0rtt_value, + zones_advanced_ddos, zones_advanced_ddos_value, + zones_always_online, zones_always_online_value, + zones_always_use_https$$2, zones_always_use_https_value, + zones_api$$response$$common$$4, + zones_api$$response$$common$$failure$$3, + zones_automatic_https_rewrites$$2, zones_automatic_https_rewrites_value, zones_automatic_platform_optimization, + zones_base, + zones_brotli, zones_brotli_value, + zones_browser_cache_ttl$$2, zones_browser_cache_ttl_value, + zones_browser_check$$2, zones_browser_check_value, + zones_cache$$rules_aegis, + zones_cache$$rules_aegis_value, + zones_cache$$rules_base, + zones_cache$$rules_origin_h2_max_streams, + zones_cache$$rules_origin_h2_max_streams_value, + zones_cache$$rules_origin_max_http_version, + zones_cache$$rules_origin_max_http_version_value, + zones_cache_level$$2, zones_cache_level_value, - zones_cache_rules_aegis_value, - zones_cache_rules_origin_h2_max_streams_value, - zones_cache_rules_origin_max_http_version_value, + zones_challenge_ttl, zones_challenge_ttl_value, + zones_china_network_enabled, zones_china_network_enabled_value, + zones_ciphers, zones_ciphers_value, + zones_cname_flattening, zones_cname_flattening_value, + zones_content_converter, zones_content_converter_value, + zones_development_mode, zones_development_mode_value, + zones_early_hints, zones_early_hints_value, + zones_edge_cache_ttl$$2, zones_edge_cache_ttl_value, + zones_email_obfuscation$$2, zones_email_obfuscation_value, + zones_h2_prioritization, zones_h2_prioritization_value, + zones_hotlink_protection, zones_hotlink_protection_value, + zones_http2, zones_http2_value, + zones_http3, zones_http3_value, + zones_image_resizing, zones_image_resizing_value, + zones_ip_geolocation$$2, zones_ip_geolocation_value, + zones_ipv6, zones_ipv6_value, + zones_max_upload, zones_max_upload_value, + zones_min_tls_version, zones_min_tls_version_value, + zones_mirage$$2, zones_mirage_value, + zones_nel, zones_nel_value, + zones_opportunistic_encryption$$2, zones_opportunistic_encryption_value, + zones_opportunistic_onion, zones_opportunistic_onion_value, + zones_orange_to_orange, zones_orange_to_orange_value, + zones_origin_error_page_pass_thru$$2, zones_origin_error_page_pass_thru_value, + zones_polish$$2, zones_polish_value, + zones_pre_render, zones_pre_render_value, + zones_prefetch_preload, zones_prefetch_preload_value, + zones_privacy_pass, zones_privacy_pass_value, + zones_proxy_read_timeout, zones_proxy_read_timeout_value, + zones_pseudo_ipv4, zones_pseudo_ipv4_value, + zones_redirects_for_ai_training, zones_redirects_for_ai_training_value, + zones_replace_insecure_js, zones_replace_insecure_js_value, + zones_response_buffering$$2, zones_response_buffering_value, + zones_rocket_loader$$2, zones_rocket_loader_value, + zones_schemas$$automatic_platform_optimization, + zones_search_for_agents, zones_search_for_agents_value, + zones_security_header, zones_security_header_value, + zones_security_level$$2, zones_security_level_value, + zones_server_side_exclude, zones_server_side_exclude_value, - zones_setting_name, - zones_setting_value, + zones_setting, + zones_sha1_support, zones_sha1_support_value, + zones_sort_query_string_for_cache$$2, zones_sort_query_string_for_cache_value, + zones_ssl$$2, + zones_ssl_recommender, zones_ssl_recommender_enabled, zones_ssl_value, + zones_tls_1_2_only, zones_tls_1_2_only_value, + zones_tls_1_3, zones_tls_1_3_value, + zones_tls_client_auth, zones_tls_client_auth_value, + zones_transformations, + zones_transformations_allowed_origins, + zones_transformations_allowed_origins_value, + zones_true_client_ip_header$$2, zones_true_client_ip_header_value, + zones_waf$$2, zones_waf_value, + zones_webmcp_enabled, zones_webmcp_enabled_value, + zones_webmcp_mcp_url, zones_webmcp_mcp_url_value, + zones_webmcp_packs, zones_webmcp_packs_value, + zones_webp, zones_webp_value, + zones_websockets, zones_websockets_value, +} from "./outputs.js"; +import { + zones_0rtt_value as zones_0rtt_value$, + zones_advanced_ddos_value as zones_advanced_ddos_value$, + zones_always_online_value as zones_always_online_value$, + zones_always_use_https_value as zones_always_use_https_value$, + zones_automatic_https_rewrites_value as zones_automatic_https_rewrites_value$, + zones_automatic_platform_optimization as zones_automatic_platform_optimization$, + zones_brotli_value as zones_brotli_value$, + zones_browser_cache_ttl_value as zones_browser_cache_ttl_value$, + zones_browser_check_value as zones_browser_check_value$, + zones_cache$$rules_aegis_value as zones_cache$$rules_aegis_value$, + zones_cache$$rules_origin_h2_max_streams_value as zones_cache$$rules_origin_h2_max_streams_value$, + zones_cache$$rules_origin_max_http_version_value as zones_cache$$rules_origin_max_http_version_value$, + zones_cache_level_value as zones_cache_level_value$, + zones_challenge_ttl_value as zones_challenge_ttl_value$, + zones_china_network_enabled_value as zones_china_network_enabled_value$, + zones_ciphers_value as zones_ciphers_value$, + zones_cname_flattening_value as zones_cname_flattening_value$, + zones_content_converter_value as zones_content_converter_value$, + zones_development_mode_value as zones_development_mode_value$, + zones_early_hints_value as zones_early_hints_value$, + zones_edge_cache_ttl_value as zones_edge_cache_ttl_value$, + zones_email_obfuscation_value as zones_email_obfuscation_value$, + zones_h2_prioritization_value as zones_h2_prioritization_value$, + zones_hotlink_protection_value as zones_hotlink_protection_value$, + zones_http2_value as zones_http2_value$, + zones_http3_value as zones_http3_value$, + zones_image_resizing_value as zones_image_resizing_value$, + zones_ip_geolocation_value as zones_ip_geolocation_value$, + zones_ipv6_value as zones_ipv6_value$, + zones_max_upload_value as zones_max_upload_value$, + zones_min_tls_version_value as zones_min_tls_version_value$, + zones_mirage_value as zones_mirage_value$, + zones_nel_value as zones_nel_value$, + zones_opportunistic_encryption_value as zones_opportunistic_encryption_value$, + zones_opportunistic_onion_value as zones_opportunistic_onion_value$, + zones_orange_to_orange_value as zones_orange_to_orange_value$, + zones_origin_error_page_pass_thru_value as zones_origin_error_page_pass_thru_value$, + zones_polish_value as zones_polish_value$, + zones_pre_render_value as zones_pre_render_value$, + zones_prefetch_preload_value as zones_prefetch_preload_value$, + zones_privacy_pass_value as zones_privacy_pass_value$, + zones_proxy_read_timeout_value as zones_proxy_read_timeout_value$, + zones_pseudo_ipv4_value as zones_pseudo_ipv4_value$, + zones_redirects_for_ai_training_value as zones_redirects_for_ai_training_value$, + zones_replace_insecure_js_value as zones_replace_insecure_js_value$, + zones_response_buffering_value as zones_response_buffering_value$, + zones_rocket_loader_value as zones_rocket_loader_value$, + zones_search_for_agents_value as zones_search_for_agents_value$, + zones_security_header_value as zones_security_header_value$, + zones_security_level_value as zones_security_level_value$, + zones_server_side_exclude_value as zones_server_side_exclude_value$, + zones_setting_name, + zones_setting_value, + zones_sha1_support_value as zones_sha1_support_value$, + zones_sort_query_string_for_cache_value as zones_sort_query_string_for_cache_value$, + zones_ssl_recommender_enabled as zones_ssl_recommender_enabled$, + zones_ssl_value as zones_ssl_value$, + zones_tls_1_2_only_value as zones_tls_1_2_only_value$, + zones_tls_1_3_value as zones_tls_1_3_value$, + zones_tls_client_auth_value as zones_tls_client_auth_value$, + zones_true_client_ip_header_value as zones_true_client_ip_header_value$, + zones_waf_value as zones_waf_value$, + zones_webmcp_enabled_value as zones_webmcp_enabled_value$, + zones_webmcp_mcp_url_value as zones_webmcp_mcp_url_value$, + zones_webmcp_packs_value as zones_webmcp_packs_value$, + zones_webp_value as zones_webp_value$, + zones_websockets_value as zones_websockets_value$, zones_zone_settings_single_request, } from "./schemas.js"; @@ -229,245 +229,253 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/zones_zone_settings_single_request" }, - "setting_id": { - "$ref": "#/$defs/zones_setting_name", - "description": "Setting name" - }, - "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "path": { + "properties": { + "setting_id": { + "$ref": "#/$defs/zones_setting_name", + "description": "Setting name" + }, + "zone_id": { + "$ref": "#/$defs/zones_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "setting_id" + ], + "type": "object" } }, required: [ - "zone_id", - "setting_id", + "path", "body" ], $defs: { + "zones_0rtt_value": zones_0rtt_value$, + "zones_advanced_ddos_value": zones_advanced_ddos_value$, + "zones_always_online_value": zones_always_online_value$, + "zones_always_use_https_value": zones_always_use_https_value$, + "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value$, + "zones_automatic_platform_optimization": zones_automatic_platform_optimization$, + "zones_brotli_value": zones_brotli_value$, + "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value$, + "zones_browser_check_value": zones_browser_check_value$, + "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value$, + "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value$, + "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value$, + "zones_cache_level_value": zones_cache_level_value$, + "zones_challenge_ttl_value": zones_challenge_ttl_value$, + "zones_china_network_enabled_value": zones_china_network_enabled_value$, + "zones_ciphers_value": zones_ciphers_value$, + "zones_cname_flattening_value": zones_cname_flattening_value$, + "zones_content_converter_value": zones_content_converter_value$, + "zones_development_mode_value": zones_development_mode_value$, + "zones_early_hints_value": zones_early_hints_value$, + "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value$, + "zones_email_obfuscation_value": zones_email_obfuscation_value$, + "zones_h2_prioritization_value": zones_h2_prioritization_value$, + "zones_hotlink_protection_value": zones_hotlink_protection_value$, + "zones_http2_value": zones_http2_value$, + "zones_http3_value": zones_http3_value$, + "zones_identifier": zones_identifier, + "zones_image_resizing_value": zones_image_resizing_value$, + "zones_ip_geolocation_value": zones_ip_geolocation_value$, + "zones_ipv6_value": zones_ipv6_value$, + "zones_max_upload_value": zones_max_upload_value$, + "zones_min_tls_version_value": zones_min_tls_version_value$, + "zones_mirage_value": zones_mirage_value$, + "zones_nel_value": zones_nel_value$, + "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value$, + "zones_opportunistic_onion_value": zones_opportunistic_onion_value$, + "zones_orange_to_orange_value": zones_orange_to_orange_value$, + "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value$, + "zones_polish_value": zones_polish_value$, + "zones_pre_render_value": zones_pre_render_value$, + "zones_prefetch_preload_value": zones_prefetch_preload_value$, + "zones_privacy_pass_value": zones_privacy_pass_value$, + "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value$, + "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value$, + "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value$, + "zones_replace_insecure_js_value": zones_replace_insecure_js_value$, + "zones_response_buffering_value": zones_response_buffering_value$, + "zones_rocket_loader_value": zones_rocket_loader_value$, + "zones_search_for_agents_value": zones_search_for_agents_value$, + "zones_security_header_value": zones_security_header_value$, + "zones_security_level_value": zones_security_level_value$, + "zones_server_side_exclude_value": zones_server_side_exclude_value$, + "zones_setting_name": zones_setting_name, + "zones_setting_value": zones_setting_value, + "zones_sha1_support_value": zones_sha1_support_value$, + "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value$, + "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled$, + "zones_ssl_value": zones_ssl_value$, + "zones_tls_1_2_only_value": zones_tls_1_2_only_value$, + "zones_tls_1_3_value": zones_tls_1_3_value$, + "zones_tls_client_auth_value": zones_tls_client_auth_value$, + "zones_true_client_ip_header_value": zones_true_client_ip_header_value$, + "zones_waf_value": zones_waf_value$, + "zones_webmcp_enabled_value": zones_webmcp_enabled_value$, + "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value$, + "zones_webmcp_packs_value": zones_webmcp_packs_value$, + "zones_webp_value": zones_webp_value$, + "zones_websockets_value": zones_websockets_value$, + "zones_zone_settings_single_request": zones_zone_settings_single_request, + }, + }, + outputSchema: { + "allOf": [ + { + "$ref": "#/$defs/zones_api-response-common-4" + }, + { + "properties": { + "result": { + "$ref": "#/$defs/zones_setting" + } + }, + "type": "object" + } + ], + $defs: { + "zones_0rtt": zones_0rtt, "zones_0rtt_value": zones_0rtt_value, + "zones_advanced_ddos": zones_advanced_ddos, "zones_advanced_ddos_value": zones_advanced_ddos_value, + "zones_always_online": zones_always_online, "zones_always_online_value": zones_always_online_value, + "zones_always_use_https-2": zones_always_use_https$$2, "zones_always_use_https_value": zones_always_use_https_value, + "zones_api-response-common-4": zones_api$$response$$common$$4, + "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites$$2, "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value, "zones_automatic_platform_optimization": zones_automatic_platform_optimization, + "zones_base": zones_base, + "zones_brotli": zones_brotli, "zones_brotli_value": zones_brotli_value, + "zones_browser_cache_ttl-2": zones_browser_cache_ttl$$2, "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value, + "zones_browser_check-2": zones_browser_check$$2, "zones_browser_check_value": zones_browser_check_value, - "zones_cache-rules_aegis_value": zones_cache_rules_aegis_value, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache_rules_origin_h2_max_streams_value, - "zones_cache-rules_origin_max_http_version_value": zones_cache_rules_origin_max_http_version_value, + "zones_cache-rules_aegis": zones_cache$$rules_aegis, + "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value, + "zones_cache-rules_base": zones_cache$$rules_base, + "zones_cache-rules_origin_h2_max_streams": zones_cache$$rules_origin_h2_max_streams, + "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value, + "zones_cache-rules_origin_max_http_version": zones_cache$$rules_origin_max_http_version, + "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value, + "zones_cache_level-2": zones_cache_level$$2, "zones_cache_level_value": zones_cache_level_value, + "zones_challenge_ttl": zones_challenge_ttl, "zones_challenge_ttl_value": zones_challenge_ttl_value, + "zones_china_network_enabled": zones_china_network_enabled, "zones_china_network_enabled_value": zones_china_network_enabled_value, + "zones_ciphers": zones_ciphers, "zones_ciphers_value": zones_ciphers_value, + "zones_cname_flattening": zones_cname_flattening, "zones_cname_flattening_value": zones_cname_flattening_value, + "zones_content_converter": zones_content_converter, "zones_content_converter_value": zones_content_converter_value, + "zones_development_mode": zones_development_mode, "zones_development_mode_value": zones_development_mode_value, + "zones_early_hints": zones_early_hints, "zones_early_hints_value": zones_early_hints_value, + "zones_edge_cache_ttl-2": zones_edge_cache_ttl$$2, "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value, + "zones_email_obfuscation-2": zones_email_obfuscation$$2, "zones_email_obfuscation_value": zones_email_obfuscation_value, + "zones_h2_prioritization": zones_h2_prioritization, "zones_h2_prioritization_value": zones_h2_prioritization_value, + "zones_hotlink_protection": zones_hotlink_protection, "zones_hotlink_protection_value": zones_hotlink_protection_value, + "zones_http2": zones_http2, "zones_http2_value": zones_http2_value, + "zones_http3": zones_http3, "zones_http3_value": zones_http3_value, - "zones_identifier": zones_identifier, + "zones_image_resizing": zones_image_resizing, "zones_image_resizing_value": zones_image_resizing_value, + "zones_ip_geolocation-2": zones_ip_geolocation$$2, "zones_ip_geolocation_value": zones_ip_geolocation_value, + "zones_ipv6": zones_ipv6, "zones_ipv6_value": zones_ipv6_value, + "zones_max_upload": zones_max_upload, "zones_max_upload_value": zones_max_upload_value, + "zones_messages": zones_messages, + "zones_min_tls_version": zones_min_tls_version, "zones_min_tls_version_value": zones_min_tls_version_value, + "zones_mirage-2": zones_mirage$$2, "zones_mirage_value": zones_mirage_value, + "zones_nel": zones_nel, "zones_nel_value": zones_nel_value, + "zones_opportunistic_encryption-2": zones_opportunistic_encryption$$2, "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value, + "zones_opportunistic_onion": zones_opportunistic_onion, "zones_opportunistic_onion_value": zones_opportunistic_onion_value, + "zones_orange_to_orange": zones_orange_to_orange, "zones_orange_to_orange_value": zones_orange_to_orange_value, + "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru$$2, "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value, + "zones_polish-2": zones_polish$$2, "zones_polish_value": zones_polish_value, + "zones_pre_render": zones_pre_render, "zones_pre_render_value": zones_pre_render_value, + "zones_prefetch_preload": zones_prefetch_preload, "zones_prefetch_preload_value": zones_prefetch_preload_value, + "zones_privacy_pass": zones_privacy_pass, "zones_privacy_pass_value": zones_privacy_pass_value, + "zones_proxy_read_timeout": zones_proxy_read_timeout, "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value, + "zones_pseudo_ipv4": zones_pseudo_ipv4, "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value, + "zones_redirects_for_ai_training": zones_redirects_for_ai_training, "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value, + "zones_replace_insecure_js": zones_replace_insecure_js, "zones_replace_insecure_js_value": zones_replace_insecure_js_value, + "zones_response_buffering-2": zones_response_buffering$$2, "zones_response_buffering_value": zones_response_buffering_value, + "zones_rocket_loader-2": zones_rocket_loader$$2, "zones_rocket_loader_value": zones_rocket_loader_value, + "zones_schemas-automatic_platform_optimization": zones_schemas$$automatic_platform_optimization, + "zones_search_for_agents": zones_search_for_agents, "zones_search_for_agents_value": zones_search_for_agents_value, + "zones_security_header": zones_security_header, "zones_security_header_value": zones_security_header_value, + "zones_security_level-2": zones_security_level$$2, "zones_security_level_value": zones_security_level_value, + "zones_server_side_exclude": zones_server_side_exclude, "zones_server_side_exclude_value": zones_server_side_exclude_value, - "zones_setting_name": zones_setting_name, - "zones_setting_value": zones_setting_value, + "zones_setting": zones_setting, + "zones_sha1_support": zones_sha1_support, "zones_sha1_support_value": zones_sha1_support_value, + "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache$$2, "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value, + "zones_ssl-2": zones_ssl$$2, + "zones_ssl_recommender": zones_ssl_recommender, "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled, "zones_ssl_value": zones_ssl_value, + "zones_tls_1_2_only": zones_tls_1_2_only, "zones_tls_1_2_only_value": zones_tls_1_2_only_value, + "zones_tls_1_3": zones_tls_1_3, "zones_tls_1_3_value": zones_tls_1_3_value, + "zones_tls_client_auth": zones_tls_client_auth, "zones_tls_client_auth_value": zones_tls_client_auth_value, + "zones_transformations": zones_transformations, + "zones_transformations_allowed_origins": zones_transformations_allowed_origins, + "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value, + "zones_true_client_ip_header-2": zones_true_client_ip_header$$2, "zones_true_client_ip_header_value": zones_true_client_ip_header_value, + "zones_waf-2": zones_waf$$2, "zones_waf_value": zones_waf_value, + "zones_webmcp_enabled": zones_webmcp_enabled, "zones_webmcp_enabled_value": zones_webmcp_enabled_value, + "zones_webmcp_mcp_url": zones_webmcp_mcp_url, "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value, + "zones_webmcp_packs": zones_webmcp_packs, "zones_webmcp_packs_value": zones_webmcp_packs_value, + "zones_webp": zones_webp, "zones_webp_value": zones_webp_value, + "zones_websockets": zones_websockets, "zones_websockets_value": zones_websockets_value, - "zones_zone_settings_single_request": zones_zone_settings_single_request, - }, - }, - outputSchema: { - "allOf": [ - { - "$ref": "#/$defs/zones_api-response-common-4" - }, - { - "properties": { - "result": { - "$ref": "#/$defs/zones_setting" - } - }, - "type": "object" - } - ], - $defs: { - "zones_0rtt": zones_0rtt_output, - "zones_0rtt_value": zones_0rtt_value_output, - "zones_advanced_ddos": zones_advanced_ddos_output, - "zones_advanced_ddos_value": zones_advanced_ddos_value_output, - "zones_always_online": zones_always_online_output, - "zones_always_online_value": zones_always_online_value_output, - "zones_always_use_https-2": zones_always_use_https_2_output, - "zones_always_use_https_value": zones_always_use_https_value_output, - "zones_api-response-common-4": zones_api_response_common_4_output, - "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites_2_output, - "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value_output, - "zones_automatic_platform_optimization": zones_automatic_platform_optimization_output, - "zones_base": zones_base_output, - "zones_brotli": zones_brotli_output, - "zones_brotli_value": zones_brotli_value_output, - "zones_browser_cache_ttl-2": zones_browser_cache_ttl_2_output, - "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value_output, - "zones_browser_check-2": zones_browser_check_2_output, - "zones_browser_check_value": zones_browser_check_value_output, - "zones_cache-rules_aegis": zones_cache_rules_aegis_output, - "zones_cache-rules_aegis_value": zones_cache_rules_aegis_value_output, - "zones_cache-rules_base": zones_cache_rules_base_output, - "zones_cache-rules_origin_h2_max_streams": zones_cache_rules_origin_h2_max_streams_output, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache_rules_origin_h2_max_streams_value_output, - "zones_cache-rules_origin_max_http_version": zones_cache_rules_origin_max_http_version_output, - "zones_cache-rules_origin_max_http_version_value": zones_cache_rules_origin_max_http_version_value_output, - "zones_cache_level-2": zones_cache_level_2_output, - "zones_cache_level_value": zones_cache_level_value_output, - "zones_challenge_ttl": zones_challenge_ttl_output, - "zones_challenge_ttl_value": zones_challenge_ttl_value_output, - "zones_china_network_enabled": zones_china_network_enabled_output, - "zones_china_network_enabled_value": zones_china_network_enabled_value_output, - "zones_ciphers": zones_ciphers_output, - "zones_ciphers_value": zones_ciphers_value_output, - "zones_cname_flattening": zones_cname_flattening_output, - "zones_cname_flattening_value": zones_cname_flattening_value_output, - "zones_content_converter": zones_content_converter_output, - "zones_content_converter_value": zones_content_converter_value_output, - "zones_development_mode": zones_development_mode_output, - "zones_development_mode_value": zones_development_mode_value_output, - "zones_early_hints": zones_early_hints_output, - "zones_early_hints_value": zones_early_hints_value_output, - "zones_edge_cache_ttl-2": zones_edge_cache_ttl_2_output, - "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value_output, - "zones_email_obfuscation-2": zones_email_obfuscation_2_output, - "zones_email_obfuscation_value": zones_email_obfuscation_value_output, - "zones_h2_prioritization": zones_h2_prioritization_output, - "zones_h2_prioritization_value": zones_h2_prioritization_value_output, - "zones_hotlink_protection": zones_hotlink_protection_output, - "zones_hotlink_protection_value": zones_hotlink_protection_value_output, - "zones_http2": zones_http2_output, - "zones_http2_value": zones_http2_value_output, - "zones_http3": zones_http3_output, - "zones_http3_value": zones_http3_value_output, - "zones_image_resizing": zones_image_resizing_output, - "zones_image_resizing_value": zones_image_resizing_value_output, - "zones_ip_geolocation-2": zones_ip_geolocation_2_output, - "zones_ip_geolocation_value": zones_ip_geolocation_value_output, - "zones_ipv6": zones_ipv6_output, - "zones_ipv6_value": zones_ipv6_value_output, - "zones_max_upload": zones_max_upload_output, - "zones_max_upload_value": zones_max_upload_value_output, - "zones_messages": zones_messages_output, - "zones_min_tls_version": zones_min_tls_version_output, - "zones_min_tls_version_value": zones_min_tls_version_value_output, - "zones_mirage-2": zones_mirage_2_output, - "zones_mirage_value": zones_mirage_value_output, - "zones_nel": zones_nel_output, - "zones_nel_value": zones_nel_value_output, - "zones_opportunistic_encryption-2": zones_opportunistic_encryption_2_output, - "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value_output, - "zones_opportunistic_onion": zones_opportunistic_onion_output, - "zones_opportunistic_onion_value": zones_opportunistic_onion_value_output, - "zones_orange_to_orange": zones_orange_to_orange_output, - "zones_orange_to_orange_value": zones_orange_to_orange_value_output, - "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru_2_output, - "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value_output, - "zones_polish-2": zones_polish_2_output, - "zones_polish_value": zones_polish_value_output, - "zones_pre_render": zones_pre_render_output, - "zones_pre_render_value": zones_pre_render_value_output, - "zones_prefetch_preload": zones_prefetch_preload_output, - "zones_prefetch_preload_value": zones_prefetch_preload_value_output, - "zones_privacy_pass": zones_privacy_pass_output, - "zones_privacy_pass_value": zones_privacy_pass_value_output, - "zones_proxy_read_timeout": zones_proxy_read_timeout_output, - "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value_output, - "zones_pseudo_ipv4": zones_pseudo_ipv4_output, - "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value_output, - "zones_redirects_for_ai_training": zones_redirects_for_ai_training_output, - "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value_output, - "zones_replace_insecure_js": zones_replace_insecure_js_output, - "zones_replace_insecure_js_value": zones_replace_insecure_js_value_output, - "zones_response_buffering-2": zones_response_buffering_2_output, - "zones_response_buffering_value": zones_response_buffering_value_output, - "zones_rocket_loader-2": zones_rocket_loader_2_output, - "zones_rocket_loader_value": zones_rocket_loader_value_output, - "zones_schemas-automatic_platform_optimization": zones_schemas_automatic_platform_optimization_output, - "zones_search_for_agents": zones_search_for_agents_output, - "zones_search_for_agents_value": zones_search_for_agents_value_output, - "zones_security_header": zones_security_header_output, - "zones_security_header_value": zones_security_header_value_output, - "zones_security_level-2": zones_security_level_2_output, - "zones_security_level_value": zones_security_level_value_output, - "zones_server_side_exclude": zones_server_side_exclude_output, - "zones_server_side_exclude_value": zones_server_side_exclude_value_output, - "zones_setting": zones_setting_output, - "zones_sha1_support": zones_sha1_support_output, - "zones_sha1_support_value": zones_sha1_support_value_output, - "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache_2_output, - "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value_output, - "zones_ssl-2": zones_ssl_2_output, - "zones_ssl_recommender": zones_ssl_recommender_output, - "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled_output, - "zones_ssl_value": zones_ssl_value_output, - "zones_tls_1_2_only": zones_tls_1_2_only_output, - "zones_tls_1_2_only_value": zones_tls_1_2_only_value_output, - "zones_tls_1_3": zones_tls_1_3_output, - "zones_tls_1_3_value": zones_tls_1_3_value_output, - "zones_tls_client_auth": zones_tls_client_auth_output, - "zones_tls_client_auth_value": zones_tls_client_auth_value_output, - "zones_transformations": zones_transformations_output, - "zones_transformations_allowed_origins": zones_transformations_allowed_origins_output, - "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value_output, - "zones_true_client_ip_header-2": zones_true_client_ip_header_2_output, - "zones_true_client_ip_header_value": zones_true_client_ip_header_value_output, - "zones_waf-2": zones_waf_2_output, - "zones_waf_value": zones_waf_value_output, - "zones_webmcp_enabled": zones_webmcp_enabled_output, - "zones_webmcp_enabled_value": zones_webmcp_enabled_value_output, - "zones_webmcp_mcp_url": zones_webmcp_mcp_url_output, - "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value_output, - "zones_webmcp_packs": zones_webmcp_packs_output, - "zones_webmcp_packs_value": zones_webmcp_packs_value_output, - "zones_webp": zones_webp_output, - "zones_webp_value": zones_webp_value_output, - "zones_websockets": zones_websockets_output, - "zones_websockets_value": zones_websockets_value_output, }, }, annotations: { @@ -517,145 +525,145 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_0rtt": zones_0rtt_output, - "zones_0rtt_value": zones_0rtt_value_output, - "zones_advanced_ddos": zones_advanced_ddos_output, - "zones_advanced_ddos_value": zones_advanced_ddos_value_output, - "zones_always_online": zones_always_online_output, - "zones_always_online_value": zones_always_online_value_output, - "zones_always_use_https-2": zones_always_use_https_2_output, - "zones_always_use_https_value": zones_always_use_https_value_output, - "zones_api-response-common-4": zones_api_response_common_4_output, - "zones_api-response-common-failure-3": zones_api_response_common_failure_3_output, - "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites_2_output, - "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value_output, - "zones_automatic_platform_optimization": zones_automatic_platform_optimization_output, - "zones_base": zones_base_output, - "zones_brotli": zones_brotli_output, - "zones_brotli_value": zones_brotli_value_output, - "zones_browser_cache_ttl-2": zones_browser_cache_ttl_2_output, - "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value_output, - "zones_browser_check-2": zones_browser_check_2_output, - "zones_browser_check_value": zones_browser_check_value_output, - "zones_cache-rules_aegis": zones_cache_rules_aegis_output, - "zones_cache-rules_aegis_value": zones_cache_rules_aegis_value_output, - "zones_cache-rules_base": zones_cache_rules_base_output, - "zones_cache-rules_origin_h2_max_streams": zones_cache_rules_origin_h2_max_streams_output, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache_rules_origin_h2_max_streams_value_output, - "zones_cache-rules_origin_max_http_version": zones_cache_rules_origin_max_http_version_output, - "zones_cache-rules_origin_max_http_version_value": zones_cache_rules_origin_max_http_version_value_output, - "zones_cache_level-2": zones_cache_level_2_output, - "zones_cache_level_value": zones_cache_level_value_output, - "zones_challenge_ttl": zones_challenge_ttl_output, - "zones_challenge_ttl_value": zones_challenge_ttl_value_output, - "zones_china_network_enabled": zones_china_network_enabled_output, - "zones_china_network_enabled_value": zones_china_network_enabled_value_output, - "zones_ciphers": zones_ciphers_output, - "zones_ciphers_value": zones_ciphers_value_output, - "zones_cname_flattening": zones_cname_flattening_output, - "zones_cname_flattening_value": zones_cname_flattening_value_output, - "zones_content_converter": zones_content_converter_output, - "zones_content_converter_value": zones_content_converter_value_output, - "zones_development_mode": zones_development_mode_output, - "zones_development_mode_value": zones_development_mode_value_output, - "zones_early_hints": zones_early_hints_output, - "zones_early_hints_value": zones_early_hints_value_output, - "zones_edge_cache_ttl-2": zones_edge_cache_ttl_2_output, - "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value_output, - "zones_email_obfuscation-2": zones_email_obfuscation_2_output, - "zones_email_obfuscation_value": zones_email_obfuscation_value_output, - "zones_h2_prioritization": zones_h2_prioritization_output, - "zones_h2_prioritization_value": zones_h2_prioritization_value_output, - "zones_hotlink_protection": zones_hotlink_protection_output, - "zones_hotlink_protection_value": zones_hotlink_protection_value_output, - "zones_http2": zones_http2_output, - "zones_http2_value": zones_http2_value_output, - "zones_http3": zones_http3_output, - "zones_http3_value": zones_http3_value_output, - "zones_image_resizing": zones_image_resizing_output, - "zones_image_resizing_value": zones_image_resizing_value_output, - "zones_ip_geolocation-2": zones_ip_geolocation_2_output, - "zones_ip_geolocation_value": zones_ip_geolocation_value_output, - "zones_ipv6": zones_ipv6_output, - "zones_ipv6_value": zones_ipv6_value_output, - "zones_max_upload": zones_max_upload_output, - "zones_max_upload_value": zones_max_upload_value_output, - "zones_messages": zones_messages_output, - "zones_min_tls_version": zones_min_tls_version_output, - "zones_min_tls_version_value": zones_min_tls_version_value_output, - "zones_mirage-2": zones_mirage_2_output, - "zones_mirage_value": zones_mirage_value_output, - "zones_nel": zones_nel_output, - "zones_nel_value": zones_nel_value_output, - "zones_opportunistic_encryption-2": zones_opportunistic_encryption_2_output, - "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value_output, - "zones_opportunistic_onion": zones_opportunistic_onion_output, - "zones_opportunistic_onion_value": zones_opportunistic_onion_value_output, - "zones_orange_to_orange": zones_orange_to_orange_output, - "zones_orange_to_orange_value": zones_orange_to_orange_value_output, - "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru_2_output, - "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value_output, - "zones_polish-2": zones_polish_2_output, - "zones_polish_value": zones_polish_value_output, - "zones_pre_render": zones_pre_render_output, - "zones_pre_render_value": zones_pre_render_value_output, - "zones_prefetch_preload": zones_prefetch_preload_output, - "zones_prefetch_preload_value": zones_prefetch_preload_value_output, - "zones_privacy_pass": zones_privacy_pass_output, - "zones_privacy_pass_value": zones_privacy_pass_value_output, - "zones_proxy_read_timeout": zones_proxy_read_timeout_output, - "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value_output, - "zones_pseudo_ipv4": zones_pseudo_ipv4_output, - "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value_output, - "zones_redirects_for_ai_training": zones_redirects_for_ai_training_output, - "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value_output, - "zones_replace_insecure_js": zones_replace_insecure_js_output, - "zones_replace_insecure_js_value": zones_replace_insecure_js_value_output, - "zones_response_buffering-2": zones_response_buffering_2_output, - "zones_response_buffering_value": zones_response_buffering_value_output, - "zones_rocket_loader-2": zones_rocket_loader_2_output, - "zones_rocket_loader_value": zones_rocket_loader_value_output, - "zones_schemas-automatic_platform_optimization": zones_schemas_automatic_platform_optimization_output, - "zones_search_for_agents": zones_search_for_agents_output, - "zones_search_for_agents_value": zones_search_for_agents_value_output, - "zones_security_header": zones_security_header_output, - "zones_security_header_value": zones_security_header_value_output, - "zones_security_level-2": zones_security_level_2_output, - "zones_security_level_value": zones_security_level_value_output, - "zones_server_side_exclude": zones_server_side_exclude_output, - "zones_server_side_exclude_value": zones_server_side_exclude_value_output, - "zones_setting": zones_setting_output, - "zones_sha1_support": zones_sha1_support_output, - "zones_sha1_support_value": zones_sha1_support_value_output, - "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache_2_output, - "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value_output, - "zones_ssl-2": zones_ssl_2_output, - "zones_ssl_recommender": zones_ssl_recommender_output, - "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled_output, - "zones_ssl_value": zones_ssl_value_output, - "zones_tls_1_2_only": zones_tls_1_2_only_output, - "zones_tls_1_2_only_value": zones_tls_1_2_only_value_output, - "zones_tls_1_3": zones_tls_1_3_output, - "zones_tls_1_3_value": zones_tls_1_3_value_output, - "zones_tls_client_auth": zones_tls_client_auth_output, - "zones_tls_client_auth_value": zones_tls_client_auth_value_output, - "zones_transformations": zones_transformations_output, - "zones_transformations_allowed_origins": zones_transformations_allowed_origins_output, - "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value_output, - "zones_true_client_ip_header-2": zones_true_client_ip_header_2_output, - "zones_true_client_ip_header_value": zones_true_client_ip_header_value_output, - "zones_waf-2": zones_waf_2_output, - "zones_waf_value": zones_waf_value_output, - "zones_webmcp_enabled": zones_webmcp_enabled_output, - "zones_webmcp_enabled_value": zones_webmcp_enabled_value_output, - "zones_webmcp_mcp_url": zones_webmcp_mcp_url_output, - "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value_output, - "zones_webmcp_packs": zones_webmcp_packs_output, - "zones_webmcp_packs_value": zones_webmcp_packs_value_output, - "zones_webp": zones_webp_output, - "zones_webp_value": zones_webp_value_output, - "zones_websockets": zones_websockets_output, - "zones_websockets_value": zones_websockets_value_output, + "zones_0rtt": zones_0rtt, + "zones_0rtt_value": zones_0rtt_value, + "zones_advanced_ddos": zones_advanced_ddos, + "zones_advanced_ddos_value": zones_advanced_ddos_value, + "zones_always_online": zones_always_online, + "zones_always_online_value": zones_always_online_value, + "zones_always_use_https-2": zones_always_use_https$$2, + "zones_always_use_https_value": zones_always_use_https_value, + "zones_api-response-common-4": zones_api$$response$$common$$4, + "zones_api-response-common-failure-3": zones_api$$response$$common$$failure$$3, + "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites$$2, + "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value, + "zones_automatic_platform_optimization": zones_automatic_platform_optimization, + "zones_base": zones_base, + "zones_brotli": zones_brotli, + "zones_brotli_value": zones_brotli_value, + "zones_browser_cache_ttl-2": zones_browser_cache_ttl$$2, + "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value, + "zones_browser_check-2": zones_browser_check$$2, + "zones_browser_check_value": zones_browser_check_value, + "zones_cache-rules_aegis": zones_cache$$rules_aegis, + "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value, + "zones_cache-rules_base": zones_cache$$rules_base, + "zones_cache-rules_origin_h2_max_streams": zones_cache$$rules_origin_h2_max_streams, + "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value, + "zones_cache-rules_origin_max_http_version": zones_cache$$rules_origin_max_http_version, + "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value, + "zones_cache_level-2": zones_cache_level$$2, + "zones_cache_level_value": zones_cache_level_value, + "zones_challenge_ttl": zones_challenge_ttl, + "zones_challenge_ttl_value": zones_challenge_ttl_value, + "zones_china_network_enabled": zones_china_network_enabled, + "zones_china_network_enabled_value": zones_china_network_enabled_value, + "zones_ciphers": zones_ciphers, + "zones_ciphers_value": zones_ciphers_value, + "zones_cname_flattening": zones_cname_flattening, + "zones_cname_flattening_value": zones_cname_flattening_value, + "zones_content_converter": zones_content_converter, + "zones_content_converter_value": zones_content_converter_value, + "zones_development_mode": zones_development_mode, + "zones_development_mode_value": zones_development_mode_value, + "zones_early_hints": zones_early_hints, + "zones_early_hints_value": zones_early_hints_value, + "zones_edge_cache_ttl-2": zones_edge_cache_ttl$$2, + "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value, + "zones_email_obfuscation-2": zones_email_obfuscation$$2, + "zones_email_obfuscation_value": zones_email_obfuscation_value, + "zones_h2_prioritization": zones_h2_prioritization, + "zones_h2_prioritization_value": zones_h2_prioritization_value, + "zones_hotlink_protection": zones_hotlink_protection, + "zones_hotlink_protection_value": zones_hotlink_protection_value, + "zones_http2": zones_http2, + "zones_http2_value": zones_http2_value, + "zones_http3": zones_http3, + "zones_http3_value": zones_http3_value, + "zones_image_resizing": zones_image_resizing, + "zones_image_resizing_value": zones_image_resizing_value, + "zones_ip_geolocation-2": zones_ip_geolocation$$2, + "zones_ip_geolocation_value": zones_ip_geolocation_value, + "zones_ipv6": zones_ipv6, + "zones_ipv6_value": zones_ipv6_value, + "zones_max_upload": zones_max_upload, + "zones_max_upload_value": zones_max_upload_value, + "zones_messages": zones_messages, + "zones_min_tls_version": zones_min_tls_version, + "zones_min_tls_version_value": zones_min_tls_version_value, + "zones_mirage-2": zones_mirage$$2, + "zones_mirage_value": zones_mirage_value, + "zones_nel": zones_nel, + "zones_nel_value": zones_nel_value, + "zones_opportunistic_encryption-2": zones_opportunistic_encryption$$2, + "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value, + "zones_opportunistic_onion": zones_opportunistic_onion, + "zones_opportunistic_onion_value": zones_opportunistic_onion_value, + "zones_orange_to_orange": zones_orange_to_orange, + "zones_orange_to_orange_value": zones_orange_to_orange_value, + "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru$$2, + "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value, + "zones_polish-2": zones_polish$$2, + "zones_polish_value": zones_polish_value, + "zones_pre_render": zones_pre_render, + "zones_pre_render_value": zones_pre_render_value, + "zones_prefetch_preload": zones_prefetch_preload, + "zones_prefetch_preload_value": zones_prefetch_preload_value, + "zones_privacy_pass": zones_privacy_pass, + "zones_privacy_pass_value": zones_privacy_pass_value, + "zones_proxy_read_timeout": zones_proxy_read_timeout, + "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value, + "zones_pseudo_ipv4": zones_pseudo_ipv4, + "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value, + "zones_redirects_for_ai_training": zones_redirects_for_ai_training, + "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value, + "zones_replace_insecure_js": zones_replace_insecure_js, + "zones_replace_insecure_js_value": zones_replace_insecure_js_value, + "zones_response_buffering-2": zones_response_buffering$$2, + "zones_response_buffering_value": zones_response_buffering_value, + "zones_rocket_loader-2": zones_rocket_loader$$2, + "zones_rocket_loader_value": zones_rocket_loader_value, + "zones_schemas-automatic_platform_optimization": zones_schemas$$automatic_platform_optimization, + "zones_search_for_agents": zones_search_for_agents, + "zones_search_for_agents_value": zones_search_for_agents_value, + "zones_security_header": zones_security_header, + "zones_security_header_value": zones_security_header_value, + "zones_security_level-2": zones_security_level$$2, + "zones_security_level_value": zones_security_level_value, + "zones_server_side_exclude": zones_server_side_exclude, + "zones_server_side_exclude_value": zones_server_side_exclude_value, + "zones_setting": zones_setting, + "zones_sha1_support": zones_sha1_support, + "zones_sha1_support_value": zones_sha1_support_value, + "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache$$2, + "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value, + "zones_ssl-2": zones_ssl$$2, + "zones_ssl_recommender": zones_ssl_recommender, + "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled, + "zones_ssl_value": zones_ssl_value, + "zones_tls_1_2_only": zones_tls_1_2_only, + "zones_tls_1_2_only_value": zones_tls_1_2_only_value, + "zones_tls_1_3": zones_tls_1_3, + "zones_tls_1_3_value": zones_tls_1_3_value, + "zones_tls_client_auth": zones_tls_client_auth, + "zones_tls_client_auth_value": zones_tls_client_auth_value, + "zones_transformations": zones_transformations, + "zones_transformations_allowed_origins": zones_transformations_allowed_origins, + "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value, + "zones_true_client_ip_header-2": zones_true_client_ip_header$$2, + "zones_true_client_ip_header_value": zones_true_client_ip_header_value, + "zones_waf-2": zones_waf$$2, + "zones_waf_value": zones_waf_value, + "zones_webmcp_enabled": zones_webmcp_enabled, + "zones_webmcp_enabled_value": zones_webmcp_enabled_value, + "zones_webmcp_mcp_url": zones_webmcp_mcp_url, + "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value, + "zones_webmcp_packs": zones_webmcp_packs, + "zones_webmcp_packs_value": zones_webmcp_packs_value, + "zones_webp": zones_webp, + "zones_webp_value": zones_webp_value, + "zones_websockets": zones_websockets, + "zones_websockets_value": zones_websockets_value, }, }, request: (args) => ({ @@ -670,18 +678,26 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "setting_id": { - "$ref": "#/$defs/zones_setting_name", - "description": "Setting name" - }, - "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "path": { + "properties": { + "setting_id": { + "$ref": "#/$defs/zones_setting_name", + "description": "Setting name" + }, + "zone_id": { + "$ref": "#/$defs/zones_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id", + "setting_id" + ], + "type": "object" } }, required: [ - "zone_id", - "setting_id" + "path" ], $defs: { "zones_identifier": zones_identifier, @@ -703,144 +719,144 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_0rtt": zones_0rtt_output, - "zones_0rtt_value": zones_0rtt_value_output, - "zones_advanced_ddos": zones_advanced_ddos_output, - "zones_advanced_ddos_value": zones_advanced_ddos_value_output, - "zones_always_online": zones_always_online_output, - "zones_always_online_value": zones_always_online_value_output, - "zones_always_use_https-2": zones_always_use_https_2_output, - "zones_always_use_https_value": zones_always_use_https_value_output, - "zones_api-response-common-4": zones_api_response_common_4_output, - "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites_2_output, - "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value_output, - "zones_automatic_platform_optimization": zones_automatic_platform_optimization_output, - "zones_base": zones_base_output, - "zones_brotli": zones_brotli_output, - "zones_brotli_value": zones_brotli_value_output, - "zones_browser_cache_ttl-2": zones_browser_cache_ttl_2_output, - "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value_output, - "zones_browser_check-2": zones_browser_check_2_output, - "zones_browser_check_value": zones_browser_check_value_output, - "zones_cache-rules_aegis": zones_cache_rules_aegis_output, - "zones_cache-rules_aegis_value": zones_cache_rules_aegis_value_output, - "zones_cache-rules_base": zones_cache_rules_base_output, - "zones_cache-rules_origin_h2_max_streams": zones_cache_rules_origin_h2_max_streams_output, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache_rules_origin_h2_max_streams_value_output, - "zones_cache-rules_origin_max_http_version": zones_cache_rules_origin_max_http_version_output, - "zones_cache-rules_origin_max_http_version_value": zones_cache_rules_origin_max_http_version_value_output, - "zones_cache_level-2": zones_cache_level_2_output, - "zones_cache_level_value": zones_cache_level_value_output, - "zones_challenge_ttl": zones_challenge_ttl_output, - "zones_challenge_ttl_value": zones_challenge_ttl_value_output, - "zones_china_network_enabled": zones_china_network_enabled_output, - "zones_china_network_enabled_value": zones_china_network_enabled_value_output, - "zones_ciphers": zones_ciphers_output, - "zones_ciphers_value": zones_ciphers_value_output, - "zones_cname_flattening": zones_cname_flattening_output, - "zones_cname_flattening_value": zones_cname_flattening_value_output, - "zones_content_converter": zones_content_converter_output, - "zones_content_converter_value": zones_content_converter_value_output, - "zones_development_mode": zones_development_mode_output, - "zones_development_mode_value": zones_development_mode_value_output, - "zones_early_hints": zones_early_hints_output, - "zones_early_hints_value": zones_early_hints_value_output, - "zones_edge_cache_ttl-2": zones_edge_cache_ttl_2_output, - "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value_output, - "zones_email_obfuscation-2": zones_email_obfuscation_2_output, - "zones_email_obfuscation_value": zones_email_obfuscation_value_output, - "zones_h2_prioritization": zones_h2_prioritization_output, - "zones_h2_prioritization_value": zones_h2_prioritization_value_output, - "zones_hotlink_protection": zones_hotlink_protection_output, - "zones_hotlink_protection_value": zones_hotlink_protection_value_output, - "zones_http2": zones_http2_output, - "zones_http2_value": zones_http2_value_output, - "zones_http3": zones_http3_output, - "zones_http3_value": zones_http3_value_output, - "zones_image_resizing": zones_image_resizing_output, - "zones_image_resizing_value": zones_image_resizing_value_output, - "zones_ip_geolocation-2": zones_ip_geolocation_2_output, - "zones_ip_geolocation_value": zones_ip_geolocation_value_output, - "zones_ipv6": zones_ipv6_output, - "zones_ipv6_value": zones_ipv6_value_output, - "zones_max_upload": zones_max_upload_output, - "zones_max_upload_value": zones_max_upload_value_output, - "zones_messages": zones_messages_output, - "zones_min_tls_version": zones_min_tls_version_output, - "zones_min_tls_version_value": zones_min_tls_version_value_output, - "zones_mirage-2": zones_mirage_2_output, - "zones_mirage_value": zones_mirage_value_output, - "zones_nel": zones_nel_output, - "zones_nel_value": zones_nel_value_output, - "zones_opportunistic_encryption-2": zones_opportunistic_encryption_2_output, - "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value_output, - "zones_opportunistic_onion": zones_opportunistic_onion_output, - "zones_opportunistic_onion_value": zones_opportunistic_onion_value_output, - "zones_orange_to_orange": zones_orange_to_orange_output, - "zones_orange_to_orange_value": zones_orange_to_orange_value_output, - "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru_2_output, - "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value_output, - "zones_polish-2": zones_polish_2_output, - "zones_polish_value": zones_polish_value_output, - "zones_pre_render": zones_pre_render_output, - "zones_pre_render_value": zones_pre_render_value_output, - "zones_prefetch_preload": zones_prefetch_preload_output, - "zones_prefetch_preload_value": zones_prefetch_preload_value_output, - "zones_privacy_pass": zones_privacy_pass_output, - "zones_privacy_pass_value": zones_privacy_pass_value_output, - "zones_proxy_read_timeout": zones_proxy_read_timeout_output, - "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value_output, - "zones_pseudo_ipv4": zones_pseudo_ipv4_output, - "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value_output, - "zones_redirects_for_ai_training": zones_redirects_for_ai_training_output, - "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value_output, - "zones_replace_insecure_js": zones_replace_insecure_js_output, - "zones_replace_insecure_js_value": zones_replace_insecure_js_value_output, - "zones_response_buffering-2": zones_response_buffering_2_output, - "zones_response_buffering_value": zones_response_buffering_value_output, - "zones_rocket_loader-2": zones_rocket_loader_2_output, - "zones_rocket_loader_value": zones_rocket_loader_value_output, - "zones_schemas-automatic_platform_optimization": zones_schemas_automatic_platform_optimization_output, - "zones_search_for_agents": zones_search_for_agents_output, - "zones_search_for_agents_value": zones_search_for_agents_value_output, - "zones_security_header": zones_security_header_output, - "zones_security_header_value": zones_security_header_value_output, - "zones_security_level-2": zones_security_level_2_output, - "zones_security_level_value": zones_security_level_value_output, - "zones_server_side_exclude": zones_server_side_exclude_output, - "zones_server_side_exclude_value": zones_server_side_exclude_value_output, - "zones_setting": zones_setting_output, - "zones_sha1_support": zones_sha1_support_output, - "zones_sha1_support_value": zones_sha1_support_value_output, - "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache_2_output, - "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value_output, - "zones_ssl-2": zones_ssl_2_output, - "zones_ssl_recommender": zones_ssl_recommender_output, - "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled_output, - "zones_ssl_value": zones_ssl_value_output, - "zones_tls_1_2_only": zones_tls_1_2_only_output, - "zones_tls_1_2_only_value": zones_tls_1_2_only_value_output, - "zones_tls_1_3": zones_tls_1_3_output, - "zones_tls_1_3_value": zones_tls_1_3_value_output, - "zones_tls_client_auth": zones_tls_client_auth_output, - "zones_tls_client_auth_value": zones_tls_client_auth_value_output, - "zones_transformations": zones_transformations_output, - "zones_transformations_allowed_origins": zones_transformations_allowed_origins_output, - "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value_output, - "zones_true_client_ip_header-2": zones_true_client_ip_header_2_output, - "zones_true_client_ip_header_value": zones_true_client_ip_header_value_output, - "zones_waf-2": zones_waf_2_output, - "zones_waf_value": zones_waf_value_output, - "zones_webmcp_enabled": zones_webmcp_enabled_output, - "zones_webmcp_enabled_value": zones_webmcp_enabled_value_output, - "zones_webmcp_mcp_url": zones_webmcp_mcp_url_output, - "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value_output, - "zones_webmcp_packs": zones_webmcp_packs_output, - "zones_webmcp_packs_value": zones_webmcp_packs_value_output, - "zones_webp": zones_webp_output, - "zones_webp_value": zones_webp_value_output, - "zones_websockets": zones_websockets_output, - "zones_websockets_value": zones_websockets_value_output, + "zones_0rtt": zones_0rtt, + "zones_0rtt_value": zones_0rtt_value, + "zones_advanced_ddos": zones_advanced_ddos, + "zones_advanced_ddos_value": zones_advanced_ddos_value, + "zones_always_online": zones_always_online, + "zones_always_online_value": zones_always_online_value, + "zones_always_use_https-2": zones_always_use_https$$2, + "zones_always_use_https_value": zones_always_use_https_value, + "zones_api-response-common-4": zones_api$$response$$common$$4, + "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites$$2, + "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value, + "zones_automatic_platform_optimization": zones_automatic_platform_optimization, + "zones_base": zones_base, + "zones_brotli": zones_brotli, + "zones_brotli_value": zones_brotli_value, + "zones_browser_cache_ttl-2": zones_browser_cache_ttl$$2, + "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value, + "zones_browser_check-2": zones_browser_check$$2, + "zones_browser_check_value": zones_browser_check_value, + "zones_cache-rules_aegis": zones_cache$$rules_aegis, + "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value, + "zones_cache-rules_base": zones_cache$$rules_base, + "zones_cache-rules_origin_h2_max_streams": zones_cache$$rules_origin_h2_max_streams, + "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value, + "zones_cache-rules_origin_max_http_version": zones_cache$$rules_origin_max_http_version, + "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value, + "zones_cache_level-2": zones_cache_level$$2, + "zones_cache_level_value": zones_cache_level_value, + "zones_challenge_ttl": zones_challenge_ttl, + "zones_challenge_ttl_value": zones_challenge_ttl_value, + "zones_china_network_enabled": zones_china_network_enabled, + "zones_china_network_enabled_value": zones_china_network_enabled_value, + "zones_ciphers": zones_ciphers, + "zones_ciphers_value": zones_ciphers_value, + "zones_cname_flattening": zones_cname_flattening, + "zones_cname_flattening_value": zones_cname_flattening_value, + "zones_content_converter": zones_content_converter, + "zones_content_converter_value": zones_content_converter_value, + "zones_development_mode": zones_development_mode, + "zones_development_mode_value": zones_development_mode_value, + "zones_early_hints": zones_early_hints, + "zones_early_hints_value": zones_early_hints_value, + "zones_edge_cache_ttl-2": zones_edge_cache_ttl$$2, + "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value, + "zones_email_obfuscation-2": zones_email_obfuscation$$2, + "zones_email_obfuscation_value": zones_email_obfuscation_value, + "zones_h2_prioritization": zones_h2_prioritization, + "zones_h2_prioritization_value": zones_h2_prioritization_value, + "zones_hotlink_protection": zones_hotlink_protection, + "zones_hotlink_protection_value": zones_hotlink_protection_value, + "zones_http2": zones_http2, + "zones_http2_value": zones_http2_value, + "zones_http3": zones_http3, + "zones_http3_value": zones_http3_value, + "zones_image_resizing": zones_image_resizing, + "zones_image_resizing_value": zones_image_resizing_value, + "zones_ip_geolocation-2": zones_ip_geolocation$$2, + "zones_ip_geolocation_value": zones_ip_geolocation_value, + "zones_ipv6": zones_ipv6, + "zones_ipv6_value": zones_ipv6_value, + "zones_max_upload": zones_max_upload, + "zones_max_upload_value": zones_max_upload_value, + "zones_messages": zones_messages, + "zones_min_tls_version": zones_min_tls_version, + "zones_min_tls_version_value": zones_min_tls_version_value, + "zones_mirage-2": zones_mirage$$2, + "zones_mirage_value": zones_mirage_value, + "zones_nel": zones_nel, + "zones_nel_value": zones_nel_value, + "zones_opportunistic_encryption-2": zones_opportunistic_encryption$$2, + "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value, + "zones_opportunistic_onion": zones_opportunistic_onion, + "zones_opportunistic_onion_value": zones_opportunistic_onion_value, + "zones_orange_to_orange": zones_orange_to_orange, + "zones_orange_to_orange_value": zones_orange_to_orange_value, + "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru$$2, + "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value, + "zones_polish-2": zones_polish$$2, + "zones_polish_value": zones_polish_value, + "zones_pre_render": zones_pre_render, + "zones_pre_render_value": zones_pre_render_value, + "zones_prefetch_preload": zones_prefetch_preload, + "zones_prefetch_preload_value": zones_prefetch_preload_value, + "zones_privacy_pass": zones_privacy_pass, + "zones_privacy_pass_value": zones_privacy_pass_value, + "zones_proxy_read_timeout": zones_proxy_read_timeout, + "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value, + "zones_pseudo_ipv4": zones_pseudo_ipv4, + "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value, + "zones_redirects_for_ai_training": zones_redirects_for_ai_training, + "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value, + "zones_replace_insecure_js": zones_replace_insecure_js, + "zones_replace_insecure_js_value": zones_replace_insecure_js_value, + "zones_response_buffering-2": zones_response_buffering$$2, + "zones_response_buffering_value": zones_response_buffering_value, + "zones_rocket_loader-2": zones_rocket_loader$$2, + "zones_rocket_loader_value": zones_rocket_loader_value, + "zones_schemas-automatic_platform_optimization": zones_schemas$$automatic_platform_optimization, + "zones_search_for_agents": zones_search_for_agents, + "zones_search_for_agents_value": zones_search_for_agents_value, + "zones_security_header": zones_security_header, + "zones_security_header_value": zones_security_header_value, + "zones_security_level-2": zones_security_level$$2, + "zones_security_level_value": zones_security_level_value, + "zones_server_side_exclude": zones_server_side_exclude, + "zones_server_side_exclude_value": zones_server_side_exclude_value, + "zones_setting": zones_setting, + "zones_sha1_support": zones_sha1_support, + "zones_sha1_support_value": zones_sha1_support_value, + "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache$$2, + "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value, + "zones_ssl-2": zones_ssl$$2, + "zones_ssl_recommender": zones_ssl_recommender, + "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled, + "zones_ssl_value": zones_ssl_value, + "zones_tls_1_2_only": zones_tls_1_2_only, + "zones_tls_1_2_only_value": zones_tls_1_2_only_value, + "zones_tls_1_3": zones_tls_1_3, + "zones_tls_1_3_value": zones_tls_1_3_value, + "zones_tls_client_auth": zones_tls_client_auth, + "zones_tls_client_auth_value": zones_tls_client_auth_value, + "zones_transformations": zones_transformations, + "zones_transformations_allowed_origins": zones_transformations_allowed_origins, + "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value, + "zones_true_client_ip_header-2": zones_true_client_ip_header$$2, + "zones_true_client_ip_header_value": zones_true_client_ip_header_value, + "zones_waf-2": zones_waf$$2, + "zones_waf_value": zones_waf_value, + "zones_webmcp_enabled": zones_webmcp_enabled, + "zones_webmcp_enabled_value": zones_webmcp_enabled_value, + "zones_webmcp_mcp_url": zones_webmcp_mcp_url, + "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value, + "zones_webmcp_packs": zones_webmcp_packs, + "zones_webmcp_packs_value": zones_webmcp_packs_value, + "zones_webp": zones_webp, + "zones_webp_value": zones_webp_value, + "zones_websockets": zones_websockets, + "zones_websockets_value": zones_websockets_value, }, }, annotations: { @@ -891,145 +907,145 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_0rtt": zones_0rtt_output, - "zones_0rtt_value": zones_0rtt_value_output, - "zones_advanced_ddos": zones_advanced_ddos_output, - "zones_advanced_ddos_value": zones_advanced_ddos_value_output, - "zones_always_online": zones_always_online_output, - "zones_always_online_value": zones_always_online_value_output, - "zones_always_use_https-2": zones_always_use_https_2_output, - "zones_always_use_https_value": zones_always_use_https_value_output, - "zones_api-response-common-4": zones_api_response_common_4_output, - "zones_api-response-common-failure-3": zones_api_response_common_failure_3_output, - "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites_2_output, - "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value_output, - "zones_automatic_platform_optimization": zones_automatic_platform_optimization_output, - "zones_base": zones_base_output, - "zones_brotli": zones_brotli_output, - "zones_brotli_value": zones_brotli_value_output, - "zones_browser_cache_ttl-2": zones_browser_cache_ttl_2_output, - "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value_output, - "zones_browser_check-2": zones_browser_check_2_output, - "zones_browser_check_value": zones_browser_check_value_output, - "zones_cache-rules_aegis": zones_cache_rules_aegis_output, - "zones_cache-rules_aegis_value": zones_cache_rules_aegis_value_output, - "zones_cache-rules_base": zones_cache_rules_base_output, - "zones_cache-rules_origin_h2_max_streams": zones_cache_rules_origin_h2_max_streams_output, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache_rules_origin_h2_max_streams_value_output, - "zones_cache-rules_origin_max_http_version": zones_cache_rules_origin_max_http_version_output, - "zones_cache-rules_origin_max_http_version_value": zones_cache_rules_origin_max_http_version_value_output, - "zones_cache_level-2": zones_cache_level_2_output, - "zones_cache_level_value": zones_cache_level_value_output, - "zones_challenge_ttl": zones_challenge_ttl_output, - "zones_challenge_ttl_value": zones_challenge_ttl_value_output, - "zones_china_network_enabled": zones_china_network_enabled_output, - "zones_china_network_enabled_value": zones_china_network_enabled_value_output, - "zones_ciphers": zones_ciphers_output, - "zones_ciphers_value": zones_ciphers_value_output, - "zones_cname_flattening": zones_cname_flattening_output, - "zones_cname_flattening_value": zones_cname_flattening_value_output, - "zones_content_converter": zones_content_converter_output, - "zones_content_converter_value": zones_content_converter_value_output, - "zones_development_mode": zones_development_mode_output, - "zones_development_mode_value": zones_development_mode_value_output, - "zones_early_hints": zones_early_hints_output, - "zones_early_hints_value": zones_early_hints_value_output, - "zones_edge_cache_ttl-2": zones_edge_cache_ttl_2_output, - "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value_output, - "zones_email_obfuscation-2": zones_email_obfuscation_2_output, - "zones_email_obfuscation_value": zones_email_obfuscation_value_output, - "zones_h2_prioritization": zones_h2_prioritization_output, - "zones_h2_prioritization_value": zones_h2_prioritization_value_output, - "zones_hotlink_protection": zones_hotlink_protection_output, - "zones_hotlink_protection_value": zones_hotlink_protection_value_output, - "zones_http2": zones_http2_output, - "zones_http2_value": zones_http2_value_output, - "zones_http3": zones_http3_output, - "zones_http3_value": zones_http3_value_output, - "zones_image_resizing": zones_image_resizing_output, - "zones_image_resizing_value": zones_image_resizing_value_output, - "zones_ip_geolocation-2": zones_ip_geolocation_2_output, - "zones_ip_geolocation_value": zones_ip_geolocation_value_output, - "zones_ipv6": zones_ipv6_output, - "zones_ipv6_value": zones_ipv6_value_output, - "zones_max_upload": zones_max_upload_output, - "zones_max_upload_value": zones_max_upload_value_output, - "zones_messages": zones_messages_output, - "zones_min_tls_version": zones_min_tls_version_output, - "zones_min_tls_version_value": zones_min_tls_version_value_output, - "zones_mirage-2": zones_mirage_2_output, - "zones_mirage_value": zones_mirage_value_output, - "zones_nel": zones_nel_output, - "zones_nel_value": zones_nel_value_output, - "zones_opportunistic_encryption-2": zones_opportunistic_encryption_2_output, - "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value_output, - "zones_opportunistic_onion": zones_opportunistic_onion_output, - "zones_opportunistic_onion_value": zones_opportunistic_onion_value_output, - "zones_orange_to_orange": zones_orange_to_orange_output, - "zones_orange_to_orange_value": zones_orange_to_orange_value_output, - "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru_2_output, - "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value_output, - "zones_polish-2": zones_polish_2_output, - "zones_polish_value": zones_polish_value_output, - "zones_pre_render": zones_pre_render_output, - "zones_pre_render_value": zones_pre_render_value_output, - "zones_prefetch_preload": zones_prefetch_preload_output, - "zones_prefetch_preload_value": zones_prefetch_preload_value_output, - "zones_privacy_pass": zones_privacy_pass_output, - "zones_privacy_pass_value": zones_privacy_pass_value_output, - "zones_proxy_read_timeout": zones_proxy_read_timeout_output, - "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value_output, - "zones_pseudo_ipv4": zones_pseudo_ipv4_output, - "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value_output, - "zones_redirects_for_ai_training": zones_redirects_for_ai_training_output, - "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value_output, - "zones_replace_insecure_js": zones_replace_insecure_js_output, - "zones_replace_insecure_js_value": zones_replace_insecure_js_value_output, - "zones_response_buffering-2": zones_response_buffering_2_output, - "zones_response_buffering_value": zones_response_buffering_value_output, - "zones_rocket_loader-2": zones_rocket_loader_2_output, - "zones_rocket_loader_value": zones_rocket_loader_value_output, - "zones_schemas-automatic_platform_optimization": zones_schemas_automatic_platform_optimization_output, - "zones_search_for_agents": zones_search_for_agents_output, - "zones_search_for_agents_value": zones_search_for_agents_value_output, - "zones_security_header": zones_security_header_output, - "zones_security_header_value": zones_security_header_value_output, - "zones_security_level-2": zones_security_level_2_output, - "zones_security_level_value": zones_security_level_value_output, - "zones_server_side_exclude": zones_server_side_exclude_output, - "zones_server_side_exclude_value": zones_server_side_exclude_value_output, - "zones_setting": zones_setting_output, - "zones_sha1_support": zones_sha1_support_output, - "zones_sha1_support_value": zones_sha1_support_value_output, - "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache_2_output, - "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value_output, - "zones_ssl-2": zones_ssl_2_output, - "zones_ssl_recommender": zones_ssl_recommender_output, - "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled_output, - "zones_ssl_value": zones_ssl_value_output, - "zones_tls_1_2_only": zones_tls_1_2_only_output, - "zones_tls_1_2_only_value": zones_tls_1_2_only_value_output, - "zones_tls_1_3": zones_tls_1_3_output, - "zones_tls_1_3_value": zones_tls_1_3_value_output, - "zones_tls_client_auth": zones_tls_client_auth_output, - "zones_tls_client_auth_value": zones_tls_client_auth_value_output, - "zones_transformations": zones_transformations_output, - "zones_transformations_allowed_origins": zones_transformations_allowed_origins_output, - "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value_output, - "zones_true_client_ip_header-2": zones_true_client_ip_header_2_output, - "zones_true_client_ip_header_value": zones_true_client_ip_header_value_output, - "zones_waf-2": zones_waf_2_output, - "zones_waf_value": zones_waf_value_output, - "zones_webmcp_enabled": zones_webmcp_enabled_output, - "zones_webmcp_enabled_value": zones_webmcp_enabled_value_output, - "zones_webmcp_mcp_url": zones_webmcp_mcp_url_output, - "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value_output, - "zones_webmcp_packs": zones_webmcp_packs_output, - "zones_webmcp_packs_value": zones_webmcp_packs_value_output, - "zones_webp": zones_webp_output, - "zones_webp_value": zones_webp_value_output, - "zones_websockets": zones_websockets_output, - "zones_websockets_value": zones_websockets_value_output, + "zones_0rtt": zones_0rtt, + "zones_0rtt_value": zones_0rtt_value, + "zones_advanced_ddos": zones_advanced_ddos, + "zones_advanced_ddos_value": zones_advanced_ddos_value, + "zones_always_online": zones_always_online, + "zones_always_online_value": zones_always_online_value, + "zones_always_use_https-2": zones_always_use_https$$2, + "zones_always_use_https_value": zones_always_use_https_value, + "zones_api-response-common-4": zones_api$$response$$common$$4, + "zones_api-response-common-failure-3": zones_api$$response$$common$$failure$$3, + "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites$$2, + "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value, + "zones_automatic_platform_optimization": zones_automatic_platform_optimization, + "zones_base": zones_base, + "zones_brotli": zones_brotli, + "zones_brotli_value": zones_brotli_value, + "zones_browser_cache_ttl-2": zones_browser_cache_ttl$$2, + "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value, + "zones_browser_check-2": zones_browser_check$$2, + "zones_browser_check_value": zones_browser_check_value, + "zones_cache-rules_aegis": zones_cache$$rules_aegis, + "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value, + "zones_cache-rules_base": zones_cache$$rules_base, + "zones_cache-rules_origin_h2_max_streams": zones_cache$$rules_origin_h2_max_streams, + "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value, + "zones_cache-rules_origin_max_http_version": zones_cache$$rules_origin_max_http_version, + "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value, + "zones_cache_level-2": zones_cache_level$$2, + "zones_cache_level_value": zones_cache_level_value, + "zones_challenge_ttl": zones_challenge_ttl, + "zones_challenge_ttl_value": zones_challenge_ttl_value, + "zones_china_network_enabled": zones_china_network_enabled, + "zones_china_network_enabled_value": zones_china_network_enabled_value, + "zones_ciphers": zones_ciphers, + "zones_ciphers_value": zones_ciphers_value, + "zones_cname_flattening": zones_cname_flattening, + "zones_cname_flattening_value": zones_cname_flattening_value, + "zones_content_converter": zones_content_converter, + "zones_content_converter_value": zones_content_converter_value, + "zones_development_mode": zones_development_mode, + "zones_development_mode_value": zones_development_mode_value, + "zones_early_hints": zones_early_hints, + "zones_early_hints_value": zones_early_hints_value, + "zones_edge_cache_ttl-2": zones_edge_cache_ttl$$2, + "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value, + "zones_email_obfuscation-2": zones_email_obfuscation$$2, + "zones_email_obfuscation_value": zones_email_obfuscation_value, + "zones_h2_prioritization": zones_h2_prioritization, + "zones_h2_prioritization_value": zones_h2_prioritization_value, + "zones_hotlink_protection": zones_hotlink_protection, + "zones_hotlink_protection_value": zones_hotlink_protection_value, + "zones_http2": zones_http2, + "zones_http2_value": zones_http2_value, + "zones_http3": zones_http3, + "zones_http3_value": zones_http3_value, + "zones_image_resizing": zones_image_resizing, + "zones_image_resizing_value": zones_image_resizing_value, + "zones_ip_geolocation-2": zones_ip_geolocation$$2, + "zones_ip_geolocation_value": zones_ip_geolocation_value, + "zones_ipv6": zones_ipv6, + "zones_ipv6_value": zones_ipv6_value, + "zones_max_upload": zones_max_upload, + "zones_max_upload_value": zones_max_upload_value, + "zones_messages": zones_messages, + "zones_min_tls_version": zones_min_tls_version, + "zones_min_tls_version_value": zones_min_tls_version_value, + "zones_mirage-2": zones_mirage$$2, + "zones_mirage_value": zones_mirage_value, + "zones_nel": zones_nel, + "zones_nel_value": zones_nel_value, + "zones_opportunistic_encryption-2": zones_opportunistic_encryption$$2, + "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value, + "zones_opportunistic_onion": zones_opportunistic_onion, + "zones_opportunistic_onion_value": zones_opportunistic_onion_value, + "zones_orange_to_orange": zones_orange_to_orange, + "zones_orange_to_orange_value": zones_orange_to_orange_value, + "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru$$2, + "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value, + "zones_polish-2": zones_polish$$2, + "zones_polish_value": zones_polish_value, + "zones_pre_render": zones_pre_render, + "zones_pre_render_value": zones_pre_render_value, + "zones_prefetch_preload": zones_prefetch_preload, + "zones_prefetch_preload_value": zones_prefetch_preload_value, + "zones_privacy_pass": zones_privacy_pass, + "zones_privacy_pass_value": zones_privacy_pass_value, + "zones_proxy_read_timeout": zones_proxy_read_timeout, + "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value, + "zones_pseudo_ipv4": zones_pseudo_ipv4, + "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value, + "zones_redirects_for_ai_training": zones_redirects_for_ai_training, + "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value, + "zones_replace_insecure_js": zones_replace_insecure_js, + "zones_replace_insecure_js_value": zones_replace_insecure_js_value, + "zones_response_buffering-2": zones_response_buffering$$2, + "zones_response_buffering_value": zones_response_buffering_value, + "zones_rocket_loader-2": zones_rocket_loader$$2, + "zones_rocket_loader_value": zones_rocket_loader_value, + "zones_schemas-automatic_platform_optimization": zones_schemas$$automatic_platform_optimization, + "zones_search_for_agents": zones_search_for_agents, + "zones_search_for_agents_value": zones_search_for_agents_value, + "zones_security_header": zones_security_header, + "zones_security_header_value": zones_security_header_value, + "zones_security_level-2": zones_security_level$$2, + "zones_security_level_value": zones_security_level_value, + "zones_server_side_exclude": zones_server_side_exclude, + "zones_server_side_exclude_value": zones_server_side_exclude_value, + "zones_setting": zones_setting, + "zones_sha1_support": zones_sha1_support, + "zones_sha1_support_value": zones_sha1_support_value, + "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache$$2, + "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value, + "zones_ssl-2": zones_ssl$$2, + "zones_ssl_recommender": zones_ssl_recommender, + "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled, + "zones_ssl_value": zones_ssl_value, + "zones_tls_1_2_only": zones_tls_1_2_only, + "zones_tls_1_2_only_value": zones_tls_1_2_only_value, + "zones_tls_1_3": zones_tls_1_3, + "zones_tls_1_3_value": zones_tls_1_3_value, + "zones_tls_client_auth": zones_tls_client_auth, + "zones_tls_client_auth_value": zones_tls_client_auth_value, + "zones_transformations": zones_transformations, + "zones_transformations_allowed_origins": zones_transformations_allowed_origins, + "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value, + "zones_true_client_ip_header-2": zones_true_client_ip_header$$2, + "zones_true_client_ip_header_value": zones_true_client_ip_header_value, + "zones_waf-2": zones_waf$$2, + "zones_waf_value": zones_waf_value, + "zones_webmcp_enabled": zones_webmcp_enabled, + "zones_webmcp_enabled_value": zones_webmcp_enabled_value, + "zones_webmcp_mcp_url": zones_webmcp_mcp_url, + "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value, + "zones_webmcp_packs": zones_webmcp_packs, + "zones_webmcp_packs_value": zones_webmcp_packs_value, + "zones_webp": zones_webp, + "zones_webp_value": zones_webp_value, + "zones_websockets": zones_websockets, + "zones_websockets_value": zones_websockets_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/speedBrain/outputs.ts b/src/generated/forge-mcp/zones/speedBrain/outputs.ts index e8f6b5d31..0e294dce6 100644 --- a/src/generated/forge-mcp/zones/speedBrain/outputs.ts +++ b/src/generated/forge-mcp/zones/speedBrain/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_cloudflare_speed_brain_response` in responses. */ -export const speed_cloudflare_speed_brain_response_output: JsonSchema = { +export const speed_cloudflare_speed_brain_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" diff --git a/src/generated/forge-mcp/zones/speedBrain/tools.ts b/src/generated/forge-mcp/zones/speedBrain/tools.ts index 018308fc4..02d5f2bcc 100644 --- a/src/generated/forge-mcp/zones/speedBrain/tools.ts +++ b/src/generated/forge-mcp/zones/speedBrain/tools.ts @@ -3,20 +3,20 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; -import { speed_cloudflare_speed_brain_response_output } from "./outputs.js"; +import { speed_cloudflare_speed_brain_response } from "./outputs.js"; /** - * The tools of `zones.speed_brain`. + * The tools of `zones.speedBrain`. */ export const tools: readonly Tool[] = [ { - name: "zones_speed_brain_edit", + name: "zones_speedBrain_edit", title: "Change Cloudflare Speed Brain setting", description: "Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website\nnavigation faster. Refer to the Cloudflare Speed Brain documentation for more information.", inputSchema: { @@ -38,13 +38,21 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { @@ -66,10 +74,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response, + "speed_messages": speed_messages, }, }, annotations: { @@ -119,11 +127,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response, + "speed_messages": speed_messages, }, }, request: (args) => ({ @@ -132,19 +140,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_speed_brain_get", + name: "zones_speedBrain_get", title: "Get Cloudflare Speed Brain setting", description: "Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website\nnavigation faster. Refer to the Cloudflare Speed Brain documentation for more information.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -165,10 +181,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response, + "speed_messages": speed_messages, }, }, annotations: { @@ -219,11 +235,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response_output, - "speed_messages": speed_messages_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_cloudflare_speed_brain_response": speed_cloudflare_speed_brain_response, + "speed_messages": speed_messages, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/subscriptions/outputs.ts b/src/generated/forge-mcp/zones/subscriptions/outputs.ts index 71f3954ad..dcca18a5a 100644 --- a/src/generated/forge-mcp/zones/subscriptions/outputs.ts +++ b/src/generated/forge-mcp/zones/subscriptions/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `bill-subs-api_frequency_response` in responses. */ -export const bill_subs_api_frequency_response_output: JsonSchema = { +export const bill$$subs$$api_frequency_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_frequency" @@ -27,7 +27,7 @@ export const bill_subs_api_frequency_response_output: JsonSchema = { /** * The schema of `bill-subs-api_subscription_response` in responses. */ -export const bill_subs_api_subscription_response_output: JsonSchema = { +export const bill$$subs$$api_subscription_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_subscription-v2" @@ -46,7 +46,7 @@ export const bill_subs_api_subscription_response_output: JsonSchema = { /** * The schema of `bill-subs-api_zone_subscription_response_single` in responses. */ -export const bill_subs_api_zone_subscription_response_single_output: JsonSchema = { +export const bill$$subs$$api_zone_subscription_response_single: JsonSchema = { "allOf": [ { "$ref": "#/$defs/bill-subs-api_api-response-single" diff --git a/src/generated/forge-mcp/zones/subscriptions/tools.ts b/src/generated/forge-mcp/zones/subscriptions/tools.ts index e1c1464bd..1aa727c4f 100644 --- a/src/generated/forge-mcp/zones/subscriptions/tools.ts +++ b/src/generated/forge-mcp/zones/subscriptions/tools.ts @@ -3,40 +3,40 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - bill_subs_api_api_response_common_failure_output, - bill_subs_api_api_response_common_output, - bill_subs_api_api_response_single_output, - bill_subs_api_component_value_output, - bill_subs_api_component_values_output, - bill_subs_api_currency_output, - bill_subs_api_current_period_end_output, - bill_subs_api_current_period_start_output, - bill_subs_api_frequency_output, - bill_subs_api_identifier_output, - bill_subs_api_install_id_output, - bill_subs_api_messages_output, - bill_subs_api_name_output, - bill_subs_api_price_output, - bill_subs_api_rate_plan_output, - bill_subs_api_schemas_identifier_output, - bill_subs_api_state_output, - bill_subs_api_subscription_v2_output, - bill_subs_api_zone_output, + bill$$subs$$api_api$$response$$common, + bill$$subs$$api_api$$response$$common$$failure, + bill$$subs$$api_api$$response$$single, + bill$$subs$$api_component_value, + bill$$subs$$api_component_values, + bill$$subs$$api_currency, + bill$$subs$$api_current_period_end, + bill$$subs$$api_current_period_start, + bill$$subs$$api_frequency, + bill$$subs$$api_identifier, + bill$$subs$$api_install_id, + bill$$subs$$api_messages, + bill$$subs$$api_name, + bill$$subs$$api_price, + bill$$subs$$api_rate_plan, + bill$$subs$$api_schemas$$identifier, + bill$$subs$$api_state, + bill$$subs$$api_subscription$$v2, + bill$$subs$$api_zone, } from "../../outputs.js"; import { - bill_subs_api_component_value, - bill_subs_api_component_values, - bill_subs_api_frequency, - bill_subs_api_identifier, - bill_subs_api_install_id, - bill_subs_api_rate_plan, - bill_subs_api_subscription_v2, - bill_subs_api_zone, + bill$$subs$$api_component_value as bill$$subs$$api_component_value$, + bill$$subs$$api_component_values as bill$$subs$$api_component_values$, + bill$$subs$$api_frequency as bill$$subs$$api_frequency$, + bill$$subs$$api_identifier as bill$$subs$$api_identifier$, + bill$$subs$$api_install_id as bill$$subs$$api_install_id$, + bill$$subs$$api_rate_plan as bill$$subs$$api_rate_plan$, + bill$$subs$$api_subscription$$v2 as bill$$subs$$api_subscription$$v2$, + bill$$subs$$api_zone as bill$$subs$$api_zone$, } from "../../schemas.js"; import { - bill_subs_api_frequency_response_output, - bill_subs_api_subscription_response_output, - bill_subs_api_zone_subscription_response_single_output, + bill$$subs$$api_frequency_response, + bill$$subs$$api_subscription_response, + bill$$subs$$api_zone_subscription_response_single, } from "./outputs.js"; /** @@ -53,50 +53,58 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/bill-subs-api_subscription-v2" }, - "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "bill-subs-api_component_value": bill_subs_api_component_value, - "bill-subs-api_component_values": bill_subs_api_component_values, - "bill-subs-api_frequency": bill_subs_api_frequency, - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_install_id": bill_subs_api_install_id, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2, - "bill-subs-api_zone": bill_subs_api_zone, + "bill-subs-api_component_value": bill$$subs$$api_component_value$, + "bill-subs-api_component_values": bill$$subs$$api_component_values$, + "bill-subs-api_frequency": bill$$subs$$api_frequency$, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, + "bill-subs-api_install_id": bill$$subs$$api_install_id$, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2$, + "bill-subs-api_zone": bill$$subs$$api_zone$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_zone_subscription_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_frequency_response": bill_subs_api_frequency_response_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, - "bill-subs-api_subscription_response": bill_subs_api_subscription_response_output, - "bill-subs-api_zone": bill_subs_api_zone_output, - "bill-subs-api_zone_subscription_response_single": bill_subs_api_zone_subscription_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, + "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, + "bill-subs-api_zone": bill$$subs$$api_zone, + "bill-subs-api_zone_subscription_response_single": bill$$subs$$api_zone_subscription_response_single, }, }, annotations: { @@ -135,28 +143,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_frequency_response": bill_subs_api_frequency_response_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, - "bill-subs-api_subscription_response": bill_subs_api_subscription_response_output, - "bill-subs-api_zone": bill_subs_api_zone_output, - "bill-subs-api_zone_subscription_response_single": bill_subs_api_zone_subscription_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, + "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, + "bill-subs-api_zone": bill$$subs$$api_zone, + "bill-subs-api_zone_subscription_response_single": bill$$subs$$api_zone_subscription_response_single, }, }, request: (args) => ({ @@ -171,16 +179,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, }, }, outputSchema: { @@ -203,10 +219,10 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, annotations: { @@ -261,11 +277,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_messages": bill_subs_api_messages_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, request: (args) => ({ @@ -279,42 +295,50 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "bill-subs-api_identifier": bill_subs_api_identifier, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_zone_subscription_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_frequency_response": bill_subs_api_frequency_response_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, - "bill-subs-api_subscription_response": bill_subs_api_subscription_response_output, - "bill-subs-api_zone": bill_subs_api_zone_output, - "bill-subs-api_zone_subscription_response_single": bill_subs_api_zone_subscription_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, + "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, + "bill-subs-api_zone": bill$$subs$$api_zone, + "bill-subs-api_zone_subscription_response_single": bill$$subs$$api_zone_subscription_response_single, }, }, annotations: { @@ -353,28 +377,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_frequency_response": bill_subs_api_frequency_response_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, - "bill-subs-api_subscription_response": bill_subs_api_subscription_response_output, - "bill-subs-api_zone": bill_subs_api_zone_output, - "bill-subs-api_zone_subscription_response_single": bill_subs_api_zone_subscription_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, + "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, + "bill-subs-api_zone": bill$$subs$$api_zone, + "bill-subs-api_zone_subscription_response_single": bill$$subs$$api_zone_subscription_response_single, }, }, request: (args) => ({ @@ -391,50 +415,58 @@ export const tools: readonly Tool[] = [ "body": { "$ref": "#/$defs/bill-subs-api_subscription-v2" }, - "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/bill-subs-api_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "bill-subs-api_component_value": bill_subs_api_component_value, - "bill-subs-api_component_values": bill_subs_api_component_values, - "bill-subs-api_frequency": bill_subs_api_frequency, - "bill-subs-api_identifier": bill_subs_api_identifier, - "bill-subs-api_install_id": bill_subs_api_install_id, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2, - "bill-subs-api_zone": bill_subs_api_zone, + "bill-subs-api_component_value": bill$$subs$$api_component_value$, + "bill-subs-api_component_values": bill$$subs$$api_component_values$, + "bill-subs-api_frequency": bill$$subs$$api_frequency$, + "bill-subs-api_identifier": bill$$subs$$api_identifier$, + "bill-subs-api_install_id": bill$$subs$$api_install_id$, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2$, + "bill-subs-api_zone": bill$$subs$$api_zone$, }, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_zone_subscription_response_single", $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "bill-subs-api_api-response-single": bill_subs_api_api_response_single_output, - "bill-subs-api_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_frequency_response": bill_subs_api_frequency_response_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, - "bill-subs-api_subscription_response": bill_subs_api_subscription_response_output, - "bill-subs-api_zone": bill_subs_api_zone_output, - "bill-subs-api_zone_subscription_response_single": bill_subs_api_zone_subscription_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, + "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, + "bill-subs-api_zone": bill$$subs$$api_zone, + "bill-subs-api_zone_subscription_response_single": bill$$subs$$api_zone_subscription_response_single, }, }, annotations: { @@ -473,28 +505,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bill-subs-api_api-response-common": bill_subs_api_api_response_common_output, - "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_component_value": bill_subs_api_component_value_output, - "bill-subs-api_component_values": bill_subs_api_component_values_output, - "bill-subs-api_currency": bill_subs_api_currency_output, - "bill-subs-api_current_period_end": bill_subs_api_current_period_end_output, - "bill-subs-api_current_period_start": bill_subs_api_current_period_start_output, - "bill-subs-api_frequency": bill_subs_api_frequency_output, - "bill-subs-api_frequency_response": bill_subs_api_frequency_response_output, - "bill-subs-api_identifier": bill_subs_api_identifier_output, - "bill-subs-api_install_id": bill_subs_api_install_id_output, - "bill-subs-api_messages": bill_subs_api_messages_output, - "bill-subs-api_name": bill_subs_api_name_output, - "bill-subs-api_price": bill_subs_api_price_output, - "bill-subs-api_rate_plan": bill_subs_api_rate_plan_output, - "bill-subs-api_schemas-identifier": bill_subs_api_schemas_identifier_output, - "bill-subs-api_state": bill_subs_api_state_output, - "bill-subs-api_subscription-v2": bill_subs_api_subscription_v2_output, - "bill-subs-api_subscription_response": bill_subs_api_subscription_response_output, - "bill-subs-api_zone": bill_subs_api_zone_output, - "bill-subs-api_zone_subscription_response_single": bill_subs_api_zone_subscription_response_single_output, + "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, + "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, + "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, + "bill-subs-api_component_value": bill$$subs$$api_component_value, + "bill-subs-api_component_values": bill$$subs$$api_component_values, + "bill-subs-api_currency": bill$$subs$$api_currency, + "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, + "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, + "bill-subs-api_frequency": bill$$subs$$api_frequency, + "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, + "bill-subs-api_identifier": bill$$subs$$api_identifier, + "bill-subs-api_install_id": bill$$subs$$api_install_id, + "bill-subs-api_messages": bill$$subs$$api_messages, + "bill-subs-api_name": bill$$subs$$api_name, + "bill-subs-api_price": bill$$subs$$api_price, + "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, + "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, + "bill-subs-api_state": bill$$subs$$api_state, + "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, + "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, + "bill-subs-api_zone": bill$$subs$$api_zone, + "bill-subs-api_zone_subscription_response_single": bill$$subs$$api_zone_subscription_response_single, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/tools.ts b/src/generated/forge-mcp/zones/tools.ts index f35da62a6..3ee2930e7 100644 --- a/src/generated/forge-mcp/zones/tools.ts +++ b/src/generated/forge-mcp/zones/tools.ts @@ -1,23 +1,23 @@ // Code generated by forge. DO NOT EDIT. /* eslint-disable */ -import { type Tool, pathParam } from "../_/tool.js"; -import { - zones_api_response_common_failure_output, - zones_api_response_common_output, - zones_api_response_single_id_output, - zones_identifier_output, - zones_messages_output, - zones_paused_output, - zones_result_info_output, - zones_type_output, - zones_zone_output, -} from "./outputs.js"; +import { type Tool, param, pathParam } from "../_/tool.js"; import { + zones_api$$response$$common, + zones_api$$response$$common$$failure, + zones_api$$response$$single$$id, zones_identifier, - zones_name, + zones_messages, zones_paused, + zones_result_info, zones_type, + zones_zone, +} from "./outputs.js"; +import { + zones_identifier as zones_identifier$, + zones_name, + zones_paused as zones_paused$, + zones_type as zones_type$, zones_vanity_name_servers, } from "./schemas.js"; @@ -64,9 +64,9 @@ export const tools: readonly Tool[] = [ "body" ], $defs: { - "zones_identifier": zones_identifier, + "zones_identifier": zones_identifier$, "zones_name": zones_name, - "zones_type": zones_type, + "zones_type": zones_type$, }, }, outputSchema: { @@ -84,12 +84,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, - "zones_paused": zones_paused_output, - "zones_type": zones_type_output, - "zones_zone": zones_zone_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, + "zones_paused": zones_paused, + "zones_type": zones_type, + "zones_zone": zones_zone, }, }, annotations: { @@ -129,13 +129,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_api-response-common-failure": zones_api_response_common_failure_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, - "zones_paused": zones_paused_output, - "zones_type": zones_type_output, - "zones_zone": zones_zone_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_api-response-common-failure": zones_api$$response$$common$$failure, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, + "zones_paused": zones_paused, + "zones_type": zones_type, + "zones_zone": zones_zone, }, }, request: (args) => ({ @@ -150,25 +150,33 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zones_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "zones_identifier": zones_identifier, + "zones_identifier": zones_identifier$, }, }, outputSchema: { "$ref": "#/$defs/zones_api-response-single-id", $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_api-response-single-id": zones_api_response_single_id_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_api-response-single-id": zones_api$$response$$single$$id, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, }, }, annotations: { @@ -206,11 +214,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_api-response-common-failure": zones_api_response_common_failure_output, - "zones_api-response-single-id": zones_api_response_single_id_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_api-response-common-failure": zones_api$$response$$common$$failure, + "zones_api-response-single-id": zones_api$$response$$single$$id, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, }, }, request: (args) => ({ @@ -259,18 +267,26 @@ export const tools: readonly Tool[] = [ }, "type": "object" }, - "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zones_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { - "zones_identifier": zones_identifier, - "zones_paused": zones_paused, + "zones_identifier": zones_identifier$, + "zones_paused": zones_paused$, "zones_vanity_name_servers": zones_vanity_name_servers, }, }, @@ -289,12 +305,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, - "zones_paused": zones_paused_output, - "zones_type": zones_type_output, - "zones_zone": zones_zone_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, + "zones_paused": zones_paused, + "zones_type": zones_type, + "zones_zone": zones_zone, }, }, annotations: { @@ -339,13 +355,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_api-response-common-failure": zones_api_response_common_failure_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, - "zones_paused": zones_paused_output, - "zones_type": zones_type_output, - "zones_zone": zones_zone_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_api-response-common-failure": zones_api$$response$$common$$failure, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, + "zones_paused": zones_paused, + "zones_type": zones_type, + "zones_zone": zones_zone, }, }, request: (args) => ({ @@ -360,16 +376,24 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/zones_identifier", + "description": "Identifier" + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { - "zones_identifier": zones_identifier, + "zones_identifier": zones_identifier$, }, }, outputSchema: { @@ -387,12 +411,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, - "zones_paused": zones_paused_output, - "zones_type": zones_type_output, - "zones_zone": zones_zone_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, + "zones_paused": zones_paused, + "zones_type": zones_type, + "zones_zone": zones_zone, }, }, annotations: { @@ -480,13 +504,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_api-response-common-failure": zones_api_response_common_failure_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, - "zones_paused": zones_paused_output, - "zones_type": zones_type_output, - "zones_zone": zones_zone_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_api-response-common-failure": zones_api$$response$$common$$failure, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, + "zones_paused": zones_paused, + "zones_type": zones_type, + "zones_zone": zones_zone, }, }, request: (args) => ({ @@ -500,78 +524,83 @@ export const tools: readonly Tool[] = [ inputSchema: { type: "object", properties: { - "account_id": { - "description": "Filter by an account ID.", - "type": "string" - }, - "account_name": { - "description": "An account Name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`\n", - "type": "string" - }, - "direction": { - "description": "Direction to order zones.", - "enum": [ - "asc", - "desc" - ], - "type": "string" - }, - "match": { - "default": "all", - "description": "Whether to match all search requirements or at least one (any).", - "enum": [ - "any", - "all" - ], - "type": "string" - }, - "name": { - "description": "A domain name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`\n", - "type": "string" - }, - "order": { - "description": "Field to order zones by.", - "enum": [ - "name", - "status", - "account.id", - "account.name", - "plan.id" - ], - "type": "string" - }, - "page": { - "default": 1, - "description": "Page number of paginated results.", - "type": "number" - }, - "per_page": { - "default": 20, - "description": "Number of zones per page.", - "type": "number" - }, - "status": { - "description": "Specify a zone status to filter by.", - "enum": [ - "initializing", - "pending", - "active", - "moved" - ], - "type": "string" - }, - "type": { - "description": "Zone types to filter by. Multiple types can be specified as a comma-separated list (e.g., ?type=full,partial,secondary). When this parameter is not provided, zones with type \"internal\" are excluded from the results.", - "items": { - "enum": [ - "full", - "partial", - "secondary", - "internal" - ], - "type": "string" + "query": { + "properties": { + "account.id": { + "description": "Filter by an account ID.", + "type": "string" + }, + "account.name": { + "description": "An account Name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`\n", + "type": "string" + }, + "direction": { + "description": "Direction to order zones.", + "enum": [ + "asc", + "desc" + ], + "type": "string" + }, + "match": { + "default": "all", + "description": "Whether to match all search requirements or at least one (any).", + "enum": [ + "any", + "all" + ], + "type": "string" + }, + "name": { + "description": "A domain name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`\n", + "type": "string" + }, + "order": { + "description": "Field to order zones by.", + "enum": [ + "name", + "status", + "account.id", + "account.name", + "plan.id" + ], + "type": "string" + }, + "page": { + "default": 1, + "description": "Page number of paginated results.", + "type": "number" + }, + "per_page": { + "default": 20, + "description": "Number of zones per page.", + "type": "number" + }, + "status": { + "description": "Specify a zone status to filter by.", + "enum": [ + "initializing", + "pending", + "active", + "moved" + ], + "type": "string" + }, + "type": { + "description": "Zone types to filter by. Multiple types can be specified as a comma-separated list (e.g., ?type=full,partial,secondary). When this parameter is not provided, zones with type \"internal\" are excluded from the results.", + "items": { + "enum": [ + "full", + "partial", + "secondary", + "internal" + ], + "type": "string" + }, + "type": "array" + } }, - "type": "array" + "type": "object" } }, }, @@ -601,13 +630,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, - "zones_paused": zones_paused_output, - "zones_result_info": zones_result_info_output, - "zones_type": zones_type_output, - "zones_zone": zones_zone_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, + "zones_paused": zones_paused, + "zones_result_info": zones_result_info, + "zones_type": zones_type, + "zones_zone": zones_zone, }, }, annotations: { @@ -657,29 +686,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zones_api-response-common": zones_api_response_common_output, - "zones_api-response-common-failure": zones_api_response_common_failure_output, - "zones_identifier": zones_identifier_output, - "zones_messages": zones_messages_output, - "zones_paused": zones_paused_output, - "zones_result_info": zones_result_info_output, - "zones_type": zones_type_output, - "zones_zone": zones_zone_output, + "zones_api-response-common": zones_api$$response$$common, + "zones_api-response-common-failure": zones_api$$response$$common$$failure, + "zones_identifier": zones_identifier, + "zones_messages": zones_messages, + "zones_paused": zones_paused, + "zones_result_info": zones_result_info, + "zones_type": zones_type, + "zones_zone": zones_zone, }, }, request: (args) => ({ path: `/zones`, query: [ - ["name", args["name"], true], - ["status", args["status"], true], - ["type", args["type"], false], - ["account.id", args["account_id"], true], - ["account.name", args["account_name"], true], - ["page", args["page"], true], - ["per_page", args["per_page"], true], - ["order", args["order"], true], - ["direction", args["direction"], true], - ["match", args["match"], true], + ["name", param(args, "query", "name"), true], + ["status", param(args, "query", "status"), true], + ["type", param(args, "query", "type"), false], + ["account.id", param(args, "query", "account.id"), true], + ["account.name", param(args, "query", "account.name"), true], + ["page", param(args, "query", "page"), true], + ["per_page", param(args, "query", "per_page"), true], + ["order", param(args, "query", "order"), true], + ["direction", param(args, "query", "direction"), true], + ["match", param(args, "query", "match"), true], ], }), }, diff --git a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts index ce7b5ac4b..69f4384be 100644 --- a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts +++ b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_transformations_allowed_origins_response` in responses. */ -export const speed_transformations_allowed_origins_response_output: JsonSchema = { +export const speed_transformations_allowed_origins_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" @@ -31,6 +31,6 @@ export const speed_transformations_allowed_origins_response_output: JsonSchema = /** * The schema of `speed_transformations_allowed_origins_value` in responses. */ -export const speed_transformations_allowed_origins_value_output: JsonSchema = { +export const speed_transformations_allowed_origins_value: JsonSchema = { "type": "string" }; diff --git a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts index c08b99286..b3d72e748 100644 --- a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts +++ b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts @@ -3,24 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; import { - speed_transformations_allowed_origins_response_output, - speed_transformations_allowed_origins_value_output, + speed_transformations_allowed_origins_response, + speed_transformations_allowed_origins_value, } from "./outputs.js"; -import { speed_transformations_allowed_origins_value } from "./schemas.js"; +import { speed_transformations_allowed_origins_value as speed_transformations_allowed_origins_value$ } from "./schemas.js"; /** - * The tools of `zones.transformations_allowed_origins`. + * The tools of `zones.transformationsAllowedOrigins`. */ export const tools: readonly Tool[] = [ { - name: "zones_transformations_allowed_origins_edit", + name: "zones_transformationsAllowedOrigins_edit", title: "Change Image Transformations Allowed Origins setting", description: "Media Transformations Allowed Origins restricts transformations for images and video served through\nCloudflare's network to requests originating from specified domains. Refer to the\nImage Transformations and Video Transformations documentation for more information.", inputSchema: { @@ -38,18 +38,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "speed_identifier": speed_identifier, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value, + "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value$, }, }, outputSchema: { @@ -67,11 +75,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response_output, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response, + "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value, }, }, annotations: { @@ -116,12 +124,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response_output, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response, + "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value, }, }, request: (args) => ({ @@ -130,19 +138,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_transformations_allowed_origins_get", + name: "zones_transformationsAllowedOrigins_get", title: "Get Image Transformations Allowed Origins setting", description: "Media Transformations Allowed Origins restricts transformations for images and video served through\nCloudflare's network to requests originating from specified domains. Refer to the\nImage Transformations and Video Transformations documentation for more information.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -163,11 +179,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response_output, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response, + "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value, }, }, annotations: { @@ -213,12 +229,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response_output, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response, + "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts b/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts index 6b71d852b..cb048f3a4 100644 --- a/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts +++ b/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_transformations_c2pa_response` in responses. */ -export const speed_transformations_c2pa_response_output: JsonSchema = { +export const speed_transformations_c2pa_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" @@ -31,7 +31,7 @@ export const speed_transformations_c2pa_response_output: JsonSchema = { /** * The schema of `speed_transformations_c2pa_value` in responses. */ -export const speed_transformations_c2pa_value_output: JsonSchema = { +export const speed_transformations_c2pa_value: JsonSchema = { "enum": [ "off", "on" diff --git a/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts b/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts index 9d1da8a7e..d3c68e307 100644 --- a/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts +++ b/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts @@ -3,24 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; import { - speed_transformations_c2pa_response_output, - speed_transformations_c2pa_value_output, + speed_transformations_c2pa_response, + speed_transformations_c2pa_value, } from "./outputs.js"; -import { speed_transformations_c2pa_value } from "./schemas.js"; +import { speed_transformations_c2pa_value as speed_transformations_c2pa_value$ } from "./schemas.js"; /** - * The tools of `zones.transformations_c2pa`. + * The tools of `zones.transformationsC2pa`. */ export const tools: readonly Tool[] = [ { - name: "zones_transformations_c2pa_edit", + name: "zones_transformationsC2pa_edit", title: "Change Image Transformations C2PA setting", description: "C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata\nto images processed through Cloudflare Image Transformations, enabling verification of image\nauthenticity and provenance.", inputSchema: { @@ -38,18 +38,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "speed_identifier": speed_identifier, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value, + "speed_transformations_c2pa_value": speed_transformations_c2pa_value$, }, }, outputSchema: { @@ -67,11 +75,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_c2pa_response": speed_transformations_c2pa_response_output, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_c2pa_response": speed_transformations_c2pa_response, + "speed_transformations_c2pa_value": speed_transformations_c2pa_value, }, }, annotations: { @@ -116,12 +124,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_c2pa_response": speed_transformations_c2pa_response_output, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_c2pa_response": speed_transformations_c2pa_response, + "speed_transformations_c2pa_value": speed_transformations_c2pa_value, }, }, request: (args) => ({ @@ -130,19 +138,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_transformations_c2pa_get", + name: "zones_transformationsC2pa_get", title: "Get Image Transformations C2PA setting", description: "C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata\nto images processed through Cloudflare Image Transformations, enabling verification of image\nauthenticity and provenance.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -163,11 +179,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_c2pa_response": speed_transformations_c2pa_response_output, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_c2pa_response": speed_transformations_c2pa_response, + "speed_transformations_c2pa_value": speed_transformations_c2pa_value, }, }, annotations: { @@ -213,12 +229,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_c2pa_response": speed_transformations_c2pa_response_output, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_c2pa_response": speed_transformations_c2pa_response, + "speed_transformations_c2pa_value": speed_transformations_c2pa_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/transformationsConfig/outputs.ts b/src/generated/forge-mcp/zones/transformationsConfig/outputs.ts index 29b3e58a4..cb5110514 100644 --- a/src/generated/forge-mcp/zones/transformationsConfig/outputs.ts +++ b/src/generated/forge-mcp/zones/transformationsConfig/outputs.ts @@ -6,7 +6,7 @@ import type { JsonSchema } from "../../_/tool.js"; /** * The schema of `speed_transformations_config_response` in responses. */ -export const speed_transformations_config_response_output: JsonSchema = { +export const speed_transformations_config_response: JsonSchema = { "allOf": [ { "$ref": "#/$defs/speed_base" @@ -31,7 +31,7 @@ export const speed_transformations_config_response_output: JsonSchema = { /** * The schema of `speed_transformations_config_value` in responses. */ -export const speed_transformations_config_value_output: JsonSchema = { +export const speed_transformations_config_value: JsonSchema = { "properties": { "allowed_origins": { "type": "string" diff --git a/src/generated/forge-mcp/zones/transformationsConfig/tools.ts b/src/generated/forge-mcp/zones/transformationsConfig/tools.ts index 5e23eff40..1cbd0f91c 100644 --- a/src/generated/forge-mcp/zones/transformationsConfig/tools.ts +++ b/src/generated/forge-mcp/zones/transformationsConfig/tools.ts @@ -3,24 +3,24 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - speed_api_response_common_failure_output, - speed_api_response_common_output, - speed_base_output, - speed_messages_output, + speed_api$$response$$common, + speed_api$$response$$common$$failure, + speed_base, + speed_messages, } from "../../outputs.js"; import { speed_identifier } from "../../schemas.js"; import { - speed_transformations_config_response_output, - speed_transformations_config_value_output, + speed_transformations_config_response, + speed_transformations_config_value, } from "./outputs.js"; -import { speed_transformations_config_value } from "./schemas.js"; +import { speed_transformations_config_value as speed_transformations_config_value$ } from "./schemas.js"; /** - * The tools of `zones.transformations_config`. + * The tools of `zones.transformationsConfig`. */ export const tools: readonly Tool[] = [ { - name: "zones_transformations_config_edit", + name: "zones_transformationsConfig_edit", title: "Change Transformations configuration", description: "Updates one or more fields of the combined Transformations configuration for a zone.\nOmitted fields are left unchanged. The response always returns the full current state\nof all three sub-settings.", inputSchema: { @@ -38,18 +38,26 @@ export const tools: readonly Tool[] = [ ], "type": "object" }, - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id", + "path", "body" ], $defs: { "speed_identifier": speed_identifier, - "speed_transformations_config_value": speed_transformations_config_value, + "speed_transformations_config_value": speed_transformations_config_value$, }, }, outputSchema: { @@ -67,11 +75,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_config_response": speed_transformations_config_response_output, - "speed_transformations_config_value": speed_transformations_config_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_config_response": speed_transformations_config_response, + "speed_transformations_config_value": speed_transformations_config_value, }, }, annotations: { @@ -116,12 +124,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_config_response": speed_transformations_config_response_output, - "speed_transformations_config_value": speed_transformations_config_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_config_response": speed_transformations_config_response, + "speed_transformations_config_value": speed_transformations_config_value, }, }, request: (args) => ({ @@ -130,19 +138,27 @@ export const tools: readonly Tool[] = [ }), }, { - name: "zones_transformations_config_get", + name: "zones_transformationsConfig_get", title: "Get Transformations configuration", description: "Returns the combined Transformations configuration for a zone, including the transformations\ntoggle, allowed origins, and C2PA signing settings in a single response.", inputSchema: { type: "object", properties: { - "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "path": { + "properties": { + "zone_id": { + "$ref": "#/$defs/speed_identifier", + "description": "Identifier." + } + }, + "required": [ + "zone_id" + ], + "type": "object" } }, required: [ - "zone_id" + "path" ], $defs: { "speed_identifier": speed_identifier, @@ -163,11 +179,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_config_response": speed_transformations_config_response_output, - "speed_transformations_config_value": speed_transformations_config_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_config_response": speed_transformations_config_response, + "speed_transformations_config_value": speed_transformations_config_value, }, }, annotations: { @@ -213,12 +229,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "speed_api-response-common": speed_api_response_common_output, - "speed_api-response-common-failure": speed_api_response_common_failure_output, - "speed_base": speed_base_output, - "speed_messages": speed_messages_output, - "speed_transformations_config_response": speed_transformations_config_response_output, - "speed_transformations_config_value": speed_transformations_config_value_output, + "speed_api-response-common": speed_api$$response$$common, + "speed_api-response-common-failure": speed_api$$response$$common$$failure, + "speed_base": speed_base, + "speed_messages": speed_messages, + "speed_transformations_config_response": speed_transformations_config_response, + "speed_transformations_config_value": speed_transformations_config_value, }, }, request: (args) => ({ diff --git a/tests/filtered-lists.test.ts b/tests/filtered-lists.test.ts index a91a0f4ae..ccfefcf4e 100644 --- a/tests/filtered-lists.test.ts +++ b/tests/filtered-lists.test.ts @@ -304,13 +304,13 @@ describe('forge tools', () => { answer(`/zones/${ZONE_ID}/access/apps`, cfSuccess([])) answer(`/accounts/${ACCOUNT_ID}/access/apps`, cfSuccess([])) const apps = (args: Record) => - callDirectTool(token, 'zero_trust_access_applications_list', args, FORGE_QUERY) + callDirectTool(token, 'zeroTrust_access_applications_list', args, FORGE_QUERY) expectChallenge( - await apps({ account_or_zone: 'zones', account_or_zone_id: ZONE_ID }), + await apps({ path: { account_or_zone: 'zones', account_or_zone_id: ZONE_ID } }), 'zone-access.read' ) - expectChallenge(await apps({ account_or_zone: 'accounts' }), 'access.read') + expectChallenge(await apps({ path: { account_or_zone: 'accounts' } }), 'access.read') }) }) diff --git a/tests/forge-tools-cloudflare.test.ts b/tests/forge-tools-cloudflare.test.ts index 3b69bbd3c..eff6e4e59 100644 --- a/tests/forge-tools-cloudflare.test.ts +++ b/tests/forge-tools-cloudflare.test.ts @@ -14,8 +14,14 @@ function generated(path: string, extensions?: Tool['extensions']): Tool { description: 'Example.', inputSchema: { type: 'object', - properties: Object.fromEntries(keys.map((key) => [key, { type: 'string' }])), - required: keys + properties: { + path: { + type: 'object', + properties: Object.fromEntries(keys.map((key) => [key, { type: 'string' }])), + required: keys + } + }, + required: ['path'] }, annotations: { readOnlyHint: true, @@ -30,29 +36,49 @@ function generated(path: string, extensions?: Tool['extensions']): Tool { } } +/** The `path` argument of `tool`'s input schema. */ +function pathOf(tool: Tool): { + properties: Record + required?: string[] +} { + return tool.inputSchema.properties?.path as { + properties: Record + required?: string[] + } +} + describe('the Cloudflare policy for generated tools', () => { - it('makes account_id optional with one description', () => { + it('makes path.account_id optional with one description', () => { const tool = cloudflareTool(generated('/accounts/{account_id}/workers/scripts/{script_name}')) - expect(tool.inputSchema.properties).toEqual({ - account_id: { type: 'string', description: FORGE_ACCOUNT_ID_DESCRIPTION }, - script_name: { type: 'string' } + expect(tool.inputSchema.properties?.path).toEqual({ + type: 'object', + properties: { + account_id: { type: 'string', description: FORGE_ACCOUNT_ID_DESCRIPTION }, + script_name: { type: 'string' } + }, + required: ['script_name'] }) - expect(tool.inputSchema.required).toEqual(['script_name']) + expect(tool.inputSchema.required).toEqual(['path']) + }) + + it('makes path optional when the account was its only required parameter', () => { + const tool = cloudflareTool(generated('/accounts/{account_id}/d1/database')) + + expect(tool.inputSchema.properties?.path).not.toHaveProperty('required') + expect(tool.inputSchema).not.toHaveProperty('required') }) it('keeps a merged path’s account_or_zone and makes its account_or_zone_id optional', () => { const merged = generated('/{account_or_zone}/{account_or_zone_id}/access/apps') - const tool = cloudflareTool(merged) + const path = pathOf(cloudflareTool(merged)) - expect(tool.inputSchema.properties?.account_or_zone).toBe( - merged.inputSchema.properties?.account_or_zone - ) - expect(tool.inputSchema.properties?.account_or_zone_id).toEqual({ + expect(path.properties.account_or_zone).toBe(pathOf(merged).properties.account_or_zone) + expect(path.properties.account_or_zone_id).toEqual({ type: 'string', description: ACCOUNT_OR_ZONE_ID_DESCRIPTION }) - expect(tool.inputSchema.required).toEqual(['account_or_zone']) + expect(path.required).toEqual(['account_or_zone']) }) it('gets the two values of account_or_zone from the document (cloudflare/forge#59)', () => { @@ -60,7 +86,7 @@ describe('the Cloudflare policy for generated tools', () => { expect(merged.length).toBeGreaterThan(0) for (const tool of merged) { - expect(tool.inputSchema.properties?.account_or_zone).toMatchObject({ + expect(pathOf(tool).properties.account_or_zone).toMatchObject({ type: 'string', enum: ['accounts', 'zones'] }) @@ -87,7 +113,7 @@ describe('the Cloudflare policy for generated tools', () => { const requiring = tools .map(cloudflareTool) .filter((tool) => - (tool.inputSchema.required ?? []).some( + (tool.inputSchema.properties?.path ? (pathOf(tool).required ?? []) : []).some( (key) => key === 'account_id' || key === 'account_or_zone_id' ) ) diff --git a/tests/forge-tools-plan.test.ts b/tests/forge-tools-plan.test.ts index aae0f7ca7..4e33b7ddc 100644 --- a/tests/forge-tools-plan.test.ts +++ b/tests/forge-tools-plan.test.ts @@ -14,7 +14,7 @@ function plan(name: string, args: Record, options: Partial { it("fills in the session's account and carries the method's permissions", async () => { - const result = await plan('d1_list', { per_page: 5 }, { sessionAccountId: ACCOUNT }) + const result = await plan('d1_list', { query: { per_page: 5 } }, { sessionAccountId: ACCOUNT }) expect(result).toMatchObject({ kind: 'request', @@ -32,7 +32,7 @@ describe('planning a generated tool call', () => { }) it('keeps an account the caller passed, and sends the body', async () => { - const result = await plan('d1_create', { account_id: 'mine', body: { name: 'db' } }) + const result = await plan('d1_create', { path: { account_id: 'mine' }, body: { name: 'db' } }) expect(result).toMatchObject({ kind: 'request', @@ -44,13 +44,12 @@ describe('planning a generated tool call', () => { }) it('fills in the account for a merged account-or-zone path called with accounts', async () => { - const zone = await plan('zero_trust_access_applications_list', { - account_or_zone: 'zones', - account_or_zone_id: 'z1' + const zone = await plan('zeroTrust_access_applications_list', { + path: { account_or_zone: 'zones', account_or_zone_id: 'z1' } }) const account = await plan( - 'zero_trust_access_applications_list', - { account_or_zone: 'accounts' }, + 'zeroTrust_access_applications_list', + { path: { account_or_zone: 'accounts' } }, { sessionAccountId: ACCOUNT } ) @@ -68,7 +67,15 @@ describe('planning a generated tool call', () => { it('reports arguments the request cannot be built from', async () => { expect(await plan('zones_get', {})).toEqual({ kind: 'invalid', - message: 'Missing required arguments: zone_id' + message: 'Missing required arguments: path' + }) + expect(await plan('zones_get', { path: {} })).toEqual({ + kind: 'invalid', + message: 'Missing required arguments: path.zone_id' + }) + expect(await plan('zones_get', { path: 'z1' })).toEqual({ + kind: 'invalid', + message: 'path must be an object' }) }) }) diff --git a/tests/forge-tools-worker.test.ts b/tests/forge-tools-worker.test.ts index 2caaf0c88..7d98894df 100644 --- a/tests/forge-tools-worker.test.ts +++ b/tests/forge-tools-worker.test.ts @@ -75,7 +75,8 @@ describe('generated direct tools (?codemode=false&experimentalForge=true)', () = ...generatedTools.map((tool) => tool.name) ]) const d1 = tools.find((tool) => tool.name === 'd1_list')! - expect(d1.inputSchema.required ?? []).not.toContain('account_id') + expect(d1.inputSchema.required ?? []).not.toContain('path') + expect(d1.inputSchema.properties?.path).not.toHaveProperty('required') expect(generatedTools.find((tool) => tool.name === 'd1_list')?.responses).toBeDefined() for (const key of ['request', 'method', 'path', 'extensions', 'responses']) { expect(d1).not.toHaveProperty(key) @@ -134,7 +135,9 @@ describe('generated direct tools (?codemode=false&experimentalForge=true)', () = }) ) - const result = await callForgeTool(ACCOUNT_TOKEN, 'd1_list', { name: 'prod', per_page: 5 }) + const result = await callForgeTool(ACCOUNT_TOKEN, 'd1_list', { + query: { name: 'prod', per_page: 5 } + }) expect(result.result?.isError).toBeFalsy() expect(toolText(result)).toContain('db-1') @@ -170,11 +173,11 @@ describe('generated direct tools (?codemode=false&experimentalForge=true)', () = ) ) const call = (args: Record) => - callForgeTool(ACCOUNT_TOKEN, 'zero_trust_access_applications_list', args) + callForgeTool(ACCOUNT_TOKEN, 'zeroTrust_access_applications_list', args) - const accounts = await call({ account_or_zone: 'accounts' }) - const zoneWithoutId = await call({ account_or_zone: 'zones' }) - const zone = await call({ account_or_zone: 'zones', account_or_zone_id: ZONE_ID }) + const accounts = await call({ path: { account_or_zone: 'accounts' } }) + const zoneWithoutId = await call({ path: { account_or_zone: 'zones' } }) + const zone = await call({ path: { account_or_zone: 'zones', account_or_zone_id: ZONE_ID } }) expect(toolText(accounts)).toContain('app-1') expect(zoneWithoutId.result?.isError).toBe(true) @@ -189,7 +192,9 @@ describe('generated direct tools (?codemode=false&experimentalForge=true)', () = ) ) - const result = await callForgeTool(ACCOUNT_TOKEN, 'd1_list', { account_id: 'not-mine' }) + const result = await callForgeTool(ACCOUNT_TOKEN, 'd1_list', { + path: { account_id: 'not-mine' } + }) expect(result.result?.isError).toBe(true) const text = toolText(result) @@ -249,7 +254,7 @@ describe('generated direct tools (?codemode=false&experimentalForge=true)', () = it('returns the whole response by default', async () => { const result = await callForgeTool(ACCOUNT_TOKEN, 'workers_legacy_scripts_list', { - account_id: ACCOUNT_ID + path: { account_id: ACCOUNT_ID } }) expect(JSON.parse(toolText(result))).toEqual(cfSuccess(SCRIPTS)) @@ -259,7 +264,7 @@ describe('generated direct tools (?codemode=false&experimentalForge=true)', () = const result = await callForgeTool( ACCOUNT_TOKEN, 'workers_legacy_scripts_list', - { account_id: ACCOUNT_ID }, + { path: { account_id: ACCOUNT_ID } }, `${FORGE_URL}&truncateToolResult=true` ) const text = toolText(result) @@ -359,7 +364,7 @@ describe('generated direct tools (?codemode=false&experimentalForge=true)', () = }) it('leaves structuredContent out of an error', async () => { - const result = await callModern('d1_list', { account_id: 'not-mine' }) + const result = await callModern('d1_list', { path: { account_id: 'not-mine' } }) expect(result.result?.isError).toBe(true) expect(result.result).not.toHaveProperty('structuredContent') diff --git a/tests/response-validation-worker.test.ts b/tests/response-validation-worker.test.ts index ed153c827..ddc157e83 100644 --- a/tests/response-validation-worker.test.ts +++ b/tests/response-validation-worker.test.ts @@ -146,13 +146,13 @@ describe('direct-tool response schema checks', () => { const writeSpy = vi.spyOn(env.MCP_METRICS, 'writeDataPoint') vi.spyOn(console, 'warn').mockImplementation(() => {}) - await forgeTool('zero_trust_access_applications_list', { account_or_zone: 'accounts' }) + await forgeTool('zeroTrust_access_applications_list', { path: { account_or_zone: 'accounts' } }) await vi.waitFor(() => expect(mismatches(writeSpy)).toHaveLength(1)) expect(mismatches(writeSpy)[0].blobs?.slice(5, 12)).toEqual([ '/{account_or_zone}/{account_or_zone_id}/access/apps', 'access', - 'zero_trust_access_applications_list', + 'zeroTrust_access_applications_list', '200', 'type', '#/components/schemas/access_response_collection-8/allOf/1/properties/result/type', From 862194de47b1e1f573d1c43bf75a4e874862237b Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Fri, 30 Oct 2026 17:05:16 +0000 Subject: [PATCH 2/5] chore(forge): pin forge at df2942f --- forge.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/forge.json b/forge.json index 10453b482..18392af95 100644 --- a/forge.json +++ b/forge.json @@ -1,5 +1,5 @@ { "$comment": "The forge that generates src/generated/forge-mcp: a commit of cloudflare/forge. Bump ref to pick up generator changes; CI builds it.", "repository": "cloudflare/forge", - "ref": "8bd67ce7c57f14c2ac3e57645c9d5ee15cb80454" + "ref": "df2942ff1f6a7eba565ab353334dc8ee3b727d38" } From f85d352a00285017ce493901125f5810720c658a Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Sat, 31 Oct 2026 17:58:38 +0000 Subject: [PATCH 3/5] fix(forge): refuse top-level parameters and ask for path.account_id plan() refuses an argument the tool doesn't take, such as account_id passed at the top level, and names the place it goes in, instead of ignoring it. A missing account is asked for as path.account_id (or path.account_or_zone_id), where the tool takes it. --- AGENTS.md | 2 +- src/auth/account-access.ts | 9 +++++++-- src/forge-tools/plan.ts | 34 +++++++++++++++++++++++++++++--- src/tools/forge-tools.ts | 4 +++- tests/forge-tools-plan.test.ts | 26 ++++++++++++++++++++++-- tests/forge-tools-worker.test.ts | 25 +++++++++++++++++++++++ 6 files changed, 91 insertions(+), 9 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 88ca363bb..cbaa785fd 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -204,7 +204,7 @@ The consent page offers minimal, read-only and full-access templates. Minimal is - `src/tools/forge-tools.ts`, in the main Worker, serves `?codemode=false&experimentalForge=true`: `docs` and `whoami` itself, and the generated tools from the service. It sends each planned request with the session's token, which never leaves the main Worker, and explains refused calls and steps up OAuth scopes like the other direct tools - `&experimentalOutputSchema=true` (only with `?codemode=false&experimentalForge=true`) turns on output schemas for 2026-07-28 requests: `tools/list` sends each tool's generated `outputSchema`, and a successful call returns the whole response body, which its output schema describes, as `structuredContent`, never truncated, next to the text, which stays the whole response. A request is 2026-07-28 when its `_meta` envelope names a protocol version (`ctx.mcpReq.envelope`); 2025-era requests are served as without the flag, since their clients expect object output schemas and most generated ones are a `$ref`, `allOf` or scalar. The output schemas come straight from the generator, so the Worker only picks a listing. They are the soak's schemas, so a strict client will reject results the response schema checks flag (Hyperdrive's write-only `origin.password`, cloudflare/forge#63). The listing grows from ~6 MB to ~12 MB (0.64 to 0.98 MB gzipped), loaded only when asked for - Workers Builds deploys the service and the main Worker on every push to `main`. Ship a new RPC method in the service before the main Worker calls it, and in a new environment deploy the service first (`npm run deploy:forge-tools` / `deploy:forge-tools:prod`), since the main Worker binds to it. `npm run dev` runs both, and `npm run types` reads both configs to type the binding. Vitest builds the service with `wrangler deploy --dry-run` and runs it as an auxiliary Worker, so tests call it over the real binding -- Tool names are forge's: each group and the method in camelCase, joined by `_` (`d1_list`, `zeroTrust_access_applications_list`), not `src/openapi.ts`'s. Arguments are grouped by where they go: `path`, `query` and `headers`, each keyed by wire name, plus `body` (`{ path: { account_id }, query: { per_page }, body }`), not the endpoint tools' flat arguments. So switching `?codemode=false` to forge renames every tool and changes its arguments for its clients; that is why the flag soaks first +- Tool names are forge's: each group and the method in camelCase, joined by `_` (`d1_list`, `zeroTrust_access_applications_list`), not `src/openapi.ts`'s. Arguments are grouped by where they go: `path`, `query` and `headers`, each keyed by wire name, plus `body` (`{ path: { account_id }, query: { per_page }, body }`), not the endpoint tools' flat arguments. `plan()` refuses an argument the tool doesn't take, such as `account_id` passed at the top level, and says which place it goes in, rather than ignoring it, and a missing account is asked for as `path.account_id`. So switching `?codemode=false` to forge renames every tool and changes its arguments for its clients; that is why the flag soaks first ### Skills over MCP diff --git a/src/auth/account-access.ts b/src/auth/account-access.ts index 0e28388ba..55446f29d 100644 --- a/src/auth/account-access.ts +++ b/src/auth/account-access.ts @@ -57,11 +57,16 @@ function formatAccounts(accounts: AccountSchema[]): string { * Error for a call that needs an account when none was passed or auto-resolved. * Tool results reach only the calling session, so unlike tool metadata they can * name its accounts. `discoveryGuidance` is used when the list isn't known. + * `argument` names where the account goes, such as `path.account_id`. */ -export function missingAccountMessage(props: AuthProps, discoveryGuidance: string): string { +export function missingAccountMessage( + props: AuthProps, + discoveryGuidance: string, + argument = 'account_id' +): string { const accounts = knownAccounts(props) if (accounts?.length) { - return `No account selected. Pass account_id with one of this session's accounts:\n${formatAccounts(accounts)}` + return `No account selected. Pass ${argument} with one of this session's accounts:\n${formatAccounts(accounts)}` } if (accounts) return 'No account selected: no Cloudflare accounts are authorized for this session.' diff --git a/src/forge-tools/plan.ts b/src/forge-tools/plan.ts index 4b022ce29..adcc7f64c 100644 --- a/src/forge-tools/plan.ts +++ b/src/forge-tools/plan.ts @@ -26,8 +26,11 @@ export interface PlanOptions { export type CallPlan = | { readonly kind: 'unknown' } | { readonly kind: 'invalid'; readonly message: string } - /** The tool takes an account, the caller left it out, and the session has more than one. */ - | { readonly kind: 'needs_account' } + /** + * The tool takes an account, the caller left it out, and the session has + * more than one. `argument` is where it goes, such as `path.account_id`. + */ + | { readonly kind: 'needs_account'; readonly argument: string } | (HttpRequest & { readonly kind: 'request' /** The tool's path template, such as `/accounts/{account_id}/d1/database`. */ @@ -45,13 +48,16 @@ export type CallPlan = * as it is. */ export function planCall(tool: Tool, given: Args, options: PlanOptions): CallPlan { + const unknown = unknownArguments(tool, given) + if (unknown) return { kind: 'invalid', message: unknown } + let request: HttpRequest let accountId: string | undefined try { const key = accountKey(tool, given) let args = given if (key && param(given, 'path', key) === undefined) { - if (!options.sessionAccountId) return { kind: 'needs_account' } + if (!options.sessionAccountId) return { kind: 'needs_account', argument: `path.${key}` } args = withPathParam(given, key, options.sessionAccountId) } request = buildRequest(tool, args, options.baseUrl) @@ -82,6 +88,28 @@ function accountKey(tool: Tool, args: Args): string | undefined { return undefined } +/** + * Why `args` can't be used if it has arguments the tool doesn't take, else + * `undefined`. A tool takes only `path`, `query`, `headers` and `body`, so a + * parameter passed at the top level, such as `account_id`, would otherwise be + * ignored; the message names the place it belongs in. + */ +function unknownArguments(tool: Tool, args: Args): string | undefined { + const properties = tool.inputSchema.properties ?? {} + const unknown = Object.keys(args).filter((key) => !Object.hasOwn(properties, key)) + if (unknown.length === 0) return undefined + const hints = unknown.map((key) => { + const place = Object.keys(properties).find((p) => + Object.hasOwn((properties[p] as { properties?: object }).properties ?? {}, key) + ) + return place + ? `${key} goes in ${place}: { "${place}": { "${key}": … } }` + : `${key} is not an argument` + }) + const takes = Object.keys(properties) + return `Unknown arguments for ${tool.name}: ${hints.join('; ')}. It takes ${takes.length > 0 ? takes.join(', ') : 'no arguments'}.` +} + /** Returns `args` with the path parameter `key` set to `value`. */ function withPathParam(args: Args, key: string, value: string): Args { const path = (args.path ?? {}) as Readonly> diff --git a/src/tools/forge-tools.ts b/src/tools/forge-tools.ts index 180ba0b02..3546f9814 100644 --- a/src/tools/forge-tools.ts +++ b/src/tools/forge-tools.ts @@ -113,7 +113,9 @@ async function callForgeTool( case 'invalid': return toolError(plan.message) case 'needs_account': - return toolError(missingAccountMessage(props, FORGE_ACCOUNT_DISCOVERY_GUIDANCE)) + return toolError( + missingAccountMessage(props, FORGE_ACCOUNT_DISCOVERY_GUIDANCE, plan.argument) + ) case 'request': break } diff --git a/tests/forge-tools-plan.test.ts b/tests/forge-tools-plan.test.ts index 4e33b7ddc..f63a9d9fc 100644 --- a/tests/forge-tools-plan.test.ts +++ b/tests/forge-tools-plan.test.ts @@ -27,8 +27,30 @@ describe('planning a generated tool call', () => { expect(result.kind === 'request' && result.headers).not.toHaveProperty('authorization') }) - it('asks for an account when the session has several', async () => { - expect(await plan('d1_list', {})).toEqual({ kind: 'needs_account' }) + it('asks for an account when the session has several, naming where it goes', async () => { + expect(await plan('d1_list', {})).toEqual({ + kind: 'needs_account', + argument: 'path.account_id' + }) + expect( + await plan('zeroTrust_access_applications_list', { path: { account_or_zone: 'accounts' } }) + ).toEqual({ kind: 'needs_account', argument: 'path.account_or_zone_id' }) + }) + + it('refuses parameters passed at the top level, and says where they go', async () => { + const result = await plan( + 'd1_list', + { account_id: ACCOUNT, per_page: 5, verbose: true }, + { sessionAccountId: ACCOUNT } + ) + + expect(result).toEqual({ + kind: 'invalid', + message: + 'Unknown arguments for d1_list: account_id goes in path: { "path": { "account_id": … } }; ' + + 'per_page goes in query: { "query": { "per_page": … } }; verbose is not an argument. ' + + 'It takes path, query.' + }) }) it('keeps an account the caller passed, and sends the body', async () => { diff --git a/tests/forge-tools-worker.test.ts b/tests/forge-tools-worker.test.ts index 7d98894df..15b538eea 100644 --- a/tests/forge-tools-worker.test.ts +++ b/tests/forge-tools-worker.test.ts @@ -185,6 +185,31 @@ describe('generated direct tools (?codemode=false&experimentalForge=true)', () = expect(toolText(zone)).toContain('zone-app') }) + it('asks for path.account_id when the session has several accounts', async () => { + mockIdentityProbe({ + user: { id: 'u1', email: 'u@example.com' }, + accounts: [ + { id: ACCOUNT_ID, name: 'Acc One' }, + { id: '00000000000000000000000000000002', name: 'Acc Two' } + ] + }) + + const result = await callForgeTool('multi-account-user-token-forge', 'd1_list', {}) + + expect(result.result?.isError).toBe(true) + expect(toolText(result)).toContain( + "No account selected. Pass path.account_id with one of this session's accounts:" + ) + expect(toolText(result)).toContain(`- ${ACCOUNT_ID} (Acc One)`) + }) + + it('refuses a parameter passed at the top level instead of ignoring it', async () => { + const result = await callForgeTool(ACCOUNT_TOKEN, 'd1_list', { per_page: 5 }) + + expect(result.result?.isError).toBe(true) + expect(toolText(result)).toContain('per_page goes in query: { "query": { "per_page": … } }') + }) + it("explains a refused call and names the token's account", async () => { server.use( http.get(`${API_BASE}/accounts/not-mine/d1/database`, () => From d969020e79cef2e467b7056c39a39d207f1e6411 Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Sat, 31 Oct 2026 18:11:54 +0000 Subject: [PATCH 4/5] feat(forge): check argument types, and pin forge at 9ebd355 forge 9ebd355 generates input schemas with additionalProperties: false, inlines scalar models, trims descriptions and ends each description with METHOD /path; its buildRequest now refuses unknown arguments and names the place a misplaced parameter goes, so plan() drops its own copy of that check. plan() checks the arguments against the tool's input schema with the validator the service already has, so a wrong type is refused with the argument's name (query.per_page) instead of by the API. --- AGENTS.md | 2 +- forge.json | 2 +- src/forge-tools/plan.ts | 47 +- src/generated/forge-mcp/_/tool.ts | 25 + .../forge-mcp/abuseReports/appeals/tools.ts | 4 +- .../forge-mcp/abuseReports/emails/tools.ts | 10 +- .../abuseReports/mitigations/outputs.ts | 39 +- .../abuseReports/mitigations/schemas.ts | 62 +- .../abuseReports/mitigations/tools.ts | 61 +- .../forge-mcp/abuseReports/outputs.ts | 635 ++-- .../forge-mcp/abuseReports/schemas.ts | 123 +- src/generated/forge-mcp/abuseReports/tools.ts | 186 +- .../accounts/applications/outputs.ts | 125 +- .../accounts/applications/schemas.ts | 42 +- .../forge-mcp/accounts/applications/tools.ts | 196 +- .../accounts/billing/history/tools.ts | 13 +- .../accounts/billing/paymentMethods/tools.ts | 80 +- .../forge-mcp/accounts/billing/tools.ts | 83 +- .../forge-mcp/accounts/categories/outputs.ts | 29 +- .../forge-mcp/accounts/categories/tools.ts | 39 +- .../accounts/entitlements/schemas.ts | 12 - .../forge-mcp/accounts/entitlements/tools.ts | 12 +- .../forge-mcp/accounts/logs/audit/outputs.ts | 2 +- .../forge-mcp/accounts/logs/audit/tools.ts | 26 +- .../forge-mcp/accounts/members/outputs.ts | 28 +- .../forge-mcp/accounts/members/schemas.ts | 47 +- .../forge-mcp/accounts/members/tools.ts | 194 +- .../forge-mcp/accounts/organizations/tools.ts | 7 +- src/generated/forge-mcp/accounts/outputs.ts | 24 +- .../forge-mcp/accounts/profile/tools.ts | 8 +- src/generated/forge-mcp/accounts/schemas.ts | 36 +- .../forge-mcp/accounts/subscriptions/tools.ts | 211 +- .../accounts/tokens/permissionGroups/tools.ts | 17 +- .../forge-mcp/accounts/tokens/tools.ts | 269 +- src/generated/forge-mcp/accounts/tools.ts | 65 +- .../accounts/transformations/tools.ts | 12 +- .../forge-mcp/accounts/utBilling/outputs.ts | 15 +- .../forge-mcp/accounts/utBilling/schemas.ts | 15 - .../forge-mcp/accounts/utBilling/tools.ts | 41 +- .../forge-mcp/acm/customTrustStore/outputs.ts | 67 +- .../forge-mcp/acm/customTrustStore/schemas.ts | 20 - .../forge-mcp/acm/customTrustStore/tools.ts | 125 +- .../forge-mcp/acm/totalTls/outputs.ts | 44 +- .../forge-mcp/acm/totalTls/schemas.ts | 25 - src/generated/forge-mcp/acm/totalTls/tools.ts | 61 +- .../addressing/addressMaps/accounts/tools.ts | 42 +- .../addressing/addressMaps/ips/tools.ts | 87 +- .../addressing/addressMaps/outputs.ts | 152 +- .../addressing/addressMaps/schemas.ts | 93 +- .../forge-mcp/addressing/addressMaps/tools.ts | 225 +- .../addressing/addressMaps/zones/schemas.ts | 12 - .../addressing/addressMaps/zones/tools.ts | 85 +- .../forge-mcp/addressing/leases/outputs.ts | 49 +- .../forge-mcp/addressing/leases/schemas.ts | 12 - .../forge-mcp/addressing/leases/tools.ts | 27 +- .../addressing/loaDocuments/outputs.ts | 75 +- .../addressing/loaDocuments/tools.ts | 62 +- src/generated/forge-mcp/addressing/outputs.ts | 43 - .../prefixes/bgpPrefixes/outputs.ts | 143 +- .../prefixes/bgpPrefixes/schemas.ts | 36 +- .../addressing/prefixes/bgpPrefixes/tools.ts | 212 +- .../prefixes/delegations/outputs.ts | 30 +- .../prefixes/delegations/schemas.ts | 20 - .../addressing/prefixes/delegations/tools.ts | 98 +- .../forge-mcp/addressing/prefixes/outputs.ts | 174 +- .../forge-mcp/addressing/prefixes/schemas.ts | 44 - .../prefixes/serviceBindings/outputs.ts | 15 +- .../prefixes/serviceBindings/schemas.ts | 16 +- .../prefixes/serviceBindings/tools.ts | 115 +- .../forge-mcp/addressing/prefixes/tools.ts | 253 +- .../addressing/prefixes/validate/tools.ts | 63 +- .../addressing/regionalHostnames/outputs.ts | 38 +- .../regionalHostnames/regions/tools.ts | 19 +- .../addressing/regionalHostnames/schemas.ts | 36 - .../addressing/regionalHostnames/tools.ts | 132 +- src/generated/forge-mcp/addressing/schemas.ts | 35 - .../forge-mcp/addressing/services/tools.ts | 26 +- src/generated/forge-mcp/agentMemory/tools.ts | 59 +- src/generated/forge-mcp/ai/authors/tools.ts | 4 +- .../forge-mcp/ai/finetunes/assets/tools.ts | 8 +- .../forge-mcp/ai/finetunes/public/tools.ts | 5 +- src/generated/forge-mcp/ai/finetunes/tools.ts | 12 +- src/generated/forge-mcp/ai/models/tools.ts | 5 +- src/generated/forge-mcp/ai/tasks/tools.ts | 4 +- src/generated/forge-mcp/ai/tools.ts | 25 +- .../forge-mcp/aiAudit/robots/tools.ts | 9 +- .../aiGateway/customDomains/tools.ts | 17 +- .../aiGateway/customProviders/tools.ts | 21 +- .../forge-mcp/aiGateway/datasets/tools.ts | 21 +- .../dynamicRouting/deployments/tools.ts | 8 +- .../aiGateway/dynamicRouting/tools.ts | 21 +- .../dynamicRouting/versions/tools.ts | 12 +- .../aiGateway/evaluationTypes/tools.ts | 5 +- .../forge-mcp/aiGateway/evaluations/tools.ts | 17 +- .../aiGateway/gateways/providers/tools.ts | 21 +- .../forge-mcp/aiGateway/gateways/tools.ts | 25 +- .../forge-mcp/aiGateway/logs/tools.ts | 26 +- .../forge-mcp/aiSearch/items/tools.ts | 39 +- .../forge-mcp/aiSearch/jobs/tools.ts | 22 +- .../forge-mcp/aiSearch/namespace/tools.ts | 21 +- .../forge-mcp/aiSearch/tokens/tools.ts | 21 +- src/generated/forge-mcp/aiSearch/tools.ts | 49 +- .../aiSecurity/customTopics/tools.ts | 21 +- src/generated/forge-mcp/aiSecurity/schemas.ts | 8 - src/generated/forge-mcp/aiSecurity/tools.ts | 25 +- .../alerting/availableAlerts/outputs.ts | 27 +- .../alerting/availableAlerts/tools.ts | 21 +- .../alerting/destinations/eligible/outputs.ts | 37 +- .../alerting/destinations/eligible/tools.ts | 21 +- .../destinations/pagerduty/outputs.ts | 20 +- .../destinations/pagerduty/schemas.ts | 12 - .../alerting/destinations/pagerduty/tools.ts | 63 +- .../alerting/destinations/webhooks/outputs.ts | 98 +- .../alerting/destinations/webhooks/schemas.ts | 36 - .../alerting/destinations/webhooks/tools.ts | 152 +- .../forge-mcp/alerting/history/outputs.ts | 72 +- .../forge-mcp/alerting/history/schemas.ts | 21 - .../forge-mcp/alerting/history/tools.ts | 52 +- src/generated/forge-mcp/alerting/outputs.ts | 30 +- .../alerting/policies/email/outputs.ts | 10 +- .../alerting/policies/email/tools.ts | 51 +- .../forge-mcp/alerting/policies/outputs.ts | 200 +- .../forge-mcp/alerting/policies/schemas.ts | 111 +- .../forge-mcp/alerting/policies/tools.ts | 330 +- src/generated/forge-mcp/alerting/schemas.ts | 36 - .../forge-mcp/alerting/silences/outputs.ts | 11 +- .../forge-mcp/alerting/silences/schemas.ts | 16 +- .../forge-mcp/alerting/silences/tools.ts | 86 +- .../analytics/latency/colos/tools.ts | 12 +- .../forge-mcp/analytics/latency/schemas.ts | 12 - .../forge-mcp/analytics/latency/tools.ts | 13 +- .../dataSecurity/contentFindings/tools.ts | 4 +- .../query/dataSecurity/findings/tools.ts | 8 +- .../forge-mcp/analytics/query/schemas.ts | 4 +- .../forge-mcp/analytics/query/tools.ts | 18 +- .../sql/accounts/introspection/tools.ts | 18 +- .../forge-mcp/analytics/sql/accounts/tools.ts | 11 +- .../forge-mcp/analytics/sql/tools.ts | 6 +- .../schemaValidation/schemas/hosts/outputs.ts | 19 +- .../schemaValidation/schemas/hosts/tools.ts | 35 +- .../schemas/operations/tools.ts | 82 +- .../schemaValidation/schemas/outputs.ts | 19 +- .../schemaValidation/schemas/tools.ts | 170 +- .../settings/operations/outputs.ts | 9 +- .../settings/operations/tools.ts | 151 +- .../schemaValidation/settings/schemas.ts | 4 +- .../schemaValidation/settings/tools.ts | 60 +- .../apiSecurity/sessionIdentifiers/schemas.ts | 2 +- .../apiSecurity/sessionIdentifiers/tools.ts | 40 +- .../configurations/credentials/tools.ts | 62 +- .../tokenValidation/configurations/outputs.ts | 80 +- .../tokenValidation/configurations/schemas.ts | 46 +- .../tokenValidation/configurations/tools.ts | 279 +- .../tokenValidation/rules/outputs.ts | 93 +- .../tokenValidation/rules/schemas.ts | 111 +- .../tokenValidation/rules/tools.ts | 382 +-- .../credentialSets/credentials/outputs.ts | 17 +- .../credentialSets/credentials/schemas.ts | 48 +- .../credentialSets/credentials/tools.ts | 81 +- .../credentialSets/tools.ts | 62 +- .../vulnerabilityScanner/scans/outputs.ts | 85 +- .../vulnerabilityScanner/scans/schemas.ts | 8 +- .../vulnerabilityScanner/scans/tools.ts | 72 +- .../vulnerabilityScanner/schemas.ts | 12 - .../targetEnvironments/schemas.ts | 14 +- .../targetEnvironments/tools.ts | 62 +- .../forge-mcp/argo/smartRouting/outputs.ts | 46 +- .../forge-mcp/argo/smartRouting/schemas.ts | 28 +- .../forge-mcp/argo/smartRouting/tools.ts | 61 +- .../forge-mcp/argo/tieredCaching/outputs.ts | 17 +- .../forge-mcp/argo/tieredCaching/schemas.ts | 20 +- .../forge-mcp/argo/tieredCaching/tools.ts | 49 +- .../artifacts/namespaces/repos/blobs/tools.ts | 4 +- .../namespaces/repos/commits/tools.ts | 4 +- .../artifacts/namespaces/repos/files/tools.ts | 5 +- .../artifacts/namespaces/repos/logs/tools.ts | 5 +- .../artifacts/namespaces/repos/raw/tools.ts | 4 +- .../namespaces/repos/tokens/tools.ts | 5 +- .../artifacts/namespaces/repos/tools.ts | 25 +- .../artifacts/namespaces/repos/trees/tools.ts | 4 +- .../artifacts/namespaces/tokens/tools.ts | 8 +- .../forge-mcp/artifacts/namespaces/tools.ts | 17 +- src/generated/forge-mcp/auditLogs/tools.ts | 16 +- .../basinCatalog/credentials/tools.ts | 58 +- .../basinCatalog/maintenanceConfigs/tools.ts | 59 +- .../tables/maintenanceConfigs/tools.ts | 72 +- .../tables/maintenanceRuns/tools.ts | 24 +- .../basinCatalog/namespaces/tables/tools.ts | 54 +- .../basinCatalog/namespaces/tools.ts | 34 +- src/generated/forge-mcp/basinCatalog/tools.ts | 108 +- .../forge-mcp/billing/addresses/tools.ts | 3 +- .../forge-mcp/billing/profiles/tools.ts | 72 +- .../forge-mcp/billing/ratePlans/tools.ts | 4 +- .../billing/spendPolicies/activity/outputs.ts | 3 +- .../billing/spendPolicies/activity/tools.ts | 22 +- .../billing/spendPolicies/audit/outputs.ts | 6 +- .../billing/spendPolicies/audit/tools.ts | 25 +- .../billing/spendPolicies/outputs.ts | 48 +- .../billing/spendPolicies/schemas.ts | 57 +- .../forge-mcp/billing/spendPolicies/tools.ts | 112 +- .../forge-mcp/billing/usage/tools.ts | 84 +- .../botManagement/feedback/outputs.ts | 17 +- .../botManagement/feedback/schemas.ts | 20 +- .../forge-mcp/botManagement/feedback/tools.ts | 26 +- .../forge-mcp/botManagement/outputs.ts | 438 +-- .../forge-mcp/botManagement/schemas.ts | 437 +-- .../forge-mcp/botManagement/tools.ts | 215 +- .../forge-mcp/botnetFeed/asn/schemas.ts | 12 - .../forge-mcp/botnetFeed/asn/tools.ts | 38 +- .../forge-mcp/botnetFeed/configs/asn/tools.ts | 29 +- src/generated/forge-mcp/botnetFeed/schemas.ts | 19 - .../brandProtection/logoMatches/tools.ts | 5 +- .../forge-mcp/brandProtection/logos/tools.ts | 13 +- .../brandProtection/matches/tools.ts | 9 +- .../brandProtection/queries/tools.ts | 13 +- .../forge-mcp/brandProtection/tools.ts | 9 +- .../forge-mcp/brandProtection/trial/tools.ts | 4 +- .../forge-mcp/browserRun/crawl/tools.ts | 14 +- .../devtools/browser/liveView/tools.ts | 4 +- .../devtools/browser/targets/tools.ts | 22 +- .../browserRun/devtools/browser/tools.ts | 17 +- .../browserRun/devtools/json/tools.ts | 5 +- .../browserRun/devtools/session/tools.ts | 9 +- .../forge-mcp/browserRun/quickAction/tools.ts | 45 +- .../browserRun/recording/network/tools.ts | 5 +- .../forge-mcp/browserRun/recording/tools.ts | 4 +- .../forge-mcp/builds/deployHooks/outputs.ts | 55 +- .../forge-mcp/builds/deployHooks/schemas.ts | 25 +- .../forge-mcp/builds/deployHooks/tools.ts | 195 +- .../forge-mcp/builds/limits/tools.ts | 12 +- .../forge-mcp/builds/logs/outputs.ts | 9 +- .../forge-mcp/builds/logs/schemas.ts | 12 - src/generated/forge-mcp/builds/logs/tools.ts | 29 +- src/generated/forge-mcp/builds/outputs.ts | 22 +- .../builds/repos/configAutofill/outputs.ts | 23 +- .../builds/repos/configAutofill/tools.ts | 58 +- .../builds/repos/connections/schemas.ts | 26 +- .../builds/repos/connections/tools.ts | 67 +- src/generated/forge-mcp/builds/schemas.ts | 4 +- .../forge-mcp/builds/tokens/outputs.ts | 32 +- .../forge-mcp/builds/tokens/schemas.ts | 11 +- .../forge-mcp/builds/tokens/tools.ts | 70 +- src/generated/forge-mcp/builds/tools.ts | 262 +- .../forge-mcp/builds/triggers/cache/tools.ts | 18 +- .../triggers/environmentVariables/schemas.ts | 12 - .../triggers/environmentVariables/tools.ts | 71 +- .../forge-mcp/builds/triggers/outputs.ts | 36 +- .../forge-mcp/builds/triggers/schemas.ts | 59 +- .../forge-mcp/builds/triggers/tools.ts | 207 +- .../forge-mcp/builds/versions/schemas.ts | 12 - .../forge-mcp/builds/versions/tools.ts | 97 +- .../forge-mcp/builds/workers/schemas.ts | 54 +- .../forge-mcp/builds/workers/tools.ts | 175 +- .../cache/originCloudRegions/bulk/tools.ts | 21 +- .../cache/originCloudRegions/regions/tools.ts | 12 +- .../cache/originCloudRegions/tools.ts | 44 +- src/generated/forge-mcp/cache/outputs.ts | 9 +- src/generated/forge-mcp/cache/schemas.ts | 9 +- .../settings/regionalTieredCache/outputs.ts | 17 +- .../settings/regionalTieredCache/schemas.ts | 16 - .../settings/regionalTieredCache/tools.ts | 58 +- .../cache/settings/reserve/outputs.ts | 56 +- .../cache/settings/reserve/schemas.ts | 16 - .../forge-mcp/cache/settings/reserve/tools.ts | 95 +- .../settings/smartTieredCache/outputs.ts | 17 +- .../cache/settings/smartTieredCache/tools.ts | 82 +- .../cache/settings/variants/tools.ts | 58 +- src/generated/forge-mcp/cache/tools.ts | 54 +- .../clientSideSecurity/connections/outputs.ts | 2 +- .../clientSideSecurity/connections/tools.ts | 43 +- .../clientSideSecurity/cookies/outputs.ts | 2 +- .../clientSideSecurity/cookies/tools.ts | 41 +- .../forge-mcp/clientSideSecurity/outputs.ts | 7 - .../clientSideSecurity/policies/outputs.ts | 57 +- .../clientSideSecurity/policies/schemas.ts | 70 +- .../clientSideSecurity/policies/tools.ts | 164 +- .../forge-mcp/clientSideSecurity/schemas.ts | 12 - .../clientSideSecurity/scripts/outputs.ts | 258 +- .../clientSideSecurity/scripts/tools.ts | 85 +- .../clientSideSecurity/settings/outputs.ts | 45 +- .../clientSideSecurity/settings/schemas.ts | 28 - .../clientSideSecurity/settings/tools.ts | 63 +- .../forge-mcp/cloudConnector/rules/outputs.ts | 23 +- .../forge-mcp/cloudConnector/rules/schemas.ts | 34 +- .../forge-mcp/cloudConnector/rules/tools.ts | 32 +- .../cloudforceOne/binaryStorage/tools.ts | 4 +- .../credentialMonitor/domains/tools.ts | 13 +- .../credentialMonitor/matches/tools.ts | 5 +- .../priorityIntelligence/constants/tools.ts | 4 +- .../priorityIntelligence/filters/tools.ts | 4 +- .../interests/backtests/tools.ts | 8 +- .../interests/evaluations/tools.ts | 8 +- .../priorityIntelligence/interests/tools.ts | 17 +- .../priorityIntelligence/matches/tools.ts | 24 +- .../priorityIntelligence/profile/tools.ts | 12 +- .../priorityIntelligence/quota/tools.ts | 4 +- .../priorityIntelligence/tools.ts | 21 +- .../cloudforceOne/requests/assets/tools.ts | 12 +- .../cloudforceOne/requests/constants/tools.ts | 4 +- .../requests/legalResponse/tools.ts | 4 +- .../cloudforceOne/requests/messages/tools.ts | 19 +- .../cloudforceOne/requests/metadata/tools.ts | 5 +- .../cloudforceOne/requests/quota/tools.ts | 4 +- .../forge-mcp/cloudforceOne/requests/tools.ts | 17 +- .../cloudforceOne/requests/types/tools.ts | 4 +- .../cloudforceOne/requests/user/tools.ts | 4 +- .../cloudforceOne/rules/approvals/tools.ts | 17 +- .../rules/email/approvals/tools.ts | 5 +- .../cloudforceOne/rules/email/schema/tools.ts | 4 +- .../cloudforceOne/rules/email/tools.ts | 34 +- .../cloudforceOne/rules/exemptions/tools.ts | 16 +- .../cloudforceOne/rules/managed/tools.ts | 4 +- .../cloudforceOne/rules/stats/tools.ts | 4 +- .../forge-mcp/cloudforceOne/rules/tools.ts | 34 +- .../cloudforceOne/rules/tree/tools.ts | 4 +- .../cloudforceOne/scans/config/outputs.ts | 9 +- .../cloudforceOne/scans/config/schemas.ts | 8 - .../cloudforceOne/scans/config/tools.ts | 34 +- .../cloudforceOne/scans/results/tools.ts | 8 +- .../datasets/access/groups/members/tools.ts | 12 +- .../datasets/access/groups/tools.ts | 20 +- .../datasets/access/permissions/tools.ts | 16 +- .../threatIntel/datasets/tools.ts | 25 +- .../threatIntel/events/attackers/tools.ts | 5 +- .../events/categories/catalog/tools.ts | 4 +- .../threatIntel/events/categories/tools.ts | 21 +- .../threatIntel/events/countries/tools.ts | 4 +- .../threatIntel/events/legacy/raw/tools.ts | 8 +- .../events/legacy/references/tools.ts | 8 +- .../threatIntel/events/legacy/tags/tools.ts | 8 +- .../threatIntel/events/legacy/tools.ts | 4 +- .../threatIntel/events/queries/tools.ts | 20 +- .../threatIntel/events/raw/tools.ts | 4 +- .../threatIntel/events/relationships/tools.ts | 9 +- .../events/targetIndustries/catalog/tools.ts | 4 +- .../events/targetIndustries/legacy/tools.ts | 4 +- .../events/targetIndustries/tools.ts | 5 +- .../cloudforceOne/threatIntel/events/tools.ts | 54 +- .../indicators/relationships/tools.ts | 17 +- .../threatIntel/indicators/tags/tools.ts | 4 +- .../threatIntel/indicators/tools.ts | 30 +- .../threatIntel/indicators/types/tools.ts | 9 +- .../threatIntel/tags/actors/tools.ts | 5 +- .../threatIntel/tags/categories/tools.ts | 21 +- .../threatIntel/tags/indicators/tools.ts | 5 +- .../threatIntel/tags/relationships/tools.ts | 19 +- .../cloudforceOne/threatIntel/tags/tools.ts | 21 +- .../cloudforceOne/threatIntel/tools.ts | 4 +- .../threatSignals/articles/skills/tools.ts | 12 +- .../threatSignals/articles/tags/tools.ts | 12 +- .../threatSignals/articles/tools.ts | 36 +- .../threatSignals/categories/tools.ts | 4 +- .../threatSignals/feeds/skills/tools.ts | 8 +- .../threatSignals/feeds/tools.ts | 27 +- .../threatSignals/indicators/tools.ts | 5 +- .../skills/tagCategories/tools.ts | 8 +- .../threatSignals/skills/tools.ts | 21 +- .../cloudforceOne/threatSignals/tools.ts | 5 +- .../forge-mcp/connectorInterrupts/tools.ts | 23 +- .../connectorTelemetryEvents/tools.ts | 24 +- .../connectorTelemetrySnapshots/tools.ts | 24 +- src/generated/forge-mcp/connectors/outputs.ts | 40 +- src/generated/forge-mcp/connectors/schemas.ts | 36 +- src/generated/forge-mcp/connectors/tools.ts | 109 +- .../applications/instances/outputs.ts | 61 +- .../applications/instances/schemas.ts | 12 - .../applications/instances/tools.ts | 73 +- .../containers/applications/outputs.ts | 275 +- .../applications/rollouts/outputs.ts | 10 +- .../applications/rollouts/schemas.ts | 10 +- .../containers/applications/rollouts/tools.ts | 55 +- .../containers/applications/schemas.ts | 220 +- .../containers/applications/tools.ts | 260 +- .../containers/applications/versions/tools.ts | 30 +- .../forge-mcp/containers/images/outputs.ts | 21 +- .../forge-mcp/containers/images/schemas.ts | 4 +- .../forge-mcp/containers/images/tools.ts | 16 +- src/generated/forge-mcp/containers/outputs.ts | 21 - .../registries/credentials/outputs.ts | 2 +- .../registries/credentials/schemas.ts | 21 +- .../registries/credentials/tools.ts | 13 +- .../containers/registries/outputs.ts | 47 +- .../containers/registries/schemas.ts | 38 +- .../forge-mcp/containers/registries/tools.ts | 36 +- src/generated/forge-mcp/containers/schemas.ts | 12 - .../contentScan/expressions/outputs.ts | 18 +- .../contentScan/expressions/schemas.ts | 20 - .../contentScan/expressions/tools.ts | 100 +- src/generated/forge-mcp/contentScan/tools.ts | 23 +- src/generated/forge-mcp/cps/tools.ts | 6 +- .../forge-mcp/csamScanner/schemas.ts | 18 +- src/generated/forge-mcp/csamScanner/tools.ts | 21 +- src/generated/forge-mcp/customCsrs/outputs.ts | 12 +- src/generated/forge-mcp/customCsrs/schemas.ts | 8 - src/generated/forge-mcp/customCsrs/tools.ts | 68 +- .../certificatePack/certificates/tools.ts | 83 +- .../customHostnames/fallbackOrigin/outputs.ts | 56 +- .../customHostnames/fallbackOrigin/schemas.ts | 12 - .../customHostnames/fallbackOrigin/tools.ts | 68 +- .../forge-mcp/customHostnames/outputs.ts | 121 +- .../forge-mcp/customHostnames/quota/tools.ts | 12 +- .../forge-mcp/customHostnames/schemas.ts | 56 +- .../forge-mcp/customHostnames/tools.ts | 173 +- .../forge-mcp/customNameservers/outputs.ts | 6 +- .../forge-mcp/customNameservers/schemas.ts | 12 - .../forge-mcp/customNameservers/tools.ts | 60 +- .../customPages/accountAssets/outputs.ts | 30 +- .../customPages/accountAssets/schemas.ts | 28 - .../customPages/accountAssets/tools.ts | 138 +- .../customPages/accountCustomPages/outputs.ts | 32 +- .../accountCustomPages/previewTokens/tools.ts | 10 +- .../customPages/accountCustomPages/schemas.ts | 44 - .../customPages/accountCustomPages/tools.ts | 108 +- .../forge-mcp/customPages/outputs.ts | 8 - .../forge-mcp/customPages/schemas.ts | 12 - src/generated/forge-mcp/d1/outputs.ts | 146 +- src/generated/forge-mcp/d1/schemas.ts | 65 +- .../forge-mcp/d1/timeTravel/outputs.ts | 11 +- .../forge-mcp/d1/timeTravel/schemas.ts | 21 - .../forge-mcp/d1/timeTravel/tools.ts | 69 +- src/generated/forge-mcp/d1/tools.ts | 269 +- .../endpointHealthchecks/outputs.ts | 24 +- .../endpointHealthchecks/schemas.ts | 26 +- .../diagnostics/endpointHealthchecks/tools.ts | 93 +- .../forge-mcp/diagnostics/schemas.ts | 12 - .../diagnostics/traceroutes/outputs.ts | 158 +- .../diagnostics/traceroutes/schemas.ts | 74 +- .../diagnostics/traceroutes/tools.ts | 68 +- .../regionalServices/prefixBindings/tools.ts | 53 +- src/generated/forge-mcp/dls/regions/tools.ts | 24 +- src/generated/forge-mcp/dls/schemas.ts | 12 - .../forge-mcp/dns/dnssec/list/outputs.ts | 42 +- .../forge-mcp/dns/dnssec/list/tools.ts | 18 +- src/generated/forge-mcp/dns/dnssec/outputs.ts | 282 +- src/generated/forge-mcp/dns/dnssec/schemas.ts | 36 - src/generated/forge-mcp/dns/dnssec/tools.ts | 124 +- .../forge-mcp/dns/domainconnect/tools.ts | 19 +- src/generated/forge-mcp/dns/outputs.ts | 7 - .../forge-mcp/dns/records/outputs.ts | 73 +- .../forge-mcp/dns/records/schemas.ts | 205 +- src/generated/forge-mcp/dns/records/tools.ts | 435 +-- src/generated/forge-mcp/dns/schemas.ts | 12 - .../account/nameserverSets/outputs.ts | 40 +- .../account/nameserverSets/schemas.ts | 60 +- .../settings/account/nameserverSets/tools.ts | 121 +- .../forge-mcp/dns/settings/account/outputs.ts | 80 +- .../forge-mcp/dns/settings/account/schemas.ts | 112 +- .../forge-mcp/dns/settings/account/tools.ts | 70 +- .../dns/settings/account/views/outputs.ts | 33 +- .../dns/settings/account/views/schemas.ts | 61 +- .../dns/settings/account/views/tools.ts | 173 +- .../forge-mcp/dns/usage/account/tools.ts | 12 +- .../dns/zoneTransfers/acls/outputs.ts | 20 +- .../dns/zoneTransfers/acls/schemas.ts | 24 +- .../forge-mcp/dns/zoneTransfers/acls/tools.ts | 103 +- .../dns/zoneTransfers/forceAxfr/outputs.ts | 9 +- .../dns/zoneTransfers/forceAxfr/tools.ts | 17 +- .../dns/zoneTransfers/incoming/outputs.ts | 21 +- .../dns/zoneTransfers/incoming/schemas.ts | 16 +- .../dns/zoneTransfers/incoming/tools.ts | 88 +- .../dns/zoneTransfers/outgoing/outputs.ts | 39 +- .../dns/zoneTransfers/outgoing/schemas.ts | 4 +- .../zoneTransfers/outgoing/status/tools.ts | 17 +- .../dns/zoneTransfers/outgoing/tools.ts | 106 +- .../forge-mcp/dns/zoneTransfers/outputs.ts | 41 +- .../dns/zoneTransfers/peers/outputs.ts | 47 +- .../dns/zoneTransfers/peers/schemas.ts | 60 +- .../dns/zoneTransfers/peers/tools.ts | 131 +- .../forge-mcp/dns/zoneTransfers/schemas.ts | 31 +- .../dns/zoneTransfers/tsigs/outputs.ts | 38 +- .../dns/zoneTransfers/tsigs/schemas.ts | 43 +- .../dns/zoneTransfers/tsigs/tools.ts | 103 +- .../forge-mcp/dnsFirewall/outputs.ts | 120 +- .../forge-mcp/dnsFirewall/reverseDns/tools.ts | 29 +- .../forge-mcp/dnsFirewall/schemas.ts | 190 +- src/generated/forge-mcp/dnsFirewall/tools.ts | 187 +- .../namespaces/objects/outputs.ts | 7 - .../namespaces/objects/tools.ts | 29 +- .../durableObjects/namespaces/schemas.ts | 37 +- .../durableObjects/namespaces/tools.ts | 30 +- .../emailAuth/dmarcReports/outputs.ts | 23 +- .../forge-mcp/emailAuth/dmarcReports/tools.ts | 26 +- src/generated/forge-mcp/emailAuth/schemas.ts | 12 - .../forge-mcp/emailAuth/spf/outputs.ts | 27 +- .../forge-mcp/emailAuth/spf/tools.ts | 16 +- .../forge-mcp/emailDomains/outputs.ts | 2 +- src/generated/forge-mcp/emailDomains/tools.ts | 80 +- .../emailRouting/addresses/outputs.ts | 44 +- .../emailRouting/addresses/schemas.ts | 20 +- .../forge-mcp/emailRouting/addresses/tools.ts | 137 +- .../forge-mcp/emailRouting/dns/tools.ts | 60 +- .../forge-mcp/emailRouting/outputs.ts | 123 +- .../emailRouting/rules/catchAll/outputs.ts | 18 +- .../emailRouting/rules/catchAll/schemas.ts | 24 +- .../emailRouting/rules/catchAll/tools.ts | 54 +- .../forge-mcp/emailRouting/rules/outputs.ts | 106 +- .../forge-mcp/emailRouting/rules/schemas.ts | 132 +- .../forge-mcp/emailRouting/rules/tools.ts | 170 +- .../forge-mcp/emailRouting/schemas.ts | 12 +- .../forge-mcp/emailRouting/settings/tools.ts | 93 +- src/generated/forge-mcp/emailRouting/tools.ts | 71 +- .../emailSecurity/allowPolicies/outputs.ts | 31 +- .../emailSecurity/allowPolicies/schemas.ts | 29 +- .../emailSecurity/allowPolicies/tools.ts | 169 +- .../analytics/monthlyReport/tools.ts | 12 +- .../emailSecurity/blockSenders/outputs.ts | 31 +- .../emailSecurity/blockSenders/schemas.ts | 29 +- .../emailSecurity/blockSenders/tools.ts | 169 +- .../bulkActions/messages/outputs.ts | 48 +- .../bulkActions/messages/schemas.ts | 20 - .../bulkActions/messages/tools.ts | 58 +- .../emailSecurity/bulkActions/outputs.ts | 74 +- .../emailSecurity/bulkActions/schemas.ts | 79 +- .../emailSecurity/bulkActions/tools.ts | 132 +- .../emailSecurity/contentPolicies/outputs.ts | 37 +- .../emailSecurity/contentPolicies/schemas.ts | 35 +- .../emailSecurity/contentPolicies/tools.ts | 134 +- .../emailSecurity/domains/outputs.ts | 219 +- .../emailSecurity/domains/schemas.ts | 226 +- .../forge-mcp/emailSecurity/domains/tools.ts | 295 +- .../domains/verification/outputs.ts | 15 +- .../domains/verification/tools.ts | 22 +- .../impersonationRegistry/outputs.ts | 44 +- .../impersonationRegistry/schemas.ts | 38 +- .../impersonationRegistry/tools.ts | 113 +- .../investigate/actionLog/tools.ts | 21 +- .../investigate/detections/outputs.ts | 42 +- .../investigate/detections/tools.ts | 26 +- .../emailSecurity/investigate/outputs.ts | 4 +- .../investigate/preview/tools.ts | 36 +- .../emailSecurity/investigate/raw/tools.ts | 20 +- .../emailSecurity/investigate/tools.ts | 148 +- .../emailSecurity/investigate/trace/tools.ts | 20 +- .../forge-mcp/emailSecurity/outputs.ts | 247 +- .../phishguard/reports/outputs.ts | 14 +- .../emailSecurity/phishguard/reports/tools.ts | 16 +- .../forge-mcp/emailSecurity/schemas.ts | 95 - .../sendingDomainRestrictions/outputs.ts | 23 +- .../sendingDomainRestrictions/schemas.ts | 9 - .../sendingDomainRestrictions/tools.ts | 92 +- .../emailSecurity/submissions/outputs.ts | 130 +- .../emailSecurity/submissions/schemas.ts | 44 +- .../emailSecurity/submissions/tools.ts | 74 +- .../emailSecurity/trustedDomains/outputs.ts | 23 +- .../emailSecurity/trustedDomains/schemas.ts | 9 - .../emailSecurity/trustedDomains/tools.ts | 138 +- .../urlIgnorePatterns/outputs.ts | 14 +- .../urlIgnorePatterns/schemas.ts | 9 - .../emailSecurity/urlIgnorePatterns/tools.ts | 108 +- .../forge-mcp/emailSending/limits/tools.ts | 12 +- .../emailSending/reputation/tools.ts | 12 +- .../forge-mcp/emailSending/schemas.ts | 32 +- .../emailSending/subdomains/dns/tools.ts | 50 +- .../emailSending/subdomains/outputs.ts | 15 +- .../subdomains/reputation/tools.ts | 19 +- .../emailSending/subdomains/schemas.ts | 12 +- .../emailSending/subdomains/tools.ts | 104 +- .../emailSending/suppressions/tools.ts | 25 +- src/generated/forge-mcp/emailSending/tools.ts | 14 +- .../forge-mcp/fieldExtractors/tools.ts | 12 +- .../forge-mcp/firewall/accessRules/outputs.ts | 13 +- .../forge-mcp/firewall/accessRules/tools.ts | 149 +- .../forge-mcp/firewall/lockdowns/outputs.ts | 43 +- .../forge-mcp/firewall/lockdowns/schemas.ts | 57 - .../forge-mcp/firewall/lockdowns/tools.ts | 172 +- src/generated/forge-mcp/firewall/outputs.ts | 18 - .../firewall/payloadLogging/tools.ts | 32 +- src/generated/forge-mcp/firewall/schemas.ts | 36 - .../forge-mcp/firewall/uaRules/outputs.ts | 42 +- .../forge-mcp/firewall/uaRules/schemas.ts | 16 - .../forge-mcp/firewall/uaRules/tools.ts | 173 +- .../flagship/apps/definitions/tools.ts | 5 +- .../forge-mcp/flagship/apps/evaluate/tools.ts | 5 +- .../flagship/apps/flags/changelog/tools.ts | 5 +- .../forge-mcp/flagship/apps/flags/tools.ts | 29 +- .../forge-mcp/flagship/apps/tools.ts | 20 +- src/generated/forge-mcp/fraud/outputs.ts | 17 +- src/generated/forge-mcp/fraud/schemas.ts | 40 +- src/generated/forge-mcp/fraud/tools.ts | 28 +- .../googleTagGateway/config/schemas.ts | 8 - .../googleTagGateway/config/tools.ts | 25 +- .../forge-mcp/healthchecks/outputs.ts | 145 +- .../forge-mcp/healthchecks/previews/tools.ts | 132 +- .../forge-mcp/healthchecks/schemas.ts | 128 +- src/generated/forge-mcp/healthchecks/tools.ts | 274 +- .../integration/planetscale/tools.ts | 12 +- src/generated/forge-mcp/hyperdrive/outputs.ts | 68 +- src/generated/forge-mcp/hyperdrive/schemas.ts | 104 +- src/generated/forge-mcp/hyperdrive/tools.ts | 171 +- .../forge-mcp/iam/oauthClients/outputs.ts | 28 +- .../forge-mcp/iam/oauthClients/schemas.ts | 39 +- .../forge-mcp/iam/oauthClients/tools.ts | 136 +- .../forge-mcp/iam/oauthScopes/tools.ts | 3 +- .../forge-mcp/iam/permissionGroups/tools.ts | 35 +- .../forge-mcp/iam/resourceGroups/schemas.ts | 16 - .../forge-mcp/iam/resourceGroups/tools.ts | 109 +- src/generated/forge-mcp/iam/schemas.ts | 20 - src/generated/forge-mcp/iam/sso/outputs.ts | 27 +- src/generated/forge-mcp/iam/sso/schemas.ts | 20 - src/generated/forge-mcp/iam/sso/tools.ts | 148 +- .../iam/userGroups/members/outputs.ts | 6 +- .../iam/userGroups/members/schemas.ts | 12 - .../forge-mcp/iam/userGroups/members/tools.ts | 123 +- .../forge-mcp/iam/userGroups/outputs.ts | 17 +- .../forge-mcp/iam/userGroups/schemas.ts | 24 +- .../forge-mcp/iam/userGroups/tools.ts | 154 +- src/generated/forge-mcp/images/flows/tools.ts | 8 +- .../forge-mcp/images/import/outputs.ts | 113 +- .../forge-mcp/images/import/schemas.ts | 58 +- .../images/import/sources/outputs.ts | 17 +- .../images/import/sources/schemas.ts | 28 +- .../forge-mcp/images/import/sources/tools.ts | 110 +- .../forge-mcp/images/import/tools.ts | 172 +- .../forge-mcp/images/keys/outputs.ts | 18 +- .../forge-mcp/images/keys/schemas.ts | 11 - src/generated/forge-mcp/images/keys/tools.ts | 55 +- src/generated/forge-mcp/images/outputs.ts | 129 +- src/generated/forge-mcp/images/schemas.ts | 31 - src/generated/forge-mcp/images/tools.ts | 171 +- .../forge-mcp/images/variants/outputs.ts | 82 +- .../forge-mcp/images/variants/schemas.ts | 97 +- .../forge-mcp/images/variants/tools.ts | 132 +- src/generated/forge-mcp/intel/asn/outputs.ts | 9 +- src/generated/forge-mcp/intel/asn/schemas.ts | 11 - .../forge-mcp/intel/asn/subnets/outputs.ts | 25 - .../forge-mcp/intel/asn/subnets/tools.ts | 52 +- src/generated/forge-mcp/intel/asn/tools.ts | 23 +- .../attackSurfaceReport/issueTypes/tools.ts | 12 +- src/generated/forge-mcp/intel/dns/tools.ts | 11 +- .../forge-mcp/intel/domainHistory/outputs.ts | 2 +- .../forge-mcp/intel/domainHistory/tools.ts | 16 +- .../forge-mcp/intel/domains/bulks/outputs.ts | 8 +- .../forge-mcp/intel/domains/bulks/tools.ts | 29 +- .../forge-mcp/intel/domains/outputs.ts | 38 +- .../forge-mcp/intel/domains/tools.ts | 30 +- .../intel/indicatorFeeds/downloads/tools.ts | 20 +- .../forge-mcp/intel/indicatorFeeds/outputs.ts | 91 +- .../indicatorFeeds/permissions/outputs.ts | 12 +- .../intel/indicatorFeeds/permissions/tools.ts | 48 +- .../intel/indicatorFeeds/providers/schemas.ts | 2 +- .../intel/indicatorFeeds/providers/tools.ts | 10 +- .../forge-mcp/intel/indicatorFeeds/schemas.ts | 40 +- .../forge-mcp/intel/indicatorFeeds/tools.ts | 132 +- .../intel/indicatorFeeds/uploads/outputs.ts | 2 +- .../intel/indicatorFeeds/uploads/tools.ts | 23 +- .../forge-mcp/intel/ipLists/tools.ts | 12 +- src/generated/forge-mcp/intel/ips/outputs.ts | 37 +- src/generated/forge-mcp/intel/ips/tools.ts | 27 +- .../intel/miscategorizations/tools.ts | 10 +- src/generated/forge-mcp/intel/outputs.ts | 7 - src/generated/forge-mcp/intel/schemas.ts | 12 - .../intel/sinkholes/ingresses/tools.ts | 52 +- .../forge-mcp/intel/sinkholes/schemas.ts | 8 - .../forge-mcp/intel/sinkholes/tools.ts | 56 +- src/generated/forge-mcp/intel/urls/tools.ts | 13 +- .../forge-mcp/intel/whois/outputs.ts | 9 +- .../forge-mcp/intel/whois/schemas.ts | 12 - src/generated/forge-mcp/intel/whois/tools.ts | 16 +- .../forge-mcp/internal/submit/tools.ts | 3 +- src/generated/forge-mcp/ips/outputs.ts | 11 +- src/generated/forge-mcp/ips/tools.ts | 7 +- src/generated/forge-mcp/k2/streams/outputs.ts | 20 +- src/generated/forge-mcp/k2/streams/schemas.ts | 16 - .../k2/streams/subscriptions/outputs.ts | 2 +- .../k2/streams/subscriptions/tools.ts | 27 +- src/generated/forge-mcp/k2/streams/tools.ts | 93 +- src/generated/forge-mcp/kv/bulk/outputs.ts | 2 +- src/generated/forge-mcp/kv/bulk/schemas.ts | 23 +- src/generated/forge-mcp/kv/bulk/tools.ts | 65 +- src/generated/forge-mcp/kv/keys/outputs.ts | 11 +- src/generated/forge-mcp/kv/keys/tools.ts | 75 +- src/generated/forge-mcp/kv/metadata/tools.ts | 26 +- .../forge-mcp/kv/namespaces/outputs.ts | 45 +- .../forge-mcp/kv/namespaces/schemas.ts | 38 +- .../forge-mcp/kv/namespaces/tools.ts | 112 +- src/generated/forge-mcp/kv/outputs.ts | 21 - src/generated/forge-mcp/kv/schemas.ts | 40 - .../detections/outputs.ts | 9 +- .../detections/schemas.ts | 12 +- .../detections/tools.ts | 91 +- .../forge-mcp/leakedCredentialChecks/tools.ts | 21 +- src/generated/forge-mcp/live/tools.ts | 3 +- .../loadBalancers/account/outputs.ts | 191 +- .../loadBalancers/account/schemas.ts | 195 +- .../forge-mcp/loadBalancers/account/tools.ts | 363 +- .../loadBalancers/account/usage/tools.ts | 12 +- .../loadBalancers/monitorGroups/outputs.ts | 4 +- .../monitorGroups/references/tools.ts | 16 +- .../loadBalancers/monitorGroups/schemas.ts | 4 +- .../loadBalancers/monitorGroups/tools.ts | 106 +- .../loadBalancers/monitors/previews/tools.ts | 47 +- .../monitors/references/tools.ts | 16 +- .../forge-mcp/loadBalancers/monitors/tools.ts | 323 +- .../loadBalancers/pools/health/tools.ts | 61 +- .../loadBalancers/pools/references/tools.ts | 16 +- .../forge-mcp/loadBalancers/pools/tools.ts | 526 +-- .../loadBalancers/previews/schemas.ts | 11 - .../forge-mcp/loadBalancers/previews/tools.ts | 16 +- .../loadBalancers/regions/schemas.ts | 27 - .../forge-mcp/loadBalancers/regions/tools.ts | 55 +- .../forge-mcp/loadBalancers/schemas.ts | 12 - .../forge-mcp/loadBalancers/searches/tools.ts | 13 +- .../logpush/accountDatasets/fields/tools.ts | 64 +- .../logpush/accountDatasets/jobs/tools.ts | 112 +- .../forge-mcp/logpush/accountJobs/schemas.ts | 19 - .../forge-mcp/logpush/accountJobs/tools.ts | 552 +-- .../logpush/accountOwnership/tools.ts | 17 +- .../accountOwnership/validate/tools.ts | 26 +- .../accountValidate/destination/tools.ts | 17 +- .../logpush/accountValidate/origin/tools.ts | 25 +- .../logpush/accountValidate/tools.ts | 17 +- .../forge-mcp/logpush/edge/outputs.ts | 45 +- .../forge-mcp/logpush/edge/schemas.ts | 28 - src/generated/forge-mcp/logpush/edge/tools.ts | 68 +- src/generated/forge-mcp/logpush/outputs.ts | 411 +-- src/generated/forge-mcp/logpush/schemas.ts | 229 -- .../logpush/transformers/content/tools.ts | 19 +- .../forge-mcp/logpush/transformers/outputs.ts | 50 +- .../forge-mcp/logpush/transformers/schemas.ts | 60 +- .../forge-mcp/logpush/transformers/tools.ts | 123 +- .../logpush/transformers/versions/tools.ts | 19 +- .../logs/control/cmb/config/outputs.ts | 18 +- .../logs/control/cmb/config/schemas.ts | 24 +- .../logs/control/cmb/config/tools.ts | 50 +- .../logs/control/retention/outputs.ts | 9 +- .../logs/control/retention/schemas.ts | 12 +- .../forge-mcp/logs/control/retention/tools.ts | 32 +- .../forge-mcp/logs/control/schemas.ts | 12 - .../forge-mcp/logs/datasets/schemas.ts | 12 +- .../forge-mcp/logs/datasets/tools.ts | 25 +- src/generated/forge-mcp/logs/list/schemas.ts | 11 - src/generated/forge-mcp/logs/list/tools.ts | 54 +- src/generated/forge-mcp/logs/rayid/schemas.ts | 12 - src/generated/forge-mcp/logs/rayid/tools.ts | 38 +- .../forge-mcp/logs/received/fields/tools.ts | 12 +- .../forge-mcp/logs/received/schemas.ts | 50 - .../forge-mcp/logs/received/tools.ts | 68 +- .../forge-mcp/logs/retrieve/tools.ts | 48 +- src/generated/forge-mcp/logs/schemas.ts | 76 - .../configs/full/tools.ts | 19 +- .../magicNetworkMonitoring/configs/outputs.ts | 28 +- .../magicNetworkMonitoring/configs/schemas.ts | 27 +- .../magicNetworkMonitoring/configs/tools.ts | 109 +- .../rules/advertisements/outputs.ts | 9 +- .../rules/advertisements/tools.ts | 19 +- .../rules/bulk/tools.ts | 100 +- .../magicNetworkMonitoring/rules/outputs.ts | 216 +- .../magicNetworkMonitoring/rules/schemas.ts | 241 +- .../magicNetworkMonitoring/rules/tools.ts | 248 +- .../magicNetworkMonitoring/schemas.ts | 11 - .../vpcFlows/tokens/outputs.ts | 9 +- .../vpcFlows/tokens/tools.ts | 17 +- .../configs/dns/protection/rules/tools.ts | 82 +- .../configs/allowlist/prefix/tools.ts | 50 +- .../configs/allowlist/tools.ts | 33 +- .../configs/prefixes/bulk/tools.ts | 10 +- .../configs/prefixes/tools.ts | 82 +- .../configs/syn/protection/filters/tools.ts | 82 +- .../configs/syn/protection/rules/tools.ts | 82 +- .../tcp/flow/protection/filters/tools.ts | 82 +- .../tcp/flow/protection/rules/tools.ts | 82 +- .../configs/tcp/protection/status/tools.ts | 21 +- .../forge-mcp/magicTransit/apps/outputs.ts | 30 +- .../forge-mcp/magicTransit/apps/schemas.ts | 38 +- .../forge-mcp/magicTransit/apps/tools.ts | 96 +- .../magicTransit/bgpFilterProfiles/outputs.ts | 19 +- .../magicTransit/bgpFilterProfiles/schemas.ts | 28 +- .../magicTransit/bgpFilterProfiles/tools.ts | 89 +- .../magicTransit/bgpSettings/tools.ts | 21 +- .../magicTransit/cf1Sites/outputs.ts | 2 +- .../magicTransit/cf1Sites/ramps/outputs.ts | 25 +- .../magicTransit/cf1Sites/ramps/schemas.ts | 30 +- .../magicTransit/cf1Sites/ramps/tools.ts | 91 +- .../forge-mcp/magicTransit/cf1Sites/tools.ts | 75 +- .../magicTransit/cfInterconnects/outputs.ts | 53 +- .../magicTransit/cfInterconnects/schemas.ts | 58 +- .../magicTransit/cfInterconnects/tools.ts | 148 +- .../magicTransit/greTunnels/outputs.ts | 68 +- .../magicTransit/greTunnels/schemas.ts | 120 +- .../magicTransit/greTunnels/tools.ts | 264 +- .../magicTransit/ipsecTunnels/outputs.ts | 86 +- .../magicTransit/ipsecTunnels/schemas.ts | 128 +- .../magicTransit/ipsecTunnels/tools.ts | 304 +- .../forge-mcp/magicTransit/outputs.ts | 72 - .../magicTransit/pcaps/download/tools.ts | 16 +- .../forge-mcp/magicTransit/pcaps/outputs.ts | 191 +- .../magicTransit/pcaps/ownership/outputs.ts | 12 +- .../magicTransit/pcaps/ownership/schemas.ts | 20 +- .../magicTransit/pcaps/ownership/tools.ts | 66 +- .../forge-mcp/magicTransit/pcaps/schemas.ts | 151 +- .../forge-mcp/magicTransit/pcaps/tools.ts | 167 +- .../magicTransit/redundancyGroups/tools.ts | 64 +- .../forge-mcp/magicTransit/routes/outputs.ts | 87 +- .../forge-mcp/magicTransit/routes/schemas.ts | 122 +- .../forge-mcp/magicTransit/routes/tools.ts | 260 +- .../forge-mcp/magicTransit/schemas.ts | 74 +- .../magicTransit/sites/acls/outputs.ts | 54 +- .../magicTransit/sites/acls/schemas.ts | 70 +- .../magicTransit/sites/acls/tools.ts | 236 +- .../sites/appConfiguration/outputs.ts | 28 +- .../sites/appConfiguration/schemas.ts | 51 +- .../sites/appConfiguration/tools.ts | 124 +- .../magicTransit/sites/lans/outputs.ts | 43 +- .../magicTransit/sites/lans/schemas.ts | 76 +- .../magicTransit/sites/lans/tools.ts | 201 +- .../magicTransit/sites/netflowConfig/tools.ts | 70 +- .../forge-mcp/magicTransit/sites/outputs.ts | 50 +- .../forge-mcp/magicTransit/sites/schemas.ts | 71 +- .../forge-mcp/magicTransit/sites/tools.ts | 147 +- .../magicTransit/sites/wans/outputs.ts | 14 +- .../magicTransit/sites/wans/schemas.ts | 36 +- .../magicTransit/sites/wans/tools.ts | 184 +- .../vulnerabilityDiscovery/reports/tools.ts | 4 +- .../repositories/tools.ts | 19 +- .../vulnerabilityDiscovery/scans/tools.ts | 18 +- .../forge-mcp/managedTransforms/outputs.ts | 11 +- .../forge-mcp/managedTransforms/schemas.ts | 12 +- .../forge-mcp/managedTransforms/tools.ts | 39 +- src/generated/forge-mcp/mcp/portals/tools.ts | 31 +- src/generated/forge-mcp/mcp/servers/tools.ts | 30 +- src/generated/forge-mcp/media/usage/tools.ts | 25 +- .../mesh/nodes/configurations/outputs.ts | 52 +- .../mesh/nodes/configurations/schemas.ts | 24 +- .../mesh/nodes/configurations/tools.ts | 58 +- .../forge-mcp/mesh/nodes/connections/tools.ts | 42 +- .../forge-mcp/mesh/nodes/connectors/tools.ts | 52 +- src/generated/forge-mcp/mesh/nodes/outputs.ts | 41 +- src/generated/forge-mcp/mesh/nodes/schemas.ts | 13 - .../forge-mcp/mesh/nodes/token/tools.ts | 21 +- src/generated/forge-mcp/mesh/nodes/tools.ts | 319 +- .../accountEligibility/schemas.ts | 8 - .../monetization/accountEligibility/tools.ts | 25 +- .../forge-mcp/monetization/rules/outputs.ts | 22 +- .../forge-mcp/monetization/rules/schemas.ts | 61 +- .../forge-mcp/monetization/rules/tools.ts | 111 +- src/generated/forge-mcp/network/outputs.ts | 19 - .../forge-mcp/network/routes/cidr/outputs.ts | 18 +- .../forge-mcp/network/routes/cidr/tools.ts | 258 +- .../network/routes/hostname/outputs.ts | 66 +- .../network/routes/hostname/schemas.ts | 46 - .../network/routes/hostname/tools.ts | 244 +- .../forge-mcp/network/routes/outputs.ts | 62 +- .../forge-mcp/network/routes/schemas.ts | 37 - .../forge-mcp/network/routes/tools.ts | 58 +- src/generated/forge-mcp/network/schemas.ts | 21 - .../network/subnets/cloudflareSource/tools.ts | 102 +- .../subnets/initialResolvedIp/tools.ts | 102 +- .../forge-mcp/network/subnets/outputs.ts | 72 +- .../forge-mcp/network/subnets/schemas.ts | 81 - .../forge-mcp/network/subnets/tools.ts | 87 +- .../forge-mcp/network/subnets/warp/outputs.ts | 24 +- .../forge-mcp/network/subnets/warp/tools.ts | 182 +- .../network/virtualNetworks/outputs.ts | 29 +- .../network/virtualNetworks/schemas.ts | 28 - .../network/virtualNetworks/tools.ts | 208 +- .../networkInterconnects/cnis/outputs.ts | 19 +- .../networkInterconnects/cnis/schemas.ts | 28 +- .../networkInterconnects/cnis/tools.ts | 73 +- .../interconnects/outputs.ts | 46 +- .../interconnects/schemas.ts | 40 +- .../interconnects/tools.ts | 94 +- .../forge-mcp/networkInterconnects/outputs.ts | 7 - .../forge-mcp/networkInterconnects/schemas.ts | 12 - .../networkInterconnects/settings/tools.ts | 8 +- .../networkInterconnects/slots/outputs.ts | 2 +- .../networkInterconnects/slots/tools.ts | 30 +- .../forge-mcp/o11y/agents/sessions/tools.ts | 10 +- .../forge-mcp/o11y/destinations/tools.ts | 17 +- .../o11y/issues/automations/tools.ts | 21 +- src/generated/forge-mcp/o11y/issues/tools.ts | 43 +- .../forge-mcp/o11y/metricsExport/tools.ts | 8 +- src/generated/forge-mcp/o11y/queries/tools.ts | 21 +- .../forge-mcp/o11y/sharedQueries/tools.ts | 9 +- .../forge-mcp/o11y/telemetry/tools.ts | 20 +- src/generated/forge-mcp/o11y/tools.ts | 5 +- .../forge-mcp/o11y/tracing/rules/tools.ts | 12 +- .../forge-mcp/o11y/tracing/settings/tools.ts | 12 +- .../observability/usageLimit/tools.ts | 4 +- .../forge-mcp/organization/account/tools.ts | 14 +- .../forge-mcp/organization/invite/outputs.ts | 2 +- .../forge-mcp/organization/invite/tools.ts | 17 +- .../organization/member/batch/tools.ts | 16 +- .../forge-mcp/organization/member/outputs.ts | 2 +- .../forge-mcp/organization/member/tools.ts | 58 +- .../forge-mcp/organization/outputs.ts | 7 - .../forge-mcp/organization/profile/tools.ts | 24 +- .../forge-mcp/organization/schemas.ts | 15 +- .../forge-mcp/organization/share/tools.ts | 105 +- src/generated/forge-mcp/organization/tools.ts | 58 +- .../organizations/billing/usage/tools.ts | 13 +- .../organizations/logs/audit/outputs.ts | 2 +- .../organizations/logs/audit/tools.ts | 22 +- src/generated/forge-mcp/outputs.ts | 2976 +++++------------ src/generated/forge-mcp/pageRules/outputs.ts | 52 +- src/generated/forge-mcp/pageRules/schemas.ts | 162 +- src/generated/forge-mcp/pageRules/tools.ts | 185 +- .../forge-mcp/pages/buildCache/tools.ts | 17 +- .../pages/deployments/history/logs/tools.ts | 24 +- .../forge-mcp/pages/deployments/schemas.ts | 13 - .../forge-mcp/pages/deployments/tools.ts | 129 +- .../forge-mcp/pages/domains/outputs.ts | 9 +- .../forge-mcp/pages/domains/schemas.ts | 12 - .../forge-mcp/pages/domains/tools.ts | 89 +- .../pages/domains/validation/tools.ts | 27 +- src/generated/forge-mcp/pages/outputs.ts | 28 +- src/generated/forge-mcp/pages/schemas.ts | 30 +- .../forge-mcp/pages/source/schemas.ts | 8 +- src/generated/forge-mcp/pages/source/tools.ts | 48 +- src/generated/forge-mcp/pages/tools.ts | 91 +- .../forge-mcp/payPerCrawl/config/outputs.ts | 17 +- .../forge-mcp/payPerCrawl/config/schemas.ts | 23 +- .../forge-mcp/payPerCrawl/config/tools.ts | 22 +- .../payPerCrawl/crawler/stripe/tools.ts | 12 +- .../forge-mcp/payPerCrawl/crawlers/tools.ts | 4 +- .../payPerCrawl/publisher/stripe/tools.ts | 12 +- .../forge-mcp/payPerCrawl/terms/tools.ts | 18 +- .../forge-mcp/payPerCrawl/zones/tools.ts | 12 +- .../payPerUse/enabledDomains/tools.ts | 5 +- .../forge-mcp/payPerUse/operator/tools.ts | 12 +- .../forge-mcp/payPerUse/pricing/tools.ts | 13 +- .../forge-mcp/payPerUse/proposals/tools.ts | 9 +- .../forge-mcp/payPerUse/usageStats/tools.ts | 5 +- .../forge-mcp/payPerUse/zones/tools.ts | 16 +- src/generated/forge-mcp/pipelines/outputs.ts | 88 +- src/generated/forge-mcp/pipelines/schemas.ts | 96 +- .../forge-mcp/pipelines/sinks/outputs.ts | 17 +- .../forge-mcp/pipelines/sinks/schemas.ts | 28 +- .../forge-mcp/pipelines/sinks/tools.ts | 129 +- .../forge-mcp/pipelines/streams/schemas.ts | 8 - .../forge-mcp/pipelines/streams/tools.ts | 160 +- src/generated/forge-mcp/pipelines/tools.ts | 117 +- src/generated/forge-mcp/precursor/outputs.ts | 30 +- src/generated/forge-mcp/precursor/schemas.ts | 46 +- src/generated/forge-mcp/precursor/tools.ts | 37 +- src/generated/forge-mcp/previews/tools.ts | 13 +- .../forge-mcp/queues/consumers/schemas.ts | 44 +- .../forge-mcp/queues/consumers/tools.ts | 191 +- .../forge-mcp/queues/messages/outputs.ts | 18 +- .../forge-mcp/queues/messages/schemas.ts | 16 - .../forge-mcp/queues/messages/tools.ts | 164 +- .../forge-mcp/queues/metrics/tools.ts | 16 +- src/generated/forge-mcp/queues/outputs.ts | 112 +- src/generated/forge-mcp/queues/purge/tools.ts | 61 +- src/generated/forge-mcp/queues/schemas.ts | 92 +- .../forge-mcp/queues/subscriptions/tools.ts | 65 +- src/generated/forge-mcp/queues/tools.ts | 171 +- .../forge-mcp/r2/buckets/cors/tools.ts | 50 +- .../r2/buckets/domains/custom/schemas.ts | 8 - .../r2/buckets/domains/custom/tools.ts | 98 +- .../r2/buckets/domains/managed/tools.ts | 33 +- .../r2/buckets/eventNotifications/outputs.ts | 23 +- .../r2/buckets/eventNotifications/schemas.ts | 31 +- .../r2/buckets/eventNotifications/tools.ts | 100 +- .../forge-mcp/r2/buckets/jobs/outputs.ts | 9 +- .../forge-mcp/r2/buckets/jobs/schemas.ts | 2 +- .../forge-mcp/r2/buckets/jobs/tools.ts | 74 +- .../forge-mcp/r2/buckets/lifecycle/tools.ts | 33 +- .../r2/buckets/localUploads/tools.ts | 33 +- .../forge-mcp/r2/buckets/locks/tools.ts | 50 +- .../forge-mcp/r2/buckets/metrics/tools.ts | 12 +- src/generated/forge-mcp/r2/buckets/outputs.ts | 56 +- src/generated/forge-mcp/r2/buckets/schemas.ts | 20 - .../forge-mcp/r2/buckets/sippy/schemas.ts | 16 +- .../forge-mcp/r2/buckets/sippy/tools.ts | 50 +- src/generated/forge-mcp/r2/buckets/tools.ts | 192 +- src/generated/forge-mcp/r2/objects/outputs.ts | 6 +- src/generated/forge-mcp/r2/objects/tools.ts | 85 +- src/generated/forge-mcp/r2/outputs.ts | 41 +- src/generated/forge-mcp/r2/schemas.ts | 47 - .../connectivityPrecheck/tools.ts | 11 +- .../r2/superSlurper/jobs/logs/tools.ts | 5 +- .../forge-mcp/r2/superSlurper/jobs/outputs.ts | 45 +- .../forge-mcp/r2/superSlurper/jobs/tools.ts | 51 +- .../forge-mcp/r2/superSlurper/outputs.ts | 13 - .../forge-mcp/r2/superSlurper/schemas.ts | 29 +- .../r2/temporaryCredentials/tools.ts | 10 +- .../forge-mcp/radar/agentReadiness/tools.ts | 5 +- .../forge-mcp/radar/ai/bots/tools.ts | 9 +- .../forge-mcp/radar/ai/inference/tools.ts | 10 +- .../radar/ai/markdownForAgents/tools.ts | 8 +- .../radar/ai/timeseriesGroups/tools.ts | 5 +- .../radar/annotations/outages/tools.ts | 8 +- .../forge-mcp/radar/annotations/tools.ts | 9 +- src/generated/forge-mcp/radar/as112/tools.ts | 14 +- .../forge-mcp/radar/as112/top/tools.ts | 19 +- .../forge-mcp/radar/attacks/layer3/tools.ts | 14 +- .../attacks/layer3/top/locations/tools.ts | 8 +- .../radar/attacks/layer3/top/tools.ts | 4 +- .../forge-mcp/radar/attacks/layer7/tools.ts | 14 +- .../radar/attacks/layer7/top/ases/tools.ts | 4 +- .../attacks/layer7/top/locations/tools.ts | 8 +- .../radar/attacks/layer7/top/tools.ts | 4 +- .../radar/bgp/hijacks/events/tools.ts | 4 +- .../forge-mcp/radar/bgp/ips/tools.ts | 4 +- .../forge-mcp/radar/bgp/ips/top/tools.ts | 4 +- .../forge-mcp/radar/bgp/leaks/events/tools.ts | 4 +- .../forge-mcp/radar/bgp/routes/paths/tools.ts | 5 +- .../forge-mcp/radar/bgp/routes/tools.ts | 20 +- .../radar/bgp/routes/upstreams/tools.ts | 5 +- .../forge-mcp/radar/bgp/rpki/aspa/tools.ts | 12 +- .../forge-mcp/radar/bgp/rpki/roas/tools.ts | 4 +- src/generated/forge-mcp/radar/bgp/tools.ts | 4 +- .../forge-mcp/radar/bgp/top/ases/tools.ts | 8 +- .../forge-mcp/radar/bgp/top/tools.ts | 4 +- src/generated/forge-mcp/radar/bots/tools.ts | 23 +- .../forge-mcp/radar/bots/webCrawlers/tools.ts | 10 +- .../forge-mcp/radar/ct/authorities/tools.ts | 9 +- .../forge-mcp/radar/ct/logs/tools.ts | 9 +- src/generated/forge-mcp/radar/ct/tools.ts | 14 +- .../forge-mcp/radar/datasets/tools.ts | 12 +- src/generated/forge-mcp/radar/dns/tools.ts | 14 +- .../forge-mcp/radar/dns/top/tools.ts | 8 +- .../forge-mcp/radar/email/routing/tools.ts | 10 +- .../forge-mcp/radar/email/security/tools.ts | 10 +- .../security/top/tlds/malicious/tools.ts | 5 +- .../email/security/top/tlds/spam/tools.ts | 5 +- .../email/security/top/tlds/spoof/tools.ts | 5 +- .../radar/email/security/top/tlds/tools.ts | 4 +- .../forge-mcp/radar/entities/asns/tools.ts | 27 +- .../radar/entities/locations/tools.ts | 9 +- .../forge-mcp/radar/entities/tools.ts | 4 +- .../forge-mcp/radar/geolocations/tools.ts | 9 +- .../radar/http/ases/botClass/tools.ts | 5 +- .../radar/http/ases/browserFamily/tools.ts | 5 +- .../radar/http/ases/deviceType/tools.ts | 5 +- .../radar/http/ases/httpMethod/tools.ts | 5 +- .../radar/http/ases/httpProtocol/tools.ts | 5 +- .../radar/http/ases/ipVersion/tools.ts | 5 +- .../forge-mcp/radar/http/ases/os/tools.ts | 5 +- .../radar/http/ases/tlsVersion/tools.ts | 5 +- .../forge-mcp/radar/http/ases/tools.ts | 4 +- .../radar/http/locations/botClass/tools.ts | 5 +- .../http/locations/browserFamily/tools.ts | 5 +- .../radar/http/locations/deviceType/tools.ts | 5 +- .../radar/http/locations/httpMethod/tools.ts | 5 +- .../http/locations/httpProtocol/tools.ts | 5 +- .../radar/http/locations/ipVersion/tools.ts | 5 +- .../radar/http/locations/os/tools.ts | 5 +- .../radar/http/locations/tlsVersion/tools.ts | 5 +- .../forge-mcp/radar/http/locations/tools.ts | 4 +- src/generated/forge-mcp/radar/http/tools.ts | 14 +- .../radar/leakedCredentials/tools.ts | 10 +- .../forge-mcp/radar/netflows/tools.ts | 14 +- .../forge-mcp/radar/netflows/top/tools.ts | 8 +- .../forge-mcp/radar/origins/tools.ts | 23 +- .../radar/postQuantum/origin/tools.ts | 10 +- .../forge-mcp/radar/postQuantum/tls/tools.ts | 4 +- .../forge-mcp/radar/quality/iqi/tools.ts | 8 +- .../forge-mcp/radar/quality/speed/tools.ts | 8 +- .../radar/quality/speed/top/tools.ts | 8 +- .../forge-mcp/radar/ranking/domain/tools.ts | 5 +- .../radar/ranking/internetServices/tools.ts | 12 +- .../forge-mcp/radar/ranking/tools.ts | 8 +- .../forge-mcp/radar/robotsTxt/top/tools.ts | 4 +- .../radar/robotsTxt/top/userAgents/tools.ts | 4 +- src/generated/forge-mcp/radar/search/tools.ts | 4 +- .../radar/tcpResetsTimeouts/tools.ts | 8 +- .../forge-mcp/radar/tlds/performance/tools.ts | 10 +- src/generated/forge-mcp/radar/tlds/tools.ts | 9 +- .../radar/trafficAnomalies/locations/tools.ts | 4 +- .../forge-mcp/radar/trafficAnomalies/tools.ts | 9 +- src/generated/forge-mcp/ready/tools.ts | 3 +- .../kit/analytics/livestreams/daily/tools.ts | 21 +- .../kit/analytics/livestreams/tools.ts | 21 +- .../realtime/kit/analytics/usage/tools.ts | 21 +- .../forge-mcp/realtime/kit/apps/tools.ts | 54 +- .../kit/livestreams/sessions/tools.ts | 36 +- .../realtime/kit/livestreams/tools.ts | 70 +- .../kit/meetings/active/polls/tools.ts | 20 +- .../realtime/kit/meetings/active/tools.ts | 84 +- .../realtime/kit/meetings/livestream/tools.ts | 37 +- .../kit/meetings/participants/tokens/tools.ts | 34 +- .../kit/meetings/participants/tools.ts | 105 +- .../forge-mcp/realtime/kit/meetings/tools.ts | 84 +- .../forge-mcp/realtime/kit/presets/schemas.ts | 4 +- .../forge-mcp/realtime/kit/presets/tools.ts | 95 +- .../realtime/kit/recordings/active/tools.ts | 20 +- .../realtime/kit/recordings/tools.ts | 65 +- .../realtime/kit/recordings/tracks/tools.ts | 18 +- .../forge-mcp/realtime/kit/schemas.ts | 20 +- .../realtime/kit/sessions/chat/tools.ts | 20 +- .../kit/sessions/livestreams/tools.ts | 21 +- .../kit/sessions/participants/tools.ts | 38 +- .../realtime/kit/sessions/peers/tools.ts | 21 +- .../realtime/kit/sessions/summaries/tools.ts | 36 +- .../forge-mcp/realtime/kit/sessions/tools.ts | 38 +- .../kit/sessions/transcripts/tools.ts | 21 +- .../realtime/kit/webhooks/events/tools.ts | 20 +- .../forge-mcp/realtime/kit/webhooks/tools.ts | 94 +- .../forge-mcp/realtime/moq/relays/schemas.ts | 18 +- .../realtime/moq/relays/tokens/tools.ts | 38 +- .../forge-mcp/realtime/moq/relays/tools.ts | 63 +- src/generated/forge-mcp/realtime/outputs.ts | 30 - src/generated/forge-mcp/realtime/schemas.ts | 28 - .../forge-mcp/realtime/sfu/apps/outputs.ts | 29 +- .../forge-mcp/realtime/sfu/apps/schemas.ts | 4 +- .../forge-mcp/realtime/sfu/apps/tools.ts | 120 +- .../forge-mcp/realtime/turn/keys/outputs.ts | 36 +- .../forge-mcp/realtime/turn/keys/schemas.ts | 12 +- .../forge-mcp/realtime/turn/keys/tools.ts | 125 +- .../forge-mcp/registrar/extensions/tools.ts | 32 +- .../registrar/registrations/outputs.ts | 98 +- .../registrar/registrations/schemas.ts | 58 +- .../registrar/registrations/tools.ts | 173 +- src/generated/forge-mcp/registrar/schemas.ts | 12 - .../registrarSandbox/extensions/tools.ts | 32 +- .../registrarSandbox/registrations/outputs.ts | 9 +- .../registrarSandbox/registrations/schemas.ts | 48 +- .../registrarSandbox/registrations/tools.ts | 128 +- .../forge-mcp/registrarSandbox/schemas.ts | 12 - .../forge-mcp/reporting/industry/tools.ts | 8 +- .../forge-mcp/reporting/policies/tools.ts | 8 +- .../forge-mcp/reporting/reports/tools.ts | 8 +- .../requestTracers/traces/schemas.ts | 12 - .../forge-mcp/requestTracers/traces/tools.ts | 12 +- .../excludedRecipients/outputs.ts | 17 +- .../excludedRecipients/schemas.ts | 12 +- .../excludedRecipients/tools.ts | 128 +- .../resourceSharing/recipients/outputs.ts | 61 +- .../resourceSharing/recipients/schemas.ts | 8 - .../resourceSharing/recipients/tools.ts | 181 +- .../resourceSharing/resources/tools.ts | 216 +- .../forge-mcp/resourceSharing/schemas.ts | 45 +- .../forge-mcp/resourceSharing/tools.ts | 292 +- .../rules/lists/bulkOperations/outputs.ts | 17 +- .../rules/lists/bulkOperations/tools.ts | 26 +- .../forge-mcp/rules/lists/items/outputs.ts | 42 +- .../forge-mcp/rules/lists/items/schemas.ts | 44 +- .../forge-mcp/rules/lists/items/tools.ts | 130 +- .../forge-mcp/rules/lists/outputs.ts | 93 +- .../forge-mcp/rules/lists/schemas.ts | 58 - src/generated/forge-mcp/rules/lists/tools.ts | 177 +- .../forge-mcp/rulesets/entrypoint/tools.ts | 453 ++- src/generated/forge-mcp/rulesets/outputs.ts | 539 +-- .../forge-mcp/rulesets/rules/tools.ts | 591 ++-- src/generated/forge-mcp/rulesets/schemas.ts | 669 ++-- src/generated/forge-mcp/rulesets/tools.ts | 788 +++-- src/generated/forge-mcp/rum/outputs.ts | 38 +- src/generated/forge-mcp/rum/rules/outputs.ts | 2 +- src/generated/forge-mcp/rum/rules/schemas.ts | 7 +- src/generated/forge-mcp/rum/rules/tools.ts | 126 +- src/generated/forge-mcp/rum/schemas.ts | 28 - .../forge-mcp/rum/siteInfo/outputs.ts | 45 +- .../forge-mcp/rum/siteInfo/schemas.ts | 92 +- src/generated/forge-mcp/rum/siteInfo/tools.ts | 220 +- src/generated/forge-mcp/schemas.ts | 2129 +++--------- .../forge-mcp/scim/groups/schemas.ts | 24 +- src/generated/forge-mcp/scim/groups/tools.ts | 98 +- .../forge-mcp/scim/resourceTypes/tools.ts | 28 +- src/generated/forge-mcp/scim/schemas/tools.ts | 28 +- .../scim/serviceProviderConfig/tools.ts | 16 +- src/generated/forge-mcp/scim/users/schemas.ts | 20 +- src/generated/forge-mcp/scim/users/tools.ts | 98 +- .../forge-mcp/secretsStore/outputs.ts | 23 - .../forge-mcp/secretsStore/quota/outputs.ts | 18 +- .../forge-mcp/secretsStore/quota/tools.ts | 10 +- .../forge-mcp/secretsStore/secrets/outputs.ts | 54 +- .../forge-mcp/secretsStore/secrets/schemas.ts | 63 +- .../forge-mcp/secretsStore/secrets/tools.ts | 118 +- .../forge-mcp/secretsStore/stores/outputs.ts | 26 +- .../forge-mcp/secretsStore/stores/tools.ts | 34 +- .../securityInsights/auditLogs/tools.ts | 25 +- .../securityInsights/context/tools.ts | 12 +- .../forge-mcp/securityInsights/count/tools.ts | 69 +- .../securityInsights/partners/outputs.ts | 17 +- .../partners/settings/tools.ts | 21 +- .../partners/shadowHosts/tools.ts | 16 +- .../partners/shadowZoneHosts/tools.ts | 16 +- .../partners/shadowZones/outputs.ts | 6 +- .../partners/shadowZones/tools.ts | 20 +- .../securityInsights/scans/schemas.ts | 12 +- .../forge-mcp/securityInsights/scans/tools.ts | 27 +- .../forge-mcp/securityInsights/schemas.ts | 16 +- .../forge-mcp/securityInsights/state/tools.ts | 21 +- .../forge-mcp/securityInsights/tools.ts | 95 +- src/generated/forge-mcp/securityTxt/tools.ts | 32 +- src/generated/forge-mcp/signedUrl/tools.ts | 3 +- .../smartShield/cacheReserveClear/outputs.ts | 39 +- .../smartShield/cacheReserveClear/tools.ts | 38 +- .../smartShield/healthChecks/outputs.ts | 138 +- .../smartShield/healthChecks/schemas.ts | 160 +- .../smartShield/healthChecks/tools.ts | 274 +- .../forge-mcp/smartShield/outputs.ts | 7 - .../forge-mcp/smartShield/schemas.ts | 8 - src/generated/forge-mcp/smartShield/tools.ts | 25 +- .../forge-mcp/snippets/content/tools.ts | 17 +- src/generated/forge-mcp/snippets/outputs.ts | 27 +- .../forge-mcp/snippets/rules/outputs.ts | 2 +- .../forge-mcp/snippets/rules/schemas.ts | 4 +- .../forge-mcp/snippets/rules/tools.ts | 43 +- src/generated/forge-mcp/snippets/schemas.ts | 36 - src/generated/forge-mcp/snippets/tools.ts | 71 +- .../analytics/aggregates/currents/outputs.ts | 2 +- .../analytics/aggregates/currents/schemas.ts | 12 - .../analytics/aggregates/currents/tools.ts | 22 +- .../analytics/events/bytimes/tools.ts | 57 +- .../spectrum/analytics/events/outputs.ts | 32 +- .../spectrum/analytics/events/schemas.ts | 8 - .../analytics/events/summaries/tools.ts | 57 +- .../forge-mcp/spectrum/analytics/outputs.ts | 43 - .../forge-mcp/spectrum/analytics/schemas.ts | 48 - .../analytics/zones/report/outputs.ts | 22 +- .../spectrum/analytics/zones/report/tools.ts | 46 +- .../forge-mcp/spectrum/apps/outputs.ts | 239 +- .../forge-mcp/spectrum/apps/schemas.ts | 250 +- .../forge-mcp/spectrum/apps/tools.ts | 292 +- src/generated/forge-mcp/spectrum/outputs.ts | 7 - .../forge-mcp/spectrum/protocols/tools.ts | 16 +- src/generated/forge-mcp/spectrum/schemas.ts | 20 - .../forge-mcp/speed/availabilities/tools.ts | 15 +- src/generated/forge-mcp/speed/outputs.ts | 160 +- .../forge-mcp/speed/pages/outputs.ts | 8 +- .../forge-mcp/speed/pages/tests/tools.ts | 208 +- src/generated/forge-mcp/speed/pages/tools.ts | 103 +- .../forge-mcp/speed/schedule/outputs.ts | 33 +- .../forge-mcp/speed/schedule/tools.ts | 177 +- src/generated/forge-mcp/speed/schemas.ts | 83 - src/generated/forge-mcp/sql/tools.ts | 20 +- src/generated/forge-mcp/ssl/analyze/tools.ts | 31 +- .../forge-mcp/ssl/autoOriginTlsKex/outputs.ts | 9 +- .../forge-mcp/ssl/autoOriginTlsKex/schemas.ts | 12 +- .../forge-mcp/ssl/autoOriginTlsKex/tools.ts | 28 +- .../ssl/automaticUpgrader/schemas.ts | 20 +- .../forge-mcp/ssl/automaticUpgrader/tools.ts | 20 +- .../hostnameAssociations/tools.ts | 22 +- .../forge-mcp/ssl/certificatePacks/outputs.ts | 178 +- .../ssl/certificatePacks/quota/tools.ts | 12 +- .../forge-mcp/ssl/certificatePacks/schemas.ts | 67 - .../forge-mcp/ssl/certificatePacks/tools.ts | 212 +- .../ssl/clientCertificates/outputs.ts | 168 +- .../ssl/clientCertificates/schemas.ts | 28 - .../forge-mcp/ssl/clientCertificates/tools.ts | 274 +- .../forge-mcp/ssl/ctAlerting/outputs.ts | 10 +- .../forge-mcp/ssl/ctAlerting/schemas.ts | 16 +- .../forge-mcp/ssl/ctAlerting/tools.ts | 28 +- .../ssl/customCertificates/outputs.ts | 101 +- .../customCertificates/prioritize/tools.ts | 78 +- .../ssl/customCertificates/schemas.ts | 64 - .../forge-mcp/ssl/customCertificates/tools.ts | 351 +- .../forge-mcp/ssl/dcvDelegation/outputs.ts | 9 +- .../forge-mcp/ssl/dcvDelegation/tools.ts | 15 +- .../ssl/keylessCertificates/outputs.ts | 18 +- .../ssl/keylessCertificates/schemas.ts | 29 - .../ssl/keylessCertificates/tools.ts | 211 +- .../mtlsCertificates/associations/outputs.ts | 18 +- .../mtlsCertificates/associations/tools.ts | 24 +- .../forge-mcp/ssl/mtlsCertificates/outputs.ts | 128 +- .../forge-mcp/ssl/mtlsCertificates/schemas.ts | 44 - .../forge-mcp/ssl/mtlsCertificates/tools.ts | 176 +- .../ssl/originCaCertificates/outputs.ts | 98 +- .../ssl/originCaCertificates/schemas.ts | 47 - .../ssl/originCaCertificates/tools.ts | 121 +- .../hostnameAssociations/outputs.ts | 30 +- .../hostnameAssociations/tools.ts | 33 +- .../hostnameCertificates/outputs.ts | 27 +- .../hostnameCertificates/tools.ts | 144 +- .../originTlsClientAuth/hostnames/outputs.ts | 77 +- .../originTlsClientAuth/hostnames/schemas.ts | 19 +- .../originTlsClientAuth/hostnames/tools.ts | 99 +- .../ssl/originTlsClientAuth/outputs.ts | 117 - .../ssl/originTlsClientAuth/schemas.ts | 68 - .../originTlsClientAuth/settings/outputs.ts | 2 +- .../ssl/originTlsClientAuth/settings/tools.ts | 34 +- .../zoneCertificates/outputs.ts | 88 +- .../zoneCertificates/schemas.ts | 29 - .../zoneCertificates/tools.ts | 151 +- src/generated/forge-mcp/ssl/outputs.ts | 94 +- src/generated/forge-mcp/ssl/schemas.ts | 77 +- .../ssl/universal/settings/outputs.ts | 9 +- .../ssl/universal/settings/schemas.ts | 12 +- .../forge-mcp/ssl/universal/settings/tools.ts | 32 +- .../forge-mcp/ssl/verification/outputs.ts | 144 +- .../forge-mcp/ssl/verification/schemas.ts | 32 +- .../forge-mcp/ssl/verification/tools.ts | 61 +- .../forge-mcp/stream/keys/outputs.ts | 36 +- src/generated/forge-mcp/stream/keys/tools.ts | 54 +- .../forge-mcp/stream/liveInputs/outputs.ts | 308 +- .../stream/liveInputs/outputs/outputs.ts | 36 +- .../stream/liveInputs/outputs/schemas.ts | 48 +- .../stream/liveInputs/outputs/tools.ts | 108 +- .../forge-mcp/stream/liveInputs/schemas.ts | 128 +- .../forge-mcp/stream/liveInputs/tools.ts | 495 +-- src/generated/forge-mcp/stream/outputs.ts | 117 +- src/generated/forge-mcp/stream/schemas.ts | 84 - src/generated/forge-mcp/stream/tools.ts | 24 +- src/generated/forge-mcp/stream/usage/tools.ts | 25 +- .../stream/videos/audioTracks/outputs.ts | 39 +- .../stream/videos/audioTracks/schemas.ts | 36 +- .../stream/videos/audioTracks/tools.ts | 111 +- .../stream/videos/captions/language/tools.ts | 90 +- .../videos/captions/language/vtt/tools.ts | 24 +- .../stream/videos/captions/outputs.ts | 46 +- .../stream/videos/captions/schemas.ts | 12 - .../forge-mcp/stream/videos/captions/tools.ts | 30 +- .../stream/videos/directUpload/outputs.ts | 5 +- .../stream/videos/directUpload/schemas.ts | 21 +- .../stream/videos/directUpload/tools.ts | 62 +- .../stream/videos/downloads/schemas.ts | 16 - .../stream/videos/downloads/tools.ts | 67 +- .../stream/videos/downloadsDefault/tools.ts | 70 +- .../forge-mcp/stream/videos/outputs.ts | 249 +- .../forge-mcp/stream/videos/schemas.ts | 248 +- .../forge-mcp/stream/videos/token/tools.ts | 16 +- .../forge-mcp/stream/videos/tools.ts | 588 +--- .../forge-mcp/stream/watermarks/tools.ts | 165 +- .../forge-mcp/stream/webhooks/tools.ts | 32 +- .../tags/accountResources/schemas.ts | 159 +- .../forge-mcp/tags/accountResources/tools.ts | 150 +- src/generated/forge-mcp/tags/keys/tools.ts | 16 +- src/generated/forge-mcp/tags/outputs.ts | 103 +- .../forge-mcp/tags/resources/tools.ts | 100 +- src/generated/forge-mcp/tags/schemas.ts | 87 - src/generated/forge-mcp/tags/summary/tools.ts | 16 +- src/generated/forge-mcp/tags/values/tools.ts | 70 +- .../tenantCustomNameservers/outputs.ts | 6 +- .../tenantCustomNameservers/schemas.ts | 12 - .../tenantCustomNameservers/tools.ts | 60 +- src/generated/forge-mcp/tunnel/tools.ts | 109 +- .../forge-mcp/tunnels/config/outputs.ts | 42 +- .../forge-mcp/tunnels/config/schemas.ts | 4 +- .../forge-mcp/tunnels/config/tools.ts | 61 +- .../forge-mcp/tunnels/connections/tools.ts | 78 +- .../forge-mcp/tunnels/connectors/tools.ts | 60 +- .../tunnels/managementToken/schemas.ts | 15 - .../tunnels/managementToken/tools.ts | 29 +- src/generated/forge-mcp/tunnels/outputs.ts | 19 +- .../forge-mcp/tunnels/token/tools.ts | 21 +- src/generated/forge-mcp/tunnels/tools.ts | 334 +- .../forge-mcp/turnstile/widgets/outputs.ts | 234 +- .../forge-mcp/turnstile/widgets/schemas.ts | 95 - .../forge-mcp/turnstile/widgets/tools.ts | 372 +-- .../forge-mcp/urlNormalization/tools.ts | 32 +- .../forge-mcp/urlScanner/responses/tools.ts | 4 +- .../forge-mcp/urlScanner/scans/tools.ts | 30 +- .../forge-mcp/user/auditLogs/tools.ts | 7 +- .../user/firewall/accessRules/outputs.ts | 2 +- .../user/firewall/accessRules/tools.ts | 119 +- .../forge-mcp/user/invites/outputs.ts | 49 +- .../forge-mcp/user/invites/schemas.ts | 12 - src/generated/forge-mcp/user/invites/tools.ts | 61 +- .../loadBalancers/monitors/preview/tools.ts | 41 +- .../monitors/references/tools.ts | 10 +- .../user/loadBalancers/monitors/tools.ts | 288 +- .../loadBalancers/pools/edit/pools/tools.ts | 187 +- .../user/loadBalancers/pools/health/tools.ts | 10 +- .../user/loadBalancers/pools/preview/tools.ts | 41 +- .../loadBalancers/pools/references/tools.ts | 10 +- .../user/loadBalancers/pools/tools.ts | 335 +- .../user/loadBalancers/preview/schemas.ts | 9 - .../user/loadBalancers/preview/tools.ts | 12 +- .../user/loadBalancers/regions/tools.ts | 12 +- .../loadBalancingAnalytics/events/outputs.ts | 42 +- .../loadBalancingAnalytics/events/schemas.ts | 29 - .../loadBalancingAnalytics/events/tools.ts | 52 +- .../forge-mcp/user/memberships/outputs.ts | 70 +- .../forge-mcp/user/memberships/schemas.ts | 12 - .../forge-mcp/user/memberships/tools.ts | 148 +- src/generated/forge-mcp/user/outputs.ts | 126 +- src/generated/forge-mcp/user/schemas.ts | 49 - .../forge-mcp/user/subscriptions/tools.ts | 66 +- .../user/tokens/permissionGroups/tools.ts | 4 +- src/generated/forge-mcp/user/tokens/tools.ts | 218 +- src/generated/forge-mcp/user/tools.ts | 127 +- .../vectorize/metadataIndex/outputs.ts | 6 +- .../vectorize/metadataIndex/tools.ts | 44 +- src/generated/forge-mcp/vectorize/outputs.ts | 98 +- src/generated/forge-mcp/vectorize/schemas.ts | 103 +- src/generated/forge-mcp/vectorize/tools.ts | 176 +- .../waitingRooms/accountWaitingRooms/tools.ts | 79 +- .../waitingRooms/events/details/outputs.ts | 84 +- .../waitingRooms/events/details/tools.ts | 69 +- .../forge-mcp/waitingRooms/events/outputs.ts | 298 +- .../forge-mcp/waitingRooms/events/schemas.ts | 333 +- .../forge-mcp/waitingRooms/events/tools.ts | 349 +- .../forge-mcp/waitingRooms/outputs.ts | 357 +- .../forge-mcp/waitingRooms/page/outputs.ts | 9 +- .../forge-mcp/waitingRooms/page/schemas.ts | 4 +- .../forge-mcp/waitingRooms/page/tools.ts | 21 +- .../forge-mcp/waitingRooms/rules/outputs.ts | 63 +- .../forge-mcp/waitingRooms/rules/schemas.ts | 81 +- .../forge-mcp/waitingRooms/rules/tools.ts | 172 +- .../forge-mcp/waitingRooms/schemas.ts | 355 +- .../waitingRooms/settings/outputs.ts | 9 +- .../waitingRooms/settings/schemas.ts | 12 +- .../forge-mcp/waitingRooms/settings/tools.ts | 48 +- .../waitingRooms/statuses/outputs.ts | 57 +- .../forge-mcp/waitingRooms/statuses/tools.ts | 37 +- src/generated/forge-mcp/waitingRooms/tools.ts | 335 +- .../contentLists/entries/schemas.ts | 16 +- .../contentLists/entries/tools.ts | 142 +- .../contentLists/outputs.ts | 58 +- .../contentLists/schemas.ts | 62 +- .../ipfsUniversalPaths/contentLists/tools.ts | 42 +- .../forge-mcp/web3/hostnames/outputs.ts | 92 +- .../forge-mcp/web3/hostnames/schemas.ts | 74 +- .../forge-mcp/web3/hostnames/tools.ts | 150 +- .../webAssets/discovery/operations/outputs.ts | 91 +- .../webAssets/discovery/operations/schemas.ts | 46 +- .../webAssets/discovery/operations/tools.ts | 183 +- .../forge-mcp/webAssets/discovery/outputs.ts | 10 +- .../forge-mcp/webAssets/discovery/tools.ts | 28 +- .../labels/managed/operations/tools.ts | 49 +- .../webAssets/labels/managed/tools.ts | 44 +- .../forge-mcp/webAssets/labels/tools.ts | 53 +- .../webAssets/labels/user/operations/tools.ts | 49 +- .../webAssets/labels/user/schemas.ts | 16 +- .../forge-mcp/webAssets/labels/user/tools.ts | 206 +- .../webAssets/operations/labels/schemas.ts | 36 +- .../webAssets/operations/labels/tools.ts | 264 +- .../forge-mcp/webAssets/operations/schemas.ts | 10 +- .../forge-mcp/webAssets/operations/tools.ts | 268 +- src/generated/forge-mcp/webAssets/outputs.ts | 55 +- src/generated/forge-mcp/webAssets/schemas.ts | 38 +- .../forge-mcp/webAssets/schemas/tools.ts | 23 +- .../workers/accountSettings/tools.ts | 21 +- .../forge-mcp/workers/assets/upload/tools.ts | 16 +- .../forge-mcp/workers/deployments/tools.ts | 70 +- .../forge-mcp/workers/domains/tools.ts | 46 +- .../workers/legacy/scripts/content/tools.ts | 20 +- .../scriptAndVersionSettings/outputs.ts | 11 +- .../scripts/scriptAndVersionSettings/tools.ts | 47 +- .../legacy/scripts/settings/outputs.ts | 4 +- .../legacy/scripts/settings/schemas.ts | 6 +- .../workers/legacy/scripts/settings/tools.ts | 48 +- .../workers/legacy/scripts/subdomain/tools.ts | 52 +- .../forge-mcp/workers/legacy/scripts/tools.ts | 91 +- .../legacy/scripts/usageModel/outputs.ts | 7 +- .../legacy/scripts/usageModel/tools.ts | 50 +- .../legacy/scripts/versions/schemas.ts | 19 - .../workers/legacy/scripts/versions/tools.ts | 50 +- src/generated/forge-mcp/workers/outputs.ts | 2 +- .../workers/placement/regions/tools.ts | 12 +- .../workers/previews/deployments/outputs.ts | 2 +- .../workers/previews/deployments/schemas.ts | 16 +- .../workers/previews/deployments/tools.ts | 125 +- .../forge-mcp/workers/previews/tools.ts | 57 +- .../forge-mcp/workers/routes/tools.ts | 79 +- src/generated/forge-mcp/workers/schemas.ts | 4 +- .../workers/scripts/schedules/tools.ts | 31 +- .../forge-mcp/workers/scripts/tools.ts | 45 +- .../forge-mcp/workers/secrets/tools.ts | 114 +- .../forge-mcp/workers/subdomains/tools.ts | 32 +- .../forge-mcp/workers/tail/outputs.ts | 2 +- src/generated/forge-mcp/workers/tail/tools.ts | 61 +- src/generated/forge-mcp/workers/tools.ts | 63 +- .../workers/versions/latest/tools.ts | 41 +- .../forge-mcp/workers/versions/outputs.ts | 2 +- .../forge-mcp/workers/versions/schemas.ts | 16 +- .../forge-mcp/workers/versions/tools.ts | 111 +- .../workersBuilds/workers/previews/outputs.ts | 30 +- .../workersBuilds/workers/previews/schemas.ts | 24 +- .../workersBuilds/workers/previews/tools.ts | 310 +- .../forge-mcp/workersBuilds/workers/tools.ts | 57 +- .../dispatchNamespaces/outputs.ts | 46 +- .../dispatchNamespaces/schemas.ts | 20 - .../scripts/assets/upload/tools.ts | 22 +- .../scripts/bindings/tools.ts | 32 +- .../scripts/content/tools.ts | 26 +- .../dispatchNamespaces/scripts/outputs.ts | 10 +- .../scripts/secrets/tools.ts | 140 +- .../scripts/settings/outputs.ts | 11 +- .../scripts/settings/tools.ts | 53 +- .../scripts/tags/schemas.ts | 8 - .../dispatchNamespaces/scripts/tags/tools.ts | 146 +- .../dispatchNamespaces/scripts/tools.ts | 151 +- .../dispatchNamespaces/tools.ts | 178 +- .../forge-mcp/workersVpc/services/outputs.ts | 17 +- .../forge-mcp/workersVpc/services/schemas.ts | 17 +- .../forge-mcp/workersVpc/services/tools.ts | 53 +- .../forge-mcp/workflows/concurrency/tools.ts | 21 +- .../workflows/instances/batch/tools.ts | 4 +- .../workflows/instances/events/tools.ts | 4 +- .../workflows/instances/step/tools.ts | 5 +- .../forge-mcp/workflows/instances/tools.ts | 34 +- .../forge-mcp/workflows/settings/tools.ts | 8 +- src/generated/forge-mcp/workflows/tools.ts | 13 +- .../forge-mcp/workflows/versions/tools.ts | 13 +- src/generated/forge-mcp/zaraz/config/tools.ts | 21 +- .../forge-mcp/zaraz/default/tools.ts | 12 +- src/generated/forge-mcp/zaraz/export/tools.ts | 12 +- .../forge-mcp/zaraz/history/configs/tools.ts | 13 +- .../forge-mcp/zaraz/history/tools.ts | 24 +- .../forge-mcp/zaraz/publish/tools.ts | 12 +- src/generated/forge-mcp/zaraz/schemas.ts | 8 - .../forge-mcp/zaraz/workflow/outputs.ts | 17 +- .../forge-mcp/zaraz/workflow/schemas.ts | 16 - .../forge-mcp/zaraz/workflow/tools.ts | 41 +- .../zeroTrust/access/applications/outputs.ts | 835 +++-- .../access/applications/policies/tools.ts | 159 +- .../applications/policyTests/outputs.ts | 119 +- .../applications/policyTests/schemas.ts | 8 - .../access/applications/policyTests/tools.ts | 84 +- .../applications/policyTests/users/outputs.ts | 25 +- .../applications/policyTests/users/tools.ts | 35 +- .../zeroTrust/access/applications/schemas.ts | 1107 +++--- .../access/applications/settings/outputs.ts | 4 +- .../access/applications/settings/schemas.ts | 8 +- .../access/applications/settings/tools.ts | 35 +- .../shortLivedCertificates/outputs.ts | 29 +- .../shortLivedCertificates/tools.ts | 84 +- .../zeroTrust/access/applications/tools.ts | 798 +---- .../applications/userPolicyChecks/outputs.ts | 4 +- .../applications/userPolicyChecks/tools.ts | 32 +- .../zeroTrust/access/customPages/outputs.ts | 114 +- .../zeroTrust/access/customPages/schemas.ts | 94 +- .../zeroTrust/access/customPages/tools.ts | 179 +- .../auditSshSettings/outputs.ts | 24 +- .../auditSshSettings/schemas.ts | 12 - .../infrastructure/auditSshSettings/tools.ts | 61 +- .../access/infrastructure/sshCa/tools.ts | 45 +- .../access/logs/accessRequests/outputs.ts | 75 +- .../access/logs/accessRequests/schemas.ts | 21 - .../access/logs/accessRequests/tools.ts | 61 +- .../access/logs/jitRequests/outputs.ts | 57 +- .../access/logs/jitRequests/schemas.ts | 19 - .../access/logs/jitRequests/tools.ts | 50 +- .../access/logs/scim/updates/outputs.ts | 3 +- .../access/logs/scim/updates/schemas.ts | 38 - .../access/logs/scim/updates/tools.ts | 44 +- .../mfa/authenticatorCatalog/outputs.ts | 20 +- .../access/mfa/authenticatorCatalog/tools.ts | 18 +- .../access/mtlsCertificates/outputs.ts | 41 +- .../access/mtlsCertificates/schemas.ts | 8 - .../access/mtlsCertificates/settings/tools.ts | 21 +- .../access/mtlsCertificates/tools.ts | 134 +- .../forge-mcp/zeroTrust/access/outputs.ts | 156 +- .../zeroTrust/access/policies/outputs.ts | 13 +- .../zeroTrust/access/policies/tools.ts | 215 +- .../zeroTrust/access/ruleGroups/outputs.ts | 31 +- .../zeroTrust/access/ruleGroups/schemas.ts | 16 - .../zeroTrust/access/ruleGroups/tools.ts | 149 +- .../samlEncryptionCertificates/tools.ts | 61 +- .../forge-mcp/zeroTrust/access/schemas.ts | 180 +- .../zeroTrust/access/serviceTokens/outputs.ts | 37 +- .../zeroTrust/access/serviceTokens/schemas.ts | 21 - .../zeroTrust/access/serviceTokens/tools.ts | 318 +- .../zeroTrust/access/signingKeys/outputs.ts | 29 +- .../zeroTrust/access/signingKeys/schemas.ts | 12 - .../zeroTrust/access/signingKeys/tools.ts | 66 +- .../zeroTrust/access/tags/outputs.ts | 31 +- .../zeroTrust/access/tags/schemas.ts | 32 +- .../forge-mcp/zeroTrust/access/tags/tools.ts | 126 +- .../zeroTrust/access/targets/bulk/schemas.ts | 5 +- .../zeroTrust/access/targets/bulk/tools.ts | 52 +- .../zeroTrust/access/targets/outputs.ts | 11 +- .../zeroTrust/access/targets/schemas.ts | 20 - .../zeroTrust/access/targets/tools.ts | 101 +- .../access/userPopulations/outputs.ts | 31 +- .../access/userPopulations/schemas.ts | 12 +- .../zeroTrust/access/userPopulations/tools.ts | 125 +- .../access/userPopulations/users/tools.ts | 93 +- .../access/users/activeSessions/schemas.ts | 11 - .../access/users/activeSessions/tools.ts | 37 +- .../access/users/failedLogins/tools.ts | 17 +- .../access/users/lastSeenIdentity/tools.ts | 17 +- .../zeroTrust/access/users/outputs.ts | 68 +- .../forge-mcp/zeroTrust/access/users/tools.ts | 200 +- .../casb/applications/authMethods/tools.ts | 5 +- .../zeroTrust/casb/applications/tools.ts | 9 +- .../zeroTrust/casb/assetSchemas/tools.ts | 9 +- .../zeroTrust/casb/content/schemas.ts | 30 +- .../forge-mcp/zeroTrust/casb/content/tools.ts | 50 +- .../forge-mcp/zeroTrust/casb/exports/tools.ts | 34 +- .../zeroTrust/casb/findingTypes/outputs.ts | 28 +- .../findingTypes/remediationTypes/tools.ts | 5 +- .../zeroTrust/casb/findingTypes/schemas.ts | 65 +- .../zeroTrust/casb/findingTypes/tools.ts | 132 +- .../casb/findings/instances/outputs.ts | 9 +- .../casb/findings/instances/schemas.ts | 8 +- .../casb/findings/instances/tools.ts | 38 +- .../zeroTrust/casb/findings/outputs.ts | 8 +- .../zeroTrust/casb/findings/schemas.ts | 53 +- .../zeroTrust/casb/findings/tools.ts | 147 +- .../zeroTrust/casb/integrations/tools.ts | 29 +- .../forge-mcp/zeroTrust/casb/outputs.ts | 196 +- .../zeroTrust/casb/policies/tools.ts | 21 +- .../casb/remediations/jobs/outputs.ts | 56 +- .../casb/remediations/jobs/schemas.ts | 30 +- .../zeroTrust/casb/remediations/jobs/tools.ts | 58 +- .../forge-mcp/zeroTrust/casb/schemas.ts | 125 - .../zeroTrust/casb/webhooks/jobs/outputs.ts | 59 +- .../zeroTrust/casb/webhooks/jobs/tools.ts | 13 +- .../zeroTrust/casb/webhooks/tools.ts | 28 +- .../zeroTrust/connectivitySettings/outputs.ts | 18 +- .../zeroTrust/connectivitySettings/schemas.ts | 20 - .../zeroTrust/connectivitySettings/tools.ts | 51 +- .../cws/basicAuthCredentials/secrets/tools.ts | 17 +- .../cws/basicAuthCredentials/tools.ts | 17 +- .../zeroTrust/cws/deployments/tools.ts | 21 +- .../zeroTrust/cws/domainAcls/tools.ts | 21 +- .../forge-mcp/zeroTrust/cws/policies/tools.ts | 21 +- .../zeroTrust/cws/policySets/tools.ts | 21 +- .../zeroTrust/cws/regoMetadata/tools.ts | 21 +- .../zeroTrust/cws/regoModules/tools.ts | 21 +- .../cws/tenantStructures/nodes/tools.ts | 25 +- .../zeroTrust/cws/tenantStructures/tools.ts | 21 +- .../zeroTrust/cws/workloads/tools.ts | 21 +- .../targetEnvironments/tools.ts | 4 +- .../zeroTrust/devices/clientVersions/tools.ts | 5 +- .../devices/deploymentGroups/outputs.ts | 36 +- .../devices/deploymentGroups/schemas.ts | 16 +- .../devices/deploymentGroups/tools.ts | 60 +- .../devices/emergencyDisconnect/outputs.ts | 20 +- .../devices/emergencyDisconnect/schemas.ts | 24 +- .../devices/emergencyDisconnect/tools.ts | 35 +- .../zeroTrust/devices/ipProfiles/outputs.ts | 95 +- .../zeroTrust/devices/ipProfiles/schemas.ts | 76 +- .../zeroTrust/devices/ipProfiles/tools.ts | 120 +- .../zeroTrust/devices/networks/outputs.ts | 27 +- .../zeroTrust/devices/networks/schemas.ts | 20 - .../zeroTrust/devices/networks/tools.ts | 121 +- .../forge-mcp/zeroTrust/devices/outputs.ts | 36 +- .../zeroTrust/devices/overrideCodes/tools.ts | 4 +- .../devices/posture/integrations/outputs.ts | 49 +- .../devices/posture/integrations/schemas.ts | 34 - .../devices/posture/integrations/tools.ts | 149 +- .../devices/posture/rules/outputs.ts | 167 +- .../devices/posture/rules/schemas.ts | 136 +- .../zeroTrust/devices/posture/rules/tools.ts | 269 +- .../devices/profiles/custom/outputs.ts | 78 +- .../devices/profiles/custom/schemas.ts | 32 - .../devices/profiles/custom/tools.ts | 643 +--- .../devices/profiles/default/outputs.ts | 38 +- .../devices/profiles/default/tools.ts | 245 +- .../zeroTrust/devices/profiles/outputs.ts | 205 +- .../zeroTrust/devices/profiles/schemas.ts | 227 +- .../devices/registrations/outputs.ts | 6 +- .../registrations/overrideCodes/tools.ts | 4 +- .../zeroTrust/devices/registrations/tools.ts | 50 +- .../forge-mcp/zeroTrust/devices/schemas.ts | 27 - .../zeroTrust/devices/settings/tools.ts | 26 +- .../forge-mcp/zeroTrust/devices/tools.ts | 52 +- .../forge-mcp/zeroTrust/dex/colos/tools.ts | 13 +- .../dex/commands/eligibleDevices/outputs.ts | 8 +- .../dex/commands/eligibleDevices/tools.ts | 25 +- .../zeroTrust/dex/commands/quota/tools.ts | 12 +- .../zeroTrust/dex/commands/results/schemas.ts | 12 - .../zeroTrust/dex/commands/results/tools.ts | 18 +- .../forge-mcp/zeroTrust/dex/commands/tools.ts | 24 +- .../dex/devices/aggregates/live/outputs.ts | 4 +- .../dex/devices/aggregates/live/tools.ts | 22 +- .../dex/devices/aggregates/outputs.ts | 12 - .../devices/aggregates/overTime/outputs.ts | 6 +- .../dex/devices/aggregates/overTime/tools.ts | 43 +- .../zeroTrust/dex/devices/outputs.ts | 28 +- .../zeroTrust/dex/devices/overTime/tools.ts | 37 +- .../zeroTrust/dex/devices/schemas.ts | 82 - .../forge-mcp/zeroTrust/dex/devices/tools.ts | 170 +- .../forge-mcp/zeroTrust/dex/isps/tools.ts | 21 +- .../forge-mcp/zeroTrust/dex/outputs.ts | 42 - .../zeroTrust/dex/overview/tests/outputs.ts | 4 +- .../zeroTrust/dex/overview/tests/tools.ts | 16 +- .../dex/overview/tests/uniqueDevices/tools.ts | 13 +- .../forge-mcp/zeroTrust/dex/rules/outputs.ts | 2 +- .../forge-mcp/zeroTrust/dex/rules/tools.ts | 80 +- .../forge-mcp/zeroTrust/dex/schemas.ts | 55 - .../zeroTrust/dex/testResults/http/outputs.ts | 2 +- .../dex/testResults/http/percentiles/tools.ts | 21 +- .../zeroTrust/dex/testResults/http/tools.ts | 24 +- .../traceroute/networkPath/outputs.ts | 25 +- .../traceroute/networkPath/tools.ts | 33 +- .../dex/testResults/traceroute/outputs.ts | 2 +- .../traceroute/percentiles/tools.ts | 21 +- .../dex/testResults/traceroute/tools.ts | 24 +- .../dex/tests/networkPath/outputs.ts | 4 +- .../zeroTrust/dex/tests/networkPath/tools.ts | 24 +- .../forge-mcp/zeroTrust/dex/tests/outputs.ts | 53 +- .../forge-mcp/zeroTrust/dex/tests/schemas.ts | 63 +- .../forge-mcp/zeroTrust/dex/tests/tools.ts | 153 +- .../zeroTrust/dex/warpChangeEvents/outputs.ts | 29 +- .../zeroTrust/dex/warpChangeEvents/tools.ts | 19 +- .../zeroTrust/dlp/customPromptTopics/tools.ts | 20 +- .../zeroTrust/dlp/dataClasses/tools.ts | 20 +- .../zeroTrust/dlp/dataTagCategories/tools.ts | 20 +- .../dlp/dataTagCategoryTemplates/tools.ts | 8 +- .../forge-mcp/zeroTrust/dlp/dataTags/tools.ts | 20 +- .../zeroTrust/dlp/datasets/outputs.ts | 30 +- .../forge-mcp/zeroTrust/dlp/datasets/tools.ts | 35 +- .../dlp/documentFingerprints/outputs.ts | 10 +- .../dlp/documentFingerprints/tools.ts | 29 +- .../dlp/email/accountMapping/tools.ts | 8 +- .../zeroTrust/dlp/email/rules/outputs.ts | 40 +- .../zeroTrust/dlp/email/rules/schemas.ts | 40 +- .../zeroTrust/dlp/email/rules/tools.ts | 56 +- .../zeroTrust/dlp/entries/outputs.ts | 10 +- .../forge-mcp/zeroTrust/dlp/entries/tools.ts | 48 +- .../forge-mcp/zeroTrust/dlp/limits/tools.ts | 4 +- .../forge-mcp/zeroTrust/dlp/outputs.ts | 47 +- .../forge-mcp/zeroTrust/dlp/patterns/tools.ts | 4 +- .../zeroTrust/dlp/profiles/custom/tools.ts | 30 +- .../zeroTrust/dlp/profiles/outputs.ts | 29 +- .../dlp/profiles/predefined/tools.ts | 13 +- .../forge-mcp/zeroTrust/dlp/profiles/tools.ts | 24 +- .../forge-mcp/zeroTrust/dlp/schemas.ts | 17 +- .../dlp/sensitivityGroupTemplates/tools.ts | 8 +- .../zeroTrust/dlp/sensitivityGroups/tools.ts | 28 +- .../zeroTrust/dlp/sensitivityLevels/tools.ts | 20 +- .../zeroTrust/dlp/settings/outputs.ts | 21 +- .../zeroTrust/dlp/settings/schemas.ts | 25 +- .../forge-mcp/zeroTrust/dlp/settings/tools.ts | 33 +- .../zeroTrust/dlp/validators/outputs.ts | 75 +- .../dlp/validators/proximityWords/tools.ts | 45 +- .../zeroTrust/dlp/validators/schemas.ts | 51 +- .../zeroTrust/dlp/validators/tools.ts | 35 +- .../dlp/validators/worker/schemas.ts | 12 +- .../dlp/validators/worker/status/outputs.ts | 21 +- .../dlp/validators/worker/status/tools.ts | 8 +- .../zeroTrust/dlp/validators/worker/tools.ts | 41 +- .../zeroTrust/gateway/appTypes/outputs.ts | 37 +- .../zeroTrust/gateway/appTypes/tools.ts | 24 +- .../zeroTrust/gateway/categories/outputs.ts | 76 +- .../zeroTrust/gateway/categories/tools.ts | 27 +- .../zeroTrust/gateway/certificates/outputs.ts | 68 +- .../zeroTrust/gateway/certificates/schemas.ts | 8 - .../zeroTrust/gateway/certificates/tools.ts | 155 +- .../gateway/configurations/outputs.ts | 98 +- .../gateway/configurations/schemas.ts | 104 +- .../zeroTrust/gateway/configurations/tools.ts | 77 +- .../gateway/dnsDestinationIps/tools.ts | 12 +- .../zeroTrust/gateway/lists/items/tools.ts | 32 +- .../zeroTrust/gateway/lists/outputs.ts | 119 +- .../zeroTrust/gateway/lists/schemas.ts | 67 +- .../zeroTrust/gateway/lists/tools.ts | 239 +- .../zeroTrust/gateway/locations/outputs.ts | 95 +- .../zeroTrust/gateway/locations/schemas.ts | 40 - .../zeroTrust/gateway/locations/tools.ts | 208 +- .../zeroTrust/gateway/logging/tools.ts | 21 +- .../forge-mcp/zeroTrust/gateway/outputs.ts | 42 +- .../zeroTrust/gateway/pacfiles/outputs.ts | 69 +- .../zeroTrust/gateway/pacfiles/schemas.ts | 28 - .../zeroTrust/gateway/pacfiles/tools.ts | 163 +- .../gateway/proxyEndpoints/outputs.ts | 38 +- .../gateway/proxyEndpoints/schemas.ts | 16 +- .../zeroTrust/gateway/proxyEndpoints/tools.ts | 106 +- .../zeroTrust/gateway/rules/outputs.ts | 214 +- .../zeroTrust/gateway/rules/schemas.ts | 95 +- .../zeroTrust/gateway/rules/tools.ts | 450 +-- .../forge-mcp/zeroTrust/gateway/schemas.ts | 35 - .../forge-mcp/zeroTrust/gateway/tools.ts | 42 +- .../federationGrants/outputs.ts | 14 +- .../federationGrants/tools.ts | 74 +- .../zeroTrust/identityProviders/outputs.ts | 11 +- .../samlCertificate/tools.ts | 17 +- .../zeroTrust/identityProviders/schemas.ts | 22 +- .../identityProviders/scim/groups/outputs.ts | 15 +- .../identityProviders/scim/groups/schemas.ts | 8 - .../identityProviders/scim/groups/tools.ts | 78 +- .../identityProviders/scim/outputs.ts | 7 - .../identityProviders/scim/users/outputs.ts | 2 +- .../identityProviders/scim/users/schemas.ts | 24 - .../identityProviders/scim/users/tools.ts | 80 +- .../zeroTrust/identityProviders/tools.ts | 92 +- .../zeroTrust/organization/doh/outputs.ts | 11 - .../zeroTrust/organization/doh/schemas.ts | 12 - .../zeroTrust/organization/doh/tools.ts | 91 +- .../zeroTrust/organization/outputs.ts | 146 +- .../zeroTrust/organization/schemas.ts | 112 - .../forge-mcp/zeroTrust/organization/tools.ts | 303 +- .../organization/trustSettings/outputs.ts | 9 +- .../organization/trustSettings/schemas.ts | 8 - .../organization/trustSettings/tools.ts | 65 +- src/generated/forge-mcp/zeroTrust/outputs.ts | 153 +- .../riskScoring/behaviours/outputs.ts | 14 +- .../riskScoring/behaviours/schemas.ts | 7 +- .../zeroTrust/riskScoring/behaviours/tools.ts | 15 +- .../riskScoring/integrations/outputs.ts | 15 +- .../integrations/references/tools.ts | 11 +- .../riskScoring/integrations/schemas.ts | 15 +- .../riskScoring/integrations/tools.ts | 31 +- .../zeroTrust/riskScoring/outputs.ts | 26 +- .../zeroTrust/riskScoring/schemas.ts | 16 - .../zeroTrust/riskScoring/summary/outputs.ts | 7 +- .../zeroTrust/riskScoring/summary/tools.ts | 7 +- .../forge-mcp/zeroTrust/riskScoring/tools.ts | 11 +- src/generated/forge-mcp/zeroTrust/schemas.ts | 84 - .../forge-mcp/zeroTrust/seats/outputs.ts | 33 +- .../forge-mcp/zeroTrust/seats/schemas.ts | 50 +- .../forge-mcp/zeroTrust/seats/tools.ts | 46 +- .../users/mfa/authenticators/tools.ts | 23 +- .../zeroTrust/users/passkeys/tools.ts | 23 +- .../forge-mcp/zeroTrust/users/schemas.ts | 12 - .../zones/activationCheck/outputs.ts | 7 - .../zones/activationCheck/schemas.ts | 12 - .../forge-mcp/zones/activationCheck/tools.ts | 19 +- src/generated/forge-mcp/zones/aegis/tools.ts | 58 +- .../automaticPlatformOptimization/schemas.ts | 2 +- .../automaticPlatformOptimization/tools.ts | 23 +- .../forge-mcp/zones/binaryAst/outputs.ts | 19 +- .../forge-mcp/zones/binaryAst/schemas.ts | 17 - .../forge-mcp/zones/binaryAst/tools.ts | 43 +- .../forge-mcp/zones/fonts/outputs.ts | 17 +- .../forge-mcp/zones/fonts/schemas.ts | 16 - src/generated/forge-mcp/zones/fonts/tools.ts | 42 +- .../zones/h2Prioritization/outputs.ts | 19 +- .../zones/h2Prioritization/schemas.ts | 17 - .../forge-mcp/zones/h2Prioritization/tools.ts | 43 +- src/generated/forge-mcp/zones/holds/tools.ts | 47 +- .../zones/hostnames/settings/outputs.ts | 40 +- .../zones/hostnames/settings/schemas.ts | 21 - .../zones/hostnames/settings/tls/outputs.ts | 20 +- .../zones/hostnames/settings/tls/tools.ts | 106 +- .../hostnames/settings/tlsSingle/tools.ts | 43 +- .../forge-mcp/zones/imageResizing/outputs.ts | 21 +- .../forge-mcp/zones/imageResizing/schemas.ts | 18 - .../forge-mcp/zones/imageResizing/tools.ts | 44 +- .../zones/originH2MaxStreams/outputs.ts | 9 +- .../zones/originH2MaxStreams/schemas.ts | 12 - .../zones/originH2MaxStreams/tools.ts | 34 +- .../zones/originMaxHttpVersion/outputs.ts | 17 +- .../zones/originMaxHttpVersion/schemas.ts | 16 - .../zones/originMaxHttpVersion/tools.ts | 58 +- .../zones/originTlsComplianceModes/tools.ts | 75 +- src/generated/forge-mcp/zones/outputs.ts | 67 +- .../forge-mcp/zones/plans/outputs.ts | 59 +- src/generated/forge-mcp/zones/plans/tools.ts | 78 +- .../forge-mcp/zones/ratePlans/outputs.ts | 70 +- .../forge-mcp/zones/ratePlans/tools.ts | 38 +- src/generated/forge-mcp/zones/rum/outputs.ts | 27 +- src/generated/forge-mcp/zones/rum/tools.ts | 41 +- src/generated/forge-mcp/zones/schemas.ts | 38 - .../forge-mcp/zones/settings/outputs.ts | 1126 ++----- .../forge-mcp/zones/settings/schemas.ts | 1259 +++---- .../forge-mcp/zones/settings/tools.ts | 457 +-- .../forge-mcp/zones/speedBrain/tools.ts | 23 +- .../forge-mcp/zones/subscriptions/outputs.ts | 43 +- .../forge-mcp/zones/subscriptions/tools.ts | 130 +- src/generated/forge-mcp/zones/tools.ts | 115 +- .../transformationsAllowedOrigins/outputs.ts | 9 +- .../transformationsAllowedOrigins/schemas.ts | 12 - .../transformationsAllowedOrigins/tools.ts | 38 +- .../zones/transformationsC2pa/outputs.ts | 17 +- .../zones/transformationsC2pa/schemas.ts | 16 - .../zones/transformationsC2pa/tools.ts | 42 +- .../zones/transformationsConfig/schemas.ts | 6 +- .../zones/transformationsConfig/tools.ts | 23 +- tests/forge-tools-plan.test.ts | 13 + tests/response-validation-worker.test.ts | 4 +- 1837 files changed, 34545 insertions(+), 79158 deletions(-) delete mode 100644 src/generated/forge-mcp/accounts/entitlements/schemas.ts delete mode 100644 src/generated/forge-mcp/accounts/utBilling/schemas.ts delete mode 100644 src/generated/forge-mcp/acm/customTrustStore/schemas.ts delete mode 100644 src/generated/forge-mcp/acm/totalTls/schemas.ts delete mode 100644 src/generated/forge-mcp/addressing/addressMaps/zones/schemas.ts delete mode 100644 src/generated/forge-mcp/addressing/leases/schemas.ts delete mode 100644 src/generated/forge-mcp/addressing/prefixes/delegations/schemas.ts delete mode 100644 src/generated/forge-mcp/addressing/prefixes/schemas.ts delete mode 100644 src/generated/forge-mcp/addressing/regionalHostnames/schemas.ts delete mode 100644 src/generated/forge-mcp/addressing/schemas.ts delete mode 100644 src/generated/forge-mcp/alerting/destinations/pagerduty/schemas.ts delete mode 100644 src/generated/forge-mcp/alerting/destinations/webhooks/schemas.ts delete mode 100644 src/generated/forge-mcp/alerting/history/schemas.ts delete mode 100644 src/generated/forge-mcp/alerting/schemas.ts delete mode 100644 src/generated/forge-mcp/analytics/latency/schemas.ts delete mode 100644 src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/schemas.ts delete mode 100644 src/generated/forge-mcp/botnetFeed/asn/schemas.ts delete mode 100644 src/generated/forge-mcp/botnetFeed/schemas.ts delete mode 100644 src/generated/forge-mcp/builds/logs/schemas.ts delete mode 100644 src/generated/forge-mcp/builds/triggers/environmentVariables/schemas.ts delete mode 100644 src/generated/forge-mcp/builds/versions/schemas.ts delete mode 100644 src/generated/forge-mcp/cache/settings/regionalTieredCache/schemas.ts delete mode 100644 src/generated/forge-mcp/cache/settings/reserve/schemas.ts delete mode 100644 src/generated/forge-mcp/clientSideSecurity/schemas.ts delete mode 100644 src/generated/forge-mcp/clientSideSecurity/settings/schemas.ts delete mode 100644 src/generated/forge-mcp/containers/applications/instances/schemas.ts delete mode 100644 src/generated/forge-mcp/containers/schemas.ts delete mode 100644 src/generated/forge-mcp/contentScan/expressions/schemas.ts delete mode 100644 src/generated/forge-mcp/customHostnames/fallbackOrigin/schemas.ts delete mode 100644 src/generated/forge-mcp/customNameservers/schemas.ts delete mode 100644 src/generated/forge-mcp/customPages/accountAssets/schemas.ts delete mode 100644 src/generated/forge-mcp/customPages/accountCustomPages/schemas.ts delete mode 100644 src/generated/forge-mcp/customPages/schemas.ts delete mode 100644 src/generated/forge-mcp/d1/timeTravel/schemas.ts delete mode 100644 src/generated/forge-mcp/diagnostics/schemas.ts delete mode 100644 src/generated/forge-mcp/dls/schemas.ts delete mode 100644 src/generated/forge-mcp/dns/dnssec/schemas.ts delete mode 100644 src/generated/forge-mcp/dns/schemas.ts delete mode 100644 src/generated/forge-mcp/emailAuth/schemas.ts delete mode 100644 src/generated/forge-mcp/emailSecurity/bulkActions/messages/schemas.ts delete mode 100644 src/generated/forge-mcp/emailSecurity/schemas.ts delete mode 100644 src/generated/forge-mcp/firewall/outputs.ts delete mode 100644 src/generated/forge-mcp/firewall/schemas.ts delete mode 100644 src/generated/forge-mcp/iam/schemas.ts delete mode 100644 src/generated/forge-mcp/iam/sso/schemas.ts delete mode 100644 src/generated/forge-mcp/iam/userGroups/members/schemas.ts delete mode 100644 src/generated/forge-mcp/images/keys/schemas.ts delete mode 100644 src/generated/forge-mcp/intel/asn/schemas.ts delete mode 100644 src/generated/forge-mcp/intel/asn/subnets/outputs.ts delete mode 100644 src/generated/forge-mcp/intel/schemas.ts delete mode 100644 src/generated/forge-mcp/intel/whois/schemas.ts delete mode 100644 src/generated/forge-mcp/loadBalancers/previews/schemas.ts delete mode 100644 src/generated/forge-mcp/loadBalancers/regions/schemas.ts delete mode 100644 src/generated/forge-mcp/loadBalancers/schemas.ts delete mode 100644 src/generated/forge-mcp/logpush/accountJobs/schemas.ts delete mode 100644 src/generated/forge-mcp/logpush/edge/schemas.ts delete mode 100644 src/generated/forge-mcp/logs/control/schemas.ts delete mode 100644 src/generated/forge-mcp/logs/list/schemas.ts delete mode 100644 src/generated/forge-mcp/logs/rayid/schemas.ts delete mode 100644 src/generated/forge-mcp/logs/received/schemas.ts delete mode 100644 src/generated/forge-mcp/logs/schemas.ts delete mode 100644 src/generated/forge-mcp/magicNetworkMonitoring/schemas.ts delete mode 100644 src/generated/forge-mcp/mesh/nodes/schemas.ts delete mode 100644 src/generated/forge-mcp/network/outputs.ts delete mode 100644 src/generated/forge-mcp/network/routes/hostname/schemas.ts delete mode 100644 src/generated/forge-mcp/network/routes/schemas.ts delete mode 100644 src/generated/forge-mcp/network/schemas.ts delete mode 100644 src/generated/forge-mcp/network/subnets/schemas.ts delete mode 100644 src/generated/forge-mcp/network/virtualNetworks/schemas.ts delete mode 100644 src/generated/forge-mcp/networkInterconnects/schemas.ts delete mode 100644 src/generated/forge-mcp/pages/deployments/schemas.ts delete mode 100644 src/generated/forge-mcp/pages/domains/schemas.ts delete mode 100644 src/generated/forge-mcp/r2/buckets/schemas.ts delete mode 100644 src/generated/forge-mcp/r2/schemas.ts delete mode 100644 src/generated/forge-mcp/realtime/schemas.ts delete mode 100644 src/generated/forge-mcp/registrar/schemas.ts delete mode 100644 src/generated/forge-mcp/registrarSandbox/schemas.ts delete mode 100644 src/generated/forge-mcp/requestTracers/traces/schemas.ts delete mode 100644 src/generated/forge-mcp/rules/lists/schemas.ts delete mode 100644 src/generated/forge-mcp/rum/schemas.ts delete mode 100644 src/generated/forge-mcp/snippets/schemas.ts delete mode 100644 src/generated/forge-mcp/spectrum/analytics/aggregates/currents/schemas.ts delete mode 100644 src/generated/forge-mcp/spectrum/analytics/schemas.ts delete mode 100644 src/generated/forge-mcp/spectrum/schemas.ts delete mode 100644 src/generated/forge-mcp/speed/schemas.ts delete mode 100644 src/generated/forge-mcp/ssl/clientCertificates/schemas.ts delete mode 100644 src/generated/forge-mcp/ssl/keylessCertificates/schemas.ts delete mode 100644 src/generated/forge-mcp/ssl/mtlsCertificates/schemas.ts delete mode 100644 src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts delete mode 100644 src/generated/forge-mcp/ssl/originTlsClientAuth/schemas.ts delete mode 100644 src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/schemas.ts delete mode 100644 src/generated/forge-mcp/stream/schemas.ts delete mode 100644 src/generated/forge-mcp/stream/videos/captions/schemas.ts delete mode 100644 src/generated/forge-mcp/stream/videos/downloads/schemas.ts delete mode 100644 src/generated/forge-mcp/tenantCustomNameservers/schemas.ts delete mode 100644 src/generated/forge-mcp/tunnels/managementToken/schemas.ts delete mode 100644 src/generated/forge-mcp/user/invites/schemas.ts delete mode 100644 src/generated/forge-mcp/user/loadBalancers/preview/schemas.ts delete mode 100644 src/generated/forge-mcp/user/loadBalancingAnalytics/events/schemas.ts delete mode 100644 src/generated/forge-mcp/user/memberships/schemas.ts delete mode 100644 src/generated/forge-mcp/user/schemas.ts delete mode 100644 src/generated/forge-mcp/workers/legacy/scripts/versions/schemas.ts delete mode 100644 src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/schemas.ts delete mode 100644 src/generated/forge-mcp/zaraz/workflow/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/access/serviceTokens/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/access/signingKeys/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/access/users/activeSessions/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/casb/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/connectivitySettings/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/dex/commands/results/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/dex/devices/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/gateway/pacfiles/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/gateway/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/organization/doh/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/riskScoring/schemas.ts delete mode 100644 src/generated/forge-mcp/zeroTrust/users/schemas.ts delete mode 100644 src/generated/forge-mcp/zones/activationCheck/schemas.ts delete mode 100644 src/generated/forge-mcp/zones/binaryAst/schemas.ts delete mode 100644 src/generated/forge-mcp/zones/fonts/schemas.ts delete mode 100644 src/generated/forge-mcp/zones/h2Prioritization/schemas.ts delete mode 100644 src/generated/forge-mcp/zones/imageResizing/schemas.ts delete mode 100644 src/generated/forge-mcp/zones/originH2MaxStreams/schemas.ts delete mode 100644 src/generated/forge-mcp/zones/originMaxHttpVersion/schemas.ts delete mode 100644 src/generated/forge-mcp/zones/transformationsAllowedOrigins/schemas.ts delete mode 100644 src/generated/forge-mcp/zones/transformationsC2pa/schemas.ts diff --git a/AGENTS.md b/AGENTS.md index cbaa785fd..676df4f03 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -204,7 +204,7 @@ The consent page offers minimal, read-only and full-access templates. Minimal is - `src/tools/forge-tools.ts`, in the main Worker, serves `?codemode=false&experimentalForge=true`: `docs` and `whoami` itself, and the generated tools from the service. It sends each planned request with the session's token, which never leaves the main Worker, and explains refused calls and steps up OAuth scopes like the other direct tools - `&experimentalOutputSchema=true` (only with `?codemode=false&experimentalForge=true`) turns on output schemas for 2026-07-28 requests: `tools/list` sends each tool's generated `outputSchema`, and a successful call returns the whole response body, which its output schema describes, as `structuredContent`, never truncated, next to the text, which stays the whole response. A request is 2026-07-28 when its `_meta` envelope names a protocol version (`ctx.mcpReq.envelope`); 2025-era requests are served as without the flag, since their clients expect object output schemas and most generated ones are a `$ref`, `allOf` or scalar. The output schemas come straight from the generator, so the Worker only picks a listing. They are the soak's schemas, so a strict client will reject results the response schema checks flag (Hyperdrive's write-only `origin.password`, cloudflare/forge#63). The listing grows from ~6 MB to ~12 MB (0.64 to 0.98 MB gzipped), loaded only when asked for - Workers Builds deploys the service and the main Worker on every push to `main`. Ship a new RPC method in the service before the main Worker calls it, and in a new environment deploy the service first (`npm run deploy:forge-tools` / `deploy:forge-tools:prod`), since the main Worker binds to it. `npm run dev` runs both, and `npm run types` reads both configs to type the binding. Vitest builds the service with `wrangler deploy --dry-run` and runs it as an auxiliary Worker, so tests call it over the real binding -- Tool names are forge's: each group and the method in camelCase, joined by `_` (`d1_list`, `zeroTrust_access_applications_list`), not `src/openapi.ts`'s. Arguments are grouped by where they go: `path`, `query` and `headers`, each keyed by wire name, plus `body` (`{ path: { account_id }, query: { per_page }, body }`), not the endpoint tools' flat arguments. `plan()` refuses an argument the tool doesn't take, such as `account_id` passed at the top level, and says which place it goes in, rather than ignoring it, and a missing account is asked for as `path.account_id`. So switching `?codemode=false` to forge renames every tool and changes its arguments for its clients; that is why the flag soaks first +- Tool names are forge's: each group and the method in camelCase, joined by `_` (`d1_list`, `zeroTrust_access_applications_list`), not `src/openapi.ts`'s. Arguments are grouped by where they go: `path`, `query` and `headers`, each keyed by wire name, plus `body` (`{ path: { account_id }, query: { per_page }, body }`), not the endpoint tools' flat arguments. The generated input schemas set `additionalProperties: false`, so clients that validate refuse unknown arguments; forge's `buildRequest` refuses them too and says which place a misplaced parameter goes in, and `plan()` checks the arguments against the input schema, so a wrong type is refused with its name (`query.per_page`) before the API sees it. A missing account is asked for as `path.account_id`. So switching `?codemode=false` to forge renames every tool and changes its arguments for its clients; that is why the flag soaks first ### Skills over MCP diff --git a/forge.json b/forge.json index 18392af95..c9f3030d7 100644 --- a/forge.json +++ b/forge.json @@ -1,5 +1,5 @@ { "$comment": "The forge that generates src/generated/forge-mcp: a commit of cloudflare/forge. Bump ref to pick up generator changes; CI builds it.", "repository": "cloudflare/forge", - "ref": "df2942ff1f6a7eba565ab353334dc8ee3b727d38" + "ref": "9ebd355b0900309f1f408ffd4ec97393334b9c1d" } diff --git a/src/forge-tools/plan.ts b/src/forge-tools/plan.ts index adcc7f64c..5715cf391 100644 --- a/src/forge-tools/plan.ts +++ b/src/forge-tools/plan.ts @@ -1,3 +1,4 @@ +import { dereference, validate, type Schema } from '@cfworker/json-schema' import { buildRequest, InvalidArguments, @@ -7,6 +8,7 @@ import { type Tool } from '../generated/forge-mcp/_/tool' import { permissionsOf } from './cloudflare' +import { isolate } from '../lib/isolate' const ACCOUNT_OR_ZONE_PREFIX = '/{account_or_zone}/{account_or_zone_id}' @@ -48,9 +50,6 @@ export type CallPlan = * as it is. */ export function planCall(tool: Tool, given: Args, options: PlanOptions): CallPlan { - const unknown = unknownArguments(tool, given) - if (unknown) return { kind: 'invalid', message: unknown } - let request: HttpRequest let accountId: string | undefined try { @@ -61,6 +60,8 @@ export function planCall(tool: Tool, given: Args, options: PlanOptions): CallPla args = withPathParam(given, key, options.sessionAccountId) } request = buildRequest(tool, args, options.baseUrl) + const invalid = argumentErrors(tool, args) + if (invalid) return { kind: 'invalid', message: invalid } accountId = accountIdOf(args) } catch (error) { if (error instanceof InvalidArguments) return { kind: 'invalid', message: error.message } @@ -88,26 +89,32 @@ function accountKey(tool: Tool, args: Args): string | undefined { return undefined } +/** Each tool's input schema, compiled once per isolate. */ +const inputSchemas = isolate.map }>() + +/** Keywords whose errors only say that a nested error happened. */ +const NESTING_KEYWORDS = new Set(['properties', 'items', 'allOf', 'anyOf', 'oneOf', '$ref']) + /** - * Why `args` can't be used if it has arguments the tool doesn't take, else - * `undefined`. A tool takes only `path`, `query`, `headers` and `body`, so a - * parameter passed at the top level, such as `account_id`, would otherwise be - * ignored; the message names the place it belongs in. + * Why `args` don't match `tool`'s input schema, or `undefined` when they do, + * so a wrong type such as `query.per_page: "two"` is refused here with the + * argument's name rather than by the API. `buildRequest` has already refused + * unknown and missing arguments. */ -function unknownArguments(tool: Tool, args: Args): string | undefined { - const properties = tool.inputSchema.properties ?? {} - const unknown = Object.keys(args).filter((key) => !Object.hasOwn(properties, key)) - if (unknown.length === 0) return undefined - const hints = unknown.map((key) => { - const place = Object.keys(properties).find((p) => - Object.hasOwn((properties[p] as { properties?: object }).properties ?? {}, key) - ) - return place - ? `${key} goes in ${place}: { "${place}": { "${key}": … } }` - : `${key} is not an argument` +function argumentErrors(tool: Tool, args: Args): string | undefined { + const { root, lookup } = inputSchemas.getOrSet(tool.name, () => { + // The validator annotates the schemas it indexes, so it gets a copy. + const root = structuredClone(tool.inputSchema) as Schema + return { root, lookup: dereference(root) } + }) + const result = validate(args, root, '2020-12', lookup, false) + if (result.valid) return undefined + const leaves = result.errors.filter((error) => !NESTING_KEYWORDS.has(error.keyword)) + const shown = (leaves.length > 0 ? leaves : result.errors).slice(0, 3).map((error) => { + const at = error.instanceLocation.replace(/^#\/?/, '').split('/').join('.') + return `${at || 'arguments'}: ${error.error}` }) - const takes = Object.keys(properties) - return `Unknown arguments for ${tool.name}: ${hints.join('; ')}. It takes ${takes.length > 0 ? takes.join(', ') : 'no arguments'}.` + return `Invalid arguments for ${tool.name}: ${shown.join('; ')}` } /** Returns `args` with the path parameter `key` set to `value`. */ diff --git a/src/generated/forge-mcp/_/tool.ts b/src/generated/forge-mcp/_/tool.ts index 1e6182f4a..16b0084f2 100644 --- a/src/generated/forge-mcp/_/tool.ts +++ b/src/generated/forge-mcp/_/tool.ts @@ -142,6 +142,30 @@ export function pathParam(args: Args, name: string): string { return encodeURIComponent(scalar(name, value)); } +/** + * Throws {@link InvalidArguments} if `args` has an argument `tool` doesn't + * take, naming where it goes when it is a parameter passed in the wrong place, + * such as `per_page` at the top level instead of in `query`. + */ +function checkUnknownArguments(tool: Tool, args: Args): void { + const properties = tool.inputSchema.properties ?? {}; + const unknown = Object.keys(args).filter((key) => !Object.hasOwn(properties, key)); + if (unknown.length === 0) { + return; + } + const hints = unknown.map((key) => { + const place = Object.keys(properties).find((name) => { + const params = properties[name]?.['properties']; + return typeof params === 'object' && params !== null && Object.hasOwn(params, key); + }); + return place ? `${key} goes in ${place}: { "${place}": { "${key}": … } }` : `${key} is not an argument`; + }); + const takes = Object.keys(properties); + throw new InvalidArguments( + `Unknown arguments for ${tool.name}: ${hints.join('; ')}. It takes ${takes.length > 0 ? takes.join(', ') : 'no arguments'}.`, + ); +} + /** * Returns the required arguments of `tool` that `args` leaves out: a * top-level argument such as `body`, or a parameter such as `query.page` in @@ -170,6 +194,7 @@ function missingArguments(tool: Tool, args: Args): string[] { * Throws {@link InvalidArguments}. */ export function buildRequest(tool: Tool, args: Args, baseUrl: string): HttpRequest { + checkUnknownArguments(tool, args); const missing = missingArguments(tool, args); if (missing.length > 0) { throw new InvalidArguments(`Missing required arguments: ${missing.join(', ')}`); diff --git a/src/generated/forge-mcp/abuseReports/appeals/tools.ts b/src/generated/forge-mcp/abuseReports/appeals/tools.ts index 6470f4f35..734d18a43 100644 --- a/src/generated/forge-mcp/abuseReports/appeals/tools.ts +++ b/src/generated/forge-mcp/abuseReports/appeals/tools.ts @@ -18,11 +18,12 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_appeals_eligibility", title: "Check whether a report can be appealed", - description: "Returns whether the report is currently appealable, along with the signals behind that decision: whether it already has an open appeal, how many appeals have been submitted against it, and whether it has at least one mitigation that an appeal could reverse.\nReport-level appeals are currently available only for DMCA (copyright) reports. For other report types this operation returns the same `404 Report not found` response as a report that does not exist for the account.", + description: "Returns whether the report is currently appealable, along with the signals behind that decision: whether it already has an open appeal, how many appeals have been submitted against it, and whether it has at least one mitigation that an appeal could reverse.\nReport-level appeals are currently available only for DMCA (copyright) reports. For other report types this operation returns the same `404 Report not found` response as a report that does not exist for the account.\n\nGET /accounts/{account_id}/abuse-reports/{report_id}/appeals/eligibility", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", @@ -43,6 +44,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/abuseReports/emails/tools.ts b/src/generated/forge-mcp/abuseReports/emails/tools.ts index 8008e0096..22176b423 100644 --- a/src/generated/forge-mcp/abuseReports/emails/tools.ts +++ b/src/generated/forge-mcp/abuseReports/emails/tools.ts @@ -22,11 +22,12 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_emails_list", title: "List abuse report emails", - description: "List emails sent to the customer for an abuse report. Returns all successful customer emails sent for the specified abuse report. Does not include emails sent to hosts or submitters.", + description: "List emails sent to the customer for an abuse report. Returns all successful customer emails sent for the specified abuse report. Does not include emails sent to hosts or submitters.\n\nGET /accounts/{account_id}/abuse-reports/{report_id}/emails", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", @@ -44,6 +45,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "description": "Page number to retrieve (default 1)", @@ -60,6 +62,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -283,11 +286,12 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_emails_listSubmitted", title: "List emails sent to an abuse report submitter", - description: "List successful emails sent to the submitter of a report submitted by the account. Does not include emails sent to customers or hosts.", + description: "List successful emails sent to the submitter of a report submitted by the account. Does not include emails sent to customers or hosts.\n\nGET /accounts/{account_id}/abuse-reports/submitted/{report_id}/emails", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", @@ -305,6 +309,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "description": "Page number to retrieve (default 1).", @@ -321,6 +326,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/abuse-reports_EmailListResponse", diff --git a/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts b/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts index 41b90dd53..caf75aab1 100644 --- a/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts +++ b/src/generated/forge-mcp/abuseReports/mitigations/outputs.ts @@ -3,19 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `abuse-reports_MitigatedEntityType` in responses. - */ -export const abuse$$reports_MitigatedEntityType: JsonSchema = { - "enum": [ - "url_pattern", - "account", - "zone", - "custom_expression" - ], - "type": "string" -}; - /** * The schema of `abuse-reports_MitigationAppealResult` in responses. */ @@ -89,16 +76,29 @@ export const abuse$$reports_MitigationListItem: JsonSchema = { "type": "string" }, "entity_type": { - "$ref": "#/$defs/abuse-reports_MitigatedEntityType" + "enum": [ + "url_pattern", + "account", + "zone", + "custom_expression" + ], + "type": "string" }, "id": { "type": "string" }, "status": { - "$ref": "#/$defs/abuse-reports_MitigationStatus" + "enum": [ + "pending", + "active", + "in_review", + "cancelled", + "removed" + ], + "type": "string" }, "type": { - "$ref": "#/$defs/abuse-reports_MitigationType" + "type": "string" } }, "required": [ @@ -111,10 +111,3 @@ export const abuse$$reports_MitigationListItem: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `abuse-reports_MitigationType` in responses. - */ -export const abuse$$reports_MitigationType: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/abuseReports/mitigations/schemas.ts b/src/generated/forge-mcp/abuseReports/mitigations/schemas.ts index e775cdd29..d26dc6788 100644 --- a/src/generated/forge-mcp/abuseReports/mitigations/schemas.ts +++ b/src/generated/forge-mcp/abuseReports/mitigations/schemas.ts @@ -3,30 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `abuse-reports_AppealReason`. - */ -export const abuse$$reports_AppealReason: JsonSchema = { - "description": "Reason why the customer is appealing.", - "enum": [ - "removed", - "misclassified" - ], - "type": "string" -}; - -/** - * The schema of `abuse-reports_AppealType`. - */ -export const abuse$$reports_AppealType: JsonSchema = { - "description": "The type of appeal being submitted.", - "enum": [ - "counter_notice", - "content_removed" - ], - "type": "string" -}; - /** * The schema of `abuse-reports_DMCACounterNotice`. */ @@ -96,20 +72,6 @@ export const abuse$$reports_DMCACounterNotice: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_MitigatedEntityType`. - */ -export const abuse$$reports_MitigatedEntityType: JsonSchema = { - "description": "The type of entity targeted by a mitigation.", - "enum": [ - "url_pattern", - "account", - "zone", - "custom_expression" - ], - "type": "string" -}; - /** * The schema of `abuse-reports_MitigationAppeal`. */ @@ -120,8 +82,12 @@ export const abuse$$reports_MitigationAppeal: JsonSchema = { "type": "string" }, "reason": { - "$ref": "#/$defs/abuse-reports_AppealReason", - "description": "Reason why the customer is appealing." + "description": "Reason why the customer is appealing.", + "enum": [ + "removed", + "misclassified" + ], + "type": "string" } }, "required": [ @@ -153,17 +119,13 @@ export const abuse$$reports_MitigationAppealRequest: JsonSchema = { "type": "string" }, "type": { - "$ref": "#/$defs/abuse-reports_AppealType", - "description": "The type of appeal being submitted." + "description": "The type of appeal being submitted.", + "enum": [ + "counter_notice", + "content_removed" + ], + "type": "string" } }, "type": "object" }; - -/** - * The schema of `abuse-reports_MitigationType`. - */ -export const abuse$$reports_MitigationType: JsonSchema = { - "description": "The type of mitigation applied to a reported entity.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/abuseReports/mitigations/tools.ts b/src/generated/forge-mcp/abuseReports/mitigations/tools.ts index 532ae3cd2..f0ec4d50c 100644 --- a/src/generated/forge-mcp/abuseReports/mitigations/tools.ts +++ b/src/generated/forge-mcp/abuseReports/mitigations/tools.ts @@ -7,24 +7,16 @@ import { abuse$$reports_CloudflareAPIErrorResponse, abuse$$reports_ErrorMessage, abuse$$reports_Message, - abuse$$reports_MitigationStatus, abuse$$reports_UnauthorizedErrorResponse, } from "../outputs.js"; -import { abuse$$reports_MitigationStatus as abuse$$reports_MitigationStatus$ } from "../schemas.js"; import { - abuse$$reports_MitigatedEntityType, abuse$$reports_MitigationAppealResult, abuse$$reports_MitigationListItem, - abuse$$reports_MitigationType, } from "./outputs.js"; import { - abuse$$reports_AppealReason, - abuse$$reports_AppealType, abuse$$reports_DMCACounterNotice, - abuse$$reports_MitigatedEntityType as abuse$$reports_MitigatedEntityType$, abuse$$reports_MitigationAppeal, abuse$$reports_MitigationAppealRequest, - abuse$$reports_MitigationType as abuse$$reports_MitigationType$, } from "./schemas.js"; /** @@ -34,11 +26,12 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_mitigations_list", title: "List abuse report mitigations", - description: "List mitigations done to remediate the abuse report.", + description: "List mitigations done to remediate the abuse report.\n\nGET /accounts/{account_id}/abuse-reports/{report_id}/mitigations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", @@ -56,6 +49,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "effective_after": { "description": "Returns mitigation that were dispatched after the given date", @@ -66,8 +60,14 @@ export const tools: readonly Tool[] = [ "type": "string" }, "entity_type": { - "$ref": "#/$defs/abuse-reports_MitigatedEntityType", - "description": "Filter by the type of entity the mitigation impacts." + "description": "Filter by the type of entity the mitigation impacts.", + "enum": [ + "url_pattern", + "account", + "zone", + "custom_expression" + ], + "type": "string" }, "page": { "description": "Where in pagination to start listing abuse reports", @@ -92,12 +92,19 @@ export const tools: readonly Tool[] = [ "type": "string" }, "status": { - "$ref": "#/$defs/abuse-reports_MitigationStatus", - "description": "Filter by the status of the mitigation." + "description": "Filter by the status of the mitigation.", + "enum": [ + "pending", + "active", + "in_review", + "cancelled", + "removed" + ], + "type": "string" }, "type": { - "$ref": "#/$defs/abuse-reports_MitigationType", - "description": "Filter by the type of mitigation. This filter parameter can be specified multiple times to include multiple types of mitigations in the result set." + "description": "Filter by the type of mitigation. This filter parameter can be specified multiple times to include multiple types of mitigations in the result set.", + "type": "string" } }, "type": "object" @@ -106,11 +113,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType$, - "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus$, - "abuse-reports_MitigationType": abuse$$reports_MitigationType$, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -177,10 +180,7 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "abuse-reports_Message": abuse$$reports_Message, - "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType, "abuse-reports_MitigationListItem": abuse$$reports_MitigationListItem, - "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, - "abuse-reports_MitigationType": abuse$$reports_MitigationType, }, }, annotations: { @@ -299,10 +299,7 @@ export const tools: readonly Tool[] = [ "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, "abuse-reports_Message": abuse$$reports_Message, - "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType, "abuse-reports_MitigationListItem": abuse$$reports_MitigationListItem, - "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, - "abuse-reports_MitigationType": abuse$$reports_MitigationType, "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, @@ -323,7 +320,7 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_mitigations_review", title: "Request review on mitigations", - description: "Request a review of mitigations applied because of an abuse report, or submit a report-level appeal.\n\n- To request a review of specific mitigations, send `appeals` with the mitigation IDs and reasons. Repeating a request for a mitigation with an unresolved appeal is idempotent and returns that mitigation in the in-review state.\n- To submit a report-level appeal, send `type` and, for a `counter_notice`, the counter-notice details in `data`. Report-level appeals are currently available only for DMCA (copyright) reports.", + description: "Request a review of mitigations applied because of an abuse report, or submit a report-level appeal.\n\n- To request a review of specific mitigations, send `appeals` with the mitigation IDs and reasons. Repeating a request for a mitigation with an unresolved appeal is idempotent and returns that mitigation in the in-review state.\n- To submit a report-level appeal, send `type` and, for a `counter_notice`, the counter-notice details in `data`. Report-level appeals are currently available only for DMCA (copyright) reports.\n\nPOST /accounts/{account_id}/abuse-reports/{report_id}/mitigations/appeal", inputSchema: { type: "object", properties: { @@ -331,6 +328,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/abuse-reports_MitigationAppealRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", @@ -352,9 +350,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "abuse-reports_AppealReason": abuse$$reports_AppealReason, - "abuse-reports_AppealType": abuse$$reports_AppealType, "abuse-reports_DMCACounterNotice": abuse$$reports_DMCACounterNotice, "abuse-reports_MitigationAppeal": abuse$$reports_MitigationAppeal, "abuse-reports_MitigationAppealRequest": abuse$$reports_MitigationAppealRequest, @@ -364,11 +361,8 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/abuse-reports_MitigationAppealResult", $defs: { "abuse-reports_Message": abuse$$reports_Message, - "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType, "abuse-reports_MitigationAppealResult": abuse$$reports_MitigationAppealResult, "abuse-reports_MitigationListItem": abuse$$reports_MitigationListItem, - "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, - "abuse-reports_MitigationType": abuse$$reports_MitigationType, }, }, annotations: { @@ -428,11 +422,8 @@ export const tools: readonly Tool[] = [ "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, "abuse-reports_Message": abuse$$reports_Message, - "abuse-reports_MitigatedEntityType": abuse$$reports_MitigatedEntityType, "abuse-reports_MitigationAppealResult": abuse$$reports_MitigationAppealResult, "abuse-reports_MitigationListItem": abuse$$reports_MitigationListItem, - "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, - "abuse-reports_MitigationType": abuse$$reports_MitigationType, "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, }, diff --git a/src/generated/forge-mcp/abuseReports/outputs.ts b/src/generated/forge-mcp/abuseReports/outputs.ts index ab38c445e..bcff0998b 100644 --- a/src/generated/forge-mcp/abuseReports/outputs.ts +++ b/src/generated/forge-mcp/abuseReports/outputs.ts @@ -27,13 +27,28 @@ export const abuse$$reports_AbuseReport: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/abuse-reports_ReportStatus" + "enum": [ + "accepted", + "in_review" + ], + "type": "string" }, "submitter": { "$ref": "#/$defs/abuse-reports_SubmitterDetails" }, "type": { - "$ref": "#/$defs/abuse-reports_ReportType" + "enum": [ + "PHISH", + "GEN", + "THREAT", + "DMCA", + "EMER", + "TM", + "REG_WHO", + "NCSEI", + "NETWORK" + ], + "type": "string" }, "urls": { "items": { @@ -80,97 +95,6 @@ export const abuse$$reports_AuthErrorResponse: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_BadActError` in responses. - */ -export const abuse$$reports_BadActError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadAddressError` in responses. - */ -export const abuse$$reports_BadAddressError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadAgentNameError` in responses. - */ -export const abuse$$reports_BadAgentNameError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadCityError` in responses. - */ -export const abuse$$reports_BadCityError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadCommentsError` in responses. - */ -export const abuse$$reports_BadCommentsError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadCountryError` in responses. - */ -export const abuse$$reports_BadCountryError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadEmailError` in responses. - */ -export const abuse$$reports_BadEmailError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadIPError` in responses. - */ -export const abuse$$reports_BadIPError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadJustError` in responses. - */ -export const abuse$$reports_BadJustError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadNameError` in responses. - */ -export const abuse$$reports_BadNameError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadPortsProtocolError` in responses. - */ -export const abuse$$reports_BadPortsProtocolError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadStateError` in responses. - */ -export const abuse$$reports_BadStateError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_BadUrlsError` in responses. - */ -export const abuse$$reports_BadUrlsError: JsonSchema = { - "type": "string" -}; - /** * The schema of `abuse-reports_CloudflareAPIErrorResponse` in responses. */ @@ -211,129 +135,6 @@ export const abuse$$reports_CloudflareAPIErrorResponse: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_DBError` in responses. - */ -export const abuse$$reports_DBError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_DedupeError` in responses. - */ -export const abuse$$reports_DedupeError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_DiffEmailError` in responses. - */ -export const abuse$$reports_DiffEmailError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_EmailError` in responses. - */ -export const abuse$$reports_EmailError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_ErrorCode` in responses. - */ -export const abuse$$reports_ErrorCode: JsonSchema = { - "oneOf": [ - { - "$ref": "#/$defs/abuse-reports_BadActError" - }, - { - "$ref": "#/$defs/abuse-reports_BadAddressError" - }, - { - "$ref": "#/$defs/abuse-reports_BadAgentNameError" - }, - { - "$ref": "#/$defs/abuse-reports_BadCityError" - }, - { - "$ref": "#/$defs/abuse-reports_BadCountryError" - }, - { - "$ref": "#/$defs/abuse-reports_BadPortsProtocolError" - }, - { - "$ref": "#/$defs/abuse-reports_BadStateError" - }, - { - "$ref": "#/$defs/abuse-reports_MaxIPsError" - }, - { - "$ref": "#/$defs/abuse-reports_PortsProtocolError" - }, - { - "$ref": "#/$defs/abuse-reports_BadCommentsError" - }, - { - "$ref": "#/$defs/abuse-reports_BadEmailError" - }, - { - "$ref": "#/$defs/abuse-reports_BadIPError" - }, - { - "$ref": "#/$defs/abuse-reports_BadJustError" - }, - { - "$ref": "#/$defs/abuse-reports_BadNameError" - }, - { - "$ref": "#/$defs/abuse-reports_BadUrlsError" - }, - { - "$ref": "#/$defs/abuse-reports_DBError" - }, - { - "$ref": "#/$defs/abuse-reports_DedupeError" - }, - { - "$ref": "#/$defs/abuse-reports_DiffEmailError" - }, - { - "$ref": "#/$defs/abuse-reports_EmailError" - }, - { - "$ref": "#/$defs/abuse-reports_InternalError" - }, - { - "$ref": "#/$defs/abuse-reports_InvalidNotifyError" - }, - { - "$ref": "#/$defs/abuse-reports_MustNotifyError" - }, - { - "$ref": "#/$defs/abuse-reports_NoAgreeError" - }, - { - "$ref": "#/$defs/abuse-reports_NoOriginalWorkError" - }, - { - "$ref": "#/$defs/abuse-reports_NoSigError" - }, - { - "$ref": "#/$defs/abuse-reports_UnexpectedActError" - }, - { - "$ref": "#/$defs/abuse-reports_UnknownError" - }, - { - "$ref": "#/$defs/abuse-reports_UrlNotOrangeError" - }, - { - "$ref": "#/$defs/abuse-reports_UrlNotvalidError" - } - ] -}; - /** * The schema of `abuse-reports_ErrorMessage` in responses. */ @@ -359,27 +160,6 @@ export const abuse$$reports_ErrorMessage: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_InternalError` in responses. - */ -export const abuse$$reports_InternalError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_InvalidNotifyError` in responses. - */ -export const abuse$$reports_InvalidNotifyError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_MaxIPsError` in responses. - */ -export const abuse$$reports_MaxIPsError: JsonSchema = { - "type": "string" -}; - /** * The schema of `abuse-reports_Message` in responses. */ @@ -395,20 +175,6 @@ export const abuse$$reports_Message: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_MitigationStatus` in responses. - */ -export const abuse$$reports_MitigationStatus: JsonSchema = { - "enum": [ - "pending", - "active", - "in_review", - "cancelled", - "removed" - ], - "type": "string" -}; - /** * The schema of `abuse-reports_MitigationSummary` in responses. */ @@ -440,58 +206,16 @@ export const abuse$$reports_MitigationSummary: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_MustNotifyError` in responses. - */ -export const abuse$$reports_MustNotifyError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_NoAgreeError` in responses. - */ -export const abuse$$reports_NoAgreeError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_NoOriginalWorkError` in responses. - */ -export const abuse$$reports_NoOriginalWorkError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_NoSigError` in responses. - */ -export const abuse$$reports_NoSigError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_PortsProtocolError` in responses. - */ -export const abuse$$reports_PortsProtocolError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_RateLimitedError` in responses. - */ -export const abuse$$reports_RateLimitedError: JsonSchema = { - "type": "string" -}; - /** * The schema of `abuse-reports_RateLimitedErrorResponse` in responses. */ export const abuse$$reports_RateLimitedErrorResponse: JsonSchema = { "properties": { "err_code": { - "$ref": "#/$defs/abuse-reports_RateLimitedError" + "type": "string" }, "error_code": { - "$ref": "#/$defs/abuse-reports_RateLimitedError" + "type": "string" }, "msg": { "type": "string" @@ -499,7 +223,7 @@ export const abuse$$reports_RateLimitedErrorResponse: JsonSchema = { "request": { "properties": { "act": { - "$ref": "#/$defs/abuse-reports_SubmissionReportType" + "type": "string" } }, "required": [ @@ -591,35 +315,6 @@ export const abuse$$reports_RegistrarWhoIsFields: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_ReportStatus` in responses. - */ -export const abuse$$reports_ReportStatus: JsonSchema = { - "enum": [ - "accepted", - "in_review" - ], - "type": "string" -}; - -/** - * The schema of `abuse-reports_ReportType` in responses. - */ -export const abuse$$reports_ReportType: JsonSchema = { - "enum": [ - "PHISH", - "GEN", - "THREAT", - "DMCA", - "EMER", - "TM", - "REG_WHO", - "NCSEI", - "NETWORK" - ], - "type": "string" -}; - /** * The schema of `abuse-reports_ResultInfo` in responses. */ @@ -651,23 +346,192 @@ export const abuse$$reports_ResultInfo: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_SubmissionReportType` in responses. - */ -export const abuse$$reports_SubmissionReportType: JsonSchema = { - "type": "string" -}; - /** * The schema of `abuse-reports_SubmitErrorResponse` in responses. */ export const abuse$$reports_SubmitErrorResponse: JsonSchema = { "properties": { "err_code": { - "$ref": "#/$defs/abuse-reports_ErrorCode" + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ] }, "error_code": { - "$ref": "#/$defs/abuse-reports_ErrorCode" + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + }, + { + "type": "string" + } + ] }, "msg": { "type": "string" @@ -675,7 +539,7 @@ export const abuse$$reports_SubmitErrorResponse: JsonSchema = { "request": { "properties": { "act": { - "$ref": "#/$defs/abuse-reports_SubmissionReportType" + "type": "string" } }, "required": [ @@ -708,7 +572,7 @@ export const abuse$$reports_SubmitReportResponse: JsonSchema = { "request": { "properties": { "act": { - "$ref": "#/$defs/abuse-reports_SubmissionReportType" + "type": "string" } }, "required": [ @@ -728,28 +592,6 @@ export const abuse$$reports_SubmitReportResponse: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_SubmittedAbuseReportDenialReason` in responses. - */ -export const abuse$$reports_SubmittedAbuseReportDenialReason: JsonSchema = { - "enum": [ - "unable_to_confirm", - "incomplete_report", - "not_on_cloudflare", - "duplicate_report", - "content_removed", - "report_details_mismatch", - "no_abuse_found", - "missing_original_work", - "direct_url_required", - "wrong_report_category", - "content_unavailable", - "law_enforcement_referral_required", - "domain_dispute_process_required" - ], - "type": "string" -}; - /** * The schema of `abuse-reports_SubmittedAbuseReportDetail` in responses. */ @@ -892,7 +734,22 @@ export const abuse$$reports_SubmittedAbuseReportListItem: JsonSchema = { "denial_reason": { "oneOf": [ { - "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportDenialReason" + "enum": [ + "unable_to_confirm", + "incomplete_report", + "not_on_cloudflare", + "duplicate_report", + "content_removed", + "report_details_mismatch", + "no_abuse_found", + "missing_original_work", + "direct_url_required", + "wrong_report_category", + "content_unavailable", + "law_enforcement_referral_required", + "domain_dispute_process_required" + ], + "type": "string" }, { "type": "null" @@ -906,13 +763,29 @@ export const abuse$$reports_SubmittedAbuseReportListItem: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportStatus" + "enum": [ + "submitted", + "accepted", + "denied" + ], + "type": "string" }, "submitter": { "$ref": "#/$defs/abuse-reports_SubmitterDetails" }, "type": { - "$ref": "#/$defs/abuse-reports_ReportType" + "enum": [ + "PHISH", + "GEN", + "THREAT", + "DMCA", + "EMER", + "TM", + "REG_WHO", + "NCSEI", + "NETWORK" + ], + "type": "string" } }, "required": [ @@ -971,18 +844,6 @@ export const abuse$$reports_SubmittedAbuseReportListResponse: JsonSchema = { "type": "object" }; -/** - * The schema of `abuse-reports_SubmittedAbuseReportStatus` in responses. - */ -export const abuse$$reports_SubmittedAbuseReportStatus: JsonSchema = { - "enum": [ - "submitted", - "accepted", - "denied" - ], - "type": "string" -}; - /** * The schema of `abuse-reports_SubmitterDetails` in responses. */ @@ -1017,31 +878,3 @@ export const abuse$$reports_UnauthorizedErrorResponse: JsonSchema = { } ] }; - -/** - * The schema of `abuse-reports_UnexpectedActError` in responses. - */ -export const abuse$$reports_UnexpectedActError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_UnknownError` in responses. - */ -export const abuse$$reports_UnknownError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_UrlNotOrangeError` in responses. - */ -export const abuse$$reports_UrlNotOrangeError: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `abuse-reports_UrlNotvalidError` in responses. - */ -export const abuse$$reports_UrlNotvalidError: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/abuseReports/schemas.ts b/src/generated/forge-mcp/abuseReports/schemas.ts index decbdf819..3787d5c9a 100644 --- a/src/generated/forge-mcp/abuseReports/schemas.ts +++ b/src/generated/forge-mcp/abuseReports/schemas.ts @@ -9,8 +9,8 @@ import type { JsonSchema } from "../_/tool.js"; export const abuse$$reports_BaseReportFields: JsonSchema = { "properties": { "act": { - "$ref": "#/$defs/abuse-reports_SubmissionReportType", - "description": "The report type for submitted reports." + "description": "The report type for submitted reports.", + "type": "string" }, "comments": { "description": "Any additional comments about the infringement not exceeding 2000 characters. Comments are kept internal to Cloudflare and not shared with the host or customer as part of regular processing. For delegated reports, comments may be shared in full.", @@ -80,11 +80,11 @@ export const abuse$$reports_CSAMReport: JsonSchema = { "type": "string" }, "country": { - "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).\n", + "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).", "type": "string" }, "host_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon" @@ -92,11 +92,11 @@ export const abuse$$reports_CSAMReport: JsonSchema = { "type": "string" }, "justification": { - "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.\n", + "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.", "type": "string" }, "ncmec_notification": { - "description": "Notification type based on the abuse type. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon" @@ -104,7 +104,7 @@ export const abuse$$reports_CSAMReport: JsonSchema = { "type": "string" }, "owner_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon", @@ -160,22 +160,22 @@ export const abuse$$reports_DMCAReport: JsonSchema = { "type": "string" }, "country": { - "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).\n", + "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).", "type": "string" }, "host_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send" ], "type": "string" }, "original_work": { - "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).\n", + "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).", "type": "string" }, "owner_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send" ], @@ -228,7 +228,7 @@ export const abuse$$reports_GeneralReport: JsonSchema = { "type": "string" }, "host_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon" @@ -236,11 +236,11 @@ export const abuse$$reports_GeneralReport: JsonSchema = { "type": "string" }, "justification": { - "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.\n", + "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.", "type": "string" }, "owner_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon" @@ -266,21 +266,6 @@ export const abuse$$reports_GeneralReport: JsonSchema = { ] }; -/** - * The schema of `abuse-reports_MitigationStatus`. - */ -export const abuse$$reports_MitigationStatus: JsonSchema = { - "description": "The status of a mitigation", - "enum": [ - "pending", - "active", - "in_review", - "cancelled", - "removed" - ], - "type": "string" -}; - /** * The schema of `abuse-reports_NCSEIReport`. */ @@ -298,11 +283,11 @@ export const abuse$$reports_NCSEIReport: JsonSchema = { "type": "string" }, "country": { - "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).\n", + "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).", "type": "string" }, "host_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon" @@ -314,7 +299,7 @@ export const abuse$$reports_NCSEIReport: JsonSchema = { "type": "boolean" }, "owner_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon", @@ -350,7 +335,7 @@ export const abuse$$reports_PhishingReport: JsonSchema = { "type": "string" }, "host_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon" @@ -358,15 +343,15 @@ export const abuse$$reports_PhishingReport: JsonSchema = { "type": "string" }, "justification": { - "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.\n", + "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.", "type": "string" }, "original_work": { - "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).\n", + "description": "Text not exceeding 255 characters. This field may be released by Cloudflare to third parties such as the Lumen Database (https://lumendatabase.org/).", "type": "string" }, "owner_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon" @@ -479,7 +464,7 @@ export const abuse$$reports_RegistrarWhoisReport: JsonSchema = { "type": "string" }, "owner_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon", @@ -500,45 +485,6 @@ export const abuse$$reports_RegistrarWhoisReport: JsonSchema = { ] }; -/** - * The schema of `abuse-reports_ReportStatus`. - */ -export const abuse$$reports_ReportStatus: JsonSchema = { - "description": "An enum value that represents the status of an abuse record", - "enum": [ - "accepted", - "in_review" - ], - "type": "string" -}; - -/** - * The schema of `abuse-reports_ReportType`. - */ -export const abuse$$reports_ReportType: JsonSchema = { - "description": "The abuse report type", - "enum": [ - "PHISH", - "GEN", - "THREAT", - "DMCA", - "EMER", - "TM", - "REG_WHO", - "NCSEI", - "NETWORK" - ], - "type": "string" -}; - -/** - * The schema of `abuse-reports_SubmissionReportType`. - */ -export const abuse$$reports_SubmissionReportType: JsonSchema = { - "description": "The report type for submitted reports.", - "type": "string" -}; - /** * The schema of `abuse-reports_SubmitReportRequest`. */ @@ -571,19 +517,6 @@ export const abuse$$reports_SubmitReportRequest: JsonSchema = { ] }; -/** - * The schema of `abuse-reports_SubmittedAbuseReportStatus`. - */ -export const abuse$$reports_SubmittedAbuseReportStatus: JsonSchema = { - "description": "Status visible to the account that submitted the report.", - "enum": [ - "submitted", - "accepted", - "denied" - ], - "type": "string" -}; - /** * The schema of `abuse-reports_ThreatReport`. */ @@ -601,7 +534,7 @@ export const abuse$$reports_ThreatReport: JsonSchema = { "type": "string" }, "host_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon" @@ -609,11 +542,11 @@ export const abuse$$reports_ThreatReport: JsonSchema = { "type": "string" }, "justification": { - "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.\n", + "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.", "type": "string" }, "owner_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send", "send-anon" @@ -648,18 +581,18 @@ export const abuse$$reports_TrademarkReport: JsonSchema = { "type": "string" }, "host_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send" ], "type": "string" }, "justification": { - "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.\n", + "description": "A detailed description of the infringement, including any necessary access details and the exact steps needed to view the content, not exceeding 5000 characters.", "type": "string" }, "owner_notification": { - "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.\n", + "description": "Notification type based on the abuse type. For delegated reports, the report—including contact information and comments—will be forwarded to the customer in full regardless of this value. NOTE: Copyright (DMCA) and Trademark reports cannot be anonymous.", "enum": [ "send" ], diff --git a/src/generated/forge-mcp/abuseReports/tools.ts b/src/generated/forge-mcp/abuseReports/tools.ts index 5c6365586..cc92d735f 100644 --- a/src/generated/forge-mcp/abuseReports/tools.ts +++ b/src/generated/forge-mcp/abuseReports/tools.ts @@ -5,73 +5,32 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { abuse$$reports_AbuseReport, abuse$$reports_AuthErrorResponse, - abuse$$reports_BadActError, - abuse$$reports_BadAddressError, - abuse$$reports_BadAgentNameError, - abuse$$reports_BadCityError, - abuse$$reports_BadCommentsError, - abuse$$reports_BadCountryError, - abuse$$reports_BadEmailError, - abuse$$reports_BadIPError, - abuse$$reports_BadJustError, - abuse$$reports_BadNameError, - abuse$$reports_BadPortsProtocolError, - abuse$$reports_BadStateError, - abuse$$reports_BadUrlsError, abuse$$reports_CloudflareAPIErrorResponse, - abuse$$reports_DBError, - abuse$$reports_DedupeError, - abuse$$reports_DiffEmailError, - abuse$$reports_EmailError, - abuse$$reports_ErrorCode, abuse$$reports_ErrorMessage, - abuse$$reports_InternalError, - abuse$$reports_InvalidNotifyError, - abuse$$reports_MaxIPsError, abuse$$reports_Message, abuse$$reports_MitigationSummary, - abuse$$reports_MustNotifyError, - abuse$$reports_NoAgreeError, - abuse$$reports_NoOriginalWorkError, - abuse$$reports_NoSigError, - abuse$$reports_PortsProtocolError, - abuse$$reports_RateLimitedError, abuse$$reports_RateLimitedErrorResponse, abuse$$reports_RegistrarWhoIsFields, - abuse$$reports_ReportStatus, - abuse$$reports_ReportType, abuse$$reports_ResultInfo, - abuse$$reports_SubmissionReportType, abuse$$reports_SubmitErrorResponse, abuse$$reports_SubmitReportResponse, - abuse$$reports_SubmittedAbuseReportDenialReason, abuse$$reports_SubmittedAbuseReportDetail, abuse$$reports_SubmittedAbuseReportDetailResponse, abuse$$reports_SubmittedAbuseReportListItem, abuse$$reports_SubmittedAbuseReportListResponse, - abuse$$reports_SubmittedAbuseReportStatus, abuse$$reports_SubmitterDetails, abuse$$reports_UnauthorizedErrorResponse, - abuse$$reports_UnexpectedActError, - abuse$$reports_UnknownError, - abuse$$reports_UrlNotOrangeError, - abuse$$reports_UrlNotvalidError, } from "./outputs.js"; import { abuse$$reports_BaseReportFields, abuse$$reports_CSAMReport, abuse$$reports_DMCAReport, abuse$$reports_GeneralReport, - abuse$$reports_MitigationStatus, abuse$$reports_NCSEIReport, abuse$$reports_PhishingReport, abuse$$reports_RegistrarWhoIsFields as abuse$$reports_RegistrarWhoIsFields$, abuse$$reports_RegistrarWhoisReport, - abuse$$reports_ReportStatus as abuse$$reports_ReportStatus$, - abuse$$reports_ReportType as abuse$$reports_ReportType$, - abuse$$reports_SubmissionReportType as abuse$$reports_SubmissionReportType$, abuse$$reports_SubmitReportRequest, - abuse$$reports_SubmittedAbuseReportStatus as abuse$$reports_SubmittedAbuseReportStatus$, abuse$$reports_ThreatReport, abuse$$reports_TrademarkReport, } from "./schemas.js"; @@ -83,7 +42,7 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_create", title: "Submit an abuse report", - description: "Submit an abuse report of a particular type.\n\nRequires the abuse-reports entitlement on the account (Enterprise\naccounts have it by default; other accounts must request access) and an\nAPI token with the `Trust and Safety Write` permission. If the account\nis not entitled, the request is rejected with an HTTP `401` response\n(see below).\n\nDelegated reports: In limited circumstances, Cloudflare works with\nselect customers who have established abuse-handling programs. For\nthese customers, Cloudflare may forward abuse reports directly and in\nfull—including reporter contact information, comments, and supporting\nevidence—without redaction or preprocessing by Cloudflare. This allows\nthe customer to investigate and respond using their own policies and\nprocesses. For delegated reports, the report—including contact\ninformation and comments—will be forwarded to the customer in full\nregardless of the `host_notification` and `owner_notification` values.", + description: "Submit an abuse report of a particular type.\n\nRequires the abuse-reports entitlement on the account (Enterprise\naccounts have it by default; other accounts must request access) and an\nAPI token with the `Trust and Safety Write` permission. If the account\nis not entitled, the request is rejected with an HTTP `401` response\n(see below).\n\nDelegated reports: In limited circumstances, Cloudflare works with\nselect customers who have established abuse-handling programs. For\nthese customers, Cloudflare may forward abuse reports directly and in\nfull—including reporter contact information, comments, and supporting\nevidence—without redaction or preprocessing by Cloudflare. This allows\nthe customer to investigate and respond using their own policies and\nprocesses. For delegated reports, the report—including contact\ninformation and comments—will be forwarded to the customer in full\nregardless of the `host_notification` and `owner_notification` values.\n\nPOST /accounts/{account_id}/abuse-reports/{report_param}", inputSchema: { type: "object", properties: { @@ -91,14 +50,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/abuse-reports_SubmitReportRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", "type": "string" }, "report_param": { - "$ref": "#/$defs/abuse-reports_SubmissionReportType", - "description": "The report type to be submitted. Example: abuse_general" + "description": "The report type to be submitted. Example: abuse_general", + "type": "string" } }, "required": [ @@ -112,6 +72,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "abuse-reports_BaseReportFields": abuse$$reports_BaseReportFields, "abuse-reports_CSAMReport": abuse$$reports_CSAMReport, @@ -121,7 +82,6 @@ export const tools: readonly Tool[] = [ "abuse-reports_PhishingReport": abuse$$reports_PhishingReport, "abuse-reports_RegistrarWhoIsFields": abuse$$reports_RegistrarWhoIsFields$, "abuse-reports_RegistrarWhoisReport": abuse$$reports_RegistrarWhoisReport, - "abuse-reports_SubmissionReportType": abuse$$reports_SubmissionReportType$, "abuse-reports_SubmitReportRequest": abuse$$reports_SubmitReportRequest, "abuse-reports_ThreatReport": abuse$$reports_ThreatReport, "abuse-reports_TrademarkReport": abuse$$reports_TrademarkReport, @@ -130,7 +90,6 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/abuse-reports_SubmitReportResponse", $defs: { - "abuse-reports_SubmissionReportType": abuse$$reports_SubmissionReportType, "abuse-reports_SubmitReportResponse": abuse$$reports_SubmitReportResponse, }, }, @@ -171,45 +130,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "abuse-reports_AuthErrorResponse": abuse$$reports_AuthErrorResponse, - "abuse-reports_BadActError": abuse$$reports_BadActError, - "abuse-reports_BadAddressError": abuse$$reports_BadAddressError, - "abuse-reports_BadAgentNameError": abuse$$reports_BadAgentNameError, - "abuse-reports_BadCityError": abuse$$reports_BadCityError, - "abuse-reports_BadCommentsError": abuse$$reports_BadCommentsError, - "abuse-reports_BadCountryError": abuse$$reports_BadCountryError, - "abuse-reports_BadEmailError": abuse$$reports_BadEmailError, - "abuse-reports_BadIPError": abuse$$reports_BadIPError, - "abuse-reports_BadJustError": abuse$$reports_BadJustError, - "abuse-reports_BadNameError": abuse$$reports_BadNameError, - "abuse-reports_BadPortsProtocolError": abuse$$reports_BadPortsProtocolError, - "abuse-reports_BadStateError": abuse$$reports_BadStateError, - "abuse-reports_BadUrlsError": abuse$$reports_BadUrlsError, "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, - "abuse-reports_DBError": abuse$$reports_DBError, - "abuse-reports_DedupeError": abuse$$reports_DedupeError, - "abuse-reports_DiffEmailError": abuse$$reports_DiffEmailError, - "abuse-reports_EmailError": abuse$$reports_EmailError, - "abuse-reports_ErrorCode": abuse$$reports_ErrorCode, "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, - "abuse-reports_InternalError": abuse$$reports_InternalError, - "abuse-reports_InvalidNotifyError": abuse$$reports_InvalidNotifyError, - "abuse-reports_MaxIPsError": abuse$$reports_MaxIPsError, "abuse-reports_Message": abuse$$reports_Message, - "abuse-reports_MustNotifyError": abuse$$reports_MustNotifyError, - "abuse-reports_NoAgreeError": abuse$$reports_NoAgreeError, - "abuse-reports_NoOriginalWorkError": abuse$$reports_NoOriginalWorkError, - "abuse-reports_NoSigError": abuse$$reports_NoSigError, - "abuse-reports_PortsProtocolError": abuse$$reports_PortsProtocolError, - "abuse-reports_RateLimitedError": abuse$$reports_RateLimitedError, "abuse-reports_RateLimitedErrorResponse": abuse$$reports_RateLimitedErrorResponse, - "abuse-reports_SubmissionReportType": abuse$$reports_SubmissionReportType, "abuse-reports_SubmitErrorResponse": abuse$$reports_SubmitErrorResponse, "abuse-reports_SubmitReportResponse": abuse$$reports_SubmitReportResponse, "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, - "abuse-reports_UnexpectedActError": abuse$$reports_UnexpectedActError, - "abuse-reports_UnknownError": abuse$$reports_UnknownError, - "abuse-reports_UrlNotOrangeError": abuse$$reports_UrlNotOrangeError, - "abuse-reports_UrlNotvalidError": abuse$$reports_UrlNotvalidError, }, }, request: (args) => ({ @@ -220,11 +147,12 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_get", title: "Get an abuse report against the account", - description: "Retrieve the details of an abuse report made against a domain or other content associated with the account. To retrieve a report that the account submitted, use the submitted abuse report endpoint instead.", + description: "Retrieve the details of an abuse report made against a domain or other content associated with the account. To retrieve a report that the account submitted, use the submitted abuse report endpoint instead.\n\nGET /accounts/{account_id}/abuse-reports/{report_param}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", @@ -245,6 +173,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -277,8 +206,6 @@ export const tools: readonly Tool[] = [ "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, "abuse-reports_Message": abuse$$reports_Message, "abuse-reports_MitigationSummary": abuse$$reports_MitigationSummary, - "abuse-reports_ReportStatus": abuse$$reports_ReportStatus, - "abuse-reports_ReportType": abuse$$reports_ReportType, "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, }, }, @@ -394,8 +321,6 @@ export const tools: readonly Tool[] = [ "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, "abuse-reports_Message": abuse$$reports_Message, "abuse-reports_MitigationSummary": abuse$$reports_MitigationSummary, - "abuse-reports_ReportStatus": abuse$$reports_ReportStatus, - "abuse-reports_ReportType": abuse$$reports_ReportType, "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, @@ -407,11 +332,12 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_getSubmitted", title: "Get a submitted abuse report", - description: "Retrieve a report submitted by the account.", + description: "Retrieve a report submitted by the account.\n\nGET /accounts/{account_id}/abuse-reports/submitted/{report_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", @@ -432,6 +358,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportDetailResponse", @@ -439,12 +366,9 @@ export const tools: readonly Tool[] = [ "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, "abuse-reports_Message": abuse$$reports_Message, "abuse-reports_RegistrarWhoIsFields": abuse$$reports_RegistrarWhoIsFields, - "abuse-reports_ReportType": abuse$$reports_ReportType, - "abuse-reports_SubmittedAbuseReportDenialReason": abuse$$reports_SubmittedAbuseReportDenialReason, "abuse-reports_SubmittedAbuseReportDetail": abuse$$reports_SubmittedAbuseReportDetail, "abuse-reports_SubmittedAbuseReportDetailResponse": abuse$$reports_SubmittedAbuseReportDetailResponse, "abuse-reports_SubmittedAbuseReportListItem": abuse$$reports_SubmittedAbuseReportListItem, - "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus, "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, }, }, @@ -484,12 +408,9 @@ export const tools: readonly Tool[] = [ "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, "abuse-reports_Message": abuse$$reports_Message, "abuse-reports_RegistrarWhoIsFields": abuse$$reports_RegistrarWhoIsFields, - "abuse-reports_ReportType": abuse$$reports_ReportType, - "abuse-reports_SubmittedAbuseReportDenialReason": abuse$$reports_SubmittedAbuseReportDenialReason, "abuse-reports_SubmittedAbuseReportDetail": abuse$$reports_SubmittedAbuseReportDetail, "abuse-reports_SubmittedAbuseReportDetailResponse": abuse$$reports_SubmittedAbuseReportDetailResponse, "abuse-reports_SubmittedAbuseReportListItem": abuse$$reports_SubmittedAbuseReportListItem, - "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus, "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, @@ -501,11 +422,12 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_list", title: "List abuse reports against the account", - description: "List abuse reports made against domains or other content associated with the account. To list reports that the account submitted, use the submitted abuse reports endpoint instead.", + description: "List abuse reports made against domains or other content associated with the account. To list reports that the account submitted, use the submitted abuse reports endpoint instead.\n\nGET /accounts/{account_id}/abuse-reports", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", @@ -518,6 +440,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "created_after": { "description": "Returns reports created after the specified date", @@ -532,8 +455,15 @@ export const tools: readonly Tool[] = [ "type": "string" }, "mitigation_status": { - "$ref": "#/$defs/abuse-reports_MitigationStatus", - "description": "Filter reports that have any mitigations in the given status." + "description": "Filter reports that have any mitigations in the given status.", + "enum": [ + "pending", + "active", + "in_review", + "cancelled", + "removed" + ], + "type": "string" }, "page": { "description": "Where in pagination to start listing abuse reports", @@ -552,12 +482,27 @@ export const tools: readonly Tool[] = [ "type": "string" }, "status": { - "$ref": "#/$defs/abuse-reports_ReportStatus", - "description": "Filter by the status of the report." + "description": "Filter by the status of the report.", + "enum": [ + "accepted", + "in_review" + ], + "type": "string" }, "type": { - "$ref": "#/$defs/abuse-reports_ReportType", - "description": "Filter by the type of the report." + "description": "Filter by the type of the report.", + "enum": [ + "PHISH", + "GEN", + "THREAT", + "DMCA", + "EMER", + "TM", + "REG_WHO", + "NCSEI", + "NETWORK" + ], + "type": "string" } }, "type": "object" @@ -566,11 +511,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "abuse-reports_MitigationStatus": abuse$$reports_MitigationStatus, - "abuse-reports_ReportStatus": abuse$$reports_ReportStatus$, - "abuse-reports_ReportType": abuse$$reports_ReportType$, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -639,8 +580,6 @@ export const tools: readonly Tool[] = [ "abuse-reports_AbuseReport": abuse$$reports_AbuseReport, "abuse-reports_Message": abuse$$reports_Message, "abuse-reports_MitigationSummary": abuse$$reports_MitigationSummary, - "abuse-reports_ReportStatus": abuse$$reports_ReportStatus, - "abuse-reports_ReportType": abuse$$reports_ReportType, "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, }, }, @@ -763,8 +702,6 @@ export const tools: readonly Tool[] = [ "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, "abuse-reports_Message": abuse$$reports_Message, "abuse-reports_MitigationSummary": abuse$$reports_MitigationSummary, - "abuse-reports_ReportStatus": abuse$$reports_ReportStatus, - "abuse-reports_ReportType": abuse$$reports_ReportType, "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, @@ -788,11 +725,12 @@ export const tools: readonly Tool[] = [ { name: "abuseReports_listSubmitted", title: "List submitted abuse reports", - description: "List abuse reports submitted by the account.", + description: "List abuse reports submitted by the account.\n\nGET /accounts/{account_id}/abuse-reports/submitted", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID", @@ -805,6 +743,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "created_after": { "description": "Return reports submitted after this time.", @@ -844,14 +783,32 @@ export const tools: readonly Tool[] = [ "status": { "description": "Filter by submitter-facing status. This parameter can be specified multiple times.", "items": { - "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportStatus" + "description": "Status visible to the account that submitted the report.", + "enum": [ + "submitted", + "accepted", + "denied" + ], + "type": "string" }, "type": "array" }, "type": { "description": "Filter by report type. This parameter can be specified multiple times.", "items": { - "$ref": "#/$defs/abuse-reports_ReportType" + "description": "The abuse report type", + "enum": [ + "PHISH", + "GEN", + "THREAT", + "DMCA", + "EMER", + "TM", + "REG_WHO", + "NCSEI", + "NETWORK" + ], + "type": "string" }, "type": "array" } @@ -862,22 +819,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "abuse-reports_ReportType": abuse$$reports_ReportType$, - "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/abuse-reports_SubmittedAbuseReportListResponse", $defs: { "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, "abuse-reports_Message": abuse$$reports_Message, - "abuse-reports_ReportType": abuse$$reports_ReportType, "abuse-reports_ResultInfo": abuse$$reports_ResultInfo, - "abuse-reports_SubmittedAbuseReportDenialReason": abuse$$reports_SubmittedAbuseReportDenialReason, "abuse-reports_SubmittedAbuseReportListItem": abuse$$reports_SubmittedAbuseReportListItem, "abuse-reports_SubmittedAbuseReportListResponse": abuse$$reports_SubmittedAbuseReportListResponse, - "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus, "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, }, }, @@ -915,12 +866,9 @@ export const tools: readonly Tool[] = [ "abuse-reports_CloudflareAPIErrorResponse": abuse$$reports_CloudflareAPIErrorResponse, "abuse-reports_ErrorMessage": abuse$$reports_ErrorMessage, "abuse-reports_Message": abuse$$reports_Message, - "abuse-reports_ReportType": abuse$$reports_ReportType, "abuse-reports_ResultInfo": abuse$$reports_ResultInfo, - "abuse-reports_SubmittedAbuseReportDenialReason": abuse$$reports_SubmittedAbuseReportDenialReason, "abuse-reports_SubmittedAbuseReportListItem": abuse$$reports_SubmittedAbuseReportListItem, "abuse-reports_SubmittedAbuseReportListResponse": abuse$$reports_SubmittedAbuseReportListResponse, - "abuse-reports_SubmittedAbuseReportStatus": abuse$$reports_SubmittedAbuseReportStatus, "abuse-reports_SubmitterDetails": abuse$$reports_SubmitterDetails, "abuse-reports_UnauthorizedErrorResponse": abuse$$reports_UnauthorizedErrorResponse, }, diff --git a/src/generated/forge-mcp/accounts/applications/outputs.ts b/src/generated/forge-mcp/accounts/applications/outputs.ts index 9a46092a5..31062ff42 100644 --- a/src/generated/forge-mcp/accounts/applications/outputs.ts +++ b/src/generated/forge-mcp/accounts/applications/outputs.ts @@ -9,43 +9,43 @@ import type { JsonSchema } from "../../_/tool.js"; export const alexandria_application: JsonSchema = { "properties": { "application_confidence_score": { - "$ref": "#/$defs/alexandria_application_confidence_score" + "type": "number" }, "application_score_composition": { "$ref": "#/$defs/alexandria_application_score_composition" }, "application_source": { - "$ref": "#/$defs/alexandria_application_source" + "type": "string" }, "application_type": { - "$ref": "#/$defs/alexandria_application_type" + "type": "string" }, "application_type_description": { - "$ref": "#/$defs/alexandria_application_type_description" + "type": "string" }, "category_id": { - "$ref": "#/$defs/alexandria_category_id" + "type": "integer" }, "created_at": { - "$ref": "#/$defs/alexandria_application_created_at" + "type": "string" }, "gen_ai_score": { - "$ref": "#/$defs/alexandria_application_gen_ai_score" + "type": "number" }, "hostnames": { "$ref": "#/$defs/alexandria_application_hostnames" }, "human_id": { - "$ref": "#/$defs/alexandria_application_human_id" + "type": "string" }, "id": { - "$ref": "#/$defs/alexandria_application_id" + "type": "integer" }, "ip_subnets": { "$ref": "#/$defs/alexandria_application_ip_subnets" }, "name": { - "$ref": "#/$defs/alexandria_application_name" + "type": "string" }, "port_protocols": { "$ref": "#/$defs/alexandria_application_port_protocols" @@ -57,10 +57,10 @@ export const alexandria_application: JsonSchema = { "$ref": "#/$defs/alexandria_application_supported" }, "updated_at": { - "$ref": "#/$defs/alexandria_application_updated_at" + "type": "string" }, "version": { - "$ref": "#/$defs/alexandria_application_version" + "type": "string" } }, "required": [ @@ -85,27 +85,6 @@ export const alexandria_application: JsonSchema = { "type": "object" }; -/** - * The schema of `alexandria_application_confidence_score` in responses. - */ -export const alexandria_application_confidence_score: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `alexandria_application_created_at` in responses. - */ -export const alexandria_application_created_at: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `alexandria_application_gen_ai_score` in responses. - */ -export const alexandria_application_gen_ai_score: JsonSchema = { - "type": "number" -}; - /** * The schema of `alexandria_application_hostnames` in responses. */ @@ -116,20 +95,6 @@ export const alexandria_application_hostnames: JsonSchema = { "type": "array" }; -/** - * The schema of `alexandria_application_human_id` in responses. - */ -export const alexandria_application_human_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `alexandria_application_id` in responses. - */ -export const alexandria_application_id: JsonSchema = { - "type": "integer" -}; - /** * The schema of `alexandria_application_ip_subnets` in responses. */ @@ -146,43 +111,43 @@ export const alexandria_application_ip_subnets: JsonSchema = { export const alexandria_application_list_item: JsonSchema = { "properties": { "application_confidence_score": { - "$ref": "#/$defs/alexandria_application_confidence_score" + "type": "number" }, "application_score_composition": { "$ref": "#/$defs/alexandria_application_score_composition" }, "application_source": { - "$ref": "#/$defs/alexandria_application_source" + "type": "string" }, "application_type": { - "$ref": "#/$defs/alexandria_application_type" + "type": "string" }, "application_type_description": { - "$ref": "#/$defs/alexandria_application_type_description" + "type": "string" }, "category_id": { - "$ref": "#/$defs/alexandria_category_id" + "type": "integer" }, "created_at": { - "$ref": "#/$defs/alexandria_application_created_at" + "type": "string" }, "gen_ai_score": { - "$ref": "#/$defs/alexandria_application_gen_ai_score" + "type": "number" }, "hostnames": { "$ref": "#/$defs/alexandria_application_hostnames" }, "human_id": { - "$ref": "#/$defs/alexandria_application_human_id" + "type": "string" }, "id": { - "$ref": "#/$defs/alexandria_application_id" + "type": "integer" }, "ip_subnets": { "$ref": "#/$defs/alexandria_application_ip_subnets" }, "name": { - "$ref": "#/$defs/alexandria_application_name" + "type": "string" }, "port_protocols": { "$ref": "#/$defs/alexandria_application_port_protocols" @@ -203,10 +168,10 @@ export const alexandria_application_list_item: JsonSchema = { "$ref": "#/$defs/alexandria_application_supported" }, "updated_at": { - "$ref": "#/$defs/alexandria_application_updated_at" + "type": "string" }, "version": { - "$ref": "#/$defs/alexandria_application_version" + "type": "string" } }, "required": [ @@ -215,13 +180,6 @@ export const alexandria_application_list_item: JsonSchema = { "type": "object" }; -/** - * The schema of `alexandria_application_name` in responses. - */ -export const alexandria_application_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `alexandria_application_port_protocols` in responses. */ @@ -269,13 +227,6 @@ export const alexandria_application_score_composition: JsonSchema = { ] }; -/** - * The schema of `alexandria_application_source` in responses. - */ -export const alexandria_application_source: JsonSchema = { - "type": "string" -}; - /** * The schema of `alexandria_application_support_domains` in responses. */ @@ -301,34 +252,6 @@ export const alexandria_application_supported: JsonSchema = { "type": "array" }; -/** - * The schema of `alexandria_application_type` in responses. - */ -export const alexandria_application_type: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `alexandria_application_type_description` in responses. - */ -export const alexandria_application_type_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `alexandria_application_updated_at` in responses. - */ -export const alexandria_application_updated_at: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `alexandria_application_version` in responses. - */ -export const alexandria_application_version: JsonSchema = { - "type": "string" -}; - /** * The schema of `alexandria_applications` in responses. */ diff --git a/src/generated/forge-mcp/accounts/applications/schemas.ts b/src/generated/forge-mcp/accounts/applications/schemas.ts index c460390ad..c2e55a12e 100644 --- a/src/generated/forge-mcp/accounts/applications/schemas.ts +++ b/src/generated/forge-mcp/accounts/applications/schemas.ts @@ -14,22 +14,6 @@ export const alexandria_application_hostnames: JsonSchema = { "type": "array" }; -/** - * The schema of `alexandria_application_human_id`. - */ -export const alexandria_application_human_id: JsonSchema = { - "description": "Human-readable identifier for the application.", - "type": "string" -}; - -/** - * The schema of `alexandria_application_id`. - */ -export const alexandria_application_id: JsonSchema = { - "description": "Numeric identifier for the application.", - "type": "integer" -}; - /** * The schema of `alexandria_application_ip_subnets`. */ @@ -41,14 +25,6 @@ export const alexandria_application_ip_subnets: JsonSchema = { "type": "array" }; -/** - * The schema of `alexandria_application_name`. - */ -export const alexandria_application_name: JsonSchema = { - "description": "Application name.", - "type": "string" -}; - /** * The schema of `alexandria_application_port_protocols`. */ @@ -79,24 +55,24 @@ export const alexandria_create_application_request: JsonSchema = { { "properties": { "category_id": { - "$ref": "#/$defs/alexandria_category_id", - "description": "Numeric identifier for an application category." + "description": "Numeric identifier for an application category.", + "type": "integer" }, "hostnames": { "$ref": "#/$defs/alexandria_application_hostnames", "description": "Hostnames matched by the application." }, "human_id": { - "$ref": "#/$defs/alexandria_application_human_id", - "description": "Human-readable identifier for the application." + "description": "Human-readable identifier for the application.", + "type": "string" }, "ip_subnets": { "$ref": "#/$defs/alexandria_application_ip_subnets", "description": "IP subnets for this application. Custom application create and update requests accept IPv4 prefix lengths /8 through /32 and IPv6 prefix lengths /32 through /128." }, "name": { - "$ref": "#/$defs/alexandria_application_name", - "description": "Application name." + "description": "Application name.", + "type": "string" }, "port_protocols": { "$ref": "#/$defs/alexandria_application_port_protocols", @@ -163,7 +139,7 @@ export const alexandria_create_application_request: JsonSchema = { ] } ], - "description": "Defines a custom application. At least one hostname or IP subnet is required.\nSupport domains and port/protocol pairs do not satisfy this requirement.\nA NUL character (U+0000) in any string value returns `400`.\n" + "description": "Defines a custom application. At least one hostname or IP subnet is required.\nSupport domains and port/protocol pairs do not satisfy this requirement.\nA NUL character (U+0000) in any string value returns `400`." }; /** @@ -172,7 +148,7 @@ export const alexandria_create_application_request: JsonSchema = { export const alexandria_lookup_applications_request: JsonSchema = { "properties": { "lookup": { - "description": "Rule sentence to search for complete application names. Leading and trailing\nwhitespace is trimmed before the length is checked. Control characters other\nthan tab and line breaks return `400`.\n", + "description": "Rule sentence to search for complete application names. Leading and trailing\nwhitespace is trimmed before the length is checked. Control characters other\nthan tab and line breaks return `400`.", "type": "string" } }, @@ -186,7 +162,7 @@ export const alexandria_lookup_applications_request: JsonSchema = { * The schema of `alexandria_update_application_request`. */ export const alexandria_update_application_request: JsonSchema = { - "description": "Update the network matchers for the application. The service preserves omitted\nmatcher lists; send an empty array to clear a list. The resulting application must\ncontain at least one hostname or IP subnet. Support domains and port/protocol pairs\ndo not satisfy this requirement.\nA NUL character (U+0000) in any string value returns `400`.\n", + "description": "Update the network matchers for the application. The service preserves omitted\nmatcher lists; send an empty array to clear a list. The resulting application must\ncontain at least one hostname or IP subnet. Support domains and port/protocol pairs\ndo not satisfy this requirement.\nA NUL character (U+0000) in any string value returns `400`.", "properties": { "hostnames": { "$ref": "#/$defs/alexandria_application_hostnames", diff --git a/src/generated/forge-mcp/accounts/applications/tools.ts b/src/generated/forge-mcp/accounts/applications/tools.ts index 57998c61e..1257b651e 100644 --- a/src/generated/forge-mcp/accounts/applications/tools.ts +++ b/src/generated/forge-mcp/accounts/applications/tools.ts @@ -6,31 +6,18 @@ import { alexandria_api$$response$$collection, alexandria_api$$response$$common, alexandria_api_response_common_failure, - alexandria_category_id, alexandria_messages, } from "../outputs.js"; -import { alexandria_category_id as alexandria_category_id$ } from "../schemas.js"; import { alexandria_application, - alexandria_application_confidence_score, - alexandria_application_created_at, - alexandria_application_gen_ai_score, alexandria_application_hostnames, - alexandria_application_human_id, - alexandria_application_id, alexandria_application_ip_subnets, alexandria_application_list_item, - alexandria_application_name, alexandria_application_port_protocols, alexandria_application_reference, alexandria_application_score_composition, - alexandria_application_source, alexandria_application_support_domains, alexandria_application_supported, - alexandria_application_type, - alexandria_application_type_description, - alexandria_application_updated_at, - alexandria_application_version, alexandria_applications, alexandria_delete_application_conflict_response, alexandria_delete_application_response, @@ -39,10 +26,7 @@ import { } from "./outputs.js"; import { alexandria_application_hostnames as alexandria_application_hostnames$, - alexandria_application_human_id as alexandria_application_human_id$, - alexandria_application_id as alexandria_application_id$, alexandria_application_ip_subnets as alexandria_application_ip_subnets$, - alexandria_application_name as alexandria_application_name$, alexandria_application_port_protocols as alexandria_application_port_protocols$, alexandria_application_support_domains as alexandria_application_support_domains$, alexandria_create_application_request, @@ -57,7 +41,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_applications_create", title: "Create application", - description: "Create a custom application for an account from a name, category, and optional network matchers.", + description: "Create a custom application for an account from a name, category, and optional network matchers.\n\nPOST /accounts/{account_id}/resource-library/applications", inputSchema: { type: "object", properties: { @@ -65,6 +49,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/alexandria_create_application_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -81,14 +66,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "alexandria_application_hostnames": alexandria_application_hostnames$, - "alexandria_application_human_id": alexandria_application_human_id$, "alexandria_application_ip_subnets": alexandria_application_ip_subnets$, - "alexandria_application_name": alexandria_application_name$, "alexandria_application_port_protocols": alexandria_application_port_protocols$, "alexandria_application_support_domains": alexandria_application_support_domains$, - "alexandria_category_id": alexandria_category_id$, "alexandria_create_application_request": alexandria_create_application_request, }, }, @@ -97,24 +80,12 @@ export const tools: readonly Tool[] = [ $defs: { "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_application": alexandria_application, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, - "alexandria_category_id": alexandria_category_id, "alexandria_get_application_response": alexandria_get_application_response, "alexandria_messages": alexandria_messages, }, @@ -147,24 +118,12 @@ export const tools: readonly Tool[] = [ "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_api_response_common_failure": alexandria_api_response_common_failure, "alexandria_application": alexandria_application, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, - "alexandria_category_id": alexandria_category_id, "alexandria_get_application_response": alexandria_get_application_response, "alexandria_messages": alexandria_messages, }, @@ -177,19 +136,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_applications_delete", title: "Delete application", - description: "Delete a custom application and all of its versions. Deletion is rejected when other resources reference the application.\n\nConfirm with the user before calling this tool. This operation deletes the custom application and all of its versions. This action cannot be undone.", + description: "Delete a custom application and all of its versions. Deletion is rejected when other resources reference the application.\n\nConfirm with the user before calling this tool. This operation deletes the custom application and all of its versions. This action cannot be undone.\n\nDELETE /accounts/{account_id}/resource-library/applications/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", "type": "string" }, "id": { - "$ref": "#/$defs/alexandria_application_id", - "description": "Application ID." + "description": "Application ID.", + "type": "integer" } }, "required": [ @@ -202,9 +162,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "alexandria_application_id": alexandria_application_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/alexandria_delete_application_response", @@ -260,19 +218,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_applications_get", title: "Get application", - description: "Retrieve an application available to the account by its numeric application ID.", + description: "Retrieve an application available to the account by its numeric application ID.\n\nGET /accounts/{account_id}/resource-library/applications/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", "type": "string" }, "id": { - "$ref": "#/$defs/alexandria_application_id", - "description": "Application ID." + "description": "Application ID.", + "type": "integer" } }, "required": [ @@ -285,33 +244,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "alexandria_application_id": alexandria_application_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/alexandria_get_application_response", $defs: { "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_application": alexandria_application, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, - "alexandria_category_id": alexandria_category_id, "alexandria_get_application_response": alexandria_get_application_response, "alexandria_messages": alexandria_messages, }, @@ -346,24 +291,12 @@ export const tools: readonly Tool[] = [ "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_api_response_common_failure": alexandria_api_response_common_failure, "alexandria_application": alexandria_application, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, - "alexandria_category_id": alexandria_category_id, "alexandria_get_application_response": alexandria_get_application_response, "alexandria_messages": alexandria_messages, }, @@ -375,11 +308,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_applications_list", title: "List applications", - description: "List the applications available to an account, both the applications Cloudflare\ncurates and the custom applications the account has defined.\n\nResults are paginated. Page with `cursor` so that applications added or removed\nbetween requests do not make other results repeat or go missing; `offset` paging can\nrepeat or miss results when the list changes between requests. Use `filter` and\n`search` to narrow the list, `order_by` to sort it, and `fields` to reduce each result\nto only the properties you need.\nUse `lookup` to find complete application names mentioned in a rule sentence,\nignoring case. Lookup does not correct misspellings. It ranks matches by\nrelevance and uses the same filters, fields, and pagination as listing.\n`lookup` cannot be combined with `search`.\n\nInvalid UTF-8 or a NUL character (U+0000) in any query parameter name or value\nreturns `400`.\n\nThe authenticated principal must have access to the account identified by\n`account_id`.", + description: "List the applications available to an account, both the applications Cloudflare\ncurates and the custom applications the account has defined.\n\nResults are paginated. Page with `cursor` so that applications added or removed\nbetween requests do not make other results repeat or go missing; `offset` paging can\nrepeat or miss results when the list changes between requests. Use `filter` and\n`search` to narrow the list, `order_by` to sort it, and `fields` to reduce each result\nto only the properties you need.\nUse `lookup` to find complete application names mentioned in a rule sentence,\nignoring case. Lookup does not correct misspellings. It ranks matches by\nrelevance and uses the same filters, fields, and pagination as listing.\n`lookup` cannot be combined with `search`.\n\nInvalid UTF-8 or a NUL character (U+0000) in any query parameter name or value\nreturns `400`.\n\nThe authenticated principal must have access to the account identified by\n`account_id`.\n\nGET /accounts/{account_id}/resource-library/applications", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -392,17 +326,18 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { - "description": "Opaque value from `result_info.cursor` of the previous response. Returns the\nresults that follow it. Send the same `filter`, `search`, `lookup`, and\n`order_by` values as the request that returned it; `limit` and `fields` may\nchange. An empty value is the same as no cursor. A modified cursor, or one used\nwith different values, returns `400`.\n", + "description": "Opaque value from `result_info.cursor` of the previous response. Returns the\nresults that follow it. Send the same `filter`, `search`, `lookup`, and\n`order_by` values as the request that returned it; `limit` and `fields` may\nchange. An empty value is the same as no cursor. A modified cursor, or one used\nwith different values, returns `400`.", "type": "string" }, "fields": { - "description": "Return only the listed properties on each application, as a comma-separated list.\nUse this to keep responses small when you only need part of each application, for\nexample populating a picker with `fields=id,name` instead of downloading every\nhostname and IP subnet.\n\nOmit this parameter to receive the full application object, including\nwhen lookup is used.\n\n`id` is always returned.\n\nSelectable properties: `id`, `name`, `human_id`, `version`, `hostnames`,\n`support_domains`, `ip_subnets`, `port_protocols`, `supported`, `gen_ai_score`,\n`application_confidence_score`, `created_at`, `updated_at`, `review_status`.\n\nUnknown or empty property names return `400`.\n", + "description": "Return only the listed properties on each application, as a comma-separated list.\nUse this to keep responses small when you only need part of each application, for\nexample populating a picker with `fields=id,name` instead of downloading every\nhostname and IP subnet.\n\nOmit this parameter to receive the full application object, including\nwhen lookup is used.\n\n`id` is always returned.\n\nSelectable properties: `id`, `name`, `human_id`, `version`, `hostnames`,\n`support_domains`, `ip_subnets`, `port_protocols`, `supported`, `gen_ai_score`,\n`application_confidence_score`, `created_at`, `updated_at`, `review_status`.\n\nUnknown or empty property names return `400`.", "type": "string" }, "filter": { - "description": "Filter applications using `key:value` format. Supported filter keys:\n- `name`: application name (for example, `name:HR`).\n- `id`: application ID (for example, `id:498`).\n- `human_id`: human-readable ID (for example, `human_id:HR`).\n- `hostname`: hostname or support domain (for example, `hostname:portal.example.com`).\n- `source`: application source name (for example, `source:cloudflare`).\n- `ip_subnet`: CIDR containment; returns applications where a stored subnet contains the search value (for example, `ip_subnet:10.0.1.5/32` matches `10.0.0.0/16`).\n- `category_id`: category ID (for example, `category_id:12`).\n- `category_name`: category name (for example, `category_name:HR`).\n- `supported`: supported Cloudflare product. Values: `GATEWAY`, `ACCESS`, `CASB`.\n- `review_status`: account-specific Gateway review status. Values: `approved`, `unapproved`, `in_review`, `unreviewed`.\n", + "description": "Filter applications using `key:value` format. Supported filter keys:\n- `name`: application name (for example, `name:HR`).\n- `id`: application ID (for example, `id:498`).\n- `human_id`: human-readable ID (for example, `human_id:HR`).\n- `hostname`: hostname or support domain (for example, `hostname:portal.example.com`).\n- `source`: application source name (for example, `source:cloudflare`).\n- `ip_subnet`: CIDR containment; returns applications where a stored subnet contains the search value (for example, `ip_subnet:10.0.1.5/32` matches `10.0.0.0/16`).\n- `category_id`: category ID (for example, `category_id:12`).\n- `category_name`: category name (for example, `category_name:HR`).\n- `supported`: supported Cloudflare product. Values: `GATEWAY`, `ACCESS`, `CASB`.\n- `review_status`: account-specific Gateway review status. Values: `approved`, `unapproved`, `in_review`, `unreviewed`.", "type": "string" }, "limit": { @@ -411,7 +346,7 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "lookup": { - "description": "Find complete, case-insensitive application name mentions in a phrase or\nrule sentence. Misspelled names do not match. Returns matching applications\nranked by relevance. Must be between 2 and 1000 characters, with no control\ncharacters other than tab and line breaks. Uses the same\nfilters, fields, and pagination as listing. `search` cannot be combined\nwith lookup. Results are ranked by relevance, so `order_by` is ignored.\nTo keep the text out of URLs, send it to `POST .../applications/lookup` instead.\n", + "description": "Find complete, case-insensitive application name mentions in a phrase or\nrule sentence. Misspelled names do not match. Returns matching applications\nranked by relevance. Must be between 2 and 1000 characters, with no control\ncharacters other than tab and line breaks. Uses the same\nfilters, fields, and pagination as listing. `search` cannot be combined\nwith lookup. Results are ranked by relevance, so `order_by` is ignored.\nTo keep the text out of URLs, send it to `POST .../applications/lookup` instead.", "type": "string" }, "offset": { @@ -420,7 +355,7 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "order_by": { - "description": "Order results using field:direction format. Supported fields are name, id, human_id,\ncategory_id, application_type, application_confidence_score, and gen_ai_score.\nSupported directions are asc and desc. Ignored when search is provided; results are\nranked by relevance instead. Also ignored when lookup is provided.\n", + "description": "Order results using field:direction format. Supported fields are name, id, human_id,\ncategory_id, application_type, application_confidence_score, and gen_ai_score.\nSupported directions are asc and desc. Ignored when search is provided; results are\nranked by relevance instead. Also ignored when lookup is provided.", "type": "string" }, "search": { @@ -434,32 +369,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/alexandria_get_applications_response", $defs: { "alexandria_api-response-collection": alexandria_api$$response$$collection, "alexandria_api-response-common": alexandria_api$$response$$common, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, "alexandria_application_list_item": alexandria_application_list_item, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, "alexandria_applications": alexandria_applications, - "alexandria_category_id": alexandria_category_id, "alexandria_get_applications_response": alexandria_get_applications_response, "alexandria_messages": alexandria_messages, }, @@ -503,26 +427,14 @@ export const tools: readonly Tool[] = [ "alexandria_api-response-collection": alexandria_api$$response$$collection, "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_api_response_common_failure": alexandria_api_response_common_failure, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, "alexandria_application_list_item": alexandria_application_list_item, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, "alexandria_applications": alexandria_applications, - "alexandria_category_id": alexandria_category_id, "alexandria_get_applications_response": alexandria_get_applications_response, "alexandria_messages": alexandria_messages, }, @@ -544,7 +456,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_applications_lookup", title: "Look up applications in a rule sentence", - description: "Find complete application names mentioned in a rule sentence, ignoring case.\nLookup does not correct misspellings. Matches are ranked by relevance.\n\nThis endpoint takes the rule sentence in the request body, so the text stays out\nof URLs and request logs. Use it instead of the `lookup` query parameter on the\nlist endpoint when the text may contain sensitive content.\n\n`fields`, `limit`, and `filter` work the same way as on the list endpoint and are\npassed as query parameters. Results are not paged: `offset`, `cursor`, `order_by`,\n`search`, and `lookup` query parameters return `400`. Unknown request body properties also\nreturn `400`. Invalid UTF-8 or a NUL character (U+0000) in any query parameter\nname or value returns `400`.\n\nThe authenticated principal must have access to the account identified by\n`account_id`.\n\nThis method is beta.", + description: "Find complete application names mentioned in a rule sentence, ignoring case.\nLookup does not correct misspellings. Matches are ranked by relevance.\n\nThis endpoint takes the rule sentence in the request body, so the text stays out\nof URLs and request logs. Use it instead of the `lookup` query parameter on the\nlist endpoint when the text may contain sensitive content.\n\n`fields`, `limit`, and `filter` work the same way as on the list endpoint and are\npassed as query parameters. Results are not paged: `offset`, `cursor`, `order_by`,\n`search`, and `lookup` query parameters return `400`. Unknown request body properties also\nreturn `400`. Invalid UTF-8 or a NUL character (U+0000) in any query parameter\nname or value returns `400`.\n\nThe authenticated principal must have access to the account identified by\n`account_id`.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/resource-library/applications/lookup", inputSchema: { type: "object", properties: { @@ -552,6 +464,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/alexandria_lookup_applications_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -564,9 +477,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "fields": { - "description": "Return only the listed properties on each application, as a comma-separated list.\nAccepts the same properties as the list endpoint. `id` is always returned.\nOmit this parameter to receive the full application object.\n", + "description": "Return only the listed properties on each application, as a comma-separated list.\nAccepts the same properties as the list endpoint. `id` is always returned.\nOmit this parameter to receive the full application object.", "type": "string" }, "filter": { @@ -586,6 +500,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "alexandria_lookup_applications_request": alexandria_lookup_applications_request, }, @@ -595,26 +510,14 @@ export const tools: readonly Tool[] = [ $defs: { "alexandria_api-response-collection": alexandria_api$$response$$collection, "alexandria_api-response-common": alexandria_api$$response$$common, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, "alexandria_application_list_item": alexandria_application_list_item, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, "alexandria_applications": alexandria_applications, - "alexandria_category_id": alexandria_category_id, "alexandria_get_applications_response": alexandria_get_applications_response, "alexandria_messages": alexandria_messages, }, @@ -658,26 +561,14 @@ export const tools: readonly Tool[] = [ "alexandria_api-response-collection": alexandria_api$$response$$collection, "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_api_response_common_failure": alexandria_api_response_common_failure, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, "alexandria_application_list_item": alexandria_application_list_item, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, "alexandria_applications": alexandria_applications, - "alexandria_category_id": alexandria_category_id, "alexandria_get_applications_response": alexandria_get_applications_response, "alexandria_messages": alexandria_messages, }, @@ -695,7 +586,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_applications_update", title: "Update application", - description: "Replace the supplied network matchers for a custom application and create a new version. Omitted matcher lists remain unchanged; send an empty list to clear a matcher type.", + description: "Replace the supplied network matchers for a custom application and create a new version. Omitted matcher lists remain unchanged; send an empty list to clear a matcher type.\n\nPATCH /accounts/{account_id}/resource-library/applications/{id}", inputSchema: { type: "object", properties: { @@ -703,14 +594,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/alexandria_update_application_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", "type": "string" }, "id": { - "$ref": "#/$defs/alexandria_application_id", - "description": "Application ID." + "description": "Application ID.", + "type": "integer" } }, "required": [ @@ -724,9 +616,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "alexandria_application_hostnames": alexandria_application_hostnames$, - "alexandria_application_id": alexandria_application_id$, "alexandria_application_ip_subnets": alexandria_application_ip_subnets$, "alexandria_application_port_protocols": alexandria_application_port_protocols$, "alexandria_application_support_domains": alexandria_application_support_domains$, @@ -738,24 +630,12 @@ export const tools: readonly Tool[] = [ $defs: { "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_application": alexandria_application, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, - "alexandria_category_id": alexandria_category_id, "alexandria_get_application_response": alexandria_get_application_response, "alexandria_messages": alexandria_messages, }, @@ -788,24 +668,12 @@ export const tools: readonly Tool[] = [ "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_api_response_common_failure": alexandria_api_response_common_failure, "alexandria_application": alexandria_application, - "alexandria_application_confidence_score": alexandria_application_confidence_score, - "alexandria_application_created_at": alexandria_application_created_at, - "alexandria_application_gen_ai_score": alexandria_application_gen_ai_score, "alexandria_application_hostnames": alexandria_application_hostnames, - "alexandria_application_human_id": alexandria_application_human_id, - "alexandria_application_id": alexandria_application_id, "alexandria_application_ip_subnets": alexandria_application_ip_subnets, - "alexandria_application_name": alexandria_application_name, "alexandria_application_port_protocols": alexandria_application_port_protocols, "alexandria_application_score_composition": alexandria_application_score_composition, - "alexandria_application_source": alexandria_application_source, "alexandria_application_support_domains": alexandria_application_support_domains, "alexandria_application_supported": alexandria_application_supported, - "alexandria_application_type": alexandria_application_type, - "alexandria_application_type_description": alexandria_application_type_description, - "alexandria_application_updated_at": alexandria_application_updated_at, - "alexandria_application_version": alexandria_application_version, - "alexandria_category_id": alexandria_category_id, "alexandria_get_application_response": alexandria_get_application_response, "alexandria_messages": alexandria_messages, }, diff --git a/src/generated/forge-mcp/accounts/billing/history/tools.ts b/src/generated/forge-mcp/accounts/billing/history/tools.ts index ad15fbad7..70237c297 100644 --- a/src/generated/forge-mcp/accounts/billing/history/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/history/tools.ts @@ -9,7 +9,6 @@ import { bill$$subs$$api_messages, bill$$subs$$api_result_info, } from "../../../outputs.js"; -import { bill$$subs$$api_identifier } from "../../../schemas.js"; import { bill$$subs$$api_account_billing_history } from "../outputs.js"; import { bill$$subs$$api_account_billing_history_collection } from "./outputs.js"; @@ -20,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_history_list", title: "Get Account Billing History", - description: "Gets the billing history for an account.", + description: "Gets the billing history for an account.\n\nGET /accounts/{account_id}/billing/history", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -37,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -59,9 +60,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_billing_history_collection", diff --git a/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts b/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts index a688c2fb7..99b5a7dad 100644 --- a/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/paymentMethods/tools.ts @@ -10,7 +10,6 @@ import { bill$$subs$$api_messages, bill$$subs$$api_result_info, } from "../../../outputs.js"; -import { bill$$subs$$api_identifier } from "../../../schemas.js"; import { bill$$subs$$api_payment_method, bill$$subs$$api_payment_method_response_collection, @@ -25,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_paymentMethods_create", title: "Create Payment Method", - description: "Creates a new payment method for an account.", + description: "Creates a new payment method for an account.\n\nPOST /accounts/{account_id}/payment-methods", inputSchema: { type: "object", properties: { @@ -33,10 +32,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_payment_method" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -49,8 +49,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, "bill-subs-api_payment_method": bill$$subs$$api_payment_method$, }, }, @@ -116,19 +116,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_paymentMethods_delete", title: "Delete Payment Method", - description: "Deletes a payment method from an account.", + description: "Deletes a payment method from an account.\n\nDELETE /accounts/{account_id}/payment-methods/{payment_method_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "payment_method_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Payment method identifier." + "description": "Payment method identifier.", + "type": "string" } }, "required": [ @@ -141,9 +142,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -194,19 +193,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_paymentMethods_get", title: "Get Payment Method", - description: "Gets a specific payment method for an account.", + description: "Gets a specific payment method for an account.\n\nGET /accounts/{account_id}/payment-methods/{payment_method_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "payment_method_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Payment method identifier." + "description": "Payment method identifier.", + "type": "string" } }, "required": [ @@ -219,9 +219,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_payment_method_response_single", @@ -284,15 +282,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_paymentMethods_list", title: "List Payment Methods", - description: "Lists all payment methods for an account.", + description: "Lists all payment methods for an account.\n\nGET /accounts/{account_id}/payment-methods", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -301,6 +300,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -319,9 +319,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_payment_method_response_collection", @@ -390,19 +388,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_paymentMethods_setDefault", title: "Set Default Payment Method", - description: "Sets a payment method as the default for an account.", + description: "Sets a payment method as the default for an account.\n\nPOST /accounts/{account_id}/payment-methods/{payment_method_id}/set-as-default", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "payment_method_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Payment method identifier." + "description": "Payment method identifier.", + "type": "string" } }, "required": [ @@ -415,9 +414,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -469,7 +466,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_paymentMethods_update", title: "Update Payment Method", - description: "Updates a payment method for an account.", + description: "Updates a payment method for an account.\n\nPUT /accounts/{account_id}/payment-methods/{payment_method_id}", inputSchema: { type: "object", properties: { @@ -477,14 +474,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_payment_method" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "payment_method_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Payment method identifier." + "description": "Payment method identifier.", + "type": "string" } }, "required": [ @@ -498,8 +496,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, "bill-subs-api_payment_method": bill$$subs$$api_payment_method$, }, }, diff --git a/src/generated/forge-mcp/accounts/billing/tools.ts b/src/generated/forge-mcp/accounts/billing/tools.ts index 362ef45e0..dd27c5a6a 100644 --- a/src/generated/forge-mcp/accounts/billing/tools.ts +++ b/src/generated/forge-mcp/accounts/billing/tools.ts @@ -8,7 +8,6 @@ import { bill$$subs$$api_api$$response$$single, bill$$subs$$api_messages, } from "../../outputs.js"; -import { bill$$subs$$api_identifier } from "../../schemas.js"; import { bill$$subs$$api_account_billing_history, bill$$subs$$api_account_credits_response, @@ -25,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_createSetupIntent", title: "Create Setup Intent", - description: "Creates a Stripe setup intent for adding a payment method to an account. Returns a client secret for frontend payment method collection.", + description: "Creates a Stripe setup intent for adding a payment method to an account. Returns a client secret for frontend payment method collection.\n\nPOST /accounts/{account_id}/client-secret", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -45,9 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_client_secret_response_single", @@ -99,15 +97,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_getBadDebt", title: "Get Account Bad Debt", - description: "Gets bad debt information for an account, including outstanding invoices and total debt amount.", + description: "Gets bad debt information for an account, including outstanding invoices and total debt amount.\n\nGET /accounts/{account_id}/billing/bad-debt", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -119,9 +118,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_bad_debt_response_single", @@ -177,15 +174,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_getCredits", title: "Get Account Credits", - description: "Gets the credit balance and eligibility for an account.", + description: "Gets the credit balance and eligibility for an account.\n\nGET /accounts/{account_id}/billing/credits", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -197,9 +195,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_credits_response", @@ -260,19 +256,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_getReceiptPdf", title: "Get Receipt PDF", - description: "Downloads a receipt as a PDF document.", + description: "Downloads a receipt as a PDF document.\n\nGET /accounts/{account_id}/receipts/{receipt_id}/pdf", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "receipt_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Receipt identifier." + "description": "Receipt identifier.", + "type": "string" } }, "required": [ @@ -282,6 +279,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "doctype": { "description": "The document type to generate.", @@ -294,9 +292,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -337,15 +333,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_getUnpaidInvoices", title: "Get Unpaid Invoices", - description: "Gets unpaid invoice information for an account.", + description: "Gets unpaid invoice information for an account.\n\nGET /accounts/{account_id}/billing/unpaid-invoice", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -357,9 +354,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_unpaid_invoices_response_single", @@ -413,7 +408,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_payInvoice", title: "Pay Invoice", - description: "Pays an outstanding invoice for an account. Returns a Stripe client secret when Strong Customer Authentication (SCA) is required to complete the payment.", + description: "Pays an outstanding invoice for an account. Returns a Stripe client secret when Strong Customer Authentication (SCA) is required to complete the payment.\n\nPOST /accounts/{account_id}/pay-invoice", inputSchema: { type: "object", properties: { @@ -435,10 +430,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -451,9 +447,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_client_secret_response_single", @@ -509,7 +503,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_billing_togglePdfInvoices", title: "Toggle PDF Invoices", - description: "Toggles PDF invoice generation for an account.", + description: "Toggles PDF invoice generation for an account.\n\nPATCH /accounts/{account_id}/invoices", inputSchema: { type: "object", properties: { @@ -523,10 +517,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -539,9 +534,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_api-response-single", diff --git a/src/generated/forge-mcp/accounts/categories/outputs.ts b/src/generated/forge-mcp/accounts/categories/outputs.ts index 9e01b981e..46e03534c 100644 --- a/src/generated/forge-mcp/accounts/categories/outputs.ts +++ b/src/generated/forge-mcp/accounts/categories/outputs.ts @@ -19,16 +19,16 @@ export const alexandria_categories: JsonSchema = { export const alexandria_category: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/alexandria_category_created_at" + "type": "string" }, "description": { - "$ref": "#/$defs/alexandria_category_description" + "type": "string" }, "id": { - "$ref": "#/$defs/alexandria_category_id" + "type": "integer" }, "name": { - "$ref": "#/$defs/alexandria_category_name" + "type": "string" } }, "required": [ @@ -40,27 +40,6 @@ export const alexandria_category: JsonSchema = { "type": "object" }; -/** - * The schema of `alexandria_category_created_at` in responses. - */ -export const alexandria_category_created_at: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `alexandria_category_description` in responses. - */ -export const alexandria_category_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `alexandria_category_name` in responses. - */ -export const alexandria_category_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `alexandria_get_categories_response` in responses. */ diff --git a/src/generated/forge-mcp/accounts/categories/tools.ts b/src/generated/forge-mcp/accounts/categories/tools.ts index 3e64a6069..77069cfca 100644 --- a/src/generated/forge-mcp/accounts/categories/tools.ts +++ b/src/generated/forge-mcp/accounts/categories/tools.ts @@ -6,16 +6,11 @@ import { alexandria_api$$response$$collection, alexandria_api$$response$$common, alexandria_api_response_common_failure, - alexandria_category_id, alexandria_messages, } from "../outputs.js"; -import { alexandria_category_id as alexandria_category_id$ } from "../schemas.js"; import { alexandria_categories, alexandria_category, - alexandria_category_created_at, - alexandria_category_description, - alexandria_category_name, alexandria_get_categories_response, alexandria_get_category_response, } from "./outputs.js"; @@ -27,19 +22,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_categories_get", title: "Get application category", - description: "Retrieve an application category by its numeric ID.", + description: "Retrieve an application category by its numeric ID.\n\nGET /accounts/{account_id}/resource-library/categories/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", "type": "string" }, "id": { - "$ref": "#/$defs/alexandria_category_id", - "description": "Application category ID." + "description": "Application category ID.", + "type": "integer" } }, "required": [ @@ -52,19 +48,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "alexandria_category_id": alexandria_category_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/alexandria_get_category_response", $defs: { "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_category": alexandria_category, - "alexandria_category_created_at": alexandria_category_created_at, - "alexandria_category_description": alexandria_category_description, - "alexandria_category_id": alexandria_category_id, - "alexandria_category_name": alexandria_category_name, "alexandria_get_category_response": alexandria_get_category_response, "alexandria_messages": alexandria_messages, }, @@ -99,10 +89,6 @@ export const tools: readonly Tool[] = [ "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_api_response_common_failure": alexandria_api_response_common_failure, "alexandria_category": alexandria_category, - "alexandria_category_created_at": alexandria_category_created_at, - "alexandria_category_description": alexandria_category_description, - "alexandria_category_id": alexandria_category_id, - "alexandria_category_name": alexandria_category_name, "alexandria_get_category_response": alexandria_get_category_response, "alexandria_messages": alexandria_messages, }, @@ -114,11 +100,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_categories_list", title: "List application categories", - description: "List the categories available for classifying applications, ordered by name.\nResults are paginated by `offset` or `cursor`.", + description: "List the categories available for classifying applications, ordered by name.\nResults are paginated by `offset` or `cursor`.\n\nGET /accounts/{account_id}/resource-library/categories", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -131,9 +118,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { - "description": "Opaque value from `result_info.cursor` of the previous response. Returns the\ncategories that follow it. `limit` may change between requests. An empty value\nis the same as no cursor. A modified cursor, or one returned by a different list,\nreturns `400`.\n", + "description": "Opaque value from `result_info.cursor` of the previous response. Returns the\ncategories that follow it. `limit` may change between requests. An empty value\nis the same as no cursor. A modified cursor, or one returned by a different list,\nreturns `400`.", "type": "string" }, "limit": { @@ -153,6 +141,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/alexandria_get_categories_response", @@ -161,10 +150,6 @@ export const tools: readonly Tool[] = [ "alexandria_api-response-common": alexandria_api$$response$$common, "alexandria_categories": alexandria_categories, "alexandria_category": alexandria_category, - "alexandria_category_created_at": alexandria_category_created_at, - "alexandria_category_description": alexandria_category_description, - "alexandria_category_id": alexandria_category_id, - "alexandria_category_name": alexandria_category_name, "alexandria_get_categories_response": alexandria_get_categories_response, "alexandria_messages": alexandria_messages, }, @@ -204,10 +189,6 @@ export const tools: readonly Tool[] = [ "alexandria_api_response_common_failure": alexandria_api_response_common_failure, "alexandria_categories": alexandria_categories, "alexandria_category": alexandria_category, - "alexandria_category_created_at": alexandria_category_created_at, - "alexandria_category_description": alexandria_category_description, - "alexandria_category_id": alexandria_category_id, - "alexandria_category_name": alexandria_category_name, "alexandria_get_categories_response": alexandria_get_categories_response, "alexandria_messages": alexandria_messages, }, diff --git a/src/generated/forge-mcp/accounts/entitlements/schemas.ts b/src/generated/forge-mcp/accounts/entitlements/schemas.ts deleted file mode 100644 index cabb090ee..000000000 --- a/src/generated/forge-mcp/accounts/entitlements/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `entitlements_identifier`. - */ -export const entitlements_identifier: JsonSchema = { - "description": "Identifier tag.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/accounts/entitlements/tools.ts b/src/generated/forge-mcp/accounts/entitlements/tools.ts index 509827bef..7f387822e 100644 --- a/src/generated/forge-mcp/accounts/entitlements/tools.ts +++ b/src/generated/forge-mcp/accounts/entitlements/tools.ts @@ -11,7 +11,6 @@ import { entitlements_entitlements_response, entitlements_feature, } from "./outputs.js"; -import { entitlements_identifier } from "./schemas.js"; /** * The tools of `accounts.entitlements`. @@ -20,11 +19,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_entitlements_get", title: "Get account or zone Entitlements", - description: "Returns the list of entitlements (features and their allocations) for a given account or zone. Each entitlement describes a product feature the account or zone is permitted to use and the allocation value (boolean, count, range, enum, or string) that governs its behaviour.", + description: "Returns the list of entitlements (features and their allocations) for a given account or zone. Each entitlement describes a product feature the account or zone is permitted to use and the allocation value (boolean, count, range, enum, or string) that governs its behaviour.\n\nGET /{account_or_zone}/{account_or_zone_id}/entitlements", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -35,8 +35,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/entitlements_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -49,9 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "entitlements_identifier": entitlements_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/accounts/logs/audit/outputs.ts b/src/generated/forge-mcp/accounts/logs/audit/outputs.ts index 1d9d1dbfe..60fbf39b3 100644 --- a/src/generated/forge-mcp/accounts/logs/audit/outputs.ts +++ b/src/generated/forge-mcp/accounts/logs/audit/outputs.ts @@ -45,7 +45,7 @@ export const aaa_audit$$logs$$v2: JsonSchema = { ] }, "id": { - "$ref": "#/$defs/aaa_identifier-2" + "type": "string" }, "raw": { "$ref": "#/$defs/aaa_audit-log-raw" diff --git a/src/generated/forge-mcp/accounts/logs/audit/tools.ts b/src/generated/forge-mcp/accounts/logs/audit/tools.ts index 3c83a1714..a415572ef 100644 --- a/src/generated/forge-mcp/accounts/logs/audit/tools.ts +++ b/src/generated/forge-mcp/accounts/logs/audit/tools.ts @@ -10,8 +10,6 @@ import { aaa_audit$$logs$$response$$collection, aaa_audit$$logs$$v2$$history$$not$$found, aaa_audit$$logs$$v2$$history$$result$$info, - aaa_history$$status, - aaa_identifier$$2, aaa_messages$$2, aaa_result_info, } from "../../../outputs.js"; @@ -31,11 +29,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_logs_audit_history", title: "Get resource change history from an account audit log entry (Version 2)", - description: "Returns the chronological change history for the resource identified by the given audit log entry.\n\nThe endpoint first locates the source audit log entry by `id` (using `action_time` to narrow the lookup window), derives identifying filters from that entry, and then returns matching audit logs within the `since`/`before` window.\n\nThe `result_info.history_status` field indicates the quality of the resource identification used:\n- `exact`: Resource was identified by the resource URI.\n- `approximate`: Resource was identified without the resource URI.\n- `unavailable`: The source audit log entry did not contain enough information to identify the resource; an empty result is returned.", + description: "Returns the chronological change history for the resource identified by the given audit log entry.\n\nThe endpoint first locates the source audit log entry by `id` (using `action_time` to narrow the lookup window), derives identifying filters from that entry, and then returns matching audit logs within the `since`/`before` window.\n\nThe `result_info.history_status` field indicates the quality of the resource identification used:\n- `exact`: Resource was identified by the resource URI.\n- `approximate`: Resource was identified without the resource URI.\n- `unavailable`: The source audit log entry did not contain enough information to identify the resource; an empty result is returned.\n\nGET /accounts/{account_id}/logs/audit/{id}/history", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "The unique ID that identifies the account.", @@ -54,6 +53,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "action_time": { "description": "RFC3339 timestamp of the source audit log entry's action time. Used to narrow the source-entry lookup window. Provide the `action.time` value from the audit log identified by `id`.", @@ -101,6 +101,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-history-response-collection", @@ -111,8 +112,6 @@ export const tools: readonly Tool[] = [ "aaa_audit-logs-v2": aaa_audit$$logs$$v2, "aaa_audit-logs-v2-history-response-collection": aaa_audit$$logs$$v2$$history$$response$$collection, "aaa_audit-logs-v2-history-result-info": aaa_audit$$logs$$v2$$history$$result$$info, - "aaa_history-status": aaa_history$$status, - "aaa_identifier-2": aaa_identifier$$2, "aaa_messages-2": aaa_messages$$2, }, }, @@ -158,8 +157,6 @@ export const tools: readonly Tool[] = [ "aaa_audit-logs-v2-history-not-found": aaa_audit$$logs$$v2$$history$$not$$found, "aaa_audit-logs-v2-history-response-collection": aaa_audit$$logs$$v2$$history$$response$$collection, "aaa_audit-logs-v2-history-result-info": aaa_audit$$logs$$v2$$history$$result$$info, - "aaa_history-status": aaa_history$$status, - "aaa_identifier-2": aaa_identifier$$2, "aaa_messages-2": aaa_messages$$2, }, }, @@ -178,11 +175,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_logs_audit_list", title: "Get account audit logs (Version 2)", - description: "Gets a list of audit logs for an account.", + description: "Gets a list of audit logs for an account.\n\nGET /accounts/{account_id}/logs/audit", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "The unique id that identifies the account.", @@ -195,6 +193,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "account_name": { "description": "Filters by the account name.", @@ -259,7 +258,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "actor_context": { - "description": "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", + "description": "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.", "items": { "enum": [ "api", @@ -274,7 +273,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "actor_context.not": { - "description": "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", + "description": "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.", "items": { "enum": [ "api", @@ -613,6 +612,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-response-collection", @@ -623,7 +623,6 @@ export const tools: readonly Tool[] = [ "aaa_audit-logs-response-collection": aaa_audit$$logs$$response$$collection, "aaa_audit-logs-v2": aaa_audit$$logs$$v2, "aaa_audit-logs-v2-response-collection": aaa_audit$$logs$$v2$$response$$collection, - "aaa_identifier-2": aaa_identifier$$2, "aaa_messages-2": aaa_messages$$2, "aaa_result_info": aaa_result_info, }, @@ -666,7 +665,6 @@ export const tools: readonly Tool[] = [ "aaa_audit-logs-response-collection": aaa_audit$$logs$$response$$collection, "aaa_audit-logs-v2": aaa_audit$$logs$$v2, "aaa_audit-logs-v2-response-collection": aaa_audit$$logs$$v2$$response$$collection, - "aaa_identifier-2": aaa_identifier$$2, "aaa_messages-2": aaa_messages$$2, "aaa_result_info": aaa_result_info, }, @@ -730,11 +728,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_logs_audit_productCategories", title: "List account audit log product categories (Version 2)", - description: "Lists the available audit log product categories and the resource products each one expands to. Use these values with the product_category filter on the account audit logs endpoint.", + description: "Lists the available audit log product categories and the resource products each one expands to. Use these values with the product_category filter on the account audit logs endpoint.\n\nGET /accounts/{account_id}/logs/audit/product_categories", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "The unique id that identifies the account.", @@ -750,6 +749,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-product-categories-response-collection", diff --git a/src/generated/forge-mcp/accounts/members/outputs.ts b/src/generated/forge-mcp/accounts/members/outputs.ts index 0ba209bb1..22ff6b632 100644 --- a/src/generated/forge-mcp/accounts/members/outputs.ts +++ b/src/generated/forge-mcp/accounts/members/outputs.ts @@ -31,10 +31,10 @@ export const iam_collection_member_response_with_policies: JsonSchema = { export const iam_member_with_policies: JsonSchema = { "properties": { "email": { - "$ref": "#/$defs/iam_email" + "type": "string" }, "id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier" + "type": "string" }, "policies": { "items": { @@ -58,19 +58,33 @@ export const iam_member_with_policies: JsonSchema = { "user": { "properties": { "email": { - "$ref": "#/$defs/iam_email" + "type": "string" }, "first_name": { - "$ref": "#/$defs/iam_first_name" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "id": { - "$ref": "#/$defs/iam_common_components-schemas-identifier" + "type": "string" }, "last_name": { - "$ref": "#/$defs/iam_last_name" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "two_factor_authentication_enabled": { - "$ref": "#/$defs/iam_two_factor_authentication_enabled" + "type": "boolean" } }, "required": [ diff --git a/src/generated/forge-mcp/accounts/members/schemas.ts b/src/generated/forge-mcp/accounts/members/schemas.ts index f152ff6bb..c0feb2e04 100644 --- a/src/generated/forge-mcp/accounts/members/schemas.ts +++ b/src/generated/forge-mcp/accounts/members/schemas.ts @@ -10,8 +10,8 @@ export const iam_create$$member$$with$$policies: JsonSchema = { "description": "Add Member with Policies", "properties": { "email": { - "$ref": "#/$defs/iam_email", - "description": "The contact email address of the user." + "description": "The contact email address of the user.", + "type": "string" }, "policies": { "description": "Array of policies associated with this member.", @@ -21,8 +21,12 @@ export const iam_create$$member$$with$$policies: JsonSchema = { "type": "array" }, "status": { - "$ref": "#/$defs/iam_member-invitation-status", - "description": "Status of the member invitation. If not provided during creation, defaults to 'pending'.\nChanging from 'accepted' back to 'pending' will trigger a replacement of the member resource in Terraform.\n" + "description": "Status of the member invitation. If not provided during creation, defaults to 'pending'.\nChanging from 'accepted' back to 'pending' will trigger a replacement of the member resource in Terraform.", + "enum": [ + "accepted", + "pending" + ], + "type": "string" } }, "required": [ @@ -39,19 +43,24 @@ export const iam_create$$member$$with$$roles: JsonSchema = { "description": "Add Member with Account Roles", "properties": { "email": { - "$ref": "#/$defs/iam_email", - "description": "The contact email address of the user." + "description": "The contact email address of the user.", + "type": "string" }, "roles": { "description": "Array of roles associated with this member.", "items": { - "$ref": "#/$defs/iam_role_components-schemas-identifier" + "description": "Role identifier tag.", + "type": "string" }, "type": "array" }, "status": { - "$ref": "#/$defs/iam_member-invitation-status", - "description": "Status of the member invitation. If not provided during creation, defaults to 'pending'.\nChanging from 'accepted' back to 'pending' will trigger a replacement of the member resource in Terraform.\n" + "description": "Status of the member invitation. If not provided during creation, defaults to 'pending'.\nChanging from 'accepted' back to 'pending' will trigger a replacement of the member resource in Terraform.", + "enum": [ + "accepted", + "pending" + ], + "type": "string" } }, "required": [ @@ -68,8 +77,12 @@ export const iam_create_member_policy: JsonSchema = { "description": "create_member_policy", "properties": { "access": { - "$ref": "#/$defs/iam_access", - "description": "Allow or deny operations against the resources." + "description": "Allow or deny operations against the resources.", + "enum": [ + "allow", + "deny" + ], + "type": "string" }, "permission_groups": { "$ref": "#/$defs/iam_member_permission_groups", @@ -88,18 +101,6 @@ export const iam_create_member_policy: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_member-invitation-status`. - */ -export const iam_member$$invitation$$status: JsonSchema = { - "description": "Status of the member invitation. If not provided during creation, defaults to 'pending'.\nChanging from 'accepted' back to 'pending' will trigger a replacement of the member resource in Terraform.\n", - "enum": [ - "accepted", - "pending" - ], - "type": "string" -}; - /** * The schema of `iam_member_permission_group`. */ diff --git a/src/generated/forge-mcp/accounts/members/tools.ts b/src/generated/forge-mcp/accounts/members/tools.ts index 5775e0f6c..066e878e0 100644 --- a/src/generated/forge-mcp/accounts/members/tools.ts +++ b/src/generated/forge-mcp/accounts/members/tools.ts @@ -3,50 +3,29 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - iam_access, iam_api$$response$$collection, iam_api$$response$$common, iam_api$$response$$common$$failure, iam_api$$response$$single, iam_api$$response$$single$$id, - iam_common_components$$schemas$$identifier, - iam_email, - iam_first_name, iam_grants, - iam_last_name, iam_list_member_policy, - iam_membership_components$$schemas$$identifier, iam_messages$$2, iam_permission_group, iam_permission_groups, iam_permissions, - iam_policy_identifier, iam_resource_group, iam_resource_groups, iam_result_info, iam_scope, - iam_scope_key, iam_scope_object, - iam_scope_object_key, - iam_two_factor_authentication_enabled, } from "../../outputs.js"; import { - iam_access as iam_access$, - iam_account_identifier, - iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, - iam_email as iam_email$, iam_grants as iam_grants$, - iam_membership_components$$schemas$$identifier as iam_membership_components$$schemas$$identifier$, iam_permissions as iam_permissions$, } from "../../schemas.js"; -import { - iam_role, - iam_role_components$$schemas$$identifier, -} from "../outputs.js"; -import { - iam_role as iam_role$, - iam_role_components$$schemas$$identifier as iam_role_components$$schemas$$identifier$, -} from "../schemas.js"; +import { iam_role } from "../outputs.js"; +import { iam_role as iam_role$ } from "../schemas.js"; import { iam_collection_member_response_with_policies, iam_member_with_policies, @@ -56,7 +35,6 @@ import { iam_create$$member$$with$$policies, iam_create$$member$$with$$roles, iam_create_member_policy, - iam_member$$invitation$$status, iam_member_permission_group, iam_member_permission_groups, iam_member_resource_group, @@ -72,7 +50,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_members_create", title: "Add Member", - description: "Add a user to the list of members for this account.", + description: "Add a user to the list of members for this account.\n\nPOST /accounts/{account_id}/members", inputSchema: { type: "object", properties: { @@ -87,10 +65,11 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -103,50 +82,34 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_access": iam_access$, - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_create-member-with-policies": iam_create$$member$$with$$policies, "iam_create-member-with-roles": iam_create$$member$$with$$roles, "iam_create_member_policy": iam_create_member_policy, - "iam_email": iam_email$, - "iam_member-invitation-status": iam_member$$invitation$$status, "iam_member_permission_group": iam_member_permission_group, "iam_member_permission_groups": iam_member_permission_groups, "iam_member_resource_group": iam_member_resource_group, "iam_member_resource_groups": iam_member_resource_groups, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier$, }, }, outputSchema: { "$ref": "#/$defs/iam_single_member_response_with_policies", $defs: { - "iam_access": iam_access, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_email": iam_email, - "iam_first_name": iam_first_name, "iam_grants": iam_grants, - "iam_last_name": iam_last_name, "iam_list_member_policy": iam_list_member_policy, "iam_member_with_policies": iam_member_with_policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role": iam_role, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_member_response_with_policies": iam_single_member_response_with_policies, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, annotations: { @@ -185,32 +148,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_email": iam_email, - "iam_first_name": iam_first_name, "iam_grants": iam_grants, - "iam_last_name": iam_last_name, "iam_list_member_policy": iam_list_member_policy, "iam_member_with_policies": iam_member_with_policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role": iam_role, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_member_response_with_policies": iam_single_member_response_with_policies, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, request: (args) => ({ @@ -221,19 +173,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_members_delete", title: "Remove Member", - description: "Remove a member from an account.\n\nConfirm with the user before calling this tool. Are you sure you want to remove this user from the account?", + description: "Remove a member from an account.\n\nConfirm with the user before calling this tool. Are you sure you want to remove this user from the account?\n\nDELETE /accounts/{account_id}/members/{member_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "member_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "description": "Membership identifier tag.", + "type": "string" } }, "required": [ @@ -246,18 +199,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { "iam_api-response-common": iam_api$$response$$common, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -300,7 +248,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -311,19 +258,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_members_get", title: "Member Details", - description: "Get information about a specific member of an account.", + description: "Get information about a specific member of an account.\n\nGET /accounts/{account_id}/members/{member_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "member_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "description": "Membership identifier tag.", + "type": "string" } }, "required": [ @@ -336,40 +284,25 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_member_response_with_policies", $defs: { - "iam_access": iam_access, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_email": iam_email, - "iam_first_name": iam_first_name, "iam_grants": iam_grants, - "iam_last_name": iam_last_name, "iam_list_member_policy": iam_list_member_policy, "iam_member_with_policies": iam_member_with_policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role": iam_role, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_member_response_with_policies": iam_single_member_response_with_policies, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, annotations: { @@ -409,32 +342,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_email": iam_email, - "iam_first_name": iam_first_name, "iam_grants": iam_grants, - "iam_last_name": iam_last_name, "iam_list_member_policy": iam_list_member_policy, "iam_member_with_policies": iam_member_with_policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role": iam_role, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_member_response_with_policies": iam_single_member_response_with_policies, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, request: (args) => ({ @@ -444,15 +366,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_members_list", title: "List Members", - description: "List all members of an account.", + description: "List all members of an account.\n\nGET /accounts/{account_id}/members", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -461,6 +384,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Direction to order results.", @@ -506,41 +430,27 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_collection_member_response_with_policies", $defs: { - "iam_access": iam_access, "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, "iam_collection_member_response_with_policies": iam_collection_member_response_with_policies, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_email": iam_email, - "iam_first_name": iam_first_name, "iam_grants": iam_grants, - "iam_last_name": iam_last_name, "iam_list_member_policy": iam_list_member_policy, "iam_member_with_policies": iam_member_with_policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_result_info": iam_result_info, "iam_role": iam_role, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, annotations: { @@ -580,34 +490,23 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_collection_member_response_with_policies": iam_collection_member_response_with_policies, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_email": iam_email, - "iam_first_name": iam_first_name, "iam_grants": iam_grants, - "iam_last_name": iam_last_name, "iam_list_member_policy": iam_list_member_policy, "iam_member_with_policies": iam_member_with_policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_result_info": iam_result_info, "iam_role": iam_role, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, request: (args) => ({ @@ -624,7 +523,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_members_update", title: "Update Member", - description: "Modify an account member.", + description: "Modify an account member.\n\nPUT /accounts/{account_id}/members/{member_id}", inputSchema: { type: "object", properties: { @@ -639,14 +538,15 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "member_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "description": "Membership identifier tag.", + "type": "string" } }, "required": [ @@ -660,20 +560,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_access": iam_access$, - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_create_member_policy": iam_create_member_policy, "iam_grants": iam_grants$, "iam_member_permission_group": iam_member_permission_group, "iam_member_permission_groups": iam_member_permission_groups, "iam_member_resource_group": iam_member_resource_group, "iam_member_resource_groups": iam_member_resource_groups, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, "iam_permissions": iam_permissions$, "iam_role": iam_role$, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier$, "iam_update-member-with-policies": iam_update$$member$$with$$policies, "iam_update-member-with-roles": iam_update$$member$$with$$roles, }, @@ -681,31 +577,20 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/iam_single_member_response_with_policies", $defs: { - "iam_access": iam_access, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_email": iam_email, - "iam_first_name": iam_first_name, "iam_grants": iam_grants, - "iam_last_name": iam_last_name, "iam_list_member_policy": iam_list_member_policy, "iam_member_with_policies": iam_member_with_policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role": iam_role, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_member_response_with_policies": iam_single_member_response_with_policies, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, annotations: { @@ -744,32 +629,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_email": iam_email, - "iam_first_name": iam_first_name, "iam_grants": iam_grants, - "iam_last_name": iam_last_name, "iam_list_member_policy": iam_list_member_policy, "iam_member_with_policies": iam_member_with_policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role": iam_role, - "iam_role_components-schemas-identifier": iam_role_components$$schemas$$identifier, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_member_response_with_policies": iam_single_member_response_with_policies, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/accounts/organizations/tools.ts b/src/generated/forge-mcp/accounts/organizations/tools.ts index 6323d1845..7baae0b96 100644 --- a/src/generated/forge-mcp/accounts/organizations/tools.ts +++ b/src/generated/forge-mcp/accounts/organizations/tools.ts @@ -5,7 +5,6 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { organizations$$api_Organization, organizations$$api_OrganizationFlags, - organizations$$api_OrganizationID, organizations$$api_Profile, organizations$$api_V4ErrorResponse, organizations$$api_V4Message, @@ -18,11 +17,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_organizations_list", title: "List account organizations", - description: "Retrieve a list of the organizations that \"contain\" this account or are\nmanaging it.\n\nThe returned list will be in order from \"root\" to \"leaf\", where the \"leaf\"\nwill be the organization that _immediately_ contains the specified\naccount.", + description: "Retrieve a list of the organizations that \"contain\" this account or are\nmanaging it.\n\nThe returned list will be in order from \"root\" to \"leaf\", where the \"leaf\"\nwill be the organization that _immediately_ contains the specified\naccount.\n\nGET /accounts/{account_id}/organizations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -37,6 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -76,7 +77,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4Message": organizations$$api_V4Message, }, @@ -143,7 +143,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, "organizations-api_V4Message": organizations$$api_V4Message, diff --git a/src/generated/forge-mcp/accounts/outputs.ts b/src/generated/forge-mcp/accounts/outputs.ts index 7216ff8c8..70aa3c3e5 100644 --- a/src/generated/forge-mcp/accounts/outputs.ts +++ b/src/generated/forge-mcp/accounts/outputs.ts @@ -98,13 +98,6 @@ export const alexandria_api_response_common_failure: JsonSchema = { "type": "object" }; -/** - * The schema of `alexandria_category_id` in responses. - */ -export const alexandria_category_id: JsonSchema = { - "type": "integer" -}; - /** * The schema of `alexandria_messages` in responses. */ @@ -148,7 +141,7 @@ export const iam_account: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/iam_common_components-schemas-identifier" + "type": "string" }, "managed_by": { "properties": { @@ -182,7 +175,11 @@ export const iam_account: JsonSchema = { "type": "object" }, "type": { - "$ref": "#/$defs/iam_account-type" + "enum": [ + "standard", + "enterprise" + ], + "type": "string" } }, "required": [ @@ -243,7 +240,7 @@ export const iam_role: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/iam_role_components-schemas-identifier" + "type": "string" }, "name": { "type": "string" @@ -261,13 +258,6 @@ export const iam_role: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_role_components-schemas-identifier` in responses. - */ -export const iam_role_components$$schemas$$identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `organizations-api_MoveAccountResult` in responses. */ diff --git a/src/generated/forge-mcp/accounts/profile/tools.ts b/src/generated/forge-mcp/accounts/profile/tools.ts index 81774d427..f5236e7fb 100644 --- a/src/generated/forge-mcp/accounts/profile/tools.ts +++ b/src/generated/forge-mcp/accounts/profile/tools.ts @@ -16,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_profile_get", title: "Get account profile", - description: "Retrieves the business profile (name, email, phone, address, and external metadata)\nassociated with this account's customer record. Profiles can be shared across accounts and\norganizations. Only available to members of an organization that contains the account.", + description: "Retrieves the business profile (name, email, phone, address, and external metadata)\nassociated with this account's customer record. Profiles can be shared across accounts and\norganizations. Only available to members of an organization that contains the account.\n\nGET /accounts/{account_id}/profile", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "The ID of the account whose business profile to retrieve.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -143,7 +145,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_profile_update", title: "Update account profile", - description: "Partially updates the business profile (name, email, phone, address, and external metadata)\nassociated with this account's parent organization customer record, creating the profile if\nit does not exist. Changes apply to every account and organization sharing that profile.\nOmitted, empty, or null fields are left unchanged. Each profile field is limited to 1,000\nUTF-8 bytes. Only available to members of an organization that contains the account.", + description: "Partially updates the business profile (name, email, phone, address, and external metadata)\nassociated with this account's parent organization customer record, creating the profile if\nit does not exist. Changes apply to every account and organization sharing that profile.\nOmitted, empty, or null fields are left unchanged. Each profile field is limited to 1,000\nUTF-8 bytes. Only available to members of an organization that contains the account.\n\nPUT /accounts/{account_id}/profile", inputSchema: { type: "object", properties: { @@ -151,6 +153,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/organizations-api_ModifyProfileRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "The ID of the account whose business profile to update.", @@ -167,6 +170,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "organizations-api_ModifyProfileRequest": organizations$$api_ModifyProfileRequest, }, diff --git a/src/generated/forge-mcp/accounts/schemas.ts b/src/generated/forge-mcp/accounts/schemas.ts index 5eea0ea79..37d47b7bf 100644 --- a/src/generated/forge-mcp/accounts/schemas.ts +++ b/src/generated/forge-mcp/accounts/schemas.ts @@ -3,22 +3,14 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `alexandria_category_id`. - */ -export const alexandria_category_id: JsonSchema = { - "description": "Numeric identifier for an application category.", - "type": "integer" -}; - /** * The schema of `iam_account`. */ export const iam_account: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/iam_common_components-schemas-identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "managed_by": { "description": "Parent container details", @@ -44,7 +36,11 @@ export const iam_account: JsonSchema = { "type": "object" }, "type": { - "$ref": "#/$defs/iam_account-type" + "enum": [ + "standard", + "enterprise" + ], + "type": "string" } }, "required": [ @@ -93,7 +89,11 @@ export const iam_create$$account: JsonSchema = { "type": "boolean" }, "type": { - "$ref": "#/$defs/iam_account-type" + "enum": [ + "standard", + "enterprise" + ], + "type": "string" }, "unit": { "description": "Information related to the tenant unit. Provide its ID and omit `standalone` to create the Account within an Organization. See https://developers.cloudflare.com/tenant/how-to/manage-accounts/.", @@ -118,8 +118,8 @@ export const iam_create$$account: JsonSchema = { export const iam_role: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/iam_role_components-schemas-identifier", - "description": "Role identifier tag." + "description": "Role identifier tag.", + "type": "string" }, "permissions": { "$ref": "#/$defs/iam_permissions" @@ -131,11 +131,3 @@ export const iam_role: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `iam_role_components-schemas-identifier`. - */ -export const iam_role_components$$schemas$$identifier: JsonSchema = { - "description": "Role identifier tag.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/accounts/subscriptions/tools.ts b/src/generated/forge-mcp/accounts/subscriptions/tools.ts index f2fd81e5a..470944996 100644 --- a/src/generated/forge-mcp/accounts/subscriptions/tools.ts +++ b/src/generated/forge-mcp/accounts/subscriptions/tools.ts @@ -9,30 +9,16 @@ import { bill$$subs$$api_api$$response$$single, bill$$subs$$api_component_value, bill$$subs$$api_component_values, - bill$$subs$$api_currency, - bill$$subs$$api_current_period_end, - bill$$subs$$api_current_period_start, - bill$$subs$$api_frequency, - bill$$subs$$api_identifier, - bill$$subs$$api_install_id, bill$$subs$$api_messages, - bill$$subs$$api_name, - bill$$subs$$api_price, bill$$subs$$api_rate_plan, bill$$subs$$api_result_info, - bill$$subs$$api_schemas$$identifier, - bill$$subs$$api_state, bill$$subs$$api_subscription, bill$$subs$$api_zone, } from "../../outputs.js"; import { bill$$subs$$api_component_value as bill$$subs$$api_component_value$, bill$$subs$$api_component_values as bill$$subs$$api_component_values$, - bill$$subs$$api_frequency as bill$$subs$$api_frequency$, - bill$$subs$$api_identifier as bill$$subs$$api_identifier$, - bill$$subs$$api_install_id as bill$$subs$$api_install_id$, bill$$subs$$api_rate_plan as bill$$subs$$api_rate_plan$, - bill$$subs$$api_schemas$$identifier as bill$$subs$$api_schemas$$identifier$, bill$$subs$$api_subscription$$v2, bill$$subs$$api_zone as bill$$subs$$api_zone$, } from "../../schemas.js"; @@ -51,7 +37,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_subscriptions_cancelDelayedDowngrade", title: "Cancel Delayed Downgrade", - description: "Cancels pending delayed downgrades for the specified subscriptions.", + description: "Cancels pending delayed downgrades for the specified subscriptions.\n\nPOST /accounts/{account_id}/subscriptions/cancel-downgrade", inputSchema: { type: "object", properties: { @@ -68,10 +54,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -84,9 +71,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -138,7 +123,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_subscriptions_create", title: "Create Subscription", - description: "Creates an account or zone subscription.", + description: "Creates an account or zone subscription.\n\nPOST /{account_or_zone}/{account_or_zone_id}/subscriptions", inputSchema: { type: "object", properties: { @@ -146,6 +131,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_subscription-v2" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -156,8 +142,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -171,12 +157,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "bill-subs-api_component_value": bill$$subs$$api_component_value$, "bill-subs-api_component_values": bill$$subs$$api_component_values$, - "bill-subs-api_frequency": bill$$subs$$api_frequency$, - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - "bill-subs-api_install_id": bill$$subs$$api_install_id$, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, "bill-subs-api_zone": bill$$subs$$api_zone$, @@ -190,18 +174,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_zone": bill$$subs$$api_zone, }, @@ -248,18 +222,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_zone": bill$$subs$$api_zone, }, @@ -272,7 +236,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_subscriptions_createCancelReason", title: "Create Cancel Reason", - description: "Records a cancellation reason for an account subscription.", + description: "Records a cancellation reason for an account subscription.\n\nPOST /accounts/{account_id}/subscriptions/{subscription_identifier}/cancel-reason", inputSchema: { type: "object", properties: { @@ -280,14 +244,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_cancel_reason_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "description": "Subscription identifier tag.", + "type": "string" } }, "required": [ @@ -301,10 +266,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "bill-subs-api_cancel_reason_request": bill$$subs$$api_cancel_reason_request, - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, }, }, outputSchema: { @@ -368,19 +332,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_subscriptions_delete", title: "Delete Subscription", - description: "Deletes an account's subscription.", + description: "Deletes an account's subscription.\n\nDELETE /accounts/{account_id}/subscriptions/{subscription_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "description": "Subscription identifier tag.", + "type": "string" } }, "required": [ @@ -393,10 +358,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -408,7 +370,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "subscription_id": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier" + "type": "string" } }, "type": "object" @@ -421,7 +383,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, annotations: { @@ -455,7 +416,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "subscription_id": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier" + "type": "string" } }, "type": "object" @@ -474,7 +435,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, request: (args) => ({ @@ -484,11 +444,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_subscriptions_get", title: "List Subscriptions", - description: "Lists all of an account or zone's subscriptions.", + description: "Lists all of an account or zone's subscriptions.\n\nGET /{account_or_zone}/{account_or_zone_id}/subscriptions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -499,8 +460,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -513,9 +474,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_subscription_response_collection", @@ -525,19 +484,9 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, "bill-subs-api_result_info": bill$$subs$$api_result_info, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_zone": bill$$subs$$api_zone, }, @@ -584,19 +533,9 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, "bill-subs-api_result_info": bill$$subs$$api_result_info, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_zone": bill$$subs$$api_zone, }, @@ -608,19 +547,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_subscriptions_getByIdentifier", title: "Get Subscription", - description: "Gets an account subscription by identifier.", + description: "Gets an account subscription by identifier.\n\nGET /accounts/{account_id}/subscriptions/{subscription_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "description": "Subscription identifier tag.", + "type": "string" } }, "required": [ @@ -633,10 +573,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_account_subscription_response_single", @@ -646,18 +583,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_zone": bill$$subs$$api_zone, }, @@ -707,18 +634,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_zone": bill$$subs$$api_zone, }, @@ -730,19 +647,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_subscriptions_getCancelReason", title: "Get Cancel Reason", - description: "Gets the cancellation reason for an account subscription.", + description: "Gets the cancellation reason for an account subscription.\n\nGET /accounts/{account_id}/subscriptions/{subscription_identifier}/cancel-reason", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "description": "Subscription identifier tag.", + "type": "string" } }, "required": [ @@ -755,10 +673,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_cancel_reason_response_single", @@ -812,7 +727,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_subscriptions_update", title: "Update Subscription", - description: "Updates an account subscription.", + description: "Updates an account subscription.\n\nPUT /accounts/{account_id}/subscriptions/{subscription_identifier}", inputSchema: { type: "object", properties: { @@ -820,14 +735,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_subscription-v2" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "subscription_identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "description": "Subscription identifier tag.", + "type": "string" } }, "required": [ @@ -841,14 +757,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "bill-subs-api_component_value": bill$$subs$$api_component_value$, "bill-subs-api_component_values": bill$$subs$$api_component_values$, - "bill-subs-api_frequency": bill$$subs$$api_frequency$, - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - "bill-subs-api_install_id": bill$$subs$$api_install_id$, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, "bill-subs-api_zone": bill$$subs$$api_zone$, }, @@ -861,18 +774,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_zone": bill$$subs$$api_zone, }, @@ -919,18 +822,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_zone": bill$$subs$$api_zone, }, diff --git a/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts b/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts index 126a77e4a..37d3edc99 100644 --- a/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts +++ b/src/generated/forge-mcp/accounts/tokens/permissionGroups/tools.ts @@ -10,10 +10,6 @@ import { iam_permissions_group_response_collection, iam_result_info, } from "../../../outputs.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier, -} from "../../../schemas.js"; /** * The tools of `accounts.tokens.permissionGroups`. @@ -22,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_tokens_permissionGroups_list", title: "List Permission Groups", - description: "Find all available permission groups for Account Owned API Tokens.\nEach permission group indicates whether the caller can select it when\ncreating a token. Token creation performs the authoritative permission\ncheck.", + description: "Find all available permission groups for Account Owned API Tokens.\nEach permission group indicates whether the caller can select it when\ncreating a token. Token creation performs the authoritative permission\ncheck.\n\nGET /accounts/{account_id}/tokens/permission_groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -39,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "description": "Filter by the name of the permission group.\nThe value must be URL-encoded.", @@ -55,10 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_permissions_group_response_collection", diff --git a/src/generated/forge-mcp/accounts/tokens/tools.ts b/src/generated/forge-mcp/accounts/tokens/tools.ts index aaa0bccf5..a4d87eac9 100644 --- a/src/generated/forge-mcp/accounts/tokens/tools.ts +++ b/src/generated/forge-mcp/accounts/tokens/tools.ts @@ -10,23 +10,11 @@ import { iam_api$$response$$single$$id, iam_cidr_list, iam_collection_tokens_response, - iam_common_components$$schemas$$identifier, iam_condition, - iam_creator_email_at_creation, - iam_effect, - iam_expires_on, - iam_issued_on, - iam_last_used_on, iam_messages$$2, - iam_modified_on, - iam_name, - iam_not_before, iam_permission_group, iam_permission_groups, - iam_policy_identifier, iam_policy_with_permission_groups_and_resources, - iam_provisioner_id, - iam_provisioner_type, iam_request_ip, iam_resources, iam_resources_type_object_nested, @@ -36,25 +24,14 @@ import { iam_single_token_create_response, iam_single_token_response, iam_token_base, - iam_token_identifier, iam_token_policies, - iam_token_prefix, - iam_token_status, - iam_token_suffix, iam_token_verify_response_single_segment, iam_token_with_value, - iam_value, } from "../../outputs.js"; import { - iam_account_identifier, iam_cidr_list as iam_cidr_list$, - iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, iam_condition as iam_condition$, iam_create_payload, - iam_effect as iam_effect$, - iam_expires_on as iam_expires_on$, - iam_name as iam_name$, - iam_not_before as iam_not_before$, iam_permission_group as iam_permission_group$, iam_permission_groups as iam_permission_groups$, iam_policy_with_permission_groups_and_resources as iam_policy_with_permission_groups_and_resources$, @@ -63,9 +40,7 @@ import { iam_resources_type_object_nested as iam_resources_type_object_nested$, iam_resources_type_object_string as iam_resources_type_object_string$, iam_token_body, - iam_token_identifier as iam_token_identifier$, iam_token_policies as iam_token_policies$, - iam_token_status as iam_token_status$, } from "../../schemas.js"; /** @@ -75,7 +50,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_tokens_create", title: "Create Token", - description: "Create a new Account Owned API token.", + description: "Create a new Account Owned API token.\n\nPOST /accounts/{account_id}/tokens", inputSchema: { type: "object", properties: { @@ -83,10 +58,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_create_payload" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -99,16 +75,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, "iam_cidr_list": iam_cidr_list$, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_condition": iam_condition$, "iam_create_payload": iam_create_payload, - "iam_effect": iam_effect$, - "iam_expires_on": iam_expires_on$, - "iam_name": iam_name$, - "iam_not_before": iam_not_before$, "iam_permission_group": iam_permission_group$, "iam_permission_groups": iam_permission_groups$, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources$, @@ -125,34 +96,18 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_create_response": iam_single_token_create_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, "iam_token_with_value": iam_token_with_value, - "iam_value": iam_value, }, }, annotations: { @@ -194,34 +149,18 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_create_response": iam_single_token_create_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, "iam_token_with_value": iam_token_with_value, - "iam_value": iam_value, }, }, request: (args) => ({ @@ -232,19 +171,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_tokens_delete", title: "Delete Token", - description: "Destroy an Account Owned API token.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Destroy an Account Owned API token.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/tokens/{token_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "description": "Token identifier tag.", + "type": "string" } }, "required": [ @@ -257,18 +197,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_token_identifier": iam_token_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { "iam_api-response-common": iam_api$$response$$common, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -310,7 +245,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -321,19 +255,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_tokens_get", title: "Token Details", - description: "Get information about a specific Account Owned API token.", + description: "Get information about a specific Account Owned API token.\n\nGET /accounts/{account_id}/tokens/{token_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "description": "Token identifier tag.", + "type": "string" } }, "required": [ @@ -346,11 +281,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_token_identifier": iam_token_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_token_response", @@ -358,32 +289,17 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_response": iam_single_token_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -426,32 +342,17 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_response": iam_single_token_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -461,15 +362,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_tokens_list", title: "List Tokens", - description: "List Account Owned API tokens created for this account. Callers with\n`com.cloudflare.api.account.token.list_self` permission only receive\ntokens they created. Results include active, disabled, and\nrecently-expired tokens when `include_expired` is set to true.", + description: "List Account Owned API tokens created for this account. Callers with\n`com.cloudflare.api.account.token.list_self` permission only receive\ntokens they created. Results include active, disabled, and\nrecently-expired tokens when `include_expired` is set to true.\n\nGET /accounts/{account_id}/tokens", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -478,6 +380,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Direction to order results.", @@ -509,10 +412,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_collection_tokens_response", @@ -522,32 +422,17 @@ export const tools: readonly Tool[] = [ "iam_cidr_list": iam_cidr_list, "iam_collection_tokens_response": iam_collection_tokens_response, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_result_info": iam_result_info, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -593,32 +478,17 @@ export const tools: readonly Tool[] = [ "iam_cidr_list": iam_cidr_list, "iam_collection_tokens_response": iam_collection_tokens_response, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_result_info": iam_result_info, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -634,19 +504,20 @@ export const tools: readonly Tool[] = [ { name: "accounts_tokens_roll", title: "Roll Token", - description: "Roll the Account Owned API token secret.\n\nConfirm with the user before calling this tool. Rolling this token will invalidate the current secret and generate a new one. Any integrations using the current secret will stop working.", + description: "Roll the Account Owned API token secret.\n\nConfirm with the user before calling this tool. Rolling this token will invalidate the current secret and generate a new one. Any integrations using the current secret will stop working.\n\nPUT /accounts/{account_id}/tokens/{token_id}/value", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "description": "Token identifier tag.", + "type": "string" } }, "required": [ @@ -659,11 +530,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_token_identifier": iam_token_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_response_single_value", @@ -671,7 +538,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_messages-2": iam_messages$$2, "iam_response_single_value": iam_response_single_value, - "iam_value": iam_value, }, }, annotations: { @@ -713,7 +579,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_messages-2": iam_messages$$2, "iam_response_single_value": iam_response_single_value, - "iam_value": iam_value, }, }, request: (args) => ({ @@ -723,7 +588,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_tokens_update", title: "Update Token", - description: "Update an existing token.", + description: "Update an existing token.\n\nPUT /accounts/{account_id}/tokens/{token_id}", inputSchema: { type: "object", properties: { @@ -731,14 +596,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_token_body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "description": "Token identifier tag.", + "type": "string" } }, "required": [ @@ -752,15 +618,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, "iam_cidr_list": iam_cidr_list$, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_condition": iam_condition$, - "iam_effect": iam_effect$, - "iam_expires_on": iam_expires_on$, - "iam_name": iam_name$, - "iam_not_before": iam_not_before$, "iam_permission_group": iam_permission_group$, "iam_permission_groups": iam_permission_groups$, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources$, @@ -769,9 +630,7 @@ export const tools: readonly Tool[] = [ "iam_resources_type_object_nested": iam_resources_type_object_nested$, "iam_resources_type_object_string": iam_resources_type_object_string$, "iam_token_body": iam_token_body, - "iam_token_identifier": iam_token_identifier$, "iam_token_policies": iam_token_policies$, - "iam_token_status": iam_token_status$, }, }, outputSchema: { @@ -780,32 +639,17 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_response": iam_single_token_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -847,32 +691,17 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_response": iam_single_token_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -883,15 +712,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_tokens_verify", title: "Verify Token", - description: "Test whether a token works.", + description: "Test whether a token works.\n\nGET /accounts/{account_id}/tokens/verify", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -903,20 +733,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_token_verify_response_single_segment", $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_expires_on": iam_expires_on, "iam_messages-2": iam_messages$$2, - "iam_not_before": iam_not_before, - "iam_token_identifier": iam_token_identifier, - "iam_token_status": iam_token_status, "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment, }, }, @@ -949,11 +772,7 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_expires_on": iam_expires_on, "iam_messages-2": iam_messages$$2, - "iam_not_before": iam_not_before, - "iam_token_identifier": iam_token_identifier, - "iam_token_status": iam_token_status, "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment, }, }, diff --git a/src/generated/forge-mcp/accounts/tools.ts b/src/generated/forge-mcp/accounts/tools.ts index fd3d73272..391339880 100644 --- a/src/generated/forge-mcp/accounts/tools.ts +++ b/src/generated/forge-mcp/accounts/tools.ts @@ -3,23 +3,16 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { - iam_account$$type, iam_api$$response$$collection, iam_api$$response$$common, iam_api$$response$$common$$failure, iam_api$$response$$single, iam_api$$response$$single$$id, - iam_common_components$$schemas$$identifier, iam_messages$$2, iam_result_info, organizations$$api_V4ErrorResponse, organizations$$api_V4Message, } from "../outputs.js"; -import { - iam_account$$type as iam_account$$type$, - iam_account_identifier, - iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, -} from "../schemas.js"; import { iam_account, iam_response_collection_accounts, @@ -39,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_create", title: "Create an Account", - description: "Create an Account. To create the Account within an Organization, provide `unit.id` and omit `standalone`. To create a standalone Free Account, provide `standalone: true` and omit `unit`. Providing both fields is invalid. If you omit both fields, Cloudflare can determine the destination only when the User is an administrator of exactly one Organization. Cloudflare creates the Account in that Organization; otherwise, the request returns an error. Account names are limited to 65 UTF-8 bytes.", + description: "Create an Account. To create the Account within an Organization, provide `unit.id` and omit `standalone`. To create a standalone Free Account, provide `standalone: true` and omit `unit`. Providing both fields is invalid. If you omit both fields, Cloudflare can determine the destination only when the User is an administrator of exactly one Organization. Cloudflare creates the Account in that Organization; otherwise, the request returns an error. Account names are limited to 65 UTF-8 bytes.\n\nPOST /accounts", inputSchema: { type: "object", properties: { @@ -48,6 +41,7 @@ export const tools: readonly Tool[] = [ "description": "Parameters for account creation" }, "headers": { + "additionalProperties": false, "properties": { "Idempotency-Key": { "description": "Optional key that identifies an Account-creation request. Free Account creation can require exactly one valid key, so API clients should send a key with every Account-creation request. Reuse the same key when retrying the same request.", @@ -60,8 +54,8 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { - "iam_account-type": iam_account$$type$, "iam_create-account": iam_create$$account, }, }, @@ -69,9 +63,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_response_single_account", $defs: { "iam_account": iam_account, - "iam_account-type": iam_account$$type, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_response_single_account": iam_response_single_account, }, @@ -104,10 +96,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "iam_account": iam_account, - "iam_account-type": iam_account$$type, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_response_single_account": iam_response_single_account, }, @@ -123,11 +113,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_delete", title: "Delete a specific account", - description: "Delete a specific account (only available for tenant admins at this time). This is a permanent operation that will delete any zones or other resources under the account\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Delete a specific account (only available for tenant admins at this time). This is a permanent operation that will delete any zones or other resources under the account\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "The account ID of the account to be deleted", @@ -143,13 +134,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { "iam_api-response-common": iam_api$$response$$common, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -191,7 +182,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -202,15 +192,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_get", title: "Account Details", - description: "Get information about a specific account that you are a member of.", + description: "Get information about a specific account that you are a member of.\n\nGET /accounts/{account_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -222,18 +213,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_response_single_account", $defs: { "iam_account": iam_account, - "iam_account-type": iam_account$$type, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_response_single_account": iam_response_single_account, }, @@ -302,10 +288,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "iam_account": iam_account, - "iam_account-type": iam_account$$type, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_response_single_account": iam_response_single_account, }, @@ -317,11 +301,12 @@ export const tools: readonly Tool[] = [ { name: "accounts_list", title: "List Accounts", - description: "List all accounts you have ownership or verified access to.", + description: "List all accounts you have ownership or verified access to.\n\nGET /accounts", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Direction to order results.", @@ -349,15 +334,14 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_response_collection_accounts", $defs: { "iam_account": iam_account, - "iam_account-type": iam_account$$type, "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_response_collection_accounts": iam_response_collection_accounts, "iam_result_info": iam_result_info, @@ -391,11 +375,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "iam_account": iam_account, - "iam_account-type": iam_account$$type, "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_response_collection_accounts": iam_response_collection_accounts, "iam_result_info": iam_result_info, @@ -414,7 +396,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_move", title: "Move account to organization", - description: "Move an account into a destination organization, either assigning a standalone account\nto an organization or moving it between organizations in the same hierarchy. Availability\ndepends on the organization's capabilities.", + description: "Move an account into a destination organization, either assigning a standalone account\nto an organization or moving it between organizations in the same hierarchy. Availability\ndepends on the organization's capabilities.\n\nPOST /accounts/{account_id}/move", inputSchema: { type: "object", properties: { @@ -432,6 +414,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "The ID of the account to move.", @@ -448,6 +431,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -554,7 +538,7 @@ export const tools: readonly Tool[] = [ { name: "accounts_update", title: "Update Account", - description: "Update an existing account. Account names are limited to 65 UTF-8 bytes.", + description: "Update an existing account. Account names are limited to 65 UTF-8 bytes.\n\nPUT /accounts/{account_id}", inputSchema: { type: "object", properties: { @@ -562,10 +546,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_components-schemas-account" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -578,11 +563,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "iam_account": iam_account$, - "iam_account-type": iam_account$$type$, - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_components-schemas-account": iam_components$$schemas$$account, }, }, @@ -590,9 +573,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_response_single_account", $defs: { "iam_account": iam_account, - "iam_account-type": iam_account$$type, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_response_single_account": iam_response_single_account, }, @@ -633,10 +614,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "iam_account": iam_account, - "iam_account-type": iam_account$$type, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_response_single_account": iam_response_single_account, }, diff --git a/src/generated/forge-mcp/accounts/transformations/tools.ts b/src/generated/forge-mcp/accounts/transformations/tools.ts index bffc473c4..b082646b1 100644 --- a/src/generated/forge-mcp/accounts/transformations/tools.ts +++ b/src/generated/forge-mcp/accounts/transformations/tools.ts @@ -7,7 +7,6 @@ import { speed_api$$response$$common$$failure, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; import { speed_zone_config_item } from "./outputs.js"; /** @@ -17,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_transformations_list", title: "List Image Resizing configurations for account", - description: "Returns a list of Image Resizing configurations across all zones for the account.\nThis endpoint is useful for retrieving the transformations (image_resizing) state\nfor all zones belonging to an account.", + description: "Returns a list of Image Resizing configurations across all zones for the account.\nThis endpoint is useful for retrieving the transformations (image_resizing) state\nfor all zones belonging to an account.\n\nGET /accounts/{account_id}/settings/transformations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -37,9 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/accounts/utBilling/outputs.ts b/src/generated/forge-mcp/accounts/utBilling/outputs.ts index 7b6e53d29..6e1810f98 100644 --- a/src/generated/forge-mcp/accounts/utBilling/outputs.ts +++ b/src/generated/forge-mcp/accounts/utBilling/outputs.ts @@ -20,20 +20,13 @@ export const speed_ut_billing_response: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/speed_ut_billing_value" + "enum": [ + "on" + ], + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `speed_ut_billing_value` in responses. - */ -export const speed_ut_billing_value: JsonSchema = { - "enum": [ - "on" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/accounts/utBilling/schemas.ts b/src/generated/forge-mcp/accounts/utBilling/schemas.ts deleted file mode 100644 index 33132de2e..000000000 --- a/src/generated/forge-mcp/accounts/utBilling/schemas.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `speed_ut_billing_value`. - */ -export const speed_ut_billing_value: JsonSchema = { - "description": "Enables Unique Transformations billing for the account.\nNote: once enabled, this setting cannot be set back to \"off\".\n", - "enum": [ - "on" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/accounts/utBilling/tools.ts b/src/generated/forge-mcp/accounts/utBilling/tools.ts index 0c0a0fe5d..85b4c9765 100644 --- a/src/generated/forge-mcp/accounts/utBilling/tools.ts +++ b/src/generated/forge-mcp/accounts/utBilling/tools.ts @@ -8,12 +8,7 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; -import { - speed_ut_billing_response, - speed_ut_billing_value, -} from "./outputs.js"; -import { speed_ut_billing_value as speed_ut_billing_value$ } from "./schemas.js"; +import { speed_ut_billing_response } from "./outputs.js"; /** * The tools of `accounts.utBilling`. @@ -22,15 +17,18 @@ export const tools: readonly Tool[] = [ { name: "accounts_utBilling_edit", title: "Change Unique Transformations billing setting", - description: "Updates the Unique Transformations billing configuration for an account.\nWhen enabled, billing data is directed to the Transformations pipeline.\nNote: setting the value to \"off\" is not permitted once enabled.", + description: "Updates the Unique Transformations billing configuration for an account.\nWhen enabled, billing data is directed to the Transformations pipeline.\nNote: setting the value to \"off\" is not permitted once enabled.\n\nPATCH /accounts/{account_id}/settings/ut-billing", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/speed_ut_billing_value", - "description": "Enables Unique Transformations billing for the account.\nNote: once enabled, this setting cannot be set back to \"off\".\n" + "description": "Enables Unique Transformations billing for the account.\nNote: once enabled, this setting cannot be set back to \"off\".", + "enum": [ + "on" + ], + "type": "string" } }, "required": [ @@ -39,10 +37,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,10 +54,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "speed_identifier": speed_identifier, - "speed_ut_billing_value": speed_ut_billing_value$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -79,7 +75,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_ut_billing_response": speed_ut_billing_response, - "speed_ut_billing_value": speed_ut_billing_value, }, }, annotations: { @@ -128,7 +123,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_ut_billing_response": speed_ut_billing_response, - "speed_ut_billing_value": speed_ut_billing_value, }, }, request: (args) => ({ @@ -139,15 +133,16 @@ export const tools: readonly Tool[] = [ { name: "accounts_utBilling_get", title: "Get Unique Transformations billing setting", - description: "Retrieves the Unique Transformations billing configuration for an account.\nWhen enabled, billing data is directed to the Transformations pipeline.", + description: "Retrieves the Unique Transformations billing configuration for an account.\nWhen enabled, billing data is directed to the Transformations pipeline.\n\nGET /accounts/{account_id}/settings/ut-billing", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -159,9 +154,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -182,7 +175,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_ut_billing_response": speed_ut_billing_response, - "speed_ut_billing_value": speed_ut_billing_value, }, }, annotations: { @@ -232,7 +224,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_ut_billing_response": speed_ut_billing_response, - "speed_ut_billing_value": speed_ut_billing_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/acm/customTrustStore/outputs.ts b/src/generated/forge-mcp/acm/customTrustStore/outputs.ts index 0d0bac39b..5d588ef6e 100644 --- a/src/generated/forge-mcp/acm/customTrustStore/outputs.ts +++ b/src/generated/forge-mcp/acm/customTrustStore/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_certificate-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_certificate$$3: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_custom-trust-store` in * responses. @@ -17,28 +10,39 @@ export const tls$$certificates$$and$$hostnames_certificate$$3: JsonSchema = { export const tls$$certificates$$and$$hostnames_custom$$trust$$store: JsonSchema = { "properties": { "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-3" + "type": "string" }, "expires_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-2" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier" + "type": "string" }, "issuer": { - "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + "type": "string" }, "signature": { - "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-7" + "enum": [ + "initializing", + "pending_deployment", + "active", + "pending_deletion", + "deleted", + "expired" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-2" + "format": "date-time", + "type": "string" }, "uploaded_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on" + "format": "date-time", + "type": "string" } }, "required": [ @@ -54,14 +58,6 @@ export const tls$$certificates$$and$$hostnames_custom$$trust$$store: JsonSchema "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_custom_trust_store_identifier` - * in responses. - */ -export const tls$$certificates$$and$$hostnames_custom_trust_store_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of * `tls-certificates-and-hostnames_custom_trust_store_response_collection` in @@ -101,7 +97,7 @@ export const tls$$certificates$$and$$hostnames_custom_trust_store_response_id_on "result": { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier" + "type": "string" } }, "type": "object" @@ -132,26 +128,3 @@ export const tls$$certificates$$and$$hostnames_custom_trust_store_response_singl } ] }; - -/** - * The schema of `tls-certificates-and-hostnames_status-7` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$7: JsonSchema = { - "enum": [ - "initializing", - "pending_deployment", - "active", - "pending_deletion", - "deleted", - "expired" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_updated_at-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_updated_at$$2: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/acm/customTrustStore/schemas.ts b/src/generated/forge-mcp/acm/customTrustStore/schemas.ts deleted file mode 100644 index 579c6f1a6..000000000 --- a/src/generated/forge-mcp/acm/customTrustStore/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tls-certificates-and-hostnames_certificate-3`. - */ -export const tls$$certificates$$and$$hostnames_certificate$$3: JsonSchema = { - "description": "The root CA certificate in PEM format. Only root CA certificates are accepted; intermediate and leaf certificates are not supported.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_custom_trust_store_identifier`. - */ -export const tls$$certificates$$and$$hostnames_custom_trust_store_identifier: JsonSchema = { - "description": "Certificate identifier tag.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/acm/customTrustStore/tools.ts b/src/generated/forge-mcp/acm/customTrustStore/tools.ts index aa873bdff..6c8bc7367 100644 --- a/src/generated/forge-mcp/acm/customTrustStore/tools.ts +++ b/src/generated/forge-mcp/acm/customTrustStore/tools.ts @@ -7,27 +7,14 @@ import { tls$$certificates$$and$$hostnames_api$$response$$common, tls$$certificates$$and$$hostnames_api$$response$$common$$failure, tls$$certificates$$and$$hostnames_api$$response$$single, - tls$$certificates$$and$$hostnames_expires_on$$2, - tls$$certificates$$and$$hostnames_issuer, tls$$certificates$$and$$hostnames_messages, - tls$$certificates$$and$$hostnames_signature, - tls$$certificates$$and$$hostnames_uploaded_on, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls$$certificates$$and$$hostnames_certificate$$3, tls$$certificates$$and$$hostnames_custom$$trust$$store, - tls$$certificates$$and$$hostnames_custom_trust_store_identifier, tls$$certificates$$and$$hostnames_custom_trust_store_response_collection, tls$$certificates$$and$$hostnames_custom_trust_store_response_id_only, tls$$certificates$$and$$hostnames_custom_trust_store_response_single, - tls$$certificates$$and$$hostnames_status$$7, - tls$$certificates$$and$$hostnames_updated_at$$2, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_certificate$$3 as tls$$certificates$$and$$hostnames_certificate$$3$, - tls$$certificates$$and$$hostnames_custom_trust_store_identifier as tls$$certificates$$and$$hostnames_custom_trust_store_identifier$, -} from "./schemas.js"; /** * The tools of `acm.customTrustStore`. @@ -36,15 +23,15 @@ export const tools: readonly Tool[] = [ { name: "acm_customTrustStore_create", title: "Upload Custom Origin Trust Store", - description: "Upload a root CA certificate to the Custom Origin Trust Store for a Zone. Only root CA certificates are accepted.", + description: "Upload a root CA certificate to the Custom Origin Trust Store for a Zone. Only root CA certificates are accepted.\n\nPOST /zones/{zone_id}/acm/custom_trust_store", inputSchema: { type: "object", properties: { "body": { "properties": { "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-3", - "description": "The root CA certificate in PEM format. Only root CA certificates are accepted; intermediate and leaf certificates are not supported." + "description": "The root CA certificate in PEM format. Only root CA certificates are accepted; intermediate and leaf certificates are not supported.", + "type": "string" } }, "required": [ @@ -53,10 +40,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -69,26 +57,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, "tls-certificates-and-hostnames_custom_trust_store_response_single": tls$$certificates$$and$$hostnames_custom_trust_store_response_single, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, - "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -136,17 +113,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, "tls-certificates-and-hostnames_custom_trust_store_response_single": tls$$certificates$$and$$hostnames_custom_trust_store_response_single, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, - "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -157,19 +126,20 @@ export const tools: readonly Tool[] = [ { name: "acm_customTrustStore_delete", title: "Delete Custom Origin Trust Store", - description: "Removes a root CA certificate from the custom origin trust store. Origins using certificates signed by this CA will no longer be trusted.", + description: "Removes a root CA certificate from the custom origin trust store. Origins using certificates signed by this CA will no longer be trusted.\n\nDELETE /zones/{zone_id}/acm/custom_trust_store/{custom_origin_trust_store_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "custom_origin_trust_store_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -182,16 +152,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_id_only", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, "tls-certificates-and-hostnames_custom_trust_store_response_id_only": tls$$certificates$$and$$hostnames_custom_trust_store_response_id_only, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -230,7 +196,7 @@ export const tools: readonly Tool[] = [ "4XX": { "allOf": [ { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier" + "type": "string" }, { "$ref": "#/$defs/tls-certificates-and-hostnames_api-response-common-failure" @@ -241,7 +207,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, "tls-certificates-and-hostnames_custom_trust_store_response_id_only": tls$$certificates$$and$$hostnames_custom_trust_store_response_id_only, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -253,19 +218,20 @@ export const tools: readonly Tool[] = [ { name: "acm_customTrustStore_get", title: "Custom Origin Trust Store Details", - description: "Retrieves details about a specific root CA certificate in the custom origin trust store, including expiration and subject information.", + description: "Retrieves details about a specific root CA certificate in the custom origin trust store, including expiration and subject information.\n\nGET /zones/{zone_id}/acm/custom_trust_store/{custom_origin_trust_store_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "custom_origin_trust_store_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_identifier", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -278,26 +244,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, "tls-certificates-and-hostnames_custom_trust_store_response_single": tls$$certificates$$and$$hostnames_custom_trust_store_response_single, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, - "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -345,17 +300,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, "tls-certificates-and-hostnames_custom_trust_store_response_single": tls$$certificates$$and$$hostnames_custom_trust_store_response_single, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, - "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -365,15 +312,16 @@ export const tools: readonly Tool[] = [ { name: "acm_customTrustStore_list", title: "List Custom Origin Trust Store Details", - description: "Get Custom Origin Trust Store for a Zone.", + description: "Get Custom Origin Trust Store for a Zone.\n\nGET /zones/{zone_id}/acm/custom_trust_store", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -382,6 +330,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "description": "Limit to the number of records returned.", @@ -408,26 +357,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_trust_store_response_collection", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, "tls-certificates-and-hostnames_custom_trust_store_response_collection": tls$$certificates$$and$$hostnames_custom_trust_store_response_collection, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, - "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -476,17 +415,9 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate-3": tls$$certificates$$and$$hostnames_certificate$$3, "tls-certificates-and-hostnames_custom-trust-store": tls$$certificates$$and$$hostnames_custom$$trust$$store, - "tls-certificates-and-hostnames_custom_trust_store_identifier": tls$$certificates$$and$$hostnames_custom_trust_store_identifier, "tls-certificates-and-hostnames_custom_trust_store_response_collection": tls$$certificates$$and$$hostnames_custom_trust_store_response_collection, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-7": tls$$certificates$$and$$hostnames_status$$7, - "tls-certificates-and-hostnames_updated_at-2": tls$$certificates$$and$$hostnames_updated_at$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/acm/totalTls/outputs.ts b/src/generated/forge-mcp/acm/totalTls/outputs.ts index 0b5809cdd..1e08e58b5 100644 --- a/src/generated/forge-mcp/acm/totalTls/outputs.ts +++ b/src/generated/forge-mcp/acm/totalTls/outputs.ts @@ -3,26 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_certificate_authority-3` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_certificate_authority$$3: JsonSchema = { - "enum": [ - "google", - "lets_encrypt", - "ssl_com" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_enabled-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_enabled$$3: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `tls-certificates-and-hostnames_total_tls_settings_response` in * responses. @@ -37,13 +17,21 @@ export const tls$$certificates$$and$$hostnames_total_tls_settings_response: Json "result": { "properties": { "certificate_authority": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-3" + "enum": [ + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-3" + "type": "boolean" }, "validity_period": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validity_period" + "enum": [ + 90 + ], + "type": "integer" } }, "type": "object" @@ -53,13 +41,3 @@ export const tls$$certificates$$and$$hostnames_total_tls_settings_response: Json } ] }; - -/** - * The schema of `tls-certificates-and-hostnames_validity_period` in responses. - */ -export const tls$$certificates$$and$$hostnames_validity_period: JsonSchema = { - "enum": [ - 90 - ], - "type": "integer" -}; diff --git a/src/generated/forge-mcp/acm/totalTls/schemas.ts b/src/generated/forge-mcp/acm/totalTls/schemas.ts deleted file mode 100644 index b81e40678..000000000 --- a/src/generated/forge-mcp/acm/totalTls/schemas.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 `tls-certificates-and-hostnames_certificate_authority-3`. - */ -export const tls$$certificates$$and$$hostnames_certificate_authority$$3: JsonSchema = { - "description": "The Certificate Authority that Total TLS certificates will be issued through.", - "enum": [ - "google", - "lets_encrypt", - "ssl_com" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_enabled-3`. - */ -export const tls$$certificates$$and$$hostnames_enabled$$3: JsonSchema = { - "description": "If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/acm/totalTls/tools.ts b/src/generated/forge-mcp/acm/totalTls/tools.ts index 9f51986ca..cef23c824 100644 --- a/src/generated/forge-mcp/acm/totalTls/tools.ts +++ b/src/generated/forge-mcp/acm/totalTls/tools.ts @@ -7,17 +7,7 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; -import { - tls$$certificates$$and$$hostnames_certificate_authority$$3, - tls$$certificates$$and$$hostnames_enabled$$3, - tls$$certificates$$and$$hostnames_total_tls_settings_response, - tls$$certificates$$and$$hostnames_validity_period, -} from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_certificate_authority$$3 as tls$$certificates$$and$$hostnames_certificate_authority$$3$, - tls$$certificates$$and$$hostnames_enabled$$3 as tls$$certificates$$and$$hostnames_enabled$$3$, -} from "./schemas.js"; +import { tls$$certificates$$and$$hostnames_total_tls_settings_response } from "./outputs.js"; /** * The tools of `acm.totalTls`. @@ -26,19 +16,24 @@ export const tools: readonly Tool[] = [ { name: "acm_totalTls_edit", title: "Enable or Disable Total TLS", - description: "Set Total TLS Settings or disable the feature for a Zone.", + description: "Set Total TLS Settings or disable the feature for a Zone.\n\nPOST /zones/{zone_id}/acm/total_tls", inputSchema: { type: "object", properties: { "body": { "properties": { "certificate_authority": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-3", - "description": "The Certificate Authority that Total TLS certificates will be issued through." + "description": "The Certificate Authority that Total TLS certificates will be issued through.", + "enum": [ + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-3", - "description": "If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone." + "description": "If enabled, Total TLS will order a hostname specific TLS certificate for any proxied A, AAAA, or CNAME record in your zone.", + "type": "boolean" } }, "required": [ @@ -47,10 +42,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -63,21 +59,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3$, - "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_total_tls_settings_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3, - "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_total_tls_settings_response": tls$$certificates$$and$$hostnames_total_tls_settings_response, - "tls-certificates-and-hostnames_validity_period": tls$$certificates$$and$$hostnames_validity_period, }, }, annotations: { @@ -125,11 +114,8 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3, - "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_total_tls_settings_response": tls$$certificates$$and$$hostnames_total_tls_settings_response, - "tls-certificates-and-hostnames_validity_period": tls$$certificates$$and$$hostnames_validity_period, }, }, request: (args) => ({ @@ -140,15 +126,16 @@ export const tools: readonly Tool[] = [ { name: "acm_totalTls_get", title: "Total TLS Settings Details", - description: "Get Total TLS Settings for a Zone.", + description: "Get Total TLS Settings for a Zone.\n\nGET /zones/{zone_id}/acm/total_tls", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -160,19 +147,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_total_tls_settings_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3, - "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_total_tls_settings_response": tls$$certificates$$and$$hostnames_total_tls_settings_response, - "tls-certificates-and-hostnames_validity_period": tls$$certificates$$and$$hostnames_validity_period, }, }, annotations: { @@ -220,11 +202,8 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-3": tls$$certificates$$and$$hostnames_certificate_authority$$3, - "tls-certificates-and-hostnames_enabled-3": tls$$certificates$$and$$hostnames_enabled$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_total_tls_settings_response": tls$$certificates$$and$$hostnames_total_tls_settings_response, - "tls-certificates-and-hostnames_validity_period": tls$$certificates$$and$$hostnames_validity_period, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts index 3145cb8e1..5a2be6acc 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/accounts/tools.ts @@ -8,8 +8,6 @@ import { addressing_api$$response$$common$$failure, addressing_messages, } from "../../outputs.js"; -import { addressing_account_identifier } from "../../schemas.js"; -import { addressing_address_map_identifier } from "../schemas.js"; /** * The tools of `addressing.addressMaps.accounts`. @@ -18,23 +16,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_accounts_delete", title: "Remove an account membership from an Address Map", - description: "Remove an account as a member of a particular address map.", + description: "Remove an account as a member of a particular address map.\n\nDELETE /accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{member_account_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" }, "member_account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -48,10 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", @@ -105,23 +101,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_accounts_update", title: "Add an account membership to an Address Map", - description: "Add an account as a member of a particular address map.", + description: "Add an account as a member of a particular address map.\n\nPUT /accounts/{account_id}/addressing/address_maps/{address_map_id}/accounts/{member_account_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" }, "member_account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -135,10 +132,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", diff --git a/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts index 1a8cf32a8..7c1843fe4 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/ips/tools.ts @@ -8,11 +8,6 @@ import { addressing_api$$response$$common$$failure, addressing_messages, } from "../../outputs.js"; -import { addressing_account_identifier } from "../../schemas.js"; -import { - addressing_address_map_identifier, - addressing_ip_address, -} from "../schemas.js"; /** * The tools of `addressing.addressMaps.ips`. @@ -21,23 +16,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_ips_delete", title: "Remove an IP from an Address Map", - description: "Remove an IP from a particular address map.", + description: "Remove an IP from a particular address map.\n\nDELETE /accounts/{account_id}/addressing/address_maps/{address_map_id}/ips/{ip_address}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" }, "ip_address": { - "$ref": "#/$defs/addressing_ip_address", - "description": "An IPv4 or IPv6 address." + "description": "An IPv4 or IPv6 address.", + "type": "string" } }, "required": [ @@ -51,11 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - "addressing_ip_address": addressing_ip_address, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", @@ -109,7 +101,7 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_ips_deleteBulk", title: "Remove Multiple IPs from an Address Map", - description: "Remove multiple IPs from a particular address map.", + description: "Remove multiple IPs from a particular address map.\n\nDELETE /accounts/{account_id}/addressing/address_maps/{address_map_id}/ips", inputSchema: { type: "object", properties: { @@ -117,7 +109,8 @@ export const tools: readonly Tool[] = [ "properties": { "ips": { "items": { - "$ref": "#/$defs/addressing_ip_address" + "description": "An IPv4 or IPv6 address.", + "type": "string" }, "type": "array" } @@ -128,14 +121,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" } }, "required": [ @@ -149,11 +143,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - "addressing_ip_address": addressing_ip_address, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", @@ -208,23 +198,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_ips_update", title: "Add an IP to an Address Map", - description: "Add an IP from a prefix owned by the account to a particular address map.", + description: "Add an IP from a prefix owned by the account to a particular address map.\n\nPUT /accounts/{account_id}/addressing/address_maps/{address_map_id}/ips/{ip_address}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" }, "ip_address": { - "$ref": "#/$defs/addressing_ip_address", - "description": "An IPv4 or IPv6 address." + "description": "An IPv4 or IPv6 address.", + "type": "string" } }, "required": [ @@ -238,11 +229,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - "addressing_ip_address": addressing_ip_address, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", @@ -296,7 +283,7 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_ips_updateBulk", title: "Add Multiple IPs to an Address Map", - description: "Add multiple IPs to a particular address map.", + description: "Add multiple IPs to a particular address map.\n\nPOST /accounts/{account_id}/addressing/address_maps/{address_map_id}/ips", inputSchema: { type: "object", properties: { @@ -304,7 +291,8 @@ export const tools: readonly Tool[] = [ "properties": { "ips": { "items": { - "$ref": "#/$defs/addressing_ip_address" + "description": "An IPv4 or IPv6 address.", + "type": "string" }, "type": "array" } @@ -315,14 +303,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" } }, "required": [ @@ -336,11 +325,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - "addressing_ip_address": addressing_ip_address, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", diff --git a/src/generated/forge-mcp/addressing/addressMaps/outputs.ts b/src/generated/forge-mcp/addressing/addressMaps/outputs.ts index c0a58d8f6..98f09c3c0 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/outputs.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/outputs.ts @@ -9,28 +9,51 @@ import type { JsonSchema } from "../../_/tool.js"; export const addressing_address$$maps: JsonSchema = { "properties": { "can_delete": { - "$ref": "#/$defs/addressing_can_delete" + "type": "boolean" }, "can_modify_ips": { - "$ref": "#/$defs/addressing_can_modify_ips" + "type": "boolean" }, "created_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "default_sni": { - "$ref": "#/$defs/addressing_default_sni" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "description": { - "$ref": "#/$defs/addressing_description-2" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "enabled": { - "$ref": "#/$defs/addressing_enabled" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "id": { - "$ref": "#/$defs/addressing_address_map_identifier" + "type": "string" }, "modified_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -42,10 +65,11 @@ export const addressing_address$$maps: JsonSchema = { export const addressing_address$$maps$$ip: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "ip": { - "$ref": "#/$defs/addressing_ip" + "type": "string" } }, "type": "object" @@ -57,91 +81,26 @@ export const addressing_address$$maps$$ip: JsonSchema = { export const addressing_address$$maps$$membership: JsonSchema = { "properties": { "can_delete": { - "$ref": "#/$defs/addressing_can_delete-2" + "type": "boolean" }, "created_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "identifier": { - "$ref": "#/$defs/addressing_identifier" + "type": "string" }, "kind": { - "$ref": "#/$defs/addressing_kind" + "enum": [ + "zone", + "account" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `addressing_address_map_identifier` in responses. - */ -export const addressing_address_map_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_can_delete` in responses. - */ -export const addressing_can_delete: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_can_delete-2` in responses. - */ -export const addressing_can_delete$$2: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_can_modify_ips` in responses. - */ -export const addressing_can_modify_ips: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_default_sni` in responses. - */ -export const addressing_default_sni: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_description-2` in responses. - */ -export const addressing_description$$2: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_enabled` in responses. - */ -export const addressing_enabled: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `addressing_full_response` in responses. */ @@ -176,20 +135,6 @@ export const addressing_full_response: JsonSchema = { ] }; -/** - * The schema of `addressing_identifier` in responses. - */ -export const addressing_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_ip` in responses. - */ -export const addressing_ip: JsonSchema = { - "type": "string" -}; - /** * The schema of `addressing_ips` in responses. */ @@ -200,17 +145,6 @@ export const addressing_ips: JsonSchema = { "type": "array" }; -/** - * The schema of `addressing_kind` in responses. - */ -export const addressing_kind: JsonSchema = { - "enum": [ - "zone", - "account" - ], - "type": "string" -}; - /** * The schema of `addressing_memberships` in responses. */ diff --git a/src/generated/forge-mcp/addressing/addressMaps/schemas.ts b/src/generated/forge-mcp/addressing/addressMaps/schemas.ts index d252f4223..e61335936 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/schemas.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/schemas.ts @@ -9,98 +9,21 @@ import type { JsonSchema } from "../../_/tool.js"; export const addressing_address$$maps$$membership$$request: JsonSchema = { "properties": { "identifier": { - "$ref": "#/$defs/addressing_identifier", - "description": "The identifier for the membership (eg. a zone or account tag)." + "description": "The identifier for the membership (eg. a zone or account tag).", + "type": "string" }, "kind": { - "$ref": "#/$defs/addressing_kind", - "description": "The type of the membership." + "description": "The type of the membership.", + "enum": [ + "zone", + "account" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `addressing_address_map_identifier`. - */ -export const addressing_address_map_identifier: JsonSchema = { - "description": "Identifier of an Address Map.", - "type": "string" -}; - -/** - * The schema of `addressing_default_sni`. - */ -export const addressing_default_sni: JsonSchema = { - "description": "If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_description-2`. - */ -export const addressing_description$$2: JsonSchema = { - "description": "An optional description field which may be used to describe the types of IPs or zones on the map.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_enabled`. - */ -export const addressing_enabled: JsonSchema = { - "description": "Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_identifier`. - */ -export const addressing_identifier: JsonSchema = { - "description": "The identifier for the membership (eg. a zone or account tag).", - "type": "string" -}; - -/** - * The schema of `addressing_ip_address`. - */ -export const addressing_ip_address: JsonSchema = { - "description": "An IPv4 or IPv6 address.", - "type": "string" -}; - -/** - * The schema of `addressing_kind`. - */ -export const addressing_kind: JsonSchema = { - "description": "The type of the membership.", - "enum": [ - "zone", - "account" - ], - "type": "string" -}; - /** * The schema of `addressing_membership_requests`. */ diff --git a/src/generated/forge-mcp/addressing/addressMaps/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/tools.ts index 9bbe5bd54..84d900657 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/tools.ts @@ -8,38 +8,19 @@ import { addressing_api$$response$$common$$failure, addressing_api$$response$$single, addressing_messages, - addressing_timestamp, } from "../outputs.js"; -import { addressing_account_identifier } from "../schemas.js"; import { addressing_address$$maps, addressing_address$$maps$$ip, addressing_address$$maps$$membership, - addressing_address_map_identifier, - addressing_can_delete, - addressing_can_delete$$2, - addressing_can_modify_ips, - addressing_default_sni, - addressing_description$$2, - addressing_enabled, addressing_full_response, - addressing_identifier, - addressing_ip, addressing_ips, - addressing_kind, addressing_memberships, addressing_response_collection$$3, addressing_single_response$$3, } from "./outputs.js"; import { addressing_address$$maps$$membership$$request, - addressing_address_map_identifier as addressing_address_map_identifier$, - addressing_default_sni as addressing_default_sni$, - addressing_description$$2 as addressing_description$$2$, - addressing_enabled as addressing_enabled$, - addressing_identifier as addressing_identifier$, - addressing_ip_address, - addressing_kind as addressing_kind$, addressing_membership_requests, } from "./schemas.js"; @@ -50,24 +31,39 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_create", title: "Create Address Map", - description: "Create a new address map under the account.", + description: "Create a new address map under the account.\n\nPOST /accounts/{account_id}/addressing/address_maps", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/addressing_description-2", - "description": "An optional description field which may be used to describe the types of IPs or zones on the map." + "description": "An optional description field which may be used to describe the types of IPs or zones on the map.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "enabled": { - "$ref": "#/$defs/addressing_enabled", "default": false, - "description": "Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled." + "description": "Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "ips": { "items": { - "$ref": "#/$defs/addressing_ip_address" + "description": "An IPv4 or IPv6 address.", + "type": "string" }, "type": "array" }, @@ -79,10 +75,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -95,14 +92,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "addressing_account_identifier": addressing_account_identifier, "addressing_address-maps-membership-request": addressing_address$$maps$$membership$$request, - "addressing_description-2": addressing_description$$2$, - "addressing_enabled": addressing_enabled$, - "addressing_identifier": addressing_identifier$, - "addressing_ip_address": addressing_ip_address, - "addressing_kind": addressing_kind$, "addressing_membership_requests": addressing_membership_requests, }, }, @@ -112,22 +104,11 @@ export const tools: readonly Tool[] = [ "addressing_address-maps": addressing_address$$maps, "addressing_address-maps-ip": addressing_address$$maps$$ip, "addressing_address-maps-membership": addressing_address$$maps$$membership, - "addressing_address_map_identifier": addressing_address_map_identifier, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_can_delete": addressing_can_delete, - "addressing_can_delete-2": addressing_can_delete$$2, - "addressing_can_modify_ips": addressing_can_modify_ips, - "addressing_default_sni": addressing_default_sni, - "addressing_description-2": addressing_description$$2, - "addressing_enabled": addressing_enabled, "addressing_full_response": addressing_full_response, - "addressing_identifier": addressing_identifier, - "addressing_ip": addressing_ip, "addressing_ips": addressing_ips, - "addressing_kind": addressing_kind, "addressing_memberships": addressing_memberships, "addressing_messages": addressing_messages, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -164,23 +145,12 @@ export const tools: readonly Tool[] = [ "addressing_address-maps": addressing_address$$maps, "addressing_address-maps-ip": addressing_address$$maps$$ip, "addressing_address-maps-membership": addressing_address$$maps$$membership, - "addressing_address_map_identifier": addressing_address_map_identifier, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_can_delete": addressing_can_delete, - "addressing_can_delete-2": addressing_can_delete$$2, - "addressing_can_modify_ips": addressing_can_modify_ips, - "addressing_default_sni": addressing_default_sni, - "addressing_description-2": addressing_description$$2, - "addressing_enabled": addressing_enabled, "addressing_full_response": addressing_full_response, - "addressing_identifier": addressing_identifier, - "addressing_ip": addressing_ip, "addressing_ips": addressing_ips, - "addressing_kind": addressing_kind, "addressing_memberships": addressing_memberships, "addressing_messages": addressing_messages, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -191,19 +161,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_delete", title: "Delete Address Map", - description: "Delete a particular address map owned by the account. An Address Map must be disabled before it can be deleted.", + description: "Delete a particular address map owned by the account. An Address Map must be disabled before it can be deleted.\n\nDELETE /accounts/{account_id}/addressing/address_maps/{address_map_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" } }, "required": [ @@ -216,10 +187,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", @@ -273,37 +241,59 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_edit", title: "Update Address Map", - description: "Modify properties of an address map owned by the account.", + description: "Modify properties of an address map owned by the account.\n\nPATCH /accounts/{account_id}/addressing/address_maps/{address_map_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "default_sni": { - "$ref": "#/$defs/addressing_default_sni", - "description": "If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account." + "description": "If you have legacy TLS clients which do not send the TLS server name indicator, then you can specify one default SNI on the map. If Cloudflare receives a TLS handshake from a client without an SNI, it will respond with the default SNI on those IPs. The default SNI can be any valid zone or subdomain owned by the account.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "description": { - "$ref": "#/$defs/addressing_description-2", - "description": "An optional description field which may be used to describe the types of IPs or zones on the map." + "description": "An optional description field which may be used to describe the types of IPs or zones on the map.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "enabled": { - "$ref": "#/$defs/addressing_enabled", "default": false, - "description": "Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled." + "description": "Whether the Address Map is enabled or not. Cloudflare's DNS will not respond with IP addresses on an Address Map until the map is enabled.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" } }, "required": [ @@ -317,28 +307,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier$, - "addressing_default_sni": addressing_default_sni$, - "addressing_description-2": addressing_description$$2$, - "addressing_enabled": addressing_enabled$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_single_response-3", $defs: { "addressing_address-maps": addressing_address$$maps, - "addressing_address_map_identifier": addressing_address_map_identifier, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_can_delete": addressing_can_delete, - "addressing_can_modify_ips": addressing_can_modify_ips, - "addressing_default_sni": addressing_default_sni, - "addressing_description-2": addressing_description$$2, - "addressing_enabled": addressing_enabled, "addressing_messages": addressing_messages, "addressing_single_response-3": addressing_single_response$$3, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -373,17 +350,10 @@ export const tools: readonly Tool[] = [ }, $defs: { "addressing_address-maps": addressing_address$$maps, - "addressing_address_map_identifier": addressing_address_map_identifier, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_can_delete": addressing_can_delete, - "addressing_can_modify_ips": addressing_can_modify_ips, - "addressing_default_sni": addressing_default_sni, - "addressing_description-2": addressing_description$$2, - "addressing_enabled": addressing_enabled, "addressing_messages": addressing_messages, "addressing_single_response-3": addressing_single_response$$3, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -394,19 +364,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_get", title: "Address Map Details", - description: "Show a particular address map owned by the account.", + description: "Show a particular address map owned by the account.\n\nGET /accounts/{account_id}/addressing/address_maps/{address_map_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" } }, "required": [ @@ -419,10 +390,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_full_response", @@ -430,22 +398,11 @@ export const tools: readonly Tool[] = [ "addressing_address-maps": addressing_address$$maps, "addressing_address-maps-ip": addressing_address$$maps$$ip, "addressing_address-maps-membership": addressing_address$$maps$$membership, - "addressing_address_map_identifier": addressing_address_map_identifier, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_can_delete": addressing_can_delete, - "addressing_can_delete-2": addressing_can_delete$$2, - "addressing_can_modify_ips": addressing_can_modify_ips, - "addressing_default_sni": addressing_default_sni, - "addressing_description-2": addressing_description$$2, - "addressing_enabled": addressing_enabled, "addressing_full_response": addressing_full_response, - "addressing_identifier": addressing_identifier, - "addressing_ip": addressing_ip, "addressing_ips": addressing_ips, - "addressing_kind": addressing_kind, "addressing_memberships": addressing_memberships, "addressing_messages": addressing_messages, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -483,23 +440,12 @@ export const tools: readonly Tool[] = [ "addressing_address-maps": addressing_address$$maps, "addressing_address-maps-ip": addressing_address$$maps$$ip, "addressing_address-maps-membership": addressing_address$$maps$$membership, - "addressing_address_map_identifier": addressing_address_map_identifier, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_can_delete": addressing_can_delete, - "addressing_can_delete-2": addressing_can_delete$$2, - "addressing_can_modify_ips": addressing_can_modify_ips, - "addressing_default_sni": addressing_default_sni, - "addressing_description-2": addressing_description$$2, - "addressing_enabled": addressing_enabled, "addressing_full_response": addressing_full_response, - "addressing_identifier": addressing_identifier, - "addressing_ip": addressing_ip, "addressing_ips": addressing_ips, - "addressing_kind": addressing_kind, "addressing_memberships": addressing_memberships, "addressing_messages": addressing_messages, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -509,15 +455,16 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_list", title: "List Address Maps", - description: "List all address maps owned by the account.", + description: "List all address maps owned by the account.\n\nGET /accounts/{account_id}/addressing/address_maps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -529,25 +476,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_response_collection-3", $defs: { "addressing_address-maps": addressing_address$$maps, - "addressing_address_map_identifier": addressing_address_map_identifier, "addressing_api-response-collection": addressing_api$$response$$collection, "addressing_api-response-common": addressing_api$$response$$common, - "addressing_can_delete": addressing_can_delete, - "addressing_can_modify_ips": addressing_can_modify_ips, - "addressing_default_sni": addressing_default_sni, - "addressing_description-2": addressing_description$$2, - "addressing_enabled": addressing_enabled, "addressing_messages": addressing_messages, "addressing_response_collection-3": addressing_response_collection$$3, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -583,18 +521,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "addressing_address-maps": addressing_address$$maps, - "addressing_address_map_identifier": addressing_address_map_identifier, "addressing_api-response-collection": addressing_api$$response$$collection, "addressing_api-response-common": addressing_api$$response$$common, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, - "addressing_can_delete": addressing_can_delete, - "addressing_can_modify_ips": addressing_can_modify_ips, - "addressing_default_sni": addressing_default_sni, - "addressing_description-2": addressing_description$$2, - "addressing_enabled": addressing_enabled, "addressing_messages": addressing_messages, "addressing_response_collection-3": addressing_response_collection$$3, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/addressMaps/zones/schemas.ts b/src/generated/forge-mcp/addressing/addressMaps/zones/schemas.ts deleted file mode 100644 index a5ddc95e9..000000000 --- a/src/generated/forge-mcp/addressing/addressMaps/zones/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `addressing_zone_identifier`. - */ -export const addressing_zone_identifier: JsonSchema = { - "description": "Identifier of a zone.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts b/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts index 096106cab..92f740cd6 100644 --- a/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts +++ b/src/generated/forge-mcp/addressing/addressMaps/zones/tools.ts @@ -8,9 +8,6 @@ import { addressing_api$$response$$common$$failure, addressing_messages, } from "../../outputs.js"; -import { addressing_account_identifier } from "../../schemas.js"; -import { addressing_address_map_identifier } from "../schemas.js"; -import { addressing_zone_identifier } from "./schemas.js"; /** * The tools of `addressing.addressMaps.zones`. @@ -19,23 +16,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_zones_delete", title: "Remove a zone membership from an Address Map", - description: "Remove a zone as a member of a particular address map.", + description: "Remove a zone as a member of a particular address map.\n\nDELETE /accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{member_zone_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" }, "member_zone_id": { - "$ref": "#/$defs/addressing_zone_identifier", - "description": "Identifier of a zone." + "description": "Identifier of a zone.", + "type": "string" } }, "required": [ @@ -49,11 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - "addressing_zone_identifier": addressing_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", @@ -107,7 +101,7 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_zones_deleteBulk", title: "Remove Multiple Zones from an Address Map", - description: "Remove multiple zones as members of a particular address map.", + description: "Remove multiple zones as members of a particular address map.\n\nDELETE /accounts/{account_id}/addressing/address_maps/{address_map_id}/zones", inputSchema: { type: "object", properties: { @@ -115,7 +109,8 @@ export const tools: readonly Tool[] = [ "properties": { "zones": { "items": { - "$ref": "#/$defs/addressing_zone_identifier" + "description": "Identifier of a zone.", + "type": "string" }, "type": "array" } @@ -126,14 +121,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" } }, "required": [ @@ -147,11 +143,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - "addressing_zone_identifier": addressing_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", @@ -206,23 +198,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_zones_update", title: "Add a zone membership to an Address Map", - description: "Add a zone as a member of a particular address map.", + description: "Add a zone as a member of a particular address map.\n\nPUT /accounts/{account_id}/addressing/address_maps/{address_map_id}/zones/{member_zone_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" }, "member_zone_id": { - "$ref": "#/$defs/addressing_zone_identifier", - "description": "Identifier of a zone." + "description": "Identifier of a zone.", + "type": "string" } }, "required": [ @@ -236,11 +229,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - "addressing_zone_identifier": addressing_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", @@ -289,7 +278,7 @@ export const tools: readonly Tool[] = [ { name: "addressing_addressMaps_zones_updateBulk", title: "Add Multiple Zones to an Address Map", - description: "Add multiple zones as members of a particular address map.", + description: "Add multiple zones as members of a particular address map.\n\nPOST /accounts/{account_id}/addressing/address_maps/{address_map_id}/zones", inputSchema: { type: "object", properties: { @@ -297,7 +286,8 @@ export const tools: readonly Tool[] = [ "properties": { "zones": { "items": { - "$ref": "#/$defs/addressing_zone_identifier" + "description": "Identifier of a zone.", + "type": "string" }, "type": "array" } @@ -308,14 +298,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "address_map_id": { - "$ref": "#/$defs/addressing_address_map_identifier", - "description": "Identifier of an Address Map." + "description": "Identifier of an Address Map.", + "type": "string" } }, "required": [ @@ -329,11 +320,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_address_map_identifier": addressing_address_map_identifier, - "addressing_zone_identifier": addressing_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-collection", diff --git a/src/generated/forge-mcp/addressing/leases/outputs.ts b/src/generated/forge-mcp/addressing/leases/outputs.ts index f9efb3bad..7b75834e3 100644 --- a/src/generated/forge-mcp/addressing/leases/outputs.ts +++ b/src/generated/forge-mcp/addressing/leases/outputs.ts @@ -3,21 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `addressing_cidr-2` in responses. - */ -export const addressing_cidr$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_created_at` in responses. - */ -export const addressing_created_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `addressing_lease` in responses. */ @@ -29,21 +14,23 @@ export const addressing_lease: JsonSchema = { }, "cidrs": { "items": { - "$ref": "#/$defs/addressing_cidr-2" + "type": "string" }, "type": "array" }, "created_at": { - "$ref": "#/$defs/addressing_created_at" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/addressing_lease_id" + "type": "string" }, "modified_at": { - "$ref": "#/$defs/addressing_modified_at" + "format": "date-time", + "type": "string" }, "owner_id": { - "$ref": "#/$defs/addressing_lease_owner_id" + "type": "string" }, "purpose": { "type": "string" @@ -52,28 +39,6 @@ export const addressing_lease: JsonSchema = { "type": "object" }; -/** - * The schema of `addressing_lease_id` in responses. - */ -export const addressing_lease_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_lease_owner_id` in responses. - */ -export const addressing_lease_owner_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_modified_at` in responses. - */ -export const addressing_modified_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `addressing_response_collection-4` in responses. */ diff --git a/src/generated/forge-mcp/addressing/leases/schemas.ts b/src/generated/forge-mcp/addressing/leases/schemas.ts deleted file mode 100644 index ceacb718b..000000000 --- a/src/generated/forge-mcp/addressing/leases/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `addressing_account_identifier-2`. - */ -export const addressing_account_identifier$$2: JsonSchema = { - "description": "Identifier of a Cloudflare account.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/leases/tools.ts b/src/generated/forge-mcp/addressing/leases/tools.ts index af0d94bd1..c81110897 100644 --- a/src/generated/forge-mcp/addressing/leases/tools.ts +++ b/src/generated/forge-mcp/addressing/leases/tools.ts @@ -9,15 +9,9 @@ import { addressing_messages, } from "../outputs.js"; import { - addressing_cidr$$2, - addressing_created_at, addressing_lease, - addressing_lease_id, - addressing_lease_owner_id, - addressing_modified_at, addressing_response_collection$$4, } from "./outputs.js"; -import { addressing_account_identifier$$2 } from "./schemas.js"; /** * The tools of `addressing.leases`. @@ -26,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "addressing_leases_list", title: "List Leases", - description: "List all leases owned by the account.", + description: "List all leases owned by the account.\n\nGET /accounts/{account_id}/addressing/leases", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier-2", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -46,22 +41,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier-2": addressing_account_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_response_collection-4", $defs: { "addressing_api-response-collection": addressing_api$$response$$collection, "addressing_api-response-common": addressing_api$$response$$common, - "addressing_cidr-2": addressing_cidr$$2, - "addressing_created_at": addressing_created_at, "addressing_lease": addressing_lease, - "addressing_lease_id": addressing_lease_id, - "addressing_lease_owner_id": addressing_lease_owner_id, "addressing_messages": addressing_messages, - "addressing_modified_at": addressing_modified_at, "addressing_response_collection-4": addressing_response_collection$$4, }, }, @@ -97,13 +85,8 @@ export const tools: readonly Tool[] = [ "addressing_api-response-collection": addressing_api$$response$$collection, "addressing_api-response-common": addressing_api$$response$$common, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, - "addressing_cidr-2": addressing_cidr$$2, - "addressing_created_at": addressing_created_at, "addressing_lease": addressing_lease, - "addressing_lease_id": addressing_lease_id, - "addressing_lease_owner_id": addressing_lease_owner_id, "addressing_messages": addressing_messages, - "addressing_modified_at": addressing_modified_at, "addressing_response_collection-4": addressing_response_collection$$4, }, }, diff --git a/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts b/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts index 2d835d218..89ee9a9a7 100644 --- a/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts +++ b/src/generated/forge-mcp/addressing/loaDocuments/outputs.ts @@ -3,48 +3,50 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `addressing_auto_generated` in responses. - */ -export const addressing_auto_generated: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_filename` in responses. - */ -export const addressing_filename: JsonSchema = { - "type": "string" -}; - /** * The schema of `addressing_loa_document` in responses. */ export const addressing_loa_document: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier" + "type": "string" }, "auto_generated": { - "$ref": "#/$defs/addressing_auto_generated" + "type": "boolean" }, "created": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "filename": { - "$ref": "#/$defs/addressing_filename" + "type": "string" }, "id": { - "$ref": "#/$defs/addressing_loa_document_identifier" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "size_bytes": { - "$ref": "#/$defs/addressing_size_bytes" + "type": "integer" }, "verified": { - "$ref": "#/$defs/addressing_verified" + "type": "boolean" }, "verified_at": { - "$ref": "#/$defs/addressing_verified_at" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" @@ -71,32 +73,3 @@ export const addressing_loa_document_collection: JsonSchema = { } ] }; - -/** - * The schema of `addressing_size_bytes` in responses. - */ -export const addressing_size_bytes: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `addressing_verified` in responses. - */ -export const addressing_verified: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_verified_at` in responses. - */ -export const addressing_verified_at: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; diff --git a/src/generated/forge-mcp/addressing/loaDocuments/tools.ts b/src/generated/forge-mcp/addressing/loaDocuments/tools.ts index a8c15d061..9750e3dbe 100644 --- a/src/generated/forge-mcp/addressing/loaDocuments/tools.ts +++ b/src/generated/forge-mcp/addressing/loaDocuments/tools.ts @@ -3,26 +3,14 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - addressing_account_identifier, addressing_api$$response$$collection, addressing_api$$response$$common, addressing_api$$response$$common$$failure, - addressing_loa_document_identifier, addressing_messages, - addressing_timestamp, } from "../outputs.js"; import { - addressing_account_identifier as addressing_account_identifier$, - addressing_loa_document_identifier as addressing_loa_document_identifier$, -} from "../schemas.js"; -import { - addressing_auto_generated, - addressing_filename, addressing_loa_document, addressing_loa_document_collection, - addressing_size_bytes, - addressing_verified, - addressing_verified_at, } from "./outputs.js"; /** @@ -32,19 +20,27 @@ export const tools: readonly Tool[] = [ { name: "addressing_loaDocuments_get", title: "Download LOA Document", - description: "Download specified LOA document under the account.", + description: "Download specified LOA document under the account.\n\nGET /accounts/{account_id}/addressing/loa_documents/{loa_document_id}/download", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "loa_document_id": { - "$ref": "#/$defs/addressing_loa_document_identifier", - "description": "Identifier for the uploaded LOA document." + "description": "Identifier for the uploaded LOA document.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -57,10 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier$, - "addressing_loa_document_identifier": addressing_loa_document_identifier$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -96,15 +89,16 @@ export const tools: readonly Tool[] = [ { name: "addressing_loaDocuments_list", title: "List LOA Documents", - description: "List all LOA documents uploaded under the account.", + description: "List all LOA documents uploaded under the account.\n\nGET /accounts/{account_id}/addressing/loa_documents", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -116,26 +110,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_loa_document_collection", $defs: { - "addressing_account_identifier": addressing_account_identifier, "addressing_api-response-collection": addressing_api$$response$$collection, "addressing_api-response-common": addressing_api$$response$$common, - "addressing_auto_generated": addressing_auto_generated, - "addressing_filename": addressing_filename, "addressing_loa_document": addressing_loa_document, "addressing_loa_document_collection": addressing_loa_document_collection, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_size_bytes": addressing_size_bytes, - "addressing_timestamp": addressing_timestamp, - "addressing_verified": addressing_verified, - "addressing_verified_at": addressing_verified_at, }, }, annotations: { @@ -170,20 +154,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier, "addressing_api-response-collection": addressing_api$$response$$collection, "addressing_api-response-common": addressing_api$$response$$common, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, - "addressing_auto_generated": addressing_auto_generated, - "addressing_filename": addressing_filename, "addressing_loa_document": addressing_loa_document, "addressing_loa_document_collection": addressing_loa_document_collection, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_size_bytes": addressing_size_bytes, - "addressing_timestamp": addressing_timestamp, - "addressing_verified": addressing_verified, - "addressing_verified_at": addressing_verified_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/outputs.ts b/src/generated/forge-mcp/addressing/outputs.ts index cf614f53a..85d251a44 100644 --- a/src/generated/forge-mcp/addressing/outputs.ts +++ b/src/generated/forge-mcp/addressing/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `addressing_account_identifier` in responses. - */ -export const addressing_account_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `addressing_api-response-collection` in responses. */ @@ -128,20 +121,6 @@ export const addressing_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `addressing_loa_document_identifier` in responses. - */ -export const addressing_loa_document_identifier: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `addressing_messages` in responses. */ @@ -174,25 +153,3 @@ export const addressing_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `addressing_service_identifier` in responses. - */ -export const addressing_service_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_service_name` in responses. - */ -export const addressing_service_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_timestamp` in responses. - */ -export const addressing_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts index b80f6b7ec..2bdd9aed4 100644 --- a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts +++ b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/outputs.ts @@ -3,141 +3,102 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `addressing_advertised-2` in responses. - */ -export const addressing_advertised$$2: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_asn-2` in responses. - */ -export const addressing_asn$$2: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_asn_prepend_count` in responses. - */ -export const addressing_asn_prepend_count: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `addressing_auto_advertise_withdraw` in responses. - */ -export const addressing_auto_advertise_withdraw: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `addressing_bgp_on_demand` in responses. */ export const addressing_bgp_on_demand: JsonSchema = { "properties": { "advertised": { - "$ref": "#/$defs/addressing_advertised-2" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "advertised_modified_at": { - "$ref": "#/$defs/addressing_modified_at_nullable" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "on_demand_enabled": { - "$ref": "#/$defs/addressing_on_demand_enabled-2" + "type": "boolean" }, "on_demand_locked": { - "$ref": "#/$defs/addressing_on_demand_locked-2" + "type": "boolean" } }, "type": "object" }; -/** - * The schema of `addressing_bgp_prefix_identifier` in responses. - */ -export const addressing_bgp_prefix_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `addressing_bgp_signal_opts` in responses. */ export const addressing_bgp_signal_opts: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/addressing_bgp_signaling_enabled" + "type": "boolean" }, "modified_at": { - "$ref": "#/$defs/addressing_bgp_signaling_modified_at" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" }; -/** - * The schema of `addressing_bgp_signaling_enabled` in responses. - */ -export const addressing_bgp_signaling_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_bgp_signaling_modified_at` in responses. - */ -export const addressing_bgp_signaling_modified_at: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `addressing_ipam-bgp-prefixes` in responses. */ export const addressing_ipam$$bgp$$prefixes: JsonSchema = { "properties": { "asn": { - "$ref": "#/$defs/addressing_asn-2" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "asn_prepend_count": { - "$ref": "#/$defs/addressing_asn_prepend_count" + "type": "integer" }, "auto_advertise_withdraw": { - "$ref": "#/$defs/addressing_auto_advertise_withdraw" + "type": "boolean" }, "bgp_signal_opts": { "$ref": "#/$defs/addressing_bgp_signal_opts" }, "cidr": { - "$ref": "#/$defs/addressing_cidr" + "type": "string" }, "created_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/addressing_bgp_prefix_identifier" + "type": "string" }, "modified_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "on_demand": { "$ref": "#/$defs/addressing_bgp_on_demand" @@ -146,20 +107,6 @@ export const addressing_ipam$$bgp$$prefixes: JsonSchema = { "type": "object" }; -/** - * The schema of `addressing_on_demand_enabled-2` in responses. - */ -export const addressing_on_demand_enabled$$2: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_on_demand_locked-2` in responses. - */ -export const addressing_on_demand_locked$$2: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `addressing_response_collection_bgp` in responses. */ diff --git a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/schemas.ts b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/schemas.ts index d35407707..a19ef66cc 100644 --- a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/schemas.ts +++ b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/schemas.ts @@ -3,30 +3,14 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `addressing_asn_prepend_count`. - */ -export const addressing_asn_prepend_count: JsonSchema = { - "description": "Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute", - "type": "integer" -}; - -/** - * The schema of `addressing_auto_advertise_withdraw`. - */ -export const addressing_auto_advertise_withdraw: JsonSchema = { - "description": "Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there are no matching BGP routes, and will resume advertising when there is at least one matching BGP route.", - "type": "boolean" -}; - /** * The schema of `addressing_bgp_prefix_create`. */ export const addressing_bgp_prefix_create: JsonSchema = { "properties": { "cidr": { - "$ref": "#/$defs/addressing_cidr", - "description": "IP Prefix in Classless Inter-Domain Routing format." + "description": "IP Prefix in Classless Inter-Domain Routing format.", + "type": "string" } }, "required": [ @@ -35,28 +19,20 @@ export const addressing_bgp_prefix_create: JsonSchema = { "type": "object" }; -/** - * The schema of `addressing_bgp_prefix_identifier`. - */ -export const addressing_bgp_prefix_identifier: JsonSchema = { - "description": "Identifier of BGP Prefix.", - "type": "string" -}; - /** * The schema of `addressing_bgp_prefix_update_advertisement`. */ export const addressing_bgp_prefix_update_advertisement: JsonSchema = { "properties": { "asn_prepend_count": { - "$ref": "#/$defs/addressing_asn_prepend_count", "default": 0, - "description": "Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute" + "description": "Number of times to prepend the Cloudflare ASN to the BGP AS-Path attribute", + "type": "integer" }, "auto_advertise_withdraw": { - "$ref": "#/$defs/addressing_auto_advertise_withdraw", "default": false, - "description": "Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there are no matching BGP routes, and will resume advertising when there is at least one matching BGP route." + "description": "Determines if Cloudflare advertises a BYOIP BGP prefix even when there is no matching BGP prefix in the Magic routing table. When true, Cloudflare will automatically withdraw the BGP prefix when there are no matching BGP routes, and will resume advertising when there is at least one matching BGP route.", + "type": "boolean" }, "on_demand": { "properties": { diff --git a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts index 4546a1095..b90d0aac3 100644 --- a/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/bgpPrefixes/tools.ts @@ -7,38 +7,16 @@ import { addressing_api$$response$$common$$failure, addressing_api$$response$$single, addressing_messages, - addressing_timestamp, } from "../../outputs.js"; -import { addressing_account_identifier } from "../../schemas.js"; import { - addressing_cidr, - addressing_modified_at_nullable, -} from "../outputs.js"; -import { - addressing_cidr as addressing_cidr$, - addressing_prefix_identifier, -} from "../schemas.js"; -import { - addressing_advertised$$2, - addressing_asn$$2, - addressing_asn_prepend_count, - addressing_auto_advertise_withdraw, addressing_bgp_on_demand, - addressing_bgp_prefix_identifier, addressing_bgp_signal_opts, - addressing_bgp_signaling_enabled, - addressing_bgp_signaling_modified_at, addressing_ipam$$bgp$$prefixes, - addressing_on_demand_enabled$$2, - addressing_on_demand_locked$$2, addressing_response_collection_bgp, addressing_single_response_bgp, } from "./outputs.js"; import { - addressing_asn_prepend_count as addressing_asn_prepend_count$, - addressing_auto_advertise_withdraw as addressing_auto_advertise_withdraw$, addressing_bgp_prefix_create, - addressing_bgp_prefix_identifier as addressing_bgp_prefix_identifier$, addressing_bgp_prefix_update_advertisement, } from "./schemas.js"; @@ -49,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_bgpPrefixes_create", title: "Create BGP Prefix", - description: "Create a BGP prefix, controlling the BGP advertisement status of a specific subnet. When created, BGP prefixes are initially withdrawn, and can be advertised with the Update BGP Prefix API.", + description: "Create a BGP prefix, controlling the BGP advertisement status of a specific subnet. When created, BGP prefixes are initially withdrawn, and can be advertised with the Update BGP Prefix API.\n\nPOST /accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/prefixes", inputSchema: { type: "object", properties: { @@ -57,14 +35,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/addressing_bgp_prefix_create" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -78,34 +57,20 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "addressing_account_identifier": addressing_account_identifier, "addressing_bgp_prefix_create": addressing_bgp_prefix_create, - "addressing_cidr": addressing_cidr$, - "addressing_prefix_identifier": addressing_prefix_identifier, }, }, outputSchema: { "$ref": "#/$defs/addressing_single_response_bgp", $defs: { - "addressing_advertised-2": addressing_advertised$$2, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_asn-2": addressing_asn$$2, - "addressing_asn_prepend_count": addressing_asn_prepend_count, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, "addressing_bgp_on_demand": addressing_bgp_on_demand, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, "addressing_bgp_signal_opts": addressing_bgp_signal_opts, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, - "addressing_cidr": addressing_cidr, "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, "addressing_messages": addressing_messages, - "addressing_modified_at_nullable": addressing_modified_at_nullable, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, - "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, "addressing_single_response_bgp": addressing_single_response_bgp, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -134,25 +99,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_advertised-2": addressing_advertised$$2, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_asn-2": addressing_asn$$2, - "addressing_asn_prepend_count": addressing_asn_prepend_count, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, "addressing_bgp_on_demand": addressing_bgp_on_demand, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, "addressing_bgp_signal_opts": addressing_bgp_signal_opts, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, - "addressing_cidr": addressing_cidr, "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, "addressing_messages": addressing_messages, - "addressing_modified_at_nullable": addressing_modified_at_nullable, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, - "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, "addressing_single_response_bgp": addressing_single_response_bgp, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -163,23 +116,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_bgpPrefixes_delete", title: "Delete BGP Prefix", - description: "Delete a BGP Prefix associated with the specified IP Prefix. A BGP Prefix must be withdrawn before it can be deleted.", + description: "Delete a BGP Prefix associated with the specified IP Prefix. A BGP Prefix must be withdrawn before it can be deleted.\n\nDELETE /accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/prefixes/{bgp_prefix_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "bgp_prefix_id": { - "$ref": "#/$defs/addressing_bgp_prefix_identifier", - "description": "Identifier of BGP Prefix." + "description": "Identifier of BGP Prefix.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -193,11 +147,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier$, - "addressing_prefix_identifier": addressing_prefix_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-common", @@ -237,7 +187,7 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_bgpPrefixes_edit", title: "Update BGP Prefix", - description: "Update the properties of a BGP Prefix, such as the on demand advertisement status (advertised or withdrawn).", + description: "Update the properties of a BGP Prefix, such as the on demand advertisement status (advertised or withdrawn).\n\nPATCH /accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/prefixes/{bgp_prefix_id}", inputSchema: { type: "object", properties: { @@ -245,18 +195,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/addressing_bgp_prefix_update_advertisement" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "bgp_prefix_id": { - "$ref": "#/$defs/addressing_bgp_prefix_identifier", - "description": "Identifier of BGP Prefix." + "description": "Identifier of BGP Prefix.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -271,36 +222,20 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_asn_prepend_count": addressing_asn_prepend_count$, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw$, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier$, "addressing_bgp_prefix_update_advertisement": addressing_bgp_prefix_update_advertisement, - "addressing_prefix_identifier": addressing_prefix_identifier, }, }, outputSchema: { "$ref": "#/$defs/addressing_single_response_bgp", $defs: { - "addressing_advertised-2": addressing_advertised$$2, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_asn-2": addressing_asn$$2, - "addressing_asn_prepend_count": addressing_asn_prepend_count, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, "addressing_bgp_on_demand": addressing_bgp_on_demand, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, "addressing_bgp_signal_opts": addressing_bgp_signal_opts, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, - "addressing_cidr": addressing_cidr, "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, "addressing_messages": addressing_messages, - "addressing_modified_at_nullable": addressing_modified_at_nullable, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, - "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, "addressing_single_response_bgp": addressing_single_response_bgp, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -336,25 +271,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_advertised-2": addressing_advertised$$2, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_asn-2": addressing_asn$$2, - "addressing_asn_prepend_count": addressing_asn_prepend_count, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, "addressing_bgp_on_demand": addressing_bgp_on_demand, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, "addressing_bgp_signal_opts": addressing_bgp_signal_opts, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, - "addressing_cidr": addressing_cidr, "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, "addressing_messages": addressing_messages, - "addressing_modified_at_nullable": addressing_modified_at_nullable, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, - "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, "addressing_single_response_bgp": addressing_single_response_bgp, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -365,23 +288,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_bgpPrefixes_get", title: "Fetch BGP Prefix", - description: "Retrieve a single BGP Prefix according to its identifier", + description: "Retrieve a single BGP Prefix according to its identifier\n\nGET /accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/prefixes/{bgp_prefix_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "bgp_prefix_id": { - "$ref": "#/$defs/addressing_bgp_prefix_identifier", - "description": "Identifier of BGP Prefix." + "description": "Identifier of BGP Prefix.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -395,33 +319,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier$, - "addressing_prefix_identifier": addressing_prefix_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_single_response_bgp", $defs: { - "addressing_advertised-2": addressing_advertised$$2, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_asn-2": addressing_asn$$2, - "addressing_asn_prepend_count": addressing_asn_prepend_count, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, "addressing_bgp_on_demand": addressing_bgp_on_demand, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, "addressing_bgp_signal_opts": addressing_bgp_signal_opts, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, - "addressing_cidr": addressing_cidr, "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, "addressing_messages": addressing_messages, - "addressing_modified_at_nullable": addressing_modified_at_nullable, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, - "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, "addressing_single_response_bgp": addressing_single_response_bgp, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -460,25 +368,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_advertised-2": addressing_advertised$$2, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_asn-2": addressing_asn$$2, - "addressing_asn_prepend_count": addressing_asn_prepend_count, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, "addressing_bgp_on_demand": addressing_bgp_on_demand, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, "addressing_bgp_signal_opts": addressing_bgp_signal_opts, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, - "addressing_cidr": addressing_cidr, "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, "addressing_messages": addressing_messages, - "addressing_modified_at_nullable": addressing_modified_at_nullable, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, - "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, "addressing_single_response_bgp": addressing_single_response_bgp, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -488,19 +384,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_bgpPrefixes_list", title: "List BGP Prefixes", - description: "List all BGP Prefixes within the specified IP Prefix. BGP Prefixes are used to control which specific subnets are advertised to the Internet. It is possible to advertise subnets more specific than an IP Prefix by creating more specific BGP Prefixes.", + description: "List all BGP Prefixes within the specified IP Prefix. BGP Prefixes are used to control which specific subnets are advertised to the Internet. It is possible to advertise subnets more specific than an IP Prefix by creating more specific BGP Prefixes.\n\nGET /accounts/{account_id}/addressing/prefixes/{prefix_id}/bgp/prefixes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -513,32 +410,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_response_collection_bgp", $defs: { - "addressing_advertised-2": addressing_advertised$$2, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_asn-2": addressing_asn$$2, - "addressing_asn_prepend_count": addressing_asn_prepend_count, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, "addressing_bgp_on_demand": addressing_bgp_on_demand, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, "addressing_bgp_signal_opts": addressing_bgp_signal_opts, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, - "addressing_cidr": addressing_cidr, "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, "addressing_messages": addressing_messages, - "addressing_modified_at_nullable": addressing_modified_at_nullable, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, - "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, "addressing_response_collection_bgp": addressing_response_collection_bgp, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -577,25 +459,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_advertised-2": addressing_advertised$$2, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_asn-2": addressing_asn$$2, - "addressing_asn_prepend_count": addressing_asn_prepend_count, - "addressing_auto_advertise_withdraw": addressing_auto_advertise_withdraw, "addressing_bgp_on_demand": addressing_bgp_on_demand, - "addressing_bgp_prefix_identifier": addressing_bgp_prefix_identifier, "addressing_bgp_signal_opts": addressing_bgp_signal_opts, - "addressing_bgp_signaling_enabled": addressing_bgp_signaling_enabled, - "addressing_bgp_signaling_modified_at": addressing_bgp_signaling_modified_at, - "addressing_cidr": addressing_cidr, "addressing_ipam-bgp-prefixes": addressing_ipam$$bgp$$prefixes, "addressing_messages": addressing_messages, - "addressing_modified_at_nullable": addressing_modified_at_nullable, - "addressing_on_demand_enabled-2": addressing_on_demand_enabled$$2, - "addressing_on_demand_locked-2": addressing_on_demand_locked$$2, "addressing_response_collection_bgp": addressing_response_collection_bgp, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts index ecf302b78..5b18acc24 100644 --- a/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts +++ b/src/generated/forge-mcp/addressing/prefixes/delegations/outputs.ts @@ -3,20 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `addressing_delegated_account_identifier` in responses. - */ -export const addressing_delegated_account_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_delegation_identifier` in responses. - */ -export const addressing_delegation_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `addressing_id_response` in responses. */ @@ -30,7 +16,7 @@ export const addressing_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/addressing_delegation_identifier" + "type": "string" } }, "type": "object" @@ -47,22 +33,24 @@ export const addressing_id_response: JsonSchema = { export const addressing_ipam$$delegations: JsonSchema = { "properties": { "cidr": { - "$ref": "#/$defs/addressing_cidr" + "type": "string" }, "created_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "delegated_account_id": { - "$ref": "#/$defs/addressing_delegated_account_identifier" + "type": "string" }, "id": { - "$ref": "#/$defs/addressing_delegation_identifier" + "type": "string" }, "modified_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "parent_prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/addressing/prefixes/delegations/schemas.ts b/src/generated/forge-mcp/addressing/prefixes/delegations/schemas.ts deleted file mode 100644 index 1f8c4b0e5..000000000 --- a/src/generated/forge-mcp/addressing/prefixes/delegations/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `addressing_delegated_account_identifier`. - */ -export const addressing_delegated_account_identifier: JsonSchema = { - "description": "Account identifier for the account to which prefix is being delegated.", - "type": "string" -}; - -/** - * The schema of `addressing_delegation_identifier`. - */ -export const addressing_delegation_identifier: JsonSchema = { - "description": "Identifier of a Delegation.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts b/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts index fcddbaa92..39df6feac 100644 --- a/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/delegations/tools.ts @@ -8,26 +8,13 @@ import { addressing_api$$response$$common$$failure, addressing_api$$response$$single, addressing_messages, - addressing_timestamp, } from "../../outputs.js"; -import { addressing_account_identifier } from "../../schemas.js"; -import { addressing_cidr, addressing_prefix_identifier } from "../outputs.js"; import { - addressing_cidr as addressing_cidr$, - addressing_prefix_identifier as addressing_prefix_identifier$, -} from "../schemas.js"; -import { - addressing_delegated_account_identifier, - addressing_delegation_identifier, addressing_id_response, addressing_ipam$$delegations, addressing_response_collection$$2, addressing_single_response$$2, } from "./outputs.js"; -import { - addressing_delegated_account_identifier as addressing_delegated_account_identifier$, - addressing_delegation_identifier as addressing_delegation_identifier$, -} from "./schemas.js"; /** * The tools of `addressing.prefixes.delegations`. @@ -36,19 +23,19 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_delegations_create", title: "Create Prefix Delegation", - description: "Create a new account delegation for a given IP prefix.", + description: "Create a new account delegation for a given IP prefix.\n\nPOST /accounts/{account_id}/addressing/prefixes/{prefix_id}/delegations", inputSchema: { type: "object", properties: { "body": { "properties": { "cidr": { - "$ref": "#/$defs/addressing_cidr", - "description": "IP Prefix in Classless Inter-Domain Routing format." + "description": "IP Prefix in Classless Inter-Domain Routing format.", + "type": "string" }, "delegated_account_id": { - "$ref": "#/$defs/addressing_delegated_account_identifier", - "description": "Account identifier for the account to which prefix is being delegated." + "description": "Account identifier for the account to which prefix is being delegated.", + "type": "string" } }, "required": [ @@ -58,14 +45,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -79,25 +67,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_cidr": addressing_cidr$, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier$, - "addressing_prefix_identifier": addressing_prefix_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_single_response-2", $defs: { "addressing_api-response-single": addressing_api$$response$$single, - "addressing_cidr": addressing_cidr, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier, - "addressing_delegation_identifier": addressing_delegation_identifier, "addressing_ipam-delegations": addressing_ipam$$delegations, "addressing_messages": addressing_messages, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response-2": addressing_single_response$$2, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -133,14 +111,9 @@ export const tools: readonly Tool[] = [ $defs: { "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_cidr": addressing_cidr, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier, - "addressing_delegation_identifier": addressing_delegation_identifier, "addressing_ipam-delegations": addressing_ipam$$delegations, "addressing_messages": addressing_messages, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response-2": addressing_single_response$$2, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ @@ -151,23 +124,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_delegations_delete", title: "Delete Prefix Delegation", - description: "Delete an account delegation for a given IP prefix.", + description: "Delete an account delegation for a given IP prefix.\n\nDELETE /accounts/{account_id}/addressing/prefixes/{prefix_id}/delegations/{delegation_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "delegation_id": { - "$ref": "#/$defs/addressing_delegation_identifier", - "description": "Identifier of a Delegation." + "description": "Identifier of a Delegation.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -181,17 +155,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_delegation_identifier": addressing_delegation_identifier$, - "addressing_prefix_identifier": addressing_prefix_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_id_response", $defs: { "addressing_api-response-single": addressing_api$$response$$single, - "addressing_delegation_identifier": addressing_delegation_identifier, "addressing_id_response": addressing_id_response, "addressing_messages": addressing_messages, }, @@ -229,7 +198,6 @@ export const tools: readonly Tool[] = [ $defs: { "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_delegation_identifier": addressing_delegation_identifier, "addressing_id_response": addressing_id_response, "addressing_messages": addressing_messages, }, @@ -241,19 +209,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_delegations_list", title: "List Prefix Delegations", - description: "List all delegations for a given account IP prefix.", + description: "List all delegations for a given account IP prefix.\n\nGET /accounts/{account_id}/addressing/prefixes/{prefix_id}/delegations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -266,24 +235,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_response_collection-2", $defs: { "addressing_api-response-collection": addressing_api$$response$$collection, "addressing_api-response-common": addressing_api$$response$$common, - "addressing_cidr": addressing_cidr, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier, - "addressing_delegation_identifier": addressing_delegation_identifier, "addressing_ipam-delegations": addressing_ipam$$delegations, "addressing_messages": addressing_messages, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_response_collection-2": addressing_response_collection$$2, - "addressing_timestamp": addressing_timestamp, }, }, annotations: { @@ -315,14 +276,9 @@ export const tools: readonly Tool[] = [ "addressing_api-response-collection": addressing_api$$response$$collection, "addressing_api-response-common": addressing_api$$response$$common, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, - "addressing_cidr": addressing_cidr, - "addressing_delegated_account_identifier": addressing_delegated_account_identifier, - "addressing_delegation_identifier": addressing_delegation_identifier, "addressing_ipam-delegations": addressing_ipam$$delegations, "addressing_messages": addressing_messages, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_response_collection-2": addressing_response_collection$$2, - "addressing_timestamp": addressing_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/prefixes/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/outputs.ts index dc156c335..44e9db187 100644 --- a/src/generated/forge-mcp/addressing/prefixes/outputs.ts +++ b/src/generated/forge-mcp/addressing/prefixes/outputs.ts @@ -3,176 +3,93 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `addressing_advertised` in responses. - */ -export const addressing_advertised: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_advertised_modified_at_nullable` in responses. - */ -export const addressing_advertised_modified_at_nullable: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_approved` in responses. - */ -export const addressing_approved: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_asn` in responses. - */ -export const addressing_asn: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `addressing_cidr` in responses. - */ -export const addressing_cidr: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_delegate_loa_creation` in responses. - */ -export const addressing_delegate_loa_creation: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_description` in responses. - */ -export const addressing_description: JsonSchema = { - "type": "string" -}; - /** * The schema of `addressing_ipam-prefixes` in responses. */ export const addressing_ipam$$prefixes: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier" + "type": "string" }, "advertised": { - "$ref": "#/$defs/addressing_advertised" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "advertised_modified_at": { - "$ref": "#/$defs/addressing_advertised_modified_at_nullable" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "approved": { - "$ref": "#/$defs/addressing_approved" + "type": "string" }, "asn": { - "$ref": "#/$defs/addressing_asn" + "type": "integer" }, "cidr": { - "$ref": "#/$defs/addressing_cidr" + "type": "string" }, "created_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "delegate_loa_creation": { - "$ref": "#/$defs/addressing_delegate_loa_creation" + "type": "boolean" }, "description": { - "$ref": "#/$defs/addressing_description" + "type": "string" }, "id": { - "$ref": "#/$defs/addressing_prefix_identifier" + "type": "string" }, "irr_validation_state": { - "$ref": "#/$defs/addressing_validation_state" + "type": "string" }, "loa_document_id": { - "$ref": "#/$defs/addressing_loa_document_identifier" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "modified_at": { - "$ref": "#/$defs/addressing_timestamp" + "format": "date-time", + "type": "string" }, "on_demand_enabled": { - "$ref": "#/$defs/addressing_on_demand_enabled" + "type": "boolean" }, "on_demand_locked": { - "$ref": "#/$defs/addressing_on_demand_locked" + "type": "boolean" }, "ownership_validation_state": { - "$ref": "#/$defs/addressing_validation_state" + "type": "string" }, "ownership_validation_token": { - "$ref": "#/$defs/addressing_ownership_validation_token" + "type": "string" }, "rpki_validation_state": { - "$ref": "#/$defs/addressing_validation_state" + "type": "string" } }, "type": "object" }; -/** - * The schema of `addressing_modified_at_nullable` in responses. - */ -export const addressing_modified_at_nullable: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_on_demand_enabled` in responses. - */ -export const addressing_on_demand_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_on_demand_locked` in responses. - */ -export const addressing_on_demand_locked: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `addressing_ownership_validation_token` in responses. - */ -export const addressing_ownership_validation_token: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `addressing_prefix_identifier` in responses. - */ -export const addressing_prefix_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `addressing_response_collection` in responses. */ @@ -213,10 +130,3 @@ export const addressing_single_response: JsonSchema = { } ] }; - -/** - * The schema of `addressing_validation_state` in responses. - */ -export const addressing_validation_state: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/prefixes/schemas.ts b/src/generated/forge-mcp/addressing/prefixes/schemas.ts deleted file mode 100644 index a8957b403..000000000 --- a/src/generated/forge-mcp/addressing/prefixes/schemas.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `addressing_asn`. - */ -export const addressing_asn: JsonSchema = { - "description": "Autonomous System Number (ASN) the prefix will be advertised under.", - "type": "integer" -}; - -/** - * The schema of `addressing_cidr`. - */ -export const addressing_cidr: JsonSchema = { - "description": "IP Prefix in Classless Inter-Domain Routing format.", - "type": "string" -}; - -/** - * The schema of `addressing_delegate_loa_creation`. - */ -export const addressing_delegate_loa_creation: JsonSchema = { - "description": "Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner.", - "type": "boolean" -}; - -/** - * The schema of `addressing_description`. - */ -export const addressing_description: JsonSchema = { - "description": "Description of the prefix.", - "type": "string" -}; - -/** - * The schema of `addressing_prefix_identifier`. - */ -export const addressing_prefix_identifier: JsonSchema = { - "description": "Identifier of an IP Prefix.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts index 44a22b634..a936aab85 100644 --- a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts +++ b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/outputs.ts @@ -26,27 +26,20 @@ export const addressing_provisioning: JsonSchema = { export const addressing_service_binding: JsonSchema = { "properties": { "cidr": { - "$ref": "#/$defs/addressing_cidr" + "type": "string" }, "id": { - "$ref": "#/$defs/addressing_service_binding_identifier" + "type": "string" }, "provisioning": { "$ref": "#/$defs/addressing_provisioning" }, "service_id": { - "$ref": "#/$defs/addressing_service_identifier" + "type": "string" }, "service_name": { - "$ref": "#/$defs/addressing_service_name" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `addressing_service_binding_identifier` in responses. - */ -export const addressing_service_binding_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/schemas.ts b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/schemas.ts index ae467d3a1..4a499dd20 100644 --- a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/schemas.ts +++ b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/schemas.ts @@ -9,12 +9,12 @@ import type { JsonSchema } from "../../../_/tool.js"; export const addressing_create_binding_request: JsonSchema = { "properties": { "cidr": { - "$ref": "#/$defs/addressing_cidr", - "description": "IP Prefix in Classless Inter-Domain Routing format." + "description": "IP Prefix in Classless Inter-Domain Routing format.", + "type": "string" }, "service_id": { - "$ref": "#/$defs/addressing_service_identifier", - "description": "Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the\n**List Services** endpoint.\n" + "description": "Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the\n**List Services** endpoint.", + "type": "string" } }, "required": [ @@ -23,11 +23,3 @@ export const addressing_create_binding_request: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `addressing_service_binding_identifier`. - */ -export const addressing_service_binding_identifier: JsonSchema = { - "description": "Identifier of a Service Binding.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts index 8624d50ad..cd9b0564b 100644 --- a/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/serviceBindings/tools.ts @@ -6,27 +6,12 @@ import { addressing_api$$response$$common, addressing_api$$response$$common$$failure, addressing_messages, - addressing_service_identifier, - addressing_service_name, } from "../../outputs.js"; -import { - addressing_account_identifier, - addressing_service_identifier as addressing_service_identifier$, -} from "../../schemas.js"; -import { addressing_cidr } from "../outputs.js"; -import { - addressing_cidr as addressing_cidr$, - addressing_prefix_identifier, -} from "../schemas.js"; import { addressing_provisioning, addressing_service_binding, - addressing_service_binding_identifier, } from "./outputs.js"; -import { - addressing_create_binding_request, - addressing_service_binding_identifier as addressing_service_binding_identifier$, -} from "./schemas.js"; +import { addressing_create_binding_request } from "./schemas.js"; /** * The tools of `addressing.prefixes.serviceBindings`. @@ -35,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_serviceBindings_create", title: "Create Service Binding", - description: "Creates a new Service Binding, routing traffic to IPs within the given CIDR to a service running on Cloudflare's network.\n**NOTE:** The first Service Binding created for an IP Prefix must exactly match the IP Prefix's CIDR. Subsequent Service Bindings may be created with a more-specific CIDR. Refer to the [Service Bindings Documentation](https://developers.cloudflare.com/byoip/service-bindings/) for compatibility details.", + description: "Creates a new Service Binding, routing traffic to IPs within the given CIDR to a service running on Cloudflare's network.\n**NOTE:** The first Service Binding created for an IP Prefix must exactly match the IP Prefix's CIDR. Subsequent Service Bindings may be created with a more-specific CIDR. Refer to the [Service Bindings Documentation](https://developers.cloudflare.com/byoip/service-bindings/) for compatibility details.\n\nPOST /accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings", inputSchema: { type: "object", properties: { @@ -43,14 +28,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/addressing_create_binding_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -63,12 +49,9 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_cidr": addressing_cidr$, "addressing_create_binding_request": addressing_create_binding_request, - "addressing_prefix_identifier": addressing_prefix_identifier, - "addressing_service_identifier": addressing_service_identifier$, }, }, outputSchema: { @@ -87,13 +70,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "addressing_api-response-common": addressing_api$$response$$common, - "addressing_cidr": addressing_cidr, "addressing_messages": addressing_messages, "addressing_provisioning": addressing_provisioning, "addressing_service_binding": addressing_service_binding, - "addressing_service_binding_identifier": addressing_service_binding_identifier, - "addressing_service_identifier": addressing_service_identifier, - "addressing_service_name": addressing_service_name, }, }, annotations: { @@ -134,13 +113,9 @@ export const tools: readonly Tool[] = [ $defs: { "addressing_api-response-common": addressing_api$$response$$common, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, - "addressing_cidr": addressing_cidr, "addressing_messages": addressing_messages, "addressing_provisioning": addressing_provisioning, "addressing_service_binding": addressing_service_binding, - "addressing_service_binding_identifier": addressing_service_binding_identifier, - "addressing_service_identifier": addressing_service_identifier, - "addressing_service_name": addressing_service_name, }, }, request: (args) => ({ @@ -151,23 +126,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_serviceBindings_delete", title: "Delete Service Binding", - description: "Delete a Service Binding", + description: "Delete a Service Binding\n\nDELETE /accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings/{binding_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "binding_id": { - "$ref": "#/$defs/addressing_service_binding_identifier", - "description": "Identifier of a Service Binding." + "description": "Identifier of a Service Binding.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -181,11 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, - "addressing_service_binding_identifier": addressing_service_binding_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-common", @@ -230,23 +202,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_serviceBindings_get", title: "Get Service Binding", - description: "Fetch a single Service Binding", + description: "Fetch a single Service Binding\n\nGET /accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings/{binding_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "binding_id": { - "$ref": "#/$defs/addressing_service_binding_identifier", - "description": "Identifier of a Service Binding." + "description": "Identifier of a Service Binding.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -260,11 +233,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, - "addressing_service_binding_identifier": addressing_service_binding_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -282,13 +251,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "addressing_api-response-common": addressing_api$$response$$common, - "addressing_cidr": addressing_cidr, "addressing_messages": addressing_messages, "addressing_provisioning": addressing_provisioning, "addressing_service_binding": addressing_service_binding, - "addressing_service_binding_identifier": addressing_service_binding_identifier, - "addressing_service_identifier": addressing_service_identifier, - "addressing_service_name": addressing_service_name, }, }, annotations: { @@ -330,13 +295,9 @@ export const tools: readonly Tool[] = [ $defs: { "addressing_api-response-common": addressing_api$$response$$common, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, - "addressing_cidr": addressing_cidr, "addressing_messages": addressing_messages, "addressing_provisioning": addressing_provisioning, "addressing_service_binding": addressing_service_binding, - "addressing_service_binding_identifier": addressing_service_binding_identifier, - "addressing_service_identifier": addressing_service_identifier, - "addressing_service_name": addressing_service_name, }, }, request: (args) => ({ @@ -346,19 +307,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_serviceBindings_list", title: "List Service Bindings", - description: "List the Cloudflare services this prefix is currently bound to. Traffic sent to an address within an IP prefix will be routed to the Cloudflare service of the most-specific Service Binding matching the address.\n**Example:** binding `192.0.2.0/24` to Cloudflare Magic Transit and `192.0.2.1/32` to the Cloudflare CDN would route traffic for `192.0.2.1` to the CDN, and traffic for all other IPs in the prefix to Cloudflare Magic Transit.", + description: "List the Cloudflare services this prefix is currently bound to. Traffic sent to an address within an IP prefix will be routed to the Cloudflare service of the most-specific Service Binding matching the address.\n**Example:** binding `192.0.2.0/24` to Cloudflare Magic Transit and `192.0.2.1/32` to the Cloudflare CDN would route traffic for `192.0.2.1` to the CDN, and traffic for all other IPs in the prefix to Cloudflare Magic Transit.\n\nGET /accounts/{account_id}/addressing/prefixes/{prefix_id}/bindings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -371,10 +333,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_prefix_identifier": addressing_prefix_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -395,13 +354,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "addressing_api-response-common": addressing_api$$response$$common, - "addressing_cidr": addressing_cidr, "addressing_messages": addressing_messages, "addressing_provisioning": addressing_provisioning, "addressing_service_binding": addressing_service_binding, - "addressing_service_binding_identifier": addressing_service_binding_identifier, - "addressing_service_identifier": addressing_service_identifier, - "addressing_service_name": addressing_service_name, }, }, annotations: { @@ -446,13 +401,9 @@ export const tools: readonly Tool[] = [ $defs: { "addressing_api-response-common": addressing_api$$response$$common, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, - "addressing_cidr": addressing_cidr, "addressing_messages": addressing_messages, "addressing_provisioning": addressing_provisioning, "addressing_service_binding": addressing_service_binding, - "addressing_service_binding_identifier": addressing_service_binding_identifier, - "addressing_service_identifier": addressing_service_identifier, - "addressing_service_name": addressing_service_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/prefixes/tools.ts b/src/generated/forge-mcp/addressing/prefixes/tools.ts index 646454e93..482178f52 100644 --- a/src/generated/forge-mcp/addressing/prefixes/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/tools.ts @@ -3,43 +3,17 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - addressing_account_identifier, addressing_api$$response$$collection, addressing_api$$response$$common, addressing_api$$response$$common$$failure, addressing_api$$response$$single, - addressing_loa_document_identifier, addressing_messages, - addressing_timestamp, } from "../outputs.js"; import { - addressing_account_identifier as addressing_account_identifier$, - addressing_loa_document_identifier as addressing_loa_document_identifier$, -} from "../schemas.js"; -import { - addressing_advertised, - addressing_advertised_modified_at_nullable, - addressing_approved, - addressing_asn, - addressing_cidr, - addressing_delegate_loa_creation, - addressing_description, addressing_ipam$$prefixes, - addressing_on_demand_enabled, - addressing_on_demand_locked, - addressing_ownership_validation_token, - addressing_prefix_identifier, addressing_response_collection, addressing_single_response, - addressing_validation_state, } from "./outputs.js"; -import { - addressing_asn as addressing_asn$, - addressing_cidr as addressing_cidr$, - addressing_delegate_loa_creation as addressing_delegate_loa_creation$, - addressing_description as addressing_description$, - addressing_prefix_identifier as addressing_prefix_identifier$, -} from "./schemas.js"; /** * The tools of `addressing.prefixes`. @@ -48,32 +22,39 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_create", title: "Add Prefix", - description: "Add a new prefix under the account.", + description: "Add a new prefix under the account.\n\nPOST /accounts/{account_id}/addressing/prefixes", inputSchema: { type: "object", properties: { "body": { "properties": { "asn": { - "$ref": "#/$defs/addressing_asn", - "description": "Autonomous System Number (ASN) the prefix will be advertised under." + "description": "Autonomous System Number (ASN) the prefix will be advertised under.", + "type": "integer" }, "cidr": { - "$ref": "#/$defs/addressing_cidr", - "description": "IP Prefix in Classless Inter-Domain Routing format." + "description": "IP Prefix in Classless Inter-Domain Routing format.", + "type": "string" }, "delegate_loa_creation": { - "$ref": "#/$defs/addressing_delegate_loa_creation", "default": false, - "description": "Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner." + "description": "Whether Cloudflare is allowed to generate the LOA document on behalf of the prefix owner.", + "type": "boolean" }, "description": { - "$ref": "#/$defs/addressing_description", - "description": "Description of the prefix." + "description": "Description of the prefix.", + "type": "string" }, "loa_document_id": { - "$ref": "#/$defs/addressing_loa_document_identifier", - "description": "Identifier for the uploaded LOA document." + "description": "Identifier for the uploaded LOA document.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -83,10 +64,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -99,37 +81,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier$, - "addressing_asn": addressing_asn$, - "addressing_cidr": addressing_cidr$, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation$, - "addressing_description": addressing_description$, - "addressing_loa_document_identifier": addressing_loa_document_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_single_response", $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response": addressing_single_response, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -161,26 +121,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response": addressing_single_response, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ @@ -191,19 +136,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_delete", title: "Delete Prefix", - description: "Delete an unapproved prefix owned by the account.", + description: "Delete an unapproved prefix owned by the account.\n\nDELETE /accounts/{account_id}/addressing/prefixes/{prefix_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -216,10 +162,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier$, - "addressing_prefix_identifier": addressing_prefix_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_api-response-single", @@ -273,15 +216,15 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_edit", title: "Update Prefix Description", - description: "Modify the description for a prefix owned by the account.", + description: "Modify the description for a prefix owned by the account.\n\nPATCH /accounts/{account_id}/addressing/prefixes/{prefix_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/addressing_description", - "description": "Description of the prefix." + "description": "Description of the prefix.", + "type": "string" } }, "required": [ @@ -290,14 +233,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -311,34 +255,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier$, - "addressing_description": addressing_description$, - "addressing_prefix_identifier": addressing_prefix_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_single_response", $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response": addressing_single_response, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -373,26 +298,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response": addressing_single_response, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ @@ -403,19 +313,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_get", title: "Prefix Details", - description: "List a particular prefix owned by the account.", + description: "List a particular prefix owned by the account.\n\nGET /accounts/{account_id}/addressing/prefixes/{prefix_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -428,33 +339,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier$, - "addressing_prefix_identifier": addressing_prefix_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_single_response", $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response": addressing_single_response, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -493,26 +386,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response": addressing_single_response, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ @@ -522,15 +400,16 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_list", title: "List Prefixes", - description: "List all prefixes owned by the account.", + description: "List all prefixes owned by the account.\n\nGET /accounts/{account_id}/addressing/prefixes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -542,32 +421,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_response_collection", $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_response_collection": addressing_response_collection, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -606,26 +468,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_response_collection": addressing_response_collection, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts b/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts index ad2f6844e..cf63c49a8 100644 --- a/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts +++ b/src/generated/forge-mcp/addressing/prefixes/validate/tools.ts @@ -3,31 +3,14 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - addressing_account_identifier, addressing_api$$response$$common$$failure, addressing_api$$response$$single, - addressing_loa_document_identifier, addressing_messages, - addressing_timestamp, } from "../../outputs.js"; -import { addressing_account_identifier as addressing_account_identifier$ } from "../../schemas.js"; import { - addressing_advertised, - addressing_advertised_modified_at_nullable, - addressing_approved, - addressing_asn, - addressing_cidr, - addressing_delegate_loa_creation, - addressing_description, addressing_ipam$$prefixes, - addressing_on_demand_enabled, - addressing_on_demand_locked, - addressing_ownership_validation_token, - addressing_prefix_identifier, addressing_single_response, - addressing_validation_state, } from "../outputs.js"; -import { addressing_prefix_identifier as addressing_prefix_identifier$ } from "../schemas.js"; /** * The tools of `addressing.prefixes.validate`. @@ -36,19 +19,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_prefixes_validate_create", title: "Validate Prefix", - description: "Triggers a new prefix validation. The checks are run asynchronously and include IRR, RPKI, and prefix ownership.", + description: "Triggers a new prefix validation. The checks are run asynchronously and include IRR, RPKI, and prefix ownership.\n\nPOST /accounts/{account_id}/addressing/prefixes/{prefix_id}/validate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/addressing_prefix_identifier", - "description": "Identifier of an IP Prefix." + "description": "Identifier of an IP Prefix.", + "type": "string" } }, "required": [ @@ -61,33 +45,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier$, - "addressing_prefix_identifier": addressing_prefix_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/addressing_single_response", $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response": addressing_single_response, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, annotations: { @@ -122,26 +88,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "addressing_account_identifier": addressing_account_identifier, - "addressing_advertised": addressing_advertised, - "addressing_advertised_modified_at_nullable": addressing_advertised_modified_at_nullable, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_api-response-single": addressing_api$$response$$single, - "addressing_approved": addressing_approved, - "addressing_asn": addressing_asn, - "addressing_cidr": addressing_cidr, - "addressing_delegate_loa_creation": addressing_delegate_loa_creation, - "addressing_description": addressing_description, "addressing_ipam-prefixes": addressing_ipam$$prefixes, - "addressing_loa_document_identifier": addressing_loa_document_identifier, "addressing_messages": addressing_messages, - "addressing_on_demand_enabled": addressing_on_demand_enabled, - "addressing_on_demand_locked": addressing_on_demand_locked, - "addressing_ownership_validation_token": addressing_ownership_validation_token, - "addressing_prefix_identifier": addressing_prefix_identifier, "addressing_single_response": addressing_single_response, - "addressing_timestamp": addressing_timestamp, - "addressing_validation_state": addressing_validation_state, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts b/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts index 02b39c01e..efb20734b 100644 --- a/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts +++ b/src/generated/forge-mcp/addressing/regionalHostnames/outputs.ts @@ -95,13 +95,6 @@ export const dls_api$$response$$common$$failure: JsonSchema = { "type": "object" }; -/** - * The schema of `dls_hostname` in responses. - */ -export const dls_hostname: JsonSchema = { - "type": "string" -}; - /** * The schema of `dls_messages` in responses. */ @@ -135,13 +128,6 @@ export const dls_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `dls_region_key` in responses. - */ -export const dls_region_key: JsonSchema = { - "type": "string" -}; - /** * The schema of `dls_regional_hostname_response` in responses. */ @@ -150,7 +136,8 @@ export const dls_regional_hostname_response: JsonSchema = { "created_on": { "allOf": [ { - "$ref": "#/$defs/dls_timestamp" + "format": "date-time", + "type": "string" }, { "type": "string" @@ -161,13 +148,13 @@ export const dls_regional_hostname_response: JsonSchema = { ] }, "hostname": { - "$ref": "#/$defs/dls_hostname" + "type": "string" }, "region_key": { - "$ref": "#/$defs/dls_region_key" + "type": "string" }, "routing": { - "$ref": "#/$defs/dls_routing" + "type": "string" } }, "required": [ @@ -178,18 +165,3 @@ export const dls_regional_hostname_response: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `dls_routing` in responses. - */ -export const dls_routing: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `dls_timestamp` in responses. - */ -export const dls_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts b/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts index 898bef1a9..f4e3ad0fa 100644 --- a/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts +++ b/src/generated/forge-mcp/addressing/regionalHostnames/regions/tools.ts @@ -7,9 +7,7 @@ import { dls_api$$response$$common, dls_api$$response$$common$$failure, dls_messages, - dls_region_key, } from "../outputs.js"; -import { dls_identifier } from "../schemas.js"; /** * The tools of `addressing.regionalHostnames.regions`. @@ -18,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "addressing_regionalHostnames_regions_list", title: "List Regions", - description: "List all Regional Services regions available for use by this account.", + description: "List all Regional Services regions available for use by this account.\n\nGET /accounts/{account_id}/addressing/regional_hostnames/regions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -38,9 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_identifier": dls_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -53,7 +50,7 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "key": { - "$ref": "#/$defs/dls_region_key" + "type": "string" }, "label": { "type": "string" @@ -71,7 +68,6 @@ export const tools: readonly Tool[] = [ "dls_api-response-collection": dls_api$$response$$collection, "dls_api-response-common": dls_api$$response$$common, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, }, }, annotations: { @@ -102,7 +98,7 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "key": { - "$ref": "#/$defs/dls_region_key" + "type": "string" }, "label": { "type": "string" @@ -126,7 +122,6 @@ export const tools: readonly Tool[] = [ "dls_api-response-common": dls_api$$response$$common, "dls_api-response-common-failure": dls_api$$response$$common$$failure, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/schemas.ts b/src/generated/forge-mcp/addressing/regionalHostnames/schemas.ts deleted file mode 100644 index ef80eeda8..000000000 --- a/src/generated/forge-mcp/addressing/regionalHostnames/schemas.ts +++ /dev/null @@ -1,36 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `dls_hostname`. - */ -export const dls_hostname: JsonSchema = { - "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`", - "type": "string" -}; - -/** - * The schema of `dls_identifier`. - */ -export const dls_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `dls_region_key`. - */ -export const dls_region_key: JsonSchema = { - "description": "Identifying key for the region", - "type": "string" -}; - -/** - * The schema of `dls_routing`. - */ -export const dls_routing: JsonSchema = { - "description": "Configure which routing method to use for the regional hostname", - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts b/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts index 9da1942d7..0c1723192 100644 --- a/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts +++ b/src/generated/forge-mcp/addressing/regionalHostnames/tools.ts @@ -6,19 +6,9 @@ import { dls_api$$response$$collection, dls_api$$response$$common, dls_api$$response$$common$$failure, - dls_hostname, dls_messages, - dls_region_key, dls_regional_hostname_response, - dls_routing, - dls_timestamp, } from "./outputs.js"; -import { - dls_hostname as dls_hostname$, - dls_identifier, - dls_region_key as dls_region_key$, - dls_routing as dls_routing$, -} from "./schemas.js"; /** * The tools of `addressing.regionalHostnames`. @@ -27,24 +17,24 @@ export const tools: readonly Tool[] = [ { name: "addressing_regionalHostnames_create", title: "Create Regional Hostname", - description: "Create a new Regional Hostname entry. Cloudflare will only use data centers that are physically located within the chosen region to decrypt and service HTTPS traffic. Learn more about [Regional Services](https://developers.cloudflare.com/data-localization/regional-services/get-started/).", + description: "Create a new Regional Hostname entry. Cloudflare will only use data centers that are physically located within the chosen region to decrypt and service HTTPS traffic. Learn more about [Regional Services](https://developers.cloudflare.com/data-localization/regional-services/get-started/).\n\nPOST /zones/{zone_id}/addressing/regional_hostnames", inputSchema: { type: "object", properties: { "body": { "properties": { "hostname": { - "$ref": "#/$defs/dls_hostname", - "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" + "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`", + "type": "string" }, "region_key": { - "$ref": "#/$defs/dls_region_key", - "description": "Identifying key for the region" + "description": "Identifying key for the region", + "type": "string" }, "routing": { - "$ref": "#/$defs/dls_routing", "default": "dns", - "description": "Configure which routing method to use for the regional hostname" + "description": "Configure which routing method to use for the regional hostname", + "type": "string" } }, "required": [ @@ -54,10 +44,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -69,12 +60,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_hostname": dls_hostname$, - "dls_identifier": dls_identifier, - "dls_region_key": dls_region_key$, - "dls_routing": dls_routing$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -92,12 +78,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "dls_api-response-common": dls_api$$response$$common, - "dls_hostname": dls_hostname, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, "dls_regional_hostname_response": dls_regional_hostname_response, - "dls_routing": dls_routing, - "dls_timestamp": dls_timestamp, }, }, annotations: { @@ -138,12 +120,8 @@ export const tools: readonly Tool[] = [ $defs: { "dls_api-response-common": dls_api$$response$$common, "dls_api-response-common-failure": dls_api$$response$$common$$failure, - "dls_hostname": dls_hostname, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, "dls_regional_hostname_response": dls_regional_hostname_response, - "dls_routing": dls_routing, - "dls_timestamp": dls_timestamp, }, }, request: (args) => ({ @@ -154,19 +132,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_regionalHostnames_delete", title: "Delete Regional Hostname", - description: "Delete the region configuration for a specific Regional Hostname.", + description: "Delete the region configuration for a specific Regional Hostname.\n\nDELETE /zones/{zone_id}/addressing/regional_hostnames/{hostname}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "hostname": { - "$ref": "#/$defs/dls_hostname", - "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" + "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -179,10 +158,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_hostname": dls_hostname$, - "dls_identifier": dls_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dls_api-response-common", @@ -227,15 +203,15 @@ export const tools: readonly Tool[] = [ { name: "addressing_regionalHostnames_edit", title: "Update Regional Hostname", - description: "Update the configuration for a specific Regional Hostname. Only the region_key of a hostname is mutable.", + description: "Update the configuration for a specific Regional Hostname. Only the region_key of a hostname is mutable.\n\nPATCH /zones/{zone_id}/addressing/regional_hostnames/{hostname}", inputSchema: { type: "object", properties: { "body": { "properties": { "region_key": { - "$ref": "#/$defs/dls_region_key", - "description": "Identifying key for the region" + "description": "Identifying key for the region", + "type": "string" } }, "required": [ @@ -244,14 +220,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "hostname": { - "$ref": "#/$defs/dls_hostname", - "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" + "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -264,11 +241,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_hostname": dls_hostname$, - "dls_identifier": dls_identifier, - "dls_region_key": dls_region_key$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -286,12 +259,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "dls_api-response-common": dls_api$$response$$common, - "dls_hostname": dls_hostname, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, "dls_regional_hostname_response": dls_regional_hostname_response, - "dls_routing": dls_routing, - "dls_timestamp": dls_timestamp, }, }, annotations: { @@ -332,12 +301,8 @@ export const tools: readonly Tool[] = [ $defs: { "dls_api-response-common": dls_api$$response$$common, "dls_api-response-common-failure": dls_api$$response$$common$$failure, - "dls_hostname": dls_hostname, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, "dls_regional_hostname_response": dls_regional_hostname_response, - "dls_routing": dls_routing, - "dls_timestamp": dls_timestamp, }, }, request: (args) => ({ @@ -348,19 +313,20 @@ export const tools: readonly Tool[] = [ { name: "addressing_regionalHostnames_get", title: "Fetch Regional Hostname", - description: "Fetch the configuration for a specific Regional Hostname, within a zone.", + description: "Fetch the configuration for a specific Regional Hostname, within a zone.\n\nGET /zones/{zone_id}/addressing/regional_hostnames/{hostname}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "hostname": { - "$ref": "#/$defs/dls_hostname", - "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`" + "description": "DNS hostname to be regionalized, must be a subdomain of the zone. Wildcards are supported for one level, e.g `*.example.com`", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -373,10 +339,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_hostname": dls_hostname$, - "dls_identifier": dls_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -394,12 +357,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "dls_api-response-common": dls_api$$response$$common, - "dls_hostname": dls_hostname, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, "dls_regional_hostname_response": dls_regional_hostname_response, - "dls_routing": dls_routing, - "dls_timestamp": dls_timestamp, }, }, annotations: { @@ -441,12 +400,8 @@ export const tools: readonly Tool[] = [ $defs: { "dls_api-response-common": dls_api$$response$$common, "dls_api-response-common-failure": dls_api$$response$$common$$failure, - "dls_hostname": dls_hostname, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, "dls_regional_hostname_response": dls_regional_hostname_response, - "dls_routing": dls_routing, - "dls_timestamp": dls_timestamp, }, }, request: (args) => ({ @@ -456,15 +411,16 @@ export const tools: readonly Tool[] = [ { name: "addressing_regionalHostnames_list", title: "List Regional Hostnames", - description: "List all Regional Hostnames within a zone.", + description: "List all Regional Hostnames within a zone.\n\nGET /zones/{zone_id}/addressing/regional_hostnames", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dls_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -476,9 +432,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_identifier": dls_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -500,12 +454,8 @@ export const tools: readonly Tool[] = [ $defs: { "dls_api-response-collection": dls_api$$response$$collection, "dls_api-response-common": dls_api$$response$$common, - "dls_hostname": dls_hostname, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, "dls_regional_hostname_response": dls_regional_hostname_response, - "dls_routing": dls_routing, - "dls_timestamp": dls_timestamp, }, }, annotations: { @@ -551,12 +501,8 @@ export const tools: readonly Tool[] = [ "dls_api-response-collection": dls_api$$response$$collection, "dls_api-response-common": dls_api$$response$$common, "dls_api-response-common-failure": dls_api$$response$$common$$failure, - "dls_hostname": dls_hostname, "dls_messages": dls_messages, - "dls_region_key": dls_region_key, "dls_regional_hostname_response": dls_regional_hostname_response, - "dls_routing": dls_routing, - "dls_timestamp": dls_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/addressing/schemas.ts b/src/generated/forge-mcp/addressing/schemas.ts deleted file mode 100644 index 1fc8f35fb..000000000 --- a/src/generated/forge-mcp/addressing/schemas.ts +++ /dev/null @@ -1,35 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `addressing_account_identifier`. - */ -export const addressing_account_identifier: JsonSchema = { - "description": "Identifier of a Cloudflare account.", - "type": "string" -}; - -/** - * The schema of `addressing_loa_document_identifier`. - */ -export const addressing_loa_document_identifier: JsonSchema = { - "description": "Identifier for the uploaded LOA document.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `addressing_service_identifier`. - */ -export const addressing_service_identifier: JsonSchema = { - "description": "Identifier of a Service on the Cloudflare network. Available services and their IDs may be found in the\n**List Services** endpoint.\n", - "type": "string" -}; diff --git a/src/generated/forge-mcp/addressing/services/tools.ts b/src/generated/forge-mcp/addressing/services/tools.ts index a216a4026..81ed28a67 100644 --- a/src/generated/forge-mcp/addressing/services/tools.ts +++ b/src/generated/forge-mcp/addressing/services/tools.ts @@ -6,10 +6,7 @@ import { addressing_api$$response$$common, addressing_api$$response$$common$$failure, addressing_messages, - addressing_service_identifier, - addressing_service_name, } from "../outputs.js"; -import { addressing_account_identifier } from "../schemas.js"; /** * The tools of `addressing.services`. @@ -18,15 +15,16 @@ export const tools: readonly Tool[] = [ { name: "addressing_services_list", title: "List Services", - description: "Bring-Your-Own IP (BYOIP) prefixes onboarded to Cloudflare must be bound to a service running on the Cloudflare network to enable a Cloudflare product on the IP addresses. This endpoint can be used as a reference of available services on the Cloudflare network, and their service IDs.", + description: "Bring-Your-Own IP (BYOIP) prefixes onboarded to Cloudflare must be bound to a service running on the Cloudflare network to enable a Cloudflare product on the IP addresses. This endpoint can be used as a reference of available services on the Cloudflare network, and their service IDs.\n\nGET /accounts/{account_id}/addressing/services", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/addressing_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -38,9 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "addressing_account_identifier": addressing_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -53,10 +49,10 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/addressing_service_identifier" + "type": "string" }, "name": { - "$ref": "#/$defs/addressing_service_name" + "type": "string" } }, "type": "object" @@ -70,8 +66,6 @@ export const tools: readonly Tool[] = [ $defs: { "addressing_api-response-common": addressing_api$$response$$common, "addressing_messages": addressing_messages, - "addressing_service_identifier": addressing_service_identifier, - "addressing_service_name": addressing_service_name, }, }, annotations: { @@ -102,10 +96,10 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/addressing_service_identifier" + "type": "string" }, "name": { - "$ref": "#/$defs/addressing_service_name" + "type": "string" } }, "type": "object" @@ -125,8 +119,6 @@ export const tools: readonly Tool[] = [ "addressing_api-response-common": addressing_api$$response$$common, "addressing_api-response-common-failure": addressing_api$$response$$common$$failure, "addressing_messages": addressing_messages, - "addressing_service_identifier": addressing_service_identifier, - "addressing_service_name": addressing_service_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/agentMemory/tools.ts b/src/generated/forge-mcp/agentMemory/tools.ts index b23242506..6004a3e27 100644 --- a/src/generated/forge-mcp/agentMemory/tools.ts +++ b/src/generated/forge-mcp/agentMemory/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_createNamespace", title: "Create a namespace", - description: "Creates a new memory namespace owned by the account.\n\nThis method is beta.", + description: "Creates a new memory namespace owned by the account.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/agent-memory/namespaces", inputSchema: { type: "object", properties: { @@ -27,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -43,6 +44,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -350,11 +352,12 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_deleteMemory", title: "Delete a memory", - description: "Deletes a memory by ID. Removes the memory and any source messages linked to it. Returns the deleted memory.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the memory and any source messages linked to it.", + description: "Deletes a memory by ID. Removes the memory and any source messages linked to it. Returns the deleted memory.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the memory and any source messages linked to it.\n\nDELETE /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/memories/{memory_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -385,6 +388,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -741,11 +745,12 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_deleteNamespace", title: "Delete a namespace", - description: "Deletes a namespace.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the namespace along with all memory profiles, memories, and sessions it contains.", + description: "Deletes a namespace.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the namespace along with all memory profiles, memories, and sessions it contains.\n\nDELETE /accounts/{account_id}/agent-memory/namespaces/{namespace_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -766,6 +771,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1042,11 +1048,12 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_deleteProfile", title: "Delete a profile", - description: "Marks a profile for deletion.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the profile along with all of its memories and messages.", + description: "Marks a profile for deletion.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the profile along with all of its memories and messages.\n\nDELETE /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -1072,6 +1079,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1348,11 +1356,12 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_deleteSession", title: "Delete a session", - description: "Marks all memories and messages in a profile that are tagged with the given session ID for deletion.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes all memories and messages tagged with this session ID.", + description: "Marks all memories and messages in a profile that are tagged with the given session ID for deletion.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes all memories and messages tagged with this session ID.\n\nDELETE /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/sessions/{session_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -1383,6 +1392,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1659,11 +1669,12 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_getMemory", title: "Get a memory", - description: "Retrieves a memory by ID.\n\nThis method is beta.", + description: "Retrieves a memory by ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/memories/{memory_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -1694,6 +1705,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2050,11 +2062,12 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_getNamespace", title: "Get a namespace", - description: "Gets a namespace by name.\n\nThis method is beta.", + description: "Gets a namespace by name.\n\nThis method is beta.\n\nGET /accounts/{account_id}/agent-memory/namespaces/{namespace_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -2075,6 +2088,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2381,7 +2395,7 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_ingest", title: "Ingest messages", - description: "Processes a conversation and extracts structured memories from it. Agent Memory identifies facts, events, instructions, and tasks automatically.\n\nThis method is beta.", + description: "Processes a conversation and extracts structured memories from it. Agent Memory identifies facts, events, instructions, and tasks automatically.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/ingest", inputSchema: { type: "object", properties: { @@ -2436,6 +2450,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -2462,6 +2477,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2739,11 +2755,12 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_listMemories", title: "List memories", - description: "List memories stored in a profile.\n\nThis method is beta.", + description: "List memories stored in a profile.\n\nThis method is beta.\n\nGET /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/memories", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -2766,6 +2783,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Continuation cursor for paginated results.", @@ -2796,6 +2814,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3184,11 +3203,12 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_listNamespaces", title: "List namespaces", - description: "Lists all namespaces for the given account. Results are paginated.\n\nThis method is beta.", + description: "Lists all namespaces for the given account. Results are paginated.\n\nThis method is beta.\n\nGET /accounts/{account_id}/agent-memory/namespaces", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -3201,6 +3221,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor returned by a previous list response.", @@ -3233,6 +3254,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3579,11 +3601,12 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_listProfiles", title: "List profiles", - description: "Lists the profiles of a namespace, ordered by name. A profile appears once it has been used.\n\nThis method is beta.", + description: "Lists the profiles of a namespace, ordered by name. A profile appears once it has been used.\n\nThis method is beta.\n\nGET /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -3601,6 +3624,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque continuation cursor returned by a previous list response.", @@ -3617,6 +3641,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3943,7 +3968,7 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_recall", title: "Recall memories", - description: "Retrieves memories relevant to the query and returns a synthesized answer.\n\nThis method is beta.", + description: "Retrieves memories relevant to the query and returns a synthesized answer.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/recall", inputSchema: { type: "object", properties: { @@ -3982,6 +4007,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -4008,6 +4034,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -4361,7 +4388,7 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_remember", title: "Remember a memory", - description: "Stores a single memory explicitly.\n\nThis method is beta.", + description: "Stores a single memory explicitly.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/remember", inputSchema: { type: "object", properties: { @@ -4389,6 +4416,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -4415,6 +4443,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -4772,7 +4801,7 @@ export const tools: readonly Tool[] = [ { name: "agentMemory_summary", title: "Get a profile summary", - description: "Generates a paste-ready prompt block summarizing everything stored in a memory profile.\n\nThis method is beta.", + description: "Generates a paste-ready prompt block summarizing everything stored in a memory profile.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/agent-memory/namespaces/{namespace_name}/profiles/{profile_name}/summary", inputSchema: { type: "object", properties: { @@ -4793,6 +4822,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare Account ID.", @@ -4819,6 +4849,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/ai/authors/tools.ts b/src/generated/forge-mcp/ai/authors/tools.ts index e88ccd7e2..8810f76f1 100644 --- a/src/generated/forge-mcp/ai/authors/tools.ts +++ b/src/generated/forge-mcp/ai/authors/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "ai_authors_list", title: "Author Search", - description: "Searches Workers AI models by author or organization name.", + description: "Searches Workers AI models by author or organization name.\n\nGET /accounts/{account_id}/ai/authors/search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -29,6 +30,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/ai/finetunes/assets/tools.ts b/src/generated/forge-mcp/ai/finetunes/assets/tools.ts index 37e50761a..461dc5383 100644 --- a/src/generated/forge-mcp/ai/finetunes/assets/tools.ts +++ b/src/generated/forge-mcp/ai/finetunes/assets/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "ai_finetunes_assets_create", title: "Upload a Finetune Asset", - description: "Uploads training data assets for a Workers AI fine-tuning job.", + description: "Uploads training data assets for a Workers AI fine-tuning job.\n\nPOST /accounts/{account_id}/ai/finetunes/{finetune_id}/finetune-assets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -33,6 +34,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -110,11 +112,12 @@ export const tools: readonly Tool[] = [ { name: "ai_finetunes_assets_download", title: "Download a Finetune Asset", - description: "Returns a pre-signed R2 URL for downloading a finetune asset file.", + description: "Returns a pre-signed R2 URL for downloading a finetune asset file.\n\nGET /accounts/{account_id}/ai/finetunes/{finetune_id}/finetune-assets/{file_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -137,6 +140,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/ai/finetunes/public/tools.ts b/src/generated/forge-mcp/ai/finetunes/public/tools.ts index 7a9580f0f..fbde8626b 100644 --- a/src/generated/forge-mcp/ai/finetunes/public/tools.ts +++ b/src/generated/forge-mcp/ai/finetunes/public/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "ai_finetunes_public_list", title: "List Public Finetunes", - description: "Lists publicly available fine-tuned models that can be used with Workers AI.", + description: "Lists publicly available fine-tuned models that can be used with Workers AI.\n\nGET /accounts/{account_id}/ai/finetunes/public", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -26,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "default": 20, @@ -48,6 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/ai/finetunes/tools.ts b/src/generated/forge-mcp/ai/finetunes/tools.ts index fdac35d2e..82f00e0fb 100644 --- a/src/generated/forge-mcp/ai/finetunes/tools.ts +++ b/src/generated/forge-mcp/ai/finetunes/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "ai_finetunes_create", title: "Create a new Finetune", - description: "Creates a new fine-tuning job for a Workers AI model using custom training data.", + description: "Creates a new fine-tuning job for a Workers AI model using custom training data.\n\nPOST /accounts/{account_id}/ai/finetunes", inputSchema: { type: "object", properties: { @@ -37,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -205,11 +207,12 @@ export const tools: readonly Tool[] = [ { name: "ai_finetunes_delete", title: "Delete a Finetune", - description: "Delete a finetune. Any in-flight requests referencing the lora will fail after the files are deleted.", + description: "Delete a finetune. Any in-flight requests referencing the lora will fail after the files are deleted.\n\nDELETE /accounts/{account_id}/ai/finetunes/{finetune_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -228,6 +231,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -336,11 +340,12 @@ export const tools: readonly Tool[] = [ { name: "ai_finetunes_list", title: "List Finetunes", - description: "Lists all fine-tuning jobs created by the account, including status and metrics.", + description: "Lists all fine-tuning jobs created by the account, including status and metrics.\n\nGET /accounts/{account_id}/ai/finetunes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -355,6 +360,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/ai/models/tools.ts b/src/generated/forge-mcp/ai/models/tools.ts index 4337dc896..df370faaf 100644 --- a/src/generated/forge-mcp/ai/models/tools.ts +++ b/src/generated/forge-mcp/ai/models/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "ai_models_list", title: "Model Search", - description: "Searches Workers AI models by name or description.", + description: "Searches Workers AI models by name or description.\n\nGET /accounts/{account_id}/ai/models/search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -26,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "author": { "default": "", @@ -78,6 +80,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "anyOf": [ diff --git a/src/generated/forge-mcp/ai/tasks/tools.ts b/src/generated/forge-mcp/ai/tasks/tools.ts index 8501cf626..bced2f66a 100644 --- a/src/generated/forge-mcp/ai/tasks/tools.ts +++ b/src/generated/forge-mcp/ai/tasks/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "ai_tasks_list", title: "Task Search", - description: "Searches Workers AI models by task type (e.g., text-generation, embeddings).", + description: "Searches Workers AI models by task type (e.g., text-generation, embeddings).\n\nGET /accounts/{account_id}/ai/tasks/search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -29,6 +30,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/ai/tools.ts b/src/generated/forge-mcp/ai/tools.ts index 23d7a9739..8a4f42d9e 100644 --- a/src/generated/forge-mcp/ai/tools.ts +++ b/src/generated/forge-mcp/ai/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "ai_getModelSchema", title: "Get an AI model's input and output schemas", - description: "Retrieves the input and output JSON Schema definitions for an AI model. Use these definitions to determine the model-specific request fields and response format.", + description: "Retrieves the input and output JSON Schema definitions for an AI model. Use these definitions to determine the model-specific request fields and response format.\n\nGET /accounts/{account_id}/ai/models/schema", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID used for this AI model request.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "model": { "description": "AI model identifier, including its namespace and model name.", @@ -43,6 +45,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -232,11 +235,12 @@ export const tools: readonly Tool[] = [ { name: "ai_listMarkdownSupportedFormats", title: "List supported Markdown conversion formats", - description: "Lists the file extensions and MIME types accepted by Workers AI's Markdown conversion endpoint. Use this list to check whether a file can be converted before uploading it.", + description: "Lists the file extensions and MIME types accepted by Workers AI's Markdown conversion endpoint. Use this list to check whether a file can be converted before uploading it.\n\nGET /accounts/{account_id}/ai/tomarkdown/supported", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID used for this AI model request.", @@ -252,6 +256,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -380,7 +385,7 @@ export const tools: readonly Tool[] = [ { name: "ai_run", title: "Run an AI model with request options", - description: "Runs an AI model using a JSON body containing model, input, and optional options fields. Unlike the model-specific URL endpoint, this endpoint takes the model identifier in the body and nests the model's inputs under input.\n\nUse options.extraHeaders to pass additional provider headers. Accepts Workers AI model identifiers and AI Gateway provider model identifiers.\n\nSee the [Workers AI model catalog](https://developers.cloudflare.com/workers-ai/models/) for Workers AI model inputs, or the provider's documentation for models accessed through AI Gateway.", + description: "Runs an AI model using a JSON body containing model, input, and optional options fields. Unlike the model-specific URL endpoint, this endpoint takes the model identifier in the body and nests the model's inputs under input.\n\nUse options.extraHeaders to pass additional provider headers. Accepts Workers AI model identifiers and AI Gateway provider model identifiers.\n\nSee the [Workers AI model catalog](https://developers.cloudflare.com/workers-ai/models/) for Workers AI model inputs, or the provider's documentation for models accessed through AI Gateway.\n\nPOST /accounts/{account_id}/ai/run", inputSchema: { type: "object", properties: { @@ -431,6 +436,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID used for this AI model request.", @@ -446,6 +452,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -573,7 +580,7 @@ export const tools: readonly Tool[] = [ { name: "ai_runModel", title: "Run a Workers AI model", - description: "Runs the Workers AI model specified in the URL path. Send the model's inputs directly in the request body, without a model/input/options wrapper.\n\nAccepts model-specific JSON or binary input. The response format depends on the model and the requested output.\n\nSee the [model catalog](https://developers.cloudflare.com/workers-ai/models/) for supported models and their input formats.", + description: "Runs the Workers AI model specified in the URL path. Send the model's inputs directly in the request body, without a model/input/options wrapper.\n\nAccepts model-specific JSON or binary input. The response format depends on the model and the requested output.\n\nSee the [model catalog](https://developers.cloudflare.com/workers-ai/models/) for supported models and their input formats.\n\nPOST /accounts/{account_id}/ai/run/{model_name}", inputSchema: { type: "object", properties: { @@ -1368,6 +1375,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID used for this AI model request.", @@ -1388,6 +1396,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1910,11 +1919,12 @@ export const tools: readonly Tool[] = [ { name: "ai_toMarkdown", title: "Convert uploaded files to Markdown", - description: "Converts files uploaded as multipart form data into Markdown using Workers AI. Returns a conversion result for each file. Use the supported-formats endpoint to check accepted file types.", + description: "Converts files uploaded as multipart form data into Markdown using Workers AI. Returns a conversion result for each file. Use the supported-formats endpoint to check accepted file types.\n\nPOST /accounts/{account_id}/ai/tomarkdown", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID used for this AI model request.", @@ -1930,6 +1940,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2082,7 +2093,7 @@ export const tools: readonly Tool[] = [ { name: "ai_websearch", title: "Search the web through AI Gateway", - description: "Run a web search through a configured AI Gateway.", + description: "Run a web search through a configured AI Gateway.\n\nPOST /accounts/{account_id}/ai/websearch", inputSchema: { type: "object", properties: { @@ -2127,6 +2138,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2141,6 +2153,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiAudit/robots/tools.ts b/src/generated/forge-mcp/aiAudit/robots/tools.ts index cbb0676a1..cdd165770 100644 --- a/src/generated/forge-mcp/aiAudit/robots/tools.ts +++ b/src/generated/forge-mcp/aiAudit/robots/tools.ts @@ -19,7 +19,7 @@ export const tools: readonly Tool[] = [ { name: "aiAudit_robots_bulkGet", title: "Bulk get robots.txt rules", - description: "Fetches and parses robots.txt files for multiple domains within a zone in a single request. Each domain must belong to the specified zone. Results are keyed by hostname.", + description: "Fetches and parses robots.txt files for multiple domains within a zone in a single request. Each domain must belong to the specified zone. Results are keyed by hostname.\n\nPOST /zones/{zone_id}/ai-audit/robots/bulk", inputSchema: { type: "object", properties: { @@ -31,6 +31,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Identifier of the zone.", @@ -47,6 +48,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -143,11 +145,12 @@ export const tools: readonly Tool[] = [ { name: "aiAudit_robots_get", title: "Get robots.txt rules", - description: "Fetches and parses the robots.txt file for a zone or a specific subdomain within the zone. Returns parsed user-agent rules, content signals, and sitemaps.", + description: "Fetches and parses the robots.txt file for a zone or a specific subdomain within the zone. Returns parsed user-agent rules, content signals, and sitemaps.\n\nGET /zones/{zone_id}/ai-audit/robots", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Identifier of the zone.", @@ -160,6 +163,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "subdomain": { "description": "Optional subdomain to fetch robots.txt for. If omitted, fetches robots.txt for the zone apex domain.", @@ -172,6 +176,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/aiGateway/customDomains/tools.ts b/src/generated/forge-mcp/aiGateway/customDomains/tools.ts index 75b3b1052..300b0067f 100644 --- a/src/generated/forge-mcp/aiGateway/customDomains/tools.ts +++ b/src/generated/forge-mcp/aiGateway/customDomains/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_customDomains_create", title: "Create a custom domain for a gateway", - description: "Provisions a Cloudflare-for-SaaS custom hostname and returns the CNAME target to point DNS at.", + description: "Provisions a Cloudflare-for-SaaS custom hostname and returns the CNAME target to point DNS at.\n\nPOST /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/custom-domains", inputSchema: { type: "object", properties: { @@ -41,6 +41,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -60,6 +61,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -234,11 +236,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_customDomains_delete", title: "Delete a custom domain", - description: "Deletes a custom domain from an AI Gateway and removes its Cloudflare for SaaS custom hostname.\n\nConfirm with the user before calling this tool. This deletes the custom domain and its custom hostname. Requests to this hostname will stop reaching the gateway.", + description: "Deletes a custom domain from an AI Gateway and removes its Cloudflare for SaaS custom hostname.\n\nConfirm with the user before calling this tool. This deletes the custom domain and its custom hostname. Requests to this hostname will stop reaching the gateway.\n\nDELETE /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/custom-domains/{hostname}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -263,6 +266,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -444,11 +448,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_customDomains_get", title: "Get a custom domain", - description: "Retrieves a custom domain attached to an AI Gateway, including its status and CNAME target.", + description: "Retrieves a custom domain attached to an AI Gateway, including its status and CNAME target.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/custom-domains/{hostname}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -473,6 +478,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -655,11 +661,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_customDomains_list", title: "List custom domains", - description: "Lists the custom domains attached to an AI Gateway, including the certificate and validation status of each domain.", + description: "Lists the custom domains attached to an AI Gateway, including the certificate and validation status of each domain.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/custom-domains", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -676,6 +683,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -706,6 +714,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/customProviders/tools.ts b/src/generated/forge-mcp/aiGateway/customProviders/tools.ts index 9ff27ab5a..6eb23e3f2 100644 --- a/src/generated/forge-mcp/aiGateway/customProviders/tools.ts +++ b/src/generated/forge-mcp/aiGateway/customProviders/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_customProviders_create", title: "Create a custom provider", - description: "Creates an account-level custom provider that forwards AI Gateway requests to the HTTPS base URL you supply. Requests reference the provider as `custom-{slug}`, so the slug must be unique within the account.", + description: "Creates an account-level custom provider that forwards AI Gateway requests to the HTTPS base URL you supply. Requests reference the provider as `custom-{slug}`, so the slug must be unique within the account.\n\nPOST /accounts/{account_id}/ai-gateway/custom-providers", inputSchema: { type: "object", properties: { @@ -59,6 +59,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -73,6 +74,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -311,11 +313,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_customProviders_delete", title: "Delete a custom provider", - description: "Deletes a custom provider and every pricing rule that belongs to it.\n\nConfirm with the user before calling this tool. This permanently deletes the custom provider and all of its pricing rules. Gateway requests that use `custom-{slug}` for this provider will stop routing.", + description: "Deletes a custom provider and every pricing rule that belongs to it.\n\nConfirm with the user before calling this tool. This permanently deletes the custom provider and all of its pricing rules. Gateway requests that use `custom-{slug}` for this provider will stop routing.\n\nDELETE /accounts/{account_id}/ai-gateway/custom-providers/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -335,6 +338,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -548,11 +552,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_customProviders_get", title: "Get a custom provider", - description: "Retrieves a custom provider, including its slug, base URL, and custom headers.", + description: "Retrieves a custom provider, including its slug, base URL, and custom headers.\n\nGET /accounts/{account_id}/ai-gateway/custom-providers/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -572,6 +577,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -786,11 +792,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_customProviders_list", title: "List custom providers", - description: "Lists the custom providers configured for the account, ordered by position and then name.", + description: "Lists the custom providers configured for the account, ordered by position and then name.\n\nGET /accounts/{account_id}/ai-gateway/custom-providers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -802,6 +809,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "beta": { "type": "boolean" @@ -828,6 +836,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1055,7 +1064,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_customProviders_update", title: "Update a custom provider", - description: "Updates the specified fields of a custom provider. Changes clear cached entries for the provider.", + description: "Updates the specified fields of a custom provider. Changes clear cached entries for the provider.\n\nPATCH /accounts/{account_id}/ai-gateway/custom-providers/{id}", inputSchema: { type: "object", properties: { @@ -1102,6 +1111,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1121,6 +1131,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/datasets/tools.ts b/src/generated/forge-mcp/aiGateway/datasets/tools.ts index 9af52ae40..1bfc916b6 100644 --- a/src/generated/forge-mcp/aiGateway/datasets/tools.ts +++ b/src/generated/forge-mcp/aiGateway/datasets/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_datasets_create", title: "Create a dataset (deprecated)", - description: "Creates a dataset that selects gateway logs matching the specified filters for use in evaluations. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Creates a dataset that selects gateway logs matching the specified filters for use in evaluations. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nPOST /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets", inputSchema: { type: "object", properties: { @@ -87,6 +87,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -106,6 +107,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -385,11 +387,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_datasets_delete", title: "Delete a dataset (deprecated)", - description: "Deletes a dataset. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Deletes a dataset. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nDELETE /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -413,6 +416,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -684,11 +688,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_datasets_get", title: "Get a dataset (deprecated)", - description: "Retrieves a dataset and its log filters. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Retrieves a dataset and its log filters. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -712,6 +717,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -984,11 +990,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_datasets_list", title: "List datasets (deprecated)", - description: "Lists the datasets defined for an AI Gateway. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Lists the datasets defined for an AI Gateway. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1005,6 +1012,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "enable": { "type": "boolean" @@ -1031,6 +1039,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1316,7 +1325,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_datasets_update", title: "Update a dataset (deprecated)", - description: "Replaces the name, log filters, and enabled state of a dataset. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Replaces the name, log filters, and enabled state of a dataset. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nPUT /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/datasets/{id}", inputSchema: { type: "object", properties: { @@ -1393,6 +1402,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1416,6 +1426,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts b/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts index c0f84e892..5a9e98a1e 100644 --- a/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts +++ b/src/generated/forge-mcp/aiGateway/dynamicRouting/deployments/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_deployments_create", title: "Deploy a dynamic route version", - description: "Deploys the specified version of a dynamic route so that it serves traffic. Deploy an earlier version to roll back.\n\nThis method is beta.", + description: "Deploys the specified version of a dynamic route so that it serves traffic. Deploy an earlier version to roll back.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/deployments", inputSchema: { type: "object", properties: { @@ -26,6 +26,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -844,11 +846,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_deployments_list", title: "List dynamic route deployments", - description: "Lists the deployment history of a dynamic route.\n\nThis method is beta.", + description: "Lists the deployment history of a dynamic route.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/deployments", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -871,6 +874,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts b/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts index 85d4cd242..5fcd7ced5 100644 --- a/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts +++ b/src/generated/forge-mcp/aiGateway/dynamicRouting/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_create", title: "Create a dynamic route", - description: "Creates a dynamic route on an AI Gateway from the specified routing elements. Clients call the route by using `dynamic/{name}` as the model name.\n\nThis method is beta.", + description: "Creates a dynamic route on an AI Gateway from the specified routing elements. Clients call the route by using `dynamic/{name}` as the model name.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes", inputSchema: { type: "object", properties: { @@ -349,6 +349,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -367,6 +368,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1265,11 +1267,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_delete", title: "Delete a dynamic route", - description: "Deletes a dynamic route from an AI Gateway.\n\nThis method is beta.", + description: "Deletes a dynamic route from an AI Gateway.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1292,6 +1295,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2087,11 +2091,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_get", title: "Get a dynamic route", - description: "Retrieves a dynamic route with its routing elements, active version, and current deployment.\n\nThis method is beta.", + description: "Retrieves a dynamic route with its routing elements, active version, and current deployment.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2114,6 +2119,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3012,11 +3018,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_list", title: "List dynamic routes", - description: "Lists the dynamic routes configured on an AI Gateway.\n\nThis method is beta.", + description: "Lists the dynamic routes configured on an AI Gateway.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -3032,6 +3039,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "description": "Page number", @@ -3048,6 +3056,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -4012,7 +4021,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_update", title: "Rename a dynamic route", - description: "Updates the name of a dynamic route. To change routing behaviour, create and deploy a new version.\n\nThis method is beta.", + description: "Updates the name of a dynamic route. To change routing behaviour, create and deploy a new version.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}", inputSchema: { type: "object", properties: { @@ -4028,6 +4037,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -4050,6 +4060,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts b/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts index f6287f9cb..09fb95312 100644 --- a/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts +++ b/src/generated/forge-mcp/aiGateway/dynamicRouting/versions/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_versions_create", title: "Create a dynamic route version", - description: "Creates a new version of a dynamic route from the specified routing elements. The version does not serve traffic until you deploy it.\n\nThis method is beta.", + description: "Creates a new version of a dynamic route from the specified routing elements. The version does not serve traffic until you deploy it.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/versions", inputSchema: { type: "object", properties: { @@ -345,6 +345,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -367,6 +368,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1163,11 +1165,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_versions_get", title: "Get a dynamic route version", - description: "Retrieves a saved version of a dynamic route, including its routing elements.\n\nThis method is beta.", + description: "Retrieves a saved version of a dynamic route, including its routing elements.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/versions/{version_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1194,6 +1197,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2026,11 +2030,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_dynamicRouting_versions_list", title: "List dynamic route versions", - description: "Lists the saved versions of a dynamic route.\n\nThis method is beta.", + description: "Lists the saved versions of a dynamic route.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/routes/{id}/versions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2053,6 +2058,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts b/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts index 4d363716b..c2c51fa1d 100644 --- a/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts +++ b/src/generated/forge-mcp/aiGateway/evaluationTypes/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_evaluationTypes_list", title: "List evaluator types (deprecated)", - description: "Lists the evaluator types that evaluations can use to score AI Gateway responses. Evaluations are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Lists the evaluator types that evaluations can use to score AI Gateway responses. Evaluations are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/ai-gateway/evaluation-types", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -26,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "order_by": { "default": "mandatory", @@ -54,6 +56,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/evaluations/tools.ts b/src/generated/forge-mcp/aiGateway/evaluations/tools.ts index a9fac9250..108d933e6 100644 --- a/src/generated/forge-mcp/aiGateway/evaluations/tools.ts +++ b/src/generated/forge-mcp/aiGateway/evaluations/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_evaluations_create", title: "Create an evaluation (deprecated)", - description: "Creates an evaluation that scores the logs in a dataset with the specified evaluator types. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Creates an evaluation that scores the logs in a dataset with the specified evaluator types. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nPOST /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/evaluations", inputSchema: { type: "object", properties: { @@ -42,6 +42,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -61,6 +62,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -536,11 +538,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_evaluations_delete", title: "Delete an evaluation (deprecated)", - description: "Deletes an evaluation and its results. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Deletes an evaluation and its results. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nDELETE /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/evaluations/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -564,6 +567,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1031,11 +1035,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_evaluations_get", title: "Get an evaluation (deprecated)", - description: "Retrieves an evaluation and its results. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Retrieves an evaluation and its results. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/evaluations/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1059,6 +1064,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1527,11 +1533,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_evaluations_list", title: "List evaluations (deprecated)", - description: "Lists the evaluations run on an AI Gateway. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.", + description: "Lists the evaluations run on an AI Gateway. Evaluations and datasets are deprecated and unavailable to new accounts.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/evaluations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1548,6 +1555,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "type": "string" @@ -1574,6 +1582,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts b/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts index 12cadbdc3..ff5de13b6 100644 --- a/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts +++ b/src/generated/forge-mcp/aiGateway/gateways/providers/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_providers_create", title: "Store a provider key", - description: "Stores an upstream AI provider API key for an AI Gateway in the Secrets Store configured on the gateway, with an optional rate limit. Pass `secret` to store a new key, or omit it to use an existing Secrets Store secret.", + description: "Stores an upstream AI provider API key for an AI Gateway in the Secrets Store configured on the gateway, with an optional rate limit. Pass `secret` to store a new key, or omit it to use an existing Secrets Store secret.\n\nPOST /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/provider_configs", inputSchema: { type: "object", properties: { @@ -48,6 +48,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -67,6 +68,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -280,11 +282,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_providers_delete", title: "Delete a provider key", - description: "Deletes a provider key configuration from an AI Gateway and deletes its secret from the Secrets Store.\n\nConfirm with the user before calling this tool. This deletes the stored provider key and its Secrets Store secret. Requests that rely on this key will stop authenticating with it.", + description: "Deletes a provider key configuration from an AI Gateway and deletes its secret from the Secrets Store.\n\nConfirm with the user before calling this tool. This deletes the stored provider key and its Secrets Store secret. Requests that rely on this key will stop authenticating with it.\n\nDELETE /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/provider_configs/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -308,6 +311,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -513,11 +517,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_providers_get", title: "Get a provider key", - description: "Retrieves a provider key configuration for an AI Gateway. The response shows a masked preview of the key, never the key itself.", + description: "Retrieves a provider key configuration for an AI Gateway. The response shows a masked preview of the key, never the key itself.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/provider_configs/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -541,6 +546,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -743,11 +749,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_providers_list", title: "List provider keys", - description: "Lists the provider keys stored for an AI Gateway. Responses show a masked preview of each key, never the key itself.", + description: "Lists the provider keys stored for an AI Gateway. Responses show a masked preview of each key, never the key itself.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/provider_configs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -764,6 +771,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -780,6 +788,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -992,7 +1001,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_providers_update", title: "Rotate a provider key", - description: "Replaces the stored API key of a provider key configuration. Only the key can change.", + description: "Replaces the stored API key of a provider key configuration. Only the key can change.\n\nPUT /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/provider_configs/{id}", inputSchema: { type: "object", properties: { @@ -1009,6 +1018,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1032,6 +1042,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/gateways/tools.ts b/src/generated/forge-mcp/aiGateway/gateways/tools.ts index 08c753fd9..fb64e7119 100644 --- a/src/generated/forge-mcp/aiGateway/gateways/tools.ts +++ b/src/generated/forge-mcp/aiGateway/gateways/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_create", title: "Create a gateway", - description: "Creates an AI Gateway in the account with the specified caching, rate limiting, logging, and authentication settings. The gateway ID appears in request URLs and must be unique within the account.", + description: "Creates an AI Gateway in the account with the specified caching, rate limiting, logging, and authentication settings. The gateway ID appears in request URLs and must be unique within the account.\n\nPOST /accounts/{account_id}/ai-gateway/gateways", inputSchema: { type: "object", properties: { @@ -729,6 +729,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -743,6 +744,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2322,11 +2324,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_delete", title: "Delete a gateway", - description: "Permanently deletes an AI Gateway, its configuration, and its stored logs.\n\nConfirm with the user before calling this tool. This permanently deletes the gateway, its configuration, and its stored logs. Requests sent to this gateway will fail. This action cannot be undone.", + description: "Permanently deletes an AI Gateway, its configuration, and its stored logs.\n\nConfirm with the user before calling this tool. This permanently deletes the gateway, its configuration, and its stored logs. Requests sent to this gateway will fail. This action cannot be undone.\n\nDELETE /accounts/{account_id}/ai-gateway/gateways/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2346,6 +2349,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3954,11 +3958,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_get", title: "Get a gateway", - description: "Retrieves the configuration of an AI Gateway.", + description: "Retrieves the configuration of an AI Gateway.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -3978,6 +3983,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -5587,11 +5593,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_getUrl", title: "Get Gateway URL", - description: "Retrieves the endpoint URL for an AI Gateway.\n\nThis method is beta.", + description: "Retrieves the endpoint URL for an AI Gateway.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/url/{provider}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -5615,6 +5622,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -5713,11 +5721,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_list", title: "List gateways", - description: "Lists the AI Gateways in the account. Use `search` to filter by gateway ID.", + description: "Lists the AI Gateways in the account. Use `search` to filter by gateway ID.\n\nGET /accounts/{account_id}/ai-gateway/gateways", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -5729,6 +5738,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -5749,6 +5759,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -7339,7 +7350,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_gateways_update", title: "Update a gateway", - description: "Updates the configuration of an AI Gateway, such as its caching, rate limiting, logging, and authentication settings.", + description: "Updates the configuration of an AI Gateway, such as its caching, rate limiting, logging, and authentication settings.\n\nPUT /accounts/{account_id}/ai-gateway/gateways/{id}", inputSchema: { type: "object", properties: { @@ -8053,6 +8064,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -8072,6 +8084,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiGateway/logs/tools.ts b/src/generated/forge-mcp/aiGateway/logs/tools.ts index 5adaf790e..5d809871c 100644 --- a/src/generated/forge-mcp/aiGateway/logs/tools.ts +++ b/src/generated/forge-mcp/aiGateway/logs/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_logs_delete", title: "Delete Gateway Logs", - description: "Deletes gateway log entries matching the specified criteria.\n\nConfirm with the user before calling this tool. This permanently deletes every stored log entry on the gateway that matches the filters. Deleted logs cannot be recovered.", + description: "Deletes gateway log entries matching the specified criteria.\n\nConfirm with the user before calling this tool. This permanently deletes every stored log entry on the gateway that matches the filters. Deleted logs cannot be recovered.\n\nDELETE /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "filters": { "items": { @@ -140,6 +142,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -235,11 +238,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_logs_get", title: "Get Gateway Log Detail", - description: "Retrieves detailed information for a specific AI Gateway log entry.", + description: "Retrieves detailed information for a specific AI Gateway log entry.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -263,6 +267,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -597,11 +602,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_logs_getRequest", title: "Get Gateway Log Request", - description: "Retrieves the original request payload for an AI Gateway log entry.", + description: "Retrieves the original request payload for an AI Gateway log entry.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}/request", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -625,6 +631,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "type": "object", @@ -699,11 +706,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_logs_getResponse", title: "Get Gateway Log Response", - description: "Retrieves the response payload for an AI Gateway log entry.", + description: "Retrieves the response payload for an AI Gateway log entry.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}/response", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -727,6 +735,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "type": "object", @@ -801,11 +810,12 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_logs_list", title: "List Gateway Logs", - description: "Lists request/response log entries for the AI gateway with filtering and pagination.", + description: "Lists request/response log entries for the AI gateway with filtering and pagination.\n\nGET /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -822,6 +832,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cached": { "type": "boolean" @@ -1012,6 +1023,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1414,7 +1426,7 @@ export const tools: readonly Tool[] = [ { name: "aiGateway_logs_update", title: "Patch Gateway Log", - description: "Updates metadata for an AI Gateway log entry.", + description: "Updates metadata for an AI Gateway log entry.\n\nPATCH /accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}", inputSchema: { type: "object", properties: { @@ -1467,6 +1479,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1490,6 +1503,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiSearch/items/tools.ts b/src/generated/forge-mcp/aiSearch/items/tools.ts index 47b4c91b0..d0b116a98 100644 --- a/src/generated/forge-mcp/aiSearch/items/tools.ts +++ b/src/generated/forge-mcp/aiSearch/items/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_items_chunks", title: "List Item Chunks.", - description: "Lists chunks for a specific item in an AI Search instance, including their text content.\n\nThis method is beta.", + description: "Lists chunks for a specific item in an AI Search instance, including their text content.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/items/{item_id}/chunks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -41,6 +42,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "default": 20, @@ -57,6 +59,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -395,11 +398,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_items_delete", title: "Delete Item.", - description: "Deletes a file from a managed AI Search instance and removes its indexed data.\n\nThis method is beta.", + description: "Deletes a file from a managed AI Search instance and removes its indexed data.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/items/{item_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -429,6 +433,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -678,11 +683,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_items_download", title: "Download Item Content.", - description: "Downloads the raw file content for a specific item from the managed AI Search instance storage.\n\nThis method is beta.", + description: "Downloads the raw file content for a specific item from the managed AI Search instance storage.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/items/{item_id}/download", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -712,6 +718,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -967,11 +974,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_items_get", title: "Get Item.", - description: "Retrieves a specific indexed item from an AI Search instance.\n\nThis method is beta.", + description: "Retrieves a specific indexed item from an AI Search instance.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/items/{item_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1001,6 +1009,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1377,11 +1386,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_items_list", title: "Items List.", - description: "Lists indexed items in an AI Search instance.\n\nThis method is beta.", + description: "Lists indexed items in an AI Search instance.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/items", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1404,6 +1414,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "item_id": { "description": "Return only the item with this unique ID. Returns at most one item.", @@ -1459,6 +1470,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1928,11 +1940,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_items_logs", title: "Item Logs.", - description: "Lists processing logs for a specific item in an AI Search instance.\n\nThis method is beta.", + description: "Lists processing logs for a specific item in an AI Search instance.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/items/{item_id}/logs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1959,6 +1972,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "type": "string" @@ -1974,6 +1988,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2350,7 +2365,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_items_sync", title: "Sync Item.", - description: "Synchronizes an item to an AI Search instance index.\n\nThis method is beta.", + description: "Synchronizes an item to an AI Search instance index.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/items/{item_id}", inputSchema: { type: "object", properties: { @@ -2374,6 +2389,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2403,6 +2419,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2900,11 +2917,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_items_upload", title: "Upload Item.", - description: "Uploads a file to a managed AI Search instance via multipart/form-data.\n\nThis method is beta.", + description: "Uploads a file to a managed AI Search instance via multipart/form-data.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/items", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2930,6 +2948,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3726,7 +3745,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_items_upsert", title: "Create or Update Item.", - description: "Creates or updates an indexed item in an AI Search instance.\n\nThis method is beta.", + description: "Creates or updates an indexed item in an AI Search instance.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/items", inputSchema: { type: "object", properties: { @@ -3755,6 +3774,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -3780,6 +3800,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiSearch/jobs/tools.ts b/src/generated/forge-mcp/aiSearch/jobs/tools.ts index 2a7c07167..8b74c6b75 100644 --- a/src/generated/forge-mcp/aiSearch/jobs/tools.ts +++ b/src/generated/forge-mcp/aiSearch/jobs/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_jobs_cancel", title: "Cancel an indexing job.", - description: "Cancels an in-progress indexing job for an AI Search instance.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation cancels the running indexing job.", + description: "Cancels an in-progress indexing job for an AI Search instance.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation cancels the running indexing job.\n\nPATCH /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/jobs/{job_id}", inputSchema: { type: "object", properties: { @@ -29,6 +29,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -58,6 +59,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -300,7 +302,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_jobs_create", title: "Create new job", - description: "Creates a new indexing job for an AI Search instance.\n\nThis method is beta.", + description: "Creates a new indexing job for an AI Search instance.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/jobs", inputSchema: { type: "object", properties: { @@ -313,6 +315,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -338,6 +341,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -641,11 +645,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_jobs_get", title: "Get a Job Details", - description: "Retrieves details for a specific AI Search indexing job.\n\nThis method is beta.", + description: "Retrieves details for a specific AI Search indexing job.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/jobs/{job_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -675,6 +680,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -879,11 +885,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_jobs_list", title: "List Jobs", - description: "Lists indexing jobs for an AI Search instance.\n\nThis method is beta.", + description: "Lists indexing jobs for an AI Search instance.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/jobs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -906,6 +913,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -922,6 +930,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1221,11 +1230,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_jobs_logs", title: "List Job Logs", - description: "Lists log entries for an AI Search indexing job.\n\nThis method is beta.", + description: "Lists log entries for an AI Search indexing job.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/jobs/{job_id}/logs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1252,6 +1262,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -1268,6 +1279,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiSearch/namespace/tools.ts b/src/generated/forge-mcp/aiSearch/namespace/tools.ts index ead5e126d..378dd1fe4 100644 --- a/src/generated/forge-mcp/aiSearch/namespace/tools.ts +++ b/src/generated/forge-mcp/aiSearch/namespace/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_namespace_create", title: "Create a namespace", - description: "Create a namespace for organizing AI Search instances.\n\nThis method is beta.", + description: "Create a namespace for organizing AI Search instances.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/namespaces", inputSchema: { type: "object", properties: { @@ -133,6 +133,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -147,6 +148,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -583,11 +585,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_namespace_delete", title: "Delete a namespace", - description: "Deletes a namespace permanently. The namespace must not contain any instances (instances whose deletion is still in progress do not count), and the default namespace cannot be deleted.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the namespace.", + description: "Deletes a namespace permanently. The namespace must not contain any instances (instances whose deletion is still in progress do not count), and the default namespace cannot be deleted.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the namespace.\n\nDELETE /accounts/{account_id}/ai-search/namespaces/{name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -606,6 +609,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -780,11 +784,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_namespace_get", title: "Get a namespace", - description: "Retrieve a namespace and its description.\n\nThis method is beta.", + description: "Retrieve a namespace and its description.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -803,6 +808,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1171,11 +1177,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_namespace_list", title: "List namespaces", - description: "Lists namespaces in the account, including their descriptions and creation times.\n\nThis method is beta.", + description: "Lists namespaces in the account, including their descriptions and creation times.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1187,6 +1194,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -1209,6 +1217,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1638,7 +1647,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_namespace_update", title: "Update a namespace", - description: "Updates the description and/or the public endpoint configuration of an existing namespace. The default namespace's description cannot be modified, but its public endpoint can.\n\nThis method is beta.", + description: "Updates the description and/or the public endpoint configuration of an existing namespace. The default namespace's description cannot be modified, but its public endpoint can.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/ai-search/namespaces/{name}", inputSchema: { type: "object", properties: { @@ -1762,6 +1771,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1780,6 +1790,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiSearch/tokens/tools.ts b/src/generated/forge-mcp/aiSearch/tokens/tools.ts index 7f5a232c7..5befbdd06 100644 --- a/src/generated/forge-mcp/aiSearch/tokens/tools.ts +++ b/src/generated/forge-mcp/aiSearch/tokens/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_tokens_create", title: "Create a token", - description: "Create a stored Cloudflare credential for an AI Search instance to access its data source.\n\nThis method is beta.", + description: "Create a stored Cloudflare credential for an AI Search instance to access its data source.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/tokens", inputSchema: { type: "object", properties: { @@ -38,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -52,6 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -277,11 +279,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_tokens_delete", title: "Delete a token", - description: "Deletes a stored AI Search credential permanently. Credentials in use by an instance cannot be deleted.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the stored credential.", + description: "Deletes a stored AI Search credential permanently. Credentials in use by an instance cannot be deleted.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the stored credential.\n\nDELETE /accounts/{account_id}/ai-search/tokens/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -301,6 +304,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -482,11 +486,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_tokens_get", title: "Get a token", - description: "Retrieve a stored AI Search credential without exposing its secret.\n\nThis method is beta.", + description: "Retrieve a stored AI Search credential without exposing its secret.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/tokens/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -506,6 +511,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -760,11 +766,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_tokens_list", title: "List tokens", - description: "Lists stored AI Search credentials in the account without exposing their secrets.\n\nThis method is beta.", + description: "Lists stored AI Search credentials in the account without exposing their secrets.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/tokens", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -776,6 +783,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -798,6 +806,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1073,7 +1082,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_tokens_update", title: "Update a token", - description: "Replace a stored AI Search credential and invalidate cached credentials for instances that use it.\n\nThis method is beta.", + description: "Replace a stored AI Search credential and invalidate cached credentials for instances that use it.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/ai-search/tokens/{id}", inputSchema: { type: "object", properties: { @@ -1101,6 +1110,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1120,6 +1130,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiSearch/tools.ts b/src/generated/forge-mcp/aiSearch/tools.ts index e6018c750..4d0f0440a 100644 --- a/src/generated/forge-mcp/aiSearch/tools.ts +++ b/src/generated/forge-mcp/aiSearch/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_chatCompletions", title: "Chat Completions", - description: "Performs a chat completion request against an AI Search instance, using indexed content as context for generating responses.\n\nThis method is beta.", + description: "Performs a chat completion request against an AI Search instance, using indexed content as context for generating responses.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/chat/completions", inputSchema: { type: "object", properties: { @@ -290,6 +290,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -315,6 +316,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1030,7 +1032,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_create", title: "Create an AI Search instance.", - description: "Create a new AI Search instance with the given configuration. If type is omitted or null, a non-blank HTTP(S) source infers web-crawler and any other source infers r2; r2 sources must name an existing bucket. A missing or blank source without a type creates a managed upload-only instance.\n\nThis method is beta.", + description: "Create a new AI Search instance with the given configuration. If type is omitted or null, a non-blank HTTP(S) source infers web-crawler and any other source infers r2; r2 sources must name an existing bucket. A missing or blank source without a type creates a managed upload-only instance.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/namespaces/{namespace}/instances", inputSchema: { type: "object", properties: { @@ -1590,6 +1592,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1610,6 +1613,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2977,11 +2981,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_delete", title: "Delete an AI Search instance.", - description: "Deletes an AI Search instance and all its indexed data permanently.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the AI Search instance and all its indexed data.", + description: "Deletes an AI Search instance and all its indexed data permanently.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the AI Search instance and all its indexed data.\n\nDELETE /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -3006,6 +3011,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -4253,11 +4259,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_get", title: "Get an AI Search instance.", - description: "Retrieve the configuration and status of an AI Search instance.\n\nThis method is beta.", + description: "Retrieve the configuration and status of an AI Search instance.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -4282,6 +4289,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -5496,11 +5504,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_list", title: "List AI Search instances.", - description: "Lists all AI Search instances in the account.\n\nThis method is beta.", + description: "Lists all AI Search instances in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -5518,6 +5527,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "hostname": { "description": "Return only instances with this exact Search for Agents hostname (case-insensitive).", @@ -5561,6 +5571,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -7143,7 +7154,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_move", title: "Move an instance to a different namespace.", - description: "Moves an instance from its current namespace to the specified target namespace. Use 'default' with --destination-namespace to move the instance back to the default namespace. Fails with 400 if the target namespace already has an instance with the same id (ids must be unique within a namespace — the same id can exist in different namespaces).", + description: "Moves an instance from its current namespace to the specified target namespace. Use 'default' with --destination-namespace to move the instance back to the default namespace. Fails with 400 if the target namespace already has an instance with the same id (ids must be unique within a namespace — the same id can exist in different namespaces).\n\nPATCH /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", inputSchema: { type: "object", properties: { @@ -7160,6 +7171,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -7184,6 +7196,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -7391,7 +7404,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_multiChatCompletions", title: "Multi-Instance Chat Completions", - description: "Performs a chat completion request against multiple AI Search instances in parallel, merging retrieved content as context for generating a response.\n\nThis method is beta.", + description: "Performs a chat completion request against multiple AI Search instances in parallel, merging retrieved content as context for generating a response.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/namespaces/{name}/chat/completions", inputSchema: { type: "object", properties: { @@ -7682,6 +7695,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -7701,6 +7715,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -8457,7 +8472,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_multiSearch", title: "Multi-Instance Search", - description: "Performs a semantic search query against multiple AI Search instances in parallel, merging the retrieved results into a single ranked response.\n\nThis method is beta.", + description: "Performs a semantic search query against multiple AI Search instances in parallel, merging the retrieved results into a single ranked response.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/namespaces/{name}/search", inputSchema: { type: "object", properties: { @@ -8745,6 +8760,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -8764,6 +8780,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -9265,11 +9282,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_purgeCache", title: "Purge search cache.", - description: "Purges all cached search results for an AI Search instance. A new internal cache key is generated, immediately orphaning all prior cached entries.\n\nThis method is beta.", + description: "Purges all cached search results for an AI Search instance. A new internal cache key is generated, immediately orphaning all prior cached entries.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/purge_cache", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -9295,6 +9313,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -9426,7 +9445,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_search", title: "Search", - description: "Executes a semantic search query against an AI Search instance to find relevant indexed content.\n\nThis method is beta.", + description: "Executes a semantic search query against an AI Search instance to find relevant indexed content.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/search", inputSchema: { type: "object", properties: { @@ -9701,6 +9720,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -9726,6 +9746,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -10186,11 +10207,12 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_stats", title: "Get instance statistics.", - description: "Retrieve usage and indexing statistics for an AI Search instance.\n\nThis method is beta.", + description: "Retrieve usage and indexing statistics for an AI Search instance.\n\nThis method is beta.\n\nGET /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}/stats", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -10216,6 +10238,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -10466,7 +10489,7 @@ export const tools: readonly Tool[] = [ { name: "aiSearch_update", title: "Update an AI Search instance.", - description: "Updates the configuration of an AI Search instance.\n\nThis method is beta.", + description: "Updates the configuration of an AI Search instance.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/ai-search/namespaces/{namespace}/instances/{id}", inputSchema: { type: "object", properties: { @@ -11046,6 +11069,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -11070,6 +11094,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts b/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts index 88a81c5d6..d9f7b0f18 100644 --- a/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts +++ b/src/generated/forge-mcp/aiSecurity/customTopics/tools.ts @@ -8,7 +8,6 @@ import { waf$$product$$api$$bundle_messages, } from "../../outputs.js"; import { waf$$product$$api$$bundle_api$$response$$common$$failure$$3 } from "../outputs.js"; -import { waf$$product$$api$$bundle_zone_id } from "../schemas.js"; import { waf$$product$$api$$bundle_custom$$topic, waf$$product$$api$$bundle_custom$$topics, @@ -26,15 +25,16 @@ export const tools: readonly Tool[] = [ { name: "aiSecurity_customTopics_get", title: "Get the AI Security for Apps custom topics of a zone.", - description: "Get the custom topic categories defined for the zone. While AI Security for Apps is enabled, it scores every incoming prompt against these topics and writes the scores to the `cf.llm.prompt.custom_topic_categories` field, keyed by topic label. Topics can be configured while the detection is disabled, but no prompt is scored until you enable it.", + description: "Get the custom topic categories defined for the zone. While AI Security for Apps is enabled, it scores every incoming prompt against these topics and writes the scores to the `cf.llm.prompt.custom_topic_categories` field, keyed by topic label. Topics can be configured while the detection is disabled, but no prompt is scored until you enable it.\n\nGET /zones/{zone_id}/ai-security/custom-topics", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_zone_id", - "description": "Defines the zone." + "description": "Defines the zone.", + "type": "string" } }, "required": [ @@ -46,9 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waf-product-api-bundle_zone_id": waf$$product$$api$$bundle_zone_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-topics", @@ -103,7 +101,7 @@ export const tools: readonly Tool[] = [ { name: "aiSecurity_customTopics_update", title: "Update the AI Security for Apps custom topics of a zone.", - description: "Update the custom topic list of the zone, overwriting it entirely with the topics in the request, so include\nevery topic you want to keep. Changes can take up to a minute to propagate.\n\nEach entry has a `label`, used to reference the topic in rule expressions and analytics, and a `topic`\ndescription, which the classifier scores prompts against while AI Security for Apps is enabled. The following\nrules apply:\n\n- A zone can hold at most 20 topics.\n- `label` must be 2–20 characters, using only lowercase letters (a–z), digits (0–9), and hyphens.\n- `topic` must be 2–50 UTF-8 bytes. Text in any language is supported, including spaces, numbers,\n punctuation, and symbols. Tabs, line breaks, invalid text, and invisible formatting characters are not allowed.\n- Labels must be unique within the zone, and so must topic descriptions.\n\nConfirm with the user before calling this tool. This operation overwrites the AI Security for Apps custom topics for a zone.", + description: "Update the custom topic list of the zone, overwriting it entirely with the topics in the request, so include\nevery topic you want to keep. Changes can take up to a minute to propagate.\n\nEach entry has a `label`, used to reference the topic in rule expressions and analytics, and a `topic`\ndescription, which the classifier scores prompts against while AI Security for Apps is enabled. The following\nrules apply:\n\n- A zone can hold at most 20 topics.\n- `label` must be 2–20 characters, using only lowercase letters (a–z), digits (0–9), and hyphens.\n- `topic` must be 2–50 UTF-8 bytes. Text in any language is supported, including spaces, numbers,\n punctuation, and symbols. Tabs, line breaks, invalid text, and invisible formatting characters are not allowed.\n- Labels must be unique within the zone, and so must topic descriptions.\n\nConfirm with the user before calling this tool. This operation overwrites the AI Security for Apps custom topics for a zone.\n\nPUT /zones/{zone_id}/ai-security/custom-topics", inputSchema: { type: "object", properties: { @@ -111,10 +109,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waf-product-api-bundle_custom-topics" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_zone_id", - "description": "Defines the zone." + "description": "Defines the zone.", + "type": "string" } }, "required": [ @@ -127,10 +126,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "waf-product-api-bundle_custom-topic": waf$$product$$api$$bundle_custom$$topic$, "waf-product-api-bundle_custom-topics": waf$$product$$api$$bundle_custom$$topics$, - "waf-product-api-bundle_zone_id": waf$$product$$api$$bundle_zone_id, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/aiSecurity/schemas.ts b/src/generated/forge-mcp/aiSecurity/schemas.ts index a183e8d73..d96985f95 100644 --- a/src/generated/forge-mcp/aiSecurity/schemas.ts +++ b/src/generated/forge-mcp/aiSecurity/schemas.ts @@ -16,11 +16,3 @@ export const waf$$product$$api$$bundle_settings: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `waf-product-api-bundle_zone_id`. - */ -export const waf$$product$$api$$bundle_zone_id: JsonSchema = { - "description": "Defines the zone.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/aiSecurity/tools.ts b/src/generated/forge-mcp/aiSecurity/tools.ts index cf851f62e..31a124380 100644 --- a/src/generated/forge-mcp/aiSecurity/tools.ts +++ b/src/generated/forge-mcp/aiSecurity/tools.ts @@ -12,10 +12,7 @@ import { waf$$product$$api$$bundle_response$$settings, waf$$product$$api$$bundle_settings, } from "./outputs.js"; -import { - waf$$product$$api$$bundle_settings as waf$$product$$api$$bundle_settings$, - waf$$product$$api$$bundle_zone_id, -} from "./schemas.js"; +import { waf$$product$$api$$bundle_settings as waf$$product$$api$$bundle_settings$ } from "./schemas.js"; /** * The tools of `aiSecurity`. @@ -24,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "aiSecurity_get", title: "Get the AI Security for Apps status for a zone.", - description: "Get the current AI Security for Apps status for the zone. While enabled, Cloudflare scans prompts sent to endpoints labeled `cf-llm` for personally identifiable information, unsafe topics, and prompt injection attempts.", + description: "Get the current AI Security for Apps status for the zone. While enabled, Cloudflare scans prompts sent to endpoints labeled `cf-llm` for personally identifiable information, unsafe topics, and prompt injection attempts.\n\nGET /zones/{zone_id}/ai-security/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_zone_id", - "description": "Defines the zone." + "description": "Defines the zone.", + "type": "string" } }, "required": [ @@ -44,9 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waf-product-api-bundle_zone_id": waf$$product$$api$$bundle_zone_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-settings", @@ -99,7 +95,7 @@ export const tools: readonly Tool[] = [ { name: "aiSecurity_update", title: "Update the AI Security for Apps status for a zone.", - description: "Update the AI Security for Apps status for the zone, enabling or disabling the detection. The detection results are exposed as `cf.llm.prompt.*` fields for use in custom rules and rate limiting rules; changes can take up to a minute to propagate.\n\nConfirm with the user before calling this tool. This operation toggles AI Security for Apps for a zone.", + description: "Update the AI Security for Apps status for the zone, enabling or disabling the detection. The detection results are exposed as `cf.llm.prompt.*` fields for use in custom rules and rate limiting rules; changes can take up to a minute to propagate.\n\nConfirm with the user before calling this tool. This operation toggles AI Security for Apps for a zone.\n\nPUT /zones/{zone_id}/ai-security/settings", inputSchema: { type: "object", properties: { @@ -107,10 +103,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waf-product-api-bundle_settings" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_zone_id", - "description": "Defines the zone." + "description": "Defines the zone.", + "type": "string" } }, "required": [ @@ -123,9 +120,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "waf-product-api-bundle_settings": waf$$product$$api$$bundle_settings$, - "waf-product-api-bundle_zone_id": waf$$product$$api$$bundle_zone_id, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts b/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts index c089f0eb2..04a6b64f5 100644 --- a/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts +++ b/src/generated/forge-mcp/alerting/availableAlerts/outputs.ts @@ -9,16 +9,16 @@ import type { JsonSchema } from "../../_/tool.js"; export const aaa_alert$$types: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/aaa_description" + "type": "string" }, "display_name": { - "$ref": "#/$defs/aaa_display_name" + "type": "string" }, "filter_options": { "$ref": "#/$defs/aaa_filter_options" }, "type": { - "$ref": "#/$defs/aaa_type" + "type": "string" } }, "type": "object" @@ -49,20 +49,6 @@ export const aaa_alerts$$response_collection: JsonSchema = { ] }; -/** - * The schema of `aaa_description` in responses. - */ -export const aaa_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_display_name` in responses. - */ -export const aaa_display_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `aaa_filter_options` in responses. */ @@ -72,10 +58,3 @@ export const aaa_filter_options: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `aaa_type` in responses. - */ -export const aaa_type: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/availableAlerts/tools.ts b/src/generated/forge-mcp/alerting/availableAlerts/tools.ts index c7a0a0382..2498d5415 100644 --- a/src/generated/forge-mcp/alerting/availableAlerts/tools.ts +++ b/src/generated/forge-mcp/alerting/availableAlerts/tools.ts @@ -7,14 +7,10 @@ import { aaa_api$$response$$common$$failure$$3, aaa_messages$$3, } from "../outputs.js"; -import { aaa_account$$id } from "../schemas.js"; import { aaa_alert$$types, aaa_alerts$$response_collection, - aaa_description, - aaa_display_name, aaa_filter_options, - aaa_type, } from "./outputs.js"; /** @@ -24,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "alerting_availableAlerts_list", title: "Get Alert Types", - description: "Gets a list of all alert types for which an account is eligible.", + description: "Gets a list of all alert types for which an account is eligible.\n\nGET /accounts/{account_id}/alerting/v3/available_alerts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -44,9 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_alerts-response_collection", @@ -54,11 +49,8 @@ export const tools: readonly Tool[] = [ "aaa_alert-types": aaa_alert$$types, "aaa_alerts-response_collection": aaa_alerts$$response_collection, "aaa_api-response-common-2": aaa_api$$response$$common$$2, - "aaa_description": aaa_description, - "aaa_display_name": aaa_display_name, "aaa_filter_options": aaa_filter_options, "aaa_messages-3": aaa_messages$$3, - "aaa_type": aaa_type, }, }, annotations: { @@ -93,11 +85,8 @@ export const tools: readonly Tool[] = [ "aaa_alerts-response_collection": aaa_alerts$$response_collection, "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, - "aaa_description": aaa_description, - "aaa_display_name": aaa_display_name, "aaa_filter_options": aaa_filter_options, "aaa_messages-3": aaa_messages$$3, - "aaa_type": aaa_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts b/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts index d445886df..d070d42a5 100644 --- a/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts +++ b/src/generated/forge-mcp/alerting/destinations/eligible/outputs.ts @@ -9,32 +9,23 @@ import type { JsonSchema } from "../../../_/tool.js"; export const aaa_eligibility: JsonSchema = { "properties": { "eligible": { - "$ref": "#/$defs/aaa_eligible" + "type": "boolean" }, "ready": { - "$ref": "#/$defs/aaa_ready" + "type": "boolean" }, "type": { - "$ref": "#/$defs/aaa_schemas-type" + "enum": [ + "email", + "pagerduty", + "webhook" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `aaa_eligible` in responses. - */ -export const aaa_eligible: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `aaa_ready` in responses. - */ -export const aaa_ready: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `aaa_schemas-response_collection` in responses. */ @@ -59,15 +50,3 @@ export const aaa_schemas$$response_collection: JsonSchema = { } ] }; - -/** - * The schema of `aaa_schemas-type` in responses. - */ -export const aaa_schemas$$type: JsonSchema = { - "enum": [ - "email", - "pagerduty", - "webhook" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts b/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts index 4acee759a..e10508606 100644 --- a/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts +++ b/src/generated/forge-mcp/alerting/destinations/eligible/tools.ts @@ -7,13 +7,9 @@ import { aaa_api$$response$$common$$failure$$3, aaa_messages$$3, } from "../../outputs.js"; -import { aaa_account$$id } from "../../schemas.js"; import { aaa_eligibility, - aaa_eligible, - aaa_ready, aaa_schemas$$response_collection, - aaa_schemas$$type, } from "./outputs.js"; /** @@ -23,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_eligible_get", title: "Get delivery mechanism eligibility", - description: "Get a list of all delivery mechanism types for which an account is eligible.", + description: "Get a list of all delivery mechanism types for which an account is eligible.\n\nGET /accounts/{account_id}/alerting/v3/destinations/eligible", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -43,20 +40,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_schemas-response_collection", $defs: { "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_eligibility": aaa_eligibility, - "aaa_eligible": aaa_eligible, "aaa_messages-3": aaa_messages$$3, - "aaa_ready": aaa_ready, "aaa_schemas-response_collection": aaa_schemas$$response_collection, - "aaa_schemas-type": aaa_schemas$$type, }, }, annotations: { @@ -81,11 +73,8 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_eligibility": aaa_eligibility, - "aaa_eligible": aaa_eligible, "aaa_messages-3": aaa_messages$$3, - "aaa_ready": aaa_ready, "aaa_schemas-response_collection": aaa_schemas$$response_collection, - "aaa_schemas-type": aaa_schemas$$type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts b/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts index 8b0714e3b..35709a2c4 100644 --- a/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts +++ b/src/generated/forge-mcp/alerting/destinations/pagerduty/outputs.ts @@ -25,23 +25,16 @@ export const aaa_components$$schemas$$response_collection: JsonSchema = { ] }; -/** - * The schema of `aaa_name` in responses. - */ -export const aaa_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `aaa_pagerduty` in responses. */ export const aaa_pagerduty: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/aaa_uuid" + "type": "string" }, "name": { - "$ref": "#/$defs/aaa_name" + "type": "string" } }, "type": "object" @@ -60,7 +53,7 @@ export const aaa_sensitive_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/aaa_token" + "type": "string" } }, "type": "object" @@ -70,10 +63,3 @@ export const aaa_sensitive_id_response: JsonSchema = { } ] }; - -/** - * The schema of `aaa_token` in responses. - */ -export const aaa_token: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/destinations/pagerduty/schemas.ts b/src/generated/forge-mcp/alerting/destinations/pagerduty/schemas.ts deleted file mode 100644 index e5c8667a1..000000000 --- a/src/generated/forge-mcp/alerting/destinations/pagerduty/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `aaa_integration-token`. - */ -export const aaa_integration$$token: JsonSchema = { - "description": "The token integration key", - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts b/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts index 1521be586..e31f4d810 100644 --- a/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts +++ b/src/generated/forge-mcp/alerting/destinations/pagerduty/tools.ts @@ -8,17 +8,12 @@ import { aaa_api$$response$$single, aaa_id_response, aaa_messages$$3, - aaa_uuid, } from "../../outputs.js"; -import { aaa_account$$id } from "../../schemas.js"; import { aaa_components$$schemas$$response_collection, - aaa_name, aaa_pagerduty, aaa_sensitive_id_response, - aaa_token, } from "./outputs.js"; -import { aaa_integration$$token } from "./schemas.js"; /** * The tools of `alerting.destinations.pagerduty`. @@ -27,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_pagerduty_create", title: "Create PagerDuty integration token", - description: "Creates a new token for integrating with PagerDuty.", + description: "Creates a new token for integrating with PagerDuty.\n\nPOST /accounts/{account_id}/alerting/v3/destinations/pagerduty/connect", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -47,9 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_sensitive_id_response", @@ -57,7 +51,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_messages-3": aaa_messages$$3, "aaa_sensitive_id_response": aaa_sensitive_id_response, - "aaa_token": aaa_token, }, }, annotations: { @@ -97,8 +90,6 @@ export const tools: readonly Tool[] = [ "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, "aaa_sensitive_id_response": aaa_sensitive_id_response, - "aaa_token": aaa_token, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -108,15 +99,16 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_pagerduty_delete", title: "Delete PagerDuty Services", - description: "Deletes all the PagerDuty Services connected to the account.\n\nConfirm with the user before calling this tool. This operation deletes all PagerDuty services connected to the account.", + description: "Deletes all the PagerDuty Services connected to the account.\n\nConfirm with the user before calling this tool. This operation deletes all PagerDuty services connected to the account.\n\nDELETE /accounts/{account_id}/alerting/v3/destinations/pagerduty", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -128,9 +120,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-common-2", @@ -176,15 +166,16 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_pagerduty_get", title: "List PagerDuty services", - description: "Get a list of all configured PagerDuty services.", + description: "Get a list of all configured PagerDuty services.\n\nGET /accounts/{account_id}/alerting/v3/destinations/pagerduty", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -196,9 +187,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_components-schemas-response_collection", @@ -206,9 +195,7 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_components-schemas-response_collection": aaa_components$$schemas$$response_collection, "aaa_messages-3": aaa_messages$$3, - "aaa_name": aaa_name, "aaa_pagerduty": aaa_pagerduty, - "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -249,9 +236,7 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_components-schemas-response_collection": aaa_components$$schemas$$response_collection, "aaa_messages-3": aaa_messages$$3, - "aaa_name": aaa_name, "aaa_pagerduty": aaa_pagerduty, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -261,19 +246,20 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_pagerduty_link", title: "Connect PagerDuty", - description: "Links PagerDuty with the account using the integration token.", + description: "Links PagerDuty with the account using the integration token.\n\nGET /accounts/{account_id}/alerting/v3/destinations/pagerduty/connect/{token_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "token_id": { - "$ref": "#/$defs/aaa_integration-token", - "description": "The token integration key" + "description": "The token integration key", + "type": "string" } }, "required": [ @@ -286,10 +272,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_integration-token": aaa_integration$$token, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_id_response", @@ -297,7 +280,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -336,7 +318,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts b/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts index 851e3ca54..9c1cc929a 100644 --- a/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts +++ b/src/generated/forge-mcp/alerting/destinations/webhooks/outputs.ts @@ -3,54 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `aaa_components-schemas-name` in responses. - */ -export const aaa_components$$schemas$$name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_components-schemas-type` in responses. - */ -export const aaa_components$$schemas$$type: JsonSchema = { - "enum": [ - "datadog", - "discord", - "feishu", - "gchat", - "generic", - "opsgenie", - "slack", - "splunk" - ], - "type": "string" -}; - -/** - * The schema of `aaa_created_at` in responses. - */ -export const aaa_created_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `aaa_last_failure` in responses. - */ -export const aaa_last_failure: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `aaa_last_success` in responses. - */ -export const aaa_last_success: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `aaa_schemas-single_response` in responses. */ @@ -70,55 +22,47 @@ export const aaa_schemas$$single_response: JsonSchema = { ] }; -/** - * The schema of `aaa_secret` in responses. - */ -export const aaa_secret: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_url` in responses. - */ -export const aaa_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_webhook-id` in responses. - */ -export const aaa_webhook$$id: JsonSchema = { - "type": "string" -}; - /** * The schema of `aaa_webhooks` in responses. */ export const aaa_webhooks: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/aaa_created_at" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/aaa_webhook-id" + "type": "string" }, "last_failure": { - "$ref": "#/$defs/aaa_last_failure" + "format": "date-time", + "type": "string" }, "last_success": { - "$ref": "#/$defs/aaa_last_success" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/aaa_components-schemas-name" + "type": "string" }, "secret": { - "$ref": "#/$defs/aaa_secret" + "type": "string" }, "type": { - "$ref": "#/$defs/aaa_components-schemas-type" + "enum": [ + "datadog", + "discord", + "feishu", + "gchat", + "generic", + "opsgenie", + "slack", + "splunk" + ], + "type": "string" }, "url": { - "$ref": "#/$defs/aaa_url" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/alerting/destinations/webhooks/schemas.ts b/src/generated/forge-mcp/alerting/destinations/webhooks/schemas.ts deleted file mode 100644 index 783f5aa01..000000000 --- a/src/generated/forge-mcp/alerting/destinations/webhooks/schemas.ts +++ /dev/null @@ -1,36 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `aaa_components-schemas-name`. - */ -export const aaa_components$$schemas$$name: JsonSchema = { - "description": "The name of the webhook destination. This will be included in the request body when you receive a webhook notification.", - "type": "string" -}; - -/** - * The schema of `aaa_secret`. - */ -export const aaa_secret: JsonSchema = { - "description": "Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body.", - "type": "string" -}; - -/** - * The schema of `aaa_url`. - */ -export const aaa_url: JsonSchema = { - "description": "The POST endpoint to call when dispatching a notification.", - "type": "string" -}; - -/** - * The schema of `aaa_webhook-id`. - */ -export const aaa_webhook$$id: JsonSchema = { - "description": "The unique identifier of a webhook", - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts b/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts index 7fd6712cc..747e2116a 100644 --- a/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts +++ b/src/generated/forge-mcp/alerting/destinations/webhooks/tools.ts @@ -8,28 +8,12 @@ import { aaa_api$$response$$single, aaa_id_response, aaa_messages$$3, - aaa_uuid, } from "../../outputs.js"; -import { aaa_account$$id } from "../../schemas.js"; import { - aaa_components$$schemas$$name, - aaa_components$$schemas$$type, - aaa_created_at, - aaa_last_failure, - aaa_last_success, aaa_schemas$$single_response, - aaa_secret, - aaa_url, - aaa_webhook$$id, aaa_webhooks, aaa_webhooks_components$$schemas$$response_collection, } from "./outputs.js"; -import { - aaa_components$$schemas$$name as aaa_components$$schemas$$name$, - aaa_secret as aaa_secret$, - aaa_url as aaa_url$, - aaa_webhook$$id as aaa_webhook$$id$, -} from "./schemas.js"; /** * The tools of `alerting.destinations.webhooks`. @@ -38,23 +22,23 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_webhooks_create", title: "Create a webhook", - description: "Creates a new webhook destination.", + description: "Creates a new webhook destination.\n\nPOST /accounts/{account_id}/alerting/v3/destinations/webhooks", inputSchema: { type: "object", properties: { "body": { "properties": { "name": { - "$ref": "#/$defs/aaa_components-schemas-name", - "description": "The name of the webhook destination. This will be included in the request body when you receive a webhook notification." + "description": "The name of the webhook destination. This will be included in the request body when you receive a webhook notification.", + "type": "string" }, "secret": { - "$ref": "#/$defs/aaa_secret", - "description": "Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body." + "description": "Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body.", + "type": "string" }, "url": { - "$ref": "#/$defs/aaa_url", - "description": "The POST endpoint to call when dispatching a notification." + "description": "The POST endpoint to call when dispatching a notification.", + "type": "string" } }, "required": [ @@ -64,10 +48,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -80,12 +65,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_components-schemas-name": aaa_components$$schemas$$name$, - "aaa_secret": aaa_secret$, - "aaa_url": aaa_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_id_response", @@ -93,7 +73,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -138,7 +117,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -149,19 +127,20 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_webhooks_delete", title: "Delete a webhook", - description: "Delete a configured webhook destination.\n\nConfirm with the user before calling this tool. This operation deletes the webhook destination.", + description: "Delete a configured webhook destination.\n\nConfirm with the user before calling this tool. This operation deletes the webhook destination.\n\nDELETE /accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "webhook_id": { - "$ref": "#/$defs/aaa_webhook-id", - "description": "The unique identifier of a webhook" + "description": "The unique identifier of a webhook", + "type": "string" } }, "required": [ @@ -174,10 +153,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_webhook-id": aaa_webhook$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-common-2", @@ -229,19 +205,20 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_webhooks_get", title: "Get a webhook", - description: "Get details for a single webhooks destination.", + description: "Get details for a single webhooks destination.\n\nGET /accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "webhook_id": { - "$ref": "#/$defs/aaa_webhook-id", - "description": "The unique identifier of a webhook" + "description": "The unique identifier of a webhook", + "type": "string" } }, "required": [ @@ -254,25 +231,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_webhook-id": aaa_webhook$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_schemas-single_response", $defs: { "aaa_api-response-single": aaa_api$$response$$single, - "aaa_components-schemas-name": aaa_components$$schemas$$name, - "aaa_components-schemas-type": aaa_components$$schemas$$type, - "aaa_created_at": aaa_created_at, - "aaa_last_failure": aaa_last_failure, - "aaa_last_success": aaa_last_success, "aaa_messages-3": aaa_messages$$3, "aaa_schemas-single_response": aaa_schemas$$single_response, - "aaa_secret": aaa_secret, - "aaa_url": aaa_url, - "aaa_webhook-id": aaa_webhook$$id, "aaa_webhooks": aaa_webhooks, }, }, @@ -319,16 +285,8 @@ export const tools: readonly Tool[] = [ $defs: { "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_api-response-single": aaa_api$$response$$single, - "aaa_components-schemas-name": aaa_components$$schemas$$name, - "aaa_components-schemas-type": aaa_components$$schemas$$type, - "aaa_created_at": aaa_created_at, - "aaa_last_failure": aaa_last_failure, - "aaa_last_success": aaa_last_success, "aaa_messages-3": aaa_messages$$3, "aaa_schemas-single_response": aaa_schemas$$single_response, - "aaa_secret": aaa_secret, - "aaa_url": aaa_url, - "aaa_webhook-id": aaa_webhook$$id, "aaa_webhooks": aaa_webhooks, }, }, @@ -339,15 +297,16 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_webhooks_list", title: "List webhooks", - description: "Gets a list of all configured webhook destinations.", + description: "Gets a list of all configured webhook destinations.\n\nGET /accounts/{account_id}/alerting/v3/destinations/webhooks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -359,23 +318,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_webhooks_components-schemas-response_collection", $defs: { "aaa_api-response-common-2": aaa_api$$response$$common$$2, - "aaa_components-schemas-name": aaa_components$$schemas$$name, - "aaa_components-schemas-type": aaa_components$$schemas$$type, - "aaa_created_at": aaa_created_at, - "aaa_last_failure": aaa_last_failure, - "aaa_last_success": aaa_last_success, "aaa_messages-3": aaa_messages$$3, - "aaa_secret": aaa_secret, - "aaa_url": aaa_url, - "aaa_webhook-id": aaa_webhook$$id, "aaa_webhooks": aaa_webhooks, "aaa_webhooks_components-schemas-response_collection": aaa_webhooks_components$$schemas$$response_collection, }, @@ -423,15 +372,7 @@ export const tools: readonly Tool[] = [ $defs: { "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, - "aaa_components-schemas-name": aaa_components$$schemas$$name, - "aaa_components-schemas-type": aaa_components$$schemas$$type, - "aaa_created_at": aaa_created_at, - "aaa_last_failure": aaa_last_failure, - "aaa_last_success": aaa_last_success, "aaa_messages-3": aaa_messages$$3, - "aaa_secret": aaa_secret, - "aaa_url": aaa_url, - "aaa_webhook-id": aaa_webhook$$id, "aaa_webhooks": aaa_webhooks, "aaa_webhooks_components-schemas-response_collection": aaa_webhooks_components$$schemas$$response_collection, }, @@ -443,23 +384,23 @@ export const tools: readonly Tool[] = [ { name: "alerting_destinations_webhooks_update", title: "Update a webhook", - description: "Update a webhook destination.", + description: "Update a webhook destination.\n\nPUT /accounts/{account_id}/alerting/v3/destinations/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "name": { - "$ref": "#/$defs/aaa_components-schemas-name", - "description": "The name of the webhook destination. This will be included in the request body when you receive a webhook notification." + "description": "The name of the webhook destination. This will be included in the request body when you receive a webhook notification.", + "type": "string" }, "secret": { - "$ref": "#/$defs/aaa_secret", - "description": "Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body." + "description": "Optional secret that will be passed in the `cf-webhook-auth` header when dispatching generic webhook notifications or formatted for supported destinations. Secrets are not returned in any API response body.", + "type": "string" }, "url": { - "$ref": "#/$defs/aaa_url", - "description": "The POST endpoint to call when dispatching a notification." + "description": "The POST endpoint to call when dispatching a notification.", + "type": "string" } }, "required": [ @@ -469,14 +410,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "webhook_id": { - "$ref": "#/$defs/aaa_webhook-id", - "description": "The unique identifier of a webhook" + "description": "The unique identifier of a webhook", + "type": "string" } }, "required": [ @@ -490,13 +432,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_components-schemas-name": aaa_components$$schemas$$name$, - "aaa_secret": aaa_secret$, - "aaa_url": aaa_url$, - "aaa_webhook-id": aaa_webhook$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_id_response", @@ -504,7 +440,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -549,7 +484,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/history/outputs.ts b/src/generated/forge-mcp/alerting/history/outputs.ts index 638ffc142..acc0e7828 100644 --- a/src/generated/forge-mcp/alerting/history/outputs.ts +++ b/src/generated/forge-mcp/alerting/history/outputs.ts @@ -3,51 +3,43 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `aaa_alert_body` in responses. - */ -export const aaa_alert_body: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_components-schemas-description` in responses. - */ -export const aaa_components$$schemas$$description: JsonSchema = { - "type": "string" -}; - /** * The schema of `aaa_history` in responses. */ export const aaa_history: JsonSchema = { "properties": { "alert_body": { - "$ref": "#/$defs/aaa_alert_body" + "type": "string" }, "alert_type": { - "$ref": "#/$defs/aaa_schemas-alert_type" + "type": "string" }, "description": { - "$ref": "#/$defs/aaa_components-schemas-description" + "type": "string" }, "id": { - "$ref": "#/$defs/aaa_uuid" + "type": "string" }, "mechanism": { - "$ref": "#/$defs/aaa_mechanism" + "type": "string" }, "mechanism_type": { - "$ref": "#/$defs/aaa_mechanism_type" + "enum": [ + "email", + "pagerduty", + "webhook" + ], + "type": "string" }, "name": { - "$ref": "#/$defs/aaa_schemas-name" + "type": "string" }, "policy_id": { - "$ref": "#/$defs/aaa_policy-id" + "type": "string" }, "sent": { - "$ref": "#/$defs/aaa_sent" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -78,37 +70,3 @@ export const aaa_history_components$$schemas$$response_collection: JsonSchema = } ] }; - -/** - * The schema of `aaa_mechanism` in responses. - */ -export const aaa_mechanism: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_mechanism_type` in responses. - */ -export const aaa_mechanism_type: JsonSchema = { - "enum": [ - "email", - "pagerduty", - "webhook" - ], - "type": "string" -}; - -/** - * The schema of `aaa_schemas-alert_type` in responses. - */ -export const aaa_schemas$$alert_type: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_sent` in responses. - */ -export const aaa_sent: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/history/schemas.ts b/src/generated/forge-mcp/alerting/history/schemas.ts deleted file mode 100644 index 4191ec70d..000000000 --- a/src/generated/forge-mcp/alerting/history/schemas.ts +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `aaa_before`. - */ -export const aaa_before: JsonSchema = { - "description": "Limit the returned results to history records older than the specified date. This must be a timestamp that conforms to RFC3339.", - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `aaa_per_page`. - */ -export const aaa_per_page: JsonSchema = { - "description": "Number of items per page.", - "type": "number" -}; diff --git a/src/generated/forge-mcp/alerting/history/tools.ts b/src/generated/forge-mcp/alerting/history/tools.ts index 3fbd7c4f1..91f4f7433 100644 --- a/src/generated/forge-mcp/alerting/history/tools.ts +++ b/src/generated/forge-mcp/alerting/history/tools.ts @@ -7,23 +7,12 @@ import { aaa_api$$response$$common$$2, aaa_api$$response$$common$$failure$$3, aaa_messages$$3, - aaa_policy$$id, aaa_result_info$$2, - aaa_schemas$$name, - aaa_uuid, } from "../outputs.js"; -import { aaa_account$$id } from "../schemas.js"; import { - aaa_alert_body, - aaa_components$$schemas$$description, aaa_history, aaa_history_components$$schemas$$response_collection, - aaa_mechanism, - aaa_mechanism_type, - aaa_schemas$$alert_type, - aaa_sent, } from "./outputs.js"; -import { aaa_before, aaa_per_page } from "./schemas.js"; /** * The tools of `alerting.history`. @@ -32,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "alerting_history_list", title: "List History", - description: "Gets a list of history records for notifications sent to an account. The records are displayed for last `x` number of days based on the zone plan (free = 30, pro = 30, biz = 30, ent = 90).", + description: "Gets a list of history records for notifications sent to an account. The records are displayed for last `x` number of days based on the zone plan (free = 30, pro = 30, biz = 30, ent = 90).\n\nGET /accounts/{account_id}/alerting/v3/history", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -49,10 +39,12 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "before": { - "$ref": "#/$defs/aaa_before", - "description": "Limit the returned results to history records older than the specified date. This must be a timestamp that conforms to RFC3339." + "description": "Limit the returned results to history records older than the specified date. This must be a timestamp that conforms to RFC3339.", + "format": "date-time", + "type": "string" }, "page": { "default": 1, @@ -60,9 +52,9 @@ export const tools: readonly Tool[] = [ "type": "number" }, "per_page": { - "$ref": "#/$defs/aaa_per_page", "default": 25, - "description": "Number of items per page." + "description": "Number of items per page.", + "type": "number" }, "since": { "description": "Limit the returned results to history records newer than the specified date. This must be a timestamp that conforms to RFC3339.", @@ -76,30 +68,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_before": aaa_before, - "aaa_per_page": aaa_per_page, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_history_components-schemas-response_collection", $defs: { - "aaa_alert_body": aaa_alert_body, "aaa_api-response-collection": aaa_api$$response$$collection, "aaa_api-response-common-2": aaa_api$$response$$common$$2, - "aaa_components-schemas-description": aaa_components$$schemas$$description, "aaa_history": aaa_history, "aaa_history_components-schemas-response_collection": aaa_history_components$$schemas$$response_collection, - "aaa_mechanism": aaa_mechanism, - "aaa_mechanism_type": aaa_mechanism_type, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_result_info-2": aaa_result_info$$2, - "aaa_schemas-alert_type": aaa_schemas$$alert_type, - "aaa_schemas-name": aaa_schemas$$name, - "aaa_sent": aaa_sent, - "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -137,22 +116,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_alert_body": aaa_alert_body, "aaa_api-response-collection": aaa_api$$response$$collection, "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, - "aaa_components-schemas-description": aaa_components$$schemas$$description, "aaa_history": aaa_history, "aaa_history_components-schemas-response_collection": aaa_history_components$$schemas$$response_collection, - "aaa_mechanism": aaa_mechanism, - "aaa_mechanism_type": aaa_mechanism_type, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_result_info-2": aaa_result_info$$2, - "aaa_schemas-alert_type": aaa_schemas$$alert_type, - "aaa_schemas-name": aaa_schemas$$name, - "aaa_sent": aaa_sent, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/outputs.ts b/src/generated/forge-mcp/alerting/outputs.ts index 5e31cc51d..c2c7ee5c2 100644 --- a/src/generated/forge-mcp/alerting/outputs.ts +++ b/src/generated/forge-mcp/alerting/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `aaa_account-id` in responses. - */ -export const aaa_account$$id: JsonSchema = { - "type": "string" -}; - /** * The schema of `aaa_api-response-collection` in responses. */ @@ -120,7 +113,7 @@ export const aaa_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/aaa_uuid" + "type": "string" } }, "type": "object" @@ -152,13 +145,6 @@ export const aaa_messages$$3: JsonSchema = { "type": "array" }; -/** - * The schema of `aaa_policy-id` in responses. - */ -export const aaa_policy$$id: JsonSchema = { - "type": "string" -}; - /** * The schema of `aaa_result_info-2` in responses. */ @@ -179,17 +165,3 @@ export const aaa_result_info$$2: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `aaa_schemas-name` in responses. - */ -export const aaa_schemas$$name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_uuid` in responses. - */ -export const aaa_uuid: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/policies/email/outputs.ts b/src/generated/forge-mcp/alerting/policies/email/outputs.ts index ca6ff6f0d..a4863b3d9 100644 --- a/src/generated/forge-mcp/alerting/policies/email/outputs.ts +++ b/src/generated/forge-mcp/alerting/policies/email/outputs.ts @@ -9,16 +9,16 @@ import type { JsonSchema } from "../../../_/tool.js"; export const aaa_unsubscribe_email: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id" + "type": "string" }, "email": { "type": "string" }, "id": { - "$ref": "#/$defs/aaa_policy-id" + "type": "string" }, "name": { - "$ref": "#/$defs/aaa_schemas-name" + "type": "string" }, "token": { "type": "string" @@ -33,13 +33,13 @@ export const aaa_unsubscribe_email: JsonSchema = { export const aaa_unsubscribe_email_post: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id" + "type": "string" }, "email": { "type": "string" }, "id": { - "$ref": "#/$defs/aaa_policy-id" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/alerting/policies/email/tools.ts b/src/generated/forge-mcp/alerting/policies/email/tools.ts index 63b827da0..03dfe6207 100644 --- a/src/generated/forge-mcp/alerting/policies/email/tools.ts +++ b/src/generated/forge-mcp/alerting/policies/email/tools.ts @@ -3,17 +3,10 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - aaa_account$$id, aaa_api$$response$$common$$failure$$3, aaa_api$$response$$single, aaa_messages$$3, - aaa_policy$$id, - aaa_schemas$$name, } from "../../outputs.js"; -import { - aaa_account$$id as aaa_account$$id$, - aaa_policy$$id as aaa_policy$$id$, -} from "../../schemas.js"; import { aaa_unsubscribe_email, aaa_unsubscribe_email_post, @@ -28,19 +21,20 @@ export const tools: readonly Tool[] = [ { name: "alerting_policies_email_details", title: "Show email unsubscribe details", - description: "Shows details for unsubscribing an email address from a notification policy.", + description: "Shows details for unsubscribing an email address from a notification policy.\n\nGET /accounts/{account_id}/alerting/v3/policies/{policy_id}/email/unsubscribe", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "description": "The unique identifier of a notification policy", + "type": "string" } }, "required": [ @@ -50,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "email": { "type": "string" @@ -69,19 +64,13 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "aaa_account-id": aaa_account$$id$, - "aaa_policy-id": aaa_policy$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_unsubscribe_email_single_response", $defs: { - "aaa_account-id": aaa_account$$id, "aaa_api-response-single": aaa_api$$response$$single, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, - "aaa_schemas-name": aaa_schemas$$name, "aaa_unsubscribe_email": aaa_unsubscribe_email, "aaa_unsubscribe_email_single_response": aaa_unsubscribe_email_single_response, }, @@ -114,12 +103,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_account-id": aaa_account$$id, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_api-response-single": aaa_api$$response$$single, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, - "aaa_schemas-name": aaa_schemas$$name, "aaa_unsubscribe_email": aaa_unsubscribe_email, "aaa_unsubscribe_email_single_response": aaa_unsubscribe_email_single_response, }, @@ -135,19 +121,20 @@ export const tools: readonly Tool[] = [ { name: "alerting_policies_email_unsubscribe", title: "Unsubscribe email from a Notification policy", - description: "Unsubscribes an email address from a notification policy.", + description: "Unsubscribes an email address from a notification policy.\n\nPOST /accounts/{account_id}/alerting/v3/policies/{policy_id}/email/unsubscribe", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "description": "The unique identifier of a notification policy", + "type": "string" } }, "required": [ @@ -157,6 +144,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "email": { "type": "string" @@ -176,18 +164,13 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "aaa_account-id": aaa_account$$id$, - "aaa_policy-id": aaa_policy$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_unsubscribe_email_post_single_response", $defs: { - "aaa_account-id": aaa_account$$id, "aaa_api-response-single": aaa_api$$response$$single, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_unsubscribe_email_post": aaa_unsubscribe_email_post, "aaa_unsubscribe_email_post_single_response": aaa_unsubscribe_email_post_single_response, }, @@ -211,11 +194,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_account-id": aaa_account$$id, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_api-response-single": aaa_api$$response$$single, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_unsubscribe_email_post": aaa_unsubscribe_email_post, "aaa_unsubscribe_email_post_single_response": aaa_unsubscribe_email_post_single_response, }, diff --git a/src/generated/forge-mcp/alerting/policies/outputs.ts b/src/generated/forge-mcp/alerting/policies/outputs.ts index fd4619680..7b91bf137 100644 --- a/src/generated/forge-mcp/alerting/policies/outputs.ts +++ b/src/generated/forge-mcp/alerting/policies/outputs.ts @@ -3,98 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `aaa_alert_interval` in responses. - */ -export const aaa_alert_interval: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_alert_type` in responses. - */ -export const aaa_alert_type: JsonSchema = { - "enum": [ - "abuse_report_alert", - "access_custom_certificate_expiration_type", - "advanced_ddos_attack_l4_alert", - "advanced_ddos_attack_l7_alert", - "advanced_http_alert_error", - "bgp_hijack_notification", - "billing_usage_alert", - "block_notification_block_removed", - "block_notification_new_block", - "block_notification_review_rejected", - "bot_traffic_basic_alert", - "brand_protection_alert", - "brand_protection_digest", - "clickhouse_alert_fw_anomaly", - "clickhouse_alert_fw_ent_anomaly", - "cloudforce_one_request_notification", - "cni_maintenance_notification", - "custom_analytics", - "custom_bot_detection_alert", - "custom_ssl_certificate_event_type", - "dedicated_ssl_certificate_event_type", - "device_connectivity_anomaly_alert", - "dos_attack_l4", - "dos_attack_l7", - "expiring_service_token_alert", - "failing_logpush_job_disabled_alert", - "fbm_auto_advertisement", - "fbm_dosd_attack", - "fbm_volumetric_attack", - "health_check_status_notification", - "hostname_aop_custom_certificate_expiration_type", - "http_alert_edge_error", - "http_alert_origin_error", - "image_notification", - "image_resizing_notification", - "incident_alert", - "load_balancing_health_alert", - "load_balancing_pool_enablement_alert", - "logo_match_alert", - "magic_tunnel_health_check_event", - "magic_wan_tunnel_health", - "maintenance_event_notification", - "mtls_certificate_store_certificate_expiration_type", - "pages_event_alert", - "radar_notification", - "real_origin_monitoring", - "scriptmonitor_alert_new_code_change_detections", - "scriptmonitor_alert_new_hosts", - "scriptmonitor_alert_new_malicious_hosts", - "scriptmonitor_alert_new_malicious_scripts", - "scriptmonitor_alert_new_malicious_url", - "scriptmonitor_alert_new_max_length_resource_url", - "scriptmonitor_alert_new_resources", - "secondary_dns_all_primaries_failing", - "secondary_dns_primaries_failing", - "secondary_dns_warning", - "secondary_dns_zone_successfully_updated", - "secondary_dns_zone_validation_warning", - "security_insights_alert", - "sentinel_alert", - "stream_live_notifications", - "synthetic_test_latency_alert", - "synthetic_test_low_availability_alert", - "traffic_anomalies_alert", - "tunnel_health_event", - "tunnel_update_event", - "universal_ssl_event_type", - "web_analytics_metrics_update", - "zone_aop_custom_certificate_expiration_type" - ], - "type": "string" -}; - -/** - * The schema of `aaa_enabled` in responses. - */ -export const aaa_enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `aaa_filters` in responses. */ @@ -398,7 +306,7 @@ export const aaa_mechanisms: JsonSchema = { "items": { "properties": { "id": { - "$ref": "#/$defs/aaa_uuid" + "type": "string" } }, "type": "object" @@ -409,7 +317,7 @@ export const aaa_mechanisms: JsonSchema = { "items": { "properties": { "id": { - "$ref": "#/$defs/aaa_uuid" + "type": "string" } }, "type": "object" @@ -426,34 +334,107 @@ export const aaa_mechanisms: JsonSchema = { export const aaa_policies: JsonSchema = { "properties": { "alert_interval": { - "$ref": "#/$defs/aaa_alert_interval" + "type": "string" }, "alert_type": { - "$ref": "#/$defs/aaa_alert_type" + "enum": [ + "abuse_report_alert", + "access_custom_certificate_expiration_type", + "advanced_ddos_attack_l4_alert", + "advanced_ddos_attack_l7_alert", + "advanced_http_alert_error", + "bgp_hijack_notification", + "billing_usage_alert", + "block_notification_block_removed", + "block_notification_new_block", + "block_notification_review_rejected", + "bot_traffic_basic_alert", + "brand_protection_alert", + "brand_protection_digest", + "clickhouse_alert_fw_anomaly", + "clickhouse_alert_fw_ent_anomaly", + "cloudforce_one_request_notification", + "cni_maintenance_notification", + "custom_analytics", + "custom_bot_detection_alert", + "custom_ssl_certificate_event_type", + "dedicated_ssl_certificate_event_type", + "device_connectivity_anomaly_alert", + "dos_attack_l4", + "dos_attack_l7", + "expiring_service_token_alert", + "failing_logpush_job_disabled_alert", + "fbm_auto_advertisement", + "fbm_dosd_attack", + "fbm_volumetric_attack", + "health_check_status_notification", + "hostname_aop_custom_certificate_expiration_type", + "http_alert_edge_error", + "http_alert_origin_error", + "image_notification", + "image_resizing_notification", + "incident_alert", + "load_balancing_health_alert", + "load_balancing_pool_enablement_alert", + "logo_match_alert", + "magic_tunnel_health_check_event", + "magic_wan_tunnel_health", + "maintenance_event_notification", + "mtls_certificate_store_certificate_expiration_type", + "pages_event_alert", + "radar_notification", + "real_origin_monitoring", + "scriptmonitor_alert_new_code_change_detections", + "scriptmonitor_alert_new_hosts", + "scriptmonitor_alert_new_malicious_hosts", + "scriptmonitor_alert_new_malicious_scripts", + "scriptmonitor_alert_new_malicious_url", + "scriptmonitor_alert_new_max_length_resource_url", + "scriptmonitor_alert_new_resources", + "secondary_dns_all_primaries_failing", + "secondary_dns_primaries_failing", + "secondary_dns_warning", + "secondary_dns_zone_successfully_updated", + "secondary_dns_zone_validation_warning", + "security_insights_alert", + "sentinel_alert", + "stream_live_notifications", + "synthetic_test_latency_alert", + "synthetic_test_low_availability_alert", + "traffic_anomalies_alert", + "tunnel_health_event", + "tunnel_update_event", + "universal_ssl_event_type", + "web_analytics_metrics_update", + "zone_aop_custom_certificate_expiration_type" + ], + "type": "string" }, "created": { - "$ref": "#/$defs/aaa_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/aaa_schemas-description" + "type": "string" }, "enabled": { - "$ref": "#/$defs/aaa_enabled" + "type": "boolean" }, "filters": { "$ref": "#/$defs/aaa_filters" }, "id": { - "$ref": "#/$defs/aaa_policy-id" + "type": "string" }, "mechanisms": { "$ref": "#/$defs/aaa_mechanisms" }, "modified": { - "$ref": "#/$defs/aaa_timestamp" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/aaa_schemas-name" + "type": "string" } }, "type": "object" @@ -482,13 +463,6 @@ export const aaa_policies_components$$schemas$$response_collection: JsonSchema = ] }; -/** - * The schema of `aaa_schemas-description` in responses. - */ -export const aaa_schemas$$description: JsonSchema = { - "type": "string" -}; - /** * The schema of `aaa_single_response` in responses. */ @@ -507,11 +481,3 @@ export const aaa_single_response: JsonSchema = { } ] }; - -/** - * The schema of `aaa_timestamp` in responses. - */ -export const aaa_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/policies/schemas.ts b/src/generated/forge-mcp/alerting/policies/schemas.ts index 3747fc1ee..640389e94 100644 --- a/src/generated/forge-mcp/alerting/policies/schemas.ts +++ b/src/generated/forge-mcp/alerting/policies/schemas.ts @@ -3,101 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `aaa_alert_interval`. - */ -export const aaa_alert_interval: JsonSchema = { - "description": "Optional specification of how often to re-alert from the same incident, not support on all alert types.", - "type": "string" -}; - -/** - * The schema of `aaa_alert_type`. - */ -export const aaa_alert_type: JsonSchema = { - "description": "Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.", - "enum": [ - "abuse_report_alert", - "access_custom_certificate_expiration_type", - "advanced_ddos_attack_l4_alert", - "advanced_ddos_attack_l7_alert", - "advanced_http_alert_error", - "bgp_hijack_notification", - "billing_usage_alert", - "block_notification_block_removed", - "block_notification_new_block", - "block_notification_review_rejected", - "bot_traffic_basic_alert", - "brand_protection_alert", - "brand_protection_digest", - "clickhouse_alert_fw_anomaly", - "clickhouse_alert_fw_ent_anomaly", - "cloudforce_one_request_notification", - "cni_maintenance_notification", - "custom_analytics", - "custom_bot_detection_alert", - "custom_ssl_certificate_event_type", - "dedicated_ssl_certificate_event_type", - "device_connectivity_anomaly_alert", - "dos_attack_l4", - "dos_attack_l7", - "expiring_service_token_alert", - "failing_logpush_job_disabled_alert", - "fbm_auto_advertisement", - "fbm_dosd_attack", - "fbm_volumetric_attack", - "health_check_status_notification", - "hostname_aop_custom_certificate_expiration_type", - "http_alert_edge_error", - "http_alert_origin_error", - "image_notification", - "image_resizing_notification", - "incident_alert", - "load_balancing_health_alert", - "load_balancing_pool_enablement_alert", - "logo_match_alert", - "magic_tunnel_health_check_event", - "magic_wan_tunnel_health", - "maintenance_event_notification", - "mtls_certificate_store_certificate_expiration_type", - "pages_event_alert", - "radar_notification", - "real_origin_monitoring", - "scriptmonitor_alert_new_code_change_detections", - "scriptmonitor_alert_new_hosts", - "scriptmonitor_alert_new_malicious_hosts", - "scriptmonitor_alert_new_malicious_scripts", - "scriptmonitor_alert_new_malicious_url", - "scriptmonitor_alert_new_max_length_resource_url", - "scriptmonitor_alert_new_resources", - "secondary_dns_all_primaries_failing", - "secondary_dns_primaries_failing", - "secondary_dns_warning", - "secondary_dns_zone_successfully_updated", - "secondary_dns_zone_validation_warning", - "security_insights_alert", - "sentinel_alert", - "stream_live_notifications", - "synthetic_test_latency_alert", - "synthetic_test_low_availability_alert", - "traffic_anomalies_alert", - "tunnel_health_event", - "tunnel_update_event", - "universal_ssl_event_type", - "web_analytics_metrics_update", - "zone_aop_custom_certificate_expiration_type" - ], - "type": "string" -}; - -/** - * The schema of `aaa_enabled`. - */ -export const aaa_enabled: JsonSchema = { - "description": "Whether or not the Notification policy is enabled.", - "type": "boolean" -}; - /** * The schema of `aaa_filters`. */ @@ -448,8 +353,8 @@ export const aaa_mechanisms: JsonSchema = { "items": { "properties": { "id": { - "$ref": "#/$defs/aaa_uuid", - "description": "UUID" + "description": "UUID", + "type": "string" } }, "type": "object" @@ -460,8 +365,8 @@ export const aaa_mechanisms: JsonSchema = { "items": { "properties": { "id": { - "$ref": "#/$defs/aaa_uuid", - "description": "UUID" + "description": "UUID", + "type": "string" } }, "type": "object" @@ -471,11 +376,3 @@ export const aaa_mechanisms: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `aaa_schemas-description`. - */ -export const aaa_schemas$$description: JsonSchema = { - "description": "Optional description for the Notification policy.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/policies/tools.ts b/src/generated/forge-mcp/alerting/policies/tools.ts index 18c4dda33..6a03555d5 100644 --- a/src/generated/forge-mcp/alerting/policies/tools.ts +++ b/src/generated/forge-mcp/alerting/policies/tools.ts @@ -9,36 +9,18 @@ import { aaa_api$$response$$single, aaa_id_response, aaa_messages$$3, - aaa_policy$$id, aaa_result_info$$2, - aaa_schemas$$name, - aaa_uuid, } from "../outputs.js"; import { - aaa_account$$id, - aaa_policy$$id as aaa_policy$$id$, - aaa_schemas$$name as aaa_schemas$$name$, - aaa_uuid as aaa_uuid$, -} from "../schemas.js"; -import { - aaa_alert_interval, - aaa_alert_type, - aaa_enabled, aaa_filters, aaa_mechanisms, aaa_policies, aaa_policies_components$$schemas$$response_collection, - aaa_schemas$$description, aaa_single_response, - aaa_timestamp, } from "./outputs.js"; import { - aaa_alert_interval as aaa_alert_interval$, - aaa_alert_type as aaa_alert_type$, - aaa_enabled as aaa_enabled$, aaa_filters as aaa_filters$, aaa_mechanisms as aaa_mechanisms$, - aaa_schemas$$description as aaa_schemas$$description$, } from "./schemas.js"; /** @@ -48,28 +30,99 @@ export const tools: readonly Tool[] = [ { name: "alerting_policies_create", title: "Create a Notification policy", - description: "Creates a new Notification policy.", + description: "Creates a new Notification policy.\n\nPOST /accounts/{account_id}/alerting/v3/policies", inputSchema: { type: "object", properties: { "body": { "properties": { "alert_interval": { - "$ref": "#/$defs/aaa_alert_interval", - "description": "Optional specification of how often to re-alert from the same incident, not support on all alert types." + "description": "Optional specification of how often to re-alert from the same incident, not support on all alert types.", + "type": "string" }, "alert_type": { - "$ref": "#/$defs/aaa_alert_type", - "description": "Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values." + "description": "Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.", + "enum": [ + "abuse_report_alert", + "access_custom_certificate_expiration_type", + "advanced_ddos_attack_l4_alert", + "advanced_ddos_attack_l7_alert", + "advanced_http_alert_error", + "bgp_hijack_notification", + "billing_usage_alert", + "block_notification_block_removed", + "block_notification_new_block", + "block_notification_review_rejected", + "bot_traffic_basic_alert", + "brand_protection_alert", + "brand_protection_digest", + "clickhouse_alert_fw_anomaly", + "clickhouse_alert_fw_ent_anomaly", + "cloudforce_one_request_notification", + "cni_maintenance_notification", + "custom_analytics", + "custom_bot_detection_alert", + "custom_ssl_certificate_event_type", + "dedicated_ssl_certificate_event_type", + "device_connectivity_anomaly_alert", + "dos_attack_l4", + "dos_attack_l7", + "expiring_service_token_alert", + "failing_logpush_job_disabled_alert", + "fbm_auto_advertisement", + "fbm_dosd_attack", + "fbm_volumetric_attack", + "health_check_status_notification", + "hostname_aop_custom_certificate_expiration_type", + "http_alert_edge_error", + "http_alert_origin_error", + "image_notification", + "image_resizing_notification", + "incident_alert", + "load_balancing_health_alert", + "load_balancing_pool_enablement_alert", + "logo_match_alert", + "magic_tunnel_health_check_event", + "magic_wan_tunnel_health", + "maintenance_event_notification", + "mtls_certificate_store_certificate_expiration_type", + "pages_event_alert", + "radar_notification", + "real_origin_monitoring", + "scriptmonitor_alert_new_code_change_detections", + "scriptmonitor_alert_new_hosts", + "scriptmonitor_alert_new_malicious_hosts", + "scriptmonitor_alert_new_malicious_scripts", + "scriptmonitor_alert_new_malicious_url", + "scriptmonitor_alert_new_max_length_resource_url", + "scriptmonitor_alert_new_resources", + "secondary_dns_all_primaries_failing", + "secondary_dns_primaries_failing", + "secondary_dns_warning", + "secondary_dns_zone_successfully_updated", + "secondary_dns_zone_validation_warning", + "security_insights_alert", + "sentinel_alert", + "stream_live_notifications", + "synthetic_test_latency_alert", + "synthetic_test_low_availability_alert", + "traffic_anomalies_alert", + "tunnel_health_event", + "tunnel_update_event", + "universal_ssl_event_type", + "web_analytics_metrics_update", + "zone_aop_custom_certificate_expiration_type" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/aaa_schemas-description", - "description": "Optional description for the Notification policy." + "description": "Optional description for the Notification policy.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/aaa_enabled", "default": true, - "description": "Whether or not the Notification policy is enabled." + "description": "Whether or not the Notification policy is enabled.", + "type": "boolean" }, "filters": { "$ref": "#/$defs/aaa_filters", @@ -80,8 +133,8 @@ export const tools: readonly Tool[] = [ "description": "List of IDs that will be used when dispatching a notification. IDs for email type will be the email address." }, "name": { - "$ref": "#/$defs/aaa_schemas-name", - "description": "Name of the policy." + "description": "Name of the policy.", + "type": "string" } }, "required": [ @@ -93,10 +146,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -109,16 +163,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_alert_interval": aaa_alert_interval$, - "aaa_alert_type": aaa_alert_type$, - "aaa_enabled": aaa_enabled$, "aaa_filters": aaa_filters$, "aaa_mechanisms": aaa_mechanisms$, - "aaa_schemas-description": aaa_schemas$$description$, - "aaa_schemas-name": aaa_schemas$$name$, - "aaa_uuid": aaa_uuid$, }, }, outputSchema: { @@ -127,7 +175,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -166,7 +213,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -177,19 +223,20 @@ export const tools: readonly Tool[] = [ { name: "alerting_policies_delete", title: "Delete a Notification policy", - description: "Delete a Notification policy.\n\nConfirm with the user before calling this tool. This operation deletes the notification policy.", + description: "Delete a Notification policy.\n\nConfirm with the user before calling this tool. This operation deletes the notification policy.\n\nDELETE /accounts/{account_id}/alerting/v3/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "description": "The unique identifier of a notification policy", + "type": "string" } }, "required": [ @@ -202,10 +249,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_policy-id": aaa_policy$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-collection", @@ -262,19 +306,20 @@ export const tools: readonly Tool[] = [ { name: "alerting_policies_get", title: "Get a Notification policy", - description: "Get details for a single policy.", + description: "Get details for a single policy.\n\nGET /accounts/{account_id}/alerting/v3/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "description": "The unique identifier of a notification policy", + "type": "string" } }, "required": [ @@ -287,28 +332,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_policy-id": aaa_policy$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_single_response", $defs: { - "aaa_alert_interval": aaa_alert_interval, - "aaa_alert_type": aaa_alert_type, "aaa_api-response-single": aaa_api$$response$$single, - "aaa_enabled": aaa_enabled, "aaa_filters": aaa_filters, "aaa_mechanisms": aaa_mechanisms, "aaa_messages-3": aaa_messages$$3, "aaa_policies": aaa_policies, - "aaa_policy-id": aaa_policy$$id, - "aaa_schemas-description": aaa_schemas$$description, - "aaa_schemas-name": aaa_schemas$$name, "aaa_single_response": aaa_single_response, - "aaa_timestamp": aaa_timestamp, - "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -346,21 +380,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_alert_interval": aaa_alert_interval, - "aaa_alert_type": aaa_alert_type, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_api-response-single": aaa_api$$response$$single, - "aaa_enabled": aaa_enabled, "aaa_filters": aaa_filters, "aaa_mechanisms": aaa_mechanisms, "aaa_messages-3": aaa_messages$$3, "aaa_policies": aaa_policies, - "aaa_policy-id": aaa_policy$$id, - "aaa_schemas-description": aaa_schemas$$description, - "aaa_schemas-name": aaa_schemas$$name, "aaa_single_response": aaa_single_response, - "aaa_timestamp": aaa_timestamp, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -370,15 +396,16 @@ export const tools: readonly Tool[] = [ { name: "alerting_policies_list", title: "List Notification policies", - description: "Get a list of all Notification policies.", + description: "Get a list of all Notification policies.\n\nGET /accounts/{account_id}/alerting/v3/policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -390,27 +417,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_policies_components-schemas-response_collection", $defs: { - "aaa_alert_interval": aaa_alert_interval, - "aaa_alert_type": aaa_alert_type, "aaa_api-response-common-2": aaa_api$$response$$common$$2, - "aaa_enabled": aaa_enabled, "aaa_filters": aaa_filters, "aaa_mechanisms": aaa_mechanisms, "aaa_messages-3": aaa_messages$$3, "aaa_policies": aaa_policies, "aaa_policies_components-schemas-response_collection": aaa_policies_components$$schemas$$response_collection, - "aaa_policy-id": aaa_policy$$id, - "aaa_schemas-description": aaa_schemas$$description, - "aaa_schemas-name": aaa_schemas$$name, - "aaa_timestamp": aaa_timestamp, - "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -441,21 +458,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "aaa_alert_interval": aaa_alert_interval, - "aaa_alert_type": aaa_alert_type, "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, - "aaa_enabled": aaa_enabled, "aaa_filters": aaa_filters, "aaa_mechanisms": aaa_mechanisms, "aaa_messages-3": aaa_messages$$3, "aaa_policies": aaa_policies, "aaa_policies_components-schemas-response_collection": aaa_policies_components$$schemas$$response_collection, - "aaa_policy-id": aaa_policy$$id, - "aaa_schemas-description": aaa_schemas$$description, - "aaa_schemas-name": aaa_schemas$$name, - "aaa_timestamp": aaa_timestamp, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ @@ -465,7 +474,7 @@ export const tools: readonly Tool[] = [ { name: "alerting_policies_test", title: "Test a Notification policy", - description: "Send a test notification for a policy to verify delivery mechanisms are working as expected.", + description: "Send a test notification for a policy to verify delivery mechanisms are working as expected.\n\nPOST /accounts/{account_id}/alerting/v3/policies/{policy_id}/test", inputSchema: { type: "object", properties: { @@ -504,14 +513,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "description": "The unique identifier of a notification policy", + "type": "string" } }, "required": [ @@ -524,10 +534,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_policy-id": aaa_policy$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-common-2", @@ -574,28 +581,99 @@ export const tools: readonly Tool[] = [ { name: "alerting_policies_update", title: "Update a Notification policy", - description: "Update a Notification policy.", + description: "Update a Notification policy.\n\nPUT /accounts/{account_id}/alerting/v3/policies/{policy_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "alert_interval": { - "$ref": "#/$defs/aaa_alert_interval", - "description": "Optional specification of how often to re-alert from the same incident, not support on all alert types." + "description": "Optional specification of how often to re-alert from the same incident, not support on all alert types.", + "type": "string" }, "alert_type": { - "$ref": "#/$defs/aaa_alert_type", - "description": "Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values." + "description": "Refers to which event will trigger a Notification dispatch. You can use the endpoint to get available alert types which then will give you a list of possible values.", + "enum": [ + "abuse_report_alert", + "access_custom_certificate_expiration_type", + "advanced_ddos_attack_l4_alert", + "advanced_ddos_attack_l7_alert", + "advanced_http_alert_error", + "bgp_hijack_notification", + "billing_usage_alert", + "block_notification_block_removed", + "block_notification_new_block", + "block_notification_review_rejected", + "bot_traffic_basic_alert", + "brand_protection_alert", + "brand_protection_digest", + "clickhouse_alert_fw_anomaly", + "clickhouse_alert_fw_ent_anomaly", + "cloudforce_one_request_notification", + "cni_maintenance_notification", + "custom_analytics", + "custom_bot_detection_alert", + "custom_ssl_certificate_event_type", + "dedicated_ssl_certificate_event_type", + "device_connectivity_anomaly_alert", + "dos_attack_l4", + "dos_attack_l7", + "expiring_service_token_alert", + "failing_logpush_job_disabled_alert", + "fbm_auto_advertisement", + "fbm_dosd_attack", + "fbm_volumetric_attack", + "health_check_status_notification", + "hostname_aop_custom_certificate_expiration_type", + "http_alert_edge_error", + "http_alert_origin_error", + "image_notification", + "image_resizing_notification", + "incident_alert", + "load_balancing_health_alert", + "load_balancing_pool_enablement_alert", + "logo_match_alert", + "magic_tunnel_health_check_event", + "magic_wan_tunnel_health", + "maintenance_event_notification", + "mtls_certificate_store_certificate_expiration_type", + "pages_event_alert", + "radar_notification", + "real_origin_monitoring", + "scriptmonitor_alert_new_code_change_detections", + "scriptmonitor_alert_new_hosts", + "scriptmonitor_alert_new_malicious_hosts", + "scriptmonitor_alert_new_malicious_scripts", + "scriptmonitor_alert_new_malicious_url", + "scriptmonitor_alert_new_max_length_resource_url", + "scriptmonitor_alert_new_resources", + "secondary_dns_all_primaries_failing", + "secondary_dns_primaries_failing", + "secondary_dns_warning", + "secondary_dns_zone_successfully_updated", + "secondary_dns_zone_validation_warning", + "security_insights_alert", + "sentinel_alert", + "stream_live_notifications", + "synthetic_test_latency_alert", + "synthetic_test_low_availability_alert", + "traffic_anomalies_alert", + "tunnel_health_event", + "tunnel_update_event", + "universal_ssl_event_type", + "web_analytics_metrics_update", + "zone_aop_custom_certificate_expiration_type" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/aaa_schemas-description", - "description": "Optional description for the Notification policy." + "description": "Optional description for the Notification policy.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/aaa_enabled", "default": true, - "description": "Whether or not the Notification policy is enabled." + "description": "Whether or not the Notification policy is enabled.", + "type": "boolean" }, "filters": { "$ref": "#/$defs/aaa_filters", @@ -606,21 +684,22 @@ export const tools: readonly Tool[] = [ "description": "List of IDs that will be used when dispatching a notification. IDs for email type will be the email address." }, "name": { - "$ref": "#/$defs/aaa_schemas-name", - "description": "Name of the policy." + "description": "Name of the policy.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "description": "The unique identifier of a notification policy", + "type": "string" } }, "required": [ @@ -634,17 +713,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_alert_interval": aaa_alert_interval$, - "aaa_alert_type": aaa_alert_type$, - "aaa_enabled": aaa_enabled$, "aaa_filters": aaa_filters$, "aaa_mechanisms": aaa_mechanisms$, - "aaa_policy-id": aaa_policy$$id$, - "aaa_schemas-description": aaa_schemas$$description$, - "aaa_schemas-name": aaa_schemas$$name$, - "aaa_uuid": aaa_uuid$, }, }, outputSchema: { @@ -653,7 +725,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, annotations: { @@ -692,7 +763,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-single": aaa_api$$response$$single, "aaa_id_response": aaa_id_response, "aaa_messages-3": aaa_messages$$3, - "aaa_uuid": aaa_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/alerting/schemas.ts b/src/generated/forge-mcp/alerting/schemas.ts deleted file mode 100644 index 4e24a3d74..000000000 --- a/src/generated/forge-mcp/alerting/schemas.ts +++ /dev/null @@ -1,36 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `aaa_account-id`. - */ -export const aaa_account$$id: JsonSchema = { - "description": "The account id", - "type": "string" -}; - -/** - * The schema of `aaa_policy-id`. - */ -export const aaa_policy$$id: JsonSchema = { - "description": "The unique identifier of a notification policy", - "type": "string" -}; - -/** - * The schema of `aaa_schemas-name`. - */ -export const aaa_schemas$$name: JsonSchema = { - "description": "Name of the policy.", - "type": "string" -}; - -/** - * The schema of `aaa_uuid`. - */ -export const aaa_uuid: JsonSchema = { - "description": "UUID", - "type": "string" -}; diff --git a/src/generated/forge-mcp/alerting/silences/outputs.ts b/src/generated/forge-mcp/alerting/silences/outputs.ts index a91bb70c0..73f166ee5 100644 --- a/src/generated/forge-mcp/alerting/silences/outputs.ts +++ b/src/generated/forge-mcp/alerting/silences/outputs.ts @@ -15,10 +15,10 @@ export const aaa_silence: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/aaa_silence-id" + "type": "string" }, "policy_id": { - "$ref": "#/$defs/aaa_policy-id" + "type": "string" }, "start_time": { "type": "string" @@ -30,13 +30,6 @@ export const aaa_silence: JsonSchema = { "type": "object" }; -/** - * The schema of `aaa_silence-id` in responses. - */ -export const aaa_silence$$id: JsonSchema = { - "type": "string" -}; - /** * The schema of `aaa_silence_components-schemas-response_collection` in * responses. diff --git a/src/generated/forge-mcp/alerting/silences/schemas.ts b/src/generated/forge-mcp/alerting/silences/schemas.ts index 38b39d766..030cbff00 100644 --- a/src/generated/forge-mcp/alerting/silences/schemas.ts +++ b/src/generated/forge-mcp/alerting/silences/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `aaa_silence-id`. - */ -export const aaa_silence$$id: JsonSchema = { - "description": "Silence ID", - "type": "string" -}; - /** * The schema of `aaa_silence_create_request`. */ @@ -21,8 +13,8 @@ export const aaa_silence_create_request: JsonSchema = { "type": "string" }, "policy_id": { - "$ref": "#/$defs/aaa_policy-id", - "description": "The unique identifier of a notification policy" + "description": "The unique identifier of a notification policy", + "type": "string" }, "start_time": { "description": "When the silence starts.", @@ -42,8 +34,8 @@ export const aaa_silence_update_request: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/aaa_silence-id", - "description": "Silence ID" + "description": "Silence ID", + "type": "string" }, "start_time": { "description": "When the silence starts.", diff --git a/src/generated/forge-mcp/alerting/silences/tools.ts b/src/generated/forge-mcp/alerting/silences/tools.ts index 30d83f196..8f3298e82 100644 --- a/src/generated/forge-mcp/alerting/silences/tools.ts +++ b/src/generated/forge-mcp/alerting/silences/tools.ts @@ -6,20 +6,13 @@ import { aaa_api$$response$$common$$2, aaa_api$$response$$common$$failure$$3, aaa_messages$$3, - aaa_policy$$id, } from "../outputs.js"; -import { - aaa_account$$id, - aaa_policy$$id as aaa_policy$$id$, -} from "../schemas.js"; import { aaa_silence, - aaa_silence$$id, aaa_silence_components$$schemas$$response_collection, aaa_silences_components$$schemas$$response_collection, } from "./outputs.js"; import { - aaa_silence$$id as aaa_silence$$id$, aaa_silence_create_request, aaa_silence_update_request, } from "./schemas.js"; @@ -31,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "alerting_silences_create", title: "Create Silences", - description: "Creates a new silence for an account.", + description: "Creates a new silence for an account.\n\nPOST /accounts/{account_id}/alerting/v3/silences", inputSchema: { type: "object", properties: { @@ -42,10 +35,11 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -58,9 +52,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_policy-id": aaa_policy$$id$, "aaa_silence_create_request": aaa_silence_create_request, }, }, @@ -106,9 +99,7 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_silence": aaa_silence, - "aaa_silence-id": aaa_silence$$id, "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, @@ -120,19 +111,20 @@ export const tools: readonly Tool[] = [ { name: "alerting_silences_delete", title: "Delete Silence", - description: "Deletes an existing silence for an account.\n\nConfirm with the user before calling this tool. This operation deletes the notification silence.", + description: "Deletes an existing silence for an account.\n\nConfirm with the user before calling this tool. This operation deletes the notification silence.\n\nDELETE /accounts/{account_id}/alerting/v3/silences/{silence_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "silence_id": { - "$ref": "#/$defs/aaa_silence-id", - "description": "Silence ID" + "description": "Silence ID", + "type": "string" } }, "required": [ @@ -145,10 +137,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_silence-id": aaa_silence$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_api-response-common-2", @@ -192,9 +181,7 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_silence": aaa_silence, - "aaa_silence-id": aaa_silence$$id, "aaa_silence_components-schemas-response_collection": aaa_silence_components$$schemas$$response_collection, }, }, @@ -205,19 +192,20 @@ export const tools: readonly Tool[] = [ { name: "alerting_silences_get", title: "Get Silence", - description: "Gets a specific silence for an account.", + description: "Gets a specific silence for an account.\n\nGET /accounts/{account_id}/alerting/v3/silences/{silence_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" }, "silence_id": { - "$ref": "#/$defs/aaa_silence-id", - "description": "Silence ID" + "description": "Silence ID", + "type": "string" } }, "required": [ @@ -230,19 +218,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_silence-id": aaa_silence$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_silence_components-schemas-response_collection", $defs: { "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_silence": aaa_silence, - "aaa_silence-id": aaa_silence$$id, "aaa_silence_components-schemas-response_collection": aaa_silence_components$$schemas$$response_collection, }, }, @@ -284,9 +267,7 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_silence": aaa_silence, - "aaa_silence-id": aaa_silence$$id, "aaa_silence_components-schemas-response_collection": aaa_silence_components$$schemas$$response_collection, }, }, @@ -297,15 +278,16 @@ export const tools: readonly Tool[] = [ { name: "alerting_silences_list", title: "List Silences", - description: "Gets a list of silences for an account.", + description: "Gets a list of silences for an account.\n\nGET /accounts/{account_id}/alerting/v3/silences", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -317,18 +299,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_account-id": aaa_account$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_silences_components-schemas-response_collection", $defs: { "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_silence": aaa_silence, - "aaa_silence-id": aaa_silence$$id, "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, @@ -370,9 +348,7 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_silence": aaa_silence, - "aaa_silence-id": aaa_silence$$id, "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, @@ -383,7 +359,7 @@ export const tools: readonly Tool[] = [ { name: "alerting_silences_update", title: "Update Silences", - description: "Updates existing silences for an account.", + description: "Updates existing silences for an account.\n\nPUT /accounts/{account_id}/alerting/v3/silences", inputSchema: { type: "object", properties: { @@ -394,10 +370,11 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_account-id", - "description": "The account id" + "description": "The account id", + "type": "string" } }, "required": [ @@ -410,9 +387,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "aaa_account-id": aaa_account$$id, - "aaa_silence-id": aaa_silence$$id$, "aaa_silence_update_request": aaa_silence_update_request, }, }, @@ -421,9 +397,7 @@ export const tools: readonly Tool[] = [ $defs: { "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_silence": aaa_silence, - "aaa_silence-id": aaa_silence$$id, "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, @@ -462,9 +436,7 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-2": aaa_api$$response$$common$$2, "aaa_api-response-common-failure-3": aaa_api$$response$$common$$failure$$3, "aaa_messages-3": aaa_messages$$3, - "aaa_policy-id": aaa_policy$$id, "aaa_silence": aaa_silence, - "aaa_silence-id": aaa_silence$$id, "aaa_silences_components-schemas-response_collection": aaa_silences_components$$schemas$$response_collection, }, }, diff --git a/src/generated/forge-mcp/analytics/latency/colos/tools.ts b/src/generated/forge-mcp/analytics/latency/colos/tools.ts index 13a2f0750..3a0be4c29 100644 --- a/src/generated/forge-mcp/analytics/latency/colos/tools.ts +++ b/src/generated/forge-mcp/analytics/latency/colos/tools.ts @@ -9,7 +9,6 @@ import { argo$$analytics_messages, argo$$analytics_response_single, } from "../outputs.js"; -import { argo$$analytics_identifier } from "../schemas.js"; /** * The tools of `analytics.latency.colos`. @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "analytics_latency_colos_get", title: "Argo Analytics for a zone at different PoPs", - description: "Retrieves Argo Smart Routing analytics broken down by geographic points of presence (PoPs). Shows latency improvements and routing efficiency per location.", + description: "Retrieves Argo Smart Routing analytics broken down by geographic points of presence (PoPs). Shows latency improvements and routing efficiency per location.\n\nGET /zones/{zone_id}/analytics/latency/colos", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/argo-analytics_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -38,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "argo-analytics_identifier": argo$$analytics_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/argo-analytics_response_single", diff --git a/src/generated/forge-mcp/analytics/latency/schemas.ts b/src/generated/forge-mcp/analytics/latency/schemas.ts deleted file mode 100644 index 0a4bfe70c..000000000 --- a/src/generated/forge-mcp/analytics/latency/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `argo-analytics_identifier`. - */ -export const argo$$analytics_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; diff --git a/src/generated/forge-mcp/analytics/latency/tools.ts b/src/generated/forge-mcp/analytics/latency/tools.ts index 6b0b314df..e418dcd52 100644 --- a/src/generated/forge-mcp/analytics/latency/tools.ts +++ b/src/generated/forge-mcp/analytics/latency/tools.ts @@ -9,7 +9,6 @@ import { argo$$analytics_messages, argo$$analytics_response_single, } from "./outputs.js"; -import { argo$$analytics_identifier } from "./schemas.js"; /** * The tools of `analytics.latency`. @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "analytics_latency_get", title: "Argo Analytics for a zone", - description: "Retrieves aggregate Argo Smart Routing analytics for a zone, including latency improvements, bandwidth savings, and routing statistics.", + description: "Retrieves aggregate Argo Smart Routing analytics for a zone, including latency improvements, bandwidth savings, and routing statistics.\n\nGET /zones/{zone_id}/analytics/latency", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/argo-analytics_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -35,6 +35,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "bins": { "type": "string" @@ -46,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "argo-analytics_identifier": argo$$analytics_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/argo-analytics_response_single", diff --git a/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts b/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts index 24eebf5d2..c8ff7cc96 100644 --- a/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts +++ b/src/generated/forge-mcp/analytics/query/dataSecurity/contentFindings/tools.ts @@ -19,7 +19,7 @@ export const tools: readonly Tool[] = [ { name: "analytics_query_dataSecurity_contentFindings_topN", title: "Top integrations by content findings", - description: "Returns the top N integrations ranked by total content findings.\n\nThis method is beta.", + description: "Returns the top N integrations ranked by total content findings.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/analytics/query/data-security/content-findings/top-n", inputSchema: { type: "object", properties: { @@ -27,6 +27,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/art_DataSecurityContentFindingsTopNQuery" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -43,6 +44,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "art_DataSecurityContentFindingsTopNQuery": art_DataSecurityContentFindingsTopNQuery, "art_Filter": art_Filter, diff --git a/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts index 47210d6cf..e4eaebde4 100644 --- a/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts +++ b/src/generated/forge-mcp/analytics/query/dataSecurity/findings/tools.ts @@ -27,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "analytics_query_dataSecurity_findings_summary", title: "Data security findings summary", - description: "Returns aggregate current-period and previous-period totals for CASB findings.\n\nThis method is beta.", + description: "Returns aggregate current-period and previous-period totals for CASB findings.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/analytics/query/data-security/findings/summary", inputSchema: { type: "object", properties: { @@ -35,6 +35,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/art_DataSecurityFindingsSummaryQuery" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "art_DataSecurityFindingsSummaryQuery": art_DataSecurityFindingsSummaryQuery, "art_Filter": art_Filter, @@ -113,7 +115,7 @@ export const tools: readonly Tool[] = [ { name: "analytics_query_dataSecurity_findings_timeseries", title: "Data security findings timeseries", - description: "Returns merged time-bucketed CASB findings.\n\nThis method is beta.", + description: "Returns merged time-bucketed CASB findings.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/analytics/query/data-security/findings/timeseries", inputSchema: { type: "object", properties: { @@ -121,6 +123,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/art_DataSecurityFindingsTimeseriesQuery" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -137,6 +140,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "art_DataSecurityFindingsTimeseriesQuery": art_DataSecurityFindingsTimeseriesQuery, "art_Filter": art_Filter, diff --git a/src/generated/forge-mcp/analytics/query/schemas.ts b/src/generated/forge-mcp/analytics/query/schemas.ts index b78ceb06a..d2cae1be2 100644 --- a/src/generated/forge-mcp/analytics/query/schemas.ts +++ b/src/generated/forge-mcp/analytics/query/schemas.ts @@ -62,7 +62,7 @@ export const art_Filter: JsonSchema = { "type": "string" }, "op": { - "description": "Filter operator. Common values: `eq`, `neq`, `in`, `not_in`, `gt`, `lt`, `gte`, `lte`.\n", + "description": "Filter operator. Common values: `eq`, `neq`, `in`, `not_in`, `gt`, `lt`, `gte`, `lte`.", "type": "string" }, "values": { @@ -152,7 +152,7 @@ export const art_QueryTimeseries: JsonSchema = { { "properties": { "resolution": { - "description": "Time bucket size for grouping results. Controls the granularity of the returned time slots.\n", + "description": "Time bucket size for grouping results. Controls the granularity of the returned time slots.", "type": "string" } }, diff --git a/src/generated/forge-mcp/analytics/query/tools.ts b/src/generated/forge-mcp/analytics/query/tools.ts index 51a6b4e56..b77007ad5 100644 --- a/src/generated/forge-mcp/analytics/query/tools.ts +++ b/src/generated/forge-mcp/analytics/query/tools.ts @@ -28,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "analytics_query_summary", title: "Query analytics summary", - description: "Returns aggregate summary stats for a dataset. Includes current-period and previous-period totals for trend comparison.\n\nThis method is beta.", + description: "Returns aggregate summary stats for a dataset. Includes current-period and previous-period totals for trend comparison.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/analytics/query/{dataset}/summary", inputSchema: { type: "object", properties: { @@ -36,13 +36,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/art_QuerySummary" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", "type": "string" }, "dataset": { - "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.\n", + "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.", "type": "string" } }, @@ -57,6 +58,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "art_Filter": art_Filter, "art_QuerySummary": art_QuerySummary, @@ -119,7 +121,7 @@ export const tools: readonly Tool[] = [ { name: "analytics_query_timeseries", title: "Query analytics timeseries", - description: "Returns time-bucketed analytics data for a dataset. Includes time slots, each containing the requested stats, group-by dimensions, and resolution-controlled bucket size (e.g. `hour`, `day`).\n\nThis method is beta.", + description: "Returns time-bucketed analytics data for a dataset. Includes time slots, each containing the requested stats, group-by dimensions, and resolution-controlled bucket size (e.g. `hour`, `day`).\n\nThis method is beta.\n\nPOST /accounts/{account_id}/analytics/query/{dataset}/timeseries", inputSchema: { type: "object", properties: { @@ -127,13 +129,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/art_QueryTimeseries" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", "type": "string" }, "dataset": { - "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.\n", + "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.", "type": "string" } }, @@ -148,6 +151,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "art_CommonQuery": art_CommonQuery, "art_Filter": art_Filter, @@ -211,7 +215,7 @@ export const tools: readonly Tool[] = [ { name: "analytics_query_topN", title: "Query analytics top-N", - description: "Returns the top N results for a dataset by a specified stat. Includes an array of result rows, each containing the requested stats and group-by dimensions.\n\nThis method is beta.", + description: "Returns the top N results for a dataset by a specified stat. Includes an array of result rows, each containing the requested stats and group-by dimensions.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/analytics/query/{dataset}/top-n", inputSchema: { type: "object", properties: { @@ -219,13 +223,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/art_QueryTopN" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", "type": "string" }, "dataset": { - "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.\n", + "description": "Dataset name to query. Examples: `access-logins`, `gateway-http`, `gateway-dns`, `gateway-http`, `shadow-it`.", "type": "string" } }, @@ -240,6 +245,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "art_CommonQuery": art_CommonQuery, "art_Filter": art_Filter, diff --git a/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts b/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts index 61a967603..bcf7eadfb 100644 --- a/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts +++ b/src/generated/forge-mcp/analytics/sql/accounts/introspection/tools.ts @@ -12,7 +12,6 @@ import { analytics$$sql_IntrospectionDataset, analytics$$sql_IntrospectionDatasetKind, analytics$$sql_IntrospectionResponse, - analytics$$sql_IntrospectionSampling, } from "../../../../outputs.js"; /** @@ -22,11 +21,12 @@ export const tools: readonly Tool[] = [ { name: "analytics_sql_accounts_introspection_get", title: "List available analytics datasets", - description: "Returns the dataset catalogue for the account in the request path. API Gateway preserves the account path, and SQL API requires it to match the signed JWT account; account_tag is not required as a query parameter. If supplied, it must match the path account. Dataset and column discovery options are identical to the legacy introspection endpoint.\n\nThis method is alpha.", + description: "Returns the dataset catalogue for the account in the request path. API Gateway preserves the account path, and SQL API requires it to match the signed JWT account; account_tag is not required as a query parameter. If supplied, it must match the path account. Dataset and column discovery options are identical to the legacy introspection endpoint.\n\nThis method is alpha.\n\nGET /accounts/{account_id}/analytics/sql/introspection", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account that authorizes and scopes the request.", @@ -39,14 +39,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dataset_name": { - "description": "Return only the dataset with this exact name. An empty value is treated as if the parameter had been omitted, and does not filter the catalogue. A name that matches no dataset in this deployment's catalogue is rejected with `422`; a dataset that exists but is not describable here is rejected identically, so the two cases cannot be told apart.\n\nA Workers Analytics Engine dataset is named in full, as `events.analyticsEngine.`; the namespace on its own returns every such dataset the account has. A `dataset_name` the account does not have is rejected with `422` like any other unknown name.\n", + "description": "Return only the dataset with this exact name. An empty value is treated as if the parameter had been omitted, and does not filter the catalogue. A name that matches no dataset in this deployment's catalogue is rejected with `422`; a dataset that exists but is not describable here is rejected identically, so the two cases cannot be told apart.\n\nA Workers Analytics Engine dataset is named in full, as `events.analyticsEngine.`; the namespace on its own returns every such dataset the account has. A `dataset_name` the account does not have is rejected with `422` like any other unknown name.", "type": "string" }, "include_attributes": { "default": false, - "description": "Include a capped set of attribute names and types observed during the preceding seven days, as `attributes`. Requires a nonempty dataset_name. Replaces `include_custom_attributes`, which is deprecated.\n", + "description": "Include a capped set of attribute names and types observed during the preceding seven days, as `attributes`. Requires a nonempty dataset_name. Replaces `include_custom_attributes`, which is deprecated.", "type": "boolean" }, "include_columns": { @@ -56,17 +57,17 @@ export const tools: readonly Tool[] = [ }, "include_custom_attributes": { "default": false, - "description": "Include a capped set of custom attribute names and types observed during the preceding seven days, as `custom_attributes`. Requires a nonempty dataset_name. Deprecated in favor of `include_attributes`.\n", + "description": "Include a capped set of custom attribute names and types observed during the preceding seven days, as `custom_attributes`. Requires a nonempty dataset_name. Deprecated in favor of `include_attributes`.", "type": "boolean" }, "include_lex": { "default": true, - "description": "Include Log Explorer datasets, which are listed only where the account has them. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", + "description": "Include Log Explorer datasets, which are listed only where the account has them. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.", "type": "boolean" }, "include_wae": { "default": true, - "description": "Include Workers Analytics Engine datasets, which are discovered from the account's own data. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", + "description": "Include Workers Analytics Engine datasets, which are discovered from the account's own data. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.", "type": "boolean" } }, @@ -76,6 +77,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/analytics-sql_IntrospectionResponse", @@ -87,7 +89,6 @@ export const tools: readonly Tool[] = [ "analytics-sql_IntrospectionDataset": analytics$$sql_IntrospectionDataset, "analytics-sql_IntrospectionDatasetKind": analytics$$sql_IntrospectionDatasetKind, "analytics-sql_IntrospectionResponse": analytics$$sql_IntrospectionResponse, - "analytics-sql_IntrospectionSampling": analytics$$sql_IntrospectionSampling, }, }, annotations: { @@ -137,7 +138,6 @@ export const tools: readonly Tool[] = [ "analytics-sql_IntrospectionDataset": analytics$$sql_IntrospectionDataset, "analytics-sql_IntrospectionDatasetKind": analytics$$sql_IntrospectionDatasetKind, "analytics-sql_IntrospectionResponse": analytics$$sql_IntrospectionResponse, - "analytics-sql_IntrospectionSampling": analytics$$sql_IntrospectionSampling, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/analytics/sql/accounts/tools.ts b/src/generated/forge-mcp/analytics/sql/accounts/tools.ts index d65efb0d8..133d04190 100644 --- a/src/generated/forge-mcp/analytics/sql/accounts/tools.ts +++ b/src/generated/forge-mcp/analytics/sql/accounts/tools.ts @@ -25,11 +25,12 @@ export const tools: readonly Tool[] = [ { name: "analytics_sql_accounts_get", title: "Query analytics datasets", - description: "Executes a SQL query scoped to the account in the request path. API Gateway preserves the account path, and SQL API requires it to match the signed JWT account, so an accountTag predicate or JSON scope is not required. Explicit account scope must match the path account. Any zone restrictions must belong to that account. Query parameters, time ranges, output formats, authorization, and responses follow the legacy query endpoint.\n\nThis method is alpha.", + description: "Executes a SQL query scoped to the account in the request path. API Gateway preserves the account path, and SQL API requires it to match the signed JWT account, so an accountTag predicate or JSON scope is not required. Explicit account scope must match the path account. Any zone restrictions must belong to that account. Query parameters, time ranges, output formats, authorization, and responses follow the legacy query endpoint.\n\nThis method is alpha.\n\nGET /accounts/{account_id}/analytics/sql", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account that authorizes and scopes the request.", @@ -42,9 +43,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "query": { - "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.\n", + "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.", "type": "string" } }, @@ -58,6 +60,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "oneOf": [ @@ -147,7 +150,7 @@ export const tools: readonly Tool[] = [ { name: "analytics_sql_accounts_post", title: "Query analytics datasets", - description: "Executes a SQL query scoped to the account in the request path. API Gateway preserves the account path, and SQL API requires it to match the signed JWT account, so an accountTag predicate or JSON scope is not required. Explicit account scope must match the path account. Any zone restrictions must belong to that account. Query parameters, time ranges, output formats, authorization, and responses follow the legacy query endpoint.\n\nThis method is alpha.", + description: "Executes a SQL query scoped to the account in the request path. API Gateway preserves the account path, and SQL API requires it to match the signed JWT account, so an accountTag predicate or JSON scope is not required. Explicit account scope must match the path account. Any zone restrictions must belong to that account. Query parameters, time ranges, output formats, authorization, and responses follow the legacy query endpoint.\n\nThis method is alpha.\n\nPOST /accounts/{account_id}/analytics/sql", inputSchema: { type: "object", properties: { @@ -155,6 +158,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/analytics-sql_SqlQueryRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account that authorizes and scopes the request.", @@ -171,6 +175,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "analytics-sql_SqlQueryAccountScope": analytics$$sql_SqlQueryAccountScope, "analytics-sql_SqlQueryRequest": analytics$$sql_SqlQueryRequest, diff --git a/src/generated/forge-mcp/analytics/sql/tools.ts b/src/generated/forge-mcp/analytics/sql/tools.ts index 25c22c297..cd12b9c23 100644 --- a/src/generated/forge-mcp/analytics/sql/tools.ts +++ b/src/generated/forge-mcp/analytics/sql/tools.ts @@ -18,14 +18,15 @@ export const tools: readonly Tool[] = [ { name: "analytics_sql_get", title: "Query analytics datasets", - description: "Executes a SQL query against the analytics datasets available to the caller. SQL placeholders can be bound with query parameters named `param_`, such as `param_status=404` for `$status`. A trailing `FORMAT JSON`, `FORMAT JSONEachRow`, `FORMAT TabSeparated`, or `FORMAT TSV` is supported for all datasets. Without FORMAT, each backend retains its existing default JSON response.", + description: "Executes a SQL query against the analytics datasets available to the caller. SQL placeholders can be bound with query parameters named `param_`, such as `param_status=404` for `$status`. A trailing `FORMAT JSON`, `FORMAT JSONEachRow`, `FORMAT TabSeparated`, or `FORMAT TSV` is supported for all datasets. Without FORMAT, each backend retains its existing default JSON response.\n\nGET /analytics/sql", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "query": { - "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.\n", + "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.", "type": "string" } }, @@ -38,6 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "query" ], + additionalProperties: false, }, outputSchema: { "oneOf": [ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts index 8e31b5902..3f26f272c 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/outputs.ts @@ -9,7 +9,15 @@ import type { JsonSchema } from "../../../../_/tool.js"; export const api$$shield_schema_hosts: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "hosts": { "items": { @@ -23,7 +31,14 @@ export const api$$shield_schema_hosts: JsonSchema = { "schema_id": { "allOf": [ { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, { "format": "uuid", diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts index da56bb8dd..9b158210d 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/hosts/tools.ts @@ -7,15 +7,7 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, - api$$shield_uuid, - api$$shield_uuid$$2, } from "../../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, -} from "../../../../schemas.js"; import { api$$shield_schema_hosts } from "./outputs.js"; /** @@ -25,14 +17,23 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_schemas_hosts_list", title: "List hosts covered by uploaded schemas", - description: "Lists all unique hosts found in uploaded OpenAPI schemas for the zone.", + description: "Lists all unique hosts found in uploaded OpenAPI schemas for the zone.\n\nGET /zones/{zone_id}/schema_validation/schemas/hosts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -41,6 +42,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -59,10 +61,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -89,10 +88,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_messages": api$$shield_messages, "api-shield_schema_hosts": api$$shield_schema_hosts, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -145,10 +140,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_messages": api$$shield_messages, "api-shield_schema_hosts": api$$shield_schema_hosts, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts index 837e0ef2e..92db26332 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/operations/tools.ts @@ -6,14 +6,9 @@ import { api$$shield_api$$response$$collection, api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, - api$$shield_auth_id_tokens, api$$shield_basic_operation, api$$shield_confidence_intervals_bounds, - api$$shield_data_points, - api$$shield_endpoint, - api$$shield_host, api$$shield_messages, - api$$shield_method, api$$shield_operation, api$$shield_operation_feature_api_routing, api$$shield_operation_feature_confidence_intervals, @@ -21,25 +16,9 @@ import { api$$shield_operation_feature_schema_info, api$$shield_operation_feature_thresholds, api$$shield_operation_features, - api$$shield_p50, - api$$shield_p90, - api$$shield_p99, api$$shield_parameter_schemas_definition, - api$$shield_period_seconds, - api$$shield_requests, api$$shield_standard_operation, - api$$shield_suggested_threshold, - api$$shield_timestamp, - api$$shield_timestamp$$2, - api$$shield_uuid, - api$$shield_uuid$$2, } from "../../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid as api$$shield_uuid$, - api$$shield_uuid$$2 as api$$shield_uuid$$2$, -} from "../../../../schemas.js"; /** * The tools of `apiSecurity.schemaValidation.schemas.operations`. @@ -48,16 +27,25 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_schemas_operations_list", title: "Retrieve all operations from the schema", - description: "Retrieves all operations from the schema. Operations that already exist in API Shield Endpoint Management will be returned as full operations.", + description: "Retrieves all operations from the schema. Operations that already exist in API Shield Endpoint Management will be returned as full operations.\n\nGET /zones/{zone_id}/schema_validation/schemas/{schema_id}/operations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "schema_id": { "allOf": [ { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] }, { "format": "uuid", @@ -67,7 +55,15 @@ export const tools: readonly Tool[] = [ "description": "The unique identifier of the schema" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -77,6 +73,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "endpoint": { "description": "Filter results to only include endpoints containing this pattern.", @@ -134,12 +131,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -171,14 +163,9 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, @@ -186,18 +173,8 @@ export const tools: readonly Tool[] = [ "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, "api-shield_operation_features": api$$shield_operation_features, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -255,14 +232,9 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, @@ -270,18 +242,8 @@ export const tools: readonly Tool[] = [ "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, "api-shield_operation_features": api$$shield_operation_features, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts index 81a7b6f71..9c8859ead 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/outputs.ts @@ -9,7 +9,15 @@ import type { JsonSchema } from "../../../_/tool.js"; export const api$$shield_public_schema: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "kind": { "enum": [ @@ -23,7 +31,14 @@ export const api$$shield_public_schema: JsonSchema = { "schema_id": { "allOf": [ { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, { "format": "uuid", diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts index afa393853..8fc5a7484 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/schemas/tools.ts @@ -7,17 +7,7 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, - api$$shield_uuid, - api$$shield_uuid$$2, } from "../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid as api$$shield_uuid$, - api$$shield_uuid$$2 as api$$shield_uuid$$2$, -} from "../../../schemas.js"; import { api$$shield_api$$response$$single } from "../../outputs.js"; import { api$$shield_public_schema, @@ -32,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_schemas_create", title: "Upload a schema", - description: "Uploads an OpenAPI schema that defines expected request formats for API operations.", + description: "Uploads an OpenAPI schema that defines expected request formats for API operations.\n\nPOST /zones/{zone_id}/schema_validation/schemas", inputSchema: { type: "object", properties: { @@ -67,9 +57,18 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -82,10 +81,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -119,10 +115,6 @@ export const tools: readonly Tool[] = [ "api-shield_public_schema": api$$shield_public_schema, "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, "api-shield_schema_issue_notification": api$$shield_schema_issue_notification, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -204,10 +196,6 @@ export const tools: readonly Tool[] = [ "api-shield_public_schema": api$$shield_public_schema, "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, "api-shield_schema_issue_notification": api$$shield_schema_issue_notification, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -218,16 +206,25 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_schemas_delete", title: "Delete a schema", - description: "Permanently removes an uploaded OpenAPI schema from API Security. Operations using this schema will lose their validation rules.\n\nConfirm with the user before calling this tool. This operation permanently deletes the uploaded schema and removes its validation coverage.", + description: "Permanently removes an uploaded OpenAPI schema from API Security. Operations using this schema will lose their validation rules.\n\nConfirm with the user before calling this tool. This operation permanently deletes the uploaded schema and removes its validation coverage.\n\nDELETE /zones/{zone_id}/schema_validation/schemas/{schema_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "schema_id": { "allOf": [ { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] }, { "format": "uuid", @@ -237,7 +234,15 @@ export const tools: readonly Tool[] = [ "description": "The unique identifier of the schema" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -250,12 +255,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -345,16 +345,25 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_schemas_get", title: "Get details of a schema", - description: "Gets the contents and metadata of a specific OpenAPI schema uploaded to API Security.", + description: "Gets the contents and metadata of a specific OpenAPI schema uploaded to API Security.\n\nGET /zones/{zone_id}/schema_validation/schemas/{schema_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "schema_id": { "allOf": [ { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] }, { "format": "uuid", @@ -364,7 +373,15 @@ export const tools: readonly Tool[] = [ "description": "The unique identifier of the schema" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -374,6 +391,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "omit_source": { "default": false, @@ -387,12 +405,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_public_schema_success_result", @@ -401,10 +414,6 @@ export const tools: readonly Tool[] = [ "api-shield_messages": api$$shield_messages, "api-shield_public_schema": api$$shield_public_schema, "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -439,10 +448,6 @@ export const tools: readonly Tool[] = [ "api-shield_messages": api$$shield_messages, "api-shield_public_schema": api$$shield_public_schema, "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -455,14 +460,23 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_schemas_list", title: "List all uploaded schemas", - description: "Lists all OpenAPI schemas uploaded to API Security.", + description: "Lists all OpenAPI schemas uploaded to API Security.\n\nGET /zones/{zone_id}/schema_validation/schemas", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -471,6 +485,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "omit_source": { "default": false, @@ -498,10 +513,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -528,10 +540,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_messages": api$$shield_messages, "api-shield_public_schema": api$$shield_public_schema, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -584,10 +592,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_messages": api$$shield_messages, "api-shield_public_schema": api$$shield_public_schema, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -603,7 +607,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_schemas_setValidation", title: "Set schema validation state", - description: "Enables or disables validation for an uploaded OpenAPI schema without changing the schema document.", + description: "Enables or disables validation for an uploaded OpenAPI schema without changing the schema document.\n\nPATCH /zones/{zone_id}/schema_validation/schemas/{schema_id}", inputSchema: { type: "object", properties: { @@ -617,11 +621,20 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "schema_id": { "allOf": [ { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] }, { "format": "uuid", @@ -631,7 +644,15 @@ export const tools: readonly Tool[] = [ "description": "The unique identifier of the schema" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -645,12 +666,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_public_schema_success_result", @@ -659,10 +675,6 @@ export const tools: readonly Tool[] = [ "api-shield_messages": api$$shield_messages, "api-shield_public_schema": api$$shield_public_schema, "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -695,10 +707,6 @@ export const tools: readonly Tool[] = [ "api-shield_messages": api$$shield_messages, "api-shield_public_schema": api$$shield_public_schema, "api-shield_public_schema_success_result": api$$shield_public_schema_success_result, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts index 69422f169..609070bbe 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/outputs.ts @@ -17,7 +17,14 @@ export const api$$shield_per_operation_setting: JsonSchema = { "type": "string" }, "operation_id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts index c7b0247b8..38bf8b862 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/operations/tools.ts @@ -7,14 +7,7 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_uuid, - api$$shield_uuid$$2, } from "../../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid as api$$shield_uuid$, -} from "../../../../schemas.js"; import { api$$shield_per_operation_setting, api$$shield_per_operation_setting_change_base, @@ -27,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_settings_operations_bulkEdit", title: "Bulk edit per-operation schema validation settings", - description: "Updates schema validation settings for multiple API operations in a single request. Efficient for applying consistent validation rules across endpoints.", + description: "Updates schema validation settings for multiple API operations in a single request. Efficient for applying consistent validation rules across endpoints.\n\nPATCH /zones/{zone_id}/schema_validation/settings/operations", inputSchema: { type: "object", properties: { @@ -35,7 +28,7 @@ export const tools: readonly Tool[] = [ "additionalProperties": { "properties": { "mitigation_action": { - "description": "Mitigation actions are as follows:\n* `log` - log request when request does not conform to schema * `block` - deny access to the site when request does not conform to schema * `none` - skip running schema validation * null - clears any existing per-operation setting\n", + "description": "Mitigation actions are as follows:\n* `log` - log request when request does not conform to schema * `block` - deny access to the site when request does not conform to schema * `none` - skip running schema validation * null - clears any existing per-operation setting", "oneOf": [ { "enum": [ @@ -56,9 +49,18 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -71,10 +73,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -159,18 +158,27 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_settings_operations_delete", title: "Delete per-operation schema validation setting", - description: "Removes custom schema validation settings for a specific API operation, reverting to zone-level defaults.\n\nConfirm with the user before calling this tool. This operation deletes the operation-specific schema validation setting and restores the zone default.", + description: "Removes custom schema validation settings for a specific API operation, reverting to zone-level defaults.\n\nConfirm with the user before calling this tool. This operation deletes the operation-specific schema validation setting and restores the zone default.\n\nDELETE /zones/{zone_id}/schema_validation/settings/operations/{operation_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" + "description": "Identifier for the operation", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -183,11 +191,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -199,7 +203,14 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] } }, "type": "object" @@ -214,8 +225,6 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_messages": api$$shield_messages, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -245,7 +254,14 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] } }, "type": "object" @@ -266,8 +282,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_messages": api$$shield_messages, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -277,18 +291,27 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_settings_operations_get", title: "Get per-operation schema validation setting", - description: "Retrieves the schema validation settings configured for a specific API operation.", + description: "Retrieves the schema validation settings configured for a specific API operation.\n\nGET /zones/{zone_id}/schema_validation/settings/operations/{operation_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" + "description": "Identifier for the operation", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -301,11 +324,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -328,8 +347,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_messages": api$$shield_messages, "api-shield_per_operation_setting": api$$shield_per_operation_setting, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -378,8 +395,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_messages": api$$shield_messages, "api-shield_per_operation_setting": api$$shield_per_operation_setting, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -389,14 +404,23 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_settings_operations_list", title: "List per-operation schema validation settings", - description: "Lists per-operation schema validation settings configured for the zone.", + description: "Lists per-operation schema validation settings configured for the zone.\n\nGET /zones/{zone_id}/schema_validation/settings/operations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -405,6 +429,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -423,10 +448,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -453,8 +475,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_messages": api$$shield_messages, "api-shield_per_operation_setting": api$$shield_per_operation_setting, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -507,8 +527,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_messages": api$$shield_messages, "api-shield_per_operation_setting": api$$shield_per_operation_setting, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -522,14 +540,14 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_settings_operations_update", title: "Update per-operation schema validation setting", - description: "Fully updates schema validation settings for a specific API operation.", + description: "Fully updates schema validation settings for a specific API operation.\n\nPUT /zones/{zone_id}/schema_validation/settings/operations/{operation_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "mitigation_action": { - "description": "When set, this applies a mitigation action to this operation\n\n - `\"log\"` - log request when request does not conform to schema for this operation\n - `\"block\"` - deny access to the site when request does not conform to schema for this operation\n - `\"none\"` - will skip mitigation for this operation\n - `null` - clears any mitigation action\n", + "description": "When set, this applies a mitigation action to this operation\n\n - `\"log\"` - log request when request does not conform to schema for this operation\n - `\"block\"` - deny access to the site when request does not conform to schema for this operation\n - `\"none\"` - will skip mitigation for this operation\n - `null` - clears any mitigation action", "oneOf": [ { "enum": [ @@ -551,13 +569,22 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" + "description": "Identifier for the operation", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -571,11 +598,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -598,8 +621,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_messages": api$$shield_messages, "api-shield_per_operation_setting": api$$shield_per_operation_setting, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -646,8 +667,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_messages": api$$shield_messages, "api-shield_per_operation_setting": api$$shield_per_operation_setting, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/schemas.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/schemas.ts index 17db0cd3c..f1fe33c09 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/schemas.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../../_/tool.js"; export const api$$shield_global_setting_change_base: JsonSchema = { "properties": { "validation_default_mitigation_action": { - "description": "The default mitigation action used\nMitigation actions are as follows:\n\n - `\"log\"` - log request when request does not conform to schema\n - `\"block\"` - deny access to the site when request does not conform to schema\n - `\"none\"` - skip running schema validation\n", + "description": "The default mitigation action used\nMitigation actions are as follows:\n\n - `\"log\"` - log request when request does not conform to schema\n - `\"block\"` - deny access to the site when request does not conform to schema\n - `\"none\"` - skip running schema validation", "enum": [ "none", "log", @@ -18,7 +18,7 @@ export const api$$shield_global_setting_change_base: JsonSchema = { "type": "string" }, "validation_override_mitigation_action": { - "description": "When set, this overrides both zone level and operation level mitigation actions.\n\n - `\"none\"` - skip running schema validation entirely for the request\n - `null` - clears any existing override\n", + "description": "When set, this overrides both zone level and operation level mitigation actions.\n\n - `\"none\"` - skip running schema validation entirely for the request\n - `null` - clears any existing override", "oneOf": [ { "enum": [ diff --git a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts index b2cd695d8..45e449f31 100644 --- a/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/schemaValidation/settings/tools.ts @@ -6,10 +6,6 @@ import { api$$shield_api$$response$$common$$failure, api$$shield_messages, } from "../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, -} from "../../../schemas.js"; import { api$$shield_api$$response$$single } from "../../outputs.js"; import { api$$shield_global_settings } from "./outputs.js"; import { api$$shield_global_setting_change_base } from "./schemas.js"; @@ -21,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_settings_edit", title: "Edit global schema validation settings", - description: "Partially updates global schema validation settings for a zone using PATCH semantics.", + description: "Partially updates global schema validation settings for a zone using PATCH semantics.\n\nPATCH /zones/{zone_id}/schema_validation/settings", inputSchema: { type: "object", properties: { @@ -29,9 +25,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_global_setting_change_base" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -44,10 +49,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_global_setting_change_base": api$$shield_global_setting_change_base, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -127,14 +131,23 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_settings_get", title: "Get global schema validation settings", - description: "Retrieves the current global schema validation settings for a zone.", + description: "Retrieves the current global schema validation settings for a zone.\n\nGET /zones/{zone_id}/schema_validation/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -146,10 +159,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -229,14 +239,14 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_schemaValidation_settings_update", title: "Update global schema validation settings", - description: "Fully updates global schema validation settings for a zone, replacing existing configuration.", + description: "Fully updates global schema validation settings for a zone, replacing existing configuration.\n\nPUT /zones/{zone_id}/schema_validation/settings", inputSchema: { type: "object", properties: { "body": { "properties": { "validation_default_mitigation_action": { - "description": "The default mitigation action used\nMitigation actions are as follows:\n\n - `\"log\"` - log request when request does not conform to schema\n - `\"block\"` - deny access to the site when request does not conform to schema\n - `\"none\"` - skip running schema validation\n", + "description": "The default mitigation action used\nMitigation actions are as follows:\n\n - `\"log\"` - log request when request does not conform to schema\n - `\"block\"` - deny access to the site when request does not conform to schema\n - `\"none\"` - skip running schema validation", "enum": [ "none", "log", @@ -245,7 +255,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "validation_override_mitigation_action": { - "description": "When set, this overrides both zone level and operation level mitigation actions.\n\n - `\"none\"` - skip running schema validation entirely for the request\n - `null` - clears any existing override\n", + "description": "When set, this overrides both zone level and operation level mitigation actions.\n\n - `\"none\"` - skip running schema validation entirely for the request\n - `null` - clears any existing override", "oneOf": [ { "enum": [ @@ -265,9 +275,18 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -280,10 +299,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/schemas.ts b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/schemas.ts index 6b6577990..2dcf99c17 100644 --- a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/schemas.ts @@ -36,7 +36,7 @@ export const api$$shield_auth_id_characteristic_jwt_claim: JsonSchema = { "description": "Auth ID Characteristic extracted from JWT Token Claims", "properties": { "name": { - "description": "Claim location expressed as `$(token_config_id):$(json_path)`, where `token_config_id` \nis the ID of the token configuration used in validating the JWT, and `json_path` is a RFC 9535 \nJSONPath (https://goessner.net/articles/JsonPath/, https://www.rfc-editor.org/rfc/rfc9535.html).\nThe JSONPath expression may be in dot or bracket notation, may only specify literal keys\nor array indexes, and must return a singleton value, which will be interpreted as a string.\n", + "description": "Claim location expressed as `$(token_config_id):$(json_path)`, where `token_config_id` \nis the ID of the token configuration used in validating the JWT, and `json_path` is a RFC 9535 \nJSONPath (https://goessner.net/articles/JsonPath/, https://www.rfc-editor.org/rfc/rfc9535.html).\nThe JSONPath expression may be in dot or bracket notation, may only specify literal keys\nor array indexes, and must return a singleton value, which will be interpreted as a string.", "type": "string" }, "type": { diff --git a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts index 24fc1c4a4..561e42378 100644 --- a/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/sessionIdentifiers/tools.ts @@ -7,10 +7,6 @@ import { api$$shield_api$$response$$common$$failure, api$$shield_messages, } from "../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, -} from "../../schemas.js"; import { api$$shield_auth_id_characteristic, api$$shield_auth_id_characteristic_jwt_claim, @@ -32,14 +28,23 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_sessionIdentifiers_get", title: "Get session identifier settings", - description: "Returns the authentication identifier characteristics configured for the zone. Header, cookie, or JWT claim values identify distinct API sessions.", + description: "Returns the authentication identifier characteristics configured for the zone. Header, cookie, or JWT claim values identify distinct API sessions.\n\nGET /zones/{zone_id}/api_gateway/configuration", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -48,6 +53,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "normalize": { "description": "Ensures that the configuration is written or retrieved in normalized fashion", @@ -60,10 +66,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_configuration-single-response", @@ -124,7 +127,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_sessionIdentifiers_update", title: "Update session identifier settings", - description: "Replaces the zone's authentication identifier characteristics used to identify distinct API sessions.", + description: "Replaces the zone's authentication identifier characteristics used to identify distinct API sessions.\n\nPUT /zones/{zone_id}/api_gateway/configuration", inputSchema: { type: "object", properties: { @@ -132,9 +135,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_configuration" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -143,6 +155,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "normalize": { "description": "Ensures that the configuration is written or retrieved in normalized fashion", @@ -156,13 +169,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_auth_id_characteristic": api$$shield_auth_id_characteristic$, "api-shield_auth_id_characteristic_jwt_claim": api$$shield_auth_id_characteristic_jwt_claim$, "api-shield_auth_id_characteristics": api$$shield_auth_id_characteristics$, "api-shield_configuration": api$$shield_configuration$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts index ec073919b..5d14a960d 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/credentials/tools.ts @@ -7,12 +7,6 @@ import { api$$shield_api$$response$$common$$failure, api$$shield_messages, } from "../../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid, - api$$shield_uuid$$2, -} from "../../../../schemas.js"; import { api$$shield_credentials, api$$shield_credentials$$JWT$$Key$$EC$$ES256, @@ -46,7 +40,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_configurations_credentials_edit", title: "Edit token validation credentials", - description: "Updates the configuration's complete key set while allowing omitted fields on existing keys to retain stored values. Omitted key identities are removed.", + description: "Updates the configuration's complete key set while allowing omitted fields on existing keys to retain stored values. Omitted key identities are removed.\n\nPATCH /zones/{zone_id}/token_validation/config/{config_id}/credentials", inputSchema: { type: "object", properties: { @@ -54,13 +48,30 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_credentials-patch-request" }, "path": { + "additionalProperties": false, "properties": { "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Token Configuration ID" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -74,6 +85,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256$, "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384$, @@ -83,10 +95,6 @@ export const tools: readonly Tool[] = [ "api-shield_credentials-JWT-Key-oct-patch-request": api$$shield_credentials$$JWT$$Key$$oct$$patch$$request, "api-shield_credentials-JWT-Key-patch-request": api$$shield_credentials$$JWT$$Key$$patch$$request, "api-shield_credentials-patch-request": api$$shield_credentials$$patch$$request, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, outputSchema: { @@ -180,7 +188,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_configurations_credentials_update", title: "Replace token validation credentials", - description: "Replaces the configuration's complete key set. Symmetric keys must include their key material.", + description: "Replaces the configuration's complete key set. Symmetric keys must include their key material.\n\nPUT /zones/{zone_id}/token_validation/config/{config_id}/credentials", inputSchema: { type: "object", properties: { @@ -188,13 +196,30 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_credentials-request" }, "path": { + "additionalProperties": false, "properties": { "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Token Configuration ID" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -208,6 +233,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256$, "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384$, @@ -217,10 +243,6 @@ export const tools: readonly Tool[] = [ "api-shield_credentials-JWT-Key-oct-request": api$$shield_credentials$$JWT$$Key$$oct$$request, "api-shield_credentials-JWT-Key-request": api$$shield_credentials$$JWT$$Key$$request, "api-shield_credentials-request": api$$shield_credentials$$request, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts index 7eb783e21..3d3030387 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/outputs.ts @@ -9,28 +9,54 @@ import type { JsonSchema } from "../../../_/tool.js"; export const api$$shield_TokenConfiguration: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "credentials": { "$ref": "#/$defs/api-shield_credentials" }, "description": { - "$ref": "#/$defs/api-shield_description" + "type": "string" }, "id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, "last_updated": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "title": { - "$ref": "#/$defs/api-shield_title" + "type": "string" }, "token_sources": { "$ref": "#/$defs/api-shield_token_sources" }, "token_type": { - "$ref": "#/$defs/api-shield_token_type" + "enum": [ + "JWT" + ], + "type": "string" } }, "required": [ @@ -46,13 +72,6 @@ export const api$$shield_TokenConfiguration: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_cookie` in responses. - */ -export const api$$shield_cookie: JsonSchema = { - "type": "string" -}; - /** * The schema of `api-shield_credentials` in responses. */ @@ -283,27 +302,6 @@ export const api$$shield_credentials$$JWT$$Key$$response: JsonSchema = { ] }; -/** - * The schema of `api-shield_description` in responses. - */ -export const api$$shield_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `api-shield_header` in responses. - */ -export const api$$shield_header: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `api-shield_title` in responses. - */ -export const api$$shield_title: JsonSchema = { - "type": "string" -}; - /** * The schema of `api-shield_token_sources` in responses. */ @@ -311,10 +309,10 @@ export const api$$shield_token_sources: JsonSchema = { "items": { "anyOf": [ { - "$ref": "#/$defs/api-shield_header" + "type": "string" }, { - "$ref": "#/$defs/api-shield_cookie" + "type": "string" } ] }, @@ -322,13 +320,3 @@ export const api$$shield_token_sources: JsonSchema = { "minItems": 1, "type": "array" }; - -/** - * The schema of `api-shield_token_type` in responses. - */ -export const api$$shield_token_type: JsonSchema = { - "enum": [ - "JWT" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/schemas.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/schemas.ts index 67565990e..a9dbcefab 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `api-shield_cookie`. - */ -export const api$$shield_cookie: JsonSchema = { - "description": "HTTP request cookie", - "type": "string" -}; - /** * The schema of `api-shield_credentials-JWT-Key-EC-ES256`. */ @@ -266,28 +258,6 @@ export const api$$shield_credentials$$request: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_description`. - */ -export const api$$shield_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `api-shield_header`. - */ -export const api$$shield_header: JsonSchema = { - "description": "HTTP request header (must be lowercase)", - "type": "string" -}; - -/** - * The schema of `api-shield_title`. - */ -export const api$$shield_title: JsonSchema = { - "type": "string" -}; - /** * The schema of `api-shield_token_sources`. */ @@ -295,10 +265,12 @@ export const api$$shield_token_sources: JsonSchema = { "items": { "anyOf": [ { - "$ref": "#/$defs/api-shield_header" + "description": "HTTP request header (must be lowercase)", + "type": "string" }, { - "$ref": "#/$defs/api-shield_cookie" + "description": "HTTP request cookie", + "type": "string" } ] }, @@ -306,13 +278,3 @@ export const api$$shield_token_sources: JsonSchema = { "minItems": 1, "type": "array" }; - -/** - * The schema of `api-shield_token_type`. - */ -export const api$$shield_token_type: JsonSchema = { - "enum": [ - "JWT" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts index 1ae563752..49f274406 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/configurations/tools.ts @@ -7,20 +7,9 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, - api$$shield_uuid, - api$$shield_uuid$$2, } from "../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid as api$$shield_uuid$, - api$$shield_uuid$$2 as api$$shield_uuid$$2$, -} from "../../../schemas.js"; import { api$$shield_TokenConfiguration, - api$$shield_cookie, api$$shield_credentials, api$$shield_credentials$$JWT$$Key$$EC$$ES256, api$$shield_credentials$$JWT$$Key$$EC$$ES384, @@ -29,14 +18,9 @@ import { api$$shield_credentials$$JWT$$Key$$common, api$$shield_credentials$$JWT$$Key$$oct$$response, api$$shield_credentials$$JWT$$Key$$response, - api$$shield_description, - api$$shield_header, - api$$shield_title, api$$shield_token_sources, - api$$shield_token_type, } from "./outputs.js"; import { - api$$shield_cookie as api$$shield_cookie$, api$$shield_credentials$$JWT$$Key$$EC$$ES256 as api$$shield_credentials$$JWT$$Key$$EC$$ES256$, api$$shield_credentials$$JWT$$Key$$EC$$ES384 as api$$shield_credentials$$JWT$$Key$$EC$$ES384$, api$$shield_credentials$$JWT$$Key$$EC$$common as api$$shield_credentials$$JWT$$Key$$EC$$common$, @@ -45,11 +29,7 @@ import { api$$shield_credentials$$JWT$$Key$$oct$$request, api$$shield_credentials$$JWT$$Key$$request, api$$shield_credentials$$request, - api$$shield_description as api$$shield_description$, - api$$shield_header as api$$shield_header$, - api$$shield_title as api$$shield_title$, api$$shield_token_sources as api$$shield_token_sources$, - api$$shield_token_type as api$$shield_token_type$, } from "./schemas.js"; /** @@ -59,7 +39,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_configurations_create", title: "Create a token validation configuration", - description: "Creates a JWT validation configuration for the zone.", + description: "Creates a JWT validation configuration for the zone.\n\nPOST /zones/{zone_id}/token_validation/config", inputSchema: { type: "object", properties: { @@ -70,16 +50,19 @@ export const tools: readonly Tool[] = [ "description": "Request payload for create and PUT credentials operations. Provided keys define the complete stored key set. Key identities (`{alg,kid}`) must be unique." }, "description": { - "$ref": "#/$defs/api-shield_description" + "type": "string" }, "title": { - "$ref": "#/$defs/api-shield_title" + "type": "string" }, "token_sources": { "$ref": "#/$defs/api-shield_token_sources" }, "token_type": { - "$ref": "#/$defs/api-shield_token_type" + "enum": [ + "JWT" + ], + "type": "string" } }, "required": [ @@ -92,9 +75,18 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -107,8 +99,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_cookie": api$$shield_cookie$, "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256$, "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384$, "api-shield_credentials-JWT-Key-EC-common": api$$shield_credentials$$JWT$$Key$$EC$$common$, @@ -117,13 +109,7 @@ export const tools: readonly Tool[] = [ "api-shield_credentials-JWT-Key-oct-request": api$$shield_credentials$$JWT$$Key$$oct$$request, "api-shield_credentials-JWT-Key-request": api$$shield_credentials$$JWT$$Key$$request, "api-shield_credentials-request": api$$shield_credentials$$request, - "api-shield_description": api$$shield_description$, - "api-shield_header": api$$shield_header$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_title": api$$shield_title$, "api-shield_token_sources": api$$shield_token_sources$, - "api-shield_token_type": api$$shield_token_type$, }, }, outputSchema: { @@ -146,7 +132,6 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_cookie": api$$shield_cookie, "api-shield_credentials": api$$shield_credentials, "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, @@ -155,16 +140,8 @@ export const tools: readonly Tool[] = [ "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, - "api-shield_description": api$$shield_description, - "api-shield_header": api$$shield_header, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title": api$$shield_title, "api-shield_token_sources": api$$shield_token_sources, - "api-shield_token_type": api$$shield_token_type, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -210,7 +187,6 @@ export const tools: readonly Tool[] = [ "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_cookie": api$$shield_cookie, "api-shield_credentials": api$$shield_credentials, "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, @@ -219,16 +195,8 @@ export const tools: readonly Tool[] = [ "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, - "api-shield_description": api$$shield_description, - "api-shield_header": api$$shield_header, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title": api$$shield_title, "api-shield_token_sources": api$$shield_token_sources, - "api-shield_token_type": api$$shield_token_type, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -239,18 +207,35 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_configurations_delete", title: "Delete a token validation configuration", - description: "Deletes a JWT validation configuration from the zone.\n\nConfirm with the user before calling this tool. This operation deletes the token validation configuration. The request is rejected if rules, operations, or JWT authentication identifiers still reference it.", + description: "Deletes a JWT validation configuration from the zone.\n\nConfirm with the user before calling this tool. This operation deletes the token validation configuration. The request is rejected if rules, operations, or JWT authentication identifiers still reference it.\n\nDELETE /zones/{zone_id}/token_validation/config/{config_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Token Configuration ID" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -263,12 +248,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -280,7 +260,14 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] } }, "type": "object" @@ -295,8 +282,6 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_messages": api$$shield_messages, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -326,7 +311,14 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] } }, "type": "object" @@ -347,8 +339,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_messages": api$$shield_messages, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -358,17 +348,17 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_configurations_edit", title: "Edit a token validation configuration", - description: "Updates only the supplied fields on a JWT validation configuration.", + description: "Updates only the supplied fields on a JWT validation configuration.\n\nPATCH /zones/{zone_id}/token_validation/config/{config_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/api-shield_description" + "type": "string" }, "title": { - "$ref": "#/$defs/api-shield_title" + "type": "string" }, "token_sources": { "$ref": "#/$defs/api-shield_token_sources" @@ -377,13 +367,30 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Token Configuration ID" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -397,16 +404,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_cookie": api$$shield_cookie$, - "api-shield_description": api$$shield_description$, - "api-shield_header": api$$shield_header$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_title": api$$shield_title$, "api-shield_token_sources": api$$shield_token_sources$, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -419,13 +419,20 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "description": { - "$ref": "#/$defs/api-shield_description" + "type": "string" }, "id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, "title": { - "$ref": "#/$defs/api-shield_title" + "type": "string" }, "token_sources": { "$ref": "#/$defs/api-shield_token_sources" @@ -442,14 +449,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_cookie": api$$shield_cookie, - "api-shield_description": api$$shield_description, - "api-shield_header": api$$shield_header, "api-shield_messages": api$$shield_messages, - "api-shield_title": api$$shield_title, "api-shield_token_sources": api$$shield_token_sources, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -479,13 +480,20 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "description": { - "$ref": "#/$defs/api-shield_description" + "type": "string" }, "id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, "title": { - "$ref": "#/$defs/api-shield_title" + "type": "string" }, "token_sources": { "$ref": "#/$defs/api-shield_token_sources" @@ -508,14 +516,8 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_cookie": api$$shield_cookie, - "api-shield_description": api$$shield_description, - "api-shield_header": api$$shield_header, "api-shield_messages": api$$shield_messages, - "api-shield_title": api$$shield_title, "api-shield_token_sources": api$$shield_token_sources, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -526,18 +528,35 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_configurations_get", title: "Get a token validation configuration", - description: "Returns a JWT validation configuration by ID.", + description: "Returns a JWT validation configuration by ID.\n\nGET /zones/{zone_id}/token_validation/config/{config_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "config_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Token Configuration ID" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -550,12 +569,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -577,7 +591,6 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_cookie": api$$shield_cookie, "api-shield_credentials": api$$shield_credentials, "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, @@ -586,16 +599,8 @@ export const tools: readonly Tool[] = [ "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, - "api-shield_description": api$$shield_description, - "api-shield_header": api$$shield_header, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title": api$$shield_title, "api-shield_token_sources": api$$shield_token_sources, - "api-shield_token_type": api$$shield_token_type, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -643,7 +648,6 @@ export const tools: readonly Tool[] = [ "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_cookie": api$$shield_cookie, "api-shield_credentials": api$$shield_credentials, "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, @@ -652,16 +656,8 @@ export const tools: readonly Tool[] = [ "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, - "api-shield_description": api$$shield_description, - "api-shield_header": api$$shield_header, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title": api$$shield_title, "api-shield_token_sources": api$$shield_token_sources, - "api-shield_token_type": api$$shield_token_type, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -671,14 +667,23 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_configurations_list", title: "List token validation configurations", - description: "Lists the JWT validation configurations defined for the zone.", + description: "Lists the JWT validation configurations defined for the zone.\n\nGET /zones/{zone_id}/token_validation/config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -687,6 +692,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -705,10 +711,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -734,7 +737,6 @@ export const tools: readonly Tool[] = [ "api-shield_TokenConfiguration": api$$shield_TokenConfiguration, "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_cookie": api$$shield_cookie, "api-shield_credentials": api$$shield_credentials, "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, @@ -743,16 +745,8 @@ export const tools: readonly Tool[] = [ "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, - "api-shield_description": api$$shield_description, - "api-shield_header": api$$shield_header, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title": api$$shield_title, "api-shield_token_sources": api$$shield_token_sources, - "api-shield_token_type": api$$shield_token_type, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -804,7 +798,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_cookie": api$$shield_cookie, "api-shield_credentials": api$$shield_credentials, "api-shield_credentials-JWT-Key-EC-ES256": api$$shield_credentials$$JWT$$Key$$EC$$ES256, "api-shield_credentials-JWT-Key-EC-ES384": api$$shield_credentials$$JWT$$Key$$EC$$ES384, @@ -813,16 +806,8 @@ export const tools: readonly Tool[] = [ "api-shield_credentials-JWT-Key-common": api$$shield_credentials$$JWT$$Key$$common, "api-shield_credentials-JWT-Key-oct-response": api$$shield_credentials$$JWT$$Key$$oct$$response, "api-shield_credentials-JWT-Key-response": api$$shield_credentials$$JWT$$Key$$response, - "api-shield_description": api$$shield_description, - "api-shield_header": api$$shield_header, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title": api$$shield_title, "api-shield_token_sources": api$$shield_token_sources, - "api-shield_token_type": api$$shield_token_type, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts index 6eee5659d..da4621cb4 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/outputs.ts @@ -9,31 +9,58 @@ import type { JsonSchema } from "../../../_/tool.js"; export const api$$shield_Rule: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/api-shield_action" + "enum": [ + "log", + "block" + ], + "type": "string" }, "created_at": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "description": { - "$ref": "#/$defs/api-shield_description-2" + "type": "string" }, "enabled": { - "$ref": "#/$defs/api-shield_enabled" + "type": "boolean" }, "expression": { - "$ref": "#/$defs/api-shield_expression" + "type": "string" }, "id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, "last_updated": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "selector": { "$ref": "#/$defs/api-shield_selector" }, "title": { - "$ref": "#/$defs/api-shield_title-2" + "type": "string" } }, "required": [ @@ -47,17 +74,6 @@ export const api$$shield_Rule: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_action` in responses. - */ -export const api$$shield_action: JsonSchema = { - "enum": [ - "log", - "block" - ], - "type": "string" -}; - /** * The schema of `api-shield_api-response-single-obj` in responses. */ @@ -77,27 +93,6 @@ export const api$$shield_api$$response$$single$$obj: JsonSchema = { ] }; -/** - * The schema of `api-shield_description-2` in responses. - */ -export const api$$shield_description$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `api-shield_enabled` in responses. - */ -export const api$$shield_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `api-shield_expression` in responses. - */ -export const api$$shield_expression: JsonSchema = { - "type": "string" -}; - /** * The schema of `api-shield_selector` in responses. */ @@ -140,7 +135,14 @@ export const api$$shield_selector$$exclude: JsonSchema = { "properties": { "operation_ids": { "items": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, "type": "array" } @@ -155,17 +157,10 @@ export const api$$shield_selector$$include: JsonSchema = { "properties": { "host": { "items": { - "$ref": "#/$defs/api-shield_host" + "type": "string" }, "type": "array" } }, "type": "object" }; - -/** - * The schema of `api-shield_title-2` in responses. - */ -export const api$$shield_title$$2: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/schemas.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/schemas.ts index e92dbfb05..10e1b247c 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/schemas.ts @@ -3,18 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `api-shield_action`. - */ -export const api$$shield_action: JsonSchema = { - "description": "Action to take on requests that match operations included in `selector` and fail `expression`.", - "enum": [ - "log", - "block" - ], - "type": "string" -}; - /** * The schema of `api-shield_after`. */ @@ -51,28 +39,32 @@ export const api$$shield_before: JsonSchema = { export const api$$shield_create$$single$$rule$$request: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/api-shield_action", - "description": "Action to take on requests that match operations included in `selector` and fail `expression`." + "description": "Action to take on requests that match operations included in `selector` and fail `expression`.", + "enum": [ + "log", + "block" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/api-shield_description-2", - "description": "A human-readable description that gives more details than `title`." + "description": "A human-readable description that gives more details than `title`.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/api-shield_enabled", - "description": "Toggle rule on or off." + "description": "Toggle rule on or off.", + "type": "boolean" }, "expression": { - "$ref": "#/$defs/api-shield_expression", - "description": "Rule expression. Requests that fail to match this expression will be subject to `action`.\n\nFor details on expressions, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).\n" + "description": "Rule expression. Requests that fail to match this expression will be subject to `action`.\n\nFor details on expressions, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).", + "type": "string" }, "selector": { "$ref": "#/$defs/api-shield_selector", - "description": "Select operations covered by this rule.\n\nFor details on selectors, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).\n" + "description": "Select operations covered by this rule.\n\nFor details on selectors, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/)." }, "title": { - "$ref": "#/$defs/api-shield_title-2", - "description": "A human-readable name for the rule." + "description": "A human-readable name for the rule.", + "type": "string" } }, "required": [ @@ -86,14 +78,6 @@ export const api$$shield_create$$single$$rule$$request: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_description-2`. - */ -export const api$$shield_description$$2: JsonSchema = { - "description": "A human-readable description that gives more details than `title`.", - "type": "string" -}; - /** * The schema of `api-shield_edit-single-rule-request`. */ @@ -114,22 +98,6 @@ export const api$$shield_edit$$single$$rule$$request: JsonSchema = { ] }; -/** - * The schema of `api-shield_enabled`. - */ -export const api$$shield_enabled: JsonSchema = { - "description": "Toggle rule on or off.", - "type": "boolean" -}; - -/** - * The schema of `api-shield_expression`. - */ -export const api$$shield_expression: JsonSchema = { - "description": "Rule expression. Requests that fail to match this expression will be subject to `action`.\n\nFor details on expressions, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).\n", - "type": "string" -}; - /** * The schema of `api-shield_index`. */ @@ -170,28 +138,32 @@ export const api$$shield_position: JsonSchema = { export const api$$shield_rule$$properties: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/api-shield_action", - "description": "Action to take on requests that match operations included in `selector` and fail `expression`." + "description": "Action to take on requests that match operations included in `selector` and fail `expression`.", + "enum": [ + "log", + "block" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/api-shield_description-2", - "description": "A human-readable description that gives more details than `title`." + "description": "A human-readable description that gives more details than `title`.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/api-shield_enabled", - "description": "Toggle rule on or off." + "description": "Toggle rule on or off.", + "type": "boolean" }, "expression": { - "$ref": "#/$defs/api-shield_expression", - "description": "Rule expression. Requests that fail to match this expression will be subject to `action`.\n\nFor details on expressions, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).\n" + "description": "Rule expression. Requests that fail to match this expression will be subject to `action`.\n\nFor details on expressions, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).", + "type": "string" }, "selector": { "$ref": "#/$defs/api-shield_selector", - "description": "Select operations covered by this rule.\n\nFor details on selectors, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).\n" + "description": "Select operations covered by this rule.\n\nFor details on selectors, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/)." }, "title": { - "$ref": "#/$defs/api-shield_title-2", - "description": "A human-readable name for the rule." + "description": "A human-readable name for the rule.", + "type": "string" } }, "type": "object" @@ -201,7 +173,7 @@ export const api$$shield_rule$$properties: JsonSchema = { * The schema of `api-shield_selector`. */ export const api$$shield_selector: JsonSchema = { - "description": "Select operations covered by this rule.\n\nFor details on selectors, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).\n", + "description": "Select operations covered by this rule.\n\nFor details on selectors, see the [Cloudflare Docs](https://developers.cloudflare.com/api-shield/security/jwt-validation/).", "properties": { "exclude": { "description": "Ignore operations that were otherwise included by `include`.", @@ -243,7 +215,15 @@ export const api$$shield_selector$$exclude: JsonSchema = { "operation_ids": { "description": "Excluded operation IDs.", "items": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] }, "type": "array" } @@ -259,18 +239,11 @@ export const api$$shield_selector$$include: JsonSchema = { "host": { "description": "Included hostnames.", "items": { - "$ref": "#/$defs/api-shield_host" + "description": "RFC3986-compliant host.", + "type": "string" }, "type": "array" } }, "type": "object" }; - -/** - * The schema of `api-shield_title-2`. - */ -export const api$$shield_title$$2: JsonSchema = { - "description": "A human-readable name for the rule.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts index c944cd4c8..23ec2550b 100644 --- a/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/tokenValidation/rules/tools.ts @@ -6,49 +6,27 @@ import { api$$shield_api$$response$$collection, api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, - api$$shield_host, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, - api$$shield_uuid, - api$$shield_uuid$$2, } from "../../../outputs.js"; -import { - api$$shield_host as api$$shield_host$, - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid as api$$shield_uuid$, - api$$shield_uuid$$2 as api$$shield_uuid$$2$, -} from "../../../schemas.js"; import { api$$shield_api$$response$$single } from "../../outputs.js"; import { api$$shield_Rule, - api$$shield_action, api$$shield_api$$response$$single$$obj, - api$$shield_description$$2, - api$$shield_enabled, - api$$shield_expression, api$$shield_selector, api$$shield_selector$$exclude, api$$shield_selector$$include, - api$$shield_title$$2, } from "./outputs.js"; import { - api$$shield_action as api$$shield_action$, api$$shield_after, api$$shield_before, api$$shield_create$$single$$rule$$request, - api$$shield_description$$2 as api$$shield_description$$2$, api$$shield_edit$$single$$rule$$request, - api$$shield_enabled as api$$shield_enabled$, - api$$shield_expression as api$$shield_expression$, api$$shield_index, api$$shield_position, api$$shield_rule$$properties, api$$shield_selector as api$$shield_selector$, api$$shield_selector$$exclude as api$$shield_selector$$exclude$, api$$shield_selector$$include as api$$shield_selector$$include$, - api$$shield_title$$2 as api$$shield_title$$2$, } from "./schemas.js"; /** @@ -58,7 +36,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_rules_bulkCreate", title: "Create token validation rules", - description: "Creates multiple token validation rules for the zone in one request.", + description: "Creates multiple token validation rules for the zone in one request.\n\nPOST /zones/{zone_id}/token_validation/rules/bulk", inputSchema: { type: "object", properties: { @@ -69,9 +47,18 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -84,21 +71,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_action": api$$shield_action$, "api-shield_create-single-rule-request": api$$shield_create$$single$$rule$$request, - "api-shield_description-2": api$$shield_description$$2$, - "api-shield_enabled": api$$shield_enabled$, - "api-shield_expression": api$$shield_expression$, - "api-shield_host": api$$shield_host$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, "api-shield_selector": api$$shield_selector$, "api-shield_selector-exclude": api$$shield_selector$$exclude$, "api-shield_selector-include": api$$shield_selector$$include$, - "api-shield_title-2": api$$shield_title$$2$, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -123,22 +101,12 @@ export const tools: readonly Tool[] = [ ], $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -185,23 +153,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -212,7 +170,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_rules_bulkEdit", title: "Edit token validation rules", - description: "Updates and reorders multiple token validation rules in one request, then returns the updated rules.", + description: "Updates and reorders multiple token validation rules in one request, then returns the updated rules.\n\nPATCH /zones/{zone_id}/token_validation/rules/bulk", inputSchema: { type: "object", properties: { @@ -240,9 +198,18 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -255,26 +222,17 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_action": api$$shield_action$, "api-shield_after": api$$shield_after, "api-shield_before": api$$shield_before, - "api-shield_description-2": api$$shield_description$$2$, "api-shield_edit-single-rule-request": api$$shield_edit$$single$$rule$$request, - "api-shield_enabled": api$$shield_enabled$, - "api-shield_expression": api$$shield_expression$, - "api-shield_host": api$$shield_host$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, "api-shield_index": api$$shield_index, "api-shield_position": api$$shield_position, "api-shield_rule-properties": api$$shield_rule$$properties, "api-shield_selector": api$$shield_selector$, "api-shield_selector-exclude": api$$shield_selector$$exclude$, "api-shield_selector-include": api$$shield_selector$$include$, - "api-shield_title-2": api$$shield_title$$2$, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -299,22 +257,12 @@ export const tools: readonly Tool[] = [ ], $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -361,23 +309,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -388,7 +326,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_rules_create", title: "Create a token validation rule", - description: "Creates a token validation rule for the zone.", + description: "Creates a token validation rule for the zone.\n\nPOST /zones/{zone_id}/token_validation/rules", inputSchema: { type: "object", properties: { @@ -396,9 +334,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_create-single-rule-request" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -411,21 +358,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_action": api$$shield_action$, "api-shield_create-single-rule-request": api$$shield_create$$single$$rule$$request, - "api-shield_description-2": api$$shield_description$$2$, - "api-shield_enabled": api$$shield_enabled$, - "api-shield_expression": api$$shield_expression$, - "api-shield_host": api$$shield_host$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, "api-shield_selector": api$$shield_selector$, "api-shield_selector-exclude": api$$shield_selector$$exclude$, "api-shield_selector-include": api$$shield_selector$$include$, - "api-shield_title-2": api$$shield_title$$2$, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -447,21 +385,11 @@ export const tools: readonly Tool[] = [ ], $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-single": api$$shield_api$$response$$single, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -505,22 +433,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_api-response-single": api$$shield_api$$response$$single, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -531,18 +449,35 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_rules_delete", title: "Delete a token validation rule", - description: "Deletes a token validation rule from the zone.\n\nConfirm with the user before calling this tool. This operation deletes the token validation rule from the zone.", + description: "Deletes a token validation rule from the zone.\n\nConfirm with the user before calling this tool. This operation deletes the token validation rule from the zone.\n\nDELETE /zones/{zone_id}/token_validation/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Token Validation Rule ID" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -555,12 +490,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_api-response-single-obj", @@ -608,7 +538,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_rules_edit", title: "Edit a token validation rule", - description: "Updates only the supplied fields on a token validation rule.", + description: "Updates only the supplied fields on a token validation rule.\n\nPATCH /zones/{zone_id}/token_validation/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -616,13 +546,30 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_edit-single-rule-request" }, "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Token Validation Rule ID" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -636,26 +583,17 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_action": api$$shield_action$, "api-shield_after": api$$shield_after, "api-shield_before": api$$shield_before, - "api-shield_description-2": api$$shield_description$$2$, "api-shield_edit-single-rule-request": api$$shield_edit$$single$$rule$$request, - "api-shield_enabled": api$$shield_enabled$, - "api-shield_expression": api$$shield_expression$, - "api-shield_host": api$$shield_host$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, "api-shield_index": api$$shield_index, "api-shield_position": api$$shield_position, "api-shield_rule-properties": api$$shield_rule$$properties, "api-shield_selector": api$$shield_selector$, "api-shield_selector-exclude": api$$shield_selector$$exclude$, "api-shield_selector-include": api$$shield_selector$$include$, - "api-shield_title-2": api$$shield_title$$2$, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -677,21 +615,11 @@ export const tools: readonly Tool[] = [ ], $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-single": api$$shield_api$$response$$single, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -735,22 +663,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_api-response-single": api$$shield_api$$response$$single, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -761,18 +679,35 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_rules_get", title: "Get a token validation rule", - description: "Returns a token validation rule by ID.", + description: "Returns a token validation rule by ID.\n\nGET /zones/{zone_id}/token_validation/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Token Validation Rule ID" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -785,12 +720,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -811,21 +741,11 @@ export const tools: readonly Tool[] = [ ], $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -871,22 +791,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -896,14 +806,23 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_tokenValidation_rules_list", title: "List token validation rules", - description: "Lists token validation rules for the zone, with filters for configuration, action, state, ID, and host.", + description: "Lists token validation rules for the zone, with filters for configuration, action, state, ID, and host.\n\nGET /zones/{zone_id}/token_validation/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -912,25 +831,38 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "action": { - "$ref": "#/$defs/api-shield_action", - "description": "Action to take on requests that match operations included in `selector` and fail `expression`." + "description": "Action to take on requests that match operations included in `selector` and fail `expression`.", + "enum": [ + "log", + "block" + ], + "type": "string" }, "enabled": { - "$ref": "#/$defs/api-shield_enabled", - "description": "Toggle rule on or off." + "description": "Toggle rule on or off.", + "type": "boolean" }, "host": { - "$ref": "#/$defs/api-shield_host", - "description": "Select rules with this host in `include`." + "description": "Select rules with this host in `include`.", + "type": "string" }, "hostname": { - "$ref": "#/$defs/api-shield_host", - "description": "Select rules with this host in `include`." + "description": "Select rules with this host in `include`.", + "type": "string" }, "id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Select rules with these IDs." }, "page": { @@ -944,13 +876,29 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "rule_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Select rules with these IDs." }, "token_configuration": { "description": "Select rules using any of these token configurations.", "items": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] }, "type": "array" } @@ -961,15 +909,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_action": api$$shield_action$, - "api-shield_enabled": api$$shield_enabled$, - "api-shield_host": api$$shield_host$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -993,22 +933,12 @@ export const tools: readonly Tool[] = [ ], $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -1057,23 +987,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "api-shield_Rule": api$$shield_Rule, - "api-shield_action": api$$shield_action, "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_description-2": api$$shield_description$$2, - "api-shield_enabled": api$$shield_enabled, - "api-shield_expression": api$$shield_expression, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, "api-shield_selector": api$$shield_selector, "api-shield_selector-exclude": api$$shield_selector$$exclude, "api-shield_selector-include": api$$shield_selector$$include, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_title-2": api$$shield_title$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts index 8407757ac..a1c8c191a 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/outputs.ts @@ -17,7 +17,11 @@ export const vuln_scanner_credential: JsonSchema = { "type": "string" }, "location": { - "$ref": "#/$defs/vuln_scanner_credential-location" + "enum": [ + "header", + "cookie" + ], + "type": "string" }, "location_name": { "type": "string" @@ -35,14 +39,3 @@ export const vuln_scanner_credential: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `vuln_scanner_credential-location` in responses. - */ -export const vuln_scanner_credential$$location: JsonSchema = { - "enum": [ - "header", - "cookie" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/schemas.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/schemas.ts index a9168c7ef..988e4e7c3 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/schemas.ts @@ -9,11 +9,15 @@ import type { JsonSchema } from "../../../../_/tool.js"; export const vuln_scanner_create$$credential$$request: JsonSchema = { "properties": { "location": { - "$ref": "#/$defs/vuln_scanner_credential-location", - "description": "Where the credential is attached in outgoing requests." + "description": "Where the credential is attached in outgoing requests.", + "enum": [ + "header", + "cookie" + ], + "type": "string" }, "location_name": { - "description": "Name of the header or cookie where the credential is attached.\n", + "description": "Name of the header or cookie where the credential is attached.", "type": "string" }, "name": { @@ -21,7 +25,7 @@ export const vuln_scanner_create$$credential$$request: JsonSchema = { "type": "string" }, "value": { - "description": "The credential value (e.g. API key, session token). Write-only.\nNever returned in responses.\n", + "description": "The credential value (e.g. API key, session token). Write-only.\nNever returned in responses.", "type": "string" } }, @@ -34,18 +38,6 @@ export const vuln_scanner_create$$credential$$request: JsonSchema = { "type": "object" }; -/** - * The schema of `vuln_scanner_credential-location`. - */ -export const vuln_scanner_credential$$location: JsonSchema = { - "description": "Where the credential is attached in outgoing requests.", - "enum": [ - "header", - "cookie" - ], - "type": "string" -}; - /** * The schema of `vuln_scanner_patch-credential-request`. */ @@ -53,11 +45,15 @@ export const vuln_scanner_patch$$credential$$request: JsonSchema = { "description": "Applies a partial update. Only the provided fields change; omitted fields remain unchanged.", "properties": { "location": { - "$ref": "#/$defs/vuln_scanner_credential-location", - "description": "Where the credential is attached in outgoing requests." + "description": "Where the credential is attached in outgoing requests.", + "enum": [ + "header", + "cookie" + ], + "type": "string" }, "location_name": { - "description": "Name of the header or cookie where the credential is attached.\n", + "description": "Name of the header or cookie where the credential is attached.", "type": "string" }, "name": { @@ -65,7 +61,7 @@ export const vuln_scanner_patch$$credential$$request: JsonSchema = { "type": "string" }, "value": { - "description": "The credential value. Write-only. Never returned in responses.\n", + "description": "The credential value. Write-only. Never returned in responses.", "type": "string" } }, @@ -79,11 +75,15 @@ export const vuln_scanner_update$$credential$$request: JsonSchema = { "description": "Full replacement. Provide all fields.", "properties": { "location": { - "$ref": "#/$defs/vuln_scanner_credential-location", - "description": "Where the credential is attached in outgoing requests." + "description": "Where the credential is attached in outgoing requests.", + "enum": [ + "header", + "cookie" + ], + "type": "string" }, "location_name": { - "description": "Name of the header or cookie where the credential is attached.\n", + "description": "Name of the header or cookie where the credential is attached.", "type": "string" }, "name": { @@ -91,7 +91,7 @@ export const vuln_scanner_update$$credential$$request: JsonSchema = { "type": "string" }, "value": { - "description": "The credential value. Write-only. Never returned in responses.\n", + "description": "The credential value. Write-only. Never returned in responses.", "type": "string" } }, diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts index f9a4ca693..3c0e4b1e3 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/credentials/tools.ts @@ -9,14 +9,9 @@ import { vuln_scanner_empty$$response, vuln_scanner_messages, } from "../../outputs.js"; -import { vuln_scanner_identifier } from "../../schemas.js"; -import { - vuln_scanner_credential, - vuln_scanner_credential$$location, -} from "./outputs.js"; +import { vuln_scanner_credential } from "./outputs.js"; import { vuln_scanner_create$$credential$$request, - vuln_scanner_credential$$location as vuln_scanner_credential$$location$, vuln_scanner_patch$$credential$$request, vuln_scanner_update$$credential$$request, } from "./schemas.js"; @@ -28,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_create", title: "Create credential", - description: "Creates a new credential within a credential set.\n\nThis method is beta.", + description: "Creates a new credential within a credential set.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials", inputSchema: { type: "object", properties: { @@ -36,10 +31,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_create-credential-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_set_id": { "description": "Credential set identifier.", @@ -58,10 +54,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "vuln_scanner_create-credential-request": vuln_scanner_create$$credential$$request, - "vuln_scanner_credential-location": vuln_scanner_credential$$location$, - "vuln_scanner_identifier": vuln_scanner_identifier, }, }, outputSchema: { @@ -91,7 +86,6 @@ export const tools: readonly Tool[] = [ $defs: { "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, @@ -139,7 +133,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, @@ -151,15 +144,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_delete", title: "Delete credential", - description: "Deletes a credential.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the credential from the credential set.", + description: "Deletes a credential.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the credential from the credential set.\n\nDELETE /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials/{credential_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_id": { "description": "Credential identifier.", @@ -183,9 +177,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/vuln_scanner_empty-response", @@ -227,7 +219,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_edit", title: "Edit credential", - description: "Updates a credential with only the provided fields; omitted fields remain unchanged.\n\nThis method is beta.", + description: "Updates a credential with only the provided fields; omitted fields remain unchanged.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials/{credential_id}", inputSchema: { type: "object", properties: { @@ -235,10 +227,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_patch-credential-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_id": { "description": "Credential identifier.", @@ -263,9 +256,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "vuln_scanner_credential-location": vuln_scanner_credential$$location$, - "vuln_scanner_identifier": vuln_scanner_identifier, "vuln_scanner_patch-credential-request": vuln_scanner_patch$$credential$$request, }, }, @@ -296,7 +288,6 @@ export const tools: readonly Tool[] = [ $defs: { "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, @@ -344,7 +335,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, @@ -356,15 +346,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_get", title: "Get credential", - description: "Returns a single credential by ID.\n\nThis method is beta.", + description: "Returns a single credential by ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials/{credential_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_id": { "description": "Credential identifier.", @@ -388,9 +379,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -419,7 +408,6 @@ export const tools: readonly Tool[] = [ $defs: { "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, @@ -467,7 +455,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, @@ -478,15 +465,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_list", title: "List credentials", - description: "Returns all credentials within a credential set.\n\nThis method is beta.", + description: "Returns all credentials within a credential set.\n\nThis method is beta.\n\nGET /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_set_id": { "description": "Credential set identifier.", @@ -501,6 +489,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -519,9 +508,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -544,7 +531,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_api-response-collection": vuln_scanner_api$$response$$collection, "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, @@ -586,7 +572,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, @@ -601,7 +586,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_credentials_update", title: "Update credential", - description: "Replaces a credential. All fields must be provided.\n\nThis method is beta.", + description: "Replaces a credential. All fields must be provided.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}/credentials/{credential_id}", inputSchema: { type: "object", properties: { @@ -609,10 +594,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_update-credential-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_id": { "description": "Credential identifier.", @@ -637,9 +623,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "vuln_scanner_credential-location": vuln_scanner_credential$$location$, - "vuln_scanner_identifier": vuln_scanner_identifier, "vuln_scanner_update-credential-request": vuln_scanner_update$$credential$$request, }, }, @@ -670,7 +655,6 @@ export const tools: readonly Tool[] = [ $defs: { "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, @@ -718,7 +702,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_api-response-common": vuln_scanner_api$$response$$common, "vuln_scanner_api-response-common-failure": vuln_scanner_api$$response$$common$$failure, "vuln_scanner_credential": vuln_scanner_credential, - "vuln_scanner_credential-location": vuln_scanner_credential$$location, "vuln_scanner_messages": vuln_scanner_messages, }, }, diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts index 7641d1d1a..574a37196 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/credentialSets/tools.ts @@ -9,7 +9,6 @@ import { vuln_scanner_empty$$response, vuln_scanner_messages, } from "../outputs.js"; -import { vuln_scanner_identifier } from "../schemas.js"; import { vuln_scanner_credential$$set } from "./outputs.js"; import { vuln_scanner_create$$credential$$set$$request, @@ -24,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_create", title: "Create credential set", - description: "Creates a new credential set.\n\nThis method is beta.", + description: "Creates a new credential set.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/vuln_scanner/credential_sets", inputSchema: { type: "object", properties: { @@ -32,10 +31,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_create-credential-set-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -48,9 +48,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "vuln_scanner_create-credential-set-request": vuln_scanner_create$$credential$$set$$request, - "vuln_scanner_identifier": vuln_scanner_identifier, }, }, outputSchema: { @@ -138,15 +138,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_delete", title: "Delete credential set", - description: "Deletes a credential set and all of its credentials.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the credential set and every credential it contains.", + description: "Deletes a credential set and all of its credentials.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the credential set and every credential it contains.\n\nDELETE /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_set_id": { "description": "Credential set identifier.", @@ -164,9 +165,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/vuln_scanner_empty-response", @@ -208,7 +207,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_edit", title: "Edit credential set", - description: "Updates a credential set with only the provided fields; omitted fields remain unchanged.\n\nThis method is beta.", + description: "Updates a credential set with only the provided fields; omitted fields remain unchanged.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}", inputSchema: { type: "object", properties: { @@ -216,10 +215,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_patch-credential-set-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_set_id": { "description": "Credential set identifier.", @@ -238,8 +238,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, "vuln_scanner_patch-credential-set-request": vuln_scanner_patch$$credential$$set$$request, }, }, @@ -328,15 +328,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_get", title: "Get credential set", - description: "Returns a single credential set by ID.\n\nThis method is beta.", + description: "Returns a single credential set by ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_set_id": { "description": "Credential set identifier.", @@ -354,9 +355,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -442,15 +441,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_list", title: "List credential sets", - description: "Returns all credential sets for the account.\n\nThis method is beta.", + description: "Returns all credential sets for the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/vuln_scanner/credential_sets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -459,6 +459,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -477,9 +478,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -557,7 +556,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_credentialSets_update", title: "Update credential set", - description: "Replaces a credential set. All fields must be provided.\n\nThis method is beta.", + description: "Replaces a credential set. All fields must be provided.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/vuln_scanner/credential_sets/{credential_set_id}", inputSchema: { type: "object", properties: { @@ -565,10 +564,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_update-credential-set-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "credential_set_id": { "description": "Credential set identifier.", @@ -587,8 +587,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, "vuln_scanner_update-credential-set-request": vuln_scanner_update$$credential$$set$$request, }, }, diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts index 87a0d4b2c..05f9a2e40 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/outputs.ts @@ -141,17 +141,6 @@ export const vuln_scanner_bola$$body$$response$$text: JsonSchema = { "type": "object" }; -/** - * The schema of `vuln_scanner_bola-credential-role` in responses. - */ -export const vuln_scanner_bola$$credential$$role: JsonSchema = { - "enum": [ - "owner", - "attacker" - ], - "type": "string" -}; - /** * The schema of `vuln_scanner_bola-http-status-range` in responses. */ @@ -171,32 +160,6 @@ export const vuln_scanner_bola$$http$$status$$range: JsonSchema = { "type": "object" }; -/** - * The schema of `vuln_scanner_bola-method` in responses. - */ -export const vuln_scanner_bola$$method: JsonSchema = { - "enum": [ - "GET", - "DELETE", - "PATCH", - "POST", - "PUT" - ], - "type": "string" -}; - -/** - * The schema of `vuln_scanner_bola-outcome` in responses. - */ -export const vuln_scanner_bola$$outcome: JsonSchema = { - "enum": [ - "ok", - "fail", - "inconclusive" - ], - "type": "string" -}; - /** * The schema of `vuln_scanner_bola-report` in responses. */ @@ -225,7 +188,12 @@ export const vuln_scanner_bola$$report: JsonSchema = { export const vuln_scanner_bola$$report$$summary: JsonSchema = { "properties": { "verdict": { - "$ref": "#/$defs/vuln_scanner_bola-verdict" + "enum": [ + "ok", + "warning", + "inconclusive" + ], + "type": "string" } }, "required": [ @@ -274,7 +242,12 @@ export const vuln_scanner_bola$$test: JsonSchema = { "type": "array" }, "verdict": { - "$ref": "#/$defs/vuln_scanner_bola-verdict" + "enum": [ + "ok", + "warning", + "inconclusive" + ], + "type": "string" } }, "required": [ @@ -306,7 +279,12 @@ export const vuln_scanner_bola$$test$$assertion: JsonSchema = { ] }, "outcome": { - "$ref": "#/$defs/vuln_scanner_bola-outcome" + "enum": [ + "ok", + "fail", + "inconclusive" + ], + "type": "string" } }, "required": [ @@ -328,7 +306,11 @@ export const vuln_scanner_bola$$test$$credential$$set: JsonSchema = { "type": "string" }, "role": { - "$ref": "#/$defs/vuln_scanner_bola-credential-role" + "enum": [ + "owner", + "attacker" + ], + "type": "string" } }, "required": [ @@ -388,7 +370,14 @@ export const vuln_scanner_bola$$test$$request: JsonSchema = { "type": "array" }, "method": { - "$ref": "#/$defs/vuln_scanner_bola-method" + "enum": [ + "GET", + "DELETE", + "PATCH", + "POST", + "PUT" + ], + "type": "string" }, "url": { "type": "string" @@ -509,18 +498,6 @@ export const vuln_scanner_bola$$variable$$capture: JsonSchema = { "type": "object" }; -/** - * The schema of `vuln_scanner_bola-verdict` in responses. - */ -export const vuln_scanner_bola$$verdict: JsonSchema = { - "enum": [ - "ok", - "warning", - "inconclusive" - ], - "type": "string" -}; - /** * The schema of `vuln_scanner_delete-scan-response` in responses. */ diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/schemas.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/schemas.ts index 830934e71..a2f4cf1cf 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/schemas.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../../_/tool.js"; * The schema of `vuln_scanner_bola-credential-sets`. */ export const vuln_scanner_bola$$credential$$sets: JsonSchema = { - "description": "Credential set references for a BOLA scan. The scanner uses the\n`owner` credentials for legitimate requests and the `attacker`\ncredentials to attempt unauthorized access.\n", + "description": "Credential set references for a BOLA scan. The scanner uses the\n`owner` credentials for legitimate requests and the `attacker`\ncredentials to attempt unauthorized access.", "properties": { "attacker": { "description": "Credential set ID for the attacker.", @@ -34,10 +34,10 @@ export const vuln_scanner_create$$bola$$scan$$request: JsonSchema = { "properties": { "credential_sets": { "$ref": "#/$defs/vuln_scanner_bola-credential-sets", - "description": "Credential set references for a BOLA scan. The scanner uses the\n`owner` credentials for legitimate requests and the `attacker`\ncredentials to attempt unauthorized access.\n" + "description": "Credential set references for a BOLA scan. The scanner uses the\n`owner` credentials for legitimate requests and the `attacker`\ncredentials to attempt unauthorized access." }, "open_api": { - "description": "OpenAPI schema definition for the API under test. The scanner\nuses this to discover endpoints and construct requests.\n", + "description": "OpenAPI schema definition for the API under test. The scanner\nuses this to discover endpoints and construct requests.", "type": "string" }, "scan_type": { @@ -66,5 +66,5 @@ export const vuln_scanner_create$$bola$$scan$$request: JsonSchema = { */ export const vuln_scanner_create$$scan$$request: JsonSchema = { "$ref": "#/$defs/vuln_scanner_create-bola-scan-request", - "description": "Create a new vulnerability scan. The `scan_type` discriminator\nselects the scan variant and its required context fields.\n" + "description": "Create a new vulnerability scan. The `scan_type` discriminator\nselects the scan variant and its required context fields." }; diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts index 48fee6e20..3bbe2d344 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/scans/tools.ts @@ -8,7 +8,6 @@ import { vuln_scanner_api$$response$$common$$failure, vuln_scanner_messages, } from "../outputs.js"; -import { vuln_scanner_identifier } from "../schemas.js"; import { vuln_scanner_bola$$assertion$$kind, vuln_scanner_bola$$body$$response, @@ -16,10 +15,7 @@ import { vuln_scanner_bola$$body$$response$$json, vuln_scanner_bola$$body$$response$$not$$found, vuln_scanner_bola$$body$$response$$text, - vuln_scanner_bola$$credential$$role, vuln_scanner_bola$$http$$status$$range, - vuln_scanner_bola$$method, - vuln_scanner_bola$$outcome, vuln_scanner_bola$$report, vuln_scanner_bola$$report$$summary, vuln_scanner_bola$$report$$v1, @@ -31,7 +27,6 @@ import { vuln_scanner_bola$$test$$response, vuln_scanner_bola$$test$$step, vuln_scanner_bola$$variable$$capture, - vuln_scanner_bola$$verdict, vuln_scanner_delete$$scan$$response, vuln_scanner_scan, } from "./outputs.js"; @@ -48,7 +43,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_scans_create", title: "Create scan", - description: "Creates and starts a new vulnerability scan. The response may include non-fatal warnings in the `messages` array.\n\nThis method is beta.", + description: "Creates and starts a new vulnerability scan. The response may include non-fatal warnings in the `messages` array.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/vuln_scanner/scans", inputSchema: { type: "object", properties: { @@ -56,10 +51,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_create-scan-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -72,11 +68,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "vuln_scanner_bola-credential-sets": vuln_scanner_bola$$credential$$sets, "vuln_scanner_create-bola-scan-request": vuln_scanner_create$$bola$$scan$$request, "vuln_scanner_create-scan-request": vuln_scanner_create$$scan$$request, - "vuln_scanner_identifier": vuln_scanner_identifier, }, }, outputSchema: { @@ -111,10 +107,7 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, - "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, - "vuln_scanner_bola-method": vuln_scanner_bola$$method, - "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, "vuln_scanner_bola-report": vuln_scanner_bola$$report, "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, @@ -126,7 +119,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, - "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, "vuln_scanner_messages": vuln_scanner_messages, "vuln_scanner_scan": vuln_scanner_scan, }, @@ -180,10 +172,7 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, - "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, - "vuln_scanner_bola-method": vuln_scanner_bola$$method, - "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, "vuln_scanner_bola-report": vuln_scanner_bola$$report, "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, @@ -195,7 +184,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, - "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, "vuln_scanner_messages": vuln_scanner_messages, "vuln_scanner_scan": vuln_scanner_scan, }, @@ -208,15 +196,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_scans_delete", title: "Delete scan", - description: "Deletes a scan and all associated data. Only scans in a terminal state (`finished`, `failed`) may be deleted. Attempting to delete a scan that is still being created or executed (`created`, `scheduled`, `planning`, `running`) returns `400`.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the completed or failed scan and all associated scan data.", + description: "Deletes a scan and all associated data. Only scans in a terminal state (`finished`, `failed`) may be deleted. Attempting to delete a scan that is still being created or executed (`created`, `scheduled`, `planning`, `running`) returns `400`.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the completed or failed scan and all associated scan data.\n\nDELETE /accounts/{account_id}/vuln_scanner/scans/{scan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "scan_id": { "description": "Scan identifier.", @@ -234,9 +223,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -322,15 +309,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_scans_get", title: "Get scan", - description: "Returns a single scan by ID.\n\nThis method is beta.", + description: "Returns a single scan by ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/vuln_scanner/scans/{scan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "scan_id": { "description": "Scan identifier.", @@ -348,9 +336,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -384,10 +370,7 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, - "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, - "vuln_scanner_bola-method": vuln_scanner_bola$$method, - "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, "vuln_scanner_bola-report": vuln_scanner_bola$$report, "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, @@ -399,7 +382,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, - "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, "vuln_scanner_messages": vuln_scanner_messages, "vuln_scanner_scan": vuln_scanner_scan, }, @@ -453,10 +435,7 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, - "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, - "vuln_scanner_bola-method": vuln_scanner_bola$$method, - "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, "vuln_scanner_bola-report": vuln_scanner_bola$$report, "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, @@ -468,7 +447,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, - "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, "vuln_scanner_messages": vuln_scanner_messages, "vuln_scanner_scan": vuln_scanner_scan, }, @@ -480,15 +458,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_scans_list", title: "List scans", - description: "Returns all scans for the account.\n\nThis method is beta.", + description: "Returns all scans for the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/vuln_scanner/scans", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -497,6 +476,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -515,9 +495,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -545,10 +523,7 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, - "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, - "vuln_scanner_bola-method": vuln_scanner_bola$$method, - "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, "vuln_scanner_bola-report": vuln_scanner_bola$$report, "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, @@ -560,7 +535,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, - "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, "vuln_scanner_messages": vuln_scanner_messages, "vuln_scanner_scan": vuln_scanner_scan, }, @@ -608,10 +582,7 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-body-response-json": vuln_scanner_bola$$body$$response$$json, "vuln_scanner_bola-body-response-not-found": vuln_scanner_bola$$body$$response$$not$$found, "vuln_scanner_bola-body-response-text": vuln_scanner_bola$$body$$response$$text, - "vuln_scanner_bola-credential-role": vuln_scanner_bola$$credential$$role, "vuln_scanner_bola-http-status-range": vuln_scanner_bola$$http$$status$$range, - "vuln_scanner_bola-method": vuln_scanner_bola$$method, - "vuln_scanner_bola-outcome": vuln_scanner_bola$$outcome, "vuln_scanner_bola-report": vuln_scanner_bola$$report, "vuln_scanner_bola-report-summary": vuln_scanner_bola$$report$$summary, "vuln_scanner_bola-report-v1": vuln_scanner_bola$$report$$v1, @@ -623,7 +594,6 @@ export const tools: readonly Tool[] = [ "vuln_scanner_bola-test-response": vuln_scanner_bola$$test$$response, "vuln_scanner_bola-test-step": vuln_scanner_bola$$test$$step, "vuln_scanner_bola-variable-capture": vuln_scanner_bola$$variable$$capture, - "vuln_scanner_bola-verdict": vuln_scanner_bola$$verdict, "vuln_scanner_messages": vuln_scanner_messages, "vuln_scanner_scan": vuln_scanner_scan, }, diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/schemas.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/schemas.ts deleted file mode 100644 index fe63e74e2..000000000 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `vuln_scanner_identifier`. - */ -export const vuln_scanner_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/schemas.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/schemas.ts index 5cfbf7fc2..29ba41a20 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/schemas.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/schemas.ts @@ -25,7 +25,7 @@ export const vuln_scanner_create$$target$$environment$$request: JsonSchema = { }, "target": { "$ref": "#/$defs/vuln_scanner_target-type", - "description": "Identifies the Cloudflare asset to scan. Uses a `type` discriminator.\nCurrently the service supports only `zone` targets.\n" + "description": "Identifies the Cloudflare asset to scan. Uses a `type` discriminator.\nCurrently the service supports only `zone` targets." } }, "required": [ @@ -39,10 +39,10 @@ export const vuln_scanner_create$$target$$environment$$request: JsonSchema = { * The schema of `vuln_scanner_patch-target-environment-request`. */ export const vuln_scanner_patch$$target$$environment$$request: JsonSchema = { - "description": "Applies a partial update. Only the provided fields change; omitted fields remain unchanged.\n\nThe `description` field supports three states:\n- **omitted**: leave unchanged\n- **`null`**: clear the description\n- **`\"value\"`**: set to the given string\n", + "description": "Applies a partial update. Only the provided fields change; omitted fields remain unchanged.\n\nThe `description` field supports three states:\n- **omitted**: leave unchanged\n- **`null`**: clear the description\n- **`\"value\"`**: set to the given string", "properties": { "description": { - "description": "Optional description. Omit to leave unchanged, set to `null`\nto clear, or provide a string to update.\n", + "description": "Optional description. Omit to leave unchanged, set to `null`\nto clear, or provide a string to update.", "oneOf": [ { "type": "string" @@ -58,7 +58,7 @@ export const vuln_scanner_patch$$target$$environment$$request: JsonSchema = { }, "target": { "$ref": "#/$defs/vuln_scanner_target-type", - "description": "Identifies the Cloudflare asset to scan. Uses a `type` discriminator.\nCurrently the service supports only `zone` targets.\n" + "description": "Identifies the Cloudflare asset to scan. Uses a `type` discriminator.\nCurrently the service supports only `zone` targets." } }, "type": "object" @@ -69,7 +69,7 @@ export const vuln_scanner_patch$$target$$environment$$request: JsonSchema = { */ export const vuln_scanner_target$$type: JsonSchema = { "$ref": "#/$defs/vuln_scanner_zone-target", - "description": "Identifies the Cloudflare asset to scan. Uses a `type` discriminator.\nCurrently the service supports only `zone` targets.\n" + "description": "Identifies the Cloudflare asset to scan. Uses a `type` discriminator.\nCurrently the service supports only `zone` targets." }; /** @@ -95,7 +95,7 @@ export const vuln_scanner_update$$target$$environment$$request: JsonSchema = { }, "target": { "$ref": "#/$defs/vuln_scanner_target-type", - "description": "Identifies the Cloudflare asset to scan. Uses a `type` discriminator.\nCurrently the service supports only `zone` targets.\n" + "description": "Identifies the Cloudflare asset to scan. Uses a `type` discriminator.\nCurrently the service supports only `zone` targets." } }, "required": [ @@ -117,7 +117,7 @@ export const vuln_scanner_zone$$target: JsonSchema = { "type": "string" }, "zone_tag": { - "description": "Cloudflare zone tag. The zone must belong to the account.\n", + "description": "Cloudflare zone tag. The zone must belong to the account.", "type": "string" } }, diff --git a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts index 9b7dac351..f7979761e 100644 --- a/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts +++ b/src/generated/forge-mcp/apiSecurity/vulnerabilityScanner/targetEnvironments/tools.ts @@ -9,7 +9,6 @@ import { vuln_scanner_empty$$response, vuln_scanner_messages, } from "../outputs.js"; -import { vuln_scanner_identifier } from "../schemas.js"; import { vuln_scanner_target$$environment, vuln_scanner_target$$type, @@ -30,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_targetEnvironments_create", title: "Create target environment", - description: "Creates a new target environment for the account.\n\nThis method is beta.", + description: "Creates a new target environment for the account.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/vuln_scanner/target_environments", inputSchema: { type: "object", properties: { @@ -38,10 +37,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_create-target-environment-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -54,9 +54,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "vuln_scanner_create-target-environment-request": vuln_scanner_create$$target$$environment$$request, - "vuln_scanner_identifier": vuln_scanner_identifier, "vuln_scanner_target-type": vuln_scanner_target$$type$, "vuln_scanner_zone-target": vuln_scanner_zone$$target$, }, @@ -150,15 +150,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_targetEnvironments_delete", title: "Delete target environment", - description: "Removes a target environment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the target environment from Vulnerability Scanner.", + description: "Removes a target environment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the target environment from Vulnerability Scanner.\n\nDELETE /accounts/{account_id}/vuln_scanner/target_environments/{target_environment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "target_environment_id": { "description": "Target environment identifier.", @@ -176,9 +177,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/vuln_scanner_empty-response", @@ -220,7 +219,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_targetEnvironments_edit", title: "Edit target environment", - description: "Updates a target environment with only the provided fields; omitted fields remain unchanged.\n\nThis method is beta.", + description: "Updates a target environment with only the provided fields; omitted fields remain unchanged.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/vuln_scanner/target_environments/{target_environment_id}", inputSchema: { type: "object", properties: { @@ -228,10 +227,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_patch-target-environment-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "target_environment_id": { "description": "Target environment identifier.", @@ -250,8 +250,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, "vuln_scanner_patch-target-environment-request": vuln_scanner_patch$$target$$environment$$request, "vuln_scanner_target-type": vuln_scanner_target$$type$, "vuln_scanner_zone-target": vuln_scanner_zone$$target$, @@ -346,15 +346,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_targetEnvironments_get", title: "Get target environment", - description: "Returns a single target environment by ID.\n\nThis method is beta.", + description: "Returns a single target environment by ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/vuln_scanner/target_environments/{target_environment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "target_environment_id": { "description": "Target environment identifier.", @@ -372,9 +373,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -464,15 +463,16 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_targetEnvironments_list", title: "List target environments", - description: "Returns all target environments for the account.\n\nThis method is beta.", + description: "Returns all target environments for the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/vuln_scanner/target_environments", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -481,6 +481,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -499,9 +500,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -583,7 +582,7 @@ export const tools: readonly Tool[] = [ { name: "apiSecurity_vulnerabilityScanner_targetEnvironments_update", title: "Update target environment", - description: "Replaces a target environment. All fields must be provided.\n\nThis method is beta.", + description: "Replaces a target environment. All fields must be provided.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/vuln_scanner/target_environments/{target_environment_id}", inputSchema: { type: "object", properties: { @@ -591,10 +590,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vuln_scanner_update-target-environment-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vuln_scanner_identifier", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "target_environment_id": { "description": "Target environment identifier.", @@ -613,8 +613,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "vuln_scanner_identifier": vuln_scanner_identifier, "vuln_scanner_target-type": vuln_scanner_target$$type$, "vuln_scanner_update-target-environment-request": vuln_scanner_update$$target$$environment$$request, "vuln_scanner_zone-target": vuln_scanner_zone$$target$, diff --git a/src/generated/forge-mcp/argo/smartRouting/outputs.ts b/src/generated/forge-mcp/argo/smartRouting/outputs.ts index 7cb75ed8d..2ccb20186 100644 --- a/src/generated/forge-mcp/argo/smartRouting/outputs.ts +++ b/src/generated/forge-mcp/argo/smartRouting/outputs.ts @@ -93,13 +93,6 @@ export const argo$$config_count_zones_response: JsonSchema = { "type": "object" }; -/** - * The schema of `argo-config_editable` in responses. - */ -export const argo$$config_editable: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `argo-config_messages` in responses. */ @@ -122,30 +115,27 @@ export const argo$$config_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `argo-config_modified_on` in responses. - */ -export const argo$$config_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `argo-config_result_object` in responses. */ export const argo$$config_result_object: JsonSchema = { "properties": { "editable": { - "$ref": "#/$defs/argo-config_editable" + "type": "boolean" }, "id": { - "$ref": "#/$defs/argo-config_setting_id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/argo-config_modified_on" + "format": "date-time", + "type": "string" }, "value": { - "$ref": "#/$defs/argo-config_setting_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -155,21 +145,3 @@ export const argo$$config_result_object: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `argo-config_setting_id` in responses. - */ -export const argo$$config_setting_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `argo-config_setting_value` in responses. - */ -export const argo$$config_setting_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/argo/smartRouting/schemas.ts b/src/generated/forge-mcp/argo/smartRouting/schemas.ts index 96c44558b..6b3e301e9 100644 --- a/src/generated/forge-mcp/argo/smartRouting/schemas.ts +++ b/src/generated/forge-mcp/argo/smartRouting/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `argo-config_identifier`. - */ -export const argo$$config_identifier: JsonSchema = { - "description": "Specifies the zone associated with the API call.", - "type": "string" -}; - /** * The schema of `argo-config_patch`. */ @@ -18,8 +10,12 @@ export const argo$$config_patch: JsonSchema = { "description": "Configures the enablement of Argo Smart Routing.", "properties": { "value": { - "$ref": "#/$defs/argo-config_setting_value", - "description": "Specifies the enablement value of Argo Smart Routing." + "description": "Specifies the enablement value of Argo Smart Routing.", + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -27,15 +23,3 @@ export const argo$$config_patch: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `argo-config_setting_value`. - */ -export const argo$$config_setting_value: JsonSchema = { - "description": "Specifies the enablement value of Argo Smart Routing.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/argo/smartRouting/tools.ts b/src/generated/forge-mcp/argo/smartRouting/tools.ts index 14ef7514c..01623e858 100644 --- a/src/generated/forge-mcp/argo/smartRouting/tools.ts +++ b/src/generated/forge-mcp/argo/smartRouting/tools.ts @@ -6,18 +6,10 @@ import { argo$$config_api_response_common_failure, argo$$config_api_response_single, argo$$config_count_zones_response, - argo$$config_editable, argo$$config_messages, - argo$$config_modified_on, argo$$config_result_object, - argo$$config_setting_id, - argo$$config_setting_value, } from "./outputs.js"; -import { - argo$$config_identifier, - argo$$config_patch, - argo$$config_setting_value as argo$$config_setting_value$, -} from "./schemas.js"; +import { argo$$config_patch } from "./schemas.js"; /** * The tools of `argo.smartRouting`. @@ -26,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "argo_smartRouting_countZonesEnabledForAccount", title: "Get count of zones with Argo Smart Routing enabled for account", - description: "Returns the number of zones that have Argo Smart Routing enabled for the specified account.", + description: "Returns the number of zones that have Argo Smart Routing enabled for the specified account.\n\nGET /accounts/{account_id}/argo/count_zones_enabled", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/argo-config_identifier", - "description": "Identifier of the account." + "description": "Identifier of the account.", + "type": "string" } }, "required": [ @@ -46,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "argo-config_identifier": argo$$config_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/argo-config_count_zones_response", @@ -107,10 +98,11 @@ export const tools: readonly Tool[] = [ { name: "argo_smartRouting_countZonesEnabledForUser", title: "Get count of zones with Argo Smart Routing enabled for user", - description: "Returns the number of zones that have Argo Smart Routing enabled for the authenticated user.", + description: "Returns the number of zones that have Argo Smart Routing enabled for the authenticated user.\n\nGET /user/argo/count_zones_enabled", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/argo-config_count_zones_response", @@ -169,7 +161,7 @@ export const tools: readonly Tool[] = [ { name: "argo_smartRouting_edit", title: "Patch Argo Smart Routing setting", - description: "Configures the value of the Argo Smart Routing enablement setting.", + description: "Configures the value of the Argo Smart Routing enablement setting.\n\nPATCH /zones/{zone_id}/argo/smart_routing", inputSchema: { type: "object", properties: { @@ -177,10 +169,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/argo-config_patch" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/argo-config_identifier", - "description": "Specifies the zone associated with the API call." + "description": "Specifies the zone associated with the API call.", + "type": "string" } }, "required": [ @@ -193,22 +186,17 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "argo-config_identifier": argo$$config_identifier, "argo-config_patch": argo$$config_patch, - "argo-config_setting_value": argo$$config_setting_value$, }, }, outputSchema: { "$ref": "#/$defs/argo-config_api_response_single", $defs: { "argo-config_api_response_single": argo$$config_api_response_single, - "argo-config_editable": argo$$config_editable, "argo-config_messages": argo$$config_messages, - "argo-config_modified_on": argo$$config_modified_on, "argo-config_result_object": argo$$config_result_object, - "argo-config_setting_id": argo$$config_setting_id, - "argo-config_setting_value": argo$$config_setting_value, }, }, annotations: { @@ -249,12 +237,8 @@ export const tools: readonly Tool[] = [ $defs: { "argo-config_api_response_common_failure": argo$$config_api_response_common_failure, "argo-config_api_response_single": argo$$config_api_response_single, - "argo-config_editable": argo$$config_editable, "argo-config_messages": argo$$config_messages, - "argo-config_modified_on": argo$$config_modified_on, "argo-config_result_object": argo$$config_result_object, - "argo-config_setting_id": argo$$config_setting_id, - "argo-config_setting_value": argo$$config_setting_value, }, }, request: (args) => ({ @@ -265,15 +249,16 @@ export const tools: readonly Tool[] = [ { name: "argo_smartRouting_get", title: "Get Argo Smart Routing setting", - description: "Retrieves the value of Argo Smart Routing enablement setting.", + description: "Retrieves the value of Argo Smart Routing enablement setting.\n\nGET /zones/{zone_id}/argo/smart_routing", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/argo-config_identifier", - "description": "Specifies the zone associated with the API call." + "description": "Specifies the zone associated with the API call.", + "type": "string" } }, "required": [ @@ -285,20 +270,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "argo-config_identifier": argo$$config_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/argo-config_api_response_single", $defs: { "argo-config_api_response_single": argo$$config_api_response_single, - "argo-config_editable": argo$$config_editable, "argo-config_messages": argo$$config_messages, - "argo-config_modified_on": argo$$config_modified_on, "argo-config_result_object": argo$$config_result_object, - "argo-config_setting_id": argo$$config_setting_id, - "argo-config_setting_value": argo$$config_setting_value, }, }, annotations: { @@ -339,12 +318,8 @@ export const tools: readonly Tool[] = [ $defs: { "argo-config_api_response_common_failure": argo$$config_api_response_common_failure, "argo-config_api_response_single": argo$$config_api_response_single, - "argo-config_editable": argo$$config_editable, "argo-config_messages": argo$$config_messages, - "argo-config_modified_on": argo$$config_modified_on, "argo-config_result_object": argo$$config_result_object, - "argo-config_setting_id": argo$$config_setting_id, - "argo-config_setting_value": argo$$config_setting_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/argo/tieredCaching/outputs.ts b/src/generated/forge-mcp/argo/tieredCaching/outputs.ts index 395dbbdd8..33b202f7b 100644 --- a/src/generated/forge-mcp/argo/tieredCaching/outputs.ts +++ b/src/generated/forge-mcp/argo/tieredCaching/outputs.ts @@ -38,7 +38,11 @@ export const cache$$settings_tiered_cache_response_value: JsonSchema = { { "properties": { "value": { - "$ref": "#/$defs/cache-settings_tiered_cache_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -51,14 +55,3 @@ export const cache$$settings_tiered_cache_response_value: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `cache-settings_tiered_cache_value` in responses. - */ -export const cache$$settings_tiered_cache_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/argo/tieredCaching/schemas.ts b/src/generated/forge-mcp/argo/tieredCaching/schemas.ts index b49f28bf2..06867f272 100644 --- a/src/generated/forge-mcp/argo/tieredCaching/schemas.ts +++ b/src/generated/forge-mcp/argo/tieredCaching/schemas.ts @@ -10,8 +10,12 @@ export const cache$$settings_patch: JsonSchema = { "description": "Update enablement of Tiered Caching.", "properties": { "value": { - "$ref": "#/$defs/cache-settings_value", - "description": "Enables Tiered Caching." + "description": "Enables Tiered Caching.", + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -19,15 +23,3 @@ export const cache$$settings_patch: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `cache-settings_value`. - */ -export const cache$$settings_value: JsonSchema = { - "description": "Enables Tiered Caching.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/argo/tieredCaching/tools.ts b/src/generated/forge-mcp/argo/tieredCaching/tools.ts index 9b3d20b48..339ccc91d 100644 --- a/src/generated/forge-mcp/argo/tieredCaching/tools.ts +++ b/src/generated/forge-mcp/argo/tieredCaching/tools.ts @@ -6,21 +6,15 @@ import { cache$$settings_api$$response$$common, cache$$settings_api$$response$$common$$failure, cache$$settings_base, - cache$$settings_editable, cache$$settings_messages, - cache$$settings_modified_on, cache$$settings_result$$object, - cache$$settings_setting_id, - cache$$settings_setting_value, cache$$settings_zone_cache_settings_response_single, } from "../../outputs.js"; -import { cache$$settings_identifier } from "../../schemas.js"; import { cache$$settings_tiered_cache, cache$$settings_tiered_cache_response_value, - cache$$settings_tiered_cache_value, } from "./outputs.js"; -import { cache$$settings_patch, cache$$settings_value } from "./schemas.js"; +import { cache$$settings_patch } from "./schemas.js"; /** * The tools of `argo.tieredCaching`. @@ -29,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "argo_tieredCaching_edit", title: "Patch Tiered Caching setting", - description: "Tiered Cache works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier must ask an upper-tier to see if it has the content. If the upper-tier does not have the content, only the upper-tier can ask the origin for content. This practice improves bandwidth efficiency by limiting the number of data centers that can ask the origin for content, which reduces origin load and makes websites more cost-effective to operate. Additionally, Tiered Cache concentrates connections to origin servers so they come from a small number of data centers rather than the full set of network locations. This results in fewer open connections using server resources.", + description: "Tiered Cache works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier must ask an upper-tier to see if it has the content. If the upper-tier does not have the content, only the upper-tier can ask the origin for content. This practice improves bandwidth efficiency by limiting the number of data centers that can ask the origin for content, which reduces origin load and makes websites more cost-effective to operate. Additionally, Tiered Cache concentrates connections to origin servers so they come from a small number of data centers rather than the full set of network locations. This results in fewer open connections using server resources.\n\nPATCH /zones/{zone_id}/argo/tiered_caching", inputSchema: { type: "object", properties: { @@ -37,10 +31,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cache-settings_patch" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -53,10 +48,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cache-settings_identifier": cache$$settings_identifier, "cache-settings_patch": cache$$settings_patch, - "cache-settings_value": cache$$settings_value, }, }, outputSchema: { @@ -71,15 +65,10 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_tiered_cache": cache$$settings_tiered_cache, "cache-settings_tiered_cache_response_value": cache$$settings_tiered_cache_response_value, - "cache-settings_tiered_cache_value": cache$$settings_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -120,15 +109,10 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_tiered_cache": cache$$settings_tiered_cache, "cache-settings_tiered_cache_response_value": cache$$settings_tiered_cache_response_value, - "cache-settings_tiered_cache_value": cache$$settings_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -140,15 +124,16 @@ export const tools: readonly Tool[] = [ { name: "argo_tieredCaching_get", title: "Get Tiered Caching setting", - description: "Tiered Cache works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier must ask an upper-tier to see if it has the content. If the upper-tier does not have the content, only the upper-tier can ask the origin for content. This practice improves bandwidth efficiency by limiting the number of data centers that can ask the origin for content, which reduces origin load and makes websites more cost-effective to operate. Additionally, Tiered Cache concentrates connections to origin servers so they come from a small number of data centers rather than the full set of network locations. This results in fewer open connections using server resources.", + description: "Tiered Cache works by dividing Cloudflare's data centers into a hierarchy of lower-tiers and upper-tiers. If content is not cached in lower-tier data centers (generally the ones closest to a visitor), the lower-tier must ask an upper-tier to see if it has the content. If the upper-tier does not have the content, only the upper-tier can ask the origin for content. This practice improves bandwidth efficiency by limiting the number of data centers that can ask the origin for content, which reduces origin load and makes websites more cost-effective to operate. Additionally, Tiered Cache concentrates connections to origin servers so they come from a small number of data centers rather than the full set of network locations. This results in fewer open connections using server resources.\n\nGET /zones/{zone_id}/argo/tiered_caching", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -160,9 +145,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -176,15 +159,10 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_tiered_cache": cache$$settings_tiered_cache, "cache-settings_tiered_cache_response_value": cache$$settings_tiered_cache_response_value, - "cache-settings_tiered_cache_value": cache$$settings_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -225,15 +203,10 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_tiered_cache": cache$$settings_tiered_cache, "cache-settings_tiered_cache_response_value": cache$$settings_tiered_cache_response_value, - "cache-settings_tiered_cache_value": cache$$settings_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts index 6b8eb8697..3a0fd12ef 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/blobs/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_blobs_get", title: "Read a Git blob", - description: "Returns raw bytes for an immutable Git blob object. Blob responses are cacheable forever by hash.\n\nThis method is beta.", + description: "Returns raw bytes for an immutable Git blob object. Blob responses are cacheable forever by hash.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/blob/{hash}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -45,6 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts index 2c7cd52a0..bb2fbe9e7 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/commits/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_commits_get", title: "Read a Git commit", - description: "Returns decoded metadata for an immutable Git commit object. Commit responses are cacheable forever by hash.\n\nThis method is beta.", + description: "Returns decoded metadata for an immutable Git commit object. Commit responses are cacheable forever by hash.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/commit/{hash}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -45,6 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts index 4babae774..ec3d701fd 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/files/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_files_get", title: "Read a file", - description: "Returns raw bytes for a file resolved by ref and path.\n\nThis method is beta.", + description: "Returns raw bytes for a file resolved by ref and path.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/file", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -37,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "path": { "description": "File path.", @@ -58,6 +60,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts index a2d36793f..86e21f440 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/logs/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_logs_get", title: "Read commit history", - description: "Returns commit metadata walking backwards from a ref, branch, tag, or HEAD.\n\nThis method is beta.", + description: "Returns commit metadata walking backwards from a ref, branch, tag, or HEAD.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/log", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -37,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "type": "integer" @@ -55,6 +57,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts index f60ff94c6..c618b02bf 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/raw/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_raw_get", title: "Read a raw file with content type", - description: "Returns file bytes resolved by ref and path, with a sniffed content type and browser-safe response headers.\n\nThis method is beta.", + description: "Returns file bytes resolved by ref and path, with a sniffed content type and browser-safe response headers.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/raw/{ref}/{path}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -50,6 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "type": "string", diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts index a337b99a6..4d57a8b9c 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/tokens/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_tokens_list", title: "List repository tokens", - description: "Lists tokens for a repository.\n\nThis method is beta.", + description: "Lists tokens for a repository.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/tokens", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -37,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -63,6 +65,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts index 5a8664e1b..5795f7f42 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_create", title: "Create a repository", - description: "Creates a Git-compatible Artifacts repository in a namespace.\n\nThis method is beta.", + description: "Creates a Git-compatible Artifacts repository in a namespace.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/artifacts/namespaces/{namespace}/repos", inputSchema: { type: "object", properties: { @@ -36,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -57,6 +58,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -841,11 +843,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_delete", title: "Delete a repository", - description: "Deletes a repository and schedules cleanup of its backing data.\n\nThis method is beta.", + description: "Deletes a repository and schedules cleanup of its backing data.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -871,6 +874,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1600,7 +1604,7 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_fork", title: "Fork a repository", - description: "Forks a source repository into a new repository.\n\nThis method is beta.", + description: "Forks a source repository into a new repository.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/fork", inputSchema: { type: "object", properties: { @@ -1625,6 +1629,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -1651,6 +1656,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2615,11 +2621,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_get", title: "Get a repository", - description: "Returns repository metadata.\n\nThis method is beta.", + description: "Returns repository metadata.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -2645,6 +2652,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3580,7 +3588,7 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_import", title: "Import a repository", - description: "Imports an HTTPS Git repository into an Artifacts repository.\n\nThis method is beta.", + description: "Imports an HTTPS Git repository into an Artifacts repository.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/import", inputSchema: { type: "object", properties: { @@ -3606,6 +3614,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -3632,6 +3641,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -4932,11 +4942,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_list", title: "List repositories", - description: "Lists repositories in a namespace.\n\nThis method is beta.", + description: "Lists repositories in a namespace.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -4954,6 +4965,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "type": "string" @@ -4990,6 +5002,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts index 7476691cf..9589134a1 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/repos/trees/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_repos_trees_get", title: "Read a Git tree", - description: "Returns decoded entries for an immutable Git tree object. A commit hash returns that commit's root tree; a blob or tag hash returns 422. Tree responses are cacheable forever by hash.\n\nThis method is beta.", + description: "Returns decoded entries for an immutable Git tree object. A commit hash returns that commit's root tree; a blob or tag hash returns 422. Tree responses are cacheable forever by hash.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}/repos/{name}/tree/{hash}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -45,6 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts index 803eb94c9..e775f1866 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/tokens/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_tokens_create", title: "Create a repository token", - description: "Creates a scoped Git token for a repository.\n\nThis method is beta.", + description: "Creates a scoped Git token for a repository.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/artifacts/namespaces/{namespace}/tokens", inputSchema: { type: "object", properties: { @@ -36,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -57,6 +58,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -907,11 +909,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_tokens_revoke", title: "Revoke a token", - description: "Revokes an Artifacts repository token. Token IDs are resolved through an eventually consistent index, so revoking a token within about a second of creating it can return 404; retry after a short delay.\n\nThis method is beta.", + description: "Revokes an Artifacts repository token. Token IDs are resolved through an eventually consistent index, so revoking a token within about a second of creating it can return 404; retry after a short delay.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/artifacts/namespaces/{namespace}/tokens/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -937,6 +940,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/artifacts/namespaces/tools.ts b/src/generated/forge-mcp/artifacts/namespaces/tools.ts index 05999d7a5..8039da7ac 100644 --- a/src/generated/forge-mcp/artifacts/namespaces/tools.ts +++ b/src/generated/forge-mcp/artifacts/namespaces/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_create", title: "Create a namespace", - description: "Creates an empty Artifacts namespace for an account.\n\nThis method is beta.", + description: "Creates an empty Artifacts namespace for an account.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/artifacts/namespaces", inputSchema: { type: "object", properties: { @@ -36,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -52,6 +53,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -830,11 +832,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_delete", title: "Delete a namespace", - description: "Deletes an empty Artifacts namespace.\n\nThis method is beta.", + description: "Deletes an empty Artifacts namespace.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/artifacts/namespaces/{namespace}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -855,6 +858,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -1399,11 +1403,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_get", title: "Get a namespace", - description: "Returns an Artifacts namespace summary.\n\nThis method is beta.", + description: "Returns an Artifacts namespace summary.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces/{namespace}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -1424,6 +1429,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2201,11 +2207,12 @@ export const tools: readonly Tool[] = [ { name: "artifacts_namespaces_list", title: "List namespaces", - description: "Lists Artifacts namespaces for an account.\n\nThis method is beta.", + description: "Lists Artifacts namespaces for an account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/artifacts/namespaces", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -2218,6 +2225,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "type": "string" @@ -2233,6 +2241,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/auditLogs/tools.ts b/src/generated/forge-mcp/auditLogs/tools.ts index 4dd19b2b6..de696427f 100644 --- a/src/generated/forge-mcp/auditLogs/tools.ts +++ b/src/generated/forge-mcp/auditLogs/tools.ts @@ -7,10 +7,8 @@ import { aaa_api$$response$$common$$failure, aaa_audit$$logs, aaa_audit_logs_response_collection, - aaa_identifier, aaa_messages, } from "../outputs.js"; -import { aaa_identifier as aaa_identifier$ } from "../schemas.js"; /** * The tools of `auditLogs`. @@ -19,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "auditLogs_list", title: "Get account audit logs", - description: "Gets a list of audit logs for an account. Can be filtered by who made the change, on which zone, and the timeframe of the change.", + description: "Gets a list of audit logs for an account. Can be filtered by who made the change, on which zone, and the timeframe of the change.\n\nGET /accounts/{account_id}/audit_logs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/aaa_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -36,6 +35,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "action.type": { "description": "Filters by the action type.", @@ -116,9 +116,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "aaa_identifier": aaa_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_audit_logs_response_collection", @@ -126,7 +124,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common": aaa_api$$response$$common, "aaa_audit-logs": aaa_audit$$logs, "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection, - "aaa_identifier": aaa_identifier, "aaa_messages": aaa_messages, }, }, @@ -172,7 +169,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-failure": aaa_api$$response$$common$$failure, "aaa_audit-logs": aaa_audit$$logs, "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection, - "aaa_identifier": aaa_identifier, "aaa_messages": aaa_messages, }, }, diff --git a/src/generated/forge-mcp/basinCatalog/credentials/tools.ts b/src/generated/forge-mcp/basinCatalog/credentials/tools.ts index 79d721f66..dd3df4f34 100644 --- a/src/generated/forge-mcp/basinCatalog/credentials/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/credentials/tools.ts @@ -7,14 +7,8 @@ import { r2$$data$$catalog_api$$response$$errors, r2$$data$$catalog_api$$response$$messages, r2$$data$$catalog_api$$response$$single, - r2$$data$$catalog_api$$response$$success, - r2$$data$$catalog_credential$$probe$$status, } from "../../outputs.js"; -import { - r2$$data$$catalog_account$$id, - r2$$data$$catalog_bucket$$name, - r2$$data$$catalog_catalog$$credential$$request, -} from "../../schemas.js"; +import { r2$$data$$catalog_catalog$$credential$$request } from "../../schemas.js"; /** * The tools of `basinCatalog.credentials`. @@ -23,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_credentials_create", title: "Store catalog credentials", - description: "Store authentication credentials for a catalog. These credentials are used\nto authenticate with R2 storage when performing catalog operations.", + description: "Store authentication credentials for a catalog. These credentials are used\nto authenticate with R2 storage when performing catalog operations.\n\nPOST /accounts/{account_id}/basin-catalog/{bucket_name}/credential", inputSchema: { type: "object", properties: { @@ -31,14 +25,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2-data-catalog_catalog-credential-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" } }, "required": [ @@ -52,9 +47,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, "r2-data-catalog_catalog-credential-request": r2$$data$$catalog_catalog$$credential$$request, }, }, @@ -83,7 +77,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, }, }, annotations: { @@ -145,7 +138,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, }, }, request: (args) => ({ @@ -156,19 +148,20 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_credentials_status", title: "Get Basin Catalog credential status", - description: "Check whether the configured catalog credentials are valid, invalid,\nor absent by probing authentication against the catalog.", + description: "Check whether the configured catalog credentials are valid, invalid,\nor absent by probing authentication against the catalog.\n\nGET /accounts/{account_id}/basin-catalog/{bucket_name}/credential/status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" } }, "required": [ @@ -181,10 +174,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -196,7 +186,12 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "status": { - "$ref": "#/$defs/r2-data-catalog_credential-probe-status" + "enum": [ + "valid", + "invalid", + "absent" + ], + "type": "string" } }, "required": [ @@ -212,8 +207,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, - "r2-data-catalog_credential-probe-status": r2$$data$$catalog_credential$$probe$$status, }, }, annotations: { @@ -243,7 +236,12 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "status": { - "$ref": "#/$defs/r2-data-catalog_credential-probe-status" + "enum": [ + "valid", + "invalid", + "absent" + ], + "type": "string" } }, "required": [ @@ -277,8 +275,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, - "r2-data-catalog_credential-probe-status": r2$$data$$catalog_credential$$probe$$status, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts b/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts index 6027aac97..76bc8484c 100644 --- a/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/maintenanceConfigs/tools.ts @@ -7,22 +7,13 @@ import { r2$$data$$catalog_api$$response$$errors, r2$$data$$catalog_api$$response$$messages, r2$$data$$catalog_api$$response$$single, - r2$$data$$catalog_api$$response$$success, r2$$data$$catalog_catalog$$compaction$$config, r2$$data$$catalog_catalog$$maintenance$$config, r2$$data$$catalog_catalog$$maintenance$$config$$response, - r2$$data$$catalog_catalog$$maintenance$$state, - r2$$data$$catalog_catalog$$target$$file$$size, - r2$$data$$catalog_credential$$status, - r2$$data$$catalog_maintenance$$interval, r2$$data$$catalog_snapshot$$expiration$$config, } from "../../outputs.js"; import { - r2$$data$$catalog_account$$id, - r2$$data$$catalog_bucket$$name, - r2$$data$$catalog_catalog$$maintenance$$state as r2$$data$$catalog_catalog$$maintenance$$state$, r2$$data$$catalog_catalog$$maintenance$$update$$request, - r2$$data$$catalog_catalog$$target$$file$$size as r2$$data$$catalog_catalog$$target$$file$$size$, r2$$data$$catalog_compaction$$update$$params, r2$$data$$catalog_snapshot$$expiration$$update$$params, } from "../../schemas.js"; @@ -34,19 +25,20 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_maintenanceConfigs_get", title: "Get catalog maintenance configuration", - description: "Retrieve the maintenance configuration for a specific catalog,\nincluding compaction settings and credential status.", + description: "Retrieve the maintenance configuration for a specific catalog,\nincluding compaction settings and credential status.\n\nGET /accounts/{account_id}/basin-catalog/{bucket_name}/maintenance-configs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" } }, "required": [ @@ -59,10 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -82,14 +71,9 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, "r2-data-catalog_catalog-maintenance-config-response": r2$$data$$catalog_catalog$$maintenance$$config$$response, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, @@ -146,14 +130,9 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, "r2-data-catalog_catalog-maintenance-config-response": r2$$data$$catalog_catalog$$maintenance$$config$$response, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, @@ -164,7 +143,7 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_maintenanceConfigs_update", title: "Update catalog maintenance configuration", - description: "Update the maintenance configuration for a catalog. This allows you to\nenable or disable compaction and adjust target file sizes for optimization.", + description: "Update the maintenance configuration for a catalog. This allows you to\nenable or disable compaction and adjust target file sizes for optimization.\n\nPOST /accounts/{account_id}/basin-catalog/{bucket_name}/maintenance-configs", inputSchema: { type: "object", properties: { @@ -172,14 +151,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-update-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" } }, "required": [ @@ -193,12 +173,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state$, "r2-data-catalog_catalog-maintenance-update-request": r2$$data$$catalog_catalog$$maintenance$$update$$request, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size$, "r2-data-catalog_compaction-update-params": r2$$data$$catalog_compaction$$update$$params, "r2-data-catalog_snapshot-expiration-update-params": r2$$data$$catalog_snapshot$$expiration$$update$$params, }, @@ -221,12 +198,8 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, @@ -282,12 +255,8 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts index 61e7212dc..ffd60f04b 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceConfigs/tools.ts @@ -7,10 +7,6 @@ import { r2$$data$$catalog_api$$response$$errors, r2$$data$$catalog_api$$response$$messages, r2$$data$$catalog_api$$response$$single, - r2$$data$$catalog_api$$response$$success, - r2$$data$$catalog_catalog$$maintenance$$state, - r2$$data$$catalog_catalog$$target$$file$$size, - r2$$data$$catalog_maintenance$$interval, r2$$data$$catalog_queue$$maintenance$$response, r2$$data$$catalog_table$$compaction$$config, r2$$data$$catalog_table$$maintenance$$config, @@ -18,10 +14,6 @@ import { r2$$data$$catalog_table$$snapshot$$expiration$$config, } from "../../../../outputs.js"; import { - r2$$data$$catalog_account$$id, - r2$$data$$catalog_bucket$$name, - r2$$data$$catalog_catalog$$maintenance$$state as r2$$data$$catalog_catalog$$maintenance$$state$, - r2$$data$$catalog_catalog$$target$$file$$size as r2$$data$$catalog_catalog$$target$$file$$size$, r2$$data$$catalog_queue$$maintenance$$request, r2$$data$$catalog_snapshot$$expiration$$update$$params, r2$$data$$catalog_table$$compaction$$update$$params, @@ -35,19 +27,20 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_namespaces_tables_maintenanceConfigs_get", title: "Get table maintenance configuration", - description: "Retrieve the maintenance configuration for a specific table,\nincluding compaction settings.", + description: "Retrieve the maintenance configuration for a specific table,\nincluding compaction settings.\n\nGET /accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" }, "namespace": { "description": "The namespace identifier (use %1F as separator for nested namespaces).", @@ -70,10 +63,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -93,10 +83,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_table-compaction-config": r2$$data$$catalog_table$$compaction$$config, "r2-data-catalog_table-maintenance-config": r2$$data$$catalog_table$$maintenance$$config, "r2-data-catalog_table-maintenance-config-response": r2$$data$$catalog_table$$maintenance$$config$$response, @@ -156,10 +142,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_table-compaction-config": r2$$data$$catalog_table$$compaction$$config, "r2-data-catalog_table-maintenance-config": r2$$data$$catalog_table$$maintenance$$config, "r2-data-catalog_table-maintenance-config-response": r2$$data$$catalog_table$$maintenance$$config$$response, @@ -173,7 +155,7 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_namespaces_tables_maintenanceConfigs_queue", title: "Queue table maintenance", - description: "Queue maintenance for normal polling. This request does not start a run.", + description: "Queue maintenance for normal polling. This request does not start a run.\n\nPOST /accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs/{configuration_type}/queue", inputSchema: { type: "object", properties: { @@ -181,14 +163,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2-data-catalog_queue-maintenance-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Use this to identify the account." + "description": "Use this to identify the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" }, "configuration_type": { "enum": [ @@ -218,9 +201,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, "r2-data-catalog_queue-maintenance-request": r2$$data$$catalog_queue$$maintenance$$request, }, }, @@ -242,7 +224,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_queue-maintenance-response": r2$$data$$catalog_queue$$maintenance$$response, }, }, @@ -293,7 +274,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_queue-maintenance-response": r2$$data$$catalog_queue$$maintenance$$response, }, }, @@ -305,7 +285,7 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_namespaces_tables_maintenanceConfigs_update", title: "Update table maintenance configuration", - description: "Update the maintenance configuration for a specific table. This allows you to\nenable or disable compaction and adjust target file sizes for optimization.", + description: "Update the maintenance configuration for a specific table. This allows you to\nenable or disable compaction and adjust target file sizes for optimization.\n\nPOST /accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs", inputSchema: { type: "object", properties: { @@ -313,14 +293,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2-data-catalog_table-maintenance-update-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" }, "namespace": { "description": "The namespace identifier (use %1F as separator for nested namespaces).", @@ -344,11 +325,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state$, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size$, "r2-data-catalog_snapshot-expiration-update-params": r2$$data$$catalog_snapshot$$expiration$$update$$params, "r2-data-catalog_table-compaction-update-params": r2$$data$$catalog_table$$compaction$$update$$params, "r2-data-catalog_table-maintenance-update-request": r2$$data$$catalog_table$$maintenance$$update$$request, @@ -372,10 +350,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_table-compaction-config": r2$$data$$catalog_table$$compaction$$config, "r2-data-catalog_table-maintenance-config": r2$$data$$catalog_table$$maintenance$$config, "r2-data-catalog_table-snapshot-expiration-config": r2$$data$$catalog_table$$snapshot$$expiration$$config, @@ -433,10 +407,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_table-compaction-config": r2$$data$$catalog_table$$compaction$$config, "r2-data-catalog_table-maintenance-config": r2$$data$$catalog_table$$maintenance$$config, "r2-data-catalog_table-snapshot-expiration-config": r2$$data$$catalog_table$$snapshot$$expiration$$config, diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts index a1a94a13f..6497ef16c 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tables/maintenanceRuns/tools.ts @@ -7,15 +7,10 @@ import { r2$$data$$catalog_api$$response$$errors, r2$$data$$catalog_api$$response$$messages, r2$$data$$catalog_api$$response$$single, - r2$$data$$catalog_api$$response$$success, r2$$data$$catalog_maintenance$$run$$operation, r2$$data$$catalog_maintenance$$run$$record, r2$$data$$catalog_maintenance$$runs$$response, } from "../../../../outputs.js"; -import { - r2$$data$$catalog_account$$id, - r2$$data$$catalog_bucket$$name, -} from "../../../../schemas.js"; /** * The tools of `basinCatalog.namespaces.tables.maintenanceRuns`. @@ -24,19 +19,20 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_namespaces_tables_maintenanceRuns_list", title: "List table maintenance runs", - description: "Retrieves recent table maintenance runs for the current table.", + description: "Retrieves recent table maintenance runs for the current table.\n\nGET /accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-runs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Use this to identify the account." + "description": "Use this to identify the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" }, "namespace": { "type": "string" @@ -54,6 +50,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_size": { "type": "integer" @@ -68,10 +65,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -91,7 +85,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_maintenance-run-operation": r2$$data$$catalog_maintenance$$run$$operation, "r2-data-catalog_maintenance-run-record": r2$$data$$catalog_maintenance$$run$$record, "r2-data-catalog_maintenance-runs-response": r2$$data$$catalog_maintenance$$runs$$response, @@ -141,7 +134,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_maintenance-run-operation": r2$$data$$catalog_maintenance$$run$$operation, "r2-data-catalog_maintenance-run-record": r2$$data$$catalog_maintenance$$run$$record, "r2-data-catalog_maintenance-runs-response": r2$$data$$catalog_maintenance$$runs$$response, diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts index efa098ade..37156836f 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tables/tools.ts @@ -7,7 +7,6 @@ import { r2$$data$$catalog_api$$response$$errors, r2$$data$$catalog_api$$response$$messages, r2$$data$$catalog_api$$response$$single, - r2$$data$$catalog_api$$response$$success, r2$$data$$catalog_get$$table$$response, r2$$data$$catalog_namespace$$identifier, r2$$data$$catalog_table$$details, @@ -15,10 +14,6 @@ import { r2$$data$$catalog_table$$list$$response, r2$$data$$catalog_table$$metadata, } from "../../../outputs.js"; -import { - r2$$data$$catalog_account$$id, - r2$$data$$catalog_bucket$$name, -} from "../../../schemas.js"; /** * The tools of `basinCatalog.namespaces.tables`. @@ -27,22 +22,23 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_namespaces_tables_get", title: "Get table details", - description: "Returns full Apache Iceberg metadata for a single table: schema,\npartition specs, sort orders, properties, and recent snapshot history.\nDesigned for catalog introspection UIs that need per-table details\nwithout holding R2 credentials.\n\nThe `metadata.snapshots`, `metadata.snapshot-log`, and\n`metadata.metadata-log` arrays are pruned to the most recent 10\nentries by `timestamp-ms`. Use `total_snapshots` and\n`returned_snapshots` to surface the truncation to end users.", + description: "Returns full Apache Iceberg metadata for a single table: schema,\npartition specs, sort orders, properties, and recent snapshot history.\nDesigned for catalog introspection UIs that need per-table details\nwithout holding R2 credentials.\n\nThe `metadata.snapshots`, `metadata.snapshot-log`, and\n`metadata.metadata-log` arrays are pruned to the most recent 10\nentries by `timestamp-ms`. Use `total_snapshots` and\n`returned_snapshots` to surface the truncation to end users.\n\nGET /accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" }, "namespace": { - "description": "The namespace identifier.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\n", + "description": "The namespace identifier.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").", "type": "string" }, "table_name": { @@ -62,10 +58,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -85,7 +78,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_get-table-response": r2$$data$$catalog_get$$table$$response, "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, "r2-data-catalog_table-identifier": r2$$data$$catalog_table$$identifier, @@ -145,7 +137,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_get-table-response": r2$$data$$catalog_get$$table$$response, "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, "r2-data-catalog_table-identifier": r2$$data$$catalog_table$$identifier, @@ -159,22 +150,23 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_namespaces_tables_list", title: "List tables in namespace", - description: "Returns a list of tables in the specified namespace within a Basin Catalog.\nSupports pagination for efficient traversal of large table collections.", + description: "Returns a list of tables in the specified namespace within a Basin Catalog.\nSupports pagination for efficient traversal of large table collections.\n\nGET /accounts/{account_id}/basin-catalog/{bucket_name}/namespaces/{namespace}/tables", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" }, "namespace": { - "description": "The namespace identifier.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\n", + "description": "The namespace identifier.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").", "type": "string" } }, @@ -186,24 +178,25 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_size": { "default": 100, - "description": "Maximum number of tables to return per page.\nDefaults to 100, maximum 1000.\n", + "description": "Maximum number of tables to return per page.\nDefaults to 100, maximum 1000.", "type": "integer" }, "page_token": { - "description": "Opaque pagination token from a previous response.\nUse this to fetch the next page of results.\n", + "description": "Opaque pagination token from a previous response.\nUse this to fetch the next page of results.", "type": "string" }, "return_details": { "default": false, - "description": "Whether to include additional metadata (timestamps, locations).\nWhen true, response includes created_at, updated_at, metadata_locations, and locations arrays.\n", + "description": "Whether to include additional metadata (timestamps, locations).\nWhen true, response includes created_at, updated_at, metadata_locations, and locations arrays.", "type": "boolean" }, "return_uuids": { "default": false, - "description": "Whether to include table UUIDs in the response.\nSet to true to receive the table_uuids array.\n", + "description": "Whether to include table UUIDs in the response.\nSet to true to receive the table_uuids array.", "type": "boolean" } }, @@ -213,10 +206,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -236,7 +226,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, "r2-data-catalog_table-details": r2$$data$$catalog_table$$details, "r2-data-catalog_table-identifier": r2$$data$$catalog_table$$identifier, @@ -296,7 +285,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, "r2-data-catalog_table-details": r2$$data$$catalog_table$$details, "r2-data-catalog_table-identifier": r2$$data$$catalog_table$$identifier, diff --git a/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts b/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts index e4fdd63a7..edaea6d2d 100644 --- a/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/namespaces/tools.ts @@ -7,15 +7,10 @@ import { r2$$data$$catalog_api$$response$$errors, r2$$data$$catalog_api$$response$$messages, r2$$data$$catalog_api$$response$$single, - r2$$data$$catalog_api$$response$$success, r2$$data$$catalog_namespace$$details, r2$$data$$catalog_namespace$$identifier, r2$$data$$catalog_namespace$$list$$response, } from "../../outputs.js"; -import { - r2$$data$$catalog_account$$id, - r2$$data$$catalog_bucket$$name, -} from "../../schemas.js"; /** * The tools of `basinCatalog.namespaces`. @@ -24,19 +19,20 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_namespaces_list", title: "List namespaces in catalog", - description: "Returns a list of namespaces in the specified Basin Catalog.\nSupports hierarchical filtering and pagination for efficient traversal\nof large namespace hierarchies.", + description: "Returns a list of namespaces in the specified Basin Catalog.\nSupports hierarchical filtering and pagination for efficient traversal\nof large namespace hierarchies.\n\nGET /accounts/{account_id}/basin-catalog/{bucket_name}/namespaces", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" } }, "required": [ @@ -46,28 +42,29 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_size": { "default": 100, - "description": "Maximum number of namespaces to return per page.\nDefaults to 100, maximum 1000.\n", + "description": "Maximum number of namespaces to return per page.\nDefaults to 100, maximum 1000.", "type": "integer" }, "page_token": { - "description": "Opaque pagination token from a previous response.\nUse this to fetch the next page of results.\n", + "description": "Opaque pagination token from a previous response.\nUse this to fetch the next page of results.", "type": "string" }, "parent": { - "description": "Parent namespace to filter by. Only returns direct children of this namespace.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\nOmit this parameter to list top-level namespaces.\n", + "description": "Parent namespace to filter by. Only returns direct children of this namespace.\nFor nested namespaces, use %1F as separator (e.g., \"bronze%1Fanalytics\").\nOmit this parameter to list top-level namespaces.", "type": "string" }, "return_details": { "default": false, - "description": "Whether to include additional metadata (timestamps).\nWhen true, response includes created_at and updated_at arrays.\n", + "description": "Whether to include additional metadata (timestamps).\nWhen true, response includes created_at and updated_at arrays.", "type": "boolean" }, "return_uuids": { "default": false, - "description": "Whether to include namespace UUIDs in the response.\nSet to true to receive the namespace_uuids array.\n", + "description": "Whether to include namespace UUIDs in the response.\nSet to true to receive the namespace_uuids array.", "type": "boolean" } }, @@ -77,10 +74,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -100,7 +94,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_namespace-details": r2$$data$$catalog_namespace$$details, "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, "r2-data-catalog_namespace-list-response": r2$$data$$catalog_namespace$$list$$response, @@ -159,7 +152,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_namespace-details": r2$$data$$catalog_namespace$$details, "r2-data-catalog_namespace-identifier": r2$$data$$catalog_namespace$$identifier, "r2-data-catalog_namespace-list-response": r2$$data$$catalog_namespace$$list$$response, diff --git a/src/generated/forge-mcp/basinCatalog/tools.ts b/src/generated/forge-mcp/basinCatalog/tools.ts index 16c4621a4..6ebc6511e 100644 --- a/src/generated/forge-mcp/basinCatalog/tools.ts +++ b/src/generated/forge-mcp/basinCatalog/tools.ts @@ -7,22 +7,14 @@ import { r2$$data$$catalog_api$$response$$errors, r2$$data$$catalog_api$$response$$messages, r2$$data$$catalog_api$$response$$single, - r2$$data$$catalog_api$$response$$success, r2$$data$$catalog_catalog, r2$$data$$catalog_catalog$$activation$$response, r2$$data$$catalog_catalog$$compaction$$config, r2$$data$$catalog_catalog$$list, r2$$data$$catalog_catalog$$maintenance$$config, - r2$$data$$catalog_catalog$$maintenance$$state, - r2$$data$$catalog_catalog$$status, - r2$$data$$catalog_catalog$$target$$file$$size, - r2$$data$$catalog_credential$$status, - r2$$data$$catalog_maintenance$$interval, r2$$data$$catalog_snapshot$$expiration$$config, } from "../outputs.js"; import { - r2$$data$$catalog_account$$id, - r2$$data$$catalog_bucket$$name, r2$$data$$catalog_catalog$$activation$$request, r2$$data$$catalog_catalog$$credential$$request, } from "../schemas.js"; @@ -34,19 +26,20 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_delete", title: "Delete Basin Catalog metadata", - description: "Removes the catalog from the control plane without deleting R2 bucket objects.\nSet force=true to remove catalog namespaces, tables, views, and maintenance\nmetadata. Force deletion is limited to a configured catalog object count.\n\nConfirm with the user before calling this tool. This removes catalog metadata. R2 bucket objects are retained.", + description: "Removes the catalog from the control plane without deleting R2 bucket objects.\nSet force=true to remove catalog namespaces, tables, views, and maintenance\nmetadata. Force deletion is limited to a configured catalog object count.\n\nConfirm with the user before calling this tool. This removes catalog metadata. R2 bucket objects are retained.\n\nPOST /accounts/{account_id}/basin-catalog/{bucket_name}/delete", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Use this to identify the account." + "description": "Use this to identify the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" } }, "required": [ @@ -56,6 +49,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "force": { "default": false, @@ -69,10 +63,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -115,19 +106,20 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_disable", title: "Disable Basin Catalog", - description: "Disable an R2 bucket as a catalog. This operation deactivates the catalog\nbut preserves existing metadata and data files. The catalog can be\nre-enabled later.\n\nConfirm with the user before calling this tool. This operation turns off the data catalog for the bucket. Existing namespace or table state remains, but writes stop.", + description: "Disable an R2 bucket as a catalog. This operation deactivates the catalog\nbut preserves existing metadata and data files. The catalog can be\nre-enabled later.\n\nConfirm with the user before calling this tool. This operation turns off the data catalog for the bucket. Existing namespace or table state remains, but writes stop.\n\nPOST /accounts/{account_id}/basin-catalog/{bucket_name}/disable", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name to disable as catalog." + "description": "Specifies the R2 bucket name to disable as catalog.", + "type": "string" } }, "required": [ @@ -140,10 +132,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -189,7 +178,7 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_enable", title: "Enable R2 bucket as a catalog", - description: "Enable an R2 bucket as an Apache Iceberg catalog. This operation creates\nthe necessary catalog infrastructure and activates the bucket for storing\nIceberg metadata and data files.", + description: "Enable an R2 bucket as an Apache Iceberg catalog. This operation creates\nthe necessary catalog infrastructure and activates the bucket for storing\nIceberg metadata and data files.\n\nPOST /accounts/{account_id}/basin-catalog/{bucket_name}/enable", inputSchema: { type: "object", properties: { @@ -197,14 +186,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2-data-catalog_catalog-activation-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name to enable as catalog." + "description": "Specifies the R2 bucket name to enable as catalog.", + "type": "string" } }, "required": [ @@ -217,9 +207,8 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, "r2-data-catalog_catalog-activation-request": r2$$data$$catalog_catalog$$activation$$request, "r2-data-catalog_catalog-credential-request": r2$$data$$catalog_catalog$$credential$$request, }, @@ -242,7 +231,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog-activation-response": r2$$data$$catalog_catalog$$activation$$response, }, }, @@ -301,7 +289,6 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog-activation-response": r2$$data$$catalog_catalog$$activation$$response, }, }, @@ -313,19 +300,20 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_get", title: "Get Basin Catalog details", - description: "Retrieve detailed information about a specific Basin Catalog by bucket name.\nReturns catalog status, maintenance configuration, and credential status.", + description: "Retrieve detailed information about a specific Basin Catalog by bucket name.\nReturns catalog status, maintenance configuration, and credential status.\n\nGET /accounts/{account_id}/basin-catalog/{bucket_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2-data-catalog_bucket-name", - "description": "Specifies the R2 bucket name." + "description": "Specifies the R2 bucket name.", + "type": "string" } }, "required": [ @@ -338,10 +326,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - "r2-data-catalog_bucket-name": r2$$data$$catalog_bucket$$name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -361,15 +346,9 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog": r2$$data$$catalog_catalog, "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-status": r2$$data$$catalog_catalog$$status, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, @@ -426,15 +405,9 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog": r2$$data$$catalog_catalog, "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-status": r2$$data$$catalog_catalog$$status, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, @@ -445,15 +418,16 @@ export const tools: readonly Tool[] = [ { name: "basinCatalog_list", title: "List Basin Catalogs", - description: "Returns a list of R2 buckets that have been enabled as Apache Iceberg catalogs\nfor the specified account. Each catalog represents an R2 bucket configured\nto store Iceberg metadata and data files.", + description: "Returns a list of R2 buckets that have been enabled as Apache Iceberg catalogs\nfor the specified account. Each catalog represents an R2 bucket configured\nto store Iceberg metadata and data files.\n\nGET /accounts/{account_id}/basin-catalog", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2-data-catalog_account-id", - "description": "Identifies the account." + "description": "Identifies the account.", + "type": "string" } }, "required": [ @@ -465,9 +439,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2-data-catalog_account-id": r2$$data$$catalog_account$$id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -487,16 +459,10 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog": r2$$data$$catalog_catalog, "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, "r2-data-catalog_catalog-list": r2$$data$$catalog_catalog$$list, "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-status": r2$$data$$catalog_catalog$$status, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, @@ -550,16 +516,10 @@ export const tools: readonly Tool[] = [ "r2-data-catalog_api-response-errors": r2$$data$$catalog_api$$response$$errors, "r2-data-catalog_api-response-messages": r2$$data$$catalog_api$$response$$messages, "r2-data-catalog_api-response-single": r2$$data$$catalog_api$$response$$single, - "r2-data-catalog_api-response-success": r2$$data$$catalog_api$$response$$success, "r2-data-catalog_catalog": r2$$data$$catalog_catalog, "r2-data-catalog_catalog-compaction-config": r2$$data$$catalog_catalog$$compaction$$config, "r2-data-catalog_catalog-list": r2$$data$$catalog_catalog$$list, "r2-data-catalog_catalog-maintenance-config": r2$$data$$catalog_catalog$$maintenance$$config, - "r2-data-catalog_catalog-maintenance-state": r2$$data$$catalog_catalog$$maintenance$$state, - "r2-data-catalog_catalog-status": r2$$data$$catalog_catalog$$status, - "r2-data-catalog_catalog-target-file-size": r2$$data$$catalog_catalog$$target$$file$$size, - "r2-data-catalog_credential-status": r2$$data$$catalog_credential$$status, - "r2-data-catalog_maintenance-interval": r2$$data$$catalog_maintenance$$interval, "r2-data-catalog_snapshot-expiration-config": r2$$data$$catalog_snapshot$$expiration$$config, }, }, diff --git a/src/generated/forge-mcp/billing/addresses/tools.ts b/src/generated/forge-mcp/billing/addresses/tools.ts index b1369c3f0..e6406af40 100644 --- a/src/generated/forge-mcp/billing/addresses/tools.ts +++ b/src/generated/forge-mcp/billing/addresses/tools.ts @@ -21,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "billing_addresses_validate", title: "Validate Billing Address", - description: "Validates a billing address and returns validated address suggestions. Authentication is not enforced to support pre-signup address validation flows, so credentials are accepted but not required.", + description: "Validates a billing address and returns validated address suggestions. Authentication is not enforced to support pre-signup address validation flows, so credentials are accepted but not required.\n\nPOST /billing/address-validation", inputSchema: { type: "object", properties: { @@ -32,6 +32,7 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { "bill-subs-api_address_validation_request": bill$$subs$$api_address_validation_request, }, diff --git a/src/generated/forge-mcp/billing/profiles/tools.ts b/src/generated/forge-mcp/billing/profiles/tools.ts index 1af2acf01..419c2abd8 100644 --- a/src/generated/forge-mcp/billing/profiles/tools.ts +++ b/src/generated/forge-mcp/billing/profiles/tools.ts @@ -7,10 +7,8 @@ import { bill$$subs$$api_api$$response$$common$$failure, bill$$subs$$api_api$$response$$single, bill$$subs$$api_billing_response_single, - bill$$subs$$api_components$$schemas$$identifier, bill$$subs$$api_messages, } from "../../outputs.js"; -import { bill$$subs$$api_identifier } from "../../schemas.js"; import { bill$$subs$$api_payment_intent_response_single } from "./outputs.js"; import { bill$$subs$$api_billing_profile_request } from "./schemas.js"; @@ -21,7 +19,7 @@ export const tools: readonly Tool[] = [ { name: "billing_profiles_create", title: "Create Billing Profile", - description: "Creates a billing profile for an account.", + description: "Creates a billing profile for an account.\n\nPOST /accounts/{account_id}/billing/profile", inputSchema: { type: "object", properties: { @@ -29,10 +27,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_billing_profile_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -45,9 +44,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "bill-subs-api_billing_profile_request": bill$$subs$$api_billing_profile_request, - "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { @@ -56,7 +55,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, - "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, "bill-subs-api_messages": bill$$subs$$api_messages, }, }, @@ -100,7 +98,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, - "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, "bill-subs-api_messages": bill$$subs$$api_messages, }, }, @@ -112,15 +109,16 @@ export const tools: readonly Tool[] = [ { name: "billing_profiles_createPaymentIntent", title: "Create Payment Intent for Billing Profile", - description: "Creates a Stripe payment intent for adding or updating a payment method on the account's billing profile. Returns a client secret for frontend payment method collection.", + description: "Creates a Stripe payment intent for adding or updating a payment method on the account's billing profile. Returns a client secret for frontend payment method collection.\n\nPOST /accounts/{account_id}/billing/profile/payment-method", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -132,9 +130,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_payment_intent_response_single", @@ -189,15 +185,16 @@ export const tools: readonly Tool[] = [ { name: "billing_profiles_delete", title: "Delete Billing Profile", - description: "Deletes the billing profile for an account.", + description: "Deletes the billing profile for an account.\n\nDELETE /accounts/{account_id}/billing/profile", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -209,9 +206,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -257,15 +252,16 @@ export const tools: readonly Tool[] = [ { name: "billing_profiles_get", title: "Get Billing Profile", - description: "Gets the current billing profile for the account.", + description: "Gets the current billing profile for the account.\n\nGET /accounts/{account_id}/billing/profile", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -277,9 +273,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_billing_response_single", @@ -287,7 +281,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, - "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, "bill-subs-api_messages": bill$$subs$$api_messages, }, }, @@ -331,7 +324,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, - "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, "bill-subs-api_messages": bill$$subs$$api_messages, }, }, @@ -342,7 +334,7 @@ export const tools: readonly Tool[] = [ { name: "billing_profiles_update", title: "Update Billing Profile", - description: "Updates the billing profile for an account.", + description: "Updates the billing profile for an account.\n\nPUT /accounts/{account_id}/billing/profile", inputSchema: { type: "object", properties: { @@ -350,10 +342,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_billing_profile_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -366,9 +359,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "bill-subs-api_billing_profile_request": bill$$subs$$api_billing_profile_request, - "bill-subs-api_identifier": bill$$subs$$api_identifier, }, }, outputSchema: { @@ -377,7 +370,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, - "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, "bill-subs-api_messages": bill$$subs$$api_messages, }, }, @@ -421,7 +413,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, - "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, "bill-subs-api_messages": bill$$subs$$api_messages, }, }, @@ -433,7 +424,7 @@ export const tools: readonly Tool[] = [ { name: "billing_profiles_updateEmail", title: "Update Billing Email", - description: "Updates the billing email addresses and preferred locale for an account.", + description: "Updates the billing email addresses and preferred locale for an account.\n\nPATCH /accounts/{account_id}/billing/profile", inputSchema: { type: "object", properties: { @@ -452,10 +443,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -468,9 +460,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_billing_response_single", @@ -478,7 +468,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, - "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, "bill-subs-api_messages": bill$$subs$$api_messages, }, }, @@ -522,7 +511,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_billing_response_single": bill$$subs$$api_billing_response_single, - "bill-subs-api_components-schemas-identifier": bill$$subs$$api_components$$schemas$$identifier, "bill-subs-api_messages": bill$$subs$$api_messages, }, }, diff --git a/src/generated/forge-mcp/billing/ratePlans/tools.ts b/src/generated/forge-mcp/billing/ratePlans/tools.ts index c50d6a738..8d9f58c61 100644 --- a/src/generated/forge-mcp/billing/ratePlans/tools.ts +++ b/src/generated/forge-mcp/billing/ratePlans/tools.ts @@ -17,11 +17,12 @@ export const tools: readonly Tool[] = [ { name: "billing_ratePlans_get", title: "Get Rate Plan by Public Key", - description: "Gets a rate plan's details by its public key (e.g., 'teams_free', 'cf_pro_20_20'). This is a public catalog endpoint, so authentication is not enforced and credentials are accepted but not required.", + description: "Gets a rate plan's details by its public key (e.g., 'teams_free', 'cf_pro_20_20'). This is a public catalog endpoint, so authentication is not enforced and credentials are accepted but not required.\n\nGET /billing/rate_plans/{public_key}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "public_key": { "description": "The public key identifier for the rate plan.", @@ -37,6 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_rate_plan_simple_response", diff --git a/src/generated/forge-mcp/billing/spendPolicies/activity/outputs.ts b/src/generated/forge-mcp/billing/spendPolicies/activity/outputs.ts index c8ee16d55..3e8b7d8a4 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/activity/outputs.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/activity/outputs.ts @@ -47,7 +47,8 @@ export const billing$$spend$$policies_policy_activity_event: JsonSchema = { "type": "string" }, "policy_id": { - "$ref": "#/$defs/billing-spend-policies_policy_id" + "format": "uuid", + "type": "string" }, "policy_version": { "type": "integer" diff --git a/src/generated/forge-mcp/billing/spendPolicies/activity/tools.ts b/src/generated/forge-mcp/billing/spendPolicies/activity/tools.ts index 8434d9cac..71e1f7372 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/activity/tools.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/activity/tools.ts @@ -7,12 +7,8 @@ import { billing$$spend$$policies_api$$response$$common$$success, billing$$spend$$policies_message, billing$$spend$$policies_policy, - billing$$spend$$policies_policy_action, billing$$spend$$policies_policy_current_state, - billing$$spend$$policies_policy_id, - billing$$spend$$policies_product_id, } from "../outputs.js"; -import { billing$$spend$$policies_identifier } from "../schemas.js"; import { billing$$spend$$policies_policy_activity_event, billing$$spend$$policies_policy_activity_response, @@ -25,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "billing_spendPolicies_activity_list", title: "List Spend Policy Activity", - description: "Returns configuration history from immutable policy revisions for the account, including deleted policies. Entries contain before/after values and verified actor attribution. Pages use descending revision IDs, not event or commit order; refresh the first page for new entries. This cursor is not an incremental consumer checkpoint.\n\nThis method is beta.", + description: "Returns configuration history from immutable policy revisions for the account, including deleted policies. Entries contain before/after values and verified actor attribution. Pages use descending revision IDs, not event or commit order; refresh the first page for new entries. This cursor is not an incremental consumer checkpoint.\n\nThis method is beta.\n\nGET /accounts/{account_id}/billing/spend-policies/activity", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "description": "Identifies the Cloudflare account (account tag).", + "type": "string" } }, "required": [ @@ -42,6 +39,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque token from the preceding response's result_info.cursor. Pass it unchanged to retrieve older entries.", @@ -59,9 +57,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "billing-spend-policies_identifier": billing$$spend$$policies_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_activity_response", @@ -69,12 +65,9 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_activity_event": billing$$spend$$policies_policy_activity_event, "billing-spend-policies_policy_activity_response": billing$$spend$$policies_policy_activity_response, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -118,12 +111,9 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_activity_event": billing$$spend$$policies_policy_activity_event, "billing-spend-policies_policy_activity_response": billing$$spend$$policies_policy_activity_response, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/billing/spendPolicies/audit/outputs.ts b/src/generated/forge-mcp/billing/spendPolicies/audit/outputs.ts index 129db9f34..01a2c9e3b 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/audit/outputs.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/audit/outputs.ts @@ -9,7 +9,11 @@ import type { JsonSchema } from "../../../_/tool.js"; export const billing$$spend$$policies_policy_audit_entry: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/billing-spend-policies_policy_action" + "enum": [ + "notification", + "usage_block" + ], + "type": "string" }, "balance_cents": { "type": "integer" diff --git a/src/generated/forge-mcp/billing/spendPolicies/audit/tools.ts b/src/generated/forge-mcp/billing/spendPolicies/audit/tools.ts index 3c5c81bc1..68aa9cb1a 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/audit/tools.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/audit/tools.ts @@ -6,12 +6,7 @@ import { billing$$spend$$policies_api$$response$$common$$failure, billing$$spend$$policies_api$$response$$common$$success, billing$$spend$$policies_message, - billing$$spend$$policies_policy_action, } from "../outputs.js"; -import { - billing$$spend$$policies_identifier, - billing$$spend$$policies_policy_id, -} from "../schemas.js"; import { billing$$spend$$policies_policy_audit_entry, billing$$spend$$policies_policy_audit_response, @@ -24,19 +19,21 @@ export const tools: readonly Tool[] = [ { name: "billing_spendPolicies_audit_list", title: "List Spend Policy Audit Entries", - description: "Returns the policy's evaluation history, newest first. At most one entry is recorded per trigger (`approaching_limit` or `limit_reached`), policy version and billing period, so a policy update can record a new entry without any change in balance. Disabled policies still return their history; deleted policies return `404`. There is no pagination: use `limit` to set how many entries come back.\n\nThis method is beta.", + description: "Returns the policy's evaluation history, newest first. At most one entry is recorded per trigger (`approaching_limit` or `limit_reached`), policy version and billing period, so a policy update can record a new entry without any change in balance. Disabled policies still return their history; deleted policies return `404`. There is no pagination: use `limit` to set how many entries come back.\n\nThis method is beta.\n\nGET /accounts/{account_id}/billing/spend-policies/{policy_id}/audit", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "description": "Identifies the Cloudflare account (account tag).", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/billing-spend-policies_policy_id", - "description": "Identifies the spend policy." + "description": "Identifies the spend policy.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -46,6 +43,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "default": 50, @@ -59,17 +57,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "billing-spend-policies_identifier": billing$$spend$$policies_identifier, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_audit_response", $defs: { "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_audit_entry": billing$$spend$$policies_policy_audit_entry, "billing-spend-policies_policy_audit_response": billing$$spend$$policies_policy_audit_response, }, @@ -114,7 +108,6 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-failure": billing$$spend$$policies_api$$response$$common$$failure, "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_audit_entry": billing$$spend$$policies_policy_audit_entry, "billing-spend-policies_policy_audit_response": billing$$spend$$policies_policy_audit_response, }, diff --git a/src/generated/forge-mcp/billing/spendPolicies/outputs.ts b/src/generated/forge-mcp/billing/spendPolicies/outputs.ts index 65823619e..7816cc525 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/outputs.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/outputs.ts @@ -108,7 +108,11 @@ export const billing$$spend$$policies_policy: JsonSchema = { "type": "integer" }, "action": { - "$ref": "#/$defs/billing-spend-policies_policy_action" + "enum": [ + "notification", + "usage_block" + ], + "type": "string" }, "current_state": { "$ref": "#/$defs/billing-spend-policies_policy_current_state" @@ -117,7 +121,8 @@ export const billing$$spend$$policies_policy: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/billing-spend-policies_policy_id" + "format": "uuid", + "type": "string" }, "name": { "type": "string" @@ -126,7 +131,11 @@ export const billing$$spend$$policies_policy: JsonSchema = { "type": "string" }, "product_id": { - "$ref": "#/$defs/billing-spend-policies_product_id" + "enum": [ + "workers", + "durable_objects" + ], + "type": "string" }, "threshold_cents": { "type": "integer" @@ -149,17 +158,6 @@ export const billing$$spend$$policies_policy: JsonSchema = { "type": "object" }; -/** - * The schema of `billing-spend-policies_policy_action` in responses. - */ -export const billing$$spend$$policies_policy_action: JsonSchema = { - "enum": [ - "notification", - "usage_block" - ], - "type": "string" -}; - /** * The schema of `billing-spend-policies_policy_current_state` in responses. */ @@ -289,7 +287,8 @@ export const billing$$spend$$policies_policy_delete_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/billing-spend-policies_policy_id" + "format": "uuid", + "type": "string" } }, "required": [ @@ -306,14 +305,6 @@ export const billing$$spend$$policies_policy_delete_response: JsonSchema = { ] }; -/** - * The schema of `billing-spend-policies_policy_id` in responses. - */ -export const billing$$spend$$policies_policy_id: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `billing-spend-policies_policy_list_response` in responses. */ @@ -360,14 +351,3 @@ export const billing$$spend$$policies_policy_response: JsonSchema = { } ] }; - -/** - * The schema of `billing-spend-policies_product_id` in responses. - */ -export const billing$$spend$$policies_product_id: JsonSchema = { - "enum": [ - "workers", - "durable_objects" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/billing/spendPolicies/schemas.ts b/src/generated/forge-mcp/billing/spendPolicies/schemas.ts index 44887bdf4..43fe839ad 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/schemas.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/schemas.ts @@ -3,35 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `billing-spend-policies_identifier`. - */ -export const billing$$spend$$policies_identifier: JsonSchema = { - "description": "Represents a Cloudflare resource identifier tag.", - "type": "string" -}; - -/** - * The schema of `billing-spend-policies_policy_action`. - */ -export const billing$$spend$$policies_policy_action: JsonSchema = { - "description": "The action taken when the threshold is reached. `notification` sends an email to `notification_email`. `usage_block` blocks further usage of the product until the end of the billing period. Raising the threshold above the current balance, disabling the policy, or deleting it lifts the block early.", - "enum": [ - "notification", - "usage_block" - ], - "type": "string" -}; - -/** - * The schema of `billing-spend-policies_policy_id`. - */ -export const billing$$spend$$policies_policy_id: JsonSchema = { - "description": "The unique identifier of the spend policy.", - "format": "uuid", - "type": "string" -}; - /** * The schema of `billing-spend-policies_policy_input`. */ @@ -39,8 +10,12 @@ export const billing$$spend$$policies_policy_input: JsonSchema = { "description": "A spend policy as sent on create and on full replacement. Unknown fields and trailing JSON are rejected. Only the first 1 MiB of the body is read.", "properties": { "action": { - "$ref": "#/$defs/billing-spend-policies_policy_action", - "description": "The action taken when the threshold is reached. `notification` sends an email to `notification_email`. `usage_block` blocks further usage of the product until the end of the billing period. Raising the threshold above the current balance, disabling the policy, or deleting it lifts the block early." + "description": "The action taken when the threshold is reached. `notification` sends an email to `notification_email`. `usage_block` blocks further usage of the product until the end of the billing period. Raising the threshold above the current balance, disabling the policy, or deleting it lifts the block early.", + "enum": [ + "notification", + "usage_block" + ], + "type": "string" }, "enabled": { "description": "Whether the policy is evaluated.", @@ -55,8 +30,12 @@ export const billing$$spend$$policies_policy_input: JsonSchema = { "type": "string" }, "product_id": { - "$ref": "#/$defs/billing-spend-policies_product_id", - "description": "The product the policy applies to: `workers` or `durable_objects`. Each product's balance and policies are separate. Both products support `notification` and `usage_block` policies on create and update." + "description": "The product the policy applies to: `workers` or `durable_objects`. Each product's balance and policies are separate. Both products support `notification` and `usage_block` policies on create and update.", + "enum": [ + "workers", + "durable_objects" + ], + "type": "string" }, "threshold_cents": { "description": "The spend threshold for the current billing period, in US cents. Must be greater than zero.", @@ -72,15 +51,3 @@ export const billing$$spend$$policies_policy_input: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `billing-spend-policies_product_id`. - */ -export const billing$$spend$$policies_product_id: JsonSchema = { - "description": "The product the policy applies to: `workers` or `durable_objects`. Each product's balance and policies are separate. Both products support `notification` and `usage_block` policies on create and update.", - "enum": [ - "workers", - "durable_objects" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/billing/spendPolicies/tools.ts b/src/generated/forge-mcp/billing/spendPolicies/tools.ts index 166111314..02dd1b59a 100644 --- a/src/generated/forge-mcp/billing/spendPolicies/tools.ts +++ b/src/generated/forge-mcp/billing/spendPolicies/tools.ts @@ -7,21 +7,12 @@ import { billing$$spend$$policies_api$$response$$common$$success, billing$$spend$$policies_message, billing$$spend$$policies_policy, - billing$$spend$$policies_policy_action, billing$$spend$$policies_policy_current_state, billing$$spend$$policies_policy_delete_response, - billing$$spend$$policies_policy_id, billing$$spend$$policies_policy_list_response, billing$$spend$$policies_policy_response, - billing$$spend$$policies_product_id, } from "./outputs.js"; -import { - billing$$spend$$policies_identifier, - billing$$spend$$policies_policy_action as billing$$spend$$policies_policy_action$, - billing$$spend$$policies_policy_id as billing$$spend$$policies_policy_id$, - billing$$spend$$policies_policy_input, - billing$$spend$$policies_product_id as billing$$spend$$policies_product_id$, -} from "./schemas.js"; +import { billing$$spend$$policies_policy_input } from "./schemas.js"; /** * The tools of `billing.spendPolicies`. @@ -30,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "billing_spendPolicies_create", title: "Create Spend Policy", - description: "Creates a spend policy. Each account can have only one enabled `usage_block` policy per product. A second one returns `409`. There is no limit on `notification` policies.\n\nThis method is beta.", + description: "Creates a spend policy. Each account can have only one enabled `usage_block` policy per product. A second one returns `409`. There is no limit on `notification` policies.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/billing/spend-policies", inputSchema: { type: "object", properties: { @@ -38,10 +29,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/billing-spend-policies_policy_input" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "description": "Identifies the Cloudflare account (account tag).", + "type": "string" } }, "required": [ @@ -54,11 +46,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "billing-spend-policies_identifier": billing$$spend$$policies_identifier, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action$, "billing-spend-policies_policy_input": billing$$spend$$policies_policy_input, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id$, }, }, outputSchema: { @@ -67,11 +57,8 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -118,11 +105,8 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ @@ -133,11 +117,12 @@ export const tools: readonly Tool[] = [ { name: "billing_spendPolicies_delete", title: "Delete Spend Policy", - description: "Soft-deletes the spend policy. The policy is disabled and no longer appears in list, get or audit responses. The `If-Match` header must equal the policy's current `version`.\n\nThis method is beta.", + description: "Soft-deletes the spend policy. The policy is disabled and no longer appears in list, get or audit responses. The `If-Match` header must equal the policy's current `version`.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/billing/spend-policies/{policy_id}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "If-Match": { "description": "The policy `version` the change is based on, as returned in `ETag`. Quoted (`\"3\"`) and bare (`3`) values are both accepted. Weak ETags (`W/\"3\"`) and `*` are not.", @@ -150,14 +135,16 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "description": "Identifies the Cloudflare account (account tag).", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/billing-spend-policies_policy_id", - "description": "Identifies the spend policy." + "description": "Identifies the spend policy.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -171,10 +158,7 @@ export const tools: readonly Tool[] = [ "path", "headers" ], - $defs: { - "billing-spend-policies_identifier": billing$$spend$$policies_identifier, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_delete_response", @@ -182,7 +166,6 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy_delete_response": billing$$spend$$policies_policy_delete_response, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, }, }, annotations: { @@ -232,7 +215,6 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy_delete_response": billing$$spend$$policies_policy_delete_response, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, }, }, request: (args) => ({ @@ -245,19 +227,21 @@ export const tools: readonly Tool[] = [ { name: "billing_spendPolicies_get", title: "Get Spend Policy", - description: "Returns one spend policy. The `ETag` response header holds the current `version`; send it as `If-Match` on a later update or delete.\n\nThis method is beta.", + description: "Returns one spend policy. The `ETag` response header holds the current `version`; send it as `If-Match` on a later update or delete.\n\nThis method is beta.\n\nGET /accounts/{account_id}/billing/spend-policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "description": "Identifies the Cloudflare account (account tag).", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/billing-spend-policies_policy_id", - "description": "Identifies the spend policy." + "description": "Identifies the spend policy.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -270,10 +254,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "billing-spend-policies_identifier": billing$$spend$$policies_identifier, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_response", @@ -281,11 +262,8 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -329,11 +307,8 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ @@ -343,15 +318,16 @@ export const tools: readonly Tool[] = [ { name: "billing_spendPolicies_list", title: "List Spend Policies", - description: "Returns every spend policy on the account that has not been deleted, including disabled ones. Results are sorted by `name`, then `id`. There is no pagination.\n\nThis method is beta.", + description: "Returns every spend policy on the account that has not been deleted, including disabled ones. Results are sorted by `name`, then `id`. There is no pagination.\n\nThis method is beta.\n\nGET /accounts/{account_id}/billing/spend-policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "description": "Identifies the Cloudflare account (account tag).", + "type": "string" } }, "required": [ @@ -363,9 +339,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "billing-spend-policies_identifier": billing$$spend$$policies_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billing-spend-policies_policy_list_response", @@ -373,11 +347,8 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, "billing-spend-policies_policy_list_response": billing$$spend$$policies_policy_list_response, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -421,11 +392,8 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, "billing-spend-policies_policy_list_response": billing$$spend$$policies_policy_list_response, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ @@ -435,7 +403,7 @@ export const tools: readonly Tool[] = [ { name: "billing_spendPolicies_update", title: "Update Spend Policy", - description: "Replaces the whole spend policy. Every field is required, as on create; there are no partial updates and `PATCH` is not supported. The `If-Match` header must equal the policy's current `version`. On success, `version` goes up by one and the new value is returned in `ETag`.\n\nThis method is beta.", + description: "Replaces the whole spend policy. Every field is required, as on create; there are no partial updates and `PATCH` is not supported. The `If-Match` header must equal the policy's current `version`. On success, `version` goes up by one and the new value is returned in `ETag`.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/billing/spend-policies/{policy_id}", inputSchema: { type: "object", properties: { @@ -443,6 +411,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/billing-spend-policies_policy_input" }, "headers": { + "additionalProperties": false, "properties": { "If-Match": { "description": "The policy `version` the change is based on, as returned in `ETag`. Quoted (`\"3\"`) and bare (`3`) values are both accepted. Weak ETags (`W/\"3\"`) and `*` are not.", @@ -455,14 +424,16 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billing-spend-policies_identifier", - "description": "Identifies the Cloudflare account (account tag)." + "description": "Identifies the Cloudflare account (account tag).", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/billing-spend-policies_policy_id", - "description": "Identifies the spend policy." + "description": "Identifies the spend policy.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -477,12 +448,9 @@ export const tools: readonly Tool[] = [ "headers", "body" ], + additionalProperties: false, $defs: { - "billing-spend-policies_identifier": billing$$spend$$policies_identifier, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action$, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id$, "billing-spend-policies_policy_input": billing$$spend$$policies_policy_input, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id$, }, }, outputSchema: { @@ -491,11 +459,8 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, annotations: { @@ -548,11 +513,8 @@ export const tools: readonly Tool[] = [ "billing-spend-policies_api-response-common-success": billing$$spend$$policies_api$$response$$common$$success, "billing-spend-policies_message": billing$$spend$$policies_message, "billing-spend-policies_policy": billing$$spend$$policies_policy, - "billing-spend-policies_policy_action": billing$$spend$$policies_policy_action, "billing-spend-policies_policy_current_state": billing$$spend$$policies_policy_current_state, - "billing-spend-policies_policy_id": billing$$spend$$policies_policy_id, "billing-spend-policies_policy_response": billing$$spend$$policies_policy_response, - "billing-spend-policies_product_id": billing$$spend$$policies_product_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/billing/usage/tools.ts b/src/generated/forge-mcp/billing/usage/tools.ts index 825bf8f6a..29ad1c166 100644 --- a/src/generated/forge-mcp/billing/usage/tools.ts +++ b/src/generated/forge-mcp/billing/usage/tools.ts @@ -11,10 +11,6 @@ import { usage$$analytics_api_message, usage$$analytics_error_response, } from "../../outputs.js"; -import { - billable$$usage$$api_identifier, - usage$$analytics_identifier, -} from "../../schemas.js"; import { billable$$usage$$api_usage_info_response, billable$$usage$$api_usage_record, @@ -41,15 +37,16 @@ export const tools: readonly Tool[] = [ { name: "billing_usage_get", title: "Get account billing usage", - description: "Retrieve billing usage analytics for an account. Returns time-series data for all billable product metrics including Stream, Media (Images), Rate Limiting, Load Balancing, Argo, Workers, Workers KV, Image Resizing, and Spectrum.\n\nThis method is deprecated.", + description: "Retrieve billing usage analytics for an account. Returns time-series data for all billable product metrics including Stream, Media (Images), Rate Limiting, Load Balancing, Argo, Workers, Workers KV, Image Resizing, and Spectrum.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/billing/usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/usage-analytics_identifier", - "description": "Standard Cloudflare hex account identifier. The API gateway translates this to an internal numeric ID before forwarding to the backend service.\n" + "description": "Standard Cloudflare hex account identifier. The API gateway translates this to an internal numeric ID before forwarding to the backend service.", + "type": "string" } }, "required": [ @@ -58,28 +55,29 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "filters": { - "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.\n", + "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.", "type": "string" }, "limit": { "default": 100, - "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.\n", + "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.", "type": "integer" }, "metrics": { - "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.\n", + "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.", "type": "string" }, "since": { - "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.\n", + "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.", "format": "date-time", "type": "string" }, "time_delta": { "default": "hour", - "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.\n", + "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.", "enum": [ "hour", "day", @@ -91,7 +89,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "until": { - "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.\n", + "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.", "format": "date-time", "type": "string" } @@ -102,9 +100,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "usage-analytics_identifier": usage$$analytics_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/usage-analytics_billing_usage_response", @@ -167,15 +163,16 @@ export const tools: readonly Tool[] = [ { name: "billing_usage_getAccountBillableMetrics", title: "List Account Billable Metrics (Version 2, Alpha, Restricted)", - description: "Lists billable metrics available to the account through contracts and\nsubscriptions that overlap the requested period. Results are\ndeduplicated and ordered. If no qualifying contract exists, the\nresult is an empty array.\n\nWhen `from` and `to` are omitted, the period defaults to the start of\nthe current month through today. The maximum date range is 31 days.", + description: "Lists billable metrics available to the account through contracts and\nsubscriptions that overlap the requested period. Results are\ndeduplicated and ordered. If no qualifying contract exists, the\nresult is an empty array.\n\nWhen `from` and `to` are omitted, the period defaults to the start of\nthe current month through today. The maximum date range is 31 days.\n\nGET /accounts/{account_id}/billable/usage/billable-metrics", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." + "description": "Identifies the Cloudflare account.", + "type": "string" } }, "required": [ @@ -184,6 +181,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "from": { "description": "Start date for the usage query (ISO 8601). Required if `to` is set. When omitted along with `to`, defaults to the start of the current month. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", @@ -202,9 +200,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "billable-usage-api_identifier": billable$$usage$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_v2_account_billable_metrics_response", @@ -262,15 +258,16 @@ export const tools: readonly Tool[] = [ { name: "billing_usage_getAccountUsageV2", title: "Get Account Usage (Version 2, Alpha, Restricted)", - description: "Returns cost and usage data for a single Cloudflare account, aligned\nwith the [FinOps FOCUS v1.3](https://focus.finops.org/focus-specification/v1-3/)\nCost and Usage dataset specification.\n\nEach record represents one billable metric for one account on one day.\nThis includes all metered usage, including usage that falls within\nfree-tier allowances and may result in zero cost.\n\n**Note:** This endpoint serves `usage` records only; cost and pricing\nfields are absent from responses. To retrieve rated costs, use `POST`\non the same path with `Metric: cost`.\n\nWhen `from` and `to` are omitted, defaults to the start of the current\nmonth through today. The maximum date range is 31 days.", + description: "Returns cost and usage data for a single Cloudflare account, aligned\nwith the [FinOps FOCUS v1.3](https://focus.finops.org/focus-specification/v1-3/)\nCost and Usage dataset specification.\n\nEach record represents one billable metric for one account on one day.\nThis includes all metered usage, including usage that falls within\nfree-tier allowances and may result in zero cost.\n\n**Note:** This endpoint serves `usage` records only; cost and pricing\nfields are absent from responses. To retrieve rated costs, use `POST`\non the same path with `Metric: cost`.\n\nWhen `from` and `to` are omitted, defaults to the start of the current\nmonth through today. The maximum date range is 31 days.\n\nGET /accounts/{account_id}/billable/usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." + "description": "Identifies the Cloudflare account.", + "type": "string" } }, "required": [ @@ -279,6 +276,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "from": { "description": "Start date for the usage query (ISO 8601). Required if `to` is set. When omitted along with `to`, defaults to the start of the current month. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", @@ -297,9 +295,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "billable-usage-api_identifier": billable$$usage$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_v2_usage_response", @@ -353,15 +349,16 @@ export const tools: readonly Tool[] = [ { name: "billing_usage_getInfoV1", title: "Get Account Billable Usage Info (Version 1, Alpha)", - description: "Returns high-level usage information for the account, including coverage,\nand subscription metadata.", + description: "Returns high-level usage information for the account, including coverage,\nand subscription metadata.\n\nGET /accounts/{account_id}/billable-usage/info", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." + "description": "Identifies the Cloudflare account.", + "type": "string" } }, "required": [ @@ -373,9 +370,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "billable-usage-api_identifier": billable$$usage$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_usage_info_response", @@ -423,15 +418,16 @@ export const tools: readonly Tool[] = [ { name: "billing_usage_getV1", title: "Get Account Billable Usage (Version 1, Alpha)", - description: "Returns billable usage data for the account.\nWhen no query parameters are provided, returns usage for the current\nbilling period.", + description: "Returns billable usage data for the account.\nWhen no query parameters are provided, returns usage for the current\nbilling period.\n\nGET /accounts/{account_id}/billable-usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." + "description": "Identifies the Cloudflare account.", + "type": "string" } }, "required": [ @@ -440,6 +436,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "from": { "description": "Start date for the usage query (ISO 8601). The provided time range must include the subscription billing cycle anchor day, otherwise no usage data is returned. Use the info endpoint to retrieve the subscription anchor day.", @@ -458,9 +455,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "billable-usage-api_identifier": billable$$usage$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_usage_response", @@ -514,7 +509,7 @@ export const tools: readonly Tool[] = [ { name: "billing_usage_query", title: "Query Account Usage (Version 2, Alpha, Restricted)", - description: "Returns cost and usage data for a single Cloudflare account, aligned\nwith the [FinOps FOCUS v1.3](https://focus.finops.org/focus-specification/v1-3/)\nCost and Usage dataset specification.\n\nThis is the filterable counterpart to `GET` on the same path. It is a\nread-only operation and requires only the `#billing:read` permission;\n`POST` is used so that filter criteria can be supplied in a request body\nrather than in the query string.\n\nEach record represents one billable metric for one account on one day.\nThis includes all metered usage, including usage that falls within\nfree-tier allowances and may result in zero cost.\n\n**Note:** Cost and pricing fields are populated only when `Metric`\nis `cost`; otherwise they are absent from responses.\n\nThe request body is optional. When it is omitted, or when `TimePeriod`\nis omitted, the range defaults to the start of the current month through\ntoday. The maximum date range is 31 days.\n\nFilters of different kinds are combined with AND. Values within one tag\nfilter are combined with OR. Filter values that do not match usage\nproduce an empty result set.\n\nResults can be grouped by up to two groups, in any combination of\ndimension keys and resource-tag keys. Tag groups are returned in the\n`Tags` field. Usage without a requested tag remains in an untagged\ngroup, with that key omitted from `Tags`.\n\nRequests that use tag filtering or tag grouping return HTTP 400 when the\nunderlying usage data source does not support tags.\n\nRequests that use dimension grouping return HTTP 400 when the\nunderlying usage data source does not support dimensions.", + description: "Returns cost and usage data for a single Cloudflare account, aligned\nwith the [FinOps FOCUS v1.3](https://focus.finops.org/focus-specification/v1-3/)\nCost and Usage dataset specification.\n\nThis is the filterable counterpart to `GET` on the same path. It is a\nread-only operation and requires only the `#billing:read` permission;\n`POST` is used so that filter criteria can be supplied in a request body\nrather than in the query string.\n\nEach record represents one billable metric for one account on one day.\nThis includes all metered usage, including usage that falls within\nfree-tier allowances and may result in zero cost.\n\n**Note:** Cost and pricing fields are populated only when `Metric`\nis `cost`; otherwise they are absent from responses.\n\nThe request body is optional. When it is omitted, or when `TimePeriod`\nis omitted, the range defaults to the start of the current month through\ntoday. The maximum date range is 31 days.\n\nFilters of different kinds are combined with AND. Values within one tag\nfilter are combined with OR. Filter values that do not match usage\nproduce an empty result set.\n\nResults can be grouped by up to two groups, in any combination of\ndimension keys and resource-tag keys. Tag groups are returned in the\n`Tags` field. Usage without a requested tag remains in an untagged\ngroup, with that key omitted from `Tags`.\n\nRequests that use tag filtering or tag grouping return HTTP 400 when the\nunderlying usage data source does not support tags.\n\nRequests that use dimension grouping return HTTP 400 when the\nunderlying usage data source does not support dimensions.\n\nPOST /accounts/{account_id}/billable/usage", inputSchema: { type: "object", properties: { @@ -522,10 +517,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/billable-usage-api_v2_usage_query" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare account." + "description": "Identifies the Cloudflare account.", + "type": "string" } }, "required": [ @@ -537,8 +533,8 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "billable-usage-api_identifier": billable$$usage$$api_identifier, "billable-usage-api_v2_filter_by": billable$$usage$$api_v2_filter_by, "billable-usage-api_v2_group_by": billable$$usage$$api_v2_group_by, "billable-usage-api_v2_tag_filter": billable$$usage$$api_v2_tag_filter, diff --git a/src/generated/forge-mcp/botManagement/feedback/outputs.ts b/src/generated/forge-mcp/botManagement/feedback/outputs.ts index 11d6c197b..bf5da049a 100644 --- a/src/generated/forge-mcp/botManagement/feedback/outputs.ts +++ b/src/generated/forge-mcp/botManagement/feedback/outputs.ts @@ -42,7 +42,11 @@ export const bot$$management_feedback_report: JsonSchema = { "type": "string" }, "type": { - "$ref": "#/$defs/bot-management_feedback_type" + "enum": [ + "false_positive", + "false_negative" + ], + "type": "string" } }, "required": [ @@ -59,17 +63,6 @@ export const bot$$management_feedback_report: JsonSchema = { "type": "object" }; -/** - * The schema of `bot-management_feedback_type` in responses. - */ -export const bot$$management_feedback_type: JsonSchema = { - "enum": [ - "false_positive", - "false_negative" - ], - "type": "string" -}; - /** * The schema of `bot-management_metric_requests` in responses. */ diff --git a/src/generated/forge-mcp/botManagement/feedback/schemas.ts b/src/generated/forge-mcp/botManagement/feedback/schemas.ts index 6e79c6ec1..952de1eee 100644 --- a/src/generated/forge-mcp/botManagement/feedback/schemas.ts +++ b/src/generated/forge-mcp/botManagement/feedback/schemas.ts @@ -42,8 +42,12 @@ export const bot$$management_feedback_report: JsonSchema = { "type": "string" }, "type": { - "$ref": "#/$defs/bot-management_feedback_type", - "description": "Type of feedback report." + "description": "Type of feedback report.", + "enum": [ + "false_positive", + "false_negative" + ], + "type": "string" } }, "required": [ @@ -60,18 +64,6 @@ export const bot$$management_feedback_report: JsonSchema = { "type": "object" }; -/** - * The schema of `bot-management_feedback_type`. - */ -export const bot$$management_feedback_type: JsonSchema = { - "description": "Type of feedback report.", - "enum": [ - "false_positive", - "false_negative" - ], - "type": "string" -}; - /** * The schema of `bot-management_metric_requests`. */ diff --git a/src/generated/forge-mcp/botManagement/feedback/tools.ts b/src/generated/forge-mcp/botManagement/feedback/tools.ts index 52317006c..2427b0616 100644 --- a/src/generated/forge-mcp/botManagement/feedback/tools.ts +++ b/src/generated/forge-mcp/botManagement/feedback/tools.ts @@ -6,10 +6,8 @@ import { bot$$management_api$$response$$common$$failure, bot$$management_messages, } from "../outputs.js"; -import { bot$$management_identifier } from "../schemas.js"; import { bot$$management_feedback_report, - bot$$management_feedback_type, bot$$management_metric_requests, bot$$management_requests_by_attribute, bot$$management_requests_by_score, @@ -17,7 +15,6 @@ import { } from "./outputs.js"; import { bot$$management_feedback_report as bot$$management_feedback_report$, - bot$$management_feedback_type as bot$$management_feedback_type$, bot$$management_metric_requests as bot$$management_metric_requests$, bot$$management_requests_by_attribute as bot$$management_requests_by_attribute$, bot$$management_requests_by_score as bot$$management_requests_by_score$, @@ -31,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "botManagement_feedback_create", title: "Submit a feedback report", - description: "Submit a feedback report for the specified zone. Use `type` to indicate whether the report is a false positive (good traffic flagged as bot) or a false negative (bot traffic missed). Furthermore, you can also use `expression` as a wirefilter to identify the affected traffic sample.\n\nSee more accepted API fields and expression types at https://developers.cloudflare.com/bots/concepts/feedback-loop/#api-fields and https://developers.cloudflare.com/bots/concepts/feedback-loop/#expression-fields, respectively.", + description: "Submit a feedback report for the specified zone. Use `type` to indicate whether the report is a false positive (good traffic flagged as bot) or a false negative (bot traffic missed). Furthermore, you can also use `expression` as a wirefilter to identify the affected traffic sample.\n\nSee more accepted API fields and expression types at https://developers.cloudflare.com/bots/concepts/feedback-loop/#api-fields and https://developers.cloudflare.com/bots/concepts/feedback-loop/#expression-fields, respectively.\n\nPOST /zones/{zone_id}/bot_management/feedback", inputSchema: { type: "object", properties: { @@ -39,10 +36,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bot-management_feedback_report" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bot-management_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,10 +53,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "bot-management_feedback_report": bot$$management_feedback_report$, - "bot-management_feedback_type": bot$$management_feedback_type$, - "bot-management_identifier": bot$$management_identifier, "bot-management_metric_requests": bot$$management_metric_requests$, "bot-management_requests_by_attribute": bot$$management_requests_by_attribute$, "bot-management_requests_by_score": bot$$management_requests_by_score$, @@ -108,15 +105,16 @@ export const tools: readonly Tool[] = [ { name: "botManagement_feedback_list", title: "List zone feedback reports", - description: "Returns all feedback reports previously submitted for the specified zone. Feedback reports help improve detection by sharing samples of traffic that were misclassified as bots or humans.", + description: "Returns all feedback reports previously submitted for the specified zone. Feedback reports help improve detection by sharing samples of traffic that were misclassified as bots or humans.\n\nGET /zones/{zone_id}/bot_management/feedback", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bot-management_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -128,9 +126,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bot-management_identifier": bot$$management_identifier, - }, + additionalProperties: false, }, outputSchema: { "items": { @@ -139,7 +135,6 @@ export const tools: readonly Tool[] = [ "type": "array", $defs: { "bot-management_feedback_report": bot$$management_feedback_report, - "bot-management_feedback_type": bot$$management_feedback_type, "bot-management_metric_requests": bot$$management_metric_requests, "bot-management_requests_by_attribute": bot$$management_requests_by_attribute, "bot-management_requests_by_score": bot$$management_requests_by_score, @@ -184,7 +179,6 @@ export const tools: readonly Tool[] = [ $defs: { "bot-management_api-response-common-failure": bot$$management_api$$response$$common$$failure, "bot-management_feedback_report": bot$$management_feedback_report, - "bot-management_feedback_type": bot$$management_feedback_type, "bot-management_messages": bot$$management_messages, "bot-management_metric_requests": bot$$management_metric_requests, "bot-management_requests_by_attribute": bot$$management_requests_by_attribute, diff --git a/src/generated/forge-mcp/botManagement/outputs.ts b/src/generated/forge-mcp/botManagement/outputs.ts index 721102a69..f1aab8384 100644 --- a/src/generated/forge-mcp/botManagement/outputs.ts +++ b/src/generated/forge-mcp/botManagement/outputs.ts @@ -3,98 +3,55 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `bot-management_ai_agent_action` in responses. - */ -export const bot$$management_ai_agent_action: JsonSchema = { - "enum": [ - "disabled", - "block", - "only_on_ad_pages" - ], - "type": "string" -}; - /** * The schema of `bot-management_ai_agents` in responses. */ export const bot$$management_ai_agents: JsonSchema = { "properties": { "anthropic_agent": { - "$ref": "#/$defs/bot-management_ai_agent_action" + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "google_agent": { - "$ref": "#/$defs/bot-management_ai_agent_action" + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "instinct": { - "$ref": "#/$defs/bot-management_ai_agent_action" + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "muse": { - "$ref": "#/$defs/bot-management_ai_agent_action" + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "openai_agent": { - "$ref": "#/$defs/bot-management_ai_agent_action" + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `bot-management_ai_bots_migration_opt_out` in responses. - */ -export const bot$$management_ai_bots_migration_opt_out: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_ai_bots_protection` in responses. - */ -export const bot$$management_ai_bots_protection: JsonSchema = { - "enum": [ - "block", - "disabled", - "only_on_ad_pages" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_ai_search` in responses. - */ -export const bot$$management_ai_search: JsonSchema = { - "enum": [ - "disabled", - "block", - "only_on_ad_pages" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_ai_training` in responses. - */ -export const bot$$management_ai_training: JsonSchema = { - "enum": [ - "disabled", - "disallow", - "block", - "only_on_ad_pages" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_ai_user` in responses. - */ -export const bot$$management_ai_user: JsonSchema = { - "enum": [ - "disabled", - "block", - "only_on_ad_pages" - ], - "type": "string" -}; - /** * The schema of `bot-management_api-response-common-failure` in responses. */ @@ -151,13 +108,6 @@ export const bot$$management_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `bot-management_auto_update_model` in responses. - */ -export const bot$$management_auto_update_model: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `bot-management_base_config` in responses. */ @@ -167,55 +117,81 @@ export const bot$$management_base_config: JsonSchema = { "$ref": "#/$defs/bot-management_ai_agents" }, "ai_bots_migration_opt_out": { - "$ref": "#/$defs/bot-management_ai_bots_migration_opt_out" + "type": "boolean" }, "ai_bots_protection": { - "$ref": "#/$defs/bot-management_ai_bots_protection" + "enum": [ + "block", + "disabled", + "only_on_ad_pages" + ], + "type": "string" }, "ai_search": { - "$ref": "#/$defs/bot-management_ai_search" + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "ai_training": { - "$ref": "#/$defs/bot-management_ai_training" + "enum": [ + "disabled", + "disallow", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "ai_user": { - "$ref": "#/$defs/bot-management_ai_user" + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "bot_preference_sync_enabled": { - "$ref": "#/$defs/bot-management_bot_preference_sync_enabled" + "type": "boolean" }, "cf_robots_variant": { - "$ref": "#/$defs/bot-management_cf_robots_variant" + "enum": [ + "off", + "policy_only" + ], + "type": "string" }, "content_bots_protection": { - "$ref": "#/$defs/bot-management_content_bots_protection" + "enum": [ + "block", + "disabled" + ], + "type": "string" }, "crawler_protection": { - "$ref": "#/$defs/bot-management_crawler_protection" + "enum": [ + "enabled", + "disabled" + ], + "type": "string" }, "enable_js": { - "$ref": "#/$defs/bot-management_enable_js" + "type": "boolean" }, "is_robots_txt_managed": { - "$ref": "#/$defs/bot-management_is_robots_txt_managed" + "type": "boolean" }, "jsd_api_results_enabled": { - "$ref": "#/$defs/bot-management_jsd_api_results_enabled" + "type": "boolean" }, "using_latest_model": { - "$ref": "#/$defs/bot-management_using_latest_model" + "type": "boolean" } }, "type": "object" }; -/** - * The schema of `bot-management_bm_cookie_enabled` in responses. - */ -export const bot$$management_bm_cookie_enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `bot-management_bm_subscription_config` in responses. */ @@ -227,36 +203,36 @@ export const bot$$management_bm_subscription_config: JsonSchema = { { "properties": { "auto_update_model": { - "$ref": "#/$defs/bot-management_auto_update_model" + "type": "boolean" }, "bm_cookie_enabled": { - "$ref": "#/$defs/bot-management_bm_cookie_enabled" + "type": "boolean" }, "stale_zone_configuration": { "properties": { "fight_mode": { - "$ref": "#/$defs/bot-management_fight_mode_turned_on" + "type": "boolean" }, "optimize_wordpress": { - "$ref": "#/$defs/bot-management_optimize_wordpress_turned_on" + "type": "boolean" }, "sbfm_definitely_automated": { - "$ref": "#/$defs/bot-management_sbfm_definitely_automated_turned_on" + "type": "string" }, "sbfm_likely_automated": { - "$ref": "#/$defs/bot-management_sbfm_likely_automated_turned_on" + "type": "string" }, "sbfm_static_resource_protection": { - "$ref": "#/$defs/bot-management_sbfm_static_resource_protection_turned_on" + "type": "string" }, "sbfm_verified_bots": { - "$ref": "#/$defs/bot-management_sbfm_verified_bots_turned_on" + "type": "string" } }, "type": "object" }, "suppress_session_score": { - "$ref": "#/$defs/bot-management_suppress_session_score" + "type": "boolean" } }, "type": "object" @@ -275,27 +251,27 @@ export const bot$$management_bot_fight_mode_config: JsonSchema = { { "properties": { "fight_mode": { - "$ref": "#/$defs/bot-management_fight_mode" + "type": "boolean" }, "stale_zone_configuration": { "properties": { "optimize_wordpress": { - "$ref": "#/$defs/bot-management_optimize_wordpress_turned_on" + "type": "boolean" }, "sbfm_definitely_automated": { - "$ref": "#/$defs/bot-management_sbfm_definitely_automated_turned_on" + "type": "string" }, "sbfm_likely_automated": { - "$ref": "#/$defs/bot-management_sbfm_likely_automated_turned_on" + "type": "string" }, "sbfm_static_resource_protection": { - "$ref": "#/$defs/bot-management_sbfm_static_resource_protection_turned_on" + "type": "string" }, "sbfm_verified_bots": { - "$ref": "#/$defs/bot-management_sbfm_verified_bots_turned_on" + "type": "string" }, "suppress_session_score": { - "$ref": "#/$defs/bot-management_suppress_session_score_turned_off" + "type": "boolean" } }, "type": "object" @@ -338,81 +314,6 @@ export const bot$$management_bot_management_response_body: JsonSchema = { ] }; -/** - * The schema of `bot-management_bot_preference_sync_enabled` in responses. - */ -export const bot$$management_bot_preference_sync_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_cf_robots_variant` in responses. - */ -export const bot$$management_cf_robots_variant: JsonSchema = { - "enum": [ - "off", - "policy_only" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_content_bots_protection` in responses. - */ -export const bot$$management_content_bots_protection: JsonSchema = { - "enum": [ - "block", - "disabled" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_crawler_protection` in responses. - */ -export const bot$$management_crawler_protection: JsonSchema = { - "enum": [ - "enabled", - "disabled" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_enable_js` in responses. - */ -export const bot$$management_enable_js: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_fight_mode` in responses. - */ -export const bot$$management_fight_mode: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_fight_mode_turned_on` in responses. - */ -export const bot$$management_fight_mode_turned_on: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_is_robots_txt_managed` in responses. - */ -export const bot$$management_is_robots_txt_managed: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_jsd_api_results_enabled` in responses. - */ -export const bot$$management_jsd_api_results_enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `bot-management_messages` in responses. */ @@ -446,40 +347,6 @@ export const bot$$management_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `bot-management_optimize_wordpress` in responses. - */ -export const bot$$management_optimize_wordpress: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_optimize_wordpress_turned_on` in responses. - */ -export const bot$$management_optimize_wordpress_turned_on: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_sbfm_definitely_automated` in responses. - */ -export const bot$$management_sbfm_definitely_automated: JsonSchema = { - "enum": [ - "allow", - "block", - "managed_challenge" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_sbfm_definitely_automated_turned_on` in - * responses. - */ -export const bot$$management_sbfm_definitely_automated_turned_on: JsonSchema = { - "type": "string" -}; - /** * The schema of `bot-management_sbfm_definitely_config` in responses. */ @@ -491,24 +358,33 @@ export const bot$$management_sbfm_definitely_config: JsonSchema = { { "properties": { "optimize_wordpress": { - "$ref": "#/$defs/bot-management_optimize_wordpress" + "type": "boolean" }, "sbfm_definitely_automated": { - "$ref": "#/$defs/bot-management_sbfm_definitely_automated" + "enum": [ + "allow", + "block", + "managed_challenge" + ], + "type": "string" }, "sbfm_static_resource_protection": { - "$ref": "#/$defs/bot-management_sbfm_static_resource_protection" + "type": "boolean" }, "sbfm_verified_bots": { - "$ref": "#/$defs/bot-management_sbfm_verified_bots" + "enum": [ + "allow", + "block" + ], + "type": "string" }, "stale_zone_configuration": { "properties": { "fight_mode": { - "$ref": "#/$defs/bot-management_fight_mode_turned_on" + "type": "boolean" }, "sbfm_likely_automated": { - "$ref": "#/$defs/bot-management_sbfm_likely_automated_turned_on" + "type": "string" } }, "type": "object" @@ -519,25 +395,6 @@ export const bot$$management_sbfm_definitely_config: JsonSchema = { ] }; -/** - * The schema of `bot-management_sbfm_likely_automated` in responses. - */ -export const bot$$management_sbfm_likely_automated: JsonSchema = { - "enum": [ - "allow", - "block", - "managed_challenge" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_sbfm_likely_automated_turned_on` in responses. - */ -export const bot$$management_sbfm_likely_automated_turned_on: JsonSchema = { - "type": "string" -}; - /** * The schema of `bot-management_sbfm_likely_config` in responses. */ @@ -549,24 +406,38 @@ export const bot$$management_sbfm_likely_config: JsonSchema = { { "properties": { "optimize_wordpress": { - "$ref": "#/$defs/bot-management_optimize_wordpress" + "type": "boolean" }, "sbfm_definitely_automated": { - "$ref": "#/$defs/bot-management_sbfm_definitely_automated" + "enum": [ + "allow", + "block", + "managed_challenge" + ], + "type": "string" }, "sbfm_likely_automated": { - "$ref": "#/$defs/bot-management_sbfm_likely_automated" + "enum": [ + "allow", + "block", + "managed_challenge" + ], + "type": "string" }, "sbfm_static_resource_protection": { - "$ref": "#/$defs/bot-management_sbfm_static_resource_protection" + "type": "boolean" }, "sbfm_verified_bots": { - "$ref": "#/$defs/bot-management_sbfm_verified_bots" + "enum": [ + "allow", + "block" + ], + "type": "string" }, "stale_zone_configuration": { "properties": { "fight_mode": { - "$ref": "#/$defs/bot-management_fight_mode_turned_on" + "type": "boolean" } }, "type": "object" @@ -576,58 +447,3 @@ export const bot$$management_sbfm_likely_config: JsonSchema = { } ] }; - -/** - * The schema of `bot-management_sbfm_static_resource_protection` in responses. - */ -export const bot$$management_sbfm_static_resource_protection: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_sbfm_static_resource_protection_turned_on` in - * responses. - */ -export const bot$$management_sbfm_static_resource_protection_turned_on: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `bot-management_sbfm_verified_bots` in responses. - */ -export const bot$$management_sbfm_verified_bots: JsonSchema = { - "enum": [ - "allow", - "block" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_sbfm_verified_bots_turned_on` in responses. - */ -export const bot$$management_sbfm_verified_bots_turned_on: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `bot-management_suppress_session_score` in responses. - */ -export const bot$$management_suppress_session_score: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_suppress_session_score_turned_off` in - * responses. - */ -export const bot$$management_suppress_session_score_turned_off: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bot-management_using_latest_model` in responses. - */ -export const bot$$management_using_latest_model: JsonSchema = { - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/botManagement/schemas.ts b/src/generated/forge-mcp/botManagement/schemas.ts index bdb3fc40b..33c87c0a2 100644 --- a/src/generated/forge-mcp/botManagement/schemas.ts +++ b/src/generated/forge-mcp/botManagement/schemas.ts @@ -3,19 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `bot-management_ai_agent_action`. - */ -export const bot$$management_ai_agent_action: JsonSchema = { - "description": "Action to apply to one supported personal AI agent.", - "enum": [ - "disabled", - "block", - "only_on_ad_pages" - ], - "type": "string" -}; - /** * The schema of `bot-management_ai_agents`. */ @@ -23,98 +10,54 @@ export const bot$$management_ai_agents: JsonSchema = { "description": "Configure blocking behavior for supported personal AI agents.", "properties": { "anthropic_agent": { - "$ref": "#/$defs/bot-management_ai_agent_action", - "description": "Action to apply to one supported personal AI agent." + "description": "Action to apply to one supported personal AI agent.", + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "google_agent": { - "$ref": "#/$defs/bot-management_ai_agent_action", - "description": "Action to apply to one supported personal AI agent." + "description": "Action to apply to one supported personal AI agent.", + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "instinct": { - "$ref": "#/$defs/bot-management_ai_agent_action", - "description": "Action to apply to one supported personal AI agent." + "description": "Action to apply to one supported personal AI agent.", + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "muse": { - "$ref": "#/$defs/bot-management_ai_agent_action", - "description": "Action to apply to one supported personal AI agent." + "description": "Action to apply to one supported personal AI agent.", + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "openai_agent": { - "$ref": "#/$defs/bot-management_ai_agent_action", - "description": "Action to apply to one supported personal AI agent." + "description": "Action to apply to one supported personal AI agent.", + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `bot-management_ai_bots_migration_opt_out`. - */ -export const bot$$management_ai_bots_migration_opt_out: JsonSchema = { - "description": "Temporary migration flag tracking zones opted out of AI bots managed-rule updates.", - "type": "boolean" -}; - -/** - * The schema of `bot-management_ai_bots_protection`. - */ -export const bot$$management_ai_bots_protection: JsonSchema = { - "description": "Enable rule to block AI Scrapers and Crawlers.", - "enum": [ - "block", - "disabled", - "only_on_ad_pages" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_ai_search`. - */ -export const bot$$management_ai_search: JsonSchema = { - "description": "Configure robots.txt policy for AI search bots.", - "enum": [ - "disabled", - "block", - "only_on_ad_pages" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_ai_training`. - */ -export const bot$$management_ai_training: JsonSchema = { - "description": "Configure robots.txt policy for AI model training bots.", - "enum": [ - "disabled", - "disallow", - "block", - "only_on_ad_pages" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_ai_user`. - */ -export const bot$$management_ai_user: JsonSchema = { - "description": "Configure robots.txt policy for AI assistant and agent bots.", - "enum": [ - "disabled", - "block", - "only_on_ad_pages" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_auto_update_model`. - */ -export const bot$$management_auto_update_model: JsonSchema = { - "description": "Automatically update to the newest bot detection models created by Cloudflare as they are released. [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes)", - "type": "boolean" -}; - /** * The schema of `bot-management_base_config`. */ @@ -126,68 +69,93 @@ export const bot$$management_base_config: JsonSchema = { "description": "Configure blocking behavior for supported personal AI agents." }, "ai_bots_migration_opt_out": { - "$ref": "#/$defs/bot-management_ai_bots_migration_opt_out", "default": false, - "description": "Temporary migration flag tracking zones opted out of AI bots managed-rule updates." + "description": "Temporary migration flag tracking zones opted out of AI bots managed-rule updates.", + "type": "boolean" }, "ai_bots_protection": { - "$ref": "#/$defs/bot-management_ai_bots_protection", - "description": "Enable rule to block AI Scrapers and Crawlers." + "description": "Enable rule to block AI Scrapers and Crawlers.", + "enum": [ + "block", + "disabled", + "only_on_ad_pages" + ], + "type": "string" }, "ai_search": { - "$ref": "#/$defs/bot-management_ai_search", - "description": "Configure robots.txt policy for AI search bots." + "description": "Configure robots.txt policy for AI search bots.", + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "ai_training": { - "$ref": "#/$defs/bot-management_ai_training", - "description": "Configure robots.txt policy for AI model training bots." + "description": "Configure robots.txt policy for AI model training bots.", + "enum": [ + "disabled", + "disallow", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "ai_user": { - "$ref": "#/$defs/bot-management_ai_user", - "description": "Configure robots.txt policy for AI assistant and agent bots." + "description": "Configure robots.txt policy for AI assistant and agent bots.", + "enum": [ + "disabled", + "block", + "only_on_ad_pages" + ], + "type": "string" }, "bot_preference_sync_enabled": { - "$ref": "#/$defs/bot-management_bot_preference_sync_enabled", "default": false, - "description": "Enable Bot Preference Sync for this zone. When enabled, Cloudflare can serve robots.txt content derived from the zone's AI Search, AI User, and AI Training preferences." + "description": "Enable Bot Preference Sync for this zone. When enabled, Cloudflare can serve robots.txt content derived from the zone's AI Search, AI User, and AI Training preferences.", + "type": "boolean" }, "cf_robots_variant": { - "$ref": "#/$defs/bot-management_cf_robots_variant", - "description": "Specifies the Robots Access Control License variant to use." + "description": "Specifies the Robots Access Control License variant to use.", + "enum": [ + "off", + "policy_only" + ], + "type": "string" }, "content_bots_protection": { - "$ref": "#/$defs/bot-management_content_bots_protection", - "description": "Enable rule to block content bots. When enabled, blocks automated traffic with low bot scores, excluding safe verified bot categories. Exceptions should be managed via skip rules." + "description": "Enable rule to block content bots. When enabled, blocks automated traffic with low bot scores, excluding safe verified bot categories. Exceptions should be managed via skip rules.", + "enum": [ + "block", + "disabled" + ], + "type": "string" }, "crawler_protection": { - "$ref": "#/$defs/bot-management_crawler_protection", - "description": "Enable rule to punish AI Scrapers and Crawlers via a link maze." + "description": "Enable rule to punish AI Scrapers and Crawlers via a link maze.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string" }, "enable_js": { - "$ref": "#/$defs/bot-management_enable_js", - "description": "Use lightweight, invisible JavaScript detections to improve Bot Management. [Learn more about JavaScript Detections](https://developers.cloudflare.com/bots/reference/javascript-detections/)." + "description": "Use lightweight, invisible JavaScript detections to improve Bot Management. [Learn more about JavaScript Detections](https://developers.cloudflare.com/bots/reference/javascript-detections/).", + "type": "boolean" }, "is_robots_txt_managed": { - "$ref": "#/$defs/bot-management_is_robots_txt_managed", "default": false, - "description": "Enable cloudflare managed robots.txt. If an existing robots.txt is detected, then managed robots.txt will be prepended to the existing robots.txt." + "description": "Enable cloudflare managed robots.txt. If an existing robots.txt is detected, then managed robots.txt will be prepended to the existing robots.txt.", + "type": "boolean" }, "jsd_api_results_enabled": { - "$ref": "#/$defs/bot-management_jsd_api_results_enabled", - "description": "Whether to use JavaScript Detection results submitted through the API for this zone." + "description": "Whether to use JavaScript Detection results submitted through the API for this zone.", + "type": "boolean" } }, "type": "object" }; -/** - * The schema of `bot-management_bm_cookie_enabled`. - */ -export const bot$$management_bm_cookie_enabled: JsonSchema = { - "description": "Indicates that the bot management cookie can be placed on end user devices accessing the site. Defaults to true", - "type": "boolean" -}; - /** * The schema of `bot-management_bm_subscription_config`. */ @@ -199,16 +167,16 @@ export const bot$$management_bm_subscription_config: JsonSchema = { { "properties": { "auto_update_model": { - "$ref": "#/$defs/bot-management_auto_update_model", - "description": "Automatically update to the newest bot detection models created by Cloudflare as they are released. [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes)" + "description": "Automatically update to the newest bot detection models created by Cloudflare as they are released. [Learn more.](https://developers.cloudflare.com/bots/reference/machine-learning-models#model-versions-and-release-notes)", + "type": "boolean" }, "bm_cookie_enabled": { - "$ref": "#/$defs/bot-management_bm_cookie_enabled", - "description": "Indicates that the bot management cookie can be placed on end user devices accessing the site. Defaults to true" + "description": "Indicates that the bot management cookie can be placed on end user devices accessing the site. Defaults to true", + "type": "boolean" }, "suppress_session_score": { - "$ref": "#/$defs/bot-management_suppress_session_score", - "description": "Whether to disable tracking the highest bot score for a session in the Bot Management cookie." + "description": "Whether to disable tracking the highest bot score for a session in the Bot Management cookie.", + "type": "boolean" } }, "type": "object" @@ -228,8 +196,8 @@ export const bot$$management_bot_fight_mode_config: JsonSchema = { { "properties": { "fight_mode": { - "$ref": "#/$defs/bot-management_fight_mode", - "description": "Whether to enable Bot Fight Mode." + "description": "Whether to enable Bot Fight Mode.", + "type": "boolean" } }, "type": "object" @@ -238,26 +206,6 @@ export const bot$$management_bot_fight_mode_config: JsonSchema = { "description": "Bot Fight Mode" }; -/** - * The schema of `bot-management_bot_preference_sync_enabled`. - */ -export const bot$$management_bot_preference_sync_enabled: JsonSchema = { - "description": "Enable Bot Preference Sync for this zone. When enabled, Cloudflare can serve robots.txt content derived from the zone's AI Search, AI User, and AI Training preferences.", - "type": "boolean" -}; - -/** - * The schema of `bot-management_cf_robots_variant`. - */ -export const bot$$management_cf_robots_variant: JsonSchema = { - "description": "Specifies the Robots Access Control License variant to use.", - "enum": [ - "off", - "policy_only" - ], - "type": "string" -}; - /** * The schema of `bot-management_config_single`. */ @@ -278,91 +226,6 @@ export const bot$$management_config_single: JsonSchema = { ] }; -/** - * The schema of `bot-management_content_bots_protection`. - */ -export const bot$$management_content_bots_protection: JsonSchema = { - "description": "Enable rule to block content bots. When enabled, blocks automated traffic with low bot scores, excluding safe verified bot categories. Exceptions should be managed via skip rules.", - "enum": [ - "block", - "disabled" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_crawler_protection`. - */ -export const bot$$management_crawler_protection: JsonSchema = { - "description": "Enable rule to punish AI Scrapers and Crawlers via a link maze.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_enable_js`. - */ -export const bot$$management_enable_js: JsonSchema = { - "description": "Use lightweight, invisible JavaScript detections to improve Bot Management. [Learn more about JavaScript Detections](https://developers.cloudflare.com/bots/reference/javascript-detections/).", - "type": "boolean" -}; - -/** - * The schema of `bot-management_fight_mode`. - */ -export const bot$$management_fight_mode: JsonSchema = { - "description": "Whether to enable Bot Fight Mode.", - "type": "boolean" -}; - -/** - * The schema of `bot-management_identifier`. - */ -export const bot$$management_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `bot-management_is_robots_txt_managed`. - */ -export const bot$$management_is_robots_txt_managed: JsonSchema = { - "description": "Enable cloudflare managed robots.txt. If an existing robots.txt is detected, then managed robots.txt will be prepended to the existing robots.txt.", - "type": "boolean" -}; - -/** - * The schema of `bot-management_jsd_api_results_enabled`. - */ -export const bot$$management_jsd_api_results_enabled: JsonSchema = { - "description": "Whether to use JavaScript Detection results submitted through the API for this zone.", - "type": "boolean" -}; - -/** - * The schema of `bot-management_optimize_wordpress`. - */ -export const bot$$management_optimize_wordpress: JsonSchema = { - "description": "Whether to optimize Super Bot Fight Mode protections for Wordpress.", - "type": "boolean" -}; - -/** - * The schema of `bot-management_sbfm_definitely_automated`. - */ -export const bot$$management_sbfm_definitely_automated: JsonSchema = { - "description": "Super Bot Fight Mode (SBFM) action to take on definitely automated requests.", - "enum": [ - "allow", - "block", - "managed_challenge" - ], - "type": "string" -}; - /** * The schema of `bot-management_sbfm_definitely_config`. */ @@ -374,20 +237,29 @@ export const bot$$management_sbfm_definitely_config: JsonSchema = { { "properties": { "optimize_wordpress": { - "$ref": "#/$defs/bot-management_optimize_wordpress", - "description": "Whether to optimize Super Bot Fight Mode protections for Wordpress." + "description": "Whether to optimize Super Bot Fight Mode protections for Wordpress.", + "type": "boolean" }, "sbfm_definitely_automated": { - "$ref": "#/$defs/bot-management_sbfm_definitely_automated", - "description": "Super Bot Fight Mode (SBFM) action to take on definitely automated requests." + "description": "Super Bot Fight Mode (SBFM) action to take on definitely automated requests.", + "enum": [ + "allow", + "block", + "managed_challenge" + ], + "type": "string" }, "sbfm_static_resource_protection": { - "$ref": "#/$defs/bot-management_sbfm_static_resource_protection", - "description": "Super Bot Fight Mode (SBFM) to enable static resource protection.\nEnable if static resources on your application need bot protection.\nNote: Static resource protection can also result in legitimate traffic being blocked.\n" + "description": "Super Bot Fight Mode (SBFM) to enable static resource protection.\nEnable if static resources on your application need bot protection.\nNote: Static resource protection can also result in legitimate traffic being blocked.", + "type": "boolean" }, "sbfm_verified_bots": { - "$ref": "#/$defs/bot-management_sbfm_verified_bots", - "description": "Super Bot Fight Mode (SBFM) action to take on verified bots requests." + "description": "Super Bot Fight Mode (SBFM) action to take on verified bots requests.", + "enum": [ + "allow", + "block" + ], + "type": "string" } }, "type": "object" @@ -396,19 +268,6 @@ export const bot$$management_sbfm_definitely_config: JsonSchema = { "description": "SBFM Pro Plan" }; -/** - * The schema of `bot-management_sbfm_likely_automated`. - */ -export const bot$$management_sbfm_likely_automated: JsonSchema = { - "description": "Super Bot Fight Mode (SBFM) action to take on likely automated requests.", - "enum": [ - "allow", - "block", - "managed_challenge" - ], - "type": "string" -}; - /** * The schema of `bot-management_sbfm_likely_config`. */ @@ -420,24 +279,38 @@ export const bot$$management_sbfm_likely_config: JsonSchema = { { "properties": { "optimize_wordpress": { - "$ref": "#/$defs/bot-management_optimize_wordpress", - "description": "Whether to optimize Super Bot Fight Mode protections for Wordpress." + "description": "Whether to optimize Super Bot Fight Mode protections for Wordpress.", + "type": "boolean" }, "sbfm_definitely_automated": { - "$ref": "#/$defs/bot-management_sbfm_definitely_automated", - "description": "Super Bot Fight Mode (SBFM) action to take on definitely automated requests." + "description": "Super Bot Fight Mode (SBFM) action to take on definitely automated requests.", + "enum": [ + "allow", + "block", + "managed_challenge" + ], + "type": "string" }, "sbfm_likely_automated": { - "$ref": "#/$defs/bot-management_sbfm_likely_automated", - "description": "Super Bot Fight Mode (SBFM) action to take on likely automated requests." + "description": "Super Bot Fight Mode (SBFM) action to take on likely automated requests.", + "enum": [ + "allow", + "block", + "managed_challenge" + ], + "type": "string" }, "sbfm_static_resource_protection": { - "$ref": "#/$defs/bot-management_sbfm_static_resource_protection", - "description": "Super Bot Fight Mode (SBFM) to enable static resource protection.\nEnable if static resources on your application need bot protection.\nNote: Static resource protection can also result in legitimate traffic being blocked.\n" + "description": "Super Bot Fight Mode (SBFM) to enable static resource protection.\nEnable if static resources on your application need bot protection.\nNote: Static resource protection can also result in legitimate traffic being blocked.", + "type": "boolean" }, "sbfm_verified_bots": { - "$ref": "#/$defs/bot-management_sbfm_verified_bots", - "description": "Super Bot Fight Mode (SBFM) action to take on verified bots requests." + "description": "Super Bot Fight Mode (SBFM) action to take on verified bots requests.", + "enum": [ + "allow", + "block" + ], + "type": "string" } }, "type": "object" @@ -445,31 +318,3 @@ export const bot$$management_sbfm_likely_config: JsonSchema = { ], "description": "SBFM Biz Plan" }; - -/** - * The schema of `bot-management_sbfm_static_resource_protection`. - */ -export const bot$$management_sbfm_static_resource_protection: JsonSchema = { - "description": "Super Bot Fight Mode (SBFM) to enable static resource protection.\nEnable if static resources on your application need bot protection.\nNote: Static resource protection can also result in legitimate traffic being blocked.\n", - "type": "boolean" -}; - -/** - * The schema of `bot-management_sbfm_verified_bots`. - */ -export const bot$$management_sbfm_verified_bots: JsonSchema = { - "description": "Super Bot Fight Mode (SBFM) action to take on verified bots requests.", - "enum": [ - "allow", - "block" - ], - "type": "string" -}; - -/** - * The schema of `bot-management_suppress_session_score`. - */ -export const bot$$management_suppress_session_score: JsonSchema = { - "description": "Whether to disable tracking the highest bot score for a session in the Bot Management cookie.", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/botManagement/tools.ts b/src/generated/forge-mcp/botManagement/tools.ts index 19a1b9ce4..9012b2fc3 100644 --- a/src/generated/forge-mcp/botManagement/tools.ts +++ b/src/generated/forge-mcp/botManagement/tools.ts @@ -3,78 +3,25 @@ import { type Tool, pathParam } from "../_/tool.js"; import { - bot$$management_ai_agent_action, bot$$management_ai_agents, - bot$$management_ai_bots_migration_opt_out, - bot$$management_ai_bots_protection, - bot$$management_ai_search, - bot$$management_ai_training, - bot$$management_ai_user, bot$$management_api$$response$$common$$failure, bot$$management_api$$response$$single, - bot$$management_auto_update_model, bot$$management_base_config, - bot$$management_bm_cookie_enabled, bot$$management_bm_subscription_config, bot$$management_bot_fight_mode_config, bot$$management_bot_management_response_body, - bot$$management_bot_preference_sync_enabled, - bot$$management_cf_robots_variant, - bot$$management_content_bots_protection, - bot$$management_crawler_protection, - bot$$management_enable_js, - bot$$management_fight_mode, - bot$$management_fight_mode_turned_on, - bot$$management_is_robots_txt_managed, - bot$$management_jsd_api_results_enabled, bot$$management_messages, - bot$$management_optimize_wordpress, - bot$$management_optimize_wordpress_turned_on, - bot$$management_sbfm_definitely_automated, - bot$$management_sbfm_definitely_automated_turned_on, bot$$management_sbfm_definitely_config, - bot$$management_sbfm_likely_automated, - bot$$management_sbfm_likely_automated_turned_on, bot$$management_sbfm_likely_config, - bot$$management_sbfm_static_resource_protection, - bot$$management_sbfm_static_resource_protection_turned_on, - bot$$management_sbfm_verified_bots, - bot$$management_sbfm_verified_bots_turned_on, - bot$$management_suppress_session_score, - bot$$management_suppress_session_score_turned_off, - bot$$management_using_latest_model, } from "./outputs.js"; import { - bot$$management_ai_agent_action as bot$$management_ai_agent_action$, bot$$management_ai_agents as bot$$management_ai_agents$, - bot$$management_ai_bots_migration_opt_out as bot$$management_ai_bots_migration_opt_out$, - bot$$management_ai_bots_protection as bot$$management_ai_bots_protection$, - bot$$management_ai_search as bot$$management_ai_search$, - bot$$management_ai_training as bot$$management_ai_training$, - bot$$management_ai_user as bot$$management_ai_user$, - bot$$management_auto_update_model as bot$$management_auto_update_model$, bot$$management_base_config as bot$$management_base_config$, - bot$$management_bm_cookie_enabled as bot$$management_bm_cookie_enabled$, bot$$management_bm_subscription_config as bot$$management_bm_subscription_config$, bot$$management_bot_fight_mode_config as bot$$management_bot_fight_mode_config$, - bot$$management_bot_preference_sync_enabled as bot$$management_bot_preference_sync_enabled$, - bot$$management_cf_robots_variant as bot$$management_cf_robots_variant$, bot$$management_config_single, - bot$$management_content_bots_protection as bot$$management_content_bots_protection$, - bot$$management_crawler_protection as bot$$management_crawler_protection$, - bot$$management_enable_js as bot$$management_enable_js$, - bot$$management_fight_mode as bot$$management_fight_mode$, - bot$$management_identifier, - bot$$management_is_robots_txt_managed as bot$$management_is_robots_txt_managed$, - bot$$management_jsd_api_results_enabled as bot$$management_jsd_api_results_enabled$, - bot$$management_optimize_wordpress as bot$$management_optimize_wordpress$, - bot$$management_sbfm_definitely_automated as bot$$management_sbfm_definitely_automated$, bot$$management_sbfm_definitely_config as bot$$management_sbfm_definitely_config$, - bot$$management_sbfm_likely_automated as bot$$management_sbfm_likely_automated$, bot$$management_sbfm_likely_config as bot$$management_sbfm_likely_config$, - bot$$management_sbfm_static_resource_protection as bot$$management_sbfm_static_resource_protection$, - bot$$management_sbfm_verified_bots as bot$$management_sbfm_verified_bots$, - bot$$management_suppress_session_score as bot$$management_suppress_session_score$, } from "./schemas.js"; /** @@ -84,15 +31,16 @@ export const tools: readonly Tool[] = [ { name: "botManagement_get", title: "Get Zone Bot Management Config", - description: "Retrieve a zone's Bot Management Config", + description: "Retrieve a zone's Bot Management Config\n\nGET /zones/{zone_id}/bot_management", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bot-management_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -104,52 +52,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bot-management_identifier": bot$$management_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bot-management_bot_management_response_body", $defs: { - "bot-management_ai_agent_action": bot$$management_ai_agent_action, "bot-management_ai_agents": bot$$management_ai_agents, - "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out, - "bot-management_ai_bots_protection": bot$$management_ai_bots_protection, - "bot-management_ai_search": bot$$management_ai_search, - "bot-management_ai_training": bot$$management_ai_training, - "bot-management_ai_user": bot$$management_ai_user, "bot-management_api-response-single": bot$$management_api$$response$$single, - "bot-management_auto_update_model": bot$$management_auto_update_model, "bot-management_base_config": bot$$management_base_config, - "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled, "bot-management_bm_subscription_config": bot$$management_bm_subscription_config, "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config, "bot-management_bot_management_response_body": bot$$management_bot_management_response_body, - "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled, - "bot-management_cf_robots_variant": bot$$management_cf_robots_variant, - "bot-management_content_bots_protection": bot$$management_content_bots_protection, - "bot-management_crawler_protection": bot$$management_crawler_protection, - "bot-management_enable_js": bot$$management_enable_js, - "bot-management_fight_mode": bot$$management_fight_mode, - "bot-management_fight_mode_turned_on": bot$$management_fight_mode_turned_on, - "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed, - "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled, "bot-management_messages": bot$$management_messages, - "bot-management_optimize_wordpress": bot$$management_optimize_wordpress, - "bot-management_optimize_wordpress_turned_on": bot$$management_optimize_wordpress_turned_on, - "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated, - "bot-management_sbfm_definitely_automated_turned_on": bot$$management_sbfm_definitely_automated_turned_on, "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config, - "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated, - "bot-management_sbfm_likely_automated_turned_on": bot$$management_sbfm_likely_automated_turned_on, "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config, - "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection, - "bot-management_sbfm_static_resource_protection_turned_on": bot$$management_sbfm_static_resource_protection_turned_on, - "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots, - "bot-management_sbfm_verified_bots_turned_on": bot$$management_sbfm_verified_bots_turned_on, - "bot-management_suppress_session_score": bot$$management_suppress_session_score, - "bot-management_suppress_session_score_turned_off": bot$$management_suppress_session_score_turned_off, - "bot-management_using_latest_model": bot$$management_using_latest_model, }, }, annotations: { @@ -183,46 +99,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bot-management_ai_agent_action": bot$$management_ai_agent_action, "bot-management_ai_agents": bot$$management_ai_agents, - "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out, - "bot-management_ai_bots_protection": bot$$management_ai_bots_protection, - "bot-management_ai_search": bot$$management_ai_search, - "bot-management_ai_training": bot$$management_ai_training, - "bot-management_ai_user": bot$$management_ai_user, "bot-management_api-response-common-failure": bot$$management_api$$response$$common$$failure, "bot-management_api-response-single": bot$$management_api$$response$$single, - "bot-management_auto_update_model": bot$$management_auto_update_model, "bot-management_base_config": bot$$management_base_config, - "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled, "bot-management_bm_subscription_config": bot$$management_bm_subscription_config, "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config, "bot-management_bot_management_response_body": bot$$management_bot_management_response_body, - "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled, - "bot-management_cf_robots_variant": bot$$management_cf_robots_variant, - "bot-management_content_bots_protection": bot$$management_content_bots_protection, - "bot-management_crawler_protection": bot$$management_crawler_protection, - "bot-management_enable_js": bot$$management_enable_js, - "bot-management_fight_mode": bot$$management_fight_mode, - "bot-management_fight_mode_turned_on": bot$$management_fight_mode_turned_on, - "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed, - "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled, "bot-management_messages": bot$$management_messages, - "bot-management_optimize_wordpress": bot$$management_optimize_wordpress, - "bot-management_optimize_wordpress_turned_on": bot$$management_optimize_wordpress_turned_on, - "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated, - "bot-management_sbfm_definitely_automated_turned_on": bot$$management_sbfm_definitely_automated_turned_on, "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config, - "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated, - "bot-management_sbfm_likely_automated_turned_on": bot$$management_sbfm_likely_automated_turned_on, "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config, - "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection, - "bot-management_sbfm_static_resource_protection_turned_on": bot$$management_sbfm_static_resource_protection_turned_on, - "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots, - "bot-management_sbfm_verified_bots_turned_on": bot$$management_sbfm_verified_bots_turned_on, - "bot-management_suppress_session_score": bot$$management_suppress_session_score, - "bot-management_suppress_session_score_turned_off": bot$$management_suppress_session_score_turned_off, - "bot-management_using_latest_model": bot$$management_using_latest_model, }, }, request: (args) => ({ @@ -232,7 +118,7 @@ export const tools: readonly Tool[] = [ { name: "botManagement_update", title: "Update Zone Bot Management Config", - description: "Updates the Bot Management configuration for a zone.\n\nThis API is used to update:\n- **Bot Fight Mode**\n- **Super Bot Fight Mode**\n- **Bot Management for Enterprise**\n\nSee [Bot Plans](https://developers.cloudflare.com/bots/plans/) for more information on the different plans\n\\\nIf you recently upgraded or downgraded your plan, refer to the following examples to clean up old configurations.\nCopy and paste the example body to remove old zone configurations based on your current plan.\n#### Clean up configuration for Bot Fight Mode plan\n```json\n{\n \"sbfm_likely_automated\": \"allow\",\n \"sbfm_definitely_automated\": \"allow\",\n \"sbfm_verified_bots\": \"allow\",\n \"sbfm_static_resource_protection\": false,\n \"optimize_wordpress\": false,\n \"suppress_session_score\": false\n}\n```\n#### Clean up configuration for SBFM Pro plan\n```json\n{\n \"sbfm_likely_automated\": \"allow\",\n \"fight_mode\": false\n}\n```\n#### Clean up configuration for SBFM Biz plan\n```json\n{\n \"fight_mode\": false\n}\n```\n#### Clean up configuration for BM Enterprise Subscription plan\nIt is strongly recommended that you ensure you have [custom rules](https://developers.cloudflare.com/waf/custom-rules/) in place to protect your zone before disabling the SBFM rules. Without these protections, your zone is vulnerable to attacks.\n```json\n{\n \"sbfm_likely_automated\": \"allow\",\n \"sbfm_definitely_automated\": \"allow\",\n \"sbfm_verified_bots\": \"allow\",\n \"sbfm_static_resource_protection\": false,\n \"optimize_wordpress\": false,\n \"fight_mode\": false\n}\n```", + description: "Updates the Bot Management configuration for a zone.\n\nThis API is used to update:\n- **Bot Fight Mode**\n- **Super Bot Fight Mode**\n- **Bot Management for Enterprise**\n\nSee [Bot Plans](https://developers.cloudflare.com/bots/plans/) for more information on the different plans\n\\\nIf you recently upgraded or downgraded your plan, refer to the following examples to clean up old configurations.\nCopy and paste the example body to remove old zone configurations based on your current plan.\n#### Clean up configuration for Bot Fight Mode plan\n```json\n{\n \"sbfm_likely_automated\": \"allow\",\n \"sbfm_definitely_automated\": \"allow\",\n \"sbfm_verified_bots\": \"allow\",\n \"sbfm_static_resource_protection\": false,\n \"optimize_wordpress\": false,\n \"suppress_session_score\": false\n}\n```\n#### Clean up configuration for SBFM Pro plan\n```json\n{\n \"sbfm_likely_automated\": \"allow\",\n \"fight_mode\": false\n}\n```\n#### Clean up configuration for SBFM Biz plan\n```json\n{\n \"fight_mode\": false\n}\n```\n#### Clean up configuration for BM Enterprise Subscription plan\nIt is strongly recommended that you ensure you have [custom rules](https://developers.cloudflare.com/waf/custom-rules/) in place to protect your zone before disabling the SBFM rules. Without these protections, your zone is vulnerable to attacks.\n```json\n{\n \"sbfm_likely_automated\": \"allow\",\n \"sbfm_definitely_automated\": \"allow\",\n \"sbfm_verified_bots\": \"allow\",\n \"sbfm_static_resource_protection\": false,\n \"optimize_wordpress\": false,\n \"fight_mode\": false\n}\n```\n\nPUT /zones/{zone_id}/bot_management", inputSchema: { type: "object", properties: { @@ -240,10 +126,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bot-management_config_single" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bot-management_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -256,81 +143,29 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "bot-management_ai_agent_action": bot$$management_ai_agent_action$, "bot-management_ai_agents": bot$$management_ai_agents$, - "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out$, - "bot-management_ai_bots_protection": bot$$management_ai_bots_protection$, - "bot-management_ai_search": bot$$management_ai_search$, - "bot-management_ai_training": bot$$management_ai_training$, - "bot-management_ai_user": bot$$management_ai_user$, - "bot-management_auto_update_model": bot$$management_auto_update_model$, "bot-management_base_config": bot$$management_base_config$, - "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled$, "bot-management_bm_subscription_config": bot$$management_bm_subscription_config$, "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config$, - "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled$, - "bot-management_cf_robots_variant": bot$$management_cf_robots_variant$, "bot-management_config_single": bot$$management_config_single, - "bot-management_content_bots_protection": bot$$management_content_bots_protection$, - "bot-management_crawler_protection": bot$$management_crawler_protection$, - "bot-management_enable_js": bot$$management_enable_js$, - "bot-management_fight_mode": bot$$management_fight_mode$, - "bot-management_identifier": bot$$management_identifier, - "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed$, - "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled$, - "bot-management_optimize_wordpress": bot$$management_optimize_wordpress$, - "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated$, "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config$, - "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated$, "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config$, - "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection$, - "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots$, - "bot-management_suppress_session_score": bot$$management_suppress_session_score$, }, }, outputSchema: { "$ref": "#/$defs/bot-management_bot_management_response_body", $defs: { - "bot-management_ai_agent_action": bot$$management_ai_agent_action, "bot-management_ai_agents": bot$$management_ai_agents, - "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out, - "bot-management_ai_bots_protection": bot$$management_ai_bots_protection, - "bot-management_ai_search": bot$$management_ai_search, - "bot-management_ai_training": bot$$management_ai_training, - "bot-management_ai_user": bot$$management_ai_user, "bot-management_api-response-single": bot$$management_api$$response$$single, - "bot-management_auto_update_model": bot$$management_auto_update_model, "bot-management_base_config": bot$$management_base_config, - "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled, "bot-management_bm_subscription_config": bot$$management_bm_subscription_config, "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config, "bot-management_bot_management_response_body": bot$$management_bot_management_response_body, - "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled, - "bot-management_cf_robots_variant": bot$$management_cf_robots_variant, - "bot-management_content_bots_protection": bot$$management_content_bots_protection, - "bot-management_crawler_protection": bot$$management_crawler_protection, - "bot-management_enable_js": bot$$management_enable_js, - "bot-management_fight_mode": bot$$management_fight_mode, - "bot-management_fight_mode_turned_on": bot$$management_fight_mode_turned_on, - "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed, - "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled, "bot-management_messages": bot$$management_messages, - "bot-management_optimize_wordpress": bot$$management_optimize_wordpress, - "bot-management_optimize_wordpress_turned_on": bot$$management_optimize_wordpress_turned_on, - "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated, - "bot-management_sbfm_definitely_automated_turned_on": bot$$management_sbfm_definitely_automated_turned_on, "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config, - "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated, - "bot-management_sbfm_likely_automated_turned_on": bot$$management_sbfm_likely_automated_turned_on, "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config, - "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection, - "bot-management_sbfm_static_resource_protection_turned_on": bot$$management_sbfm_static_resource_protection_turned_on, - "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots, - "bot-management_sbfm_verified_bots_turned_on": bot$$management_sbfm_verified_bots_turned_on, - "bot-management_suppress_session_score": bot$$management_suppress_session_score, - "bot-management_suppress_session_score_turned_off": bot$$management_suppress_session_score_turned_off, - "bot-management_using_latest_model": bot$$management_using_latest_model, }, }, annotations: { @@ -363,46 +198,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "bot-management_ai_agent_action": bot$$management_ai_agent_action, "bot-management_ai_agents": bot$$management_ai_agents, - "bot-management_ai_bots_migration_opt_out": bot$$management_ai_bots_migration_opt_out, - "bot-management_ai_bots_protection": bot$$management_ai_bots_protection, - "bot-management_ai_search": bot$$management_ai_search, - "bot-management_ai_training": bot$$management_ai_training, - "bot-management_ai_user": bot$$management_ai_user, "bot-management_api-response-common-failure": bot$$management_api$$response$$common$$failure, "bot-management_api-response-single": bot$$management_api$$response$$single, - "bot-management_auto_update_model": bot$$management_auto_update_model, "bot-management_base_config": bot$$management_base_config, - "bot-management_bm_cookie_enabled": bot$$management_bm_cookie_enabled, "bot-management_bm_subscription_config": bot$$management_bm_subscription_config, "bot-management_bot_fight_mode_config": bot$$management_bot_fight_mode_config, "bot-management_bot_management_response_body": bot$$management_bot_management_response_body, - "bot-management_bot_preference_sync_enabled": bot$$management_bot_preference_sync_enabled, - "bot-management_cf_robots_variant": bot$$management_cf_robots_variant, - "bot-management_content_bots_protection": bot$$management_content_bots_protection, - "bot-management_crawler_protection": bot$$management_crawler_protection, - "bot-management_enable_js": bot$$management_enable_js, - "bot-management_fight_mode": bot$$management_fight_mode, - "bot-management_fight_mode_turned_on": bot$$management_fight_mode_turned_on, - "bot-management_is_robots_txt_managed": bot$$management_is_robots_txt_managed, - "bot-management_jsd_api_results_enabled": bot$$management_jsd_api_results_enabled, "bot-management_messages": bot$$management_messages, - "bot-management_optimize_wordpress": bot$$management_optimize_wordpress, - "bot-management_optimize_wordpress_turned_on": bot$$management_optimize_wordpress_turned_on, - "bot-management_sbfm_definitely_automated": bot$$management_sbfm_definitely_automated, - "bot-management_sbfm_definitely_automated_turned_on": bot$$management_sbfm_definitely_automated_turned_on, "bot-management_sbfm_definitely_config": bot$$management_sbfm_definitely_config, - "bot-management_sbfm_likely_automated": bot$$management_sbfm_likely_automated, - "bot-management_sbfm_likely_automated_turned_on": bot$$management_sbfm_likely_automated_turned_on, "bot-management_sbfm_likely_config": bot$$management_sbfm_likely_config, - "bot-management_sbfm_static_resource_protection": bot$$management_sbfm_static_resource_protection, - "bot-management_sbfm_static_resource_protection_turned_on": bot$$management_sbfm_static_resource_protection_turned_on, - "bot-management_sbfm_verified_bots": bot$$management_sbfm_verified_bots, - "bot-management_sbfm_verified_bots_turned_on": bot$$management_sbfm_verified_bots_turned_on, - "bot-management_suppress_session_score": bot$$management_suppress_session_score, - "bot-management_suppress_session_score_turned_off": bot$$management_suppress_session_score_turned_off, - "bot-management_using_latest_model": bot$$management_using_latest_model, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/botnetFeed/asn/schemas.ts b/src/generated/forge-mcp/botnetFeed/asn/schemas.ts deleted file mode 100644 index 85c514e2a..000000000 --- a/src/generated/forge-mcp/botnetFeed/asn/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `botnet-feed-api_timestamp`. - */ -export const botnet$$feed$$api_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/botnetFeed/asn/tools.ts b/src/generated/forge-mcp/botnetFeed/asn/tools.ts index af407ffeb..cec0feef5 100644 --- a/src/generated/forge-mcp/botnetFeed/asn/tools.ts +++ b/src/generated/forge-mcp/botnetFeed/asn/tools.ts @@ -7,11 +7,6 @@ import { botnet$$feed$$api_api$$response$$common$$failure, botnet$$feed$$api_messages, } from "../outputs.js"; -import { - botnet$$feed$$api_asn, - botnet$$feed$$api_identifier, -} from "../schemas.js"; -import { botnet$$feed$$api_timestamp } from "./schemas.js"; /** * The tools of `botnetFeed.asn`. @@ -20,18 +15,19 @@ export const tools: readonly Tool[] = [ { name: "botnetFeed_asn_dayReport", title: "Get daily report", - description: "Gets all the data the botnet tracking database has for a given ASN registered to user account for given date. If no date is given, it will return results for the previous day.", + description: "Gets all the data the botnet tracking database has for a given ASN registered to user account for given date. If no date is given, it will return results for the previous day.\n\nGET /accounts/{account_id}/botnet_feed/asn/{asn_id}/day_report", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/botnet-feed-api_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "asn_id": { - "$ref": "#/$defs/botnet-feed-api_asn" + "type": "integer" } }, "required": [ @@ -41,9 +37,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "date": { - "$ref": "#/$defs/botnet-feed-api_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -52,11 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "botnet-feed-api_asn": botnet$$feed$$api_asn, - "botnet-feed-api_identifier": botnet$$feed$$api_identifier, - "botnet-feed-api_timestamp": botnet$$feed$$api_timestamp, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -153,18 +147,19 @@ export const tools: readonly Tool[] = [ { name: "botnetFeed_asn_fullReport", title: "Get full report", - description: "Gets all the data the botnet threat feed tracking database has for a given ASN registered to user account.", + description: "Gets all the data the botnet threat feed tracking database has for a given ASN registered to user account.\n\nGET /accounts/{account_id}/botnet_feed/asn/{asn_id}/full_report", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/botnet-feed-api_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "asn_id": { - "$ref": "#/$defs/botnet-feed-api_asn" + "type": "integer" } }, "required": [ @@ -177,10 +172,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "botnet-feed-api_asn": botnet$$feed$$api_asn, - "botnet-feed-api_identifier": botnet$$feed$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts b/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts index 09e14c047..cab3c4f93 100644 --- a/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts +++ b/src/generated/forge-mcp/botnetFeed/configs/asn/tools.ts @@ -7,10 +7,6 @@ import { botnet$$feed$$api_api$$response$$common$$failure, botnet$$feed$$api_messages, } from "../../outputs.js"; -import { - botnet$$feed$$api_asn, - botnet$$feed$$api_identifier, -} from "../../schemas.js"; /** * The tools of `botnetFeed.configs.asn`. @@ -19,18 +15,19 @@ export const tools: readonly Tool[] = [ { name: "botnetFeed_configs_asn_delete", title: "Delete an ASN", - description: "Delete an ASN from botnet threat feed for a given user.", + description: "Delete an ASN from botnet threat feed for a given user.\n\nDELETE /accounts/{account_id}/botnet_feed/configs/asn/{asn_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/botnet-feed-api_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "asn_id": { - "$ref": "#/$defs/botnet-feed-api_asn" + "type": "integer" } }, "required": [ @@ -43,10 +40,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "botnet-feed-api_asn": botnet$$feed$$api_asn, - "botnet-feed-api_identifier": botnet$$feed$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -125,15 +119,16 @@ export const tools: readonly Tool[] = [ { name: "botnetFeed_configs_asn_get", title: "Get list of ASNs", - description: "Gets a list of all ASNs registered for a user for the DDoS Botnet Feed API.", + description: "Gets a list of all ASNs registered for a user for the DDoS Botnet Feed API.\n\nGET /accounts/{account_id}/botnet_feed/configs/asn", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/botnet-feed-api_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -145,9 +140,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "botnet-feed-api_identifier": botnet$$feed$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/botnetFeed/schemas.ts b/src/generated/forge-mcp/botnetFeed/schemas.ts deleted file mode 100644 index b5326ad04..000000000 --- a/src/generated/forge-mcp/botnetFeed/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 `botnet-feed-api_asn`. - */ -export const botnet$$feed$$api_asn: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `botnet-feed-api_identifier`. - */ -export const botnet$$feed$$api_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts b/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts index 90e5e42bd..a0175baee 100644 --- a/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts +++ b/src/generated/forge-mcp/brandProtection/logoMatches/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_logoMatches_get", title: "List logo matches", - description: "Get paginated list of logo matches for a specific brand protection logo query", + description: "Get paginated list of logo matches for a specific brand protection logo query\n\nGET /accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/matches", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -26,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "download": { "type": "string" @@ -70,6 +72,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/brandProtection/logos/tools.ts b/src/generated/forge-mcp/brandProtection/logos/tools.ts index b85d0ddd7..daecb2973 100644 --- a/src/generated/forge-mcp/brandProtection/logos/tools.ts +++ b/src/generated/forge-mcp/brandProtection/logos/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_logos_create", title: "Insert logo query", - description: "Create a new saved brand protection logo query for visual similarity matching", + description: "Create a new saved brand protection logo query for visual similarity matching\n\nPOST /accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/queries", inputSchema: { type: "object", properties: { @@ -42,6 +42,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -56,6 +57,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -120,11 +122,12 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_logos_delete", title: "Delete logo query", - description: "Delete a saved brand protection logo query. Returns 404 if the query ID doesn't exist.", + description: "Delete a saved brand protection logo query. Returns 404 if the query ID doesn't exist.\n\nDELETE /accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/queries/{query_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -143,6 +146,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -200,11 +204,12 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_logos_get", title: "Get logo queries", - description: "Get all saved brand protection logo queries for an account. Optionally specify id to get a single query. Set download=true to include base64-encoded image data.", + description: "Get all saved brand protection logo queries for an account. Optionally specify id to get a single query. Set download=true to include base64-encoded image data.\n\nGET /accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/queries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -216,6 +221,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "download": { "description": "If true, include base64-encoded image data in the response", @@ -232,6 +238,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/brandProtection/matches/tools.ts b/src/generated/forge-mcp/brandProtection/matches/tools.ts index ff88bafac..0a466855a 100644 --- a/src/generated/forge-mcp/brandProtection/matches/tools.ts +++ b/src/generated/forge-mcp/brandProtection/matches/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_matches_bulkDismiss", title: "Bulk dismiss or undismiss matches", - description: "Dismiss or undismiss multiple matches in a single request. Accepts either the new format (matches: [{query_id, domain_id}]) for per-query control, or the legacy format (match_ids: [number]) which dismisses for all queries sharing each match's hash. Returns per-item success/error results.", + description: "Dismiss or undismiss multiple matches in a single request. Accepts either the new format (matches: [{query_id, domain_id}]) for per-query control, or the legacy format (match_ids: [number]) which dismisses for all queries sharing each match's hash. Returns per-item success/error results.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/brand-protection/domain/matches/bulk-dismiss", inputSchema: { type: "object", properties: { @@ -58,6 +58,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -72,6 +73,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "anyOf": [ @@ -280,11 +282,12 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_matches_get", title: "List saved query matches", - description: "Get paginated list of domain matches for one or more brand protection queries. When multiple query_ids are provided (comma-separated), matches are deduplicated across queries and each match includes a match_details array with per-match query metadata and individual dismissed state.", + description: "Get paginated list of domain matches for one or more brand protection queries. When multiple query_ids are provided (comma-separated), matches are deduplicated across queries and each match includes a match_details array with per-match query metadata and individual dismissed state.\n\nGET /accounts/{account_id}/cloudforce-one/v2/brand-protection/domain/matches", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -296,6 +299,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "domain_search": { "description": "Filter matches by domain name (substring match)", @@ -351,6 +355,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/brandProtection/queries/tools.ts b/src/generated/forge-mcp/brandProtection/queries/tools.ts index 2d2048faf..2155609c0 100644 --- a/src/generated/forge-mcp/brandProtection/queries/tools.ts +++ b/src/generated/forge-mcp/brandProtection/queries/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_queries_dismiss", title: "Dismiss a match", - description: "Mark a specific domain as dismissed for a given query. Dismissals are per-query — dismissing a domain in one query does not affect other queries.", + description: "Mark a specific domain as dismissed for a given query. Dismissals are per-query — dismissing a domain in one query does not affect other queries.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/brand-protection/queries/{query_id}/matches/{domain_id}/dismiss", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -37,6 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -126,11 +128,12 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_queries_get", title: "Get queries", - description: "Get all saved brand protection queries for an account", + description: "Get all saved brand protection queries for an account\n\nGET /accounts/{account_id}/cloudforce-one/v2/brand-protection/domain/queries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -142,6 +145,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "id": { "type": "string" @@ -161,6 +165,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -630,11 +635,12 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_queries_undismiss", title: "Undismiss a match", - description: "Remove the dismissed status from a specific domain for a given query. Undismissals are per-query — undismissing a domain in one query does not affect other queries.", + description: "Remove the dismissed status from a specific domain for a given query. Undismissals are per-query — undismissing a domain in one query does not affect other queries.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/brand-protection/queries/{query_id}/matches/{domain_id}/undismiss", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -657,6 +663,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/brandProtection/tools.ts b/src/generated/forge-mcp/brandProtection/tools.ts index 3c4f38326..7d42c1b87 100644 --- a/src/generated/forge-mcp/brandProtection/tools.ts +++ b/src/generated/forge-mcp/brandProtection/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_submit", title: "Search scanned images", - description: "Submit an image and find the n closest matches from the scanned images index without creating any match records. Returns similarity scores and metadata for each match.", + description: "Submit an image and find the n closest matches from the scanned images index without creating any match records. Returns similarity scores and metadata for each match.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/brand-protection/logo/search", inputSchema: { type: "object", properties: { @@ -37,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "download": { "description": "If true, include base64-encoded image data in the response", @@ -65,6 +67,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -207,11 +210,12 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_urlInfo", title: "Get total queries", - description: "Get the total number of saved brand protection queries (domain + logo) for an account", + description: "Get the total number of saved brand protection queries (domain + logo) for an account\n\nGET /accounts/{account_id}/cloudforce-one/v2/brand-protection/total-queries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -226,6 +230,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/brandProtection/trial/tools.ts b/src/generated/forge-mcp/brandProtection/trial/tools.ts index e9ad547b8..0de35db4a 100644 --- a/src/generated/forge-mcp/brandProtection/trial/tools.ts +++ b/src/generated/forge-mcp/brandProtection/trial/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "brandProtection_trial_create", title: "Analyze domains for brand impersonation", - description: "Uses AI to scan all domains in the lookback table and identify potential phishing or impersonation attempts against the given brand string.", + description: "Uses AI to scan all domains in the lookback table and identify potential phishing or impersonation attempts against the given brand string.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/brand-protection/domain/trial", inputSchema: { type: "object", properties: { @@ -26,6 +26,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -40,6 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/browserRun/crawl/tools.ts b/src/generated/forge-mcp/browserRun/crawl/tools.ts index fdc663524..c7f374e28 100644 --- a/src/generated/forge-mcp/browserRun/crawl/tools.ts +++ b/src/generated/forge-mcp/browserRun/crawl/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_crawl_create", title: "Crawl websites.", - description: "Starts a crawl job for the provided URL and its children. Check available options like `gotoOptions` and `waitFor*` to control page load behaviour.", + description: "Starts a crawl job for the provided URL and its children. Check available options like `gotoOptions` and `waitFor*` to control page load behaviour.\n\nPOST /accounts/{account_id}/browser-rendering/crawl", inputSchema: { type: "object", properties: { @@ -701,6 +701,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -713,6 +714,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cacheTTL": { "default": 5, @@ -727,6 +729,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -922,11 +925,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_crawl_delete", title: "Cancel a crawl job.", - description: "Cancels an ongoing crawl job by setting its status to cancelled and stopping all queued URLs.", + description: "Cancels an ongoing crawl job by setting its status to cancelled and stopping all queued URLs.\n\nDELETE /accounts/{account_id}/browser-rendering/crawl/{job_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -947,6 +951,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1159,11 +1164,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_crawl_get", title: "Get crawl result.", - description: "Returns the result of a crawl job.", + description: "Returns the result of a crawl job.\n\nGET /accounts/{account_id}/browser-rendering/crawl/{job_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1181,6 +1187,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cacheTTL": { "default": 5, @@ -1216,6 +1223,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts b/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts index 1caca2e7d..5349aaf4a 100644 --- a/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/browser/liveView/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_liveView_create", title: "Mint live view URLs for a browser session", - description: "Generates time-limited URLs to view a remote browser session. Set `guardrails: { mode: 'readonly' }` to create a view-only link.", + description: "Generates time-limited URLs to view a remote browser session. Set `guardrails: { mode: 'readonly' }` to create a view-only link.\n\nPOST /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/live_view", inputSchema: { type: "object", properties: { @@ -54,6 +54,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -75,6 +76,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts b/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts index eeacfc713..725433c8c 100644 --- a/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/browser/targets/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_targets_activate", title: "Activate a browser target.", - description: "Activates (brings to front) a specific browser target by its ID.", + description: "Activates (brings to front) a specific browser target by its ID.\n\nGET /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/json/activate/{target_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -41,6 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -189,11 +191,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_targets_close", title: "Close a browser target.", - description: "Closes a specific browser target (tab, page, etc.) by its ID. Returns 'Target is closing' on success or an error if the target is not found.", + description: "Closes a specific browser target (tab, page, etc.) by its ID. Returns 'Target is closing' on success or an error if the target is not found.\n\nGET /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/json/close/{target_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -220,6 +223,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -368,11 +372,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_targets_create", title: "Open a new browser tab.", - description: "Opens a new tab in the browser. Optionally specify a URL to navigate to.", + description: "Opens a new tab in the browser. Optionally specify a URL to navigate to.\n\nPUT /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/json/new", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -391,6 +396,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "liveViewUrlExpiresInMs": { "default": 300000, @@ -407,6 +413,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -566,11 +573,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_targets_get", title: "Get a target by ID.", - description: "Returns the debuggable target with the given ID.", + description: "Returns the debuggable target with the given ID.\n\nGET /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/json/list/{target_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -597,6 +605,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -785,11 +794,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_targets_list", title: "List targets.", - description: "Returns a list of all debuggable targets including tabs, pages, service workers, and other browser contexts.", + description: "Returns a list of all debuggable targets including tabs, pages, service workers, and other browser contexts.\n\nGET /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/json/list", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -808,6 +818,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "liveViewUrlExpiresInMs": { "default": 300000, @@ -821,6 +832,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts b/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts index e09fab44c..ada0afa1f 100644 --- a/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/browser/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_create", title: "Get a browser session ID.", - description: "Acquires a browser and returns its session ID and websocket URL. Optionally accepts a JSON body with session guardrails to restrict outbound HTTP/S traffic.", + description: "Acquires a browser and returns its session ID and websocket URL. Optionally accepts a JSON body with session guardrails to restrict outbound HTTP/S traffic.\n\nPOST /accounts/{account_id}/browser-rendering/devtools/browser", inputSchema: { type: "object", properties: { @@ -41,6 +41,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -53,6 +54,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "keep_alive": { "default": 60000, @@ -85,6 +87,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -188,11 +191,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_delete", title: "Close browser session.", - description: "Closes an existing browser session.", + description: "Closes an existing browser session.\n\nDELETE /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -214,6 +218,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -280,11 +285,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_protocol", title: "Get Chrome DevTools Protocol schema.", - description: "Returns the complete Chrome DevTools Protocol schema including all domains, commands, events, and types. This schema describes the entire CDP API surface.", + description: "Returns the complete Chrome DevTools Protocol schema including all domains, commands, events, and types. This schema describes the entire CDP API surface.\n\nGET /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/json/protocol", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -306,6 +312,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -591,11 +598,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_browser_version", title: "Get browser version metadata.", - description: "Get browser version metadata.", + description: "Get browser version metadata.\n\nGET /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/json/version", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -617,6 +625,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/browserRun/devtools/json/tools.ts b/src/generated/forge-mcp/browserRun/devtools/json/tools.ts index 6e71c8aac..b885367bc 100644 --- a/src/generated/forge-mcp/browserRun/devtools/json/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/json/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_json_get", title: "List targets.", - description: "Returns a list of all debuggable targets including tabs, pages, service workers, and other browser contexts.", + description: "Returns a list of all debuggable targets including tabs, pages, service workers, and other browser contexts.\n\nGET /accounts/{account_id}/browser-rendering/devtools/browser/{session_id}/json", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -33,6 +34,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "liveViewUrlExpiresInMs": { "default": 300000, @@ -46,6 +48,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/browserRun/devtools/session/tools.ts b/src/generated/forge-mcp/browserRun/devtools/session/tools.ts index 9306574ae..ebb7ba4b9 100644 --- a/src/generated/forge-mcp/browserRun/devtools/session/tools.ts +++ b/src/generated/forge-mcp/browserRun/devtools/session/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_session_get", title: "Get session details.", - description: "Get details for a specific browser session.", + description: "Get details for a specific browser session.\n\nGET /accounts/{account_id}/browser-rendering/devtools/session/{session_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "oneOf": [ @@ -174,11 +176,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_devtools_session_list", title: "List sessions.", - description: "List active browser sessions.", + description: "List active browser sessions.\n\nGET /accounts/{account_id}/browser-rendering/devtools/session", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -191,6 +194,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "default": 200, @@ -207,6 +211,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/browserRun/quickAction/tools.ts b/src/generated/forge-mcp/browserRun/quickAction/tools.ts index 70855e64c..b0f91d0ef 100644 --- a/src/generated/forge-mcp/browserRun/quickAction/tools.ts +++ b/src/generated/forge-mcp/browserRun/quickAction/tools.ts @@ -11,7 +11,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_quickAction_accessibilityTree", title: "Get accessibility tree page", - description: "Returns the page's accessibility tree. Use `interestingOnly` to only return semantically meaningful nodes; use `root` to scope the tree to a CSS-selector-anchored subtree. Control page loading with `gotoOptions` and `waitFor*` options.", + description: "Returns the page's accessibility tree. Use `interestingOnly` to only return semantically meaningful nodes; use `root` to scope the tree to a CSS-selector-anchored subtree. Control page loading with `gotoOptions` and `waitFor*` options.\n\nPOST /accounts/{account_id}/browser-rendering/accessibilityTree", inputSchema: { type: "object", properties: { @@ -392,6 +392,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -404,6 +405,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "browser": { "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", @@ -425,6 +427,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -764,7 +767,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_quickAction_content", title: "Get HTML content.", - description: "Fetches rendered HTML content from provided URL or HTML. Check available options like `gotoOptions` and `waitFor*` to control page load behaviour.", + description: "Fetches rendered HTML content from provided URL or HTML. Check available options like `gotoOptions` and `waitFor*` to control page load behaviour.\n\nPOST /accounts/{account_id}/browser-rendering/content", inputSchema: { type: "object", properties: { @@ -1139,6 +1142,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1151,6 +1155,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "browser": { "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", @@ -1172,6 +1177,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1487,7 +1493,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_quickAction_json", title: "Get json.", - description: "Gets json from a webpage from a provided URL or HTML. Pass `prompt` or `schema` in the body. Control page loading with `gotoOptions` and `waitFor*` options.", + description: "Gets json from a webpage from a provided URL or HTML. Pass `prompt` or `schema` in the body. Control page loading with `gotoOptions` and `waitFor*` options.\n\nPOST /accounts/{account_id}/browser-rendering/json", inputSchema: { type: "object", properties: { @@ -1907,6 +1913,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1919,6 +1926,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "browser": { "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", @@ -1940,6 +1948,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2280,7 +2289,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_quickAction_links", title: "Get Links.", - description: "Get links from a web page.", + description: "Get links from a web page.\n\nPOST /accounts/{account_id}/browser-rendering/links", inputSchema: { type: "object", properties: { @@ -2663,6 +2672,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -2675,6 +2685,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "browser": { "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", @@ -2696,6 +2707,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3019,7 +3031,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_quickAction_markdown", title: "Get markdown.", - description: "Gets markdown of a webpage from provided URL or HTML. Control page loading with `gotoOptions` and `waitFor*` options.", + description: "Gets markdown of a webpage from provided URL or HTML. Control page loading with `gotoOptions` and `waitFor*` options.\n\nPOST /accounts/{account_id}/browser-rendering/markdown", inputSchema: { type: "object", properties: { @@ -3394,6 +3406,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -3406,6 +3419,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "browser": { "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", @@ -3427,6 +3441,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3742,7 +3757,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_quickAction_pdf", title: "Get PDF.", - description: "Fetches rendered PDF from provided URL or HTML. Check available options like `gotoOptions` and `waitFor*` to control page load behaviour.", + description: "Fetches rendered PDF from provided URL or HTML. Check available options like `gotoOptions` and `waitFor*` to control page load behaviour.\n\nPOST /accounts/{account_id}/browser-rendering/pdf", inputSchema: { type: "object", properties: { @@ -4267,6 +4282,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -4279,6 +4295,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "browser": { "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", @@ -4300,6 +4317,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -4460,7 +4478,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_quickAction_scrape", title: "Scrape elements.", - description: "Get meta attributes like height, width, text and others of selected elements.", + description: "Get meta attributes like height, width, text and others of selected elements.\n\nPOST /accounts/{account_id}/browser-rendering/scrape", inputSchema: { type: "object", properties: { @@ -4853,6 +4871,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -4865,6 +4884,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "browser": { "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", @@ -4886,6 +4906,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -5327,7 +5348,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_quickAction_screenshot", title: "Get screenshot.", - description: "Takes a screenshot of a webpage from provided URL or HTML. Control page loading with `gotoOptions` and `waitFor*` options. Customize screenshots with `viewport`, `fullPage`, `clip` and others.", + description: "Takes a screenshot of a webpage from provided URL or HTML. Control page loading with `gotoOptions` and `waitFor*` options. Customize screenshots with `viewport`, `fullPage`, `clip` and others.\n\nPOST /accounts/{account_id}/browser-rendering/screenshot", inputSchema: { type: "object", properties: { @@ -5776,6 +5797,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -5788,6 +5810,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "browser": { "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", @@ -5809,6 +5832,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -6026,7 +6050,7 @@ export const tools: readonly Tool[] = [ { name: "browserRun_quickAction_snapshot", title: "Get HTML content and screenshot.", - description: "Returns the page's HTML content and screenshot. Control page loading with `gotoOptions` and `waitFor*` options. Customize screenshots with `viewport`, `fullPage`, `clip` and others.", + description: "Returns the page's HTML content and screenshot. Control page loading with `gotoOptions` and `waitFor*` options. Customize screenshots with `viewport`, `fullPage`, `clip` and others.\n\nPOST /accounts/{account_id}/browser-rendering/snapshot", inputSchema: { type: "object", properties: { @@ -6476,6 +6500,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -6488,6 +6513,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "browser": { "description": "Rendering backend. Set to `kitesurf` to use Kitesurf (beta).", @@ -6509,6 +6535,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/browserRun/recording/network/tools.ts b/src/generated/forge-mcp/browserRun/recording/network/tools.ts index 4f8cca8ec..1e9865458 100644 --- a/src/generated/forge-mcp/browserRun/recording/network/tools.ts +++ b/src/generated/forge-mcp/browserRun/recording/network/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_recording_network_get", title: "Get network recording data.", - description: "Returns network recording events for the requested target ID. Use ?format=har for a HAR JSON document.", + description: "Returns network recording events for the requested target ID. Use ?format=har for a HAR JSON document.\n\nGET /accounts/{account_id}/browser-rendering/recording/{session_id}/network", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Set to `har` to return a HAR JSON document.", @@ -52,6 +54,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "additionalProperties": { diff --git a/src/generated/forge-mcp/browserRun/recording/tools.ts b/src/generated/forge-mcp/browserRun/recording/tools.ts index cb5b5c50b..46e8f4aab 100644 --- a/src/generated/forge-mcp/browserRun/recording/tools.ts +++ b/src/generated/forge-mcp/browserRun/recording/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "browserRun_recording_get", title: "Get recording data.", - description: "Returns the recording data for a given session as a dictionary of events per targetId.", + description: "Returns the recording data for a given session as a dictionary of events per targetId.\n\nGET /accounts/{account_id}/browser-rendering/recording/{session_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/builds/deployHooks/outputs.ts b/src/generated/forge-mcp/builds/deployHooks/outputs.ts index 8ce00b032..ac93d5835 100644 --- a/src/generated/forge-mcp/builds/deployHooks/outputs.ts +++ b/src/generated/forge-mcp/builds/deployHooks/outputs.ts @@ -9,22 +9,25 @@ import type { JsonSchema } from "../../_/tool.js"; export const builds_DeployHookResponse: JsonSchema = { "properties": { "branch": { - "$ref": "#/$defs/builds_branch" + "type": "string" }, "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" }, "deploy_hook_name": { - "$ref": "#/$defs/builds_deploy_hook_name" + "type": "string" }, "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid" + "format": "uuid", + "type": "string" }, "external_script_id": { - "$ref": "#/$defs/builds_external_script_id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/builds_modified_on" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -36,26 +39,29 @@ export const builds_DeployHookResponse: JsonSchema = { export const builds_DetailedDeployHookResponse: JsonSchema = { "properties": { "branch": { - "$ref": "#/$defs/builds_branch" + "type": "string" }, "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" }, "deploy_hook_name": { - "$ref": "#/$defs/builds_deploy_hook_name" + "type": "string" }, "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid" + "format": "uuid", + "type": "string" }, "external_script_id": { - "$ref": "#/$defs/builds_external_script_id" + "type": "string" }, "latest_build": { "oneOf": [ { "properties": { "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -66,7 +72,8 @@ export const builds_DetailedDeployHookResponse: JsonSchema = { ] }, "modified_on": { - "$ref": "#/$defs/builds_modified_on" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -81,22 +88,22 @@ export const builds_TriggerDeployHookResponse: JsonSchema = { "type": "boolean" }, "build_uuid": { - "$ref": "#/$defs/builds_build_uuid" + "format": "uuid", + "type": "string" }, "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" }, "status": { - "$ref": "#/$defs/builds_BuildStatus" + "enum": [ + "queued", + "initializing", + "running", + "stopped" + ], + "type": "string" } }, "type": "object" }; - -/** - * The schema of `builds_deploy_hook_uuid` in responses. - */ -export const builds_deploy_hook_uuid: JsonSchema = { - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/builds/deployHooks/schemas.ts b/src/generated/forge-mcp/builds/deployHooks/schemas.ts index 6697d0b43..dd214b1bd 100644 --- a/src/generated/forge-mcp/builds/deployHooks/schemas.ts +++ b/src/generated/forge-mcp/builds/deployHooks/schemas.ts @@ -9,12 +9,12 @@ import type { JsonSchema } from "../../_/tool.js"; export const builds_CreateDeployHookRequest: JsonSchema = { "properties": { "branch": { - "$ref": "#/$defs/builds_branch", - "description": "Git branch name." + "description": "Git branch name.", + "type": "string" }, "deploy_hook_name": { - "$ref": "#/$defs/builds_deploy_hook_name", - "description": "Deploy hook name (1-58 characters)." + "description": "Deploy hook name (1-58 characters).", + "type": "string" } }, "required": [ @@ -23,20 +23,3 @@ export const builds_CreateDeployHookRequest: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `builds_deploy_hook_uuid`. - */ -export const builds_deploy_hook_uuid: JsonSchema = { - "description": "Deploy hook UUID.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `builds_script_name`. - */ -export const builds_script_name: JsonSchema = { - "description": "Human-readable name of the Worker.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/builds/deployHooks/tools.ts b/src/generated/forge-mcp/builds/deployHooks/tools.ts index 04ae0639f..86f433706 100644 --- a/src/generated/forge-mcp/builds/deployHooks/tools.ts +++ b/src/generated/forge-mcp/builds/deployHooks/tools.ts @@ -5,32 +5,15 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { builds_APIResponse, builds_ApiError, - builds_BuildStatus, builds_ErrorResponse, builds_PaginationInfo, - builds_branch, - builds_build_uuid, - builds_created_on, - builds_deploy_hook_name, - builds_external_script_id, - builds_modified_on, } from "../../outputs.js"; -import { - builds_account_id, - builds_branch as builds_branch$, - builds_deploy_hook_name as builds_deploy_hook_name$, -} from "../../schemas.js"; import { builds_DeployHookResponse, builds_DetailedDeployHookResponse, builds_TriggerDeployHookResponse, - builds_deploy_hook_uuid, } from "./outputs.js"; -import { - builds_CreateDeployHookRequest, - builds_deploy_hook_uuid as builds_deploy_hook_uuid$, - builds_script_name, -} from "./schemas.js"; +import { builds_CreateDeployHookRequest } from "./schemas.js"; /** * The tools of `builds.deployHooks`. @@ -39,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "builds_deployHooks_create", title: "Create a deploy hook", - description: "Create an HTTP hook that starts a build for a selected Worker branch.", + description: "Create an HTTP hook that starts a build for a selected Worker branch.\n\nPOST /accounts/{account_id}/builds/workers/{script_name}/deploy_hooks", inputSchema: { type: "object", properties: { @@ -47,14 +30,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_CreateDeployHookRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "description": "Human-readable name of the worker.", + "type": "string" } }, "required": [ @@ -68,12 +52,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_CreateDeployHookRequest": builds_CreateDeployHookRequest, - "builds_account_id": builds_account_id, - "builds_branch": builds_branch$, - "builds_deploy_hook_name": builds_deploy_hook_name$, - "builds_script_name": builds_script_name, }, }, outputSchema: { @@ -95,12 +76,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_DeployHookResponse": builds_DeployHookResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -153,12 +128,6 @@ export const tools: readonly Tool[] = [ "builds_DeployHookResponse": builds_DeployHookResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ @@ -169,23 +138,25 @@ export const tools: readonly Tool[] = [ { name: "builds_deployHooks_delete", title: "Delete a deploy hook", - description: "Delete a deploy hook so its UUID can no longer start builds.", + description: "Delete a deploy hook so its UUID can no longer start builds.\n\nDELETE /accounts/{account_id}/builds/workers/{script_name}/deploy_hooks/{deploy_hook_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid", - "description": "Deploy hook UUID" + "description": "Deploy hook UUID", + "format": "uuid", + "type": "string" }, "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "description": "Human-readable name of the worker.", + "type": "string" } }, "required": [ @@ -199,11 +170,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid$, - "builds_script_name": builds_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -224,12 +191,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_DeployHookResponse": builds_DeployHookResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -276,12 +237,6 @@ export const tools: readonly Tool[] = [ "builds_DeployHookResponse": builds_DeployHookResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ @@ -291,23 +246,25 @@ export const tools: readonly Tool[] = [ { name: "builds_deployHooks_get", title: "Get a deploy hook", - description: "Retrieve the name, branch, Worker identifier, and timestamps for a deploy hook.", + description: "Retrieve the name, branch, Worker identifier, and timestamps for a deploy hook.\n\nGET /accounts/{account_id}/builds/workers/{script_name}/deploy_hooks/{deploy_hook_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid", - "description": "Deploy hook UUID" + "description": "Deploy hook UUID", + "format": "uuid", + "type": "string" }, "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "description": "Human-readable name of the worker.", + "type": "string" } }, "required": [ @@ -321,11 +278,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid$, - "builds_script_name": builds_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -346,12 +299,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_DeployHookResponse": builds_DeployHookResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -399,12 +346,6 @@ export const tools: readonly Tool[] = [ "builds_DeployHookResponse": builds_DeployHookResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ @@ -414,19 +355,20 @@ export const tools: readonly Tool[] = [ { name: "builds_deployHooks_list", title: "List deploy hooks", - description: "List the branch-specific deploy hooks configured for a Worker.", + description: "List the branch-specific deploy hooks configured for a Worker.\n\nGET /accounts/{account_id}/builds/workers/{script_name}/deploy_hooks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "description": "Human-readable name of the worker.", + "type": "string" } }, "required": [ @@ -439,10 +381,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_script_name": builds_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -466,12 +405,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_DetailedDeployHookResponse": builds_DetailedDeployHookResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -519,12 +452,6 @@ export const tools: readonly Tool[] = [ "builds_DetailedDeployHookResponse": builds_DetailedDeployHookResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ @@ -534,15 +461,17 @@ export const tools: readonly Tool[] = [ { name: "builds_deployHooks_trigger", title: "Trigger deploy hook", - description: "Trigger a build using a deploy hook. This endpoint does not require authentication - the deploy_hook_uuid acts as a secret token.", + description: "Trigger a build using a deploy hook. This endpoint does not require authentication - the deploy_hook_uuid acts as a secret token.\n\nPOST /workers/builds/deploy_hooks/{deploy_hook_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid", - "description": "Deploy hook UUID" + "description": "Deploy hook UUID", + "format": "uuid", + "type": "string" } }, "required": [ @@ -554,9 +483,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_deploy_hook_uuid": builds_deploy_hook_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -575,11 +502,8 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildStatus": builds_BuildStatus, "builds_PaginationInfo": builds_PaginationInfo, "builds_TriggerDeployHookResponse": builds_TriggerDeployHookResponse, - "builds_build_uuid": builds_build_uuid, - "builds_created_on": builds_created_on, }, }, annotations: { @@ -618,12 +542,9 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildStatus": builds_BuildStatus, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, "builds_TriggerDeployHookResponse": builds_TriggerDeployHookResponse, - "builds_build_uuid": builds_build_uuid, - "builds_created_on": builds_created_on, }, }, request: (args) => ({ @@ -633,7 +554,7 @@ export const tools: readonly Tool[] = [ { name: "builds_deployHooks_update", title: "Update a deploy hook", - description: "Replace the name and target branch for a deploy hook.", + description: "Replace the name and target branch for a deploy hook.\n\nPUT /accounts/{account_id}/builds/workers/{script_name}/deploy_hooks/{deploy_hook_uuid}", inputSchema: { type: "object", properties: { @@ -641,18 +562,20 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_CreateDeployHookRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "deploy_hook_uuid": { - "$ref": "#/$defs/builds_deploy_hook_uuid", - "description": "Deploy hook UUID" + "description": "Deploy hook UUID", + "format": "uuid", + "type": "string" }, "script_name": { - "$ref": "#/$defs/builds_script_name", - "description": "Human-readable name of the worker." + "description": "Human-readable name of the worker.", + "type": "string" } }, "required": [ @@ -667,13 +590,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_CreateDeployHookRequest": builds_CreateDeployHookRequest, - "builds_account_id": builds_account_id, - "builds_branch": builds_branch$, - "builds_deploy_hook_name": builds_deploy_hook_name$, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid$, - "builds_script_name": builds_script_name, }, }, outputSchema: { @@ -695,12 +614,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_DeployHookResponse": builds_DeployHookResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, annotations: { @@ -753,12 +666,6 @@ export const tools: readonly Tool[] = [ "builds_DeployHookResponse": builds_DeployHookResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_branch": builds_branch, - "builds_created_on": builds_created_on, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_deploy_hook_uuid": builds_deploy_hook_uuid, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/limits/tools.ts b/src/generated/forge-mcp/builds/limits/tools.ts index 6770ad74f..23f8b27ed 100644 --- a/src/generated/forge-mcp/builds/limits/tools.ts +++ b/src/generated/forge-mcp/builds/limits/tools.ts @@ -8,7 +8,6 @@ import { builds_ErrorResponse, builds_PaginationInfo, } from "../../outputs.js"; -import { builds_account_id } from "../../schemas.js"; import { builds_GetAccountLimitResponse } from "./outputs.js"; /** @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "builds_limits_get", title: "Get build-minute availability", - description: "Return whether the account's build-minute allowance is exhausted and when it refreshes.", + description: "Return whether the account's build-minute allowance is exhausted and when it refreshes.\n\nGET /accounts/{account_id}/builds/account/limits", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -38,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/builds/logs/outputs.ts b/src/generated/forge-mcp/builds/logs/outputs.ts index a8886ccf8..ba8aa741a 100644 --- a/src/generated/forge-mcp/builds/logs/outputs.ts +++ b/src/generated/forge-mcp/builds/logs/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../_/tool.js"; export const builds_BuildLogsResponse: JsonSchema = { "properties": { "cursor": { - "$ref": "#/$defs/builds_cursor" + "type": "string" }, "lines": { "items": { @@ -35,10 +35,3 @@ export const builds_BuildLogsResponse: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `builds_cursor` in responses. - */ -export const builds_cursor: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/builds/logs/schemas.ts b/src/generated/forge-mcp/builds/logs/schemas.ts deleted file mode 100644 index c47e247c0..000000000 --- a/src/generated/forge-mcp/builds/logs/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `builds_cursor`. - */ -export const builds_cursor: JsonSchema = { - "description": "Pagination cursor for log retrieval.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/builds/logs/tools.ts b/src/generated/forge-mcp/builds/logs/tools.ts index 2a5f62366..a2385a18b 100644 --- a/src/generated/forge-mcp/builds/logs/tools.ts +++ b/src/generated/forge-mcp/builds/logs/tools.ts @@ -8,9 +8,7 @@ import { builds_ErrorResponse, builds_PaginationInfo, } from "../../outputs.js"; -import { builds_account_id, builds_build_uuid } from "../../schemas.js"; -import { builds_BuildLogsResponse, builds_cursor } from "./outputs.js"; -import { builds_cursor as builds_cursor$ } from "./schemas.js"; +import { builds_BuildLogsResponse } from "./outputs.js"; /** * The tools of `builds.logs`. @@ -19,19 +17,21 @@ export const tools: readonly Tool[] = [ { name: "builds_logs_get", title: "Get Workers build logs", - description: "Retrieve cursor-paginated log lines for a build UUID.", + description: "Retrieve cursor-paginated log lines for a build UUID.\n\nGET /accounts/{account_id}/builds/builds/{build_uuid}/logs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "build_uuid": { - "$ref": "#/$defs/builds_build_uuid", - "description": "Build UUID." + "description": "Build UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -41,10 +41,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { - "$ref": "#/$defs/builds_cursor", - "description": "Pagination cursor for log retrieval." + "description": "Pagination cursor for log retrieval.", + "type": "string" } }, "type": "object" @@ -53,11 +54,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_build_uuid": builds_build_uuid, - "builds_cursor": builds_cursor$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -78,7 +75,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_BuildLogsResponse": builds_BuildLogsResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_cursor": builds_cursor, }, }, annotations: { @@ -126,7 +122,6 @@ export const tools: readonly Tool[] = [ "builds_BuildLogsResponse": builds_BuildLogsResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_cursor": builds_cursor, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/outputs.ts b/src/generated/forge-mcp/builds/outputs.ts index 406465633..70e1aac35 100644 --- a/src/generated/forge-mcp/builds/outputs.ts +++ b/src/generated/forge-mcp/builds/outputs.ts @@ -9,13 +9,29 @@ import type { JsonSchema } from "../_/tool.js"; export const builds_CanceledBuildResponse: JsonSchema = { "properties": { "build_outcome": { - "$ref": "#/$defs/builds_BuildOutcome" + "enum": [ + "success", + "fail", + "skipped", + "cancelled", + "terminated" + ], + "type": "string" }, "build_uuid": { - "$ref": "#/$defs/builds_build_uuid" + "format": "uuid", + "type": "string" }, "stopped_on": { - "$ref": "#/$defs/builds_stopped_on" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" diff --git a/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts b/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts index bb1280f72..82b6c5864 100644 --- a/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts +++ b/src/generated/forge-mcp/builds/repos/configAutofill/outputs.ts @@ -42,7 +42,14 @@ export const builds_ConfigAutofillResponse: JsonSchema = { ] }, "package_manager": { - "$ref": "#/$defs/builds_PackageManager" + "enum": [ + "npm", + "yarn", + "pnpm", + "bun", + "uv" + ], + "type": "string" }, "scripts": { "oneOf": [ @@ -60,17 +67,3 @@ export const builds_ConfigAutofillResponse: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `builds_PackageManager` in responses. - */ -export const builds_PackageManager: JsonSchema = { - "enum": [ - "npm", - "yarn", - "pnpm", - "bun", - "uv" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts b/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts index ba2d34591..edb2cab54 100644 --- a/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts +++ b/src/generated/forge-mcp/builds/repos/configAutofill/tools.ts @@ -8,18 +8,7 @@ import { builds_ErrorResponse, builds_PaginationInfo, } from "../../../outputs.js"; -import { - builds_SCMProviderType, - builds_account_id, - builds_branch, - builds_provider_account_id, - builds_repo_id, - builds_root_directory, -} from "../../../schemas.js"; -import { - builds_ConfigAutofillResponse, - builds_PackageManager, -} from "./outputs.js"; +import { builds_ConfigAutofillResponse } from "./outputs.js"; /** * The tools of `builds.repos.configAutofill`. @@ -28,27 +17,34 @@ export const tools: readonly Tool[] = [ { name: "builds_repos_configAutofill_get", title: "Get repository configuration autofill", - description: "Analyze repository for automatic configuration detection", + description: "Analyze repository for automatic configuration detection\n\nGET /accounts/{account_id}/builds/repos/{provider_type}/{provider_account_id}/{repo_id}/config_autofill", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "provider_account_id": { - "$ref": "#/$defs/builds_provider_account_id", - "description": "Provider-specific identifier of the account or namespace that owns the repository." + "description": "Provider-specific identifier of the account or namespace that owns the repository.", + "type": "string" }, "provider_type": { - "$ref": "#/$defs/builds_SCMProviderType", - "description": "SCM provider type" + "description": "SCM provider type", + "enum": [ + "github", + "gitlab", + "gitlab_internal", + "origin" + ], + "type": "string" }, "repo_id": { - "$ref": "#/$defs/builds_repo_id", - "description": "Provider-specific repository identifier." + "description": "Provider-specific repository identifier.", + "type": "string" } }, "required": [ @@ -60,14 +56,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "branch": { - "$ref": "#/$defs/builds_branch", - "description": "Git branch name." + "description": "Git branch name.", + "type": "string" }, "root_directory": { - "$ref": "#/$defs/builds_root_directory", - "description": "Repository directory in which build and deploy commands run." + "description": "Repository directory in which build and deploy commands run.", + "type": "string" } }, "required": [ @@ -80,14 +77,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "builds_SCMProviderType": builds_SCMProviderType, - "builds_account_id": builds_account_id, - "builds_branch": builds_branch, - "builds_provider_account_id": builds_provider_account_id, - "builds_repo_id": builds_repo_id, - "builds_root_directory": builds_root_directory, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -107,7 +97,6 @@ export const tools: readonly Tool[] = [ "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, "builds_ConfigAutofillResponse": builds_ConfigAutofillResponse, - "builds_PackageManager": builds_PackageManager, "builds_PaginationInfo": builds_PaginationInfo, }, }, @@ -152,7 +141,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_ConfigAutofillResponse": builds_ConfigAutofillResponse, "builds_ErrorResponse": builds_ErrorResponse, - "builds_PackageManager": builds_PackageManager, "builds_PaginationInfo": builds_PaginationInfo, }, }, diff --git a/src/generated/forge-mcp/builds/repos/connections/schemas.ts b/src/generated/forge-mcp/builds/repos/connections/schemas.ts index fbcdedd9d..8c1c21a50 100644 --- a/src/generated/forge-mcp/builds/repos/connections/schemas.ts +++ b/src/generated/forge-mcp/builds/repos/connections/schemas.ts @@ -9,24 +9,30 @@ import type { JsonSchema } from "../../../_/tool.js"; export const builds_UpsertRepoConnectionRequest: JsonSchema = { "properties": { "provider_account_id": { - "$ref": "#/$defs/builds_provider_account_id", - "description": "Provider-specific identifier of the account or namespace that owns the repository." + "description": "Provider-specific identifier of the account or namespace that owns the repository.", + "type": "string" }, "provider_account_name": { - "$ref": "#/$defs/builds_provider_account_name", - "description": "Human-readable name of the account or namespace that owns the repository." + "description": "Human-readable name of the account or namespace that owns the repository.", + "type": "string" }, "provider_type": { - "$ref": "#/$defs/builds_SCMProviderType", - "description": "Source control provider." + "description": "Source control provider.", + "enum": [ + "github", + "gitlab", + "gitlab_internal", + "origin" + ], + "type": "string" }, "repo_id": { - "$ref": "#/$defs/builds_repo_id", - "description": "Provider-specific repository identifier." + "description": "Provider-specific repository identifier.", + "type": "string" }, "repo_name": { - "$ref": "#/$defs/builds_repo_name", - "description": "Human-readable repository name." + "description": "Human-readable repository name.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/builds/repos/connections/tools.ts b/src/generated/forge-mcp/builds/repos/connections/tools.ts index 51c373556..8004a7a58 100644 --- a/src/generated/forge-mcp/builds/repos/connections/tools.ts +++ b/src/generated/forge-mcp/builds/repos/connections/tools.ts @@ -7,26 +7,8 @@ import { builds_ApiError, builds_ErrorResponse, builds_PaginationInfo, - builds_SCMProviderType, builds_UpsertRepoConnectionResponse, - builds_created_on, - builds_deleted_on, - builds_modified_on, - builds_provider_account_id, - builds_provider_account_name, - builds_repo_connection_uuid, - builds_repo_id, - builds_repo_name, } from "../../../outputs.js"; -import { - builds_SCMProviderType as builds_SCMProviderType$, - builds_account_id, - builds_provider_account_id as builds_provider_account_id$, - builds_provider_account_name as builds_provider_account_name$, - builds_repo_connection_uuid as builds_repo_connection_uuid$, - builds_repo_id as builds_repo_id$, - builds_repo_name as builds_repo_name$, -} from "../../../schemas.js"; import { builds_UpsertRepoConnectionRequest } from "./schemas.js"; /** @@ -36,19 +18,21 @@ export const tools: readonly Tool[] = [ { name: "builds_repos_connections_delete", title: "Delete a repository connection", - description: "Delete a saved repository connection.", + description: "Delete a saved repository connection.\n\nDELETE /accounts/{account_id}/builds/repos/connections/{repo_connection_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "repo_connection_uuid": { - "$ref": "#/$defs/builds_repo_connection_uuid", - "description": "Repository connection UUID." + "description": "Repository connection UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -61,10 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_repo_connection_uuid": builds_repo_connection_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/builds_APIResponse", @@ -114,7 +95,7 @@ export const tools: readonly Tool[] = [ { name: "builds_repos_connections_upsert", title: "Create or update a repository connection", - description: "Save the repository connection required by build triggers.", + description: "Save the repository connection required by build triggers.\n\nPUT /accounts/{account_id}/builds/repos/connections", inputSchema: { type: "object", properties: { @@ -122,10 +103,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_UpsertRepoConnectionRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -138,14 +120,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "builds_SCMProviderType": builds_SCMProviderType$, "builds_UpsertRepoConnectionRequest": builds_UpsertRepoConnectionRequest, - "builds_account_id": builds_account_id, - "builds_provider_account_id": builds_provider_account_id$, - "builds_provider_account_name": builds_provider_account_name$, - "builds_repo_id": builds_repo_id$, - "builds_repo_name": builds_repo_name$, }, }, outputSchema: { @@ -166,16 +143,7 @@ export const tools: readonly Tool[] = [ "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_modified_on": builds_modified_on, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, }, }, annotations: { @@ -218,16 +186,7 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_modified_on": builds_modified_on, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/schemas.ts b/src/generated/forge-mcp/builds/schemas.ts index 8cc4802d8..8c7627c52 100644 --- a/src/generated/forge-mcp/builds/schemas.ts +++ b/src/generated/forge-mcp/builds/schemas.ts @@ -10,8 +10,8 @@ export const builds_EnvironmentVariablesRequest: JsonSchema = { "additionalProperties": { "properties": { "is_secret": { - "$ref": "#/$defs/builds_is_secret", - "description": "Whether to hide the value after it is saved. Secret values remain available to builds but appear as `null` when you list variables; non-secret values remain visible." + "description": "Whether to hide the value after it is saved. Secret values remain available to builds but appear as `null` when you list variables; non-secret values remain visible.", + "type": "boolean" }, "value": { "description": "Value made available to the build. Maximum length is 5000 characters.", diff --git a/src/generated/forge-mcp/builds/tokens/outputs.ts b/src/generated/forge-mcp/builds/tokens/outputs.ts index 609980751..47703f73d 100644 --- a/src/generated/forge-mcp/builds/tokens/outputs.ts +++ b/src/generated/forge-mcp/builds/tokens/outputs.ts @@ -9,16 +9,17 @@ import type { JsonSchema } from "../../_/tool.js"; export const builds_CreateBuildTokenResponse: JsonSchema = { "properties": { "build_token_name": { - "$ref": "#/$defs/builds_build_token_name" + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid" + "format": "uuid", + "type": "string" }, "cloudflare_token_id": { - "$ref": "#/$defs/builds_cloudflare_token_id" + "type": "string" }, "owner_type": { - "$ref": "#/$defs/builds_owner_type" + "type": "string" } }, "type": "object" @@ -30,31 +31,18 @@ export const builds_CreateBuildTokenResponse: JsonSchema = { export const builds_ListTokensResponse: JsonSchema = { "properties": { "build_token_name": { - "$ref": "#/$defs/builds_build_token_name" + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid" + "format": "uuid", + "type": "string" }, "cloudflare_token_id": { - "$ref": "#/$defs/builds_cloudflare_token_id" + "type": "string" }, "owner_type": { - "$ref": "#/$defs/builds_owner_type" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `builds_cloudflare_token_id` in responses. - */ -export const builds_cloudflare_token_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_owner_type` in responses. - */ -export const builds_owner_type: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/builds/tokens/schemas.ts b/src/generated/forge-mcp/builds/tokens/schemas.ts index e9083b252..17e77023e 100644 --- a/src/generated/forge-mcp/builds/tokens/schemas.ts +++ b/src/generated/forge-mcp/builds/tokens/schemas.ts @@ -9,13 +9,13 @@ import type { JsonSchema } from "../../_/tool.js"; export const builds_CreateBuildTokenRequest: JsonSchema = { "properties": { "build_token_name": { - "$ref": "#/$defs/builds_build_token_name" + "type": "string" }, "build_token_secret": { "type": "string" }, "cloudflare_token_id": { - "$ref": "#/$defs/builds_cloudflare_token_id" + "type": "string" } }, "required": [ @@ -25,10 +25,3 @@ export const builds_CreateBuildTokenRequest: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `builds_cloudflare_token_id`. - */ -export const builds_cloudflare_token_id: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/builds/tokens/tools.ts b/src/generated/forge-mcp/builds/tokens/tools.ts index 0aa60dac1..5cd365136 100644 --- a/src/generated/forge-mcp/builds/tokens/tools.ts +++ b/src/generated/forge-mcp/builds/tokens/tools.ts @@ -7,24 +7,12 @@ import { builds_ApiError, builds_ErrorResponse, builds_PaginationInfo, - builds_build_token_name, - builds_build_token_uuid, } from "../../outputs.js"; -import { - builds_account_id, - builds_build_token_name as builds_build_token_name$, - builds_build_token_uuid as builds_build_token_uuid$, -} from "../../schemas.js"; import { builds_CreateBuildTokenResponse, builds_ListTokensResponse, - builds_cloudflare_token_id, - builds_owner_type, } from "./outputs.js"; -import { - builds_CreateBuildTokenRequest, - builds_cloudflare_token_id as builds_cloudflare_token_id$, -} from "./schemas.js"; +import { builds_CreateBuildTokenRequest } from "./schemas.js"; /** * The tools of `builds.tokens`. @@ -33,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "builds_tokens_create", title: "Create build token", - description: "Create a new build authentication token", + description: "Create a new build authentication token\n\nPOST /accounts/{account_id}/builds/tokens", inputSchema: { type: "object", properties: { @@ -41,10 +29,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_CreateBuildTokenRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -57,11 +46,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_CreateBuildTokenRequest": builds_CreateBuildTokenRequest, - "builds_account_id": builds_account_id, - "builds_build_token_name": builds_build_token_name$, - "builds_cloudflare_token_id": builds_cloudflare_token_id$, }, }, outputSchema: { @@ -83,10 +70,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_CreateBuildTokenResponse": builds_CreateBuildTokenResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_cloudflare_token_id": builds_cloudflare_token_id, - "builds_owner_type": builds_owner_type, }, }, annotations: { @@ -130,10 +113,6 @@ export const tools: readonly Tool[] = [ "builds_CreateBuildTokenResponse": builds_CreateBuildTokenResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_cloudflare_token_id": builds_cloudflare_token_id, - "builds_owner_type": builds_owner_type, }, }, request: (args) => ({ @@ -144,19 +123,21 @@ export const tools: readonly Tool[] = [ { name: "builds_tokens_delete", title: "Delete a build token", - description: "Delete a stored build token owned by the current user.", + description: "Delete a stored build token owned by the current user.\n\nDELETE /accounts/{account_id}/builds/tokens/{build_token_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid", - "description": "UUID of the build token used when deploying the Worker." + "description": "UUID of the build token used when deploying the Worker.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -169,10 +150,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_build_token_uuid": builds_build_token_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/builds_APIResponse", @@ -222,15 +200,16 @@ export const tools: readonly Tool[] = [ { name: "builds_tokens_list", title: "List build tokens", - description: "List metadata for build tokens available to the current user without returning their secrets.", + description: "List metadata for build tokens available to the current user without returning their secrets.\n\nGET /accounts/{account_id}/builds/tokens", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -239,6 +218,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -257,9 +237,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -286,10 +264,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_ListTokensResponse": builds_ListTokensResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_cloudflare_token_id": builds_cloudflare_token_id, - "builds_owner_type": builds_owner_type, }, }, annotations: { @@ -340,10 +314,6 @@ export const tools: readonly Tool[] = [ "builds_ErrorResponse": builds_ErrorResponse, "builds_ListTokensResponse": builds_ListTokensResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_cloudflare_token_id": builds_cloudflare_token_id, - "builds_owner_type": builds_owner_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/tools.ts b/src/generated/forge-mcp/builds/tools.ts index 5487e7156..a0fb91116 100644 --- a/src/generated/forge-mcp/builds/tools.ts +++ b/src/generated/forge-mcp/builds/tools.ts @@ -5,52 +5,20 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { builds_APIResponse, builds_ApiError, - builds_BuildOutcome, builds_BuildResponse, - builds_BuildStatus, builds_BuildTriggerMetadataResponse, - builds_BuildTriggerSource, builds_ErrorResponse, builds_PaginationInfo, - builds_SCMProviderType, builds_UpsertRepoConnectionResponse, - builds_branch, builds_branch_excludes, builds_branch_includes, - builds_build_caching_enabled, - builds_build_command, - builds_build_token_name, - builds_build_token_uuid, - builds_build_uuid, - builds_commit_hash, - builds_created_on, - builds_deleted_on, - builds_deploy_command, - builds_deploy_hook_name, - builds_external_script_id, - builds_modified_on, builds_path_excludes, builds_path_includes, - builds_provider_account_id, - builds_provider_account_name, - builds_repo_connection_uuid, - builds_repo_id, - builds_repo_name, - builds_root_directory, - builds_stopped_on, - builds_trigger_name, - builds_trigger_uuid, } from "../outputs.js"; import { builds_BuildSeedRepoInput, builds_BuildSeedRepoInputFile, builds_CreateBuildRequest, - builds_account_id, - builds_branch as builds_branch$, - builds_build_uuid as builds_build_uuid$, - builds_commit_hash as builds_commit_hash$, - builds_external_script_id as builds_external_script_id$, - builds_trigger_uuid as builds_trigger_uuid$, } from "../schemas.js"; import { builds_CanceledBuildResponse } from "./outputs.js"; @@ -61,19 +29,21 @@ export const tools: readonly Tool[] = [ { name: "builds_cancel", title: "Cancel a Workers build", - description: "Cancel a queued or running build.", + description: "Cancel a queued or running build.\n\nPUT /accounts/{account_id}/builds/builds/{build_uuid}/cancel", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "build_uuid": { - "$ref": "#/$defs/builds_build_uuid", - "description": "Build UUID." + "description": "Build UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -86,10 +56,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_build_uuid": builds_build_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -108,11 +75,8 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_CanceledBuildResponse": builds_CanceledBuildResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_build_uuid": builds_build_uuid, - "builds_stopped_on": builds_stopped_on, }, }, annotations: { @@ -156,12 +120,9 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_CanceledBuildResponse": builds_CanceledBuildResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_build_uuid": builds_build_uuid, - "builds_stopped_on": builds_stopped_on, }, }, request: (args) => ({ @@ -171,7 +132,7 @@ export const tools: readonly Tool[] = [ { name: "builds_create", title: "Start a Workers build", - description: "Start a build for a branch or commit using the selected trigger.", + description: "Start a build for a branch or commit using the selected trigger.\n\nPOST /accounts/{account_id}/builds/triggers/{trigger_uuid}/builds", inputSchema: { type: "object", properties: { @@ -179,14 +140,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_CreateBuildRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "description": "Trigger UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -200,14 +163,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_BuildSeedRepoInput": builds_BuildSeedRepoInput, "builds_BuildSeedRepoInputFile": builds_BuildSeedRepoInputFile, "builds_CreateBuildRequest": builds_CreateBuildRequest, - "builds_account_id": builds_account_id, - "builds_branch": builds_branch$, - "builds_commit_hash": builds_commit_hash$, - "builds_trigger_uuid": builds_trigger_uuid$, }, }, outputSchema: { @@ -227,40 +187,14 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -301,41 +235,15 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -346,19 +254,21 @@ export const tools: readonly Tool[] = [ { name: "builds_get", title: "Get a Workers build", - description: "Retrieve status, outcome, timestamps, trigger settings, and source metadata for a build UUID.", + description: "Retrieve status, outcome, timestamps, trigger settings, and source metadata for a build UUID.\n\nGET /accounts/{account_id}/builds/builds/{build_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "build_uuid": { - "$ref": "#/$defs/builds_build_uuid", - "description": "Build UUID." + "description": "Build UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -371,10 +281,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_build_uuid": builds_build_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -393,40 +300,14 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -471,41 +352,15 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -515,19 +370,20 @@ export const tools: readonly Tool[] = [ { name: "builds_list", title: "List builds for a Worker", - description: "List paginated build records associated with a Worker tag.", + description: "List paginated build records associated with a Worker tag.\n\nGET /accounts/{account_id}/builds/workers/{external_script_id}/builds", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "external_script_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "System-generated tag of the Worker. This is not the Worker name." + "description": "System-generated tag of the Worker. This is not the Worker name.", + "type": "string" } }, "required": [ @@ -537,6 +393,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -555,10 +412,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -583,40 +437,14 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -664,41 +492,15 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/triggers/cache/tools.ts b/src/generated/forge-mcp/builds/triggers/cache/tools.ts index 989909990..f9594c36f 100644 --- a/src/generated/forge-mcp/builds/triggers/cache/tools.ts +++ b/src/generated/forge-mcp/builds/triggers/cache/tools.ts @@ -8,7 +8,6 @@ import { builds_ErrorResponse, builds_PaginationInfo, } from "../../../outputs.js"; -import { builds_account_id, builds_trigger_uuid } from "../../../schemas.js"; /** * The tools of `builds.triggers.cache`. @@ -17,19 +16,21 @@ export const tools: readonly Tool[] = [ { name: "builds_triggers_cache_purge", title: "Purge a trigger's build cache", - description: "Delete cached dependencies and build artifacts associated with a trigger.\n\nConfirm with the user before calling this tool. This operation purges the build cache for a Workers Builds trigger.", + description: "Delete cached dependencies and build artifacts associated with a trigger.\n\nConfirm with the user before calling this tool. This operation purges the build cache for a Workers Builds trigger.\n\nPOST /accounts/{account_id}/builds/triggers/{trigger_uuid}/purge_build_cache", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "description": "Trigger UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -42,10 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_trigger_uuid": builds_trigger_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/builds_APIResponse", diff --git a/src/generated/forge-mcp/builds/triggers/environmentVariables/schemas.ts b/src/generated/forge-mcp/builds/triggers/environmentVariables/schemas.ts deleted file mode 100644 index 8104dc658..000000000 --- a/src/generated/forge-mcp/builds/triggers/environmentVariables/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `builds_environment_variable_key`. - */ -export const builds_environment_variable_key: JsonSchema = { - "description": "Environment variable key.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts b/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts index f207a1b3a..248bfb13c 100644 --- a/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts +++ b/src/generated/forge-mcp/builds/triggers/environmentVariables/tools.ts @@ -8,16 +8,8 @@ import { builds_EnvironmentVariablesResponse, builds_ErrorResponse, builds_PaginationInfo, - builds_created_on, - builds_is_secret, } from "../../../outputs.js"; -import { - builds_account_id, - builds_is_secret as builds_is_secret$, - builds_trigger_uuid, -} from "../../../schemas.js"; import { builds_EnvironmentVariablesRequest } from "../../schemas.js"; -import { builds_environment_variable_key } from "./schemas.js"; /** * The tools of `builds.triggers.environmentVariables`. @@ -26,23 +18,25 @@ export const tools: readonly Tool[] = [ { name: "builds_triggers_environmentVariables_delete", title: "Delete a build variable", - description: "Delete one build-time variable or secret by key.", + description: "Delete one build-time variable or secret by key.\n\nDELETE /accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables/{environment_variable_key}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "environment_variable_key": { - "$ref": "#/$defs/builds_environment_variable_key", - "description": "Environment variable key." + "description": "Environment variable key.", + "type": "string" }, "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "description": "Trigger UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -56,11 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_environment_variable_key": builds_environment_variable_key, - "builds_trigger_uuid": builds_trigger_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/builds_APIResponse", @@ -110,19 +100,21 @@ export const tools: readonly Tool[] = [ { name: "builds_triggers_environmentVariables_list", title: "List build variables", - description: "List build-time variables configured for a trigger. Secret values are not returned.", + description: "List build-time variables configured for a trigger. Secret values are not returned.\n\nGET /accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "description": "Trigger UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -135,10 +127,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_trigger_uuid": builds_trigger_uuid, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -159,8 +148,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_created_on": builds_created_on, - "builds_is_secret": builds_is_secret, }, }, annotations: { @@ -205,8 +192,6 @@ export const tools: readonly Tool[] = [ "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_created_on": builds_created_on, - "builds_is_secret": builds_is_secret, }, }, request: (args) => ({ @@ -216,7 +201,7 @@ export const tools: readonly Tool[] = [ { name: "builds_triggers_environmentVariables_upsert", title: "Set build variables", - description: "Add or replace build-time variables and secrets without changing unspecified keys.", + description: "Add or replace build-time variables and secrets without changing unspecified keys.\n\nPATCH /accounts/{account_id}/builds/triggers/{trigger_uuid}/environment_variables", inputSchema: { type: "object", properties: { @@ -224,14 +209,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_EnvironmentVariablesRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "description": "Trigger UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -245,11 +232,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_EnvironmentVariablesRequest": builds_EnvironmentVariablesRequest, - "builds_account_id": builds_account_id, - "builds_is_secret": builds_is_secret$, - "builds_trigger_uuid": builds_trigger_uuid, }, }, outputSchema: { @@ -271,8 +256,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_created_on": builds_created_on, - "builds_is_secret": builds_is_secret, }, }, annotations: { @@ -319,8 +302,6 @@ export const tools: readonly Tool[] = [ "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_created_on": builds_created_on, - "builds_is_secret": builds_is_secret, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/triggers/outputs.ts b/src/generated/forge-mcp/builds/triggers/outputs.ts index 6b9be6184..cd12979ed 100644 --- a/src/generated/forge-mcp/builds/triggers/outputs.ts +++ b/src/generated/forge-mcp/builds/triggers/outputs.ts @@ -15,31 +15,42 @@ export const builds_TriggerResponse: JsonSchema = { "$ref": "#/$defs/builds_branch_includes" }, "build_caching_enabled": { - "$ref": "#/$defs/builds_build_caching_enabled" + "type": "boolean" }, "build_command": { - "$ref": "#/$defs/builds_build_command" + "type": "string" }, "build_token_name": { - "$ref": "#/$defs/builds_build_token_name" + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid" + "format": "uuid", + "type": "string" }, "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" }, "deleted_on": { - "$ref": "#/$defs/builds_deleted_on" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "deploy_command": { - "$ref": "#/$defs/builds_deploy_command" + "type": "string" }, "external_script_id": { - "$ref": "#/$defs/builds_external_script_id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/builds_modified_on" + "format": "date-time", + "type": "string" }, "path_excludes": { "$ref": "#/$defs/builds_path_excludes" @@ -51,13 +62,14 @@ export const builds_TriggerResponse: JsonSchema = { "$ref": "#/$defs/builds_UpsertRepoConnectionResponse" }, "root_directory": { - "$ref": "#/$defs/builds_root_directory" + "type": "string" }, "trigger_name": { - "$ref": "#/$defs/builds_trigger_name" + "type": "string" }, "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid" + "format": "uuid", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/builds/triggers/schemas.ts b/src/generated/forge-mcp/builds/triggers/schemas.ts index 01281ac7a..10a5fce1f 100644 --- a/src/generated/forge-mcp/builds/triggers/schemas.ts +++ b/src/generated/forge-mcp/builds/triggers/schemas.ts @@ -17,25 +17,26 @@ export const builds_CreateTriggerRequest: JsonSchema = { "description": "Branch patterns that can start builds." }, "build_caching_enabled": { - "$ref": "#/$defs/builds_build_caching_enabled", "default": false, - "description": "Whether builds reuse cached dependencies and build artifacts." + "description": "Whether builds reuse cached dependencies and build artifacts.", + "type": "boolean" }, "build_command": { - "$ref": "#/$defs/builds_build_command", - "description": "Command to build the Worker." + "description": "Command to build the Worker.", + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid", - "description": "UUID of the build token used when deploying the Worker." + "description": "UUID of the build token used when deploying the Worker.", + "format": "uuid", + "type": "string" }, "deploy_command": { - "$ref": "#/$defs/builds_deploy_command", - "description": "Command to deploy the Worker." + "description": "Command to deploy the Worker.", + "type": "string" }, "external_script_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "System-generated tag of the Worker. This is not the Worker name." + "description": "System-generated tag of the Worker. This is not the Worker name.", + "type": "string" }, "path_excludes": { "$ref": "#/$defs/builds_path_excludes", @@ -49,16 +50,17 @@ export const builds_CreateTriggerRequest: JsonSchema = { "description": "Path patterns that can start builds." }, "repo_connection_uuid": { - "$ref": "#/$defs/builds_repo_connection_uuid", - "description": "Repository connection UUID." + "description": "Repository connection UUID.", + "format": "uuid", + "type": "string" }, "root_directory": { - "$ref": "#/$defs/builds_root_directory", - "description": "Repository directory in which build and deploy commands run." + "description": "Repository directory in which build and deploy commands run.", + "type": "string" }, "trigger_name": { - "$ref": "#/$defs/builds_trigger_name", - "description": "Human-readable name of the build trigger." + "description": "Human-readable name of the build trigger.", + "type": "string" } }, "required": [ @@ -91,21 +93,22 @@ export const builds_UpdateTriggerRequest: JsonSchema = { "description": "Branch patterns that can start builds." }, "build_caching_enabled": { - "$ref": "#/$defs/builds_build_caching_enabled", "default": false, - "description": "Whether builds reuse cached dependencies and build artifacts." + "description": "Whether builds reuse cached dependencies and build artifacts.", + "type": "boolean" }, "build_command": { - "$ref": "#/$defs/builds_build_command", - "description": "Command to build the Worker." + "description": "Command to build the Worker.", + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid", - "description": "UUID of the build token used when deploying the Worker." + "description": "UUID of the build token used when deploying the Worker.", + "format": "uuid", + "type": "string" }, "deploy_command": { - "$ref": "#/$defs/builds_deploy_command", - "description": "Command to deploy the Worker." + "description": "Command to deploy the Worker.", + "type": "string" }, "path_excludes": { "$ref": "#/$defs/builds_path_excludes", @@ -119,12 +122,12 @@ export const builds_UpdateTriggerRequest: JsonSchema = { "description": "Path patterns that can start builds." }, "root_directory": { - "$ref": "#/$defs/builds_root_directory", - "description": "Repository directory in which build and deploy commands run." + "description": "Repository directory in which build and deploy commands run.", + "type": "string" }, "trigger_name": { - "$ref": "#/$defs/builds_trigger_name", - "description": "Human-readable name of the build trigger." + "description": "Human-readable name of the build trigger.", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/builds/triggers/tools.ts b/src/generated/forge-mcp/builds/triggers/tools.ts index 7d8c57f99..c294da05e 100644 --- a/src/generated/forge-mcp/builds/triggers/tools.ts +++ b/src/generated/forge-mcp/builds/triggers/tools.ts @@ -7,45 +7,17 @@ import { builds_ApiError, builds_ErrorResponse, builds_PaginationInfo, - builds_SCMProviderType, builds_UpsertRepoConnectionResponse, builds_branch_excludes, builds_branch_includes, - builds_build_caching_enabled, - builds_build_command, - builds_build_token_name, - builds_build_token_uuid, - builds_created_on, - builds_deleted_on, - builds_deploy_command, - builds_external_script_id, - builds_modified_on, builds_path_excludes, builds_path_includes, - builds_provider_account_id, - builds_provider_account_name, - builds_repo_connection_uuid, - builds_repo_id, - builds_repo_name, - builds_root_directory, - builds_trigger_name, - builds_trigger_uuid, } from "../../outputs.js"; import { - builds_account_id, builds_branch_excludes as builds_branch_excludes$, builds_branch_includes as builds_branch_includes$, - builds_build_caching_enabled as builds_build_caching_enabled$, - builds_build_command as builds_build_command$, - builds_build_token_uuid as builds_build_token_uuid$, - builds_deploy_command as builds_deploy_command$, - builds_external_script_id as builds_external_script_id$, builds_path_excludes as builds_path_excludes$, builds_path_includes as builds_path_includes$, - builds_repo_connection_uuid as builds_repo_connection_uuid$, - builds_root_directory as builds_root_directory$, - builds_trigger_name as builds_trigger_name$, - builds_trigger_uuid as builds_trigger_uuid$, } from "../../schemas.js"; import { builds_TriggerResponse } from "./outputs.js"; import { @@ -60,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "builds_triggers_create", title: "Create a build trigger", - description: "Create a trigger defining the repository connection, Worker tag, commands, filters, cache setting, and build token.", + description: "Create a trigger defining the repository connection, Worker tag, commands, filters, cache setting, and build token.\n\nPOST /accounts/{account_id}/builds/triggers", inputSchema: { type: "object", properties: { @@ -68,10 +40,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_CreateTriggerRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -84,21 +57,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_CreateTriggerRequest": builds_CreateTriggerRequest, - "builds_account_id": builds_account_id, "builds_branch_excludes": builds_branch_excludes$, "builds_branch_includes": builds_branch_includes$, - "builds_build_caching_enabled": builds_build_caching_enabled$, - "builds_build_command": builds_build_command$, - "builds_build_token_uuid": builds_build_token_uuid$, - "builds_deploy_command": builds_deploy_command$, - "builds_external_script_id": builds_external_script_id$, "builds_path_excludes": builds_path_excludes$, "builds_path_includes": builds_path_includes$, - "builds_repo_connection_uuid": builds_repo_connection_uuid$, - "builds_root_directory": builds_root_directory$, - "builds_trigger_name": builds_trigger_name$, }, }, outputSchema: { @@ -119,30 +84,12 @@ export const tools: readonly Tool[] = [ "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_TriggerResponse": builds_TriggerResponse, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -185,30 +132,12 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_TriggerResponse": builds_TriggerResponse, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -219,19 +148,21 @@ export const tools: readonly Tool[] = [ { name: "builds_triggers_delete", title: "Delete a build trigger", - description: "Delete a trigger and cancel its unfinished builds.\n\nConfirm with the user before calling this tool. This operation deletes the build trigger and cancels its unfinished builds.", + description: "Delete a trigger and cancel its unfinished builds.\n\nConfirm with the user before calling this tool. This operation deletes the build trigger and cancels its unfinished builds.\n\nDELETE /accounts/{account_id}/builds/triggers/{trigger_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "description": "Trigger UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -244,10 +175,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_trigger_uuid": builds_trigger_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/builds_APIResponse", @@ -297,19 +225,20 @@ export const tools: readonly Tool[] = [ { name: "builds_triggers_list", title: "List triggers for a Worker", - description: "List trigger UUIDs and build settings associated with a Worker tag.", + description: "List trigger UUIDs and build settings associated with a Worker tag.\n\nGET /accounts/{account_id}/builds/workers/{external_script_id}/triggers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "external_script_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "System-generated tag of the Worker. This is not the Worker name." + "description": "System-generated tag of the Worker. This is not the Worker name.", + "type": "string" } }, "required": [ @@ -322,10 +251,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -348,30 +274,12 @@ export const tools: readonly Tool[] = [ "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_TriggerResponse": builds_TriggerResponse, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -418,30 +326,12 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_TriggerResponse": builds_TriggerResponse, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -451,7 +341,7 @@ export const tools: readonly Tool[] = [ { name: "builds_triggers_update", title: "Update a build trigger", - description: "Update commands, cache settings, or branch and path filters for a trigger.", + description: "Update commands, cache settings, or branch and path filters for a trigger.\n\nPATCH /accounts/{account_id}/builds/triggers/{trigger_uuid}", inputSchema: { type: "object", properties: { @@ -459,14 +349,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_UpdateTriggerRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid", - "description": "Trigger UUID." + "description": "Trigger UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -480,20 +372,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_UpdateTriggerRequest": builds_UpdateTriggerRequest, - "builds_account_id": builds_account_id, "builds_branch_excludes": builds_branch_excludes$, "builds_branch_includes": builds_branch_includes$, - "builds_build_caching_enabled": builds_build_caching_enabled$, - "builds_build_command": builds_build_command$, - "builds_build_token_uuid": builds_build_token_uuid$, - "builds_deploy_command": builds_deploy_command$, "builds_path_excludes": builds_path_excludes$, "builds_path_includes": builds_path_includes$, - "builds_root_directory": builds_root_directory$, - "builds_trigger_name": builds_trigger_name$, - "builds_trigger_uuid": builds_trigger_uuid$, }, }, outputSchema: { @@ -514,30 +399,12 @@ export const tools: readonly Tool[] = [ "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_TriggerResponse": builds_TriggerResponse, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -583,30 +450,12 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_TriggerResponse": builds_TriggerResponse, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/versions/schemas.ts b/src/generated/forge-mcp/builds/versions/schemas.ts deleted file mode 100644 index 0efcfa34a..000000000 --- a/src/generated/forge-mcp/builds/versions/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `builds_version_ids`. - */ -export const builds_version_ids: JsonSchema = { - "description": "Comma-separated list of version UUIDs (max 20).", - "type": "string" -}; diff --git a/src/generated/forge-mcp/builds/versions/tools.ts b/src/generated/forge-mcp/builds/versions/tools.ts index dcc0344e9..017f2a262 100644 --- a/src/generated/forge-mcp/builds/versions/tools.ts +++ b/src/generated/forge-mcp/builds/versions/tools.ts @@ -5,45 +5,17 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { builds_APIResponse, builds_ApiError, - builds_BuildOutcome, builds_BuildResponse, - builds_BuildStatus, builds_BuildTriggerMetadataResponse, - builds_BuildTriggerSource, builds_ErrorResponse, builds_PaginationInfo, - builds_SCMProviderType, builds_UpsertRepoConnectionResponse, - builds_branch, builds_branch_excludes, builds_branch_includes, - builds_build_caching_enabled, - builds_build_command, - builds_build_token_name, - builds_build_token_uuid, - builds_build_uuid, - builds_commit_hash, - builds_created_on, - builds_deleted_on, - builds_deploy_command, - builds_deploy_hook_name, - builds_external_script_id, - builds_modified_on, builds_path_excludes, builds_path_includes, - builds_provider_account_id, - builds_provider_account_name, - builds_repo_connection_uuid, - builds_repo_id, - builds_repo_name, - builds_root_directory, - builds_stopped_on, - builds_trigger_name, - builds_trigger_uuid, } from "../../outputs.js"; -import { builds_account_id } from "../../schemas.js"; import { builds_BuildsByVersionResponse } from "./outputs.js"; -import { builds_version_ids } from "./schemas.js"; /** * The tools of `builds.versions`. @@ -52,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "builds_versions_get", title: "Get builds by Worker version", - description: "Retrieve builds associated with one or more Worker version IDs.", + description: "Retrieve builds associated with one or more Worker version IDs.\n\nGET /accounts/{account_id}/builds/builds", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -69,10 +42,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "version_ids": { - "$ref": "#/$defs/builds_version_ids", - "description": "Comma-separated list of version UUIDs (max 20)." + "description": "Comma-separated list of version UUIDs (max 20).", + "type": "string" } }, "required": [ @@ -85,10 +59,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_version_ids": builds_version_ids, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -107,41 +78,15 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_BuildsByVersionResponse": builds_BuildsByVersionResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -183,42 +128,16 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_BuildsByVersionResponse": builds_BuildsByVersionResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/builds/workers/schemas.ts b/src/generated/forge-mcp/builds/workers/schemas.ts index e9935d9d0..f19f138d1 100644 --- a/src/generated/forge-mcp/builds/workers/schemas.ts +++ b/src/generated/forge-mcp/builds/workers/schemas.ts @@ -15,16 +15,17 @@ export const builds_CreateWorkerBuildSettingsInput: JsonSchema = { "type": "boolean" }, "build_command": { - "$ref": "#/$defs/builds_build_command", - "description": "Command to build the Worker." + "description": "Command to build the Worker.", + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid", - "description": "UUID of the build token used when deploying the Worker." + "description": "UUID of the build token used when deploying the Worker.", + "format": "uuid", + "type": "string" }, "deploy_command": { - "$ref": "#/$defs/builds_deploy_command", - "description": "Command to deploy the Worker." + "description": "Command to deploy the Worker.", + "type": "string" }, "environment_variables": { "$ref": "#/$defs/builds_EnvironmentVariablesRequest", @@ -42,8 +43,9 @@ export const builds_CreateWorkerBuildSettingsInput: JsonSchema = { "description": "Path patterns that can start builds." }, "root_directory": { - "$ref": "#/$defs/builds_root_directory", - "default": "/" + "default": "/", + "description": "Repository directory in which build and deploy commands run.", + "type": "string" } }, "required": [ @@ -65,12 +67,12 @@ export const builds_CreateWorkerGitRepositoryFunfettiInput: JsonSchema = { "type": "string" }, "provider_account_id": { - "$ref": "#/$defs/builds_provider_account_id", - "description": "Provider-specific identifier of the account or namespace that owns the repository." + "description": "Provider-specific identifier of the account or namespace that owns the repository.", + "type": "string" }, "provider_account_name": { - "$ref": "#/$defs/builds_provider_account_name", - "description": "Human-readable name of the account or namespace that owns the repository." + "description": "Human-readable name of the account or namespace that owns the repository.", + "type": "string" }, "provider_type": { "enum": [ @@ -80,12 +82,12 @@ export const builds_CreateWorkerGitRepositoryFunfettiInput: JsonSchema = { "type": "string" }, "repo_id": { - "$ref": "#/$defs/builds_repo_id", - "description": "Provider-specific repository identifier." + "description": "Provider-specific repository identifier.", + "type": "string" }, "repo_name": { - "$ref": "#/$defs/builds_repo_name", - "description": "Human-readable repository name." + "description": "Human-readable repository name.", + "type": "string" } }, "required": [ @@ -114,12 +116,12 @@ export const builds_CreateWorkerGitRepositoryGrantInput: JsonSchema = { "type": "string" }, "provider_account_id": { - "$ref": "#/$defs/builds_provider_account_id", - "description": "Provider-specific identifier of the account or namespace that owns the repository." + "description": "Provider-specific identifier of the account or namespace that owns the repository.", + "type": "string" }, "provider_account_name": { - "$ref": "#/$defs/builds_provider_account_name", - "description": "Human-readable name of the account or namespace that owns the repository." + "description": "Human-readable name of the account or namespace that owns the repository.", + "type": "string" }, "provider_type": { "enum": [ @@ -129,12 +131,12 @@ export const builds_CreateWorkerGitRepositoryGrantInput: JsonSchema = { "type": "string" }, "repo_id": { - "$ref": "#/$defs/builds_repo_id", - "description": "Provider-specific repository identifier." + "description": "Provider-specific repository identifier.", + "type": "string" }, "repo_name": { - "$ref": "#/$defs/builds_repo_name", - "description": "Human-readable repository name." + "description": "Human-readable repository name.", + "type": "string" } }, "required": [ @@ -185,8 +187,8 @@ export const builds_CreateWorkerRequest: JsonSchema = { "description": "Build and deploy settings when creating a Worker build configuration" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "System-generated tag of the Worker. This is not the Worker name." + "description": "System-generated tag of the Worker. This is not the Worker name.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/builds/workers/tools.ts b/src/generated/forge-mcp/builds/workers/tools.ts index b23820bfa..11b652e7e 100644 --- a/src/generated/forge-mcp/builds/workers/tools.ts +++ b/src/generated/forge-mcp/builds/workers/tools.ts @@ -8,41 +8,16 @@ import { builds_EnvironmentVariablesResponse, builds_ErrorResponse, builds_PaginationInfo, - builds_SCMProviderType, builds_WorkerBuildSettings, builds_WorkerGitRepository, builds_WorkerResponse, - builds_build_caching_enabled, - builds_build_command, - builds_build_token_uuid, - builds_created_on, - builds_deploy_command, - builds_external_script_id, - builds_is_secret, builds_path_excludes, builds_path_includes, - builds_provider_account_id, - builds_provider_account_name, - builds_repo_id, - builds_repo_name, - builds_root_directory, } from "../../outputs.js"; import { builds_UpdateWorkerBuildSettingsInput, - builds_account_id, - builds_build_caching_enabled as builds_build_caching_enabled$, - builds_build_command as builds_build_command$, - builds_build_token_uuid as builds_build_token_uuid$, - builds_deploy_command as builds_deploy_command$, - builds_external_script_id as builds_external_script_id$, - builds_is_secret as builds_is_secret$, builds_path_excludes as builds_path_excludes$, builds_path_includes as builds_path_includes$, - builds_provider_account_id as builds_provider_account_id$, - builds_provider_account_name as builds_provider_account_name$, - builds_repo_id as builds_repo_id$, - builds_repo_name as builds_repo_name$, - builds_root_directory as builds_root_directory$, } from "../../schemas.js"; import { builds_EnvironmentVariablesRequest } from "../schemas.js"; import { @@ -61,7 +36,7 @@ export const tools: readonly Tool[] = [ { name: "builds_workers_create", title: "Create Worker build configuration", - description: "Connect a Worker tag to a repository and production build settings.", + description: "Connect a Worker tag to a repository and production build settings.\n\nPOST /accounts/{account_id}/builds/workers", inputSchema: { type: "object", properties: { @@ -69,10 +44,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_CreateWorkerRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -85,6 +61,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_CreateWorkerBuildSettingsInput": builds_CreateWorkerBuildSettingsInput, "builds_CreateWorkerGitRepositoryFunfettiInput": builds_CreateWorkerGitRepositoryFunfettiInput, @@ -92,19 +69,8 @@ export const tools: readonly Tool[] = [ "builds_CreateWorkerGitRepositoryInput": builds_CreateWorkerGitRepositoryInput, "builds_CreateWorkerRequest": builds_CreateWorkerRequest, "builds_EnvironmentVariablesRequest": builds_EnvironmentVariablesRequest, - "builds_account_id": builds_account_id, - "builds_build_command": builds_build_command$, - "builds_build_token_uuid": builds_build_token_uuid$, - "builds_deploy_command": builds_deploy_command$, - "builds_external_script_id": builds_external_script_id$, - "builds_is_secret": builds_is_secret$, "builds_path_excludes": builds_path_excludes$, "builds_path_includes": builds_path_includes$, - "builds_provider_account_id": builds_provider_account_id$, - "builds_provider_account_name": builds_provider_account_name$, - "builds_repo_id": builds_repo_id$, - "builds_repo_name": builds_repo_name$, - "builds_root_directory": builds_root_directory$, }, }, outputSchema: { @@ -126,24 +92,11 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, "builds_WorkerGitRepository": builds_WorkerGitRepository, "builds_WorkerResponse": builds_WorkerResponse, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -196,24 +149,11 @@ export const tools: readonly Tool[] = [ "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, "builds_WorkerGitRepository": builds_WorkerGitRepository, "builds_WorkerResponse": builds_WorkerResponse, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ @@ -224,19 +164,20 @@ export const tools: readonly Tool[] = [ { name: "builds_workers_delete", title: "Delete Worker build configuration", - description: "Delete build settings and triggers for a Worker tag and cancel unfinished builds. The Worker is not deleted.\n\nConfirm with the user before calling this tool. This operation deletes the Worker build configuration and its triggers, and cancels unfinished builds. The Worker is not deleted.", + description: "Delete build settings and triggers for a Worker tag and cancel unfinished builds. The Worker is not deleted.\n\nConfirm with the user before calling this tool. This operation deletes the Worker build configuration and its triggers, and cancels unfinished builds. The Worker is not deleted.\n\nDELETE /accounts/{account_id}/builds/workers/{script_tag}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "description": "The Worker script tag (external script ID)", + "type": "string" } }, "required": [ @@ -249,10 +190,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -326,19 +264,20 @@ export const tools: readonly Tool[] = [ { name: "builds_workers_get", title: "Get Worker build configuration", - description: "Retrieve the repository and production build settings associated with a Worker tag.", + description: "Retrieve the repository and production build settings associated with a Worker tag.\n\nGET /accounts/{account_id}/builds/workers/{script_tag}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "description": "The Worker script tag (external script ID)", + "type": "string" } }, "required": [ @@ -351,10 +290,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -375,24 +311,11 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, "builds_WorkerGitRepository": builds_WorkerGitRepository, "builds_WorkerResponse": builds_WorkerResponse, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -440,24 +363,11 @@ export const tools: readonly Tool[] = [ "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, "builds_WorkerGitRepository": builds_WorkerGitRepository, "builds_WorkerResponse": builds_WorkerResponse, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ @@ -467,7 +377,7 @@ export const tools: readonly Tool[] = [ { name: "builds_workers_update", title: "Update Worker build configuration", - description: "Update the build configuration for a Worker script. Supports partial updates to git repository settings, production build settings, and Preview settings.", + description: "Update the build configuration for a Worker script. Supports partial updates to git repository settings, production build settings, and Preview settings.\n\nPATCH /accounts/{account_id}/builds/workers/{script_tag}", inputSchema: { type: "object", properties: { @@ -475,14 +385,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_UpdateWorkerRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "description": "The Worker script tag (external script ID)", + "type": "string" } }, "required": [ @@ -492,6 +403,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "patch_existing_previews": { "default": "false", @@ -510,19 +422,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_UpdateWorkerBuildSettingsInput": builds_UpdateWorkerBuildSettingsInput, "builds_UpdateWorkerRequest": builds_UpdateWorkerRequest, - "builds_account_id": builds_account_id, - "builds_build_caching_enabled": builds_build_caching_enabled$, - "builds_build_command": builds_build_command$, - "builds_build_token_uuid": builds_build_token_uuid$, - "builds_deploy_command": builds_deploy_command$, - "builds_external_script_id": builds_external_script_id$, - "builds_is_secret": builds_is_secret$, "builds_path_excludes": builds_path_excludes$, "builds_path_includes": builds_path_includes$, - "builds_root_directory": builds_root_directory$, }, }, outputSchema: { @@ -544,24 +449,11 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, "builds_WorkerGitRepository": builds_WorkerGitRepository, "builds_WorkerResponse": builds_WorkerResponse, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -611,24 +503,11 @@ export const tools: readonly Tool[] = [ "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, "builds_WorkerGitRepository": builds_WorkerGitRepository, "builds_WorkerResponse": builds_WorkerResponse, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts index d9ef9899f..c34575972 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/bulk/tools.ts @@ -7,7 +7,6 @@ import { cache$$settings_api$$response$$common$$failure, cache$$settings_messages, } from "../../../outputs.js"; -import { cache$$settings_identifier } from "../../../schemas.js"; import { cache$$settings_origin_cloud_region_v2_request } from "../schemas.js"; import { cache$$settings_origin_cloud_region_v2_batch_item_result, @@ -21,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "cache_originCloudRegions_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?", + 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?\n\nDELETE /zones/{zone_id}/origin/cloud_regions/batch", inputSchema: { type: "object", properties: { @@ -33,10 +32,11 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -49,9 +49,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -128,7 +126,7 @@ export const tools: readonly Tool[] = [ { name: "cache_originCloudRegions_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`.", + 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`.\n\nPUT /zones/{zone_id}/origin/cloud_regions/batch", inputSchema: { type: "object", properties: { @@ -140,10 +138,11 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -156,8 +155,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cache-settings_identifier": cache$$settings_identifier, "cache-settings_origin_cloud_region_v2_request": cache$$settings_origin_cloud_region_v2_request, }, }, diff --git a/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts index 7c384455d..ec6fa898e 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/regions/tools.ts @@ -7,7 +7,6 @@ import { cache$$settings_api$$response$$common$$failure, cache$$settings_messages, } from "../../../outputs.js"; -import { cache$$settings_identifier } from "../../../schemas.js"; import { cache$$settings_supported_cloud_region, cache$$settings_supported_cloud_regions_result, @@ -20,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "cache_originCloudRegions_regions_listSupported", 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.", + 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.\n\nGET /zones/{zone_id}/origin/cloud_regions/supported_regions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -40,9 +40,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/cache/originCloudRegions/tools.ts b/src/generated/forge-mcp/cache/originCloudRegions/tools.ts index eef5823ae..71ea6a381 100644 --- a/src/generated/forge-mcp/cache/originCloudRegions/tools.ts +++ b/src/generated/forge-mcp/cache/originCloudRegions/tools.ts @@ -7,7 +7,6 @@ import { cache$$settings_api$$response$$common$$failure, cache$$settings_messages, } from "../../outputs.js"; -import { cache$$settings_identifier } from "../../schemas.js"; import { cache$$settings_origin_cloud_region_v2_delete_result, cache$$settings_origin_cloud_region_v2_entry, @@ -22,19 +21,20 @@ export const tools: readonly Tool[] = [ { name: "cache_originCloudRegions_delete", title: "Delete an origin cloud region mapping", - description: "Removes the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup. Returns the deleted IP on success. Returns 404 if no mapping exists for the specified IP. When the last mapping for the zone is removed the underlying rule record is also deleted.\n\nConfirm with the user before calling this tool. Are you sure you want to delete this Origin Cloud Region configuration?", + description: "Removes the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup. Returns the deleted IP on success. Returns 404 if no mapping exists for the specified IP. When the last mapping for the zone is removed the underlying rule record is also deleted.\n\nConfirm with the user before calling this tool. Are you sure you want to delete this Origin Cloud Region configuration?\n\nDELETE /zones/{zone_id}/origin/cloud_regions/{origin_ip}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "origin_ip": { "description": "Origin IP address whose mapping should be deleted.", "type": "string" }, "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -47,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -123,19 +121,20 @@ export const tools: readonly Tool[] = [ { name: "cache_originCloudRegions_get", title: "Get an origin cloud region mapping", - description: "Returns the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup (RFC 5952 for IPv6). Returns 404 if the zone has no mappings or if the specified IP has no mapping.", + description: "Returns the cloud region mapping for a single origin IP address. The IP path parameter is normalized before lookup (RFC 5952 for IPv6). Returns 404 if the zone has no mappings or if the specified IP has no mapping.\n\nGET /zones/{zone_id}/origin/cloud_regions/{origin_ip}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "origin_ip": { "description": "Origin IP address to look up. IPv4 and IPv6 are supported.", "type": "string" }, "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -148,9 +147,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -224,15 +221,16 @@ export const tools: readonly Tool[] = [ { name: "cache_originCloudRegions_list", title: "List origin cloud region mappings", - description: "Returns all IP-to-cloud-region mappings configured for the zone with pagination support. Each mapping tells Cloudflare which cloud vendor and region hosts the origin at that IP, enabling the edge to route via the nearest Tiered Cache upper-tier co-located with that cloud provider. Returns an empty array when no mappings exist.", + description: "Returns all IP-to-cloud-region mappings configured for the zone with pagination support. Each mapping tells Cloudflare which cloud vendor and region hosts the origin at that IP, enabling the edge to route via the nearest Tiered Cache upper-tier co-located with that cloud provider. Returns an empty array when no mappings exist.\n\nGET /zones/{zone_id}/origin/cloud_regions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -241,6 +239,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -259,9 +258,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -361,7 +358,7 @@ export const tools: readonly Tool[] = [ { name: "cache_originCloudRegions_update", title: "Create or replace an origin cloud region mapping", - description: "Creates a new IP-to-cloud-region mapping or replaces the existing mapping for the specified IP. PUT is idempotent — calling it repeatedly with the same body produces the same result. The IP path parameter is normalized to canonical form (RFC 5952 for IPv6) before storage. The vendor and region are validated against the list from `GET /zones/{zone_id}/origin/cloud_regions/supported_regions`. Returns 400 if the `origin_ip` in the body does not match the URL path parameter. Returns 403 (code 1164) when the zone has reached the limit of 3,500 IP mappings.", + description: "Creates a new IP-to-cloud-region mapping or replaces the existing mapping for the specified IP. PUT is idempotent — calling it repeatedly with the same body produces the same result. The IP path parameter is normalized to canonical form (RFC 5952 for IPv6) before storage. The vendor and region are validated against the list from `GET /zones/{zone_id}/origin/cloud_regions/supported_regions`. Returns 400 if the `origin_ip` in the body does not match the URL path parameter. Returns 403 (code 1164) when the zone has reached the limit of 3,500 IP mappings.\n\nPUT /zones/{zone_id}/origin/cloud_regions/{origin_ip}", inputSchema: { type: "object", properties: { @@ -369,14 +366,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cache-settings_origin_cloud_region_v2_request" }, "path": { + "additionalProperties": false, "properties": { "origin_ip": { "description": "Origin IP address to create or replace.", "type": "string" }, "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -390,8 +388,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cache-settings_identifier": cache$$settings_identifier, "cache-settings_origin_cloud_region_v2_request": cache$$settings_origin_cloud_region_v2_request, }, }, diff --git a/src/generated/forge-mcp/cache/outputs.ts b/src/generated/forge-mcp/cache/outputs.ts index 6847d0f37..2884569c7 100644 --- a/src/generated/forge-mcp/cache/outputs.ts +++ b/src/generated/forge-mcp/cache/outputs.ts @@ -53,7 +53,7 @@ export const cache$$purge_api$$response$$single$$id: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/cache-purge_identifier" + "type": "string" } }, "required": [ @@ -78,13 +78,6 @@ export const cache$$purge_api$$response$$single$$id: JsonSchema = { "type": "object" }; -/** - * The schema of `cache-purge_identifier` in responses. - */ -export const cache$$purge_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `cache-purge_messages` in responses. */ diff --git a/src/generated/forge-mcp/cache/schemas.ts b/src/generated/forge-mcp/cache/schemas.ts index 7f46eded4..f1743e585 100644 --- a/src/generated/forge-mcp/cache/schemas.ts +++ b/src/generated/forge-mcp/cache/schemas.ts @@ -92,7 +92,7 @@ export const cache$$purge_SingleFileWithUrlAndHeaders: JsonSchema = { "description": "Purge files with URL and headers", "properties": { "files": { - "description": "URLs with the request headers your cache key uses. Use this form when your cache key includes request headers, or the visitor's device type, country, or language: send the header values each URL was cached with, such as `CF-Device-Type`, `CF-IPCountry`, or `Accept-Language`.\n\nWhen you send the `Origin` header, include the scheme and hostname. Include the port unless it is the default for the scheme: 80 for `http`, 443 for `https`.\n\nSee [Purge by single-file](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-single-file/).\n", + "description": "URLs with the request headers your cache key uses. Use this form when your cache key includes request headers, or the visitor's device type, country, or language: send the header values each URL was cached with, such as `CF-Device-Type`, `CF-IPCountry`, or `Accept-Language`.\n\nWhen you send the `Origin` header, include the scheme and hostname. Include the port unless it is the default for the scheme: 80 for `http`, 443 for `https`.\n\nSee [Purge by single-file](https://developers.cloudflare.com/cache/how-to/purge-cache/purge-by-single-file/).", "items": { "properties": { "headers": { @@ -114,10 +114,3 @@ export const cache$$purge_SingleFileWithUrlAndHeaders: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `cache-purge_identifier`. - */ -export const cache$$purge_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts b/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts index 5a97b0a11..e0d8a5711 100644 --- a/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts +++ b/src/generated/forge-mcp/cache/settings/regionalTieredCache/outputs.ts @@ -39,7 +39,11 @@ export const cache$$settings_regional_tiered_cache_response_value: JsonSchema = { "properties": { "value": { - "$ref": "#/$defs/cache-settings_regional_tiered_cache_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -52,14 +56,3 @@ export const cache$$settings_regional_tiered_cache_response_value: JsonSchema = }, "type": "object" }; - -/** - * The schema of `cache-settings_regional_tiered_cache_value` in responses. - */ -export const cache$$settings_regional_tiered_cache_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/cache/settings/regionalTieredCache/schemas.ts b/src/generated/forge-mcp/cache/settings/regionalTieredCache/schemas.ts deleted file mode 100644 index 8431aef56..000000000 --- a/src/generated/forge-mcp/cache/settings/regionalTieredCache/schemas.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `cache-settings_regional_tiered_cache_value`. - */ -export const cache$$settings_regional_tiered_cache_value: JsonSchema = { - "description": "Value of the Regional Tiered Cache zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts b/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts index 85009b8de..734b25c13 100644 --- a/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts +++ b/src/generated/forge-mcp/cache/settings/regionalTieredCache/tools.ts @@ -6,21 +6,14 @@ import { cache$$settings_api$$response$$common, cache$$settings_api$$response$$common$$failure, cache$$settings_base, - cache$$settings_editable, cache$$settings_messages, - cache$$settings_modified_on, cache$$settings_result$$object, - cache$$settings_setting_id, - cache$$settings_setting_value, cache$$settings_zone_cache_settings_response_single, } from "../../../outputs.js"; -import { cache$$settings_identifier } from "../../../schemas.js"; import { cache$$settings_regional_tiered_cache, cache$$settings_regional_tiered_cache_response_value, - cache$$settings_regional_tiered_cache_value, } from "./outputs.js"; -import { cache$$settings_regional_tiered_cache_value as cache$$settings_regional_tiered_cache_value$ } from "./schemas.js"; /** * The tools of `cache.settings.regionalTieredCache`. @@ -29,16 +22,20 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_regionalTieredCache_edit", title: "Change Regional Tiered Cache setting", - description: "Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies.", + description: "Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies.\n\nPATCH /zones/{zone_id}/cache/regional_tiered_cache", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/cache-settings_regional_tiered_cache_value", "default": "off", - "description": "Value of the Regional Tiered Cache zone setting." + "description": "Value of the Regional Tiered Cache zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -47,10 +44,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -63,10 +61,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -80,15 +75,10 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_regional_tiered_cache": cache$$settings_regional_tiered_cache, "cache-settings_regional_tiered_cache_response_value": cache$$settings_regional_tiered_cache_response_value, - "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -138,15 +128,10 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_regional_tiered_cache": cache$$settings_regional_tiered_cache, "cache-settings_regional_tiered_cache_response_value": cache$$settings_regional_tiered_cache_response_value, - "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -158,15 +143,16 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_regionalTieredCache_get", title: "Get Regional Tiered Cache setting", - description: "Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies.", + description: "Instructs Cloudflare to check a regional hub data center on the way to your upper tier. This can help improve performance for smart and custom tiered cache topologies.\n\nGET /zones/{zone_id}/cache/regional_tiered_cache", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -178,9 +164,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -194,15 +178,10 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_regional_tiered_cache": cache$$settings_regional_tiered_cache, "cache-settings_regional_tiered_cache_response_value": cache$$settings_regional_tiered_cache_response_value, - "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -254,15 +233,10 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_regional_tiered_cache": cache$$settings_regional_tiered_cache, "cache-settings_regional_tiered_cache_response_value": cache$$settings_regional_tiered_cache_response_value, - "cache-settings_regional_tiered_cache_value": cache$$settings_regional_tiered_cache_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, diff --git a/src/generated/forge-mcp/cache/settings/reserve/outputs.ts b/src/generated/forge-mcp/cache/settings/reserve/outputs.ts index fe69979b1..fe7f85bf1 100644 --- a/src/generated/forge-mcp/cache/settings/reserve/outputs.ts +++ b/src/generated/forge-mcp/cache/settings/reserve/outputs.ts @@ -47,14 +47,6 @@ export const cache$$settings_cache_reserve_clear: JsonSchema = { ] }; -/** - * The schema of `cache-settings_cache_reserve_clear_end_ts` in responses. - */ -export const cache$$settings_cache_reserve_clear_end_ts: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `cache-settings_cache_reserve_clear_response_value` in * responses. @@ -69,13 +61,19 @@ export const cache$$settings_cache_reserve_clear_response_value: JsonSchema = { { "properties": { "end_ts": { - "$ref": "#/$defs/cache-settings_cache_reserve_clear_end_ts" + "format": "date-time", + "type": "string" }, "start_ts": { - "$ref": "#/$defs/cache-settings_cache_reserve_clear_start_ts" + "format": "date-time", + "type": "string" }, "state": { - "$ref": "#/$defs/cache-settings_cache_reserve_clear_state" + "enum": [ + "In-progress", + "Completed" + ], + "type": "string" } }, "required": [ @@ -90,25 +88,6 @@ export const cache$$settings_cache_reserve_clear_response_value: JsonSchema = { "type": "object" }; -/** - * The schema of `cache-settings_cache_reserve_clear_start_ts` in responses. - */ -export const cache$$settings_cache_reserve_clear_start_ts: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `cache-settings_cache_reserve_clear_state` in responses. - */ -export const cache$$settings_cache_reserve_clear_state: JsonSchema = { - "enum": [ - "In-progress", - "Completed" - ], - "type": "string" -}; - /** * The schema of `cache-settings_cache_reserve_response_value` in responses. */ @@ -122,7 +101,11 @@ export const cache$$settings_cache_reserve_response_value: JsonSchema = { { "properties": { "value": { - "$ref": "#/$defs/cache-settings_cache_reserve_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -135,14 +118,3 @@ export const cache$$settings_cache_reserve_response_value: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `cache-settings_cache_reserve_value` in responses. - */ -export const cache$$settings_cache_reserve_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/cache/settings/reserve/schemas.ts b/src/generated/forge-mcp/cache/settings/reserve/schemas.ts deleted file mode 100644 index 367019f64..000000000 --- a/src/generated/forge-mcp/cache/settings/reserve/schemas.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `cache-settings_cache_reserve_value`. - */ -export const cache$$settings_cache_reserve_value: JsonSchema = { - "description": "Value of the Cache Reserve zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/cache/settings/reserve/tools.ts b/src/generated/forge-mcp/cache/settings/reserve/tools.ts index a00b02b86..c92466e67 100644 --- a/src/generated/forge-mcp/cache/settings/reserve/tools.ts +++ b/src/generated/forge-mcp/cache/settings/reserve/tools.ts @@ -6,26 +6,16 @@ import { cache$$settings_api$$response$$common, cache$$settings_api$$response$$common$$failure, cache$$settings_base, - cache$$settings_editable, cache$$settings_messages, - cache$$settings_modified_on, cache$$settings_result$$object, - cache$$settings_setting_id, - cache$$settings_setting_value, cache$$settings_zone_cache_settings_response_single, } from "../../../outputs.js"; -import { cache$$settings_identifier } from "../../../schemas.js"; import { cache$$settings_cache_reserve, cache$$settings_cache_reserve_clear, - cache$$settings_cache_reserve_clear_end_ts, cache$$settings_cache_reserve_clear_response_value, - cache$$settings_cache_reserve_clear_start_ts, - cache$$settings_cache_reserve_clear_state, cache$$settings_cache_reserve_response_value, - cache$$settings_cache_reserve_value, } from "./outputs.js"; -import { cache$$settings_cache_reserve_value as cache$$settings_cache_reserve_value$ } from "./schemas.js"; /** * The tools of `cache.settings.reserve`. @@ -34,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_reserve_clear", title: "Start Cache Reserve Clear", - description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.\n\nConfirm with the user before calling this tool. This operation permanently clears Cache Reserve for this zone and cannot be undone.", + description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.\n\nConfirm with the user before calling this tool. This operation permanently clears Cache Reserve for this zone and cannot be undone.\n\nPOST /zones/{zone_id}/cache/cache_reserve_clear", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -54,9 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -71,10 +60,7 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, "cache-settings_cache_reserve_clear": cache$$settings_cache_reserve_clear, - "cache-settings_cache_reserve_clear_end_ts": cache$$settings_cache_reserve_clear_end_ts, "cache-settings_cache_reserve_clear_response_value": cache$$settings_cache_reserve_clear_response_value, - "cache-settings_cache_reserve_clear_start_ts": cache$$settings_cache_reserve_clear_start_ts, - "cache-settings_cache_reserve_clear_state": cache$$settings_cache_reserve_clear_state, "cache-settings_messages": cache$$settings_messages, }, }, @@ -125,10 +111,7 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, "cache-settings_cache_reserve_clear": cache$$settings_cache_reserve_clear, - "cache-settings_cache_reserve_clear_end_ts": cache$$settings_cache_reserve_clear_end_ts, "cache-settings_cache_reserve_clear_response_value": cache$$settings_cache_reserve_clear_response_value, - "cache-settings_cache_reserve_clear_start_ts": cache$$settings_cache_reserve_clear_start_ts, - "cache-settings_cache_reserve_clear_state": cache$$settings_cache_reserve_clear_state, "cache-settings_messages": cache$$settings_messages, }, }, @@ -139,16 +122,20 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_reserve_edit", title: "Change Cache Reserve setting", - description: "Increase cache lifetimes by automatically storing all cacheable files into Cloudflare's persistent object storage buckets. Requires Cache Reserve subscription. Note: using Tiered Cache with Cache Reserve is highly recommended to reduce Reserve operations costs. See the [developer docs](https://developers.cloudflare.com/cache/about/cache-reserve) for more information.", + description: "Increase cache lifetimes by automatically storing all cacheable files into Cloudflare's persistent object storage buckets. Requires Cache Reserve subscription. Note: using Tiered Cache with Cache Reserve is highly recommended to reduce Reserve operations costs. See the [developer docs](https://developers.cloudflare.com/cache/about/cache-reserve) for more information.\n\nPATCH /zones/{zone_id}/cache/cache_reserve", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/cache-settings_cache_reserve_value", "default": "off", - "description": "Value of the Cache Reserve zone setting." + "description": "Value of the Cache Reserve zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -157,10 +144,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -173,10 +161,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value$, - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -192,13 +177,8 @@ export const tools: readonly Tool[] = [ "cache-settings_base": cache$$settings_base, "cache-settings_cache_reserve": cache$$settings_cache_reserve, "cache-settings_cache_reserve_response_value": cache$$settings_cache_reserve_response_value, - "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -250,13 +230,8 @@ export const tools: readonly Tool[] = [ "cache-settings_base": cache$$settings_base, "cache-settings_cache_reserve": cache$$settings_cache_reserve, "cache-settings_cache_reserve_response_value": cache$$settings_cache_reserve_response_value, - "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -268,15 +243,16 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_reserve_get", title: "Get Cache Reserve setting", - description: "Increase cache lifetimes by automatically storing all cacheable files into Cloudflare's persistent object storage buckets. Requires Cache Reserve subscription. Note: using Tiered Cache with Cache Reserve is highly recommended to reduce Reserve operations costs. See the [developer docs](https://developers.cloudflare.com/cache/about/cache-reserve) for more information.", + description: "Increase cache lifetimes by automatically storing all cacheable files into Cloudflare's persistent object storage buckets. Requires Cache Reserve subscription. Note: using Tiered Cache with Cache Reserve is highly recommended to reduce Reserve operations costs. See the [developer docs](https://developers.cloudflare.com/cache/about/cache-reserve) for more information.\n\nGET /zones/{zone_id}/cache/cache_reserve", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -288,9 +264,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -306,13 +280,8 @@ export const tools: readonly Tool[] = [ "cache-settings_base": cache$$settings_base, "cache-settings_cache_reserve": cache$$settings_cache_reserve, "cache-settings_cache_reserve_response_value": cache$$settings_cache_reserve_response_value, - "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -366,13 +335,8 @@ export const tools: readonly Tool[] = [ "cache-settings_base": cache$$settings_base, "cache-settings_cache_reserve": cache$$settings_cache_reserve, "cache-settings_cache_reserve_response_value": cache$$settings_cache_reserve_response_value, - "cache-settings_cache_reserve_value": cache$$settings_cache_reserve_value, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -383,15 +347,16 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_reserve_status", title: "Get Cache Reserve Clear", - description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.", + description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.\n\nGET /zones/{zone_id}/cache/cache_reserve_clear", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -403,9 +368,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -420,10 +383,7 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, "cache-settings_cache_reserve_clear": cache$$settings_cache_reserve_clear, - "cache-settings_cache_reserve_clear_end_ts": cache$$settings_cache_reserve_clear_end_ts, "cache-settings_cache_reserve_clear_response_value": cache$$settings_cache_reserve_clear_response_value, - "cache-settings_cache_reserve_clear_start_ts": cache$$settings_cache_reserve_clear_start_ts, - "cache-settings_cache_reserve_clear_state": cache$$settings_cache_reserve_clear_state, "cache-settings_messages": cache$$settings_messages, }, }, @@ -476,10 +436,7 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, "cache-settings_cache_reserve_clear": cache$$settings_cache_reserve_clear, - "cache-settings_cache_reserve_clear_end_ts": cache$$settings_cache_reserve_clear_end_ts, "cache-settings_cache_reserve_clear_response_value": cache$$settings_cache_reserve_clear_response_value, - "cache-settings_cache_reserve_clear_start_ts": cache$$settings_cache_reserve_clear_start_ts, - "cache-settings_cache_reserve_clear_state": cache$$settings_cache_reserve_clear_state, "cache-settings_messages": cache$$settings_messages, }, }, diff --git a/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts b/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts index e549b4349..9aeed6252 100644 --- a/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts +++ b/src/generated/forge-mcp/cache/settings/smartTieredCache/outputs.ts @@ -39,7 +39,11 @@ export const cache$$settings_smart_tiered_cache_response_value: JsonSchema = { { "properties": { "value": { - "$ref": "#/$defs/cache-settings_smart_tiered_cache_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -52,14 +56,3 @@ export const cache$$settings_smart_tiered_cache_response_value: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `cache-settings_smart_tiered_cache_value` in responses. - */ -export const cache$$settings_smart_tiered_cache_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts b/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts index 55c54863a..15687211c 100644 --- a/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts +++ b/src/generated/forge-mcp/cache/settings/smartTieredCache/tools.ts @@ -6,21 +6,15 @@ import { cache$$settings_api$$response$$common, cache$$settings_api$$response$$common$$failure, cache$$settings_base, - cache$$settings_editable, cache$$settings_messages, - cache$$settings_modified_on, cache$$settings_result$$object, cache$$settings_result$$object$$delete, - cache$$settings_setting_id, - cache$$settings_setting_value, cache$$settings_zone_cache_settings_delete_response_single, cache$$settings_zone_cache_settings_response_single, } from "../../../outputs.js"; -import { cache$$settings_identifier } from "../../../schemas.js"; import { cache$$settings_smart_tiered_cache, cache$$settings_smart_tiered_cache_response_value, - cache$$settings_smart_tiered_cache_value, } from "./outputs.js"; import { cache$$settings_smart_tiered_cache_patch } from "./schemas.js"; @@ -31,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_smartTieredCache_create", title: "Create Smart Tiered Cache setting", - description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website's origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.", + description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website's origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.\n\nPOST /zones/{zone_id}/cache/tiered_cache_smart_topology_enable", inputSchema: { type: "object", properties: { @@ -39,10 +33,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cache-settings_smart_tiered_cache_patch" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,8 +50,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cache-settings_identifier": cache$$settings_identifier, "cache-settings_smart_tiered_cache_patch": cache$$settings_smart_tiered_cache_patch, }, }, @@ -72,15 +67,10 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, - "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -131,15 +121,10 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, - "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -151,15 +136,16 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_smartTieredCache_delete", title: "Delete Smart Tiered Cache setting", - description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.", + description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.\n\nDELETE /zones/{zone_id}/cache/tiered_cache_smart_topology_enable", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -171,9 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -192,11 +176,8 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, - "cache-settings_setting_id": cache$$settings_setting_id, "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, @@ -252,11 +233,8 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, - "cache-settings_setting_id": cache$$settings_setting_id, "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, @@ -268,7 +246,7 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_smartTieredCache_edit", title: "Patch Smart Tiered Cache setting", - description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.", + description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.\n\nPATCH /zones/{zone_id}/cache/tiered_cache_smart_topology_enable", inputSchema: { type: "object", properties: { @@ -276,10 +254,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cache-settings_smart_tiered_cache_patch" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -292,8 +271,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cache-settings_identifier": cache$$settings_identifier, "cache-settings_smart_tiered_cache_patch": cache$$settings_smart_tiered_cache_patch, }, }, @@ -309,15 +288,10 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, - "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -368,15 +342,10 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, - "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -388,15 +357,16 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_smartTieredCache_get", title: "Get Smart Tiered Cache setting", - description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.", + description: "Smart Tiered Cache dynamically selects the single closest upper tier for each of your website’s origins with no configuration required, using our in-house performance and routing data. Cloudflare collects latency data for each request to an origin, and uses the latency data to determine how well any upper-tier data center is connected with an origin. As a result, Cloudflare can select the data center with the lowest latency to be the upper-tier for an origin.\n\nGET /zones/{zone_id}/cache/tiered_cache_smart_topology_enable", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -408,9 +378,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -424,15 +392,10 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, - "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -484,15 +447,10 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_smart_tiered_cache": cache$$settings_smart_tiered_cache, "cache-settings_smart_tiered_cache_response_value": cache$$settings_smart_tiered_cache_response_value, - "cache-settings_smart_tiered_cache_value": cache$$settings_smart_tiered_cache_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, diff --git a/src/generated/forge-mcp/cache/settings/variants/tools.ts b/src/generated/forge-mcp/cache/settings/variants/tools.ts index 58ed9848d..459a7de88 100644 --- a/src/generated/forge-mcp/cache/settings/variants/tools.ts +++ b/src/generated/forge-mcp/cache/settings/variants/tools.ts @@ -6,17 +6,12 @@ import { cache$$settings_api$$response$$common, cache$$settings_api$$response$$common$$failure, cache$$settings_base, - cache$$settings_editable, cache$$settings_messages, - cache$$settings_modified_on, cache$$settings_result$$object, cache$$settings_result$$object$$delete, - cache$$settings_setting_id, - cache$$settings_setting_value, cache$$settings_zone_cache_settings_delete_response_single, cache$$settings_zone_cache_settings_response_single, } from "../../../outputs.js"; -import { cache$$settings_identifier } from "../../../schemas.js"; import { cache$$settings_variants, cache$$settings_variants_response_value, @@ -31,15 +26,16 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_variants_delete", title: "Delete variants setting", - description: "Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers.", + description: "Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers.\n\nDELETE /zones/{zone_id}/cache/variants", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -51,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -72,11 +66,8 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, - "cache-settings_setting_id": cache$$settings_setting_id, "cache-settings_variants": cache$$settings_variants, "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, @@ -132,11 +123,8 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, - "cache-settings_setting_id": cache$$settings_setting_id, "cache-settings_variants": cache$$settings_variants, "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, @@ -148,7 +136,7 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_variants_edit", title: "Change variants setting", - description: "Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers.", + description: "Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers.\n\nPATCH /zones/{zone_id}/cache/variants", inputSchema: { type: "object", properties: { @@ -165,10 +153,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -181,8 +170,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cache-settings_identifier": cache$$settings_identifier, "cache-settings_variants_value": cache$$settings_variants_value$, }, }, @@ -198,12 +187,8 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_variants": cache$$settings_variants, "cache-settings_variants_response_value": cache$$settings_variants_response_value, "cache-settings_variants_value": cache$$settings_variants_value, @@ -256,12 +241,8 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_variants": cache$$settings_variants, "cache-settings_variants_response_value": cache$$settings_variants_response_value, "cache-settings_variants_value": cache$$settings_variants_value, @@ -276,15 +257,16 @@ export const tools: readonly Tool[] = [ { name: "cache_settings_variants_get", title: "Get variants setting", - description: "Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers.", + description: "Variant support enables caching variants of images with certain file extensions in addition to the original. This only applies when the origin server sends the 'Vary: Accept' response header. If the origin server sends 'Vary: Accept' but does not serve the variant requested, the response will not be cached. This will be indicated with BYPASS cache status in the response headers.\n\nGET /zones/{zone_id}/cache/variants", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -296,9 +278,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -312,12 +292,8 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_variants": cache$$settings_variants, "cache-settings_variants_response_value": cache$$settings_variants_response_value, "cache-settings_variants_value": cache$$settings_variants_value, @@ -372,12 +348,8 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_variants": cache$$settings_variants, "cache-settings_variants_response_value": cache$$settings_variants_response_value, "cache-settings_variants_value": cache$$settings_variants_value, diff --git a/src/generated/forge-mcp/cache/tools.ts b/src/generated/forge-mcp/cache/tools.ts index de01e7089..10a29a412 100644 --- a/src/generated/forge-mcp/cache/tools.ts +++ b/src/generated/forge-mcp/cache/tools.ts @@ -5,7 +5,6 @@ import { type Tool, pathParam } from "../_/tool.js"; import { cache$$purge_api$$response$$common$$failure, cache$$purge_api$$response$$single$$id, - cache$$purge_identifier, cache$$purge_messages, } from "./outputs.js"; import { @@ -15,7 +14,6 @@ import { cache$$purge_FlexPurgeByTags, cache$$purge_SingleFile, cache$$purge_SingleFileWithUrlAndHeaders, - cache$$purge_identifier as cache$$purge_identifier$, } from "./schemas.js"; /** @@ -25,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "cache_invalidate", title: "Invalidate Cached Content", - description: "Marks cached content as stale in every Cloudflare data center and cache tier, including Cache Reserve. The content stays in cache. The next request for it makes Cloudflare revalidate it with your origin, using the `ETag` and `Last-Modified` values it was cached with:\n\n- If your origin answers `304 Not Modified`, Cloudflare serves the cached copy without downloading it again, and `CF-Cache-Status` is `REVALIDATED`.\n- If your origin sends a full response, Cloudflare serves and caches the new content, and `CF-Cache-Status` is `EXPIRED`.\n\nWith Tiered Cache, each tier revalidates with the tier above it, so a visitor can see `EXPIRED` even when your origin answered `304`.\n\nUntil content is revalidated, your `stale-while-revalidate` and `stale-if-error` directives still apply, counted from the time you invalidated it. For example, if your origin fails during revalidation, Cloudflare can keep serving the stale copy for the `stale-if-error` window.\n\n### Invalidate or purge?\n\n- **Invalidate** when content may not have changed, for example after a deploy. Unchanged content costs your origin a `304` instead of a full response. That saving needs an origin that sends `ETag` or `Last-Modified` and answers conditional requests. Otherwise, every revalidation downloads the full response.\n- **Purge**, with `POST /zones/{zone_id}/purge_cache`, when content must not be served again, for example content you removed for legal or security reasons.\n\nInvalidating takes the same request bodies as purging, needs the same permission, and counts against the same rate limits. After a broad invalidation, such as `purge_everything`, expect more conditional requests to your origin while visitors request the invalidated content again.\n\n### Choose what to invalidate\n\nSend one of these fields in the request body:\n\n- `files`: specific URLs. If your cache key includes request headers, send each URL with the header values it was cached with.\n- `tags`: all content whose `Cache-Tag` response header contains one of the tags.\n- `hosts`: all content cached for the hostnames.\n- `prefixes`: all content whose URL starts with one of the prefixes.\n- `purge_everything`: all cached content in the zone.\n\n### Check the result\n\nA `200` response with `success: true` means Cloudflare accepted the request. To check, request an invalidated URL and confirm that the `CF-Cache-Status` response header is `REVALIDATED` or `EXPIRED`.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation marks the selected content in the zone's cache as stale.", + description: "Marks cached content as stale in every Cloudflare data center and cache tier, including Cache Reserve. The content stays in cache. The next request for it makes Cloudflare revalidate it with your origin, using the `ETag` and `Last-Modified` values it was cached with:\n\n- If your origin answers `304 Not Modified`, Cloudflare serves the cached copy without downloading it again, and `CF-Cache-Status` is `REVALIDATED`.\n- If your origin sends a full response, Cloudflare serves and caches the new content, and `CF-Cache-Status` is `EXPIRED`.\n\nWith Tiered Cache, each tier revalidates with the tier above it, so a visitor can see `EXPIRED` even when your origin answered `304`.\n\nUntil content is revalidated, your `stale-while-revalidate` and `stale-if-error` directives still apply, counted from the time you invalidated it. For example, if your origin fails during revalidation, Cloudflare can keep serving the stale copy for the `stale-if-error` window.\n\n### Invalidate or purge?\n\n- **Invalidate** when content may not have changed, for example after a deploy. Unchanged content costs your origin a `304` instead of a full response. That saving needs an origin that sends `ETag` or `Last-Modified` and answers conditional requests. Otherwise, every revalidation downloads the full response.\n- **Purge**, with `POST /zones/{zone_id}/purge_cache`, when content must not be served again, for example content you removed for legal or security reasons.\n\nInvalidating takes the same request bodies as purging, needs the same permission, and counts against the same rate limits. After a broad invalidation, such as `purge_everything`, expect more conditional requests to your origin while visitors request the invalidated content again.\n\n### Choose what to invalidate\n\nSend one of these fields in the request body:\n\n- `files`: specific URLs. If your cache key includes request headers, send each URL with the header values it was cached with.\n- `tags`: all content whose `Cache-Tag` response header contains one of the tags.\n- `hosts`: all content cached for the hostnames.\n- `prefixes`: all content whose URL starts with one of the prefixes.\n- `purge_everything`: all cached content in the zone.\n\n### Check the result\n\nA `200` response with `success: true` means Cloudflare accepted the request. To check, request an invalidated URL and confirm that the `CF-Cache-Status` response header is `REVALIDATED` or `EXPIRED`.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation marks the selected content in the zone's cache as stale.\n\nPOST /zones/{zone_id}/invalidate_cache", inputSchema: { type: "object", properties: { @@ -52,10 +50,11 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The zone ID." + "description": "The zone ID.", + "type": "string" } }, "required": [ @@ -68,6 +67,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cache-purge_Everything": cache$$purge_Everything, "cache-purge_FlexPurgeByHostnames": cache$$purge_FlexPurgeByHostnames, @@ -75,14 +75,12 @@ export const tools: readonly Tool[] = [ "cache-purge_FlexPurgeByTags": cache$$purge_FlexPurgeByTags, "cache-purge_SingleFile": cache$$purge_SingleFile, "cache-purge_SingleFileWithUrlAndHeaders": cache$$purge_SingleFileWithUrlAndHeaders, - "cache-purge_identifier": cache$$purge_identifier$, }, }, outputSchema: { "$ref": "#/$defs/cache-purge_api-response-single-id", $defs: { "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, - "cache-purge_identifier": cache$$purge_identifier, "cache-purge_messages": cache$$purge_messages, }, }, @@ -114,7 +112,6 @@ export const tools: readonly Tool[] = [ $defs: { "cache-purge_api-response-common-failure": cache$$purge_api$$response$$common$$failure, "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, - "cache-purge_identifier": cache$$purge_identifier, "cache-purge_messages": cache$$purge_messages, }, }, @@ -126,7 +123,7 @@ export const tools: readonly Tool[] = [ { name: "cache_invalidateEnvironment", title: "Invalidate Cached Content by Environment", - description: "Marks cached content as stale for one environment of the zone. Content cached for the zone's other environments, including production, is not affected. Otherwise this works like `POST /zones/{zone_id}/invalidate_cache`: the next request for invalidated content makes Cloudflare revalidate it with your origin, and the request body takes the same fields.\n\nEnvironments are part of [Version Management](https://developers.cloudflare.com/version-management/). To delete the content instead, use `POST /zones/{zone_id}/environments/{environment_id}/purge_cache`.\n\nInvalidating by URL (`files`) does not work for environments that select requests by IP address, country, ASN, or threat score, and fails with error `1136`. Use `tags`, `hosts`, `prefixes`, or `purge_everything` for those environments.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation marks the selected content in the environment's cache as stale.", + description: "Marks cached content as stale for one environment of the zone. Content cached for the zone's other environments, including production, is not affected. Otherwise this works like `POST /zones/{zone_id}/invalidate_cache`: the next request for invalidated content makes Cloudflare revalidate it with your origin, and the request body takes the same fields.\n\nEnvironments are part of [Version Management](https://developers.cloudflare.com/version-management/). To delete the content instead, use `POST /zones/{zone_id}/environments/{environment_id}/purge_cache`.\n\nInvalidating by URL (`files`) does not work for environments that select requests by IP address, country, ASN, or threat score, and fails with error `1136`. Use `tags`, `hosts`, `prefixes`, or `purge_everything` for those environments.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation marks the selected content in the environment's cache as stale.\n\nPOST /zones/{zone_id}/environments/{environment_id}/invalidate_cache", inputSchema: { type: "object", properties: { @@ -153,14 +150,15 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "environment_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The environment ID, from Version Management." + "description": "The environment ID, from Version Management.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The zone ID." + "description": "The zone ID.", + "type": "string" } }, "required": [ @@ -174,6 +172,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cache-purge_Everything": cache$$purge_Everything, "cache-purge_FlexPurgeByHostnames": cache$$purge_FlexPurgeByHostnames, @@ -181,14 +180,12 @@ export const tools: readonly Tool[] = [ "cache-purge_FlexPurgeByTags": cache$$purge_FlexPurgeByTags, "cache-purge_SingleFile": cache$$purge_SingleFile, "cache-purge_SingleFileWithUrlAndHeaders": cache$$purge_SingleFileWithUrlAndHeaders, - "cache-purge_identifier": cache$$purge_identifier$, }, }, outputSchema: { "$ref": "#/$defs/cache-purge_api-response-single-id", $defs: { "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, - "cache-purge_identifier": cache$$purge_identifier, "cache-purge_messages": cache$$purge_messages, }, }, @@ -225,7 +222,6 @@ export const tools: readonly Tool[] = [ $defs: { "cache-purge_api-response-common-failure": cache$$purge_api$$response$$common$$failure, "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, - "cache-purge_identifier": cache$$purge_identifier, "cache-purge_messages": cache$$purge_messages, }, }, @@ -237,7 +233,7 @@ export const tools: readonly Tool[] = [ { name: "cache_purge", title: "Purge Cached Content", - description: "Deletes cached content in every Cloudflare data center and cache tier, including Cache Reserve. The next request for purged content is a cache `MISS`: Cloudflare fetches the full response from your origin and caches it again. Cloudflare does not serve purged content from cache again, even if your origin is unavailable.\n\nTo keep content cached and have Cloudflare revalidate it with your origin instead, use `POST /zones/{zone_id}/invalidate_cache`.\n\n### Choose what to purge\n\nSend one of these fields in the request body:\n\n- `files`: specific URLs. If your cache key includes request headers, send each URL with the header values it was cached with.\n- `tags`: all content whose `Cache-Tag` response header contains one of the tags.\n- `hosts`: all content cached for the hostnames.\n- `prefixes`: all content whose URL starts with one of the prefixes.\n- `purge_everything`: all cached content in the zone.\n\n### Check the result\n\nA `200` response with `success: true` means Cloudflare accepted the request. It does not confirm that any content was cached or removed. To check, request a purged URL and confirm that the `CF-Cache-Status` response header is `MISS`.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation deletes the selected content from the zone's cache.", + description: "Deletes cached content in every Cloudflare data center and cache tier, including Cache Reserve. The next request for purged content is a cache `MISS`: Cloudflare fetches the full response from your origin and caches it again. Cloudflare does not serve purged content from cache again, even if your origin is unavailable.\n\nTo keep content cached and have Cloudflare revalidate it with your origin instead, use `POST /zones/{zone_id}/invalidate_cache`.\n\n### Choose what to purge\n\nSend one of these fields in the request body:\n\n- `files`: specific URLs. If your cache key includes request headers, send each URL with the header values it was cached with.\n- `tags`: all content whose `Cache-Tag` response header contains one of the tags.\n- `hosts`: all content cached for the hostnames.\n- `prefixes`: all content whose URL starts with one of the prefixes.\n- `purge_everything`: all cached content in the zone.\n\n### Check the result\n\nA `200` response with `success: true` means Cloudflare accepted the request. It does not confirm that any content was cached or removed. To check, request a purged URL and confirm that the `CF-Cache-Status` response header is `MISS`.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation deletes the selected content from the zone's cache.\n\nPOST /zones/{zone_id}/purge_cache", inputSchema: { type: "object", properties: { @@ -264,10 +260,11 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The zone ID." + "description": "The zone ID.", + "type": "string" } }, "required": [ @@ -280,6 +277,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cache-purge_Everything": cache$$purge_Everything, "cache-purge_FlexPurgeByHostnames": cache$$purge_FlexPurgeByHostnames, @@ -287,14 +285,12 @@ export const tools: readonly Tool[] = [ "cache-purge_FlexPurgeByTags": cache$$purge_FlexPurgeByTags, "cache-purge_SingleFile": cache$$purge_SingleFile, "cache-purge_SingleFileWithUrlAndHeaders": cache$$purge_SingleFileWithUrlAndHeaders, - "cache-purge_identifier": cache$$purge_identifier$, }, }, outputSchema: { "$ref": "#/$defs/cache-purge_api-response-single-id", $defs: { "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, - "cache-purge_identifier": cache$$purge_identifier, "cache-purge_messages": cache$$purge_messages, }, }, @@ -336,7 +332,6 @@ export const tools: readonly Tool[] = [ $defs: { "cache-purge_api-response-common-failure": cache$$purge_api$$response$$common$$failure, "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, - "cache-purge_identifier": cache$$purge_identifier, "cache-purge_messages": cache$$purge_messages, }, }, @@ -348,7 +343,7 @@ export const tools: readonly Tool[] = [ { name: "cache_purgeEnvironment", title: "Purge Cached Content by Environment", - description: "Deletes cached content for one environment of the zone. Content cached for the zone's other environments, including production, is not affected. Otherwise this works like `POST /zones/{zone_id}/purge_cache`: the next request for purged content is a cache `MISS`, and the request body takes the same fields.\n\nEnvironments are part of [Version Management](https://developers.cloudflare.com/version-management/). To keep content cached and have Cloudflare revalidate it instead, use `POST /zones/{zone_id}/environments/{environment_id}/invalidate_cache`.\n\nPurging by URL (`files`) does not work for environments that select requests by IP address, country, ASN, or threat score, and fails with error `1136`. Use `tags`, `hosts`, `prefixes`, or `purge_everything` for those environments.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation deletes the selected content from the environment's cache.", + description: "Deletes cached content for one environment of the zone. Content cached for the zone's other environments, including production, is not affected. Otherwise this works like `POST /zones/{zone_id}/purge_cache`: the next request for purged content is a cache `MISS`, and the request body takes the same fields.\n\nEnvironments are part of [Version Management](https://developers.cloudflare.com/version-management/). To keep content cached and have Cloudflare revalidate it instead, use `POST /zones/{zone_id}/environments/{environment_id}/invalidate_cache`.\n\nPurging by URL (`files`) does not work for environments that select requests by IP address, country, ASN, or threat score, and fails with error `1136`. Use `tags`, `hosts`, `prefixes`, or `purge_everything` for those environments.\n\n### Availability and limits\n\nRate limits and the number of items you can send in one request depend on your plan. See [Purge cache: availability and limits](https://developers.cloudflare.com/cache/how-to/purge-cache/#availability-and-limits).\n\nConfirm with the user before calling this tool. This operation deletes the selected content from the environment's cache.\n\nPOST /zones/{zone_id}/environments/{environment_id}/purge_cache", inputSchema: { type: "object", properties: { @@ -375,14 +370,15 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "environment_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The environment ID, from Version Management." + "description": "The environment ID, from Version Management.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/cache-purge_identifier", - "description": "The zone ID." + "description": "The zone ID.", + "type": "string" } }, "required": [ @@ -396,6 +392,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cache-purge_Everything": cache$$purge_Everything, "cache-purge_FlexPurgeByHostnames": cache$$purge_FlexPurgeByHostnames, @@ -403,14 +400,12 @@ export const tools: readonly Tool[] = [ "cache-purge_FlexPurgeByTags": cache$$purge_FlexPurgeByTags, "cache-purge_SingleFile": cache$$purge_SingleFile, "cache-purge_SingleFileWithUrlAndHeaders": cache$$purge_SingleFileWithUrlAndHeaders, - "cache-purge_identifier": cache$$purge_identifier$, }, }, outputSchema: { "$ref": "#/$defs/cache-purge_api-response-single-id", $defs: { "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, - "cache-purge_identifier": cache$$purge_identifier, "cache-purge_messages": cache$$purge_messages, }, }, @@ -452,7 +447,6 @@ export const tools: readonly Tool[] = [ $defs: { "cache-purge_api-response-common-failure": cache$$purge_api$$response$$common$$failure, "cache-purge_api-response-single-id": cache$$purge_api$$response$$single$$id, - "cache-purge_identifier": cache$$purge_identifier, "cache-purge_messages": cache$$purge_messages, }, }, diff --git a/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts index 7f07d8f37..ab4ba2216 100644 --- a/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/connections/outputs.ts @@ -26,7 +26,7 @@ export const client$$side$$security_connection: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/client-side-security_id" + "type": "string" }, "last_seen_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts b/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts index cf90bc0eb..d7350ba3a 100644 --- a/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/connections/tools.ts @@ -7,11 +7,9 @@ import { client$$side$$security_api$$list$$response$$collection, client$$side$$security_api$$response$$common, client$$side$$security_api$$response$$common$$failure, - client$$side$$security_id, client$$side$$security_messages, client$$side$$security_result_info, } from "../outputs.js"; -import { client$$side$$security_id as client$$side$$security_id$ } from "../schemas.js"; import { client$$side$$security_connection, client$$side$$security_get$$zone$$connection$$response, @@ -25,19 +23,20 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_connections_get", title: "Get a detected connection", - description: "Returns a webpage connection detected on the zone by connection ID.", + description: "Returns a webpage connection detected on the zone by connection ID.\n\nGET /zones/{zone_id}/page_shield/connections/{connection_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "connection_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -50,9 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-connection-response", @@ -61,7 +58,6 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_connection": client$$side$$security_connection, "client-side-security_get-zone-connection-response": client$$side$$security_get$$zone$$connection$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, }, }, @@ -105,7 +101,6 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, "client-side-security_connection": client$$side$$security_connection, "client-side-security_get-zone-connection-response": client$$side$$security_get$$zone$$connection$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, }, }, @@ -116,15 +111,16 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_connections_list", title: "List detected connections", - description: "Lists outbound connections made by webpages in the zone.", + description: "Lists outbound connections made by webpages in the zone.\n\nGET /zones/{zone_id}/page_shield/connections", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -133,6 +129,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction used to sort returned connections.", @@ -147,7 +144,7 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "exclude_urls": { - "description": "Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.\n", + "description": "Excludes connections whose URL contains one of the URL-encoded URLs separated by commas.", "type": "string" }, "export": { @@ -158,7 +155,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "hosts": { - "description": "Includes connections that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "description": "Includes connections that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match", "type": "string" }, "order_by": { @@ -170,11 +167,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "page": { - "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the connections\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of connections\n", + "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the connections\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of connections", "type": "string" }, "page_url": { - "description": "Includes connections that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "description": "Includes connections that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match", "type": "string" }, "per_page": { @@ -190,7 +187,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "urls": { - "description": "Includes connections whose URL contain one or more URL-encoded URLs separated by commas.\n", + "description": "Includes connections whose URL contain one or more URL-encoded URLs separated by commas.", "type": "string" } }, @@ -200,9 +197,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/client-side-security_list-zone-connections-response", @@ -210,7 +205,6 @@ export const tools: readonly Tool[] = [ "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_connection": client$$side$$security_connection, - "client-side-security_id": client$$side$$security_id, "client-side-security_list-zone-connections-response": client$$side$$security_list$$zone$$connections$$response, "client-side-security_messages": client$$side$$security_messages, "client-side-security_result_info": client$$side$$security_result_info, @@ -255,7 +249,6 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, "client-side-security_connection": client$$side$$security_connection, - "client-side-security_id": client$$side$$security_id, "client-side-security_list-zone-connections-response": client$$side$$security_list$$zone$$connections$$response, "client-side-security_messages": client$$side$$security_messages, "client-side-security_result_info": client$$side$$security_result_info, diff --git a/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts index 46087a8bf..40c2cb442 100644 --- a/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/cookies/outputs.ts @@ -26,7 +26,7 @@ export const client$$side$$security_cookie: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/client-side-security_id" + "type": "string" }, "last_seen_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts b/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts index e8430602f..c2af64fab 100644 --- a/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/cookies/tools.ts @@ -7,11 +7,9 @@ import { client$$side$$security_api$$list$$response$$collection, client$$side$$security_api$$response$$common, client$$side$$security_api$$response$$common$$failure, - client$$side$$security_id, client$$side$$security_messages, client$$side$$security_result_info, } from "../outputs.js"; -import { client$$side$$security_id as client$$side$$security_id$ } from "../schemas.js"; import { client$$side$$security_cookie, client$$side$$security_get$$zone$$cookie$$response, @@ -25,19 +23,20 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_cookies_get", title: "Get a detected cookie", - description: "Returns a cookie detected on the zone by cookie ID.", + description: "Returns a cookie detected on the zone by cookie ID.\n\nGET /zones/{zone_id}/page_shield/cookies/{cookie_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "cookie_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -50,9 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-cookie-response", @@ -61,7 +58,6 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_cookie": client$$side$$security_cookie, "client-side-security_get-zone-cookie-response": client$$side$$security_get$$zone$$cookie$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, }, }, @@ -105,7 +101,6 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, "client-side-security_cookie": client$$side$$security_cookie, "client-side-security_get-zone-cookie-response": client$$side$$security_get$$zone$$cookie$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, }, }, @@ -116,15 +111,16 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_cookies_list", title: "List detected cookies", - description: "Lists cookies detected on the zone.", + description: "Lists cookies detected on the zone.\n\nGET /zones/{zone_id}/page_shield/cookies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -133,6 +129,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction used to sort returned cookies.'", @@ -154,7 +151,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "hosts": { - "description": "Includes cookies that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "description": "Includes cookies that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match", "type": "string" }, "http_only": { @@ -162,7 +159,7 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "name": { - "description": "Filters the returned cookies that match the specified name.\nWildcards are supported at the start and end to support starts with, ends with\nand contains. e.g. session*\n", + "description": "Filters the returned cookies that match the specified name.\nWildcards are supported at the start and end to support starts with, ends with\nand contains. e.g. session*", "type": "string" }, "order_by": { @@ -174,11 +171,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "page": { - "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the cookies\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of cookies\n", + "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the cookies\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of cookies", "type": "string" }, "page_url": { - "description": "Includes connections that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "description": "Includes connections that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match", "type": "string" }, "path": { @@ -217,9 +214,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/client-side-security_list-zone-cookies-response", @@ -227,7 +222,6 @@ export const tools: readonly Tool[] = [ "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_cookie": client$$side$$security_cookie, - "client-side-security_id": client$$side$$security_id, "client-side-security_list-zone-cookies-response": client$$side$$security_list$$zone$$cookies$$response, "client-side-security_messages": client$$side$$security_messages, "client-side-security_result_info": client$$side$$security_result_info, @@ -272,7 +266,6 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, "client-side-security_cookie": client$$side$$security_cookie, - "client-side-security_id": client$$side$$security_id, "client-side-security_list-zone-cookies-response": client$$side$$security_list$$zone$$cookies$$response, "client-side-security_messages": client$$side$$security_messages, "client-side-security_result_info": client$$side$$security_result_info, diff --git a/src/generated/forge-mcp/clientSideSecurity/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/outputs.ts index 5933fcbe9..640b31672 100644 --- a/src/generated/forge-mcp/clientSideSecurity/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/outputs.ts @@ -106,13 +106,6 @@ export const client$$side$$security_api$$response$$common$$failure: JsonSchema = "type": "object" }; -/** - * The schema of `client-side-security_id` in responses. - */ -export const client$$side$$security_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `client-side-security_messages` in responses. */ diff --git a/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts index b8fbc23ad..078da8698 100644 --- a/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/policies/outputs.ts @@ -57,19 +57,24 @@ export const client$$side$$security_list$$zone$$policies$$response: JsonSchema = export const client$$side$$security_policy: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/client-side-security_policy-action" + "enum": [ + "allow", + "log", + "add_reporting_directives" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/client-side-security_policy-description" + "type": "string" }, "enabled": { - "$ref": "#/$defs/client-side-security_policy-enabled" + "type": "boolean" }, "expression": { - "$ref": "#/$defs/client-side-security_policy-expression" + "type": "string" }, "value": { - "$ref": "#/$defs/client-side-security_policy-value" + "type": "string" } }, "required": [ @@ -82,46 +87,6 @@ export const client$$side$$security_policy: JsonSchema = { "type": "object" }; -/** - * The schema of `client-side-security_policy-action` in responses. - */ -export const client$$side$$security_policy$$action: JsonSchema = { - "enum": [ - "allow", - "log", - "add_reporting_directives" - ], - "type": "string" -}; - -/** - * The schema of `client-side-security_policy-description` in responses. - */ -export const client$$side$$security_policy$$description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `client-side-security_policy-enabled` in responses. - */ -export const client$$side$$security_policy$$enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `client-side-security_policy-expression` in responses. - */ -export const client$$side$$security_policy$$expression: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `client-side-security_policy-value` in responses. - */ -export const client$$side$$security_policy$$value: JsonSchema = { - "type": "string" -}; - /** * The schema of `client-side-security_policy-with-id` in responses. */ @@ -133,7 +98,7 @@ export const client$$side$$security_policy$$with$$id: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/client-side-security_id" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/clientSideSecurity/policies/schemas.ts b/src/generated/forge-mcp/clientSideSecurity/policies/schemas.ts index fcbb34221..510d954c8 100644 --- a/src/generated/forge-mcp/clientSideSecurity/policies/schemas.ts +++ b/src/generated/forge-mcp/clientSideSecurity/policies/schemas.ts @@ -9,24 +9,29 @@ import type { JsonSchema } from "../../_/tool.js"; export const client$$side$$security_policy: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/client-side-security_policy-action", - "description": "The action to take if the expression matches" + "description": "The action to take if the expression matches", + "enum": [ + "allow", + "log", + "add_reporting_directives" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/client-side-security_policy-description", - "description": "A description for the policy" + "description": "A description for the policy", + "type": "string" }, "enabled": { - "$ref": "#/$defs/client-side-security_policy-enabled", - "description": "Whether the policy is enabled" + "description": "Whether the policy is enabled", + "type": "boolean" }, "expression": { - "$ref": "#/$defs/client-side-security_policy-expression", - "description": "The expression which must match for the policy to be applied, using the Cloudflare Firewall rule expression syntax" + "description": "The expression which must match for the policy to be applied, using the Cloudflare Firewall rule expression syntax", + "type": "string" }, "value": { - "$ref": "#/$defs/client-side-security_policy-value", - "description": "The policy which will be applied" + "description": "The policy which will be applied", + "type": "string" } }, "required": [ @@ -38,48 +43,3 @@ export const client$$side$$security_policy: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `client-side-security_policy-action`. - */ -export const client$$side$$security_policy$$action: JsonSchema = { - "description": "The action to take if the expression matches", - "enum": [ - "allow", - "log", - "add_reporting_directives" - ], - "type": "string" -}; - -/** - * The schema of `client-side-security_policy-description`. - */ -export const client$$side$$security_policy$$description: JsonSchema = { - "description": "A description for the policy", - "type": "string" -}; - -/** - * The schema of `client-side-security_policy-enabled`. - */ -export const client$$side$$security_policy$$enabled: JsonSchema = { - "description": "Whether the policy is enabled", - "type": "boolean" -}; - -/** - * The schema of `client-side-security_policy-expression`. - */ -export const client$$side$$security_policy$$expression: JsonSchema = { - "description": "The expression which must match for the policy to be applied, using the Cloudflare Firewall rule expression syntax", - "type": "string" -}; - -/** - * The schema of `client-side-security_policy-value`. - */ -export const client$$side$$security_policy$$value: JsonSchema = { - "description": "The policy which will be applied", - "type": "string" -}; diff --git a/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts b/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts index 7104f066d..250cdf84f 100644 --- a/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/policies/tools.ts @@ -7,30 +7,16 @@ import { client$$side$$security_api$$list$$response$$collection, client$$side$$security_api$$response$$common, client$$side$$security_api$$response$$common$$failure, - client$$side$$security_id, client$$side$$security_messages, client$$side$$security_result_info, } from "../outputs.js"; -import { client$$side$$security_id as client$$side$$security_id$ } from "../schemas.js"; import { client$$side$$security_get$$zone$$policy$$response, client$$side$$security_list$$zone$$policies$$response, client$$side$$security_policy, - client$$side$$security_policy$$action, - client$$side$$security_policy$$description, - client$$side$$security_policy$$enabled, - client$$side$$security_policy$$expression, - client$$side$$security_policy$$value, client$$side$$security_policy$$with$$id, } from "./outputs.js"; -import { - client$$side$$security_policy as client$$side$$security_policy$, - client$$side$$security_policy$$action as client$$side$$security_policy$$action$, - client$$side$$security_policy$$description as client$$side$$security_policy$$description$, - client$$side$$security_policy$$enabled as client$$side$$security_policy$$enabled$, - client$$side$$security_policy$$expression as client$$side$$security_policy$$expression$, - client$$side$$security_policy$$value as client$$side$$security_policy$$value$, -} from "./schemas.js"; +import { client$$side$$security_policy as client$$side$$security_policy$ } from "./schemas.js"; /** * The tools of `clientSideSecurity.policies`. @@ -39,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_policies_create", title: "Create a content security rule", - description: "Creates a rule that applies a client-side security action when its filter expression matches.", + description: "Creates a rule that applies a client-side security action when its filter expression matches.\n\nPOST /zones/{zone_id}/page_shield/policies", inputSchema: { type: "object", properties: { @@ -47,10 +33,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/client-side-security_policy" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -63,14 +50,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "client-side-security_id": client$$side$$security_id$, "client-side-security_policy": client$$side$$security_policy$, - "client-side-security_policy-action": client$$side$$security_policy$$action$, - "client-side-security_policy-description": client$$side$$security_policy$$description$, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled$, - "client-side-security_policy-expression": client$$side$$security_policy$$expression$, - "client-side-security_policy-value": client$$side$$security_policy$$value$, }, }, outputSchema: { @@ -79,14 +61,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, "client-side-security_policy": client$$side$$security_policy, - "client-side-security_policy-action": client$$side$$security_policy$$action, - "client-side-security_policy-description": client$$side$$security_policy$$description, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, - "client-side-security_policy-expression": client$$side$$security_policy$$expression, - "client-side-security_policy-value": client$$side$$security_policy$$value, "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, @@ -126,14 +102,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, "client-side-security_policy": client$$side$$security_policy, - "client-side-security_policy-action": client$$side$$security_policy$$action, - "client-side-security_policy-description": client$$side$$security_policy$$description, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, - "client-side-security_policy-expression": client$$side$$security_policy$$expression, - "client-side-security_policy-value": client$$side$$security_policy$$value, "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, @@ -145,19 +115,20 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_policies_delete", title: "Delete a content security rule", - description: "Permanently deletes a content security rule by ID.\n\nConfirm with the user before calling this tool. This operation permanently deletes the content security rule from the zone.", + description: "Permanently deletes a content security rule by ID.\n\nConfirm with the user before calling this tool. This operation permanently deletes the content security rule from the zone.\n\nDELETE /zones/{zone_id}/page_shield/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "policy_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -170,9 +141,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -215,19 +184,20 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_policies_get", title: "Get a content security rule", - description: "Returns a content security rule by ID.", + description: "Returns a content security rule by ID.\n\nGET /zones/{zone_id}/page_shield/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "policy_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -240,9 +210,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-policy-response", @@ -250,14 +218,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, "client-side-security_policy": client$$side$$security_policy, - "client-side-security_policy-action": client$$side$$security_policy$$action, - "client-side-security_policy-description": client$$side$$security_policy$$description, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, - "client-side-security_policy-expression": client$$side$$security_policy$$expression, - "client-side-security_policy-value": client$$side$$security_policy$$value, "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, @@ -300,14 +262,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, "client-side-security_policy": client$$side$$security_policy, - "client-side-security_policy-action": client$$side$$security_policy$$action, - "client-side-security_policy-description": client$$side$$security_policy$$description, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, - "client-side-security_policy-expression": client$$side$$security_policy$$expression, - "client-side-security_policy-value": client$$side$$security_policy$$value, "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, @@ -318,15 +274,16 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_policies_list", title: "List content security rules", - description: "Lists content security rules configured for the zone.", + description: "Lists content security rules configured for the zone.\n\nGET /zones/{zone_id}/page_shield/policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -338,24 +295,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/client-side-security_list-zone-policies-response", $defs: { "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, - "client-side-security_id": client$$side$$security_id, "client-side-security_list-zone-policies-response": client$$side$$security_list$$zone$$policies$$response, "client-side-security_messages": client$$side$$security_messages, "client-side-security_policy": client$$side$$security_policy, - "client-side-security_policy-action": client$$side$$security_policy$$action, - "client-side-security_policy-description": client$$side$$security_policy$$description, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, - "client-side-security_policy-expression": client$$side$$security_policy$$expression, - "client-side-security_policy-value": client$$side$$security_policy$$value, "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, "client-side-security_result_info": client$$side$$security_result_info, }, @@ -398,15 +347,9 @@ export const tools: readonly Tool[] = [ "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, - "client-side-security_id": client$$side$$security_id, "client-side-security_list-zone-policies-response": client$$side$$security_list$$zone$$policies$$response, "client-side-security_messages": client$$side$$security_messages, "client-side-security_policy": client$$side$$security_policy, - "client-side-security_policy-action": client$$side$$security_policy$$action, - "client-side-security_policy-description": client$$side$$security_policy$$description, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, - "client-side-security_policy-expression": client$$side$$security_policy$$expression, - "client-side-security_policy-value": client$$side$$security_policy$$value, "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, "client-side-security_result_info": client$$side$$security_result_info, }, @@ -418,44 +361,50 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_policies_update", title: "Update a content security rule", - description: "Updates the description, action, expression, enabled state, and policy value for a content security rule.", + description: "Updates the description, action, expression, enabled state, and policy value for a content security rule.\n\nPUT /zones/{zone_id}/page_shield/policies/{policy_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "action": { - "$ref": "#/$defs/client-side-security_policy-action", - "description": "The action to take if the expression matches" + "description": "The action to take if the expression matches", + "enum": [ + "allow", + "log", + "add_reporting_directives" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/client-side-security_policy-description", - "description": "A description for the policy" + "description": "A description for the policy", + "type": "string" }, "enabled": { - "$ref": "#/$defs/client-side-security_policy-enabled", - "description": "Whether the policy is enabled" + "description": "Whether the policy is enabled", + "type": "boolean" }, "expression": { - "$ref": "#/$defs/client-side-security_policy-expression", - "description": "The expression which must match for the policy to be applied, using the Cloudflare Firewall rule expression syntax" + "description": "The expression which must match for the policy to be applied, using the Cloudflare Firewall rule expression syntax", + "type": "string" }, "value": { - "$ref": "#/$defs/client-side-security_policy-value", - "description": "The policy which will be applied" + "description": "The policy which will be applied", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "policy_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -469,14 +418,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - "client-side-security_policy-action": client$$side$$security_policy$$action$, - "client-side-security_policy-description": client$$side$$security_policy$$description$, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled$, - "client-side-security_policy-expression": client$$side$$security_policy$$expression$, - "client-side-security_policy-value": client$$side$$security_policy$$value$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-policy-response", @@ -484,14 +426,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, "client-side-security_policy": client$$side$$security_policy, - "client-side-security_policy-action": client$$side$$security_policy$$action, - "client-side-security_policy-description": client$$side$$security_policy$$description, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, - "client-side-security_policy-expression": client$$side$$security_policy$$expression, - "client-side-security_policy-value": client$$side$$security_policy$$value, "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, @@ -531,14 +467,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, "client-side-security_get-zone-policy-response": client$$side$$security_get$$zone$$policy$$response, - "client-side-security_id": client$$side$$security_id, "client-side-security_messages": client$$side$$security_messages, "client-side-security_policy": client$$side$$security_policy, - "client-side-security_policy-action": client$$side$$security_policy$$action, - "client-side-security_policy-description": client$$side$$security_policy$$description, - "client-side-security_policy-enabled": client$$side$$security_policy$$enabled, - "client-side-security_policy-expression": client$$side$$security_policy$$expression, - "client-side-security_policy-value": client$$side$$security_policy$$value, "client-side-security_policy-with-id": client$$side$$security_policy$$with$$id, }, }, diff --git a/src/generated/forge-mcp/clientSideSecurity/schemas.ts b/src/generated/forge-mcp/clientSideSecurity/schemas.ts deleted file mode 100644 index ece7e733b..000000000 --- a/src/generated/forge-mcp/clientSideSecurity/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `client-side-security_id`. - */ -export const client$$side$$security_id: JsonSchema = { - "description": "Identifier", - "type": "string" -}; diff --git a/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts index 996a66e1b..3c0d1ba3d 100644 --- a/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/scripts/outputs.ts @@ -3,48 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `client-side-security_cryptomining_score` in responses. - */ -export const client$$side$$security_cryptomining_score: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `client-side-security_dataflow_score` in responses. - */ -export const client$$side$$security_dataflow_score: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `client-side-security_fetched_at` in responses. - */ -export const client$$side$$security_fetched_at: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `client-side-security_get-zone-script-response` in responses. */ @@ -89,34 +47,6 @@ export const client$$side$$security_get$$zone$$script$$response: JsonSchema = { ] }; -/** - * The schema of `client-side-security_hash` in responses. - */ -export const client$$side$$security_hash: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `client-side-security_js_integrity_score` in responses. - */ -export const client$$side$$security_js_integrity_score: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `client-side-security_list-zone-scripts-response` in responses. */ @@ -142,48 +72,6 @@ export const client$$side$$security_list$$zone$$scripts$$response: JsonSchema = ] }; -/** - * The schema of `client-side-security_magecart_score` in responses. - */ -export const client$$side$$security_magecart_score: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `client-side-security_malware_score` in responses. - */ -export const client$$side$$security_malware_score: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `client-side-security_obfuscation_score` in responses. - */ -export const client$$side$$security_obfuscation_score: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `client-side-security_script` in responses. */ @@ -194,16 +82,37 @@ export const client$$side$$security_script: JsonSchema = { "type": "string" }, "cryptomining_score": { - "$ref": "#/$defs/client-side-security_cryptomining_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "dataflow_score": { - "$ref": "#/$defs/client-side-security_dataflow_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "domain_reported_malicious": { "type": "boolean" }, "fetched_at": { - "$ref": "#/$defs/client-side-security_fetched_at" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "first_page_url": { "type": "string" @@ -213,23 +122,44 @@ export const client$$side$$security_script: JsonSchema = { "type": "string" }, "hash": { - "$ref": "#/$defs/client-side-security_hash" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "host": { "type": "string" }, "id": { - "$ref": "#/$defs/client-side-security_id" + "type": "string" }, "js_integrity_score": { - "$ref": "#/$defs/client-side-security_js_integrity_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "last_seen_at": { "format": "date-time", "type": "string" }, "magecart_score": { - "$ref": "#/$defs/client-side-security_magecart_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "malicious_domain_categories": { "items": { @@ -244,10 +174,24 @@ export const client$$side$$security_script: JsonSchema = { "type": "array" }, "malware_score": { - "$ref": "#/$defs/client-side-security_malware_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "obfuscation_score": { - "$ref": "#/$defs/client-side-security_obfuscation_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "page_urls": { "items": { @@ -283,28 +227,84 @@ export const client$$side$$security_script: JsonSchema = { export const client$$side$$security_version: JsonSchema = { "properties": { "cryptomining_score": { - "$ref": "#/$defs/client-side-security_cryptomining_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "dataflow_score": { - "$ref": "#/$defs/client-side-security_dataflow_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "fetched_at": { - "$ref": "#/$defs/client-side-security_fetched_at" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "hash": { - "$ref": "#/$defs/client-side-security_hash" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "js_integrity_score": { - "$ref": "#/$defs/client-side-security_js_integrity_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "magecart_score": { - "$ref": "#/$defs/client-side-security_magecart_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "malware_score": { - "$ref": "#/$defs/client-side-security_malware_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "obfuscation_score": { - "$ref": "#/$defs/client-side-security_obfuscation_score" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] } }, "type": "object" diff --git a/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts b/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts index e5b6734a2..28937e18e 100644 --- a/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/scripts/tools.ts @@ -7,22 +7,12 @@ import { client$$side$$security_api$$list$$response$$collection, client$$side$$security_api$$response$$common, client$$side$$security_api$$response$$common$$failure, - client$$side$$security_id, client$$side$$security_messages, client$$side$$security_result_info, } from "../outputs.js"; -import { client$$side$$security_id as client$$side$$security_id$ } from "../schemas.js"; import { - client$$side$$security_cryptomining_score, - client$$side$$security_dataflow_score, - client$$side$$security_fetched_at, client$$side$$security_get$$zone$$script$$response, - client$$side$$security_hash, - client$$side$$security_js_integrity_score, client$$side$$security_list$$zone$$scripts$$response, - client$$side$$security_magecart_score, - client$$side$$security_malware_score, - client$$side$$security_obfuscation_score, client$$side$$security_script, client$$side$$security_version, } from "./outputs.js"; @@ -34,19 +24,20 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_scripts_get", title: "Get a detected script", - description: "Returns a script detected on the zone by script ID.", + description: "Returns a script detected on the zone by script ID.\n\nGET /zones/{zone_id}/page_shield/scripts/{script_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "script_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -59,26 +50,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/client-side-security_get-zone-script-response", $defs: { "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, - "client-side-security_cryptomining_score": client$$side$$security_cryptomining_score, - "client-side-security_dataflow_score": client$$side$$security_dataflow_score, - "client-side-security_fetched_at": client$$side$$security_fetched_at, "client-side-security_get-zone-script-response": client$$side$$security_get$$zone$$script$$response, - "client-side-security_hash": client$$side$$security_hash, - "client-side-security_id": client$$side$$security_id, - "client-side-security_js_integrity_score": client$$side$$security_js_integrity_score, - "client-side-security_magecart_score": client$$side$$security_magecart_score, - "client-side-security_malware_score": client$$side$$security_malware_score, "client-side-security_messages": client$$side$$security_messages, - "client-side-security_obfuscation_score": client$$side$$security_obfuscation_score, "client-side-security_script": client$$side$$security_script, "client-side-security_version": client$$side$$security_version, }, @@ -121,17 +101,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, - "client-side-security_cryptomining_score": client$$side$$security_cryptomining_score, - "client-side-security_dataflow_score": client$$side$$security_dataflow_score, - "client-side-security_fetched_at": client$$side$$security_fetched_at, "client-side-security_get-zone-script-response": client$$side$$security_get$$zone$$script$$response, - "client-side-security_hash": client$$side$$security_hash, - "client-side-security_id": client$$side$$security_id, - "client-side-security_js_integrity_score": client$$side$$security_js_integrity_score, - "client-side-security_magecart_score": client$$side$$security_magecart_score, - "client-side-security_malware_score": client$$side$$security_malware_score, "client-side-security_messages": client$$side$$security_messages, - "client-side-security_obfuscation_score": client$$side$$security_obfuscation_score, "client-side-security_script": client$$side$$security_script, "client-side-security_version": client$$side$$security_version, }, @@ -143,15 +114,16 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_scripts_list", title: "List detected scripts", - description: "Lists scripts detected on webpages in the zone, with filtering and pagination.", + description: "Lists scripts detected on webpages in the zone, with filtering and pagination.\n\nGET /zones/{zone_id}/page_shield/scripts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -160,6 +132,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction used to sort returned scripts.", @@ -176,11 +149,11 @@ export const tools: readonly Tool[] = [ }, "exclude_duplicates": { "default": true, - "description": "When true, excludes duplicate scripts. We consider a script duplicate of another if their javascript\ncontent matches and they share the same url host and zone hostname. In such case, we return the most\nrecent script for the URL host and zone hostname combination.\n", + "description": "When true, excludes duplicate scripts. We consider a script duplicate of another if their javascript\ncontent matches and they share the same url host and zone hostname. In such case, we return the most\nrecent script for the URL host and zone hostname combination.", "type": "boolean" }, "exclude_urls": { - "description": "Excludes scripts whose URL contains one of the URL-encoded URLs separated by commas.\n", + "description": "Excludes scripts whose URL contains one of the URL-encoded URLs separated by commas.", "type": "string" }, "export": { @@ -191,7 +164,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "hosts": { - "description": "Includes scripts that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "description": "Includes scripts that match one or more URL-encoded hostnames separated by commas.\n\nWildcards are supported at the start and end of each hostname to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match", "type": "string" }, "order_by": { @@ -203,11 +176,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "page": { - "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the scripts\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of scripts\n", + "description": "The current page number of the paginated results.\n\nWe additionally support a special value \"all\". When \"all\" is used, the API will return all the scripts\nwith the applied filters in a single page. This feature is best-effort and it may only work for zones with\na low number of scripts", "type": "string" }, "page_url": { - "description": "Includes scripts that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match\n", + "description": "Includes scripts that match one or more page URLs (separated by commas) where they were last seen\n\nWildcards are supported at the start and end of each page URL to support starts with, ends with\nand contains. If no wildcards are used, results will be filtered by exact match", "type": "string" }, "per_page": { @@ -223,7 +196,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "urls": { - "description": "Includes scripts whose URL contain one or more URL-encoded URLs separated by commas.\n", + "description": "Includes scripts whose URL contain one or more URL-encoded URLs separated by commas.", "type": "string" } }, @@ -233,26 +206,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/client-side-security_list-zone-scripts-response", $defs: { "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, - "client-side-security_cryptomining_score": client$$side$$security_cryptomining_score, - "client-side-security_dataflow_score": client$$side$$security_dataflow_score, - "client-side-security_fetched_at": client$$side$$security_fetched_at, - "client-side-security_hash": client$$side$$security_hash, - "client-side-security_id": client$$side$$security_id, - "client-side-security_js_integrity_score": client$$side$$security_js_integrity_score, "client-side-security_list-zone-scripts-response": client$$side$$security_list$$zone$$scripts$$response, - "client-side-security_magecart_score": client$$side$$security_magecart_score, - "client-side-security_malware_score": client$$side$$security_malware_score, "client-side-security_messages": client$$side$$security_messages, - "client-side-security_obfuscation_score": client$$side$$security_obfuscation_score, "client-side-security_result_info": client$$side$$security_result_info, "client-side-security_script": client$$side$$security_script, }, @@ -295,17 +257,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-list-response-collection": client$$side$$security_api$$list$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, - "client-side-security_cryptomining_score": client$$side$$security_cryptomining_score, - "client-side-security_dataflow_score": client$$side$$security_dataflow_score, - "client-side-security_fetched_at": client$$side$$security_fetched_at, - "client-side-security_hash": client$$side$$security_hash, - "client-side-security_id": client$$side$$security_id, - "client-side-security_js_integrity_score": client$$side$$security_js_integrity_score, "client-side-security_list-zone-scripts-response": client$$side$$security_list$$zone$$scripts$$response, - "client-side-security_magecart_score": client$$side$$security_magecart_score, - "client-side-security_malware_score": client$$side$$security_malware_score, "client-side-security_messages": client$$side$$security_messages, - "client-side-security_obfuscation_score": client$$side$$security_obfuscation_score, "client-side-security_result_info": client$$side$$security_result_info, "client-side-security_script": client$$side$$security_script, }, diff --git a/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts b/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts index a5eb102d3..e15a01819 100644 --- a/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts +++ b/src/generated/forge-mcp/clientSideSecurity/settings/outputs.ts @@ -22,29 +22,22 @@ export const client$$side$$security_api$$response$$single: JsonSchema = { ] }; -/** - * The schema of `client-side-security_enabled` in responses. - */ -export const client$$side$$security_enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `client-side-security_get-zone-settings-response` in responses. */ export const client$$side$$security_get$$zone$$settings$$response: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/client-side-security_enabled" + "type": "boolean" }, "updated_at": { - "$ref": "#/$defs/client-side-security_updated_at" + "type": "string" }, "use_cloudflare_reporting_endpoint": { - "$ref": "#/$defs/client-side-security_use_cloudflare_reporting_endpoint" + "type": "boolean" }, "use_connection_url_path": { - "$ref": "#/$defs/client-side-security_use_connection_url_path" + "type": "boolean" } }, "required": [ @@ -63,16 +56,16 @@ export const client$$side$$security_get$$zone$$settings$$response: JsonSchema = export const client$$side$$security_update$$zone$$settings$$response: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/client-side-security_enabled" + "type": "boolean" }, "updated_at": { - "$ref": "#/$defs/client-side-security_updated_at" + "type": "string" }, "use_cloudflare_reporting_endpoint": { - "$ref": "#/$defs/client-side-security_use_cloudflare_reporting_endpoint" + "type": "boolean" }, "use_connection_url_path": { - "$ref": "#/$defs/client-side-security_use_connection_url_path" + "type": "boolean" } }, "required": [ @@ -84,28 +77,6 @@ export const client$$side$$security_update$$zone$$settings$$response: JsonSchema "type": "object" }; -/** - * The schema of `client-side-security_updated_at` in responses. - */ -export const client$$side$$security_updated_at: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `client-side-security_use_cloudflare_reporting_endpoint` in - * responses. - */ -export const client$$side$$security_use_cloudflare_reporting_endpoint: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `client-side-security_use_connection_url_path` in responses. - */ -export const client$$side$$security_use_connection_url_path: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `client-side-security_zone_settings_response_single` in * responses. diff --git a/src/generated/forge-mcp/clientSideSecurity/settings/schemas.ts b/src/generated/forge-mcp/clientSideSecurity/settings/schemas.ts deleted file mode 100644 index aea4a08cd..000000000 --- a/src/generated/forge-mcp/clientSideSecurity/settings/schemas.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `client-side-security_enabled`. - */ -export const client$$side$$security_enabled: JsonSchema = { - "description": "When true, indicates that Client-Side Security is enabled.", - "type": "boolean" -}; - -/** - * The schema of `client-side-security_use_cloudflare_reporting_endpoint`. - */ -export const client$$side$$security_use_cloudflare_reporting_endpoint: JsonSchema = { - "description": "When true, CSP reports will be sent to https://csp-reporting.cloudflare.com/cdn-cgi/script_monitor/report", - "type": "boolean" -}; - -/** - * The schema of `client-side-security_use_connection_url_path`. - */ -export const client$$side$$security_use_connection_url_path: JsonSchema = { - "description": "When true, the paths associated with connections URLs will also be analyzed.", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts b/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts index b85145ad1..198b303c8 100644 --- a/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts +++ b/src/generated/forge-mcp/clientSideSecurity/settings/tools.ts @@ -8,22 +8,12 @@ import { client$$side$$security_api$$response$$common$$failure, client$$side$$security_messages, } from "../outputs.js"; -import { client$$side$$security_id } from "../schemas.js"; import { client$$side$$security_api$$response$$single, - client$$side$$security_enabled, client$$side$$security_get$$zone$$settings$$response, client$$side$$security_update$$zone$$settings$$response, - client$$side$$security_updated_at, - client$$side$$security_use_cloudflare_reporting_endpoint, - client$$side$$security_use_connection_url_path, client$$side$$security_zone_settings_response_single, } from "./outputs.js"; -import { - client$$side$$security_enabled as client$$side$$security_enabled$, - client$$side$$security_use_cloudflare_reporting_endpoint as client$$side$$security_use_cloudflare_reporting_endpoint$, - client$$side$$security_use_connection_url_path as client$$side$$security_use_connection_url_path$, -} from "./schemas.js"; /** * The tools of `clientSideSecurity.settings`. @@ -32,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_settings_get", title: "Get client-side security settings", - description: "Returns the client-side security product enablement status and reporting behaviors.", + description: "Returns the client-side security product enablement status and reporting behaviors.\n\nGET /zones/{zone_id}/page_shield", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -52,9 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "client-side-security_id": client$$side$$security_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -73,12 +62,8 @@ export const tools: readonly Tool[] = [ $defs: { "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, - "client-side-security_enabled": client$$side$$security_enabled, "client-side-security_get-zone-settings-response": client$$side$$security_get$$zone$$settings$$response, "client-side-security_messages": client$$side$$security_messages, - "client-side-security_updated_at": client$$side$$security_updated_at, - "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint, - "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path, }, }, annotations: { @@ -131,12 +116,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-get-response-collection": client$$side$$security_api$$get$$response$$collection, "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, - "client-side-security_enabled": client$$side$$security_enabled, "client-side-security_get-zone-settings-response": client$$side$$security_get$$zone$$settings$$response, "client-side-security_messages": client$$side$$security_messages, - "client-side-security_updated_at": client$$side$$security_updated_at, - "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint, - "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path, }, }, request: (args) => ({ @@ -146,32 +127,33 @@ export const tools: readonly Tool[] = [ { name: "clientSideSecurity_settings_update", title: "Update client-side security settings", - description: "Updates client-side security enablement and reporting behaviors for the zone.", + description: "Updates client-side security enablement and reporting behaviors for the zone.\n\nPUT /zones/{zone_id}/page_shield", inputSchema: { type: "object", properties: { "body": { "properties": { "enabled": { - "$ref": "#/$defs/client-side-security_enabled", - "description": "When true, indicates that Client-Side Security is enabled." + "description": "When true, indicates that Client-Side Security is enabled.", + "type": "boolean" }, "use_cloudflare_reporting_endpoint": { - "$ref": "#/$defs/client-side-security_use_cloudflare_reporting_endpoint", - "description": "When true, CSP reports will be sent to https://csp-reporting.cloudflare.com/cdn-cgi/script_monitor/report" + "description": "When true, CSP reports will be sent to https://csp-reporting.cloudflare.com/cdn-cgi/script_monitor/report", + "type": "boolean" }, "use_connection_url_path": { - "$ref": "#/$defs/client-side-security_use_connection_url_path", - "description": "When true, the paths associated with connections URLs will also be analyzed." + "description": "When true, the paths associated with connections URLs will also be analyzed.", + "type": "boolean" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/client-side-security_id", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -184,12 +166,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "client-side-security_enabled": client$$side$$security_enabled$, - "client-side-security_id": client$$side$$security_id, - "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint$, - "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -208,12 +185,8 @@ export const tools: readonly Tool[] = [ $defs: { "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-single": client$$side$$security_api$$response$$single, - "client-side-security_enabled": client$$side$$security_enabled, "client-side-security_messages": client$$side$$security_messages, "client-side-security_update-zone-settings-response": client$$side$$security_update$$zone$$settings$$response, - "client-side-security_updated_at": client$$side$$security_updated_at, - "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint, - "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path, "client-side-security_zone_settings_response_single": client$$side$$security_zone_settings_response_single, }, }, @@ -264,12 +237,8 @@ export const tools: readonly Tool[] = [ "client-side-security_api-response-common": client$$side$$security_api$$response$$common, "client-side-security_api-response-common-failure": client$$side$$security_api$$response$$common$$failure, "client-side-security_api-response-single": client$$side$$security_api$$response$$single, - "client-side-security_enabled": client$$side$$security_enabled, "client-side-security_messages": client$$side$$security_messages, "client-side-security_update-zone-settings-response": client$$side$$security_update$$zone$$settings$$response, - "client-side-security_updated_at": client$$side$$security_updated_at, - "client-side-security_use_cloudflare_reporting_endpoint": client$$side$$security_use_cloudflare_reporting_endpoint, - "client-side-security_use_connection_url_path": client$$side$$security_use_connection_url_path, "client-side-security_zone_settings_response_single": client$$side$$security_zone_settings_response_single, }, }, diff --git a/src/generated/forge-mcp/cloudConnector/rules/outputs.ts b/src/generated/forge-mcp/cloudConnector/rules/outputs.ts index e2606c1df..c056f73b3 100644 --- a/src/generated/forge-mcp/cloudConnector/rules/outputs.ts +++ b/src/generated/forge-mcp/cloudConnector/rules/outputs.ts @@ -92,20 +92,6 @@ export const cloud$$connector_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `cloud-connector_provider` in responses. - */ -export const cloud$$connector_provider: JsonSchema = { - "enum": [ - "aws_s3", - "cloudflare_r2", - "gcp_storage", - "azure_storage", - "oci_storage" - ], - "type": "string" -}; - /** * The schema of `cloud-connector_rule` in responses. */ @@ -132,7 +118,14 @@ export const cloud$$connector_rule: JsonSchema = { "type": "object" }, "provider": { - "$ref": "#/$defs/cloud-connector_provider" + "enum": [ + "aws_s3", + "cloudflare_r2", + "gcp_storage", + "azure_storage", + "oci_storage" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/cloudConnector/rules/schemas.ts b/src/generated/forge-mcp/cloudConnector/rules/schemas.ts index 8903918d7..91e199aa5 100644 --- a/src/generated/forge-mcp/cloudConnector/rules/schemas.ts +++ b/src/generated/forge-mcp/cloudConnector/rules/schemas.ts @@ -3,29 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `cloud-connector_identifier`. - */ -export const cloud$$connector_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `cloud-connector_provider`. - */ -export const cloud$$connector_provider: JsonSchema = { - "description": "Cloud Provider type", - "enum": [ - "aws_s3", - "cloudflare_r2", - "gcp_storage", - "azure_storage", - "oci_storage" - ], - "type": "string" -}; - /** * The schema of `cloud-connector_rule`. */ @@ -54,8 +31,15 @@ export const cloud$$connector_rule: JsonSchema = { "type": "object" }, "provider": { - "$ref": "#/$defs/cloud-connector_provider", - "description": "Cloud Provider type" + "description": "Cloud Provider type", + "enum": [ + "aws_s3", + "cloudflare_r2", + "gcp_storage", + "azure_storage", + "oci_storage" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/cloudConnector/rules/tools.ts b/src/generated/forge-mcp/cloudConnector/rules/tools.ts index 851c19585..546d2c1b9 100644 --- a/src/generated/forge-mcp/cloudConnector/rules/tools.ts +++ b/src/generated/forge-mcp/cloudConnector/rules/tools.ts @@ -6,15 +6,10 @@ import { cloud$$connector_api$$response$$common, cloud$$connector_api$$response$$common$$failure, cloud$$connector_messages, - cloud$$connector_provider, cloud$$connector_rule, cloud$$connector_rules, } from "./outputs.js"; -import { - cloud$$connector_identifier, - cloud$$connector_provider as cloud$$connector_provider$, - cloud$$connector_rule as cloud$$connector_rule$, -} from "./schemas.js"; +import { cloud$$connector_rule as cloud$$connector_rule$ } from "./schemas.js"; /** * The tools of `cloudConnector.rules`. @@ -23,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "cloudConnector_rules_list", title: "Rules", - description: "Retrieves the Cloud Connector rules configured for a zone. Rules define how traffic is routed to cloud services.", + description: "Retrieves the Cloud Connector rules configured for a zone. Rules define how traffic is routed to cloud services.\n\nGET /zones/{zone_id}/cloud_connector/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cloud-connector_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -43,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloud-connector_identifier": cloud$$connector_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -64,7 +58,6 @@ export const tools: readonly Tool[] = [ $defs: { "cloud-connector_api-response-common": cloud$$connector_api$$response$$common, "cloud-connector_messages": cloud$$connector_messages, - "cloud-connector_provider": cloud$$connector_provider, "cloud-connector_rule": cloud$$connector_rule, "cloud-connector_rules": cloud$$connector_rules, }, @@ -118,7 +111,6 @@ export const tools: readonly Tool[] = [ "cloud-connector_api-response-common": cloud$$connector_api$$response$$common, "cloud-connector_api-response-common-failure": cloud$$connector_api$$response$$common$$failure, "cloud-connector_messages": cloud$$connector_messages, - "cloud-connector_provider": cloud$$connector_provider, "cloud-connector_rule": cloud$$connector_rule, "cloud-connector_rules": cloud$$connector_rules, }, @@ -130,7 +122,7 @@ export const tools: readonly Tool[] = [ { name: "cloudConnector_rules_update", title: "Put Rules", - description: "Updates Cloud Connector rules for a zone, replacing the existing rule configuration.", + description: "Updates Cloud Connector rules for a zone, replacing the existing rule configuration.\n\nPUT /zones/{zone_id}/cloud_connector/rules", inputSchema: { type: "object", properties: { @@ -141,10 +133,11 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cloud-connector_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -157,9 +150,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cloud-connector_identifier": cloud$$connector_identifier, - "cloud-connector_provider": cloud$$connector_provider$, "cloud-connector_rule": cloud$$connector_rule$, }, }, @@ -180,7 +172,6 @@ export const tools: readonly Tool[] = [ $defs: { "cloud-connector_api-response-common": cloud$$connector_api$$response$$common, "cloud-connector_messages": cloud$$connector_messages, - "cloud-connector_provider": cloud$$connector_provider, "cloud-connector_rule": cloud$$connector_rule, "cloud-connector_rules": cloud$$connector_rules, }, @@ -233,7 +224,6 @@ export const tools: readonly Tool[] = [ "cloud-connector_api-response-common": cloud$$connector_api$$response$$common, "cloud-connector_api-response-common-failure": cloud$$connector_api$$response$$common$$failure, "cloud-connector_messages": cloud$$connector_messages, - "cloud-connector_provider": cloud$$connector_provider, "cloud-connector_rule": cloud$$connector_rule, "cloud-connector_rules": cloud$$connector_rules, }, diff --git a/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts b/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts index f9416402c..7e20c2246 100644 --- a/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/binaryStorage/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_binaryStorage_get", title: "Retrieves a file from Binary Storage", - description: "Retrieves a binary file from the Cloudforce One binary storage for analysis.", + description: "Retrieves a binary file from the Cloudforce One binary storage for analysis.\n\nGET /accounts/{account_id}/cloudforce-one/binary/{hash}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts index 8df7bd83e..ab7c9fba9 100644 --- a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/domains/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_credentialMonitor_domains_create", title: "Create monitored domain", - description: "Register a domain for credential monitoring.", + description: "Register a domain for credential monitoring.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/credential-monitor/domains", inputSchema: { type: "object", properties: { @@ -27,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -42,6 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -183,11 +185,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_credentialMonitor_domains_delete", title: "Delete monitored domain", - description: "Remove a domain from credential monitoring.", + description: "Remove a domain from credential monitoring.\n\nDELETE /accounts/{account_id}/cloudforce-one/v2/credential-monitor/domains/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -208,6 +211,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -332,11 +336,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_credentialMonitor_domains_list", title: "List monitored domains", - description: "List all domains registered for credential monitoring.", + description: "List all domains registered for credential monitoring.\n\nGET /accounts/{account_id}/cloudforce-one/v2/credential-monitor/domains", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -349,6 +354,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -367,6 +373,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts index e3eac415f..029c57a2a 100644 --- a/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/credentialMonitor/matches/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_credentialMonitor_matches_list", title: "List credential matches", - description: "Get credential matches for the account's monitored domains.", + description: "Get credential matches for the account's monitored domains.\n\nGET /accounts/{account_id}/cloudforce-one/v2/credential-monitor/matches", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "domain": { "description": "Filter by domain (exact match)", @@ -53,6 +55,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts index fc9a25c11..a9ce09645 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/constants/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_constants_get", title: "Get PIR constants (methods, dimensions, and TLP values)", - description: "Requirements is the existing free-form PIR method. Interests is the experimental structured-interest method, evaluated independently from requirements.", + description: "Requirements is the existing free-form PIR method. Interests is the experimental structured-interest method, evaluated independently from requirements.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/constants", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -29,6 +30,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts index fa626e19b..099c1bd8d 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/filters/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_filters_generate", title: "Generate event filters from a PIR", - description: "Translates a natural-language Priority Intelligence Requirement into Threat Events `searchBranches` with Workers AI. Terms that cannot be expressed as event filters are returned in `unresolved_terms`. Nothing is stored or executed.", + description: "Translates a natural-language Priority Intelligence Requirement into Threat Events `searchBranches` with Workers AI. Terms that cannot be expressed as event filters are returned in `unresolved_terms`. Nothing is stored or executed.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/filters/generate", inputSchema: { type: "object", properties: { @@ -27,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -41,6 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts index 2f2e995af..11eb92a93 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/backtests/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_interests_backtests_create", title: "Backtest account-interest change detection", - description: "Uses bounded full-span top-N candidates and daily event-date buckets. Results are conservative rather than an exact historical replay.", + description: "Uses bounded full-span top-N candidates and daily event-date buckets. Results are conservative rather than an exact historical replay.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/interests/backtests", inputSchema: { type: "object", properties: { @@ -62,6 +62,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -77,6 +78,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -106,11 +108,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_interests_backtests_get", title: "Get a persisted account-interest backtest", - description: "Returns a previously completed account-interest backtest by ID. The backtest must belong to this account.", + description: "Returns a previously completed account-interest backtest by ID. The backtest must belong to this account.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/interests/backtests/{backtest_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -132,6 +135,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts index bf109a513..5dde7fcef 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/evaluations/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_interests_evaluations_create", title: "Evaluate recent event-dated changes for account interests", - description: "Compares the trailing event-date window with the preceding window. Results are precision-gated to enabled account interests. Late ingestion can cause an older event to appear in a later evaluation, so results describe changes in event-dated intelligence rather than exact adversary-activity timing.", + description: "Compares the trailing event-date window with the preceding window. Results are precision-gated to enabled account interests. Late ingestion can cause an older event to appear in a later evaluation, so results describe changes in event-dated intelligence rather than exact adversary-activity timing.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/interests/evaluations", inputSchema: { type: "object", properties: { @@ -58,6 +58,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -73,6 +74,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -102,11 +104,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_interests_evaluations_get", title: "Get a persisted account-interest evaluation", - description: "Returns a previously completed live account-interest evaluation by ID. The evaluation must belong to this account.", + description: "Returns a previously completed live account-interest evaluation by ID. The evaluation must belong to this account.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/interests/evaluations/{evaluation_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -128,6 +131,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts index 3d1ba35de..1c03f4b30 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/interests/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_interests_create", title: "Create an account interest for PIR Option 2", - description: "Creates a structured account interest used by Priority Intelligence Option 2 evaluations. Interests are evaluated independently from free-form PIR requirements.", + description: "Creates a structured account interest used by Priority Intelligence Option 2 evaluations. Interests are evaluated independently from free-form PIR requirements.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/interests", inputSchema: { type: "object", properties: { @@ -45,6 +45,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -60,6 +61,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -90,11 +92,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_interests_delete", title: "Delete an account interest for PIR Option 2", - description: "Deletes a structured account interest so later Priority Intelligence Option 2 evaluations no longer include it.", + description: "Deletes a structured account interest so later Priority Intelligence Option 2 evaluations no longer include it.\n\nDELETE /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/interests/{interest_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -116,6 +119,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -144,11 +148,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_interests_list", title: "List account interests for PIR Option 2", - description: "Lists structured account interests for Priority Intelligence Option 2. Filter by enabled state and paginate results.", + description: "Lists structured account interests for Priority Intelligence Option 2. Filter by enabled state and paginate results.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/interests", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -161,6 +166,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "enabled": { "enum": [ @@ -184,6 +190,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -218,7 +225,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_interests_update", title: "Update an account interest for PIR Option 2", - description: "Updates a structured account interest used by Priority Intelligence Option 2 evaluations. Changing the value re-resolves the interest against the current catalog.", + description: "Updates a structured account interest used by Priority Intelligence Option 2 evaluations. Changing the value re-resolves the interest against the current catalog.\n\nPATCH /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/interests/{interest_id}", inputSchema: { type: "object", properties: { @@ -234,6 +241,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -255,6 +263,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts index 21e0d138d..3b0a371f0 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/matches/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/{priority_id}/matches/aggregate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "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.", @@ -75,6 +77,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -594,11 +597,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_matches_aggregateAll", 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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/matches/aggregate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -610,6 +614,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "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.", @@ -654,6 +659,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1556,11 +1562,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_matches_list", title: "List a priority intelligence requirement's matched events", - description: "Returns the events matched by the PIR's query, newest match first. Each item has the Event List event fields plus the match fields. Only datasets the account can read now are included, and deleted events are left out, so a page can hold fewer items than `per_page` while `result_info.cursor` is still set. `backfill` matches came from the 30 days before the PIR was activated or its query changed and are never notified. `delivered` matches were included in a digest that the notification service accepted; who receives it depends on the account's notification policies for the PIR. Requires the Threat Events entitlement.", + description: "Returns the events matched by the PIR's query, newest match first. Each item has the Event List event fields plus the match fields. Only datasets the account can read now are included, and deleted events are left out, so a page can hold fewer items than `per_page` while `result_info.cursor` is still set. `backfill` matches came from the 30 days before the PIR was activated or its query changed and are never notified. `delivered` matches were included in a digest that the notification service accepted; who receives it depends on the account's notification policies for the PIR. Requires the Threat Events entitlement.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/{priority_id}/matches", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1577,6 +1584,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "`result_info.cursor` from the previous page. Omit for the newest matches.", @@ -1603,6 +1611,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -1639,11 +1648,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/{priority_id}/matches/series", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1660,6 +1670,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_backfill": { "default": "true", @@ -1696,6 +1707,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1834,7 +1846,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_matches_update", title: "Triage a priority intelligence requirement's matched events", - description: "Sets `triage_state` (`new`, `relevant`, or `not_relevant`) on up to 100 matches. Matches that do not exist, or are in datasets the account can no longer read, are returned in `not_found`. Setting `new` clears `triaged_at` and `triaged_by`. Requires the Threat Events entitlement.", + description: "Sets `triage_state` (`new`, `relevant`, or `not_relevant`) on up to 100 matches. Matches that do not exist, or are in datasets the account can no longer read, are returned in `not_found`. Setting `new` clears `triaged_at` and `triaged_by`. Requires the Threat Events entitlement.\n\nPATCH /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/{priority_id}/matches", inputSchema: { type: "object", properties: { @@ -1881,6 +1893,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1900,6 +1913,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts index 5abc4945f..cb0de5fb4 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/profile/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_profile_delete", title: "Delete the organization profile", - description: "Deletes the account's organization profile. Succeeds when the account has no profile.", + description: "Deletes the account's organization profile. Succeeds when the account has no profile.\n\nDELETE /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/profile", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -29,6 +30,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -58,11 +60,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/profile", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -77,6 +80,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -107,7 +111,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_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.", + 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.\n\nPUT /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/profile", inputSchema: { type: "object", properties: { @@ -124,6 +128,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -138,6 +143,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts index 2f3fd36a9..619cf72b5 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/quota/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_quota_create", title: "Get PIR quota for an account", - description: "Returns the account's PIR quota. `quota` and `remaining` count active PIRs against the entitlement limit; moving a PIR to draft or deleting it frees its slot. `total_quota` and `total_remaining` count every PIR, drafts included, against five times the limit. Anniversary dates are informational.", + description: "Returns the account's PIR quota. `quota` and `remaining` count active PIRs against the entitlement limit; moving a PIR to draft or deleting it frees its slot. `total_quota` and `total_remaining` count every PIR, drafts included, against five times the limit. Anniversary dates are informational.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/quota", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -29,6 +30,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts index 126e2c8bb..b58c412d9 100644 --- a/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/priorityIntelligence/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_create", title: "Create a priority intelligence requirement", - description: "Creates a new PIR for the account. The cfone.priority_intelligence_requirement_limit entitlement sets how many PIRs can be active; drafts do not count, but the account can hold at most five times that many PIRs in total. An active PIR requires a query.", + description: "Creates a new PIR for the account. The cfone.priority_intelligence_requirement_limit entitlement sets how many PIRs can be active; drafts do not count, but the account can hold at most five times that many PIRs in total. An active PIR requires a query.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/priority-intelligence", inputSchema: { type: "object", properties: { @@ -509,6 +509,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -523,6 +524,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -555,11 +557,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_delete", title: "Delete a priority intelligence requirement", - description: "Soft-deletes a PIR. The PIR will no longer count against quota.", + description: "Soft-deletes a PIR. The PIR will no longer count against quota.\n\nDELETE /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/{priority_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -579,6 +582,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -608,11 +612,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_get", title: "Get a priority intelligence requirement by ID", - description: "Returns a single free-form Priority Intelligence Requirement for the authenticated account.", + description: "Returns a single free-form Priority Intelligence Requirement for the authenticated account.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/{priority_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -632,6 +637,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -662,11 +668,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_list", title: "List priority intelligence requirements for an account", - description: "Lists free-form Priority Intelligence Requirements for the account. Results are scoped to the authenticated account.", + description: "Lists free-form Priority Intelligence Requirements for the account. Results are scoped to the authenticated account.\n\nGET /accounts/{account_id}/cloudforce-one/v2/priority-intelligence", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -678,6 +685,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -694,6 +702,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -728,7 +737,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_priorityIntelligence_update", title: "Update a priority intelligence requirement", - description: "Updates a Priority Intelligence Requirement for the authenticated account. Changing the query increments its version; editing the requirement without saving a query marks the query stale. Activating a draft needs a free slot in the active PIR quota; setting `active` on a PIR the matcher paused resumes it without one.", + description: "Updates a Priority Intelligence Requirement for the authenticated account. Changing the query increments its version; editing the requirement without saving a query marks the query stale. Activating a draft needs a free slot in the active PIR quota; setting `active` on a PIR the matcher paused resumes it without one.\n\nPUT /accounts/{account_id}/cloudforce-one/v2/priority-intelligence/{priority_id}", inputSchema: { type: "object", properties: { @@ -1257,6 +1266,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1276,6 +1286,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, diff --git a/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts index 187923704..3b0b2578c 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/assets/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_assets_download", title: "Download asset (Customer)", - description: "Download a file asset from R2 storage. Customer can only download from their own account.", + description: "Download a file asset from R2 storage. Customer can only download from their own account.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/{request_id}/assets/{asset_id}/download", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -59,6 +60,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -89,11 +91,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_assets_list", title: "List assets in request (Customer)", - description: "List all file assets for a request. Customer can only list assets from their own account.", + description: "List all file assets for a request. Customer can only list assets from their own account.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/{request_id}/assets/list", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -133,6 +136,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -701,11 +705,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_assets_upload", title: "Upload asset to request (Customer)", - description: "Upload a file asset to R2 storage and associate it with a request. Customer can only upload to their own account.", + description: "Upload a file asset to R2 storage and associate it with a request. Customer can only upload to their own account.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/{request_id}/assets/upload", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -745,6 +750,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts index 9f1dffe3a..c433fe80a 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/constants/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_constants_get", title: "Get request constants", - description: "Returns available priorities, statuses, and TLP levels for request workflows", + description: "Returns available priorities, statuses, and TLP levels for request workflows\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/constants", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -49,6 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts index a8943bf69..e9ff3cd90 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/legalResponse/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_legalResponse_accessCheck", title: "Check if current user is allowlisted for Legal Response", - description: "Returns whether the JWT-authenticated user's email is on the legal-response allowlist. This endpoint is purely informational for UI gating; actual access enforcement is performed by `legalResponseMiddleware` on real legal-response endpoints. Read-only — no Durable Object writes are performed.", + description: "Returns whether the JWT-authenticated user's email is on the legal-response allowlist. This endpoint is purely informational for UI gating; actual access enforcement is performed by `legalResponseMiddleware` on real legal-response endpoints. Read-only — no Durable Object writes are performed.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/legal-response/access-check", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID (used for JWT validation only)", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts index 869e569e7..ab81d4a26 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/messages/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_messages_create", title: "Create a customer follow-on message on an RFI request", - description: "Creates a customer dashboard message on an RFI request. Messages are always published on send. Workflow-enabled projects require Idempotency-Key and atomically record message activity and any policy transition. For token-billed project types, substantive follow-on messages consume message tokens and are subject to quarterly quota enforcement.", + description: "Creates a customer dashboard message on an RFI request. Messages are always published on send. Workflow-enabled projects require Idempotency-Key and atomically record message activity and any policy transition. For token-billed project types, substantive follow-on messages consume message tokens and are subject to quarterly quota enforcement.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/{request_id}/messages/new", inputSchema: { type: "object", properties: { @@ -54,6 +54,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "Idempotency-Key": { "description": "Client command key. Required when publishing a message for a workflow-enabled project; trimmed and limited to 255 characters.", @@ -70,6 +71,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -92,6 +94,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -336,11 +339,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_messages_get", title: "Read a single message for an RFI request", - description: "Returns the details for a specific message belonging to an RFI request.", + description: "Returns the details for a specific message belonging to an RFI request.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/{request_id}/messages/{message_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -367,6 +371,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -606,11 +611,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_messages_list", title: "List messages for an RFI request", - description: "Retrieves the published, non-deleted messages visible to the agent for an RFI request, with pagination.", + description: "Retrieves the published, non-deleted messages visible to the agent for an RFI request, with pagination.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/{request_id}/messages", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -630,6 +636,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": "1", @@ -646,6 +653,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -959,7 +967,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_messages_update", title: "Update/publish a message for an RFI request", - description: "Updates an existing message, typically to publish a draft by setting publish=true. Workflow-enabled publication requires Idempotency-Key and atomically records message activity and any policy transition.", + description: "Updates an existing message, typically to publish a draft by setting publish=true. Workflow-enabled publication requires Idempotency-Key and atomically records message activity and any policy transition.\n\nPUT /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/{request_id}/messages/{message_id}", inputSchema: { type: "object", properties: { @@ -997,6 +1005,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "Idempotency-Key": { "description": "Client command key. Required when publishing a message for a workflow-enabled project; trimmed and limited to 255 characters.", @@ -1013,6 +1022,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1039,6 +1049,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts index c4676509d..f4dabf773 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/metadata/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_metadata_list", title: "List metadata fields for an RFI type", - description: "Get custom metadata fields available for the specified project type", + description: "Get custom metadata fields available for the specified project type\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/metadata", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -46,6 +47,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "country": { "description": "Exclude fields restricted for this alpha-2 country code", @@ -62,6 +64,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts index 6b863b123..3c8b19f93 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/quota/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_quota_get", title: "Get request token quota", - description: "Returns the account's token quota for the current anniversary quarter: total granted, used, remaining, and the quarter/anniversary boundaries.", + description: "Returns the account's token quota for the current anniversary quarter: total granted, used, remaining, and the quarter/anniversary boundaries.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/quota", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -49,6 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/cloudforceOne/requests/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/tools.ts index 8fccd1e8c..44f45a289 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_getRequestList", title: "List RFIs", - description: "Retrieves a paginated list of RFIs with filtering and sorting options.", + description: "Retrieves a paginated list of RFIs with filtering and sorting options.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -46,6 +47,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "accountId": { "type": "string" @@ -106,6 +108,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -336,11 +339,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_getRequestRead", title: "Get an RFI by ID", - description: "Retrieves a specific RFI by its UUID with related data.", + description: "Retrieves a specific RFI by its UUID with related data.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/{request_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -380,6 +384,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -857,7 +862,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_postRequestCreate", title: "Creates a new RFI", - description: "Creates a new Request for Information with the specified project type and details.", + description: "Creates a new Request for Information with the specified project type and details.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}", inputSchema: { type: "object", properties: { @@ -939,6 +944,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -973,6 +979,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1450,7 +1457,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_putRequestUpdate", title: "Update an RFI", - description: "Updates an existing RFI with the provided fields. Only provided fields will be updated.", + description: "Updates an existing RFI with the provided fields. Only provided fields will be updated.\n\nPUT /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/{request_id}", inputSchema: { type: "object", properties: { @@ -1511,6 +1518,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1550,6 +1558,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts index 0baaeee94..3b2ab9625 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/types/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_types_list", title: "List visible request types for a project (dashboard)", - description: "Returns request types available to dashboard (external) callers. For restricted project types (e.g. legal-response), only the allowlisted subset is returned.", + description: "Returns request types available to dashboard (external) callers. For restricted project types (e.g. legal-response), only the allowlisted subset is returned.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/types", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -33,6 +34,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts b/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts index 5fa3f9e7c..996cd20b0 100644 --- a/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/requests/user/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_requests_user_get", title: "Get current user profile", - description: "Get the current user's profile in a specific RFI project.", + description: "Get the current user's profile in a specific RFI project.\n\nGET /accounts/{account_id}/cloudforce-one/v2/requests/{project_type}/user/me", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID", @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts index 827d85318..5327b8f2e 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/approvals/tools.ts @@ -25,11 +25,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_approvals_cancel", title: "Cancel a pending approval", - description: "Cancel a pending rule approval. Only its original requester may cancel it.", + description: "Cancel a pending rule approval. Only its original requester may cancel it.\n\nPOST /accounts/{account_id}/cloudforce-one/rules/approvals/{id}/cancel", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -50,6 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_SuccessResponse", @@ -93,11 +95,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_approvals_get", title: "Get rule approval details", - description: "Get a single rule approval with current rule data.", + description: "Get a single rule approval with current rule data.\n\nGET /accounts/{account_id}/cloudforce-one/rules/approvals/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -118,6 +121,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RuleApprovalDetailResponse", @@ -171,11 +175,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_approvals_list", title: "List rule approvals", - description: "Returns rule approvals with optional status, revision, reviewer-scope, and mutation-type filtering.", + description: "Returns rule approvals with optional status, revision, reviewer-scope, and mutation-type filtering.\n\nGET /accounts/{account_id}/cloudforce-one/rules/approvals", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -188,6 +193,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "change_type": { "description": "Limits approvals to the specified mutation type.", @@ -274,6 +280,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RuleApprovalsListResponse", @@ -325,7 +332,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_approvals_resubmit", title: "Revise and resubmit a rejected approval", - description: "Create a new pending revision from a rejected rule approval. Only the original requester may resubmit the latest revision.", + description: "Create a new pending revision from a rejected rule approval. Only the original requester may resubmit the latest revision.\n\nPOST /accounts/{account_id}/cloudforce-one/rules/approvals/{id}/resubmit", inputSchema: { type: "object", properties: { @@ -333,6 +340,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cloudforce-one_ResubmitApprovalRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -353,6 +361,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_ResubmitApprovalRequest": cloudforce$$one_ResubmitApprovalRequest, }, diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts index a3f82ade6..93d43b320 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/approvals/tools.ts @@ -22,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_approvals_resubmit", title: "Revise and resubmit a rejected structured email rule approval", - description: "Validates and compiles a complete structured email rule, then creates an immutable pending revision of its rejected approval.", + description: "Validates and compiles a complete structured email rule, then creates an immutable pending revision of its rejected approval.\n\nPOST /accounts/{account_id}/cloudforce-one/rules/structured/approvals/{id}/resubmit", inputSchema: { type: "object", properties: { @@ -115,6 +115,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -132,6 +133,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "module": { "default": "eml", @@ -148,6 +150,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts index 1f0b7b3c0..bd61a72e0 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/schema/tools.ts @@ -11,11 +11,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_schema_get", title: "Get email rule schema", - description: "Get the field catalog for structured email rules.", + description: "Get the field catalog for structured email rules.\n\nGET /accounts/{account_id}/cloudforce-one/rules/structured/schema", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts index 186c97ba1..a752c6375 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/email/tools.ts @@ -34,7 +34,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_create", title: "Create an email rule", - description: "Create a structured email rule.", + description: "Create a structured email rule.\n\nPOST /accounts/{account_id}/cloudforce-one/rules/structured", inputSchema: { type: "object", properties: { @@ -127,6 +127,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -142,6 +143,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, @@ -207,11 +209,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_delete", title: "Delete an email rule", - description: "Delete an existing structured email rule.", + description: "Delete an existing structured email rule.\n\nDELETE /accounts/{account_id}/cloudforce-one/rules/structured/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -233,6 +236,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "anyOf": [ @@ -292,11 +296,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_get", title: "Get an email rule", - description: "Get a structured email rule by ID.", + description: "Get a structured email rule by ID.\n\nGET /accounts/{account_id}/cloudforce-one/rules/structured/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -318,6 +323,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RulePreview", @@ -362,11 +368,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_list", title: "List email rules", - description: "Returns structured email rules.", + description: "Returns structured email rules.\n\nGET /accounts/{account_id}/cloudforce-one/rules/structured", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -379,6 +386,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "default": 50, @@ -405,6 +413,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_EmailRulesListResponse", @@ -453,7 +462,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_test", title: "Test an email rule", - description: "Test a structured email rule against sample email JSON.", + description: "Test a structured email rule against sample email JSON.\n\nPOST /accounts/{account_id}/cloudforce-one/rules/structured/{id}/test", inputSchema: { type: "object", properties: { @@ -469,6 +478,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -490,6 +500,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -563,7 +574,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_update", title: "Update an email rule", - description: "Updates an existing structured email rule.", + description: "Updates an existing structured email rule.\n\nPUT /accounts/{account_id}/cloudforce-one/rules/structured/{id}", inputSchema: { type: "object", properties: { @@ -649,6 +660,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -670,6 +682,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, @@ -742,7 +755,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_updatePendingApproval", title: "Update a pending structured email rule approval", - description: "Validate, compile, and replace the proposed structured email rule on a pending approval. Only the original requester may update it.", + description: "Validate, compile, and replace the proposed structured email rule on a pending approval. Only the original requester may update it.\n\nPUT /accounts/{account_id}/cloudforce-one/rules/structured/approvals/{id}", inputSchema: { type: "object", properties: { @@ -835,6 +848,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -852,6 +866,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "module": { "default": "eml", @@ -868,6 +883,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, @@ -936,7 +952,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_email_validate", title: "Validate an email rule", - description: "Validates structured email rule syntax and metadata.", + description: "Validates structured email rule syntax and metadata.\n\nPOST /accounts/{account_id}/cloudforce-one/rules/structured/validate", inputSchema: { type: "object", properties: { @@ -1034,6 +1050,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -1049,6 +1066,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_EmailRuleArrayCondition": cloudforce$$one_EmailRuleArrayCondition, "cloudforce-one_EmailRuleCondition": cloudforce$$one_EmailRuleCondition, diff --git a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts index 01034a9d1..1b18e0831 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/exemptions/tools.ts @@ -17,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_exemptions_create", title: "Add patterns to exemption rules", - description: "Add regex patterns to per-account exemption rules (union semantics). Missing keys leave that type untouched; duplicates are silently deduped.", + description: "Add regex patterns to per-account exemption rules (union semantics). Missing keys leave that type untouched; duplicates are silently deduped.\n\nPOST /accounts/{account_id}/cloudforce-one/rules/exemptions", inputSchema: { type: "object", properties: { @@ -25,6 +25,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cloudforce-one_PartialAccountExemptions" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -40,6 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_PartialAccountExemptions": cloudforce$$one_PartialAccountExemptions, }, @@ -87,7 +89,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_exemptions_delete", title: "Remove patterns from exemption rules", - description: "Remove regex patterns from per-account exemption rules. Missing keys leave that type untouched; non-existent patterns are silently skipped.", + description: "Remove regex patterns from per-account exemption rules. Missing keys leave that type untouched; non-existent patterns are silently skipped.\n\nDELETE /accounts/{account_id}/cloudforce-one/rules/exemptions", inputSchema: { type: "object", properties: { @@ -95,6 +97,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cloudforce-one_PartialAccountExemptions" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -110,6 +113,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_PartialAccountExemptions": cloudforce$$one_PartialAccountExemptions, }, @@ -157,11 +161,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_exemptions_get", title: "Get exemption rules for an account", - description: "Get all exemption rule patterns for the account, grouped by type.", + description: "Get all exemption rule patterns for the account, grouped by type.\n\nGET /accounts/{account_id}/cloudforce-one/rules/exemptions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -177,6 +182,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_AccountExemptions", @@ -220,7 +226,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_exemptions_update", title: "Update exemption rule patterns", - description: "Replace existing exemption patterns with new values. Each key maps to an array of {old_pattern, new_pattern} entries. Missing keys leave that type untouched. Fails if any old pattern is not found or any new pattern already exists.", + description: "Replace existing exemption patterns with new values. Each key maps to an array of {old_pattern, new_pattern} entries. Missing keys leave that type untouched. Fails if any old pattern is not found or any new pattern already exists.\n\nPUT /accounts/{account_id}/cloudforce-one/rules/exemptions", inputSchema: { type: "object", properties: { @@ -228,6 +234,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cloudforce-one_UpdateAccountExemptionsBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -243,6 +250,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_ExemptionUpdateEntry": cloudforce$$one_ExemptionUpdateEntry, "cloudforce-one_UpdateAccountExemptionsBody": cloudforce$$one_UpdateAccountExemptionsBody, diff --git a/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts index b35051212..75a8df5c4 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/managed/tools.ts @@ -11,11 +11,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_managed_get", title: "Get managed rules", - description: "Get DFP managed rule metadata (name and description) from YARA rules.", + description: "Get DFP managed rule metadata (name and description) from YARA rules.\n\nGET /accounts/{account_id}/cloudforce-one/rules/managed", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts index d8b0eac1f..b595a197d 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/stats/tools.ts @@ -12,11 +12,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_stats_get", title: "Get dashboard stats", - description: "Get statistics about rules for the dashboard.", + description: "Get statistics about rules for the dashboard.\n\nGET /accounts/{account_id}/cloudforce-one/rules/stats", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_StatsResponse", diff --git a/src/generated/forge-mcp/cloudforceOne/rules/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/tools.ts index 4568a659f..3f6c6bd44 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/tools.ts @@ -32,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_create", title: "Create a rule", - description: "Create a new detection rule.", + description: "Create a new detection rule.\n\nPOST /accounts/{account_id}/cloudforce-one/rules", inputSchema: { type: "object", properties: { @@ -40,6 +40,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cloudforce-one_CreateRule" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -55,6 +56,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_CreateRule": cloudforce$$one_CreateRule, "cloudforce-one_MetaInputEntry": cloudforce$$one_MetaInputEntry, @@ -117,7 +119,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_delete", title: "Delete a rule", - description: "Delete an existing rule.", + description: "Delete an existing rule.\n\nDELETE /accounts/{account_id}/cloudforce-one/rules/{id}", inputSchema: { type: "object", properties: { @@ -125,6 +127,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cloudforce-one_DeleteRuleBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -146,6 +149,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_DeleteRuleBody": cloudforce$$one_DeleteRuleBody, }, @@ -209,11 +213,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_deleteAll", title: "Delete all rules", - description: "Delete all rules in an account.", + description: "Delete all rules in an account.\n\nDELETE /accounts/{account_id}/cloudforce-one/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -229,6 +234,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_DeleteAllResponse", @@ -269,11 +275,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_get", title: "Get a rule", - description: "Get a single rule by ID.", + description: "Get a single rule by ID.\n\nGET /accounts/{account_id}/cloudforce-one/rules/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -295,6 +302,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RulePreview", @@ -339,11 +347,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_list", title: "List rules", - description: "Returns all rules for an account with optional filtering.", + description: "Returns all rules for an account with optional filtering.\n\nGET /accounts/{account_id}/cloudforce-one/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -356,6 +365,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "is_public": { "description": "Limits rules to the specified public visibility.", @@ -428,6 +438,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RulesPreviewListResponse", @@ -480,11 +491,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_search", title: "Search rules", - description: "Search rules using hybrid, vector, keyword, or exact retrieval, backed by AI Search with a SQL fallback.", + description: "Search rules using hybrid, vector, keyword, or exact retrieval, backed by AI Search with a SQL fallback.\n\nGET /accounts/{account_id}/cloudforce-one/rules/search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -497,6 +509,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "is_public": { "description": "Limits rules to the specified public visibility.", @@ -596,6 +609,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_RulesSearchResponse", @@ -656,7 +670,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_update", title: "Update a rule", - description: "Updates an existing rule.", + description: "Updates an existing rule.\n\nPUT /accounts/{account_id}/cloudforce-one/rules/{id}", inputSchema: { type: "object", properties: { @@ -664,6 +678,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cloudforce-one_UpdateRule" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -685,6 +700,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one_MetaInputEntry": cloudforce$$one_MetaInputEntry, "cloudforce-one_UpdateRule": cloudforce$$one_UpdateRule, @@ -750,7 +766,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_validate", title: "Validate rule with context", - description: "Validates rule syntax, name uniqueness, namespace, and metadata.", + description: "Validates rule syntax, name uniqueness, namespace, and metadata.\n\nPOST /accounts/{account_id}/cloudforce-one/rules/validate", inputSchema: { type: "object", properties: { @@ -784,6 +800,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -799,6 +816,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_ValidationResponse", diff --git a/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts b/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts index 6ac2bfd53..70cd8077e 100644 --- a/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/rules/tree/tools.ts @@ -15,11 +15,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_rules_tree_get", title: "Get folder tree structure", - description: "Get the folder tree structure for rules navigation.", + description: "Get the folder tree structure for rules navigation.\n\nGET /accounts/{account_id}/cloudforce-one/rules/tree", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one_TreeResponse", diff --git a/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts b/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts index 7ab60c0a7..c7777fd70 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/config/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `cloudforce-one-port-scan-api_frequency` in responses. - */ -export const cloudforce$$one$$port$$scan$$api_frequency: JsonSchema = { - "type": "number" -}; - /** * The schema of `cloudforce-one-port-scan-api_ips` in responses. */ @@ -39,7 +32,7 @@ export const cloudforce$$one$$port$$scan$$api_scan$$config: JsonSchema = { "type": "string" }, "frequency": { - "$ref": "#/$defs/cloudforce-one-port-scan-api_frequency" + "type": "number" }, "id": { "type": "string" diff --git a/src/generated/forge-mcp/cloudforceOne/scans/config/schemas.ts b/src/generated/forge-mcp/cloudforceOne/scans/config/schemas.ts index 88d41311b..1d78a8e7a 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/config/schemas.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/config/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `cloudforce-one-port-scan-api_frequency`. - */ -export const cloudforce$$one$$port$$scan$$api_frequency: JsonSchema = { - "description": "Defines the number of days between each scan (0 = One-off scan).", - "type": "number" -}; - /** * The schema of `cloudforce-one-port-scan-api_ips`. */ diff --git a/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts b/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts index 3bb6b32d5..7faa1179c 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/config/tools.ts @@ -8,13 +8,11 @@ import { cloudforce$$one$$port$$scan$$api_messages, } from "../outputs.js"; import { - cloudforce$$one$$port$$scan$$api_frequency, cloudforce$$one$$port$$scan$$api_ips, cloudforce$$one$$port$$scan$$api_ports, cloudforce$$one$$port$$scan$$api_scan$$config, } from "./outputs.js"; import { - cloudforce$$one$$port$$scan$$api_frequency as cloudforce$$one$$port$$scan$$api_frequency$, cloudforce$$one$$port$$scan$$api_ips as cloudforce$$one$$port$$scan$$api_ips$, cloudforce$$one$$port$$scan$$api_ports as cloudforce$$one$$port$$scan$$api_ports$, } from "./schemas.js"; @@ -26,15 +24,15 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_scans_config_create", title: "Create a new Scan Config", - description: "Creates a new scan configuration for Cloudforce One's network scanning service.", + description: "Creates a new scan configuration for Cloudforce One's network scanning service.\n\nPOST /accounts/{account_id}/cloudforce-one/scans/config", inputSchema: { type: "object", properties: { "body": { "properties": { "frequency": { - "$ref": "#/$defs/cloudforce-one-port-scan-api_frequency", - "description": "Defines the number of days between each scan (0 = One-off scan)." + "description": "Defines the number of days between each scan (0 = One-off scan).", + "type": "number" }, "ips": { "$ref": "#/$defs/cloudforce-one-port-scan-api_ips", @@ -51,6 +49,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Defines the Account ID.", @@ -66,8 +65,8 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency$, "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips$, "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports$, }, @@ -88,7 +87,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, - "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, @@ -133,7 +131,6 @@ export const tools: readonly Tool[] = [ $defs: { "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, - "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, @@ -148,11 +145,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_scans_config_delete", title: "Delete a Scan Config", - description: "Deletes a scan configuration from Cloudforce One's network scanning service.", + description: "Deletes a scan configuration from Cloudforce One's network scanning service.\n\nDELETE /accounts/{account_id}/cloudforce-one/scans/config/{config_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Defines the Account ID.", @@ -173,6 +171,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -265,15 +264,15 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_scans_config_edit", title: "Update an existing Scan Config", - description: "Updates an existing scan configuration in Cloudforce One's network scanning service.", + description: "Updates an existing scan configuration in Cloudforce One's network scanning service.\n\nPATCH /accounts/{account_id}/cloudforce-one/scans/config/{config_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "frequency": { - "$ref": "#/$defs/cloudforce-one-port-scan-api_frequency", - "description": "Defines the number of days between each scan (0 = One-off scan)." + "description": "Defines the number of days between each scan (0 = One-off scan).", + "type": "number" }, "ips": { "$ref": "#/$defs/cloudforce-one-port-scan-api_ips", @@ -287,6 +286,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Defines the Account ID.", @@ -307,8 +307,8 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency$, "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips$, "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports$, }, @@ -329,7 +329,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, - "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, @@ -374,7 +373,6 @@ export const tools: readonly Tool[] = [ $defs: { "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, - "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, @@ -389,11 +387,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_scans_config_list", title: "List Scan Configs", - description: "Lists scan configurations for Cloudforce One's network scanning service.", + description: "Lists scan configurations for Cloudforce One's network scanning service.\n\nGET /accounts/{account_id}/cloudforce-one/scans/config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Defines the Account ID.", @@ -409,6 +408,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -429,7 +429,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, - "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, @@ -478,7 +477,6 @@ export const tools: readonly Tool[] = [ $defs: { "cloudforce-one-port-scan-api_api-response-common": cloudforce$$one$$port$$scan$$api_api$$response$$common, "cloudforce-one-port-scan-api_api-response-common-failure": cloudforce$$one$$port$$scan$$api_api$$response$$common$$failure, - "cloudforce-one-port-scan-api_frequency": cloudforce$$one$$port$$scan$$api_frequency, "cloudforce-one-port-scan-api_ips": cloudforce$$one$$port$$scan$$api_ips, "cloudforce-one-port-scan-api_messages": cloudforce$$one$$port$$scan$$api_messages, "cloudforce-one-port-scan-api_ports": cloudforce$$one$$port$$scan$$api_ports, diff --git a/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts b/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts index e3425e162..652e37acd 100644 --- a/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/scans/results/tools.ts @@ -16,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_scans_results_get", title: "Get the Latest Scan Result", - description: "Retrieves the latest scan results for a Cloudforce One scan configuration, including discovered open ports.", + description: "Retrieves the latest scan results for a Cloudforce One scan configuration, including discovered open ports.\n\nGET /accounts/{account_id}/cloudforce-one/scans/results/{config_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Defines the Account ID.", @@ -41,6 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -160,11 +162,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_scans_results_getBanners", title: "Get the Latest Banner Grab Result", - description: "Retrieves the latest banner grab results for a Cloudforce One scan configuration, including service banners from open ports.", + description: "Retrieves the latest banner grab results for a Cloudforce One scan configuration, including service banners from open ports.\n\nGET /accounts/{account_id}/cloudforce-one/banner/{config_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Defines the Account ID.", @@ -185,6 +188,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts index fca15a97f..8595b1ee2 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/members/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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`.", + description: "Adds an account to an account group. Identify the account by `accountId` or `accountTag`.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}/members", inputSchema: { type: "object", properties: { @@ -26,6 +26,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -45,6 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -155,11 +157,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_access_groups_members_delete", title: "Remove an account from a group", - description: "Removes an account from an account group.", + description: "Removes an account from an account group.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}/members/{member_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -183,6 +186,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -261,11 +265,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_access_groups_members_list", title: "List group members", - description: "Lists the accounts in an account group.", + description: "Lists the accounts in an account group.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}/members", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -285,6 +290,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts index d1fb7a76f..30a1906db 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/groups/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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`.", + description: "Creates a named group of accounts. To give the group access to a dataset, use `threat-intel datasets access permissions create`.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/-/groups", inputSchema: { type: "object", properties: { @@ -30,6 +30,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -45,6 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -161,11 +163,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_access_groups_delete", title: "Delete an account group", - description: "Deletes an account group by its ID.", + description: "Deletes an account group by its ID.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -185,6 +188,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -263,11 +267,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_access_groups_get", title: "Get an account group", - description: "Returns an account group by its ID.", + description: "Returns an account group by its ID.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -287,6 +292,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -462,11 +468,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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`.", + 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`.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/-/groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -482,6 +489,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { @@ -603,7 +611,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_access_groups_update", title: "Update an account group", - description: "Replaces an account group's `name` and `description`.", + description: "Replaces an account group's `name` and `description`.\n\nPUT /accounts/{account_id}/cloudforce-one/events/dataset/-/groups/{group_id}", inputSchema: { type: "object", properties: { @@ -623,6 +631,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -642,6 +651,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts index ad72d27a1..81145936e 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/access/permissions/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Gives an account or account group (`subjectType` and `subjectId`) `read` or `write` access to a dataset.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/permissions", inputSchema: { type: "object", properties: { @@ -42,6 +42,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -63,6 +64,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -223,11 +225,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_access_permissions_delete", title: "Revoke access to a dataset", - description: "Removes an access grant from a dataset.", + description: "Removes an access grant from a dataset.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/permissions/{grant_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -253,6 +256,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -361,11 +365,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_access_permissions_list", title: "List dataset permissions", - description: "Lists the access grants on a dataset.", + description: "Lists the access grants on a dataset.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/permissions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -387,6 +392,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { @@ -582,7 +588,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_access_permissions_update", title: "Change a dataset permission", - description: "Changes the `role` of an access grant to `read` or `write`.", + description: "Changes the `role` of an access grant to `read` or `write`.\n\nPUT /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/permissions/{grant_id}", inputSchema: { type: "object", properties: { @@ -602,6 +608,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -627,6 +634,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts index f119aee50..8a9811dc2 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/datasets/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Creates a dataset for grouping events. Set `isPublic` to true to let anyone search it; otherwise only the account can.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/create", inputSchema: { type: "object", properties: { @@ -32,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -47,6 +48,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -151,11 +153,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_delete", title: "Delete a dataset", - description: "Deletes a dataset. To see deleted datasets, use `threat-intel datasets list` with `includeDeleted`.", + description: "Deletes a dataset. To see deleted datasets, use `threat-intel datasets list` with `includeDeleted`.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -176,6 +179,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -292,11 +296,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_get", title: "Get a dataset", - description: "Returns a dataset by its ID.", + description: "Returns a dataset by its ID.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -318,6 +323,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -451,11 +457,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_list", title: "List datasets", - description: "Lists the account's datasets. Set `includeDeleted` to include deleted datasets.", + description: "Lists the account's datasets. Set `includeDeleted` to include deleted datasets.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -468,6 +475,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "includeDeleted": { "description": "When true, include soft-deleted datasets in the response. Each item includes a `deletedAt` field (ISO 8601 or null). Default: false.", @@ -480,6 +488,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { @@ -616,11 +625,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nPOST /accounts/{account_id}/cloudforce-one/events/datasets/populate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -636,6 +646,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1739,7 +1750,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_datasets_update", title: "Update a dataset", - description: "Updates a dataset's `name` and `isPublic` setting. Both fields are required.", + description: "Updates a dataset's `name` and `isPublic` setting. Both fields are required.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}", inputSchema: { type: "object", properties: { @@ -1761,6 +1772,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1782,6 +1794,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts index 53fbcee86..dc4361ecc 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/attackers/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Lists the attackers referenced by events in the datasets given by `datasetIds`, or in the default dataset when `datasetIds` is omitted.\n\nGET /accounts/{account_id}/cloudforce-one/events/attackers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "datasetIds": { "description": "Array of dataset IDs to query attackers from. If not provided, uses the default dataset.", @@ -42,6 +44,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts index 91100c779..e91aebbad 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/catalog/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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`.", + 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`.\n\nGET /accounts/{account_id}/cloudforce-one/events/categories/catalog", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts index 17957dba2..bcbf7f2bf 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/categories/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_categories_create", title: "Create an event category", - description: "Creates an event category for classifying events. `name` and `killChain` are required.", + description: "Creates an event category for classifying events. `name` and `killChain` are required.\n\nPOST /accounts/{account_id}/cloudforce-one/events/categories/create", inputSchema: { type: "object", properties: { @@ -45,6 +45,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -60,6 +61,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -186,11 +188,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_categories_delete", title: "Delete an event category", - description: "Deletes an event category by its ID.", + description: "Deletes an event category by its ID.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/event-categories/by-id/{category_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -212,6 +215,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -290,11 +294,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_categories_get", title: "Get an event category", - description: "Returns an event category by its ID.", + description: "Returns an event category by its ID.\n\nGET /accounts/{account_id}/cloudforce-one/events/event-categories/by-id/{category_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -316,6 +321,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -441,11 +447,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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`.", + 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`.\n\nGET /accounts/{account_id}/cloudforce-one/events/categories", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -458,6 +465,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "datasetIds": { "description": "Array of dataset IDs to query categories from. If not provided, uses the default dataset.", @@ -473,6 +481,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { @@ -607,7 +616,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_categories_update", title: "Update an event category", - description: "Updates the given fields of an event category and leaves the other fields unchanged.", + description: "Updates the given fields of an event category and leaves the other fields unchanged.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/event-categories/by-id/{category_id}", inputSchema: { type: "object", properties: { @@ -638,6 +647,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -659,6 +669,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts index 3dbb319ff..971732a1a 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/countries/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_countries_list", title: "List countries", - description: "Lists the countries used in threat intelligence data, such as attacker and target countries.", + description: "Lists the countries used in threat intelligence data, such as attacker and target countries.\n\nGET /accounts/{account_id}/cloudforce-one/events/countries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts index f45280c2b..addadbc26 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/raw/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -40,6 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -159,7 +161,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Legacy. Updates raw data stored under a `raw_id`, which new events don't use. There is no direct replacement.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/{event_id}/raw/{raw_id}", inputSchema: { type: "object", properties: { @@ -178,6 +180,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -203,6 +206,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts index 183a35bc8..b4837b2cf 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/references/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_legacy_references_create", title: "Add event references (legacy)", - description: "Legacy. Use `threat-intel events relationships create` (`POST /events/relationships/create`) instead.", + description: "Legacy. Use `threat-intel events relationships create` (`POST /events/relationships/create`) instead.\n\nPOST /accounts/{account_id}/cloudforce-one/events/relate/{event_id}/create", inputSchema: { type: "object", properties: { @@ -29,6 +29,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -49,6 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -153,7 +155,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Legacy. Removes references created with `threat-intel events legacy references create`. Use `threat-intel events relationships` for new event links.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/relate/{event_id}", inputSchema: { type: "object", properties: { @@ -172,6 +174,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -192,6 +195,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts index be89a149d..c00bda7b8 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tags/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Legacy. Use `threat-intel tags relationships create` (`POST /events/tags/{tag_uuid}/relationships`) instead.\n\nPOST /accounts/{account_id}/cloudforce-one/events/event_tag/{event_id}/create", inputSchema: { type: "object", properties: { @@ -29,6 +29,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -49,6 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -153,7 +155,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Legacy. Use `threat-intel tags relationships delete` (`DELETE /events/tags/{tag_uuid}/relationships/{rel_uuid}`) instead.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/event_tag/{event_id}", inputSchema: { type: "object", properties: { @@ -172,6 +174,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -192,6 +195,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts index c4526380b..b39fc8e05 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/legacy/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Legacy. Use `threat-intel events graphql` (`POST /events/graphql`) instead. Both commands run the same query.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/events/graphql", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts index a747a27da..65cb3e86c 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/queries/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Saves an event query under a unique `name`. `query_json` holds the query parameters as a JSON string.\n\nPOST /accounts/{account_id}/cloudforce-one/events/queries/create", inputSchema: { type: "object", properties: { @@ -55,6 +55,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -70,6 +71,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -254,11 +256,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_queries_delete", title: "Delete a saved event query", - description: "Deletes a saved event query by its ID.", + description: "Deletes a saved event query by its ID.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/queries/{query_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -279,6 +282,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -336,11 +340,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_queries_get", title: "Get a saved event query", - description: "Returns a saved event query by its ID.", + description: "Returns a saved event query by its ID.\n\nGET /accounts/{account_id}/cloudforce-one/events/queries/{query_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -361,6 +366,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -544,11 +550,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_queries_list", title: "List saved event queries", - description: "Lists the account's saved event queries.", + description: "Lists the account's saved event queries.\n\nGET /accounts/{account_id}/cloudforce-one/events/queries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -564,6 +571,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { @@ -754,7 +762,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_queries_update", title: "Update a saved event query", - description: "Updates the given fields of a saved event query.", + description: "Updates the given fields of a saved event query.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/queries/{query_id}", inputSchema: { type: "object", properties: { @@ -792,6 +800,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -812,6 +821,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts index 00afee9de..3328b14fc 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/raw/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_raw_get", title: "Get raw data for an event", - description: "Returns the raw source data stored with an event.", + description: "Returns the raw source data stored with an event.\n\nGET /accounts/{account_id}/cloudforce-one/events/datasets/{dataset_id}/events/{event_id}/raw", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -40,6 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts index 4b687fb4d..266890255 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/relationships/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Creates directed relationships of type `relationshipType` from a parent event to one or more child events in the same dataset.\n\nPOST /accounts/{account_id}/cloudforce-one/events/relationships/create", inputSchema: { type: "object", properties: { @@ -53,6 +53,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -68,6 +69,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -296,11 +298,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/events/by-id/{event_id}/relationships", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -318,6 +321,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "datasetId": { "description": "The dataset ID to search within.", @@ -380,6 +384,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts index 348dccf04..fff5baef2 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/catalog/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_targetIndustries_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`.", + 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`.\n\nGET /accounts/{account_id}/cloudforce-one/events/targetIndustries/catalog", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts index e3cb14f52..b4a868cca 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/legacy/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_targetIndustries_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.", + description: "Legacy. Use `threat-intel events target-industries list` (`GET /events/targetIndustries`) instead.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/targetIndustries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts index 37c2612a9..b99656ea9 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/targetIndustries/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_targetIndustries_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`.", + 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`.\n\nGET /accounts/{account_id}/cloudforce-one/events/targetIndustries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "datasetIds": { "description": "Array of dataset IDs to query target industries from. If not provided, uses the default dataset.", @@ -42,6 +44,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts index 827ef2993..83990956a 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/events/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/events/aggregate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggregateBy": { "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.", @@ -67,6 +69,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -254,7 +257,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_bulkCreate", 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.", + 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.\n\nPOST /accounts/{account_id}/cloudforce-one/events/create/bulk", inputSchema: { type: "object", properties: { @@ -388,6 +391,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -403,6 +407,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -597,7 +602,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_bulkUpdate", 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.", + description: "Applies the same field values to up to 100 events in one dataset. The `date` field can't be changed in bulk.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/update/bulk", inputSchema: { type: "object", properties: { @@ -693,6 +698,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -708,6 +714,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -831,7 +838,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/copy", inputSchema: { type: "object", properties: { @@ -854,6 +861,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -872,6 +880,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "keepRawData": { "description": "If true, copies raw data to the destination dataset. Default is false (raw data is stripped/not copied).", @@ -884,6 +893,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1019,7 +1029,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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`.", + 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`.\n\nPOST /accounts/{account_id}/cloudforce-one/events/create", inputSchema: { type: "object", properties: { @@ -1172,6 +1182,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1187,6 +1198,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1529,11 +1541,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_delete", title: "Delete events", - description: "Deletes one or more events from a dataset. Pass the event UUIDs in `eventIds`.", + description: "Deletes one or more events from a dataset. Pass the event UUIDs in `eventIds`.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/datasets/{dataset_id}/events", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1552,6 +1565,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "eventIds": { "description": "Array of Event IDs to delete.", @@ -1571,6 +1585,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "type": "number", @@ -1636,11 +1651,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_get", title: "Get an event", - description: "Returns an event from a dataset by its UUID.", + description: "Returns an event from a dataset by its UUID.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/events/{event_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1666,6 +1682,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2007,11 +2024,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Runs a GraphQL aggregation query over events. Supports grouping by multiple fields, date range filters, and aggregation across datasets.\n\nPOST /accounts/{account_id}/cloudforce-one/events/graphql", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -2027,6 +2045,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2140,11 +2159,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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`.", + 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`.\n\nGET /accounts/{account_id}/cloudforce-one/events", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -2157,6 +2177,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "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.", @@ -2746,6 +2767,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { @@ -3106,7 +3128,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/move", inputSchema: { type: "object", properties: { @@ -3129,6 +3151,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -3147,6 +3170,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "keepRawData": { "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.", @@ -3159,6 +3183,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3330,7 +3355,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nPOST /accounts/{account_id}/cloudforce-one/events", inputSchema: { type: "object", properties: { @@ -3902,6 +3927,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -3914,6 +3940,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "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.", @@ -3941,6 +3968,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { @@ -4294,7 +4322,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_events_update", title: "Update an event", - description: "Updates the given fields of an event and leaves the other fields unchanged. `datasetId` is required.", + description: "Updates the given fields of an event and leaves the other fields unchanged. `datasetId` is required.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/{event_id}", inputSchema: { type: "object", properties: { @@ -4377,6 +4405,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -4397,6 +4426,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts index 22e2f67fa..55f5118e5 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/relationships/tools.ts @@ -14,7 +14,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Creates a relationship from an indicator to an event or tag (`targetType`). Relationships between two indicators are not supported.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}/relationships", inputSchema: { type: "object", properties: { @@ -53,6 +53,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -79,6 +80,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -193,11 +195,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Deletes an indicator relationship by its UUID. Returns `deleted: false` if the relationship doesn't exist.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}/relationships/{rel_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -230,6 +233,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -318,11 +322,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Lists the relationships that start at an indicator. Use `search` to filter them and `expand` to include the related entities in the response.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}/relationships", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -346,6 +351,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Keyset cursor from a previous page.", @@ -433,6 +439,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -592,7 +599,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_indicators_relationships_update", title: "Update an indicator relationship", - description: "Updates the given fields of an indicator relationship and leaves the other fields unchanged.", + description: "Updates the given fields of an indicator relationship and leaves the other fields unchanged.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}/relationships/{rel_uuid}", inputSchema: { type: "object", properties: { @@ -628,6 +635,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -660,6 +668,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts index 9e2be623d..162d5dabe 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tags/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Lists the tags applied to indicators in a dataset. Results are not paginated.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/tags", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts index 80df01494..cdd7d7223 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_indicators_bulkCreate", 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.", + description: "Creates multiple indicators in a dataset in one request. Set `autoCreateType` to create any indicator types that don't exist.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/bulk", inputSchema: { type: "object", properties: { @@ -95,6 +95,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -116,6 +117,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "type": "number", @@ -180,11 +182,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_indicators_bulkDelete", title: "Delete indicators in bulk", - description: "Deletes up to 200 indicators from a dataset. Pass the indicator UUIDs in `indicatorIds`; UUIDs that are not found are returned in `missingUUIDs`.", + description: "Deletes up to 200 indicators from a dataset. Pass the indicator UUIDs in `indicatorIds`; UUIDs that are not found are returned in `missingUUIDs`.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -202,6 +205,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "indicatorIds": { "description": "Indicator UUIDs to delete, 1-200 per request.", @@ -224,6 +228,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -347,7 +352,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Creates an indicator in a dataset. Set `autoCreateType` to create the indicator type if it doesn't exist.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/create", inputSchema: { type: "object", properties: { @@ -417,6 +422,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -438,6 +444,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -696,11 +703,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_indicators_delete", title: "Delete an indicator", - description: "Deletes an indicator by its UUID.", + description: "Deletes an indicator by its UUID.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -726,6 +734,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -804,11 +813,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_indicators_get", title: "Get an indicator", - description: "Returns an indicator by its UUID.", + description: "Returns an indicator by its UUID.\n\nGET /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -834,6 +844,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1091,11 +1102,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/events/indicators", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1108,6 +1120,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "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`.", @@ -1320,6 +1333,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2270,7 +2284,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_indicators_update", title: "Update an indicator", - description: "Updates the given fields of an indicator and leaves the other fields unchanged.", + description: "Updates the given fields of an indicator and leaves the other fields unchanged.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicators/{indicator_id}", inputSchema: { type: "object", properties: { @@ -2332,6 +2346,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -2357,6 +2372,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts index ece26ceb7..af22b8649 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/indicators/types/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_indicators_types_create", title: "Create an indicator type", - description: "Creates an indicator type in a dataset.", + description: "Creates an indicator type in a dataset.\n\nPOST /accounts/{account_id}/cloudforce-one/events/dataset/{dataset_id}/indicatorTypes/create", inputSchema: { type: "object", properties: { @@ -31,6 +31,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -233,11 +235,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/events/indicator-types", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -250,6 +253,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "datasetIds": { "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.", @@ -265,6 +269,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts index 325a33efb..162697e99 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/actors/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/events/tags/categories/actors", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "filters": { "description": "Structured filters as a JSON array of {field, op, value} objects. Same shape as the events search API. Common use: filter actors by country with filters=[{\"field\":\"originCountryISO\",\"op\":\"in\",\"value\":[\"IR\",\"CN\"]}]. Country values may be passed as alpha-2, alpha-3, name, or alias (e.g. \"iran\"). Max 10 entries per request, max 100 values per 'in'. Accounts other than the catalog owner may only filter on fields that are also public-readable (`uuid`, `value`, `categoryName`, `aliasGroupNames`, `originCountryISO`); filtering on a redacted field returns 400. `uuid` filters accept only the `equals` and `in` operators. Performance notes: `originCountryISO` uses its B-tree index for equals/in. `endsWith` and `aliasGroupNames` contains/like are leading-wildcard scans and slow on large result sets. `aliasGroupNames` matches on JSON-encoded text, so substrings can cross alias boundaries (\"apt28\" also matches \"apt280\" when both appear in the same tag's alias list).", @@ -104,6 +106,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts index 97c88ef4d..5932a3f9c 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/categories/tools.ts @@ -12,7 +12,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_categories_create", title: "Create a tag category", - description: "Creates a tag category. Use `schema` to define the custom fields its tags can have.", + description: "Creates a tag category. Use `schema` to define the custom fields its tags can have.\n\nPOST /accounts/{account_id}/cloudforce-one/events/tags/categories/create", inputSchema: { type: "object", properties: { @@ -38,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -53,6 +54,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition$, }, @@ -224,11 +226,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_categories_delete", title: "Delete a tag category", - description: "Deletes a tag category by its UUID.", + description: "Deletes a tag category by its UUID.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/tag-categories/{category_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -249,6 +252,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -357,11 +361,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_categories_get", title: "Get a tag category", - description: "Returns a tag category by its UUID, including the custom fields defined in its `schema`.", + description: "Returns a tag category by its UUID, including the custom fields defined in its `schema`.\n\nGET /accounts/{account_id}/cloudforce-one/events/tag-categories/{category_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -382,6 +387,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -519,11 +525,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_categories_list", title: "List tag categories", - description: "Lists the account's tag categories. Use `search` to filter them.", + description: "Lists the account's tag categories. Use `search` to filter them.\n\nGET /accounts/{account_id}/cloudforce-one/events/tags/categories", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -536,6 +543,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "search": { "type": "string" @@ -547,6 +555,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -709,7 +718,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_categories_update", title: "Update a tag category", - description: "Updates the given fields of a tag category and leaves the other fields unchanged.", + description: "Updates the given fields of a tag category and leaves the other fields unchanged.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/tag-categories/{category_uuid}", inputSchema: { type: "object", properties: { @@ -732,6 +741,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -752,6 +762,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudforce-one-events_FieldDefinition": cloudforce$$one$$events_FieldDefinition$, }, diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts index 86ece4cef..528c2e684 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/indicators/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}/indicators", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "datasetIds": { "description": "Dataset UUIDs to scope to (repeat the param for multiple), or one standalone scope value: 'all'/'*' or 'operational' for readable intelligence datasets (isAnalytics=false), or 'analytics' for readable analytics datasets (isAnalytics=true). Analytics datasets do not expose tag associations, so 'analytics' returns an empty result. Omit for 'all'.", @@ -118,6 +120,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts index 9d8c8149c..8a770e67a 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/relationships/tools.ts @@ -14,7 +14,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nPOST /accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}/relationships", inputSchema: { type: "object", properties: { @@ -58,6 +58,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -78,6 +79,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -166,11 +168,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_relationships_delete", title: "Delete a tag relationship", - description: "Deletes a tag relationship by its UUID. `datasetId` is required. Returns `deleted: false` if the relationship doesn't exist.", + description: "Deletes a tag relationship by its UUID. `datasetId` is required. Returns `deleted: false` if the relationship doesn't exist.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}/relationships/{rel_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -194,6 +197,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "datasetId": { "description": "Dataset UUID containing the relationship.", @@ -210,6 +214,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -301,11 +306,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}/relationships", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -323,6 +329,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Offset cursor from a previous page.", @@ -417,6 +424,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -589,7 +597,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_relationships_update", title: "Update a tag relationship", - description: "Updates the given fields of a tag relationship and leaves the other fields unchanged. `datasetId` is required.", + description: "Updates the given fields of a tag relationship and leaves the other fields unchanged. `datasetId` is required.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}/relationships/{rel_uuid}", inputSchema: { type: "object", properties: { @@ -625,6 +633,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -648,6 +657,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "datasetId": { "description": "Dataset UUID containing the relationship.", @@ -664,6 +674,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts index 4f8dc3f99..2b269ab32 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tags/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_create", title: "Create a tag", - description: "Creates a tag in the account and returns the complete tag.", + description: "Creates a tag in the account and returns the complete tag.\n\nPOST /accounts/{account_id}/cloudforce-one/events/tags/create", inputSchema: { type: "object", properties: { @@ -459,6 +459,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -474,6 +475,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1638,11 +1640,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_delete", title: "Delete a tag", - description: "Deletes a tag by its UUID.", + description: "Deletes a tag by its UUID.\n\nDELETE /accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1663,6 +1666,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1771,11 +1775,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + description: "Returns a tag by its UUID, including its custom fields (`properties`). Tags marked TLP:PURPLE are visible only to Cloudforce One.\n\nGET /accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -1796,6 +1801,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2929,11 +2935,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nGET /accounts/{account_id}/cloudforce-one/events/tags", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -2946,6 +2953,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "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.", @@ -3033,6 +3041,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -4244,7 +4253,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_tags_update", title: "Update a tag", - description: "Updates the given fields of a tag and returns the complete tag.", + description: "Updates the given fields of a tag and returns the complete tag.\n\nPATCH /accounts/{account_id}/cloudforce-one/events/tags/{tag_uuid}", inputSchema: { type: "object", properties: { @@ -4690,6 +4699,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -4710,6 +4720,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts index d5b5d5943..6d4d5b421 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatIntel/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatIntel_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.", + 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.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/search", inputSchema: { type: "object", properties: { @@ -60,6 +60,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -75,6 +76,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts index da3b80eca..8bde28386 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/skills/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_skills_getOutput", title: "Get Threat Signals article skill output", - description: "Retrieves the stored output of a skill for a Threat Signals article. The custom_output field is parsed JSON when the stored output is valid JSON, otherwise the raw string.", + description: "Retrieves the stored output of a skill for a Threat Signals article. The custom_output field is parsed JSON when the stored output is valid JSON, otherwise the raw string.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}/skills/{skill_id}/output", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -40,6 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -414,11 +416,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_skills_list", title: "List Threat Signals article custom skills", - description: "Lists active custom skills currently assigned to the article's feed and whether each has a stored output. Output content and skill configuration are retrieved separately. Free Threat Signals accounts cannot read Custom Skills.", + description: "Lists active custom skills currently assigned to the article's feed and whether each has a stored output. Output content and skill configuration are retrieved separately. Free Threat Signals accounts cannot read Custom Skills.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}/skills", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -439,6 +442,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -755,7 +759,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_skills_run", title: "Run and persist skill output for a Threat Signals article", - description: "Run an active Custom Skill assigned to the article's feed, or run a managed default skill. Requires a paid Threat Signals subscription and the Cloudforce One Write permission. Always persists output; rerunning overwrites the previous result. Does not expose diagnostic model data or accept server-preview inputs.", + description: "Run an active Custom Skill assigned to the article's feed, or run a managed default skill. Requires a paid Threat Signals subscription and the Cloudforce One Write permission. Always persists output; rerunning overwrites the previous result. Does not expose diagnostic model data or accept server-preview inputs.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}/skills/{skill_id}/run", inputSchema: { type: "object", properties: { @@ -763,6 +767,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -801,6 +806,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts index 56516e4c6..131ff5c90 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tags/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_tags_add", title: "Add tag to Threat Signals article", - description: "Applies a tag from the account's tag catalog to a Threat Signals article.", + description: "Applies a tag from the account's tag catalog to a Threat Signals article.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}/tags", inputSchema: { type: "object", properties: { @@ -28,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -300,11 +302,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_tags_generate", title: "Generate Threat Signals article AI tags", - description: "Runs the default AI tagging skill on an article and replaces its AI-applied tags.", + description: "Runs the default AI tagging skill on an article and replaces its AI-applied tags.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}/tag", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -325,6 +328,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -606,11 +610,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_tags_remove", title: "Remove tag from Threat Signals article", - description: "Removes a tag from a Threat Signals article.", + description: "Removes a tag from a Threat Signals article.\n\nDELETE /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}/tags/{tag_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -637,6 +642,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts index ac3727cb0..7cb326728 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/articles/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_aggregateRelevance", 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. read counts only read or only unread articles. All counts are read together and are exact.", + 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. read counts only read or only unread articles. All counts are read together and are exact.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/relevance/aggregate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -26,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "published_after": { "description": "Include articles published at or after this ISO 8601 date-time with Z or a numeric UTC offset; normalized to UTC.", @@ -48,6 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -284,11 +287,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_aggregateSeverity", 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 one reported as its severity, from informational to critical. Articles without a severity are not counted. Also counts, for each active Priority Intelligence Requirement, the articles scored against it. min_relevance counts only articles at or above a relevance band: overall, for any active PIR; per PIR, for that PIR, the same rule as the per-PIR relevance counts. pir_id counts for one active PIR only. read counts only read or only unread articles, in both articles and priorities. 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 and priorities is empty. All counts are read together and are exact.", + description: "Beta. Counts the account's Threat Signals articles in each intrinsic severity band. An article's band is the one reported as its severity, from informational to critical. Articles without a severity are not counted. Also counts, for each active Priority Intelligence Requirement, the articles scored against it. min_relevance counts only articles at or above a relevance band: overall, for any active PIR; per PIR, for that PIR, the same rule as the per-PIR relevance counts. pir_id counts for one active PIR only. read counts only read or only unread articles, in both articles and priorities. 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 and priorities is empty. All counts are read together and are exact.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/severity/aggregate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -300,6 +304,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "min_relevance": { "description": "Beta. Count only articles at or above this relevance band: in articles, for any active Priority Intelligence Requirement, as the article list's min_relevance does without pir_id; in each priority, for that PIR. Excludes articles that have not been scored against an active PIR.", @@ -336,6 +341,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -590,7 +596,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_bulkMarkRead", title: "Bulk update Threat Signals article read status", - description: "Marks up to 50 Threat Signals articles as read or unread.", + description: "Marks up to 50 Threat Signals articles as read or unread.\n\nPATCH /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles", inputSchema: { type: "object", properties: { @@ -618,6 +624,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -632,6 +639,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -832,11 +840,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_get", title: "Get Threat Signals article", - description: "Retrieves a Threat Signals article with its summary, tags, indicator status and relevance to the account's Priority Intelligence Requirements.", + description: "Retrieves a Threat Signals article with its summary, tags, indicator status and relevance to the account's Priority Intelligence Requirements.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -857,6 +866,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1541,11 +1551,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_getContent", title: "Get Threat Signals article content", - description: "Retrieves the stored content of a Threat Signals article, unchanged. Depending on how the article was captured from its source, the content is HTML, Markdown, or plain text. The format parameter sets only the response Content-Type; it does not convert the content.", + description: "Retrieves the stored content of a Threat Signals article, unchanged. Depending on how the article was captured from its source, the content is HTML, Markdown, or plain text. The format parameter sets only the response Content-Type; it does not convert the content.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}/content", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1563,6 +1574,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Response Content-Type: text (the default) for text/plain or html for text/html. Neither value converts the content. html is deprecated; use text.", @@ -1579,6 +1591,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -1611,11 +1624,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_list", title: "List Threat Signals articles", - description: "Lists articles from the account's Threat Signals feeds.", + description: "Lists articles from the account's Threat Signals feeds.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1627,6 +1641,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "article_id": { "description": "Repeatable article UUID filter. Returns the union of matching account-owned articles; use this to list every Threat Signals article referenced by an indicator's sources.", @@ -1774,6 +1789,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2420,7 +2436,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_markRead", title: "Update Threat Signals article read status", - description: "Marks a Threat Signals article as read or unread.", + description: "Marks a Threat Signals article as read or unread.\n\nPATCH /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}", inputSchema: { type: "object", properties: { @@ -2437,6 +2453,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2457,6 +2474,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3033,7 +3051,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_articles_reprocess", title: "Reprocess a Threat Signals article", - description: "Synchronously re-runs every processing step for a Threat Signals article: pull content, clean content, extract IOCs, filter IOCs, summary, CVE tags, IOC context, article tags, and Event publication. Replaces the article's summary, AI tags, and indicators; indicators no longer found are removed. Creates a Threat Event only when the article has none; an existing Event is never updated. Takes over the article from any queued processing. Requires a paid Threat Signals subscription and the Cloudforce One Write permission.", + description: "Synchronously re-runs every processing step for a Threat Signals article: pull content, clean content, extract IOCs, filter IOCs, summary, CVE tags, IOC context, article tags, and Event publication. Replaces the article's summary, AI tags, and indicators; indicators no longer found are removed. Creates a Threat Event only when the article has none; an existing Event is never updated. Takes over the article from any queued processing. Requires a paid Threat Signals subscription and the Cloudforce One Write permission.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/threat-signals/articles/{article_id}/reprocess", inputSchema: { type: "object", properties: { @@ -3041,6 +3059,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -3061,6 +3080,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts index 0359338cd..1716401b7 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/categories/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_categories_list", title: "List Threat Signals feed categories", - description: "Lists the predefined categories that can be assigned to feeds.", + description: "Lists the predefined categories that can be assigned to feeds.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/categories", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -29,6 +30,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts index 071e4b823..a6549d3cb 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/skills/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_feeds_skills_get", title: "Get Threat Signals feed skills", - description: "Retrieves active non-IOC-context Managed Default Skills followed by active Custom Skills assigned to the feed, with each entry's source. Free Threat Signals accounts receive only those Managed Default Skills.", + description: "Retrieves active non-IOC-context Managed Default Skills followed by active Custom Skills assigned to the feed, with each entry's source. Free Threat Signals accounts receive only those Managed Default Skills.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/feeds/{feed_id}/skills", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -375,7 +377,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_feeds_skills_update", title: "Set Threat Signals feed skills", - description: "Replaces the ordered custom skills assigned to a Threat Signals feed. Requires a paid Threat Signals subscription.", + description: "Replaces the ordered custom skills assigned to a Threat Signals feed. Requires a paid Threat Signals subscription.\n\nPUT /accounts/{account_id}/cloudforce-one/v2/threat-signals/feeds/{feed_id}/skills", inputSchema: { type: "object", properties: { @@ -397,6 +399,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -417,6 +420,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts index 0caa4c68b..e8c31fb9b 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/feeds/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_feeds_create", title: "Create Threat Signals feed", - description: "Subscribes the account to a custom or curated Threat Signals feed. Adding a custom feed when the account is at its custom-feed limit returns 403 with `errors[0].reason` `threat_signals_feed_limit`, and `errors[0].custom_feed_limit` and `errors[0].custom_feed_count` give the limit and current count. Curated feeds are not subject to this limit.", + description: "Subscribes the account to a custom or curated Threat Signals feed. Adding a custom feed when the account is at its custom-feed limit returns 403 with `errors[0].reason` `threat_signals_feed_limit`, and `errors[0].custom_feed_limit` and `errors[0].custom_feed_count` give the limit and current count. Curated feeds are not subject to this limit.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/threat-signals/feeds", inputSchema: { type: "object", properties: { @@ -82,6 +82,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -96,6 +97,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -831,11 +833,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_feeds_delete", title: "Delete Threat Signals feed", - description: "Unsubscribes the account from a Threat Signals feed and deletes its articles.\n\nConfirm with the user before calling this tool. This unsubscribes the account from the feed and permanently deletes its stored articles, including their extracted indicators, tags, and skill outputs.", + description: "Unsubscribes the account from a Threat Signals feed and deletes its articles.\n\nConfirm with the user before calling this tool. This unsubscribes the account from the feed and permanently deletes its stored articles, including their extracted indicators, tags, and skill outputs.\n\nDELETE /accounts/{account_id}/cloudforce-one/v2/threat-signals/feeds/{feed_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -856,6 +859,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1267,11 +1271,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_feeds_getRaw", title: "Get Threat Signals feed XML", - description: "Retrieves the feed document fetched by the most recent poll as text/plain by default or application/xml when format is xml.", + description: "Retrieves the feed document fetched by the most recent poll as text/plain by default or application/xml when format is xml.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/feeds/{feed_id}/raw", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1289,6 +1294,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Response format. Use xml for application/xml; omit it for the default text/plain response.", @@ -1304,6 +1310,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -1336,11 +1343,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_feeds_list", title: "List Threat Signals feeds", - description: "Lists the account's Threat Signals feed subscriptions.", + description: "Lists the account's Threat Signals feed subscriptions.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/feeds", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1352,6 +1360,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "category": { "description": "Exact feed-category filter, up to 100 characters. Omit to include all categories.", @@ -1399,6 +1408,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1999,11 +2009,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_feeds_poll", title: "Trigger Threat Signals feed poll", - description: "Starts an immediate poll of one or all Threat Signals feeds.", + description: "Starts an immediate poll of one or all Threat Signals feeds.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/threat-signals/feeds/poll", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2015,6 +2026,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "feed_id": { "anyOf": [ @@ -2038,6 +2050,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2220,7 +2233,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_feeds_update", title: "Update Threat Signals feed", - description: "Updates a Threat Signals feed subscription.", + description: "Updates a Threat Signals feed subscription.\n\nPATCH /accounts/{account_id}/cloudforce-one/v2/threat-signals/feeds/{feed_id}", inputSchema: { type: "object", properties: { @@ -2281,6 +2294,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2301,6 +2315,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts index 7704cff8f..aac67f6de 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/indicators/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_indicators_list", title: "List Threat Signals article indicators", - description: "Lists indicators of compromise extracted from the account's Threat Signals articles.", + description: "Lists indicators of compromise extracted from the account's Threat Signals articles.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/indicators", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -26,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "article_id": { "description": "Article UUID filter. Omit to include indicators from every article.", @@ -67,6 +69,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts index f6ba3b65d..dc75a0220 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tagCategories/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_skills_tagCategories_get", title: "Get Threat Signals skill tag categories", - description: "Retrieves the Tag Categories the managed default tagging skill may select tags from. This configures the managed default tagging skill, not Custom Skills.", + description: "Retrieves the Tag Categories the managed default tagging skill may select tags from. This configures the managed default tagging skill, not Custom Skills.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/skills/{skill_id}/tag-categories", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -37,6 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -169,7 +171,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_skills_tagCategories_update", title: "Replace Threat Signals skill tag categories", - description: "Replaces the Tag Categories the managed default tagging skill may select tags from. This configures the managed default tagging skill, not Custom Skills.", + description: "Replaces the Tag Categories the managed default tagging skill may select tags from. This configures the managed default tagging skill, not Custom Skills.\n\nPUT /accounts/{account_id}/cloudforce-one/v2/threat-signals/skills/{skill_id}/tag-categories", inputSchema: { type: "object", properties: { @@ -191,6 +193,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -213,6 +216,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts index 12f8cca93..f21188a11 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/skills/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_skills_create", title: "Create Threat Signals skill", - description: "Creates a Custom Skill for the account. Free Threat Signals accounts cannot create Custom Skills.", + description: "Creates a Custom Skill for the account. Free Threat Signals accounts cannot create Custom Skills.\n\nPOST /accounts/{account_id}/cloudforce-one/v2/threat-signals/skills", inputSchema: { type: "object", properties: { @@ -46,6 +46,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -60,6 +61,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -368,11 +370,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_skills_delete", title: "Delete Threat Signals skill", - description: "Deletes a Custom Skill. The skill's stored outputs on articles are deleted with it. Managed Default Skills cannot be deleted. Free Threat Signals accounts cannot delete Custom Skills.\n\nConfirm with the user before calling this tool. This permanently deletes the custom skill, removes it from every feed it is assigned to, and deletes the outputs it stored on articles.", + description: "Deletes a Custom Skill. The skill's stored outputs on articles are deleted with it. Managed Default Skills cannot be deleted. Free Threat Signals accounts cannot delete Custom Skills.\n\nConfirm with the user before calling this tool. This permanently deletes the custom skill, removes it from every feed it is assigned to, and deletes the outputs it stored on articles.\n\nDELETE /accounts/{account_id}/cloudforce-one/v2/threat-signals/skills/{skill_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -392,6 +395,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -699,11 +703,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_skills_get", title: "Get Threat Signals skill", - description: "Retrieves a Managed Default Skill or Custom Skill. Managed catalog definitions are readable. Free Threat Signals accounts cannot read Custom Skills.", + description: "Retrieves a Managed Default Skill or Custom Skill. Managed catalog definitions are readable. Free Threat Signals accounts cannot read Custom Skills.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/skills/{skill_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -723,6 +728,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1031,11 +1037,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_skills_list", title: "List Threat Signals skills", - description: "Lists active Managed Default Skills and Custom Skills. Free Threat Signals accounts see active managed defaults only, with custom_skills_available: false.", + description: "Lists active Managed Default Skills and Custom Skills. Free Threat Signals accounts see active managed defaults only, with custom_skills_available: false.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/skills", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1047,6 +1054,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -1065,6 +1073,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1439,7 +1448,7 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_skills_update", title: "Update Threat Signals skill", - description: "Updates a Custom Skill. Managed Default Skills cannot be updated. Free Threat Signals accounts cannot update Custom Skills.", + description: "Updates a Custom Skill. Managed Default Skills cannot be updated. Free Threat Signals accounts cannot update Custom Skills.\n\nPATCH /accounts/{account_id}/cloudforce-one/v2/threat-signals/skills/{skill_id}", inputSchema: { type: "object", properties: { @@ -1469,6 +1478,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1488,6 +1498,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts b/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts index 3d3f27d38..6778fa0ab 100644 --- a/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts +++ b/src/generated/forge-mcp/cloudforceOne/threatSignals/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "cloudforceOne_threatSignals_search", title: "Search Threat Signals articles using AI Search", - description: "Searches the account's Threat Signals articles using keyword and semantic retrieval.", + description: "Searches the account's Threat Signals articles using keyword and semantic retrieval.\n\nGET /accounts/{account_id}/cloudforce-one/v2/threat-signals/search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -26,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "feed_id": { "description": "Optional feed UUID that restricts results to articles from that feed.", @@ -51,6 +53,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/connectorInterrupts/tools.ts b/src/generated/forge-mcp/connectorInterrupts/tools.ts index f23ef91d2..37c1fb0b8 100644 --- a/src/generated/forge-mcp/connectorInterrupts/tools.ts +++ b/src/generated/forge-mcp/connectorInterrupts/tools.ts @@ -9,7 +9,6 @@ import { mconn_none, mconn_response, } from "../outputs.js"; -import { mconn_account_id, mconn_uuid } from "../schemas.js"; import { mconn_connector_interrupts_create_response, mconn_connector_interrupts_list_response, @@ -25,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "connectorInterrupts_create", title: "Create Interrupt", - description: "Creates an interrupt for a Magic WAN Connector.", + description: "Creates an interrupt for a Magic WAN Connector.\n\nPOST /accounts/{account_id}/magic/connectors/{connector_id}/interrupts", inputSchema: { type: "object", properties: { @@ -33,12 +32,13 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/mconn_interrupt" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn_account_id" + "type": "string" }, "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "type": "string" } }, "required": [ @@ -52,10 +52,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "mconn_account_id": mconn_account_id, "mconn_interrupt": mconn_interrupt$, - "mconn_uuid": mconn_uuid, }, }, outputSchema: { @@ -129,17 +128,18 @@ export const tools: readonly Tool[] = [ { name: "connectorInterrupts_list", title: "List Interrupts", - description: "Lists interrupts for a Magic WAN Connector.", + description: "Lists interrupts for a Magic WAN Connector.\n\nGET /accounts/{account_id}/magic/connectors/{connector_id}/interrupts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn_account_id" + "type": "string" }, "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "type": "string" } }, "required": [ @@ -152,10 +152,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mconn_account_id": mconn_account_id, - "mconn_uuid": mconn_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mconn_connector_interrupts_list_response", diff --git a/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts b/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts index 1ee7102ae..38553e71d 100644 --- a/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts +++ b/src/generated/forge-mcp/connectorTelemetryEvents/tools.ts @@ -6,7 +6,6 @@ import { mconn$$telemetry_coded_message, mconn$$telemetry_envelope, } from "../outputs.js"; -import { mconn$$telemetry_account_id } from "../schemas.js"; import { mconn$$telemetry_customer_events_get_success, mconn$$telemetry_customer_events_list_result, @@ -23,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "connectorTelemetryEvents_get", title: "Get Event", - description: "Gets Magic WAN Connector Telemetry Event", + description: "Gets Magic WAN Connector Telemetry Event\n\nGET /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events/{event_t}.{event_n}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn-telemetry_account_id", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" }, "connector_id": { "type": "string" @@ -55,9 +55,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mconn-telemetry_account_id": mconn$$telemetry_account_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mconn-telemetry_customer_events_get_success", @@ -129,15 +127,16 @@ export const tools: readonly Tool[] = [ { name: "connectorTelemetryEvents_list", title: "List Events", - description: "Lists Magic WAN Connector Telemetry Events", + description: "Lists Magic WAN Connector Telemetry Events\n\nGET /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/events", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn-telemetry_account_id", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" }, "connector_id": { "type": "string" @@ -150,6 +149,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "type": "string" @@ -179,9 +179,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "mconn-telemetry_account_id": mconn$$telemetry_account_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mconn-telemetry_customer_events_list_success", diff --git a/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts b/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts index 89f7bae09..6d790569e 100644 --- a/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts +++ b/src/generated/forge-mcp/connectorTelemetrySnapshots/tools.ts @@ -6,7 +6,6 @@ import { mconn$$telemetry_coded_message, mconn$$telemetry_envelope, } from "../outputs.js"; -import { mconn$$telemetry_account_id } from "../schemas.js"; import { mconn$$telemetry_customer_snapshots_get_success, mconn$$telemetry_customer_snapshots_list_result, @@ -32,15 +31,16 @@ export const tools: readonly Tool[] = [ { name: "connectorTelemetrySnapshots_get", title: "Get Snapshot", - description: "Gets Magic WAN Connector Telemetry Snapshot", + description: "Gets Magic WAN Connector Telemetry Snapshot\n\nGET /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots/{snapshot_t}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn-telemetry_account_id", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" }, "connector_id": { "type": "string" @@ -60,9 +60,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mconn-telemetry_account_id": mconn$$telemetry_account_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mconn-telemetry_customer_snapshots_get_success", @@ -152,15 +150,16 @@ export const tools: readonly Tool[] = [ { name: "connectorTelemetrySnapshots_list", title: "List Snapshots", - description: "Lists Magic WAN Connector Telemetry Snapshots", + description: "Lists Magic WAN Connector Telemetry Snapshots\n\nGET /accounts/{account_id}/magic/connectors/{connector_id}/telemetry/snapshots", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn-telemetry_account_id", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" }, "connector_id": { "type": "string" @@ -173,6 +172,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "type": "string" @@ -198,9 +198,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "mconn-telemetry_account_id": mconn$$telemetry_account_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mconn-telemetry_customer_snapshots_list_success", diff --git a/src/generated/forge-mcp/connectors/outputs.ts b/src/generated/forge-mcp/connectors/outputs.ts index 2e0e17638..bec7a705a 100644 --- a/src/generated/forge-mcp/connectors/outputs.ts +++ b/src/generated/forge-mcp/connectors/outputs.ts @@ -15,11 +15,20 @@ export const mconn_customer_connector: JsonSchema = { "$ref": "#/$defs/mconn_customer_device" }, "id": { - "$ref": "#/$defs/mconn_uuid" + "type": "string" }, "interrupt_window_days_of_week": { "items": { - "$ref": "#/$defs/mconn_day_of_week" + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "type": "string" }, "type": "array" }, @@ -28,7 +37,7 @@ export const mconn_customer_connector: JsonSchema = { }, "interrupt_window_embargo_dates": { "items": { - "$ref": "#/$defs/mconn_embargo_date" + "type": "string" }, "maxItems": 100, "type": "array" @@ -192,7 +201,7 @@ export const mconn_customer_connectors_update_response: JsonSchema = { export const mconn_customer_device: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/mconn_uuid" + "type": "string" }, "serial_number": { "type": "string" @@ -210,26 +219,3 @@ export const mconn_customer_device: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `mconn_day_of_week` in responses. - */ -export const mconn_day_of_week: JsonSchema = { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" -}; - -/** - * The schema of `mconn_embargo_date` in responses. - */ -export const mconn_embargo_date: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/connectors/schemas.ts b/src/generated/forge-mcp/connectors/schemas.ts index 1f746c42f..3907d92d2 100644 --- a/src/generated/forge-mcp/connectors/schemas.ts +++ b/src/generated/forge-mcp/connectors/schemas.ts @@ -14,7 +14,16 @@ export const mconn_customer_connector_fields: JsonSchema = { "interrupt_window_days_of_week": { "description": "Allowed days of the week for upgrades. Default is all days.", "items": { - "$ref": "#/$defs/mconn_day_of_week" + "enum": [ + "Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday" + ], + "type": "string" }, "type": "array" }, @@ -24,7 +33,7 @@ export const mconn_customer_connector_fields: JsonSchema = { "interrupt_window_embargo_dates": { "description": "List of dates (YYYY-MM-DD) when upgrades are blocked.", "items": { - "$ref": "#/$defs/mconn_embargo_date" + "type": "string" }, "maxItems": 100, "type": "array" @@ -124,26 +133,3 @@ export const mconn_customer_device_options: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `mconn_day_of_week`. - */ -export const mconn_day_of_week: JsonSchema = { - "enum": [ - "Sunday", - "Monday", - "Tuesday", - "Wednesday", - "Thursday", - "Friday", - "Saturday" - ], - "type": "string" -}; - -/** - * The schema of `mconn_embargo_date`. - */ -export const mconn_embargo_date: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/connectors/tools.ts b/src/generated/forge-mcp/connectors/tools.ts index 7d149b756..05f531234 100644 --- a/src/generated/forge-mcp/connectors/tools.ts +++ b/src/generated/forge-mcp/connectors/tools.ts @@ -8,9 +8,7 @@ import { mconn_good_response, mconn_none, mconn_response, - mconn_uuid, } from "../outputs.js"; -import { mconn_account_id, mconn_uuid as mconn_uuid$ } from "../schemas.js"; import { mconn_customer_connector, mconn_customer_connectors_create_response, @@ -20,8 +18,6 @@ import { mconn_customer_connectors_list_response, mconn_customer_connectors_update_response, mconn_customer_device, - mconn_day_of_week, - mconn_embargo_date, } from "./outputs.js"; import { mconn_customer_connector_fields, @@ -29,8 +25,6 @@ import { mconn_customer_connectors_edit_request, mconn_customer_connectors_update_request, mconn_customer_device_options, - mconn_day_of_week as mconn_day_of_week$, - mconn_embargo_date as mconn_embargo_date$, } from "./schemas.js"; /** @@ -40,7 +34,7 @@ export const tools: readonly Tool[] = [ { name: "connectors_create", title: "Create Connector", - description: "Creates a Magic WAN Connector.", + description: "Creates a Magic WAN Connector.\n\nPOST /accounts/{account_id}/magic/connectors", inputSchema: { type: "object", properties: { @@ -48,9 +42,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/mconn_customer_connectors_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn_account_id" + "type": "string" } }, "required": [ @@ -63,13 +58,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "mconn_account_id": mconn_account_id, "mconn_customer_connector_fields": mconn_customer_connector_fields, "mconn_customer_connectors_create_request": mconn_customer_connectors_create_request, "mconn_customer_device_options": mconn_customer_device_options, - "mconn_day_of_week": mconn_day_of_week$, - "mconn_embargo_date": mconn_embargo_date$, }, }, outputSchema: { @@ -79,11 +72,8 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_create_response": mconn_customer_connectors_create_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -136,12 +126,9 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_create_response": mconn_customer_connectors_create_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_none": mconn_none, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ @@ -152,17 +139,18 @@ export const tools: readonly Tool[] = [ { name: "connectors_delete", title: "Delete Connector", - description: "Deletes a Magic WAN Connector.", + description: "Deletes a Magic WAN Connector.\n\nDELETE /accounts/{account_id}/magic/connectors/{connector_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn_account_id" + "type": "string" }, "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "type": "string" } }, "required": [ @@ -175,10 +163,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mconn_account_id": mconn_account_id, - "mconn_uuid": mconn_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mconn_customer_connectors_delete_response", @@ -187,11 +172,8 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_delete_response": mconn_customer_connectors_delete_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -241,12 +223,9 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_delete_response": mconn_customer_connectors_delete_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_none": mconn_none, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ @@ -256,7 +235,7 @@ export const tools: readonly Tool[] = [ { name: "connectors_edit", title: "Edit Connector", - description: "Edits properties of a Magic WAN Connector. May be used to re-provision a license key.", + description: "Edits properties of a Magic WAN Connector. May be used to re-provision a license key.\n\nPATCH /accounts/{account_id}/magic/connectors/{connector_id}", inputSchema: { type: "object", properties: { @@ -264,12 +243,13 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/mconn_customer_connectors_edit_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn_account_id" + "type": "string" }, "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "type": "string" } }, "required": [ @@ -283,13 +263,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "mconn_account_id": mconn_account_id, "mconn_customer_connector_fields": mconn_customer_connector_fields, "mconn_customer_connectors_edit_request": mconn_customer_connectors_edit_request, - "mconn_day_of_week": mconn_day_of_week$, - "mconn_embargo_date": mconn_embargo_date$, - "mconn_uuid": mconn_uuid$, }, }, outputSchema: { @@ -299,11 +276,8 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_edit_response": mconn_customer_connectors_edit_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -353,12 +327,9 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_edit_response": mconn_customer_connectors_edit_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_none": mconn_none, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ @@ -369,17 +340,18 @@ export const tools: readonly Tool[] = [ { name: "connectors_get", title: "Get Connector", - description: "Gets a Magic WAN Connector.", + description: "Gets a Magic WAN Connector.\n\nGET /accounts/{account_id}/magic/connectors/{connector_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn_account_id" + "type": "string" }, "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "type": "string" } }, "required": [ @@ -392,10 +364,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mconn_account_id": mconn_account_id, - "mconn_uuid": mconn_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mconn_customer_connectors_get_response", @@ -404,11 +373,8 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_get_response": mconn_customer_connectors_get_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -459,12 +425,9 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_get_response": mconn_customer_connectors_get_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_none": mconn_none, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ @@ -474,14 +437,15 @@ export const tools: readonly Tool[] = [ { name: "connectors_list", title: "List Connectors", - description: "Lists Magic WAN Connectors.", + description: "Lists Magic WAN Connectors.\n\nGET /accounts/{account_id}/magic/connectors", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn_account_id" + "type": "string" } }, "required": [ @@ -490,6 +454,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "device_type": { "description": "Filter connectors by device type.", @@ -506,9 +471,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mconn_account_id": mconn_account_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mconn_customer_connectors_list_response", @@ -517,11 +480,8 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_list_response": mconn_customer_connectors_list_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -569,12 +529,9 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_list_response": mconn_customer_connectors_list_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_none": mconn_none, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ @@ -587,7 +544,7 @@ export const tools: readonly Tool[] = [ { name: "connectors_update", title: "Update Connector", - description: "Updates properties of a Magic WAN Connector. May be used to re-provision a license key.", + description: "Updates properties of a Magic WAN Connector. May be used to re-provision a license key.\n\nPUT /accounts/{account_id}/magic/connectors/{connector_id}", inputSchema: { type: "object", properties: { @@ -595,12 +552,13 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/mconn_customer_connectors_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mconn_account_id" + "type": "string" }, "connector_id": { - "$ref": "#/$defs/mconn_uuid" + "type": "string" } }, "required": [ @@ -614,13 +572,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "mconn_account_id": mconn_account_id, "mconn_customer_connector_fields": mconn_customer_connector_fields, "mconn_customer_connectors_update_request": mconn_customer_connectors_update_request, - "mconn_day_of_week": mconn_day_of_week$, - "mconn_embargo_date": mconn_embargo_date$, - "mconn_uuid": mconn_uuid$, }, }, outputSchema: { @@ -630,11 +585,8 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_update_response": mconn_customer_connectors_update_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, annotations: { @@ -684,12 +636,9 @@ export const tools: readonly Tool[] = [ "mconn_customer_connector": mconn_customer_connector, "mconn_customer_connectors_update_response": mconn_customer_connectors_update_response, "mconn_customer_device": mconn_customer_device, - "mconn_day_of_week": mconn_day_of_week, - "mconn_embargo_date": mconn_embargo_date, "mconn_good_response": mconn_good_response, "mconn_none": mconn_none, "mconn_response": mconn_response, - "mconn_uuid": mconn_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/containers/applications/instances/outputs.ts b/src/generated/forge-mcp/containers/applications/instances/outputs.ts index a3767ec6a..866e73e88 100644 --- a/src/generated/forge-mcp/containers/applications/instances/outputs.ts +++ b/src/generated/forge-mcp/containers/applications/instances/outputs.ts @@ -14,10 +14,10 @@ export const cc_ContainerInstance: JsonSchema = { { "properties": { "application_id": { - "$ref": "#/$defs/cc_ApplicationID" + "type": "string" }, "image": { - "$ref": "#/$defs/cc_Image" + "type": "string" } }, "required": [ @@ -35,16 +35,16 @@ export const cc_ContainerInstance: JsonSchema = { export const cc_ContainerInstanceBase: JsonSchema = { "properties": { "application_id": { - "$ref": "#/$defs/cc_ApplicationID" + "type": "string" }, "configuration": { "$ref": "#/$defs/cc_ContainerInstanceConfiguration" }, "id": { - "$ref": "#/$defs/cc_ContainerInstanceID" + "type": "string" }, "image": { - "$ref": "#/$defs/cc_Image" + "type": "string" }, "location": { "$ref": "#/$defs/cc_ContainerInstanceLocation" @@ -53,7 +53,7 @@ export const cc_ContainerInstanceBase: JsonSchema = { "type": "string" }, "started_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "status": { "$ref": "#/$defs/cc_ContainerInstanceStatus" @@ -89,23 +89,16 @@ export const cc_ContainerInstanceConfiguration: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_ContainerInstanceID` in responses. - */ -export const cc_ContainerInstanceID: JsonSchema = { - "type": "string" -}; - /** * The schema of `cc_ContainerInstanceLocation` in responses. */ export const cc_ContainerInstanceLocation: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/cc_LocationID" + "type": "string" }, "region": { - "$ref": "#/$defs/cc_Region" + "type": "string" } }, "required": [ @@ -124,10 +117,20 @@ export const cc_ContainerInstanceStatus: JsonSchema = { "type": "integer" }, "state": { - "$ref": "#/$defs/cc_ContainerInstanceStatusState" + "enum": [ + "provisioning", + "running", + "failed", + "stopping", + "stopped", + "unhealthy", + "inactive", + "unknown" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" } }, "required": [ @@ -137,23 +140,6 @@ export const cc_ContainerInstanceStatus: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_ContainerInstanceStatusState` in responses. - */ -export const cc_ContainerInstanceStatusState: JsonSchema = { - "enum": [ - "provisioning", - "running", - "failed", - "stopping", - "stopped", - "unhealthy", - "inactive", - "unknown" - ], - "type": "string" -}; - /** * The schema of `cc_ContainersListContainerInstancesV2` in responses. */ @@ -163,10 +149,3 @@ export const cc_ContainersListContainerInstancesV2: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `cc_LocationID` in responses. - */ -export const cc_LocationID: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/containers/applications/instances/schemas.ts b/src/generated/forge-mcp/containers/applications/instances/schemas.ts deleted file mode 100644 index ccb50fd0d..000000000 --- a/src/generated/forge-mcp/containers/applications/instances/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `cc_ContainerInstanceID`. - */ -export const cc_ContainerInstanceID: JsonSchema = { - "description": "A container instance ID (64-character hex Durable Object actor ID).", - "type": "string" -}; diff --git a/src/generated/forge-mcp/containers/applications/instances/tools.ts b/src/generated/forge-mcp/containers/applications/instances/tools.ts index b9011abcc..f5b5c5dd2 100644 --- a/src/generated/forge-mcp/containers/applications/instances/tools.ts +++ b/src/generated/forge-mcp/containers/applications/instances/tools.ts @@ -3,30 +3,19 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - cc_ISO8601Timestamp, - cc_Image, cc_Messages, cc_V4BaseErrorResponse, cc_V4BaseResponse, } from "../../outputs.js"; -import { - cc_ApplicationID, - cc_Region, - cc_V4PaginatedResultInfo, -} from "../outputs.js"; -import { cc_ApplicationID as cc_ApplicationID$ } from "../schemas.js"; +import { cc_V4PaginatedResultInfo } from "../outputs.js"; import { cc_ContainerInstance, cc_ContainerInstanceBase, cc_ContainerInstanceConfiguration, - cc_ContainerInstanceID, cc_ContainerInstanceLocation, cc_ContainerInstanceStatus, - cc_ContainerInstanceStatusState, cc_ContainersListContainerInstancesV2, - cc_LocationID, } from "./outputs.js"; -import { cc_ContainerInstanceID as cc_ContainerInstanceID$ } from "./schemas.js"; /** * The tools of `containers.applications.instances`. @@ -35,23 +24,24 @@ export const tools: readonly Tool[] = [ { name: "containers_applications_instances_get", title: "Get a container instance", - description: "Returns a container instance belonging to an application.", + description: "Returns a container instance belonging to an application.\n\nGET /accounts/{account_id}/containers/applications/{application_id}/instances/{instance_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", "type": "string" }, "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "description": "An Application ID represents an identifier of an application.", + "type": "string" }, "instance_id": { - "$ref": "#/$defs/cc_ContainerInstanceID", - "description": "A container instance ID (64-character hex Durable Object actor ID)." + "description": "A container instance ID (64-character hex Durable Object actor ID).", + "type": "string" } }, "required": [ @@ -65,10 +55,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cc_ApplicationID": cc_ApplicationID$, - "cc_ContainerInstanceID": cc_ContainerInstanceID$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -88,19 +75,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_ApplicationID": cc_ApplicationID, "cc_ContainerInstance": cc_ContainerInstance, "cc_ContainerInstanceBase": cc_ContainerInstanceBase, "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration, - "cc_ContainerInstanceID": cc_ContainerInstanceID, "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation, "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus, - "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_LocationID": cc_LocationID, "cc_Messages": cc_Messages, - "cc_Region": cc_Region, "cc_V4BaseResponse": cc_V4BaseResponse, }, }, @@ -153,19 +133,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_ApplicationID": cc_ApplicationID, "cc_ContainerInstance": cc_ContainerInstance, "cc_ContainerInstanceBase": cc_ContainerInstanceBase, "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration, - "cc_ContainerInstanceID": cc_ContainerInstanceID, "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation, "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus, - "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_LocationID": cc_LocationID, "cc_Messages": cc_Messages, - "cc_Region": cc_Region, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, "cc_V4BaseResponse": cc_V4BaseResponse, }, @@ -177,19 +150,20 @@ export const tools: readonly Tool[] = [ { name: "containers_applications_instances_list", title: "List container instances", - description: "Lists container instances belonging to an application.", + description: "Lists container instances belonging to an application.\n\nGET /accounts/{account_id}/containers/applications/{application_id}/instances-v2", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", "type": "string" }, "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "description": "An Application ID represents an identifier of an application.", + "type": "string" } }, "required": [ @@ -199,9 +173,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name_prefix": { - "description": "Filter instances by a case-sensitive name prefix, falling back to the actor ID when no name is known. Keep the same prefix when using a page token.\n", + "description": "Filter instances by a case-sensitive name prefix, falling back to the actor ID when no name is known. Keep the same prefix when using a page token.", "type": "string" }, "page_token": { @@ -213,7 +188,7 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "state": { - "description": "Filters instances by lifecycle state. `active` includes provisioning, running, and stopping instances; `not-active` includes stopped and failed instances. When omitted, all instances are returned.\n", + "description": "Filters instances by lifecycle state. `active` includes provisioning, running, and stopping instances; `not-active` includes stopped and failed instances. When omitted, all instances are returned.", "enum": [ "active", "not-active" @@ -227,9 +202,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cc_ApplicationID": cc_ApplicationID$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -253,20 +226,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_ApplicationID": cc_ApplicationID, "cc_ContainerInstance": cc_ContainerInstance, "cc_ContainerInstanceBase": cc_ContainerInstanceBase, "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration, - "cc_ContainerInstanceID": cc_ContainerInstanceID, "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation, "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus, - "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState, "cc_ContainersListContainerInstancesV2": cc_ContainersListContainerInstancesV2, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_LocationID": cc_LocationID, "cc_Messages": cc_Messages, - "cc_Region": cc_Region, "cc_V4BaseResponse": cc_V4BaseResponse, "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo, }, @@ -329,20 +295,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_ApplicationID": cc_ApplicationID, "cc_ContainerInstance": cc_ContainerInstance, "cc_ContainerInstanceBase": cc_ContainerInstanceBase, "cc_ContainerInstanceConfiguration": cc_ContainerInstanceConfiguration, - "cc_ContainerInstanceID": cc_ContainerInstanceID, "cc_ContainerInstanceLocation": cc_ContainerInstanceLocation, "cc_ContainerInstanceStatus": cc_ContainerInstanceStatus, - "cc_ContainerInstanceStatusState": cc_ContainerInstanceStatusState, "cc_ContainersListContainerInstancesV2": cc_ContainersListContainerInstancesV2, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_LocationID": cc_LocationID, "cc_Messages": cc_Messages, - "cc_Region": cc_Region, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, "cc_V4BaseResponse": cc_V4BaseResponse, "cc_V4PaginatedResultInfo": cc_V4PaginatedResultInfo, diff --git a/src/generated/forge-mcp/containers/applications/outputs.ts b/src/generated/forge-mcp/containers/applications/outputs.ts index df925781c..b68b86c09 100644 --- a/src/generated/forge-mcp/containers/applications/outputs.ts +++ b/src/generated/forge-mcp/containers/applications/outputs.ts @@ -9,10 +9,10 @@ import type { JsonSchema } from "../../_/tool.js"; export const cc_Application: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/cc_AccountID" + "type": "string" }, "active_rollout_id": { - "$ref": "#/$defs/cc_RolloutID" + "type": "string" }, "configuration": { "$ref": "#/$defs/cc_UserDeploymentConfiguration" @@ -21,7 +21,7 @@ export const cc_Application: JsonSchema = { "$ref": "#/$defs/cc_ApplicationConstraints" }, "created_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "durable_objects": { "$ref": "#/$defs/cc_ApplicationDurableObjectsConfiguration" @@ -30,7 +30,7 @@ export const cc_Application: JsonSchema = { "$ref": "#/$defs/cc_ApplicationHealth" }, "id": { - "$ref": "#/$defs/cc_ApplicationID" + "type": "string" }, "instances": { "type": "integer" @@ -39,19 +39,23 @@ export const cc_Application: JsonSchema = { "type": "integer" }, "name": { - "$ref": "#/$defs/cc_ApplicationName" + "type": "string" }, "observability": { "$ref": "#/$defs/cc_ApplicationObservability" }, "rollout_active_grace_period": { - "$ref": "#/$defs/cc_ApplicationRolloutActiveGracePeriod" + "type": "integer" }, "scheduling_policy": { - "$ref": "#/$defs/cc_SchedulingPolicy" + "enum": [ + "default", + "durable_object" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "version": { "type": "integer" @@ -77,11 +81,11 @@ export const cc_Application: JsonSchema = { export const cc_ApplicationConstraints: JsonSchema = { "properties": { "jurisdiction": { - "$ref": "#/$defs/cc_ApplicationJurisdiction" + "type": "string" }, "regions": { "items": { - "$ref": "#/$defs/cc_Region" + "type": "string" }, "type": "array" } @@ -133,7 +137,7 @@ export const cc_ApplicationHealthError: JsonSchema = { "$ref": "#/$defs/cc_PlacementEvent" }, "instance_id": { - "$ref": "#/$defs/cc_InstanceID" + "type": "string" } }, "required": [ @@ -172,27 +176,6 @@ export const cc_ApplicationHealthInstances: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_ApplicationID` in responses. - */ -export const cc_ApplicationID: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_ApplicationJurisdiction` in responses. - */ -export const cc_ApplicationJurisdiction: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_ApplicationName` in responses. - */ -export const cc_ApplicationName: JsonSchema = { - "type": "string" -}; - /** * The schema of `cc_ApplicationObservability` in responses. */ @@ -205,19 +188,12 @@ export const cc_ApplicationObservability: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_ApplicationRolloutActiveGracePeriod` in responses. - */ -export const cc_ApplicationRolloutActiveGracePeriod: JsonSchema = { - "type": "integer" -}; - /** * The schema of `cc_Command` in responses. */ export const cc_Command: JsonSchema = { "items": { - "$ref": "#/$defs/cc_ExecFormParam" + "type": "string" }, "type": "array" }; @@ -279,7 +255,7 @@ export const cc_DeploymentObservability: JsonSchema = { export const cc_DurableObjectApplication: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/cc_AccountID" + "type": "string" }, "configuration": { "$ref": "#/$defs/cc_DurableObjectApplicationConfiguration" @@ -288,7 +264,7 @@ export const cc_DurableObjectApplication: JsonSchema = { "$ref": "#/$defs/cc_DurableObjectApplicationConstraints" }, "created_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "durable_objects": { "$ref": "#/$defs/cc_DurableObjectsConfigurationNamespaceId" @@ -297,19 +273,22 @@ export const cc_DurableObjectApplication: JsonSchema = { "$ref": "#/$defs/cc_DurableObjectApplicationHealth" }, "id": { - "$ref": "#/$defs/cc_ApplicationID" + "type": "string" }, "name": { - "$ref": "#/$defs/cc_ApplicationName" + "type": "string" }, "observability": { "$ref": "#/$defs/cc_DurableObjectApplicationObservability" }, "scheduling_policy": { - "$ref": "#/$defs/cc_DurableObjectApplicationSchedulingPolicy" + "enum": [ + "durable_object" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" } }, "required": [ @@ -412,16 +391,6 @@ export const cc_DurableObjectApplicationObservability: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_DurableObjectApplicationSchedulingPolicy` in responses. - */ -export const cc_DurableObjectApplicationSchedulingPolicy: JsonSchema = { - "enum": [ - "durable_object" - ], - "type": "string" -}; - /** * The schema of `cc_DurableObjectsConfigurationNamespaceId` in responses. */ @@ -442,7 +411,7 @@ export const cc_DurableObjectsConfigurationNamespaceId: JsonSchema = { */ export const cc_Entrypoint: JsonSchema = { "items": { - "$ref": "#/$defs/cc_ExecFormParam" + "type": "string" }, "type": "array" }; @@ -453,10 +422,10 @@ export const cc_Entrypoint: JsonSchema = { export const cc_EnvironmentVariable: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/cc_EnvironmentVariableName" + "type": "string" }, "value": { - "$ref": "#/$defs/cc_EnvironmentVariableValue" + "type": "string" } }, "required": [ @@ -466,89 +435,6 @@ export const cc_EnvironmentVariable: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_EnvironmentVariableName` in responses. - */ -export const cc_EnvironmentVariableName: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_EnvironmentVariableValue` in responses. - */ -export const cc_EnvironmentVariableValue: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_EventName` in responses. - */ -export const cc_EventName: JsonSchema = { - "enum": [ - "SchedulerPlaced", - "NetworkingIPAssigned", - "VMStarted", - "ImagePulled", - "ImagePullError", - "VMFailedToStart", - "NetworkingIPAssignmentFailed", - "VMRunning", - "VMStopping", - "VMStopped", - "VMFailed", - "RuntimeStartFailed", - "SSHStarted", - "ServiceHealthUpdates", - "CheckUpdate", - "DurableObjectConnected", - "ContainerStarted" - ], - "type": "string" -}; - -/** - * The schema of `cc_EventType` in responses. - */ -export const cc_EventType: JsonSchema = { - "enum": [ - "Info", - "Error", - "Warn", - "UserError", - "SystemError" - ], - "type": "string" -}; - -/** - * The schema of `cc_ExecFormParam` in responses. - */ -export const cc_ExecFormParam: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_InstanceID` in responses. - */ -export const cc_InstanceID: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_InstanceType` in responses. - */ -export const cc_InstanceType: JsonSchema = { - "enum": [ - "lite", - "basic", - "standard-1", - "standard-2", - "standard-3", - "standard-4" - ], - "type": "string" -}; - /** * The schema of `cc_ModifyUserDeploymentConfiguration` in responses. */ @@ -573,10 +459,18 @@ export const cc_ModifyUserDeploymentConfiguration: JsonSchema = { "type": "array" }, "image": { - "$ref": "#/$defs/cc_Image" + "type": "string" }, "instance_type": { - "$ref": "#/$defs/cc_InstanceType" + "enum": [ + "lite", + "basic", + "standard-1", + "standard-2", + "standard-3", + "standard-4" + ], + "type": "string" }, "observability": { "$ref": "#/$defs/cc_DeploymentObservability" @@ -612,16 +506,42 @@ export const cc_PlacementEvent: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/cc_EventName" + "enum": [ + "SchedulerPlaced", + "NetworkingIPAssigned", + "VMStarted", + "ImagePulled", + "ImagePullError", + "VMFailedToStart", + "NetworkingIPAssignmentFailed", + "VMRunning", + "VMStopping", + "VMStopped", + "VMFailed", + "RuntimeStartFailed", + "SSHStarted", + "ServiceHealthUpdates", + "CheckUpdate", + "DurableObjectConnected", + "ContainerStarted" + ], + "type": "string" }, "statusChange": { "type": "object" }, "time": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "type": { - "$ref": "#/$defs/cc_EventType" + "enum": [ + "Info", + "Error", + "Warn", + "UserError", + "SystemError" + ], + "type": "string" } }, "required": [ @@ -636,27 +556,6 @@ export const cc_PlacementEvent: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_Region` in responses. - */ -export const cc_Region: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_RolloutID` in responses. - */ -export const cc_RolloutID: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_SSHPublicKey` in responses. - */ -export const cc_SSHPublicKey: JsonSchema = { - "type": "string" -}; - /** * The schema of `cc_ScheduledApplication` in responses. */ @@ -668,7 +567,10 @@ export const cc_ScheduledApplication: JsonSchema = { { "properties": { "scheduling_policy": { - "$ref": "#/$defs/cc_ScheduledApplicationSchedulingPolicy" + "enum": [ + "default" + ], + "type": "string" } }, "required": [ @@ -679,27 +581,6 @@ export const cc_ScheduledApplication: JsonSchema = { ] }; -/** - * The schema of `cc_ScheduledApplicationSchedulingPolicy` in responses. - */ -export const cc_ScheduledApplicationSchedulingPolicy: JsonSchema = { - "enum": [ - "default" - ], - "type": "string" -}; - -/** - * The schema of `cc_SchedulingPolicy` in responses. - */ -export const cc_SchedulingPolicy: JsonSchema = { - "enum": [ - "default", - "durable_object" - ], - "type": "string" -}; - /** * The schema of `cc_UserDeploymentConfiguration` in responses. */ @@ -724,10 +605,18 @@ export const cc_UserDeploymentConfiguration: JsonSchema = { "type": "array" }, "image": { - "$ref": "#/$defs/cc_Image" + "type": "string" }, "instance_type": { - "$ref": "#/$defs/cc_InstanceType" + "enum": [ + "lite", + "basic", + "standard-1", + "standard-2", + "standard-3", + "standard-4" + ], + "type": "string" }, "observability": { "$ref": "#/$defs/cc_DeploymentObservability" @@ -748,7 +637,7 @@ export const cc_UserSSHPublicKey: JsonSchema = { "type": "string" }, "public_key": { - "$ref": "#/$defs/cc_SSHPublicKey" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts b/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts index a59a4189f..442bcaedb 100644 --- a/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts +++ b/src/generated/forge-mcp/containers/applications/rollouts/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../../_/tool.js"; export const cc_ApplicationRollout: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "current_configuration": { "$ref": "#/$defs/cc_ModifyUserDeploymentConfiguration" @@ -24,7 +24,7 @@ export const cc_ApplicationRollout: JsonSchema = { "$ref": "#/$defs/cc_ApplicationHealth" }, "id": { - "$ref": "#/$defs/cc_RolloutID" + "type": "string" }, "kind": { "enum": [ @@ -35,7 +35,7 @@ export const cc_ApplicationRollout: JsonSchema = { "type": "string" }, "last_updated_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "percentage": { "type": "integer" @@ -159,7 +159,7 @@ export const cc_ApplicationRolloutProgress: JsonSchema = { export const cc_RolloutStep: JsonSchema = { "properties": { "completed_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "description": { "type": "string" @@ -171,7 +171,7 @@ export const cc_RolloutStep: JsonSchema = { "type": "string" }, "started_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "status": { "enum": [ diff --git a/src/generated/forge-mcp/containers/applications/rollouts/schemas.ts b/src/generated/forge-mcp/containers/applications/rollouts/schemas.ts index d1eb3cd94..ff82ee21d 100644 --- a/src/generated/forge-mcp/containers/applications/rollouts/schemas.ts +++ b/src/generated/forge-mcp/containers/applications/rollouts/schemas.ts @@ -15,7 +15,7 @@ export const cc_ContainersCreateApplicationRolloutRequest: JsonSchema = { }, "kind": { "default": "full_auto", - "description": "Kind of the rollout process. Defaults to \"full_auto\".\n - \"full_auto\": For rolling rollouts, starts progressing steps upon rollout creation. For new_instances rollouts, advances percentage targets automatically after target-version health is observed.\n - \"full_manual\": Requires manually progressing each step in the rollout using the UpdateRollout's action parameter.\n", + "description": "Kind of the rollout process. Defaults to \"full_auto\".\n - \"full_auto\": For rolling rollouts, starts progressing steps upon rollout creation. For new_instances rollouts, advances percentage targets automatically after target-version health is observed.\n - \"full_manual\": Requires manually progressing each step in the rollout using the UpdateRollout's action parameter.", "enum": [ "full_auto", "full_manual" @@ -23,11 +23,11 @@ export const cc_ContainersCreateApplicationRolloutRequest: JsonSchema = { "type": "string" }, "percentage": { - "description": "Initial target version percentage (0-100). Version sync actively replaces instances to match.\nRequired when strategy is \"new_instances\" and kind is \"full_manual\". When strategy is \"new_instances\" and kind is \"full_auto\", omitted percentage starts at 10% or the smallest percentage that targets at least one instance. Unused for \"rolling\".\n", + "description": "Initial target version percentage (0-100). Version sync actively replaces instances to match.\nRequired when strategy is \"new_instances\" and kind is \"full_manual\". When strategy is \"new_instances\" and kind is \"full_auto\", omitted percentage starts at 10% or the smallest percentage that targets at least one instance. Unused for \"rolling\".", "type": "integer" }, "step_percentage": { - "description": "Percentage of rollout to increase in each step when \"steps\" is absent. Applicable values: 5, 10, 20, 25, 50, 100.\nThese create rollouts with 20, 10, 5, 4, 2, 1 steps respectively.\nOnly valid for \"rolling\" strategy.\n", + "description": "Percentage of rollout to increase in each step when \"steps\" is absent. Applicable values: 5, 10, 20, 25, 50, 100.\nThese create rollouts with 20, 10, 5, 4, 2, 1 steps respectively.\nOnly valid for \"rolling\" strategy.", "enum": [ 5, 10, @@ -39,14 +39,14 @@ export const cc_ContainersCreateApplicationRolloutRequest: JsonSchema = { "type": "integer" }, "steps": { - "description": "Steps defining the rollout process, used when \"step_percentage\" is absent.\nSpecify only one of \"step_percentage\" or \"steps\" when creating a rollout.\n\"steps\" allow granular control over each step.\nOnly valid for \"rolling\" strategy.\n", + "description": "Steps defining the rollout process, used when \"step_percentage\" is absent.\nSpecify only one of \"step_percentage\" or \"steps\" when creating a rollout.\n\"steps\" allow granular control over each step.\nOnly valid for \"rolling\" strategy.", "items": { "$ref": "#/$defs/cc_RolloutStepRequest" }, "type": "array" }, "strategy": { - "description": "Strategy used for the rollout.\n- \"rolling\": Step-based rollout with health gates. Actively replaces instances to reach each step's target percentage.\n- \"new_instances\": Percentage control over version distribution. Version sync actively replaces instances to match the configured percentage. The \"full_auto\" kind advances through fixed percentage targets after target-version health is observed.\n", + "description": "Strategy used for the rollout.\n- \"rolling\": Step-based rollout with health gates. Actively replaces instances to reach each step's target percentage.\n- \"new_instances\": Percentage control over version distribution. Version sync actively replaces instances to match the configured percentage. The \"full_auto\" kind advances through fixed percentage targets after target-version health is observed.", "enum": [ "rolling", "new_instances" diff --git a/src/generated/forge-mcp/containers/applications/rollouts/tools.ts b/src/generated/forge-mcp/containers/applications/rollouts/tools.ts index 2fbd907fa..5cf96442b 100644 --- a/src/generated/forge-mcp/containers/applications/rollouts/tools.ts +++ b/src/generated/forge-mcp/containers/applications/rollouts/tools.ts @@ -3,13 +3,10 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cc_ISO8601Timestamp, - cc_Image, cc_Messages, cc_V4BaseErrorResponse, cc_V4BaseResponse, } from "../../outputs.js"; -import { cc_Image as cc_Image$ } from "../../schemas.js"; import { cc_ApplicationHealth, cc_ApplicationHealthError, @@ -19,33 +16,18 @@ import { cc_DeploymentObservability, cc_Entrypoint, cc_EnvironmentVariable, - cc_EnvironmentVariableName, - cc_EnvironmentVariableValue, - cc_EventName, - cc_EventType, - cc_ExecFormParam, - cc_InstanceID, - cc_InstanceType, cc_ModifyUserDeploymentConfiguration, cc_ObservabilityLogs, cc_PlacementEvent, - cc_RolloutID, - cc_SSHPublicKey, cc_UserSSHPublicKey, } from "../outputs.js"; import { - cc_ApplicationID, cc_Command as cc_Command$, cc_DeploymentObservability as cc_DeploymentObservability$, cc_Entrypoint as cc_Entrypoint$, cc_EnvironmentVariable as cc_EnvironmentVariable$, - cc_EnvironmentVariableName as cc_EnvironmentVariableName$, - cc_EnvironmentVariableValue as cc_EnvironmentVariableValue$, - cc_ExecFormParam as cc_ExecFormParam$, - cc_InstanceType as cc_InstanceType$, cc_ModifyUserDeploymentConfiguration as cc_ModifyUserDeploymentConfiguration$, cc_ObservabilityLogs as cc_ObservabilityLogs$, - cc_SSHPublicKey as cc_SSHPublicKey$, cc_UserSSHPublicKey as cc_UserSSHPublicKey$, } from "../schemas.js"; import { @@ -65,7 +47,7 @@ export const tools: readonly Tool[] = [ { name: "containers_applications_rollouts_create", title: "Create a new rollout for an application", - description: "Creates a rollout to update the application's configuration across instances\nwith minimal downtime. Rollouts apply only to scheduler-backed applications\nwith `scheduling_policy: \"default\"`. Versions and rollouts do not apply to\napplications with `scheduling_policy: \"durable_object\"`.", + description: "Creates a rollout to update the application's configuration across instances\nwith minimal downtime. Rollouts apply only to scheduler-backed applications\nwith `scheduling_policy: \"default\"`. Versions and rollouts do not apply to\napplications with `scheduling_policy: \"durable_object\"`.\n\nPOST /accounts/{account_id}/containers/applications/{application_id}/rollouts", inputSchema: { type: "object", properties: { @@ -73,14 +55,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cc_ContainersCreateApplicationRolloutRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", "type": "string" }, "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "description": "An Application ID represents an identifier of an application.", + "type": "string" } }, "required": [ @@ -94,22 +77,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cc_ApplicationID": cc_ApplicationID, "cc_Command": cc_Command$, "cc_ContainersCreateApplicationRolloutRequest": cc_ContainersCreateApplicationRolloutRequest, "cc_DeploymentObservability": cc_DeploymentObservability$, "cc_Entrypoint": cc_Entrypoint$, "cc_EnvironmentVariable": cc_EnvironmentVariable$, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName$, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue$, - "cc_ExecFormParam": cc_ExecFormParam$, - "cc_Image": cc_Image$, - "cc_InstanceType": cc_InstanceType$, "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration$, "cc_ObservabilityLogs": cc_ObservabilityLogs$, "cc_RolloutStepRequest": cc_RolloutStepRequest, - "cc_SSHPublicKey": cc_SSHPublicKey$, "cc_UserSSHPublicKey": cc_UserSSHPublicKey$, }, }, @@ -141,22 +118,11 @@ export const tools: readonly Tool[] = [ "cc_DeploymentObservability": cc_DeploymentObservability, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_RolloutID": cc_RolloutID, "cc_RolloutStep": cc_RolloutStep, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseResponse": cc_V4BaseResponse, }, @@ -217,22 +183,11 @@ export const tools: readonly Tool[] = [ "cc_DeploymentObservability": cc_DeploymentObservability, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_RolloutID": cc_RolloutID, "cc_RolloutStep": cc_RolloutStep, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, "cc_V4BaseResponse": cc_V4BaseResponse, diff --git a/src/generated/forge-mcp/containers/applications/schemas.ts b/src/generated/forge-mcp/containers/applications/schemas.ts index e2a4e9c35..79a991f72 100644 --- a/src/generated/forge-mcp/containers/applications/schemas.ts +++ b/src/generated/forge-mcp/containers/applications/schemas.ts @@ -9,12 +9,13 @@ import type { JsonSchema } from "../../_/tool.js"; export const cc_ApplicationConstraints: JsonSchema = { "properties": { "jurisdiction": { - "$ref": "#/$defs/cc_ApplicationJurisdiction", - "description": "Restricts placement to datacenters in the selected jurisdiction. Choose \"eu\", \"fedramp\", or \"us\". When combined with regions, EU supports EEUR and WEUR while FedRAMP and US support ENAM and WNAM." + "description": "Restricts placement to datacenters in the selected jurisdiction. Choose \"eu\", \"fedramp\", or \"us\". When combined with regions, EU supports EEUR and WEUR while FedRAMP and US support ENAM and WNAM.", + "type": "string" }, "regions": { "items": { - "$ref": "#/$defs/cc_Region" + "description": "Represents a group of datacenters. Choose one of \"AFR\", \"APAC\", \"EEUR\", \"ENAM\", \"WNAM\", \"ME\", \"OC\", \"SAM\", or \"WEUR\".", + "type": "string" }, "type": "array" } @@ -22,35 +23,11 @@ export const cc_ApplicationConstraints: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_ApplicationID`. - */ -export const cc_ApplicationID: JsonSchema = { - "description": "An Application ID represents an identifier of an application.", - "type": "string" -}; - -/** - * The schema of `cc_ApplicationJurisdiction`. - */ -export const cc_ApplicationJurisdiction: JsonSchema = { - "description": "Restricts placement to datacenters in the selected jurisdiction. Choose \"eu\", \"fedramp\", or \"us\". When combined with regions, EU supports EEUR and WEUR while FedRAMP and US support ENAM and WNAM.", - "type": "string" -}; - -/** - * The schema of `cc_ApplicationName`. - */ -export const cc_ApplicationName: JsonSchema = { - "description": "The application name.", - "type": "string" -}; - /** * The schema of `cc_ApplicationObservability`. */ export const cc_ApplicationObservability: JsonSchema = { - "description": "Settings for application observability such as logging. Supported fields depend\non the application's scheduling policy. Durable Object-managed applications\naccept only `logs.enabled`.\n", + "description": "Settings for application observability such as logging. Supported fields depend\non the application's scheduling policy. Durable Object-managed applications\naccept only `logs.enabled`.", "properties": { "logs": { "$ref": "#/$defs/cc_ObservabilityLogs", @@ -60,21 +37,13 @@ export const cc_ApplicationObservability: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_ApplicationRolloutActiveGracePeriod`. - */ -export const cc_ApplicationRolloutActiveGracePeriod: JsonSchema = { - "description": "Grace period for active instances to stay alive before becoming eligible for shutdown signal due to a rollout, in seconds.\nDefaults to 0.\n", - "type": "integer" -}; - /** * The schema of `cc_Command`. */ export const cc_Command: JsonSchema = { - "description": "The command that runs when the container starts, passed to the entrypoint.\nYou can override this at run-time. If you override only the command,\nit gets passed to the default entrypoint specified in the image.\n", + "description": "The command that runs when the container starts, passed to the entrypoint.\nYou can override this at run-time. If you override only the command,\nit gets passed to the default entrypoint specified in the image.", "items": { - "$ref": "#/$defs/cc_ExecFormParam" + "type": "string" }, "type": "array" }; @@ -83,7 +52,7 @@ export const cc_Command: JsonSchema = { * The schema of `cc_ContainersCreateApplicationRequest`. */ export const cc_ContainersCreateApplicationRequest: JsonSchema = { - "description": "Create a Containers application.\nSet `scheduling_policy` to `default` for a\nscheduler-backed application with deployment configuration, instance counts,\nconstraints, versions, and rollouts. Set it to `durable_object` for a\nDurable Object-managed application where each Durable Object creates and manages\nthe lifecycle of its container instance. For `durable_object` requests, supply\n`name`, `scheduling_policy`, and `durable_objects`, with optional `configuration`\nand top-level `observability` settings.\n", + "description": "Create a Containers application.\nSet `scheduling_policy` to `default` for a\nscheduler-backed application with deployment configuration, instance counts,\nconstraints, versions, and rollouts. Set it to `durable_object` for a\nDurable Object-managed application where each Durable Object creates and manages\nthe lifecycle of its container instance. For `durable_object` requests, supply\n`name`, `scheduling_policy`, and `durable_objects`, with optional `configuration`\nand top-level `observability` settings.", "oneOf": [ { "$ref": "#/$defs/cc_ContainersCreateScheduledApplicationRequest" @@ -98,7 +67,7 @@ export const cc_ContainersCreateApplicationRequest: JsonSchema = { * The schema of `cc_ContainersCreateDurableObjectApplicationRequest`. */ export const cc_ContainersCreateDurableObjectApplicationRequest: JsonSchema = { - "description": "Create a Durable Object-managed Containers application. Each Durable Object\ncreates and manages the lifecycle of its container instance. Supply `name`,\n`scheduling_policy`, and `durable_objects`, with optional `configuration` and\ntop-level `observability` settings. `constraints.jurisdiction` selects the\njurisdiction of the application's primary control-plane object at creation time.\nDeployment configuration, instance counts, scaling, other placement constraints,\nversions, and rollouts do not apply.\n", + "description": "Create a Durable Object-managed Containers application. Each Durable Object\ncreates and manages the lifecycle of its container instance. Supply `name`,\n`scheduling_policy`, and `durable_objects`, with optional `configuration` and\ntop-level `observability` settings. `constraints.jurisdiction` selects the\njurisdiction of the application's primary control-plane object at creation time.\nDeployment configuration, instance counts, scaling, other placement constraints,\nversions, and rollouts do not apply.", "properties": { "configuration": { "$ref": "#/$defs/cc_DurableObjectApplicationConfiguration", @@ -106,7 +75,7 @@ export const cc_ContainersCreateDurableObjectApplicationRequest: JsonSchema = { }, "constraints": { "$ref": "#/$defs/cc_DurableObjectApplicationConstraints", - "description": "The jurisdiction of a Durable Object-managed application's primary control-plane object.\nSet this when creating the application; it cannot be changed afterwards.\nOther placement constraints are not supported by this scheduling policy.\n" + "description": "The jurisdiction of a Durable Object-managed application's primary control-plane object.\nSet this when creating the application; it cannot be changed afterwards.\nOther placement constraints are not supported by this scheduling policy." }, "durable_objects": { "$ref": "#/$defs/cc_DurableObjectsConfiguration", @@ -118,10 +87,14 @@ export const cc_ContainersCreateDurableObjectApplicationRequest: JsonSchema = { }, "observability": { "$ref": "#/$defs/cc_DurableObjectApplicationObservability", - "description": "Application-wide logging settings for a Durable Object-managed application.\nThe application publishes these settings to its runtime metadata. Updating\nthem does not create a deployment or rollout.\n" + "description": "Application-wide logging settings for a Durable Object-managed application.\nThe application publishes these settings to its runtime metadata. Updating\nthem does not create a deployment or rollout." }, "scheduling_policy": { - "$ref": "#/$defs/cc_DurableObjectApplicationSchedulingPolicy" + "description": "Selects a Durable Object-managed application. Each Durable Object creates and\nmanages the lifecycle of its container instance. Configure application-wide\nobservability settings here. Deployment configuration, scaling, placement\nconstraints, versions, and rollouts do not apply.", + "enum": [ + "durable_object" + ], + "type": "string" } }, "required": [ @@ -136,11 +109,11 @@ export const cc_ContainersCreateDurableObjectApplicationRequest: JsonSchema = { * The schema of `cc_ContainersCreateScheduledApplicationRequest`. */ export const cc_ContainersCreateScheduledApplicationRequest: JsonSchema = { - "description": "Create a scheduler-backed Containers application. The Containers scheduler\nmaintains the requested instance count and applies deployment configuration,\nplacement, scaling, versions, and rollouts.\n", + "description": "Create a scheduler-backed Containers application. The Containers scheduler\nmaintains the requested instance count and applies deployment configuration,\nplacement, scaling, versions, and rollouts.", "properties": { "configuration": { "$ref": "#/$defs/cc_UserDeploymentConfiguration", - "description": "Defines the deployment configuration for every deployment in this application.\n" + "description": "Defines the deployment configuration for every deployment in this application." }, "constraints": { "$ref": "#/$defs/cc_ApplicationConstraints" @@ -163,15 +136,19 @@ export const cc_ContainersCreateScheduledApplicationRequest: JsonSchema = { }, "observability": { "$ref": "#/$defs/cc_ApplicationObservability", - "description": "Top-level observability settings for the application.\nThis field is mutually exclusive with configuration.observability.\n" + "description": "Top-level observability settings for the application.\nThis field is mutually exclusive with configuration.observability." }, "rollout_active_grace_period": { - "$ref": "#/$defs/cc_ApplicationRolloutActiveGracePeriod", "default": 0, - "description": "Grace period for active instances to stay alive before becoming eligible for shutdown signal due to a rollout, in seconds.\nDefaults to 0.\n" + "description": "Grace period for active instances to stay alive before becoming eligible for shutdown signal due to a rollout, in seconds.\nDefaults to 0.", + "type": "integer" }, "scheduling_policy": { - "$ref": "#/$defs/cc_ScheduledApplicationSchedulingPolicy" + "description": "Selects a scheduler-backed application. Use `default` when the Containers\nscheduler should maintain the requested number of instances and manage deployment\nconfiguration, placement, scaling, versions, and rollouts.", + "enum": [ + "default" + ], + "type": "string" } }, "required": [ @@ -208,7 +185,7 @@ export const cc_ContainersModifyApplicationConfiguration: JsonSchema = { * The schema of `cc_ContainersModifyApplicationRequestBody`. */ export const cc_ContainersModifyApplicationRequestBody: JsonSchema = { - "description": "Request body for modifying a Containers application without replacing its instances.\nDurable Object-managed applications support only top-level observability.logs.enabled.\nThe other fields apply to scheduler-backed applications, where deployment configuration\nchanges such as image, resource allocation, command, and environment variables require\nan application rollout.\n", + "description": "Request body for modifying a Containers application without replacing its instances.\nDurable Object-managed applications support only top-level observability.logs.enabled.\nThe other fields apply to scheduler-backed applications, where deployment configuration\nchanges such as image, resource allocation, command, and environment variables require\nan application rollout.", "properties": { "configuration": { "$ref": "#/$defs/cc_ContainersModifyApplicationConfiguration", @@ -223,12 +200,12 @@ export const cc_ContainersModifyApplicationRequestBody: JsonSchema = { }, "observability": { "$ref": "#/$defs/cc_ApplicationObservability", - "description": "Top-level application observability settings. Scheduler-backed applications\nhot-reload these settings across existing instances. An existing Durable\nObject-managed application accepts only `logs.enabled` and publishes these settings\nto runtime metadata without creating deployments or rollouts.\n" + "description": "Top-level application observability settings. Scheduler-backed applications\nhot-reload these settings across existing instances. An existing Durable\nObject-managed application accepts only `logs.enabled` and publishes these settings\nto runtime metadata without creating deployments or rollouts." }, "rollout_active_grace_period": { - "$ref": "#/$defs/cc_ApplicationRolloutActiveGracePeriod", "default": 0, - "description": "Grace period for active instances to stay alive before becoming eligible for shutdown signal due to a rollout, in seconds.\nDefaults to 0.\n" + "description": "Grace period for active instances to stay alive before becoming eligible for shutdown signal due to a rollout, in seconds.\nDefaults to 0.", + "type": "integer" } }, "type": "object" @@ -272,7 +249,7 @@ export const cc_DurableObjectApplicationConfiguration: JsonSchema = { * The schema of `cc_DurableObjectApplicationConstraints`. */ export const cc_DurableObjectApplicationConstraints: JsonSchema = { - "description": "The jurisdiction of a Durable Object-managed application's primary control-plane object.\nSet this when creating the application; it cannot be changed afterwards.\nOther placement constraints are not supported by this scheduling policy.\n", + "description": "The jurisdiction of a Durable Object-managed application's primary control-plane object.\nSet this when creating the application; it cannot be changed afterwards.\nOther placement constraints are not supported by this scheduling policy.", "properties": { "jurisdiction": { "enum": [ @@ -293,7 +270,7 @@ export const cc_DurableObjectApplicationConstraints: JsonSchema = { * The schema of `cc_DurableObjectApplicationObservability`. */ export const cc_DurableObjectApplicationObservability: JsonSchema = { - "description": "Application-wide logging settings for a Durable Object-managed application.\nThe application publishes these settings to its runtime metadata. Updating\nthem does not create a deployment or rollout.\n", + "description": "Application-wide logging settings for a Durable Object-managed application.\nThe application publishes these settings to its runtime metadata. Updating\nthem does not create a deployment or rollout.", "properties": { "logs": { "description": "Application-wide logging settings.", @@ -309,17 +286,6 @@ export const cc_DurableObjectApplicationObservability: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_DurableObjectApplicationSchedulingPolicy`. - */ -export const cc_DurableObjectApplicationSchedulingPolicy: JsonSchema = { - "description": "Selects a Durable Object-managed application. Each Durable Object creates and\nmanages the lifecycle of its container instance. Configure application-wide\nobservability settings here. Deployment configuration, scaling, placement\nconstraints, versions, and rollouts do not apply.\n", - "enum": [ - "durable_object" - ], - "type": "string" -}; - /** * The schema of `cc_DurableObjectsConfiguration`. */ @@ -378,9 +344,9 @@ export const cc_DurableObjectsConfigurationScriptAndClass: JsonSchema = { * The schema of `cc_Entrypoint`. */ export const cc_Entrypoint: JsonSchema = { - "description": "The entry point for the container, specifying the executable to run when the container starts.\nYou can override this at run-time. If you do, the default command from the image is ignored.\nSpecify both entrypoint and command at run-time to completely replace the image defaults.\n", + "description": "The entry point for the container, specifying the executable to run when the container starts.\nYou can override this at run-time. If you do, the default command from the image is ignored.\nSpecify both entrypoint and command at run-time to completely replace the image defaults.", "items": { - "$ref": "#/$defs/cc_ExecFormParam" + "type": "string" }, "type": "array" }; @@ -392,12 +358,12 @@ export const cc_EnvironmentVariable: JsonSchema = { "description": "An environment variable with a value set.", "properties": { "name": { - "$ref": "#/$defs/cc_EnvironmentVariableName", - "description": "An environment variable name." + "description": "An environment variable name.", + "type": "string" }, "value": { - "$ref": "#/$defs/cc_EnvironmentVariableValue", - "description": "An environment variable value." + "description": "An environment variable value.", + "type": "string" } }, "required": [ @@ -407,45 +373,6 @@ export const cc_EnvironmentVariable: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_EnvironmentVariableName`. - */ -export const cc_EnvironmentVariableName: JsonSchema = { - "description": "An environment variable name.", - "type": "string" -}; - -/** - * The schema of `cc_EnvironmentVariableValue`. - */ -export const cc_EnvironmentVariableValue: JsonSchema = { - "description": "An environment variable value.", - "type": "string" -}; - -/** - * The schema of `cc_ExecFormParam`. - */ -export const cc_ExecFormParam: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_InstanceType`. - */ -export const cc_InstanceType: JsonSchema = { - "description": "The instance type configures vCPU, memory, and disk.\n\n- \"lite\": 1/16 vCPU, 256 MiB memory, 2 GB disk\n- \"basic\": 1/4 vCPU, 1 GiB memory, 4 GB disk\n- \"standard-1\": 1/2 vCPU, 4 GiB memory, 8 GB disk\n- \"standard-2\": 1 vCPU, 6 GiB memory, 12 GB disk\n- \"standard-3\": 2 vCPU, 8 GiB memory, 16 GB disk\n- \"standard-4\": 4 vCPU, 12 GiB memory, 20 GB disk\n", - "enum": [ - "lite", - "basic", - "standard-1", - "standard-2", - "standard-3", - "standard-4" - ], - "type": "string" -}; - /** * The schema of `cc_ModifyUserDeploymentConfiguration`. */ @@ -460,11 +387,11 @@ export const cc_ModifyUserDeploymentConfiguration: JsonSchema = { }, "command": { "$ref": "#/$defs/cc_Command", - "description": "The command that runs when the container starts, passed to the entrypoint.\nYou can override this at run-time. If you override only the command,\nit gets passed to the default entrypoint specified in the image.\n" + "description": "The command that runs when the container starts, passed to the entrypoint.\nYou can override this at run-time. If you override only the command,\nit gets passed to the default entrypoint specified in the image." }, "entrypoint": { "$ref": "#/$defs/cc_Entrypoint", - "description": "The entry point for the container, specifying the executable to run when the container starts.\nYou can override this at run-time. If you do, the default command from the image is ignored.\nSpecify both entrypoint and command at run-time to completely replace the image defaults.\n" + "description": "The entry point for the container, specifying the executable to run when the container starts.\nYou can override this at run-time. If you do, the default command from the image is ignored.\nSpecify both entrypoint and command at run-time to completely replace the image defaults." }, "environment_variables": { "description": "Container environment variables.", @@ -474,13 +401,21 @@ export const cc_ModifyUserDeploymentConfiguration: JsonSchema = { "type": "array" }, "image": { - "$ref": "#/$defs/cc_Image", - "description": "Image url." + "description": "Image url.", + "type": "string" }, "instance_type": { - "$ref": "#/$defs/cc_InstanceType", "default": "lite", - "description": "The instance type configures vCPU, memory, and disk.\n\n- \"lite\": 1/16 vCPU, 256 MiB memory, 2 GB disk\n- \"basic\": 1/4 vCPU, 1 GiB memory, 4 GB disk\n- \"standard-1\": 1/2 vCPU, 4 GiB memory, 8 GB disk\n- \"standard-2\": 1 vCPU, 6 GiB memory, 12 GB disk\n- \"standard-3\": 2 vCPU, 8 GiB memory, 16 GB disk\n- \"standard-4\": 4 vCPU, 12 GiB memory, 20 GB disk\n" + "description": "The instance type configures vCPU, memory, and disk.\n\n- \"lite\": 1/16 vCPU, 256 MiB memory, 2 GB disk\n- \"basic\": 1/4 vCPU, 1 GiB memory, 4 GB disk\n- \"standard-1\": 1/2 vCPU, 4 GiB memory, 8 GB disk\n- \"standard-2\": 1 vCPU, 6 GiB memory, 12 GB disk\n- \"standard-3\": 2 vCPU, 8 GiB memory, 16 GB disk\n- \"standard-4\": 4 vCPU, 12 GiB memory, 20 GB disk", + "enum": [ + "lite", + "basic", + "standard-1", + "standard-2", + "standard-3", + "standard-4" + ], + "type": "string" }, "observability": { "$ref": "#/$defs/cc_DeploymentObservability", @@ -504,33 +439,6 @@ export const cc_ObservabilityLogs: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_Region`. - */ -export const cc_Region: JsonSchema = { - "description": "Represents a group of datacenters. Choose one of \"AFR\", \"APAC\", \"EEUR\", \"ENAM\", \"WNAM\", \"ME\", \"OC\", \"SAM\", or \"WEUR\".\n", - "type": "string" -}; - -/** - * The schema of `cc_SSHPublicKey`. - */ -export const cc_SSHPublicKey: JsonSchema = { - "description": "An SSH public key.", - "type": "string" -}; - -/** - * The schema of `cc_ScheduledApplicationSchedulingPolicy`. - */ -export const cc_ScheduledApplicationSchedulingPolicy: JsonSchema = { - "description": "Selects a scheduler-backed application. Use `default` when the Containers\nscheduler should maintain the requested number of instances and manage deployment\nconfiguration, placement, scaling, versions, and rollouts.\n", - "enum": [ - "default" - ], - "type": "string" -}; - /** * The schema of `cc_UserDeploymentConfiguration`. */ @@ -545,11 +453,11 @@ export const cc_UserDeploymentConfiguration: JsonSchema = { }, "command": { "$ref": "#/$defs/cc_Command", - "description": "The command that runs when the container starts, passed to the entrypoint.\nYou can override this at run-time. If you override only the command,\nit gets passed to the default entrypoint specified in the image.\n" + "description": "The command that runs when the container starts, passed to the entrypoint.\nYou can override this at run-time. If you override only the command,\nit gets passed to the default entrypoint specified in the image." }, "entrypoint": { "$ref": "#/$defs/cc_Entrypoint", - "description": "The entry point for the container, specifying the executable to run when the container starts.\nYou can override this at run-time. If you do, the default command from the image is ignored.\nSpecify both entrypoint and command at run-time to completely replace the image defaults.\n" + "description": "The entry point for the container, specifying the executable to run when the container starts.\nYou can override this at run-time. If you do, the default command from the image is ignored.\nSpecify both entrypoint and command at run-time to completely replace the image defaults." }, "environment_variables": { "description": "Container environment variables.", @@ -559,13 +467,21 @@ export const cc_UserDeploymentConfiguration: JsonSchema = { "type": "array" }, "image": { - "$ref": "#/$defs/cc_Image", - "description": "Image url." + "description": "Image url.", + "type": "string" }, "instance_type": { - "$ref": "#/$defs/cc_InstanceType", "default": "lite", - "description": "The instance type configures vCPU, memory, and disk.\n\n- \"lite\": 1/16 vCPU, 256 MiB memory, 2 GB disk\n- \"basic\": 1/4 vCPU, 1 GiB memory, 4 GB disk\n- \"standard-1\": 1/2 vCPU, 4 GiB memory, 8 GB disk\n- \"standard-2\": 1 vCPU, 6 GiB memory, 12 GB disk\n- \"standard-3\": 2 vCPU, 8 GiB memory, 16 GB disk\n- \"standard-4\": 4 vCPU, 12 GiB memory, 20 GB disk\n" + "description": "The instance type configures vCPU, memory, and disk.\n\n- \"lite\": 1/16 vCPU, 256 MiB memory, 2 GB disk\n- \"basic\": 1/4 vCPU, 1 GiB memory, 4 GB disk\n- \"standard-1\": 1/2 vCPU, 4 GiB memory, 8 GB disk\n- \"standard-2\": 1 vCPU, 6 GiB memory, 12 GB disk\n- \"standard-3\": 2 vCPU, 8 GiB memory, 16 GB disk\n- \"standard-4\": 4 vCPU, 12 GiB memory, 20 GB disk", + "enum": [ + "lite", + "basic", + "standard-1", + "standard-2", + "standard-3", + "standard-4" + ], + "type": "string" }, "observability": { "$ref": "#/$defs/cc_DeploymentObservability", @@ -589,8 +505,8 @@ export const cc_UserSSHPublicKey: JsonSchema = { "type": "string" }, "public_key": { - "$ref": "#/$defs/cc_SSHPublicKey", - "description": "An SSH public key." + "description": "An SSH public key.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/containers/applications/tools.ts b/src/generated/forge-mcp/containers/applications/tools.ts index 35bdf468c..92930bcc6 100644 --- a/src/generated/forge-mcp/containers/applications/tools.ts +++ b/src/generated/forge-mcp/containers/applications/tools.ts @@ -3,14 +3,10 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - cc_AccountID, - cc_ISO8601Timestamp, - cc_Image, cc_Messages, cc_V4BaseErrorResponse, cc_V4BaseResponse, } from "../outputs.js"; -import { cc_Image as cc_Image$ } from "../schemas.js"; import { cc_Application, cc_ApplicationConstraints, @@ -19,11 +15,7 @@ import { cc_ApplicationHealthError, cc_ApplicationHealthErrors, cc_ApplicationHealthInstances, - cc_ApplicationID, - cc_ApplicationJurisdiction, - cc_ApplicationName, cc_ApplicationObservability, - cc_ApplicationRolloutActiveGracePeriod, cc_Command, cc_ContainersApplicationResponse, cc_ContainersDeleteApplicationResponseBody, @@ -34,25 +26,12 @@ import { cc_DurableObjectApplicationConstraints, cc_DurableObjectApplicationHealth, cc_DurableObjectApplicationObservability, - cc_DurableObjectApplicationSchedulingPolicy, cc_DurableObjectsConfigurationNamespaceId, cc_Entrypoint, cc_EnvironmentVariable, - cc_EnvironmentVariableName, - cc_EnvironmentVariableValue, - cc_EventName, - cc_EventType, - cc_ExecFormParam, - cc_InstanceID, - cc_InstanceType, cc_ObservabilityLogs, cc_PlacementEvent, - cc_Region, - cc_RolloutID, - cc_SSHPublicKey, cc_ScheduledApplication, - cc_ScheduledApplicationSchedulingPolicy, - cc_SchedulingPolicy, cc_UserDeploymentConfiguration, cc_UserSSHPublicKey, cc_V4PaginatedResultInfo, @@ -60,11 +39,7 @@ import { } from "./outputs.js"; import { cc_ApplicationConstraints as cc_ApplicationConstraints$, - cc_ApplicationID as cc_ApplicationID$, - cc_ApplicationJurisdiction as cc_ApplicationJurisdiction$, - cc_ApplicationName as cc_ApplicationName$, cc_ApplicationObservability as cc_ApplicationObservability$, - cc_ApplicationRolloutActiveGracePeriod as cc_ApplicationRolloutActiveGracePeriod$, cc_Command as cc_Command$, cc_ContainersCreateApplicationRequest, cc_ContainersCreateDurableObjectApplicationRequest, @@ -75,20 +50,12 @@ import { cc_DurableObjectApplicationConfiguration as cc_DurableObjectApplicationConfiguration$, cc_DurableObjectApplicationConstraints as cc_DurableObjectApplicationConstraints$, cc_DurableObjectApplicationObservability as cc_DurableObjectApplicationObservability$, - cc_DurableObjectApplicationSchedulingPolicy as cc_DurableObjectApplicationSchedulingPolicy$, cc_DurableObjectsConfiguration, cc_DurableObjectsConfigurationNamespaceId as cc_DurableObjectsConfigurationNamespaceId$, cc_DurableObjectsConfigurationScriptAndClass, cc_Entrypoint as cc_Entrypoint$, cc_EnvironmentVariable as cc_EnvironmentVariable$, - cc_EnvironmentVariableName as cc_EnvironmentVariableName$, - cc_EnvironmentVariableValue as cc_EnvironmentVariableValue$, - cc_ExecFormParam as cc_ExecFormParam$, - cc_InstanceType as cc_InstanceType$, cc_ObservabilityLogs as cc_ObservabilityLogs$, - cc_Region as cc_Region$, - cc_SSHPublicKey as cc_SSHPublicKey$, - cc_ScheduledApplicationSchedulingPolicy as cc_ScheduledApplicationSchedulingPolicy$, cc_UserDeploymentConfiguration as cc_UserDeploymentConfiguration$, cc_UserSSHPublicKey as cc_UserSSHPublicKey$, cc_WranglerSSHConfig as cc_WranglerSSHConfig$, @@ -101,7 +68,7 @@ export const tools: readonly Tool[] = [ { name: "containers_applications_create", title: "Create a new application", - description: "Create a Containers application.\n\nUse `scheduling_policy: \"default\"` for a scheduler-backed application. The\nContainers scheduler maintains the requested instance count and manages\ndeployment configuration, placement, scaling, versions, and rollouts.\n\nUse `scheduling_policy: \"durable_object\"` for a Durable Object-managed\napplication. Each Durable Object creates and manages the lifecycle of its\ncontainer instance. Supply `name`, `scheduling_policy`, and `durable_objects`,\nwith optional `configuration` and optional top-level `observability` settings.\nDeployment configuration, scaling, constraints, versions, and rollouts do not apply.", + description: "Create a Containers application.\n\nUse `scheduling_policy: \"default\"` for a scheduler-backed application. The\nContainers scheduler maintains the requested instance count and manages\ndeployment configuration, placement, scaling, versions, and rollouts.\n\nUse `scheduling_policy: \"durable_object\"` for a Durable Object-managed\napplication. Each Durable Object creates and manages the lifecycle of its\ncontainer instance. Supply `name`, `scheduling_policy`, and `durable_objects`,\nwith optional `configuration` and optional top-level `observability` settings.\nDeployment configuration, scaling, constraints, versions, and rollouts do not apply.\n\nPOST /accounts/{account_id}/containers/applications", inputSchema: { type: "object", properties: { @@ -109,6 +76,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cc_ContainersCreateApplicationRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -125,11 +93,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cc_ApplicationConstraints": cc_ApplicationConstraints$, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction$, "cc_ApplicationObservability": cc_ApplicationObservability$, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod$, "cc_Command": cc_Command$, "cc_ContainersCreateApplicationRequest": cc_ContainersCreateApplicationRequest, "cc_ContainersCreateDurableObjectApplicationRequest": cc_ContainersCreateDurableObjectApplicationRequest, @@ -138,21 +105,12 @@ export const tools: readonly Tool[] = [ "cc_DurableObjectApplicationConfiguration": cc_DurableObjectApplicationConfiguration$, "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints$, "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability$, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy$, "cc_DurableObjectsConfiguration": cc_DurableObjectsConfiguration, "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId$, "cc_DurableObjectsConfigurationScriptAndClass": cc_DurableObjectsConfigurationScriptAndClass, "cc_Entrypoint": cc_Entrypoint$, "cc_EnvironmentVariable": cc_EnvironmentVariable$, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName$, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue$, - "cc_ExecFormParam": cc_ExecFormParam$, - "cc_Image": cc_Image$, - "cc_InstanceType": cc_InstanceType$, "cc_ObservabilityLogs": cc_ObservabilityLogs$, - "cc_Region": cc_Region$, - "cc_SSHPublicKey": cc_SSHPublicKey$, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy$, "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration$, "cc_UserSSHPublicKey": cc_UserSSHPublicKey$, "cc_WranglerSSHConfig": cc_WranglerSSHConfig$, @@ -176,7 +134,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID, "cc_Application": cc_Application, "cc_ApplicationConstraints": cc_ApplicationConstraints, "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, @@ -184,11 +141,7 @@ export const tools: readonly Tool[] = [ "cc_ApplicationHealthError": cc_ApplicationHealthError, "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, - "cc_ApplicationID": cc_ApplicationID, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationName": cc_ApplicationName, "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, "cc_Command": cc_Command, "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, "cc_DeploymentObservability": cc_DeploymentObservability, @@ -197,28 +150,13 @@ export const tools: readonly Tool[] = [ "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_Region": cc_Region, - "cc_RolloutID": cc_RolloutID, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_ScheduledApplication": cc_ScheduledApplication, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, - "cc_SchedulingPolicy": cc_SchedulingPolicy, "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseResponse": cc_V4BaseResponse, @@ -268,7 +206,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID, "cc_Application": cc_Application, "cc_ApplicationConstraints": cc_ApplicationConstraints, "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, @@ -276,11 +213,7 @@ export const tools: readonly Tool[] = [ "cc_ApplicationHealthError": cc_ApplicationHealthError, "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, - "cc_ApplicationID": cc_ApplicationID, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationName": cc_ApplicationName, "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, "cc_Command": cc_Command, "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, "cc_DeploymentObservability": cc_DeploymentObservability, @@ -289,28 +222,13 @@ export const tools: readonly Tool[] = [ "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_Region": cc_Region, - "cc_RolloutID": cc_RolloutID, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_ScheduledApplication": cc_ScheduledApplication, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, - "cc_SchedulingPolicy": cc_SchedulingPolicy, "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, @@ -326,19 +244,20 @@ export const tools: readonly Tool[] = [ { name: "containers_applications_delete", title: "Delete a single application by id", - description: "Deletes a single application by id.\n\nConfirm with the user before calling this tool. This operation permanently deletes the application and stops its containers.", + description: "Deletes a single application by id.\n\nConfirm with the user before calling this tool. This operation permanently deletes the application and stops its containers.\n\nDELETE /accounts/{account_id}/containers/applications/{application_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", "type": "string" }, "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "description": "An Application ID represents an identifier of an application.", + "type": "string" } }, "required": [ @@ -351,9 +270,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cc_ApplicationID": cc_ApplicationID$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -436,7 +353,7 @@ export const tools: readonly Tool[] = [ { name: "containers_applications_edit", title: "Modify an application", - description: "Modifies a single application by id. Durable Object-managed application settings are\npublished to runtime metadata without creating deployments or rollouts. Top-level\n`observability` for these applications supports only `logs.enabled`.\nThe supported fields depend on the existing\napplication's scheduling policy. For scheduler-backed applications, changes that\nreplace instance deployment configuration, including the image, require a rollout.", + description: "Modifies a single application by id. Durable Object-managed application settings are\npublished to runtime metadata without creating deployments or rollouts. Top-level\n`observability` for these applications supports only `logs.enabled`.\nThe supported fields depend on the existing\napplication's scheduling policy. For scheduler-backed applications, changes that\nreplace instance deployment configuration, including the image, require a rollout.\n\nPATCH /accounts/{account_id}/containers/applications/{application_id}", inputSchema: { type: "object", properties: { @@ -444,14 +361,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cc_ContainersModifyApplicationRequestBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", "type": "string" }, "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "description": "An Application ID represents an identifier of an application.", + "type": "string" } }, "required": [ @@ -465,17 +383,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cc_ApplicationConstraints": cc_ApplicationConstraints$, - "cc_ApplicationID": cc_ApplicationID$, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction$, "cc_ApplicationObservability": cc_ApplicationObservability$, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod$, "cc_ContainersModifyApplicationConfiguration": cc_ContainersModifyApplicationConfiguration, "cc_ContainersModifyApplicationRequestBody": cc_ContainersModifyApplicationRequestBody, "cc_ObservabilityLogs": cc_ObservabilityLogs$, - "cc_Region": cc_Region$, - "cc_SSHPublicKey": cc_SSHPublicKey$, "cc_UserSSHPublicKey": cc_UserSSHPublicKey$, "cc_WranglerSSHConfig": cc_WranglerSSHConfig$, }, @@ -498,7 +412,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID, "cc_Application": cc_Application, "cc_ApplicationConstraints": cc_ApplicationConstraints, "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, @@ -506,11 +419,7 @@ export const tools: readonly Tool[] = [ "cc_ApplicationHealthError": cc_ApplicationHealthError, "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, - "cc_ApplicationID": cc_ApplicationID, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationName": cc_ApplicationName, "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, "cc_Command": cc_Command, "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, "cc_DeploymentObservability": cc_DeploymentObservability, @@ -519,28 +428,13 @@ export const tools: readonly Tool[] = [ "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_Region": cc_Region, - "cc_RolloutID": cc_RolloutID, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_ScheduledApplication": cc_ScheduledApplication, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, - "cc_SchedulingPolicy": cc_SchedulingPolicy, "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseResponse": cc_V4BaseResponse, @@ -598,7 +492,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID, "cc_Application": cc_Application, "cc_ApplicationConstraints": cc_ApplicationConstraints, "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, @@ -606,11 +499,7 @@ export const tools: readonly Tool[] = [ "cc_ApplicationHealthError": cc_ApplicationHealthError, "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, - "cc_ApplicationID": cc_ApplicationID, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationName": cc_ApplicationName, "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, "cc_Command": cc_Command, "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, "cc_DeploymentObservability": cc_DeploymentObservability, @@ -619,28 +508,13 @@ export const tools: readonly Tool[] = [ "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_Region": cc_Region, - "cc_RolloutID": cc_RolloutID, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_ScheduledApplication": cc_ScheduledApplication, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, - "cc_SchedulingPolicy": cc_SchedulingPolicy, "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, @@ -656,19 +530,20 @@ export const tools: readonly Tool[] = [ { name: "containers_applications_get", title: "Get a single application by id", - description: "Returns a single application by id.", + description: "Returns a single application by id.\n\nGET /accounts/{account_id}/containers/applications/{application_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", "type": "string" }, "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "description": "An Application ID represents an identifier of an application.", + "type": "string" } }, "required": [ @@ -681,9 +556,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cc_ApplicationID": cc_ApplicationID$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -703,7 +576,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID, "cc_Application": cc_Application, "cc_ApplicationConstraints": cc_ApplicationConstraints, "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, @@ -711,11 +583,7 @@ export const tools: readonly Tool[] = [ "cc_ApplicationHealthError": cc_ApplicationHealthError, "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, - "cc_ApplicationID": cc_ApplicationID, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationName": cc_ApplicationName, "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, "cc_Command": cc_Command, "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, "cc_DeploymentObservability": cc_DeploymentObservability, @@ -724,28 +592,13 @@ export const tools: readonly Tool[] = [ "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_Region": cc_Region, - "cc_RolloutID": cc_RolloutID, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_ScheduledApplication": cc_ScheduledApplication, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, - "cc_SchedulingPolicy": cc_SchedulingPolicy, "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseResponse": cc_V4BaseResponse, @@ -798,7 +651,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID, "cc_Application": cc_Application, "cc_ApplicationConstraints": cc_ApplicationConstraints, "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, @@ -806,11 +658,7 @@ export const tools: readonly Tool[] = [ "cc_ApplicationHealthError": cc_ApplicationHealthError, "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, - "cc_ApplicationID": cc_ApplicationID, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationName": cc_ApplicationName, "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, "cc_Command": cc_Command, "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, "cc_DeploymentObservability": cc_DeploymentObservability, @@ -819,28 +667,13 @@ export const tools: readonly Tool[] = [ "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_Region": cc_Region, - "cc_RolloutID": cc_RolloutID, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_ScheduledApplication": cc_ScheduledApplication, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, - "cc_SchedulingPolicy": cc_SchedulingPolicy, "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, @@ -855,11 +688,12 @@ export const tools: readonly Tool[] = [ { name: "containers_applications_list", title: "List Applications associated with your account", - description: "Lists all the applications that are associated with your account.", + description: "Lists all the applications that are associated with your account.\n\nGET /accounts/{account_id}/containers/applications", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -872,14 +706,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "image": { - "$ref": "#/$defs/cc_Image", - "description": "Filter applications by image." + "description": "Filter applications by image.", + "type": "string" }, "name": { - "$ref": "#/$defs/cc_ApplicationName", - "description": "Filter applications by name." + "description": "Filter applications by name.", + "type": "string" }, "page_token": { "description": "Opaque token from a previous response to retrieve the next page.", @@ -896,10 +731,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cc_ApplicationName": cc_ApplicationName$, - "cc_Image": cc_Image$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -923,7 +755,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID, "cc_Application": cc_Application, "cc_ApplicationConstraints": cc_ApplicationConstraints, "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, @@ -931,11 +762,7 @@ export const tools: readonly Tool[] = [ "cc_ApplicationHealthError": cc_ApplicationHealthError, "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, - "cc_ApplicationID": cc_ApplicationID, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationName": cc_ApplicationName, "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, "cc_Command": cc_Command, "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, "cc_ContainersListApplications": cc_ContainersListApplications, @@ -945,28 +772,13 @@ export const tools: readonly Tool[] = [ "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_Region": cc_Region, - "cc_RolloutID": cc_RolloutID, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_ScheduledApplication": cc_ScheduledApplication, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, - "cc_SchedulingPolicy": cc_SchedulingPolicy, "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseResponse": cc_V4BaseResponse, @@ -1025,7 +837,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID, "cc_Application": cc_Application, "cc_ApplicationConstraints": cc_ApplicationConstraints, "cc_ApplicationDurableObjectsConfiguration": cc_ApplicationDurableObjectsConfiguration, @@ -1033,11 +844,7 @@ export const tools: readonly Tool[] = [ "cc_ApplicationHealthError": cc_ApplicationHealthError, "cc_ApplicationHealthErrors": cc_ApplicationHealthErrors, "cc_ApplicationHealthInstances": cc_ApplicationHealthInstances, - "cc_ApplicationID": cc_ApplicationID, - "cc_ApplicationJurisdiction": cc_ApplicationJurisdiction, - "cc_ApplicationName": cc_ApplicationName, "cc_ApplicationObservability": cc_ApplicationObservability, - "cc_ApplicationRolloutActiveGracePeriod": cc_ApplicationRolloutActiveGracePeriod, "cc_Command": cc_Command, "cc_ContainersApplicationResponse": cc_ContainersApplicationResponse, "cc_ContainersListApplications": cc_ContainersListApplications, @@ -1047,28 +854,13 @@ export const tools: readonly Tool[] = [ "cc_DurableObjectApplicationConstraints": cc_DurableObjectApplicationConstraints, "cc_DurableObjectApplicationHealth": cc_DurableObjectApplicationHealth, "cc_DurableObjectApplicationObservability": cc_DurableObjectApplicationObservability, - "cc_DurableObjectApplicationSchedulingPolicy": cc_DurableObjectApplicationSchedulingPolicy, "cc_DurableObjectsConfigurationNamespaceId": cc_DurableObjectsConfigurationNamespaceId, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_EventName": cc_EventName, - "cc_EventType": cc_EventType, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, - "cc_Image": cc_Image, - "cc_InstanceID": cc_InstanceID, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ObservabilityLogs": cc_ObservabilityLogs, "cc_PlacementEvent": cc_PlacementEvent, - "cc_Region": cc_Region, - "cc_RolloutID": cc_RolloutID, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_ScheduledApplication": cc_ScheduledApplication, - "cc_ScheduledApplicationSchedulingPolicy": cc_ScheduledApplicationSchedulingPolicy, - "cc_SchedulingPolicy": cc_SchedulingPolicy, "cc_UserDeploymentConfiguration": cc_UserDeploymentConfiguration, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, diff --git a/src/generated/forge-mcp/containers/applications/versions/tools.ts b/src/generated/forge-mcp/containers/applications/versions/tools.ts index 19b27b084..569bfad3d 100644 --- a/src/generated/forge-mcp/containers/applications/versions/tools.ts +++ b/src/generated/forge-mcp/containers/applications/versions/tools.ts @@ -3,7 +3,6 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cc_Image, cc_Messages, cc_V4BaseErrorResponse, cc_V4BaseResponse, @@ -13,16 +12,10 @@ import { cc_DeploymentObservability, cc_Entrypoint, cc_EnvironmentVariable, - cc_EnvironmentVariableName, - cc_EnvironmentVariableValue, - cc_ExecFormParam, - cc_InstanceType, cc_ModifyUserDeploymentConfiguration, cc_ObservabilityLogs, - cc_SSHPublicKey, cc_UserSSHPublicKey, } from "../outputs.js"; -import { cc_ApplicationID } from "../schemas.js"; import { cc_ApplicationVersion } from "./outputs.js"; /** @@ -32,19 +25,20 @@ export const tools: readonly Tool[] = [ { name: "containers_applications_versions_list", title: "List all application versions", - description: "Returns all versions for a scheduler-backed application with\n`scheduling_policy: \"default\"`. Versions and rollouts do not apply to\napplications with `scheduling_policy: \"durable_object\"`.", + description: "Returns all versions for a scheduler-backed application with\n`scheduling_policy: \"default\"`. Versions and rollouts do not apply to\napplications with `scheduling_policy: \"durable_object\"`.\n\nGET /accounts/{account_id}/containers/applications/{application_id}/versions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", "type": "string" }, "application_id": { - "$ref": "#/$defs/cc_ApplicationID", - "description": "An Application ID represents an identifier of an application." + "description": "An Application ID represents an identifier of an application.", + "type": "string" } }, "required": [ @@ -57,9 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cc_ApplicationID": cc_ApplicationID, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -87,15 +79,9 @@ export const tools: readonly Tool[] = [ "cc_DeploymentObservability": cc_DeploymentObservability, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_Image": cc_Image, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration, "cc_ObservabilityLogs": cc_ObservabilityLogs, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseResponse": cc_V4BaseResponse, }, @@ -154,15 +140,9 @@ export const tools: readonly Tool[] = [ "cc_DeploymentObservability": cc_DeploymentObservability, "cc_Entrypoint": cc_Entrypoint, "cc_EnvironmentVariable": cc_EnvironmentVariable, - "cc_EnvironmentVariableName": cc_EnvironmentVariableName, - "cc_EnvironmentVariableValue": cc_EnvironmentVariableValue, - "cc_ExecFormParam": cc_ExecFormParam, - "cc_Image": cc_Image, - "cc_InstanceType": cc_InstanceType, "cc_Messages": cc_Messages, "cc_ModifyUserDeploymentConfiguration": cc_ModifyUserDeploymentConfiguration, "cc_ObservabilityLogs": cc_ObservabilityLogs, - "cc_SSHPublicKey": cc_SSHPublicKey, "cc_UserSSHPublicKey": cc_UserSSHPublicKey, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, "cc_V4BaseResponse": cc_V4BaseResponse, diff --git a/src/generated/forge-mcp/containers/images/outputs.ts b/src/generated/forge-mcp/containers/images/outputs.ts index 64d9f6b41..88b9edef8 100644 --- a/src/generated/forge-mcp/containers/images/outputs.ts +++ b/src/generated/forge-mcp/containers/images/outputs.ts @@ -12,13 +12,18 @@ export const cc_ContainerImagePreparation: JsonSchema = { "type": "string" }, "image": { - "$ref": "#/$defs/cc_Image" + "type": "string" }, "reason": { "type": "string" }, "status": { - "$ref": "#/$defs/cc_ContainerImagePreparationStatus" + "enum": [ + "pending", + "ready", + "error" + ], + "type": "string" } }, "required": [ @@ -27,15 +32,3 @@ export const cc_ContainerImagePreparation: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `cc_ContainerImagePreparationStatus` in responses. - */ -export const cc_ContainerImagePreparationStatus: JsonSchema = { - "enum": [ - "pending", - "ready", - "error" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/containers/images/schemas.ts b/src/generated/forge-mcp/containers/images/schemas.ts index 9fce58a8d..d7c0668af 100644 --- a/src/generated/forge-mcp/containers/images/schemas.ts +++ b/src/generated/forge-mcp/containers/images/schemas.ts @@ -10,8 +10,8 @@ export const cc_PrepareContainerImageRequestBody: JsonSchema = { "description": "A digest-pinned managed container image to prepare for the new runtime.", "properties": { "image": { - "$ref": "#/$defs/cc_Image", - "description": "Image url." + "description": "Image url.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/containers/images/tools.ts b/src/generated/forge-mcp/containers/images/tools.ts index cbffc31ed..64daa8388 100644 --- a/src/generated/forge-mcp/containers/images/tools.ts +++ b/src/generated/forge-mcp/containers/images/tools.ts @@ -3,16 +3,11 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cc_Image, cc_Messages, cc_V4BaseErrorResponse, cc_V4BaseResponse, } from "../outputs.js"; -import { cc_Image as cc_Image$ } from "../schemas.js"; -import { - cc_ContainerImagePreparation, - cc_ContainerImagePreparationStatus, -} from "./outputs.js"; +import { cc_ContainerImagePreparation } from "./outputs.js"; import { cc_PrepareContainerImageRequestBody } from "./schemas.js"; /** @@ -22,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "containers_images_prepare", title: "Prepare a container image", - description: "Idempotently starts or observes preparation of the runtime artifacts required to run one digest-pinned managed container image on Cloudflare's network. Returns 202 while durable preparation continues and 200 when the image is ready or preparation has reached a terminal error.", + description: "Idempotently starts or observes preparation of the runtime artifacts required to run one digest-pinned managed container image on Cloudflare's network. Returns 202 while durable preparation continues and 200 when the image is ready or preparation has reached a terminal error.\n\nPOST /accounts/{account_id}/containers/image-preparations", inputSchema: { type: "object", properties: { @@ -30,6 +25,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cc_PrepareContainerImageRequestBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -46,8 +42,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cc_Image": cc_Image$, "cc_PrepareContainerImageRequestBody": cc_PrepareContainerImageRequestBody, }, }, @@ -70,8 +66,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "cc_ContainerImagePreparation": cc_ContainerImagePreparation, - "cc_ContainerImagePreparationStatus": cc_ContainerImagePreparationStatus, - "cc_Image": cc_Image, "cc_Messages": cc_Messages, "cc_V4BaseResponse": cc_V4BaseResponse, }, @@ -138,8 +132,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "cc_ContainerImagePreparation": cc_ContainerImagePreparation, - "cc_ContainerImagePreparationStatus": cc_ContainerImagePreparationStatus, - "cc_Image": cc_Image, "cc_Messages": cc_Messages, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, "cc_V4BaseResponse": cc_V4BaseResponse, diff --git a/src/generated/forge-mcp/containers/outputs.ts b/src/generated/forge-mcp/containers/outputs.ts index c89a6667e..1f2c24ab1 100644 --- a/src/generated/forge-mcp/containers/outputs.ts +++ b/src/generated/forge-mcp/containers/outputs.ts @@ -3,27 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `cc_AccountID` in responses. - */ -export const cc_AccountID: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_ISO8601Timestamp` in responses. - */ -export const cc_ISO8601Timestamp: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_Image` in responses. - */ -export const cc_Image: JsonSchema = { - "type": "string" -}; - /** * The schema of `cc_Messages` in responses. */ diff --git a/src/generated/forge-mcp/containers/registries/credentials/outputs.ts b/src/generated/forge-mcp/containers/registries/credentials/outputs.ts index 1668c35e9..95d0dc557 100644 --- a/src/generated/forge-mcp/containers/registries/credentials/outputs.ts +++ b/src/generated/forge-mcp/containers/registries/credentials/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../../_/tool.js"; export const cc_ContainersAccountRegistryToken: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/cc_AccountID" + "type": "string" }, "password": { "type": "string" diff --git a/src/generated/forge-mcp/containers/registries/credentials/schemas.ts b/src/generated/forge-mcp/containers/registries/credentials/schemas.ts index 9818a422e..d81c95573 100644 --- a/src/generated/forge-mcp/containers/registries/credentials/schemas.ts +++ b/src/generated/forge-mcp/containers/registries/credentials/schemas.ts @@ -16,23 +16,16 @@ export const cc_ImageRegistryCredentialsConfiguration: JsonSchema = { "permissions": { "description": "The permissions for Cloudflare managed registry credentials. Required for managed registries. Cloudflare ignores this value for external registries.", "items": { - "$ref": "#/$defs/cc_ImageRegistryPermissions" + "description": "Specifies what permissions the credentials carry.", + "enum": [ + "pull", + "push", + "list" + ], + "type": "string" }, "type": "array" } }, "type": "object" }; - -/** - * The schema of `cc_ImageRegistryPermissions`. - */ -export const cc_ImageRegistryPermissions: JsonSchema = { - "description": "Specifies what permissions the credentials carry.", - "enum": [ - "pull", - "push", - "list" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/containers/registries/credentials/tools.ts b/src/generated/forge-mcp/containers/registries/credentials/tools.ts index 3309a1b78..0f651cc02 100644 --- a/src/generated/forge-mcp/containers/registries/credentials/tools.ts +++ b/src/generated/forge-mcp/containers/registries/credentials/tools.ts @@ -3,16 +3,12 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - cc_AccountID, cc_Messages, cc_V4BaseErrorResponse, cc_V4BaseResponse, } from "../../outputs.js"; import { cc_ContainersAccountRegistryToken } from "./outputs.js"; -import { - cc_ImageRegistryCredentialsConfiguration, - cc_ImageRegistryPermissions, -} from "./schemas.js"; +import { cc_ImageRegistryCredentialsConfiguration } from "./schemas.js"; /** * The tools of `containers.registries.credentials`. @@ -21,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "containers_registries_credentials_generate", title: "Generate a JWT to interact with the specified image registry.", - description: "Generates credentials for accessing a configured container image registry.", + description: "Generates credentials for accessing a configured container image registry.\n\nPOST /accounts/{account_id}/containers/registries/{domain}/credentials", inputSchema: { type: "object", properties: { @@ -29,6 +25,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cc_ImageRegistryCredentialsConfiguration" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -50,9 +47,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cc_ImageRegistryCredentialsConfiguration": cc_ImageRegistryCredentialsConfiguration, - "cc_ImageRegistryPermissions": cc_ImageRegistryPermissions, }, }, outputSchema: { @@ -73,7 +70,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "cc_AccountID": cc_AccountID, "cc_ContainersAccountRegistryToken": cc_ContainersAccountRegistryToken, "cc_Messages": cc_Messages, "cc_V4BaseResponse": cc_V4BaseResponse, @@ -125,7 +121,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "cc_AccountID": cc_AccountID, "cc_ContainersAccountRegistryToken": cc_ContainersAccountRegistryToken, "cc_Messages": cc_Messages, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, diff --git a/src/generated/forge-mcp/containers/registries/outputs.ts b/src/generated/forge-mcp/containers/registries/outputs.ts index b49df27bb..b47ad5252 100644 --- a/src/generated/forge-mcp/containers/registries/outputs.ts +++ b/src/generated/forge-mcp/containers/registries/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../_/tool.js"; export const cc_ContainersDeleteImageRegistryResponseBody: JsonSchema = { "properties": { "domain": { - "$ref": "#/$defs/cc_Domain" + "type": "string" } }, "required": [ @@ -24,18 +24,26 @@ export const cc_ContainersDeleteImageRegistryResponseBody: JsonSchema = { export const cc_CustomerImageRegistry: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/cc_ISO8601Timestamp" + "type": "string" }, "domain": { - "$ref": "#/$defs/cc_Domain" + "type": "string" }, "kind": { "oneOf": [ { - "$ref": "#/$defs/cc_ExternalRegistryKind" + "enum": [ + "ECR", + "DockerHub", + "GAR" + ], + "type": "string" }, { - "$ref": "#/$defs/cc_DefaultImageRegistryKind" + "enum": [ + "default" + ], + "type": "string" } ] }, @@ -49,32 +57,3 @@ export const cc_CustomerImageRegistry: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `cc_DefaultImageRegistryKind` in responses. - */ -export const cc_DefaultImageRegistryKind: JsonSchema = { - "enum": [ - "default" - ], - "type": "string" -}; - -/** - * The schema of `cc_Domain` in responses. - */ -export const cc_Domain: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cc_ExternalRegistryKind` in responses. - */ -export const cc_ExternalRegistryKind: JsonSchema = { - "enum": [ - "ECR", - "DockerHub", - "GAR" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/containers/registries/schemas.ts b/src/generated/forge-mcp/containers/registries/schemas.ts index a9db4a794..1bb591494 100644 --- a/src/generated/forge-mcp/containers/registries/schemas.ts +++ b/src/generated/forge-mcp/containers/registries/schemas.ts @@ -7,26 +7,31 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `cc_ContainersCreateImageRegistryRequestBody`. */ export const cc_ContainersCreateImageRegistryRequestBody: JsonSchema = { - "description": "Configuration for connecting Containers to a supported private external image\nregistry. See [Image management](https://developers.cloudflare.com/containers/platform-details/image-management/)\nfor supported providers and credential setup instructions.\n", + "description": "Configuration for connecting Containers to a supported private external image\nregistry. See [Image management](https://developers.cloudflare.com/containers/platform-details/image-management/)\nfor supported providers and credential setup instructions.", "properties": { "auth": { "$ref": "#/$defs/cc_ContainersImageRegistryAuth", - "description": "Credentials for authenticating to a private external image registry. Store the\nprivate credential in [Secrets Store](https://developers.cloudflare.com/secrets-store/)\nbefore calling the API. Refer to [Image management](https://developers.cloudflare.com/containers/platform-details/image-management/)\nfor the credential required by each supported registry provider.\n" + "description": "Credentials for authenticating to a private external image registry. Store the\nprivate credential in [Secrets Store](https://developers.cloudflare.com/secrets-store/)\nbefore calling the API. Refer to [Image management](https://developers.cloudflare.com/containers/platform-details/image-management/)\nfor the credential required by each supported registry provider." }, "domain": { - "description": "Hostname of the private registry, without a scheme or image path. Supported\nhostnames are `docker.io`, AWS ECR hostnames, and Google Artifact Registry\n`*-docker.pkg.dev` hostnames.\n", + "description": "Hostname of the private registry, without a scheme or image path. Supported\nhostnames are `docker.io`, AWS ECR hostnames, and Google Artifact Registry\n`*-docker.pkg.dev` hostnames.", "type": "string" }, "is_public": { - "description": "Omit this field or set it to `false`. Public Docker Hub images do not require\nregistry configuration and cannot be added with this endpoint.\n", + "description": "Omit this field or set it to `false`. Public Docker Hub images do not require\nregistry configuration and cannot be added with this endpoint.", "enum": [ false ], "type": "boolean" }, "kind": { - "$ref": "#/$defs/cc_ExternalRegistryKind", - "description": "Registry provider. This must match `domain`: `DockerHub` for `docker.io`,\n`ECR` for AWS ECR, or `GAR` for Google Artifact Registry.\n" + "description": "Registry provider. This must match `domain`: `DockerHub` for `docker.io`,\n`ECR` for AWS ECR, or `GAR` for Google Artifact Registry.", + "enum": [ + "ECR", + "DockerHub", + "GAR" + ], + "type": "string" } }, "required": [ @@ -41,14 +46,14 @@ export const cc_ContainersCreateImageRegistryRequestBody: JsonSchema = { * The schema of `cc_ContainersImageRegistryAuth`. */ export const cc_ContainersImageRegistryAuth: JsonSchema = { - "description": "Credentials for authenticating to a private external image registry. Store the\nprivate credential in [Secrets Store](https://developers.cloudflare.com/secrets-store/)\nbefore calling the API. Refer to [Image management](https://developers.cloudflare.com/containers/platform-details/image-management/)\nfor the credential required by each supported registry provider.\n", + "description": "Credentials for authenticating to a private external image registry. Store the\nprivate credential in [Secrets Store](https://developers.cloudflare.com/secrets-store/)\nbefore calling the API. Refer to [Image management](https://developers.cloudflare.com/containers/platform-details/image-management/)\nfor the credential required by each supported registry provider.", "properties": { "private_credential": { "$ref": "#/$defs/cc_SecretsStoreRef", - "description": "A reference to the private registry credential in Secrets Store. The referenced\nsecret must have the `containers` scope. Raw secret values are not accepted.\n" + "description": "A reference to the private registry credential in Secrets Store. The referenced\nsecret must have the `containers` scope. Raw secret values are not accepted." }, "public_credential": { - "description": "The non-secret part of the registry credential: an AWS access key ID for ECR,\na username for Docker Hub, or a service account email for Google Artifact Registry.\n", + "description": "The non-secret part of the registry credential: an AWS access key ID for ECR,\na username for Docker Hub, or a service account email for Google Artifact Registry.", "type": "string" } }, @@ -59,24 +64,11 @@ export const cc_ContainersImageRegistryAuth: JsonSchema = { "type": "object" }; -/** - * The schema of `cc_ExternalRegistryKind`. - */ -export const cc_ExternalRegistryKind: JsonSchema = { - "description": "The type of external registry that is being configured.", - "enum": [ - "ECR", - "DockerHub", - "GAR" - ], - "type": "string" -}; - /** * The schema of `cc_SecretsStoreRef`. */ export const cc_SecretsStoreRef: JsonSchema = { - "description": "Identifies an existing secret in [Secrets Store](https://developers.cloudflare.com/secrets-store/).\nThis reference does not contain or upload the secret value.\n", + "description": "Identifies an existing secret in [Secrets Store](https://developers.cloudflare.com/secrets-store/).\nThis reference does not contain or upload the secret value.", "properties": { "secret_name": { "description": "Name of the secret within the store.", diff --git a/src/generated/forge-mcp/containers/registries/tools.ts b/src/generated/forge-mcp/containers/registries/tools.ts index 0b21165be..8a75338b2 100644 --- a/src/generated/forge-mcp/containers/registries/tools.ts +++ b/src/generated/forge-mcp/containers/registries/tools.ts @@ -3,7 +3,6 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - cc_ISO8601Timestamp, cc_Messages, cc_V4BaseErrorResponse, cc_V4BaseResponse, @@ -11,14 +10,10 @@ import { import { cc_ContainersDeleteImageRegistryResponseBody, cc_CustomerImageRegistry, - cc_DefaultImageRegistryKind, - cc_Domain, - cc_ExternalRegistryKind, } from "./outputs.js"; import { cc_ContainersCreateImageRegistryRequestBody, cc_ContainersImageRegistryAuth, - cc_ExternalRegistryKind as cc_ExternalRegistryKind$, cc_SecretsStoreRef, } from "./schemas.js"; @@ -29,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "containers_registries_create", title: "Configure a private external image registry", - description: "Registers credentials for a supported private external image registry so\nContainers can pull images from it. This endpoint does not create a registry\nor upload an image. Public Docker Hub images and images in the Cloudflare\nmanaged registry do not require this configuration.\n\nRefer to [Image management](https://developers.cloudflare.com/containers/platform-details/image-management/)\nfor supported registries and instructions for storing registry credentials.", + description: "Registers credentials for a supported private external image registry so\nContainers can pull images from it. This endpoint does not create a registry\nor upload an image. Public Docker Hub images and images in the Cloudflare\nmanaged registry do not require this configuration.\n\nRefer to [Image management](https://developers.cloudflare.com/containers/platform-details/image-management/)\nfor supported registries and instructions for storing registry credentials.\n\nPOST /accounts/{account_id}/containers/registries", inputSchema: { type: "object", properties: { @@ -37,6 +32,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cc_ContainersCreateImageRegistryRequestBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -53,10 +49,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cc_ContainersCreateImageRegistryRequestBody": cc_ContainersCreateImageRegistryRequestBody, "cc_ContainersImageRegistryAuth": cc_ContainersImageRegistryAuth, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind$, "cc_SecretsStoreRef": cc_SecretsStoreRef, }, }, @@ -79,10 +75,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "cc_CustomerImageRegistry": cc_CustomerImageRegistry, - "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind, - "cc_Domain": cc_Domain, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, "cc_Messages": cc_Messages, "cc_V4BaseResponse": cc_V4BaseResponse, }, @@ -136,10 +128,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "cc_CustomerImageRegistry": cc_CustomerImageRegistry, - "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind, - "cc_Domain": cc_Domain, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, "cc_Messages": cc_Messages, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, "cc_V4BaseResponse": cc_V4BaseResponse, @@ -153,11 +141,12 @@ export const tools: readonly Tool[] = [ { name: "containers_registries_delete", title: "Delete a registry from the account", - description: "Delete a registry from the account, this will prevent Containers from pulling images from the registry.\n\nConfirm with the user before calling this tool. This operation deletes the registry configuration. Containers will no longer be able to pull images from it.", + description: "Delete a registry from the account, this will prevent Containers from pulling images from the registry.\n\nConfirm with the user before calling this tool. This operation deletes the registry configuration. Containers will no longer be able to pull images from it.\n\nDELETE /accounts/{account_id}/containers/registries/{domain}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -178,6 +167,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -198,7 +188,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "cc_ContainersDeleteImageRegistryResponseBody": cc_ContainersDeleteImageRegistryResponseBody, - "cc_Domain": cc_Domain, "cc_Messages": cc_Messages, "cc_V4BaseResponse": cc_V4BaseResponse, }, @@ -252,7 +241,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "cc_ContainersDeleteImageRegistryResponseBody": cc_ContainersDeleteImageRegistryResponseBody, - "cc_Domain": cc_Domain, "cc_Messages": cc_Messages, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, "cc_V4BaseResponse": cc_V4BaseResponse, @@ -265,11 +253,12 @@ export const tools: readonly Tool[] = [ { name: "containers_registries_list", title: "Get the list of configured registries in the account", - description: "Get the list of configured registries in the account.", + description: "Get the list of configured registries in the account.\n\nGET /accounts/{account_id}/containers/registries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -285,6 +274,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -308,10 +298,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "cc_CustomerImageRegistry": cc_CustomerImageRegistry, - "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind, - "cc_Domain": cc_Domain, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, "cc_Messages": cc_Messages, "cc_V4BaseResponse": cc_V4BaseResponse, }, @@ -363,10 +349,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "cc_CustomerImageRegistry": cc_CustomerImageRegistry, - "cc_DefaultImageRegistryKind": cc_DefaultImageRegistryKind, - "cc_Domain": cc_Domain, - "cc_ExternalRegistryKind": cc_ExternalRegistryKind, - "cc_ISO8601Timestamp": cc_ISO8601Timestamp, "cc_Messages": cc_Messages, "cc_V4BaseErrorResponse": cc_V4BaseErrorResponse, "cc_V4BaseResponse": cc_V4BaseResponse, diff --git a/src/generated/forge-mcp/containers/schemas.ts b/src/generated/forge-mcp/containers/schemas.ts deleted file mode 100644 index 07d6b7849..000000000 --- a/src/generated/forge-mcp/containers/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `cc_Image`. - */ -export const cc_Image: JsonSchema = { - "description": "Image url.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/contentScan/expressions/outputs.ts b/src/generated/forge-mcp/contentScan/expressions/outputs.ts index 878e9cd02..9d26a73d1 100644 --- a/src/generated/forge-mcp/contentScan/expressions/outputs.ts +++ b/src/generated/forge-mcp/contentScan/expressions/outputs.ts @@ -39,29 +39,15 @@ export const waf$$product$$api$$bundle_api$$response$$collection$$2: JsonSchema export const waf$$product$$api$$bundle_custom$$scan: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/waf-product-api-bundle_custom-scan-id" + "type": "string" }, "payload": { - "$ref": "#/$defs/waf-product-api-bundle_custom-scan-payload" + "type": "string" } }, "type": "object" }; -/** - * The schema of `waf-product-api-bundle_custom-scan-id` in responses. - */ -export const waf$$product$$api$$bundle_custom$$scan$$id: JsonSchema = { - "$ref": "#/$defs/waf-product-api-bundle_identifier" -}; - -/** - * The schema of `waf-product-api-bundle_custom-scan-payload` in responses. - */ -export const waf$$product$$api$$bundle_custom$$scan$$payload: JsonSchema = { - "type": "string" -}; - /** * The schema of `waf-product-api-bundle_response-custom-scan-collection` in * responses. diff --git a/src/generated/forge-mcp/contentScan/expressions/schemas.ts b/src/generated/forge-mcp/contentScan/expressions/schemas.ts deleted file mode 100644 index 66c05a492..000000000 --- a/src/generated/forge-mcp/contentScan/expressions/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `waf-product-api-bundle_custom-scan-id`. - */ -export const waf$$product$$api$$bundle_custom$$scan$$id: JsonSchema = { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines the unique ID for this Content Scanning custom expression." -}; - -/** - * The schema of `waf-product-api-bundle_custom-scan-payload`. - */ -export const waf$$product$$api$$bundle_custom$$scan$$payload: JsonSchema = { - "description": "Defines the custom content extraction expression used to reach content objects in the request.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/contentScan/expressions/tools.ts b/src/generated/forge-mcp/contentScan/expressions/tools.ts index 192641323..faa4074cd 100644 --- a/src/generated/forge-mcp/contentScan/expressions/tools.ts +++ b/src/generated/forge-mcp/contentScan/expressions/tools.ts @@ -2,11 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - waf$$product$$api$$bundle_identifier, - waf$$product$$api$$bundle_messages, -} from "../../outputs.js"; -import { waf$$product$$api$$bundle_identifier as waf$$product$$api$$bundle_identifier$ } from "../../schemas.js"; +import { waf$$product$$api$$bundle_messages } from "../../outputs.js"; import { waf$$product$$api$$bundle_api$$response$$common$$2, waf$$product$$api$$bundle_api$$response$$common$$failure$$2, @@ -14,14 +10,8 @@ import { import { waf$$product$$api$$bundle_api$$response$$collection$$2, waf$$product$$api$$bundle_custom$$scan, - waf$$product$$api$$bundle_custom$$scan$$id, - waf$$product$$api$$bundle_custom$$scan$$payload, waf$$product$$api$$bundle_response$$custom$$scan$$collection, } from "./outputs.js"; -import { - waf$$product$$api$$bundle_custom$$scan$$id as waf$$product$$api$$bundle_custom$$scan$$id$, - waf$$product$$api$$bundle_custom$$scan$$payload as waf$$product$$api$$bundle_custom$$scan$$payload$, -} from "./schemas.js"; /** * The tools of `contentScan.expressions`. @@ -30,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "contentScan_expressions_create", title: "Create Content Scanning custom expressions for a zone.", - description: "Create one or more Content Scanning custom expressions, appending them to the existing list of the zone, and return the updated list. Each expression reaches content objects the scanner cannot find automatically, for example `lookup_json_string(http.request.body.raw, \"file\")`.", + description: "Create one or more Content Scanning custom expressions, appending them to the existing list of the zone, and return the updated list. Each expression reaches content objects the scanner cannot find automatically, for example `lookup_json_string(http.request.body.raw, \"file\")`.\n\nPOST /zones/{zone_id}/content-upload-scan/payloads", inputSchema: { type: "object", properties: { @@ -39,8 +29,8 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "payload": { - "$ref": "#/$defs/waf-product-api-bundle_custom-scan-payload", - "description": "Defines the custom content extraction expression used to reach content objects in the request." + "description": "Defines the custom content extraction expression used to reach content objects in the request.", + "type": "string" } }, "required": [ @@ -51,10 +41,11 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -67,10 +58,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload$, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection", @@ -78,9 +66,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, @@ -121,9 +106,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, @@ -136,19 +118,20 @@ export const tools: readonly Tool[] = [ { name: "contentScan_expressions_delete", title: "Delete a Content Scanning custom expression from a zone.", - description: "Delete the Content Scanning custom expression with the given identifier and return the expressions that remain. Content objects reached only by the deleted expression are no longer scanned.\n\nConfirm with the user before calling this tool. This operation deletes a Content Scanning custom expression.", + description: "Delete the Content Scanning custom expression with the given identifier and return the expressions that remain. Content objects reached only by the deleted expression are no longer scanned.\n\nConfirm with the user before calling this tool. This operation deletes a Content Scanning custom expression.\n\nDELETE /zones/{zone_id}/content-upload-scan/payloads/{expression_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "expression_id": { - "$ref": "#/$defs/waf-product-api-bundle_custom-scan-id", - "description": "Defines the unique ID for this Content Scanning custom expression." + "description": "Defines the unique ID for this Content Scanning custom expression.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -161,10 +144,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id$, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection", @@ -172,9 +152,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, @@ -215,9 +192,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, @@ -229,15 +203,16 @@ export const tools: readonly Tool[] = [ { name: "contentScan_expressions_list", title: "List the Content Scanning custom expressions of a zone.", - description: "List the Content Scanning custom expressions configured for the zone, each with its own identifier. A custom expression tells the scanner how to reach content objects in a request it cannot parse on its own, such as files Base64-encoded inside a JSON body.", + description: "List the Content Scanning custom expressions configured for the zone, each with its own identifier. A custom expression tells the scanner how to reach content objects in a request it cannot parse on its own, such as files Base64-encoded inside a JSON body.\n\nGET /zones/{zone_id}/content-upload-scan/payloads", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -249,9 +224,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection", @@ -259,9 +232,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, @@ -304,9 +274,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, @@ -318,7 +285,7 @@ export const tools: readonly Tool[] = [ { name: "contentScan_expressions_update", title: "Update a Content Scanning custom expression for a zone.", - description: "Update the Content Scanning custom expression with the given identifier and return the updated list of expressions.", + description: "Update the Content Scanning custom expression with the given identifier and return the updated list of expressions.\n\nPATCH /zones/{zone_id}/content-upload-scan/payloads/{expression_id}", inputSchema: { type: "object", properties: { @@ -326,8 +293,8 @@ export const tools: readonly Tool[] = [ "description": "Content Scanning custom expression to update.", "properties": { "payload": { - "$ref": "#/$defs/waf-product-api-bundle_custom-scan-payload", - "description": "Defines the custom content extraction expression used to reach content objects in the request." + "description": "Defines the custom content extraction expression used to reach content objects in the request.", + "type": "string" } }, "required": [ @@ -336,14 +303,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "expression_id": { - "$ref": "#/$defs/waf-product-api-bundle_custom-scan-id", - "description": "Defines the unique ID for this Content Scanning custom expression." + "description": "Defines the unique ID for this Content Scanning custom expression.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -357,11 +325,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id$, - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload$, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-scan-collection", @@ -369,9 +333,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-collection-2": waf$$product$$api$$bundle_api$$response$$collection$$2, "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, @@ -412,9 +373,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common-2": waf$$product$$api$$bundle_api$$response$$common$$2, "waf-product-api-bundle_api-response-common-failure-2": waf$$product$$api$$bundle_api$$response$$common$$failure$$2, "waf-product-api-bundle_custom-scan": waf$$product$$api$$bundle_custom$$scan, - "waf-product-api-bundle_custom-scan-id": waf$$product$$api$$bundle_custom$$scan$$id, - "waf-product-api-bundle_custom-scan-payload": waf$$product$$api$$bundle_custom$$scan$$payload, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-scan-collection": waf$$product$$api$$bundle_response$$custom$$scan$$collection, }, diff --git a/src/generated/forge-mcp/contentScan/tools.ts b/src/generated/forge-mcp/contentScan/tools.ts index 75be759c3..77e72c19c 100644 --- a/src/generated/forge-mcp/contentScan/tools.ts +++ b/src/generated/forge-mcp/contentScan/tools.ts @@ -3,7 +3,6 @@ import { type Tool, pathParam } from "../_/tool.js"; import { waf$$product$$api$$bundle_messages } from "../outputs.js"; -import { waf$$product$$api$$bundle_identifier } from "../schemas.js"; import { waf$$product$$api$$bundle_api$$response$$common$$2, waf$$product$$api$$bundle_api$$response$$common$$failure$$2, @@ -19,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "contentScan_get", title: "Get the Content Scanning status for a zone.", - description: "Get the current Content Scanning status for the zone, together with the date the status was last modified.", + description: "Get the current Content Scanning status for the zone, together with the date the status was last modified.\n\nGET /zones/{zone_id}/content-upload-scan/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -39,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-status-2", @@ -95,7 +93,7 @@ export const tools: readonly Tool[] = [ { name: "contentScan_update", title: "Update the Content Scanning status for a zone.", - description: "Update the Content Scanning status by setting the status value to `enabled` or `disabled`. This is equivalent to calling the dedicated enable and disable endpoints.\n\nConfirm with the user before calling this tool. This operation toggles Content Scanning for a zone.", + description: "Update the Content Scanning status by setting the status value to `enabled` or `disabled`. This is equivalent to calling the dedicated enable and disable endpoints.\n\nConfirm with the user before calling this tool. This operation toggles Content Scanning for a zone.\n\nPUT /zones/{zone_id}/content-upload-scan/settings", inputSchema: { type: "object", properties: { @@ -117,10 +115,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -133,9 +132,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-status-2", diff --git a/src/generated/forge-mcp/cps/tools.ts b/src/generated/forge-mcp/cps/tools.ts index 940de7499..213c90373 100644 --- a/src/generated/forge-mcp/cps/tools.ts +++ b/src/generated/forge-mcp/cps/tools.ts @@ -18,10 +18,11 @@ export const tools: readonly Tool[] = [ { name: "cps_get", title: "Get communication preferences", - description: "Retrieve the communication preferences for the authenticated user, including email verification status, marketing subscription opt-in/opt-out state, and language locale. Callers authenticate with standard Cloudflare API tokens or keys.", + description: "Retrieve the communication preferences for the authenticated user, including email verification status, marketing subscription opt-in/opt-out state, and language locale. Callers authenticate with standard Cloudflare API tokens or keys.\n\nGET /user/communication_preferences", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cps_communication_preferences_response", @@ -82,7 +83,7 @@ export const tools: readonly Tool[] = [ { name: "cps_update", title: "Update communication preferences", - description: "Set one or more communication preferences for the authenticated user. Supply a map of preference keys to subscription states, and an optional language locale. This endpoint does not modify email verification settings. Callers authenticate with standard Cloudflare API tokens or keys.", + description: "Set one or more communication preferences for the authenticated user. Supply a map of preference keys to subscription states, and an optional language locale. This endpoint does not modify email verification settings. Callers authenticate with standard Cloudflare API tokens or keys.\n\nPUT /user/communication_preferences", inputSchema: { type: "object", properties: { @@ -93,6 +94,7 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { "cps_update_communication_preferences_request": cps_update_communication_preferences_request, }, diff --git a/src/generated/forge-mcp/csamScanner/schemas.ts b/src/generated/forge-mcp/csamScanner/schemas.ts index 19c982207..9fd5b37b9 100644 --- a/src/generated/forge-mcp/csamScanner/schemas.ts +++ b/src/generated/forge-mcp/csamScanner/schemas.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../_/tool.js"; * The schema of `csam-config-service_csam_scanner_third_party_update_request`. */ export const csam$$config$$service_csam_scanner_third_party_update_request: JsonSchema = { - "description": "Request body for updating CSAM Scanner configuration.\n", + "description": "Request body for updating CSAM Scanner configuration.", "properties": { "id": { "description": "The feature identifier.", @@ -18,7 +18,7 @@ export const csam$$config$$service_csam_scanner_third_party_update_request: Json }, "value": { "$ref": "#/$defs/csam-config-service_csam_scanner_third_party_update_value", - "description": "Writable CSAM Scanner feature configuration values.\n" + "description": "Writable CSAM Scanner feature configuration values." } }, "type": "object" @@ -28,10 +28,10 @@ export const csam$$config$$service_csam_scanner_third_party_update_request: Json * The schema of `csam-config-service_csam_scanner_third_party_update_value`. */ export const csam$$config$$service_csam_scanner_third_party_update_value: JsonSchema = { - "description": "Writable CSAM Scanner feature configuration values.\n", + "description": "Writable CSAM Scanner feature configuration values.", "properties": { "email": { - "description": "Notification email address for CSAM scan results. When changed,\nemail verification is triggered automatically.\n", + "description": "Notification email address for CSAM scan results. When changed,\nemail verification is triggered automatically.", "type": "string" }, "enabled": { @@ -39,7 +39,7 @@ export const csam$$config$$service_csam_scanner_third_party_update_value: JsonSc "type": "boolean" }, "resend_email": { - "description": "Set to true to trigger re-sending the email verification.\nWrite-only; never appears in responses (omitted when false).\n", + "description": "Set to true to trigger re-sending the email verification.\nWrite-only; never appears in responses (omitted when false).", "type": "boolean" }, "sources": { @@ -52,11 +52,3 @@ export const csam$$config$$service_csam_scanner_third_party_update_value: JsonSc }, "type": "object" }; - -/** - * The schema of `csam-config-service_zone_identifier`. - */ -export const csam$$config$$service_zone_identifier: JsonSchema = { - "description": "Identifier for the zone.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/csamScanner/tools.ts b/src/generated/forge-mcp/csamScanner/tools.ts index 2c1afe8c2..b06294d1c 100644 --- a/src/generated/forge-mcp/csamScanner/tools.ts +++ b/src/generated/forge-mcp/csamScanner/tools.ts @@ -13,7 +13,6 @@ import { import { csam$$config$$service_csam_scanner_third_party_update_request, csam$$config$$service_csam_scanner_third_party_update_value, - csam$$config$$service_zone_identifier, } from "./schemas.js"; /** @@ -23,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "csamScanner_edit", title: "Update CSAM Scanner setting", - description: "Update the CSAM Scanner configuration for a zone. Allows enabling or\ndisabling CSAM scanning, updating the notification email, and\nconfiguring scanning sources.\n\nThis is a partial update: fields omitted from `value` keep their\ncurrent setting, and `sources` is merged per source (`null` clears\nall sources). Send an empty `email` to clear the notification\naddress.\n\nWhen a new email is provided, email verification is triggered\nautomatically. The `enabled` field is a toggle; the server may\nadjust it based on whether the notification email is verified.\n\nReturns 403 if the zone or account is locked by Trust & Safety.", + description: "Update the CSAM Scanner configuration for a zone. Allows enabling or\ndisabling CSAM scanning, updating the notification email, and\nconfiguring scanning sources.\n\nThis is a partial update: fields omitted from `value` keep their\ncurrent setting, and `sources` is merged per source (`null` clears\nall sources). Send an empty `email` to clear the notification\naddress.\n\nWhen a new email is provided, email verification is triggered\nautomatically. The `enabled` field is a toggle; the server may\nadjust it based on whether the notification email is verified.\n\nReturns 403 if the zone or account is locked by Trust & Safety.\n\nPATCH /zones/{zone_id}/settings/csam_scanner_third_party", inputSchema: { type: "object", properties: { @@ -31,10 +30,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/csam-config-service_csam_scanner_third_party_update_request" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/csam-config-service_zone_identifier", - "description": "Identifier for the zone." + "description": "Identifier for the zone.", + "type": "string" } }, "required": [ @@ -47,10 +47,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "csam-config-service_csam_scanner_third_party_update_request": csam$$config$$service_csam_scanner_third_party_update_request, "csam-config-service_csam_scanner_third_party_update_value": csam$$config$$service_csam_scanner_third_party_update_value, - "csam-config-service_zone_identifier": csam$$config$$service_zone_identifier, }, }, outputSchema: { @@ -115,15 +115,16 @@ export const tools: readonly Tool[] = [ { name: "csamScanner_get", title: "Get CSAM Scanner setting", - description: "Retrieve the current CSAM Scanner configuration for a zone.\n\nThe notification email is masked by default in responses.", + description: "Retrieve the current CSAM Scanner configuration for a zone.\n\nThe notification email is masked by default in responses.\n\nGET /zones/{zone_id}/settings/csam_scanner_third_party", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/csam-config-service_zone_identifier", - "description": "Identifier for the zone." + "description": "Identifier for the zone.", + "type": "string" } }, "required": [ @@ -135,9 +136,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "csam-config-service_zone_identifier": csam$$config$$service_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/csam-config-service_csam_scanner_single_response", diff --git a/src/generated/forge-mcp/customCsrs/outputs.ts b/src/generated/forge-mcp/customCsrs/outputs.ts index a7b77e462..f6b8d81ca 100644 --- a/src/generated/forge-mcp/customCsrs/outputs.ts +++ b/src/generated/forge-mcp/customCsrs/outputs.ts @@ -28,7 +28,7 @@ export const tls$$certificates$$and$$hostnames_custom_csr$$2: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier" + "type": "string" }, "key_type": { "enum": [ @@ -67,14 +67,6 @@ export const tls$$certificates$$and$$hostnames_custom_csr$$2: JsonSchema = { "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_custom_csr_identifier` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_custom_csr_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of * `tls-certificates-and-hostnames_custom_csr_response_collection-2` in @@ -113,7 +105,7 @@ export const tls$$certificates$$and$$hostnames_custom_csr_response_id_only: Json "result": { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/customCsrs/schemas.ts b/src/generated/forge-mcp/customCsrs/schemas.ts index e5f047784..3a9aadf90 100644 --- a/src/generated/forge-mcp/customCsrs/schemas.ts +++ b/src/generated/forge-mcp/customCsrs/schemas.ts @@ -70,11 +70,3 @@ export const tls$$certificates$$and$$hostnames_custom_csr_create_request$$2: Jso ], "type": "object" }; - -/** - * The schema of `tls-certificates-and-hostnames_custom_csr_identifier`. - */ -export const tls$$certificates$$and$$hostnames_custom_csr_identifier: JsonSchema = { - "description": "Custom CSR identifier tag.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/customCsrs/tools.ts b/src/generated/forge-mcp/customCsrs/tools.ts index 589b124dd..08f19c676 100644 --- a/src/generated/forge-mcp/customCsrs/tools.ts +++ b/src/generated/forge-mcp/customCsrs/tools.ts @@ -9,18 +9,13 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../schemas.js"; import { tls$$certificates$$and$$hostnames_custom_csr$$2, - tls$$certificates$$and$$hostnames_custom_csr_identifier, tls$$certificates$$and$$hostnames_custom_csr_response_collection$$2, tls$$certificates$$and$$hostnames_custom_csr_response_id_only, tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_custom_csr_create_request$$2, - tls$$certificates$$and$$hostnames_custom_csr_identifier as tls$$certificates$$and$$hostnames_custom_csr_identifier$, -} from "./schemas.js"; +import { tls$$certificates$$and$$hostnames_custom_csr_create_request$$2 } from "./schemas.js"; /** * The tools of `customCsrs`. @@ -29,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "customCsrs_create", title: "Create Custom CSR", - description: "Generate a new custom Certificate Signing Request (CSR) for an account or zone. Cloudflare generates and securely stores the private key associated with the CSR.", + description: "Generate a new custom Certificate Signing Request (CSR) for an account or zone. Cloudflare generates and securely stores the private key associated with the CSR.\n\nPOST /{account_or_zone}/{account_or_zone_id}/custom_csrs", inputSchema: { type: "object", properties: { @@ -37,6 +32,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_create_request-2" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -47,8 +43,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -62,9 +58,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "tls-certificates-and-hostnames_custom_csr_create_request-2": tls$$certificates$$and$$hostnames_custom_csr_create_request$$2, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { @@ -72,7 +68,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, "tls-certificates-and-hostnames_custom_csr_response_single-2": tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -122,7 +117,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, "tls-certificates-and-hostnames_custom_csr_response_single-2": tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -135,11 +129,12 @@ export const tools: readonly Tool[] = [ { name: "customCsrs_delete", title: "Delete Custom CSR", - description: "Delete a custom Certificate Signing Request (CSR) and its associated private key.", + description: "Delete a custom Certificate Signing Request (CSR) and its associated private key.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/custom_csrs/{custom_csr_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -150,12 +145,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "custom_csr_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier", - "description": "Custom CSR identifier tag." + "description": "Custom CSR identifier tag.", + "type": "string" } }, "required": [ @@ -169,16 +164,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_id_only", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, "tls-certificates-and-hostnames_custom_csr_response_id_only": tls$$certificates$$and$$hostnames_custom_csr_response_id_only, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -227,7 +218,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, "tls-certificates-and-hostnames_custom_csr_response_id_only": tls$$certificates$$and$$hostnames_custom_csr_response_id_only, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -239,11 +229,12 @@ export const tools: readonly Tool[] = [ { name: "customCsrs_get", title: "Custom CSR Details", - description: "Retrieve details for a specific custom Certificate Signing Request (CSR).", + description: "Retrieve details for a specific custom Certificate Signing Request (CSR).\n\nGET /{account_or_zone}/{account_or_zone_id}/custom_csrs/{custom_csr_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -254,12 +245,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "custom_csr_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_identifier", - "description": "Custom CSR identifier tag." + "description": "Custom CSR identifier tag.", + "type": "string" } }, "required": [ @@ -273,17 +264,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_single-2", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, "tls-certificates-and-hostnames_custom_csr_response_single-2": tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -334,7 +321,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, "tls-certificates-and-hostnames_custom_csr_response_single-2": tls$$certificates$$and$$hostnames_custom_csr_response_single$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -346,11 +332,12 @@ export const tools: readonly Tool[] = [ { name: "customCsrs_list", title: "List Custom CSRs", - description: "List all custom Certificate Signing Requests (CSRs) for an account or zone.", + description: "List all custom Certificate Signing Requests (CSRs) for an account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/custom_csrs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -361,8 +348,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -372,6 +359,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -409,9 +397,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_response_collection-2", @@ -419,7 +405,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, "tls-certificates-and-hostnames_custom_csr_response_collection-2": tls$$certificates$$and$$hostnames_custom_csr_response_collection$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -471,7 +456,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_custom_csr-2": tls$$certificates$$and$$hostnames_custom_csr$$2, - "tls-certificates-and-hostnames_custom_csr_identifier": tls$$certificates$$and$$hostnames_custom_csr_identifier, "tls-certificates-and-hostnames_custom_csr_response_collection-2": tls$$certificates$$and$$hostnames_custom_csr_response_collection$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, diff --git a/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts b/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts index 4e41bee54..5901862f1 100644 --- a/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts +++ b/src/generated/forge-mcp/customHostnames/certificatePack/certificates/tools.ts @@ -7,31 +7,20 @@ import { tls$$certificates$$and$$hostnames_messages, tls$$certificates$$and$$hostnames_validation_record, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { - tls$$certificates$$and$$hostnames_certificate_authority, - tls$$certificates$$and$$hostnames_created_at, tls$$certificates$$and$$hostnames_custom$$hostname, tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - tls$$certificates$$and$$hostnames_custom_hostname_identifier, tls$$certificates$$and$$hostnames_custom_hostname_response_messages, tls$$certificates$$and$$hostnames_custom_hostname_response_single, tls$$certificates$$and$$hostnames_custom_metadata, - tls$$certificates$$and$$hostnames_custom_origin_server, - tls$$certificates$$and$$hostnames_custom_origin_sni, tls$$certificates$$and$$hostnames_customhostname, - tls$$certificates$$and$$hostnames_hostname, tls$$certificates$$and$$hostnames_ownership_verification, tls$$certificates$$and$$hostnames_ownership_verification_http, tls$$certificates$$and$$hostnames_ssl, tls$$certificates$$and$$hostnames_sslsettings, - tls$$certificates$$and$$hostnames_status$$3, tls$$certificates$$and$$hostnames_verification_errors, } from "../../outputs.js"; -import { - tls$$certificates$$and$$hostnames_custom_cert_and_key, - tls$$certificates$$and$$hostnames_custom_hostname_identifier as tls$$certificates$$and$$hostnames_custom_hostname_identifier$, -} from "../../schemas.js"; +import { tls$$certificates$$and$$hostnames_custom_cert_and_key } from "../../schemas.js"; /** * The tools of `customHostnames.certificatePack.certificates`. @@ -40,27 +29,28 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_certificatePack_certificates_delete", title: "Delete Single Certificate And Key For Custom Hostname", - description: "Delete a single custom certificate from a certificate pack that contains two bundled certificates. Deletion is subject to the following constraints. You cannot delete a certificate if it is the only remaining certificate in the pack. At least one certificate must remain in the pack.", + description: "Delete a single custom certificate from a certificate pack that contains two bundled certificates. Deletion is subject to the following constraints. You cannot delete a certificate if it is the only remaining certificate in the pack. At least one certificate must remain in the pack.\n\nDELETE /zones/{zone_id}/custom_hostnames/{custom_hostname_id}/certificate_pack/{certificate_pack_id}/certificates/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." + "description": "Custom hostname identifier tag.", + "type": "string" }, "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." + "description": "Custom hostname identifier tag.", + "type": "string" }, "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." + "description": "Custom hostname identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -75,21 +65,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + "type": "string" } }, "type": "object", - $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, - }, }, annotations: { "destructiveHint": true, @@ -116,7 +100,7 @@ export const tools: readonly Tool[] = [ "202": { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + "type": "string" } }, "type": "object" @@ -126,7 +110,7 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + "type": "string" } }, "type": "object" @@ -139,7 +123,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, @@ -150,7 +133,7 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_certificatePack_certificates_update", title: "Replace Custom Certificate and Custom Key In Custom Hostname", - description: "Replace a single custom certificate within a certificate pack that contains two bundled certificates. The replacement must adhere to the following constraints. You can only replace an RSA certificate with another RSA certificate or an ECDSA certificate with another ECDSA certificate.", + description: "Replace a single custom certificate within a certificate pack that contains two bundled certificates. The replacement must adhere to the following constraints. You can only replace an RSA certificate with another RSA certificate or an ECDSA certificate with another ECDSA certificate.\n\nPUT /zones/{zone_id}/custom_hostnames/{custom_hostname_id}/certificate_pack/{certificate_pack_id}/certificates/{certificate_id}", inputSchema: { type: "object", properties: { @@ -158,22 +141,23 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/tls-certificates-and-hostnames_custom_cert_and_key" }, "path": { + "additionalProperties": false, "properties": { "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." + "description": "Custom hostname identifier tag.", + "type": "string" }, "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." + "description": "Custom hostname identifier tag.", + "type": "string" }, "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." + "description": "Custom hostname identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -189,33 +173,25 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "tls-certificates-and-hostnames_custom_cert_and_key": tls$$certificates$$and$$hostnames_custom_cert_and_key, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, @@ -258,24 +234,17 @@ export const tools: readonly Tool[] = [ }, $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, diff --git a/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts b/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts index 2f477fb5e..8d178ce67 100644 --- a/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts +++ b/src/generated/forge-mcp/customHostnames/fallbackOrigin/outputs.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_created_at-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_created_at$$2: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_errors` in responses. */ @@ -47,50 +39,30 @@ export const tls$$certificates$$and$$hostnames_fallback_origin_response: JsonSch export const tls$$certificates$$and$$hostnames_fallbackorigin: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-2" + "format": "date-time", + "type": "string" }, "errors": { "$ref": "#/$defs/tls-certificates-and-hostnames_errors" }, "origin": { - "$ref": "#/$defs/tls-certificates-and-hostnames_origin" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-4" + "enum": [ + "initializing", + "pending_deployment", + "pending_deletion", + "active", + "deployment_timed_out", + "deletion_timed_out" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at" + "format": "date-time", + "type": "string" } }, "type": "object" }; - -/** - * The schema of `tls-certificates-and-hostnames_origin` in responses. - */ -export const tls$$certificates$$and$$hostnames_origin: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_status-4` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$4: JsonSchema = { - "enum": [ - "initializing", - "pending_deployment", - "pending_deletion", - "active", - "deployment_timed_out", - "deletion_timed_out" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_updated_at` in responses. - */ -export const tls$$certificates$$and$$hostnames_updated_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/customHostnames/fallbackOrigin/schemas.ts b/src/generated/forge-mcp/customHostnames/fallbackOrigin/schemas.ts deleted file mode 100644 index 9354507e5..000000000 --- a/src/generated/forge-mcp/customHostnames/fallbackOrigin/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tls-certificates-and-hostnames_origin`. - */ -export const tls$$certificates$$and$$hostnames_origin: JsonSchema = { - "description": "Your origin hostname that requests to your custom hostnames will be sent to.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts b/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts index 77303b1d6..1de34ca83 100644 --- a/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts +++ b/src/generated/forge-mcp/customHostnames/fallbackOrigin/tools.ts @@ -7,17 +7,11 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls$$certificates$$and$$hostnames_created_at$$2, tls$$certificates$$and$$hostnames_errors, tls$$certificates$$and$$hostnames_fallback_origin_response, tls$$certificates$$and$$hostnames_fallbackorigin, - tls$$certificates$$and$$hostnames_origin, - tls$$certificates$$and$$hostnames_status$$4, - tls$$certificates$$and$$hostnames_updated_at, } from "./outputs.js"; -import { tls$$certificates$$and$$hostnames_origin as tls$$certificates$$and$$hostnames_origin$ } from "./schemas.js"; /** * The tools of `customHostnames.fallbackOrigin`. @@ -26,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_fallbackOrigin_delete", title: "Delete Fallback Origin for Custom Hostnames", - description: "Removes the fallback origin configuration for custom hostnames on a zone. Custom hostnames without specific origins will no longer have a fallback.", + description: "Removes the fallback origin configuration for custom hostnames on a zone. Custom hostnames without specific origins will no longer have a fallback.\n\nDELETE /zones/{zone_id}/custom_hostnames/fallback_origin", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -46,22 +41,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_fallback_origin_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, - "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, - "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, annotations: { @@ -108,14 +97,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, - "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, - "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, request: (args) => ({ @@ -125,15 +110,16 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_fallbackOrigin_get", title: "Get Fallback Origin for Custom Hostnames", - description: "Retrieves the current fallback origin configuration for custom hostnames on a zone. The fallback origin handles traffic when specific custom hostname origins are unavailable.", + description: "Retrieves the current fallback origin configuration for custom hostnames on a zone. The fallback origin handles traffic when specific custom hostname origins are unavailable.\n\nGET /zones/{zone_id}/custom_hostnames/fallback_origin", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -145,22 +131,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_fallback_origin_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, - "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, - "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, annotations: { @@ -208,14 +188,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, - "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, - "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, request: (args) => ({ @@ -225,15 +201,15 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_fallbackOrigin_update", title: "Update Fallback Origin for Custom Hostnames", - description: "Updates the fallback origin configuration for custom hostnames on a zone. Sets the default origin server for custom hostname traffic.", + description: "Updates the fallback origin configuration for custom hostnames on a zone. Sets the default origin server for custom hostname traffic.\n\nPUT /zones/{zone_id}/custom_hostnames/fallback_origin", inputSchema: { type: "object", properties: { "body": { "properties": { "origin": { - "$ref": "#/$defs/tls-certificates-and-hostnames_origin", - "description": "Your origin hostname that requests to your custom hostnames will be sent to." + "description": "Your origin hostname that requests to your custom hostnames will be sent to.", + "type": "string" } }, "required": [ @@ -242,10 +218,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -258,23 +235,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_fallback_origin_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, - "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, - "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, annotations: { @@ -321,14 +291,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-2": tls$$certificates$$and$$hostnames_created_at$$2, "tls-certificates-and-hostnames_errors": tls$$certificates$$and$$hostnames_errors, "tls-certificates-and-hostnames_fallback_origin_response": tls$$certificates$$and$$hostnames_fallback_origin_response, "tls-certificates-and-hostnames_fallbackorigin": tls$$certificates$$and$$hostnames_fallbackorigin, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin": tls$$certificates$$and$$hostnames_origin, - "tls-certificates-and-hostnames_status-4": tls$$certificates$$and$$hostnames_status$$4, - "tls-certificates-and-hostnames_updated_at": tls$$certificates$$and$$hostnames_updated_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customHostnames/outputs.ts b/src/generated/forge-mcp/customHostnames/outputs.ts index e5baa8cec..16265dfc6 100644 --- a/src/generated/forge-mcp/customHostnames/outputs.ts +++ b/src/generated/forge-mcp/customHostnames/outputs.ts @@ -3,28 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_certificate_authority` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_certificate_authority: JsonSchema = { - "enum": [ - "digicert", - "google", - "lets_encrypt", - "ssl_com" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_created_at` in responses. - */ -export const tls$$certificates$$and$$hostnames_created_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_custom-hostname` in responses. */ @@ -33,10 +11,10 @@ export const tls$$certificates$$and$$hostnames_custom$$hostname: JsonSchema = { { "properties": { "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname" + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + "type": "string" }, "ssl": { "$ref": "#/$defs/tls-certificates-and-hostnames_ssl" @@ -82,14 +60,6 @@ export const tls$$certificates$$and$$hostnames_custom_hostname_api_response_comm "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_custom_hostname_identifier` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_custom_hostname_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of * `tls-certificates-and-hostnames_custom_hostname_response_collection` in @@ -160,44 +130,29 @@ export const tls$$certificates$$and$$hostnames_custom_metadata: JsonSchema = { "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_custom_origin_server` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_custom_origin_server: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_custom_origin_sni` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_custom_origin_sni: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_customhostname` in responses. */ export const tls$$certificates$$and$$hostnames_customhostname: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_created_at" + "format": "date-time", + "type": "string" }, "custom_metadata": { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_metadata" }, "custom_origin_server": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_origin_server" + "type": "string" }, "custom_origin_sni": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_origin_sni" + "type": "string" }, "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname" + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + "type": "string" }, "ownership_verification": { "$ref": "#/$defs/tls-certificates-and-hostnames_ownership_verification" @@ -209,7 +164,25 @@ export const tls$$certificates$$and$$hostnames_customhostname: JsonSchema = { "$ref": "#/$defs/tls-certificates-and-hostnames_ssl" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-3" + "enum": [ + "active", + "pending", + "active_redeploying", + "moved", + "pending_deletion", + "deleted", + "pending_blocked", + "pending_migration", + "pending_provisioned", + "test_pending", + "test_active", + "test_active_apex", + "test_blocked", + "test_failed", + "provisioned", + "blocked" + ], + "type": "string" }, "verification_errors": { "$ref": "#/$defs/tls-certificates-and-hostnames_verification_errors" @@ -218,13 +191,6 @@ export const tls$$certificates$$and$$hostnames_customhostname: JsonSchema = { "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_hostname` in responses. - */ -export const tls$$certificates$$and$$hostnames_hostname: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_ownership_verification` in * responses. @@ -301,7 +267,13 @@ export const tls$$certificates$$and$$hostnames_ssl: JsonSchema = { "type": "string" }, "certificate_authority": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority" + "enum": [ + "digicert", + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" }, "custom_certificate": { "type": "string" @@ -456,31 +428,6 @@ export const tls$$certificates$$and$$hostnames_sslsettings: JsonSchema = { "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_status-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$3: JsonSchema = { - "enum": [ - "active", - "pending", - "active_redeploying", - "moved", - "pending_deletion", - "deleted", - "pending_blocked", - "pending_migration", - "pending_provisioned", - "test_pending", - "test_active", - "test_active_apex", - "test_blocked", - "test_failed", - "provisioned", - "blocked" - ], - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_verification_errors` in * responses. diff --git a/src/generated/forge-mcp/customHostnames/quota/tools.ts b/src/generated/forge-mcp/customHostnames/quota/tools.ts index 1e0518a03..685e0aa26 100644 --- a/src/generated/forge-mcp/customHostnames/quota/tools.ts +++ b/src/generated/forge-mcp/customHostnames/quota/tools.ts @@ -3,7 +3,6 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { tls$$certificates$$and$$hostnames_messages } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, tls$$certificates$$and$$hostnames_custom_hostname_response_messages, @@ -21,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_quota_get", title: "Get Custom Hostname Quota", - description: "Returns custom hostname quota usage for a zone. The allocated quota is a soft limit; creating custom hostnames after usage exceeds this limit can still succeed until the hard cap is reached. Use the exceeded and hard_cap fields to track when usage is above the soft limit and when new custom hostname creation will be rejected.", + description: "Returns custom hostname quota usage for a zone. The allocated quota is a soft limit; creating custom hostnames after usage exceeds this limit can still succeed until the hard cap is reached. Use the exceeded and hard_cap fields to track when usage is above the soft limit and when new custom hostname creation will be rejected.\n\nGET /zones/{zone_id}/custom_hostnames/quota", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -41,9 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_quota_response", diff --git a/src/generated/forge-mcp/customHostnames/schemas.ts b/src/generated/forge-mcp/customHostnames/schemas.ts index c2f5182d8..e585450f6 100644 --- a/src/generated/forge-mcp/customHostnames/schemas.ts +++ b/src/generated/forge-mcp/customHostnames/schemas.ts @@ -3,20 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_certificate_authority`. - */ -export const tls$$certificates$$and$$hostnames_certificate_authority: JsonSchema = { - "description": "The Certificate Authority that will issue the certificate.", - "enum": [ - "digicert", - "google", - "lets_encrypt", - "ssl_com" - ], - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_custom_cert_and_key`. */ @@ -51,14 +37,6 @@ export const tls$$certificates$$and$$hostnames_custom_cert_bundle: JsonSchema = "type": "array" }; -/** - * The schema of `tls-certificates-and-hostnames_custom_hostname_identifier`. - */ -export const tls$$certificates$$and$$hostnames_custom_hostname_identifier: JsonSchema = { - "description": "Custom hostname identifier tag.", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_custom_metadata`. */ @@ -70,30 +48,6 @@ export const tls$$certificates$$and$$hostnames_custom_metadata: JsonSchema = { "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_custom_origin_server`. - */ -export const tls$$certificates$$and$$hostnames_custom_origin_server: JsonSchema = { - "description": "a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_custom_origin_sni`. - */ -export const tls$$certificates$$and$$hostnames_custom_origin_sni: JsonSchema = { - "description": "A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_hostname_post`. - */ -export const tls$$certificates$$and$$hostnames_hostname_post: JsonSchema = { - "description": "The custom hostname that will point to your hostname via CNAME.", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_sslpost`. */ @@ -111,8 +65,14 @@ export const tls$$certificates$$and$$hostnames_sslpost: JsonSchema = { "type": "string" }, "certificate_authority": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority", - "description": "The Certificate Authority that will issue the certificate." + "description": "The Certificate Authority that will issue the certificate.", + "enum": [ + "digicert", + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" }, "cloudflare_branding": { "description": "Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.", diff --git a/src/generated/forge-mcp/customHostnames/tools.ts b/src/generated/forge-mcp/customHostnames/tools.ts index 27643c05f..58bc3f0c1 100644 --- a/src/generated/forge-mcp/customHostnames/tools.ts +++ b/src/generated/forge-mcp/customHostnames/tools.ts @@ -7,38 +7,25 @@ import { tls$$certificates$$and$$hostnames_messages, tls$$certificates$$and$$hostnames_validation_record, } from "../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../schemas.js"; import { - tls$$certificates$$and$$hostnames_certificate_authority, - tls$$certificates$$and$$hostnames_created_at, tls$$certificates$$and$$hostnames_custom$$hostname, tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - tls$$certificates$$and$$hostnames_custom_hostname_identifier, tls$$certificates$$and$$hostnames_custom_hostname_response_collection, tls$$certificates$$and$$hostnames_custom_hostname_response_messages, tls$$certificates$$and$$hostnames_custom_hostname_response_single, tls$$certificates$$and$$hostnames_custom_metadata, - tls$$certificates$$and$$hostnames_custom_origin_server, - tls$$certificates$$and$$hostnames_custom_origin_sni, tls$$certificates$$and$$hostnames_customhostname, - tls$$certificates$$and$$hostnames_hostname, tls$$certificates$$and$$hostnames_ownership_verification, tls$$certificates$$and$$hostnames_ownership_verification_http, tls$$certificates$$and$$hostnames_result_info, tls$$certificates$$and$$hostnames_ssl, tls$$certificates$$and$$hostnames_sslsettings, - tls$$certificates$$and$$hostnames_status$$3, tls$$certificates$$and$$hostnames_verification_errors, } from "./outputs.js"; import { - tls$$certificates$$and$$hostnames_certificate_authority as tls$$certificates$$and$$hostnames_certificate_authority$, tls$$certificates$$and$$hostnames_custom_cert_and_key, tls$$certificates$$and$$hostnames_custom_cert_bundle, - tls$$certificates$$and$$hostnames_custom_hostname_identifier as tls$$certificates$$and$$hostnames_custom_hostname_identifier$, tls$$certificates$$and$$hostnames_custom_metadata as tls$$certificates$$and$$hostnames_custom_metadata$, - tls$$certificates$$and$$hostnames_custom_origin_server as tls$$certificates$$and$$hostnames_custom_origin_server$, - tls$$certificates$$and$$hostnames_custom_origin_sni as tls$$certificates$$and$$hostnames_custom_origin_sni$, - tls$$certificates$$and$$hostnames_hostname_post, tls$$certificates$$and$$hostnames_sslpost, tls$$certificates$$and$$hostnames_sslsettings as tls$$certificates$$and$$hostnames_sslsettings$, } from "./schemas.js"; @@ -50,7 +37,7 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_create", title: "Create Custom Hostname", - description: "Add a new custom hostname and request that an SSL certificate be issued for it. One of three validation methods—http, txt, email—should be used, with 'http' recommended if the CNAME is already in place (or will be soon). Specifying 'email' will send an email to the WHOIS contacts on file for the base domain plus hostmaster, postmaster, webmaster, admin, administrator. If http is used and the domain is not already pointing to the Managed CNAME host, the PATCH method must be used once it is (to complete validation). Enable bundling of certificates using the custom_cert_bundle field. The bundling process requires the following condition One certificate in the bundle must use an RSA, and the other must use an ECDSA.", + description: "Add a new custom hostname and request that an SSL certificate be issued for it. One of three validation methods—http, txt, email—should be used, with 'http' recommended if the CNAME is already in place (or will be soon). Specifying 'email' will send an email to the WHOIS contacts on file for the base domain plus hostmaster, postmaster, webmaster, admin, administrator. If http is used and the domain is not already pointing to the Managed CNAME host, the PATCH method must be used once it is (to complete validation). Enable bundling of certificates using the custom_cert_bundle field. The bundling process requires the following condition One certificate in the bundle must use an RSA, and the other must use an ECDSA.\n\nPOST /zones/{zone_id}/custom_hostnames", inputSchema: { type: "object", properties: { @@ -61,16 +48,16 @@ export const tools: readonly Tool[] = [ "description": "Unique key/value metadata for this hostname. These are per-hostname (customer) settings." }, "custom_origin_server": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_origin_server", - "description": "a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record." + "description": "a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.", + "type": "string" }, "custom_origin_sni": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_origin_sni", - "description": "A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server." + "description": "A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.", + "type": "string" }, "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_post", - "description": "The custom hostname that will point to your hostname via CNAME." + "description": "The custom hostname that will point to your hostname via CNAME.", + "type": "string" }, "ssl": { "$ref": "#/$defs/tls-certificates-and-hostnames_sslpost", @@ -83,10 +70,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -99,15 +87,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority$, "tls-certificates-and-hostnames_custom_cert_and_key": tls$$certificates$$and$$hostnames_custom_cert_and_key, "tls-certificates-and-hostnames_custom_cert_bundle": tls$$certificates$$and$$hostnames_custom_cert_bundle, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata$, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server$, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni$, - "tls-certificates-and-hostnames_hostname_post": tls$$certificates$$and$$hostnames_hostname_post, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_sslpost": tls$$certificates$$and$$hostnames_sslpost, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings$, }, @@ -115,24 +99,17 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, @@ -180,24 +157,17 @@ export const tools: readonly Tool[] = [ }, $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, @@ -210,19 +180,20 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_delete", title: "Delete Custom Hostname (and any issued SSL certificates)", - description: "Permanently deletes a custom hostname and revokes any SSL certificates that were issued for it. This action cannot be undone.", + description: "Permanently deletes a custom hostname and revokes any SSL certificates that were issued for it. This action cannot be undone.\n\nDELETE /zones/{zone_id}/custom_hostnames/{custom_hostname_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." + "description": "Custom hostname identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -235,21 +206,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + "type": "string" } }, "type": "object", - $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, - }, }, annotations: { "destructiveHint": true, @@ -281,7 +246,7 @@ export const tools: readonly Tool[] = [ "200": { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + "type": "string" } }, "type": "object" @@ -291,7 +256,7 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier" + "type": "string" } }, "type": "object" @@ -304,7 +269,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, @@ -315,7 +279,7 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_edit", title: "Edit Custom Hostname", - description: "Modify SSL configuration for a custom hostname. When sent with SSL config that matches existing config, used to indicate that hostname should pass domain control validation (DCV). Can also be used to change validation type, e.g., from 'http' to 'email'. Bundle an existing certificate with another certificate by using the \"custom_cert_bundle\" field. The bundling process supports combining certificates as long as the following condition is met. One certificate must use the RSA algorithm, and the other must use the ECDSA algorithm.", + description: "Modify SSL configuration for a custom hostname. When sent with SSL config that matches existing config, used to indicate that hostname should pass domain control validation (DCV). Can also be used to change validation type, e.g., from 'http' to 'email'. Bundle an existing certificate with another certificate by using the \"custom_cert_bundle\" field. The bundling process supports combining certificates as long as the following condition is met. One certificate must use the RSA algorithm, and the other must use the ECDSA algorithm.\n\nPATCH /zones/{zone_id}/custom_hostnames/{custom_hostname_id}", inputSchema: { type: "object", properties: { @@ -326,12 +290,12 @@ export const tools: readonly Tool[] = [ "description": "Unique key/value metadata for this hostname. These are per-hostname (customer) settings." }, "custom_origin_server": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_origin_server", - "description": "a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record." + "description": "a valid hostname that’s been added to your DNS zone as an A, AAAA, or CNAME record.", + "type": "string" }, "custom_origin_sni": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_origin_sni", - "description": "A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server." + "description": "A hostname that will be sent to your custom origin server as SNI for TLS handshake. This can be a valid subdomain of the zone or custom origin server name or the string ':request_host_header:' which will cause the host header in the request to be used as SNI. Not configurable with default/fallback origin server.", + "type": "string" }, "ssl": { "$ref": "#/$defs/tls-certificates-and-hostnames_sslpost", @@ -341,14 +305,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." + "description": "Custom hostname identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -362,15 +327,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority$, "tls-certificates-and-hostnames_custom_cert_and_key": tls$$certificates$$and$$hostnames_custom_cert_and_key, "tls-certificates-and-hostnames_custom_cert_bundle": tls$$certificates$$and$$hostnames_custom_cert_bundle, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata$, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server$, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_sslpost": tls$$certificates$$and$$hostnames_sslpost, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings$, }, @@ -378,24 +339,17 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, @@ -443,24 +397,17 @@ export const tools: readonly Tool[] = [ }, $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, @@ -473,19 +420,20 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_get", title: "Custom Hostname Details", - description: "Retrieves detailed information about a specific custom hostname, including SSL certificate status, ownership verification, and origin configuration.", + description: "Retrieves detailed information about a specific custom hostname, including SSL certificate status, ownership verification, and origin configuration.\n\nGET /zones/{zone_id}/custom_hostnames/{custom_hostname_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "custom_hostname_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_identifier", - "description": "Custom hostname identifier tag." + "description": "Custom hostname identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -498,32 +446,22 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_single", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, @@ -572,24 +510,17 @@ export const tools: readonly Tool[] = [ }, $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_hostname_response_single": tls$$certificates$$and$$hostnames_custom_hostname_response_single, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, @@ -601,15 +532,16 @@ export const tools: readonly Tool[] = [ { name: "customHostnames_list", title: "List Custom Hostnames", - description: "List, search, sort, and filter all of your custom hostnames.", + description: "List, search, sort, and filter all of your custom hostnames.\n\nGET /zones/{zone_id}/custom_hostnames", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -618,6 +550,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "certificate_authority": { "description": "Filter by the certificate authority that issued the SSL certificate.", @@ -748,32 +681,23 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_custom_hostname_response_collection", $defs: { - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_collection": tls$$certificates$$and$$hostnames_custom_hostname_response_collection, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_result_info": tls$$certificates$$and$$hostnames_result_info, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, @@ -822,25 +746,18 @@ export const tools: readonly Tool[] = [ }, $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate_authority": tls$$certificates$$and$$hostnames_certificate_authority, - "tls-certificates-and-hostnames_created_at": tls$$certificates$$and$$hostnames_created_at, "tls-certificates-and-hostnames_custom-hostname": tls$$certificates$$and$$hostnames_custom$$hostname, "tls-certificates-and-hostnames_custom_hostname_api_response_common": tls$$certificates$$and$$hostnames_custom_hostname_api_response_common, - "tls-certificates-and-hostnames_custom_hostname_identifier": tls$$certificates$$and$$hostnames_custom_hostname_identifier, "tls-certificates-and-hostnames_custom_hostname_response_collection": tls$$certificates$$and$$hostnames_custom_hostname_response_collection, "tls-certificates-and-hostnames_custom_hostname_response_messages": tls$$certificates$$and$$hostnames_custom_hostname_response_messages, "tls-certificates-and-hostnames_custom_metadata": tls$$certificates$$and$$hostnames_custom_metadata, - "tls-certificates-and-hostnames_custom_origin_server": tls$$certificates$$and$$hostnames_custom_origin_server, - "tls-certificates-and-hostnames_custom_origin_sni": tls$$certificates$$and$$hostnames_custom_origin_sni, "tls-certificates-and-hostnames_customhostname": tls$$certificates$$and$$hostnames_customhostname, - "tls-certificates-and-hostnames_hostname": tls$$certificates$$and$$hostnames_hostname, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ownership_verification": tls$$certificates$$and$$hostnames_ownership_verification, "tls-certificates-and-hostnames_ownership_verification_http": tls$$certificates$$and$$hostnames_ownership_verification_http, "tls-certificates-and-hostnames_result_info": tls$$certificates$$and$$hostnames_result_info, "tls-certificates-and-hostnames_ssl": tls$$certificates$$and$$hostnames_ssl, "tls-certificates-and-hostnames_sslsettings": tls$$certificates$$and$$hostnames_sslsettings, - "tls-certificates-and-hostnames_status-3": tls$$certificates$$and$$hostnames_status$$3, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, "tls-certificates-and-hostnames_verification_errors": tls$$certificates$$and$$hostnames_verification_errors, }, diff --git a/src/generated/forge-mcp/customNameservers/outputs.ts b/src/generated/forge-mcp/customNameservers/outputs.ts index f64d9cb3f..179ddc84a 100644 --- a/src/generated/forge-mcp/customNameservers/outputs.ts +++ b/src/generated/forge-mcp/customNameservers/outputs.ts @@ -27,10 +27,10 @@ export const dns$$custom$$nameservers_CustomNS: JsonSchema = { "type": "array" }, "ns_name": { - "$ref": "#/$defs/dns-custom-nameservers_ns_name" + "type": "string" }, "ns_set": { - "$ref": "#/$defs/dns-custom-nameservers_ns_set" + "type": "number" }, "status": { "enum": [ @@ -41,7 +41,7 @@ export const dns$$custom$$nameservers_CustomNS: JsonSchema = { "type": "string" }, "zone_tag": { - "$ref": "#/$defs/dns-custom-nameservers_identifier-2" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/customNameservers/schemas.ts b/src/generated/forge-mcp/customNameservers/schemas.ts deleted file mode 100644 index d809ce4a8..000000000 --- a/src/generated/forge-mcp/customNameservers/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `dns-custom-nameservers_identifier`. - */ -export const dns$$custom$$nameservers_identifier: JsonSchema = { - "description": "Account identifier tag.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/customNameservers/tools.ts b/src/generated/forge-mcp/customNameservers/tools.ts index 94d65cb22..e73fd8925 100644 --- a/src/generated/forge-mcp/customNameservers/tools.ts +++ b/src/generated/forge-mcp/customNameservers/tools.ts @@ -7,23 +7,15 @@ import { dns$$custom$$nameservers_api$$response$$common, dns$$custom$$nameservers_api$$response$$common$$failure, dns$$custom$$nameservers_api$$response$$single, - dns$$custom$$nameservers_identifier$$2, dns$$custom$$nameservers_messages, - dns$$custom$$nameservers_ns_name, - dns$$custom$$nameservers_ns_set, } from "../outputs.js"; -import { - dns$$custom$$nameservers_CustomNSInput, - dns$$custom$$nameservers_ns_name as dns$$custom$$nameservers_ns_name$, - dns$$custom$$nameservers_ns_set as dns$$custom$$nameservers_ns_set$, -} from "../schemas.js"; +import { dns$$custom$$nameservers_CustomNSInput } from "../schemas.js"; import { dns$$custom$$nameservers_CustomNS, dns$$custom$$nameservers_acns_response_collection, dns$$custom$$nameservers_acns_response_single, dns$$custom$$nameservers_empty_response, } from "./outputs.js"; -import { dns$$custom$$nameservers_identifier } from "./schemas.js"; /** * The tools of `customNameservers`. @@ -32,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "customNameservers_create", title: "Add account or zone Custom Nameserver", - description: "Adds a custom nameserver to the account or zone for use as a vanity nameserver on zones.", + description: "Adds a custom nameserver to the account or zone for use as a vanity nameserver on zones.\n\nPOST /{account_or_zone}/{account_or_zone_id}/custom_ns", inputSchema: { type: "object", properties: { @@ -40,6 +32,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-custom-nameservers_CustomNSInput" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -50,8 +43,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -65,11 +58,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-custom-nameservers_CustomNSInput": dns$$custom$$nameservers_CustomNSInput, - "dns-custom-nameservers_identifier": dns$$custom$$nameservers_identifier, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name$, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set$, }, }, outputSchema: { @@ -78,10 +69,7 @@ export const tools: readonly Tool[] = [ "dns-custom-nameservers_CustomNS": dns$$custom$$nameservers_CustomNS, "dns-custom-nameservers_acns_response_single": dns$$custom$$nameservers_acns_response_single, "dns-custom-nameservers_api-response-single": dns$$custom$$nameservers_api$$response$$single, - "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, }, }, annotations: { @@ -130,10 +118,7 @@ export const tools: readonly Tool[] = [ "dns-custom-nameservers_acns_response_single": dns$$custom$$nameservers_acns_response_single, "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, "dns-custom-nameservers_api-response-single": dns$$custom$$nameservers_api$$response$$single, - "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, }, }, request: (args) => ({ @@ -144,19 +129,20 @@ export const tools: readonly Tool[] = [ { name: "customNameservers_delete", title: "Delete Account Custom Nameserver", - description: "Removes a custom nameserver from the account.", + description: "Removes a custom nameserver from the account.\n\nDELETE /accounts/{account_id}/custom_ns/{custom_ns_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "custom_ns_id": { - "$ref": "#/$defs/dns-custom-nameservers_ns_name", - "description": "The FQDN of the name server." + "description": "The FQDN of the name server.", + "type": "string" } }, "required": [ @@ -169,10 +155,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-custom-nameservers_identifier": dns$$custom$$nameservers_identifier, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_empty_response", @@ -231,11 +214,12 @@ export const tools: readonly Tool[] = [ { name: "customNameservers_get", title: "List account or zone Custom Nameservers", - description: "List an account or zone's custom nameservers.", + description: "List an account or zone's custom nameservers.\n\nGET /{account_or_zone}/{account_or_zone_id}/custom_ns", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -246,8 +230,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -260,9 +244,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-custom-nameservers_identifier": dns$$custom$$nameservers_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_acns_response_collection", @@ -271,10 +253,7 @@ export const tools: readonly Tool[] = [ "dns-custom-nameservers_acns_response_collection": dns$$custom$$nameservers_acns_response_collection, "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, - "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, }, }, annotations: { @@ -325,10 +304,7 @@ export const tools: readonly Tool[] = [ "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, - "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customPages/accountAssets/outputs.ts b/src/generated/forge-mcp/customPages/accountAssets/outputs.ts index 8092928f1..04287a493 100644 --- a/src/generated/forge-mcp/customPages/accountAssets/outputs.ts +++ b/src/generated/forge-mcp/customPages/accountAssets/outputs.ts @@ -3,46 +3,26 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `custom-pages_asset_description` in responses. - */ -export const custom$$pages_asset_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `custom-pages_asset_name` in responses. - */ -export const custom$$pages_asset_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `custom-pages_asset_url` in responses. - */ -export const custom$$pages_asset_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `custom-pages_custom_asset` in responses. */ export const custom$$pages_custom_asset: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/custom-pages_asset_description" + "type": "string" }, "last_updated": { - "$ref": "#/$defs/custom-pages_timestamp" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/custom-pages_asset_name" + "type": "string" }, "size_bytes": { "type": "integer" }, "url": { - "$ref": "#/$defs/custom-pages_asset_url" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/customPages/accountAssets/schemas.ts b/src/generated/forge-mcp/customPages/accountAssets/schemas.ts deleted file mode 100644 index b0add67ef..000000000 --- a/src/generated/forge-mcp/customPages/accountAssets/schemas.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `custom-pages_asset_description`. - */ -export const custom$$pages_asset_description: JsonSchema = { - "description": "A short description of the custom asset.", - "type": "string" -}; - -/** - * The schema of `custom-pages_asset_name`. - */ -export const custom$$pages_asset_name: JsonSchema = { - "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_).", - "type": "string" -}; - -/** - * The schema of `custom-pages_asset_url`. - */ -export const custom$$pages_asset_url: JsonSchema = { - "description": "The URL where the asset content is fetched from.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/customPages/accountAssets/tools.ts b/src/generated/forge-mcp/customPages/accountAssets/tools.ts index 447f4c605..189ee16d6 100644 --- a/src/generated/forge-mcp/customPages/accountAssets/tools.ts +++ b/src/generated/forge-mcp/customPages/accountAssets/tools.ts @@ -8,22 +8,12 @@ import { custom$$pages_api$$response$$common$$failure, custom$$pages_api$$response$$single, custom$$pages_messages, - custom$$pages_timestamp, } from "../outputs.js"; -import { custom$$pages_identifier } from "../schemas.js"; import { - custom$$pages_asset_description, - custom$$pages_asset_name, - custom$$pages_asset_url, custom$$pages_custom_asset, custom$$pages_custom_asset_result, custom$$pages_custom_asset_result_list, } from "./outputs.js"; -import { - custom$$pages_asset_description as custom$$pages_asset_description$, - custom$$pages_asset_name as custom$$pages_asset_name$, - custom$$pages_asset_url as custom$$pages_asset_url$, -} from "./schemas.js"; /** * The tools of `customPages.accountAssets`. @@ -32,23 +22,23 @@ export const tools: readonly Tool[] = [ { name: "customPages_accountAssets_create", title: "Create a custom asset", - description: "Creates a custom asset for an account or zone.", + description: "Creates a custom asset for an account or zone.\n\nPOST /{account_or_zone}/{account_or_zone_id}/custom_pages/assets", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/custom-pages_asset_description", - "description": "A short description of the custom asset." + "description": "A short description of the custom asset.", + "type": "string" }, "name": { - "$ref": "#/$defs/custom-pages_asset_name", - "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." + "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_).", + "type": "string" }, "url": { - "$ref": "#/$defs/custom-pages_asset_url", - "description": "The URL where the asset content is fetched from." + "description": "The URL where the asset content is fetched from.", + "type": "string" } }, "required": [ @@ -59,6 +49,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -69,8 +60,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -84,24 +75,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "custom-pages_asset_description": custom$$pages_asset_description$, - "custom-pages_asset_name": custom$$pages_asset_name$, - "custom-pages_asset_url": custom$$pages_asset_url$, - "custom-pages_identifier": custom$$pages_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_asset_result", $defs: { "custom-pages_api-response-single": custom$$pages_api$$response$$single, - "custom-pages_asset_description": custom$$pages_asset_description, - "custom-pages_asset_name": custom$$pages_asset_name, - "custom-pages_asset_url": custom$$pages_asset_url, "custom-pages_custom_asset": custom$$pages_custom_asset, "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_timestamp": custom$$pages_timestamp, }, }, annotations: { @@ -134,13 +116,9 @@ export const tools: readonly Tool[] = [ $defs: { "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, "custom-pages_api-response-single": custom$$pages_api$$response$$single, - "custom-pages_asset_description": custom$$pages_asset_description, - "custom-pages_asset_name": custom$$pages_asset_name, - "custom-pages_asset_url": custom$$pages_asset_url, "custom-pages_custom_asset": custom$$pages_custom_asset, "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_timestamp": custom$$pages_timestamp, }, }, request: (args) => ({ @@ -151,11 +129,12 @@ export const tools: readonly Tool[] = [ { name: "customPages_accountAssets_delete", title: "Delete a custom asset", - description: "Deletes a custom asset from an account or zone.", + description: "Deletes a custom asset from an account or zone.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/custom_pages/assets/{asset_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -166,12 +145,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "asset_name": { - "$ref": "#/$defs/custom-pages_asset_name", - "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." + "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_).", + "type": "string" } }, "required": [ @@ -185,10 +164,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-pages_asset_name": custom$$pages_asset_name$, - "custom-pages_identifier": custom$$pages_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -227,11 +203,12 @@ export const tools: readonly Tool[] = [ { name: "customPages_accountAssets_get", title: "Get a custom asset", - description: "Returns a custom asset for an account or zone.", + description: "Returns a custom asset for an account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/custom_pages/assets/{asset_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -242,12 +219,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "asset_name": { - "$ref": "#/$defs/custom-pages_asset_name", - "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." + "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_).", + "type": "string" } }, "required": [ @@ -261,22 +238,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-pages_asset_name": custom$$pages_asset_name$, - "custom-pages_identifier": custom$$pages_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_asset_result", $defs: { "custom-pages_api-response-single": custom$$pages_api$$response$$single, - "custom-pages_asset_description": custom$$pages_asset_description, - "custom-pages_asset_name": custom$$pages_asset_name, - "custom-pages_asset_url": custom$$pages_asset_url, "custom-pages_custom_asset": custom$$pages_custom_asset, "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_timestamp": custom$$pages_timestamp, }, }, annotations: { @@ -309,13 +279,9 @@ export const tools: readonly Tool[] = [ $defs: { "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, "custom-pages_api-response-single": custom$$pages_api$$response$$single, - "custom-pages_asset_description": custom$$pages_asset_description, - "custom-pages_asset_name": custom$$pages_asset_name, - "custom-pages_asset_url": custom$$pages_asset_url, "custom-pages_custom_asset": custom$$pages_custom_asset, "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_timestamp": custom$$pages_timestamp, }, }, request: (args) => ({ @@ -325,11 +291,12 @@ export const tools: readonly Tool[] = [ { name: "customPages_accountAssets_list", title: "List custom assets", - description: "Lists custom assets for an account or zone.", + description: "Lists custom assets for an account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/custom_pages/assets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -340,8 +307,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -351,6 +318,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -369,22 +337,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-pages_identifier": custom$$pages_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_asset_result_list", $defs: { "custom-pages_api-response-collection": custom$$pages_api$$response$$collection, "custom-pages_api-response-common": custom$$pages_api$$response$$common, - "custom-pages_asset_description": custom$$pages_asset_description, - "custom-pages_asset_name": custom$$pages_asset_name, - "custom-pages_asset_url": custom$$pages_asset_url, "custom-pages_custom_asset": custom$$pages_custom_asset, "custom-pages_custom_asset_result_list": custom$$pages_custom_asset_result_list, "custom-pages_messages": custom$$pages_messages, - "custom-pages_timestamp": custom$$pages_timestamp, }, }, annotations: { @@ -418,13 +380,9 @@ export const tools: readonly Tool[] = [ "custom-pages_api-response-collection": custom$$pages_api$$response$$collection, "custom-pages_api-response-common": custom$$pages_api$$response$$common, "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, - "custom-pages_asset_description": custom$$pages_asset_description, - "custom-pages_asset_name": custom$$pages_asset_name, - "custom-pages_asset_url": custom$$pages_asset_url, "custom-pages_custom_asset": custom$$pages_custom_asset, "custom-pages_custom_asset_result_list": custom$$pages_custom_asset_result_list, "custom-pages_messages": custom$$pages_messages, - "custom-pages_timestamp": custom$$pages_timestamp, }, }, request: (args) => ({ @@ -438,19 +396,19 @@ export const tools: readonly Tool[] = [ { name: "customPages_accountAssets_update", title: "Update a custom asset", - description: "Updates a custom asset for an account or zone.", + description: "Updates a custom asset for an account or zone.\n\nPUT /{account_or_zone}/{account_or_zone_id}/custom_pages/assets/{asset_name}", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/custom-pages_asset_description", - "description": "A short description of the custom asset." + "description": "A short description of the custom asset.", + "type": "string" }, "url": { - "$ref": "#/$defs/custom-pages_asset_url", - "description": "The URL where the asset content is fetched from." + "description": "The URL where the asset content is fetched from.", + "type": "string" } }, "required": [ @@ -460,6 +418,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -470,12 +429,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "asset_name": { - "$ref": "#/$defs/custom-pages_asset_name", - "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_)." + "description": "The unique name of the custom asset. Can only contain letters (A-Z, a-z), numbers (0-9), and underscores (_).", + "type": "string" } }, "required": [ @@ -490,24 +449,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "custom-pages_asset_description": custom$$pages_asset_description$, - "custom-pages_asset_name": custom$$pages_asset_name$, - "custom-pages_asset_url": custom$$pages_asset_url$, - "custom-pages_identifier": custom$$pages_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_asset_result", $defs: { "custom-pages_api-response-single": custom$$pages_api$$response$$single, - "custom-pages_asset_description": custom$$pages_asset_description, - "custom-pages_asset_name": custom$$pages_asset_name, - "custom-pages_asset_url": custom$$pages_asset_url, "custom-pages_custom_asset": custom$$pages_custom_asset, "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_timestamp": custom$$pages_timestamp, }, }, annotations: { @@ -540,13 +490,9 @@ export const tools: readonly Tool[] = [ $defs: { "custom-pages_api-response-common-failure": custom$$pages_api$$response$$common$$failure, "custom-pages_api-response-single": custom$$pages_api$$response$$single, - "custom-pages_asset_description": custom$$pages_asset_description, - "custom-pages_asset_name": custom$$pages_asset_name, - "custom-pages_asset_url": custom$$pages_asset_url, "custom-pages_custom_asset": custom$$pages_custom_asset, "custom-pages_custom_asset_result": custom$$pages_custom_asset_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_timestamp": custom$$pages_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts b/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts index d4a6a716e..25cb2537a 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/outputs.ts @@ -9,7 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const custom$$pages_custom_page: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/custom-pages_timestamp" + "format": "date-time", + "type": "string" }, "description": { "type": "string" @@ -18,7 +19,8 @@ export const custom$$pages_custom_page: JsonSchema = { "type": "string" }, "modified_on": { - "$ref": "#/$defs/custom-pages_timestamp" + "format": "date-time", + "type": "string" }, "preview_target": { "type": "string" @@ -30,10 +32,14 @@ export const custom$$pages_custom_page: JsonSchema = { "type": "array" }, "state": { - "$ref": "#/$defs/custom-pages_state" + "enum": [ + "default", + "customized" + ], + "type": "string" }, "url": { - "$ref": "#/$defs/custom-pages_url" + "type": "string" } }, "type": "object" @@ -79,21 +85,3 @@ export const custom$$pages_custom_page_result_list: JsonSchema = { } ] }; - -/** - * The schema of `custom-pages_state` in responses. - */ -export const custom$$pages_state: JsonSchema = { - "enum": [ - "default", - "customized" - ], - "type": "string" -}; - -/** - * The schema of `custom-pages_url` in responses. - */ -export const custom$$pages_url: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts index f5a080f19..41bfed397 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/previewTokens/tools.ts @@ -7,7 +7,6 @@ import { custom$$pages_api$$response$$single, custom$$pages_messages, } from "../../outputs.js"; -import { custom$$pages_identifier } from "../../schemas.js"; import { custom$$pages_preview_token, custom$$pages_preview_token_result, @@ -21,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "customPages_accountCustomPages_previewTokens_create", title: "Create a preview token", - description: "Creates a signed JWT for previewing an account or zone-level custom page before it is published.", + description: "Creates a signed JWT for previewing an account or zone-level custom page before it is published.\n\nPOST /{account_or_zone}/{account_or_zone_id}/custom_pages/preview_tokens", inputSchema: { type: "object", properties: { @@ -29,6 +28,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/custom-pages_preview_request" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -39,8 +39,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -54,8 +54,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "custom-pages_identifier": custom$$pages_identifier, "custom-pages_preview_request": custom$$pages_preview_request, }, }, diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/schemas.ts b/src/generated/forge-mcp/customPages/accountCustomPages/schemas.ts deleted file mode 100644 index 1f75a24ef..000000000 --- a/src/generated/forge-mcp/customPages/accountCustomPages/schemas.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `custom-pages_error_page_type`. - */ -export const custom$$pages_error_page_type: JsonSchema = { - "description": "Custom page type.", - "enum": [ - "1000_errors", - "500_errors", - "basic_challenge", - "country_challenge", - "ip_block", - "managed_challenge", - "ratelimit_block", - "under_attack", - "waf_block", - "waf_challenge" - ], - "type": "string" -}; - -/** - * The schema of `custom-pages_state`. - */ -export const custom$$pages_state: JsonSchema = { - "description": "The custom page state.", - "enum": [ - "default", - "customized" - ], - "type": "string" -}; - -/** - * The schema of `custom-pages_url`. - */ -export const custom$$pages_url: JsonSchema = { - "description": "The URL associated with the custom page.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts b/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts index e2ed9904f..b6cea25a0 100644 --- a/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts +++ b/src/generated/forge-mcp/customPages/accountCustomPages/tools.ts @@ -8,21 +8,12 @@ import { custom$$pages_api$$response$$common$$failure, custom$$pages_api$$response$$single, custom$$pages_messages, - custom$$pages_timestamp, } from "../outputs.js"; -import { custom$$pages_identifier } from "../schemas.js"; import { custom$$pages_custom_page, custom$$pages_custom_page_result, custom$$pages_custom_page_result_list, - custom$$pages_state, - custom$$pages_url, } from "./outputs.js"; -import { - custom$$pages_error_page_type, - custom$$pages_state as custom$$pages_state$, - custom$$pages_url as custom$$pages_url$, -} from "./schemas.js"; /** * The tools of `customPages.accountCustomPages`. @@ -31,11 +22,12 @@ export const tools: readonly Tool[] = [ { name: "customPages_accountCustomPages_get", title: "Get a custom page", - description: "Returns the configuration for a custom page type.", + description: "Returns the configuration for a custom page type.\n\nGET /{account_or_zone}/{account_or_zone_id}/custom_pages/{identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -46,12 +38,24 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/custom-pages_error_page_type", - "description": "Custom page type." + "description": "Custom page type.", + "enum": [ + "1000_errors", + "500_errors", + "basic_challenge", + "country_challenge", + "ip_block", + "managed_challenge", + "ratelimit_block", + "under_attack", + "waf_block", + "waf_challenge" + ], + "type": "string" } }, "required": [ @@ -65,10 +69,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-pages_error_page_type": custom$$pages_error_page_type, - "custom-pages_identifier": custom$$pages_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_page_result", @@ -77,9 +78,6 @@ export const tools: readonly Tool[] = [ "custom-pages_custom_page": custom$$pages_custom_page, "custom-pages_custom_page_result": custom$$pages_custom_page_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_state": custom$$pages_state, - "custom-pages_timestamp": custom$$pages_timestamp, - "custom-pages_url": custom$$pages_url, }, }, annotations: { @@ -121,9 +119,6 @@ export const tools: readonly Tool[] = [ "custom-pages_custom_page": custom$$pages_custom_page, "custom-pages_custom_page_result": custom$$pages_custom_page_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_state": custom$$pages_state, - "custom-pages_timestamp": custom$$pages_timestamp, - "custom-pages_url": custom$$pages_url, }, }, request: (args) => ({ @@ -133,11 +128,12 @@ export const tools: readonly Tool[] = [ { name: "customPages_accountCustomPages_list", title: "List custom pages", - description: "Lists all custom page configurations for an account or zone.", + description: "Lists all custom page configurations for an account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/custom_pages", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -148,8 +144,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -162,9 +158,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-pages_identifier": custom$$pages_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_page_result_list", @@ -174,9 +168,6 @@ export const tools: readonly Tool[] = [ "custom-pages_custom_page": custom$$pages_custom_page, "custom-pages_custom_page_result_list": custom$$pages_custom_page_result_list, "custom-pages_messages": custom$$pages_messages, - "custom-pages_state": custom$$pages_state, - "custom-pages_timestamp": custom$$pages_timestamp, - "custom-pages_url": custom$$pages_url, }, }, annotations: { @@ -224,9 +215,6 @@ export const tools: readonly Tool[] = [ "custom-pages_custom_page": custom$$pages_custom_page, "custom-pages_custom_page_result_list": custom$$pages_custom_page_result_list, "custom-pages_messages": custom$$pages_messages, - "custom-pages_state": custom$$pages_state, - "custom-pages_timestamp": custom$$pages_timestamp, - "custom-pages_url": custom$$pages_url, }, }, request: (args) => ({ @@ -236,20 +224,24 @@ export const tools: readonly Tool[] = [ { name: "customPages_accountCustomPages_update", title: "Update a custom page", - description: "Updates the configuration for a custom page type.", + description: "Updates the configuration for a custom page type.\n\nPUT /{account_or_zone}/{account_or_zone_id}/custom_pages/{identifier}", inputSchema: { type: "object", properties: { "body": { "properties": { "state": { - "$ref": "#/$defs/custom-pages_state", - "description": "The custom page state." + "description": "The custom page state.", + "enum": [ + "default", + "customized" + ], + "type": "string" }, "url": { - "$ref": "#/$defs/custom-pages_url", "default": "", - "description": "The URL associated with the custom page." + "description": "The URL associated with the custom page.", + "type": "string" } }, "required": [ @@ -259,6 +251,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -269,12 +262,24 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/custom-pages_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/custom-pages_error_page_type", - "description": "Custom page type." + "description": "Custom page type.", + "enum": [ + "1000_errors", + "500_errors", + "basic_challenge", + "country_challenge", + "ip_block", + "managed_challenge", + "ratelimit_block", + "under_attack", + "waf_block", + "waf_challenge" + ], + "type": "string" } }, "required": [ @@ -289,12 +294,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "custom-pages_error_page_type": custom$$pages_error_page_type, - "custom-pages_identifier": custom$$pages_identifier, - "custom-pages_state": custom$$pages_state$, - "custom-pages_url": custom$$pages_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-pages_custom_page_result", @@ -303,9 +303,6 @@ export const tools: readonly Tool[] = [ "custom-pages_custom_page": custom$$pages_custom_page, "custom-pages_custom_page_result": custom$$pages_custom_page_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_state": custom$$pages_state, - "custom-pages_timestamp": custom$$pages_timestamp, - "custom-pages_url": custom$$pages_url, }, }, annotations: { @@ -344,9 +341,6 @@ export const tools: readonly Tool[] = [ "custom-pages_custom_page": custom$$pages_custom_page, "custom-pages_custom_page_result": custom$$pages_custom_page_result, "custom-pages_messages": custom$$pages_messages, - "custom-pages_state": custom$$pages_state, - "custom-pages_timestamp": custom$$pages_timestamp, - "custom-pages_url": custom$$pages_url, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/customPages/outputs.ts b/src/generated/forge-mcp/customPages/outputs.ts index 51c526d93..7374150f8 100644 --- a/src/generated/forge-mcp/customPages/outputs.ts +++ b/src/generated/forge-mcp/customPages/outputs.ts @@ -153,11 +153,3 @@ export const custom$$pages_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `custom-pages_timestamp` in responses. - */ -export const custom$$pages_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/customPages/schemas.ts b/src/generated/forge-mcp/customPages/schemas.ts deleted file mode 100644 index 1531338fd..000000000 --- a/src/generated/forge-mcp/customPages/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `custom-pages_identifier`. - */ -export const custom$$pages_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/d1/outputs.ts b/src/generated/forge-mcp/d1/outputs.ts index 3b1307f42..c01d96911 100644 --- a/src/generated/forge-mcp/d1/outputs.ts +++ b/src/generated/forge-mcp/d1/outputs.ts @@ -59,118 +59,89 @@ export const d1_api$$response$$common$$failure: JsonSchema = { "type": "object" }; -/** - * The schema of `d1_created-at` in responses. - */ -export const d1_created$$at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `d1_database-details-response` in responses. */ export const d1_database$$details$$response: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/d1_created-at" + "format": "date-time", + "type": "string" }, "file_size": { - "$ref": "#/$defs/d1_file-size" + "type": "number" }, "jurisdiction": { - "$ref": "#/$defs/d1_jurisdiction-nullable" + "oneOf": [ + { + "enum": [ + "eu", + "fedramp", + "us" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "name": { - "$ref": "#/$defs/d1_database-name" + "type": "string" }, "num_tables": { - "$ref": "#/$defs/d1_table-count" + "type": "number" }, "read_replication": { "$ref": "#/$defs/d1_read-replication-details-for-response" }, "uuid": { - "$ref": "#/$defs/d1_database-identifier" + "type": "string" }, "version": { - "$ref": "#/$defs/d1_database-version" + "type": "string" } }, "type": "object" }; -/** - * The schema of `d1_database-identifier` in responses. - */ -export const d1_database$$identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `d1_database-name` in responses. - */ -export const d1_database$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `d1_database-response` in responses. */ export const d1_database$$response: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/d1_created-at" + "format": "date-time", + "type": "string" }, "jurisdiction": { - "$ref": "#/$defs/d1_jurisdiction-nullable" + "oneOf": [ + { + "enum": [ + "eu", + "fedramp", + "us" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "name": { - "$ref": "#/$defs/d1_database-name" + "type": "string" }, "uuid": { - "$ref": "#/$defs/d1_database-identifier" + "type": "string" }, "version": { - "$ref": "#/$defs/d1_database-version" + "type": "string" } }, "type": "object" }; -/** - * The schema of `d1_database-version` in responses. - */ -export const d1_database$$version: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `d1_file-size` in responses. - */ -export const d1_file$$size: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `d1_jurisdiction-nullable` in responses. - */ -export const d1_jurisdiction$$nullable: JsonSchema = { - "oneOf": [ - { - "enum": [ - "eu", - "fedramp", - "us" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `d1_messages` in responses. */ @@ -217,13 +188,21 @@ export const d1_query$$meta: JsonSchema = { "type": "number" }, "served_by_colo": { - "$ref": "#/$defs/d1_served-by-colo" + "type": "string" }, "served_by_primary": { "type": "boolean" }, "served_by_region": { - "$ref": "#/$defs/d1_served-by-region" + "enum": [ + "WNAM", + "ENAM", + "WEUR", + "EEUR", + "APAC", + "OC" + ], + "type": "string" }, "size_after": { "type": "number" @@ -324,32 +303,3 @@ export const d1_read$$replication$$details$$for$$response: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `d1_served-by-colo` in responses. - */ -export const d1_served$$by$$colo: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `d1_served-by-region` in responses. - */ -export const d1_served$$by$$region: JsonSchema = { - "enum": [ - "WNAM", - "ENAM", - "WEUR", - "EEUR", - "APAC", - "OC" - ], - "type": "string" -}; - -/** - * The schema of `d1_table-count` in responses. - */ -export const d1_table$$count: JsonSchema = { - "type": "number" -}; diff --git a/src/generated/forge-mcp/d1/schemas.ts b/src/generated/forge-mcp/d1/schemas.ts index 9eedf8885..1db8ed361 100644 --- a/src/generated/forge-mcp/d1/schemas.ts +++ b/src/generated/forge-mcp/d1/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `d1_account-identifier`. - */ -export const d1_account$$identifier: JsonSchema = { - "description": "Account identifier tag.", - "type": "string" -}; - /** * The schema of `d1_batch-query`. */ @@ -37,22 +29,6 @@ export const d1_batch$$query: JsonSchema = { ] }; -/** - * The schema of `d1_database-identifier`. - */ -export const d1_database$$identifier: JsonSchema = { - "description": "D1 database identifier (UUID).", - "type": "string" -}; - -/** - * The schema of `d1_database-name`. - */ -export const d1_database$$name: JsonSchema = { - "description": "D1 database name.", - "type": "string" -}; - /** * The schema of `d1_database-update-partial-request-body`. */ @@ -82,19 +58,6 @@ export const d1_database$$update$$request$$body: JsonSchema = { "type": "object" }; -/** - * The schema of `d1_jurisdiction`. - */ -export const d1_jurisdiction: JsonSchema = { - "description": "Specify the location to restrict the D1 database to run and store data. If this option is present, the location hint is ignored.", - "enum": [ - "eu", - "fedramp", - "us" - ], - "type": "string" -}; - /** * The schema of `d1_params`. */ @@ -105,22 +68,6 @@ export const d1_params: JsonSchema = { "type": "array" }; -/** - * The schema of `d1_primary-location-hint`. - */ -export const d1_primary$$location$$hint: JsonSchema = { - "description": "Specify the region to create the D1 primary, if available. If this option is omitted, the D1 will be created as close as possible to the current user.", - "enum": [ - "wnam", - "enam", - "weur", - "eeur", - "apac", - "oc" - ], - "type": "string" -}; - /** * The schema of `d1_read-replication-details-for-request`. */ @@ -152,8 +99,8 @@ export const d1_single$$query: JsonSchema = { "$ref": "#/$defs/d1_params" }, "sql": { - "$ref": "#/$defs/d1_sql", - "description": "Your SQL query. Supports multiple statements, joined by semicolons, which will be executed as a batch." + "description": "Your SQL query. Supports multiple statements, joined by semicolons, which will be executed as a batch.", + "type": "string" } }, "required": [ @@ -161,11 +108,3 @@ export const d1_single$$query: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `d1_sql`. - */ -export const d1_sql: JsonSchema = { - "description": "Your SQL query. Supports multiple statements, joined by semicolons, which will be executed as a batch.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/d1/timeTravel/outputs.ts b/src/generated/forge-mcp/d1/timeTravel/outputs.ts index cd4766bdb..0bc19ffd6 100644 --- a/src/generated/forge-mcp/d1/timeTravel/outputs.ts +++ b/src/generated/forge-mcp/d1/timeTravel/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `d1_time-travel-bookmark` in responses. - */ -export const d1_time$$travel$$bookmark: JsonSchema = { - "type": "string" -}; - /** * The schema of `d1_time-travel-restore-response` in responses. */ @@ -18,7 +11,7 @@ export const d1_time$$travel$$restore$$response: JsonSchema = { "bookmark": { "allOf": [ { - "$ref": "#/$defs/d1_time-travel-bookmark" + "type": "string" }, { "type": "string" @@ -31,7 +24,7 @@ export const d1_time$$travel$$restore$$response: JsonSchema = { "previous_bookmark": { "allOf": [ { - "$ref": "#/$defs/d1_time-travel-bookmark" + "type": "string" }, { "type": "string" diff --git a/src/generated/forge-mcp/d1/timeTravel/schemas.ts b/src/generated/forge-mcp/d1/timeTravel/schemas.ts deleted file mode 100644 index 139a8152f..000000000 --- a/src/generated/forge-mcp/d1/timeTravel/schemas.ts +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `d1_time-travel-bookmark`. - */ -export const d1_time$$travel$$bookmark: JsonSchema = { - "description": "A bookmark representing a specific state of the database at a specific point in time.", - "type": "string" -}; - -/** - * The schema of `d1_time-travel-timestamp`. - */ -export const d1_time$$travel$$timestamp: JsonSchema = { - "description": "An ISO 8601 timestamp used for time travel operations. The database will be restored to the nearest available bookmark at or before this timestamp.", - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/d1/timeTravel/tools.ts b/src/generated/forge-mcp/d1/timeTravel/tools.ts index 5ab03745f..2f798797e 100644 --- a/src/generated/forge-mcp/d1/timeTravel/tools.ts +++ b/src/generated/forge-mcp/d1/timeTravel/tools.ts @@ -7,15 +7,7 @@ import { d1_api$$response$$common$$failure, d1_messages, } from "../outputs.js"; -import { d1_account$$identifier, d1_database$$identifier } from "../schemas.js"; -import { - d1_time$$travel$$bookmark, - d1_time$$travel$$restore$$response, -} from "./outputs.js"; -import { - d1_time$$travel$$bookmark as d1_time$$travel$$bookmark$, - d1_time$$travel$$timestamp, -} from "./schemas.js"; +import { d1_time$$travel$$restore$$response } from "./outputs.js"; /** * The tools of `d1.timeTravel`. @@ -24,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "d1_timeTravel_getBookmark", title: "Get D1 database bookmark", - description: "Retrieve the current bookmark, or the nearest bookmark at or before a provided timestamp.\nBookmarks can be used with the restore endpoint to revert the database to a previous point in time.", + description: "Retrieve the current bookmark, or the nearest bookmark at or before a provided timestamp.\nBookmarks can be used with the restore endpoint to revert the database to a previous point in time.\n\nGET /accounts/{account_id}/d1/database/{database_id}/time_travel/bookmark", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "description": "D1 database identifier (UUID).", + "type": "string" } }, "required": [ @@ -46,10 +39,12 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "timestamp": { - "$ref": "#/$defs/d1_time-travel-timestamp", - "description": "An optional ISO 8601 timestamp. If provided, returns the nearest available bookmark at or before this timestamp. If omitted, returns the current bookmark." + "description": "An optional ISO 8601 timestamp. If provided, returns the nearest available bookmark at or before this timestamp. If omitted, returns the current bookmark.", + "format": "date-time", + "type": "string" } }, "type": "object" @@ -58,11 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "d1_account-identifier": d1_account$$identifier, - "d1_database-identifier": d1_database$$identifier, - "d1_time-travel-timestamp": d1_time$$travel$$timestamp, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -74,7 +65,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "bookmark": { - "$ref": "#/$defs/d1_time-travel-bookmark" + "type": "string" } }, "type": "object" @@ -86,7 +77,6 @@ export const tools: readonly Tool[] = [ $defs: { "d1_api-response-common": d1_api$$response$$common, "d1_messages": d1_messages, - "d1_time-travel-bookmark": d1_time$$travel$$bookmark, }, }, annotations: { @@ -117,7 +107,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "bookmark": { - "$ref": "#/$defs/d1_time-travel-bookmark" + "type": "string" } }, "type": "object" @@ -135,7 +125,6 @@ export const tools: readonly Tool[] = [ "d1_api-response-common": d1_api$$response$$common, "d1_api-response-common-failure": d1_api$$response$$common$$failure, "d1_messages": d1_messages, - "d1_time-travel-bookmark": d1_time$$travel$$bookmark, }, }, request: (args) => ({ @@ -148,19 +137,20 @@ export const tools: readonly Tool[] = [ { name: "d1_timeTravel_restore", title: "Restore D1 Database to a bookmark or point in time", - description: "Restore a D1 database to a previous point in time either via a bookmark or a timestamp.\n\nConfirm with the user before calling this tool. This reverts the D1 database to a previous point in time. Data written after the bookmark will be lost.", + description: "Restore a D1 database to a previous point in time either via a bookmark or a timestamp.\n\nConfirm with the user before calling this tool. This reverts the D1 database to a previous point in time. Data written after the bookmark will be lost.\n\nPOST /accounts/{account_id}/d1/database/{database_id}/time_travel/restore", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "description": "D1 database identifier (UUID).", + "type": "string" } }, "required": [ @@ -170,14 +160,16 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "bookmark": { - "$ref": "#/$defs/d1_time-travel-bookmark", - "description": "A bookmark to restore the database to. Required if `timestamp` is not provided." + "description": "A bookmark to restore the database to. Required if `timestamp` is not provided.", + "type": "string" }, "timestamp": { - "$ref": "#/$defs/d1_time-travel-timestamp", - "description": "An ISO 8601 timestamp to restore the database to. Required if `bookmark` is not provided." + "description": "An ISO 8601 timestamp to restore the database to. Required if `bookmark` is not provided.", + "format": "date-time", + "type": "string" } }, "type": "object" @@ -186,12 +178,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "d1_account-identifier": d1_account$$identifier, - "d1_database-identifier": d1_database$$identifier, - "d1_time-travel-bookmark": d1_time$$travel$$bookmark$, - "d1_time-travel-timestamp": d1_time$$travel$$timestamp, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -210,7 +197,6 @@ export const tools: readonly Tool[] = [ $defs: { "d1_api-response-common": d1_api$$response$$common, "d1_messages": d1_messages, - "d1_time-travel-bookmark": d1_time$$travel$$bookmark, "d1_time-travel-restore-response": d1_time$$travel$$restore$$response, }, }, @@ -251,7 +237,6 @@ export const tools: readonly Tool[] = [ "d1_api-response-common": d1_api$$response$$common, "d1_api-response-common-failure": d1_api$$response$$common$$failure, "d1_messages": d1_messages, - "d1_time-travel-bookmark": d1_time$$travel$$bookmark, "d1_time-travel-restore-response": d1_time$$travel$$restore$$response, }, }, diff --git a/src/generated/forge-mcp/d1/tools.ts b/src/generated/forge-mcp/d1/tools.ts index 94b392331..ca107b56c 100644 --- a/src/generated/forge-mcp/d1/tools.ts +++ b/src/generated/forge-mcp/d1/tools.ts @@ -5,36 +5,21 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { d1_api$$response$$common, d1_api$$response$$common$$failure, - d1_created$$at, d1_database$$details$$response, - d1_database$$identifier, - d1_database$$name, d1_database$$response, - d1_database$$version, - d1_file$$size, - d1_jurisdiction$$nullable, d1_messages, d1_query$$meta, d1_query$$result$$response, d1_raw$$result$$response, d1_read$$replication$$details$$for$$response, - d1_served$$by$$colo, - d1_served$$by$$region, - d1_table$$count, } from "./outputs.js"; import { - d1_account$$identifier, d1_batch$$query, - d1_database$$identifier as d1_database$$identifier$, - d1_database$$name as d1_database$$name$, d1_database$$update$$partial$$request$$body, d1_database$$update$$request$$body, - d1_jurisdiction, d1_params, - d1_primary$$location$$hint, d1_read$$replication$$details$$for$$request, d1_single$$query, - d1_sql, } from "./schemas.js"; /** @@ -44,23 +29,36 @@ export const tools: readonly Tool[] = [ { name: "d1_create", title: "Create D1 Database", - description: "Create a new D1 database in your account.", + description: "Create a new D1 database in your account.\n\nPOST /accounts/{account_id}/d1/database", inputSchema: { type: "object", properties: { "body": { "properties": { "jurisdiction": { - "$ref": "#/$defs/d1_jurisdiction", - "description": "Specify the location to restrict the D1 database to run and store data. If this option is present, the location hint is ignored." + "description": "Specify the location to restrict the D1 database to run and store data. If this option is present, the location hint is ignored.", + "enum": [ + "eu", + "fedramp", + "us" + ], + "type": "string" }, "name": { - "$ref": "#/$defs/d1_database-name", - "description": "D1 database name." + "description": "D1 database name.", + "type": "string" }, "primary_location_hint": { - "$ref": "#/$defs/d1_primary-location-hint", - "description": "Specify the region to create the D1 primary, if available. If this option is omitted, the D1 will be created as close as possible to the current user." + "description": "Specify the region to create the D1 primary, if available. If this option is omitted, the D1 will be created as close as possible to the current user.", + "enum": [ + "wnam", + "enam", + "weur", + "eeur", + "apac", + "oc" + ], + "type": "string" }, "read_replication": { "$ref": "#/$defs/d1_read-replication-details-for-request", @@ -73,10 +71,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -89,11 +88,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "d1_account-identifier": d1_account$$identifier, - "d1_database-name": d1_database$$name$, - "d1_jurisdiction": d1_jurisdiction, - "d1_primary-location-hint": d1_primary$$location$$hint, "d1_read-replication-details-for-request": d1_read$$replication$$details$$for$$request, }, }, @@ -113,16 +109,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "d1_api-response-common": d1_api$$response$$common, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, annotations: { @@ -164,16 +153,9 @@ export const tools: readonly Tool[] = [ $defs: { "d1_api-response-common": d1_api$$response$$common, "d1_api-response-common-failure": d1_api$$response$$common$$failure, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, request: (args) => ({ @@ -184,19 +166,20 @@ export const tools: readonly Tool[] = [ { name: "d1_delete", title: "Delete D1 Database", - description: "Delete a D1 database.\n\nConfirm with the user before calling this tool. This permanently deletes the D1 database and all of its data.", + description: "Delete a D1 database.\n\nConfirm with the user before calling this tool. This permanently deletes the D1 database and all of its data.\n\nDELETE /accounts/{account_id}/d1/database/{database_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "description": "D1 database identifier (UUID).", + "type": "string" } }, "required": [ @@ -209,10 +192,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "d1_account-identifier": d1_account$$identifier, - "d1_database-identifier": d1_database$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -282,7 +262,7 @@ export const tools: readonly Tool[] = [ { name: "d1_edit", title: "Update D1 Database partially", - description: "Partially update a D1 database's configuration.", + description: "Partially update a D1 database's configuration.\n\nPATCH /accounts/{account_id}/d1/database/{database_id}", inputSchema: { type: "object", properties: { @@ -290,14 +270,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/d1_database-update-partial-request-body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "description": "D1 database identifier (UUID).", + "type": "string" } }, "required": [ @@ -311,9 +292,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "d1_account-identifier": d1_account$$identifier, - "d1_database-identifier": d1_database$$identifier$, "d1_database-update-partial-request-body": d1_database$$update$$partial$$request$$body, "d1_read-replication-details-for-request": d1_read$$replication$$details$$for$$request, }, @@ -334,16 +314,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "d1_api-response-common": d1_api$$response$$common, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, annotations: { @@ -384,16 +357,9 @@ export const tools: readonly Tool[] = [ $defs: { "d1_api-response-common": d1_api$$response$$common, "d1_api-response-common-failure": d1_api$$response$$common$$failure, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, request: (args) => ({ @@ -404,23 +370,26 @@ export const tools: readonly Tool[] = [ { name: "d1_get", title: "Get D1 Database", - description: "Get details for a specific D1 database.", + description: "Get details for a specific D1 database.\n\nGET /accounts/{account_id}/d1/database/{database_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "database_id": { "oneOf": [ { - "$ref": "#/$defs/d1_database-identifier" + "description": "D1 database identifier (UUID).", + "type": "string" }, { - "$ref": "#/$defs/d1_database-name" + "description": "D1 database name.", + "type": "string" } ] } @@ -432,9 +401,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "fields": { - "description": "Comma-separated list of fields to include in the response. When omitted,\nall fields are returned.\n", + "description": "Comma-separated list of fields to include in the response. When omitted,\nall fields are returned.", "items": { "enum": [ "uuid", @@ -458,11 +428,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "d1_account-identifier": d1_account$$identifier, - "d1_database-identifier": d1_database$$identifier$, - "d1_database-name": d1_database$$name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -480,16 +446,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "d1_api-response-common": d1_api$$response$$common, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, annotations: { @@ -532,16 +491,9 @@ export const tools: readonly Tool[] = [ $defs: { "d1_api-response-common": d1_api$$response$$common, "d1_api-response-common-failure": d1_api$$response$$common$$failure, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, request: (args) => ({ @@ -554,15 +506,16 @@ export const tools: readonly Tool[] = [ { name: "d1_list", title: "List D1 Databases", - description: "List D1 databases in your account.", + description: "List D1 databases in your account.\n\nGET /accounts/{account_id}/d1/database", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -571,6 +524,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "description": "a database name to search for.", @@ -593,9 +547,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "d1_account-identifier": d1_account$$identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -633,12 +585,7 @@ export const tools: readonly Tool[] = [ ], $defs: { "d1_api-response-common": d1_api$$response$$common, - "d1_created-at": d1_created$$at, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, "d1_database-response": d1_database$$response, - "d1_database-version": d1_database$$version, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, }, }, @@ -702,12 +649,7 @@ export const tools: readonly Tool[] = [ $defs: { "d1_api-response-common": d1_api$$response$$common, "d1_api-response-common-failure": d1_api$$response$$common$$failure, - "d1_created-at": d1_created$$at, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, "d1_database-response": d1_database$$response, - "d1_database-version": d1_database$$version, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, }, }, @@ -723,7 +665,7 @@ export const tools: readonly Tool[] = [ { name: "d1_query", title: "Query D1 Database", - description: "Execute a SQL query against a D1 database and return results as objects.", + description: "Execute a SQL query against a D1 database and return results as objects.\n\nPOST /accounts/{account_id}/d1/database/{database_id}/query", inputSchema: { type: "object", properties: { @@ -731,14 +673,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/d1_batch-query" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "description": "D1 database identifier (UUID).", + "type": "string" } }, "required": [ @@ -752,13 +695,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "d1_account-identifier": d1_account$$identifier, "d1_batch-query": d1_batch$$query, - "d1_database-identifier": d1_database$$identifier$, "d1_params": d1_params, "d1_single-query": d1_single$$query, - "d1_sql": d1_sql, }, }, outputSchema: { @@ -783,8 +724,6 @@ export const tools: readonly Tool[] = [ "d1_messages": d1_messages, "d1_query-meta": d1_query$$meta, "d1_query-result-response": d1_query$$result$$response, - "d1_served-by-colo": d1_served$$by$$colo, - "d1_served-by-region": d1_served$$by$$region, }, }, annotations: { @@ -833,8 +772,6 @@ export const tools: readonly Tool[] = [ "d1_messages": d1_messages, "d1_query-meta": d1_query$$meta, "d1_query-result-response": d1_query$$result$$response, - "d1_served-by-colo": d1_served$$by$$colo, - "d1_served-by-region": d1_served$$by$$region, }, }, request: (args) => ({ @@ -845,7 +782,7 @@ export const tools: readonly Tool[] = [ { name: "d1_raw", title: "Raw D1 Database query", - description: "Execute a SQL query against a D1 database and return result rows as arrays rather than objects. This is a performance-optimized version of the /query endpoint.", + description: "Execute a SQL query against a D1 database and return result rows as arrays rather than objects. This is a performance-optimized version of the /query endpoint.\n\nPOST /accounts/{account_id}/d1/database/{database_id}/raw", inputSchema: { type: "object", properties: { @@ -853,14 +790,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/d1_batch-query" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "description": "D1 database identifier (UUID).", + "type": "string" } }, "required": [ @@ -874,13 +812,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "d1_account-identifier": d1_account$$identifier, "d1_batch-query": d1_batch$$query, - "d1_database-identifier": d1_database$$identifier$, "d1_params": d1_params, "d1_single-query": d1_single$$query, - "d1_sql": d1_sql, }, }, outputSchema: { @@ -905,8 +841,6 @@ export const tools: readonly Tool[] = [ "d1_messages": d1_messages, "d1_query-meta": d1_query$$meta, "d1_raw-result-response": d1_raw$$result$$response, - "d1_served-by-colo": d1_served$$by$$colo, - "d1_served-by-region": d1_served$$by$$region, }, }, annotations: { @@ -955,8 +889,6 @@ export const tools: readonly Tool[] = [ "d1_messages": d1_messages, "d1_query-meta": d1_query$$meta, "d1_raw-result-response": d1_raw$$result$$response, - "d1_served-by-colo": d1_served$$by$$colo, - "d1_served-by-region": d1_served$$by$$region, }, }, request: (args) => ({ @@ -967,28 +899,29 @@ 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.\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.", + 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.\n\nPOST /accounts/{account_id}/d1/database/{database_id}/undelete", inputSchema: { type: "object", properties: { "body": { "properties": { "new_name": { - "$ref": "#/$defs/d1_database-name", - "description": "Restore the database with this name instead of the name it had when it was deleted. Required if another database in the account already uses that name." + "description": "Restore the database with this name instead of the name it had when it was deleted. Required if another database in the account already uses that name.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "description": "D1 database identifier (UUID).", + "type": "string" } }, "required": [ @@ -1001,11 +934,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "d1_account-identifier": d1_account$$identifier, - "d1_database-identifier": d1_database$$identifier$, - "d1_database-name": d1_database$$name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -1023,16 +952,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "d1_api-response-common": d1_api$$response$$common, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, annotations: { @@ -1071,16 +993,9 @@ export const tools: readonly Tool[] = [ $defs: { "d1_api-response-common": d1_api$$response$$common, "d1_api-response-common-failure": d1_api$$response$$common$$failure, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, request: (args) => ({ @@ -1091,7 +1006,7 @@ export const tools: readonly Tool[] = [ { name: "d1_update", title: "Update D1 Database", - description: "Update a D1 database's configuration.", + description: "Update a D1 database's configuration.\n\nPUT /accounts/{account_id}/d1/database/{database_id}", inputSchema: { type: "object", properties: { @@ -1099,14 +1014,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/d1_database-update-request-body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/d1_account-identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "database_id": { - "$ref": "#/$defs/d1_database-identifier", - "description": "D1 database identifier (UUID)." + "description": "D1 database identifier (UUID).", + "type": "string" } }, "required": [ @@ -1120,9 +1036,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "d1_account-identifier": d1_account$$identifier, - "d1_database-identifier": d1_database$$identifier$, "d1_database-update-request-body": d1_database$$update$$request$$body, "d1_read-replication-details-for-request": d1_read$$replication$$details$$for$$request, }, @@ -1143,16 +1058,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "d1_api-response-common": d1_api$$response$$common, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, annotations: { @@ -1194,16 +1102,9 @@ export const tools: readonly Tool[] = [ $defs: { "d1_api-response-common": d1_api$$response$$common, "d1_api-response-common-failure": d1_api$$response$$common$$failure, - "d1_created-at": d1_created$$at, "d1_database-details-response": d1_database$$details$$response, - "d1_database-identifier": d1_database$$identifier, - "d1_database-name": d1_database$$name, - "d1_database-version": d1_database$$version, - "d1_file-size": d1_file$$size, - "d1_jurisdiction-nullable": d1_jurisdiction$$nullable, "d1_messages": d1_messages, "d1_read-replication-details-for-response": d1_read$$replication$$details$$for$$response, - "d1_table-count": d1_table$$count, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts index 66e09c1e0..6e276fed5 100644 --- a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts +++ b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/outputs.ts @@ -3,23 +3,16 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic-transit_check_type` in responses. - */ -export const magic$$transit_check_type: JsonSchema = { - "enum": [ - "icmp" - ], - "type": "string" -}; - /** * The schema of `magic-transit_endpoint_health_check` in responses. */ export const magic$$transit_endpoint_health_check: JsonSchema = { "properties": { "check_type": { - "$ref": "#/$defs/magic-transit_check_type" + "enum": [ + "icmp" + ], + "type": "string" }, "endpoint": { "type": "string" @@ -46,7 +39,7 @@ export const magic$$transit_endpoint_health_check_response: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/magic-transit_uuid" + "type": "string" } }, "type": "object" @@ -96,10 +89,3 @@ export const magic$$transit_endpoint_health_check_response_single: JsonSchema = } ] }; - -/** - * The schema of `magic-transit_uuid` in responses. - */ -export const magic$$transit_uuid: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/schemas.ts b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/schemas.ts index c03217e7e..7a85f2a31 100644 --- a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/schemas.ts +++ b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/schemas.ts @@ -3,26 +3,18 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic-transit_check_type`. - */ -export const magic$$transit_check_type: JsonSchema = { - "description": "type of check to perform", - "enum": [ - "icmp" - ], - "type": "string" -}; - /** * The schema of `magic-transit_endpoint_health_check`. */ export const magic$$transit_endpoint_health_check: JsonSchema = { "properties": { "check_type": { - "$ref": "#/$defs/magic-transit_check_type", "default": "icmp", - "description": "type of check to perform" + "description": "type of check to perform", + "enum": [ + "icmp" + ], + "type": "string" }, "endpoint": { "description": "the IP address of the host to perform checks against", @@ -39,11 +31,3 @@ export const magic$$transit_endpoint_health_check: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `magic-transit_uuid`. - */ -export const magic$$transit_uuid: JsonSchema = { - "description": "UUID.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts index 59a3b5aaf..37defba1b 100644 --- a/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts +++ b/src/generated/forge-mcp/diagnostics/endpointHealthchecks/tools.ts @@ -7,20 +7,13 @@ import { magic$$transit_api$$response$$common$$failure, magic$$transit_messages, } from "../outputs.js"; -import { magic$$transit_identifier } from "../schemas.js"; import { - magic$$transit_check_type, magic$$transit_endpoint_health_check, magic$$transit_endpoint_health_check_response, magic$$transit_endpoint_health_check_response_collection, magic$$transit_endpoint_health_check_response_single, - magic$$transit_uuid, } from "./outputs.js"; -import { - magic$$transit_check_type as magic$$transit_check_type$, - magic$$transit_endpoint_health_check as magic$$transit_endpoint_health_check$, - magic$$transit_uuid as magic$$transit_uuid$, -} from "./schemas.js"; +import { magic$$transit_endpoint_health_check as magic$$transit_endpoint_health_check$ } from "./schemas.js"; /** * The tools of `diagnostics.endpointHealthchecks`. @@ -29,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "diagnostics_endpointHealthchecks_create", title: "Endpoint Health Check", - description: "Create Endpoint Health Check.", + description: "Create Endpoint Health Check.\n\nPOST /accounts/{account_id}/diagnostics/endpoint-healthchecks", inputSchema: { type: "object", properties: { @@ -37,10 +30,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic-transit_endpoint_health_check" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -53,22 +47,19 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-transit_check_type": magic$$transit_check_type$, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check$, - "magic-transit_identifier": magic$$transit_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic-transit_endpoint_health_check_response_single", $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, - "magic-transit_check_type": magic$$transit_check_type, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, "magic-transit_messages": magic$$transit_messages, - "magic-transit_uuid": magic$$transit_uuid, }, }, annotations: { @@ -103,12 +94,10 @@ export const tools: readonly Tool[] = [ $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, - "magic-transit_check_type": magic$$transit_check_type, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, "magic-transit_messages": magic$$transit_messages, - "magic-transit_uuid": magic$$transit_uuid, }, }, request: (args) => ({ @@ -119,19 +108,20 @@ export const tools: readonly Tool[] = [ { name: "diagnostics_endpointHealthchecks_delete", title: "Delete Endpoint Health Check", - description: "Delete Endpoint Health Check.", + description: "Delete Endpoint Health Check.\n\nDELETE /accounts/{account_id}/diagnostics/endpoint-healthchecks/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "id": { - "$ref": "#/$defs/magic-transit_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -144,10 +134,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-transit_identifier": magic$$transit_identifier, - "magic-transit_uuid": magic$$transit_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-transit_api-response-common", @@ -195,19 +182,20 @@ export const tools: readonly Tool[] = [ { name: "diagnostics_endpointHealthchecks_get", title: "Get Endpoint Health Check", - description: "Get a single Endpoint Health Check.", + description: "Get a single Endpoint Health Check.\n\nGET /accounts/{account_id}/diagnostics/endpoint-healthchecks/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "id": { - "$ref": "#/$defs/magic-transit_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -220,21 +208,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-transit_identifier": magic$$transit_identifier, - "magic-transit_uuid": magic$$transit_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-transit_endpoint_health_check_response_single", $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, - "magic-transit_check_type": magic$$transit_check_type, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, "magic-transit_messages": magic$$transit_messages, - "magic-transit_uuid": magic$$transit_uuid, }, }, annotations: { @@ -269,12 +252,10 @@ export const tools: readonly Tool[] = [ $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, - "magic-transit_check_type": magic$$transit_check_type, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, "magic-transit_messages": magic$$transit_messages, - "magic-transit_uuid": magic$$transit_uuid, }, }, request: (args) => ({ @@ -284,15 +265,16 @@ export const tools: readonly Tool[] = [ { name: "diagnostics_endpointHealthchecks_list", title: "List Endpoint Health Checks", - description: "List Endpoint Health Checks.", + description: "List Endpoint Health Checks.\n\nGET /accounts/{account_id}/diagnostics/endpoint-healthchecks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -304,20 +286,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-transit_identifier": magic$$transit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-transit_endpoint_health_check_response_collection", $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, - "magic-transit_check_type": magic$$transit_check_type, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, "magic-transit_endpoint_health_check_response_collection": magic$$transit_endpoint_health_check_response_collection, "magic-transit_messages": magic$$transit_messages, - "magic-transit_uuid": magic$$transit_uuid, }, }, annotations: { @@ -352,12 +330,10 @@ export const tools: readonly Tool[] = [ $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, - "magic-transit_check_type": magic$$transit_check_type, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, "magic-transit_endpoint_health_check_response_collection": magic$$transit_endpoint_health_check_response_collection, "magic-transit_messages": magic$$transit_messages, - "magic-transit_uuid": magic$$transit_uuid, }, }, request: (args) => ({ @@ -367,7 +343,7 @@ export const tools: readonly Tool[] = [ { name: "diagnostics_endpointHealthchecks_update", title: "Update Endpoint Health Check", - description: "Update an Endpoint Health Check.", + description: "Update an Endpoint Health Check.\n\nPUT /accounts/{account_id}/diagnostics/endpoint-healthchecks/{id}", inputSchema: { type: "object", properties: { @@ -375,14 +351,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic-transit_endpoint_health_check" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "id": { - "$ref": "#/$defs/magic-transit_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -396,23 +373,19 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-transit_check_type": magic$$transit_check_type$, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check$, - "magic-transit_identifier": magic$$transit_identifier, - "magic-transit_uuid": magic$$transit_uuid$, }, }, outputSchema: { "$ref": "#/$defs/magic-transit_endpoint_health_check_response_single", $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, - "magic-transit_check_type": magic$$transit_check_type, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, "magic-transit_messages": magic$$transit_messages, - "magic-transit_uuid": magic$$transit_uuid, }, }, annotations: { @@ -444,12 +417,10 @@ export const tools: readonly Tool[] = [ $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, - "magic-transit_check_type": magic$$transit_check_type, "magic-transit_endpoint_health_check": magic$$transit_endpoint_health_check, "magic-transit_endpoint_health_check_response": magic$$transit_endpoint_health_check_response, "magic-transit_endpoint_health_check_response_single": magic$$transit_endpoint_health_check_response_single, "magic-transit_messages": magic$$transit_messages, - "magic-transit_uuid": magic$$transit_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/diagnostics/schemas.ts b/src/generated/forge-mcp/diagnostics/schemas.ts deleted file mode 100644 index fe8c20576..000000000 --- a/src/generated/forge-mcp/diagnostics/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `magic-transit_identifier`. - */ -export const magic$$transit_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; diff --git a/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts b/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts index e63574209..8a24f9af4 100644 --- a/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts +++ b/src/generated/forge-mcp/diagnostics/traceroutes/outputs.ts @@ -3,42 +3,21 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic-transit_asn` in responses. - */ -export const magic$$transit_asn: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic-transit_colo` in responses. */ export const magic$$transit_colo: JsonSchema = { "properties": { "city": { - "$ref": "#/$defs/magic-transit_colo_city" + "type": "string" }, "name": { - "$ref": "#/$defs/magic-transit_colo_name" + "type": "string" } }, "type": "object" }; -/** - * The schema of `magic-transit_colo_city` in responses. - */ -export const magic$$transit_colo_city: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic-transit_colo_name` in responses. - */ -export const magic$$transit_colo_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic-transit_colo_result` in responses. */ @@ -48,7 +27,14 @@ export const magic$$transit_colo_result: JsonSchema = { "$ref": "#/$defs/magic-transit_colo" }, "error": { - "$ref": "#/$defs/magic-transit_error" + "enum": [ + "", + "Could not gather traceroute data: Code 1", + "Could not gather traceroute data: Code 2", + "Could not gather traceroute data: Code 3", + "Could not gather traceroute data: Code 4" + ], + "type": "string" }, "hops": { "items": { @@ -60,26 +46,12 @@ export const magic$$transit_colo_result: JsonSchema = { "$ref": "#/$defs/magic-transit_target_summary" }, "traceroute_time_ms": { - "$ref": "#/$defs/magic-transit_traceroute_time_ms" + "type": "integer" } }, "type": "object" }; -/** - * The schema of `magic-transit_error` in responses. - */ -export const magic$$transit_error: JsonSchema = { - "enum": [ - "", - "Could not gather traceroute data: Code 1", - "Could not gather traceroute data: Code 2", - "Could not gather traceroute data: Code 3", - "Could not gather traceroute data: Code 4" - ], - "type": "string" -}; - /** * The schema of `magic-transit_hop_result` in responses. */ @@ -92,25 +64,18 @@ export const magic$$transit_hop_result: JsonSchema = { "type": "array" }, "packets_lost": { - "$ref": "#/$defs/magic-transit_packets_lost" + "type": "integer" }, "packets_sent": { - "$ref": "#/$defs/magic-transit_packets_sent" + "type": "integer" }, "packets_ttl": { - "$ref": "#/$defs/magic-transit_packets_ttl" + "type": "integer" } }, "type": "object" }; -/** - * The schema of `magic-transit_ip` in responses. - */ -export const magic$$transit_ip: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic-transit_labels` in responses. */ @@ -121,112 +86,42 @@ export const magic$$transit_labels: JsonSchema = { "type": "array" }; -/** - * The schema of `magic-transit_max_rtt_ms` in responses. - */ -export const magic$$transit_max_rtt_ms: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `magic-transit_mean_rtt_ms` in responses. - */ -export const magic$$transit_mean_rtt_ms: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `magic-transit_min_rtt_ms` in responses. - */ -export const magic$$transit_min_rtt_ms: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `magic-transit_name` in responses. - */ -export const magic$$transit_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic-transit_node_result` in responses. */ export const magic$$transit_node_result: JsonSchema = { "properties": { "asn": { - "$ref": "#/$defs/magic-transit_asn" + "type": "string" }, "ip": { - "$ref": "#/$defs/magic-transit_ip" + "type": "string" }, "labels": { "$ref": "#/$defs/magic-transit_labels" }, "max_rtt_ms": { - "$ref": "#/$defs/magic-transit_max_rtt_ms" + "type": "number" }, "mean_rtt_ms": { - "$ref": "#/$defs/magic-transit_mean_rtt_ms" + "type": "number" }, "min_rtt_ms": { - "$ref": "#/$defs/magic-transit_min_rtt_ms" + "type": "number" }, "name": { - "$ref": "#/$defs/magic-transit_name" + "type": "string" }, "packet_count": { - "$ref": "#/$defs/magic-transit_packet_count" + "type": "integer" }, "std_dev_rtt_ms": { - "$ref": "#/$defs/magic-transit_std_dev_rtt_ms" + "type": "number" } }, "type": "object" }; -/** - * The schema of `magic-transit_packet_count` in responses. - */ -export const magic$$transit_packet_count: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `magic-transit_packets_lost` in responses. - */ -export const magic$$transit_packets_lost: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `magic-transit_packets_sent` in responses. - */ -export const magic$$transit_packets_sent: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `magic-transit_packets_ttl` in responses. - */ -export const magic$$transit_packets_ttl: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `magic-transit_std_dev_rtt_ms` in responses. - */ -export const magic$$transit_std_dev_rtt_ms: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `magic-transit_target` in responses. - */ -export const magic$$transit_target: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic-transit_target_result` in responses. */ @@ -239,7 +134,7 @@ export const magic$$transit_target_result: JsonSchema = { "type": "array" }, "target": { - "$ref": "#/$defs/magic-transit_target" + "type": "string" } }, "type": "object" @@ -273,10 +168,3 @@ export const magic$$transit_traceroute_response_collection: JsonSchema = { } ] }; - -/** - * The schema of `magic-transit_traceroute_time_ms` in responses. - */ -export const magic$$transit_traceroute_time_ms: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/diagnostics/traceroutes/schemas.ts b/src/generated/forge-mcp/diagnostics/traceroutes/schemas.ts index 23c25ba34..badc304ce 100644 --- a/src/generated/forge-mcp/diagnostics/traceroutes/schemas.ts +++ b/src/generated/forge-mcp/diagnostics/traceroutes/schemas.ts @@ -14,79 +14,47 @@ export const magic$$transit_colos: JsonSchema = { "type": "array" }; -/** - * The schema of `magic-transit_max_ttl`. - */ -export const magic$$transit_max_ttl: JsonSchema = { - "description": "Max TTL.", - "type": "integer" -}; - /** * The schema of `magic-transit_options`. */ export const magic$$transit_options: JsonSchema = { "properties": { "max_ttl": { - "$ref": "#/$defs/magic-transit_max_ttl", "default": 15, - "description": "Max TTL." + "description": "Max TTL.", + "type": "integer" }, "packet_type": { - "$ref": "#/$defs/magic-transit_packet_type", "default": "icmp", - "description": "Type of packet sent." + "description": "Type of packet sent.", + "enum": [ + "icmp", + "tcp", + "udp", + "gre", + "gre+icmp" + ], + "type": "string" }, "packets_per_ttl": { - "$ref": "#/$defs/magic-transit_packets_per_ttl", "default": 3, - "description": "Number of packets sent at each TTL." + "description": "Number of packets sent at each TTL.", + "type": "integer" }, "port": { - "$ref": "#/$defs/magic-transit_port", "default": 0, - "description": "For UDP and TCP, specifies the destination port. For ICMP, specifies the initial ICMP sequence value. Default value 0 will choose the best value to use for each protocol." + "description": "For UDP and TCP, specifies the destination port. For ICMP, specifies the initial ICMP sequence value. Default value 0 will choose the best value to use for each protocol.", + "type": "integer" }, "wait_time": { - "$ref": "#/$defs/magic-transit_wait_time", "default": 1, - "description": "Set the time (in seconds) to wait for a response to a probe." + "description": "Set the time (in seconds) to wait for a response to a probe.", + "type": "integer" } }, "type": "object" }; -/** - * The schema of `magic-transit_packet_type`. - */ -export const magic$$transit_packet_type: JsonSchema = { - "description": "Type of packet sent.", - "enum": [ - "icmp", - "tcp", - "udp", - "gre", - "gre+icmp" - ], - "type": "string" -}; - -/** - * The schema of `magic-transit_packets_per_ttl`. - */ -export const magic$$transit_packets_per_ttl: JsonSchema = { - "description": "Number of packets sent at each TTL.", - "type": "integer" -}; - -/** - * The schema of `magic-transit_port`. - */ -export const magic$$transit_port: JsonSchema = { - "description": "For UDP and TCP, specifies the destination port. For ICMP, specifies the initial ICMP sequence value. Default value 0 will choose the best value to use for each protocol.", - "type": "integer" -}; - /** * The schema of `magic-transit_targets`. */ @@ -97,11 +65,3 @@ export const magic$$transit_targets: JsonSchema = { "maxItems": 10, "type": "array" }; - -/** - * The schema of `magic-transit_wait_time`. - */ -export const magic$$transit_wait_time: JsonSchema = { - "description": "Set the time (in seconds) to wait for a response to a probe.", - "type": "integer" -}; diff --git a/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts b/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts index ab3518a17..502966abb 100644 --- a/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts +++ b/src/generated/forge-mcp/diagnostics/traceroutes/tools.ts @@ -7,42 +7,20 @@ import { magic$$transit_api$$response$$common$$failure, magic$$transit_messages, } from "../outputs.js"; -import { magic$$transit_identifier } from "../schemas.js"; import { - magic$$transit_asn, magic$$transit_colo, - magic$$transit_colo_city, - magic$$transit_colo_name, magic$$transit_colo_result, - magic$$transit_error, magic$$transit_hop_result, - magic$$transit_ip, magic$$transit_labels, - magic$$transit_max_rtt_ms, - magic$$transit_mean_rtt_ms, - magic$$transit_min_rtt_ms, - magic$$transit_name, magic$$transit_node_result, - magic$$transit_packet_count, - magic$$transit_packets_lost, - magic$$transit_packets_sent, - magic$$transit_packets_ttl, - magic$$transit_std_dev_rtt_ms, - magic$$transit_target, magic$$transit_target_result, magic$$transit_target_summary, magic$$transit_traceroute_response_collection, - magic$$transit_traceroute_time_ms, } from "./outputs.js"; import { magic$$transit_colos, - magic$$transit_max_ttl, magic$$transit_options, - magic$$transit_packet_type, - magic$$transit_packets_per_ttl, - magic$$transit_port, magic$$transit_targets, - magic$$transit_wait_time, } from "./schemas.js"; /** @@ -52,7 +30,7 @@ export const tools: readonly Tool[] = [ { name: "diagnostics_traceroutes_create", title: "Traceroute", - description: "Run traceroutes from Cloudflare colos.", + description: "Run traceroutes from Cloudflare colos.\n\nPOST /accounts/{account_id}/diagnostics/traceroute", inputSchema: { type: "object", properties: { @@ -75,10 +53,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-transit_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -91,47 +70,26 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "magic-transit_colos": magic$$transit_colos, - "magic-transit_identifier": magic$$transit_identifier, - "magic-transit_max_ttl": magic$$transit_max_ttl, "magic-transit_options": magic$$transit_options, - "magic-transit_packet_type": magic$$transit_packet_type, - "magic-transit_packets_per_ttl": magic$$transit_packets_per_ttl, - "magic-transit_port": magic$$transit_port, "magic-transit_targets": magic$$transit_targets, - "magic-transit_wait_time": magic$$transit_wait_time, }, }, outputSchema: { "$ref": "#/$defs/magic-transit_traceroute_response_collection", $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, - "magic-transit_asn": magic$$transit_asn, "magic-transit_colo": magic$$transit_colo, - "magic-transit_colo_city": magic$$transit_colo_city, - "magic-transit_colo_name": magic$$transit_colo_name, "magic-transit_colo_result": magic$$transit_colo_result, - "magic-transit_error": magic$$transit_error, "magic-transit_hop_result": magic$$transit_hop_result, - "magic-transit_ip": magic$$transit_ip, "magic-transit_labels": magic$$transit_labels, - "magic-transit_max_rtt_ms": magic$$transit_max_rtt_ms, - "magic-transit_mean_rtt_ms": magic$$transit_mean_rtt_ms, "magic-transit_messages": magic$$transit_messages, - "magic-transit_min_rtt_ms": magic$$transit_min_rtt_ms, - "magic-transit_name": magic$$transit_name, "magic-transit_node_result": magic$$transit_node_result, - "magic-transit_packet_count": magic$$transit_packet_count, - "magic-transit_packets_lost": magic$$transit_packets_lost, - "magic-transit_packets_sent": magic$$transit_packets_sent, - "magic-transit_packets_ttl": magic$$transit_packets_ttl, - "magic-transit_std_dev_rtt_ms": magic$$transit_std_dev_rtt_ms, - "magic-transit_target": magic$$transit_target, "magic-transit_target_result": magic$$transit_target_result, "magic-transit_target_summary": magic$$transit_target_summary, "magic-transit_traceroute_response_collection": magic$$transit_traceroute_response_collection, - "magic-transit_traceroute_time_ms": magic$$transit_traceroute_time_ms, }, }, annotations: { @@ -166,31 +124,15 @@ export const tools: readonly Tool[] = [ $defs: { "magic-transit_api-response-common": magic$$transit_api$$response$$common, "magic-transit_api-response-common-failure": magic$$transit_api$$response$$common$$failure, - "magic-transit_asn": magic$$transit_asn, "magic-transit_colo": magic$$transit_colo, - "magic-transit_colo_city": magic$$transit_colo_city, - "magic-transit_colo_name": magic$$transit_colo_name, "magic-transit_colo_result": magic$$transit_colo_result, - "magic-transit_error": magic$$transit_error, "magic-transit_hop_result": magic$$transit_hop_result, - "magic-transit_ip": magic$$transit_ip, "magic-transit_labels": magic$$transit_labels, - "magic-transit_max_rtt_ms": magic$$transit_max_rtt_ms, - "magic-transit_mean_rtt_ms": magic$$transit_mean_rtt_ms, "magic-transit_messages": magic$$transit_messages, - "magic-transit_min_rtt_ms": magic$$transit_min_rtt_ms, - "magic-transit_name": magic$$transit_name, "magic-transit_node_result": magic$$transit_node_result, - "magic-transit_packet_count": magic$$transit_packet_count, - "magic-transit_packets_lost": magic$$transit_packets_lost, - "magic-transit_packets_sent": magic$$transit_packets_sent, - "magic-transit_packets_ttl": magic$$transit_packets_ttl, - "magic-transit_std_dev_rtt_ms": magic$$transit_std_dev_rtt_ms, - "magic-transit_target": magic$$transit_target, "magic-transit_target_result": magic$$transit_target_result, "magic-transit_target_summary": magic$$transit_target_summary, "magic-transit_traceroute_response_collection": magic$$transit_traceroute_response_collection, - "magic-transit_traceroute_time_ms": magic$$transit_traceroute_time_ms, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts index 5f167edb7..46fe874c8 100644 --- a/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts +++ b/src/generated/forge-mcp/dls/regionalServices/prefixBindings/tools.ts @@ -9,7 +9,6 @@ import { dls_none, dls_response, } from "../../outputs.js"; -import { dls_account_identifier } from "../../schemas.js"; import { dls_PrefixBinding, dls_PrefixBindingPaginatedListResponse, @@ -27,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "dls_regionalServices_prefixBindings_create", title: "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.", + 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.\n\nPOST /accounts/{account_id}/dls/regional_services/prefix_bindings", inputSchema: { type: "object", properties: { @@ -35,10 +34,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dls_CreatePrefixBindingInput" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -51,9 +51,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dls_CreatePrefixBindingInput": dls_CreatePrefixBindingInput, - "dls_account_identifier": dls_account_identifier, }, }, outputSchema: { @@ -120,15 +120,16 @@ export const tools: readonly Tool[] = [ { name: "dls_regionalServices_prefixBindings_delete", title: "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**.", + description: "Delete a BYOIP prefix binding.\n\nLike creating a binding, this requires **IP Prefixes Write** in addition to **DLS Write**.\n\nDELETE /accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "binding_id": { "description": "Unique identifier for the prefix binding.", @@ -145,9 +146,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_account_identifier": dls_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dls_good_response", @@ -205,7 +204,7 @@ export const tools: readonly Tool[] = [ { name: "dls_regionalServices_prefixBindings_edit", title: "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**.", + 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**.\n\nPATCH /accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}", inputSchema: { type: "object", properties: { @@ -213,10 +212,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dls_UpdatePrefixBindingInput" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "binding_id": { "description": "Unique identifier for the prefix binding.", @@ -234,9 +234,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dls_UpdatePrefixBindingInput": dls_UpdatePrefixBindingInput, - "dls_account_identifier": dls_account_identifier, }, }, outputSchema: { @@ -303,15 +303,16 @@ export const tools: readonly Tool[] = [ { name: "dls_regionalServices_prefixBindings_get", title: "Get a DLS prefix binding", - description: "Retrieve a single BYOIP prefix binding by ID.", + description: "Retrieve a single BYOIP prefix binding by ID.\n\nGET /accounts/{account_id}/dls/regional_services/prefix_bindings/{binding_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "binding_id": { "description": "Unique identifier for the prefix binding.", @@ -328,9 +329,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_account_identifier": dls_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dls_PrefixBindingResponse", @@ -392,15 +391,16 @@ export const tools: readonly Tool[] = [ { name: "dls_regionalServices_prefixBindings_list", title: "List DLS prefix bindings for an account", - description: "List the BYOIP prefix bindings configured for an account.", + description: "List the BYOIP prefix bindings configured for an account.\n\nGET /accounts/{account_id}/dls/regional_services/prefix_bindings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -409,6 +409,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque token for cursor-based pagination. Omit for the first page. Pass the value from a previous response to fetch the next page.", @@ -425,9 +426,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_account_identifier": dls_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dls_PrefixBindingPaginatedListResponse", diff --git a/src/generated/forge-mcp/dls/regions/tools.ts b/src/generated/forge-mcp/dls/regions/tools.ts index 7567c0b74..38fda9121 100644 --- a/src/generated/forge-mcp/dls/regions/tools.ts +++ b/src/generated/forge-mcp/dls/regions/tools.ts @@ -9,7 +9,6 @@ import { dls_none, dls_response, } from "../outputs.js"; -import { dls_account_identifier } from "../schemas.js"; import { dls_FetchPublicRegionResponse, dls_RegionPublic, @@ -23,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "dls_regions_get", title: "Get a DLS region", - description: "Retrieve a single DLS region (managed or custom) by ID or region key.", + description: "Retrieve a single DLS region (managed or custom) by ID or region key.\n\nGET /accounts/{account_id}/dls/regions/{region_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" }, "region_id": { "description": "UUID of the region (custom or managed) or region_key of a managed region.", @@ -48,9 +48,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_account_identifier": dls_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dls_FetchPublicRegionResponse", @@ -112,15 +110,16 @@ export const tools: readonly Tool[] = [ { name: "dls_regions_list", title: "List DLS regions for an account", - description: "List the DLS regions (managed and custom) available to an account.", + description: "List the DLS regions (managed and custom) available to an account.\n\nGET /accounts/{account_id}/dls/regions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dls_account_identifier", - "description": "Identifier of a Cloudflare account." + "description": "Identifier of a Cloudflare account.", + "type": "string" } }, "required": [ @@ -129,6 +128,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque token for cursor-based pagination. Omit for the first page. Pass the value from a previous response to fetch the next page.", @@ -153,9 +153,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dls_account_identifier": dls_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dls_RegionPublicPaginatedListResponse", diff --git a/src/generated/forge-mcp/dls/schemas.ts b/src/generated/forge-mcp/dls/schemas.ts deleted file mode 100644 index 4d79c949a..000000000 --- a/src/generated/forge-mcp/dls/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `dls_account_identifier`. - */ -export const dls_account_identifier: JsonSchema = { - "description": "Identifier of a Cloudflare account.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/dnssec/list/outputs.ts b/src/generated/forge-mcp/dns/dnssec/list/outputs.ts index 8578f7a80..373116738 100644 --- a/src/generated/forge-mcp/dns/dnssec/list/outputs.ts +++ b/src/generated/forge-mcp/dns/dnssec/list/outputs.ts @@ -154,21 +154,6 @@ export const dnssec_dnskey_signing_key: JsonSchema = { "type": "object" }; -/** - * The schema of `dnssec_dnssec_key_state` in responses. - */ -export const dnssec_dnssec_key_state: JsonSchema = { - "enum": [ - "active", - "publish", - "external", - "retired", - "revoked", - "removed" - ], - "type": "string" -}; - /** * The schema of `dnssec_dnssec_zsk` in responses. */ @@ -178,7 +163,11 @@ export const dnssec_dnssec_zsk: JsonSchema = { "$ref": "#/$defs/dnssec_dnskey_record" }, "Location": { - "$ref": "#/$defs/dnssec_key_storage_location" + "enum": [ + "database", + "vault" + ], + "type": "string" }, "Name": { "type": "string" @@ -187,7 +176,15 @@ export const dnssec_dnssec_zsk: JsonSchema = { "$ref": "#/$defs/dnssec_dnskey_signing_key" }, "Tag": { - "$ref": "#/$defs/dnssec_dnssec_key_state" + "enum": [ + "active", + "publish", + "external", + "retired", + "revoked", + "removed" + ], + "type": "string" } }, "type": "object" @@ -214,14 +211,3 @@ export const dnssec_dnssec_zsk_response_collection: JsonSchema = { } ] }; - -/** - * The schema of `dnssec_key_storage_location` in responses. - */ -export const dnssec_key_storage_location: JsonSchema = { - "enum": [ - "database", - "vault" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/dnssec/list/tools.ts b/src/generated/forge-mcp/dns/dnssec/list/tools.ts index 6e19500f9..9d902825a 100644 --- a/src/generated/forge-mcp/dns/dnssec/list/tools.ts +++ b/src/generated/forge-mcp/dns/dnssec/list/tools.ts @@ -7,15 +7,12 @@ import { dnssec_api$$response$$single, dnssec_messages, } from "../outputs.js"; -import { dnssec_identifier } from "../schemas.js"; import { dnssec_dnskey_record, dnssec_dnskey_record_header, dnssec_dnskey_signing_key, - dnssec_dnssec_key_state, dnssec_dnssec_zsk, dnssec_dnssec_zsk_response_collection, - dnssec_key_storage_location, } from "./outputs.js"; /** @@ -25,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "dns_dnssec_list_zsks", title: "List DNSSEC ZSKs", - description: "List the Zone Signing Keys (ZSKs) that DNSSEC uses for the zone.", + description: "List the Zone Signing Keys (ZSKs) that DNSSEC uses for the zone.\n\nGET /zones/{zone_id}/dnssec/zsk", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dnssec_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -45,9 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dnssec_identifier": dnssec_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dnssec_dnssec_zsk_response_collection", @@ -56,10 +52,8 @@ export const tools: readonly Tool[] = [ "dnssec_dnskey_record": dnssec_dnskey_record, "dnssec_dnskey_record_header": dnssec_dnskey_record_header, "dnssec_dnskey_signing_key": dnssec_dnskey_signing_key, - "dnssec_dnssec_key_state": dnssec_dnssec_key_state, "dnssec_dnssec_zsk": dnssec_dnssec_zsk, "dnssec_dnssec_zsk_response_collection": dnssec_dnssec_zsk_response_collection, - "dnssec_key_storage_location": dnssec_key_storage_location, "dnssec_messages": dnssec_messages, }, }, @@ -99,10 +93,8 @@ export const tools: readonly Tool[] = [ "dnssec_dnskey_record": dnssec_dnskey_record, "dnssec_dnskey_record_header": dnssec_dnskey_record_header, "dnssec_dnskey_signing_key": dnssec_dnskey_signing_key, - "dnssec_dnssec_key_state": dnssec_dnssec_key_state, "dnssec_dnssec_zsk": dnssec_dnssec_zsk, "dnssec_dnssec_zsk_response_collection": dnssec_dnssec_zsk_response_collection, - "dnssec_key_storage_location": dnssec_key_storage_location, "dnssec_messages": dnssec_messages, }, }, diff --git a/src/generated/forge-mcp/dns/dnssec/outputs.ts b/src/generated/forge-mcp/dns/dnssec/outputs.ts index 806eeaf64..5d5156368 100644 --- a/src/generated/forge-mcp/dns/dnssec/outputs.ts +++ b/src/generated/forge-mcp/dns/dnssec/outputs.ts @@ -3,20 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `dnssec_algorithm` in responses. - */ -export const dnssec_algorithm: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `dnssec_api-response-common-failure` in responses. */ @@ -92,113 +78,135 @@ export const dnssec_delete_dnssec_response_single: JsonSchema = { ] }; -/** - * The schema of `dnssec_digest` in responses. - */ -export const dnssec_digest: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dnssec_digest_algorithm` in responses. - */ -export const dnssec_digest_algorithm: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dnssec_digest_type` in responses. - */ -export const dnssec_digest_type: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `dnssec_dnssec` in responses. */ export const dnssec_dnssec: JsonSchema = { "properties": { "algorithm": { - "$ref": "#/$defs/dnssec_algorithm" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "digest": { - "$ref": "#/$defs/dnssec_digest" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "digest_algorithm": { - "$ref": "#/$defs/dnssec_digest_algorithm" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "digest_type": { - "$ref": "#/$defs/dnssec_digest_type" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "dnssec_multi_signer": { - "$ref": "#/$defs/dnssec_dnssec_multi_signer" + "type": "boolean" }, "dnssec_presigned": { - "$ref": "#/$defs/dnssec_dnssec_presigned" + "type": "boolean" }, "dnssec_use_nsec3": { - "$ref": "#/$defs/dnssec_dnssec_use_nsec3" + "type": "boolean" }, "ds": { - "$ref": "#/$defs/dnssec_ds" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "flags": { - "$ref": "#/$defs/dnssec_flags" + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "key_tag": { - "$ref": "#/$defs/dnssec_key_tag" + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "key_type": { - "$ref": "#/$defs/dnssec_key_type" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "modified_on": { - "$ref": "#/$defs/dnssec_modified_on" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "public_key": { - "$ref": "#/$defs/dnssec_public_key" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "status": { - "$ref": "#/$defs/dnssec_status" + "enum": [ + "active", + "pending", + "disabled", + "pending-disabled", + "error" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `dnssec_dnssec_multi_signer` in responses. - */ -export const dnssec_dnssec_multi_signer: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `dnssec_dnssec_presigned` in responses. - */ -export const dnssec_dnssec_presigned: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `dnssec_dnssec_response_single` in responses. */ @@ -218,69 +226,6 @@ export const dnssec_dnssec_response_single: JsonSchema = { ] }; -/** - * The schema of `dnssec_dnssec_use_nsec3` in responses. - */ -export const dnssec_dnssec_use_nsec3: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `dnssec_ds` in responses. - */ -export const dnssec_ds: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dnssec_flags` in responses. - */ -export const dnssec_flags: JsonSchema = { - "oneOf": [ - { - "type": "number" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dnssec_key_tag` in responses. - */ -export const dnssec_key_tag: JsonSchema = { - "oneOf": [ - { - "type": "number" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dnssec_key_type` in responses. - */ -export const dnssec_key_type: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `dnssec_messages` in responses. */ @@ -313,46 +258,3 @@ export const dnssec_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `dnssec_modified_on` in responses. - */ -export const dnssec_modified_on: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dnssec_public_key` in responses. - */ -export const dnssec_public_key: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dnssec_status` in responses. - */ -export const dnssec_status: JsonSchema = { - "enum": [ - "active", - "pending", - "disabled", - "pending-disabled", - "error" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/dnssec/schemas.ts b/src/generated/forge-mcp/dns/dnssec/schemas.ts deleted file mode 100644 index 9753edc3c..000000000 --- a/src/generated/forge-mcp/dns/dnssec/schemas.ts +++ /dev/null @@ -1,36 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `dnssec_dnssec_multi_signer`. - */ -export const dnssec_dnssec_multi_signer: JsonSchema = { - "description": "If true, multi-signer DNSSEC is enabled on the zone, allowing multiple\nproviders to serve a DNSSEC-signed zone at the same time.\nThis is required for DNSKEY records (except those automatically\ngenerated by Cloudflare) to be added to the zone.\n\nSee [Multi-signer DNSSEC](https://developers.cloudflare.com/dns/dnssec/multi-signer-dnssec/) for details.", - "type": "boolean" -}; - -/** - * The schema of `dnssec_dnssec_presigned`. - */ -export const dnssec_dnssec_presigned: JsonSchema = { - "description": "If true, allows Cloudflare to transfer in a DNSSEC-signed zone\nincluding signatures from an external provider, without requiring\nCloudflare to sign any records on the fly.\n\nNote that this feature has some limitations.\nSee [Cloudflare as Secondary](https://developers.cloudflare.com/dns/zone-setups/zone-transfers/cloudflare-as-secondary/setup/#dnssec) for details.", - "type": "boolean" -}; - -/** - * The schema of `dnssec_dnssec_use_nsec3`. - */ -export const dnssec_dnssec_use_nsec3: JsonSchema = { - "description": "If true, enables the use of NSEC3 together with DNSSEC on the zone.\nCombined with setting dnssec_presigned to true, this enables the use of\nNSEC3 records when transferring in from an external provider.\nIf dnssec_presigned is instead set to false (default), NSEC3 records will be\ngenerated and signed at request time.\n\nSee [DNSSEC with NSEC3](https://developers.cloudflare.com/dns/dnssec/enable-nsec3/) for details.", - "type": "boolean" -}; - -/** - * The schema of `dnssec_identifier`. - */ -export const dnssec_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/dnssec/tools.ts b/src/generated/forge-mcp/dns/dnssec/tools.ts index 16481c8f7..0440bbd6d 100644 --- a/src/generated/forge-mcp/dns/dnssec/tools.ts +++ b/src/generated/forge-mcp/dns/dnssec/tools.ts @@ -3,33 +3,13 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - dnssec_algorithm, dnssec_api$$response$$common$$failure, dnssec_api$$response$$single, dnssec_delete_dnssec_response_single, - dnssec_digest, - dnssec_digest_algorithm, - dnssec_digest_type, dnssec_dnssec, - dnssec_dnssec_multi_signer, - dnssec_dnssec_presigned, dnssec_dnssec_response_single, - dnssec_dnssec_use_nsec3, - dnssec_ds, - dnssec_flags, - dnssec_key_tag, - dnssec_key_type, dnssec_messages, - dnssec_modified_on, - dnssec_public_key, - dnssec_status, } from "./outputs.js"; -import { - dnssec_dnssec_multi_signer as dnssec_dnssec_multi_signer$, - dnssec_dnssec_presigned as dnssec_dnssec_presigned$, - dnssec_dnssec_use_nsec3 as dnssec_dnssec_use_nsec3$, - dnssec_identifier, -} from "./schemas.js"; /** * The tools of `dns.dnssec`. @@ -38,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "dns_dnssec_delete", title: "Delete DNSSEC records", - description: "Delete DNSSEC.", + description: "Delete DNSSEC.\n\nDELETE /zones/{zone_id}/dnssec", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dnssec_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -58,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dnssec_identifier": dnssec_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dnssec_delete_dnssec_response_single", @@ -118,23 +97,23 @@ export const tools: readonly Tool[] = [ { name: "dns_dnssec_edit", title: "Edit DNSSEC Status", - description: "Enable or disable DNSSEC.", + description: "Enable or disable DNSSEC.\n\nPATCH /zones/{zone_id}/dnssec", inputSchema: { type: "object", properties: { "body": { "properties": { "dnssec_multi_signer": { - "$ref": "#/$defs/dnssec_dnssec_multi_signer", - "description": "If true, multi-signer DNSSEC is enabled on the zone, allowing multiple\nproviders to serve a DNSSEC-signed zone at the same time.\nThis is required for DNSKEY records (except those automatically\ngenerated by Cloudflare) to be added to the zone.\n\nSee [Multi-signer DNSSEC](https://developers.cloudflare.com/dns/dnssec/multi-signer-dnssec/) for details." + "description": "If true, multi-signer DNSSEC is enabled on the zone, allowing multiple\nproviders to serve a DNSSEC-signed zone at the same time.\nThis is required for DNSKEY records (except those automatically\ngenerated by Cloudflare) to be added to the zone.\n\nSee [Multi-signer DNSSEC](https://developers.cloudflare.com/dns/dnssec/multi-signer-dnssec/) for details.", + "type": "boolean" }, "dnssec_presigned": { - "$ref": "#/$defs/dnssec_dnssec_presigned", - "description": "If true, allows Cloudflare to transfer in a DNSSEC-signed zone\nincluding signatures from an external provider, without requiring\nCloudflare to sign any records on the fly.\n\nNote that this feature has some limitations.\nSee [Cloudflare as Secondary](https://developers.cloudflare.com/dns/zone-setups/zone-transfers/cloudflare-as-secondary/setup/#dnssec) for details." + "description": "If true, allows Cloudflare to transfer in a DNSSEC-signed zone\nincluding signatures from an external provider, without requiring\nCloudflare to sign any records on the fly.\n\nNote that this feature has some limitations.\nSee [Cloudflare as Secondary](https://developers.cloudflare.com/dns/zone-setups/zone-transfers/cloudflare-as-secondary/setup/#dnssec) for details.", + "type": "boolean" }, "dnssec_use_nsec3": { - "$ref": "#/$defs/dnssec_dnssec_use_nsec3", - "description": "If true, enables the use of NSEC3 together with DNSSEC on the zone.\nCombined with setting dnssec_presigned to true, this enables the use of\nNSEC3 records when transferring in from an external provider.\nIf dnssec_presigned is instead set to false (default), NSEC3 records will be\ngenerated and signed at request time.\n\nSee [DNSSEC with NSEC3](https://developers.cloudflare.com/dns/dnssec/enable-nsec3/) for details." + "description": "If true, enables the use of NSEC3 together with DNSSEC on the zone.\nCombined with setting dnssec_presigned to true, this enables the use of\nNSEC3 records when transferring in from an external provider.\nIf dnssec_presigned is instead set to false (default), NSEC3 records will be\ngenerated and signed at request time.\n\nSee [DNSSEC with NSEC3](https://developers.cloudflare.com/dns/dnssec/enable-nsec3/) for details.", + "type": "boolean" }, "status": { "description": "Status of DNSSEC, based on user-desired state and presence of necessary records.", @@ -148,10 +127,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dnssec_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -164,34 +144,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer$, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned$, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3$, - "dnssec_identifier": dnssec_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dnssec_dnssec_response_single", $defs: { - "dnssec_algorithm": dnssec_algorithm, "dnssec_api-response-single": dnssec_api$$response$$single, - "dnssec_digest": dnssec_digest, - "dnssec_digest_algorithm": dnssec_digest_algorithm, - "dnssec_digest_type": dnssec_digest_type, "dnssec_dnssec": dnssec_dnssec, - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned, "dnssec_dnssec_response_single": dnssec_dnssec_response_single, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3, - "dnssec_ds": dnssec_ds, - "dnssec_flags": dnssec_flags, - "dnssec_key_tag": dnssec_key_tag, - "dnssec_key_type": dnssec_key_type, "dnssec_messages": dnssec_messages, - "dnssec_modified_on": dnssec_modified_on, - "dnssec_public_key": dnssec_public_key, - "dnssec_status": dnssec_status, }, }, annotations: { @@ -229,25 +190,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dnssec_algorithm": dnssec_algorithm, "dnssec_api-response-common-failure": dnssec_api$$response$$common$$failure, "dnssec_api-response-single": dnssec_api$$response$$single, - "dnssec_digest": dnssec_digest, - "dnssec_digest_algorithm": dnssec_digest_algorithm, - "dnssec_digest_type": dnssec_digest_type, "dnssec_dnssec": dnssec_dnssec, - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned, "dnssec_dnssec_response_single": dnssec_dnssec_response_single, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3, - "dnssec_ds": dnssec_ds, - "dnssec_flags": dnssec_flags, - "dnssec_key_tag": dnssec_key_tag, - "dnssec_key_type": dnssec_key_type, "dnssec_messages": dnssec_messages, - "dnssec_modified_on": dnssec_modified_on, - "dnssec_public_key": dnssec_public_key, - "dnssec_status": dnssec_status, }, }, request: (args) => ({ @@ -258,15 +205,16 @@ export const tools: readonly Tool[] = [ { name: "dns_dnssec_get", title: "DNSSEC Details", - description: "Details about DNSSEC status and configuration.", + description: "Details about DNSSEC status and configuration.\n\nGET /zones/{zone_id}/dnssec", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dnssec_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -278,31 +226,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dnssec_identifier": dnssec_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dnssec_dnssec_response_single", $defs: { - "dnssec_algorithm": dnssec_algorithm, "dnssec_api-response-single": dnssec_api$$response$$single, - "dnssec_digest": dnssec_digest, - "dnssec_digest_algorithm": dnssec_digest_algorithm, - "dnssec_digest_type": dnssec_digest_type, "dnssec_dnssec": dnssec_dnssec, - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned, "dnssec_dnssec_response_single": dnssec_dnssec_response_single, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3, - "dnssec_ds": dnssec_ds, - "dnssec_flags": dnssec_flags, - "dnssec_key_tag": dnssec_key_tag, - "dnssec_key_type": dnssec_key_type, "dnssec_messages": dnssec_messages, - "dnssec_modified_on": dnssec_modified_on, - "dnssec_public_key": dnssec_public_key, - "dnssec_status": dnssec_status, }, }, annotations: { @@ -341,25 +273,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dnssec_algorithm": dnssec_algorithm, "dnssec_api-response-common-failure": dnssec_api$$response$$common$$failure, "dnssec_api-response-single": dnssec_api$$response$$single, - "dnssec_digest": dnssec_digest, - "dnssec_digest_algorithm": dnssec_digest_algorithm, - "dnssec_digest_type": dnssec_digest_type, "dnssec_dnssec": dnssec_dnssec, - "dnssec_dnssec_multi_signer": dnssec_dnssec_multi_signer, - "dnssec_dnssec_presigned": dnssec_dnssec_presigned, "dnssec_dnssec_response_single": dnssec_dnssec_response_single, - "dnssec_dnssec_use_nsec3": dnssec_dnssec_use_nsec3, - "dnssec_ds": dnssec_ds, - "dnssec_flags": dnssec_flags, - "dnssec_key_tag": dnssec_key_tag, - "dnssec_key_type": dnssec_key_type, "dnssec_messages": dnssec_messages, - "dnssec_modified_on": dnssec_modified_on, - "dnssec_public_key": dnssec_public_key, - "dnssec_status": dnssec_status, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/domainconnect/tools.ts b/src/generated/forge-mcp/dns/domainconnect/tools.ts index 70fa60b9d..b83d0b69b 100644 --- a/src/generated/forge-mcp/dns/domainconnect/tools.ts +++ b/src/generated/forge-mcp/dns/domainconnect/tools.ts @@ -16,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "dns_domainconnect_getDomainSettings", title: "Provide settings if domain is served by Cloudflare", - description: "Checks whether a domain is in Quicksilver and returns its settings.", + description: "Checks whether a domain is in Quicksilver and returns its settings.\n\nGET /v2/{domain}/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "domain": { "description": "Domain name.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "type": "object", @@ -75,10 +77,11 @@ export const tools: readonly Tool[] = [ { name: "dns_domainconnect_getHeartbeat", title: "Heartbeat response", - description: "Used by Kubernetes readiness and liveness probes, and CI builder by executing test/staging.sh.", + description: "Used by Kubernetes readiness and liveness probes, and CI builder by executing test/staging.sh.\n\nGET /_heartbeat", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -102,11 +105,12 @@ export const tools: readonly Tool[] = [ { name: "dns_domainconnect_getProviderConfiguration", title: "Serve a provider configuration", - description: "Provides Stratus with extra information about domain connect provider(s).", + description: "Provides Stratus with extra information about domain connect provider(s).\n\nGET /v2/provconf/{provider}/{service}/{account}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account": { "description": "Account ID.", @@ -132,6 +136,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/domain-connect_neededByStratus", @@ -180,11 +185,12 @@ export const tools: readonly Tool[] = [ { name: "dns_domainconnect_getProviderTemplate", title: "Serve a provider template", - description: "Providers are the external parties that are configured to interact with Cloudflare.", + description: "Providers are the external parties that are configured to interact with Cloudflare.\n\nGET /v2/domainTemplates/providers/{provider}/services/{service}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "provider": { "description": "Provider name.", @@ -202,6 +208,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dump": { "description": "Dump raw template.", @@ -214,6 +221,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "type": "object", @@ -253,7 +261,7 @@ export const tools: readonly Tool[] = [ { name: "dns_domainconnect_postVerify", title: "Request domain connect validation", - description: "Validates a Domain Connect signed request using DNS TXT public keys.", + description: "Validates a Domain Connect signed request using DNS TXT public keys.\n\nPOST /v1/verify", inputSchema: { type: "object", properties: { @@ -264,6 +272,7 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { "domain-connect_PostData": domain$$connect_PostData, }, diff --git a/src/generated/forge-mcp/dns/outputs.ts b/src/generated/forge-mcp/dns/outputs.ts index edbc6344d..39575a9fd 100644 --- a/src/generated/forge-mcp/dns/outputs.ts +++ b/src/generated/forge-mcp/dns/outputs.ts @@ -59,13 +59,6 @@ export const dns$$records_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-records_identifier` in responses. - */ -export const dns$$records_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `dns-records_messages` in responses. */ diff --git a/src/generated/forge-mcp/dns/records/outputs.ts b/src/generated/forge-mcp/dns/records/outputs.ts index e8e3f9b3b..6bf35c455 100644 --- a/src/generated/forge-mcp/dns/records/outputs.ts +++ b/src/generated/forge-mcp/dns/records/outputs.ts @@ -384,7 +384,7 @@ export const dns$$records_MXRecord: JsonSchema = { "type": "string" }, "priority": { - "$ref": "#/$defs/dns-records_priority" + "type": "number" }, "type": { "enum": [ @@ -582,7 +582,7 @@ export const dns$$records_SRVRecord: JsonSchema = { "type": "number" }, "priority": { - "$ref": "#/$defs/dns-records_priority" + "type": "number" }, "target": { "type": "string" @@ -775,7 +775,7 @@ export const dns$$records_URIRecord: JsonSchema = { "type": "object" }, "priority": { - "$ref": "#/$defs/dns-records_priority" + "type": "number" }, "type": { "enum": [ @@ -851,13 +851,6 @@ export const dns$$records_api$$response$$common: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-records_comment` in responses. - */ -export const dns$$records_comment: JsonSchema = { - "type": "string" -}; - /** * The schema of `dns-records_dns-record-response` in responses. */ @@ -884,7 +877,7 @@ export const dns$$records_dns$$record$$response: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/dns-records_identifier" + "type": "string" }, "meta": { "properties": { @@ -936,13 +929,13 @@ export const dns$$records_dns$$record$$response: JsonSchema = { export const dns$$records_dns$$record$$shared$$fields: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/dns-records_comment" + "type": "string" }, "name": { - "$ref": "#/$defs/dns-records_name" + "type": "string" }, "proxied": { - "$ref": "#/$defs/dns-records_proxied" + "type": "boolean" }, "settings": { "$ref": "#/$defs/dns-records_settings" @@ -951,7 +944,17 @@ export const dns$$records_dns$$record$$shared$$fields: JsonSchema = { "$ref": "#/$defs/dns-records_tags" }, "ttl": { - "$ref": "#/$defs/dns-records_ttl" + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + 1 + ], + "type": "integer" + } + ] } }, "type": "object" @@ -1082,7 +1085,7 @@ export const dns$$records_dns$$response$$review$$scan$$object: JsonSchema = { }, "rejects": { "items": { - "$ref": "#/$defs/dns-records_identifier" + "type": "string" }, "type": "array" } @@ -1195,27 +1198,6 @@ export const dns$$records_dns_response_trigger_scan: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-records_name` in responses. - */ -export const dns$$records_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `dns-records_priority` in responses. - */ -export const dns$$records_priority: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `dns-records_proxied` in responses. - */ -export const dns$$records_proxied: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `dns-records_settings` in responses. */ @@ -1240,20 +1222,3 @@ export const dns$$records_tags: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `dns-records_ttl` in responses. - */ -export const dns$$records_ttl: JsonSchema = { - "anyOf": [ - { - "type": "number" - }, - { - "enum": [ - 1 - ], - "type": "integer" - } - ] -}; diff --git a/src/generated/forge-mcp/dns/records/schemas.ts b/src/generated/forge-mcp/dns/records/schemas.ts index a9b801b1c..e37633ad2 100644 --- a/src/generated/forge-mcp/dns/records/schemas.ts +++ b/src/generated/forge-mcp/dns/records/schemas.ts @@ -430,7 +430,8 @@ export const dns$$records_MXRecord: JsonSchema = { "type": "string" }, "priority": { - "$ref": "#/$defs/dns-records_priority" + "description": "Required for MX and URI records; ignored for other record types (but may still be returned by the API). Records with lower priorities are preferred. This field is to be deprecated in favor of the priority field within the data map.", + "type": "number" }, "type": { "description": "Record type.", @@ -648,7 +649,8 @@ export const dns$$records_SRVRecord: JsonSchema = { "type": "number" }, "priority": { - "$ref": "#/$defs/dns-records_priority" + "description": "Required for MX and URI records; ignored for other record types (but may still be returned by the API). Records with lower priorities are preferred. This field is to be deprecated in favor of the priority field within the data map.", + "type": "number" }, "target": { "description": "A valid hostname.", @@ -858,7 +860,8 @@ export const dns$$records_URIRecord: JsonSchema = { "type": "object" }, "priority": { - "$ref": "#/$defs/dns-records_priority" + "description": "Required for MX and URI records; ignored for other record types (but may still be returned by the API). Records with lower priorities are preferred. This field is to be deprecated in favor of the priority field within the data map.", + "type": "number" }, "type": { "description": "Record type.", @@ -874,34 +877,14 @@ export const dns$$records_URIRecord: JsonSchema = { "description": "URI Record" }; -/** - * The schema of `dns-records_comment`. - */ -export const dns$$records_comment: JsonSchema = { - "description": "Comments or notes about the DNS record. This field has no effect on DNS responses.", - "type": "string" -}; - -/** - * The schema of `dns-records_direction`. - */ -export const dns$$records_direction: JsonSchema = { - "description": "Direction to order DNS records in.", - "enum": [ - "asc", - "desc" - ], - "type": "string" -}; - /** * The schema of `dns-records_dns-record-batch-delete`. */ export const dns$$records_dns$$record$$batch$$delete: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "type": "object" @@ -915,8 +898,8 @@ export const dns$$records_dns$$record$$batch$$patch: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -945,8 +928,8 @@ export const dns$$records_dns$$record$$batch$$put: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -1001,8 +984,8 @@ export const dns$$records_dns$$record$$scan$$batch$$accept: JsonSchema = { export const dns$$records_dns$$record$$scan$$batch$$reject: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "type": "object" @@ -1014,17 +997,17 @@ export const dns$$records_dns$$record$$scan$$batch$$reject: JsonSchema = { export const dns$$records_dns$$record$$shared$$fields: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/dns-records_comment", - "description": "Comments or notes about the DNS record. This field has no effect on DNS responses." + "description": "Comments or notes about the DNS record. This field has no effect on DNS responses.", + "type": "string" }, "name": { - "$ref": "#/$defs/dns-records_name", - "description": "Complete DNS record name, including the zone name, in Punycode." + "description": "Complete DNS record name, including the zone name, in Punycode.", + "type": "string" }, "proxied": { - "$ref": "#/$defs/dns-records_proxied", "default": false, - "description": "Whether the record is receiving the performance and security benefits of Cloudflare." + "description": "Whether the record is receiving the performance and security benefits of Cloudflare.", + "type": "boolean" }, "settings": { "$ref": "#/$defs/dns-records_settings", @@ -1036,7 +1019,17 @@ export const dns$$records_dns$$record$$shared$$fields: JsonSchema = { "description": "Custom tags for the DNS record. This field has no effect on DNS responses." }, "ttl": { - "$ref": "#/$defs/dns-records_ttl", + "anyOf": [ + { + "type": "number" + }, + { + "enum": [ + 1 + ], + "type": "integer" + } + ], "default": 1, "description": "Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones." } @@ -1177,81 +1170,6 @@ export const dns$$records_dns$$request$$review$$scan$$object: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-records_match`. - */ -export const dns$$records_match: JsonSchema = { - "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead. Note that the interaction between tag filters is controlled by the `tag-match` parameter instead.\n", - "enum": [ - "any", - "all" - ], - "type": "string" -}; - -/** - * The schema of `dns-records_name`. - */ -export const dns$$records_name: JsonSchema = { - "description": "Complete DNS record name, including the zone name, in Punycode.", - "type": "string" -}; - -/** - * The schema of `dns-records_order`. - */ -export const dns$$records_order: JsonSchema = { - "description": "Field to order DNS records by.", - "enum": [ - "type", - "name", - "content", - "ttl", - "proxied" - ], - "type": "string" -}; - -/** - * The schema of `dns-records_page`. - */ -export const dns$$records_page: JsonSchema = { - "description": "Page number of paginated results.", - "type": "number" -}; - -/** - * The schema of `dns-records_per_page`. - */ -export const dns$$records_per_page: JsonSchema = { - "description": "Number of DNS records per page.", - "type": "number" -}; - -/** - * The schema of `dns-records_priority`. - */ -export const dns$$records_priority: JsonSchema = { - "description": "Required for MX and URI records; ignored for other record types (but may still be returned by the API). Records with lower priorities are preferred. This field is to be deprecated in favor of the priority field within the data map.", - "type": "number" -}; - -/** - * The schema of `dns-records_proxied`. - */ -export const dns$$records_proxied: JsonSchema = { - "description": "Whether the record is receiving the performance and security benefits of Cloudflare.", - "type": "boolean" -}; - -/** - * The schema of `dns-records_search`. - */ -export const dns$$records_search: JsonSchema = { - "description": "Allows searching in multiple properties of a DNS record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future. This parameter works independently of the `match` setting. For automated searches, please use the other available parameters.\n", - "type": "string" -}; - /** * The schema of `dns-records_settings`. */ @@ -1272,18 +1190,6 @@ export const dns$$records_settings: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-records_tag_match`. - */ -export const dns$$records_tag_match: JsonSchema = { - "description": "Whether to match all tag search requirements or at least one (any). If set to `all`, acts like a logical AND between tag filters. If set to `any`, acts like a logical OR instead. Note that the regular `match` parameter is still used to combine the resulting condition with other filters that aren't related to tags.\n", - "enum": [ - "any", - "all" - ], - "type": "string" -}; - /** * The schema of `dns-records_tags`. */ @@ -1294,52 +1200,3 @@ export const dns$$records_tags: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `dns-records_ttl`. - */ -export const dns$$records_ttl: JsonSchema = { - "anyOf": [ - { - "type": "number" - }, - { - "enum": [ - 1 - ], - "type": "integer" - } - ], - "description": "Time To Live (TTL) of the DNS record in seconds. Setting to 1 means 'automatic'. Value must be between 60 and 86400, with the minimum reduced to 30 for Enterprise zones." -}; - -/** - * The schema of `dns-records_type`. - */ -export const dns$$records_type: JsonSchema = { - "description": "Record type.", - "enum": [ - "A", - "AAAA", - "CAA", - "CERT", - "CNAME", - "DNSKEY", - "DS", - "HTTPS", - "LOC", - "MX", - "NAPTR", - "NS", - "OPENPGPKEY", - "PTR", - "SMIMEA", - "SRV", - "SSHFP", - "SVCB", - "TLSA", - "TXT", - "URI" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/records/tools.ts b/src/generated/forge-mcp/dns/records/tools.ts index 69c03d037..4224dd594 100644 --- a/src/generated/forge-mcp/dns/records/tools.ts +++ b/src/generated/forge-mcp/dns/records/tools.ts @@ -5,10 +5,8 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { dns$$records_api$$response$$common$$failure, dns$$records_api$$response$$single, - dns$$records_identifier, dns$$records_messages, } from "../outputs.js"; -import { dns$$records_identifier as dns$$records_identifier$ } from "../schemas.js"; import { dns$$records_AAAARecord, dns$$records_ARecord, @@ -33,7 +31,6 @@ import { dns$$records_URIRecord, dns$$records_api$$response$$collection, dns$$records_api$$response$$common, - dns$$records_comment, dns$$records_dns$$record$$response, dns$$records_dns$$record$$shared$$fields, dns$$records_dns$$record$$with$$data, @@ -45,12 +42,8 @@ import { dns$$records_dns_response_review_scan, dns$$records_dns_response_single, dns$$records_dns_response_trigger_scan, - dns$$records_name, - dns$$records_priority, - dns$$records_proxied, dns$$records_settings, dns$$records_tags, - dns$$records_ttl, } from "./outputs.js"; import { dns$$records_AAAARecord as dns$$records_AAAARecord$, @@ -74,8 +67,6 @@ import { dns$$records_TLSARecord as dns$$records_TLSARecord$, dns$$records_TXTRecord as dns$$records_TXTRecord$, dns$$records_URIRecord as dns$$records_URIRecord$, - dns$$records_comment as dns$$records_comment$, - dns$$records_direction, dns$$records_dns$$record$$batch$$delete, dns$$records_dns$$record$$batch$$patch, dns$$records_dns$$record$$batch$$post, @@ -89,19 +80,8 @@ import { dns$$records_dns$$record$$without$$data as dns$$records_dns$$record$$without$$data$, dns$$records_dns$$request$$batch$$object, dns$$records_dns$$request$$review$$scan$$object, - dns$$records_match, - dns$$records_name as dns$$records_name$, - dns$$records_order, - dns$$records_page, - dns$$records_per_page, - dns$$records_priority as dns$$records_priority$, - dns$$records_proxied as dns$$records_proxied$, - dns$$records_search, dns$$records_settings as dns$$records_settings$, - dns$$records_tag_match, dns$$records_tags as dns$$records_tags$, - dns$$records_ttl as dns$$records_ttl$, - dns$$records_type, } from "./schemas.js"; /** @@ -111,7 +91,7 @@ export const tools: readonly Tool[] = [ { name: "dns_records_batch", title: "Batch DNS Records", - description: "Send a Batch of DNS Record API calls to be executed together.\n\nNotes:\n- Although Cloudflare will execute the batched operations in a single database transaction, Cloudflare's distributed KV store must treat each record change as a single key-value pair. This means that the propagation of changes is not atomic. See [the documentation](https://developers.cloudflare.com/dns/manage-dns-records/how-to/batch-record-changes/ \"Batch DNS records\") for more information.\n- The operations you specify within the /batch request body are always executed in the following order:\n\n - Deletes\n - Patches\n - Puts\n - Posts", + description: "Send a Batch of DNS Record API calls to be executed together.\n\nNotes:\n- Although Cloudflare will execute the batched operations in a single database transaction, Cloudflare's distributed KV store must treat each record change as a single key-value pair. This means that the propagation of changes is not atomic. See [the documentation](https://developers.cloudflare.com/dns/manage-dns-records/how-to/batch-record-changes/ \"Batch DNS records\") for more information.\n- The operations you specify within the /batch request body are always executed in the following order:\n\n - Deletes\n - Patches\n - Puts\n - Posts\n\nPOST /zones/{zone_id}/dns_records/batch", inputSchema: { type: "object", properties: { @@ -119,10 +99,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-records_dns-request-batch-object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -131,10 +112,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_shadow_metadata": { "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).", "type": "boolean" } }, @@ -145,6 +127,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-records_AAAARecord": dns$$records_AAAARecord$, "dns-records_ARecord": dns$$records_ARecord$, @@ -167,7 +150,6 @@ export const tools: readonly Tool[] = [ "dns-records_TLSARecord": dns$$records_TLSARecord$, "dns-records_TXTRecord": dns$$records_TXTRecord$, "dns-records_URIRecord": dns$$records_URIRecord$, - "dns-records_comment": dns$$records_comment$, "dns-records_dns-record-batch-delete": dns$$records_dns$$record$$batch$$delete, "dns-records_dns-record-batch-patch": dns$$records_dns$$record$$batch$$patch, "dns-records_dns-record-batch-post": dns$$records_dns$$record$$batch$$post, @@ -178,13 +160,8 @@ export const tools: readonly Tool[] = [ "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, "dns-records_dns-request-batch-object": dns$$records_dns$$request$$batch$$object, - "dns-records_identifier": dns$$records_identifier$, - "dns-records_name": dns$$records_name$, - "dns-records_priority": dns$$records_priority$, - "dns-records_proxied": dns$$records_proxied$, "dns-records_settings": dns$$records_settings$, "dns-records_tags": dns$$records_tags$, - "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { @@ -212,21 +189,15 @@ export const tools: readonly Tool[] = [ "dns-records_TXTRecord": dns$$records_TXTRecord, "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns-response-batch-object": dns$$records_dns$$response$$batch$$object, "dns-records_dns_response_batch": dns$$records_dns_response_batch, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -287,21 +258,15 @@ export const tools: readonly Tool[] = [ "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns-response-batch-object": dns$$records_dns$$response$$batch$$object, "dns-records_dns_response_batch": dns$$records_dns_response_batch, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ @@ -315,7 +280,7 @@ export const tools: readonly Tool[] = [ { name: "dns_records_create", title: "Create DNS Record", - description: "Create a new DNS record for a zone.\n\nNotes:\n- A/AAAA records cannot exist on the same name as CNAME records.\n- NS records cannot exist on the same name as any other record type.\n- Domain names are always represented in Punycode, even if Unicode\n characters were used when creating the record.", + description: "Create a new DNS record for a zone.\n\nNotes:\n- A/AAAA records cannot exist on the same name as CNAME records.\n- NS records cannot exist on the same name as any other record type.\n- Domain names are always represented in Punycode, even if Unicode\n characters were used when creating the record.\n\nPOST /zones/{zone_id}/dns_records", inputSchema: { type: "object", properties: { @@ -323,10 +288,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-records_dns-record-post" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -335,10 +301,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_shadow_metadata": { "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).", "type": "boolean" } }, @@ -349,6 +316,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-records_AAAARecord": dns$$records_AAAARecord$, "dns-records_ARecord": dns$$records_ARecord$, @@ -371,18 +339,12 @@ export const tools: readonly Tool[] = [ "dns-records_TLSARecord": dns$$records_TLSARecord$, "dns-records_TXTRecord": dns$$records_TXTRecord$, "dns-records_URIRecord": dns$$records_URIRecord$, - "dns-records_comment": dns$$records_comment$, "dns-records_dns-record-post": dns$$records_dns$$record$$post, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields$, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, - "dns-records_identifier": dns$$records_identifier$, - "dns-records_name": dns$$records_name$, - "dns-records_priority": dns$$records_priority$, - "dns-records_proxied": dns$$records_proxied$, "dns-records_settings": dns$$records_settings$, "dns-records_tags": dns$$records_tags$, - "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { @@ -410,20 +372,14 @@ export const tools: readonly Tool[] = [ "dns-records_TXTRecord": dns$$records_TXTRecord, "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_single": dns$$records_dns_response_single, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -484,20 +440,14 @@ export const tools: readonly Tool[] = [ "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_single": dns$$records_dns_response_single, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ @@ -511,19 +461,20 @@ export const tools: readonly Tool[] = [ { name: "dns_records_delete", title: "Delete DNS Record", - description: "Permanently removes a DNS record from the zone.", + description: "Permanently removes a DNS record from the zone.\n\nDELETE /zones/{zone_id}/dns_records/{dns_record_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dns_record_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -536,25 +487,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-records_identifier": dns$$records_identifier$, - }, + additionalProperties: false, }, outputSchema: { "properties": { "result": { "properties": { "id": { - "$ref": "#/$defs/dns-records_identifier" + "type": "string" } }, "type": "object" } }, "type": "object", - $defs: { - "dns-records_identifier": dns$$records_identifier, - }, }, annotations: { "destructiveHint": true, @@ -588,7 +534,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/dns-records_identifier" + "type": "string" } }, "type": "object" @@ -603,7 +549,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/dns-records_identifier" + "type": "string" } }, "type": "object" @@ -619,7 +565,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, }, }, @@ -630,7 +575,7 @@ export const tools: readonly Tool[] = [ { name: "dns_records_edit", title: "Update DNS Record", - description: "Update an existing DNS record.\n\nNotes:\n- A/AAAA records cannot exist on the same name as CNAME records.\n- NS records cannot exist on the same name as any other record type.\n- Domain names are always represented in Punycode, even if Unicode\n characters were used when creating the record.", + description: "Update an existing DNS record.\n\nNotes:\n- A/AAAA records cannot exist on the same name as CNAME records.\n- NS records cannot exist on the same name as any other record type.\n- Domain names are always represented in Punycode, even if Unicode\n characters were used when creating the record.\n\nPATCH /zones/{zone_id}/dns_records/{dns_record_id}", inputSchema: { type: "object", properties: { @@ -638,14 +583,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-records_dns-record-patch" }, "path": { + "additionalProperties": false, "properties": { "dns_record_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -655,10 +601,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_shadow_metadata": { "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).", "type": "boolean" } }, @@ -669,6 +616,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-records_AAAARecord": dns$$records_AAAARecord$, "dns-records_ARecord": dns$$records_ARecord$, @@ -691,18 +639,12 @@ export const tools: readonly Tool[] = [ "dns-records_TLSARecord": dns$$records_TLSARecord$, "dns-records_TXTRecord": dns$$records_TXTRecord$, "dns-records_URIRecord": dns$$records_URIRecord$, - "dns-records_comment": dns$$records_comment$, "dns-records_dns-record-patch": dns$$records_dns$$record$$patch, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields$, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, - "dns-records_identifier": dns$$records_identifier$, - "dns-records_name": dns$$records_name$, - "dns-records_priority": dns$$records_priority$, - "dns-records_proxied": dns$$records_proxied$, "dns-records_settings": dns$$records_settings$, "dns-records_tags": dns$$records_tags$, - "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { @@ -730,20 +672,14 @@ export const tools: readonly Tool[] = [ "dns-records_TXTRecord": dns$$records_TXTRecord, "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_single": dns$$records_dns_response_single, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -804,20 +740,14 @@ export const tools: readonly Tool[] = [ "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_single": dns$$records_dns_response_single, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ @@ -831,15 +761,16 @@ export const tools: readonly Tool[] = [ { name: "dns_records_export", title: "Export DNS Records", - description: "You can export your [BIND config](https://en.wikipedia.org/wiki/Zone_file \"Zone file\") through this endpoint.\n\nSee [the documentation](https://developers.cloudflare.com/dns/manage-dns-records/how-to/import-and-export/ \"Import and export records\") for more information.", + description: "You can export your [BIND config](https://en.wikipedia.org/wiki/Zone_file \"Zone file\") through this endpoint.\n\nSee [the documentation](https://developers.cloudflare.com/dns/manage-dns-records/how-to/import-and-export/ \"Import and export records\") for more information.\n\nGET /zones/{zone_id}/dns_records/export", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -851,9 +782,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-records_identifier": dns$$records_identifier$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -900,19 +829,20 @@ export const tools: readonly Tool[] = [ { name: "dns_records_get", title: "DNS Record Details", - description: "Retrieves details for a specific DNS record in the zone.", + description: "Retrieves details for a specific DNS record in the zone.\n\nGET /zones/{zone_id}/dns_records/{dns_record_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dns_record_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -922,10 +852,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_shadow_metadata": { "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).", "type": "boolean" } }, @@ -935,9 +866,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-records_identifier": dns$$records_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_single", @@ -964,20 +893,14 @@ export const tools: readonly Tool[] = [ "dns-records_TXTRecord": dns$$records_TXTRecord, "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_single": dns$$records_dns_response_single, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -1039,20 +962,14 @@ export const tools: readonly Tool[] = [ "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_single": dns$$records_dns_response_single, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ @@ -1065,15 +982,16 @@ export const tools: readonly Tool[] = [ { name: "dns_records_list", title: "List DNS Records", - description: "List, search, sort, and filter a zones' DNS records.", + description: "List, search, sort, and filter a zones' DNS records.\n\nGET /zones/{zone_id}/dns_records", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -1082,158 +1000,201 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "comment": { - "description": "Exact value of the DNS record comment. This is a convenience alias for `comment.exact`.\n", + "description": "Exact value of the DNS record comment. This is a convenience alias for `comment.exact`.", "type": "string" }, "comment.absent": { - "description": "If this parameter is present, only records *without* a comment are returned.\n", + "description": "If this parameter is present, only records *without* a comment are returned.", "type": "string" }, "comment.contains": { - "description": "Substring of the DNS record comment. Comment filters are case-insensitive.\n", + "description": "Substring of the DNS record comment. Comment filters are case-insensitive.", "type": "string" }, "comment.endswith": { - "description": "Suffix of the DNS record comment. Comment filters are case-insensitive.\n", + "description": "Suffix of the DNS record comment. Comment filters are case-insensitive.", "type": "string" }, "comment.exact": { - "description": "Exact value of the DNS record comment. Comment filters are case-insensitive.\n", + "description": "Exact value of the DNS record comment. Comment filters are case-insensitive.", "type": "string" }, "comment.present": { - "description": "If this parameter is present, only records *with* a comment are returned.\n", + "description": "If this parameter is present, only records *with* a comment are returned.", "type": "string" }, "comment.startswith": { - "description": "Prefix of the DNS record comment. Comment filters are case-insensitive.\n", + "description": "Prefix of the DNS record comment. Comment filters are case-insensitive.", "type": "string" }, "content": { - "description": "Exact value of the DNS record content. This is a convenience alias for `content.exact`.\n", + "description": "Exact value of the DNS record content. This is a convenience alias for `content.exact`.", "type": "string" }, "content.contains": { - "description": "Substring of the DNS record content. Content filters are case-insensitive.\n", + "description": "Substring of the DNS record content. Content filters are case-insensitive.", "type": "string" }, "content.endswith": { - "description": "Suffix of the DNS record content. Content filters are case-insensitive.\n", + "description": "Suffix of the DNS record content. Content filters are case-insensitive.", "type": "string" }, "content.exact": { - "description": "Exact value of the DNS record content. Content filters are case-insensitive.\n", + "description": "Exact value of the DNS record content. Content filters are case-insensitive.", "type": "string" }, "content.startswith": { - "description": "Prefix of the DNS record content. Content filters are case-insensitive.\n", + "description": "Prefix of the DNS record content. Content filters are case-insensitive.", "type": "string" }, "direction": { - "$ref": "#/$defs/dns-records_direction", "default": "asc", - "description": "Direction to order DNS records in." + "description": "Direction to order DNS records in.", + "enum": [ + "asc", + "desc" + ], + "type": "string" }, "include_shadow_metadata": { "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).", "type": "boolean" }, "match": { - "$ref": "#/$defs/dns-records_match", "default": "all", - "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead. Note that the interaction between tag filters is controlled by the `tag-match` parameter instead.\n" + "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead. Note that the interaction between tag filters is controlled by the `tag-match` parameter instead.", + "enum": [ + "any", + "all" + ], + "type": "string" }, "name": { - "description": "Exact value of the DNS record name. This is a convenience alias for `name.exact`.\n", + "description": "Exact value of the DNS record name. This is a convenience alias for `name.exact`.", "type": "string" }, "name.contains": { - "description": "Substring of the DNS record name. Name filters are case-insensitive.\n", + "description": "Substring of the DNS record name. Name filters are case-insensitive.", "type": "string" }, "name.endswith": { - "description": "Suffix of the DNS record name. Name filters are case-insensitive.\n", + "description": "Suffix of the DNS record name. Name filters are case-insensitive.", "type": "string" }, "name.exact": { - "description": "Exact value of the DNS record name. Name filters are case-insensitive.\n", + "description": "Exact value of the DNS record name. Name filters are case-insensitive.", "type": "string" }, "name.startswith": { - "description": "Prefix of the DNS record name. Name filters are case-insensitive.\n", + "description": "Prefix of the DNS record name. Name filters are case-insensitive.", "type": "string" }, "order": { - "$ref": "#/$defs/dns-records_order", "default": "type", - "description": "Field to order DNS records by." + "description": "Field to order DNS records by.", + "enum": [ + "type", + "name", + "content", + "ttl", + "proxied" + ], + "type": "string" }, "page": { - "$ref": "#/$defs/dns-records_page", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "number" }, "per_page": { - "$ref": "#/$defs/dns-records_per_page", "default": 100, - "description": "Number of DNS records per page." + "description": "Number of DNS records per page.", + "type": "number" }, "proxied": { - "$ref": "#/$defs/dns-records_proxied", "default": false, - "description": "Whether the record is receiving the performance and security benefits of Cloudflare." + "description": "Whether the record is receiving the performance and security benefits of Cloudflare.", + "type": "boolean" }, "search": { - "$ref": "#/$defs/dns-records_search", - "description": "Allows searching in multiple properties of a DNS record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future. This parameter works independently of the `match` setting. For automated searches, please use the other available parameters.\n" + "description": "Allows searching in multiple properties of a DNS record simultaneously. This parameter is intended for human users, not automation. Its exact behavior is intentionally left unspecified and is subject to change in the future. This parameter works independently of the `match` setting. For automated searches, please use the other available parameters.", + "type": "string" }, "shadowed_by_name": { - "description": "Filters the response to records at or below the specified NS delegation name. NS, DS, and NSEC records at the delegation name are excluded because they are not shadowed by that delegation. Those record types are included only when they exist below the delegation. The value must be a non-apex subdomain of the zone. Requires `include_shadow_metadata=true`. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "description": "Filters the response to records at or below the specified NS delegation name. NS, DS, and NSEC records at the delegation name are excluded because they are not shadowed by that delegation. Those record types are included only when they exist below the delegation. The value must be a non-apex subdomain of the zone. Requires `include_shadow_metadata=true`. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).", "type": "string" }, "shadowing_name": { - "description": "Returns NS records that shadow the given name, searching at the name itself and each of its ancestor names within the zone, excluding the zone apex. The value must be a subdomain of the zone; the zone apex is not accepted. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "description": "Returns NS records that shadow the given name, searching at the name itself and each of its ancestor names within the zone, excluding the zone apex. The value must be a subdomain of the zone; the zone apex is not accepted. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).", "type": "string" }, "tag": { - "description": "Condition on the DNS record tag.\n\nParameter values can be of the form `:` to search for an exact `name:value` pair, or just `` to search for records with a specific tag name regardless of its value.\n\nThis is a convenience shorthand for the more powerful `tag.` parameters.\nExamples:\n- `tag=important` is equivalent to `tag.present=important`\n- `tag=team:DNS` is equivalent to `tag.exact=team:DNS`\n", + "description": "Condition on the DNS record tag.\n\nParameter values can be of the form `:` to search for an exact `name:value` pair, or just `` to search for records with a specific tag name regardless of its value.\n\nThis is a convenience shorthand for the more powerful `tag.` parameters.\nExamples:\n- `tag=important` is equivalent to `tag.present=important`\n- `tag=team:DNS` is equivalent to `tag.exact=team:DNS`", "type": "string" }, "tag.absent": { - "description": "Name of a tag which must *not* be present on the DNS record. Tag filters are case-insensitive.\n", + "description": "Name of a tag which must *not* be present on the DNS record. Tag filters are case-insensitive.", "type": "string" }, "tag.contains": { - "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value contains ``. Tag filters are case-insensitive.\n", + "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value contains ``. Tag filters are case-insensitive.", "type": "string" }, "tag.endswith": { - "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value ends with ``. Tag filters are case-insensitive.\n", + "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value ends with ``. Tag filters are case-insensitive.", "type": "string" }, "tag.exact": { - "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value is ``. Tag filters are case-insensitive.\n", + "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value is ``. Tag filters are case-insensitive.", "type": "string" }, "tag.present": { - "description": "Name of a tag which must be present on the DNS record. Tag filters are case-insensitive.\n", + "description": "Name of a tag which must be present on the DNS record. Tag filters are case-insensitive.", "type": "string" }, "tag.startswith": { - "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value starts with ``. Tag filters are case-insensitive.\n", + "description": "A tag and value, of the form `:`. The API will only return DNS records that have a tag named `` whose value starts with ``. Tag filters are case-insensitive.", "type": "string" }, "tag_match": { - "$ref": "#/$defs/dns-records_tag_match", "default": "all", - "description": "Whether to match all tag search requirements or at least one (any). If set to `all`, acts like a logical AND between tag filters. If set to `any`, acts like a logical OR instead. Note that the regular `match` parameter is still used to combine the resulting condition with other filters that aren't related to tags.\n" + "description": "Whether to match all tag search requirements or at least one (any). If set to `all`, acts like a logical AND between tag filters. If set to `any`, acts like a logical OR instead. Note that the regular `match` parameter is still used to combine the resulting condition with other filters that aren't related to tags.", + "enum": [ + "any", + "all" + ], + "type": "string" }, "type": { - "$ref": "#/$defs/dns-records_type", - "description": "Record type." + "description": "Record type.", + "enum": [ + "A", + "AAAA", + "CAA", + "CERT", + "CNAME", + "DNSKEY", + "DS", + "HTTPS", + "LOC", + "MX", + "NAPTR", + "NS", + "OPENPGPKEY", + "PTR", + "SMIMEA", + "SRV", + "SSHFP", + "SVCB", + "TLSA", + "TXT", + "URI" + ], + "type": "string" } }, "type": "object" @@ -1242,18 +1203,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-records_direction": dns$$records_direction, - "dns-records_identifier": dns$$records_identifier$, - "dns-records_match": dns$$records_match, - "dns-records_order": dns$$records_order, - "dns-records_page": dns$$records_page, - "dns-records_per_page": dns$$records_per_page, - "dns-records_proxied": dns$$records_proxied$, - "dns-records_search": dns$$records_search, - "dns-records_tag_match": dns$$records_tag_match, - "dns-records_type": dns$$records_type, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_collection", @@ -1281,20 +1231,14 @@ export const tools: readonly Tool[] = [ "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-collection": dns$$records_api$$response$$collection, "dns-records_api-response-common": dns$$records_api$$response$$common, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_collection": dns$$records_dns_response_collection, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -1362,20 +1306,14 @@ export const tools: readonly Tool[] = [ "dns-records_api-response-collection": dns$$records_api$$response$$collection, "dns-records_api-response-common": dns$$records_api$$response$$common, "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_collection": dns$$records_dns_response_collection, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ @@ -1423,15 +1361,16 @@ export const tools: readonly Tool[] = [ { name: "dns_records_scanList", title: "List Scanned DNS Records", - description: "Retrieves the list of DNS records discovered up to this point by the asynchronous scan. These records are temporary until explicitly accepted or rejected via `POST /scan/review`. Additional records may be discovered by the scan later.", + description: "Retrieves the list of DNS records discovered up to this point by the asynchronous scan. These records are temporary until explicitly accepted or rejected via `POST /scan/review`. Additional records may be discovered by the scan later.\n\nGET /zones/{zone_id}/dns_records/scan/review", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -1443,9 +1382,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-records_identifier": dns$$records_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_collection", @@ -1473,20 +1410,14 @@ export const tools: readonly Tool[] = [ "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-collection": dns$$records_api$$response$$collection, "dns-records_api-response-common": dns$$records_api$$response$$common, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_collection": dns$$records_dns_response_collection, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -1549,20 +1480,14 @@ export const tools: readonly Tool[] = [ "dns-records_api-response-collection": dns$$records_api$$response$$collection, "dns-records_api-response-common": dns$$records_api$$response$$common, "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_collection": dns$$records_dns_response_collection, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ @@ -1572,7 +1497,7 @@ export const tools: readonly Tool[] = [ { name: "dns_records_scanReview", title: "Review Scanned DNS Records", - description: "Accept or reject DNS records found by the DNS records scan. Accepted records will be permanently added to the zone, while rejected records will be permanently deleted.", + description: "Accept or reject DNS records found by the DNS records scan. Accepted records will be permanently added to the zone, while rejected records will be permanently deleted.\n\nPOST /zones/{zone_id}/dns_records/scan/review", inputSchema: { type: "object", properties: { @@ -1580,10 +1505,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-records_dns-request-review-scan-object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -1596,6 +1522,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-records_AAAARecord": dns$$records_AAAARecord$, "dns-records_ARecord": dns$$records_ARecord$, @@ -1618,7 +1545,6 @@ export const tools: readonly Tool[] = [ "dns-records_TLSARecord": dns$$records_TLSARecord$, "dns-records_TXTRecord": dns$$records_TXTRecord$, "dns-records_URIRecord": dns$$records_URIRecord$, - "dns-records_comment": dns$$records_comment$, "dns-records_dns-record-patch": dns$$records_dns$$record$$patch, "dns-records_dns-record-scan-batch-accept": dns$$records_dns$$record$$scan$$batch$$accept, "dns-records_dns-record-scan-batch-reject": dns$$records_dns$$record$$scan$$batch$$reject, @@ -1626,13 +1552,8 @@ export const tools: readonly Tool[] = [ "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, "dns-records_dns-request-review-scan-object": dns$$records_dns$$request$$review$$scan$$object, - "dns-records_identifier": dns$$records_identifier$, - "dns-records_name": dns$$records_name$, - "dns-records_priority": dns$$records_priority$, - "dns-records_proxied": dns$$records_proxied$, "dns-records_settings": dns$$records_settings$, "dns-records_tags": dns$$records_tags$, - "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { @@ -1660,21 +1581,15 @@ export const tools: readonly Tool[] = [ "dns-records_TXTRecord": dns$$records_TXTRecord, "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns-response-review-scan-object": dns$$records_dns$$response$$review$$scan$$object, "dns-records_dns_response_review_scan": dns$$records_dns_response_review_scan, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -1735,21 +1650,15 @@ export const tools: readonly Tool[] = [ "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns-response-review-scan-object": dns$$records_dns$$response$$review$$scan$$object, "dns-records_dns_response_review_scan": dns$$records_dns_response_review_scan, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ @@ -1760,15 +1669,16 @@ export const tools: readonly Tool[] = [ { name: "dns_records_scanTrigger", title: "Trigger DNS Record Scan", - description: "Initiates an asynchronous scan for common DNS records on your domain. Note that this **does not** automatically add records to your zone. The scan runs in the background, and results can be reviewed later using the `/scan/review` endpoints. Useful if you haven't updated your nameservers yet.", + description: "Initiates an asynchronous scan for common DNS records on your domain. Note that this **does not** automatically add records to your zone. The scan runs in the background, and results can be reviewed later using the `/scan/review` endpoints. Useful if you haven't updated your nameservers yet.\n\nPOST /zones/{zone_id}/dns_records/scan/trigger", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -1780,9 +1690,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-records_identifier": dns$$records_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_trigger_scan", @@ -1838,7 +1746,7 @@ export const tools: readonly Tool[] = [ { name: "dns_records_update", title: "Overwrite DNS Record", - description: "Overwrite an existing DNS record.\n\nNotes:\n- A/AAAA records cannot exist on the same name as CNAME records.\n- NS records cannot exist on the same name as any other record type.\n- Domain names are always represented in Punycode, even if Unicode\n characters were used when creating the record.", + description: "Overwrite an existing DNS record.\n\nNotes:\n- A/AAAA records cannot exist on the same name as CNAME records.\n- NS records cannot exist on the same name as any other record type.\n- Domain names are always represented in Punycode, even if Unicode\n characters were used when creating the record.\n\nPUT /zones/{zone_id}/dns_records/{dns_record_id}", inputSchema: { type: "object", properties: { @@ -1846,14 +1754,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-records_dns-record-post" }, "path": { + "additionalProperties": false, "properties": { "dns_record_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -1863,10 +1772,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_shadow_metadata": { "default": false, - "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).\n", + "description": "Whether to include shadow metadata in the `meta` field of each record in the response. See [Shadowed records](https://developers.cloudflare.com/dns/manage-dns-records/reference/shadowed-records).", "type": "boolean" } }, @@ -1877,6 +1787,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-records_AAAARecord": dns$$records_AAAARecord$, "dns-records_ARecord": dns$$records_ARecord$, @@ -1899,18 +1810,12 @@ export const tools: readonly Tool[] = [ "dns-records_TLSARecord": dns$$records_TLSARecord$, "dns-records_TXTRecord": dns$$records_TXTRecord$, "dns-records_URIRecord": dns$$records_URIRecord$, - "dns-records_comment": dns$$records_comment$, "dns-records_dns-record-post": dns$$records_dns$$record$$post, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields$, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data$, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data$, - "dns-records_identifier": dns$$records_identifier$, - "dns-records_name": dns$$records_name$, - "dns-records_priority": dns$$records_priority$, - "dns-records_proxied": dns$$records_proxied$, "dns-records_settings": dns$$records_settings$, "dns-records_tags": dns$$records_tags$, - "dns-records_ttl": dns$$records_ttl$, }, }, outputSchema: { @@ -1938,20 +1843,14 @@ export const tools: readonly Tool[] = [ "dns-records_TXTRecord": dns$$records_TXTRecord, "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_single": dns$$records_dns_response_single, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, annotations: { @@ -2012,20 +1911,14 @@ export const tools: readonly Tool[] = [ "dns-records_URIRecord": dns$$records_URIRecord, "dns-records_api-response-common-failure": dns$$records_api$$response$$common$$failure, "dns-records_api-response-single": dns$$records_api$$response$$single, - "dns-records_comment": dns$$records_comment, "dns-records_dns-record-response": dns$$records_dns$$record$$response, "dns-records_dns-record-shared-fields": dns$$records_dns$$record$$shared$$fields, "dns-records_dns-record-with-data": dns$$records_dns$$record$$with$$data, "dns-records_dns-record-without-data": dns$$records_dns$$record$$without$$data, "dns-records_dns_response_single": dns$$records_dns_response_single, - "dns-records_identifier": dns$$records_identifier, "dns-records_messages": dns$$records_messages, - "dns-records_name": dns$$records_name, - "dns-records_priority": dns$$records_priority, - "dns-records_proxied": dns$$records_proxied, "dns-records_settings": dns$$records_settings, "dns-records_tags": dns$$records_tags, - "dns-records_ttl": dns$$records_ttl, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/schemas.ts b/src/generated/forge-mcp/dns/schemas.ts deleted file mode 100644 index caedcd80f..000000000 --- a/src/generated/forge-mcp/dns/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `dns-records_identifier`. - */ -export const dns$$records_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts b/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts index 90000b4bb..2c7fd7c5f 100644 --- a/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts +++ b/src/generated/forge-mcp/dns/settings/account/nameserverSets/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `dns-settings_nameserver-name` in responses. - */ -export const dns$$settings_nameserver$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `dns-settings_nameserver-set-address-groups` in responses. */ @@ -79,7 +72,7 @@ export const dns$$settings_nameserver$$set$$advanced$$response$$member: JsonSche "$ref": "#/$defs/dns-settings_nameserver-set-address-groups" }, "name": { - "$ref": "#/$defs/dns-settings_nameserver-name" + "type": "string" } }, "required": [ @@ -92,20 +85,6 @@ export const dns$$settings_nameserver$$set$$advanced$$response$$member: JsonSche "type": "object" }; -/** - * The schema of `dns-settings_nameserver-set-id` in responses. - */ -export const dns$$settings_nameserver$$set$$id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `dns-settings_nameserver-set-ip-set` in responses. - */ -export const dns$$settings_nameserver$$set$$ip$$set: JsonSchema = { - "type": "integer" -}; - /** * The schema of `dns-settings_nameserver-set-ipv4-addresses` in responses. */ @@ -128,13 +107,6 @@ export const dns$$settings_nameserver$$set$$ipv6$$addresses: JsonSchema = { "type": "array" }; -/** - * The schema of `dns-settings_nameserver-set-name` in responses. - */ -export const dns$$settings_nameserver$$set$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `dns-settings_nameserver-set-response` in responses. */ @@ -159,13 +131,13 @@ export const dns$$settings_nameserver$$set$$response$$base: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/dns-settings_nameserver-set-id" + "type": "string" }, "ip_set": { - "$ref": "#/$defs/dns-settings_nameserver-set-ip-set" + "type": "integer" }, "name": { - "$ref": "#/$defs/dns-settings_nameserver-set-name" + "type": "string" } }, "required": [ @@ -189,7 +161,7 @@ export const dns$$settings_nameserver$$set$$response$$member: JsonSchema = { "$ref": "#/$defs/dns-settings_nameserver-set-ipv6-addresses" }, "name": { - "$ref": "#/$defs/dns-settings_nameserver-name" + "type": "string" } }, "required": [ @@ -247,7 +219,7 @@ export const dns$$settings_nameserver_set_delete_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/dns-settings_nameserver-set-id" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/dns/settings/account/nameserverSets/schemas.ts b/src/generated/forge-mcp/dns/settings/account/nameserverSets/schemas.ts index 473e34345..f4a25f739 100644 --- a/src/generated/forge-mcp/dns/settings/account/nameserverSets/schemas.ts +++ b/src/generated/forge-mcp/dns/settings/account/nameserverSets/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `dns-settings_nameserver-name`. - */ -export const dns$$settings_nameserver$$name: JsonSchema = { - "description": "A unique lowercase Punycode nameserver name within the set.", - "type": "string" -}; - /** * The schema of `dns-settings_nameserver-set-create`. */ @@ -22,13 +14,13 @@ export const dns$$settings_nameserver$$set$$create: JsonSchema = { "type": "boolean" }, "ip_set": { - "$ref": "#/$defs/dns-settings_nameserver-set-ip-set", "default": 1, - "description": "Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same `ip_set` and `advanced` value may reuse addresses; otherwise, they use disjoint address groups." + "description": "Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same `ip_set` and `advanced` value may reuse addresses; otherwise, they use disjoint address groups.", + "type": "integer" }, "name": { - "$ref": "#/$defs/dns-settings_nameserver-set-name", - "description": "Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set's nameservers or addresses." + "description": "Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set's nameservers or addresses.", + "type": "string" }, "nameservers": { "description": "Lists each nameserver and the number of addresses to allocate to it. Requires a unique name for each entry in the set.", @@ -53,13 +45,13 @@ export const dns$$settings_nameserver$$set$$create: JsonSchema = { export const dns$$settings_nameserver$$set$$create$$member: JsonSchema = { "properties": { "ip_count": { - "$ref": "#/$defs/dns-settings_nameserver-set-ip-count", "default": 1, - "description": "Number of IPv4 addresses and number of IPv6 addresses to allocate to this nameserver. All nameservers in an Advanced nameserver set must use the same value." + "description": "Number of IPv4 addresses and number of IPv6 addresses to allocate to this nameserver. All nameservers in an Advanced nameserver set must use the same value.", + "type": "integer" }, "name": { - "$ref": "#/$defs/dns-settings_nameserver-name", - "description": "A unique lowercase Punycode nameserver name within the set." + "description": "A unique lowercase Punycode nameserver name within the set.", + "type": "string" } }, "required": [ @@ -68,38 +60,6 @@ export const dns$$settings_nameserver$$set$$create$$member: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-settings_nameserver-set-id`. - */ -export const dns$$settings_nameserver$$set$$id: JsonSchema = { - "description": "Identifier for a nameserver set.", - "type": "string" -}; - -/** - * The schema of `dns-settings_nameserver-set-ip-count`. - */ -export const dns$$settings_nameserver$$set$$ip$$count: JsonSchema = { - "description": "Number of IPv4 addresses and number of IPv6 addresses to allocate to this nameserver. All nameservers in an Advanced nameserver set must use the same value.", - "type": "integer" -}; - -/** - * The schema of `dns-settings_nameserver-set-ip-set`. - */ -export const dns$$settings_nameserver$$set$$ip$$set: JsonSchema = { - "description": "Selects the account-specific IP set that supplies the nameserver addresses. Nameserver sets with the same `ip_set` and `advanced` value may reuse addresses; otherwise, they use disjoint address groups.", - "type": "integer" -}; - -/** - * The schema of `dns-settings_nameserver-set-name`. - */ -export const dns$$settings_nameserver$$set$$name: JsonSchema = { - "description": "Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set's nameservers or addresses.", - "type": "string" -}; - /** * The schema of `dns-settings_nameserver-set-patch`. */ @@ -107,8 +67,8 @@ export const dns$$settings_nameserver$$set$$patch: JsonSchema = { "description": "Updates only the customer-defined name. All other fields are rejected, even if unchanged. An empty object or the current name succeeds without changing the set. A null name is invalid. Requires the account-scoped creation entitlements, including eligibility for the set's current IP set and the Advanced entitlement for an Advanced set.", "properties": { "name": { - "$ref": "#/$defs/dns-settings_nameserver-set-name", - "description": "Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set's nameservers or addresses." + "description": "Customer-defined name, unique within the account by exact string equality (case-sensitive, with no Unicode normalization). Must be valid UTF-8 and at most 255 UTF-8 bytes, not 255 characters. Only graphical Unicode characters are allowed; leading or trailing whitespace is rejected. The name can be changed without changing the set's nameservers or addresses.", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts b/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts index c54a9caa0..b0e378187 100644 --- a/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts +++ b/src/generated/forge-mcp/dns/settings/account/nameserverSets/tools.ts @@ -9,17 +9,12 @@ import { dns$$settings_api$$response$$single, dns$$settings_messages, } from "../outputs.js"; -import { dns$$settings_identifier, dns$$settings_page } from "../schemas.js"; import { - dns$$settings_nameserver$$name, dns$$settings_nameserver$$set$$address$$groups, dns$$settings_nameserver$$set$$advanced$$response, dns$$settings_nameserver$$set$$advanced$$response$$member, - dns$$settings_nameserver$$set$$id, - dns$$settings_nameserver$$set$$ip$$set, dns$$settings_nameserver$$set$$ipv4$$addresses, dns$$settings_nameserver$$set$$ipv6$$addresses, - dns$$settings_nameserver$$set$$name, dns$$settings_nameserver$$set$$response, dns$$settings_nameserver$$set$$response$$base, dns$$settings_nameserver$$set$$response$$member, @@ -29,13 +24,8 @@ import { dns$$settings_nameserver_set_response_single, } from "./outputs.js"; import { - dns$$settings_nameserver$$name as dns$$settings_nameserver$$name$, dns$$settings_nameserver$$set$$create, dns$$settings_nameserver$$set$$create$$member, - dns$$settings_nameserver$$set$$id as dns$$settings_nameserver$$set$$id$, - dns$$settings_nameserver$$set$$ip$$count, - dns$$settings_nameserver$$set$$ip$$set as dns$$settings_nameserver$$set$$ip$$set$, - dns$$settings_nameserver$$set$$name as dns$$settings_nameserver$$set$$name$, dns$$settings_nameserver$$set$$patch, } from "./schemas.js"; @@ -46,7 +36,7 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_nameserverSets_create", title: "Create Custom Nameserver Set", - description: "Creates a named Custom Nameserver Set. Only the customer-defined name can be changed later. To change nameservers or addresses, create a new set, move any zone assignments, and delete the old set. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.", + description: "Creates a named Custom Nameserver Set. Only the customer-defined name can be changed later. To change nameservers or addresses, create a new set, move any zone assignments, and delete the old set. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.\n\nPOST /accounts/{account_id}/dns_settings/nameserver_sets", inputSchema: { type: "object", properties: { @@ -54,10 +44,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-settings_nameserver-set-create" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -70,14 +61,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "dns-settings_identifier": dns$$settings_identifier, - "dns-settings_nameserver-name": dns$$settings_nameserver$$name$, "dns-settings_nameserver-set-create": dns$$settings_nameserver$$set$$create, "dns-settings_nameserver-set-create-member": dns$$settings_nameserver$$set$$create$$member, - "dns-settings_nameserver-set-ip-count": dns$$settings_nameserver$$set$$ip$$count, - "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set$, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name$, }, }, outputSchema: { @@ -85,15 +72,11 @@ export const tools: readonly Tool[] = [ $defs: { "dns-settings_api-response-single": dns$$settings_api$$response$$single, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-name": dns$$settings_nameserver$$name, "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, - "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, @@ -131,15 +114,11 @@ export const tools: readonly Tool[] = [ "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, "dns-settings_api-response-single": dns$$settings_api$$response$$single, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-name": dns$$settings_nameserver$$name, "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, - "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, @@ -155,19 +134,20 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_nameserverSets_delete", title: "Delete Custom Nameserver Set", - description: "Deletes an unassigned Custom Nameserver Set. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.", + description: "Deletes an unassigned Custom Nameserver Set. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/dns_settings/nameserver_sets/{nameserver_set_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "nameserver_set_id": { - "$ref": "#/$defs/dns-settings_nameserver-set-id", - "description": "Identifier for a nameserver set." + "description": "Identifier for a nameserver set.", + "type": "string" } }, "required": [ @@ -180,17 +160,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-settings_identifier": dns$$settings_identifier, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-settings_nameserver_set_delete_response", $defs: { "dns-settings_api-response-single": dns$$settings_api$$response$$single, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, "dns-settings_nameserver_set_delete_response": dns$$settings_nameserver_set_delete_response, }, }, @@ -224,7 +200,6 @@ export const tools: readonly Tool[] = [ "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, "dns-settings_api-response-single": dns$$settings_api$$response$$single, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, "dns-settings_nameserver_set_delete_response": dns$$settings_nameserver_set_delete_response, }, }, @@ -235,7 +210,7 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_nameserverSets_edit", title: "Update Custom Nameserver Set", - description: "Renames a Custom Nameserver Set owned by the account. Only name may be supplied; immutable and unknown fields are rejected even if unchanged. An empty object or the existing name is a successful no-op. Requires the account-scoped creation entitlements for the existing set.\n\nThis method is beta.", + description: "Renames a Custom Nameserver Set owned by the account. Only name may be supplied; immutable and unknown fields are rejected even if unchanged. An empty object or the existing name is a successful no-op. Requires the account-scoped creation entitlements for the existing set.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/dns_settings/nameserver_sets/{nameserver_set_id}", inputSchema: { type: "object", properties: { @@ -243,14 +218,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-settings_nameserver-set-patch" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "nameserver_set_id": { - "$ref": "#/$defs/dns-settings_nameserver-set-id", - "description": "Identifier for a nameserver set." + "description": "Identifier for a nameserver set.", + "type": "string" } }, "required": [ @@ -264,10 +240,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "dns-settings_identifier": dns$$settings_identifier, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id$, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name$, "dns-settings_nameserver-set-patch": dns$$settings_nameserver$$set$$patch, }, }, @@ -276,15 +250,11 @@ export const tools: readonly Tool[] = [ $defs: { "dns-settings_api-response-single": dns$$settings_api$$response$$single, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-name": dns$$settings_nameserver$$name, "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, - "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, @@ -325,15 +295,11 @@ export const tools: readonly Tool[] = [ "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, "dns-settings_api-response-single": dns$$settings_api$$response$$single, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-name": dns$$settings_nameserver$$name, "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, - "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, @@ -349,19 +315,20 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_nameserverSets_get", title: "Get Custom Nameserver Set", - description: "Gets a Custom Nameserver Set owned by an account. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.", + description: "Gets a Custom Nameserver Set owned by an account. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.\n\nGET /accounts/{account_id}/dns_settings/nameserver_sets/{nameserver_set_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "nameserver_set_id": { - "$ref": "#/$defs/dns-settings_nameserver-set-id", - "description": "Identifier for a nameserver set." + "description": "Identifier for a nameserver set.", + "type": "string" } }, "required": [ @@ -374,25 +341,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-settings_identifier": dns$$settings_identifier, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-settings_nameserver_set_response_single", $defs: { "dns-settings_api-response-single": dns$$settings_api$$response$$single, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-name": dns$$settings_nameserver$$name, "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, - "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, @@ -434,15 +394,11 @@ export const tools: readonly Tool[] = [ "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, "dns-settings_api-response-single": dns$$settings_api$$response$$single, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-name": dns$$settings_nameserver$$name, "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, - "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, @@ -457,15 +413,16 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_nameserverSets_list", title: "List Custom Nameserver Sets", - description: "Lists an account's Custom Nameserver Sets. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.", + description: "Lists an account's Custom Nameserver Sets. For details, refer to [Nameserver sets](https://developers.cloudflare.com/dns/nameservers/custom-nameservers/nameserver-sets/).\n\nThis method is beta.\n\nGET /accounts/{account_id}/dns_settings/nameserver_sets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -474,11 +431,12 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { - "$ref": "#/$defs/dns-settings_page", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "integer" }, "per_page": { "default": 100, @@ -492,10 +450,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-settings_identifier": dns$$settings_identifier, - "dns-settings_page": dns$$settings_page, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-settings_nameserver_set_response_collection", @@ -503,15 +458,11 @@ export const tools: readonly Tool[] = [ "dns-settings_api-response-collection": dns$$settings_api$$response$$collection, "dns-settings_api-response-common": dns$$settings_api$$response$$common, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-name": dns$$settings_nameserver$$name, "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, - "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, @@ -554,15 +505,11 @@ export const tools: readonly Tool[] = [ "dns-settings_api-response-common": dns$$settings_api$$response$$common, "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, "dns-settings_messages": dns$$settings_messages, - "dns-settings_nameserver-name": dns$$settings_nameserver$$name, "dns-settings_nameserver-set-address-groups": dns$$settings_nameserver$$set$$address$$groups, "dns-settings_nameserver-set-advanced-response": dns$$settings_nameserver$$set$$advanced$$response, "dns-settings_nameserver-set-advanced-response-member": dns$$settings_nameserver$$set$$advanced$$response$$member, - "dns-settings_nameserver-set-id": dns$$settings_nameserver$$set$$id, - "dns-settings_nameserver-set-ip-set": dns$$settings_nameserver$$set$$ip$$set, "dns-settings_nameserver-set-ipv4-addresses": dns$$settings_nameserver$$set$$ipv4$$addresses, "dns-settings_nameserver-set-ipv6-addresses": dns$$settings_nameserver$$set$$ipv6$$addresses, - "dns-settings_nameserver-set-name": dns$$settings_nameserver$$set$$name, "dns-settings_nameserver-set-response": dns$$settings_nameserver$$set$$response, "dns-settings_nameserver-set-response-base": dns$$settings_nameserver$$set$$response$$base, "dns-settings_nameserver-set-response-member": dns$$settings_nameserver$$set$$response$$member, diff --git a/src/generated/forge-mcp/dns/settings/account/outputs.ts b/src/generated/forge-mcp/dns/settings/account/outputs.ts index 654bd2d4f..62f4b9941 100644 --- a/src/generated/forge-mcp/dns/settings/account/outputs.ts +++ b/src/generated/forge-mcp/dns/settings/account/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../../_/tool.js"; export const dns$$settings_account_settings: JsonSchema = { "properties": { "enforce_dns_only": { - "$ref": "#/$defs/dns-settings_enforce_dns_only" + "type": "boolean" }, "zone_defaults": { "$ref": "#/$defs/dns-settings_dns-settings-account-response" @@ -182,28 +182,33 @@ export const dns$$settings_dns$$settings$$account$$response: JsonSchema = { export const dns$$settings_dns$$settings$$base: JsonSchema = { "properties": { "flatten_all_cnames": { - "$ref": "#/$defs/dns-settings_flatten_all_cnames" + "type": "boolean" }, "foundation_dns": { - "$ref": "#/$defs/dns-settings_foundation_dns" + "type": "boolean" }, "internal_dns": { "$ref": "#/$defs/dns-settings_internal_dns_base" }, "multi_provider": { - "$ref": "#/$defs/dns-settings_multi_provider" + "type": "boolean" }, "ns_ttl": { - "$ref": "#/$defs/dns-settings_ns_ttl" + "type": "number" }, "secondary_overrides": { - "$ref": "#/$defs/dns-settings_secondary_overrides" + "type": "boolean" }, "soa": { "$ref": "#/$defs/dns-settings_soa-base" }, "zone_mode": { - "$ref": "#/$defs/dns-settings_zone_mode" + "enum": [ + "standard", + "cdn_only", + "dns_only" + ], + "type": "string" } }, "type": "object" @@ -254,34 +259,6 @@ export const dns$$settings_dns_response_single: JsonSchema = { ] }; -/** - * The schema of `dns-settings_enforce_dns_only` in responses. - */ -export const dns$$settings_enforce_dns_only: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `dns-settings_flatten_all_cnames` in responses. - */ -export const dns$$settings_flatten_all_cnames: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `dns-settings_foundation_dns` in responses. - */ -export const dns$$settings_foundation_dns: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `dns-settings_identifier` in responses. - */ -export const dns$$settings_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `dns-settings_internal_dns_base` in responses. */ @@ -342,27 +319,6 @@ export const dns$$settings_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `dns-settings_multi_provider` in responses. - */ -export const dns$$settings_multi_provider: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `dns-settings_ns_ttl` in responses. - */ -export const dns$$settings_ns_ttl: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `dns-settings_secondary_overrides` in responses. - */ -export const dns$$settings_secondary_overrides: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `dns-settings_soa-base` in responses. */ @@ -445,15 +401,3 @@ export const dns$$settings_soa$$response: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `dns-settings_zone_mode` in responses. - */ -export const dns$$settings_zone_mode: JsonSchema = { - "enum": [ - "standard", - "cdn_only", - "dns_only" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/settings/account/schemas.ts b/src/generated/forge-mcp/dns/settings/account/schemas.ts index 5d19d8981..c4ea3438b 100644 --- a/src/generated/forge-mcp/dns/settings/account/schemas.ts +++ b/src/generated/forge-mcp/dns/settings/account/schemas.ts @@ -9,8 +9,8 @@ import type { JsonSchema } from "../../../_/tool.js"; export const dns$$settings_account_settings_patch: JsonSchema = { "properties": { "enforce_dns_only": { - "$ref": "#/$defs/dns-settings_enforce_dns_only", - "description": "When enabled, forces all proxied DNS records in the account to behave as DNS-only at the edge, regardless of each record's individual proxy setting. Note that this account-level override does not modify the records themselves; it only affects how they are served at the edge. See more on [Enforce DNS-only](https://developers.cloudflare.com/dns/proxy-status/enforce-dns-only)." + "description": "When enabled, forces all proxied DNS records in the account to behave as DNS-only at the edge, regardless of each record's individual proxy setting. Note that this account-level override does not modify the records themselves; it only affects how they are served at the edge. See more on [Enforce DNS-only](https://developers.cloudflare.com/dns/proxy-status/enforce-dns-only).", + "type": "boolean" }, "zone_defaults": { "$ref": "#/$defs/dns-settings_dns-settings-account-patch", @@ -60,74 +60,47 @@ export const dns$$settings_dns$$settings$$account$$patch: JsonSchema = { export const dns$$settings_dns$$settings$$patch: JsonSchema = { "properties": { "flatten_all_cnames": { - "$ref": "#/$defs/dns-settings_flatten_all_cnames", - "description": "Whether to flatten all CNAME records in the zone. Note that, due to DNS limitations, a CNAME record at the zone apex will always be flattened." + "description": "Whether to flatten all CNAME records in the zone. Note that, due to DNS limitations, a CNAME record at the zone apex will always be flattened.", + "type": "boolean" }, "foundation_dns": { - "$ref": "#/$defs/dns-settings_foundation_dns", - "description": "Deprecated. Use nameservers.type to configure Advanced Nameservers." + "deprecated": true, + "description": "Deprecated. Use nameservers.type to configure Advanced Nameservers.", + "type": "boolean" }, "internal_dns": { "$ref": "#/$defs/dns-settings_internal_dns_base", "description": "Settings for this internal zone." }, "multi_provider": { - "$ref": "#/$defs/dns-settings_multi_provider", - "description": "Whether to enable multi-provider DNS, which causes Cloudflare to activate the zone even when non-Cloudflare NS records exist, and to respect NS records at the zone apex during outbound zone transfers." + "description": "Whether to enable multi-provider DNS, which causes Cloudflare to activate the zone even when non-Cloudflare NS records exist, and to respect NS records at the zone apex during outbound zone transfers.", + "type": "boolean" }, "ns_ttl": { - "$ref": "#/$defs/dns-settings_ns_ttl", - "description": "The time to live (TTL) of the zone's nameserver (NS) records." + "description": "The time to live (TTL) of the zone's nameserver (NS) records.", + "type": "number" }, "secondary_overrides": { - "$ref": "#/$defs/dns-settings_secondary_overrides", - "description": "Allows a Secondary DNS zone to use (proxied) override records and CNAME flattening at the zone apex." + "description": "Allows a Secondary DNS zone to use (proxied) override records and CNAME flattening at the zone apex.", + "type": "boolean" }, "soa": { "$ref": "#/$defs/dns-settings_soa-base", "description": "Components of the zone's SOA record." }, "zone_mode": { - "$ref": "#/$defs/dns-settings_zone_mode", - "description": "Whether the zone mode is a regular or CDN/DNS only zone." + "description": "Whether the zone mode is a regular or CDN/DNS only zone.", + "enum": [ + "standard", + "cdn_only", + "dns_only" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `dns-settings_enforce_dns_only`. - */ -export const dns$$settings_enforce_dns_only: JsonSchema = { - "description": "When enabled, forces all proxied DNS records in the account to behave as DNS-only at the edge, regardless of each record's individual proxy setting. Note that this account-level override does not modify the records themselves; it only affects how they are served at the edge. See more on [Enforce DNS-only](https://developers.cloudflare.com/dns/proxy-status/enforce-dns-only).", - "type": "boolean" -}; - -/** - * The schema of `dns-settings_flatten_all_cnames`. - */ -export const dns$$settings_flatten_all_cnames: JsonSchema = { - "description": "Whether to flatten all CNAME records in the zone. Note that, due to DNS limitations, a CNAME record at the zone apex will always be flattened.", - "type": "boolean" -}; - -/** - * The schema of `dns-settings_foundation_dns`. - */ -export const dns$$settings_foundation_dns: JsonSchema = { - "deprecated": true, - "description": "Deprecated. Use nameservers.type to configure Advanced Nameservers.", - "type": "boolean" -}; - -/** - * The schema of `dns-settings_identifier`. - */ -export const dns$$settings_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - /** * The schema of `dns-settings_internal_dns_base`. */ @@ -142,38 +115,6 @@ export const dns$$settings_internal_dns_base: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-settings_multi_provider`. - */ -export const dns$$settings_multi_provider: JsonSchema = { - "description": "Whether to enable multi-provider DNS, which causes Cloudflare to activate the zone even when non-Cloudflare NS records exist, and to respect NS records at the zone apex during outbound zone transfers.", - "type": "boolean" -}; - -/** - * The schema of `dns-settings_ns_ttl`. - */ -export const dns$$settings_ns_ttl: JsonSchema = { - "description": "The time to live (TTL) of the zone's nameserver (NS) records.", - "type": "number" -}; - -/** - * The schema of `dns-settings_page`. - */ -export const dns$$settings_page: JsonSchema = { - "description": "Page number of paginated results.", - "type": "integer" -}; - -/** - * The schema of `dns-settings_secondary_overrides`. - */ -export const dns$$settings_secondary_overrides: JsonSchema = { - "description": "Allows a Secondary DNS zone to use (proxied) override records and CNAME flattening at the zone apex.", - "type": "boolean" -}; - /** * The schema of `dns-settings_soa-base`. */ @@ -218,16 +159,3 @@ export const dns$$settings_soa$$base: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `dns-settings_zone_mode`. - */ -export const dns$$settings_zone_mode: JsonSchema = { - "description": "Whether the zone mode is a regular or CDN/DNS only zone.", - "enum": [ - "standard", - "cdn_only", - "dns_only" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/settings/account/tools.ts b/src/generated/forge-mcp/dns/settings/account/tools.ts index 00a122ab1..430046650 100644 --- a/src/generated/forge-mcp/dns/settings/account/tools.ts +++ b/src/generated/forge-mcp/dns/settings/account/tools.ts @@ -10,33 +10,18 @@ import { dns$$settings_dns$$settings$$base, dns$$settings_dns$$settings$$response, dns$$settings_dns_response_single, - dns$$settings_enforce_dns_only, - dns$$settings_flatten_all_cnames, - dns$$settings_foundation_dns, dns$$settings_internal_dns_base, dns$$settings_internal_dns_response, dns$$settings_messages, - dns$$settings_multi_provider, - dns$$settings_ns_ttl, - dns$$settings_secondary_overrides, dns$$settings_soa$$base, dns$$settings_soa$$response, - dns$$settings_zone_mode, } from "./outputs.js"; import { dns$$settings_account_settings_patch, dns$$settings_dns$$settings$$account$$patch, dns$$settings_dns$$settings$$patch, - dns$$settings_enforce_dns_only as dns$$settings_enforce_dns_only$, - dns$$settings_flatten_all_cnames as dns$$settings_flatten_all_cnames$, - dns$$settings_foundation_dns as dns$$settings_foundation_dns$, - dns$$settings_identifier, dns$$settings_internal_dns_base as dns$$settings_internal_dns_base$, - dns$$settings_multi_provider as dns$$settings_multi_provider$, - dns$$settings_ns_ttl as dns$$settings_ns_ttl$, - dns$$settings_secondary_overrides as dns$$settings_secondary_overrides$, dns$$settings_soa$$base as dns$$settings_soa$$base$, - dns$$settings_zone_mode as dns$$settings_zone_mode$, } from "./schemas.js"; /** @@ -46,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_edit", title: "Update DNS Settings", - description: "Update DNS settings for an account or zone", + description: "Update DNS settings for an account or zone\n\nPATCH /{account_or_zone}/{account_or_zone_id}/dns_settings", inputSchema: { type: "object", properties: { @@ -54,6 +39,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-settings_account_settings_patch" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -64,8 +50,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -79,20 +65,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-settings_account_settings_patch": dns$$settings_account_settings_patch, "dns-settings_dns-settings-account-patch": dns$$settings_dns$$settings$$account$$patch, "dns-settings_dns-settings-patch": dns$$settings_dns$$settings$$patch, - "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only$, - "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames$, - "dns-settings_foundation_dns": dns$$settings_foundation_dns$, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_internal_dns_base": dns$$settings_internal_dns_base$, - "dns-settings_multi_provider": dns$$settings_multi_provider$, - "dns-settings_ns_ttl": dns$$settings_ns_ttl$, - "dns-settings_secondary_overrides": dns$$settings_secondary_overrides$, "dns-settings_soa-base": dns$$settings_soa$$base$, - "dns-settings_zone_mode": dns$$settings_zone_mode$, }, }, outputSchema: { @@ -104,18 +83,11 @@ export const tools: readonly Tool[] = [ "dns-settings_dns-settings-base": dns$$settings_dns$$settings$$base, "dns-settings_dns-settings-response": dns$$settings_dns$$settings$$response, "dns-settings_dns_response_single": dns$$settings_dns_response_single, - "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only, - "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames, - "dns-settings_foundation_dns": dns$$settings_foundation_dns, "dns-settings_internal_dns_base": dns$$settings_internal_dns_base, "dns-settings_internal_dns_response": dns$$settings_internal_dns_response, "dns-settings_messages": dns$$settings_messages, - "dns-settings_multi_provider": dns$$settings_multi_provider, - "dns-settings_ns_ttl": dns$$settings_ns_ttl, - "dns-settings_secondary_overrides": dns$$settings_secondary_overrides, "dns-settings_soa-base": dns$$settings_soa$$base, "dns-settings_soa-response": dns$$settings_soa$$response, - "dns-settings_zone_mode": dns$$settings_zone_mode, }, }, annotations: { @@ -167,18 +139,11 @@ export const tools: readonly Tool[] = [ "dns-settings_dns-settings-base": dns$$settings_dns$$settings$$base, "dns-settings_dns-settings-response": dns$$settings_dns$$settings$$response, "dns-settings_dns_response_single": dns$$settings_dns_response_single, - "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only, - "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames, - "dns-settings_foundation_dns": dns$$settings_foundation_dns, "dns-settings_internal_dns_base": dns$$settings_internal_dns_base, "dns-settings_internal_dns_response": dns$$settings_internal_dns_response, "dns-settings_messages": dns$$settings_messages, - "dns-settings_multi_provider": dns$$settings_multi_provider, - "dns-settings_ns_ttl": dns$$settings_ns_ttl, - "dns-settings_secondary_overrides": dns$$settings_secondary_overrides, "dns-settings_soa-base": dns$$settings_soa$$base, "dns-settings_soa-response": dns$$settings_soa$$response, - "dns-settings_zone_mode": dns$$settings_zone_mode, }, }, request: (args) => ({ @@ -189,11 +154,12 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_get", title: "Show DNS Settings", - description: "Show DNS settings for an account or zone", + description: "Show DNS settings for an account or zone\n\nGET /{account_or_zone}/{account_or_zone_id}/dns_settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -204,8 +170,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -218,9 +184,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-settings_identifier": dns$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-settings_dns_response_single", @@ -231,18 +195,11 @@ export const tools: readonly Tool[] = [ "dns-settings_dns-settings-base": dns$$settings_dns$$settings$$base, "dns-settings_dns-settings-response": dns$$settings_dns$$settings$$response, "dns-settings_dns_response_single": dns$$settings_dns_response_single, - "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only, - "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames, - "dns-settings_foundation_dns": dns$$settings_foundation_dns, "dns-settings_internal_dns_base": dns$$settings_internal_dns_base, "dns-settings_internal_dns_response": dns$$settings_internal_dns_response, "dns-settings_messages": dns$$settings_messages, - "dns-settings_multi_provider": dns$$settings_multi_provider, - "dns-settings_ns_ttl": dns$$settings_ns_ttl, - "dns-settings_secondary_overrides": dns$$settings_secondary_overrides, "dns-settings_soa-base": dns$$settings_soa$$base, "dns-settings_soa-response": dns$$settings_soa$$response, - "dns-settings_zone_mode": dns$$settings_zone_mode, }, }, annotations: { @@ -295,18 +252,11 @@ export const tools: readonly Tool[] = [ "dns-settings_dns-settings-base": dns$$settings_dns$$settings$$base, "dns-settings_dns-settings-response": dns$$settings_dns$$settings$$response, "dns-settings_dns_response_single": dns$$settings_dns_response_single, - "dns-settings_enforce_dns_only": dns$$settings_enforce_dns_only, - "dns-settings_flatten_all_cnames": dns$$settings_flatten_all_cnames, - "dns-settings_foundation_dns": dns$$settings_foundation_dns, "dns-settings_internal_dns_base": dns$$settings_internal_dns_base, "dns-settings_internal_dns_response": dns$$settings_internal_dns_response, "dns-settings_messages": dns$$settings_messages, - "dns-settings_multi_provider": dns$$settings_multi_provider, - "dns-settings_ns_ttl": dns$$settings_ns_ttl, - "dns-settings_secondary_overrides": dns$$settings_secondary_overrides, "dns-settings_soa-base": dns$$settings_soa$$base, "dns-settings_soa-response": dns$$settings_soa$$response, - "dns-settings_zone_mode": dns$$settings_zone_mode, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/settings/account/views/outputs.ts b/src/generated/forge-mcp/dns/settings/account/views/outputs.ts index 2e8e08921..170bbed63 100644 --- a/src/generated/forge-mcp/dns/settings/account/views/outputs.ts +++ b/src/generated/forge-mcp/dns/settings/account/views/outputs.ts @@ -3,27 +3,21 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `dns-settings_created_time` in responses. - */ -export const dns$$settings_created_time: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `dns-settings_dns-view` in responses. */ export const dns$$settings_dns$$view: JsonSchema = { "properties": { "created_time": { - "$ref": "#/$defs/dns-settings_created_time" + "format": "date-time", + "type": "string" }, "modified_time": { - "$ref": "#/$defs/dns-settings_modified_time" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/dns-settings_name" + "type": "string" }, "zones": { "$ref": "#/$defs/dns-settings_zones" @@ -43,7 +37,7 @@ export const dns$$settings_dns$$view$$response: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/dns-settings_identifier" + "type": "string" } }, "required": [ @@ -95,21 +89,6 @@ export const dns$$settings_dns_view_response_single: JsonSchema = { ] }; -/** - * The schema of `dns-settings_modified_time` in responses. - */ -export const dns$$settings_modified_time: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `dns-settings_name` in responses. - */ -export const dns$$settings_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `dns-settings_zones` in responses. */ diff --git a/src/generated/forge-mcp/dns/settings/account/views/schemas.ts b/src/generated/forge-mcp/dns/settings/account/views/schemas.ts index c439e3612..5a1c75ea1 100644 --- a/src/generated/forge-mcp/dns/settings/account/views/schemas.ts +++ b/src/generated/forge-mcp/dns/settings/account/views/schemas.ts @@ -3,26 +3,14 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `dns-settings_direction`. - */ -export const dns$$settings_direction: JsonSchema = { - "description": "Direction to order DNS views in.", - "enum": [ - "asc", - "desc" - ], - "type": "string" -}; - /** * The schema of `dns-settings_dns-view-patch`. */ export const dns$$settings_dns$$view$$patch: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/dns-settings_name", - "description": "The name of the view." + "description": "The name of the view.", + "type": "string" }, "zones": { "$ref": "#/$defs/dns-settings_zones", @@ -38,8 +26,8 @@ export const dns$$settings_dns$$view$$patch: JsonSchema = { export const dns$$settings_dns$$view$$post: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/dns-settings_name", - "description": "The name of the view." + "description": "The name of the view.", + "type": "string" }, "zones": { "$ref": "#/$defs/dns-settings_zones", @@ -53,47 +41,6 @@ export const dns$$settings_dns$$view$$post: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-settings_match`. - */ -export const dns$$settings_match: JsonSchema = { - "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead.\n", - "enum": [ - "any", - "all" - ], - "type": "string" -}; - -/** - * The schema of `dns-settings_name`. - */ -export const dns$$settings_name: JsonSchema = { - "description": "The name of the view.", - "type": "string" -}; - -/** - * The schema of `dns-settings_order`. - */ -export const dns$$settings_order: JsonSchema = { - "description": "Field to order DNS views by.", - "enum": [ - "name", - "created_on", - "modified_on" - ], - "type": "string" -}; - -/** - * The schema of `dns-settings_per_page`. - */ -export const dns$$settings_per_page: JsonSchema = { - "description": "Number of results per page.", - "type": "integer" -}; - /** * The schema of `dns-settings_zones`. */ diff --git a/src/generated/forge-mcp/dns/settings/account/views/tools.ts b/src/generated/forge-mcp/dns/settings/account/views/tools.ts index 8e221dbb0..cc7e1e094 100644 --- a/src/generated/forge-mcp/dns/settings/account/views/tools.ts +++ b/src/generated/forge-mcp/dns/settings/account/views/tools.ts @@ -7,31 +7,18 @@ import { dns$$settings_api$$response$$common, dns$$settings_api$$response$$common$$failure, dns$$settings_api$$response$$single, - dns$$settings_identifier, dns$$settings_messages, } from "../outputs.js"; import { - dns$$settings_identifier as dns$$settings_identifier$, - dns$$settings_page, -} from "../schemas.js"; -import { - dns$$settings_created_time, dns$$settings_dns$$view, dns$$settings_dns$$view$$response, dns$$settings_dns_view_response_collection, dns$$settings_dns_view_response_single, - dns$$settings_modified_time, - dns$$settings_name, dns$$settings_zones, } from "./outputs.js"; import { - dns$$settings_direction, dns$$settings_dns$$view$$patch, dns$$settings_dns$$view$$post, - dns$$settings_match, - dns$$settings_name as dns$$settings_name$, - dns$$settings_order, - dns$$settings_per_page, dns$$settings_zones as dns$$settings_zones$, } from "./schemas.js"; @@ -42,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_views_create", title: "Create Internal DNS View", - description: "Create Internal DNS View for an account", + description: "Create Internal DNS View for an account\n\nPOST /accounts/{account_id}/dns_settings/views", inputSchema: { type: "object", properties: { @@ -50,10 +37,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-settings_dns-view-post" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -66,10 +54,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-settings_dns-view-post": dns$$settings_dns$$view$$post, - "dns-settings_identifier": dns$$settings_identifier$, - "dns-settings_name": dns$$settings_name$, "dns-settings_zones": dns$$settings_zones$, }, }, @@ -77,14 +64,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-settings_dns_view_response_single", $defs: { "dns-settings_api-response-single": dns$$settings_api$$response$$single, - "dns-settings_created_time": dns$$settings_created_time, "dns-settings_dns-view": dns$$settings_dns$$view, "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_messages": dns$$settings_messages, - "dns-settings_modified_time": dns$$settings_modified_time, - "dns-settings_name": dns$$settings_name, "dns-settings_zones": dns$$settings_zones, }, }, @@ -132,14 +115,10 @@ export const tools: readonly Tool[] = [ $defs: { "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, "dns-settings_api-response-single": dns$$settings_api$$response$$single, - "dns-settings_created_time": dns$$settings_created_time, "dns-settings_dns-view": dns$$settings_dns$$view, "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_messages": dns$$settings_messages, - "dns-settings_modified_time": dns$$settings_modified_time, - "dns-settings_name": dns$$settings_name, "dns-settings_zones": dns$$settings_zones, }, }, @@ -151,19 +130,20 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_views_delete", title: "Delete Internal DNS View", - description: "Delete an existing Internal DNS View", + description: "Delete an existing Internal DNS View\n\nDELETE /accounts/{account_id}/dns_settings/views/{view_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "view_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -176,25 +156,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-settings_identifier": dns$$settings_identifier$, - }, + additionalProperties: false, }, outputSchema: { "properties": { "result": { "properties": { "id": { - "$ref": "#/$defs/dns-settings_identifier" + "type": "string" } }, "type": "object" } }, "type": "object", - $defs: { - "dns-settings_identifier": dns$$settings_identifier, - }, }, annotations: { "destructiveHint": true, @@ -228,7 +203,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/dns-settings_identifier" + "type": "string" } }, "type": "object" @@ -243,7 +218,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/dns-settings_identifier" + "type": "string" } }, "type": "object" @@ -259,7 +234,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_messages": dns$$settings_messages, }, }, @@ -270,7 +244,7 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_views_edit", title: "Update Internal DNS View", - description: "Update an existing Internal DNS View", + description: "Update an existing Internal DNS View\n\nPATCH /accounts/{account_id}/dns_settings/views/{view_id}", inputSchema: { type: "object", properties: { @@ -278,14 +252,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-settings_dns-view-patch" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "view_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -299,10 +274,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-settings_dns-view-patch": dns$$settings_dns$$view$$patch, - "dns-settings_identifier": dns$$settings_identifier$, - "dns-settings_name": dns$$settings_name$, "dns-settings_zones": dns$$settings_zones$, }, }, @@ -310,14 +284,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-settings_dns_view_response_single", $defs: { "dns-settings_api-response-single": dns$$settings_api$$response$$single, - "dns-settings_created_time": dns$$settings_created_time, "dns-settings_dns-view": dns$$settings_dns$$view, "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_messages": dns$$settings_messages, - "dns-settings_modified_time": dns$$settings_modified_time, - "dns-settings_name": dns$$settings_name, "dns-settings_zones": dns$$settings_zones, }, }, @@ -365,14 +335,10 @@ export const tools: readonly Tool[] = [ $defs: { "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, "dns-settings_api-response-single": dns$$settings_api$$response$$single, - "dns-settings_created_time": dns$$settings_created_time, "dns-settings_dns-view": dns$$settings_dns$$view, "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_messages": dns$$settings_messages, - "dns-settings_modified_time": dns$$settings_modified_time, - "dns-settings_name": dns$$settings_name, "dns-settings_zones": dns$$settings_zones, }, }, @@ -384,19 +350,20 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_views_get", title: "DNS Internal View Details", - description: "Get DNS Internal View", + description: "Get DNS Internal View\n\nGET /accounts/{account_id}/dns_settings/views/{view_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "view_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -409,22 +376,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-settings_identifier": dns$$settings_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-settings_dns_view_response_single", $defs: { "dns-settings_api-response-single": dns$$settings_api$$response$$single, - "dns-settings_created_time": dns$$settings_created_time, "dns-settings_dns-view": dns$$settings_dns$$view, "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_messages": dns$$settings_messages, - "dns-settings_modified_time": dns$$settings_modified_time, - "dns-settings_name": dns$$settings_name, "dns-settings_zones": dns$$settings_zones, }, }, @@ -473,14 +434,10 @@ export const tools: readonly Tool[] = [ $defs: { "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, "dns-settings_api-response-single": dns$$settings_api$$response$$single, - "dns-settings_created_time": dns$$settings_created_time, "dns-settings_dns-view": dns$$settings_dns$$view, "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, "dns-settings_dns_view_response_single": dns$$settings_dns_view_response_single, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_messages": dns$$settings_messages, - "dns-settings_modified_time": dns$$settings_modified_time, - "dns-settings_name": dns$$settings_name, "dns-settings_zones": dns$$settings_zones, }, }, @@ -491,15 +448,16 @@ export const tools: readonly Tool[] = [ { name: "dns_settings_account_views_list", title: "List Internal DNS Views", - description: "List DNS Internal Views for an Account", + description: "List DNS Internal Views for an Account\n\nGET /accounts/{account_id}/dns_settings/views", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -508,58 +466,72 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { - "$ref": "#/$defs/dns-settings_direction", "default": "asc", - "description": "Direction to order DNS views in." + "description": "Direction to order DNS views in.", + "enum": [ + "asc", + "desc" + ], + "type": "string" }, "match": { - "$ref": "#/$defs/dns-settings_match", "default": "all", - "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead.\n" + "description": "Whether to match all search requirements or at least one (any). If set to `all`, acts like a logical AND between filters. If set to `any`, acts like a logical OR instead.", + "enum": [ + "any", + "all" + ], + "type": "string" }, "name": { - "description": "Exact value of the DNS view name. This is a convenience alias for `name.exact`.\n", + "description": "Exact value of the DNS view name. This is a convenience alias for `name.exact`.", "type": "string" }, "name.contains": { - "description": "Substring of the DNS view name.\n", + "description": "Substring of the DNS view name.", "type": "string" }, "name.endswith": { - "description": "Suffix of the DNS view name.\n", + "description": "Suffix of the DNS view name.", "type": "string" }, "name.exact": { - "description": "Exact value of the DNS view name.\n", + "description": "Exact value of the DNS view name.", "type": "string" }, "name.startswith": { - "description": "Prefix of the DNS view name.\n", + "description": "Prefix of the DNS view name.", "type": "string" }, "order": { - "$ref": "#/$defs/dns-settings_order", "default": "type", - "description": "Field to order DNS views by." + "description": "Field to order DNS views by.", + "enum": [ + "name", + "created_on", + "modified_on" + ], + "type": "string" }, "page": { - "$ref": "#/$defs/dns-settings_page", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "integer" }, "per_page": { - "$ref": "#/$defs/dns-settings_per_page", "default": 100, - "description": "Number of results per page." + "description": "Number of results per page.", + "type": "integer" }, "zone_id": { - "description": "A zone ID that exists in the zones list for the view.\n", + "description": "A zone ID that exists in the zones list for the view.", "type": "string" }, "zone_name": { - "description": "A zone name that exists in the zones list for the view.\n", + "description": "A zone name that exists in the zones list for the view.", "type": "string" } }, @@ -569,28 +541,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-settings_direction": dns$$settings_direction, - "dns-settings_identifier": dns$$settings_identifier$, - "dns-settings_match": dns$$settings_match, - "dns-settings_order": dns$$settings_order, - "dns-settings_page": dns$$settings_page, - "dns-settings_per_page": dns$$settings_per_page, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-settings_dns_view_response_collection", $defs: { "dns-settings_api-response-collection": dns$$settings_api$$response$$collection, "dns-settings_api-response-common": dns$$settings_api$$response$$common, - "dns-settings_created_time": dns$$settings_created_time, "dns-settings_dns-view": dns$$settings_dns$$view, "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, "dns-settings_dns_view_response_collection": dns$$settings_dns_view_response_collection, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_messages": dns$$settings_messages, - "dns-settings_modified_time": dns$$settings_modified_time, - "dns-settings_name": dns$$settings_name, "dns-settings_zones": dns$$settings_zones, }, }, @@ -640,14 +601,10 @@ export const tools: readonly Tool[] = [ "dns-settings_api-response-collection": dns$$settings_api$$response$$collection, "dns-settings_api-response-common": dns$$settings_api$$response$$common, "dns-settings_api-response-common-failure": dns$$settings_api$$response$$common$$failure, - "dns-settings_created_time": dns$$settings_created_time, "dns-settings_dns-view": dns$$settings_dns$$view, "dns-settings_dns-view-response": dns$$settings_dns$$view$$response, "dns-settings_dns_view_response_collection": dns$$settings_dns_view_response_collection, - "dns-settings_identifier": dns$$settings_identifier, "dns-settings_messages": dns$$settings_messages, - "dns-settings_modified_time": dns$$settings_modified_time, - "dns-settings_name": dns$$settings_name, "dns-settings_zones": dns$$settings_zones, }, }, diff --git a/src/generated/forge-mcp/dns/usage/account/tools.ts b/src/generated/forge-mcp/dns/usage/account/tools.ts index c27131578..e91b6ce00 100644 --- a/src/generated/forge-mcp/dns/usage/account/tools.ts +++ b/src/generated/forge-mcp/dns/usage/account/tools.ts @@ -7,7 +7,6 @@ import { dns$$records_api$$response$$single, dns$$records_messages, } from "../../outputs.js"; -import { dns$$records_identifier } from "../../schemas.js"; import { dns$$records_dns_response_account_usage } from "./outputs.js"; /** @@ -17,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "dns_usage_account_get", title: "Get DNS Record Usage for account or zone", - description: "Get the current DNS record usage and quota for an account or zone. May include internal DNS usage and quota.", + description: "Get the current DNS record usage and quota for an account or zone. May include internal DNS usage and quota.\n\nGET /{account_or_zone}/{account_or_zone_id}/dns_records/usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -32,8 +32,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/dns-records_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -46,9 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-records_identifier": dns$$records_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-records_dns_response_account_usage", diff --git a/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts index bb2e4af23..d173bd6d2 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/acls/outputs.ts @@ -9,13 +9,13 @@ import type { JsonSchema } from "../../../_/tool.js"; export const secondary$$dns_acl: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "type": "string" }, "ip_range": { - "$ref": "#/$defs/secondary-dns_ip_range" + "type": "string" }, "name": { - "$ref": "#/$defs/secondary-dns_name-4" + "type": "string" } }, "required": [ @@ -26,20 +26,6 @@ export const secondary$$dns_acl: JsonSchema = { "type": "object" }; -/** - * The schema of `secondary-dns_ip_range` in responses. - */ -export const secondary$$dns_ip_range: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `secondary-dns_name-4` in responses. - */ -export const secondary$$dns_name$$4: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_response_collection-3` in responses. */ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/acls/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/acls/schemas.ts index aac6b4ae9..2232a55b4 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/acls/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/acls/schemas.ts @@ -9,12 +9,12 @@ import type { JsonSchema } from "../../../_/tool.js"; export const secondary$$dns_acl: JsonSchema = { "properties": { "ip_range": { - "$ref": "#/$defs/secondary-dns_ip_range", - "description": "Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively." + "description": "Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.", + "type": "string" }, "name": { - "$ref": "#/$defs/secondary-dns_name-4", - "description": "The name of the acl." + "description": "The name of the acl.", + "type": "string" } }, "required": [ @@ -23,19 +23,3 @@ export const secondary$$dns_acl: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `secondary-dns_ip_range`. - */ -export const secondary$$dns_ip_range: JsonSchema = { - "description": "Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.", - "type": "string" -}; - -/** - * The schema of `secondary-dns_name-4`. - */ -export const secondary$$dns_name$$4: JsonSchema = { - "description": "The name of the acl.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts index 9a2af0469..39064a4f1 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/acls/tools.ts @@ -8,25 +8,14 @@ import { secondary$$dns_api$$response$$common$$failure, secondary$$dns_api$$response$$single, secondary$$dns_id_response$$3, - secondary$$dns_identifier$$3, secondary$$dns_messages, } from "../outputs.js"; -import { - secondary$$dns_account_identifier, - secondary$$dns_identifier$$3 as secondary$$dns_identifier$$3$, -} from "../schemas.js"; import { secondary$$dns_acl, - secondary$$dns_ip_range, - secondary$$dns_name$$4, secondary$$dns_response_collection$$3, secondary$$dns_single_response$$3, } from "./outputs.js"; -import { - secondary$$dns_acl as secondary$$dns_acl$, - secondary$$dns_ip_range as secondary$$dns_ip_range$, - secondary$$dns_name$$4 as secondary$$dns_name$$4$, -} from "./schemas.js"; +import { secondary$$dns_acl as secondary$$dns_acl$ } from "./schemas.js"; /** * The tools of `dns.zoneTransfers.acls`. @@ -35,19 +24,19 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_acls_create", title: "Create ACL", - description: "Create ACL.", + description: "Create ACL.\n\nPOST /accounts/{account_id}/secondary_dns/acls", inputSchema: { type: "object", properties: { "body": { "properties": { "ip_range": { - "$ref": "#/$defs/secondary-dns_ip_range", - "description": "Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively." + "description": "Allowed IPv4/IPv6 address range of primary or secondary nameservers. This will be applied for the entire account. The IP range is used to allow additional NOTIFY IPs for secondary zones and IPs Cloudflare allows AXFR/IXFR requests from for primary zones. CIDRs are limited to a maximum of /24 for IPv4 and /64 for IPv6 respectively.", + "type": "string" }, "name": { - "$ref": "#/$defs/secondary-dns_name-4", - "description": "The name of the acl." + "description": "The name of the acl.", + "type": "string" } }, "required": [ @@ -57,9 +46,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" } }, "required": [ @@ -72,21 +62,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_ip_range": secondary$$dns_ip_range$, - "secondary-dns_name-4": secondary$$dns_name$$4$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-3", $defs: { "secondary-dns_acl": secondary$$dns_acl, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip_range": secondary$$dns_ip_range, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-4": secondary$$dns_name$$4, "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, @@ -130,10 +113,7 @@ export const tools: readonly Tool[] = [ "secondary-dns_acl": secondary$$dns_acl, "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip_range": secondary$$dns_ip_range, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-4": secondary$$dns_name$$4, "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, @@ -145,17 +125,18 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_acls_delete", title: "Delete ACL", - description: "Delete ACL.", + description: "Delete ACL.\n\nDELETE /accounts/{account_id}/secondary_dns/acls/{acl_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" }, "acl_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "type": "string" } }, "required": [ @@ -168,17 +149,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response-3", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response-3": secondary$$dns_id_response$$3, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -222,7 +199,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response-3": secondary$$dns_id_response$$3, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -233,17 +209,18 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_acls_get", title: "ACL Details", - description: "Get ACL.", + description: "Get ACL.\n\nGET /accounts/{account_id}/secondary_dns/acls/{acl_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" }, "acl_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "type": "string" } }, "required": [ @@ -256,20 +233,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-3", $defs: { "secondary-dns_acl": secondary$$dns_acl, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip_range": secondary$$dns_ip_range, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-4": secondary$$dns_name$$4, "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, @@ -314,10 +285,7 @@ export const tools: readonly Tool[] = [ "secondary-dns_acl": secondary$$dns_acl, "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip_range": secondary$$dns_ip_range, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-4": secondary$$dns_name$$4, "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, @@ -328,14 +296,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_acls_list", title: "List ACLs", - description: "List ACLs.", + description: "List ACLs.\n\nGET /accounts/{account_id}/secondary_dns/acls", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" } }, "required": [ @@ -347,9 +316,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_response_collection-3", @@ -357,10 +324,7 @@ export const tools: readonly Tool[] = [ "secondary-dns_acl": secondary$$dns_acl, "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip_range": secondary$$dns_ip_range, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-4": secondary$$dns_name$$4, "secondary-dns_response_collection-3": secondary$$dns_response_collection$$3, }, }, @@ -406,10 +370,7 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip_range": secondary$$dns_ip_range, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-4": secondary$$dns_name$$4, "secondary-dns_response_collection-3": secondary$$dns_response_collection$$3, }, }, @@ -420,7 +381,7 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_acls_update", title: "Update ACL", - description: "Modify ACL.", + description: "Modify ACL.\n\nPUT /accounts/{account_id}/secondary_dns/acls/{acl_id}", inputSchema: { type: "object", properties: { @@ -428,12 +389,13 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_acl" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" }, "acl_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "type": "string" } }, "required": [ @@ -447,12 +409,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, "secondary-dns_acl": secondary$$dns_acl$, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, - "secondary-dns_ip_range": secondary$$dns_ip_range$, - "secondary-dns_name-4": secondary$$dns_name$$4$, }, }, outputSchema: { @@ -460,10 +419,7 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_acl": secondary$$dns_acl, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip_range": secondary$$dns_ip_range, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-4": secondary$$dns_name$$4, "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, @@ -507,10 +463,7 @@ export const tools: readonly Tool[] = [ "secondary-dns_acl": secondary$$dns_acl, "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip_range": secondary$$dns_ip_range, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-4": secondary$$dns_name$$4, "secondary-dns_single_response-3": secondary$$dns_single_response$$3, }, }, diff --git a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts index 099139c04..71e8bc704 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/outputs.ts @@ -14,17 +14,10 @@ export const secondary$$dns_force_response: JsonSchema = { { "properties": { "result": { - "$ref": "#/$defs/secondary-dns_force_result" + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `secondary-dns_force_result` in responses. - */ -export const secondary$$dns_force_result: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts index 17e6cb65a..daf688e7f 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/forceAxfr/tools.ts @@ -7,11 +7,7 @@ import { secondary$$dns_api$$response$$single, secondary$$dns_messages, } from "../outputs.js"; -import { secondary$$dns_identifier } from "../schemas.js"; -import { - secondary$$dns_force_response, - secondary$$dns_force_result, -} from "./outputs.js"; +import { secondary$$dns_force_response } from "./outputs.js"; /** * The tools of `dns.zoneTransfers.forceAxfr`. @@ -20,14 +16,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_forceAxfr_create", title: "Force AXFR", - description: "Sends AXFR zone transfer request to primary nameserver(s).", + description: "Sends AXFR zone transfer request to primary nameserver(s).\n\nPOST /zones/{zone_id}/secondary_dns/force_axfr", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -39,16 +36,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_identifier": secondary$$dns_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_force_response", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_force_response": secondary$$dns_force_response, - "secondary-dns_force_result": secondary$$dns_force_result, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -94,7 +88,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_force_response": secondary$$dns_force_response, - "secondary-dns_force_result": secondary$$dns_force_result, "secondary-dns_messages": secondary$$dns_messages, }, }, diff --git a/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts index 972ef3b1e..4aa36ede5 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/incoming/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `secondary-dns_auto_refresh_seconds` in responses. - */ -export const secondary$$dns_auto_refresh_seconds: JsonSchema = { - "type": "number" -}; - /** * The schema of `secondary-dns_single_response_incoming` in responses. */ @@ -23,28 +16,28 @@ export const secondary$$dns_single_response_incoming: JsonSchema = { "result": { "properties": { "auto_refresh_seconds": { - "$ref": "#/$defs/secondary-dns_auto_refresh_seconds" + "type": "number" }, "checked_time": { - "$ref": "#/$defs/secondary-dns_time" + "type": "string" }, "created_time": { - "$ref": "#/$defs/secondary-dns_time" + "type": "string" }, "id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" }, "modified_time": { - "$ref": "#/$defs/secondary-dns_time" + "type": "string" }, "name": { - "$ref": "#/$defs/secondary-dns_name" + "type": "string" }, "peers": { "$ref": "#/$defs/secondary-dns_peers" }, "soa_serial": { - "$ref": "#/$defs/secondary-dns_soa_serial" + "type": "number" } }, "type": "object" diff --git a/src/generated/forge-mcp/dns/zoneTransfers/incoming/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/incoming/schemas.ts index 0698168bf..24ced0eb0 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/incoming/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/incoming/schemas.ts @@ -3,27 +3,19 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `secondary-dns_auto_refresh_seconds`. - */ -export const secondary$$dns_auto_refresh_seconds: JsonSchema = { - "description": "How often should a secondary zone auto refresh regardless of DNS NOTIFY.\nNot applicable for primary zones.", - "type": "number" -}; - /** * The schema of `secondary-dns_dns-secondary-secondary-zone`. */ export const secondary$$dns_dns$$secondary$$secondary$$zone: JsonSchema = { "properties": { "auto_refresh_seconds": { - "$ref": "#/$defs/secondary-dns_auto_refresh_seconds", "default": 86400, - "description": "How often should a secondary zone auto refresh regardless of DNS NOTIFY.\nNot applicable for primary zones." + "description": "How often should a secondary zone auto refresh regardless of DNS NOTIFY.\nNot applicable for primary zones.", + "type": "number" }, "name": { - "$ref": "#/$defs/secondary-dns_name", - "description": "Zone name." + "description": "Zone name.", + "type": "string" }, "peers": { "$ref": "#/$defs/secondary-dns_peers", diff --git a/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts index 1f728f9e8..bf57998fc 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/incoming/tools.ts @@ -6,26 +6,12 @@ import { secondary$$dns_api$$response$$common$$failure, secondary$$dns_api$$response$$single, secondary$$dns_id_response, - secondary$$dns_identifier, secondary$$dns_messages, - secondary$$dns_name, secondary$$dns_peers, - secondary$$dns_soa_serial, - secondary$$dns_time, } from "../outputs.js"; -import { - secondary$$dns_identifier as secondary$$dns_identifier$, - secondary$$dns_name as secondary$$dns_name$, - secondary$$dns_peers as secondary$$dns_peers$, -} from "../schemas.js"; -import { - secondary$$dns_auto_refresh_seconds, - secondary$$dns_single_response_incoming, -} from "./outputs.js"; -import { - secondary$$dns_auto_refresh_seconds as secondary$$dns_auto_refresh_seconds$, - secondary$$dns_dns$$secondary$$secondary$$zone, -} from "./schemas.js"; +import { secondary$$dns_peers as secondary$$dns_peers$ } from "../schemas.js"; +import { secondary$$dns_single_response_incoming } from "./outputs.js"; +import { secondary$$dns_dns$$secondary$$secondary$$zone } from "./schemas.js"; /** * The tools of `dns.zoneTransfers.incoming`. @@ -34,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_incoming_create", title: "Create Secondary Zone Configuration", - description: "Create secondary zone configuration for incoming zone transfers.", + description: "Create secondary zone configuration for incoming zone transfers.\n\nPOST /zones/{zone_id}/secondary_dns/incoming", inputSchema: { type: "object", properties: { @@ -42,9 +28,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_dns-secondary-secondary-zone" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -57,11 +44,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds$, "secondary-dns_dns-secondary-secondary-zone": secondary$$dns_dns$$secondary$$secondary$$zone, - "secondary-dns_identifier": secondary$$dns_identifier$, - "secondary-dns_name": secondary$$dns_name$, "secondary-dns_peers": secondary$$dns_peers$, }, }, @@ -69,14 +54,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_single_response_incoming", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -120,14 +100,9 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ @@ -138,14 +113,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_incoming_delete", title: "Delete Secondary Zone Configuration", - description: "Delete secondary zone configuration for incoming zone transfers.", + description: "Delete secondary zone configuration for incoming zone transfers.\n\nDELETE /zones/{zone_id}/secondary_dns/incoming", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -157,16 +133,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_identifier": secondary$$dns_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response": secondary$$dns_id_response, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -212,7 +185,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response": secondary$$dns_id_response, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -223,14 +195,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_incoming_get", title: "Secondary Zone Configuration Details", - description: "Get secondary zone configuration for incoming zone transfers.", + description: "Get secondary zone configuration for incoming zone transfers.\n\nGET /zones/{zone_id}/secondary_dns/incoming", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -242,22 +215,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_identifier": secondary$$dns_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response_incoming", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -303,14 +269,9 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ @@ -320,7 +281,7 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_incoming_update", title: "Update Secondary Zone Configuration", - description: "Update secondary zone configuration for incoming zone transfers.", + description: "Update secondary zone configuration for incoming zone transfers.\n\nPUT /zones/{zone_id}/secondary_dns/incoming", inputSchema: { type: "object", properties: { @@ -328,9 +289,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_dns-secondary-secondary-zone" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -343,11 +305,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds$, "secondary-dns_dns-secondary-secondary-zone": secondary$$dns_dns$$secondary$$secondary$$zone, - "secondary-dns_identifier": secondary$$dns_identifier$, - "secondary-dns_name": secondary$$dns_name$, "secondary-dns_peers": secondary$$dns_peers$, }, }, @@ -355,14 +315,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_single_response_incoming", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -406,14 +361,9 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_auto_refresh_seconds": secondary$$dns_auto_refresh_seconds, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_incoming": secondary$$dns_single_response_incoming, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts index ab67f75e7..3fadb15e6 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/outputs.ts @@ -14,7 +14,7 @@ export const secondary$$dns_disable_transfer_response: JsonSchema = { { "properties": { "result": { - "$ref": "#/$defs/secondary-dns_disable_transfer_result" + "type": "string" } }, "type": "object" @@ -22,13 +22,6 @@ export const secondary$$dns_disable_transfer_response: JsonSchema = { ] }; -/** - * The schema of `secondary-dns_disable_transfer_result` in responses. - */ -export const secondary$$dns_disable_transfer_result: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_enable_transfer_response` in responses. */ @@ -40,7 +33,7 @@ export const secondary$$dns_enable_transfer_response: JsonSchema = { { "properties": { "result": { - "$ref": "#/$defs/secondary-dns_enable_transfer_result" + "type": "string" } }, "type": "object" @@ -48,13 +41,6 @@ export const secondary$$dns_enable_transfer_response: JsonSchema = { ] }; -/** - * The schema of `secondary-dns_enable_transfer_result` in responses. - */ -export const secondary$$dns_enable_transfer_result: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_force_response-2` in responses. */ @@ -66,7 +52,7 @@ export const secondary$$dns_force_response$$2: JsonSchema = { { "properties": { "result": { - "$ref": "#/$defs/secondary-dns_force_result-2" + "type": "string" } }, "type": "object" @@ -74,13 +60,6 @@ export const secondary$$dns_force_response$$2: JsonSchema = { ] }; -/** - * The schema of `secondary-dns_force_result-2` in responses. - */ -export const secondary$$dns_force_result$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_single_response_outgoing` in responses. */ @@ -94,25 +73,25 @@ export const secondary$$dns_single_response_outgoing: JsonSchema = { "result": { "properties": { "checked_time": { - "$ref": "#/$defs/secondary-dns_time" + "type": "string" }, "created_time": { - "$ref": "#/$defs/secondary-dns_time" + "type": "string" }, "id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" }, "last_transferred_time": { - "$ref": "#/$defs/secondary-dns_time" + "type": "string" }, "name": { - "$ref": "#/$defs/secondary-dns_name" + "type": "string" }, "peers": { "$ref": "#/$defs/secondary-dns_peers" }, "soa_serial": { - "$ref": "#/$defs/secondary-dns_soa_serial" + "type": "number" } }, "type": "object" diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/schemas.ts index a535bfbef..fb2bdcb57 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/schemas.ts @@ -9,8 +9,8 @@ import type { JsonSchema } from "../../../_/tool.js"; export const secondary$$dns_single_request_outgoing: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/secondary-dns_name", - "description": "Zone name." + "description": "Zone name.", + "type": "string" }, "peers": { "$ref": "#/$defs/secondary-dns_peers", diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts index cd3bbc713..9e7249162 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/status/tools.ts @@ -7,11 +7,7 @@ import { secondary$$dns_api$$response$$single, secondary$$dns_messages, } from "../../outputs.js"; -import { secondary$$dns_identifier } from "../../schemas.js"; -import { - secondary$$dns_enable_transfer_response, - secondary$$dns_enable_transfer_result, -} from "../outputs.js"; +import { secondary$$dns_enable_transfer_response } from "../outputs.js"; /** * The tools of `dns.zoneTransfers.outgoing.status`. @@ -20,14 +16,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_outgoing_status_get", title: "Get Outgoing Zone Transfer Status", - description: "Get primary zone transfer status.", + description: "Get primary zone transfer status.\n\nGET /zones/{zone_id}/secondary_dns/outgoing/status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -39,16 +36,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_identifier": secondary$$dns_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_enable_transfer_response", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_enable_transfer_response": secondary$$dns_enable_transfer_response, - "secondary-dns_enable_transfer_result": secondary$$dns_enable_transfer_result, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -96,7 +90,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_enable_transfer_response": secondary$$dns_enable_transfer_response, - "secondary-dns_enable_transfer_result": secondary$$dns_enable_transfer_result, "secondary-dns_messages": secondary$$dns_messages, }, }, diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts index a3dd8224c..4e88ae14f 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outgoing/tools.ts @@ -6,25 +6,14 @@ import { secondary$$dns_api$$response$$common$$failure, secondary$$dns_api$$response$$single, secondary$$dns_id_response, - secondary$$dns_identifier, secondary$$dns_messages, - secondary$$dns_name, secondary$$dns_peers, - secondary$$dns_soa_serial, - secondary$$dns_time, } from "../outputs.js"; -import { - secondary$$dns_identifier as secondary$$dns_identifier$, - secondary$$dns_name as secondary$$dns_name$, - secondary$$dns_peers as secondary$$dns_peers$, -} from "../schemas.js"; +import { secondary$$dns_peers as secondary$$dns_peers$ } from "../schemas.js"; import { secondary$$dns_disable_transfer_response, - secondary$$dns_disable_transfer_result, secondary$$dns_enable_transfer_response, - secondary$$dns_enable_transfer_result, secondary$$dns_force_response$$2, - secondary$$dns_force_result$$2, secondary$$dns_single_response_outgoing, } from "./outputs.js"; import { secondary$$dns_single_request_outgoing } from "./schemas.js"; @@ -36,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_outgoing_create", title: "Create Primary Zone Configuration", - description: "Create primary zone configuration for outgoing zone transfers.", + description: "Create primary zone configuration for outgoing zone transfers.\n\nPOST /zones/{zone_id}/secondary_dns/outgoing", inputSchema: { type: "object", properties: { @@ -44,9 +33,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_single_request_outgoing" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -59,9 +49,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secondary-dns_identifier": secondary$$dns_identifier$, - "secondary-dns_name": secondary$$dns_name$, "secondary-dns_peers": secondary$$dns_peers$, "secondary-dns_single_request_outgoing": secondary$$dns_single_request_outgoing, }, @@ -70,13 +59,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_single_response_outgoing", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -120,13 +105,9 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ @@ -137,14 +118,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_outgoing_delete", title: "Delete Primary Zone Configuration", - description: "Delete primary zone configuration for outgoing zone transfers.", + description: "Delete primary zone configuration for outgoing zone transfers.\n\nDELETE /zones/{zone_id}/secondary_dns/outgoing", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -156,16 +138,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_identifier": secondary$$dns_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response": secondary$$dns_id_response, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -211,7 +190,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response": secondary$$dns_id_response, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -222,14 +200,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_outgoing_disable", title: "Disable Outgoing Zone Transfers", - description: "Disable outgoing zone transfers for primary zone and clears IXFR backlog of primary zone.\n\nConfirm with the user before calling this tool. This operation turns off outgoing zone transfers for the primary zone, which means secondary zones will stop receiving updates.", + description: "Disable outgoing zone transfers for primary zone and clears IXFR backlog of primary zone.\n\nConfirm with the user before calling this tool. This operation turns off outgoing zone transfers for the primary zone, which means secondary zones will stop receiving updates.\n\nPOST /zones/{zone_id}/secondary_dns/outgoing/disable", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -241,16 +220,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_identifier": secondary$$dns_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_disable_transfer_response", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_disable_transfer_response": secondary$$dns_disable_transfer_response, - "secondary-dns_disable_transfer_result": secondary$$dns_disable_transfer_result, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -296,7 +272,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_disable_transfer_response": secondary$$dns_disable_transfer_response, - "secondary-dns_disable_transfer_result": secondary$$dns_disable_transfer_result, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -307,14 +282,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_outgoing_enable", title: "Enable Outgoing Zone Transfers", - description: "Enable outgoing zone transfers for primary zone.", + description: "Enable outgoing zone transfers for primary zone.\n\nPOST /zones/{zone_id}/secondary_dns/outgoing/enable", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -326,16 +302,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_identifier": secondary$$dns_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_enable_transfer_response", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_enable_transfer_response": secondary$$dns_enable_transfer_response, - "secondary-dns_enable_transfer_result": secondary$$dns_enable_transfer_result, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -381,7 +354,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_enable_transfer_response": secondary$$dns_enable_transfer_response, - "secondary-dns_enable_transfer_result": secondary$$dns_enable_transfer_result, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -392,14 +364,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_outgoing_forceNotify", title: "Force DNS NOTIFY", - description: "Notifies the secondary nameserver(s) and clears IXFR backlog of primary zone.", + description: "Notifies the secondary nameserver(s) and clears IXFR backlog of primary zone.\n\nPOST /zones/{zone_id}/secondary_dns/outgoing/force_notify", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -411,16 +384,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_identifier": secondary$$dns_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_force_response-2", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_force_response-2": secondary$$dns_force_response$$2, - "secondary-dns_force_result-2": secondary$$dns_force_result$$2, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -466,7 +436,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_force_response-2": secondary$$dns_force_response$$2, - "secondary-dns_force_result-2": secondary$$dns_force_result$$2, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -477,14 +446,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_outgoing_get", title: "Primary Zone Configuration Details", - description: "Get primary zone configuration for outgoing zone transfers.", + description: "Get primary zone configuration for outgoing zone transfers.\n\nGET /zones/{zone_id}/secondary_dns/outgoing", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -496,21 +466,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_identifier": secondary$$dns_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response_outgoing", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -556,13 +520,9 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ @@ -572,7 +532,7 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_outgoing_update", title: "Update Primary Zone Configuration", - description: "Update primary zone configuration for outgoing zone transfers.", + description: "Update primary zone configuration for outgoing zone transfers.\n\nPUT /zones/{zone_id}/secondary_dns/outgoing", inputSchema: { type: "object", properties: { @@ -580,9 +540,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_single_request_outgoing" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "required": [ @@ -595,9 +556,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secondary-dns_identifier": secondary$$dns_identifier$, - "secondary-dns_name": secondary$$dns_name$, "secondary-dns_peers": secondary$$dns_peers$, "secondary-dns_single_request_outgoing": secondary$$dns_single_request_outgoing, }, @@ -606,13 +566,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_single_response_outgoing", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, annotations: { @@ -656,13 +612,9 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier": secondary$$dns_identifier, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name": secondary$$dns_name, "secondary-dns_peers": secondary$$dns_peers, "secondary-dns_single_response_outgoing": secondary$$dns_single_response_outgoing, - "secondary-dns_soa_serial": secondary$$dns_soa_serial, - "secondary-dns_time": secondary$$dns_time, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts index 7d08c9dad..1ecd98341 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/outputs.ts @@ -134,7 +134,7 @@ export const secondary$$dns_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" } }, "type": "object" @@ -158,7 +158,7 @@ export const secondary$$dns_id_response$$3: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "type": "string" } }, "type": "object" @@ -169,20 +169,6 @@ export const secondary$$dns_id_response$$3: JsonSchema = { ] }; -/** - * The schema of `secondary-dns_identifier` in responses. - */ -export const secondary$$dns_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `secondary-dns_identifier-3` in responses. - */ -export const secondary$$dns_identifier$$3: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_messages` in responses. */ @@ -216,33 +202,12 @@ export const secondary$$dns_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `secondary-dns_name` in responses. - */ -export const secondary$$dns_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_peers` in responses. */ export const secondary$$dns_peers: JsonSchema = { "items": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" }, "type": "array" }; - -/** - * The schema of `secondary-dns_soa_serial` in responses. - */ -export const secondary$$dns_soa_serial: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `secondary-dns_time` in responses. - */ -export const secondary$$dns_time: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts index 8d48193ca..89801a121 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/peers/outputs.ts @@ -3,49 +3,28 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `secondary-dns_ip` in responses. - */ -export const secondary$$dns_ip: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `secondary-dns_ixfr_enable` in responses. - */ -export const secondary$$dns_ixfr_enable: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `secondary-dns_name-3` in responses. - */ -export const secondary$$dns_name$$3: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_peer` in responses. */ export const secondary$$dns_peer: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "type": "string" }, "ip": { - "$ref": "#/$defs/secondary-dns_ip" + "type": "string" }, "ixfr_enable": { - "$ref": "#/$defs/secondary-dns_ixfr_enable" + "type": "boolean" }, "name": { - "$ref": "#/$defs/secondary-dns_name-3" + "type": "string" }, "port": { - "$ref": "#/$defs/secondary-dns_port" + "type": "number" }, "tsig_id": { - "$ref": "#/$defs/secondary-dns_tsig_id" + "type": "string" } }, "required": [ @@ -55,13 +34,6 @@ export const secondary$$dns_peer: JsonSchema = { "type": "object" }; -/** - * The schema of `secondary-dns_port` in responses. - */ -export const secondary$$dns_port: JsonSchema = { - "type": "number" -}; - /** * The schema of `secondary-dns_response_collection-2` in responses. */ @@ -102,10 +74,3 @@ export const secondary$$dns_single_response$$2: JsonSchema = { } ] }; - -/** - * The schema of `secondary-dns_tsig_id` in responses. - */ -export const secondary$$dns_tsig_id: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/peers/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/peers/schemas.ts index 5d69c8fcc..e14256627 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/peers/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/peers/schemas.ts @@ -3,54 +3,30 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `secondary-dns_ip`. - */ -export const secondary$$dns_ip: JsonSchema = { - "description": "IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to.", - "type": "string" -}; - -/** - * The schema of `secondary-dns_ixfr_enable`. - */ -export const secondary$$dns_ixfr_enable: JsonSchema = { - "description": "Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.", - "type": "boolean" -}; - -/** - * The schema of `secondary-dns_name-3`. - */ -export const secondary$$dns_name$$3: JsonSchema = { - "description": "The name of the peer.", - "type": "string" -}; - /** * The schema of `secondary-dns_peer`. */ export const secondary$$dns_peer: JsonSchema = { "properties": { "ip": { - "$ref": "#/$defs/secondary-dns_ip", - "description": "IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to." + "description": "IPv4/IPv6 address of primary or secondary nameserver, depending on what zone this peer is linked to. For primary zones this IP defines the IP of the secondary nameserver Cloudflare will NOTIFY upon zone changes. For secondary zones this IP defines the IP of the primary nameserver Cloudflare will send AXFR/IXFR requests to.", + "type": "string" }, "ixfr_enable": { - "$ref": "#/$defs/secondary-dns_ixfr_enable", - "description": "Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones." + "description": "Enable IXFR transfer protocol, default is AXFR. Only applicable to secondary zones.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/secondary-dns_name-3", - "description": "The name of the peer." + "description": "The name of the peer.", + "type": "string" }, "port": { - "$ref": "#/$defs/secondary-dns_port", - "description": "DNS port of primary or secondary nameserver, depending on what zone this peer is linked to." + "description": "DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.", + "type": "number" }, "tsig_id": { - "$ref": "#/$defs/secondary-dns_tsig_id", - "description": "TSIG authentication will be used for zone transfer if configured." + "description": "TSIG authentication will be used for zone transfer if configured.", + "type": "string" } }, "required": [ @@ -58,19 +34,3 @@ export const secondary$$dns_peer: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `secondary-dns_port`. - */ -export const secondary$$dns_port: JsonSchema = { - "description": "DNS port of primary or secondary nameserver, depending on what zone this peer is linked to.", - "type": "number" -}; - -/** - * The schema of `secondary-dns_tsig_id`. - */ -export const secondary$$dns_tsig_id: JsonSchema = { - "description": "TSIG authentication will be used for zone transfer if configured.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts index 9ef1a0319..4bed777bc 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/peers/tools.ts @@ -8,31 +8,14 @@ import { secondary$$dns_api$$response$$common$$failure, secondary$$dns_api$$response$$single, secondary$$dns_id_response$$3, - secondary$$dns_identifier$$3, secondary$$dns_messages, } from "../outputs.js"; import { - secondary$$dns_account_identifier, - secondary$$dns_identifier$$3 as secondary$$dns_identifier$$3$, -} from "../schemas.js"; -import { - secondary$$dns_ip, - secondary$$dns_ixfr_enable, - secondary$$dns_name$$3, secondary$$dns_peer, - secondary$$dns_port, secondary$$dns_response_collection$$2, secondary$$dns_single_response$$2, - secondary$$dns_tsig_id, } from "./outputs.js"; -import { - secondary$$dns_ip as secondary$$dns_ip$, - secondary$$dns_ixfr_enable as secondary$$dns_ixfr_enable$, - secondary$$dns_name$$3 as secondary$$dns_name$$3$, - secondary$$dns_peer as secondary$$dns_peer$, - secondary$$dns_port as secondary$$dns_port$, - secondary$$dns_tsig_id as secondary$$dns_tsig_id$, -} from "./schemas.js"; +import { secondary$$dns_peer as secondary$$dns_peer$ } from "./schemas.js"; /** * The tools of `dns.zoneTransfers.peers`. @@ -41,15 +24,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_peers_create", title: "Create Peer", - description: "Create Peer.", + description: "Create Peer.\n\nPOST /accounts/{account_id}/secondary_dns/peers", inputSchema: { type: "object", properties: { "body": { "properties": { "name": { - "$ref": "#/$defs/secondary-dns_name-3", - "description": "The name of the peer." + "description": "The name of the peer.", + "type": "string" } }, "required": [ @@ -58,9 +41,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" } }, "required": [ @@ -73,24 +57,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_name-3": secondary$$dns_name$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-2", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip": secondary$$dns_ip, - "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-3": secondary$$dns_name$$3, "secondary-dns_peer": secondary$$dns_peer, - "secondary-dns_port": secondary$$dns_port, "secondary-dns_single_response-2": secondary$$dns_single_response$$2, - "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, annotations: { @@ -132,15 +107,9 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip": secondary$$dns_ip, - "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-3": secondary$$dns_name$$3, "secondary-dns_peer": secondary$$dns_peer, - "secondary-dns_port": secondary$$dns_port, "secondary-dns_single_response-2": secondary$$dns_single_response$$2, - "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, request: (args) => ({ @@ -151,17 +120,18 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_peers_delete", title: "Delete Peer", - description: "Delete Peer.", + description: "Delete Peer.\n\nDELETE /accounts/{account_id}/secondary_dns/peers/{peer_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" }, "peer_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "type": "string" } }, "required": [ @@ -174,17 +144,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response-3", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response-3": secondary$$dns_id_response$$3, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -228,7 +194,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response-3": secondary$$dns_id_response$$3, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -239,17 +204,18 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_peers_get", title: "Peer Details", - description: "Get Peer.", + description: "Get Peer.\n\nGET /accounts/{account_id}/secondary_dns/peers/{peer_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" }, "peer_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "type": "string" } }, "required": [ @@ -262,24 +228,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-2", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip": secondary$$dns_ip, - "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-3": secondary$$dns_name$$3, "secondary-dns_peer": secondary$$dns_peer, - "secondary-dns_port": secondary$$dns_port, "secondary-dns_single_response-2": secondary$$dns_single_response$$2, - "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, annotations: { @@ -322,15 +279,9 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip": secondary$$dns_ip, - "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-3": secondary$$dns_name$$3, "secondary-dns_peer": secondary$$dns_peer, - "secondary-dns_port": secondary$$dns_port, "secondary-dns_single_response-2": secondary$$dns_single_response$$2, - "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, request: (args) => ({ @@ -340,14 +291,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_peers_list", title: "List Peers", - description: "List Peers.", + description: "List Peers.\n\nGET /accounts/{account_id}/secondary_dns/peers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" } }, "required": [ @@ -359,24 +311,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_response_collection-2", $defs: { "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip": secondary$$dns_ip, - "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-3": secondary$$dns_name$$3, "secondary-dns_peer": secondary$$dns_peer, - "secondary-dns_port": secondary$$dns_port, "secondary-dns_response_collection-2": secondary$$dns_response_collection$$2, - "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, annotations: { @@ -420,15 +364,9 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip": secondary$$dns_ip, - "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-3": secondary$$dns_name$$3, "secondary-dns_peer": secondary$$dns_peer, - "secondary-dns_port": secondary$$dns_port, "secondary-dns_response_collection-2": secondary$$dns_response_collection$$2, - "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, request: (args) => ({ @@ -438,7 +376,7 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_peers_update", title: "Update Peer", - description: "Modify Peer.", + description: "Modify Peer.\n\nPUT /accounts/{account_id}/secondary_dns/peers/{peer_id}", inputSchema: { type: "object", properties: { @@ -446,12 +384,13 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_peer" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" }, "peer_id": { - "$ref": "#/$defs/secondary-dns_identifier-3" + "type": "string" } }, "required": [ @@ -465,30 +404,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3$, - "secondary-dns_ip": secondary$$dns_ip$, - "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable$, - "secondary-dns_name-3": secondary$$dns_name$$3$, "secondary-dns_peer": secondary$$dns_peer$, - "secondary-dns_port": secondary$$dns_port$, - "secondary-dns_tsig_id": secondary$$dns_tsig_id$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response-2", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip": secondary$$dns_ip, - "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-3": secondary$$dns_name$$3, "secondary-dns_peer": secondary$$dns_peer, - "secondary-dns_port": secondary$$dns_port, "secondary-dns_single_response-2": secondary$$dns_single_response$$2, - "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, annotations: { @@ -530,15 +457,9 @@ export const tools: readonly Tool[] = [ $defs: { "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-3": secondary$$dns_identifier$$3, - "secondary-dns_ip": secondary$$dns_ip, - "secondary-dns_ixfr_enable": secondary$$dns_ixfr_enable, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-3": secondary$$dns_name$$3, "secondary-dns_peer": secondary$$dns_peer, - "secondary-dns_port": secondary$$dns_port, "secondary-dns_single_response-2": secondary$$dns_single_response$$2, - "secondary-dns_tsig_id": secondary$$dns_tsig_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/schemas.ts index 2e7bfb2b4..706ba89b0 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/schemas.ts @@ -3,42 +3,13 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `secondary-dns_account_identifier`. - */ -export const secondary$$dns_account_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `secondary-dns_identifier`. - */ -export const secondary$$dns_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `secondary-dns_identifier-3`. - */ -export const secondary$$dns_identifier$$3: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `secondary-dns_name`. - */ -export const secondary$$dns_name: JsonSchema = { - "description": "Zone name.", - "type": "string" -}; - /** * The schema of `secondary-dns_peers`. */ export const secondary$$dns_peers: JsonSchema = { "description": "A list of peer tags.", "items": { - "$ref": "#/$defs/secondary-dns_identifier" + "type": "string" }, "type": "array" }; diff --git a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts index 8131b2e7b..daadf1dbf 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `secondary-dns_algo` in responses. - */ -export const secondary$$dns_algo: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_id_response-2` in responses. */ @@ -23,7 +16,7 @@ export const secondary$$dns_id_response$$2: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/secondary-dns_identifier-2" + "type": "string" } }, "type": "object" @@ -34,20 +27,6 @@ export const secondary$$dns_id_response$$2: JsonSchema = { ] }; -/** - * The schema of `secondary-dns_identifier-2` in responses. - */ -export const secondary$$dns_identifier$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `secondary-dns_name-2` in responses. - */ -export const secondary$$dns_name$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_response_collection` in responses. */ @@ -70,13 +49,6 @@ export const secondary$$dns_response_collection: JsonSchema = { ] }; -/** - * The schema of `secondary-dns_secret` in responses. - */ -export const secondary$$dns_secret: JsonSchema = { - "type": "string" -}; - /** * The schema of `secondary-dns_single_response` in responses. */ @@ -102,16 +74,16 @@ export const secondary$$dns_single_response: JsonSchema = { export const secondary$$dns_tsig: JsonSchema = { "properties": { "algo": { - "$ref": "#/$defs/secondary-dns_algo" + "type": "string" }, "id": { - "$ref": "#/$defs/secondary-dns_identifier-2" + "type": "string" }, "name": { - "$ref": "#/$defs/secondary-dns_name-2" + "type": "string" }, "secret": { - "$ref": "#/$defs/secondary-dns_secret" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/schemas.ts b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/schemas.ts index f5024abe9..01e4fb0b2 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/schemas.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/schemas.ts @@ -3,53 +3,22 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `secondary-dns_algo`. - */ -export const secondary$$dns_algo: JsonSchema = { - "description": "TSIG algorithm.", - "type": "string" -}; - -/** - * The schema of `secondary-dns_identifier-2`. - */ -export const secondary$$dns_identifier$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `secondary-dns_name-2`. - */ -export const secondary$$dns_name$$2: JsonSchema = { - "description": "TSIG key name.", - "type": "string" -}; - -/** - * The schema of `secondary-dns_secret`. - */ -export const secondary$$dns_secret: JsonSchema = { - "description": "TSIG secret.", - "type": "string" -}; - /** * The schema of `secondary-dns_tsig`. */ export const secondary$$dns_tsig: JsonSchema = { "properties": { "algo": { - "$ref": "#/$defs/secondary-dns_algo", - "description": "TSIG algorithm." + "description": "TSIG algorithm.", + "type": "string" }, "name": { - "$ref": "#/$defs/secondary-dns_name-2", - "description": "TSIG key name." + "description": "TSIG key name.", + "type": "string" }, "secret": { - "$ref": "#/$defs/secondary-dns_secret", - "description": "TSIG secret." + "description": "TSIG secret.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts index 0267f5308..95915b002 100644 --- a/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts +++ b/src/generated/forge-mcp/dns/zoneTransfers/tsigs/tools.ts @@ -9,24 +9,13 @@ import { secondary$$dns_api$$response$$single, secondary$$dns_messages, } from "../outputs.js"; -import { secondary$$dns_account_identifier } from "../schemas.js"; import { - secondary$$dns_algo, secondary$$dns_id_response$$2, - secondary$$dns_identifier$$2, - secondary$$dns_name$$2, secondary$$dns_response_collection, - secondary$$dns_secret, secondary$$dns_single_response, secondary$$dns_tsig, } from "./outputs.js"; -import { - secondary$$dns_algo as secondary$$dns_algo$, - secondary$$dns_identifier$$2 as secondary$$dns_identifier$$2$, - secondary$$dns_name$$2 as secondary$$dns_name$$2$, - secondary$$dns_secret as secondary$$dns_secret$, - secondary$$dns_tsig as secondary$$dns_tsig$, -} from "./schemas.js"; +import { secondary$$dns_tsig as secondary$$dns_tsig$ } from "./schemas.js"; /** * The tools of `dns.zoneTransfers.tsigs`. @@ -35,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_tsigs_create", title: "Create TSIG", - description: "Create TSIG.", + description: "Create TSIG.\n\nPOST /accounts/{account_id}/secondary_dns/tsigs", inputSchema: { type: "object", properties: { @@ -43,9 +32,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_tsig" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" } }, "required": [ @@ -58,23 +48,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_algo": secondary$$dns_algo$, - "secondary-dns_name-2": secondary$$dns_name$$2$, - "secondary-dns_secret": secondary$$dns_secret$, "secondary-dns_tsig": secondary$$dns_tsig$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response", $defs: { - "secondary-dns_algo": secondary$$dns_algo, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-2": secondary$$dns_name$$2, - "secondary-dns_secret": secondary$$dns_secret, "secondary-dns_single_response": secondary$$dns_single_response, "secondary-dns_tsig": secondary$$dns_tsig, }, @@ -116,13 +99,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_algo": secondary$$dns_algo, "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-2": secondary$$dns_name$$2, - "secondary-dns_secret": secondary$$dns_secret, "secondary-dns_single_response": secondary$$dns_single_response, "secondary-dns_tsig": secondary$$dns_tsig, }, @@ -135,17 +114,18 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_tsigs_delete", title: "Delete TSIG", - description: "Delete TSIG.", + description: "Delete TSIG.\n\nDELETE /accounts/{account_id}/secondary_dns/tsigs/{tsig_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" }, "tsig_id": { - "$ref": "#/$defs/secondary-dns_identifier-2" + "type": "string" } }, "required": [ @@ -158,17 +138,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_id_response-2", $defs: { "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response-2": secondary$$dns_id_response$$2, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -212,7 +188,6 @@ export const tools: readonly Tool[] = [ "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, "secondary-dns_id_response-2": secondary$$dns_id_response$$2, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, }, }, @@ -223,17 +198,18 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_tsigs_get", title: "TSIG Details", - description: "Get TSIG.", + description: "Get TSIG.\n\nGET /accounts/{account_id}/secondary_dns/tsigs/{tsig_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" }, "tsig_id": { - "$ref": "#/$defs/secondary-dns_identifier-2" + "type": "string" } }, "required": [ @@ -246,20 +222,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response", $defs: { - "secondary-dns_algo": secondary$$dns_algo, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-2": secondary$$dns_name$$2, - "secondary-dns_secret": secondary$$dns_secret, "secondary-dns_single_response": secondary$$dns_single_response, "secondary-dns_tsig": secondary$$dns_tsig, }, @@ -302,13 +271,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_algo": secondary$$dns_algo, "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-2": secondary$$dns_name$$2, - "secondary-dns_secret": secondary$$dns_secret, "secondary-dns_single_response": secondary$$dns_single_response, "secondary-dns_tsig": secondary$$dns_tsig, }, @@ -320,14 +285,15 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_tsigs_list", title: "List TSIGs", - description: "List TSIGs.", + description: "List TSIGs.\n\nGET /accounts/{account_id}/secondary_dns/tsigs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" } }, "required": [ @@ -339,21 +305,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secondary-dns_response_collection", $defs: { - "secondary-dns_algo": secondary$$dns_algo, "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-2": secondary$$dns_name$$2, "secondary-dns_response_collection": secondary$$dns_response_collection, - "secondary-dns_secret": secondary$$dns_secret, "secondary-dns_tsig": secondary$$dns_tsig, }, }, @@ -395,15 +355,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_algo": secondary$$dns_algo, "secondary-dns_api-response-collection": secondary$$dns_api$$response$$collection, "secondary-dns_api-response-common": secondary$$dns_api$$response$$common, "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-2": secondary$$dns_name$$2, "secondary-dns_response_collection": secondary$$dns_response_collection, - "secondary-dns_secret": secondary$$dns_secret, "secondary-dns_tsig": secondary$$dns_tsig, }, }, @@ -414,7 +370,7 @@ export const tools: readonly Tool[] = [ { name: "dns_zoneTransfers_tsigs_update", title: "Update TSIG", - description: "Modify TSIG.", + description: "Modify TSIG.\n\nPUT /accounts/{account_id}/secondary_dns/tsigs/{tsig_id}", inputSchema: { type: "object", properties: { @@ -422,12 +378,13 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secondary-dns_tsig" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/secondary-dns_account_identifier" + "type": "string" }, "tsig_id": { - "$ref": "#/$defs/secondary-dns_identifier-2" + "type": "string" } }, "required": [ @@ -441,24 +398,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secondary-dns_account_identifier": secondary$$dns_account_identifier, - "secondary-dns_algo": secondary$$dns_algo$, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2$, - "secondary-dns_name-2": secondary$$dns_name$$2$, - "secondary-dns_secret": secondary$$dns_secret$, "secondary-dns_tsig": secondary$$dns_tsig$, }, }, outputSchema: { "$ref": "#/$defs/secondary-dns_single_response", $defs: { - "secondary-dns_algo": secondary$$dns_algo, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-2": secondary$$dns_name$$2, - "secondary-dns_secret": secondary$$dns_secret, "secondary-dns_single_response": secondary$$dns_single_response, "secondary-dns_tsig": secondary$$dns_tsig, }, @@ -500,13 +449,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secondary-dns_algo": secondary$$dns_algo, "secondary-dns_api-response-common-failure": secondary$$dns_api$$response$$common$$failure, "secondary-dns_api-response-single": secondary$$dns_api$$response$$single, - "secondary-dns_identifier-2": secondary$$dns_identifier$$2, "secondary-dns_messages": secondary$$dns_messages, - "secondary-dns_name-2": secondary$$dns_name$$2, - "secondary-dns_secret": secondary$$dns_secret, "secondary-dns_single_response": secondary$$dns_single_response, "secondary-dns_tsig": secondary$$dns_tsig, }, diff --git a/src/generated/forge-mcp/dnsFirewall/outputs.ts b/src/generated/forge-mcp/dnsFirewall/outputs.ts index a0181546f..653ddc48b 100644 --- a/src/generated/forge-mcp/dnsFirewall/outputs.ts +++ b/src/generated/forge-mcp/dnsFirewall/outputs.ts @@ -143,13 +143,6 @@ export const dns$$firewall_attack_mitigation: JsonSchema = { ] }; -/** - * The schema of `dns-firewall_deprecate_any_requests` in responses. - */ -export const dns$$firewall_deprecate_any_requests: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `dns-firewall_dns-firewall-cluster` in responses. */ @@ -159,28 +152,42 @@ export const dns$$firewall_dns$$firewall$$cluster: JsonSchema = { "$ref": "#/$defs/dns-firewall_attack_mitigation" }, "deprecate_any_requests": { - "$ref": "#/$defs/dns-firewall_deprecate_any_requests" + "type": "boolean" }, "ecs_fallback": { - "$ref": "#/$defs/dns-firewall_ecs_fallback" + "type": "boolean" }, "maximum_cache_ttl": { - "$ref": "#/$defs/dns-firewall_maximum_cache_ttl" + "type": "number" }, "minimum_cache_ttl": { - "$ref": "#/$defs/dns-firewall_minimum_cache_ttl" + "type": "number" }, "name": { - "$ref": "#/$defs/dns-firewall_name" + "type": "string" }, "negative_cache_ttl": { - "$ref": "#/$defs/dns-firewall_negative_cache_ttl" + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "ratelimit": { - "$ref": "#/$defs/dns-firewall_ratelimit" + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "retries": { - "$ref": "#/$defs/dns-firewall_retries" + "type": "number" }, "upstream_ips": { "$ref": "#/$defs/dns-firewall_upstream_ips" @@ -203,10 +210,11 @@ export const dns$$firewall_dns$$firewall$$cluster$$response: JsonSchema = { "$ref": "#/$defs/dns-firewall_dns_firewall_ips" }, "id": { - "$ref": "#/$defs/dns-firewall_identifier" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/dns-firewall_modified_on" + "format": "date-time", + "type": "string" } }, "required": [ @@ -270,27 +278,6 @@ export const dns$$firewall_dns_firewall_single_response: JsonSchema = { ] }; -/** - * The schema of `dns-firewall_ecs_fallback` in responses. - */ -export const dns$$firewall_ecs_fallback: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `dns-firewall_identifier` in responses. - */ -export const dns$$firewall_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `dns-firewall_maximum_cache_ttl` in responses. - */ -export const dns$$firewall_maximum_cache_ttl: JsonSchema = { - "type": "number" -}; - /** * The schema of `dns-firewall_messages` in responses. */ @@ -324,63 +311,6 @@ export const dns$$firewall_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `dns-firewall_minimum_cache_ttl` in responses. - */ -export const dns$$firewall_minimum_cache_ttl: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `dns-firewall_modified_on` in responses. - */ -export const dns$$firewall_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `dns-firewall_name` in responses. - */ -export const dns$$firewall_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `dns-firewall_negative_cache_ttl` in responses. - */ -export const dns$$firewall_negative_cache_ttl: JsonSchema = { - "oneOf": [ - { - "type": "number" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dns-firewall_ratelimit` in responses. - */ -export const dns$$firewall_ratelimit: JsonSchema = { - "oneOf": [ - { - "type": "number" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dns-firewall_retries` in responses. - */ -export const dns$$firewall_retries: JsonSchema = { - "type": "number" -}; - /** * The schema of `dns-firewall_upstream_ips` in responses. */ diff --git a/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts b/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts index b2fc541d7..15b0ffb68 100644 --- a/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts +++ b/src/generated/forge-mcp/dnsFirewall/reverseDns/tools.ts @@ -7,7 +7,6 @@ import { dns$$firewall_api$$response$$single, dns$$firewall_messages, } from "../outputs.js"; -import { dns$$firewall_identifier } from "../schemas.js"; import { dns$$firewall_dns$$firewall$$reverse$$dns$$response, dns$$firewall_dns_firewall_reverse_dns_response, @@ -21,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "dnsFirewall_reverseDns_edit", title: "Update DNS Firewall Cluster Reverse DNS", - description: "Update reverse DNS configuration (PTR records) for a DNS Firewall cluster", + description: "Update reverse DNS configuration (PTR records) for a DNS Firewall cluster\n\nPATCH /accounts/{account_id}/dns_firewall/{dns_firewall_id}/reverse_dns", inputSchema: { type: "object", properties: { @@ -29,14 +28,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-firewall_dns-firewall-reverse-dns-patch" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -50,9 +50,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-firewall_dns-firewall-reverse-dns-patch": dns$$firewall_dns$$firewall$$reverse$$dns$$patch, - "dns-firewall_identifier": dns$$firewall_identifier, }, }, outputSchema: { @@ -114,19 +114,20 @@ export const tools: readonly Tool[] = [ { name: "dnsFirewall_reverseDns_get", title: "Show DNS Firewall Cluster Reverse DNS", - description: "Show reverse DNS configuration (PTR records) for a DNS Firewall cluster", + description: "Show reverse DNS configuration (PTR records) for a DNS Firewall cluster\n\nGET /accounts/{account_id}/dns_firewall/{dns_firewall_id}/reverse_dns", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -139,9 +140,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-firewall_identifier": dns$$firewall_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-firewall_dns_firewall_reverse_dns_response", diff --git a/src/generated/forge-mcp/dnsFirewall/schemas.ts b/src/generated/forge-mcp/dnsFirewall/schemas.ts index da1e719e1..62a257b5b 100644 --- a/src/generated/forge-mcp/dnsFirewall/schemas.ts +++ b/src/generated/forge-mcp/dnsFirewall/schemas.ts @@ -29,14 +29,6 @@ export const dns$$firewall_attack_mitigation: JsonSchema = { ] }; -/** - * The schema of `dns-firewall_deprecate_any_requests`. - */ -export const dns$$firewall_deprecate_any_requests: JsonSchema = { - "description": "Whether to refuse to answer queries for the ANY type", - "type": "boolean" -}; - /** * The schema of `dns-firewall_dns-firewall-cluster`. */ @@ -47,39 +39,53 @@ export const dns$$firewall_dns$$firewall$$cluster: JsonSchema = { "description": "Attack mitigation settings" }, "deprecate_any_requests": { - "$ref": "#/$defs/dns-firewall_deprecate_any_requests", - "description": "Whether to refuse to answer queries for the ANY type" + "description": "Whether to refuse to answer queries for the ANY type", + "type": "boolean" }, "ecs_fallback": { - "$ref": "#/$defs/dns-firewall_ecs_fallback", - "description": "Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent" + "description": "Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent", + "type": "boolean" }, "maximum_cache_ttl": { - "$ref": "#/$defs/dns-firewall_maximum_cache_ttl", "default": 900, - "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets an upper bound on this duration. For caching purposes, higher TTLs\nwill be decreased to the maximum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n" + "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets an upper bound on this duration. For caching purposes, higher TTLs\nwill be decreased to the maximum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.", + "type": "number" }, "minimum_cache_ttl": { - "$ref": "#/$defs/dns-firewall_minimum_cache_ttl", "default": 60, - "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets a lower bound on this duration. For caching purposes, lower TTLs\nwill be increased to the minimum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n\nNote that, even with this setting, there is no guarantee that a\nresponse will be cached for at least the specified duration. Cached\nresponses may be removed earlier for capacity or other operational\nreasons.\n" + "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets a lower bound on this duration. For caching purposes, lower TTLs\nwill be increased to the minimum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n\nNote that, even with this setting, there is no guarantee that a\nresponse will be cached for at least the specified duration. Cached\nresponses may be removed earlier for capacity or other operational\nreasons.", + "type": "number" }, "name": { - "$ref": "#/$defs/dns-firewall_name", - "description": "DNS Firewall cluster name" + "description": "DNS Firewall cluster name", + "type": "string" }, "negative_cache_ttl": { - "$ref": "#/$defs/dns-firewall_negative_cache_ttl", - "description": "This setting controls how long DNS Firewall should cache negative\nresponses (e.g., NXDOMAIN) from the upstream servers.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n" + "description": "This setting controls how long DNS Firewall should cache negative\nresponses (e.g., NXDOMAIN) from the upstream servers.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "ratelimit": { - "$ref": "#/$defs/dns-firewall_ratelimit", - "description": "Maximum number of DNS queries per second that will be forwarded to your upstream nameservers. The limit is enforced per server, where each server receives a fraction of the configured value. The actual aggregate rate for a data center may vary depending on how many servers are present. Responses served from cache do not count toward this limit. Set to null to disable rate limiting." + "description": "Maximum number of DNS queries per second that will be forwarded to your upstream nameservers. The limit is enforced per server, where each server receives a fraction of the configured value. The actual aggregate rate for a data center may vary depending on how many servers are present. Responses served from cache do not count toward this limit. Set to null to disable rate limiting.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "retries": { - "$ref": "#/$defs/dns-firewall_retries", "default": 2, - "description": "Number of retries for fetching DNS responses from upstream nameservers (not counting the initial attempt)" + "description": "Number of retries for fetching DNS responses from upstream nameservers (not counting the initial attempt)", + "type": "number" }, "upstream_ips": { "$ref": "#/$defs/dns-firewall_upstream_ips" @@ -98,39 +104,53 @@ export const dns$$firewall_dns$$firewall$$cluster$$patch: JsonSchema = { "description": "Attack mitigation settings" }, "deprecate_any_requests": { - "$ref": "#/$defs/dns-firewall_deprecate_any_requests", - "description": "Whether to refuse to answer queries for the ANY type" + "description": "Whether to refuse to answer queries for the ANY type", + "type": "boolean" }, "ecs_fallback": { - "$ref": "#/$defs/dns-firewall_ecs_fallback", - "description": "Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent" + "description": "Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent", + "type": "boolean" }, "maximum_cache_ttl": { - "$ref": "#/$defs/dns-firewall_maximum_cache_ttl", "default": 900, - "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets an upper bound on this duration. For caching purposes, higher TTLs\nwill be decreased to the maximum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n" + "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets an upper bound on this duration. For caching purposes, higher TTLs\nwill be decreased to the maximum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.", + "type": "number" }, "minimum_cache_ttl": { - "$ref": "#/$defs/dns-firewall_minimum_cache_ttl", "default": 60, - "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets a lower bound on this duration. For caching purposes, lower TTLs\nwill be increased to the minimum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n\nNote that, even with this setting, there is no guarantee that a\nresponse will be cached for at least the specified duration. Cached\nresponses may be removed earlier for capacity or other operational\nreasons.\n" + "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets a lower bound on this duration. For caching purposes, lower TTLs\nwill be increased to the minimum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n\nNote that, even with this setting, there is no guarantee that a\nresponse will be cached for at least the specified duration. Cached\nresponses may be removed earlier for capacity or other operational\nreasons.", + "type": "number" }, "name": { - "$ref": "#/$defs/dns-firewall_name", - "description": "DNS Firewall cluster name" + "description": "DNS Firewall cluster name", + "type": "string" }, "negative_cache_ttl": { - "$ref": "#/$defs/dns-firewall_negative_cache_ttl", - "description": "This setting controls how long DNS Firewall should cache negative\nresponses (e.g., NXDOMAIN) from the upstream servers.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n" + "description": "This setting controls how long DNS Firewall should cache negative\nresponses (e.g., NXDOMAIN) from the upstream servers.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "ratelimit": { - "$ref": "#/$defs/dns-firewall_ratelimit", - "description": "Maximum number of DNS queries per second that will be forwarded to your upstream nameservers. The limit is enforced per server, where each server receives a fraction of the configured value. The actual aggregate rate for a data center may vary depending on how many servers are present. Responses served from cache do not count toward this limit. Set to null to disable rate limiting." + "description": "Maximum number of DNS queries per second that will be forwarded to your upstream nameservers. The limit is enforced per server, where each server receives a fraction of the configured value. The actual aggregate rate for a data center may vary depending on how many servers are present. Responses served from cache do not count toward this limit. Set to null to disable rate limiting.", + "oneOf": [ + { + "type": "number" + }, + { + "type": "null" + } + ] }, "retries": { - "$ref": "#/$defs/dns-firewall_retries", "default": 2, - "description": "Number of retries for fetching DNS responses from upstream nameservers (not counting the initial attempt)" + "description": "Number of retries for fetching DNS responses from upstream nameservers (not counting the initial attempt)", + "type": "number" }, "upstream_ips": { "$ref": "#/$defs/dns-firewall_upstream_ips" @@ -150,9 +170,9 @@ export const dns$$firewall_dns$$firewall$$cluster$$post: JsonSchema = { { "properties": { "dns_firewall_ip_count": { - "$ref": "#/$defs/dns-firewall_dns_firewall_ip_count", "default": 2, - "description": "Number of IPv4 addresses to assign to the DNS Firewall cluster. Only used during cluster creation and cannot be changed later." + "description": "Number of IPv4 addresses to assign to the DNS Firewall cluster. Only used during cluster creation and cannot be changed later.", + "type": "integer" } }, "type": "object" @@ -160,92 +180,6 @@ export const dns$$firewall_dns$$firewall$$cluster$$post: JsonSchema = { ] }; -/** - * The schema of `dns-firewall_dns_firewall_ip_count`. - */ -export const dns$$firewall_dns_firewall_ip_count: JsonSchema = { - "description": "Number of IPv4 addresses to assign to the DNS Firewall cluster. Only used during cluster creation and cannot be changed later.", - "type": "integer" -}; - -/** - * The schema of `dns-firewall_ecs_fallback`. - */ -export const dns$$firewall_ecs_fallback: JsonSchema = { - "description": "Whether to forward client IP (resolver) subnet if no EDNS Client Subnet is sent", - "type": "boolean" -}; - -/** - * The schema of `dns-firewall_identifier`. - */ -export const dns$$firewall_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `dns-firewall_maximum_cache_ttl`. - */ -export const dns$$firewall_maximum_cache_ttl: JsonSchema = { - "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets an upper bound on this duration. For caching purposes, higher TTLs\nwill be decreased to the maximum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n", - "type": "number" -}; - -/** - * The schema of `dns-firewall_minimum_cache_ttl`. - */ -export const dns$$firewall_minimum_cache_ttl: JsonSchema = { - "description": "By default, Cloudflare attempts to cache responses for as long as\nindicated by the TTL received from upstream nameservers. This setting\nsets a lower bound on this duration. For caching purposes, lower TTLs\nwill be increased to the minimum value defined by this setting.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n\nNote that, even with this setting, there is no guarantee that a\nresponse will be cached for at least the specified duration. Cached\nresponses may be removed earlier for capacity or other operational\nreasons.\n", - "type": "number" -}; - -/** - * The schema of `dns-firewall_name`. - */ -export const dns$$firewall_name: JsonSchema = { - "description": "DNS Firewall cluster name", - "type": "string" -}; - -/** - * The schema of `dns-firewall_negative_cache_ttl`. - */ -export const dns$$firewall_negative_cache_ttl: JsonSchema = { - "description": "This setting controls how long DNS Firewall should cache negative\nresponses (e.g., NXDOMAIN) from the upstream servers.\n\nThis setting does not affect the TTL value in the DNS response\nCloudflare returns to clients. Cloudflare will always forward the TTL\nvalue received from upstream nameservers.\n", - "oneOf": [ - { - "type": "number" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dns-firewall_ratelimit`. - */ -export const dns$$firewall_ratelimit: JsonSchema = { - "description": "Maximum number of DNS queries per second that will be forwarded to your upstream nameservers. The limit is enforced per server, where each server receives a fraction of the configured value. The actual aggregate rate for a data center may vary depending on how many servers are present. Responses served from cache do not count toward this limit. Set to null to disable rate limiting.", - "oneOf": [ - { - "type": "number" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `dns-firewall_retries`. - */ -export const dns$$firewall_retries: JsonSchema = { - "description": "Number of retries for fetching DNS responses from upstream nameservers (not counting the initial attempt)", - "type": "number" -}; - /** * The schema of `dns-firewall_upstream_ips`. */ diff --git a/src/generated/forge-mcp/dnsFirewall/tools.ts b/src/generated/forge-mcp/dnsFirewall/tools.ts index daa1bfe37..b849af98e 100644 --- a/src/generated/forge-mcp/dnsFirewall/tools.ts +++ b/src/generated/forge-mcp/dnsFirewall/tools.ts @@ -8,39 +8,19 @@ import { dns$$firewall_api$$response$$common$$failure, dns$$firewall_api$$response$$single, dns$$firewall_attack_mitigation, - dns$$firewall_deprecate_any_requests, dns$$firewall_dns$$firewall$$cluster, dns$$firewall_dns$$firewall$$cluster$$response, dns$$firewall_dns_firewall_ips, dns$$firewall_dns_firewall_response_collection, dns$$firewall_dns_firewall_single_response, - dns$$firewall_ecs_fallback, - dns$$firewall_identifier, - dns$$firewall_maximum_cache_ttl, dns$$firewall_messages, - dns$$firewall_minimum_cache_ttl, - dns$$firewall_modified_on, - dns$$firewall_name, - dns$$firewall_negative_cache_ttl, - dns$$firewall_ratelimit, - dns$$firewall_retries, dns$$firewall_upstream_ips, } from "./outputs.js"; import { dns$$firewall_attack_mitigation as dns$$firewall_attack_mitigation$, - dns$$firewall_deprecate_any_requests as dns$$firewall_deprecate_any_requests$, dns$$firewall_dns$$firewall$$cluster as dns$$firewall_dns$$firewall$$cluster$, dns$$firewall_dns$$firewall$$cluster$$patch, dns$$firewall_dns$$firewall$$cluster$$post, - dns$$firewall_dns_firewall_ip_count, - dns$$firewall_ecs_fallback as dns$$firewall_ecs_fallback$, - dns$$firewall_identifier as dns$$firewall_identifier$, - dns$$firewall_maximum_cache_ttl as dns$$firewall_maximum_cache_ttl$, - dns$$firewall_minimum_cache_ttl as dns$$firewall_minimum_cache_ttl$, - dns$$firewall_name as dns$$firewall_name$, - dns$$firewall_negative_cache_ttl as dns$$firewall_negative_cache_ttl$, - dns$$firewall_ratelimit as dns$$firewall_ratelimit$, - dns$$firewall_retries as dns$$firewall_retries$, dns$$firewall_upstream_ips as dns$$firewall_upstream_ips$, } from "./schemas.js"; @@ -51,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "dnsFirewall_create", title: "Create DNS Firewall Cluster", - description: "Create a DNS Firewall cluster", + description: "Create a DNS Firewall cluster\n\nPOST /accounts/{account_id}/dns_firewall", inputSchema: { type: "object", properties: { @@ -59,10 +39,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-post" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -75,20 +56,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation$, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests$, "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster$, "dns-firewall_dns-firewall-cluster-post": dns$$firewall_dns$$firewall$$cluster$$post, - "dns-firewall_dns_firewall_ip_count": dns$$firewall_dns_firewall_ip_count, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback$, - "dns-firewall_identifier": dns$$firewall_identifier$, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl$, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl$, - "dns-firewall_name": dns$$firewall_name$, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl$, - "dns-firewall_ratelimit": dns$$firewall_ratelimit$, - "dns-firewall_retries": dns$$firewall_retries$, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips$, }, }, @@ -97,21 +69,11 @@ export const tools: readonly Tool[] = [ $defs: { "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, - "dns-firewall_identifier": dns$$firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, "dns-firewall_messages": dns$$firewall_messages, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, - "dns-firewall_modified_on": dns$$firewall_modified_on, - "dns-firewall_name": dns$$firewall_name, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns$$firewall_ratelimit, - "dns-firewall_retries": dns$$firewall_retries, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, @@ -153,21 +115,11 @@ export const tools: readonly Tool[] = [ "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, - "dns-firewall_identifier": dns$$firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, "dns-firewall_messages": dns$$firewall_messages, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, - "dns-firewall_modified_on": dns$$firewall_modified_on, - "dns-firewall_name": dns$$firewall_name, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns$$firewall_ratelimit, - "dns-firewall_retries": dns$$firewall_retries, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, @@ -179,19 +131,20 @@ export const tools: readonly Tool[] = [ { name: "dnsFirewall_delete", title: "Delete DNS Firewall Cluster", - description: "Delete a DNS Firewall cluster", + description: "Delete a DNS Firewall cluster\n\nDELETE /accounts/{account_id}/dns_firewall/{dns_firewall_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -204,9 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-firewall_identifier": dns$$firewall_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -218,7 +169,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/dns-firewall_identifier" + "type": "string" } }, "type": "object" @@ -229,7 +180,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, - "dns-firewall_identifier": dns$$firewall_identifier, "dns-firewall_messages": dns$$firewall_messages, }, }, @@ -270,7 +220,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/dns-firewall_identifier" + "type": "string" } }, "type": "object" @@ -287,7 +237,6 @@ export const tools: readonly Tool[] = [ $defs: { "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, - "dns-firewall_identifier": dns$$firewall_identifier, "dns-firewall_messages": dns$$firewall_messages, }, }, @@ -298,7 +247,7 @@ export const tools: readonly Tool[] = [ { name: "dnsFirewall_edit", title: "Update DNS Firewall Cluster", - description: "Modify the configuration of a DNS Firewall cluster", + description: "Modify the configuration of a DNS Firewall cluster\n\nPATCH /accounts/{account_id}/dns_firewall/{dns_firewall_id}", inputSchema: { type: "object", properties: { @@ -306,14 +255,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-firewall_dns-firewall-cluster-patch" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -327,18 +277,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation$, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests$, "dns-firewall_dns-firewall-cluster-patch": dns$$firewall_dns$$firewall$$cluster$$patch, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback$, - "dns-firewall_identifier": dns$$firewall_identifier$, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl$, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl$, - "dns-firewall_name": dns$$firewall_name$, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl$, - "dns-firewall_ratelimit": dns$$firewall_ratelimit$, - "dns-firewall_retries": dns$$firewall_retries$, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips$, }, }, @@ -347,21 +289,11 @@ export const tools: readonly Tool[] = [ $defs: { "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, - "dns-firewall_identifier": dns$$firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, "dns-firewall_messages": dns$$firewall_messages, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, - "dns-firewall_modified_on": dns$$firewall_modified_on, - "dns-firewall_name": dns$$firewall_name, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns$$firewall_ratelimit, - "dns-firewall_retries": dns$$firewall_retries, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, @@ -403,21 +335,11 @@ export const tools: readonly Tool[] = [ "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, - "dns-firewall_identifier": dns$$firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, "dns-firewall_messages": dns$$firewall_messages, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, - "dns-firewall_modified_on": dns$$firewall_modified_on, - "dns-firewall_name": dns$$firewall_name, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns$$firewall_ratelimit, - "dns-firewall_retries": dns$$firewall_retries, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, @@ -429,19 +351,20 @@ export const tools: readonly Tool[] = [ { name: "dnsFirewall_get", title: "DNS Firewall Cluster Details", - description: "Show a single DNS Firewall cluster for an account", + description: "Show a single DNS Firewall cluster for an account\n\nGET /accounts/{account_id}/dns_firewall/{dns_firewall_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dns_firewall_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -454,30 +377,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-firewall_identifier": dns$$firewall_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-firewall_dns_firewall_single_response", $defs: { "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, - "dns-firewall_identifier": dns$$firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, "dns-firewall_messages": dns$$firewall_messages, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, - "dns-firewall_modified_on": dns$$firewall_modified_on, - "dns-firewall_name": dns$$firewall_name, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns$$firewall_ratelimit, - "dns-firewall_retries": dns$$firewall_retries, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, @@ -520,21 +431,11 @@ export const tools: readonly Tool[] = [ "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, "dns-firewall_api-response-single": dns$$firewall_api$$response$$single, "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, "dns-firewall_dns_firewall_single_response": dns$$firewall_dns_firewall_single_response, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, - "dns-firewall_identifier": dns$$firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, "dns-firewall_messages": dns$$firewall_messages, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, - "dns-firewall_modified_on": dns$$firewall_modified_on, - "dns-firewall_name": dns$$firewall_name, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns$$firewall_ratelimit, - "dns-firewall_retries": dns$$firewall_retries, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, @@ -545,15 +446,16 @@ export const tools: readonly Tool[] = [ { name: "dnsFirewall_list", title: "List DNS Firewall Clusters", - description: "List DNS Firewall clusters for an account", + description: "List DNS Firewall clusters for an account\n\nGET /accounts/{account_id}/dns_firewall", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/dns-firewall_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -562,6 +464,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -580,9 +483,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-firewall_identifier": dns$$firewall_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-firewall_dns_firewall_response_collection", @@ -590,21 +491,11 @@ export const tools: readonly Tool[] = [ "dns-firewall_api-response-collection": dns$$firewall_api$$response$$collection, "dns-firewall_api-response-common": dns$$firewall_api$$response$$common, "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, "dns-firewall_dns_firewall_response_collection": dns$$firewall_dns_firewall_response_collection, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, - "dns-firewall_identifier": dns$$firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, "dns-firewall_messages": dns$$firewall_messages, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, - "dns-firewall_modified_on": dns$$firewall_modified_on, - "dns-firewall_name": dns$$firewall_name, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns$$firewall_ratelimit, - "dns-firewall_retries": dns$$firewall_retries, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, @@ -648,21 +539,11 @@ export const tools: readonly Tool[] = [ "dns-firewall_api-response-common": dns$$firewall_api$$response$$common, "dns-firewall_api-response-common-failure": dns$$firewall_api$$response$$common$$failure, "dns-firewall_attack_mitigation": dns$$firewall_attack_mitigation, - "dns-firewall_deprecate_any_requests": dns$$firewall_deprecate_any_requests, "dns-firewall_dns-firewall-cluster": dns$$firewall_dns$$firewall$$cluster, "dns-firewall_dns-firewall-cluster-response": dns$$firewall_dns$$firewall$$cluster$$response, "dns-firewall_dns_firewall_ips": dns$$firewall_dns_firewall_ips, "dns-firewall_dns_firewall_response_collection": dns$$firewall_dns_firewall_response_collection, - "dns-firewall_ecs_fallback": dns$$firewall_ecs_fallback, - "dns-firewall_identifier": dns$$firewall_identifier, - "dns-firewall_maximum_cache_ttl": dns$$firewall_maximum_cache_ttl, "dns-firewall_messages": dns$$firewall_messages, - "dns-firewall_minimum_cache_ttl": dns$$firewall_minimum_cache_ttl, - "dns-firewall_modified_on": dns$$firewall_modified_on, - "dns-firewall_name": dns$$firewall_name, - "dns-firewall_negative_cache_ttl": dns$$firewall_negative_cache_ttl, - "dns-firewall_ratelimit": dns$$firewall_ratelimit, - "dns-firewall_retries": dns$$firewall_retries, "dns-firewall_upstream_ips": dns$$firewall_upstream_ips, }, }, diff --git a/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts b/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts index c8e2646d9..e6c41fa2e 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/objects/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `workers_cursor` in responses. - */ -export const workers_cursor: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_object` in responses. */ diff --git a/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts b/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts index 6ae560ceb..d92cf772d 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/objects/tools.ts @@ -8,9 +8,7 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../../outputs.js"; -import { workers_identifier } from "../../../schemas.js"; -import { workers_schemas$$id } from "../schemas.js"; -import { workers_cursor, workers_object } from "./outputs.js"; +import { workers_object } from "./outputs.js"; /** * The tools of `durableObjects.namespaces.objects`. @@ -19,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "durableObjects_namespaces_objects_list", title: "List Objects in a Durable Object namespace", - description: "Returns the Durable Objects in a given Durable Object namespace.", + description: "Returns the Durable Objects in a given Durable Object namespace.\n\nGET /accounts/{account_id}/workers/durable_objects/namespaces/{id}/objects", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "id": { - "$ref": "#/$defs/workers_schemas-id", - "description": "ID of the namespace." + "description": "ID of the namespace.", + "type": "string" } }, "required": [ @@ -41,6 +40,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque token indicating the position from which to continue when requesting the next set of records. A valid value for the cursor can be obtained from the cursors object in the result_info structure.", @@ -58,10 +58,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_schemas-id": workers_schemas$$id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -82,7 +79,7 @@ export const tools: readonly Tool[] = [ "type": "number" }, "cursor": { - "$ref": "#/$defs/workers_cursor" + "type": "string" } }, "type": "object" @@ -94,7 +91,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-collection": workers_api$$response$$collection, "workers_api-response-common": workers_api$$response$$common, - "workers_cursor": workers_cursor, "workers_messages": workers_messages, "workers_object": workers_object, }, @@ -143,7 +139,7 @@ export const tools: readonly Tool[] = [ "type": "number" }, "cursor": { - "$ref": "#/$defs/workers_cursor" + "type": "string" } }, "type": "object" @@ -172,7 +168,7 @@ export const tools: readonly Tool[] = [ "type": "number" }, "cursor": { - "$ref": "#/$defs/workers_cursor" + "type": "string" } }, "type": "object" @@ -190,7 +186,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-collection": workers_api$$response$$collection, "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_cursor": workers_cursor, "workers_messages": workers_messages, "workers_object": workers_object, }, diff --git a/src/generated/forge-mcp/durableObjects/namespaces/schemas.ts b/src/generated/forge-mcp/durableObjects/namespaces/schemas.ts index c763ec065..5d35e01a2 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/schemas.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/schemas.ts @@ -11,7 +11,17 @@ export const workers_query: JsonSchema = { "params": { "description": "Values bound to the `?` placeholders in `sql`, in order.", "items": { - "$ref": "#/$defs/workers_query-param" + "anyOf": [ + { + "type": "string" + }, + { + "type": "number" + }, + { + "type": "null" + } + ] }, "type": "array" }, @@ -77,28 +87,3 @@ export const workers_query$$by$$name: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `workers_query-param`. - */ -export const workers_query$$param: JsonSchema = { - "anyOf": [ - { - "type": "string" - }, - { - "type": "number" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `workers_schemas-id`. - */ -export const workers_schemas$$id: JsonSchema = { - "description": "ID of the namespace.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/durableObjects/namespaces/tools.ts b/src/generated/forge-mcp/durableObjects/namespaces/tools.ts index 35ad987f6..f508b83a0 100644 --- a/src/generated/forge-mcp/durableObjects/namespaces/tools.ts +++ b/src/generated/forge-mcp/durableObjects/namespaces/tools.ts @@ -8,7 +8,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../outputs.js"; -import { workers_identifier } from "../../schemas.js"; import { workers_namespace, workers_query$$result, @@ -18,8 +17,6 @@ import { workers_query, workers_query$$by$$id, workers_query$$by$$name, - workers_query$$param, - workers_schemas$$id, } from "./schemas.js"; /** @@ -29,15 +26,16 @@ export const tools: readonly Tool[] = [ { name: "durableObjects_namespaces_list", title: "List Durable Object Namespaces", - description: "Returns the Durable Object namespaces owned by an account.", + description: "Returns the Durable Object namespaces owned by an account.\n\nGET /accounts/{account_id}/workers/durable_objects/namespaces", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -46,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -64,9 +63,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -176,7 +173,7 @@ export const tools: readonly Tool[] = [ { name: "durableObjects_namespaces_query", title: "Query a Durable Object", - description: "Executes one or more SQL queries against a Durable Object.", + description: "Executes one or more SQL queries against a Durable Object.\n\nPOST /accounts/{account_id}/workers/durable_objects/namespaces/{id}/query/v2", inputSchema: { type: "object", properties: { @@ -191,14 +188,15 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "id": { - "$ref": "#/$defs/workers_schemas-id", - "description": "ID of the namespace." + "description": "ID of the namespace.", + "type": "string" } }, "required": [ @@ -212,13 +210,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "workers_identifier": workers_identifier, "workers_query": workers_query, "workers_query-by-id": workers_query$$by$$id, "workers_query-by-name": workers_query$$by$$name, - "workers_query-param": workers_query$$param, - "workers_schemas-id": workers_schemas$$id, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts b/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts index b71e603a2..e3b55044e 100644 --- a/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts +++ b/src/generated/forge-mcp/emailAuth/dmarcReports/outputs.ts @@ -86,7 +86,14 @@ export const email$$auth_DmarcReportResponse: JsonSchema = { "type": "boolean" }, "status": { - "$ref": "#/$defs/email-auth_DmarcStatus" + "enum": [ + "missing-dmarc-report", + "multiple-dmarc-reports", + "missing-dmarc-rua", + "cname-on-dmarc-record", + "unauthorized-reporting-domain" + ], + "type": "string" }, "tag": { "type": "string" @@ -98,20 +105,6 @@ export const email$$auth_DmarcReportResponse: JsonSchema = { "type": "object" }; -/** - * The schema of `email-auth_DmarcStatus` in responses. - */ -export const email$$auth_DmarcStatus: JsonSchema = { - "enum": [ - "missing-dmarc-report", - "multiple-dmarc-reports", - "missing-dmarc-rua", - "cname-on-dmarc-record", - "unauthorized-reporting-domain" - ], - "type": "string" -}; - /** * The schema of `email-auth_DnsRecordInfo` in responses. */ diff --git a/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts b/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts index fd7625d20..f89b7dcb2 100644 --- a/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts +++ b/src/generated/forge-mcp/emailAuth/dmarcReports/tools.ts @@ -7,11 +7,9 @@ import { email$$auth_api$$response$$single, email$$auth_messages, } from "../outputs.js"; -import { email$$auth_identifier } from "../schemas.js"; import { email$$auth_ApprovedSourceResponse, email$$auth_DmarcReportResponse, - email$$auth_DmarcStatus, email$$auth_DnsRecordInfo, email$$auth_ResolvedDmarcRecord, email$$auth_ZoneDnsRecords, @@ -25,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "emailAuth_dmarcReports_edit", title: "Configure DMARC Reports", - description: "Updates the DMARC report configuration for a zone.\nAt least one of `enabled` or `skip_wizard` must be provided.\nWhen enabling, the handler will ensure the DMARC RUA record exists in DNS.", + description: "Updates the DMARC report configuration for a zone.\nAt least one of `enabled` or `skip_wizard` must be provided.\nWhen enabling, the handler will ensure the DMARC RUA record exists in DNS.\n\nPATCH /zones/{zone_id}/email/auth/dmarc-reports", inputSchema: { type: "object", properties: { @@ -33,10 +31,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-auth_ConfigureDmarcReportsRequest" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email-auth_identifier", - "description": "Zone identifier." + "description": "Zone identifier.", + "type": "string" } }, "required": [ @@ -49,9 +48,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-auth_ConfigureDmarcReportsRequest": email$$auth_ConfigureDmarcReportsRequest, - "email-auth_identifier": email$$auth_identifier, }, }, outputSchema: { @@ -71,7 +70,6 @@ export const tools: readonly Tool[] = [ $defs: { "email-auth_ApprovedSourceResponse": email$$auth_ApprovedSourceResponse, "email-auth_DmarcReportResponse": email$$auth_DmarcReportResponse, - "email-auth_DmarcStatus": email$$auth_DmarcStatus, "email-auth_DnsRecordInfo": email$$auth_DnsRecordInfo, "email-auth_ResolvedDmarcRecord": email$$auth_ResolvedDmarcRecord, "email-auth_ZoneDnsRecords": email$$auth_ZoneDnsRecords, @@ -112,7 +110,6 @@ export const tools: readonly Tool[] = [ $defs: { "email-auth_ApprovedSourceResponse": email$$auth_ApprovedSourceResponse, "email-auth_DmarcReportResponse": email$$auth_DmarcReportResponse, - "email-auth_DmarcStatus": email$$auth_DmarcStatus, "email-auth_DnsRecordInfo": email$$auth_DnsRecordInfo, "email-auth_ResolvedDmarcRecord": email$$auth_ResolvedDmarcRecord, "email-auth_ZoneDnsRecords": email$$auth_ZoneDnsRecords, @@ -129,15 +126,16 @@ export const tools: readonly Tool[] = [ { name: "emailAuth_dmarcReports_get", title: "Get DMARC Report Status", - description: "Retrieves the current DMARC report configuration and status for a zone.\nReturns the RUA prefix, enabled status, approved sources, and DNS records.", + description: "Retrieves the current DMARC report configuration and status for a zone.\nReturns the RUA prefix, enabled status, approved sources, and DNS records.\n\nGET /zones/{zone_id}/email/auth/dmarc-reports", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email-auth_identifier", - "description": "Zone identifier." + "description": "Zone identifier.", + "type": "string" } }, "required": [ @@ -149,9 +147,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-auth_identifier": email$$auth_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -170,7 +166,6 @@ export const tools: readonly Tool[] = [ $defs: { "email-auth_ApprovedSourceResponse": email$$auth_ApprovedSourceResponse, "email-auth_DmarcReportResponse": email$$auth_DmarcReportResponse, - "email-auth_DmarcStatus": email$$auth_DmarcStatus, "email-auth_DnsRecordInfo": email$$auth_DnsRecordInfo, "email-auth_ResolvedDmarcRecord": email$$auth_ResolvedDmarcRecord, "email-auth_ZoneDnsRecords": email$$auth_ZoneDnsRecords, @@ -211,7 +206,6 @@ export const tools: readonly Tool[] = [ $defs: { "email-auth_ApprovedSourceResponse": email$$auth_ApprovedSourceResponse, "email-auth_DmarcReportResponse": email$$auth_DmarcReportResponse, - "email-auth_DmarcStatus": email$$auth_DmarcStatus, "email-auth_DnsRecordInfo": email$$auth_DnsRecordInfo, "email-auth_ResolvedDmarcRecord": email$$auth_ResolvedDmarcRecord, "email-auth_ZoneDnsRecords": email$$auth_ZoneDnsRecords, diff --git a/src/generated/forge-mcp/emailAuth/schemas.ts b/src/generated/forge-mcp/emailAuth/schemas.ts deleted file mode 100644 index ebdcba388..000000000 --- a/src/generated/forge-mcp/emailAuth/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `email-auth_identifier`. - */ -export const email$$auth_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailAuth/spf/outputs.ts b/src/generated/forge-mcp/emailAuth/spf/outputs.ts index 7f2f2e0e9..0e792b80e 100644 --- a/src/generated/forge-mcp/emailAuth/spf/outputs.ts +++ b/src/generated/forge-mcp/emailAuth/spf/outputs.ts @@ -41,7 +41,16 @@ export const email$$auth_SpfComponent: JsonSchema = { "$ref": "#/$defs/email-auth_SpfTree" }, "result": { - "$ref": "#/$defs/email-auth_SpfResult" + "enum": [ + "pass", + "neutral", + "fail", + "soft_fail", + "none", + "temp_error", + "perm_error" + ], + "type": "string" }, "type": { "enum": [ @@ -70,22 +79,6 @@ export const email$$auth_SpfComponent: JsonSchema = { "type": "object" }; -/** - * The schema of `email-auth_SpfResult` in responses. - */ -export const email$$auth_SpfResult: JsonSchema = { - "enum": [ - "pass", - "neutral", - "fail", - "soft_fail", - "none", - "temp_error", - "perm_error" - ], - "type": "string" -}; - /** * The schema of `email-auth_SpfTree` in responses. */ diff --git a/src/generated/forge-mcp/emailAuth/spf/tools.ts b/src/generated/forge-mcp/emailAuth/spf/tools.ts index ed3165c49..c24c8b5cc 100644 --- a/src/generated/forge-mcp/emailAuth/spf/tools.ts +++ b/src/generated/forge-mcp/emailAuth/spf/tools.ts @@ -7,11 +7,9 @@ import { email$$auth_api$$response$$single, email$$auth_messages, } from "../outputs.js"; -import { email$$auth_identifier } from "../schemas.js"; import { email$$auth_InspectError, email$$auth_SpfComponent, - email$$auth_SpfResult, email$$auth_SpfTree, } from "./outputs.js"; @@ -22,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "emailAuth_spf_inspect", title: "Inspect SPF Record", - description: "Inspects a specific SPF TXT record and returns a parsed tree structure\nin the spflimit-worker format.\n\nThe record ID must be provided via the `id` query parameter.\n\nReturns a recursive tree showing:\n- Parsed components with their qualifiers and types\n- Nested includes recursively resolved within components\n- Per-component and total lookup counts\n- Detailed error information with context", + description: "Inspects a specific SPF TXT record and returns a parsed tree structure\nin the spflimit-worker format.\n\nThe record ID must be provided via the `id` query parameter.\n\nReturns a recursive tree showing:\n- Parsed components with their qualifiers and types\n- Nested includes recursively resolved within components\n- Per-component and total lookup counts\n- Detailed error information with context\n\nGET /zones/{zone_id}/email/auth/spf/inspect", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email-auth_identifier", - "description": "Zone identifier." + "description": "Zone identifier.", + "type": "string" } }, "required": [ @@ -39,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "id": { "description": "DNS record ID (rec_tag) to inspect", @@ -55,9 +55,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "email-auth_identifier": email$$auth_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -76,7 +74,6 @@ export const tools: readonly Tool[] = [ $defs: { "email-auth_InspectError": email$$auth_InspectError, "email-auth_SpfComponent": email$$auth_SpfComponent, - "email-auth_SpfResult": email$$auth_SpfResult, "email-auth_SpfTree": email$$auth_SpfTree, "email-auth_api-response-single": email$$auth_api$$response$$single, "email-auth_messages": email$$auth_messages, @@ -115,7 +112,6 @@ export const tools: readonly Tool[] = [ $defs: { "email-auth_InspectError": email$$auth_InspectError, "email-auth_SpfComponent": email$$auth_SpfComponent, - "email-auth_SpfResult": email$$auth_SpfResult, "email-auth_SpfTree": email$$auth_SpfTree, "email-auth_api-response-common-failure": email$$auth_api$$response$$common$$failure, "email-auth_api-response-single": email$$auth_api$$response$$single, diff --git a/src/generated/forge-mcp/emailDomains/outputs.ts b/src/generated/forge-mcp/emailDomains/outputs.ts index 4806dec34..9945c8a75 100644 --- a/src/generated/forge-mcp/emailDomains/outputs.ts +++ b/src/generated/forge-mcp/emailDomains/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../_/tool.js"; export const email_email_domain: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/email_identifier" + "type": "string" }, "claim_release_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/emailDomains/tools.ts b/src/generated/forge-mcp/emailDomains/tools.ts index cbad659bf..ea4262620 100644 --- a/src/generated/forge-mcp/emailDomains/tools.ts +++ b/src/generated/forge-mcp/emailDomains/tools.ts @@ -2,8 +2,6 @@ /* eslint-disable */ import { type Tool, param, pathParam } from "../_/tool.js"; -import { email_identifier } from "../outputs.js"; -import { email_identifier as email_identifier$ } from "../schemas.js"; import { email_email_domain, email_email_domain_capability, @@ -26,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "emailDomains_changes", title: "List Email Domain changes", - description: "Returns retained domain-specific state changes and completed-removal tombstones in a transaction-safe opaque order. The top-level platform field is the current shared gate and must be combined with each domain's state. Store next_cursor after processing every response, and continue immediately while has_more is true. To take a checkpoint, request this operation with modified_since set to the current time, follow has_more to the end, and save the final next_cursor; it replays every change committed after the first of those requests. Initial bootstrap and error 2086 recovery take a checkpoint, list the full inventory, then replay from the saved checkpoint, so changes made during the inventory are not lost. Only a tombstone proves that a domain was removed. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", + description: "Returns retained domain-specific state changes and completed-removal tombstones in a transaction-safe opaque order. The top-level platform field is the current shared gate and must be combined with each domain's state. Store next_cursor after processing every response, and continue immediately while has_more is true. To take a checkpoint, request this operation with modified_since set to the current time, follow has_more to the end, and save the final next_cursor; it replays every change committed after the first of those requests. Initial bootstrap and error 2086 recovery take a checkpoint, list the full inventory, then replay from the saved checkpoint, so changes made during the inventory are not lost. Only a tombstone proves that a domain was removed. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.\n\nGET /accounts/{account_id}/email/domain-changes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -43,6 +42,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque cursor returned by the previous change page. Omit it for the first page.", @@ -65,9 +65,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_email_domain_change_collection_response", @@ -80,7 +78,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_platform_status": email_email_domain_platform_status, "email_email_domain_tombstone": email_email_domain_tombstone, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, annotations: { @@ -133,7 +130,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_platform_status": email_email_domain_platform_status, "email_email_domain_tombstone": email_email_domain_tombstone, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, request: (args) => ({ @@ -148,7 +144,7 @@ export const tools: readonly Tool[] = [ { name: "emailDomains_create", title: "Create an Email Domain", - description: "Creates a candidate and four DNS instructions. Rejects hostnames with more than 16 labels or whose assigned Return-Path exceeds 201 ASCII characters; error 2077 names the hostname rule that failed. Creation follows read-only checks of the saved provider bundle and published exclusion. Hostnames inside an active full Cloudflare DNS zone, including zones under a PSL private suffix such as workers.dev, or held by another enrollment, return the generic hostname conflict error 2083. While an earlier enrollment of this account with the same hostname or client_reference is being deleted, create returns error 2084 with Retry-After set to the expected completion time. 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 2089. A full domain quota returns error 2081 and frees only when domains are deleted or candidates expire, so it is not retryable; the create rate limit returns 429 with error 2088 and Retry-After. Requests rejected before the Cloudflare zone check do not count toward the rate limit. Final public-DNS, namespace protection and runtime readiness are separate gates. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", + description: "Creates a candidate and four DNS instructions. Rejects hostnames with more than 16 labels or whose assigned Return-Path exceeds 201 ASCII characters; error 2077 names the hostname rule that failed. Creation follows read-only checks of the saved provider bundle and published exclusion. Hostnames inside an active full Cloudflare DNS zone, including zones under a PSL private suffix such as workers.dev, or held by another enrollment, return the generic hostname conflict error 2083. While an earlier enrollment of this account with the same hostname or client_reference is being deleted, create returns error 2084 with Retry-After set to the expected completion time. 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 2089. A full domain quota returns error 2081 and frees only when domains are deleted or candidates expire, so it is not retryable; the create rate limit returns 429 with error 2088 and Retry-After. Requests rejected before the Cloudflare zone check do not count toward the rate limit. Final public-DNS, namespace protection and runtime readiness are separate gates. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.\n\nPOST /accounts/{account_id}/email/domains", inputSchema: { type: "object", properties: { @@ -156,10 +152,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_email_domain_create" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -172,9 +169,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email_email_domain_create": email_email_domain_create, - "email_identifier": email_identifier$, }, }, outputSchema: { @@ -185,7 +182,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_dns_record": email_email_domain_dns_record, "email_email_domain_response": email_email_domain_response, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, annotations: { @@ -238,7 +234,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_error_response": email_email_domain_error_response, "email_email_domain_response": email_email_domain_response, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, request: (args) => ({ @@ -249,15 +244,16 @@ export const tools: readonly Tool[] = [ { name: "emailDomains_delete", title: "Delete an Email Domain", - description: "Requires an empty body. Unclaimed, unpublished candidates are removed immediately after token retirement. Acquired or published resources retain deleting state and claims until the deletion worker acknowledges safe revocation and token retirement: deletion completes after the last authorization FWDR may still hold has expired, up to about 31 minutes after the request. Until then the hostname and client_reference cannot be enrolled again. Repeated requests while deleting are idempotent. Retry-After is the expected time until GET returns 404; follow the Location header after it. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", + description: "Requires an empty body. Unclaimed, unpublished candidates are removed immediately after token retirement. Acquired or published resources retain deleting state and claims until the deletion worker acknowledges safe revocation and token retirement: deletion completes after the last authorization FWDR may still hold has expired, up to about 31 minutes after the request. Until then the hostname and client_reference cannot be enrolled again. Repeated requests while deleting are idempotent. Retry-After is the expected time until GET returns 404; follow the Location header after it. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.\n\nDELETE /accounts/{account_id}/email/domains/{email_domain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "email_domain_id": { "format": "uuid", @@ -274,9 +270,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_email_domain_response", @@ -286,7 +280,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_dns_record": email_email_domain_dns_record, "email_email_domain_response": email_email_domain_response, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, annotations: { @@ -336,7 +329,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_error_response": email_email_domain_error_response, "email_email_domain_response": email_email_domain_response, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, request: (args) => ({ @@ -346,15 +338,16 @@ export const tools: readonly Tool[] = [ { name: "emailDomains_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; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", + 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; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.\n\nGET /accounts/{account_id}/email/domains/{email_domain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "email_domain_id": { "format": "uuid", @@ -371,9 +364,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_email_domain_response", @@ -383,7 +374,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_dns_record": email_email_domain_dns_record, "email_email_domain_response": email_email_domain_response, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, annotations: { @@ -430,7 +420,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_error_response": email_email_domain_error_response, "email_email_domain_response": email_email_domain_response, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, request: (args) => ({ @@ -440,15 +429,16 @@ export const tools: readonly Tool[] = [ { name: "emailDomains_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; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", + 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; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.\n\nGET /accounts/{account_id}/email/domains", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -457,6 +447,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque cursor returned by the previous page. Omit it for the first page.", @@ -484,9 +475,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_email_domain_collection_response", @@ -496,7 +485,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_collection_response": email_email_domain_collection_response, "email_email_domain_dns_record": email_email_domain_dns_record, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, annotations: { @@ -543,7 +531,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_dns_record": email_email_domain_dns_record, "email_email_domain_error_response": email_email_domain_error_response, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, request: (args) => ({ @@ -559,15 +546,16 @@ export const tools: readonly Tool[] = [ { name: "emailDomains_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. A repeat within 30 seconds returns error 2082 with the remaining cooldown in Retry-After. Only a request that schedules a check counts toward the account rate limit, error 2088. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.", + 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. A repeat within 30 seconds returns error 2082 with the remaining cooldown in Retry-After. Only a request that schedules a check counts toward the account rate limit, error 2088. Available only to the configured OpenAI pilot account behind a default-off gate; while the gate is off, the pilot account gets 503 with error 2090 and Retry-After, and existing domains are unaffected. Unsupported methods return 405 with error 2091. Authentication failures may use the gateway error envelope.\n\nPOST /accounts/{account_id}/email/domains/{email_domain_id}/verify", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "email_domain_id": { "format": "uuid", @@ -584,9 +572,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_email_domain_response", @@ -596,7 +582,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_dns_record": email_email_domain_dns_record, "email_email_domain_response": email_email_domain_response, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, annotations: { @@ -649,7 +634,6 @@ export const tools: readonly Tool[] = [ "email_email_domain_error_response": email_email_domain_error_response, "email_email_domain_response": email_email_domain_response, "email_email_domain_verification": email_email_domain_verification, - "email_identifier": email_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailRouting/addresses/outputs.ts b/src/generated/forge-mcp/emailRouting/addresses/outputs.ts index e197d014b..897949993 100644 --- a/src/generated/forge-mcp/emailRouting/addresses/outputs.ts +++ b/src/generated/forge-mcp/emailRouting/addresses/outputs.ts @@ -9,34 +9,30 @@ import type { JsonSchema } from "../../_/tool.js"; export const email_addresses: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/email_created" + "format": "date-time", + "type": "string" }, "email": { - "$ref": "#/$defs/email_email" + "type": "string" }, "id": { - "$ref": "#/$defs/email_destination_address_identifier" + "type": "string" }, "modified": { - "$ref": "#/$defs/email_modified" + "format": "date-time", + "type": "string" }, "tag": { - "$ref": "#/$defs/email_destination_address_tag" + "type": "string" }, "verified": { - "$ref": "#/$defs/email_verified" + "format": "date-time", + "type": "string" } }, "type": "object" }; -/** - * The schema of `email_destination_address_identifier` in responses. - */ -export const email_destination_address_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `email_destination_address_response_single` in responses. */ @@ -56,13 +52,6 @@ export const email_destination_address_response_single: JsonSchema = { ] }; -/** - * The schema of `email_destination_address_tag` in responses. - */ -export const email_destination_address_tag: JsonSchema = { - "type": "string" -}; - /** * The schema of `email_destination_addresses_response_collection` in responses. */ @@ -101,18 +90,3 @@ export const email_destination_addresses_response_collection: JsonSchema = { } ] }; - -/** - * The schema of `email_email` in responses. - */ -export const email_email: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `email_verified` in responses. - */ -export const email_verified: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailRouting/addresses/schemas.ts b/src/generated/forge-mcp/emailRouting/addresses/schemas.ts index 784abc936..7b4d2032a 100644 --- a/src/generated/forge-mcp/emailRouting/addresses/schemas.ts +++ b/src/generated/forge-mcp/emailRouting/addresses/schemas.ts @@ -9,8 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const email_create_destination_address_properties: JsonSchema = { "properties": { "email": { - "$ref": "#/$defs/email_email", - "description": "The contact email address of the user." + "description": "The contact email address of the user.", + "type": "string" } }, "required": [ @@ -19,22 +19,6 @@ export const email_create_destination_address_properties: JsonSchema = { "type": "object" }; -/** - * The schema of `email_destination_address_identifier`. - */ -export const email_destination_address_identifier: JsonSchema = { - "description": "Destination address identifier.", - "type": "string" -}; - -/** - * The schema of `email_email`. - */ -export const email_email: JsonSchema = { - "description": "The contact email address of the user.", - "type": "string" -}; - /** * The schema of `email_update_destination_address_properties`. */ diff --git a/src/generated/forge-mcp/emailRouting/addresses/tools.ts b/src/generated/forge-mcp/emailRouting/addresses/tools.ts index e7c59922b..c96bbfe90 100644 --- a/src/generated/forge-mcp/emailRouting/addresses/tools.ts +++ b/src/generated/forge-mcp/emailRouting/addresses/tools.ts @@ -6,24 +6,15 @@ import { email_api$$response$$collection, email_api$$response$$common, email_api$$response$$single, - email_created, email_messages, - email_modified, } from "../../outputs.js"; -import { email_identifier } from "../../schemas.js"; import { email_addresses, - email_destination_address_identifier, email_destination_address_response_single, - email_destination_address_tag, email_destination_addresses_response_collection, - email_email, - email_verified, } from "./outputs.js"; import { email_create_destination_address_properties, - email_destination_address_identifier as email_destination_address_identifier$, - email_email as email_email$, email_update_destination_address_properties, } from "./schemas.js"; @@ -34,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_addresses_create", title: "Create a destination address", - description: "Create a destination address to forward your emails to. Destination addresses need to be verified before they can be used.", + description: "Create a destination address to forward your emails to. Destination addresses need to be verified before they can be used.\n\nPOST /accounts/{account_id}/email/routing/addresses", inputSchema: { type: "object", properties: { @@ -42,10 +33,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_create_destination_address_properties" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -58,10 +50,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email_create_destination_address_properties": email_create_destination_address_properties, - "email_email": email_email$, - "email_identifier": email_identifier, }, }, outputSchema: { @@ -69,14 +60,8 @@ export const tools: readonly Tool[] = [ $defs: { "email_addresses": email_addresses, "email_api-response-single": email_api$$response$$single, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, "email_destination_address_response_single": email_destination_address_response_single, - "email_destination_address_tag": email_destination_address_tag, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, annotations: { @@ -114,14 +99,8 @@ export const tools: readonly Tool[] = [ $defs: { "email_addresses": email_addresses, "email_api-response-single": email_api$$response$$single, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, "email_destination_address_response_single": email_destination_address_response_single, - "email_destination_address_tag": email_destination_address_tag, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, request: (args) => ({ @@ -132,19 +111,20 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_addresses_delete", title: "Delete destination address", - description: "Deletes a specific destination address.\n\nConfirm with the user before calling this tool. This operation permanently deletes a destination address.", + description: "Deletes a specific destination address.\n\nConfirm with the user before calling this tool. This operation permanently deletes a destination address.\n\nDELETE /accounts/{account_id}/email/routing/addresses/{destination_address_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "destination_address_identifier": { - "$ref": "#/$defs/email_destination_address_identifier", - "description": "Destination address identifier." + "description": "Destination address identifier.", + "type": "string" } }, "required": [ @@ -157,24 +137,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_destination_address_identifier": email_destination_address_identifier$, - "email_identifier": email_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_destination_address_response_single", $defs: { "email_addresses": email_addresses, "email_api-response-single": email_api$$response$$single, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, "email_destination_address_response_single": email_destination_address_response_single, - "email_destination_address_tag": email_destination_address_tag, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, annotations: { @@ -212,14 +183,8 @@ export const tools: readonly Tool[] = [ $defs: { "email_addresses": email_addresses, "email_api-response-single": email_api$$response$$single, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, "email_destination_address_response_single": email_destination_address_response_single, - "email_destination_address_tag": email_destination_address_tag, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, request: (args) => ({ @@ -229,19 +194,20 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_addresses_get", title: "Get a destination address", - description: "Gets information for a specific destination email already created.", + description: "Gets information for a specific destination email already created.\n\nGET /accounts/{account_id}/email/routing/addresses/{destination_address_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "destination_address_identifier": { - "$ref": "#/$defs/email_destination_address_identifier", - "description": "Destination address identifier." + "description": "Destination address identifier.", + "type": "string" } }, "required": [ @@ -254,24 +220,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_destination_address_identifier": email_destination_address_identifier$, - "email_identifier": email_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_destination_address_response_single", $defs: { "email_addresses": email_addresses, "email_api-response-single": email_api$$response$$single, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, "email_destination_address_response_single": email_destination_address_response_single, - "email_destination_address_tag": email_destination_address_tag, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, annotations: { @@ -310,14 +267,8 @@ export const tools: readonly Tool[] = [ $defs: { "email_addresses": email_addresses, "email_api-response-single": email_api$$response$$single, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, "email_destination_address_response_single": email_destination_address_response_single, - "email_destination_address_tag": email_destination_address_tag, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, request: (args) => ({ @@ -327,15 +278,16 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_addresses_list", title: "List destination addresses", - description: "Lists destination addresses configured for Email Routing in an account.", + description: "Lists destination addresses configured for Email Routing in an account.\n\nGET /accounts/{account_id}/email/routing/addresses", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -344,6 +296,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -380,9 +333,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_destination_addresses_response_collection", @@ -390,14 +341,8 @@ export const tools: readonly Tool[] = [ "email_addresses": email_addresses, "email_api-response-collection": email_api$$response$$collection, "email_api-response-common": email_api$$response$$common, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, - "email_destination_address_tag": email_destination_address_tag, "email_destination_addresses_response_collection": email_destination_addresses_response_collection, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, annotations: { @@ -437,14 +382,8 @@ export const tools: readonly Tool[] = [ "email_addresses": email_addresses, "email_api-response-collection": email_api$$response$$collection, "email_api-response-common": email_api$$response$$common, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, - "email_destination_address_tag": email_destination_address_tag, "email_destination_addresses_response_collection": email_destination_addresses_response_collection, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, request: (args) => ({ @@ -460,7 +399,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_addresses_update", title: "Update destination address", - description: "Updates the status of a specific destination address.", + description: "Updates the status of a specific destination address.\n\nPATCH /accounts/{account_id}/email/routing/addresses/{destination_address_identifier}", inputSchema: { type: "object", properties: { @@ -468,14 +407,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_update_destination_address_properties" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "destination_address_identifier": { - "$ref": "#/$defs/email_destination_address_identifier", - "description": "Destination address identifier." + "description": "Destination address identifier.", + "type": "string" } }, "required": [ @@ -489,9 +429,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email_destination_address_identifier": email_destination_address_identifier$, - "email_identifier": email_identifier, "email_update_destination_address_properties": email_update_destination_address_properties, }, }, @@ -500,14 +439,8 @@ export const tools: readonly Tool[] = [ $defs: { "email_addresses": email_addresses, "email_api-response-single": email_api$$response$$single, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, "email_destination_address_response_single": email_destination_address_response_single, - "email_destination_address_tag": email_destination_address_tag, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, annotations: { @@ -545,14 +478,8 @@ export const tools: readonly Tool[] = [ $defs: { "email_addresses": email_addresses, "email_api-response-single": email_api$$response$$single, - "email_created": email_created, - "email_destination_address_identifier": email_destination_address_identifier, "email_destination_address_response_single": email_destination_address_response_single, - "email_destination_address_tag": email_destination_address_tag, - "email_email": email_email, "email_messages": email_messages, - "email_modified": email_modified, - "email_verified": email_verified, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailRouting/dns/tools.ts b/src/generated/forge-mcp/emailRouting/dns/tools.ts index eea947941..21cb8b192 100644 --- a/src/generated/forge-mcp/emailRouting/dns/tools.ts +++ b/src/generated/forge-mcp/emailRouting/dns/tools.ts @@ -10,24 +10,11 @@ import { email_dns_settings_response_collection, email_messages, } from "../../outputs.js"; -import { email_identifier } from "../../schemas.js"; import { - email_email_setting_created, - email_email_setting_enabled, - email_email_setting_identifier, - email_email_setting_modified, - email_email_setting_name, - email_email_setting_skip$$wizard, - email_email_setting_status, - email_email_setting_support_subaddress, - email_email_setting_tag, email_email_settings_response_single, email_settings, } from "../outputs.js"; -import { - email_email_setting_dns_request_body, - email_email_setting_name as email_email_setting_name$, -} from "../schemas.js"; +import { email_email_setting_dns_request_body } from "../schemas.js"; /** * The tools of `emailRouting.dns`. @@ -36,15 +23,16 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_dns_get", title: "Email Routing - DNS settings", - description: "Show the DNS records needed to configure your Email Routing zone.", + description: "Show the DNS records needed to configure your Email Routing zone.\n\nGET /zones/{zone_id}/email/routing/dns", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -53,11 +41,12 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "subdomain": { - "$ref": "#/$defs/email_email_setting_name", "deprecated": true, - "description": "Deprecated. When supplied, the response shape differs from the documented default and is not modeled in generated SDKs. Do not rely on this parameter." + "description": "Deprecated. When supplied, the response shape differs from the documented default and is not modeled in generated SDKs. Do not rely on this parameter.", + "type": "string" } }, "type": "object" @@ -66,10 +55,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_email_setting_name": email_email_setting_name$, - "email_identifier": email_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_dns_settings_response_collection", @@ -132,7 +118,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_dns_unlock", title: "Unlock Email Routing DNS records", - description: "Unlock MX Records previously locked by Email Routing.", + description: "Unlock MX Records previously locked by Email Routing.\n\nPATCH /zones/{zone_id}/email/routing/dns", inputSchema: { type: "object", properties: { @@ -140,10 +126,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_email_setting_dns_request_body" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -155,25 +142,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "email_email_setting_dns_request_body": email_email_setting_dns_request_body, - "email_email_setting_name": email_email_setting_name$, - "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, @@ -213,15 +190,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, diff --git a/src/generated/forge-mcp/emailRouting/outputs.ts b/src/generated/forge-mcp/emailRouting/outputs.ts index f4b3c7d3a..c7d9c77fe 100644 --- a/src/generated/forge-mcp/emailRouting/outputs.ts +++ b/src/generated/forge-mcp/emailRouting/outputs.ts @@ -3,90 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `email_email_setting_created` in responses. - */ -export const email_email_setting_created: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `email_email_setting_enabled` in responses. - */ -export const email_email_setting_enabled: JsonSchema = { - "enum": [ - true, - false - ], - "type": "boolean" -}; - -/** - * The schema of `email_email_setting_identifier` in responses. - */ -export const email_email_setting_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `email_email_setting_modified` in responses. - */ -export const email_email_setting_modified: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `email_email_setting_name` in responses. - */ -export const email_email_setting_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `email_email_setting_skip-wizard` in responses. - */ -export const email_email_setting_skip$$wizard: JsonSchema = { - "enum": [ - true, - false - ], - "type": "boolean" -}; - -/** - * The schema of `email_email_setting_status` in responses. - */ -export const email_email_setting_status: JsonSchema = { - "enum": [ - "ready", - "unconfigured", - "misconfigured", - "misconfigured/locked", - "unlocked" - ], - "type": "string" -}; - -/** - * The schema of `email_email_setting_support_subaddress` in responses. - */ -export const email_email_setting_support_subaddress: JsonSchema = { - "enum": [ - true, - false - ], - "type": "boolean" -}; - -/** - * The schema of `email_email_setting_tag` in responses. - */ -export const email_email_setting_tag: JsonSchema = { - "type": "string" -}; - /** * The schema of `email_email_settings_response_single` in responses. */ @@ -112,31 +28,52 @@ export const email_email_settings_response_single: JsonSchema = { export const email_settings: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/email_email_setting_created" + "format": "date-time", + "type": "string" }, "enabled": { - "$ref": "#/$defs/email_email_setting_enabled" + "enum": [ + true, + false + ], + "type": "boolean" }, "id": { - "$ref": "#/$defs/email_email_setting_identifier" + "type": "string" }, "modified": { - "$ref": "#/$defs/email_email_setting_modified" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/email_email_setting_name" + "type": "string" }, "skip_wizard": { - "$ref": "#/$defs/email_email_setting_skip-wizard" + "enum": [ + true, + false + ], + "type": "boolean" }, "status": { - "$ref": "#/$defs/email_email_setting_status" + "enum": [ + "ready", + "unconfigured", + "misconfigured", + "misconfigured/locked", + "unlocked" + ], + "type": "string" }, "support_subaddress": { - "$ref": "#/$defs/email_email_setting_support_subaddress" + "enum": [ + true, + false + ], + "type": "boolean" }, "tag": { - "$ref": "#/$defs/email_email_setting_tag" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts b/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts index 4b49f284f..b828df31a 100644 --- a/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts +++ b/src/generated/forge-mcp/emailRouting/rules/catchAll/outputs.ts @@ -12,22 +12,30 @@ export const email_catch_all_rule: JsonSchema = { "$ref": "#/$defs/email_rule_catchall-actions" }, "enabled": { - "$ref": "#/$defs/email_rule_enabled" + "enum": [ + true, + false + ], + "type": "boolean" }, "id": { - "$ref": "#/$defs/email_rule_identifier" + "type": "string" }, "matchers": { "$ref": "#/$defs/email_rule_catchall-matchers" }, "name": { - "$ref": "#/$defs/email_rule_name" + "type": "string" }, "source": { - "$ref": "#/$defs/email_rule_source" + "enum": [ + "api", + "wrangler" + ], + "type": "string" }, "tag": { - "$ref": "#/$defs/email_rule_tag" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/emailRouting/rules/catchAll/schemas.ts b/src/generated/forge-mcp/emailRouting/rules/catchAll/schemas.ts index 2390eb5d2..51988fe48 100644 --- a/src/generated/forge-mcp/emailRouting/rules/catchAll/schemas.ts +++ b/src/generated/forge-mcp/emailRouting/rules/catchAll/schemas.ts @@ -13,26 +13,34 @@ export const email_update_catch_all_rule_properties: JsonSchema = { "description": "List actions for the catch-all routing rule." }, "enabled": { - "$ref": "#/$defs/email_rule_enabled", "default": true, - "description": "Routing rule status." + "description": "Routing rule status.", + "enum": [ + true, + false + ], + "type": "boolean" }, "matchers": { "$ref": "#/$defs/email_rule_catchall-matchers", "description": "List of matchers for the catch-all routing rule." }, "name": { - "$ref": "#/$defs/email_rule_name", - "description": "Routing rule name." + "description": "Routing rule name.", + "type": "string" }, "owner_worker_tag": { - "$ref": "#/$defs/email_rule_owner_worker_tag", - "description": "Public tag (script_tag) of the Worker that owns this rule. Required when\n`source` is `wrangler`.\n" + "description": "Public tag (script_tag) of the Worker that owns this rule. Required when\n`source` is `wrangler`.", + "type": "string" }, "source": { - "$ref": "#/$defs/email_rule_source", "default": "api", - "description": "Who manages the rule. `api` covers dashboard, generic API, and Terraform;\n`wrangler` means the rule is managed by a Worker's wrangler.jsonc. Defaults\nto `api` when omitted on write.\n" + "description": "Who manages the rule. `api` covers dashboard, generic API, and Terraform;\n`wrangler` means the rule is managed by a Worker's wrangler.jsonc. Defaults\nto `api` when omitted on write.", + "enum": [ + "api", + "wrangler" + ], + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts b/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts index 997bdf026..077cc9e5f 100644 --- a/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts +++ b/src/generated/forge-mcp/emailRouting/rules/catchAll/tools.ts @@ -6,27 +6,17 @@ import { email_api$$response$$single, email_messages, } from "../../../outputs.js"; -import { email_identifier } from "../../../schemas.js"; import { email_rule_catchall$$action, email_rule_catchall$$actions, email_rule_catchall$$matcher, email_rule_catchall$$matchers, - email_rule_enabled, - email_rule_identifier, - email_rule_name, - email_rule_source, - email_rule_tag, } from "../outputs.js"; import { email_rule_catchall$$action as email_rule_catchall$$action$, email_rule_catchall$$actions as email_rule_catchall$$actions$, email_rule_catchall$$matcher as email_rule_catchall$$matcher$, email_rule_catchall$$matchers as email_rule_catchall$$matchers$, - email_rule_enabled as email_rule_enabled$, - email_rule_name as email_rule_name$, - email_rule_owner_worker_tag, - email_rule_source as email_rule_source$, } from "../schemas.js"; import { email_catch_all_rule, @@ -41,15 +31,16 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_rules_catchAll_get", title: "Get catch-all rule", - description: "Get information on the default catch-all routing rule.", + description: "Get information on the default catch-all routing rule.\n\nGET /zones/{zone_id}/email/routing/rules/catch_all", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -61,9 +52,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_catch_all_rule_response_single", @@ -76,11 +65,6 @@ export const tools: readonly Tool[] = [ "email_rule_catchall-actions": email_rule_catchall$$actions, "email_rule_catchall-matcher": email_rule_catchall$$matcher, "email_rule_catchall-matchers": email_rule_catchall$$matchers, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, - "email_rule_name": email_rule_name, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, }, }, annotations: { @@ -125,11 +109,6 @@ export const tools: readonly Tool[] = [ "email_rule_catchall-actions": email_rule_catchall$$actions, "email_rule_catchall-matcher": email_rule_catchall$$matcher, "email_rule_catchall-matchers": email_rule_catchall$$matchers, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, - "email_rule_name": email_rule_name, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, }, }, request: (args) => ({ @@ -139,7 +118,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_rules_catchAll_update", title: "Update catch-all rule", - description: "Enable or disable catch-all routing rule, or change action to forward to a specific destination address. Forward actions require exactly one verified destination address.", + description: "Enable or disable catch-all routing rule, or change action to forward to a specific destination address. Forward actions require exactly one verified destination address.\n\nPUT /zones/{zone_id}/email/routing/rules/catch_all", inputSchema: { type: "object", properties: { @@ -147,10 +126,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_update_catch_all_rule_properties" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -163,16 +143,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email_identifier": email_identifier, "email_rule_catchall-action": email_rule_catchall$$action$, "email_rule_catchall-actions": email_rule_catchall$$actions$, "email_rule_catchall-matcher": email_rule_catchall$$matcher$, "email_rule_catchall-matchers": email_rule_catchall$$matchers$, - "email_rule_enabled": email_rule_enabled$, - "email_rule_name": email_rule_name$, - "email_rule_owner_worker_tag": email_rule_owner_worker_tag, - "email_rule_source": email_rule_source$, "email_update_catch_all_rule_properties": email_update_catch_all_rule_properties, }, }, @@ -187,11 +163,6 @@ export const tools: readonly Tool[] = [ "email_rule_catchall-actions": email_rule_catchall$$actions, "email_rule_catchall-matcher": email_rule_catchall$$matcher, "email_rule_catchall-matchers": email_rule_catchall$$matchers, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, - "email_rule_name": email_rule_name, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, }, }, annotations: { @@ -236,11 +207,6 @@ export const tools: readonly Tool[] = [ "email_rule_catchall-actions": email_rule_catchall$$actions, "email_rule_catchall-matcher": email_rule_catchall$$matcher, "email_rule_catchall-matchers": email_rule_catchall$$matchers, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, - "email_rule_name": email_rule_name, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailRouting/rules/outputs.ts b/src/generated/forge-mcp/emailRouting/rules/outputs.ts index 1472fe141..2e98b3297 100644 --- a/src/generated/forge-mcp/emailRouting/rules/outputs.ts +++ b/src/generated/forge-mcp/emailRouting/rules/outputs.ts @@ -78,10 +78,14 @@ export const email_account_rules_plan_remote_rule: JsonSchema = { "$ref": "#/$defs/email_rule_actions" }, "enabled": { - "$ref": "#/$defs/email_rule_enabled" + "enum": [ + true, + false + ], + "type": "boolean" }, "id": { - "$ref": "#/$defs/email_rule_identifier" + "type": "string" }, "matchers": { "$ref": "#/$defs/email_rule_matchers" @@ -90,7 +94,11 @@ export const email_account_rules_plan_remote_rule: JsonSchema = { "type": "string" }, "source": { - "$ref": "#/$defs/email_rule_source" + "enum": [ + "api", + "wrangler" + ], + "type": "string" } }, "type": "object" @@ -127,7 +135,7 @@ export const email_account_rules_plan_zone: JsonSchema = { "type": "array" }, "zone_id": { - "$ref": "#/$defs/email_identifier" + "type": "string" }, "zone_name": { "type": "string" @@ -281,24 +289,6 @@ export const email_rule_catchall$$matchers: JsonSchema = { "type": "array" }; -/** - * The schema of `email_rule_enabled` in responses. - */ -export const email_rule_enabled: JsonSchema = { - "enum": [ - true, - false - ], - "type": "boolean" -}; - -/** - * The schema of `email_rule_identifier` in responses. - */ -export const email_rule_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `email_rule_matcher` in responses. */ @@ -337,20 +327,6 @@ export const email_rule_matchers: JsonSchema = { "type": "array" }; -/** - * The schema of `email_rule_name` in responses. - */ -export const email_rule_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `email_rule_priority` in responses. - */ -export const email_rule_priority: JsonSchema = { - "type": "number" -}; - /** * The schema of `email_rule_properties` in responses. */ @@ -360,25 +336,33 @@ export const email_rule_properties: JsonSchema = { "$ref": "#/$defs/email_rule_actions" }, "enabled": { - "$ref": "#/$defs/email_rule_enabled" + "enum": [ + true, + false + ], + "type": "boolean" }, "id": { - "$ref": "#/$defs/email_rule_identifier" + "type": "string" }, "matchers": { "$ref": "#/$defs/email_rule_matchers" }, "name": { - "$ref": "#/$defs/email_rule_name" + "type": "string" }, "priority": { - "$ref": "#/$defs/email_rule_priority" + "type": "number" }, "source": { - "$ref": "#/$defs/email_rule_source" + "enum": [ + "api", + "wrangler" + ], + "type": "string" }, "tag": { - "$ref": "#/$defs/email_rule_tag" + "type": "string" } }, "type": "object" @@ -403,24 +387,6 @@ export const email_rule_response_single: JsonSchema = { ] }; -/** - * The schema of `email_rule_source` in responses. - */ -export const email_rule_source: JsonSchema = { - "enum": [ - "api", - "wrangler" - ], - "type": "string" -}; - -/** - * The schema of `email_rule_tag` in responses. - */ -export const email_rule_tag: JsonSchema = { - "type": "string" -}; - /** * The schema of `email_rules` in responses. */ @@ -430,25 +396,33 @@ export const email_rules: JsonSchema = { "$ref": "#/$defs/email_rule_actions" }, "enabled": { - "$ref": "#/$defs/email_rule_enabled" + "enum": [ + true, + false + ], + "type": "boolean" }, "id": { - "$ref": "#/$defs/email_rule_identifier" + "type": "string" }, "matchers": { "$ref": "#/$defs/email_rule_matchers" }, "name": { - "$ref": "#/$defs/email_rule_name" + "type": "string" }, "priority": { - "$ref": "#/$defs/email_rule_priority" + "type": "number" }, "source": { - "$ref": "#/$defs/email_rule_source" + "enum": [ + "api", + "wrangler" + ], + "type": "string" }, "tag": { - "$ref": "#/$defs/email_rule_tag" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/emailRouting/rules/schemas.ts b/src/generated/forge-mcp/emailRouting/rules/schemas.ts index 5a2cb873c..51b4f170f 100644 --- a/src/generated/forge-mcp/emailRouting/rules/schemas.ts +++ b/src/generated/forge-mcp/emailRouting/rules/schemas.ts @@ -33,9 +33,13 @@ export const email_account_rules_plan_catch_all_rule: JsonSchema = { "description": "List actions for the catch-all routing rule." }, "enabled": { - "$ref": "#/$defs/email_rule_enabled", "default": true, - "description": "Routing rule status." + "description": "Routing rule status.", + "enum": [ + true, + false + ], + "type": "boolean" }, "matchers": { "$ref": "#/$defs/email_rule_catchall-matchers", @@ -62,8 +66,8 @@ export const email_account_rules_plan_request: JsonSchema = { "type": "array" }, "owner_worker_tag": { - "$ref": "#/$defs/email_rule_owner_worker_tag", - "description": "Public tag (script_tag) of the Worker that owns this rule. Required when\n`source` is `wrangler`.\n" + "description": "Public tag (script_tag) of the Worker that owns this rule. Required when\n`source` is `wrangler`.", + "type": "string" }, "rules": { "description": "Desired normal Email Routing rules managed by the deploying Worker.", @@ -89,9 +93,13 @@ export const email_account_rules_plan_rule: JsonSchema = { "description": "List actions patterns." }, "enabled": { - "$ref": "#/$defs/email_rule_enabled", "default": true, - "description": "Routing rule status." + "description": "Routing rule status.", + "enum": [ + true, + false + ], + "type": "boolean" }, "matchers": { "$ref": "#/$defs/email_rule_matchers", @@ -115,31 +123,39 @@ export const email_create_rule_properties: JsonSchema = { "description": "List actions patterns." }, "enabled": { - "$ref": "#/$defs/email_rule_enabled", "default": true, - "description": "Routing rule status." + "description": "Routing rule status.", + "enum": [ + true, + false + ], + "type": "boolean" }, "matchers": { "$ref": "#/$defs/email_rule_matchers", "description": "Matching patterns to forward to your actions." }, "name": { - "$ref": "#/$defs/email_rule_name", - "description": "Routing rule name." + "description": "Routing rule name.", + "type": "string" }, "owner_worker_tag": { - "$ref": "#/$defs/email_rule_owner_worker_tag", - "description": "Public tag (script_tag) of the Worker that owns this rule. Required when\n`source` is `wrangler`.\n" + "description": "Public tag (script_tag) of the Worker that owns this rule. Required when\n`source` is `wrangler`.", + "type": "string" }, "priority": { - "$ref": "#/$defs/email_rule_priority", "default": 0, - "description": "Priority of the routing rule." + "description": "Priority of the routing rule.", + "type": "number" }, "source": { - "$ref": "#/$defs/email_rule_source", "default": "api", - "description": "Who manages the rule. `api` covers dashboard, generic API, and Terraform;\n`wrangler` means the rule is managed by a Worker's wrangler.jsonc. Defaults\nto `api` when omitted on write.\n" + "description": "Who manages the rule. `api` covers dashboard, generic API, and Terraform;\n`wrangler` means the rule is managed by a Worker's wrangler.jsonc. Defaults\nto `api` when omitted on write.", + "enum": [ + "api", + "wrangler" + ], + "type": "string" } }, "required": [ @@ -266,26 +282,6 @@ export const email_rule_catchall$$matchers: JsonSchema = { "type": "array" }; -/** - * The schema of `email_rule_enabled`. - */ -export const email_rule_enabled: JsonSchema = { - "description": "Routing rule status.", - "enum": [ - true, - false - ], - "type": "boolean" -}; - -/** - * The schema of `email_rule_identifier`. - */ -export const email_rule_identifier: JsonSchema = { - "description": "Routing rule identifier.", - "type": "string" -}; - /** * The schema of `email_rule_matcher`. */ @@ -329,42 +325,6 @@ export const email_rule_matchers: JsonSchema = { "type": "array" }; -/** - * The schema of `email_rule_name`. - */ -export const email_rule_name: JsonSchema = { - "description": "Routing rule name.", - "type": "string" -}; - -/** - * The schema of `email_rule_owner_worker_tag`. - */ -export const email_rule_owner_worker_tag: JsonSchema = { - "description": "Public tag (script_tag) of the Worker that owns this rule. Required when\n`source` is `wrangler`.\n", - "type": "string" -}; - -/** - * The schema of `email_rule_priority`. - */ -export const email_rule_priority: JsonSchema = { - "description": "Priority of the routing rule.", - "type": "number" -}; - -/** - * The schema of `email_rule_source`. - */ -export const email_rule_source: JsonSchema = { - "description": "Who manages the rule. `api` covers dashboard, generic API, and Terraform;\n`wrangler` means the rule is managed by a Worker's wrangler.jsonc. Defaults\nto `api` when omitted on write.\n", - "enum": [ - "api", - "wrangler" - ], - "type": "string" -}; - /** * The schema of `email_update_rule_properties`. */ @@ -375,31 +335,39 @@ export const email_update_rule_properties: JsonSchema = { "description": "List actions patterns." }, "enabled": { - "$ref": "#/$defs/email_rule_enabled", "default": true, - "description": "Routing rule status." + "description": "Routing rule status.", + "enum": [ + true, + false + ], + "type": "boolean" }, "matchers": { "$ref": "#/$defs/email_rule_matchers", "description": "Matching patterns to forward to your actions." }, "name": { - "$ref": "#/$defs/email_rule_name", - "description": "Routing rule name." + "description": "Routing rule name.", + "type": "string" }, "owner_worker_tag": { - "$ref": "#/$defs/email_rule_owner_worker_tag", - "description": "Public tag (script_tag) of the Worker that owns this rule. Required when\n`source` is `wrangler`.\n" + "description": "Public tag (script_tag) of the Worker that owns this rule. Required when\n`source` is `wrangler`.", + "type": "string" }, "priority": { - "$ref": "#/$defs/email_rule_priority", "default": 0, - "description": "Priority of the routing rule." + "description": "Priority of the routing rule.", + "type": "number" }, "source": { - "$ref": "#/$defs/email_rule_source", "default": "api", - "description": "Who manages the rule. `api` covers dashboard, generic API, and Terraform;\n`wrangler` means the rule is managed by a Worker's wrangler.jsonc. Defaults\nto `api` when omitted on write.\n" + "description": "Who manages the rule. `api` covers dashboard, generic API, and Terraform;\n`wrangler` means the rule is managed by a Worker's wrangler.jsonc. Defaults\nto `api` when omitted on write.", + "enum": [ + "api", + "wrangler" + ], + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/emailRouting/rules/tools.ts b/src/generated/forge-mcp/emailRouting/rules/tools.ts index 1f87e6be0..63f9be00d 100644 --- a/src/generated/forge-mcp/emailRouting/rules/tools.ts +++ b/src/generated/forge-mcp/emailRouting/rules/tools.ts @@ -6,10 +6,8 @@ import { email_api$$response$$collection, email_api$$response$$common, email_api$$response$$single, - email_identifier, email_messages, } from "../../outputs.js"; -import { email_identifier as email_identifier$ } from "../../schemas.js"; import { email_account_rule, email_account_rules_plan, @@ -20,16 +18,10 @@ import { email_account_rules_response_collection, email_rule_action, email_rule_actions, - email_rule_enabled, - email_rule_identifier, email_rule_matcher, email_rule_matchers, - email_rule_name, - email_rule_priority, email_rule_properties, email_rule_response_single, - email_rule_source, - email_rule_tag, email_rules, } from "./outputs.js"; import { @@ -44,14 +36,8 @@ import { email_rule_catchall$$actions, email_rule_catchall$$matcher, email_rule_catchall$$matchers, - email_rule_enabled as email_rule_enabled$, - email_rule_identifier as email_rule_identifier$, email_rule_matcher as email_rule_matcher$, email_rule_matchers as email_rule_matchers$, - email_rule_name as email_rule_name$, - email_rule_owner_worker_tag, - email_rule_priority as email_rule_priority$, - email_rule_source as email_rule_source$, email_update_rule_properties, } from "./schemas.js"; @@ -62,7 +48,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_rules_create", title: "Create routing rule", - description: "Rules consist of a set of criteria for matching emails (such as an email being sent to a specific custom email address) plus a set of actions to take on the email (like forwarding it to a specific destination address). Forward actions require exactly one verified destination address.", + description: "Rules consist of a set of criteria for matching emails (such as an email being sent to a specific custom email address) plus a set of actions to take on the email (like forwarding it to a specific destination address). Forward actions require exactly one verified destination address.\n\nPOST /zones/{zone_id}/email/routing/rules", inputSchema: { type: "object", properties: { @@ -70,10 +56,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_create_rule_properties" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -86,18 +73,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email_create_rule_properties": email_create_rule_properties, - "email_identifier": email_identifier$, "email_rule_action": email_rule_action$, "email_rule_actions": email_rule_actions$, - "email_rule_enabled": email_rule_enabled$, "email_rule_matcher": email_rule_matcher$, "email_rule_matchers": email_rule_matchers$, - "email_rule_name": email_rule_name$, - "email_rule_owner_worker_tag": email_rule_owner_worker_tag, - "email_rule_priority": email_rule_priority$, - "email_rule_source": email_rule_source$, }, }, outputSchema: { @@ -107,15 +89,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_response_single": email_rule_response_single, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, "email_rules": email_rules, }, }, @@ -157,15 +133,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_response_single": email_rule_response_single, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, "email_rules": email_rules, }, }, @@ -177,19 +147,20 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_rules_delete", title: "Delete routing rule", - description: "Deletes a routing rule so matching incoming messages are no longer forwarded by it.\n\nConfirm with the user before calling this tool. This operation permanently deletes an Email Routing rule.", + description: "Deletes a routing rule so matching incoming messages are no longer forwarded by it.\n\nConfirm with the user before calling this tool. This operation permanently deletes an Email Routing rule.\n\nDELETE /zones/{zone_id}/email/routing/rules/{rule_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "rule_identifier": { - "$ref": "#/$defs/email_rule_identifier", - "description": "Routing rule identifier." + "description": "Routing rule identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -202,10 +173,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier$, - "email_rule_identifier": email_rule_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_rule_response_single", @@ -214,15 +182,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_response_single": email_rule_response_single, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, "email_rules": email_rules, }, }, @@ -263,15 +225,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_response_single": email_rule_response_single, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, "email_rules": email_rules, }, }, @@ -282,19 +238,20 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_rules_get", title: "Get routing rule", - description: "Get information for a specific routing rule already created.", + description: "Get information for a specific routing rule already created.\n\nGET /zones/{zone_id}/email/routing/rules/{rule_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "rule_identifier": { - "$ref": "#/$defs/email_rule_identifier", - "description": "Routing rule identifier." + "description": "Routing rule identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -307,10 +264,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier$, - "email_rule_identifier": email_rule_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_rule_response_single", @@ -319,15 +273,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_response_single": email_rule_response_single, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, "email_rules": email_rules, }, }, @@ -369,15 +317,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_response_single": email_rule_response_single, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, "email_rules": email_rules, }, }, @@ -388,11 +330,12 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_rules_listAccount", title: "List account or zone routing rules", - description: "Lists existing routing rules across all zones in the account or zone.", + description: "Lists existing routing rules across all zones in the account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/email/routing/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -403,8 +346,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -414,6 +357,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "enabled": { "description": "Filter by enabled routing rules.", @@ -440,9 +384,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_account_rules_response_collection", @@ -454,15 +396,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_properties": email_rule_properties, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, }, }, annotations: { @@ -498,15 +434,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_properties": email_rule_properties, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, }, }, request: (args) => ({ @@ -521,7 +451,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_rules_plan", title: "Plan account routing rule changes", - description: "Computes the Email Routing rule changes that would be needed to reconcile a Wrangler-managed desired ruleset. This endpoint is read-only and does not create, update, or delete rules.", + description: "Computes the Email Routing rule changes that would be needed to reconcile a Wrangler-managed desired ruleset. This endpoint is read-only and does not create, update, or delete rules.\n\nPOST /accounts/{account_id}/email/routing/rules/plan", inputSchema: { type: "object", properties: { @@ -529,10 +459,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_account_rules_plan_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -545,22 +476,20 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email_account_rules_plan_catch_all_entry": email_account_rules_plan_catch_all_entry, "email_account_rules_plan_catch_all_rule": email_account_rules_plan_catch_all_rule, "email_account_rules_plan_request": email_account_rules_plan_request, "email_account_rules_plan_rule": email_account_rules_plan_rule, - "email_identifier": email_identifier$, "email_rule_action": email_rule_action$, "email_rule_actions": email_rule_actions$, "email_rule_catchall-action": email_rule_catchall$$action, "email_rule_catchall-actions": email_rule_catchall$$actions, "email_rule_catchall-matcher": email_rule_catchall$$matcher, "email_rule_catchall-matchers": email_rule_catchall$$matchers, - "email_rule_enabled": email_rule_enabled$, "email_rule_matcher": email_rule_matcher$, "email_rule_matchers": email_rule_matchers$, - "email_rule_owner_worker_tag": email_rule_owner_worker_tag, }, }, outputSchema: { @@ -572,15 +501,11 @@ export const tools: readonly Tool[] = [ "email_account_rules_plan_response_single": email_account_rules_plan_response_single, "email_account_rules_plan_zone": email_account_rules_plan_zone, "email_api-response-single": email_api$$response$$single, - "email_identifier": email_identifier, "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_source": email_rule_source, }, }, annotations: { @@ -617,15 +542,11 @@ export const tools: readonly Tool[] = [ "email_account_rules_plan_response_single": email_account_rules_plan_response_single, "email_account_rules_plan_zone": email_account_rules_plan_zone, "email_api-response-single": email_api$$response$$single, - "email_identifier": email_identifier, "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_source": email_rule_source, }, }, request: (args) => ({ @@ -636,7 +557,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_rules_update", title: "Update routing rule", - description: "Update actions and matches, or enable/disable specific routing rules. Forward actions require exactly one verified destination address.", + description: "Update actions and matches, or enable/disable specific routing rules. Forward actions require exactly one verified destination address.\n\nPUT /zones/{zone_id}/email/routing/rules/{rule_identifier}", inputSchema: { type: "object", properties: { @@ -644,14 +565,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_update_rule_properties" }, "path": { + "additionalProperties": false, "properties": { "rule_identifier": { - "$ref": "#/$defs/email_rule_identifier", - "description": "Routing rule identifier." + "description": "Routing rule identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -665,18 +587,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email_identifier": email_identifier$, "email_rule_action": email_rule_action$, "email_rule_actions": email_rule_actions$, - "email_rule_enabled": email_rule_enabled$, - "email_rule_identifier": email_rule_identifier$, "email_rule_matcher": email_rule_matcher$, "email_rule_matchers": email_rule_matchers$, - "email_rule_name": email_rule_name$, - "email_rule_owner_worker_tag": email_rule_owner_worker_tag, - "email_rule_priority": email_rule_priority$, - "email_rule_source": email_rule_source$, "email_update_rule_properties": email_update_rule_properties, }, }, @@ -687,15 +603,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_response_single": email_rule_response_single, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, "email_rules": email_rules, }, }, @@ -737,15 +647,9 @@ export const tools: readonly Tool[] = [ "email_messages": email_messages, "email_rule_action": email_rule_action, "email_rule_actions": email_rule_actions, - "email_rule_enabled": email_rule_enabled, - "email_rule_identifier": email_rule_identifier, "email_rule_matcher": email_rule_matcher, "email_rule_matchers": email_rule_matchers, - "email_rule_name": email_rule_name, - "email_rule_priority": email_rule_priority, "email_rule_response_single": email_rule_response_single, - "email_rule_source": email_rule_source, - "email_rule_tag": email_rule_tag, "email_rules": email_rules, }, }, diff --git a/src/generated/forge-mcp/emailRouting/schemas.ts b/src/generated/forge-mcp/emailRouting/schemas.ts index 2d0d9ef23..aeb2bdc20 100644 --- a/src/generated/forge-mcp/emailRouting/schemas.ts +++ b/src/generated/forge-mcp/emailRouting/schemas.ts @@ -11,8 +11,8 @@ export const email_email_setting_dns_request_body: JsonSchema = { { "properties": { "name": { - "$ref": "#/$defs/email_email_setting_name", - "description": "Domain of your zone." + "description": "Domain of your zone.", + "type": "string" } }, "type": "object" @@ -22,11 +22,3 @@ export const email_email_setting_dns_request_body: JsonSchema = { } ] }; - -/** - * The schema of `email_email_setting_name`. - */ -export const email_email_setting_name: JsonSchema = { - "description": "Domain of your zone.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailRouting/settings/tools.ts b/src/generated/forge-mcp/emailRouting/settings/tools.ts index 25eff465e..e01a72f25 100644 --- a/src/generated/forge-mcp/emailRouting/settings/tools.ts +++ b/src/generated/forge-mcp/emailRouting/settings/tools.ts @@ -3,17 +3,7 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { email_api$$response$$single, email_messages } from "../../outputs.js"; -import { email_identifier } from "../../schemas.js"; import { - email_email_setting_created, - email_email_setting_enabled, - email_email_setting_identifier, - email_email_setting_modified, - email_email_setting_name, - email_email_setting_skip$$wizard, - email_email_setting_status, - email_email_setting_support_subaddress, - email_email_setting_tag, email_email_settings_response_single, email_settings, } from "../outputs.js"; @@ -26,7 +16,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_settings_apply", title: "Apply Email Routing settings", - description: "Apply the provided settings to your Email Routing zone. Omitted settings retain their current values, as with PATCH.", + description: "Apply the provided settings to your Email Routing zone. Omitted settings retain their current values, as with PATCH.\n\nPUT /zones/{zone_id}/email/routing", inputSchema: { type: "object", properties: { @@ -34,10 +24,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_update_email_routing_settings_properties" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -50,8 +41,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email_identifier": email_identifier, "email_update_email_routing_settings_properties": email_update_email_routing_settings_properties, }, }, @@ -59,15 +50,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_email_settings_response_single", $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, @@ -107,15 +89,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, @@ -129,15 +102,16 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_settings_get", title: "Get Email Routing settings", - description: "Get information about the settings for your Email Routing zone.", + description: "Get information about the settings for your Email Routing zone.\n\nGET /zones/{zone_id}/email/routing", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -149,23 +123,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, @@ -206,15 +169,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, @@ -227,7 +181,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_settings_update", title: "Update Email Routing settings", - description: "Update the settings for your Email Routing zone.", + description: "Update the settings for your Email Routing zone.\n\nPATCH /zones/{zone_id}/email/routing", inputSchema: { type: "object", properties: { @@ -235,10 +189,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_update_email_routing_settings_properties" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -251,8 +206,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email_identifier": email_identifier, "email_update_email_routing_settings_properties": email_update_email_routing_settings_properties, }, }, @@ -260,15 +215,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_email_settings_response_single", $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, @@ -308,15 +254,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, diff --git a/src/generated/forge-mcp/emailRouting/tools.ts b/src/generated/forge-mcp/emailRouting/tools.ts index eb91b736d..5d0e0e551 100644 --- a/src/generated/forge-mcp/emailRouting/tools.ts +++ b/src/generated/forge-mcp/emailRouting/tools.ts @@ -3,24 +3,11 @@ import { type Tool, pathParam } from "../_/tool.js"; import { email_api$$response$$single, email_messages } from "../outputs.js"; -import { email_identifier } from "../schemas.js"; import { - email_email_setting_created, - email_email_setting_enabled, - email_email_setting_identifier, - email_email_setting_modified, - email_email_setting_name, - email_email_setting_skip$$wizard, - email_email_setting_status, - email_email_setting_support_subaddress, - email_email_setting_tag, email_email_settings_response_single, email_settings, } from "./outputs.js"; -import { - email_email_setting_dns_request_body, - email_email_setting_name as email_email_setting_name$, -} from "./schemas.js"; +import { email_email_setting_dns_request_body } from "./schemas.js"; /** * The tools of `emailRouting`. @@ -29,7 +16,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_disable", title: "Disable Email Routing", - description: "Disable your Email Routing zone. Also removes additional MX records previously required for Email Routing to work.\n\nConfirm with the user before calling this tool. This operation disables Email Routing and removes its DNS records.", + description: "Disable your Email Routing zone. Also removes additional MX records previously required for Email Routing to work.\n\nConfirm with the user before calling this tool. This operation disables Email Routing and removes its DNS records.\n\nDELETE /zones/{zone_id}/email/routing/dns", inputSchema: { type: "object", properties: { @@ -37,10 +24,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_email_setting_dns_request_body" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -52,25 +40,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "email_email_setting_dns_request_body": email_email_setting_dns_request_body, - "email_email_setting_name": email_email_setting_name$, - "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, @@ -105,15 +83,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, @@ -127,7 +96,7 @@ export const tools: readonly Tool[] = [ { name: "emailRouting_enable", title: "Enable Email Routing", - description: "Enable your Email Routing zone. Add and lock the necessary MX and SPF records.", + description: "Enable your Email Routing zone. Add and lock the necessary MX and SPF records.\n\nPOST /zones/{zone_id}/email/routing/dns", inputSchema: { type: "object", properties: { @@ -135,10 +104,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_email_setting_dns_request_body" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -150,25 +120,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "email_email_setting_dns_request_body": email_email_setting_dns_request_body, - "email_email_setting_name": email_email_setting_name$, - "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_email_settings_response_single", $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, @@ -208,15 +168,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email_api-response-single": email_api$$response$$single, - "email_email_setting_created": email_email_setting_created, - "email_email_setting_enabled": email_email_setting_enabled, - "email_email_setting_identifier": email_email_setting_identifier, - "email_email_setting_modified": email_email_setting_modified, - "email_email_setting_name": email_email_setting_name, - "email_email_setting_skip-wizard": email_email_setting_skip$$wizard, - "email_email_setting_status": email_email_setting_status, - "email_email_setting_support_subaddress": email_email_setting_support_subaddress, - "email_email_setting_tag": email_email_setting_tag, "email_email_settings_response_single": email_email_settings_response_single, "email_messages": email_messages, "email_settings": email_settings, diff --git a/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts b/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts index 65539443b..1e8f9c19c 100644 --- a/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/allowPolicies/outputs.ts @@ -19,7 +19,8 @@ export const email$$security_AllowPolicy: JsonSchema = { ] }, "created_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "expires_at": { "oneOf": [ @@ -33,7 +34,8 @@ export const email$$security_AllowPolicy: JsonSchema = { ] }, "id": { - "$ref": "#/$defs/email-security_AllowPolicyId" + "format": "uuid", + "type": "string" }, "is_acceptable_sender": { "type": "boolean" @@ -57,16 +59,24 @@ export const email$$security_AllowPolicy: JsonSchema = { "type": "boolean" }, "last_modified": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "modified_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "pattern": { "type": "string" }, "pattern_type": { - "$ref": "#/$defs/email-security_PatternType" + "enum": [ + "EMAIL", + "DOMAIN", + "IP", + "UNKNOWN" + ], + "type": "string" }, "verify_sender": { "type": "boolean" @@ -80,14 +90,6 @@ export const email$$security_AllowPolicy: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_AllowPolicyId` in responses. - */ -export const email$$security_AllowPolicyId: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_AllowPolicyList` in responses. */ @@ -104,7 +106,8 @@ export const email$$security_AllowPolicyList: JsonSchema = { export const email$$security_DeletedAllowPolicy: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/email-security_AllowPolicyId" + "format": "uuid", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/emailSecurity/allowPolicies/schemas.ts b/src/generated/forge-mcp/emailSecurity/allowPolicies/schemas.ts index cb19a3166..39a615465 100644 --- a/src/generated/forge-mcp/emailSecurity/allowPolicies/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/allowPolicies/schemas.ts @@ -3,15 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `email-security_AllowPolicyId`. - */ -export const email$$security_AllowPolicyId: JsonSchema = { - "description": "Allow policy identifier.", - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_CreateAllowPolicy`. */ @@ -75,8 +66,14 @@ export const email$$security_CreateAllowPolicy: JsonSchema = { "type": "string" }, "pattern_type": { - "$ref": "#/$defs/email-security_PatternType", - "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.\n" + "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.", + "enum": [ + "EMAIL", + "DOMAIN", + "IP", + "UNKNOWN" + ], + "type": "string" }, "verify_sender": { "description": "Enforce DMARC, SPF or DKIM authentication. When on, Email Security only honors policies that pass authentication.", @@ -158,8 +155,14 @@ export const email$$security_UpdateAllowPolicy: JsonSchema = { "type": "string" }, "pattern_type": { - "$ref": "#/$defs/email-security_PatternType", - "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.\n" + "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.", + "enum": [ + "EMAIL", + "DOMAIN", + "IP", + "UNKNOWN" + ], + "type": "string" }, "verify_sender": { "description": "Enforce DMARC, SPF or DKIM authentication. When on, Email Security only honors policies that pass authentication.", diff --git a/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts b/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts index 01cada12a..ba80635d8 100644 --- a/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/allowPolicies/tools.ts @@ -3,26 +3,18 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email$$security_PatternType, email$$security_api$$response$$collection, email$$security_api$$response$$common, email$$security_api$$response$$common$$failure, email$$security_api$$response$$single, email$$security_messages, - email$$security_timestamp, } from "../outputs.js"; -import { - email$$security_PatternType as email$$security_PatternType$, - email$$security_identifier, -} from "../schemas.js"; import { email$$security_AllowPolicy, - email$$security_AllowPolicyId, email$$security_AllowPolicyList, email$$security_DeletedAllowPolicy, } from "./outputs.js"; import { - email$$security_AllowPolicyId as email$$security_AllowPolicyId$, email$$security_CreateAllowPolicy, email$$security_UpdateAllowPolicy, } from "./schemas.js"; @@ -34,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_allowPolicies_batch", title: "Batch allow policy operations", - description: "Executes multiple allow policy operations atomically: delete, partially update,\nreplace, and create allow policies in a single request. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected allow policies and restore normal security scanning and disposition actions for matching emails.", + description: "Executes multiple allow policy operations atomically: delete, partially update,\nreplace, and create allow policies in a single request. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected allow policies and restore normal security scanning and disposition actions for matching emails.\n\nPOST /accounts/{account_id}/email-security/settings/allow_policies/batch", inputSchema: { type: "object", properties: { @@ -45,8 +37,9 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/email-security_AllowPolicyId", - "description": "Allow policy identifier." + "description": "Allow policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -67,7 +60,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_AllowPolicyId" + "description": "Allow policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -98,7 +93,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_AllowPolicyId" + "description": "Allow policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -121,10 +118,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -137,12 +135,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_AllowPolicyId": email$$security_AllowPolicyId$, "email-security_CreateAllowPolicy": email$$security_CreateAllowPolicy, - "email-security_PatternType": email$$security_PatternType$, "email-security_UpdateAllowPolicy": email$$security_UpdateAllowPolicy, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -178,13 +174,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, "email-security_AllowPolicyList": email$$security_AllowPolicyList, "email-security_DeletedAllowPolicy": email$$security_DeletedAllowPolicy, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -242,14 +235,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, "email-security_AllowPolicyList": email$$security_AllowPolicyList, "email-security_DeletedAllowPolicy": email$$security_DeletedAllowPolicy, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -260,7 +250,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_allowPolicies_create", title: "Create email allow policy", - description: "Creates a new allow policy that exempts matching emails from security detections. Use with caution as this bypasses email security scanning. Policies can match on sender patterns and apply to specific detections or all detections.\n\nThis method is beta.", + description: "Creates a new allow policy that exempts matching emails from security detections. Use with caution as this bypasses email security scanning. Policies can match on sender patterns and apply to specific detections or all detections.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/settings/allow_policies", inputSchema: { type: "object", properties: { @@ -268,10 +258,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateAllowPolicy" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -284,10 +275,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateAllowPolicy": email$$security_CreateAllowPolicy, - "email-security_PatternType": email$$security_PatternType$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -306,11 +296,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -351,12 +338,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -367,19 +351,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_allowPolicies_delete", title: "Delete an email allow policy", - description: "Removes an allow policy. After deletion, emails matching this pattern will be subject to normal security scanning and disposition actions.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the allow policy and restores normal security scanning and disposition actions for matching emails.", + description: "Removes an allow policy. After deletion, emails matching this pattern will be subject to normal security scanning and disposition actions.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the allow policy and restores normal security scanning and disposition actions for matching emails.\n\nDELETE /accounts/{account_id}/email-security/settings/allow_policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/email-security_AllowPolicyId", - "description": "Allow policy identifier." + "description": "Allow policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -392,10 +378,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_AllowPolicyId": email$$security_AllowPolicyId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -412,7 +395,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_AllowPolicyId": email$$security_AllowPolicyId, "email-security_DeletedAllowPolicy": email$$security_DeletedAllowPolicy, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -455,7 +437,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_AllowPolicyId": email$$security_AllowPolicyId, "email-security_DeletedAllowPolicy": email$$security_DeletedAllowPolicy, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, @@ -469,7 +450,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_allowPolicies_edit", title: "Update an email allow policy", - description: "Updates an existing allow policy. Only provided fields will be modified. Changes take effect for new emails matching the pattern.\n\nThis method is beta.", + description: "Updates an existing allow policy. Only provided fields will be modified. Changes take effect for new emails matching the pattern.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/email-security/settings/allow_policies/{policy_id}", inputSchema: { type: "object", properties: { @@ -477,14 +458,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_UpdateAllowPolicy" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/email-security_AllowPolicyId", - "description": "Allow policy identifier." + "description": "Allow policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -498,11 +481,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_AllowPolicyId": email$$security_AllowPolicyId$, - "email-security_PatternType": email$$security_PatternType$, "email-security_UpdateAllowPolicy": email$$security_UpdateAllowPolicy, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -521,11 +502,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -566,12 +544,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -582,19 +557,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_allowPolicies_get", title: "Get an email allow policy", - description: "Retrieves details for a specific allow policy including its pattern, dispositions that are exempted, and whether it applies to all detections.\n\nThis method is beta.", + description: "Retrieves details for a specific allow policy including its pattern, dispositions that are exempted, and whether it applies to all detections.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/allow_policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/email-security_AllowPolicyId", - "description": "Allow policy identifier." + "description": "Allow policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -607,10 +584,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_AllowPolicyId": email$$security_AllowPolicyId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -628,11 +602,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -674,12 +645,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -689,15 +657,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_allowPolicies_list", title: "List email allow policies", - description: "Returns a paginated list of email allow policies. These policies exempt matching emails from security detection, allowing them to bypass disposition actions. Supports filtering by pattern type and policy attributes.\n\nThis method is beta.", + description: "Returns a paginated list of email allow policies. These policies exempt matching emails from security detection, allowing them to bypass disposition actions. Supports filtering by pattern type and policy attributes.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/allow_policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -706,6 +675,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The sorting direction.", @@ -749,8 +719,14 @@ export const tools: readonly Tool[] = [ "type": "string" }, "pattern_type": { - "$ref": "#/$defs/email-security_PatternType", - "description": "Filter by pattern type." + "description": "Filter by pattern type.", + "enum": [ + "EMAIL", + "DOMAIN", + "IP", + "UNKNOWN" + ], + "type": "string" }, "per_page": { "default": 20, @@ -772,10 +748,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_PatternType": email$$security_PatternType$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -793,13 +766,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, "email-security_AllowPolicyList": email$$security_AllowPolicyList, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -841,14 +811,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, "email-security_AllowPolicyList": email$$security_AllowPolicyList, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -872,7 +839,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_allowPolicies_update", title: "Replace an email allow policy", - description: "Replaces an existing allow policy in full. Unlike PATCH, every field is taken from the request body, so optional fields that are omitted are reset rather than left untouched. Use this when managing policies declaratively.\n\nThis method is beta.", + description: "Replaces an existing allow policy in full. Unlike PATCH, every field is taken from the request body, so optional fields that are omitted are reset rather than left untouched. Use this when managing policies declaratively.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/email-security/settings/allow_policies/{policy_id}", inputSchema: { type: "object", properties: { @@ -880,14 +847,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateAllowPolicy" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/email-security_AllowPolicyId", - "description": "Allow policy identifier." + "description": "Allow policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -901,11 +870,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_AllowPolicyId": email$$security_AllowPolicyId$, "email-security_CreateAllowPolicy": email$$security_CreateAllowPolicy, - "email-security_PatternType": email$$security_PatternType$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -924,11 +891,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -966,12 +930,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_AllowPolicy": email$$security_AllowPolicy, - "email-security_AllowPolicyId": email$$security_AllowPolicyId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts b/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts index 6a6050567..43b14e32c 100644 --- a/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/analytics/monthlyReport/tools.ts @@ -7,7 +7,6 @@ import { email$$security_api$$response$$single, email$$security_messages, } from "../../outputs.js"; -import { email$$security_identifier } from "../../schemas.js"; /** * The tools of `emailSecurity.analytics.monthlyReport`. @@ -16,15 +15,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_analytics_monthlyReport_get", title: "Get monthly report", - description: "Returns an aggregated monthly email security report including detections, dispositions, and policy activity for the trailing 12 months.\n\nThis method is beta.", + description: "Returns an aggregated monthly email security report including detections, dispositions, and policy activity for the trailing 12 months.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/analytics/monthly_report", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -36,9 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts b/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts index 431a462c5..b3f994c4b 100644 --- a/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/blockSenders/outputs.ts @@ -19,7 +19,8 @@ export const email$$security_BlockedSender: JsonSchema = { ] }, "created_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "expires_at": { "oneOf": [ @@ -33,35 +34,36 @@ export const email$$security_BlockedSender: JsonSchema = { ] }, "id": { - "$ref": "#/$defs/email-security_BlockedSenderId" + "format": "uuid", + "type": "string" }, "is_regex": { "type": "boolean" }, "last_modified": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "modified_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "pattern": { "type": "string" }, "pattern_type": { - "$ref": "#/$defs/email-security_PatternType" + "enum": [ + "EMAIL", + "DOMAIN", + "IP", + "UNKNOWN" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `email-security_BlockedSenderId` in responses. - */ -export const email$$security_BlockedSenderId: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_BlockedSenderList` in responses. */ @@ -78,7 +80,8 @@ export const email$$security_BlockedSenderList: JsonSchema = { export const email$$security_DeletedBlockedSender: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/email-security_BlockedSenderId" + "format": "uuid", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/emailSecurity/blockSenders/schemas.ts b/src/generated/forge-mcp/emailSecurity/blockSenders/schemas.ts index ce2243fc5..99e732fbd 100644 --- a/src/generated/forge-mcp/emailSecurity/blockSenders/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/blockSenders/schemas.ts @@ -3,15 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `email-security_BlockedSenderId`. - */ -export const email$$security_BlockedSenderId: JsonSchema = { - "description": "Blocked sender pattern identifier.", - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_CreateBlockedSender`. */ @@ -49,8 +40,14 @@ export const email$$security_CreateBlockedSender: JsonSchema = { "type": "string" }, "pattern_type": { - "$ref": "#/$defs/email-security_PatternType", - "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.\n" + "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.", + "enum": [ + "EMAIL", + "DOMAIN", + "IP", + "UNKNOWN" + ], + "type": "string" } }, "required": [ @@ -98,8 +95,14 @@ export const email$$security_UpdateBlockedSender: JsonSchema = { "type": "string" }, "pattern_type": { - "$ref": "#/$defs/email-security_PatternType", - "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.\n" + "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.", + "enum": [ + "EMAIL", + "DOMAIN", + "IP", + "UNKNOWN" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts b/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts index d9686779b..84ce220a9 100644 --- a/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/blockSenders/tools.ts @@ -3,26 +3,18 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email$$security_PatternType, email$$security_api$$response$$collection, email$$security_api$$response$$common, email$$security_api$$response$$common$$failure, email$$security_api$$response$$single, email$$security_messages, - email$$security_timestamp, } from "../outputs.js"; -import { - email$$security_PatternType as email$$security_PatternType$, - email$$security_identifier, -} from "../schemas.js"; import { email$$security_BlockedSender, - email$$security_BlockedSenderId, email$$security_BlockedSenderList, email$$security_DeletedBlockedSender, } from "./outputs.js"; import { - email$$security_BlockedSenderId as email$$security_BlockedSenderId$, email$$security_CreateBlockedSender, email$$security_UpdateBlockedSender, } from "./schemas.js"; @@ -34,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_blockSenders_batch", title: "Batch blocked sender operations", - description: "Executes multiple blocked sender operations atomically: delete, partially update,\nreplace, and create blocked sender patterns in a single request. All four operation\narrays (deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected blocked sender patterns and stop automatically blocking matching emails based on those rules.", + description: "Executes multiple blocked sender operations atomically: delete, partially update,\nreplace, and create blocked sender patterns in a single request. All four operation\narrays (deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected blocked sender patterns and stop automatically blocking matching emails based on those rules.\n\nPOST /accounts/{account_id}/email-security/settings/block_senders/batch", inputSchema: { type: "object", properties: { @@ -45,8 +37,9 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/email-security_BlockedSenderId", - "description": "Blocked sender pattern identifier." + "description": "Blocked sender pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -67,7 +60,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_BlockedSenderId" + "description": "Blocked sender pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -98,7 +93,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_BlockedSenderId" + "description": "Blocked sender pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -121,10 +118,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -137,12 +135,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_BlockedSenderId": email$$security_BlockedSenderId$, "email-security_CreateBlockedSender": email$$security_CreateBlockedSender, - "email-security_PatternType": email$$security_PatternType$, "email-security_UpdateBlockedSender": email$$security_UpdateBlockedSender, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -178,13 +174,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, "email-security_BlockedSenderList": email$$security_BlockedSenderList, "email-security_DeletedBlockedSender": email$$security_DeletedBlockedSender, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -242,14 +235,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, "email-security_BlockedSenderList": email$$security_BlockedSenderList, "email-security_DeletedBlockedSender": email$$security_DeletedBlockedSender, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -260,7 +250,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_blockSenders_create", title: "Create blocked email sender", - description: "Creates a new blocked sender pattern. Emails matching this pattern will be blocked from delivery. Patterns can be email addresses, domains, or IP addresses, and support regular expressions.\n\nThis method is beta.", + description: "Creates a new blocked sender pattern. Emails matching this pattern will be blocked from delivery. Patterns can be email addresses, domains, or IP addresses, and support regular expressions.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/settings/block_senders", inputSchema: { type: "object", properties: { @@ -268,10 +258,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateBlockedSender" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -284,10 +275,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateBlockedSender": email$$security_CreateBlockedSender, - "email-security_PatternType": email$$security_PatternType$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -306,11 +296,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -351,12 +338,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -367,19 +351,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_blockSenders_delete", title: "Delete a blocked email sender", - description: "Removes a blocked sender pattern. After deletion, emails from this sender will no longer be automatically blocked based on this rule.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the blocked sender pattern and stops automatically blocking matching emails based on this rule.", + description: "Removes a blocked sender pattern. After deletion, emails from this sender will no longer be automatically blocked based on this rule.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the blocked sender pattern and stops automatically blocking matching emails based on this rule.\n\nDELETE /accounts/{account_id}/email-security/settings/block_senders/{pattern_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "pattern_id": { - "$ref": "#/$defs/email-security_BlockedSenderId", - "description": "Blocked sender pattern identifier." + "description": "Blocked sender pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -392,10 +378,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_BlockedSenderId": email$$security_BlockedSenderId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -412,7 +395,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_BlockedSenderId": email$$security_BlockedSenderId, "email-security_DeletedBlockedSender": email$$security_DeletedBlockedSender, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -455,7 +437,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_BlockedSenderId": email$$security_BlockedSenderId, "email-security_DeletedBlockedSender": email$$security_DeletedBlockedSender, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, @@ -469,7 +450,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_blockSenders_edit", title: "Update a blocked email sender", - description: "Updates an existing blocked sender pattern. Only provided fields will be modified. The pattern will continue blocking emails until deleted.\n\nThis method is beta.", + description: "Updates an existing blocked sender pattern. Only provided fields will be modified. The pattern will continue blocking emails until deleted.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/email-security/settings/block_senders/{pattern_id}", inputSchema: { type: "object", properties: { @@ -477,14 +458,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_UpdateBlockedSender" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "pattern_id": { - "$ref": "#/$defs/email-security_BlockedSenderId", - "description": "Blocked sender pattern identifier." + "description": "Blocked sender pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -498,11 +481,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_BlockedSenderId": email$$security_BlockedSenderId$, - "email-security_PatternType": email$$security_PatternType$, "email-security_UpdateBlockedSender": email$$security_UpdateBlockedSender, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -521,11 +502,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -566,12 +544,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -582,19 +557,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_blockSenders_get", title: "Get a blocked email sender", - description: "Retrieves details for a specific blocked sender pattern including its pattern type, value, and metadata.\n\nThis method is beta.", + description: "Retrieves details for a specific blocked sender pattern including its pattern type, value, and metadata.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/block_senders/{pattern_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "pattern_id": { - "$ref": "#/$defs/email-security_BlockedSenderId", - "description": "Blocked sender pattern identifier." + "description": "Blocked sender pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -607,10 +584,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_BlockedSenderId": email$$security_BlockedSenderId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -628,11 +602,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -674,12 +645,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -689,15 +657,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_blockSenders_list", title: "List blocked email senders", - description: "Returns a paginated list of blocked email sender patterns. These patterns prevent emails from matching senders from being delivered. Supports filtering by pattern type and searching across patterns.\n\nThis method is beta.", + description: "Returns a paginated list of blocked email sender patterns. These patterns prevent emails from matching senders from being delivered. Supports filtering by pattern type and searching across patterns.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/block_senders", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -706,6 +675,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The sorting direction.", @@ -737,8 +707,14 @@ export const tools: readonly Tool[] = [ "type": "string" }, "pattern_type": { - "$ref": "#/$defs/email-security_PatternType", - "description": "Filter by pattern type." + "description": "Filter by pattern type.", + "enum": [ + "EMAIL", + "DOMAIN", + "IP", + "UNKNOWN" + ], + "type": "string" }, "per_page": { "default": 20, @@ -756,10 +732,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_PatternType": email$$security_PatternType$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -777,13 +750,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, "email-security_BlockedSenderList": email$$security_BlockedSenderList, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -825,14 +795,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, "email-security_BlockedSenderList": email$$security_BlockedSenderList, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -852,7 +819,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_blockSenders_update", title: "Replace a blocked email sender", - description: "Replaces an existing blocked sender pattern in full. Unlike PATCH, every field is taken from the request body, so optional fields that are omitted are reset rather than left untouched. Use this when managing blocked senders declaratively.\n\nThis method is beta.", + description: "Replaces an existing blocked sender pattern in full. Unlike PATCH, every field is taken from the request body, so optional fields that are omitted are reset rather than left untouched. Use this when managing blocked senders declaratively.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/email-security/settings/block_senders/{pattern_id}", inputSchema: { type: "object", properties: { @@ -860,14 +827,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateBlockedSender" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "pattern_id": { - "$ref": "#/$defs/email-security_BlockedSenderId", - "description": "Blocked sender pattern identifier." + "description": "Blocked sender pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -881,11 +850,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_BlockedSenderId": email$$security_BlockedSenderId$, "email-security_CreateBlockedSender": email$$security_CreateBlockedSender, - "email-security_PatternType": email$$security_PatternType$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -904,11 +871,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -946,12 +910,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_BlockedSender": email$$security_BlockedSender, - "email-security_BlockedSenderId": email$$security_BlockedSenderId, - "email-security_PatternType": email$$security_PatternType, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts index 67b9e01b6..11728ac4c 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/outputs.ts @@ -78,7 +78,15 @@ export const email$$security_BulkActionMessageDetail: JsonSchema = { "type": "integer" }, "status": { - "$ref": "#/$defs/email-security_BulkActionMessageStatus" + "enum": [ + "PENDING", + "PROCESSING", + "COMPLETED", + "FAILED", + "CANCELLED", + "SKIPPED" + ], + "type": "string" }, "status_message": { "oneOf": [ @@ -103,21 +111,6 @@ export const email$$security_BulkActionMessageDetail: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_BulkActionMessageStatus` in responses. - */ -export const email$$security_BulkActionMessageStatus: JsonSchema = { - "enum": [ - "PENDING", - "PROCESSING", - "COMPLETED", - "FAILED", - "CANCELLED", - "SKIPPED" - ], - "type": "string" -}; - /** * The schema of `email-security_BulkMessageActionParams` in responses. */ @@ -129,12 +122,31 @@ export const email$$security_BulkMessageActionParams: JsonSchema = { "type": "string" }, "destination": { - "$ref": "#/$defs/email-security_MailboxDestination" + "enum": [ + "Inbox", + "JunkEmail", + "DeletedItems", + "RecoverableItemsDeletions", + "RecoverableItemsPurges" + ], + "type": "string" }, "expected_disposition": { "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/schemas.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/schemas.ts deleted file mode 100644 index 20b972b32..000000000 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `email-security_BulkActionMessageStatus`. - */ -export const email$$security_BulkActionMessageStatus: JsonSchema = { - "description": "Status of a message within a bulk action job.", - "enum": [ - "PENDING", - "PROCESSING", - "COMPLETED", - "FAILED", - "CANCELLED", - "SKIPPED" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts index 22b4712b4..808001164 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/messages/tools.ts @@ -5,27 +5,16 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { email$$security_ActionLogEntry, email$$security_CursorResultInfo, - email$$security_DispositionLabel, - email$$security_InvestigateId, - email$$security_MailboxDestination, - email$$security_MessageDeliveryMode, - email$$security_MessageDeliveryStatus, email$$security_MessageDetails, - email$$security_PostfixId, email$$security_Validation, - email$$security_ValidationStatus, email$$security_api$$response$$common, email$$security_api$$response$$common$$failure, email$$security_messages, } from "../../outputs.js"; -import { email$$security_identifier } from "../../schemas.js"; -import { email$$security_BulkJobId } from "../schemas.js"; import { email$$security_BulkActionMessageDetail, - email$$security_BulkActionMessageStatus, email$$security_BulkMessageActionParams, } from "./outputs.js"; -import { email$$security_BulkActionMessageStatus as email$$security_BulkActionMessageStatus$ } from "./schemas.js"; /** * The tools of `emailSecurity.bulkActions.messages`. @@ -34,19 +23,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_bulkActions_messages_list", title: "List messages for a bulk action job", - description: "Returns the individual messages associated with a bulk action job, including their processing status.\n\nThis method is beta.", + description: "Returns the individual messages associated with a bulk action job, including their processing status.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate/bulk/{job_id}/messages", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "job_id": { - "$ref": "#/$defs/email-security_BulkJobId", - "description": "Identifier of the bulk action job whose messages to list." + "description": "Identifier of the bulk action job whose messages to list.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -56,6 +47,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -68,8 +60,16 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "status": { - "$ref": "#/$defs/email-security_BulkActionMessageStatus", - "description": "Filter the job's messages by their processing status." + "description": "Filter the job's messages by their processing status.", + "enum": [ + "PENDING", + "PROCESSING", + "COMPLETED", + "FAILED", + "CANCELLED", + "SKIPPED" + ], + "type": "string" } }, "type": "object" @@ -78,11 +78,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_BulkActionMessageStatus": email$$security_BulkActionMessageStatus$, - "email-security_BulkJobId": email$$security_BulkJobId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -111,18 +107,10 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_ActionLogEntry": email$$security_ActionLogEntry, "email-security_BulkActionMessageDetail": email$$security_BulkActionMessageDetail, - "email-security_BulkActionMessageStatus": email$$security_BulkActionMessageStatus, "email-security_BulkMessageActionParams": email$$security_BulkMessageActionParams, "email-security_CursorResultInfo": email$$security_CursorResultInfo, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_MessageDetails": email$$security_MessageDetails, - "email-security_PostfixId": email$$security_PostfixId, "email-security_Validation": email$$security_Validation, - "email-security_ValidationStatus": email$$security_ValidationStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, }, @@ -177,18 +165,10 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_ActionLogEntry": email$$security_ActionLogEntry, "email-security_BulkActionMessageDetail": email$$security_BulkActionMessageDetail, - "email-security_BulkActionMessageStatus": email$$security_BulkActionMessageStatus, "email-security_BulkMessageActionParams": email$$security_BulkMessageActionParams, "email-security_CursorResultInfo": email$$security_CursorResultInfo, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_MessageDetails": email$$security_MessageDetails, - "email-security_PostfixId": email$$security_PostfixId, "email-security_Validation": email$$security_Validation, - "email-security_ValidationStatus": email$$security_ValidationStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts index d6114c6ed..50913255e 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/outputs.ts @@ -11,12 +11,31 @@ export const email$$security_BulkJobActionParams: JsonSchema = { { "properties": { "destination": { - "$ref": "#/$defs/email-security_MailboxDestination" + "enum": [ + "Inbox", + "JunkEmail", + "DeletedItems", + "RecoverableItemsDeletions", + "RecoverableItemsPurges" + ], + "type": "string" }, "expected_disposition": { "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" @@ -127,7 +146,15 @@ export const email$$security_BulkJobDetail: JsonSchema = { ] }, "status": { - "$ref": "#/$defs/email-security_BulkJobStatus" + "enum": [ + "PENDING", + "DISCOVERING", + "PROCESSING", + "COMPLETED", + "FAILED", + "CANCELLED" + ], + "type": "string" }, "status_message": { "oneOf": [ @@ -160,21 +187,6 @@ export const email$$security_BulkJobDetail: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_BulkJobStatus` in responses. - */ -export const email$$security_BulkJobStatus: JsonSchema = { - "enum": [ - "PENDING", - "DISCOVERING", - "PROCESSING", - "COMPLETED", - "FAILED", - "CANCELLED" - ], - "type": "string" -}; - /** * The schema of `email-security_BulkSearchParams` in responses. */ @@ -196,7 +208,17 @@ export const email$$security_BulkSearchParams: JsonSchema = { "delivery_status": { "oneOf": [ { - "$ref": "#/$defs/email-security_MessageDeliveryStatus" + "enum": [ + "delivered", + "moved", + "quarantined", + "rejected", + "deferred", + "bounced", + "queued", + "move_failed" + ], + "type": "string" }, { "type": "null" @@ -233,7 +255,19 @@ export const email$$security_BulkSearchParams: JsonSchema = { "final_disposition": { "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/schemas.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/schemas.ts index 0f2358eaa..ebff9ae5d 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/schemas.ts @@ -28,15 +28,35 @@ export const email$$security_BulkActionRequest: JsonSchema = { ] }, "destination": { - "$ref": "#/$defs/email-security_MailboxDestination", - "description": "Required when action is 'MOVE'." + "description": "Required when action is 'MOVE'.", + "enum": [ + "Inbox", + "JunkEmail", + "DeletedItems", + "RecoverableItemsDeletions", + "RecoverableItemsPurges" + ], + "type": "string" }, "expected_disposition": { "deprecated": true, "description": "Nonfunctional field. End of life: December 1, 2026.", "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "description": "The verdict Email Security assigns to a message.", + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" @@ -54,31 +74,6 @@ export const email$$security_BulkActionRequest: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_BulkJobId`. - */ -export const email$$security_BulkJobId: JsonSchema = { - "description": "Bulk action job identifier.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `email-security_BulkJobStatus`. - */ -export const email$$security_BulkJobStatus: JsonSchema = { - "description": "Status of a bulk action job.", - "enum": [ - "PENDING", - "DISCOVERING", - "PROCESSING", - "COMPLETED", - "FAILED", - "CANCELLED" - ], - "type": "string" -}; - /** * The schema of `email-security_BulkSearchParams`. */ @@ -105,7 +100,18 @@ export const email$$security_BulkSearchParams: JsonSchema = { "description": "Delivery status to filter by.", "oneOf": [ { - "$ref": "#/$defs/email-security_MessageDeliveryStatus" + "description": "Delivery status of the message.", + "enum": [ + "delivered", + "moved", + "quarantined", + "rejected", + "deferred", + "bounced", + "queued", + "move_failed" + ], + "type": "string" }, { "type": "null" @@ -148,7 +154,20 @@ export const email$$security_BulkSearchParams: JsonSchema = { "description": "Dispositions to filter by.", "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "description": "The verdict Email Security assigns to a message.", + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" diff --git a/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts b/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts index 757db850f..190b6d55a 100644 --- a/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/bulkActions/tools.ts @@ -4,30 +4,18 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { email$$security_CursorResultInfo, - email$$security_DispositionLabel, - email$$security_MailboxDestination, - email$$security_MessageDeliveryStatus, email$$security_api$$response$$common, email$$security_api$$response$$common$$failure, email$$security_api$$response$$single, email$$security_messages, } from "../outputs.js"; -import { - email$$security_DispositionLabel as email$$security_DispositionLabel$, - email$$security_MailboxDestination as email$$security_MailboxDestination$, - email$$security_MessageDeliveryStatus as email$$security_MessageDeliveryStatus$, - email$$security_identifier, -} from "../schemas.js"; import { email$$security_BulkJobActionParams, email$$security_BulkJobDetail, - email$$security_BulkJobStatus, email$$security_BulkSearchParams, } from "./outputs.js"; import { email$$security_BulkActionRequest, - email$$security_BulkJobId, - email$$security_BulkJobStatus as email$$security_BulkJobStatus$, email$$security_BulkSearchParams as email$$security_BulkSearchParams$, } from "./schemas.js"; @@ -38,19 +26,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_bulkActions_cancel", title: "Cancel a bulk action job", - description: "Cancels the job, marking it as cancelled and stopping any pending message processing. The job record remains visible in list and detail endpoints.\n\nThis method is beta.", + description: "Cancels the job, marking it as cancelled and stopping any pending message processing. The job record remains visible in list and detail endpoints.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/investigate/bulk/{job_id}/cancel", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "job_id": { - "$ref": "#/$defs/email-security_BulkJobId", - "description": "Identifier of the bulk action job to cancel." + "description": "Identifier of the bulk action job to cancel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -63,10 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_BulkJobId": email$$security_BulkJobId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -88,11 +75,7 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, "email-security_BulkJobDetail": email$$security_BulkJobDetail, - "email-security_BulkJobStatus": email$$security_BulkJobStatus, "email-security_BulkSearchParams": email$$security_BulkSearchParams, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -139,11 +122,7 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, "email-security_BulkJobDetail": email$$security_BulkJobDetail, - "email-security_BulkJobStatus": email$$security_BulkJobStatus, "email-security_BulkSearchParams": email$$security_BulkSearchParams, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -156,7 +135,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_bulkActions_create", title: "Create a bulk action job", - description: "Creates a new bulk action job to move or release messages that match the provided search parameters. To move or release an explicit list of known messages instead of a search, use the move or release endpoints.\n\nThis method is beta.", + description: "Creates a new bulk action job to move or release messages that match the provided search parameters. To move or release an explicit list of known messages instead of a search, use the move or release endpoints.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/investigate/bulk", inputSchema: { type: "object", properties: { @@ -164,10 +143,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_BulkActionRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -180,13 +160,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_BulkActionRequest": email$$security_BulkActionRequest, "email-security_BulkSearchParams": email$$security_BulkSearchParams$, - "email-security_DispositionLabel": email$$security_DispositionLabel$, - "email-security_MailboxDestination": email$$security_MailboxDestination$, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -209,11 +186,7 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, "email-security_BulkJobDetail": email$$security_BulkJobDetail, - "email-security_BulkJobStatus": email$$security_BulkJobStatus, "email-security_BulkSearchParams": email$$security_BulkSearchParams, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -260,11 +233,7 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, "email-security_BulkJobDetail": email$$security_BulkJobDetail, - "email-security_BulkJobStatus": email$$security_BulkJobStatus, "email-security_BulkSearchParams": email$$security_BulkSearchParams, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -278,19 +247,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_bulkActions_delete", title: "Delete a bulk action job", - description: "Deletes the job, removing it from all list and detail endpoints. Only jobs in a terminal state (`COMPLETED`, `CANCELLED`, or `FAILED`) can be deleted. To stop an in-progress job without removing it, use the cancel endpoint instead.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the completed, cancelled, or failed bulk action job from all list and detail endpoints.", + description: "Deletes the job, removing it from all list and detail endpoints. Only jobs in a terminal state (`COMPLETED`, `CANCELLED`, or `FAILED`) can be deleted. To stop an in-progress job without removing it, use the cancel endpoint instead.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the completed, cancelled, or failed bulk action job from all list and detail endpoints.\n\nDELETE /accounts/{account_id}/email-security/investigate/bulk/{job_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "job_id": { - "$ref": "#/$defs/email-security_BulkJobId", - "description": "Identifier of the bulk action job." + "description": "Identifier of the bulk action job.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -303,10 +274,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_BulkJobId": email$$security_BulkJobId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -397,19 +365,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_bulkActions_get", title: "Get bulk action job details", - description: "Returns the status and details of a specific bulk action job.\n\nThis method is beta.", + description: "Returns the status and details of a specific bulk action job.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate/bulk/{job_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "job_id": { - "$ref": "#/$defs/email-security_BulkJobId", - "description": "Identifier of the bulk action job." + "description": "Identifier of the bulk action job.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -422,10 +392,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_BulkJobId": email$$security_BulkJobId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -447,11 +414,7 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, "email-security_BulkJobDetail": email$$security_BulkJobDetail, - "email-security_BulkJobStatus": email$$security_BulkJobStatus, "email-security_BulkSearchParams": email$$security_BulkSearchParams, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -499,11 +462,7 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, "email-security_BulkJobDetail": email$$security_BulkJobDetail, - "email-security_BulkJobStatus": email$$security_BulkJobStatus, "email-security_BulkSearchParams": email$$security_BulkSearchParams, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -516,15 +475,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_bulkActions_list", title: "List bulk action jobs", - description: "Returns a paginated list of bulk action jobs for the account.\n\nThis method is beta.", + description: "Returns a paginated list of bulk action jobs for the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate/bulk", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -533,6 +493,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "action_type": { "description": "Filter jobs by the action they perform.", @@ -553,8 +514,16 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "status": { - "$ref": "#/$defs/email-security_BulkJobStatus", - "description": "Filter jobs by their processing status." + "description": "Filter jobs by their processing status.", + "enum": [ + "PENDING", + "DISCOVERING", + "PROCESSING", + "COMPLETED", + "FAILED", + "CANCELLED" + ], + "type": "string" } }, "type": "object" @@ -563,10 +532,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_BulkJobStatus": email$$security_BulkJobStatus$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -595,12 +561,8 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, "email-security_BulkJobDetail": email$$security_BulkJobDetail, - "email-security_BulkJobStatus": email$$security_BulkJobStatus, "email-security_BulkSearchParams": email$$security_BulkSearchParams, "email-security_CursorResultInfo": email$$security_CursorResultInfo, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, }, @@ -655,12 +617,8 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_BulkJobActionParams": email$$security_BulkJobActionParams, "email-security_BulkJobDetail": email$$security_BulkJobDetail, - "email-security_BulkJobStatus": email$$security_BulkJobStatus, "email-security_BulkSearchParams": email$$security_BulkSearchParams, "email-security_CursorResultInfo": email$$security_CursorResultInfo, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, diff --git a/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts b/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts index aea25f9da..0a14f9f1b 100644 --- a/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/contentPolicies/outputs.ts @@ -9,7 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const email$$security_ContentPolicy: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "enabled": { "type": "boolean" @@ -26,10 +27,12 @@ export const email$$security_ContentPolicy: JsonSchema = { ] }, "id": { - "$ref": "#/$defs/email-security_ContentPolicyId" + "format": "uuid", + "type": "string" }, "modified_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "name": { "type": "string" @@ -49,7 +52,11 @@ export const email$$security_ContentPolicy: JsonSchema = { }, "targets": { "items": { - "$ref": "#/$defs/email-security_ContentPolicyTarget" + "enum": [ + "SUBJECT", + "BODY" + ], + "type": "string" }, "minItems": 1, "type": "array" @@ -58,14 +65,6 @@ export const email$$security_ContentPolicy: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_ContentPolicyId` in responses. - */ -export const email$$security_ContentPolicyId: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_ContentPolicyList` in responses. */ @@ -76,24 +75,14 @@ export const email$$security_ContentPolicyList: JsonSchema = { "type": "array" }; -/** - * The schema of `email-security_ContentPolicyTarget` in responses. - */ -export const email$$security_ContentPolicyTarget: JsonSchema = { - "enum": [ - "SUBJECT", - "BODY" - ], - "type": "string" -}; - /** * The schema of `email-security_DeletedContentPolicy` in responses. */ export const email$$security_DeletedContentPolicy: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/email-security_ContentPolicyId" + "format": "uuid", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/emailSecurity/contentPolicies/schemas.ts b/src/generated/forge-mcp/emailSecurity/contentPolicies/schemas.ts index b33b320e0..62b91ca89 100644 --- a/src/generated/forge-mcp/emailSecurity/contentPolicies/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/contentPolicies/schemas.ts @@ -3,27 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `email-security_ContentPolicyId`. - */ -export const email$$security_ContentPolicyId: JsonSchema = { - "description": "Content policy identifier.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `email-security_ContentPolicyTarget`. - */ -export const email$$security_ContentPolicyTarget: JsonSchema = { - "description": "The part of the email to match the pattern against.", - "enum": [ - "SUBJECT", - "BODY" - ], - "type": "string" -}; - /** * The schema of `email-security_CreateContentPolicy`. */ @@ -68,7 +47,12 @@ export const email$$security_CreateContentPolicy: JsonSchema = { "targets": { "description": "Parts of the email the pattern is matched against.", "items": { - "$ref": "#/$defs/email-security_ContentPolicyTarget" + "description": "The part of the email to match the pattern against.", + "enum": [ + "SUBJECT", + "BODY" + ], + "type": "string" }, "minItems": 1, "type": "array" @@ -127,7 +111,12 @@ export const email$$security_UpdateContentPolicy: JsonSchema = { "targets": { "description": "Parts of the email the pattern is matched against.", "items": { - "$ref": "#/$defs/email-security_ContentPolicyTarget" + "description": "The part of the email to match the pattern against.", + "enum": [ + "SUBJECT", + "BODY" + ], + "type": "string" }, "minItems": 1, "type": "array" diff --git a/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts b/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts index 791ff26a5..4579ac4fb 100644 --- a/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/contentPolicies/tools.ts @@ -8,19 +8,13 @@ import { email$$security_api$$response$$common$$failure, email$$security_api$$response$$single, email$$security_messages, - email$$security_timestamp, } from "../outputs.js"; -import { email$$security_identifier } from "../schemas.js"; import { email$$security_ContentPolicy, - email$$security_ContentPolicyId, email$$security_ContentPolicyList, - email$$security_ContentPolicyTarget, email$$security_DeletedContentPolicy, } from "./outputs.js"; import { - email$$security_ContentPolicyId as email$$security_ContentPolicyId$, - email$$security_ContentPolicyTarget as email$$security_ContentPolicyTarget$, email$$security_CreateContentPolicy, email$$security_UpdateContentPolicy, } from "./schemas.js"; @@ -32,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_contentPolicies_batch", title: "Batch content policy operations", - description: "Executes multiple content policy operations atomically: delete, partially update,\nreplace, and create content policies in a single request. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected content policies and stop evaluating emails against their patterns.", + description: "Executes multiple content policy operations atomically: delete, partially update,\nreplace, and create content policies in a single request. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected content policies and stop evaluating emails against their patterns.\n\nPOST /accounts/{account_id}/email-security/settings/content_policies/batch", inputSchema: { type: "object", properties: { @@ -43,8 +37,9 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/email-security_ContentPolicyId", - "description": "Content policy identifier." + "description": "Content policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -65,7 +60,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_ContentPolicyId" + "description": "Content policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -96,7 +93,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_ContentPolicyId" + "description": "Content policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -119,10 +118,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -135,12 +135,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_ContentPolicyId": email$$security_ContentPolicyId$, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget$, "email-security_CreateContentPolicy": email$$security_CreateContentPolicy, "email-security_UpdateContentPolicy": email$$security_UpdateContentPolicy, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -176,13 +174,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, "email-security_ContentPolicyList": email$$security_ContentPolicyList, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_DeletedContentPolicy": email$$security_DeletedContentPolicy, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -240,14 +235,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, "email-security_ContentPolicyList": email$$security_ContentPolicyList, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_DeletedContentPolicy": email$$security_DeletedContentPolicy, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -258,7 +250,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_contentPolicies_create", title: "Create a content policy", - description: "Creates a new content policy. Emails whose subject or body matches the pattern will be subject to the configured action.\n\nThis method is beta.", + description: "Creates a new content policy. Emails whose subject or body matches the pattern will be subject to the configured action.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/settings/content_policies", inputSchema: { type: "object", properties: { @@ -266,10 +258,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateContentPolicy" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -282,10 +275,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget$, "email-security_CreateContentPolicy": email$$security_CreateContentPolicy, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -304,11 +296,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -349,12 +338,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -365,19 +351,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_contentPolicies_delete", title: "Delete a content policy", - description: "Removes a content policy. After deletion, emails will no longer be evaluated against this pattern.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the content policy and stops evaluating emails against its pattern.", + description: "Removes a content policy. After deletion, emails will no longer be evaluated against this pattern.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the content policy and stops evaluating emails against its pattern.\n\nDELETE /accounts/{account_id}/email-security/settings/content_policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/email-security_ContentPolicyId", - "description": "Content policy identifier." + "description": "Content policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -390,10 +378,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_ContentPolicyId": email$$security_ContentPolicyId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -410,7 +395,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_ContentPolicyId": email$$security_ContentPolicyId, "email-security_DeletedContentPolicy": email$$security_DeletedContentPolicy, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -453,7 +437,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_ContentPolicyId": email$$security_ContentPolicyId, "email-security_DeletedContentPolicy": email$$security_DeletedContentPolicy, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, @@ -467,7 +450,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_contentPolicies_edit", title: "Update a content policy", - description: "Updates an existing content policy. Only provided fields will be modified.\n\nThis method is beta.", + description: "Updates an existing content policy. Only provided fields will be modified.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/email-security/settings/content_policies/{policy_id}", inputSchema: { type: "object", properties: { @@ -475,14 +458,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_UpdateContentPolicy" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/email-security_ContentPolicyId", - "description": "Content policy identifier." + "description": "Content policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -496,11 +481,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_ContentPolicyId": email$$security_ContentPolicyId$, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget$, "email-security_UpdateContentPolicy": email$$security_UpdateContentPolicy, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -519,11 +502,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -564,12 +544,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -580,19 +557,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_contentPolicies_get", title: "Get a content policy", - description: "Retrieves details for a specific content policy including its pattern, targets, and metadata.\n\nThis method is beta.", + description: "Retrieves details for a specific content policy including its pattern, targets, and metadata.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/content_policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/email-security_ContentPolicyId", - "description": "Content policy identifier." + "description": "Content policy identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -605,10 +584,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_ContentPolicyId": email$$security_ContentPolicyId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -626,11 +602,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -672,12 +645,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -687,15 +657,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_contentPolicies_list", title: "List content policies", - description: "Returns a paginated list of content policies. These policies match against the subject or body of emails using a pattern. Supports filtering by name or enabled status, and searching across name and pattern fields.\n\nThis method is beta.", + description: "Returns a paginated list of content policies. These policies match against the subject or body of emails using a pattern. Supports filtering by name or enabled status, and searching across name and pattern fields.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/content_policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -704,6 +675,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The sorting direction.", @@ -754,9 +726,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -774,13 +744,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, "email-security_ContentPolicyList": email$$security_ContentPolicyList, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -822,14 +789,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ContentPolicy": email$$security_ContentPolicy, - "email-security_ContentPolicyId": email$$security_ContentPolicyId, "email-security_ContentPolicyList": email$$security_ContentPolicyList, - "email-security_ContentPolicyTarget": email$$security_ContentPolicyTarget, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/domains/outputs.ts b/src/generated/forge-mcp/emailSecurity/domains/outputs.ts index 138931bbe..7e065b7d4 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/outputs.ts @@ -9,7 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const email$$security_DeletedDomain: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/email-security_DomainId" + "format": "uuid", + "type": "string" } }, "required": [ @@ -18,39 +19,6 @@ export const email$$security_DeletedDomain: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_DeliveryMode` in responses. - */ -export const email$$security_DeliveryMode: JsonSchema = { - "enum": [ - "DIRECT", - "BCC", - "JOURNAL", - "API", - "RETRO_SCAN" - ], - "type": "string" -}; - -/** - * The schema of `email-security_DmarcStatus` in responses. - */ -export const email$$security_DmarcStatus: JsonSchema = { - "oneOf": [ - { - "enum": [ - "none", - "good", - "invalid" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `email-security_Domain` in responses. */ @@ -58,7 +26,14 @@ export const email$$security_Domain: JsonSchema = { "properties": { "allowed_delivery_modes": { "items": { - "$ref": "#/$defs/email-security_DeliveryMode" + "enum": [ + "DIRECT", + "BCC", + "JOURNAL", + "API", + "RETRO_SCAN" + ], + "type": "string" }, "type": "array" }, @@ -73,17 +48,42 @@ export const email$$security_Domain: JsonSchema = { ] }, "created_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "dmarc_status": { - "$ref": "#/$defs/email-security_DmarcStatus" + "oneOf": [ + { + "enum": [ + "none", + "good", + "invalid" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "domain": { "type": "string" }, "drop_dispositions": { "items": { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, "type": "array" }, @@ -98,10 +98,22 @@ export const email$$security_Domain: JsonSchema = { ] }, "folder": { - "$ref": "#/$defs/email-security_ScannableFolder" + "oneOf": [ + { + "enum": [ + "AllItems", + "Inbox" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "id": { - "$ref": "#/$defs/email-security_DomainId" + "format": "uuid", + "type": "string" }, "inbox_provider": { "oneOf": [ @@ -135,13 +147,15 @@ export const email$$security_Domain: JsonSchema = { "type": "array" }, "last_modified": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "lookback_hops": { "type": "integer" }, "modified_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "o365_tenant_id": { "oneOf": [ @@ -155,7 +169,14 @@ export const email$$security_Domain: JsonSchema = { }, "regions": { "items": { - "$ref": "#/$defs/email-security_Region" + "enum": [ + "GLOBAL", + "AU", + "DE", + "IN", + "US" + ], + "type": "string" }, "type": "array" }, @@ -180,10 +201,37 @@ export const email$$security_Domain: JsonSchema = { ] }, "spf_status": { - "$ref": "#/$defs/email-security_SpfStatus" + "oneOf": [ + { + "enum": [ + "none", + "good", + "neutral", + "open", + "invalid" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "status": { - "$ref": "#/$defs/email-security_DomainStatus" + "oneOf": [ + { + "enum": [ + "PENDING", + "ACTIVE", + "FAILED", + "TIMEOUT" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "transport": { "type": "string" @@ -229,14 +277,6 @@ export const email$$security_DomainAuthorization: JsonSchema = { ] }; -/** - * The schema of `email-security_DomainId` in responses. - */ -export const email$$security_DomainId: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_DomainList` in responses. */ @@ -247,26 +287,6 @@ export const email$$security_DomainList: JsonSchema = { "type": "array" }; -/** - * The schema of `email-security_DomainStatus` in responses. - */ -export const email$$security_DomainStatus: JsonSchema = { - "oneOf": [ - { - "enum": [ - "PENDING", - "ACTIVE", - "FAILED", - "TIMEOUT" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `email-security_EmailsProcessed` in responses. */ @@ -297,56 +317,3 @@ export const email$$security_EmailsProcessed: JsonSchema = { } ] }; - -/** - * The schema of `email-security_Region` in responses. - */ -export const email$$security_Region: JsonSchema = { - "enum": [ - "GLOBAL", - "AU", - "DE", - "IN", - "US" - ], - "type": "string" -}; - -/** - * The schema of `email-security_ScannableFolder` in responses. - */ -export const email$$security_ScannableFolder: JsonSchema = { - "oneOf": [ - { - "enum": [ - "AllItems", - "Inbox" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `email-security_SpfStatus` in responses. - */ -export const email$$security_SpfStatus: JsonSchema = { - "oneOf": [ - { - "enum": [ - "none", - "good", - "neutral", - "open", - "invalid" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; diff --git a/src/generated/forge-mcp/emailSecurity/domains/schemas.ts b/src/generated/forge-mcp/emailSecurity/domains/schemas.ts index 560dcfebd..103c59bbf 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/schemas.ts @@ -11,7 +11,14 @@ export const email$$security_CreateDomain: JsonSchema = { "allowed_delivery_modes": { "description": "Delivery modes to onboard the domain through.", "items": { - "$ref": "#/$defs/email-security_DeliveryMode" + "enum": [ + "DIRECT", + "BCC", + "JOURNAL", + "API", + "RETRO_SCAN" + ], + "type": "string" }, "maxItems": 10, "minItems": 1, @@ -24,14 +31,38 @@ export const email$$security_CreateDomain: JsonSchema = { "drop_dispositions": { "description": "Dispositions to drop instead of delivering, e.g. `[\"MALICIOUS\", \"SPAM\"]`.", "items": { - "$ref": "#/$defs/email-security_DispositionLabel" + "description": "The verdict Email Security assigns to a message.", + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, "maxItems": 10, "type": "array" }, "folder": { - "$ref": "#/$defs/email-security_ScannableFolder", - "description": "The mailbox folder to scan, for API-scanning domains." + "description": "The mailbox folder to scan, for API-scanning domains.", + "oneOf": [ + { + "enum": [ + "AllItems", + "Inbox" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "integration_id": { "description": "Identifier of the CASB integration that authorizes this domain. The integration also enables API scanning, post-delivery actions, and directory sync.", @@ -67,7 +98,15 @@ export const email$$security_CreateDomain: JsonSchema = { "regions": { "description": "Regions that process messages for this domain, e.g. `[\"GLOBAL\"]` or `[\"US\"]`.", "items": { - "$ref": "#/$defs/email-security_Region" + "description": "The region that processes messages for this domain.", + "enum": [ + "GLOBAL", + "AU", + "DE", + "IN", + "US" + ], + "type": "string" }, "maxItems": 10, "minItems": 1, @@ -117,74 +156,23 @@ export const email$$security_CreateDomain: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_DeliveryMode`. - */ -export const email$$security_DeliveryMode: JsonSchema = { - "enum": [ - "DIRECT", - "BCC", - "JOURNAL", - "API", - "RETRO_SCAN" - ], - "type": "string" -}; - -/** - * The schema of `email-security_DomainId`. - */ -export const email$$security_DomainId: JsonSchema = { - "description": "Domain identifier.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `email-security_DomainStatus`. - */ -export const email$$security_DomainStatus: JsonSchema = { - "oneOf": [ - { - "enum": [ - "PENDING", - "ACTIVE", - "FAILED", - "TIMEOUT" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `email-security_Region`. - */ -export const email$$security_Region: JsonSchema = { - "description": "The region that processes messages for this domain.", - "enum": [ - "GLOBAL", - "AU", - "DE", - "IN", - "US" - ], - "type": "string" -}; - /** * The schema of `email-security_ReplaceDomain`. */ export const email$$security_ReplaceDomain: JsonSchema = { - "description": "Request body for replacing an email domain. The `domain` field is intentionally\nabsent — the domain name is immutable after creation.\n", + "description": "Request body for replacing an email domain. The `domain` field is intentionally\nabsent — the domain name is immutable after creation.", "properties": { "allowed_delivery_modes": { "description": "Delivery modes to onboard the domain through.", "items": { - "$ref": "#/$defs/email-security_DeliveryMode" + "enum": [ + "DIRECT", + "BCC", + "JOURNAL", + "API", + "RETRO_SCAN" + ], + "type": "string" }, "maxItems": 10, "minItems": 1, @@ -193,14 +181,38 @@ export const email$$security_ReplaceDomain: JsonSchema = { "drop_dispositions": { "description": "Dispositions to drop instead of delivering, e.g. `[\"MALICIOUS\", \"SPAM\"]`.", "items": { - "$ref": "#/$defs/email-security_DispositionLabel" + "description": "The verdict Email Security assigns to a message.", + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, "maxItems": 10, "type": "array" }, "folder": { - "$ref": "#/$defs/email-security_ScannableFolder", - "description": "The mailbox folder to scan, for API-scanning domains." + "description": "The mailbox folder to scan, for API-scanning domains.", + "oneOf": [ + { + "enum": [ + "AllItems", + "Inbox" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "integration_id": { "description": "Identifier of the CASB integration that authorizes this domain. The integration also enables API scanning, post-delivery actions, and directory sync.", @@ -236,7 +248,15 @@ export const email$$security_ReplaceDomain: JsonSchema = { "regions": { "description": "Regions that process messages for this domain, e.g. `[\"GLOBAL\"]` or `[\"US\"]`.", "items": { - "$ref": "#/$defs/email-security_Region" + "description": "The region that processes messages for this domain.", + "enum": [ + "GLOBAL", + "AU", + "DE", + "IN", + "US" + ], + "type": "string" }, "maxItems": 10, "minItems": 1, @@ -285,25 +305,6 @@ export const email$$security_ReplaceDomain: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_ScannableFolder`. - */ -export const email$$security_ScannableFolder: JsonSchema = { - "description": "The mailbox folder to scan, for API-scanning domains.", - "oneOf": [ - { - "enum": [ - "AllItems", - "Inbox" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `email-security_UpdateDomain`. */ @@ -312,20 +313,51 @@ export const email$$security_UpdateDomain: JsonSchema = { "allowed_delivery_modes": { "description": "Delivery modes to onboard the domain through.", "items": { - "$ref": "#/$defs/email-security_DeliveryMode" + "enum": [ + "DIRECT", + "BCC", + "JOURNAL", + "API", + "RETRO_SCAN" + ], + "type": "string" }, "type": "array" }, "drop_dispositions": { "description": "Dispositions to drop instead of delivering, e.g. `[\"MALICIOUS\", \"SPAM\"]`.", "items": { - "$ref": "#/$defs/email-security_DispositionLabel" + "description": "The verdict Email Security assigns to a message.", + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, "type": "array" }, "folder": { - "$ref": "#/$defs/email-security_ScannableFolder", - "description": "The mailbox folder to scan, for API-scanning domains." + "description": "The mailbox folder to scan, for API-scanning domains.", + "oneOf": [ + { + "enum": [ + "AllItems", + "Inbox" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "integration_id": { "description": "Identifier of the CASB integration that authorizes this domain. The integration also enables API scanning, post-delivery actions, and directory sync.", @@ -353,7 +385,15 @@ export const email$$security_UpdateDomain: JsonSchema = { "regions": { "description": "Regions that process messages for this domain, e.g. `[\"GLOBAL\"]` or `[\"US\"]`.", "items": { - "$ref": "#/$defs/email-security_Region" + "description": "The region that processes messages for this domain.", + "enum": [ + "GLOBAL", + "AU", + "DE", + "IN", + "US" + ], + "type": "string" }, "type": "array" }, diff --git a/src/generated/forge-mcp/emailSecurity/domains/tools.ts b/src/generated/forge-mcp/emailSecurity/domains/tools.ts index d59c1f7bc..4e170639c 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/tools.ts @@ -3,40 +3,22 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - email$$security_DispositionLabel, email$$security_api$$response$$collection, email$$security_api$$response$$common, email$$security_api$$response$$common$$failure, email$$security_api$$response$$single, email$$security_messages, - email$$security_timestamp, } from "../outputs.js"; -import { - email$$security_DispositionLabel as email$$security_DispositionLabel$, - email$$security_identifier, -} from "../schemas.js"; import { email$$security_DeletedDomain, - email$$security_DeliveryMode, - email$$security_DmarcStatus, email$$security_Domain, email$$security_DomainAuthorization, - email$$security_DomainId, email$$security_DomainList, - email$$security_DomainStatus, email$$security_EmailsProcessed, - email$$security_Region, - email$$security_ScannableFolder, - email$$security_SpfStatus, } from "./outputs.js"; import { email$$security_CreateDomain, - email$$security_DeliveryMode as email$$security_DeliveryMode$, - email$$security_DomainId as email$$security_DomainId$, - email$$security_DomainStatus as email$$security_DomainStatus$, - email$$security_Region as email$$security_Region$, email$$security_ReplaceDomain, - email$$security_ScannableFolder as email$$security_ScannableFolder$, email$$security_UpdateDomain, } from "./schemas.js"; @@ -47,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_domains_batch", title: "Batch domain operations", - description: "Executes multiple domain operations in a single request. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may permanently delete protection for the selected email domains. Emails for those domains will no longer be processed by Email Security.", + description: "Executes multiple domain operations in a single request. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may permanently delete protection for the selected email domains. Emails for those domains will no longer be processed by Email Security.\n\nPOST /accounts/{account_id}/email-security/settings/domains/batch", inputSchema: { type: "object", properties: { @@ -58,8 +40,9 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "description": "Domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -80,8 +63,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "description": "Domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -112,8 +96,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "description": "Domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -136,10 +121,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -152,16 +138,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateDomain": email$$security_CreateDomain, - "email-security_DeliveryMode": email$$security_DeliveryMode$, - "email-security_DispositionLabel": email$$security_DispositionLabel$, - "email-security_DomainId": email$$security_DomainId$, - "email-security_Region": email$$security_Region$, "email-security_ReplaceDomain": email$$security_ReplaceDomain, - "email-security_ScannableFolder": email$$security_ScannableFolder$, "email-security_UpdateDomain": email$$security_UpdateDomain, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -203,21 +184,12 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_DeletedDomain": email$$security_DeletedDomain, - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, "email-security_DomainList": email$$security_DomainList, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -281,22 +253,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_DeletedDomain": email$$security_DeletedDomain, - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, "email-security_DomainList": email$$security_DomainList, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -307,7 +270,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_domains_create", title: "Add a new email domain", - description: "Protects a new email domain by adding it to Email Security. Accepts a flat configuration object covering all delivery modes. Returns the newly created domain configuration.\n\nThis method is beta.", + description: "Protects a new email domain by adding it to Email Security. Accepts a flat configuration object covering all delivery modes. Returns the newly created domain configuration.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/settings/domains", inputSchema: { type: "object", properties: { @@ -315,10 +278,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateDomain" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -331,13 +295,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateDomain": email$$security_CreateDomain, - "email-security_DeliveryMode": email$$security_DeliveryMode$, - "email-security_DispositionLabel": email$$security_DispositionLabel$, - "email-security_Region": email$$security_Region$, - "email-security_ScannableFolder": email$$security_ScannableFolder$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -355,20 +315,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -408,21 +359,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -433,19 +375,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_domains_delete", title: "Unprotect an email domain", - description: "Removes email security protection from a domain. After deletion, emails for this domain will no longer be processed by Email Security. This action cannot be undone.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes protection for the email domain. Emails for this domain will no longer be processed by Email Security.", + description: "Removes email security protection from a domain. After deletion, emails for this domain will no longer be processed by Email Security. This action cannot be undone.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes protection for the email domain. Emails for this domain will no longer be processed by Email Security.\n\nDELETE /accounts/{account_id}/email-security/settings/domains/{domain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "description": "Domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -458,10 +402,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_DomainId": email$$security_DomainId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -479,7 +420,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_DeletedDomain": email$$security_DeletedDomain, - "email-security_DomainId": email$$security_DomainId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -522,7 +462,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_DeletedDomain": email$$security_DeletedDomain, - "email-security_DomainId": email$$security_DomainId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -535,7 +474,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_domains_edit", title: "Update an email domain", - description: "Updates configuration for a protected email domain. Only provided fields will be modified. Changes affect delivery mode, security settings, and regional processing.\n\nThis method is beta.", + description: "Updates configuration for a protected email domain. Only provided fields will be modified. Changes affect delivery mode, security settings, and regional processing.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/email-security/settings/domains/{domain_id}", inputSchema: { type: "object", properties: { @@ -543,14 +482,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_UpdateDomain" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "description": "Domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -564,14 +505,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode$, - "email-security_DispositionLabel": email$$security_DispositionLabel$, - "email-security_DomainId": email$$security_DomainId$, - "email-security_Region": email$$security_Region$, - "email-security_ScannableFolder": email$$security_ScannableFolder$, "email-security_UpdateDomain": email$$security_UpdateDomain, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -589,20 +525,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -642,21 +569,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -667,19 +585,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_domains_get", title: "Get an email domain", - description: "Retrieves detailed information for a specific protected email domain including its delivery configuration, SPF/DMARC status, and authorization state.\n\nThis method is beta.", + description: "Retrieves detailed information for a specific protected email domain including its delivery configuration, SPF/DMARC status, and authorization state.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/domains/{domain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "description": "Domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -692,10 +612,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_DomainId": email$$security_DomainId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -712,20 +629,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -766,21 +674,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -790,15 +689,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_domains_list", title: "List protected email domains", - description: "Returns a paginated list of email domains protected by Email Security. Includes domain configuration, delivery modes, and authorization status. Supports filtering by delivery mode and integration ID.\n\nThis method is beta.", + description: "Returns a paginated list of email domains protected by Email Security. Includes domain configuration, delivery modes, and authorization status. Supports filtering by delivery mode and integration ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/domains", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -807,14 +707,29 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "active_delivery_mode": { - "$ref": "#/$defs/email-security_DeliveryMode", - "description": "Currently active delivery mode to filter by." + "description": "Currently active delivery mode to filter by.", + "enum": [ + "DIRECT", + "BCC", + "JOURNAL", + "API", + "RETRO_SCAN" + ], + "type": "string" }, "allowed_delivery_mode": { - "$ref": "#/$defs/email-security_DeliveryMode", - "description": "Delivery mode to filter by." + "description": "Delivery mode to filter by.", + "enum": [ + "DIRECT", + "BCC", + "JOURNAL", + "API", + "RETRO_SCAN" + ], + "type": "string" }, "direction": { "description": "The sorting direction.", @@ -859,8 +774,21 @@ export const tools: readonly Tool[] = [ "type": "string" }, "status": { - "$ref": "#/$defs/email-security_DomainStatus", - "description": "Filters response to domains with the provided status." + "description": "Filters response to domains with the provided status.", + "oneOf": [ + { + "enum": [ + "PENDING", + "ACTIVE", + "FAILED", + "TIMEOUT" + ], + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" @@ -869,11 +797,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode$, - "email-security_DomainStatus": email$$security_DomainStatus$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -890,22 +814,13 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, "email-security_DomainList": email$$security_DomainList, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -946,23 +861,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, "email-security_DomainList": email$$security_DomainList, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -984,7 +890,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_domains_update", title: "Replace an email domain", - description: "Replaces all mutable fields of a protected email domain in a single atomic operation. Unlike PATCH, all non-computed fields are required.\n\nThis method is beta.", + description: "Replaces all mutable fields of a protected email domain in a single atomic operation. Unlike PATCH, all non-computed fields are required.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/email-security/settings/domains/{domain_id}", inputSchema: { type: "object", properties: { @@ -992,14 +898,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_ReplaceDomain" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "description": "Domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -1013,14 +921,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode$, - "email-security_DispositionLabel": email$$security_DispositionLabel$, - "email-security_DomainId": email$$security_DomainId$, - "email-security_Region": email$$security_Region$, "email-security_ReplaceDomain": email$$security_ReplaceDomain, - "email-security_ScannableFolder": email$$security_ScannableFolder$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -1038,20 +941,11 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -1088,21 +982,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DeliveryMode": email$$security_DeliveryMode, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_DmarcStatus": email$$security_DmarcStatus, "email-security_Domain": email$$security_Domain, "email-security_DomainAuthorization": email$$security_DomainAuthorization, - "email-security_DomainId": email$$security_DomainId, - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_EmailsProcessed": email$$security_EmailsProcessed, - "email-security_Region": email$$security_Region, - "email-security_ScannableFolder": email$$security_ScannableFolder, - "email-security_SpfStatus": email$$security_SpfStatus, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts b/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts index 4a0c2bdce..08cc092b6 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/verification/outputs.ts @@ -20,7 +20,20 @@ export const email$$security_DomainVerificationInfo: JsonSchema = { ] }, "status": { - "$ref": "#/$defs/email-security_DomainStatus" + "oneOf": [ + { + "enum": [ + "PENDING", + "ACTIVE", + "FAILED", + "TIMEOUT" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "txt_record_name": { "type": "string" diff --git a/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts b/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts index aadb68eb9..d2206d56c 100644 --- a/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/domains/verification/tools.ts @@ -7,9 +7,6 @@ import { email$$security_api$$response$$single, email$$security_messages, } from "../../outputs.js"; -import { email$$security_identifier } from "../../schemas.js"; -import { email$$security_DomainStatus } from "../outputs.js"; -import { email$$security_DomainId } from "../schemas.js"; import { email$$security_DomainVerificationInfo } from "./outputs.js"; /** @@ -19,19 +16,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_domains_verification_get", title: "Get domain verification details", - description: "Returns the DNS TXT record information when the domain ownership isn't\nverified through Cloudflare zone ownership or CASB integration.\n\nThis method is beta.", + description: "Returns the DNS TXT record information when the domain ownership isn't\nverified through Cloudflare zone ownership or CASB integration.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/domains/{domain_id}/verification", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "domain_id": { - "$ref": "#/$defs/email-security_DomainId", - "description": "Domain identifier." + "description": "Domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -44,10 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_DomainId": email$$security_DomainId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -64,7 +60,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_DomainVerificationInfo": email$$security_DomainVerificationInfo, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -108,7 +103,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DomainStatus": email$$security_DomainStatus, "email-security_DomainVerificationInfo": email$$security_DomainVerificationInfo, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, diff --git a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts index 929a571df..85995fd8d 100644 --- a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/outputs.ts @@ -9,7 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const email$$security_DeletedImpersonationRegistry: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/email-security_ImpersonationRegistryId" + "format": "uuid", + "type": "string" } }, "required": [ @@ -34,7 +35,8 @@ export const email$$security_ImpersonationRegistry: JsonSchema = { ] }, "created_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "directory_id": { "oneOf": [ @@ -70,16 +72,19 @@ export const email$$security_ImpersonationRegistry: JsonSchema = { ] }, "id": { - "$ref": "#/$defs/email-security_ImpersonationRegistryId" + "format": "uuid", + "type": "string" }, "is_email_regex": { "type": "boolean" }, "last_modified": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "modified_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "name": { "type": "string" @@ -87,7 +92,13 @@ export const email$$security_ImpersonationRegistry: JsonSchema = { "provenance": { "oneOf": [ { - "$ref": "#/$defs/email-security_Provenance" + "enum": [ + "A1S_INTERNAL", + "SNOOPY-CASB_OFFICE_365", + "SNOOPY-OFFICE_365", + "SNOOPY-GOOGLE_DIRECTORY" + ], + "type": "string" }, { "type": "null" @@ -98,14 +109,6 @@ export const email$$security_ImpersonationRegistry: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_ImpersonationRegistryId` in responses. - */ -export const email$$security_ImpersonationRegistryId: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_ImpersonationRegistryList` in responses. */ @@ -115,16 +118,3 @@ export const email$$security_ImpersonationRegistryList: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `email-security_Provenance` in responses. - */ -export const email$$security_Provenance: JsonSchema = { - "enum": [ - "A1S_INTERNAL", - "SNOOPY-CASB_OFFICE_365", - "SNOOPY-OFFICE_365", - "SNOOPY-GOOGLE_DIRECTORY" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/schemas.ts b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/schemas.ts index 1158ea560..78b65c6af 100644 --- a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/schemas.ts @@ -70,7 +70,13 @@ export const email$$security_CreateImpersonationRegistry: JsonSchema = { "description": "Source the entry was created from.", "oneOf": [ { - "$ref": "#/$defs/email-security_Provenance" + "enum": [ + "A1S_INTERNAL", + "SNOOPY-CASB_OFFICE_365", + "SNOOPY-OFFICE_365", + "SNOOPY-GOOGLE_DIRECTORY" + ], + "type": "string" }, { "type": "null" @@ -86,28 +92,6 @@ export const email$$security_CreateImpersonationRegistry: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_ImpersonationRegistryId`. - */ -export const email$$security_ImpersonationRegistryId: JsonSchema = { - "description": "Impersonation registry entry identifier.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `email-security_Provenance`. - */ -export const email$$security_Provenance: JsonSchema = { - "enum": [ - "A1S_INTERNAL", - "SNOOPY-CASB_OFFICE_365", - "SNOOPY-OFFICE_365", - "SNOOPY-GOOGLE_DIRECTORY" - ], - "type": "string" -}; - /** * The schema of `email-security_UpdateImpersonationRegistry`. */ @@ -175,7 +159,13 @@ export const email$$security_UpdateImpersonationRegistry: JsonSchema = { "description": "Source the entry was created from.", "oneOf": [ { - "$ref": "#/$defs/email-security_Provenance" + "enum": [ + "A1S_INTERNAL", + "SNOOPY-CASB_OFFICE_365", + "SNOOPY-OFFICE_365", + "SNOOPY-GOOGLE_DIRECTORY" + ], + "type": "string" }, { "type": "null" diff --git a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts index 5491d5870..f1cc1ec1c 100644 --- a/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/impersonationRegistry/tools.ts @@ -8,20 +8,14 @@ import { email$$security_api$$response$$common$$failure, email$$security_api$$response$$single, email$$security_messages, - email$$security_timestamp, } from "../outputs.js"; -import { email$$security_identifier } from "../schemas.js"; import { email$$security_DeletedImpersonationRegistry, email$$security_ImpersonationRegistry, - email$$security_ImpersonationRegistryId, email$$security_ImpersonationRegistryList, - email$$security_Provenance, } from "./outputs.js"; import { email$$security_CreateImpersonationRegistry, - email$$security_ImpersonationRegistryId as email$$security_ImpersonationRegistryId$, - email$$security_Provenance as email$$security_Provenance$, email$$security_UpdateImpersonationRegistry, } from "./schemas.js"; @@ -32,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_impersonationRegistry_create", title: "Create impersonation registry entry", - description: "Creates a new entry in the impersonation registry to protect against impersonation. Emails attempting to impersonate this identity will be flagged. Supports regex patterns for flexible email matching.\n\nThis method is beta.", + description: "Creates a new entry in the impersonation registry to protect against impersonation. Emails attempting to impersonate this identity will be flagged. Supports regex patterns for flexible email matching.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/settings/impersonation_registry", inputSchema: { type: "object", properties: { @@ -40,10 +34,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateImpersonationRegistry" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -56,10 +51,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateImpersonationRegistry": email$$security_CreateImpersonationRegistry, - "email-security_Provenance": email$$security_Provenance$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -78,11 +72,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, - "email-security_Provenance": email$$security_Provenance, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -123,12 +114,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, - "email-security_Provenance": email$$security_Provenance, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -139,19 +127,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_impersonationRegistry_delete", title: "Delete an impersonation registry entry", - description: "Removes an entry from the impersonation registry. After deletion, this identity will no longer be protected from impersonation.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the impersonation registry entry and stops protecting the identity from impersonation.", + description: "Removes an entry from the impersonation registry. After deletion, this identity will no longer be protected from impersonation.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the impersonation registry entry and stops protecting the identity from impersonation.\n\nDELETE /accounts/{account_id}/email-security/settings/impersonation_registry/{impersonation_registry_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "impersonation_registry_id": { - "$ref": "#/$defs/email-security_ImpersonationRegistryId", - "description": "Impersonation registry entry identifier." + "description": "Impersonation registry entry identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -164,10 +154,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -185,7 +172,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_DeletedImpersonationRegistry": email$$security_DeletedImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -228,7 +214,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_DeletedImpersonationRegistry": email$$security_DeletedImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -241,7 +226,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_impersonationRegistry_edit", title: "Update an impersonation registry entry", - description: "Updates an existing impersonation registry entry. Only provided fields will be modified. Directory-synced entries can't be updated.\n\nThis method is beta.", + description: "Updates an existing impersonation registry entry. Only provided fields will be modified. Directory-synced entries can't be updated.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/email-security/settings/impersonation_registry/{impersonation_registry_id}", inputSchema: { type: "object", properties: { @@ -249,14 +234,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_UpdateImpersonationRegistry" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "impersonation_registry_id": { - "$ref": "#/$defs/email-security_ImpersonationRegistryId", - "description": "Impersonation registry entry identifier." + "description": "Impersonation registry entry identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -270,11 +257,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId$, - "email-security_Provenance": email$$security_Provenance$, "email-security_UpdateImpersonationRegistry": email$$security_UpdateImpersonationRegistry, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -293,11 +278,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, - "email-security_Provenance": email$$security_Provenance, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -338,12 +320,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, - "email-security_Provenance": email$$security_Provenance, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -354,19 +333,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_impersonationRegistry_get", title: "Get an impersonation registry entry", - description: "Retrieves details for a specific impersonation registry entry including the protected identity, email pattern, and synchronization source if directory-synced.\n\nThis method is beta.", + description: "Retrieves details for a specific impersonation registry entry including the protected identity, email pattern, and synchronization source if directory-synced.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/impersonation_registry/{impersonation_registry_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "impersonation_registry_id": { - "$ref": "#/$defs/email-security_ImpersonationRegistryId", - "description": "Impersonation registry entry identifier." + "description": "Impersonation registry entry identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -379,10 +360,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -400,11 +378,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, - "email-security_Provenance": email$$security_Provenance, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -446,12 +421,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, - "email-security_Provenance": email$$security_Provenance, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -461,15 +433,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_impersonationRegistry_list", title: "List impersonation registry entries", - description: "Returns a paginated list of protected identities in the impersonation registry. These entries define identities and email addresses to protect from impersonation attacks. Can be manually added or automatically synced from directory integrations.\n\nThis method is beta.", + description: "Returns a paginated list of protected identities in the impersonation registry. These entries define identities and email addresses to protect from impersonation attacks. Can be manually added or automatically synced from directory integrations.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/impersonation_registry", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -478,6 +451,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The sorting direction.", @@ -507,7 +481,13 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "provenance": { - "$ref": "#/$defs/email-security_Provenance" + "enum": [ + "A1S_INTERNAL", + "SNOOPY-CASB_OFFICE_365", + "SNOOPY-OFFICE_365", + "SNOOPY-GOOGLE_DIRECTORY" + ], + "type": "string" }, "search": { "description": "Search term for filtering records. Behavior may change.", @@ -520,10 +500,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_Provenance": email$$security_Provenance$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -541,13 +518,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, "email-security_ImpersonationRegistryList": email$$security_ImpersonationRegistryList, - "email-security_Provenance": email$$security_Provenance, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -589,14 +563,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ImpersonationRegistry": email$$security_ImpersonationRegistry, - "email-security_ImpersonationRegistryId": email$$security_ImpersonationRegistryId, "email-security_ImpersonationRegistryList": email$$security_ImpersonationRegistryList, - "email-security_Provenance": email$$security_Provenance, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts index 6778c8904..e6d13e3b2 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/actionLog/tools.ts @@ -8,10 +8,6 @@ import { email$$security_api$$response$$common$$failure, email$$security_messages, } from "../../outputs.js"; -import { - email$$security_InvestigateId, - email$$security_identifier, -} from "../../schemas.js"; import { email$$security_ActionEntry, email$$security_ActionEntryProperties, @@ -24,19 +20,20 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_actionLog_list", title: "List post-delivery actions for a message", - description: "Returns the list of post-delivery actions (moves, quarantine releases, previews, etc.) that have been applied to a specific email message.\n\nThis method is beta.", + description: "Returns the list of post-delivery actions (moves, quarantine releases, previews, etc.) that have been applied to a specific email message.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate/{investigate_id}/action_log", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "description": "Unique identifier for a message retrieved from investigation.", + "type": "string" } }, "required": [ @@ -46,6 +43,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -64,10 +62,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts index 87c848100..fa2cdf629 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/detections/outputs.ts @@ -21,7 +21,19 @@ export const email$$security_Attachment: JsonSchema = { "detection": { "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" @@ -126,7 +138,19 @@ export const email$$security_Finding: JsonSchema = { "detection": { "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" @@ -239,7 +263,19 @@ export const email$$security_MessageDetectionDetails: JsonSchema = { "final_disposition": { "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" diff --git a/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts index ef7a1d74e..b31b8bc62 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/detections/tools.ts @@ -3,17 +3,11 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - email$$security_DispositionLabel, email$$security_Validation, - email$$security_ValidationStatus, email$$security_api$$response$$common, email$$security_api$$response$$common$$failure, email$$security_messages, } from "../../outputs.js"; -import { - email$$security_InvestigateId, - email$$security_identifier, -} from "../../schemas.js"; import { email$$security_Attachment, email$$security_Finding, @@ -30,19 +24,20 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_detections_get", title: "Get message detection details", - description: "Returns detection details such as threat categories and sender information for messages with a detection.\n\nThis method is beta.", + description: "Returns detection details such as threat categories and sender information for messages with a detection.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate/{investigate_id}/detections", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "description": "Unique identifier for a message retrieved from investigation.", + "type": "string" } }, "required": [ @@ -55,10 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -79,14 +71,12 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_Attachment": email$$security_Attachment, - "email-security_DispositionLabel": email$$security_DispositionLabel, "email-security_Finding": email$$security_Finding, "email-security_Link": email$$security_Link, "email-security_MessageDetectionDetails": email$$security_MessageDetectionDetails, "email-security_MessageHeader": email$$security_MessageHeader, "email-security_ThreatCategory": email$$security_ThreatCategory, "email-security_Validation": email$$security_Validation, - "email-security_ValidationStatus": email$$security_ValidationStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, }, @@ -133,14 +123,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_Attachment": email$$security_Attachment, - "email-security_DispositionLabel": email$$security_DispositionLabel, "email-security_Finding": email$$security_Finding, "email-security_Link": email$$security_Link, "email-security_MessageDetectionDetails": email$$security_MessageDetectionDetails, "email-security_MessageHeader": email$$security_MessageHeader, "email-security_ThreatCategory": email$$security_ThreatCategory, "email-security_Validation": email$$security_Validation, - "email-security_ValidationStatus": email$$security_ValidationStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, diff --git a/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts b/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts index 95c1381b3..27de4d263 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/outputs.ts @@ -118,10 +118,10 @@ export const email$$security_ReleaseResponse: JsonSchema = { ] }, "id": { - "$ref": "#/$defs/email-security_InvestigateId" + "type": "string" }, "postfix_id": { - "$ref": "#/$defs/email-security_PostfixId" + "type": "string" }, "undelivered": { "oneOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts index 56ff70752..0079215f4 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/preview/tools.ts @@ -7,10 +7,6 @@ import { email$$security_api$$response$$common$$failure, email$$security_messages, } from "../../outputs.js"; -import { - email$$security_InvestigateId, - email$$security_identifier, -} from "../../schemas.js"; import { email$$security_MessagePreview } from "./outputs.js"; /** @@ -20,15 +16,15 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_preview_generate", title: "Generate preview for a non-detection message", - description: "Generates a preview image for a message that was not flagged as a detection. The message is rendered from the copy in the recipient's mailbox, so this requires an active integration and only works while the message is still in the recipient's inbox. Returns a base64-encoded PNG screenshot of the email body. For messages with a detection, use the detection preview endpoint instead.\n\nThis method is beta.", + description: "Generates a preview image for a message that was not flagged as a detection. The message is rendered from the copy in the recipient's mailbox, so this requires an active integration and only works while the message is still in the recipient's inbox. Returns a base64-encoded PNG screenshot of the email body. For messages with a detection, use the detection preview endpoint instead.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/investigate/preview", inputSchema: { type: "object", properties: { "body": { "properties": { "id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "description": "Unique identifier for a message retrieved from investigation.", + "type": "string" } }, "required": [ @@ -37,10 +33,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -53,10 +50,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -135,19 +129,20 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_preview_get", title: "Get preview for a detection", - description: "Returns a preview of the message body as a base64-encoded PNG image for any message with a detection. For messages without a detection, use the non-detection preview endpoint instead.\n\nThis method is beta.", + description: "Returns a preview of the message body as a base64-encoded PNG image for any message with a detection. For messages without a detection, use the non-detection preview endpoint instead.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate/{investigate_id}/preview", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "description": "Unique identifier for a message retrieved from investigation.", + "type": "string" } }, "required": [ @@ -160,10 +155,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts index ded2d12bd..913a6d0f7 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/raw/tools.ts @@ -7,10 +7,6 @@ import { email$$security_api$$response$$common$$failure, email$$security_messages, } from "../../outputs.js"; -import { - email$$security_InvestigateId, - email$$security_identifier, -} from "../../schemas.js"; import { email$$security_MessageRaw } from "./outputs.js"; /** @@ -20,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_raw_get", title: "Get raw email content", - description: "Returns the raw EML content of any message with a detection.\n\nThis method is beta.", + description: "Returns the raw EML content of any message with a detection.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate/{investigate_id}/raw", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "description": "Unique identifier for a message retrieved from investigation.", + "type": "string" } }, "required": [ @@ -45,10 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/investigate/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/tools.ts index 033f3d13d..63f8439ee 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/tools.ts @@ -5,26 +5,12 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { email$$security_ActionLogEntry, email$$security_CursorResultInfo, - email$$security_DispositionLabel, - email$$security_InvestigateId, - email$$security_MessageDeliveryMode, - email$$security_MessageDeliveryStatus, email$$security_MessageDetails, - email$$security_PostfixId, email$$security_Validation, - email$$security_ValidationStatus, email$$security_api$$response$$common, email$$security_api$$response$$common$$failure, email$$security_messages, } from "../outputs.js"; -import { - email$$security_DispositionLabel as email$$security_DispositionLabel$, - email$$security_InvestigateId as email$$security_InvestigateId$, - email$$security_MailboxDestination, - email$$security_MessageDeliveryStatus as email$$security_MessageDeliveryStatus$, - email$$security_PostfixId as email$$security_PostfixId$, - email$$security_identifier, -} from "../schemas.js"; import { email$$security_MoveResponseItem, email$$security_ReleaseResponse, @@ -37,19 +23,20 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_get", title: "Get message details", - description: "Retrieves comprehensive details for a specific email message including headers, recipients, sender information, and current quarantine status. Use the investigate_id from search results to fetch detailed information.\n\nThis method is beta.", + description: "Retrieves comprehensive details for a specific email message including headers, recipients, sender information, and current quarantine status. Use the investigate_id from search results to fetch detailed information.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate/{investigate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "description": "Unique identifier for a message retrieved from investigation.", + "type": "string" } }, "required": [ @@ -59,6 +46,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "submission": { "description": "When true, search the submissions datastore only. When false or omitted, search the\nregular datastore only.", @@ -71,10 +59,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_InvestigateId": email$$security_InvestigateId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -95,14 +80,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_ActionLogEntry": email$$security_ActionLogEntry, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_MessageDetails": email$$security_MessageDetails, - "email-security_PostfixId": email$$security_PostfixId, "email-security_Validation": email$$security_Validation, - "email-security_ValidationStatus": email$$security_ValidationStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, }, @@ -149,14 +128,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_ActionLogEntry": email$$security_ActionLogEntry, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_MessageDetails": email$$security_MessageDetails, - "email-security_PostfixId": email$$security_PostfixId, "email-security_Validation": email$$security_Validation, - "email-security_ValidationStatus": email$$security_ValidationStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, @@ -172,15 +145,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_list", title: "Search email messages", - description: "Returns information for each email that matches the provided search parameters.\n\nThis method is beta.", + description: "Returns information for each email that matches the provided search parameters.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -189,6 +163,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "alert_id": { "description": "Filter by alert ID.", @@ -199,8 +174,18 @@ export const tools: readonly Tool[] = [ "type": "string" }, "delivery_status": { - "$ref": "#/$defs/email-security_MessageDeliveryStatus", - "description": "Delivery status to filter by." + "description": "Delivery status to filter by.", + "enum": [ + "delivered", + "moved", + "quarantined", + "rejected", + "deferred", + "bounced", + "queued", + "move_failed" + ], + "type": "string" }, "detections_only": { "default": true, @@ -295,10 +280,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "anyOf": [ @@ -357,14 +339,8 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_ActionLogEntry": email$$security_ActionLogEntry, "email-security_CursorResultInfo": email$$security_CursorResultInfo, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_MessageDetails": email$$security_MessageDetails, - "email-security_PostfixId": email$$security_PostfixId, "email-security_Validation": email$$security_Validation, - "email-security_ValidationStatus": email$$security_ValidationStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, }, @@ -445,14 +421,8 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_ActionLogEntry": email$$security_ActionLogEntry, "email-security_CursorResultInfo": email$$security_CursorResultInfo, - "email-security_DispositionLabel": email$$security_DispositionLabel, - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_MessageDeliveryMode": email$$security_MessageDeliveryMode, - "email-security_MessageDeliveryStatus": email$$security_MessageDeliveryStatus, "email-security_MessageDetails": email$$security_MessageDetails, - "email-security_PostfixId": email$$security_PostfixId, "email-security_Validation": email$$security_Validation, - "email-security_ValidationStatus": email$$security_ValidationStatus, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, @@ -485,22 +455,42 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_move", title: "Move messages", - description: "Moves one or more messages to a specified mailbox folder (Inbox, JunkEmail, DeletedItems, RecoverableItemsDeletions, or RecoverableItemsPurges). Requires active integration. Operates on an explicit list of messages; to move all messages matching a search, create a bulk action job instead.\n\nThis method is beta.", + description: "Moves one or more messages to a specified mailbox folder (Inbox, JunkEmail, DeletedItems, RecoverableItemsDeletions, or RecoverableItemsPurges). Requires active integration. Operates on an explicit list of messages; to move all messages matching a search, create a bulk action job instead.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/investigate/move", inputSchema: { type: "object", properties: { "body": { "properties": { "destination": { - "$ref": "#/$defs/email-security_MailboxDestination", - "description": "The mailbox folder to move messages to." + "description": "The mailbox folder to move messages to.", + "enum": [ + "Inbox", + "JunkEmail", + "DeletedItems", + "RecoverableItemsDeletions", + "RecoverableItemsPurges" + ], + "type": "string" }, "expected_disposition": { "deprecated": true, "description": "Nonfunctional field. End of life: December 1, 2026.", "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "description": "The verdict Email Security assigns to a message.", + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" @@ -510,7 +500,8 @@ export const tools: readonly Tool[] = [ "ids": { "description": "List of message IDs to move.", "items": { - "$ref": "#/$defs/email-security_InvestigateId" + "description": "Unique identifier for a message retrieved from investigation.", + "type": "string" }, "maxItems": 1000, "minItems": 1, @@ -520,7 +511,8 @@ export const tools: readonly Tool[] = [ "deprecated": true, "description": "Deprecated, use `ids` instead. End of life: November 1, 2026.", "items": { - "$ref": "#/$defs/email-security_PostfixId" + "description": "The identifier of the message.", + "type": "string" }, "type": "array" } @@ -532,10 +524,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -548,13 +541,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "email-security_DispositionLabel": email$$security_DispositionLabel$, - "email-security_InvestigateId": email$$security_InvestigateId$, - "email-security_MailboxDestination": email$$security_MailboxDestination, - "email-security_PostfixId": email$$security_PostfixId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -639,7 +626,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_release", title: "Release messages from quarantine", - description: "Delivers one or more quarantined messages to their intended recipients, for cases where a message was incorrectly quarantined. Operates on an explicit list of messages; to release all messages matching a search, create a bulk action job instead. The response includes delivery status for each recipient.\n\nThis method is beta.", + description: "Delivers one or more quarantined messages to their intended recipients, for cases where a message was incorrectly quarantined. Operates on an explicit list of messages; to release all messages matching a search, create a bulk action job instead. The response includes delivery status for each recipient.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/investigate/release", inputSchema: { type: "object", properties: { @@ -649,7 +636,8 @@ export const tools: readonly Tool[] = [ "ids": { "description": "Investigate IDs of the messages to release.", "items": { - "$ref": "#/$defs/email-security_InvestigateId" + "description": "Unique identifier for a message retrieved from investigation.", + "type": "string" }, "minItems": 1, "type": "array" @@ -661,10 +649,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -677,10 +666,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "email-security_InvestigateId": email$$security_InvestigateId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -703,8 +689,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_PostfixId": email$$security_PostfixId, "email-security_ReleaseResponse": email$$security_ReleaseResponse, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, @@ -753,8 +737,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_PostfixId": email$$security_PostfixId, "email-security_ReleaseResponse": email$$security_ReleaseResponse, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, diff --git a/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts b/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts index 355943bd3..96e82aff1 100644 --- a/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/investigate/trace/tools.ts @@ -7,10 +7,6 @@ import { email$$security_api$$response$$common$$failure, email$$security_messages, } from "../../outputs.js"; -import { - email$$security_InvestigateId, - email$$security_identifier, -} from "../../schemas.js"; import { email$$security_MessageTrace, email$$security_TraceLine, @@ -23,19 +19,20 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_investigate_trace_get", title: "Get email trace", - description: "Retrieves delivery and processing trace information for an email message. Shows the delivery path, retraction history, and move operations performed on the message. Useful for debugging delivery issues.\n\nThis method is beta.", + description: "Retrieves delivery and processing trace information for an email message. Shows the delivery path, retraction history, and move operations performed on the message. Useful for debugging delivery issues.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/investigate/{investigate_id}/trace", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "investigate_id": { - "$ref": "#/$defs/email-security_InvestigateId", - "description": "Unique identifier for a message retrieved from investigation." + "description": "Unique identifier for a message retrieved from investigation.", + "type": "string" } }, "required": [ @@ -48,10 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_InvestigateId": email$$security_InvestigateId, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/emailSecurity/outputs.ts b/src/generated/forge-mcp/emailSecurity/outputs.ts index 3051d0a33..dc0935652 100644 --- a/src/generated/forge-mcp/emailSecurity/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/outputs.ts @@ -101,90 +101,6 @@ export const email$$security_CursorResultInfo: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_DispositionLabel` in responses. - */ -export const email$$security_DispositionLabel: JsonSchema = { - "enum": [ - "MALICIOUS", - "MALICIOUS-BEC", - "SUSPICIOUS", - "SPOOF", - "SPAM", - "BULK", - "ENCRYPTED", - "EXTERNAL", - "UNKNOWN", - "NONE" - ], - "type": "string" -}; - -/** - * The schema of `email-security_InvestigateId` in responses. - */ -export const email$$security_InvestigateId: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `email-security_MailboxDestination` in responses. - */ -export const email$$security_MailboxDestination: JsonSchema = { - "enum": [ - "Inbox", - "JunkEmail", - "DeletedItems", - "RecoverableItemsDeletions", - "RecoverableItemsPurges" - ], - "type": "string" -}; - -/** - * The schema of `email-security_MessageDeliveryMode` in responses. - */ -export const email$$security_MessageDeliveryMode: JsonSchema = { - "oneOf": [ - { - "enum": [ - "DIRECT", - "BCC", - "JOURNAL", - "REVIEW_SUBMISSION", - "DMARC_UNVERIFIED", - "DMARC_FAILURE_REPORT", - "DMARC_AGGREGATE_REPORT", - "THREAT_INTEL_SUBMISSION", - "SIMULATION_SUBMISSION", - "API", - "RETRO_SCAN" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `email-security_MessageDeliveryStatus` in responses. - */ -export const email$$security_MessageDeliveryStatus: JsonSchema = { - "enum": [ - "delivered", - "moved", - "quarantined", - "rejected", - "deferred", - "bounced", - "queued", - "move_failed" - ], - "type": "string" -}; - /** * The schema of `email-security_MessageDetails` in responses. */ @@ -215,7 +131,27 @@ export const email$$security_MessageDetails: JsonSchema = { "delivery_mode": { "oneOf": [ { - "$ref": "#/$defs/email-security_MessageDeliveryMode" + "oneOf": [ + { + "enum": [ + "DIRECT", + "BCC", + "JOURNAL", + "REVIEW_SUBMISSION", + "DMARC_UNVERIFIED", + "DMARC_FAILURE_REPORT", + "DMARC_AGGREGATE_REPORT", + "THREAT_INTEL_SUBMISSION", + "SIMULATION_SUBMISSION", + "API", + "RETRO_SCAN" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, { "type": "null" @@ -226,7 +162,17 @@ export const email$$security_MessageDetails: JsonSchema = { "oneOf": [ { "items": { - "$ref": "#/$defs/email-security_MessageDeliveryStatus" + "enum": [ + "delivered", + "moved", + "quarantined", + "rejected", + "deferred", + "bounced", + "queued", + "move_failed" + ], + "type": "string" }, "type": "array" }, @@ -277,7 +223,19 @@ export const email$$security_MessageDetails: JsonSchema = { "final_disposition": { "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" @@ -312,7 +270,19 @@ export const email$$security_MessageDetails: JsonSchema = { "detection": { "oneOf": [ { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, { "type": "null" @@ -420,7 +390,7 @@ export const email$$security_MessageDetails: JsonSchema = { ] }, "id": { - "$ref": "#/$defs/email-security_InvestigateId" + "type": "string" }, "is_phish_submission": { "type": "boolean" @@ -458,7 +428,7 @@ export const email$$security_MessageDetails: JsonSchema = { ] }, "postfix_id": { - "$ref": "#/$defs/email-security_PostfixId" + "type": "string" }, "postfix_id_outbound": { "oneOf": [ @@ -694,26 +664,6 @@ export const email$$security_MessageDetails: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_PatternType` in responses. - */ -export const email$$security_PatternType: JsonSchema = { - "enum": [ - "EMAIL", - "DOMAIN", - "IP", - "UNKNOWN" - ], - "type": "string" -}; - -/** - * The schema of `email-security_PostfixId` in responses. - */ -export const email$$security_PostfixId: JsonSchema = { - "type": "string" -}; - /** * The schema of `email-security_Validation` in responses. */ @@ -732,7 +682,21 @@ export const email$$security_Validation: JsonSchema = { "dkim": { "oneOf": [ { - "$ref": "#/$defs/email-security_ValidationStatus" + "oneOf": [ + { + "enum": [ + "pass", + "neutral", + "fail", + "error", + "none" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, { "type": "null" @@ -742,7 +706,21 @@ export const email$$security_Validation: JsonSchema = { "dmarc": { "oneOf": [ { - "$ref": "#/$defs/email-security_ValidationStatus" + "oneOf": [ + { + "enum": [ + "pass", + "neutral", + "fail", + "error", + "none" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, { "type": "null" @@ -752,7 +730,21 @@ export const email$$security_Validation: JsonSchema = { "spf": { "oneOf": [ { - "$ref": "#/$defs/email-security_ValidationStatus" + "oneOf": [ + { + "enum": [ + "pass", + "neutral", + "fail", + "error", + "none" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, { "type": "null" @@ -763,27 +755,6 @@ export const email$$security_Validation: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_ValidationStatus` in responses. - */ -export const email$$security_ValidationStatus: JsonSchema = { - "oneOf": [ - { - "enum": [ - "pass", - "neutral", - "fail", - "error", - "none" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `email-security_api-response-collection` in responses. */ @@ -931,11 +902,3 @@ export const email$$security_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `email-security_timestamp` in responses. - */ -export const email$$security_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts b/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts index 3998b6b06..45a6c6037 100644 --- a/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/phishguard/reports/outputs.ts @@ -23,7 +23,19 @@ export const email$$security_PhishGuardReport: JsonSchema = { ] }, "disposition": { - "$ref": "#/$defs/email-security_DispositionLabel" + "enum": [ + "MALICIOUS", + "MALICIOUS-BEC", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "ENCRYPTED", + "EXTERNAL", + "UNKNOWN", + "NONE" + ], + "type": "string" }, "fields": { "properties": { diff --git a/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts b/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts index c86915c89..fb6a90597 100644 --- a/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/phishguard/reports/tools.ts @@ -3,13 +3,11 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - email$$security_DispositionLabel, email$$security_api$$response$$collection, email$$security_api$$response$$common, email$$security_api$$response$$common$$failure, email$$security_messages, } from "../../outputs.js"; -import { email$$security_identifier } from "../../schemas.js"; import { email$$security_PhishGuardReport, email$$security_PhishGuardReportTag, @@ -22,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_phishguard_reports_list", title: "List PhishGuard reports", - description: "Retrieves PhishGuard security alert reports for a specified date range. Reports include detected threats, dispositions, and contextual information. Use for security monitoring and threat analysis.\n\nThis method is beta.", + description: "Retrieves PhishGuard security alert reports for a specified date range. Reports include detected threats, dispositions, and contextual information. Use for security monitoring and threat analysis.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/phishguard/reports", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -39,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "end": { "description": "End of the time range (RFC3339). Takes precedence over to_date.", @@ -79,9 +79,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -104,7 +102,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_DispositionLabel": email$$security_DispositionLabel, "email-security_PhishGuardReport": email$$security_PhishGuardReport, "email-security_PhishGuardReportTag": email$$security_PhishGuardReportTag, "email-security_api-response-collection": email$$security_api$$response$$collection, @@ -156,7 +153,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_DispositionLabel": email$$security_DispositionLabel, "email-security_PhishGuardReport": email$$security_PhishGuardReport, "email-security_PhishGuardReportTag": email$$security_PhishGuardReportTag, "email-security_api-response-collection": email$$security_api$$response$$collection, diff --git a/src/generated/forge-mcp/emailSecurity/schemas.ts b/src/generated/forge-mcp/emailSecurity/schemas.ts deleted file mode 100644 index 8b12ff2db..000000000 --- a/src/generated/forge-mcp/emailSecurity/schemas.ts +++ /dev/null @@ -1,95 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `email-security_DispositionLabel`. - */ -export const email$$security_DispositionLabel: JsonSchema = { - "description": "The verdict Email Security assigns to a message.", - "enum": [ - "MALICIOUS", - "MALICIOUS-BEC", - "SUSPICIOUS", - "SPOOF", - "SPAM", - "BULK", - "ENCRYPTED", - "EXTERNAL", - "UNKNOWN", - "NONE" - ], - "type": "string" -}; - -/** - * The schema of `email-security_InvestigateId`. - */ -export const email$$security_InvestigateId: JsonSchema = { - "description": "Unique identifier for a message retrieved from investigation.", - "type": "string" -}; - -/** - * The schema of `email-security_MailboxDestination`. - */ -export const email$$security_MailboxDestination: JsonSchema = { - "description": "The mailbox folder to move messages to.", - "enum": [ - "Inbox", - "JunkEmail", - "DeletedItems", - "RecoverableItemsDeletions", - "RecoverableItemsPurges" - ], - "type": "string" -}; - -/** - * The schema of `email-security_MessageDeliveryStatus`. - */ -export const email$$security_MessageDeliveryStatus: JsonSchema = { - "description": "Delivery status of the message.", - "enum": [ - "delivered", - "moved", - "quarantined", - "rejected", - "deferred", - "bounced", - "queued", - "move_failed" - ], - "type": "string" -}; - -/** - * The schema of `email-security_PatternType`. - */ -export const email$$security_PatternType: JsonSchema = { - "description": "Type of pattern matching.\n- EMAIL: matches a full email address (e.g. `user@example.com`)\n- DOMAIN: matches a domain name (e.g. `example.com`)\n- IP: matches a plain IPv4 or IPv6 address (e.g. `1.2.3.4` or `2606:4700:4700::1111`) or CIDR block (e.g. `1.2.3.0/24` or `2606:4700:4700::/48`). The API rejects private or unique-local, loopback, link-local, unspecified, and IPv4 broadcast addresses, including their IPv4-mapped IPv6 equivalents.\n- UNKNOWN: deprecated; you cannot use this when creating or updating policies, but it may appear on existing entries.\n", - "enum": [ - "EMAIL", - "DOMAIN", - "IP", - "UNKNOWN" - ], - "type": "string" -}; - -/** - * The schema of `email-security_PostfixId`. - */ -export const email$$security_PostfixId: JsonSchema = { - "description": "The identifier of the message.", - "type": "string" -}; - -/** - * The schema of `email-security_identifier`. - */ -export const email$$security_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts index aaba6e03b..b7460bbea 100644 --- a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/outputs.ts @@ -9,7 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const email$$security_DeletedSendingDomainRestriction: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/email-security_SendingDomainRestrictionId" + "format": "uuid", + "type": "string" } }, "required": [ @@ -34,7 +35,8 @@ export const email$$security_SendingDomainRestriction: JsonSchema = { ] }, "created_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "domain": { "type": "string" @@ -46,26 +48,21 @@ export const email$$security_SendingDomainRestriction: JsonSchema = { "type": "array" }, "id": { - "$ref": "#/$defs/email-security_SendingDomainRestrictionId" + "format": "uuid", + "type": "string" }, "last_modified": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "modified_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" }; -/** - * The schema of `email-security_SendingDomainRestrictionId` in responses. - */ -export const email$$security_SendingDomainRestrictionId: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_SendingDomainRestrictionList` in responses. */ diff --git a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/schemas.ts b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/schemas.ts index 40db614b2..83509ae24 100644 --- a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/schemas.ts @@ -38,15 +38,6 @@ export const email$$security_CreateSendingDomainRestriction: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_SendingDomainRestrictionId`. - */ -export const email$$security_SendingDomainRestrictionId: JsonSchema = { - "description": "Sending domain restriction identifier.", - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_UpdateSendingDomainRestriction`. */ diff --git a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts index 2d98701db..f4185daae 100644 --- a/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/sendingDomainRestrictions/tools.ts @@ -8,18 +8,14 @@ import { email$$security_api$$response$$common$$failure, email$$security_api$$response$$single, email$$security_messages, - email$$security_timestamp, } from "../outputs.js"; -import { email$$security_identifier } from "../schemas.js"; import { email$$security_DeletedSendingDomainRestriction, email$$security_SendingDomainRestriction, - email$$security_SendingDomainRestrictionId, email$$security_SendingDomainRestrictionList, } from "./outputs.js"; import { email$$security_CreateSendingDomainRestriction, - email$$security_SendingDomainRestrictionId as email$$security_SendingDomainRestrictionId$, email$$security_UpdateSendingDomainRestriction, } from "./schemas.js"; @@ -30,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_sendingDomainRestrictions_create", title: "Create a sending domain restriction", - description: "Creates a new sending domain restriction to enforce TLS requirements for a domain. Emails without TLS from this domain will be dropped unless the subdomain is in the exclude list.\n\nThis method is beta.", + description: "Creates a new sending domain restriction to enforce TLS requirements for a domain. Emails without TLS from this domain will be dropped unless the subdomain is in the exclude list.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/settings/sending_domain_restrictions", inputSchema: { type: "object", properties: { @@ -38,10 +34,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateSendingDomainRestriction" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -54,9 +51,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateSendingDomainRestriction": email$$security_CreateSendingDomainRestriction, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -75,10 +72,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -119,11 +114,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -134,19 +127,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_sendingDomainRestrictions_delete", title: "Delete a sending domain restriction", - description: "Removes a sending domain restriction. After deletion, TLS will no longer be enforced for emails from this domain.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the sending domain restriction and removes TLS enforcement for emails from this domain.", + description: "Removes a sending domain restriction. After deletion, TLS will no longer be enforced for emails from this domain.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the sending domain restriction and removes TLS enforcement for emails from this domain.\n\nDELETE /accounts/{account_id}/email-security/settings/sending_domain_restrictions/{sending_domain_restriction_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "sending_domain_restriction_id": { - "$ref": "#/$defs/email-security_SendingDomainRestrictionId", - "description": "Sending domain restriction identifier." + "description": "Sending domain restriction identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -159,10 +154,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -180,7 +172,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_DeletedSendingDomainRestriction": email$$security_DeletedSendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -223,7 +214,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_DeletedSendingDomainRestriction": email$$security_DeletedSendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -236,7 +226,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_sendingDomainRestrictions_edit", title: "Update a sending domain restriction", - description: "Updates an existing sending domain restriction. Only provided fields will be modified. Changes affect which domains require TLS and which subdomains are excluded.\n\nThis method is beta.", + description: "Updates an existing sending domain restriction. Only provided fields will be modified. Changes affect which domains require TLS and which subdomains are excluded.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/email-security/settings/sending_domain_restrictions/{sending_domain_restriction_id}", inputSchema: { type: "object", properties: { @@ -244,14 +234,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_UpdateSendingDomainRestriction" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "sending_domain_restriction_id": { - "$ref": "#/$defs/email-security_SendingDomainRestrictionId", - "description": "Sending domain restriction identifier." + "description": "Sending domain restriction identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -265,10 +257,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId$, "email-security_UpdateSendingDomainRestriction": email$$security_UpdateSendingDomainRestriction, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -287,10 +278,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -331,11 +320,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -346,19 +333,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_sendingDomainRestrictions_get", title: "Get a sending domain restriction", - description: "Retrieves details for a specific sending domain restriction including the domain requiring TLS and any excluded subdomains exempt from the TLS requirement.\n\nThis method is beta.", + description: "Retrieves details for a specific sending domain restriction including the domain requiring TLS and any excluded subdomains exempt from the TLS requirement.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/sending_domain_restrictions/{sending_domain_restriction_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "sending_domain_restriction_id": { - "$ref": "#/$defs/email-security_SendingDomainRestrictionId", - "description": "Sending domain restriction identifier." + "description": "Sending domain restriction identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -371,10 +360,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -392,10 +378,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -437,11 +421,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -451,15 +433,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_sendingDomainRestrictions_list", title: "List sending domain restrictions", - description: "Returns a paginated list of sending domain restrictions. These restrictions enforce TLS requirements for emails from specific domains. Mail without TLS from restricted domains will be dropped unless the subdomain is in the exclude list. Supports sorting and searching.\n\nThis method is beta.", + description: "Returns a paginated list of sending domain restrictions. These restrictions enforce TLS requirements for emails from specific domains. Mail without TLS from restricted domains will be dropped unless the subdomain is in the exclude list. Supports sorting and searching.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/sending_domain_restrictions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -468,6 +451,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The sorting direction.", @@ -506,9 +490,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -526,12 +508,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_SendingDomainRestrictionList": email$$security_SendingDomainRestrictionList, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -573,13 +553,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_SendingDomainRestriction": email$$security_SendingDomainRestriction, - "email-security_SendingDomainRestrictionId": email$$security_SendingDomainRestrictionId, "email-security_SendingDomainRestrictionList": email$$security_SendingDomainRestrictionList, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts b/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts index 2361594b2..a4a5e6188 100644 --- a/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/submissions/outputs.ts @@ -3,49 +3,43 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `email-security_CustomerStatus` in responses. - */ -export const email$$security_CustomerStatus: JsonSchema = { - "oneOf": [ - { - "enum": [ - "escalated", - "reviewed", - "unreviewed" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `email-security_OptionalSubmissionDisposition` in responses. - */ -export const email$$security_OptionalSubmissionDisposition: JsonSchema = { - "oneOf": [ - { - "$ref": "#/$defs/email-security_SubmissionDisposition" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `email-security_Submission` in responses. */ export const email$$security_Submission: JsonSchema = { "properties": { "customer_status": { - "$ref": "#/$defs/email-security_CustomerStatus" + "oneOf": [ + { + "enum": [ + "escalated", + "reviewed", + "unreviewed" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "escalated_as": { - "$ref": "#/$defs/email-security_OptionalSubmissionDisposition" + "oneOf": [ + { + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "escalated_at": { "oneOf": [ @@ -79,7 +73,22 @@ export const email$$security_Submission: JsonSchema = { ] }, "original_disposition": { - "$ref": "#/$defs/email-security_OptionalSubmissionDisposition" + "oneOf": [ + { + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "original_edf_hash": { "oneOf": [ @@ -112,7 +121,22 @@ export const email$$security_Submission: JsonSchema = { ] }, "outcome_disposition": { - "$ref": "#/$defs/email-security_OptionalSubmissionDisposition" + "oneOf": [ + { + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "requested_at": { "format": "date-time", @@ -129,7 +153,22 @@ export const email$$security_Submission: JsonSchema = { ] }, "requested_disposition": { - "$ref": "#/$defs/email-security_OptionalSubmissionDisposition" + "oneOf": [ + { + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "requested_ts": { "type": "string" @@ -179,21 +218,6 @@ export const email$$security_Submission: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_SubmissionDisposition` in responses. - */ -export const email$$security_SubmissionDisposition: JsonSchema = { - "enum": [ - "MALICIOUS", - "SUSPICIOUS", - "SPOOF", - "SPAM", - "BULK", - "NONE" - ], - "type": "string" -}; - /** * The schema of `email-security_SubmissionResult` in responses. */ diff --git a/src/generated/forge-mcp/emailSecurity/submissions/schemas.ts b/src/generated/forge-mcp/emailSecurity/submissions/schemas.ts index 8b3f7f435..b452ad1f7 100644 --- a/src/generated/forge-mcp/emailSecurity/submissions/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/submissions/schemas.ts @@ -17,16 +17,24 @@ export const email$$security_MissedDetectionSubmission: JsonSchema = { "type": "string" }, "expected_disposition": { - "$ref": "#/$defs/email-security_SubmissionDisposition", - "description": "The disposition a message is submitted to have." + "description": "The disposition a message is submitted to have.", + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" }, "message_id": { "description": "Message-ID header value of the reported message.", "type": "string" }, "postfix_id": { - "$ref": "#/$defs/email-security_PostfixId", - "description": "The identifier of the message." + "description": "The identifier of the message.", + "type": "string" }, "recipient_emails": { "description": "Recipient email addresses of the reported message.", @@ -60,8 +68,16 @@ export const email$$security_ReclassificationSubmission: JsonSchema = { "type": "string" }, "expected_disposition": { - "$ref": "#/$defs/email-security_SubmissionDisposition", - "description": "The disposition a message is submitted to have." + "description": "The disposition a message is submitted to have.", + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" } }, "required": [ @@ -70,19 +86,3 @@ export const email$$security_ReclassificationSubmission: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `email-security_SubmissionDisposition`. - */ -export const email$$security_SubmissionDisposition: JsonSchema = { - "description": "The disposition a message is submitted to have.", - "enum": [ - "MALICIOUS", - "SUSPICIOUS", - "SPOOF", - "SPAM", - "BULK", - "NONE" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailSecurity/submissions/tools.ts b/src/generated/forge-mcp/emailSecurity/submissions/tools.ts index ce092b5df..b9ba38c28 100644 --- a/src/generated/forge-mcp/emailSecurity/submissions/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/submissions/tools.ts @@ -9,20 +9,12 @@ import { email$$security_messages, } from "../outputs.js"; import { - email$$security_PostfixId, - email$$security_identifier, -} from "../schemas.js"; -import { - email$$security_CustomerStatus, - email$$security_OptionalSubmissionDisposition, email$$security_Submission, - email$$security_SubmissionDisposition, email$$security_SubmissionResult, } from "./outputs.js"; import { email$$security_MissedDetectionSubmission, email$$security_ReclassificationSubmission, - email$$security_SubmissionDisposition as email$$security_SubmissionDisposition$, } from "./schemas.js"; /** @@ -32,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_submissions_create", title: "Create new submissions", - description: "Submits messages for reclassification or to report missed detections.\n\nThis method is beta.", + description: "Submits messages for reclassification or to report missed detections.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/submissions", inputSchema: { type: "object", properties: { @@ -83,10 +75,11 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -99,12 +92,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_MissedDetectionSubmission": email$$security_MissedDetectionSubmission, - "email-security_PostfixId": email$$security_PostfixId, "email-security_ReclassificationSubmission": email$$security_ReclassificationSubmission, - "email-security_SubmissionDisposition": email$$security_SubmissionDisposition$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -203,15 +194,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_submissions_list", title: "List reclassify submissions", - description: "Returns information for submissions made to reclassify emails. Shows the status, outcome, and disposition changes for reclassification requests made by users or the security team. Useful for tracking false positive/negative reports.\n\nThis method is beta.", + description: "Returns information for submissions made to reclassify emails. Shows the status, outcome, and disposition changes for reclassification requests made by users or the security team. Useful for tracking false positive/negative reports.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/submissions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -220,6 +212,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The sorting direction.", @@ -252,12 +245,28 @@ export const tools: readonly Tool[] = [ "type": "string" }, "original_disposition": { - "$ref": "#/$defs/email-security_SubmissionDisposition", - "description": "The disposition a message is submitted to have." + "description": "The disposition a message is submitted to have.", + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" }, "outcome_disposition": { - "$ref": "#/$defs/email-security_SubmissionDisposition", - "description": "The disposition a message is submitted to have." + "description": "The disposition a message is submitted to have.", + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" }, "page": { "default": 1, @@ -281,8 +290,16 @@ export const tools: readonly Tool[] = [ ] }, "requested_disposition": { - "$ref": "#/$defs/email-security_SubmissionDisposition", - "description": "The disposition a message is submitted to have." + "description": "The disposition a message is submitted to have.", + "enum": [ + "MALICIOUS", + "SUSPICIOUS", + "SPOOF", + "SPAM", + "BULK", + "NONE" + ], + "type": "string" }, "start": { "description": "The beginning of the search date range. Defaults to `now - 30 days`.", @@ -312,10 +329,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_SubmissionDisposition": email$$security_SubmissionDisposition$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -335,10 +349,7 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "email-security_CustomerStatus": email$$security_CustomerStatus, - "email-security_OptionalSubmissionDisposition": email$$security_OptionalSubmissionDisposition, "email-security_Submission": email$$security_Submission, - "email-security_SubmissionDisposition": email$$security_SubmissionDisposition, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, @@ -382,10 +393,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "email-security_CustomerStatus": email$$security_CustomerStatus, - "email-security_OptionalSubmissionDisposition": email$$security_OptionalSubmissionDisposition, "email-security_Submission": email$$security_Submission, - "email-security_SubmissionDisposition": email$$security_SubmissionDisposition, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, diff --git a/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts b/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts index 70aac0f32..241150ead 100644 --- a/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/trustedDomains/outputs.ts @@ -9,7 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const email$$security_DeletedTrustedDomain: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/email-security_TrustedDomainId" + "format": "uuid", + "type": "string" } }, "required": [ @@ -34,10 +35,12 @@ export const email$$security_TrustedDomain: JsonSchema = { ] }, "created_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/email-security_TrustedDomainId" + "format": "uuid", + "type": "string" }, "is_recent": { "type": "boolean" @@ -49,10 +52,12 @@ export const email$$security_TrustedDomain: JsonSchema = { "type": "boolean" }, "last_modified": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "modified_at": { - "$ref": "#/$defs/email-security_timestamp" + "format": "date-time", + "type": "string" }, "pattern": { "type": "string" @@ -61,14 +66,6 @@ export const email$$security_TrustedDomain: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_TrustedDomainId` in responses. - */ -export const email$$security_TrustedDomainId: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_TrustedDomainList` in responses. */ diff --git a/src/generated/forge-mcp/emailSecurity/trustedDomains/schemas.ts b/src/generated/forge-mcp/emailSecurity/trustedDomains/schemas.ts index cb343c952..d5343361d 100644 --- a/src/generated/forge-mcp/emailSecurity/trustedDomains/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/trustedDomains/schemas.ts @@ -45,15 +45,6 @@ export const email$$security_CreateTrustedDomain: JsonSchema = { "type": "object" }; -/** - * The schema of `email-security_TrustedDomainId`. - */ -export const email$$security_TrustedDomainId: JsonSchema = { - "description": "Trusted domain identifier.", - "format": "uuid", - "type": "string" -}; - /** * The schema of `email-security_UpdateTrustedDomain`. */ diff --git a/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts b/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts index 431067e7b..edd5f956d 100644 --- a/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/trustedDomains/tools.ts @@ -8,18 +8,14 @@ import { email$$security_api$$response$$common$$failure, email$$security_api$$response$$single, email$$security_messages, - email$$security_timestamp, } from "../outputs.js"; -import { email$$security_identifier } from "../schemas.js"; import { email$$security_DeletedTrustedDomain, email$$security_TrustedDomain, - email$$security_TrustedDomainId, email$$security_TrustedDomainList, } from "./outputs.js"; import { email$$security_CreateTrustedDomain, - email$$security_TrustedDomainId as email$$security_TrustedDomainId$, email$$security_UpdateTrustedDomain, } from "./schemas.js"; @@ -30,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_trustedDomains_batch", title: "Batch trusted domain operations", - description: "Executes multiple trusted domain operations atomically: delete, partially update,\nreplace, and create trusted domain patterns in a single request. All four operation\narrays (deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected trusted domain patterns and restore normal recent domain and similarity checks for matching emails.", + description: "Executes multiple trusted domain operations atomically: delete, partially update,\nreplace, and create trusted domain patterns in a single request. All four operation\narrays (deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected trusted domain patterns and restore normal recent domain and similarity checks for matching emails.\n\nPOST /accounts/{account_id}/email-security/settings/trusted_domains/batch", inputSchema: { type: "object", properties: { @@ -41,8 +37,9 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/email-security_TrustedDomainId", - "description": "Trusted domain identifier." + "description": "Trusted domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -63,7 +60,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_TrustedDomainId" + "description": "Trusted domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -94,7 +93,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_TrustedDomainId" + "description": "Trusted domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -117,10 +118,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -133,11 +135,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateTrustedDomain": email$$security_CreateTrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId$, "email-security_UpdateTrustedDomain": email$$security_UpdateTrustedDomain, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -174,11 +175,9 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_DeletedTrustedDomain": email$$security_DeletedTrustedDomain, "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_TrustedDomainList": email$$security_TrustedDomainList, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -237,12 +236,10 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_DeletedTrustedDomain": email$$security_DeletedTrustedDomain, "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_TrustedDomainList": email$$security_TrustedDomainList, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -253,7 +250,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_trustedDomains_create", title: "Create trusted email domain", - description: "Creates a new trusted domain pattern. Use for partner domains or approved senders that should bypass recent domain registration and similarity checks. Configure whether it prevents recent domain or spoof dispositions.\n\nThis method is beta.", + description: "Creates a new trusted domain pattern. Use for partner domains or approved senders that should bypass recent domain registration and similarity checks. Configure whether it prevents recent domain or spoof dispositions.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/settings/trusted_domains", inputSchema: { type: "object", properties: { @@ -261,10 +258,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateTrustedDomain" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -277,9 +275,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateTrustedDomain": email$$security_CreateTrustedDomain, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -298,10 +296,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -342,11 +338,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -357,19 +351,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_trustedDomains_delete", title: "Delete a trusted email domain", - description: "Removes a trusted domain pattern. After deletion, emails from this domain will be subject to normal recent domain and similarity checks.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the trusted domain pattern and restores normal recent domain and similarity checks for matching emails.", + description: "Removes a trusted domain pattern. After deletion, emails from this domain will be subject to normal recent domain and similarity checks.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the trusted domain pattern and restores normal recent domain and similarity checks for matching emails.\n\nDELETE /accounts/{account_id}/email-security/settings/trusted_domains/{trusted_domain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "trusted_domain_id": { - "$ref": "#/$defs/email-security_TrustedDomainId", - "description": "Trusted domain identifier." + "description": "Trusted domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -382,10 +378,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_TrustedDomainId": email$$security_TrustedDomainId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -403,7 +396,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_DeletedTrustedDomain": email$$security_DeletedTrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -446,7 +438,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_DeletedTrustedDomain": email$$security_DeletedTrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -459,7 +450,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_trustedDomains_edit", title: "Update a trusted email domain", - description: "Updates an existing trusted domain pattern. Only provided fields will be modified. Changes take effect for new emails matching the pattern.\n\nThis method is beta.", + description: "Updates an existing trusted domain pattern. Only provided fields will be modified. Changes take effect for new emails matching the pattern.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/email-security/settings/trusted_domains/{trusted_domain_id}", inputSchema: { type: "object", properties: { @@ -467,14 +458,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_UpdateTrustedDomain" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "trusted_domain_id": { - "$ref": "#/$defs/email-security_TrustedDomainId", - "description": "Trusted domain identifier." + "description": "Trusted domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -488,10 +481,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email-security_TrustedDomainId": email$$security_TrustedDomainId$, "email-security_UpdateTrustedDomain": email$$security_UpdateTrustedDomain, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -510,10 +502,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -554,11 +544,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -569,19 +557,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_trustedDomains_get", title: "Get a trusted email domain", - description: "Retrieves details for a specific trusted domain pattern including its pattern value, whether it uses regex matching, and which detection types it affects.\n\nThis method is beta.", + description: "Retrieves details for a specific trusted domain pattern including its pattern value, whether it uses regex matching, and which detection types it affects.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/trusted_domains/{trusted_domain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "trusted_domain_id": { - "$ref": "#/$defs/email-security_TrustedDomainId", - "description": "Trusted domain identifier." + "description": "Trusted domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -594,10 +584,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_TrustedDomainId": email$$security_TrustedDomainId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -615,10 +602,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -660,11 +645,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -674,15 +657,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_trustedDomains_list", title: "List trusted email domains", - description: "Returns a paginated list of trusted domain patterns. Trusted domains prevent false positives for recently registered domains and lookalike domain detections. Patterns can use regular expressions for flexible matching.\n\nThis method is beta.", + description: "Returns a paginated list of trusted domain patterns. Trusted domains prevent false positives for recently registered domains and lookalike domain detections. Patterns can use regular expressions for flexible matching.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/trusted_domains", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -691,6 +675,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The sorting direction.", @@ -740,9 +725,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -760,12 +743,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_TrustedDomainList": email$$security_TrustedDomainList, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -807,13 +788,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_TrustedDomainList": email$$security_TrustedDomainList, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ @@ -833,7 +812,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_trustedDomains_update", title: "Replace a trusted email domain", - description: "Replaces an existing trusted domain in full. Unlike PATCH, every field is taken from the request body, so optional fields that are omitted are reset rather than left untouched. Use this when managing trusted domains declaratively.\n\nThis method is beta.", + description: "Replaces an existing trusted domain in full. Unlike PATCH, every field is taken from the request body, so optional fields that are omitted are reset rather than left untouched. Use this when managing trusted domains declaratively.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/email-security/settings/trusted_domains/{trusted_domain_id}", inputSchema: { type: "object", properties: { @@ -841,14 +820,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateTrustedDomain" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "trusted_domain_id": { - "$ref": "#/$defs/email-security_TrustedDomainId", - "description": "Trusted domain identifier." + "description": "Trusted domain identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -862,10 +843,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateTrustedDomain": email$$security_CreateTrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -884,10 +864,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, annotations: { @@ -925,11 +903,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_TrustedDomain": email$$security_TrustedDomain, - "email-security_TrustedDomainId": email$$security_TrustedDomainId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, - "email-security_timestamp": email$$security_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts index a45f1f75b..d0c6587ac 100644 --- a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts +++ b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/outputs.ts @@ -9,7 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const email$$security_DeletedUrlIgnorePattern: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId" + "format": "uuid", + "type": "string" } }, "required": [ @@ -38,7 +39,8 @@ export const email$$security_UrlIgnorePattern: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId" + "format": "uuid", + "type": "string" }, "last_modified": { "format": "date-time", @@ -59,11 +61,3 @@ export const email$$security_UrlIgnorePattern: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `email-security_UrlIgnorePatternId` in responses. - */ -export const email$$security_UrlIgnorePatternId: JsonSchema = { - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/schemas.ts b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/schemas.ts index c97d0c76c..1ebc03fde 100644 --- a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/schemas.ts +++ b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/schemas.ts @@ -55,12 +55,3 @@ export const email$$security_UpdateUrlIgnorePattern: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `email-security_UrlIgnorePatternId`. - */ -export const email$$security_UrlIgnorePatternId: JsonSchema = { - "description": "URL ignore pattern identifier.", - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts index 10244da42..c65d1b939 100644 --- a/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts +++ b/src/generated/forge-mcp/emailSecurity/urlIgnorePatterns/tools.ts @@ -9,16 +9,13 @@ import { email$$security_api$$response$$single, email$$security_messages, } from "../outputs.js"; -import { email$$security_identifier } from "../schemas.js"; import { email$$security_DeletedUrlIgnorePattern, email$$security_UrlIgnorePattern, - email$$security_UrlIgnorePatternId, } from "./outputs.js"; import { email$$security_CreateUrlIgnorePattern, email$$security_UpdateUrlIgnorePattern, - email$$security_UrlIgnorePatternId as email$$security_UrlIgnorePatternId$, } from "./schemas.js"; /** @@ -28,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_urlIgnorePatterns_batch", title: "Batch URL ignore pattern operations", - description: "Executes multiple operations atomically. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected URL rewrite ignore patterns and cause matching URLs to be rewritten again.", + description: "Executes multiple operations atomically. All four operation arrays\n(deletes, patches, puts, posts) are required and executed in order.\nSend empty arrays for unused operations.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation may delete the selected URL rewrite ignore patterns and cause matching URLs to be rewritten again.\n\nPOST /accounts/{account_id}/email-security/settings/url_ignore_patterns/batch", inputSchema: { type: "object", properties: { @@ -39,8 +36,9 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId", - "description": "URL ignore pattern identifier." + "description": "URL ignore pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -61,7 +59,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId" + "description": "URL ignore pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -92,7 +92,9 @@ export const tools: readonly Tool[] = [ { "properties": { "id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId" + "description": "URL ignore pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -115,10 +117,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -131,11 +134,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateUrlIgnorePattern": email$$security_CreateUrlIgnorePattern, "email-security_UpdateUrlIgnorePattern": email$$security_UpdateUrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -190,7 +192,6 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_DeletedUrlIgnorePattern": email$$security_DeletedUrlIgnorePattern, "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, }, @@ -269,7 +270,6 @@ export const tools: readonly Tool[] = [ $defs: { "email-security_DeletedUrlIgnorePattern": email$$security_DeletedUrlIgnorePattern, "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_messages": email$$security_messages, @@ -283,7 +283,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_urlIgnorePatterns_create", title: "Create a URL ignore pattern", - description: "Creates a new URL rewrite ignore pattern. URLs matching this pattern will not be rewritten.\n\nThis method is beta.", + description: "Creates a new URL rewrite ignore pattern. URLs matching this pattern will not be rewritten.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/email-security/settings/url_ignore_patterns", inputSchema: { type: "object", properties: { @@ -291,10 +291,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_CreateUrlIgnorePattern" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -307,9 +308,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_CreateUrlIgnorePattern": email$$security_CreateUrlIgnorePattern, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -328,7 +329,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -371,7 +371,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -385,19 +384,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_urlIgnorePatterns_delete", title: "Delete a URL ignore pattern", - description: "Removes a URL rewrite ignore pattern. After deletion, URLs matching this pattern will be rewritten again.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the URL rewrite ignore pattern and causes matching URLs to be rewritten again.", + description: "Removes a URL rewrite ignore pattern. After deletion, URLs matching this pattern will be rewritten again.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the URL rewrite ignore pattern and causes matching URLs to be rewritten again.\n\nDELETE /accounts/{account_id}/email-security/settings/url_ignore_patterns/{pattern_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "pattern_id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId", - "description": "URL ignore pattern identifier." + "description": "URL ignore pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -410,10 +411,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -431,7 +429,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_DeletedUrlIgnorePattern": email$$security_DeletedUrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -474,7 +471,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_DeletedUrlIgnorePattern": email$$security_DeletedUrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -487,7 +483,7 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_urlIgnorePatterns_edit", title: "Update a URL ignore pattern", - description: "Updates an existing URL rewrite ignore pattern. Only provided fields will be modified.\n\nThis method is beta.", + description: "Updates an existing URL rewrite ignore pattern. Only provided fields will be modified.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/email-security/settings/url_ignore_patterns/{pattern_id}", inputSchema: { type: "object", properties: { @@ -495,14 +491,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-security_UpdateUrlIgnorePattern" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "pattern_id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId", - "description": "URL ignore pattern identifier." + "description": "URL ignore pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -516,10 +514,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-security_UpdateUrlIgnorePattern": email$$security_UpdateUrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId$, - "email-security_identifier": email$$security_identifier, }, }, outputSchema: { @@ -538,7 +535,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -581,7 +577,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -595,19 +590,21 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_urlIgnorePatterns_get", title: "Get a URL ignore pattern", - description: "Returns a single URL rewrite ignore pattern by its identifier.\n\nThis method is beta.", + description: "Returns a single URL rewrite ignore pattern by its identifier.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/url_ignore_patterns/{pattern_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "pattern_id": { - "$ref": "#/$defs/email-security_UrlIgnorePatternId", - "description": "URL ignore pattern identifier." + "description": "URL ignore pattern identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -620,10 +617,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId$, - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -641,7 +635,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, }, @@ -685,7 +678,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, "email-security_api-response-single": email$$security_api$$response$$single, "email-security_messages": email$$security_messages, @@ -698,15 +690,16 @@ export const tools: readonly Tool[] = [ { name: "emailSecurity_urlIgnorePatterns_list", title: "List URL ignore patterns", - description: "Returns a paginated list of URL rewrite ignore patterns for the account. URLs matching these patterns will not be rewritten.\n\nThis method is beta.", + description: "Returns a paginated list of URL rewrite ignore patterns for the account. URLs matching these patterns will not be rewritten.\n\nThis method is beta.\n\nGET /accounts/{account_id}/email-security/settings/url_ignore_patterns", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email-security_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -715,6 +708,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -733,9 +727,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email-security_identifier": email$$security_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -756,7 +748,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_messages": email$$security_messages, @@ -804,7 +795,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "email-security_UrlIgnorePattern": email$$security_UrlIgnorePattern, - "email-security_UrlIgnorePatternId": email$$security_UrlIgnorePatternId, "email-security_api-response-collection": email$$security_api$$response$$collection, "email-security_api-response-common": email$$security_api$$response$$common, "email-security_api-response-common-failure": email$$security_api$$response$$common$$failure, diff --git a/src/generated/forge-mcp/emailSending/limits/tools.ts b/src/generated/forge-mcp/emailSending/limits/tools.ts index dddb6076b..c627febed 100644 --- a/src/generated/forge-mcp/emailSending/limits/tools.ts +++ b/src/generated/forge-mcp/emailSending/limits/tools.ts @@ -3,7 +3,6 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { email_api$$response$$single, email_messages } from "../../outputs.js"; -import { email_identifier } from "../../schemas.js"; import { email_sending_limits_properties, email_sending_limits_response_single, @@ -16,15 +15,16 @@ export const tools: readonly Tool[] = [ { name: "emailSending_limits_get", title: "Get sending limits", - description: "Returns the current daily sending quota for the account and, when a quota is resolved, the account's current usage against it. Quota is null when not yet available; usage is null when there is no resolved quota or usage is temporarily unavailable.", + description: "Returns the current daily sending quota for the account and, when a quota is resolved, the account's current usage against it. Quota is null when not yet available; usage is null when there is no resolved quota or usage is temporarily unavailable.\n\nGET /accounts/{account_id}/email/sending/limits", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -36,9 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_sending_limits_response_single", diff --git a/src/generated/forge-mcp/emailSending/reputation/tools.ts b/src/generated/forge-mcp/emailSending/reputation/tools.ts index 924d58bef..5270eb7d1 100644 --- a/src/generated/forge-mcp/emailSending/reputation/tools.ts +++ b/src/generated/forge-mcp/emailSending/reputation/tools.ts @@ -3,7 +3,6 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { email_api$$response$$single, email_messages } from "../../outputs.js"; -import { email_identifier } from "../../schemas.js"; import { email_ReputationPolicy, email_ReputationThreshold, @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "emailSending_reputation_get", title: "Get account reputation", - description: "Returns the authoritative Email Sending reputation state and active evaluation policy. Accounts without an evaluation are Healthy with null evaluation timestamps.", + description: "Returns the authoritative Email Sending reputation state and active evaluation policy. Accounts without an evaluation are Healthy with null evaluation timestamps.\n\nGET /accounts/{account_id}/email/sending/reputation", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -38,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_sending_reputation_response_single", diff --git a/src/generated/forge-mcp/emailSending/schemas.ts b/src/generated/forge-mcp/emailSending/schemas.ts index 9ef641b8a..6ef00380b 100644 --- a/src/generated/forge-mcp/emailSending/schemas.ts +++ b/src/generated/forge-mcp/emailSending/schemas.ts @@ -30,14 +30,6 @@ export const email$$sending_EmailAddressObject: JsonSchema = { "type": "object" }; -/** - * The schema of `email-sending_EmailAddressString`. - */ -export const email$$sending_EmailAddressString: JsonSchema = { - "description": "An email address as a plain string.", - "type": "string" -}; - /** * The schema of `email-sending_EmailAttachment`. */ @@ -97,7 +89,8 @@ export const email$$sending_EmailBuilder: JsonSchema = { "description": "Blind carbon copy recipient(s). Optional. A single email string, a named address object, or an array of either.", "oneOf": [ { - "$ref": "#/$defs/email-sending_EmailAddressString" + "description": "An email address as a plain string.", + "type": "string" }, { "$ref": "#/$defs/email-sending_EmailAddressObject" @@ -106,7 +99,8 @@ export const email$$sending_EmailBuilder: JsonSchema = { "items": { "oneOf": [ { - "$ref": "#/$defs/email-sending_EmailAddressString" + "description": "An email address as a plain string.", + "type": "string" }, { "$ref": "#/$defs/email-sending_EmailAddressObject" @@ -121,7 +115,8 @@ export const email$$sending_EmailBuilder: JsonSchema = { "description": "Carbon copy recipient(s). Optional. A single email string, a named address object, or an array of either.", "oneOf": [ { - "$ref": "#/$defs/email-sending_EmailAddressString" + "description": "An email address as a plain string.", + "type": "string" }, { "$ref": "#/$defs/email-sending_EmailAddressObject" @@ -130,7 +125,8 @@ export const email$$sending_EmailBuilder: JsonSchema = { "items": { "oneOf": [ { - "$ref": "#/$defs/email-sending_EmailAddressString" + "description": "An email address as a plain string.", + "type": "string" }, { "$ref": "#/$defs/email-sending_EmailAddressObject" @@ -145,7 +141,8 @@ export const email$$sending_EmailBuilder: JsonSchema = { "description": "Sender email address. Either a plain string or an object with address and name.", "oneOf": [ { - "$ref": "#/$defs/email-sending_EmailAddressString" + "description": "An email address as a plain string.", + "type": "string" }, { "$ref": "#/$defs/email-sending_EmailAddressObject" @@ -167,7 +164,8 @@ export const email$$sending_EmailBuilder: JsonSchema = { "description": "Reply-to address. Either a plain string or an object with address and name.", "oneOf": [ { - "$ref": "#/$defs/email-sending_EmailAddressString" + "description": "An email address as a plain string.", + "type": "string" }, { "$ref": "#/$defs/email-sending_EmailAddressObject" @@ -186,7 +184,8 @@ export const email$$sending_EmailBuilder: JsonSchema = { "description": "Recipient(s). Optional if cc or bcc is provided. A single email string, a named address object, or an array of either.", "oneOf": [ { - "$ref": "#/$defs/email-sending_EmailAddressString" + "description": "An email address as a plain string.", + "type": "string" }, { "$ref": "#/$defs/email-sending_EmailAddressObject" @@ -195,7 +194,8 @@ export const email$$sending_EmailBuilder: JsonSchema = { "items": { "oneOf": [ { - "$ref": "#/$defs/email-sending_EmailAddressString" + "description": "An email address as a plain string.", + "type": "string" }, { "$ref": "#/$defs/email-sending_EmailAddressObject" diff --git a/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts b/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts index 584a0fe8e..704f506e8 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/dns/tools.ts @@ -10,9 +10,7 @@ import { email_dns_settings_response_collection, email_messages, } from "../../../outputs.js"; -import { email_identifier } from "../../../schemas.js"; import { email_sending_subdomain_config_error } from "../outputs.js"; -import { email_sending_subdomain_identifier } from "../schemas.js"; import { email_sending_subdomain_dns_status_response } from "./outputs.js"; /** @@ -22,19 +20,20 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_dns_fix", title: "Fix sending subdomain DNS records", - description: "Idempotently re-applies the sending DNS records (creates missing records, re-applies the email_routing lock on records whose lock has been cleared). Refuses with a 409 if foreign MX, multiple SPF, multiple DMARC, or multiple DKIM records exist at the relevant DNS names — those require manual cleanup.", + description: "Idempotently re-applies the sending DNS records (creates missing records, re-applies the email_routing lock on records whose lock has been cleared). Refuses with a 409 if foreign MX, multiple SPF, multiple DMARC, or multiple DKIM records exist at the relevant DNS names — those require manual cleanup.\n\nPOST /zones/{zone_id}/email/sending/subdomains/{subdomain_id}/dns", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." + "description": "Sending subdomain identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -47,10 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_sending_subdomain_dns_status_response", @@ -109,19 +105,20 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_dns_get", title: "Get sending subdomain DNS records", - description: "Returns the expected DNS records for a sending subdomain.", + description: "Returns the expected DNS records for a sending subdomain.\n\nGET /zones/{zone_id}/email/sending/subdomains/{subdomain_id}/dns", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." + "description": "Sending subdomain identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -134,10 +131,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_dns_settings_response_collection", @@ -193,19 +187,20 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_dns_status", title: "Get sending subdomain DNS status", - description: "Returns the desired DNS records for a sending subdomain along with a live diff against actual DNS state. Use this to detect missing, unlocked, foreign, or multi-record conflicts before deciding whether to call the fix endpoint. For wildcard sending rows, each call also rechecks the governing organizational-domain DMARC policy and reports policy drift that DNS Fix cannot repair.", + description: "Returns the desired DNS records for a sending subdomain along with a live diff against actual DNS state. Use this to detect missing, unlocked, foreign, or multi-record conflicts before deciding whether to call the fix endpoint. For wildcard sending rows, each call also rechecks the governing organizational-domain DMARC policy and reports policy drift that DNS Fix cannot repair.\n\nGET /zones/{zone_id}/email/sending/subdomains/{subdomain_id}/dns/status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." + "description": "Sending subdomain identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -218,10 +213,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_sending_subdomain_dns_status_response", diff --git a/src/generated/forge-mcp/emailSending/subdomains/outputs.ts b/src/generated/forge-mcp/emailSending/subdomains/outputs.ts index 1006bfd8d..1d2917ce3 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/outputs.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/outputs.ts @@ -9,7 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const email_sending_subdomain: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/email_created" + "format": "date-time", + "type": "string" }, "dkim_selector": { "type": "string" @@ -21,7 +22,8 @@ export const email_sending_subdomain: JsonSchema = { "type": "boolean" }, "modified": { - "$ref": "#/$defs/email_modified" + "format": "date-time", + "type": "string" }, "name": { "type": "string" @@ -33,7 +35,7 @@ export const email_sending_subdomain: JsonSchema = { "type": "string" }, "tag": { - "$ref": "#/$defs/email_sending_subdomain_identifier" + "type": "string" } }, "required": [ @@ -88,13 +90,6 @@ export const email_sending_subdomain_config_error: JsonSchema = { "type": "object" }; -/** - * The schema of `email_sending_subdomain_identifier` in responses. - */ -export const email_sending_subdomain_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `email_sending_subdomain_preview_response` in responses. */ diff --git a/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts b/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts index 688c0d1f2..2f061bbc0 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/reputation/tools.ts @@ -6,8 +6,6 @@ import { email_api$$response$$single, email_messages, } from "../../../outputs.js"; -import { email_identifier } from "../../../schemas.js"; -import { email_sending_subdomain_identifier } from "../schemas.js"; import { email_sending_subdomain_reputation_complaints, email_sending_subdomain_reputation_complaints_response, @@ -20,19 +18,20 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_reputation_getComplaints", title: "Get sending subdomain complaint count", - description: "Returns the matched complaint count for a sending subdomain in a half-open time window of up to seven days.", + description: "Returns the matched complaint count for a sending subdomain in a half-open time window of up to seven days.\n\nGET /zones/{zone_id}/email/sending/subdomains/{subdomain_id}/reputation/complaints", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." + "description": "Sending subdomain identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -42,6 +41,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "end_at": { "format": "date-time", @@ -63,10 +63,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_sending_subdomain_reputation_complaints_response", diff --git a/src/generated/forge-mcp/emailSending/subdomains/schemas.ts b/src/generated/forge-mcp/emailSending/subdomains/schemas.ts index 3403f1b17..47d47dcec 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/schemas.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/schemas.ts @@ -19,22 +19,14 @@ export const email_create_sending_subdomain_properties: JsonSchema = { "type": "object" }; -/** - * The schema of `email_sending_subdomain_identifier`. - */ -export const email_sending_subdomain_identifier: JsonSchema = { - "description": "Sending subdomain identifier.", - "type": "string" -}; - /** * The schema of `email_update_sending_subdomain_properties`. */ export const email_update_sending_subdomain_properties: JsonSchema = { - "description": "At least one of `preview_enabled` or `drop_suppressed_recipients` must\nbe provided. A field omitted from the request body is left unchanged.\n", + "description": "At least one of `preview_enabled` or `drop_suppressed_recipients` must\nbe provided. A field omitted from the request body is left unchanged.", "properties": { "drop_suppressed_recipients": { - "description": "Whether a send request that includes a recipient suppressed on\nthis subdomain drops that recipient and still delivers to the\nrest, instead of failing the entire request.\n", + "description": "Whether a send request that includes a recipient suppressed on\nthis subdomain drops that recipient and still delivers to the\nrest, instead of failing the entire request.", "type": "boolean" }, "preview_enabled": { diff --git a/src/generated/forge-mcp/emailSending/subdomains/tools.ts b/src/generated/forge-mcp/emailSending/subdomains/tools.ts index 85149c346..1aa3b0f20 100644 --- a/src/generated/forge-mcp/emailSending/subdomains/tools.ts +++ b/src/generated/forge-mcp/emailSending/subdomains/tools.ts @@ -6,23 +6,18 @@ import { email_api$$response$$collection, email_api$$response$$common, email_api$$response$$single, - email_created, email_dns_record, email_messages, - email_modified, } from "../../outputs.js"; -import { email_identifier } from "../../schemas.js"; import { email_sending_subdomain, email_sending_subdomain_config_error, - email_sending_subdomain_identifier, email_sending_subdomain_preview_response, email_sending_subdomain_response_single, email_sending_subdomains_response_collection, } from "./outputs.js"; import { email_create_sending_subdomain_properties, - email_sending_subdomain_identifier as email_sending_subdomain_identifier$, email_update_sending_subdomain_properties, } from "./schemas.js"; @@ -33,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_create", title: "Create a sending subdomain", - description: "Creates a new sending subdomain or re-enables sending on an existing subdomain that had it disabled. If zone-level Email Sending has not been enabled yet, the zone flag is automatically set when the entitlement is present. A leftmost wildcard such as `*.example.com` is accepted only for accounts with wildcard Email Sending enabled. Wildcard senders share the base domain's DKIM signing identity and `cf-bounce.` return path.", + description: "Creates a new sending subdomain or re-enables sending on an existing subdomain that had it disabled. If zone-level Email Sending has not been enabled yet, the zone flag is automatically set when the entitlement is present. A leftmost wildcard such as `*.example.com` is accepted only for accounts with wildcard Email Sending enabled. Wildcard senders share the base domain's DKIM signing identity and `cf-bounce.` return path.\n\nPOST /zones/{zone_id}/email/sending/subdomains", inputSchema: { type: "object", properties: { @@ -41,10 +36,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_create_sending_subdomain_properties" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -57,20 +53,17 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email_create_sending_subdomain_properties": email_create_sending_subdomain_properties, - "email_identifier": email_identifier, }, }, outputSchema: { "$ref": "#/$defs/email_sending_subdomain_response_single", $defs: { "email_api-response-single": email_api$$response$$single, - "email_created": email_created, "email_messages": email_messages, - "email_modified": email_modified, "email_sending_subdomain": email_sending_subdomain, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, @@ -105,11 +98,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "email_api-response-single": email_api$$response$$single, - "email_created": email_created, "email_messages": email_messages, - "email_modified": email_modified, "email_sending_subdomain": email_sending_subdomain, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, @@ -121,19 +111,20 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_delete", title: "Delete a sending subdomain", - description: "Disables sending on a subdomain and removes its DNS records. If routing is still active on the subdomain, only sending is disabled.\n\nConfirm with the user before calling this tool. This operation disables sending and removes the subdomain's Email Sending DNS records.", + description: "Disables sending on a subdomain and removes its DNS records. If routing is still active on the subdomain, only sending is disabled.\n\nConfirm with the user before calling this tool. This operation disables sending and removes the subdomain's Email Sending DNS records.\n\nDELETE /zones/{zone_id}/email/sending/subdomains/{subdomain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." + "description": "Sending subdomain identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -146,10 +137,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_api-response-single", @@ -199,19 +187,20 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_get", title: "Get a sending subdomain", - description: "Gets information for a specific sending subdomain.", + description: "Gets information for a specific sending subdomain.\n\nGET /zones/{zone_id}/email/sending/subdomains/{subdomain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." + "description": "Sending subdomain identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -224,20 +213,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_sending_subdomain_response_single", $defs: { "email_api-response-single": email_api$$response$$single, - "email_created": email_created, "email_messages": email_messages, - "email_modified": email_modified, "email_sending_subdomain": email_sending_subdomain, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, @@ -272,11 +255,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "email_api-response-single": email_api$$response$$single, - "email_created": email_created, "email_messages": email_messages, - "email_modified": email_modified, "email_sending_subdomain": email_sending_subdomain, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, @@ -287,15 +267,16 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_list", title: "List sending subdomains", - description: "Lists all sending-enabled subdomains for the zone.", + description: "Lists all sending-enabled subdomains for the zone.\n\nGET /zones/{zone_id}/email/sending/subdomains", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -307,20 +288,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "email_identifier": email_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/email_sending_subdomains_response_collection", $defs: { "email_api-response-collection": email_api$$response$$collection, "email_api-response-common": email_api$$response$$common, - "email_created": email_created, "email_messages": email_messages, - "email_modified": email_modified, "email_sending_subdomain": email_sending_subdomain, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, "email_sending_subdomains_response_collection": email_sending_subdomains_response_collection, }, }, @@ -356,11 +332,8 @@ export const tools: readonly Tool[] = [ $defs: { "email_api-response-collection": email_api$$response$$collection, "email_api-response-common": email_api$$response$$common, - "email_created": email_created, "email_messages": email_messages, - "email_modified": email_modified, "email_sending_subdomain": email_sending_subdomain, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, "email_sending_subdomains_response_collection": email_sending_subdomains_response_collection, }, }, @@ -371,7 +344,7 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_preview", title: "Preview sending subdomain DNS", - description: "Returns the DNS records that would be created for a sending subdomain, flags which records are missing, and reports any conflicts with existing DNS records. This is a read-only dry-run — no records are created or modified. Use before or after creating a subdomain to check DNS status. A leftmost wildcard requires wildcard Email Sending to be enabled for the account and previews base-scoped DKIM and return-path records.", + description: "Returns the DNS records that would be created for a sending subdomain, flags which records are missing, and reports any conflicts with existing DNS records. This is a read-only dry-run — no records are created or modified. Use before or after creating a subdomain to check DNS status. A leftmost wildcard requires wildcard Email Sending to be enabled for the account and previews base-scoped DKIM and return-path records.\n\nPOST /zones/{zone_id}/email/sending/subdomains/preview", inputSchema: { type: "object", properties: { @@ -379,10 +352,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_create_sending_subdomain_properties" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -395,9 +369,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email_create_sending_subdomain_properties": email_create_sending_subdomain_properties, - "email_identifier": email_identifier, }, }, outputSchema: { @@ -455,7 +429,7 @@ export const tools: readonly Tool[] = [ { name: "emailSending_subdomains_update", title: "Update a sending subdomain", - description: "Updates the activity-log preview preference for a sending subdomain.", + description: "Updates the activity-log preview preference for a sending subdomain.\n\nPATCH /zones/{zone_id}/email/sending/subdomains/{subdomain_id}", inputSchema: { type: "object", properties: { @@ -463,14 +437,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_update_sending_subdomain_properties" }, "path": { + "additionalProperties": false, "properties": { "subdomain_id": { - "$ref": "#/$defs/email_sending_subdomain_identifier", - "description": "Sending subdomain identifier." + "description": "Sending subdomain identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/email_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -484,9 +459,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "email_identifier": email_identifier, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier$, "email_update_sending_subdomain_properties": email_update_sending_subdomain_properties, }, }, @@ -494,11 +468,8 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email_sending_subdomain_response_single", $defs: { "email_api-response-single": email_api$$response$$single, - "email_created": email_created, "email_messages": email_messages, - "email_modified": email_modified, "email_sending_subdomain": email_sending_subdomain, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, @@ -533,11 +504,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "email_api-response-single": email_api$$response$$single, - "email_created": email_created, "email_messages": email_messages, - "email_modified": email_modified, "email_sending_subdomain": email_sending_subdomain, - "email_sending_subdomain_identifier": email_sending_subdomain_identifier, "email_sending_subdomain_response_single": email_sending_subdomain_response_single, }, }, diff --git a/src/generated/forge-mcp/emailSending/suppressions/tools.ts b/src/generated/forge-mcp/emailSending/suppressions/tools.ts index 3f15812b7..7d7689fdf 100644 --- a/src/generated/forge-mcp/emailSending/suppressions/tools.ts +++ b/src/generated/forge-mcp/emailSending/suppressions/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "emailSending_suppressions_create", title: "Create account Email Sending suppression", - description: "Creates a suppression for every sending domain of the account (default) or for one sending domain (`scope.type = sending_domain`). Creating an existing active suppression returns its identifier. If a mutable legacy zone-linked account row already exists, it is promoted without changing its identifier.", + description: "Creates a suppression for every sending domain of the account (default) or for one sending domain (`scope.type = sending_domain`). Creating an existing active suppression returns its identifier. If a mutable legacy zone-linked account row already exists, it is promoted without changing its identifier.\n\nPOST /accounts/{account_id}/email/sending/suppressions", inputSchema: { type: "object", properties: { @@ -83,6 +83,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -98,6 +99,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -448,11 +450,12 @@ export const tools: readonly Tool[] = [ { name: "emailSending_suppressions_delete", title: "Delete account Email Sending suppression", - description: "Deletes the suppression, its note, and every legacy internal zone membership, allowing future delivery attempts to the address.\n\nConfirm with the user before calling this tool. This operation removes an Email Sending suppression and may allow email delivery to resume for the address.", + description: "Deletes the suppression, its note, and every legacy internal zone membership, allowing future delivery attempts to the address.\n\nConfirm with the user before calling this tool. This operation removes an Email Sending suppression and may allow email delivery to resume for the address.\n\nDELETE /accounts/{account_id}/email/sending/suppressions/{suppression_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -474,6 +477,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -823,7 +827,7 @@ export const tools: readonly Tool[] = [ { name: "emailSending_suppressions_edit", title: "Update account Email Sending suppression", - description: "Updates expiry or advisory note fields without changing legacy internal zone memberships. Scope cannot be changed.", + description: "Updates expiry or advisory note fields without changing legacy internal zone memberships. Scope cannot be changed.\n\nPATCH /accounts/{account_id}/email/sending/suppressions/{suppression_id}", inputSchema: { type: "object", properties: { @@ -853,6 +857,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -874,6 +879,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1257,11 +1263,12 @@ export const tools: readonly Tool[] = [ { name: "emailSending_suppressions_get", title: "Get account Email Sending suppression", - description: "Gets an Email Sending suppression owned by the account.", + description: "Gets an Email Sending suppression owned by the account.\n\nGET /accounts/{account_id}/email/sending/suppressions/{suppression_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -1283,6 +1290,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1575,7 +1583,7 @@ export const tools: readonly Tool[] = [ { name: "emailSending_suppressions_import", title: "Bulk import account Email Sending suppressions", - description: "Imports up to 1,000 Email Sending suppressions in one request. Each item applies to every sending domain of the account (default) or to one sending domain.", + description: "Imports up to 1,000 Email Sending suppressions in one request. Each item applies to every sending domain of the account (default) or to one sending domain.\n\nPOST /accounts/{account_id}/email/sending/suppressions/bulk", inputSchema: { type: "object", properties: { @@ -1661,6 +1669,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -1676,6 +1685,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1999,11 +2009,12 @@ export const tools: readonly Tool[] = [ { name: "emailSending_suppressions_list", title: "List account Email Sending suppressions", - description: "Lists every active Email Sending suppression owned by the account: sending-domain suppressions first, then account-wide suppressions (including legacy rows with internal zone memberships). Each group is newest first.", + description: "Lists every active Email Sending suppression owned by the account: sending-domain suppressions first, then account-wide suppressions (including legacy rows with internal zone memberships). Each group is newest first.\n\nGET /accounts/{account_id}/email/sending/suppressions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -2016,6 +2027,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque pagination cursor returned as `result_info.next_cursor`. It carries the filters that produced it.", @@ -2064,6 +2076,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/emailSending/tools.ts b/src/generated/forge-mcp/emailSending/tools.ts index 839897e08..91f3f21fe 100644 --- a/src/generated/forge-mcp/emailSending/tools.ts +++ b/src/generated/forge-mcp/emailSending/tools.ts @@ -8,7 +8,6 @@ import { } from "./outputs.js"; import { email$$sending_EmailAddressObject, - email$$sending_EmailAddressString, email$$sending_EmailAttachment, email$$sending_EmailBuilder, email$$sending_EmailInlineAttachment, @@ -22,11 +21,12 @@ export const tools: readonly Tool[] = [ { name: "emailSending_get", title: "Fetch an email message", - description: "Returns the raw RFC 5322 MIME message for the given account and message id.", + description: "Returns the raw RFC 5322 MIME message for the given account and message id.\n\nGET /accounts/{account_id}/email/sending/messages/{message_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -45,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -89,7 +90,7 @@ export const tools: readonly Tool[] = [ { name: "emailSending_send", title: "Send an email", - description: "Send an email for the specified account using the structured builder. Provide the sender, recipients, subject, and at least one of text or html; attachments are optional.", + description: "Send an email for the specified account using the structured builder. Provide the sender, recipients, subject, and at least one of text or html; attachments are optional.\n\nPOST /accounts/{account_id}/email/sending/send", inputSchema: { type: "object", properties: { @@ -97,6 +98,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-sending_EmailBuilder" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Identifier of the account.", @@ -113,9 +115,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-sending_EmailAddressObject": email$$sending_EmailAddressObject, - "email-sending_EmailAddressString": email$$sending_EmailAddressString, "email-sending_EmailAttachment": email$$sending_EmailAttachment, "email-sending_EmailBuilder": email$$sending_EmailBuilder, "email-sending_EmailInlineAttachment": email$$sending_EmailInlineAttachment, @@ -599,7 +601,7 @@ export const tools: readonly Tool[] = [ { name: "emailSending_sendRaw", title: "Send a raw MIME email", - description: "Send a raw RFC 5322 (MIME) email for the specified account. Provide the full MIME message plus the SMTP envelope (from and recipients).", + description: "Send a raw RFC 5322 (MIME) email for the specified account. Provide the full MIME message plus the SMTP envelope (from and recipients).\n\nPOST /accounts/{account_id}/email/sending/send_raw", inputSchema: { type: "object", properties: { @@ -607,6 +609,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/email-sending_SendRawRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Identifier of the account.", @@ -623,6 +626,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "email-sending_SendRawRequest": email$$sending_SendRawRequest, }, diff --git a/src/generated/forge-mcp/fieldExtractors/tools.ts b/src/generated/forge-mcp/fieldExtractors/tools.ts index f81624b2f..b8afe8424 100644 --- a/src/generated/forge-mcp/fieldExtractors/tools.ts +++ b/src/generated/forge-mcp/fieldExtractors/tools.ts @@ -19,11 +19,12 @@ export const tools: readonly Tool[] = [ { name: "fieldExtractors_delete", title: "Delete Field Extractor", - description: "Deletes all custom extraction rules for an extractor type.\n\nThis method is alpha.", + description: "Deletes all custom extraction rules for an extractor type.\n\nThis method is alpha.\n\nDELETE /accounts/{account_id}/field_extractors/{extractor}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -44,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/field-extractors_DeleteResponse", @@ -83,11 +85,12 @@ export const tools: readonly Tool[] = [ { name: "fieldExtractors_get", title: "Get Field Extractor", - description: "Retrieves the custom extraction rules configured for a given extractor type.\n\nThis method is alpha.", + description: "Retrieves the custom extraction rules configured for a given extractor type.\n\nThis method is alpha.\n\nGET /accounts/{account_id}/field_extractors/{extractor}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -108,6 +111,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/field-extractors_SuccessResponse", @@ -153,7 +157,7 @@ export const tools: readonly Tool[] = [ { name: "fieldExtractors_update", title: "Update Field Extractor", - description: "Replaces all custom extraction rules for an extractor type. Omitted rules are deleted.\n\nThis method is alpha.", + description: "Replaces all custom extraction rules for an extractor type. Omitted rules are deleted.\n\nThis method is alpha.\n\nPUT /accounts/{account_id}/field_extractors/{extractor}", inputSchema: { type: "object", properties: { @@ -206,6 +210,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID.", @@ -226,6 +231,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/field-extractors_SuccessResponse", diff --git a/src/generated/forge-mcp/firewall/accessRules/outputs.ts b/src/generated/forge-mcp/firewall/accessRules/outputs.ts index 8213ed822..1798cfc53 100644 --- a/src/generated/forge-mcp/firewall/accessRules/outputs.ts +++ b/src/generated/forge-mcp/firewall/accessRules/outputs.ts @@ -18,7 +18,7 @@ export const firewall_api$$response$$single$$id: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/firewall_identifier" + "type": "string" } }, "required": [ @@ -37,13 +37,6 @@ export const firewall_api$$response$$single$$id: JsonSchema = { ] }; -/** - * The schema of `firewall_email` in responses. - */ -export const firewall_email: JsonSchema = { - "type": "string" -}; - /** * The schema of `firewall_response_collection` in responses. */ @@ -98,10 +91,10 @@ export const firewall_schemas$$rule: JsonSchema = { "scope": { "properties": { "email": { - "$ref": "#/$defs/firewall_email" + "type": "string" }, "id": { - "$ref": "#/$defs/firewall_identifier" + "type": "string" }, "type": { "enum": [ diff --git a/src/generated/forge-mcp/firewall/accessRules/tools.ts b/src/generated/forge-mcp/firewall/accessRules/tools.ts index 255bd7b3c..5680c3932 100644 --- a/src/generated/forge-mcp/firewall/accessRules/tools.ts +++ b/src/generated/forge-mcp/firewall/accessRules/tools.ts @@ -14,11 +14,8 @@ import { firewall_ip_configuration, firewall_ipv6_configuration, firewall_messages, - firewall_notes, firewall_result_info, firewall_rule, - firewall_schemas$$identifier, - firewall_schemas$$mode, } from "../../outputs.js"; import { firewall_asn_configuration as firewall_asn_configuration$, @@ -27,16 +24,10 @@ import { firewall_country_configuration as firewall_country_configuration$, firewall_ip_configuration as firewall_ip_configuration$, firewall_ipv6_configuration as firewall_ipv6_configuration$, - firewall_notes as firewall_notes$, firewall_rule as firewall_rule$, - firewall_rule_identifier, - firewall_schemas$$mode as firewall_schemas$$mode$, } from "../../schemas.js"; -import { firewall_identifier } from "../outputs.js"; -import { firewall_account_identifier } from "../schemas.js"; import { firewall_api$$response$$single$$id, - firewall_email, firewall_response_collection, firewall_response_single, firewall_schemas$$rule, @@ -50,7 +41,7 @@ export const tools: readonly Tool[] = [ { name: "firewall_accessRules_create", title: "Create an IP Access rule", - description: "Creates a new IP Access rule for an account or zone. The rule will apply to all zones in the account or zone.\n\nNote: To create an IP Access rule that applies to a single zone, refer to the [IP Access rules for a zone](#ip-access-rules-for-a-zone) endpoints.", + description: "Creates a new IP Access rule for an account or zone. The rule will apply to all zones in the account or zone.\n\nNote: To create an IP Access rule that applies to a single zone, refer to the [IP Access rules for a zone](#ip-access-rules-for-a-zone) endpoints.\n\nPOST /{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules", inputSchema: { type: "object", properties: { @@ -61,11 +52,20 @@ export const tools: readonly Tool[] = [ "description": "The rule configuration." }, "mode": { - "$ref": "#/$defs/firewall_schemas-mode" + "description": "The action to apply to a matched request.", + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "notes": { - "$ref": "#/$defs/firewall_notes", - "default": "" + "default": "", + "description": "An informative summary of the rule, typically used as a reminder or explanation.", + "type": "string" } }, "required": [ @@ -75,6 +75,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -85,8 +86,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -100,16 +101,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "firewall_account_identifier": firewall_account_identifier, "firewall_asn_configuration": firewall_asn_configuration$, "firewall_cidr_configuration": firewall_cidr_configuration$, "firewall_configuration": firewall_configuration$, "firewall_country_configuration": firewall_country_configuration$, "firewall_ip_configuration": firewall_ip_configuration$, "firewall_ipv6_configuration": firewall_ipv6_configuration$, - "firewall_notes": firewall_notes$, - "firewall_schemas-mode": firewall_schemas$$mode$, }, }, outputSchema: { @@ -121,16 +120,11 @@ export const tools: readonly Tool[] = [ "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, - "firewall_email": firewall_email, - "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_response_single": firewall_response_single, "firewall_rule": firewall_rule, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, "firewall_schemas-rule": firewall_schemas$$rule, }, }, @@ -176,16 +170,11 @@ export const tools: readonly Tool[] = [ "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, - "firewall_email": firewall_email, - "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_response_single": firewall_response_single, "firewall_rule": firewall_rule, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, "firewall_schemas-rule": firewall_schemas$$rule, }, }, @@ -197,11 +186,12 @@ export const tools: readonly Tool[] = [ { name: "firewall_accessRules_delete", title: "Delete an IP Access rule", - description: "Deletes an existing IP Access rule defined.\n\nNote: This operation will affect all zones in the account or zone.\n\nConfirm with the user before calling this tool. This operation deletes the account-level IP Access Rule and affects every zone in the account.", + description: "Deletes an existing IP Access rule defined.\n\nNote: This operation will affect all zones in the account or zone.\n\nConfirm with the user before calling this tool. This operation deletes the account-level IP Access Rule and affects every zone in the account.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -212,12 +202,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "description": "Unique identifier for a rule.", + "type": "string" } }, "required": [ @@ -231,17 +221,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_account_identifier": firewall_account_identifier, - "firewall_rule_identifier": firewall_rule_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_api-response-single-id", $defs: { "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-single-id": firewall_api$$response$$single$$id, - "firewall_identifier": firewall_identifier, "firewall_messages": firewall_messages, }, }, @@ -283,7 +269,6 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, "firewall_api-response-single-id": firewall_api$$response$$single$$id, - "firewall_identifier": firewall_identifier, "firewall_messages": firewall_messages, }, }, @@ -294,7 +279,7 @@ export const tools: readonly Tool[] = [ { name: "firewall_accessRules_edit", title: "Update an IP Access rule", - description: "Updates an IP Access rule defined.\n\nNote: This operation will affect all zones in the account or zone.", + description: "Updates an IP Access rule defined.\n\nNote: This operation will affect all zones in the account or zone.\n\nPATCH /{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -302,6 +287,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/firewall_schemas-rule" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -312,12 +298,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "description": "Unique identifier for a rule.", + "type": "string" } }, "required": [ @@ -332,18 +318,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "firewall_account_identifier": firewall_account_identifier, "firewall_asn_configuration": firewall_asn_configuration$, "firewall_cidr_configuration": firewall_cidr_configuration$, "firewall_configuration": firewall_configuration$, "firewall_country_configuration": firewall_country_configuration$, "firewall_ip_configuration": firewall_ip_configuration$, "firewall_ipv6_configuration": firewall_ipv6_configuration$, - "firewall_notes": firewall_notes$, "firewall_rule": firewall_rule$, - "firewall_rule_identifier": firewall_rule_identifier, - "firewall_schemas-mode": firewall_schemas$$mode$, "firewall_schemas-rule": firewall_schemas$$rule$, }, }, @@ -356,16 +339,11 @@ export const tools: readonly Tool[] = [ "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, - "firewall_email": firewall_email, - "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_response_single": firewall_response_single, "firewall_rule": firewall_rule, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, "firewall_schemas-rule": firewall_schemas$$rule, }, }, @@ -411,16 +389,11 @@ export const tools: readonly Tool[] = [ "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, - "firewall_email": firewall_email, - "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_response_single": firewall_response_single, "firewall_rule": firewall_rule, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, "firewall_schemas-rule": firewall_schemas$$rule, }, }, @@ -432,11 +405,12 @@ export const tools: readonly Tool[] = [ { name: "firewall_accessRules_get", title: "Get an IP Access rule", - description: "Fetches the details of an IP Access rule defined.", + description: "Fetches the details of an IP Access rule defined.\n\nGET /{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -447,12 +421,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "description": "Unique identifier for a rule.", + "type": "string" } }, "required": [ @@ -466,10 +440,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_account_identifier": firewall_account_identifier, - "firewall_rule_identifier": firewall_rule_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_response_single", @@ -480,16 +451,11 @@ export const tools: readonly Tool[] = [ "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, - "firewall_email": firewall_email, - "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_response_single": firewall_response_single, "firewall_rule": firewall_rule, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, "firewall_schemas-rule": firewall_schemas$$rule, }, }, @@ -536,16 +502,11 @@ export const tools: readonly Tool[] = [ "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, - "firewall_email": firewall_email, - "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_response_single": firewall_response_single, "firewall_rule": firewall_rule, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, "firewall_schemas-rule": firewall_schemas$$rule, }, }, @@ -556,11 +517,12 @@ export const tools: readonly Tool[] = [ { name: "firewall_accessRules_list", title: "List IP Access rules", - description: "Fetches IP Access rules of an account or zone. These rules apply to all the zones in the account or zone. You can filter the results using several optional parameters.", + description: "Fetches IP Access rules of an account or zone. These rules apply to all the zones in the account or zone. You can filter the results using several optional parameters.\n\nGET /{account_or_zone}/{account_or_zone_id}/firewall/access_rules/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -571,8 +533,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -582,6 +544,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "configuration.target": { "description": "Defines the target to search in existing rules.", @@ -615,8 +578,15 @@ export const tools: readonly Tool[] = [ "type": "string" }, "mode": { - "$ref": "#/$defs/firewall_schemas-mode", - "description": "The action to apply to a matched request." + "description": "The action to apply to a matched request.", + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "notes": { "description": "Defines the string to search for in the notes of existing IP Access rules.\nNotes: For example, the string 'attack' would match IP Access rules with notes 'Attack 26/02' and 'Attack 27/02'. The search is case insensitive.", @@ -646,10 +616,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_account_identifier": firewall_account_identifier, - "firewall_schemas-mode": firewall_schemas$$mode$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_response_collection", @@ -660,17 +627,12 @@ export const tools: readonly Tool[] = [ "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, - "firewall_email": firewall_email, - "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_response_collection": firewall_response_collection, "firewall_result_info": firewall_result_info, "firewall_rule": firewall_rule, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, "firewall_schemas-rule": firewall_schemas$$rule, }, }, @@ -717,17 +679,12 @@ export const tools: readonly Tool[] = [ "firewall_cidr_configuration": firewall_cidr_configuration, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, - "firewall_email": firewall_email, - "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_response_collection": firewall_response_collection, "firewall_result_info": firewall_result_info, "firewall_rule": firewall_rule, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, "firewall_schemas-rule": firewall_schemas$$rule, }, }, diff --git a/src/generated/forge-mcp/firewall/lockdowns/outputs.ts b/src/generated/forge-mcp/firewall/lockdowns/outputs.ts index 5b9f18b59..732ed7918 100644 --- a/src/generated/forge-mcp/firewall/lockdowns/outputs.ts +++ b/src/generated/forge-mcp/firewall/lockdowns/outputs.ts @@ -20,37 +20,6 @@ export const firewall_configurations: JsonSchema = { "type": "array" }; -/** - * The schema of `firewall_created_on` in responses. - */ -export const firewall_created_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `firewall_lockdowns_components-schemas-description` in - * responses. - */ -export const firewall_lockdowns_components$$schemas$$description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `firewall_lockdowns_components-schemas-id` in responses. - */ -export const firewall_lockdowns_components$$schemas$$id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `firewall_modified_on` in responses. - */ -export const firewall_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `firewall_schemas-cidr_configuration` in responses. */ @@ -106,19 +75,21 @@ export const firewall_zonelockdown: JsonSchema = { "$ref": "#/$defs/firewall_configurations" }, "created_on": { - "$ref": "#/$defs/firewall_created_on" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-description" + "type": "string" }, "id": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/firewall_modified_on" + "format": "date-time", + "type": "string" }, "paused": { - "$ref": "#/$defs/firewall_schemas-paused" + "type": "boolean" }, "urls": { "$ref": "#/$defs/firewall_schemas-urls" diff --git a/src/generated/forge-mcp/firewall/lockdowns/schemas.ts b/src/generated/forge-mcp/firewall/lockdowns/schemas.ts index d7c71927f..729400784 100644 --- a/src/generated/forge-mcp/firewall/lockdowns/schemas.ts +++ b/src/generated/forge-mcp/firewall/lockdowns/schemas.ts @@ -21,39 +21,6 @@ export const firewall_configurations: JsonSchema = { "type": "array" }; -/** - * The schema of `firewall_ip_range_search`. - */ -export const firewall_ip_range_search: JsonSchema = { - "description": "A single IP address range to search for in existing rules.", - "type": "string" -}; - -/** - * The schema of `firewall_ip_search`. - */ -export const firewall_ip_search: JsonSchema = { - "description": "A single IP address to search for in existing rules.", - "type": "string" -}; - -/** - * The schema of `firewall_lockdowns_components-schemas-id`. - */ -export const firewall_lockdowns_components$$schemas$$id: JsonSchema = { - "description": "The unique identifier of the Zone Lockdown rule.", - "type": "string" -}; - -/** - * The schema of `firewall_modified_on`. - */ -export const firewall_modified_on: JsonSchema = { - "description": "The timestamp of when the rule was last modified.", - "format": "date-time", - "type": "string" -}; - /** * The schema of `firewall_schemas-cidr_configuration`. */ @@ -75,14 +42,6 @@ export const firewall_schemas$$cidr_configuration: JsonSchema = { "type": "object" }; -/** - * The schema of `firewall_schemas-description_search`. - */ -export const firewall_schemas$$description_search: JsonSchema = { - "description": "A string to search for in the description of existing rules.", - "type": "string" -}; - /** * The schema of `firewall_schemas-ip_configuration`. */ @@ -104,22 +63,6 @@ export const firewall_schemas$$ip_configuration: JsonSchema = { "type": "object" }; -/** - * The schema of `firewall_schemas-priority`. - */ -export const firewall_schemas$$priority: JsonSchema = { - "description": "The priority of the rule to control the processing order. A lower number indicates higher priority. If not provided, any rules with a configured priority will be processed before rules without a priority.", - "type": "number" -}; - -/** - * The schema of `firewall_uri_search`. - */ -export const firewall_uri_search: JsonSchema = { - "description": "A single URI to search for in the list of URLs of existing rules.", - "type": "string" -}; - /** * The schema of `firewall_urls`. */ diff --git a/src/generated/forge-mcp/firewall/lockdowns/tools.ts b/src/generated/forge-mcp/firewall/lockdowns/tools.ts index 98d4c2d63..ed55300cd 100644 --- a/src/generated/forge-mcp/firewall/lockdowns/tools.ts +++ b/src/generated/forge-mcp/firewall/lockdowns/tools.ts @@ -10,18 +10,8 @@ import { firewall_messages, firewall_result_info, } from "../../outputs.js"; -import { firewall_schemas$$paused } from "../outputs.js"; -import { - firewall_description, - firewall_identifier, - firewall_schemas$$paused as firewall_schemas$$paused$, -} from "../schemas.js"; import { firewall_configurations, - firewall_created_on, - firewall_lockdowns_components$$schemas$$description, - firewall_lockdowns_components$$schemas$$id, - firewall_modified_on, firewall_schemas$$cidr_configuration, firewall_schemas$$ip_configuration, firewall_schemas$$urls, @@ -31,15 +21,8 @@ import { } from "./outputs.js"; import { firewall_configurations as firewall_configurations$, - firewall_ip_range_search, - firewall_ip_search, - firewall_lockdowns_components$$schemas$$id as firewall_lockdowns_components$$schemas$$id$, - firewall_modified_on as firewall_modified_on$, firewall_schemas$$cidr_configuration as firewall_schemas$$cidr_configuration$, - firewall_schemas$$description_search, firewall_schemas$$ip_configuration as firewall_schemas$$ip_configuration$, - firewall_schemas$$priority, - firewall_uri_search, firewall_urls, } from "./schemas.js"; @@ -50,7 +33,7 @@ export const tools: readonly Tool[] = [ { name: "firewall_lockdowns_create", title: "Create a Zone Lockdown rule", - description: "Creates a new Zone Lockdown rule.", + description: "Creates a new Zone Lockdown rule.\n\nPOST /zones/{zone_id}/firewall/lockdowns", inputSchema: { type: "object", properties: { @@ -61,16 +44,16 @@ export const tools: readonly Tool[] = [ "description": "A list of IP addresses or CIDR ranges that will be allowed to access the URLs specified in the Zone Lockdown rule. You can include any number of `ip` or `ip_range` configurations." }, "description": { - "$ref": "#/$defs/firewall_description", - "description": "An informative summary of the rule. This value is sanitized and any tags will be removed." + "description": "An informative summary of the rule. This value is sanitized and any tags will be removed.", + "type": "string" }, "paused": { - "$ref": "#/$defs/firewall_schemas-paused", - "description": "When true, indicates that the rule is currently paused." + "description": "When true, indicates that the rule is currently paused.", + "type": "boolean" }, "priority": { - "$ref": "#/$defs/firewall_schemas-priority", - "description": "The priority of the rule to control the processing order. A lower number indicates higher priority. If not provided, any rules with a configured priority will be processed before rules without a priority." + "description": "The priority of the rule to control the processing order. A lower number indicates higher priority. If not provided, any rules with a configured priority will be processed before rules without a priority.", + "type": "number" }, "urls": { "$ref": "#/$defs/firewall_urls", @@ -84,10 +67,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -100,14 +84,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "firewall_configurations": firewall_configurations$, - "firewall_description": firewall_description, - "firewall_identifier": firewall_identifier, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration$, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration$, - "firewall_schemas-paused": firewall_schemas$$paused$, - "firewall_schemas-priority": firewall_schemas$$priority, "firewall_urls": firewall_urls, }, }, @@ -117,14 +98,9 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-single": firewall_api$$response$$single, "firewall_configurations": firewall_configurations, - "firewall_created_on": firewall_created_on, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, "firewall_messages": firewall_messages, - "firewall_modified_on": firewall_modified_on, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, - "firewall_schemas-paused": firewall_schemas$$paused, "firewall_schemas-urls": firewall_schemas$$urls, "firewall_zonelockdown": firewall_zonelockdown, "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, @@ -164,14 +140,9 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, "firewall_api-response-single": firewall_api$$response$$single, "firewall_configurations": firewall_configurations, - "firewall_created_on": firewall_created_on, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, "firewall_messages": firewall_messages, - "firewall_modified_on": firewall_modified_on, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, - "firewall_schemas-paused": firewall_schemas$$paused, "firewall_schemas-urls": firewall_schemas$$urls, "firewall_zonelockdown": firewall_zonelockdown, "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, @@ -185,19 +156,20 @@ export const tools: readonly Tool[] = [ { name: "firewall_lockdowns_delete", title: "Delete a Zone Lockdown rule", - description: "Deletes an existing Zone Lockdown rule.\n\nConfirm with the user before calling this tool. This operation deletes the Zone Lockdown rule from the zone.", + description: "Deletes an existing Zone Lockdown rule.\n\nConfirm with the user before calling this tool. This operation deletes the Zone Lockdown rule from the zone.\n\nDELETE /zones/{zone_id}/firewall/lockdowns/{lock_downs_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "lock_downs_id": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-id", - "description": "The unique identifier of the Zone Lockdown rule." + "description": "The unique identifier of the Zone Lockdown rule.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -210,26 +182,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_identifier": firewall_identifier, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id$, - }, + additionalProperties: false, }, outputSchema: { "properties": { "result": { "properties": { "id": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-id" + "type": "string" } }, "type": "object" } }, "type": "object", - $defs: { - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, - }, }, annotations: { "destructiveHint": true, @@ -258,7 +224,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-id" + "type": "string" } }, "type": "object" @@ -272,7 +238,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, "firewall_messages": firewall_messages, }, }, @@ -283,19 +248,20 @@ export const tools: readonly Tool[] = [ { name: "firewall_lockdowns_get", title: "Get a Zone Lockdown rule", - description: "Fetches the details of a Zone Lockdown rule.", + description: "Fetches the details of a Zone Lockdown rule.\n\nGET /zones/{zone_id}/firewall/lockdowns/{lock_downs_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "lock_downs_id": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-id", - "description": "The unique identifier of the Zone Lockdown rule." + "description": "The unique identifier of the Zone Lockdown rule.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -308,10 +274,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_identifier": firewall_identifier, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_zonelockdown_response_single", @@ -319,14 +282,9 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-single": firewall_api$$response$$single, "firewall_configurations": firewall_configurations, - "firewall_created_on": firewall_created_on, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, "firewall_messages": firewall_messages, - "firewall_modified_on": firewall_modified_on, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, - "firewall_schemas-paused": firewall_schemas$$paused, "firewall_schemas-urls": firewall_schemas$$urls, "firewall_zonelockdown": firewall_zonelockdown, "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, @@ -367,14 +325,9 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, "firewall_api-response-single": firewall_api$$response$$single, "firewall_configurations": firewall_configurations, - "firewall_created_on": firewall_created_on, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, "firewall_messages": firewall_messages, - "firewall_modified_on": firewall_modified_on, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, - "firewall_schemas-paused": firewall_schemas$$paused, "firewall_schemas-urls": firewall_schemas$$urls, "firewall_zonelockdown": firewall_zonelockdown, "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, @@ -387,15 +340,16 @@ export const tools: readonly Tool[] = [ { name: "firewall_lockdowns_list", title: "List Zone Lockdown rules", - description: "Fetches Zone Lockdown rules. You can filter the results using several optional parameters.", + description: "Fetches Zone Lockdown rules. You can filter the results using several optional parameters.\n\nGET /zones/{zone_id}/firewall/lockdowns", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -404,6 +358,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "created_on": { "description": "The timestamp of when the rule was created.", @@ -411,24 +366,29 @@ export const tools: readonly Tool[] = [ "type": "string" }, "description": { - "$ref": "#/$defs/firewall_schemas-description_search" + "description": "A string to search for in the description of existing rules.", + "type": "string" }, "description_search": { "description": "A string to search for in the description of existing rules.", "type": "string" }, "ip": { - "$ref": "#/$defs/firewall_ip_search" + "description": "A single IP address to search for in existing rules.", + "type": "string" }, "ip_range_search": { - "$ref": "#/$defs/firewall_ip_range_search" + "description": "A single IP address range to search for in existing rules.", + "type": "string" }, "ip_search": { "description": "A single IP address to search for in existing rules.", "type": "string" }, "modified_on": { - "$ref": "#/$defs/firewall_modified_on" + "description": "The timestamp of when the rule was last modified.", + "format": "date-time", + "type": "string" }, "page": { "default": 1, @@ -441,10 +401,12 @@ export const tools: readonly Tool[] = [ "type": "number" }, "priority": { - "$ref": "#/$defs/firewall_schemas-priority" + "description": "The priority of the rule to control the processing order. A lower number indicates higher priority. If not provided, any rules with a configured priority will be processed before rules without a priority.", + "type": "number" }, "uri_search": { - "$ref": "#/$defs/firewall_uri_search" + "description": "A single URI to search for in the list of URLs of existing rules.", + "type": "string" } }, "type": "object" @@ -453,15 +415,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_identifier": firewall_identifier, - "firewall_ip_range_search": firewall_ip_range_search, - "firewall_ip_search": firewall_ip_search, - "firewall_modified_on": firewall_modified_on$, - "firewall_schemas-description_search": firewall_schemas$$description_search, - "firewall_schemas-priority": firewall_schemas$$priority, - "firewall_uri_search": firewall_uri_search, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_zonelockdown_response_collection", @@ -469,15 +423,10 @@ export const tools: readonly Tool[] = [ "firewall_api-response-collection": firewall_api$$response$$collection, "firewall_api-response-common": firewall_api$$response$$common, "firewall_configurations": firewall_configurations, - "firewall_created_on": firewall_created_on, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, "firewall_messages": firewall_messages, - "firewall_modified_on": firewall_modified_on, "firewall_result_info": firewall_result_info, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, - "firewall_schemas-paused": firewall_schemas$$paused, "firewall_schemas-urls": firewall_schemas$$urls, "firewall_zonelockdown": firewall_zonelockdown, "firewall_zonelockdown_response_collection": firewall_zonelockdown_response_collection, @@ -518,15 +467,10 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, "firewall_configurations": firewall_configurations, - "firewall_created_on": firewall_created_on, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, "firewall_messages": firewall_messages, - "firewall_modified_on": firewall_modified_on, "firewall_result_info": firewall_result_info, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, - "firewall_schemas-paused": firewall_schemas$$paused, "firewall_schemas-urls": firewall_schemas$$urls, "firewall_zonelockdown": firewall_zonelockdown, "firewall_zonelockdown_response_collection": firewall_zonelockdown_response_collection, @@ -552,7 +496,7 @@ export const tools: readonly Tool[] = [ { name: "firewall_lockdowns_update", title: "Update a Zone Lockdown rule", - description: "Updates an existing Zone Lockdown rule.", + description: "Updates an existing Zone Lockdown rule.\n\nPUT /zones/{zone_id}/firewall/lockdowns/{lock_downs_id}", inputSchema: { type: "object", properties: { @@ -574,14 +518,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "lock_downs_id": { - "$ref": "#/$defs/firewall_lockdowns_components-schemas-id", - "description": "The unique identifier of the Zone Lockdown rule." + "description": "The unique identifier of the Zone Lockdown rule.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -595,10 +540,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "firewall_configurations": firewall_configurations$, - "firewall_identifier": firewall_identifier, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id$, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration$, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration$, "firewall_urls": firewall_urls, @@ -610,14 +554,9 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-single": firewall_api$$response$$single, "firewall_configurations": firewall_configurations, - "firewall_created_on": firewall_created_on, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, "firewall_messages": firewall_messages, - "firewall_modified_on": firewall_modified_on, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, - "firewall_schemas-paused": firewall_schemas$$paused, "firewall_schemas-urls": firewall_schemas$$urls, "firewall_zonelockdown": firewall_zonelockdown, "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, @@ -657,14 +596,9 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, "firewall_api-response-single": firewall_api$$response$$single, "firewall_configurations": firewall_configurations, - "firewall_created_on": firewall_created_on, - "firewall_lockdowns_components-schemas-description": firewall_lockdowns_components$$schemas$$description, - "firewall_lockdowns_components-schemas-id": firewall_lockdowns_components$$schemas$$id, "firewall_messages": firewall_messages, - "firewall_modified_on": firewall_modified_on, "firewall_schemas-cidr_configuration": firewall_schemas$$cidr_configuration, "firewall_schemas-ip_configuration": firewall_schemas$$ip_configuration, - "firewall_schemas-paused": firewall_schemas$$paused, "firewall_schemas-urls": firewall_schemas$$urls, "firewall_zonelockdown": firewall_zonelockdown, "firewall_zonelockdown_response_single": firewall_zonelockdown_response_single, diff --git a/src/generated/forge-mcp/firewall/outputs.ts b/src/generated/forge-mcp/firewall/outputs.ts deleted file mode 100644 index f8b868ee1..000000000 --- a/src/generated/forge-mcp/firewall/outputs.ts +++ /dev/null @@ -1,18 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `firewall_identifier` in responses. - */ -export const firewall_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `firewall_schemas-paused` in responses. - */ -export const firewall_schemas$$paused: JsonSchema = { - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/firewall/payloadLogging/tools.ts b/src/generated/forge-mcp/firewall/payloadLogging/tools.ts index 9fe4adbb6..a6e1c808d 100644 --- a/src/generated/forge-mcp/firewall/payloadLogging/tools.ts +++ b/src/generated/forge-mcp/firewall/payloadLogging/tools.ts @@ -7,7 +7,6 @@ import { firewall_api$$response$$common$$failure, firewall_messages, } from "../../outputs.js"; -import { firewall_account_identifier } from "../schemas.js"; import { firewall_payload_logging_key, firewall_payload_logging_key_response_single, @@ -21,11 +20,12 @@ export const tools: readonly Tool[] = [ { name: "firewall_payloadLogging_delete", title: "Delete the payload logging key", - description: "Deletes the payload logging public key of the account or zone.\n\nThis method is beta.", + description: "Deletes the payload logging public key of the account or zone.\n\nThis method is beta.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/firewall/payload_logging/key", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -36,8 +36,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -50,9 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_account_identifier": firewall_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_payload_logging_key_response_single", @@ -104,11 +102,12 @@ export const tools: readonly Tool[] = [ { name: "firewall_payloadLogging_get", title: "Get the payload logging key", - description: "Fetches the public key that payload logging uses to encrypt matched payloads for the account or zone.\n\nThis method is beta.", + description: "Fetches the public key that payload logging uses to encrypt matched payloads for the account or zone.\n\nThis method is beta.\n\nGET /{account_or_zone}/{account_or_zone_id}/firewall/payload_logging/key", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -119,8 +118,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -133,9 +132,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_account_identifier": firewall_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_payload_logging_key_response_single", @@ -187,7 +184,7 @@ export const tools: readonly Tool[] = [ { name: "firewall_payloadLogging_update", title: "Set the payload logging key", - description: "Creates or replaces the public key that payload logging uses to encrypt matched payloads for the account or zone. It applies to every zone in the account or zone that has no zone key. Requires a plan that includes payload logging (Enterprise); otherwise it returns 403.\n\nThis method is beta.", + description: "Creates or replaces the public key that payload logging uses to encrypt matched payloads for the account or zone. It applies to every zone in the account or zone that has no zone key. Requires a plan that includes payload logging (Enterprise); otherwise it returns 403.\n\nThis method is beta.\n\nPUT /{account_or_zone}/{account_or_zone_id}/firewall/payload_logging/key", inputSchema: { type: "object", properties: { @@ -195,6 +192,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/firewall_payload_logging_key" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -205,8 +203,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/firewall_account_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -220,8 +218,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "firewall_account_identifier": firewall_account_identifier, "firewall_payload_logging_key": firewall_payload_logging_key$, }, }, diff --git a/src/generated/forge-mcp/firewall/schemas.ts b/src/generated/forge-mcp/firewall/schemas.ts deleted file mode 100644 index e481693da..000000000 --- a/src/generated/forge-mcp/firewall/schemas.ts +++ /dev/null @@ -1,36 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `firewall_account_identifier`. - */ -export const firewall_account_identifier: JsonSchema = { - "description": "Defines an account identifier.", - "type": "string" -}; - -/** - * The schema of `firewall_description`. - */ -export const firewall_description: JsonSchema = { - "description": "An informative summary of the rule. This value is sanitized and any tags will be removed.", - "type": "string" -}; - -/** - * The schema of `firewall_identifier`. - */ -export const firewall_identifier: JsonSchema = { - "description": "Defines an identifier.", - "type": "string" -}; - -/** - * The schema of `firewall_schemas-paused`. - */ -export const firewall_schemas$$paused: JsonSchema = { - "description": "When true, indicates that the rule is currently paused.", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/firewall/uaRules/outputs.ts b/src/generated/forge-mcp/firewall/uaRules/outputs.ts index 6387666fa..8e70cc49d 100644 --- a/src/generated/forge-mcp/firewall/uaRules/outputs.ts +++ b/src/generated/forge-mcp/firewall/uaRules/outputs.ts @@ -3,26 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `firewall_components-schemas-mode` in responses. - */ -export const firewall_components$$schemas$$mode: JsonSchema = { - "enum": [ - "block", - "challenge", - "js_challenge", - "managed_challenge" - ], - "type": "string" -}; - -/** - * The schema of `firewall_components-ua-rule-id` in responses. - */ -export const firewall_components$$ua$$rule$$id: JsonSchema = { - "type": "string" -}; - /** * The schema of `firewall_firewalluablock` in responses. */ @@ -32,29 +12,27 @@ export const firewall_firewalluablock: JsonSchema = { "$ref": "#/$defs/firewall_schemas-configuration" }, "description": { - "$ref": "#/$defs/firewall_firewalluablock_components-schemas-description" + "type": "string" }, "id": { - "$ref": "#/$defs/firewall_components-ua-rule-id" + "type": "string" }, "mode": { - "$ref": "#/$defs/firewall_components-schemas-mode" + "enum": [ + "block", + "challenge", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "paused": { - "$ref": "#/$defs/firewall_schemas-paused" + "type": "boolean" } }, "type": "object" }; -/** - * The schema of `firewall_firewalluablock_components-schemas-description` in - * responses. - */ -export const firewall_firewalluablock_components$$schemas$$description: JsonSchema = { - "type": "string" -}; - /** * The schema of `firewall_firewalluablock_response_collection` in responses. */ diff --git a/src/generated/forge-mcp/firewall/uaRules/schemas.ts b/src/generated/forge-mcp/firewall/uaRules/schemas.ts index 6e900a868..55e0d75e6 100644 --- a/src/generated/forge-mcp/firewall/uaRules/schemas.ts +++ b/src/generated/forge-mcp/firewall/uaRules/schemas.ts @@ -3,22 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `firewall_components-ua-rule-id`. - */ -export const firewall_components$$ua$$rule$$id: JsonSchema = { - "description": "The unique identifier of the User Agent Blocking rule.", - "type": "string" -}; - -/** - * The schema of `firewall_description_search`. - */ -export const firewall_description_search: JsonSchema = { - "description": "A string to search for in the description of existing rules.", - "type": "string" -}; - /** * The schema of `firewall_ua_configuration`. */ diff --git a/src/generated/forge-mcp/firewall/uaRules/tools.ts b/src/generated/forge-mcp/firewall/uaRules/tools.ts index f2220bb61..e296926a7 100644 --- a/src/generated/forge-mcp/firewall/uaRules/tools.ts +++ b/src/generated/forge-mcp/firewall/uaRules/tools.ts @@ -17,28 +17,14 @@ import { firewall_country_configuration, firewall_ip_configuration, firewall_ipv6_configuration, - firewall_schemas$$mode, } from "../../schemas.js"; -import { firewall_schemas$$paused } from "../outputs.js"; import { - firewall_description, - firewall_identifier, - firewall_schemas$$paused as firewall_schemas$$paused$, -} from "../schemas.js"; -import { - firewall_components$$schemas$$mode, - firewall_components$$ua$$rule$$id, firewall_firewalluablock, - firewall_firewalluablock_components$$schemas$$description, firewall_firewalluablock_response_collection, firewall_firewalluablock_response_single, firewall_schemas$$configuration, } from "./outputs.js"; -import { - firewall_components$$ua$$rule$$id as firewall_components$$ua$$rule$$id$, - firewall_description_search, - firewall_ua_configuration, -} from "./schemas.js"; +import { firewall_ua_configuration } from "./schemas.js"; /** * The tools of `firewall.uaRules`. @@ -47,7 +33,7 @@ export const tools: readonly Tool[] = [ { name: "firewall_uaRules_create", title: "Create a User Agent Blocking rule", - description: "Creates a new User Agent Blocking rule in a zone.", + description: "Creates a new User Agent Blocking rule in a zone.\n\nPOST /zones/{zone_id}/firewall/ua_rules", inputSchema: { type: "object", properties: { @@ -57,15 +43,23 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/firewall_ua_configuration" }, "description": { - "$ref": "#/$defs/firewall_description", - "description": "An informative summary of the rule. This value is sanitized and any tags will be removed." + "description": "An informative summary of the rule. This value is sanitized and any tags will be removed.", + "type": "string" }, "mode": { - "$ref": "#/$defs/firewall_schemas-mode" + "description": "The action to apply to a matched request.", + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "paused": { - "$ref": "#/$defs/firewall_schemas-paused", - "description": "When true, indicates that the rule is currently paused." + "description": "When true, indicates that the rule is currently paused.", + "type": "boolean" } }, "required": [ @@ -75,10 +69,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -91,11 +86,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "firewall_description": firewall_description, - "firewall_identifier": firewall_identifier, - "firewall_schemas-mode": firewall_schemas$$mode, - "firewall_schemas-paused": firewall_schemas$$paused$, "firewall_ua_configuration": firewall_ua_configuration, }, }, @@ -104,14 +96,10 @@ export const tools: readonly Tool[] = [ $defs: { "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-single": firewall_api$$response$$single, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, "firewall_messages": firewall_messages, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -147,14 +135,10 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, "firewall_api-response-single": firewall_api$$response$$single, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, "firewall_messages": firewall_messages, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ @@ -165,19 +149,20 @@ export const tools: readonly Tool[] = [ { name: "firewall_uaRules_delete", title: "Delete a User Agent Blocking rule", - description: "Deletes an existing User Agent Blocking rule.\n\nConfirm with the user before calling this tool. This operation deletes the User Agent Blocking rule from the zone.", + description: "Deletes an existing User Agent Blocking rule.\n\nConfirm with the user before calling this tool. This operation deletes the User Agent Blocking rule from the zone.\n\nDELETE /zones/{zone_id}/firewall/ua_rules/{ua_rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "ua_rule_id": { - "$ref": "#/$defs/firewall_components-ua-rule-id", - "description": "The unique identifier of the User Agent Blocking rule." + "description": "The unique identifier of the User Agent Blocking rule.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -190,10 +175,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id$, - "firewall_identifier": firewall_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -202,7 +184,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/firewall_components-ua-rule-id" + "type": "string" } }, "type": "object" @@ -217,14 +199,10 @@ export const tools: readonly Tool[] = [ $defs: { "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-single": firewall_api$$response$$single, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, "firewall_messages": firewall_messages, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -256,7 +234,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/firewall_components-ua-rule-id" + "type": "string" } }, "type": "object" @@ -277,14 +255,10 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, "firewall_api-response-single": firewall_api$$response$$single, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, "firewall_messages": firewall_messages, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ @@ -294,19 +268,20 @@ export const tools: readonly Tool[] = [ { name: "firewall_uaRules_get", title: "Get a User Agent Blocking rule", - description: "Fetches the details of a User Agent Blocking rule.", + description: "Fetches the details of a User Agent Blocking rule.\n\nGET /zones/{zone_id}/firewall/ua_rules/{ua_rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "ua_rule_id": { - "$ref": "#/$defs/firewall_components-ua-rule-id", - "description": "The unique identifier of the User Agent Blocking rule." + "description": "The unique identifier of the User Agent Blocking rule.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -319,24 +294,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id$, - "firewall_identifier": firewall_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_firewalluablock_response_single", $defs: { "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-single": firewall_api$$response$$single, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, "firewall_messages": firewall_messages, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -373,14 +341,10 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, "firewall_api-response-single": firewall_api$$response$$single, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, "firewall_messages": firewall_messages, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ @@ -390,15 +354,16 @@ export const tools: readonly Tool[] = [ { name: "firewall_uaRules_list", title: "List User Agent Blocking rules", - description: "Fetches User Agent Blocking rules in a zone. You can filter the results using several optional parameters.", + description: "Fetches User Agent Blocking rules in a zone. You can filter the results using several optional parameters.\n\nGET /zones/{zone_id}/firewall/ua_rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -407,9 +372,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "description": { - "$ref": "#/$defs/firewall_description_search" + "description": "A string to search for in the description of existing rules.", + "type": "string" }, "page": { "default": 1, @@ -436,25 +403,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_description_search": firewall_description_search, - "firewall_identifier": firewall_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_firewalluablock_response_collection", $defs: { "firewall_api-response-collection": firewall_api$$response$$collection, "firewall_api-response-common": firewall_api$$response$$common, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_collection": firewall_firewalluablock_response_collection, "firewall_messages": firewall_messages, "firewall_result_info": firewall_result_info, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -491,15 +451,11 @@ export const tools: readonly Tool[] = [ "firewall_api-response-collection": firewall_api$$response$$collection, "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_collection": firewall_firewalluablock_response_collection, "firewall_messages": firewall_messages, "firewall_result_info": firewall_result_info, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ @@ -516,7 +472,7 @@ export const tools: readonly Tool[] = [ { name: "firewall_uaRules_update", title: "Update a User Agent Blocking rule", - description: "Updates an existing User Agent Blocking rule.", + description: "Updates an existing User Agent Blocking rule.\n\nPUT /zones/{zone_id}/firewall/ua_rules/{ua_rule_id}", inputSchema: { type: "object", properties: { @@ -527,15 +483,23 @@ export const tools: readonly Tool[] = [ "description": "The rule configuration." }, "description": { - "$ref": "#/$defs/firewall_description", - "description": "An informative summary of the rule. This value is sanitized and any tags will be removed." + "description": "An informative summary of the rule. This value is sanitized and any tags will be removed.", + "type": "string" }, "mode": { - "$ref": "#/$defs/firewall_schemas-mode" + "description": "The action to apply to a matched request.", + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "paused": { - "$ref": "#/$defs/firewall_schemas-paused", - "description": "When true, indicates that the rule is currently paused." + "description": "When true, indicates that the rule is currently paused.", + "type": "boolean" } }, "required": [ @@ -545,14 +509,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "ua_rule_id": { - "$ref": "#/$defs/firewall_components-ua-rule-id", - "description": "The unique identifier of the User Agent Blocking rule." + "description": "The unique identifier of the User Agent Blocking rule.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/firewall_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -566,18 +531,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "firewall_asn_configuration": firewall_asn_configuration, "firewall_cidr_configuration": firewall_cidr_configuration, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id$, "firewall_configuration": firewall_configuration, "firewall_country_configuration": firewall_country_configuration, - "firewall_description": firewall_description, - "firewall_identifier": firewall_identifier, "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, - "firewall_schemas-mode": firewall_schemas$$mode, - "firewall_schemas-paused": firewall_schemas$$paused$, }, }, outputSchema: { @@ -585,14 +546,10 @@ export const tools: readonly Tool[] = [ $defs: { "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-single": firewall_api$$response$$single, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, "firewall_messages": firewall_messages, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, annotations: { @@ -628,14 +585,10 @@ export const tools: readonly Tool[] = [ "firewall_api-response-common": firewall_api$$response$$common, "firewall_api-response-common-failure": firewall_api$$response$$common$$failure, "firewall_api-response-single": firewall_api$$response$$single, - "firewall_components-schemas-mode": firewall_components$$schemas$$mode, - "firewall_components-ua-rule-id": firewall_components$$ua$$rule$$id, "firewall_firewalluablock": firewall_firewalluablock, - "firewall_firewalluablock_components-schemas-description": firewall_firewalluablock_components$$schemas$$description, "firewall_firewalluablock_response_single": firewall_firewalluablock_response_single, "firewall_messages": firewall_messages, "firewall_schemas-configuration": firewall_schemas$$configuration, - "firewall_schemas-paused": firewall_schemas$$paused, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/flagship/apps/definitions/tools.ts b/src/generated/forge-mcp/flagship/apps/definitions/tools.ts index b568e70e1..7864dfd53 100644 --- a/src/generated/forge-mcp/flagship/apps/definitions/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/definitions/tools.ts @@ -28,11 +28,12 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_definitions_get", title: "Get flag definitions", - description: "Returns an app's evaluation-only flag definitions for SDKs that evaluate locally. Send the returned `ETag` in `If-None-Match` to avoid downloading unchanged definitions.\n\nThis method is beta.", + description: "Returns an app's evaluation-only flag definitions for SDKs that evaluate locally. Send the returned `ETag` in `If-None-Match` to avoid downloading unchanged definitions.\n\nThis method is beta.\n\nGET /accounts/{account_id}/flagship/apps/{app_id}/definitions", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "If-None-Match": { "description": "Previously returned ETag, or `*`.", @@ -42,6 +43,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -62,6 +64,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/flagship_FlagDefinitions", diff --git a/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts b/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts index a2944d460..c9a6d15d3 100644 --- a/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/evaluate/tools.ts @@ -17,11 +17,12 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_evaluate_get", title: "Evaluate flag from query context", - description: "Evaluates a flag against the provided context. Pass context attributes as query parameters; values are coerced to numbers or booleans where unambiguous. For low-latency in-Worker evaluation, prefer the Flagship binding over this endpoint.\n\nThis method is beta.", + description: "Evaluates a flag against the provided context. Pass context attributes as query parameters; values are coerced to numbers or booleans where unambiguous. For low-latency in-Worker evaluation, prefer the Flagship binding over this endpoint.\n\nThis method is beta.\n\nGET /accounts/{account_id}/flagship/apps/{app_id}/evaluate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -39,6 +40,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "flagKey": { "description": "The flag key to evaluate.", @@ -59,6 +61,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/flagship_EvaluationResult", 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 14059cb9b..4bbc5ad2c 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/changelog/tools.ts @@ -32,11 +32,12 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_flags_changelog_list", title: "List flag changelog entries", - description: "Returns the audit history for a flag, newest first. Each entry includes the event type and full flag state after the change; `update` entries include a field-level diff. Capped at 200 entries per flag.\n\nThis method is beta.", + description: "Returns the audit history for a flag, newest first. Each entry includes the event type and full flag state after the change; `update` entries include a field-level diff. Capped at 200 entries per flag.\n\nThis method is beta.\n\nGET /accounts/{account_id}/flagship/apps/{app_id}/flags/{flag_key}/changelog", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -59,6 +60,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from a previous response.", @@ -75,6 +77,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/flagship/apps/flags/tools.ts b/src/generated/forge-mcp/flagship/apps/flags/tools.ts index a12f59bda..46e53adc1 100644 --- a/src/generated/forge-mcp/flagship/apps/flags/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/flags/tools.ts @@ -50,7 +50,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. Optional `metadata` can be attached at creation.\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.\n\nPOST /accounts/{account_id}/flagship/apps/{app_id}/flags", inputSchema: { type: "object", properties: { @@ -139,6 +139,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -160,6 +161,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "flagship_BaseCondition": flagship_BaseCondition$, "flagship_Condition": flagship_Condition$, @@ -355,11 +357,12 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_flags_delete", title: "Delete flag", - description: "Deletes a flag permanently. After deletion propagates, direct evaluations return not found; typed binding accessors may return the caller-supplied default. Cannot be undone.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this feature flag? After the deletion propagates, evaluation requests can no longer resolve it. This action cannot be undone.", + description: "Deletes a flag permanently. After deletion propagates, direct evaluations return not found; typed binding accessors may return the caller-supplied default. Cannot be undone.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this feature flag? After the deletion propagates, evaluation requests can no longer resolve it. This action cannot be undone.\n\nDELETE /accounts/{account_id}/flagship/apps/{app_id}/flags/{flag_key}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -385,6 +388,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -538,7 +542,7 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_flags_evaluate", title: "Evaluate flag with JSON context", - description: "Evaluates a flag against the provided context, passed as a JSON request body (OFREP-shaped) rather than query parameters. Returns the same response shape as the GET variant.\n\nThis method is beta.", + description: "Evaluates a flag against the provided context, passed as a JSON request body (OFREP-shaped) rather than query parameters. Returns the same response shape as the GET variant.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/flagship/apps/{app_id}/evaluate", inputSchema: { type: "object", properties: { @@ -563,6 +567,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -584,6 +589,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "flagship_JsonValue": flagship_JsonValue$, }, @@ -662,11 +668,12 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_flags_get", title: "Get flag", - description: "Returns the full flag definition including rules, variations, metadata, 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.\n\nGET /accounts/{account_id}/flagship/apps/{app_id}/flags/{flag_key}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -692,6 +699,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -872,11 +880,12 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_flags_list", title: "List flags", - description: "Lists an app's flags ordered by key. Pass `cursor` from `result_info` to page forward; a null cursor indicates the last page.\n\nThis method is beta.", + description: "Lists an app's flags ordered by key. Pass `cursor` from `result_info` to page forward; a null cursor indicates the last page.\n\nThis method is beta.\n\nGET /accounts/{account_id}/flagship/apps/{app_id}/flags", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -894,6 +903,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from a previous response.", @@ -910,6 +920,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1106,7 +1117,7 @@ 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.", + 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.\n\nPATCH /accounts/{account_id}/flagship/apps/{app_id}/flags/{flag_key}", inputSchema: { type: "object", properties: { @@ -1159,6 +1170,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -1185,6 +1197,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1365,7 +1378,7 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_flags_update", title: "Update flag", - 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.", + 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.\n\nPUT /accounts/{account_id}/flagship/apps/{app_id}/flags/{flag_key}", inputSchema: { type: "object", properties: { @@ -1454,6 +1467,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -1480,6 +1494,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "flagship_BaseCondition": flagship_BaseCondition$, "flagship_Condition": flagship_Condition$, diff --git a/src/generated/forge-mcp/flagship/apps/tools.ts b/src/generated/forge-mcp/flagship/apps/tools.ts index edccc85af..b72954c8a 100644 --- a/src/generated/forge-mcp/flagship/apps/tools.ts +++ b/src/generated/forge-mcp/flagship/apps/tools.ts @@ -16,7 +16,7 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_create", title: "Create app", - description: "Creates an app. The returned `id` is used in all subsequent flag, changelog, and evaluation requests.\n\nThis method is beta.", + description: "Creates an app. The returned `id` is used in all subsequent flag, changelog, and evaluation requests.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/flagship/apps", inputSchema: { type: "object", properties: { @@ -33,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -49,6 +50,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -203,11 +205,12 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_delete", title: "Delete app", - description: "Deletes an app and all its flags and changelog history. Returns 409 if any Worker still references this app via a Flagship binding.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this Flagship app, all of its flags, and all changelog history? This action cannot be undone.", + description: "Deletes an app and all its flags and changelog history. Returns 409 if any Worker still references this app via a Flagship binding.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this Flagship app, all of its flags, and all changelog history? This action cannot be undone.\n\nDELETE /accounts/{account_id}/flagship/apps/{app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -228,6 +231,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -384,11 +388,12 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_get", title: "Get app", - description: "Returns an app's name and audit fields. Flag definitions are not included.\n\nThis method is beta.", + description: "Returns an app's name and audit fields. Flag definitions are not included.\n\nThis method is beta.\n\nGET /accounts/{account_id}/flagship/apps/{app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -409,6 +414,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -563,11 +569,12 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_list", title: "List apps", - description: "Lists all Flagship apps in the account. Returns identity and audit fields only; flag definitions are not included.\n\nThis method is beta.", + description: "Lists all Flagship apps in the account. Returns identity and audit fields only; flag definitions are not included.\n\nThis method is beta.\n\nGET /accounts/{account_id}/flagship/apps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -583,6 +590,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -743,7 +751,7 @@ export const tools: readonly Tool[] = [ { name: "flagship_apps_update", title: "Update app", - description: "Updates an app. Only `name` is mutable.\n\nThis method is beta.", + description: "Updates an app. Only `name` is mutable.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/flagship/apps/{app_id}", inputSchema: { type: "object", properties: { @@ -757,6 +765,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID that owns the Flagship app.", @@ -778,6 +787,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/fraud/outputs.ts b/src/generated/forge-mcp/fraud/outputs.ts index 5bfe10239..9e573cbc8 100644 --- a/src/generated/forge-mcp/fraud/outputs.ts +++ b/src/generated/forge-mcp/fraud/outputs.ts @@ -108,7 +108,11 @@ export const fraud_fraud_settings: JsonSchema = { "$ref": "#/$defs/fraud_authentication_settings" }, "user_profiles": { - "$ref": "#/$defs/fraud_user_profiles_status" + "enum": [ + "enabled", + "disabled" + ], + "type": "string" }, "username_expressions": { "$ref": "#/$defs/fraud_username_expressions" @@ -169,17 +173,6 @@ export const fraud_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `fraud_user_profiles_status` in responses. - */ -export const fraud_user_profiles_status: JsonSchema = { - "enum": [ - "enabled", - "disabled" - ], - "type": "string" -}; - /** * The schema of `fraud_username_expressions` in responses. */ diff --git a/src/generated/forge-mcp/fraud/schemas.ts b/src/generated/forge-mcp/fraud/schemas.ts index 5d1c6356a..9ea627975 100644 --- a/src/generated/forge-mcp/fraud/schemas.ts +++ b/src/generated/forge-mcp/fraud/schemas.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../_/tool.js"; * The schema of `fraud_auth_criteria`. */ export const fraud_auth_criteria: JsonSchema = { - "description": "A criterion for determining authentication outcome. The `kind` field determines which\nother fields are used for matching.\n", + "description": "A criterion for determining authentication outcome. The `kind` field determines which\nother fields are used for matching.", "properties": { "kind": { "description": "The type of criterion. Currently only `status_code` is supported.", @@ -17,7 +17,7 @@ export const fraud_auth_criteria: JsonSchema = { "type": "string" }, "status_codes": { - "description": "HTTP status codes to match against the origin response.\n- Maximum of 10 codes per criterion.\n- Each code must be a valid HTTP status code (100-599).\n- Codes are deduplicated and sorted on save.\n- Omit to leave unchanged on update.\n- Provide an empty array `[]` to clear codes on update.\n", + "description": "HTTP status codes to match against the origin response.\n- Maximum of 10 codes per criterion.\n- Each code must be a valid HTTP status code (100-599).\n- Codes are deduplicated and sorted on save.\n- Omit to leave unchanged on update.\n- Provide an empty array `[]` to clear codes on update.", "items": { "type": "integer" }, @@ -35,7 +35,7 @@ export const fraud_auth_criteria: JsonSchema = { * The schema of `fraud_authentication_settings`. */ export const fraud_authentication_settings: JsonSchema = { - "description": "Configuration for classifying login authentication outcomes based on the origin response.\nRequires `user_profiles` to be enabled.\n\n- Success and failure criteria are independently updatable — sending only `success_criteria`\n leaves failure codes untouched, and vice versa.\n- Omit `authentication_settings` entirely to leave both unchanged.\n- Status codes must not overlap between success and failure criteria.\n", + "description": "Configuration for classifying login authentication outcomes based on the origin response.\nRequires `user_profiles` to be enabled.\n\n- Success and failure criteria are independently updatable — sending only `success_criteria`\n leaves failure codes untouched, and vice versa.\n- Omit `authentication_settings` entirely to leave both unchanged.\n- Status codes must not overlap between success and failure criteria.", "properties": { "failure_criteria": { "$ref": "#/$defs/fraud_auth_criteria", @@ -56,45 +56,29 @@ export const fraud_fraud_settings: JsonSchema = { "properties": { "authentication_settings": { "$ref": "#/$defs/fraud_authentication_settings", - "description": "Configuration for classifying login authentication outcomes based on the origin response.\nRequires `user_profiles` to be enabled.\n\n- Success and failure criteria are independently updatable — sending only `success_criteria`\n leaves failure codes untouched, and vice versa.\n- Omit `authentication_settings` entirely to leave both unchanged.\n- Status codes must not overlap between success and failure criteria.\n" + "description": "Configuration for classifying login authentication outcomes based on the origin response.\nRequires `user_profiles` to be enabled.\n\n- Success and failure criteria are independently updatable — sending only `success_criteria`\n leaves failure codes untouched, and vice versa.\n- Omit `authentication_settings` entirely to leave both unchanged.\n- Status codes must not overlap between success and failure criteria." }, "user_profiles": { - "$ref": "#/$defs/fraud_user_profiles_status", - "description": "Whether Fraud User Profiles is enabled for the zone." + "description": "Whether Fraud User Profiles is enabled for the zone.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string" }, "username_expressions": { "$ref": "#/$defs/fraud_username_expressions", - "description": "List of expressions to detect usernames in write HTTP requests.\n\n- Maximum of 10 expressions.\n- Omit or set to null to leave unchanged on update.\n- Provide an empty array `[]` to clear all expressions on update.\n- Invalid expressions will result in a 10400 Bad Request with details in the `messages` array.\n" + "description": "List of expressions to detect usernames in write HTTP requests.\n\n- Maximum of 10 expressions.\n- Omit or set to null to leave unchanged on update.\n- Provide an empty array `[]` to clear all expressions on update.\n- Invalid expressions will result in a 10400 Bad Request with details in the `messages` array." } }, "type": "object" }; -/** - * The schema of `fraud_identifier`. - */ -export const fraud_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `fraud_user_profiles_status`. - */ -export const fraud_user_profiles_status: JsonSchema = { - "description": "Whether Fraud User Profiles is enabled for the zone.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string" -}; - /** * The schema of `fraud_username_expressions`. */ export const fraud_username_expressions: JsonSchema = { - "description": "List of expressions to detect usernames in write HTTP requests.\n\n- Maximum of 10 expressions.\n- Omit or set to null to leave unchanged on update.\n- Provide an empty array `[]` to clear all expressions on update.\n- Invalid expressions will result in a 10400 Bad Request with details in the `messages` array.\n", + "description": "List of expressions to detect usernames in write HTTP requests.\n\n- Maximum of 10 expressions.\n- Omit or set to null to leave unchanged on update.\n- Provide an empty array `[]` to clear all expressions on update.\n- Invalid expressions will result in a 10400 Bad Request with details in the `messages` array.", "items": { "type": "string" }, diff --git a/src/generated/forge-mcp/fraud/tools.ts b/src/generated/forge-mcp/fraud/tools.ts index a8f59a538..993fba04a 100644 --- a/src/generated/forge-mcp/fraud/tools.ts +++ b/src/generated/forge-mcp/fraud/tools.ts @@ -10,15 +10,12 @@ import { fraud_fraud_settings, fraud_fraud_settings_response_body, fraud_messages, - fraud_user_profiles_status, fraud_username_expressions, } from "./outputs.js"; import { fraud_auth_criteria as fraud_auth_criteria$, fraud_authentication_settings as fraud_authentication_settings$, fraud_fraud_settings as fraud_fraud_settings$, - fraud_identifier, - fraud_user_profiles_status as fraud_user_profiles_status$, fraud_username_expressions as fraud_username_expressions$, } from "./schemas.js"; @@ -29,15 +26,16 @@ export const tools: readonly Tool[] = [ { name: "fraud_get", title: "Get Fraud Detection Settings", - description: "Retrieve Fraud Detection settings for a zone.", + description: "Retrieve Fraud Detection settings for a zone.\n\nGET /zones/{zone_id}/fraud_detection/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/fraud_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -49,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "fraud_identifier": fraud_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/fraud_fraud_settings_response_body", @@ -62,7 +58,6 @@ export const tools: readonly Tool[] = [ "fraud_fraud_settings": fraud_fraud_settings, "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body, "fraud_messages": fraud_messages, - "fraud_user_profiles_status": fraud_user_profiles_status, "fraud_username_expressions": fraud_username_expressions, }, }, @@ -98,7 +93,6 @@ export const tools: readonly Tool[] = [ "fraud_fraud_settings": fraud_fraud_settings, "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body, "fraud_messages": fraud_messages, - "fraud_user_profiles_status": fraud_user_profiles_status, "fraud_username_expressions": fraud_username_expressions, }, }, @@ -109,7 +103,7 @@ export const tools: readonly Tool[] = [ { name: "fraud_update", title: "Update Fraud Detection Settings", - description: "Update Fraud Detection settings for a zone.\n\nNotes on `username_expressions` behavior:\n- If omitted or set to null, expressions are not modified.\n- If provided as an empty array `[]`, all expressions will be cleared.", + description: "Update Fraud Detection settings for a zone.\n\nNotes on `username_expressions` behavior:\n- If omitted or set to null, expressions are not modified.\n- If provided as an empty array `[]`, all expressions will be cleared.\n\nPUT /zones/{zone_id}/fraud_detection/settings", inputSchema: { type: "object", properties: { @@ -117,10 +111,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/fraud_fraud_settings" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/fraud_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -133,12 +128,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "fraud_auth_criteria": fraud_auth_criteria$, "fraud_authentication_settings": fraud_authentication_settings$, "fraud_fraud_settings": fraud_fraud_settings$, - "fraud_identifier": fraud_identifier, - "fraud_user_profiles_status": fraud_user_profiles_status$, "fraud_username_expressions": fraud_username_expressions$, }, }, @@ -151,7 +145,6 @@ export const tools: readonly Tool[] = [ "fraud_fraud_settings": fraud_fraud_settings, "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body, "fraud_messages": fraud_messages, - "fraud_user_profiles_status": fraud_user_profiles_status, "fraud_username_expressions": fraud_username_expressions, }, }, @@ -186,7 +179,6 @@ export const tools: readonly Tool[] = [ "fraud_fraud_settings": fraud_fraud_settings, "fraud_fraud_settings_response_body": fraud_fraud_settings_response_body, "fraud_messages": fraud_messages, - "fraud_user_profiles_status": fraud_user_profiles_status, "fraud_username_expressions": fraud_username_expressions, }, }, diff --git a/src/generated/forge-mcp/googleTagGateway/config/schemas.ts b/src/generated/forge-mcp/googleTagGateway/config/schemas.ts index 69afb631d..58b2c85b2 100644 --- a/src/generated/forge-mcp/googleTagGateway/config/schemas.ts +++ b/src/generated/forge-mcp/googleTagGateway/config/schemas.ts @@ -45,11 +45,3 @@ export const google$$tag$$gateway_google$$tag$$gateway$$config: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `google-tag-gateway_identifier`. - */ -export const google$$tag$$gateway_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/googleTagGateway/config/tools.ts b/src/generated/forge-mcp/googleTagGateway/config/tools.ts index 09e3f38e4..79aac5a48 100644 --- a/src/generated/forge-mcp/googleTagGateway/config/tools.ts +++ b/src/generated/forge-mcp/googleTagGateway/config/tools.ts @@ -8,10 +8,7 @@ import { google$$tag$$gateway_google$$tag$$gateway$$config, google$$tag$$gateway_messages, } from "./outputs.js"; -import { - google$$tag$$gateway_google$$tag$$gateway$$config as google$$tag$$gateway_google$$tag$$gateway$$config$, - google$$tag$$gateway_identifier, -} from "./schemas.js"; +import { google$$tag$$gateway_google$$tag$$gateway$$config as google$$tag$$gateway_google$$tag$$gateway$$config$ } from "./schemas.js"; /** * The tools of `googleTagGateway.config`. @@ -20,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "googleTagGateway_config_get", title: "Get Google Tag Gateway configuration", - description: "Gets the Google Tag Gateway configuration for a zone.", + description: "Gets the Google Tag Gateway configuration for a zone.\n\nGET /zones/{zone_id}/settings/google-tag-gateway/config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/google-tag-gateway_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -40,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "google-tag-gateway_identifier": google$$tag$$gateway_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -126,7 +122,7 @@ export const tools: readonly Tool[] = [ { name: "googleTagGateway_config_update", title: "Update Google Tag Gateway configuration", - description: "Updates the Google Tag Gateway configuration for a zone.", + description: "Updates the Google Tag Gateway configuration for a zone.\n\nPUT /zones/{zone_id}/settings/google-tag-gateway/config", inputSchema: { type: "object", properties: { @@ -134,10 +130,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/google-tag-gateway_google-tag-gateway-config" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/google-tag-gateway_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -150,9 +147,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "google-tag-gateway_google-tag-gateway-config": google$$tag$$gateway_google$$tag$$gateway$$config$, - "google-tag-gateway_identifier": google$$tag$$gateway_identifier, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/healthchecks/outputs.ts b/src/generated/forge-mcp/healthchecks/outputs.ts index 668609e63..58eff6380 100644 --- a/src/generated/forge-mcp/healthchecks/outputs.ts +++ b/src/generated/forge-mcp/healthchecks/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `healthchecks_address` in responses. - */ -export const healthchecks_address: JsonSchema = { - "type": "string" -}; - /** * The schema of `healthchecks_api-response-collection` in responses. */ @@ -174,92 +167,72 @@ export const healthchecks_check_regions: JsonSchema = { ] }; -/** - * The schema of `healthchecks_consecutive_fails` in responses. - */ -export const healthchecks_consecutive_fails: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `healthchecks_consecutive_successes` in responses. - */ -export const healthchecks_consecutive_successes: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `healthchecks_description` in responses. - */ -export const healthchecks_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `healthchecks_failure_reason` in responses. - */ -export const healthchecks_failure_reason: JsonSchema = { - "type": "string" -}; - /** * The schema of `healthchecks_healthchecks` in responses. */ export const healthchecks_healthchecks: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/healthchecks_address" + "type": "string" }, "check_regions": { "$ref": "#/$defs/healthchecks_check_regions" }, "consecutive_fails": { - "$ref": "#/$defs/healthchecks_consecutive_fails" + "type": "integer" }, "consecutive_successes": { - "$ref": "#/$defs/healthchecks_consecutive_successes" + "type": "integer" }, "created_on": { - "$ref": "#/$defs/healthchecks_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/healthchecks_description" + "type": "string" }, "failure_reason": { - "$ref": "#/$defs/healthchecks_failure_reason" + "type": "string" }, "http_config": { "$ref": "#/$defs/healthchecks_http_config" }, "id": { - "$ref": "#/$defs/healthchecks_identifier" + "type": "string" }, "interval": { - "$ref": "#/$defs/healthchecks_interval" + "type": "integer" }, "modified_on": { - "$ref": "#/$defs/healthchecks_timestamp" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/healthchecks_name" + "type": "string" }, "retries": { - "$ref": "#/$defs/healthchecks_retries" + "type": "integer" }, "status": { - "$ref": "#/$defs/healthchecks_status" + "enum": [ + "unknown", + "healthy", + "unhealthy", + "suspended" + ], + "type": "string" }, "suspended": { - "$ref": "#/$defs/healthchecks_suspended" + "type": "boolean" }, "tcp_config": { "$ref": "#/$defs/healthchecks_tcp_config" }, "timeout": { - "$ref": "#/$defs/healthchecks_timeout" + "type": "integer" }, "type": { - "$ref": "#/$defs/healthchecks_type" + "type": "string" } }, "type": "object" @@ -345,7 +318,7 @@ export const healthchecks_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/healthchecks_identifier" + "type": "string" } }, "type": "object" @@ -356,20 +329,6 @@ export const healthchecks_id_response: JsonSchema = { ] }; -/** - * The schema of `healthchecks_identifier` in responses. - */ -export const healthchecks_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `healthchecks_interval` in responses. - */ -export const healthchecks_interval: JsonSchema = { - "type": "integer" -}; - /** * The schema of `healthchecks_messages` in responses. */ @@ -392,13 +351,6 @@ export const healthchecks_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `healthchecks_name` in responses. - */ -export const healthchecks_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `healthchecks_response_collection` in responses. */ @@ -442,13 +394,6 @@ export const healthchecks_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `healthchecks_retries` in responses. - */ -export const healthchecks_retries: JsonSchema = { - "type": "integer" -}; - /** * The schema of `healthchecks_single_response` in responses. */ @@ -468,26 +413,6 @@ export const healthchecks_single_response: JsonSchema = { ] }; -/** - * The schema of `healthchecks_status` in responses. - */ -export const healthchecks_status: JsonSchema = { - "enum": [ - "unknown", - "healthy", - "unhealthy", - "suspended" - ], - "type": "string" -}; - -/** - * The schema of `healthchecks_suspended` in responses. - */ -export const healthchecks_suspended: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `healthchecks_tcp_config` in responses. */ @@ -512,25 +437,3 @@ export const healthchecks_tcp_config: JsonSchema = { } ] }; - -/** - * The schema of `healthchecks_timeout` in responses. - */ -export const healthchecks_timeout: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `healthchecks_timestamp` in responses. - */ -export const healthchecks_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `healthchecks_type` in responses. - */ -export const healthchecks_type: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/healthchecks/previews/tools.ts b/src/generated/forge-mcp/healthchecks/previews/tools.ts index 071a81068..7c69bca07 100644 --- a/src/generated/forge-mcp/healthchecks/previews/tools.ts +++ b/src/generated/forge-mcp/healthchecks/previews/tools.ts @@ -3,47 +3,22 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - healthchecks_address, healthchecks_api$$response$$common, healthchecks_api$$response$$common$$failure, healthchecks_api$$response$$single, healthchecks_check_regions, - healthchecks_consecutive_fails, - healthchecks_consecutive_successes, - healthchecks_description, - healthchecks_failure_reason, healthchecks_healthchecks, healthchecks_http_config, healthchecks_id_response, - healthchecks_identifier, - healthchecks_interval, healthchecks_messages, - healthchecks_name, - healthchecks_retries, healthchecks_single_response, - healthchecks_status, - healthchecks_suspended, healthchecks_tcp_config, - healthchecks_timeout, - healthchecks_timestamp, - healthchecks_type, } from "../outputs.js"; import { - healthchecks_address as healthchecks_address$, healthchecks_check_regions as healthchecks_check_regions$, - healthchecks_consecutive_fails as healthchecks_consecutive_fails$, - healthchecks_consecutive_successes as healthchecks_consecutive_successes$, - healthchecks_description as healthchecks_description$, healthchecks_http_config as healthchecks_http_config$, - healthchecks_identifier as healthchecks_identifier$, - healthchecks_interval as healthchecks_interval$, - healthchecks_name as healthchecks_name$, healthchecks_query_healthcheck, - healthchecks_retries as healthchecks_retries$, - healthchecks_suspended as healthchecks_suspended$, healthchecks_tcp_config as healthchecks_tcp_config$, - healthchecks_timeout as healthchecks_timeout$, - healthchecks_type as healthchecks_type$, } from "../schemas.js"; /** @@ -53,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "healthchecks_previews_create", title: "Create Preview Health Check", - description: "Create a new preview health check.", + description: "Create a new preview health check.\n\nPOST /zones/{zone_id}/healthchecks/preview", inputSchema: { type: "object", properties: { @@ -61,10 +36,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_query_healthcheck" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -77,49 +53,25 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "healthchecks_address": healthchecks_address$, "healthchecks_check_regions": healthchecks_check_regions$, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails$, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes$, - "healthchecks_description": healthchecks_description$, "healthchecks_http_config": healthchecks_http_config$, - "healthchecks_identifier": healthchecks_identifier$, - "healthchecks_interval": healthchecks_interval$, - "healthchecks_name": healthchecks_name$, "healthchecks_query_healthcheck": healthchecks_query_healthcheck, - "healthchecks_retries": healthchecks_retries$, - "healthchecks_suspended": healthchecks_suspended$, "healthchecks_tcp_config": healthchecks_tcp_config$, - "healthchecks_timeout": healthchecks_timeout$, - "healthchecks_type": healthchecks_type$, }, }, outputSchema: { "$ref": "#/$defs/healthchecks_single_response", $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -152,29 +104,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ @@ -185,19 +123,20 @@ export const tools: readonly Tool[] = [ { name: "healthchecks_previews_delete", title: "Delete Preview Health Check", - description: "Delete a health check.", + description: "Delete a health check.\n\nDELETE /zones/{zone_id}/healthchecks/preview/{healthcheck_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -210,9 +149,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "healthchecks_identifier": healthchecks_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/healthchecks_id_response", @@ -220,7 +157,6 @@ export const tools: readonly Tool[] = [ "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_id_response": healthchecks_id_response, - "healthchecks_identifier": healthchecks_identifier, "healthchecks_messages": healthchecks_messages, }, }, @@ -258,7 +194,6 @@ export const tools: readonly Tool[] = [ "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_id_response": healthchecks_id_response, - "healthchecks_identifier": healthchecks_identifier, "healthchecks_messages": healthchecks_messages, }, }, @@ -269,19 +204,20 @@ export const tools: readonly Tool[] = [ { name: "healthchecks_previews_get", title: "Health Check Preview Details", - description: "Fetch a single configured health check preview.", + description: "Fetch a single configured health check preview.\n\nGET /zones/{zone_id}/healthchecks/preview/{healthcheck_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -294,35 +230,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "healthchecks_identifier": healthchecks_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/healthchecks_single_response", $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -356,29 +276,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/healthchecks/schemas.ts b/src/generated/forge-mcp/healthchecks/schemas.ts index 0296804b6..c608d2394 100644 --- a/src/generated/forge-mcp/healthchecks/schemas.ts +++ b/src/generated/forge-mcp/healthchecks/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `healthchecks_address`. - */ -export const healthchecks_address: JsonSchema = { - "description": "The hostname or IP address of the origin server to run health checks on.", - "type": "string" -}; - /** * The schema of `healthchecks_check_regions`. */ @@ -45,30 +37,6 @@ export const healthchecks_check_regions: JsonSchema = { ] }; -/** - * The schema of `healthchecks_consecutive_fails`. - */ -export const healthchecks_consecutive_fails: JsonSchema = { - "description": "The number of consecutive fails required from a health check before changing the health to unhealthy.", - "type": "integer" -}; - -/** - * The schema of `healthchecks_consecutive_successes`. - */ -export const healthchecks_consecutive_successes: JsonSchema = { - "description": "The number of consecutive successes required from a health check before changing the health to healthy.", - "type": "integer" -}; - -/** - * The schema of `healthchecks_description`. - */ -export const healthchecks_description: JsonSchema = { - "description": "A human-readable description of the health check.", - "type": "string" -}; - /** * The schema of `healthchecks_http_config`. */ @@ -154,93 +122,69 @@ export const healthchecks_http_config: JsonSchema = { ] }; -/** - * The schema of `healthchecks_identifier`. - */ -export const healthchecks_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; - -/** - * The schema of `healthchecks_interval`. - */ -export const healthchecks_interval: JsonSchema = { - "description": "The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase load on the origin as we check from multiple locations.", - "type": "integer" -}; - -/** - * The schema of `healthchecks_name`. - */ -export const healthchecks_name: JsonSchema = { - "description": "A short name to identify the health check. Only alphanumeric characters, hyphens and underscores are allowed.", - "type": "string" -}; - /** * The schema of `healthchecks_query_healthcheck`. */ export const healthchecks_query_healthcheck: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/healthchecks_address", - "description": "The hostname or IP address of the origin server to run health checks on." + "description": "The hostname or IP address of the origin server to run health checks on.", + "type": "string" }, "check_regions": { "$ref": "#/$defs/healthchecks_check_regions", "description": "A list of regions from which to run health checks. Null means Cloudflare will pick a default region." }, "consecutive_fails": { - "$ref": "#/$defs/healthchecks_consecutive_fails", "default": 1, - "description": "The number of consecutive fails required from a health check before changing the health to unhealthy." + "description": "The number of consecutive fails required from a health check before changing the health to unhealthy.", + "type": "integer" }, "consecutive_successes": { - "$ref": "#/$defs/healthchecks_consecutive_successes", "default": 1, - "description": "The number of consecutive successes required from a health check before changing the health to healthy." + "description": "The number of consecutive successes required from a health check before changing the health to healthy.", + "type": "integer" }, "description": { - "$ref": "#/$defs/healthchecks_description", - "description": "A human-readable description of the health check." + "description": "A human-readable description of the health check.", + "type": "string" }, "http_config": { "$ref": "#/$defs/healthchecks_http_config", "description": "Parameters specific to an HTTP or HTTPS health check." }, "interval": { - "$ref": "#/$defs/healthchecks_interval", "default": 60, - "description": "The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase load on the origin as we check from multiple locations." + "description": "The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase load on the origin as we check from multiple locations.", + "type": "integer" }, "name": { - "$ref": "#/$defs/healthchecks_name", - "description": "A short name to identify the health check. Only alphanumeric characters, hyphens and underscores are allowed." + "description": "A short name to identify the health check. Only alphanumeric characters, hyphens and underscores are allowed.", + "type": "string" }, "retries": { - "$ref": "#/$defs/healthchecks_retries", "default": 2, - "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately." + "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately.", + "type": "integer" }, "suspended": { - "$ref": "#/$defs/healthchecks_suspended", "default": false, - "description": "If suspended, no health checks are sent to the origin." + "description": "If suspended, no health checks are sent to the origin.", + "type": "boolean" }, "tcp_config": { "$ref": "#/$defs/healthchecks_tcp_config", "description": "Parameters specific to TCP health check." }, "timeout": { - "$ref": "#/$defs/healthchecks_timeout", "default": 5, - "description": "The timeout (in seconds) before marking the health check as failed." + "description": "The timeout (in seconds) before marking the health check as failed.", + "type": "integer" }, "type": { - "$ref": "#/$defs/healthchecks_type", "default": "HTTP", - "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP', 'HTTPS' and 'TCP'." + "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP', 'HTTPS' and 'TCP'.", + "type": "string" } }, "required": [ @@ -250,22 +194,6 @@ export const healthchecks_query_healthcheck: JsonSchema = { "type": "object" }; -/** - * The schema of `healthchecks_retries`. - */ -export const healthchecks_retries: JsonSchema = { - "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately.", - "type": "integer" -}; - -/** - * The schema of `healthchecks_suspended`. - */ -export const healthchecks_suspended: JsonSchema = { - "description": "If suspended, no health checks are sent to the origin.", - "type": "boolean" -}; - /** * The schema of `healthchecks_tcp_config`. */ @@ -295,19 +223,3 @@ export const healthchecks_tcp_config: JsonSchema = { } ] }; - -/** - * The schema of `healthchecks_timeout`. - */ -export const healthchecks_timeout: JsonSchema = { - "description": "The timeout (in seconds) before marking the health check as failed.", - "type": "integer" -}; - -/** - * The schema of `healthchecks_type`. - */ -export const healthchecks_type: JsonSchema = { - "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP', 'HTTPS' and 'TCP'.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/healthchecks/tools.ts b/src/generated/forge-mcp/healthchecks/tools.ts index 73dd8bd77..4d1fb4b80 100644 --- a/src/generated/forge-mcp/healthchecks/tools.ts +++ b/src/generated/forge-mcp/healthchecks/tools.ts @@ -3,50 +3,25 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { - healthchecks_address, healthchecks_api$$response$$collection, healthchecks_api$$response$$common, healthchecks_api$$response$$common$$failure, healthchecks_api$$response$$single, healthchecks_check_regions, - healthchecks_consecutive_fails, - healthchecks_consecutive_successes, - healthchecks_description, - healthchecks_failure_reason, healthchecks_healthchecks, healthchecks_http_config, healthchecks_id_response, - healthchecks_identifier, - healthchecks_interval, healthchecks_messages, - healthchecks_name, healthchecks_response_collection, healthchecks_result_info, - healthchecks_retries, healthchecks_single_response, - healthchecks_status, - healthchecks_suspended, healthchecks_tcp_config, - healthchecks_timeout, - healthchecks_timestamp, - healthchecks_type, } from "./outputs.js"; import { - healthchecks_address as healthchecks_address$, healthchecks_check_regions as healthchecks_check_regions$, - healthchecks_consecutive_fails as healthchecks_consecutive_fails$, - healthchecks_consecutive_successes as healthchecks_consecutive_successes$, - healthchecks_description as healthchecks_description$, healthchecks_http_config as healthchecks_http_config$, - healthchecks_identifier as healthchecks_identifier$, - healthchecks_interval as healthchecks_interval$, - healthchecks_name as healthchecks_name$, healthchecks_query_healthcheck, - healthchecks_retries as healthchecks_retries$, - healthchecks_suspended as healthchecks_suspended$, healthchecks_tcp_config as healthchecks_tcp_config$, - healthchecks_timeout as healthchecks_timeout$, - healthchecks_type as healthchecks_type$, } from "./schemas.js"; /** @@ -56,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "healthchecks_create", title: "Create Health Check", - description: "Create a new health check.", + description: "Create a new health check.\n\nPOST /zones/{zone_id}/healthchecks", inputSchema: { type: "object", properties: { @@ -64,10 +39,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_query_healthcheck" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -80,49 +56,25 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "healthchecks_address": healthchecks_address$, "healthchecks_check_regions": healthchecks_check_regions$, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails$, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes$, - "healthchecks_description": healthchecks_description$, "healthchecks_http_config": healthchecks_http_config$, - "healthchecks_identifier": healthchecks_identifier$, - "healthchecks_interval": healthchecks_interval$, - "healthchecks_name": healthchecks_name$, "healthchecks_query_healthcheck": healthchecks_query_healthcheck, - "healthchecks_retries": healthchecks_retries$, - "healthchecks_suspended": healthchecks_suspended$, "healthchecks_tcp_config": healthchecks_tcp_config$, - "healthchecks_timeout": healthchecks_timeout$, - "healthchecks_type": healthchecks_type$, }, }, outputSchema: { "$ref": "#/$defs/healthchecks_single_response", $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -155,29 +107,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ @@ -188,19 +126,20 @@ export const tools: readonly Tool[] = [ { name: "healthchecks_delete", title: "Delete Health Check", - description: "Delete a health check.", + description: "Delete a health check.\n\nDELETE /zones/{zone_id}/healthchecks/{healthcheck_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -213,9 +152,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "healthchecks_identifier": healthchecks_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/healthchecks_id_response", @@ -223,7 +160,6 @@ export const tools: readonly Tool[] = [ "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_id_response": healthchecks_id_response, - "healthchecks_identifier": healthchecks_identifier, "healthchecks_messages": healthchecks_messages, }, }, @@ -261,7 +197,6 @@ export const tools: readonly Tool[] = [ "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_id_response": healthchecks_id_response, - "healthchecks_identifier": healthchecks_identifier, "healthchecks_messages": healthchecks_messages, }, }, @@ -272,7 +207,7 @@ export const tools: readonly Tool[] = [ { name: "healthchecks_edit", title: "Patch Health Check", - description: "Patch a configured health check.", + description: "Patch a configured health check.\n\nPATCH /zones/{zone_id}/healthchecks/{healthcheck_id}", inputSchema: { type: "object", properties: { @@ -280,14 +215,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_query_healthcheck" }, "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -301,49 +237,25 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "healthchecks_address": healthchecks_address$, "healthchecks_check_regions": healthchecks_check_regions$, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails$, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes$, - "healthchecks_description": healthchecks_description$, "healthchecks_http_config": healthchecks_http_config$, - "healthchecks_identifier": healthchecks_identifier$, - "healthchecks_interval": healthchecks_interval$, - "healthchecks_name": healthchecks_name$, "healthchecks_query_healthcheck": healthchecks_query_healthcheck, - "healthchecks_retries": healthchecks_retries$, - "healthchecks_suspended": healthchecks_suspended$, "healthchecks_tcp_config": healthchecks_tcp_config$, - "healthchecks_timeout": healthchecks_timeout$, - "healthchecks_type": healthchecks_type$, }, }, outputSchema: { "$ref": "#/$defs/healthchecks_single_response", $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -376,29 +288,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ @@ -409,19 +307,20 @@ export const tools: readonly Tool[] = [ { name: "healthchecks_get", title: "Health Check Details", - description: "Fetch a single configured health check.", + description: "Fetch a single configured health check.\n\nGET /zones/{zone_id}/healthchecks/{healthcheck_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -434,35 +333,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "healthchecks_identifier": healthchecks_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/healthchecks_single_response", $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -496,29 +379,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ @@ -528,15 +397,16 @@ export const tools: readonly Tool[] = [ { name: "healthchecks_list", title: "List Health Checks", - description: "List configured health checks.", + description: "List configured health checks.\n\nGET /zones/{zone_id}/healthchecks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -545,6 +415,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -563,36 +434,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "healthchecks_identifier": healthchecks_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/healthchecks_response_collection", $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-collection": healthchecks_api$$response$$collection, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, "healthchecks_response_collection": healthchecks_response_collection, "healthchecks_result_info": healthchecks_result_info, - "healthchecks_retries": healthchecks_retries, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -626,30 +481,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-collection": healthchecks_api$$response$$collection, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, "healthchecks_response_collection": healthchecks_response_collection, "healthchecks_result_info": healthchecks_result_info, - "healthchecks_retries": healthchecks_retries, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ @@ -663,7 +504,7 @@ export const tools: readonly Tool[] = [ { name: "healthchecks_update", title: "Update Health Check", - description: "Update a configured health check.", + description: "Update a configured health check.\n\nPUT /zones/{zone_id}/healthchecks/{healthcheck_id}", inputSchema: { type: "object", properties: { @@ -671,14 +512,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/healthchecks_query_healthcheck" }, "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/healthchecks_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -692,49 +534,25 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "healthchecks_address": healthchecks_address$, "healthchecks_check_regions": healthchecks_check_regions$, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails$, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes$, - "healthchecks_description": healthchecks_description$, "healthchecks_http_config": healthchecks_http_config$, - "healthchecks_identifier": healthchecks_identifier$, - "healthchecks_interval": healthchecks_interval$, - "healthchecks_name": healthchecks_name$, "healthchecks_query_healthcheck": healthchecks_query_healthcheck, - "healthchecks_retries": healthchecks_retries$, - "healthchecks_suspended": healthchecks_suspended$, "healthchecks_tcp_config": healthchecks_tcp_config$, - "healthchecks_timeout": healthchecks_timeout$, - "healthchecks_type": healthchecks_type$, }, }, outputSchema: { "$ref": "#/$defs/healthchecks_single_response", $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, annotations: { @@ -767,29 +585,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "healthchecks_address": healthchecks_address, "healthchecks_api-response-common": healthchecks_api$$response$$common, "healthchecks_api-response-common-failure": healthchecks_api$$response$$common$$failure, "healthchecks_api-response-single": healthchecks_api$$response$$single, "healthchecks_check_regions": healthchecks_check_regions, - "healthchecks_consecutive_fails": healthchecks_consecutive_fails, - "healthchecks_consecutive_successes": healthchecks_consecutive_successes, - "healthchecks_description": healthchecks_description, - "healthchecks_failure_reason": healthchecks_failure_reason, "healthchecks_healthchecks": healthchecks_healthchecks, "healthchecks_http_config": healthchecks_http_config, - "healthchecks_identifier": healthchecks_identifier, - "healthchecks_interval": healthchecks_interval, "healthchecks_messages": healthchecks_messages, - "healthchecks_name": healthchecks_name, - "healthchecks_retries": healthchecks_retries, "healthchecks_single_response": healthchecks_single_response, - "healthchecks_status": healthchecks_status, - "healthchecks_suspended": healthchecks_suspended, "healthchecks_tcp_config": healthchecks_tcp_config, - "healthchecks_timeout": healthchecks_timeout, - "healthchecks_timestamp": healthchecks_timestamp, - "healthchecks_type": healthchecks_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts b/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts index 34fc2641f..a9126a28e 100644 --- a/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts +++ b/src/generated/forge-mcp/hyperdrive/integration/planetscale/tools.ts @@ -7,7 +7,6 @@ import { hyperdrive_api$$response$$single, hyperdrive_messages, } from "../../outputs.js"; -import { hyperdrive_identifier } from "../../schemas.js"; import { hyperdrive_hyperdrive$$database$$signature$$response } from "./outputs.js"; /** @@ -17,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "hyperdrive_integration_planetscale_signature", title: "Create Database Signature", - description: "Returns a short-lived signed authorization for creating a database that is billed through Cloudflare. The caller passes these values to the integration partner's own CLI, which verifies the signature before creating the database. Requires the account to be entitled to Cloudflare-billed databases for the integration.\n\nThis method is beta.", + description: "Returns a short-lived signed authorization for creating a database that is billed through Cloudflare. The caller passes these values to the integration partner's own CLI, which verifies the signature before creating the database. Requires the account to be entitled to Cloudflare-billed databases for the integration.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/hyperdrive/integrationsOperations/planetScale/createDatabaseSignature", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." + "description": "The Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -37,9 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "hyperdrive_identifier": hyperdrive_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/hyperdrive/outputs.ts b/src/generated/forge-mcp/hyperdrive/outputs.ts index 05cd441b5..bfcaeaa48 100644 --- a/src/generated/forge-mcp/hyperdrive/outputs.ts +++ b/src/generated/forge-mcp/hyperdrive/outputs.ts @@ -138,7 +138,7 @@ export const hyperdrive_hyperdrive$$config$$response: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/hyperdrive_identifier" + "type": "string" }, "integration": { "$ref": "#/$defs/hyperdrive_hyperdrive-planet-scale-integration" @@ -151,13 +151,13 @@ export const hyperdrive_hyperdrive$$config$$response: JsonSchema = { "$ref": "#/$defs/hyperdrive_hyperdrive-mtls" }, "name": { - "$ref": "#/$defs/hyperdrive_hyperdrive-name" + "type": "string" }, "origin": { "$ref": "#/$defs/hyperdrive_hyperdrive-origin-full" }, "origin_connection_limit": { - "$ref": "#/$defs/hyperdrive_hyperdrive-origin-connection-limit" + "type": "integer" }, "restarted_on": { "oneOf": [ @@ -192,7 +192,12 @@ export const hyperdrive_hyperdrive$$database$$full: JsonSchema = { "type": "string" }, "scheme": { - "$ref": "#/$defs/hyperdrive_hyperdrive-scheme" + "enum": [ + "postgres", + "postgresql", + "mysql" + ], + "type": "string" }, "user": { "type": "string" @@ -207,16 +212,6 @@ export const hyperdrive_hyperdrive$$database$$full: JsonSchema = { "type": "object" }; -/** - * The schema of `hyperdrive_hyperdrive-integration-provider` in responses. - */ -export const hyperdrive_hyperdrive$$integration$$provider: JsonSchema = { - "enum": [ - "planetscale" - ], - "type": "string" -}; - /** * The schema of `hyperdrive_hyperdrive-mtls` in responses. */ @@ -235,20 +230,6 @@ export const hyperdrive_hyperdrive$$mtls: JsonSchema = { "type": "object" }; -/** - * The schema of `hyperdrive_hyperdrive-name` in responses. - */ -export const hyperdrive_hyperdrive$$name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `hyperdrive_hyperdrive-origin-connection-limit` in responses. - */ -export const hyperdrive_hyperdrive$$origin$$connection$$limit: JsonSchema = { - "type": "integer" -}; - /** * The schema of `hyperdrive_hyperdrive-origin-full` in responses. */ @@ -305,10 +286,18 @@ export const hyperdrive_hyperdrive$$planet$$scale$$integration: JsonSchema = { "type": "string" }, "provider": { - "$ref": "#/$defs/hyperdrive_hyperdrive-integration-provider" + "enum": [ + "planetscale" + ], + "type": "string" }, "scheme": { - "$ref": "#/$defs/hyperdrive_hyperdrive-scheme" + "enum": [ + "postgres", + "postgresql", + "mysql" + ], + "type": "string" } }, "required": [ @@ -321,25 +310,6 @@ export const hyperdrive_hyperdrive$$planet$$scale$$integration: JsonSchema = { "type": "object" }; -/** - * The schema of `hyperdrive_hyperdrive-scheme` in responses. - */ -export const hyperdrive_hyperdrive$$scheme: JsonSchema = { - "enum": [ - "postgres", - "postgresql", - "mysql" - ], - "type": "string" -}; - -/** - * The schema of `hyperdrive_identifier` in responses. - */ -export const hyperdrive_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `hyperdrive_internet-origin` in responses. */ diff --git a/src/generated/forge-mcp/hyperdrive/schemas.ts b/src/generated/forge-mcp/hyperdrive/schemas.ts index cfb925f9a..3783d30b8 100644 --- a/src/generated/forge-mcp/hyperdrive/schemas.ts +++ b/src/generated/forge-mcp/hyperdrive/schemas.ts @@ -173,16 +173,16 @@ export const hyperdrive_hyperdrive$$config: JsonSchema = { "description": "mTLS configuration for the origin connection. Cannot be used with VPC Service origins; TLS must be managed on the VPC Service." }, "name": { - "$ref": "#/$defs/hyperdrive_hyperdrive-name", - "description": "The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API." + "description": "The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.", + "type": "string" }, "origin": { "$ref": "#/$defs/hyperdrive_hyperdrive-origin-full", "description": "Combines database connection fields with exactly one supported network location." }, "origin_connection_limit": { - "$ref": "#/$defs/hyperdrive_hyperdrive-origin-connection-limit", - "description": "The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.\n\nMaximum allowed: 20 for free tier accounts, 100 for paid tier accounts.\nIf not specified, defaults to 20 for free tier and 60 for paid tier.\nCertain Cloudflare-managed origins may be permitted a higher limit.\nContact Cloudflare if you need a higher limit.\n" + "description": "The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.\n\nMaximum allowed: 20 for free tier accounts, 100 for paid tier accounts.\nIf not specified, defaults to 20 for free tier and 60 for paid tier.\nCertain Cloudflare-managed origins may be permitted a higher limit.\nContact Cloudflare if you need a higher limit.", + "type": "integer" } }, "required": [ @@ -220,12 +220,12 @@ export const hyperdrive_hyperdrive$$config$$create$$common: JsonSchema = { "description": "mTLS configuration for the origin connection. Cannot be used with VPC Service origins; TLS must be managed on the VPC Service." }, "name": { - "$ref": "#/$defs/hyperdrive_hyperdrive-name", - "description": "The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API." + "description": "The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.", + "type": "string" }, "origin_connection_limit": { - "$ref": "#/$defs/hyperdrive_hyperdrive-origin-connection-limit", - "description": "The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.\n\nMaximum allowed: 20 for free tier accounts, 100 for paid tier accounts.\nIf not specified, defaults to 20 for free tier and 60 for paid tier.\nCertain Cloudflare-managed origins may be permitted a higher limit.\nContact Cloudflare if you need a higher limit.\n" + "description": "The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.\n\nMaximum allowed: 20 for free tier accounts, 100 for paid tier accounts.\nIf not specified, defaults to 20 for free tier and 60 for paid tier.\nCertain Cloudflare-managed origins may be permitted a higher limit.\nContact Cloudflare if you need a higher limit.", + "type": "integer" } }, "required": [ @@ -335,8 +335,8 @@ export const hyperdrive_hyperdrive$$config$$patch: JsonSchema = { ] }, "origin_connection_limit": { - "$ref": "#/$defs/hyperdrive_hyperdrive-origin-connection-limit", - "description": "The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.\n\nMaximum allowed: 20 for free tier accounts, 100 for paid tier accounts.\nIf not specified, defaults to 20 for free tier and 60 for paid tier.\nCertain Cloudflare-managed origins may be permitted a higher limit.\nContact Cloudflare if you need a higher limit.\n" + "description": "The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.\n\nMaximum allowed: 20 for free tier accounts, 100 for paid tier accounts.\nIf not specified, defaults to 20 for free tier and 60 for paid tier.\nCertain Cloudflare-managed origins may be permitted a higher limit.\nContact Cloudflare if you need a higher limit.", + "type": "integer" } }, "type": "object" @@ -357,8 +357,13 @@ export const hyperdrive_hyperdrive$$database: JsonSchema = { "type": "string" }, "scheme": { - "$ref": "#/$defs/hyperdrive_hyperdrive-scheme", - "description": "Specifies the URL scheme used to connect to your origin database." + "description": "Specifies the URL scheme used to connect to your origin database.", + "enum": [ + "postgres", + "postgresql", + "mysql" + ], + "type": "string" }, "user": { "description": "Set the user of your origin database.", @@ -382,8 +387,13 @@ export const hyperdrive_hyperdrive$$database$$full: JsonSchema = { "type": "string" }, "scheme": { - "$ref": "#/$defs/hyperdrive_hyperdrive-scheme", - "description": "Specifies the URL scheme used to connect to your origin database." + "description": "Specifies the URL scheme used to connect to your origin database.", + "enum": [ + "postgres", + "postgresql", + "mysql" + ], + "type": "string" }, "user": { "description": "Set the user of your origin database.", @@ -399,17 +409,6 @@ export const hyperdrive_hyperdrive$$database$$full: JsonSchema = { "type": "object" }; -/** - * The schema of `hyperdrive_hyperdrive-integration-provider`. - */ -export const hyperdrive_hyperdrive$$integration$$provider: JsonSchema = { - "description": "The database integration provider used by this operation.", - "enum": [ - "planetscale" - ], - "type": "string" -}; - /** * The schema of `hyperdrive_hyperdrive-mtls`. */ @@ -432,22 +431,6 @@ export const hyperdrive_hyperdrive$$mtls: JsonSchema = { "type": "object" }; -/** - * The schema of `hyperdrive_hyperdrive-name`. - */ -export const hyperdrive_hyperdrive$$name: JsonSchema = { - "description": "The name of the Hyperdrive configuration. Used to identify the configuration in the Cloudflare dashboard and API.", - "type": "string" -}; - -/** - * The schema of `hyperdrive_hyperdrive-origin-connection-limit`. - */ -export const hyperdrive_hyperdrive$$origin$$connection$$limit: JsonSchema = { - "description": "The (soft) maximum number of connections the Hyperdrive is allowed to make to the origin database.\n\nMaximum allowed: 20 for free tier accounts, 100 for paid tier accounts.\nIf not specified, defaults to 20 for free tier and 60 for paid tier.\nCertain Cloudflare-managed origins may be permitted a higher limit.\nContact Cloudflare if you need a higher limit.\n", - "type": "integer" -}; - /** * The schema of `hyperdrive_hyperdrive-origin-full`. */ @@ -510,12 +493,20 @@ export const hyperdrive_hyperdrive$$planet$$scale$$integration: JsonSchema = { "type": "string" }, "provider": { - "$ref": "#/$defs/hyperdrive_hyperdrive-integration-provider", - "description": "The database integration provider used by this operation." + "description": "The database integration provider used by this operation.", + "enum": [ + "planetscale" + ], + "type": "string" }, "scheme": { - "$ref": "#/$defs/hyperdrive_hyperdrive-scheme", - "description": "Specifies the URL scheme used to connect to your origin database." + "description": "Specifies the URL scheme used to connect to your origin database.", + "enum": [ + "postgres", + "postgresql", + "mysql" + ], + "type": "string" } }, "required": [ @@ -528,27 +519,6 @@ export const hyperdrive_hyperdrive$$planet$$scale$$integration: JsonSchema = { "type": "object" }; -/** - * The schema of `hyperdrive_hyperdrive-scheme`. - */ -export const hyperdrive_hyperdrive$$scheme: JsonSchema = { - "description": "Specifies the URL scheme used to connect to your origin database.", - "enum": [ - "postgres", - "postgresql", - "mysql" - ], - "type": "string" -}; - -/** - * The schema of `hyperdrive_identifier`. - */ -export const hyperdrive_identifier: JsonSchema = { - "description": "Define configurations using a unique string identifier.", - "type": "string" -}; - /** * The schema of `hyperdrive_internet-origin`. */ @@ -602,7 +572,7 @@ export const hyperdrive_over$$access$$origin: JsonSchema = { * The schema of `hyperdrive_vpc-service-origin`. */ export const hyperdrive_vpc$$service$$origin: JsonSchema = { - "description": "Connect to a database through a Workers VPC Service. TLS settings (mTLS, sslmode) cannot be configured on the Hyperdrive when using a VPC Service origin; TLS must be managed on the VPC Service itself.\n", + "description": "Connect to a database through a Workers VPC Service. TLS settings (mTLS, sslmode) cannot be configured on the Hyperdrive when using a VPC Service origin; TLS must be managed on the VPC Service itself.", "properties": { "service_id": { "description": "The identifier of the Workers VPC Service to connect through. Hyperdrive will egress through the specified VPC Service to reach the origin database.", diff --git a/src/generated/forge-mcp/hyperdrive/tools.ts b/src/generated/forge-mcp/hyperdrive/tools.ts index c9fb7cd94..94f637796 100644 --- a/src/generated/forge-mcp/hyperdrive/tools.ts +++ b/src/generated/forge-mcp/hyperdrive/tools.ts @@ -10,14 +10,9 @@ import { hyperdrive_hyperdrive$$caching$$response, hyperdrive_hyperdrive$$config$$response, hyperdrive_hyperdrive$$database$$full, - hyperdrive_hyperdrive$$integration$$provider, hyperdrive_hyperdrive$$mtls, - hyperdrive_hyperdrive$$name, - hyperdrive_hyperdrive$$origin$$connection$$limit, hyperdrive_hyperdrive$$origin$$full, hyperdrive_hyperdrive$$planet$$scale$$integration, - hyperdrive_hyperdrive$$scheme, - hyperdrive_identifier, hyperdrive_internet$$origin, hyperdrive_messages, hyperdrive_over$$access$$origin, @@ -40,14 +35,9 @@ import { hyperdrive_hyperdrive$$config$$patch, hyperdrive_hyperdrive$$database, hyperdrive_hyperdrive$$database$$full as hyperdrive_hyperdrive$$database$$full$, - hyperdrive_hyperdrive$$integration$$provider as hyperdrive_hyperdrive$$integration$$provider$, hyperdrive_hyperdrive$$mtls as hyperdrive_hyperdrive$$mtls$, - hyperdrive_hyperdrive$$name as hyperdrive_hyperdrive$$name$, - hyperdrive_hyperdrive$$origin$$connection$$limit as hyperdrive_hyperdrive$$origin$$connection$$limit$, hyperdrive_hyperdrive$$origin$$full as hyperdrive_hyperdrive$$origin$$full$, hyperdrive_hyperdrive$$planet$$scale$$integration as hyperdrive_hyperdrive$$planet$$scale$$integration$, - hyperdrive_hyperdrive$$scheme as hyperdrive_hyperdrive$$scheme$, - hyperdrive_identifier as hyperdrive_identifier$, hyperdrive_internet$$origin as hyperdrive_internet$$origin$, hyperdrive_over$$access$$origin as hyperdrive_over$$access$$origin$, hyperdrive_vpc$$service$$origin as hyperdrive_vpc$$service$$origin$, @@ -60,7 +50,7 @@ export const tools: readonly Tool[] = [ { name: "hyperdrive_create", title: "Create Hyperdrive", - description: "Creates and returns a new Hyperdrive configuration. For a PlanetScale integration, the Cloudflare account must already be linked to PlanetScale in the Hyperdrive dashboard.", + description: "Creates and returns a new Hyperdrive configuration. For a PlanetScale integration, the Cloudflare account must already be linked to PlanetScale in the Hyperdrive dashboard.\n\nPOST /accounts/{account_id}/hyperdrive/configs", inputSchema: { type: "object", properties: { @@ -68,10 +58,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/hyperdrive_hyperdrive-config-create" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." + "description": "The Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -84,6 +75,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "hyperdrive_hyperdrive-caching-create": hyperdrive_hyperdrive$$caching$$create, "hyperdrive_hyperdrive-caching-create-disabled": hyperdrive_hyperdrive$$caching$$create$$disabled, @@ -93,14 +85,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-config-create-with-integration": hyperdrive_hyperdrive$$config$$create$$with$$integration, "hyperdrive_hyperdrive-config-create-with-origin": hyperdrive_hyperdrive$$config$$create$$with$$origin, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full$, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider$, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls$, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name$, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit$, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full$, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration$, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme$, - "hyperdrive_identifier": hyperdrive_identifier$, "hyperdrive_internet-origin": hyperdrive_internet$$origin$, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin$, "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin$, @@ -125,14 +112,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -197,14 +179,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -219,19 +196,20 @@ export const tools: readonly Tool[] = [ { name: "hyperdrive_delete", title: "Delete Hyperdrive", - description: "Deletes the specified Hyperdrive.\n\nConfirm with the user before calling this tool. This operation deletes an existing Hyperdrive configuration.", + description: "Deletes the specified Hyperdrive.\n\nConfirm with the user before calling this tool. This operation deletes an existing Hyperdrive configuration.\n\nDELETE /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." + "description": "The Cloudflare account ID.", + "type": "string" }, "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "description": "The unique identifier of the Hyperdrive configuration.", + "type": "string" } }, "required": [ @@ -244,9 +222,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "hyperdrive_identifier": hyperdrive_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -334,19 +310,20 @@ export const tools: readonly Tool[] = [ { name: "hyperdrive_get", title: "Get Hyperdrive", - description: "Returns the specified Hyperdrive configuration.", + description: "Returns the specified Hyperdrive configuration.\n\nGET /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." + "description": "The Cloudflare account ID.", + "type": "string" }, "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "description": "The unique identifier of the Hyperdrive configuration.", + "type": "string" } }, "required": [ @@ -359,9 +336,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "hyperdrive_identifier": hyperdrive_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -382,14 +357,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -443,14 +413,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -464,15 +429,16 @@ export const tools: readonly Tool[] = [ { name: "hyperdrive_list", title: "List Hyperdrives", - description: "Returns a list of Hyperdrives.", + description: "Returns a list of Hyperdrives.\n\nGET /accounts/{account_id}/hyperdrive/configs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." + "description": "The Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -481,6 +447,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -499,9 +466,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "hyperdrive_identifier": hyperdrive_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -526,14 +491,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -592,14 +552,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -618,7 +573,7 @@ export const tools: readonly Tool[] = [ { name: "hyperdrive_replace", title: "Replace Hyperdrive", - description: "Replaces and returns the specified Hyperdrive configuration. The request must include the name and complete origin connection details. Omitted caching settings are reset to their defaults, while omitted mTLS settings and origin connection limits are preserved. The integration association is set only during creation and cannot be changed; omit the integration field even when replacing an integration-backed configuration. Use the update operation to modify only selected fields.", + description: "Replaces and returns the specified Hyperdrive configuration. The request must include the name and complete origin connection details. Omitted caching settings are reset to their defaults, while omitted mTLS settings and origin connection limits are preserved. The integration association is set only during creation and cannot be changed; omit the integration field even when replacing an integration-backed configuration. Use the update operation to modify only selected fields.\n\nPUT /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}", inputSchema: { type: "object", properties: { @@ -626,14 +581,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/hyperdrive_hyperdrive-config" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." + "description": "The Cloudflare account ID.", + "type": "string" }, "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "description": "The unique identifier of the Hyperdrive configuration.", + "type": "string" } }, "required": [ @@ -647,6 +603,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "hyperdrive_hyperdrive-caching": hyperdrive_hyperdrive$$caching, "hyperdrive_hyperdrive-caching-common": hyperdrive_hyperdrive$$caching$$common, @@ -655,11 +612,7 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-config": hyperdrive_hyperdrive$$config, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full$, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls$, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name$, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit$, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full$, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme$, - "hyperdrive_identifier": hyperdrive_identifier$, "hyperdrive_internet-origin": hyperdrive_internet$$origin$, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin$, "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin$, @@ -684,14 +637,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -756,14 +704,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -778,19 +721,20 @@ export const tools: readonly Tool[] = [ { name: "hyperdrive_restart", title: "Restart Hyperdrive", - description: "Restarts the connection pool for the specified Hyperdrive configuration without changing its configuration. Existing connections are drained and a new pool is established at the edge.", + description: "Restarts the connection pool for the specified Hyperdrive configuration without changing its configuration. Existing connections are drained and a new pool is established at the edge.\n\nPOST /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}/restart", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." + "description": "The Cloudflare account ID.", + "type": "string" }, "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "description": "The unique identifier of the Hyperdrive configuration.", + "type": "string" } }, "required": [ @@ -803,9 +747,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "hyperdrive_identifier": hyperdrive_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -826,14 +768,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -881,14 +818,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -902,7 +834,7 @@ export const tools: readonly Tool[] = [ { name: "hyperdrive_update", title: "Update Hyperdrive", - description: "Updates and returns the specified fields of the Hyperdrive configuration. Custom caching settings are not kept if caching is disabled. For an integration-backed configuration, the integration association is preserved but cannot be changed; omit the integration field.", + description: "Updates and returns the specified fields of the Hyperdrive configuration. Custom caching settings are not kept if caching is disabled. For an integration-backed configuration, the integration association is preserved but cannot be changed; omit the integration field.\n\nPATCH /accounts/{account_id}/hyperdrive/configs/{hyperdrive_id}", inputSchema: { type: "object", properties: { @@ -910,14 +842,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/hyperdrive_hyperdrive-config-patch" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The Cloudflare account ID." + "description": "The Cloudflare account ID.", + "type": "string" }, "hyperdrive_id": { - "$ref": "#/$defs/hyperdrive_identifier", - "description": "The unique identifier of the Hyperdrive configuration." + "description": "The unique identifier of the Hyperdrive configuration.", + "type": "string" } }, "required": [ @@ -931,6 +864,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "hyperdrive_hyperdrive-caching": hyperdrive_hyperdrive$$caching, "hyperdrive_hyperdrive-caching-common": hyperdrive_hyperdrive$$caching$$common, @@ -939,9 +873,6 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-config-patch": hyperdrive_hyperdrive$$config$$patch, "hyperdrive_hyperdrive-database": hyperdrive_hyperdrive$$database, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls$, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit$, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme$, - "hyperdrive_identifier": hyperdrive_identifier$, "hyperdrive_internet-origin": hyperdrive_internet$$origin$, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin$, "hyperdrive_vpc-service-origin": hyperdrive_vpc$$service$$origin$, @@ -966,14 +897,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, @@ -1038,14 +964,9 @@ export const tools: readonly Tool[] = [ "hyperdrive_hyperdrive-caching-response": hyperdrive_hyperdrive$$caching$$response, "hyperdrive_hyperdrive-config-response": hyperdrive_hyperdrive$$config$$response, "hyperdrive_hyperdrive-database-full": hyperdrive_hyperdrive$$database$$full, - "hyperdrive_hyperdrive-integration-provider": hyperdrive_hyperdrive$$integration$$provider, "hyperdrive_hyperdrive-mtls": hyperdrive_hyperdrive$$mtls, - "hyperdrive_hyperdrive-name": hyperdrive_hyperdrive$$name, - "hyperdrive_hyperdrive-origin-connection-limit": hyperdrive_hyperdrive$$origin$$connection$$limit, "hyperdrive_hyperdrive-origin-full": hyperdrive_hyperdrive$$origin$$full, "hyperdrive_hyperdrive-planet-scale-integration": hyperdrive_hyperdrive$$planet$$scale$$integration, - "hyperdrive_hyperdrive-scheme": hyperdrive_hyperdrive$$scheme, - "hyperdrive_identifier": hyperdrive_identifier, "hyperdrive_internet-origin": hyperdrive_internet$$origin, "hyperdrive_messages": hyperdrive_messages, "hyperdrive_over-access-origin": hyperdrive_over$$access$$origin, diff --git a/src/generated/forge-mcp/iam/oauthClients/outputs.ts b/src/generated/forge-mcp/iam/oauthClients/outputs.ts index 90f25d0d8..d5c835d1f 100644 --- a/src/generated/forge-mcp/iam/oauthClients/outputs.ts +++ b/src/generated/forge-mcp/iam/oauthClients/outputs.ts @@ -36,7 +36,7 @@ export const iam_oauth_client: JsonSchema = { { "properties": { "client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier" + "type": "string" }, "client_uri_verification": { "$ref": "#/$defs/iam_oauth_client_uri_verification" @@ -127,7 +127,12 @@ export const iam_oauth_client_common: JsonSchema = { "type": "array" }, "token_endpoint_auth_method": { - "$ref": "#/$defs/iam_oauth_client_token_endpoint_auth_method" + "enum": [ + "none", + "client_secret_basic", + "client_secret_post" + ], + "type": "string" }, "tos_uri": { "type": "string" @@ -150,13 +155,6 @@ export const iam_oauth_client_grant_types: JsonSchema = { "type": "array" }; -/** - * The schema of `iam_oauth_client_identifier` in responses. - */ -export const iam_oauth_client_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `iam_oauth_client_response_types` in responses. */ @@ -196,18 +194,6 @@ export const iam_oauth_client_rotate_secret_response: JsonSchema = { ] }; -/** - * The schema of `iam_oauth_client_token_endpoint_auth_method` in responses. - */ -export const iam_oauth_client_token_endpoint_auth_method: JsonSchema = { - "enum": [ - "none", - "client_secret_basic", - "client_secret_post" - ], - "type": "string" -}; - /** * The schema of `iam_oauth_client_uri_verification` in responses. */ diff --git a/src/generated/forge-mcp/iam/oauthClients/schemas.ts b/src/generated/forge-mcp/iam/oauthClients/schemas.ts index b241744bf..89e059a68 100644 --- a/src/generated/forge-mcp/iam/oauthClients/schemas.ts +++ b/src/generated/forge-mcp/iam/oauthClients/schemas.ts @@ -69,8 +69,13 @@ export const iam_oauth_client_common: JsonSchema = { "type": "array" }, "token_endpoint_auth_method": { - "$ref": "#/$defs/iam_oauth_client_token_endpoint_auth_method", - "description": "The authentication method the client uses at the token endpoint." + "description": "The authentication method the client uses at the token endpoint.", + "enum": [ + "none", + "client_secret_basic", + "client_secret_post" + ], + "type": "string" }, "tos_uri": { "description": "URL that points to a terms of service document.", @@ -146,8 +151,13 @@ export const iam_oauth_client_create_request: JsonSchema = { "type": "array" }, "token_endpoint_auth_method": { - "$ref": "#/$defs/iam_oauth_client_token_endpoint_auth_method", - "description": "The authentication method the client uses at the token endpoint." + "description": "The authentication method the client uses at the token endpoint.", + "enum": [ + "none", + "client_secret_basic", + "client_secret_post" + ], + "type": "string" }, "tos_uri": { "description": "URL that points to a terms of service document.", @@ -180,14 +190,6 @@ export const iam_oauth_client_grant_types: JsonSchema = { "type": "array" }; -/** - * The schema of `iam_oauth_client_identifier`. - */ -export const iam_oauth_client_identifier: JsonSchema = { - "description": "The unique identifier for an OAuth client.", - "type": "string" -}; - /** * The schema of `iam_oauth_client_response_types`. */ @@ -204,19 +206,6 @@ export const iam_oauth_client_response_types: JsonSchema = { "type": "array" }; -/** - * The schema of `iam_oauth_client_token_endpoint_auth_method`. - */ -export const iam_oauth_client_token_endpoint_auth_method: JsonSchema = { - "description": "The authentication method the client uses at the token endpoint.", - "enum": [ - "none", - "client_secret_basic", - "client_secret_post" - ], - "type": "string" -}; - /** * The schema of `iam_oauth_client_update_request`. */ diff --git a/src/generated/forge-mcp/iam/oauthClients/tools.ts b/src/generated/forge-mcp/iam/oauthClients/tools.ts index 88b8452ad..885d33038 100644 --- a/src/generated/forge-mcp/iam/oauthClients/tools.ts +++ b/src/generated/forge-mcp/iam/oauthClients/tools.ts @@ -8,23 +8,16 @@ import { iam_api$$response$$common$$failure, iam_api$$response$$single, iam_api$$response$$single$$id, - iam_common_components$$schemas$$identifier, iam_messages$$2, iam_result_info, } from "../../outputs.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, -} from "../../schemas.js"; import { iam_collection_oauth_client_response, iam_oauth_client, iam_oauth_client_common, iam_oauth_client_grant_types, - iam_oauth_client_identifier, iam_oauth_client_response_types, iam_oauth_client_rotate_secret_response, - iam_oauth_client_token_endpoint_auth_method, iam_oauth_client_uri_verification, iam_oauth_client_with_secret, iam_single_oauth_client_create_response, @@ -34,9 +27,7 @@ import { iam_oauth_client_common as iam_oauth_client_common$, iam_oauth_client_create_request, iam_oauth_client_grant_types as iam_oauth_client_grant_types$, - iam_oauth_client_identifier as iam_oauth_client_identifier$, iam_oauth_client_response_types as iam_oauth_client_response_types$, - iam_oauth_client_token_endpoint_auth_method as iam_oauth_client_token_endpoint_auth_method$, iam_oauth_client_update_request, } from "./schemas.js"; @@ -47,7 +38,7 @@ export const tools: readonly Tool[] = [ { name: "iam_oauthClients_create", title: "Create OAuth Client", - description: "Create a new OAuth client for an account.", + description: "Create a new OAuth client for an account.\n\nPOST /accounts/{account_id}/oauth_clients", inputSchema: { type: "object", properties: { @@ -55,10 +46,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_oauth_client_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -71,13 +63,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_oauth_client_create_request": iam_oauth_client_create_request, "iam_oauth_client_grant_types": iam_oauth_client_grant_types$, "iam_oauth_client_response_types": iam_oauth_client_response_types$, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method$, }, }, outputSchema: { @@ -88,9 +78,7 @@ export const tools: readonly Tool[] = [ "iam_oauth_client": iam_oauth_client, "iam_oauth_client_common": iam_oauth_client_common, "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_identifier": iam_oauth_client_identifier, "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, "iam_oauth_client_with_secret": iam_oauth_client_with_secret, "iam_single_oauth_client_create_response": iam_single_oauth_client_create_response, @@ -137,9 +125,7 @@ export const tools: readonly Tool[] = [ "iam_oauth_client": iam_oauth_client, "iam_oauth_client_common": iam_oauth_client_common, "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_identifier": iam_oauth_client_identifier, "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, "iam_oauth_client_with_secret": iam_oauth_client_with_secret, "iam_single_oauth_client_create_response": iam_single_oauth_client_create_response, @@ -153,19 +139,20 @@ export const tools: readonly Tool[] = [ { name: "iam_oauthClients_delete", title: "Delete OAuth Client", - description: "Delete an OAuth client.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Delete an OAuth client.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/oauth_clients/{oauth_client_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "description": "The unique identifier for an OAuth client.", + "type": "string" } }, "required": [ @@ -178,18 +165,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_oauth_client_identifier": iam_oauth_client_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { "iam_api-response-common": iam_api$$response$$common, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -231,7 +213,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -242,19 +223,20 @@ export const tools: readonly Tool[] = [ { name: "iam_oauthClients_deleteRotatedSecret", title: "Delete Rotated OAuth Client Secret", - description: "Removes the old client secret after a rotation, keeping only the new one. Use this after you have updated your client configuration to use the new secret. The `has_rotated_secret` field on the client indicates whether there is an old secret to delete.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Removes the old client secret after a rotation, keeping only the new one. Use this after you have updated your client configuration to use the new secret. The `has_rotated_secret` field on the client indicates whether there is an old secret to delete.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/oauth_clients/{oauth_client_id}/rotate_secret", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "description": "The unique identifier for an OAuth client.", + "type": "string" } }, "required": [ @@ -267,18 +249,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_oauth_client_identifier": iam_oauth_client_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { "iam_api-response-common": iam_api$$response$$common, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -320,7 +297,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -331,19 +307,20 @@ export const tools: readonly Tool[] = [ { name: "iam_oauthClients_get", title: "OAuth Client Details", - description: "Get details of a specific OAuth client.", + description: "Get details of a specific OAuth client.\n\nGET /accounts/{account_id}/oauth_clients/{oauth_client_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "description": "The unique identifier for an OAuth client.", + "type": "string" } }, "required": [ @@ -356,11 +333,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_oauth_client_identifier": iam_oauth_client_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_oauth_client_response", @@ -370,9 +343,7 @@ export const tools: readonly Tool[] = [ "iam_oauth_client": iam_oauth_client, "iam_oauth_client_common": iam_oauth_client_common, "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_identifier": iam_oauth_client_identifier, "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, "iam_single_oauth_client_response": iam_single_oauth_client_response, }, @@ -418,9 +389,7 @@ export const tools: readonly Tool[] = [ "iam_oauth_client": iam_oauth_client, "iam_oauth_client_common": iam_oauth_client_common, "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_identifier": iam_oauth_client_identifier, "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, "iam_single_oauth_client_response": iam_single_oauth_client_response, }, @@ -432,15 +401,16 @@ export const tools: readonly Tool[] = [ { name: "iam_oauthClients_list", title: "List OAuth Clients", - description: "List all OAuth clients for an account.", + description: "List all OAuth clients for an account.\n\nGET /accounts/{account_id}/oauth_clients", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -452,10 +422,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_collection_oauth_client_response", @@ -467,9 +434,7 @@ export const tools: readonly Tool[] = [ "iam_oauth_client": iam_oauth_client, "iam_oauth_client_common": iam_oauth_client_common, "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_identifier": iam_oauth_client_identifier, "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, "iam_result_info": iam_result_info, }, @@ -517,9 +482,7 @@ export const tools: readonly Tool[] = [ "iam_oauth_client": iam_oauth_client, "iam_oauth_client_common": iam_oauth_client_common, "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_identifier": iam_oauth_client_identifier, "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, "iam_result_info": iam_result_info, }, @@ -531,19 +494,20 @@ export const tools: readonly Tool[] = [ { name: "iam_oauthClients_rotateSecret", title: "Rotate OAuth Client Secret", - description: "Creates a second client secret so you can update your client configuration before deleting the old one. The `has_rotated_secret` field on the client will be set to `true`.", + description: "Creates a second client secret so you can update your client configuration before deleting the old one. The `has_rotated_secret` field on the client will be set to `true`.\n\nPOST /accounts/{account_id}/oauth_clients/{oauth_client_id}/rotate_secret", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "description": "The unique identifier for an OAuth client.", + "type": "string" } }, "required": [ @@ -556,11 +520,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_oauth_client_identifier": iam_oauth_client_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_oauth_client_rotate_secret_response", @@ -618,7 +578,7 @@ export const tools: readonly Tool[] = [ { name: "iam_oauthClients_update", title: "Update OAuth Client", - description: "Update an existing OAuth client. Only include fields you want to update.", + description: "Update an existing OAuth client. Only include fields you want to update.\n\nPATCH /accounts/{account_id}/oauth_clients/{oauth_client_id}", inputSchema: { type: "object", properties: { @@ -626,14 +586,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_oauth_client_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "oauth_client_id": { - "$ref": "#/$defs/iam_oauth_client_identifier", - "description": "The unique identifier for an OAuth client." + "description": "The unique identifier for an OAuth client.", + "type": "string" } }, "required": [ @@ -647,14 +608,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_oauth_client_common": iam_oauth_client_common$, "iam_oauth_client_grant_types": iam_oauth_client_grant_types$, - "iam_oauth_client_identifier": iam_oauth_client_identifier$, "iam_oauth_client_response_types": iam_oauth_client_response_types$, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method$, "iam_oauth_client_update_request": iam_oauth_client_update_request, }, }, @@ -666,9 +624,7 @@ export const tools: readonly Tool[] = [ "iam_oauth_client": iam_oauth_client, "iam_oauth_client_common": iam_oauth_client_common, "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_identifier": iam_oauth_client_identifier, "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, "iam_single_oauth_client_response": iam_single_oauth_client_response, }, @@ -714,9 +670,7 @@ export const tools: readonly Tool[] = [ "iam_oauth_client": iam_oauth_client, "iam_oauth_client_common": iam_oauth_client_common, "iam_oauth_client_grant_types": iam_oauth_client_grant_types, - "iam_oauth_client_identifier": iam_oauth_client_identifier, "iam_oauth_client_response_types": iam_oauth_client_response_types, - "iam_oauth_client_token_endpoint_auth_method": iam_oauth_client_token_endpoint_auth_method, "iam_oauth_client_uri_verification": iam_oauth_client_uri_verification, "iam_single_oauth_client_response": iam_single_oauth_client_response, }, diff --git a/src/generated/forge-mcp/iam/oauthScopes/tools.ts b/src/generated/forge-mcp/iam/oauthScopes/tools.ts index c8f4ea65f..3099b3b91 100644 --- a/src/generated/forge-mcp/iam/oauthScopes/tools.ts +++ b/src/generated/forge-mcp/iam/oauthScopes/tools.ts @@ -21,10 +21,11 @@ export const tools: readonly Tool[] = [ { name: "iam_oauthScopes_list", title: "List OAuth Scopes", - description: "List all available OAuth scopes. This endpoint requires authentication but has no authorization role requirements.", + description: "List all available OAuth scopes. This endpoint requires authentication but has no authorization role requirements.\n\nGET /oauth/scopes", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_collection_oauth_scopes_response", diff --git a/src/generated/forge-mcp/iam/permissionGroups/tools.ts b/src/generated/forge-mcp/iam/permissionGroups/tools.ts index dc1b51054..b81919c3e 100644 --- a/src/generated/forge-mcp/iam/permissionGroups/tools.ts +++ b/src/generated/forge-mcp/iam/permissionGroups/tools.ts @@ -12,11 +12,6 @@ import { iam_permission_groups, iam_result_info, } from "../../outputs.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier, -} from "../../schemas.js"; -import { iam_permission_group_identifier } from "../schemas.js"; import { iam_collection_permission_groups_response, iam_single_permission_groups_response, @@ -29,19 +24,20 @@ export const tools: readonly Tool[] = [ { name: "iam_permissionGroups_get", title: "Permission Group Details", - description: "Get information about a specific permission group in an account.", + description: "Get information about a specific permission group in an account.\n\nGET /accounts/{account_id}/iam/permission_groups/{permission_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "permission_group_id": { - "$ref": "#/$defs/iam_permission_group_identifier", - "description": "Permission Group identifier tag." + "description": "Permission Group identifier tag.", + "type": "string" } }, "required": [ @@ -54,11 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_permission_group_identifier": iam_permission_group_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_permission_groups_response", @@ -146,15 +138,16 @@ export const tools: readonly Tool[] = [ { name: "iam_permissionGroups_list", title: "List Account Permission Groups", - description: "List all the permissions groups for an account.", + description: "List all the permissions groups for an account.\n\nGET /accounts/{account_id}/iam/permission_groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -163,6 +156,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "id": { "description": "ID of the permission group to be fetched.", @@ -193,10 +187,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_collection_permission_groups_response", diff --git a/src/generated/forge-mcp/iam/resourceGroups/schemas.ts b/src/generated/forge-mcp/iam/resourceGroups/schemas.ts index 4fe0a5b2a..b104b83f0 100644 --- a/src/generated/forge-mcp/iam/resourceGroups/schemas.ts +++ b/src/generated/forge-mcp/iam/resourceGroups/schemas.ts @@ -10,7 +10,6 @@ export const iam_create$$scope: JsonSchema = { "description": "A scope is a combination of scope objects which provides additional context.", "properties": { "key": { - "$ref": "#/$defs/iam_create_resource_group_scope_scope_key", "description": "This is a combination of pre-defined resource name and identifier (like Account ID etc.)" }, "objects": { @@ -28,13 +27,6 @@ export const iam_create$$scope: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_create_resource_group_scope_scope_key`. - */ -export const iam_create_resource_group_scope_scope_key: JsonSchema = { - "description": "This is a combination of pre-defined resource name and identifier (like Account ID etc.)" -}; - /** * The schema of `iam_create_resource_group_scope_scope_object`. */ @@ -42,7 +34,6 @@ export const iam_create_resource_group_scope_scope_object: JsonSchema = { "description": "A scope object represents any resource that can have actions applied against invite.", "properties": { "key": { - "$ref": "#/$defs/iam_create_resource_group_scope_scope_object_key", "description": "This is a combination of pre-defined resource name and identifier (like Zone ID etc.)" } }, @@ -52,13 +43,6 @@ export const iam_create_resource_group_scope_scope_object: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_create_resource_group_scope_scope_object_key`. - */ -export const iam_create_resource_group_scope_scope_object_key: JsonSchema = { - "description": "This is a combination of pre-defined resource name and identifier (like Zone ID etc.)" -}; - /** * The schema of `iam_request_create_resource_group`. */ diff --git a/src/generated/forge-mcp/iam/resourceGroups/tools.ts b/src/generated/forge-mcp/iam/resourceGroups/tools.ts index b22cbc966..85e0b8f90 100644 --- a/src/generated/forge-mcp/iam/resourceGroups/tools.ts +++ b/src/generated/forge-mcp/iam/resourceGroups/tools.ts @@ -7,24 +7,14 @@ import { iam_api$$response$$common$$failure, iam_api$$response$$single, iam_api$$response$$single$$id, - iam_common_components$$schemas$$identifier, iam_messages$$2, iam_resource_group, iam_scope, - iam_scope_key, iam_scope_object, - iam_scope_object_key, } from "../../outputs.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, -} from "../../schemas.js"; -import { iam_resource_group_identifier } from "../schemas.js"; import { iam_create$$scope, - iam_create_resource_group_scope_scope_key, iam_create_resource_group_scope_scope_object, - iam_create_resource_group_scope_scope_object_key, iam_request_create_resource_group, iam_request_update_resource_group, } from "./schemas.js"; @@ -36,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "iam_resourceGroups_create", title: "Create Resource Group", - description: "Create a new Resource Group under the specified account.", + description: "Create a new Resource Group under the specified account.\n\nPOST /accounts/{account_id}/iam/resource_groups", inputSchema: { type: "object", properties: { @@ -44,10 +34,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_request_create_resource_group" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -60,13 +51,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_create-scope": iam_create$$scope, - "iam_create_resource_group_scope_scope_key": iam_create_resource_group_scope_scope_key, "iam_create_resource_group_scope_scope_object": iam_create_resource_group_scope_scope_object, - "iam_create_resource_group_scope_scope_object_key": iam_create_resource_group_scope_scope_object_key, "iam_request_create_resource_group": iam_request_create_resource_group, }, }, @@ -89,9 +77,7 @@ export const tools: readonly Tool[] = [ "iam_messages-2": iam_messages$$2, "iam_resource_group": iam_resource_group, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -147,9 +133,7 @@ export const tools: readonly Tool[] = [ "iam_messages-2": iam_messages$$2, "iam_resource_group": iam_resource_group, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ @@ -160,19 +144,20 @@ export const tools: readonly Tool[] = [ { name: "iam_resourceGroups_delete", title: "Remove Resource Group", - description: "Remove a resource group from an account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Remove a resource group from an account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/iam/resource_groups/{resource_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "resource_group_id": { - "$ref": "#/$defs/iam_resource_group_identifier", - "description": "Resource Group identifier tag." + "description": "Resource Group identifier tag.", + "type": "string" } }, "required": [ @@ -185,18 +170,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_resource_group_identifier": iam_resource_group_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { "iam_api-response-common": iam_api$$response$$common, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -239,7 +219,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -250,19 +229,20 @@ export const tools: readonly Tool[] = [ { name: "iam_resourceGroups_get", title: "Resource Group Details", - description: "Get information about a specific resource group in an account.", + description: "Get information about a specific resource group in an account.\n\nGET /accounts/{account_id}/iam/resource_groups/{resource_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "resource_group_id": { - "$ref": "#/$defs/iam_resource_group_identifier", - "description": "Resource Group identifier tag." + "description": "Resource Group identifier tag.", + "type": "string" } }, "required": [ @@ -275,11 +255,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_resource_group_identifier": iam_resource_group_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -300,9 +276,7 @@ export const tools: readonly Tool[] = [ "iam_messages-2": iam_messages$$2, "iam_resource_group": iam_resource_group, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -359,9 +333,7 @@ export const tools: readonly Tool[] = [ "iam_messages-2": iam_messages$$2, "iam_resource_group": iam_resource_group, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ @@ -371,15 +343,16 @@ export const tools: readonly Tool[] = [ { name: "iam_resourceGroups_list", title: "List Resource Groups", - description: "List all the resource groups for an account.", + description: "List all the resource groups for an account.\n\nGET /accounts/{account_id}/iam/resource_groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -388,10 +361,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "id": { - "$ref": "#/$defs/iam_resource_group_identifier", - "description": "ID of the resource group to be fetched." + "description": "ID of the resource group to be fetched.", + "type": "string" }, "name": { "description": "Name of the resource group to be fetched.", @@ -404,11 +378,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_resource_group_identifier": iam_resource_group_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -432,9 +402,7 @@ export const tools: readonly Tool[] = [ "iam_messages-2": iam_messages$$2, "iam_resource_group": iam_resource_group, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -494,9 +462,7 @@ export const tools: readonly Tool[] = [ "iam_messages-2": iam_messages$$2, "iam_resource_group": iam_resource_group, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ @@ -510,7 +476,7 @@ export const tools: readonly Tool[] = [ { name: "iam_resourceGroups_update", title: "Update Resource Group", - description: "Modify an existing resource group.", + description: "Modify an existing resource group.\n\nPUT /accounts/{account_id}/iam/resource_groups/{resource_group_id}", inputSchema: { type: "object", properties: { @@ -518,14 +484,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_request_update_resource_group" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "resource_group_id": { - "$ref": "#/$defs/iam_resource_group_identifier", - "description": "Resource Group identifier tag." + "description": "Resource Group identifier tag.", + "type": "string" } }, "required": [ @@ -539,15 +506,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_create-scope": iam_create$$scope, - "iam_create_resource_group_scope_scope_key": iam_create_resource_group_scope_scope_key, "iam_create_resource_group_scope_scope_object": iam_create_resource_group_scope_scope_object, - "iam_create_resource_group_scope_scope_object_key": iam_create_resource_group_scope_scope_object_key, "iam_request_update_resource_group": iam_request_update_resource_group, - "iam_resource_group_identifier": iam_resource_group_identifier, }, }, outputSchema: { @@ -569,9 +532,7 @@ export const tools: readonly Tool[] = [ "iam_messages-2": iam_messages$$2, "iam_resource_group": iam_resource_group, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -627,9 +588,7 @@ export const tools: readonly Tool[] = [ "iam_messages-2": iam_messages$$2, "iam_resource_group": iam_resource_group, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/iam/schemas.ts b/src/generated/forge-mcp/iam/schemas.ts deleted file mode 100644 index 2ce9ebdac..000000000 --- a/src/generated/forge-mcp/iam/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `iam_permission_group_identifier`. - */ -export const iam_permission_group_identifier: JsonSchema = { - "$ref": "#/$defs/iam_common_components-schemas-identifier", - "description": "Permission Group identifier tag." -}; - -/** - * The schema of `iam_resource_group_identifier`. - */ -export const iam_resource_group_identifier: JsonSchema = { - "$ref": "#/$defs/iam_common_components-schemas-identifier", - "description": "Resource Group identifier tag." -}; diff --git a/src/generated/forge-mcp/iam/sso/outputs.ts b/src/generated/forge-mcp/iam/sso/outputs.ts index 2edbc8626..254e550b0 100644 --- a/src/generated/forge-mcp/iam/sso/outputs.ts +++ b/src/generated/forge-mcp/iam/sso/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `iam_dns_verification_code` in responses. - */ -export const iam_dns_verification_code: JsonSchema = { - "type": "string" -}; - /** * The schema of `iam_sso_connector` in responses. */ @@ -26,14 +19,14 @@ export const iam_sso_connector: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/iam_sso_connector_identifier" + "type": "string" }, "updated_on": { "format": "date-time", "type": "string" }, "use_fedramp_language": { - "$ref": "#/$defs/iam_use_fedramp_language" + "type": "boolean" }, "verification": { "$ref": "#/$defs/iam_sso_connector_verification_info" @@ -64,13 +57,6 @@ export const iam_sso_connector_collection_response: JsonSchema = { ] }; -/** - * The schema of `iam_sso_connector_identifier` in responses. - */ -export const iam_sso_connector_identifier: JsonSchema = { - "$ref": "#/$defs/iam_common_components-schemas-identifier" -}; - /** * The schema of `iam_sso_connector_response` in responses. */ @@ -96,7 +82,7 @@ export const iam_sso_connector_response: JsonSchema = { export const iam_sso_connector_verification_info: JsonSchema = { "properties": { "code": { - "$ref": "#/$defs/iam_dns_verification_code" + "type": "string" }, "status": { "enum": [ @@ -110,10 +96,3 @@ export const iam_sso_connector_verification_info: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `iam_use_fedramp_language` in responses. - */ -export const iam_use_fedramp_language: JsonSchema = { - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/iam/sso/schemas.ts b/src/generated/forge-mcp/iam/sso/schemas.ts deleted file mode 100644 index 1171204bb..000000000 --- a/src/generated/forge-mcp/iam/sso/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `iam_sso_connector_identifier`. - */ -export const iam_sso_connector_identifier: JsonSchema = { - "$ref": "#/$defs/iam_common_components-schemas-identifier", - "description": "SSO Connector identifier tag." -}; - -/** - * The schema of `iam_use_fedramp_language`. - */ -export const iam_use_fedramp_language: JsonSchema = { - "description": "Controls the display of FedRAMP language to the user during SSO login", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/iam/sso/tools.ts b/src/generated/forge-mcp/iam/sso/tools.ts index 7f0e266f4..87e636d70 100644 --- a/src/generated/forge-mcp/iam/sso/tools.ts +++ b/src/generated/forge-mcp/iam/sso/tools.ts @@ -8,27 +8,15 @@ import { iam_api$$response$$common$$failure, iam_api$$response$$single, iam_api$$response$$single$$id, - iam_common_components$$schemas$$identifier, iam_messages$$2, iam_result_info, } from "../../outputs.js"; import { - iam_account_identifier, - iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, -} from "../../schemas.js"; -import { - iam_dns_verification_code, iam_sso_connector, iam_sso_connector_collection_response, - iam_sso_connector_identifier, iam_sso_connector_response, iam_sso_connector_verification_info, - iam_use_fedramp_language, } from "./outputs.js"; -import { - iam_sso_connector_identifier as iam_sso_connector_identifier$, - iam_use_fedramp_language as iam_use_fedramp_language$, -} from "./schemas.js"; /** * The tools of `iam.sso`. @@ -37,19 +25,20 @@ export const tools: readonly Tool[] = [ { name: "iam_sso_beginVerification", title: "Begin SSO connector verification", - description: "Validates the user has added the DNS TXT record required for validating ownership of the domain they are trying to set up a connector for.", + description: "Validates the user has added the DNS TXT record required for validating ownership of the domain they are trying to set up a connector for.\n\nPOST /accounts/{account_id}/sso_connectors/{sso_connector_id}/begin_verification", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "sso_connector_id": { - "$ref": "#/$defs/iam_sso_connector_identifier", - "description": "SSO Connector identifier tag." + "description": "SSO Connector identifier tag.", + "type": "string" } }, "required": [ @@ -62,11 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_sso_connector_identifier": iam_sso_connector_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single", @@ -117,7 +102,7 @@ export const tools: readonly Tool[] = [ { name: "iam_sso_create", title: "Initialize new SSO connector", - description: "Creates a new SSO connector for logging into Cloudflare through an identity provider.", + description: "Creates a new SSO connector for logging into Cloudflare through an identity provider.\n\nPOST /accounts/{account_id}/sso_connectors", inputSchema: { type: "object", properties: { @@ -133,9 +118,9 @@ export const tools: readonly Tool[] = [ "type": "string" }, "use_fedramp_language": { - "$ref": "#/$defs/iam_use_fedramp_language", "default": false, - "description": "Controls the display of FedRAMP language to the user during SSO login" + "description": "Controls the display of FedRAMP language to the user during SSO login", + "type": "boolean" } }, "required": [ @@ -144,10 +129,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -159,24 +145,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_use_fedramp_language": iam_use_fedramp_language$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_sso_connector_response", $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_dns_verification_code": iam_dns_verification_code, "iam_messages-2": iam_messages$$2, "iam_sso_connector": iam_sso_connector, - "iam_sso_connector_identifier": iam_sso_connector_identifier, "iam_sso_connector_response": iam_sso_connector_response, "iam_sso_connector_verification_info": iam_sso_connector_verification_info, - "iam_use_fedramp_language": iam_use_fedramp_language, }, }, annotations: { @@ -211,14 +189,10 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_dns_verification_code": iam_dns_verification_code, "iam_messages-2": iam_messages$$2, "iam_sso_connector": iam_sso_connector, - "iam_sso_connector_identifier": iam_sso_connector_identifier, "iam_sso_connector_response": iam_sso_connector_response, "iam_sso_connector_verification_info": iam_sso_connector_verification_info, - "iam_use_fedramp_language": iam_use_fedramp_language, }, }, request: (args) => ({ @@ -229,19 +203,20 @@ export const tools: readonly Tool[] = [ { name: "iam_sso_delete", title: "Delete SSO connector", - description: "Deletes an SSO connector from the account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Deletes an SSO connector from the account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/sso_connectors/{sso_connector_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "sso_connector_id": { - "$ref": "#/$defs/iam_sso_connector_identifier", - "description": "SSO Connector identifier tag." + "description": "SSO Connector identifier tag.", + "type": "string" } }, "required": [ @@ -254,18 +229,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_sso_connector_identifier": iam_sso_connector_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { "iam_api-response-common": iam_api$$response$$common, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -302,7 +272,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -313,19 +282,20 @@ export const tools: readonly Tool[] = [ { name: "iam_sso_get", title: "Get single SSO connector", - description: "Retrieves details for a specific SSO connector.", + description: "Retrieves details for a specific SSO connector.\n\nGET /accounts/{account_id}/sso_connectors/{sso_connector_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "sso_connector_id": { - "$ref": "#/$defs/iam_sso_connector_identifier", - "description": "SSO Connector identifier tag." + "description": "SSO Connector identifier tag.", + "type": "string" } }, "required": [ @@ -338,24 +308,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_sso_connector_identifier": iam_sso_connector_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_sso_connector_response", $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_dns_verification_code": iam_dns_verification_code, "iam_messages-2": iam_messages$$2, "iam_sso_connector": iam_sso_connector, - "iam_sso_connector_identifier": iam_sso_connector_identifier, "iam_sso_connector_response": iam_sso_connector_response, "iam_sso_connector_verification_info": iam_sso_connector_verification_info, - "iam_use_fedramp_language": iam_use_fedramp_language, }, }, annotations: { @@ -390,14 +352,10 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_dns_verification_code": iam_dns_verification_code, "iam_messages-2": iam_messages$$2, "iam_sso_connector": iam_sso_connector, - "iam_sso_connector_identifier": iam_sso_connector_identifier, "iam_sso_connector_response": iam_sso_connector_response, "iam_sso_connector_verification_info": iam_sso_connector_verification_info, - "iam_use_fedramp_language": iam_use_fedramp_language, }, }, request: (args) => ({ @@ -407,15 +365,16 @@ export const tools: readonly Tool[] = [ { name: "iam_sso_list", title: "Get all SSO connectors", - description: "Lists all SSO connectors configured for the account.", + description: "Lists all SSO connectors configured for the account.\n\nGET /accounts/{account_id}/sso_connectors", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -427,25 +386,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_sso_connector_collection_response", $defs: { "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_dns_verification_code": iam_dns_verification_code, "iam_messages-2": iam_messages$$2, "iam_result_info": iam_result_info, "iam_sso_connector": iam_sso_connector, "iam_sso_connector_collection_response": iam_sso_connector_collection_response, - "iam_sso_connector_identifier": iam_sso_connector_identifier, "iam_sso_connector_verification_info": iam_sso_connector_verification_info, - "iam_use_fedramp_language": iam_use_fedramp_language, }, }, annotations: { @@ -481,15 +433,11 @@ export const tools: readonly Tool[] = [ "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_dns_verification_code": iam_dns_verification_code, "iam_messages-2": iam_messages$$2, "iam_result_info": iam_result_info, "iam_sso_connector": iam_sso_connector, "iam_sso_connector_collection_response": iam_sso_connector_collection_response, - "iam_sso_connector_identifier": iam_sso_connector_identifier, "iam_sso_connector_verification_info": iam_sso_connector_verification_info, - "iam_use_fedramp_language": iam_use_fedramp_language, }, }, request: (args) => ({ @@ -499,7 +447,7 @@ export const tools: readonly Tool[] = [ { name: "iam_sso_update", title: "Update SSO connector state", - description: "Updates the state or configuration of an SSO connector.", + description: "Updates the state or configuration of an SSO connector.\n\nPATCH /accounts/{account_id}/sso_connectors/{sso_connector_id}", inputSchema: { type: "object", properties: { @@ -510,22 +458,23 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "use_fedramp_language": { - "$ref": "#/$defs/iam_use_fedramp_language", "default": false, - "description": "Controls the display of FedRAMP language to the user during SSO login" + "description": "Controls the display of FedRAMP language to the user during SSO login", + "type": "boolean" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "sso_connector_id": { - "$ref": "#/$defs/iam_sso_connector_identifier", - "description": "SSO Connector identifier tag." + "description": "SSO Connector identifier tag.", + "type": "string" } }, "required": [ @@ -538,25 +487,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_sso_connector_identifier": iam_sso_connector_identifier$, - "iam_use_fedramp_language": iam_use_fedramp_language$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_sso_connector_response", $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_dns_verification_code": iam_dns_verification_code, "iam_messages-2": iam_messages$$2, "iam_sso_connector": iam_sso_connector, - "iam_sso_connector_identifier": iam_sso_connector_identifier, "iam_sso_connector_response": iam_sso_connector_response, "iam_sso_connector_verification_info": iam_sso_connector_verification_info, - "iam_use_fedramp_language": iam_use_fedramp_language, }, }, annotations: { @@ -591,14 +531,10 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_dns_verification_code": iam_dns_verification_code, "iam_messages-2": iam_messages$$2, "iam_sso_connector": iam_sso_connector, - "iam_sso_connector_identifier": iam_sso_connector_identifier, "iam_sso_connector_response": iam_sso_connector_response, "iam_sso_connector_verification_info": iam_sso_connector_verification_info, - "iam_use_fedramp_language": iam_use_fedramp_language, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/iam/userGroups/members/outputs.ts b/src/generated/forge-mcp/iam/userGroups/members/outputs.ts index 33e4022fe..493fa38ba 100644 --- a/src/generated/forge-mcp/iam/userGroups/members/outputs.ts +++ b/src/generated/forge-mcp/iam/userGroups/members/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../../_/tool.js"; export const iam_user_group_member: JsonSchema = { "properties": { "email": { - "$ref": "#/$defs/iam_email" + "type": "string" }, "id": { "type": "string" @@ -38,7 +38,7 @@ export const iam_user_group_member_detailed: JsonSchema = { "type": "string" }, "email": { - "$ref": "#/$defs/iam_email" + "type": "string" }, "id": { "type": "string" @@ -53,7 +53,7 @@ export const iam_user_group_member_detailed: JsonSchema = { "user": { "properties": { "email": { - "$ref": "#/$defs/iam_email" + "type": "string" }, "first_name": { "type": "string" diff --git a/src/generated/forge-mcp/iam/userGroups/members/schemas.ts b/src/generated/forge-mcp/iam/userGroups/members/schemas.ts deleted file mode 100644 index e8415b3c5..000000000 --- a/src/generated/forge-mcp/iam/userGroups/members/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `iam_user_group_member_identifier`. - */ -export const iam_user_group_member_identifier: JsonSchema = { - "$ref": "#/$defs/iam_common_components-schemas-identifier", - "description": "The identifier of an existing account Member." -}; diff --git a/src/generated/forge-mcp/iam/userGroups/members/tools.ts b/src/generated/forge-mcp/iam/userGroups/members/tools.ts index 57be0c408..4beafc013 100644 --- a/src/generated/forge-mcp/iam/userGroups/members/tools.ts +++ b/src/generated/forge-mcp/iam/userGroups/members/tools.ts @@ -7,20 +7,13 @@ import { iam_api$$response$$common, iam_api$$response$$common$$failure, iam_api$$response$$single, - iam_email, iam_messages$$2, iam_result_info, } from "../../../outputs.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier, -} from "../../../schemas.js"; -import { iam_user_group_identifier } from "../schemas.js"; import { iam_user_group_member, iam_user_group_member_detailed, } from "./outputs.js"; -import { iam_user_group_member_identifier } from "./schemas.js"; /** * The tools of `iam.userGroups.members`. @@ -29,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_members_create", title: "Add User Group Members", - description: "Add members to a User Group.", + description: "Add members to a User Group.\n\nPOST /accounts/{account_id}/iam/user_groups/{user_group_id}/members", inputSchema: { type: "object", properties: { @@ -37,8 +30,8 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/iam_user_group_member_identifier", - "description": "The identifier of an existing account Member." + "description": "The identifier of an existing account Member.", + "type": "string" } }, "required": [ @@ -49,14 +42,15 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "description": "User Group identifier tag.", + "type": "string" } }, "required": [ @@ -70,12 +64,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_user_group_identifier": iam_user_group_identifier, - "iam_user_group_member_identifier": iam_user_group_member_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -96,7 +85,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_user_group_member": iam_user_group_member, }, @@ -154,7 +142,6 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_user_group_member": iam_user_group_member, }, @@ -167,23 +154,24 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_members_delete", title: "Remove User Group Member", - description: "Remove a member from User Group\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Remove a member from User Group\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/iam/user_groups/{user_group_id}/members/{member_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "member_id": { - "$ref": "#/$defs/iam_user_group_member_identifier", - "description": "The identifier of an existing account Member." + "description": "The identifier of an existing account Member.", + "type": "string" }, "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "description": "User Group identifier tag.", + "type": "string" } }, "required": [ @@ -197,12 +185,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_user_group_identifier": iam_user_group_identifier, - "iam_user_group_member_identifier": iam_user_group_member_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -220,7 +203,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_user_group_member": iam_user_group_member, }, @@ -275,7 +257,6 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_user_group_member": iam_user_group_member, }, @@ -287,23 +268,24 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_members_get", title: "Get User Group Member", - description: "Get details of a specific member in a user group.", + description: "Get details of a specific member in a user group.\n\nGET /accounts/{account_id}/iam/user_groups/{user_group_id}/members/{member_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "member_id": { - "$ref": "#/$defs/iam_user_group_member_identifier", - "description": "The identifier of an existing account Member." + "description": "The identifier of an existing account Member.", + "type": "string" }, "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "description": "User Group identifier tag.", + "type": "string" } }, "required": [ @@ -317,12 +299,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_user_group_identifier": iam_user_group_identifier, - "iam_user_group_member_identifier": iam_user_group_member_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -340,7 +317,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_user_group_member_detailed": iam_user_group_member_detailed, }, @@ -396,7 +372,6 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_user_group_member_detailed": iam_user_group_member_detailed, }, @@ -408,19 +383,20 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_members_list", title: "List User Group Members", - description: "List all the members attached to a user group.", + description: "List all the members attached to a user group.\n\nGET /accounts/{account_id}/iam/user_groups/{user_group_id}/members", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "description": "User Group identifier tag.", + "type": "string" } }, "required": [ @@ -430,6 +406,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -461,11 +438,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_user_group_identifier": iam_user_group_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -487,7 +460,6 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_result_info": iam_result_info, "iam_user_group_member": iam_user_group_member, @@ -548,7 +520,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_result_info": iam_result_info, "iam_user_group_member": iam_user_group_member, @@ -567,7 +538,7 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_members_update", title: "Update User Group Members", - description: "Replace the set of members attached to a User Group.", + description: "Replace the set of members attached to a User Group.\n\nPUT /accounts/{account_id}/iam/user_groups/{user_group_id}/members", inputSchema: { type: "object", properties: { @@ -575,8 +546,8 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "id": { - "$ref": "#/$defs/iam_user_group_member_identifier", - "description": "The identifier of an existing account Member." + "description": "The identifier of an existing account Member.", + "type": "string" } }, "required": [ @@ -587,14 +558,15 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "description": "User Group identifier tag.", + "type": "string" } }, "required": [ @@ -608,12 +580,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_user_group_identifier": iam_user_group_identifier, - "iam_user_group_member_identifier": iam_user_group_member_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -634,7 +601,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_user_group_member": iam_user_group_member, }, @@ -687,7 +653,6 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_email": iam_email, "iam_messages-2": iam_messages$$2, "iam_user_group_member": iam_user_group_member, }, diff --git a/src/generated/forge-mcp/iam/userGroups/outputs.ts b/src/generated/forge-mcp/iam/userGroups/outputs.ts index b36d30364..aa41204d3 100644 --- a/src/generated/forge-mcp/iam/userGroups/outputs.ts +++ b/src/generated/forge-mcp/iam/userGroups/outputs.ts @@ -13,7 +13,7 @@ export const iam_user_group: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/iam_user_group_identifier" + "type": "string" }, "modified_on": { "format": "date-time", @@ -26,10 +26,14 @@ export const iam_user_group: JsonSchema = { "items": { "properties": { "access": { - "$ref": "#/$defs/iam_access" + "enum": [ + "allow", + "deny" + ], + "type": "string" }, "id": { - "$ref": "#/$defs/iam_policy_identifier" + "type": "string" }, "permission_groups": { "$ref": "#/$defs/iam_permission_groups" @@ -52,13 +56,6 @@ export const iam_user_group: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_user_group_identifier` in responses. - */ -export const iam_user_group_identifier: JsonSchema = { - "$ref": "#/$defs/iam_common_components-schemas-identifier" -}; - /** * The schema of `iam_user_groups` in responses. */ diff --git a/src/generated/forge-mcp/iam/userGroups/schemas.ts b/src/generated/forge-mcp/iam/userGroups/schemas.ts index a5ecb8178..37244c7fe 100644 --- a/src/generated/forge-mcp/iam/userGroups/schemas.ts +++ b/src/generated/forge-mcp/iam/userGroups/schemas.ts @@ -35,8 +35,8 @@ export const iam_permission_group_ids: JsonSchema = { "items": { "properties": { "id": { - "$ref": "#/$defs/iam_permission_group_identifier", - "description": "Permission Group identifier tag." + "description": "Permission Group identifier tag.", + "type": "string" } }, "required": [ @@ -55,8 +55,8 @@ export const iam_resource_group_ids: JsonSchema = { "items": { "properties": { "id": { - "$ref": "#/$defs/iam_resource_group_identifier", - "description": "Resource Group identifier tag." + "description": "Resource Group identifier tag.", + "type": "string" } }, "required": [ @@ -104,22 +104,18 @@ export const iam_update_user_group_body: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_user_group_identifier`. - */ -export const iam_user_group_identifier: JsonSchema = { - "$ref": "#/$defs/iam_common_components-schemas-identifier", - "description": "User Group identifier tag." -}; - /** * The schema of `iam_user_group_policy_write_body`. */ export const iam_user_group_policy_write_body: JsonSchema = { "properties": { "access": { - "$ref": "#/$defs/iam_access", - "description": "Allow or deny operations against the resources." + "description": "Allow or deny operations against the resources.", + "enum": [ + "allow", + "deny" + ], + "type": "string" }, "permission_groups": { "$ref": "#/$defs/iam_permission_group_ids", diff --git a/src/generated/forge-mcp/iam/userGroups/tools.ts b/src/generated/forge-mcp/iam/userGroups/tools.ts index d08a7eeb2..4879433e0 100644 --- a/src/generated/forge-mcp/iam/userGroups/tools.ts +++ b/src/generated/forge-mcp/iam/userGroups/tools.ts @@ -3,45 +3,26 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - iam_access, iam_api$$response$$collection, iam_api$$response$$common, iam_api$$response$$common$$failure, iam_api$$response$$single, iam_api$$response$$single$$id, - iam_common_components$$schemas$$identifier, iam_messages$$2, iam_permission_group, iam_permission_groups, - iam_policy_identifier, iam_resource_group, iam_resource_groups, iam_result_info, iam_scope, - iam_scope_key, iam_scope_object, - iam_scope_object_key, } from "../../outputs.js"; -import { - iam_access as iam_access$, - iam_account_identifier, - iam_common_components$$schemas$$identifier as iam_common_components$$schemas$$identifier$, -} from "../../schemas.js"; -import { - iam_permission_group_identifier, - iam_resource_group_identifier, -} from "../schemas.js"; -import { - iam_user_group, - iam_user_group_identifier, - iam_user_groups, -} from "./outputs.js"; +import { iam_user_group, iam_user_groups } from "./outputs.js"; import { iam_create_user_group_body, iam_permission_group_ids, iam_resource_group_ids, iam_update_user_group_body, - iam_user_group_identifier as iam_user_group_identifier$, iam_user_group_policy_write_body, } from "./schemas.js"; @@ -52,7 +33,7 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_create", title: "Create User Group", - description: "Create a new user group under the specified account.", + description: "Create a new user group under the specified account.\n\nPOST /accounts/{account_id}/iam/user_groups", inputSchema: { type: "object", properties: { @@ -60,10 +41,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_create_user_group_body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -76,14 +58,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_access": iam_access$, - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, "iam_create_user_group_body": iam_create_user_group_body, - "iam_permission_group_identifier": iam_permission_group_identifier, "iam_permission_group_ids": iam_permission_group_ids, - "iam_resource_group_identifier": iam_resource_group_identifier, "iam_resource_group_ids": iam_resource_group_ids, "iam_user_group_policy_write_body": iam_user_group_policy_write_body, }, @@ -103,21 +81,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_user_group": iam_user_group, - "iam_user_group_identifier": iam_user_group_identifier, }, }, annotations: { @@ -168,22 +140,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_user_group": iam_user_group, - "iam_user_group_identifier": iam_user_group_identifier, }, }, request: (args) => ({ @@ -194,19 +160,20 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_delete", title: "Remove User Group", - description: "Remove a user group from an account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Remove a user group from an account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/iam/user_groups/{user_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "description": "User Group identifier tag.", + "type": "string" } }, "required": [ @@ -219,18 +186,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_user_group_identifier": iam_user_group_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { "iam_api-response-common": iam_api$$response$$common, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -273,7 +235,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -284,19 +245,20 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_get", title: "User Group Details", - description: "Get information about a specific user group in an account.", + description: "Get information about a specific user group in an account.\n\nGET /accounts/{account_id}/iam/user_groups/{user_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "description": "User Group identifier tag.", + "type": "string" } }, "required": [ @@ -309,11 +271,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_user_group_identifier": iam_user_group_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -330,21 +288,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_user_group": iam_user_group, - "iam_user_group_identifier": iam_user_group_identifier, }, }, annotations: { @@ -396,22 +348,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_user_group": iam_user_group, - "iam_user_group_identifier": iam_user_group_identifier, }, }, request: (args) => ({ @@ -421,15 +367,16 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_list", title: "List User Groups", - description: "List all the user groups for an account.", + description: "List all the user groups for an account.\n\nGET /accounts/{account_id}/iam/user_groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -438,6 +385,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -453,8 +401,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "ID of the user group to be fetched." + "description": "ID of the user group to be fetched.", + "type": "string" }, "name": { "description": "Name of the user group to be fetched.", @@ -477,11 +425,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_user_group_identifier": iam_user_group_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -498,23 +442,17 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access, "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_result_info": iam_result_info, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_user_group": iam_user_group, - "iam_user_group_identifier": iam_user_group_identifier, "iam_user_groups": iam_user_groups, }, }, @@ -567,24 +505,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_result_info": iam_result_info, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_user_group": iam_user_group, - "iam_user_group_identifier": iam_user_group_identifier, "iam_user_groups": iam_user_groups, }, }, @@ -603,7 +535,7 @@ export const tools: readonly Tool[] = [ { name: "iam_userGroups_update", title: "Update User Group", - description: "Modify an existing user group.", + description: "Modify an existing user group.\n\nPUT /accounts/{account_id}/iam/user_groups/{user_group_id}", inputSchema: { type: "object", properties: { @@ -611,14 +543,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_update_user_group_body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_group_id": { - "$ref": "#/$defs/iam_user_group_identifier", - "description": "User Group identifier tag." + "description": "User Group identifier tag.", + "type": "string" } }, "required": [ @@ -632,16 +565,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_access": iam_access$, - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier$, - "iam_permission_group_identifier": iam_permission_group_identifier, "iam_permission_group_ids": iam_permission_group_ids, - "iam_resource_group_identifier": iam_resource_group_identifier, "iam_resource_group_ids": iam_resource_group_ids, "iam_update_user_group_body": iam_update_user_group_body, - "iam_user_group_identifier": iam_user_group_identifier$, "iam_user_group_policy_write_body": iam_user_group_policy_write_body, }, }, @@ -660,21 +588,15 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_user_group": iam_user_group, - "iam_user_group_identifier": iam_user_group_identifier, }, }, annotations: { @@ -725,22 +647,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_user_group": iam_user_group, - "iam_user_group_identifier": iam_user_group_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/images/flows/tools.ts b/src/generated/forge-mcp/images/flows/tools.ts index 05339147a..26ad37a25 100644 --- a/src/generated/forge-mcp/images/flows/tools.ts +++ b/src/generated/forge-mcp/images/flows/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "images_flows_get", title: "Get transformation flows", - description: "Get the current transformation flows configuration for a zone.", + description: "Get the current transformation flows configuration for a zone.\n\nGET /zones/{zone_id}/images/v1/flows", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Zone identifier.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -533,7 +535,7 @@ export const tools: readonly Tool[] = [ { name: "images_flows_update", title: "Update transformation flows", - description: "Replace the entire transformation flows configuration for a zone.", + description: "Replace the entire transformation flows configuration for a zone.\n\nPUT /zones/{zone_id}/images/v1/flows", inputSchema: { type: "object", properties: { @@ -758,6 +760,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Zone identifier.", @@ -773,6 +776,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/images/import/outputs.ts b/src/generated/forge-mcp/images/import/outputs.ts index 9f25dcd96..d5d7466f1 100644 --- a/src/generated/forge-mcp/images/import/outputs.ts +++ b/src/generated/forge-mcp/images/import/outputs.ts @@ -3,40 +3,17 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `images_sourcingkit_acceptable_content_type` in responses. - */ -export const images_sourcingkit_acceptable_content_type: JsonSchema = { - "enum": [ - "image/jpeg", - "image/png", - "image/webp", - "image/gif", - "image/avif", - "image/heic", - "image/svg+xml" - ], - "type": "string" -}; - -/** - * The schema of `images_sourcingkit_conflict_behaviour` in responses. - */ -export const images_sourcingkit_conflict_behaviour: JsonSchema = { - "enum": [ - "skip", - "overwrite" - ], - "type": "string" -}; - /** * The schema of `images_sourcingkit_migration` in responses. */ export const images_sourcingkit_migration: JsonSchema = { "properties": { "conflictBehaviour": { - "$ref": "#/$defs/images_sourcingkit_conflict_behaviour" + "enum": [ + "skip", + "overwrite" + ], + "type": "string" }, "createdAt": { "format": "date-time", @@ -57,7 +34,16 @@ export const images_sourcingkit_migration: JsonSchema = { "oneOf": [ { "items": { - "$ref": "#/$defs/images_sourcingkit_acceptable_content_type" + "enum": [ + "image/jpeg", + "image/png", + "image/webp", + "image/gif", + "image/avif", + "image/heic", + "image/svg+xml" + ], + "type": "string" }, "type": "array" }, @@ -126,7 +112,14 @@ export const images_sourcingkit_migration: JsonSchema = { ] }, "status": { - "$ref": "#/$defs/images_sourcingkit_migration_status" + "enum": [ + "pending", + "processing", + "success", + "error", + "aborted" + ], + "type": "string" } }, "type": "object" @@ -195,7 +188,21 @@ export const images_sourcingkit_migration_log: JsonSchema = { ] }, "logType": { - "$ref": "#/$defs/images_sourcingkit_migration_log_type" + "enum": [ + "default", + "importSkippedUnsupportedContentType", + "importSkippedExcludedContentType", + "importSkippedInvalidMedia", + "importErrorRetryExhaustion", + "importSkippedOversized", + "migrationErrorFailedContinuation", + "migrationStart", + "migrationAbort", + "migrationError", + "migrationComplete", + "importSkippedStorageClass" + ], + "type": "string" }, "msg": { "oneOf": [ @@ -238,27 +245,6 @@ export const images_sourcingkit_migration_log_list_response: JsonSchema = { ] }; -/** - * The schema of `images_sourcingkit_migration_log_type` in responses. - */ -export const images_sourcingkit_migration_log_type: JsonSchema = { - "enum": [ - "default", - "importSkippedUnsupportedContentType", - "importSkippedExcludedContentType", - "importSkippedInvalidMedia", - "importErrorRetryExhaustion", - "importSkippedOversized", - "migrationErrorFailedContinuation", - "migrationStart", - "migrationAbort", - "migrationError", - "migrationComplete", - "importSkippedStorageClass" - ], - "type": "string" -}; - /** * The schema of `images_sourcingkit_migration_progress_response` in responses. */ @@ -327,7 +313,14 @@ export const images_sourcingkit_migration_progress_response: JsonSchema = { ] }, "status": { - "$ref": "#/$defs/images_sourcingkit_migration_status" + "enum": [ + "pending", + "processing", + "success", + "error", + "aborted" + ], + "type": "string" } }, "type": "object" @@ -356,17 +349,3 @@ export const images_sourcingkit_migration_single_response: JsonSchema = { } ] }; - -/** - * The schema of `images_sourcingkit_migration_status` in responses. - */ -export const images_sourcingkit_migration_status: JsonSchema = { - "enum": [ - "pending", - "processing", - "success", - "error", - "aborted" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/images/import/schemas.ts b/src/generated/forge-mcp/images/import/schemas.ts index a75b6807e..cd953aa56 100644 --- a/src/generated/forge-mcp/images/import/schemas.ts +++ b/src/generated/forge-mcp/images/import/schemas.ts @@ -3,58 +3,34 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `images_sourcingkit_acceptable_content_type`. - */ -export const images_sourcingkit_acceptable_content_type: JsonSchema = { - "description": "A MIME type that can be excluded from migration.", - "enum": [ - "image/jpeg", - "image/png", - "image/webp", - "image/gif", - "image/avif", - "image/heic", - "image/svg+xml" - ], - "type": "string" -}; - -/** - * The schema of `images_sourcingkit_conflict_behaviour`. - */ -export const images_sourcingkit_conflict_behaviour: JsonSchema = { - "description": "How to handle objects that already exist at the destination.", - "enum": [ - "skip", - "overwrite" - ], - "type": "string" -}; - -/** - * The schema of `images_sourcingkit_identifier`. - */ -export const images_sourcingkit_identifier: JsonSchema = { - "description": "Sourcing kit resource identifier.", - "format": "uuid", - "type": "string" -}; - /** * The schema of `images_sourcingkit_migration_create_request`. */ export const images_sourcingkit_migration_create_request: JsonSchema = { "properties": { "conflictBehaviour": { - "$ref": "#/$defs/images_sourcingkit_conflict_behaviour", "default": "skip", - "description": "How to handle objects that already exist at the destination." + "description": "How to handle objects that already exist at the destination.", + "enum": [ + "skip", + "overwrite" + ], + "type": "string" }, "excludedContentTypes": { "description": "Content types to skip during migration.", "items": { - "$ref": "#/$defs/images_sourcingkit_acceptable_content_type" + "description": "A MIME type that can be excluded from migration.", + "enum": [ + "image/jpeg", + "image/png", + "image/webp", + "image/gif", + "image/avif", + "image/heic", + "image/svg+xml" + ], + "type": "string" }, "type": "array" }, diff --git a/src/generated/forge-mcp/images/import/sources/outputs.ts b/src/generated/forge-mcp/images/import/sources/outputs.ts index e1e9ee7a9..f5ff07132 100644 --- a/src/generated/forge-mcp/images/import/sources/outputs.ts +++ b/src/generated/forge-mcp/images/import/sources/outputs.ts @@ -85,7 +85,11 @@ export const images_sourcingkit_source: JsonSchema = { "type": "string" }, "vendor": { - "$ref": "#/$defs/images_sourcingkit_vendor" + "enum": [ + "s3", + "r2" + ], + "type": "string" } }, "type": "object" @@ -174,14 +178,3 @@ export const images_sourcingkit_source_update_response: JsonSchema = { } ] }; - -/** - * The schema of `images_sourcingkit_vendor` in responses. - */ -export const images_sourcingkit_vendor: JsonSchema = { - "enum": [ - "s3", - "r2" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/images/import/sources/schemas.ts b/src/generated/forge-mcp/images/import/sources/schemas.ts index 4c833f5e5..605edd9bc 100644 --- a/src/generated/forge-mcp/images/import/sources/schemas.ts +++ b/src/generated/forge-mcp/images/import/sources/schemas.ts @@ -32,8 +32,12 @@ export const images_sourcingkit_connectivity_precheck_request: JsonSchema = { "type": "object" }, "vendor": { - "$ref": "#/$defs/images_sourcingkit_vendor", - "description": "The cloud storage vendor of the source bucket." + "description": "The cloud storage vendor of the source bucket.", + "enum": [ + "s3", + "r2" + ], + "type": "string" } }, "required": [ @@ -66,8 +70,12 @@ export const images_sourcingkit_source_create_request: JsonSchema = { "type": "object" }, "vendor": { - "$ref": "#/$defs/images_sourcingkit_vendor", - "description": "The cloud storage vendor of the source bucket." + "description": "The cloud storage vendor of the source bucket.", + "enum": [ + "s3", + "r2" + ], + "type": "string" } }, "required": [ @@ -94,15 +102,3 @@ export const images_sourcingkit_source_update_request: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `images_sourcingkit_vendor`. - */ -export const images_sourcingkit_vendor: JsonSchema = { - "description": "The cloud storage vendor of the source bucket.", - "enum": [ - "s3", - "r2" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/images/import/sources/tools.ts b/src/generated/forge-mcp/images/import/sources/tools.ts index cdbd5b8d7..c53483bb4 100644 --- a/src/generated/forge-mcp/images/import/sources/tools.ts +++ b/src/generated/forge-mcp/images/import/sources/tools.ts @@ -9,8 +9,6 @@ import { images_deleted_response, images_messages, } from "../../outputs.js"; -import { images_account_identifier } from "../../schemas.js"; -import { images_sourcingkit_identifier } from "../schemas.js"; import { images_sourcingkit_connectivity_check_response, images_sourcingkit_source, @@ -18,13 +16,11 @@ import { images_sourcingkit_source_list_response, images_sourcingkit_source_single_response, images_sourcingkit_source_update_response, - images_sourcingkit_vendor, } from "./outputs.js"; import { images_sourcingkit_connectivity_precheck_request, images_sourcingkit_source_create_request, images_sourcingkit_source_update_request, - images_sourcingkit_vendor as images_sourcingkit_vendor$, } from "./schemas.js"; /** @@ -34,19 +30,21 @@ export const tools: readonly Tool[] = [ { name: "images_import_sources_check", title: "Get source connectivity status", - description: "Check whether a source can still access its S3 bucket.", + description: "Check whether a source can still access its S3 bucket.\n\nGET /accounts/{account_id}/images/v2/sourcingkit/sources/{source_id}/connectivity", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "source_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -59,10 +57,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_connectivity_check_response", @@ -119,7 +114,7 @@ export const tools: readonly Tool[] = [ { name: "images_import_sources_create", title: "Create a sourcing kit source", - description: "Configure an S3 source for CF Images imports.", + description: "Configure an S3 source for CF Images imports.\n\nPOST /accounts/{account_id}/images/v2/sourcingkit/sources", inputSchema: { type: "object", properties: { @@ -127,10 +122,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/images_sourcingkit_source_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -143,10 +139,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "images_account_identifier": images_account_identifier, "images_sourcingkit_source_create_request": images_sourcingkit_source_create_request, - "images_sourcingkit_vendor": images_sourcingkit_vendor$, }, }, outputSchema: { @@ -157,7 +152,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_source": images_sourcingkit_source, "images_sourcingkit_source_create_response": images_sourcingkit_source_create_response, - "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, annotations: { @@ -197,7 +191,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_source": images_sourcingkit_source, "images_sourcingkit_source_create_response": images_sourcingkit_source_create_response, - "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, request: (args) => ({ @@ -208,19 +201,21 @@ export const tools: readonly Tool[] = [ { name: "images_import_sources_delete", title: "Delete a sourcing kit source", - description: "Delete a source configured for CF Images imports. Sources used by active imports cannot be deleted.\n\nConfirm with the user before calling this tool. This operation will delete this import source.", + description: "Delete a source configured for CF Images imports. Sources used by active imports cannot be deleted.\n\nConfirm with the user before calling this tool. This operation will delete this import source.\n\nDELETE /accounts/{account_id}/images/v2/sourcingkit/sources/{source_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "source_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -233,10 +228,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_deleted_response", @@ -292,19 +284,21 @@ export const tools: readonly Tool[] = [ { name: "images_import_sources_get", title: "Get sourcing kit source", - description: "Get details of a source configured for CF Images imports.", + description: "Get details of a source configured for CF Images imports.\n\nGET /accounts/{account_id}/images/v2/sourcingkit/sources/{source_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "source_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -317,10 +311,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_source_single_response", @@ -330,7 +321,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_source": images_sourcingkit_source, "images_sourcingkit_source_single_response": images_sourcingkit_source_single_response, - "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, annotations: { @@ -371,7 +361,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_source": images_sourcingkit_source, "images_sourcingkit_source_single_response": images_sourcingkit_source_single_response, - "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, request: (args) => ({ @@ -381,15 +370,16 @@ export const tools: readonly Tool[] = [ { name: "images_import_sources_list", title: "List sourcing kit sources", - description: "List sources configured for CF Images imports.", + description: "List sources configured for CF Images imports.\n\nGET /accounts/{account_id}/images/v2/sourcingkit/sources", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -398,6 +388,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "default": 25, @@ -420,9 +411,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_source_list_response", @@ -431,7 +420,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_source": images_sourcingkit_source, "images_sourcingkit_source_list_response": images_sourcingkit_source_list_response, - "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, annotations: { @@ -471,7 +459,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_source": images_sourcingkit_source, "images_sourcingkit_source_list_response": images_sourcingkit_source_list_response, - "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, request: (args) => ({ @@ -486,7 +473,7 @@ export const tools: readonly Tool[] = [ { name: "images_import_sources_preCheck", title: "Precheck source connectivity", - description: "Check S3 credentials without saving a source.", + description: "Check S3 credentials without saving a source.\n\nPOST /accounts/{account_id}/images/v2/sourcingkit/sources/connectivity-precheck", inputSchema: { type: "object", properties: { @@ -494,10 +481,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/images_sourcingkit_connectivity_precheck_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -510,10 +498,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "images_account_identifier": images_account_identifier, "images_sourcingkit_connectivity_precheck_request": images_sourcingkit_connectivity_precheck_request, - "images_sourcingkit_vendor": images_sourcingkit_vendor$, }, }, outputSchema: { @@ -571,7 +558,7 @@ export const tools: readonly Tool[] = [ { name: "images_import_sources_update", title: "Update a sourcing kit source", - description: "Rename a source configured for CF Images imports.", + description: "Rename a source configured for CF Images imports.\n\nPATCH /accounts/{account_id}/images/v2/sourcingkit/sources/{source_id}", inputSchema: { type: "object", properties: { @@ -579,14 +566,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/images_sourcingkit_source_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "source_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -600,9 +589,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, "images_sourcingkit_source_update_request": images_sourcingkit_source_update_request, }, }, @@ -614,7 +602,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_source": images_sourcingkit_source, "images_sourcingkit_source_update_response": images_sourcingkit_source_update_response, - "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, annotations: { @@ -654,7 +641,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_source": images_sourcingkit_source, "images_sourcingkit_source_update_response": images_sourcingkit_source_update_response, - "images_sourcingkit_vendor": images_sourcingkit_vendor, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/images/import/tools.ts b/src/generated/forge-mcp/images/import/tools.ts index 364c99318..9a75e72df 100644 --- a/src/generated/forge-mcp/images/import/tools.ts +++ b/src/generated/forge-mcp/images/import/tools.ts @@ -9,26 +9,16 @@ import { images_deleted_response, images_messages, } from "../outputs.js"; -import { images_account_identifier } from "../schemas.js"; import { - images_sourcingkit_acceptable_content_type, - images_sourcingkit_conflict_behaviour, images_sourcingkit_migration, images_sourcingkit_migration_create_response, images_sourcingkit_migration_list_response, images_sourcingkit_migration_log, images_sourcingkit_migration_log_list_response, - images_sourcingkit_migration_log_type, images_sourcingkit_migration_progress_response, images_sourcingkit_migration_single_response, - images_sourcingkit_migration_status, } from "./outputs.js"; -import { - images_sourcingkit_acceptable_content_type as images_sourcingkit_acceptable_content_type$, - images_sourcingkit_conflict_behaviour as images_sourcingkit_conflict_behaviour$, - images_sourcingkit_identifier, - images_sourcingkit_migration_create_request, -} from "./schemas.js"; +import { images_sourcingkit_migration_create_request } from "./schemas.js"; /** * The tools of `images.import`. @@ -37,19 +27,21 @@ export const tools: readonly Tool[] = [ { name: "images_import_abort", title: "Abort a migration", - description: "Abort a running CF Images import. Already imported images will remain.", + description: "Abort a running CF Images import. Already imported images will remain.\n\nPATCH /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id}/lifecycle/abort", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -62,10 +54,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_single_response", @@ -73,11 +62,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -108,11 +94,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ @@ -122,7 +105,7 @@ export const tools: readonly Tool[] = [ { name: "images_import_create", title: "Create a sourcing kit migration", - description: "Create a pending CF Images import from a configured source.", + description: "Create a pending CF Images import from a configured source.\n\nPOST /accounts/{account_id}/images/v2/sourcingkit/migrations", inputSchema: { type: "object", properties: { @@ -130,10 +113,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/images_sourcingkit_migration_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -146,10 +130,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type$, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour$, "images_sourcingkit_migration_create_request": images_sourcingkit_migration_create_request, }, }, @@ -159,11 +141,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_create_response": images_sourcingkit_migration_create_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -201,11 +180,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_create_response": images_sourcingkit_migration_create_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ @@ -216,19 +192,21 @@ export const tools: readonly Tool[] = [ { name: "images_import_delete", title: "Delete a sourcing kit migration", - description: "Delete a completed, failed, or aborted CF Images import.\n\nConfirm with the user before calling this tool. This operation will delete this import migration.", + description: "Delete a completed, failed, or aborted CF Images import.\n\nConfirm with the user before calling this tool. This operation will delete this import migration.\n\nDELETE /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -241,10 +219,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_deleted_response", @@ -300,19 +275,21 @@ export const tools: readonly Tool[] = [ { name: "images_import_get", title: "Get sourcing kit migration", - description: "Get the configuration and status of a CF Images import.", + description: "Get the configuration and status of a CF Images import.\n\nGET /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -325,10 +302,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_single_response", @@ -336,11 +310,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -379,11 +350,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ @@ -393,15 +361,16 @@ export const tools: readonly Tool[] = [ { name: "images_import_list", title: "List sourcing kit migrations", - description: "List CF Images imports.", + description: "List CF Images imports.\n\nGET /accounts/{account_id}/images/v2/sourcingkit/migrations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -410,6 +379,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "default": 25, @@ -428,20 +398,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_list_response", $defs: { "images_api-response-common": images_api$$response$$common, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_list_response": images_sourcingkit_migration_list_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -479,11 +444,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-common-failure": images_api$$response$$common$$failure, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_list_response": images_sourcingkit_migration_list_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ @@ -497,19 +459,21 @@ export const tools: readonly Tool[] = [ { name: "images_import_logs", title: "List migration logs", - description: "List log entries for a CF Images import.", + description: "List log entries for a CF Images import.\n\nGET /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id}/logs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -519,6 +483,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "default": 25, @@ -537,10 +502,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_log_list_response", @@ -549,7 +511,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_migration_log": images_sourcingkit_migration_log, "images_sourcingkit_migration_log_list_response": images_sourcingkit_migration_log_list_response, - "images_sourcingkit_migration_log_type": images_sourcingkit_migration_log_type, }, }, annotations: { @@ -589,7 +550,6 @@ export const tools: readonly Tool[] = [ "images_messages": images_messages, "images_sourcingkit_migration_log": images_sourcingkit_migration_log, "images_sourcingkit_migration_log_list_response": images_sourcingkit_migration_log_list_response, - "images_sourcingkit_migration_log_type": images_sourcingkit_migration_log_type, }, }, request: (args) => ({ @@ -603,19 +563,21 @@ export const tools: readonly Tool[] = [ { name: "images_import_progress", title: "Get migration progress", - description: "Get progress and object counts for a CF Images import.", + description: "Get progress and object counts for a CF Images import.\n\nGET /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id}/lifecycle", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -628,10 +590,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_progress_response", @@ -640,7 +599,6 @@ export const tools: readonly Tool[] = [ "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, "images_sourcingkit_migration_progress_response": images_sourcingkit_migration_progress_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -680,7 +638,6 @@ export const tools: readonly Tool[] = [ "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, "images_sourcingkit_migration_progress_response": images_sourcingkit_migration_progress_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ @@ -690,19 +647,21 @@ export const tools: readonly Tool[] = [ { name: "images_import_start", title: "Start a migration", - description: "Start a pending CF Images import.", + description: "Start a pending CF Images import.\n\nPATCH /accounts/{account_id}/images/v2/sourcingkit/migrations/{migration_id}/lifecycle/start", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "migration_id": { - "$ref": "#/$defs/images_sourcingkit_identifier", - "description": "Sourcing kit resource identifier." + "description": "Sourcing kit resource identifier.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -715,10 +674,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_sourcingkit_identifier": images_sourcingkit_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_sourcingkit_migration_single_response", @@ -726,11 +682,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, annotations: { @@ -761,11 +714,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_messages": images_messages, - "images_sourcingkit_acceptable_content_type": images_sourcingkit_acceptable_content_type, - "images_sourcingkit_conflict_behaviour": images_sourcingkit_conflict_behaviour, "images_sourcingkit_migration": images_sourcingkit_migration, "images_sourcingkit_migration_single_response": images_sourcingkit_migration_single_response, - "images_sourcingkit_migration_status": images_sourcingkit_migration_status, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/images/keys/outputs.ts b/src/generated/forge-mcp/images/keys/outputs.ts index 677b2dafe..fab38b511 100644 --- a/src/generated/forge-mcp/images/keys/outputs.ts +++ b/src/generated/forge-mcp/images/keys/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `images_image_key_name` in responses. - */ -export const images_image_key_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `images_image_key_response_collection` in responses. */ @@ -29,23 +22,16 @@ export const images_image_key_response_collection: JsonSchema = { ] }; -/** - * The schema of `images_image_key_value` in responses. - */ -export const images_image_key_value: JsonSchema = { - "type": "string" -}; - /** * The schema of `images_image_keys` in responses. */ export const images_image_keys: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/images_image_key_name" + "type": "string" }, "value": { - "$ref": "#/$defs/images_image_key_value" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/images/keys/schemas.ts b/src/generated/forge-mcp/images/keys/schemas.ts deleted file mode 100644 index 90f803511..000000000 --- a/src/generated/forge-mcp/images/keys/schemas.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `images_signing_key_identifier`. - */ -export const images_signing_key_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/images/keys/tools.ts b/src/generated/forge-mcp/images/keys/tools.ts index dd38de496..dcdbe9f3e 100644 --- a/src/generated/forge-mcp/images/keys/tools.ts +++ b/src/generated/forge-mcp/images/keys/tools.ts @@ -7,15 +7,11 @@ import { images_api$$response$$common$$failure, images_messages, } from "../outputs.js"; -import { images_account_identifier } from "../schemas.js"; import { - images_image_key_name, images_image_key_response_collection, - images_image_key_value, images_image_keys, images_image_keys_response, } from "./outputs.js"; -import { images_signing_key_identifier } from "./schemas.js"; /** * The tools of `images.keys`. @@ -24,18 +20,19 @@ export const tools: readonly Tool[] = [ { name: "images_keys_create", title: "Create a new Signing Key", - description: "Create a new CF Images signing key with specified name. Returns all keys available.", + description: "Create a new CF Images signing key with specified name. Returns all keys available.\n\nPUT /accounts/{account_id}/images/v1/keys/{signing_key_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "signing_key_name": { - "$ref": "#/$defs/images_signing_key_identifier" + "type": "string" } }, "required": [ @@ -48,18 +45,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_signing_key_identifier": images_signing_key_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_image_key_response_collection", $defs: { "images_api-response-common": images_api$$response$$common, - "images_image_key_name": images_image_key_name, "images_image_key_response_collection": images_image_key_response_collection, - "images_image_key_value": images_image_key_value, "images_image_keys": images_image_keys, "images_image_keys_response": images_image_keys_response, "images_messages": images_messages, @@ -93,9 +85,7 @@ export const tools: readonly Tool[] = [ $defs: { "images_api-response-common": images_api$$response$$common, "images_api-response-common-failure": images_api$$response$$common$$failure, - "images_image_key_name": images_image_key_name, "images_image_key_response_collection": images_image_key_response_collection, - "images_image_key_value": images_image_key_value, "images_image_keys": images_image_keys, "images_image_keys_response": images_image_keys_response, "images_messages": images_messages, @@ -108,18 +98,19 @@ export const tools: readonly Tool[] = [ { name: "images_keys_delete", title: "Delete Signing Key", - description: "Delete a CF Images signing key with specified name. Returns all keys available.\nWhen the last key is removed, a new default signing key will be generated.\n\nConfirm with the user before calling this tool. This operation will delete this signing key. This will invalidate any URLs that are signed with this key.", + description: "Delete a CF Images signing key with specified name. Returns all keys available.\nWhen the last key is removed, a new default signing key will be generated.\n\nConfirm with the user before calling this tool. This operation will delete this signing key. This will invalidate any URLs that are signed with this key.\n\nDELETE /accounts/{account_id}/images/v1/keys/{signing_key_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "signing_key_name": { - "$ref": "#/$defs/images_signing_key_identifier" + "type": "string" } }, "required": [ @@ -132,18 +123,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_signing_key_identifier": images_signing_key_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_image_key_response_collection", $defs: { "images_api-response-common": images_api$$response$$common, - "images_image_key_name": images_image_key_name, "images_image_key_response_collection": images_image_key_response_collection, - "images_image_key_value": images_image_key_value, "images_image_keys": images_image_keys, "images_image_keys_response": images_image_keys_response, "images_messages": images_messages, @@ -177,9 +163,7 @@ export const tools: readonly Tool[] = [ $defs: { "images_api-response-common": images_api$$response$$common, "images_api-response-common-failure": images_api$$response$$common$$failure, - "images_image_key_name": images_image_key_name, "images_image_key_response_collection": images_image_key_response_collection, - "images_image_key_value": images_image_key_value, "images_image_keys": images_image_keys, "images_image_keys_response": images_image_keys_response, "images_messages": images_messages, @@ -192,15 +176,16 @@ export const tools: readonly Tool[] = [ { name: "images_keys_list", title: "List Signing Keys", - description: "List your CF Images signing keys.", + description: "List your CF Images signing keys.\n\nGET /accounts/{account_id}/images/v1/keys", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -212,17 +197,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_image_key_response_collection", $defs: { "images_api-response-common": images_api$$response$$common, - "images_image_key_name": images_image_key_name, "images_image_key_response_collection": images_image_key_response_collection, - "images_image_key_value": images_image_key_value, "images_image_keys": images_image_keys, "images_image_keys_response": images_image_keys_response, "images_messages": images_messages, @@ -262,9 +243,7 @@ export const tools: readonly Tool[] = [ $defs: { "images_api-response-common": images_api$$response$$common, "images_api-response-common-failure": images_api$$response$$common$$failure, - "images_image_key_name": images_image_key_name, "images_image_key_response_collection": images_image_key_response_collection, - "images_image_key_value": images_image_key_value, "images_image_keys": images_image_keys, "images_image_keys_response": images_image_keys_response, "images_messages": images_messages, diff --git a/src/generated/forge-mcp/images/outputs.ts b/src/generated/forge-mcp/images/outputs.ts index 52064f16a..22ec3de5f 100644 --- a/src/generated/forge-mcp/images/outputs.ts +++ b/src/generated/forge-mcp/images/outputs.ts @@ -16,7 +16,14 @@ export const images_api$$response$$collection$$v2: JsonSchema = { "result": { "properties": { "continuation_token": { - "$ref": "#/$defs/images_images_list_continuation_token" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" @@ -151,22 +158,30 @@ export const images_deleted_response: JsonSchema = { export const images_image: JsonSchema = { "properties": { "creator": { - "$ref": "#/$defs/images_image_creator" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "filename": { - "$ref": "#/$defs/images_image_filename" + "type": "string" }, "id": { - "$ref": "#/$defs/images_image_identifier" + "type": "string" }, "meta": { "$ref": "#/$defs/images_image_metadata" }, "requireSignedURLs": { - "$ref": "#/$defs/images_image_requireSignedURLs" + "type": "boolean" }, "uploaded": { - "$ref": "#/$defs/images_image_uploaded" + "format": "date-time", + "type": "string" }, "variants": { "$ref": "#/$defs/images_image_variants" @@ -175,41 +190,6 @@ export const images_image: JsonSchema = { "type": "object" }; -/** - * The schema of `images_image_creator` in responses. - */ -export const images_image_creator: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `images_image_filename` in responses. - */ -export const images_image_filename: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `images_image_hero_url` in responses. - */ -export const images_image_hero_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `images_image_identifier` in responses. - */ -export const images_image_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `images_image_metadata` in responses. */ @@ -217,20 +197,6 @@ export const images_image_metadata: JsonSchema = { "type": "object" }; -/** - * The schema of `images_image_original_url` in responses. - */ -export const images_image_original_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `images_image_requireSignedURLs` in responses. - */ -export const images_image_requireSignedURLs: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `images_image_response_blob` in responses. */ @@ -264,21 +230,6 @@ export const images_image_response_single: JsonSchema = { ] }; -/** - * The schema of `images_image_thumbnail_url` in responses. - */ -export const images_image_thumbnail_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `images_image_uploaded` in responses. - */ -export const images_image_uploaded: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `images_image_variants` in responses. */ @@ -286,33 +237,19 @@ export const images_image_variants: JsonSchema = { "items": { "anyOf": [ { - "$ref": "#/$defs/images_image_thumbnail_url" + "type": "string" }, { - "$ref": "#/$defs/images_image_hero_url" + "type": "string" }, { - "$ref": "#/$defs/images_image_original_url" + "type": "string" } ] }, "type": "array" }; -/** - * The schema of `images_images_list_continuation_token` in responses. - */ -export const images_images_list_continuation_token: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `images_images_list_response_v2` in responses. */ @@ -352,35 +289,21 @@ export const images_images_stats: JsonSchema = { "type": "object" }; -/** - * The schema of `images_images_stats_allowed` in responses. - */ -export const images_images_stats_allowed: JsonSchema = { - "type": "number" -}; - /** * The schema of `images_images_stats_count` in responses. */ export const images_images_stats_count: JsonSchema = { "properties": { "allowed": { - "$ref": "#/$defs/images_images_stats_allowed" + "type": "number" }, "current": { - "$ref": "#/$defs/images_images_stats_current" + "type": "number" } }, "type": "object" }; -/** - * The schema of `images_images_stats_current` in responses. - */ -export const images_images_stats_current: JsonSchema = { - "type": "number" -}; - /** * The schema of `images_images_stats_response` in responses. */ diff --git a/src/generated/forge-mcp/images/schemas.ts b/src/generated/forge-mcp/images/schemas.ts index 41afb890d..c407908d8 100644 --- a/src/generated/forge-mcp/images/schemas.ts +++ b/src/generated/forge-mcp/images/schemas.ts @@ -3,22 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `images_account_identifier`. - */ -export const images_account_identifier: JsonSchema = { - "description": "Account identifier tag.", - "type": "string" -}; - -/** - * The schema of `images_image_identifier`. - */ -export const images_image_identifier: JsonSchema = { - "description": "Image unique identifier.", - "type": "string" -}; - /** * The schema of `images_image_patch_request`. */ @@ -39,18 +23,3 @@ export const images_image_patch_request: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `images_images_list_continuation_token`. - */ -export const images_images_list_continuation_token: JsonSchema = { - "description": "Continuation token to fetch next page. Passed as a query param when requesting List V2 api endpoint.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; diff --git a/src/generated/forge-mcp/images/tools.ts b/src/generated/forge-mcp/images/tools.ts index 98c0734ff..e1abf7f32 100644 --- a/src/generated/forge-mcp/images/tools.ts +++ b/src/generated/forge-mcp/images/tools.ts @@ -9,33 +9,17 @@ import { images_api$$response$$single, images_deleted_response, images_image, - images_image_creator, - images_image_filename, - images_image_hero_url, - images_image_identifier, images_image_metadata, - images_image_original_url, - images_image_requireSignedURLs, images_image_response_blob, images_image_response_single, - images_image_thumbnail_url, - images_image_uploaded, images_image_variants, - images_images_list_continuation_token, images_images_list_response_v2, images_images_stats, - images_images_stats_allowed, images_images_stats_count, - images_images_stats_current, images_images_stats_response, images_messages, } from "./outputs.js"; -import { - images_account_identifier, - images_image_identifier as images_image_identifier$, - images_image_patch_request, - images_images_list_continuation_token as images_images_list_continuation_token$, -} from "./schemas.js"; +import { images_image_patch_request } from "./schemas.js"; /** * The tools of `images`. @@ -44,19 +28,20 @@ export const tools: readonly Tool[] = [ { name: "images_delete", title: "Delete image", - description: "Delete an image on Cloudflare Images. On success, all copies of the image are deleted and purged from cache.\n\nConfirm with the user before calling this tool. This operation will delete this image.", + description: "Delete an image on Cloudflare Images. On success, all copies of the image are deleted and purged from cache.\n\nConfirm with the user before calling this tool. This operation will delete this image.\n\nDELETE /accounts/{account_id}/images/v1/{image_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "image_id": { - "$ref": "#/$defs/images_image_identifier", - "description": "Image unique identifier." + "description": "Image unique identifier.", + "type": "string" } }, "required": [ @@ -69,10 +54,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_image_identifier": images_image_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_deleted_response", @@ -128,7 +110,7 @@ export const tools: readonly Tool[] = [ { name: "images_edit", title: "Update image", - description: "Update a CF Images image's metadata, creator, or access control. On access control change, all copies of the image are purged from cache.", + description: "Update a CF Images image's metadata, creator, or access control. On access control change, all copies of the image are purged from cache.\n\nPATCH /accounts/{account_id}/images/v1/{image_id}", inputSchema: { type: "object", properties: { @@ -136,14 +118,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/images_image_patch_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "image_id": { - "$ref": "#/$defs/images_image_identifier", - "description": "Image unique identifier." + "description": "Image unique identifier.", + "type": "string" } }, "required": [ @@ -157,9 +140,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "images_account_identifier": images_account_identifier, - "images_image_identifier": images_image_identifier$, "images_image_patch_request": images_image_patch_request, }, }, @@ -169,16 +151,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_image": images_image, - "images_image_creator": images_image_creator, - "images_image_filename": images_image_filename, - "images_image_hero_url": images_image_hero_url, - "images_image_identifier": images_image_identifier, "images_image_metadata": images_image_metadata, - "images_image_original_url": images_image_original_url, - "images_image_requireSignedURLs": images_image_requireSignedURLs, "images_image_response_single": images_image_response_single, - "images_image_thumbnail_url": images_image_thumbnail_url, - "images_image_uploaded": images_image_uploaded, "images_image_variants": images_image_variants, "images_messages": images_messages, }, @@ -218,16 +192,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_image": images_image, - "images_image_creator": images_image_creator, - "images_image_filename": images_image_filename, - "images_image_hero_url": images_image_hero_url, - "images_image_identifier": images_image_identifier, "images_image_metadata": images_image_metadata, - "images_image_original_url": images_image_original_url, - "images_image_requireSignedURLs": images_image_requireSignedURLs, "images_image_response_single": images_image_response_single, - "images_image_thumbnail_url": images_image_thumbnail_url, - "images_image_uploaded": images_image_uploaded, "images_image_variants": images_image_variants, "images_messages": images_messages, }, @@ -240,19 +206,20 @@ export const tools: readonly Tool[] = [ { name: "images_get", title: "Image details", - description: "Fetch details for a CF Images image.", + description: "Fetch details for a CF Images image.\n\nGET /accounts/{account_id}/images/v1/{image_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "image_id": { - "$ref": "#/$defs/images_image_identifier", - "description": "Image unique identifier." + "description": "Image unique identifier.", + "type": "string" } }, "required": [ @@ -265,10 +232,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_image_identifier": images_image_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_image_response_single", @@ -276,16 +240,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_image": images_image, - "images_image_creator": images_image_creator, - "images_image_filename": images_image_filename, - "images_image_hero_url": images_image_hero_url, - "images_image_identifier": images_image_identifier, "images_image_metadata": images_image_metadata, - "images_image_original_url": images_image_original_url, - "images_image_requireSignedURLs": images_image_requireSignedURLs, "images_image_response_single": images_image_response_single, - "images_image_thumbnail_url": images_image_thumbnail_url, - "images_image_uploaded": images_image_uploaded, "images_image_variants": images_image_variants, "images_messages": images_messages, }, @@ -326,16 +282,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_image": images_image, - "images_image_creator": images_image_creator, - "images_image_filename": images_image_filename, - "images_image_hero_url": images_image_hero_url, - "images_image_identifier": images_image_identifier, "images_image_metadata": images_image_metadata, - "images_image_original_url": images_image_original_url, - "images_image_requireSignedURLs": images_image_requireSignedURLs, "images_image_response_single": images_image_response_single, - "images_image_thumbnail_url": images_image_thumbnail_url, - "images_image_uploaded": images_image_uploaded, "images_image_variants": images_image_variants, "images_messages": images_messages, }, @@ -347,19 +295,20 @@ export const tools: readonly Tool[] = [ { name: "images_getBlob", title: "Download image", - description: "Download an image from CF Images. For most images this will be the originally uploaded file. For larger images it can be a near-lossless version of the original.", + description: "Download an image from CF Images. For most images this will be the originally uploaded file. For larger images it can be a near-lossless version of the original.\n\nGET /accounts/{account_id}/images/v1/{image_id}/blob", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "image_id": { - "$ref": "#/$defs/images_image_identifier", - "description": "Image unique identifier." + "description": "Image unique identifier.", + "type": "string" } }, "required": [ @@ -372,10 +321,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_image_identifier": images_image_identifier$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -419,15 +365,16 @@ export const tools: readonly Tool[] = [ { name: "images_list", title: "List images V2", - description: "List up to 10000 images from CF Images, with up to 1000 results per page. Use the optional parameters below to get a specific range of images.\nPagination is supported via continuation_token.\n\n**Metadata Filtering (Optional):**\n\nYou can optionally filter images by custom metadata fields using the `meta.[]=` syntax.\n\n**Supported Operators:**\n- `eq` / `eq:string` / `eq:number` / `eq:boolean` - Exact match\n- `gt` / `gt:number` - Greater than (number only)\n- `gte` / `gte:number` - Greater than or equal (number only)\n- `lt` / `lt:number` - Less than (number only)\n- `lte` / `lte:number` - Less than or equal (number only)\n- `in` / `in:string` / `in:number` - Match any value in list (pipe-separated)\n\n**Metadata Filter Constraints:**\n- Maximum 5 metadata filters per request\n- Maximum 5 levels of nesting (e.g., `meta.first.second.third.fourth.fifth`)\n- Maximum 10 elements for list operators (`in`)\n- Supports string, number, and boolean value types\n- Range operators (`gt`, `gte`, `lt`, `lte`) only accept numeric values\n\n**Filter Consistency:**\nFilters are combined with AND logic. The system does not validate whether filter combinations are logically consistent. For example, `meta.priority[eq:number]=5&meta.priority[lte:number]=3` will return zero results because no value can satisfy both conditions simultaneously. It is the caller's responsibility to ensure filter combinations make sense.\n\n**Examples:**\n```\n# List all images\n/images/v2\n\n# Filter by metadata [eq]\n/images/v2?meta.status[eq:string]=active\n\n# Filter by metadata [in]\n/images/v2?meta.status[in]=pending|deleted|flagged\n\n# Filter by metadata [in:number]\n/images/v2?meta.ratings[in:number]=4|5\n\n# Filter by metadata range [gte:number]\n/images/v2?meta.priority[gte:number]=1\n\n# Filter by bounded range\n/images/v2?meta.priority[gte:number]=1&meta.priority[lte:number]=5\n\n# Filter by nested metadata\n/images/v2?meta.region.name[eq]=eu-west\n\n# Combine metadata filters with creator\n/images/v2?meta.status[eq]=active&creator=user123\n\n# Multiple metadata filters (AND logic)\n/images/v2?meta.status[eq]=active&meta.priority[eq:number]=5\n```", + description: "List up to 10000 images from CF Images, with up to 1000 results per page. Use the optional parameters below to get a specific range of images.\nPagination is supported via continuation_token.\n\n**Metadata Filtering (Optional):**\n\nYou can optionally filter images by custom metadata fields using the `meta.[]=` syntax.\n\n**Supported Operators:**\n- `eq` / `eq:string` / `eq:number` / `eq:boolean` - Exact match\n- `gt` / `gt:number` - Greater than (number only)\n- `gte` / `gte:number` - Greater than or equal (number only)\n- `lt` / `lt:number` - Less than (number only)\n- `lte` / `lte:number` - Less than or equal (number only)\n- `in` / `in:string` / `in:number` - Match any value in list (pipe-separated)\n\n**Metadata Filter Constraints:**\n- Maximum 5 metadata filters per request\n- Maximum 5 levels of nesting (e.g., `meta.first.second.third.fourth.fifth`)\n- Maximum 10 elements for list operators (`in`)\n- Supports string, number, and boolean value types\n- Range operators (`gt`, `gte`, `lt`, `lte`) only accept numeric values\n\n**Filter Consistency:**\nFilters are combined with AND logic. The system does not validate whether filter combinations are logically consistent. For example, `meta.priority[eq:number]=5&meta.priority[lte:number]=3` will return zero results because no value can satisfy both conditions simultaneously. It is the caller's responsibility to ensure filter combinations make sense.\n\n**Examples:**\n```\n# List all images\n/images/v2\n\n# Filter by metadata [eq]\n/images/v2?meta.status[eq:string]=active\n\n# Filter by metadata [in]\n/images/v2?meta.status[in]=pending|deleted|flagged\n\n# Filter by metadata [in:number]\n/images/v2?meta.ratings[in:number]=4|5\n\n# Filter by metadata range [gte:number]\n/images/v2?meta.priority[gte:number]=1\n\n# Filter by bounded range\n/images/v2?meta.priority[gte:number]=1&meta.priority[lte:number]=5\n\n# Filter by nested metadata\n/images/v2?meta.region.name[eq]=eu-west\n\n# Combine metadata filters with creator\n/images/v2?meta.status[eq]=active&creator=user123\n\n# Multiple metadata filters (AND logic)\n/images/v2?meta.status[eq]=active&meta.priority[eq:number]=5\n```\n\nGET /accounts/{account_id}/images/v2", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -436,10 +383,18 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "continuation_token": { - "$ref": "#/$defs/images_images_list_continuation_token", - "description": "Continuation token to fetch next page. Passed as a query param when requesting List V2 api endpoint." + "description": "Continuation token to fetch next page. Passed as a query param when requesting List V2 api endpoint.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "creator": { "description": "Internal user ID set within the creator field. Setting to empty string \"\" will return images where creator field is not set", @@ -453,7 +408,7 @@ export const tools: readonly Tool[] = [ ] }, "meta.[]": { - "description": "Optional metadata filter(s). Multiple filters can be combined with AND logic.\n\n**Operators:**\n- `eq`, `eq:string`, `eq:number`, `eq:boolean` - Exact match\n- `gt`, `gt:number` - Greater than (number only)\n- `gte`, `gte:number` - Greater than or equal (number only)\n- `lt`, `lt:number` - Less than (number only)\n- `lte`, `lte:number` - Less than or equal (number only)\n- `in`, `in:string`, `in:number` - Match any value in pipe-separated list\n\n**Examples:**\n- `meta.status[eq]=active`\n- `meta.priority[eq:number]=5`\n- `meta.enabled[eq:boolean]=true`\n- `meta.priority[gte:number]=1`\n- `meta.score[lt:number]=100`\n- `meta.region[in]=us-east|us-west|eu-west`\n\n**Note:** Filter consistency is not validated. Contradictory filters (e.g., `meta.priority[eq:number]=5&meta.priority[lte:number]=3`) will return zero results.\n", + "description": "Optional metadata filter(s). Multiple filters can be combined with AND logic.\n\n**Operators:**\n- `eq`, `eq:string`, `eq:number`, `eq:boolean` - Exact match\n- `gt`, `gt:number` - Greater than (number only)\n- `gte`, `gte:number` - Greater than or equal (number only)\n- `lt`, `lt:number` - Less than (number only)\n- `lte`, `lte:number` - Less than or equal (number only)\n- `in`, `in:string`, `in:number` - Match any value in pipe-separated list\n\n**Examples:**\n- `meta.status[eq]=active`\n- `meta.priority[eq:number]=5`\n- `meta.enabled[eq:boolean]=true`\n- `meta.priority[gte:number]=1`\n- `meta.score[lt:number]=100`\n- `meta.region[in]=us-east|us-west|eu-west`\n\n**Note:** Filter consistency is not validated. Contradictory filters (e.g., `meta.priority[eq:number]=5&meta.priority[lte:number]=3`) will return zero results.", "type": "string" }, "per_page": { @@ -477,10 +432,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_images_list_continuation_token": images_images_list_continuation_token$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_images_list_response_v2", @@ -488,17 +440,8 @@ export const tools: readonly Tool[] = [ "images_api-response-collection-v2": images_api$$response$$collection$$v2, "images_api-response-common": images_api$$response$$common, "images_image": images_image, - "images_image_creator": images_image_creator, - "images_image_filename": images_image_filename, - "images_image_hero_url": images_image_hero_url, - "images_image_identifier": images_image_identifier, "images_image_metadata": images_image_metadata, - "images_image_original_url": images_image_original_url, - "images_image_requireSignedURLs": images_image_requireSignedURLs, - "images_image_thumbnail_url": images_image_thumbnail_url, - "images_image_uploaded": images_image_uploaded, "images_image_variants": images_image_variants, - "images_images_list_continuation_token": images_images_list_continuation_token, "images_images_list_response_v2": images_images_list_response_v2, "images_messages": images_messages, }, @@ -535,17 +478,8 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-common-failure": images_api$$response$$common$$failure, "images_image": images_image, - "images_image_creator": images_image_creator, - "images_image_filename": images_image_filename, - "images_image_hero_url": images_image_hero_url, - "images_image_identifier": images_image_identifier, "images_image_metadata": images_image_metadata, - "images_image_original_url": images_image_original_url, - "images_image_requireSignedURLs": images_image_requireSignedURLs, - "images_image_thumbnail_url": images_image_thumbnail_url, - "images_image_uploaded": images_image_uploaded, "images_image_variants": images_image_variants, - "images_images_list_continuation_token": images_images_list_continuation_token, "images_images_list_response_v2": images_images_list_response_v2, "images_messages": images_messages, }, @@ -564,15 +498,16 @@ export const tools: readonly Tool[] = [ { name: "images_stats", title: "Images usage statistics", - description: "Fetch image statistics details for Cloudflare Images. The returned statistics detail storage usage, including the current image count vs this account's allowance.", + description: "Fetch image statistics details for Cloudflare Images. The returned statistics detail storage usage, including the current image count vs this account's allowance.\n\nGET /accounts/{account_id}/images/v1/stats", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -584,9 +519,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_images_stats_response", @@ -594,9 +527,7 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_images_stats": images_images_stats, - "images_images_stats_allowed": images_images_stats_allowed, "images_images_stats_count": images_images_stats_count, - "images_images_stats_current": images_images_stats_current, "images_images_stats_response": images_images_stats_response, "images_messages": images_messages, }, @@ -637,9 +568,7 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_images_stats": images_images_stats, - "images_images_stats_allowed": images_images_stats_allowed, "images_images_stats_count": images_images_stats_count, - "images_images_stats_current": images_images_stats_current, "images_images_stats_response": images_images_stats_response, "images_messages": images_messages, }, diff --git a/src/generated/forge-mcp/images/variants/outputs.ts b/src/generated/forge-mcp/images/variants/outputs.ts index 1267e3f25..7cc91f6ec 100644 --- a/src/generated/forge-mcp/images/variants/outputs.ts +++ b/src/generated/forge-mcp/images/variants/outputs.ts @@ -9,10 +9,10 @@ import type { JsonSchema } from "../../_/tool.js"; export const images_image_variant_definition: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/images_image_variant_identifier" + "type": "string" }, "neverRequireSignedURLs": { - "$ref": "#/$defs/images_image_variant_neverRequireSignedURLs" + "type": "boolean" }, "options": { "$ref": "#/$defs/images_image_variant_options" @@ -25,34 +25,6 @@ export const images_image_variant_definition: JsonSchema = { "type": "object" }; -/** - * The schema of `images_image_variant_fit` in responses. - */ -export const images_image_variant_fit: JsonSchema = { - "enum": [ - "scale-down", - "contain", - "cover", - "crop", - "pad" - ], - "type": "string" -}; - -/** - * The schema of `images_image_variant_height` in responses. - */ -export const images_image_variant_height: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `images_image_variant_identifier` in responses. - */ -export const images_image_variant_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `images_image_variant_list_response` in responses. */ @@ -72,29 +44,34 @@ export const images_image_variant_list_response: JsonSchema = { ] }; -/** - * The schema of `images_image_variant_neverRequireSignedURLs` in responses. - */ -export const images_image_variant_neverRequireSignedURLs: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `images_image_variant_options` in responses. */ export const images_image_variant_options: JsonSchema = { "properties": { "fit": { - "$ref": "#/$defs/images_image_variant_fit" + "enum": [ + "scale-down", + "contain", + "cover", + "crop", + "pad" + ], + "type": "string" }, "height": { - "$ref": "#/$defs/images_image_variant_height" + "type": "number" }, "metadata": { - "$ref": "#/$defs/images_image_variant_schemas_metadata" + "enum": [ + "keep", + "copyright", + "none" + ], + "type": "string" }, "width": { - "$ref": "#/$defs/images_image_variant_width" + "type": "number" } }, "required": [ @@ -114,10 +91,10 @@ export const images_image_variant_public_request: JsonSchema = { "hero": { "properties": { "id": { - "$ref": "#/$defs/images_image_variant_identifier" + "type": "string" }, "neverRequireSignedURLs": { - "$ref": "#/$defs/images_image_variant_neverRequireSignedURLs" + "type": "boolean" }, "options": { "$ref": "#/$defs/images_image_variant_options" @@ -145,18 +122,6 @@ export const images_image_variant_response: JsonSchema = { "type": "object" }; -/** - * The schema of `images_image_variant_schemas_metadata` in responses. - */ -export const images_image_variant_schemas_metadata: JsonSchema = { - "enum": [ - "keep", - "copyright", - "none" - ], - "type": "string" -}; - /** * The schema of `images_image_variant_simple_response` in responses. */ @@ -176,13 +141,6 @@ export const images_image_variant_simple_response: JsonSchema = { ] }; -/** - * The schema of `images_image_variant_width` in responses. - */ -export const images_image_variant_width: JsonSchema = { - "type": "number" -}; - /** * The schema of `images_image_variants_response` in responses. */ diff --git a/src/generated/forge-mcp/images/variants/schemas.ts b/src/generated/forge-mcp/images/variants/schemas.ts index e9a1c3319..c1ec1ebc4 100644 --- a/src/generated/forge-mcp/images/variants/schemas.ts +++ b/src/generated/forge-mcp/images/variants/schemas.ts @@ -9,12 +9,12 @@ import type { JsonSchema } from "../../_/tool.js"; export const images_image_variant_definition: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/images_image_variant_identifier" + "type": "string" }, "neverRequireSignedURLs": { - "$ref": "#/$defs/images_image_variant_neverRequireSignedURLs", "default": false, - "description": "Indicates whether the variant can access an image without a signature, regardless of image access control." + "description": "Indicates whether the variant can access an image without a signature, regardless of image access control.", + "type": "boolean" }, "options": { "$ref": "#/$defs/images_image_variant_options", @@ -28,44 +28,6 @@ export const images_image_variant_definition: JsonSchema = { "type": "object" }; -/** - * The schema of `images_image_variant_fit`. - */ -export const images_image_variant_fit: JsonSchema = { - "description": "The fit property describes how the width and height dimensions should be interpreted.", - "enum": [ - "scale-down", - "contain", - "cover", - "crop", - "pad" - ], - "type": "string" -}; - -/** - * The schema of `images_image_variant_height`. - */ -export const images_image_variant_height: JsonSchema = { - "description": "Maximum height in image pixels.", - "type": "number" -}; - -/** - * The schema of `images_image_variant_identifier`. - */ -export const images_image_variant_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `images_image_variant_neverRequireSignedURLs`. - */ -export const images_image_variant_neverRequireSignedURLs: JsonSchema = { - "description": "Indicates whether the variant can access an image without a signature, regardless of image access control.", - "type": "boolean" -}; - /** * The schema of `images_image_variant_options`. */ @@ -73,20 +35,32 @@ export const images_image_variant_options: JsonSchema = { "description": "Allows you to define image resizing sizes for different use cases.", "properties": { "fit": { - "$ref": "#/$defs/images_image_variant_fit", - "description": "The fit property describes how the width and height dimensions should be interpreted." + "description": "The fit property describes how the width and height dimensions should be interpreted.", + "enum": [ + "scale-down", + "contain", + "cover", + "crop", + "pad" + ], + "type": "string" }, "height": { - "$ref": "#/$defs/images_image_variant_height", - "description": "Maximum height in image pixels." + "description": "Maximum height in image pixels.", + "type": "number" }, "metadata": { - "$ref": "#/$defs/images_image_variant_schemas_metadata", - "description": "What EXIF data should be preserved in the output image." + "description": "What EXIF data should be preserved in the output image.", + "enum": [ + "keep", + "copyright", + "none" + ], + "type": "string" }, "width": { - "$ref": "#/$defs/images_image_variant_width", - "description": "Maximum width in image pixels." + "description": "Maximum width in image pixels.", + "type": "number" } }, "required": [ @@ -104,9 +78,9 @@ export const images_image_variant_options: JsonSchema = { export const images_image_variant_patch_request: JsonSchema = { "properties": { "neverRequireSignedURLs": { - "$ref": "#/$defs/images_image_variant_neverRequireSignedURLs", "default": false, - "description": "Indicates whether the variant can access an image without a signature, regardless of image access control." + "description": "Indicates whether the variant can access an image without a signature, regardless of image access control.", + "type": "boolean" }, "options": { "$ref": "#/$defs/images_image_variant_options", @@ -118,24 +92,3 @@ export const images_image_variant_patch_request: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `images_image_variant_schemas_metadata`. - */ -export const images_image_variant_schemas_metadata: JsonSchema = { - "description": "What EXIF data should be preserved in the output image.", - "enum": [ - "keep", - "copyright", - "none" - ], - "type": "string" -}; - -/** - * The schema of `images_image_variant_width`. - */ -export const images_image_variant_width: JsonSchema = { - "description": "Maximum width in image pixels.", - "type": "number" -}; diff --git a/src/generated/forge-mcp/images/variants/tools.ts b/src/generated/forge-mcp/images/variants/tools.ts index 00b93f7a6..e79682043 100644 --- a/src/generated/forge-mcp/images/variants/tools.ts +++ b/src/generated/forge-mcp/images/variants/tools.ts @@ -9,32 +9,19 @@ import { images_deleted_response, images_messages, } from "../outputs.js"; -import { images_account_identifier } from "../schemas.js"; import { images_image_variant_definition, - images_image_variant_fit, - images_image_variant_height, - images_image_variant_identifier, images_image_variant_list_response, - images_image_variant_neverRequireSignedURLs, images_image_variant_options, images_image_variant_public_request, images_image_variant_response, - images_image_variant_schemas_metadata, images_image_variant_simple_response, - images_image_variant_width, images_image_variants_response, } from "./outputs.js"; import { images_image_variant_definition as images_image_variant_definition$, - images_image_variant_fit as images_image_variant_fit$, - images_image_variant_height as images_image_variant_height$, - images_image_variant_identifier as images_image_variant_identifier$, - images_image_variant_neverRequireSignedURLs as images_image_variant_neverRequireSignedURLs$, images_image_variant_options as images_image_variant_options$, images_image_variant_patch_request, - images_image_variant_schemas_metadata as images_image_variant_schemas_metadata$, - images_image_variant_width as images_image_variant_width$, } from "./schemas.js"; /** @@ -44,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "images_variants_create", title: "Create a variant", - description: "Create a CF Images variant that allows you to resize images for different use cases.", + description: "Create a CF Images variant that allows you to resize images for different use cases.\n\nPOST /accounts/{account_id}/images/v1/variants", inputSchema: { type: "object", properties: { @@ -52,10 +39,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/images_image_variant_definition" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -68,16 +56,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "images_account_identifier": images_account_identifier, "images_image_variant_definition": images_image_variant_definition$, - "images_image_variant_fit": images_image_variant_fit$, - "images_image_variant_height": images_image_variant_height$, - "images_image_variant_identifier": images_image_variant_identifier$, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs$, "images_image_variant_options": images_image_variant_options$, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata$, - "images_image_variant_width": images_image_variant_width$, }, }, outputSchema: { @@ -86,15 +68,9 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_image_variant_definition": images_image_variant_definition, - "images_image_variant_fit": images_image_variant_fit, - "images_image_variant_height": images_image_variant_height, - "images_image_variant_identifier": images_image_variant_identifier, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, "images_image_variant_response": images_image_variant_response, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, "images_image_variant_simple_response": images_image_variant_simple_response, - "images_image_variant_width": images_image_variant_width, "images_messages": images_messages, }, }, @@ -133,15 +109,9 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_image_variant_definition": images_image_variant_definition, - "images_image_variant_fit": images_image_variant_fit, - "images_image_variant_height": images_image_variant_height, - "images_image_variant_identifier": images_image_variant_identifier, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, "images_image_variant_response": images_image_variant_response, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, "images_image_variant_simple_response": images_image_variant_simple_response, - "images_image_variant_width": images_image_variant_width, "images_messages": images_messages, }, }, @@ -153,18 +123,19 @@ export const tools: readonly Tool[] = [ { name: "images_variants_delete", title: "Delete a variant", - description: "Delete a CF Images variant. This will purge the cache for all images associated with the variant.\n\nConfirm with the user before calling this tool. This operation will delete this variant.", + description: "Delete a CF Images variant. This will purge the cache for all images associated with the variant.\n\nConfirm with the user before calling this tool. This operation will delete this variant.\n\nDELETE /accounts/{account_id}/images/v1/variants/{variant_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "variant_id": { - "$ref": "#/$defs/images_image_variant_identifier" + "type": "string" } }, "required": [ @@ -177,10 +148,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_image_variant_identifier": images_image_variant_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_deleted_response", @@ -236,7 +204,7 @@ export const tools: readonly Tool[] = [ { name: "images_variants_edit", title: "Update a variant", - description: "Update a CF Images variant. This will purge the cache for all images associated with the variant.", + description: "Update a CF Images variant. This will purge the cache for all images associated with the variant.\n\nPATCH /accounts/{account_id}/images/v1/variants/{variant_id}", inputSchema: { type: "object", properties: { @@ -244,13 +212,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/images_image_variant_patch_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "variant_id": { - "$ref": "#/$defs/images_image_variant_identifier" + "type": "string" } }, "required": [ @@ -264,16 +233,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "images_account_identifier": images_account_identifier, - "images_image_variant_fit": images_image_variant_fit$, - "images_image_variant_height": images_image_variant_height$, - "images_image_variant_identifier": images_image_variant_identifier$, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs$, "images_image_variant_options": images_image_variant_options$, "images_image_variant_patch_request": images_image_variant_patch_request, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata$, - "images_image_variant_width": images_image_variant_width$, }, }, outputSchema: { @@ -282,15 +245,9 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_image_variant_definition": images_image_variant_definition, - "images_image_variant_fit": images_image_variant_fit, - "images_image_variant_height": images_image_variant_height, - "images_image_variant_identifier": images_image_variant_identifier, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, "images_image_variant_response": images_image_variant_response, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, "images_image_variant_simple_response": images_image_variant_simple_response, - "images_image_variant_width": images_image_variant_width, "images_messages": images_messages, }, }, @@ -329,15 +286,9 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_image_variant_definition": images_image_variant_definition, - "images_image_variant_fit": images_image_variant_fit, - "images_image_variant_height": images_image_variant_height, - "images_image_variant_identifier": images_image_variant_identifier, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, "images_image_variant_response": images_image_variant_response, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, "images_image_variant_simple_response": images_image_variant_simple_response, - "images_image_variant_width": images_image_variant_width, "images_messages": images_messages, }, }, @@ -349,18 +300,19 @@ export const tools: readonly Tool[] = [ { name: "images_variants_get", title: "Variant details", - description: "Fetch details for a CF Images variant.", + description: "Fetch details for a CF Images variant.\n\nGET /accounts/{account_id}/images/v1/variants/{variant_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "variant_id": { - "$ref": "#/$defs/images_image_variant_identifier" + "type": "string" } }, "required": [ @@ -373,10 +325,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - "images_image_variant_identifier": images_image_variant_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_image_variant_simple_response", @@ -384,15 +333,9 @@ export const tools: readonly Tool[] = [ "images_api-response-common": images_api$$response$$common, "images_api-response-single": images_api$$response$$single, "images_image_variant_definition": images_image_variant_definition, - "images_image_variant_fit": images_image_variant_fit, - "images_image_variant_height": images_image_variant_height, - "images_image_variant_identifier": images_image_variant_identifier, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, "images_image_variant_response": images_image_variant_response, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, "images_image_variant_simple_response": images_image_variant_simple_response, - "images_image_variant_width": images_image_variant_width, "images_messages": images_messages, }, }, @@ -432,15 +375,9 @@ export const tools: readonly Tool[] = [ "images_api-response-common-failure": images_api$$response$$common$$failure, "images_api-response-single": images_api$$response$$single, "images_image_variant_definition": images_image_variant_definition, - "images_image_variant_fit": images_image_variant_fit, - "images_image_variant_height": images_image_variant_height, - "images_image_variant_identifier": images_image_variant_identifier, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, "images_image_variant_response": images_image_variant_response, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, "images_image_variant_simple_response": images_image_variant_simple_response, - "images_image_variant_width": images_image_variant_width, "images_messages": images_messages, }, }, @@ -451,15 +388,16 @@ export const tools: readonly Tool[] = [ { name: "images_variants_list", title: "List variants", - description: "List existing CF Images variants.", + description: "List existing CF Images variants.\n\nGET /accounts/{account_id}/images/v1/variants", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/images_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -471,23 +409,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "images_account_identifier": images_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/images_image_variant_list_response", $defs: { "images_api-response-common": images_api$$response$$common, - "images_image_variant_fit": images_image_variant_fit, - "images_image_variant_height": images_image_variant_height, - "images_image_variant_identifier": images_image_variant_identifier, "images_image_variant_list_response": images_image_variant_list_response, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, "images_image_variant_public_request": images_image_variant_public_request, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, - "images_image_variant_width": images_image_variant_width, "images_image_variants_response": images_image_variants_response, "images_messages": images_messages, }, @@ -526,15 +456,9 @@ export const tools: readonly Tool[] = [ $defs: { "images_api-response-common": images_api$$response$$common, "images_api-response-common-failure": images_api$$response$$common$$failure, - "images_image_variant_fit": images_image_variant_fit, - "images_image_variant_height": images_image_variant_height, - "images_image_variant_identifier": images_image_variant_identifier, "images_image_variant_list_response": images_image_variant_list_response, - "images_image_variant_neverRequireSignedURLs": images_image_variant_neverRequireSignedURLs, "images_image_variant_options": images_image_variant_options, "images_image_variant_public_request": images_image_variant_public_request, - "images_image_variant_schemas_metadata": images_image_variant_schemas_metadata, - "images_image_variant_width": images_image_variant_width, "images_image_variants_response": images_image_variants_response, "images_messages": images_messages, }, diff --git a/src/generated/forge-mcp/intel/asn/outputs.ts b/src/generated/forge-mcp/intel/asn/outputs.ts index 3931fba48..8ca240082 100644 --- a/src/generated/forge-mcp/intel/asn/outputs.ts +++ b/src/generated/forge-mcp/intel/asn/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `intel_asn` in responses. - */ -export const intel_asn: JsonSchema = { - "type": "integer" -}; - /** * The schema of `intel_asn_components-schemas-response` in responses. */ @@ -21,7 +14,7 @@ export const intel_asn_components$$schemas$$response: JsonSchema = { { "properties": { "result": { - "$ref": "#/$defs/intel_asn" + "type": "integer" } }, "type": "object" diff --git a/src/generated/forge-mcp/intel/asn/schemas.ts b/src/generated/forge-mcp/intel/asn/schemas.ts deleted file mode 100644 index aa9ab37c8..000000000 --- a/src/generated/forge-mcp/intel/asn/schemas.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `intel_asn`. - */ -export const intel_asn: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/intel/asn/subnets/outputs.ts b/src/generated/forge-mcp/intel/asn/subnets/outputs.ts deleted file mode 100644 index 35a74ddd5..000000000 --- a/src/generated/forge-mcp/intel/asn/subnets/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 `intel_count` in responses. - */ -export const intel_count: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `intel_page` in responses. - */ -export const intel_page: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `intel_per_page` in responses. - */ -export const intel_per_page: JsonSchema = { - "type": "number" -}; diff --git a/src/generated/forge-mcp/intel/asn/subnets/tools.ts b/src/generated/forge-mcp/intel/asn/subnets/tools.ts index 35e3461a8..eb4b02a2d 100644 --- a/src/generated/forge-mcp/intel/asn/subnets/tools.ts +++ b/src/generated/forge-mcp/intel/asn/subnets/tools.ts @@ -6,10 +6,6 @@ import { intel_api$$response$$common$$failure, intel_messages, } from "../../outputs.js"; -import { intel_identifier } from "../../schemas.js"; -import { intel_asn } from "../outputs.js"; -import { intel_asn as intel_asn$ } from "../schemas.js"; -import { intel_count, intel_page, intel_per_page } from "./outputs.js"; /** * The tools of `intel.asn.subnets`. @@ -18,18 +14,19 @@ export const tools: readonly Tool[] = [ { name: "intel_asn_subnets_get", title: "Get ASN Subnets", - description: "Get ASN Subnets.", + description: "Get ASN Subnets.\n\nGET /accounts/{account_id}/intel/asn/{asn}/subnets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "asn": { - "$ref": "#/$defs/intel_asn" + "type": "integer" } }, "required": [ @@ -42,27 +39,24 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel_asn": intel_asn$, - "intel_identifier": intel_identifier, - }, + additionalProperties: false, }, outputSchema: { "properties": { "asn": { - "$ref": "#/$defs/intel_asn" + "type": "integer" }, "count": { - "$ref": "#/$defs/intel_count" + "type": "number" }, "ip_count_total": { "type": "integer" }, "page": { - "$ref": "#/$defs/intel_page" + "type": "number" }, "per_page": { - "$ref": "#/$defs/intel_per_page" + "type": "number" }, "subnets": { "items": { @@ -72,12 +66,6 @@ export const tools: readonly Tool[] = [ } }, "type": "object", - $defs: { - "intel_asn": intel_asn, - "intel_count": intel_count, - "intel_page": intel_page, - "intel_per_page": intel_per_page, - }, }, annotations: { "destructiveHint": false, @@ -99,19 +87,19 @@ export const tools: readonly Tool[] = [ "200": { "properties": { "asn": { - "$ref": "#/$defs/intel_asn" + "type": "integer" }, "count": { - "$ref": "#/$defs/intel_count" + "type": "number" }, "ip_count_total": { "type": "integer" }, "page": { - "$ref": "#/$defs/intel_page" + "type": "number" }, "per_page": { - "$ref": "#/$defs/intel_per_page" + "type": "number" }, "subnets": { "items": { @@ -127,19 +115,19 @@ export const tools: readonly Tool[] = [ { "properties": { "asn": { - "$ref": "#/$defs/intel_asn" + "type": "integer" }, "count": { - "$ref": "#/$defs/intel_count" + "type": "number" }, "ip_count_total": { "type": "integer" }, "page": { - "$ref": "#/$defs/intel_page" + "type": "number" }, "per_page": { - "$ref": "#/$defs/intel_per_page" + "type": "number" }, "subnets": { "items": { @@ -158,11 +146,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "intel_api-response-common-failure": intel_api$$response$$common$$failure, - "intel_asn": intel_asn, - "intel_count": intel_count, "intel_messages": intel_messages, - "intel_page": intel_page, - "intel_per_page": intel_per_page, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/asn/tools.ts b/src/generated/forge-mcp/intel/asn/tools.ts index 78d78eef2..5d97778bc 100644 --- a/src/generated/forge-mcp/intel/asn/tools.ts +++ b/src/generated/forge-mcp/intel/asn/tools.ts @@ -8,12 +8,7 @@ import { intel_messages, intel_schemas$$messages, } from "../outputs.js"; -import { intel_identifier } from "../schemas.js"; -import { - intel_asn, - intel_asn_components$$schemas$$response, -} from "./outputs.js"; -import { intel_asn as intel_asn$ } from "./schemas.js"; +import { intel_asn_components$$schemas$$response } from "./outputs.js"; /** * The tools of `intel.asn`. @@ -22,18 +17,19 @@ export const tools: readonly Tool[] = [ { name: "intel_asn_get", title: "Get ASN Overview.", - description: "Gets an overview of the Autonomous System Number (ASN) and a list of subnets for it.", + description: "Gets an overview of the Autonomous System Number (ASN) and a list of subnets for it.\n\nGET /accounts/{account_id}/intel/asn/{asn}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "asn": { - "$ref": "#/$defs/intel_asn" + "type": "integer" } }, "required": [ @@ -46,16 +42,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel_asn": intel_asn$, - "intel_identifier": intel_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel_asn_components-schemas-response", $defs: { "intel_api-response-single": intel_api$$response$$single, - "intel_asn": intel_asn, "intel_asn_components-schemas-response": intel_asn_components$$schemas$$response, "intel_schemas-messages": intel_schemas$$messages, }, @@ -94,7 +86,6 @@ export const tools: readonly Tool[] = [ $defs: { "intel_api-response-common-failure": intel_api$$response$$common$$failure, "intel_api-response-single": intel_api$$response$$single, - "intel_asn": intel_asn, "intel_asn_components-schemas-response": intel_asn_components$$schemas$$response, "intel_messages": intel_messages, "intel_schemas-messages": intel_schemas$$messages, diff --git a/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts b/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts index ce57d3422..4059232e4 100644 --- a/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts +++ b/src/generated/forge-mcp/intel/attackSurfaceReport/issueTypes/tools.ts @@ -7,7 +7,6 @@ import { security$$center_api$$response$$common$$failure, security$$center_messages, } from "../../../outputs.js"; -import { security$$center_identifier } from "../../../schemas.js"; /** * The tools of `intel.attackSurfaceReport.issueTypes`. @@ -16,15 +15,16 @@ export const tools: readonly Tool[] = [ { name: "intel_attackSurfaceReport_issueTypes_get", title: "Retrieves Security Center Issues Types", - description: "Lists all available issue types in Security Center, describing categories of security issues.", + description: "Lists all available issue types in Security Center, describing categories of security issues.\n\nGET /accounts/{account_id}/intel/attack-surface-report/issue-types", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -36,9 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/intel/dns/tools.ts b/src/generated/forge-mcp/intel/dns/tools.ts index e3fff23b5..1ab92f5c7 100644 --- a/src/generated/forge-mcp/intel/dns/tools.ts +++ b/src/generated/forge-mcp/intel/dns/tools.ts @@ -7,7 +7,6 @@ import { intel_messages, intel_schemas$$messages, } from "../outputs.js"; -import { intel_identifier } from "../schemas.js"; import { intel_components$$schemas$$single_response, intel_passive$$dns$$by$$ip, @@ -24,15 +23,16 @@ export const tools: readonly Tool[] = [ { name: "intel_dns_list", title: "Get Passive DNS by IP", - description: "Gets a list of all the domains that have resolved to a specific IP address.", + description: "Gets a list of all the domains that have resolved to a specific IP address.\n\nGET /accounts/{account_id}/intel/dns", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -41,6 +41,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "ipv4": { "type": "string" @@ -63,8 +64,8 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "intel_identifier": intel_identifier, "intel_start_end_params": intel_start_end_params, }, }, diff --git a/src/generated/forge-mcp/intel/domainHistory/outputs.ts b/src/generated/forge-mcp/intel/domainHistory/outputs.ts index 6c06251e8..1ba8c4459 100644 --- a/src/generated/forge-mcp/intel/domainHistory/outputs.ts +++ b/src/generated/forge-mcp/intel/domainHistory/outputs.ts @@ -39,7 +39,7 @@ export const intel_domain$$history: JsonSchema = { "type": "array" }, "domain": { - "$ref": "#/$defs/intel_domain_name" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/intel/domainHistory/tools.ts b/src/generated/forge-mcp/intel/domainHistory/tools.ts index e873fa2c7..2d1d50e0d 100644 --- a/src/generated/forge-mcp/intel/domainHistory/tools.ts +++ b/src/generated/forge-mcp/intel/domainHistory/tools.ts @@ -6,11 +6,9 @@ import { intel_api$$response$$collection, intel_api$$response$$common, intel_api$$response$$common$$failure, - intel_domain_name, intel_messages, intel_result_info, } from "../outputs.js"; -import { intel_identifier } from "../schemas.js"; import { intel_domain$$history, intel_response } from "./outputs.js"; /** @@ -20,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "intel_domainHistory_get", title: "Get Domain History", - description: "Gets historical security threat and content categories currently and previously assigned to a domain.", + description: "Gets historical security threat and content categories currently and previously assigned to a domain.\n\nGET /accounts/{account_id}/intel/domain-history", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -37,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "domain": { "type": "string" @@ -48,9 +48,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel_identifier": intel_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel_response", @@ -58,7 +56,6 @@ export const tools: readonly Tool[] = [ "intel_api-response-collection": intel_api$$response$$collection, "intel_api-response-common": intel_api$$response$$common, "intel_domain-history": intel_domain$$history, - "intel_domain_name": intel_domain_name, "intel_messages": intel_messages, "intel_response": intel_response, "intel_result_info": intel_result_info, @@ -100,7 +97,6 @@ export const tools: readonly Tool[] = [ "intel_api-response-common": intel_api$$response$$common, "intel_api-response-common-failure": intel_api$$response$$common$$failure, "intel_domain-history": intel_domain$$history, - "intel_domain_name": intel_domain_name, "intel_messages": intel_messages, "intel_response": intel_response, "intel_result_info": intel_result_info, diff --git a/src/generated/forge-mcp/intel/domains/bulks/outputs.ts b/src/generated/forge-mcp/intel/domains/bulks/outputs.ts index a90c30e87..6e5518f72 100644 --- a/src/generated/forge-mcp/intel/domains/bulks/outputs.ts +++ b/src/generated/forge-mcp/intel/domains/bulks/outputs.ts @@ -26,22 +26,22 @@ export const intel_collection_response: JsonSchema = { "$ref": "#/$defs/intel_content_categories" }, "domain": { - "$ref": "#/$defs/intel_domain_name" + "type": "string" }, "inherited_content_categories": { "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" }, "inherited_from": { - "$ref": "#/$defs/intel_inherited_from" + "type": "string" }, "inherited_risk_types": { "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" }, "popularity_rank": { - "$ref": "#/$defs/intel_popularity_rank" + "type": "integer" }, "risk_score": { - "$ref": "#/$defs/intel_risk_score" + "type": "number" }, "risk_types": { "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" diff --git a/src/generated/forge-mcp/intel/domains/bulks/tools.ts b/src/generated/forge-mcp/intel/domains/bulks/tools.ts index a26475ce6..f7ccdcbc4 100644 --- a/src/generated/forge-mcp/intel/domains/bulks/tools.ts +++ b/src/generated/forge-mcp/intel/domains/bulks/tools.ts @@ -6,20 +6,15 @@ import { intel_api$$response$$collection, intel_api$$response$$common, intel_api$$response$$common$$failure, - intel_domain_name, intel_messages, intel_result_info, } from "../../outputs.js"; -import { intel_identifier } from "../../schemas.js"; import { intel_additional_information, intel_application, intel_categories_with_super_category_ids_example_empty, intel_category_with_super_category_id, intel_content_categories, - intel_inherited_from, - intel_popularity_rank, - intel_risk_score, } from "../outputs.js"; import { intel_collection_response } from "./outputs.js"; @@ -30,15 +25,16 @@ export const tools: readonly Tool[] = [ { name: "intel_domains_bulks_get", title: "Get Multiple Domain Details", - description: "Returns security details and statistics about multiple domains in a\nsingle request.\n\n**Behavior change — domain ranking is becoming opt-in.** This endpoint\npreviously included domain ranking data in every response and accepted\na `skip_ranking=true` query parameter to opt out. That parameter is\nbeing deprecated and ranking will no longer be returned by default.\nCallers that want ranking data must pass `include_ranking=true`. The\n`skip_ranking` parameter will be silently ignored once the change ships.", + description: "Returns security details and statistics about multiple domains in a\nsingle request.\n\n**Behavior change — domain ranking is becoming opt-in.** This endpoint\npreviously included domain ranking data in every response and accepted\na `skip_ranking=true` query parameter to opt out. That parameter is\nbeing deprecated and ranking will no longer be returned by default.\nCallers that want ranking data must pass `include_ranking=true`. The\n`skip_ranking` parameter will be silently ignored once the change ships.\n\nGET /accounts/{account_id}/intel/domain/bulk", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -47,6 +43,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "domain": { "description": "Accepts multiple values like `?domain=cloudflare.com&domain=example.com`.", @@ -57,12 +54,12 @@ export const tools: readonly Tool[] = [ }, "include_ranking": { "default": false, - "description": "Whether to include domain ranking data in the response. Defaults to\n`false` — ranking lookups are expensive at bulk scale and most\ncallers do not need them. Set to `true` to opt in. This parameter\nreplaces the deprecated `skip_ranking` (see below).\n", + "description": "Whether to include domain ranking data in the response. Defaults to\n`false` — ranking lookups are expensive at bulk scale and most\ncallers do not need them. Set to `true` to opt in. This parameter\nreplaces the deprecated `skip_ranking` (see below).", "type": "boolean" }, "skip_ranking": { "deprecated": true, - "description": "**Deprecated.** Previously controlled whether the ranking lookup\nwas skipped (defaulted to `false`, meaning ranking ran). The\nendpoint's default behavior is being flipped — ranking is now\nopt-in via `include_ranking=true` — and this parameter will be\nsilently ignored. Remove it from your callers and use\n`include_ranking` instead.\n", + "description": "**Deprecated.** Previously controlled whether the ranking lookup\nwas skipped (defaulted to `false`, meaning ranking ran). The\nendpoint's default behavior is being flipped — ranking is now\nopt-in via `include_ranking=true` — and this parameter will be\nsilently ignored. Remove it from your callers and use\n`include_ranking` instead.", "type": "boolean" } }, @@ -72,9 +69,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel_identifier": intel_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel_collection_response", @@ -87,12 +82,8 @@ export const tools: readonly Tool[] = [ "intel_category_with_super_category_id": intel_category_with_super_category_id, "intel_collection_response": intel_collection_response, "intel_content_categories": intel_content_categories, - "intel_domain_name": intel_domain_name, - "intel_inherited_from": intel_inherited_from, "intel_messages": intel_messages, - "intel_popularity_rank": intel_popularity_rank, "intel_result_info": intel_result_info, - "intel_risk_score": intel_risk_score, }, }, annotations: { @@ -136,12 +127,8 @@ export const tools: readonly Tool[] = [ "intel_category_with_super_category_id": intel_category_with_super_category_id, "intel_collection_response": intel_collection_response, "intel_content_categories": intel_content_categories, - "intel_domain_name": intel_domain_name, - "intel_inherited_from": intel_inherited_from, "intel_messages": intel_messages, - "intel_popularity_rank": intel_popularity_rank, "intel_result_info": intel_result_info, - "intel_risk_score": intel_risk_score, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/domains/outputs.ts b/src/generated/forge-mcp/intel/domains/outputs.ts index 9fb33da35..ee44bdda6 100644 --- a/src/generated/forge-mcp/intel/domains/outputs.ts +++ b/src/generated/forge-mcp/intel/domains/outputs.ts @@ -95,25 +95,25 @@ export const intel_domain: JsonSchema = { "$ref": "#/$defs/intel_content_categories" }, "domain": { - "$ref": "#/$defs/intel_domain_name" + "type": "string" }, "inherited_content_categories": { "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" }, "inherited_from": { - "$ref": "#/$defs/intel_inherited_from" + "type": "string" }, "inherited_risk_types": { "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" }, "popularity_rank": { - "$ref": "#/$defs/intel_popularity_rank" + "type": "integer" }, "resolves_to_refs": { "$ref": "#/$defs/intel_resolves_to_refs" }, "risk_score": { - "$ref": "#/$defs/intel_risk_score" + "type": "number" }, "risk_types": { "$ref": "#/$defs/intel_categories_with_super_category_ids_example_empty" @@ -122,27 +122,13 @@ export const intel_domain: JsonSchema = { "type": "object" }; -/** - * The schema of `intel_inherited_from` in responses. - */ -export const intel_inherited_from: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `intel_popularity_rank` in responses. - */ -export const intel_popularity_rank: JsonSchema = { - "type": "integer" -}; - /** * The schema of `intel_resolves_to_ref` in responses. */ export const intel_resolves_to_ref: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/intel_stix_identifier" + "type": "string" }, "value": { "type": "string" @@ -161,13 +147,6 @@ export const intel_resolves_to_refs: JsonSchema = { "type": "array" }; -/** - * The schema of `intel_risk_score` in responses. - */ -export const intel_risk_score: JsonSchema = { - "type": "number" -}; - /** * The schema of `intel_single_response` in responses. */ @@ -186,10 +165,3 @@ export const intel_single_response: JsonSchema = { } ] }; - -/** - * The schema of `intel_stix_identifier` in responses. - */ -export const intel_stix_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/intel/domains/tools.ts b/src/generated/forge-mcp/intel/domains/tools.ts index 8e4a6c017..7322376b9 100644 --- a/src/generated/forge-mcp/intel/domains/tools.ts +++ b/src/generated/forge-mcp/intel/domains/tools.ts @@ -5,11 +5,9 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { intel_api$$response$$common$$failure, intel_api$$response$$single, - intel_domain_name, intel_messages, intel_schemas$$messages, } from "../outputs.js"; -import { intel_identifier } from "../schemas.js"; import { intel_additional_information, intel_application, @@ -17,13 +15,9 @@ import { intel_category_with_super_category_id, intel_content_categories, intel_domain, - intel_inherited_from, - intel_popularity_rank, intel_resolves_to_ref, intel_resolves_to_refs, - intel_risk_score, intel_single_response, - intel_stix_identifier, } from "./outputs.js"; /** @@ -33,15 +27,16 @@ export const tools: readonly Tool[] = [ { name: "intel_domains_get", title: "Get Domain Details", - description: "Gets security details and statistics about a domain.", + description: "Gets security details and statistics about a domain.\n\nGET /accounts/{account_id}/intel/domain", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -50,6 +45,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "domain": { "type": "string" @@ -60,7 +56,7 @@ export const tools: readonly Tool[] = [ }, "skip_ranking": { "default": false, - "description": "Skip the domain ranking lookup for faster responses. Defaults to\n`false` (ranking is included). Set to `true` to opt out — primarily\nused by callers like Cloudflare Radar that need to avoid a\ncircular dependency when building the domain details page.\nNote: the bulk endpoint (`/intel/domain/bulk`) uses opposite\ndefaults — see `include_ranking` there.\n", + "description": "Skip the domain ranking lookup for faster responses. Defaults to\n`false` (ranking is included). Set to `true` to opt out — primarily\nused by callers like Cloudflare Radar that need to avoid a\ncircular dependency when building the domain details page.\nNote: the bulk endpoint (`/intel/domain/bulk`) uses opposite\ndefaults — see `include_ranking` there.", "type": "boolean" } }, @@ -70,9 +66,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel_identifier": intel_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel_single_response", @@ -84,15 +78,10 @@ export const tools: readonly Tool[] = [ "intel_category_with_super_category_id": intel_category_with_super_category_id, "intel_content_categories": intel_content_categories, "intel_domain": intel_domain, - "intel_domain_name": intel_domain_name, - "intel_inherited_from": intel_inherited_from, - "intel_popularity_rank": intel_popularity_rank, "intel_resolves_to_ref": intel_resolves_to_ref, "intel_resolves_to_refs": intel_resolves_to_refs, - "intel_risk_score": intel_risk_score, "intel_schemas-messages": intel_schemas$$messages, "intel_single_response": intel_single_response, - "intel_stix_identifier": intel_stix_identifier, }, }, annotations: { @@ -135,16 +124,11 @@ export const tools: readonly Tool[] = [ "intel_category_with_super_category_id": intel_category_with_super_category_id, "intel_content_categories": intel_content_categories, "intel_domain": intel_domain, - "intel_domain_name": intel_domain_name, - "intel_inherited_from": intel_inherited_from, "intel_messages": intel_messages, - "intel_popularity_rank": intel_popularity_rank, "intel_resolves_to_ref": intel_resolves_to_ref, "intel_resolves_to_refs": intel_resolves_to_refs, - "intel_risk_score": intel_risk_score, "intel_schemas-messages": intel_schemas$$messages, "intel_single_response": intel_single_response, - "intel_stix_identifier": intel_stix_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts index baf985551..bb25480c2 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/downloads/tools.ts @@ -10,10 +10,6 @@ import { custom$$indicator$$feeds_update_feed, custom$$indicator$$feeds_update_feed_response, } from "../outputs.js"; -import { - custom$$indicator$$feeds_feed_id, - custom$$indicator$$feeds_identifier, -} from "../schemas.js"; /** * The tools of `intel.indicatorFeeds.downloads`. @@ -22,19 +18,20 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_downloads_get", title: "Download indicator feed data", - description: "Downloads the content of a custom threat indicator feed.", + description: "Downloads the content of a custom threat indicator feed.\n\nGET /accounts/{account_id}/intel/indicator-feeds/{feed_id}/download", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" + "description": "Indicator feed ID", + "type": "integer" } }, "required": [ @@ -47,10 +44,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_update_feed_response", diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts index 31634c66e..94c99fd68 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/outputs.ts @@ -105,27 +105,6 @@ export const custom$$indicator$$feeds_create_feed_response: JsonSchema = { ] }; -/** - * The schema of `custom-indicator-feeds_description` in responses. - */ -export const custom$$indicator$$feeds_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `custom-indicator-feeds_feed_id` in responses. - */ -export const custom$$indicator$$feeds_feed_id: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `custom-indicator-feeds_id` in responses. - */ -export const custom$$indicator$$feeds_id: JsonSchema = { - "type": "integer" -}; - /** * The schema of `custom-indicator-feeds_indicator_feed_item` in responses. */ @@ -136,26 +115,26 @@ export const custom$$indicator$$feeds_indicator_feed_item: JsonSchema = { "type": "string" }, "description": { - "$ref": "#/$defs/custom-indicator-feeds_description" + "type": "string" }, "id": { - "$ref": "#/$defs/custom-indicator-feeds_id" + "type": "integer" }, "is_attributable": { - "$ref": "#/$defs/custom-indicator-feeds_is_attributable" + "type": "boolean" }, "is_downloadable": { - "$ref": "#/$defs/custom-indicator-feeds_is_downloadable" + "type": "boolean" }, "is_public": { - "$ref": "#/$defs/custom-indicator-feeds_is_public" + "type": "boolean" }, "modified_on": { "format": "date-time", "type": "string" }, "name": { - "$ref": "#/$defs/custom-indicator-feeds_name" + "type": "string" } }, "type": "object" @@ -171,19 +150,19 @@ export const custom$$indicator$$feeds_indicator_feed_metadata: JsonSchema = { "type": "string" }, "description": { - "$ref": "#/$defs/custom-indicator-feeds_description" + "type": "string" }, "id": { - "$ref": "#/$defs/custom-indicator-feeds_id" + "type": "integer" }, "is_attributable": { - "$ref": "#/$defs/custom-indicator-feeds_is_attributable" + "type": "boolean" }, "is_downloadable": { - "$ref": "#/$defs/custom-indicator-feeds_is_downloadable" + "type": "boolean" }, "is_public": { - "$ref": "#/$defs/custom-indicator-feeds_is_public" + "type": "boolean" }, "last_upload_summary": { "$ref": "#/$defs/custom-indicator-feeds_last_upload_summary" @@ -207,13 +186,13 @@ export const custom$$indicator$$feeds_indicator_feed_metadata: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/custom-indicator-feeds_name" + "type": "string" }, "provider_id": { - "$ref": "#/$defs/custom-indicator-feeds_provider_id" + "type": "integer" }, "provider_name": { - "$ref": "#/$defs/custom-indicator-feeds_provider_name" + "type": "string" } }, "type": "object" @@ -261,27 +240,6 @@ export const custom$$indicator$$feeds_indicator_feed_response: JsonSchema = { ] }; -/** - * The schema of `custom-indicator-feeds_is_attributable` in responses. - */ -export const custom$$indicator$$feeds_is_attributable: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `custom-indicator-feeds_is_downloadable` in responses. - */ -export const custom$$indicator$$feeds_is_downloadable: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `custom-indicator-feeds_is_public` in responses. - */ -export const custom$$indicator$$feeds_is_public: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `custom-indicator-feeds_last_upload_summary` in responses. */ @@ -397,27 +355,6 @@ export const custom$$indicator$$feeds_messages$$2: JsonSchema = { "type": "array" }; -/** - * The schema of `custom-indicator-feeds_name` in responses. - */ -export const custom$$indicator$$feeds_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `custom-indicator-feeds_provider_id` in responses. - */ -export const custom$$indicator$$feeds_provider_id: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `custom-indicator-feeds_provider_name` in responses. - */ -export const custom$$indicator$$feeds_provider_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `custom-indicator-feeds_update_feed` in responses. */ diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts index 36a441f60..73f8f9e27 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/outputs.ts @@ -9,22 +9,22 @@ import type { JsonSchema } from "../../../_/tool.js"; export const custom$$indicator$$feeds_permission_list_item: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/custom-indicator-feeds_description" + "type": "string" }, "id": { - "$ref": "#/$defs/custom-indicator-feeds_id" + "type": "integer" }, "is_attributable": { - "$ref": "#/$defs/custom-indicator-feeds_is_attributable" + "type": "boolean" }, "is_downloadable": { - "$ref": "#/$defs/custom-indicator-feeds_is_downloadable" + "type": "boolean" }, "is_public": { - "$ref": "#/$defs/custom-indicator-feeds_is_public" + "type": "boolean" }, "name": { - "$ref": "#/$defs/custom-indicator-feeds_name" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts index 3322a50f8..38f3e6b05 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/permissions/tools.ts @@ -6,16 +6,9 @@ import { custom$$indicator$$feeds_api$$response$$common, custom$$indicator$$feeds_api$$response$$single, custom$$indicator$$feeds_api_response_common_failure, - custom$$indicator$$feeds_description, - custom$$indicator$$feeds_id, - custom$$indicator$$feeds_is_attributable, - custom$$indicator$$feeds_is_downloadable, - custom$$indicator$$feeds_is_public, custom$$indicator$$feeds_messages, custom$$indicator$$feeds_messages$$2, - custom$$indicator$$feeds_name, } from "../outputs.js"; -import { custom$$indicator$$feeds_identifier } from "../schemas.js"; import { custom$$indicator$$feeds_permission_list_item, custom$$indicator$$feeds_permission_list_item_response, @@ -31,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_permissions_create", title: "Grant permission to indicator feed", - description: "Grants access permissions for a custom threat indicator feed to other accounts.", + description: "Grants access permissions for a custom threat indicator feed to other accounts.\n\nPUT /accounts/{account_id}/intel/indicator-feeds/permissions/add", inputSchema: { type: "object", properties: { @@ -39,10 +32,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/custom-indicator-feeds_permissions_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -55,8 +49,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, "custom-indicator-feeds_permissions_request": custom$$indicator$$feeds_permissions_request, }, }, @@ -111,7 +105,7 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_permissions_delete", title: "Revoke permission to indicator feed", - description: "Revokes access permissions for a custom threat indicator feed.\n\nConfirm with the user before calling this tool. This operation destructively removes a permission entry.", + description: "Revokes access permissions for a custom threat indicator feed.\n\nConfirm with the user before calling this tool. This operation destructively removes a permission entry.\n\nPUT /accounts/{account_id}/intel/indicator-feeds/permissions/remove", inputSchema: { type: "object", properties: { @@ -119,10 +113,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/custom-indicator-feeds_permissions_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -135,8 +130,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, "custom-indicator-feeds_permissions_request": custom$$indicator$$feeds_permissions_request, }, }, @@ -191,15 +186,16 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_permissions_list", title: "List indicator feed permissions", - description: "Lists current access permissions for custom threat indicator feeds.", + description: "Lists current access permissions for custom threat indicator feeds.\n\nGET /accounts/{account_id}/intel/indicator-feeds/permissions/view", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -211,21 +207,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_permission_list_item_response", $defs: { "custom-indicator-feeds_api-response-common": custom$$indicator$$feeds_api$$response$$common, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, "custom-indicator-feeds_permission_list_item": custom$$indicator$$feeds_permission_list_item, "custom-indicator-feeds_permission_list_item_response": custom$$indicator$$feeds_permission_list_item_response, }, @@ -264,14 +252,8 @@ export const tools: readonly Tool[] = [ $defs: { "custom-indicator-feeds_api-response-common": custom$$indicator$$feeds_api$$response$$common, "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, "custom-indicator-feeds_permission_list_item": custom$$indicator$$feeds_permission_list_item, "custom-indicator-feeds_permission_list_item_response": custom$$indicator$$feeds_permission_list_item_response, }, diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/providers/schemas.ts b/src/generated/forge-mcp/intel/indicatorFeeds/providers/schemas.ts index 6b7919bfc..a296e46a9 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/providers/schemas.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/providers/schemas.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../../_/tool.js"; export const custom$$indicator$$feeds_create_provider_request: JsonSchema = { "properties": { "account_id": { - "description": "The numeric account ID to create the provider for. Distinct from the\npath `account_id` parameter, which carries the account identifier\nstring used for routing.\n", + "description": "The numeric account ID to create the provider for. Distinct from the\npath `account_id` parameter, which carries the account identifier\nstring used for routing.", "type": "integer" }, "name": { diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts index e093cac09..51f45933f 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/providers/tools.ts @@ -8,7 +8,6 @@ import { custom$$indicator$$feeds_messages, custom$$indicator$$feeds_messages$$2, } from "../outputs.js"; -import { custom$$indicator$$feeds_identifier } from "../schemas.js"; import { custom$$indicator$$feeds_create_provider_response, custom$$indicator$$feeds_create_provider_result, @@ -22,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_providers_create", title: "Create indicator feed provider", - description: "Creates a new indicator feed provider for an account. Only available to Intel accounts.", + description: "Creates a new indicator feed provider for an account. Only available to Intel accounts.\n\nPUT /accounts/{account_id}/intel/indicator-feeds/permissions/createProvider", inputSchema: { type: "object", properties: { @@ -30,10 +29,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/custom-indicator-feeds_create_provider_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -46,9 +46,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "custom-indicator-feeds_create_provider_request": custom$$indicator$$feeds_create_provider_request, - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/schemas.ts b/src/generated/forge-mcp/intel/indicatorFeeds/schemas.ts index 30a3bd6b3..096b0ace6 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/schemas.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/schemas.ts @@ -9,49 +9,17 @@ import type { JsonSchema } from "../../_/tool.js"; export const custom$$indicator$$feeds_create_feed: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/custom-indicator-feeds_description", - "description": "The description of the example test" + "description": "The description of the example test", + "type": "string" }, "name": { - "$ref": "#/$defs/custom-indicator-feeds_name", - "description": "The name of the indicator feed" + "description": "The name of the indicator feed", + "type": "string" } }, "type": "object" }; -/** - * The schema of `custom-indicator-feeds_description`. - */ -export const custom$$indicator$$feeds_description: JsonSchema = { - "description": "The description of the example test", - "type": "string" -}; - -/** - * The schema of `custom-indicator-feeds_feed_id`. - */ -export const custom$$indicator$$feeds_feed_id: JsonSchema = { - "description": "Indicator feed ID", - "type": "integer" -}; - -/** - * The schema of `custom-indicator-feeds_identifier`. - */ -export const custom$$indicator$$feeds_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; - -/** - * The schema of `custom-indicator-feeds_name`. - */ -export const custom$$indicator$$feeds_name: JsonSchema = { - "description": "The name of the indicator feed", - "type": "string" -}; - /** * The schema of `custom-indicator-feeds_update_public_field_request`. */ diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts index 39eeae4f3..8957a07e2 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/tools.ts @@ -7,29 +7,17 @@ import { custom$$indicator$$feeds_api$$response$$single, custom$$indicator$$feeds_api_response_common_failure, custom$$indicator$$feeds_create_feed_response, - custom$$indicator$$feeds_description, - custom$$indicator$$feeds_id, custom$$indicator$$feeds_indicator_feed_item, custom$$indicator$$feeds_indicator_feed_metadata, custom$$indicator$$feeds_indicator_feed_metadata_response, custom$$indicator$$feeds_indicator_feed_response, - custom$$indicator$$feeds_is_attributable, - custom$$indicator$$feeds_is_downloadable, - custom$$indicator$$feeds_is_public, custom$$indicator$$feeds_last_upload_summary, custom$$indicator$$feeds_messages, custom$$indicator$$feeds_messages$$2, - custom$$indicator$$feeds_name, - custom$$indicator$$feeds_provider_id, - custom$$indicator$$feeds_provider_name, custom$$indicator$$feeds_update_public_field_response, } from "./outputs.js"; import { custom$$indicator$$feeds_create_feed, - custom$$indicator$$feeds_description as custom$$indicator$$feeds_description$, - custom$$indicator$$feeds_feed_id, - custom$$indicator$$feeds_identifier, - custom$$indicator$$feeds_name as custom$$indicator$$feeds_name$, custom$$indicator$$feeds_update_public_field_request, } from "./schemas.js"; @@ -40,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_create", title: "Create new indicator feed", - description: "Creates a new custom threat indicator feed for sharing threat intelligence data.", + description: "Creates a new custom threat indicator feed for sharing threat intelligence data.\n\nPOST /accounts/{account_id}/intel/indicator-feeds", inputSchema: { type: "object", properties: { @@ -48,10 +36,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/custom-indicator-feeds_create_feed" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -64,11 +53,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "custom-indicator-feeds_create_feed": custom$$indicator$$feeds_create_feed, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description$, - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name$, }, }, outputSchema: { @@ -76,14 +63,8 @@ export const tools: readonly Tool[] = [ $defs: { "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, "custom-indicator-feeds_create_feed_response": custom$$indicator$$feeds_create_feed_response, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, }, }, annotations: { @@ -115,15 +96,9 @@ export const tools: readonly Tool[] = [ "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, "custom-indicator-feeds_create_feed_response": custom$$indicator$$feeds_create_feed_response, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, }, }, request: (args) => ({ @@ -134,19 +109,20 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_data", title: "Get indicator feed data", - description: "Retrieves the raw data entries in a custom threat indicator feed.", + description: "Retrieves the raw data entries in a custom threat indicator feed.\n\nGET /accounts/{account_id}/intel/indicator-feeds/{feed_id}/data", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" + "description": "Indicator feed ID", + "type": "integer" } }, "required": [ @@ -159,10 +135,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -198,19 +171,20 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_get", title: "Get indicator feed metadata", - description: "Retrieves details for a specific custom threat indicator feed.", + description: "Retrieves details for a specific custom threat indicator feed.\n\nGET /accounts/{account_id}/intel/indicator-feeds/{feed_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" + "description": "Indicator feed ID", + "type": "integer" } }, "required": [ @@ -223,27 +197,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_metadata_response", $defs: { "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, "custom-indicator-feeds_indicator_feed_metadata": custom$$indicator$$feeds_indicator_feed_metadata, "custom-indicator-feeds_indicator_feed_metadata_response": custom$$indicator$$feeds_indicator_feed_metadata_response, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_last_upload_summary": custom$$indicator$$feeds_last_upload_summary, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, - "custom-indicator-feeds_provider_id": custom$$indicator$$feeds_provider_id, - "custom-indicator-feeds_provider_name": custom$$indicator$$feeds_provider_name, }, }, annotations: { @@ -280,19 +243,11 @@ export const tools: readonly Tool[] = [ $defs: { "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, "custom-indicator-feeds_indicator_feed_metadata": custom$$indicator$$feeds_indicator_feed_metadata, "custom-indicator-feeds_indicator_feed_metadata_response": custom$$indicator$$feeds_indicator_feed_metadata_response, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_last_upload_summary": custom$$indicator$$feeds_last_upload_summary, "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, - "custom-indicator-feeds_provider_id": custom$$indicator$$feeds_provider_id, - "custom-indicator-feeds_provider_name": custom$$indicator$$feeds_provider_name, }, }, request: (args) => ({ @@ -302,15 +257,16 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_list", title: "Get indicator feeds owned by this account", - description: "Retrieves details for all accessible custom threat indicator feeds.", + description: "Retrieves details for all accessible custom threat indicator feeds.\n\nGET /accounts/{account_id}/intel/indicator-feeds", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -322,23 +278,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_indicator_feed_response", $defs: { "custom-indicator-feeds_api-response-common": custom$$indicator$$feeds_api$$response$$common, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, "custom-indicator-feeds_indicator_feed_response": custom$$indicator$$feeds_indicator_feed_response, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, }, }, annotations: { @@ -375,16 +323,10 @@ export const tools: readonly Tool[] = [ $defs: { "custom-indicator-feeds_api-response-common": custom$$indicator$$feeds_api$$response$$common, "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, "custom-indicator-feeds_indicator_feed_response": custom$$indicator$$feeds_indicator_feed_response, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, }, }, request: (args) => ({ @@ -394,7 +336,7 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_update", title: "Update indicator feed metadata", - description: "Revises details for a specific custom threat indicator feed.", + description: "Revises details for a specific custom threat indicator feed.\n\nPUT /accounts/{account_id}/intel/indicator-feeds/{feed_id}", inputSchema: { type: "object", properties: { @@ -402,14 +344,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/custom-indicator-feeds_update_public_field_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" + "description": "Indicator feed ID", + "type": "integer" } }, "required": [ @@ -423,9 +366,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, "custom-indicator-feeds_update_public_field_request": custom$$indicator$$feeds_update_public_field_request, }, }, @@ -433,14 +375,8 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/custom-indicator-feeds_update_public_field_response", $defs: { "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, "custom-indicator-feeds_update_public_field_response": custom$$indicator$$feeds_update_public_field_response, }, }, @@ -472,15 +408,9 @@ export const tools: readonly Tool[] = [ $defs: { "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, - "custom-indicator-feeds_description": custom$$indicator$$feeds_description, - "custom-indicator-feeds_id": custom$$indicator$$feeds_id, "custom-indicator-feeds_indicator_feed_item": custom$$indicator$$feeds_indicator_feed_item, - "custom-indicator-feeds_is_attributable": custom$$indicator$$feeds_is_attributable, - "custom-indicator-feeds_is_downloadable": custom$$indicator$$feeds_is_downloadable, - "custom-indicator-feeds_is_public": custom$$indicator$$feeds_is_public, "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, - "custom-indicator-feeds_name": custom$$indicator$$feeds_name, "custom-indicator-feeds_update_public_field_response": custom$$indicator$$feeds_update_public_field_response, }, }, diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts index 6bcdd74ec..2471fa4c1 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/outputs.ts @@ -19,7 +19,7 @@ export const custom$$indicator$$feeds_upload_status: JsonSchema = { "type": "string" }, "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id" + "type": "integer" }, "filename": { "type": "string" diff --git a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts index a869cd365..731ddf958 100644 --- a/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts +++ b/src/generated/forge-mcp/intel/indicatorFeeds/uploads/tools.ts @@ -5,14 +5,9 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { custom$$indicator$$feeds_api$$response$$single, custom$$indicator$$feeds_api_response_common_failure, - custom$$indicator$$feeds_feed_id, custom$$indicator$$feeds_messages, custom$$indicator$$feeds_messages$$2, } from "../outputs.js"; -import { - custom$$indicator$$feeds_feed_id as custom$$indicator$$feeds_feed_id$, - custom$$indicator$$feeds_identifier, -} from "../schemas.js"; import { custom$$indicator$$feeds_upload_status, custom$$indicator$$feeds_upload_status_response, @@ -25,19 +20,20 @@ export const tools: readonly Tool[] = [ { name: "intel_indicatorFeeds_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.", + 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.\n\nGET /accounts/{account_id}/intel/indicator-feeds/{feed_id}/uploads/{upload_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/custom-indicator-feeds_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "feed_id": { - "$ref": "#/$defs/custom-indicator-feeds_feed_id", - "description": "Indicator feed ID" + "description": "Indicator feed ID", + "type": "integer" }, "upload_id": { "type": "integer" @@ -54,16 +50,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id$, - "custom-indicator-feeds_identifier": custom$$indicator$$feeds_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/custom-indicator-feeds_upload_status_response", $defs: { "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, - "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, "custom-indicator-feeds_upload_status": custom$$indicator$$feeds_upload_status, "custom-indicator-feeds_upload_status_response": custom$$indicator$$feeds_upload_status_response, @@ -103,7 +95,6 @@ export const tools: readonly Tool[] = [ $defs: { "custom-indicator-feeds_api-response-single": custom$$indicator$$feeds_api$$response$$single, "custom-indicator-feeds_api_response_common_failure": custom$$indicator$$feeds_api_response_common_failure, - "custom-indicator-feeds_feed_id": custom$$indicator$$feeds_feed_id, "custom-indicator-feeds_messages": custom$$indicator$$feeds_messages, "custom-indicator-feeds_messages-2": custom$$indicator$$feeds_messages$$2, "custom-indicator-feeds_upload_status": custom$$indicator$$feeds_upload_status, diff --git a/src/generated/forge-mcp/intel/ipLists/tools.ts b/src/generated/forge-mcp/intel/ipLists/tools.ts index 8e1cb432e..82eab0a71 100644 --- a/src/generated/forge-mcp/intel/ipLists/tools.ts +++ b/src/generated/forge-mcp/intel/ipLists/tools.ts @@ -9,7 +9,6 @@ import { intel_messages, intel_result_info, } from "../outputs.js"; -import { intel_identifier } from "../schemas.js"; import { intel_components$$schemas$$response, intel_ip$$list, @@ -22,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "intel_ipLists_get", title: "Get Available IP Lists", - description: "Returns a list of available IP list categories (e.g., anonymizer, botnetcc, malware, tor, vpn, open_proxies). This endpoint provides metadata about which IP lists are available in the system.", + description: "Returns a list of available IP list categories (e.g., anonymizer, botnetcc, malware, tor, vpn, open_proxies). This endpoint provides metadata about which IP lists are available in the system.\n\nGET /accounts/{account_id}/intel/ip-lists", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -42,9 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel_identifier": intel_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel_components-schemas-response", diff --git a/src/generated/forge-mcp/intel/ips/outputs.ts b/src/generated/forge-mcp/intel/ips/outputs.ts index d4169d815..a7476e71a 100644 --- a/src/generated/forge-mcp/intel/ips/outputs.ts +++ b/src/generated/forge-mcp/intel/ips/outputs.ts @@ -3,34 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `intel_ip` in responses. - */ -export const intel_ip: JsonSchema = { - "anyOf": [ - { - "$ref": "#/$defs/intel_ipv4" - }, - { - "$ref": "#/$defs/intel_ipv6" - } - ] -}; - -/** - * The schema of `intel_ipv4` in responses. - */ -export const intel_ipv4: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `intel_ipv6` in responses. - */ -export const intel_ipv6: JsonSchema = { - "type": "string" -}; - /** * The schema of `intel_schemas-ip` in responses. */ @@ -62,7 +34,14 @@ export const intel_schemas$$ip: JsonSchema = { "type": "object" }, "ip": { - "$ref": "#/$defs/intel_ip" + "anyOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, "risk_types": { "items": { diff --git a/src/generated/forge-mcp/intel/ips/tools.ts b/src/generated/forge-mcp/intel/ips/tools.ts index 963511131..2a066c309 100644 --- a/src/generated/forge-mcp/intel/ips/tools.ts +++ b/src/generated/forge-mcp/intel/ips/tools.ts @@ -9,14 +9,7 @@ import { intel_messages, intel_result_info, } from "../outputs.js"; -import { intel_identifier } from "../schemas.js"; -import { - intel_ip, - intel_ipv4, - intel_ipv6, - intel_schemas$$ip, - intel_schemas$$response, -} from "./outputs.js"; +import { intel_schemas$$ip, intel_schemas$$response } from "./outputs.js"; /** * The tools of `intel.ips`. @@ -25,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "intel_ips_get", title: "Get IP Overview", - description: "Gets the geolocation, ASN, infrastructure type of the ASN, and any security threat categories of an IP address. **Must provide ip query parameters.** For example, `/intel/ip?ipv4=1.1.1.1` or `/intel/ip?ipv6=2001:db8::1`.", + description: "Gets the geolocation, ASN, infrastructure type of the ASN, and any security threat categories of an IP address. **Must provide ip query parameters.** For example, `/intel/ip?ipv4=1.1.1.1` or `/intel/ip?ipv6=2001:db8::1`.\n\nGET /accounts/{account_id}/intel/ip", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -42,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "ipv4": { "type": "string" @@ -56,18 +51,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel_identifier": intel_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel_schemas-response", $defs: { "intel_api-response-collection": intel_api$$response$$collection, "intel_api-response-common": intel_api$$response$$common, - "intel_ip": intel_ip, - "intel_ipv4": intel_ipv4, - "intel_ipv6": intel_ipv6, "intel_messages": intel_messages, "intel_result_info": intel_result_info, "intel_schemas-ip": intel_schemas$$ip, @@ -109,9 +99,6 @@ export const tools: readonly Tool[] = [ "intel_api-response-collection": intel_api$$response$$collection, "intel_api-response-common": intel_api$$response$$common, "intel_api-response-common-failure": intel_api$$response$$common$$failure, - "intel_ip": intel_ip, - "intel_ipv4": intel_ipv4, - "intel_ipv6": intel_ipv6, "intel_messages": intel_messages, "intel_result_info": intel_result_info, "intel_schemas-ip": intel_schemas$$ip, diff --git a/src/generated/forge-mcp/intel/miscategorizations/tools.ts b/src/generated/forge-mcp/intel/miscategorizations/tools.ts index 1f1f341fa..7bc10630d 100644 --- a/src/generated/forge-mcp/intel/miscategorizations/tools.ts +++ b/src/generated/forge-mcp/intel/miscategorizations/tools.ts @@ -8,7 +8,6 @@ import { intel_messages, intel_schemas$$messages, } from "../outputs.js"; -import { intel_identifier } from "../schemas.js"; import { intel_miscategorization } from "./schemas.js"; /** @@ -18,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "intel_miscategorizations_create", title: "Create Miscategorization", - description: "Allows you to submit requests to change a domain’s category.\n\nRequests that include category `169` (New Domains) or category `177` (Newly Seen)\nin any of `content_adds`, `content_removes`, `security_adds`, or `security_removes`\nwill be rejected with a `400 Bad Request`. These categories are automatically\nmanaged and fall off 30 days after they are applied.", + description: "Allows you to submit requests to change a domain’s category.\n\nRequests that include category `169` (New Domains) or category `177` (Newly Seen)\nin any of `content_adds`, `content_removes`, `security_adds`, or `security_removes`\nwill be rejected with a `400 Bad Request`. These categories are automatically\nmanaged and fall off 30 days after they are applied.\n\nPOST /accounts/{account_id}/intel/miscategorization", inputSchema: { type: "object", properties: { @@ -26,10 +25,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/intel_miscategorization" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -42,8 +42,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "intel_identifier": intel_identifier, "intel_miscategorization": intel_miscategorization, }, }, diff --git a/src/generated/forge-mcp/intel/outputs.ts b/src/generated/forge-mcp/intel/outputs.ts index 7c8cf544d..3cfbe9abf 100644 --- a/src/generated/forge-mcp/intel/outputs.ts +++ b/src/generated/forge-mcp/intel/outputs.ts @@ -145,13 +145,6 @@ export const intel_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `intel_domain_name` in responses. - */ -export const intel_domain_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `intel_messages` in responses. */ diff --git a/src/generated/forge-mcp/intel/schemas.ts b/src/generated/forge-mcp/intel/schemas.ts deleted file mode 100644 index e34127638..000000000 --- a/src/generated/forge-mcp/intel/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `intel_identifier`. - */ -export const intel_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts b/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts index 5c34d4a9d..dd088e19f 100644 --- a/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts +++ b/src/generated/forge-mcp/intel/sinkholes/ingresses/tools.ts @@ -8,7 +8,6 @@ import { intel$$sinkholes_api_response_single_empty, intel$$sinkholes_messages, } from "../outputs.js"; -import { intel$$sinkholes_identifier } from "../schemas.js"; import { intel$$sinkholes_ingress_collection_response, intel$$sinkholes_ingress_item, @@ -23,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_ingresses_create", title: "Create an ingress rule", - description: "Create a new ingress rule for the specified sinkhole. The CIDR block must be a Cloudflare BYOIP associated with your account. The zone_id must be a zone with the ability to create Spectrum Apps. The sinkhole must belong to the same account as the zone.", + description: "Create a new ingress rule for the specified sinkhole. The CIDR block must be a Cloudflare BYOIP associated with your account. The zone_id must be a zone with the ability to create Spectrum Apps. The sinkhole must belong to the same account as the zone.\n\nPOST /zones/{zone_id}/intel/sinkholes/{sinkhole_id}/ingresses", inputSchema: { type: "object", properties: { @@ -31,14 +30,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/intel-sinkholes_ingress_create_params" }, "path": { + "additionalProperties": false, "properties": { "sinkhole_id": { "description": "The unique identifier for the sinkhole.", "type": "string" }, "zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare zone." + "description": "The unique identifier for the Cloudflare zone.", + "type": "string" } }, "required": [ @@ -52,8 +52,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, "intel-sinkholes_ingress_create_params": intel$$sinkholes_ingress_create_params, }, }, @@ -105,11 +105,12 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_ingresses_delete", title: "Delete an ingress rule", - description: "Delete the specified ingress rule. The sinkhole must belong to the same account as the zone.", + description: "Delete the specified ingress rule. The sinkhole must belong to the same account as the zone.\n\nDELETE /zones/{zone_id}/intel/sinkholes/{sinkhole_id}/ingresses/{ingress_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "ingress_id": { "description": "The unique identifier for the ingress rule.", @@ -120,8 +121,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare zone." + "description": "The unique identifier for the Cloudflare zone.", + "type": "string" } }, "required": [ @@ -135,9 +136,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_api_response_single_empty", @@ -184,11 +183,12 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_ingresses_get", title: "Get an ingress rule", - description: "Get the specified ingress rule associated with a sinkhole. The sinkhole must belong to the same account as the zone.", + description: "Get the specified ingress rule associated with a sinkhole. The sinkhole must belong to the same account as the zone.\n\nGET /zones/{zone_id}/intel/sinkholes/{sinkhole_id}/ingresses/{ingress_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "ingress_id": { "description": "The unique identifier for the ingress rule.", @@ -199,8 +199,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare zone." + "description": "The unique identifier for the Cloudflare zone.", + "type": "string" } }, "required": [ @@ -214,9 +214,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_ingress_single_response", @@ -266,11 +264,12 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_ingresses_list", title: "List ingresses for a sinkhole", - description: "Returns all ingress rules associated with the specified sinkhole.", + description: "Returns all ingress rules associated with the specified sinkhole.\n\nGET /{account_or_zone}/{account_or_zone_id}/intel/sinkholes/{sinkhole_id}/ingresses", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -281,8 +280,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "sinkhole_id": { "description": "The unique identifier for the sinkhole.", @@ -300,9 +299,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_ingress_collection_response", @@ -352,7 +349,7 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_ingresses_update", title: "Update an ingress rule", - description: "Replaces the specified ingress rule. The sinkhole must belong to the same account as the zone.", + description: "Replaces the specified ingress rule. The sinkhole must belong to the same account as the zone.\n\nPUT /zones/{zone_id}/intel/sinkholes/{sinkhole_id}/ingresses/{ingress_id}", inputSchema: { type: "object", properties: { @@ -360,6 +357,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/intel-sinkholes_ingress_create_params" }, "path": { + "additionalProperties": false, "properties": { "ingress_id": { "description": "The unique identifier for the ingress rule.", @@ -370,8 +368,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "zone_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare zone." + "description": "The unique identifier for the Cloudflare zone.", + "type": "string" } }, "required": [ @@ -386,8 +384,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, "intel-sinkholes_ingress_create_params": intel$$sinkholes_ingress_create_params, }, }, diff --git a/src/generated/forge-mcp/intel/sinkholes/schemas.ts b/src/generated/forge-mcp/intel/sinkholes/schemas.ts index b5ee1875b..4fabcbfcd 100644 --- a/src/generated/forge-mcp/intel/sinkholes/schemas.ts +++ b/src/generated/forge-mcp/intel/sinkholes/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `intel-sinkholes_identifier`. - */ -export const intel$$sinkholes_identifier: JsonSchema = { - "description": "An identifier for the resource.", - "type": "string" -}; - /** * The schema of `intel-sinkholes_sinkhole_create_params`. */ diff --git a/src/generated/forge-mcp/intel/sinkholes/tools.ts b/src/generated/forge-mcp/intel/sinkholes/tools.ts index bdaba3466..92756baca 100644 --- a/src/generated/forge-mcp/intel/sinkholes/tools.ts +++ b/src/generated/forge-mcp/intel/sinkholes/tools.ts @@ -11,10 +11,7 @@ import { intel$$sinkholes_sinkhole_item, intel$$sinkholes_sinkhole_single_response, } from "./outputs.js"; -import { - intel$$sinkholes_identifier, - intel$$sinkholes_sinkhole_create_params, -} from "./schemas.js"; +import { intel$$sinkholes_sinkhole_create_params } from "./schemas.js"; /** * The tools of `intel.sinkholes`. @@ -23,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_create", title: "Create a new sinkhole for your account", - description: "Create a new sinkhole. Logs of large request bodies will be truncated, but the full request body can be recorded in R2. If you wish to record large request bodies in R2, include the R2 key ID, key secret, and bucket name in the request body.", + description: "Create a new sinkhole. Logs of large request bodies will be truncated, but the full request body can be recorded in R2. If you wish to record large request bodies in R2, include the R2 key ID, key secret, and bucket name in the request body.\n\nPOST /accounts/{account_id}/intel/sinkholes", inputSchema: { type: "object", properties: { @@ -31,10 +28,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/intel-sinkholes_sinkhole_create_params" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." + "description": "The unique identifier for the Cloudflare account.", + "type": "string" } }, "required": [ @@ -47,8 +45,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, "intel-sinkholes_sinkhole_create_params": intel$$sinkholes_sinkhole_create_params, }, }, @@ -100,15 +98,16 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_delete", title: "Delete a sinkhole", - description: "Delete the specified sinkhole. The sinkhole must not have any active ingress rules defined. A 409 response code indicates that this condition is not met.", + description: "Delete the specified sinkhole. The sinkhole must not have any active ingress rules defined. A 409 response code indicates that this condition is not met.\n\nDELETE /accounts/{account_id}/intel/sinkholes/{sinkhole_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." + "description": "The unique identifier for the Cloudflare account.", + "type": "string" }, "sinkhole_id": { "description": "The unique identifier for the sinkhole.", @@ -125,9 +124,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_api_response_single_empty", @@ -177,15 +174,16 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_get", title: "Get a sinkhole", - description: "Get the specified sinkhole by its unique identifier.", + description: "Get the specified sinkhole by its unique identifier.\n\nGET /accounts/{account_id}/intel/sinkholes/{sinkhole_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." + "description": "The unique identifier for the Cloudflare account.", + "type": "string" }, "sinkhole_id": { "description": "The unique identifier for the sinkhole.", @@ -202,9 +200,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_sinkhole_single_response", @@ -254,15 +250,16 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_list", title: "List sinkholes owned by this account", - description: "Lists sinkholes owned by the account for redirecting malicious traffic.", + description: "Lists sinkholes owned by the account for redirecting malicious traffic.\n\nGET /accounts/{account_id}/intel/sinkholes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." + "description": "The unique identifier for the Cloudflare account.", + "type": "string" } }, "required": [ @@ -274,9 +271,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel-sinkholes_sinkhole_collection_response", @@ -326,7 +321,7 @@ export const tools: readonly Tool[] = [ { name: "intel_sinkholes_update", title: "Update a sinkhole", - description: "Replaces the name or R2 configuration of the specified sinkhole. This is a full replacement. All fields, including r2_secret, must be re-supplied. Omitting r2_secret overwrites the stored value with an empty string.", + description: "Replaces the name or R2 configuration of the specified sinkhole. This is a full replacement. All fields, including r2_secret, must be re-supplied. Omitting r2_secret overwrites the stored value with an empty string.\n\nPUT /accounts/{account_id}/intel/sinkholes/{sinkhole_id}", inputSchema: { type: "object", properties: { @@ -334,10 +329,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/intel-sinkholes_sinkhole_create_params" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel-sinkholes_identifier", - "description": "The unique identifier for the Cloudflare account." + "description": "The unique identifier for the Cloudflare account.", + "type": "string" }, "sinkhole_id": { "description": "The unique identifier for the sinkhole.", @@ -355,8 +351,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "intel-sinkholes_identifier": intel$$sinkholes_identifier, "intel-sinkholes_sinkhole_create_params": intel$$sinkholes_sinkhole_create_params, }, }, diff --git a/src/generated/forge-mcp/intel/urls/tools.ts b/src/generated/forge-mcp/intel/urls/tools.ts index 28f2f5167..1b3a560fb 100644 --- a/src/generated/forge-mcp/intel/urls/tools.ts +++ b/src/generated/forge-mcp/intel/urls/tools.ts @@ -8,7 +8,6 @@ import { intel_messages, intel_schemas$$messages, } from "../outputs.js"; -import { intel_identifier } from "../schemas.js"; import { intel_url_intelligence, intel_url_intelligence_category_with_source, @@ -22,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "intel_urls_get", title: "Get URL Intelligence", - description: "Gets security information about a URL, including content categories and risk types. The URL must be provided as a query parameter.", + description: "Gets security information about a URL, including content categories and risk types. The URL must be provided as a query parameter.\n\nGET /accounts/{account_id}/intel/url", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/intel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -39,6 +39,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "url": { "description": "The URL to look up.", @@ -55,9 +56,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "intel_identifier": intel_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/intel_url_intelligence_single_response", diff --git a/src/generated/forge-mcp/intel/whois/outputs.ts b/src/generated/forge-mcp/intel/whois/outputs.ts index 7f9bc1e88..7225bb1fa 100644 --- a/src/generated/forge-mcp/intel/whois/outputs.ts +++ b/src/generated/forge-mcp/intel/whois/outputs.ts @@ -60,13 +60,6 @@ export const cloudforce$$one$$whois_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `cloudforce-one-whois_domain_name` in responses. - */ -export const cloudforce$$one$$whois_domain_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `cloudforce-one-whois_messages` in responses. */ @@ -241,7 +234,7 @@ export const cloudforce$$one$$whois_whois: JsonSchema = { "type": "boolean" }, "domain": { - "$ref": "#/$defs/cloudforce-one-whois_domain_name" + "type": "string" }, "expiration_date": { "format": "date-time", diff --git a/src/generated/forge-mcp/intel/whois/schemas.ts b/src/generated/forge-mcp/intel/whois/schemas.ts deleted file mode 100644 index b37fb19bc..000000000 --- a/src/generated/forge-mcp/intel/whois/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `cloudforce-one-whois_identifier`. - */ -export const cloudforce$$one$$whois_identifier: JsonSchema = { - "description": "Use to uniquely identify or reference the resource.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/intel/whois/tools.ts b/src/generated/forge-mcp/intel/whois/tools.ts index 4a856df3f..418df472c 100644 --- a/src/generated/forge-mcp/intel/whois/tools.ts +++ b/src/generated/forge-mcp/intel/whois/tools.ts @@ -5,13 +5,11 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { cloudforce$$one$$whois_api$$response$$common$$failure, cloudforce$$one$$whois_api$$response$$single, - cloudforce$$one$$whois_domain_name, cloudforce$$one$$whois_messages, cloudforce$$one$$whois_schemas$$messages, cloudforce$$one$$whois_schemas$$single_response, cloudforce$$one$$whois_whois, } from "./outputs.js"; -import { cloudforce$$one$$whois_identifier } from "./schemas.js"; /** * The tools of `intel.whois`. @@ -20,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "intel_whois_get", title: "Get WHOIS Record", - description: "Retrieves WHOIS registration data for a domain, including registrant and nameserver information.", + description: "Retrieves WHOIS registration data for a domain, including registrant and nameserver information.\n\nGET /accounts/{account_id}/intel/whois", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudforce-one-whois_identifier", - "description": "Use to uniquely identify or reference the resource." + "description": "Use to uniquely identify or reference the resource.", + "type": "string" } }, "required": [ @@ -37,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "domain": { "type": "string" @@ -48,15 +48,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudforce-one-whois_identifier": cloudforce$$one$$whois_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudforce-one-whois_schemas-single_response", $defs: { "cloudforce-one-whois_api-response-single": cloudforce$$one$$whois_api$$response$$single, - "cloudforce-one-whois_domain_name": cloudforce$$one$$whois_domain_name, "cloudforce-one-whois_schemas-messages": cloudforce$$one$$whois_schemas$$messages, "cloudforce-one-whois_schemas-single_response": cloudforce$$one$$whois_schemas$$single_response, "cloudforce-one-whois_whois": cloudforce$$one$$whois_whois, @@ -89,7 +86,6 @@ export const tools: readonly Tool[] = [ $defs: { "cloudforce-one-whois_api-response-common-failure": cloudforce$$one$$whois_api$$response$$common$$failure, "cloudforce-one-whois_api-response-single": cloudforce$$one$$whois_api$$response$$single, - "cloudforce-one-whois_domain_name": cloudforce$$one$$whois_domain_name, "cloudforce-one-whois_messages": cloudforce$$one$$whois_messages, "cloudforce-one-whois_schemas-messages": cloudforce$$one$$whois_schemas$$messages, "cloudforce-one-whois_schemas-single_response": cloudforce$$one$$whois_schemas$$single_response, diff --git a/src/generated/forge-mcp/internal/submit/tools.ts b/src/generated/forge-mcp/internal/submit/tools.ts index 279233b32..bff795631 100644 --- a/src/generated/forge-mcp/internal/submit/tools.ts +++ b/src/generated/forge-mcp/internal/submit/tools.ts @@ -11,10 +11,11 @@ export const tools: readonly Tool[] = [ { name: "internal_submit_create", title: "Internal route for testing URL submissions", - description: "Internal route for testing URL submissions.", + description: "Internal route for testing URL submissions.\n\nPOST /internal/submit", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/ips/outputs.ts b/src/generated/forge-mcp/ips/outputs.ts index f8267b543..c2ed77507 100644 --- a/src/generated/forge-mcp/ips/outputs.ts +++ b/src/generated/forge-mcp/ips/outputs.ts @@ -59,20 +59,13 @@ export const public$$ip_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `public-ip_etag` in responses. - */ -export const public$$ip_etag: JsonSchema = { - "type": "string" -}; - /** * The schema of `public-ip_ips` in responses. */ export const public$$ip_ips: JsonSchema = { "properties": { "etag": { - "$ref": "#/$defs/public-ip_etag" + "type": "string" }, "ipv4_cidrs": { "$ref": "#/$defs/public-ip_ipv4_cidrs" @@ -90,7 +83,7 @@ export const public$$ip_ips: JsonSchema = { export const public$$ip_ips_jdcloud: JsonSchema = { "properties": { "etag": { - "$ref": "#/$defs/public-ip_etag" + "type": "string" }, "ipv4_cidrs": { "$ref": "#/$defs/public-ip_ipv4_cidrs" diff --git a/src/generated/forge-mcp/ips/tools.ts b/src/generated/forge-mcp/ips/tools.ts index 5ccbb6a78..ac44d8fa1 100644 --- a/src/generated/forge-mcp/ips/tools.ts +++ b/src/generated/forge-mcp/ips/tools.ts @@ -5,7 +5,6 @@ import { type Tool, param } from "../_/tool.js"; import { public$$ip_api$$response$$common$$failure, public$$ip_api$$response$$single, - public$$ip_etag, public$$ip_ips, public$$ip_ips_jdcloud, public$$ip_ipv4_cidrs, @@ -21,11 +20,12 @@ export const tools: readonly Tool[] = [ { name: "ips_list", title: "Cloudflare/JD Cloud IP Details", - description: "Get IPs used on the Cloudflare/JD Cloud network, see https://www.cloudflare.com/ips for Cloudflare IPs or https://developers.cloudflare.com/china-network/reference/infrastructure/ for JD Cloud IPs.", + description: "Get IPs used on the Cloudflare/JD Cloud network, see https://www.cloudflare.com/ips for Cloudflare IPs or https://developers.cloudflare.com/china-network/reference/infrastructure/ for JD Cloud IPs.\n\nGET /ips", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "networks": { "description": "Specified as `jdcloud` to list IPs used by JD Cloud data centers.", @@ -35,6 +35,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -59,7 +60,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "public-ip_api-response-single": public$$ip_api$$response$$single, - "public-ip_etag": public$$ip_etag, "public-ip_ips": public$$ip_ips, "public-ip_ips_jdcloud": public$$ip_ips_jdcloud, "public-ip_ipv4_cidrs": public$$ip_ipv4_cidrs, @@ -130,7 +130,6 @@ export const tools: readonly Tool[] = [ $defs: { "public-ip_api-response-common-failure": public$$ip_api$$response$$common$$failure, "public-ip_api-response-single": public$$ip_api$$response$$single, - "public-ip_etag": public$$ip_etag, "public-ip_ips": public$$ip_ips, "public-ip_ips_jdcloud": public$$ip_ips_jdcloud, "public-ip_ipv4_cidrs": public$$ip_ipv4_cidrs, diff --git a/src/generated/forge-mcp/k2/streams/outputs.ts b/src/generated/forge-mcp/k2/streams/outputs.ts index 6489513e6..a2393ea20 100644 --- a/src/generated/forge-mcp/k2/streams/outputs.ts +++ b/src/generated/forge-mcp/k2/streams/outputs.ts @@ -19,7 +19,7 @@ export const cloudflare$$k2_K2Stream: JsonSchema = { "$ref": "#/$defs/cloudflare-k2_K2StreamHttpInput" }, "id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id" + "type": "string" }, "modified_at": { "format": "date-time", @@ -126,7 +126,7 @@ export const cloudflare$$k2_K2StreamListResponse: JsonSchema = { "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-common-success" + "type": "boolean" } }, "required": [ @@ -154,7 +154,7 @@ export const cloudflare$$k2_K2StreamResponse: JsonSchema = { "$ref": "#/$defs/cloudflare-k2_K2Stream" }, "success": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-common-success" + "type": "boolean" } }, "required": [ @@ -202,13 +202,6 @@ export const cloudflare$$k2_K2StreamWorkerBindingInput: JsonSchema = { ] }; -/** - * The schema of `cloudflare-k2_workers-k2-common-success` in responses. - */ -export const cloudflare$$k2_workers$$k2$$common$$success: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `cloudflare-k2_workers-k2-messages` in responses. */ @@ -229,10 +222,3 @@ export const cloudflare$$k2_workers$$k2$$messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `cloudflare-k2_workers-k2-stream-id` in responses. - */ -export const cloudflare$$k2_workers$$k2$$stream$$id: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/k2/streams/schemas.ts b/src/generated/forge-mcp/k2/streams/schemas.ts index d1dd1878e..54d2bf03e 100644 --- a/src/generated/forge-mcp/k2/streams/schemas.ts +++ b/src/generated/forge-mcp/k2/streams/schemas.ts @@ -134,19 +134,3 @@ export const cloudflare$$k2_UpdateK2StreamRequest: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `cloudflare-k2_workers-k2-account-id`. - */ -export const cloudflare$$k2_workers$$k2$$account$$id: JsonSchema = { - "description": "Specifies the public ID of the account.", - "type": "string" -}; - -/** - * The schema of `cloudflare-k2_workers-k2-stream-id`. - */ -export const cloudflare$$k2_workers$$k2$$stream$$id: JsonSchema = { - "description": "Specifies the public ID of the K2 stream.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts b/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts index 6c0d8f083..553f57948 100644 --- a/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts +++ b/src/generated/forge-mcp/k2/streams/subscriptions/outputs.ts @@ -102,7 +102,7 @@ export const cloudflare$$k2_K2MonitoredSubscriptionListResponse: JsonSchema = { "type": "array" }, "success": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-common-success" + "type": "boolean" } }, "required": [ diff --git a/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts b/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts index b15db3863..88f682a77 100644 --- a/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts +++ b/src/generated/forge-mcp/k2/streams/subscriptions/tools.ts @@ -2,14 +2,7 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../_/tool.js"; -import { - cloudflare$$k2_workers$$k2$$common$$success, - cloudflare$$k2_workers$$k2$$messages, -} from "../outputs.js"; -import { - cloudflare$$k2_workers$$k2$$account$$id, - cloudflare$$k2_workers$$k2$$stream$$id, -} from "../schemas.js"; +import { cloudflare$$k2_workers$$k2$$messages } from "../outputs.js"; import { cloudflare$$k2_K2ConsumerLag, cloudflare$$k2_K2MonitoredSubscription, @@ -23,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "k2_streams_subscriptions_list", title: "List subscriptions with consumer lag", - description: "Lists every subscription on one stream, oldest first. Lag uses committed positions, not reserved read positions. A failed tail observation preserves subscription metadata and returns unavailable lag.\n\nThis method is beta.", + description: "Lists every subscription on one stream, oldest first. Lag uses committed positions, not reserved read positions. A failed tail observation preserves subscription metadata and returns unavailable lag.\n\nThis method is beta.\n\nGET /accounts/{account_id}/k2/streams/{stream_id}/subscriptions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "stream_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", - "description": "Specifies the public ID of the K2 stream." + "description": "Specifies the public ID of the K2 stream.", + "type": "string" } }, "required": [ @@ -48,10 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudflare-k2_K2MonitoredSubscriptionListResponse", @@ -59,7 +50,6 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2ConsumerLag": cloudflare$$k2_K2ConsumerLag, "cloudflare-k2_K2MonitoredSubscription": cloudflare$$k2_K2MonitoredSubscription, "cloudflare-k2_K2MonitoredSubscriptionListResponse": cloudflare$$k2_K2MonitoredSubscriptionListResponse, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, }, }, @@ -92,7 +82,6 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2ConsumerLag": cloudflare$$k2_K2ConsumerLag, "cloudflare-k2_K2MonitoredSubscription": cloudflare$$k2_K2MonitoredSubscription, "cloudflare-k2_K2MonitoredSubscriptionListResponse": cloudflare$$k2_K2MonitoredSubscriptionListResponse, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, }, }, diff --git a/src/generated/forge-mcp/k2/streams/tools.ts b/src/generated/forge-mcp/k2/streams/tools.ts index 1fec89ecb..5bf2cd81e 100644 --- a/src/generated/forge-mcp/k2/streams/tools.ts +++ b/src/generated/forge-mcp/k2/streams/tools.ts @@ -9,9 +9,7 @@ import { cloudflare$$k2_K2StreamListResponse, cloudflare$$k2_K2StreamResponse, cloudflare$$k2_K2StreamWorkerBindingInput, - cloudflare$$k2_workers$$k2$$common$$success, cloudflare$$k2_workers$$k2$$messages, - cloudflare$$k2_workers$$k2$$stream$$id, } from "./outputs.js"; import { cloudflare$$k2_CreateK2StreamRequest, @@ -19,8 +17,6 @@ import { cloudflare$$k2_K2StreamHttpInput as cloudflare$$k2_K2StreamHttpInput$, cloudflare$$k2_K2StreamWorkerBindingInput as cloudflare$$k2_K2StreamWorkerBindingInput$, cloudflare$$k2_UpdateK2StreamRequest, - cloudflare$$k2_workers$$k2$$account$$id, - cloudflare$$k2_workers$$k2$$stream$$id as cloudflare$$k2_workers$$k2$$stream$$id$, } from "./schemas.js"; /** @@ -30,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "k2_streams_create", title: "Create K2 stream", - description: "Create a new K2 stream. HTTP is disabled when `http` is omitted. Enabled HTTP requires authentication and allows all origins unless `authentication` or `cors` say otherwise. At least one input must be enabled.\n\nThis method is beta.", + description: "Create a new K2 stream. HTTP is disabled when `http` is omitted. Enabled HTTP requires authentication and allows all origins unless `authentication` or `cors` say otherwise. At least one input must be enabled.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/k2/streams", inputSchema: { type: "object", properties: { @@ -38,10 +34,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cloudflare-k2_CreateK2StreamRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" } }, "required": [ @@ -54,12 +51,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cloudflare-k2_CreateK2StreamRequest": cloudflare$$k2_CreateK2StreamRequest, "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions$, "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput$, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput$, - "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, }, }, outputSchema: { @@ -70,9 +67,7 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, annotations: { @@ -106,9 +101,7 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, request: (args) => ({ @@ -119,19 +112,20 @@ export const tools: readonly Tool[] = [ { name: "k2_streams_delete", title: "Delete K2 stream", - description: "Delete a K2 stream in an account. Deleting a stream that does not exist also succeeds.\n\nThis method is beta.", + description: "Delete a K2 stream in an account. Deleting a stream that does not exist also succeeds.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/k2/streams/{stream_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "stream_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", - "description": "Specifies the public ID of the K2 stream." + "description": "Specifies the public ID of the K2 stream.", + "type": "string" } }, "required": [ @@ -144,10 +138,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id$, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -161,7 +152,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-common-success" + "type": "boolean" } }, "required": [ @@ -172,7 +163,6 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, }, }, @@ -207,7 +197,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-common-success" + "type": "boolean" } }, "required": [ @@ -222,7 +212,6 @@ export const tools: readonly Tool[] = [ "5XX": null }, $defs: { - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, }, }, @@ -233,19 +222,20 @@ export const tools: readonly Tool[] = [ { name: "k2_streams_get", title: "Get K2 stream", - description: "Get K2 stream details.\n\nThis method is beta.", + description: "Get K2 stream details.\n\nThis method is beta.\n\nGET /accounts/{account_id}/k2/streams/{stream_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "stream_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", - "description": "Specifies the public ID of the K2 stream." + "description": "Specifies the public ID of the K2 stream.", + "type": "string" } }, "required": [ @@ -258,10 +248,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudflare-k2_K2StreamResponse", @@ -271,9 +258,7 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, annotations: { @@ -307,9 +292,7 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, request: (args) => ({ @@ -319,15 +302,16 @@ export const tools: readonly Tool[] = [ { name: "k2_streams_list", title: "List K2 streams", - description: "List or filter K2 streams in an account.\n\nThis method is beta.", + description: "List or filter K2 streams in an account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/k2/streams", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" } }, "required": [ @@ -336,6 +320,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "description": "Filters K2 streams by name using a case-insensitive substring.", @@ -356,9 +341,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cloudflare-k2_K2StreamListResponse", @@ -368,9 +351,7 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, "cloudflare-k2_K2StreamListResponse": cloudflare$$k2_K2StreamListResponse, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, annotations: { @@ -404,9 +385,7 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, "cloudflare-k2_K2StreamListResponse": cloudflare$$k2_K2StreamListResponse, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, request: (args) => ({ @@ -421,7 +400,7 @@ export const tools: readonly Tool[] = [ { name: "k2_streams_update", title: "Update K2 stream", - description: "Update a K2 stream. Omitted `http` settings, such as `authentication` and `cors`, keep their current values. Disabling HTTP keeps them, so enabling HTTP again restores them. At least one input must remain enabled.\n\nThis method is beta.", + description: "Update a K2 stream. Omitted `http` settings, such as `authentication` and `cors`, keep their current values. Disabling HTTP keeps them, so enabling HTTP again restores them. At least one input must remain enabled.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/k2/streams/{stream_id}", inputSchema: { type: "object", properties: { @@ -429,14 +408,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cloudflare-k2_UpdateK2StreamRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "stream_id": { - "$ref": "#/$defs/cloudflare-k2_workers-k2-stream-id", - "description": "Specifies the public ID of the K2 stream." + "description": "Specifies the public ID of the K2 stream.", + "type": "string" } }, "required": [ @@ -450,13 +430,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cloudflare-k2_K2StreamCorsOptions": cloudflare$$k2_K2StreamCorsOptions$, "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput$, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput$, "cloudflare-k2_UpdateK2StreamRequest": cloudflare$$k2_UpdateK2StreamRequest, - "cloudflare-k2_workers-k2-account-id": cloudflare$$k2_workers$$k2$$account$$id, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id$, }, }, outputSchema: { @@ -467,9 +446,7 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, annotations: { @@ -503,9 +480,7 @@ export const tools: readonly Tool[] = [ "cloudflare-k2_K2StreamHttpInput": cloudflare$$k2_K2StreamHttpInput, "cloudflare-k2_K2StreamResponse": cloudflare$$k2_K2StreamResponse, "cloudflare-k2_K2StreamWorkerBindingInput": cloudflare$$k2_K2StreamWorkerBindingInput, - "cloudflare-k2_workers-k2-common-success": cloudflare$$k2_workers$$k2$$common$$success, "cloudflare-k2_workers-k2-messages": cloudflare$$k2_workers$$k2$$messages, - "cloudflare-k2_workers-k2-stream-id": cloudflare$$k2_workers$$k2$$stream$$id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/kv/bulk/outputs.ts b/src/generated/forge-mcp/kv/bulk/outputs.ts index e47c7f35a..881241cfb 100644 --- a/src/generated/forge-mcp/kv/bulk/outputs.ts +++ b/src/generated/forge-mcp/kv/bulk/outputs.ts @@ -42,7 +42,7 @@ export const workers$$kv_bulk$$get$$result$$with$$metadata: JsonSchema = { { "properties": { "expiration": { - "$ref": "#/$defs/workers-kv_expiration" + "type": "number" }, "metadata": { "$ref": "#/$defs/workers-kv_any" diff --git a/src/generated/forge-mcp/kv/bulk/schemas.ts b/src/generated/forge-mcp/kv/bulk/schemas.ts index 13fbaaa79..9b90e3530 100644 --- a/src/generated/forge-mcp/kv/bulk/schemas.ts +++ b/src/generated/forge-mcp/kv/bulk/schemas.ts @@ -8,7 +8,8 @@ import type { JsonSchema } from "../../_/tool.js"; */ export const workers$$kv_bulk_delete: JsonSchema = { "items": { - "$ref": "#/$defs/workers-kv_key_name_bulk" + "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid.", + "type": "string" }, "maxItems": 10000, "type": "array" @@ -26,16 +27,16 @@ export const workers$$kv_bulk_write: JsonSchema = { "type": "boolean" }, "expiration": { - "$ref": "#/$defs/workers-kv_expiration", - "description": "Expires the key at a certain time, measured in number of seconds since the UNIX epoch." + "description": "Expires the key at a certain time, measured in number of seconds since the UNIX epoch.", + "type": "number" }, "expiration_ttl": { - "$ref": "#/$defs/workers-kv_expiration_ttl", - "description": "Number of seconds until the key expires. Must be at least 60. Takes precedence over `expiration` when both are specified." + "description": "Number of seconds until the key expires. Must be at least 60. Takes precedence over `expiration` when both are specified.", + "type": "number" }, "key": { - "$ref": "#/$defs/workers-kv_key_name_bulk", - "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid." + "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid.", + "type": "string" }, "metadata": { "$ref": "#/$defs/workers-kv_list_metadata", @@ -55,11 +56,3 @@ export const workers$$kv_bulk_write: JsonSchema = { "maxItems": 10000, "type": "array" }; - -/** - * The schema of `workers-kv_key_name_bulk`. - */ -export const workers$$kv_key_name_bulk: JsonSchema = { - "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/kv/bulk/tools.ts b/src/generated/forge-mcp/kv/bulk/tools.ts index aa95ec00a..b4214c7fa 100644 --- a/src/generated/forge-mcp/kv/bulk/tools.ts +++ b/src/generated/forge-mcp/kv/bulk/tools.ts @@ -7,27 +7,18 @@ import { workers$$kv_api$$response$$common, workers$$kv_api$$response$$common$$failure, workers$$kv_api$$response$$common$$no$$result, - workers$$kv_expiration, workers$$kv_messages, } from "../outputs.js"; import { workers$$kv_any as workers$$kv_any$, - workers$$kv_expiration as workers$$kv_expiration$, - workers$$kv_expiration_ttl, - workers$$kv_identifier, workers$$kv_list_metadata, - workers$$kv_namespace_identifier, } from "../schemas.js"; import { workers$$kv_bulk$$get$$result, workers$$kv_bulk$$get$$result$$with$$metadata, workers$$kv_bulk$$result, } from "./outputs.js"; -import { - workers$$kv_bulk_delete, - workers$$kv_bulk_write, - workers$$kv_key_name_bulk, -} from "./schemas.js"; +import { workers$$kv_bulk_delete, workers$$kv_bulk_write } from "./schemas.js"; /** * The tools of `kv.bulk`. @@ -36,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "kv_bulk_delete", title: "Delete multiple key-value pairs", - description: "Deletes up to 10,000 key-value pairs from the specified Workers KV namespace. Send a JSON array of the key names to delete. The result reports the number of successful deletions and any keys that failed and should be retried.\n\nConfirm with the user before calling this tool. This operation deletes the specified keys and their values from the Workers KV namespace.", + description: "Deletes up to 10,000 key-value pairs from the specified Workers KV namespace. Send a JSON array of the key names to delete. The result reports the number of successful deletions and any keys that failed and should be retried.\n\nConfirm with the user before calling this tool. This operation deletes the specified keys and their values from the Workers KV namespace.\n\nPOST /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk/delete", inputSchema: { type: "object", properties: { @@ -44,14 +35,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers-kv_bulk_delete" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -65,11 +57,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-kv_bulk_delete": workers$$kv_bulk_delete, - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_key_name_bulk": workers$$kv_key_name_bulk, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, }, }, outputSchema: { @@ -155,7 +145,7 @@ export const tools: readonly Tool[] = [ { name: "kv_bulk_get", title: "Get multiple key-value pairs", - description: "Retrieves the text-based values of up to 100 keys from the specified Workers KV namespace. The result maps each requested key to its value. Set `type` to `json` to parse JSON values instead of returning strings, and set `withMetadata` to `true` to include metadata with each value. Binary values are not supported by this operation.", + description: "Retrieves the text-based values of up to 100 keys from the specified Workers KV namespace. The result maps each requested key to its value. Set `type` to `json` to parse JSON values instead of returning strings, and set `withMetadata` to `true` to include metadata with each value. Binary values are not supported by this operation.\n\nPOST /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk/get", inputSchema: { type: "object", properties: { @@ -164,7 +154,8 @@ export const tools: readonly Tool[] = [ "keys": { "description": "Array of keys to retrieve (maximum of 100).", "items": { - "$ref": "#/$defs/workers-kv_key_name_bulk" + "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid.", + "type": "string" }, "maxItems": 100, "type": "array" @@ -190,14 +181,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -211,11 +203,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_key_name_bulk": workers$$kv_key_name_bulk, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -244,7 +232,6 @@ export const tools: readonly Tool[] = [ "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, "workers-kv_bulk-get-result": workers$$kv_bulk$$get$$result, "workers-kv_bulk-get-result-with-metadata": workers$$kv_bulk$$get$$result$$with$$metadata, - "workers-kv_expiration": workers$$kv_expiration, "workers-kv_messages": workers$$kv_messages, }, }, @@ -298,7 +285,6 @@ export const tools: readonly Tool[] = [ "workers-kv_api-response-common-no-result": workers$$kv_api$$response$$common$$no$$result, "workers-kv_bulk-get-result": workers$$kv_bulk$$get$$result, "workers-kv_bulk-get-result-with-metadata": workers$$kv_bulk$$get$$result$$with$$metadata, - "workers-kv_expiration": workers$$kv_expiration, "workers-kv_messages": workers$$kv_messages, }, }, @@ -310,7 +296,7 @@ export const tools: readonly Tool[] = [ { name: "kv_bulk_put", title: "Write multiple key-value pairs", - description: "Writes up to 10,000 key-value pairs to the specified Workers KV namespace from a JSON array, with optional metadata and expiration settings for each pair. Existing values and expirations are overwritten. If neither `expiration` nor `expiration_ttl` is specified, the key-value pair will not expire. If both are set, `expiration_ttl` takes precedence. The entire request must be 100 megabytes or less. The result reports the number of successful writes and any keys that failed and should be retried.", + description: "Writes up to 10,000 key-value pairs to the specified Workers KV namespace from a JSON array, with optional metadata and expiration settings for each pair. Existing values and expirations are overwritten. If neither `expiration` nor `expiration_ttl` is specified, the key-value pair will not expire. If both are set, `expiration_ttl` takes precedence. The entire request must be 100 megabytes or less. The result reports the number of successful writes and any keys that failed and should be retried.\n\nPUT /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/bulk", inputSchema: { type: "object", properties: { @@ -318,14 +304,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers-kv_bulk_write" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -339,15 +326,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-kv_any": workers$$kv_any$, "workers-kv_bulk_write": workers$$kv_bulk_write, - "workers-kv_expiration": workers$$kv_expiration$, - "workers-kv_expiration_ttl": workers$$kv_expiration_ttl, - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_key_name_bulk": workers$$kv_key_name_bulk, "workers-kv_list_metadata": workers$$kv_list_metadata, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/kv/keys/outputs.ts b/src/generated/forge-mcp/kv/keys/outputs.ts index d329050ff..087537892 100644 --- a/src/generated/forge-mcp/kv/keys/outputs.ts +++ b/src/generated/forge-mcp/kv/keys/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `workers-kv_cursor` in responses. - */ -export const workers$$kv_cursor: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers-kv_cursor_result_info` in responses. */ @@ -19,7 +12,7 @@ export const workers$$kv_cursor_result_info: JsonSchema = { "type": "number" }, "cursor": { - "$ref": "#/$defs/workers-kv_cursor" + "type": "string" } }, "type": "object" @@ -37,7 +30,7 @@ export const workers$$kv_key: JsonSchema = { "$ref": "#/$defs/workers-kv_list_metadata" }, "name": { - "$ref": "#/$defs/workers-kv_key_name" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/kv/keys/tools.ts b/src/generated/forge-mcp/kv/keys/tools.ts index 2219e54d0..3cc7b89ca 100644 --- a/src/generated/forge-mcp/kv/keys/tools.ts +++ b/src/generated/forge-mcp/kv/keys/tools.ts @@ -7,20 +7,10 @@ import { workers$$kv_api$$response$$common, workers$$kv_api$$response$$common$$failure, workers$$kv_api$$response$$common$$no$$result, - workers$$kv_key_name, workers$$kv_list_metadata, workers$$kv_messages, } from "../outputs.js"; -import { - workers$$kv_identifier, - workers$$kv_key_name as workers$$kv_key_name$, - workers$$kv_namespace_identifier, -} from "../schemas.js"; -import { - workers$$kv_cursor, - workers$$kv_cursor_result_info, - workers$$kv_key, -} from "./outputs.js"; +import { workers$$kv_cursor_result_info, workers$$kv_key } from "./outputs.js"; /** * The tools of `kv.keys`. @@ -29,23 +19,24 @@ export const tools: readonly Tool[] = [ { name: "kv_keys_delete", title: "Delete a key-value pair", - description: "Deletes the specified key and its value from the Workers KV namespace. Use URL-encoding for special characters (for example, `:`, `!`, `%`) in the key name when constructing the request URL.\n\nConfirm with the user before calling this tool. This operation deletes the selected key-value pair from the Workers KV namespace.", + description: "Deletes the specified key and its value from the Workers KV namespace. Use URL-encoding for special characters (for example, `:`, `!`, `%`) in the key name when constructing the request URL.\n\nConfirm with the user before calling this tool. This operation deletes the selected key-value pair from the Workers KV namespace.\n\nDELETE /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "key_name": { - "$ref": "#/$defs/workers-kv_key_name", - "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL." + "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -59,11 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_key_name": workers$$kv_key_name$, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers-kv_api-response-common-no-result", @@ -110,23 +97,24 @@ export const tools: readonly Tool[] = [ { name: "kv_keys_get", title: "Get a key's value", - description: "Returns the value stored under the specified key in the Workers KV namespace as raw bytes. Use URL-encoding for special characters (for example, `:`, `!`, `%`) in the key name when constructing the request URL. If the key-value pair expires, the `expiration` response header contains its expiration time in seconds since the UNIX epoch.", + description: "Returns the value stored under the specified key in the Workers KV namespace as raw bytes. Use URL-encoding for special characters (for example, `:`, `!`, `%`) in the key name when constructing the request URL. If the key-value pair expires, the `expiration` response header contains its expiration time in seconds since the UNIX epoch.\n\nGET /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/values/{key_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "key_name": { - "$ref": "#/$defs/workers-kv_key_name", - "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL." + "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -140,11 +128,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_key_name": workers$$kv_key_name$, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -180,19 +164,20 @@ export const tools: readonly Tool[] = [ { name: "kv_keys_list", title: "List keys in a namespace", - description: "Lists key names in the specified Workers KV namespace, with expiration times and metadata when present. Use `prefix` to filter names and `cursor` to request the next page. Values are not included.", + description: "Lists key names in the specified Workers KV namespace, with expiration times and metadata when present. Use `prefix` to filter names and `cursor` to request the next page. Values are not included.\n\nGET /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/keys", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -202,6 +187,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque pagination token from `result_info.cursor` in the previous response. Pass it unchanged to request the next page of keys.", @@ -223,10 +209,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -251,10 +234,8 @@ export const tools: readonly Tool[] = [ $defs: { "workers-kv_any": workers$$kv_any, "workers-kv_api-response-common": workers$$kv_api$$response$$common, - "workers-kv_cursor": workers$$kv_cursor, "workers-kv_cursor_result_info": workers$$kv_cursor_result_info, "workers-kv_key": workers$$kv_key, - "workers-kv_key_name": workers$$kv_key_name, "workers-kv_list_metadata": workers$$kv_list_metadata, "workers-kv_messages": workers$$kv_messages, }, @@ -305,10 +286,8 @@ export const tools: readonly Tool[] = [ "workers-kv_any": workers$$kv_any, "workers-kv_api-response-common": workers$$kv_api$$response$$common, "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, - "workers-kv_cursor": workers$$kv_cursor, "workers-kv_cursor_result_info": workers$$kv_cursor_result_info, "workers-kv_key": workers$$kv_key, - "workers-kv_key_name": workers$$kv_key_name, "workers-kv_list_metadata": workers$$kv_list_metadata, "workers-kv_messages": workers$$kv_messages, }, diff --git a/src/generated/forge-mcp/kv/metadata/tools.ts b/src/generated/forge-mcp/kv/metadata/tools.ts index 288797bce..127500f66 100644 --- a/src/generated/forge-mcp/kv/metadata/tools.ts +++ b/src/generated/forge-mcp/kv/metadata/tools.ts @@ -9,11 +9,6 @@ import { workers$$kv_list_metadata, workers$$kv_messages, } from "../outputs.js"; -import { - workers$$kv_identifier, - workers$$kv_key_name, - workers$$kv_namespace_identifier, -} from "../schemas.js"; /** * The tools of `kv.metadata`. @@ -22,23 +17,24 @@ export const tools: readonly Tool[] = [ { name: "kv_metadata_get", title: "Get a key's metadata", - description: "Returns the JSON metadata associated with the specified key in the Workers KV namespace, without retrieving its value. Use URL-encoding for special characters (for example, `:`, `!`, `%`) in the key name when constructing the request URL.", + description: "Returns the JSON metadata associated with the specified key in the Workers KV namespace, without retrieving its value. Use URL-encoding for special characters (for example, `:`, `!`, `%`) in the key name when constructing the request URL.\n\nGET /accounts/{account_id}/storage/kv/namespaces/{namespace_id}/metadata/{key_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "key_name": { - "$ref": "#/$defs/workers-kv_key_name", - "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL." + "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -52,11 +48,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_key_name": workers$$kv_key_name, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/kv/namespaces/outputs.ts b/src/generated/forge-mcp/kv/namespaces/outputs.ts index 949288db4..861482fae 100644 --- a/src/generated/forge-mcp/kv/namespaces/outputs.ts +++ b/src/generated/forge-mcp/kv/namespaces/outputs.ts @@ -22,37 +22,33 @@ export const workers$$kv_api$$response$$collection: JsonSchema = { ] }; -/** - * The schema of `workers-kv_jurisdiction` in responses. - */ -export const workers$$kv_jurisdiction: JsonSchema = { - "enum": [ - "eu", - "fedramp", - "us" - ], - "type": "string" -}; - /** * The schema of `workers-kv_namespace` in responses. */ export const workers$$kv_namespace: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/workers-kv_namespace_identifier" + "type": "string" }, "jurisdiction": { - "$ref": "#/$defs/workers-kv_jurisdiction" + "enum": [ + "eu", + "fedramp", + "us" + ], + "type": "string" }, "mode": { - "$ref": "#/$defs/workers-kv_namespace_mode" + "enum": [ + "instant" + ], + "type": "string" }, "supports_url_encoding": { "type": "boolean" }, "title": { - "$ref": "#/$defs/workers-kv_namespace_title" + "type": "string" } }, "required": [ @@ -62,23 +58,6 @@ export const workers$$kv_namespace: JsonSchema = { "type": "object" }; -/** - * The schema of `workers-kv_namespace_mode` in responses. - */ -export const workers$$kv_namespace_mode: JsonSchema = { - "enum": [ - "instant" - ], - "type": "string" -}; - -/** - * The schema of `workers-kv_namespace_title` in responses. - */ -export const workers$$kv_namespace_title: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers-kv_result_info` in responses. */ diff --git a/src/generated/forge-mcp/kv/namespaces/schemas.ts b/src/generated/forge-mcp/kv/namespaces/schemas.ts index db3a216d4..2cf992eab 100644 --- a/src/generated/forge-mcp/kv/namespaces/schemas.ts +++ b/src/generated/forge-mcp/kv/namespaces/schemas.ts @@ -9,8 +9,13 @@ import type { JsonSchema } from "../../_/tool.js"; export const workers$$kv_create_namespace_body: JsonSchema = { "properties": { "jurisdiction": { - "$ref": "#/$defs/workers-kv_jurisdiction", - "description": "Specify the jurisdiction to restrict the KV namespace to durably store data within. Can only be set at namespace creation time." + "description": "Specify the jurisdiction to restrict the KV namespace to durably store data within. Can only be set at namespace creation time.", + "enum": [ + "eu", + "fedramp", + "us" + ], + "type": "string" }, "mode": { "description": "The mode of the Workers KV namespace. Specify `instant` when creating a namespace to create a KV Instant namespace. Omit this field when creating a namespace to create a classic namespace. Currently, `instant` is the only supported explicit value.", @@ -20,8 +25,8 @@ export const workers$$kv_create_namespace_body: JsonSchema = { "type": "string" }, "title": { - "$ref": "#/$defs/workers-kv_namespace_title", - "description": "Human-readable string name for a Workers KV namespace." + "description": "Human-readable string name for a Workers KV namespace.", + "type": "string" } }, "required": [ @@ -36,8 +41,8 @@ export const workers$$kv_create_namespace_body: JsonSchema = { export const workers$$kv_create_rename_namespace_body: JsonSchema = { "properties": { "title": { - "$ref": "#/$defs/workers-kv_namespace_title", - "description": "Human-readable string name for a Workers KV namespace." + "description": "Human-readable string name for a Workers KV namespace.", + "type": "string" } }, "required": [ @@ -45,24 +50,3 @@ export const workers$$kv_create_rename_namespace_body: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `workers-kv_jurisdiction`. - */ -export const workers$$kv_jurisdiction: JsonSchema = { - "description": "Specify the jurisdiction to restrict the KV namespace to durably store data within. Can only be set at namespace creation time.", - "enum": [ - "eu", - "fedramp", - "us" - ], - "type": "string" -}; - -/** - * The schema of `workers-kv_namespace_title`. - */ -export const workers$$kv_namespace_title: JsonSchema = { - "description": "Human-readable string name for a Workers KV namespace.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/kv/namespaces/tools.ts b/src/generated/forge-mcp/kv/namespaces/tools.ts index 614156fe3..eeb04ae2e 100644 --- a/src/generated/forge-mcp/kv/namespaces/tools.ts +++ b/src/generated/forge-mcp/kv/namespaces/tools.ts @@ -7,25 +7,15 @@ import { workers$$kv_api$$response$$common$$failure, workers$$kv_api$$response$$common$$no$$result, workers$$kv_messages, - workers$$kv_namespace_identifier, } from "../outputs.js"; -import { - workers$$kv_identifier, - workers$$kv_namespace_identifier as workers$$kv_namespace_identifier$, -} from "../schemas.js"; import { workers$$kv_api$$response$$collection, - workers$$kv_jurisdiction, workers$$kv_namespace, - workers$$kv_namespace_mode, - workers$$kv_namespace_title, workers$$kv_result_info, } from "./outputs.js"; import { workers$$kv_create_namespace_body, workers$$kv_create_rename_namespace_body, - workers$$kv_jurisdiction as workers$$kv_jurisdiction$, - workers$$kv_namespace_title as workers$$kv_namespace_title$, } from "./schemas.js"; /** @@ -35,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "kv_namespaces_create", title: "Create a namespace", - description: "Creates a Workers KV namespace in the specified account with the given title. Returns `400` if the account already owns a namespace with that title; an existing namespace must be explicitly deleted before it can be replaced. An optional jurisdiction restricts where data is durably stored and can only be set at creation time.", + description: "Creates a Workers KV namespace in the specified account with the given title. Returns `400` if the account already owns a namespace with that title; an existing namespace must be explicitly deleted before it can be replaced. An optional jurisdiction restricts where data is durably stored and can only be set at creation time.\n\nPOST /accounts/{account_id}/storage/kv/namespaces", inputSchema: { type: "object", properties: { @@ -43,10 +33,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers-kv_create_namespace_body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" } }, "required": [ @@ -59,11 +50,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-kv_create_namespace_body": workers$$kv_create_namespace_body, - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_jurisdiction": workers$$kv_jurisdiction$, - "workers-kv_namespace_title": workers$$kv_namespace_title$, }, }, outputSchema: { @@ -82,12 +71,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers-kv_api-response-common": workers$$kv_api$$response$$common, - "workers-kv_jurisdiction": workers$$kv_jurisdiction, "workers-kv_messages": workers$$kv_messages, "workers-kv_namespace": workers$$kv_namespace, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - "workers-kv_namespace_mode": workers$$kv_namespace_mode, - "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, annotations: { @@ -128,12 +113,8 @@ export const tools: readonly Tool[] = [ $defs: { "workers-kv_api-response-common": workers$$kv_api$$response$$common, "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, - "workers-kv_jurisdiction": workers$$kv_jurisdiction, "workers-kv_messages": workers$$kv_messages, "workers-kv_namespace": workers$$kv_namespace, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - "workers-kv_namespace_mode": workers$$kv_namespace_mode, - "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, request: (args) => ({ @@ -144,19 +125,20 @@ export const tools: readonly Tool[] = [ { name: "kv_namespaces_delete", title: "Delete a namespace", - description: "Deletes the specified Workers KV namespace and its stored key-value pairs from the account.\n\nConfirm with the user before calling this tool. This operation deletes the selected Workers KV namespace and all of its key-value pairs.", + description: "Deletes the specified Workers KV namespace and its stored key-value pairs from the account.\n\nConfirm with the user before calling this tool. This operation deletes the selected Workers KV namespace and all of its key-value pairs.\n\nDELETE /accounts/{account_id}/storage/kv/namespaces/{namespace_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -169,10 +151,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers-kv_api-response-common-no-result", @@ -219,19 +198,20 @@ export const tools: readonly Tool[] = [ { name: "kv_namespaces_get", title: "Get a namespace", - description: "Returns the Workers KV namespace for the specified account and namespace ID.", + description: "Returns the Workers KV namespace for the specified account and namespace ID.\n\nGET /accounts/{account_id}/storage/kv/namespaces/{namespace_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -244,10 +224,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -265,12 +242,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers-kv_api-response-common": workers$$kv_api$$response$$common, - "workers-kv_jurisdiction": workers$$kv_jurisdiction, "workers-kv_messages": workers$$kv_messages, "workers-kv_namespace": workers$$kv_namespace, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - "workers-kv_namespace_mode": workers$$kv_namespace_mode, - "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, annotations: { @@ -312,12 +285,8 @@ export const tools: readonly Tool[] = [ $defs: { "workers-kv_api-response-common": workers$$kv_api$$response$$common, "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, - "workers-kv_jurisdiction": workers$$kv_jurisdiction, "workers-kv_messages": workers$$kv_messages, "workers-kv_namespace": workers$$kv_namespace, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - "workers-kv_namespace_mode": workers$$kv_namespace_mode, - "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, request: (args) => ({ @@ -327,15 +296,16 @@ export const tools: readonly Tool[] = [ { name: "kv_namespaces_list", title: "List namespaces", - description: "Lists Workers KV namespaces owned by the specified account. Use `page` and `per_page` to select a page of results, and `order` and `direction` to control sorting.", + description: "Lists Workers KV namespaces owned by the specified account. Use `page` and `per_page` to select a page of results, and `order` and `direction` to control sorting.\n\nGET /accounts/{account_id}/storage/kv/namespaces", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" } }, "required": [ @@ -344,6 +314,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Sort namespaces in ascending (`asc`) or descending (`desc`) order.", @@ -378,9 +349,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers-kv_identifier": workers$$kv_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -402,12 +371,8 @@ export const tools: readonly Tool[] = [ $defs: { "workers-kv_api-response-collection": workers$$kv_api$$response$$collection, "workers-kv_api-response-common": workers$$kv_api$$response$$common, - "workers-kv_jurisdiction": workers$$kv_jurisdiction, "workers-kv_messages": workers$$kv_messages, "workers-kv_namespace": workers$$kv_namespace, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - "workers-kv_namespace_mode": workers$$kv_namespace_mode, - "workers-kv_namespace_title": workers$$kv_namespace_title, "workers-kv_result_info": workers$$kv_result_info, }, }, @@ -454,12 +419,8 @@ export const tools: readonly Tool[] = [ "workers-kv_api-response-collection": workers$$kv_api$$response$$collection, "workers-kv_api-response-common": workers$$kv_api$$response$$common, "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, - "workers-kv_jurisdiction": workers$$kv_jurisdiction, "workers-kv_messages": workers$$kv_messages, "workers-kv_namespace": workers$$kv_namespace, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - "workers-kv_namespace_mode": workers$$kv_namespace_mode, - "workers-kv_namespace_title": workers$$kv_namespace_title, "workers-kv_result_info": workers$$kv_result_info, }, }, @@ -476,7 +437,7 @@ export const tools: readonly Tool[] = [ { name: "kv_namespaces_update", title: "Rename a namespace", - description: "Changes the title of the specified Workers KV namespace and returns the updated namespace. The namespace ID and stored key-value pairs are unchanged.", + description: "Changes the title of the specified Workers KV namespace and returns the updated namespace. The namespace ID and stored key-value pairs are unchanged.\n\nPUT /accounts/{account_id}/storage/kv/namespaces/{namespace_id}", inputSchema: { type: "object", properties: { @@ -484,14 +445,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers-kv_create_rename_namespace_body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers-kv_identifier", - "description": "ID of the Cloudflare account that owns the Workers KV namespaces." + "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers-kv_namespace_identifier", - "description": "ID of the Workers KV namespace." + "description": "ID of the Workers KV namespace.", + "type": "string" } }, "required": [ @@ -505,11 +467,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-kv_create_rename_namespace_body": workers$$kv_create_rename_namespace_body, - "workers-kv_identifier": workers$$kv_identifier, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier$, - "workers-kv_namespace_title": workers$$kv_namespace_title$, }, }, outputSchema: { @@ -531,12 +491,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers-kv_api-response-common": workers$$kv_api$$response$$common, - "workers-kv_jurisdiction": workers$$kv_jurisdiction, "workers-kv_messages": workers$$kv_messages, "workers-kv_namespace": workers$$kv_namespace, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - "workers-kv_namespace_mode": workers$$kv_namespace_mode, - "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, annotations: { @@ -580,12 +536,8 @@ export const tools: readonly Tool[] = [ $defs: { "workers-kv_api-response-common": workers$$kv_api$$response$$common, "workers-kv_api-response-common-failure": workers$$kv_api$$response$$common$$failure, - "workers-kv_jurisdiction": workers$$kv_jurisdiction, "workers-kv_messages": workers$$kv_messages, "workers-kv_namespace": workers$$kv_namespace, - "workers-kv_namespace_identifier": workers$$kv_namespace_identifier, - "workers-kv_namespace_mode": workers$$kv_namespace_mode, - "workers-kv_namespace_title": workers$$kv_namespace_title, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/kv/outputs.ts b/src/generated/forge-mcp/kv/outputs.ts index 28dc67a94..d6d257af7 100644 --- a/src/generated/forge-mcp/kv/outputs.ts +++ b/src/generated/forge-mcp/kv/outputs.ts @@ -124,20 +124,6 @@ export const workers$$kv_api$$response$$common$$no$$result: JsonSchema = { ] }; -/** - * The schema of `workers-kv_expiration` in responses. - */ -export const workers$$kv_expiration: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `workers-kv_key_name` in responses. - */ -export const workers$$kv_key_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers-kv_list_metadata` in responses. */ @@ -166,10 +152,3 @@ export const workers$$kv_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `workers-kv_namespace_identifier` in responses. - */ -export const workers$$kv_namespace_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/kv/schemas.ts b/src/generated/forge-mcp/kv/schemas.ts index 89c157d29..b24e89887 100644 --- a/src/generated/forge-mcp/kv/schemas.ts +++ b/src/generated/forge-mcp/kv/schemas.ts @@ -35,38 +35,6 @@ export const workers$$kv_any: JsonSchema = { ] }; -/** - * The schema of `workers-kv_expiration`. - */ -export const workers$$kv_expiration: JsonSchema = { - "description": "Expires the key at a certain time, measured in number of seconds since the UNIX epoch.", - "type": "number" -}; - -/** - * The schema of `workers-kv_expiration_ttl`. - */ -export const workers$$kv_expiration_ttl: JsonSchema = { - "description": "Number of seconds until the key expires. Must be at least 60. Takes precedence over `expiration` when both are specified.", - "type": "number" -}; - -/** - * The schema of `workers-kv_identifier`. - */ -export const workers$$kv_identifier: JsonSchema = { - "description": "ID of the Cloudflare account that owns the Workers KV namespaces.", - "type": "string" -}; - -/** - * The schema of `workers-kv_key_name`. - */ -export const workers$$kv_key_name: JsonSchema = { - "description": "A key's name. The name may be at most 512 bytes. All printable, non-whitespace characters are valid. Use percent-encoding to define key names as part of a URL.", - "type": "string" -}; - /** * The schema of `workers-kv_list_metadata`. */ @@ -74,11 +42,3 @@ export const workers$$kv_list_metadata: JsonSchema = { "$ref": "#/$defs/workers-kv_any", "description": "Arbitrary JSON that is associated with a key." }; - -/** - * The schema of `workers-kv_namespace_identifier`. - */ -export const workers$$kv_namespace_identifier: JsonSchema = { - "description": "ID of the Workers KV namespace.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts b/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts index 7c63755fe..393ee756c 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/detections/outputs.ts @@ -38,7 +38,7 @@ export const waf$$product$$api$$bundle_api$$response$$collection: JsonSchema = { export const waf$$product$$api$$bundle_custom$$detection: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/waf-product-api-bundle_detection-id" + "type": "string" }, "password": { "type": "string" @@ -50,13 +50,6 @@ export const waf$$product$$api$$bundle_custom$$detection: JsonSchema = { "type": "object" }; -/** - * The schema of `waf-product-api-bundle_detection-id` in responses. - */ -export const waf$$product$$api$$bundle_detection$$id: JsonSchema = { - "$ref": "#/$defs/waf-product-api-bundle_identifier" -}; - /** * The schema of `waf-product-api-bundle_response-custom-detection` in * responses. diff --git a/src/generated/forge-mcp/leakedCredentialChecks/detections/schemas.ts b/src/generated/forge-mcp/leakedCredentialChecks/detections/schemas.ts index 8c715fa5d..c22c6dd59 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/detections/schemas.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/detections/schemas.ts @@ -10,8 +10,8 @@ export const waf$$product$$api$$bundle_custom$$detection: JsonSchema = { "description": "Defines a custom set of username/password expressions to match Leaked Credential Checks on.", "properties": { "id": { - "$ref": "#/$defs/waf-product-api-bundle_detection-id", - "description": "Defines the unique ID for this custom detection." + "description": "Defines the unique ID for this custom detection.", + "type": "string" }, "password": { "description": "Defines ehe ruleset expression to use in matching the password in a request.", @@ -24,11 +24,3 @@ export const waf$$product$$api$$bundle_custom$$detection: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `waf-product-api-bundle_detection-id`. - */ -export const waf$$product$$api$$bundle_detection$$id: JsonSchema = { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines the unique ID for this custom detection." -}; diff --git a/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts b/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts index 1b951bf45..5789d254b 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/detections/tools.ts @@ -5,22 +5,16 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { waf$$product$$api$$bundle_api$$response$$common, waf$$product$$api$$bundle_api$$response$$single, - waf$$product$$api$$bundle_identifier, waf$$product$$api$$bundle_messages, } from "../../outputs.js"; -import { waf$$product$$api$$bundle_identifier as waf$$product$$api$$bundle_identifier$ } from "../../schemas.js"; import { waf$$product$$api$$bundle_api$$response$$common$$failure } from "../outputs.js"; import { waf$$product$$api$$bundle_api$$response$$collection, waf$$product$$api$$bundle_custom$$detection, - waf$$product$$api$$bundle_detection$$id, waf$$product$$api$$bundle_response$$custom$$detection, waf$$product$$api$$bundle_response$$custom$$detection$$collection, } from "./outputs.js"; -import { - waf$$product$$api$$bundle_custom$$detection as waf$$product$$api$$bundle_custom$$detection$, - waf$$product$$api$$bundle_detection$$id as waf$$product$$api$$bundle_detection$$id$, -} from "./schemas.js"; +import { waf$$product$$api$$bundle_custom$$detection as waf$$product$$api$$bundle_custom$$detection$ } from "./schemas.js"; /** * The tools of `leakedCredentialChecks.detections`. @@ -29,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "leakedCredentialChecks_detections_create", title: "Create a custom detection location for a zone.", - description: "Create a detection location for credentials that the default scan locations do not cover, using Rules language expressions such as `lookup_json_string(http.request.body.raw, \"user\")`. Only the username expression is required, and Leaked Credential Checks must be enabled on the zone.", + description: "Create a detection location for credentials that the default scan locations do not cover, using Rules language expressions such as `lookup_json_string(http.request.body.raw, \"user\")`. Only the username expression is required, and Leaked Credential Checks must be enabled on the zone.\n\nPOST /zones/{zone_id}/leaked-credential-checks/detections", inputSchema: { type: "object", properties: { @@ -37,10 +31,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waf-product-api-bundle_custom-detection" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -53,10 +48,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection$, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id$, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { @@ -65,8 +59,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, @@ -107,8 +99,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, @@ -121,19 +111,20 @@ export const tools: readonly Tool[] = [ { name: "leakedCredentialChecks_detections_delete", title: "Delete a custom detection location from a zone.", - description: "Delete a user-defined detection location, identified by its detection ID. Incoming requests are then scanned using only the default scan locations and the detection locations that remain.\n\nConfirm with the user before calling this tool. This operation deletes a Leaked Credential Checks custom detection location.", + description: "Delete a user-defined detection location, identified by its detection ID. Incoming requests are then scanned using only the default scan locations and the detection locations that remain.\n\nConfirm with the user before calling this tool. This operation deletes a Leaked Credential Checks custom detection location.\n\nDELETE /zones/{zone_id}/leaked-credential-checks/detections/{detection_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "detection_id": { - "$ref": "#/$defs/waf-product-api-bundle_detection-id", - "description": "Defines the unique ID for this custom detection." + "description": "Defines the unique ID for this custom detection.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -146,10 +137,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id$, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_api-response-common", @@ -195,19 +183,20 @@ export const tools: readonly Tool[] = [ { name: "leakedCredentialChecks_detections_get", title: "Get a custom detection location of a zone.", - description: "Get the username and password expressions of a single user-defined detection location, identified by its detection ID.", + description: "Get the username and password expressions of a single user-defined detection location, identified by its detection ID.\n\nGET /zones/{zone_id}/leaked-credential-checks/detections/{detection_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "detection_id": { - "$ref": "#/$defs/waf-product-api-bundle_detection-id", - "description": "Defines the unique ID for this custom detection." + "description": "Defines the unique ID for this custom detection.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -220,10 +209,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id$, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection", @@ -231,8 +217,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, @@ -275,8 +259,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, @@ -288,15 +270,16 @@ export const tools: readonly Tool[] = [ { name: "leakedCredentialChecks_detections_list", title: "List the custom detection locations of a zone.", - description: "List the user-defined detection locations configured for Leaked Credential Checks, each with its own identifier. A custom detection location tells the WAF where to find the username and password in requests to your application.", + description: "List the user-defined detection locations configured for Leaked Credential Checks, each with its own identifier. A custom detection location tells the WAF where to find the username and password in requests to your application.\n\nGET /zones/{zone_id}/leaked-credential-checks/detections", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -308,9 +291,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-custom-detection-collection", @@ -318,8 +299,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-collection": waf$$product$$api$$bundle_api$$response$$collection, "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-detection-collection": waf$$product$$api$$bundle_response$$custom$$detection$$collection, }, @@ -362,8 +341,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-detection-collection": waf$$product$$api$$bundle_response$$custom$$detection$$collection, }, @@ -375,7 +352,7 @@ export const tools: readonly Tool[] = [ { name: "leakedCredentialChecks_detections_update", title: "Update a custom detection location of a zone.", - description: "Update the username and password expressions of an existing detection location, identified by its detection ID. Both expressions are overwritten, so omitting the password expression clears it.", + description: "Update the username and password expressions of an existing detection location, identified by its detection ID. Both expressions are overwritten, so omitting the password expression clears it.\n\nPUT /zones/{zone_id}/leaked-credential-checks/detections/{detection_id}", inputSchema: { type: "object", properties: { @@ -383,14 +360,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waf-product-api-bundle_custom-detection" }, "path": { + "additionalProperties": false, "properties": { "detection_id": { - "$ref": "#/$defs/waf-product-api-bundle_detection-id", - "description": "Defines the unique ID for this custom detection." + "description": "Defines the unique ID for this custom detection.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -404,10 +382,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection$, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id$, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier$, }, }, outputSchema: { @@ -416,8 +393,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common": waf$$product$$api$$bundle_api$$response$$common, "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, @@ -458,8 +433,6 @@ export const tools: readonly Tool[] = [ "waf-product-api-bundle_api-response-common-failure": waf$$product$$api$$bundle_api$$response$$common$$failure, "waf-product-api-bundle_api-response-single": waf$$product$$api$$bundle_api$$response$$single, "waf-product-api-bundle_custom-detection": waf$$product$$api$$bundle_custom$$detection, - "waf-product-api-bundle_detection-id": waf$$product$$api$$bundle_detection$$id, - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_messages": waf$$product$$api$$bundle_messages, "waf-product-api-bundle_response-custom-detection": waf$$product$$api$$bundle_response$$custom$$detection, }, diff --git a/src/generated/forge-mcp/leakedCredentialChecks/tools.ts b/src/generated/forge-mcp/leakedCredentialChecks/tools.ts index e80650131..ee51b1a0b 100644 --- a/src/generated/forge-mcp/leakedCredentialChecks/tools.ts +++ b/src/generated/forge-mcp/leakedCredentialChecks/tools.ts @@ -7,7 +7,6 @@ import { waf$$product$$api$$bundle_api$$response$$single, waf$$product$$api$$bundle_messages, } from "../outputs.js"; -import { waf$$product$$api$$bundle_identifier } from "../schemas.js"; import { waf$$product$$api$$bundle_api$$response$$common$$failure, waf$$product$$api$$bundle_response$$status, @@ -22,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "leakedCredentialChecks_get", title: "Get the Leaked Credential Checks status for a zone.", - description: "Get the current Leaked Credential Checks status for the zone. While enabled, Cloudflare scans incoming requests for usernames and passwords that were exposed in known data breaches.", + description: "Get the current Leaked Credential Checks status for the zone. While enabled, Cloudflare scans incoming requests for usernames and passwords that were exposed in known data breaches.\n\nGET /zones/{zone_id}/leaked-credential-checks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -42,9 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waf-product-api-bundle_response-status", @@ -105,7 +103,7 @@ export const tools: readonly Tool[] = [ { name: "leakedCredentialChecks_update", title: "Update the Leaked Credential Checks status for a zone.", - description: "Update the Leaked Credential Checks status for the zone, enabling or disabling the detection. While enabled, the detection populates the `cf.waf.credential_check.*` fields, which you can reference in custom rules and rate limiting rules to challenge or block requests carrying compromised credentials.\n\nConfirm with the user before calling this tool. This operation toggles Leaked Credential Checks for a zone.", + description: "Update the Leaked Credential Checks status for the zone, enabling or disabling the detection. While enabled, the detection populates the `cf.waf.credential_check.*` fields, which you can reference in custom rules and rate limiting rules to challenge or block requests carrying compromised credentials.\n\nConfirm with the user before calling this tool. This operation toggles Leaked Credential Checks for a zone.\n\nPOST /zones/{zone_id}/leaked-credential-checks", inputSchema: { type: "object", properties: { @@ -113,10 +111,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waf-product-api-bundle_status" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waf-product-api-bundle_identifier", - "description": "Defines an identifier." + "description": "Defines an identifier.", + "type": "string" } }, "required": [ @@ -129,8 +128,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "waf-product-api-bundle_identifier": waf$$product$$api$$bundle_identifier, "waf-product-api-bundle_status": waf$$product$$api$$bundle_status$, }, }, diff --git a/src/generated/forge-mcp/live/tools.ts b/src/generated/forge-mcp/live/tools.ts index 2dce56159..13cc5d8d2 100644 --- a/src/generated/forge-mcp/live/tools.ts +++ b/src/generated/forge-mcp/live/tools.ts @@ -11,10 +11,11 @@ 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.\n\nGET /live", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/loadBalancers/account/outputs.ts b/src/generated/forge-mcp/loadBalancers/account/outputs.ts index b5caaebd8..3c016ac35 100644 --- a/src/generated/forge-mcp/loadBalancers/account/outputs.ts +++ b/src/generated/forge-mcp/loadBalancers/account/outputs.ts @@ -15,20 +15,6 @@ export const load$$balancing_adaptive_routing: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_components-schemas-description` in responses. - */ -export const load$$balancing_components$$schemas$$description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_components-schemas-enabled` in responses. - */ -export const load$$balancing_components$$schemas$$enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `load-balancing_components-schemas-id_response` in responses. */ @@ -42,7 +28,7 @@ export const load$$balancing_components$$schemas$$id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "type": "string" } }, "type": "object" @@ -53,20 +39,6 @@ export const load$$balancing_components$$schemas$$id_response: JsonSchema = { ] }; -/** - * The schema of `load-balancing_components-schemas-name` in responses. - */ -export const load$$balancing_components$$schemas$$name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_components-schemas-zone-name` in responses. - */ -export const load$$balancing_components$$schemas$$zone$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `load-balancing_country_pools` in responses. */ @@ -90,13 +62,6 @@ export const load$$balancing_default_pools: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_fallback_pool` in responses. - */ -export const load$$balancing_fallback_pool: JsonSchema = { - "type": "string" -}; - /** * The schema of `load-balancing_fixed_response` in responses. */ @@ -130,31 +95,33 @@ export const load$$balancing_load$$balancer: JsonSchema = { "$ref": "#/$defs/load-balancing_country_pools" }, "created_on": { - "$ref": "#/$defs/load-balancing_timestamp" + "format": "date-time", + "type": "string" }, "default_pools": { "$ref": "#/$defs/load-balancing_default_pools" }, "description": { - "$ref": "#/$defs/load-balancing_components-schemas-description" + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_components-schemas-enabled" + "type": "boolean" }, "fallback_pool": { - "$ref": "#/$defs/load-balancing_fallback_pool" + "type": "string" }, "id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "type": "string" }, "location_strategy": { "$ref": "#/$defs/load-balancing_location_strategy" }, "modified_on": { - "$ref": "#/$defs/load-balancing_timestamp" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/load-balancing_components-schemas-name" + "type": "string" }, "networks": { "$ref": "#/$defs/load-balancing_networks" @@ -166,7 +133,7 @@ export const load$$balancing_load$$balancer: JsonSchema = { "$ref": "#/$defs/load-balancing_pop_pools" }, "proxied": { - "$ref": "#/$defs/load-balancing_proxied" + "type": "boolean" }, "random_steering": { "$ref": "#/$defs/load-balancing_random_steering" @@ -178,35 +145,43 @@ export const load$$balancing_load$$balancer: JsonSchema = { "$ref": "#/$defs/load-balancing_rules" }, "session_affinity": { - "$ref": "#/$defs/load-balancing_session_affinity" + "enum": [ + "none", + "cookie", + "ip_cookie", + "header" + ], + "type": "string" }, "session_affinity_attributes": { "$ref": "#/$defs/load-balancing_session_affinity_attributes" }, "session_affinity_ttl": { - "$ref": "#/$defs/load-balancing_session_affinity_ttl" + "type": "number" }, "steering_policy": { - "$ref": "#/$defs/load-balancing_steering_policy" + "enum": [ + "off", + "geo", + "random", + "dynamic_latency", + "proximity", + "least_outstanding_requests", + "least_connections", + "" + ], + "type": "string" }, "ttl": { - "$ref": "#/$defs/load-balancing_ttl" + "type": "number" }, "zone_name": { - "$ref": "#/$defs/load-balancing_components-schemas-zone-name" + "type": "string" } }, "type": "object" }; -/** - * The schema of `load-balancing_load-balancer_components-schemas-identifier` in - * responses. - */ -export const load$$balancing_load$$balancer_components$$schemas$$identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of * `load-balancing_load-balancer_components-schemas-response_collection` in @@ -292,13 +267,6 @@ export const load$$balancing_match: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_pool_default_weight` in responses. - */ -export const load$$balancing_pool_default_weight: JsonSchema = { - "type": "number" -}; - /** * The schema of `load-balancing_pool_set` in responses. */ @@ -329,10 +297,10 @@ export const load$$balancing_pool_set: JsonSchema = { export const load$$balancing_pool_set_overrides: JsonSchema = { "properties": { "fallback_pool": { - "$ref": "#/$defs/load-balancing_fallback_pool" + "type": "string" }, "pool_default_weight": { - "$ref": "#/$defs/load-balancing_pool_default_weight" + "type": "number" }, "pool_weights": { "$ref": "#/$defs/load-balancing_pool_weights" @@ -341,7 +309,17 @@ export const load$$balancing_pool_set_overrides: JsonSchema = { "$ref": "#/$defs/load-balancing_pools" }, "steering_policy": { - "$ref": "#/$defs/load-balancing_steering_policy" + "enum": [ + "off", + "geo", + "random", + "dynamic_latency", + "proximity", + "least_outstanding_requests", + "least_connections", + "" + ], + "type": "string" } }, "type": "object" @@ -390,13 +368,6 @@ export const load$$balancing_pop_pools: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_proxied` in responses. - */ -export const load$$balancing_proxied: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `load-balancing_random_steering` in responses. */ @@ -443,13 +414,13 @@ export const load$$balancing_rule_overrides: JsonSchema = { "$ref": "#/$defs/load-balancing_default_pools" }, "fallback_pool": { - "$ref": "#/$defs/load-balancing_fallback_pool" + "type": "string" }, "location_strategy": { "$ref": "#/$defs/load-balancing_location_strategy" }, "pool_default_weight": { - "$ref": "#/$defs/load-balancing_pool_default_weight" + "type": "number" }, "pool_weights": { "$ref": "#/$defs/load-balancing_pool_weights" @@ -467,19 +438,35 @@ export const load$$balancing_rule_overrides: JsonSchema = { "$ref": "#/$defs/load-balancing_region_pools" }, "session_affinity": { - "$ref": "#/$defs/load-balancing_session_affinity" + "enum": [ + "none", + "cookie", + "ip_cookie", + "header" + ], + "type": "string" }, "session_affinity_attributes": { "$ref": "#/$defs/load-balancing_session_affinity_attributes" }, "session_affinity_ttl": { - "$ref": "#/$defs/load-balancing_session_affinity_ttl" + "type": "number" }, "steering_policy": { - "$ref": "#/$defs/load-balancing_steering_policy" + "enum": [ + "off", + "geo", + "random", + "dynamic_latency", + "proximity", + "least_outstanding_requests", + "least_connections", + "" + ], + "type": "string" }, "ttl": { - "$ref": "#/$defs/load-balancing_ttl" + "type": "number" } }, "type": "object" @@ -518,19 +505,6 @@ export const load$$balancing_rules: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_session_affinity` in responses. - */ -export const load$$balancing_session_affinity: JsonSchema = { - "enum": [ - "none", - "cookie", - "ip_cookie", - "header" - ], - "type": "string" -}; - /** * The schema of `load-balancing_session_affinity_attributes` in responses. */ @@ -577,30 +551,6 @@ export const load$$balancing_session_affinity_attributes: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_session_affinity_ttl` in responses. - */ -export const load$$balancing_session_affinity_ttl: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `load-balancing_steering_policy` in responses. - */ -export const load$$balancing_steering_policy: JsonSchema = { - "enum": [ - "off", - "geo", - "random", - "dynamic_latency", - "proximity", - "least_outstanding_requests", - "least_connections", - "" - ], - "type": "string" -}; - /** * The schema of `load-balancing_topology_match` in responses. */ @@ -630,10 +580,3 @@ export const load$$balancing_topology_match: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `load-balancing_ttl` in responses. - */ -export const load$$balancing_ttl: JsonSchema = { - "type": "number" -}; diff --git a/src/generated/forge-mcp/loadBalancers/account/schemas.ts b/src/generated/forge-mcp/loadBalancers/account/schemas.ts index 25ebf1581..4502d03a8 100644 --- a/src/generated/forge-mcp/loadBalancers/account/schemas.ts +++ b/src/generated/forge-mcp/loadBalancers/account/schemas.ts @@ -18,30 +18,6 @@ export const load$$balancing_adaptive_routing: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_components-schemas-description`. - */ -export const load$$balancing_components$$schemas$$description: JsonSchema = { - "description": "Object description.", - "type": "string" -}; - -/** - * The schema of `load-balancing_components-schemas-enabled`. - */ -export const load$$balancing_components$$schemas$$enabled: JsonSchema = { - "description": "Whether to enable (the default) this load balancer.", - "type": "boolean" -}; - -/** - * The schema of `load-balancing_components-schemas-name`. - */ -export const load$$balancing_components$$schemas$$name: JsonSchema = { - "description": "The DNS hostname to associate with your Load Balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the Load Balancer will take precedence and the DNS record will not be used.", - "type": "string" -}; - /** * The schema of `load-balancing_country_pools`. */ @@ -67,14 +43,6 @@ export const load$$balancing_default_pools: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_fallback_pool`. - */ -export const load$$balancing_fallback_pool: JsonSchema = { - "description": "The pool ID to use when all other pools are detected as unhealthy.", - "type": "string" -}; - /** * The schema of `load-balancing_fixed_response`. */ @@ -120,25 +88,25 @@ export const load$$balancing_load$$balancer$$editable: JsonSchema = { "description": "A list of pool IDs ordered by their failover priority. Pools defined here are used by default, or when region_pools are not configured for a given region." }, "description": { - "$ref": "#/$defs/load-balancing_components-schemas-description", - "description": "Object description." + "description": "Object description.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_components-schemas-enabled", "default": true, - "description": "Whether to enable (the default) this load balancer." + "description": "Whether to enable (the default) this load balancer.", + "type": "boolean" }, "fallback_pool": { - "$ref": "#/$defs/load-balancing_fallback_pool", - "description": "The pool ID to use when all other pools are detected as unhealthy." + "description": "The pool ID to use when all other pools are detected as unhealthy.", + "type": "string" }, "location_strategy": { "$ref": "#/$defs/load-balancing_location_strategy", "description": "Controls location-based steering for non-proxied requests. See `steering_policy` to learn how steering is affected." }, "name": { - "$ref": "#/$defs/load-balancing_components-schemas-name", - "description": "The DNS hostname to associate with your Load Balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the Load Balancer will take precedence and the DNS record will not be used." + "description": "The DNS hostname to associate with your Load Balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the Load Balancer will take precedence and the DNS record will not be used.", + "type": "string" }, "networks": { "$ref": "#/$defs/load-balancing_networks", @@ -149,9 +117,9 @@ export const load$$balancing_load$$balancer$$editable: JsonSchema = { "description": "Enterprise only: A mapping of Cloudflare PoP identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). Any PoPs not explicitly defined will fall back to using the corresponding country_pool, then region_pool mapping if it exists else to default_pools." }, "proxied": { - "$ref": "#/$defs/load-balancing_proxied", "default": false, - "description": "Whether the hostname should be gray clouded (false) or orange clouded (true)." + "description": "Whether the hostname should be gray clouded (false) or orange clouded (true).", + "type": "boolean" }, "random_steering": { "$ref": "#/$defs/load-balancing_random_steering", @@ -166,38 +134,47 @@ export const load$$balancing_load$$balancer$$editable: JsonSchema = { "description": "BETA Field Not General Access: A list of rules for this load balancer to execute." }, "session_affinity": { - "$ref": "#/$defs/load-balancing_session_affinity", "default": "none", - "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration." + "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration.", + "enum": [ + "none", + "cookie", + "ip_cookie", + "header" + ], + "type": "string" }, "session_affinity_attributes": { "$ref": "#/$defs/load-balancing_session_affinity_attributes", "description": "Configures attributes for session affinity." }, "session_affinity_ttl": { - "$ref": "#/$defs/load-balancing_session_affinity_ttl", - "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified." + "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified.", + "type": "number" }, "steering_policy": { - "$ref": "#/$defs/load-balancing_steering_policy", "default": "", - "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`." + "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`.", + "enum": [ + "off", + "geo", + "random", + "dynamic_latency", + "proximity", + "least_outstanding_requests", + "least_connections", + "" + ], + "type": "string" }, "ttl": { - "$ref": "#/$defs/load-balancing_ttl", - "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers." + "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers.", + "type": "number" } }, "type": "object" }; -/** - * The schema of `load-balancing_load-balancer_components-schemas-identifier`. - */ -export const load$$balancing_load$$balancer_components$$schemas$$identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `load-balancing_location_strategy`. */ @@ -228,14 +205,6 @@ export const load$$balancing_location_strategy: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_pool_default_weight`. - */ -export const load$$balancing_pool_default_weight: JsonSchema = { - "description": "The default weight for pools not listed in `pool_weights`. The declarative alternative to `random_steering.default_weight`; mutually exclusive with `random_steering`.", - "type": "number" -}; - /** * The schema of `load-balancing_pool_weights`. */ @@ -272,14 +241,6 @@ export const load$$balancing_pop_pools: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_proxied`. - */ -export const load$$balancing_proxied: JsonSchema = { - "description": "Whether the hostname should be gray clouded (false) or orange clouded (true).", - "type": "boolean" -}; - /** * The schema of `load-balancing_random_steering`. */ @@ -335,16 +296,16 @@ export const load$$balancing_rule_overrides: JsonSchema = { "description": "A list of pool IDs ordered by their failover priority. Pools defined here are used by default, or when region_pools are not configured for a given region." }, "fallback_pool": { - "$ref": "#/$defs/load-balancing_fallback_pool", - "description": "The pool ID to use when all other pools are detected as unhealthy." + "description": "The pool ID to use when all other pools are detected as unhealthy.", + "type": "string" }, "location_strategy": { "$ref": "#/$defs/load-balancing_location_strategy", "description": "Controls location-based steering for non-proxied requests. See `steering_policy` to learn how steering is affected." }, "pool_default_weight": { - "$ref": "#/$defs/load-balancing_pool_default_weight", - "description": "The default weight for pools not listed in `pool_weights`. The declarative alternative to `random_steering.default_weight`; mutually exclusive with `random_steering`." + "description": "The default weight for pools not listed in `pool_weights`. The declarative alternative to `random_steering.default_weight`; mutually exclusive with `random_steering`.", + "type": "number" }, "pool_weights": { "$ref": "#/$defs/load-balancing_pool_weights", @@ -367,26 +328,42 @@ export const load$$balancing_rule_overrides: JsonSchema = { "description": "A mapping of region codes to a list of pool IDs (ordered by their failover priority) for the given region. Any regions not explicitly defined will fall back to using default_pools." }, "session_affinity": { - "$ref": "#/$defs/load-balancing_session_affinity", "default": "none", - "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration." + "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration.", + "enum": [ + "none", + "cookie", + "ip_cookie", + "header" + ], + "type": "string" }, "session_affinity_attributes": { "$ref": "#/$defs/load-balancing_session_affinity_attributes", "description": "Configures attributes for session affinity." }, "session_affinity_ttl": { - "$ref": "#/$defs/load-balancing_session_affinity_ttl", - "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified." + "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified.", + "type": "number" }, "steering_policy": { - "$ref": "#/$defs/load-balancing_steering_policy", "default": "", - "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`." + "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`.", + "enum": [ + "off", + "geo", + "random", + "dynamic_latency", + "proximity", + "least_outstanding_requests", + "least_connections", + "" + ], + "type": "string" }, "ttl": { - "$ref": "#/$defs/load-balancing_ttl", - "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers." + "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers.", + "type": "number" } }, "type": "object" @@ -435,20 +412,6 @@ export const load$$balancing_rules: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_session_affinity`. - */ -export const load$$balancing_session_affinity: JsonSchema = { - "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration.", - "enum": [ - "none", - "cookie", - "ip_cookie", - "header" - ], - "type": "string" -}; - /** * The schema of `load-balancing_session_affinity_attributes`. */ @@ -506,37 +469,3 @@ export const load$$balancing_session_affinity_attributes: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `load-balancing_session_affinity_ttl`. - */ -export const load$$balancing_session_affinity_ttl: JsonSchema = { - "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified.", - "type": "number" -}; - -/** - * The schema of `load-balancing_steering_policy`. - */ -export const load$$balancing_steering_policy: JsonSchema = { - "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`.", - "enum": [ - "off", - "geo", - "random", - "dynamic_latency", - "proximity", - "least_outstanding_requests", - "least_connections", - "" - ], - "type": "string" -}; - -/** - * The schema of `load-balancing_ttl`. - */ -export const load$$balancing_ttl: JsonSchema = { - "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers.", - "type": "number" -}; diff --git a/src/generated/forge-mcp/loadBalancers/account/tools.ts b/src/generated/forge-mcp/loadBalancers/account/tools.ts index 49a6246c0..596330dbe 100644 --- a/src/generated/forge-mcp/loadBalancers/account/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/account/tools.ts @@ -10,72 +10,47 @@ import { load$$balancing_messages, load$$balancing_networks, load$$balancing_result_info, - load$$balancing_timestamp, } from "../../outputs.js"; import { load$$balancing_networks as load$$balancing_networks$ } from "../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; import { load$$balancing_adaptive_routing, - load$$balancing_components$$schemas$$description, - load$$balancing_components$$schemas$$enabled, load$$balancing_components$$schemas$$id_response, - load$$balancing_components$$schemas$$name, - load$$balancing_components$$schemas$$zone$$name, load$$balancing_country_pools, load$$balancing_default_pools, - load$$balancing_fallback_pool, load$$balancing_fixed_response, load$$balancing_load$$balancer, - load$$balancing_load$$balancer_components$$schemas$$identifier, load$$balancing_load$$balancer_components$$schemas$$response_collection, load$$balancing_load$$balancer_components$$schemas$$single_response, load$$balancing_location_strategy, load$$balancing_match, - load$$balancing_pool_default_weight, load$$balancing_pool_set, load$$balancing_pool_set_overrides, load$$balancing_pool_sets, load$$balancing_pool_weights, load$$balancing_pools, load$$balancing_pop_pools, - load$$balancing_proxied, load$$balancing_random_steering, load$$balancing_region_pools, load$$balancing_rule_overrides, load$$balancing_rules, - load$$balancing_session_affinity, load$$balancing_session_affinity_attributes, - load$$balancing_session_affinity_ttl, - load$$balancing_steering_policy, load$$balancing_topology_match, - load$$balancing_ttl, } from "./outputs.js"; import { load$$balancing_adaptive_routing as load$$balancing_adaptive_routing$, - load$$balancing_components$$schemas$$description as load$$balancing_components$$schemas$$description$, - load$$balancing_components$$schemas$$enabled as load$$balancing_components$$schemas$$enabled$, - load$$balancing_components$$schemas$$name as load$$balancing_components$$schemas$$name$, load$$balancing_country_pools as load$$balancing_country_pools$, load$$balancing_default_pools as load$$balancing_default_pools$, - load$$balancing_fallback_pool as load$$balancing_fallback_pool$, load$$balancing_fixed_response as load$$balancing_fixed_response$, load$$balancing_load$$balancer$$editable, - load$$balancing_load$$balancer_components$$schemas$$identifier as load$$balancing_load$$balancer_components$$schemas$$identifier$, load$$balancing_location_strategy as load$$balancing_location_strategy$, - load$$balancing_pool_default_weight as load$$balancing_pool_default_weight$, load$$balancing_pool_weights as load$$balancing_pool_weights$, load$$balancing_pools as load$$balancing_pools$, load$$balancing_pop_pools as load$$balancing_pop_pools$, - load$$balancing_proxied as load$$balancing_proxied$, load$$balancing_random_steering as load$$balancing_random_steering$, load$$balancing_region_pools as load$$balancing_region_pools$, load$$balancing_rule_overrides as load$$balancing_rule_overrides$, load$$balancing_rules as load$$balancing_rules$, - load$$balancing_session_affinity as load$$balancing_session_affinity$, load$$balancing_session_affinity_attributes as load$$balancing_session_affinity_attributes$, - load$$balancing_session_affinity_ttl as load$$balancing_session_affinity_ttl$, - load$$balancing_steering_policy as load$$balancing_steering_policy$, - load$$balancing_ttl as load$$balancing_ttl$, } from "./schemas.js"; /** @@ -85,7 +60,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_account_create", title: "Create account or zone Load Balancer", - description: "Create a new account or zone-scoped load balancer.", + description: "Create a new account or zone-scoped load balancer.\n\nPOST /{account_or_zone}/{account_or_zone_id}/load_balancers", inputSchema: { type: "object", properties: { @@ -104,25 +79,25 @@ export const tools: readonly Tool[] = [ "description": "A list of pool IDs ordered by their failover priority. Pools defined here are used by default, or when region_pools are not configured for a given region." }, "description": { - "$ref": "#/$defs/load-balancing_components-schemas-description", - "description": "Object description." + "description": "Object description.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_components-schemas-enabled", "default": true, - "description": "Whether to enable (the default) this load balancer." + "description": "Whether to enable (the default) this load balancer.", + "type": "boolean" }, "fallback_pool": { - "$ref": "#/$defs/load-balancing_fallback_pool", - "description": "The pool ID to use when all other pools are detected as unhealthy." + "description": "The pool ID to use when all other pools are detected as unhealthy.", + "type": "string" }, "location_strategy": { "$ref": "#/$defs/load-balancing_location_strategy", "description": "Controls location-based steering for non-proxied requests. See `steering_policy` to learn how steering is affected." }, "name": { - "$ref": "#/$defs/load-balancing_components-schemas-name", - "description": "The DNS hostname to associate with your Load Balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the Load Balancer will take precedence and the DNS record will not be used." + "description": "The DNS hostname to associate with your Load Balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the Load Balancer will take precedence and the DNS record will not be used.", + "type": "string" }, "networks": { "$ref": "#/$defs/load-balancing_networks", @@ -133,9 +108,9 @@ export const tools: readonly Tool[] = [ "description": "Enterprise only: A mapping of Cloudflare PoP identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). Any PoPs not explicitly defined will fall back to using the corresponding country_pool, then region_pool mapping if it exists else to default_pools." }, "proxied": { - "$ref": "#/$defs/load-balancing_proxied", "default": false, - "description": "Whether the hostname should be gray clouded (false) or orange clouded (true)." + "description": "Whether the hostname should be gray clouded (false) or orange clouded (true).", + "type": "boolean" }, "random_steering": { "$ref": "#/$defs/load-balancing_random_steering", @@ -150,26 +125,42 @@ export const tools: readonly Tool[] = [ "description": "BETA Field Not General Access: A list of rules for this load balancer to execute." }, "session_affinity": { - "$ref": "#/$defs/load-balancing_session_affinity", "default": "none", - "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration." + "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration.", + "enum": [ + "none", + "cookie", + "ip_cookie", + "header" + ], + "type": "string" }, "session_affinity_attributes": { "$ref": "#/$defs/load-balancing_session_affinity_attributes", "description": "Configures attributes for session affinity." }, "session_affinity_ttl": { - "$ref": "#/$defs/load-balancing_session_affinity_ttl", - "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified." + "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified.", + "type": "number" }, "steering_policy": { - "$ref": "#/$defs/load-balancing_steering_policy", "default": "", - "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`." + "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`.", + "enum": [ + "off", + "geo", + "random", + "dynamic_latency", + "proximity", + "least_outstanding_requests", + "least_connections", + "" + ], + "type": "string" }, "ttl": { - "$ref": "#/$defs/load-balancing_ttl", - "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers." + "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers.", + "type": "number" } }, "required": [ @@ -180,6 +171,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -190,8 +182,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -205,32 +197,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "load-balancing_adaptive_routing": load$$balancing_adaptive_routing$, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description$, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled$, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name$, "load-balancing_country_pools": load$$balancing_country_pools$, "load-balancing_default_pools": load$$balancing_default_pools$, - "load-balancing_fallback_pool": load$$balancing_fallback_pool$, "load-balancing_fixed_response": load$$balancing_fixed_response$, "load-balancing_location_strategy": load$$balancing_location_strategy$, "load-balancing_networks": load$$balancing_networks$, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight$, "load-balancing_pool_weights": load$$balancing_pool_weights$, "load-balancing_pools": load$$balancing_pools$, "load-balancing_pop_pools": load$$balancing_pop_pools$, - "load-balancing_proxied": load$$balancing_proxied$, "load-balancing_random_steering": load$$balancing_random_steering$, "load-balancing_region_pools": load$$balancing_region_pools$, "load-balancing_rule_overrides": load$$balancing_rule_overrides$, "load-balancing_rules": load$$balancing_rules$, - "load-balancing_session_affinity": load$$balancing_session_affinity$, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes$, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl$, - "load-balancing_steering_policy": load$$balancing_steering_policy$, - "load-balancing_ttl": load$$balancing_ttl$, }, }, outputSchema: { @@ -239,40 +221,27 @@ export const tools: readonly Tool[] = [ "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -303,40 +272,27 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ @@ -347,11 +303,12 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_account_delete", title: "Delete account or zone Load Balancer", - description: "Delete a configured account or zone-scoped load balancer.", + description: "Delete a configured account or zone-scoped load balancer.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/load_balancers/{load_balancer_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -362,11 +319,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "load_balancer_id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "type": "string" } }, "required": [ @@ -380,10 +337,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_components-schemas-id_response", @@ -391,7 +345,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_components-schemas-id_response": load$$balancing_components$$schemas$$id_response, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_messages": load$$balancing_messages, }, }, @@ -423,7 +376,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_components-schemas-id_response": load$$balancing_components$$schemas$$id_response, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_messages": load$$balancing_messages, }, }, @@ -434,7 +386,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_account_edit", title: "Patch account or zone Load Balancer", - description: "Apply changes to an existing account or zone-scoped load balancer, overwriting the supplied properties.", + description: "Apply changes to an existing account or zone-scoped load balancer, overwriting the supplied properties.\n\nPATCH /{account_or_zone}/{account_or_zone_id}/load_balancers/{load_balancer_id}", inputSchema: { type: "object", properties: { @@ -442,6 +394,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_load-balancer-editable" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -452,11 +405,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "load_balancer_id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "type": "string" } }, "required": [ @@ -471,34 +424,23 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "load-balancing_adaptive_routing": load$$balancing_adaptive_routing$, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description$, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled$, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name$, "load-balancing_country_pools": load$$balancing_country_pools$, "load-balancing_default_pools": load$$balancing_default_pools$, - "load-balancing_fallback_pool": load$$balancing_fallback_pool$, "load-balancing_fixed_response": load$$balancing_fixed_response$, "load-balancing_load-balancer-editable": load$$balancing_load$$balancer$$editable, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier$, "load-balancing_location_strategy": load$$balancing_location_strategy$, "load-balancing_networks": load$$balancing_networks$, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight$, "load-balancing_pool_weights": load$$balancing_pool_weights$, "load-balancing_pools": load$$balancing_pools$, "load-balancing_pop_pools": load$$balancing_pop_pools$, - "load-balancing_proxied": load$$balancing_proxied$, "load-balancing_random_steering": load$$balancing_random_steering$, "load-balancing_region_pools": load$$balancing_region_pools$, "load-balancing_rule_overrides": load$$balancing_rule_overrides$, "load-balancing_rules": load$$balancing_rules$, - "load-balancing_session_affinity": load$$balancing_session_affinity$, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes$, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl$, - "load-balancing_steering_policy": load$$balancing_steering_policy$, - "load-balancing_ttl": load$$balancing_ttl$, }, }, outputSchema: { @@ -507,40 +449,27 @@ export const tools: readonly Tool[] = [ "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -571,40 +500,27 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ @@ -615,11 +531,12 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_account_get", title: "account or zone Load Balancer Details", - description: "Fetch a single configured account or zone-scoped load balancer.", + description: "Fetch a single configured account or zone-scoped load balancer.\n\nGET /{account_or_zone}/{account_or_zone_id}/load_balancers/{load_balancer_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -630,11 +547,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "load_balancer_id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "type": "string" } }, "required": [ @@ -648,10 +565,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-single_response", @@ -659,40 +573,27 @@ export const tools: readonly Tool[] = [ "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -724,40 +625,27 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ @@ -767,11 +655,12 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_account_list", title: "List account or zone Load Balancers", - description: "List configured account or zone-scoped load balancers.", + description: "List configured account or zone-scoped load balancers.\n\nGET /{account_or_zone}/{account_or_zone_id}/load_balancers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -782,8 +671,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -796,9 +685,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-response_collection", @@ -806,41 +693,28 @@ export const tools: readonly Tool[] = [ "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-response_collection": load$$balancing_load$$balancer_components$$schemas$$response_collection, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_result_info": load$$balancing_result_info, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -872,41 +746,28 @@ export const tools: readonly Tool[] = [ "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-response_collection": load$$balancing_load$$balancer_components$$schemas$$response_collection, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_result_info": load$$balancing_result_info, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ @@ -916,7 +777,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_account_update", title: "Update account or zone Load Balancer", - description: "Update a configured account or zone-scoped load balancer.", + description: "Update a configured account or zone-scoped load balancer.\n\nPUT /{account_or_zone}/{account_or_zone_id}/load_balancers/{load_balancer_id}", inputSchema: { type: "object", properties: { @@ -935,25 +796,25 @@ export const tools: readonly Tool[] = [ "description": "A list of pool IDs ordered by their failover priority. Pools defined here are used by default, or when region_pools are not configured for a given region." }, "description": { - "$ref": "#/$defs/load-balancing_components-schemas-description", - "description": "Object description." + "description": "Object description.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_components-schemas-enabled", "default": true, - "description": "Whether to enable (the default) this load balancer." + "description": "Whether to enable (the default) this load balancer.", + "type": "boolean" }, "fallback_pool": { - "$ref": "#/$defs/load-balancing_fallback_pool", - "description": "The pool ID to use when all other pools are detected as unhealthy." + "description": "The pool ID to use when all other pools are detected as unhealthy.", + "type": "string" }, "location_strategy": { "$ref": "#/$defs/load-balancing_location_strategy", "description": "Controls location-based steering for non-proxied requests. See `steering_policy` to learn how steering is affected." }, "name": { - "$ref": "#/$defs/load-balancing_components-schemas-name", - "description": "The DNS hostname to associate with your Load Balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the Load Balancer will take precedence and the DNS record will not be used." + "description": "The DNS hostname to associate with your Load Balancer. If this hostname already exists as a DNS record in Cloudflare's DNS, the Load Balancer will take precedence and the DNS record will not be used.", + "type": "string" }, "networks": { "$ref": "#/$defs/load-balancing_networks", @@ -964,9 +825,9 @@ export const tools: readonly Tool[] = [ "description": "Enterprise only: A mapping of Cloudflare PoP identifiers to a list of pool IDs (ordered by their failover priority) for the PoP (datacenter). Any PoPs not explicitly defined will fall back to using the corresponding country_pool, then region_pool mapping if it exists else to default_pools." }, "proxied": { - "$ref": "#/$defs/load-balancing_proxied", "default": false, - "description": "Whether the hostname should be gray clouded (false) or orange clouded (true)." + "description": "Whether the hostname should be gray clouded (false) or orange clouded (true).", + "type": "boolean" }, "random_steering": { "$ref": "#/$defs/load-balancing_random_steering", @@ -981,26 +842,42 @@ export const tools: readonly Tool[] = [ "description": "BETA Field Not General Access: A list of rules for this load balancer to execute." }, "session_affinity": { - "$ref": "#/$defs/load-balancing_session_affinity", "default": "none", - "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration." + "description": "Specifies the type of session affinity the load balancer should use unless specified as `\"none\"`. The supported types are: - `\"cookie\"`: On the first request to a proxied load balancer, a cookie is generated, encoding information of which origin the request will be forwarded to. Subsequent requests, by the same client to the same load balancer, will be sent to the origin server the cookie encodes, for the duration of the cookie and as long as the origin server remains healthy. If the cookie has expired or the origin server is unhealthy, then a new origin server is calculated and used. - `\"ip_cookie\"`: Behaves the same as `\"cookie\"` except the initial origin selection is stable and based on the client's ip address. - `\"header\"`: On the first request to a proxied load balancer, a session key based on the configured HTTP headers (see `session_affinity_attributes.headers`) is generated, encoding the request headers used for storing in the load balancer session state which origin the request will be forwarded to. Subsequent requests to the load balancer with the same headers will be sent to the same origin server, for the duration of the session and as long as the origin server remains healthy. If the session has been idle for the duration of `session_affinity_ttl` seconds or the origin server is unhealthy, then a new origin server is calculated and used. See `headers` in `session_affinity_attributes` for additional required configuration.", + "enum": [ + "none", + "cookie", + "ip_cookie", + "header" + ], + "type": "string" }, "session_affinity_attributes": { "$ref": "#/$defs/load-balancing_session_affinity_attributes", "description": "Configures attributes for session affinity." }, "session_affinity_ttl": { - "$ref": "#/$defs/load-balancing_session_affinity_ttl", - "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified." + "description": "Time, in seconds, until a client's session expires after being created. Once the expiry time has been reached, subsequent requests may get sent to a different origin server. The accepted ranges per `session_affinity` policy are: - `\"cookie\"` / `\"ip_cookie\"`: The current default of 23 hours will be used unless explicitly set. The accepted range of values is between [1800, 604800]. - `\"header\"`: The current default of 1800 seconds will be used unless explicitly set. The accepted range of values is between [30, 3600]. Note: With session affinity by header, sessions only expire after they haven't been used for the number of seconds specified.", + "type": "number" }, "steering_policy": { - "$ref": "#/$defs/load-balancing_steering_policy", "default": "", - "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`." + "description": "Steering Policy for this load balancer.\n- `\"off\"`: Use `default_pools`.\n- `\"geo\"`: Use `region_pools`/`country_pools`/`pop_pools`. For non-proxied requests, the country for `country_pools` is determined by `location_strategy`.\n- `\"random\"`: Select a pool randomly.\n- `\"dynamic_latency\"`: Use round trip time to select the closest pool in default_pools (requires pool health checks).\n- `\"proximity\"`: Use the pools' latitude and longitude to select the closest pool using the Cloudflare PoP location for proxied requests or the location determined by `location_strategy` for non-proxied requests.\n- `\"least_outstanding_requests\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of outstanding requests. Pools with more pending requests are weighted proportionately less relative to others.\n- `\"least_connections\"`: Select a pool by taking into consideration `random_steering` weights, as well as each pool's number of open connections. Pools with more open connections are weighted proportionately less relative to others. Supported for HTTP/1 and HTTP/2 connections.\n- `\"\"`: Will map to `\"geo\"` if you use `region_pools`/`country_pools`/`pop_pools` otherwise `\"off\"`.", + "enum": [ + "off", + "geo", + "random", + "dynamic_latency", + "proximity", + "least_outstanding_requests", + "least_connections", + "" + ], + "type": "string" }, "ttl": { - "$ref": "#/$defs/load-balancing_ttl", - "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers." + "description": "Time to live (TTL) of the DNS entry for the IP address returned by this load balancer. This only applies to gray-clouded (unproxied) load balancers.", + "type": "number" } }, "required": [ @@ -1011,6 +888,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -1021,11 +899,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "load_balancer_id": { - "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-identifier" + "type": "string" } }, "required": [ @@ -1040,33 +918,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "load-balancing_adaptive_routing": load$$balancing_adaptive_routing$, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description$, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled$, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name$, "load-balancing_country_pools": load$$balancing_country_pools$, "load-balancing_default_pools": load$$balancing_default_pools$, - "load-balancing_fallback_pool": load$$balancing_fallback_pool$, "load-balancing_fixed_response": load$$balancing_fixed_response$, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier$, "load-balancing_location_strategy": load$$balancing_location_strategy$, "load-balancing_networks": load$$balancing_networks$, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight$, "load-balancing_pool_weights": load$$balancing_pool_weights$, "load-balancing_pools": load$$balancing_pools$, "load-balancing_pop_pools": load$$balancing_pop_pools$, - "load-balancing_proxied": load$$balancing_proxied$, "load-balancing_random_steering": load$$balancing_random_steering$, "load-balancing_region_pools": load$$balancing_region_pools$, "load-balancing_rule_overrides": load$$balancing_rule_overrides$, "load-balancing_rules": load$$balancing_rules$, - "load-balancing_session_affinity": load$$balancing_session_affinity$, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes$, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl$, - "load-balancing_steering_policy": load$$balancing_steering_policy$, - "load-balancing_ttl": load$$balancing_ttl$, }, }, outputSchema: { @@ -1075,40 +942,27 @@ export const tools: readonly Tool[] = [ "load-balancing_adaptive_routing": load$$balancing_adaptive_routing, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, annotations: { @@ -1139,40 +993,27 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_components-schemas-description": load$$balancing_components$$schemas$$description, - "load-balancing_components-schemas-enabled": load$$balancing_components$$schemas$$enabled, - "load-balancing_components-schemas-name": load$$balancing_components$$schemas$$name, - "load-balancing_components-schemas-zone-name": load$$balancing_components$$schemas$$zone$$name, "load-balancing_country_pools": load$$balancing_country_pools, "load-balancing_default_pools": load$$balancing_default_pools, - "load-balancing_fallback_pool": load$$balancing_fallback_pool, "load-balancing_fixed_response": load$$balancing_fixed_response, "load-balancing_load-balancer": load$$balancing_load$$balancer, - "load-balancing_load-balancer_components-schemas-identifier": load$$balancing_load$$balancer_components$$schemas$$identifier, "load-balancing_load-balancer_components-schemas-single_response": load$$balancing_load$$balancer_components$$schemas$$single_response, "load-balancing_location_strategy": load$$balancing_location_strategy, "load-balancing_match": load$$balancing_match, "load-balancing_messages": load$$balancing_messages, "load-balancing_networks": load$$balancing_networks, - "load-balancing_pool_default_weight": load$$balancing_pool_default_weight, "load-balancing_pool_set": load$$balancing_pool_set, "load-balancing_pool_set_overrides": load$$balancing_pool_set_overrides, "load-balancing_pool_sets": load$$balancing_pool_sets, "load-balancing_pool_weights": load$$balancing_pool_weights, "load-balancing_pools": load$$balancing_pools, "load-balancing_pop_pools": load$$balancing_pop_pools, - "load-balancing_proxied": load$$balancing_proxied, "load-balancing_random_steering": load$$balancing_random_steering, "load-balancing_region_pools": load$$balancing_region_pools, "load-balancing_rule_overrides": load$$balancing_rule_overrides, "load-balancing_rules": load$$balancing_rules, - "load-balancing_session_affinity": load$$balancing_session_affinity, "load-balancing_session_affinity_attributes": load$$balancing_session_affinity_attributes, - "load-balancing_session_affinity_ttl": load$$balancing_session_affinity_ttl, - "load-balancing_steering_policy": load$$balancing_steering_policy, - "load-balancing_timestamp": load$$balancing_timestamp, "load-balancing_topology_match": load$$balancing_topology_match, - "load-balancing_ttl": load$$balancing_ttl, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts b/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts index 757b90bdc..a2f033dfe 100644 --- a/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/account/usage/tools.ts @@ -8,7 +8,6 @@ import { load$$balancing_api$$response$$single, load$$balancing_messages, } from "../../../outputs.js"; -import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; import { load$$balancing_load$$balancer_components$$schemas$$usage_response } from "./outputs.js"; /** @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_account_usage_list", title: "List Load Balancer Usage", - description: "Get current load balancer resource usage counts for an account.", + description: "Get current load balancer resource usage counts for an account.\n\nGET /accounts/{account_id}/load_balancers/usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -38,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_load-balancer_components-schemas-usage_response", diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts index 9997cd90c..0986faa2f 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/outputs.ts @@ -16,7 +16,7 @@ export const load$$balancing_monitor$$group: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/load-balancing_monitor_group_id" + "type": "string" }, "members": { "items": { @@ -50,7 +50,7 @@ export const load$$balancing_monitor$$group$$member: JsonSchema = { "type": "boolean" }, "monitor_id": { - "$ref": "#/$defs/load-balancing_monitor_id" + "type": "string" }, "monitoring_only": { "type": "boolean" diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts index a19bf431b..ef9a65dd8 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/references/tools.ts @@ -7,8 +7,6 @@ import { load$$balancing_api$$response$$common$$failure, load$$balancing_messages, } from "../../../outputs.js"; -import { load$$balancing_identifier } from "../../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; import { load$$balancing_monitor$$group$$references$$response } from "./outputs.js"; /** @@ -18,18 +16,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitorGroups_references_list", title: "List Monitor Group References", - description: "Get the list of resources that reference the provided monitor group.", + description: "Get the list of resources that reference the provided monitor group.\n\nGET /accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}/references", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_group_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -42,10 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_identifier": load$$balancing_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-references-response", diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/schemas.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/schemas.ts index 54c61a7c6..90d2573ea 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/schemas.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/schemas.ts @@ -37,8 +37,8 @@ export const load$$balancing_monitor$$group$$member: JsonSchema = { "type": "boolean" }, "monitor_id": { - "$ref": "#/$defs/load-balancing_monitor_id", - "description": "The ID of the Monitor to use for checking the health of origins within this pool." + "description": "The ID of the Monitor to use for checking the health of origins within this pool.", + "type": "string" }, "monitoring_only": { "description": "Whether this monitor is used for monitoring only (does not affect pool health)", diff --git a/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts b/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts index 5f1d24349..2dcb953d0 100644 --- a/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitorGroups/tools.ts @@ -6,15 +6,8 @@ import { load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_messages, - load$$balancing_monitor_group_id, - load$$balancing_monitor_id, load$$balancing_result_info, } from "../../outputs.js"; -import { - load$$balancing_monitor_id as load$$balancing_monitor_id$, - load$$balancing_schemas$$identifier, -} from "../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; import { load$$balancing_monitor$$group, load$$balancing_monitor$$group$$member, @@ -33,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitorGroups_create", title: "Create Monitor Group", - description: "Create a new monitor group.", + description: "Create a new monitor group.\n\nPOST /accounts/{account_id}/load_balancers/monitor_groups", inputSchema: { type: "object", properties: { @@ -41,10 +34,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-group" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -57,11 +51,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, "load-balancing_monitor-group": load$$balancing_monitor$$group$, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member$, - "load-balancing_monitor_id": load$$balancing_monitor_id$, }, }, outputSchema: { @@ -72,8 +65,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -104,8 +95,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ @@ -116,18 +105,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitorGroups_delete", title: "Delete Monitor Group", - description: "Delete a configured monitor group.", + description: "Delete a configured monitor group.\n\nDELETE /accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_group_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -140,10 +130,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-single-response", @@ -153,8 +140,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -185,8 +170,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ @@ -196,7 +179,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitorGroups_edit", title: "Patch Monitor Group", - description: "Apply changes to an existing monitor group, overwriting the supplied properties.", + description: "Apply changes to an existing monitor group, overwriting the supplied properties.\n\nPATCH /accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}", inputSchema: { type: "object", properties: { @@ -204,13 +187,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-group" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_group_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -224,12 +208,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, "load-balancing_monitor-group": load$$balancing_monitor$$group$, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member$, - "load-balancing_monitor_id": load$$balancing_monitor_id$, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { @@ -240,8 +222,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -272,8 +252,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ @@ -284,18 +262,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitorGroups_get", title: "Monitor Group Details", - description: "Fetch a single configured monitor group.", + description: "Fetch a single configured monitor group.\n\nGET /accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_group_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -308,10 +287,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-single-response", @@ -321,8 +297,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -350,8 +324,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ @@ -361,15 +333,16 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitorGroups_list", title: "List Monitor Groups", - description: "List configured monitor groups.", + description: "List configured monitor groups.\n\nGET /accounts/{account_id}/load_balancers/monitor_groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -381,9 +354,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-group-response-collection", @@ -393,8 +364,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-response-collection": load$$balancing_monitor$$group$$response$$collection, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, "load-balancing_result_info": load$$balancing_result_info, }, }, @@ -423,8 +392,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-response-collection": load$$balancing_monitor$$group$$response$$collection, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, "load-balancing_result_info": load$$balancing_result_info, }, }, @@ -435,7 +402,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitorGroups_update", title: "Update Monitor Group", - description: "Modify a configured monitor group.", + description: "Modify a configured monitor group.\n\nPUT /accounts/{account_id}/load_balancers/monitor_groups/{monitor_group_id}", inputSchema: { type: "object", properties: { @@ -443,13 +410,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-group" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_group_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -463,12 +431,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, "load-balancing_monitor-group": load$$balancing_monitor$$group$, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member$, - "load-balancing_monitor_id": load$$balancing_monitor_id$, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, outputSchema: { @@ -479,8 +445,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, annotations: { @@ -511,8 +475,6 @@ export const tools: readonly Tool[] = [ "load-balancing_monitor-group": load$$balancing_monitor$$group, "load-balancing_monitor-group-member": load$$balancing_monitor$$group$$member, "load-balancing_monitor-group-single-response": load$$balancing_monitor$$group$$single$$response, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts b/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts index c9aecd95c..b7a050c2f 100644 --- a/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitors/previews/tools.ts @@ -6,31 +6,13 @@ import { load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_api$$response$$single, - load$$balancing_identifier, load$$balancing_messages, load$$balancing_preview_response, } from "../../../outputs.js"; import { - load$$balancing_allow_insecure, - load$$balancing_consecutive_down, - load$$balancing_consecutive_up, - load$$balancing_description, - load$$balancing_expected_body, - load$$balancing_expected_codes, - load$$balancing_follow_redirects, load$$balancing_header, - load$$balancing_identifier as load$$balancing_identifier$, - load$$balancing_interval, - load$$balancing_method, load$$balancing_monitor$$editable, - load$$balancing_path, - load$$balancing_port, - load$$balancing_probe_zone, - load$$balancing_retries, - load$$balancing_timeout, - load$$balancing_type, } from "../../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; /** * The tools of `loadBalancers.monitors.previews`. @@ -39,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitors_previews_create", title: "Preview Monitor", - description: "Preview pools using the specified monitor with provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.", + description: "Preview pools using the specified monitor with provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.\n\nPOST /accounts/{account_id}/load_balancers/monitors/{monitor_id}/preview", inputSchema: { type: "object", properties: { @@ -47,13 +29,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-editable" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -67,26 +50,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier$, - "load-balancing_interval": load$$balancing_interval, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_type": load$$balancing_type, }, }, outputSchema: { @@ -94,7 +61,6 @@ export const tools: readonly Tool[] = [ $defs: { "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, "load-balancing_preview_response": load$$balancing_preview_response, }, @@ -121,7 +87,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, "load-balancing_preview_response": load$$balancing_preview_response, }, diff --git a/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts b/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts index e082d073f..46a155948 100644 --- a/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitors/references/tools.ts @@ -8,8 +8,6 @@ import { load$$balancing_messages, load$$balancing_monitor$$references$$response, } from "../../../outputs.js"; -import { load$$balancing_identifier } from "../../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; /** * The tools of `loadBalancers.monitors.references`. @@ -18,18 +16,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitors_references_get", title: "List Monitor References", - description: "Get the list of resources that reference the provided monitor.", + description: "Get the list of resources that reference the provided monitor.\n\nGET /accounts/{account_id}/load_balancers/monitors/{monitor_id}/references", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -42,10 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_identifier": load$$balancing_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-references-response", diff --git a/src/generated/forge-mcp/loadBalancers/monitors/tools.ts b/src/generated/forge-mcp/loadBalancers/monitors/tools.ts index 48c37f332..a9d9c6a67 100644 --- a/src/generated/forge-mcp/loadBalancers/monitors/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/monitors/tools.ts @@ -3,57 +3,23 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - load$$balancing_allow_insecure, load$$balancing_api$$paginated$$response$$collection, load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_api$$response$$single, - load$$balancing_consecutive_down, - load$$balancing_consecutive_up, - load$$balancing_description, - load$$balancing_expected_body, - load$$balancing_expected_codes, - load$$balancing_follow_redirects, load$$balancing_header, load$$balancing_id_response, - load$$balancing_identifier, - load$$balancing_interval, load$$balancing_messages, - load$$balancing_method, load$$balancing_monitor, load$$balancing_monitor$$editable, load$$balancing_monitor$$response$$collection, load$$balancing_monitor$$response$$single, - load$$balancing_path, - load$$balancing_port, - load$$balancing_probe_zone, load$$balancing_result_info, - load$$balancing_retries, - load$$balancing_timeout, - load$$balancing_timestamp, - load$$balancing_type, } from "../../outputs.js"; import { - load$$balancing_allow_insecure as load$$balancing_allow_insecure$, - load$$balancing_consecutive_down as load$$balancing_consecutive_down$, - load$$balancing_consecutive_up as load$$balancing_consecutive_up$, - load$$balancing_description as load$$balancing_description$, - load$$balancing_expected_body as load$$balancing_expected_body$, - load$$balancing_expected_codes as load$$balancing_expected_codes$, - load$$balancing_follow_redirects as load$$balancing_follow_redirects$, load$$balancing_header as load$$balancing_header$, - load$$balancing_identifier as load$$balancing_identifier$, - load$$balancing_interval as load$$balancing_interval$, - load$$balancing_method as load$$balancing_method$, load$$balancing_monitor$$editable as load$$balancing_monitor$$editable$, - load$$balancing_path as load$$balancing_path$, - load$$balancing_port as load$$balancing_port$, - load$$balancing_probe_zone as load$$balancing_probe_zone$, - load$$balancing_retries as load$$balancing_retries$, - load$$balancing_timeout as load$$balancing_timeout$, - load$$balancing_type as load$$balancing_type$, } from "../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; /** * The tools of `loadBalancers.monitors`. @@ -62,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitors_create", title: "Create Monitor", - description: "Create a configured monitor.", + description: "Create a configured monitor.\n\nPOST /accounts/{account_id}/load_balancers/monitors", inputSchema: { type: "object", properties: { @@ -70,10 +36,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-editable" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -86,54 +53,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure$, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_consecutive_down": load$$balancing_consecutive_down$, - "load-balancing_consecutive_up": load$$balancing_consecutive_up$, - "load-balancing_description": load$$balancing_description$, - "load-balancing_expected_body": load$$balancing_expected_body$, - "load-balancing_expected_codes": load$$balancing_expected_codes$, - "load-balancing_follow_redirects": load$$balancing_follow_redirects$, "load-balancing_header": load$$balancing_header$, - "load-balancing_interval": load$$balancing_interval$, - "load-balancing_method": load$$balancing_method$, "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, - "load-balancing_path": load$$balancing_path$, - "load-balancing_port": load$$balancing_port$, - "load-balancing_probe_zone": load$$balancing_probe_zone$, - "load-balancing_retries": load$$balancing_retries$, - "load-balancing_timeout": load$$balancing_timeout$, - "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -160,31 +95,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -195,18 +113,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitors_delete", title: "Delete Monitor", - description: "Delete a configured monitor.", + description: "Delete a configured monitor.\n\nDELETE /accounts/{account_id}/load_balancers/monitors/{monitor_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -219,10 +138,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_identifier": load$$balancing_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_id_response", @@ -230,7 +146,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_id_response": load$$balancing_id_response, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, }, }, @@ -262,7 +177,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_id_response": load$$balancing_id_response, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, }, }, @@ -273,7 +187,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitors_edit", title: "Patch Monitor", - description: "Apply changes to an existing monitor, overwriting the supplied properties.", + description: "Apply changes to an existing monitor, overwriting the supplied properties.\n\nPATCH /accounts/{account_id}/load_balancers/monitors/{monitor_id}", inputSchema: { type: "object", properties: { @@ -281,13 +195,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-editable" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -301,55 +216,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure$, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_consecutive_down": load$$balancing_consecutive_down$, - "load-balancing_consecutive_up": load$$balancing_consecutive_up$, - "load-balancing_description": load$$balancing_description$, - "load-balancing_expected_body": load$$balancing_expected_body$, - "load-balancing_expected_codes": load$$balancing_expected_codes$, - "load-balancing_follow_redirects": load$$balancing_follow_redirects$, "load-balancing_header": load$$balancing_header$, - "load-balancing_identifier": load$$balancing_identifier$, - "load-balancing_interval": load$$balancing_interval$, - "load-balancing_method": load$$balancing_method$, "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, - "load-balancing_path": load$$balancing_path$, - "load-balancing_port": load$$balancing_port$, - "load-balancing_probe_zone": load$$balancing_probe_zone$, - "load-balancing_retries": load$$balancing_retries$, - "load-balancing_timeout": load$$balancing_timeout$, - "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -376,31 +258,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -411,18 +276,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitors_get", title: "Monitor Details", - description: "Fetch a single configured monitor for an account.", + description: "Fetch a single configured monitor for an account.\n\nGET /accounts/{account_id}/load_balancers/monitors/{monitor_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -435,38 +301,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_identifier": load$$balancing_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -494,31 +340,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -528,15 +357,16 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitors_list", title: "List Monitors", - description: "List configured monitors for an account.", + description: "List configured monitors for an account.\n\nGET /accounts/{account_id}/load_balancers/monitors", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -548,38 +378,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-collection", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-collection": load$$balancing_monitor$$response$$collection, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -607,32 +418,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-collection": load$$balancing_monitor$$response$$collection, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -642,7 +436,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_monitors_update", title: "Update Monitor", - description: "Modify a configured monitor.", + description: "Modify a configured monitor.\n\nPUT /accounts/{account_id}/load_balancers/monitors/{monitor_id}", inputSchema: { type: "object", properties: { @@ -650,13 +444,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-editable" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -670,55 +465,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure$, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_consecutive_down": load$$balancing_consecutive_down$, - "load-balancing_consecutive_up": load$$balancing_consecutive_up$, - "load-balancing_description": load$$balancing_description$, - "load-balancing_expected_body": load$$balancing_expected_body$, - "load-balancing_expected_codes": load$$balancing_expected_codes$, - "load-balancing_follow_redirects": load$$balancing_follow_redirects$, "load-balancing_header": load$$balancing_header$, - "load-balancing_identifier": load$$balancing_identifier$, - "load-balancing_interval": load$$balancing_interval$, - "load-balancing_method": load$$balancing_method$, "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, - "load-balancing_path": load$$balancing_path$, - "load-balancing_port": load$$balancing_port$, - "load-balancing_probe_zone": load$$balancing_probe_zone$, - "load-balancing_retries": load$$balancing_retries$, - "load-balancing_timeout": load$$balancing_timeout$, - "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -745,31 +507,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts b/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts index 6bbb7fb9e..20a5c3d5b 100644 --- a/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/pools/health/tools.ts @@ -7,32 +7,14 @@ import { load$$balancing_api$$response$$common$$failure, load$$balancing_api$$response$$single, load$$balancing_health_details, - load$$balancing_identifier, load$$balancing_messages, load$$balancing_origin$$health, load$$balancing_preview_response, } from "../../../outputs.js"; import { - load$$balancing_allow_insecure, - load$$balancing_consecutive_down, - load$$balancing_consecutive_up, - load$$balancing_description, - load$$balancing_expected_body, - load$$balancing_expected_codes, - load$$balancing_follow_redirects, load$$balancing_header, - load$$balancing_interval, - load$$balancing_method, load$$balancing_monitor$$editable, - load$$balancing_path, - load$$balancing_port, - load$$balancing_probe_zone, - load$$balancing_retries, - load$$balancing_schemas$$identifier, - load$$balancing_timeout, - load$$balancing_type, } from "../../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; /** * The tools of `loadBalancers.pools.health`. @@ -41,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_health_create", title: "Preview Pool", - description: "Preview pool health using provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.", + description: "Preview pool health using provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.\n\nPOST /accounts/{account_id}/load_balancers/pools/{pool_id}/preview", inputSchema: { type: "object", properties: { @@ -49,13 +31,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-editable" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -69,26 +52,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_interval": load$$balancing_interval, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_type": load$$balancing_type, }, }, outputSchema: { @@ -96,7 +63,6 @@ export const tools: readonly Tool[] = [ $defs: { "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, "load-balancing_preview_response": load$$balancing_preview_response, }, @@ -123,7 +89,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, "load-balancing_preview_response": load$$balancing_preview_response, }, @@ -136,18 +101,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_health_get", title: "Pool Health Details", - description: "Fetch the latest pool health status for a single pool.", + description: "Fetch the latest pool health status for a single pool.\n\nGET /accounts/{account_id}/load_balancers/pools/{pool_id}/health", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -160,10 +126,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_health_details", diff --git a/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts b/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts index 7c9d6820d..11d16d6cf 100644 --- a/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/pools/references/tools.ts @@ -8,8 +8,6 @@ import { load$$balancing_messages, load$$balancing_pools$$references$$response, } from "../../../outputs.js"; -import { load$$balancing_schemas$$identifier } from "../../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../../schemas.js"; /** * The tools of `loadBalancers.pools.references`. @@ -18,18 +16,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_references_get", title: "List Pool References", - description: "Get the list of resources that reference the provided pool.", + description: "Get the list of resources that reference the provided pool.\n\nGET /accounts/{account_id}/load_balancers/pools/{pool_id}/references", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -42,10 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_pools-references-response", diff --git a/src/generated/forge-mcp/loadBalancers/pools/tools.ts b/src/generated/forge-mcp/loadBalancers/pools/tools.ts index 238889824..da72a9cab 100644 --- a/src/generated/forge-mcp/loadBalancers/pools/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/pools/tools.ts @@ -4,78 +4,39 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { load$$balancing_Host, - load$$balancing_address, load$$balancing_api$$paginated$$response$$collection, load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_api$$response$$single, load$$balancing_check_regions, - load$$balancing_disabled_at, - load$$balancing_enabled, load$$balancing_filter_options, load$$balancing_health_sources, - load$$balancing_latitude, load$$balancing_load_shedding, - load$$balancing_longitude, load$$balancing_messages, - load$$balancing_minimum_origins, - load$$balancing_monitor_group_id, - load$$balancing_monitor_id, - load$$balancing_name, load$$balancing_networks, - load$$balancing_notification_email, load$$balancing_notification_filter, load$$balancing_origin, - load$$balancing_origin_flatten_cname, - load$$balancing_origin_port, load$$balancing_origin_steering, load$$balancing_origins, load$$balancing_pool, load$$balancing_result_info, - load$$balancing_schemas$$description, - load$$balancing_schemas$$disabled_at, - load$$balancing_schemas$$enabled, load$$balancing_schemas$$header, load$$balancing_schemas$$id_response, - load$$balancing_schemas$$identifier, - load$$balancing_schemas$$name, load$$balancing_schemas$$response_collection, load$$balancing_schemas$$single_response, - load$$balancing_timestamp, - load$$balancing_virtual_network_id, - load$$balancing_weight, } from "../../outputs.js"; import { load$$balancing_Host as load$$balancing_Host$, - load$$balancing_address as load$$balancing_address$, load$$balancing_check_regions as load$$balancing_check_regions$, - load$$balancing_enabled as load$$balancing_enabled$, load$$balancing_filter_options as load$$balancing_filter_options$, load$$balancing_health_sources as load$$balancing_health_sources$, - load$$balancing_latitude as load$$balancing_latitude$, load$$balancing_load_shedding as load$$balancing_load_shedding$, - load$$balancing_longitude as load$$balancing_longitude$, - load$$balancing_minimum_origins as load$$balancing_minimum_origins$, - load$$balancing_monitor_group_id as load$$balancing_monitor_group_id$, - load$$balancing_monitor_id as load$$balancing_monitor_id$, - load$$balancing_name as load$$balancing_name$, - load$$balancing_notification_email as load$$balancing_notification_email$, load$$balancing_notification_filter as load$$balancing_notification_filter$, load$$balancing_origin as load$$balancing_origin$, - load$$balancing_origin_flatten_cname as load$$balancing_origin_flatten_cname$, - load$$balancing_origin_port as load$$balancing_origin_port$, load$$balancing_origin_steering as load$$balancing_origin_steering$, load$$balancing_origins as load$$balancing_origins$, - load$$balancing_patch_pools_notification_email, - load$$balancing_schemas$$description as load$$balancing_schemas$$description$, - load$$balancing_schemas$$enabled as load$$balancing_schemas$$enabled$, load$$balancing_schemas$$header as load$$balancing_schemas$$header$, - load$$balancing_schemas$$identifier as load$$balancing_schemas$$identifier$, - load$$balancing_schemas$$name as load$$balancing_schemas$$name$, - load$$balancing_virtual_network_id as load$$balancing_virtual_network_id$, - load$$balancing_weight as load$$balancing_weight$, } from "../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; /** * The tools of `loadBalancers.pools`. @@ -84,24 +45,25 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_bulkEdit", title: "Patch Pools", - description: "Apply changes to a number of existing pools, overwriting the supplied properties. Pools are ordered by ascending `name`. Returns the list of affected pools. Supports the standard pagination query parameters, either `limit`/`offset` or `per_page`/`page`.", + description: "Apply changes to a number of existing pools, overwriting the supplied properties. Pools are ordered by ascending `name`. Returns the list of affected pools. Supports the standard pagination query parameters, either `limit`/`offset` or `per_page`/`page`.\n\nPATCH /accounts/{account_id}/load_balancers/pools", inputSchema: { type: "object", properties: { "body": { "properties": { "notification_email": { - "$ref": "#/$defs/load-balancing_patch_pools_notification_email", - "description": "The email address to send health status notifications to. This field is now deprecated in favor of Cloudflare Notifications for Load Balancing, so only resetting this field with an empty string `\"\"` is accepted." + "description": "The email address to send health status notifications to. This field is now deprecated in favor of Cloudflare Notifications for Load Balancing, so only resetting this field with an empty string `\"\"` is accepted.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -114,51 +76,28 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_patch_pools_notification_email": load$$balancing_patch_pools_notification_email, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-response_collection", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -186,43 +125,23 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -233,55 +152,55 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_create", title: "Create Pool", - description: "Create a new pool.", + description: "Create a new pool.\n\nPOST /accounts/{account_id}/load_balancers/pools", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/load-balancing_schemas-description", "default": "", - "description": "A human-readable description of the pool." + "description": "A human-readable description of the pool.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_enabled", "default": true, - "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any)." + "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).", + "type": "boolean" }, "latitude": { - "$ref": "#/$defs/load-balancing_latitude", - "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set." + "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set.", + "type": "number" }, "load_shedding": { "$ref": "#/$defs/load-balancing_load_shedding", "description": "Configures load shedding policies and percentages for the pool." }, "longitude": { - "$ref": "#/$defs/load-balancing_longitude", - "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set." + "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set.", + "type": "number" }, "minimum_origins": { - "$ref": "#/$defs/load-balancing_minimum_origins", "default": 1, - "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool." + "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool.", + "type": "integer" }, "monitor": { - "$ref": "#/$defs/load-balancing_monitor_id", - "description": "The ID of the Monitor to use for checking the health of origins within this pool." + "description": "The ID of the Monitor to use for checking the health of origins within this pool.", + "type": "string" }, "monitor_group": { - "$ref": "#/$defs/load-balancing_monitor_group_id", - "description": "The ID of the Monitor Group to use for checking the health of origins within this pool." + "description": "The ID of the Monitor Group to use for checking the health of origins within this pool.", + "type": "string" }, "name": { - "$ref": "#/$defs/load-balancing_name", - "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed." + "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.", + "type": "string" }, "notification_email": { - "$ref": "#/$defs/load-balancing_notification_email", "default": "", - "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list." + "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.", + "type": "string" }, "notification_filter": { "$ref": "#/$defs/load-balancing_notification_filter", @@ -303,10 +222,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -319,73 +239,37 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "load-balancing_Host": load$$balancing_Host$, - "load-balancing_address": load$$balancing_address$, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_enabled": load$$balancing_enabled$, "load-balancing_filter_options": load$$balancing_filter_options$, - "load-balancing_latitude": load$$balancing_latitude$, "load-balancing_load_shedding": load$$balancing_load_shedding$, - "load-balancing_longitude": load$$balancing_longitude$, - "load-balancing_minimum_origins": load$$balancing_minimum_origins$, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, - "load-balancing_monitor_id": load$$balancing_monitor_id$, - "load-balancing_name": load$$balancing_name$, - "load-balancing_notification_email": load$$balancing_notification_email$, "load-balancing_notification_filter": load$$balancing_notification_filter$, "load-balancing_origin": load$$balancing_origin$, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, - "load-balancing_origin_port": load$$balancing_origin_port$, "load-balancing_origin_steering": load$$balancing_origin_steering$, "load-balancing_origins": load$$balancing_origins$, - "load-balancing_schemas-description": load$$balancing_schemas$$description$, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, "load-balancing_schemas-header": load$$balancing_schemas$$header$, - "load-balancing_schemas-name": load$$balancing_schemas$$name$, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, - "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -413,42 +297,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -459,18 +323,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_delete", title: "Delete Pool", - description: "Delete a configured pool.", + description: "Delete a configured pool.\n\nDELETE /accounts/{account_id}/load_balancers/pools/{pool_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -483,10 +348,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-id_response", @@ -495,7 +357,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_messages": load$$balancing_messages, "load-balancing_schemas-id_response": load$$balancing_schemas$$id_response, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, annotations: { @@ -527,7 +388,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_messages": load$$balancing_messages, "load-balancing_schemas-id_response": load$$balancing_schemas$$id_response, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, request: (args) => ({ @@ -537,7 +397,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_edit", title: "Patch Pool", - description: "Apply changes to an existing pool, overwriting the supplied properties.", + description: "Apply changes to an existing pool, overwriting the supplied properties.\n\nPATCH /accounts/{account_id}/load_balancers/pools/{pool_id}", inputSchema: { type: "object", properties: { @@ -548,52 +408,52 @@ export const tools: readonly Tool[] = [ "description": "A list of regions from which to run health checks. Null means every Cloudflare data center." }, "description": { - "$ref": "#/$defs/load-balancing_schemas-description", "default": "", - "description": "A human-readable description of the pool." + "description": "A human-readable description of the pool.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_enabled", "default": true, - "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any)." + "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).", + "type": "boolean" }, "health_sources": { "$ref": "#/$defs/load-balancing_health_sources", "description": "A list of health sources, ordered from highest to lowest priority, used to evaluate individual origin health and overall pool health. The load balancer uses the first source that has data and falls back to the next. Currently accepted values are null or the exact array [\"regional\", \"global\"]; any other combination is rejected. Null (the default) behaves like [\"local\", \"global\"]. [\"regional\", \"global\"] makes each region steer on its own health, falling back to the global decision when a region has no fresh data. Setting regional requires at least one region in check_regions." }, "latitude": { - "$ref": "#/$defs/load-balancing_latitude", - "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set." + "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set.", + "type": "number" }, "load_shedding": { "$ref": "#/$defs/load-balancing_load_shedding", "description": "Configures load shedding policies and percentages for the pool." }, "longitude": { - "$ref": "#/$defs/load-balancing_longitude", - "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set." + "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set.", + "type": "number" }, "minimum_origins": { - "$ref": "#/$defs/load-balancing_minimum_origins", "default": 1, - "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool." + "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool.", + "type": "integer" }, "monitor": { - "$ref": "#/$defs/load-balancing_monitor_id", - "description": "The ID of the Monitor to use for checking the health of origins within this pool." + "description": "The ID of the Monitor to use for checking the health of origins within this pool.", + "type": "string" }, "monitor_group": { - "$ref": "#/$defs/load-balancing_monitor_group_id", - "description": "The ID of the Monitor Group to use for checking the health of origins within this pool." + "description": "The ID of the Monitor Group to use for checking the health of origins within this pool.", + "type": "string" }, "name": { - "$ref": "#/$defs/load-balancing_name", - "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed." + "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.", + "type": "string" }, "notification_email": { - "$ref": "#/$defs/load-balancing_notification_email", "default": "", - "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list." + "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.", + "type": "string" }, "notification_filter": { "$ref": "#/$defs/load-balancing_notification_filter", @@ -611,13 +471,14 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -631,76 +492,39 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "load-balancing_Host": load$$balancing_Host$, - "load-balancing_address": load$$balancing_address$, "load-balancing_check_regions": load$$balancing_check_regions$, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_enabled": load$$balancing_enabled$, "load-balancing_filter_options": load$$balancing_filter_options$, "load-balancing_health_sources": load$$balancing_health_sources$, - "load-balancing_latitude": load$$balancing_latitude$, "load-balancing_load_shedding": load$$balancing_load_shedding$, - "load-balancing_longitude": load$$balancing_longitude$, - "load-balancing_minimum_origins": load$$balancing_minimum_origins$, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, - "load-balancing_monitor_id": load$$balancing_monitor_id$, - "load-balancing_name": load$$balancing_name$, - "load-balancing_notification_email": load$$balancing_notification_email$, "load-balancing_notification_filter": load$$balancing_notification_filter$, "load-balancing_origin": load$$balancing_origin$, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, - "load-balancing_origin_port": load$$balancing_origin_port$, "load-balancing_origin_steering": load$$balancing_origin_steering$, "load-balancing_origins": load$$balancing_origins$, - "load-balancing_schemas-description": load$$balancing_schemas$$description$, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, "load-balancing_schemas-header": load$$balancing_schemas$$header$, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, - "load-balancing_schemas-name": load$$balancing_schemas$$name$, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, - "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -728,42 +552,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -774,18 +578,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_get", title: "Pool Details", - description: "Fetch a single configured pool.", + description: "Fetch a single configured pool.\n\nGET /accounts/{account_id}/load_balancers/pools/{pool_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -798,50 +603,27 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -870,42 +652,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -915,15 +677,16 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_list", title: "List Pools", - description: "List configured pools.", + description: "List configured pools.\n\nGET /accounts/{account_id}/load_balancers/pools", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -932,6 +695,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "monitor": { "description": "The ID of the Monitor to use for checking the health of origins within this pool.", @@ -944,50 +708,28 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-response_collection", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -1016,43 +758,23 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -1065,7 +787,7 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_pools_update", title: "Update Pool", - description: "Modify a configured pool.", + description: "Modify a configured pool.\n\nPUT /accounts/{account_id}/load_balancers/pools/{pool_id}", inputSchema: { type: "object", properties: { @@ -1076,52 +798,52 @@ export const tools: readonly Tool[] = [ "description": "A list of regions from which to run health checks. Null means every Cloudflare data center." }, "description": { - "$ref": "#/$defs/load-balancing_schemas-description", "default": "", - "description": "A human-readable description of the pool." + "description": "A human-readable description of the pool.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_enabled", "default": true, - "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any)." + "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).", + "type": "boolean" }, "health_sources": { "$ref": "#/$defs/load-balancing_health_sources", "description": "A list of health sources, ordered from highest to lowest priority, used to evaluate individual origin health and overall pool health. The load balancer uses the first source that has data and falls back to the next. Currently accepted values are null or the exact array [\"regional\", \"global\"]; any other combination is rejected. Null (the default) behaves like [\"local\", \"global\"]. [\"regional\", \"global\"] makes each region steer on its own health, falling back to the global decision when a region has no fresh data. Setting regional requires at least one region in check_regions." }, "latitude": { - "$ref": "#/$defs/load-balancing_latitude", - "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set." + "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set.", + "type": "number" }, "load_shedding": { "$ref": "#/$defs/load-balancing_load_shedding", "description": "Configures load shedding policies and percentages for the pool." }, "longitude": { - "$ref": "#/$defs/load-balancing_longitude", - "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set." + "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set.", + "type": "number" }, "minimum_origins": { - "$ref": "#/$defs/load-balancing_minimum_origins", "default": 1, - "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool." + "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool.", + "type": "integer" }, "monitor": { - "$ref": "#/$defs/load-balancing_monitor_id", - "description": "The ID of the Monitor to use for checking the health of origins within this pool." + "description": "The ID of the Monitor to use for checking the health of origins within this pool.", + "type": "string" }, "monitor_group": { - "$ref": "#/$defs/load-balancing_monitor_group_id", - "description": "The ID of the Monitor Group to use for checking the health of origins within this pool." + "description": "The ID of the Monitor Group to use for checking the health of origins within this pool.", + "type": "string" }, "name": { - "$ref": "#/$defs/load-balancing_name", - "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed." + "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.", + "type": "string" }, "notification_email": { - "$ref": "#/$defs/load-balancing_notification_email", "default": "", - "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list." + "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.", + "type": "string" }, "notification_filter": { "$ref": "#/$defs/load-balancing_notification_filter", @@ -1143,13 +865,14 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -1163,76 +886,39 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "load-balancing_Host": load$$balancing_Host$, - "load-balancing_address": load$$balancing_address$, "load-balancing_check_regions": load$$balancing_check_regions$, - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_enabled": load$$balancing_enabled$, "load-balancing_filter_options": load$$balancing_filter_options$, "load-balancing_health_sources": load$$balancing_health_sources$, - "load-balancing_latitude": load$$balancing_latitude$, "load-balancing_load_shedding": load$$balancing_load_shedding$, - "load-balancing_longitude": load$$balancing_longitude$, - "load-balancing_minimum_origins": load$$balancing_minimum_origins$, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, - "load-balancing_monitor_id": load$$balancing_monitor_id$, - "load-balancing_name": load$$balancing_name$, - "load-balancing_notification_email": load$$balancing_notification_email$, "load-balancing_notification_filter": load$$balancing_notification_filter$, "load-balancing_origin": load$$balancing_origin$, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, - "load-balancing_origin_port": load$$balancing_origin_port$, "load-balancing_origin_steering": load$$balancing_origin_steering$, "load-balancing_origins": load$$balancing_origins$, - "load-balancing_schemas-description": load$$balancing_schemas$$description$, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, "load-balancing_schemas-header": load$$balancing_schemas$$header$, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, - "load-balancing_schemas-name": load$$balancing_schemas$$name$, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, - "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -1260,42 +946,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/loadBalancers/previews/schemas.ts b/src/generated/forge-mcp/loadBalancers/previews/schemas.ts deleted file mode 100644 index a7b1177ce..000000000 --- a/src/generated/forge-mcp/loadBalancers/previews/schemas.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `load-balancing_schemas-preview_id`. - */ -export const load$$balancing_schemas$$preview_id: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/loadBalancers/previews/tools.ts b/src/generated/forge-mcp/loadBalancers/previews/tools.ts index 40aea18f5..800495265 100644 --- a/src/generated/forge-mcp/loadBalancers/previews/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/previews/tools.ts @@ -11,8 +11,6 @@ import { load$$balancing_preview_result, load$$balancing_preview_result_response, } from "../../outputs.js"; -import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; -import { load$$balancing_schemas$$preview_id } from "./schemas.js"; /** * The tools of `loadBalancers.previews`. @@ -21,18 +19,19 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_previews_get", title: "Preview Result", - description: "Get the result of a previous preview operation using the provided preview_id.", + description: "Get the result of a previous preview operation using the provided preview_id.\n\nGET /accounts/{account_id}/load_balancers/preview/{preview_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "preview_id": { - "$ref": "#/$defs/load-balancing_schemas-preview_id" + "type": "string" } }, "required": [ @@ -45,10 +44,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_schemas-preview_id": load$$balancing_schemas$$preview_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_preview_result_response", diff --git a/src/generated/forge-mcp/loadBalancers/regions/schemas.ts b/src/generated/forge-mcp/loadBalancers/regions/schemas.ts deleted file mode 100644 index dd27639b8..000000000 --- a/src/generated/forge-mcp/loadBalancers/regions/schemas.ts +++ /dev/null @@ -1,27 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `load-balancing_region_code`. - */ -export const load$$balancing_region_code: JsonSchema = { - "description": "A list of Cloudflare regions. WNAM: Western North America, ENAM: Eastern North America, WEU: Western Europe, EEU: Eastern Europe, NSAM: Northern South America, SSAM: Southern South America, OC: Oceania, ME: Middle East, NAF: North Africa, SAF: South Africa, SAS: Southern Asia, SEAS: South East Asia, NEAS: North East Asia).", - "enum": [ - "WNAM", - "ENAM", - "WEU", - "EEU", - "NSAM", - "SSAM", - "OC", - "ME", - "NAF", - "SAF", - "SAS", - "SEAS", - "NEAS" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/loadBalancers/regions/tools.ts b/src/generated/forge-mcp/loadBalancers/regions/tools.ts index 8cd879fa6..7e58be697 100644 --- a/src/generated/forge-mcp/loadBalancers/regions/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/regions/tools.ts @@ -9,10 +9,7 @@ import { load$$balancing_messages, load$$balancing_region_components$$schemas$$response_collection, } from "../../outputs.js"; -import { load$$balancing_subdivision_code_a2 } from "../../schemas.js"; -import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; import { load$$balancing_components$$schemas$$single_response } from "./outputs.js"; -import { load$$balancing_region_code } from "./schemas.js"; /** * The tools of `loadBalancers.regions`. @@ -21,19 +18,35 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_regions_get", title: "Get Region", - description: "Get a single region mapping.", + description: "Get a single region mapping.\n\nGET /accounts/{account_id}/load_balancers/regions/{region_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "region_id": { - "$ref": "#/$defs/load-balancing_region_code", - "description": "A list of Cloudflare regions. WNAM: Western North America, ENAM: Eastern North America, WEU: Western Europe, EEU: Eastern Europe, NSAM: Northern South America, SSAM: Southern South America, OC: Oceania, ME: Middle East, NAF: North Africa, SAF: South Africa, SAS: Southern Asia, SEAS: South East Asia, NEAS: North East Asia)." + "description": "A list of Cloudflare regions. WNAM: Western North America, ENAM: Eastern North America, WEU: Western Europe, EEU: Eastern Europe, NSAM: Northern South America, SSAM: Southern South America, OC: Oceania, ME: Middle East, NAF: North Africa, SAF: South Africa, SAS: Southern Asia, SEAS: South East Asia, NEAS: North East Asia).", + "enum": [ + "WNAM", + "ENAM", + "WEU", + "EEU", + "NSAM", + "SSAM", + "OC", + "ME", + "NAF", + "SAF", + "SAS", + "SEAS", + "NEAS" + ], + "type": "string" } }, "required": [ @@ -46,10 +59,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_region_code": load$$balancing_region_code, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_components-schemas-single_response", @@ -99,15 +109,16 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_regions_list", title: "List Regions", - description: "List all region mappings.", + description: "List all region mappings.\n\nGET /accounts/{account_id}/load_balancers/regions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -116,18 +127,19 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "country_code_a2": { "description": "Two-letter alpha-2 country code followed in ISO 3166-1.", "type": "string" }, "subdivision_code": { - "$ref": "#/$defs/load-balancing_subdivision_code_a2", - "description": "Two-letter subdivision code followed in ISO 3166-2." + "description": "Two-letter subdivision code followed in ISO 3166-2.", + "type": "string" }, "subdivision_code_a2": { - "$ref": "#/$defs/load-balancing_subdivision_code_a2", - "description": "Two-letter subdivision code followed in ISO 3166-2." + "description": "Two-letter subdivision code followed in ISO 3166-2.", + "type": "string" } }, "type": "object" @@ -136,10 +148,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - "load-balancing_subdivision_code_a2": load$$balancing_subdivision_code_a2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_region_components-schemas-response_collection", diff --git a/src/generated/forge-mcp/loadBalancers/schemas.ts b/src/generated/forge-mcp/loadBalancers/schemas.ts deleted file mode 100644 index 9cdf52813..000000000 --- a/src/generated/forge-mcp/loadBalancers/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `load-balancing_components-schemas-identifier`. - */ -export const load$$balancing_components$$schemas$$identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/loadBalancers/searches/tools.ts b/src/generated/forge-mcp/loadBalancers/searches/tools.ts index c3ccc56e0..2910530d5 100644 --- a/src/generated/forge-mcp/loadBalancers/searches/tools.ts +++ b/src/generated/forge-mcp/loadBalancers/searches/tools.ts @@ -9,7 +9,6 @@ import { load$$balancing_messages, load$$balancing_result_info, } from "../../outputs.js"; -import { load$$balancing_components$$schemas$$identifier } from "../schemas.js"; import { load$$balancing_resource_reference, load$$balancing_search, @@ -23,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "loadBalancers_searches_list", title: "Search Resources", - description: "Search for Load Balancing resources.", + description: "Search for Load Balancing resources.\n\nGET /accounts/{account_id}/load_balancers/search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/load-balancing_components-schemas-identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -40,6 +40,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "type": "number" @@ -71,9 +72,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_components-schemas-identifier": load$$balancing_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts b/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts index 07cc92c00..07966e2a0 100644 --- a/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts +++ b/src/generated/forge-mcp/logpush/accountDatasets/fields/tools.ts @@ -7,7 +7,6 @@ import { logpush_api$$response$$common$$failure, logpush_messages, } from "../../outputs.js"; -import { logpush_dataset, logpush_identifier } from "../../schemas.js"; import { logpush_logpush_field_response_collection } from "./outputs.js"; /** @@ -17,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountDatasets_fields_get", title: "List fields", - description: "Lists all fields available for a dataset. The response result is. an object with key-value pairs, where keys are field names, and values are descriptions.", + description: "Lists all fields available for a dataset. The response result is. an object with key-value pairs, where keys are field names, and values are descriptions.\n\nGET /{account_or_zone}/{account_or_zone_id}/logpush/datasets/{dataset_id}/fields", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -32,13 +32,60 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "dataset_id": { - "$ref": "#/$defs/logpush_dataset", "default": "http_requests", - "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/)." + "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).", + "oneOf": [ + { + "enum": [ + "access_requests", + "account_abuse_protection_events", + "ai_gateway_events", + "audit_logs", + "audit_logs_v2", + "biso_user_actions", + "casb_findings", + "device_posture_results", + "dex_application_tests", + "dex_device_state_events", + "dlp_forensic_copies", + "dns_firewall_logs", + "dns_logs", + "email_security_alerts", + "email_security_post_delivery_events", + "firewall_events", + "gateway_dns", + "gateway_http", + "gateway_network", + "http_requests", + "ipsec_logs", + "magic_bgp_logs", + "magic_ids_detections", + "mcp_portal_logs", + "mnm_flow_logs", + "nel_reports", + "network_analytics_logs", + "page_shield_events", + "sinkhole_http_logs", + "spectrum_events", + "ssh_logs", + "turnstile_events", + "warp_config_changes", + "warp_toggle_changes", + "websocket_analytics", + "workers_trace_events", + "zaraz_events", + "zero_trust_network_sessions" + ], + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -52,10 +99,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_dataset": logpush_dataset, - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_logpush_field_response_collection", diff --git a/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts b/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts index 62f043676..5b27b3eab 100644 --- a/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts +++ b/src/generated/forge-mcp/logpush/accountDatasets/jobs/tools.ts @@ -5,30 +5,11 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { logpush_api$$response$$common, logpush_api$$response$$common$$failure, - logpush_dataset, - logpush_destination_conf, - logpush_enabled, - logpush_error_message, - logpush_filter_attack_traffic, - logpush_frequency, - logpush_id, - logpush_kind, - logpush_last_complete, - logpush_last_error, - logpush_logpull_options, logpush_logpush_job, logpush_logpush_job_response_collection, - logpush_max_upload_bytes, - logpush_max_upload_interval_seconds, - logpush_max_upload_records, logpush_messages, - logpush_name, logpush_output_options, } from "../../outputs.js"; -import { - logpush_dataset as logpush_dataset$, - logpush_identifier, -} from "../../schemas.js"; /** * The tools of `logpush.accountDatasets.jobs`. @@ -37,11 +18,12 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountDatasets_jobs_get", title: "List Logpush jobs for a dataset", - description: "Lists Logpush jobs for an account or zone for a dataset.", + description: "Lists Logpush jobs for an account or zone for a dataset.\n\nGET /{account_or_zone}/{account_or_zone_id}/logpush/datasets/{dataset_id}/jobs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -52,13 +34,60 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "dataset_id": { - "$ref": "#/$defs/logpush_dataset", "default": "http_requests", - "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/)." + "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).", + "oneOf": [ + { + "enum": [ + "access_requests", + "account_abuse_protection_events", + "ai_gateway_events", + "audit_logs", + "audit_logs_v2", + "biso_user_actions", + "casb_findings", + "device_posture_results", + "dex_application_tests", + "dex_device_state_events", + "dlp_forensic_copies", + "dns_firewall_logs", + "dns_logs", + "email_security_alerts", + "email_security_post_delivery_events", + "firewall_events", + "gateway_dns", + "gateway_http", + "gateway_network", + "http_requests", + "ipsec_logs", + "magic_bgp_logs", + "magic_ids_detections", + "mcp_portal_logs", + "mnm_flow_logs", + "nel_reports", + "network_analytics_logs", + "page_shield_events", + "sinkhole_http_logs", + "spectrum_events", + "ssh_logs", + "turnstile_events", + "warp_config_changes", + "warp_toggle_changes", + "websocket_analytics", + "workers_trace_events", + "zaraz_events", + "zero_trust_network_sessions" + ], + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -72,33 +101,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_dataset": logpush_dataset$, - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_logpush_job_response_collection", $defs: { "logpush_api-response-common": logpush_api$$response$$common, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, @@ -139,24 +150,9 @@ export const tools: readonly Tool[] = [ $defs: { "logpush_api-response-common": logpush_api$$response$$common, "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, diff --git a/src/generated/forge-mcp/logpush/accountJobs/schemas.ts b/src/generated/forge-mcp/logpush/accountJobs/schemas.ts deleted file mode 100644 index ec0842efd..000000000 --- a/src/generated/forge-mcp/logpush/accountJobs/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 `logpush_filter`. - */ -export const logpush_filter: JsonSchema = { - "description": "The filters to select the events to include and/or remove from your logs. For more information, refer to [Filters](https://developers.cloudflare.com/logs/reference/filters/).", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; diff --git a/src/generated/forge-mcp/logpush/accountJobs/tools.ts b/src/generated/forge-mcp/logpush/accountJobs/tools.ts index ff9c79b2d..343fa90a8 100644 --- a/src/generated/forge-mcp/logpush/accountJobs/tools.ts +++ b/src/generated/forge-mcp/logpush/accountJobs/tools.ts @@ -6,45 +6,13 @@ import { logpush_api$$response$$common, logpush_api$$response$$common$$failure, logpush_api$$response$$single, - logpush_dataset, - logpush_destination_conf, - logpush_enabled, - logpush_error_message, - logpush_filter_attack_traffic, - logpush_frequency, - logpush_id, - logpush_kind, - logpush_last_complete, - logpush_last_error, - logpush_logpull_options, logpush_logpush_job, logpush_logpush_job_response_collection, - logpush_max_upload_bytes, - logpush_max_upload_interval_seconds, - logpush_max_upload_records, logpush_messages, - logpush_name, logpush_output_options, } from "../outputs.js"; -import { - logpush_dataset as logpush_dataset$, - logpush_destination_conf as logpush_destination_conf$, - logpush_enabled as logpush_enabled$, - logpush_filter_attack_traffic as logpush_filter_attack_traffic$, - logpush_frequency as logpush_frequency$, - logpush_id as logpush_id$, - logpush_identifier, - logpush_kind as logpush_kind$, - logpush_logpull_options as logpush_logpull_options$, - logpush_max_upload_bytes as logpush_max_upload_bytes$, - logpush_max_upload_interval_seconds as logpush_max_upload_interval_seconds$, - logpush_max_upload_records as logpush_max_upload_records$, - logpush_name as logpush_name$, - logpush_output_options as logpush_output_options$, - logpush_ownership_challenge, -} from "../schemas.js"; +import { logpush_output_options as logpush_output_options$ } from "../schemas.js"; import { logpush_logpush_job_response_single } from "./outputs.js"; -import { logpush_filter } from "./schemas.js"; /** * The tools of `logpush.accountJobs`. @@ -53,72 +21,196 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountJobs_create", title: "Create Logpush job", - description: "Creates a new Logpush job for an account or zone.", + description: "Creates a new Logpush job for an account or zone.\n\nPOST /{account_or_zone}/{account_or_zone_id}/logpush/jobs", inputSchema: { type: "object", properties: { "body": { "properties": { "dataset": { - "$ref": "#/$defs/logpush_dataset", "default": "http_requests", - "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/)." + "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).", + "oneOf": [ + { + "enum": [ + "access_requests", + "account_abuse_protection_events", + "ai_gateway_events", + "audit_logs", + "audit_logs_v2", + "biso_user_actions", + "casb_findings", + "device_posture_results", + "dex_application_tests", + "dex_device_state_events", + "dlp_forensic_copies", + "dns_firewall_logs", + "dns_logs", + "email_security_alerts", + "email_security_post_delivery_events", + "firewall_events", + "gateway_dns", + "gateway_http", + "gateway_network", + "http_requests", + "ipsec_logs", + "magic_bgp_logs", + "magic_ids_detections", + "mcp_portal_logs", + "mnm_flow_logs", + "nel_reports", + "network_analytics_logs", + "page_shield_events", + "sinkhole_http_logs", + "spectrum_events", + "ssh_logs", + "turnstile_events", + "warp_config_changes", + "warp_toggle_changes", + "websocket_analytics", + "workers_trace_events", + "zaraz_events", + "zero_trust_network_sessions" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "destination_conf": { - "$ref": "#/$defs/logpush_destination_conf", - "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included." + "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/logpush_enabled", "default": false, - "description": "Flag that indicates if the job is enabled." + "description": "Flag that indicates if the job is enabled.", + "type": "boolean" }, "filter": { - "$ref": "#/$defs/logpush_filter", - "description": "The filters to select the events to include and/or remove from your logs. For more information, refer to [Filters](https://developers.cloudflare.com/logs/reference/filters/)." + "description": "The filters to select the events to include and/or remove from your logs. For more information, refer to [Filters](https://developers.cloudflare.com/logs/reference/filters/).", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "filter_attack_traffic": { - "$ref": "#/$defs/logpush_filter_attack_traffic", "default": false, - "description": "When true, excludes DDoS attack traffic from logs. This option is supported for the `http_requests`, `firewall_events`, and `network_analytics_logs` datasets." + "description": "When true, excludes DDoS attack traffic from logs. This option is supported for the `http_requests`, `firewall_events`, and `network_analytics_logs` datasets.", + "type": "boolean" }, "frequency": { - "$ref": "#/$defs/logpush_frequency", "default": "high", - "description": "This field is deprecated. Please use `max_upload_*` parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files." + "deprecated": true, + "description": "This field is deprecated. Please use `max_upload_*` parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.", + "oneOf": [ + { + "enum": [ + "high", + "low" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "kind": { - "$ref": "#/$defs/logpush_kind", "default": "", - "description": "The kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset)." + "description": "The kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset).", + "enum": [ + "", + "edge" + ], + "type": "string" }, "logpull_options": { - "$ref": "#/$defs/logpush_logpull_options", - "description": "This field is deprecated. Use `output_options` instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately." + "deprecated": true, + "description": "This field is deprecated. Use `output_options` instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "max_upload_bytes": { - "$ref": "#/$defs/logpush_max_upload_bytes", - "description": "The maximum uncompressed file size of a batch of logs. This setting value must be between `5 MB` and `1 GB`, or `0` to disable it. Note that you cannot set a minimum file size; this means that log files may be much smaller than this batch size." + "description": "The maximum uncompressed file size of a batch of logs. This setting value must be between `5 MB` and `1 GB`, or `0` to disable it. Note that you cannot set a minimum file size; this means that log files may be much smaller than this batch size.", + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] }, "max_upload_interval_seconds": { - "$ref": "#/$defs/logpush_max_upload_interval_seconds", - "description": "The maximum interval in seconds for log batches. This setting must be between 30 and 300 seconds (5 minutes), or `0` to disable it. Note that you cannot specify a minimum interval for log batches; this means that log files may be sent in shorter intervals than this." + "description": "The maximum interval in seconds for log batches. This setting must be between 30 and 300 seconds (5 minutes), or `0` to disable it. Note that you cannot specify a minimum interval for log batches; this means that log files may be sent in shorter intervals than this.", + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] }, "max_upload_records": { - "$ref": "#/$defs/logpush_max_upload_records", - "description": "The maximum number of log lines per batch. This setting must be between 1000 and 1,000,000 lines, or `0` to disable it. Note that you cannot specify a minimum number of log lines per batch; this means that log files may contain many fewer lines than this." + "description": "The maximum number of log lines per batch. This setting must be between 1000 and 1,000,000 lines, or `0` to disable it. Note that you cannot specify a minimum number of log lines per batch; this means that log files may contain many fewer lines than this.", + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] }, "name": { - "$ref": "#/$defs/logpush_name", - "description": "Optional human readable job name. Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job." + "description": "Optional human readable job name. Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "output_options": { "$ref": "#/$defs/logpush_output_options", "description": "The structured replacement for `logpull_options`. When including this field, the `logpull_option` field will be ignored." }, "ownership_challenge": { - "$ref": "#/$defs/logpush_ownership_challenge", - "description": "Ownership challenge token to prove destination ownership." + "description": "Ownership challenge token to prove destination ownership.", + "type": "string" } }, "required": [ @@ -127,6 +219,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -137,8 +230,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -152,46 +245,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "logpush_dataset": logpush_dataset$, - "logpush_destination_conf": logpush_destination_conf$, - "logpush_enabled": logpush_enabled$, - "logpush_filter": logpush_filter, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic$, - "logpush_frequency": logpush_frequency$, - "logpush_identifier": logpush_identifier, - "logpush_kind": logpush_kind$, - "logpush_logpull_options": logpush_logpull_options$, - "logpush_max_upload_bytes": logpush_max_upload_bytes$, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds$, - "logpush_max_upload_records": logpush_max_upload_records$, - "logpush_name": logpush_name$, "logpush_output_options": logpush_output_options$, - "logpush_ownership_challenge": logpush_ownership_challenge, }, }, outputSchema: { "$ref": "#/$defs/logpush_logpush_job_response_single", $defs: { "logpush_api-response-single": logpush_api$$response$$single, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_single": logpush_logpush_job_response_single, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, @@ -232,24 +297,9 @@ export const tools: readonly Tool[] = [ $defs: { "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, "logpush_api-response-single": logpush_api$$response$$single, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_single": logpush_logpush_job_response_single, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, @@ -261,11 +311,12 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountJobs_delete", title: "Delete Logpush job", - description: "Deletes a Logpush job.\n\nConfirm with the user before calling this tool. This operation deletes the Logpush job.", + description: "Deletes a Logpush job.\n\nConfirm with the user before calling this tool. This operation deletes the Logpush job.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/logpush/jobs/{job_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -276,12 +327,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "job_id": { - "$ref": "#/$defs/logpush_id", - "description": "Unique id of the job." + "description": "Unique id of the job.", + "type": "integer" } }, "required": [ @@ -295,10 +346,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_id": logpush_id$, - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -310,7 +358,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/logpush_id" + "type": "integer" } }, "type": "object" @@ -321,7 +369,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "logpush_api-response-common": logpush_api$$response$$common, - "logpush_id": logpush_id, "logpush_messages": logpush_messages, }, }, @@ -362,7 +409,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/logpush_id" + "type": "integer" } }, "type": "object" @@ -379,7 +426,6 @@ export const tools: readonly Tool[] = [ $defs: { "logpush_api-response-common": logpush_api$$response$$common, "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, - "logpush_id": logpush_id, "logpush_messages": logpush_messages, }, }, @@ -390,11 +436,12 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountJobs_get", title: "Get Logpush job details", - description: "Gets the details of a Logpush job.", + description: "Gets the details of a Logpush job.\n\nGET /{account_or_zone}/{account_or_zone_id}/logpush/jobs/{job_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -405,12 +452,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "job_id": { - "$ref": "#/$defs/logpush_id", - "description": "Unique id of the job." + "description": "Unique id of the job.", + "type": "integer" } }, "required": [ @@ -424,33 +471,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_id": logpush_id$, - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_logpush_job_response_single", $defs: { "logpush_api-response-single": logpush_api$$response$$single, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_single": logpush_logpush_job_response_single, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, @@ -491,24 +520,9 @@ export const tools: readonly Tool[] = [ $defs: { "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, "logpush_api-response-single": logpush_api$$response$$single, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_single": logpush_logpush_job_response_single, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, @@ -519,11 +533,12 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountJobs_list", title: "List Logpush jobs", - description: "Lists Logpush jobs for an account or zone.", + description: "Lists Logpush jobs for an account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/logpush/jobs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -534,8 +549,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -548,32 +563,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_logpush_job_response_collection", $defs: { "logpush_api-response-common": logpush_api$$response$$common, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, @@ -614,24 +612,9 @@ export const tools: readonly Tool[] = [ $defs: { "logpush_api-response-common": logpush_api$$response$$common, "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_collection": logpush_logpush_job_response_collection, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, @@ -642,72 +625,150 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountJobs_update", title: "Update Logpush job", - description: "Updates a Logpush job.", + description: "Updates a Logpush job.\n\nPUT /{account_or_zone}/{account_or_zone_id}/logpush/jobs/{job_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "destination_conf": { - "$ref": "#/$defs/logpush_destination_conf", - "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included." + "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/logpush_enabled", "default": false, - "description": "Flag that indicates if the job is enabled." + "description": "Flag that indicates if the job is enabled.", + "type": "boolean" }, "filter": { - "$ref": "#/$defs/logpush_filter", - "description": "The filters to select the events to include and/or remove from your logs. For more information, refer to [Filters](https://developers.cloudflare.com/logs/reference/filters/)." + "description": "The filters to select the events to include and/or remove from your logs. For more information, refer to [Filters](https://developers.cloudflare.com/logs/reference/filters/).", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "filter_attack_traffic": { - "$ref": "#/$defs/logpush_filter_attack_traffic", "default": false, - "description": "When true, excludes DDoS attack traffic from logs. This option is supported for the `http_requests`, `firewall_events`, and `network_analytics_logs` datasets." + "description": "When true, excludes DDoS attack traffic from logs. This option is supported for the `http_requests`, `firewall_events`, and `network_analytics_logs` datasets.", + "type": "boolean" }, "frequency": { - "$ref": "#/$defs/logpush_frequency", "default": "high", - "description": "This field is deprecated. Please use `max_upload_*` parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files." + "deprecated": true, + "description": "This field is deprecated. Please use `max_upload_*` parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.", + "oneOf": [ + { + "enum": [ + "high", + "low" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "kind": { - "$ref": "#/$defs/logpush_kind", "default": "", - "description": "The kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset)." + "description": "The kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset).", + "enum": [ + "", + "edge" + ], + "type": "string" }, "logpull_options": { - "$ref": "#/$defs/logpush_logpull_options", - "description": "This field is deprecated. Use `output_options` instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately." + "deprecated": true, + "description": "This field is deprecated. Use `output_options` instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "max_upload_bytes": { - "$ref": "#/$defs/logpush_max_upload_bytes", - "description": "The maximum uncompressed file size of a batch of logs. This setting value must be between `5 MB` and `1 GB`, or `0` to disable it. Note that you cannot set a minimum file size; this means that log files may be much smaller than this batch size." + "description": "The maximum uncompressed file size of a batch of logs. This setting value must be between `5 MB` and `1 GB`, or `0` to disable it. Note that you cannot set a minimum file size; this means that log files may be much smaller than this batch size.", + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] }, "max_upload_interval_seconds": { - "$ref": "#/$defs/logpush_max_upload_interval_seconds", - "description": "The maximum interval in seconds for log batches. This setting must be between 30 and 300 seconds (5 minutes), or `0` to disable it. Note that you cannot specify a minimum interval for log batches; this means that log files may be sent in shorter intervals than this." + "description": "The maximum interval in seconds for log batches. This setting must be between 30 and 300 seconds (5 minutes), or `0` to disable it. Note that you cannot specify a minimum interval for log batches; this means that log files may be sent in shorter intervals than this.", + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] }, "max_upload_records": { - "$ref": "#/$defs/logpush_max_upload_records", - "description": "The maximum number of log lines per batch. This setting must be between 1000 and 1,000,000 lines, or `0` to disable it. Note that you cannot specify a minimum number of log lines per batch; this means that log files may contain many fewer lines than this." + "description": "The maximum number of log lines per batch. This setting must be between 1000 and 1,000,000 lines, or `0` to disable it. Note that you cannot specify a minimum number of log lines per batch; this means that log files may contain many fewer lines than this.", + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] }, "name": { - "$ref": "#/$defs/logpush_name", - "description": "Optional human readable job name. Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job." + "description": "Optional human readable job name. Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "output_options": { "$ref": "#/$defs/logpush_output_options", "description": "The structured replacement for `logpull_options`. When including this field, the `logpull_option` field will be ignored." }, "ownership_challenge": { - "$ref": "#/$defs/logpush_ownership_challenge", - "description": "Ownership challenge token to prove destination ownership." + "description": "Ownership challenge token to prove destination ownership.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -718,12 +779,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "job_id": { - "$ref": "#/$defs/logpush_id", - "description": "Unique id of the job." + "description": "Unique id of the job.", + "type": "integer" } }, "required": [ @@ -738,46 +799,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "logpush_destination_conf": logpush_destination_conf$, - "logpush_enabled": logpush_enabled$, - "logpush_filter": logpush_filter, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic$, - "logpush_frequency": logpush_frequency$, - "logpush_id": logpush_id$, - "logpush_identifier": logpush_identifier, - "logpush_kind": logpush_kind$, - "logpush_logpull_options": logpush_logpull_options$, - "logpush_max_upload_bytes": logpush_max_upload_bytes$, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds$, - "logpush_max_upload_records": logpush_max_upload_records$, - "logpush_name": logpush_name$, "logpush_output_options": logpush_output_options$, - "logpush_ownership_challenge": logpush_ownership_challenge, }, }, outputSchema: { "$ref": "#/$defs/logpush_logpush_job_response_single", $defs: { "logpush_api-response-single": logpush_api$$response$$single, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_single": logpush_logpush_job_response_single, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, @@ -818,24 +851,9 @@ export const tools: readonly Tool[] = [ $defs: { "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, "logpush_api-response-single": logpush_api$$response$$single, - "logpush_dataset": logpush_dataset, - "logpush_destination_conf": logpush_destination_conf, - "logpush_enabled": logpush_enabled, - "logpush_error_message": logpush_error_message, - "logpush_filter_attack_traffic": logpush_filter_attack_traffic, - "logpush_frequency": logpush_frequency, - "logpush_id": logpush_id, - "logpush_kind": logpush_kind, - "logpush_last_complete": logpush_last_complete, - "logpush_last_error": logpush_last_error, - "logpush_logpull_options": logpush_logpull_options, "logpush_logpush_job": logpush_logpush_job, "logpush_logpush_job_response_single": logpush_logpush_job_response_single, - "logpush_max_upload_bytes": logpush_max_upload_bytes, - "logpush_max_upload_interval_seconds": logpush_max_upload_interval_seconds, - "logpush_max_upload_records": logpush_max_upload_records, "logpush_messages": logpush_messages, - "logpush_name": logpush_name, "logpush_output_options": logpush_output_options, }, }, diff --git a/src/generated/forge-mcp/logpush/accountOwnership/tools.ts b/src/generated/forge-mcp/logpush/accountOwnership/tools.ts index 51759c977..31d285496 100644 --- a/src/generated/forge-mcp/logpush/accountOwnership/tools.ts +++ b/src/generated/forge-mcp/logpush/accountOwnership/tools.ts @@ -7,7 +7,6 @@ import { logpush_api$$response$$common$$failure, logpush_messages, } from "../outputs.js"; -import { logpush_destination_conf, logpush_identifier } from "../schemas.js"; import { logpush_get_ownership_response } from "./outputs.js"; /** @@ -17,15 +16,15 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountOwnership_create", title: "Get ownership challenge", - description: "Gets a new ownership challenge sent to your destination.", + description: "Gets a new ownership challenge sent to your destination.\n\nPOST /{account_or_zone}/{account_or_zone_id}/logpush/ownership", inputSchema: { type: "object", properties: { "body": { "properties": { "destination_conf": { - "$ref": "#/$defs/logpush_destination_conf", - "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included." + "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.", + "type": "string" } }, "required": [ @@ -34,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -44,8 +44,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -59,10 +59,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "logpush_destination_conf": logpush_destination_conf, - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_get_ownership_response", diff --git a/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts b/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts index f558626e3..2595daf2d 100644 --- a/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts +++ b/src/generated/forge-mcp/logpush/accountOwnership/validate/tools.ts @@ -7,11 +7,6 @@ import { logpush_api$$response$$common$$failure, logpush_messages, } from "../../outputs.js"; -import { - logpush_destination_conf, - logpush_identifier, - logpush_ownership_challenge, -} from "../../schemas.js"; import { logpush_validate_ownership_response } from "./outputs.js"; /** @@ -21,19 +16,19 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountOwnership_validate_create", title: "Validate ownership challenge", - description: "Validates ownership challenge of the destination.", + description: "Validates ownership challenge of the destination.\n\nPOST /{account_or_zone}/{account_or_zone_id}/logpush/ownership/validate", inputSchema: { type: "object", properties: { "body": { "properties": { "destination_conf": { - "$ref": "#/$defs/logpush_destination_conf", - "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included." + "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.", + "type": "string" }, "ownership_challenge": { - "$ref": "#/$defs/logpush_ownership_challenge", - "description": "Ownership challenge token to prove destination ownership." + "description": "Ownership challenge token to prove destination ownership.", + "type": "string" } }, "required": [ @@ -43,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -53,8 +49,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -68,11 +64,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "logpush_destination_conf": logpush_destination_conf, - "logpush_identifier": logpush_identifier, - "logpush_ownership_challenge": logpush_ownership_challenge, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_validate_ownership_response", diff --git a/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts b/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts index 819fb2b21..ce8896414 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/destination/tools.ts @@ -7,7 +7,6 @@ import { logpush_api$$response$$common$$failure, logpush_messages, } from "../../outputs.js"; -import { logpush_destination_conf, logpush_identifier } from "../../schemas.js"; import { logpush_validate_response } from "../outputs.js"; /** @@ -17,15 +16,15 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountValidate_destination_delete", title: "Validate destination", - description: "Validates destination.", + description: "Validates destination.\n\nPOST /{account_or_zone}/{account_or_zone_id}/logpush/validate/destination", inputSchema: { type: "object", properties: { "body": { "properties": { "destination_conf": { - "$ref": "#/$defs/logpush_destination_conf", - "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included." + "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.", + "type": "string" } }, "required": [ @@ -34,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -44,8 +44,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -59,10 +59,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "logpush_destination_conf": logpush_destination_conf, - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_validate_response", diff --git a/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts b/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts index 4a3ad7ad5..1afd92546 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/origin/tools.ts @@ -7,7 +7,6 @@ import { logpush_api$$response$$common$$failure, logpush_messages, } from "../../outputs.js"; -import { logpush_identifier, logpush_logpull_options } from "../../schemas.js"; import { logpush_validate_response } from "../outputs.js"; /** @@ -17,15 +16,23 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountValidate_origin_create", title: "Validate origin", - description: "Validates logpull origin with logpull_options.", + description: "Validates logpull origin with logpull_options.\n\nPOST /{account_or_zone}/{account_or_zone_id}/logpush/validate/origin", inputSchema: { type: "object", properties: { "body": { "properties": { "logpull_options": { - "$ref": "#/$defs/logpush_logpull_options", - "description": "This field is deprecated. Use `output_options` instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately." + "deprecated": true, + "description": "This field is deprecated. Use `output_options` instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -34,6 +41,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -44,8 +52,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -59,10 +67,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "logpush_identifier": logpush_identifier, - "logpush_logpull_options": logpush_logpull_options, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_validate_response", diff --git a/src/generated/forge-mcp/logpush/accountValidate/tools.ts b/src/generated/forge-mcp/logpush/accountValidate/tools.ts index b9d8ac36b..9d8c3f29f 100644 --- a/src/generated/forge-mcp/logpush/accountValidate/tools.ts +++ b/src/generated/forge-mcp/logpush/accountValidate/tools.ts @@ -7,7 +7,6 @@ import { logpush_api$$response$$common$$failure, logpush_messages, } from "../outputs.js"; -import { logpush_destination_conf, logpush_identifier } from "../schemas.js"; import { logpush_destination_exists_response } from "./outputs.js"; /** @@ -17,15 +16,15 @@ export const tools: readonly Tool[] = [ { name: "logpush_accountValidate_destinationExistsDelete", title: "Check destination exists", - description: "Checks if there is an existing job with a destination.", + description: "Checks if there is an existing job with a destination.\n\nPOST /{account_or_zone}/{account_or_zone_id}/logpush/validate/destination/exists", inputSchema: { type: "object", properties: { "body": { "properties": { "destination_conf": { - "$ref": "#/$defs/logpush_destination_conf", - "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included." + "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.", + "type": "string" } }, "required": [ @@ -34,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -44,8 +44,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -59,10 +59,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "logpush_destination_conf": logpush_destination_conf, - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_destination_exists_response", diff --git a/src/generated/forge-mcp/logpush/edge/outputs.ts b/src/generated/forge-mcp/logpush/edge/outputs.ts index 0d97beb4d..d4609b194 100644 --- a/src/generated/forge-mcp/logpush/edge/outputs.ts +++ b/src/generated/forge-mcp/logpush/edge/outputs.ts @@ -3,27 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `logpush_destination_conf-2` in responses. - */ -export const logpush_destination_conf$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `logpush_fields` in responses. - */ -export const logpush_fields: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `logpush_filter-2` in responses. - */ -export const logpush_filter$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `logpush_instant_logs_job` in responses. */ @@ -32,19 +11,19 @@ export const logpush_instant_logs_job: JsonSchema = { { "properties": { "destination_conf": { - "$ref": "#/$defs/logpush_destination_conf-2" + "type": "string" }, "fields": { - "$ref": "#/$defs/logpush_fields" + "type": "string" }, "filter": { - "$ref": "#/$defs/logpush_filter-2" + "type": "string" }, "sample": { - "$ref": "#/$defs/logpush_sample" + "type": "integer" }, "session_id": { - "$ref": "#/$defs/logpush_session_id" + "type": "string" } }, "type": "object" @@ -109,17 +88,3 @@ export const logpush_instant_logs_job_response_single: JsonSchema = { } ] }; - -/** - * The schema of `logpush_sample` in responses. - */ -export const logpush_sample: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `logpush_session_id` in responses. - */ -export const logpush_session_id: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/logpush/edge/schemas.ts b/src/generated/forge-mcp/logpush/edge/schemas.ts deleted file mode 100644 index 7088e8e4c..000000000 --- a/src/generated/forge-mcp/logpush/edge/schemas.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `logpush_fields`. - */ -export const logpush_fields: JsonSchema = { - "description": "Comma-separated list of fields.", - "type": "string" -}; - -/** - * The schema of `logpush_filter-2`. - */ -export const logpush_filter$$2: JsonSchema = { - "description": "Filters to drill down into specific events.", - "type": "string" -}; - -/** - * The schema of `logpush_sample`. - */ -export const logpush_sample: JsonSchema = { - "description": "The sample parameter is the sample rate of the records set by the client: \"sample\": 1 is 100% of records \"sample\": 10 is 10% and so on.", - "type": "integer" -}; diff --git a/src/generated/forge-mcp/logpush/edge/tools.ts b/src/generated/forge-mcp/logpush/edge/tools.ts index 9d34cdbb6..366fd9c56 100644 --- a/src/generated/forge-mcp/logpush/edge/tools.ts +++ b/src/generated/forge-mcp/logpush/edge/tools.ts @@ -8,22 +8,11 @@ import { logpush_api$$response$$single, logpush_messages, } from "../outputs.js"; -import { logpush_identifier } from "../schemas.js"; import { - logpush_destination_conf$$2, - logpush_fields, - logpush_filter$$2, logpush_instant_logs_job, logpush_instant_logs_job_response_collection, logpush_instant_logs_job_response_single, - logpush_sample, - logpush_session_id, } from "./outputs.js"; -import { - logpush_fields as logpush_fields$, - logpush_filter$$2 as logpush_filter$$2$, - logpush_sample as logpush_sample$, -} from "./schemas.js"; /** * The tools of `logpush.edge`. @@ -32,32 +21,33 @@ export const tools: readonly Tool[] = [ { name: "logpush_edge_create", title: "Create Instant Logs job", - description: "Creates a new Instant Logs job for a zone.", + description: "Creates a new Instant Logs job for a zone.\n\nPOST /zones/{zone_id}/logpush/edge/jobs", inputSchema: { type: "object", properties: { "body": { "properties": { "fields": { - "$ref": "#/$defs/logpush_fields", - "description": "Comma-separated list of fields." + "description": "Comma-separated list of fields.", + "type": "string" }, "filter": { - "$ref": "#/$defs/logpush_filter-2", - "description": "Filters to drill down into specific events." + "description": "Filters to drill down into specific events.", + "type": "string" }, "sample": { - "$ref": "#/$defs/logpush_sample", - "description": "The sample parameter is the sample rate of the records set by the client: \"sample\": 1 is 100% of records \"sample\": 10 is 10% and so on." + "description": "The sample parameter is the sample rate of the records set by the client: \"sample\": 1 is 100% of records \"sample\": 10 is 10% and so on.", + "type": "integer" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -70,25 +60,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "logpush_fields": logpush_fields$, - "logpush_filter-2": logpush_filter$$2$, - "logpush_identifier": logpush_identifier, - "logpush_sample": logpush_sample$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_instant_logs_job_response_single", $defs: { "logpush_api-response-single": logpush_api$$response$$single, - "logpush_destination_conf-2": logpush_destination_conf$$2, - "logpush_fields": logpush_fields, - "logpush_filter-2": logpush_filter$$2, "logpush_instant_logs_job": logpush_instant_logs_job, "logpush_instant_logs_job_response_single": logpush_instant_logs_job_response_single, "logpush_messages": logpush_messages, - "logpush_sample": logpush_sample, - "logpush_session_id": logpush_session_id, }, }, annotations: { @@ -135,14 +115,9 @@ export const tools: readonly Tool[] = [ $defs: { "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, "logpush_api-response-single": logpush_api$$response$$single, - "logpush_destination_conf-2": logpush_destination_conf$$2, - "logpush_fields": logpush_fields, - "logpush_filter-2": logpush_filter$$2, "logpush_instant_logs_job": logpush_instant_logs_job, "logpush_instant_logs_job_response_single": logpush_instant_logs_job_response_single, "logpush_messages": logpush_messages, - "logpush_sample": logpush_sample, - "logpush_session_id": logpush_session_id, }, }, request: (args) => ({ @@ -153,15 +128,16 @@ export const tools: readonly Tool[] = [ { name: "logpush_edge_get", title: "List Instant Logs jobs", - description: "Lists Instant Logs jobs for a zone.", + description: "Lists Instant Logs jobs for a zone.\n\nGET /zones/{zone_id}/logpush/edge/jobs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -173,22 +149,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_instant_logs_job_response_collection", $defs: { "logpush_api-response-common": logpush_api$$response$$common, - "logpush_destination_conf-2": logpush_destination_conf$$2, - "logpush_fields": logpush_fields, - "logpush_filter-2": logpush_filter$$2, "logpush_instant_logs_job": logpush_instant_logs_job, "logpush_instant_logs_job_response_collection": logpush_instant_logs_job_response_collection, "logpush_messages": logpush_messages, - "logpush_sample": logpush_sample, - "logpush_session_id": logpush_session_id, }, }, annotations: { @@ -235,14 +204,9 @@ export const tools: readonly Tool[] = [ $defs: { "logpush_api-response-common": logpush_api$$response$$common, "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, - "logpush_destination_conf-2": logpush_destination_conf$$2, - "logpush_fields": logpush_fields, - "logpush_filter-2": logpush_filter$$2, "logpush_instant_logs_job": logpush_instant_logs_job, "logpush_instant_logs_job_response_collection": logpush_instant_logs_job_response_collection, "logpush_messages": logpush_messages, - "logpush_sample": logpush_sample, - "logpush_session_id": logpush_session_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logpush/outputs.ts b/src/generated/forge-mcp/logpush/outputs.ts index ba6851596..a520465dc 100644 --- a/src/generated/forge-mcp/logpush/outputs.ts +++ b/src/generated/forge-mcp/logpush/outputs.ts @@ -85,175 +85,6 @@ export const logpush_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `logpush_dataset` in responses. - */ -export const logpush_dataset: JsonSchema = { - "oneOf": [ - { - "enum": [ - "access_requests", - "account_abuse_protection_events", - "ai_gateway_events", - "audit_logs", - "audit_logs_v2", - "biso_user_actions", - "casb_findings", - "device_posture_results", - "dex_application_tests", - "dex_device_state_events", - "dlp_forensic_copies", - "dns_firewall_logs", - "dns_logs", - "email_security_alerts", - "email_security_post_delivery_events", - "firewall_events", - "gateway_dns", - "gateway_http", - "gateway_network", - "http_requests", - "ipsec_logs", - "magic_bgp_logs", - "magic_ids_detections", - "mcp_portal_logs", - "mnm_flow_logs", - "nel_reports", - "network_analytics_logs", - "page_shield_events", - "sinkhole_http_logs", - "spectrum_events", - "ssh_logs", - "turnstile_events", - "warp_config_changes", - "warp_toggle_changes", - "websocket_analytics", - "workers_trace_events", - "zaraz_events", - "zero_trust_network_sessions" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_destination_conf` in responses. - */ -export const logpush_destination_conf: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `logpush_enabled` in responses. - */ -export const logpush_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `logpush_error_message` in responses. - */ -export const logpush_error_message: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_filter_attack_traffic` in responses. - */ -export const logpush_filter_attack_traffic: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `logpush_frequency` in responses. - */ -export const logpush_frequency: JsonSchema = { - "oneOf": [ - { - "enum": [ - "high", - "low" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_id` in responses. - */ -export const logpush_id: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `logpush_kind` in responses. - */ -export const logpush_kind: JsonSchema = { - "enum": [ - "", - "edge" - ], - "type": "string" -}; - -/** - * The schema of `logpush_last_complete` in responses. - */ -export const logpush_last_complete: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_last_error` in responses. - */ -export const logpush_last_error: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_logpull_options` in responses. - */ -export const logpush_logpull_options: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `logpush_logpush_job` in responses. */ @@ -262,49 +93,187 @@ export const logpush_logpush_job: JsonSchema = { { "properties": { "dataset": { - "$ref": "#/$defs/logpush_dataset" + "oneOf": [ + { + "enum": [ + "access_requests", + "account_abuse_protection_events", + "ai_gateway_events", + "audit_logs", + "audit_logs_v2", + "biso_user_actions", + "casb_findings", + "device_posture_results", + "dex_application_tests", + "dex_device_state_events", + "dlp_forensic_copies", + "dns_firewall_logs", + "dns_logs", + "email_security_alerts", + "email_security_post_delivery_events", + "firewall_events", + "gateway_dns", + "gateway_http", + "gateway_network", + "http_requests", + "ipsec_logs", + "magic_bgp_logs", + "magic_ids_detections", + "mcp_portal_logs", + "mnm_flow_logs", + "nel_reports", + "network_analytics_logs", + "page_shield_events", + "sinkhole_http_logs", + "spectrum_events", + "ssh_logs", + "turnstile_events", + "warp_config_changes", + "warp_toggle_changes", + "websocket_analytics", + "workers_trace_events", + "zaraz_events", + "zero_trust_network_sessions" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "destination_conf": { - "$ref": "#/$defs/logpush_destination_conf" + "type": "string" }, "enabled": { - "$ref": "#/$defs/logpush_enabled" + "type": "boolean" }, "error_message": { - "$ref": "#/$defs/logpush_error_message" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "filter_attack_traffic": { - "$ref": "#/$defs/logpush_filter_attack_traffic" + "type": "boolean" }, "frequency": { - "$ref": "#/$defs/logpush_frequency" + "oneOf": [ + { + "enum": [ + "high", + "low" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "id": { - "$ref": "#/$defs/logpush_id" + "type": "integer" }, "kind": { - "$ref": "#/$defs/logpush_kind" + "enum": [ + "", + "edge" + ], + "type": "string" }, "last_complete": { - "$ref": "#/$defs/logpush_last_complete" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "last_error": { - "$ref": "#/$defs/logpush_last_error" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "logpull_options": { - "$ref": "#/$defs/logpush_logpull_options" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "max_upload_bytes": { - "$ref": "#/$defs/logpush_max_upload_bytes" + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] }, "max_upload_interval_seconds": { - "$ref": "#/$defs/logpush_max_upload_interval_seconds" + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] }, "max_upload_records": { - "$ref": "#/$defs/logpush_max_upload_records" + "oneOf": [ + { + "type": "integer" + }, + { + "enum": [ + 0 + ], + "type": "integer" + }, + { + "type": "null" + } + ] }, "name": { - "$ref": "#/$defs/logpush_name" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "output_options": { "$ref": "#/$defs/logpush_output_options" @@ -347,66 +316,6 @@ export const logpush_logpush_job_response_collection: JsonSchema = { ] }; -/** - * The schema of `logpush_max_upload_bytes` in responses. - */ -export const logpush_max_upload_bytes: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "enum": [ - 0 - ], - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_max_upload_interval_seconds` in responses. - */ -export const logpush_max_upload_interval_seconds: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "enum": [ - 0 - ], - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_max_upload_records` in responses. - */ -export const logpush_max_upload_records: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "enum": [ - 0 - ], - "type": "integer" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `logpush_messages` in responses. */ @@ -440,20 +349,6 @@ export const logpush_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `logpush_name` in responses. - */ -export const logpush_name: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `logpush_output_options` in responses. */ diff --git a/src/generated/forge-mcp/logpush/schemas.ts b/src/generated/forge-mcp/logpush/schemas.ts index b5dc58b0a..e76dffb21 100644 --- a/src/generated/forge-mcp/logpush/schemas.ts +++ b/src/generated/forge-mcp/logpush/schemas.ts @@ -3,227 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `logpush_dataset`. - */ -export const logpush_dataset: JsonSchema = { - "description": "Name of the dataset. A list of supported datasets can be found on the [Developer Docs](https://developers.cloudflare.com/logs/reference/log-fields/).", - "oneOf": [ - { - "enum": [ - "access_requests", - "account_abuse_protection_events", - "ai_gateway_events", - "audit_logs", - "audit_logs_v2", - "biso_user_actions", - "casb_findings", - "device_posture_results", - "dex_application_tests", - "dex_device_state_events", - "dlp_forensic_copies", - "dns_firewall_logs", - "dns_logs", - "email_security_alerts", - "email_security_post_delivery_events", - "firewall_events", - "gateway_dns", - "gateway_http", - "gateway_network", - "http_requests", - "ipsec_logs", - "magic_bgp_logs", - "magic_ids_detections", - "mcp_portal_logs", - "mnm_flow_logs", - "nel_reports", - "network_analytics_logs", - "page_shield_events", - "sinkhole_http_logs", - "spectrum_events", - "ssh_logs", - "turnstile_events", - "warp_config_changes", - "warp_toggle_changes", - "websocket_analytics", - "workers_trace_events", - "zaraz_events", - "zero_trust_network_sessions" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_destination_conf`. - */ -export const logpush_destination_conf: JsonSchema = { - "description": "Uniquely identifies a resource (such as an s3 bucket) where data. will be pushed. Additional configuration parameters supported by the destination may be included.", - "type": "string" -}; - -/** - * The schema of `logpush_enabled`. - */ -export const logpush_enabled: JsonSchema = { - "description": "Flag that indicates if the job is enabled.", - "type": "boolean" -}; - -/** - * The schema of `logpush_filter_attack_traffic`. - */ -export const logpush_filter_attack_traffic: JsonSchema = { - "description": "When true, excludes DDoS attack traffic from logs. This option is supported for the `http_requests`, `firewall_events`, and `network_analytics_logs` datasets.", - "type": "boolean" -}; - -/** - * The schema of `logpush_frequency`. - */ -export const logpush_frequency: JsonSchema = { - "deprecated": true, - "description": "This field is deprecated. Please use `max_upload_*` parameters instead. . The frequency at which Cloudflare sends batches of logs to your destination. Setting frequency to high sends your logs in larger quantities of smaller files. Setting frequency to low sends logs in smaller quantities of larger files.", - "oneOf": [ - { - "enum": [ - "high", - "low" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_id`. - */ -export const logpush_id: JsonSchema = { - "description": "Unique id of the job.", - "type": "integer" -}; - -/** - * The schema of `logpush_identifier`. - */ -export const logpush_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `logpush_kind`. - */ -export const logpush_kind: JsonSchema = { - "description": "The kind parameter (optional) is used to differentiate between Logpush and Edge Log Delivery jobs (when supported by the dataset).", - "enum": [ - "", - "edge" - ], - "type": "string" -}; - -/** - * The schema of `logpush_logpull_options`. - */ -export const logpush_logpull_options: JsonSchema = { - "deprecated": true, - "description": "This field is deprecated. Use `output_options` instead. Configuration string. It specifies things like requested fields and timestamp formats. If migrating from the logpull api, copy the url (full url or just the query string) of your call here, and logpush will keep on making this call for you, setting start and end times appropriately.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_max_upload_bytes`. - */ -export const logpush_max_upload_bytes: JsonSchema = { - "description": "The maximum uncompressed file size of a batch of logs. This setting value must be between `5 MB` and `1 GB`, or `0` to disable it. Note that you cannot set a minimum file size; this means that log files may be much smaller than this batch size.", - "oneOf": [ - { - "type": "integer" - }, - { - "enum": [ - 0 - ], - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_max_upload_interval_seconds`. - */ -export const logpush_max_upload_interval_seconds: JsonSchema = { - "description": "The maximum interval in seconds for log batches. This setting must be between 30 and 300 seconds (5 minutes), or `0` to disable it. Note that you cannot specify a minimum interval for log batches; this means that log files may be sent in shorter intervals than this.", - "oneOf": [ - { - "type": "integer" - }, - { - "enum": [ - 0 - ], - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_max_upload_records`. - */ -export const logpush_max_upload_records: JsonSchema = { - "description": "The maximum number of log lines per batch. This setting must be between 1000 and 1,000,000 lines, or `0` to disable it. Note that you cannot specify a minimum number of log lines per batch; this means that log files may contain many fewer lines than this.", - "oneOf": [ - { - "type": "integer" - }, - { - "enum": [ - 0 - ], - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `logpush_name`. - */ -export const logpush_name: JsonSchema = { - "description": "Optional human readable job name. Not unique. Cloudflare suggests. that you set this to a meaningful string, like the domain name, to make it easier to identify your job.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `logpush_output_options`. */ @@ -376,11 +155,3 @@ export const logpush_output_options: JsonSchema = { } ] }; - -/** - * The schema of `logpush_ownership_challenge`. - */ -export const logpush_ownership_challenge: JsonSchema = { - "description": "Ownership challenge token to prove destination ownership.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/logpush/transformers/content/tools.ts b/src/generated/forge-mcp/logpush/transformers/content/tools.ts index 079c3849a..c06a65475 100644 --- a/src/generated/forge-mcp/logpush/transformers/content/tools.ts +++ b/src/generated/forge-mcp/logpush/transformers/content/tools.ts @@ -7,8 +7,6 @@ import { logpush_api$$response$$single, logpush_messages, } from "../../outputs.js"; -import { logpush_identifier } from "../../schemas.js"; -import { logpush_transformer_identifier } from "../schemas.js"; import { logpush_transformer_content_response } from "./outputs.js"; /** @@ -18,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "logpush_transformers_content_get", title: "Get transformer content", - description: "Returns the SQL query content for a transformer. Without query params, returns the latest version. With `version_id`, returns the specified version.", + description: "Returns the SQL query content for a transformer. Without query params, returns the latest version. With `version_id`, returns the specified version.\n\nGET /accounts/{account_id}/logpush/transformers/{transformer_id}/content", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." + "description": "The transformer ID.", + "type": "integer" } }, "required": [ @@ -40,6 +39,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "version_id": { "description": "Specific version ID to retrieve. When omitted, the latest version is returned.", @@ -52,10 +52,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_identifier": logpush_identifier, - "logpush_transformer_identifier": logpush_transformer_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_transformer_content_response", diff --git a/src/generated/forge-mcp/logpush/transformers/outputs.ts b/src/generated/forge-mcp/logpush/transformers/outputs.ts index ece8776a5..a5b2183a9 100644 --- a/src/generated/forge-mcp/logpush/transformers/outputs.ts +++ b/src/generated/forge-mcp/logpush/transformers/outputs.ts @@ -19,16 +19,23 @@ export const logpush_transformer: JsonSchema = { "type": "string" }, "dataset": { - "$ref": "#/$defs/logpush_transformer_dataset" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "description": { - "$ref": "#/$defs/logpush_transformer_description" + "type": "string" }, "id": { - "$ref": "#/$defs/logpush_transformer_identifier" + "type": "integer" }, "name": { - "$ref": "#/$defs/logpush_transformer_name" + "type": "string" }, "updated_at": { "format": "date-time", @@ -38,20 +45,6 @@ export const logpush_transformer: JsonSchema = { "type": "object" }; -/** - * The schema of `logpush_transformer_dataset` in responses. - */ -export const logpush_transformer_dataset: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `logpush_transformer_delete_response` in responses. */ @@ -76,20 +69,6 @@ export const logpush_transformer_delete_response: JsonSchema = { ] }; -/** - * The schema of `logpush_transformer_description` in responses. - */ -export const logpush_transformer_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `logpush_transformer_identifier` in responses. - */ -export const logpush_transformer_identifier: JsonSchema = { - "type": "integer" -}; - /** * The schema of `logpush_transformer_job_ref` in responses. */ @@ -115,13 +94,6 @@ export const logpush_transformer_job_ref: JsonSchema = { "type": "object" }; -/** - * The schema of `logpush_transformer_name` in responses. - */ -export const logpush_transformer_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `logpush_transformer_preview_response` in responses. */ diff --git a/src/generated/forge-mcp/logpush/transformers/schemas.ts b/src/generated/forge-mcp/logpush/transformers/schemas.ts index c0ce16b93..6dacf844b 100644 --- a/src/generated/forge-mcp/logpush/transformers/schemas.ts +++ b/src/generated/forge-mcp/logpush/transformers/schemas.ts @@ -3,30 +3,22 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `logpush_transformer_code`. - */ -export const logpush_transformer_code: JsonSchema = { - "description": "The SQL transformer query. Maximum 32 KB. The query must contain a FROM clause referencing a valid logpush dataset.", - "type": "string" -}; - /** * The schema of `logpush_transformer_create_request`. */ export const logpush_transformer_create_request: JsonSchema = { "properties": { "code": { - "$ref": "#/$defs/logpush_transformer_code", - "description": "The SQL transformer query. Maximum 32 KB. The query must contain a FROM clause referencing a valid logpush dataset." + "description": "The SQL transformer query. Maximum 32 KB. The query must contain a FROM clause referencing a valid logpush dataset.", + "type": "string" }, "description": { - "$ref": "#/$defs/logpush_transformer_description", - "description": "Optional customer-provided description." + "description": "Optional customer-provided description.", + "type": "string" }, "name": { - "$ref": "#/$defs/logpush_transformer_name", - "description": "Customer-provided name for identification." + "description": "Customer-provided name for identification.", + "type": "string" } }, "required": [ @@ -36,30 +28,6 @@ export const logpush_transformer_create_request: JsonSchema = { "type": "object" }; -/** - * The schema of `logpush_transformer_description`. - */ -export const logpush_transformer_description: JsonSchema = { - "description": "Optional customer-provided description.", - "type": "string" -}; - -/** - * The schema of `logpush_transformer_identifier`. - */ -export const logpush_transformer_identifier: JsonSchema = { - "description": "The transformer ID.", - "type": "integer" -}; - -/** - * The schema of `logpush_transformer_name`. - */ -export const logpush_transformer_name: JsonSchema = { - "description": "Customer-provided name for identification.", - "type": "string" -}; - /** * The schema of `logpush_transformer_preview_request`. */ @@ -70,8 +38,8 @@ export const logpush_transformer_preview_request: JsonSchema = { "type": "object" }, "sql": { - "$ref": "#/$defs/logpush_transformer_code", - "description": "The SQL transformer query. Maximum 32 KB. The query must contain a FROM clause referencing a valid logpush dataset." + "description": "The SQL transformer query. Maximum 32 KB. The query must contain a FROM clause referencing a valid logpush dataset.", + "type": "string" } }, "required": [ @@ -87,16 +55,16 @@ export const logpush_transformer_preview_request: JsonSchema = { export const logpush_transformer_update_request: JsonSchema = { "properties": { "code": { - "$ref": "#/$defs/logpush_transformer_code", - "description": "The SQL transformer query. Maximum 32 KB. The query must contain a FROM clause referencing a valid logpush dataset." + "description": "The SQL transformer query. Maximum 32 KB. The query must contain a FROM clause referencing a valid logpush dataset.", + "type": "string" }, "description": { - "$ref": "#/$defs/logpush_transformer_description", - "description": "Optional customer-provided description." + "description": "Optional customer-provided description.", + "type": "string" }, "name": { - "$ref": "#/$defs/logpush_transformer_name", - "description": "Customer-provided name for identification." + "description": "Customer-provided name for identification.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/logpush/transformers/tools.ts b/src/generated/forge-mcp/logpush/transformers/tools.ts index e152a6352..d2e1a97c7 100644 --- a/src/generated/forge-mcp/logpush/transformers/tools.ts +++ b/src/generated/forge-mcp/logpush/transformers/tools.ts @@ -8,25 +8,16 @@ import { logpush_api$$response$$single, logpush_messages, } from "../outputs.js"; -import { logpush_identifier } from "../schemas.js"; import { logpush_transformer, - logpush_transformer_dataset, logpush_transformer_delete_response, - logpush_transformer_description, - logpush_transformer_identifier, logpush_transformer_job_ref, - logpush_transformer_name, logpush_transformer_preview_response, logpush_transformer_response_collection, logpush_transformer_response_single, } from "./outputs.js"; import { - logpush_transformer_code, logpush_transformer_create_request, - logpush_transformer_description as logpush_transformer_description$, - logpush_transformer_identifier as logpush_transformer_identifier$, - logpush_transformer_name as logpush_transformer_name$, logpush_transformer_preview_request, logpush_transformer_update_request, } from "./schemas.js"; @@ -38,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "logpush_transformers_create", title: "Create transformer", - description: "Creates a new custom log transformer for an account.", + description: "Creates a new custom log transformer for an account.\n\nPOST /accounts/{account_id}/logpush/transformers", inputSchema: { type: "object", properties: { @@ -46,10 +37,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/logpush_transformer_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -62,12 +54,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "logpush_identifier": logpush_identifier, - "logpush_transformer_code": logpush_transformer_code, "logpush_transformer_create_request": logpush_transformer_create_request, - "logpush_transformer_description": logpush_transformer_description$, - "logpush_transformer_name": logpush_transformer_name$, }, }, outputSchema: { @@ -76,11 +65,7 @@ export const tools: readonly Tool[] = [ "logpush_api-response-single": logpush_api$$response$$single, "logpush_messages": logpush_messages, "logpush_transformer": logpush_transformer, - "logpush_transformer_dataset": logpush_transformer_dataset, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_identifier": logpush_transformer_identifier, "logpush_transformer_job_ref": logpush_transformer_job_ref, - "logpush_transformer_name": logpush_transformer_name, "logpush_transformer_response_single": logpush_transformer_response_single, }, }, @@ -123,11 +108,7 @@ export const tools: readonly Tool[] = [ "logpush_api-response-single": logpush_api$$response$$single, "logpush_messages": logpush_messages, "logpush_transformer": logpush_transformer, - "logpush_transformer_dataset": logpush_transformer_dataset, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_identifier": logpush_transformer_identifier, "logpush_transformer_job_ref": logpush_transformer_job_ref, - "logpush_transformer_name": logpush_transformer_name, "logpush_transformer_response_single": logpush_transformer_response_single, }, }, @@ -139,19 +120,20 @@ export const tools: readonly Tool[] = [ { name: "logpush_transformers_delete", title: "Delete transformer", - description: "Deletes a custom log transformer. Returns 409 Conflict if any active logpush jobs reference the transformer.", + description: "Deletes a custom log transformer. Returns 409 Conflict if any active logpush jobs reference the transformer.\n\nDELETE /accounts/{account_id}/logpush/transformers/{transformer_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." + "description": "The transformer ID.", + "type": "integer" } }, "required": [ @@ -164,10 +146,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_identifier": logpush_identifier, - "logpush_transformer_identifier": logpush_transformer_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_transformer_delete_response", @@ -228,19 +207,20 @@ export const tools: readonly Tool[] = [ { name: "logpush_transformers_get", title: "Get transformer", - description: "Gets a single custom log transformer by ID.", + description: "Gets a single custom log transformer by ID.\n\nGET /accounts/{account_id}/logpush/transformers/{transformer_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." + "description": "The transformer ID.", + "type": "integer" } }, "required": [ @@ -253,10 +233,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_identifier": logpush_identifier, - "logpush_transformer_identifier": logpush_transformer_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_transformer_response_single", @@ -264,11 +241,7 @@ export const tools: readonly Tool[] = [ "logpush_api-response-single": logpush_api$$response$$single, "logpush_messages": logpush_messages, "logpush_transformer": logpush_transformer, - "logpush_transformer_dataset": logpush_transformer_dataset, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_identifier": logpush_transformer_identifier, "logpush_transformer_job_ref": logpush_transformer_job_ref, - "logpush_transformer_name": logpush_transformer_name, "logpush_transformer_response_single": logpush_transformer_response_single, }, }, @@ -311,11 +284,7 @@ export const tools: readonly Tool[] = [ "logpush_api-response-single": logpush_api$$response$$single, "logpush_messages": logpush_messages, "logpush_transformer": logpush_transformer, - "logpush_transformer_dataset": logpush_transformer_dataset, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_identifier": logpush_transformer_identifier, "logpush_transformer_job_ref": logpush_transformer_job_ref, - "logpush_transformer_name": logpush_transformer_name, "logpush_transformer_response_single": logpush_transformer_response_single, }, }, @@ -326,15 +295,16 @@ export const tools: readonly Tool[] = [ { name: "logpush_transformers_list", title: "List transformers", - description: "Lists all custom log transformers for an account.", + description: "Lists all custom log transformers for an account.\n\nGET /accounts/{account_id}/logpush/transformers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -346,9 +316,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_identifier": logpush_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_transformer_response_collection", @@ -356,11 +324,7 @@ export const tools: readonly Tool[] = [ "logpush_api-response-common": logpush_api$$response$$common, "logpush_messages": logpush_messages, "logpush_transformer": logpush_transformer, - "logpush_transformer_dataset": logpush_transformer_dataset, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_identifier": logpush_transformer_identifier, "logpush_transformer_job_ref": logpush_transformer_job_ref, - "logpush_transformer_name": logpush_transformer_name, "logpush_transformer_response_collection": logpush_transformer_response_collection, }, }, @@ -403,11 +367,7 @@ export const tools: readonly Tool[] = [ "logpush_api-response-common-failure": logpush_api$$response$$common$$failure, "logpush_messages": logpush_messages, "logpush_transformer": logpush_transformer, - "logpush_transformer_dataset": logpush_transformer_dataset, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_identifier": logpush_transformer_identifier, "logpush_transformer_job_ref": logpush_transformer_job_ref, - "logpush_transformer_name": logpush_transformer_name, "logpush_transformer_response_collection": logpush_transformer_response_collection, }, }, @@ -418,7 +378,7 @@ export const tools: readonly Tool[] = [ { name: "logpush_transformers_preview", title: "Preview transformer", - description: "Executes a SQL transformer against a single input record and returns the transformed output. This is a stateless endpoint — nothing is persisted.", + description: "Executes a SQL transformer against a single input record and returns the transformed output. This is a stateless endpoint — nothing is persisted.\n\nPOST /accounts/{account_id}/logpush/transformers/preview", inputSchema: { type: "object", properties: { @@ -426,10 +386,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/logpush_transformer_preview_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -442,9 +403,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "logpush_identifier": logpush_identifier, - "logpush_transformer_code": logpush_transformer_code, "logpush_transformer_preview_request": logpush_transformer_preview_request, }, }, @@ -505,7 +465,7 @@ export const tools: readonly Tool[] = [ { name: "logpush_transformers_update", title: "Update transformer", - description: "Updates an existing custom log transformer. When `code` is provided, the SQL query is validated and a new version is created. When `code` is omitted, only the name and description are updated. Omitting `description` clears the existing description.", + description: "Updates an existing custom log transformer. When `code` is provided, the SQL query is validated and a new version is created. When `code` is omitted, only the name and description are updated. Omitting `description` clears the existing description.\n\nPUT /accounts/{account_id}/logpush/transformers/{transformer_id}", inputSchema: { type: "object", properties: { @@ -513,14 +473,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/logpush_transformer_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." + "description": "The transformer ID.", + "type": "integer" } }, "required": [ @@ -534,12 +495,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "logpush_identifier": logpush_identifier, - "logpush_transformer_code": logpush_transformer_code, - "logpush_transformer_description": logpush_transformer_description$, - "logpush_transformer_identifier": logpush_transformer_identifier$, - "logpush_transformer_name": logpush_transformer_name$, "logpush_transformer_update_request": logpush_transformer_update_request, }, }, @@ -549,11 +506,7 @@ export const tools: readonly Tool[] = [ "logpush_api-response-single": logpush_api$$response$$single, "logpush_messages": logpush_messages, "logpush_transformer": logpush_transformer, - "logpush_transformer_dataset": logpush_transformer_dataset, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_identifier": logpush_transformer_identifier, "logpush_transformer_job_ref": logpush_transformer_job_ref, - "logpush_transformer_name": logpush_transformer_name, "logpush_transformer_response_single": logpush_transformer_response_single, }, }, @@ -596,11 +549,7 @@ export const tools: readonly Tool[] = [ "logpush_api-response-single": logpush_api$$response$$single, "logpush_messages": logpush_messages, "logpush_transformer": logpush_transformer, - "logpush_transformer_dataset": logpush_transformer_dataset, - "logpush_transformer_description": logpush_transformer_description, - "logpush_transformer_identifier": logpush_transformer_identifier, "logpush_transformer_job_ref": logpush_transformer_job_ref, - "logpush_transformer_name": logpush_transformer_name, "logpush_transformer_response_single": logpush_transformer_response_single, }, }, diff --git a/src/generated/forge-mcp/logpush/transformers/versions/tools.ts b/src/generated/forge-mcp/logpush/transformers/versions/tools.ts index 80a028060..8bbeee08b 100644 --- a/src/generated/forge-mcp/logpush/transformers/versions/tools.ts +++ b/src/generated/forge-mcp/logpush/transformers/versions/tools.ts @@ -7,8 +7,6 @@ import { logpush_api$$response$$common$$failure, logpush_messages, } from "../../outputs.js"; -import { logpush_identifier } from "../../schemas.js"; -import { logpush_transformer_identifier } from "../schemas.js"; import { logpush_transformer_version, logpush_transformer_version_response_collection, @@ -21,19 +19,20 @@ export const tools: readonly Tool[] = [ { name: "logpush_transformers_versions_list", title: "List transformer versions", - description: "Returns version metadata for a transformer, newest first. Each version corresponds to a SQL query update.", + description: "Returns version metadata for a transformer, newest first. Each version corresponds to a SQL query update.\n\nGET /accounts/{account_id}/logpush/transformers/{transformer_id}/versions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpush_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "transformer_id": { - "$ref": "#/$defs/logpush_transformer_identifier", - "description": "The transformer ID." + "description": "The transformer ID.", + "type": "integer" } }, "required": [ @@ -43,6 +42,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "default": 10, @@ -56,10 +56,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logpush_identifier": logpush_identifier, - "logpush_transformer_identifier": logpush_transformer_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logpush_transformer_version_response_collection", diff --git a/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts b/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts index 736667b9e..9dfa387cf 100644 --- a/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts +++ b/src/generated/forge-mcp/logs/control/cmb/config/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `logcontrol_allow_out_of_region_access` in responses. - */ -export const logcontrol_allow_out_of_region_access: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `logcontrol_api-response-common` in responses. */ @@ -44,10 +37,10 @@ export const logcontrol_cmb_config: JsonSchema = { { "properties": { "allow_out_of_region_access": { - "$ref": "#/$defs/logcontrol_allow_out_of_region_access" + "type": "boolean" }, "regions": { - "$ref": "#/$defs/logcontrol_regions" + "type": "string" } }, "type": "object" @@ -83,10 +76,3 @@ export const logcontrol_cmb_config_response_single: JsonSchema = { } ] }; - -/** - * The schema of `logcontrol_regions` in responses. - */ -export const logcontrol_regions: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/logs/control/cmb/config/schemas.ts b/src/generated/forge-mcp/logs/control/cmb/config/schemas.ts index 6d69433f0..cac02645f 100644 --- a/src/generated/forge-mcp/logs/control/cmb/config/schemas.ts +++ b/src/generated/forge-mcp/logs/control/cmb/config/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `logcontrol_allow_out_of_region_access`. - */ -export const logcontrol_allow_out_of_region_access: JsonSchema = { - "description": "Allow out of region access", - "type": "boolean" -}; - /** * The schema of `logcontrol_cmb_config`. */ @@ -19,12 +11,12 @@ export const logcontrol_cmb_config: JsonSchema = { { "properties": { "allow_out_of_region_access": { - "$ref": "#/$defs/logcontrol_allow_out_of_region_access", - "description": "Allow out of region access" + "description": "Allow out of region access", + "type": "boolean" }, "regions": { - "$ref": "#/$defs/logcontrol_regions", - "description": "Name of the region." + "description": "Name of the region.", + "type": "string" } }, "type": "object" @@ -34,11 +26,3 @@ export const logcontrol_cmb_config: JsonSchema = { } ] }; - -/** - * The schema of `logcontrol_regions`. - */ -export const logcontrol_regions: JsonSchema = { - "description": "Name of the region.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/logs/control/cmb/config/tools.ts b/src/generated/forge-mcp/logs/control/cmb/config/tools.ts index a704555f9..fe159941e 100644 --- a/src/generated/forge-mcp/logs/control/cmb/config/tools.ts +++ b/src/generated/forge-mcp/logs/control/cmb/config/tools.ts @@ -7,19 +7,12 @@ import { logcontrol_api$$response$$single, logcontrol_messages, } from "../../outputs.js"; -import { logcontrol_identifier } from "../../schemas.js"; import { - logcontrol_allow_out_of_region_access, logcontrol_api$$response$$common, logcontrol_cmb_config, logcontrol_cmb_config_response_single, - logcontrol_regions, } from "./outputs.js"; -import { - logcontrol_allow_out_of_region_access as logcontrol_allow_out_of_region_access$, - logcontrol_cmb_config as logcontrol_cmb_config$, - logcontrol_regions as logcontrol_regions$, -} from "./schemas.js"; +import { logcontrol_cmb_config as logcontrol_cmb_config$ } from "./schemas.js"; /** * The tools of `logs.control.cmb.config`. @@ -28,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "logs_control_cmb_config_create", title: "Update CMB config", - description: "Updates CMB config.\n\nThis method is deprecated.", + description: "Updates CMB config.\n\nThis method is deprecated.\n\nPOST /accounts/{account_id}/logs/control/cmb/config", inputSchema: { type: "object", properties: { @@ -36,10 +29,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/logcontrol_cmb_config" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -52,22 +46,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access$, "logcontrol_cmb_config": logcontrol_cmb_config$, - "logcontrol_identifier": logcontrol_identifier, - "logcontrol_regions": logcontrol_regions$, }, }, outputSchema: { "$ref": "#/$defs/logcontrol_cmb_config_response_single", $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access, "logcontrol_api-response-single": logcontrol_api$$response$$single, "logcontrol_cmb_config": logcontrol_cmb_config, "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single, "logcontrol_messages": logcontrol_messages, - "logcontrol_regions": logcontrol_regions, }, }, annotations: { @@ -99,13 +89,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access, "logcontrol_api-response-common-failure": logcontrol_api$$response$$common$$failure, "logcontrol_api-response-single": logcontrol_api$$response$$single, "logcontrol_cmb_config": logcontrol_cmb_config, "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single, "logcontrol_messages": logcontrol_messages, - "logcontrol_regions": logcontrol_regions, }, }, request: (args) => ({ @@ -116,15 +104,16 @@ export const tools: readonly Tool[] = [ { name: "logs_control_cmb_config_delete", title: "Delete CMB config", - description: "Deletes CMB config.\n\nThis method is deprecated.\n\nConfirm with the user before calling this tool. This operation deletes the CMB config.", + description: "Deletes CMB config.\n\nThis method is deprecated.\n\nConfirm with the user before calling this tool. This operation deletes the CMB config.\n\nDELETE /accounts/{account_id}/logs/control/cmb/config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -136,9 +125,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logcontrol_identifier": logcontrol_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -212,15 +199,16 @@ export const tools: readonly Tool[] = [ { name: "logs_control_cmb_config_get", title: "Get CMB config", - description: "Gets CMB config.\n\nThis method is deprecated.", + description: "Gets CMB config.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/logs/control/cmb/config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -232,19 +220,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logcontrol_identifier": logcontrol_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logcontrol_cmb_config_response_single", $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access, "logcontrol_api-response-single": logcontrol_api$$response$$single, "logcontrol_cmb_config": logcontrol_cmb_config, "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single, "logcontrol_messages": logcontrol_messages, - "logcontrol_regions": logcontrol_regions, }, }, annotations: { @@ -278,13 +262,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "logcontrol_allow_out_of_region_access": logcontrol_allow_out_of_region_access, "logcontrol_api-response-common-failure": logcontrol_api$$response$$common$$failure, "logcontrol_api-response-single": logcontrol_api$$response$$single, "logcontrol_cmb_config": logcontrol_cmb_config, "logcontrol_cmb_config_response_single": logcontrol_cmb_config_response_single, "logcontrol_messages": logcontrol_messages, - "logcontrol_regions": logcontrol_regions, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/logs/control/retention/outputs.ts b/src/generated/forge-mcp/logs/control/retention/outputs.ts index 829e5f9f5..2b465fed1 100644 --- a/src/generated/forge-mcp/logs/control/retention/outputs.ts +++ b/src/generated/forge-mcp/logs/control/retention/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `logcontrol_flag` in responses. - */ -export const logcontrol_flag: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `logcontrol_retention_flag` in responses. */ @@ -18,7 +11,7 @@ export const logcontrol_retention_flag: JsonSchema = { { "properties": { "flag": { - "$ref": "#/$defs/logcontrol_flag" + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/logs/control/retention/schemas.ts b/src/generated/forge-mcp/logs/control/retention/schemas.ts index f69d77fd8..59858b7b1 100644 --- a/src/generated/forge-mcp/logs/control/retention/schemas.ts +++ b/src/generated/forge-mcp/logs/control/retention/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `logcontrol_flag`. - */ -export const logcontrol_flag: JsonSchema = { - "description": "The log retention flag for Logpull API.", - "type": "boolean" -}; - /** * The schema of `logcontrol_retention_flag`. */ @@ -19,8 +11,8 @@ export const logcontrol_retention_flag: JsonSchema = { { "properties": { "flag": { - "$ref": "#/$defs/logcontrol_flag", - "description": "The log retention flag for Logpull API." + "description": "The log retention flag for Logpull API.", + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/logs/control/retention/tools.ts b/src/generated/forge-mcp/logs/control/retention/tools.ts index a4bfe4ab8..15a047b13 100644 --- a/src/generated/forge-mcp/logs/control/retention/tools.ts +++ b/src/generated/forge-mcp/logs/control/retention/tools.ts @@ -7,16 +7,11 @@ import { logcontrol_api$$response$$single, logcontrol_messages, } from "../outputs.js"; -import { logcontrol_identifier } from "../schemas.js"; import { - logcontrol_flag, logcontrol_retention_flag, logcontrol_retention_flag_response_single, } from "./outputs.js"; -import { - logcontrol_flag as logcontrol_flag$, - logcontrol_retention_flag as logcontrol_retention_flag$, -} from "./schemas.js"; +import { logcontrol_retention_flag as logcontrol_retention_flag$ } from "./schemas.js"; /** * The tools of `logs.control.retention`. @@ -25,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "logs_control_retention_create", title: "Update log retention flag", - description: "Updates log retention flag for Logpull API.\n\nThis method is deprecated.", + description: "Updates log retention flag for Logpull API.\n\nThis method is deprecated.\n\nPOST /zones/{zone_id}/logs/control/retention/flag", inputSchema: { type: "object", properties: { @@ -33,10 +28,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/logcontrol_retention_flag" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -49,9 +45,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "logcontrol_flag": logcontrol_flag$, - "logcontrol_identifier": logcontrol_identifier, "logcontrol_retention_flag": logcontrol_retention_flag$, }, }, @@ -59,7 +54,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/logcontrol_retention_flag_response_single", $defs: { "logcontrol_api-response-single": logcontrol_api$$response$$single, - "logcontrol_flag": logcontrol_flag, "logcontrol_messages": logcontrol_messages, "logcontrol_retention_flag": logcontrol_retention_flag, "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single, @@ -102,7 +96,6 @@ export const tools: readonly Tool[] = [ $defs: { "logcontrol_api-response-common-failure": logcontrol_api$$response$$common$$failure, "logcontrol_api-response-single": logcontrol_api$$response$$single, - "logcontrol_flag": logcontrol_flag, "logcontrol_messages": logcontrol_messages, "logcontrol_retention_flag": logcontrol_retention_flag, "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single, @@ -116,15 +109,16 @@ export const tools: readonly Tool[] = [ { name: "logs_control_retention_get", title: "Get log retention flag", - description: "Gets log retention flag for Logpull API.\n\nThis method is deprecated.", + description: "Gets log retention flag for Logpull API.\n\nThis method is deprecated.\n\nGET /zones/{zone_id}/logs/control/retention/flag", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/logcontrol_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -136,15 +130,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logcontrol_identifier": logcontrol_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logcontrol_retention_flag_response_single", $defs: { "logcontrol_api-response-single": logcontrol_api$$response$$single, - "logcontrol_flag": logcontrol_flag, "logcontrol_messages": logcontrol_messages, "logcontrol_retention_flag": logcontrol_retention_flag, "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single, @@ -189,7 +180,6 @@ export const tools: readonly Tool[] = [ $defs: { "logcontrol_api-response-common-failure": logcontrol_api$$response$$common$$failure, "logcontrol_api-response-single": logcontrol_api$$response$$single, - "logcontrol_flag": logcontrol_flag, "logcontrol_messages": logcontrol_messages, "logcontrol_retention_flag": logcontrol_retention_flag, "logcontrol_retention_flag_response_single": logcontrol_retention_flag_response_single, diff --git a/src/generated/forge-mcp/logs/control/schemas.ts b/src/generated/forge-mcp/logs/control/schemas.ts deleted file mode 100644 index 2931d8941..000000000 --- a/src/generated/forge-mcp/logs/control/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `logcontrol_identifier`. - */ -export const logcontrol_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/logs/datasets/schemas.ts b/src/generated/forge-mcp/logs/datasets/schemas.ts index baab4599e..e2760e8bc 100644 --- a/src/generated/forge-mcp/logs/datasets/schemas.ts +++ b/src/generated/forge-mcp/logs/datasets/schemas.ts @@ -13,18 +13,18 @@ export const lex_CreateDatasetRequest: JsonSchema = { "type": "string" }, "fields": { - "description": "Controls which fields the API ingests. Defaults to all available\nfields when absent.\n", + "description": "Controls which fields the API ingests. Defaults to all available\nfields when absent.", "items": { "$ref": "#/$defs/lex_LogField" }, "type": "array" }, "filter": { - "description": "Optional Logpush filter predicate to restrict which events are ingested.\nSee [Logpush filters](https://developers.cloudflare.com/logs/reference/filters/)\nfor syntax and examples.\n", + "description": "Optional Logpush filter predicate to restrict which events are ingested.\nSee [Logpush filters](https://developers.cloudflare.com/logs/reference/filters/)\nfor syntax and examples.", "type": "string" }, "filter_attack_traffic": { - "description": "Whether to filter attack traffic from the Logpush job. Defaults to\n`true` for supported datasets when omitted. Supported datasets are\n`http_requests`, `firewall_events`, and `network_analytics_logs`.\n", + "description": "Whether to filter attack traffic from the Logpush job. Defaults to\n`true` for supported datasets when omitted. Supported datasets are\n`http_requests`, `firewall_events`, and `network_analytics_logs`.", "type": "boolean" } }, @@ -69,14 +69,14 @@ export const lex_UpdateDatasetRequest: JsonSchema = { "type": "boolean" }, "fields": { - "description": "Controls which fields the API ingests after the update. Defaults\nto all available fields when absent.\n", + "description": "Controls which fields the API ingests after the update. Defaults\nto all available fields when absent.", "items": { "$ref": "#/$defs/lex_LogField" }, "type": "array" }, "filter": { - "description": "Optional Logpush filter predicate to restrict which events are\ningested. If omitted, the existing filter is left unchanged. Set\nto an empty string (`\"\"`) to clear the filter. Otherwise,\nreplaces the dataset's filter entirely.\nSee [Logpush filters](https://developers.cloudflare.com/logs/reference/filters/)\nfor syntax and examples.\n", + "description": "Optional Logpush filter predicate to restrict which events are\ningested. If omitted, the existing filter is left unchanged. Set\nto an empty string (`\"\"`) to clear the filter. Otherwise,\nreplaces the dataset's filter entirely.\nSee [Logpush filters](https://developers.cloudflare.com/logs/reference/filters/)\nfor syntax and examples.", "oneOf": [ { "type": "string" @@ -87,7 +87,7 @@ export const lex_UpdateDatasetRequest: JsonSchema = { ] }, "filter_attack_traffic": { - "description": "Whether to filter attack traffic from the Logpush job. If omitted,\nthe existing setting is left unchanged. Supported datasets are\n`http_requests`, `firewall_events`, and `network_analytics_logs`.\n", + "description": "Whether to filter attack traffic from the Logpush job. If omitted,\nthe existing setting is left unchanged. Supported datasets are\n`http_requests`, `firewall_events`, and `network_analytics_logs`.", "type": "boolean" } }, diff --git a/src/generated/forge-mcp/logs/datasets/tools.ts b/src/generated/forge-mcp/logs/datasets/tools.ts index 2e2830360..c874d5746 100644 --- a/src/generated/forge-mcp/logs/datasets/tools.ts +++ b/src/generated/forge-mcp/logs/datasets/tools.ts @@ -26,11 +26,12 @@ export const tools: readonly Tool[] = [ { name: "logs_datasets_available", title: "List available account or zone datasets", - description: "Returns all dataset types that this account or zone can create. Each entry\nincludes the dataset schema and timestamp field.\n\nThe schema shows all possible fields for a dataset. However, not all\nfields may be available for your account or zone. When creating or updating a\ndataset, only fields available to your account or zone can be enabled. If you\nrequest a field that is not available, you will receive an error.", + description: "Returns all dataset types that this account or zone can create. Each entry\nincludes the dataset schema and timestamp field.\n\nThe schema shows all possible fields for a dataset. However, not all\nfields may be available for your account or zone. When creating or updating a\ndataset, only fields available to your account or zone can be enabled. If you\nrequest a field that is not available, you will receive an error.\n\nGET /{account_or_zone}/{account_or_zone_id}/logs/explorer/datasets/available", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -55,6 +56,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lex_AvailableDestinationListResponse", @@ -108,7 +110,7 @@ export const tools: readonly Tool[] = [ { name: "logs_datasets_create", title: "Create an account or zone dataset", - description: "Create a new Log Explorer dataset for the account or zone.\n\nList available account or zone datasets to see the dataset types and fields you\ncan use.\n\nThe `fields` property is optional. If not specified, all available fields\nwill be enabled.\n\nFor dataset field definitions, see: https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/", + description: "Create a new Log Explorer dataset for the account or zone.\n\nList available account or zone datasets to see the dataset types and fields you\ncan use.\n\nThe `fields` property is optional. If not specified, all available fields\nwill be enabled.\n\nFor dataset field definitions, see: https://developers.cloudflare.com/logs/logpush/logpush-job/datasets/\n\nPOST /{account_or_zone}/{account_or_zone_id}/logs/explorer/datasets", inputSchema: { type: "object", properties: { @@ -116,6 +118,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/lex_CreateDatasetRequest" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -141,6 +144,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "lex_CreateDatasetRequest": lex_CreateDatasetRequest, "lex_LogField": lex_LogField$, @@ -205,11 +209,12 @@ export const tools: readonly Tool[] = [ { name: "logs_datasets_delete", title: "Delete an account or zone dataset", - description: "Deletes a Log Explorer dataset for the account or zone. Dataset deletion must not\nbe protected.\n\nConfirm with the user before calling this tool. This operation deletes a Log Explorer dataset for the account.", + description: "Deletes a Log Explorer dataset for the account or zone. Dataset deletion must not\nbe protected.\n\nConfirm with the user before calling this tool. This operation deletes a Log Explorer dataset for the account.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/logs/explorer/datasets/{dataset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -239,6 +244,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lex_DatasetDetailResponse", @@ -293,11 +299,12 @@ export const tools: readonly Tool[] = [ { name: "logs_datasets_get", title: "Get an account or zone dataset", - description: "Retrieve a single Log Explorer dataset by ID for the account or zone.", + description: "Retrieve a single Log Explorer dataset by ID for the account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/logs/explorer/datasets/{dataset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -327,6 +334,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lex_DatasetDetailResponse", @@ -383,11 +391,12 @@ export const tools: readonly Tool[] = [ { name: "logs_datasets_list", title: "List account or zone datasets", - description: "Returns all Log Explorer datasets configured for the account or zone.\n\nPass `include_zones=true` to also include zone-level datasets that\nbelong to this account or zone. List responses omit the `fields` property;\nuse the single-dataset endpoint to retrieve field configuration.", + description: "Returns all Log Explorer datasets configured for the account or zone.\n\nPass `include_zones=true` to also include zone-level datasets that\nbelong to this account or zone. List responses omit the `fields` property;\nuse the single-dataset endpoint to retrieve field configuration.\n\nGET /{account_or_zone}/{account_or_zone_id}/logs/explorer/datasets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -409,6 +418,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_zones": { "description": "Set to true to include zone-scoped datasets belonging to this account.", @@ -421,6 +431,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lex_DatasetSummaryListResponse", @@ -477,7 +488,7 @@ export const tools: readonly Tool[] = [ { name: "logs_datasets_update", title: "Update an account or zone dataset", - description: "Updates the enabled state and/or field configuration of an account or zone dataset.", + description: "Updates the enabled state and/or field configuration of an account or zone dataset.\n\nPUT /{account_or_zone}/{account_or_zone_id}/logs/explorer/datasets/{dataset_id}", inputSchema: { type: "object", properties: { @@ -485,6 +496,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/lex_UpdateDatasetRequest" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -515,6 +527,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "lex_LogField": lex_LogField$, "lex_UpdateDatasetRequest": lex_UpdateDatasetRequest, diff --git a/src/generated/forge-mcp/logs/list/schemas.ts b/src/generated/forge-mcp/logs/list/schemas.ts deleted file mode 100644 index 1cae211fd..000000000 --- a/src/generated/forge-mcp/logs/list/schemas.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `logpull_Limit`. - */ -export const logpull_Limit: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/logs/list/tools.ts b/src/generated/forge-mcp/logs/list/tools.ts index 30ea0b339..35ce2cd43 100644 --- a/src/generated/forge-mcp/logs/list/tools.ts +++ b/src/generated/forge-mcp/logs/list/tools.ts @@ -2,15 +2,6 @@ /* eslint-disable */ import { type Tool, param, pathParam } from "../../_/tool.js"; -import { - logpull_AccessKeyId, - logpull_AccountId, - logpull_Bucket, - logpull_Prefix, - logpull_SecretAccessKey, - logpull_TimestampRFC3339, -} from "../schemas.js"; -import { logpull_Limit } from "./schemas.js"; /** * The tools of `logs.list`. @@ -19,17 +10,18 @@ export const tools: readonly Tool[] = [ { name: "logs_list_get", title: "List log files", - description: "Lists R2 objects containing logs matching the provided query parameters.", + description: "Lists R2 objects containing logs matching the provided query parameters.\n\nGET /accounts/{account_id}/logs/list", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "R2-Access-Key-Id": { - "$ref": "#/$defs/logpull_AccessKeyId" + "type": "string" }, "R2-Secret-Access-Key": { - "$ref": "#/$defs/logpull_SecretAccessKey" + "type": "string" } }, "required": [ @@ -39,10 +31,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpull_AccountId", - "description": "Cloudflare account ID (32-character hex string)." + "description": "Cloudflare account ID (32-character hex string).", + "type": "string" } }, "required": [ @@ -51,26 +44,29 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "bucket": { - "$ref": "#/$defs/logpull_Bucket", - "description": "R2 bucket name." + "description": "R2 bucket name.", + "type": "string" }, "end": { - "$ref": "#/$defs/logpull_TimestampRFC3339", - "description": "End time in RFC3339 format." + "description": "End time in RFC3339 format.", + "format": "date-time", + "type": "string" }, "limit": { - "$ref": "#/$defs/logpull_Limit", - "description": "Maximum number of results to return." + "description": "Maximum number of results to return.", + "type": "integer" }, "prefix": { - "$ref": "#/$defs/logpull_Prefix", - "description": "R2 bucket prefix logs are stored under." + "description": "R2 bucket prefix logs are stored under.", + "type": "string" }, "start": { - "$ref": "#/$defs/logpull_TimestampRFC3339", - "description": "Start time in RFC3339 format." + "description": "Start time in RFC3339 format.", + "format": "date-time", + "type": "string" } }, "required": [ @@ -86,15 +82,7 @@ export const tools: readonly Tool[] = [ "query", "headers" ], - $defs: { - "logpull_AccessKeyId": logpull_AccessKeyId, - "logpull_AccountId": logpull_AccountId, - "logpull_Bucket": logpull_Bucket, - "logpull_Limit": logpull_Limit, - "logpull_Prefix": logpull_Prefix, - "logpull_SecretAccessKey": logpull_SecretAccessKey, - "logpull_TimestampRFC3339": logpull_TimestampRFC3339, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/logs/rayid/schemas.ts b/src/generated/forge-mcp/logs/rayid/schemas.ts deleted file mode 100644 index 3a5f92c98..000000000 --- a/src/generated/forge-mcp/logs/rayid/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `logshare_ray_identifier`. - */ -export const logshare_ray_identifier: JsonSchema = { - "description": "Ray identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/logs/rayid/tools.ts b/src/generated/forge-mcp/logs/rayid/tools.ts index 4633eb21f..8b8e2be92 100644 --- a/src/generated/forge-mcp/logs/rayid/tools.ts +++ b/src/generated/forge-mcp/logs/rayid/tools.ts @@ -7,12 +7,6 @@ import { logshare_logs_response_json_lines, logshare_messages, } from "../outputs.js"; -import { - logshare_fields, - logshare_timestamps, - logshare_zone_identifier, -} from "../schemas.js"; -import { logshare_ray_identifier } from "./schemas.js"; /** * The tools of `logs.rayid`. @@ -21,19 +15,20 @@ export const tools: readonly Tool[] = [ { name: "logs_rayid_get", title: "Get logs RayIDs", - description: "The `/rayids` api route allows lookups by specific rayid. The rayids route will return zero, one, or more records (ray ids are not unique).", + description: "The `/rayids` api route allows lookups by specific rayid. The rayids route will return zero, one, or more records (ray ids are not unique).\n\nGET /zones/{zone_id}/logs/rayids/{ray_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "ray_id": { - "$ref": "#/$defs/logshare_ray_identifier", - "description": "Ray identifier." + "description": "Ray identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/logshare_zone_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -43,15 +38,21 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "fields": { - "$ref": "#/$defs/logshare_fields", - "description": "The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most customers require only a small subset of fields, but that subset varies from customer to customer; 2. Flat schema is much easier to work with downstream (importing into BigTable etc); 3. Performance (time to process, file size). If `?fields=` is not specified, default field set is returned. This default field set may change at any time. When `?fields=` is provided, each record is returned with the specified fields. `fields` must be specified as a comma separated list without any whitespaces, and all fields must exist. The order in which fields are specified does not matter, and the order of fields in the response is not specified." + "description": "The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most customers require only a small subset of fields, but that subset varies from customer to customer; 2. Flat schema is much easier to work with downstream (importing into BigTable etc); 3. Performance (time to process, file size). If `?fields=` is not specified, default field set is returned. This default field set may change at any time. When `?fields=` is provided, each record is returned with the specified fields. `fields` must be specified as a comma separated list without any whitespaces, and all fields must exist. The order in which fields are specified does not matter, and the order of fields in the response is not specified.", + "type": "string" }, "timestamps": { - "$ref": "#/$defs/logshare_timestamps", "default": "unixnano", - "description": "By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possible values are: `unix`, `unixnano`, `rfc3339`. Note that `unix` and `unixnano` return timestamps as integers; `rfc3339` returns timestamps as strings." + "description": "By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possible values are: `unix`, `unixnano`, `rfc3339`. Note that `unix` and `unixnano` return timestamps as integers; `rfc3339` returns timestamps as strings.", + "enum": [ + "unix", + "unixnano", + "rfc3339" + ], + "type": "string" } }, "type": "object" @@ -60,12 +61,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logshare_fields": logshare_fields, - "logshare_ray_identifier": logshare_ray_identifier, - "logshare_timestamps": logshare_timestamps, - "logshare_zone_identifier": logshare_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logshare_logs_response_json_lines", diff --git a/src/generated/forge-mcp/logs/received/fields/tools.ts b/src/generated/forge-mcp/logs/received/fields/tools.ts index d6a096448..900c9a4bb 100644 --- a/src/generated/forge-mcp/logs/received/fields/tools.ts +++ b/src/generated/forge-mcp/logs/received/fields/tools.ts @@ -6,7 +6,6 @@ import { logshare_api$$response$$common$$failure, logshare_messages, } from "../../outputs.js"; -import { logshare_zone_identifier } from "../../schemas.js"; import { logshare_fields_response } from "./outputs.js"; /** @@ -16,15 +15,16 @@ export const tools: readonly Tool[] = [ { name: "logs_received_fields_get", title: "List fields", - description: "Lists all fields available. The response is json object with key-value pairs, where keys are field names, and values are descriptions.", + description: "Lists all fields available. The response is json object with key-value pairs, where keys are field names, and values are descriptions.\n\nGET /zones/{zone_id}/logs/received/fields", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/logshare_zone_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -36,9 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "logshare_zone_identifier": logshare_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logshare_fields_response", diff --git a/src/generated/forge-mcp/logs/received/schemas.ts b/src/generated/forge-mcp/logs/received/schemas.ts deleted file mode 100644 index 87e1c0cd7..000000000 --- a/src/generated/forge-mcp/logs/received/schemas.ts +++ /dev/null @@ -1,50 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `logshare_count`. - */ -export const logshare_count: JsonSchema = { - "description": "When `?count=` is provided, the response will contain up to `count` results. Since results are not sorted, you are likely to get different data for repeated requests. `count` must be an integer > 0.", - "type": "integer" -}; - -/** - * The schema of `logshare_end`. - */ -export const logshare_end: JsonSchema = { - "anyOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ], - "description": "Sets the (exclusive) end of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. `end` must be at least five minutes earlier than now and must be later than `start`. Difference between `start` and `end` must be not greater than one hour." -}; - -/** - * The schema of `logshare_sample`. - */ -export const logshare_sample: JsonSchema = { - "description": "When `?sample=` is provided, a sample of matching records is returned. If `sample=0.1` then 10% of records will be returned. Sampling is random: repeated calls will not only return different records, but likely will also vary slightly in number of returned records. When `?count=` is also specified, `count` is applied to the number of returned records, not the sampled records. So, with `sample=0.05` and `count=7`, when there is a total of 100 records available, approximately five will be returned. When there are 1000 records, seven will be returned. When there are 10,000 records, seven will be returned.", - "type": "number" -}; - -/** - * The schema of `logshare_start`. - */ -export const logshare_start: JsonSchema = { - "anyOf": [ - { - "type": "string" - }, - { - "type": "integer" - } - ], - "description": "Sets the (inclusive) beginning of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. At this point in time, it cannot exceed a time in the past greater than seven days." -}; diff --git a/src/generated/forge-mcp/logs/received/tools.ts b/src/generated/forge-mcp/logs/received/tools.ts index 1fe4766bc..88ddb2b98 100644 --- a/src/generated/forge-mcp/logs/received/tools.ts +++ b/src/generated/forge-mcp/logs/received/tools.ts @@ -7,17 +7,6 @@ import { logshare_logs_response_json_lines, logshare_messages, } from "../outputs.js"; -import { - logshare_fields, - logshare_timestamps, - logshare_zone_identifier, -} from "../schemas.js"; -import { - logshare_count, - logshare_end, - logshare_sample, - logshare_start, -} from "./schemas.js"; /** * The tools of `logs.received`. @@ -26,15 +15,16 @@ export const tools: readonly Tool[] = [ { name: "logs_received_get", title: "Get logs received", - description: "The `/received` api route allows customers to retrieve their edge HTTP logs. The basic access pattern is \"give me all the logs for zone Z for minute M\", where the minute M refers to the time records were received at Cloudflare's central data center. `start` is inclusive, and `end` is exclusive. Because of that, to get all data, at minutely cadence, starting at 10AM, the proper values are: `start=2018-05-20T10:00:00Z&end=2018-05-20T10:01:00Z`, then `start=2018-05-20T10:01:00Z&end=2018-05-20T10:02:00Z` and so on; the overlap will be handled properly.", + description: "The `/received` api route allows customers to retrieve their edge HTTP logs. The basic access pattern is \"give me all the logs for zone Z for minute M\", where the minute M refers to the time records were received at Cloudflare's central data center. `start` is inclusive, and `end` is exclusive. Because of that, to get all data, at minutely cadence, starting at 10AM, the proper values are: `start=2018-05-20T10:00:00Z&end=2018-05-20T10:01:00Z`, then `start=2018-05-20T10:01:00Z&end=2018-05-20T10:02:00Z` and so on; the overlap will be handled properly.\n\nGET /zones/{zone_id}/logs/received", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/logshare_zone_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -43,31 +33,51 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "count": { - "$ref": "#/$defs/logshare_count", - "description": "When `?count=` is provided, the response will contain up to `count` results. Since results are not sorted, you are likely to get different data for repeated requests. `count` must be an integer > 0." + "description": "When `?count=` is provided, the response will contain up to `count` results. Since results are not sorted, you are likely to get different data for repeated requests. `count` must be an integer > 0.", + "type": "integer" }, "end": { - "$ref": "#/$defs/logshare_end", + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ], "description": "Sets the (exclusive) end of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. `end` must be at least five minutes earlier than now and must be later than `start`. Difference between `start` and `end` must be not greater than one hour." }, "fields": { - "$ref": "#/$defs/logshare_fields", - "description": "The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most customers require only a small subset of fields, but that subset varies from customer to customer; 2. Flat schema is much easier to work with downstream (importing into BigTable etc); 3. Performance (time to process, file size). If `?fields=` is not specified, default field set is returned. This default field set may change at any time. When `?fields=` is provided, each record is returned with the specified fields. `fields` must be specified as a comma separated list without any whitespaces, and all fields must exist. The order in which fields are specified does not matter, and the order of fields in the response is not specified." + "description": "The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most customers require only a small subset of fields, but that subset varies from customer to customer; 2. Flat schema is much easier to work with downstream (importing into BigTable etc); 3. Performance (time to process, file size). If `?fields=` is not specified, default field set is returned. This default field set may change at any time. When `?fields=` is provided, each record is returned with the specified fields. `fields` must be specified as a comma separated list without any whitespaces, and all fields must exist. The order in which fields are specified does not matter, and the order of fields in the response is not specified.", + "type": "string" }, "sample": { - "$ref": "#/$defs/logshare_sample", - "description": "When `?sample=` is provided, a sample of matching records is returned. If `sample=0.1` then 10% of records will be returned. Sampling is random: repeated calls will not only return different records, but likely will also vary slightly in number of returned records. When `?count=` is also specified, `count` is applied to the number of returned records, not the sampled records. So, with `sample=0.05` and `count=7`, when there is a total of 100 records available, approximately five will be returned. When there are 1000 records, seven will be returned. When there are 10,000 records, seven will be returned." + "description": "When `?sample=` is provided, a sample of matching records is returned. If `sample=0.1` then 10% of records will be returned. Sampling is random: repeated calls will not only return different records, but likely will also vary slightly in number of returned records. When `?count=` is also specified, `count` is applied to the number of returned records, not the sampled records. So, with `sample=0.05` and `count=7`, when there is a total of 100 records available, approximately five will be returned. When there are 1000 records, seven will be returned. When there are 10,000 records, seven will be returned.", + "type": "number" }, "start": { - "$ref": "#/$defs/logshare_start", + "anyOf": [ + { + "type": "string" + }, + { + "type": "integer" + } + ], "description": "Sets the (inclusive) beginning of the requested time frame. This can be a unix timestamp (in seconds or nanoseconds), or an absolute timestamp that conforms to RFC 3339. At this point in time, it cannot exceed a time in the past greater than seven days." }, "timestamps": { - "$ref": "#/$defs/logshare_timestamps", "default": "unixnano", - "description": "By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possible values are: `unix`, `unixnano`, `rfc3339`. Note that `unix` and `unixnano` return timestamps as integers; `rfc3339` returns timestamps as strings." + "description": "By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possible values are: `unix`, `unixnano`, `rfc3339`. Note that `unix` and `unixnano` return timestamps as integers; `rfc3339` returns timestamps as strings.", + "enum": [ + "unix", + "unixnano", + "rfc3339" + ], + "type": "string" } }, "required": [ @@ -80,15 +90,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "logshare_count": logshare_count, - "logshare_end": logshare_end, - "logshare_fields": logshare_fields, - "logshare_sample": logshare_sample, - "logshare_start": logshare_start, - "logshare_timestamps": logshare_timestamps, - "logshare_zone_identifier": logshare_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/logshare_logs_response_json_lines", diff --git a/src/generated/forge-mcp/logs/retrieve/tools.ts b/src/generated/forge-mcp/logs/retrieve/tools.ts index 38640b153..2d2d1fe0e 100644 --- a/src/generated/forge-mcp/logs/retrieve/tools.ts +++ b/src/generated/forge-mcp/logs/retrieve/tools.ts @@ -2,14 +2,6 @@ /* eslint-disable */ import { type Tool, param, pathParam } from "../../_/tool.js"; -import { - logpull_AccessKeyId, - logpull_AccountId, - logpull_Bucket, - logpull_Prefix, - logpull_SecretAccessKey, - logpull_TimestampRFC3339, -} from "../schemas.js"; /** * The tools of `logs.retrieve`. @@ -18,17 +10,18 @@ export const tools: readonly Tool[] = [ { name: "logs_retrieve_get", title: "Retrieve logs", - description: "Returns logs stored in R2 that match the provided query parameters.", + description: "Returns logs stored in R2 that match the provided query parameters.\n\nGET /accounts/{account_id}/logs/retrieve", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "R2-Access-Key-Id": { - "$ref": "#/$defs/logpull_AccessKeyId" + "type": "string" }, "R2-Secret-Access-Key": { - "$ref": "#/$defs/logpull_SecretAccessKey" + "type": "string" } }, "required": [ @@ -38,10 +31,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/logpull_AccountId", - "description": "Cloudflare account ID (32-character hex string)." + "description": "Cloudflare account ID (32-character hex string).", + "type": "string" } }, "required": [ @@ -50,22 +44,25 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "bucket": { - "$ref": "#/$defs/logpull_Bucket", - "description": "R2 bucket name." + "description": "R2 bucket name.", + "type": "string" }, "end": { - "$ref": "#/$defs/logpull_TimestampRFC3339", - "description": "End time in RFC3339 format." + "description": "End time in RFC3339 format.", + "format": "date-time", + "type": "string" }, "prefix": { - "$ref": "#/$defs/logpull_Prefix", - "description": "R2 bucket prefix logs are stored under." + "description": "R2 bucket prefix logs are stored under.", + "type": "string" }, "start": { - "$ref": "#/$defs/logpull_TimestampRFC3339", - "description": "Start time in RFC3339 format." + "description": "Start time in RFC3339 format.", + "format": "date-time", + "type": "string" } }, "required": [ @@ -81,14 +78,7 @@ export const tools: readonly Tool[] = [ "query", "headers" ], - $defs: { - "logpull_AccessKeyId": logpull_AccessKeyId, - "logpull_AccountId": logpull_AccountId, - "logpull_Bucket": logpull_Bucket, - "logpull_Prefix": logpull_Prefix, - "logpull_SecretAccessKey": logpull_SecretAccessKey, - "logpull_TimestampRFC3339": logpull_TimestampRFC3339, - }, + additionalProperties: false, }, outputSchema: { }, diff --git a/src/generated/forge-mcp/logs/schemas.ts b/src/generated/forge-mcp/logs/schemas.ts deleted file mode 100644 index 4134e1327..000000000 --- a/src/generated/forge-mcp/logs/schemas.ts +++ /dev/null @@ -1,76 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `logpull_AccessKeyId`. - */ -export const logpull_AccessKeyId: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `logpull_AccountId`. - */ -export const logpull_AccountId: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `logpull_Bucket`. - */ -export const logpull_Bucket: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `logpull_Prefix`. - */ -export const logpull_Prefix: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `logpull_SecretAccessKey`. - */ -export const logpull_SecretAccessKey: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `logpull_TimestampRFC3339`. - */ -export const logpull_TimestampRFC3339: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `logshare_fields`. - */ -export const logshare_fields: JsonSchema = { - "description": "The `/received` route by default returns a limited set of fields, and allows customers to override the default field set by specifying individual fields. The reasons for this are: 1. Most customers require only a small subset of fields, but that subset varies from customer to customer; 2. Flat schema is much easier to work with downstream (importing into BigTable etc); 3. Performance (time to process, file size). If `?fields=` is not specified, default field set is returned. This default field set may change at any time. When `?fields=` is provided, each record is returned with the specified fields. `fields` must be specified as a comma separated list without any whitespaces, and all fields must exist. The order in which fields are specified does not matter, and the order of fields in the response is not specified.", - "type": "string" -}; - -/** - * The schema of `logshare_timestamps`. - */ -export const logshare_timestamps: JsonSchema = { - "description": "By default, timestamps in responses are returned as Unix nanosecond integers. The `?timestamps=` argument can be set to change the format in which response timestamps are returned. Possible values are: `unix`, `unixnano`, `rfc3339`. Note that `unix` and `unixnano` return timestamps as integers; `rfc3339` returns timestamps as strings.", - "enum": [ - "unix", - "unixnano", - "rfc3339" - ], - "type": "string" -}; - -/** - * The schema of `logshare_zone_identifier`. - */ -export const logshare_zone_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts index 699794c7f..d670f68fb 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/full/tools.ts @@ -8,12 +8,8 @@ import { magic$$visibility$$mnm_api$$response$$single, magic$$visibility$$mnm_messages, } from "../../outputs.js"; -import { magic$$visibility$$mnm_account_identifier } from "../../schemas.js"; import { magic$$visibility$$mnm_mnm_config, - magic$$visibility$$mnm_mnm_config_default_sampling, - magic$$visibility$$mnm_mnm_config_name, - magic$$visibility$$mnm_mnm_config_router_ip, magic$$visibility$$mnm_mnm_config_router_ips, magic$$visibility$$mnm_mnm_config_single_response, magic$$visibility$$mnm_mnm_config_warp_device, @@ -27,14 +23,15 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_configs_full_get", title: "List rules and account configuration", - description: "Lists default sampling, router IPs, warp devices, and rules for account.", + description: "Lists default sampling, router IPs, warp devices, and rules for account.\n\nGET /accounts/{account_id}/mnm/config/full", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -46,9 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response", @@ -57,9 +52,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -104,9 +96,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts index 3b1e63aa7..f38a23260 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/outputs.ts @@ -9,10 +9,10 @@ import type { JsonSchema } from "../../_/tool.js"; export const magic$$visibility$$mnm_mnm_config: JsonSchema = { "properties": { "default_sampling": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_default_sampling" + "type": "number" }, "name": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_name" + "type": "string" }, "router_ips": { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ips" @@ -30,34 +30,12 @@ export const magic$$visibility$$mnm_mnm_config: JsonSchema = { "type": "object" }; -/** - * The schema of `magic-visibility-mnm_mnm_config_default_sampling` in - * responses. - */ -export const magic$$visibility$$mnm_mnm_config_default_sampling: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_config_name` in responses. - */ -export const magic$$visibility$$mnm_mnm_config_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_config_router_ip` in responses. - */ -export const magic$$visibility$$mnm_mnm_config_router_ip: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic-visibility-mnm_mnm_config_router_ips` in responses. */ export const magic$$visibility$$mnm_mnm_config_router_ips: JsonSchema = { "items": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ip" + "type": "string" }, "type": "array" }; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/schemas.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/schemas.ts index 0472e4333..eb8ff164c 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/schemas.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/schemas.ts @@ -3,36 +3,13 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic-visibility-mnm_mnm_config_default_sampling`. - */ -export const magic$$visibility$$mnm_mnm_config_default_sampling: JsonSchema = { - "description": "Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.", - "type": "number" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_config_name`. - */ -export const magic$$visibility$$mnm_mnm_config_name: JsonSchema = { - "description": "The account name.", - "type": "string" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_config_router_ip`. - */ -export const magic$$visibility$$mnm_mnm_config_router_ip: JsonSchema = { - "description": "IPv4 CIDR of the router sourcing flow data. Only /32 addresses are currently supported.", - "type": "string" -}; - /** * The schema of `magic-visibility-mnm_mnm_config_router_ips`. */ export const magic$$visibility$$mnm_mnm_config_router_ips: JsonSchema = { "items": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ip" + "description": "IPv4 CIDR of the router sourcing flow data. Only /32 addresses are currently supported.", + "type": "string" }, "type": "array" }; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts index 77a028253..0d3f07084 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/configs/tools.ts @@ -8,21 +8,14 @@ import { magic$$visibility$$mnm_api$$response$$single, magic$$visibility$$mnm_messages, } from "../outputs.js"; -import { magic$$visibility$$mnm_account_identifier } from "../schemas.js"; import { magic$$visibility$$mnm_mnm_config, - magic$$visibility$$mnm_mnm_config_default_sampling, - magic$$visibility$$mnm_mnm_config_name, - magic$$visibility$$mnm_mnm_config_router_ip, magic$$visibility$$mnm_mnm_config_router_ips, magic$$visibility$$mnm_mnm_config_single_response, magic$$visibility$$mnm_mnm_config_warp_device, magic$$visibility$$mnm_mnm_config_warp_devices, } from "./outputs.js"; import { - magic$$visibility$$mnm_mnm_config_default_sampling as magic$$visibility$$mnm_mnm_config_default_sampling$, - magic$$visibility$$mnm_mnm_config_name as magic$$visibility$$mnm_mnm_config_name$, - magic$$visibility$$mnm_mnm_config_router_ip as magic$$visibility$$mnm_mnm_config_router_ip$, magic$$visibility$$mnm_mnm_config_router_ips as magic$$visibility$$mnm_mnm_config_router_ips$, magic$$visibility$$mnm_mnm_config_warp_device as magic$$visibility$$mnm_mnm_config_warp_device$, magic$$visibility$$mnm_mnm_config_warp_devices as magic$$visibility$$mnm_mnm_config_warp_devices$, @@ -35,20 +28,20 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_configs_create", title: "Create account configuration", - description: "Create a new network monitoring configuration.", + description: "Create a new network monitoring configuration.\n\nPOST /accounts/{account_id}/mnm/config", inputSchema: { type: "object", properties: { "body": { "properties": { "default_sampling": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_default_sampling", "default": 1, - "description": "Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router." + "description": "Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.", + "type": "number" }, "name": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_name", - "description": "The account name." + "description": "The account name.", + "type": "string" }, "router_ips": { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ips" @@ -64,9 +57,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -79,11 +73,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling$, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name$, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip$, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips$, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device$, "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices$, @@ -96,9 +87,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -141,9 +129,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -158,14 +143,15 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_configs_delete", title: "Delete account configuration", - description: "Delete an existing network monitoring configuration.", + description: "Delete an existing network monitoring configuration.\n\nDELETE /accounts/{account_id}/mnm/config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -177,9 +163,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response", @@ -188,9 +172,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -233,9 +214,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -249,20 +227,20 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_configs_edit", title: "Update account configuration fields", - description: "Update fields in an existing network monitoring configuration.", + description: "Update fields in an existing network monitoring configuration.\n\nPATCH /accounts/{account_id}/mnm/config", inputSchema: { type: "object", properties: { "body": { "properties": { "default_sampling": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_default_sampling", "default": 1, - "description": "Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router." + "description": "Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.", + "type": "number" }, "name": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_name", - "description": "The account name." + "description": "The account name.", + "type": "string" }, "router_ips": { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ips" @@ -274,9 +252,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -289,11 +268,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling$, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name$, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip$, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips$, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device$, "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices$, @@ -306,9 +282,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -352,9 +325,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -369,14 +339,15 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_configs_get", title: "List account configuration", - description: "Lists default sampling, router IPs and warp devices for account.", + description: "Lists default sampling, router IPs and warp devices for account.\n\nGET /accounts/{account_id}/mnm/config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -388,9 +359,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_single_response", @@ -399,9 +368,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -446,9 +412,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -462,20 +425,20 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_configs_update", title: "Update an entire account configuration", - description: "Update an existing network monitoring configuration, requires the entire configuration to be updated at once.", + description: "Update an existing network monitoring configuration, requires the entire configuration to be updated at once.\n\nPUT /accounts/{account_id}/mnm/config", inputSchema: { type: "object", properties: { "body": { "properties": { "default_sampling": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_default_sampling", "default": 1, - "description": "Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router." + "description": "Fallback sampling rate of flow messages being sent in packets per second. This should match the packet sampling rate configured on the router.", + "type": "number" }, "name": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_config_name", - "description": "The account name." + "description": "The account name.", + "type": "string" }, "router_ips": { "$ref": "#/$defs/magic-visibility-mnm_mnm_config_router_ips" @@ -491,9 +454,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -506,11 +470,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling$, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name$, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip$, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips$, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device$, "magic-visibility-mnm_mnm_config_warp_devices": magic$$visibility$$mnm_mnm_config_warp_devices$, @@ -523,9 +484,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, @@ -569,9 +527,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_config": magic$$visibility$$mnm_mnm_config, - "magic-visibility-mnm_mnm_config_default_sampling": magic$$visibility$$mnm_mnm_config_default_sampling, - "magic-visibility-mnm_mnm_config_name": magic$$visibility$$mnm_mnm_config_name, - "magic-visibility-mnm_mnm_config_router_ip": magic$$visibility$$mnm_mnm_config_router_ip, "magic-visibility-mnm_mnm_config_router_ips": magic$$visibility$$mnm_mnm_config_router_ips, "magic-visibility-mnm_mnm_config_single_response": magic$$visibility$$mnm_mnm_config_single_response, "magic-visibility-mnm_mnm_config_warp_device": magic$$visibility$$mnm_mnm_config_warp_device, diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts index 41033a41e..50071515c 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/outputs.ts @@ -12,7 +12,14 @@ export const magic$$visibility$$mnm_mnm_rule_advertisable_response: JsonSchema = { "properties": { "automatic_advertisement": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_automatic_advertisement" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] } }, "required": [ diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts index 827e9d359..46070c7ce 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/advertisements/tools.ts @@ -8,9 +8,6 @@ import { magic$$visibility$$mnm_api$$response$$single, magic$$visibility$$mnm_messages, } from "../../outputs.js"; -import { magic$$visibility$$mnm_account_identifier } from "../../schemas.js"; -import { magic$$visibility$$mnm_mnm_rule_automatic_advertisement } from "../outputs.js"; -import { magic$$visibility$$mnm_rule_identifier } from "../schemas.js"; import { magic$$visibility$$mnm_mnm_rule_advertisable_response, magic$$visibility$$mnm_mnm_rule_advertisement_single_response, @@ -23,18 +20,19 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_rules_advertisements_edit", title: "Update advertisement for rule", - description: "Update advertisement for rule.", + description: "Update advertisement for rule.\n\nPATCH /accounts/{account_id}/mnm/rules/{rule_id}/advertisement", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" }, "rule_id": { - "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", - "description": "The id of the rule. Must be unique." + "description": "The id of the rule. Must be unique.", + "type": "string" } }, "required": [ @@ -47,10 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_advertisement_single_response", @@ -60,7 +55,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule_advertisable_response": magic$$visibility$$mnm_mnm_rule_advertisable_response, "magic-visibility-mnm_mnm_rule_advertisement_single_response": magic$$visibility$$mnm_mnm_rule_advertisement_single_response, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, }, }, annotations: { @@ -101,7 +95,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule_advertisable_response": magic$$visibility$$mnm_mnm_rule_advertisable_response, "magic-visibility-mnm_mnm_rule_advertisement_single_response": magic$$visibility$$mnm_mnm_rule_advertisement_single_response, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts index 87149885b..78a33be36 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/bulk/tools.ts @@ -7,38 +7,16 @@ import { magic$$visibility$$mnm_api$$response$$common$$failure, magic$$visibility$$mnm_messages, } from "../../outputs.js"; -import { magic$$visibility$$mnm_account_identifier } from "../../schemas.js"; import { magic$$visibility$$mnm_api$$response$$collection, magic$$visibility$$mnm_mnm_rule, - magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - magic$$visibility$$mnm_mnm_rule_duration, - magic$$visibility$$mnm_mnm_rule_ip_prefix, magic$$visibility$$mnm_mnm_rule_ip_prefixes, - magic$$visibility$$mnm_mnm_rule_name, - magic$$visibility$$mnm_mnm_rule_packet_threshold, - magic$$visibility$$mnm_mnm_rule_prefix_match, - magic$$visibility$$mnm_mnm_rule_type, - magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - magic$$visibility$$mnm_mnm_rule_zscore_target, magic$$visibility$$mnm_mnm_rules_collection_response, magic$$visibility$$mnm_result_info, - magic$$visibility$$mnm_rule_identifier, } from "../outputs.js"; import { - magic$$visibility$$mnm_mnm_rule_automatic_advertisement as magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, - magic$$visibility$$mnm_mnm_rule_bandwidth_threshold as magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, magic$$visibility$$mnm_mnm_rule_create, - magic$$visibility$$mnm_mnm_rule_duration as magic$$visibility$$mnm_mnm_rule_duration$, - magic$$visibility$$mnm_mnm_rule_ip_prefix as magic$$visibility$$mnm_mnm_rule_ip_prefix$, magic$$visibility$$mnm_mnm_rule_ip_prefixes as magic$$visibility$$mnm_mnm_rule_ip_prefixes$, - magic$$visibility$$mnm_mnm_rule_name as magic$$visibility$$mnm_mnm_rule_name$, - magic$$visibility$$mnm_mnm_rule_packet_threshold as magic$$visibility$$mnm_mnm_rule_packet_threshold$, - magic$$visibility$$mnm_mnm_rule_prefix_match as magic$$visibility$$mnm_mnm_rule_prefix_match$, - magic$$visibility$$mnm_mnm_rule_type as magic$$visibility$$mnm_mnm_rule_type$, - magic$$visibility$$mnm_mnm_rule_zscore_sensitivity as magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, - magic$$visibility$$mnm_mnm_rule_zscore_target as magic$$visibility$$mnm_mnm_rule_zscore_target$, } from "../schemas.js"; /** @@ -48,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_rules_bulk_create", title: "Create rules in bulk", - description: "Create multiple network monitoring rules for account in a single request. Supports up to 100 rules per request. All rules in a single request must be of the same type.", + description: "Create multiple network monitoring rules for account in a single request. Supports up to 100 rules per request. All rules in a single request must be of the same type.\n\nPOST /accounts/{account_id}/mnm/rules/bulk", inputSchema: { type: "object", properties: { @@ -61,9 +39,10 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -76,20 +55,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, }, }, outputSchema: { @@ -99,20 +68,9 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -151,20 +109,9 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -175,7 +122,7 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_rules_bulk_update", title: "Update rules in bulk", - description: "Update multiple network monitoring rules for account in a single request. Supports up to 100 rules per request. All rules in a single request must be of the same type.", + description: "Update multiple network monitoring rules for account in a single request. Supports up to 100 rules per request. All rules in a single request must be of the same type.\n\nPUT /accounts/{account_id}/mnm/rules/bulk", inputSchema: { type: "object", properties: { @@ -188,9 +135,10 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -203,20 +151,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, }, }, outputSchema: { @@ -226,20 +164,9 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -279,20 +206,9 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts index aaf081e0f..759dc0261 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/outputs.ts @@ -41,37 +41,94 @@ export const magic$$visibility$$mnm_mnm_rule: JsonSchema = { { "properties": { "automatic_advertisement": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_automatic_advertisement" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "bandwidth_threshold": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_bandwidth_threshold" + "type": "number" }, "duration": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_duration" + "enum": [ + "1m", + "5m", + "10m", + "15m", + "20m", + "30m", + "45m", + "60m" + ], + "type": "string" }, "id": { - "$ref": "#/$defs/magic-visibility-mnm_rule_identifier" + "type": "string" }, "name": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_name" + "type": "string" }, "packet_threshold": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_packet_threshold" + "type": "number" }, "prefix_match": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_prefix_match" + "oneOf": [ + { + "enum": [ + "exact", + "subnet", + "supernet" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "prefixes": { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_ip_prefixes" }, "type": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_type" + "enum": [ + "threshold", + "zscore", + "advanced_ddos" + ], + "type": "string" }, "zscore_sensitivity": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_zscore_sensitivity" + "oneOf": [ + { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "zscore_target": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_zscore_target" + "oneOf": [ + { + "enum": [ + "bits", + "packets" + ], + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -89,146 +146,16 @@ export const magic$$visibility$$mnm_mnm_rule: JsonSchema = { ] }; -/** - * The schema of `magic-visibility-mnm_mnm_rule_automatic_advertisement` in - * responses. - */ -export const magic$$visibility$$mnm_mnm_rule_automatic_advertisement: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_bandwidth_threshold` in - * responses. - */ -export const magic$$visibility$$mnm_mnm_rule_bandwidth_threshold: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_duration` in responses. - */ -export const magic$$visibility$$mnm_mnm_rule_duration: JsonSchema = { - "enum": [ - "1m", - "5m", - "10m", - "15m", - "20m", - "30m", - "45m", - "60m" - ], - "type": "string" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_ip_prefix` in responses. - */ -export const magic$$visibility$$mnm_mnm_rule_ip_prefix: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic-visibility-mnm_mnm_rule_ip_prefixes` in responses. */ export const magic$$visibility$$mnm_mnm_rule_ip_prefixes: JsonSchema = { "items": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_ip_prefix" + "type": "string" }, "type": "array" }; -/** - * The schema of `magic-visibility-mnm_mnm_rule_name` in responses. - */ -export const magic$$visibility$$mnm_mnm_rule_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_packet_threshold` in responses. - */ -export const magic$$visibility$$mnm_mnm_rule_packet_threshold: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_prefix_match` in responses. - */ -export const magic$$visibility$$mnm_mnm_rule_prefix_match: JsonSchema = { - "oneOf": [ - { - "enum": [ - "exact", - "subnet", - "supernet" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_type` in responses. - */ -export const magic$$visibility$$mnm_mnm_rule_type: JsonSchema = { - "enum": [ - "threshold", - "zscore", - "advanced_ddos" - ], - "type": "string" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_zscore_sensitivity` in - * responses. - */ -export const magic$$visibility$$mnm_mnm_rule_zscore_sensitivity: JsonSchema = { - "oneOf": [ - { - "enum": [ - "low", - "medium", - "high" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_zscore_target` in responses. - */ -export const magic$$visibility$$mnm_mnm_rule_zscore_target: JsonSchema = { - "oneOf": [ - { - "enum": [ - "bits", - "packets" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `magic-visibility-mnm_mnm_rules_collection_response` in * responses. @@ -298,10 +225,3 @@ export const magic$$visibility$$mnm_result_info: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `magic-visibility-mnm_rule_identifier` in responses. - */ -export const magic$$visibility$$mnm_rule_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/schemas.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/schemas.ts index ef480c599..5829664d0 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/schemas.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/schemas.ts @@ -3,29 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic-visibility-mnm_mnm_rule_automatic_advertisement`. - */ -export const magic$$visibility$$mnm_mnm_rule_automatic_advertisement: JsonSchema = { - "description": "Toggle on if you would like Cloudflare to automatically advertise the IP Prefixes within the rule via Magic Transit when the rule is triggered. Only available for users of Magic Transit.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_bandwidth_threshold`. - */ -export const magic$$visibility$$mnm_mnm_rule_bandwidth_threshold: JsonSchema = { - "description": "The number of bits per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum.", - "type": "number" -}; - /** * The schema of `magic-visibility-mnm_mnm_rule_create`. */ @@ -34,44 +11,101 @@ export const magic$$visibility$$mnm_mnm_rule_create: JsonSchema = { { "properties": { "automatic_advertisement": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_automatic_advertisement", - "description": "Toggle on if you would like Cloudflare to automatically advertise the IP Prefixes within the rule via Magic Transit when the rule is triggered. Only available for users of Magic Transit." + "description": "Toggle on if you would like Cloudflare to automatically advertise the IP Prefixes within the rule via Magic Transit when the rule is triggered. Only available for users of Magic Transit.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "bandwidth_threshold": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_bandwidth_threshold", - "description": "The number of bits per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum." + "description": "The number of bits per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum.", + "type": "number" }, "duration": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_duration", "default": "1m", - "description": "The amount of time that the rule threshold must be exceeded to send an alert notification. The final value must be equivalent to one of the following 8 values [\"1m\",\"5m\",\"10m\",\"15m\",\"20m\",\"30m\",\"45m\",\"60m\"]." + "description": "The amount of time that the rule threshold must be exceeded to send an alert notification. The final value must be equivalent to one of the following 8 values [\"1m\",\"5m\",\"10m\",\"15m\",\"20m\",\"30m\",\"45m\",\"60m\"].", + "enum": [ + "1m", + "5m", + "10m", + "15m", + "20m", + "30m", + "45m", + "60m" + ], + "type": "string" }, "name": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_name", - "description": "The name of the rule. Must be unique. Supports characters A-Z, a-z, 0-9, underscore (_), dash (-), period (.), and tilde (~). You can’t have a space in the rule name. Max 256 characters." + "description": "The name of the rule. Must be unique. Supports characters A-Z, a-z, 0-9, underscore (_), dash (-), period (.), and tilde (~). You can’t have a space in the rule name. Max 256 characters.", + "type": "string" }, "packet_threshold": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_packet_threshold", - "description": "The number of packets per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum." + "description": "The number of packets per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum.", + "type": "number" }, "prefix_match": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_prefix_match", - "description": "Prefix match type to be applied for a prefix auto advertisement when using an advanced_ddos rule." + "description": "Prefix match type to be applied for a prefix auto advertisement when using an advanced_ddos rule.", + "oneOf": [ + { + "enum": [ + "exact", + "subnet", + "supernet" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "prefixes": { "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_ip_prefixes" }, "type": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_type", - "description": "MNM rule type." + "description": "MNM rule type.", + "enum": [ + "threshold", + "zscore", + "advanced_ddos" + ], + "type": "string" }, "zscore_sensitivity": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_zscore_sensitivity", - "description": "Level of sensitivity set for zscore rules." + "description": "Level of sensitivity set for zscore rules.", + "oneOf": [ + { + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "zscore_target": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_zscore_target", - "description": "Target of the zscore rule analysis." + "description": "Target of the zscore rule analysis.", + "oneOf": [ + { + "enum": [ + "bits", + "packets" + ], + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -88,134 +122,13 @@ export const magic$$visibility$$mnm_mnm_rule_create: JsonSchema = { ] }; -/** - * The schema of `magic-visibility-mnm_mnm_rule_duration`. - */ -export const magic$$visibility$$mnm_mnm_rule_duration: JsonSchema = { - "description": "The amount of time that the rule threshold must be exceeded to send an alert notification. The final value must be equivalent to one of the following 8 values [\"1m\",\"5m\",\"10m\",\"15m\",\"20m\",\"30m\",\"45m\",\"60m\"].", - "enum": [ - "1m", - "5m", - "10m", - "15m", - "20m", - "30m", - "45m", - "60m" - ], - "type": "string" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_ip_prefix`. - */ -export const magic$$visibility$$mnm_mnm_rule_ip_prefix: JsonSchema = { - "description": "The IP prefixes that are monitored for this rule. Must be a CIDR range like 203.0.113.0/24. Max 5000 different CIDR ranges.", - "type": "string" -}; - /** * The schema of `magic-visibility-mnm_mnm_rule_ip_prefixes`. */ export const magic$$visibility$$mnm_mnm_rule_ip_prefixes: JsonSchema = { "items": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_ip_prefix" + "description": "The IP prefixes that are monitored for this rule. Must be a CIDR range like 203.0.113.0/24. Max 5000 different CIDR ranges.", + "type": "string" }, "type": "array" }; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_name`. - */ -export const magic$$visibility$$mnm_mnm_rule_name: JsonSchema = { - "description": "The name of the rule. Must be unique. Supports characters A-Z, a-z, 0-9, underscore (_), dash (-), period (.), and tilde (~). You can’t have a space in the rule name. Max 256 characters.", - "type": "string" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_packet_threshold`. - */ -export const magic$$visibility$$mnm_mnm_rule_packet_threshold: JsonSchema = { - "description": "The number of packets per second for the rule. When this value is exceeded for the set duration, an alert notification is sent. Minimum of 1 and no maximum.", - "type": "number" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_prefix_match`. - */ -export const magic$$visibility$$mnm_mnm_rule_prefix_match: JsonSchema = { - "description": "Prefix match type to be applied for a prefix auto advertisement when using an advanced_ddos rule.", - "oneOf": [ - { - "enum": [ - "exact", - "subnet", - "supernet" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_type`. - */ -export const magic$$visibility$$mnm_mnm_rule_type: JsonSchema = { - "description": "MNM rule type.", - "enum": [ - "threshold", - "zscore", - "advanced_ddos" - ], - "type": "string" -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_zscore_sensitivity`. - */ -export const magic$$visibility$$mnm_mnm_rule_zscore_sensitivity: JsonSchema = { - "description": "Level of sensitivity set for zscore rules.", - "oneOf": [ - { - "enum": [ - "low", - "medium", - "high" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `magic-visibility-mnm_mnm_rule_zscore_target`. - */ -export const magic$$visibility$$mnm_mnm_rule_zscore_target: JsonSchema = { - "description": "Target of the zscore rule analysis.", - "oneOf": [ - { - "enum": [ - "bits", - "packets" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `magic-visibility-mnm_rule_identifier`. - */ -export const magic$$visibility$$mnm_rule_identifier: JsonSchema = { - "description": "The id of the rule. Must be unique.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts index d776a4a1d..a8ef20140 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/rules/tools.ts @@ -8,40 +8,17 @@ import { magic$$visibility$$mnm_api$$response$$single, magic$$visibility$$mnm_messages, } from "../outputs.js"; -import { magic$$visibility$$mnm_account_identifier } from "../schemas.js"; import { magic$$visibility$$mnm_api$$response$$collection, magic$$visibility$$mnm_mnm_rule, - magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - magic$$visibility$$mnm_mnm_rule_duration, - magic$$visibility$$mnm_mnm_rule_ip_prefix, magic$$visibility$$mnm_mnm_rule_ip_prefixes, - magic$$visibility$$mnm_mnm_rule_name, - magic$$visibility$$mnm_mnm_rule_packet_threshold, - magic$$visibility$$mnm_mnm_rule_prefix_match, - magic$$visibility$$mnm_mnm_rule_type, - magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - magic$$visibility$$mnm_mnm_rule_zscore_target, magic$$visibility$$mnm_mnm_rules_collection_response, magic$$visibility$$mnm_mnm_rules_single_response, magic$$visibility$$mnm_result_info, - magic$$visibility$$mnm_rule_identifier, } from "./outputs.js"; import { - magic$$visibility$$mnm_mnm_rule_automatic_advertisement as magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, - magic$$visibility$$mnm_mnm_rule_bandwidth_threshold as magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, magic$$visibility$$mnm_mnm_rule_create, - magic$$visibility$$mnm_mnm_rule_duration as magic$$visibility$$mnm_mnm_rule_duration$, - magic$$visibility$$mnm_mnm_rule_ip_prefix as magic$$visibility$$mnm_mnm_rule_ip_prefix$, magic$$visibility$$mnm_mnm_rule_ip_prefixes as magic$$visibility$$mnm_mnm_rule_ip_prefixes$, - magic$$visibility$$mnm_mnm_rule_name as magic$$visibility$$mnm_mnm_rule_name$, - magic$$visibility$$mnm_mnm_rule_packet_threshold as magic$$visibility$$mnm_mnm_rule_packet_threshold$, - magic$$visibility$$mnm_mnm_rule_prefix_match as magic$$visibility$$mnm_mnm_rule_prefix_match$, - magic$$visibility$$mnm_mnm_rule_type as magic$$visibility$$mnm_mnm_rule_type$, - magic$$visibility$$mnm_mnm_rule_zscore_sensitivity as magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, - magic$$visibility$$mnm_mnm_rule_zscore_target as magic$$visibility$$mnm_mnm_rule_zscore_target$, - magic$$visibility$$mnm_rule_identifier as magic$$visibility$$mnm_rule_identifier$, } from "./schemas.js"; /** @@ -51,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_rules_create", title: "Create rules", - description: "Create network monitoring rules for account. Currently only supports creating a single rule per API request.", + description: "Create network monitoring rules for account. Currently only supports creating a single rule per API request.\n\nPOST /accounts/{account_id}/mnm/rules", inputSchema: { type: "object", properties: { @@ -59,9 +36,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_create" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -74,20 +52,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, }, }, outputSchema: { @@ -97,19 +65,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -148,19 +105,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -171,18 +117,19 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_rules_delete", title: "Delete rule", - description: "Delete a network monitoring rule for account.", + description: "Delete a network monitoring rule for account.\n\nDELETE /accounts/{account_id}/mnm/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" }, "rule_id": { - "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", - "description": "The id of the rule. Must be unique." + "description": "The id of the rule. Must be unique.", + "type": "string" } }, "required": [ @@ -195,10 +142,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response", @@ -207,19 +151,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -258,19 +191,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -280,7 +202,7 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_rules_edit", title: "Update rule", - description: "Update a network monitoring rule for account.", + description: "Update a network monitoring rule for account.\n\nPATCH /accounts/{account_id}/mnm/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -288,13 +210,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_create" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" }, "rule_id": { - "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", - "description": "The id of the rule. Must be unique." + "description": "The id of the rule. Must be unique.", + "type": "string" } }, "required": [ @@ -308,21 +231,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier$, }, }, outputSchema: { @@ -332,19 +244,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -384,19 +285,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -407,18 +297,19 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_rules_get", title: "Get rule", - description: "List a single network monitoring rule for account.", + description: "List a single network monitoring rule for account.\n\nGET /accounts/{account_id}/mnm/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" }, "rule_id": { - "$ref": "#/$defs/magic-visibility-mnm_rule_identifier", - "description": "The id of the rule. Must be unique." + "description": "The id of the rule. Must be unique.", + "type": "string" } }, "required": [ @@ -431,10 +322,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_single_response", @@ -443,19 +331,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -496,19 +373,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -518,14 +384,15 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_rules_list", title: "List rules", - description: "Lists network monitoring rules for account.", + description: "Lists network monitoring rules for account.\n\nGET /accounts/{account_id}/mnm/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -537,9 +404,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_rules_collection_response", @@ -548,20 +413,9 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-common": magic$$visibility$$mnm_api$$response$$common, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -602,20 +456,9 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-common-failure": magic$$visibility$$mnm_api$$response$$common$$failure, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_collection_response": magic$$visibility$$mnm_mnm_rules_collection_response, "magic-visibility-mnm_result_info": magic$$visibility$$mnm_result_info, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ @@ -625,7 +468,7 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_rules_update", title: "Update rules", - description: "Update network monitoring rules for account.", + description: "Update network monitoring rules for account.\n\nPUT /accounts/{account_id}/mnm/rules", inputSchema: { type: "object", properties: { @@ -633,9 +476,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic-visibility-mnm_mnm_rule_create" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -648,20 +492,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement$, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold$, "magic-visibility-mnm_mnm_rule_create": magic$$visibility$$mnm_mnm_rule_create, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration$, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix$, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes$, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name$, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold$, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match$, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type$, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity$, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target$, }, }, outputSchema: { @@ -671,19 +505,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, annotations: { @@ -723,19 +546,8 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_rule": magic$$visibility$$mnm_mnm_rule, - "magic-visibility-mnm_mnm_rule_automatic_advertisement": magic$$visibility$$mnm_mnm_rule_automatic_advertisement, - "magic-visibility-mnm_mnm_rule_bandwidth_threshold": magic$$visibility$$mnm_mnm_rule_bandwidth_threshold, - "magic-visibility-mnm_mnm_rule_duration": magic$$visibility$$mnm_mnm_rule_duration, - "magic-visibility-mnm_mnm_rule_ip_prefix": magic$$visibility$$mnm_mnm_rule_ip_prefix, "magic-visibility-mnm_mnm_rule_ip_prefixes": magic$$visibility$$mnm_mnm_rule_ip_prefixes, - "magic-visibility-mnm_mnm_rule_name": magic$$visibility$$mnm_mnm_rule_name, - "magic-visibility-mnm_mnm_rule_packet_threshold": magic$$visibility$$mnm_mnm_rule_packet_threshold, - "magic-visibility-mnm_mnm_rule_prefix_match": magic$$visibility$$mnm_mnm_rule_prefix_match, - "magic-visibility-mnm_mnm_rule_type": magic$$visibility$$mnm_mnm_rule_type, - "magic-visibility-mnm_mnm_rule_zscore_sensitivity": magic$$visibility$$mnm_mnm_rule_zscore_sensitivity, - "magic-visibility-mnm_mnm_rule_zscore_target": magic$$visibility$$mnm_mnm_rule_zscore_target, "magic-visibility-mnm_mnm_rules_single_response": magic$$visibility$$mnm_mnm_rules_single_response, - "magic-visibility-mnm_rule_identifier": magic$$visibility$$mnm_rule_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/schemas.ts b/src/generated/forge-mcp/magicNetworkMonitoring/schemas.ts deleted file mode 100644 index 39d4fc74e..000000000 --- a/src/generated/forge-mcp/magicNetworkMonitoring/schemas.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `magic-visibility-mnm_account_identifier`. - */ -export const magic$$visibility$$mnm_account_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts index ee6dbeb1f..32a292207 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/outputs.ts @@ -15,17 +15,10 @@ export const magic$$visibility$$mnm_mnm_vpc_flows_single_response: JsonSchema = { "properties": { "result": { - "$ref": "#/$defs/magic-visibility-mnm_mnm_vpc_flows_token" + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `magic-visibility-mnm_mnm_vpc_flows_token` in responses. - */ -export const magic$$visibility$$mnm_mnm_vpc_flows_token: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts index f7888b92d..3150b1faf 100644 --- a/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts +++ b/src/generated/forge-mcp/magicNetworkMonitoring/vpcFlows/tokens/tools.ts @@ -8,11 +8,7 @@ import { magic$$visibility$$mnm_api$$response$$single, magic$$visibility$$mnm_messages, } from "../../outputs.js"; -import { magic$$visibility$$mnm_account_identifier } from "../../schemas.js"; -import { - magic$$visibility$$mnm_mnm_vpc_flows_single_response, - magic$$visibility$$mnm_mnm_vpc_flows_token, -} from "./outputs.js"; +import { magic$$visibility$$mnm_mnm_vpc_flows_single_response } from "./outputs.js"; /** * The tools of `magicNetworkMonitoring.vpcFlows.tokens`. @@ -21,14 +17,15 @@ export const tools: readonly Tool[] = [ { name: "magicNetworkMonitoring_vpcFlows_tokens_create", title: "Generate authentication token for VPC flow logs export.", - description: "Generate authentication token for VPC flow logs export.", + description: "Generate authentication token for VPC flow logs export.\n\nPOST /accounts/{account_id}/mnm/vpc-flows/token", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-mnm_account_identifier" + "type": "string" } }, "required": [ @@ -40,9 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-mnm_account_identifier": magic$$visibility$$mnm_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-mnm_mnm_vpc_flows_single_response", @@ -51,7 +46,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_vpc_flows_single_response": magic$$visibility$$mnm_mnm_vpc_flows_single_response, - "magic-visibility-mnm_mnm_vpc_flows_token": magic$$visibility$$mnm_mnm_vpc_flows_token, }, }, annotations: { @@ -90,7 +84,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-mnm_api-response-single": magic$$visibility$$mnm_api$$response$$single, "magic-visibility-mnm_messages": magic$$visibility$$mnm_messages, "magic-visibility-mnm_mnm_vpc_flows_single_response": magic$$visibility$$mnm_mnm_vpc_flows_single_response, - "magic-visibility-mnm_mnm_vpc_flows_token": magic$$visibility$$mnm_mnm_vpc_flows_token, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts index 50829de2a..462b966fc 100644 --- a/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedDnsProtection/configs/dns/protection/rules/tools.ts @@ -8,10 +8,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../../../outputs.js"; -import { - advanced$$ddos$$protection_identifier, - advanced$$ddos$$protection_uuid, -} from "../../../../../schemas.js"; import { advanced$$ddos$$protection_DnsProtectionRule, advanced$$ddos$$protection_dns$$protection$$rule$$list$$response, @@ -30,15 +26,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_bulkDelete", title: "Delete all DNS Protection rules.", - description: "Delete all DNS Protection rules for an account.", + description: "Delete all DNS Protection rules for an account.\n\nDELETE /accounts/{account_id}/magic/advanced_dns_protection/configs/dns_protection/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -50,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -97,7 +92,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_create", title: "Create DNS Protection rule.", - description: "Create a DNS Protection rule for an account.", + description: "Create a DNS Protection rule for an account.\n\nPOST /accounts/{account_id}/magic/advanced_dns_protection/configs/dns_protection/rules", inputSchema: { type: "object", properties: { @@ -106,10 +101,11 @@ export const tools: readonly Tool[] = [ "description": "The new DNS Protection rule to add." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -122,9 +118,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_NewDnsProtectionRule": advanced$$ddos$$protection_NewDnsProtectionRule, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { @@ -175,19 +171,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_delete", title: "Delete DNS Protection rule.", - description: "Delete a DNS Protection rule specified by the given UUID.", + description: "Delete a DNS Protection rule specified by the given UUID.\n\nDELETE /accounts/{account_id}/magic/advanced_dns_protection/configs/dns_protection/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the DNS Protection rule to delete." + "description": "The UUID of the DNS Protection rule to delete.", + "type": "string" } }, "required": [ @@ -200,10 +197,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -248,19 +242,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_get", title: "Get DNS Protection rule.", - description: "Get a DNS Protection rule specified by the given UUID.", + description: "Get a DNS Protection rule specified by the given UUID.\n\nGET /accounts/{account_id}/magic/advanced_dns_protection/configs/dns_protection/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the DNS Protection rule." + "description": "The UUID of the DNS Protection rule.", + "type": "string" } }, "required": [ @@ -273,10 +268,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_dns-protection-rule-response", @@ -326,15 +318,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_list", title: "List all DNS Protection rules.", - description: "List all DNS Protection rules for an account.", + description: "List all DNS Protection rules for an account.\n\nGET /accounts/{account_id}/magic/advanced_dns_protection/configs/dns_protection/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -343,6 +336,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", @@ -367,9 +361,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_dns-protection-rule-list-response", @@ -427,7 +419,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedDnsProtection_configs_dns_protection_rules_update", title: "Update DNS Protection rule.", - description: "Update a DNS Protection rule specified by the given UUID.", + description: "Update a DNS Protection rule specified by the given UUID.\n\nPATCH /accounts/{account_id}/magic/advanced_dns_protection/configs/dns_protection/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -436,14 +428,15 @@ export const tools: readonly Tool[] = [ "description": "The updates to apply to the DNS Protection rule." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the DNS Protection rule to update." + "description": "The UUID of the DNS Protection rule to update.", + "type": "string" } }, "required": [ @@ -457,10 +450,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_DnsProtectionRuleUpdate": advanced$$ddos$$protection_DnsProtectionRuleUpdate, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts index f90f172af..501be61b4 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/prefix/tools.ts @@ -7,10 +7,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../../outputs.js"; -import { - advanced$$ddos$$protection_identifier, - advanced$$ddos$$protection_uuid, -} from "../../../../schemas.js"; import { advanced$$ddos$$protection_InfraPrefix, advanced$$ddos$$protection_infra$$prefix$$response, @@ -24,19 +20,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_allowlist_prefix_delete", title: "Delete allowlist prefix.", - description: "Delete the allowlist prefix for an account given a UUID.", + description: "Delete the allowlist prefix for an account given a UUID.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the allowlist prefix to delete." + "description": "The UUID of the allowlist prefix to delete.", + "type": "string" } }, "required": [ @@ -49,10 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -97,19 +91,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_allowlist_prefix_get", title: "Get allowlist prefix.", - description: "Get an allowlist prefix specified by the given UUID.", + description: "Get an allowlist prefix specified by the given UUID.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the allowlist prefix." + "description": "The UUID of the allowlist prefix.", + "type": "string" } }, "required": [ @@ -122,10 +117,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_infra-prefix-response", @@ -175,7 +167,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_allowlist_prefix_update", title: "Update allowlist prefix.", - description: "Update an allowlist prefix specified by the given UUID.", + description: "Update an allowlist prefix specified by the given UUID.\n\nPATCH /accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist/{prefix_id}", inputSchema: { type: "object", properties: { @@ -184,14 +176,15 @@ export const tools: readonly Tool[] = [ "description": "The updates to apply to the allowlist prefix." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the allowlist prefix to update." + "description": "The UUID of the allowlist prefix to update.", + "type": "string" } }, "required": [ @@ -205,10 +198,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_InfraPrefixUpdate": advanced$$ddos$$protection_InfraPrefixUpdate, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts index 161aa3dcc..ff3e21f24 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/allowlist/tools.ts @@ -8,7 +8,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../outputs.js"; -import { advanced$$ddos$$protection_identifier } from "../../../schemas.js"; import { advanced$$ddos$$protection_InfraPrefix, advanced$$ddos$$protection_infra$$prefix$$list$$response, @@ -23,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_allowlist_bulkDelete", title: "Delete all allowlist prefixes.", - description: "Delete all allowlist prefixes for an account.", + description: "Delete all allowlist prefixes for an account.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -43,9 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -90,7 +88,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_allowlist_create", title: "Create allowlist prefix.", - description: "Create an allowlist prefix for an account.", + description: "Create an allowlist prefix for an account.\n\nPOST /accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist", inputSchema: { type: "object", properties: { @@ -99,10 +97,11 @@ export const tools: readonly Tool[] = [ "description": "The new allowlist prefix to create." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -115,9 +114,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_NewInfraPrefix": advanced$$ddos$$protection_NewInfraPrefix, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { @@ -168,15 +167,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_allowlist_list", title: "List all allowlist prefixes.", - description: "List all allowlist prefixes for an account.", + description: "List all allowlist prefixes for an account.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/allowlist", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -185,6 +185,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", @@ -209,9 +210,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_infra-prefix-list-response", diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts index 79ed90959..986746406 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/bulk/tools.ts @@ -8,7 +8,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../../outputs.js"; -import { advanced$$ddos$$protection_identifier } from "../../../../schemas.js"; import { advanced$$ddos$$protection_Prefix, advanced$$ddos$$protection_prefix$$list$$response, @@ -22,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_prefixes_bulk_create", title: "Create multiple prefixes.", - description: "Create multiple prefixes for an account.", + description: "Create multiple prefixes for an account.\n\nPOST /accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/bulk", inputSchema: { type: "object", properties: { @@ -34,10 +33,11 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -50,9 +50,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_NewPrefix": advanced$$ddos$$protection_NewPrefix, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts index a3fdb87d6..7624fd2db 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/prefixes/tools.ts @@ -8,10 +8,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../outputs.js"; -import { - advanced$$ddos$$protection_identifier, - advanced$$ddos$$protection_uuid, -} from "../../../schemas.js"; import { advanced$$ddos$$protection_Prefix, advanced$$ddos$$protection_prefix$$list$$response, @@ -29,15 +25,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_prefixes_bulkDelete", title: "Delete all prefixes.", - description: "Delete all prefixes for an account.", + description: "Delete all prefixes for an account.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -49,9 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -96,7 +91,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_prefixes_create", title: "Create prefix.", - description: "Create a prefix for an account.", + description: "Create a prefix for an account.\n\nPOST /accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes", inputSchema: { type: "object", properties: { @@ -105,10 +100,11 @@ export const tools: readonly Tool[] = [ "description": "The new prefix to create." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -121,9 +117,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_NewPrefix": advanced$$ddos$$protection_NewPrefix, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { @@ -174,19 +170,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_prefixes_delete", title: "Delete prefix.", - description: "Delete the prefix for an account given a UUID.", + description: "Delete the prefix for an account given a UUID.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the prefix to delete." + "description": "The UUID of the prefix to delete.", + "type": "string" } }, "required": [ @@ -199,10 +196,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -247,19 +241,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_prefixes_get", title: "Get prefix.", - description: "Get a prefix specified by the given UUID.", + description: "Get a prefix specified by the given UUID.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the prefix." + "description": "The UUID of the prefix.", + "type": "string" } }, "required": [ @@ -272,10 +267,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_prefix-response", @@ -325,15 +317,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_prefixes_list", title: "List all prefixes.", - description: "List all prefixes for an account.", + description: "List all prefixes for an account.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -342,6 +335,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", @@ -366,9 +360,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_prefix-list-response", @@ -426,7 +418,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_prefixes_update", title: "Update prefix.", - description: "Update a prefix specified by the given UUID.", + description: "Update a prefix specified by the given UUID.\n\nPATCH /accounts/{account_id}/magic/advanced_tcp_protection/configs/prefixes/{prefix_id}", inputSchema: { type: "object", properties: { @@ -435,14 +427,15 @@ export const tools: readonly Tool[] = [ "description": "The updates to apply to the prefix." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "prefix_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the prefix to update." + "description": "The UUID of the prefix to update.", + "type": "string" } }, "required": [ @@ -456,10 +449,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_PrefixUpdate": advanced$$ddos$$protection_PrefixUpdate, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts index 98ce40a90..69404060e 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/filters/tools.ts @@ -8,10 +8,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../../../outputs.js"; -import { - advanced$$ddos$$protection_identifier, - advanced$$ddos$$protection_uuid, -} from "../../../../../schemas.js"; import { advanced$$ddos$$protection_ExpressionFilter, advanced$$ddos$$protection_expression$$filter$$list$$response, @@ -30,15 +26,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_bulkDelete", title: "Delete all SYN Protection filters.", - description: "Delete all SYN Protection filters for an account.", + description: "Delete all SYN Protection filters for an account.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -50,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -97,7 +92,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_create", title: "Create a SYN Protection filter.", - description: "Create a SYN Protection filter for an account.", + description: "Create a SYN Protection filter for an account.\n\nPOST /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters", inputSchema: { type: "object", properties: { @@ -106,10 +101,11 @@ export const tools: readonly Tool[] = [ "description": "The new filter to create." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -122,9 +118,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_NewExpressionFilter": advanced$$ddos$$protection_NewExpressionFilter, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { @@ -175,19 +171,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_delete", title: "Delete SYN Protection filter.", - description: "Delete a SYN Protection filter specified by the given UUID.", + description: "Delete a SYN Protection filter specified by the given UUID.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters/{filter_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to delete." + "description": "The UUID of the filter to delete.", + "type": "string" } }, "required": [ @@ -200,10 +197,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -248,19 +242,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_get", title: "Get SYN Protection filter.", - description: "Get a SYN Protection filter specified by the given UUID.", + description: "Get a SYN Protection filter specified by the given UUID.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters/{filter_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to retrieve." + "description": "The UUID of the filter to retrieve.", + "type": "string" } }, "required": [ @@ -273,10 +268,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-response", @@ -326,15 +318,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_list", title: "List all SYN Protection filters.", - description: "List all SYN Protection filters for an account.", + description: "List all SYN Protection filters for an account.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -343,6 +336,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", @@ -371,9 +365,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-list-response", @@ -432,7 +424,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_filters_update", title: "Update SYN Protection filter.", - description: "Update a SYN Protection filter specified by the given UUID.", + description: "Update a SYN Protection filter specified by the given UUID.\n\nPATCH /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/filters/{filter_id}", inputSchema: { type: "object", properties: { @@ -441,14 +433,15 @@ export const tools: readonly Tool[] = [ "description": "The updates to apply to the filter." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to update." + "description": "The UUID of the filter to update.", + "type": "string" } }, "required": [ @@ -462,10 +455,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_ExpressionFilterUpdate": advanced$$ddos$$protection_ExpressionFilterUpdate, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts index da6484f32..0f9e7f9c1 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/syn/protection/rules/tools.ts @@ -8,10 +8,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../../../outputs.js"; -import { - advanced$$ddos$$protection_identifier, - advanced$$ddos$$protection_uuid, -} from "../../../../../schemas.js"; import { advanced$$ddos$$protection_SynProtectionRule, advanced$$ddos$$protection_syn$$protection$$rule$$list$$response, @@ -30,15 +26,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_bulkDelete", title: "Delete all SYN Protection rules.", - description: "Delete all SYN Protection rules for an account.", + description: "Delete all SYN Protection rules for an account.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -50,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -97,7 +92,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_create", title: "Create SYN Protection rule.", - description: "Create a SYN Protection rule for an account.", + description: "Create a SYN Protection rule for an account.\n\nPOST /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules", inputSchema: { type: "object", properties: { @@ -106,10 +101,11 @@ export const tools: readonly Tool[] = [ "description": "The new SYN Protection rule to add." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -122,9 +118,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_NewSynProtectionRule": advanced$$ddos$$protection_NewSynProtectionRule, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { @@ -175,19 +171,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_delete", title: "Delete SYN Protection rule.", - description: "Delete a SYN Protection rule specified by the given UUID.", + description: "Delete a SYN Protection rule specified by the given UUID.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the SYN Protection rule to delete." + "description": "The UUID of the SYN Protection rule to delete.", + "type": "string" } }, "required": [ @@ -200,10 +197,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -248,19 +242,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_get", title: "Get SYN Protection rule.", - description: "Get a SYN Protection rule specified by the given UUID.", + description: "Get a SYN Protection rule specified by the given UUID.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the SYN Protection rule." + "description": "The UUID of the SYN Protection rule.", + "type": "string" } }, "required": [ @@ -273,10 +268,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_syn-protection-rule-response", @@ -326,15 +318,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_list", title: "List all SYN Protection rules.", - description: "List all SYN Protection rules for an account.", + description: "List all SYN Protection rules for an account.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -343,6 +336,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", @@ -367,9 +361,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_syn-protection-rule-list-response", @@ -427,7 +419,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_syn_protection_rules_update", title: "Update SYN Protection rule.", - description: "Update a SYN Protection rule specified by the given UUID.", + description: "Update a SYN Protection rule specified by the given UUID.\n\nPATCH /accounts/{account_id}/magic/advanced_tcp_protection/configs/syn_protection/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -436,14 +428,15 @@ export const tools: readonly Tool[] = [ "description": "The fields to update on the SYN Protection rule." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the SYN Protection rule to update." + "description": "The UUID of the SYN Protection rule to update.", + "type": "string" } }, "required": [ @@ -457,10 +450,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_SynProtectionRuleUpdate": advanced$$ddos$$protection_SynProtectionRuleUpdate, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts index 563cbfc88..d9d1a6a30 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/filters/tools.ts @@ -8,10 +8,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../../../../outputs.js"; -import { - advanced$$ddos$$protection_identifier, - advanced$$ddos$$protection_uuid, -} from "../../../../../../schemas.js"; import { advanced$$ddos$$protection_ExpressionFilter, advanced$$ddos$$protection_expression$$filter$$list$$response, @@ -30,15 +26,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_bulkDelete", title: "Delete all TCP Flow Protection filters.", - description: "Delete all TCP Flow Protection filters for an account.", + description: "Delete all TCP Flow Protection filters for an account.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -50,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -97,7 +92,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_create", title: "Create a TCP Flow Protection filter.", - description: "Create a TCP Flow Protection filter for an account.", + description: "Create a TCP Flow Protection filter for an account.\n\nPOST /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters", inputSchema: { type: "object", properties: { @@ -106,10 +101,11 @@ export const tools: readonly Tool[] = [ "description": "The new filter to create." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -122,9 +118,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_NewExpressionFilter": advanced$$ddos$$protection_NewExpressionFilter, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { @@ -175,19 +171,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_delete", title: "Delete TCP Flow Protection filter.", - description: "Delete a TCP Flow Protection filter specified by the given UUID.", + description: "Delete a TCP Flow Protection filter specified by the given UUID.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/{filter_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to delete." + "description": "The UUID of the filter to delete.", + "type": "string" } }, "required": [ @@ -200,10 +197,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -248,19 +242,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_get", title: "Get TCP Flow Protection filter.", - description: "Get a TCP Flow Protection filter specified by the given UUID.", + description: "Get a TCP Flow Protection filter specified by the given UUID.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/{filter_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to retrieve." + "description": "The UUID of the filter to retrieve.", + "type": "string" } }, "required": [ @@ -273,10 +268,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-response", @@ -326,15 +318,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_list", title: "List all TCP Flow Protection filters.", - description: "List all TCP Flow Protection filters for an account.", + description: "List all TCP Flow Protection filters for an account.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -343,6 +336,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", @@ -371,9 +365,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_expression-filter-list-response", @@ -432,7 +424,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_filters_update", title: "Update TCP Flow Protection filter.", - description: "Update a TCP Flow Protection filter specified by the given UUID.", + description: "Update a TCP Flow Protection filter specified by the given UUID.\n\nPATCH /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/filters/{filter_id}", inputSchema: { type: "object", properties: { @@ -441,14 +433,15 @@ export const tools: readonly Tool[] = [ "description": "The updates to apply to the filter." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "filter_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the filter to update." + "description": "The UUID of the filter to update.", + "type": "string" } }, "required": [ @@ -462,10 +455,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_ExpressionFilterUpdate": advanced$$ddos$$protection_ExpressionFilterUpdate, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts index 4f9bfdef5..ad584e00a 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/flow/protection/rules/tools.ts @@ -8,10 +8,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../../../../outputs.js"; -import { - advanced$$ddos$$protection_identifier, - advanced$$ddos$$protection_uuid, -} from "../../../../../../schemas.js"; import { advanced$$ddos$$protection_TcpFlowProtectionRule, advanced$$ddos$$protection_tcp$$flow$$protection$$rule$$list$$response, @@ -30,15 +26,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_bulkDelete", title: "Delete all TCP Flow Protection rules.", - description: "Delete all TCP Flow Protection rules for an account.", + description: "Delete all TCP Flow Protection rules for an account.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -50,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -97,7 +92,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_create", title: "Create TCP Flow Protection rule.", - description: "Create a TCP Flow Protection rule for an account.", + description: "Create a TCP Flow Protection rule for an account.\n\nPOST /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules", inputSchema: { type: "object", properties: { @@ -106,10 +101,11 @@ export const tools: readonly Tool[] = [ "description": "The new TCP Flow Protection rule." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -122,9 +118,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_NewTcpFlowProtectionRule": advanced$$ddos$$protection_NewTcpFlowProtectionRule, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { @@ -175,19 +171,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_delete", title: "Delete TCP Flow Protection rule.", - description: "Delete a TCP Flow Protection rule specified by the given UUID.", + description: "Delete a TCP Flow Protection rule specified by the given UUID.\n\nDELETE /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the TCP Flow Protection rule to delete." + "description": "The UUID of the TCP Flow Protection rule to delete.", + "type": "string" } }, "required": [ @@ -200,10 +197,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_api-response-common", @@ -248,19 +242,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_get", title: "Get TCP Flow Protection rule.", - description: "Get a TCP Flow Protection rule specified by the given UUID.", + description: "Get a TCP Flow Protection rule specified by the given UUID.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the TCP Flow Protection rule." + "description": "The UUID of the TCP Flow Protection rule.", + "type": "string" } }, "required": [ @@ -273,10 +268,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_tcp-flow-protection-rule-response", @@ -326,15 +318,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_list", title: "List all TCP Flow Protection rules.", - description: "List all TCP Flow Protection rules for an account.", + description: "List all TCP Flow Protection rules for an account.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" } }, "required": [ @@ -343,6 +336,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "The direction of ordering (ASC or DESC). Defaults to 'ASC'.", @@ -367,9 +361,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_tcp-flow-protection-rule-list-response", @@ -427,7 +419,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_flow_protection_rules_update", title: "Update TCP Flow Protection rule.", - description: "Update a TCP Flow Protection rule specified by the given UUID.", + description: "Update a TCP Flow Protection rule specified by the given UUID.\n\nPATCH /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_flow_protection/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -436,14 +428,15 @@ export const tools: readonly Tool[] = [ "description": "The updates to apply to the TCP Flow Protection rule." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The ID of the account." + "description": "The ID of the account.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/advanced-ddos-protection_uuid", - "description": "The UUID of the TCP Flow Protection rule to update." + "description": "The UUID of the TCP Flow Protection rule to update.", + "type": "string" } }, "required": [ @@ -457,10 +450,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_TcpFlowProtectionRuleUpdate": advanced$$ddos$$protection_TcpFlowProtectionRuleUpdate, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - "advanced-ddos-protection_uuid": advanced$$ddos$$protection_uuid, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts index b79682c77..46c107581 100644 --- a/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts +++ b/src/generated/forge-mcp/magicTransit/advancedTcpProtection/configs/tcp/protection/status/tools.ts @@ -7,7 +7,6 @@ import { advanced$$ddos$$protection_api$$response$$common$$failure, advanced$$ddos$$protection_messages, } from "../../../../../outputs.js"; -import { advanced$$ddos$$protection_identifier } from "../../../../../schemas.js"; import { advanced$$ddos$$protection_ProtectionStatus, advanced$$ddos$$protection_protection$$status$$response, @@ -22,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_protection_status_get", title: "Get protection status.", - description: "Get the protection status of the account.", + description: "Get the protection status of the account.\n\nGET /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_protection_status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The account ID." + "description": "The account ID.", + "type": "string" } }, "required": [ @@ -42,9 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/advanced-ddos-protection_protection-status-response", @@ -94,7 +92,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_advancedTcpProtection_configs_tcp_protection_status_update", title: "Update protection status.", - description: "Update the protection status of the account.", + description: "Update the protection status of the account.\n\nPATCH /accounts/{account_id}/magic/advanced_tcp_protection/configs/tcp_protection_status", inputSchema: { type: "object", properties: { @@ -103,10 +101,11 @@ export const tools: readonly Tool[] = [ "description": "The update to apply to the protection status." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/advanced-ddos-protection_identifier", - "description": "The account ID." + "description": "The account ID.", + "type": "string" } }, "required": [ @@ -119,9 +118,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "advanced-ddos-protection_UpdateProtectionStatus": advanced$$ddos$$protection_UpdateProtectionStatus, - "advanced-ddos-protection_identifier": advanced$$ddos$$protection_identifier, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/magicTransit/apps/outputs.ts b/src/generated/forge-mcp/magicTransit/apps/outputs.ts index ad152dfe9..437bfb3b9 100644 --- a/src/generated/forge-mcp/magicTransit/apps/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/apps/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../_/tool.js"; export const magic_account_app: JsonSchema = { "properties": { "account_app_id": { - "$ref": "#/$defs/magic_account_app_id" + "type": "string" }, "hostnames": { "$ref": "#/$defs/magic_app_hostnames" @@ -18,13 +18,13 @@ export const magic_account_app: JsonSchema = { "$ref": "#/$defs/magic_app_subnets" }, "name": { - "$ref": "#/$defs/magic_app_name" + "type": "string" }, "source_subnets": { "$ref": "#/$defs/magic_app_source_subnets" }, "type": { - "$ref": "#/$defs/magic_app_type" + "type": "string" } }, "required": [ @@ -57,13 +57,6 @@ export const magic_app_hostnames: JsonSchema = { "type": "array" }; -/** - * The schema of `magic_app_name` in responses. - */ -export const magic_app_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_app_single_response` in responses. */ @@ -90,7 +83,7 @@ export const magic_app_source_subnets: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/magic_cidr" + "type": "string" }, { "type": "string" @@ -107,7 +100,7 @@ export const magic_app_subnets: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/magic_cidr" + "type": "string" }, { "type": "string" @@ -117,13 +110,6 @@ export const magic_app_subnets: JsonSchema = { "type": "array" }; -/** - * The schema of `magic_app_type` in responses. - */ -export const magic_app_type: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_apps_collection_response` in responses. */ @@ -158,16 +144,16 @@ export const magic_managed_app: JsonSchema = { "$ref": "#/$defs/magic_app_subnets" }, "managed_app_id": { - "$ref": "#/$defs/magic_managed_app_id" + "type": "string" }, "name": { - "$ref": "#/$defs/magic_app_name" + "type": "string" }, "source_subnets": { "$ref": "#/$defs/magic_app_source_subnets" }, "type": { - "$ref": "#/$defs/magic_app_type" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/magicTransit/apps/schemas.ts b/src/generated/forge-mcp/magicTransit/apps/schemas.ts index 9419d5dd2..4cb33748b 100644 --- a/src/generated/forge-mcp/magicTransit/apps/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/apps/schemas.ts @@ -17,16 +17,16 @@ export const magic_app_add_single_request: JsonSchema = { "description": "IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported)" }, "name": { - "$ref": "#/$defs/magic_app_name", - "description": "Display name for the app." + "description": "Display name for the app.", + "type": "string" }, "source_subnets": { "$ref": "#/$defs/magic_app_source_subnets", "description": "IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported)" }, "type": { - "$ref": "#/$defs/magic_app_type", - "description": "Category of the app." + "description": "Category of the app.", + "type": "string" } }, "required": [ @@ -47,14 +47,6 @@ export const magic_app_hostnames: JsonSchema = { "type": "array" }; -/** - * The schema of `magic_app_name`. - */ -export const magic_app_name: JsonSchema = { - "description": "Display name for the app.", - "type": "string" -}; - /** * The schema of `magic_app_source_subnets`. */ @@ -63,7 +55,8 @@ export const magic_app_source_subnets: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/magic_cidr" + "description": "A valid CIDR notation representing an IP range.", + "type": "string" }, { "type": "string" @@ -81,7 +74,8 @@ export const magic_app_subnets: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/magic_cidr" + "description": "A valid CIDR notation representing an IP range.", + "type": "string" }, { "type": "string" @@ -91,14 +85,6 @@ export const magic_app_subnets: JsonSchema = { "type": "array" }; -/** - * The schema of `magic_app_type`. - */ -export const magic_app_type: JsonSchema = { - "description": "Category of the app.", - "type": "string" -}; - /** * The schema of `magic_app_update_request`. */ @@ -113,16 +99,16 @@ export const magic_app_update_request: JsonSchema = { "description": "IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported)" }, "name": { - "$ref": "#/$defs/magic_app_name", - "description": "Display name for the app." + "description": "Display name for the app.", + "type": "string" }, "source_subnets": { "$ref": "#/$defs/magic_app_source_subnets", "description": "IPv4 CIDRs to associate with traffic decisions. (IPv6 CIDRs are currently unsupported)" }, "type": { - "$ref": "#/$defs/magic_app_type", - "description": "Category of the app." + "description": "Category of the app.", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/magicTransit/apps/tools.ts b/src/generated/forge-mcp/magicTransit/apps/tools.ts index c0a50b35a..adffed465 100644 --- a/src/generated/forge-mcp/magicTransit/apps/tools.ts +++ b/src/generated/forge-mcp/magicTransit/apps/tools.ts @@ -3,34 +3,26 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { - magic_account_app_id, magic_api$$response$$common$$failure, magic_apps$$response$$array, magic_apps$$response$$object, - magic_cidr, - magic_managed_app_id, magic_messages, } from "../outputs.js"; -import { magic_cidr as magic_cidr$, magic_identifier } from "../schemas.js"; import { magic_account_app, magic_app, magic_app_hostnames, - magic_app_name, magic_app_single_response, magic_app_source_subnets, magic_app_subnets, - magic_app_type, magic_apps_collection_response, magic_managed_app, } from "./outputs.js"; import { magic_app_add_single_request, magic_app_hostnames as magic_app_hostnames$, - magic_app_name as magic_app_name$, magic_app_source_subnets as magic_app_source_subnets$, magic_app_subnets as magic_app_subnets$, - magic_app_type as magic_app_type$, magic_app_update_request, } from "./schemas.js"; @@ -41,7 +33,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_apps_create", title: "Create a new App", - description: "Creates a new App for an account", + description: "Creates a new App for an account\n\nPOST /accounts/{account_id}/magic/apps", inputSchema: { type: "object", properties: { @@ -49,10 +41,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_app_add_single_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -65,30 +58,23 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "magic_app_add_single_request": magic_app_add_single_request, "magic_app_hostnames": magic_app_hostnames$, - "magic_app_name": magic_app_name$, "magic_app_source_subnets": magic_app_source_subnets$, "magic_app_subnets": magic_app_subnets$, - "magic_app_type": magic_app_type$, - "magic_cidr": magic_cidr$, - "magic_identifier": magic_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic_app_single_response", $defs: { "magic_account_app": magic_account_app, - "magic_account_app_id": magic_account_app_id, "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, "magic_app_single_response": magic_app_single_response, "magic_app_source_subnets": magic_app_source_subnets, "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, "magic_apps-response-object": magic_apps$$response$$object, - "magic_cidr": magic_cidr, "magic_messages": magic_messages, }, }, @@ -124,16 +110,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_account_app": magic_account_app, - "magic_account_app_id": magic_account_app_id, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, "magic_app_single_response": magic_app_single_response, "magic_app_source_subnets": magic_app_source_subnets, "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, "magic_apps-response-object": magic_apps$$response$$object, - "magic_cidr": magic_cidr, "magic_messages": magic_messages, }, }, @@ -145,19 +127,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_apps_delete", title: "Delete Account App", - description: "Deletes specific Account App.", + description: "Deletes specific Account App.\n\nDELETE /accounts/{account_id}/magic/apps/{account_app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_app_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -170,23 +153,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_app_single_response", $defs: { "magic_account_app": magic_account_app, - "magic_account_app_id": magic_account_app_id, "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, "magic_app_single_response": magic_app_single_response, "magic_app_source_subnets": magic_app_source_subnets, "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, "magic_apps-response-object": magic_apps$$response$$object, - "magic_cidr": magic_cidr, "magic_messages": magic_messages, }, }, @@ -222,16 +199,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_account_app": magic_account_app, - "magic_account_app_id": magic_account_app_id, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, "magic_app_single_response": magic_app_single_response, "magic_app_source_subnets": magic_app_source_subnets, "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, "magic_apps-response-object": magic_apps$$response$$object, - "magic_cidr": magic_cidr, "magic_messages": magic_messages, }, }, @@ -242,15 +215,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_apps_list", title: "List Apps", - description: "Lists Apps associated with an account.", + description: "Lists Apps associated with an account.\n\nGET /accounts/{account_id}/magic/apps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -262,26 +236,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_apps_collection_response", $defs: { "magic_account_app": magic_account_app, - "magic_account_app_id": magic_account_app_id, "magic_app": magic_app, "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, "magic_app_source_subnets": magic_app_source_subnets, "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, "magic_apps-response-array": magic_apps$$response$$array, "magic_apps_collection_response": magic_apps_collection_response, - "magic_cidr": magic_cidr, "magic_managed_app": magic_managed_app, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, @@ -319,19 +286,14 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_account_app": magic_account_app, - "magic_account_app_id": magic_account_app_id, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_app": magic_app, "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, "magic_app_source_subnets": magic_app_source_subnets, "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, "magic_apps-response-array": magic_apps$$response$$array, "magic_apps_collection_response": magic_apps_collection_response, - "magic_cidr": magic_cidr, "magic_managed_app": magic_managed_app, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, @@ -342,7 +304,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_apps_update", title: "Update an App", - description: "Updates an Account App", + description: "Updates an Account App\n\nPUT /accounts/{account_id}/magic/apps/{account_app_id}", inputSchema: { type: "object", properties: { @@ -350,14 +312,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_app_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_app_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -371,30 +334,23 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "magic_app_hostnames": magic_app_hostnames$, - "magic_app_name": magic_app_name$, "magic_app_source_subnets": magic_app_source_subnets$, "magic_app_subnets": magic_app_subnets$, - "magic_app_type": magic_app_type$, "magic_app_update_request": magic_app_update_request, - "magic_cidr": magic_cidr$, - "magic_identifier": magic_identifier, }, }, outputSchema: { "$ref": "#/$defs/magic_app_single_response", $defs: { "magic_account_app": magic_account_app, - "magic_account_app_id": magic_account_app_id, "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, "magic_app_single_response": magic_app_single_response, "magic_app_source_subnets": magic_app_source_subnets, "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, "magic_apps-response-object": magic_apps$$response$$object, - "magic_cidr": magic_cidr, "magic_messages": magic_messages, }, }, @@ -430,16 +386,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_account_app": magic_account_app, - "magic_account_app_id": magic_account_app_id, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_app_hostnames": magic_app_hostnames, - "magic_app_name": magic_app_name, "magic_app_single_response": magic_app_single_response, "magic_app_source_subnets": magic_app_source_subnets, "magic_app_subnets": magic_app_subnets, - "magic_app_type": magic_app_type, "magic_apps-response-object": magic_apps$$response$$object, - "magic_cidr": magic_cidr, "magic_messages": magic_messages, }, }, diff --git a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts index e5a32604a..fe7bb7a72 100644 --- a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/outputs.ts @@ -3,17 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_bgp_filter_match_action` in responses. - */ -export const magic_bgp_filter_match_action: JsonSchema = { - "enum": [ - "allow", - "deny" - ], - "type": "string" -}; - /** * The schema of `magic_bgp_filter_profile` in responses. */ @@ -27,10 +16,14 @@ export const magic_bgp_filter_profile: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/magic_schemas-identifier" + "type": "string" }, "match_action": { - "$ref": "#/$defs/magic_bgp_filter_match_action" + "enum": [ + "allow", + "deny" + ], + "type": "string" }, "modified_on": { "format": "date-time", diff --git a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/schemas.ts b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/schemas.ts index 4aeef7460..7d4e2a8d0 100644 --- a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/schemas.ts @@ -3,18 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_bgp_filter_match_action`. - */ -export const magic_bgp_filter_match_action: JsonSchema = { - "description": "Action to take when a route matches one of the targets in this profile", - "enum": [ - "allow", - "deny" - ], - "type": "string" -}; - /** * The schema of `magic_create_bgp_filter_profile_request`. */ @@ -26,8 +14,12 @@ export const magic_create_bgp_filter_profile_request: JsonSchema = { "type": "string" }, "match_action": { - "$ref": "#/$defs/magic_bgp_filter_match_action", - "description": "Action to take when a route matches one of the targets in this profile" + "description": "Action to take when a route matches one of the targets in this profile", + "enum": [ + "allow", + "deny" + ], + "type": "string" }, "name": { "description": "Friendly name for the filter profile", @@ -61,8 +53,12 @@ export const magic_update_bgp_filter_profile_request: JsonSchema = { "type": "string" }, "match_action": { - "$ref": "#/$defs/magic_bgp_filter_match_action", - "description": "Action to take when a route matches one of the targets in this profile" + "description": "Action to take when a route matches one of the targets in this profile", + "enum": [ + "allow", + "deny" + ], + "type": "string" }, "name": { "description": "Friendly name for the filter profile", diff --git a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts index 6f4754dbf..54b11af10 100644 --- a/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts +++ b/src/generated/forge-mcp/magicTransit/bgpFilterProfiles/tools.ts @@ -7,17 +7,13 @@ import { magic_api$$response$$common$$failure, magic_api$$response$$single, magic_messages, - magic_schemas$$identifier, } from "../outputs.js"; -import { magic_identifier } from "../schemas.js"; import { - magic_bgp_filter_match_action, magic_bgp_filter_profile, magic_magic_bgp_filter_profile_response, magic_magic_bgp_filter_profiles_list_response, } from "./outputs.js"; import { - magic_bgp_filter_match_action as magic_bgp_filter_match_action$, magic_create_bgp_filter_profile_request, magic_update_bgp_filter_profile_request, } from "./schemas.js"; @@ -29,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_bgpFilterProfiles_create", title: "Create BGP Filter Profile", - description: "Creates a new BGP filter profile for an account.", + description: "Creates a new BGP filter profile for an account.\n\nPOST /accounts/{account_id}/magic/bgp/filter_profiles", inputSchema: { type: "object", properties: { @@ -37,10 +33,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_create_bgp_filter_profile_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -53,10 +50,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_bgp_filter_match_action": magic_bgp_filter_match_action$, "magic_create_bgp_filter_profile_request": magic_create_bgp_filter_profile_request, - "magic_identifier": magic_identifier, }, }, outputSchema: { @@ -64,11 +60,9 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -102,11 +96,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ @@ -117,19 +109,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_bgpFilterProfiles_delete", title: "Delete BGP Filter Profile", - description: "Deletes a BGP filter profile.", + description: "Deletes a BGP filter profile.\n\nDELETE /accounts/{account_id}/magic/bgp/filter_profiles/{profile_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "profile_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -142,20 +135,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_magic_bgp_filter_profile_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -189,11 +178,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ @@ -203,19 +190,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_bgpFilterProfiles_get", title: "Get BGP Filter Profile", - description: "Gets a specific BGP filter profile for an account.", + description: "Gets a specific BGP filter profile for an account.\n\nGET /accounts/{account_id}/magic/bgp/filter_profiles/{profile_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "profile_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -228,20 +216,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_magic_bgp_filter_profile_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -275,11 +259,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ @@ -289,15 +271,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_bgpFilterProfiles_list", title: "List BGP Filter Profiles", - description: "Lists all BGP filter profiles for an account.", + description: "Lists all BGP filter profiles for an account.\n\nGET /accounts/{account_id}/magic/bgp/filter_profiles", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -309,19 +292,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_magic_bgp_filter_profiles_list_response", $defs: { "magic_api-response-common": magic_api$$response$$common, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profiles_list_response": magic_magic_bgp_filter_profiles_list_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -354,11 +333,9 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profiles_list_response": magic_magic_bgp_filter_profiles_list_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ @@ -368,7 +345,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_bgpFilterProfiles_update", title: "Update BGP Filter Profile", - description: "Updates a BGP filter profile. Omitted properties are left unchanged. To clear an existing description send `description: \"\"`.", + description: "Updates a BGP filter profile. Omitted properties are left unchanged. To clear an existing description send `description: \"\"`.\n\nPUT /accounts/{account_id}/magic/bgp/filter_profiles/{profile_id}", inputSchema: { type: "object", properties: { @@ -376,14 +353,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_update_bgp_filter_profile_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "profile_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -397,9 +375,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_bgp_filter_match_action": magic_bgp_filter_match_action$, - "magic_identifier": magic_identifier, "magic_update_bgp_filter_profile_request": magic_update_bgp_filter_profile_request, }, }, @@ -408,11 +385,9 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, annotations: { @@ -446,11 +421,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bgp_filter_match_action": magic_bgp_filter_match_action, "magic_bgp_filter_profile": magic_bgp_filter_profile, "magic_magic_bgp_filter_profile_response": magic_magic_bgp_filter_profile_response, "magic_messages": magic_messages, - "magic_schemas-identifier": magic_schemas$$identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts b/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts index 4ff442fbb..85838a260 100644 --- a/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts +++ b/src/generated/forge-mcp/magicTransit/bgpSettings/tools.ts @@ -8,7 +8,6 @@ import { magic_api$$response$$single, magic_messages, } from "../outputs.js"; -import { magic_identifier } from "../schemas.js"; import { magic_bgp_redistribute_sources, magic_bgp_settings, @@ -26,15 +25,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_bgpSettings_get", title: "Get BGP Settings", - description: "Gets the BGP settings for an account, including the default ASN and redistribution configuration.", + description: "Gets the BGP settings for an account, including the default ASN and redistribution configuration.\n\nGET /accounts/{account_id}/magic/bgp/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -46,9 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_magic_bgp_settings_response", @@ -105,7 +103,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_bgpSettings_update", title: "Update BGP Settings", - description: "Modifies the BGP settings for an account, including the default ASN and redistribution configuration.", + description: "Modifies the BGP settings for an account, including the default ASN and redistribution configuration.\n\nPUT /accounts/{account_id}/magic/bgp/settings", inputSchema: { type: "object", properties: { @@ -113,10 +111,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_update_bgp_settings_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -129,8 +128,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_identifier": magic_identifier, "magic_update_bgp_settings_redistribute_sources": magic_update_bgp_settings_redistribute_sources, "magic_update_bgp_settings_request": magic_update_bgp_settings_request, }, diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts index 430fdcfdf..b5635d570 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/outputs.ts @@ -16,7 +16,7 @@ export const magic_cf1_site: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "location": { "$ref": "#/$defs/magic_cf1_site_location" diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts index 6a5f376af..9a45e3d1e 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/outputs.ts @@ -34,7 +34,7 @@ export const magic_cf1_site_ramp: JsonSchema = { "$ref": "#/$defs/magic_cf1_site_managed_ramp" }, "id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "ipsec": { "$ref": "#/$defs/magic_cf1_site_managed_ramp" @@ -53,7 +53,14 @@ export const magic_cf1_site_ramp: JsonSchema = { "type": "string" }, "type": { - "$ref": "#/$defs/magic_cf1_site_ramp_type" + "enum": [ + "gre", + "gre_interconnect", + "mpls_interconnect", + "mconn", + "ipsec" + ], + "type": "string" } }, "required": [ @@ -85,20 +92,6 @@ export const magic_cf1_site_ramp_single_response: JsonSchema = { ] }; -/** - * The schema of `magic_cf1_site_ramp_type` in responses. - */ -export const magic_cf1_site_ramp_type: JsonSchema = { - "enum": [ - "gre", - "gre_interconnect", - "mpls_interconnect", - "mconn", - "ipsec" - ], - "type": "string" -}; - /** * The schema of `magic_cf1_site_ramps_collection_response` in responses. */ diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/schemas.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/schemas.ts index 4e6dfee81..8f82fc634 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/schemas.ts @@ -9,12 +9,19 @@ import type { JsonSchema } from "../../../_/tool.js"; export const magic_cf1_site_ramp_body: JsonSchema = { "properties": { "source_ramp_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier of the source network resource to associate as a ramp." + "description": "Identifier of the source network resource to associate as a ramp.", + "type": "string" }, "type": { - "$ref": "#/$defs/magic_cf1_site_ramp_type", - "description": "The type of network connection (ramp) linking a CF1 Site to Cloudflare's network." + "description": "The type of network connection (ramp) linking a CF1 Site to Cloudflare's network.", + "enum": [ + "gre", + "gre_interconnect", + "mpls_interconnect", + "mconn", + "ipsec" + ], + "type": "string" } }, "required": [ @@ -23,18 +30,3 @@ export const magic_cf1_site_ramp_body: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `magic_cf1_site_ramp_type`. - */ -export const magic_cf1_site_ramp_type: JsonSchema = { - "description": "The type of network connection (ramp) linking a CF1 Site to Cloudflare's network.", - "enum": [ - "gre", - "gre_interconnect", - "mpls_interconnect", - "mconn", - "ipsec" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts index 2652123c4..47f36f4df 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/ramps/tools.ts @@ -6,21 +6,15 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_identifier, magic_messages, } from "../../outputs.js"; -import { magic_identifier as magic_identifier$ } from "../../schemas.js"; import { magic_cf1_site_managed_ramp, magic_cf1_site_ramp, magic_cf1_site_ramp_single_response, - magic_cf1_site_ramp_type, magic_cf1_site_ramps_collection_response, } from "./outputs.js"; -import { - magic_cf1_site_ramp_body, - magic_cf1_site_ramp_type as magic_cf1_site_ramp_type$, -} from "./schemas.js"; +import { magic_cf1_site_ramp_body } from "./schemas.js"; /** * The tools of `magicTransit.cf1Sites.ramps`. @@ -29,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cf1Sites_ramps_create", title: "Create CF1 Site Ramps", - description: "Creates ramps (network connections) for a CF1 Site.", + description: "Creates ramps (network connections) for a CF1 Site.\n\nPOST /accounts/{account_id}/magic/cf1_sites/{cf1_site_id}/ramps", inputSchema: { type: "object", properties: { @@ -41,14 +35,15 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -62,10 +57,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "magic_cf1_site_ramp_body": magic_cf1_site_ramp_body, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type$, - "magic_identifier": magic_identifier$, }, }, outputSchema: { @@ -75,9 +69,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-single": magic_api$$response$$single, "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, "magic_cf1_site_ramp": magic_cf1_site_ramp, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -113,9 +105,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-single": magic_api$$response$$single, "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, "magic_cf1_site_ramp": magic_cf1_site_ramp, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -127,23 +117,24 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cf1Sites_ramps_delete", title: "Delete CF1 Site Ramp", - description: "Deletes a specific ramp from a CF1 Site.", + description: "Deletes a specific ramp from a CF1 Site.\n\nDELETE /accounts/{account_id}/magic/cf1_sites/{cf1_site_id}/ramps/{ramp_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "ramp_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -157,9 +148,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_ramp_single_response", @@ -169,8 +158,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, "magic_cf1_site_ramp": magic_cf1_site_ramp, "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -211,8 +198,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, "magic_cf1_site_ramp": magic_cf1_site_ramp, "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -223,23 +208,24 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cf1Sites_ramps_get", title: "Get CF1 Site Ramp", - description: "Gets a specific ramp for a CF1 Site.", + description: "Gets a specific ramp for a CF1 Site.\n\nGET /accounts/{account_id}/magic/cf1_sites/{cf1_site_id}/ramps/{ramp_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "ramp_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -253,9 +239,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_ramp_single_response", @@ -265,8 +249,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, "magic_cf1_site_ramp": magic_cf1_site_ramp, "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -309,8 +291,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, "magic_cf1_site_ramp": magic_cf1_site_ramp, "magic_cf1_site_ramp_single_response": magic_cf1_site_ramp_single_response, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -321,19 +301,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cf1Sites_ramps_list", title: "List CF1 Site Ramps", - description: "Lists ramps (network connections) associated with a CF1 Site. Ramps represent GRE tunnels, IPsec tunnels, interconnects, or MCONN links.", + description: "Lists ramps (network connections) associated with a CF1 Site. Ramps represent GRE tunnels, IPsec tunnels, interconnects, or MCONN links.\n\nGET /accounts/{account_id}/magic/cf1_sites/{cf1_site_id}/ramps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -346,9 +327,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_ramps_collection_response", @@ -357,9 +336,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-single": magic_api$$response$$single, "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, "magic_cf1_site_ramp": magic_cf1_site_ramp, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -401,9 +378,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-single": magic_api$$response$$single, "magic_cf1_site_managed_ramp": magic_cf1_site_managed_ramp, "magic_cf1_site_ramp": magic_cf1_site_ramp, - "magic_cf1_site_ramp_type": magic_cf1_site_ramp_type, "magic_cf1_site_ramps_collection_response": magic_cf1_site_ramps_collection_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, diff --git a/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts b/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts index ffcbadbbb..863f51718 100644 --- a/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts +++ b/src/generated/forge-mcp/magicTransit/cf1Sites/tools.ts @@ -6,10 +6,8 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_identifier, magic_messages, } from "../outputs.js"; -import { magic_identifier as magic_identifier$ } from "../schemas.js"; import { magic_cf1_site, magic_cf1_site_location, @@ -29,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cf1Sites_create", title: "Create CF1 Sites", - description: "Creates new CF1 Sites for an account. Each site must have a unique name within the account.", + description: "Creates new CF1 Sites for an account. Each site must have a unique name within the account.\n\nPOST /accounts/{account_id}/magic/cf1_sites", inputSchema: { type: "object", properties: { @@ -41,10 +39,11 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -57,10 +56,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "magic_cf1_site": magic_cf1_site$, "magic_cf1_site_location": magic_cf1_site_location$, - "magic_identifier": magic_identifier$, }, }, outputSchema: { @@ -71,7 +70,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -117,7 +115,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -129,19 +126,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cf1Sites_delete", title: "Delete CF1 Site", - description: "Deletes a specific CF1 Site for an account.", + description: "Deletes a specific CF1 Site for an account.\n\nDELETE /accounts/{account_id}/magic/cf1_sites/{cf1_site_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -154,9 +152,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_single_response", @@ -166,7 +162,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_site_single_response": magic_cf1_site_single_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -212,7 +207,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_site_single_response": magic_cf1_site_single_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -223,19 +217,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cf1Sites_get", title: "Get CF1 Site", - description: "Gets a specific CF1 Site for an account.", + description: "Gets a specific CF1 Site for an account.\n\nGET /accounts/{account_id}/magic/cf1_sites/{cf1_site_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -248,9 +243,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_cf1_site_single_response", @@ -260,7 +253,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_site_single_response": magic_cf1_site_single_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -308,7 +300,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_site_single_response": magic_cf1_site_single_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -319,15 +310,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cf1Sites_list", title: "List CF1 Sites", - description: "Lists CF1 Sites associated with an account. A CF1 Site represents a physical customer network location with optional geographic coordinates.", + description: "Lists CF1 Sites associated with an account. A CF1 Site represents a physical customer network location with optional geographic coordinates.\n\nGET /accounts/{account_id}/magic/cf1_sites", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -339,9 +331,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_cf1_sites_collection_response", @@ -351,7 +341,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -399,7 +388,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_sites_collection_response": magic_cf1_sites_collection_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -410,7 +398,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cf1Sites_update", title: "Update CF1 Site", - description: "Partially updates a specific CF1 Site for an account. Only the fields included in the request body are modified; omitted fields retain their existing values.", + description: "Partially updates a specific CF1 Site for an account. Only the fields included in the request body are modified; omitted fields retain their existing values.\n\nPATCH /accounts/{account_id}/magic/cf1_sites/{cf1_site_id}", inputSchema: { type: "object", properties: { @@ -418,14 +406,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_cf1_site_update" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "cf1_site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -439,10 +428,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "magic_cf1_site_location": magic_cf1_site_location$, "magic_cf1_site_update": magic_cf1_site_update, - "magic_identifier": magic_identifier$, }, }, outputSchema: { @@ -453,7 +442,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_site_single_response": magic_cf1_site_single_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, @@ -499,7 +487,6 @@ export const tools: readonly Tool[] = [ "magic_cf1_site": magic_cf1_site, "magic_cf1_site_location": magic_cf1_site_location, "magic_cf1_site_single_response": magic_cf1_site_single_response, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, }, }, diff --git a/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts b/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts index e844ba6ad..e966f8716 100644 --- a/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/cfInterconnects/outputs.ts @@ -34,13 +34,6 @@ export const magic_components$$schemas$$modified_tunnels_collection_response: Js ] }; -/** - * The schema of `magic_components-schemas-name` in responses. - */ -export const magic_components$$schemas$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_components-schemas-tunnel_modified_response` in * responses. @@ -139,19 +132,20 @@ export const magic_gre: JsonSchema = { export const magic_interconnect: JsonSchema = { "properties": { "automatic_return_routing": { - "$ref": "#/$defs/magic_automatic_return_routing" + "type": "boolean" }, "bgp": { "$ref": "#/$defs/magic_interconnect_bgp_config" }, "colo_name": { - "$ref": "#/$defs/magic_components-schemas-name" + "type": "string" }, "created_on": { - "$ref": "#/$defs/magic_schemas-created_on" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/magic_interconnect_components-schemas-description" + "type": "string" }, "gre": { "$ref": "#/$defs/magic_gre" @@ -160,22 +154,23 @@ export const magic_interconnect: JsonSchema = { "$ref": "#/$defs/magic_interconnect_health_check" }, "id": { - "$ref": "#/$defs/magic_schemas-identifier" + "type": "string" }, "interface_address": { - "$ref": "#/$defs/magic_interface_address_interconnect" + "type": "string" }, "interface_address6": { - "$ref": "#/$defs/magic_interface_address6" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/magic_schemas-modified_on" + "format": "date-time", + "type": "string" }, "mtu": { - "$ref": "#/$defs/magic_schemas-mtu" + "type": "integer" }, "name": { - "$ref": "#/$defs/magic_components-schemas-name" + "type": "string" }, "version": { "type": "string" @@ -183,7 +178,7 @@ export const magic_interconnect: JsonSchema = { "virtual_port_reservation_id": { "allOf": [ { - "$ref": "#/$defs/magic_schemas-identifier" + "type": "string" }, { "type": "string" @@ -230,14 +225,6 @@ export const magic_interconnect_bgp_config: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_interconnect_components-schemas-description` in - * responses. - */ -export const magic_interconnect_components$$schemas$$description: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_interconnect_health_check` in responses. */ @@ -263,17 +250,3 @@ export const magic_interconnect_health_check: JsonSchema = { } ] }; - -/** - * The schema of `magic_interface_address_interconnect` in responses. - */ -export const magic_interface_address_interconnect: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_schemas-mtu` in responses. - */ -export const magic_schemas$$mtu: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/magicTransit/cfInterconnects/schemas.ts b/src/generated/forge-mcp/magicTransit/cfInterconnects/schemas.ts index 45b276936..ad17e0597 100644 --- a/src/generated/forge-mcp/magicTransit/cfInterconnects/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/cfInterconnects/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_components-schemas-name`. - */ -export const magic_components$$schemas$$name: JsonSchema = { - "description": "The name of the interconnect. The name cannot share a name with other tunnels.", - "type": "string" -}; - /** * The schema of `magic_gre`. */ @@ -54,7 +46,7 @@ export const magic_interconnect_bgp_config: JsonSchema = { "type": "string" }, "extra_prefixes": { - "description": "IPv4 prefixes in this list will be advertised to the customer device, in addition to the routes in the Magic\nrouting table. Each entry must be a network address in CIDR notation with no host bits set (for example\n`192.0.2.0/24`, not `192.0.2.1/24`) and must not repeat another entry.\n", + "description": "IPv4 prefixes in this list will be advertised to the customer device, in addition to the routes in the Magic\nrouting table. Each entry must be a network address in CIDR notation with no host bits set (for example\n`192.0.2.0/24`, not `192.0.2.1/24`) and must not repeat another entry.", "items": { "type": "string" }, @@ -72,14 +64,6 @@ export const magic_interconnect_bgp_config: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_interconnect_components-schemas-description`. - */ -export const magic_interconnect_components$$schemas$$description: JsonSchema = { - "description": "An optional description of the interconnect.", - "type": "string" -}; - /** * The schema of `magic_interconnect_health_check`. */ @@ -115,16 +99,16 @@ export const magic_interconnect_health_check: JsonSchema = { export const magic_interconnect_tunnel_update_request: JsonSchema = { "properties": { "automatic_return_routing": { - "$ref": "#/$defs/magic_automatic_return_routing", "default": false, - "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected." + "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected.", + "type": "boolean" }, "bgp": { "$ref": "#/$defs/magic_interconnect_bgp_config" }, "description": { - "$ref": "#/$defs/magic_interconnect_components-schemas-description", - "description": "An optional description of the interconnect." + "description": "An optional description of the interconnect.", + "type": "string" }, "gre": { "$ref": "#/$defs/magic_gre" @@ -133,38 +117,22 @@ export const magic_interconnect_tunnel_update_request: JsonSchema = { "$ref": "#/$defs/magic_interconnect_health_check" }, "interface_address": { - "$ref": "#/$defs/magic_interface_address_interconnect", - "description": "The IPv4 interface address for the interconnect. For MPLS Interconnects,\nuse a /30 or /31 prefix. For GRE Interconnects, a /30 or /31 prefix\nmay be used. Version 1.5 interconnects require a /31 prefix and may\nalso use a prefix from the account's authorized prefixes; otherwise,\nselect the subnet from RFC 1918 or the approved link-local ranges.\n" + "description": "The IPv4 interface address for the interconnect. For MPLS Interconnects,\nuse a /30 or /31 prefix. For GRE Interconnects, a /30 or /31 prefix\nmay be used. Version 1.5 interconnects require a /31 prefix and may\nalso use a prefix from the account's authorized prefixes; otherwise,\nselect the subnet from RFC 1918 or the approved link-local ranges.", + "type": "string" }, "interface_address6": { - "$ref": "#/$defs/magic_interface_address6", - "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127" + "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127", + "type": "string" }, "mtu": { - "$ref": "#/$defs/magic_schemas-mtu", "default": 1476, - "description": "The Maximum Transmission Unit (MTU) in bytes for the interconnect. The minimum value is 576." + "description": "The Maximum Transmission Unit (MTU) in bytes for the interconnect. The minimum value is 576.", + "type": "integer" }, "name": { - "$ref": "#/$defs/magic_components-schemas-name", - "description": "The name of the interconnect. The name cannot share a name with other tunnels." + "description": "The name of the interconnect. The name cannot share a name with other tunnels.", + "type": "string" } }, "type": "object" }; - -/** - * The schema of `magic_interface_address_interconnect`. - */ -export const magic_interface_address_interconnect: JsonSchema = { - "description": "The IPv4 interface address for the interconnect. For MPLS Interconnects,\nuse a /30 or /31 prefix. For GRE Interconnects, a /30 or /31 prefix\nmay be used. Version 1.5 interconnects require a /31 prefix and may\nalso use a prefix from the account's authorized prefixes; otherwise,\nselect the subnet from RFC 1918 or the approved link-local ranges.\n", - "type": "string" -}; - -/** - * The schema of `magic_schemas-mtu`. - */ -export const magic_schemas$$mtu: JsonSchema = { - "description": "The Maximum Transmission Unit (MTU) in bytes for the interconnect. The minimum value is 576.", - "type": "integer" -}; diff --git a/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts b/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts index 111e28b53..f90e6b7bf 100644 --- a/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts +++ b/src/generated/forge-mcp/magicTransit/cfInterconnects/tools.ts @@ -6,45 +6,29 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_automatic_return_routing, magic_health_check_base, magic_health_check_target, - magic_interface_address6, magic_messages, - magic_schemas$$created_on, - magic_schemas$$identifier, - magic_schemas$$modified_on, } from "../outputs.js"; import { - magic_automatic_return_routing as magic_automatic_return_routing$, magic_health_check_base as magic_health_check_base$, magic_health_check_target as magic_health_check_target$, - magic_identifier, - magic_interface_address6 as magic_interface_address6$, } from "../schemas.js"; import { magic_components$$schemas$$modified_tunnels_collection_response, - magic_components$$schemas$$name, magic_components$$schemas$$tunnel_modified_response, magic_components$$schemas$$tunnel_single_response, magic_components$$schemas$$tunnels_collection_response, magic_gre, magic_interconnect, magic_interconnect_bgp_config, - magic_interconnect_components$$schemas$$description, magic_interconnect_health_check, - magic_interface_address_interconnect, - magic_schemas$$mtu, } from "./outputs.js"; import { - magic_components$$schemas$$name as magic_components$$schemas$$name$, magic_gre as magic_gre$, magic_interconnect_bgp_config as magic_interconnect_bgp_config$, - magic_interconnect_components$$schemas$$description as magic_interconnect_components$$schemas$$description$, magic_interconnect_health_check as magic_interconnect_health_check$, magic_interconnect_tunnel_update_request, - magic_interface_address_interconnect as magic_interface_address_interconnect$, - magic_schemas$$mtu as magic_schemas$$mtu$, } from "./schemas.js"; /** @@ -54,7 +38,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cfInterconnects_bulkUpdate", title: "Update multiple interconnects", - description: "Updates multiple interconnects associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Updates multiple interconnects associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nPUT /accounts/{account_id}/magic/cf_interconnects", inputSchema: { type: "object", properties: { @@ -62,6 +46,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", @@ -71,10 +56,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -87,32 +73,21 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_components-schemas-modified_tunnels_collection_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_components-schemas-modified_tunnels_collection_response": magic_components$$schemas$$modified_tunnels_collection_response, - "magic_components-schemas-name": magic_components$$schemas$$name, "magic_gre": magic_gre, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, "magic_interconnect": magic_interconnect, "magic_interconnect_bgp_config": magic_interconnect_bgp_config, - "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, "magic_interconnect_health_check": magic_interconnect_health_check, - "magic_interface_address6": magic_interface_address6, - "magic_interface_address_interconnect": magic_interface_address_interconnect, "magic_messages": magic_messages, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_schemas-mtu": magic_schemas$$mtu, }, }, annotations: { @@ -149,23 +124,14 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_components-schemas-modified_tunnels_collection_response": magic_components$$schemas$$modified_tunnels_collection_response, - "magic_components-schemas-name": magic_components$$schemas$$name, "magic_gre": magic_gre, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, "magic_interconnect": magic_interconnect, "magic_interconnect_bgp_config": magic_interconnect_bgp_config, - "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, "magic_interconnect_health_check": magic_interconnect_health_check, - "magic_interface_address6": magic_interface_address6, - "magic_interface_address_interconnect": magic_interface_address_interconnect, "magic_messages": magic_messages, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_schemas-mtu": magic_schemas$$mtu, }, }, request: (args) => ({ @@ -179,11 +145,12 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cfInterconnects_get", title: "List interconnect Details", - description: "Lists details for a specific interconnect.", + description: "Lists details for a specific interconnect.\n\nGET /accounts/{account_id}/magic/cf_interconnects/{cf_interconnect_id}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", @@ -193,14 +160,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "cf_interconnect_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -213,32 +181,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_components-schemas-tunnel_single_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, - "magic_components-schemas-name": magic_components$$schemas$$name, "magic_components-schemas-tunnel_single_response": magic_components$$schemas$$tunnel_single_response, "magic_gre": magic_gre, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, "magic_interconnect": magic_interconnect, "magic_interconnect_bgp_config": magic_interconnect_bgp_config, - "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, "magic_interconnect_health_check": magic_interconnect_health_check, - "magic_interface_address6": magic_interface_address6, - "magic_interface_address_interconnect": magic_interface_address_interconnect, "magic_messages": magic_messages, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_schemas-mtu": magic_schemas$$mtu, }, }, annotations: { @@ -277,23 +234,14 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, - "magic_components-schemas-name": magic_components$$schemas$$name, "magic_components-schemas-tunnel_single_response": magic_components$$schemas$$tunnel_single_response, "magic_gre": magic_gre, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, "magic_interconnect": magic_interconnect, "magic_interconnect_bgp_config": magic_interconnect_bgp_config, - "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, "magic_interconnect_health_check": magic_interconnect_health_check, - "magic_interface_address6": magic_interface_address6, - "magic_interface_address_interconnect": magic_interface_address_interconnect, "magic_messages": magic_messages, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_schemas-mtu": magic_schemas$$mtu, }, }, request: (args) => ({ @@ -306,11 +254,12 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cfInterconnects_list", title: "List interconnects", - description: "Lists interconnects associated with an account.", + description: "Lists interconnects associated with an account.\n\nGET /accounts/{account_id}/magic/cf_interconnects", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", @@ -320,10 +269,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -335,32 +285,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_components-schemas-tunnels_collection_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, - "magic_components-schemas-name": magic_components$$schemas$$name, "magic_components-schemas-tunnels_collection_response": magic_components$$schemas$$tunnels_collection_response, "magic_gre": magic_gre, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, "magic_interconnect": magic_interconnect, "magic_interconnect_bgp_config": magic_interconnect_bgp_config, - "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, "magic_interconnect_health_check": magic_interconnect_health_check, - "magic_interface_address6": magic_interface_address6, - "magic_interface_address_interconnect": magic_interface_address_interconnect, "magic_messages": magic_messages, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_schemas-mtu": magic_schemas$$mtu, }, }, annotations: { @@ -399,23 +338,14 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, - "magic_components-schemas-name": magic_components$$schemas$$name, "magic_components-schemas-tunnels_collection_response": magic_components$$schemas$$tunnels_collection_response, "magic_gre": magic_gre, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, "magic_interconnect": magic_interconnect, "magic_interconnect_bgp_config": magic_interconnect_bgp_config, - "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, "magic_interconnect_health_check": magic_interconnect_health_check, - "magic_interface_address6": magic_interface_address6, - "magic_interface_address_interconnect": magic_interface_address_interconnect, "magic_messages": magic_messages, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_schemas-mtu": magic_schemas$$mtu, }, }, request: (args) => ({ @@ -428,7 +358,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_cfInterconnects_update", title: "Update interconnect", - description: "Updates a specific interconnect associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Updates a specific interconnect associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nPUT /accounts/{account_id}/magic/cf_interconnects/{cf_interconnect_id}", inputSchema: { type: "object", properties: { @@ -436,6 +366,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_interconnect_tunnel_update_request" }, "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", @@ -445,14 +376,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "cf_interconnect_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -466,20 +398,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_automatic_return_routing": magic_automatic_return_routing$, - "magic_components-schemas-name": magic_components$$schemas$$name$, "magic_gre": magic_gre$, "magic_health_check_base": magic_health_check_base$, "magic_health_check_target": magic_health_check_target$, - "magic_identifier": magic_identifier, "magic_interconnect_bgp_config": magic_interconnect_bgp_config$, - "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description$, "magic_interconnect_health_check": magic_interconnect_health_check$, "magic_interconnect_tunnel_update_request": magic_interconnect_tunnel_update_request, - "magic_interface_address6": magic_interface_address6$, - "magic_interface_address_interconnect": magic_interface_address_interconnect$, - "magic_schemas-mtu": magic_schemas$$mtu$, }, }, outputSchema: { @@ -487,23 +413,14 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, - "magic_components-schemas-name": magic_components$$schemas$$name, "magic_components-schemas-tunnel_modified_response": magic_components$$schemas$$tunnel_modified_response, "magic_gre": magic_gre, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, "magic_interconnect": magic_interconnect, "magic_interconnect_bgp_config": magic_interconnect_bgp_config, - "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, "magic_interconnect_health_check": magic_interconnect_health_check, - "magic_interface_address6": magic_interface_address6, - "magic_interface_address_interconnect": magic_interface_address_interconnect, "magic_messages": magic_messages, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_schemas-mtu": magic_schemas$$mtu, }, }, annotations: { @@ -540,23 +457,14 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, - "magic_components-schemas-name": magic_components$$schemas$$name, "magic_components-schemas-tunnel_modified_response": magic_components$$schemas$$tunnel_modified_response, "magic_gre": magic_gre, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, "magic_interconnect": magic_interconnect, "magic_interconnect_bgp_config": magic_interconnect_bgp_config, - "magic_interconnect_components-schemas-description": magic_interconnect_components$$schemas$$description, "magic_interconnect_health_check": magic_interconnect_health_check, - "magic_interface_address6": magic_interface_address6, - "magic_interface_address_interconnect": magic_interface_address_interconnect, "magic_messages": magic_messages, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_schemas-mtu": magic_schemas$$mtu, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts b/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts index 862e14d74..8c8b86fb9 100644 --- a/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/greTunnels/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_cloudflare_gre_endpoint` in responses. - */ -export const magic_cloudflare_gre_endpoint: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_create_gre_tunnel_response` in responses. */ @@ -29,20 +22,13 @@ export const magic_create_gre_tunnel_response: JsonSchema = { ] }; -/** - * The schema of `magic_customer_gre_endpoint` in responses. - */ -export const magic_customer_gre_endpoint: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_gre-tunnel` in responses. */ export const magic_gre$$tunnel: JsonSchema = { "properties": { "automatic_return_routing": { - "$ref": "#/$defs/magic_automatic_return_routing" + "type": "boolean" }, "bgp": { "$ref": "#/$defs/magic_bgp_config" @@ -51,40 +37,42 @@ export const magic_gre$$tunnel: JsonSchema = { "$ref": "#/$defs/magic_bgp_status_with_state" }, "cloudflare_gre_endpoint": { - "$ref": "#/$defs/magic_cloudflare_gre_endpoint" + "type": "string" }, "created_on": { - "$ref": "#/$defs/magic_schemas-created_on" + "format": "date-time", + "type": "string" }, "customer_gre_endpoint": { - "$ref": "#/$defs/magic_customer_gre_endpoint" + "type": "string" }, "description": { - "$ref": "#/$defs/magic_schemas-description" + "type": "string" }, "health_check": { "$ref": "#/$defs/magic_tunnel_health_check" }, "id": { - "$ref": "#/$defs/magic_schemas-identifier" + "type": "string" }, "interface_address": { - "$ref": "#/$defs/magic_interface_address" + "type": "string" }, "interface_address6": { - "$ref": "#/$defs/magic_interface_address6" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/magic_schemas-modified_on" + "format": "date-time", + "type": "string" }, "mtu": { - "$ref": "#/$defs/magic_mtu" + "type": "integer" }, "name": { - "$ref": "#/$defs/magic_gre_tunnel_name" + "type": "string" }, "ttl": { - "$ref": "#/$defs/magic_ttl" + "type": "integer" } }, "required": [ @@ -97,13 +85,6 @@ export const magic_gre$$tunnel: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_gre_tunnel_name` in responses. - */ -export const magic_gre_tunnel_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_modified_tunnels_collection_response` in responses. */ @@ -134,27 +115,6 @@ export const magic_modified_tunnels_collection_response: JsonSchema = { ] }; -/** - * The schema of `magic_mtu` in responses. - */ -export const magic_mtu: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `magic_schemas-description` in responses. - */ -export const magic_schemas$$description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_ttl` in responses. - */ -export const magic_ttl: JsonSchema = { - "type": "integer" -}; - /** * The schema of `magic_tunnel_deleted_response` in responses. */ diff --git a/src/generated/forge-mcp/magicTransit/greTunnels/schemas.ts b/src/generated/forge-mcp/magicTransit/greTunnels/schemas.ts index ed041477c..40005ab11 100644 --- a/src/generated/forge-mcp/magicTransit/greTunnels/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/greTunnels/schemas.ts @@ -3,63 +3,55 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_cloudflare_gre_endpoint`. - */ -export const magic_cloudflare_gre_endpoint: JsonSchema = { - "description": "The IP address assigned to the Cloudflare side of the GRE tunnel.", - "type": "string" -}; - /** * The schema of `magic_create_gre_tunnel_request`. */ export const magic_create_gre_tunnel_request: JsonSchema = { "properties": { "automatic_return_routing": { - "$ref": "#/$defs/magic_automatic_return_routing", "default": false, - "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected." + "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected.", + "type": "boolean" }, "bgp": { "$ref": "#/$defs/magic_bgp_config" }, "cloudflare_gre_endpoint": { - "$ref": "#/$defs/magic_cloudflare_gre_endpoint", - "description": "The IP address assigned to the Cloudflare side of the GRE tunnel." + "description": "The IP address assigned to the Cloudflare side of the GRE tunnel.", + "type": "string" }, "customer_gre_endpoint": { - "$ref": "#/$defs/magic_customer_gre_endpoint", - "description": "The IP address assigned to the customer side of the GRE tunnel." + "description": "The IP address assigned to the customer side of the GRE tunnel.", + "type": "string" }, "description": { - "$ref": "#/$defs/magic_schemas-description", - "description": "An optional description of the GRE tunnel." + "description": "An optional description of the GRE tunnel.", + "type": "string" }, "health_check": { "$ref": "#/$defs/magic_tunnel_health_check" }, "interface_address": { - "$ref": "#/$defs/magic_interface_address", - "description": "A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255." + "description": "A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.", + "type": "string" }, "interface_address6": { - "$ref": "#/$defs/magic_interface_address6", - "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127" + "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127", + "type": "string" }, "mtu": { - "$ref": "#/$defs/magic_mtu", "default": 1476, - "description": "Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576." + "description": "Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576.", + "type": "integer" }, "name": { - "$ref": "#/$defs/magic_gre_tunnel_name", - "description": "The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel." + "description": "The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel.", + "type": "string" }, "ttl": { - "$ref": "#/$defs/magic_ttl", "default": 64, - "description": "Time To Live (TTL) in number of hops of the GRE tunnel." + "description": "Time To Live (TTL) in number of hops of the GRE tunnel.", + "type": "integer" } }, "required": [ @@ -71,68 +63,52 @@ export const magic_create_gre_tunnel_request: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_customer_gre_endpoint`. - */ -export const magic_customer_gre_endpoint: JsonSchema = { - "description": "The IP address assigned to the customer side of the GRE tunnel.", - "type": "string" -}; - -/** - * The schema of `magic_gre_tunnel_name`. - */ -export const magic_gre_tunnel_name: JsonSchema = { - "description": "The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel.", - "type": "string" -}; - /** * The schema of `magic_gre_tunnel_update_request`. */ export const magic_gre_tunnel_update_request: JsonSchema = { "properties": { "automatic_return_routing": { - "$ref": "#/$defs/magic_automatic_return_routing", "default": false, - "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected." + "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected.", + "type": "boolean" }, "cloudflare_gre_endpoint": { - "$ref": "#/$defs/magic_cloudflare_gre_endpoint", - "description": "The IP address assigned to the Cloudflare side of the GRE tunnel." + "description": "The IP address assigned to the Cloudflare side of the GRE tunnel.", + "type": "string" }, "customer_gre_endpoint": { - "$ref": "#/$defs/magic_customer_gre_endpoint", - "description": "The IP address assigned to the customer side of the GRE tunnel." + "description": "The IP address assigned to the customer side of the GRE tunnel.", + "type": "string" }, "description": { - "$ref": "#/$defs/magic_schemas-description", - "description": "An optional description of the GRE tunnel." + "description": "An optional description of the GRE tunnel.", + "type": "string" }, "health_check": { "$ref": "#/$defs/magic_tunnel_health_check" }, "interface_address": { - "$ref": "#/$defs/magic_interface_address", - "description": "A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255." + "description": "A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.", + "type": "string" }, "interface_address6": { - "$ref": "#/$defs/magic_interface_address6", - "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127" + "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127", + "type": "string" }, "mtu": { - "$ref": "#/$defs/magic_mtu", "default": 1476, - "description": "Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576." + "description": "Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576.", + "type": "integer" }, "name": { - "$ref": "#/$defs/magic_gre_tunnel_name", - "description": "The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel." + "description": "The name of the tunnel. The name cannot contain spaces or special characters, must be 15 characters or less, and cannot share a name with another GRE tunnel.", + "type": "string" }, "ttl": { - "$ref": "#/$defs/magic_ttl", "default": 64, - "description": "Time To Live (TTL) in number of hops of the GRE tunnel." + "description": "Time To Live (TTL) in number of hops of the GRE tunnel.", + "type": "integer" } }, "required": [ @@ -143,27 +119,3 @@ export const magic_gre_tunnel_update_request: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `magic_mtu`. - */ -export const magic_mtu: JsonSchema = { - "description": "Maximum Transmission Unit (MTU) in bytes for the GRE tunnel. The minimum value is 576.", - "type": "integer" -}; - -/** - * The schema of `magic_schemas-description`. - */ -export const magic_schemas$$description: JsonSchema = { - "description": "An optional description of the GRE tunnel.", - "type": "string" -}; - -/** - * The schema of `magic_ttl`. - */ -export const magic_ttl: JsonSchema = { - "description": "Time To Live (TTL) in number of hops of the GRE tunnel.", - "type": "integer" -}; diff --git a/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts b/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts index 3e4618b11..08a125ab1 100644 --- a/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts +++ b/src/generated/forge-mcp/magicTransit/greTunnels/tools.ts @@ -6,53 +6,31 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_automatic_return_routing, magic_bgp_config, magic_bgp_status_with_state, magic_health_check_base, magic_health_check_target, - magic_interface_address, - magic_interface_address6, magic_messages, - magic_schemas$$created_on, - magic_schemas$$identifier, - magic_schemas$$modified_on, magic_tunnel_health_check, } from "../outputs.js"; import { - magic_automatic_return_routing as magic_automatic_return_routing$, magic_bgp_config as magic_bgp_config$, magic_health_check_base as magic_health_check_base$, magic_health_check_target as magic_health_check_target$, - magic_identifier, - magic_interface_address as magic_interface_address$, - magic_interface_address6 as magic_interface_address6$, magic_tunnel_health_check as magic_tunnel_health_check$, } from "../schemas.js"; import { - magic_cloudflare_gre_endpoint, magic_create_gre_tunnel_response, - magic_customer_gre_endpoint, magic_gre$$tunnel, - magic_gre_tunnel_name, magic_modified_tunnels_collection_response, - magic_mtu, - magic_schemas$$description, - magic_ttl, magic_tunnel_deleted_response, magic_tunnel_modified_response, magic_tunnel_single_response, magic_tunnels_collection_response, } from "./outputs.js"; import { - magic_cloudflare_gre_endpoint as magic_cloudflare_gre_endpoint$, magic_create_gre_tunnel_request, - magic_customer_gre_endpoint as magic_customer_gre_endpoint$, - magic_gre_tunnel_name as magic_gre_tunnel_name$, magic_gre_tunnel_update_request, - magic_mtu as magic_mtu$, - magic_schemas$$description as magic_schemas$$description$, - magic_ttl as magic_ttl$, } from "./schemas.js"; /** @@ -62,7 +40,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_greTunnels_bulkUpdate", title: "Update multiple GRE tunnels", - description: "Updates multiple GRE tunnels. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Updates multiple GRE tunnels. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nPUT /accounts/{account_id}/magic/gre_tunnels", inputSchema: { type: "object", properties: { @@ -70,6 +48,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", @@ -79,10 +58,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -95,34 +75,20 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_modified_tunnels_collection_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, "magic_modified_tunnels_collection_response": magic_modified_tunnels_collection_response, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, }, }, @@ -160,25 +126,13 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, "magic_modified_tunnels_collection_response": magic_modified_tunnels_collection_response, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, }, }, @@ -193,7 +147,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_greTunnels_create", title: "Create a GRE tunnel", - description: "Creates a new GRE tunnel. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Creates a new GRE tunnel. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nPOST /accounts/{account_id}/magic/gre_tunnels", inputSchema: { type: "object", properties: { @@ -201,6 +155,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_create_gre_tunnel_request" }, "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", @@ -210,10 +165,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -226,21 +182,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_automatic_return_routing": magic_automatic_return_routing$, "magic_bgp_config": magic_bgp_config$, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint$, "magic_create_gre_tunnel_request": magic_create_gre_tunnel_request, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint$, - "magic_gre_tunnel_name": magic_gre_tunnel_name$, "magic_health_check_base": magic_health_check_base$, "magic_health_check_target": magic_health_check_target$, - "magic_identifier": magic_identifier, - "magic_interface_address": magic_interface_address$, - "magic_interface_address6": magic_interface_address6$, - "magic_mtu": magic_mtu$, - "magic_schemas-description": magic_schemas$$description$, - "magic_ttl": magic_ttl$, "magic_tunnel_health_check": magic_tunnel_health_check$, }, }, @@ -249,25 +196,13 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, "magic_create_gre_tunnel_response": magic_create_gre_tunnel_response, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, }, }, @@ -305,25 +240,13 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, "magic_create_gre_tunnel_response": magic_create_gre_tunnel_response, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, }, }, @@ -338,11 +261,12 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_greTunnels_delete", title: "Delete GRE Tunnel", - description: "Disables and removes a specific static GRE tunnel. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Disables and removes a specific static GRE tunnel. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nDELETE /accounts/{account_id}/magic/gre_tunnels/{gre_tunnel_id}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", @@ -352,14 +276,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "gre_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -372,33 +297,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_tunnel_deleted_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_deleted_response": magic_tunnel_deleted_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -437,24 +348,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_deleted_response": magic_tunnel_deleted_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -469,11 +368,12 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_greTunnels_get", title: "List GRE Tunnel Details", - description: "Lists informtion for a specific GRE tunnel.", + description: "Lists informtion for a specific GRE tunnel.\n\nGET /accounts/{account_id}/magic/gre_tunnels/{gre_tunnel_id}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", @@ -483,14 +383,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "gre_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -503,33 +404,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_tunnel_single_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, "magic_tunnel_single_response": magic_tunnel_single_response, }, @@ -570,24 +457,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, "magic_tunnel_single_response": magic_tunnel_single_response, }, @@ -602,11 +477,12 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_greTunnels_list", title: "List GRE tunnels", - description: "Lists GRE tunnels associated with an account.", + description: "Lists GRE tunnels associated with an account.\n\nGET /accounts/{account_id}/magic/gre_tunnels", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", @@ -616,10 +492,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -631,33 +508,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_tunnels_collection_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, "magic_tunnels_collection_response": magic_tunnels_collection_response, }, @@ -698,24 +561,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, "magic_tunnels_collection_response": magic_tunnels_collection_response, }, @@ -730,7 +581,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_greTunnels_update", title: "Update GRE Tunnel", - description: "Updates a specific GRE tunnel. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Updates a specific GRE tunnel. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nPUT /accounts/{account_id}/magic/gre_tunnels/{gre_tunnel_id}", inputSchema: { type: "object", properties: { @@ -738,6 +589,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_gre_tunnel_update_request" }, "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", @@ -747,14 +599,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "gre_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -768,20 +621,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_automatic_return_routing": magic_automatic_return_routing$, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint$, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint$, - "magic_gre_tunnel_name": magic_gre_tunnel_name$, "magic_gre_tunnel_update_request": magic_gre_tunnel_update_request, "magic_health_check_base": magic_health_check_base$, "magic_health_check_target": magic_health_check_target$, - "magic_identifier": magic_identifier, - "magic_interface_address": magic_interface_address$, - "magic_interface_address6": magic_interface_address6$, - "magic_mtu": magic_mtu$, - "magic_schemas-description": magic_schemas$$description$, - "magic_ttl": magic_ttl$, "magic_tunnel_health_check": magic_tunnel_health_check$, }, }, @@ -790,24 +634,12 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, "magic_tunnel_modified_response": magic_tunnel_modified_response, }, @@ -846,24 +678,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_gre_endpoint": magic_cloudflare_gre_endpoint, - "magic_customer_gre_endpoint": magic_customer_gre_endpoint, "magic_gre-tunnel": magic_gre$$tunnel, - "magic_gre_tunnel_name": magic_gre_tunnel_name, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_messages": magic_messages, - "magic_mtu": magic_mtu, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-description": magic_schemas$$description, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, - "magic_ttl": magic_ttl, "magic_tunnel_health_check": magic_tunnel_health_check, "magic_tunnel_modified_response": magic_tunnel_modified_response, }, diff --git a/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts b/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts index ea5d3d196..0872b50f3 100644 --- a/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/ipsecTunnels/outputs.ts @@ -3,27 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_allow_null_cipher` in responses. - */ -export const magic_allow_null_cipher: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `magic_cloudflare_ipsec_endpoint` in responses. - */ -export const magic_cloudflare_ipsec_endpoint: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_components-schemas-description` in responses. - */ -export const magic_components$$schemas$$description: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_custom_remote_identities` in responses. */ @@ -36,23 +15,16 @@ export const magic_custom_remote_identities: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_customer_ipsec_endpoint` in responses. - */ -export const magic_customer_ipsec_endpoint: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_ipsec-tunnel` in responses. */ export const magic_ipsec$$tunnel: JsonSchema = { "properties": { "allow_null_cipher": { - "$ref": "#/$defs/magic_allow_null_cipher" + "type": "boolean" }, "automatic_return_routing": { - "$ref": "#/$defs/magic_automatic_return_routing" + "type": "boolean" }, "bgp": { "$ref": "#/$defs/magic_bgp_config" @@ -61,43 +33,45 @@ export const magic_ipsec$$tunnel: JsonSchema = { "$ref": "#/$defs/magic_bgp_status_with_state" }, "cloudflare_endpoint": { - "$ref": "#/$defs/magic_cloudflare_ipsec_endpoint" + "type": "string" }, "created_on": { - "$ref": "#/$defs/magic_schemas-created_on" + "format": "date-time", + "type": "string" }, "custom_remote_identities": { "$ref": "#/$defs/magic_custom_remote_identities" }, "customer_endpoint": { - "$ref": "#/$defs/magic_customer_ipsec_endpoint" + "type": "string" }, "description": { - "$ref": "#/$defs/magic_components-schemas-description" + "type": "string" }, "health_check": { "$ref": "#/$defs/magic_tunnel_health_check" }, "id": { - "$ref": "#/$defs/magic_schemas-identifier" + "type": "string" }, "interface_address": { - "$ref": "#/$defs/magic_interface_address" + "type": "string" }, "interface_address6": { - "$ref": "#/$defs/magic_interface_address6" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/magic_schemas-modified_on" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/magic_ipsec_tunnel_name" + "type": "string" }, "psk_metadata": { "$ref": "#/$defs/magic_psk_metadata" }, "replay_protection": { - "$ref": "#/$defs/magic_replay_protection" + "type": "boolean" } }, "required": [ @@ -118,10 +92,10 @@ export const magic_ipsec_tunnel_applied_psk: JsonSchema = { "type": "string" }, "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "psk": { - "$ref": "#/$defs/magic_psk" + "type": "string" }, "psk_metadata": { "$ref": "#/$defs/magic_psk_metadata" @@ -136,13 +110,6 @@ export const magic_ipsec_tunnel_applied_psk: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_ipsec_tunnel_name` in responses. - */ -export const magic_ipsec_tunnel_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_ipsec_tunnels_psk_response` in responses. */ @@ -176,13 +143,6 @@ export const magic_ipsec_tunnels_psk_response: JsonSchema = { ] }; -/** - * The schema of `magic_psk` in responses. - */ -export const magic_psk: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_psk_generation_response` in responses. */ @@ -196,10 +156,10 @@ export const magic_psk_generation_response: JsonSchema = { "result": { "properties": { "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "psk": { - "$ref": "#/$defs/magic_psk" + "type": "string" }, "psk_metadata": { "$ref": "#/$defs/magic_psk_metadata" @@ -219,19 +179,13 @@ export const magic_psk_generation_response: JsonSchema = { export const magic_psk_metadata: JsonSchema = { "properties": { "last_generated_on": { - "$ref": "#/$defs/magic_schemas-modified_on" + "format": "date-time", + "type": "string" } }, "type": "object" }; -/** - * The schema of `magic_replay_protection` in responses. - */ -export const magic_replay_protection: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `magic_schemas-create_ipsec_tunnel_response` in responses. */ diff --git a/src/generated/forge-mcp/magicTransit/ipsecTunnels/schemas.ts b/src/generated/forge-mcp/magicTransit/ipsecTunnels/schemas.ts index 6a745d570..57b090c0c 100644 --- a/src/generated/forge-mcp/magicTransit/ipsecTunnels/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/ipsecTunnels/schemas.ts @@ -3,22 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_cloudflare_ipsec_endpoint`. - */ -export const magic_cloudflare_ipsec_endpoint: JsonSchema = { - "description": "The IP address assigned to the Cloudflare side of the IPsec tunnel.", - "type": "string" -}; - -/** - * The schema of `magic_components-schemas-description`. - */ -export const magic_components$$schemas$$description: JsonSchema = { - "description": "An optional description forthe IPsec tunnel.", - "type": "string" -}; - /** * The schema of `magic_custom_remote_identities`. */ @@ -32,65 +16,57 @@ export const magic_custom_remote_identities: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_customer_ipsec_endpoint`. - */ -export const magic_customer_ipsec_endpoint: JsonSchema = { - "description": "The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.", - "type": "string" -}; - /** * The schema of `magic_ipsec_tunnel_add_request`. */ export const magic_ipsec_tunnel_add_request: JsonSchema = { "properties": { "automatic_return_routing": { - "$ref": "#/$defs/magic_automatic_return_routing", "default": false, - "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected." + "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected.", + "type": "boolean" }, "bgp": { "$ref": "#/$defs/magic_bgp_config" }, "cloudflare_endpoint": { - "$ref": "#/$defs/magic_cloudflare_ipsec_endpoint", - "description": "The IP address assigned to the Cloudflare side of the IPsec tunnel." + "description": "The IP address assigned to the Cloudflare side of the IPsec tunnel.", + "type": "string" }, "custom_remote_identities": { "$ref": "#/$defs/magic_custom_remote_identities" }, "customer_endpoint": { - "$ref": "#/$defs/magic_customer_ipsec_endpoint", - "description": "The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work." + "description": "The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.", + "type": "string" }, "description": { - "$ref": "#/$defs/magic_components-schemas-description", - "description": "An optional description forthe IPsec tunnel." + "description": "An optional description forthe IPsec tunnel.", + "type": "string" }, "health_check": { "$ref": "#/$defs/magic_tunnel_health_check" }, "interface_address": { - "$ref": "#/$defs/magic_interface_address", - "description": "A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255." + "description": "A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.", + "type": "string" }, "interface_address6": { - "$ref": "#/$defs/magic_interface_address6", - "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127" + "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127", + "type": "string" }, "name": { - "$ref": "#/$defs/magic_ipsec_tunnel_name", - "description": "The name of the IPsec tunnel. The name cannot share a name with other tunnels." + "description": "The name of the IPsec tunnel. The name cannot share a name with other tunnels.", + "type": "string" }, "psk": { - "$ref": "#/$defs/magic_psk", - "description": "A randomly generated or provided string for use in the IPsec tunnel." + "description": "A randomly generated or provided string for use in the IPsec tunnel.", + "type": "string" }, "replay_protection": { - "$ref": "#/$defs/magic_replay_protection", "default": false, - "description": "If `true`, then IPsec replay protection will be supported in the Cloudflare-to-customer direction." + "description": "If `true`, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.", + "type": "boolean" } }, "required": [ @@ -107,51 +83,51 @@ export const magic_ipsec_tunnel_add_request: JsonSchema = { export const magic_ipsec_tunnel_add_single_request: JsonSchema = { "properties": { "automatic_return_routing": { - "$ref": "#/$defs/magic_automatic_return_routing", "default": false, - "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected." + "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected.", + "type": "boolean" }, "bgp": { "$ref": "#/$defs/magic_bgp_config" }, "cloudflare_endpoint": { - "$ref": "#/$defs/magic_cloudflare_ipsec_endpoint", - "description": "The IP address assigned to the Cloudflare side of the IPsec tunnel." + "description": "The IP address assigned to the Cloudflare side of the IPsec tunnel.", + "type": "string" }, "custom_remote_identities": { "$ref": "#/$defs/magic_custom_remote_identities" }, "customer_endpoint": { - "$ref": "#/$defs/magic_customer_ipsec_endpoint", - "description": "The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work." + "description": "The IP address assigned to the customer side of the IPsec tunnel. Not required, but must be set for proactive traceroutes to work.", + "type": "string" }, "description": { - "$ref": "#/$defs/magic_components-schemas-description", - "description": "An optional description forthe IPsec tunnel." + "description": "An optional description forthe IPsec tunnel.", + "type": "string" }, "health_check": { "$ref": "#/$defs/magic_tunnel_health_check" }, "interface_address": { - "$ref": "#/$defs/magic_interface_address", - "description": "A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255." + "description": "A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.", + "type": "string" }, "interface_address6": { - "$ref": "#/$defs/magic_interface_address6", - "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127" + "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127", + "type": "string" }, "name": { - "$ref": "#/$defs/magic_ipsec_tunnel_name", - "description": "The name of the IPsec tunnel. The name cannot share a name with other tunnels." + "description": "The name of the IPsec tunnel. The name cannot share a name with other tunnels.", + "type": "string" }, "psk": { - "$ref": "#/$defs/magic_psk", - "description": "A randomly generated or provided string for use in the IPsec tunnel." + "description": "A randomly generated or provided string for use in the IPsec tunnel.", + "type": "string" }, "replay_protection": { - "$ref": "#/$defs/magic_replay_protection", "default": false, - "description": "If `true`, then IPsec replay protection will be supported in the Cloudflare-to-customer direction." + "description": "If `true`, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.", + "type": "boolean" } }, "required": [ @@ -162,14 +138,6 @@ export const magic_ipsec_tunnel_add_single_request: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_ipsec_tunnel_name`. - */ -export const magic_ipsec_tunnel_name: JsonSchema = { - "description": "The name of the IPsec tunnel. The name cannot share a name with other tunnels.", - "type": "string" -}; - /** * The schema of `magic_ipsec_tunnel_psk_entry`. */ @@ -177,12 +145,12 @@ export const magic_ipsec_tunnel_psk_entry: JsonSchema = { "description": "A PSK entry for a specific IPsec tunnel.", "properties": { "id": { - "$ref": "#/$defs/magic_identifier", - "description": "The ID of the IPsec tunnel." + "description": "The ID of the IPsec tunnel.", + "type": "string" }, "psk": { - "$ref": "#/$defs/magic_psk", - "description": "A randomly generated or provided string for use in the IPsec tunnel." + "description": "A randomly generated or provided string for use in the IPsec tunnel.", + "type": "string" } }, "required": [ @@ -211,19 +179,3 @@ export const magic_ipsec_tunnels_psk_request: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `magic_psk`. - */ -export const magic_psk: JsonSchema = { - "description": "A randomly generated or provided string for use in the IPsec tunnel.", - "type": "string" -}; - -/** - * The schema of `magic_replay_protection`. - */ -export const magic_replay_protection: JsonSchema = { - "description": "If `true`, then IPsec replay protection will be supported in the Cloudflare-to-customer direction.", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts b/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts index 81df33bd8..bb7a2e74c 100644 --- a/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts +++ b/src/generated/forge-mcp/magicTransit/ipsecTunnels/tools.ts @@ -6,44 +6,26 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_automatic_return_routing, magic_bgp_config, magic_bgp_status_with_state, magic_health_check_base, magic_health_check_target, - magic_identifier, - magic_interface_address, - magic_interface_address6, magic_messages, - magic_schemas$$created_on, - magic_schemas$$identifier, - magic_schemas$$modified_on, magic_tunnel_health_check, } from "../outputs.js"; import { - magic_automatic_return_routing as magic_automatic_return_routing$, magic_bgp_config as magic_bgp_config$, magic_health_check_base as magic_health_check_base$, magic_health_check_target as magic_health_check_target$, - magic_identifier as magic_identifier$, - magic_interface_address as magic_interface_address$, - magic_interface_address6 as magic_interface_address6$, magic_tunnel_health_check as magic_tunnel_health_check$, } from "../schemas.js"; import { - magic_allow_null_cipher, - magic_cloudflare_ipsec_endpoint, - magic_components$$schemas$$description, magic_custom_remote_identities, - magic_customer_ipsec_endpoint, magic_ipsec$$tunnel, magic_ipsec_tunnel_applied_psk, - magic_ipsec_tunnel_name, magic_ipsec_tunnels_psk_response, - magic_psk, magic_psk_generation_response, magic_psk_metadata, - magic_replay_protection, magic_schemas$$create_ipsec_tunnel_response, magic_schemas$$modified_tunnels_collection_response, magic_schemas$$tunnel_deleted_response, @@ -52,17 +34,11 @@ import { magic_schemas$$tunnels_collection_response, } from "./outputs.js"; import { - magic_cloudflare_ipsec_endpoint as magic_cloudflare_ipsec_endpoint$, - magic_components$$schemas$$description as magic_components$$schemas$$description$, magic_custom_remote_identities as magic_custom_remote_identities$, - magic_customer_ipsec_endpoint as magic_customer_ipsec_endpoint$, magic_ipsec_tunnel_add_request, magic_ipsec_tunnel_add_single_request, - magic_ipsec_tunnel_name as magic_ipsec_tunnel_name$, magic_ipsec_tunnel_psk_entry, magic_ipsec_tunnels_psk_request, - magic_psk as magic_psk$, - magic_replay_protection as magic_replay_protection$, } from "./schemas.js"; /** @@ -72,7 +48,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_ipsecTunnels_bulkUpdate", title: "Update multiple IPsec tunnels", - description: "Update multiple IPsec tunnels associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Update multiple IPsec tunnels associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nPUT /accounts/{account_id}/magic/ipsec_tunnels", inputSchema: { type: "object", properties: { @@ -80,6 +56,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", @@ -89,10 +66,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -105,35 +83,21 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_schemas-modified_tunnels_collection_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-modified_tunnels_collection_response": magic_schemas$$modified_tunnels_collection_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -169,29 +133,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-modified_tunnels_collection_response": magic_schemas$$modified_tunnels_collection_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -207,7 +159,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_ipsecTunnels_create", title: "Create an IPsec tunnel", - description: "Creates a new IPsec tunnel associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Creates a new IPsec tunnel associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nPOST /accounts/{account_id}/magic/ipsec_tunnels", inputSchema: { type: "object", properties: { @@ -215,6 +167,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_ipsec_tunnel_add_request" }, "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", @@ -224,10 +177,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -240,51 +194,30 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_automatic_return_routing": magic_automatic_return_routing$, "magic_bgp_config": magic_bgp_config$, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint$, - "magic_components-schemas-description": magic_components$$schemas$$description$, "magic_custom_remote_identities": magic_custom_remote_identities$, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint$, "magic_health_check_base": magic_health_check_base$, "magic_health_check_target": magic_health_check_target$, - "magic_identifier": magic_identifier$, - "magic_interface_address": magic_interface_address$, - "magic_interface_address6": magic_interface_address6$, "magic_ipsec_tunnel_add_request": magic_ipsec_tunnel_add_request, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name$, - "magic_psk": magic_psk$, - "magic_replay_protection": magic_replay_protection$, "magic_tunnel_health_check": magic_tunnel_health_check$, }, }, outputSchema: { "$ref": "#/$defs/magic_schemas-create_ipsec_tunnel_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, "magic_schemas-create_ipsec_tunnel_response": magic_schemas$$create_ipsec_tunnel_response, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_tunnel_health_check": magic_tunnel_health_check, }, }, @@ -319,30 +252,18 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, "magic_schemas-create_ipsec_tunnel_response": magic_schemas$$create_ipsec_tunnel_response, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_tunnel_health_check": magic_tunnel_health_check, }, }, @@ -357,11 +278,12 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_ipsecTunnels_delete", title: "Delete IPsec Tunnel", - description: "Disables and removes a specific static IPsec Tunnel associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Disables and removes a specific static IPsec Tunnel associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nDELETE /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", @@ -371,14 +293,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -391,35 +314,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_schemas-tunnel_deleted_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-tunnel_deleted_response": magic_schemas$$tunnel_deleted_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -455,29 +364,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-tunnel_deleted_response": magic_schemas$$tunnel_deleted_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -492,11 +389,12 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_ipsecTunnels_get", title: "List IPsec tunnel details", - description: "Lists details for a specific IPsec tunnel.", + description: "Lists details for a specific IPsec tunnel.\n\nGET /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", @@ -506,14 +404,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -526,35 +425,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_schemas-tunnel_single_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-tunnel_single_response": magic_schemas$$tunnel_single_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -592,29 +477,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-tunnel_single_response": magic_schemas$$tunnel_single_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -629,11 +502,12 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_ipsecTunnels_list", title: "List IPsec tunnels", - description: "Lists IPsec tunnels associated with an account.", + description: "Lists IPsec tunnels associated with an account.\n\nGET /accounts/{account_id}/magic/ipsec_tunnels", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", @@ -643,10 +517,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -658,35 +533,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_schemas-tunnels_collection_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-tunnels_collection_response": magic_schemas$$tunnels_collection_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -724,29 +585,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-tunnels_collection_response": magic_schemas$$tunnels_collection_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -761,19 +610,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_ipsecTunnels_pskGenerate", title: "Generate Pre-Shared Key (PSK) for IPsec tunnels", - description: "Generates a Pre-Shared Key for a specific IPsec tunnel used in the IKE session. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes. After a PSK is generated, the PSK is immediately persisted to Cloudflare's edge and cannot be retrieved later. Store the PSK in a safe place.", + description: "Generates a Pre-Shared Key for a specific IPsec tunnel used in the IKE session. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes. After a PSK is generated, the PSK is immediately persisted to Cloudflare's edge and cannot be retrieved later. Store the PSK in a safe place.\n\nPOST /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}/psk_generate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -786,21 +636,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_psk_generation_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_psk": magic_psk, "magic_psk_generation_response": magic_psk_generation_response, "magic_psk_metadata": magic_psk_metadata, - "magic_schemas-modified_on": magic_schemas$$modified_on, }, }, annotations: { @@ -837,12 +682,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_psk": magic_psk, "magic_psk_generation_response": magic_psk_generation_response, "magic_psk_metadata": magic_psk_metadata, - "magic_schemas-modified_on": magic_schemas$$modified_on, }, }, request: (args) => ({ @@ -852,7 +694,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_ipsecTunnels_pskSet", title: "Set Pre-Shared Keys (PSK) for IPsec tunnels", - description: "Sets Pre-Shared Keys for multiple IPsec tunnels associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes. After PSKs are applied, they are immediately persisted to Cloudflare's edge and cannot be retrieved later. Store the PSKs in a safe place.", + description: "Sets Pre-Shared Keys for multiple IPsec tunnels associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes. After PSKs are applied, they are immediately persisted to Cloudflare's edge and cannot be retrieved later. Store the PSKs in a safe place.\n\nPOST /accounts/{account_id}/magic/ipsec_tunnels/psk", inputSchema: { type: "object", properties: { @@ -860,10 +702,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_ipsec_tunnels_psk_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -872,6 +715,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "validate_only": { "description": "If `true`, only run validation without persisting changes.", @@ -885,11 +729,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_identifier": magic_identifier$, "magic_ipsec_tunnel_psk_entry": magic_ipsec_tunnel_psk_entry, "magic_ipsec_tunnels_psk_request": magic_ipsec_tunnels_psk_request, - "magic_psk": magic_psk$, }, }, outputSchema: { @@ -897,13 +740,10 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_identifier": magic_identifier, "magic_ipsec_tunnel_applied_psk": magic_ipsec_tunnel_applied_psk, "magic_ipsec_tunnels_psk_response": magic_ipsec_tunnels_psk_response, "magic_messages": magic_messages, - "magic_psk": magic_psk, "magic_psk_metadata": magic_psk_metadata, - "magic_schemas-modified_on": magic_schemas$$modified_on, }, }, annotations: { @@ -940,13 +780,10 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_identifier": magic_identifier, "magic_ipsec_tunnel_applied_psk": magic_ipsec_tunnel_applied_psk, "magic_ipsec_tunnels_psk_response": magic_ipsec_tunnels_psk_response, "magic_messages": magic_messages, - "magic_psk": magic_psk, "magic_psk_metadata": magic_psk_metadata, - "magic_schemas-modified_on": magic_schemas$$modified_on, }, }, request: (args) => ({ @@ -960,7 +797,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_ipsecTunnels_update", title: "Update IPsec Tunnel", - description: "Updates a specific IPsec tunnel associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.", + description: "Updates a specific IPsec tunnel associated with an account. Use `?validate_only=true` as an optional query parameter to only run validation without persisting changes.\n\nPUT /accounts/{account_id}/magic/ipsec_tunnels/{ipsec_tunnel_id}", inputSchema: { type: "object", properties: { @@ -968,6 +805,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_ipsec_tunnel_add_single_request" }, "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the request and response bodies will be presented using the new object format. Defaults to false.", @@ -977,14 +815,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "ipsec_tunnel_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -998,50 +837,29 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_automatic_return_routing": magic_automatic_return_routing$, "magic_bgp_config": magic_bgp_config$, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint$, - "magic_components-schemas-description": magic_components$$schemas$$description$, "magic_custom_remote_identities": magic_custom_remote_identities$, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint$, "magic_health_check_base": magic_health_check_base$, "magic_health_check_target": magic_health_check_target$, - "magic_identifier": magic_identifier$, - "magic_interface_address": magic_interface_address$, - "magic_interface_address6": magic_interface_address6$, "magic_ipsec_tunnel_add_single_request": magic_ipsec_tunnel_add_single_request, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name$, - "magic_psk": magic_psk$, - "magic_replay_protection": magic_replay_protection$, "magic_tunnel_health_check": magic_tunnel_health_check$, }, }, outputSchema: { "$ref": "#/$defs/magic_schemas-tunnel_modified_response", $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-tunnel_modified_response": magic_schemas$$tunnel_modified_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, @@ -1077,29 +895,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_allow_null_cipher": magic_allow_null_cipher, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_automatic_return_routing": magic_automatic_return_routing, "magic_bgp_config": magic_bgp_config, "magic_bgp_status_with_state": magic_bgp_status_with_state, - "magic_cloudflare_ipsec_endpoint": magic_cloudflare_ipsec_endpoint, - "magic_components-schemas-description": magic_components$$schemas$$description, "magic_custom_remote_identities": magic_custom_remote_identities, - "magic_customer_ipsec_endpoint": magic_customer_ipsec_endpoint, "magic_health_check_base": magic_health_check_base, "magic_health_check_target": magic_health_check_target, - "magic_interface_address": magic_interface_address, - "magic_interface_address6": magic_interface_address6, "magic_ipsec-tunnel": magic_ipsec$$tunnel, - "magic_ipsec_tunnel_name": magic_ipsec_tunnel_name, "magic_messages": magic_messages, "magic_psk_metadata": magic_psk_metadata, - "magic_replay_protection": magic_replay_protection, - "magic_schemas-created_on": magic_schemas$$created_on, - "magic_schemas-identifier": magic_schemas$$identifier, - "magic_schemas-modified_on": magic_schemas$$modified_on, "magic_schemas-tunnel_modified_response": magic_schemas$$tunnel_modified_response, "magic_tunnel_health_check": magic_tunnel_health_check, }, diff --git a/src/generated/forge-mcp/magicTransit/outputs.ts b/src/generated/forge-mcp/magicTransit/outputs.ts index 669217dfe..fa1becac7 100644 --- a/src/generated/forge-mcp/magicTransit/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/outputs.ts @@ -130,13 +130,6 @@ export const advanced$$ddos$$protection_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `magic_account_app_id` in responses. - */ -export const magic_account_app_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_api-response-common` in responses. */ @@ -316,13 +309,6 @@ export const magic_apps$$response$$object: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_automatic_return_routing` in responses. - */ -export const magic_automatic_return_routing: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `magic_bgp_config` in responses. */ @@ -397,13 +383,6 @@ export const magic_bgp_status_with_state: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_cidr` in responses. - */ -export const magic_cidr: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_health_check_base` in responses. */ @@ -456,34 +435,6 @@ export const magic_health_check_target: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_identifier` in responses. - */ -export const magic_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_interface_address` in responses. - */ -export const magic_interface_address: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_interface_address6` in responses. - */ -export const magic_interface_address6: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_managed_app_id` in responses. - */ -export const magic_managed_app_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_messages` in responses. */ @@ -506,29 +457,6 @@ export const magic_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `magic_schemas-created_on` in responses. - */ -export const magic_schemas$$created_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `magic_schemas-identifier` in responses. - */ -export const magic_schemas$$identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_schemas-modified_on` in responses. - */ -export const magic_schemas$$modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `magic_tunnel_health_check` in responses. */ diff --git a/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts b/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts index fcd0871ff..e32c0427e 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/download/tools.ts @@ -6,7 +6,6 @@ import { magic$$visibility$$pcaps_api$$response$$common$$failure, magic$$visibility$$pcaps_messages, } from "../outputs.js"; -import { magic$$visibility$$pcaps_identifier } from "../schemas.js"; /** * The tools of `magicTransit.pcaps.download`. @@ -15,19 +14,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_pcaps_download_get", title: "Download Simple PCAP", - description: "Download PCAP information into a file. Response is a binary PCAP file.", + description: "Download PCAP information into a file. Response is a binary PCAP file.\n\nGET /accounts/{account_id}/pcaps/{pcap_id}/download", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pcap_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -40,9 +40,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts b/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts index 8211a16cd..a5f1a2f83 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/outputs.ts @@ -156,13 +156,6 @@ export const magic$$visibility$$pcaps_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `magic-visibility-pcaps_pcaps_byte_limit` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_byte_limit: JsonSchema = { - "type": "number" -}; - /** * The schema of `magic-visibility-pcaps_pcaps_collection_response` in * responses. @@ -193,27 +186,6 @@ export const magic$$visibility$$pcaps_pcaps_collection_response: JsonSchema = { ] }; -/** - * The schema of `magic-visibility-pcaps_pcaps_colo_name` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_colo_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_destination_conf` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_destination_conf: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_error_message` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_error_message: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic-visibility-pcaps_pcaps_filter_v1` in responses. */ @@ -238,71 +210,67 @@ export const magic$$visibility$$pcaps_pcaps_filter_v1: JsonSchema = { "type": "object" }; -/** - * The schema of `magic-visibility-pcaps_pcaps_id` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_offset_time` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_offset_time: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_packets_captured` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_packets_captured: JsonSchema = { - "type": "integer" -}; - /** * The schema of `magic-visibility-pcaps_pcaps_response_full` in responses. */ export const magic$$visibility$$pcaps_pcaps_response_full: JsonSchema = { "properties": { "byte_limit": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_byte_limit" + "type": "number" }, "colo_name": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_colo_name" + "type": "string" }, "destination_conf": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf" + "type": "string" }, "error_message": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_error_message" + "type": "string" }, "filter_v1": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_filter_v1" }, "id": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_id" + "type": "string" }, "packets_captured": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_packets_captured" + "type": "integer" }, "status": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_status" + "enum": [ + "unknown", + "success", + "pending", + "running", + "conversion_pending", + "conversion_running", + "complete", + "failed" + ], + "type": "string" }, "stop_requested": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_stop_requested" + "format": "date-time", + "type": "string" }, "submitted": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_submitted" + "type": "string" }, "system": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_system" + "enum": [ + "magic-transit" + ], + "type": "string" }, "time_limit": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_time_limit_full" + "type": "number" }, "type": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_type" + "enum": [ + "simple", + "full" + ], + "type": "string" } }, "type": "object" @@ -317,25 +285,43 @@ export const magic$$visibility$$pcaps_pcaps_response_simple: JsonSchema = { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_filter_v1" }, "id": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_id" + "type": "string" }, "offset_time": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_offset_time" + "format": "date-time", + "type": "string" }, "status": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_status" + "enum": [ + "unknown", + "success", + "pending", + "running", + "conversion_pending", + "conversion_running", + "complete", + "failed" + ], + "type": "string" }, "submitted": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_submitted" + "type": "string" }, "system": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_system" + "enum": [ + "magic-transit" + ], + "type": "string" }, "time_limit": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_time_limit_sampled" + "type": "number" }, "type": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_type" + "enum": [ + "simple", + "full" + ], + "type": "string" } }, "type": "object" @@ -367,73 +353,6 @@ export const magic$$visibility$$pcaps_pcaps_single_response: JsonSchema = { ] }; -/** - * The schema of `magic-visibility-pcaps_pcaps_status` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_status: JsonSchema = { - "enum": [ - "unknown", - "success", - "pending", - "running", - "conversion_pending", - "conversion_running", - "complete", - "failed" - ], - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_stop_requested` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_stop_requested: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_submitted` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_submitted: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_system` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_system: JsonSchema = { - "enum": [ - "magic-transit" - ], - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_time_limit_full` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_time_limit_full: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_time_limit_sampled` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_time_limit_sampled: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_type` in responses. - */ -export const magic$$visibility$$pcaps_pcaps_type: JsonSchema = { - "enum": [ - "simple", - "full" - ], - "type": "string" -}; - /** * The schema of `magic-visibility-pcaps_result_info` in responses. */ diff --git a/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts b/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts index 3052ba724..12c8a64ba 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/ownership/outputs.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `magic-visibility-pcaps_pcaps_ownership_challenge` in - * responses. - */ -export const magic$$visibility$$pcaps_pcaps_ownership_challenge: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic-visibility-pcaps_pcaps_ownership_collection` in * responses. @@ -47,10 +39,10 @@ export const magic$$visibility$$pcaps_pcaps_ownership_collection: JsonSchema = { export const magic$$visibility$$pcaps_pcaps_ownership_response: JsonSchema = { "properties": { "destination_conf": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf" + "type": "string" }, "filename": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_challenge" + "type": "string" }, "id": { "type": "string" diff --git a/src/generated/forge-mcp/magicTransit/pcaps/ownership/schemas.ts b/src/generated/forge-mcp/magicTransit/pcaps/ownership/schemas.ts index 9197305cc..fbf1b51eb 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/ownership/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/ownership/schemas.ts @@ -3,22 +3,14 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `magic-visibility-pcaps_pcaps_ownership_challenge`. - */ -export const magic$$visibility$$pcaps_pcaps_ownership_challenge: JsonSchema = { - "description": "The ownership challenge filename stored in the bucket.", - "type": "string" -}; - /** * The schema of `magic-visibility-pcaps_pcaps_ownership_request`. */ export const magic$$visibility$$pcaps_pcaps_ownership_request: JsonSchema = { "properties": { "destination_conf": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf", - "description": "The full URI for the bucket. This field only applies to `full` packet captures." + "description": "The full URI for the bucket. This field only applies to `full` packet captures.", + "type": "string" } }, "required": [ @@ -33,12 +25,12 @@ export const magic$$visibility$$pcaps_pcaps_ownership_request: JsonSchema = { export const magic$$visibility$$pcaps_pcaps_ownership_validate_request: JsonSchema = { "properties": { "destination_conf": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf", - "description": "The full URI for the bucket. This field only applies to `full` packet captures." + "description": "The full URI for the bucket. This field only applies to `full` packet captures.", + "type": "string" }, "ownership_challenge": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_challenge", - "description": "The ownership challenge filename stored in the bucket." + "description": "The ownership challenge filename stored in the bucket.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts b/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts index e2bbb4cda..388d67380 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/ownership/tools.ts @@ -7,21 +7,14 @@ import { magic$$visibility$$pcaps_api$$response$$common, magic$$visibility$$pcaps_api$$response$$common$$failure, magic$$visibility$$pcaps_messages, - magic$$visibility$$pcaps_pcaps_destination_conf, magic$$visibility$$pcaps_result_info, } from "../outputs.js"; import { - magic$$visibility$$pcaps_identifier, - magic$$visibility$$pcaps_pcaps_destination_conf as magic$$visibility$$pcaps_pcaps_destination_conf$, -} from "../schemas.js"; -import { - magic$$visibility$$pcaps_pcaps_ownership_challenge, magic$$visibility$$pcaps_pcaps_ownership_collection, magic$$visibility$$pcaps_pcaps_ownership_response, magic$$visibility$$pcaps_pcaps_ownership_single_response, } from "./outputs.js"; import { - magic$$visibility$$pcaps_pcaps_ownership_challenge as magic$$visibility$$pcaps_pcaps_ownership_challenge$, magic$$visibility$$pcaps_pcaps_ownership_request, magic$$visibility$$pcaps_pcaps_ownership_validate_request, } from "./schemas.js"; @@ -33,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_pcaps_ownership_create", title: "Add buckets for full packet captures", - description: "Adds an AWS or GCP bucket to use with full packet captures.", + description: "Adds an AWS or GCP bucket to use with full packet captures.\n\nPOST /accounts/{account_id}/pcaps/ownership", inputSchema: { type: "object", properties: { @@ -41,10 +34,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -57,9 +51,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf$, "magic-visibility-pcaps_pcaps_ownership_request": magic$$visibility$$pcaps_pcaps_ownership_request, }, }, @@ -68,8 +61,6 @@ export const tools: readonly Tool[] = [ $defs: { "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, "magic-visibility-pcaps_pcaps_ownership_single_response": magic$$visibility$$pcaps_pcaps_ownership_single_response, }, @@ -110,8 +101,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, "magic-visibility-pcaps_pcaps_ownership_single_response": magic$$visibility$$pcaps_pcaps_ownership_single_response, }, @@ -124,19 +113,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_pcaps_ownership_delete", title: "Delete buckets for full packet captures", - description: "Deletes buckets added to the packet captures API.", + description: "Deletes buckets added to the packet captures API.\n\nDELETE /accounts/{account_id}/pcaps/ownership/{ownership_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "ownership_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -149,9 +139,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -195,15 +183,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_pcaps_ownership_get", title: "List PCAPs Bucket Ownership", - description: "List all buckets configured for use with PCAPs API.", + description: "List all buckets configured for use with PCAPs API.\n\nGET /accounts/{account_id}/pcaps/ownership", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -215,9 +204,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_collection", @@ -225,8 +212,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-collection": magic$$visibility$$pcaps_api$$response$$collection, "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, "magic-visibility-pcaps_pcaps_ownership_collection": magic$$visibility$$pcaps_pcaps_ownership_collection, "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, "magic-visibility-pcaps_result_info": magic$$visibility$$pcaps_result_info, @@ -270,8 +255,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, "magic-visibility-pcaps_pcaps_ownership_collection": magic$$visibility$$pcaps_pcaps_ownership_collection, "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, "magic-visibility-pcaps_result_info": magic$$visibility$$pcaps_result_info, @@ -284,7 +267,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_pcaps_ownership_validate", title: "Validate buckets for full packet captures", - description: "Validates buckets added to the packet captures API.", + description: "Validates buckets added to the packet captures API.\n\nPOST /accounts/{account_id}/pcaps/ownership/validate", inputSchema: { type: "object", properties: { @@ -292,10 +275,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic-visibility-pcaps_pcaps_ownership_validate_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -308,10 +292,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf$, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge$, "magic-visibility-pcaps_pcaps_ownership_validate_request": magic$$visibility$$pcaps_pcaps_ownership_validate_request, }, }, @@ -320,8 +302,6 @@ export const tools: readonly Tool[] = [ $defs: { "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, "magic-visibility-pcaps_pcaps_ownership_single_response": magic$$visibility$$pcaps_pcaps_ownership_single_response, }, @@ -362,8 +342,6 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_ownership_challenge": magic$$visibility$$pcaps_pcaps_ownership_challenge, "magic-visibility-pcaps_pcaps_ownership_response": magic$$visibility$$pcaps_pcaps_ownership_response, "magic-visibility-pcaps_pcaps_ownership_single_response": magic$$visibility$$pcaps_pcaps_ownership_single_response, }, diff --git a/src/generated/forge-mcp/magicTransit/pcaps/schemas.ts b/src/generated/forge-mcp/magicTransit/pcaps/schemas.ts index 0606c5bc9..40dc2a3ba 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/schemas.ts @@ -3,38 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic-visibility-pcaps_identifier`. - */ -export const magic$$visibility$$pcaps_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_byte_limit`. - */ -export const magic$$visibility$$pcaps_pcaps_byte_limit: JsonSchema = { - "description": "The maximum number of bytes to capture. This field only applies to `full` packet captures.", - "type": "number" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_colo_name`. - */ -export const magic$$visibility$$pcaps_pcaps_colo_name: JsonSchema = { - "description": "The name of the data center used for the packet capture. This can be a specific colo (ord02) or a multi-colo name (ORD). This field only applies to `full` packet captures.", - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_destination_conf`. - */ -export const magic$$visibility$$pcaps_pcaps_destination_conf: JsonSchema = { - "description": "The full URI for the bucket. This field only applies to `full` packet captures.", - "type": "string" -}; - /** * The schema of `magic-visibility-pcaps_pcaps_filter_v1`. */ @@ -65,59 +33,49 @@ export const magic$$visibility$$pcaps_pcaps_filter_v1: JsonSchema = { "type": "object" }; -/** - * The schema of `magic-visibility-pcaps_pcaps_offset_time`. - */ -export const magic$$visibility$$pcaps_pcaps_offset_time: JsonSchema = { - "description": "The RFC 3339 offset timestamp from which to query backwards for packets. Must be within the last 24h. When this field is empty, defaults to time of request.", - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_packet_limit`. - */ -export const magic$$visibility$$pcaps_pcaps_packet_limit: JsonSchema = { - "description": "The limit of packets contained in a packet capture.", - "type": "number" -}; - /** * The schema of `magic-visibility-pcaps_pcaps_request_full`. */ export const magic$$visibility$$pcaps_pcaps_request_full: JsonSchema = { "properties": { "byte_limit": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_byte_limit", - "description": "The maximum number of bytes to capture. This field only applies to `full` packet captures." + "description": "The maximum number of bytes to capture. This field only applies to `full` packet captures.", + "type": "number" }, "colo_name": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_colo_name", - "description": "The name of the data center used for the packet capture. This can be a specific colo (ord02) or a multi-colo name (ORD). This field only applies to `full` packet captures." + "description": "The name of the data center used for the packet capture. This can be a specific colo (ord02) or a multi-colo name (ORD). This field only applies to `full` packet captures.", + "type": "string" }, "destination_conf": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_destination_conf", - "description": "The full URI for the bucket. This field only applies to `full` packet captures." + "description": "The full URI for the bucket. This field only applies to `full` packet captures.", + "type": "string" }, "filter_v1": { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_filter_v1", "description": "The packet capture filter. When this field is empty, all packets are captured." }, "packet_limit": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_packet_limit", - "description": "The limit of packets contained in a packet capture." + "description": "The limit of packets contained in a packet capture.", + "type": "number" }, "system": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_system", - "description": "The system used to collect packet captures." + "description": "The system used to collect packet captures.", + "enum": [ + "magic-transit" + ], + "type": "string" }, "time_limit": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_time_limit_full", - "description": "The packet capture duration in seconds." + "description": "The packet capture duration in seconds.", + "type": "number" }, "type": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_type", - "description": "The type of packet capture. `Simple` captures sampled packets, and `full` captures entire payloads and non-sampled packets." + "description": "The type of packet capture. `Simple` captures sampled packets, and `full` captures entire payloads and non-sampled packets.", + "enum": [ + "simple", + "full" + ], + "type": "string" } }, "required": [ @@ -154,24 +112,32 @@ export const magic$$visibility$$pcaps_pcaps_request_simple: JsonSchema = { "description": "The packet capture filter. When this field is empty, all packets are captured." }, "offset_time": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_offset_time", - "description": "The RFC 3339 offset timestamp from which to query backwards for packets. Must be within the last 24h. When this field is empty, defaults to time of request." + "description": "The RFC 3339 offset timestamp from which to query backwards for packets. Must be within the last 24h. When this field is empty, defaults to time of request.", + "format": "date-time", + "type": "string" }, "packet_limit": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_packet_limit", - "description": "The limit of packets contained in a packet capture." + "description": "The limit of packets contained in a packet capture.", + "type": "number" }, "system": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_system", - "description": "The system used to collect packet captures." + "description": "The system used to collect packet captures.", + "enum": [ + "magic-transit" + ], + "type": "string" }, "time_limit": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_time_limit_sampled", - "description": "The packet capture duration in seconds." + "description": "The packet capture duration in seconds.", + "type": "number" }, "type": { - "$ref": "#/$defs/magic-visibility-pcaps_pcaps_type", - "description": "The type of packet capture. `Simple` captures sampled packets, and `full` captures entire payloads and non-sampled packets." + "description": "The type of packet capture. `Simple` captures sampled packets, and `full` captures entire payloads and non-sampled packets.", + "enum": [ + "simple", + "full" + ], + "type": "string" } }, "required": [ @@ -182,42 +148,3 @@ export const magic$$visibility$$pcaps_pcaps_request_simple: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `magic-visibility-pcaps_pcaps_system`. - */ -export const magic$$visibility$$pcaps_pcaps_system: JsonSchema = { - "description": "The system used to collect packet captures.", - "enum": [ - "magic-transit" - ], - "type": "string" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_time_limit_full`. - */ -export const magic$$visibility$$pcaps_pcaps_time_limit_full: JsonSchema = { - "description": "The packet capture duration in seconds.", - "type": "number" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_time_limit_sampled`. - */ -export const magic$$visibility$$pcaps_pcaps_time_limit_sampled: JsonSchema = { - "description": "The packet capture duration in seconds.", - "type": "number" -}; - -/** - * The schema of `magic-visibility-pcaps_pcaps_type`. - */ -export const magic$$visibility$$pcaps_pcaps_type: JsonSchema = { - "description": "The type of packet capture. `Simple` captures sampled packets, and `full` captures entire payloads and non-sampled packets.", - "enum": [ - "simple", - "full" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/magicTransit/pcaps/tools.ts b/src/generated/forge-mcp/magicTransit/pcaps/tools.ts index cc227cb03..771638ea1 100644 --- a/src/generated/forge-mcp/magicTransit/pcaps/tools.ts +++ b/src/generated/forge-mcp/magicTransit/pcaps/tools.ts @@ -8,42 +8,18 @@ import { magic$$visibility$$pcaps_api$$response$$common$$failure, magic$$visibility$$pcaps_api$$response$$single, magic$$visibility$$pcaps_messages, - magic$$visibility$$pcaps_pcaps_byte_limit, magic$$visibility$$pcaps_pcaps_collection_response, - magic$$visibility$$pcaps_pcaps_colo_name, - magic$$visibility$$pcaps_pcaps_destination_conf, - magic$$visibility$$pcaps_pcaps_error_message, magic$$visibility$$pcaps_pcaps_filter_v1, - magic$$visibility$$pcaps_pcaps_id, - magic$$visibility$$pcaps_pcaps_offset_time, - magic$$visibility$$pcaps_pcaps_packets_captured, magic$$visibility$$pcaps_pcaps_response_full, magic$$visibility$$pcaps_pcaps_response_simple, magic$$visibility$$pcaps_pcaps_single_response, - magic$$visibility$$pcaps_pcaps_status, - magic$$visibility$$pcaps_pcaps_stop_requested, - magic$$visibility$$pcaps_pcaps_submitted, - magic$$visibility$$pcaps_pcaps_system, - magic$$visibility$$pcaps_pcaps_time_limit_full, - magic$$visibility$$pcaps_pcaps_time_limit_sampled, - magic$$visibility$$pcaps_pcaps_type, magic$$visibility$$pcaps_result_info, } from "./outputs.js"; import { - magic$$visibility$$pcaps_identifier, - magic$$visibility$$pcaps_pcaps_byte_limit as magic$$visibility$$pcaps_pcaps_byte_limit$, - magic$$visibility$$pcaps_pcaps_colo_name as magic$$visibility$$pcaps_pcaps_colo_name$, - magic$$visibility$$pcaps_pcaps_destination_conf as magic$$visibility$$pcaps_pcaps_destination_conf$, magic$$visibility$$pcaps_pcaps_filter_v1 as magic$$visibility$$pcaps_pcaps_filter_v1$, - magic$$visibility$$pcaps_pcaps_offset_time as magic$$visibility$$pcaps_pcaps_offset_time$, - magic$$visibility$$pcaps_pcaps_packet_limit, magic$$visibility$$pcaps_pcaps_request_full, magic$$visibility$$pcaps_pcaps_request_pcap, magic$$visibility$$pcaps_pcaps_request_simple, - magic$$visibility$$pcaps_pcaps_system as magic$$visibility$$pcaps_pcaps_system$, - magic$$visibility$$pcaps_pcaps_time_limit_full as magic$$visibility$$pcaps_pcaps_time_limit_full$, - magic$$visibility$$pcaps_pcaps_time_limit_sampled as magic$$visibility$$pcaps_pcaps_time_limit_sampled$, - magic$$visibility$$pcaps_pcaps_type as magic$$visibility$$pcaps_pcaps_type$, } from "./schemas.js"; /** @@ -53,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_pcaps_create", title: "Create PCAP request", - description: "Create new PCAP request for account.", + description: "Create new PCAP request for account.\n\nPOST /accounts/{account_id}/pcaps", inputSchema: { type: "object", properties: { @@ -61,10 +37,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic-visibility-pcaps_pcaps_request_pcap" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -77,21 +54,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, - "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit$, - "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name$, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf$, "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1$, - "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time$, - "magic-visibility-pcaps_pcaps_packet_limit": magic$$visibility$$pcaps_pcaps_packet_limit, "magic-visibility-pcaps_pcaps_request_full": magic$$visibility$$pcaps_pcaps_request_full, "magic-visibility-pcaps_pcaps_request_pcap": magic$$visibility$$pcaps_pcaps_request_pcap, "magic-visibility-pcaps_pcaps_request_simple": magic$$visibility$$pcaps_pcaps_request_simple, - "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system$, - "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full$, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled$, - "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type$, }, }, outputSchema: { @@ -100,24 +68,10 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_api-response-single": magic$$visibility$$pcaps_api$$response$$single, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, - "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, - "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, - "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, - "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, "magic-visibility-pcaps_pcaps_single_response": magic$$visibility$$pcaps_pcaps_single_response, - "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, - "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, - "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, - "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, - "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, - "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, }, }, annotations: { @@ -157,24 +111,10 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, "magic-visibility-pcaps_api-response-single": magic$$visibility$$pcaps_api$$response$$single, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, - "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, - "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, - "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, - "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, "magic-visibility-pcaps_pcaps_single_response": magic$$visibility$$pcaps_pcaps_single_response, - "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, - "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, - "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, - "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, - "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, - "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, }, }, request: (args) => ({ @@ -185,19 +125,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_pcaps_get", title: "Get PCAP request", - description: "Get information for a PCAP request by id.", + description: "Get information for a PCAP request by id.\n\nGET /accounts/{account_id}/pcaps/{pcap_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pcap_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -210,9 +151,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_single_response", @@ -220,24 +159,10 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_api-response-single": magic$$visibility$$pcaps_api$$response$$single, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, - "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, - "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, - "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, - "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, "magic-visibility-pcaps_pcaps_single_response": magic$$visibility$$pcaps_pcaps_single_response, - "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, - "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, - "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, - "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, - "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, - "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, }, }, annotations: { @@ -278,24 +203,10 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, "magic-visibility-pcaps_api-response-single": magic$$visibility$$pcaps_api$$response$$single, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, - "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, - "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, - "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, - "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, "magic-visibility-pcaps_pcaps_single_response": magic$$visibility$$pcaps_pcaps_single_response, - "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, - "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, - "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, - "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, - "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, - "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, }, }, request: (args) => ({ @@ -305,15 +216,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_pcaps_list", title: "List packet capture requests", - description: "Lists all packet capture requests for an account.", + description: "Lists all packet capture requests for an account.\n\nGET /accounts/{account_id}/pcaps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -325,9 +237,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic-visibility-pcaps_pcaps_collection_response", @@ -335,24 +245,10 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-collection": magic$$visibility$$pcaps_api$$response$$collection, "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, "magic-visibility-pcaps_pcaps_collection_response": magic$$visibility$$pcaps_pcaps_collection_response, - "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, - "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, - "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, - "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, - "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, - "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, - "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, - "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, - "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, - "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, "magic-visibility-pcaps_result_info": magic$$visibility$$pcaps_result_info, }, }, @@ -394,24 +290,10 @@ export const tools: readonly Tool[] = [ "magic-visibility-pcaps_api-response-common": magic$$visibility$$pcaps_api$$response$$common, "magic-visibility-pcaps_api-response-common-failure": magic$$visibility$$pcaps_api$$response$$common$$failure, "magic-visibility-pcaps_messages": magic$$visibility$$pcaps_messages, - "magic-visibility-pcaps_pcaps_byte_limit": magic$$visibility$$pcaps_pcaps_byte_limit, "magic-visibility-pcaps_pcaps_collection_response": magic$$visibility$$pcaps_pcaps_collection_response, - "magic-visibility-pcaps_pcaps_colo_name": magic$$visibility$$pcaps_pcaps_colo_name, - "magic-visibility-pcaps_pcaps_destination_conf": magic$$visibility$$pcaps_pcaps_destination_conf, - "magic-visibility-pcaps_pcaps_error_message": magic$$visibility$$pcaps_pcaps_error_message, "magic-visibility-pcaps_pcaps_filter_v1": magic$$visibility$$pcaps_pcaps_filter_v1, - "magic-visibility-pcaps_pcaps_id": magic$$visibility$$pcaps_pcaps_id, - "magic-visibility-pcaps_pcaps_offset_time": magic$$visibility$$pcaps_pcaps_offset_time, - "magic-visibility-pcaps_pcaps_packets_captured": magic$$visibility$$pcaps_pcaps_packets_captured, "magic-visibility-pcaps_pcaps_response_full": magic$$visibility$$pcaps_pcaps_response_full, "magic-visibility-pcaps_pcaps_response_simple": magic$$visibility$$pcaps_pcaps_response_simple, - "magic-visibility-pcaps_pcaps_status": magic$$visibility$$pcaps_pcaps_status, - "magic-visibility-pcaps_pcaps_stop_requested": magic$$visibility$$pcaps_pcaps_stop_requested, - "magic-visibility-pcaps_pcaps_submitted": magic$$visibility$$pcaps_pcaps_submitted, - "magic-visibility-pcaps_pcaps_system": magic$$visibility$$pcaps_pcaps_system, - "magic-visibility-pcaps_pcaps_time_limit_full": magic$$visibility$$pcaps_pcaps_time_limit_full, - "magic-visibility-pcaps_pcaps_time_limit_sampled": magic$$visibility$$pcaps_pcaps_time_limit_sampled, - "magic-visibility-pcaps_pcaps_type": magic$$visibility$$pcaps_pcaps_type, "magic-visibility-pcaps_result_info": magic$$visibility$$pcaps_result_info, }, }, @@ -422,19 +304,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_pcaps_stop", title: "Stop full PCAP", - description: "Stop full PCAP.\n\nConfirm with the user before calling this tool. This operation halts an in-progress full packet capture. Any unsaved capture data will be lost.", + description: "Stop full PCAP.\n\nConfirm with the user before calling this tool. This operation halts an in-progress full packet capture. Any unsaved capture data will be lost.\n\nPUT /accounts/{account_id}/pcaps/{pcap_id}/stop", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "pcap_id": { - "$ref": "#/$defs/magic-visibility-pcaps_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -447,9 +330,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic-visibility-pcaps_identifier": magic$$visibility$$pcaps_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, diff --git a/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts b/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts index c5aa4c376..872af40b8 100644 --- a/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts +++ b/src/generated/forge-mcp/magicTransit/redundancyGroups/tools.ts @@ -8,7 +8,6 @@ import { magic_api$$response$$single, magic_messages, } from "../outputs.js"; -import { magic_identifier } from "../schemas.js"; import { magic_delete_redundancy_group_response, magic_redundancy_group, @@ -30,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_redundancyGroups_create", title: "Create a Redundancy Group", - description: "Creates a new redundancy group, optionally with tunnel members.", + description: "Creates a new redundancy group, optionally with tunnel members.\n\nPOST /accounts/{account_id}/magic/redundancy_groups", inputSchema: { type: "object", properties: { @@ -38,10 +37,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_create_redundancy_group_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -54,9 +54,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "magic_create_redundancy_group_request": magic_create_redundancy_group_request, - "magic_identifier": magic_identifier, "magic_redundancy_member_request": magic_redundancy_member_request, }, }, @@ -113,19 +113,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_redundancyGroups_delete", title: "Delete a Redundancy Group", - description: "Deletes a redundancy group. Member tunnels are not deleted — their redundancy_group_id is cleared.", + description: "Deletes a redundancy group. Member tunnels are not deleted — their redundancy_group_id is cleared.\n\nDELETE /accounts/{account_id}/magic/redundancy_groups/{redundancy_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "redundancy_group_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -138,9 +139,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_delete_redundancy_group_response", @@ -194,19 +193,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_redundancyGroups_get", title: "Get Redundancy Group Details", - description: "Gets details for a specific redundancy group, including full member tunnel data.", + description: "Gets details for a specific redundancy group, including full member tunnel data.\n\nGET /accounts/{account_id}/magic/redundancy_groups/{redundancy_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "redundancy_group_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -219,9 +219,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_redundancy_group_with_members_response", @@ -279,15 +277,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_redundancyGroups_list", title: "List Redundancy Groups", - description: "Lists redundancy groups associated with an account, including full member tunnel data.", + description: "Lists redundancy groups associated with an account, including full member tunnel data.\n\nGET /accounts/{account_id}/magic/redundancy_groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -299,9 +298,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_redundancy_groups_collection_response", @@ -359,7 +356,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_redundancyGroups_update", title: "Update a Redundancy Group", - description: "Replaces the name, description, and full set of members for an existing redundancy group.", + description: "Replaces the name, description, and full set of members for an existing redundancy group.\n\nPUT /accounts/{account_id}/magic/redundancy_groups/{redundancy_group_id}", inputSchema: { type: "object", properties: { @@ -367,14 +364,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_create_redundancy_group_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "redundancy_group_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -388,9 +386,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "magic_create_redundancy_group_request": magic_create_redundancy_group_request, - "magic_identifier": magic_identifier, "magic_redundancy_member_request": magic_redundancy_member_request, }, }, diff --git a/src/generated/forge-mcp/magicTransit/routes/outputs.ts b/src/generated/forge-mcp/magicTransit/routes/outputs.ts index 83731e62a..aed9ddf13 100644 --- a/src/generated/forge-mcp/magicTransit/routes/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/routes/outputs.ts @@ -3,36 +3,22 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_colo_name` in responses. - */ -export const magic_colo_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_colo_names` in responses. */ export const magic_colo_names: JsonSchema = { "items": { - "$ref": "#/$defs/magic_colo_name" + "type": "string" }, "type": "array" }; -/** - * The schema of `magic_colo_region` in responses. - */ -export const magic_colo_region: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_colo_regions` in responses. */ export const magic_colo_regions: JsonSchema = { "items": { - "$ref": "#/$defs/magic_colo_region" + "type": "string" }, "type": "array" }; @@ -56,29 +42,6 @@ export const magic_create_route_response: JsonSchema = { ] }; -/** - * The schema of `magic_created_on` in responses. - */ -export const magic_created_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `magic_description` in responses. - */ -export const magic_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_modified_on` in responses. - */ -export const magic_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `magic_multiple_route_delete_response` in responses. */ @@ -139,58 +102,39 @@ export const magic_multiple_route_modified_response: JsonSchema = { ] }; -/** - * The schema of `magic_nexthop` in responses. - */ -export const magic_nexthop: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_prefix` in responses. - */ -export const magic_prefix: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_priority` in responses. - */ -export const magic_priority: JsonSchema = { - "type": "integer" -}; - /** * The schema of `magic_route` in responses. */ export const magic_route: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/magic_created_on" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/magic_description" + "type": "string" }, "id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/magic_modified_on" + "format": "date-time", + "type": "string" }, "nexthop": { - "$ref": "#/$defs/magic_nexthop" + "type": "string" }, "prefix": { - "$ref": "#/$defs/magic_prefix" + "type": "string" }, "priority": { - "$ref": "#/$defs/magic_priority" + "type": "integer" }, "scope": { "$ref": "#/$defs/magic_scope" }, "weight": { - "$ref": "#/$defs/magic_weight" + "type": "integer" } }, "required": [ @@ -321,10 +265,3 @@ export const magic_scope: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `magic_weight` in responses. - */ -export const magic_weight: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/magicTransit/routes/schemas.ts b/src/generated/forge-mcp/magicTransit/routes/schemas.ts index 06dde8a48..eb6d9cbe4 100644 --- a/src/generated/forge-mcp/magicTransit/routes/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/routes/schemas.ts @@ -3,40 +3,26 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_colo_name`. - */ -export const magic_colo_name: JsonSchema = { - "description": "Scope colo name.", - "type": "string" -}; - /** * The schema of `magic_colo_names`. */ export const magic_colo_names: JsonSchema = { "description": "List of colo names for the ECMP scope.", "items": { - "$ref": "#/$defs/magic_colo_name" + "description": "Scope colo name.", + "type": "string" }, "type": "array" }; -/** - * The schema of `magic_colo_region`. - */ -export const magic_colo_region: JsonSchema = { - "description": "Scope colo region.", - "type": "string" -}; - /** * The schema of `magic_colo_regions`. */ export const magic_colo_regions: JsonSchema = { "description": "List of colo regions for the ECMP scope.", "items": { - "$ref": "#/$defs/magic_colo_region" + "description": "Scope colo region.", + "type": "string" }, "type": "array" }; @@ -47,28 +33,28 @@ export const magic_colo_regions: JsonSchema = { export const magic_create_route_request: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/magic_description", - "description": "An optional human provided description of the static route." + "description": "An optional human provided description of the static route.", + "type": "string" }, "nexthop": { - "$ref": "#/$defs/magic_nexthop", - "description": "The next-hop IP Address for the static route." + "description": "The next-hop IP Address for the static route.", + "type": "string" }, "prefix": { - "$ref": "#/$defs/magic_prefix", - "description": "IP Prefix in Classless Inter-Domain Routing format." + "description": "IP Prefix in Classless Inter-Domain Routing format.", + "type": "string" }, "priority": { - "$ref": "#/$defs/magic_priority", - "description": "Priority of the static route." + "description": "Priority of the static route.", + "type": "integer" }, "scope": { "$ref": "#/$defs/magic_scope", "description": "Used only for ECMP routes." }, "weight": { - "$ref": "#/$defs/magic_weight", - "description": "Optional weight of the ECMP scope - if provided." + "description": "Optional weight of the ECMP scope - if provided.", + "type": "integer" } }, "required": [ @@ -79,66 +65,34 @@ export const magic_create_route_request: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_description`. - */ -export const magic_description: JsonSchema = { - "description": "An optional human provided description of the static route.", - "type": "string" -}; - -/** - * The schema of `magic_nexthop`. - */ -export const magic_nexthop: JsonSchema = { - "description": "The next-hop IP Address for the static route.", - "type": "string" -}; - -/** - * The schema of `magic_prefix`. - */ -export const magic_prefix: JsonSchema = { - "description": "IP Prefix in Classless Inter-Domain Routing format.", - "type": "string" -}; - -/** - * The schema of `magic_priority`. - */ -export const magic_priority: JsonSchema = { - "description": "Priority of the static route.", - "type": "integer" -}; - /** * The schema of `magic_route_add_single_request`. */ export const magic_route_add_single_request: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/magic_description", - "description": "An optional human provided description of the static route." + "description": "An optional human provided description of the static route.", + "type": "string" }, "nexthop": { - "$ref": "#/$defs/magic_nexthop", - "description": "The next-hop IP Address for the static route." + "description": "The next-hop IP Address for the static route.", + "type": "string" }, "prefix": { - "$ref": "#/$defs/magic_prefix", - "description": "IP Prefix in Classless Inter-Domain Routing format." + "description": "IP Prefix in Classless Inter-Domain Routing format.", + "type": "string" }, "priority": { - "$ref": "#/$defs/magic_priority", - "description": "Priority of the static route." + "description": "Priority of the static route.", + "type": "integer" }, "scope": { "$ref": "#/$defs/magic_scope", "description": "Used only for ECMP routes." }, "weight": { - "$ref": "#/$defs/magic_weight", - "description": "Optional weight of the ECMP scope - if provided." + "description": "Optional weight of the ECMP scope - if provided.", + "type": "integer" } }, "required": [ @@ -198,28 +152,28 @@ export const magic_route_update_many_request: JsonSchema = { export const magic_route_update_request: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/magic_description", - "description": "An optional human provided description of the static route." + "description": "An optional human provided description of the static route.", + "type": "string" }, "nexthop": { - "$ref": "#/$defs/magic_nexthop", - "description": "The next-hop IP Address for the static route." + "description": "The next-hop IP Address for the static route.", + "type": "string" }, "prefix": { - "$ref": "#/$defs/magic_prefix", - "description": "IP Prefix in Classless Inter-Domain Routing format." + "description": "IP Prefix in Classless Inter-Domain Routing format.", + "type": "string" }, "priority": { - "$ref": "#/$defs/magic_priority", - "description": "Priority of the static route." + "description": "Priority of the static route.", + "type": "integer" }, "scope": { "$ref": "#/$defs/magic_scope", "description": "Used only for ECMP routes." }, "weight": { - "$ref": "#/$defs/magic_weight", - "description": "Optional weight of the ECMP scope - if provided." + "description": "Optional weight of the ECMP scope - if provided.", + "type": "integer" } }, "required": [ @@ -261,11 +215,3 @@ export const magic_scope: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `magic_weight`. - */ -export const magic_weight: JsonSchema = { - "description": "Optional weight of the ECMP scope - if provided.", - "type": "integer" -}; diff --git a/src/generated/forge-mcp/magicTransit/routes/tools.ts b/src/generated/forge-mcp/magicTransit/routes/tools.ts index 008786e7a..378c6d3de 100644 --- a/src/generated/forge-mcp/magicTransit/routes/tools.ts +++ b/src/generated/forge-mcp/magicTransit/routes/tools.ts @@ -6,42 +6,25 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_identifier, magic_messages, } from "../outputs.js"; -import { magic_identifier as magic_identifier$ } from "../schemas.js"; import { - magic_colo_name, magic_colo_names, - magic_colo_region, magic_colo_regions, magic_create_route_response, - magic_created_on, - magic_description, - magic_modified_on, magic_multiple_route_delete_response, magic_multiple_route_modified_response, - magic_nexthop, - magic_prefix, - magic_priority, magic_route, magic_route_deleted_response, magic_route_modified_response, magic_route_single_response, magic_routes_collection_response, magic_scope, - magic_weight, } from "./outputs.js"; import { - magic_colo_name as magic_colo_name$, magic_colo_names as magic_colo_names$, - magic_colo_region as magic_colo_region$, magic_colo_regions as magic_colo_regions$, magic_create_route_request, - magic_description as magic_description$, - magic_nexthop as magic_nexthop$, - magic_prefix as magic_prefix$, - magic_priority as magic_priority$, magic_route_add_single_request, magic_route_delete_id, magic_route_delete_many_request, @@ -49,7 +32,6 @@ import { magic_route_update_request, magic_route_update_single_request, magic_scope as magic_scope$, - magic_weight as magic_weight$, } from "./schemas.js"; /** @@ -59,7 +41,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_routes_bulkUpdate", title: "Update Many Routes", - description: "Update multiple Magic static routes. Use `?validate_only=true` as an optional query parameter to run validation only without persisting changes. Only fields for a route that need to be changed need be provided.", + description: "Update multiple Magic static routes. Use `?validate_only=true` as an optional query parameter to run validation only without persisting changes. Only fields for a route that need to be changed need be provided.\n\nPUT /accounts/{account_id}/magic/routes", inputSchema: { type: "object", properties: { @@ -67,10 +49,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_route_update_many_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -83,21 +66,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_colo_name": magic_colo_name$, "magic_colo_names": magic_colo_names$, - "magic_colo_region": magic_colo_region$, "magic_colo_regions": magic_colo_regions$, - "magic_description": magic_description$, - "magic_identifier": magic_identifier$, - "magic_nexthop": magic_nexthop$, - "magic_prefix": magic_prefix$, - "magic_priority": magic_priority$, "magic_route_add_single_request": magic_route_add_single_request, "magic_route_update_many_request": magic_route_update_many_request, "magic_route_update_single_request": magic_route_update_single_request, "magic_scope": magic_scope$, - "magic_weight": magic_weight$, }, }, outputSchema: { @@ -105,22 +81,12 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, "magic_multiple_route_modified_response": magic_multiple_route_modified_response, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, annotations: { @@ -162,22 +128,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, "magic_multiple_route_modified_response": magic_multiple_route_modified_response, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -188,7 +144,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_routes_create", title: "Create a Route", - description: "Creates a new Magic static route. Use `?validate_only=true` as an optional query parameter to run validation only without persisting changes.", + description: "Creates a new Magic static route. Use `?validate_only=true` as an optional query parameter to run validation only without persisting changes.\n\nPOST /accounts/{account_id}/magic/routes", inputSchema: { type: "object", properties: { @@ -196,10 +152,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_create_route_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -212,19 +169,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_colo_name": magic_colo_name$, "magic_colo_names": magic_colo_names$, - "magic_colo_region": magic_colo_region$, "magic_colo_regions": magic_colo_regions$, "magic_create_route_request": magic_create_route_request, - "magic_description": magic_description$, - "magic_identifier": magic_identifier$, - "magic_nexthop": magic_nexthop$, - "magic_prefix": magic_prefix$, - "magic_priority": magic_priority$, "magic_scope": magic_scope$, - "magic_weight": magic_weight$, }, }, outputSchema: { @@ -232,22 +182,12 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, "magic_create_route_response": magic_create_route_response, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, annotations: { @@ -289,22 +229,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, "magic_create_route_response": magic_create_route_response, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -315,19 +245,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_routes_delete", title: "Delete Route", - description: "Disable and remove a specific Magic static route.", + description: "Disable and remove a specific Magic static route.\n\nDELETE /accounts/{account_id}/magic/routes/{route_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "route_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -340,31 +271,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_route_deleted_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_route_deleted_response": magic_route_deleted_response, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, annotations: { @@ -406,22 +325,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_route_deleted_response": magic_route_deleted_response, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -431,7 +340,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_routes_empty", title: "Delete Many Routes", - description: "Delete multiple Magic static routes.", + description: "Delete multiple Magic static routes.\n\nDELETE /accounts/{account_id}/magic/routes", inputSchema: { type: "object", properties: { @@ -439,10 +348,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_route_delete_many_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -455,8 +365,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_identifier": magic_identifier$, "magic_route_delete_id": magic_route_delete_id, "magic_route_delete_many_request": magic_route_delete_many_request, }, @@ -466,22 +376,12 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, "magic_multiple_route_delete_response": magic_multiple_route_delete_response, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, annotations: { @@ -523,22 +423,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, "magic_multiple_route_delete_response": magic_multiple_route_delete_response, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -549,19 +439,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_routes_get", title: "Route Details", - description: "Get a specific Magic static route.", + description: "Get a specific Magic static route.\n\nGET /accounts/{account_id}/magic/routes/{route_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "route_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -574,31 +465,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_route_single_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_route_single_response": magic_route_single_response, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, annotations: { @@ -642,22 +521,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_route_single_response": magic_route_single_response, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -667,15 +536,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_routes_list", title: "List Routes", - description: "List all Magic static routes.", + description: "List all Magic static routes.\n\nGET /accounts/{account_id}/magic/routes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -687,31 +557,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_routes_collection_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_routes_collection_response": magic_routes_collection_response, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, annotations: { @@ -750,22 +608,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_routes_collection_response": magic_routes_collection_response, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, request: (args) => ({ @@ -775,7 +623,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_routes_update", title: "Update Route", - description: "Update a specific Magic static route. Use `?validate_only=true` as an optional query parameter to run validation only without persisting changes.", + description: "Update a specific Magic static route. Use `?validate_only=true` as an optional query parameter to run validation only without persisting changes.\n\nPUT /accounts/{account_id}/magic/routes/{route_id}", inputSchema: { type: "object", properties: { @@ -783,14 +631,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_route_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "route_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -804,19 +653,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_colo_name": magic_colo_name$, "magic_colo_names": magic_colo_names$, - "magic_colo_region": magic_colo_region$, "magic_colo_regions": magic_colo_regions$, - "magic_description": magic_description$, - "magic_identifier": magic_identifier$, - "magic_nexthop": magic_nexthop$, - "magic_prefix": magic_prefix$, - "magic_priority": magic_priority$, "magic_route_update_request": magic_route_update_request, "magic_scope": magic_scope$, - "magic_weight": magic_weight$, }, }, outputSchema: { @@ -824,22 +666,12 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_route_modified_response": magic_route_modified_response, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, annotations: { @@ -881,22 +713,12 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_colo_name": magic_colo_name, "magic_colo_names": magic_colo_names, - "magic_colo_region": magic_colo_region, "magic_colo_regions": magic_colo_regions, - "magic_created_on": magic_created_on, - "magic_description": magic_description, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_modified_on": magic_modified_on, - "magic_nexthop": magic_nexthop, - "magic_prefix": magic_prefix, - "magic_priority": magic_priority, "magic_route": magic_route, "magic_route_modified_response": magic_route_modified_response, "magic_scope": magic_scope, - "magic_weight": magic_weight, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/schemas.ts b/src/generated/forge-mcp/magicTransit/schemas.ts index 94e6344ac..c21053053 100644 --- a/src/generated/forge-mcp/magicTransit/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/schemas.ts @@ -3,38 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `advanced-ddos-protection_identifier`. - */ -export const advanced$$ddos$$protection_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `advanced-ddos-protection_uuid`. - */ -export const advanced$$ddos$$protection_uuid: JsonSchema = { - "description": "UUID.", - "type": "string" -}; - -/** - * The schema of `magic_account_app_id`. - */ -export const magic_account_app_id: JsonSchema = { - "description": "Magic account app ID.", - "type": "string" -}; - -/** - * The schema of `magic_automatic_return_routing`. - */ -export const magic_automatic_return_routing: JsonSchema = { - "description": "True if automatic stateful return routing should be enabled for a tunnel, false otherwise. Requires the `coupler_integration` account flag to be enabled; requests setting this to `true` without that flag will be rejected.", - "type": "boolean" -}; - /** * The schema of `magic_bgp_config`. */ @@ -49,7 +17,7 @@ export const magic_bgp_config: JsonSchema = { "type": "string" }, "extra_prefixes": { - "description": "Prefixes in this list will be advertised to the customer device, in addition to the routes in the Magic routing table.\nEach entry must be a network address in CIDR notation with no host bits set (for example `192.0.2.0/24`, not\n`192.0.2.1/24`) and must not repeat another entry. IPv6 prefixes are accepted only when the tunnel has an\n`interface_address6`.\n", + "description": "Prefixes in this list will be advertised to the customer device, in addition to the routes in the Magic routing table.\nEach entry must be a network address in CIDR notation with no host bits set (for example `192.0.2.0/24`, not\n`192.0.2.1/24`) and must not repeat another entry. IPv6 prefixes are accepted only when the tunnel has an\n`interface_address6`.", "items": { "type": "string" }, @@ -70,14 +38,6 @@ export const magic_bgp_config: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_cidr`. - */ -export const magic_cidr: JsonSchema = { - "description": "A valid CIDR notation representing an IP range.", - "type": "string" -}; - /** * The schema of `magic_health_check_base`. */ @@ -136,38 +96,6 @@ export const magic_health_check_target: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_identifier`. - */ -export const magic_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; - -/** - * The schema of `magic_interface_address`. - */ -export const magic_interface_address: JsonSchema = { - "description": "A 31-bit prefix (/31 in CIDR notation) supporting two hosts, one for each side of the tunnel. Select the subnet from the following private IP space: 10.0.0.0–10.255.255.255, 172.16.0.0–172.31.255.255, 192.168.0.0–192.168.255.255.", - "type": "string" -}; - -/** - * The schema of `magic_interface_address6`. - */ -export const magic_interface_address6: JsonSchema = { - "description": "A 127 bit IPV6 prefix from within the virtual_subnet6 prefix space with the address being the first IP of the subnet and not same as the address of virtual_subnet6. Eg if virtual_subnet6 is 2606:54c1:7:0:a9fe:12d2::/127 , interface_address6 could be 2606:54c1:7:0:a9fe:12d2:1:200/127", - "type": "string" -}; - -/** - * The schema of `magic_managed_app_id`. - */ -export const magic_managed_app_id: JsonSchema = { - "description": "Managed app ID.", - "type": "string" -}; - /** * The schema of `magic_tunnel_health_check`. */ diff --git a/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts index 98d89350e..c1c18aab9 100644 --- a/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/acls/outputs.ts @@ -12,10 +12,10 @@ export const magic_acl: JsonSchema = { "type": "string" }, "forward_locally": { - "$ref": "#/$defs/magic_forward_locally" + "type": "boolean" }, "id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "lan_1": { "$ref": "#/$defs/magic_lan-acl-configuration" @@ -38,33 +38,12 @@ export const magic_acl: JsonSchema = { "type": "array" }, "unidirectional": { - "$ref": "#/$defs/magic_unidirectional" + "type": "boolean" } }, "type": "object" }; -/** - * The schema of `magic_acl-port-range` in responses. - */ -export const magic_acl$$port$$range: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_acl-subnet` in responses. - */ -export const magic_acl$$subnet: JsonSchema = { - "oneOf": [ - { - "$ref": "#/$defs/magic_ip-address" - }, - { - "$ref": "#/$defs/magic_cidr" - } - ] -}; - /** * The schema of `magic_acl_deleted_response` in responses. */ @@ -144,13 +123,6 @@ export const magic_acls_collection_response: JsonSchema = { ] }; -/** - * The schema of `magic_forward_locally` in responses. - */ -export const magic_forward_locally: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `magic_lan-acl-configuration` in responses. */ @@ -164,19 +136,26 @@ export const magic_lan$$acl$$configuration: JsonSchema = { }, "port_ranges": { "items": { - "$ref": "#/$defs/magic_acl-port-range" + "type": "string" }, "type": "array" }, "ports": { "items": { - "$ref": "#/$defs/magic_port" + "type": "integer" }, "type": "array" }, "subnets": { "items": { - "$ref": "#/$defs/magic_acl-subnet" + "oneOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, "type": "array" } @@ -186,10 +165,3 @@ export const magic_lan$$acl$$configuration: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `magic_unidirectional` in responses. - */ -export const magic_unidirectional: JsonSchema = { - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/magicTransit/sites/acls/schemas.ts b/src/generated/forge-mcp/magicTransit/sites/acls/schemas.ts index aba993765..c3f873066 100644 --- a/src/generated/forge-mcp/magicTransit/sites/acls/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/sites/acls/schemas.ts @@ -3,28 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `magic_acl-port-range`. - */ -export const magic_acl$$port$$range: JsonSchema = { - "description": "A valid port range value.", - "type": "string" -}; - -/** - * The schema of `magic_acl-subnet`. - */ -export const magic_acl$$subnet: JsonSchema = { - "oneOf": [ - { - "$ref": "#/$defs/magic_ip-address" - }, - { - "$ref": "#/$defs/magic_cidr" - } - ] -}; - /** * The schema of `magic_acl_update_request`. */ @@ -35,8 +13,8 @@ export const magic_acl_update_request: JsonSchema = { "type": "string" }, "forward_locally": { - "$ref": "#/$defs/magic_forward_locally", - "description": "The desired forwarding action for this ACL policy. If set to \"false\", the policy will forward traffic to Cloudflare. If set to \"true\", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false." + "description": "The desired forwarding action for this ACL policy. If set to \"false\", the policy will forward traffic to Cloudflare. If set to \"true\", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.", + "type": "boolean" }, "lan_1": { "$ref": "#/$defs/magic_lan-acl-configuration" @@ -60,8 +38,8 @@ export const magic_acl_update_request: JsonSchema = { "type": "array" }, "unidirectional": { - "$ref": "#/$defs/magic_unidirectional", - "description": "The desired traffic direction for this ACL policy. If set to \"false\", the policy will allow bidirectional traffic. If set to \"true\", the policy will only allow traffic in one direction. If not included in request, will default to false." + "description": "The desired traffic direction for this ACL policy. If set to \"false\", the policy will allow bidirectional traffic. If set to \"true\", the policy will only allow traffic in one direction. If not included in request, will default to false.", + "type": "boolean" } }, "type": "object" @@ -78,8 +56,8 @@ export const magic_acls_add_single_request: JsonSchema = { "type": "string" }, "forward_locally": { - "$ref": "#/$defs/magic_forward_locally", - "description": "The desired forwarding action for this ACL policy. If set to \"false\", the policy will forward traffic to Cloudflare. If set to \"true\", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false." + "description": "The desired forwarding action for this ACL policy. If set to \"false\", the policy will forward traffic to Cloudflare. If set to \"true\", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.", + "type": "boolean" }, "lan_1": { "$ref": "#/$defs/magic_lan-acl-configuration" @@ -103,8 +81,8 @@ export const magic_acls_add_single_request: JsonSchema = { "type": "array" }, "unidirectional": { - "$ref": "#/$defs/magic_unidirectional", - "description": "The desired traffic direction for this ACL policy. If set to \"false\", the policy will allow bidirectional traffic. If set to \"true\", the policy will only allow traffic in one direction. If not included in request, will default to false." + "description": "The desired traffic direction for this ACL policy. If set to \"false\", the policy will allow bidirectional traffic. If set to \"true\", the policy will only allow traffic in one direction. If not included in request, will default to false.", + "type": "boolean" } }, "required": [ @@ -115,14 +93,6 @@ export const magic_acls_add_single_request: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_forward_locally`. - */ -export const magic_forward_locally: JsonSchema = { - "description": "The desired forwarding action for this ACL policy. If set to \"false\", the policy will forward traffic to Cloudflare. If set to \"true\", the policy will forward traffic locally on the Magic Connector. If not included in request, will default to false.", - "type": "boolean" -}; - /** * The schema of `magic_lan-acl-configuration`. */ @@ -139,21 +109,31 @@ export const magic_lan$$acl$$configuration: JsonSchema = { "port_ranges": { "description": "Array of port ranges on the provided LAN that will be included in the ACL. If no ports or port rangess are provided, communication on any port on this LAN is allowed.", "items": { - "$ref": "#/$defs/magic_acl-port-range" + "description": "A valid port range value.", + "type": "string" }, "type": "array" }, "ports": { "description": "Array of ports on the provided LAN that will be included in the ACL. If no ports or port ranges are provided, communication on any port on this LAN is allowed.", "items": { - "$ref": "#/$defs/magic_port" + "type": "integer" }, "type": "array" }, "subnets": { "description": "Array of subnet IPs within the LAN that will be included in the ACL. If no subnets are provided, communication on any subnets on this LAN are allowed.", "items": { - "$ref": "#/$defs/magic_acl-subnet" + "oneOf": [ + { + "description": "A valid IPv4 address.", + "type": "string" + }, + { + "description": "A valid CIDR notation representing an IP range.", + "type": "string" + } + ] }, "type": "array" } @@ -163,11 +143,3 @@ export const magic_lan$$acl$$configuration: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `magic_unidirectional`. - */ -export const magic_unidirectional: JsonSchema = { - "description": "The desired traffic direction for this ACL policy. If set to \"false\", the policy will allow bidirectional traffic. If set to \"true\", the policy will only allow traffic in one direction. If not included in request, will default to false.", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts b/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts index 80d8b1e50..607988e4a 100644 --- a/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/acls/tools.ts @@ -6,39 +6,20 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_cidr, - magic_identifier, magic_messages, } from "../../outputs.js"; -import { - magic_cidr as magic_cidr$, - magic_identifier as magic_identifier$, -} from "../../schemas.js"; -import { magic_ip$$address, magic_port } from "../outputs.js"; -import { - magic_ip$$address as magic_ip$$address$, - magic_port as magic_port$, -} from "../schemas.js"; import { magic_acl, - magic_acl$$port$$range, - magic_acl$$subnet, magic_acl_deleted_response, magic_acl_modified_response, magic_acl_single_response, magic_acls_collection_response, - magic_forward_locally, magic_lan$$acl$$configuration, - magic_unidirectional, } from "./outputs.js"; import { - magic_acl$$port$$range as magic_acl$$port$$range$, - magic_acl$$subnet as magic_acl$$subnet$, magic_acl_update_request, magic_acls_add_single_request, - magic_forward_locally as magic_forward_locally$, magic_lan$$acl$$configuration as magic_lan$$acl$$configuration$, - magic_unidirectional as magic_unidirectional$, } from "./schemas.js"; /** @@ -48,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_acls_create", title: "Create a new Site ACL", - description: "Creates a new Site ACL.", + description: "Creates a new Site ACL.\n\nPOST /accounts/{account_id}/magic/sites/{site_id}/acls", inputSchema: { type: "object", properties: { @@ -56,14 +37,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_acls_add_single_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -77,36 +59,21 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_acl-port-range": magic_acl$$port$$range$, - "magic_acl-subnet": magic_acl$$subnet$, "magic_acls_add_single_request": magic_acls_add_single_request, - "magic_cidr": magic_cidr$, - "magic_forward_locally": magic_forward_locally$, - "magic_identifier": magic_identifier$, - "magic_ip-address": magic_ip$$address$, "magic_lan-acl-configuration": magic_lan$$acl$$configuration$, - "magic_port": magic_port$, - "magic_unidirectional": magic_unidirectional$, }, }, outputSchema: { "$ref": "#/$defs/magic_acl_single_response", $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_single_response": magic_acl_single_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -141,20 +108,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_single_response": magic_acl_single_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -165,23 +124,24 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_acls_delete", title: "Delete Site ACL", - description: "Remove a specific Site ACL.", + description: "Remove a specific Site ACL.\n\nDELETE /accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "acl_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -195,27 +155,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_acl_deleted_response", $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_deleted_response": magic_acl_deleted_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -255,20 +205,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_deleted_response": magic_acl_deleted_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -278,7 +220,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_acls_edit", title: "Patch Site ACL", - description: "Patch a specific Site ACL.", + description: "Patch a specific Site ACL.\n\nPATCH /accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}", inputSchema: { type: "object", properties: { @@ -286,18 +228,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_acl_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "acl_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -312,36 +255,21 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_acl-port-range": magic_acl$$port$$range$, - "magic_acl-subnet": magic_acl$$subnet$, "magic_acl_update_request": magic_acl_update_request, - "magic_cidr": magic_cidr$, - "magic_forward_locally": magic_forward_locally$, - "magic_identifier": magic_identifier$, - "magic_ip-address": magic_ip$$address$, "magic_lan-acl-configuration": magic_lan$$acl$$configuration$, - "magic_port": magic_port$, - "magic_unidirectional": magic_unidirectional$, }, }, outputSchema: { "$ref": "#/$defs/magic_acl_modified_response", $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_modified_response": magic_acl_modified_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -381,20 +309,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_modified_response": magic_acl_modified_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -405,23 +325,24 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_acls_get", title: "Site ACL Details", - description: "Get a specific Site ACL.", + description: "Get a specific Site ACL.\n\nGET /accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "acl_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -435,27 +356,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_acl_single_response", $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_single_response": magic_acl_single_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -497,20 +408,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_single_response": magic_acl_single_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -520,19 +423,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_acls_list", title: "List Site ACLs", - description: "Lists Site ACLs associated with an account.", + description: "Lists Site ACLs associated with an account.\n\nGET /accounts/{account_id}/magic/sites/{site_id}/acls", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -545,27 +449,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_acls_collection_response", $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acls_collection_response": magic_acls_collection_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -602,20 +496,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acls_collection_response": magic_acls_collection_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ @@ -625,7 +511,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_acls_update", title: "Update Site ACL", - description: "Update a specific Site ACL.", + description: "Update a specific Site ACL.\n\nPUT /accounts/{account_id}/magic/sites/{site_id}/acls/{acl_id}", inputSchema: { type: "object", properties: { @@ -633,18 +519,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_acl_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "acl_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -659,36 +546,21 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_acl-port-range": magic_acl$$port$$range$, - "magic_acl-subnet": magic_acl$$subnet$, "magic_acl_update_request": magic_acl_update_request, - "magic_cidr": magic_cidr$, - "magic_forward_locally": magic_forward_locally$, - "magic_identifier": magic_identifier$, - "magic_ip-address": magic_ip$$address$, "magic_lan-acl-configuration": magic_lan$$acl$$configuration$, - "magic_port": magic_port$, - "magic_unidirectional": magic_unidirectional$, }, }, outputSchema: { "$ref": "#/$defs/magic_acl_modified_response", $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_modified_response": magic_acl_modified_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, annotations: { @@ -728,20 +600,12 @@ export const tools: readonly Tool[] = [ }, $defs: { "magic_acl": magic_acl, - "magic_acl-port-range": magic_acl$$port$$range, - "magic_acl-subnet": magic_acl$$subnet, "magic_acl_modified_response": magic_acl_modified_response, "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_forward_locally": magic_forward_locally, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan-acl-configuration": magic_lan$$acl$$configuration, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_unidirectional": magic_unidirectional, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts index 2f321c37e..81479d50b 100644 --- a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/outputs.ts @@ -3,19 +3,12 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `magic_app_breakout` in responses. - */ -export const magic_app_breakout: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `magic_app_breakout_preferred_wans` in responses. */ export const magic_app_breakout_preferred_wans: JsonSchema = { "items": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "type": "array" }; @@ -28,19 +21,19 @@ export const magic_app_config: JsonSchema = { { "properties": { "breakout": { - "$ref": "#/$defs/magic_app_breakout" + "type": "boolean" }, "id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "preferred_wans": { "$ref": "#/$defs/magic_app_breakout_preferred_wans" }, "priority": { - "$ref": "#/$defs/magic_app_priority" + "type": "integer" }, "site_id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" } }, "required": [ @@ -54,7 +47,7 @@ export const magic_app_config: JsonSchema = { { "properties": { "account_app_id": { - "$ref": "#/$defs/magic_account_app_id" + "type": "string" } }, "required": [ @@ -65,7 +58,7 @@ export const magic_app_config: JsonSchema = { { "properties": { "managed_app_id": { - "$ref": "#/$defs/magic_managed_app_id" + "type": "string" } }, "required": [ @@ -118,10 +111,3 @@ export const magic_app_configs_collection_response: JsonSchema = { } ] }; - -/** - * The schema of `magic_app_priority` in responses. - */ -export const magic_app_priority: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/schemas.ts b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/schemas.ts index 15eb7fc19..784d22845 100644 --- a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/schemas.ts @@ -3,21 +3,14 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `magic_app_breakout`. - */ -export const magic_app_breakout: JsonSchema = { - "description": "Whether to breakout traffic to the app's endpoints directly. Null preserves default behavior.", - "type": "boolean" -}; - /** * The schema of `magic_app_breakout_preferred_wans`. */ export const magic_app_breakout_preferred_wans: JsonSchema = { "description": "WAN interfaces to prefer over default WANs, highest-priority first. Can only be specified for breakout rules (breakout must be true).", "items": { - "$ref": "#/$defs/magic_identifier" + "description": "Identifier", + "type": "string" }, "type": "array" }; @@ -32,8 +25,8 @@ export const magic_app_config_add_single_request: JsonSchema = { { "properties": { "account_app_id": { - "$ref": "#/$defs/magic_account_app_id", - "description": "Magic account app ID." + "description": "Magic account app ID.", + "type": "string" } }, "required": [ @@ -44,8 +37,8 @@ export const magic_app_config_add_single_request: JsonSchema = { { "properties": { "managed_app_id": { - "$ref": "#/$defs/magic_managed_app_id", - "description": "Managed app ID." + "description": "Managed app ID.", + "type": "string" } }, "required": [ @@ -59,16 +52,16 @@ export const magic_app_config_add_single_request: JsonSchema = { { "properties": { "breakout": { - "$ref": "#/$defs/magic_app_breakout", - "description": "Whether to breakout traffic to the app's endpoints directly. Null preserves default behavior." + "description": "Whether to breakout traffic to the app's endpoints directly. Null preserves default behavior.", + "type": "boolean" }, "preferred_wans": { "$ref": "#/$defs/magic_app_breakout_preferred_wans", "description": "WAN interfaces to prefer over default WANs, highest-priority first. Can only be specified for breakout rules (breakout must be true)." }, "priority": { - "$ref": "#/$defs/magic_app_priority", - "description": "Priority of traffic. 0 is default, anything greater is prioritized. (Currently only 0 and 1 are supported)" + "description": "Priority of traffic. 0 is default, anything greater is prioritized. (Currently only 0 and 1 are supported)", + "type": "integer" } }, "type": "object" @@ -82,33 +75,25 @@ export const magic_app_config_add_single_request: JsonSchema = { export const magic_app_config_update_request: JsonSchema = { "properties": { "account_app_id": { - "$ref": "#/$defs/magic_account_app_id", - "description": "Magic account app ID." + "description": "Magic account app ID.", + "type": "string" }, "breakout": { - "$ref": "#/$defs/magic_app_breakout", - "description": "Whether to breakout traffic to the app's endpoints directly. Null preserves default behavior." + "description": "Whether to breakout traffic to the app's endpoints directly. Null preserves default behavior.", + "type": "boolean" }, "managed_app_id": { - "$ref": "#/$defs/magic_managed_app_id", - "description": "Managed app ID." + "description": "Managed app ID.", + "type": "string" }, "preferred_wans": { "$ref": "#/$defs/magic_app_breakout_preferred_wans", "description": "WAN interfaces to prefer over default WANs, highest-priority first. Can only be specified for breakout rules (breakout must be true)." }, "priority": { - "$ref": "#/$defs/magic_app_priority", - "description": "Priority of traffic. 0 is default, anything greater is prioritized. (Currently only 0 and 1 are supported)" + "description": "Priority of traffic. 0 is default, anything greater is prioritized. (Currently only 0 and 1 are supported)", + "type": "integer" } }, "type": "object" }; - -/** - * The schema of `magic_app_priority`. - */ -export const magic_app_priority: JsonSchema = { - "description": "Priority of traffic. 0 is default, anything greater is prioritized. (Currently only 0 and 1 are supported)", - "type": "integer" -}; diff --git a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts index ba37c048f..355ff028c 100644 --- a/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/appConfiguration/tools.ts @@ -3,33 +3,21 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - magic_account_app_id, magic_api$$response$$common$$failure, magic_apps$$response$$array, magic_apps$$response$$object, - magic_identifier, - magic_managed_app_id, magic_messages, } from "../../outputs.js"; import { - magic_account_app_id as magic_account_app_id$, - magic_identifier as magic_identifier$, - magic_managed_app_id as magic_managed_app_id$, -} from "../../schemas.js"; -import { - magic_app_breakout, magic_app_breakout_preferred_wans, magic_app_config, magic_app_config_single_response, magic_app_configs_collection_response, - magic_app_priority, } from "./outputs.js"; import { - magic_app_breakout as magic_app_breakout$, magic_app_breakout_preferred_wans as magic_app_breakout_preferred_wans$, magic_app_config_add_single_request, magic_app_config_update_request, - magic_app_priority as magic_app_priority$, } from "./schemas.js"; /** @@ -39,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_appConfiguration_create", title: "Create a new App Config", - description: "Creates a new App Config for a site", + description: "Creates a new App Config for a site\n\nPOST /accounts/{account_id}/magic/sites/{site_id}/app_configs", inputSchema: { type: "object", properties: { @@ -47,14 +35,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_app_config_add_single_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -68,28 +57,19 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_account_app_id": magic_account_app_id$, - "magic_app_breakout": magic_app_breakout$, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans$, "magic_app_config_add_single_request": magic_app_config_add_single_request, - "magic_app_priority": magic_app_priority$, - "magic_identifier": magic_identifier$, - "magic_managed_app_id": magic_managed_app_id$, }, }, outputSchema: { "$ref": "#/$defs/magic_app_config_single_response", $defs: { - "magic_account_app_id": magic_account_app_id, - "magic_app_breakout": magic_app_breakout, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, "magic_app_config": magic_app_config, "magic_app_config_single_response": magic_app_config_single_response, - "magic_app_priority": magic_app_priority, "magic_apps-response-object": magic_apps$$response$$object, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, @@ -124,16 +104,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app_id": magic_account_app_id, "magic_api-response-common-failure": magic_api$$response$$common$$failure, - "magic_app_breakout": magic_app_breakout, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, "magic_app_config": magic_app_config, "magic_app_config_single_response": magic_app_config_single_response, - "magic_app_priority": magic_app_priority, "magic_apps-response-object": magic_apps$$response$$object, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, @@ -145,23 +120,24 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_appConfiguration_delete", title: "Delete App Config", - description: "Deletes specific App Config associated with a site.", + description: "Deletes specific App Config associated with a site.\n\nDELETE /accounts/{account_id}/magic/sites/{site_id}/app_configs/{app_config_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "app_config_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -175,22 +151,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_app_config_single_response", $defs: { - "magic_account_app_id": magic_account_app_id, - "magic_app_breakout": magic_app_breakout, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, "magic_app_config": magic_app_config, "magic_app_config_single_response": magic_app_config_single_response, - "magic_app_priority": magic_app_priority, "magic_apps-response-object": magic_apps$$response$$object, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, @@ -225,16 +194,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app_id": magic_account_app_id, "magic_api-response-common-failure": magic_api$$response$$common$$failure, - "magic_app_breakout": magic_app_breakout, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, "magic_app_config": magic_app_config, "magic_app_config_single_response": magic_app_config_single_response, - "magic_app_priority": magic_app_priority, "magic_apps-response-object": magic_apps$$response$$object, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, @@ -245,19 +209,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_appConfiguration_list", title: "List App Configs", - description: "Lists App Configs associated with a site.", + description: "Lists App Configs associated with a site.\n\nGET /accounts/{account_id}/magic/sites/{site_id}/app_configs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -270,22 +235,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_app_configs_collection_response", $defs: { - "magic_account_app_id": magic_account_app_id, - "magic_app_breakout": magic_app_breakout, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, "magic_app_config": magic_app_config, "magic_app_configs_collection_response": magic_app_configs_collection_response, - "magic_app_priority": magic_app_priority, "magic_apps-response-array": magic_apps$$response$$array, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, @@ -322,16 +280,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app_id": magic_account_app_id, "magic_api-response-common-failure": magic_api$$response$$common$$failure, - "magic_app_breakout": magic_app_breakout, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, "magic_app_config": magic_app_config, "magic_app_configs_collection_response": magic_app_configs_collection_response, - "magic_app_priority": magic_app_priority, "magic_apps-response-array": magic_apps$$response$$array, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, @@ -342,7 +295,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_appConfiguration_update", title: "Update an App Config", - description: "Updates an App Config for a site", + description: "Updates an App Config for a site\n\nPUT /accounts/{account_id}/magic/sites/{site_id}/app_configs/{app_config_id}", inputSchema: { type: "object", properties: { @@ -350,18 +303,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_app_config_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "app_config_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -376,28 +330,19 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_account_app_id": magic_account_app_id$, - "magic_app_breakout": magic_app_breakout$, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans$, "magic_app_config_update_request": magic_app_config_update_request, - "magic_app_priority": magic_app_priority$, - "magic_identifier": magic_identifier$, - "magic_managed_app_id": magic_managed_app_id$, }, }, outputSchema: { "$ref": "#/$defs/magic_app_config_single_response", $defs: { - "magic_account_app_id": magic_account_app_id, - "magic_app_breakout": magic_app_breakout, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, "magic_app_config": magic_app_config, "magic_app_config_single_response": magic_app_config_single_response, - "magic_app_priority": magic_app_priority, "magic_apps-response-object": magic_apps$$response$$object, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, @@ -432,16 +377,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "magic_account_app_id": magic_account_app_id, "magic_api-response-common-failure": magic_api$$response$$common$$failure, - "magic_app_breakout": magic_app_breakout, "magic_app_breakout_preferred_wans": magic_app_breakout_preferred_wans, "magic_app_config": magic_app_config, "magic_app_config_single_response": magic_app_config_single_response, - "magic_app_priority": magic_app_priority, "magic_apps-response-object": magic_apps$$response$$object, - "magic_identifier": magic_identifier, - "magic_managed_app_id": magic_managed_app_id, "magic_messages": magic_messages, }, }, diff --git a/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts index d5740e5ec..c3a028f5b 100644 --- a/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/lans/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `magic_bond_id` in responses. - */ -export const magic_bond_id: JsonSchema = { - "type": "integer" -}; - /** * The schema of `magic_dhcp_option` in responses. */ @@ -47,13 +40,13 @@ export const magic_dhcp_option: JsonSchema = { export const magic_lan: JsonSchema = { "properties": { "bond_id": { - "$ref": "#/$defs/magic_bond_id" + "type": "integer" }, "ha_link": { "type": "boolean" }, "id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "is_breakout": { "type": "boolean" @@ -68,7 +61,7 @@ export const magic_lan: JsonSchema = { "$ref": "#/$defs/magic_nat" }, "physport": { - "$ref": "#/$defs/magic_port" + "type": "integer" }, "remote_subnets": { "items": { @@ -83,13 +76,13 @@ export const magic_lan: JsonSchema = { "type": "array" }, "site_id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "static_addressing": { "$ref": "#/$defs/magic_lan_static_addressing" }, "vlan_tag": { - "$ref": "#/$defs/magic_vlan_tag" + "type": "integer" } }, "type": "object" @@ -121,7 +114,7 @@ export const magic_lan_dhcp_relay: JsonSchema = { "properties": { "server_addresses": { "items": { - "$ref": "#/$defs/magic_ip-address" + "type": "string" }, "type": "array" } @@ -141,17 +134,17 @@ export const magic_lan_dhcp_server: JsonSchema = { "type": "array" }, "dhcp_pool_end": { - "$ref": "#/$defs/magic_ip-address" + "type": "string" }, "dhcp_pool_start": { - "$ref": "#/$defs/magic_ip-address" + "type": "string" }, "dns_server": { - "$ref": "#/$defs/magic_ip-address" + "type": "string" }, "dns_servers": { "items": { - "$ref": "#/$defs/magic_ip-address" + "type": "string" }, "type": "array" }, @@ -209,7 +202,7 @@ export const magic_lan_single_response: JsonSchema = { export const magic_lan_static_addressing: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/magic_cidr" + "type": "string" }, "dhcp_relay": { "$ref": "#/$defs/magic_lan_dhcp_relay" @@ -218,10 +211,10 @@ export const magic_lan_static_addressing: JsonSchema = { "$ref": "#/$defs/magic_lan_dhcp_server" }, "secondary_address": { - "$ref": "#/$defs/magic_cidr" + "type": "string" }, "virtual_address": { - "$ref": "#/$defs/magic_cidr" + "type": "string" } }, "required": [ @@ -258,7 +251,7 @@ export const magic_lans_collection_response: JsonSchema = { export const magic_nat: JsonSchema = { "properties": { "static_prefix": { - "$ref": "#/$defs/magic_cidr" + "type": "string" } }, "type": "object" @@ -270,10 +263,10 @@ export const magic_nat: JsonSchema = { export const magic_remote_subnet: JsonSchema = { "properties": { "local_alias_prefix": { - "$ref": "#/$defs/magic_cidr" + "type": "string" }, "remote_prefix": { - "$ref": "#/$defs/magic_cidr" + "type": "string" } }, "required": [ @@ -292,10 +285,10 @@ export const magic_routed_subnet: JsonSchema = { "$ref": "#/$defs/magic_nat" }, "next_hop": { - "$ref": "#/$defs/magic_ip-address" + "type": "string" }, "prefix": { - "$ref": "#/$defs/magic_cidr" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/magicTransit/sites/lans/schemas.ts b/src/generated/forge-mcp/magicTransit/sites/lans/schemas.ts index fe63e44f0..c5597c4e4 100644 --- a/src/generated/forge-mcp/magicTransit/sites/lans/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/sites/lans/schemas.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `magic_bond_id`. - */ -export const magic_bond_id: JsonSchema = { - "type": "integer" -}; - /** * The schema of `magic_dhcp_option`. */ @@ -21,7 +14,7 @@ export const magic_dhcp_option: JsonSchema = { "type": "integer" }, "type": { - "description": "The type of the option value. text: a string (max 255 bytes). hex: colon-separated hex bytes (e.g. \"01:04:aa:bb:cc\", max 255 bytes). ip: an IPv4 address (e.g. \"10.20.30.40\"). byte: an unsigned integer 0-255 (1 byte). short: an unsigned integer 0-65535 (2 bytes). integer: an unsigned integer 0-4294967295 (4 bytes).\n", + "description": "The type of the option value. text: a string (max 255 bytes). hex: colon-separated hex bytes (e.g. \"01:04:aa:bb:cc\", max 255 bytes). ip: an IPv4 address (e.g. \"10.20.30.40\"). byte: an unsigned integer 0-255 (1 byte). short: an unsigned integer 0-65535 (2 bytes). integer: an unsigned integer 0-4294967295 (4 bytes).", "enum": [ "text", "hex", @@ -53,7 +46,8 @@ export const magic_lan_dhcp_relay: JsonSchema = { "server_addresses": { "description": "List of DHCP server IPs.", "items": { - "$ref": "#/$defs/magic_ip-address" + "description": "A valid IPv4 address.", + "type": "string" }, "type": "array" } @@ -74,20 +68,22 @@ export const magic_lan_dhcp_server: JsonSchema = { "type": "array" }, "dhcp_pool_end": { - "$ref": "#/$defs/magic_ip-address", - "description": "A valid IPv4 address." + "description": "A valid IPv4 address.", + "type": "string" }, "dhcp_pool_start": { - "$ref": "#/$defs/magic_ip-address", - "description": "A valid IPv4 address." + "description": "A valid IPv4 address.", + "type": "string" }, "dns_server": { - "$ref": "#/$defs/magic_ip-address", - "deprecated": true + "deprecated": true, + "description": "A valid IPv4 address.", + "type": "string" }, "dns_servers": { "items": { - "$ref": "#/$defs/magic_ip-address" + "description": "A valid IPv4 address.", + "type": "string" }, "type": "array" }, @@ -109,8 +105,8 @@ export const magic_lan_static_addressing: JsonSchema = { "description": "If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with secondary and virtual address.", "properties": { "address": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" }, "dhcp_relay": { "$ref": "#/$defs/magic_lan_dhcp_relay" @@ -119,12 +115,12 @@ export const magic_lan_static_addressing: JsonSchema = { "$ref": "#/$defs/magic_lan_dhcp_server" }, "secondary_address": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" }, "virtual_address": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" } }, "required": [ @@ -139,7 +135,7 @@ export const magic_lan_static_addressing: JsonSchema = { export const magic_lan_update_request: JsonSchema = { "properties": { "bond_id": { - "$ref": "#/$defs/magic_bond_id" + "type": "integer" }, "ha_link": { "description": "mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha_link.", @@ -160,7 +156,7 @@ export const magic_lan_update_request: JsonSchema = { "$ref": "#/$defs/magic_nat" }, "physport": { - "$ref": "#/$defs/magic_port" + "type": "integer" }, "remote_subnets": { "items": { @@ -179,8 +175,8 @@ export const magic_lan_update_request: JsonSchema = { "description": "If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with secondary and virtual address." }, "vlan_tag": { - "$ref": "#/$defs/magic_vlan_tag", - "description": "VLAN ID. Use zero for untagged." + "description": "VLAN ID. Use zero for untagged.", + "type": "integer" } }, "type": "object" @@ -192,7 +188,7 @@ export const magic_lan_update_request: JsonSchema = { export const magic_lans_add_single_request: JsonSchema = { "properties": { "bond_id": { - "$ref": "#/$defs/magic_bond_id" + "type": "integer" }, "ha_link": { "description": "mark true to use this LAN for HA probing. only works for site with HA turned on. only one LAN can be set as the ha_link.", @@ -213,7 +209,7 @@ export const magic_lans_add_single_request: JsonSchema = { "$ref": "#/$defs/magic_nat" }, "physport": { - "$ref": "#/$defs/magic_port" + "type": "integer" }, "remote_subnets": { "items": { @@ -232,8 +228,8 @@ export const magic_lans_add_single_request: JsonSchema = { "description": "If the site is not configured in high availability mode, this configuration is optional (if omitted, use DHCP). However, if in high availability mode, static_address is required along with secondary and virtual address." }, "vlan_tag": { - "$ref": "#/$defs/magic_vlan_tag", - "description": "VLAN ID. Use zero for untagged." + "description": "VLAN ID. Use zero for untagged.", + "type": "integer" } }, "type": "object" @@ -245,8 +241,8 @@ export const magic_lans_add_single_request: JsonSchema = { export const magic_nat: JsonSchema = { "properties": { "static_prefix": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" } }, "type": "object" @@ -259,12 +255,12 @@ export const magic_remote_subnet: JsonSchema = { "description": "A remote subnet reachable through Cloudflare that is addressed from this LAN by a local alias prefix of the same size. The local alias prefix must not overlap other subnets on the LAN, and the remote prefix must not overlap other remote prefixes on the LAN.", "properties": { "local_alias_prefix": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" }, "remote_prefix": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" } }, "required": [ @@ -283,12 +279,12 @@ export const magic_routed_subnet: JsonSchema = { "$ref": "#/$defs/magic_nat" }, "next_hop": { - "$ref": "#/$defs/magic_ip-address", - "description": "A valid IPv4 address." + "description": "A valid IPv4 address.", + "type": "string" }, "prefix": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts b/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts index b377e1d8d..53ef538da 100644 --- a/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/lans/tools.ts @@ -6,22 +6,9 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_cidr, - magic_identifier, magic_messages, } from "../../outputs.js"; import { - magic_cidr as magic_cidr$, - magic_identifier as magic_identifier$, -} from "../../schemas.js"; -import { magic_ip$$address, magic_port, magic_vlan_tag } from "../outputs.js"; -import { - magic_ip$$address as magic_ip$$address$, - magic_port as magic_port$, - magic_vlan_tag as magic_vlan_tag$, -} from "../schemas.js"; -import { - magic_bond_id, magic_dhcp_option, magic_lan, magic_lan_deleted_response, @@ -36,7 +23,6 @@ import { magic_routed_subnet, } from "./outputs.js"; import { - magic_bond_id as magic_bond_id$, magic_dhcp_option as magic_dhcp_option$, magic_lan_dhcp_relay as magic_lan_dhcp_relay$, magic_lan_dhcp_server as magic_lan_dhcp_server$, @@ -55,7 +41,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_lans_create", title: "Create a new Site LAN", - description: "Creates a new Site LAN. If the site is in high availability mode, static_addressing is required along with secondary and virtual address.", + description: "Creates a new Site LAN. If the site is in high availability mode, static_addressing is required along with secondary and virtual address.\n\nPOST /accounts/{account_id}/magic/sites/{site_id}/lans", inputSchema: { type: "object", properties: { @@ -63,14 +49,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_lans_add_single_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -84,21 +71,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_bond_id": magic_bond_id$, - "magic_cidr": magic_cidr$, "magic_dhcp_option": magic_dhcp_option$, - "magic_identifier": magic_identifier$, - "magic_ip-address": magic_ip$$address$, "magic_lan_dhcp_relay": magic_lan_dhcp_relay$, "magic_lan_dhcp_server": magic_lan_dhcp_server$, "magic_lan_static_addressing": magic_lan_static_addressing$, "magic_lans_add_single_request": magic_lans_add_single_request, "magic_nat": magic_nat$, - "magic_port": magic_port$, "magic_remote_subnet": magic_remote_subnet$, "magic_routed_subnet": magic_routed_subnet$, - "magic_vlan_tag": magic_vlan_tag$, }, }, outputSchema: { @@ -106,11 +88,7 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -118,10 +96,8 @@ export const tools: readonly Tool[] = [ "magic_lans_collection_response": magic_lans_collection_response, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, annotations: { @@ -158,11 +134,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -170,10 +142,8 @@ export const tools: readonly Tool[] = [ "magic_lans_collection_response": magic_lans_collection_response, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -184,23 +154,24 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_lans_delete", title: "Delete Site LAN", - description: "Remove a specific Site LAN.", + description: "Remove a specific Site LAN.\n\nDELETE /accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "lan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -214,20 +185,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_lan_deleted_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_deleted_response": magic_lan_deleted_response, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, @@ -235,10 +200,8 @@ export const tools: readonly Tool[] = [ "magic_lan_static_addressing": magic_lan_static_addressing, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, annotations: { @@ -280,11 +243,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_deleted_response": magic_lan_deleted_response, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, @@ -292,10 +251,8 @@ export const tools: readonly Tool[] = [ "magic_lan_static_addressing": magic_lan_static_addressing, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -305,7 +262,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_lans_edit", title: "Patch Site LAN", - description: "Patch a specific Site LAN.", + description: "Patch a specific Site LAN.\n\nPATCH /accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}", inputSchema: { type: "object", properties: { @@ -313,18 +270,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_lan_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "lan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -339,21 +297,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_bond_id": magic_bond_id$, - "magic_cidr": magic_cidr$, "magic_dhcp_option": magic_dhcp_option$, - "magic_identifier": magic_identifier$, - "magic_ip-address": magic_ip$$address$, "magic_lan_dhcp_relay": magic_lan_dhcp_relay$, "magic_lan_dhcp_server": magic_lan_dhcp_server$, "magic_lan_static_addressing": magic_lan_static_addressing$, "magic_lan_update_request": magic_lan_update_request, "magic_nat": magic_nat$, - "magic_port": magic_port$, "magic_remote_subnet": magic_remote_subnet$, "magic_routed_subnet": magic_routed_subnet$, - "magic_vlan_tag": magic_vlan_tag$, }, }, outputSchema: { @@ -361,11 +314,7 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -373,10 +322,8 @@ export const tools: readonly Tool[] = [ "magic_lan_static_addressing": magic_lan_static_addressing, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, annotations: { @@ -418,11 +365,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -430,10 +373,8 @@ export const tools: readonly Tool[] = [ "magic_lan_static_addressing": magic_lan_static_addressing, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -444,23 +385,24 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_lans_get", title: "Site LAN Details", - description: "Get a specific Site LAN.", + description: "Get a specific Site LAN.\n\nGET /accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "lan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -474,20 +416,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_lan_single_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -495,10 +431,8 @@ export const tools: readonly Tool[] = [ "magic_lan_static_addressing": magic_lan_static_addressing, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, annotations: { @@ -542,11 +476,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -554,10 +484,8 @@ export const tools: readonly Tool[] = [ "magic_lan_static_addressing": magic_lan_static_addressing, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -567,19 +495,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_lans_list", title: "List Site LANs", - description: "Lists Site LANs associated with an account.", + description: "Lists Site LANs associated with an account.\n\nGET /accounts/{account_id}/magic/sites/{site_id}/lans", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -592,20 +521,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_lans_collection_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -613,10 +536,8 @@ export const tools: readonly Tool[] = [ "magic_lans_collection_response": magic_lans_collection_response, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, annotations: { @@ -655,11 +576,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -667,10 +584,8 @@ export const tools: readonly Tool[] = [ "magic_lans_collection_response": magic_lans_collection_response, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ @@ -680,7 +595,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_lans_update", title: "Update Site LAN", - description: "Update a specific Site LAN.", + description: "Update a specific Site LAN.\n\nPUT /accounts/{account_id}/magic/sites/{site_id}/lans/{lan_id}", inputSchema: { type: "object", properties: { @@ -688,18 +603,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_lan_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "lan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -714,21 +630,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_bond_id": magic_bond_id$, - "magic_cidr": magic_cidr$, "magic_dhcp_option": magic_dhcp_option$, - "magic_identifier": magic_identifier$, - "magic_ip-address": magic_ip$$address$, "magic_lan_dhcp_relay": magic_lan_dhcp_relay$, "magic_lan_dhcp_server": magic_lan_dhcp_server$, "magic_lan_static_addressing": magic_lan_static_addressing$, "magic_lan_update_request": magic_lan_update_request, "magic_nat": magic_nat$, - "magic_port": magic_port$, "magic_remote_subnet": magic_remote_subnet$, "magic_routed_subnet": magic_routed_subnet$, - "magic_vlan_tag": magic_vlan_tag$, }, }, outputSchema: { @@ -736,11 +647,7 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -748,10 +655,8 @@ export const tools: readonly Tool[] = [ "magic_lan_static_addressing": magic_lan_static_addressing, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, annotations: { @@ -793,11 +698,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_bond_id": magic_bond_id, - "magic_cidr": magic_cidr, "magic_dhcp_option": magic_dhcp_option, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_lan": magic_lan, "magic_lan_dhcp_relay": magic_lan_dhcp_relay, "magic_lan_dhcp_server": magic_lan_dhcp_server, @@ -805,10 +706,8 @@ export const tools: readonly Tool[] = [ "magic_lan_static_addressing": magic_lan_static_addressing, "magic_messages": magic_messages, "magic_nat": magic_nat, - "magic_port": magic_port, "magic_remote_subnet": magic_remote_subnet, "magic_routed_subnet": magic_routed_subnet, - "magic_vlan_tag": magic_vlan_tag, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts index 66b415323..727df00a1 100644 --- a/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/netflowConfig/tools.ts @@ -8,7 +8,6 @@ import { magic_api$$response$$single, magic_messages, } from "../../outputs.js"; -import { magic_identifier } from "../../schemas.js"; import { magic_netflow_config, magic_netflow_config_single_response, @@ -22,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_netflowConfig_create", title: "Create NetFlow Configuration", - description: "Creates a NetFlow configuration for a site.", + description: "Creates a NetFlow configuration for a site.\n\nPOST /accounts/{account_id}/magic/sites/{site_id}/netflow_config", inputSchema: { type: "object", properties: { @@ -30,14 +29,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_netflow_config_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -51,8 +51,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_identifier": magic_identifier, "magic_netflow_config_request": magic_netflow_config_request, }, }, @@ -109,19 +109,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_netflowConfig_delete", title: "Delete NetFlow Configuration", - description: "Remove NetFlow configuration for a site.", + description: "Remove NetFlow configuration for a site.\n\nDELETE /accounts/{account_id}/magic/sites/{site_id}/netflow_config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -134,9 +135,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_netflow_config_single_response", @@ -194,7 +193,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_netflowConfig_edit", title: "Update NetFlow Configuration", - description: "Updates NetFlow configuration for a site.", + description: "Updates NetFlow configuration for a site.\n\nPATCH /accounts/{account_id}/magic/sites/{site_id}/netflow_config", inputSchema: { type: "object", properties: { @@ -202,14 +201,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_netflow_config_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -223,8 +223,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_identifier": magic_identifier, "magic_netflow_config_request": magic_netflow_config_request, }, }, @@ -285,19 +285,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_netflowConfig_get", title: "NetFlow Configuration Details", - description: "Get NetFlow configuration for a site.", + description: "Get NetFlow configuration for a site.\n\nGET /accounts/{account_id}/magic/sites/{site_id}/netflow_config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -310,9 +311,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_netflow_config_single_response", @@ -372,7 +371,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_netflowConfig_update", title: "Update NetFlow Configuration", - description: "Updates NetFlow configuration for a site (partial update).", + description: "Updates NetFlow configuration for a site (partial update).\n\nPUT /accounts/{account_id}/magic/sites/{site_id}/netflow_config", inputSchema: { type: "object", properties: { @@ -380,14 +379,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_netflow_config_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -401,8 +401,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_identifier": magic_identifier, "magic_netflow_config_request": magic_netflow_config_request, }, }, diff --git a/src/generated/forge-mcp/magicTransit/sites/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/outputs.ts index 3445b9ccd..dc746523d 100644 --- a/src/generated/forge-mcp/magicTransit/sites/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/outputs.ts @@ -3,41 +3,13 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_connector-id` in responses. - */ -export const magic_connector$$id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_ip-address` in responses. - */ -export const magic_ip$$address: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `magic_port` in responses. - */ -export const magic_port: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `magic_secondary-connector-id` in responses. - */ -export const magic_secondary$$connector$$id: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_site` in responses. */ export const magic_site: JsonSchema = { "properties": { "connector_id": { - "$ref": "#/$defs/magic_connector-id" + "type": "string" }, "description": { "type": "string" @@ -46,16 +18,16 @@ export const magic_site: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "location": { "$ref": "#/$defs/magic_site-location" }, "name": { - "$ref": "#/$defs/magic_site-name" + "type": "string" }, "secondary_connector_id": { - "$ref": "#/$defs/magic_secondary-connector-id" + "type": "string" } }, "type": "object" @@ -76,13 +48,6 @@ export const magic_site$$location: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_site-name` in responses. - */ -export const magic_site$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `magic_site_deleted_response` in responses. */ @@ -161,10 +126,3 @@ export const magic_sites_collection_response: JsonSchema = { } ] }; - -/** - * The schema of `magic_vlan_tag` in responses. - */ -export const magic_vlan_tag: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/magicTransit/sites/schemas.ts b/src/generated/forge-mcp/magicTransit/sites/schemas.ts index 945236018..9e476e96c 100644 --- a/src/generated/forge-mcp/magicTransit/sites/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/sites/schemas.ts @@ -3,37 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `magic_connector-id`. - */ -export const magic_connector$$id: JsonSchema = { - "description": "Magic Connector identifier tag.", - "type": "string" -}; - -/** - * The schema of `magic_ip-address`. - */ -export const magic_ip$$address: JsonSchema = { - "description": "A valid IPv4 address.", - "type": "string" -}; - -/** - * The schema of `magic_port`. - */ -export const magic_port: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `magic_secondary-connector-id`. - */ -export const magic_secondary$$connector$$id: JsonSchema = { - "description": "Magic Connector identifier tag. Used when high availability mode is on.", - "type": "string" -}; - /** * The schema of `magic_site-location`. */ @@ -52,22 +21,14 @@ export const magic_site$$location: JsonSchema = { "type": "object" }; -/** - * The schema of `magic_site-name`. - */ -export const magic_site$$name: JsonSchema = { - "description": "The name of the site.", - "type": "string" -}; - /** * The schema of `magic_site_update_request`. */ export const magic_site_update_request: JsonSchema = { "properties": { "connector_id": { - "$ref": "#/$defs/magic_connector-id", - "description": "Magic Connector identifier tag." + "description": "Magic Connector identifier tag.", + "type": "string" }, "description": { "type": "string" @@ -81,12 +42,12 @@ export const magic_site_update_request: JsonSchema = { "description": "Location of site in latitude and longitude." }, "name": { - "$ref": "#/$defs/magic_site-name", - "description": "The name of the site." + "description": "The name of the site.", + "type": "string" }, "secondary_connector_id": { - "$ref": "#/$defs/magic_secondary-connector-id", - "description": "Magic Connector identifier tag. Used when high availability mode is on." + "description": "Magic Connector identifier tag. Used when high availability mode is on.", + "type": "string" } }, "type": "object" @@ -98,8 +59,8 @@ export const magic_site_update_request: JsonSchema = { export const magic_sites_add_single_request: JsonSchema = { "properties": { "connector_id": { - "$ref": "#/$defs/magic_connector-id", - "description": "Magic Connector identifier tag." + "description": "Magic Connector identifier tag.", + "type": "string" }, "description": { "type": "string" @@ -113,12 +74,12 @@ export const magic_sites_add_single_request: JsonSchema = { "description": "Location of site in latitude and longitude." }, "name": { - "$ref": "#/$defs/magic_site-name", - "description": "The name of the site." + "description": "The name of the site.", + "type": "string" }, "secondary_connector_id": { - "$ref": "#/$defs/magic_secondary-connector-id", - "description": "Magic Connector identifier tag. Used when high availability mode is on." + "description": "Magic Connector identifier tag. Used when high availability mode is on.", + "type": "string" } }, "required": [ @@ -126,11 +87,3 @@ export const magic_sites_add_single_request: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `magic_vlan_tag`. - */ -export const magic_vlan_tag: JsonSchema = { - "description": "VLAN ID. Use zero for untagged.", - "type": "integer" -}; diff --git a/src/generated/forge-mcp/magicTransit/sites/tools.ts b/src/generated/forge-mcp/magicTransit/sites/tools.ts index e17cc8f99..236caaf41 100644 --- a/src/generated/forge-mcp/magicTransit/sites/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/tools.ts @@ -6,26 +6,18 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_identifier, magic_messages, } from "../outputs.js"; -import { magic_identifier as magic_identifier$ } from "../schemas.js"; import { - magic_connector$$id, - magic_secondary$$connector$$id, magic_site, magic_site$$location, - magic_site$$name, magic_site_deleted_response, magic_site_modified_response, magic_site_single_response, magic_sites_collection_response, } from "./outputs.js"; import { - magic_connector$$id as magic_connector$$id$, - magic_secondary$$connector$$id as magic_secondary$$connector$$id$, magic_site$$location as magic_site$$location$, - magic_site$$name as magic_site$$name$, magic_site_update_request, magic_sites_add_single_request, } from "./schemas.js"; @@ -37,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_create", title: "Create a new Site", - description: "Creates a new Site", + description: "Creates a new Site\n\nPOST /accounts/{account_id}/magic/sites", inputSchema: { type: "object", properties: { @@ -45,10 +37,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_sites_add_single_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -61,12 +54,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_connector-id": magic_connector$$id$, - "magic_identifier": magic_identifier$, - "magic_secondary-connector-id": magic_secondary$$connector$$id$, "magic_site-location": magic_site$$location$, - "magic_site-name": magic_site$$name$, "magic_sites_add_single_request": magic_sites_add_single_request, }, }, @@ -75,13 +65,9 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_single_response": magic_site_single_response, }, }, @@ -119,13 +105,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_single_response": magic_site_single_response, }, }, @@ -137,19 +119,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_delete", title: "Delete Site", - description: "Remove a specific Site.", + description: "Remove a specific Site.\n\nDELETE /accounts/{account_id}/magic/sites/{site_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -162,22 +145,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_site_deleted_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_deleted_response": magic_site_deleted_response, }, }, @@ -220,13 +197,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_deleted_response": magic_site_deleted_response, }, }, @@ -237,7 +210,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_edit", title: "Patch Site", - description: "Patch a specific Site.", + description: "Patch a specific Site.\n\nPATCH /accounts/{account_id}/magic/sites/{site_id}", inputSchema: { type: "object", properties: { @@ -245,14 +218,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_site_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -266,12 +240,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_connector-id": magic_connector$$id$, - "magic_identifier": magic_identifier$, - "magic_secondary-connector-id": magic_secondary$$connector$$id$, "magic_site-location": magic_site$$location$, - "magic_site-name": magic_site$$name$, "magic_site_update_request": magic_site_update_request, }, }, @@ -280,13 +251,9 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_modified_response": magic_site_modified_response, }, }, @@ -329,13 +296,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_modified_response": magic_site_modified_response, }, }, @@ -347,11 +310,12 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_get", title: "Site Details", - description: "Get a specific Site.", + description: "Get a specific Site.\n\nGET /accounts/{account_id}/magic/sites/{site_id}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "x-magic-new-hc-target": { "description": "If true, the health check target in the response body will be presented using the new object format. Defaults to false.", @@ -361,14 +325,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -381,22 +346,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_site_single_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_single_response": magic_site_single_response, }, }, @@ -441,13 +400,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_single_response": magic_site_single_response, }, }, @@ -461,15 +416,16 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_list", title: "List Sites", - description: "Lists Sites associated with an account. Use connectorid query param to return sites where connectorid matches either site.ConnectorID or site.SecondaryConnectorID.", + description: "Lists Sites associated with an account. Use connectorid query param to return sites where connectorid matches either site.ConnectorID or site.SecondaryConnectorID.\n\nGET /accounts/{account_id}/magic/sites", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -478,10 +434,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "connectorid": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "type": "object" @@ -490,22 +447,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_sites_collection_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_sites_collection_response": magic_sites_collection_response, }, }, @@ -545,13 +496,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_sites_collection_response": magic_sites_collection_response, }, }, @@ -565,7 +512,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_update", title: "Update Site", - description: "Update a specific Site.", + description: "Update a specific Site.\n\nPUT /accounts/{account_id}/magic/sites/{site_id}", inputSchema: { type: "object", properties: { @@ -573,14 +520,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_site_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -594,12 +542,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_connector-id": magic_connector$$id$, - "magic_identifier": magic_identifier$, - "magic_secondary-connector-id": magic_secondary$$connector$$id$, "magic_site-location": magic_site$$location$, - "magic_site-name": magic_site$$name$, "magic_site_update_request": magic_site_update_request, }, }, @@ -608,13 +553,9 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_modified_response": magic_site_modified_response, }, }, @@ -657,13 +598,9 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_connector-id": magic_connector$$id, - "magic_identifier": magic_identifier, "magic_messages": magic_messages, - "magic_secondary-connector-id": magic_secondary$$connector$$id, "magic_site": magic_site, "magic_site-location": magic_site$$location, - "magic_site-name": magic_site$$name, "magic_site_modified_response": magic_site_modified_response, }, }, diff --git a/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts b/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts index 2f2611af2..ef0f5cb0d 100644 --- a/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts +++ b/src/generated/forge-mcp/magicTransit/sites/wans/outputs.ts @@ -17,7 +17,7 @@ export const magic_wan: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "load_balance_inner_flows": { "type": "boolean" @@ -26,7 +26,7 @@ export const magic_wan: JsonSchema = { "type": "string" }, "physport": { - "$ref": "#/$defs/magic_port" + "type": "integer" }, "priority": { "type": "integer" @@ -38,13 +38,13 @@ export const magic_wan: JsonSchema = { "type": "integer" }, "site_id": { - "$ref": "#/$defs/magic_identifier" + "type": "string" }, "static_addressing": { "$ref": "#/$defs/magic_wan_static_addressing" }, "vlan_tag": { - "$ref": "#/$defs/magic_vlan_tag" + "type": "integer" } }, "type": "object" @@ -113,13 +113,13 @@ export const magic_wan_single_response: JsonSchema = { export const magic_wan_static_addressing: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/magic_cidr" + "type": "string" }, "gateway_address": { - "$ref": "#/$defs/magic_ip-address" + "type": "string" }, "secondary_address": { - "$ref": "#/$defs/magic_cidr" + "type": "string" }, "secondary_gateway_address": { "type": "string" diff --git a/src/generated/forge-mcp/magicTransit/sites/wans/schemas.ts b/src/generated/forge-mcp/magicTransit/sites/wans/schemas.ts index 8cb00b5a8..ba3a97938 100644 --- a/src/generated/forge-mcp/magicTransit/sites/wans/schemas.ts +++ b/src/generated/forge-mcp/magicTransit/sites/wans/schemas.ts @@ -10,16 +10,16 @@ export const magic_wan_static_addressing_create_request: JsonSchema = { "description": "Static addressing configuration for a WAN. Omit to use DHCP. Submit secondary_address when the site is in high availability mode.", "properties": { "address": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" }, "gateway_address": { - "$ref": "#/$defs/magic_ip-address", - "description": "A valid IPv4 address." + "description": "A valid IPv4 address.", + "type": "string" }, "secondary_address": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" }, "secondary_gateway_address": { "description": "Gateway address for the secondary connector of a high availability site.", @@ -40,16 +40,16 @@ export const magic_wan_static_addressing_update: JsonSchema = { "description": "Static addressing configuration. PATCH updates only the fields provided, and PUT replaces the configuration.", "properties": { "address": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" }, "gateway_address": { - "$ref": "#/$defs/magic_ip-address", - "description": "A valid IPv4 address." + "description": "A valid IPv4 address.", + "type": "string" }, "secondary_address": { - "$ref": "#/$defs/magic_cidr", - "description": "A valid CIDR notation representing an IP range." + "description": "A valid CIDR notation representing an IP range.", + "type": "string" }, "secondary_gateway_address": { "description": "Gateway address for the secondary connector of a high availability site. Set to null to remove it.", @@ -94,7 +94,7 @@ export const magic_wan_update_request: JsonSchema = { "type": "string" }, "physport": { - "$ref": "#/$defs/magic_port" + "type": "integer" }, "priority": { "type": "integer" @@ -126,8 +126,8 @@ export const magic_wan_update_request: JsonSchema = { "description": "Static addressing configuration. PATCH updates only the fields provided, and PUT replaces the configuration." }, "vlan_tag": { - "$ref": "#/$defs/magic_vlan_tag", - "description": "VLAN ID. Use zero for untagged." + "description": "VLAN ID. Use zero for untagged.", + "type": "integer" } }, "type": "object" @@ -156,7 +156,7 @@ export const magic_wans_add_single_request: JsonSchema = { "type": "string" }, "physport": { - "$ref": "#/$defs/magic_port" + "type": "integer" }, "priority": { "type": "integer" @@ -174,8 +174,8 @@ export const magic_wans_add_single_request: JsonSchema = { "description": "Static addressing configuration for a WAN. Omit to use DHCP. Submit secondary_address when the site is in high availability mode." }, "vlan_tag": { - "$ref": "#/$defs/magic_vlan_tag", - "description": "VLAN ID. Use zero for untagged." + "description": "VLAN ID. Use zero for untagged.", + "type": "integer" } }, "required": [ diff --git a/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts b/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts index 4548b1767..d605b1231 100644 --- a/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts +++ b/src/generated/forge-mcp/magicTransit/sites/wans/tools.ts @@ -6,20 +6,8 @@ import { magic_api$$response$$common, magic_api$$response$$common$$failure, magic_api$$response$$single, - magic_cidr, - magic_identifier, magic_messages, } from "../../outputs.js"; -import { - magic_cidr as magic_cidr$, - magic_identifier as magic_identifier$, -} from "../../schemas.js"; -import { magic_ip$$address, magic_port, magic_vlan_tag } from "../outputs.js"; -import { - magic_ip$$address as magic_ip$$address$, - magic_port as magic_port$, - magic_vlan_tag as magic_vlan_tag$, -} from "../schemas.js"; import { magic_wan, magic_wan_deleted_response, @@ -42,7 +30,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_wans_create", title: "Create a new Site WAN", - description: "Creates a new Site WAN.", + description: "Creates a new Site WAN.\n\nPOST /accounts/{account_id}/magic/sites/{site_id}/wans", inputSchema: { type: "object", properties: { @@ -50,14 +38,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_wans_add_single_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -71,12 +60,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_cidr": magic_cidr$, - "magic_identifier": magic_identifier$, - "magic_ip-address": magic_ip$$address$, - "magic_port": magic_port$, - "magic_vlan_tag": magic_vlan_tag$, "magic_wan_static_addressing_create_request": magic_wan_static_addressing_create_request, "magic_wans_add_single_request": magic_wans_add_single_request, }, @@ -86,12 +71,7 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_static_addressing": magic_wan_static_addressing, "magic_wans_collection_response": magic_wans_collection_response, @@ -131,12 +111,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_static_addressing": magic_wan_static_addressing, "magic_wans_collection_response": magic_wans_collection_response, @@ -150,23 +125,24 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_wans_delete", title: "Delete Site WAN", - description: "Remove a specific Site WAN.", + description: "Remove a specific Site WAN.\n\nDELETE /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "wan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -180,21 +156,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_wan_deleted_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_deleted_response": magic_wan_deleted_response, "magic_wan_static_addressing": magic_wan_static_addressing, @@ -239,12 +208,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_deleted_response": magic_wan_deleted_response, "magic_wan_static_addressing": magic_wan_static_addressing, @@ -257,7 +221,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_wans_edit", title: "Patch Site WAN", - description: "Patch a specific Site WAN.", + description: "Patch a specific Site WAN.\n\nPATCH /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}", inputSchema: { type: "object", properties: { @@ -265,18 +229,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_wan_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "wan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -291,12 +256,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_cidr": magic_cidr$, - "magic_identifier": magic_identifier$, - "magic_ip-address": magic_ip$$address$, - "magic_port": magic_port$, - "magic_vlan_tag": magic_vlan_tag$, "magic_wan_static_addressing_update": magic_wan_static_addressing_update, "magic_wan_update_request": magic_wan_update_request, }, @@ -306,12 +267,7 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_modified_response": magic_wan_modified_response, "magic_wan_static_addressing": magic_wan_static_addressing, @@ -356,12 +312,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_modified_response": magic_wan_modified_response, "magic_wan_static_addressing": magic_wan_static_addressing, @@ -375,23 +326,24 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_wans_get", title: "Site WAN Details", - description: "Get a specific Site WAN.", + description: "Get a specific Site WAN.\n\nGET /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "wan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -405,21 +357,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_wan_single_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_single_response": magic_wan_single_response, "magic_wan_static_addressing": magic_wan_static_addressing, @@ -466,12 +411,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_single_response": magic_wan_single_response, "magic_wan_static_addressing": magic_wan_static_addressing, @@ -484,19 +424,20 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_wans_list", title: "List Site WANs", - description: "Lists Site WANs associated with an account.", + description: "Lists Site WANs associated with an account.\n\nGET /accounts/{account_id}/magic/sites/{site_id}/wans", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -509,21 +450,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "magic_identifier": magic_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/magic_wans_collection_response", $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_static_addressing": magic_wan_static_addressing, "magic_wans_collection_response": magic_wans_collection_response, @@ -565,12 +499,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_static_addressing": magic_wan_static_addressing, "magic_wans_collection_response": magic_wans_collection_response, @@ -583,7 +512,7 @@ export const tools: readonly Tool[] = [ { name: "magicTransit_sites_wans_update", title: "Update Site WAN", - description: "Update a specific Site WAN.", + description: "Update a specific Site WAN.\n\nPUT /accounts/{account_id}/magic/sites/{site_id}/wans/{wan_id}", inputSchema: { type: "object", properties: { @@ -591,18 +520,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/magic_wan_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "site_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "wan_id": { - "$ref": "#/$defs/magic_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -617,12 +547,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "magic_cidr": magic_cidr$, - "magic_identifier": magic_identifier$, - "magic_ip-address": magic_ip$$address$, - "magic_port": magic_port$, - "magic_vlan_tag": magic_vlan_tag$, "magic_wan_static_addressing_update": magic_wan_static_addressing_update, "magic_wan_update_request": magic_wan_update_request, }, @@ -632,12 +558,7 @@ export const tools: readonly Tool[] = [ $defs: { "magic_api-response-common": magic_api$$response$$common, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_modified_response": magic_wan_modified_response, "magic_wan_static_addressing": magic_wan_static_addressing, @@ -682,12 +603,7 @@ export const tools: readonly Tool[] = [ "magic_api-response-common": magic_api$$response$$common, "magic_api-response-common-failure": magic_api$$response$$common$$failure, "magic_api-response-single": magic_api$$response$$single, - "magic_cidr": magic_cidr, - "magic_identifier": magic_identifier, - "magic_ip-address": magic_ip$$address, "magic_messages": magic_messages, - "magic_port": magic_port, - "magic_vlan_tag": magic_vlan_tag, "magic_wan": magic_wan, "magic_wan_modified_response": magic_wan_modified_response, "magic_wan_static_addressing": magic_wan_static_addressing, diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts index 9c37c52b8..172f36927 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/reports/tools.ts @@ -38,11 +38,12 @@ export const tools: readonly Tool[] = [ { name: "managedDefense_vulnerabilityDiscovery_reports_get", title: "Get reviewed vulnerability report", - description: "Gets the repository projection of the active operator-reviewed scan report. `scan_id` is the customer scan's stable request ID.", + description: "Gets the repository projection of the active operator-reviewed scan report. `scan_id` is the customer scan's stable request ID.\n\nGET /accounts/{account_id}/managed-defense/vulnerability-discovery/repos/{repo_id}/scans/{scan_id}/report", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -67,6 +68,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_CuratedReportResponse", diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts index b5e810385..ec7689b8e 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/repositories/tools.ts @@ -32,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "managedDefense_vulnerabilityDiscovery_repositories_create", title: "Create repository", - description: "Creates an upload repository or reserves an asynchronous deployed Worker import by name. Worker imports require Idempotency-Key. Push upload source to `main` or specify the `branch` to scan in the scan request.", + description: "Creates an upload repository or reserves an asynchronous deployed Worker import by name. Worker imports require Idempotency-Key. Push upload source to `main` or specify the `branch` to scan in the scan request.\n\nPOST /accounts/{account_id}/managed-defense/vulnerability-discovery/repos", inputSchema: { type: "object", properties: { @@ -40,6 +40,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreateRepositoryRequest" }, "headers": { + "additionalProperties": false, "properties": { "Idempotency-Key": { "description": "Optional. Supply this header to safely retry a request. Required when `worker_script_name` is supplied.", @@ -49,6 +50,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -64,6 +66,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "managed-defense-vulnerability-discovery_CreateRepositoryRequest": managed$$defense$$vulnerability$$discovery_CreateRepositoryRequest, }, @@ -125,11 +128,12 @@ export const tools: readonly Tool[] = [ { name: "managedDefense_vulnerabilityDiscovery_repositories_createToken", title: "Create upload token", - description: "Creates a one-hour write token for an existing upload repository. Worker-imported repositories are system-managed and cannot receive upload tokens.", + description: "Creates a one-hour write token for an existing upload repository. Worker-imported repositories are system-managed and cannot receive upload tokens.\n\nPOST /accounts/{account_id}/managed-defense/vulnerability-discovery/repos/{repo_id}/token", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -149,6 +153,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_RepositoryTokenResponse", @@ -196,11 +201,12 @@ export const tools: readonly Tool[] = [ { name: "managedDefense_vulnerabilityDiscovery_repositories_get", title: "Get repository", - description: "Gets repository metadata, source readiness, and customer scan history.", + description: "Gets repository metadata, source readiness, and customer scan history.\n\nGET /accounts/{account_id}/managed-defense/vulnerability-discovery/repos/{repo_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -217,6 +223,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "scan_cursor": { "type": "string" @@ -232,6 +239,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_RepositoryResponse", @@ -293,11 +301,12 @@ export const tools: readonly Tool[] = [ { name: "managedDefense_vulnerabilityDiscovery_repositories_list", title: "List repositories", - description: "Lists repositories available for vulnerability discovery in an account.", + description: "Lists repositories available for vulnerability discovery in an account.\n\nGET /accounts/{account_id}/managed-defense/vulnerability-discovery/repos", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -309,6 +318,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "type": "string" @@ -324,6 +334,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_RepositoryListResponse", diff --git a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts index c0b000b2a..7a839b197 100644 --- a/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts +++ b/src/generated/forge-mcp/managedDefense/vulnerabilityDiscovery/scans/tools.ts @@ -48,7 +48,7 @@ export const tools: readonly Tool[] = [ { name: "managedDefense_vulnerabilityDiscovery_scans_create", title: "Create scan", - description: "Submits repository intent for operator review. This endpoint does not immediately start execution. Worker-imported repositories must be ready; explicit repository host scopes must be authorized and explicit branch selections must exist before the request is persisted.", + description: "Submits repository intent for operator review. This endpoint does not immediately start execution. Worker-imported repositories must be ready; explicit repository host scopes must be authorized and explicit branch selections must exist before the request is persisted.\n\nPOST /accounts/{account_id}/managed-defense/vulnerability-discovery/scans", inputSchema: { type: "object", properties: { @@ -56,6 +56,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/managed-defense-vulnerability-discovery_CreateScan" }, "headers": { + "additionalProperties": false, "properties": { "Idempotency-Key": { "description": "Optional. Supply this header to safely retry a request. Required when `worker_script_name` is supplied.", @@ -65,6 +66,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -80,6 +82,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "managed-defense-vulnerability-discovery_CreateScan": managed$$defense$$vulnerability$$discovery_CreateScan, "managed-defense-vulnerability-discovery_TelemetryWindow": managed$$defense$$vulnerability$$discovery_TelemetryWindow$, @@ -145,11 +148,12 @@ export const tools: readonly Tool[] = [ { name: "managedDefense_vulnerabilityDiscovery_scans_get", title: "Get scan", - description: "Gets one customer-requested scan across its review and execution lifecycle.", + description: "Gets one customer-requested scan across its review and execution lifecycle.\n\nGET /accounts/{account_id}/managed-defense/vulnerability-discovery/scans/{scan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -169,6 +173,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_ScanResponse", @@ -220,11 +225,12 @@ export const tools: readonly Tool[] = [ { name: "managedDefense_vulnerabilityDiscovery_scans_getReport", title: "Get reviewed vulnerability report", - description: "Gets the active operator-reviewed scan report. Repository metadata records report readiness even when no publication is available.", + description: "Gets the active operator-reviewed scan report. Repository metadata records report readiness even when no publication is available.\n\nGET /accounts/{account_id}/managed-defense/vulnerability-discovery/scans/{scan_id}/report", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -244,6 +250,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_ConsolidatedCuratedReportResponse", @@ -339,11 +346,12 @@ export const tools: readonly Tool[] = [ { name: "managedDefense_vulnerabilityDiscovery_scans_list", title: "List scans", - description: "Lists customer-requested scans across review and execution lifecycle states.", + description: "Lists customer-requested scans across review and execution lifecycle states.\n\nGET /accounts/{account_id}/managed-defense/vulnerability-discovery/scans", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -355,6 +363,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "type": "string" @@ -406,6 +415,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/managed-defense-vulnerability-discovery_ScanListResponse", diff --git a/src/generated/forge-mcp/managedTransforms/outputs.ts b/src/generated/forge-mcp/managedTransforms/outputs.ts index e20951753..72b90919a 100644 --- a/src/generated/forge-mcp/managedTransforms/outputs.ts +++ b/src/generated/forge-mcp/managedTransforms/outputs.ts @@ -12,7 +12,7 @@ export const rulesets_ManagedTransform: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/rulesets_ManagedTransformId" + "type": "string" }, { "type": "string" @@ -29,7 +29,7 @@ export const rulesets_ManagedTransform: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/rulesets_ManagedTransformId" + "type": "string" } }, "required": [ @@ -40,13 +40,6 @@ export const rulesets_ManagedTransform: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_ManagedTransformId` in responses. - */ -export const rulesets_ManagedTransformId: JsonSchema = { - "type": "string" -}; - /** * The schema of `rulesets_ManagedTransforms` in responses. */ diff --git a/src/generated/forge-mcp/managedTransforms/schemas.ts b/src/generated/forge-mcp/managedTransforms/schemas.ts index a94c8ef6d..6dceb8bc5 100644 --- a/src/generated/forge-mcp/managedTransforms/schemas.ts +++ b/src/generated/forge-mcp/managedTransforms/schemas.ts @@ -14,8 +14,8 @@ export const rulesets_ManagedTransform: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/rulesets_ManagedTransformId", - "description": "The human-readable identifier of the Managed Transform." + "description": "The human-readable identifier of the Managed Transform.", + "type": "string" } }, "required": [ @@ -25,14 +25,6 @@ export const rulesets_ManagedTransform: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_ManagedTransformId`. - */ -export const rulesets_ManagedTransformId: JsonSchema = { - "description": "The human-readable identifier of the Managed Transform.", - "type": "string" -}; - /** * The schema of `rulesets_ManagedTransformsPatch`. */ diff --git a/src/generated/forge-mcp/managedTransforms/tools.ts b/src/generated/forge-mcp/managedTransforms/tools.ts index 18fff815c..77a838284 100644 --- a/src/generated/forge-mcp/managedTransforms/tools.ts +++ b/src/generated/forge-mcp/managedTransforms/tools.ts @@ -8,15 +8,12 @@ import { rulesets_Messages, rulesets_Response, } from "../outputs.js"; -import { rulesets_ZoneId } from "../schemas.js"; import { rulesets_ManagedTransform, - rulesets_ManagedTransformId, rulesets_ManagedTransforms, } from "./outputs.js"; import { rulesets_ManagedTransform as rulesets_ManagedTransform$, - rulesets_ManagedTransformId as rulesets_ManagedTransformId$, rulesets_ManagedTransformsPatch, } from "./schemas.js"; @@ -27,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "managedTransforms_delete", title: "Delete Managed Transforms", - description: "Disables all Managed Transforms.", + description: "Disables all Managed Transforms.\n\nDELETE /zones/{zone_id}/managed_headers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -47,9 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rulesets_ZoneId": rulesets_ZoneId, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -130,15 +126,16 @@ export const tools: readonly Tool[] = [ { name: "managedTransforms_list", title: "List Managed Transforms", - description: "Fetches a list of all Managed Transforms.", + description: "Fetches a list of all Managed Transforms.\n\nGET /zones/{zone_id}/managed_headers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -150,9 +147,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rulesets_ZoneId": rulesets_ZoneId, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -178,7 +173,6 @@ export const tools: readonly Tool[] = [ $defs: { "rulesets_Errors": rulesets_Errors, "rulesets_ManagedTransform": rulesets_ManagedTransform, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId, "rulesets_ManagedTransforms": rulesets_ManagedTransforms, "rulesets_Message": rulesets_Message, "rulesets_Messages": rulesets_Messages, @@ -295,7 +289,6 @@ export const tools: readonly Tool[] = [ $defs: { "rulesets_Errors": rulesets_Errors, "rulesets_ManagedTransform": rulesets_ManagedTransform, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId, "rulesets_ManagedTransforms": rulesets_ManagedTransforms, "rulesets_Message": rulesets_Message, "rulesets_Messages": rulesets_Messages, @@ -309,7 +302,7 @@ export const tools: readonly Tool[] = [ { name: "managedTransforms_update", title: "Update Managed Transforms", - description: "Updates the status of one or more Managed Transforms.", + description: "Updates the status of one or more Managed Transforms.\n\nPATCH /zones/{zone_id}/managed_headers", inputSchema: { type: "object", properties: { @@ -317,10 +310,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/rulesets_ManagedTransformsPatch" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -333,11 +327,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "rulesets_ManagedTransform": rulesets_ManagedTransform$, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId$, "rulesets_ManagedTransformsPatch": rulesets_ManagedTransformsPatch, - "rulesets_ZoneId": rulesets_ZoneId, }, }, outputSchema: { @@ -364,7 +357,6 @@ export const tools: readonly Tool[] = [ $defs: { "rulesets_Errors": rulesets_Errors, "rulesets_ManagedTransform": rulesets_ManagedTransform, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId, "rulesets_ManagedTransforms": rulesets_ManagedTransforms, "rulesets_Message": rulesets_Message, "rulesets_Messages": rulesets_Messages, @@ -460,7 +452,6 @@ export const tools: readonly Tool[] = [ $defs: { "rulesets_Errors": rulesets_Errors, "rulesets_ManagedTransform": rulesets_ManagedTransform, - "rulesets_ManagedTransformId": rulesets_ManagedTransformId, "rulesets_ManagedTransforms": rulesets_ManagedTransforms, "rulesets_Message": rulesets_Message, "rulesets_Messages": rulesets_Messages, diff --git a/src/generated/forge-mcp/mcp/portals/tools.ts b/src/generated/forge-mcp/mcp/portals/tools.ts index d208e8582..dc6ce7e6b 100644 --- a/src/generated/forge-mcp/mcp/portals/tools.ts +++ b/src/generated/forge-mcp/mcp/portals/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_portals_accountToolCallAnalytics", title: "Account-global MCP tool-call timeseries", - description: "Returns daily or monthly tool-call counts across the account.\n\nThis method is beta.", + description: "Returns daily or monthly tool-call counts across the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/access/ai-controls/mcp/analytics/tool-calls/timeseries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -26,6 +27,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggregate": { "default": "false", @@ -69,6 +71,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -296,7 +299,7 @@ export const tools: readonly Tool[] = [ { name: "mcp_portals_create", title: "Create a new MCP Portal", - description: "Creates a new MCP portal for managing AI tool access through Cloudflare Access.\n\nThis method is beta.", + description: "Creates a new MCP portal for managing AI tool access through Cloudflare Access.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/access/ai-controls/mcp/portals", inputSchema: { type: "object", properties: { @@ -428,6 +431,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -442,6 +446,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1172,11 +1177,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_portals_delete", title: "Delete an MCP Portal", - description: "Deletes an MCP portal from the account.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the MCP portal.", + description: "Deletes an MCP portal from the account.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the MCP portal.\n\nDELETE /accounts/{account_id}/access/ai-controls/mcp/portals/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1196,6 +1202,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1392,11 +1399,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_portals_list", title: "List MCP Portals", - description: "Lists all MCP portals configured for the account.\n\nThis method is beta.", + description: "Lists all MCP portals configured for the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/access/ai-controls/mcp/portals", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1408,6 +1416,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -1428,6 +1437,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2159,11 +2169,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_portals_read", title: "Read details of an MCP Portal", - description: "Read the details of a single MCP Portal, including its configured servers.\n\nThis method is beta.", + description: "Read the details of a single MCP Portal, including its configured servers.\n\nThis method is beta.\n\nGET /accounts/{account_id}/access/ai-controls/mcp/portals/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2183,6 +2194,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2906,11 +2918,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_portals_toolCallAnalytics", title: "Per-portal MCP tool-call timeseries", - description: "Returns daily or monthly tool-call counts for a portal.\n\nThis method is beta.", + description: "Returns daily or monthly tool-call counts for a portal.\n\nThis method is beta.\n\nGET /accounts/{account_id}/access/ai-controls/mcp/analytics/portals/{portal_id}/tool-calls/timeseries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2926,6 +2939,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggregate": { "default": "false", @@ -2969,6 +2983,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3196,7 +3211,7 @@ export const tools: readonly Tool[] = [ { name: "mcp_portals_update", title: "Update an MCP Portal", - description: "Updates an MCP portal configuration.\n\nThis method is beta.", + description: "Updates an MCP portal configuration.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/access/ai-controls/mcp/portals/{id}", inputSchema: { type: "object", properties: { @@ -3319,6 +3334,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -3338,6 +3354,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/mcp/servers/tools.ts b/src/generated/forge-mcp/mcp/servers/tools.ts index d3f5165ff..463a879b5 100644 --- a/src/generated/forge-mcp/mcp/servers/tools.ts +++ b/src/generated/forge-mcp/mcp/servers/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "mcp_servers_create", title: "Create a new MCP Server", - description: "Creates a new MCP server for connecting to an upstream MCP endpoint.\n\nThis method is beta.", + description: "Creates a new MCP server for connecting to an upstream MCP endpoint.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/access/ai-controls/mcp/servers", inputSchema: { type: "object", properties: { @@ -132,6 +132,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -146,6 +147,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -722,11 +724,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_servers_delete", title: "Delete an MCP Server", - description: "Deletes an MCP server from the account.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the MCP server, removes it from every portal, and deletes its stored OAuth secrets.", + description: "Deletes an MCP server from the account.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the MCP server, removes it from every portal, and deletes its stored OAuth secrets.\n\nDELETE /accounts/{account_id}/access/ai-controls/mcp/servers/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -746,6 +749,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1314,11 +1318,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_servers_list", title: "List MCP Servers", - description: "Lists all MCP servers configured for the account.\n\nThis method is beta.", + description: "Lists all MCP servers configured for the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/access/ai-controls/mcp/servers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1330,6 +1335,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -1350,6 +1356,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1927,11 +1934,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_servers_read", title: "Read the details of an MCP Server", - description: "Retrieves an MCP server's configuration and capability sync state.\n\nThis method is beta.", + description: "Retrieves an MCP server's configuration and capability sync state.\n\nThis method is beta.\n\nGET /accounts/{account_id}/access/ai-controls/mcp/servers/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1951,6 +1959,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2520,11 +2529,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_servers_sync", title: "Sync MCP Server Capabilities", - description: "Syncs an MCP server's capabilities and returns the updated server state, including any connection errors.\n\nThis method is beta.", + description: "Syncs an MCP server's capabilities and returns the updated server state, including any connection errors.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/access/ai-controls/mcp/servers/{id}/sync", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2544,6 +2554,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2712,11 +2723,12 @@ export const tools: readonly Tool[] = [ { name: "mcp_servers_toolCallAnalytics", title: "Per-server MCP tool-call timeseries", - description: "Returns daily or monthly tool-call counts for a server.\n\nThis method is beta.", + description: "Returns daily or monthly tool-call counts for a server.\n\nThis method is beta.\n\nGET /accounts/{account_id}/access/ai-controls/mcp/analytics/servers/{server_id}/tool-calls/timeseries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2732,6 +2744,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggregate": { "default": "false", @@ -2775,6 +2788,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3002,7 +3016,7 @@ export const tools: readonly Tool[] = [ { name: "mcp_servers_update", title: "Update an MCP Server", - description: "Updates an MCP server's configuration and credentials.\n\nThis method is beta.", + description: "Updates an MCP server's configuration and credentials.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/access/ai-controls/mcp/servers/{id}", inputSchema: { type: "object", properties: { @@ -3101,6 +3115,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -3120,6 +3135,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/media/usage/tools.ts b/src/generated/forge-mcp/media/usage/tools.ts index 2861b9dda..ecec493a0 100644 --- a/src/generated/forge-mcp/media/usage/tools.ts +++ b/src/generated/forge-mcp/media/usage/tools.ts @@ -9,7 +9,6 @@ import { usage$$analytics_stream_usage_data_point, usage$$analytics_stream_usage_response, } from "../../outputs.js"; -import { usage$$analytics_identifier } from "../../schemas.js"; /** * The tools of `media.usage`. @@ -18,11 +17,12 @@ export const tools: readonly Tool[] = [ { name: "media_usage_get", title: "Get account or zone Media usage", - description: "Retrieve Media usage analytics for an account or zone. This endpoint shares the same backend handler as the Stream usage endpoint and returns identical Stream metrics (streamMinutesViewed). The gateway rewrites this path to the shared usage handler.\n\nThis method is deprecated.", + description: "Retrieve Media usage analytics for an account or zone. This endpoint shares the same backend handler as the Stream usage endpoint and returns identical Stream metrics (streamMinutesViewed). The gateway rewrites this path to the shared usage handler.\n\nThis method is deprecated.\n\nGET /{account_or_zone}/{account_or_zone_id}/media/usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -33,8 +33,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/usage-analytics_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -44,28 +44,29 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "filters": { - "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.\n", + "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.", "type": "string" }, "limit": { "default": 100, - "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.\n", + "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.", "type": "integer" }, "metrics": { - "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.\n", + "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.", "type": "string" }, "since": { - "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.\n", + "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.", "format": "date-time", "type": "string" }, "time_delta": { "default": "hour", - "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.\n", + "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.", "enum": [ "hour", "day", @@ -77,7 +78,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "until": { - "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.\n", + "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.", "format": "date-time", "type": "string" } @@ -88,9 +89,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "usage-analytics_identifier": usage$$analytics_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/usage-analytics_stream_usage_response", diff --git a/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts b/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts index 1a6ff8cdb..3a951ac5a 100644 --- a/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts +++ b/src/generated/forge-mcp/mesh/nodes/configurations/outputs.ts @@ -40,16 +40,32 @@ export const tunnel_mesh_configuration_response: JsonSchema = { "type": "integer" }, "created_at": { - "$ref": "#/$defs/tunnel_created_at" + "format": "date-time", + "type": "string" }, "ha_mode": { - "$ref": "#/$defs/tunnel_mesh_ha_mode" + "enum": [ + "none", + "disabled", + "aws", + "local" + ], + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2" + "format": "uuid", + "type": "string" }, "updated_at": { - "$ref": "#/$defs/tunnel_updated_at" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -80,19 +96,6 @@ export const tunnel_mesh_configuration_response_single: JsonSchema = { ] }; -/** - * The schema of `tunnel_mesh_ha_mode` in responses. - */ -export const tunnel_mesh_ha_mode: JsonSchema = { - "enum": [ - "none", - "disabled", - "aws", - "local" - ], - "type": "string" -}; - /** * The schema of `tunnel_mesh_local_config` in responses. */ @@ -134,18 +137,3 @@ export const tunnel_mesh_vip_entry: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `tunnel_updated_at` in responses. - */ -export const tunnel_updated_at: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; diff --git a/src/generated/forge-mcp/mesh/nodes/configurations/schemas.ts b/src/generated/forge-mcp/mesh/nodes/configurations/schemas.ts index a64a3cc65..6a4ba42bc 100644 --- a/src/generated/forge-mcp/mesh/nodes/configurations/schemas.ts +++ b/src/generated/forge-mcp/mesh/nodes/configurations/schemas.ts @@ -42,8 +42,14 @@ export const tunnel_mesh_configuration_request_body: JsonSchema = { ] }, "ha_mode": { - "$ref": "#/$defs/tunnel_mesh_ha_mode", - "description": "High-availability mode for the Mesh node. `none` means HA is enabled but no provider is configured yet (newly created nodes default to this). `disabled` means HA is explicitly turned off. `aws` uses AWS ENI move for failover. `local` uses virtual IPs (VIPs) on the local interface." + "description": "High-availability mode for the Mesh node. `none` means HA is enabled but no provider is configured yet (newly created nodes default to this). `disabled` means HA is explicitly turned off. `aws` uses AWS ENI move for failover. `local` uses virtual IPs (VIPs) on the local interface.", + "enum": [ + "none", + "disabled", + "aws", + "local" + ], + "type": "string" } }, "required": [ @@ -52,20 +58,6 @@ export const tunnel_mesh_configuration_request_body: JsonSchema = { "type": "object" }; -/** - * The schema of `tunnel_mesh_ha_mode`. - */ -export const tunnel_mesh_ha_mode: JsonSchema = { - "description": "High-availability mode for the Mesh node. `none` means HA is enabled but no provider is configured yet (newly created nodes default to this). `disabled` means HA is explicitly turned off. `aws` uses AWS ENI move for failover. `local` uses virtual IPs (VIPs) on the local interface.", - "enum": [ - "none", - "disabled", - "aws", - "local" - ], - "type": "string" -}; - /** * The schema of `tunnel_mesh_local_config`. */ diff --git a/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts b/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts index a153fc40d..f6a5c6931 100644 --- a/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/configurations/tools.ts @@ -5,27 +5,18 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { tunnel_api$$response$$common$$failure$$2, tunnel_api$$response$$single$$2, - tunnel_created_at, tunnel_messages$$2, - tunnel_tunnel_id$$2, } from "../../../outputs.js"; -import { - tunnel_identifier, - tunnel_tunnel_id$$2 as tunnel_tunnel_id$$2$, -} from "../../../schemas.js"; import { tunnel_mesh_aws_config, tunnel_mesh_configuration_response, tunnel_mesh_configuration_response_single, - tunnel_mesh_ha_mode, tunnel_mesh_local_config, tunnel_mesh_vip_entry, - tunnel_updated_at, } from "./outputs.js"; import { tunnel_mesh_aws_config as tunnel_mesh_aws_config$, tunnel_mesh_configuration_request_body, - tunnel_mesh_ha_mode as tunnel_mesh_ha_mode$, tunnel_mesh_local_config as tunnel_mesh_local_config$, tunnel_mesh_vip_entry as tunnel_mesh_vip_entry$, } from "./schemas.js"; @@ -37,19 +28,21 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_configurations_get", title: "Get Mesh node HA configuration", - description: "Gets the high-availability configuration for a Mesh node.", + description: "Gets the high-availability configuration for a Mesh node.\n\nGET /accounts/{account_id}/warp_connector/{tunnel_id}/configurations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -62,25 +55,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_identifier": tunnel_identifier, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_mesh_configuration_response_single", $defs: { "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, - "tunnel_created_at": tunnel_created_at, "tunnel_mesh_aws_config": tunnel_mesh_aws_config, "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response, "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode, "tunnel_mesh_local_config": tunnel_mesh_local_config, "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry, "tunnel_messages-2": tunnel_messages$$2, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, - "tunnel_updated_at": tunnel_updated_at, }, }, annotations: { @@ -112,16 +98,12 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common-failure-2": tunnel_api$$response$$common$$failure$$2, "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, - "tunnel_created_at": tunnel_created_at, "tunnel_mesh_aws_config": tunnel_mesh_aws_config, "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response, "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode, "tunnel_mesh_local_config": tunnel_mesh_local_config, "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry, "tunnel_messages-2": tunnel_messages$$2, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, - "tunnel_updated_at": tunnel_updated_at, }, }, request: (args) => ({ @@ -131,7 +113,7 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_configurations_update", title: "Update Mesh node HA configuration", - description: "Adds or updates the high-availability configuration for a Mesh node.", + description: "Adds or updates the high-availability configuration for a Mesh node.\n\nPUT /accounts/{account_id}/warp_connector/{tunnel_id}/configurations", inputSchema: { type: "object", properties: { @@ -139,14 +121,16 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/tunnel_mesh_configuration_request_body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -160,30 +144,24 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tunnel_identifier": tunnel_identifier, "tunnel_mesh_aws_config": tunnel_mesh_aws_config$, "tunnel_mesh_configuration_request_body": tunnel_mesh_configuration_request_body, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode$, "tunnel_mesh_local_config": tunnel_mesh_local_config$, "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry$, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2$, }, }, outputSchema: { "$ref": "#/$defs/tunnel_mesh_configuration_response_single", $defs: { "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, - "tunnel_created_at": tunnel_created_at, "tunnel_mesh_aws_config": tunnel_mesh_aws_config, "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response, "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode, "tunnel_mesh_local_config": tunnel_mesh_local_config, "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry, "tunnel_messages-2": tunnel_messages$$2, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, - "tunnel_updated_at": tunnel_updated_at, }, }, annotations: { @@ -213,16 +191,12 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common-failure-2": tunnel_api$$response$$common$$failure$$2, "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, - "tunnel_created_at": tunnel_created_at, "tunnel_mesh_aws_config": tunnel_mesh_aws_config, "tunnel_mesh_configuration_response": tunnel_mesh_configuration_response, "tunnel_mesh_configuration_response_single": tunnel_mesh_configuration_response_single, - "tunnel_mesh_ha_mode": tunnel_mesh_ha_mode, "tunnel_mesh_local_config": tunnel_mesh_local_config, "tunnel_mesh_vip_entry": tunnel_mesh_vip_entry, "tunnel_messages-2": tunnel_messages$$2, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, - "tunnel_updated_at": tunnel_updated_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/mesh/nodes/connections/tools.ts b/src/generated/forge-mcp/mesh/nodes/connections/tools.ts index bda1f61b5..5354c265d 100644 --- a/src/generated/forge-mcp/mesh/nodes/connections/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/connections/tools.ts @@ -6,20 +6,11 @@ import { tunnel_api$$response$$collection, tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_arch, - tunnel_client_id, - tunnel_colo_name, - tunnel_connection_id, tunnel_features, - tunnel_ip, tunnel_messages, tunnel_result_info, - tunnel_run_at, - tunnel_version, } from "../../../outputs.js"; -import { tunnel_account_id, tunnel_tunnel_id } from "../../../schemas.js"; import { - tunnel_ha_status, tunnel_schemas$$warp$$connector$$connection, tunnel_tunnel_warp_connector_client, tunnel_warp_connector_connections, @@ -33,19 +24,21 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_connections_list", title: "List Mesh node connections", - description: "Lists connection details for a Mesh node.", + description: "Lists connection details for a Mesh node.\n\nGET /accounts/{account_id}/warp_connector/{tunnel_id}/connections", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -58,30 +51,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_warp_connector_connections_response", $defs: { "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_arch": tunnel_arch, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_features": tunnel_features, - "tunnel_ha_status": tunnel_ha_status, - "tunnel_ip": tunnel_ip, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, - "tunnel_run_at": tunnel_run_at, "tunnel_schemas-warp-connector-connection": tunnel_schemas$$warp$$connector$$connection, "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client, "tunnel_tunnel_warp_connector_connections_response": tunnel_tunnel_warp_connector_connections_response, - "tunnel_version": tunnel_version, "tunnel_warp_connector_connections": tunnel_warp_connector_connections, }, }, @@ -122,20 +104,12 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_arch": tunnel_arch, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_features": tunnel_features, - "tunnel_ha_status": tunnel_ha_status, - "tunnel_ip": tunnel_ip, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, - "tunnel_run_at": tunnel_run_at, "tunnel_schemas-warp-connector-connection": tunnel_schemas$$warp$$connector$$connection, "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client, "tunnel_tunnel_warp_connector_connections_response": tunnel_tunnel_warp_connector_connections_response, - "tunnel_version": tunnel_version, "tunnel_warp_connector_connections": tunnel_warp_connector_connections, }, }, diff --git a/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts b/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts index 1cb233224..230425807 100644 --- a/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/connectors/tools.ts @@ -5,23 +5,10 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_arch, - tunnel_client_id, - tunnel_colo_name, - tunnel_connection_id, tunnel_features, - tunnel_ip, tunnel_messages, - tunnel_run_at, - tunnel_version, } from "../../../outputs.js"; import { - tunnel_account_id, - tunnel_client_id as tunnel_client_id$, - tunnel_tunnel_id, -} from "../../../schemas.js"; -import { - tunnel_ha_status, tunnel_schemas$$warp$$connector$$connection, tunnel_tunnel_warp_connector_client, tunnel_warp_connector_connections, @@ -35,23 +22,26 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_connectors_get", title: "Get a Mesh node connector", - description: "Fetches connector and connection details for a Mesh node.", + description: "Fetches connector and connection details for a Mesh node.\n\nGET /accounts/{account_id}/warp_connector/{tunnel_id}/connectors/{connector_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "connector_id": { - "$ref": "#/$defs/tunnel_client_id", - "description": "UUID of the Cloudflare Tunnel connector." + "description": "UUID of the Cloudflare Tunnel connector.", + "format": "uuid", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -65,29 +55,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_client_id": tunnel_client_id$, - "tunnel_tunnel_id": tunnel_tunnel_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_warp_connector_client_response", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_arch": tunnel_arch, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_features": tunnel_features, - "tunnel_ha_status": tunnel_ha_status, - "tunnel_ip": tunnel_ip, "tunnel_messages": tunnel_messages, - "tunnel_run_at": tunnel_run_at, "tunnel_schemas-warp-connector-connection": tunnel_schemas$$warp$$connector$$connection, "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client, "tunnel_tunnel_warp_connector_client_response": tunnel_tunnel_warp_connector_client_response, - "tunnel_version": tunnel_version, "tunnel_warp_connector_connections": tunnel_warp_connector_connections, }, }, @@ -127,19 +105,11 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_arch": tunnel_arch, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_features": tunnel_features, - "tunnel_ha_status": tunnel_ha_status, - "tunnel_ip": tunnel_ip, "tunnel_messages": tunnel_messages, - "tunnel_run_at": tunnel_run_at, "tunnel_schemas-warp-connector-connection": tunnel_schemas$$warp$$connector$$connection, "tunnel_tunnel_warp_connector_client": tunnel_tunnel_warp_connector_client, "tunnel_tunnel_warp_connector_client_response": tunnel_tunnel_warp_connector_client_response, - "tunnel_version": tunnel_version, "tunnel_warp_connector_connections": tunnel_warp_connector_connections, }, }, diff --git a/src/generated/forge-mcp/mesh/nodes/outputs.ts b/src/generated/forge-mcp/mesh/nodes/outputs.ts index 9dba952d0..ac6cdae9e 100644 --- a/src/generated/forge-mcp/mesh/nodes/outputs.ts +++ b/src/generated/forge-mcp/mesh/nodes/outputs.ts @@ -3,41 +3,31 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tunnel_ha_status` in responses. - */ -export const tunnel_ha_status: JsonSchema = { - "enum": [ - "offline", - "passive", - "active" - ], - "type": "string" -}; - /** * The schema of `tunnel_schemas-warp-connector-connection` in responses. */ export const tunnel_schemas$$warp$$connector$$connection: JsonSchema = { "properties": { "client_id": { - "$ref": "#/$defs/tunnel_client_id" + "format": "uuid", + "type": "string" }, "client_version": { - "$ref": "#/$defs/tunnel_version" + "type": "string" }, "colo_name": { - "$ref": "#/$defs/tunnel_colo_name" + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_connection_id" + "format": "uuid", + "type": "string" }, "opened_at": { "format": "date-time", "type": "string" }, "origin_ip": { - "$ref": "#/$defs/tunnel_ip" + "type": "string" } }, "type": "object" @@ -49,7 +39,7 @@ export const tunnel_schemas$$warp$$connector$$connection: JsonSchema = { export const tunnel_tunnel_warp_connector_client: JsonSchema = { "properties": { "arch": { - "$ref": "#/$defs/tunnel_arch" + "type": "string" }, "conns": { "$ref": "#/$defs/tunnel_warp_connector_connections" @@ -58,16 +48,23 @@ export const tunnel_tunnel_warp_connector_client: JsonSchema = { "$ref": "#/$defs/tunnel_features" }, "ha_status": { - "$ref": "#/$defs/tunnel_ha_status" + "enum": [ + "offline", + "passive", + "active" + ], + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_client_id" + "format": "uuid", + "type": "string" }, "run_at": { - "$ref": "#/$defs/tunnel_run_at" + "format": "date-time", + "type": "string" }, "version": { - "$ref": "#/$defs/tunnel_version" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/mesh/nodes/schemas.ts b/src/generated/forge-mcp/mesh/nodes/schemas.ts deleted file mode 100644 index 5b05b40d9..000000000 --- a/src/generated/forge-mcp/mesh/nodes/schemas.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tunnel_client_id_input`. - */ -export const tunnel_client_id_input: JsonSchema = { - "description": "UUID of the Cloudflare Tunnel connector.", - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/mesh/nodes/token/tools.ts b/src/generated/forge-mcp/mesh/nodes/token/tools.ts index aaeb38274..5ec1ea725 100644 --- a/src/generated/forge-mcp/mesh/nodes/token/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/token/tools.ts @@ -7,9 +7,7 @@ import { tunnel_api$$response$$common$$failure, tunnel_messages, tunnel_tunnel_response_token, - tunnel_tunnel_token, } from "../../../outputs.js"; -import { tunnel_account_id, tunnel_tunnel_id } from "../../../schemas.js"; /** * The tools of `mesh.nodes.token`. @@ -18,19 +16,21 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_token_get", title: "Get a Mesh node token", - description: "Gets the token used to associate a WARP device with a specific Mesh node.", + description: "Gets the token used to associate a WARP device with a specific Mesh node.\n\nGET /accounts/{account_id}/warp_connector/{tunnel_id}/token", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -43,10 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_response_token", @@ -54,7 +51,6 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_messages": tunnel_messages, "tunnel_tunnel_response_token": tunnel_tunnel_response_token, - "tunnel_tunnel_token": tunnel_tunnel_token, }, }, annotations: { @@ -94,7 +90,6 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, "tunnel_messages": tunnel_messages, "tunnel_tunnel_response_token": tunnel_tunnel_response_token, - "tunnel_tunnel_token": tunnel_tunnel_token, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/mesh/nodes/tools.ts b/src/generated/forge-mcp/mesh/nodes/tools.ts index 2fb0cbc0c..c75bfd0d2 100644 --- a/src/generated/forge-mcp/mesh/nodes/tools.ts +++ b/src/generated/forge-mcp/mesh/nodes/tools.ts @@ -3,47 +3,21 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - tunnel_account_id, tunnel_api$$response$$collection, tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_client_id, - tunnel_colo_name, - tunnel_connection_id, tunnel_connections_deprecated, - tunnel_conns_active_at, - tunnel_conns_inactive_at, - tunnel_created_at, - tunnel_deleted_at, tunnel_empty_response, - tunnel_ip, - tunnel_is_pending_reconnect, tunnel_messages, tunnel_metadata, tunnel_result_info, tunnel_schemas$$connection, - tunnel_status, - tunnel_tunnel_id, - tunnel_tunnel_name, - tunnel_tunnel_type, - tunnel_version, tunnel_warp_connector_tunnel, } from "../../outputs.js"; -import { - tunnel_account_id as tunnel_account_id$, - tunnel_existed_at, - tunnel_page_number, - tunnel_per_page, - tunnel_status as tunnel_status$, - tunnel_tunnel_id as tunnel_tunnel_id$, - tunnel_tunnel_name as tunnel_tunnel_name$, - tunnel_tunnel_secret, -} from "../../schemas.js"; import { tunnel_warp$$connector$$response$$collection, tunnel_warp$$connector$$response$$single, } from "./outputs.js"; -import { tunnel_client_id_input } from "./schemas.js"; /** * The tools of `mesh.nodes`. @@ -52,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_create", title: "Create a Mesh node", - description: "Creates a new Mesh node in an account.", + description: "Creates a new Mesh node in an account.\n\nPOST /accounts/{account_id}/warp_connector", inputSchema: { type: "object", properties: { @@ -64,8 +38,8 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_tunnel_name", - "description": "A user-friendly name for a tunnel." + "description": "A user-friendly name for a tunnel.", + "type": "string" } }, "required": [ @@ -74,10 +48,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -90,34 +65,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_tunnel_name": tunnel_tunnel_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-single", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, @@ -154,27 +111,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, @@ -187,19 +129,21 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_delete", title: "Delete a Mesh node", - description: "Deletes a Mesh node from an account.\n\nConfirm with the user before calling this tool. This operation permanently deletes a Mesh node.", + description: "Deletes a Mesh node from an account.\n\nConfirm with the user before calling this tool. This operation permanently deletes a Mesh node.\n\nDELETE /accounts/{account_id}/warp_connector/{tunnel_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -212,34 +156,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-single", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, @@ -276,27 +202,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, @@ -308,32 +219,34 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_edit", title: "Update a Mesh node", - description: "Updates an existing Mesh node.", + description: "Updates an existing Mesh node.\n\nPATCH /accounts/{account_id}/warp_connector/{tunnel_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "name": { - "$ref": "#/$defs/tunnel_tunnel_name", - "description": "A user-friendly name for a tunnel." + "description": "A user-friendly name for a tunnel.", + "type": "string" }, "tunnel_secret": { - "$ref": "#/$defs/tunnel_tunnel_secret", - "description": "Sets the password required to run a locally-managed tunnel. Must be at least 32 bytes and encoded as a base64 string." + "description": "Sets the password required to run a locally-managed tunnel. Must be at least 32 bytes and encoded as a base64 string.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -347,36 +260,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - "tunnel_tunnel_name": tunnel_tunnel_name$, - "tunnel_tunnel_secret": tunnel_tunnel_secret, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-single", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, @@ -413,27 +306,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, @@ -446,14 +324,16 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_failover", title: "Trigger a manual failover for a Mesh node", - description: "Triggers a manual failover for a specific Mesh node, setting the specified client as the active connector. The tunnel must be configured for high availability (HA) and the client must be linked to the tunnel.\n\nConfirm with the user before calling this tool. This operation triggers a manual failover, changing the active connector for a Mesh node.", + description: "Triggers a manual failover for a specific Mesh node, setting the specified client as the active connector. The tunnel must be configured for high availability (HA) and the client must be linked to the tunnel.\n\nConfirm with the user before calling this tool. This operation triggers a manual failover, changing the active connector for a Mesh node.\n\nPUT /accounts/{account_id}/warp_connector/{tunnel_id}/failover", inputSchema: { type: "object", properties: { "body": { "properties": { "client_id": { - "$ref": "#/$defs/tunnel_client_id_input" + "description": "UUID of the Cloudflare Tunnel connector.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -462,14 +342,16 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -483,11 +365,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_client_id_input": tunnel_client_id_input, - "tunnel_tunnel_id": tunnel_tunnel_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_empty_response", @@ -543,19 +421,21 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_get", title: "Get a Mesh node", - description: "Fetches a single Mesh node.", + description: "Fetches a single Mesh node.\n\nGET /accounts/{account_id}/warp_connector/{tunnel_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -568,34 +448,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-single", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, @@ -634,27 +496,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-single": tunnel_warp$$connector$$response$$single, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, @@ -666,15 +513,16 @@ export const tools: readonly Tool[] = [ { name: "mesh_nodes_list", title: "List Mesh nodes", - description: "Lists and filters Mesh nodes in an account.", + description: "Lists and filters Mesh nodes in an account.\n\nGET /accounts/{account_id}/warp_connector", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -683,13 +531,14 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "exclude_prefix": { "type": "string" }, "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded.", + "type": "string" }, "include_prefix": { "type": "string" @@ -703,21 +552,28 @@ export const tools: readonly Tool[] = [ "type": "string" }, "page": { - "$ref": "#/$defs/tunnel_page_number", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "number" }, "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." + "description": "Number of results to display.", + "type": "number" }, "status": { - "$ref": "#/$defs/tunnel_status", - "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge)." + "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).", + "enum": [ + "inactive", + "degraded", + "healthy", + "down" + ], + "type": "string" }, "uuid": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" }, "was_active_at": { "format": "date-time", @@ -734,40 +590,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_existed_at": tunnel_existed_at, - "tunnel_page_number": tunnel_page_number, - "tunnel_per_page": tunnel_per_page, - "tunnel_status": tunnel_status$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_warp-connector-response-collection", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_result_info": tunnel_result_info, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-collection": tunnel_warp$$connector$$response$$collection, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, @@ -806,29 +640,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, "tunnel_result_info": tunnel_result_info, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp-connector-response-collection": tunnel_warp$$connector$$response$$collection, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, diff --git a/src/generated/forge-mcp/monetization/accountEligibility/schemas.ts b/src/generated/forge-mcp/monetization/accountEligibility/schemas.ts index 1b9c29409..8aaa00b9a 100644 --- a/src/generated/forge-mcp/monetization/accountEligibility/schemas.ts +++ b/src/generated/forge-mcp/monetization/accountEligibility/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `monetization_account-identifier`. - */ -export const monetization_account$$identifier: JsonSchema = { - "description": "The unique ID of the account.", - "type": "string" -}; - /** * The schema of `monetization_monetization-account-eligibility-check-input`. */ diff --git a/src/generated/forge-mcp/monetization/accountEligibility/tools.ts b/src/generated/forge-mcp/monetization/accountEligibility/tools.ts index 71da3a02d..446375c6e 100644 --- a/src/generated/forge-mcp/monetization/accountEligibility/tools.ts +++ b/src/generated/forge-mcp/monetization/accountEligibility/tools.ts @@ -12,10 +12,7 @@ import { monetization_monetization$$eligibility$$response, monetization_monetization$$eligibility$$result, } from "./outputs.js"; -import { - monetization_account$$identifier, - monetization_monetization$$account$$eligibility$$check$$input, -} from "./schemas.js"; +import { monetization_monetization$$account$$eligibility$$check$$input } from "./schemas.js"; /** * The tools of `monetization.accountEligibility`. @@ -24,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "monetization_accountEligibility_check", title: "Check account or zone monetization eligibility", - description: "Checks the account or zone for Monetization Gateway eligibility and returns its pending, approved, or rejected decision.\n\nThis method is beta.", + description: "Checks the account or zone for Monetization Gateway eligibility and returns its pending, approved, or rejected decision.\n\nThis method is beta.\n\nPOST /{account_or_zone}/{account_or_zone_id}/monetization", inputSchema: { type: "object", properties: { @@ -32,6 +29,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/monetization_monetization-account-eligibility-check-input" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -42,8 +40,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/monetization_account-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -57,8 +55,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "monetization_account-identifier": monetization_account$$identifier, "monetization_monetization-account-eligibility-check-input": monetization_monetization$$account$$eligibility$$check$$input, }, }, @@ -111,11 +109,12 @@ export const tools: readonly Tool[] = [ { name: "monetization_accountEligibility_get", title: "Get account or zone monetization eligibility", - description: "Returns the account or zone's latest stored monetization eligibility result.\n\nThis method is beta.", + description: "Returns the account or zone's latest stored monetization eligibility result.\n\nThis method is beta.\n\nGET /{account_or_zone}/{account_or_zone_id}/monetization", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -126,8 +125,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/monetization_account-identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -140,9 +139,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "monetization_account-identifier": monetization_account$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-eligibility-response", diff --git a/src/generated/forge-mcp/monetization/rules/outputs.ts b/src/generated/forge-mcp/monetization/rules/outputs.ts index d00add304..ccfa5d10f 100644 --- a/src/generated/forge-mcp/monetization/rules/outputs.ts +++ b/src/generated/forge-mcp/monetization/rules/outputs.ts @@ -3,20 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `monetization_identifier` in responses. - */ -export const monetization_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `monetization_monetization-price` in responses. - */ -export const monetization_monetization$$price: JsonSchema = { - "type": "string" -}; - /** * The schema of `monetization_monetization-rule` in responses. */ @@ -28,7 +14,7 @@ export const monetization_monetization$$rule: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/monetization_identifier" + "type": "string" } }, "required": [ @@ -113,10 +99,10 @@ export const monetization_monetization$$rule$$input$$fixed$$price: JsonSchema = "type": "string" }, "id": { - "$ref": "#/$defs/monetization_identifier" + "type": "string" }, "price": { - "$ref": "#/$defs/monetization_monetization-price" + "type": "string" }, "scheme": { "enum": [ @@ -154,7 +140,7 @@ export const monetization_monetization$$rule$$input$$origin$$controlled: JsonSch "type": "string" }, "id": { - "$ref": "#/$defs/monetization_identifier" + "type": "string" }, "scheme": { "enum": [ diff --git a/src/generated/forge-mcp/monetization/rules/schemas.ts b/src/generated/forge-mcp/monetization/rules/schemas.ts index 68af98631..f1b3c776e 100644 --- a/src/generated/forge-mcp/monetization/rules/schemas.ts +++ b/src/generated/forge-mcp/monetization/rules/schemas.ts @@ -3,21 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `monetization_identifier`. - */ -export const monetization_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `monetization_monetization-price`. - */ -export const monetization_monetization$$price: JsonSchema = { - "description": "Price in the smallest indivisible unit of the configured payment token, encoded as a decimal string. Must be a canonical decimal integer in [1000, 100000000]: no leading zeros, and a bare JSON number is rejected. The price is required for the fixed-price schemes (\"exact\" and \"upto\") and must be at least 1000, the smallest amount the payment facilitator can settle ($0.001 for a 6-decimal token such as USDC), and at most 100000000 ($100 for a 6-decimal token). When the scheme is \"origin_controlled\" the origin server sets pricing dynamically and the rule carries no price: the field must be omitted — any provided value, including \"0\", is rejected because it would not be enforced. Responses always encode this as a string and omit it for \"origin_controlled\" rules; the pattern matches exactly the set of values the server accepts.", - "type": "string" -}; - /** * The schema of `monetization_monetization-rule-input`. */ @@ -54,12 +39,12 @@ export const monetization_monetization$$rule$$input$$fixed$$price: JsonSchema = "type": "string" }, "id": { - "$ref": "#/$defs/monetization_identifier", - "description": "Optional on input. Include the ID of an existing payment rule to update it in place, preserving its stable identity across the full-ruleset replacement; omit it to create a new rule. An ID that does not match an existing payment rule in the zone is rejected. Rules omitted from the request are deleted." + "description": "Optional on input. Include the ID of an existing payment rule to update it in place, preserving its stable identity across the full-ruleset replacement; omit it to create a new rule. An ID that does not match an existing payment rule in the zone is rejected. Rules omitted from the request are deleted.", + "type": "string" }, "price": { - "$ref": "#/$defs/monetization_monetization-price", - "description": "Price in the smallest indivisible unit of the configured payment token, encoded as a decimal string. Must be a canonical decimal integer in [1000, 100000000]: no leading zeros, and a bare JSON number is rejected. The price is required for the fixed-price schemes (\"exact\" and \"upto\") and must be at least 1000, the smallest amount the payment facilitator can settle ($0.001 for a 6-decimal token such as USDC), and at most 100000000 ($100 for a 6-decimal token). When the scheme is \"origin_controlled\" the origin server sets pricing dynamically and the rule carries no price: the field must be omitted — any provided value, including \"0\", is rejected because it would not be enforced. Responses always encode this as a string and omit it for \"origin_controlled\" rules; the pattern matches exactly the set of values the server accepts." + "description": "Price in the smallest indivisible unit of the configured payment token, encoded as a decimal string. Must be a canonical decimal integer in [1000, 100000000]: no leading zeros, and a bare JSON number is rejected. The price is required for the fixed-price schemes (\"exact\" and \"upto\") and must be at least 1000, the smallest amount the payment facilitator can settle ($0.001 for a 6-decimal token such as USDC), and at most 100000000 ($100 for a 6-decimal token). When the scheme is \"origin_controlled\" the origin server sets pricing dynamically and the rule carries no price: the field must be omitted — any provided value, including \"0\", is rejected because it would not be enforced. Responses always encode this as a string and omit it for \"origin_controlled\" rules; the pattern matches exactly the set of values the server accepts.", + "type": "string" }, "scheme": { "description": "X402 payment scheme. \"exact\" requires the specified payment amount; \"upto\" permits a payment up to the specified amount. Both fixed-price schemes require the price field.", @@ -101,8 +86,8 @@ export const monetization_monetization$$rule$$input$$origin$$controlled: JsonSch "type": "string" }, "id": { - "$ref": "#/$defs/monetization_identifier", - "description": "Optional on input. Include the ID of an existing payment rule to update it in place, preserving its stable identity across the full-ruleset replacement; omit it to create a new rule. An ID that does not match an existing payment rule in the zone is rejected. Rules omitted from the request are deleted." + "description": "Optional on input. Include the ID of an existing payment rule to update it in place, preserving its stable identity across the full-ruleset replacement; omit it to create a new rule. An ID that does not match an existing payment rule in the zone is rejected. Rules omitted from the request are deleted.", + "type": "string" }, "scheme": { "description": "X402 payment scheme. \"origin_controlled\" lets the origin server set pricing dynamically; the rule carries no price and the price field must be omitted.", @@ -141,12 +126,17 @@ export const monetization_monetization$$rule$$patch: JsonSchema = { "type": "string" }, "price": { - "$ref": "#/$defs/monetization_monetization-price", - "description": "Price in the smallest indivisible unit of the configured payment token, encoded as a decimal string. Must be a canonical decimal integer in [1000, 100000000]: no leading zeros, and a bare JSON number is rejected. The price is required for the fixed-price schemes (\"exact\" and \"upto\") and must be at least 1000, the smallest amount the payment facilitator can settle ($0.001 for a 6-decimal token such as USDC), and at most 100000000 ($100 for a 6-decimal token). When the scheme is \"origin_controlled\" the origin server sets pricing dynamically and the rule carries no price: the field must be omitted — any provided value, including \"0\", is rejected because it would not be enforced. Responses always encode this as a string and omit it for \"origin_controlled\" rules; the pattern matches exactly the set of values the server accepts." + "description": "Price in the smallest indivisible unit of the configured payment token, encoded as a decimal string. Must be a canonical decimal integer in [1000, 100000000]: no leading zeros, and a bare JSON number is rejected. The price is required for the fixed-price schemes (\"exact\" and \"upto\") and must be at least 1000, the smallest amount the payment facilitator can settle ($0.001 for a 6-decimal token such as USDC), and at most 100000000 ($100 for a 6-decimal token). When the scheme is \"origin_controlled\" the origin server sets pricing dynamically and the rule carries no price: the field must be omitted — any provided value, including \"0\", is rejected because it would not be enforced. Responses always encode this as a string and omit it for \"origin_controlled\" rules; the pattern matches exactly the set of values the server accepts.", + "type": "string" }, "scheme": { - "$ref": "#/$defs/monetization_monetization-scheme", - "description": "X402 payment scheme. \"exact\" requires the specified payment amount; \"upto\" permits a payment up to the specified amount; \"origin_controlled\" lets the origin server set pricing dynamically, in which case the rule carries no price and the price field must be omitted." + "description": "X402 payment scheme. \"exact\" requires the specified payment amount; \"upto\" permits a payment up to the specified amount; \"origin_controlled\" lets the origin server set pricing dynamically, in which case the rule carries no price and the price field must be omitted.", + "enum": [ + "exact", + "upto", + "origin_controlled" + ], + "type": "string" } }, "type": "object" @@ -170,24 +160,3 @@ export const monetization_monetization$$ruleset$$input: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `monetization_monetization-scheme`. - */ -export const monetization_monetization$$scheme: JsonSchema = { - "description": "X402 payment scheme. \"exact\" requires the specified payment amount; \"upto\" permits a payment up to the specified amount; \"origin_controlled\" lets the origin server set pricing dynamically, in which case the rule carries no price and the price field must be omitted.", - "enum": [ - "exact", - "upto", - "origin_controlled" - ], - "type": "string" -}; - -/** - * The schema of `monetization_zone-identifier`. - */ -export const monetization_zone$$identifier: JsonSchema = { - "description": "The unique ID of the zone.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/monetization/rules/tools.ts b/src/generated/forge-mcp/monetization/rules/tools.ts index d4dd21165..2e56185bb 100644 --- a/src/generated/forge-mcp/monetization/rules/tools.ts +++ b/src/generated/forge-mcp/monetization/rules/tools.ts @@ -8,8 +8,6 @@ import { monetization_response$$info, } from "../outputs.js"; import { - monetization_identifier, - monetization_monetization$$price, monetization_monetization$$rule, monetization_monetization$$rule$$collection, monetization_monetization$$rule$$collection$$response, @@ -19,15 +17,11 @@ import { monetization_monetization$$rule$$response, } from "./outputs.js"; import { - monetization_identifier as monetization_identifier$, - monetization_monetization$$price as monetization_monetization$$price$, monetization_monetization$$rule$$input as monetization_monetization$$rule$$input$, monetization_monetization$$rule$$input$$fixed$$price as monetization_monetization$$rule$$input$$fixed$$price$, monetization_monetization$$rule$$input$$origin$$controlled as monetization_monetization$$rule$$input$$origin$$controlled$, monetization_monetization$$rule$$patch, monetization_monetization$$ruleset$$input, - monetization_monetization$$scheme, - monetization_zone$$identifier, } from "./schemas.js"; /** @@ -37,19 +31,20 @@ export const tools: readonly Tool[] = [ { name: "monetization_rules_delete", title: "Delete a payment rule", - description: "Removes a single Payment Required rule identified by its ID. Every other rule is preserved. Returns the resulting rule collection.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the selected Monetization Gateway rule.", + description: "Removes a single Payment Required rule identified by its ID. Every other rule is preserved. Returns the resulting rule collection.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the selected Monetization Gateway rule.\n\nDELETE /zones/{zone_id}/monetization/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/monetization_identifier", - "description": "The unique ID of the payment rule." + "description": "The unique ID of the payment rule.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -62,17 +57,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "monetization_identifier": monetization_identifier$, - "monetization_zone-identifier": monetization_zone$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { "monetization_api-response-common": monetization_api$$response$$common, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, @@ -112,8 +102,6 @@ export const tools: readonly Tool[] = [ $defs: { "monetization_api-response-common": monetization_api$$response$$common, "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, @@ -130,15 +118,16 @@ export const tools: readonly Tool[] = [ { name: "monetization_rules_deleteAll", title: "Delete all payment rules", - description: "Removes every Payment Required rule from the zone. Any rules the service does not own are preserved. Deleting a zone with no payment rules is a no-op. Returns the resulting (empty) rule collection.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes every Monetization Gateway rule for the zone.", + description: "Removes every Payment Required rule from the zone. Any rules the service does not own are preserved. Deleting a zone with no payment rules is a no-op. Returns the resulting (empty) rule collection.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes every Monetization Gateway rule for the zone.\n\nDELETE /zones/{zone_id}/monetization/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -150,16 +139,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "monetization_zone-identifier": monetization_zone$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { "monetization_api-response-common": monetization_api$$response$$common, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, @@ -196,8 +181,6 @@ export const tools: readonly Tool[] = [ $defs: { "monetization_api-response-common": monetization_api$$response$$common, "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, @@ -214,7 +197,7 @@ export const tools: readonly Tool[] = [ { name: "monetization_rules_edit", title: "Update a payment rule", - description: "Applies a partial update to a single Payment Required rule. Only the fields present in the request body are changed; omitted fields keep their current values. Returns the full resulting rule collection.\n\nThis method is beta.", + description: "Applies a partial update to a single Payment Required rule. Only the fields present in the request body are changed; omitted fields keep their current values. Returns the full resulting rule collection.\n\nThis method is beta.\n\nPATCH /zones/{zone_id}/monetization/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -222,14 +205,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/monetization_monetization-rule-patch" }, "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/monetization_identifier", - "description": "The unique ID of the payment rule." + "description": "The unique ID of the payment rule.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -243,20 +227,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "monetization_identifier": monetization_identifier$, - "monetization_monetization-price": monetization_monetization$$price$, "monetization_monetization-rule-patch": monetization_monetization$$rule$$patch, - "monetization_monetization-scheme": monetization_monetization$$scheme, - "monetization_zone-identifier": monetization_zone$$identifier, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { "monetization_api-response-common": monetization_api$$response$$common, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, @@ -299,8 +278,6 @@ export const tools: readonly Tool[] = [ $defs: { "monetization_api-response-common": monetization_api$$response$$common, "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, @@ -318,19 +295,20 @@ export const tools: readonly Tool[] = [ { name: "monetization_rules_get", title: "Get a payment rule", - description: "Returns a single Payment Required rule identified by its ID.\n\nThis method is beta.", + description: "Returns a single Payment Required rule identified by its ID.\n\nThis method is beta.\n\nGET /zones/{zone_id}/monetization/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/monetization_identifier", - "description": "The unique ID of the payment rule." + "description": "The unique ID of the payment rule.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -343,17 +321,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "monetization_identifier": monetization_identifier$, - "monetization_zone-identifier": monetization_zone$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-response", $defs: { "monetization_api-response-common": monetization_api$$response$$common, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-input": monetization_monetization$$rule$$input, "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, @@ -392,8 +365,6 @@ export const tools: readonly Tool[] = [ $defs: { "monetization_api-response-common": monetization_api$$response$$common, "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-input": monetization_monetization$$rule$$input, "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price, @@ -409,15 +380,16 @@ export const tools: readonly Tool[] = [ { name: "monetization_rules_list", title: "List payment rules", - description: "Returns the currently deployed Payment Required rules for a zone. A zone with no Payment Required ruleset returns 404.\n\nThis method is beta.", + description: "Returns the currently deployed Payment Required rules for a zone. A zone with no Payment Required ruleset returns 404.\n\nThis method is beta.\n\nGET /zones/{zone_id}/monetization/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -429,16 +401,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "monetization_zone-identifier": monetization_zone$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { "monetization_api-response-common": monetization_api$$response$$common, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, @@ -478,8 +446,6 @@ export const tools: readonly Tool[] = [ $defs: { "monetization_api-response-common": monetization_api$$response$$common, "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, @@ -496,7 +462,7 @@ export const tools: readonly Tool[] = [ { name: "monetization_rules_update", title: "Deploy payment ruleset", - description: "Replaces the zone's Payment Required ruleset with the submitted desired state. Submit an empty rules array to clear all payment rules.\n\nThis method is beta.", + description: "Replaces the zone's Payment Required ruleset with the submitted desired state. Submit an empty rules array to clear all payment rules.\n\nThis method is beta.\n\nPUT /zones/{zone_id}/monetization/rules", inputSchema: { type: "object", properties: { @@ -504,10 +470,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/monetization_monetization-ruleset-input" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/monetization_zone-identifier", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -520,22 +487,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "monetization_identifier": monetization_identifier$, - "monetization_monetization-price": monetization_monetization$$price$, "monetization_monetization-rule-input": monetization_monetization$$rule$$input$, "monetization_monetization-rule-input-fixed-price": monetization_monetization$$rule$$input$$fixed$$price$, "monetization_monetization-rule-input-origin-controlled": monetization_monetization$$rule$$input$$origin$$controlled$, "monetization_monetization-ruleset-input": monetization_monetization$$ruleset$$input, - "monetization_zone-identifier": monetization_zone$$identifier, }, }, outputSchema: { "$ref": "#/$defs/monetization_monetization-rule-collection-response", $defs: { "monetization_api-response-common": monetization_api$$response$$common, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, @@ -575,8 +538,6 @@ export const tools: readonly Tool[] = [ $defs: { "monetization_api-response-common": monetization_api$$response$$common, "monetization_api-response-common-failure": monetization_api$$response$$common$$failure, - "monetization_identifier": monetization_identifier, - "monetization_monetization-price": monetization_monetization$$price, "monetization_monetization-rule": monetization_monetization$$rule, "monetization_monetization-rule-collection": monetization_monetization$$rule$$collection, "monetization_monetization-rule-collection-response": monetization_monetization$$rule$$collection$$response, diff --git a/src/generated/forge-mcp/network/outputs.ts b/src/generated/forge-mcp/network/outputs.ts deleted file mode 100644 index 81cb26a74..000000000 --- a/src/generated/forge-mcp/network/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 `tunnel_virtual_network_id` in responses. - */ -export const tunnel_virtual_network_id: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_virtual_network_name` in responses. - */ -export const tunnel_virtual_network_name: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/network/routes/cidr/outputs.ts b/src/generated/forge-mcp/network/routes/cidr/outputs.ts index ea1fc465d..887150103 100644 --- a/src/generated/forge-mcp/network/routes/cidr/outputs.ts +++ b/src/generated/forge-mcp/network/routes/cidr/outputs.ts @@ -9,25 +9,29 @@ import type { JsonSchema } from "../../../_/tool.js"; export const tunnel_route: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/tunnel_route_comment" + "type": "string" }, "created_at": { - "$ref": "#/$defs/tunnel_created_at" + "format": "date-time", + "type": "string" }, "deleted_at": { - "$ref": "#/$defs/tunnel_deleted_at" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_route_id" + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_ip_network" + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id" + "format": "uuid", + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id" + "format": "uuid", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/network/routes/cidr/tools.ts b/src/generated/forge-mcp/network/routes/cidr/tools.ts index bc0cbc4c4..ff353bf10 100644 --- a/src/generated/forge-mcp/network/routes/cidr/tools.ts +++ b/src/generated/forge-mcp/network/routes/cidr/tools.ts @@ -6,41 +6,11 @@ import { tunnel_api$$response$$collection, tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_created_at, - tunnel_deleted_at, tunnel_messages, tunnel_result_info, - tunnel_tunnel_id, - tunnel_tunnel_name, - tunnel_tunnel_type, } from "../../../outputs.js"; -import { - tunnel_account_id, - tunnel_existed_at, - tunnel_page_number, - tunnel_per_page, - tunnel_tunnel_id as tunnel_tunnel_id$, - tunnel_tunnel_type as tunnel_tunnel_type$, - tunnel_tunnel_types, -} from "../../../schemas.js"; -import { - tunnel_virtual_network_id, - tunnel_virtual_network_name, -} from "../../outputs.js"; -import { tunnel_virtual_network_id as tunnel_virtual_network_id$ } from "../../schemas.js"; -import { - tunnel_ip_network, - tunnel_route_comment, - tunnel_route_id, - tunnel_teamnet, - tunnel_virtual_network_id_computed_optional, -} from "../outputs.js"; -import { - tunnel_ip_network as tunnel_ip_network$, - tunnel_route_comment as tunnel_route_comment$, - tunnel_route_id as tunnel_route_id$, - tunnel_virtual_network_id_computed_optional as tunnel_virtual_network_id_computed_optional$, -} from "../schemas.js"; +import { tunnel_tunnel_types } from "../../../schemas.js"; +import { tunnel_teamnet } from "../outputs.js"; import { tunnel_route, tunnel_route_response_single, @@ -54,24 +24,25 @@ export const tools: readonly Tool[] = [ { name: "network_routes_cidr_create", title: "Create a tunnel route", - description: "Routes a private network through a Cloudflare Tunnel.", + description: "Routes a private network through a Cloudflare Tunnel.\n\nPOST /accounts/{account_id}/teamnet/routes", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_route_comment", "default": "", - "description": "Optional remark describing the route." + "description": "Optional remark describing the route.", + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_ip_network", - "description": "The private IPv4 or IPv6 range connected by the route, in CIDR notation." + "description": "The private IPv4 or IPv6 range connected by the route, in CIDR notation.", + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id_computed_optional", - "description": "UUID of the virtual network." + "description": "UUID of the virtual network.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -80,10 +51,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -96,27 +68,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_ip_network": tunnel_ip_network$, - "tunnel_route_comment": tunnel_route_comment$, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_route_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_route": tunnel_route, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_route_response_single": tunnel_route_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, annotations: { @@ -153,16 +113,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_route": tunnel_route, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_route_response_single": tunnel_route_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, request: (args) => ({ @@ -173,19 +126,20 @@ export const tools: readonly Tool[] = [ { name: "network_routes_cidr_delete", title: "Delete a tunnel route", - description: "Deletes a private network route from an account.\n\nConfirm with the user before calling this tool. This operation permanently deletes a private network route.", + description: "Deletes a private network route from an account.\n\nConfirm with the user before calling this tool. This operation permanently deletes a private network route.\n\nDELETE /accounts/{account_id}/teamnet/routes/{route_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "route_id": { - "$ref": "#/$defs/tunnel_route_id", - "description": "UUID of the route." + "description": "UUID of the route.", + "type": "string" } }, "required": [ @@ -198,25 +152,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_route_id": tunnel_route_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_route_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_route": tunnel_route, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_route_response_single": tunnel_route_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, annotations: { @@ -253,16 +197,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_route": tunnel_route, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_route_response_single": tunnel_route_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, request: (args) => ({ @@ -272,37 +209,39 @@ export const tools: readonly Tool[] = [ { name: "network_routes_cidr_edit", title: "Update a tunnel route", - description: "Updates an existing private network route in an account. The fields that are meant to be updated should be provided in the body of the request.", + description: "Updates an existing private network route in an account. The fields that are meant to be updated should be provided in the body of the request.\n\nPATCH /accounts/{account_id}/teamnet/routes/{route_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_route_comment", "default": "", - "description": "Optional remark describing the route." + "description": "Optional remark describing the route.", + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_ip_network", - "description": "The private IPv4 or IPv6 range connected by the route, in CIDR notation." + "description": "The private IPv4 or IPv6 range connected by the route, in CIDR notation.", + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id_computed_optional", - "description": "UUID of the virtual network." + "description": "UUID of the virtual network.", + "format": "uuid", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "route_id": { - "$ref": "#/$defs/tunnel_route_id", - "description": "UUID of the route." + "description": "UUID of the route.", + "type": "string" } }, "required": [ @@ -316,28 +255,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_ip_network": tunnel_ip_network$, - "tunnel_route_comment": tunnel_route_comment$, - "tunnel_route_id": tunnel_route_id$, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_route_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_route": tunnel_route, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_route_response_single": tunnel_route_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, annotations: { @@ -374,16 +300,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_route": tunnel_route, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_route_response_single": tunnel_route_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, request: (args) => ({ @@ -394,19 +313,20 @@ export const tools: readonly Tool[] = [ { name: "network_routes_cidr_get", title: "Get tunnel route", - description: "Get a private network route in an account.", + description: "Get a private network route in an account.\n\nGET /accounts/{account_id}/teamnet/routes/{route_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "route_id": { - "$ref": "#/$defs/tunnel_route_id", - "description": "UUID of the route." + "description": "UUID of the route.", + "type": "string" } }, "required": [ @@ -419,25 +339,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_route_id": tunnel_route_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_route_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_route": tunnel_route, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_route_response_single": tunnel_route_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, annotations: { @@ -468,16 +378,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_route": tunnel_route, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_route_response_single": tunnel_route_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id, }, }, request: (args) => ({ @@ -487,15 +390,16 @@ export const tools: readonly Tool[] = [ { name: "network_routes_cidr_list", title: "List tunnel routes", - description: "Lists and filters private network routes in an account.", + description: "Lists and filters private network routes in an account.\n\nGET /accounts/{account_id}/teamnet/routes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -504,52 +408,55 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "comment": { - "$ref": "#/$defs/tunnel_route_comment", "default": "", - "description": "Optional remark describing the route." + "description": "Optional remark describing the route.", + "type": "string" }, "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded.", + "type": "string" }, "is_deleted": { "description": "If `true`, only include deleted routes. If `false`, exclude deleted routes. If empty, all routes will be included.", "type": "boolean" }, "network_subset": { - "$ref": "#/$defs/tunnel_ip_network", - "description": "If set, only list routes that are contained within this IP range." + "description": "If set, only list routes that are contained within this IP range.", + "type": "string" }, "network_superset": { - "$ref": "#/$defs/tunnel_ip_network", - "description": "If set, only list routes that contain this IP range." + "description": "If set, only list routes that contain this IP range.", + "type": "string" }, "page": { - "$ref": "#/$defs/tunnel_page_number", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "number" }, "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." + "description": "Number of results to display.", + "type": "number" }, "route_id": { - "$ref": "#/$defs/tunnel_route_id", - "description": "UUID of the route." + "description": "UUID of the route.", + "type": "string" }, "tun_types": { "$ref": "#/$defs/tunnel_tunnel_types", "description": "The types of tunnels to filter by, separated by commas." }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "description": "UUID of the virtual network.", + "format": "uuid", + "type": "string" } }, "type": "object" @@ -558,18 +465,9 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_existed_at": tunnel_existed_at, - "tunnel_ip_network": tunnel_ip_network$, - "tunnel_page_number": tunnel_page_number, - "tunnel_per_page": tunnel_per_page, - "tunnel_route_comment": tunnel_route_comment$, - "tunnel_route_id": tunnel_route_id$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - "tunnel_tunnel_type": tunnel_tunnel_type$, "tunnel_tunnel_types": tunnel_tunnel_types, - "tunnel_virtual_network_id": tunnel_virtual_network_id$, }, }, outputSchema: { @@ -577,20 +475,10 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_teamnet": tunnel_teamnet, "tunnel_teamnet_response_collection": tunnel_teamnet_response_collection, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, - "tunnel_virtual_network_name": tunnel_virtual_network_name, }, }, annotations: { @@ -630,20 +518,10 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_teamnet": tunnel_teamnet, "tunnel_teamnet_response_collection": tunnel_teamnet_response_collection, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, - "tunnel_virtual_network_name": tunnel_virtual_network_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/routes/hostname/outputs.ts b/src/generated/forge-mcp/network/routes/hostname/outputs.ts index 033b5d29e..0d0e3902b 100644 --- a/src/generated/forge-mcp/network/routes/hostname/outputs.ts +++ b/src/generated/forge-mcp/network/routes/hostname/outputs.ts @@ -3,44 +3,42 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `tunnel_hostname` in responses. - */ -export const tunnel_hostname: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_hostname_comment` in responses. - */ -export const tunnel_hostname_comment: JsonSchema = { - "type": "string" -}; - /** * The schema of `tunnel_hostname_route` in responses. */ export const tunnel_hostname_route: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/tunnel_hostname_comment" + "type": "string" }, "created_at": { - "$ref": "#/$defs/tunnel_created_at" + "format": "date-time", + "type": "string" }, "deleted_at": { - "$ref": "#/$defs/tunnel_deleted_at" + "format": "date-time", + "type": "string" }, "hostname": { - "$ref": "#/$defs/tunnel_hostname" + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_hostname_route_id" + "format": "uuid", + "type": "string" }, "tun_type": { "allOf": [ { - "$ref": "#/$defs/tunnel_tunnel_type" + "enum": [ + "cfd_tunnel", + "warp_connector", + "warp", + "magic", + "ip_sec", + "gre", + "cni" + ], + "type": "string" }, { "enum": [ @@ -52,23 +50,16 @@ export const tunnel_hostname_route: JsonSchema = { ] }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-3" + "format": "uuid", + "type": "string" }, "tunnel_name": { - "$ref": "#/$defs/tunnel_tunnel_name-2" + "type": "string" } }, "type": "object" }; -/** - * The schema of `tunnel_hostname_route_id` in responses. - */ -export const tunnel_hostname_route_id: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `tunnel_hostname_route_response_collection` in responses. */ @@ -109,18 +100,3 @@ export const tunnel_hostname_route_response_single: JsonSchema = { } ] }; - -/** - * The schema of `tunnel_tunnel_id-3` in responses. - */ -export const tunnel_tunnel_id$$3: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_name-2` in responses. - */ -export const tunnel_tunnel_name$$2: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/network/routes/hostname/schemas.ts b/src/generated/forge-mcp/network/routes/hostname/schemas.ts deleted file mode 100644 index 1a3699a29..000000000 --- a/src/generated/forge-mcp/network/routes/hostname/schemas.ts +++ /dev/null @@ -1,46 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `tunnel_hostname`. - */ -export const tunnel_hostname: JsonSchema = { - "description": "The hostname of the route.", - "type": "string" -}; - -/** - * The schema of `tunnel_hostname_comment`. - */ -export const tunnel_hostname_comment: JsonSchema = { - "description": "An optional description of the hostname route.", - "type": "string" -}; - -/** - * The schema of `tunnel_hostname_query_comment`. - */ -export const tunnel_hostname_query_comment: JsonSchema = { - "description": "If set, only list hostname routes with the given comment.", - "type": "string" -}; - -/** - * The schema of `tunnel_hostname_route_id`. - */ -export const tunnel_hostname_route_id: JsonSchema = { - "description": "The hostname route ID.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_id-3`. - */ -export const tunnel_tunnel_id$$3: JsonSchema = { - "description": "UUID of the tunnel.", - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/network/routes/hostname/tools.ts b/src/generated/forge-mcp/network/routes/hostname/tools.ts index 2598a2fa4..fe0ba32ee 100644 --- a/src/generated/forge-mcp/network/routes/hostname/tools.ts +++ b/src/generated/forge-mcp/network/routes/hostname/tools.ts @@ -6,35 +6,14 @@ import { tunnel_api$$response$$collection, tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_created_at, - tunnel_deleted_at, tunnel_messages, tunnel_result_info, - tunnel_tunnel_type, } from "../../../outputs.js"; import { - tunnel_account_id, - tunnel_existed_at, - tunnel_page_number, - tunnel_per_page, -} from "../../../schemas.js"; -import { - tunnel_hostname, - tunnel_hostname_comment, tunnel_hostname_route, - tunnel_hostname_route_id, tunnel_hostname_route_response_collection, tunnel_hostname_route_response_single, - tunnel_tunnel_id$$3, - tunnel_tunnel_name$$2, } from "./outputs.js"; -import { - tunnel_hostname as tunnel_hostname$, - tunnel_hostname_comment as tunnel_hostname_comment$, - tunnel_hostname_query_comment, - tunnel_hostname_route_id as tunnel_hostname_route_id$, - tunnel_tunnel_id$$3 as tunnel_tunnel_id$$3$, -} from "./schemas.js"; /** * The tools of `network.routes.hostname`. @@ -43,32 +22,34 @@ export const tools: readonly Tool[] = [ { name: "network_routes_hostname_create", title: "Create hostname route", - description: "Create a hostname route.", + description: "Create a hostname route.\n\nPOST /accounts/{account_id}/zerotrust/routes/hostname", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_hostname_comment", - "description": "An optional description of the hostname route." + "description": "An optional description of the hostname route.", + "type": "string" }, "hostname": { - "$ref": "#/$defs/tunnel_hostname", - "description": "The hostname of the route." + "description": "The hostname of the route.", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-3", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -81,28 +62,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_hostname": tunnel_hostname$, - "tunnel_hostname_comment": tunnel_hostname_comment$, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, "tunnel_messages": tunnel_messages, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -139,17 +107,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, "tunnel_messages": tunnel_messages, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ @@ -160,19 +120,21 @@ export const tools: readonly Tool[] = [ { name: "network_routes_hostname_delete", title: "Delete hostname route", - description: "Delete a hostname route.\n\nConfirm with the user before calling this tool. This operation permanently deletes a hostname route.", + description: "Delete a hostname route.\n\nConfirm with the user before calling this tool. This operation permanently deletes a hostname route.\n\nDELETE /accounts/{account_id}/zerotrust/routes/hostname/{hostname_route_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "hostname_route_id": { - "$ref": "#/$defs/tunnel_hostname_route_id", - "description": "The hostname route ID." + "description": "The hostname route ID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -185,26 +147,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_hostname_route_id": tunnel_hostname_route_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, "tunnel_messages": tunnel_messages, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -241,17 +192,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, "tunnel_messages": tunnel_messages, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ @@ -261,36 +204,39 @@ export const tools: readonly Tool[] = [ { name: "network_routes_hostname_edit", title: "Update hostname route", - description: "Updates a hostname route.", + description: "Updates a hostname route.\n\nPATCH /accounts/{account_id}/zerotrust/routes/hostname/{hostname_route_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_hostname_comment", - "description": "An optional description of the hostname route." + "description": "An optional description of the hostname route.", + "type": "string" }, "hostname": { - "$ref": "#/$defs/tunnel_hostname", - "description": "The hostname of the route." + "description": "The hostname of the route.", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-3", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "hostname_route_id": { - "$ref": "#/$defs/tunnel_hostname_route_id", - "description": "The hostname route ID." + "description": "The hostname route ID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -304,29 +250,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_hostname": tunnel_hostname$, - "tunnel_hostname_comment": tunnel_hostname_comment$, - "tunnel_hostname_route_id": tunnel_hostname_route_id$, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, "tunnel_messages": tunnel_messages, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -363,17 +295,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, "tunnel_messages": tunnel_messages, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ @@ -384,19 +308,21 @@ export const tools: readonly Tool[] = [ { name: "network_routes_hostname_get", title: "Get hostname route", - description: "Get a hostname route.", + description: "Get a hostname route.\n\nGET /accounts/{account_id}/zerotrust/routes/hostname/{hostname_route_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "hostname_route_id": { - "$ref": "#/$defs/tunnel_hostname_route_id", - "description": "The hostname route ID." + "description": "The hostname route ID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -409,26 +335,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_hostname_route_id": tunnel_hostname_route_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, "tunnel_messages": tunnel_messages, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -467,17 +382,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_single": tunnel_hostname_route_response_single, "tunnel_messages": tunnel_messages, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ @@ -487,15 +394,16 @@ export const tools: readonly Tool[] = [ { name: "network_routes_hostname_list", title: "List hostname routes", - description: "Lists and filters hostname routes in an account.", + description: "Lists and filters hostname routes in an account.\n\nGET /accounts/{account_id}/zerotrust/routes/hostname", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -504,22 +412,24 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "comment": { - "$ref": "#/$defs/tunnel_hostname_query_comment", - "description": "If set, only list hostname routes with the given comment." + "description": "If set, only list hostname routes with the given comment.", + "type": "string" }, "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded.", + "type": "string" }, "hostname": { - "$ref": "#/$defs/tunnel_hostname", - "description": "If set, only list hostname routes that contain a substring of the given value, the filter is case-insensitive." + "description": "If set, only list hostname routes that contain a substring of the given value, the filter is case-insensitive.", + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_hostname_route_id", - "description": "The hostname route ID." + "description": "The hostname route ID.", + "format": "uuid", + "type": "string" }, "is_deleted": { "default": false, @@ -527,17 +437,18 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "page": { - "$ref": "#/$defs/tunnel_page_number", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "number" }, "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." + "description": "Number of results to display.", + "type": "number" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-3", - "description": "If set, only list hostname routes that point to a specific tunnel." + "description": "If set, only list hostname routes that point to a specific tunnel.", + "format": "uuid", + "type": "string" } }, "type": "object" @@ -546,34 +457,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_existed_at": tunnel_existed_at, - "tunnel_hostname": tunnel_hostname$, - "tunnel_hostname_query_comment": tunnel_hostname_query_comment, - "tunnel_hostname_route_id": tunnel_hostname_route_id$, - "tunnel_page_number": tunnel_page_number, - "tunnel_per_page": tunnel_per_page, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_hostname_route_response_collection", $defs: { "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_collection": tunnel_hostname_route_response_collection, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, annotations: { @@ -613,18 +507,10 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_hostname": tunnel_hostname, - "tunnel_hostname_comment": tunnel_hostname_comment, "tunnel_hostname_route": tunnel_hostname_route, - "tunnel_hostname_route_id": tunnel_hostname_route_id, "tunnel_hostname_route_response_collection": tunnel_hostname_route_response_collection, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, - "tunnel_tunnel_id-3": tunnel_tunnel_id$$3, - "tunnel_tunnel_name-2": tunnel_tunnel_name$$2, - "tunnel_tunnel_type": tunnel_tunnel_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/routes/outputs.ts b/src/generated/forge-mcp/network/routes/outputs.ts index c13fab275..8e92a438c 100644 --- a/src/generated/forge-mcp/network/routes/outputs.ts +++ b/src/generated/forge-mcp/network/routes/outputs.ts @@ -3,61 +3,53 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tunnel_ip_network` in responses. - */ -export const tunnel_ip_network: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_route_comment` in responses. - */ -export const tunnel_route_comment: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_route_id` in responses. - */ -export const tunnel_route_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `tunnel_teamnet` in responses. */ export const tunnel_teamnet: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/tunnel_route_comment" + "type": "string" }, "created_at": { - "$ref": "#/$defs/tunnel_created_at" + "format": "date-time", + "type": "string" }, "deleted_at": { - "$ref": "#/$defs/tunnel_deleted_at" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_route_id" + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_ip_network" + "type": "string" }, "tun_type": { - "$ref": "#/$defs/tunnel_tunnel_type" + "enum": [ + "cfd_tunnel", + "warp_connector", + "warp", + "magic", + "ip_sec", + "gre", + "cni" + ], + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id" + "format": "uuid", + "type": "string" }, "tunnel_name": { - "$ref": "#/$defs/tunnel_tunnel_name" + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id_computed_optional" + "format": "uuid", + "type": "string" }, "virtual_network_name": { - "$ref": "#/$defs/tunnel_virtual_network_name" + "type": "string" } }, "type": "object" @@ -81,11 +73,3 @@ export const tunnel_teamnet_response_single: JsonSchema = { } ] }; - -/** - * The schema of `tunnel_virtual_network_id_computed_optional` in responses. - */ -export const tunnel_virtual_network_id_computed_optional: JsonSchema = { - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/network/routes/schemas.ts b/src/generated/forge-mcp/network/routes/schemas.ts deleted file mode 100644 index 87d9a29d3..000000000 --- a/src/generated/forge-mcp/network/routes/schemas.ts +++ /dev/null @@ -1,37 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tunnel_ip_network`. - */ -export const tunnel_ip_network: JsonSchema = { - "description": "The private IPv4 or IPv6 range connected by the route, in CIDR notation.", - "type": "string" -}; - -/** - * The schema of `tunnel_route_comment`. - */ -export const tunnel_route_comment: JsonSchema = { - "description": "Optional remark describing the route.", - "type": "string" -}; - -/** - * The schema of `tunnel_route_id`. - */ -export const tunnel_route_id: JsonSchema = { - "description": "UUID of the route.", - "type": "string" -}; - -/** - * The schema of `tunnel_virtual_network_id_computed_optional`. - */ -export const tunnel_virtual_network_id_computed_optional: JsonSchema = { - "description": "UUID of the virtual network.", - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/network/routes/tools.ts b/src/generated/forge-mcp/network/routes/tools.ts index 28517f6ce..a6ff17533 100644 --- a/src/generated/forge-mcp/network/routes/tools.ts +++ b/src/generated/forge-mcp/network/routes/tools.ts @@ -5,24 +5,9 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_created_at, - tunnel_deleted_at, tunnel_messages, - tunnel_tunnel_id, - tunnel_tunnel_name, - tunnel_tunnel_type, } from "../../outputs.js"; -import { tunnel_account_id, tunnel_ip } from "../../schemas.js"; -import { tunnel_virtual_network_name } from "../outputs.js"; -import { tunnel_virtual_network_id } from "../schemas.js"; -import { - tunnel_ip_network, - tunnel_route_comment, - tunnel_route_id, - tunnel_teamnet, - tunnel_teamnet_response_single, - tunnel_virtual_network_id_computed_optional, -} from "./outputs.js"; +import { tunnel_teamnet, tunnel_teamnet_response_single } from "./outputs.js"; /** * The tools of `network.routes`. @@ -31,18 +16,19 @@ export const tools: readonly Tool[] = [ { name: "network_routes_resolve", title: "Get tunnel route by IP", - description: "Fetches routes that contain the given IP address.", + description: "Fetches routes that contain the given IP address.\n\nGET /accounts/{account_id}/teamnet/routes/ip/{ip}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "ip": { - "$ref": "#/$defs/tunnel_ip" + "type": "string" } }, "required": [ @@ -52,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "default_virtual_network_fallback": { "default": true, @@ -59,8 +46,9 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "description": "UUID of the virtual network.", + "format": "uuid", + "type": "string" } }, "type": "object" @@ -69,29 +57,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_ip": tunnel_ip, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_teamnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_teamnet": tunnel_teamnet, "tunnel_teamnet_response_single": tunnel_teamnet_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, - "tunnel_virtual_network_name": tunnel_virtual_network_name, }, }, annotations: { @@ -130,19 +104,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip_network": tunnel_ip_network, "tunnel_messages": tunnel_messages, - "tunnel_route_comment": tunnel_route_comment, - "tunnel_route_id": tunnel_route_id, "tunnel_teamnet": tunnel_teamnet, "tunnel_teamnet_response_single": tunnel_teamnet_response_single, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_virtual_network_id_computed_optional": tunnel_virtual_network_id_computed_optional, - "tunnel_virtual_network_name": tunnel_virtual_network_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/schemas.ts b/src/generated/forge-mcp/network/schemas.ts deleted file mode 100644 index 8d7a96bf0..000000000 --- a/src/generated/forge-mcp/network/schemas.ts +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `tunnel_virtual_network_id`. - */ -export const tunnel_virtual_network_id: JsonSchema = { - "description": "UUID of the virtual network.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_virtual_network_name`. - */ -export const tunnel_virtual_network_name: JsonSchema = { - "description": "A user-friendly name for the virtual network.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts b/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts index aa1e45b34..b5c6caca0 100644 --- a/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts +++ b/src/generated/forge-mcp/network/subnets/cloudflareSource/tools.ts @@ -5,28 +5,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_created_at, - tunnel_deleted_at, tunnel_messages, } from "../../../outputs.js"; -import { tunnel_account_id } from "../../../schemas.js"; import { tunnel_subnet, tunnel_subnet_capacity, - tunnel_subnet_comment, - tunnel_subnet_id, - tunnel_subnet_ip_network, - tunnel_subnet_is_default_network, - tunnel_subnet_name, tunnel_subnet_response_single, - tunnel_subnet_type, } from "../outputs.js"; -import { - tunnel_address_family, - tunnel_subnet_comment as tunnel_subnet_comment$, - tunnel_subnet_ip_network as tunnel_subnet_ip_network$, - tunnel_subnet_name as tunnel_subnet_name$, -} from "../schemas.js"; /** * The tools of `network.subnets.cloudflareSource`. @@ -35,37 +20,42 @@ export const tools: readonly Tool[] = [ { name: "network_subnets_cloudflareSource_edit", title: "Update Cloudflare Source Subnet", - description: "Updates the Cloudflare Source subnet of the given address family", + description: "Updates the Cloudflare Source subnet of the given address family\n\nPATCH /accounts/{account_id}/zerotrust/subnets/cloudflare_source/{address_family}", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_subnet_comment", "default": "", - "description": "An optional description of the subnet." + "description": "An optional description of the subnet.", + "type": "string" }, "name": { - "$ref": "#/$defs/tunnel_subnet_name", - "description": "A user-friendly name for the subnet." + "description": "A user-friendly name for the subnet.", + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_subnet_ip_network", - "description": "The private IPv4 or IPv6 range defining the subnet, in CIDR notation." + "description": "The private IPv4 or IPv6 range defining the subnet, in CIDR notation.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)", + "enum": [ + "v4", + "v6" + ], + "type": "string" } }, "required": [ @@ -79,30 +69,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_address_family": tunnel_address_family, - "tunnel_subnet_comment": tunnel_subnet_comment$, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network$, - "tunnel_subnet_name": tunnel_subnet_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -138,18 +114,10 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -160,19 +128,24 @@ export const tools: readonly Tool[] = [ { name: "network_subnets_cloudflareSource_get", title: "Get Cloudflare Source Subnet", - description: "Returns the account's default Cloudflare Source subnet for the given address family.", + description: "Returns the account's default Cloudflare Source subnet for the given address family.\n\nGET /accounts/{account_id}/zerotrust/subnets/cloudflare_source/{address_family}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)", + "enum": [ + "v4", + "v6" + ], + "type": "string" } }, "required": [ @@ -185,27 +158,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_address_family": tunnel_address_family, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -236,18 +198,10 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts b/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts index 5c36c3dae..718a19d12 100644 --- a/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts +++ b/src/generated/forge-mcp/network/subnets/initialResolvedIp/tools.ts @@ -5,28 +5,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_created_at, - tunnel_deleted_at, tunnel_messages, } from "../../../outputs.js"; -import { tunnel_account_id } from "../../../schemas.js"; import { tunnel_subnet, tunnel_subnet_capacity, - tunnel_subnet_comment, - tunnel_subnet_id, - tunnel_subnet_ip_network, - tunnel_subnet_is_default_network, - tunnel_subnet_name, tunnel_subnet_response_single, - tunnel_subnet_type, } from "../outputs.js"; -import { - tunnel_address_family, - tunnel_subnet_comment as tunnel_subnet_comment$, - tunnel_subnet_ip_network as tunnel_subnet_ip_network$, - tunnel_subnet_name as tunnel_subnet_name$, -} from "../schemas.js"; /** * The tools of `network.subnets.initialResolvedIp`. @@ -35,37 +20,42 @@ export const tools: readonly Tool[] = [ { name: "network_subnets_initialResolvedIp_edit", title: "Update Initial Resolved IP Subnet", - description: "Updates the CIDR for the account's default Initial Resolved IP Subnet of the given address\nfamily. The new CIDR must not conflict with existing private routes in the account.", + description: "Updates the CIDR for the account's default Initial Resolved IP Subnet of the given address\nfamily. The new CIDR must not conflict with existing private routes in the account.\n\nPUT /accounts/{account_id}/zerotrust/subnets/initial_resolved_ip/{address_family}", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_subnet_comment", "default": "", - "description": "An optional description of the subnet." + "description": "An optional description of the subnet.", + "type": "string" }, "name": { - "$ref": "#/$defs/tunnel_subnet_name", - "description": "A user-friendly name for the subnet." + "description": "A user-friendly name for the subnet.", + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_subnet_ip_network", - "description": "The private IPv4 or IPv6 range defining the subnet, in CIDR notation." + "description": "The private IPv4 or IPv6 range defining the subnet, in CIDR notation.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)", + "enum": [ + "v4", + "v6" + ], + "type": "string" } }, "required": [ @@ -79,30 +69,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_address_family": tunnel_address_family, - "tunnel_subnet_comment": tunnel_subnet_comment$, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network$, - "tunnel_subnet_name": tunnel_subnet_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -133,18 +109,10 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -155,19 +123,24 @@ export const tools: readonly Tool[] = [ { name: "network_subnets_initialResolvedIp_get", title: "Get Initial Resolved IP Subnet", - description: "Returns the account's default Initial Resolved IP Subnet for the given address family.", + description: "Returns the account's default Initial Resolved IP Subnet for the given address family.\n\nGET /accounts/{account_id}/zerotrust/subnets/initial_resolved_ip/{address_family}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)" + "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)", + "enum": [ + "v4", + "v6" + ], + "type": "string" } }, "required": [ @@ -180,27 +153,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_address_family": tunnel_address_family, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -237,18 +199,10 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/subnets/outputs.ts b/src/generated/forge-mcp/network/subnets/outputs.ts index 05328850d..b7bf87881 100644 --- a/src/generated/forge-mcp/network/subnets/outputs.ts +++ b/src/generated/forge-mcp/network/subnets/outputs.ts @@ -12,28 +12,36 @@ export const tunnel_subnet: JsonSchema = { "$ref": "#/$defs/tunnel_subnet_capacity" }, "comment": { - "$ref": "#/$defs/tunnel_subnet_comment" + "type": "string" }, "created_at": { - "$ref": "#/$defs/tunnel_created_at" + "format": "date-time", + "type": "string" }, "deleted_at": { - "$ref": "#/$defs/tunnel_deleted_at" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_subnet_id" + "format": "uuid", + "type": "string" }, "is_default_network": { - "$ref": "#/$defs/tunnel_subnet_is_default_network" + "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_subnet_name" + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_subnet_ip_network" + "type": "string" }, "subnet_type": { - "$ref": "#/$defs/tunnel_subnet_type" + "enum": [ + "cloudflare_source", + "initial_resolved_ip", + "warp" + ], + "type": "string" } }, "type": "object" @@ -54,42 +62,6 @@ export const tunnel_subnet_capacity: JsonSchema = { "type": "object" }; -/** - * The schema of `tunnel_subnet_comment` in responses. - */ -export const tunnel_subnet_comment: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_subnet_id` in responses. - */ -export const tunnel_subnet_id: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_subnet_ip_network` in responses. - */ -export const tunnel_subnet_ip_network: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_subnet_is_default_network` in responses. - */ -export const tunnel_subnet_is_default_network: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `tunnel_subnet_name` in responses. - */ -export const tunnel_subnet_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `tunnel_subnet_response_collection` in responses. */ @@ -130,15 +102,3 @@ export const tunnel_subnet_response_single: JsonSchema = { } ] }; - -/** - * The schema of `tunnel_subnet_type` in responses. - */ -export const tunnel_subnet_type: JsonSchema = { - "enum": [ - "cloudflare_source", - "initial_resolved_ip", - "warp" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/network/subnets/schemas.ts b/src/generated/forge-mcp/network/subnets/schemas.ts deleted file mode 100644 index 18ac8ff64..000000000 --- a/src/generated/forge-mcp/network/subnets/schemas.ts +++ /dev/null @@ -1,81 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tunnel_address_family`. - */ -export const tunnel_address_family: JsonSchema = { - "description": "IP address family, either `v4` (IPv4) or `v6` (IPv6)", - "enum": [ - "v4", - "v6" - ], - "type": "string" -}; - -/** - * The schema of `tunnel_ip_network_encoded`. - */ -export const tunnel_ip_network_encoded: JsonSchema = { - "description": "IP/CIDR range in URL-encoded format", - "type": "string" -}; - -/** - * The schema of `tunnel_subnet_comment`. - */ -export const tunnel_subnet_comment: JsonSchema = { - "description": "An optional description of the subnet.", - "type": "string" -}; - -/** - * The schema of `tunnel_subnet_id`. - */ -export const tunnel_subnet_id: JsonSchema = { - "description": "The UUID of the subnet.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_subnet_ip_network`. - */ -export const tunnel_subnet_ip_network: JsonSchema = { - "description": "The private IPv4 or IPv6 range defining the subnet, in CIDR notation.", - "type": "string" -}; - -/** - * The schema of `tunnel_subnet_is_default_network`. - */ -export const tunnel_subnet_is_default_network: JsonSchema = { - "description": "If `true`, this is the default subnet for the account. There can only be one default subnet per account.", - "type": "boolean" -}; - -/** - * The schema of `tunnel_subnet_name`. - */ -export const tunnel_subnet_name: JsonSchema = { - "description": "A user-friendly name for the subnet.", - "type": "string" -}; - -/** - * The schema of `tunnel_subnet_query_comment`. - */ -export const tunnel_subnet_query_comment: JsonSchema = { - "description": "If set, only list subnets with the given comment.", - "type": "string" -}; - -/** - * The schema of `tunnel_subnet_query_name`. - */ -export const tunnel_subnet_query_name: JsonSchema = { - "description": "If set, only list subnets with the given name", - "type": "string" -}; diff --git a/src/generated/forge-mcp/network/subnets/tools.ts b/src/generated/forge-mcp/network/subnets/tools.ts index ef683e4b3..604c0a18f 100644 --- a/src/generated/forge-mcp/network/subnets/tools.ts +++ b/src/generated/forge-mcp/network/subnets/tools.ts @@ -6,34 +6,14 @@ import { tunnel_api$$response$$collection, tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_created_at, - tunnel_deleted_at, tunnel_messages, tunnel_result_info, } from "../../outputs.js"; -import { - tunnel_account_id, - tunnel_existed_at, - tunnel_page_number, - tunnel_per_page, -} from "../../schemas.js"; import { tunnel_subnet, tunnel_subnet_capacity, - tunnel_subnet_comment, - tunnel_subnet_id, - tunnel_subnet_ip_network, - tunnel_subnet_is_default_network, - tunnel_subnet_name, tunnel_subnet_response_collection, - tunnel_subnet_type, } from "./outputs.js"; -import { - tunnel_address_family, - tunnel_ip_network_encoded, - tunnel_subnet_query_comment, - tunnel_subnet_query_name, -} from "./schemas.js"; /** * The tools of `network.subnets`. @@ -42,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "network_subnets_list", title: "List Subnets", - description: "Lists and filters subnets in an account.", + description: "Lists and filters subnets in an account.\n\nGET /accounts/{account_id}/zerotrust/subnets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -59,18 +40,23 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "address_family": { - "$ref": "#/$defs/tunnel_address_family", - "description": "If set, only include subnets in the given address family - `v4` or `v6`" + "description": "If set, only include subnets in the given address family - `v4` or `v6`", + "enum": [ + "v4", + "v6" + ], + "type": "string" }, "comment": { - "$ref": "#/$defs/tunnel_subnet_query_comment", - "description": "If set, only list subnets with the given comment." + "description": "If set, only list subnets with the given comment.", + "type": "string" }, "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded.", + "type": "string" }, "is_default_network": { "description": "If `true`, only include default subnets. If `false`, exclude default subnets subnets. If not set, all subnets will be included.", @@ -81,21 +67,21 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_subnet_query_name", - "description": "If set, only list subnets with the given name" + "description": "If set, only list subnets with the given name", + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_ip_network_encoded", - "description": "If set, only list the subnet whose network exactly matches the given CIDR." + "description": "If set, only list the subnet whose network exactly matches the given CIDR.", + "type": "string" }, "page": { - "$ref": "#/$defs/tunnel_page_number", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "number" }, "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." + "description": "Number of results to display.", + "type": "number" }, "sort_order": { "description": "Sort order of the results. `asc` means oldest to newest, `desc` means newest to oldest. If not set, they will not be in any particular order.", @@ -121,35 +107,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_address_family": tunnel_address_family, - "tunnel_existed_at": tunnel_existed_at, - "tunnel_ip_network_encoded": tunnel_ip_network_encoded, - "tunnel_page_number": tunnel_page_number, - "tunnel_per_page": tunnel_per_page, - "tunnel_subnet_query_comment": tunnel_subnet_query_comment, - "tunnel_subnet_query_name": tunnel_subnet_query_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_collection", $defs: { "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_collection": tunnel_subnet_response_collection, - "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -187,19 +156,11 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_collection": tunnel_subnet_response_collection, - "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/subnets/warp/outputs.ts b/src/generated/forge-mcp/network/subnets/warp/outputs.ts index 2de65a077..c4aa7416b 100644 --- a/src/generated/forge-mcp/network/subnets/warp/outputs.ts +++ b/src/generated/forge-mcp/network/subnets/warp/outputs.ts @@ -21,28 +21,36 @@ export const tunnel_subnet_response_single_nullable: JsonSchema = { "$ref": "#/$defs/tunnel_subnet_capacity" }, "comment": { - "$ref": "#/$defs/tunnel_subnet_comment" + "type": "string" }, "created_at": { - "$ref": "#/$defs/tunnel_created_at" + "format": "date-time", + "type": "string" }, "deleted_at": { - "$ref": "#/$defs/tunnel_deleted_at" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_subnet_id" + "format": "uuid", + "type": "string" }, "is_default_network": { - "$ref": "#/$defs/tunnel_subnet_is_default_network" + "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_subnet_name" + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_subnet_ip_network" + "type": "string" }, "subnet_type": { - "$ref": "#/$defs/tunnel_subnet_type" + "enum": [ + "cloudflare_source", + "initial_resolved_ip", + "warp" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/network/subnets/warp/tools.ts b/src/generated/forge-mcp/network/subnets/warp/tools.ts index b1f2020b4..1b7841454 100644 --- a/src/generated/forge-mcp/network/subnets/warp/tools.ts +++ b/src/generated/forge-mcp/network/subnets/warp/tools.ts @@ -5,29 +5,13 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_created_at, - tunnel_deleted_at, tunnel_messages, } from "../../../outputs.js"; -import { tunnel_account_id } from "../../../schemas.js"; import { tunnel_subnet, tunnel_subnet_capacity, - tunnel_subnet_comment, - tunnel_subnet_id, - tunnel_subnet_ip_network, - tunnel_subnet_is_default_network, - tunnel_subnet_name, tunnel_subnet_response_single, - tunnel_subnet_type, } from "../outputs.js"; -import { - tunnel_subnet_comment as tunnel_subnet_comment$, - tunnel_subnet_id as tunnel_subnet_id$, - tunnel_subnet_ip_network as tunnel_subnet_ip_network$, - tunnel_subnet_is_default_network as tunnel_subnet_is_default_network$, - tunnel_subnet_name as tunnel_subnet_name$, -} from "../schemas.js"; import { tunnel_subnet_response_single_nullable } from "./outputs.js"; /** @@ -37,29 +21,29 @@ export const tools: readonly Tool[] = [ { name: "network_subnets_warp_create", title: "Create WARP IP subnet", - description: "Create a WARP IP assignment subnet. Currently, only IPv4 subnets can be created.\n\n**Network constraints:**\n- The network must be within one of the following private IP ranges:\n - `10.0.0.0/8` (RFC 1918)\n - `172.16.0.0/12` (RFC 1918)\n - `192.168.0.0/16` (RFC 1918)\n - `100.64.0.0/10` (RFC 6598 - CGNAT)\n- The subnet must have a prefix length of `/24` or larger (e.g., `/16`, `/20`, `/24` are valid; `/25`, `/28` are not)", + description: "Create a WARP IP assignment subnet. Currently, only IPv4 subnets can be created.\n\n**Network constraints:**\n- The network must be within one of the following private IP ranges:\n - `10.0.0.0/8` (RFC 1918)\n - `172.16.0.0/12` (RFC 1918)\n - `192.168.0.0/16` (RFC 1918)\n - `100.64.0.0/10` (RFC 6598 - CGNAT)\n- The subnet must have a prefix length of `/24` or larger (e.g., `/16`, `/20`, `/24` are valid; `/25`, `/28` are not)\n\nPOST /accounts/{account_id}/zerotrust/subnets/warp", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_subnet_comment", "default": "", - "description": "An optional description of the subnet." + "description": "An optional description of the subnet.", + "type": "string" }, "is_default_network": { - "$ref": "#/$defs/tunnel_subnet_is_default_network", "default": false, - "description": "If `true`, this is the default subnet for the account. There can only be one default subnet per account." + "description": "If `true`, this is the default subnet for the account. There can only be one default subnet per account.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_subnet_name", - "description": "A user-friendly name for the subnet." + "description": "A user-friendly name for the subnet.", + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_subnet_ip_network", - "description": "The private IPv4 or IPv6 range defining the subnet, in CIDR notation." + "description": "The private IPv4 or IPv6 range defining the subnet, in CIDR notation.", + "type": "string" } }, "required": [ @@ -69,10 +53,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -85,30 +70,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_subnet_comment": tunnel_subnet_comment$, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network$, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network$, - "tunnel_subnet_name": tunnel_subnet_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -144,18 +115,10 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -166,19 +129,21 @@ export const tools: readonly Tool[] = [ { name: "network_subnets_warp_delete", title: "Delete WARP IP subnet", - description: "Delete a WARP IP assignment subnet. This operation is idempotent - deleting an already-deleted or non-existent subnet will return success with a null result.\n\nConfirm with the user before calling this tool. This operation permanently deletes a WARP IP subnet.", + description: "Delete a WARP IP assignment subnet. This operation is idempotent - deleting an already-deleted or non-existent subnet will return success with a null result.\n\nConfirm with the user before calling this tool. This operation permanently deletes a WARP IP subnet.\n\nDELETE /accounts/{account_id}/zerotrust/subnets/warp/{subnet_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "subnet_id": { - "$ref": "#/$defs/tunnel_subnet_id", - "description": "The UUID of the subnet." + "description": "The UUID of the subnet.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -191,26 +156,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_subnet_id": tunnel_subnet_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single_nullable", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single_nullable": tunnel_subnet_response_single_nullable, - "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -246,17 +200,9 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single_nullable": tunnel_subnet_response_single_nullable, - "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -266,42 +212,44 @@ export const tools: readonly Tool[] = [ { name: "network_subnets_warp_edit", title: "Update WARP IP subnet", - description: "Updates a WARP IP assignment subnet.\n\n**Update constraints:**\n- The `network` field cannot be modified for WARP subnets. Only `name`, `comment`, and `is_default_network` can be updated.\n- IPv6 subnets cannot be updated", + description: "Updates a WARP IP assignment subnet.\n\n**Update constraints:**\n- The `network` field cannot be modified for WARP subnets. Only `name`, `comment`, and `is_default_network` can be updated.\n- IPv6 subnets cannot be updated\n\nPATCH /accounts/{account_id}/zerotrust/subnets/warp/{subnet_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_subnet_comment", "default": "", - "description": "An optional description of the subnet." + "description": "An optional description of the subnet.", + "type": "string" }, "is_default_network": { - "$ref": "#/$defs/tunnel_subnet_is_default_network", "default": false, - "description": "If `true`, this is the default subnet for the account. There can only be one default subnet per account." + "description": "If `true`, this is the default subnet for the account. There can only be one default subnet per account.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_subnet_name", - "description": "A user-friendly name for the subnet." + "description": "A user-friendly name for the subnet.", + "type": "string" }, "network": { - "$ref": "#/$defs/tunnel_subnet_ip_network", - "description": "The private IPv4 or IPv6 range defining the subnet, in CIDR notation." + "description": "The private IPv4 or IPv6 range defining the subnet, in CIDR notation.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "subnet_id": { - "$ref": "#/$defs/tunnel_subnet_id", - "description": "The UUID of the subnet." + "description": "The UUID of the subnet.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -315,31 +263,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_subnet_comment": tunnel_subnet_comment$, - "tunnel_subnet_id": tunnel_subnet_id$, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network$, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network$, - "tunnel_subnet_name": tunnel_subnet_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -375,18 +308,10 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ @@ -397,19 +322,21 @@ export const tools: readonly Tool[] = [ { name: "network_subnets_warp_get", title: "Get WARP IP subnet", - description: "Get a WARP IP assignment subnet.", + description: "Get a WARP IP assignment subnet.\n\nGET /accounts/{account_id}/zerotrust/subnets/warp/{subnet_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "subnet_id": { - "$ref": "#/$defs/tunnel_subnet_id", - "description": "The UUID of the subnet." + "description": "The UUID of the subnet.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -422,27 +349,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_subnet_id": tunnel_subnet_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_subnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, annotations: { @@ -479,18 +395,10 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, "tunnel_messages": tunnel_messages, "tunnel_subnet": tunnel_subnet, "tunnel_subnet_capacity": tunnel_subnet_capacity, - "tunnel_subnet_comment": tunnel_subnet_comment, - "tunnel_subnet_id": tunnel_subnet_id, - "tunnel_subnet_ip_network": tunnel_subnet_ip_network, - "tunnel_subnet_is_default_network": tunnel_subnet_is_default_network, - "tunnel_subnet_name": tunnel_subnet_name, "tunnel_subnet_response_single": tunnel_subnet_response_single, - "tunnel_subnet_type": tunnel_subnet_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/network/virtualNetworks/outputs.ts b/src/generated/forge-mcp/network/virtualNetworks/outputs.ts index f2866c748..5ec8c2465 100644 --- a/src/generated/forge-mcp/network/virtualNetworks/outputs.ts +++ b/src/generated/forge-mcp/network/virtualNetworks/outputs.ts @@ -3,35 +3,31 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tunnel_is_default_network` in responses. - */ -export const tunnel_is_default_network: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `tunnel_virtual-network` in responses. */ export const tunnel_virtual$$network: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/tunnel_virtual_network_comment" + "type": "string" }, "created_at": { - "$ref": "#/$defs/tunnel_created_at" + "format": "date-time", + "type": "string" }, "deleted_at": { - "$ref": "#/$defs/tunnel_deleted_at" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_virtual_network_id" + "format": "uuid", + "type": "string" }, "is_default_network": { - "$ref": "#/$defs/tunnel_is_default_network" + "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_virtual_network_name" + "type": "string" } }, "required": [ @@ -44,13 +40,6 @@ export const tunnel_virtual$$network: JsonSchema = { "type": "object" }; -/** - * The schema of `tunnel_virtual_network_comment` in responses. - */ -export const tunnel_virtual_network_comment: JsonSchema = { - "type": "string" -}; - /** * The schema of `tunnel_vnet_response_collection` in responses. */ diff --git a/src/generated/forge-mcp/network/virtualNetworks/schemas.ts b/src/generated/forge-mcp/network/virtualNetworks/schemas.ts deleted file mode 100644 index 97f6bb534..000000000 --- a/src/generated/forge-mcp/network/virtualNetworks/schemas.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tunnel_is_default_network`. - */ -export const tunnel_is_default_network: JsonSchema = { - "description": "If `true`, this virtual network is the default for the account.", - "type": "boolean" -}; - -/** - * The schema of `tunnel_is_default_network_optional`. - */ -export const tunnel_is_default_network_optional: JsonSchema = { - "description": "If `true`, this virtual network is the default for the account.", - "type": "boolean" -}; - -/** - * The schema of `tunnel_virtual_network_comment`. - */ -export const tunnel_virtual_network_comment: JsonSchema = { - "description": "Optional remark describing the virtual network.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/network/virtualNetworks/tools.ts b/src/generated/forge-mcp/network/virtualNetworks/tools.ts index 7a2de5ef4..cf42a7a9d 100644 --- a/src/generated/forge-mcp/network/virtualNetworks/tools.ts +++ b/src/generated/forge-mcp/network/virtualNetworks/tools.ts @@ -6,32 +6,14 @@ import { tunnel_api$$response$$collection, tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_created_at, - tunnel_deleted_at, tunnel_messages, tunnel_result_info, } from "../../outputs.js"; -import { tunnel_account_id } from "../../schemas.js"; import { - tunnel_virtual_network_id, - tunnel_virtual_network_name, -} from "../outputs.js"; -import { - tunnel_virtual_network_id as tunnel_virtual_network_id$, - tunnel_virtual_network_name as tunnel_virtual_network_name$, -} from "../schemas.js"; -import { - tunnel_is_default_network, tunnel_virtual$$network, - tunnel_virtual_network_comment, tunnel_vnet_response_collection, tunnel_vnet_response_single, } from "./outputs.js"; -import { - tunnel_is_default_network as tunnel_is_default_network$, - tunnel_is_default_network_optional, - tunnel_virtual_network_comment as tunnel_virtual_network_comment$, -} from "./schemas.js"; /** * The tools of `network.virtualNetworks`. @@ -40,16 +22,16 @@ export const tools: readonly Tool[] = [ { name: "network_virtualNetworks_create", title: "Create a virtual network", - description: "Adds a new virtual network to an account.", + description: "Adds a new virtual network to an account.\n\nPOST /accounts/{account_id}/teamnet/virtual_networks", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_virtual_network_comment", "default": "", - "description": "Optional remark describing the virtual network." + "description": "Optional remark describing the virtual network.", + "type": "string" }, "is_default": { "deprecated": true, @@ -57,13 +39,13 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "is_default_network": { - "$ref": "#/$defs/tunnel_is_default_network_optional", "default": false, - "description": "If `true`, this virtual network is the default for the account." + "description": "If `true`, this virtual network is the default for the account.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_virtual_network_name", - "description": "A user-friendly name for the virtual network." + "description": "A user-friendly name for the virtual network.", + "type": "string" } }, "required": [ @@ -72,10 +54,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -88,25 +71,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_is_default_network_optional": tunnel_is_default_network_optional, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment$, - "tunnel_virtual_network_name": tunnel_virtual_network_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, @@ -144,14 +116,8 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, @@ -163,19 +129,21 @@ export const tools: readonly Tool[] = [ { name: "network_virtualNetworks_delete", title: "Delete a virtual network", - description: "Deletes an existing virtual network.\n\nConfirm with the user before calling this tool. This operation permanently deletes a virtual network.", + description: "Deletes an existing virtual network.\n\nConfirm with the user before calling this tool. This operation permanently deletes a virtual network.\n\nDELETE /accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "description": "UUID of the virtual network.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -188,23 +156,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, @@ -242,14 +201,8 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, @@ -260,38 +213,40 @@ export const tools: readonly Tool[] = [ { name: "network_virtualNetworks_edit", title: "Update a virtual network", - description: "Updates an existing virtual network.", + description: "Updates an existing virtual network.\n\nPATCH /accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_virtual_network_comment", "default": "", - "description": "Optional remark describing the virtual network." + "description": "Optional remark describing the virtual network.", + "type": "string" }, "is_default_network": { - "$ref": "#/$defs/tunnel_is_default_network_optional", "default": false, - "description": "If `true`, this virtual network is the default for the account." + "description": "If `true`, this virtual network is the default for the account.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_virtual_network_name", - "description": "A user-friendly name for the virtual network." + "description": "A user-friendly name for the virtual network.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "description": "UUID of the virtual network.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -305,26 +260,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_is_default_network_optional": tunnel_is_default_network_optional, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment$, - "tunnel_virtual_network_id": tunnel_virtual_network_id$, - "tunnel_virtual_network_name": tunnel_virtual_network_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, @@ -362,14 +305,8 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, @@ -381,37 +318,39 @@ export const tools: readonly Tool[] = [ { name: "network_virtualNetworks_get", title: "Get a virtual network", - description: "Get a virtual network.", + description: "Get a virtual network.\n\nGET /accounts/{account_id}/teamnet/virtual_networks/{virtual_network_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "comment": { - "$ref": "#/$defs/tunnel_virtual_network_comment", "default": "", - "description": "Optional remark describing the virtual network." + "description": "Optional remark describing the virtual network.", + "type": "string" }, "is_default_network": { - "$ref": "#/$defs/tunnel_is_default_network", - "description": "If `true`, this virtual network is the default for the account." + "description": "If `true`, this virtual network is the default for the account.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_virtual_network_name", - "description": "A user-friendly name for the virtual network." + "description": "A user-friendly name for the virtual network.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "description": "UUID of the virtual network.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -425,26 +364,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_is_default_network": tunnel_is_default_network$, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment$, - "tunnel_virtual_network_id": tunnel_virtual_network_id$, - "tunnel_virtual_network_name": tunnel_virtual_network_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_single", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, @@ -476,14 +403,8 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_single": tunnel_vnet_response_single, }, }, @@ -495,15 +416,16 @@ export const tools: readonly Tool[] = [ { name: "network_virtualNetworks_list", title: "List virtual networks", - description: "Lists and filters virtual networks in an account.", + description: "Lists and filters virtual networks in an account.\n\nGET /accounts/{account_id}/teamnet/virtual_networks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -512,10 +434,12 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "id": { - "$ref": "#/$defs/tunnel_virtual_network_id", - "description": "UUID of the virtual network." + "description": "UUID of the virtual network.", + "format": "uuid", + "type": "string" }, "is_default": { "deprecated": true, @@ -531,8 +455,8 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_virtual_network_name", - "description": "A user-friendly name for the virtual network." + "description": "A user-friendly name for the virtual network.", + "type": "string" } }, "type": "object" @@ -541,26 +465,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_virtual_network_id": tunnel_virtual_network_id$, - "tunnel_virtual_network_name": tunnel_virtual_network_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_vnet_response_collection", $defs: { "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_collection": tunnel_vnet_response_collection, }, }, @@ -601,15 +515,9 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_is_default_network": tunnel_is_default_network, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, "tunnel_virtual-network": tunnel_virtual$$network, - "tunnel_virtual_network_comment": tunnel_virtual_network_comment, - "tunnel_virtual_network_id": tunnel_virtual_network_id, - "tunnel_virtual_network_name": tunnel_virtual_network_name, "tunnel_vnet_response_collection": tunnel_vnet_response_collection, }, }, diff --git a/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts b/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts index 03a712033..ac36a4129 100644 --- a/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts +++ b/src/generated/forge-mcp/networkInterconnects/cnis/outputs.ts @@ -35,30 +35,23 @@ export const nsc_BgpControl: JsonSchema = { "type": "object" }; -/** - * The schema of `nsc_BgpMode` in responses. - */ -export const nsc_BgpMode: JsonSchema = { - "enum": [ - "dynamic_route_exchange", - "advertise_only" - ], - "type": "string" -}; - /** * The schema of `nsc_Cni` in responses. */ export const nsc_Cni: JsonSchema = { "properties": { "account": { - "$ref": "#/$defs/nsc_AccountTag" + "type": "string" }, "bgp": { "$ref": "#/$defs/nsc_BgpControl" }, "bgp_mode": { - "$ref": "#/$defs/nsc_BgpMode" + "enum": [ + "dynamic_route_exchange", + "advertise_only" + ], + "type": "string" }, "cust_ip": { "type": "string" diff --git a/src/generated/forge-mcp/networkInterconnects/cnis/schemas.ts b/src/generated/forge-mcp/networkInterconnects/cnis/schemas.ts index d1f238ce5..f160e416f 100644 --- a/src/generated/forge-mcp/networkInterconnects/cnis/schemas.ts +++ b/src/generated/forge-mcp/networkInterconnects/cnis/schemas.ts @@ -38,33 +38,25 @@ export const nsc_BgpControl: JsonSchema = { "type": "object" }; -/** - * The schema of `nsc_BgpMode`. - */ -export const nsc_BgpMode: JsonSchema = { - "description": "The BGP mode for a CNI.\nOne of the following:\n* `dynamic_route_exchange`\n* `advertise_only`", - "enum": [ - "dynamic_route_exchange", - "advertise_only" - ], - "type": "string" -}; - /** * The schema of `nsc_Cni`. */ export const nsc_Cni: JsonSchema = { "properties": { "account": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "bgp": { "$ref": "#/$defs/nsc_BgpControl" }, "bgp_mode": { - "$ref": "#/$defs/nsc_BgpMode", - "description": "The BGP mode for a CNI.\nOne of the following:\n* `dynamic_route_exchange`\n* `advertise_only`" + "description": "The BGP mode for a CNI.\nOne of the following:\n* `dynamic_route_exchange`\n* `advertise_only`", + "enum": [ + "dynamic_route_exchange", + "advertise_only" + ], + "type": "string" }, "cust_ip": { "description": "Customer end of the point-to-point link\n\nThis should always be inside the same prefix as `p2p_ip`.", @@ -103,8 +95,8 @@ export const nsc_Cni: JsonSchema = { export const nsc_CniCreate: JsonSchema = { "properties": { "account": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "bgp": { "$ref": "#/$defs/nsc_BgpControl" diff --git a/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts b/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts index b2d80b70e..99ab18c37 100644 --- a/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/cnis/tools.ts @@ -2,18 +2,14 @@ /* eslint-disable */ import { type Tool, param, pathParam } from "../../_/tool.js"; -import { nsc_AccountTag } from "../outputs.js"; -import { nsc_AccountTag as nsc_AccountTag$ } from "../schemas.js"; import { nsc_BgpControl, - nsc_BgpMode, nsc_Cni, nsc_CniList, nsc_MagicSettings, } from "./outputs.js"; import { nsc_BgpControl as nsc_BgpControl$, - nsc_BgpMode as nsc_BgpMode$, nsc_Cni as nsc_Cni$, nsc_CniCreate, nsc_MagicSettings as nsc_MagicSettings$, @@ -26,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_cnis_create", title: "Create a new CNI object", - description: "Creates a new Cloud Network Interconnect (CNI) for private network connectivity between\nCloudflare and your infrastructure. CNIs enable dedicated, high-performance network links.", + description: "Creates a new Cloud Network Interconnect (CNI) for private network connectivity between\nCloudflare and your infrastructure. CNIs enable dedicated, high-performance network links.\n\nPOST /accounts/{account_id}/cni/cnis", inputSchema: { type: "object", properties: { @@ -34,10 +30,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/nsc_CniCreate" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" } }, "required": [ @@ -50,8 +47,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "nsc_AccountTag": nsc_AccountTag$, "nsc_BgpControl": nsc_BgpControl$, "nsc_CniCreate": nsc_CniCreate, "nsc_MagicSettings": nsc_MagicSettings$, @@ -60,9 +57,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/nsc_Cni", $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_BgpControl": nsc_BgpControl, - "nsc_BgpMode": nsc_BgpMode, "nsc_Cni": nsc_Cni, "nsc_MagicSettings": nsc_MagicSettings, }, @@ -92,9 +87,7 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_BgpControl": nsc_BgpControl, - "nsc_BgpMode": nsc_BgpMode, "nsc_Cni": nsc_Cni, "nsc_MagicSettings": nsc_MagicSettings, }, @@ -107,15 +100,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_cnis_delete", title: "Delete a specified CNI object", - description: "Permanently removes a Cloud Network Interconnect (CNI) configuration. The private network\nconnection will be terminated.", + description: "Permanently removes a Cloud Network Interconnect (CNI) configuration. The private network\nconnection will be terminated.\n\nDELETE /accounts/{account_id}/cni/cnis/{cni}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "cni": { "description": "CNI ID to retrieve information about", @@ -133,9 +127,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -167,15 +159,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_cnis_get", title: "Get information about a CNI object", - description: "Retrieves configuration details for a specific Cloud Network Interconnect (CNI), including\nconnection status and parameters.", + description: "Retrieves configuration details for a specific Cloud Network Interconnect (CNI), including\nconnection status and parameters.\n\nGET /accounts/{account_id}/cni/cnis/{cni}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "cni": { "description": "CNI ID to retrieve information about", @@ -193,16 +186,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/nsc_Cni", $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_BgpControl": nsc_BgpControl, - "nsc_BgpMode": nsc_BgpMode, "nsc_Cni": nsc_Cni, "nsc_MagicSettings": nsc_MagicSettings, }, @@ -234,9 +223,7 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_BgpControl": nsc_BgpControl, - "nsc_BgpMode": nsc_BgpMode, "nsc_Cni": nsc_Cni, "nsc_MagicSettings": nsc_MagicSettings, }, @@ -248,15 +235,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_cnis_list", title: "List existing CNI objects", - description: "Lists all Cloud Network Interconnects (CNIs) configured for the account, showing connection\nstatus and parameters.", + description: "Lists all Cloud Network Interconnects (CNIs) configured for the account, showing connection\nstatus and parameters.\n\nGET /accounts/{account_id}/cni/cnis", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" } }, "required": [ @@ -265,6 +253,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "oneOf": [ @@ -315,16 +304,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/nsc_CniList", $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_BgpControl": nsc_BgpControl, - "nsc_BgpMode": nsc_BgpMode, "nsc_Cni": nsc_Cni, "nsc_CniList": nsc_CniList, "nsc_MagicSettings": nsc_MagicSettings, @@ -357,9 +342,7 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_BgpControl": nsc_BgpControl, - "nsc_BgpMode": nsc_BgpMode, "nsc_Cni": nsc_Cni, "nsc_CniList": nsc_CniList, "nsc_MagicSettings": nsc_MagicSettings, @@ -378,7 +361,7 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_cnis_update", title: "Modify stored information about a CNI object", - description: "Updates the configuration of an existing Cloud Network Interconnect (CNI), including\nconnection parameters and routing settings.", + description: "Updates the configuration of an existing Cloud Network Interconnect (CNI), including\nconnection parameters and routing settings.\n\nPUT /accounts/{account_id}/cni/cnis/{cni}", inputSchema: { type: "object", properties: { @@ -386,10 +369,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/nsc_Cni" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "cni": { "description": "CNI ID to retrieve information about", @@ -408,10 +392,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "nsc_AccountTag": nsc_AccountTag$, "nsc_BgpControl": nsc_BgpControl$, - "nsc_BgpMode": nsc_BgpMode$, "nsc_Cni": nsc_Cni$, "nsc_MagicSettings": nsc_MagicSettings$, }, @@ -419,9 +402,7 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/nsc_Cni", $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_BgpControl": nsc_BgpControl, - "nsc_BgpMode": nsc_BgpMode, "nsc_Cni": nsc_Cni, "nsc_MagicSettings": nsc_MagicSettings, }, @@ -451,9 +432,7 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_BgpControl": nsc_BgpControl, - "nsc_BgpMode": nsc_BgpMode, "nsc_Cni": nsc_Cni, "nsc_MagicSettings": nsc_MagicSettings, }, diff --git a/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts b/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts index b9093ed06..c6b73461e 100644 --- a/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts +++ b/src/generated/forge-mcp/networkInterconnects/interconnects/outputs.ts @@ -3,34 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `nsc_ApiBandwidth` in responses. - */ -export const nsc_ApiBandwidth: JsonSchema = { - "enum": [ - "50M", - "100M", - "200M", - "300M", - "400M", - "500M", - "1G", - "2G", - "5G", - "10G", - "20G", - "50G" - ], - "type": "string" -}; - -/** - * The schema of `nsc_CloudflareSite` in responses. - */ -export const nsc_CloudflareSite: JsonSchema = { - "type": "string" -}; - /** * The schema of `nsc_DefaultNameResponse` in responses. */ @@ -121,7 +93,21 @@ export const nsc_Interconnect_GcpPartner_Body: JsonSchema = { "type": "string" }, "speed": { - "$ref": "#/$defs/nsc_ApiBandwidth" + "enum": [ + "50M", + "100M", + "200M", + "300M", + "400M", + "500M", + "1G", + "2G", + "5G", + "10G", + "20G", + "50G" + ], + "type": "string" }, "virtual_port_reservation_id": { "format": "uuid", @@ -180,7 +166,7 @@ export const nsc_Interconnect_Physical_Body: JsonSchema = { "$ref": "#/$defs/nsc_FacilityInfo" }, "site": { - "$ref": "#/$defs/nsc_CloudflareSite" + "type": "string" }, "slot_id": { "format": "uuid", diff --git a/src/generated/forge-mcp/networkInterconnects/interconnects/schemas.ts b/src/generated/forge-mcp/networkInterconnects/interconnects/schemas.ts index e083e18dc..7c126e629 100644 --- a/src/generated/forge-mcp/networkInterconnects/interconnects/schemas.ts +++ b/src/generated/forge-mcp/networkInterconnects/interconnects/schemas.ts @@ -3,28 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `nsc_ApiBandwidth`. - */ -export const nsc_ApiBandwidth: JsonSchema = { - "description": "Bandwidth structure as visible through the customer-facing API.", - "enum": [ - "50M", - "100M", - "200M", - "300M", - "400M", - "500M", - "1G", - "2G", - "5G", - "10G", - "20G", - "50G" - ], - "type": "string" -}; - /** * The schema of `nsc_InterconnectCreate`. */ @@ -62,8 +40,22 @@ export const nsc_InterconnectCreate_GcpPartner_Body: JsonSchema = { { "properties": { "bandwidth": { - "$ref": "#/$defs/nsc_ApiBandwidth", - "description": "Bandwidth structure as visible through the customer-facing API." + "description": "Bandwidth structure as visible through the customer-facing API.", + "enum": [ + "50M", + "100M", + "200M", + "300M", + "400M", + "500M", + "1G", + "2G", + "5G", + "10G", + "20G", + "50G" + ], + "type": "string" }, "pairing_key": { "description": "Pairing key provided by GCP", diff --git a/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts b/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts index 2c2faff4c..901300641 100644 --- a/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/interconnects/tools.ts @@ -3,10 +3,7 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { nsc_FacilityInfo } from "../outputs.js"; -import { nsc_AccountTag } from "../schemas.js"; import { - nsc_ApiBandwidth, - nsc_CloudflareSite, nsc_DefaultNameResponse, nsc_Interconnect, nsc_InterconnectList, @@ -15,7 +12,6 @@ import { nsc_StatusInfo, } from "./outputs.js"; import { - nsc_ApiBandwidth as nsc_ApiBandwidth$, nsc_InterconnectCreate, nsc_InterconnectCreate_GcpPartner_Body, nsc_InterconnectCreate_Physical_Body, @@ -28,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_interconnects_create", title: "Create a new interconnect", - description: "Creates a new network interconnect for connecting Cloudflare's network to external networks.\nInterconnects provide dedicated bandwidth and reduced latency for traffic exchange.", + description: "Creates a new network interconnect for connecting Cloudflare's network to external networks.\nInterconnects provide dedicated bandwidth and reduced latency for traffic exchange.\n\nPOST /accounts/{account_id}/cni/interconnects", inputSchema: { type: "object", properties: { @@ -36,10 +32,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/nsc_InterconnectCreate" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" } }, "required": [ @@ -52,9 +49,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "nsc_AccountTag": nsc_AccountTag, - "nsc_ApiBandwidth": nsc_ApiBandwidth$, "nsc_InterconnectCreate": nsc_InterconnectCreate, "nsc_InterconnectCreate_GcpPartner_Body": nsc_InterconnectCreate_GcpPartner_Body, "nsc_InterconnectCreate_Physical_Body": nsc_InterconnectCreate_Physical_Body, @@ -63,8 +59,6 @@ export const tools: readonly Tool[] = [ outputSchema: { "$ref": "#/$defs/nsc_Interconnect", $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth, - "nsc_CloudflareSite": nsc_CloudflareSite, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_Interconnect": nsc_Interconnect, "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, @@ -95,8 +89,6 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth, - "nsc_CloudflareSite": nsc_CloudflareSite, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_Interconnect": nsc_Interconnect, "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, @@ -111,15 +103,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_interconnects_delete", title: "Delete an interconnect object", - description: "Permanently removes a network interconnect configuration. The physical or virtual connection\nwill be terminated.", + description: "Permanently removes a network interconnect configuration. The physical or virtual connection\nwill be terminated.\n\nDELETE /accounts/{account_id}/cni/interconnects/{icon}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "icon": { "description": "Interconnect name to retrieve information about", @@ -136,9 +129,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -170,15 +161,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_interconnects_get", title: "Get information about an interconnect object", - description: "Retrieves configuration and status details for a specific network interconnect.", + description: "Retrieves configuration and status details for a specific network interconnect.\n\nGET /accounts/{account_id}/cni/interconnects/{icon}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "icon": { "description": "Interconnect name to retrieve information about", @@ -195,15 +187,11 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/nsc_Interconnect", $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth, - "nsc_CloudflareSite": nsc_CloudflareSite, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_Interconnect": nsc_Interconnect, "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, @@ -237,8 +225,6 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth, - "nsc_CloudflareSite": nsc_CloudflareSite, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_Interconnect": nsc_Interconnect, "nsc_Interconnect_GcpPartner_Body": nsc_Interconnect_GcpPartner_Body, @@ -252,15 +238,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_interconnects_list", title: "List existing interconnects", - description: "Lists all network interconnects configured for the account, including physical and virtual\nconnections.", + description: "Lists all network interconnects configured for the account, including physical and virtual\nconnections.\n\nGET /accounts/{account_id}/cni/interconnects", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" } }, "required": [ @@ -269,6 +256,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "oneOf": [ @@ -319,15 +307,11 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/nsc_InterconnectList", $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth, - "nsc_CloudflareSite": nsc_CloudflareSite, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_Interconnect": nsc_Interconnect, "nsc_InterconnectList": nsc_InterconnectList, @@ -361,8 +345,6 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_ApiBandwidth": nsc_ApiBandwidth, - "nsc_CloudflareSite": nsc_CloudflareSite, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_Interconnect": nsc_Interconnect, "nsc_InterconnectList": nsc_InterconnectList, @@ -383,15 +365,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_interconnects_loa", title: "Generate the Letter of Authorization (LOA) for a given interconnect", - description: "Downloads the Letter of Authorization (LOA) for a network interconnect, required for\nphysical cross-connect provisioning.", + description: "Downloads the Letter of Authorization (LOA) for a network interconnect, required for\nphysical cross-connect provisioning.\n\nGET /accounts/{account_id}/cni/interconnects/{icon}/loa", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "icon": { "description": "Interconnect name to retrieve information about", @@ -405,6 +388,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "description": "Custom name to use in the LOA instead of the account name (200 Character limit)", @@ -424,9 +408,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -463,15 +445,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_interconnects_loaDefaultName", title: "Get the default customer name for LOA generation", - description: "Retrieves the default customer name that will be used in the LOA if no name is provided to the\n`/accounts/{account_id}/cni/interconnects/{icon}/loa` endpoint.", + description: "Retrieves the default customer name that will be used in the LOA if no name is provided to the\n`/accounts/{account_id}/cni/interconnects/{icon}/loa` endpoint.\n\nGET /accounts/{account_id}/cni/interconnects/{icon}/loa/default", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "icon": { "description": "Interconnect name to retrieve information about", @@ -488,9 +471,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/nsc_DefaultNameResponse", @@ -535,15 +516,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_interconnects_status", title: "Get the current status of an interconnect object", - description: "Gets the current operational status of a network interconnect, including link state and\ntraffic metrics.", + description: "Gets the current operational status of a network interconnect, including link state and\ntraffic metrics.\n\nGET /accounts/{account_id}/cni/interconnects/{icon}/status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "icon": { "description": "Interconnect name to retrieve information about", @@ -560,9 +542,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/nsc_StatusInfo", diff --git a/src/generated/forge-mcp/networkInterconnects/outputs.ts b/src/generated/forge-mcp/networkInterconnects/outputs.ts index 5bd17d896..6589429ae 100644 --- a/src/generated/forge-mcp/networkInterconnects/outputs.ts +++ b/src/generated/forge-mcp/networkInterconnects/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `nsc_AccountTag` in responses. - */ -export const nsc_AccountTag: JsonSchema = { - "type": "string" -}; - /** * The schema of `nsc_FacilityInfo` in responses. */ diff --git a/src/generated/forge-mcp/networkInterconnects/schemas.ts b/src/generated/forge-mcp/networkInterconnects/schemas.ts deleted file mode 100644 index 8338ed299..000000000 --- a/src/generated/forge-mcp/networkInterconnects/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `nsc_AccountTag`. - */ -export const nsc_AccountTag: JsonSchema = { - "description": "Customer account tag", - "type": "string" -}; diff --git a/src/generated/forge-mcp/networkInterconnects/settings/tools.ts b/src/generated/forge-mcp/networkInterconnects/settings/tools.ts index e45760f56..3b0747690 100644 --- a/src/generated/forge-mcp/networkInterconnects/settings/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/settings/tools.ts @@ -12,11 +12,12 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_settings_get", title: "Get the current settings for the active account", - description: "Retrieves current settings configuration for the specified resource or service.", + description: "Retrieves current settings configuration for the specified resource or service.\n\nGET /accounts/{account_id}/cni/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account tag to retrieve settings for", @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/nsc_Settings", @@ -76,7 +78,7 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_settings_update", title: "Update the current settings for the active account", - description: "Updates configuration settings for the specified resource or service.", + description: "Updates configuration settings for the specified resource or service.\n\nPUT /accounts/{account_id}/cni/settings", inputSchema: { type: "object", properties: { @@ -84,6 +86,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/nsc_SettingsRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account tag to update settings for", @@ -100,6 +103,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "nsc_SettingsRequest": nsc_SettingsRequest, }, diff --git a/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts b/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts index dd398dde5..10ece40fb 100644 --- a/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts +++ b/src/generated/forge-mcp/networkInterconnects/slots/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../_/tool.js"; export const nsc_SlotInfo: JsonSchema = { "properties": { "account": { - "$ref": "#/$defs/nsc_AccountTag" + "type": "string" }, "ccr_device_name": { "oneOf": [ diff --git a/src/generated/forge-mcp/networkInterconnects/slots/tools.ts b/src/generated/forge-mcp/networkInterconnects/slots/tools.ts index c63c8c94e..7c458d705 100644 --- a/src/generated/forge-mcp/networkInterconnects/slots/tools.ts +++ b/src/generated/forge-mcp/networkInterconnects/slots/tools.ts @@ -2,8 +2,7 @@ /* eslint-disable */ import { type Tool, param, pathParam } from "../../_/tool.js"; -import { nsc_AccountTag, nsc_FacilityInfo } from "../outputs.js"; -import { nsc_AccountTag as nsc_AccountTag$ } from "../schemas.js"; +import { nsc_FacilityInfo } from "../outputs.js"; import { nsc_SlotInfo, nsc_SlotList } from "./outputs.js"; /** @@ -13,15 +12,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_slots_get", title: "Get information about the specified slot", - description: "Gets information about a specific infrastructure slot allocation.", + description: "Gets information about a specific infrastructure slot allocation.\n\nGET /accounts/{account_id}/cni/slots/{slot}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" }, "slot": { "format": "uuid", @@ -38,14 +38,11 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/nsc_SlotInfo", $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_SlotInfo": nsc_SlotInfo, }, @@ -77,7 +74,6 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_SlotInfo": nsc_SlotInfo, }, @@ -89,15 +85,16 @@ export const tools: readonly Tool[] = [ { name: "networkInterconnects_slots_list", title: "Retrieve a list of all slots matching the specified parameters", - description: "Lists all available infrastructure slots for the account, showing allocation status and\ncapacity.", + description: "Lists all available infrastructure slots for the account, showing allocation status and\ncapacity.\n\nGET /accounts/{account_id}/cni/slots", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/nsc_AccountTag", - "description": "Customer account tag" + "description": "Customer account tag", + "type": "string" } }, "required": [ @@ -106,6 +103,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "address_contains": { "description": "If specified, only show slots with the given text in their address field", @@ -178,14 +176,11 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "nsc_AccountTag": nsc_AccountTag$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/nsc_SlotList", $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_SlotInfo": nsc_SlotInfo, "nsc_SlotList": nsc_SlotList, @@ -217,7 +212,6 @@ export const tools: readonly Tool[] = [ "500": null }, $defs: { - "nsc_AccountTag": nsc_AccountTag, "nsc_FacilityInfo": nsc_FacilityInfo, "nsc_SlotInfo": nsc_SlotInfo, "nsc_SlotList": nsc_SlotList, diff --git a/src/generated/forge-mcp/o11y/agents/sessions/tools.ts b/src/generated/forge-mcp/o11y/agents/sessions/tools.ts index 613a1c603..67daa5840 100644 --- a/src/generated/forge-mcp/o11y/agents/sessions/tools.ts +++ b/src/generated/forge-mcp/o11y/agents/sessions/tools.ts @@ -14,11 +14,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_agents_sessions_list", title: "List Agent sessions", - description: "Lists sessions in which the specified agent participated, ordered by most recent activity. A session is identified by gen_ai.conversation.id and includes authorized activity from every agent in that conversation during the requested time range. Agent invocation and chat spans without a conversation ID are attributed only when their trace is associated with exactly one observed conversation.", + description: "Lists sessions in which the specified agent participated, ordered by most recent activity. A session is identified by gen_ai.conversation.id and includes authorized activity from every agent in that conversation during the requested time range. Agent invocation and chat spans without a conversation ID are attributed only when their trace is associated with exactly one observed conversation.\n\nGET /accounts/{account_id}/workers/observability/agents/sessions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "agent": { "description": "Agent name reported in gen_ai.agent.name. The request is limited to conversations in which this service and agent participated.", @@ -70,6 +72,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -583,11 +586,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_agents_sessions_runs", title: "List Agent session runs", - description: "Lists the traces associated with a session, ordered by most recent activity. The service and agent parameters must identify an agent that participated in the conversation. Results include every authorized trace containing an agent invocation in that conversation during the requested time range.", + description: "Lists the traces associated with a session, ordered by most recent activity. The service and agent parameters must identify an agent that participated in the conversation. Results include every authorized trace containing an agent invocation in that conversation during the requested time range.\n\nGET /accounts/{account_id}/workers/observability/agents/sessions/{conversationId}/runs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -605,6 +609,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "agent": { "description": "Agent name reported in gen_ai.agent.name. The request is limited to conversations in which this service and agent participated.", @@ -644,6 +649,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/o11y/destinations/tools.ts b/src/generated/forge-mcp/o11y/destinations/tools.ts index ea1aaed75..24487c637 100644 --- a/src/generated/forge-mcp/o11y/destinations/tools.ts +++ b/src/generated/forge-mcp/o11y/destinations/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_destinations_create", title: "Create Destination", - description: "Create a new Workers Observability Telemetry Destination.", + description: "Create a new Workers Observability Telemetry Destination.\n\nPOST /accounts/{account_id}/workers/observability/destinations", inputSchema: { type: "object", properties: { @@ -68,6 +68,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -83,6 +84,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -577,11 +579,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_destinations_delete", title: "Delete Destination", - description: "Delete a Workers Observability Telemetry Destination.", + description: "Delete a Workers Observability Telemetry Destination.\n\nDELETE /accounts/{account_id}/workers/observability/destinations/{slug}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -601,6 +604,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1092,11 +1096,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_destinations_list", title: "Get Destinations", - description: "List your Workers Observability Telemetry Destinations.", + description: "List your Workers Observability Telemetry Destinations.\n\nGET /accounts/{account_id}/workers/observability/destinations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1109,6 +1114,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "order": { "default": "desc", @@ -1141,6 +1147,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1596,7 +1603,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_destinations_update", title: "Update Destination", - description: "Update an existing Workers Observability Telemetry Destination.", + description: "Update an existing Workers Observability Telemetry Destination.\n\nPATCH /accounts/{account_id}/workers/observability/destinations/{slug}", inputSchema: { type: "object", properties: { @@ -1647,6 +1654,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1666,6 +1674,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/o11y/issues/automations/tools.ts b/src/generated/forge-mcp/o11y/issues/automations/tools.ts index e40bf20da..012aee180 100644 --- a/src/generated/forge-mcp/o11y/issues/automations/tools.ts +++ b/src/generated/forge-mcp/o11y/issues/automations/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_automations_create", title: "Create an issue automation", - description: "Create an account or service issue automation.", + description: "Create an account or service issue automation.\n\nPOST /accounts/{account_id}/workers/observability/issues/automations", inputSchema: { type: "object", properties: { @@ -41,6 +41,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -57,6 +58,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -625,11 +627,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_automations_delete", title: "Delete an issue automation", - description: "Delete an issue automation while preserving its historical runs.", + description: "Delete an issue automation while preserving its historical runs.\n\nDELETE /accounts/{account_id}/workers/observability/issues/automations/{automationId}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -649,6 +652,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1216,11 +1220,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_automations_get", title: "Get an issue automation", - description: "Retrieve an issue automation.", + description: "Retrieve an issue automation.\n\nGET /accounts/{account_id}/workers/observability/issues/automations/{automationId}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1240,6 +1245,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1807,11 +1813,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_automations_list", title: "List issue automations", - description: "List account and service issue automations.", + description: "List account and service issue automations.\n\nGET /accounts/{account_id}/workers/observability/issues/automations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1824,6 +1831,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "service": { "type": "string" @@ -1835,6 +1843,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2411,7 +2420,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_automations_update", title: "Update an issue automation", - description: "Replace an issue automation configuration.", + description: "Replace an issue automation configuration.\n\nPUT /accounts/{account_id}/workers/observability/issues/automations/{automationId}", inputSchema: { type: "object", properties: { @@ -2442,6 +2451,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -2462,6 +2472,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/o11y/issues/tools.ts b/src/generated/forge-mcp/o11y/issues/tools.ts index 34e002565..d58c2d833 100644 --- a/src/generated/forge-mcp/o11y/issues/tools.ts +++ b/src/generated/forge-mcp/o11y/issues/tools.ts @@ -11,7 +11,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_add", title: "Add issue group members", - description: "Add one or more ungrouped issues to an existing issue group.", + description: "Add one or more ungrouped issues to an existing issue group.\n\nPOST /accounts/{account_id}/workers/observability/issues/groups/{groupId}/members", inputSchema: { type: "object", properties: { @@ -32,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -52,6 +53,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -630,11 +632,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_get", title: "Get an issue", - description: "Retrieve an issue.", + description: "Retrieve an issue.\n\nGET /accounts/{account_id}/workers/observability/issues/{issueId}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -654,6 +657,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1391,7 +1395,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_group", title: "Create an issue group", - description: "Group two or more issues under a new customer-defined identity.", + description: "Group two or more issues under a new customer-defined identity.\n\nPOST /accounts/{account_id}/workers/observability/issues/groups", inputSchema: { type: "object", properties: { @@ -1416,6 +1420,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1432,6 +1437,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2010,11 +2016,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_list", title: "List detected issues", - description: "List detected issues.", + description: "List detected issues.\n\nGET /accounts/{account_id}/workers/observability/issues", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -2027,6 +2034,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "order": { "enum": [ @@ -2081,6 +2089,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2874,7 +2883,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_notify", title: "Notify about an issue", - description: "Send the issue to one ANS policy, or every matching Real-Time Issue policy when no policy ID is provided.", + description: "Send the issue to one ANS policy, or every matching Real-Time Issue policy when no policy ID is provided.\n\nPOST /accounts/{account_id}/workers/observability/issues/{issueId}/notification-runs", inputSchema: { type: "object", properties: { @@ -2887,6 +2896,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -2907,6 +2917,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3513,11 +3524,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_occurrences", title: "List issue occurrences", - description: "List the retained error occurrences grouped into an issue, newest first.", + description: "List the retained error occurrences grouped into an issue, newest first.\n\nGET /accounts/{account_id}/workers/observability/issues/{issueId}/occurrences", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -3535,6 +3547,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque cursor returned in result_info.cursors.after.", @@ -3550,6 +3563,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -4109,11 +4123,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_remove", title: "Remove an issue group member", - description: "Remove an issue from a group, dissolving the group when fewer than two members remain.", + description: "Remove an issue from a group, dissolving the group when fewer than two members remain.\n\nDELETE /accounts/{account_id}/workers/observability/issues/groups/{groupId}/members/{issueId}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -4137,6 +4152,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -4728,11 +4744,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_summary", title: "Summarize detected issues", - description: "Retrieve aggregate issue counts for the account.", + description: "Retrieve aggregate issue counts for the account.\n\nGET /accounts/{account_id}/workers/observability/issues/summary", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -4745,6 +4762,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "service": { "type": "string" @@ -4756,6 +4774,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -5136,11 +5155,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_ungroup", title: "Dissolve an issue group", - description: "Dissolve an issue group and restore its members as standalone issues.", + description: "Dissolve an issue group and restore its members as standalone issues.\n\nDELETE /accounts/{account_id}/workers/observability/issues/groups/{groupId}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -5160,6 +5180,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -5505,7 +5526,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_issues_update", title: "Modify an issue", - description: "Modify an issue status or group title.", + description: "Modify an issue status or group title.\n\nPATCH /accounts/{account_id}/workers/observability/issues/{issueId}", inputSchema: { type: "object", properties: { @@ -5527,6 +5548,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -5547,6 +5569,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/o11y/metricsExport/tools.ts b/src/generated/forge-mcp/o11y/metricsExport/tools.ts index 276bd1a66..c49ee7db4 100644 --- a/src/generated/forge-mcp/o11y/metricsExport/tools.ts +++ b/src/generated/forge-mcp/o11y/metricsExport/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_metricsExport_list", title: "List Metrics Exports", - description: "List resources configured for Workers Observability metrics export.", + description: "List resources configured for Workers Observability metrics export.\n\nGET /accounts/{account_id}/workers/observability/metricsexport", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -327,7 +329,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_metricsExport_upsert", title: "Upsert Metrics Exports", - description: "Create or replace resources configured for Workers Observability metrics export.", + description: "Create or replace resources configured for Workers Observability metrics export.\n\nPOST /accounts/{account_id}/workers/observability/metricsexport", inputSchema: { type: "object", properties: { @@ -391,6 +393,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -406,6 +409,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/o11y/queries/tools.ts b/src/generated/forge-mcp/o11y/queries/tools.ts index 8f403df28..017ad5224 100644 --- a/src/generated/forge-mcp/o11y/queries/tools.ts +++ b/src/generated/forge-mcp/o11y/queries/tools.ts @@ -19,7 +19,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_queries_create", title: "Save query", - description: "Persist query for later use.", + description: "Persist query for later use.\n\nPOST /accounts/{account_id}/workers/observability/queries", inputSchema: { type: "object", properties: { @@ -294,6 +294,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -310,6 +311,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-observability_filter_leaf": workers$$observability_filter_leaf$, "workers-observability_filter_node": workers$$observability_filter_node$, @@ -598,11 +600,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_queries_delete", title: "Delete query", - description: "Delete a saved query.", + description: "Delete a saved query.\n\nDELETE /accounts/{account_id}/workers/observability/queries/{queryId}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -622,6 +625,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -905,7 +909,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_queries_edit", title: "Update query", - description: "Update saved query.", + description: "Update saved query.\n\nPATCH /accounts/{account_id}/workers/observability/queries/{queryId}", inputSchema: { type: "object", properties: { @@ -1180,6 +1184,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1200,6 +1205,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-observability_filter_leaf": workers$$observability_filter_leaf$, "workers-observability_filter_node": workers$$observability_filter_node$, @@ -1488,11 +1494,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_queries_get", title: "Get query", - description: "Retrieve a saved query.", + description: "Retrieve a saved query.\n\nGET /accounts/{account_id}/workers/observability/queries/{queryId}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1512,6 +1519,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1795,11 +1803,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_queries_list", title: "List queries", - description: "List saved queries.", + description: "List saved queries.\n\nGET /accounts/{account_id}/workers/observability/queries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1812,6 +1821,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "order": { "default": "desc", @@ -1844,6 +1854,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/o11y/sharedQueries/tools.ts b/src/generated/forge-mcp/o11y/sharedQueries/tools.ts index 0d8cdb2c0..8dd935ad3 100644 --- a/src/generated/forge-mcp/o11y/sharedQueries/tools.ts +++ b/src/generated/forge-mcp/o11y/sharedQueries/tools.ts @@ -24,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_sharedQueries_create", title: "Create a sharable link to a query result", - description: "Shared queries store the results of a previously run query, allowing you to share the results with others.", + description: "Shared queries store the results of a previously run query, allowing you to share the results with others.\n\nPOST /accounts/{account_id}/workers/observability/shared/query", inputSchema: { type: "object", properties: { @@ -439,6 +439,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -455,6 +456,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-observability_filter_leaf": workers$$observability_filter_leaf$, "workers-observability_filter_node": workers$$observability_filter_node$, @@ -799,11 +801,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_sharedQueries_get", title: "View a query that has been shared", - description: "Shared queries store the results of a previously run query, allowing you to share the results with others.", + description: "Shared queries store the results of a previously run query, allowing you to share the results with others.\n\nGET /accounts/{account_id}/workers/observability/shared/query/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -821,6 +824,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "view": { "description": "Select the view of the query result to return, defaults to events.", @@ -838,6 +842,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/o11y/telemetry/tools.ts b/src/generated/forge-mcp/o11y/telemetry/tools.ts index 027a6fac6..8eae7b65c 100644 --- a/src/generated/forge-mcp/o11y/telemetry/tools.ts +++ b/src/generated/forge-mcp/o11y/telemetry/tools.ts @@ -24,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_telemetry_heartbeat", title: "Live tail heartbeat", - description: "Notify live tail that user is still eligible to receive live events.", + description: "Notify live tail that user is still eligible to receive live events.\n\nPOST /accounts/{account_id}/workers/observability/telemetry/live-tail/heartbeat", inputSchema: { type: "object", properties: { @@ -38,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -54,6 +55,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -278,7 +280,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_telemetry_keys", title: "List keys", - description: "List all the keys in your telemetry events.", + description: "List all the keys in your telemetry events.\n\nPOST /accounts/{account_id}/workers/observability/telemetry/keys", inputSchema: { type: "object", properties: { @@ -437,6 +439,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -453,6 +456,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-observability_filter_leaf": workers$$observability_filter_leaf$, "workers-observability_filter_node": workers$$observability_filter_node$, @@ -929,7 +933,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_telemetry_liveTail", title: "Prepare live tail", - description: "Prepare websocket server for live tail.", + description: "Prepare websocket server for live tail.\n\nPOST /accounts/{account_id}/workers/observability/telemetry/live-tail", inputSchema: { type: "object", properties: { @@ -1008,6 +1012,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1024,6 +1029,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-observability_filter_leaf": workers$$observability_filter_leaf$, "workers-observability_filter_node": workers$$observability_filter_node$, @@ -1318,7 +1324,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_telemetry_query", title: "Run a query", - description: "Run a temporary or saved query.", + description: "Run a temporary or saved query.\n\nPOST /accounts/{account_id}/workers/observability/telemetry/query", inputSchema: { type: "object", properties: { @@ -1733,6 +1739,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -1749,6 +1756,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-observability_filter_leaf": workers$$observability_filter_leaf$, "workers-observability_filter_node": workers$$observability_filter_node$, @@ -2197,7 +2205,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_telemetry_values", title: "List values", - description: "List unique values found in your events.", + description: "List unique values found in your events.\n\nPOST /accounts/{account_id}/workers/observability/telemetry/values", inputSchema: { type: "object", properties: { @@ -2343,6 +2351,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -2359,6 +2368,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers-observability_filter_leaf": workers$$observability_filter_leaf$, "workers-observability_filter_node": workers$$observability_filter_node$, diff --git a/src/generated/forge-mcp/o11y/tools.ts b/src/generated/forge-mcp/o11y/tools.ts index 0bb6f8d05..1d70f19d6 100644 --- a/src/generated/forge-mcp/o11y/tools.ts +++ b/src/generated/forge-mcp/o11y/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_usage", title: "Get event count", - description: "Event counts and sizes broken down by dataset and service, bucketed by day, for up to 90 days. The top-level events field is the sum of all breakdown counts.", + description: "Event counts and sizes broken down by dataset and service, bucketed by day, for up to 90 days. The top-level events field is the sum of all breakdown counts.\n\nGET /accounts/{account_id}/workers/observability/usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "from": { "description": "Unix timestamp in milliseconds for the start of the range.", @@ -52,6 +54,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/o11y/tracing/rules/tools.ts b/src/generated/forge-mcp/o11y/tracing/rules/tools.ts index e327bd671..5ff5dcdb2 100644 --- a/src/generated/forge-mcp/o11y/tracing/rules/tools.ts +++ b/src/generated/forge-mcp/o11y/tracing/rules/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_tracing_rules_delete", title: "Delete zone trace rules", - description: "Delete every sampling override from a zone's managed Cloudflare Traces ruleset.", + description: "Delete every sampling override from a zone's managed Cloudflare Traces ruleset.\n\nDELETE /zones/{zone_id}/observability/tracing/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Specify the zone ID.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -447,11 +449,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_tracing_rules_get", title: "View zone trace rules", - description: "Retrieve the ordered sampling overrides for a zone's managed Cloudflare Traces ruleset.", + description: "Retrieve the ordered sampling overrides for a zone's managed Cloudflare Traces ruleset.\n\nGET /zones/{zone_id}/observability/tracing/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Specify the zone ID.", @@ -467,6 +470,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -884,7 +888,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_tracing_rules_update", title: "Replace zone trace rules", - description: "Replace all sampling overrides in a zone's managed Cloudflare Traces ruleset. Rules are evaluated in the supplied order.", + description: "Replace all sampling overrides in a zone's managed Cloudflare Traces ruleset. Rules are evaluated in the supplied order.\n\nPUT /zones/{zone_id}/observability/tracing/rules", inputSchema: { type: "object", properties: { @@ -943,6 +947,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Specify the zone ID.", @@ -959,6 +964,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/o11y/tracing/settings/tools.ts b/src/generated/forge-mcp/o11y/tracing/settings/tools.ts index 7d7dce8ff..3e9a7f403 100644 --- a/src/generated/forge-mcp/o11y/tracing/settings/tools.ts +++ b/src/generated/forge-mcp/o11y/tracing/settings/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_tracing_settings_delete", title: "Reset zone tracing settings", - description: "Reset the zone-level Cloudflare Traces settings to their defaults while preserving the sampling rules.", + description: "Reset the zone-level Cloudflare Traces settings to their defaults while preserving the sampling rules.\n\nDELETE /zones/{zone_id}/observability/tracing/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Specify the zone ID.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -427,11 +429,12 @@ export const tools: readonly Tool[] = [ { name: "o11y_tracing_settings_get", title: "View zone tracing settings", - description: "Retrieve the zone-level Cloudflare Traces settings.", + description: "Retrieve the zone-level Cloudflare Traces settings.\n\nGET /zones/{zone_id}/observability/tracing/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Specify the zone ID.", @@ -447,6 +450,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -844,7 +848,7 @@ export const tools: readonly Tool[] = [ { name: "o11y_tracing_settings_update", title: "Update zone tracing settings", - description: "Update the zone-level Cloudflare Traces settings.", + description: "Update the zone-level Cloudflare Traces settings.\n\nPATCH /zones/{zone_id}/observability/tracing/settings", inputSchema: { type: "object", properties: { @@ -888,6 +892,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "Specify the zone ID.", @@ -904,6 +909,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/observability/usageLimit/tools.ts b/src/generated/forge-mcp/observability/usageLimit/tools.ts index fa8fe2f0e..45288f33e 100644 --- a/src/generated/forge-mcp/observability/usageLimit/tools.ts +++ b/src/generated/forge-mcp/observability/usageLimit/tools.ts @@ -11,11 +11,12 @@ export const tools: readonly Tool[] = [ { name: "observability_usageLimit_get", title: "Get usage limit status", - description: "Whether Workers Observability is keeping fewer of the account's events, usually because it passed its daily limit, and what that limit is. Daily limits reset at 00:00 UTC; paid accounts are brought back in stages over the following hours.\n\nThis method is beta.", + description: "Whether Workers Observability is keeping fewer of the account's events, usually because it passed its daily limit, and what that limit is. Daily limits reset at 00:00 UTC; paid accounts are brought back in stages over the following hours.\n\nThis method is beta.\n\nGET /accounts/{account_id}/observability/usage/limit", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Your Cloudflare account ID.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/organization/account/tools.ts b/src/generated/forge-mcp/organization/account/tools.ts index 5fa7b5010..ba35e1dce 100644 --- a/src/generated/forge-mcp/organization/account/tools.ts +++ b/src/generated/forge-mcp/organization/account/tools.ts @@ -6,7 +6,6 @@ import { organizations$$api_V4ErrorResponse, organizations$$api_V4Message, } from "../../outputs.js"; -import { organizations$$api_OrganizationID } from "../../schemas.js"; import { organizations$$api_PageTokenResultInfo } from "../outputs.js"; import { organizations$$api_Account, @@ -22,11 +21,12 @@ export const tools: readonly Tool[] = [ { name: "organization_account_list", title: "List organization accounts", - description: "Retrieve the accounts immediately attached to a specific organization. Accounts\nattached to sub-organizations are not included. Use `page_token` and `page_size` for cursor\npagination, or provide `page` and `per_page` together for legacy offset pagination. Cursor\npagination takes precedence when requested. The default response uses Account fields;\n`Accept: application/json; legacy=true` requests the LegacyAccount representation.", + description: "Retrieve the accounts immediately attached to a specific organization. Accounts\nattached to sub-organizations are not included. Use `page_token` and `page_size` for cursor\npagination, or provide `page` and `per_page` together for legacy offset pagination. Cursor\npagination takes precedence when requested. The default response uses Account fields;\n`Accept: application/json; legacy=true` requests the LegacyAccount representation.\n\nGET /organizations/{organization_id}/accounts", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "Accept": { "description": "Request `application/json; legacy=true` for the LegacyAccount representation.", @@ -36,10 +36,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to retrieve a list of accounts for." + "description": "The ID of the organization to retrieve a list of accounts for.", + "type": "string" } }, "required": [ @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "account_pubname": { "deprecated": true, @@ -140,9 +142,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "organizations-api_OrganizationID": organizations$$api_OrganizationID, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/organization/invite/outputs.ts b/src/generated/forge-mcp/organization/invite/outputs.ts index 8cd118d6c..462a5e497 100644 --- a/src/generated/forge-mcp/organization/invite/outputs.ts +++ b/src/generated/forge-mcp/organization/invite/outputs.ts @@ -13,7 +13,7 @@ export const organizations$$api_OrganizationInviteMember: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/organizations-api_MemberID" + "type": "string" }, "meta": { "oneOf": [ diff --git a/src/generated/forge-mcp/organization/invite/tools.ts b/src/generated/forge-mcp/organization/invite/tools.ts index 6d0a08c3c..e0c40c3c8 100644 --- a/src/generated/forge-mcp/organization/invite/tools.ts +++ b/src/generated/forge-mcp/organization/invite/tools.ts @@ -6,11 +6,7 @@ import { organizations$$api_V4ErrorResponse, organizations$$api_V4Message, } from "../../outputs.js"; -import { organizations$$api_OrganizationID } from "../../schemas.js"; -import { - organizations$$api_MemberID, - organizations$$api_MemberSubjectUser, -} from "../outputs.js"; +import { organizations$$api_MemberSubjectUser } from "../outputs.js"; import { organizations$$api_OrganizationInviteMember } from "./outputs.js"; import { organizations$$api_HandleOrganizationInviteRequest } from "./schemas.js"; @@ -21,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "organization_invite_update", title: "Handle organization invite", - description: "Accept or reject an invitation to a specific organization.\n\nThe credential must belong to the invited user. No additional API token permission is\nrequired.", + description: "Accept or reject an invitation to a specific organization.\n\nThe credential must belong to the invited user. No additional API token permission is\nrequired.\n\nPUT /organizations/{organization_id}/invites/{member_code}", inputSchema: { type: "object", properties: { @@ -30,14 +26,15 @@ export const tools: readonly Tool[] = [ "description": "The invitation action. Use `accept` to join the organization or `reject` to decline the invitation." }, "path": { + "additionalProperties": false, "properties": { "member_code": { "description": "The invitation code to accept or reject.", "type": "string" }, "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization associated with the invitation." + "description": "The ID of the organization associated with the invitation.", + "type": "string" } }, "required": [ @@ -51,9 +48,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "organizations-api_HandleOrganizationInviteRequest": organizations$$api_HandleOrganizationInviteRequest, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -89,7 +86,6 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, "organizations-api_OrganizationInviteMember": organizations$$api_OrganizationInviteMember, "organizations-api_V4Message": organizations$$api_V4Message, @@ -147,7 +143,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberSubjectUser": organizations$$api_MemberSubjectUser, "organizations-api_OrganizationInviteMember": organizations$$api_OrganizationInviteMember, "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, diff --git a/src/generated/forge-mcp/organization/member/batch/tools.ts b/src/generated/forge-mcp/organization/member/batch/tools.ts index a0dc7c776..494c438ab 100644 --- a/src/generated/forge-mcp/organization/member/batch/tools.ts +++ b/src/generated/forge-mcp/organization/member/batch/tools.ts @@ -6,11 +6,7 @@ import { organizations$$api_V4ErrorResponse, organizations$$api_V4Message, } from "../../../outputs.js"; -import { organizations$$api_OrganizationID } from "../../../schemas.js"; -import { - organizations$$api_MemberID, - organizations$$api_MemberSubjectUser, -} from "../../outputs.js"; +import { organizations$$api_MemberSubjectUser } from "../../outputs.js"; import { organizations$$api_Member, organizations$$api_MemberPolicy, @@ -27,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "organization_member_batch_create", title: "Batch create organization members", - description: "Batch create multiple memberships that grant access to a specific Organization.", + description: "Batch create multiple memberships that grant access to a specific Organization.\n\nPOST /organizations/{organization_id}/members:batchCreate", inputSchema: { type: "object", properties: { @@ -35,9 +31,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/organizations-api_BatchCreateMembersRequest" }, "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "description": "Organization ID", + "type": "string" } }, "required": [ @@ -50,10 +48,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "organizations-api_BatchCreateMembersRequest": organizations$$api_BatchCreateMembersRequest, "organizations-api_CreateSingleMember": organizations$$api_CreateSingleMember, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -93,7 +91,6 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "organizations-api_Member": organizations$$api_Member, - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, @@ -157,7 +154,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "organizations-api_Member": organizations$$api_Member, - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, diff --git a/src/generated/forge-mcp/organization/member/outputs.ts b/src/generated/forge-mcp/organization/member/outputs.ts index 41cd35bfa..b4a36bca9 100644 --- a/src/generated/forge-mcp/organization/member/outputs.ts +++ b/src/generated/forge-mcp/organization/member/outputs.ts @@ -29,7 +29,7 @@ export const organizations$$api_Member: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/organizations-api_MemberID" + "type": "string" }, "meta": { "additionalProperties": { diff --git a/src/generated/forge-mcp/organization/member/tools.ts b/src/generated/forge-mcp/organization/member/tools.ts index 9492fcda2..a805eb9d1 100644 --- a/src/generated/forge-mcp/organization/member/tools.ts +++ b/src/generated/forge-mcp/organization/member/tools.ts @@ -6,13 +6,10 @@ import { organizations$$api_V4ErrorResponse, organizations$$api_V4Message, } from "../../outputs.js"; -import { organizations$$api_OrganizationID } from "../../schemas.js"; import { - organizations$$api_MemberID, organizations$$api_MemberSubjectUser, organizations$$api_PageTokenResultInfo, } from "../outputs.js"; -import { organizations$$api_MemberID as organizations$$api_MemberID$ } from "../schemas.js"; import { organizations$$api_DeleteOrganizationMemberResult, organizations$$api_Member, @@ -32,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "organization_member_create", title: "Create organization member", - description: "Create a membership that grants access to a specific Organization.", + description: "Create a membership that grants access to a specific Organization.\n\nPOST /organizations/{organization_id}/members", inputSchema: { type: "object", properties: { @@ -40,9 +37,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/organizations-api_CreateMemberRequest" }, "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "description": "Organization ID", + "type": "string" } }, "required": [ @@ -55,10 +54,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "organizations-api_CreateMemberRequest": organizations$$api_CreateMemberRequest, "organizations-api_CreateSingleMember": organizations$$api_CreateSingleMember, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, outputSchema: { @@ -95,7 +94,6 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "organizations-api_Member": organizations$$api_Member, - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, @@ -156,7 +154,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "organizations-api_Member": organizations$$api_Member, - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, @@ -173,18 +170,20 @@ export const tools: readonly Tool[] = [ { name: "organization_member_delete", title: "Delete organization member", - description: "Delete a membership to a particular Organization.\n\nConfirm with the user before calling this tool. Delete this organization membership? The member will lose access to this organization and its sub-organizations.", + description: "Delete a membership to a particular Organization.\n\nConfirm with the user before calling this tool. Delete this organization membership? The member will lose access to this organization and its sub-organizations.\n\nDELETE /organizations/{organization_id}/members/{member_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "member_id": { - "$ref": "#/$defs/organizations-api_MemberID", - "description": "Organization Member ID" + "description": "Organization Member ID", + "type": "string" }, "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "description": "Organization ID", + "type": "string" } }, "required": [ @@ -197,10 +196,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "organizations-api_MemberID": organizations$$api_MemberID$, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -303,18 +299,20 @@ export const tools: readonly Tool[] = [ { name: "organization_member_get", title: "Get organization member", - description: "Retrieve a single membership from an Organization.", + description: "Retrieve a single membership from an Organization.\n\nGET /organizations/{organization_id}/members/{member_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "member_id": { - "$ref": "#/$defs/organizations-api_MemberID", - "description": "Organization Member ID" + "description": "Organization Member ID", + "type": "string" }, "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "description": "Organization ID", + "type": "string" } }, "required": [ @@ -327,10 +325,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "organizations-api_MemberID": organizations$$api_MemberID$, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -366,7 +361,6 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "organizations-api_Member": organizations$$api_Member, - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, @@ -427,7 +421,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "organizations-api_Member": organizations$$api_Member, - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, @@ -443,14 +436,16 @@ export const tools: readonly Tool[] = [ { name: "organization_member_list", title: "List organization members", - description: "List memberships for an Organization.", + description: "List memberships for an Organization.\n\nGET /organizations/{organization_id}/members", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "description": "Organization ID", + "type": "string" } }, "required": [ @@ -459,6 +454,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_size": { "description": "The amount of items to return. Defaults to 10.", @@ -504,9 +500,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "organizations-api_OrganizationID": organizations$$api_OrganizationID, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -549,7 +543,6 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "organizations-api_Member": organizations$$api_Member, - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, @@ -618,7 +611,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "organizations-api_Member": organizations$$api_Member, - "organizations-api_MemberID": organizations$$api_MemberID, "organizations-api_MemberPolicy": organizations$$api_MemberPolicy, "organizations-api_MemberPolicyRole": organizations$$api_MemberPolicyRole, "organizations-api_MemberPolicyScope": organizations$$api_MemberPolicyScope, diff --git a/src/generated/forge-mcp/organization/outputs.ts b/src/generated/forge-mcp/organization/outputs.ts index 5ae3b2eda..e74557f97 100644 --- a/src/generated/forge-mcp/organization/outputs.ts +++ b/src/generated/forge-mcp/organization/outputs.ts @@ -18,13 +18,6 @@ export const organizations$$api_DeleteOrganizationResult: JsonSchema = { "type": "object" }; -/** - * The schema of `organizations-api_MemberID` in responses. - */ -export const organizations$$api_MemberID: JsonSchema = { - "type": "string" -}; - /** * The schema of `organizations-api_MemberSubjectUser` in responses. */ diff --git a/src/generated/forge-mcp/organization/profile/tools.ts b/src/generated/forge-mcp/organization/profile/tools.ts index 4f85a9372..0c778ea34 100644 --- a/src/generated/forge-mcp/organization/profile/tools.ts +++ b/src/generated/forge-mcp/organization/profile/tools.ts @@ -7,10 +7,7 @@ import { organizations$$api_V4ErrorResponse, organizations$$api_V4Message, } from "../../outputs.js"; -import { - organizations$$api_ModifyProfileRequest, - organizations$$api_OrganizationID, -} from "../../schemas.js"; +import { organizations$$api_ModifyProfileRequest } from "../../schemas.js"; import { organizations$$api_ProfileResponse } from "./outputs.js"; /** @@ -20,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "organization_profile_get", title: "Get organization profile", - description: "Retrieves the business profile (name, email, phone, address, and external metadata)\nassociated with this organization's customer record. Profiles can be shared across\naccounts and organizations. Only available to members of the organization.", + description: "Retrieves the business profile (name, email, phone, address, and external metadata)\nassociated with this organization's customer record. Profiles can be shared across\naccounts and organizations. Only available to members of the organization.\n\nGET /organizations/{organization_id}/profile", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to retrieve a profile for." + "description": "The ID of the organization to retrieve a profile for.", + "type": "string" } }, "required": [ @@ -40,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "organizations-api_OrganizationID": organizations$$api_OrganizationID, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/organizations-api_ProfileResponse", @@ -87,7 +83,7 @@ export const tools: readonly Tool[] = [ { name: "organization_profile_update", title: "Modify organization profile.", - description: "Partially updates the business profile (name, email, phone, address, and external metadata)\nassociated with this organization's customer record, creating the profile if it does not\nexist. Changes apply to every account and organization sharing that profile. Omitted,\nempty, or null fields are left unchanged. Each profile field is limited to 1,000 UTF-8\nbytes. Only available to members of the organization.", + description: "Partially updates the business profile (name, email, phone, address, and external metadata)\nassociated with this organization's customer record, creating the profile if it does not\nexist. Changes apply to every account and organization sharing that profile. Omitted,\nempty, or null fields are left unchanged. Each profile field is limited to 1,000 UTF-8\nbytes. Only available to members of the organization.\n\nPUT /organizations/{organization_id}/profile", inputSchema: { type: "object", properties: { @@ -95,9 +91,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/organizations-api_ModifyProfileRequest" }, "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "description": "Organization ID", + "type": "string" } }, "required": [ @@ -110,9 +108,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "organizations-api_ModifyProfileRequest": organizations$$api_ModifyProfileRequest, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, }, }, annotations: { diff --git a/src/generated/forge-mcp/organization/schemas.ts b/src/generated/forge-mcp/organization/schemas.ts index c1e2a1670..c4dabd73b 100644 --- a/src/generated/forge-mcp/organization/schemas.ts +++ b/src/generated/forge-mcp/organization/schemas.ts @@ -40,7 +40,8 @@ export const organizations$$api_CreateOrganizationRequest: JsonSchema = { "parent": { "properties": { "id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "description": "Organization ID", + "type": "string" } }, "required": [ @@ -59,14 +60,6 @@ export const organizations$$api_CreateOrganizationRequest: JsonSchema = { "type": "object" }; -/** - * The schema of `organizations-api_MemberID`. - */ -export const organizations$$api_MemberID: JsonSchema = { - "description": "Organization Member ID", - "type": "string" -}; - /** * The schema of `organizations-api_ModifyOrganizationRequest`. */ @@ -77,8 +70,8 @@ export const organizations$$api_ModifyOrganizationRequest: JsonSchema = { "type": "string" }, "parent_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The current parent Organization ID. A different value is rejected; this endpoint cannot move an Organization." + "description": "The current parent Organization ID. A different value is rejected; this endpoint cannot move an Organization.", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/organization/share/tools.ts b/src/generated/forge-mcp/organization/share/tools.ts index 2429511f2..714e410a6 100644 --- a/src/generated/forge-mcp/organization/share/tools.ts +++ b/src/generated/forge-mcp/organization/share/tools.ts @@ -3,41 +3,19 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource$$sharing_account_id, - resource$$sharing_account_name, resource$$sharing_api$$response$$collection, resource$$sharing_api$$response$$collection$$info, resource$$sharing_api$$response$$common, resource$$sharing_api$$response$$common$$failure, - resource$$sharing_created, - resource$$sharing_modified, - resource$$sharing_organization_id, - resource$$sharing_resource_id, resource$$sharing_resource_meta, - resource$$sharing_resource_resource_id, - resource$$sharing_resource_status, - resource$$sharing_resource_type, - resource$$sharing_resource_version, resource$$sharing_result_info, - resource$$sharing_share_id, - resource$$sharing_share_kind, - resource$$sharing_share_name, resource$$sharing_share_object, resource$$sharing_share_resource_object, resource$$sharing_share_response_collection, resource$$sharing_share_response_collection_result, - resource$$sharing_share_status, - resource$$sharing_share_target_type, resource$$sharing_v4error, resource$$sharing_v4errors, } from "../../outputs.js"; -import { - resource$$sharing_organization_id as resource$$sharing_organization_id$, - resource$$sharing_resource_type as resource$$sharing_resource_type$, - resource$$sharing_share_kind as resource$$sharing_share_kind$, - resource$$sharing_share_status as resource$$sharing_share_status$, - resource$$sharing_share_target_type as resource$$sharing_share_target_type$, -} from "../../schemas.js"; /** * The tools of `organization.share`. @@ -46,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "organization_share_list", title: "List organization shares", - description: "Lists all organization shares.", + description: "Lists all organization shares.\n\nGET /organizations/{organization_id}/shares", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/resource-sharing_organization_id", - "description": "Organization identifier." + "description": "Organization identifier.", + "type": "string" } }, "required": [ @@ -63,6 +42,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -74,8 +54,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "kind": { - "$ref": "#/$defs/resource-sharing_share_kind", - "description": "Filter shares by kind." + "description": "Filter shares by kind.", + "enum": [ + "sent", + "received" + ], + "type": "string" }, "order": { "default": "created", @@ -99,17 +83,36 @@ export const tools: readonly Tool[] = [ "resource_types": { "description": "Filter share resources by resource_types.", "items": { - "$ref": "#/$defs/resource-sharing_resource_type" + "description": "Resource Type.", + "enum": [ + "custom-ruleset", + "gateway-policy", + "gateway-destination-ip", + "gateway-block-page-settings", + "gateway-extended-email-matching", + "idp-federation-grant", + "trust-grant" + ], + "type": "string" }, "type": "array" }, "status": { - "$ref": "#/$defs/resource-sharing_share_status", - "description": "Filter shares by status." + "description": "Filter shares by status.", + "enum": [ + "active", + "deleting", + "deleted" + ], + "type": "string" }, "target_type": { - "$ref": "#/$defs/resource-sharing_share_target_type", - "description": "Filter shares by target_type." + "description": "Filter shares by target_type.", + "enum": [ + "account", + "organization" + ], + "type": "string" } }, "type": "object" @@ -118,41 +121,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_organization_id": resource$$sharing_organization_id$, - "resource-sharing_resource_type": resource$$sharing_resource_type$, - "resource-sharing_share_kind": resource$$sharing_share_kind$, - "resource-sharing_share_status": resource$$sharing_share_status$, - "resource-sharing_share_target_type": resource$$sharing_share_target_type$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_collection", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_result_info": resource$$sharing_result_info, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_collection": resource$$sharing_share_response_collection, "resource-sharing_share_response_collection_result": resource$$sharing_share_response_collection_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -187,31 +169,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_result_info": resource$$sharing_result_info, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_collection": resource$$sharing_share_response_collection, "resource-sharing_share_response_collection_result": resource$$sharing_share_response_collection_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, diff --git a/src/generated/forge-mcp/organization/tools.ts b/src/generated/forge-mcp/organization/tools.ts index dcf2473f4..62a1bf62e 100644 --- a/src/generated/forge-mcp/organization/tools.ts +++ b/src/generated/forge-mcp/organization/tools.ts @@ -5,12 +5,10 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { organizations$$api_Organization, organizations$$api_OrganizationFlags, - organizations$$api_OrganizationID, organizations$$api_Profile, organizations$$api_V4ErrorResponse, organizations$$api_V4Message, } from "../outputs.js"; -import { organizations$$api_OrganizationID as organizations$$api_OrganizationID$ } from "../schemas.js"; import { organizations$$api_DeleteOrganizationResult, organizations$$api_PageTokenResultInfo, @@ -28,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "organization_create", title: "Create organization", - description: "Create a new organization for a user. Sub-organization creation availability depends on\nthe organization's capabilities. The optional `profile` object accepts partial profile\ndetails; its individual fields are not required. Organization names are limited to 65\nUTF-8 bytes. Each profile field is limited to 1,000 UTF-8 bytes, and a non-empty business\nemail must be valid. At least one of business name, address, phone, or email must be\nnon-empty to persist a profile.", + description: "Create a new organization for a user. Sub-organization creation availability depends on\nthe organization's capabilities. The optional `profile` object accepts partial profile\ndetails; its individual fields are not required. Organization names are limited to 65\nUTF-8 bytes. Each profile field is limited to 1,000 UTF-8 bytes, and a non-empty business\nemail must be valid. At least one of business name, address, phone, or email must be\nnon-empty to persist a profile.\n\nPOST /organizations", inputSchema: { type: "object", properties: { @@ -39,10 +37,10 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { "organizations-api_CreateOrganizationProfileRequest": organizations$$api_CreateOrganizationProfileRequest, "organizations-api_CreateOrganizationRequest": organizations$$api_CreateOrganizationRequest, - "organizations-api_OrganizationID": organizations$$api_OrganizationID$, }, }, outputSchema: { @@ -80,7 +78,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4Message": organizations$$api_V4Message, }, @@ -144,7 +141,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, "organizations-api_V4Message": organizations$$api_V4Message, @@ -158,15 +154,16 @@ export const tools: readonly Tool[] = [ { name: "organization_delete", title: "Delete organization", - description: "Delete an organization. It must not contain active sub-organizations or accounts. A root\norganization must also have no active managed users. Sub-organization deletion availability\ndepends on the organization's capabilities.\n\n**Access Control:** Root deletion is restricted to enterprise organizations.\n\nConfirm with the user before calling this tool. Delete this empty organization? This action cannot be undone.", + description: "Delete an organization. It must not contain active sub-organizations or accounts. A root\norganization must also have no active managed users. Sub-organization deletion availability\ndepends on the organization's capabilities.\n\n**Access Control:** Root deletion is restricted to enterprise organizations.\n\nConfirm with the user before calling this tool. Delete this empty organization? This action cannot be undone.\n\nDELETE /organizations/{organization_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to delete." + "description": "The ID of the organization to delete.", + "type": "string" } }, "required": [ @@ -178,9 +175,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "organizations-api_OrganizationID": organizations$$api_OrganizationID$, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -283,15 +278,16 @@ export const tools: readonly Tool[] = [ { name: "organization_get", title: "Get organization", - description: "Retrieve the details of a certain organization.", + description: "Retrieve the details of a certain organization.\n\nGET /organizations/{organization_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to retrieve." + "description": "The ID of the organization to retrieve.", + "type": "string" } }, "required": [ @@ -303,9 +299,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "organizations-api_OrganizationID": organizations$$api_OrganizationID$, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -342,7 +336,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4Message": organizations$$api_V4Message, }, @@ -401,7 +394,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, "organizations-api_V4Message": organizations$$api_V4Message, @@ -414,11 +406,12 @@ export const tools: readonly Tool[] = [ { name: "organization_list", title: "List organizations the user has access to", - description: "Retrieve a list of organizations a particular user has access to. At most one of\n`containing.account`, `containing.user`, or `containing.organization` may be provided.", + description: "Retrieve a list of organizations a particular user has access to. At most one of\n`containing.account`, `containing.user`, or `containing.organization` may be provided.\n\nGET /organizations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "containing.account": { "description": "Filter the list of organizations to the ones that contain this particular\naccount.", @@ -443,7 +436,8 @@ export const tools: readonly Tool[] = [ "id": { "description": "Only return organizations with the specified IDs (ex. id=foo&id=bar). Send multiple elements\nby repeating the query value.", "items": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "description": "Organization ID", + "type": "string" }, "type": "array" }, @@ -485,7 +479,8 @@ export const tools: readonly Tool[] = [ "parent.id": { "anyOf": [ { - "$ref": "#/$defs/organizations-api_OrganizationID" + "description": "Organization ID", + "type": "string" }, { "enum": [ @@ -500,9 +495,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, - $defs: { - "organizations-api_OrganizationID": organizations$$api_OrganizationID$, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -546,7 +539,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_PageTokenResultInfo": organizations$$api_PageTokenResultInfo, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4Message": organizations$$api_V4Message, @@ -619,7 +611,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_PageTokenResultInfo": organizations$$api_PageTokenResultInfo, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, @@ -649,7 +640,7 @@ export const tools: readonly Tool[] = [ { name: "organization_update", title: "Update organization", - description: "Update an organization's name. Supplying `parent_id` verifies the current parent; this\nendpoint cannot move an organization. Organization names are limited to 65 UTF-8 bytes.", + description: "Update an organization's name. Supplying `parent_id` verifies the current parent; this\nendpoint cannot move an organization. Organization names are limited to 65 UTF-8 bytes.\n\nPUT /organizations/{organization_id}", inputSchema: { type: "object", properties: { @@ -658,10 +649,11 @@ export const tools: readonly Tool[] = [ "description": "The Organization fields to update or verify." }, "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/organizations-api_OrganizationID", - "description": "The ID of the organization to modify." + "description": "The ID of the organization to modify.", + "type": "string" } }, "required": [ @@ -674,9 +666,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "organizations-api_ModifyOrganizationRequest": organizations$$api_ModifyOrganizationRequest, - "organizations-api_OrganizationID": organizations$$api_OrganizationID$, }, }, outputSchema: { @@ -714,7 +706,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4Message": organizations$$api_V4Message, }, @@ -773,7 +764,6 @@ export const tools: readonly Tool[] = [ $defs: { "organizations-api_Organization": organizations$$api_Organization, "organizations-api_OrganizationFlags": organizations$$api_OrganizationFlags, - "organizations-api_OrganizationID": organizations$$api_OrganizationID, "organizations-api_Profile": organizations$$api_Profile, "organizations-api_V4ErrorResponse": organizations$$api_V4ErrorResponse, "organizations-api_V4Message": organizations$$api_V4Message, diff --git a/src/generated/forge-mcp/organizations/billing/usage/tools.ts b/src/generated/forge-mcp/organizations/billing/usage/tools.ts index a7ab1ecf2..03f0c7043 100644 --- a/src/generated/forge-mcp/organizations/billing/usage/tools.ts +++ b/src/generated/forge-mcp/organizations/billing/usage/tools.ts @@ -8,7 +8,6 @@ import { billable$$usage$$api_message, billable$$usage$$api_v2_usage_response, } from "../../../outputs.js"; -import { billable$$usage$$api_identifier } from "../../../schemas.js"; /** * The tools of `organizations.billing.usage`. @@ -17,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "organizations_billing_usage_get", title: "Get Organization Usage (Version 2, Alpha, Restricted)", - description: "Returns cost and usage data for all accounts within an organization,\naligned with the [FinOps FOCUS v1.3](https://focus.finops.org/focus-specification/v1-3/)\nCost and Usage dataset specification.\n\nEach record represents one billable metric for one account on one day.\nThis includes all metered usage, including usage that falls within\nfree-tier allowances and may result in zero cost. The response\nincludes usage for every account belonging to the specified\norganization.\n\n**Note:** This endpoint serves `usage` records only; cost and pricing\nfields are absent from responses. Rated costs are available per\naccount via `POST /accounts/{account_id}/billable/usage` with\n`Metric: cost`.\n\nWhen `from` and `to` are omitted, defaults to the start of the current\nmonth through today. The maximum date range is 31 days.\n\nAn organization with no accounts, or an organization ID that does not\nexist, returns a successful response with an empty result set rather\nthan an error.", + description: "Returns cost and usage data for all accounts within an organization,\naligned with the [FinOps FOCUS v1.3](https://focus.finops.org/focus-specification/v1-3/)\nCost and Usage dataset specification.\n\nEach record represents one billable metric for one account on one day.\nThis includes all metered usage, including usage that falls within\nfree-tier allowances and may result in zero cost. The response\nincludes usage for every account belonging to the specified\norganization.\n\n**Note:** This endpoint serves `usage` records only; cost and pricing\nfields are absent from responses. Rated costs are available per\naccount via `POST /accounts/{account_id}/billable/usage` with\n`Metric: cost`.\n\nWhen `from` and `to` are omitted, defaults to the start of the current\nmonth through today. The maximum date range is 31 days.\n\nAn organization with no accounts, or an organization ID that does not\nexist, returns a successful response with an empty result set rather\nthan an error.\n\nGET /organizations/{organization_id}/billable/usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "organization_id": { - "$ref": "#/$defs/billable-usage-api_identifier", - "description": "Identifies the Cloudflare organization." + "description": "Identifies the Cloudflare organization.", + "type": "string" } }, "required": [ @@ -34,6 +34,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "from": { "description": "Start date for the usage query (ISO 8601). Required if `to` is set. When omitted along with `to`, defaults to the start of the current month. Filters by charge period (when consumption happened), not billing period. The maximum date range is 31 days.", @@ -52,9 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "billable-usage-api_identifier": billable$$usage$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/billable-usage-api_v2_usage_response", diff --git a/src/generated/forge-mcp/organizations/logs/audit/outputs.ts b/src/generated/forge-mcp/organizations/logs/audit/outputs.ts index a9139ce78..246125b9a 100644 --- a/src/generated/forge-mcp/organizations/logs/audit/outputs.ts +++ b/src/generated/forge-mcp/organizations/logs/audit/outputs.ts @@ -32,7 +32,7 @@ export const aaa_audit$$logs$$v2$$org: JsonSchema = { ] }, "id": { - "$ref": "#/$defs/aaa_identifier-2" + "type": "string" }, "organization": { "properties": { diff --git a/src/generated/forge-mcp/organizations/logs/audit/tools.ts b/src/generated/forge-mcp/organizations/logs/audit/tools.ts index 79f167fd6..5cfa00626 100644 --- a/src/generated/forge-mcp/organizations/logs/audit/tools.ts +++ b/src/generated/forge-mcp/organizations/logs/audit/tools.ts @@ -10,8 +10,6 @@ import { aaa_audit$$logs$$response$$collection, aaa_audit$$logs$$v2$$history$$not$$found, aaa_audit$$logs$$v2$$history$$result$$info, - aaa_history$$status, - aaa_identifier$$2, aaa_messages$$2, aaa_result_info, } from "../../../outputs.js"; @@ -28,11 +26,12 @@ export const tools: readonly Tool[] = [ { name: "organizations_logs_audit_get", title: "Get organization audit logs (Version 2)", - description: "Gets a list of audit logs for an organization.", + description: "Gets a list of audit logs for an organization.\n\nGET /organizations/{organization_id}/logs/audit", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "organization_id": { "description": "The unique id that identifies the organization.", @@ -45,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "action_result": { "description": "Filters by whether the action was successful or not.", @@ -95,7 +95,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "actor_context": { - "description": "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", + "description": "Filters by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.", "items": { "enum": [ "api", @@ -110,7 +110,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "actor_context.not": { - "description": "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.\n", + "description": "Filters out audit logs by the actor context.\n- `api`: The action was performed through the API. The specific credential type was not recorded.\n- `api_key`: The action was authenticated with a Cloudflare Global API Key.\n- `api_token`: The action was authenticated with an API token.\n- `dash`: The action was performed through the Cloudflare dashboard.\n- `oauth`: The action was authenticated with an OAuth token.\n- `origin_ca_key`: The action was authenticated with an Origin CA key.", "items": { "enum": [ "api", @@ -390,6 +390,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-org-response-collection", @@ -400,7 +401,6 @@ export const tools: readonly Tool[] = [ "aaa_audit-logs-response-collection": aaa_audit$$logs$$response$$collection, "aaa_audit-logs-v2-org": aaa_audit$$logs$$v2$$org, "aaa_audit-logs-v2-org-response-collection": aaa_audit$$logs$$v2$$org$$response$$collection, - "aaa_identifier-2": aaa_identifier$$2, "aaa_messages-2": aaa_messages$$2, "aaa_result_info": aaa_result_info, }, @@ -439,7 +439,6 @@ export const tools: readonly Tool[] = [ "aaa_audit-logs-response-collection": aaa_audit$$logs$$response$$collection, "aaa_audit-logs-v2-org": aaa_audit$$logs$$v2$$org, "aaa_audit-logs-v2-org-response-collection": aaa_audit$$logs$$v2$$org$$response$$collection, - "aaa_identifier-2": aaa_identifier$$2, "aaa_messages-2": aaa_messages$$2, "aaa_result_info": aaa_result_info, }, @@ -494,11 +493,12 @@ export const tools: readonly Tool[] = [ { name: "organizations_logs_audit_history", title: "Get resource change history from an organization audit log entry (Version 2)", - description: "Returns the chronological change history for the resource identified by the given organization-scoped audit log entry.\n\nThe endpoint first locates the source audit log entry by `id` (using `action_time` to narrow the lookup window), derives identifying filters from that entry, and then returns matching audit logs within the `since`/`before` window.\n\nThe `result_info.history_status` field indicates the quality of the resource identification used:\n- `exact`: Resource was identified by the resource URI.\n- `approximate`: Resource was identified without the resource URI.\n- `unavailable`: The source audit log entry did not contain enough information to identify the resource; an empty result is returned.", + description: "Returns the chronological change history for the resource identified by the given organization-scoped audit log entry.\n\nThe endpoint first locates the source audit log entry by `id` (using `action_time` to narrow the lookup window), derives identifying filters from that entry, and then returns matching audit logs within the `since`/`before` window.\n\nThe `result_info.history_status` field indicates the quality of the resource identification used:\n- `exact`: Resource was identified by the resource URI.\n- `approximate`: Resource was identified without the resource URI.\n- `unavailable`: The source audit log entry did not contain enough information to identify the resource; an empty result is returned.\n\nGET /organizations/{organization_id}/logs/audit/{id}/history", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "id": { "description": "The ID of the audit log to fetch resource history for.", @@ -517,6 +517,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "action_time": { "description": "RFC3339 timestamp of the source audit log entry's action time. Used to narrow the source-entry lookup window. Provide the `action.time` value from the audit log identified by `id`.", @@ -564,6 +565,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_audit-logs-v2-org-history-response-collection", @@ -574,8 +576,6 @@ export const tools: readonly Tool[] = [ "aaa_audit-logs-v2-history-result-info": aaa_audit$$logs$$v2$$history$$result$$info, "aaa_audit-logs-v2-org": aaa_audit$$logs$$v2$$org, "aaa_audit-logs-v2-org-history-response-collection": aaa_audit$$logs$$v2$$org$$history$$response$$collection, - "aaa_history-status": aaa_history$$status, - "aaa_identifier-2": aaa_identifier$$2, "aaa_messages-2": aaa_messages$$2, }, }, @@ -617,8 +617,6 @@ export const tools: readonly Tool[] = [ "aaa_audit-logs-v2-history-result-info": aaa_audit$$logs$$v2$$history$$result$$info, "aaa_audit-logs-v2-org": aaa_audit$$logs$$v2$$org, "aaa_audit-logs-v2-org-history-response-collection": aaa_audit$$logs$$v2$$org$$history$$response$$collection, - "aaa_history-status": aaa_history$$status, - "aaa_identifier-2": aaa_identifier$$2, "aaa_messages-2": aaa_messages$$2, }, }, diff --git a/src/generated/forge-mcp/outputs.ts b/src/generated/forge-mcp/outputs.ts index 9220de09a..c0ec3bc43 100644 --- a/src/generated/forge-mcp/outputs.ts +++ b/src/generated/forge-mcp/outputs.ts @@ -236,7 +236,7 @@ export const aaa_audit$$logs: JsonSchema = { "owner": { "properties": { "id": { - "$ref": "#/$defs/aaa_identifier" + "type": "string" } }, "type": "object" @@ -329,7 +329,12 @@ export const aaa_audit$$logs$$v2$$history$$result$$info: JsonSchema = { "type": "string" }, "history_status": { - "$ref": "#/$defs/aaa_history-status" + "enum": [ + "exact", + "approximate", + "unavailable" + ], + "type": "string" } }, "required": [ @@ -370,32 +375,6 @@ export const aaa_audit_logs_response_collection: JsonSchema = { ] }; -/** - * The schema of `aaa_history-status` in responses. - */ -export const aaa_history$$status: JsonSchema = { - "enum": [ - "exact", - "approximate", - "unavailable" - ], - "type": "string" -}; - -/** - * The schema of `aaa_identifier` in responses. - */ -export const aaa_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `aaa_identifier-2` in responses. - */ -export const aaa_identifier$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `aaa_messages` in responses. */ @@ -722,7 +701,11 @@ export const analytics$$sql_IntrospectionDatasetKind: JsonSchema = { "events": { "properties": { "sampling": { - "$ref": "#/$defs/analytics-sql_IntrospectionSampling" + "enum": [ + "unsampled", + "adaptive" + ], + "type": "string" } }, "required": [ @@ -733,7 +716,11 @@ export const analytics$$sql_IntrospectionDatasetKind: JsonSchema = { "logs": { "properties": { "sampling": { - "$ref": "#/$defs/analytics-sql_IntrospectionSampling" + "enum": [ + "unsampled", + "adaptive" + ], + "type": "string" } }, "required": [ @@ -744,7 +731,11 @@ export const analytics$$sql_IntrospectionDatasetKind: JsonSchema = { "states": { "properties": { "sampling": { - "$ref": "#/$defs/analytics-sql_IntrospectionSampling" + "enum": [ + "unsampled", + "adaptive" + ], + "type": "string" }, "valid_aggregations": { "items": { @@ -781,17 +772,6 @@ export const analytics$$sql_IntrospectionResponse: JsonSchema = { "type": "object" }; -/** - * The schema of `analytics-sql_IntrospectionSampling` in responses. - */ -export const analytics$$sql_IntrospectionSampling: JsonSchema = { - "enum": [ - "unsampled", - "adaptive" - ], - "type": "string" -}; - /** * The schema of `analytics-sql_LogExplorerQueryResponse` in responses. */ @@ -955,26 +935,30 @@ export const api$$shield_api$$response$$common$$failure: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_auth_id_tokens` in responses. - */ -export const api$$shield_auth_id_tokens: JsonSchema = { - "type": "integer" -}; - /** * The schema of `api-shield_basic_operation` in responses. */ export const api$$shield_basic_operation: JsonSchema = { "properties": { "endpoint": { - "$ref": "#/$defs/api-shield_endpoint" + "type": "string" }, "host": { - "$ref": "#/$defs/api-shield_host" + "type": "string" }, "method": { - "$ref": "#/$defs/api-shield_method" + "enum": [ + "GET", + "POST", + "HEAD", + "OPTIONS", + "PUT", + "DELETE", + "CONNECT", + "PATCH", + "TRACE" + ], + "type": "string" } }, "required": [ @@ -1000,27 +984,6 @@ export const api$$shield_confidence_intervals_bounds: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_data_points` in responses. - */ -export const api$$shield_data_points: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `api-shield_endpoint` in responses. - */ -export const api$$shield_endpoint: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `api-shield_host` in responses. - */ -export const api$$shield_host: JsonSchema = { - "type": "string" -}; - /** * The schema of `api-shield_messages` in responses. */ @@ -1054,24 +1017,6 @@ export const api$$shield_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `api-shield_method` in responses. - */ -export const api$$shield_method: JsonSchema = { - "enum": [ - "GET", - "POST", - "HEAD", - "OPTIONS", - "PUT", - "DELETE", - "CONNECT", - "PATCH", - "TRACE" - ], - "type": "string" -}; - /** * The schema of `api-shield_operation` in responses. */ @@ -1106,7 +1051,8 @@ export const api$$shield_operation_feature_api_routing: JsonSchema = { "api_routing": { "properties": { "last_updated": { - "$ref": "#/$defs/api-shield_timestamp" + "format": "date-time", + "type": "string" }, "route": { "type": "string" @@ -1127,7 +1073,8 @@ export const api$$shield_operation_feature_confidence_intervals: JsonSchema = { "confidence_intervals": { "properties": { "last_updated": { - "$ref": "#/$defs/api-shield_timestamp" + "format": "date-time", + "type": "string" }, "suggested_threshold": { "properties": { @@ -1166,7 +1113,8 @@ export const api$$shield_operation_feature_parameter_schemas: JsonSchema = { "parameter_schemas": { "properties": { "last_updated": { - "$ref": "#/$defs/api-shield_timestamp" + "format": "date-time", + "type": "string" }, "parameter_schemas": { "$ref": "#/$defs/api-shield_parameter_schemas_definition" @@ -1191,10 +1139,18 @@ export const api$$shield_operation_feature_schema_info: JsonSchema = { "active_schema": { "properties": { "created_at": { - "$ref": "#/$defs/api-shield_timestamp" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, "name": { "type": "string" @@ -1232,31 +1188,32 @@ export const api$$shield_operation_feature_thresholds: JsonSchema = { "thresholds": { "properties": { "auth_id_tokens": { - "$ref": "#/$defs/api-shield_auth_id_tokens" + "type": "integer" }, "data_points": { - "$ref": "#/$defs/api-shield_data_points" + "type": "integer" }, "last_updated": { - "$ref": "#/$defs/api-shield_timestamp" + "format": "date-time", + "type": "string" }, "p50": { - "$ref": "#/$defs/api-shield_p50" + "type": "integer" }, "p90": { - "$ref": "#/$defs/api-shield_p90" + "type": "integer" }, "p99": { - "$ref": "#/$defs/api-shield_p99" + "type": "integer" }, "period_seconds": { - "$ref": "#/$defs/api-shield_period_seconds" + "type": "integer" }, "requests": { - "$ref": "#/$defs/api-shield_requests" + "type": "integer" }, "suggested_threshold": { - "$ref": "#/$defs/api-shield_suggested_threshold" + "type": "integer" } }, "type": "object" @@ -1288,27 +1245,6 @@ export const api$$shield_operation_features: JsonSchema = { ] }; -/** - * The schema of `api-shield_p50` in responses. - */ -export const api$$shield_p50: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `api-shield_p90` in responses. - */ -export const api$$shield_p90: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `api-shield_p99` in responses. - */ -export const api$$shield_p99: JsonSchema = { - "type": "integer" -}; - /** * The schema of `api-shield_parameter_schemas_definition` in responses. */ @@ -1334,20 +1270,6 @@ export const api$$shield_parameter_schemas_definition: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_period_seconds` in responses. - */ -export const api$$shield_period_seconds: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `api-shield_requests` in responses. - */ -export const api$$shield_requests: JsonSchema = { - "type": "integer" -}; - /** * The schema of `api-shield_standard_operation` in responses. */ @@ -1359,10 +1281,25 @@ export const api$$shield_standard_operation: JsonSchema = { { "properties": { "last_updated": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "operation_id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -1374,56 +1311,6 @@ export const api$$shield_standard_operation: JsonSchema = { ] }; -/** - * The schema of `api-shield_suggested_threshold` in responses. - */ -export const api$$shield_suggested_threshold: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `api-shield_timestamp` in responses. - */ -export const api$$shield_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `api-shield_timestamp-2` in responses. - */ -export const api$$shield_timestamp$$2: JsonSchema = { - "allOf": [ - { - "$ref": "#/$defs/api-shield_timestamp" - }, - { - "type": "string" - } - ] -}; - -/** - * The schema of `api-shield_uuid` in responses. - */ -export const api$$shield_uuid: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `api-shield_uuid-2` in responses. - */ -export const api$$shield_uuid$$2: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/api-shield_uuid" - } - ] -}; - /** * The schema of `bill-subs-api_api-response-collection` in responses. */ @@ -1621,7 +1508,7 @@ export const bill$$subs$$api_billing_response_single: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/bill-subs-api_components-schemas-identifier" + "type": "string" }, "is_partner": { "type": "boolean" @@ -1738,63 +1625,6 @@ export const bill$$subs$$api_component_values: JsonSchema = { "type": "array" }; -/** - * The schema of `bill-subs-api_components-schemas-identifier` in responses. - */ -export const bill$$subs$$api_components$$schemas$$identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `bill-subs-api_currency` in responses. - */ -export const bill$$subs$$api_currency: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `bill-subs-api_current_period_end` in responses. - */ -export const bill$$subs$$api_current_period_end: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `bill-subs-api_current_period_start` in responses. - */ -export const bill$$subs$$api_current_period_start: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `bill-subs-api_frequency` in responses. - */ -export const bill$$subs$$api_frequency: JsonSchema = { - "enum": [ - "weekly", - "monthly", - "quarterly", - "yearly" - ], - "type": "string" -}; - -/** - * The schema of `bill-subs-api_identifier` in responses. - */ -export const bill$$subs$$api_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `bill-subs-api_install_id` in responses. - */ -export const bill$$subs$$api_install_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `bill-subs-api_messages` in responses. */ @@ -1817,20 +1647,6 @@ export const bill$$subs$$api_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `bill-subs-api_name` in responses. - */ -export const bill$$subs$$api_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `bill-subs-api_price` in responses. - */ -export const bill$$subs$$api_price: JsonSchema = { - "type": "number" -}; - /** * The schema of `bill-subs-api_rate_plan` in responses. */ @@ -1885,29 +1701,6 @@ export const bill$$subs$$api_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `bill-subs-api_schemas-identifier` in responses. - */ -export const bill$$subs$$api_schemas$$identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `bill-subs-api_state` in responses. - */ -export const bill$$subs$$api_state: JsonSchema = { - "enum": [ - "Trial", - "Provisioned", - "Paid", - "AwaitingPayment", - "Cancelled", - "Failed", - "Expired" - ], - "type": "string" -}; - /** * The schema of `bill-subs-api_subscription` in responses. */ @@ -1916,7 +1709,7 @@ export const bill$$subs$$api_subscription: JsonSchema = { "app": { "properties": { "install_id": { - "$ref": "#/$defs/bill-subs-api_install_id" + "type": "string" } }, "type": "object" @@ -1925,28 +1718,45 @@ export const bill$$subs$$api_subscription: JsonSchema = { "$ref": "#/$defs/bill-subs-api_component_values" }, "currency": { - "$ref": "#/$defs/bill-subs-api_currency" + "type": "string" }, "current_period_end": { - "$ref": "#/$defs/bill-subs-api_current_period_end" + "format": "date-time", + "type": "string" }, "current_period_start": { - "$ref": "#/$defs/bill-subs-api_current_period_start" + "format": "date-time", + "type": "string" }, "frequency": { - "$ref": "#/$defs/bill-subs-api_frequency" + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly" + ], + "type": "string" }, "id": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier" + "type": "string" }, "price": { - "$ref": "#/$defs/bill-subs-api_price" + "type": "number" }, "rate_plan": { "$ref": "#/$defs/bill-subs-api_rate_plan" }, "state": { - "$ref": "#/$defs/bill-subs-api_state" + "enum": [ + "Trial", + "Provisioned", + "Paid", + "AwaitingPayment", + "Cancelled", + "Failed", + "Expired" + ], + "type": "string" }, "zone": { "$ref": "#/$defs/bill-subs-api_zone" @@ -1963,7 +1773,7 @@ export const bill$$subs$$api_subscription$$v2: JsonSchema = { "app": { "properties": { "install_id": { - "$ref": "#/$defs/bill-subs-api_install_id" + "type": "string" } }, "type": "object" @@ -1972,28 +1782,45 @@ export const bill$$subs$$api_subscription$$v2: JsonSchema = { "$ref": "#/$defs/bill-subs-api_component_values" }, "currency": { - "$ref": "#/$defs/bill-subs-api_currency" + "type": "string" }, "current_period_end": { - "$ref": "#/$defs/bill-subs-api_current_period_end" + "format": "date-time", + "type": "string" }, "current_period_start": { - "$ref": "#/$defs/bill-subs-api_current_period_start" + "format": "date-time", + "type": "string" }, "frequency": { - "$ref": "#/$defs/bill-subs-api_frequency" + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly" + ], + "type": "string" }, "id": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier" + "type": "string" }, "price": { - "$ref": "#/$defs/bill-subs-api_price" + "type": "number" }, "rate_plan": { "$ref": "#/$defs/bill-subs-api_rate_plan" }, "state": { - "$ref": "#/$defs/bill-subs-api_state" + "enum": [ + "Trial", + "Provisioned", + "Paid", + "AwaitingPayment", + "Cancelled", + "Failed", + "Expired" + ], + "type": "string" }, "zone": { "$ref": "#/$defs/bill-subs-api_zone" @@ -2008,10 +1835,10 @@ export const bill$$subs$$api_subscription$$v2: JsonSchema = { export const bill$$subs$$api_zone: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/bill-subs-api_identifier" + "type": "string" }, "name": { - "$ref": "#/$defs/bill-subs-api_name" + "type": "string" } }, "type": "object" @@ -2497,20 +2324,6 @@ export const builds_ApiError: JsonSchema = { "type": "object" }; -/** - * The schema of `builds_BuildOutcome` in responses. - */ -export const builds_BuildOutcome: JsonSchema = { - "enum": [ - "success", - "fail", - "skipped", - "cancelled", - "terminated" - ], - "type": "string" -}; - /** * The schema of `builds_BuildResponse` in responses. */ @@ -2519,7 +2332,14 @@ export const builds_BuildResponse: JsonSchema = { "build_outcome": { "oneOf": [ { - "$ref": "#/$defs/builds_BuildOutcome" + "enum": [ + "success", + "fail", + "skipped", + "cancelled", + "terminated" + ], + "type": "string" }, { "type": "null" @@ -2530,17 +2350,19 @@ export const builds_BuildResponse: JsonSchema = { "$ref": "#/$defs/builds_BuildTriggerMetadataResponse" }, "build_uuid": { - "$ref": "#/$defs/builds_build_uuid" + "format": "uuid", + "type": "string" }, "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" }, "deploy_hook": { "oneOf": [ { "properties": { "deploy_hook_name": { - "$ref": "#/$defs/builds_deploy_hook_name" + "type": "string" } }, "type": "object" @@ -2562,7 +2384,8 @@ export const builds_BuildResponse: JsonSchema = { ] }, "modified_on": { - "$ref": "#/$defs/builds_modified_on" + "format": "date-time", + "type": "string" }, "preview_url": { "type": "string" @@ -2583,7 +2406,8 @@ export const builds_BuildResponse: JsonSchema = { ] }, "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" }, "pull_request_url": { "type": "string" @@ -2608,39 +2432,63 @@ export const builds_BuildResponse: JsonSchema = { ] }, "status": { - "$ref": "#/$defs/builds_BuildStatus" + "enum": [ + "queued", + "initializing", + "running", + "stopped" + ], + "type": "string" }, "stopped_on": { - "$ref": "#/$defs/builds_stopped_on" - }, - "trigger": { - "properties": { - "branch_excludes": { - "$ref": "#/$defs/builds_branch_excludes" - }, - "branch_includes": { + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] + }, + "trigger": { + "properties": { + "branch_excludes": { + "$ref": "#/$defs/builds_branch_excludes" + }, + "branch_includes": { "$ref": "#/$defs/builds_branch_includes" }, "build_caching_enabled": { - "$ref": "#/$defs/builds_build_caching_enabled" + "type": "boolean" }, "build_command": { - "$ref": "#/$defs/builds_build_command" + "type": "string" }, "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" }, "deleted_on": { - "$ref": "#/$defs/builds_deleted_on" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "deploy_command": { - "$ref": "#/$defs/builds_deploy_command" + "type": "string" }, "external_script_id": { - "$ref": "#/$defs/builds_external_script_id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/builds_modified_on" + "format": "date-time", + "type": "string" }, "path_excludes": { "$ref": "#/$defs/builds_path_excludes" @@ -2652,13 +2500,14 @@ export const builds_BuildResponse: JsonSchema = { "$ref": "#/$defs/builds_UpsertRepoConnectionResponse" }, "root_directory": { - "$ref": "#/$defs/builds_root_directory" + "type": "string" }, "trigger_name": { - "$ref": "#/$defs/builds_trigger_name" + "type": "string" }, "trigger_uuid": { - "$ref": "#/$defs/builds_trigger_uuid" + "format": "uuid", + "type": "string" } }, "type": "object" @@ -2667,19 +2516,6 @@ export const builds_BuildResponse: JsonSchema = { "type": "object" }; -/** - * The schema of `builds_BuildStatus` in responses. - */ -export const builds_BuildStatus: JsonSchema = { - "enum": [ - "queued", - "initializing", - "running", - "stopped" - ], - "type": "string" -}; - /** * The schema of `builds_BuildTriggerMetadataResponse` in responses. */ @@ -2689,28 +2525,35 @@ export const builds_BuildTriggerMetadataResponse: JsonSchema = { "type": "string" }, "branch": { - "$ref": "#/$defs/builds_branch" + "type": "string" }, "build_command": { - "$ref": "#/$defs/builds_build_command" + "type": "string" }, "build_token_name": { - "$ref": "#/$defs/builds_build_token_name" + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid" + "format": "uuid", + "type": "string" }, "build_trigger_source": { - "$ref": "#/$defs/builds_BuildTriggerSource" + "enum": [ + "push", + "pull_request", + "manual", + "api" + ], + "type": "string" }, "commit_hash": { - "$ref": "#/$defs/builds_commit_hash" + "type": "string" }, "commit_message": { "type": "string" }, "deploy_command": { - "$ref": "#/$defs/builds_deploy_command" + "type": "string" }, "environment_variables": { "additionalProperties": { @@ -2719,34 +2562,27 @@ export const builds_BuildTriggerMetadataResponse: JsonSchema = { "type": "object" }, "provider_account_name": { - "$ref": "#/$defs/builds_provider_account_name" + "type": "string" }, "provider_type": { - "$ref": "#/$defs/builds_SCMProviderType" + "enum": [ + "github", + "gitlab", + "gitlab_internal", + "origin" + ], + "type": "string" }, "repo_name": { - "$ref": "#/$defs/builds_repo_name" + "type": "string" }, "root_directory": { - "$ref": "#/$defs/builds_root_directory" + "type": "string" } }, "type": "object" }; -/** - * The schema of `builds_BuildTriggerSource` in responses. - */ -export const builds_BuildTriggerSource: JsonSchema = { - "enum": [ - "push", - "pull_request", - "manual", - "api" - ], - "type": "string" -}; - /** * The schema of `builds_EnvironmentVariablesResponse` in responses. */ @@ -2754,10 +2590,11 @@ export const builds_EnvironmentVariablesResponse: JsonSchema = { "additionalProperties": { "properties": { "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" }, "is_secret": { - "$ref": "#/$defs/builds_is_secret" + "type": "boolean" }, "value": { "oneOf": [ @@ -2843,50 +2680,54 @@ export const builds_PaginationInfo: JsonSchema = { "type": "object" }; -/** - * The schema of `builds_SCMProviderType` in responses. - */ -export const builds_SCMProviderType: JsonSchema = { - "enum": [ - "github", - "gitlab", - "gitlab_internal", - "origin" - ], - "type": "string" -}; - /** * The schema of `builds_UpsertRepoConnectionResponse` in responses. */ export const builds_UpsertRepoConnectionResponse: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/builds_created_on" + "format": "date-time", + "type": "string" }, "deleted_on": { - "$ref": "#/$defs/builds_deleted_on" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "modified_on": { - "$ref": "#/$defs/builds_modified_on" + "format": "date-time", + "type": "string" }, "provider_account_id": { - "$ref": "#/$defs/builds_provider_account_id" + "type": "string" }, "provider_account_name": { - "$ref": "#/$defs/builds_provider_account_name" + "type": "string" }, "provider_type": { - "$ref": "#/$defs/builds_SCMProviderType" + "enum": [ + "github", + "gitlab", + "gitlab_internal", + "origin" + ], + "type": "string" }, "repo_connection_uuid": { - "$ref": "#/$defs/builds_repo_connection_uuid" + "format": "uuid", + "type": "string" }, "repo_id": { - "$ref": "#/$defs/builds_repo_id" + "type": "string" }, "repo_name": { - "$ref": "#/$defs/builds_repo_name" + "type": "string" } }, "type": "object" @@ -2898,16 +2739,17 @@ export const builds_UpsertRepoConnectionResponse: JsonSchema = { export const builds_WorkerBuildSettings: JsonSchema = { "properties": { "build_caching_enabled": { - "$ref": "#/$defs/builds_build_caching_enabled" + "type": "boolean" }, "build_command": { - "$ref": "#/$defs/builds_build_command" + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid" + "format": "uuid", + "type": "string" }, "deploy_command": { - "$ref": "#/$defs/builds_deploy_command" + "type": "string" }, "environment_variables": { "$ref": "#/$defs/builds_EnvironmentVariablesResponse" @@ -2929,7 +2771,7 @@ export const builds_WorkerBuildSettings: JsonSchema = { ] }, "root_directory": { - "$ref": "#/$defs/builds_root_directory" + "type": "string" } }, "type": "object" @@ -2954,19 +2796,25 @@ export const builds_WorkerGitRepository: JsonSchema = { ] }, "provider_account_id": { - "$ref": "#/$defs/builds_provider_account_id" + "type": "string" }, "provider_account_name": { - "$ref": "#/$defs/builds_provider_account_name" + "type": "string" }, "provider_type": { - "$ref": "#/$defs/builds_SCMProviderType" + "enum": [ + "github", + "gitlab", + "gitlab_internal", + "origin" + ], + "type": "string" }, "repo_id": { - "$ref": "#/$defs/builds_repo_id" + "type": "string" }, "repo_name": { - "$ref": "#/$defs/builds_repo_name" + "type": "string" } }, "type": "object" @@ -2990,19 +2838,12 @@ export const builds_WorkerResponse: JsonSchema = { "$ref": "#/$defs/builds_WorkerBuildSettings" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id" + "type": "string" } }, "type": "object" }; -/** - * The schema of `builds_branch` in responses. - */ -export const builds_branch: JsonSchema = { - "type": "string" -}; - /** * The schema of `builds_branch_excludes` in responses. */ @@ -3023,109 +2864,6 @@ export const builds_branch_includes: JsonSchema = { "type": "array" }; -/** - * The schema of `builds_build_caching_enabled` in responses. - */ -export const builds_build_caching_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `builds_build_command` in responses. - */ -export const builds_build_command: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_build_token_name` in responses. - */ -export const builds_build_token_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_build_token_uuid` in responses. - */ -export const builds_build_token_uuid: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `builds_build_uuid` in responses. - */ -export const builds_build_uuid: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `builds_commit_hash` in responses. - */ -export const builds_commit_hash: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_created_on` in responses. - */ -export const builds_created_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `builds_deleted_on` in responses. - */ -export const builds_deleted_on: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `builds_deploy_command` in responses. - */ -export const builds_deploy_command: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_deploy_hook_name` in responses. - */ -export const builds_deploy_hook_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_external_script_id` in responses. - */ -export const builds_external_script_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_is_secret` in responses. - */ -export const builds_is_secret: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `builds_modified_on` in responses. - */ -export const builds_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `builds_path_excludes` in responses. */ @@ -3146,79 +2884,6 @@ export const builds_path_includes: JsonSchema = { "type": "array" }; -/** - * The schema of `builds_provider_account_id` in responses. - */ -export const builds_provider_account_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_provider_account_name` in responses. - */ -export const builds_provider_account_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_repo_connection_uuid` in responses. - */ -export const builds_repo_connection_uuid: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `builds_repo_id` in responses. - */ -export const builds_repo_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_repo_name` in responses. - */ -export const builds_repo_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_root_directory` in responses. - */ -export const builds_root_directory: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_stopped_on` in responses. - */ -export const builds_stopped_on: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `builds_trigger_name` in responses. - */ -export const builds_trigger_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_trigger_uuid` in responses. - */ -export const builds_trigger_uuid: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `cache-settings_api-response-common` in responses. */ @@ -3301,13 +2966,6 @@ export const cache$$settings_base: JsonSchema = { "type": "object" }; -/** - * The schema of `cache-settings_editable` in responses. - */ -export const cache$$settings_editable: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `cache-settings_messages` in responses. */ @@ -3330,30 +2988,23 @@ export const cache$$settings_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `cache-settings_modified_on` in responses. - */ -export const cache$$settings_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `cache-settings_result-object` in responses. */ export const cache$$settings_result$$object: JsonSchema = { "properties": { "editable": { - "$ref": "#/$defs/cache-settings_editable" + "type": "boolean" }, "id": { - "$ref": "#/$defs/cache-settings_setting_id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/cache-settings_modified_on" + "format": "date-time", + "type": "string" }, "value": { - "$ref": "#/$defs/cache-settings_setting_value" + "type": "string" } }, "required": [ @@ -3370,13 +3021,14 @@ export const cache$$settings_result$$object: JsonSchema = { export const cache$$settings_result$$object$$delete: JsonSchema = { "properties": { "editable": { - "$ref": "#/$defs/cache-settings_editable" + "type": "boolean" }, "id": { - "$ref": "#/$defs/cache-settings_setting_id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/cache-settings_modified_on" + "format": "date-time", + "type": "string" } }, "required": [ @@ -3386,20 +3038,6 @@ export const cache$$settings_result$$object$$delete: JsonSchema = { "type": "object" }; -/** - * The schema of `cache-settings_setting_id` in responses. - */ -export const cache$$settings_setting_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `cache-settings_setting_value` in responses. - */ -export const cache$$settings_setting_value: JsonSchema = { - "type": "string" -}; - /** * The schema of `cache-settings_zone_cache_settings_delete_response_single` in * responses. @@ -3559,13 +3197,6 @@ export const dns$$custom$$nameservers_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-custom-nameservers_identifier-2` in responses. - */ -export const dns$$custom$$nameservers_identifier$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `dns-custom-nameservers_messages` in responses. */ @@ -3599,20 +3230,6 @@ export const dns$$custom$$nameservers_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `dns-custom-nameservers_ns_name` in responses. - */ -export const dns$$custom$$nameservers_ns_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `dns-custom-nameservers_ns_set` in responses. - */ -export const dns$$custom$$nameservers_ns_set: JsonSchema = { - "type": "number" -}; - /** * The schema of `email_api-response-collection` in responses. */ @@ -3701,14 +3318,6 @@ export const email_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `email_created` in responses. - */ -export const email_created: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `email_dns_record` in responses. */ @@ -3785,13 +3394,6 @@ export const email_dns_settings_response_collection: JsonSchema = { ] }; -/** - * The schema of `email_identifier` in responses. - */ -export const email_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `email_messages` in responses. */ @@ -3820,17 +3422,9 @@ export const email_messages: JsonSchema = { "code", "message" ], - "type": "object" - }, - "type": "array" -}; - -/** - * The schema of `email_modified` in responses. - */ -export const email_modified: JsonSchema = { - "format": "date-time", - "type": "string" + "type": "object" + }, + "type": "array" }; /** @@ -4102,13 +3696,6 @@ export const firewall_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `firewall_notes` in responses. - */ -export const firewall_notes: JsonSchema = { - "type": "string" -}; - /** * The schema of `firewall_result_info` in responses. */ @@ -4137,7 +3724,14 @@ export const firewall_rule: JsonSchema = { "properties": { "allowed_modes": { "items": { - "$ref": "#/$defs/firewall_schemas-mode" + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "type": "array" }, @@ -4149,17 +3743,24 @@ export const firewall_rule: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/firewall_schemas-identifier" + "type": "string" }, "mode": { - "$ref": "#/$defs/firewall_schemas-mode" + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "modified_on": { "format": "date-time", "type": "string" }, "notes": { - "$ref": "#/$defs/firewall_notes" + "type": "string" } }, "required": [ @@ -4171,49 +3772,6 @@ export const firewall_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `firewall_schemas-identifier` in responses. - */ -export const firewall_schemas$$identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `firewall_schemas-mode` in responses. - */ -export const firewall_schemas$$mode: JsonSchema = { - "enum": [ - "block", - "challenge", - "whitelist", - "js_challenge", - "managed_challenge" - ], - "type": "string" -}; - -/** - * The schema of `iam_access` in responses. - */ -export const iam_access: JsonSchema = { - "enum": [ - "allow", - "deny" - ], - "type": "string" -}; - -/** - * The schema of `iam_account-type` in responses. - */ -export const iam_account$$type: JsonSchema = { - "enum": [ - "standard", - "enterprise" - ], - "type": "string" -}; - /** * The schema of `iam_api-response-collection` in responses. */ @@ -4330,7 +3888,7 @@ export const iam_api$$response$$single$$id: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/iam_common_components-schemas-identifier" + "type": "string" } }, "required": [ @@ -4381,13 +3939,6 @@ export const iam_collection_tokens_response: JsonSchema = { ] }; -/** - * The schema of `iam_common_components-schemas-identifier` in responses. - */ -export const iam_common_components$$schemas$$identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `iam_condition` in responses. */ @@ -4400,53 +3951,6 @@ export const iam_condition: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_creator_email_at_creation` in responses. - */ -export const iam_creator_email_at_creation: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `iam_effect` in responses. - */ -export const iam_effect: JsonSchema = { - "enum": [ - "allow", - "deny" - ], - "type": "string" -}; - -/** - * The schema of `iam_email` in responses. - */ -export const iam_email: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `iam_expires_on` in responses. - */ -export const iam_expires_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `iam_first_name` in responses. - */ -export const iam_first_name: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `iam_grants` in responses. */ @@ -4462,46 +3966,20 @@ export const iam_grants: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_issued_on` in responses. - */ -export const iam_issued_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `iam_last_name` in responses. - */ -export const iam_last_name: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `iam_last_used_on` in responses. - */ -export const iam_last_used_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `iam_list_member_policy` in responses. */ export const iam_list_member_policy: JsonSchema = { "properties": { "access": { - "$ref": "#/$defs/iam_access" + "enum": [ + "allow", + "deny" + ], + "type": "string" }, "id": { - "$ref": "#/$defs/iam_policy_identifier" + "type": "string" }, "permission_groups": { "$ref": "#/$defs/iam_permission_groups" @@ -4513,13 +3991,6 @@ export const iam_list_member_policy: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_membership_components-schemas-identifier` in responses. - */ -export const iam_membership_components$$schemas$$identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `iam_messages-2` in responses. */ @@ -4553,29 +4024,6 @@ export const iam_messages$$2: JsonSchema = { "type": "array" }; -/** - * The schema of `iam_modified_on` in responses. - */ -export const iam_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `iam_name` in responses. - */ -export const iam_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `iam_not_before` in responses. - */ -export const iam_not_before: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `iam_permission_group` in responses. */ @@ -4742,23 +4190,20 @@ export const iam_permissions_group_response_collection: JsonSchema = { ] }; -/** - * The schema of `iam_policy_identifier` in responses. - */ -export const iam_policy_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `iam_policy_with_permission_groups_and_resources` in responses. */ export const iam_policy_with_permission_groups_and_resources: JsonSchema = { "properties": { "effect": { - "$ref": "#/$defs/iam_effect" + "enum": [ + "allow", + "deny" + ], + "type": "string" }, "id": { - "$ref": "#/$defs/iam_policy_identifier" + "type": "string" }, "permission_groups": { "$ref": "#/$defs/iam_permission_groups" @@ -4776,27 +4221,6 @@ export const iam_policy_with_permission_groups_and_resources: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_provisioner_id` in responses. - */ -export const iam_provisioner_id: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `iam_provisioner_type` in responses. - */ -export const iam_provisioner_type: JsonSchema = { - "type": "string" -}; - /** * The schema of `iam_request_ip` in responses. */ @@ -4903,7 +4327,7 @@ export const iam_response_single_value: JsonSchema = { { "properties": { "result": { - "$ref": "#/$defs/iam_value" + "type": "string" } }, "type": "object" @@ -4937,9 +4361,7 @@ export const iam_result_info: JsonSchema = { */ export const iam_scope: JsonSchema = { "properties": { - "key": { - "$ref": "#/$defs/iam_scope_key" - }, + "key": {}, "objects": { "items": { "$ref": "#/$defs/iam_scope_object" @@ -4954,19 +4376,12 @@ export const iam_scope: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_scope_key` in responses. - */ -export const iam_scope_key: JsonSchema = {}; - /** * The schema of `iam_scope_object` in responses. */ export const iam_scope_object: JsonSchema = { "properties": { - "key": { - "$ref": "#/$defs/iam_scope_object_key" - } + "key": {} }, "required": [ "key" @@ -4974,11 +4389,6 @@ export const iam_scope_object: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_scope_object_key` in responses. - */ -export const iam_scope_object_key: JsonSchema = {}; - /** * The schema of `iam_single_token_create_response` in responses. */ @@ -5026,58 +4436,68 @@ export const iam_token_base: JsonSchema = { "$ref": "#/$defs/iam_condition" }, "creator_email_at_creation": { - "$ref": "#/$defs/iam_creator_email_at_creation" + "type": "string" }, "expires_on": { - "$ref": "#/$defs/iam_expires_on" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/iam_token_identifier" + "type": "string" }, "issued_on": { - "$ref": "#/$defs/iam_issued_on" + "format": "date-time", + "type": "string" }, "last_used_on": { - "$ref": "#/$defs/iam_last_used_on" + "format": "date-time", + "type": "string" }, "modified_on": { - "$ref": "#/$defs/iam_modified_on" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/iam_name" + "type": "string" }, "not_before": { - "$ref": "#/$defs/iam_not_before" + "format": "date-time", + "type": "string" }, "policies": { "$ref": "#/$defs/iam_token_policies" }, "provisioner_id": { - "$ref": "#/$defs/iam_provisioner_id" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "provisioner_type": { - "$ref": "#/$defs/iam_provisioner_type" + "type": "string" }, "status": { - "$ref": "#/$defs/iam_token_status" + "enum": [ + "active", + "disabled", + "expired" + ], + "type": "string" }, "token_prefix": { - "$ref": "#/$defs/iam_token_prefix" + "type": "string" }, "token_suffix": { - "$ref": "#/$defs/iam_token_suffix" + "type": "string" } }, "type": "object" }; -/** - * The schema of `iam_token_identifier` in responses. - */ -export const iam_token_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `iam_token_policies` in responses. */ @@ -5088,32 +4508,6 @@ export const iam_token_policies: JsonSchema = { "type": "array" }; -/** - * The schema of `iam_token_prefix` in responses. - */ -export const iam_token_prefix: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `iam_token_status` in responses. - */ -export const iam_token_status: JsonSchema = { - "enum": [ - "active", - "disabled", - "expired" - ], - "type": "string" -}; - -/** - * The schema of `iam_token_suffix` in responses. - */ -export const iam_token_suffix: JsonSchema = { - "type": "string" -}; - /** * The schema of `iam_token_verify_response_single_segment` in responses. */ @@ -5127,16 +4521,23 @@ export const iam_token_verify_response_single_segment: JsonSchema = { "result": { "properties": { "expires_on": { - "$ref": "#/$defs/iam_expires_on" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/iam_token_identifier" + "type": "string" }, "not_before": { - "$ref": "#/$defs/iam_not_before" + "format": "date-time", + "type": "string" }, "status": { - "$ref": "#/$defs/iam_token_status" + "enum": [ + "active", + "disabled", + "expired" + ], + "type": "string" } }, "required": [ @@ -5162,7 +4563,7 @@ export const iam_token_with_value: JsonSchema = { { "properties": { "value": { - "$ref": "#/$defs/iam_value" + "type": "string" } }, "type": "object" @@ -5170,20 +4571,6 @@ export const iam_token_with_value: JsonSchema = { ] }; -/** - * The schema of `iam_two_factor_authentication_enabled` in responses. - */ -export const iam_two_factor_authentication_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `iam_value` in responses. - */ -export const iam_value: JsonSchema = { - "type": "string" -}; - /** * The schema of `infra_api-response-collection` in responses. */ @@ -5345,20 +4732,6 @@ export const load$$balancing_Host: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_address` in responses. - */ -export const load$$balancing_address: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_allow_insecure` in responses. - */ -export const load$$balancing_allow_insecure: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `load-balancing_api-paginated-response-collection` in * responses. @@ -5479,73 +4852,23 @@ export const load$$balancing_check_regions: JsonSchema = { "NSAM", "SSAM", "OC", - "ME", - "NAF", - "SAF", - "SAS", - "SEAS", - "NEAS", - "CHINA", - "ALL_REGIONS" - ], - "type": "string" - }, - "type": "array" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `load-balancing_consecutive_down` in responses. - */ -export const load$$balancing_consecutive_down: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `load-balancing_consecutive_up` in responses. - */ -export const load$$balancing_consecutive_up: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `load-balancing_description` in responses. - */ -export const load$$balancing_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_disabled_at` in responses. - */ -export const load$$balancing_disabled_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `load-balancing_enabled` in responses. - */ -export const load$$balancing_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `load-balancing_expected_body` in responses. - */ -export const load$$balancing_expected_body: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_expected_codes` in responses. - */ -export const load$$balancing_expected_codes: JsonSchema = { - "type": "string" + "ME", + "NAF", + "SAF", + "SAS", + "SEAS", + "NEAS", + "CHINA", + "ALL_REGIONS" + ], + "type": "string" + }, + "type": "array" + }, + { + "type": "null" + } + ] }; /** @@ -5584,13 +4907,6 @@ export const load$$balancing_filter_options: JsonSchema = { ] }; -/** - * The schema of `load-balancing_follow_redirects` in responses. - */ -export const load$$balancing_follow_redirects: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `load-balancing_header` in responses. */ @@ -5677,7 +4993,7 @@ export const load$$balancing_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "type": "object" @@ -5688,27 +5004,6 @@ export const load$$balancing_id_response: JsonSchema = { ] }; -/** - * The schema of `load-balancing_identifier` in responses. - */ -export const load$$balancing_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_interval` in responses. - */ -export const load$$balancing_interval: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `load-balancing_latitude` in responses. - */ -export const load$$balancing_latitude: JsonSchema = { - "type": "number" -}; - /** * The schema of `load-balancing_load_shedding` in responses. */ @@ -5744,13 +5039,6 @@ export const load$$balancing_load_shedding: JsonSchema = { ] }; -/** - * The schema of `load-balancing_longitude` in responses. - */ -export const load$$balancing_longitude: JsonSchema = { - "type": "number" -}; - /** * The schema of `load-balancing_messages` in responses. */ @@ -5773,20 +5061,6 @@ export const load$$balancing_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_method` in responses. - */ -export const load$$balancing_method: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_minimum_origins` in responses. - */ -export const load$$balancing_minimum_origins: JsonSchema = { - "type": "integer" -}; - /** * The schema of `load-balancing_monitor` in responses. */ @@ -5798,13 +5072,15 @@ export const load$$balancing_monitor: JsonSchema = { { "properties": { "created_on": { - "$ref": "#/$defs/load-balancing_timestamp" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/load-balancing_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -5818,52 +5094,67 @@ export const load$$balancing_monitor: JsonSchema = { export const load$$balancing_monitor$$editable: JsonSchema = { "properties": { "allow_insecure": { - "$ref": "#/$defs/load-balancing_allow_insecure" + "type": "boolean" }, "consecutive_down": { - "$ref": "#/$defs/load-balancing_consecutive_down" + "type": "integer" }, "consecutive_up": { - "$ref": "#/$defs/load-balancing_consecutive_up" + "type": "integer" }, "description": { - "$ref": "#/$defs/load-balancing_description" + "type": "string" }, "expected_body": { - "$ref": "#/$defs/load-balancing_expected_body" + "type": "string" }, "expected_codes": { - "$ref": "#/$defs/load-balancing_expected_codes" + "type": "string" }, "follow_redirects": { - "$ref": "#/$defs/load-balancing_follow_redirects" + "type": "boolean" }, "header": { "$ref": "#/$defs/load-balancing_header" }, "interval": { - "$ref": "#/$defs/load-balancing_interval" + "type": "integer" }, "method": { - "$ref": "#/$defs/load-balancing_method" + "type": "string" }, "path": { - "$ref": "#/$defs/load-balancing_path" + "type": "string" }, "port": { - "$ref": "#/$defs/load-balancing_port" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "probe_zone": { - "$ref": "#/$defs/load-balancing_probe_zone" + "type": "string" }, "retries": { - "$ref": "#/$defs/load-balancing_retries" + "type": "integer" }, "timeout": { - "$ref": "#/$defs/load-balancing_timeout" + "type": "integer" }, "type": { - "$ref": "#/$defs/load-balancing_type" + "enum": [ + "http", + "https", + "tcp", + "udp_icmp", + "icmp_ping", + "smtp" + ], + "type": "string" } }, "type": "object" @@ -5951,27 +5242,6 @@ export const load$$balancing_monitor$$response$$single: JsonSchema = { ] }; -/** - * The schema of `load-balancing_monitor_group_id` in responses. - */ -export const load$$balancing_monitor_group_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_monitor_id` in responses. - */ -export const load$$balancing_monitor_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_name` in responses. - */ -export const load$$balancing_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `load-balancing_networks` in responses. */ @@ -5982,13 +5252,6 @@ export const load$$balancing_networks: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_notification_email` in responses. - */ -export const load$$balancing_notification_email: JsonSchema = { - "type": "string" -}; - /** * The schema of `load-balancing_notification_filter` in responses. */ @@ -6017,31 +5280,32 @@ export const load$$balancing_notification_filter: JsonSchema = { export const load$$balancing_origin: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/load-balancing_address" + "type": "string" }, "disabled_at": { - "$ref": "#/$defs/load-balancing_disabled_at" + "format": "date-time", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_schemas-enabled" + "type": "boolean" }, "flatten_cname": { - "$ref": "#/$defs/load-balancing_origin_flatten_cname" + "type": "boolean" }, "header": { "$ref": "#/$defs/load-balancing_schemas-header" }, "name": { - "$ref": "#/$defs/load-balancing_schemas-name" + "type": "string" }, "port": { - "$ref": "#/$defs/load-balancing_origin_port" + "type": "integer" }, "virtual_network_id": { - "$ref": "#/$defs/load-balancing_virtual_network_id" + "type": "string" }, "weight": { - "$ref": "#/$defs/load-balancing_weight" + "type": "number" } }, "type": "object" @@ -6073,13 +5337,6 @@ export const load$$balancing_origin$$health: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_origin_flatten_cname` in responses. - */ -export const load$$balancing_origin_flatten_cname: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `load-balancing_origin_health_data` in responses. */ @@ -6101,13 +5358,6 @@ export const load$$balancing_origin_health_data: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_origin_port` in responses. - */ -export const load$$balancing_origin_port: JsonSchema = { - "type": "integer" -}; - /** * The schema of `load-balancing_origin_steering` in responses. */ @@ -6143,13 +5393,6 @@ export const load$$balancing_origins: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_path` in responses. - */ -export const load$$balancing_path: JsonSchema = { - "type": "string" -}; - /** * The schema of `load-balancing_pool` in responses. */ @@ -6159,52 +5402,55 @@ export const load$$balancing_pool: JsonSchema = { "$ref": "#/$defs/load-balancing_check_regions" }, "created_on": { - "$ref": "#/$defs/load-balancing_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/load-balancing_schemas-description" + "type": "string" }, "disabled_at": { - "$ref": "#/$defs/load-balancing_schemas-disabled_at" + "format": "date-time", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_enabled" + "type": "boolean" }, "health_sources": { "$ref": "#/$defs/load-balancing_health_sources" }, "id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" }, "latitude": { - "$ref": "#/$defs/load-balancing_latitude" + "type": "number" }, "load_shedding": { "$ref": "#/$defs/load-balancing_load_shedding" }, "longitude": { - "$ref": "#/$defs/load-balancing_longitude" + "type": "number" }, "minimum_origins": { - "$ref": "#/$defs/load-balancing_minimum_origins" + "type": "integer" }, "modified_on": { - "$ref": "#/$defs/load-balancing_timestamp" + "format": "date-time", + "type": "string" }, "monitor": { - "$ref": "#/$defs/load-balancing_monitor_id" + "type": "string" }, "monitor_group": { - "$ref": "#/$defs/load-balancing_monitor_group_id" + "type": "string" }, "name": { - "$ref": "#/$defs/load-balancing_name" + "type": "string" }, "networks": { "$ref": "#/$defs/load-balancing_networks" }, "notification_email": { - "$ref": "#/$defs/load-balancing_notification_email" + "type": "string" }, "notification_filter": { "$ref": "#/$defs/load-balancing_notification_filter" @@ -6260,20 +5506,6 @@ export const load$$balancing_pools$$references$$response: JsonSchema = { ] }; -/** - * The schema of `load-balancing_port` in responses. - */ -export const load$$balancing_port: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `load-balancing_preview_response` in responses. */ @@ -6293,7 +5525,7 @@ export const load$$balancing_preview_response: JsonSchema = { "type": "object" }, "preview_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "type": "object" @@ -6347,13 +5579,6 @@ export const load$$balancing_preview_result_response: JsonSchema = { ] }; -/** - * The schema of `load-balancing_probe_zone` in responses. - */ -export const load$$balancing_probe_zone: JsonSchema = { - "type": "string" -}; - /** * The schema of `load-balancing_region_components-schemas-response_collection` * in responses. @@ -6398,35 +5623,6 @@ export const load$$balancing_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_retries` in responses. - */ -export const load$$balancing_retries: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `load-balancing_schemas-description` in responses. - */ -export const load$$balancing_schemas$$description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_schemas-disabled_at` in responses. - */ -export const load$$balancing_schemas$$disabled_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `load-balancing_schemas-enabled` in responses. - */ -export const load$$balancing_schemas$$enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `load-balancing_schemas-header` in responses. */ @@ -6452,7 +5648,7 @@ export const load$$balancing_schemas$$id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "type": "object" @@ -6463,20 +5659,6 @@ export const load$$balancing_schemas$$id_response: JsonSchema = { ] }; -/** - * The schema of `load-balancing_schemas-identifier` in responses. - */ -export const load$$balancing_schemas$$identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_schemas-name` in responses. - */ -export const load$$balancing_schemas$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `load-balancing_schemas-response_collection` in responses. */ @@ -6518,50 +5700,6 @@ export const load$$balancing_schemas$$single_response: JsonSchema = { ] }; -/** - * The schema of `load-balancing_timeout` in responses. - */ -export const load$$balancing_timeout: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `load-balancing_timestamp` in responses. - */ -export const load$$balancing_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `load-balancing_type` in responses. - */ -export const load$$balancing_type: JsonSchema = { - "enum": [ - "http", - "https", - "tcp", - "udp_icmp", - "icmp_ping", - "smtp" - ], - "type": "string" -}; - -/** - * The schema of `load-balancing_virtual_network_id` in responses. - */ -export const load$$balancing_virtual_network_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_weight` in responses. - */ -export const load$$balancing_weight: JsonSchema = { - "type": "number" -}; - /** * The schema of `mconn-telemetry_coded_message` in responses. */ @@ -6710,13 +5848,6 @@ export const mconn_response: JsonSchema = { "type": "object" }; -/** - * The schema of `mconn_uuid` in responses. - */ -export const mconn_uuid: JsonSchema = { - "type": "string" -}; - /** * The schema of `organizations-api_Organization` in responses. */ @@ -6727,7 +5858,7 @@ export const organizations$$api_Organization: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "type": "string" }, "meta": { "additionalProperties": { @@ -6761,7 +5892,7 @@ export const organizations$$api_Organization: JsonSchema = { "parent": { "properties": { "id": { - "$ref": "#/$defs/organizations-api_OrganizationID" + "type": "string" }, "name": { "type": "string" @@ -6829,13 +5960,6 @@ export const organizations$$api_OrganizationFlags: JsonSchema = { "type": "object" }; -/** - * The schema of `organizations-api_OrganizationID` in responses. - */ -export const organizations$$api_OrganizationID: JsonSchema = { - "type": "string" -}; - /** * The schema of `organizations-api_Profile` in responses. */ @@ -7190,7 +6314,7 @@ export const r2$$data$$catalog_api$$response$$single: JsonSchema = { "$ref": "#/$defs/r2-data-catalog_api-response-messages" }, "success": { - "$ref": "#/$defs/r2-data-catalog_api-response-success" + "type": "boolean" } }, "required": [ @@ -7201,13 +6325,6 @@ export const r2$$data$$catalog_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `r2-data-catalog_api-response-success` in responses. - */ -export const r2$$data$$catalog_api$$response$$success: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `r2-data-catalog_catalog` in responses. */ @@ -7219,7 +6336,11 @@ export const r2$$data$$catalog_catalog: JsonSchema = { "credential_status": { "oneOf": [ { - "$ref": "#/$defs/r2-data-catalog_credential-status" + "enum": [ + "present", + "absent" + ], + "type": "string" }, { "type": "null" @@ -7247,7 +6368,11 @@ export const r2$$data$$catalog_catalog: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/r2-data-catalog_catalog-status" + "enum": [ + "active", + "inactive" + ], + "type": "string" } }, "required": [ @@ -7285,10 +6410,20 @@ export const r2$$data$$catalog_catalog$$activation$$response: JsonSchema = { export const r2$$data$$catalog_catalog$$compaction$$config: JsonSchema = { "properties": { "state": { - "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state" + "enum": [ + "enabled", + "disabled" + ], + "type": "string" }, "target_size_mb": { - "$ref": "#/$defs/r2-data-catalog_catalog-target-file-size" + "enum": [ + "64", + "128", + "256", + "512" + ], + "type": "string" } }, "required": [ @@ -7325,7 +6460,7 @@ export const r2$$data$$catalog_catalog$$maintenance$$config: JsonSchema = { "$ref": "#/$defs/r2-data-catalog_catalog-compaction-config" }, "interval": { - "$ref": "#/$defs/r2-data-catalog_maintenance-interval" + "type": "string" }, "snapshot_expiration": { "$ref": "#/$defs/r2-data-catalog_snapshot-expiration-config" @@ -7341,75 +6476,21 @@ export const r2$$data$$catalog_catalog$$maintenance$$config: JsonSchema = { export const r2$$data$$catalog_catalog$$maintenance$$config$$response: JsonSchema = { "properties": { "credential_status": { - "$ref": "#/$defs/r2-data-catalog_credential-status" + "enum": [ + "present", + "absent" + ], + "type": "string" }, - "maintenance_config": { - "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-config" - } - }, - "required": [ - "credential_status", - "maintenance_config" - ], - "type": "object" -}; - -/** - * The schema of `r2-data-catalog_catalog-maintenance-state` in responses. - */ -export const r2$$data$$catalog_catalog$$maintenance$$state: JsonSchema = { - "enum": [ - "enabled", - "disabled" - ], - "type": "string" -}; - -/** - * The schema of `r2-data-catalog_catalog-status` in responses. - */ -export const r2$$data$$catalog_catalog$$status: JsonSchema = { - "enum": [ - "active", - "inactive" - ], - "type": "string" -}; - -/** - * The schema of `r2-data-catalog_catalog-target-file-size` in responses. - */ -export const r2$$data$$catalog_catalog$$target$$file$$size: JsonSchema = { - "enum": [ - "64", - "128", - "256", - "512" - ], - "type": "string" -}; - -/** - * The schema of `r2-data-catalog_credential-probe-status` in responses. - */ -export const r2$$data$$catalog_credential$$probe$$status: JsonSchema = { - "enum": [ - "valid", - "invalid", - "absent" - ], - "type": "string" -}; - -/** - * The schema of `r2-data-catalog_credential-status` in responses. - */ -export const r2$$data$$catalog_credential$$status: JsonSchema = { - "enum": [ - "present", - "absent" + "maintenance_config": { + "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-config" + } + }, + "required": [ + "credential_status", + "maintenance_config" ], - "type": "string" + "type": "object" }; /** @@ -7447,13 +6528,6 @@ export const r2$$data$$catalog_get$$table$$response: JsonSchema = { "type": "object" }; -/** - * The schema of `r2-data-catalog_maintenance-interval` in responses. - */ -export const r2$$data$$catalog_maintenance$$interval: JsonSchema = { - "type": "string" -}; - /** * The schema of `r2-data-catalog_maintenance-run-operation` in responses. */ @@ -7797,7 +6871,11 @@ export const r2$$data$$catalog_snapshot$$expiration$$config: JsonSchema = { "type": "integer" }, "state": { - "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state" + "enum": [ + "enabled", + "disabled" + ], + "type": "string" } }, "required": [ @@ -7825,10 +6903,20 @@ export const r2$$data$$catalog_table$$compaction$$config: JsonSchema = { ] }, "state": { - "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state" + "enum": [ + "enabled", + "disabled" + ], + "type": "string" }, "target_size_mb": { - "$ref": "#/$defs/r2-data-catalog_catalog-target-file-size" + "enum": [ + "64", + "128", + "256", + "512" + ], + "type": "string" } }, "required": [ @@ -7983,7 +7071,7 @@ export const r2$$data$$catalog_table$$maintenance$$config: JsonSchema = { "$ref": "#/$defs/r2-data-catalog_table-compaction-config" }, "interval": { - "$ref": "#/$defs/r2-data-catalog_maintenance-interval" + "type": "string" }, "snapshot_expiration": { "$ref": "#/$defs/r2-data-catalog_table-snapshot-expiration-config" @@ -8039,7 +7127,11 @@ export const r2$$data$$catalog_table$$snapshot$$expiration$$config: JsonSchema = ] }, "state": { - "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state" + "enum": [ + "enabled", + "disabled" + ], + "type": "string" } }, "required": [ @@ -8050,20 +7142,6 @@ export const r2$$data$$catalog_table$$snapshot$$expiration$$config: JsonSchema = "type": "object" }; -/** - * The schema of `resource-sharing_account_id` in responses. - */ -export const resource$$sharing_account_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `resource-sharing_account_name` in responses. - */ -export const resource$$sharing_account_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `resource-sharing_api-response-collection` in responses. */ @@ -8132,36 +7210,6 @@ export const resource$$sharing_api$$response$$common$$failure: JsonSchema = { "type": "object" }; -/** - * The schema of `resource-sharing_created` in responses. - */ -export const resource$$sharing_created: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `resource-sharing_modified` in responses. - */ -export const resource$$sharing_modified: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `resource-sharing_organization_id` in responses. - */ -export const resource$$sharing_organization_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `resource-sharing_resource_id` in responses. - */ -export const resource$$sharing_resource_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `resource-sharing_resource_meta` in responses. */ @@ -8169,48 +7217,6 @@ export const resource$$sharing_resource_meta: JsonSchema = { "type": "object" }; -/** - * The schema of `resource-sharing_resource_resource_id` in responses. - */ -export const resource$$sharing_resource_resource_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `resource-sharing_resource_status` in responses. - */ -export const resource$$sharing_resource_status: JsonSchema = { - "enum": [ - "active", - "deleting", - "deleted" - ], - "type": "string" -}; - -/** - * The schema of `resource-sharing_resource_type` in responses. - */ -export const resource$$sharing_resource_type: JsonSchema = { - "enum": [ - "custom-ruleset", - "gateway-policy", - "gateway-destination-ip", - "gateway-block-page-settings", - "gateway-extended-email-matching", - "idp-federation-grant", - "trust-grant" - ], - "type": "string" -}; - -/** - * The schema of `resource-sharing_resource_version` in responses. - */ -export const resource$$sharing_resource_version: JsonSchema = { - "type": "integer" -}; - /** * The schema of `resource-sharing_result_info` in responses. */ @@ -8235,41 +7241,16 @@ export const resource$$sharing_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `resource-sharing_share_id` in responses. - */ -export const resource$$sharing_share_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `resource-sharing_share_kind` in responses. - */ -export const resource$$sharing_share_kind: JsonSchema = { - "enum": [ - "sent", - "received" - ], - "type": "string" -}; - -/** - * The schema of `resource-sharing_share_name` in responses. - */ -export const resource$$sharing_share_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `resource-sharing_share_object` in responses. */ export const resource$$sharing_share_object: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id" + "type": "string" }, "account_name": { - "$ref": "#/$defs/resource-sharing_account_name" + "type": "string" }, "associated_recipient_count": { "type": "integer" @@ -8278,7 +7259,8 @@ export const resource$$sharing_share_object: JsonSchema = { "type": "integer" }, "created": { - "$ref": "#/$defs/resource-sharing_created" + "format": "date-time", + "type": "string" }, "disassociated_recipient_count": { "type": "integer" @@ -8287,19 +7269,24 @@ export const resource$$sharing_share_object: JsonSchema = { "type": "integer" }, "id": { - "$ref": "#/$defs/resource-sharing_share_id" + "type": "string" }, "kind": { - "$ref": "#/$defs/resource-sharing_share_kind" + "enum": [ + "sent", + "received" + ], + "type": "string" }, "modified": { - "$ref": "#/$defs/resource-sharing_modified" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/resource-sharing_share_name" + "type": "string" }, "organization_id": { - "$ref": "#/$defs/resource-sharing_organization_id" + "type": "string" }, "resources": { "items": { @@ -8308,10 +7295,19 @@ export const resource$$sharing_share_object: JsonSchema = { "type": "array" }, "status": { - "$ref": "#/$defs/resource-sharing_share_status" + "enum": [ + "active", + "deleting", + "deleted" + ], + "type": "string" }, "target_type": { - "$ref": "#/$defs/resource-sharing_share_target_type" + "enum": [ + "account", + "organization" + ], + "type": "string" } }, "required": [ @@ -8334,31 +7330,47 @@ export const resource$$sharing_share_object: JsonSchema = { export const resource$$sharing_share_resource_object: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/resource-sharing_created" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/resource-sharing_resource_id" + "type": "string" }, "meta": { "$ref": "#/$defs/resource-sharing_resource_meta" }, "modified": { - "$ref": "#/$defs/resource-sharing_modified" + "format": "date-time", + "type": "string" }, "resource_account_id": { - "$ref": "#/$defs/resource-sharing_account_id" + "type": "string" }, "resource_id": { - "$ref": "#/$defs/resource-sharing_resource_resource_id" + "type": "string" }, "resource_type": { - "$ref": "#/$defs/resource-sharing_resource_type" + "enum": [ + "custom-ruleset", + "gateway-policy", + "gateway-destination-ip", + "gateway-block-page-settings", + "gateway-extended-email-matching", + "idp-federation-grant", + "trust-grant" + ], + "type": "string" }, "resource_version": { - "$ref": "#/$defs/resource-sharing_resource_version" + "type": "integer" }, "status": { - "$ref": "#/$defs/resource-sharing_resource_status" + "enum": [ + "active", + "deleting", + "deleted" + ], + "type": "string" } }, "required": [ @@ -8405,29 +7417,6 @@ export const resource$$sharing_share_response_collection_result: JsonSchema = { "type": "object" }; -/** - * The schema of `resource-sharing_share_status` in responses. - */ -export const resource$$sharing_share_status: JsonSchema = { - "enum": [ - "active", - "deleting", - "deleted" - ], - "type": "string" -}; - -/** - * The schema of `resource-sharing_share_target_type` in responses. - */ -export const resource$$sharing_share_target_type: JsonSchema = { - "enum": [ - "account", - "organization" - ], - "type": "string" -}; - /** * The schema of `resource-sharing_v4error` in responses. */ @@ -8745,13 +7734,6 @@ export const security$$center_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `security-center_count` in responses. - */ -export const security$$center_count: JsonSchema = { - "type": "integer" -}; - /** * The schema of `security-center_issue` in responses. */ @@ -8767,10 +7749,18 @@ export const security$$center_issue: JsonSchema = { "type": "string" }, "issue_class": { - "$ref": "#/$defs/security-center_issueClass" + "type": "string" }, "issue_type": { - "$ref": "#/$defs/security-center_issueType" + "enum": [ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + "configuration_suggestion" + ], + "type": "string" }, "payload": { "properties": { @@ -8802,7 +7792,11 @@ export const security$$center_issue: JsonSchema = { "type": "string" }, "source": { - "$ref": "#/$defs/security-center_source" + "enum": [ + "cloudflare", + "riskrecon" + ], + "type": "string" }, "status": { "enum": [ @@ -8812,41 +7806,31 @@ export const security$$center_issue: JsonSchema = { "type": "string" }, "subject": { - "$ref": "#/$defs/security-center_subject" + "type": "string" }, "timestamp": { "format": "date-time", "type": "string" }, "user_classification": { - "$ref": "#/$defs/security-center_userClassification" + "oneOf": [ + { + "enum": [ + "false_positive", + "accept_risk", + "other" + ], + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" }; -/** - * The schema of `security-center_issueClass` in responses. - */ -export const security$$center_issueClass: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `security-center_issueType` in responses. - */ -export const security$$center_issueType: JsonSchema = { - "enum": [ - "compliance_violation", - "email_security", - "exposed_infrastructure", - "insecure_configuration", - "weak_authentication", - "configuration_suggestion" - ], - "type": "string" -}; - /** * The schema of `security-center_messages` in responses. */ @@ -8880,57 +7864,6 @@ export const security$$center_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `security-center_page` in responses. - */ -export const security$$center_page: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `security-center_perPage` in responses. - */ -export const security$$center_perPage: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `security-center_source` in responses. - */ -export const security$$center_source: JsonSchema = { - "enum": [ - "cloudflare", - "riskrecon" - ], - "type": "string" -}; - -/** - * The schema of `security-center_subject` in responses. - */ -export const security$$center_subject: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `security-center_userClassification` in responses. - */ -export const security$$center_userClassification: JsonSchema = { - "oneOf": [ - { - "enum": [ - "false_positive", - "accept_risk", - "other" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `security-center_valueCountsResponse` in responses. */ @@ -9199,28 +8132,6 @@ export const tls$$certificates$$and$$hostnames_api$$response$$single: JsonSchema "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_expires_on-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_expires_on$$2: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_identifier` in responses. - */ -export const tls$$certificates$$and$$hostnames_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_issuer` in responses. - */ -export const tls$$certificates$$and$$hostnames_issuer: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_messages` in responses. */ @@ -9254,21 +8165,6 @@ export const tls$$certificates$$and$$hostnames_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `tls-certificates-and-hostnames_signature` in responses. - */ -export const tls$$certificates$$and$$hostnames_signature: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_uploaded_on` in responses. - */ -export const tls$$certificates$$and$$hostnames_uploaded_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_validation_record` in * responses. @@ -9306,13 +8202,6 @@ export const tls$$certificates$$and$$hostnames_validation_record: JsonSchema = { "type": "object" }; -/** - * The schema of `tunnel_account_id` in responses. - */ -export const tunnel_account_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `tunnel_api-response-collection` in responses. */ @@ -9474,95 +8363,78 @@ export const tunnel_api$$response$$single$$2: JsonSchema = { "type": "object" }; -/** - * The schema of `tunnel_arch` in responses. - */ -export const tunnel_arch: JsonSchema = { - "type": "string" -}; - /** * The schema of `tunnel_cfd_tunnel` in responses. */ export const tunnel_cfd_tunnel: JsonSchema = { "properties": { "account_tag": { - "$ref": "#/$defs/tunnel_account_id" + "type": "string" }, "config_src": { - "$ref": "#/$defs/tunnel_config_src" + "enum": [ + "local", + "cloudflare" + ], + "type": "string" }, "connections": { "$ref": "#/$defs/tunnel_connections_deprecated" }, "conns_active_at": { - "$ref": "#/$defs/tunnel_conns_active_at" + "format": "date-time", + "type": "string" }, "conns_inactive_at": { - "$ref": "#/$defs/tunnel_conns_inactive_at" + "format": "date-time", + "type": "string" }, "created_at": { - "$ref": "#/$defs/tunnel_created_at" + "format": "date-time", + "type": "string" }, "deleted_at": { - "$ref": "#/$defs/tunnel_deleted_at" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_tunnel_id" + "format": "uuid", + "type": "string" }, "metadata": { "$ref": "#/$defs/tunnel_metadata" }, "name": { - "$ref": "#/$defs/tunnel_tunnel_name" + "type": "string" }, "remote_config": { - "$ref": "#/$defs/tunnel_remote_config" + "type": "boolean" }, "status": { - "$ref": "#/$defs/tunnel_status" + "enum": [ + "inactive", + "degraded", + "healthy", + "down" + ], + "type": "string" }, "tun_type": { - "$ref": "#/$defs/tunnel_tunnel_type" + "enum": [ + "cfd_tunnel", + "warp_connector", + "warp", + "magic", + "ip_sec", + "gre", + "cni" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `tunnel_client_id` in responses. - */ -export const tunnel_client_id: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_colo_name` in responses. - */ -export const tunnel_colo_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_config_src` in responses. - */ -export const tunnel_config_src: JsonSchema = { - "enum": [ - "local", - "cloudflare" - ], - "type": "string" -}; - -/** - * The schema of `tunnel_connection_id` in responses. - */ -export const tunnel_connection_id: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `tunnel_connections_deprecated` in responses. */ @@ -9573,38 +8445,6 @@ export const tunnel_connections_deprecated: JsonSchema = { "type": "array" }; -/** - * The schema of `tunnel_conns_active_at` in responses. - */ -export const tunnel_conns_active_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tunnel_conns_inactive_at` in responses. - */ -export const tunnel_conns_inactive_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tunnel_created_at` in responses. - */ -export const tunnel_created_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tunnel_deleted_at` in responses. - */ -export const tunnel_deleted_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `tunnel_empty_response` in responses. */ @@ -9634,27 +8474,6 @@ export const tunnel_features: JsonSchema = { "type": "array" }; -/** - * The schema of `tunnel_identifier` in responses. - */ -export const tunnel_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_ip` in responses. - */ -export const tunnel_ip: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_is_pending_reconnect` in responses. - */ -export const tunnel_is_pending_reconnect: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `tunnel_messages` in responses. */ @@ -9720,13 +8539,6 @@ export const tunnel_metadata: JsonSchema = { "type": "object" }; -/** - * The schema of `tunnel_remote_config` in responses. - */ -export const tunnel_remote_config: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `tunnel_result_info` in responses. */ @@ -9748,84 +8560,43 @@ export const tunnel_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `tunnel_run_at` in responses. - */ -export const tunnel_run_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `tunnel_schemas-connection` in responses. */ export const tunnel_schemas$$connection: JsonSchema = { "properties": { "client_id": { - "$ref": "#/$defs/tunnel_client_id" + "format": "uuid", + "type": "string" }, "client_version": { - "$ref": "#/$defs/tunnel_version" + "type": "string" }, "colo_name": { - "$ref": "#/$defs/tunnel_colo_name" + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_connection_id" + "format": "uuid", + "type": "string" }, "is_pending_reconnect": { - "$ref": "#/$defs/tunnel_is_pending_reconnect" + "type": "boolean" }, "opened_at": { "format": "date-time", "type": "string" }, "origin_ip": { - "$ref": "#/$defs/tunnel_ip" + "type": "string" }, "uuid": { - "$ref": "#/$defs/tunnel_connection_id" + "format": "uuid", + "type": "string" } }, "type": "object" }; -/** - * The schema of `tunnel_status` in responses. - */ -export const tunnel_status: JsonSchema = { - "enum": [ - "inactive", - "degraded", - "healthy", - "down" - ], - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_id` in responses. - */ -export const tunnel_tunnel_id: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_id-2` in responses. - */ -export const tunnel_tunnel_id$$2: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_name` in responses. - */ -export const tunnel_tunnel_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `tunnel_tunnel_response_token` in responses. */ @@ -9837,7 +8608,7 @@ export const tunnel_tunnel_response_token: JsonSchema = { { "properties": { "result": { - "$ref": "#/$defs/tunnel_tunnel_token" + "type": "string" } }, "type": "object" @@ -9845,73 +8616,63 @@ export const tunnel_tunnel_response_token: JsonSchema = { ] }; -/** - * The schema of `tunnel_tunnel_token` in responses. - */ -export const tunnel_tunnel_token: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_type` in responses. - */ -export const tunnel_tunnel_type: JsonSchema = { - "enum": [ - "cfd_tunnel", - "warp_connector", - "warp", - "magic", - "ip_sec", - "gre", - "cni" - ], - "type": "string" -}; - -/** - * The schema of `tunnel_version` in responses. - */ -export const tunnel_version: JsonSchema = { - "type": "string" -}; - /** * The schema of `tunnel_warp_connector_tunnel` in responses. */ export const tunnel_warp_connector_tunnel: JsonSchema = { "properties": { "account_tag": { - "$ref": "#/$defs/tunnel_account_id" + "type": "string" }, "connections": { "$ref": "#/$defs/tunnel_connections_deprecated" }, "conns_active_at": { - "$ref": "#/$defs/tunnel_conns_active_at" + "format": "date-time", + "type": "string" }, "conns_inactive_at": { - "$ref": "#/$defs/tunnel_conns_inactive_at" + "format": "date-time", + "type": "string" }, "created_at": { - "$ref": "#/$defs/tunnel_created_at" + "format": "date-time", + "type": "string" }, "deleted_at": { - "$ref": "#/$defs/tunnel_deleted_at" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tunnel_tunnel_id" + "format": "uuid", + "type": "string" }, "metadata": { "$ref": "#/$defs/tunnel_metadata" }, "name": { - "$ref": "#/$defs/tunnel_tunnel_name" + "type": "string" }, "status": { - "$ref": "#/$defs/tunnel_status" + "enum": [ + "inactive", + "degraded", + "healthy", + "down" + ], + "type": "string" }, "tun_type": { - "$ref": "#/$defs/tunnel_tunnel_type" + "enum": [ + "cfd_tunnel", + "warp_connector", + "warp", + "magic", + "ip_sec", + "gre", + "cni" + ], + "type": "string" } }, "type": "object" @@ -10118,13 +8879,6 @@ export const waf$$product$$api$$bundle_api$$response$$single: JsonSchema = { ] }; -/** - * The schema of `waf-product-api-bundle_identifier` in responses. - */ -export const waf$$product$$api$$bundle_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `waf-product-api-bundle_messages` in responses. */ @@ -10386,7 +9140,7 @@ export const workers_binding_item: JsonSchema = { export const workers_binding_kind_ai: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10411,7 +9165,7 @@ export const workers_binding_kind_ai_search: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "namespace": { "type": "string" @@ -10437,7 +9191,7 @@ export const workers_binding_kind_ai_search: JsonSchema = { export const workers_binding_kind_ai_search_namespace: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "namespace": { "type": "string" @@ -10466,7 +9220,7 @@ export const workers_binding_kind_analytics_engine: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10489,7 +9243,7 @@ export const workers_binding_kind_analytics_engine: JsonSchema = { export const workers_binding_kind_artifacts: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "namespace": { "type": "string" @@ -10515,7 +9269,7 @@ export const workers_binding_kind_artifacts: JsonSchema = { export const workers_binding_kind_assets: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10537,7 +9291,7 @@ export const workers_binding_kind_assets: JsonSchema = { export const workers_binding_kind_browser: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10565,7 +9319,7 @@ export const workers_binding_kind_d1: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10588,7 +9342,7 @@ export const workers_binding_kind_d1: JsonSchema = { export const workers_binding_kind_data_blob: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "part": { "type": "string" @@ -10614,7 +9368,7 @@ export const workers_binding_kind_data_blob: JsonSchema = { export const workers_binding_kind_dispatch_namespace: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "namespace": { "type": "string" @@ -10682,12 +9436,12 @@ export const workers_binding_kind_durable_object_namespace: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "namespace_id": { "allOf": [ { - "$ref": "#/$defs/workers_namespace_identifier" + "type": "string" }, { "type": "string" @@ -10720,7 +9474,7 @@ export const workers_binding_kind_flagship: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10746,7 +9500,7 @@ export const workers_binding_kind_hyperdrive: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10769,7 +9523,7 @@ export const workers_binding_kind_hyperdrive: JsonSchema = { export const workers_binding_kind_images: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10822,7 +9576,7 @@ export const workers_binding_kind_json: JsonSchema = { "type": "object" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10845,7 +9599,7 @@ export const workers_binding_kind_json: JsonSchema = { export const workers_binding_kind_k2: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "stream": { "type": "string" @@ -10871,10 +9625,10 @@ export const workers_binding_kind_k2: JsonSchema = { export const workers_binding_kind_kv_namespace: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers_namespace_identifier" + "type": "string" }, "type": { "enum": [ @@ -10897,7 +9651,7 @@ export const workers_binding_kind_kv_namespace: JsonSchema = { export const workers_binding_kind_media: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10919,7 +9673,7 @@ export const workers_binding_kind_media: JsonSchema = { export const workers_binding_kind_messaging: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "namespace": { "type": "string" @@ -10948,7 +9702,7 @@ export const workers_binding_kind_mtls_certificate: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -10971,7 +9725,7 @@ export const workers_binding_kind_mtls_certificate: JsonSchema = { export const workers_binding_kind_pipelines: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "pipeline": { "type": "string" @@ -10997,7 +9751,7 @@ export const workers_binding_kind_pipelines: JsonSchema = { export const workers_binding_kind_plain_text: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "text": { "type": "string" @@ -11023,7 +9777,7 @@ export const workers_binding_kind_plain_text: JsonSchema = { export const workers_binding_kind_queue: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "queue_name": { "type": "string" @@ -11061,7 +9815,7 @@ export const workers_binding_kind_r2_bucket: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -11084,7 +9838,7 @@ export const workers_binding_kind_r2_bucket: JsonSchema = { export const workers_binding_kind_ratelimit: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "namespace_id": { "type": "string" @@ -11147,7 +9901,7 @@ export const workers_binding_kind_secret_key: JsonSchema = { "type": "object" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -11188,7 +9942,7 @@ export const workers_binding_kind_secret_key: JsonSchema = { export const workers_binding_kind_secret_text: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "text": { "type": "string" @@ -11214,7 +9968,7 @@ export const workers_binding_kind_secret_text: JsonSchema = { export const workers_binding_kind_secrets_store_secret: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "secret_name": { "type": "string" @@ -11259,7 +10013,7 @@ export const workers_binding_kind_send_email: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -11287,7 +10041,7 @@ export const workers_binding_kind_service: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "service": { "type": "string" @@ -11313,7 +10067,7 @@ export const workers_binding_kind_service: JsonSchema = { export const workers_binding_kind_text_blob: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "part": { "type": "string" @@ -11342,7 +10096,7 @@ export const workers_binding_kind_vectorize: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -11365,7 +10119,7 @@ export const workers_binding_kind_vectorize: JsonSchema = { export const workers_binding_kind_version_metadata: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "type": { "enum": [ @@ -11393,7 +10147,7 @@ export const workers_binding_kind_vpc_network: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "network_id": { "type": "string" @@ -11421,7 +10175,7 @@ export const workers_binding_kind_vpc_network: JsonSchema = { export const workers_binding_kind_vpc_service: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "service_id": { "type": "string" @@ -11447,7 +10201,7 @@ export const workers_binding_kind_vpc_service: JsonSchema = { export const workers_binding_kind_wasm_module: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "part": { "type": "string" @@ -11476,7 +10230,7 @@ export const workers_binding_kind_workflow: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name" + "type": "string" }, "script_name": { "type": "string" @@ -11499,13 +10253,6 @@ export const workers_binding_kind_workflow: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_binding_name` in responses. - */ -export const workers_binding_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_bindings` in responses. */ @@ -11580,26 +10327,12 @@ export const workers_code_update_strategy: JsonSchema = { ] }; -/** - * The schema of `workers_compatibility_date` in responses. - */ -export const workers_compatibility_date: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `workers_compatibility_flag` in responses. - */ -export const workers_compatibility_flag: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_compatibility_flags` in responses. */ export const workers_compatibility_flags: JsonSchema = { "items": { - "$ref": "#/$defs/workers_compatibility_flag" + "type": "string" }, "type": "array" }; @@ -11637,14 +10370,6 @@ export const workers_create$$assets$$upload$$session$$response: JsonSchema = { ] }; -/** - * The schema of `workers_created_on` in responses. - */ -export const workers_created_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `workers_durable_object_deleted_export` in responses. */ @@ -11686,7 +10411,11 @@ export const workers_durable_object_expecting_transfer_export: JsonSchema = { "type": "string" }, "storage": { - "$ref": "#/$defs/workers_export_storage" + "enum": [ + "sqlite", + "legacy-kv" + ], + "type": "string" }, "transfer_from": { "type": "string" @@ -11722,7 +10451,11 @@ export const workers_durable_object_export: JsonSchema = { "type": "string" }, "storage": { - "$ref": "#/$defs/workers_export_storage" + "enum": [ + "sqlite", + "legacy-kv" + ], + "type": "string" }, "type": { "enum": [ @@ -11834,13 +10567,6 @@ export const workers_entrypoint_cache_options: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_etag` in responses. - */ -export const workers_etag: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_export_config` in responses. */ @@ -11855,17 +10581,6 @@ export const workers_export_config: JsonSchema = { ] }; -/** - * The schema of `workers_export_storage` in responses. - */ -export const workers_export_storage: JsonSchema = { - "enum": [ - "sqlite", - "legacy-kv" - ], - "type": "string" -}; - /** * The schema of `workers_exports_config_map` in responses. */ @@ -11898,7 +10613,42 @@ export const workers_exports_reconciliation_error: JsonSchema = { "type": "array" }, "scenario": { - "$ref": "#/$defs/workers_exports_reconciliation_scenario" + "enum": [ + "code_class_not_in_exports", + "provisioned_class_missing_from_config", + "config_export_not_in_code", + "config_references_nonexistent_class", + "orphaned_provisioned_namespace", + "storage_type_mismatch", + "free_tier_requires_sqlite", + "invalid_export", + "tombstone_delete_class_still_in_code", + "tombstone_delete_blocked_by_external_bindings", + "tombstone_renamed_to_occupied", + "transferred_pending_not_found", + "transferred_target_missing", + "transferred_target_mismatch", + "phase_one_transfer_source_missing", + "phase_one_transfer_source_namespace_missing", + "phase_one_transfer_target_class_provisioned", + "phase_one_transfer_after_commit_mismatch", + "phase_one_transfer_duplicate", + "phase_one_transfer_target_in_dispatch_namespace", + "phase_one_transfer_source_in_dispatch_namespace", + "transferred_source_in_dispatch_namespace", + "transferred_target_in_dispatch_namespace", + "container_undeclared_reference", + "container_class_not_durable_object", + "container_wiring_inconsistent", + "container_multiple_durable_objects", + "transfer_container_parity_mismatch", + "transfer_container_parity_mismatch_on_commit", + "tombstone_class_still_in_code", + "stale_tombstone", + "transfer_receive_already_applied", + "transfer_receive_cleanup_complete" + ], + "type": "string" }, "suggestion": { "type": "string" @@ -11997,7 +10747,42 @@ export const workers_exports_reconciliation_info: JsonSchema = { "type": "array" }, "scenario": { - "$ref": "#/$defs/workers_exports_reconciliation_scenario" + "enum": [ + "code_class_not_in_exports", + "provisioned_class_missing_from_config", + "config_export_not_in_code", + "config_references_nonexistent_class", + "orphaned_provisioned_namespace", + "storage_type_mismatch", + "free_tier_requires_sqlite", + "invalid_export", + "tombstone_delete_class_still_in_code", + "tombstone_delete_blocked_by_external_bindings", + "tombstone_renamed_to_occupied", + "transferred_pending_not_found", + "transferred_target_missing", + "transferred_target_mismatch", + "phase_one_transfer_source_missing", + "phase_one_transfer_source_namespace_missing", + "phase_one_transfer_target_class_provisioned", + "phase_one_transfer_after_commit_mismatch", + "phase_one_transfer_duplicate", + "phase_one_transfer_target_in_dispatch_namespace", + "phase_one_transfer_source_in_dispatch_namespace", + "transferred_source_in_dispatch_namespace", + "transferred_target_in_dispatch_namespace", + "container_undeclared_reference", + "container_class_not_durable_object", + "container_wiring_inconsistent", + "container_multiple_durable_objects", + "transfer_container_parity_mismatch", + "transfer_container_parity_mismatch_on_commit", + "tombstone_class_still_in_code", + "stale_tombstone", + "transfer_receive_already_applied", + "transfer_receive_cleanup_complete" + ], + "type": "string" } }, "required": [ @@ -12101,48 +10886,6 @@ export const workers_exports_reconciliation_result: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_exports_reconciliation_scenario` in responses. - */ -export const workers_exports_reconciliation_scenario: JsonSchema = { - "enum": [ - "code_class_not_in_exports", - "provisioned_class_missing_from_config", - "config_export_not_in_code", - "config_references_nonexistent_class", - "orphaned_provisioned_namespace", - "storage_type_mismatch", - "free_tier_requires_sqlite", - "invalid_export", - "tombstone_delete_class_still_in_code", - "tombstone_delete_blocked_by_external_bindings", - "tombstone_renamed_to_occupied", - "transferred_pending_not_found", - "transferred_target_missing", - "transferred_target_mismatch", - "phase_one_transfer_source_missing", - "phase_one_transfer_source_namespace_missing", - "phase_one_transfer_target_class_provisioned", - "phase_one_transfer_after_commit_mismatch", - "phase_one_transfer_duplicate", - "phase_one_transfer_target_in_dispatch_namespace", - "phase_one_transfer_source_in_dispatch_namespace", - "transferred_source_in_dispatch_namespace", - "transferred_target_in_dispatch_namespace", - "container_undeclared_reference", - "container_class_not_durable_object", - "container_wiring_inconsistent", - "container_multiple_durable_objects", - "transfer_container_parity_mismatch", - "transfer_container_parity_mismatch_on_commit", - "tombstone_class_still_in_code", - "stale_tombstone", - "transfer_receive_already_applied", - "transfer_receive_cleanup_complete" - ], - "type": "string" -}; - /** * The schema of `workers_exports_reconciliation_transfer` in responses. */ @@ -12204,7 +10947,42 @@ export const workers_exports_reconciliation_warning: JsonSchema = { "type": "string" }, "scenario": { - "$ref": "#/$defs/workers_exports_reconciliation_scenario" + "enum": [ + "code_class_not_in_exports", + "provisioned_class_missing_from_config", + "config_export_not_in_code", + "config_references_nonexistent_class", + "orphaned_provisioned_namespace", + "storage_type_mismatch", + "free_tier_requires_sqlite", + "invalid_export", + "tombstone_delete_class_still_in_code", + "tombstone_delete_blocked_by_external_bindings", + "tombstone_renamed_to_occupied", + "transferred_pending_not_found", + "transferred_target_missing", + "transferred_target_mismatch", + "phase_one_transfer_source_missing", + "phase_one_transfer_source_namespace_missing", + "phase_one_transfer_target_class_provisioned", + "phase_one_transfer_after_commit_mismatch", + "phase_one_transfer_duplicate", + "phase_one_transfer_target_in_dispatch_namespace", + "phase_one_transfer_source_in_dispatch_namespace", + "transferred_source_in_dispatch_namespace", + "transferred_target_in_dispatch_namespace", + "container_undeclared_reference", + "container_class_not_durable_object", + "container_wiring_inconsistent", + "container_multiple_durable_objects", + "transfer_container_parity_mismatch", + "transfer_container_parity_mismatch_on_commit", + "tombstone_class_still_in_code", + "stale_tombstone", + "transfer_receive_already_applied", + "transfer_receive_cleanup_complete" + ], + "type": "string" } }, "required": [ @@ -12215,27 +10993,6 @@ export const workers_exports_reconciliation_warning: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_has_assets` in responses. - */ -export const workers_has_assets: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `workers_has_modules` in responses. - */ -export const workers_has_modules: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `workers_identifier` in responses. - */ -export const workers_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_limits` in responses. */ @@ -12251,13 +11008,6 @@ export const workers_limits: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_logpush` in responses. - */ -export const workers_logpush: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `workers_messages` in responses. */ @@ -12364,14 +11114,6 @@ export const workers_migration_tag_conditions: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_modified_on` in responses. - */ -export const workers_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `workers_multiple_step_migrations` in responses. */ @@ -12394,13 +11136,6 @@ export const workers_multiple_step_migrations: JsonSchema = { ] }; -/** - * The schema of `workers_namespace_identifier` in responses. - */ -export const workers_namespace_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_observability-2` in responses. */ @@ -12673,7 +11408,12 @@ export const workers_placement_info: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/workers_placement_status" + "enum": [ + "SUCCESS", + "UNSUPPORTED_APPLICATION", + "INSUFFICIENT_INVOCATIONS" + ], + "type": "string" } }, "type": "object" @@ -12813,29 +11553,6 @@ export const workers_placement_info_no_status: JsonSchema = { ] }; -/** - * The schema of `workers_placement_mode` in responses. - */ -export const workers_placement_mode: JsonSchema = { - "enum": [ - "smart", - "targeted" - ], - "type": "string" -}; - -/** - * The schema of `workers_placement_status` in responses. - */ -export const workers_placement_status: JsonSchema = { - "enum": [ - "SUCCESS", - "UNSUPPORTED_APPLICATION", - "INSUFFICIENT_INVOCATIONS" - ], - "type": "string" -}; - /** * The schema of `workers_placement_target` in responses. */ @@ -12886,16 +11603,17 @@ export const workers_script$$response: JsonSchema = { "$ref": "#/$defs/workers_cache_options" }, "compatibility_date": { - "$ref": "#/$defs/workers_compatibility_date" + "type": "string" }, "compatibility_flags": { "$ref": "#/$defs/workers_compatibility_flags" }, "created_on": { - "$ref": "#/$defs/workers_created_on" + "format": "date-time", + "type": "string" }, "etag": { - "$ref": "#/$defs/workers_etag" + "type": "string" }, "exports": { "$ref": "#/$defs/workers_exports_config_map" @@ -12907,10 +11625,10 @@ export const workers_script$$response: JsonSchema = { "type": "array" }, "has_assets": { - "$ref": "#/$defs/workers_has_assets" + "type": "boolean" }, "has_modules": { - "$ref": "#/$defs/workers_has_modules" + "type": "boolean" }, "id": { "type": "string" @@ -12919,13 +11637,14 @@ export const workers_script$$response: JsonSchema = { "type": "string" }, "logpush": { - "$ref": "#/$defs/workers_logpush" + "type": "boolean" }, "migration_tag": { "type": "string" }, "modified_on": { - "$ref": "#/$defs/workers_modified_on" + "format": "date-time", + "type": "string" }, "named_handlers": { "items": { @@ -12953,7 +11672,11 @@ export const workers_script$$response: JsonSchema = { "placement_mode": { "allOf": [ { - "$ref": "#/$defs/workers_placement_mode" + "enum": [ + "smart", + "targeted" + ], + "type": "string" }, { "type": "string" @@ -12963,7 +11686,12 @@ export const workers_script$$response: JsonSchema = { "placement_status": { "allOf": [ { - "$ref": "#/$defs/workers_placement_status" + "enum": [ + "SUCCESS", + "UNSUPPORTED_APPLICATION", + "INSUFFICIENT_INVOCATIONS" + ], + "type": "string" }, { "type": "string" @@ -12980,19 +11708,17 @@ export const workers_script$$response: JsonSchema = { "$ref": "#/$defs/workers_tail_consumers" }, "usage_model": { - "$ref": "#/$defs/workers_usage_model" + "enum": [ + "standard", + "bundled", + "unbound" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `workers_script_name` in responses. - */ -export const workers_script_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_secret` in responses. */ @@ -13031,13 +11757,6 @@ export const workers_single_step_migrations: JsonSchema = { ] }; -/** - * The schema of `workers_tag` in responses. - */ -export const workers_tag: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_tags` in responses. */ @@ -13045,7 +11764,7 @@ export const workers_tags: JsonSchema = { "oneOf": [ { "items": { - "$ref": "#/$defs/workers_tag" + "type": "string" }, "maxItems": 10, "type": "array" @@ -13094,18 +11813,6 @@ export const workers_tail_consumers_script: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_usage_model` in responses. - */ -export const workers_usage_model: JsonSchema = { - "enum": [ - "standard", - "bundled", - "unbound" - ], - "type": "string" -}; - /** * The schema of `workers_worker_export` in responses. */ @@ -13163,13 +11870,6 @@ export const zones_api$$response$$common$$failure$$2: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_identifier-2` in responses. - */ -export const zones_identifier$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `zones_messages-2` in responses. */ diff --git a/src/generated/forge-mcp/pageRules/outputs.ts b/src/generated/forge-mcp/pageRules/outputs.ts index e6104f5db..97883141d 100644 --- a/src/generated/forge-mcp/pageRules/outputs.ts +++ b/src/generated/forge-mcp/pageRules/outputs.ts @@ -198,7 +198,7 @@ export const zones_api$$response$$single$$id$$2: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/zones_identifier-2" + "type": "string" } }, "required": [ @@ -549,14 +549,6 @@ export const zones_cache_ttl_by_status: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_created_on` in responses. - */ -export const zones_created_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `zones_disable_apps` in responses. */ @@ -771,14 +763,6 @@ export const zones_mirage: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_modified_on` in responses. - */ -export const zones_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `zones_opportunistic_encryption` in responses. */ @@ -832,19 +816,25 @@ export const zones_page_rule: JsonSchema = { "$ref": "#/$defs/zones_actions" }, "created_on": { - "$ref": "#/$defs/zones_created_on" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/zones_identifier-2" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/zones_modified_on" + "format": "date-time", + "type": "string" }, "priority": { - "$ref": "#/$defs/zones_priority" + "type": "integer" }, "status": { - "$ref": "#/$defs/zones_status" + "enum": [ + "active", + "disabled" + ], + "type": "string" }, "targets": { "$ref": "#/$defs/zones_targets" @@ -885,13 +875,6 @@ export const zones_polish: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_priority` in responses. - */ -export const zones_priority: JsonSchema = { - "type": "integer" -}; - /** * The schema of `zones_resolve_override` in responses. */ @@ -1049,17 +1032,6 @@ export const zones_ssl: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_status` in responses. - */ -export const zones_status: JsonSchema = { - "enum": [ - "active", - "disabled" - ], - "type": "string" -}; - /** * The schema of `zones_string_constraint` in responses. */ diff --git a/src/generated/forge-mcp/pageRules/schemas.ts b/src/generated/forge-mcp/pageRules/schemas.ts index c8748f03c..abf525f35 100644 --- a/src/generated/forge-mcp/pageRules/schemas.ts +++ b/src/generated/forge-mcp/pageRules/schemas.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../_/tool.js"; * The schema of `zones_actions`. */ export const zones_actions: JsonSchema = { - "description": "The set of actions to perform if the targets of this rule match the\nrequest. Actions can redirect to another URL or override settings, but\nnot both.\n", + "description": "The set of actions to perform if the targets of this rule match the\nrequest. Actions can redirect to another URL or override settings, but\nnot both.", "items": { "oneOf": [ { @@ -124,7 +124,7 @@ export const zones_always_use_https: JsonSchema = { "description": "Always Use HTTPS", "properties": { "id": { - "description": "If enabled, any `http://`` URL is converted to `https://` through a\n301 redirect.\n", + "description": "If enabled, any `http://`` URL is converted to `https://` through a\n301 redirect.", "enum": [ "always_use_https" ], @@ -148,7 +148,7 @@ export const zones_automatic_https_rewrites: JsonSchema = { "type": "string" }, "value": { - "description": "The status of Automatic HTTPS Rewrites.\n", + "description": "The status of Automatic HTTPS Rewrites.", "enum": [ "on", "off" @@ -166,14 +166,14 @@ export const zones_browser_cache_ttl: JsonSchema = { "description": "Browser Cache TTL", "properties": { "id": { - "description": "Control how long resources cached by client browsers remain valid.\n", + "description": "Control how long resources cached by client browsers remain valid.", "enum": [ "browser_cache_ttl" ], "type": "string" }, "value": { - "description": "The number of seconds to cache resources for.\nSetting this to 0 enables \"Respect Existing Headers\".\n", + "description": "The number of seconds to cache resources for.\nSetting this to 0 enables \"Respect Existing Headers\".", "type": "integer" } }, @@ -187,14 +187,14 @@ export const zones_browser_check: JsonSchema = { "description": "Browser Integrity Check", "properties": { "id": { - "description": "Inspect the visitor's browser for headers commonly associated with\nspammers and certain bots.\n", + "description": "Inspect the visitor's browser for headers commonly associated with\nspammers and certain bots.", "enum": [ "browser_check" ], "type": "string" }, "value": { - "description": "The status of Browser Integrity Check.\n", + "description": "The status of Browser Integrity Check.", "enum": [ "on", "off" @@ -212,14 +212,14 @@ export const zones_bypass_cache_on_cookie: JsonSchema = { "description": "Bypass Cache on Cookie", "properties": { "id": { - "description": "Bypass cache and fetch resources from the origin server if a regular\nexpression matches against a cookie name present in the request.\n", + "description": "Bypass cache and fetch resources from the origin server if a regular\nexpression matches against a cookie name present in the request.", "enum": [ "bypass_cache_on_cookie" ], "type": "string" }, "value": { - "description": "The regular expression to use for matching cookie names in the\nrequest. Refer to [Bypass Cache on Cookie\nsetting](https://developers.cloudflare.com/rules/page-rules/reference/additional-reference/#bypass-cache-on-cookie-setting)\nto learn about limited regular expression support.\n", + "description": "The regular expression to use for matching cookie names in the\nrequest. Refer to [Bypass Cache on Cookie\nsetting](https://developers.cloudflare.com/rules/page-rules/reference/additional-reference/#bypass-cache-on-cookie-setting)\nto learn about limited regular expression support.", "type": "string" } }, @@ -233,14 +233,14 @@ export const zones_cache_by_device_type: JsonSchema = { "description": "Cache By Device Type", "properties": { "id": { - "description": "Separate cached content based on the visitor's device type.\n", + "description": "Separate cached content based on the visitor's device type.", "enum": [ "cache_by_device_type" ], "type": "string" }, "value": { - "description": "The status of Cache By Device Type.\n", + "description": "The status of Cache By Device Type.", "enum": [ "on", "off" @@ -258,14 +258,14 @@ export const zones_cache_deception_armor: JsonSchema = { "description": "Cache Deception Armor", "properties": { "id": { - "description": "Protect from web cache deception attacks while still allowing static\nassets to be cached. This setting verifies that the URL's extension\nmatches the returned `Content-Type`.\n", + "description": "Protect from web cache deception attacks while still allowing static\nassets to be cached. This setting verifies that the URL's extension\nmatches the returned `Content-Type`.", "enum": [ "cache_deception_armor" ], "type": "string" }, "value": { - "description": "The status of Cache Deception Armor.\n", + "description": "The status of Cache Deception Armor.", "enum": [ "on", "off" @@ -283,7 +283,7 @@ export const zones_cache_key_fields: JsonSchema = { "description": "Custom Cache Key", "properties": { "id": { - "description": "Control specifically what variables to include when deciding which\nresources to cache. This allows customers to determine what to cache\nbased on something other than just the URL.\n", + "description": "Control specifically what variables to include when deciding which\nresources to cache. This allows customers to determine what to cache\nbased on something other than just the URL.", "enum": [ "cache_key_fields" ], @@ -292,10 +292,10 @@ export const zones_cache_key_fields: JsonSchema = { "value": { "properties": { "cookie": { - "description": "Controls which cookies appear in the Cache Key.\n", + "description": "Controls which cookies appear in the Cache Key.", "properties": { "check_presence": { - "description": "A list of cookies to check for the presence of, without\nincluding their actual values.\n", + "description": "A list of cookies to check for the presence of, without\nincluding their actual values.", "items": { "type": "string" }, @@ -304,7 +304,7 @@ export const zones_cache_key_fields: JsonSchema = { "type": "array" }, "include": { - "description": "A list of cookies to include.\n", + "description": "A list of cookies to include.", "items": { "type": "string" }, @@ -316,10 +316,10 @@ export const zones_cache_key_fields: JsonSchema = { "type": "object" }, "header": { - "description": "Controls which headers go into the Cache Key. Exactly one of\n`include` or `exclude` is expected.\n", + "description": "Controls which headers go into the Cache Key. Exactly one of\n`include` or `exclude` is expected.", "properties": { "check_presence": { - "description": "A list of headers to check for the presence of, without\nincluding their actual values.\n", + "description": "A list of headers to check for the presence of, without\nincluding their actual values.", "items": { "type": "string" }, @@ -328,7 +328,7 @@ export const zones_cache_key_fields: JsonSchema = { "type": "array" }, "exclude": { - "description": "A list of headers to ignore.\n", + "description": "A list of headers to ignore.", "items": { "type": "string" }, @@ -337,7 +337,7 @@ export const zones_cache_key_fields: JsonSchema = { "type": "array" }, "include": { - "description": "A list of headers to include.\n", + "description": "A list of headers to include.", "items": { "type": "string" }, @@ -349,17 +349,17 @@ export const zones_cache_key_fields: JsonSchema = { "type": "object" }, "host": { - "description": "Determines which host header to include in the Cache Key.\n", + "description": "Determines which host header to include in the Cache Key.", "properties": { "resolved": { - "description": "Whether to include the Host header in the HTTP request sent\nto the origin.\n", + "description": "Whether to include the Host header in the HTTP request sent\nto the origin.", "type": "boolean" } }, "type": "object" }, "query_string": { - "description": "Controls which URL query string parameters go into the Cache\nKey. Exactly one of `include` or `exclude` is expected.\n", + "description": "Controls which URL query string parameters go into the Cache\nKey. Exactly one of `include` or `exclude` is expected.", "properties": { "exclude": { "oneOf": [ @@ -401,18 +401,18 @@ export const zones_cache_key_fields: JsonSchema = { "type": "object" }, "user": { - "description": "Feature fields to add features about the end-user (client) into\nthe Cache Key.\n", + "description": "Feature fields to add features about the end-user (client) into\nthe Cache Key.", "properties": { "device_type": { - "description": "Classifies a request as `mobile`, `desktop`, or `tablet`\nbased on the User Agent.\n", + "description": "Classifies a request as `mobile`, `desktop`, or `tablet`\nbased on the User Agent.", "type": "boolean" }, "geo": { - "description": "Includes the client's country, derived from the IP address.\n", + "description": "Includes the client's country, derived from the IP address.", "type": "boolean" }, "lang": { - "description": "Includes the first language code contained in the\n`Accept-Language` header sent by the client.\n", + "description": "Includes the first language code contained in the\n`Accept-Language` header sent by the client.", "type": "boolean" } }, @@ -432,14 +432,14 @@ export const zones_cache_level: JsonSchema = { "description": "Cache Level", "properties": { "id": { - "description": "Apply custom caching based on the option selected.\n", + "description": "Apply custom caching based on the option selected.", "enum": [ "cache_level" ], "type": "string" }, "value": { - "description": "* `bypass`: Cloudflare does not cache.\n* `basic`: Delivers resources from cache when there is no query\n string.\n* `simplified`: Delivers the same resource to everyone independent\n of the query string.\n* `aggressive`: Caches all static content that has a query string.\n* `cache_everything`: Treats all content as static and caches all\n file types beyond the [Cloudflare default cached\n content](https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#default-cached-file-extensions).\n", + "description": "* `bypass`: Cloudflare does not cache.\n* `basic`: Delivers resources from cache when there is no query\n string.\n* `simplified`: Delivers the same resource to everyone independent\n of the query string.\n* `aggressive`: Caches all static content that has a query string.\n* `cache_everything`: Treats all content as static and caches all\n file types beyond the [Cloudflare default cached\n content](https://developers.cloudflare.com/cache/concepts/default-cache-behavior/#default-cached-file-extensions).", "enum": [ "bypass", "basic", @@ -460,14 +460,14 @@ export const zones_cache_on_cookie: JsonSchema = { "description": "Cache on Cookie", "properties": { "id": { - "description": "Apply the Cache Everything option (Cache Level setting) based on a\nregular expression match against a cookie name.\n", + "description": "Apply the Cache Everything option (Cache Level setting) based on a\nregular expression match against a cookie name.", "enum": [ "cache_on_cookie" ], "type": "string" }, "value": { - "description": "The regular expression to use for matching cookie names in the\nrequest.\n", + "description": "The regular expression to use for matching cookie names in the\nrequest.", "type": "string" } }, @@ -481,7 +481,7 @@ export const zones_cache_ttl_by_status: JsonSchema = { "description": "Cache TTL by Status Code", "properties": { "id": { - "description": "Enterprise customers can set cache time-to-live (TTL) based on the\nresponse status from the origin web server. Cache TTL refers to the\nduration of a resource in the Cloudflare network before being\nmarked as stale or discarded from cache. Status codes are returned\nby a resource's origin. Setting cache TTL based on response status\noverrides the default cache behavior (standard caching) for static\nfiles and overrides cache instructions sent by the origin web\nserver. To cache non-static assets, set a Cache Level of Cache\nEverything using a Page Rule. Setting no-store Cache-Control or a\nlow TTL (using `max-age`/`s-maxage`) increases requests to origin\nweb servers and decreases performance.\n", + "description": "Enterprise customers can set cache time-to-live (TTL) based on the\nresponse status from the origin web server. Cache TTL refers to the\nduration of a resource in the Cloudflare network before being\nmarked as stale or discarded from cache. Status codes are returned\nby a resource's origin. Setting cache TTL based on response status\noverrides the default cache behavior (standard caching) for static\nfiles and overrides cache instructions sent by the origin web\nserver. To cache non-static assets, set a Cache Level of Cache\nEverything using a Page Rule. Setting no-store Cache-Control or a\nlow TTL (using `max-age`/`s-maxage`) increases requests to origin\nweb servers and decreases performance.", "enum": [ "cache_ttl_by_status" ], @@ -502,7 +502,7 @@ export const zones_cache_ttl_by_status: JsonSchema = { } ] }, - "description": "A JSON object containing status codes and their corresponding TTLs.\nEach key-value pair in the cache TTL by status cache rule has the\nfollowing syntax\n- `status_code`: An integer value such as 200 or 500. status_code\n matches the exact status code from the origin web server. Valid\n status codes are between 100-999.\n- `status_code_range`: Integer values for from and to.\n status_code_range matches any status code from the origin web\n server within the specified range.\n- `value`: An integer value that defines the duration an asset is\n valid in seconds or one of the following strings: no-store\n (equivalent to -1), no-cache (equivalent to 0).\n", + "description": "A JSON object containing status codes and their corresponding TTLs.\nEach key-value pair in the cache TTL by status cache rule has the\nfollowing syntax\n- `status_code`: An integer value such as 200 or 500. status_code\n matches the exact status code from the origin web server. Valid\n status codes are between 100-999.\n- `status_code_range`: Integer values for from and to.\n status_code_range matches any status code from the origin web\n server within the specified range.\n- `value`: An integer value that defines the duration an asset is\n valid in seconds or one of the following strings: no-store\n (equivalent to -1), no-cache (equivalent to 0).", "type": "object" } }, @@ -516,7 +516,7 @@ export const zones_disable_apps: JsonSchema = { "description": "Disable Apps", "properties": { "id": { - "description": "Turn off all active [Cloudflare Apps](https://developers.cloudflare.com/support/more-dashboard-apps/cloudflare-apps/)\n(deprecated).\n", + "description": "Turn off all active [Cloudflare Apps](https://developers.cloudflare.com/support/more-dashboard-apps/cloudflare-apps/)\n(deprecated).", "enum": [ "disable_apps" ], @@ -533,7 +533,7 @@ export const zones_disable_performance: JsonSchema = { "description": "Disable Performance", "properties": { "id": { - "description": "Turn off\n[Rocket Loader](https://developers.cloudflare.com/speed/optimization/content/rocket-loader/), and\n[Polish](https://developers.cloudflare.com/images/polish/).\n", + "description": "Turn off\n[Rocket Loader](https://developers.cloudflare.com/speed/optimization/content/rocket-loader/), and\n[Polish](https://developers.cloudflare.com/images/polish/).", "enum": [ "disable_performance" ], @@ -550,7 +550,7 @@ export const zones_disable_security: JsonSchema = { "description": "Disable Security", "properties": { "id": { - "description": "Turn off\n[Email Obfuscation](https://developers.cloudflare.com/waf/tools/scrape-shield/email-address-obfuscation/),\n[Rate Limiting (previous version, deprecated)](https://developers.cloudflare.com/waf/reference/legacy/old-rate-limiting/),\n[Scrape Shield](https://developers.cloudflare.com/waf/tools/scrape-shield/),\n[URL (Zone) Lockdown](https://developers.cloudflare.com/waf/tools/zone-lockdown/), and\n[WAF managed rules (previous version, deprecated)](https://developers.cloudflare.com/waf/reference/legacy/old-waf-managed-rules/).\n", + "description": "Turn off\n[Email Obfuscation](https://developers.cloudflare.com/waf/tools/scrape-shield/email-address-obfuscation/),\n[Rate Limiting (previous version, deprecated)](https://developers.cloudflare.com/waf/reference/legacy/old-rate-limiting/),\n[Scrape Shield](https://developers.cloudflare.com/waf/tools/scrape-shield/),\n[URL (Zone) Lockdown](https://developers.cloudflare.com/waf/tools/zone-lockdown/), and\n[WAF managed rules (previous version, deprecated)](https://developers.cloudflare.com/waf/reference/legacy/old-waf-managed-rules/).", "enum": [ "disable_security" ], @@ -567,7 +567,7 @@ export const zones_disable_zaraz: JsonSchema = { "description": "Disable Zaraz", "properties": { "id": { - "description": "Turn off [Zaraz](https://developers.cloudflare.com/zaraz/).\n", + "description": "Turn off [Zaraz](https://developers.cloudflare.com/zaraz/).", "enum": [ "disable_zaraz" ], @@ -584,7 +584,7 @@ export const zones_edge_cache_ttl: JsonSchema = { "description": "Edge Cache TTL", "properties": { "id": { - "description": "Specify how long to cache a resource in the Cloudflare global\nnetwork. *Edge Cache TTL* is not visible in response headers.\n", + "description": "Specify how long to cache a resource in the Cloudflare global\nnetwork. *Edge Cache TTL* is not visible in response headers.", "enum": [ "edge_cache_ttl" ], @@ -611,7 +611,7 @@ export const zones_email_obfuscation: JsonSchema = { "type": "string" }, "value": { - "description": "The status of Email Obfuscation.\n", + "description": "The status of Email Obfuscation.", "enum": [ "on", "off" @@ -629,14 +629,14 @@ export const zones_explicit_cache_control: JsonSchema = { "description": "Origin Cache Control", "properties": { "id": { - "description": "Origin Cache Control is enabled by default for Free, Pro, and\nBusiness domains and disabled by default for Enterprise domains.\n", + "description": "Origin Cache Control is enabled by default for Free, Pro, and\nBusiness domains and disabled by default for Enterprise domains.", "enum": [ "explicit_cache_control" ], "type": "string" }, "value": { - "description": "The status of Origin Cache Control.\n", + "description": "The status of Origin Cache Control.", "enum": [ "on", "off" @@ -654,7 +654,7 @@ export const zones_forwarding_url: JsonSchema = { "description": "Forwarding URL", "properties": { "id": { - "description": "Redirects one URL to another using an `HTTP 301/302` redirect. Refer\nto [Wildcard matching and referencing](https://developers.cloudflare.com/rules/page-rules/reference/wildcard-matching/).\n", + "description": "Redirects one URL to another using an `HTTP 301/302` redirect. Refer\nto [Wildcard matching and referencing](https://developers.cloudflare.com/rules/page-rules/reference/wildcard-matching/).", "enum": [ "forwarding_url" ], @@ -663,7 +663,7 @@ export const zones_forwarding_url: JsonSchema = { "value": { "properties": { "status_code": { - "description": "The status code to use for the URL redirect. 301 is a permanent\nredirect. 302 is a temporary redirect.\n", + "description": "The status code to use for the URL redirect. 301 is a permanent\nredirect. 302 is a temporary redirect.", "enum": [ 301, 302 @@ -709,14 +709,14 @@ export const zones_ip_geolocation: JsonSchema = { "description": "IP Geolocation Header", "properties": { "id": { - "description": "Cloudflare adds a CF-IPCountry HTTP header containing the country code that corresponds to the visitor.\n", + "description": "Cloudflare adds a CF-IPCountry HTTP header containing the country code that corresponds to the visitor.", "enum": [ "ip_geolocation" ], "type": "string" }, "value": { - "description": "The status of adding the IP Geolocation Header.\n", + "description": "The status of adding the IP Geolocation Header.", "enum": [ "on", "off" @@ -735,14 +735,14 @@ export const zones_mirage: JsonSchema = { "description": "Mirage", "properties": { "id": { - "description": "Cloudflare Mirage reduces bandwidth used by images in mobile browsers.\nIt can accelerate loading of image-heavy websites on very slow mobile connections and HTTP/1.\n", + "description": "Cloudflare Mirage reduces bandwidth used by images in mobile browsers.\nIt can accelerate loading of image-heavy websites on very slow mobile connections and HTTP/1.", "enum": [ "mirage" ], "type": "string" }, "value": { - "description": "The status of Mirage.\n", + "description": "The status of Mirage.", "enum": [ "on", "off" @@ -760,14 +760,14 @@ export const zones_opportunistic_encryption: JsonSchema = { "description": "Opportunistic Encryption", "properties": { "id": { - "description": "Opportunistic Encryption allows browsers to access HTTP URIs over an encrypted TLS channel.\nIt's not a substitute for HTTPS, but provides additional security for otherwise vulnerable requests.\n", + "description": "Opportunistic Encryption allows browsers to access HTTP URIs over an encrypted TLS channel.\nIt's not a substitute for HTTPS, but provides additional security for otherwise vulnerable requests.", "enum": [ "opportunistic_encryption" ], "type": "string" }, "value": { - "description": "The status of Opportunistic Encryption.\n", + "description": "The status of Opportunistic Encryption.", "enum": [ "on", "off" @@ -785,14 +785,14 @@ export const zones_origin_error_page_pass_thru: JsonSchema = { "description": "Origin Error Page Passthru", "properties": { "id": { - "description": "Turn on or off Cloudflare error pages generated from issues sent from the origin server. If enabled, this setting triggers error pages issued by the origin.\n", + "description": "Turn on or off Cloudflare error pages generated from issues sent from the origin server. If enabled, this setting triggers error pages issued by the origin.", "enum": [ "origin_error_page_pass_thru" ], "type": "string" }, "value": { - "description": "The status of Origin Error Page Passthru.\n", + "description": "The status of Origin Error Page Passthru.", "enum": [ "on", "off" @@ -810,14 +810,14 @@ export const zones_polish: JsonSchema = { "description": "Polish", "properties": { "id": { - "description": "Apply options from the Polish feature of the Cloudflare Speed app.\n", + "description": "Apply options from the Polish feature of the Cloudflare Speed app.", "enum": [ "polish" ], "type": "string" }, "value": { - "description": "The level of Polish you want applied to your origin.\n", + "description": "The level of Polish you want applied to your origin.", "enum": [ "off", "lossless", @@ -829,14 +829,6 @@ export const zones_polish: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_priority`. - */ -export const zones_priority: JsonSchema = { - "description": "The priority of the rule, used to define which Page Rule is processed\nover another. A higher number indicates a higher priority. For example,\nif you have a catch-all Page Rule (rule A: `/images/*`) but want a more\nspecific Page Rule to take precedence (rule B: `/images/special/*`),\nspecify a higher priority for rule B so it overrides rule A.\n", - "type": "integer" -}; - /** * The schema of `zones_resolve_override`. */ @@ -844,14 +836,14 @@ export const zones_resolve_override: JsonSchema = { "description": "Resolve Override", "properties": { "id": { - "description": "Change the origin address to the value specified in this setting.\n", + "description": "Change the origin address to the value specified in this setting.", "enum": [ "resolve_override" ], "type": "string" }, "value": { - "description": "The origin address you want to override with.\n", + "description": "The origin address you want to override with.", "type": "string" } }, @@ -865,14 +857,14 @@ export const zones_respect_strong_etag: JsonSchema = { "description": "Respect Strong ETags", "properties": { "id": { - "description": "Turn on or off byte-for-byte equivalency checks between the\nCloudflare cache and the origin server.\n", + "description": "Turn on or off byte-for-byte equivalency checks between the\nCloudflare cache and the origin server.", "enum": [ "respect_strong_etag" ], "type": "string" }, "value": { - "description": "The status of Respect Strong ETags\n", + "description": "The status of Respect Strong ETags", "enum": [ "on", "off" @@ -891,14 +883,14 @@ export const zones_response_buffering: JsonSchema = { "description": "Response Buffering", "properties": { "id": { - "description": "Turn on or off whether Cloudflare should wait for an entire file\nfrom the origin server before forwarding it to the site visitor. By\ndefault, Cloudflare sends packets to the client as they arrive from\nthe origin server.\n", + "description": "Turn on or off whether Cloudflare should wait for an entire file\nfrom the origin server before forwarding it to the site visitor. By\ndefault, Cloudflare sends packets to the client as they arrive from\nthe origin server.", "enum": [ "response_buffering" ], "type": "string" }, "value": { - "description": "The status of Response Buffering\n", + "description": "The status of Response Buffering", "enum": [ "on", "off" @@ -916,14 +908,14 @@ export const zones_rocket_loader: JsonSchema = { "description": "Rocket Loader", "properties": { "id": { - "description": "Turn on or off Rocket Loader in the Cloudflare Speed app.\n", + "description": "Turn on or off Rocket Loader in the Cloudflare Speed app.", "enum": [ "rocket_loader" ], "type": "string" }, "value": { - "description": "The status of Rocket Loader\n", + "description": "The status of Rocket Loader", "enum": [ "on", "off" @@ -941,7 +933,7 @@ export const zones_security_level: JsonSchema = { "description": "Security Level", "properties": { "id": { - "description": "Control options for the **Security Level** feature from the **Security** app.\n", + "description": "Control options for the **Security Level** feature from the **Security** app.", "enum": [ "security_level" ], @@ -969,14 +961,14 @@ export const zones_sort_query_string_for_cache: JsonSchema = { "description": "Query String Sort", "properties": { "id": { - "description": "Turn on or off the reordering of query strings. When query strings have the same structure, caching improves.\n", + "description": "Turn on or off the reordering of query strings. When query strings have the same structure, caching improves.", "enum": [ "sort_query_string_for_cache" ], "type": "string" }, "value": { - "description": "The status of Query String Sort\n", + "description": "The status of Query String Sort", "enum": [ "on", "off" @@ -994,14 +986,14 @@ export const zones_ssl: JsonSchema = { "description": "SSL", "properties": { "id": { - "description": "Control options for the SSL feature of the Edge Certificates tab in the Cloudflare SSL/TLS app.\n", + "description": "Control options for the SSL feature of the Edge Certificates tab in the Cloudflare SSL/TLS app.", "enum": [ "ssl" ], "type": "string" }, "value": { - "description": "The encryption mode that Cloudflare uses to connect to your origin server.\n", + "description": "The encryption mode that Cloudflare uses to connect to your origin server.", "enum": [ "off", "flexible", @@ -1015,18 +1007,6 @@ export const zones_ssl: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_status`. - */ -export const zones_status: JsonSchema = { - "description": "The status of the Page Rule.", - "enum": [ - "active", - "disabled" - ], - "type": "string" -}; - /** * The schema of `zones_string_constraint`. */ @@ -1083,14 +1063,14 @@ export const zones_true_client_ip_header: JsonSchema = { "description": "True Client IP Header", "properties": { "id": { - "description": "Turn on or off the True-Client-IP Header feature of the Cloudflare Network app.\n", + "description": "Turn on or off the True-Client-IP Header feature of the Cloudflare Network app.", "enum": [ "true_client_ip_header" ], "type": "string" }, "value": { - "description": "The status of True Client IP Header.\n", + "description": "The status of True Client IP Header.", "enum": [ "on", "off" @@ -1142,14 +1122,14 @@ export const zones_waf: JsonSchema = { "description": "WAF", "properties": { "id": { - "description": "Turn on or off [WAF managed rules (previous version, deprecated)](https://developers.cloudflare.com/waf/reference/legacy/old-waf-managed-rules/).\nYou cannot enable or disable individual WAF managed rules via Page Rules.\n", + "description": "Turn on or off [WAF managed rules (previous version, deprecated)](https://developers.cloudflare.com/waf/reference/legacy/old-waf-managed-rules/).\nYou cannot enable or disable individual WAF managed rules via Page Rules.", "enum": [ "waf" ], "type": "string" }, "value": { - "description": "The status of WAF managed rules (previous version).\n", + "description": "The status of WAF managed rules (previous version).", "enum": [ "on", "off" diff --git a/src/generated/forge-mcp/pageRules/tools.ts b/src/generated/forge-mcp/pageRules/tools.ts index e8ef46a66..5526b25e0 100644 --- a/src/generated/forge-mcp/pageRules/tools.ts +++ b/src/generated/forge-mcp/pageRules/tools.ts @@ -4,10 +4,8 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { zones_api$$response$$common$$failure$$2, - zones_identifier$$2, zones_messages$$2, } from "../outputs.js"; -import { zones_identifier$$2 as zones_identifier$$2$ } from "../schemas.js"; import { zones_actions, zones_always_use_https, @@ -24,7 +22,6 @@ import { zones_cache_level, zones_cache_on_cookie, zones_cache_ttl_by_status, - zones_created_on, zones_disable_apps, zones_disable_performance, zones_disable_security, @@ -36,12 +33,10 @@ import { zones_host_header_override, zones_ip_geolocation, zones_mirage, - zones_modified_on, zones_opportunistic_encryption, zones_origin_error_page_pass_thru, zones_page_rule, zones_polish, - zones_priority, zones_resolve_override, zones_respect_strong_etag, zones_response_buffering, @@ -49,7 +44,6 @@ import { zones_security_level, zones_sort_query_string_for_cache, zones_ssl, - zones_status, zones_string_constraint, zones_target, zones_targets, @@ -84,7 +78,6 @@ import { zones_opportunistic_encryption as zones_opportunistic_encryption$, zones_origin_error_page_pass_thru as zones_origin_error_page_pass_thru$, zones_polish as zones_polish$, - zones_priority as zones_priority$, zones_resolve_override as zones_resolve_override$, zones_respect_strong_etag as zones_respect_strong_etag$, zones_response_buffering as zones_response_buffering$, @@ -92,7 +85,6 @@ import { zones_security_level as zones_security_level$, zones_sort_query_string_for_cache as zones_sort_query_string_for_cache$, zones_ssl as zones_ssl$, - zones_status as zones_status$, zones_string_constraint as zones_string_constraint$, zones_target as zones_target$, zones_targets as zones_targets$, @@ -108,7 +100,7 @@ export const tools: readonly Tool[] = [ { name: "pageRules_create", title: "Create a Page Rule", - description: "Creates a new Page Rule.", + description: "Creates a new Page Rule.\n\nPOST /zones/{zone_id}/pagerules", inputSchema: { type: "object", properties: { @@ -116,17 +108,21 @@ export const tools: readonly Tool[] = [ "properties": { "actions": { "$ref": "#/$defs/zones_actions", - "description": "The set of actions to perform if the targets of this rule match the\nrequest. Actions can redirect to another URL or override settings, but\nnot both.\n" + "description": "The set of actions to perform if the targets of this rule match the\nrequest. Actions can redirect to another URL or override settings, but\nnot both." }, "priority": { - "$ref": "#/$defs/zones_priority", "default": 1, - "description": "The priority of the rule, used to define which Page Rule is processed\nover another. A higher number indicates a higher priority. For example,\nif you have a catch-all Page Rule (rule A: `/images/*`) but want a more\nspecific Page Rule to take precedence (rule B: `/images/special/*`),\nspecify a higher priority for rule B so it overrides rule A.\n" + "description": "The priority of the rule, used to define which Page Rule is processed\nover another. A higher number indicates a higher priority. For example,\nif you have a catch-all Page Rule (rule A: `/images/*`) but want a more\nspecific Page Rule to take precedence (rule B: `/images/special/*`),\nspecify a higher priority for rule B so it overrides rule A.", + "type": "integer" }, "status": { - "$ref": "#/$defs/zones_status", "default": "disabled", - "description": "The status of the Page Rule." + "description": "The status of the Page Rule.", + "enum": [ + "active", + "disabled" + ], + "type": "string" }, "targets": { "$ref": "#/$defs/zones_targets", @@ -140,10 +136,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -156,6 +153,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "zones_actions": zones_actions$, "zones_always_use_https": zones_always_use_https$, @@ -178,13 +176,11 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control$, "zones_forwarding_url": zones_forwarding_url$, "zones_host_header_override": zones_host_header_override$, - "zones_identifier-2": zones_identifier$$2$, "zones_ip_geolocation": zones_ip_geolocation$, "zones_mirage": zones_mirage$, "zones_opportunistic_encryption": zones_opportunistic_encryption$, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru$, "zones_polish": zones_polish$, - "zones_priority": zones_priority$, "zones_resolve_override": zones_resolve_override$, "zones_respect_strong_etag": zones_respect_strong_etag$, "zones_response_buffering": zones_response_buffering$, @@ -192,7 +188,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level$, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache$, "zones_ssl": zones_ssl$, - "zones_status": zones_status$, "zones_string_constraint": zones_string_constraint$, "zones_target": zones_target$, "zones_targets": zones_targets$, @@ -229,7 +224,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -239,16 +233,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -256,7 +247,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, @@ -316,7 +306,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -326,16 +315,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -343,7 +329,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, @@ -360,19 +345,20 @@ export const tools: readonly Tool[] = [ { name: "pageRules_delete", title: "Delete a Page Rule", - description: "Deletes an existing Page Rule.", + description: "Deletes an existing Page Rule.\n\nDELETE /zones/{zone_id}/pagerules/{pagerule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "pagerule_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -385,16 +371,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zones_identifier-2": zones_identifier$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zones_api-response-single-id-2", $defs: { "zones_api-response-common-2": zones_api$$response$$common$$2, "zones_api-response-single-id-2": zones_api$$response$$single$$id$$2, - "zones_identifier-2": zones_identifier$$2, "zones_messages-2": zones_messages$$2, }, }, @@ -426,7 +409,6 @@ export const tools: readonly Tool[] = [ "zones_api-response-common-2": zones_api$$response$$common$$2, "zones_api-response-common-failure-2": zones_api$$response$$common$$failure$$2, "zones_api-response-single-id-2": zones_api$$response$$single$$id$$2, - "zones_identifier-2": zones_identifier$$2, "zones_messages-2": zones_messages$$2, }, }, @@ -437,7 +419,7 @@ export const tools: readonly Tool[] = [ { name: "pageRules_edit", title: "Edit a Page Rule", - description: "Updates one or more fields of an existing Page Rule.", + description: "Updates one or more fields of an existing Page Rule.\n\nPATCH /zones/{zone_id}/pagerules/{pagerule_id}", inputSchema: { type: "object", properties: { @@ -445,17 +427,21 @@ export const tools: readonly Tool[] = [ "properties": { "actions": { "$ref": "#/$defs/zones_actions", - "description": "The set of actions to perform if the targets of this rule match the\nrequest. Actions can redirect to another URL or override settings, but\nnot both.\n" + "description": "The set of actions to perform if the targets of this rule match the\nrequest. Actions can redirect to another URL or override settings, but\nnot both." }, "priority": { - "$ref": "#/$defs/zones_priority", "default": 1, - "description": "The priority of the rule, used to define which Page Rule is processed\nover another. A higher number indicates a higher priority. For example,\nif you have a catch-all Page Rule (rule A: `/images/*`) but want a more\nspecific Page Rule to take precedence (rule B: `/images/special/*`),\nspecify a higher priority for rule B so it overrides rule A.\n" + "description": "The priority of the rule, used to define which Page Rule is processed\nover another. A higher number indicates a higher priority. For example,\nif you have a catch-all Page Rule (rule A: `/images/*`) but want a more\nspecific Page Rule to take precedence (rule B: `/images/special/*`),\nspecify a higher priority for rule B so it overrides rule A.", + "type": "integer" }, "status": { - "$ref": "#/$defs/zones_status", "default": "disabled", - "description": "The status of the Page Rule." + "description": "The status of the Page Rule.", + "enum": [ + "active", + "disabled" + ], + "type": "string" }, "targets": { "$ref": "#/$defs/zones_targets", @@ -465,14 +451,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "pagerule_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -486,6 +473,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "zones_actions": zones_actions$, "zones_always_use_https": zones_always_use_https$, @@ -508,13 +496,11 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control$, "zones_forwarding_url": zones_forwarding_url$, "zones_host_header_override": zones_host_header_override$, - "zones_identifier-2": zones_identifier$$2$, "zones_ip_geolocation": zones_ip_geolocation$, "zones_mirage": zones_mirage$, "zones_opportunistic_encryption": zones_opportunistic_encryption$, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru$, "zones_polish": zones_polish$, - "zones_priority": zones_priority$, "zones_resolve_override": zones_resolve_override$, "zones_respect_strong_etag": zones_respect_strong_etag$, "zones_response_buffering": zones_response_buffering$, @@ -522,7 +508,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level$, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache$, "zones_ssl": zones_ssl$, - "zones_status": zones_status$, "zones_string_constraint": zones_string_constraint$, "zones_target": zones_target$, "zones_targets": zones_targets$, @@ -559,7 +544,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -569,16 +553,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -586,7 +567,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, @@ -646,7 +626,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -656,16 +635,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -673,7 +649,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, @@ -690,19 +665,20 @@ export const tools: readonly Tool[] = [ { name: "pageRules_get", title: "Get a Page Rule", - description: "Fetches the details of a Page Rule.", + description: "Fetches the details of a Page Rule.\n\nGET /zones/{zone_id}/pagerules/{pagerule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "pagerule_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -715,9 +691,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zones_identifier-2": zones_identifier$$2$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -747,7 +721,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -757,16 +730,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -774,7 +744,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, @@ -871,7 +840,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -881,16 +849,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -898,7 +863,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, @@ -914,15 +878,16 @@ export const tools: readonly Tool[] = [ { name: "pageRules_list", title: "List Page Rules", - description: "Fetches Page Rules in a zone.", + description: "Fetches Page Rules in a zone.\n\nGET /zones/{zone_id}/pagerules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -931,6 +896,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "desc", @@ -975,9 +941,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zones_identifier-2": zones_identifier$$2$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -1010,7 +974,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -1020,16 +983,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -1037,7 +997,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, @@ -1102,7 +1061,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -1112,16 +1070,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -1129,7 +1084,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, @@ -1151,7 +1105,7 @@ export const tools: readonly Tool[] = [ { name: "pageRules_update", title: "Update a Page Rule", - description: "Replaces the configuration of an existing Page Rule. The configuration of the updated Page Rule will exactly match the data passed in the API request.", + description: "Replaces the configuration of an existing Page Rule. The configuration of the updated Page Rule will exactly match the data passed in the API request.\n\nPUT /zones/{zone_id}/pagerules/{pagerule_id}", inputSchema: { type: "object", properties: { @@ -1159,17 +1113,21 @@ export const tools: readonly Tool[] = [ "properties": { "actions": { "$ref": "#/$defs/zones_actions", - "description": "The set of actions to perform if the targets of this rule match the\nrequest. Actions can redirect to another URL or override settings, but\nnot both.\n" + "description": "The set of actions to perform if the targets of this rule match the\nrequest. Actions can redirect to another URL or override settings, but\nnot both." }, "priority": { - "$ref": "#/$defs/zones_priority", "default": 1, - "description": "The priority of the rule, used to define which Page Rule is processed\nover another. A higher number indicates a higher priority. For example,\nif you have a catch-all Page Rule (rule A: `/images/*`) but want a more\nspecific Page Rule to take precedence (rule B: `/images/special/*`),\nspecify a higher priority for rule B so it overrides rule A.\n" + "description": "The priority of the rule, used to define which Page Rule is processed\nover another. A higher number indicates a higher priority. For example,\nif you have a catch-all Page Rule (rule A: `/images/*`) but want a more\nspecific Page Rule to take precedence (rule B: `/images/special/*`),\nspecify a higher priority for rule B so it overrides rule A.", + "type": "integer" }, "status": { - "$ref": "#/$defs/zones_status", "default": "disabled", - "description": "The status of the Page Rule." + "description": "The status of the Page Rule.", + "enum": [ + "active", + "disabled" + ], + "type": "string" }, "targets": { "$ref": "#/$defs/zones_targets", @@ -1183,14 +1141,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "pagerule_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -1204,6 +1163,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "zones_actions": zones_actions$, "zones_always_use_https": zones_always_use_https$, @@ -1226,13 +1186,11 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control$, "zones_forwarding_url": zones_forwarding_url$, "zones_host_header_override": zones_host_header_override$, - "zones_identifier-2": zones_identifier$$2$, "zones_ip_geolocation": zones_ip_geolocation$, "zones_mirage": zones_mirage$, "zones_opportunistic_encryption": zones_opportunistic_encryption$, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru$, "zones_polish": zones_polish$, - "zones_priority": zones_priority$, "zones_resolve_override": zones_resolve_override$, "zones_respect_strong_etag": zones_respect_strong_etag$, "zones_response_buffering": zones_response_buffering$, @@ -1240,7 +1198,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level$, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache$, "zones_ssl": zones_ssl$, - "zones_status": zones_status$, "zones_string_constraint": zones_string_constraint$, "zones_target": zones_target$, "zones_targets": zones_targets$, @@ -1277,7 +1234,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -1287,16 +1243,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -1304,7 +1257,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, @@ -1364,7 +1316,6 @@ export const tools: readonly Tool[] = [ "zones_cache_level": zones_cache_level, "zones_cache_on_cookie": zones_cache_on_cookie, "zones_cache_ttl_by_status": zones_cache_ttl_by_status, - "zones_created_on": zones_created_on, "zones_disable_apps": zones_disable_apps, "zones_disable_performance": zones_disable_performance, "zones_disable_security": zones_disable_security, @@ -1374,16 +1325,13 @@ export const tools: readonly Tool[] = [ "zones_explicit_cache_control": zones_explicit_cache_control, "zones_forwarding_url": zones_forwarding_url, "zones_host_header_override": zones_host_header_override, - "zones_identifier-2": zones_identifier$$2, "zones_ip_geolocation": zones_ip_geolocation, "zones_messages-2": zones_messages$$2, "zones_mirage": zones_mirage, - "zones_modified_on": zones_modified_on, "zones_opportunistic_encryption": zones_opportunistic_encryption, "zones_origin_error_page_pass_thru": zones_origin_error_page_pass_thru, "zones_page_rule": zones_page_rule, "zones_polish": zones_polish, - "zones_priority": zones_priority, "zones_resolve_override": zones_resolve_override, "zones_respect_strong_etag": zones_respect_strong_etag, "zones_response_buffering": zones_response_buffering, @@ -1391,7 +1339,6 @@ export const tools: readonly Tool[] = [ "zones_security_level": zones_security_level, "zones_sort_query_string_for_cache": zones_sort_query_string_for_cache, "zones_ssl": zones_ssl, - "zones_status": zones_status, "zones_string_constraint": zones_string_constraint, "zones_target": zones_target, "zones_targets": zones_targets, diff --git a/src/generated/forge-mcp/pages/buildCache/tools.ts b/src/generated/forge-mcp/pages/buildCache/tools.ts index b917d5c95..22cd9644d 100644 --- a/src/generated/forge-mcp/pages/buildCache/tools.ts +++ b/src/generated/forge-mcp/pages/buildCache/tools.ts @@ -7,7 +7,6 @@ import { pages_api$$response$$common$$failure, pages_messages, } from "../outputs.js"; -import { pages_identifier, pages_project_name } from "../schemas.js"; /** * The tools of `pages.buildCache`. @@ -16,19 +15,20 @@ export const tools: readonly Tool[] = [ { name: "pages_buildCache_purge", title: "Purge the Pages build cache", - description: "Remove cached build artifacts so subsequent builds run without the project's existing build cache.\n\nConfirm with the user before calling this tool. This operation purges the build cache for a Pages project.", + description: "Remove cached build artifacts so subsequent builds run without the project's existing build cache.\n\nConfirm with the user before calling this tool. This operation purges the build cache for a Pages project.\n\nPOST /accounts/{account_id}/pages/projects/{project_name}/purge_build_cache", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -41,10 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts b/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts index ee23648aa..b268d2cd7 100644 --- a/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts +++ b/src/generated/forge-mcp/pages/deployments/history/logs/tools.ts @@ -7,8 +7,6 @@ import { pages_api$$response$$common$$failure, pages_messages, } from "../../../outputs.js"; -import { pages_identifier, pages_project_name } from "../../../schemas.js"; -import { pages_deployment_id } from "../../schemas.js"; import { pages_deployment_log } from "./outputs.js"; /** @@ -18,23 +16,25 @@ export const tools: readonly Tool[] = [ { name: "pages_deployments_history_logs_get", title: "Get Pages deployment logs", - description: "Retrieve the build logs for a Cloudflare Pages deployment.", + description: "Retrieve the build logs for a Cloudflare Pages deployment.\n\nGET /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}/history/logs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + "description": "UUID of the Pages deployment, as returned by deployment list or create operations.", + "format": "uuid", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -48,11 +48,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_deployment_id": pages_deployment_id, - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/pages/deployments/schemas.ts b/src/generated/forge-mcp/pages/deployments/schemas.ts deleted file mode 100644 index a58a5cb58..000000000 --- a/src/generated/forge-mcp/pages/deployments/schemas.ts +++ /dev/null @@ -1,13 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `pages_deployment_id`. - */ -export const pages_deployment_id: JsonSchema = { - "description": "UUID of the Pages deployment, as returned by deployment list or create operations.", - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/pages/deployments/tools.ts b/src/generated/forge-mcp/pages/deployments/tools.ts index dd5225a17..1651b6c1b 100644 --- a/src/generated/forge-mcp/pages/deployments/tools.ts +++ b/src/generated/forge-mcp/pages/deployments/tools.ts @@ -11,18 +11,11 @@ import { pages_env_vars, pages_messages, pages_plain_text_env_var, - pages_project_name, pages_secret_text_env_var, pages_source, pages_source_config, - pages_source_type, pages_stage, } from "../outputs.js"; -import { - pages_identifier, - pages_project_name as pages_project_name$, -} from "../schemas.js"; -import { pages_deployment_id } from "./schemas.js"; /** * The tools of `pages.deployments`. @@ -31,23 +24,25 @@ export const tools: readonly Tool[] = [ { name: "pages_deployments_delete", title: "Delete a Pages deployment", - description: "Remove a deployment from a Cloudflare Pages project.", + description: "Remove a deployment from a Cloudflare Pages project.\n\nDELETE /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + "description": "UUID of the Pages deployment, as returned by deployment list or create operations.", + "format": "uuid", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -58,6 +53,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "force": { "description": "Allow deletion when a non-production deployment has an active alias.", @@ -70,11 +66,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_deployment_id": pages_deployment_id, - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -166,23 +158,25 @@ export const tools: readonly Tool[] = [ { name: "pages_deployments_get", title: "Get a Pages deployment", - description: "Retrieve the status and details of a Cloudflare Pages deployment.", + description: "Retrieve the status and details of a Cloudflare Pages deployment.\n\nGET /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + "description": "UUID of the Pages deployment, as returned by deployment list or create operations.", + "format": "uuid", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -196,11 +190,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_deployment_id": pages_deployment_id, - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -226,11 +216,9 @@ export const tools: readonly Tool[] = [ "pages_env_vars": pages_env_vars, "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -281,11 +269,9 @@ export const tools: readonly Tool[] = [ "pages_env_vars": pages_env_vars, "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -296,19 +282,20 @@ export const tools: readonly Tool[] = [ { name: "pages_deployments_list", title: "List Pages deployments", - description: "List the production or preview deployments for a Cloudflare Pages project.", + description: "List the production or preview deployments for a Cloudflare Pages project.\n\nGET /accounts/{account_id}/pages/projects/{project_name}/deployments", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -318,6 +305,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "env": { "description": "Deployment environment to return. Valid values are `production` and `preview`.", @@ -342,10 +330,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -375,11 +360,9 @@ export const tools: readonly Tool[] = [ "pages_env_vars": pages_env_vars, "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -434,11 +417,9 @@ export const tools: readonly Tool[] = [ "pages_env_vars": pages_env_vars, "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -454,23 +435,25 @@ export const tools: readonly Tool[] = [ { name: "pages_deployments_retry", title: "Retry a Pages deployment", - description: "Retry a previous Cloudflare Pages deployment.", + description: "Retry a previous Cloudflare Pages deployment.\n\nPOST /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}/retry", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + "description": "UUID of the Pages deployment, as returned by deployment list or create operations.", + "format": "uuid", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -484,11 +467,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_deployment_id": pages_deployment_id, - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -514,11 +493,9 @@ export const tools: readonly Tool[] = [ "pages_env_vars": pages_env_vars, "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -568,11 +545,9 @@ export const tools: readonly Tool[] = [ "pages_env_vars": pages_env_vars, "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -583,23 +558,25 @@ export const tools: readonly Tool[] = [ { name: "pages_deployments_rollback", title: "Roll back a Pages deployment", - description: "Roll back production to a previous successful Cloudflare Pages deployment.\n\nConfirm with the user before calling this tool. This operation rolls back the production deployment to an earlier deployment.", + description: "Roll back production to a previous successful Cloudflare Pages deployment.\n\nConfirm with the user before calling this tool. This operation rolls back the production deployment to an earlier deployment.\n\nPOST /accounts/{account_id}/pages/projects/{project_name}/deployments/{deployment_id}/rollback", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "deployment_id": { - "$ref": "#/$defs/pages_deployment_id", - "description": "UUID of the Pages deployment, as returned by deployment list or create operations." + "description": "UUID of the Pages deployment, as returned by deployment list or create operations.", + "format": "uuid", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -613,11 +590,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_deployment_id": pages_deployment_id, - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -643,11 +616,9 @@ export const tools: readonly Tool[] = [ "pages_env_vars": pages_env_vars, "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -697,11 +668,9 @@ export const tools: readonly Tool[] = [ "pages_env_vars": pages_env_vars, "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, diff --git a/src/generated/forge-mcp/pages/domains/outputs.ts b/src/generated/forge-mcp/pages/domains/outputs.ts index 674cb8061..f38e81a27 100644 --- a/src/generated/forge-mcp/pages/domains/outputs.ts +++ b/src/generated/forge-mcp/pages/domains/outputs.ts @@ -25,7 +25,7 @@ export const pages_domain: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/pages_domain_name" + "type": "string" }, "status": { "enum": [ @@ -111,10 +111,3 @@ export const pages_domain: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `pages_domain_name` in responses. - */ -export const pages_domain_name: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/pages/domains/schemas.ts b/src/generated/forge-mcp/pages/domains/schemas.ts deleted file mode 100644 index d8e8c1161..000000000 --- a/src/generated/forge-mcp/pages/domains/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `pages_domain_name`. - */ -export const pages_domain_name: JsonSchema = { - "description": "Fully qualified domain name for the Pages project, such as `example.com`.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/pages/domains/tools.ts b/src/generated/forge-mcp/pages/domains/tools.ts index 152d072fb..e9fb6d07b 100644 --- a/src/generated/forge-mcp/pages/domains/tools.ts +++ b/src/generated/forge-mcp/pages/domains/tools.ts @@ -8,9 +8,7 @@ import { pages_api$$response$$common$$failure, pages_messages, } from "../outputs.js"; -import { pages_identifier, pages_project_name } from "../schemas.js"; -import { pages_domain, pages_domain_name } from "./outputs.js"; -import { pages_domain_name as pages_domain_name$ } from "./schemas.js"; +import { pages_domain } from "./outputs.js"; /** * The tools of `pages.domains`. @@ -19,15 +17,15 @@ export const tools: readonly Tool[] = [ { name: "pages_domains_create", title: "Add a Pages custom domain", - description: "Attach a custom domain to a Cloudflare Pages project.", + description: "Attach a custom domain to a Cloudflare Pages project.\n\nPOST /accounts/{account_id}/pages/projects/{project_name}/domains", inputSchema: { type: "object", properties: { "body": { "properties": { "name": { - "$ref": "#/$defs/pages_domain_name", - "description": "Fully qualified domain name for the Pages project, such as `example.com`." + "description": "Fully qualified domain name for the Pages project, such as `example.com`.", + "type": "string" } }, "required": [ @@ -36,14 +34,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -57,11 +56,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "pages_domain_name": pages_domain_name$, - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -83,7 +78,6 @@ export const tools: readonly Tool[] = [ $defs: { "pages_api-response-common": pages_api$$response$$common, "pages_domain": pages_domain, - "pages_domain_name": pages_domain_name, "pages_messages": pages_messages, }, }, @@ -129,7 +123,6 @@ export const tools: readonly Tool[] = [ "pages_api-response-common": pages_api$$response$$common, "pages_api-response-common-failure": pages_api$$response$$common$$failure, "pages_domain": pages_domain, - "pages_domain_name": pages_domain_name, "pages_messages": pages_messages, }, }, @@ -141,23 +134,24 @@ export const tools: readonly Tool[] = [ { name: "pages_domains_delete", title: "Delete a Pages custom domain", - description: "Remove a custom domain from a Cloudflare Pages project.", + description: "Remove a custom domain from a Cloudflare Pages project.\n\nDELETE /accounts/{account_id}/pages/projects/{project_name}/domains/{domain_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/pages_domain_name", - "description": "Fully qualified domain name for the Pages project, such as `example.com`." + "description": "Fully qualified domain name for the Pages project, such as `example.com`.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -171,11 +165,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_domain_name": pages_domain_name$, - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -264,23 +254,24 @@ export const tools: readonly Tool[] = [ { name: "pages_domains_get", title: "Get a Pages custom domain", - description: "Retrieve the configuration and validation status of a custom domain attached to a Cloudflare Pages project.", + description: "Retrieve the configuration and validation status of a custom domain attached to a Cloudflare Pages project.\n\nGET /accounts/{account_id}/pages/projects/{project_name}/domains/{domain_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/pages_domain_name", - "description": "Fully qualified domain name for the Pages project, such as `example.com`." + "description": "Fully qualified domain name for the Pages project, such as `example.com`.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -294,11 +285,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_domain_name": pages_domain_name$, - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -320,7 +307,6 @@ export const tools: readonly Tool[] = [ $defs: { "pages_api-response-common": pages_api$$response$$common, "pages_domain": pages_domain, - "pages_domain_name": pages_domain_name, "pages_messages": pages_messages, }, }, @@ -367,7 +353,6 @@ export const tools: readonly Tool[] = [ "pages_api-response-common": pages_api$$response$$common, "pages_api-response-common-failure": pages_api$$response$$common$$failure, "pages_domain": pages_domain, - "pages_domain_name": pages_domain_name, "pages_messages": pages_messages, }, }, @@ -378,19 +363,20 @@ export const tools: readonly Tool[] = [ { name: "pages_domains_list", title: "List Pages custom domains", - description: "List the custom domains associated with a Cloudflare Pages project.", + description: "List the custom domains associated with a Cloudflare Pages project.\n\nGET /accounts/{account_id}/pages/projects/{project_name}/domains", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -403,10 +389,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -432,7 +415,6 @@ export const tools: readonly Tool[] = [ "pages_api-response-collection": pages_api$$response$$collection, "pages_api-response-common": pages_api$$response$$common, "pages_domain": pages_domain, - "pages_domain_name": pages_domain_name, "pages_messages": pages_messages, }, }, @@ -483,7 +465,6 @@ export const tools: readonly Tool[] = [ "pages_api-response-common": pages_api$$response$$common, "pages_api-response-common-failure": pages_api$$response$$common$$failure, "pages_domain": pages_domain, - "pages_domain_name": pages_domain_name, "pages_messages": pages_messages, }, }, diff --git a/src/generated/forge-mcp/pages/domains/validation/tools.ts b/src/generated/forge-mcp/pages/domains/validation/tools.ts index a9a435848..375755568 100644 --- a/src/generated/forge-mcp/pages/domains/validation/tools.ts +++ b/src/generated/forge-mcp/pages/domains/validation/tools.ts @@ -7,9 +7,7 @@ import { pages_api$$response$$common$$failure, pages_messages, } from "../../outputs.js"; -import { pages_identifier, pages_project_name } from "../../schemas.js"; -import { pages_domain, pages_domain_name } from "../outputs.js"; -import { pages_domain_name as pages_domain_name$ } from "../schemas.js"; +import { pages_domain } from "../outputs.js"; /** * The tools of `pages.domains.validation`. @@ -18,23 +16,24 @@ export const tools: readonly Tool[] = [ { name: "pages_domains_validation_retry", title: "Retry custom domain validation", - description: "Retry validation for a custom domain attached to a Cloudflare Pages project.", + description: "Retry validation for a custom domain attached to a Cloudflare Pages project.\n\nPATCH /accounts/{account_id}/pages/projects/{project_name}/domains/{domain_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/pages_domain_name", - "description": "Fully qualified domain name for the Pages project, such as `example.com`." + "description": "Fully qualified domain name for the Pages project, such as `example.com`.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -48,11 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_domain_name": pages_domain_name$, - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -74,7 +69,6 @@ export const tools: readonly Tool[] = [ $defs: { "pages_api-response-common": pages_api$$response$$common, "pages_domain": pages_domain, - "pages_domain_name": pages_domain_name, "pages_messages": pages_messages, }, }, @@ -120,7 +114,6 @@ export const tools: readonly Tool[] = [ "pages_api-response-common": pages_api$$response$$common, "pages_api-response-common-failure": pages_api$$response$$common$$failure, "pages_domain": pages_domain, - "pages_domain_name": pages_domain_name, "pages_messages": pages_messages, }, }, diff --git a/src/generated/forge-mcp/pages/outputs.ts b/src/generated/forge-mcp/pages/outputs.ts index 5a4245f40..22892d40d 100644 --- a/src/generated/forge-mcp/pages/outputs.ts +++ b/src/generated/forge-mcp/pages/outputs.ts @@ -260,7 +260,7 @@ export const pages_deployment: JsonSchema = { "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name" + "type": "string" }, "short_id": { "type": "string" @@ -748,7 +748,7 @@ export const pages_project: JsonSchema = { "$ref": "#/$defs/pages_deployment" }, "name": { - "$ref": "#/$defs/pages_project_name" + "type": "string" }, "preview_script_name": { "type": "string" @@ -793,13 +793,6 @@ export const pages_project: JsonSchema = { "type": "object" }; -/** - * The schema of `pages_project_name` in responses. - */ -export const pages_project_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `pages_secret_text_env_var` in responses. */ @@ -838,7 +831,11 @@ export const pages_source: JsonSchema = { "$ref": "#/$defs/pages_source_config" }, "type": { - "$ref": "#/$defs/pages_source_type" + "enum": [ + "github", + "gitlab" + ], + "type": "string" } }, "required": [ @@ -928,17 +925,6 @@ export const pages_source_config: JsonSchema = { "type": "object" }; -/** - * The schema of `pages_source_type` in responses. - */ -export const pages_source_type: JsonSchema = { - "enum": [ - "github", - "gitlab" - ], - "type": "string" -}; - /** * The schema of `pages_stage` in responses. */ diff --git a/src/generated/forge-mcp/pages/schemas.ts b/src/generated/forge-mcp/pages/schemas.ts index 7778a69d5..b9abd5ede 100644 --- a/src/generated/forge-mcp/pages/schemas.ts +++ b/src/generated/forge-mcp/pages/schemas.ts @@ -389,14 +389,6 @@ export const pages_deployment_config_values_request: JsonSchema = { "type": "object" }; -/** - * The schema of `pages_identifier`. - */ -export const pages_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - /** * The schema of `pages_plain_text_env_var`. */ @@ -428,14 +420,6 @@ export const pages_plain_text_env_var: JsonSchema = { ] }; -/** - * The schema of `pages_project_name`. - */ -export const pages_project_name: JsonSchema = { - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", - "type": "string" -}; - /** * The schema of `pages_secret_text_env_var`. */ @@ -474,7 +458,7 @@ export const pages_source_config: JsonSchema = { "properties": { "deployments_enabled": { "deprecated": true, - "description": "Whether to enable automatic deployments when pushing to the source repository.\nWhen disabled, no deployments (production or preview) will be triggered automatically.\n", + "description": "Whether to enable automatic deployments when pushing to the source repository.\nWhen disabled, no deployments (production or preview) will be triggered automatically.", "type": "boolean" }, "owner": { @@ -560,15 +544,3 @@ export const pages_source_config: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `pages_source_type`. - */ -export const pages_source_type: JsonSchema = { - "description": "The source control management provider.", - "enum": [ - "github", - "gitlab" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/pages/source/schemas.ts b/src/generated/forge-mcp/pages/source/schemas.ts index eaefeae35..86fa88bc9 100644 --- a/src/generated/forge-mcp/pages/source/schemas.ts +++ b/src/generated/forge-mcp/pages/source/schemas.ts @@ -13,8 +13,12 @@ export const pages_source_connect_request: JsonSchema = { "$ref": "#/$defs/pages_source_config" }, "type": { - "$ref": "#/$defs/pages_source_type", - "description": "The source control management provider." + "description": "The source control management provider.", + "enum": [ + "github", + "gitlab" + ], + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/pages/source/tools.ts b/src/generated/forge-mcp/pages/source/tools.ts index 0afe70b3f..19f967307 100644 --- a/src/generated/forge-mcp/pages/source/tools.ts +++ b/src/generated/forge-mcp/pages/source/tools.ts @@ -12,19 +12,12 @@ import { pages_messages, pages_plain_text_env_var, pages_project, - pages_project_name, pages_secret_text_env_var, pages_source, pages_source_config, - pages_source_type, pages_stage, } from "../outputs.js"; -import { - pages_identifier, - pages_project_name as pages_project_name$, - pages_source_config as pages_source_config$, - pages_source_type as pages_source_type$, -} from "../schemas.js"; +import { pages_source_config as pages_source_config$ } from "../schemas.js"; import { pages_source_connect_request } from "./schemas.js"; /** @@ -34,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "pages_source_connect", title: "Connect a Git repository", - description: "Connect a GitHub or GitLab repository to a Cloudflare Pages project to enable Git-based deployments.", + description: "Connect a GitHub or GitLab repository to a Cloudflare Pages project to enable Git-based deployments.\n\nPOST /accounts/{account_id}/pages/projects/{project_name}/source", inputSchema: { type: "object", properties: { @@ -42,14 +35,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/pages_source_connect_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -63,12 +57,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name$, "pages_source_config": pages_source_config$, "pages_source_connect_request": pages_source_connect_request, - "pages_source_type": pages_source_type$, }, }, outputSchema: { @@ -97,11 +89,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -153,11 +143,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -169,19 +157,20 @@ export const tools: readonly Tool[] = [ { name: "pages_source_disconnect", title: "Disconnect a Git repository", - description: "Disconnect the Git repository from a Cloudflare Pages project to stop Git-based deployments.", + description: "Disconnect the Git repository from a Cloudflare Pages project to stop Git-based deployments.\n\nDELETE /accounts/{account_id}/pages/projects/{project_name}/source", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -194,10 +183,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -225,11 +211,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -281,11 +265,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, diff --git a/src/generated/forge-mcp/pages/tools.ts b/src/generated/forge-mcp/pages/tools.ts index 9749be6a3..563c1f36e 100644 --- a/src/generated/forge-mcp/pages/tools.ts +++ b/src/generated/forge-mcp/pages/tools.ts @@ -13,18 +13,14 @@ import { pages_messages, pages_plain_text_env_var, pages_project, - pages_project_name, pages_secret_text_env_var, pages_source, pages_source_config, - pages_source_type, pages_stage, } from "./outputs.js"; import { pages_deployment_config_values_request, - pages_identifier, pages_plain_text_env_var as pages_plain_text_env_var$, - pages_project_name as pages_project_name$, pages_secret_text_env_var as pages_secret_text_env_var$, } from "./schemas.js"; @@ -35,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "pages_create", title: "Create a Cloudflare Pages project", - description: "Create a Cloudflare Pages project for configuring and deploying a site or application.", + description: "Create a Cloudflare Pages project for configuring and deploying a site or application.\n\nPOST /accounts/{account_id}/pages/projects", inputSchema: { type: "object", properties: { @@ -114,7 +110,7 @@ export const tools: readonly Tool[] = [ "properties": { "deployments_enabled": { "deprecated": true, - "description": "Whether to enable automatic deployments when pushing to the source repository.\nWhen disabled, no deployments (production or preview) will be triggered automatically.\n", + "description": "Whether to enable automatic deployments when pushing to the source repository.\nWhen disabled, no deployments (production or preview) will be triggered automatically.", "type": "boolean" }, "owner": { @@ -208,10 +204,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -224,9 +221,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pages_deployment_config_values_request": pages_deployment_config_values_request, - "pages_identifier": pages_identifier, "pages_plain_text_env_var": pages_plain_text_env_var$, "pages_secret_text_env_var": pages_secret_text_env_var$, }, @@ -257,11 +254,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -313,11 +308,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -329,19 +322,20 @@ export const tools: readonly Tool[] = [ { name: "pages_delete", title: "Delete a Cloudflare Pages project", - description: "Permanently delete a Cloudflare Pages project and its deployments.", + description: "Permanently delete a Cloudflare Pages project and its deployments.\n\nDELETE /accounts/{account_id}/pages/projects/{project_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -354,10 +348,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -446,7 +437,7 @@ export const tools: readonly Tool[] = [ { name: "pages_edit", title: "Update a Cloudflare Pages project", - description: "Update the build, deployment, source, or environment settings for a Cloudflare Pages project. To delete an environment variable, set its key to `null`.", + description: "Update the build, deployment, source, or environment settings for a Cloudflare Pages project. To delete an environment variable, set its key to `null`.\n\nPATCH /accounts/{account_id}/pages/projects/{project_name}", inputSchema: { type: "object", properties: { @@ -525,7 +516,7 @@ export const tools: readonly Tool[] = [ "properties": { "deployments_enabled": { "deprecated": true, - "description": "Whether to enable automatic deployments when pushing to the source repository.\nWhen disabled, no deployments (production or preview) will be triggered automatically.\n", + "description": "Whether to enable automatic deployments when pushing to the source repository.\nWhen disabled, no deployments (production or preview) will be triggered automatically.", "type": "boolean" }, "owner": { @@ -615,14 +606,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -636,11 +628,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pages_deployment_config_values_request": pages_deployment_config_values_request, - "pages_identifier": pages_identifier, "pages_plain_text_env_var": pages_plain_text_env_var$, - "pages_project_name": pages_project_name$, "pages_secret_text_env_var": pages_secret_text_env_var$, }, }, @@ -670,11 +661,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -726,11 +715,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -742,19 +729,20 @@ export const tools: readonly Tool[] = [ { name: "pages_get", title: "Get a Cloudflare Pages project", - description: "Retrieve the configuration and deployment settings for a Cloudflare Pages project.", + description: "Retrieve the configuration and deployment settings for a Cloudflare Pages project.\n\nGET /accounts/{account_id}/pages/projects/{project_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "project_name": { - "$ref": "#/$defs/pages_project_name", - "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens." + "description": "Name of the Pages project. Must begin with a lowercase letter or digit and contain only lowercase letters, digits, and hyphens.", + "type": "string" } }, "required": [ @@ -767,10 +755,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_identifier": pages_identifier, - "pages_project_name": pages_project_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -798,11 +783,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -855,11 +838,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -870,15 +851,16 @@ export const tools: readonly Tool[] = [ { name: "pages_list", title: "List Cloudflare Pages projects", - description: "List the Cloudflare Pages projects in an account.", + description: "List the Cloudflare Pages projects in an account.\n\nGET /accounts/{account_id}/pages/projects", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/pages_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -887,6 +869,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "description": "Page number of results to return.", @@ -903,9 +886,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "pages_identifier": pages_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -937,11 +918,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, @@ -998,11 +977,9 @@ export const tools: readonly Tool[] = [ "pages_messages": pages_messages, "pages_plain_text_env_var": pages_plain_text_env_var, "pages_project": pages_project, - "pages_project_name": pages_project_name, "pages_secret_text_env_var": pages_secret_text_env_var, "pages_source": pages_source, "pages_source_config": pages_source_config, - "pages_source_type": pages_source_type, "pages_stage": pages_stage, }, }, diff --git a/src/generated/forge-mcp/payPerCrawl/config/outputs.ts b/src/generated/forge-mcp/payPerCrawl/config/outputs.ts index fe1069ebf..18f9899b2 100644 --- a/src/generated/forge-mcp/payPerCrawl/config/outputs.ts +++ b/src/generated/forge-mcp/payPerCrawl/config/outputs.ts @@ -3,17 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `pay-per-crawl_BotAccessMode` in responses. - */ -export const pay$$per$$crawl_BotAccessMode: JsonSchema = { - "enum": [ - "charge", - "bypass" - ], - "type": "string" -}; - /** * The schema of `pay-per-crawl_DaricConfig` in responses. */ @@ -21,7 +10,11 @@ export const pay$$per$$crawl_DaricConfig: JsonSchema = { "properties": { "bot_overrides": { "additionalProperties": { - "$ref": "#/$defs/pay-per-crawl_BotAccessMode" + "enum": [ + "charge", + "bypass" + ], + "type": "string" }, "type": "object" }, diff --git a/src/generated/forge-mcp/payPerCrawl/config/schemas.ts b/src/generated/forge-mcp/payPerCrawl/config/schemas.ts index 608e63086..e73ca7a17 100644 --- a/src/generated/forge-mcp/payPerCrawl/config/schemas.ts +++ b/src/generated/forge-mcp/payPerCrawl/config/schemas.ts @@ -3,17 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `pay-per-crawl_BotAccessMode`. - */ -export const pay$$per$$crawl_BotAccessMode: JsonSchema = { - "enum": [ - "charge", - "bypass" - ], - "type": "string" -}; - /** * The schema of `pay-per-crawl_DaricConfig`. */ @@ -21,7 +10,11 @@ export const pay$$per$$crawl_DaricConfig: JsonSchema = { "properties": { "bot_overrides": { "additionalProperties": { - "$ref": "#/$defs/pay-per-crawl_BotAccessMode" + "enum": [ + "charge", + "bypass" + ], + "type": "string" }, "type": "object" }, @@ -43,7 +36,11 @@ export const pay$$per$$crawl_DaricConfigCreate: JsonSchema = { "properties": { "bot_overrides": { "additionalProperties": { - "$ref": "#/$defs/pay-per-crawl_BotAccessMode" + "enum": [ + "charge", + "bypass" + ], + "type": "string" }, "type": "object" }, diff --git a/src/generated/forge-mcp/payPerCrawl/config/tools.ts b/src/generated/forge-mcp/payPerCrawl/config/tools.ts index 92e858cab..0cd9a5f46 100644 --- a/src/generated/forge-mcp/payPerCrawl/config/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/config/tools.ts @@ -11,12 +11,10 @@ import { pay$$per$$crawl_apiErrorResponse, } from "../../outputs.js"; import { - pay$$per$$crawl_BotAccessMode, pay$$per$$crawl_DaricConfig, pay$$per$$crawl_getConfigResponse, } from "./outputs.js"; import { - pay$$per$$crawl_BotAccessMode as pay$$per$$crawl_BotAccessMode$, pay$$per$$crawl_DaricConfig as pay$$per$$crawl_DaricConfig$, pay$$per$$crawl_DaricConfigCreate, } from "./schemas.js"; @@ -28,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_config_create", title: "Creates pay-per-crawl config for a zone", - description: "Creates the pay-per-crawl config for a zone.", + description: "Creates the pay-per-crawl config for a zone.\n\nPOST /zones/{zone_id}/pay-per-crawl/configuration", inputSchema: { type: "object", properties: { @@ -37,6 +35,7 @@ export const tools: readonly Tool[] = [ "description": "Data for fully replacing a pay-per-crawl zone configuration" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "zone id", @@ -53,15 +52,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode$, "pay-per-crawl_DaricConfigCreate": pay$$per$$crawl_DaricConfigCreate, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getConfigResponse", $defs: { - "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, "pay-per-crawl_Msg": pay$$per$$crawl_Msg, "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, @@ -93,7 +91,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, "pay-per-crawl_Msg": pay$$per$$crawl_Msg, @@ -112,7 +109,7 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_config_edit", title: "Changes pay-per-crawl config for a zone", - description: "Changes the pay-per-crawl config for a zone.", + description: "Changes the pay-per-crawl config for a zone.\n\nPATCH /zones/{zone_id}/pay-per-crawl/configuration", inputSchema: { type: "object", properties: { @@ -121,6 +118,7 @@ export const tools: readonly Tool[] = [ "description": "Data for setting flag on zones" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "zone id", @@ -137,15 +135,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode$, "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig$, }, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getConfigResponse", $defs: { - "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, "pay-per-crawl_Msg": pay$$per$$crawl_Msg, "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, @@ -177,7 +174,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, "pay-per-crawl_Msg": pay$$per$$crawl_Msg, @@ -196,11 +192,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_config_get", title: "Get the pay-per-crawl config", - description: "Gets the pay-per-crawl config for a zone including the bot configuration.", + description: "Gets the pay-per-crawl config for a zone including the bot configuration.\n\nGET /zones/{zone_id}/pay-per-crawl/configuration", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "zone id", @@ -216,11 +213,11 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getConfigResponse", $defs: { - "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, "pay-per-crawl_Msg": pay$$per$$crawl_Msg, "pay-per-crawl_ResultInfo": pay$$per$$crawl_ResultInfo, @@ -253,7 +250,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "pay-per-crawl_BotAccessMode": pay$$per$$crawl_BotAccessMode, "pay-per-crawl_DaricConfig": pay$$per$$crawl_DaricConfig, "pay-per-crawl_ErrorSource": pay$$per$$crawl_ErrorSource, "pay-per-crawl_Msg": pay$$per$$crawl_Msg, diff --git a/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts b/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts index 9f99d179b..fb71021b4 100644 --- a/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/crawler/stripe/tools.ts @@ -25,11 +25,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_crawler_stripe_create", title: "Creates the stripe config for a crawler", - description: "Creates the stripe config for a crawler.", + description: "Creates the stripe config for a crawler.\n\nPOST /accounts/{account_id}/pay-per-crawl/crawler/stripe", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -45,6 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_createStripeConfigResponse", @@ -97,11 +99,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_crawler_stripe_delete", title: "Deletes the stripe config for a crawler", - description: "Deletes the stripe config for a crawler.", + description: "Deletes the stripe config for a crawler.\n\nDELETE /accounts/{account_id}/pay-per-crawl/crawler/stripe", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -117,6 +120,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", @@ -167,11 +171,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_crawler_stripe_get", title: "Gets the stripe config for a crawler", - description: "Gets the stripe config for a crawler.", + description: "Gets the stripe config for a crawler.\n\nGET /accounts/{account_id}/pay-per-crawl/crawler/stripe", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -187,6 +192,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getStripeConfigResponse", diff --git a/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts b/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts index fd29db250..b937f0468 100644 --- a/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/crawlers/tools.ts @@ -22,11 +22,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_crawlers_list", title: "List pay-per-crawl crawlers", - description: "Lists the crawlers known to pay-per-crawl.", + description: "Lists the crawlers known to pay-per-crawl.\n\nGET /accounts/{account_id}/pay-per-crawl/crawlers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -42,6 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_listCrawlersResponse", diff --git a/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts b/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts index 4f5947d6a..1ffcf0403 100644 --- a/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/publisher/stripe/tools.ts @@ -25,11 +25,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_publisher_stripe_create", title: "Creates the stripe config for a publisher", - description: "Creates the stripe config for a publisher.", + description: "Creates the stripe config for a publisher.\n\nPOST /accounts/{account_id}/pay-per-crawl/publisher/stripe", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -45,6 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_createStripeConfigResponse", @@ -97,11 +99,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_publisher_stripe_delete", title: "Deletes the stripe config for a publisher", - description: "Deletes the stripe config for a publisher.", + description: "Deletes the stripe config for a publisher.\n\nDELETE /accounts/{account_id}/pay-per-crawl/publisher/stripe", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -117,6 +120,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", @@ -167,11 +171,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_publisher_stripe_get", title: "Gets the stripe config for a publisher", - description: "Gets the stripe config for a publisher.", + description: "Gets the stripe config for a publisher.\n\nGET /accounts/{account_id}/pay-per-crawl/publisher/stripe", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -187,6 +192,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getStripeConfigResponse", diff --git a/src/generated/forge-mcp/payPerCrawl/terms/tools.ts b/src/generated/forge-mcp/payPerCrawl/terms/tools.ts index 96218b256..8d38caf67 100644 --- a/src/generated/forge-mcp/payPerCrawl/terms/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/terms/tools.ts @@ -26,11 +26,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_terms_get", title: "Get pay-per-crawl terms", - description: "Gets the pay-per-crawl terms and conditions contract.", + description: "Gets the pay-per-crawl terms and conditions contract.\n\nGET /accounts/{account_id}/pay-per-crawl/terms", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -46,6 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getTermsResponse", @@ -126,11 +128,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_terms_getSignature", title: "Get pay-per-crawl terms signature status", - description: "Gets the account's pay-per-crawl terms signature status.", + description: "Gets the account's pay-per-crawl terms signature status.\n\nGET /accounts/{account_id}/pay-per-crawl/terms/signature", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -143,6 +146,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "remote": { "description": "Refresh the signature status from Ironclad.", @@ -155,6 +159,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getTermsSignatureResponse", @@ -236,11 +241,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_terms_getSignatureLink", title: "Get signed pay-per-crawl terms link", - description: "Gets a download link for the account's signed pay-per-crawl terms.", + description: "Gets a download link for the account's signed pay-per-crawl terms.\n\nGET /accounts/{account_id}/pay-per-crawl/signature_link", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -256,6 +262,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getTermsSignatureLinkResponse", @@ -336,11 +343,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_terms_sendSignatureEvent", title: "Record pay-per-crawl terms activity", - description: "Records that an account displayed or agreed to the pay-per-crawl terms.", + description: "Records that an account displayed or agreed to the pay-per-crawl terms.\n\nPOST /accounts/{account_id}/pay-per-crawl/terms/signature", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -353,6 +361,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "event_type": { "description": "The terms activity to record.", @@ -378,6 +387,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", diff --git a/src/generated/forge-mcp/payPerCrawl/zones/tools.ts b/src/generated/forge-mcp/payPerCrawl/zones/tools.ts index f11ea5256..1b9af09ae 100644 --- a/src/generated/forge-mcp/payPerCrawl/zones/tools.ts +++ b/src/generated/forge-mcp/payPerCrawl/zones/tools.ts @@ -30,11 +30,12 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_zones_getCanBeEnabled", title: "Get pay-per-crawl zone eligibility", - description: "Gets whether pay-per-crawl can be enabled for a zone.", + description: "Gets whether pay-per-crawl can be enabled for a zone.\n\nGET /zones/{zone_id}/pay-per-crawl/can_be_enabled", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "zone id", @@ -50,6 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_getZoneCanBeEnabledResponse", @@ -103,7 +105,7 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_zones_queryCanBeEnabled", title: "Gets the can_be_enabled zone setting", - description: "Provided a list of pay-per-crawl configured zones this method will return whether they can enable PPC or not.", + description: "Provided a list of pay-per-crawl configured zones this method will return whether they can enable PPC or not.\n\nPOST /accounts/{account_id}/pay-per-crawl/zones_can_be_enabled/query", inputSchema: { type: "object", properties: { @@ -112,6 +114,7 @@ export const tools: readonly Tool[] = [ "description": "Zone IDs to check for pay-per-crawl eligibility" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -128,6 +131,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pay-per-crawl_ZonesCanBeEnabledQueryPayload": pay$$per$$crawl_ZonesCanBeEnabledQueryPayload, }, @@ -214,7 +218,7 @@ export const tools: readonly Tool[] = [ { name: "payPerCrawl_zones_setCanBeEnabled", title: "Set can_be_enabled setting on zones", - description: "Allows an account admin to set the can_be_enabled setting on a list of zones. An omitted can_be_enabled value leaves that zone unchanged.", + description: "Allows an account admin to set the can_be_enabled setting on a list of zones. An omitted can_be_enabled value leaves that zone unchanged.\n\nPATCH /accounts/{account_id}/pay-per-crawl/zones_can_be_enabled", inputSchema: { type: "object", properties: { @@ -223,6 +227,7 @@ export const tools: readonly Tool[] = [ "description": "Data for setting flag on zones" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -239,6 +244,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pay-per-crawl_DaricZoneCanBeEnabledUpdate": pay$$per$$crawl_DaricZoneCanBeEnabledUpdate, "pay-per-crawl_ZonesCanBeEnabledUpdatePayload": pay$$per$$crawl_ZonesCanBeEnabledUpdatePayload, diff --git a/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts b/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts index 1833e54f1..fe617b18e 100644 --- a/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts +++ b/src/generated/forge-mcp/payPerUse/enabledDomains/tools.ts @@ -21,11 +21,12 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_enabledDomains_list", title: "List enabled Pay Per Use domains", - description: "Returns publisher domains associated with the requesting Pay Per Use operator through an accepted price agreement. License expiration is the earlier non-null boundary from the price agreement and publisher zone lifecycles. A future expiration remains active and is exposed to the operator. After expiration, the license remains listed as expired for one calendar month before it is omitted; an active agreement for the same domain takes precedence. The requesting account must be an active Pay Per Use operator.", + description: "Returns publisher domains associated with the requesting Pay Per Use operator through an accepted price agreement. License expiration is the earlier non-null boundary from the price agreement and publisher zone lifecycles. A future expiration remains active and is exposed to the operator. After expiration, the license remains listed as expired for one calendar month before it is omitted; an active agreement for the same domain takes precedence. The requesting account must be an active Pay Per Use operator.\n\nGET /accounts/{account_id}/pay-per-use/enabled-domains", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier for the participant", @@ -38,6 +39,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque, account-bound cursor returned by the previous page. Cursors expire after one hour; restart pagination without a cursor after receiving a 400 response for an expired cursor.", @@ -55,6 +57,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_EnabledDomainsResponse", diff --git a/src/generated/forge-mcp/payPerUse/operator/tools.ts b/src/generated/forge-mcp/payPerUse/operator/tools.ts index 06a78534c..f8f969736 100644 --- a/src/generated/forge-mcp/payPerUse/operator/tools.ts +++ b/src/generated/forge-mcp/payPerUse/operator/tools.ts @@ -28,11 +28,12 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_operator_getConfiguration", title: "Get pay-per-use operator configuration", - description: "Gets the pay-per-use operator configuration for an account, including its read-only non-billable classification timestamp.", + description: "Gets the pay-per-use operator configuration for an account, including its read-only non-billable classification timestamp.\n\nGET /accounts/{account_id}/pay-per-use/operator/configuration", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUOperatorConfigurationResultResponse", @@ -98,7 +100,7 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_operator_setConfiguration", title: "Set pay-per-use operator configuration", - description: "Creates or updates the pay-per-use operator configuration for an account. Creating an enabled configuration or re-enabling a disabled billable operator requires completed Stripe onboarding, while non-billable operators do not; an already-enabled operator is not affected by later Stripe status changes. A Cloudflare-verified operator's name and default price cannot be changed.", + description: "Creates or updates the pay-per-use operator configuration for an account. Creating an enabled configuration or re-enabling a disabled billable operator requires completed Stripe onboarding, while non-billable operators do not; an already-enabled operator is not affected by later Stripe status changes. A Cloudflare-verified operator's name and default price cannot be changed.\n\nPUT /accounts/{account_id}/pay-per-use/operator/configuration", inputSchema: { type: "object", properties: { @@ -107,6 +109,7 @@ export const tools: readonly Tool[] = [ "description": "Pay-per-use operator configuration" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -123,6 +126,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pay-per-crawl_PPUOperatorConfiguration": pay$$per$$crawl_PPUOperatorConfiguration$, }, @@ -180,7 +184,7 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_operator_updateConfiguration", title: "Update pay-per-use operator configuration", - description: "Updates one or more fields of an existing pay-per-use operator configuration. Re-enabling a disabled billable operator requires completed Stripe onboarding, while non-billable operators do not; an already-enabled operator is not affected by later Stripe status changes. A Cloudflare-verified operator's name and default price cannot be changed.", + description: "Updates one or more fields of an existing pay-per-use operator configuration. Re-enabling a disabled billable operator requires completed Stripe onboarding, while non-billable operators do not; an already-enabled operator is not affected by later Stripe status changes. A Cloudflare-verified operator's name and default price cannot be changed.\n\nPATCH /accounts/{account_id}/pay-per-use/operator/configuration", inputSchema: { type: "object", properties: { @@ -189,6 +193,7 @@ export const tools: readonly Tool[] = [ "description": "Pay-per-use operator configuration update" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -205,6 +210,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pay-per-crawl_PPUOperatorConfigurationUpdate": pay$$per$$crawl_PPUOperatorConfigurationUpdate, }, diff --git a/src/generated/forge-mcp/payPerUse/pricing/tools.ts b/src/generated/forge-mcp/payPerUse/pricing/tools.ts index ffaabfddd..901f2f256 100644 --- a/src/generated/forge-mcp/payPerUse/pricing/tools.ts +++ b/src/generated/forge-mcp/payPerUse/pricing/tools.ts @@ -35,11 +35,12 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_pricing_listOperators", title: "List pay-per-use operators", - description: "Lists a paginated set of enabled pay-per-use operators with verified names, matching billing classification, and their prices for a zone.", + description: "Lists a paginated set of enabled pay-per-use operators with verified names, matching billing classification, and their prices for a zone.\n\nGET /zones/{zone_id}/pay-per-use/operators", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "zone id", @@ -52,6 +53,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -70,6 +72,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUOperatorPricesResponse", @@ -131,11 +134,12 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_pricing_optOutOperatorPrice", title: "Opt out of a pay-per-use operator price", - description: "Opts a zone out by scheduling the current accepted pay-per-use operator price to expire at the start of the next UTC month. Use the withdraw action for a pending proposal.", + description: "Opts a zone out by scheduling the current accepted pay-per-use operator price to expire at the start of the next UTC month. Use the withdraw action for a pending proposal.\n\nDELETE /zones/{zone_id}/pay-per-use/operators/{operator_id}/price", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "operator_id": { "description": "Stable pay-per-use operator identifier.", @@ -156,6 +160,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_apiNoResultResponse", @@ -207,7 +212,7 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_pricing_setOperatorPrice", title: "Set a pay-per-use operator price", - description: "Proposes a required price, withdraws a pending proposal, accepts an operator's default pay-per-use price, or resumes an accepted price before its scheduled expiry. Propose, accept_default, and resume require an enabled operator with a verified name, an enabled publisher zone, and matching billing classifications.", + description: "Proposes a required price, withdraws a pending proposal, accepts an operator's default pay-per-use price, or resumes an accepted price before its scheduled expiry. Propose, accept_default, and resume require an enabled operator with a verified name, an enabled publisher zone, and matching billing classifications.\n\nPOST /zones/{zone_id}/pay-per-use/operators/{operator_id}/price", inputSchema: { type: "object", properties: { @@ -216,6 +221,7 @@ export const tools: readonly Tool[] = [ "description": "Pay-per-use publisher price action" }, "path": { + "additionalProperties": false, "properties": { "operator_id": { "description": "Stable pay-per-use operator identifier.", @@ -237,6 +243,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pay-per-crawl_PPUPublisherPriceAcceptDefaultRequest": pay$$per$$crawl_PPUPublisherPriceAcceptDefaultRequest, "pay-per-crawl_PPUPublisherPriceActionRequest": pay$$per$$crawl_PPUPublisherPriceActionRequest, diff --git a/src/generated/forge-mcp/payPerUse/proposals/tools.ts b/src/generated/forge-mcp/payPerUse/proposals/tools.ts index ea8060dfc..0fbf98569 100644 --- a/src/generated/forge-mcp/payPerUse/proposals/tools.ts +++ b/src/generated/forge-mcp/payPerUse/proposals/tools.ts @@ -28,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_proposals_decide", title: "Decide a pay-per-use price proposal", - description: "Accepts or rejects the pending pay-per-use price proposal identified by price_id in the request body. Acceptance requires an enabled operator with a verified name, an enabled publisher zone, and matching billing classifications; rejection remains available for cleanup.", + description: "Accepts or rejects the pending pay-per-use price proposal identified by price_id in the request body. Acceptance requires an enabled operator with a verified name, an enabled publisher zone, and matching billing classifications; rejection remains available for cleanup.\n\nPOST /accounts/{account_id}/pay-per-use/proposals", inputSchema: { type: "object", properties: { @@ -37,6 +37,7 @@ export const tools: readonly Tool[] = [ "description": "Pay-per-use operator proposal decision" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -53,6 +54,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pay-per-crawl_PPUOperatorProposalActionRequest": pay$$per$$crawl_PPUOperatorProposalActionRequest, }, @@ -113,11 +115,12 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_proposals_list", title: "List pay-per-use price proposals", - description: "Lists a paginated set of outstanding pay-per-use publisher price proposals for an operator. Listing remains available while the operator is disabled or its name is unverified so proposals can be rejected.", + description: "Lists a paginated set of outstanding pay-per-use publisher price proposals for an operator. Listing remains available while the operator is disabled or its name is unverified so proposals can be rejected.\n\nGET /accounts/{account_id}/pay-per-use/proposals", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -130,6 +133,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -148,6 +152,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUProposalsResponse", diff --git a/src/generated/forge-mcp/payPerUse/usageStats/tools.ts b/src/generated/forge-mcp/payPerUse/usageStats/tools.ts index 4290a0439..965774104 100644 --- a/src/generated/forge-mcp/payPerUse/usageStats/tools.ts +++ b/src/generated/forge-mcp/payPerUse/usageStats/tools.ts @@ -23,11 +23,12 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_usageStats_getAccount", title: "Get pay-per-use usage statistics", - description: "Returns reported usage and the full gross value across all Pay Per Use zones in a publisher account or zone over an explicit UTC range of at most 31 days. Usage from every domain and snapshotted price is summed by buyer. Ranges up to and including 7 days use hourly data points; longer ranges use daily data points. Because source data is aggregated hourly, both requested bounds are rounded down to the selected UTC interval and the resolved bounds are returned in the response. The resolved range must contain at least one complete interval. Empty periods are omitted. Buyers and their data points are paginated, while totals cover every buyer in the range. Values are raw usage counts and USD microcents; total_price_usd_microcents is the full value before the publisher revenue share.", + description: "Returns reported usage and the full gross value across all Pay Per Use zones in a publisher account or zone over an explicit UTC range of at most 31 days. Usage from every domain and snapshotted price is summed by buyer. Ranges up to and including 7 days use hourly data points; longer ranges use daily data points. Because source data is aggregated hourly, both requested bounds are rounded down to the selected UTC interval and the resolved bounds are returned in the response. The resolved range must contain at least one complete interval. Empty periods are omitted. Buyers and their data points are paginated, while totals cover every buyer in the range. Values are raw usage counts and USD microcents; total_price_usd_microcents is the full value before the publisher revenue share.\n\nGET /{account_or_zone}/{account_or_zone_id}/pay-per-use/usage-stats", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -49,6 +50,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -82,6 +84,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUUsageStatsResponse", diff --git a/src/generated/forge-mcp/payPerUse/zones/tools.ts b/src/generated/forge-mcp/payPerUse/zones/tools.ts index 7c8eb3dfc..1aaa2877d 100644 --- a/src/generated/forge-mcp/payPerUse/zones/tools.ts +++ b/src/generated/forge-mcp/payPerUse/zones/tools.ts @@ -32,11 +32,12 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_zones_getCanBeEnabled", title: "Get pay-per-use zone eligibility", - description: "Gets whether pay-per-use can be enabled for a zone and the current zone-level grace period.", + description: "Gets whether pay-per-use can be enabled for a zone and the current zone-level grace period.\n\nGET /zones/{zone_id}/pay-per-use/can_be_enabled", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "zone id", @@ -52,6 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUZoneCanBeEnabledResponse", @@ -99,11 +101,12 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_zones_getConfiguration", title: "Get pay-per-use zone configuration", - description: "Gets the pay-per-use configuration, zone-level grace period, and read-only non-billable classification timestamp for a zone.", + description: "Gets the pay-per-use configuration, zone-level grace period, and read-only non-billable classification timestamp for a zone.\n\nGET /zones/{zone_id}/pay-per-use/configuration", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "zone id", @@ -119,6 +122,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/pay-per-crawl_PPUZoneConfigurationResultResponse", @@ -168,7 +172,7 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_zones_setCanBeEnabled", title: "Set pay-per-use zone eligibility", - description: "Sets pay-per-use eligibility for a list of account zones. An omitted can_be_enabled value leaves that zone unchanged. Revoking eligibility disables the zone immediately while existing accepted licenses remain active until the start of the next UTC month.", + description: "Sets pay-per-use eligibility for a list of account zones. An omitted can_be_enabled value leaves that zone unchanged. Revoking eligibility disables the zone immediately while existing accepted licenses remain active until the start of the next UTC month.\n\nPATCH /accounts/{account_id}/pay-per-use/zones_can_be_enabled", inputSchema: { type: "object", properties: { @@ -177,6 +181,7 @@ export const tools: readonly Tool[] = [ "description": "Pay-per-use zone eligibility updates" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "account id", @@ -193,6 +198,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pay-per-crawl_PPUZoneCanBeEnabledUpdate": pay$$per$$crawl_PPUZoneCanBeEnabledUpdate, "pay-per-crawl_PPUZonesCanBeEnabledPayload": pay$$per$$crawl_PPUZonesCanBeEnabledPayload, @@ -246,7 +252,7 @@ export const tools: readonly Tool[] = [ { name: "payPerUse_zones_updateConfiguration", title: "Update pay-per-use zone configuration", - description: "Enables or disables an existing pay-per-use zone configuration. Omitting enabled leaves the zone unchanged. Enabling a disabled billable zone requires completed publisher Stripe onboarding, while non-billable zones do not; an already-enabled zone is not affected by later Stripe status changes. Disabling starts a disabled period immediately while existing accepted licenses remain active until the start of the next UTC month; re-enabling before expiry clears the schedule and restores those licenses.", + description: "Enables or disables an existing pay-per-use zone configuration. Omitting enabled leaves the zone unchanged. Enabling a disabled billable zone requires completed publisher Stripe onboarding, while non-billable zones do not; an already-enabled zone is not affected by later Stripe status changes. Disabling starts a disabled period immediately while existing accepted licenses remain active until the start of the next UTC month; re-enabling before expiry clears the schedule and restores those licenses.\n\nPATCH /zones/{zone_id}/pay-per-use/configuration", inputSchema: { type: "object", properties: { @@ -255,6 +261,7 @@ export const tools: readonly Tool[] = [ "description": "Pay-per-use zone configuration update" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { "description": "zone id", @@ -271,6 +278,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "pay-per-crawl_PPUZoneConfigurationUpdate": pay$$per$$crawl_PPUZoneConfigurationUpdate, }, diff --git a/src/generated/forge-mcp/pipelines/outputs.ts b/src/generated/forge-mcp/pipelines/outputs.ts index f59a81122..d9d733900 100644 --- a/src/generated/forge-mcp/pipelines/outputs.ts +++ b/src/generated/forge-mcp/pipelines/outputs.ts @@ -28,18 +28,6 @@ export const cloudflare$$pipelines_ConnectionSchema: JsonSchema = { "type": "object" }; -/** - * The schema of `cloudflare-pipelines_DecimalEncoding` in responses. - */ -export const cloudflare$$pipelines_DecimalEncoding: JsonSchema = { - "enum": [ - "number", - "string", - "bytes" - ], - "type": "string" -}; - /** * The schema of `cloudflare-pipelines_FieldType` in responses. */ @@ -229,10 +217,19 @@ export const cloudflare$$pipelines_FieldType: JsonSchema = { export const cloudflare$$pipelines_JsonFormat: JsonSchema = { "properties": { "decimal_encoding": { - "$ref": "#/$defs/cloudflare-pipelines_DecimalEncoding" + "enum": [ + "number", + "string", + "bytes" + ], + "type": "string" }, "timestamp_format": { - "$ref": "#/$defs/cloudflare-pipelines_TimestampFormat" + "enum": [ + "rfc3339", + "unix_millis" + ], + "type": "string" }, "unstructured": { "type": "boolean" @@ -256,27 +253,20 @@ export const cloudflare$$pipelines_ListField: JsonSchema = { "type": "object" }; -/** - * The schema of `cloudflare-pipelines_ParquetCompression` in responses. - */ -export const cloudflare$$pipelines_ParquetCompression: JsonSchema = { - "enum": [ - "uncompressed", - "snappy", - "gzip", - "zstd", - "lz4" - ], - "type": "string" -}; - /** * The schema of `cloudflare-pipelines_ParquetFormat` in responses. */ export const cloudflare$$pipelines_ParquetFormat: JsonSchema = { "properties": { "compression": { - "$ref": "#/$defs/cloudflare-pipelines_ParquetCompression" + "enum": [ + "uncompressed", + "snappy", + "gzip", + "zstd", + "lz4" + ], + "type": "string" }, "row_group_bytes": { "oneOf": [ @@ -447,40 +437,14 @@ export const cloudflare$$pipelines_StructField: JsonSchema = { export const cloudflare$$pipelines_TimestampField: JsonSchema = { "properties": { "unit": { - "$ref": "#/$defs/cloudflare-pipelines_TimestampUnit" + "enum": [ + "second", + "millisecond", + "microsecond", + "nanosecond" + ], + "type": "string" } }, "type": "object" }; - -/** - * The schema of `cloudflare-pipelines_TimestampFormat` in responses. - */ -export const cloudflare$$pipelines_TimestampFormat: JsonSchema = { - "enum": [ - "rfc3339", - "unix_millis" - ], - "type": "string" -}; - -/** - * The schema of `cloudflare-pipelines_TimestampUnit` in responses. - */ -export const cloudflare$$pipelines_TimestampUnit: JsonSchema = { - "enum": [ - "second", - "millisecond", - "microsecond", - "nanosecond" - ], - "type": "string" -}; - -/** - * The schema of `cloudflare-pipelines_worker-pipelines-common-success` in - * responses. - */ -export const cloudflare$$pipelines_worker$$pipelines$$common$$success: JsonSchema = { - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/pipelines/schemas.ts b/src/generated/forge-mcp/pipelines/schemas.ts index 5fb036b53..2bc206b24 100644 --- a/src/generated/forge-mcp/pipelines/schemas.ts +++ b/src/generated/forge-mcp/pipelines/schemas.ts @@ -29,18 +29,6 @@ export const cloudflare$$pipelines_ConnectionSchema: JsonSchema = { "type": "object" }; -/** - * The schema of `cloudflare-pipelines_DecimalEncoding`. - */ -export const cloudflare$$pipelines_DecimalEncoding: JsonSchema = { - "enum": [ - "number", - "string", - "bytes" - ], - "type": "string" -}; - /** * The schema of `cloudflare-pipelines_FieldType`. */ @@ -230,10 +218,19 @@ export const cloudflare$$pipelines_FieldType: JsonSchema = { export const cloudflare$$pipelines_JsonFormat: JsonSchema = { "properties": { "decimal_encoding": { - "$ref": "#/$defs/cloudflare-pipelines_DecimalEncoding" + "enum": [ + "number", + "string", + "bytes" + ], + "type": "string" }, "timestamp_format": { - "$ref": "#/$defs/cloudflare-pipelines_TimestampFormat" + "enum": [ + "rfc3339", + "unix_millis" + ], + "type": "string" }, "unstructured": { "type": "boolean" @@ -257,27 +254,20 @@ export const cloudflare$$pipelines_ListField: JsonSchema = { "type": "object" }; -/** - * The schema of `cloudflare-pipelines_ParquetCompression`. - */ -export const cloudflare$$pipelines_ParquetCompression: JsonSchema = { - "enum": [ - "uncompressed", - "snappy", - "gzip", - "zstd", - "lz4" - ], - "type": "string" -}; - /** * The schema of `cloudflare-pipelines_ParquetFormat`. */ export const cloudflare$$pipelines_ParquetFormat: JsonSchema = { "properties": { "compression": { - "$ref": "#/$defs/cloudflare-pipelines_ParquetCompression" + "enum": [ + "uncompressed", + "snappy", + "gzip", + "zstd", + "lz4" + ], + "type": "string" }, "row_group_bytes": { "oneOf": [ @@ -365,48 +355,14 @@ export const cloudflare$$pipelines_StructField: JsonSchema = { export const cloudflare$$pipelines_TimestampField: JsonSchema = { "properties": { "unit": { - "$ref": "#/$defs/cloudflare-pipelines_TimestampUnit" + "enum": [ + "second", + "millisecond", + "microsecond", + "nanosecond" + ], + "type": "string" } }, "type": "object" }; - -/** - * The schema of `cloudflare-pipelines_TimestampFormat`. - */ -export const cloudflare$$pipelines_TimestampFormat: JsonSchema = { - "enum": [ - "rfc3339", - "unix_millis" - ], - "type": "string" -}; - -/** - * The schema of `cloudflare-pipelines_TimestampUnit`. - */ -export const cloudflare$$pipelines_TimestampUnit: JsonSchema = { - "enum": [ - "second", - "millisecond", - "microsecond", - "nanosecond" - ], - "type": "string" -}; - -/** - * The schema of `cloudflare-pipelines_workers-pipelines-account-id`. - */ -export const cloudflare$$pipelines_workers$$pipelines$$account$$id: JsonSchema = { - "description": "Specifies the public ID of the account.", - "type": "string" -}; - -/** - * The schema of `cloudflare-pipelines_workers-pipelines-pipeline-id`. - */ -export const cloudflare$$pipelines_workers$$pipelines$$pipeline$$id: JsonSchema = { - "description": "Specifies the public ID of the pipeline.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/pipelines/sinks/outputs.ts b/src/generated/forge-mcp/pipelines/sinks/outputs.ts index 38a851c75..7e9c645bc 100644 --- a/src/generated/forge-mcp/pipelines/sinks/outputs.ts +++ b/src/generated/forge-mcp/pipelines/sinks/outputs.ts @@ -3,17 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `cloudflare-pipelines_JsonCompression` in responses. - */ -export const cloudflare$$pipelines_JsonCompression: JsonSchema = { - "enum": [ - "uncompressed", - "gzip" - ], - "type": "string" -}; - /** * The schema of `cloudflare-pipelines_SinkFormat` in responses. */ @@ -39,7 +28,11 @@ export const cloudflare$$pipelines_SinkJsonFormat: JsonSchema = { { "properties": { "compression": { - "$ref": "#/$defs/cloudflare-pipelines_JsonCompression" + "enum": [ + "uncompressed", + "gzip" + ], + "type": "string" }, "type": { "enum": [ diff --git a/src/generated/forge-mcp/pipelines/sinks/schemas.ts b/src/generated/forge-mcp/pipelines/sinks/schemas.ts index 8c3ba3b71..24ecc8bf5 100644 --- a/src/generated/forge-mcp/pipelines/sinks/schemas.ts +++ b/src/generated/forge-mcp/pipelines/sinks/schemas.ts @@ -3,18 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `cloudflare-pipelines_JsonCompression`. - */ -export const cloudflare$$pipelines_JsonCompression: JsonSchema = { - "description": "Specifies the compression applied to JSON sink output.", - "enum": [ - "uncompressed", - "gzip" - ], - "type": "string" -}; - /** * The schema of `cloudflare-pipelines_SinkFormat`. */ @@ -41,9 +29,13 @@ export const cloudflare$$pipelines_SinkJsonFormat: JsonSchema = { { "properties": { "compression": { - "$ref": "#/$defs/cloudflare-pipelines_JsonCompression", "default": "uncompressed", - "description": "Specifies the compression applied to JSON sink output." + "description": "Specifies the compression applied to JSON sink output.", + "enum": [ + "uncompressed", + "gzip" + ], + "type": "string" }, "type": { "enum": [ @@ -240,11 +232,3 @@ export const cloudflare$$pipelines_r2_data_catalogTable: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `cloudflare-pipelines_workers-pipelines-sink-id`. - */ -export const cloudflare$$pipelines_workers$$pipelines$$sink$$id: JsonSchema = { - "description": "Specifies the publid ID of the sink.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/pipelines/sinks/tools.ts b/src/generated/forge-mcp/pipelines/sinks/tools.ts index 30144fdf4..11969494f 100644 --- a/src/generated/forge-mcp/pipelines/sinks/tools.ts +++ b/src/generated/forge-mcp/pipelines/sinks/tools.ts @@ -4,36 +4,25 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { cloudflare$$pipelines_ConnectionSchema, - cloudflare$$pipelines_DecimalEncoding, cloudflare$$pipelines_FieldType, cloudflare$$pipelines_JsonFormat, cloudflare$$pipelines_ListField, - cloudflare$$pipelines_ParquetCompression, cloudflare$$pipelines_ParquetFormat, cloudflare$$pipelines_SourceField, cloudflare$$pipelines_StructField, cloudflare$$pipelines_TimestampField, - cloudflare$$pipelines_TimestampFormat, - cloudflare$$pipelines_TimestampUnit, - cloudflare$$pipelines_worker$$pipelines$$common$$success, } from "../outputs.js"; import { cloudflare$$pipelines_ConnectionSchema as cloudflare$$pipelines_ConnectionSchema$, - cloudflare$$pipelines_DecimalEncoding as cloudflare$$pipelines_DecimalEncoding$, cloudflare$$pipelines_FieldType as cloudflare$$pipelines_FieldType$, cloudflare$$pipelines_JsonFormat as cloudflare$$pipelines_JsonFormat$, cloudflare$$pipelines_ListField as cloudflare$$pipelines_ListField$, - cloudflare$$pipelines_ParquetCompression as cloudflare$$pipelines_ParquetCompression$, cloudflare$$pipelines_ParquetFormat as cloudflare$$pipelines_ParquetFormat$, cloudflare$$pipelines_SourceField as cloudflare$$pipelines_SourceField$, cloudflare$$pipelines_StructField as cloudflare$$pipelines_StructField$, cloudflare$$pipelines_TimestampField as cloudflare$$pipelines_TimestampField$, - cloudflare$$pipelines_TimestampFormat as cloudflare$$pipelines_TimestampFormat$, - cloudflare$$pipelines_TimestampUnit as cloudflare$$pipelines_TimestampUnit$, - cloudflare$$pipelines_workers$$pipelines$$account$$id, } from "../schemas.js"; import { - cloudflare$$pipelines_JsonCompression, cloudflare$$pipelines_SinkFormat, cloudflare$$pipelines_SinkJsonFormat, cloudflare$$pipelines_SinkParquetFormat, @@ -43,13 +32,11 @@ import { cloudflare$$pipelines_r2_data_catalogTablePublic, } from "./outputs.js"; import { - cloudflare$$pipelines_JsonCompression as cloudflare$$pipelines_JsonCompression$, cloudflare$$pipelines_SinkFormat as cloudflare$$pipelines_SinkFormat$, cloudflare$$pipelines_SinkJsonFormat as cloudflare$$pipelines_SinkJsonFormat$, cloudflare$$pipelines_SinkParquetFormat as cloudflare$$pipelines_SinkParquetFormat$, cloudflare$$pipelines_r2Table as cloudflare$$pipelines_r2Table$, cloudflare$$pipelines_r2_data_catalogTable as cloudflare$$pipelines_r2_data_catalogTable$, - cloudflare$$pipelines_workers$$pipelines$$sink$$id, } from "./schemas.js"; /** @@ -59,7 +46,7 @@ export const tools: readonly Tool[] = [ { name: "pipelines_sinks_create", title: "Create Sink", - description: "Create a new Sink.", + description: "Create a new Sink.\n\nPOST /accounts/{account_id}/pipelines/v1/sinks", inputSchema: { type: "object", properties: { @@ -105,10 +92,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" } }, "required": [ @@ -120,14 +108,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema$, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding$, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType$, - "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression$, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat$, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField$, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression$, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat$, "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat$, "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat$, @@ -135,11 +121,8 @@ export const tools: readonly Tool[] = [ "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField$, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField$, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField$, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat$, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit$, "cloudflare-pipelines_r2Table": cloudflare$$pipelines_r2Table$, "cloudflare-pipelines_r2_data_catalogTable": cloudflare$$pipelines_r2_data_catalogTable$, - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, }, }, outputSchema: { @@ -195,7 +178,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -205,12 +188,9 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, - "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, @@ -218,11 +198,8 @@ export const tools: readonly Tool[] = [ "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, "cloudflare-pipelines_r2Table": cloudflare$$pipelines_r2Table, "cloudflare-pipelines_r2_data_catalogTable": cloudflare$$pipelines_r2_data_catalogTable, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -300,7 +277,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -313,12 +290,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, - "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, @@ -326,11 +300,8 @@ export const tools: readonly Tool[] = [ "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, "cloudflare-pipelines_r2Table": cloudflare$$pipelines_r2Table, "cloudflare-pipelines_r2_data_catalogTable": cloudflare$$pipelines_r2_data_catalogTable, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -341,19 +312,20 @@ export const tools: readonly Tool[] = [ { name: "pipelines_sinks_delete", title: "Delete Sink", - description: "Delete Sink in Account.", + description: "Delete Sink in Account.\n\nDELETE /accounts/{account_id}/pipelines/v1/sinks/{sink_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "sink_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-sink-id", - "description": "Specifies the publid ID of the sink." + "description": "Specifies the publid ID of the sink.", + "type": "string" } }, "required": [ @@ -366,10 +338,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - "cloudflare-pipelines_workers-pipelines-sink-id": cloudflare$$pipelines_workers$$pipelines$$sink$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -377,7 +346,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -385,9 +354,6 @@ export const tools: readonly Tool[] = [ "success" ], "type": "object", - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, annotations: { "destructiveHint": true, @@ -414,7 +380,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -425,9 +391,6 @@ export const tools: readonly Tool[] = [ }, "4XX": null }, - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/sinks/${pathParam(args, "sink_id")}`, @@ -436,19 +399,20 @@ export const tools: readonly Tool[] = [ { name: "pipelines_sinks_get", title: "Get Sink Details", - description: "Get Sink Details.", + description: "Get Sink Details.\n\nGET /accounts/{account_id}/pipelines/v1/sinks/{sink_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "sink_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-sink-id", - "description": "Specifies the publid ID of the sink." + "description": "Specifies the publid ID of the sink.", + "type": "string" } }, "required": [ @@ -461,10 +425,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - "cloudflare-pipelines_workers-pipelines-sink-id": cloudflare$$pipelines_workers$$pipelines$$sink$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -519,7 +480,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -529,12 +490,9 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, - "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, @@ -542,11 +500,8 @@ export const tools: readonly Tool[] = [ "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, "cloudflare-pipelines_r2TablePublic": cloudflare$$pipelines_r2TablePublic, "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare$$pipelines_r2_data_catalogTablePublic, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -625,7 +580,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -638,12 +593,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, - "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, @@ -651,11 +603,8 @@ export const tools: readonly Tool[] = [ "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, "cloudflare-pipelines_r2TablePublic": cloudflare$$pipelines_r2TablePublic, "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare$$pipelines_r2_data_catalogTablePublic, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -665,15 +614,16 @@ export const tools: readonly Tool[] = [ { name: "pipelines_sinks_list", title: "List Sinks", - description: "List/Filter Sinks in Account.", + description: "List/Filter Sinks in Account.\n\nGET /accounts/{account_id}/pipelines/v1/sinks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" } }, "required": [ @@ -682,6 +632,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -721,9 +672,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -804,7 +753,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -815,12 +764,9 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, - "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, @@ -828,11 +774,8 @@ export const tools: readonly Tool[] = [ "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, "cloudflare-pipelines_r2TablePublic": cloudflare$$pipelines_r2TablePublic, "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare$$pipelines_r2_data_catalogTablePublic, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -937,7 +880,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -951,12 +894,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, - "cloudflare-pipelines_JsonCompression": cloudflare$$pipelines_JsonCompression, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SinkFormat": cloudflare$$pipelines_SinkFormat, "cloudflare-pipelines_SinkJsonFormat": cloudflare$$pipelines_SinkJsonFormat, @@ -964,11 +904,8 @@ export const tools: readonly Tool[] = [ "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, "cloudflare-pipelines_r2TablePublic": cloudflare$$pipelines_r2TablePublic, "cloudflare-pipelines_r2_data_catalogTablePublic": cloudflare$$pipelines_r2_data_catalogTablePublic, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pipelines/streams/schemas.ts b/src/generated/forge-mcp/pipelines/streams/schemas.ts index 51a0196cd..a237c523e 100644 --- a/src/generated/forge-mcp/pipelines/streams/schemas.ts +++ b/src/generated/forge-mcp/pipelines/streams/schemas.ts @@ -53,11 +53,3 @@ export const cloudflare$$pipelines_Format: JsonSchema = { } ] }; - -/** - * The schema of `cloudflare-pipelines_workers-pipelines-stream-id`. - */ -export const cloudflare$$pipelines_workers$$pipelines$$stream$$id: JsonSchema = { - "description": "Specifies the public ID of the stream.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/pipelines/streams/tools.ts b/src/generated/forge-mcp/pipelines/streams/tools.ts index dd1d4f3ce..32f6e86c2 100644 --- a/src/generated/forge-mcp/pipelines/streams/tools.ts +++ b/src/generated/forge-mcp/pipelines/streams/tools.ts @@ -4,40 +4,26 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { cloudflare$$pipelines_ConnectionSchema, - cloudflare$$pipelines_DecimalEncoding, cloudflare$$pipelines_FieldType, cloudflare$$pipelines_JsonFormat, cloudflare$$pipelines_ListField, - cloudflare$$pipelines_ParquetCompression, cloudflare$$pipelines_ParquetFormat, cloudflare$$pipelines_SourceField, cloudflare$$pipelines_StructField, cloudflare$$pipelines_TimestampField, - cloudflare$$pipelines_TimestampFormat, - cloudflare$$pipelines_TimestampUnit, - cloudflare$$pipelines_worker$$pipelines$$common$$success, } from "../outputs.js"; import { cloudflare$$pipelines_ConnectionSchema as cloudflare$$pipelines_ConnectionSchema$, - cloudflare$$pipelines_DecimalEncoding as cloudflare$$pipelines_DecimalEncoding$, cloudflare$$pipelines_FieldType as cloudflare$$pipelines_FieldType$, cloudflare$$pipelines_JsonFormat as cloudflare$$pipelines_JsonFormat$, cloudflare$$pipelines_ListField as cloudflare$$pipelines_ListField$, - cloudflare$$pipelines_ParquetCompression as cloudflare$$pipelines_ParquetCompression$, cloudflare$$pipelines_ParquetFormat as cloudflare$$pipelines_ParquetFormat$, cloudflare$$pipelines_SourceField as cloudflare$$pipelines_SourceField$, cloudflare$$pipelines_StructField as cloudflare$$pipelines_StructField$, cloudflare$$pipelines_TimestampField as cloudflare$$pipelines_TimestampField$, - cloudflare$$pipelines_TimestampFormat as cloudflare$$pipelines_TimestampFormat$, - cloudflare$$pipelines_TimestampUnit as cloudflare$$pipelines_TimestampUnit$, - cloudflare$$pipelines_workers$$pipelines$$account$$id, - cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, } from "../schemas.js"; import { cloudflare$$pipelines_Format } from "./outputs.js"; -import { - cloudflare$$pipelines_Format as cloudflare$$pipelines_Format$, - cloudflare$$pipelines_workers$$pipelines$$stream$$id, -} from "./schemas.js"; +import { cloudflare$$pipelines_Format as cloudflare$$pipelines_Format$ } from "./schemas.js"; /** * The tools of `pipelines.streams`. @@ -46,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "pipelines_streams_create", title: "Create Stream", - description: "Create a new Stream.", + description: "Create a new Stream.\n\nPOST /accounts/{account_id}/pipelines/v1/streams", inputSchema: { type: "object", properties: { @@ -120,10 +106,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" } }, "required": [ @@ -135,21 +122,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema$, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding$, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType$, "cloudflare-pipelines_Format": cloudflare$$pipelines_Format$, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat$, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField$, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression$, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat$, "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField$, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField$, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField$, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat$, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit$, - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, }, }, outputSchema: { @@ -233,7 +216,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -243,19 +226,14 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -361,7 +339,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -374,19 +352,14 @@ export const tools: readonly Tool[] = [ }, $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -397,19 +370,20 @@ export const tools: readonly Tool[] = [ { name: "pipelines_streams_delete", title: "Delete Stream", - description: "Delete Stream in Account.", + description: "Delete Stream in Account.\n\nDELETE /accounts/{account_id}/pipelines/v1/streams/{stream_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "stream_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-stream-id", - "description": "Specifies the public ID of the stream." + "description": "Specifies the public ID of the stream.", + "type": "string" } }, "required": [ @@ -422,10 +396,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - "cloudflare-pipelines_workers-pipelines-stream-id": cloudflare$$pipelines_workers$$pipelines$$stream$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -433,7 +404,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -441,9 +412,6 @@ export const tools: readonly Tool[] = [ "success" ], "type": "object", - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, annotations: { "destructiveHint": true, @@ -470,7 +438,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -481,9 +449,6 @@ export const tools: readonly Tool[] = [ }, "4XX": null }, - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/streams/${pathParam(args, "stream_id")}`, @@ -492,19 +457,20 @@ export const tools: readonly Tool[] = [ { name: "pipelines_streams_get", title: "Get Stream Details", - description: "Get Stream Details.", + description: "Get Stream Details.\n\nGET /accounts/{account_id}/pipelines/v1/streams/{stream_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "stream_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-stream-id", - "description": "Specifies the public ID of the stream." + "description": "Specifies the public ID of the stream.", + "type": "string" } }, "required": [ @@ -517,10 +483,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - "cloudflare-pipelines_workers-pipelines-stream-id": cloudflare$$pipelines_workers$$pipelines$$stream$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -603,7 +566,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -613,19 +576,14 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -732,7 +690,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -745,19 +703,14 @@ export const tools: readonly Tool[] = [ }, $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -767,15 +720,16 @@ export const tools: readonly Tool[] = [ { name: "pipelines_streams_list", title: "List Streams", - description: "List/Filter Streams in Account.", + description: "List/Filter Streams in Account.\n\nGET /accounts/{account_id}/pipelines/v1/streams", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" } }, "required": [ @@ -784,6 +738,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -814,8 +769,8 @@ export const tools: readonly Tool[] = [ "type": "number" }, "pipeline_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-pipeline-id", - "description": "Specifies the public ID of the pipeline." + "description": "Specifies the public ID of the pipeline.", + "type": "string" } }, "type": "object" @@ -824,10 +779,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - "cloudflare-pipelines_workers-pipelines-pipeline-id": cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -936,7 +888,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -947,19 +899,14 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -1092,7 +1039,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -1106,19 +1053,14 @@ export const tools: readonly Tool[] = [ }, $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ @@ -1136,7 +1078,7 @@ export const tools: readonly Tool[] = [ { name: "pipelines_streams_update", title: "Update Stream", - description: "Update a Stream.", + description: "Update a Stream.\n\nPATCH /accounts/{account_id}/pipelines/v1/streams/{stream_id}", inputSchema: { type: "object", properties: { @@ -1188,14 +1130,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "stream_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-stream-id", - "description": "Specifies the public ID of the stream." + "description": "Specifies the public ID of the stream.", + "type": "string" } }, "required": [ @@ -1208,10 +1151,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - "cloudflare-pipelines_workers-pipelines-stream-id": cloudflare$$pipelines_workers$$pipelines$$stream$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1294,7 +1234,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -1304,19 +1244,14 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -1419,7 +1354,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -1432,19 +1367,14 @@ export const tools: readonly Tool[] = [ }, $defs: { "cloudflare-pipelines_ConnectionSchema": cloudflare$$pipelines_ConnectionSchema, - "cloudflare-pipelines_DecimalEncoding": cloudflare$$pipelines_DecimalEncoding, "cloudflare-pipelines_FieldType": cloudflare$$pipelines_FieldType, "cloudflare-pipelines_Format": cloudflare$$pipelines_Format, "cloudflare-pipelines_JsonFormat": cloudflare$$pipelines_JsonFormat, "cloudflare-pipelines_ListField": cloudflare$$pipelines_ListField, - "cloudflare-pipelines_ParquetCompression": cloudflare$$pipelines_ParquetCompression, "cloudflare-pipelines_ParquetFormat": cloudflare$$pipelines_ParquetFormat, "cloudflare-pipelines_SourceField": cloudflare$$pipelines_SourceField, "cloudflare-pipelines_StructField": cloudflare$$pipelines_StructField, "cloudflare-pipelines_TimestampField": cloudflare$$pipelines_TimestampField, - "cloudflare-pipelines_TimestampFormat": cloudflare$$pipelines_TimestampFormat, - "cloudflare-pipelines_TimestampUnit": cloudflare$$pipelines_TimestampUnit, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/pipelines/tools.ts b/src/generated/forge-mcp/pipelines/tools.ts index 1170ea698..10679e20f 100644 --- a/src/generated/forge-mcp/pipelines/tools.ts +++ b/src/generated/forge-mcp/pipelines/tools.ts @@ -6,12 +6,7 @@ import { cloudflare$$pipelines_PipelineEdge, cloudflare$$pipelines_PipelineGraph, cloudflare$$pipelines_PipelineNode, - cloudflare$$pipelines_worker$$pipelines$$common$$success, } from "./outputs.js"; -import { - cloudflare$$pipelines_workers$$pipelines$$account$$id, - cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, -} from "./schemas.js"; /** * The tools of `pipelines`. @@ -20,7 +15,7 @@ export const tools: readonly Tool[] = [ { name: "pipelines_create", title: "Create Pipeline", - description: "Create a new Pipeline.", + description: "Create a new Pipeline.\n\nPOST /accounts/{account_id}/pipelines/v1/pipelines", inputSchema: { type: "object", properties: { @@ -42,10 +37,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" } }, "required": [ @@ -57,9 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -95,7 +89,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -103,9 +97,6 @@ export const tools: readonly Tool[] = [ "success" ], "type": "object", - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, annotations: { "destructiveHint": false, @@ -163,7 +154,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -174,9 +165,6 @@ export const tools: readonly Tool[] = [ }, "4XX": null }, - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/pipelines`, @@ -186,19 +174,20 @@ export const tools: readonly Tool[] = [ { name: "pipelines_delete", title: "Delete Pipeline", - description: "Delete Pipeline in Account.", + description: "Delete Pipeline in Account.\n\nDELETE /accounts/{account_id}/pipelines/v1/pipelines/{pipeline_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "pipeline_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-pipeline-id", - "description": "Specifies the public ID of the pipeline." + "description": "Specifies the public ID of the pipeline.", + "type": "string" } }, "required": [ @@ -211,10 +200,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - "cloudflare-pipelines_workers-pipelines-pipeline-id": cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -222,7 +208,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -230,9 +216,6 @@ export const tools: readonly Tool[] = [ "success" ], "type": "object", - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, annotations: { "destructiveHint": true, @@ -259,7 +242,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -270,9 +253,6 @@ export const tools: readonly Tool[] = [ }, "4XX": null }, - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/pipelines/${pathParam(args, "pipeline_id")}`, @@ -281,19 +261,20 @@ export const tools: readonly Tool[] = [ { name: "pipelines_get", title: "Get Pipeline Details", - description: "Get Pipeline details.", + description: "Get Pipeline details.\n\nGET /accounts/{account_id}/pipelines/v1/pipelines/{pipeline_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" }, "pipeline_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-pipeline-id", - "description": "Specifies the public ID of the pipeline." + "description": "Specifies the public ID of the pipeline.", + "type": "string" } }, "required": [ @@ -306,10 +287,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - "cloudflare-pipelines_workers-pipelines-pipeline-id": cloudflare$$pipelines_workers$$pipelines$$pipeline$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -383,7 +361,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -391,9 +369,6 @@ export const tools: readonly Tool[] = [ "success" ], "type": "object", - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, annotations: { "destructiveHint": false, @@ -490,7 +465,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -501,9 +476,6 @@ export const tools: readonly Tool[] = [ }, "4XX": null }, - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/pipelines/${pathParam(args, "pipeline_id")}`, @@ -512,15 +484,16 @@ export const tools: readonly Tool[] = [ { name: "pipelines_list", title: "List Pipelines", - description: "List/Filter Pipelines in Account.", + description: "List/Filter Pipelines in Account.\n\nGET /accounts/{account_id}/pipelines/v1/pipelines", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" } }, "required": [ @@ -529,6 +502,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "description": "Filters pipelines by name (case-insensitive substring).", @@ -548,9 +522,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -612,7 +584,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -621,9 +593,6 @@ export const tools: readonly Tool[] = [ "success" ], "type": "object", - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, annotations: { "destructiveHint": false, @@ -708,7 +677,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -720,9 +689,6 @@ export const tools: readonly Tool[] = [ }, "4XX": null }, - $defs: { - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, - }, }, request: (args) => ({ path: `/accounts/${pathParam(args, "account_id")}/pipelines/v1/pipelines`, @@ -736,7 +702,7 @@ export const tools: readonly Tool[] = [ { name: "pipelines_validateSql", title: "Validate SQL", - description: "Validates that the Pipelines SQL is correct.", + description: "Validates that the Pipelines SQL is correct.\n\nPOST /accounts/{account_id}/pipelines/v1/validate_sql", inputSchema: { type: "object", properties: { @@ -753,10 +719,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/cloudflare-pipelines_workers-pipelines-account-id", - "description": "Specifies the public ID of the account." + "description": "Specifies the public ID of the account.", + "type": "string" } }, "required": [ @@ -768,9 +735,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cloudflare-pipelines_workers-pipelines-account-id": cloudflare$$pipelines_workers$$pipelines$$account$$id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -812,7 +777,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -824,7 +789,6 @@ export const tools: readonly Tool[] = [ "cloudflare-pipelines_PipelineEdge": cloudflare$$pipelines_PipelineEdge, "cloudflare-pipelines_PipelineGraph": cloudflare$$pipelines_PipelineGraph, "cloudflare-pipelines_PipelineNode": cloudflare$$pipelines_PipelineNode, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, annotations: { @@ -889,7 +853,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "success": { - "$ref": "#/$defs/cloudflare-pipelines_worker-pipelines-common-success" + "type": "boolean" } }, "required": [ @@ -1009,7 +973,6 @@ export const tools: readonly Tool[] = [ "cloudflare-pipelines_PipelineEdge": cloudflare$$pipelines_PipelineEdge, "cloudflare-pipelines_PipelineGraph": cloudflare$$pipelines_PipelineGraph, "cloudflare-pipelines_PipelineNode": cloudflare$$pipelines_PipelineNode, - "cloudflare-pipelines_worker-pipelines-common-success": cloudflare$$pipelines_worker$$pipelines$$common$$success, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/precursor/outputs.ts b/src/generated/forge-mcp/precursor/outputs.ts index ea20690e2..38c35ce7d 100644 --- a/src/generated/forge-mcp/precursor/outputs.ts +++ b/src/generated/forge-mcp/precursor/outputs.ts @@ -98,13 +98,18 @@ export const precursor_messages: JsonSchema = { export const precursor_precursor_config: JsonSchema = { "properties": { "mode": { - "$ref": "#/$defs/precursor_precursor_mode" + "enum": [ + "off", + "monitor", + "arm" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/precursor_precursor_rules" }, "show_interstitial": { - "$ref": "#/$defs/precursor_show_interstitial" + "type": "boolean" } }, "type": "object" @@ -129,18 +134,6 @@ export const precursor_precursor_config_response_body: JsonSchema = { ] }; -/** - * The schema of `precursor_precursor_mode` in responses. - */ -export const precursor_precursor_mode: JsonSchema = { - "enum": [ - "off", - "monitor", - "arm" - ], - "type": "string" -}; - /** * The schema of `precursor_precursor_rule` in responses. */ @@ -159,7 +152,7 @@ export const precursor_precursor_rule: JsonSchema = { "type": "string" }, "show_interstitial": { - "$ref": "#/$defs/precursor_show_interstitial" + "type": "boolean" } }, "required": [ @@ -178,10 +171,3 @@ export const precursor_precursor_rules: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `precursor_show_interstitial` in responses. - */ -export const precursor_show_interstitial: JsonSchema = { - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/precursor/schemas.ts b/src/generated/forge-mcp/precursor/schemas.ts index 485a505a7..7ff35aba2 100644 --- a/src/generated/forge-mcp/precursor/schemas.ts +++ b/src/generated/forge-mcp/precursor/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `precursor_identifier`. - */ -export const precursor_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - /** * The schema of `precursor_precursor_config`. */ @@ -18,35 +10,27 @@ export const precursor_precursor_config: JsonSchema = { "description": "Precursor Config", "properties": { "mode": { - "$ref": "#/$defs/precursor_precursor_mode", "default": "off", - "description": "Controls Precursor detection for the zone. `off` disables detection,\n`monitor` records detections without affecting bot scores, and `arm`\nallows detections to affect bot scores.\n" + "description": "Controls Precursor detection for the zone. `off` disables detection,\n`monitor` records detections without affecting bot scores, and `arm`\nallows detections to affect bot scores.", + "enum": [ + "off", + "monitor", + "arm" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/precursor_precursor_rules", "description": "The ordered list of Precursor rules for the zone." }, "show_interstitial": { - "$ref": "#/$defs/precursor_show_interstitial", - "description": "Whether Precursor shows an interstitial when it takes action on a\nrequest.\n" + "description": "Whether Precursor shows an interstitial when it takes action on a\nrequest.", + "type": "boolean" } }, "type": "object" }; -/** - * The schema of `precursor_precursor_mode`. - */ -export const precursor_precursor_mode: JsonSchema = { - "description": "Controls Precursor detection for the zone. `off` disables detection,\n`monitor` records detections without affecting bot scores, and `arm`\nallows detections to affect bot scores.\n", - "enum": [ - "off", - "monitor", - "arm" - ], - "type": "string" -}; - /** * The schema of `precursor_precursor_rule`. */ @@ -68,8 +52,8 @@ export const precursor_precursor_rule: JsonSchema = { "type": "string" }, "show_interstitial": { - "$ref": "#/$defs/precursor_show_interstitial", - "description": "Whether Precursor shows an interstitial when it takes action on a\nrequest.\n" + "description": "Whether Precursor shows an interstitial when it takes action on a\nrequest.", + "type": "boolean" } }, "required": [ @@ -89,11 +73,3 @@ export const precursor_precursor_rules: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `precursor_show_interstitial`. - */ -export const precursor_show_interstitial: JsonSchema = { - "description": "Whether Precursor shows an interstitial when it takes action on a\nrequest.\n", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/precursor/tools.ts b/src/generated/forge-mcp/precursor/tools.ts index 72a773eeb..42c45f2a7 100644 --- a/src/generated/forge-mcp/precursor/tools.ts +++ b/src/generated/forge-mcp/precursor/tools.ts @@ -8,18 +8,13 @@ import { precursor_messages, precursor_precursor_config, precursor_precursor_config_response_body, - precursor_precursor_mode, precursor_precursor_rule, precursor_precursor_rules, - precursor_show_interstitial, } from "./outputs.js"; import { - precursor_identifier, precursor_precursor_config as precursor_precursor_config$, - precursor_precursor_mode as precursor_precursor_mode$, precursor_precursor_rule as precursor_precursor_rule$, precursor_precursor_rules as precursor_precursor_rules$, - precursor_show_interstitial as precursor_show_interstitial$, } from "./schemas.js"; /** @@ -29,11 +24,12 @@ export const tools: readonly Tool[] = [ { name: "precursor_get", title: "Get Zone Precursor Config", - description: "Retrieve a zone's Precursor configuration: the detection `mode`,\nwhether to `show_interstitial`, and the ordered list of `rules`.\n\nThis method is beta.", + description: "Retrieve a zone's Precursor configuration: the detection `mode`,\nwhether to `show_interstitial`, and the ordered list of `rules`.\n\nThis method is beta.\n\nGET /zones/{zone_id}/precursor", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "Cloudflare-Version": { "default": "1.0", @@ -50,10 +46,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/precursor_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -66,9 +63,7 @@ export const tools: readonly Tool[] = [ "path", "headers" ], - $defs: { - "precursor_identifier": precursor_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/precursor_precursor_config_response_body", @@ -77,10 +72,8 @@ export const tools: readonly Tool[] = [ "precursor_messages": precursor_messages, "precursor_precursor_config": precursor_precursor_config, "precursor_precursor_config_response_body": precursor_precursor_config_response_body, - "precursor_precursor_mode": precursor_precursor_mode, "precursor_precursor_rule": precursor_precursor_rule, "precursor_precursor_rules": precursor_precursor_rules, - "precursor_show_interstitial": precursor_show_interstitial, }, }, annotations: { @@ -128,10 +121,8 @@ export const tools: readonly Tool[] = [ "precursor_messages": precursor_messages, "precursor_precursor_config": precursor_precursor_config, "precursor_precursor_config_response_body": precursor_precursor_config_response_body, - "precursor_precursor_mode": precursor_precursor_mode, "precursor_precursor_rule": precursor_precursor_rule, "precursor_precursor_rules": precursor_precursor_rules, - "precursor_show_interstitial": precursor_show_interstitial, }, }, request: (args) => ({ @@ -144,7 +135,7 @@ export const tools: readonly Tool[] = [ { name: "precursor_update", title: "Update Zone Precursor Config", - description: "Updates the Precursor configuration for a zone.\n\n`mode` controls whether Precursor detection is off, monitoring, or\narmed. `show_interstitial` controls the zone-level response when armed.\n`rules` is the ordered list of overrides for matching requests.\n\nThis is a partial update: only the fields present in the request body\nare changed.\n\n- Sending an empty array (`[]`) clears all rules.\n- At least one of `mode`, `show_interstitial`, or `rules` must be\n present; an empty body (`{}`) is rejected with `400`.\n- Rule `id` is read-only (assigned by Cloudflare) and ignored on input.\n- Rule `show_interstitial` is required and controls the response for\n requests that match that rule.\n- Rule `expression` is limited to 4000 characters. The limit applies to\n each rule individually, not to the combined size of all rules.\n\nThis method is beta.", + description: "Updates the Precursor configuration for a zone.\n\n`mode` controls whether Precursor detection is off, monitoring, or\narmed. `show_interstitial` controls the zone-level response when armed.\n`rules` is the ordered list of overrides for matching requests.\n\nThis is a partial update: only the fields present in the request body\nare changed.\n\n- Sending an empty array (`[]`) clears all rules.\n- At least one of `mode`, `show_interstitial`, or `rules` must be\n present; an empty body (`{}`) is rejected with `400`.\n- Rule `id` is read-only (assigned by Cloudflare) and ignored on input.\n- Rule `show_interstitial` is required and controls the response for\n requests that match that rule.\n- Rule `expression` is limited to 4000 characters. The limit applies to\n each rule individually, not to the combined size of all rules.\n\nThis method is beta.\n\nPUT /zones/{zone_id}/precursor", inputSchema: { type: "object", properties: { @@ -152,6 +143,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/precursor_precursor_config" }, "headers": { + "additionalProperties": false, "properties": { "Cloudflare-Version": { "default": "1.0", @@ -168,10 +160,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/precursor_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -185,13 +178,11 @@ export const tools: readonly Tool[] = [ "headers", "body" ], + additionalProperties: false, $defs: { - "precursor_identifier": precursor_identifier, "precursor_precursor_config": precursor_precursor_config$, - "precursor_precursor_mode": precursor_precursor_mode$, "precursor_precursor_rule": precursor_precursor_rule$, "precursor_precursor_rules": precursor_precursor_rules$, - "precursor_show_interstitial": precursor_show_interstitial$, }, }, outputSchema: { @@ -201,10 +192,8 @@ export const tools: readonly Tool[] = [ "precursor_messages": precursor_messages, "precursor_precursor_config": precursor_precursor_config, "precursor_precursor_config_response_body": precursor_precursor_config_response_body, - "precursor_precursor_mode": precursor_precursor_mode, "precursor_precursor_rule": precursor_precursor_rule, "precursor_precursor_rules": precursor_precursor_rules, - "precursor_show_interstitial": precursor_show_interstitial, }, }, annotations: { @@ -251,10 +240,8 @@ export const tools: readonly Tool[] = [ "precursor_messages": precursor_messages, "precursor_precursor_config": precursor_precursor_config, "precursor_precursor_config_response_body": precursor_precursor_config_response_body, - "precursor_precursor_mode": precursor_precursor_mode, "precursor_precursor_rule": precursor_precursor_rule, "precursor_precursor_rules": precursor_precursor_rules, - "precursor_show_interstitial": precursor_show_interstitial, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/previews/tools.ts b/src/generated/forge-mcp/previews/tools.ts index 630622056..cc1bd5cb2 100644 --- a/src/generated/forge-mcp/previews/tools.ts +++ b/src/generated/forge-mcp/previews/tools.ts @@ -7,7 +7,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../outputs.js"; -import { workers_identifier } from "../schemas.js"; /** * The tools of `previews`. @@ -16,15 +15,16 @@ export const tools: readonly Tool[] = [ { name: "previews_delete", title: "Delete Preview", - description: "Delete a Preview.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the Preview.", + description: "Delete a Preview.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the Preview.\n\nDELETE /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "preview_id": { "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", @@ -43,6 +43,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "force": { "description": "If true, delete the Preview even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Preview are deleted even if other Workers reference them.", @@ -55,9 +56,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-common", diff --git a/src/generated/forge-mcp/queues/consumers/schemas.ts b/src/generated/forge-mcp/queues/consumers/schemas.ts index ba8fffb0c..f3ba20fb4 100644 --- a/src/generated/forge-mcp/queues/consumers/schemas.ts +++ b/src/generated/forge-mcp/queues/consumers/schemas.ts @@ -24,25 +24,25 @@ export const mq_consumer$$request: JsonSchema = { export const mq_http$$consumer$$request: JsonSchema = { "properties": { "dead_letter_queue": { - "$ref": "#/$defs/mq_queue-name" + "type": "string" }, "settings": { "properties": { "batch_size": { - "$ref": "#/$defs/mq_batch-size", - "description": "The maximum number of messages to include in a batch." + "description": "The maximum number of messages to include in a batch.", + "type": "number" }, "max_retries": { - "$ref": "#/$defs/mq_max-retries", - "description": "The maximum number of retries" + "description": "The maximum number of retries", + "type": "number" }, "retry_delay": { - "$ref": "#/$defs/mq_retry-delay", - "description": "The number of seconds to delay before making the message available for another attempt." + "description": "The number of seconds to delay before making the message available for another attempt.", + "type": "number" }, "visibility_timeout_ms": { - "$ref": "#/$defs/mq_visibility-timeout", - "description": "The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt." + "description": "The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.", + "type": "number" } }, "type": "object" @@ -66,33 +66,33 @@ export const mq_http$$consumer$$request: JsonSchema = { export const mq_worker$$consumer$$request: JsonSchema = { "properties": { "dead_letter_queue": { - "$ref": "#/$defs/mq_queue-name" + "type": "string" }, "script_name": { - "$ref": "#/$defs/mq_script-name", - "description": "Name of a Worker" + "description": "Name of a Worker", + "type": "string" }, "settings": { "properties": { "batch_size": { - "$ref": "#/$defs/mq_batch-size", - "description": "The maximum number of messages to include in a batch." + "description": "The maximum number of messages to include in a batch.", + "type": "number" }, "max_concurrency": { - "$ref": "#/$defs/mq_max-concurrency", - "description": "Maximum number of concurrent consumers that may consume from this Queue. Set to `null` to automatically opt in to the platform's maximum (recommended)." + "description": "Maximum number of concurrent consumers that may consume from this Queue. Set to `null` to automatically opt in to the platform's maximum (recommended).", + "type": "number" }, "max_retries": { - "$ref": "#/$defs/mq_max-retries", - "description": "The maximum number of retries" + "description": "The maximum number of retries", + "type": "number" }, "max_wait_time_ms": { - "$ref": "#/$defs/mq_max-wait-time", - "description": "The number of milliseconds to wait for a batch to fill up before attempting to deliver it" + "description": "The number of milliseconds to wait for a batch to fill up before attempting to deliver it", + "type": "number" }, "retry_delay": { - "$ref": "#/$defs/mq_retry-delay", - "description": "The number of seconds to delay before making the message available for another attempt." + "description": "The number of seconds to delay before making the message available for another attempt.", + "type": "number" } }, "type": "object" diff --git a/src/generated/forge-mcp/queues/consumers/tools.ts b/src/generated/forge-mcp/queues/consumers/tools.ts index 014aeb3d9..f88b67caf 100644 --- a/src/generated/forge-mcp/queues/consumers/tools.ts +++ b/src/generated/forge-mcp/queues/consumers/tools.ts @@ -7,30 +7,10 @@ import { mq_api$$v4$$failure, mq_api$$v4$$message, mq_api$$v4$$success, - mq_batch$$size, mq_consumer$$response, mq_http$$consumer$$response, - mq_identifier, - mq_max$$concurrency, - mq_max$$retries, - mq_max$$wait$$time, - mq_queue$$name, - mq_retry$$delay, - mq_script$$name, - mq_visibility$$timeout, mq_worker$$consumer$$response, } from "../outputs.js"; -import { - mq_batch$$size as mq_batch$$size$, - mq_identifier as mq_identifier$, - mq_max$$concurrency as mq_max$$concurrency$, - mq_max$$retries as mq_max$$retries$, - mq_max$$wait$$time as mq_max$$wait$$time$, - mq_queue$$name as mq_queue$$name$, - mq_retry$$delay as mq_retry$$delay$, - mq_script$$name as mq_script$$name$, - mq_visibility$$timeout as mq_visibility$$timeout$, -} from "../schemas.js"; import { mq_consumer$$request, mq_http$$consumer$$request, @@ -44,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "queues_consumers_create", title: "Create a Queue Consumer", - description: "Creates a consumer for a Queue.", + description: "Creates a consumer for a Queue.\n\nPOST /accounts/{account_id}/queues/{queue_id}/consumers", inputSchema: { type: "object", properties: { @@ -52,14 +32,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/mq_consumer-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -72,18 +53,10 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "mq_batch-size": mq_batch$$size$, "mq_consumer-request": mq_consumer$$request, "mq_http-consumer-request": mq_http$$consumer$$request, - "mq_identifier": mq_identifier$, - "mq_max-concurrency": mq_max$$concurrency$, - "mq_max-retries": mq_max$$retries$, - "mq_max-wait-time": mq_max$$wait$$time$, - "mq_queue-name": mq_queue$$name$, - "mq_retry-delay": mq_retry$$delay$, - "mq_script-name": mq_script$$name$, - "mq_visibility-timeout": mq_visibility$$timeout$, "mq_worker-consumer-request": mq_worker$$consumer$$request, }, }, @@ -105,17 +78,8 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, - "mq_queue-name": mq_queue$$name, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, @@ -165,17 +129,8 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, - "mq_queue-name": mq_queue$$name, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, @@ -187,23 +142,24 @@ export const tools: readonly Tool[] = [ { name: "queues_consumers_delete", title: "Delete Queue Consumer", - description: "Deletes a consumer from a Queue.", + description: "Deletes a consumer from a Queue.\n\nDELETE /accounts/{account_id}/queues/{queue_id}/consumers/{consumer_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "consumer_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -217,9 +173,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mq_api-v4-success", @@ -272,23 +226,24 @@ export const tools: readonly Tool[] = [ { name: "queues_consumers_get", title: "Get Queue Consumer", - description: "Returns a Queue consumer by identifier.", + description: "Returns a Queue consumer by identifier.\n\nGET /accounts/{account_id}/queues/{queue_id}/consumers/{consumer_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "consumer_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -302,9 +257,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -324,17 +277,8 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, - "mq_queue-name": mq_queue$$name, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, @@ -386,17 +330,8 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, - "mq_queue-name": mq_queue$$name, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, @@ -407,19 +342,20 @@ export const tools: readonly Tool[] = [ { name: "queues_consumers_list", title: "List Queue Consumers", - description: "Returns the consumers configured for a Queue.", + description: "Returns the consumers configured for a Queue.\n\nGET /accounts/{account_id}/queues/{queue_id}/consumers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -432,9 +368,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -457,17 +391,8 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, - "mq_queue-name": mq_queue$$name, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, @@ -522,17 +447,8 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, - "mq_queue-name": mq_queue$$name, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, @@ -543,7 +459,7 @@ export const tools: readonly Tool[] = [ { name: "queues_consumers_update", title: "Update Queue Consumer", - description: "Replaces a Queue consumer, or creates it if it does not exist.", + description: "Replaces a Queue consumer, or creates it if it does not exist.\n\nPUT /accounts/{account_id}/queues/{queue_id}/consumers/{consumer_id}", inputSchema: { type: "object", properties: { @@ -551,18 +467,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/mq_consumer-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "consumer_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -577,18 +494,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "mq_batch-size": mq_batch$$size$, "mq_consumer-request": mq_consumer$$request, "mq_http-consumer-request": mq_http$$consumer$$request, - "mq_identifier": mq_identifier$, - "mq_max-concurrency": mq_max$$concurrency$, - "mq_max-retries": mq_max$$retries$, - "mq_max-wait-time": mq_max$$wait$$time$, - "mq_queue-name": mq_queue$$name$, - "mq_retry-delay": mq_retry$$delay$, - "mq_script-name": mq_script$$name$, - "mq_visibility-timeout": mq_visibility$$timeout$, "mq_worker-consumer-request": mq_worker$$consumer$$request, }, }, @@ -610,17 +519,8 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, - "mq_queue-name": mq_queue$$name, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, @@ -670,17 +570,8 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, - "mq_queue-name": mq_queue$$name, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, }, }, diff --git a/src/generated/forge-mcp/queues/messages/outputs.ts b/src/generated/forge-mcp/queues/messages/outputs.ts index 9af157305..cca93c6b9 100644 --- a/src/generated/forge-mcp/queues/messages/outputs.ts +++ b/src/generated/forge-mcp/queues/messages/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `mq_lease-id` in responses. - */ -export const mq_lease$$id: JsonSchema = { - "type": "string" -}; - /** * The schema of `mq_queue-peek-batch` in responses. */ @@ -29,7 +22,7 @@ export const mq_queue$$peek$$batch: JsonSchema = { "type": "object" }, "ref": { - "$ref": "#/$defs/mq_ref" + "type": "string" }, "timestamp_ms": { "type": "number" @@ -56,7 +49,7 @@ export const mq_queue$$pull$$batch: JsonSchema = { "type": "string" }, "lease_id": { - "$ref": "#/$defs/mq_lease-id" + "type": "string" }, "metadata": { "type": "object" @@ -69,10 +62,3 @@ export const mq_queue$$pull$$batch: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `mq_ref` in responses. - */ -export const mq_ref: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/queues/messages/schemas.ts b/src/generated/forge-mcp/queues/messages/schemas.ts index dd6cba97f..8f63129e1 100644 --- a/src/generated/forge-mcp/queues/messages/schemas.ts +++ b/src/generated/forge-mcp/queues/messages/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `mq_lease-id`. - */ -export const mq_lease$$id: JsonSchema = { - "description": "An ID that represents an \"in-flight\" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message.", - "type": "string" -}; - /** * The schema of `mq_queue-batch`. */ @@ -92,11 +84,3 @@ export const mq_queue$$message$$text: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `mq_ref`. - */ -export const mq_ref: JsonSchema = { - "description": "An opaque reference to a peeked message. You must hold on to this value and use it to purge the message.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/queues/messages/tools.ts b/src/generated/forge-mcp/queues/messages/tools.ts index 36e0c7288..26a35de32 100644 --- a/src/generated/forge-mcp/queues/messages/tools.ts +++ b/src/generated/forge-mcp/queues/messages/tools.ts @@ -9,25 +9,12 @@ import { mq_api$$v4$$success, mq_queue$$metrics, } from "../outputs.js"; +import { mq_queue$$peek$$batch, mq_queue$$pull$$batch } from "./outputs.js"; import { - mq_batch$$size, - mq_identifier, - mq_retry$$delay, - mq_visibility$$timeout, -} from "../schemas.js"; -import { - mq_lease$$id, - mq_queue$$peek$$batch, - mq_queue$$pull$$batch, - mq_ref, -} from "./outputs.js"; -import { - mq_lease$$id as mq_lease$$id$, mq_queue$$batch, mq_queue$$message, mq_queue$$message$$json, mq_queue$$message$$text, - mq_ref as mq_ref$, } from "./schemas.js"; /** @@ -37,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "queues_messages_ack", title: "Acknowledge + Retry Queue Messages", - description: "Acknowledges successfully processed Queue messages and retries messages that were not processed successfully.", + description: "Acknowledges successfully processed Queue messages and retries messages that were not processed successfully.\n\nPOST /accounts/{account_id}/queues/{queue_id}/messages/ack", inputSchema: { type: "object", properties: { @@ -47,8 +34,8 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "lease_id": { - "$ref": "#/$defs/mq_lease-id", - "description": "An ID that represents an \"in-flight\" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message." + "description": "An ID that represents an \"in-flight\" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message.", + "type": "string" } }, "type": "object" @@ -59,12 +46,12 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "delay_seconds": { - "$ref": "#/$defs/mq_retry-delay", - "description": "The number of seconds to delay before making the message available for another attempt." + "description": "The number of seconds to delay before making the message available for another attempt.", + "type": "number" }, "lease_id": { - "$ref": "#/$defs/mq_lease-id", - "description": "An ID that represents an \"in-flight\" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message." + "description": "An ID that represents an \"in-flight\" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message.", + "type": "string" } }, "type": "object" @@ -75,14 +62,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -95,11 +83,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier, - "mq_lease-id": mq_lease$$id$, - "mq_retry-delay": mq_retry$$delay, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -206,7 +190,7 @@ export const tools: readonly Tool[] = [ { name: "queues_messages_bulkPush", title: "Push Message Batch", - description: "Pushes a batch of messages to a Queue.", + description: "Pushes a batch of messages to a Queue.\n\nPOST /accounts/{account_id}/queues/{queue_id}/messages/batch", inputSchema: { type: "object", properties: { @@ -214,14 +198,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/mq_queue-batch" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -234,8 +219,8 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "mq_identifier": mq_identifier, "mq_queue-batch": mq_queue$$batch, "mq_queue-message": mq_queue$$message, "mq_queue-message-json": mq_queue$$message$$json, @@ -341,7 +326,7 @@ export const tools: readonly Tool[] = [ { name: "queues_messages_extendLeases", title: "Extend Message Leases", - description: "Extends message leases without incrementing the messages' `attempts` counters. Each message receives a new lease identifier.", + description: "Extends message leases without incrementing the messages' `attempts` counters. Each message receives a new lease identifier.\n\nPOST /accounts/{account_id}/queues/{queue_id}/messages/extend", inputSchema: { type: "object", properties: { @@ -351,8 +336,8 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "lease_id": { - "$ref": "#/$defs/mq_lease-id", - "description": "An ID that represents an \"in-flight\" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message." + "description": "An ID that represents an \"in-flight\" message that has been pulled from a Queue. You must hold on to this ID and use it to acknowledge this message.", + "type": "string" } }, "type": "object" @@ -360,21 +345,22 @@ export const tools: readonly Tool[] = [ "type": "array" }, "visibility_timeout_ms": { - "$ref": "#/$defs/mq_visibility-timeout", - "description": "The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt." + "description": "The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.", + "type": "number" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -387,11 +373,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier, - "mq_lease-id": mq_lease$$id$, - "mq_visibility-timeout": mq_visibility$$timeout, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -492,28 +474,29 @@ export const tools: readonly Tool[] = [ { name: "queues_messages_peek", title: "Peek Queue Messages", - description: "Peek messages from a Queue without leasing them. Each message includes a ref that can be passed to the purge endpoint, and remains available for subsequent peek or pull operations until it is purged.", + description: "Peek messages from a Queue without leasing them. Each message includes a ref that can be passed to the purge endpoint, and remains available for subsequent peek or pull operations until it is purged.\n\nPOST /accounts/{account_id}/queues/{queue_id}/messages/peek", inputSchema: { type: "object", properties: { "body": { "properties": { "batch_size": { - "$ref": "#/$defs/mq_batch-size", - "description": "The maximum number of messages to include in a batch." + "description": "The maximum number of messages to include in a batch.", + "type": "number" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -526,10 +509,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_batch-size": mq_batch$$size, - "mq_identifier": mq_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -555,7 +535,6 @@ export const tools: readonly Tool[] = [ "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, "mq_queue-peek-batch": mq_queue$$peek$$batch, - "mq_ref": mq_ref, }, }, annotations: { @@ -611,7 +590,6 @@ export const tools: readonly Tool[] = [ "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, "mq_queue-peek-batch": mq_queue$$peek$$batch, - "mq_ref": mq_ref, }, }, request: (args) => ({ @@ -622,32 +600,33 @@ export const tools: readonly Tool[] = [ { name: "queues_messages_pull", title: "Pull Queue Messages", - description: "Pulls a batch of messages from a Queue for an HTTP pull consumer.", + description: "Pulls a batch of messages from a Queue for an HTTP pull consumer.\n\nPOST /accounts/{account_id}/queues/{queue_id}/messages/pull", inputSchema: { type: "object", properties: { "body": { "properties": { "batch_size": { - "$ref": "#/$defs/mq_batch-size", - "description": "The maximum number of messages to include in a batch." + "description": "The maximum number of messages to include in a batch.", + "type": "number" }, "visibility_timeout_ms": { - "$ref": "#/$defs/mq_visibility-timeout", - "description": "The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt." + "description": "The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.", + "type": "number" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -660,11 +639,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_batch-size": mq_batch$$size, - "mq_identifier": mq_identifier, - "mq_visibility-timeout": mq_visibility$$timeout, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -700,7 +675,6 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_lease-id": mq_lease$$id, "mq_queue-metrics": mq_queue$$metrics, "mq_queue-pull-batch": mq_queue$$pull$$batch, }, @@ -768,7 +742,6 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_lease-id": mq_lease$$id, "mq_queue-metrics": mq_queue$$metrics, "mq_queue-pull-batch": mq_queue$$pull$$batch, }, @@ -781,7 +754,7 @@ export const tools: readonly Tool[] = [ { name: "queues_messages_purge", title: "Purge Peeked Queue Messages", - description: "Delete messages from a Queue by using refs returned by the peek endpoint. Purging messages does not count as delivery and does not affect metrics.\n\nConfirm with the user before calling this tool. This operation permanently deletes the selected messages from the Queue.", + description: "Delete messages from a Queue by using refs returned by the peek endpoint. Purging messages does not count as delivery and does not affect metrics.\n\nConfirm with the user before calling this tool. This operation permanently deletes the selected messages from the Queue.\n\nPOST /accounts/{account_id}/queues/{queue_id}/messages/purge", inputSchema: { type: "object", properties: { @@ -791,8 +764,8 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "ref": { - "$ref": "#/$defs/mq_ref", - "description": "An opaque reference to a peeked message. You must hold on to this value and use it to purge the message." + "description": "An opaque reference to a peeked message. You must hold on to this value and use it to purge the message.", + "type": "string" } }, "required": [ @@ -809,14 +782,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -830,10 +804,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "mq_identifier": mq_identifier, - "mq_ref": mq_ref$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -950,7 +921,7 @@ export const tools: readonly Tool[] = [ { name: "queues_messages_push", title: "Push Message", - description: "Pushes a message to a Queue.", + description: "Pushes a message to a Queue.\n\nPOST /accounts/{account_id}/queues/{queue_id}/messages", inputSchema: { type: "object", properties: { @@ -958,14 +929,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/mq_queue-message" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -978,8 +950,8 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "mq_identifier": mq_identifier, "mq_queue-message": mq_queue$$message, "mq_queue-message-json": mq_queue$$message$$json, "mq_queue-message-text": mq_queue$$message$$text, diff --git a/src/generated/forge-mcp/queues/metrics/tools.ts b/src/generated/forge-mcp/queues/metrics/tools.ts index 2a442f410..1ce75a04c 100644 --- a/src/generated/forge-mcp/queues/metrics/tools.ts +++ b/src/generated/forge-mcp/queues/metrics/tools.ts @@ -9,7 +9,6 @@ import { mq_api$$v4$$success, mq_queue$$metrics, } from "../outputs.js"; -import { mq_identifier } from "../schemas.js"; /** * The tools of `queues.metrics`. @@ -18,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "queues_metrics_get", title: "Get Queue Metrics", - description: "Returns best-effort metrics for a Queue. Values may be approximate due to the distributed nature of Queues.", + description: "Returns best-effort metrics for a Queue. Values may be approximate due to the distributed nature of Queues.\n\nGET /accounts/{account_id}/queues/{queue_id}/metrics", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -43,9 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/queues/outputs.ts b/src/generated/forge-mcp/queues/outputs.ts index 1063f111b..c7c15801e 100644 --- a/src/generated/forge-mcp/queues/outputs.ts +++ b/src/generated/forge-mcp/queues/outputs.ts @@ -77,13 +77,6 @@ export const mq_api$$v4$$success: JsonSchema = { "type": "object" }; -/** - * The schema of `mq_batch-size` in responses. - */ -export const mq_batch$$size: JsonSchema = { - "type": "number" -}; - /** * The schema of `mq_consumer-response` in responses. */ @@ -104,7 +97,7 @@ export const mq_consumer$$response: JsonSchema = { export const mq_http$$consumer$$response: JsonSchema = { "properties": { "consumer_id": { - "$ref": "#/$defs/mq_identifier" + "type": "string" }, "created_on": { "format": "date-time", @@ -114,21 +107,21 @@ export const mq_http$$consumer$$response: JsonSchema = { "type": "string" }, "queue_name": { - "$ref": "#/$defs/mq_queue-name" + "type": "string" }, "settings": { "properties": { "batch_size": { - "$ref": "#/$defs/mq_batch-size" + "type": "number" }, "max_retries": { - "$ref": "#/$defs/mq_max-retries" + "type": "number" }, "retry_delay": { - "$ref": "#/$defs/mq_retry-delay" + "type": "number" }, "visibility_timeout_ms": { - "$ref": "#/$defs/mq_visibility-timeout" + "type": "number" } }, "type": "object" @@ -143,46 +136,6 @@ export const mq_http$$consumer$$response: JsonSchema = { "type": "object" }; -/** - * The schema of `mq_identifier` in responses. - */ -export const mq_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `mq_jurisdiction` in responses. - */ -export const mq_jurisdiction: JsonSchema = { - "enum": [ - "eu", - "us", - "fedramp" - ], - "type": "string" -}; - -/** - * The schema of `mq_max-concurrency` in responses. - */ -export const mq_max$$concurrency: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `mq_max-retries` in responses. - */ -export const mq_max$$retries: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `mq_max-wait-time` in responses. - */ -export const mq_max$$wait$$time: JsonSchema = { - "type": "number" -}; - /** * The schema of `mq_producer` in responses. */ @@ -215,7 +168,12 @@ export const mq_queue: JsonSchema = { "type": "string" }, "jurisdiction": { - "$ref": "#/$defs/mq_jurisdiction" + "enum": [ + "eu", + "us", + "fedramp" + ], + "type": "string" }, "modified_on": { "type": "string" @@ -233,7 +191,7 @@ export const mq_queue: JsonSchema = { "type": "string" }, "queue_name": { - "$ref": "#/$defs/mq_queue-name" + "type": "string" }, "settings": { "$ref": "#/$defs/mq_queue-settings" @@ -265,13 +223,6 @@ export const mq_queue$$metrics: JsonSchema = { "type": "object" }; -/** - * The schema of `mq_queue-name` in responses. - */ -export const mq_queue$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `mq_queue-settings` in responses. */ @@ -308,34 +259,13 @@ export const mq_r2$$producer: JsonSchema = { "type": "object" }; -/** - * The schema of `mq_retry-delay` in responses. - */ -export const mq_retry$$delay: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `mq_script-name` in responses. - */ -export const mq_script$$name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `mq_visibility-timeout` in responses. - */ -export const mq_visibility$$timeout: JsonSchema = { - "type": "number" -}; - /** * The schema of `mq_worker-consumer-response` in responses. */ export const mq_worker$$consumer$$response: JsonSchema = { "properties": { "consumer_id": { - "$ref": "#/$defs/mq_identifier" + "type": "string" }, "created_on": { "format": "date-time", @@ -345,27 +275,27 @@ export const mq_worker$$consumer$$response: JsonSchema = { "type": "string" }, "queue_name": { - "$ref": "#/$defs/mq_queue-name" + "type": "string" }, "script_name": { - "$ref": "#/$defs/mq_script-name" + "type": "string" }, "settings": { "properties": { "batch_size": { - "$ref": "#/$defs/mq_batch-size" + "type": "number" }, "max_concurrency": { - "$ref": "#/$defs/mq_max-concurrency" + "type": "number" }, "max_retries": { - "$ref": "#/$defs/mq_max-retries" + "type": "number" }, "max_wait_time_ms": { - "$ref": "#/$defs/mq_max-wait-time" + "type": "number" }, "retry_delay": { - "$ref": "#/$defs/mq_retry-delay" + "type": "number" } }, "type": "object" diff --git a/src/generated/forge-mcp/queues/purge/tools.ts b/src/generated/forge-mcp/queues/purge/tools.ts index 95614a750..52083f71e 100644 --- a/src/generated/forge-mcp/queues/purge/tools.ts +++ b/src/generated/forge-mcp/queues/purge/tools.ts @@ -7,26 +7,15 @@ import { mq_api$$v4$$failure, mq_api$$v4$$message, mq_api$$v4$$success, - mq_batch$$size, mq_consumer$$response, mq_http$$consumer$$response, - mq_identifier, - mq_jurisdiction, - mq_max$$concurrency, - mq_max$$retries, - mq_max$$wait$$time, mq_producer, mq_queue, - mq_queue$$name, mq_queue$$settings, mq_r2$$producer, - mq_retry$$delay, - mq_script$$name, - mq_visibility$$timeout, mq_worker$$consumer$$response, mq_worker$$producer, } from "../outputs.js"; -import { mq_identifier as mq_identifier$ } from "../schemas.js"; /** * The tools of `queues.purge`. @@ -35,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "queues_purge_start", title: "Purge Queue", - description: "Starts a purge that deletes all messages from a Queue.\n\nConfirm with the user before calling this tool. This operation drops every message in the queue.", + description: "Starts a purge that deletes all messages from a Queue.\n\nConfirm with the user before calling this tool. This operation drops every message in the queue.\n\nPOST /accounts/{account_id}/queues/{queue_id}/purge", inputSchema: { type: "object", properties: { @@ -49,14 +38,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -69,9 +59,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -91,22 +79,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, @@ -157,22 +135,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, @@ -185,19 +153,20 @@ export const tools: readonly Tool[] = [ { name: "queues_purge_status", title: "Get Queue Purge Status", - description: "Returns the status of a Queue purge operation.", + description: "Returns the status of a Queue purge operation.\n\nGET /accounts/{account_id}/queues/{queue_id}/purge", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -210,9 +179,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/queues/schemas.ts b/src/generated/forge-mcp/queues/schemas.ts index 6df7e6619..a71d5c4b1 100644 --- a/src/generated/forge-mcp/queues/schemas.ts +++ b/src/generated/forge-mcp/queues/schemas.ts @@ -3,68 +3,21 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `mq_batch-size`. - */ -export const mq_batch$$size: JsonSchema = { - "description": "The maximum number of messages to include in a batch.", - "type": "number" -}; - -/** - * The schema of `mq_identifier`. - */ -export const mq_identifier: JsonSchema = { - "description": "A Resource identifier.", - "type": "string" -}; - -/** - * The schema of `mq_jurisdiction`. - */ -export const mq_jurisdiction: JsonSchema = { - "enum": [ - "eu", - "us", - "fedramp" - ], - "type": "string" -}; - -/** - * The schema of `mq_max-concurrency`. - */ -export const mq_max$$concurrency: JsonSchema = { - "description": "Maximum number of concurrent consumers that may consume from this Queue. Set to `null` to automatically opt in to the platform's maximum (recommended).", - "type": "number" -}; - -/** - * The schema of `mq_max-retries`. - */ -export const mq_max$$retries: JsonSchema = { - "description": "The maximum number of retries", - "type": "number" -}; - -/** - * The schema of `mq_max-wait-time`. - */ -export const mq_max$$wait$$time: JsonSchema = { - "description": "The number of milliseconds to wait for a batch to fill up before attempting to deliver it", - "type": "number" -}; - /** * The schema of `mq_queue`. */ export const mq_queue: JsonSchema = { "properties": { "jurisdiction": { - "$ref": "#/$defs/mq_jurisdiction" + "enum": [ + "eu", + "us", + "fedramp" + ], + "type": "string" }, "queue_name": { - "$ref": "#/$defs/mq_queue-name" + "type": "string" }, "settings": { "$ref": "#/$defs/mq_queue-settings" @@ -73,13 +26,6 @@ export const mq_queue: JsonSchema = { "type": "object" }; -/** - * The schema of `mq_queue-name`. - */ -export const mq_queue$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `mq_queue-settings`. */ @@ -100,27 +46,3 @@ export const mq_queue$$settings: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `mq_retry-delay`. - */ -export const mq_retry$$delay: JsonSchema = { - "description": "The number of seconds to delay before making the message available for another attempt.", - "type": "number" -}; - -/** - * The schema of `mq_script-name`. - */ -export const mq_script$$name: JsonSchema = { - "description": "Name of a Worker", - "type": "string" -}; - -/** - * The schema of `mq_visibility-timeout`. - */ -export const mq_visibility$$timeout: JsonSchema = { - "description": "The number of milliseconds that a message is exclusively leased. After the timeout, the message becomes available for another attempt.", - "type": "number" -}; diff --git a/src/generated/forge-mcp/queues/subscriptions/tools.ts b/src/generated/forge-mcp/queues/subscriptions/tools.ts index 7e3d8af9f..b35951fc4 100644 --- a/src/generated/forge-mcp/queues/subscriptions/tools.ts +++ b/src/generated/forge-mcp/queues/subscriptions/tools.ts @@ -8,7 +8,6 @@ import { mq_api$$v4$$message, mq_api$$v4$$success, } from "../outputs.js"; -import { mq_identifier } from "../schemas.js"; import { mq_event$$destination, mq_event$$destination$$queue, @@ -46,7 +45,7 @@ export const tools: readonly Tool[] = [ { name: "queues_subscriptions_create", title: "Create Event Subscription", - description: "Creates an event subscription for a Queue.", + description: "Creates an event subscription for a Queue.\n\nPOST /accounts/{account_id}/event_subscriptions/subscriptions", inputSchema: { type: "object", properties: { @@ -80,10 +79,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -96,6 +96,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "mq_event-destination": mq_event$$destination$, "mq_event-destination-queue": mq_event$$destination$$queue$, @@ -109,7 +110,6 @@ export const tools: readonly Tool[] = [ "mq_event-source-workers-builds-worker": mq_event$$source$$workers$$builds$$worker$, "mq_event-source-workers-script": mq_event$$source$$workers$$script$, "mq_event-source-workflows-workflow": mq_event$$source$$workflows$$workflow$, - "mq_identifier": mq_identifier, }, }, outputSchema: { @@ -215,19 +215,20 @@ export const tools: readonly Tool[] = [ { name: "queues_subscriptions_delete", title: "Delete Event Subscription", - description: "Deletes an existing Queue event subscription.", + description: "Deletes an existing Queue event subscription.\n\nDELETE /accounts/{account_id}/event_subscriptions/subscriptions/{subscription_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "subscription_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -240,9 +241,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -340,19 +339,20 @@ export const tools: readonly Tool[] = [ { name: "queues_subscriptions_get", title: "Get Event Subscription", - description: "Returns an existing Queue event subscription.", + description: "Returns an existing Queue event subscription.\n\nGET /accounts/{account_id}/event_subscriptions/subscriptions/{subscription_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "subscription_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -365,9 +365,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -465,15 +463,16 @@ export const tools: readonly Tool[] = [ { name: "queues_subscriptions_list", title: "List Event Subscriptions", - description: "Returns a paginated list of Queue event subscriptions with optional sorting and filtering.", + description: "Returns a paginated list of Queue event subscriptions with optional sorting and filtering.\n\nGET /accounts/{account_id}/event_subscriptions/subscriptions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -482,6 +481,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -520,9 +520,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -688,7 +686,7 @@ export const tools: readonly Tool[] = [ { name: "queues_subscriptions_update", title: "Update Event Subscription", - description: "Updates an existing Queue event subscription.", + description: "Updates an existing Queue event subscription.\n\nPATCH /accounts/{account_id}/event_subscriptions/subscriptions/{subscription_id}", inputSchema: { type: "object", properties: { @@ -718,14 +716,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "subscription_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -739,10 +738,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "mq_event-destination": mq_event$$destination$, "mq_event-destination-queue": mq_event$$destination$$queue$, - "mq_identifier": mq_identifier, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/queues/tools.ts b/src/generated/forge-mcp/queues/tools.ts index 66408182a..1221a838a 100644 --- a/src/generated/forge-mcp/queues/tools.ts +++ b/src/generated/forge-mcp/queues/tools.ts @@ -7,30 +7,17 @@ import { mq_api$$v4$$failure, mq_api$$v4$$message, mq_api$$v4$$success, - mq_batch$$size, mq_consumer$$response, mq_http$$consumer$$response, - mq_identifier, - mq_jurisdiction, - mq_max$$concurrency, - mq_max$$retries, - mq_max$$wait$$time, mq_producer, mq_queue, - mq_queue$$name, mq_queue$$settings, mq_r2$$producer, - mq_retry$$delay, - mq_script$$name, - mq_visibility$$timeout, mq_worker$$consumer$$response, mq_worker$$producer, } from "./outputs.js"; import { - mq_identifier as mq_identifier$, - mq_jurisdiction as mq_jurisdiction$, mq_queue as mq_queue$, - mq_queue$$name as mq_queue$$name$, mq_queue$$settings as mq_queue$$settings$, } from "./schemas.js"; @@ -41,17 +28,22 @@ export const tools: readonly Tool[] = [ { name: "queues_create", title: "Create Queue", - description: "Creates a Queue in the account.", + description: "Creates a Queue in the account.\n\nPOST /accounts/{account_id}/queues", inputSchema: { type: "object", properties: { "body": { "properties": { "jurisdiction": { - "$ref": "#/$defs/mq_jurisdiction" + "enum": [ + "eu", + "us", + "fedramp" + ], + "type": "string" }, "queue_name": { - "$ref": "#/$defs/mq_queue-name" + "type": "string" } }, "required": [ @@ -60,10 +52,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -75,11 +68,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier$, - "mq_jurisdiction": mq_jurisdiction$, - "mq_queue-name": mq_queue$$name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -99,22 +88,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, @@ -165,22 +144,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, @@ -193,19 +162,20 @@ export const tools: readonly Tool[] = [ { name: "queues_delete", title: "Delete Queue", - description: "Deletes a Queue.", + description: "Deletes a Queue.\n\nDELETE /accounts/{account_id}/queues/{queue_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -218,9 +188,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/mq_api-v4-success", @@ -273,7 +241,7 @@ export const tools: readonly Tool[] = [ { name: "queues_edit", title: "Update Queue", - description: "Updates part of a Queue's configuration.", + description: "Updates part of a Queue's configuration.\n\nPATCH /accounts/{account_id}/queues/{queue_id}", inputSchema: { type: "object", properties: { @@ -281,14 +249,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/mq_queue" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -301,11 +270,9 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "mq_identifier": mq_identifier$, - "mq_jurisdiction": mq_jurisdiction$, "mq_queue": mq_queue$, - "mq_queue-name": mq_queue$$name$, "mq_queue-settings": mq_queue$$settings$, }, }, @@ -327,22 +294,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, @@ -393,22 +350,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, @@ -421,19 +368,20 @@ export const tools: readonly Tool[] = [ { name: "queues_get", title: "Get Queue", - description: "Returns details about a specific Queue.", + description: "Returns details about a specific Queue.\n\nGET /accounts/{account_id}/queues/{queue_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -446,9 +394,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -468,22 +414,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, @@ -536,22 +472,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, @@ -563,15 +489,16 @@ export const tools: readonly Tool[] = [ { name: "queues_list", title: "List Queues", - description: "Returns the queues owned by an account.", + description: "Returns the queues owned by an account.\n\nGET /accounts/{account_id}/queues", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/mq_identifier", - "description": "A Resource identifier." + "description": "A Resource identifier.", + "type": "string" } }, "required": [ @@ -583,9 +510,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "mq_identifier": mq_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -628,22 +553,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-error": mq_api$$v4$$error, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, @@ -719,22 +634,12 @@ export const tools: readonly Tool[] = [ "mq_api-v4-failure": mq_api$$v4$$failure, "mq_api-v4-message": mq_api$$v4$$message, "mq_api-v4-success": mq_api$$v4$$success, - "mq_batch-size": mq_batch$$size, "mq_consumer-response": mq_consumer$$response, "mq_http-consumer-response": mq_http$$consumer$$response, - "mq_identifier": mq_identifier, - "mq_jurisdiction": mq_jurisdiction, - "mq_max-concurrency": mq_max$$concurrency, - "mq_max-retries": mq_max$$retries, - "mq_max-wait-time": mq_max$$wait$$time, "mq_producer": mq_producer, "mq_queue": mq_queue, - "mq_queue-name": mq_queue$$name, "mq_queue-settings": mq_queue$$settings, "mq_r2-producer": mq_r2$$producer, - "mq_retry-delay": mq_retry$$delay, - "mq_script-name": mq_script$$name, - "mq_visibility-timeout": mq_visibility$$timeout, "mq_worker-consumer-response": mq_worker$$consumer$$response, "mq_worker-producer": mq_worker$$producer, }, diff --git a/src/generated/forge-mcp/r2/buckets/cors/tools.ts b/src/generated/forge-mcp/r2/buckets/cors/tools.ts index 3e592f363..c443ac003 100644 --- a/src/generated/forge-mcp/r2/buckets/cors/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/cors/tools.ts @@ -8,7 +8,6 @@ import { r2_v4_response, r2_v4_response_failure, } from "../../outputs.js"; -import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; import { r2_cors$$rule } from "./outputs.js"; import { r2_cors$$rule as r2_cors$$rule$ } from "./schemas.js"; @@ -19,11 +18,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_cors_delete", title: "Delete Bucket CORS Policy", - description: "Delete the CORS policy for a bucket.\n\nConfirm with the user before calling this tool. This removes the R2 bucket's CORS policy. Browser requests that depend on these cross-origin permissions may fail.", + description: "Delete the CORS policy for a bucket.\n\nConfirm with the user before calling this tool. This removes the R2 bucket's CORS policy. Browser requests that depend on these cross-origin permissions may fail.\n\nDELETE /accounts/{account_id}/r2/buckets/{bucket_name}/cors", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -41,14 +41,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -61,10 +62,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", @@ -109,11 +107,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_cors_get", title: "Get Bucket CORS Policy", - description: "Get the CORS policy for a bucket.", + description: "Get the CORS policy for a bucket.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/cors", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -131,14 +130,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -151,10 +151,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -241,7 +238,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_cors_update", title: "Set Bucket CORS Policy", - description: "Replaces the Cross-Origin Resource Sharing (CORS) rules for an R2 bucket. Rules specify which origins, methods, and headers are allowed for browser requests to objects in the bucket.\n\nConfirm with the user before calling this tool. This replaces the R2 bucket's CORS policy. Browser requests that relied on the previous rules may fail.", + description: "Replaces the Cross-Origin Resource Sharing (CORS) rules for an R2 bucket. Rules specify which origins, methods, and headers are allowed for browser requests to objects in the bucket.\n\nConfirm with the user before calling this tool. This replaces the R2 bucket's CORS policy. Browser requests that relied on the previous rules may fail.\n\nPUT /accounts/{account_id}/r2/buckets/{bucket_name}/cors", inputSchema: { type: "object", properties: { @@ -257,6 +254,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -274,14 +272,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -295,9 +294,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, "r2_cors-rule": r2_cors$$rule$, }, }, diff --git a/src/generated/forge-mcp/r2/buckets/domains/custom/schemas.ts b/src/generated/forge-mcp/r2/buckets/domains/custom/schemas.ts index d54fe82d9..893f03a43 100644 --- a/src/generated/forge-mcp/r2/buckets/domains/custom/schemas.ts +++ b/src/generated/forge-mcp/r2/buckets/domains/custom/schemas.ts @@ -46,14 +46,6 @@ export const r2_add_custom_domain_request: JsonSchema = { "type": "object" }; -/** - * The schema of `r2_domain_name`. - */ -export const r2_domain_name: JsonSchema = { - "description": "Name of the custom domain.", - "type": "string" -}; - /** * The schema of `r2_edit_custom_domain_request`. */ diff --git a/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts b/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts index 9bd4aeead..c74f1f282 100644 --- a/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/domains/custom/tools.ts @@ -8,7 +8,6 @@ import { r2_v4_response, r2_v4_response_failure, } from "../../../outputs.js"; -import { r2_account_identifier, r2_bucket_name } from "../../../schemas.js"; import { r2_add_custom_domain_response, r2_edit_custom_domain_response, @@ -18,7 +17,6 @@ import { } from "./outputs.js"; import { r2_add_custom_domain_request, - r2_domain_name, r2_edit_custom_domain_request, } from "./schemas.js"; @@ -29,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_domains_custom_create", title: "Attach Custom Domain To Bucket", - description: "Register a new custom domain for an existing R2 bucket.", + description: "Register a new custom domain for an existing R2 bucket.\n\nPOST /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom", inputSchema: { type: "object", properties: { @@ -37,6 +35,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2_add_custom_domain_request" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -54,14 +53,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -75,10 +75,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, "r2_add_custom_domain_request": r2_add_custom_domain_request, - "r2_bucket_name": r2_bucket_name, }, }, outputSchema: { @@ -158,11 +157,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_domains_custom_delete", title: "Remove Custom Domain From Bucket", - description: "Disconnects a custom domain from an R2 bucket and removes its configuration. Access through other enabled custom domains or the bucket's r2.dev domain is unaffected.\n\nConfirm with the user before calling this tool. This disconnects the custom domain from the R2 bucket. Access through other enabled domains remains available.", + description: "Disconnects a custom domain from an R2 bucket and removes its configuration. Access through other enabled custom domains or the bucket's r2.dev domain is unaffected.\n\nConfirm with the user before calling this tool. This disconnects the custom domain from the R2 bucket. Access through other enabled domains remains available.\n\nDELETE /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom/{domain}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -180,18 +180,19 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "domain": { - "$ref": "#/$defs/r2_domain_name", - "description": "Name of the custom domain." + "description": "Name of the custom domain.", + "type": "string" } }, "required": [ @@ -205,11 +206,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - "r2_domain_name": r2_domain_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -285,11 +282,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_domains_custom_get", title: "Get Custom Domain Settings", - description: "Get the configuration for a custom domain on an existing R2 bucket.", + description: "Get the configuration for a custom domain on an existing R2 bucket.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom/{domain}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -307,18 +305,19 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "domain": { - "$ref": "#/$defs/r2_domain_name", - "description": "Name of the custom domain." + "description": "Name of the custom domain.", + "type": "string" } }, "required": [ @@ -332,11 +331,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - "r2_domain_name": r2_domain_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -413,11 +408,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_domains_custom_list", title: "List Custom Domains of Bucket", - description: "Gets a list of all custom domains registered with an existing R2 bucket.", + description: "Gets a list of all custom domains registered with an existing R2 bucket.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -435,14 +431,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -455,10 +452,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -536,7 +530,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_domains_custom_update", title: "Configure Custom Domain Settings", - description: "Edit the configuration for a custom domain on an existing R2 bucket.", + description: "Edit the configuration for a custom domain on an existing R2 bucket.\n\nPUT /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom/{domain}", inputSchema: { type: "object", properties: { @@ -544,6 +538,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2_edit_custom_domain_request" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -561,18 +556,19 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "domain": { - "$ref": "#/$defs/r2_domain_name", - "description": "Name of the custom domain." + "description": "Name of the custom domain.", + "type": "string" } }, "required": [ @@ -587,10 +583,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - "r2_domain_name": r2_domain_name, "r2_edit_custom_domain_request": r2_edit_custom_domain_request, }, }, diff --git a/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts b/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts index 0e08b6760..06c49c8e8 100644 --- a/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/domains/managed/tools.ts @@ -8,7 +8,6 @@ import { r2_v4_response, r2_v4_response_failure, } from "../../../outputs.js"; -import { r2_account_identifier, r2_bucket_name } from "../../../schemas.js"; import { r2_managed_domain_response } from "./outputs.js"; import { r2_edit_managed_domain_request } from "./schemas.js"; @@ -19,11 +18,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_domains_managed_list", title: "Get r2.dev Domain of Bucket", - description: "Gets the R2 bucket's managed r2.dev domain and whether public access is enabled. The r2.dev domain is rate-limited and intended for development use.", + description: "Gets the R2 bucket's managed r2.dev domain and whether public access is enabled. The r2.dev domain is rate-limited and intended for development use.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/domains/managed", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -41,14 +41,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -61,10 +62,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -142,7 +140,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_domains_managed_update", title: "Update r2.dev Domain of Bucket", - description: "Enables or disables public access to the R2 bucket through its managed r2.dev domain. Custom domain access is unaffected. The r2.dev domain is rate-limited and intended for development use.\n\nConfirm with the user before calling this tool. This changes public access to the R2 bucket through its r2.dev domain.", + description: "Enables or disables public access to the R2 bucket through its managed r2.dev domain. Custom domain access is unaffected. The r2.dev domain is rate-limited and intended for development use.\n\nConfirm with the user before calling this tool. This changes public access to the R2 bucket through its r2.dev domain.\n\nPUT /accounts/{account_id}/r2/buckets/{bucket_name}/domains/managed", inputSchema: { type: "object", properties: { @@ -150,6 +148,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2_edit_managed_domain_request" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -167,14 +166,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -188,9 +188,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, "r2_edit_managed_domain_request": r2_edit_managed_domain_request, }, }, diff --git a/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts b/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts index 98b34df64..8b3230bbc 100644 --- a/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/eventNotifications/outputs.ts @@ -60,20 +60,6 @@ export const r2_queues$$config: JsonSchema = { "type": "object" }; -/** - * The schema of `r2_r2-action` in responses. - */ -export const r2_r2$$action: JsonSchema = { - "enum": [ - "PutObject", - "CopyObject", - "DeleteObject", - "CompleteMultipartUpload", - "LifecycleDeletion" - ], - "type": "string" -}; - /** * The schema of `r2_rule` in responses. */ @@ -81,7 +67,14 @@ export const r2_rule: JsonSchema = { "properties": { "actions": { "items": { - "$ref": "#/$defs/r2_r2-action" + "enum": [ + "PutObject", + "CopyObject", + "DeleteObject", + "CompleteMultipartUpload", + "LifecycleDeletion" + ], + "type": "string" }, "type": "array" }, diff --git a/src/generated/forge-mcp/r2/buckets/eventNotifications/schemas.ts b/src/generated/forge-mcp/r2/buckets/eventNotifications/schemas.ts index a4184fdb5..c67aa00ba 100644 --- a/src/generated/forge-mcp/r2/buckets/eventNotifications/schemas.ts +++ b/src/generated/forge-mcp/r2/buckets/eventNotifications/schemas.ts @@ -3,28 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `r2_queue_identifier`. - */ -export const r2_queue_identifier: JsonSchema = { - "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events.", - "type": "string" -}; - -/** - * The schema of `r2_r2-action`. - */ -export const r2_r2$$action: JsonSchema = { - "enum": [ - "PutObject", - "CopyObject", - "DeleteObject", - "CompleteMultipartUpload", - "LifecycleDeletion" - ], - "type": "string" -}; - /** * The schema of `r2_rule`. */ @@ -33,7 +11,14 @@ export const r2_rule: JsonSchema = { "actions": { "description": "Array of R2 object actions that will trigger notifications.", "items": { - "$ref": "#/$defs/r2_r2-action" + "enum": [ + "PutObject", + "CopyObject", + "DeleteObject", + "CompleteMultipartUpload", + "LifecycleDeletion" + ], + "type": "string" }, "type": "array" }, diff --git a/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts b/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts index 247fddb8f..3b0fb07d3 100644 --- a/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/eventNotifications/tools.ts @@ -8,18 +8,8 @@ import { r2_v4_response, r2_v4_response_failure, } from "../../outputs.js"; -import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; -import { - r2_bucket$$config, - r2_queues$$config, - r2_r2$$action, - r2_rule, -} from "./outputs.js"; -import { - r2_queue_identifier, - r2_r2$$action as r2_r2$$action$, - r2_rule as r2_rule$, -} from "./schemas.js"; +import { r2_bucket$$config, r2_queues$$config, r2_rule } from "./outputs.js"; +import { r2_rule as r2_rule$ } from "./schemas.js"; /** * The tools of `r2.buckets.eventNotifications`. @@ -28,7 +18,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_eventNotifications_delete", title: "Delete Event Notification Rules", - description: "Deletes the specified event notification rules for an R2 bucket and Cloudflare Queue. Provide ruleIds in the request body to select rules. If no body is provided, all rules for that bucket and queue are deleted.\n\nConfirm with the user before calling this tool. This deletes event notification rules for the selected R2 bucket and queue. Without a request body, all rules for that bucket and queue are deleted.", + description: "Deletes the specified event notification rules for an R2 bucket and Cloudflare Queue. Provide ruleIds in the request body to select rules. If no body is provided, all rules for that bucket and queue are deleted.\n\nConfirm with the user before calling this tool. This deletes event notification rules for the selected R2 bucket and queue. Without a request body, all rules for that bucket and queue are deleted.\n\nDELETE /accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}", inputSchema: { type: "object", properties: { @@ -45,6 +35,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -62,18 +53,19 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/r2_queue_identifier", - "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events." + "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events.", + "type": "string" } }, "required": [ @@ -87,11 +79,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - "r2_queue_identifier": r2_queue_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", @@ -142,11 +130,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_eventNotifications_get", title: "Get Event Notification Rules for a Queue", - description: "Gets the event notification rules for the specified R2 bucket and Cloudflare Queue. The response includes the queue's configuration and its array of rules.", + description: "Gets the event notification rules for the specified R2 bucket and Cloudflare Queue. The response includes the queue's configuration and its array of rules.\n\nGET /accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -164,18 +153,19 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/r2_queue_identifier", - "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events." + "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events.", + "type": "string" } }, "required": [ @@ -189,11 +179,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - "r2_queue_identifier": r2_queue_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -213,7 +199,6 @@ export const tools: readonly Tool[] = [ "r2_errors": r2_errors, "r2_messages": r2_messages, "r2_queues-config": r2_queues$$config, - "r2_r2-action": r2_r2$$action, "r2_rule": r2_rule, "r2_v4_response": r2_v4_response, }, @@ -261,7 +246,6 @@ export const tools: readonly Tool[] = [ "r2_errors": r2_errors, "r2_messages": r2_messages, "r2_queues-config": r2_queues$$config, - "r2_r2-action": r2_r2$$action, "r2_rule": r2_rule, "r2_v4_response": r2_v4_response, "r2_v4_response_failure": r2_v4_response_failure, @@ -277,11 +261,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_eventNotifications_list", title: "List Event Notification Rules", - description: "Lists event notification rules for an R2 bucket, grouped by the Cloudflare Queue that receives matching object events.", + description: "Lists event notification rules for an R2 bucket, grouped by the Cloudflare Queue that receives matching object events.\n\nGET /accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -299,14 +284,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -319,10 +305,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -343,7 +326,6 @@ export const tools: readonly Tool[] = [ "r2_errors": r2_errors, "r2_messages": r2_messages, "r2_queues-config": r2_queues$$config, - "r2_r2-action": r2_r2$$action, "r2_rule": r2_rule, "r2_v4_response": r2_v4_response, }, @@ -392,7 +374,6 @@ export const tools: readonly Tool[] = [ "r2_errors": r2_errors, "r2_messages": r2_messages, "r2_queues-config": r2_queues$$config, - "r2_r2-action": r2_r2$$action, "r2_rule": r2_rule, "r2_v4_response": r2_v4_response, "r2_v4_response_failure": r2_v4_response_failure, @@ -408,7 +389,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_eventNotifications_update", title: "Create Event Notification Rules", - description: "Creates rules that send notifications for matching R2 object events to the specified Cloudflare Queue. Rules can filter objects by key prefix and suffix. New rules are added to any existing rules for the queue; a rule that overlaps an existing rule is rejected.", + description: "Creates rules that send notifications for matching R2 object events to the specified Cloudflare Queue. Rules can filter objects by key prefix and suffix. New rules are added to any existing rules for the queue; a rule that overlaps an existing rule is rejected.\n\nPUT /accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}", inputSchema: { type: "object", properties: { @@ -429,6 +410,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -446,18 +428,19 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "queue_id": { - "$ref": "#/$defs/r2_queue_identifier", - "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events." + "description": "ID of the Cloudflare Queue that receives notifications for matching R2 object events.", + "type": "string" } }, "required": [ @@ -472,11 +455,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - "r2_queue_identifier": r2_queue_identifier, - "r2_r2-action": r2_r2$$action$, "r2_rule": r2_rule$, }, }, diff --git a/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts b/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts index 3cb033021..27eb73d90 100644 --- a/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/jobs/outputs.ts @@ -61,7 +61,14 @@ export const r2_storage_class_migration_job: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/r2_r2_bucket_job_status" + "enum": [ + "ENQUEUED", + "RUNNING", + "COMPLETED", + "FAILED", + "CANCELLED" + ], + "type": "string" }, "storageClassMigration": { "properties": { diff --git a/src/generated/forge-mcp/r2/buckets/jobs/schemas.ts b/src/generated/forge-mcp/r2/buckets/jobs/schemas.ts index 62d82054b..2400c6837 100644 --- a/src/generated/forge-mcp/r2/buckets/jobs/schemas.ts +++ b/src/generated/forge-mcp/r2/buckets/jobs/schemas.ts @@ -16,7 +16,7 @@ export const r2_create_prefix_delete_job_request: JsonSchema = { "type": "string" }, "prefix": { - "description": "Prefix matched against object keys. A non-empty value must end in `/`.\nAn empty string empties the entire bucket.\n", + "description": "Prefix matched against object keys. A non-empty value must end in `/`.\nAn empty string empties the entire bucket.", "type": "string" } }, diff --git a/src/generated/forge-mcp/r2/buckets/jobs/tools.ts b/src/generated/forge-mcp/r2/buckets/jobs/tools.ts index bda5a7d25..99ecac734 100644 --- a/src/generated/forge-mcp/r2/buckets/jobs/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/jobs/tools.ts @@ -6,15 +6,9 @@ import { r2_errors, r2_messages, r2_prefix_delete_job, - r2_r2_bucket_job_status, r2_v4_response, r2_v4_response_failure, } from "../../outputs.js"; -import { - r2_account_identifier, - r2_bucket_name, - r2_r2_bucket_job_status as r2_r2_bucket_job_status$, -} from "../../schemas.js"; import { r2_r2_bucket_job, r2_r2_bucket_jobs_result, @@ -32,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_jobs_create", title: "Create Bucket Job", - description: "Creates a background job for an R2 bucket. The `jobType` field selects the job:\n\n- **`prefixDelete`**: deletes every object whose key begins with `prefix`. A non-empty\n prefix must end in `/`. An empty prefix (`\"\"`) empties the entire bucket.\n- **`storageClassMigration`**: migrates every object in the bucket between storage\n classes. `sourceStorageClass` and `destinationStorageClass` must be provided together\n and must differ; omitting both migrates from `InfrequentAccess` to `Standard`.\n\nPoll the returned `id` with the Get Bucket Job endpoint. Small prefix-delete jobs can\nfinish synchronously and return `COMPLETED`. Objects uploaded after a background job\nstarts are not affected by that job.\n\nFor prefix-delete jobs: abort active multipart uploads before submitting the request,\nsince a synchronously completed job does not abort them, and avoid writing objects or\nstarting multipart uploads while a bucket-emptying job is in progress. Each request\ncreates a distinct job, and the number of active prefix-delete jobs is limited per\nbucket; wait for an existing job to finish before retrying a request rejected with\nHTTP 429. A bucket cannot be emptied while event notifications are configured (HTTP 409\n/ error code 10083). To protect a bucket with R2 Data Catalog enabled, send the\n`cf-r2-data-catalog-check` header; a conflict is returned with HTTP 409 / error code\n10081.\n\nPrefix-delete jobs require permission to delete objects; storage-class migration jobs\nrequire permission to write to the bucket.\n\nConfirm with the user before calling this tool. This starts a background job that either permanently deletes every object under the given prefix (every object in the bucket for an empty prefix) or migrates every object in the bucket between storage classes.", + description: "Creates a background job for an R2 bucket. The `jobType` field selects the job:\n\n- **`prefixDelete`**: deletes every object whose key begins with `prefix`. A non-empty\n prefix must end in `/`. An empty prefix (`\"\"`) empties the entire bucket.\n- **`storageClassMigration`**: migrates every object in the bucket between storage\n classes. `sourceStorageClass` and `destinationStorageClass` must be provided together\n and must differ; omitting both migrates from `InfrequentAccess` to `Standard`.\n\nPoll the returned `id` with the Get Bucket Job endpoint. Small prefix-delete jobs can\nfinish synchronously and return `COMPLETED`. Objects uploaded after a background job\nstarts are not affected by that job.\n\nFor prefix-delete jobs: abort active multipart uploads before submitting the request,\nsince a synchronously completed job does not abort them, and avoid writing objects or\nstarting multipart uploads while a bucket-emptying job is in progress. Each request\ncreates a distinct job, and the number of active prefix-delete jobs is limited per\nbucket; wait for an existing job to finish before retrying a request rejected with\nHTTP 429. A bucket cannot be emptied while event notifications are configured (HTTP 409\n/ error code 10083). To protect a bucket with R2 Data Catalog enabled, send the\n`cf-r2-data-catalog-check` header; a conflict is returned with HTTP 409 / error code\n10081.\n\nPrefix-delete jobs require permission to delete objects; storage-class migration jobs\nrequire permission to write to the bucket.\n\nConfirm with the user before calling this tool. This starts a background job that either permanently deletes every object under the given prefix (every object in the bucket for an empty prefix) or migrates every object in the bucket between storage classes.\n\nPOST /accounts/{account_id}/r2/buckets/{bucket_name}/jobs", inputSchema: { type: "object", properties: { @@ -47,6 +41,7 @@ export const tools: readonly Tool[] = [ ] }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-data-catalog-check": { "description": "For prefix-delete jobs, set this header to reject the request when R2 Data Catalog is enabled for the bucket.", @@ -68,14 +63,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -89,9 +85,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, "r2_create_prefix_delete_job_request": r2_create_prefix_delete_job_request, "r2_create_storage_class_migration_job_request": r2_create_storage_class_migration_job_request, }, @@ -115,7 +110,6 @@ export const tools: readonly Tool[] = [ "r2_messages": r2_messages, "r2_prefix_delete_job": r2_prefix_delete_job, "r2_r2_bucket_job": r2_r2_bucket_job, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status, "r2_storage_class_migration_job": r2_storage_class_migration_job, "r2_v4_response": r2_v4_response, }, @@ -166,7 +160,6 @@ export const tools: readonly Tool[] = [ "r2_messages": r2_messages, "r2_prefix_delete_job": r2_prefix_delete_job, "r2_r2_bucket_job": r2_r2_bucket_job, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status, "r2_storage_class_migration_job": r2_storage_class_migration_job, "r2_v4_response": r2_v4_response, "r2_v4_response_failure": r2_v4_response_failure, @@ -184,11 +177,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_jobs_get", title: "Get Bucket Job", - description: "Gets the current status of a background job of any type for an R2 bucket. Poll this\nendpoint with the job identifier returned by Create Bucket Job until the status is\n`COMPLETED`, `FAILED`, or `CANCELLED`.", + description: "Gets the current status of a background job of any type for an R2 bucket. Poll this\nendpoint with the job identifier returned by Create Bucket Job until the status is\n`COMPLETED`, `FAILED`, or `CANCELLED`.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/jobs/{job_id}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -206,14 +200,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "job_id": { "description": "Identifier returned when the background job was submitted.", @@ -231,10 +226,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -255,7 +247,6 @@ export const tools: readonly Tool[] = [ "r2_messages": r2_messages, "r2_prefix_delete_job": r2_prefix_delete_job, "r2_r2_bucket_job": r2_r2_bucket_job, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status, "r2_storage_class_migration_job": r2_storage_class_migration_job, "r2_v4_response": r2_v4_response, }, @@ -302,7 +293,6 @@ export const tools: readonly Tool[] = [ "r2_messages": r2_messages, "r2_prefix_delete_job": r2_prefix_delete_job, "r2_r2_bucket_job": r2_r2_bucket_job, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status, "r2_storage_class_migration_job": r2_storage_class_migration_job, "r2_v4_response": r2_v4_response, "r2_v4_response_failure": r2_v4_response_failure, @@ -318,11 +308,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_jobs_list", title: "List Bucket Jobs", - description: "Lists background jobs for an R2 bucket, including prefix-delete (and bucket-emptying)\njobs and storage-class migration jobs. Jobs of every type are returned unless `jobType`\nis provided.", + description: "Lists background jobs for an R2 bucket, including prefix-delete (and bucket-emptying)\njobs and storage-class migration jobs. Jobs of every type are returned unless `jobType`\nis provided.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/jobs", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -340,14 +331,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -357,6 +349,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "continuationToken": { "description": "Pagination token received as `nextContinuationToken` in the previous response.", @@ -375,8 +368,15 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "status": { - "$ref": "#/$defs/r2_r2_bucket_job_status", - "description": "Restricts results to jobs with the specified status. `jobType` is required when this parameter is provided." + "description": "Restricts results to jobs with the specified status. `jobType` is required when this parameter is provided.", + "enum": [ + "ENQUEUED", + "RUNNING", + "COMPLETED", + "FAILED", + "CANCELLED" + ], + "type": "string" } }, "type": "object" @@ -385,11 +385,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -410,7 +406,6 @@ export const tools: readonly Tool[] = [ "r2_messages": r2_messages, "r2_prefix_delete_job": r2_prefix_delete_job, "r2_r2_bucket_job": r2_r2_bucket_job, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status, "r2_r2_bucket_jobs_result": r2_r2_bucket_jobs_result, "r2_storage_class_migration_job": r2_storage_class_migration_job, "r2_v4_response": r2_v4_response, @@ -458,7 +453,6 @@ export const tools: readonly Tool[] = [ "r2_messages": r2_messages, "r2_prefix_delete_job": r2_prefix_delete_job, "r2_r2_bucket_job": r2_r2_bucket_job, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status, "r2_r2_bucket_jobs_result": r2_r2_bucket_jobs_result, "r2_storage_class_migration_job": r2_storage_class_migration_job, "r2_v4_response": r2_v4_response, diff --git a/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts b/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts index 61d2ebcef..0f5e4b2b2 100644 --- a/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/lifecycle/tools.ts @@ -8,7 +8,6 @@ import { r2_v4_response, r2_v4_response_failure, } from "../../outputs.js"; -import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; import { r2_lifecycle$$age$$condition, r2_lifecycle$$config, @@ -30,11 +29,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_lifecycle_get", title: "Get Object Lifecycle Rules", - description: "Get object lifecycle rules for a bucket.", + description: "Get object lifecycle rules for a bucket.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/lifecycle", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -52,14 +52,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -72,10 +73,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -154,7 +152,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_lifecycle_update", title: "Set Object Lifecycle Rules", - description: "Replaces the object lifecycle rules for an R2 bucket. Rules match object-key prefixes and can expire objects, abort incomplete multipart uploads, or transition objects to Infrequent Access storage.\n\nConfirm with the user before calling this tool. This replaces the R2 bucket's object lifecycle rules and can schedule object deletion or abort multipart uploads.", + description: "Replaces the object lifecycle rules for an R2 bucket. Rules match object-key prefixes and can expire objects, abort incomplete multipart uploads, or transition objects to Infrequent Access storage.\n\nConfirm with the user before calling this tool. This replaces the R2 bucket's object lifecycle rules and can schedule object deletion or abort multipart uploads.\n\nPUT /accounts/{account_id}/r2/buckets/{bucket_name}/lifecycle", inputSchema: { type: "object", properties: { @@ -170,6 +168,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -187,14 +186,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -208,9 +208,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, "r2_lifecycle-age-condition": r2_lifecycle$$age$$condition$, "r2_lifecycle-date-condition": r2_lifecycle$$date$$condition$, "r2_lifecycle-rule": r2_lifecycle$$rule$, diff --git a/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts b/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts index 2f0f40df7..06a20fa02 100644 --- a/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/localUploads/tools.ts @@ -8,7 +8,6 @@ import { r2_v4_response, r2_v4_response_failure, } from "../../outputs.js"; -import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; import { r2_local_uploads_configuration } from "./outputs.js"; /** @@ -18,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_localUploads_get", title: "Get Local Uploads Configuration", - description: "Gets the Local Uploads configuration for an R2 bucket. When enabled, object data is written near the client before being asynchronously copied to the bucket's primary region. Local Uploads is only supported in the default jurisdiction.\n\nThis method is beta.", + description: "Gets the Local Uploads configuration for an R2 bucket. When enabled, object data is written near the client before being asynchronously copied to the bucket's primary region. Local Uploads is only supported in the default jurisdiction.\n\nThis method is beta.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/local-uploads", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -43,10 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -121,7 +118,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_localUploads_update", title: "Set Local Uploads Configuration", - description: "Enables or disables Local Uploads for an R2 bucket in the default jurisdiction. When enabled, object data is written near the client before being asynchronously copied to the bucket's primary region. Disabling Local Uploads allows existing replication to finish.\n\nThis method is beta.", + description: "Enables or disables Local Uploads for an R2 bucket in the default jurisdiction. When enabled, object data is written near the client before being asynchronously copied to the bucket's primary region. Disabling Local Uploads allows existing replication to finish.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/r2/buckets/{bucket_name}/local-uploads", inputSchema: { type: "object", properties: { @@ -138,14 +135,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -159,10 +157,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", diff --git a/src/generated/forge-mcp/r2/buckets/locks/tools.ts b/src/generated/forge-mcp/r2/buckets/locks/tools.ts index 52b6e3fce..1d9ffaf71 100644 --- a/src/generated/forge-mcp/r2/buckets/locks/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/locks/tools.ts @@ -8,7 +8,6 @@ import { r2_v4_response, r2_v4_response_failure, } from "../../outputs.js"; -import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; import { r2_bucket$$lock$$rule, r2_bucket$$lock$$rule$$config, @@ -30,11 +29,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_locks_delete", title: "Delete Bucket Lock Rules", - description: "Delete all lock rules for a bucket.\n\nConfirm with the user before calling this tool. This removes all lock rules from the R2 bucket, removing their protection against object deletion and overwriting.", + description: "Delete all lock rules for a bucket.\n\nConfirm with the user before calling this tool. This removes all lock rules from the R2 bucket, removing their protection against object deletion and overwriting.\n\nDELETE /accounts/{account_id}/r2/buckets/{bucket_name}/lock", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -52,14 +52,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -72,10 +73,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", @@ -120,11 +118,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_locks_get", title: "Get Bucket Lock Rules", - description: "Get lock rules for a bucket.", + description: "Get lock rules for a bucket.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/lock", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -142,14 +141,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -162,10 +162,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -244,7 +241,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_locks_update", title: "Set Bucket Lock Rules", - description: "Replaces the lock rules for an R2 bucket. Enabled rules prevent matching objects from being overwritten or deleted for a duration, until a date, or indefinitely. Rules apply to existing and newly uploaded objects.\n\nConfirm with the user before calling this tool. This replaces the R2 bucket's lock rules. Removing or shortening retention can allow objects to be overwritten or deleted.", + description: "Replaces the lock rules for an R2 bucket. Enabled rules prevent matching objects from being overwritten or deleted for a duration, until a date, or indefinitely. Rules apply to existing and newly uploaded objects.\n\nConfirm with the user before calling this tool. This replaces the R2 bucket's lock rules. Removing or shortening retention can allow objects to be overwritten or deleted.\n\nPUT /accounts/{account_id}/r2/buckets/{bucket_name}/lock", inputSchema: { type: "object", properties: { @@ -260,6 +257,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -277,14 +275,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -298,10 +297,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, "r2_bucket-lock-rule": r2_bucket$$lock$$rule$, - "r2_bucket_name": r2_bucket_name, "r2_lock-rule-age-condition": r2_lock$$rule$$age$$condition$, "r2_lock-rule-date-condition": r2_lock$$rule$$date$$condition$, "r2_lock-rule-indefinite-condition": r2_lock$$rule$$indefinite$$condition$, diff --git a/src/generated/forge-mcp/r2/buckets/metrics/tools.ts b/src/generated/forge-mcp/r2/buckets/metrics/tools.ts index 78f453ff4..4c4a2c832 100644 --- a/src/generated/forge-mcp/r2/buckets/metrics/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/metrics/tools.ts @@ -8,7 +8,6 @@ import { r2_v4_response, r2_v4_response_failure, } from "../../outputs.js"; -import { r2_account_identifier } from "../../schemas.js"; import { r2_account_level_metrics, r2_class_based_metrics, @@ -22,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_metrics_list", title: "Get Account-Level Metrics", - description: "Get Storage/Object Count Metrics across all buckets in your account. Note that Account-Level Metrics may not immediately reflect the latest data.", + description: "Get Storage/Object Count Metrics across all buckets in your account. Note that Account-Level Metrics may not immediately reflect the latest data.\n\nGET /accounts/{account_id}/r2/metrics", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" } }, "required": [ @@ -42,9 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/r2/buckets/outputs.ts b/src/generated/forge-mcp/r2/buckets/outputs.ts index 766d7a57e..9dfb253ce 100644 --- a/src/generated/forge-mcp/r2/buckets/outputs.ts +++ b/src/generated/forge-mcp/r2/buckets/outputs.ts @@ -12,50 +12,40 @@ export const r2_bucket: JsonSchema = { "type": "string" }, "jurisdiction": { - "$ref": "#/$defs/r2_jurisdiction" + "enum": [ + "default", + "eu", + "us", + "fedramp", + "fedramp-high" + ], + "type": "string" }, "location": { - "$ref": "#/$defs/r2_bucket_location" + "enum": [ + "apac", + "eeur", + "enam", + "weur", + "wnam", + "oc" + ], + "type": "string" }, "name": { - "$ref": "#/$defs/r2_bucket_name" + "type": "string" }, "storage_class": { - "$ref": "#/$defs/r2_storage_class" + "enum": [ + "Standard", + "InfrequentAccess" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `r2_bucket_location` in responses. - */ -export const r2_bucket_location: JsonSchema = { - "enum": [ - "apac", - "eeur", - "enam", - "weur", - "wnam", - "oc" - ], - "type": "string" -}; - -/** - * The schema of `r2_jurisdiction` in responses. - */ -export const r2_jurisdiction: JsonSchema = { - "enum": [ - "default", - "eu", - "us", - "fedramp", - "fedramp-high" - ], - "type": "string" -}; - /** * The schema of `r2_result_info` in responses. */ diff --git a/src/generated/forge-mcp/r2/buckets/schemas.ts b/src/generated/forge-mcp/r2/buckets/schemas.ts deleted file mode 100644 index 783fffbba..000000000 --- a/src/generated/forge-mcp/r2/buckets/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `r2_bucket_location`. - */ -export const r2_bucket_location: JsonSchema = { - "description": "Location of the bucket.", - "enum": [ - "apac", - "eeur", - "enam", - "weur", - "wnam", - "oc" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/r2/buckets/sippy/schemas.ts b/src/generated/forge-mcp/r2/buckets/sippy/schemas.ts index b9d3e0eff..56a3cd46d 100644 --- a/src/generated/forge-mcp/r2/buckets/sippy/schemas.ts +++ b/src/generated/forge-mcp/r2/buckets/sippy/schemas.ts @@ -12,7 +12,7 @@ export const r2_enable_sippy_aws: JsonSchema = { "description": "R2 bucket to copy objects to.", "properties": { "accessKeyId": { - "description": "ID of a Cloudflare API token.\nThis is the value labelled \"Access Key ID\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.\n", + "description": "ID of a Cloudflare API token.\nThis is the value labelled \"Access Key ID\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.", "type": "string" }, "provider": { @@ -22,7 +22,7 @@ export const r2_enable_sippy_aws: JsonSchema = { "type": "string" }, "secretAccessKey": { - "description": "Value of a Cloudflare API token.\nThis is the value labelled \"Secret Access Key\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.\n", + "description": "Value of a Cloudflare API token.\nThis is the value labelled \"Secret Access Key\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.", "type": "string" } }, @@ -69,7 +69,7 @@ export const r2_enable_sippy_azure: JsonSchema = { "description": "R2 bucket to copy objects to.", "properties": { "accessKeyId": { - "description": "ID of a Cloudflare API token.\nThis is the value labelled \"Access Key ID\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.\n", + "description": "ID of a Cloudflare API token.\nThis is the value labelled \"Access Key ID\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.", "type": "string" }, "provider": { @@ -79,7 +79,7 @@ export const r2_enable_sippy_azure: JsonSchema = { "type": "string" }, "secretAccessKey": { - "description": "Value of a Cloudflare API token.\nThis is the value labelled \"Secret Access Key\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.\n", + "description": "Value of a Cloudflare API token.\nThis is the value labelled \"Secret Access Key\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.", "type": "string" } }, @@ -126,7 +126,7 @@ export const r2_enable_sippy_gcs: JsonSchema = { "description": "R2 bucket to copy objects to.", "properties": { "accessKeyId": { - "description": "ID of a Cloudflare API token.\nThis is the value labelled \"Access Key ID\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.\n", + "description": "ID of a Cloudflare API token.\nThis is the value labelled \"Access Key ID\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.", "type": "string" }, "provider": { @@ -136,7 +136,7 @@ export const r2_enable_sippy_gcs: JsonSchema = { "type": "string" }, "secretAccessKey": { - "description": "Value of a Cloudflare API token.\nThis is the value labelled \"Secret Access Key\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.\n", + "description": "Value of a Cloudflare API token.\nThis is the value labelled \"Secret Access Key\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.", "type": "string" } }, @@ -179,7 +179,7 @@ export const r2_enable_sippy_s3: JsonSchema = { "description": "R2 bucket to copy objects to.", "properties": { "accessKeyId": { - "description": "ID of a Cloudflare API token.\nThis is the value labelled \"Access Key ID\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.\n", + "description": "ID of a Cloudflare API token.\nThis is the value labelled \"Access Key ID\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.", "type": "string" }, "provider": { @@ -189,7 +189,7 @@ export const r2_enable_sippy_s3: JsonSchema = { "type": "string" }, "secretAccessKey": { - "description": "Value of a Cloudflare API token.\nThis is the value labelled \"Secret Access Key\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.\n", + "description": "Value of a Cloudflare API token.\nThis is the value labelled \"Secret Access Key\" when creating an API.\ntoken from the [R2 dashboard](https://dash.cloudflare.com/?to=/:account/r2/api-tokens).\n\nSippy will use this token when writing objects to R2, so it is\nbest to scope this token to the bucket you're enabling Sippy for.", "type": "string" } }, diff --git a/src/generated/forge-mcp/r2/buckets/sippy/tools.ts b/src/generated/forge-mcp/r2/buckets/sippy/tools.ts index 664e2b63e..f1c71950e 100644 --- a/src/generated/forge-mcp/r2/buckets/sippy/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/sippy/tools.ts @@ -8,7 +8,6 @@ import { r2_v4_response, r2_v4_response_failure, } from "../../outputs.js"; -import { r2_account_identifier, r2_bucket_name } from "../../schemas.js"; import { r2_sippy } from "./outputs.js"; import { r2_enable_sippy_aws, @@ -24,11 +23,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_sippy_delete", title: "Disable Sippy", - description: "Disables Sippy on-demand migration for an R2 bucket. Requests no longer fetch missing objects from the source storage provider. Objects already copied to R2 remain in the bucket.\n\nConfirm with the user before calling this tool. This disables Sippy on-demand migration for the R2 bucket. Objects already copied to R2 remain in the bucket.", + description: "Disables Sippy on-demand migration for an R2 bucket. Requests no longer fetch missing objects from the source storage provider. Objects already copied to R2 remain in the bucket.\n\nConfirm with the user before calling this tool. This disables Sippy on-demand migration for the R2 bucket. Objects already copied to R2 remain in the bucket.\n\nDELETE /accounts/{account_id}/r2/buckets/{bucket_name}/sippy", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -46,14 +46,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -66,10 +67,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -159,11 +157,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_sippy_get", title: "Get Sippy Configuration", - description: "Gets configuration for Sippy for an existing R2 bucket.", + description: "Gets configuration for Sippy for an existing R2 bucket.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/sippy", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -181,14 +180,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -201,10 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -282,7 +279,7 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_sippy_update", title: "Enable Sippy", - description: "Configures and enables Sippy on-demand migration for an R2 bucket. When a requested object is missing from R2, Sippy serves it from the configured source storage provider and copies it to R2.", + description: "Configures and enables Sippy on-demand migration for an R2 bucket. When a requested object is missing from R2, Sippy serves it from the configured source storage provider and copies it to R2.\n\nPUT /accounts/{account_id}/r2/buckets/{bucket_name}/sippy", inputSchema: { type: "object", properties: { @@ -303,6 +300,7 @@ export const tools: readonly Tool[] = [ ] }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -320,14 +318,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -341,9 +340,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, "r2_enable_sippy_aws": r2_enable_sippy_aws, "r2_enable_sippy_azure": r2_enable_sippy_azure, "r2_enable_sippy_gcs": r2_enable_sippy_gcs, diff --git a/src/generated/forge-mcp/r2/buckets/tools.ts b/src/generated/forge-mcp/r2/buckets/tools.ts index 98bf3b16c..ea6bb31e8 100644 --- a/src/generated/forge-mcp/r2/buckets/tools.ts +++ b/src/generated/forge-mcp/r2/buckets/tools.ts @@ -3,26 +3,12 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - r2_bucket_name, r2_errors, r2_messages, - r2_storage_class, r2_v4_response, r2_v4_response_failure, } from "../outputs.js"; -import { - r2_account_identifier, - r2_bucket_name as r2_bucket_name$, - r2_storage_class as r2_storage_class$, -} from "../schemas.js"; -import { - r2_bucket, - r2_bucket_location, - r2_jurisdiction, - r2_result_info, - r2_v4_response_list, -} from "./outputs.js"; -import { r2_bucket_location as r2_bucket_location$ } from "./schemas.js"; +import { r2_bucket, r2_result_info, r2_v4_response_list } from "./outputs.js"; /** * The tools of `r2.buckets`. @@ -31,24 +17,36 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_create", title: "Create Bucket", - description: "Creates an R2 bucket in the account and selected jurisdiction, with an optional location hint and default storage class.", + description: "Creates an R2 bucket in the account and selected jurisdiction, with an optional location hint and default storage class.\n\nPOST /accounts/{account_id}/r2/buckets", inputSchema: { type: "object", properties: { "body": { "properties": { "locationHint": { - "$ref": "#/$defs/r2_bucket_location", - "description": "Location of the bucket." + "description": "Location of the bucket.", + "enum": [ + "apac", + "eeur", + "enam", + "weur", + "wnam", + "oc" + ], + "type": "string" }, "name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "storageClass": { - "$ref": "#/$defs/r2_storage_class", "default": "Standard", - "description": "Storage class for newly uploaded objects, unless specified otherwise." + "description": "Storage class for newly uploaded objects, unless specified otherwise.", + "enum": [ + "Standard", + "InfrequentAccess" + ], + "type": "string" } }, "required": [ @@ -57,6 +55,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -74,10 +73,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" } }, "required": [ @@ -90,12 +90,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_location": r2_bucket_location$, - "r2_bucket_name": r2_bucket_name$, - "r2_storage_class": r2_storage_class$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -113,12 +108,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, }, }, @@ -159,12 +150,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, "r2_v4_response_failure": r2_v4_response_failure, }, @@ -180,11 +167,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_createByName", title: "Create Bucket (by name)", - description: "Creates a new R2 bucket using the name from the URL path. Similar to `r2-create-bucket` (POST), but the bucket name comes from the path and the optional storage class is supplied via the `cf-r2-storage-class` header. There is no request body. Unlike the POST variant, this endpoint does not accept a location hint — the bucket is placed in the R2 region for the caller's edge colo. Use the POST variant if you need to set a `locationHint`.", + description: "Creates a new R2 bucket using the name from the URL path. Similar to `r2-create-bucket` (POST), but the bucket name comes from the path and the optional storage class is supplied via the `cf-r2-storage-class` header. There is no request body. Unlike the POST variant, this endpoint does not accept a location hint — the bucket is placed in the R2 region for the caller's edge colo. Use the POST variant if you need to set a `locationHint`.\n\nPUT /accounts/{account_id}/r2/buckets/{bucket_name}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -199,20 +187,26 @@ export const tools: readonly Tool[] = [ "type": "string" }, "cf-r2-storage-class": { - "$ref": "#/$defs/r2_storage_class" + "description": "Storage class for newly uploaded objects, unless specified otherwise.", + "enum": [ + "Standard", + "InfrequentAccess" + ], + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -225,11 +219,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name$, - "r2_storage_class": r2_storage_class$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -247,12 +237,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, }, }, @@ -293,12 +279,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, "r2_v4_response_failure": r2_v4_response_failure, }, @@ -314,11 +296,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_delete", title: "Delete Bucket", - description: "Deletes an empty R2 bucket and its configuration. The bucket must have no objects, no in-progress multipart uploads, and no event notification rules; otherwise the request fails.\n\nConfirm with the user before calling this tool. This permanently deletes the empty R2 bucket and its configuration.", + description: "Deletes an empty R2 bucket and its configuration. The bucket must have no objects, no in-progress multipart uploads, and no event notification rules; otherwise the request fails.\n\nConfirm with the user before calling this tool. This permanently deletes the empty R2 bucket and its configuration.\n\nDELETE /accounts/{account_id}/r2/buckets/{bucket_name}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -336,14 +319,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -356,10 +340,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/r2_v4_response", @@ -409,11 +390,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_edit", title: "Patch Bucket", - description: "Changes the default storage class for newly uploaded objects in an existing R2 bucket. Existing objects retain their storage class, and individual uploads can override the bucket default.", + description: "Changes the default storage class for newly uploaded objects in an existing R2 bucket. Existing objects retain their storage class, and individual uploads can override the bucket default.\n\nPATCH /accounts/{account_id}/r2/buckets/{bucket_name}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -428,7 +410,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "cf-r2-storage-class": { - "$ref": "#/$defs/r2_storage_class" + "description": "Storage class for newly uploaded objects, unless specified otherwise.", + "enum": [ + "Standard", + "InfrequentAccess" + ], + "type": "string" } }, "required": [ @@ -437,14 +424,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -458,11 +446,7 @@ export const tools: readonly Tool[] = [ "path", "headers" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name$, - "r2_storage_class": r2_storage_class$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -480,12 +464,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, }, }, @@ -528,12 +508,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, "r2_v4_response_failure": r2_v4_response_failure, }, @@ -549,11 +525,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_get", title: "Get Bucket", - description: "Gets properties of an existing R2 bucket.", + description: "Gets properties of an existing R2 bucket.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -571,14 +548,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -591,10 +569,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -612,12 +587,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, }, }, @@ -660,12 +631,8 @@ export const tools: readonly Tool[] = [ }, $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, "r2_v4_response_failure": r2_v4_response_failure, }, @@ -680,11 +647,12 @@ export const tools: readonly Tool[] = [ { name: "r2_buckets_list", title: "List Buckets", - description: "Lists a page of R2 buckets in the account and selected jurisdiction. Use the returned cursor to retrieve the next page.", + description: "Lists a page of R2 buckets in the account and selected jurisdiction. Use the returned cursor to retrieve the next page.\n\nGET /accounts/{account_id}/r2/buckets", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -702,10 +670,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" } }, "required": [ @@ -714,6 +683,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor received during the last List Buckets call. R2 buckets are paginated using cursors instead of page numbers.", @@ -754,9 +724,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -785,13 +753,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, "r2_result_info": r2_result_info, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, "r2_v4_response_list": r2_v4_response_list, }, @@ -845,13 +809,9 @@ export const tools: readonly Tool[] = [ }, $defs: { "r2_bucket": r2_bucket, - "r2_bucket_location": r2_bucket_location, - "r2_bucket_name": r2_bucket_name, "r2_errors": r2_errors, - "r2_jurisdiction": r2_jurisdiction, "r2_messages": r2_messages, "r2_result_info": r2_result_info, - "r2_storage_class": r2_storage_class, "r2_v4_response": r2_v4_response, "r2_v4_response_failure": r2_v4_response_failure, "r2_v4_response_list": r2_v4_response_list, diff --git a/src/generated/forge-mcp/r2/objects/outputs.ts b/src/generated/forge-mcp/r2/objects/outputs.ts index 473e2bea7..a2cf795c9 100644 --- a/src/generated/forge-mcp/r2/objects/outputs.ts +++ b/src/generated/forge-mcp/r2/objects/outputs.ts @@ -70,7 +70,11 @@ export const r2_r2_object: JsonSchema = { "type": "boolean" }, "storage_class": { - "$ref": "#/$defs/r2_storage_class" + "enum": [ + "Standard", + "InfrequentAccess" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/r2/objects/tools.ts b/src/generated/forge-mcp/r2/objects/tools.ts index 8f5e640ca..f49edb389 100644 --- a/src/generated/forge-mcp/r2/objects/tools.ts +++ b/src/generated/forge-mcp/r2/objects/tools.ts @@ -6,12 +6,9 @@ import { r2_errors, r2_messages, r2_prefix_delete_job, - r2_r2_bucket_job_status, - r2_storage_class, r2_v4_response, r2_v4_response_failure, } from "../outputs.js"; -import { r2_account_identifier, r2_bucket_name } from "../schemas.js"; import { r2_r2_delete_object_result, r2_r2_list_objects_result_info, @@ -26,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "r2_objects_bulkDelete", title: "Delete Objects", - description: "Deletes the listed objects from an R2 bucket. Provide a JSON array of 1 to 1000 object\nkeys in the request body.\n\nIf any key cannot be deleted (for example, because it does not exist or is locked), the\nremaining keys are still deleted, but the response is HTTP 200 with `success: false`,\n`result: null` and one entry in `errors` per failed key. The entries in `errors` do not\nidentify which key failed.\n\nTo delete every object under a prefix, or to empty a bucket, create a `prefixDelete` job\nwith the Create Bucket Job endpoint instead. The `prefix` query parameter on this endpoint\nis deprecated; it creates the same job, but responses to it carry a `Deprecation` header\nand a message pointing to Create Bucket Job.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.\n\nConfirm with the user before calling this tool. This permanently deletes the listed R2 objects. With the deprecated `prefix` parameter it deletes every object under that prefix, and an empty prefix empties the bucket.", + description: "Deletes the listed objects from an R2 bucket. Provide a JSON array of 1 to 1000 object\nkeys in the request body.\n\nIf any key cannot be deleted (for example, because it does not exist or is locked), the\nremaining keys are still deleted, but the response is HTTP 200 with `success: false`,\n`result: null` and one entry in `errors` per failed key. The entries in `errors` do not\nidentify which key failed.\n\nTo delete every object under a prefix, or to empty a bucket, create a `prefixDelete` job\nwith the Create Bucket Job endpoint instead. The `prefix` query parameter on this endpoint\nis deprecated; it creates the same job, but responses to it carry a `Deprecation` header\nand a message pointing to Create Bucket Job.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.\n\nConfirm with the user before calling this tool. This permanently deletes the listed R2 objects. With the deprecated `prefix` parameter it deletes every object under that prefix, and an empty prefix empties the bucket.\n\nDELETE /accounts/{account_id}/r2/buckets/{bucket_name}/objects", inputSchema: { type: "object", properties: { @@ -40,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "headers": { + "additionalProperties": false, "properties": { "cf-r2-data-catalog-check": { "description": "Set this header to reject the operation when R2 Data Catalog is enabled for the bucket.", @@ -61,14 +59,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -78,10 +77,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "prefix": { "deprecated": true, - "description": "Deprecated. Create a `prefixDelete` job with the Create Bucket Job endpoint instead.\nWhen present, the request body is ignored and a prefix-delete job is created for this\nprefix, exactly as Create Bucket Job does; an empty value empties the bucket. The\nresponse is the job descriptor, with a `Deprecation` header and a deprecation message\nin `messages`.\n", + "description": "Deprecated. Create a `prefixDelete` job with the Create Bucket Job endpoint instead.\nWhen present, the request body is ignored and a prefix-delete job is created for this\nprefix, exactly as Create Bucket Job does; an empty value empties the bucket. The\nresponse is the job descriptor, with a `Deprecation` header and a deprecation message\nin `messages`.", "type": "string" } }, @@ -91,10 +91,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "oneOf": [ @@ -161,7 +158,6 @@ export const tools: readonly Tool[] = [ "r2_errors": r2_errors, "r2_messages": r2_messages, "r2_prefix_delete_job": r2_prefix_delete_job, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status, "r2_r2_delete_object_result": r2_r2_delete_object_result, "r2_v4_response_failure": r2_v4_response_failure, }, @@ -252,7 +248,6 @@ export const tools: readonly Tool[] = [ "r2_errors": r2_errors, "r2_messages": r2_messages, "r2_prefix_delete_job": r2_prefix_delete_job, - "r2_r2_bucket_job_status": r2_r2_bucket_job_status, "r2_r2_delete_object_result": r2_r2_delete_object_result, "r2_v4_response_failure": r2_v4_response_failure, }, @@ -272,11 +267,12 @@ export const tools: readonly Tool[] = [ { name: "r2_objects_delete", title: "Delete Object", - description: "Deletes an object from an R2 bucket.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.\n\nConfirm with the user before calling this tool. This permanently deletes the specified object from the R2 bucket.", + description: "Deletes an object from an R2 bucket.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.\n\nConfirm with the user before calling this tool. This permanently deletes the specified object from the R2 bucket.\n\nDELETE /accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -294,17 +290,18 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "object_key": { - "description": "The key (name) of the object to delete. May contain slashes for path-like keys.\nSlashes (`/`) within the key MUST be sent literally and MUST NOT be percent-encoded\n(i.e. `%2F`); other reserved characters should be percent-encoded as usual.\n", + "description": "The key (name) of the object to delete. May contain slashes for path-like keys.\nSlashes (`/`) within the key MUST be sent literally and MUST NOT be percent-encoded\n(i.e. `%2F`); other reserved characters should be percent-encoded as usual.", "type": "string" } }, @@ -319,10 +316,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -398,14 +392,15 @@ export const tools: readonly Tool[] = [ { name: "r2_objects_get", title: "Get Object", - description: "Retrieves an object from an R2 bucket. Returns the object body along with metadata headers.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.", + description: "Retrieves an object from an R2 bucket. Returns the object body along with metadata headers.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "If-Modified-Since": { - "description": "Returns the object only if it has been modified since the specified time.\nMust be formatted as an HTTP-date (RFC 7231), e.g. `Tue, 15 Jan 2024 10:30:00 GMT`.\n", + "description": "Returns the object only if it has been modified since the specified time.\nMust be formatted as an HTTP-date (RFC 7231), e.g. `Tue, 15 Jan 2024 10:30:00 GMT`.", "type": "string" }, "If-None-Match": { @@ -428,17 +423,18 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" }, "object_key": { - "description": "The key (name) of the object to retrieve. May contain slashes for path-like keys.\nSlashes (`/`) within the key MUST be sent literally and MUST NOT be percent-encoded\n(i.e. `%2F`); other reserved characters should be percent-encoded as usual.\n", + "description": "The key (name) of the object to retrieve. May contain slashes for path-like keys.\nSlashes (`/`) within the key MUST be sent literally and MUST NOT be percent-encoded\n(i.e. `%2F`); other reserved characters should be percent-encoded as usual.", "type": "string" } }, @@ -453,10 +449,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -500,11 +493,12 @@ export const tools: readonly Tool[] = [ { name: "r2_objects_list", title: "List Objects", - description: "Lists objects in an R2 bucket. Returns object metadata including key, size, etag, last modified date, HTTP metadata, and custom metadata.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.", + description: "Lists objects in an R2 bucket. Returns object metadata including key, size, etag, last modified date, HTTP metadata, and custom metadata.\n\nFor most workloads, we recommend using R2's [S3-compatible API](https://developers.cloudflare.com/r2/api/s3/api/) or a [Worker with an R2 binding](https://developers.cloudflare.com/r2/api/workers/workers-api-reference/) instead.\n\nGET /accounts/{account_id}/r2/buckets/{bucket_name}/objects", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "cf-r2-jurisdiction": { "default": "default", @@ -522,14 +516,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" }, "bucket_name": { - "$ref": "#/$defs/r2_bucket_name", - "description": "Name of the bucket." + "description": "Name of the bucket.", + "type": "string" } }, "required": [ @@ -539,6 +534,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor received from a previous List Objects call. Used to retrieve the next page of results.", @@ -568,10 +564,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "r2_account_identifier": r2_account_identifier, - "r2_bucket_name": r2_bucket_name, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -610,7 +603,6 @@ export const tools: readonly Tool[] = [ "r2_r2_list_objects_result_info": r2_r2_list_objects_result_info, "r2_r2_object": r2_r2_object, "r2_r2_object_http_metadata": r2_r2_object_http_metadata, - "r2_storage_class": r2_storage_class, }, }, annotations: { @@ -673,7 +665,6 @@ export const tools: readonly Tool[] = [ "r2_r2_list_objects_result_info": r2_r2_list_objects_result_info, "r2_r2_object": r2_r2_object, "r2_r2_object_http_metadata": r2_r2_object_http_metadata, - "r2_storage_class": r2_storage_class, "r2_v4_response_failure": r2_v4_response_failure, }, }, diff --git a/src/generated/forge-mcp/r2/outputs.ts b/src/generated/forge-mcp/r2/outputs.ts index dd9614f73..b48bae10c 100644 --- a/src/generated/forge-mcp/r2/outputs.ts +++ b/src/generated/forge-mcp/r2/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `r2_bucket_name` in responses. - */ -export const r2_bucket_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `r2_errors` in responses. */ @@ -83,7 +76,14 @@ export const r2_prefix_delete_job: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/r2_r2_bucket_job_status" + "enum": [ + "ENQUEUED", + "RUNNING", + "COMPLETED", + "FAILED", + "CANCELLED" + ], + "type": "string" } }, "required": [ @@ -96,31 +96,6 @@ export const r2_prefix_delete_job: JsonSchema = { "type": "object" }; -/** - * The schema of `r2_r2_bucket_job_status` in responses. - */ -export const r2_r2_bucket_job_status: JsonSchema = { - "enum": [ - "ENQUEUED", - "RUNNING", - "COMPLETED", - "FAILED", - "CANCELLED" - ], - "type": "string" -}; - -/** - * The schema of `r2_storage_class` in responses. - */ -export const r2_storage_class: JsonSchema = { - "enum": [ - "Standard", - "InfrequentAccess" - ], - "type": "string" -}; - /** * The schema of `r2_v4_response` in responses. */ diff --git a/src/generated/forge-mcp/r2/schemas.ts b/src/generated/forge-mcp/r2/schemas.ts deleted file mode 100644 index 98d58344b..000000000 --- a/src/generated/forge-mcp/r2/schemas.ts +++ /dev/null @@ -1,47 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `r2_account_identifier`. - */ -export const r2_account_identifier: JsonSchema = { - "description": "Cloudflare account ID that owns the R2 resource.", - "type": "string" -}; - -/** - * The schema of `r2_bucket_name`. - */ -export const r2_bucket_name: JsonSchema = { - "description": "Name of the bucket.", - "type": "string" -}; - -/** - * The schema of `r2_r2_bucket_job_status`. - */ -export const r2_r2_bucket_job_status: JsonSchema = { - "description": "Lifecycle status of a bucket background job.", - "enum": [ - "ENQUEUED", - "RUNNING", - "COMPLETED", - "FAILED", - "CANCELLED" - ], - "type": "string" -}; - -/** - * The schema of `r2_storage_class`. - */ -export const r2_storage_class: JsonSchema = { - "description": "Storage class for newly uploaded objects, unless specified otherwise.", - "enum": [ - "Standard", - "InfrequentAccess" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts index d1f16821e..05c298e61 100644 --- a/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts +++ b/src/generated/forge-mcp/r2/superSlurper/connectivityPrecheck/tools.ts @@ -11,7 +11,6 @@ import { import { r2$$slurper_GCSLikeCredsSchema, r2$$slurper_GCSSourceSchema, - r2$$slurper_Jurisdiction, r2$$slurper_R2SourceSchema, r2$$slurper_R2TargetSchema, r2$$slurper_S3LikeCredsSchema, @@ -27,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_connectivityPrecheck_source", title: "Check source connectivity", - description: "Check whether tokens are valid against the source bucket", + description: "Check whether tokens are valid against the source bucket\n\nPUT /accounts/{account_id}/slurper/source/connectivity-precheck", inputSchema: { type: "object", properties: { @@ -35,6 +34,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2-slurper_SourceJobSchema" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -50,10 +50,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "r2-slurper_GCSLikeCredsSchema": r2$$slurper_GCSLikeCredsSchema, "r2-slurper_GCSSourceSchema": r2$$slurper_GCSSourceSchema, - "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, "r2-slurper_R2SourceSchema": r2$$slurper_R2SourceSchema, "r2-slurper_S3LikeCredsSchema": r2$$slurper_S3LikeCredsSchema, "r2-slurper_S3SourceSchema": r2$$slurper_S3SourceSchema, @@ -127,7 +127,7 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_connectivityPrecheck_target", title: "Check target connectivity", - description: "Check whether tokens are valid against the target bucket", + description: "Check whether tokens are valid against the target bucket\n\nPUT /accounts/{account_id}/slurper/target/connectivity-precheck", inputSchema: { type: "object", properties: { @@ -135,6 +135,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2-slurper_R2TargetSchema" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -150,8 +151,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, "r2-slurper_R2TargetSchema": r2$$slurper_R2TargetSchema, "r2-slurper_S3LikeCredsSchema": r2$$slurper_S3LikeCredsSchema, }, diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts index df2e864fb..1987066f3 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/logs/tools.ts @@ -17,11 +17,12 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_logs_list", title: "Get job logs", - description: "Gets log entries for an R2 Super Slurper migration job, showing migration status changes, errors, etc.", + description: "Gets log entries for an R2 Super Slurper migration job, showing migration status changes, errors, etc.\n\nGET /accounts/{account_id}/slurper/jobs/{job_id}/logs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -37,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "type": "integer" @@ -51,6 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts index abda1ef97..a08397e63 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/outputs.ts @@ -24,7 +24,13 @@ export const r2$$slurper_JobProgressResponse: JsonSchema = { "type": "integer" }, "status": { - "$ref": "#/$defs/r2-slurper_JobStatus" + "enum": [ + "running", + "paused", + "aborted", + "completed" + ], + "type": "string" }, "transferredObjects": { "type": "integer" @@ -149,7 +155,13 @@ export const r2$$slurper_JobResponse: JsonSchema = { "type": "string" }, "jurisdiction": { - "$ref": "#/$defs/r2-slurper_Jurisdiction" + "enum": [ + "default", + "eu", + "us", + "fedramp" + ], + "type": "string" }, "keys": { "oneOf": [ @@ -186,7 +198,13 @@ export const r2$$slurper_JobResponse: JsonSchema = { ] }, "status": { - "$ref": "#/$defs/r2-slurper_JobStatus" + "enum": [ + "running", + "paused", + "aborted", + "completed" + ], + "type": "string" }, "target": { "properties": { @@ -194,7 +212,13 @@ export const r2$$slurper_JobResponse: JsonSchema = { "type": "string" }, "jurisdiction": { - "$ref": "#/$defs/r2-slurper_Jurisdiction" + "enum": [ + "default", + "eu", + "us", + "fedramp" + ], + "type": "string" }, "vendor": { "enum": [ @@ -208,16 +232,3 @@ export const r2$$slurper_JobResponse: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `r2-slurper_JobStatus` in responses. - */ -export const r2$$slurper_JobStatus: JsonSchema = { - "enum": [ - "running", - "paused", - "aborted", - "completed" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts b/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts index 906c40346..e30eab652 100644 --- a/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts +++ b/src/generated/forge-mcp/r2/superSlurper/jobs/tools.ts @@ -3,7 +3,6 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - r2$$slurper_Jurisdiction, r2$$slurper_api$$v4$$error, r2$$slurper_api$$v4$$failure, r2$$slurper_api$$v4$$message, @@ -12,7 +11,6 @@ import { import { r2$$slurper_GCSLikeCredsSchema, r2$$slurper_GCSSourceSchema, - r2$$slurper_Jurisdiction as r2$$slurper_Jurisdiction$, r2$$slurper_R2SourceSchema, r2$$slurper_R2TargetSchema, r2$$slurper_S3LikeCredsSchema, @@ -22,7 +20,6 @@ import { import { r2$$slurper_JobProgressResponse, r2$$slurper_JobResponse, - r2$$slurper_JobStatus, } from "./outputs.js"; import { r2$$slurper_CreateJobRequest } from "./schemas.js"; @@ -33,11 +30,12 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_abort", title: "Abort a job", - description: "Cancels a specific R2 Super Slurper migration job. Any objects in the middle of a transfer will finish, but no new objects will start transferring.\n\nConfirm with the user before calling this tool. This operation stops a running migration job.", + description: "Cancels a specific R2 Super Slurper migration job. Any objects in the middle of a transfer will finish, but no new objects will start transferring.\n\nConfirm with the user before calling this tool. This operation stops a running migration job.\n\nPUT /accounts/{account_id}/slurper/jobs/{job_id}/abort", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -56,6 +54,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -121,11 +120,12 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_abortAll", title: "Abort all jobs", - description: "Cancels all running R2 Super Slurper migration jobs for the account. Any objects in the middle of a transfer will finish, but no new objects will start transferring.\n\nConfirm with the user before calling this tool. This operation stops every running migration job.", + description: "Cancels all running R2 Super Slurper migration jobs for the account. Any objects in the middle of a transfer will finish, but no new objects will start transferring.\n\nConfirm with the user before calling this tool. This operation stops every running migration job.\n\nPUT /accounts/{account_id}/slurper/jobs/abortAll", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -140,6 +140,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -205,7 +206,7 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_create", title: "Create a job", - description: "Creates a new R2 Super Slurper migration job to transfer objects from a source bucket (e.g. S3, GCS, R2) to R2.", + description: "Creates a new R2 Super Slurper migration job to transfer objects from a source bucket (e.g. S3, GCS, R2) to R2.\n\nPOST /accounts/{account_id}/slurper/jobs", inputSchema: { type: "object", properties: { @@ -213,6 +214,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2-slurper_CreateJobRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -228,11 +230,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "r2-slurper_CreateJobRequest": r2$$slurper_CreateJobRequest, "r2-slurper_GCSLikeCredsSchema": r2$$slurper_GCSLikeCredsSchema, "r2-slurper_GCSSourceSchema": r2$$slurper_GCSSourceSchema, - "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction$, "r2-slurper_R2SourceSchema": r2$$slurper_R2SourceSchema, "r2-slurper_R2TargetSchema": r2$$slurper_R2TargetSchema, "r2-slurper_S3LikeCredsSchema": r2$$slurper_S3LikeCredsSchema, @@ -318,11 +320,12 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_delete", title: "Delete a job", - description: "Deletes a completed, aborted, or errored R2 Super Slurper migration job. Active jobs cannot be deleted.", + description: "Deletes a completed, aborted, or errored R2 Super Slurper migration job. Active jobs cannot be deleted.\n\nDELETE /accounts/{account_id}/slurper/jobs/{job_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -341,6 +344,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -409,11 +413,12 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_get", title: "Get job details", - description: "Retrieves detailed status and configuration for a specific R2 Super Slurper migration job.", + description: "Retrieves detailed status and configuration for a specific R2 Super Slurper migration job.\n\nGET /accounts/{account_id}/slurper/jobs/{job_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -432,6 +437,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -449,8 +455,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "r2-slurper_JobResponse": r2$$slurper_JobResponse, - "r2-slurper_JobStatus": r2$$slurper_JobStatus, - "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, @@ -488,8 +492,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "r2-slurper_JobResponse": r2$$slurper_JobResponse, - "r2-slurper_JobStatus": r2$$slurper_JobStatus, - "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, @@ -503,11 +505,12 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_list", title: "List jobs", - description: "Lists all R2 Super Slurper migration jobs for the account with their status.", + description: "Lists all R2 Super Slurper migration jobs for the account with their status.\n\nGET /accounts/{account_id}/slurper/jobs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -519,6 +522,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "type": "integer" @@ -533,6 +537,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -553,8 +558,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "r2-slurper_JobResponse": r2$$slurper_JobResponse, - "r2-slurper_JobStatus": r2$$slurper_JobStatus, - "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, @@ -595,8 +598,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "r2-slurper_JobResponse": r2$$slurper_JobResponse, - "r2-slurper_JobStatus": r2$$slurper_JobStatus, - "r2-slurper_Jurisdiction": r2$$slurper_Jurisdiction, "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, @@ -614,11 +615,12 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_pause", title: "Pause a job", - description: "Pauses a running R2 Super Slurper migration job. The job can be resumed later to continue transferring.", + description: "Pauses a running R2 Super Slurper migration job. The job can be resumed later to continue transferring.\n\nPUT /accounts/{account_id}/slurper/jobs/{job_id}/pause", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -637,6 +639,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -705,11 +708,12 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_progress", title: "Get job progress", - description: "Retrieves current progress metrics for an R2 Super Slurper migration job", + description: "Retrieves current progress metrics for an R2 Super Slurper migration job\n\nGET /accounts/{account_id}/slurper/jobs/{job_id}/progress", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -728,6 +732,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -745,7 +750,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "r2-slurper_JobProgressResponse": r2$$slurper_JobProgressResponse, - "r2-slurper_JobStatus": r2$$slurper_JobStatus, "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, "r2-slurper_api-v4-success": r2$$slurper_api$$v4$$success, @@ -783,7 +787,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "r2-slurper_JobProgressResponse": r2$$slurper_JobProgressResponse, - "r2-slurper_JobStatus": r2$$slurper_JobStatus, "r2-slurper_api-v4-error": r2$$slurper_api$$v4$$error, "r2-slurper_api-v4-failure": r2$$slurper_api$$v4$$failure, "r2-slurper_api-v4-message": r2$$slurper_api$$v4$$message, @@ -797,11 +800,12 @@ export const tools: readonly Tool[] = [ { name: "r2_superSlurper_jobs_resume", title: "Resume a job", - description: "Resumes a paused R2 Super Slurper migration job, continuing the transfer from where it stopped.", + description: "Resumes a paused R2 Super Slurper migration job, continuing the transfer from where it stopped.\n\nPUT /accounts/{account_id}/slurper/jobs/{job_id}/resume", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -820,6 +824,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/r2/superSlurper/outputs.ts b/src/generated/forge-mcp/r2/superSlurper/outputs.ts index b79b418c7..d13819a82 100644 --- a/src/generated/forge-mcp/r2/superSlurper/outputs.ts +++ b/src/generated/forge-mcp/r2/superSlurper/outputs.ts @@ -3,19 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `r2-slurper_Jurisdiction` in responses. - */ -export const r2$$slurper_Jurisdiction: JsonSchema = { - "enum": [ - "default", - "eu", - "us", - "fedramp" - ], - "type": "string" -}; - /** * The schema of `r2-slurper_api-v4-error` in responses. */ diff --git a/src/generated/forge-mcp/r2/superSlurper/schemas.ts b/src/generated/forge-mcp/r2/superSlurper/schemas.ts index 9f86e607a..82e0c2c9f 100644 --- a/src/generated/forge-mcp/r2/superSlurper/schemas.ts +++ b/src/generated/forge-mcp/r2/superSlurper/schemas.ts @@ -72,19 +72,6 @@ export const r2$$slurper_GCSSourceSchema: JsonSchema = { "type": "object" }; -/** - * The schema of `r2-slurper_Jurisdiction`. - */ -export const r2$$slurper_Jurisdiction: JsonSchema = { - "enum": [ - "default", - "eu", - "us", - "fedramp" - ], - "type": "string" -}; - /** * The schema of `r2-slurper_R2SourceSchema`. */ @@ -94,7 +81,13 @@ export const r2$$slurper_R2SourceSchema: JsonSchema = { "type": "string" }, "jurisdiction": { - "$ref": "#/$defs/r2-slurper_Jurisdiction" + "enum": [ + "default", + "eu", + "us", + "fedramp" + ], + "type": "string" }, "keys": { "oneOf": [ @@ -147,7 +140,13 @@ export const r2$$slurper_R2TargetSchema: JsonSchema = { "type": "string" }, "jurisdiction": { - "$ref": "#/$defs/r2-slurper_Jurisdiction" + "enum": [ + "default", + "eu", + "us", + "fedramp" + ], + "type": "string" }, "secret": { "$ref": "#/$defs/r2-slurper_S3LikeCredsSchema" diff --git a/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts b/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts index cba4d8d38..236b08552 100644 --- a/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts +++ b/src/generated/forge-mcp/r2/temporaryCredentials/tools.ts @@ -8,7 +8,6 @@ import { r2_v4_response, r2_v4_response_failure, } from "../outputs.js"; -import { r2_account_identifier } from "../schemas.js"; import { r2_temp_access_creds_response } from "./outputs.js"; import { r2_temp_access_creds_request } from "./schemas.js"; @@ -19,7 +18,7 @@ export const tools: readonly Tool[] = [ { name: "r2_temporaryCredentials_create", title: "Create Temporary Access Credentials", - description: "Creates temporary access credentials on a bucket that can be optionally scoped to prefixes or objects.", + description: "Creates temporary access credentials on a bucket that can be optionally scoped to prefixes or objects.\n\nPOST /accounts/{account_id}/r2/temp-access-credentials", inputSchema: { type: "object", properties: { @@ -27,10 +26,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/r2_temp_access_creds_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/r2_account_identifier", - "description": "Cloudflare account ID that owns the R2 resource." + "description": "Cloudflare account ID that owns the R2 resource.", + "type": "string" } }, "required": [ @@ -43,8 +43,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "r2_account_identifier": r2_account_identifier, "r2_temp_access_creds_request": r2_temp_access_creds_request, }, }, diff --git a/src/generated/forge-mcp/radar/agentReadiness/tools.ts b/src/generated/forge-mcp/radar/agentReadiness/tools.ts index 810ea2436..7ef78d1e7 100644 --- a/src/generated/forge-mcp/radar/agentReadiness/tools.ts +++ b/src/generated/forge-mcp/radar/agentReadiness/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_agentReadiness_summary", title: "Get agent readiness summary", - description: "Returns a summary of AI agent readiness scores across scanned domains, grouped by the specified dimension. Data is sourced from weekly bulk scans. All values are raw domain counts.", + description: "Returns a summary of AI agent readiness scores across scanned domains, grouped by the specified dimension. Data is sourced from weekly bulk scans. All values are raw domain counts.\n\nGET /radar/agent_readiness/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the agent readiness data dimension by which to group the results.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "date": { "description": "Filters results by the specified date.", @@ -65,6 +67,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ai/bots/tools.ts b/src/generated/forge-mcp/radar/ai/bots/tools.ts index 43d0d6794..1b22c3732 100644 --- a/src/generated/forge-mcp/radar/ai/bots/tools.ts +++ b/src/generated/forge-mcp/radar/ai/bots/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ai_bots_timeseries", title: "Get AI bots HTTP requests time series", - description: "Retrieves AI bots HTTP request volume over time.", + description: "Retrieves AI bots HTTP request volume over time.\n\nGET /radar/ai/bots/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -167,6 +168,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -673,11 +675,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ai_bots_timeseriesGroups", title: "Get time series distribution of AI bots HTTP requests by dimension.", - description: "Retrieves the distribution of HTTP requests from AI bots, grouped by the specified dimension over time.", + description: "Retrieves the distribution of HTTP requests from AI bots, grouped by the specified dimension over time.\n\nGET /radar/ai/bots/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -699,6 +702,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -864,6 +868,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ai/inference/tools.ts b/src/generated/forge-mcp/radar/ai/inference/tools.ts index 19333e80a..1feb7cdda 100644 --- a/src/generated/forge-mcp/radar/ai/inference/tools.ts +++ b/src/generated/forge-mcp/radar/ai/inference/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ai_inference_summaryV2", title: "Get Workers AI inference distribution by dimension", - description: "Retrieves an aggregated summary of the number of inferences run on Workers AI, grouped by the specified dimension.", + description: "Retrieves an aggregated summary of the number of inferences run on Workers AI, grouped by the specified dimension.\n\nGET /radar/ai/inference/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -102,6 +104,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -548,11 +551,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ai_inference_timeseriesGroupsV2", title: "Get time series distribution of Workers AI inference by dimension.", - description: "Retrieves the distribution of the number of inferences run on Workers AI, grouped by the specified dimension over time.", + description: "Retrieves the distribution of the number of inferences run on Workers AI, grouped by the specified dimension over time.\n\nGET /radar/ai/inference/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -569,6 +573,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -659,6 +664,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts b/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts index cb383f9d7..c1068f14f 100644 --- a/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts +++ b/src/generated/forge-mcp/radar/ai/markdownForAgents/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ai_markdownForAgents_summary", title: "Get AI markdown for agents reduction ratio summary", - description: "Retrieves the overall median HTML-to-markdown reduction ratio for AI agent requests over the given date range.", + description: "Retrieves the overall median HTML-to-markdown reduction ratio for AI agent requests over the given date range.\n\nGET /radar/ai/markdown_for_agents/summary", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", @@ -58,6 +59,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -510,11 +512,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ai_markdownForAgents_timeseries", title: "Get AI markdown for agents reduction ratio time series", - description: "Retrieves the median HTML-to-markdown reduction ratio over time for AI agent requests.", + description: "Retrieves the median HTML-to-markdown reduction ratio over time for AI agent requests.\n\nGET /radar/ai/markdown_for_agents/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -568,6 +571,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts b/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts index 6a1c492e0..1c5f46f89 100644 --- a/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts +++ b/src/generated/forge-mcp/radar/ai/timeseriesGroups/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ai_timeseriesGroups_summary", title: "Get AI bots HTTP requests distribution by dimension", - description: "Retrieves an aggregated summary of AI bots HTTP requests grouped by the specified dimension.", + description: "Retrieves an aggregated summary of AI bots HTTP requests grouped by the specified dimension.\n\nGET /radar/ai/bots/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -181,6 +183,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/annotations/outages/tools.ts b/src/generated/forge-mcp/radar/annotations/outages/tools.ts index ca01b2819..bc00ed59b 100644 --- a/src/generated/forge-mcp/radar/annotations/outages/tools.ts +++ b/src/generated/forge-mcp/radar/annotations/outages/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_annotations_outages_get", title: "Get latest Internet outages and anomalies", - description: "Retrieves the latest Internet outages and anomalies.", + description: "Retrieves the latest Internet outages and anomalies.\n\nGET /radar/annotations/outages", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", @@ -256,6 +257,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -910,11 +912,12 @@ export const tools: readonly Tool[] = [ { name: "radar_annotations_outages_locations", title: "Get the number of outages by location", - description: "Retrieves the number of outages by location.", + description: "Retrieves the number of outages by location.\n\nGET /radar/annotations/outages/locations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", @@ -947,6 +950,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/annotations/tools.ts b/src/generated/forge-mcp/radar/annotations/tools.ts index 2a6961a95..c266f7d97 100644 --- a/src/generated/forge-mcp/radar/annotations/tools.ts +++ b/src/generated/forge-mcp/radar/annotations/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_annotations_get", title: "Get annotation by ID", - description: "Retrieves a single annotation by ID.", + description: "Retrieves a single annotation by ID.\n\nGET /radar/annotations/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "id": { "description": "Annotation ID.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -43,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -654,11 +657,12 @@ export const tools: readonly Tool[] = [ { name: "radar_annotations_list", title: "Get latest annotations", - description: "Retrieves the latest annotations.", + description: "Retrieves the latest annotations.\n\nGET /radar/annotations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", @@ -912,6 +916,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/as112/tools.ts b/src/generated/forge-mcp/radar/as112/tools.ts index 08e83d534..a3d1597d1 100644 --- a/src/generated/forge-mcp/radar/as112/tools.ts +++ b/src/generated/forge-mcp/radar/as112/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_as112_summaryV2", title: "Get AS112 summary by dimension", - description: "Retrieves the distribution of AS112 queries by the specified dimension.", + description: "Retrieves the distribution of AS112 queries by the specified dimension.\n\nGET /radar/as112/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -244,6 +246,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -692,11 +695,12 @@ export const tools: readonly Tool[] = [ { name: "radar_as112_timeseries", title: "Get AS112 DNS queries time series", - description: "Retrieves the AS112 DNS queries over time.", + description: "Retrieves the AS112 DNS queries over time.\n\nGET /radar/as112/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -909,6 +913,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1409,11 +1414,12 @@ export const tools: readonly Tool[] = [ { name: "radar_as112_timeseriesGroupsV2", title: "Get AS112 time series grouped by dimension", - description: "Retrieves the distribution of AS112 queries grouped by dimension over time.", + description: "Retrieves the distribution of AS112 queries grouped by dimension over time.\n\nGET /radar/as112/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -1434,6 +1440,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1653,6 +1660,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/as112/top/tools.ts b/src/generated/forge-mcp/radar/as112/top/tools.ts index 388b4d8ad..17b94f675 100644 --- a/src/generated/forge-mcp/radar/as112/top/tools.ts +++ b/src/generated/forge-mcp/radar/as112/top/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_as112_top_dnssec", title: "Get top locations by AS112 DNS queries with DNSSEC support", - description: "Retrieves the top locations of DNS queries to AS112 with DNSSEC (DNS Security Extensions) support.", + description: "Retrieves the top locations of DNS queries to AS112 with DNSSEC (DNS Security Extensions) support.\n\nGET /radar/as112/top/locations/dnssec/{dnssec}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dnssec": { "description": "DNSSEC (DNS Security Extensions) status.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -96,6 +98,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -568,11 +571,12 @@ export const tools: readonly Tool[] = [ { name: "radar_as112_top_edns", title: "Get top locations by AS112 DNS queries with EDNS support", - description: "Retrieves the top locations of DNS queries to AS112 with EDNS (Extension Mechanisms for DNS) support.", + description: "Retrieves the top locations of DNS queries to AS112 with EDNS (Extension Mechanisms for DNS) support.\n\nGET /radar/as112/top/locations/edns/{edns}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "edns": { "description": "EDNS (Extension Mechanisms for DNS) status.", @@ -589,6 +593,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -654,6 +659,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1126,11 +1132,12 @@ export const tools: readonly Tool[] = [ { name: "radar_as112_top_ipVersion", title: "Get top locations by AS112 DNS queries for an IP version", - description: "Retrieves the top locations of DNS queries to AS112 for an IP version.", + description: "Retrieves the top locations of DNS queries to AS112 for an IP version.\n\nGET /radar/as112/top/locations/ip_version/{ip_version}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "ip_version": { "description": "IP version.", @@ -1147,6 +1154,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -1212,6 +1220,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1684,11 +1693,12 @@ export const tools: readonly Tool[] = [ { name: "radar_as112_top_locations", title: "Get top locations by AS112 DNS queries", - description: "Retrieves the top locations by AS112 DNS queries.", + description: "Retrieves the top locations by AS112 DNS queries.\n\nGET /radar/as112/top/locations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -1751,6 +1761,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/attacks/layer3/tools.ts b/src/generated/forge-mcp/radar/attacks/layer3/tools.ts index 0baf68a55..f11d518b9 100644 --- a/src/generated/forge-mcp/radar/attacks/layer3/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer3/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer3_summaryV2", title: "Get layer 3 attacks summary by dimension", - description: "Retrieves the distribution of layer 3 attacks by the specified dimension.", + description: "Retrieves the distribution of layer 3 attacks by the specified dimension.\n\nGET /radar/attacks/layer3/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -133,6 +135,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -581,11 +584,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer3_timeseries", title: "Get layer 3 attacks by bytes time series", - description: "Retrieves layer 3 attacks over time.", + description: "Retrieves layer 3 attacks over time.\n\nGET /radar/attacks/layer3/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -710,6 +714,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1213,11 +1218,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer3_timeseriesGroupsV2", title: "Get layer 3 attacks time series grouped by dimension", - description: "Retrieves the distribution of layer 3 attacks grouped by dimension over time.", + description: "Retrieves the distribution of layer 3 attacks grouped by dimension over time.\n\nGET /radar/attacks/layer3/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -1239,6 +1245,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1355,6 +1362,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts b/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts index 177ca1889..7fba49e07 100644 --- a/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer3/top/locations/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer3_top_locations_origin", title: "Get top origin locations of layer 3 attacks", - description: "Retrieves the origin locations of layer 3 attacks.", + description: "Retrieves the origin locations of layer 3 attacks.\n\nGET /radar/attacks/layer3/top/locations/origin", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -101,6 +102,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -583,11 +585,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer3_top_locations_target", title: "Get top target locations of layer 3 attacks", - description: "Retrieves the target locations of layer 3 attacks.", + description: "Retrieves the target locations of layer 3 attacks.\n\nGET /radar/attacks/layer3/top/locations/target", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -674,6 +677,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts b/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts index d4254465f..19bd04c3d 100644 --- a/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer3/top/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer3_top_attacks", title: "Get top layer 3 attack pairs (origin and target locations)", - description: "Retrieves the top layer 3 attacks from origin to target location. Values are a percentage out of the total layer 3 attacks (with billing country). You can optionally limit the number of attacks by origin/target location (useful if all the top attacks are from or to the same location).", + description: "Retrieves the top layer 3 attacks from origin to target location. Values are a percentage out of the total layer 3 attacks (with billing country). You can optionally limit the number of attacks by origin/target location (useful if all the top attacks are from or to the same location).\n\nGET /radar/attacks/layer3/top/attacks", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -132,6 +133,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/attacks/layer7/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/tools.ts index fef944c3d..0784fd0bb 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer7_summaryV2", title: "Get layer 7 attacks summary by dimension", - description: "Retrieves the distribution of layer 7 attacks by the specified dimension.", + description: "Retrieves the distribution of layer 7 attacks by the specified dimension.\n\nGET /radar/attacks/layer7/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -201,6 +203,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -651,11 +654,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer7_timeseries", title: "Get layer 7 attacks time series", - description: "Retrieves layer 7 attacks over time.", + description: "Retrieves layer 7 attacks over time.\n\nGET /radar/attacks/layer7/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -832,6 +836,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1337,11 +1342,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer7_timeseriesGroupsV2", title: "Get layer 7 attacks time series grouped by dimension", - description: "Retrieves the distribution of layer 7 attacks grouped by dimension over time.", + description: "Retrieves the distribution of layer 7 attacks grouped by dimension over time.\n\nGET /radar/attacks/layer7/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -1363,6 +1369,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1547,6 +1554,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts index 69e639c70..8404ecae6 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/top/ases/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer7_top_ases_origin", title: "Get top origin ASes of layer 7 attacks", - description: "Retrieves the top origin autonomous systems of layer 7 attacks. Values are percentages of the total layer 7 attacks, with the origin autonomous systems determined by the client IP address.", + description: "Retrieves the top origin autonomous systems of layer 7 attacks. Values are percentages of the total layer 7 attacks, with the origin autonomous systems determined by the client IP address.\n\nGET /radar/attacks/layer7/top/ases/origin", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -171,6 +172,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts index af7b85d86..c26a44950 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/top/locations/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer7_top_locations_origin", title: "Get top origin locations of layer 7 attacks", - description: "Retrieves the top origin locations of layer 7 attacks. Values are percentages of the total layer 7 attacks, with the origin location determined by the client IP address.", + description: "Retrieves the top origin locations of layer 7 attacks. Values are percentages of the total layer 7 attacks, with the origin location determined by the client IP address.\n\nGET /radar/attacks/layer7/top/locations/origin", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -171,6 +172,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -655,11 +657,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer7_top_locations_target", title: "Get top target locations of layer 7 attacks", - description: "Retrieves the top target locations of and by layer 7 attacks. Values are a percentage out of the total layer 7 attacks. The target location is determined by the attacked zone's billing country, when available.", + description: "Retrieves the top target locations of and by layer 7 attacks. Values are a percentage out of the total layer 7 attacks. The target location is determined by the attacked zone's billing country, when available.\n\nGET /radar/attacks/layer7/top/locations/target", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -731,6 +734,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts b/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts index ab41bcca1..7b996ad81 100644 --- a/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts +++ b/src/generated/forge-mcp/radar/attacks/layer7/top/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_attacks_layer7_top_attacks", title: "Get top layer 7 attack pairs (origin and target locations)", - description: "Retrieves the top attacks from origin to target location. Values are percentages of the total layer 7 attacks (with billing country). The attack magnitude can be defined by the number of mitigated requests or by the number of zones affected. You can optionally limit the number of attacks by origin/target location (useful if all the top attacks are from or to the same location).", + description: "Retrieves the top attacks from origin to target location. Values are percentages of the total layer 7 attacks (with billing country). The attack magnitude can be defined by the number of mitigated requests or by the number of zones affected. You can optionally limit the number of attacks by origin/target location (useful if all the top attacks are from or to the same location).\n\nGET /radar/attacks/layer7/top/attacks", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -123,6 +124,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts b/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts index 7939535df..b9f422b58 100644 --- a/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/hijacks/events/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_hijacks_events_list", title: "Get BGP hijack events", - description: "Retrieves the BGP hijack events.", + description: "Retrieves the BGP hijack events.\n\nGET /radar/bgp/hijacks/events", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", @@ -100,6 +101,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/ips/tools.ts b/src/generated/forge-mcp/radar/bgp/ips/tools.ts index ed6f780fe..ccf12b23b 100644 --- a/src/generated/forge-mcp/radar/bgp/ips/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/ips/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_ips_timeseries", title: "Get announced IP address space time series", - description: "Retrieves time series data for the announced IP space count, represented as the number of IPv4 /24s and IPv6 /48s, for a given ASN.", + description: "Retrieves time series data for the announced IP space count, represented as the number of IPv4 /24s and IPv6 /48s, for a given ASN.\n\nGET /radar/bgp/ips/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -87,6 +88,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts b/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts index 2a1196e82..297ee50a8 100644 --- a/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/ips/top/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_ips_top_ases", title: "Get top ASes by announced IP space", - description: "Returns the top-N autonomous systems by announced IP space at the nearest 8-hour RIB boundary at or before the requested date. The snapped boundary is returned as `anchor_ts`.", + description: "Returns the top-N autonomous systems by announced IP space at the nearest 8-hour RIB boundary at or before the requested date. The snapped boundary is returned as `anchor_ts`.\n\nGET /radar/bgp/ips/top/ases", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "country": { "description": "Optional ISO 3166-1 alpha-2 country filter. Omit for global top-N.", @@ -50,6 +51,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts b/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts index 426275d27..b1e476c12 100644 --- a/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/leaks/events/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_leaks_events_list", title: "Get BGP route leak events", - description: "Retrieves the BGP route leak events.", + description: "Retrieves the BGP route leak events.\n\nGET /radar/bgp/leaks/events", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", @@ -88,6 +89,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts b/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts index 5926afbe8..a6716e771 100644 --- a/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/routes/paths/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_routes_paths_list", title: "Get tier-1 path segments for an AS", - description: "Retrieves the paths an AS uses to reach the tier-1 clique, derived from RouteViews RIB snapshots. Each entry is an ordered AS-path segment (from the queried AS toward a tier-1) with the number of observed paths and peers, and the collectors that observed it. By default segments are merged across all active collectors; pass \"collector\" to scope to one. The response also includes an \"asnInfo\" map (keyed by ASN) with the name and country for every ASN in the returned segments plus the queried ASN (best-effort; null when unavailable).", + description: "Retrieves the paths an AS uses to reach the tier-1 clique, derived from RouteViews RIB snapshots. Each entry is an ordered AS-path segment (from the queried AS toward a tier-1) with the number of observed paths and peers, and the collectors that observed it. By default segments are merged across all active collectors; pass \"collector\" to scope to one. The response also includes an \"asnInfo\" map (keyed by ASN) with the name and country for every ASN in the returned segments plus the queried ASN (best-effort; null when unavailable).\n\nGET /radar/bgp/routes/paths/{asn}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "asn": { "description": "Single Autonomous System Number (ASN) as integer.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "collector": { "description": "Scope to a single RouteViews collector (e.g. \"route-views3\"). Omit to merge across all active collectors (identical path segments are deduplicated, observation counts summed, and every contributing collector listed).", @@ -56,6 +58,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/routes/tools.ts b/src/generated/forge-mcp/radar/bgp/routes/tools.ts index 3f1f44534..489d637ef 100644 --- a/src/generated/forge-mcp/radar/bgp/routes/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/routes/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_routes_ases", title: "List ASes from global routing tables", - description: "Retrieves all ASes in the current global routing tables with routing statistics.", + description: "Retrieves all ASes in the current global routing tables with routing statistics.\n\nGET /radar/bgp/routes/ases", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -58,6 +59,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -308,11 +310,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_routes_moas", title: "Get Multi-Origin AS (MOAS) prefixes", - description: "Retrieves all Multi-Origin AS (MOAS) prefixes in the global routing tables.", + description: "Retrieves all Multi-Origin AS (MOAS) prefixes in the global routing tables.\n\nGET /radar/bgp/routes/moas", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -337,6 +340,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -560,11 +564,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_routes_pfx2as", title: "Get prefix-to-ASN mapping", - description: "Retrieves the prefix-to-ASN mapping from global routing tables.", + description: "Retrieves the prefix-to-ASN mapping from global routing tables.\n\nGET /radar/bgp/routes/pfx2as", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -598,6 +603,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -800,11 +806,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_routes_realtime", title: "Get real-time BGP routes for a prefix", - description: "Retrieves real-time BGP routes for a prefix, using public real-time data collectors (RouteViews and RIPE RIS).", + description: "Retrieves real-time BGP routes for a prefix, using public real-time data collectors (RouteViews and RIPE RIS).\n\nGET /radar/bgp/routes/realtime", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -821,6 +828,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1242,11 +1250,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_routes_stats", title: "Get BGP routing table stats", - description: "Retrieves the BGP routing table stats.", + description: "Retrieves the BGP routing table stats.\n\nGET /radar/bgp/routes/stats", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", @@ -1268,6 +1277,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts b/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts index 0fe793298..c9be5b3aa 100644 --- a/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/routes/upstreams/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_routes_upstreams_timeseries", title: "Get upstream composition time series for an AS", - description: "Retrieves the share of an AS’s observed paths carried by each direct upstream over time, derived from RouteViews RIB snapshots across all collectors (the combined product). Each upstream ASN is returned as its own series of shares (0–1); the least-significant upstreams beyond the requested limit are grouped into an \"OTHER\" series. Series share a common set of timestamps.", + description: "Retrieves the share of an AS’s observed paths carried by each direct upstream over time, derived from RouteViews RIB snapshots across all collectors (the combined product). Each upstream ASN is returned as its own series of shares (0–1); the least-significant upstreams beyond the requested limit are grouped into an \"OTHER\" series. Series share a common set of timestamps.\n\nGET /radar/bgp/routes/upstreams/{asn}/timeseries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "asn": { "description": "Single Autonomous System Number (ASN) as integer.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", @@ -66,6 +68,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts b/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts index 067e896da..f9e773ebd 100644 --- a/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/rpki/aspa/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_rpki_aspa_changes", title: "Get ASPA changes over time", - description: "Retrieves ASPA (Autonomous System Provider Authorization) changes over time. Returns daily aggregated changes including additions, removals, and modifications of ASPA objects.", + description: "Retrieves ASPA (Autonomous System Provider Authorization) changes over time. Returns daily aggregated changes including additions, removals, and modifications of ASPA objects.\n\nGET /radar/bgp/rpki/aspa/changes", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filter changes involving this ASN (as customer or provider).", @@ -46,6 +47,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -382,11 +384,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_rpki_aspa_snapshot", title: "Get ASPA objects snapshot", - description: "Retrieves current or historical ASPA (Autonomous System Provider Authorization) objects. ASPA objects define which ASNs are authorized upstream providers for a customer ASN.", + description: "Retrieves current or historical ASPA (Autonomous System Provider Authorization) objects. ASPA objects define which ASNs are authorized upstream providers for a customer ASN.\n\nGET /radar/bgp/rpki/aspa/snapshot", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "customerAsn": { "description": "Filter by customer ASN (the ASN publishing the ASPA object).", @@ -417,6 +420,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -669,11 +673,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_rpki_aspa_timeseries", title: "Get ASPA count time series", - description: "Retrieves ASPA (Autonomous System Provider Authorization) object count over time. Supports filtering by RIR or location (country code) to generate multiple named series. If no RIR or location filter is specified, returns total count.", + description: "Retrieves ASPA (Autonomous System Provider Authorization) object count over time. Supports filtering by RIR or location (country code) to generate multiple named series. If no RIR or location filter is specified, returns total count.\n\nGET /radar/bgp/rpki/aspa/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", @@ -725,6 +730,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts b/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts index acfd24e1f..6f40c3cfd 100644 --- a/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/rpki/roas/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_rpki_roas_timeseries", title: "Get RPKI ROA deployment time series", - description: "Retrieves RPKI ROA (Route Origin Authorization) validation ratios over time. Returns the selected metric as a time series. Supports filtering by ASN or location (country code) — multiple values of the same filter type produce one series per value. If no ASN or location is specified, returns the global aggregate.", + description: "Retrieves RPKI ROA (Route Origin Authorization) validation ratios over time. Returns the selected metric as a time series. Supports filtering by ASN or location (country code) — multiple values of the same filter type produce one series per value. If no ASN or location is specified, returns the global aggregate.\n\nGET /radar/bgp/rpki/roas/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System Number. Specify one or more ASNs. Multiple values generate one series per ASN.", @@ -72,6 +73,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/tools.ts b/src/generated/forge-mcp/radar/bgp/tools.ts index 0b21d4111..94beb87f0 100644 --- a/src/generated/forge-mcp/radar/bgp/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_timeseries", title: "Get BGP time series", - description: "Retrieves BGP updates over time. When requesting updates for an autonomous system, only BGP updates of type announcement are returned.", + description: "Retrieves BGP updates over time. When requesting updates for an autonomous system, only BGP updates of type announcement are returned.\n\nGET /radar/bgp/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -93,6 +94,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts b/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts index 727966189..b1afe5f0b 100644 --- a/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/top/ases/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_top_ases_get", title: "Get top ASes by BGP updates", - description: "Retrieves the top autonomous systems by BGP updates (announcements only).", + description: "Retrieves the top autonomous systems by BGP updates (announcements only).\n\nGET /radar/bgp/top/ases", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -88,6 +89,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -304,11 +306,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_top_ases_prefixes", title: "Get top ASes by prefix count", - description: "Retrieves the full list of autonomous systems on the global routing table ordered by announced prefixes count. The data comes from public BGP MRT data archives and updates every 2 hours.", + description: "Retrieves the full list of autonomous systems on the global routing table ordered by announced prefixes count. The data comes from public BGP MRT data archives and updates every 2 hours.\n\nGET /radar/bgp/top/ases/prefixes", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "country": { "description": "Alpha-2 country code.", @@ -330,6 +333,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bgp/top/tools.ts b/src/generated/forge-mcp/radar/bgp/top/tools.ts index c61e95023..56eb8061c 100644 --- a/src/generated/forge-mcp/radar/bgp/top/tools.ts +++ b/src/generated/forge-mcp/radar/bgp/top/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bgp_top_prefixes", title: "Get top prefixes by BGP updates", - description: "Retrieves the top network prefixes by BGP updates.", + description: "Retrieves the top network prefixes by BGP updates.\n\nGET /radar/bgp/top/prefixes", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -81,6 +82,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bots/tools.ts b/src/generated/forge-mcp/radar/bots/tools.ts index 2f4e47a6d..b649c1596 100644 --- a/src/generated/forge-mcp/radar/bots/tools.ts +++ b/src/generated/forge-mcp/radar/bots/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bots_get", title: "Get bot details", - description: "Retrieves the requested bot information.", + description: "Retrieves the requested bot information.\n\nGET /radar/bots/{bot_slug}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "bot_slug": { "description": "Bot slug.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -43,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -248,11 +251,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bots_list", title: "List bots", - description: "Retrieves a list of bots.", + description: "Retrieves a list of bots.\n\nGET /radar/bots", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "botCategory": { "description": "Filters results by bot category.", @@ -317,6 +321,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -511,11 +516,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bots_summary", title: "Get bots HTTP requests distribution by dimension", - description: "Retrieves an aggregated summary of bots HTTP requests grouped by the specified dimension.", + description: "Retrieves an aggregated summary of bots HTTP requests grouped by the specified dimension.\n\nGET /radar/bots/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -534,6 +540,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -666,6 +673,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1117,11 +1125,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bots_timeseries", title: "Get bots HTTP requests time series", - description: "Retrieves bots HTTP request volume over time.", + description: "Retrieves bots HTTP request volume over time.\n\nGET /radar/bots/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1257,6 +1266,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1760,11 +1770,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bots_timeseriesGroups", title: "Get time series distribution of bots HTTP requests by dimension.", - description: "Retrieves the distribution of HTTP requests from bots, grouped by the specified dimension over time.", + description: "Retrieves the distribution of HTTP requests from bots, grouped by the specified dimension over time.\n\nGET /radar/bots/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -1783,6 +1794,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1925,6 +1937,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts b/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts index f54199474..a4a630918 100644 --- a/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts +++ b/src/generated/forge-mcp/radar/bots/webCrawlers/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bots_webCrawlers_summary", title: "Get crawler HTTP request distribution by dimension", - description: "Retrieves an aggregated summary of HTTP requests from crawlers, grouped by the specified dimension.", + description: "Retrieves an aggregated summary of HTTP requests from crawlers, grouped by the specified dimension.\n\nGET /radar/bots/crawlers/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -37,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "botOperator": { "description": "Filters results by bot operator.", @@ -142,6 +144,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -591,11 +594,12 @@ export const tools: readonly Tool[] = [ { name: "radar_bots_webCrawlers_timeseriesGroups", title: "Get time series of crawler HTTP request distribution by dimension", - description: "Retrieves the distribution of HTTP requests from crawlers, grouped by the specified dimension over time.", + description: "Retrieves the distribution of HTTP requests from crawlers, grouped by the specified dimension over time.\n\nGET /radar/bots/crawlers/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -618,6 +622,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -743,6 +748,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ct/authorities/tools.ts b/src/generated/forge-mcp/radar/ct/authorities/tools.ts index f4b66c7a2..cb7368b9a 100644 --- a/src/generated/forge-mcp/radar/ct/authorities/tools.ts +++ b/src/generated/forge-mcp/radar/ct/authorities/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ct_authorities_get", title: "Get certificate authority details", - description: "Retrieves the requested CA information.", + description: "Retrieves the requested CA information.\n\nGET /radar/ct/authorities/{ca_slug}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "ca_slug": { "description": "Certificate authority SHA256 fingerprint.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -43,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -446,11 +449,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ct_authorities_list", title: "List certificate authorities", - description: "Retrieves a list of certificate authorities.", + description: "Retrieves a list of certificate authorities.\n\nGET /radar/ct/authorities", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -473,6 +477,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ct/logs/tools.ts b/src/generated/forge-mcp/radar/ct/logs/tools.ts index b32b0aea9..115740523 100644 --- a/src/generated/forge-mcp/radar/ct/logs/tools.ts +++ b/src/generated/forge-mcp/radar/ct/logs/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ct_logs_get", title: "Get certificate log details", - description: "Retrieves the requested certificate log information.", + description: "Retrieves the requested certificate log information.\n\nGET /radar/ct/logs/{log_slug}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "log_slug": { "description": "Certificate log slug.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -43,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -500,11 +503,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ct_logs_list", title: "List certificate logs", - description: "Retrieves a list of certificate logs.", + description: "Retrieves a list of certificate logs.\n\nGET /radar/ct/logs", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -527,6 +531,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ct/tools.ts b/src/generated/forge-mcp/radar/ct/tools.ts index 220d3a179..6adeb8b91 100644 --- a/src/generated/forge-mcp/radar/ct/tools.ts +++ b/src/generated/forge-mcp/radar/ct/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ct_summary", title: "Get certificate distribution by dimension", - description: "Retrieves an aggregated summary of certificates grouped by the specified dimension.", + description: "Retrieves an aggregated summary of certificates grouped by the specified dimension.\n\nGET /radar/ct/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the certificate attribute by which to group the results.", @@ -43,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "ca": { "description": "Filters results by certificate authority.", @@ -259,6 +261,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -992,11 +995,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ct_timeseries", title: "Get certificates time series", - description: "Retrieves certificate volume over time.", + description: "Retrieves certificate volume over time.\n\nGET /radar/ct/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1207,6 +1211,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1717,11 +1722,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ct_timeseriesGroups", title: "Get time series of certificate distribution by dimension", - description: "Retrieves the distribution of certificates grouped by the specified dimension over time.", + description: "Retrieves the distribution of certificates grouped by the specified dimension over time.\n\nGET /radar/ct/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the certificate attribute by which to group the results.", @@ -1750,6 +1756,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1976,6 +1983,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/datasets/tools.ts b/src/generated/forge-mcp/radar/datasets/tools.ts index 8f35996fa..895363e65 100644 --- a/src/generated/forge-mcp/radar/datasets/tools.ts +++ b/src/generated/forge-mcp/radar/datasets/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "radar_datasets_download", title: "Get dataset download URL", - description: "Retrieves an URL to download a single dataset.", + description: "Retrieves an URL to download a single dataset.\n\nPOST /radar/datasets/download", inputSchema: { type: "object", properties: { @@ -26,6 +26,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -39,6 +40,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -160,11 +162,12 @@ export const tools: readonly Tool[] = [ { name: "radar_datasets_get", title: "Get dataset CSV stream", - description: "Retrieves the CSV content of a given dataset by alias or ID. When getting the content by alias the latest dataset is returned, optionally filtered by the latest available at a given date.", + description: "Retrieves the CSV content of a given dataset by alias or ID. When getting the content by alias the latest dataset is returned, optionally filtered by the latest available at a given date.\n\nGET /radar/datasets/{alias}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "alias": { "description": "Dataset alias or ID.", @@ -180,6 +183,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -244,11 +248,12 @@ export const tools: readonly Tool[] = [ { name: "radar_datasets_list", title: "List datasets", - description: "Retrieves a list of datasets.", + description: "Retrieves a list of datasets.\n\nGET /radar/datasets", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "datasetType": { "default": "RANKING_BUCKET", @@ -285,6 +290,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/dns/tools.ts b/src/generated/forge-mcp/radar/dns/tools.ts index 4286ee34b..f740e513f 100644 --- a/src/generated/forge-mcp/radar/dns/tools.ts +++ b/src/generated/forge-mcp/radar/dns/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_dns_summaryV2", title: "Get DNS summary by dimension", - description: "Retrieves the distribution of DNS queries by the specified dimension.", + description: "Retrieves the distribution of DNS queries by the specified dimension.\n\nGET /radar/dns/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results. Grouping by `TLD_DNS_MAGNITUDE` does not support sub-daily aggregation intervals; `15m` and `1h` are raised to `1d`.", @@ -43,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -348,6 +350,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -806,11 +809,12 @@ export const tools: readonly Tool[] = [ { name: "radar_dns_timeseries", title: "Get DNS queries time series", - description: "Retrieves normalized query volume to the 1.1.1.1 DNS resolver over time.", + description: "Retrieves normalized query volume to the 1.1.1.1 DNS resolver over time.\n\nGET /radar/dns/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1119,6 +1123,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1629,11 +1634,12 @@ export const tools: readonly Tool[] = [ { name: "radar_dns_timeseriesGroupsV2", title: "Get DNS time series grouped by dimension", - description: "Retrieves the distribution of DNS queries grouped by dimension over time.", + description: "Retrieves the distribution of DNS queries grouped by dimension over time.\n\nGET /radar/dns/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results. Grouping by `TLD_DNS_MAGNITUDE` does not support sub-daily aggregation intervals; `15m` and `1h` are raised to `1d`.", @@ -1662,6 +1668,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1987,6 +1994,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/dns/top/tools.ts b/src/generated/forge-mcp/radar/dns/top/tools.ts index cba93ab69..8b3fab948 100644 --- a/src/generated/forge-mcp/radar/dns/top/tools.ts +++ b/src/generated/forge-mcp/radar/dns/top/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_dns_top_ases", title: "Get top ASes by DNS queries", - description: "Retrieves the top autonomous systems by DNS queries made to 1.1.1.1 DNS resolver.", + description: "Retrieves the top autonomous systems by DNS queries made to 1.1.1.1 DNS resolver.\n\nGET /radar/dns/top/ases", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -318,6 +319,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -803,11 +805,12 @@ export const tools: readonly Tool[] = [ { name: "radar_dns_top_locations", title: "Get top locations by DNS queries", - description: "Retrieves the top locations by DNS queries made to 1.1.1.1 DNS resolver.", + description: "Retrieves the top locations by DNS queries made to 1.1.1.1 DNS resolver.\n\nGET /radar/dns/top/locations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -1118,6 +1121,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/email/routing/tools.ts b/src/generated/forge-mcp/radar/email/routing/tools.ts index 6053ff957..6ffbb1443 100644 --- a/src/generated/forge-mcp/radar/email/routing/tools.ts +++ b/src/generated/forge-mcp/radar/email/routing/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_email_routing_summaryV2", title: "Get email routing summary by dimension", - description: "Retrieves the distribution of email routing metrics by the specified dimension.", + description: "Retrieves the distribution of email routing metrics by the specified dimension.\n\nGET /radar/email/routing/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "arc": { "description": "Filters results by ARC (Authenticated Received Chain) validation.", @@ -155,6 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -604,11 +607,12 @@ export const tools: readonly Tool[] = [ { name: "radar_email_routing_timeseriesGroupsV2", title: "Get email routing time series grouped by dimension", - description: "Retrieves the distribution of email routing metrics grouped by dimension over time.", + description: "Retrieves the distribution of email routing metrics grouped by dimension over time.\n\nGET /radar/email/routing/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -629,6 +633,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -759,6 +764,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/email/security/tools.ts b/src/generated/forge-mcp/radar/email/security/tools.ts index 513f1ccd2..d155cb558 100644 --- a/src/generated/forge-mcp/radar/email/security/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_email_security_summaryV2", title: "Get email security summary by dimension", - description: "Retrieves the distribution of email security metrics by the specified dimension.", + description: "Retrieves the distribution of email security metrics by the specified dimension.\n\nGET /radar/email/security/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -38,6 +39,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "arc": { "description": "Filters results by ARC (Authenticated Received Chain) validation.", @@ -149,6 +151,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -597,11 +600,12 @@ export const tools: readonly Tool[] = [ { name: "radar_email_security_timeseriesGroupsV2", title: "Get email security time series grouped by dimension", - description: "Retrieves the distribution of email security metrics grouped by dimension over time.", + description: "Retrieves the distribution of email security metrics grouped by dimension over time.\n\nGET /radar/email/security/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -625,6 +629,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -746,6 +751,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts index e113895c9..fd64689c3 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/malicious/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_email_security_top_tlds_malicious_get", title: "Get top TLDs by email malicious classification", - description: "Retrieves the top TLDs by emails classified as malicious or not.", + description: "Retrieves the top TLDs by emails classified as malicious or not.\n\nGET /radar/email/security/top/tlds/malicious/{malicious}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "malicious": { "description": "Malicious classification.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "arc": { "description": "Filters results by ARC (Authenticated Received Chain) validation.", @@ -151,6 +153,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts index 52e6bda71..af55a44ac 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/spam/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_email_security_top_tlds_spam_get", title: "Get top TLDs by email spam classification", - description: "Retrieves the top TLDs by emails classified as spam or not.", + description: "Retrieves the top TLDs by emails classified as spam or not.\n\nGET /radar/email/security/top/tlds/spam/{spam}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "spam": { "description": "Spam classification.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "arc": { "description": "Filters results by ARC (Authenticated Received Chain) validation.", @@ -151,6 +153,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts index 1bf856e16..eb62ee00a 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/spoof/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_email_security_top_tlds_spoof_get", title: "Get top TLDs by email spoof classification", - description: "Retrieves the top TLDs by emails classified as spoof or not.", + description: "Retrieves the top TLDs by emails classified as spoof or not.\n\nGET /radar/email/security/top/tlds/spoof/{spoof}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "spoof": { "description": "Spoof classification.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "arc": { "description": "Filters results by ARC (Authenticated Received Chain) validation.", @@ -151,6 +153,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts b/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts index 8a0ad23e5..c4e579e53 100644 --- a/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts +++ b/src/generated/forge-mcp/radar/email/security/top/tlds/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_email_security_top_tlds_get", title: "Get top TLDs by email message volume", - description: "Retrieves the top TLDs by number of email messages.", + description: "Retrieves the top TLDs by number of email messages.\n\nGET /radar/email/security/top/tlds", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "arc": { "description": "Filters results by ARC (Authenticated Received Chain) validation.", @@ -132,6 +133,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/entities/asns/tools.ts b/src/generated/forge-mcp/radar/entities/asns/tools.ts index 5a028b6a9..36b08ead0 100644 --- a/src/generated/forge-mcp/radar/entities/asns/tools.ts +++ b/src/generated/forge-mcp/radar/entities/asns/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_entities_asns_asSet", title: "Get IRR AS-SETs that an AS is a member of", - description: "Retrieves Internet Routing Registry AS-SETs that an AS is a member of.", + description: "Retrieves Internet Routing Registry AS-SETs that an AS is a member of.\n\nGET /radar/entities/asns/{asn}/as_set", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "asn": { "description": "Retrieves all AS-SETs that the given AS is a member of.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -43,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -261,11 +264,12 @@ export const tools: readonly Tool[] = [ { name: "radar_entities_asns_botnetThreatFeed", title: "Get AS rankings by botnet threat feed activity", - description: "Retrieves a ranked list of Autonomous Systems based on their presence in the Cloudflare Botnet Threat Feed. Rankings can be sorted by offense count or number of bad IPs. Optionally compare to a previous date to see rank changes.", + description: "Retrieves a ranked list of Autonomous Systems based on their presence in the Cloudflare Botnet Threat Feed. Rankings can be sorted by offense count or number of bad IPs. Optionally compare to a previous date to see rank changes.\n\nGET /radar/entities/asns/botnet_threat_feed", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -325,6 +329,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -535,11 +540,12 @@ export const tools: readonly Tool[] = [ { name: "radar_entities_asns_get", title: "Get AS details by ASN", - description: "Retrieves the requested autonomous system information. (A confidence level below `5` indicates a low level of confidence in the traffic data - normally this happens because Cloudflare has a small amount of traffic from/to this AS). Population estimates come from APNIC (refer to https://labs.apnic.net/?p=526).", + description: "Retrieves the requested autonomous system information. (A confidence level below `5` indicates a low level of confidence in the traffic data - normally this happens because Cloudflare has a small amount of traffic from/to this AS). Population estimates come from APNIC (refer to https://labs.apnic.net/?p=526).\n\nGET /radar/entities/asns/{asn}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "asn": { "description": "Single Autonomous System Number (ASN) as integer.", @@ -552,6 +558,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -568,6 +575,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -855,11 +863,12 @@ export const tools: readonly Tool[] = [ { name: "radar_entities_asns_ip", title: "Get AS details by IP address", - description: "Retrieves the requested autonomous system information based on IP address. Population estimates come from APNIC (refer to https://labs.apnic.net/?p=526).", + description: "Retrieves the requested autonomous system information based on IP address. Population estimates come from APNIC (refer to https://labs.apnic.net/?p=526).\n\nGET /radar/entities/asns/ip", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -883,6 +892,7 @@ export const tools: readonly Tool[] = [ required: [ "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1163,11 +1173,12 @@ export const tools: readonly Tool[] = [ { name: "radar_entities_asns_list", title: "List autonomous systems", - description: "Retrieves a list of autonomous systems.", + description: "Retrieves a list of autonomous systems.\n\nGET /radar/entities/asns", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list.", @@ -1207,6 +1218,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1406,11 +1418,12 @@ export const tools: readonly Tool[] = [ { name: "radar_entities_asns_rel", title: "Get AS-level relationships by ASN", - description: "Retrieves AS-level relationship for given networks.", + description: "Retrieves AS-level relationship for given networks.\n\nGET /radar/entities/asns/{asn}/rel", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "asn": { "description": "Retrieves all ASNs with provider-customer or peering relationships with the given ASN.", @@ -1423,6 +1436,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn2": { "description": "Retrieves the AS relationship of ASN2 with respect to the given ASN.", @@ -1443,6 +1457,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/entities/locations/tools.ts b/src/generated/forge-mcp/radar/entities/locations/tools.ts index 630f5a7a2..3db87e929 100644 --- a/src/generated/forge-mcp/radar/entities/locations/tools.ts +++ b/src/generated/forge-mcp/radar/entities/locations/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_entities_locations_get", title: "Get location details", - description: "Retrieves the requested location information. (A confidence level below `5` indicates a low level of confidence in the traffic data - normally this happens because Cloudflare has a small amount of traffic from/to this location).", + description: "Retrieves the requested location information. (A confidence level below `5` indicates a low level of confidence in the traffic data - normally this happens because Cloudflare has a small amount of traffic from/to this location).\n\nGET /radar/entities/locations/{location}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "location": { "description": "Location alpha-2 code.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -43,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -208,11 +211,12 @@ export const tools: readonly Tool[] = [ { name: "radar_entities_locations_list", title: "List locations", - description: "Retrieves a list of locations.", + description: "Retrieves a list of locations.\n\nGET /radar/entities/locations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent code.", @@ -259,6 +263,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/entities/tools.ts b/src/generated/forge-mcp/radar/entities/tools.ts index 121533a03..1ea6a089f 100644 --- a/src/generated/forge-mcp/radar/entities/tools.ts +++ b/src/generated/forge-mcp/radar/entities/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_entities_get", title: "Get IP address details", - description: "Retrieves IP address information.", + description: "Retrieves IP address information.\n\nGET /radar/entities/ip", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -38,6 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/geolocations/tools.ts b/src/generated/forge-mcp/radar/geolocations/tools.ts index 294b8a370..0d6dbcb8b 100644 --- a/src/generated/forge-mcp/radar/geolocations/tools.ts +++ b/src/generated/forge-mcp/radar/geolocations/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_geolocations_get", title: "Get Geolocation details", - description: "Retrieves the requested Geolocation information. Geolocation names can be localized by sending an `Accept-Language` HTTP header with a BCP 47 language tag (e.g., `Accept-Language: pt-PT`). The full quality-value chain is supported (e.g., `pt-PT,pt;q=0.9,en;q=0.8`).", + description: "Retrieves the requested Geolocation information. Geolocation names can be localized by sending an `Accept-Language` HTTP header with a BCP 47 language tag (e.g., `Accept-Language: pt-PT`). The full quality-value chain is supported (e.g., `pt-PT,pt;q=0.9,en;q=0.8`).\n\nGET /radar/geolocations/{geo_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "geo_id": { "description": "Geolocation ID. Refer to [GeoNames](https://download.geonames.org/export/dump/readme.txt)", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -43,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -362,11 +365,12 @@ export const tools: readonly Tool[] = [ { name: "radar_geolocations_list", title: "List Geolocations", - description: "Retrieves a list of geolocations. Geolocation names can be localized by sending an `Accept-Language` HTTP header with a BCP 47 language tag (e.g., `Accept-Language: pt-PT`). The full quality-value chain is supported (e.g., `pt-PT,pt;q=0.9,en;q=0.8`).", + description: "Retrieves a list of geolocations. Geolocation names can be localized by sending an `Accept-Language` HTTP header with a BCP 47 language tag (e.g., `Accept-Language: pt-PT`). The full quality-value chain is supported (e.g., `pt-PT,pt;q=0.9,en;q=0.8`).\n\nGET /radar/geolocations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -397,6 +401,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts b/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts index 0991fde15..ab3408c66 100644 --- a/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/botClass/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_ases_botClass_get", title: "Get top ASes by HTTP requests for a bot class", - description: "Retrieves the top autonomous systems, by HTTP requests, of the requested bot class.", + description: "Retrieves the top autonomous systems, by HTTP requests, of the requested bot class.\n\nGET /radar/http/top/ases/bot_class/{bot_class}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "bot_class": { "description": "Bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts b/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts index 4f61c0ad1..23a32e1ea 100644 --- a/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/browserFamily/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_ases_browserFamily_get", title: "Get top ASes by HTTP requests for a browser family", - description: "Retrieves the top autonomous systems, by HTTP requests, of the requested browser family.", + description: "Retrieves the top autonomous systems, by HTTP requests, of the requested browser family.\n\nGET /radar/http/top/ases/browser_family/{browser_family}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "browser_family": { "description": "Browser family.", @@ -33,6 +34,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts b/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts index 5e7976fca..8170a4033 100644 --- a/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/deviceType/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_ases_deviceType_get", title: "Get top ASes by HTTP requests for a device type", - description: "Retrieves the top autonomous systems, by HTTP requests, of the requested device type.", + description: "Retrieves the top autonomous systems, by HTTP requests, of the requested device type.\n\nGET /radar/http/top/ases/device_type/{device_type}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "device_type": { "description": "Device type.", @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts b/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts index b0cfe80b6..84308706e 100644 --- a/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/httpMethod/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_ases_httpMethod_get", title: "Get top ASes by HTTP requests for an HTTP version", - description: "Retrieves the top autonomous systems, by HTTP requests, of the requested HTTP version.", + description: "Retrieves the top autonomous systems, by HTTP requests, of the requested HTTP version.\n\nGET /radar/http/top/ases/http_version/{http_version}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "http_version": { "description": "HTTP version.", @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts b/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts index 45ba6e2a0..766101638 100644 --- a/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/httpProtocol/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_ases_httpProtocol_get", title: "Get top ASes by HTTP requests for an HTTP protocol", - description: "Retrieves the top autonomous systems, by HTTP requests, of the requested HTTP protocol.", + description: "Retrieves the top autonomous systems, by HTTP requests, of the requested HTTP protocol.\n\nGET /radar/http/top/ases/http_protocol/{http_protocol}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "http_protocol": { "description": "HTTP protocol (HTTP vs. HTTPS).", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts b/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts index 3fd266380..62ea14fa9 100644 --- a/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/ipVersion/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_ases_ipVersion_get", title: "Get top ASes by HTTP requests for an IP version", - description: "Retrieves the top autonomous systems, by HTTP requests, of the requested IP version.", + description: "Retrieves the top autonomous systems, by HTTP requests, of the requested IP version.\n\nGET /radar/http/top/ases/ip_version/{ip_version}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "ip_version": { "description": "IP version.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/ases/os/tools.ts b/src/generated/forge-mcp/radar/http/ases/os/tools.ts index a9fd60990..9508f3154 100644 --- a/src/generated/forge-mcp/radar/http/ases/os/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/os/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_ases_os_get", title: "Get top ASes by HTTP requests for an OS", - description: "Retrieves the top autonomous systems, by HTTP requests, of the requested operating system.", + description: "Retrieves the top autonomous systems, by HTTP requests, of the requested operating system.\n\nGET /radar/http/top/ases/os/{os}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "os": { "description": "Operating system.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts b/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts index 0b2d971c2..4fa6920d2 100644 --- a/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/tlsVersion/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_ases_tlsVersion_get", title: "Get top ASes by HTTP requests for a TLS version", - description: "Retrieves the top autonomous systems, by HTTP requests, of the requested TLS protocol version.", + description: "Retrieves the top autonomous systems, by HTTP requests, of the requested TLS protocol version.\n\nGET /radar/http/top/ases/tls_version/{tls_version}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "tls_version": { "description": "TLS version.", @@ -34,6 +35,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/ases/tools.ts b/src/generated/forge-mcp/radar/http/ases/tools.ts index f19ae120d..693551111 100644 --- a/src/generated/forge-mcp/radar/http/ases/tools.ts +++ b/src/generated/forge-mcp/radar/http/ases/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_ases_get", title: "Get top ASes by HTTP requests", - description: "Retrieves the top autonomous systems by HTTP requests.", + description: "Retrieves the top autonomous systems by HTTP requests.\n\nGET /radar/http/top/ases", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -191,6 +192,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts b/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts index 5a372dcc3..0b5a9c986 100644 --- a/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/botClass/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_locations_botClass_get", title: "Get top locations by HTTP requests for a bot class", - description: "Retrieves the top locations, by HTTP requests, of the requested bot class.", + description: "Retrieves the top locations, by HTTP requests, of the requested bot class.\n\nGET /radar/http/top/locations/bot_class/{bot_class}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "bot_class": { "description": "Bot class. Refer to [Bot classes](https://developers.cloudflare.com/radar/concepts/bot-classes/).", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts b/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts index 067b51ca5..357600ca2 100644 --- a/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/browserFamily/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_locations_browserFamily_get", title: "Get top locations by HTTP requests for a browser family", - description: "Retrieves the top locations, by HTTP requests, of the requested browser family.", + description: "Retrieves the top locations, by HTTP requests, of the requested browser family.\n\nGET /radar/http/top/locations/browser_family/{browser_family}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "browser_family": { "description": "Browser family.", @@ -33,6 +34,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts b/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts index 81c903e9f..d072a75ac 100644 --- a/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/deviceType/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_locations_deviceType_get", title: "Get top locations by HTTP requests for a device type", - description: "Retrieves the top locations, by HTTP requests, of the requested device type.", + description: "Retrieves the top locations, by HTTP requests, of the requested device type.\n\nGET /radar/http/top/locations/device_type/{device_type}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "device_type": { "description": "Device type.", @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts b/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts index 872722eb8..48942e8b0 100644 --- a/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/httpMethod/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_locations_httpMethod_get", title: "Get top locations by HTTP requests for an HTTP version", - description: "Retrieves the top locations, by HTTP requests, of the requested HTTP version.", + description: "Retrieves the top locations, by HTTP requests, of the requested HTTP version.\n\nGET /radar/http/top/locations/http_version/{http_version}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "http_version": { "description": "HTTP version.", @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts b/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts index 4b2a0197d..9c7800b9e 100644 --- a/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/httpProtocol/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_locations_httpProtocol_get", title: "Get top locations by HTTP requests for an HTTP protocol", - description: "Retrieves the top locations, by HTTP requests, of the requested HTTP protocol.", + description: "Retrieves the top locations, by HTTP requests, of the requested HTTP protocol.\n\nGET /radar/http/top/locations/http_protocol/{http_protocol}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "http_protocol": { "description": "HTTP protocol (HTTP vs. HTTPS).", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts b/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts index b2bbd198f..53d432e53 100644 --- a/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/ipVersion/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_locations_ipVersion_get", title: "Get top locations by HTTP requests for an IP version", - description: "Retrieves the top locations, by HTTP requests, of the requested IP version.", + description: "Retrieves the top locations, by HTTP requests, of the requested IP version.\n\nGET /radar/http/top/locations/ip_version/{ip_version}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "ip_version": { "description": "IP version.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/locations/os/tools.ts b/src/generated/forge-mcp/radar/http/locations/os/tools.ts index e14c96c95..2a53733c2 100644 --- a/src/generated/forge-mcp/radar/http/locations/os/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/os/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_locations_os_get", title: "Get top locations by HTTP requests for an OS", - description: "Retrieves the top locations, by HTTP requests, of the requested operating system.", + description: "Retrieves the top locations, by HTTP requests, of the requested operating system.\n\nGET /radar/http/top/locations/os/{os}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "os": { "description": "Operating system.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts b/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts index af72a0622..2ed14221a 100644 --- a/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/tlsVersion/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_locations_tlsVersion_get", title: "Get top locations by HTTP requests for a TLS version", - description: "Retrieves the top locations, by HTTP requests, of the requested TLS protocol version.", + description: "Retrieves the top locations, by HTTP requests, of the requested TLS protocol version.\n\nGET /radar/http/top/locations/tls_version/{tls_version}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "tls_version": { "description": "TLS version.", @@ -34,6 +35,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -199,6 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/locations/tools.ts b/src/generated/forge-mcp/radar/http/locations/tools.ts index 4bf2f14bf..95f0ea4b4 100644 --- a/src/generated/forge-mcp/radar/http/locations/tools.ts +++ b/src/generated/forge-mcp/radar/http/locations/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_locations_get", title: "Get top locations by HTTP requests", - description: "Retrieves the top locations by HTTP requests.", + description: "Retrieves the top locations by HTTP requests.\n\nGET /radar/http/top/locations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -191,6 +192,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/http/tools.ts b/src/generated/forge-mcp/radar/http/tools.ts index 8ed8b5706..a5b019050 100644 --- a/src/generated/forge-mcp/radar/http/tools.ts +++ b/src/generated/forge-mcp/radar/http/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_summaryV2", title: "Get HTTP requests summary by dimension", - description: "Retrieves the distribution of HTTP requests by the specified dimension.", + description: "Retrieves the distribution of HTTP requests by the specified dimension.\n\nGET /radar/http/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the HTTP attribute by which to group the results.", @@ -44,6 +45,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "apiTraffic": { "description": "Filters results by API traffic classification. API traffic is identified by JSON or XML response content types on dynamic (non-cacheable) HTTP requests. Incompatible with the `browserFamily`, `deviceType`, `httpProtocol`, `httpVersion`, `ipVersion`, `os`, and `tlsVersion` filters/dimensions. When set, results can only be further filtered by location, continent, or Autonomous System.", @@ -245,6 +247,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -701,11 +704,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_timeseries", title: "Get HTTP requests time series", - description: "Retrieves the HTTP requests over time.", + description: "Retrieves the HTTP requests over time.\n\nGET /radar/http/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -931,6 +935,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1441,11 +1446,12 @@ export const tools: readonly Tool[] = [ { name: "radar_http_timeseriesGroupsV2", title: "Get HTTP requests time series grouped by dimension", - description: "Retrieves the distribution of HTTP requests grouped by dimension.", + description: "Retrieves the distribution of HTTP requests grouped by dimension.\n\nGET /radar/http/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the HTTP attribute by which to group the results.", @@ -1475,6 +1481,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1695,6 +1702,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/leakedCredentials/tools.ts b/src/generated/forge-mcp/radar/leakedCredentials/tools.ts index 5c8bd9d02..30fd854fc 100644 --- a/src/generated/forge-mcp/radar/leakedCredentials/tools.ts +++ b/src/generated/forge-mcp/radar/leakedCredentials/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_leakedCredentials_summaryV2", title: "Get HTTP authentication requests distribution by dimension", - description: "Retrieves an aggregated summary of HTTP authentication requests grouped by the specified dimension.", + description: "Retrieves an aggregated summary of HTTP authentication requests grouped by the specified dimension.\n\nGET /radar/leaked_credential_checks/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -31,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -124,6 +126,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -572,11 +575,12 @@ export const tools: readonly Tool[] = [ { name: "radar_leakedCredentials_timeseriesGroupsV2", title: "Get time series distribution of HTTP authentication requests by dimension.", - description: "Retrieves the distribution of HTTP authentication requests, grouped by the specified dimension over time.", + description: "Retrieves the distribution of HTTP authentication requests, grouped by the specified dimension over time.\n\nGET /radar/leaked_credential_checks/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the attribute by which to group the results.", @@ -593,6 +597,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -718,6 +723,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/netflows/tools.ts b/src/generated/forge-mcp/radar/netflows/tools.ts index f8d84010f..2a20d93c3 100644 --- a/src/generated/forge-mcp/radar/netflows/tools.ts +++ b/src/generated/forge-mcp/radar/netflows/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_netflows_summaryV2", title: "Get network traffic distribution by dimension", - description: "Retrieves the distribution of network traffic (NetFlows) by the specified dimension.", + description: "Retrieves the distribution of network traffic (NetFlows) by the specified dimension.\n\nGET /radar/netflows/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the NetFlows attribute by which to group the results.", @@ -33,6 +34,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -122,6 +124,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -570,11 +573,12 @@ export const tools: readonly Tool[] = [ { name: "radar_netflows_timeseries", title: "Get network traffic time series", - description: "Retrieves network traffic (NetFlows) over time.", + description: "Retrieves network traffic (NetFlows) over time.\n\nGET /radar/netflows/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -675,6 +679,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -1178,11 +1183,12 @@ export const tools: readonly Tool[] = [ { name: "radar_netflows_timeseriesGroups", title: "Get time series distribution of network traffic by dimension", - description: "Retrieves the distribution of NetFlows traffic, grouped by the specified dimension over time.", + description: "Retrieves the distribution of NetFlows traffic, grouped by the specified dimension over time.\n\nGET /radar/netflows/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the NetFlows attribute by which to group the results.", @@ -1201,6 +1207,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1310,6 +1317,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/netflows/top/tools.ts b/src/generated/forge-mcp/radar/netflows/top/tools.ts index cea6ba6ee..ebd37b37f 100644 --- a/src/generated/forge-mcp/radar/netflows/top/tools.ts +++ b/src/generated/forge-mcp/radar/netflows/top/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_netflows_top_ases", title: "Get top ASes by network traffic", - description: "Retrieves the top autonomous systems by network traffic (NetFlows).", + description: "Retrieves the top autonomous systems by network traffic (NetFlows).\n\nGET /radar/netflows/top/ases", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -91,6 +92,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -565,11 +567,12 @@ export const tools: readonly Tool[] = [ { name: "radar_netflows_top_locations", title: "Get top locations by network traffic", - description: "Retrieves the top locations by network traffic (NetFlows).", + description: "Retrieves the top locations by network traffic (NetFlows).\n\nGET /radar/netflows/top/locations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -646,6 +649,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/origins/tools.ts b/src/generated/forge-mcp/radar/origins/tools.ts index 120f49122..f17120165 100644 --- a/src/generated/forge-mcp/radar/origins/tools.ts +++ b/src/generated/forge-mcp/radar/origins/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_origins_get", title: "Get Origin details", - description: "Retrieves the requested origin information with its regions.", + description: "Retrieves the requested origin information with its regions.\n\nGET /radar/origins/{slug}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "slug": { "description": "Origin slug.", @@ -33,6 +34,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -49,6 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -188,11 +191,12 @@ export const tools: readonly Tool[] = [ { name: "radar_origins_list", title: "List Origins", - description: "Retrieves a list of origins with their regions.", + description: "Retrieves a list of origins with their regions.\n\nGET /radar/origins", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -215,6 +219,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -381,11 +386,12 @@ export const tools: readonly Tool[] = [ { name: "radar_origins_summary", title: "Get origin metrics distribution by dimension", - description: "Retrieves an aggregated summary of origin metrics grouped by the specified dimension.", + description: "Retrieves an aggregated summary of origin metrics grouped by the specified dimension.\n\nGET /radar/origins/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the origin attribute by which to group the results. `ORIGIN` groups across all providers and does not accept an `origin` or `region`. `REGION` requires an `origin`. `SUCCESS_RATE` and `PERCENTILE` require both an `origin` and a `region` and constrain the `metric` (`SUCCESS_RATE` supports only `REQUESTS`; `PERCENTILE` supports any metric except `REQUESTS`). `limitPerGroup` is only supported on the `REGION` dimension.", @@ -404,6 +410,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", @@ -490,6 +497,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -936,11 +944,12 @@ export const tools: readonly Tool[] = [ { name: "radar_origins_timeseries", title: "Get origin metrics time series", - description: "Retrieves the time series of origin metrics for the specified origin.", + description: "Retrieves the time series of origin metrics for the specified origin.\n\nGET /radar/origins/timeseries", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1033,6 +1042,7 @@ export const tools: readonly Tool[] = [ required: [ "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1531,11 +1541,12 @@ export const tools: readonly Tool[] = [ { name: "radar_origins_timeseriesGroups", title: "Get origin metrics time series grouped by dimension", - description: "Retrieves the distribution of origin metrics grouped by the specified dimension over time.", + description: "Retrieves the distribution of origin metrics grouped by the specified dimension over time.\n\nGET /radar/origins/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the origin attribute by which to group the results. `ORIGIN` groups across all providers and does not accept an `origin` or `region`. `REGION` requires an `origin`. `SUCCESS_RATE` and `PERCENTILE` require both an `origin` and a `region` and constrain the `metric` (`SUCCESS_RATE` supports only `REQUESTS`; `PERCENTILE` supports any metric except `REQUESTS`). `limitPerGroup` is only supported on the `REGION` dimension.", @@ -1554,6 +1565,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -1659,6 +1671,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts b/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts index a089028c8..085def8c2 100644 --- a/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts +++ b/src/generated/forge-mcp/radar/postQuantum/origin/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_postQuantum_origin_summary", title: "Get Origin Post-Quantum Data Summary", - description: "Returns a summary of origin post-quantum data grouped by the specified dimension.", + description: "Returns a summary of origin post-quantum data grouped by the specified dimension.\n\nGET /radar/post_quantum/origin/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the origin post-quantum data dimension by which to group the results.", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", @@ -76,6 +78,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -518,11 +521,12 @@ export const tools: readonly Tool[] = [ { name: "radar_postQuantum_origin_timeseriesGroups", title: "Get Origin Post-Quantum Data Over Time", - description: "Returns a timeseries of origin post-quantum data grouped by the specified dimension.", + description: "Returns a timeseries of origin post-quantum data grouped by the specified dimension.\n\nGET /radar/post_quantum/origin/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Specifies the origin post-quantum data dimension by which to group the results.", @@ -538,6 +542,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", @@ -584,6 +589,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts b/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts index 42ad104ce..407975d00 100644 --- a/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts +++ b/src/generated/forge-mcp/radar/postQuantum/tls/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_postQuantum_tls_support", title: "Check Post-Quantum TLS support", - description: "Tests whether a hostname or IP address supports Post-Quantum (PQ) TLS key exchange. Returns information about the negotiated key exchange algorithm, whether it uses PQ cryptography, and any detected TLS implementation bugs (Split ClientHello, HRR failure, etc.).", + description: "Tests whether a hostname or IP address supports Post-Quantum (PQ) TLS key exchange. Returns information about the negotiated key exchange algorithm, whether it uses PQ cryptography, and any detected TLS implementation bugs (Split ClientHello, HRR failure, etc.).\n\nGET /radar/post_quantum/tls/support", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "host": { "description": "Hostname or IP address to test for Post-Quantum TLS support, optionally with port (defaults to 443).", @@ -30,6 +31,7 @@ export const tools: readonly Tool[] = [ required: [ "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/quality/iqi/tools.ts b/src/generated/forge-mcp/radar/quality/iqi/tools.ts index 2001eb74b..7e1189eb9 100644 --- a/src/generated/forge-mcp/radar/quality/iqi/tools.ts +++ b/src/generated/forge-mcp/radar/quality/iqi/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_quality_iqi_summary", title: "Get Internet Quality Index (IQI) summary", - description: "Retrieves a summary (percentiles) of bandwidth, latency, or DNS response time from the Radar Internet Quality Index (IQI).", + description: "Retrieves a summary (percentiles) of bandwidth, latency, or DNS response time from the Radar Internet Quality Index (IQI).\n\nGET /radar/quality/iqi/summary", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -94,6 +95,7 @@ export const tools: readonly Tool[] = [ required: [ "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -566,11 +568,12 @@ export const tools: readonly Tool[] = [ { name: "radar_quality_iqi_timeseriesGroups", title: "Get Internet Quality Index (IQI) time series", - description: "Retrieves a time series (percentiles) of bandwidth, latency, or DNS response time from the Radar Internet Quality Index (IQI).", + description: "Retrieves a time series (percentiles) of bandwidth, latency, or DNS response time from the Radar Internet Quality Index (IQI).\n\nGET /radar/quality/iqi/timeseries_groups", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -664,6 +667,7 @@ export const tools: readonly Tool[] = [ required: [ "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/quality/speed/tools.ts b/src/generated/forge-mcp/radar/quality/speed/tools.ts index 477fba420..9220d201c 100644 --- a/src/generated/forge-mcp/radar/quality/speed/tools.ts +++ b/src/generated/forge-mcp/radar/quality/speed/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_quality_speed_histogram", title: "Get speed tests histogram", - description: "Retrieves a histogram from the previous 90 days of Cloudflare Speed Test data, split into fixed bandwidth (Mbps), latency (ms), or jitter (ms) buckets.", + description: "Retrieves a histogram from the previous 90 days of Cloudflare Speed Test data, split into fixed bandwidth (Mbps), latency (ms), or jitter (ms) buckets.\n\nGET /radar/quality/speed/histogram", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -78,6 +79,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -589,11 +591,12 @@ export const tools: readonly Tool[] = [ { name: "radar_quality_speed_summary", title: "Get speed tests summary", - description: "Retrieves a summary of bandwidth, latency, jitter, and packet loss, from the previous 90 days of Cloudflare Speed Test data.", + description: "Retrieves a summary of bandwidth, latency, jitter, and packet loss, from the previous 90 days of Cloudflare Speed Test data.\n\nGET /radar/quality/speed/summary", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -643,6 +646,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/quality/speed/top/tools.ts b/src/generated/forge-mcp/radar/quality/speed/top/tools.ts index 44268d2f1..c9cd2c373 100644 --- a/src/generated/forge-mcp/radar/quality/speed/top/tools.ts +++ b/src/generated/forge-mcp/radar/quality/speed/top/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_quality_speed_top_ases", title: "Get top ASes by speed test results", - description: "Retrieves the top autonomous systems by bandwidth, latency, jitter, or packet loss, from the previous 90 days of Cloudflare Speed Test data.", + description: "Retrieves the top autonomous systems by bandwidth, latency, jitter, or packet loss, from the previous 90 days of Cloudflare Speed Test data.\n\nGET /radar/quality/speed/top/ases", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -86,6 +87,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -615,11 +617,12 @@ export const tools: readonly Tool[] = [ { name: "radar_quality_speed_top_locations", title: "Get top locations by speed test results", - description: "Retrieves the top locations by bandwidth, latency, jitter, or packet loss, from the previous 90 days of Cloudflare Speed Test data.", + description: "Retrieves the top locations by bandwidth, latency, jitter, or packet loss, from the previous 90 days of Cloudflare Speed Test data.\n\nGET /radar/quality/speed/top/locations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -691,6 +694,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ranking/domain/tools.ts b/src/generated/forge-mcp/radar/ranking/domain/tools.ts index 342806da5..9cd037d59 100644 --- a/src/generated/forge-mcp/radar/ranking/domain/tools.ts +++ b/src/generated/forge-mcp/radar/ranking/domain/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ranking_domain_get", title: "Get domain rank details", - description: "Retrieves domain rank details. Cloudflare provides an ordered rank for the top 100 domains, but for the remainder it only provides ranking buckets like top 200 thousand, top one million, etc.. These are available through Radar datasets endpoints.", + description: "Retrieves domain rank details. Cloudflare provides an ordered rank for the top 100 domains, but for the remainder it only provides ranking buckets like top 200 thousand, top one million, etc.. These are available through Radar datasets endpoints.\n\nGET /radar/ranking/domain/{domain}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "domain": { "description": "Domain name.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "date": { "description": "Filters results by the specified array of dates.", @@ -77,6 +79,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts b/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts index 160489491..0fb403097 100644 --- a/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts +++ b/src/generated/forge-mcp/radar/ranking/internetServices/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ranking_internetServices_categories", title: "List Internet services categories", - description: "Retrieves the list of Internet services categories.", + description: "Retrieves the list of Internet services categories.\n\nGET /radar/ranking/internet_services/categories", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "date": { "description": "Filters results by the specified array of dates.", @@ -47,6 +48,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -184,11 +186,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ranking_internetServices_timeseriesGroups", title: "Get Internet services rank time series", - description: "Retrieves Internet Services rank update changes over time.", + description: "Retrieves Internet Services rank update changes over time.\n\nGET /radar/ranking/internet_services/timeseries_groups", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", @@ -244,6 +247,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -754,11 +758,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ranking_internetServices_top", title: "Get top Internet services", - description: "Retrieves top Internet services based on their rank.", + description: "Retrieves top Internet services based on their rank.\n\nGET /radar/ranking/internet_services/top", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "date": { "description": "Filters results by the specified array of dates.", @@ -798,6 +803,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/ranking/tools.ts b/src/generated/forge-mcp/radar/ranking/tools.ts index 09507cdb6..46fee4a07 100644 --- a/src/generated/forge-mcp/radar/ranking/tools.ts +++ b/src/generated/forge-mcp/radar/ranking/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ranking_timeseriesGroups", title: "Get domains rank time series", - description: "Retrieves domains rank over time.", + description: "Retrieves domains rank over time.\n\nGET /radar/ranking/timeseries_groups", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`. When requesting comparison series, every series must resolve to the same duration as the main series. Each `dateStart`/`dateEnd` is floored to the nearest 15 minutes before evaluation, so windows whose durations match only before alignment may be rejected.", @@ -94,6 +95,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -607,11 +609,12 @@ export const tools: readonly Tool[] = [ { name: "radar_ranking_top", title: "Get top or trending domains", - description: "Retrieves the top or trending domains based on their rank. Popular domains are domains of broad appeal based on how people use the Internet. Trending domains are domains that are generating a surge in interest. For more information on top domains, see https://blog.cloudflare.com/radar-domain-rankings/.", + description: "Retrieves the top or trending domains based on their rank. Popular domains are domains of broad appeal based on how people use the Internet. Trending domains are domains that are generating a surge in interest. For more information on top domains, see https://blog.cloudflare.com/radar-domain-rankings/.\n\nGET /radar/ranking/top", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "date": { "description": "Filters results by the specified array of dates.", @@ -668,6 +671,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts b/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts index 6d7bb800d..9c96d547d 100644 --- a/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts +++ b/src/generated/forge-mcp/radar/robotsTxt/top/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_robotsTxt_top_domainCategories", title: "Get top domain categories by robots.txt files parsed", - description: "Retrieves the top domain categories by the number of robots.txt files parsed.", + description: "Retrieves the top domain categories by the number of robots.txt files parsed.\n\nGET /radar/robots_txt/top/domain_categories", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "date": { "description": "Filters results by the specified array of dates.", @@ -56,6 +57,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts b/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts index a071310b2..ba27f7ded 100644 --- a/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts +++ b/src/generated/forge-mcp/radar/robotsTxt/top/userAgents/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_robotsTxt_top_userAgents_directive", title: "Get top user agents on robots.txt files", - description: "Retrieves the top user agents on robots.txt files.", + description: "Retrieves the top user agents on robots.txt files.\n\nGET /radar/robots_txt/top/user_agents/directive", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "date": { "description": "Filters results by the specified array of dates.", @@ -71,6 +72,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/search/tools.ts b/src/generated/forge-mcp/radar/search/tools.ts index 57c2156e1..4ab50db9c 100644 --- a/src/generated/forge-mcp/radar/search/tools.ts +++ b/src/generated/forge-mcp/radar/search/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_search_global", title: "Search for locations, ASes, reports, and more", - description: "Searches for locations, autonomous systems, reports, bots, certificate logs, certificate authorities, industries and verticals. Location names can be localized by sending an `Accept-Language` HTTP header with a BCP 47 language tag (e.g., `Accept-Language: pt-PT`). The full quality-value chain is supported (e.g., `pt-PT,pt;q=0.9,en;q=0.8`).", + description: "Searches for locations, autonomous systems, reports, bots, certificate logs, certificate authorities, industries and verticals. Location names can be localized by sending an `Accept-Language` HTTP header with a BCP 47 language tag (e.g., `Accept-Language: pt-PT`). The full quality-value chain is supported (e.g., `pt-PT,pt;q=0.9,en;q=0.8`).\n\nGET /radar/search/global", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "exclude": { "description": "Search types excluded from results.", @@ -89,6 +90,7 @@ export const tools: readonly Tool[] = [ required: [ "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts b/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts index 98ec8a44f..d14894482 100644 --- a/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts +++ b/src/generated/forge-mcp/radar/tcpResetsTimeouts/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_tcpResetsTimeouts_summary", title: "Get TCP resets and timeouts summary", - description: "Retrieves the distribution of connection stage by TCP connections terminated within the first 10 packets by a reset or timeout.", + description: "Retrieves the distribution of connection stage by TCP connections terminated within the first 10 packets by a reset or timeout.\n\nGET /radar/tcp_resets_timeouts/summary", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with `-` to exclude ASNs from results. For example, `-174, 3356` excludes results from AS174, but includes results from AS3356.", @@ -79,6 +80,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -566,11 +568,12 @@ export const tools: readonly Tool[] = [ { name: "radar_tcpResetsTimeouts_timeseriesGroups", title: "Get TCP resets and timeouts time series", - description: "Retrieves the distribution of connection stage by TCP connections terminated within the first 10 packets by a reset or timeout over time.", + description: "Retrieves the distribution of connection stage by TCP connections terminated within the first 10 packets by a reset or timeout over time.\n\nGET /radar/tcp_resets_timeouts/timeseries_groups", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -645,6 +648,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/tlds/performance/tools.ts b/src/generated/forge-mcp/radar/tlds/performance/tools.ts index b4ae3652b..104760554 100644 --- a/src/generated/forge-mcp/radar/tlds/performance/tools.ts +++ b/src/generated/forge-mcp/radar/tlds/performance/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_tlds_performance_summary", title: "Get TLD Performance Summary", - description: "Returns a summary of TLD authoritative nameserver performance grouped by the specified dimension.", + description: "Returns a summary of TLD authoritative nameserver performance grouped by the specified dimension.\n\nGET /radar/tlds/performance/summary/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Dimension to summarize TLD nameserver latency by.", @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "continent": { "description": "Filters results by continent. Specify a comma-separated list of alpha-2 codes. Prefix with `-` to exclude continents from results. For example, `-EU,NA` excludes results from EU, but includes results from NA.", @@ -107,6 +109,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -554,11 +557,12 @@ export const tools: readonly Tool[] = [ { name: "radar_tlds_performance_timeseriesGroups", title: "Get TLD Performance Over Time", - description: "Returns a timeseries of TLD authoritative nameserver performance grouped by the specified dimension.", + description: "Returns a timeseries of TLD authoritative nameserver performance grouped by the specified dimension.\n\nGET /radar/tlds/performance/timeseries_groups/{dimension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "dimension": { "description": "Dimension for the TLD nameserver latency timeseries.", @@ -576,6 +580,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aggInterval": { "description": "Aggregation interval of the results (e.g., in 15 minutes or 1 hour intervals). Refer to [Aggregation intervals](https://developers.cloudflare.com/radar/concepts/aggregation-intervals/). When omitted, the interval is auto-selected from the requested date range; finer intervals are only available for shorter ranges. If the requested interval is too granular for the date range, the request is rejected.", @@ -661,6 +666,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/tlds/tools.ts b/src/generated/forge-mcp/radar/tlds/tools.ts index 8df236d6d..3b16abefc 100644 --- a/src/generated/forge-mcp/radar/tlds/tools.ts +++ b/src/generated/forge-mcp/radar/tlds/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_tlds_get", title: "Get TLD details", - description: "Retrieves the requested TLD information.", + description: "Retrieves the requested TLD information.\n\nGET /radar/tlds/{tld}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "tld": { "description": "Top-level domain.", @@ -27,6 +28,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -43,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -168,11 +171,12 @@ export const tools: readonly Tool[] = [ { name: "radar_tlds_list", title: "List TLDs", - description: "Retrieves a list of TLDs.", + description: "Retrieves a list of TLDs.\n\nGET /radar/tlds", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -214,6 +218,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts b/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts index eb4400988..4ea47a6e3 100644 --- a/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts +++ b/src/generated/forge-mcp/radar/trafficAnomalies/locations/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_trafficAnomalies_locations_get", title: "Get top locations by total traffic anomalies", - description: "Retrieves the sum of Internet traffic anomalies, grouped by location. These anomalies are signals that might indicate an outage, automatically detected by Radar and manually verified by our team.", + description: "Retrieves the sum of Internet traffic anomalies, grouped by location. These anomalies are signals that might indicate an outage, automatically detected by Radar and manually verified by our team.\n\nGET /radar/traffic_anomalies/locations", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "dateEnd": { "description": "End of the date range (inclusive). Alternative to `dateRange`; provide together with `dateStart`.", @@ -54,6 +55,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts b/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts index cba65000c..303dba48f 100644 --- a/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts +++ b/src/generated/forge-mcp/radar/trafficAnomalies/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "radar_trafficAnomalies_get", title: "Get latest Internet traffic anomalies", - description: "Retrieves the latest Internet traffic anomalies, which are signals that might indicate an outage. These alerts are automatically detected by Radar and manually verified by our team.", + description: "Retrieves the latest Internet traffic anomalies, which are signals that might indicate an outage. These alerts are automatically detected by Radar and manually verified by our team.\n\nGET /radar/traffic_anomalies", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "asn": { "description": "Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.", @@ -113,6 +114,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -570,11 +572,12 @@ export const tools: readonly Tool[] = [ { name: "radar_trafficAnomalies_getById", title: "Get traffic anomaly by UUID", - description: "Retrieves a single Internet traffic anomaly by UUID.", + description: "Retrieves a single Internet traffic anomaly by UUID.\n\nGET /radar/traffic_anomalies/{uuid}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "uuid": { "description": "Traffic anomaly UUID.", @@ -587,6 +590,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "description": "Format in which results will be returned.", @@ -603,6 +607,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/ready/tools.ts b/src/generated/forge-mcp/ready/tools.ts index 5cb19ce32..a6839e9cc 100644 --- a/src/generated/forge-mcp/ready/tools.ts +++ b/src/generated/forge-mcp/ready/tools.ts @@ -11,10 +11,11 @@ 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.\n\nGET /ready", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts index 2815c70bb..d90d4aac4 100644 --- a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/daily/tools.ts @@ -6,10 +6,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../../schemas.js"; /** * The tools of `realtime.kit.analytics.livestreams.daily`. @@ -18,19 +14,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_analytics_livestreams_daily_get", title: "Fetch day-wise analytics data for your livestreams", - description: "Returns day-wise livestream analytics for the specified time range.\n\nThis method is beta.", + description: "Returns day-wise livestream analytics for the specified time range.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/analytics/livestreams/daywise", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -40,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "end_time": { "description": "Specify the end time as a Unix timestamp in seconds to access the livestream analytics.", @@ -60,10 +58,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts index 0c625ba96..c2317ac93 100644 --- a/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/analytics/livestreams/tools.ts @@ -6,10 +6,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; /** * The tools of `realtime.kit.analytics.livestreams`. @@ -18,19 +14,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_analytics_livestreams_get", title: "Fetch complete analytics data for your livestreams", - description: "Returns livestream analytics for the specified time range.\n\nThis method is beta.", + description: "Returns livestream analytics for the specified time range.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/analytics/livestreams/overall", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -40,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "end_time": { "description": "Specify the end time as a Unix timestamp in seconds to access the livestream analytics.", @@ -60,10 +58,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts b/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts index 952a15792..fb64a669a 100644 --- a/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/analytics/usage/tools.ts @@ -6,10 +6,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; /** * The tools of `realtime.kit.analytics.usage`. @@ -18,19 +14,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_analytics_usage_get", title: "Fetch day-wise session and recording analytics data for an App", - description: "Returns day-wise session and recording analytics data of an App for the specified time range start_date to end_date. If start_date and end_date are not provided, the default time range is set from 30 days ago to the current date.\n\nThis method is beta.", + description: "Returns day-wise session and recording analytics data of an App for the specified time range start_date to end_date. If start_date and end_date are not provided, the default time range is set from 30 days ago to the current date.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/analytics/daywise", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -40,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "end_date": { "description": "end date in YYYY-MM-DD format", @@ -56,10 +54,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/apps/tools.ts b/src/generated/forge-mcp/realtime/kit/apps/tools.ts index e7b34b27e..65bf4b9f0 100644 --- a/src/generated/forge-mcp/realtime/kit/apps/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/apps/tools.ts @@ -7,10 +7,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../schemas.js"; /** * The tools of `realtime.kit.apps`. @@ -19,7 +15,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_apps_create", title: "Create App", - description: "Create new app for your account\n\nThis method is beta.", + description: "Create new app for your account\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/apps", inputSchema: { type: "object", properties: { @@ -35,10 +31,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -51,9 +48,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -147,19 +142,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_apps_get", title: "Fetch app details", - description: "Fetch details for an app in your account.\n\nThis method is beta.", + description: "Fetch details for an app in your account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/apps/{app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -172,10 +168,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -272,15 +265,16 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_apps_list", title: "Fetch all apps", - description: "Fetch all apps for your account\n\nThis method is beta.", + description: "Fetch all apps for your account\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/apps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -289,6 +283,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_no": { "default": 1, @@ -320,9 +315,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -445,7 +438,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_apps_update", title: "Update an app", - description: "Update the name of an app in your account.\n\nThis method is beta.", + description: "Update the name of an app in your account.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/realtime/kit/apps/{app_id}", inputSchema: { type: "object", properties: { @@ -462,10 +455,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { "format": "uuid", @@ -483,9 +477,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts b/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts index 39ebedeb0..135b3bb7f 100644 --- a/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/livestreams/sessions/tools.ts @@ -8,10 +8,6 @@ import { realtimekit_LivestreamSession, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; /** * The tools of `realtime.kit.livestreams.sessions`. @@ -20,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_livestreams_sessions_get", title: "Fetch livestream session details using livestream session ID", - description: "Returns livestream session details for the given livestream session ID. Retrieve the `livestream_session_id`using the `Fetch livestream session details using a session ID` API.\n\nThis method is beta.", + description: "Returns livestream session details for the given livestream session ID. Retrieve the `livestream_session_id`using the `Fetch livestream session details using a session ID` API.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/livestreams/sessions/{livestream-session-id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "livestream-session-id": { "type": "string" @@ -49,10 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -121,19 +115,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_livestreams_sessions_listActive", title: "Fetch active livestream session details", - description: "Returns details of all active livestreams for the given livestream ID. Retreive the livestream ID using the `Start livestreaming a meeting` API.\n\nThis method is beta.", + description: "Returns details of all active livestreams for the given livestream ID. Retreive the livestream ID using the `Start livestreaming a meeting` API.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/livestreams/{livestream_id}/active-livestream-session", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "livestream_id": { "type": "string" @@ -150,10 +145,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts b/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts index 3dd4de729..74fe8f6f5 100644 --- a/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/livestreams/tools.ts @@ -9,10 +9,6 @@ import { realtimekit_PagingInfo, realtimekit_ValidationIssue, } from "../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../schemas.js"; /** * The tools of `realtime.kit.livestreams`. @@ -21,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_livestreams_get", title: "Fetch livestream details using livestream ID", - description: "Returns details of a livestream with sessions for the given livestream ID. Retreive the livestream ID using the `Start livestreaming a meeting` API.\n\nThis method is beta.", + description: "Returns details of a livestream with sessions for the given livestream ID. Retreive the livestream ID using the `Start livestreaming a meeting` API.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/livestreams/{livestream_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "livestream_id": { "type": "string" @@ -47,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_no": { "description": "The page number from which you want your page search results to be displayed.", @@ -63,10 +61,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -181,19 +176,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_livestreams_list", title: "Fetch all livestreams", - description: "Returns details of livestreams associated with the given App ID. It includes livestreams created by your App and RealtimeKit meetings that are livestreamed by your App. If you only want details of livestreams created by your App and not RealtimeKit meetings, you can use the `exclude_meetings` query parameter.\n\nThis method is beta.", + description: "Returns details of livestreams associated with the given App ID. It includes livestreams created by your App and RealtimeKit meetings that are livestreamed by your App. If you only want details of livestreams created by your App and not RealtimeKit meetings, you can use the `exclude_meetings` query parameter.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/livestreams", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -203,6 +199,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "end_time": { "description": "Specify the end time range in ISO format to access the live stream.", @@ -252,10 +249,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -349,7 +343,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_livestreams_start", title: "Start livestreaming a meeting", - description: "Starts livestream of a meeting associated with the given meeting ID. Retreive the meeting ID using the `Create a meeting` API.\n\nThis method is beta.", + description: "Starts livestream of a meeting associated with the given meeting ID. Retreive the meeting ID using the `Create a meeting` API.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/livestreams", inputSchema: { type: "object", properties: { @@ -382,14 +376,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -409,10 +404,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -586,19 +578,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_livestreams_stop", title: "Stop livestreaming a meeting", - description: "Stops the active livestream of a meeting associated with the given meeting ID. Retreive the meeting ID using the `Create a meeting` API.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation stops the active livestream. Viewers lose the broadcast immediately.", + description: "Stops the active livestream of a meeting associated with the given meeting ID. Retreive the meeting ID using the `Create a meeting` API.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation stops the active livestream. Viewers lose the broadcast immediately.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-livestream/stop", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -617,10 +610,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts index 43e7ad08c..998962896 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/polls/tools.ts @@ -2,10 +2,6 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../../../../_/tool.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../../schemas.js"; import { realtimekit_Poll } from "./outputs.js"; /** @@ -15,7 +11,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_active_polls_create", title: "Create a poll", - description: "Creates a new poll in an active session for the given meeting ID.\n\nThis method is beta.", + description: "Creates a new poll in an active session for the given meeting ID.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session/poll", inputSchema: { type: "object", properties: { @@ -49,14 +45,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -75,10 +72,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts index 5246b18d7..2ede627ce 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/active/tools.ts @@ -7,10 +7,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_SessionParticipant } from "./outputs.js"; /** @@ -20,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_active_get", title: "Fetch details of an active session", - description: "Returns details of an ongoing active session for the given meeting ID.\n\nThis method is beta.", + description: "Returns details of an ongoing active session for the given meeting ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -50,10 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -114,7 +108,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_active_kick", title: "Kick participants from an active session", - description: "Kicks one or more participants from an active session using user ID or custom participant ID.\n\nThis method is beta.", + description: "Kicks one or more participants from an active session using user ID or custom participant ID.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session/kick", inputSchema: { type: "object", properties: { @@ -140,14 +134,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -166,10 +161,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -253,19 +245,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_active_kickAll", title: "Kick all participants", - description: "Kicks all participants from an active session for the given meeting ID.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation disconnects every active participant immediately.", + description: "Kicks all participants from an active session for the given meeting ID.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation disconnects every active participant immediately.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session/kick-all", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -283,10 +276,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -359,7 +349,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_active_mute", title: "Mute participants of an active session", - description: "Mutes one or more participants from an active session using user ID or custom participant ID.\n\nThis method is beta.", + description: "Mutes one or more participants from an active session using user ID or custom participant ID.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session/mute", inputSchema: { type: "object", properties: { @@ -384,14 +374,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -410,10 +401,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -497,7 +485,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_active_muteAll", title: "Mute all participants", - description: "Mutes all participants of an active session for the given meeting ID.\n\nThis method is beta.", + description: "Mutes all participants of an active session for the given meeting ID.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-session/mute-all", inputSchema: { type: "object", properties: { @@ -513,14 +501,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -539,10 +528,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts index 7f5f52017..bfc5f33e8 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/livestream/tools.ts @@ -9,10 +9,6 @@ import { realtimekit_PagingInfo, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; /** * The tools of `realtime.kit.meetings.livestream`. @@ -21,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_livestream_get", title: "Fetch livestream session details for a meeting", - description: "Returns livestream session details for the given meeting ID. Retreive the meeting ID using the `Create a meeting` API.\n\nThis method is beta.", + description: "Returns livestream session details for the given meeting ID. Retreive the meeting ID using the `Create a meeting` API.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/livestream", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -49,6 +46,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_no": { "description": "The page number from which you want your page search results to be displayed.", @@ -65,10 +63,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -199,19 +194,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_livestream_listActive", title: "Fetch active livestreams for a meeting", - description: "Returns details of all active livestreams for the given meeting ID.\n\nThis method is beta.", + description: "Returns details of all active livestreams for the given meeting ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/active-livestream", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -230,10 +226,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts index a4b5d5a57..2ed6390f4 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/participants/tokens/tools.ts @@ -7,10 +7,6 @@ import { realtimekit_GenericSuccessResponse, realtimekit_ValidationIssue, } from "../../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../../schemas.js"; import { realtimekit_ParticipantTokenValidity } from "../schemas.js"; /** @@ -20,7 +16,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_participants_tokens_refresh", title: "Refresh participant's authentication token", - description: "Regenerates participant's authentication token for the given meeting and participant ID.\n\nThis method is beta.", + description: "Regenerates participant's authentication token for the given meeting and participant ID.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id}/token", inputSchema: { type: "object", properties: { @@ -28,14 +24,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/realtimekit_ParticipantTokenValidity" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", @@ -59,10 +56,9 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "realtimekit_ParticipantTokenValidity": realtimekit_ParticipantTokenValidity, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, }, }, outputSchema: { @@ -178,7 +174,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_participants_tokens_revoke", title: "Revoke participant's authentication token", - description: "Revokes a previously issued participant authentication token without deleting the participant. Other tokens issued to the participant remain valid.\n\nThis method is beta.", + description: "Revokes a previously issued participant authentication token without deleting the participant. Other tokens issued to the participant remain valid.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id}/token", inputSchema: { type: "object", properties: { @@ -195,14 +191,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", @@ -227,10 +224,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts index 4edf88ebc..d58aaf0ca 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/participants/tools.ts @@ -9,10 +9,6 @@ import { realtimekit_PagingResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_Participant } from "./outputs.js"; import { realtimekit_ParticipantTokenValidity } from "./schemas.js"; @@ -23,18 +19,18 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_participants_create", title: "Add a participant", - description: "Adds a participant to the given meeting ID.\n\nThis method is beta.", + description: "Adds a participant to the given meeting ID.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants", inputSchema: { type: "object", properties: { "body": { "properties": { "custom_participant_id": { - "description": "A unique participant ID. You must specify a unique ID for the participant, for example, UUID, email address, and so on. ", + "description": "A unique participant ID. You must specify a unique ID for the participant, for example, UUID, email address, and so on.", "type": "string" }, "name": { - "description": "(Optional) Name of the participant. ", + "description": "(Optional) Name of the participant.", "oneOf": [ { "type": "string" @@ -45,7 +41,7 @@ export const tools: readonly Tool[] = [ ] }, "picture": { - "description": "(Optional) A URL to a picture to be used for the participant. ", + "description": "(Optional) A URL to a picture to be used for the participant.", "oneOf": [ { "type": "string" @@ -72,14 +68,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", @@ -99,10 +96,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_ParticipantTokenValidity": realtimekit_ParticipantTokenValidity, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, }, }, outputSchema: { @@ -224,19 +220,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_participants_delete", title: "Delete a participant", - description: "Deletes a participant for the given meeting and participant ID.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation removes the participant from the meeting and revokes their authentication token.", + description: "Deletes a participant for the given meeting and participant ID.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation removes the participant from the meeting and revokes their authentication token.\n\nDELETE /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", @@ -260,10 +257,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -381,19 +375,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_participants_get", title: "Fetch a participant's detail", - description: "Returns a participant details for the given meeting and participant ID.\n\nThis method is beta.", + description: "Returns a participant details for the given meeting and participant ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", @@ -417,10 +412,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -500,19 +492,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_participants_list", title: "Fetch all participants of a meeting", - description: "Returns all participants detail for the given meeting ID.\n\nThis method is beta.", + description: "Returns all participants detail for the given meeting ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", @@ -528,6 +521,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_no": { "description": "The page number from which you want your page search results to be displayed.", @@ -544,10 +538,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -633,7 +624,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_participants_replace", title: "Replace a participant's detail", - description: "Replaces a participant's details for the given meeting and participant ID.\n\nThis method is beta.", + description: "Replaces a participant's details for the given meeting and participant ID.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id}", inputSchema: { type: "object", properties: { @@ -677,14 +668,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", @@ -709,10 +701,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -833,7 +822,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_participants_update", title: "Edit a participant's detail", - description: "Updates a participant's details for the given meeting and participant ID.\n\nThis method is beta.", + description: "Updates a participant's details for the given meeting and participant ID.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}/participants/{participant_id}", inputSchema: { type: "object", properties: { @@ -876,14 +865,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. You can fetch the meeting ID using the create a meeting API.", @@ -908,10 +898,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/realtime/kit/meetings/tools.ts b/src/generated/forge-mcp/realtime/kit/meetings/tools.ts index 78259c418..9bfb82e90 100644 --- a/src/generated/forge-mcp/realtime/kit/meetings/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/meetings/tools.ts @@ -22,8 +22,6 @@ import { realtimekit_RecordingConfig as realtimekit_RecordingConfig$, realtimekit_StorageConfig as realtimekit_StorageConfig$, realtimekit_VideoConfig as realtimekit_VideoConfig$, - realtimekit_account_identifier, - realtimekit_app_id, realtimekit_realtimekitBucketConfig as realtimekit_realtimekitBucketConfig$, } from "../schemas.js"; import { @@ -44,7 +42,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_create", title: "Create a meeting", - description: "Create a meeting for the given App ID.\n\nThis method is beta.", + description: "Create a meeting for the given App ID.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/meetings", inputSchema: { type: "object", properties: { @@ -86,7 +84,7 @@ export const tools: readonly Tool[] = [ }, "recording_config": { "$ref": "#/$defs/realtimekit_RecordingConfig", - "description": "Recording Configurations to be used for this meeting. This level of configs takes higher preference over App level configs on the RealtimeKit developer portal.\n" + "description": "Recording Configurations to be used for this meeting. This level of configs takes higher preference over App level configs on the RealtimeKit developer portal." }, "session_keep_alive_time_in_secs": { "default": 60, @@ -118,14 +116,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -139,6 +138,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_AIConfig": realtimekit_AIConfig$, "realtimekit_AudioConfig": realtimekit_AudioConfig$, @@ -148,8 +148,6 @@ export const tools: readonly Tool[] = [ "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig$, "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig$, "realtimekit_VideoConfig": realtimekit_VideoConfig$, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig$, }, }, @@ -293,19 +291,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_get", title: "Fetch a meeting for an App", - description: "Returns a meeting details in an App for the given meeting ID.\n\nThis method is beta.", + description: "Returns a meeting details in an App for the given meeting ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", @@ -321,6 +320,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "type": "string" @@ -332,10 +332,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -482,19 +479,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_list", title: "Fetch all meetings for an App", - description: "Returns all meetings for the given App ID.\n\nThis method is beta.", + description: "Returns all meetings for the given App ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/meetings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -504,6 +502,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "end_time": { "description": "The end time range for which you want to retrieve the meetings. The time must be specified in ISO format.", @@ -542,10 +541,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -644,7 +640,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_replace", title: "Replace a meeting", - description: "Replaces all the details for the given meeting ID.\n\nThis method is beta.", + description: "Replaces all the details for the given meeting ID.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}", inputSchema: { type: "object", properties: { @@ -686,7 +682,7 @@ export const tools: readonly Tool[] = [ }, "recording_config": { "$ref": "#/$defs/realtimekit_RecordingConfig", - "description": "Recording Configurations to be used for this meeting. This level of configs takes higher preference over App level configs on the RealtimeKit developer portal.\n" + "description": "Recording Configurations to be used for this meeting. This level of configs takes higher preference over App level configs on the RealtimeKit developer portal." }, "session_keep_alive_time_in_secs": { "default": 60, @@ -718,14 +714,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", @@ -745,6 +742,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_AIConfig": realtimekit_AIConfig$, "realtimekit_AudioConfig": realtimekit_AudioConfig$, @@ -754,8 +752,6 @@ export const tools: readonly Tool[] = [ "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig$, "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig$, "realtimekit_VideoConfig": realtimekit_VideoConfig$, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig$, }, }, @@ -899,7 +895,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_meetings_update", title: "Update a meeting", - description: "Updates a meeting in an App for the given meeting ID.\n\nThis method is beta.", + description: "Updates a meeting in an App for the given meeting ID.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/realtime/kit/{app_id}/meetings/{meeting_id}", inputSchema: { type: "object", properties: { @@ -924,7 +920,7 @@ export const tools: readonly Tool[] = [ }, "recording_config": { "$ref": "#/$defs/realtimekit_RecordingConfig", - "description": "Recording Configurations to be used for this meeting. This level of configs takes higher preference over App level configs on the RealtimeKit developer portal.\n" + "description": "Recording Configurations to be used for this meeting. This level of configs takes higher preference over App level configs on the RealtimeKit developer portal." }, "session_keep_alive_time_in_secs": { "description": "Time in seconds, for which a session remains active, after the last participant has left the meeting.", @@ -954,14 +950,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting. Fetch the meeting ID using the create a meeting API.", @@ -981,6 +978,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_AIConfig": realtimekit_AIConfig$, "realtimekit_AudioConfig": realtimekit_AudioConfig$, @@ -990,8 +988,6 @@ export const tools: readonly Tool[] = [ "realtimekit_SummarizationConfig": realtimekit_SummarizationConfig$, "realtimekit_TranscriptionConfig": realtimekit_TranscriptionConfig$, "realtimekit_VideoConfig": realtimekit_VideoConfig$, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig$, }, }, diff --git a/src/generated/forge-mcp/realtime/kit/presets/schemas.ts b/src/generated/forge-mcp/realtime/kit/presets/schemas.ts index e9cb783b1..3e52c406d 100644 --- a/src/generated/forge-mcp/realtime/kit/presets/schemas.ts +++ b/src/generated/forge-mcp/realtime/kit/presets/schemas.ts @@ -73,7 +73,7 @@ export const realtimekit_Preset: JsonSchema = { "type": "number" }, "quality": { - "description": "Quality of screen share ", + "description": "Quality of screen share", "enum": [ "hd", "vga", @@ -692,7 +692,7 @@ export const realtimekit_UpdatePreset: JsonSchema = { "type": "number" }, "quality": { - "description": "Quality of screen share ", + "description": "Quality of screen share", "enum": [ "hd", "vga", diff --git a/src/generated/forge-mcp/realtime/kit/presets/tools.ts b/src/generated/forge-mcp/realtime/kit/presets/tools.ts index ffa2884cd..9962f8e1a 100644 --- a/src/generated/forge-mcp/realtime/kit/presets/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/presets/tools.ts @@ -9,10 +9,6 @@ import { realtimekit_PagingResponse, realtimekit_ValidationIssue, } from "../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../schemas.js"; import { realtimekit_Preset, realtimekit_PresetListItem, @@ -31,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_presets_create", title: "Create a preset", - description: "Creates a preset belonging to the current App\n\nThis method is beta.", + description: "Creates a preset belonging to the current App\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/presets", inputSchema: { type: "object", properties: { @@ -39,14 +35,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/realtimekit_Preset" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -60,11 +57,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_Preset": realtimekit_Preset$, "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig$, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, }, }, outputSchema: { @@ -197,19 +193,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_presets_delete", title: "Delete a preset", - description: "Deletes a preset using the provided preset ID\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the preset.", + description: "Deletes a preset using the provided preset ID\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the preset.\n\nDELETE /accounts/{account_id}/realtime/kit/{app_id}/presets/{preset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "preset_id": { "description": "ID of the preset to fetch", @@ -228,10 +225,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -362,19 +356,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_presets_get", title: "Fetch details of a preset", - description: "Fetches details of a preset using the provided preset ID\n\nThis method is beta.", + description: "Fetches details of a preset using the provided preset ID\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/presets/{preset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "preset_id": { "description": "ID of the preset to fetch", @@ -393,10 +388,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -527,19 +519,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_presets_list", title: "Fetch all presets", - description: "Fetches all the presets belonging to an App.\n\nThis method is beta.", + description: "Fetches all the presets belonging to an App.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/presets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -549,6 +542,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_no": { "description": "The page number from which you want your page search results to be displayed.", @@ -569,10 +563,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -656,7 +647,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_presets_replace", title: "Replace a preset", - description: "Replace all details for the preset using the provided preset ID.\n\nThis method is beta.", + description: "Replace all details for the preset using the provided preset ID.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/realtime/kit/{app_id}/presets/{preset_id}", inputSchema: { type: "object", properties: { @@ -664,14 +655,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/realtimekit_Preset" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "preset_id": { "description": "ID of the preset to replace", @@ -691,11 +683,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_Preset": realtimekit_Preset$, "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig$, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, }, }, outputSchema: { @@ -828,7 +819,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_presets_update", title: "Update a preset", - description: "Update a preset by the provided preset ID\n\nThis method is beta.", + description: "Update a preset by the provided preset ID\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/realtime/kit/{app_id}/presets/{preset_id}", inputSchema: { type: "object", properties: { @@ -836,14 +827,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/realtimekit_UpdatePreset" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "preset_id": { "description": "ID of the preset to fetch", @@ -863,11 +855,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_PresetPluginConfig": realtimekit_PresetPluginConfig$, "realtimekit_UpdatePreset": realtimekit_UpdatePreset, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts b/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts index 5781a83ca..f1e8d404c 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/active/tools.ts @@ -7,10 +7,6 @@ import { realtimekit_GenericSuccessResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_Recording } from "../outputs.js"; /** @@ -20,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_recordings_active_get", title: "Fetch active recording", - description: "Returns the active recording details for the given meeting ID.\n\nThis method is beta.", + description: "Returns the active recording details for the given meeting ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/recordings/active-recording/{meeting_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "meeting_id": { "description": "ID of the meeting", @@ -50,10 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/realtime/kit/recordings/tools.ts b/src/generated/forge-mcp/realtime/kit/recordings/tools.ts index 82bea65e1..d6a35df29 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/tools.ts @@ -21,8 +21,6 @@ import { realtimekit_LivestreamingConfig as realtimekit_LivestreamingConfig$, realtimekit_StorageConfig as realtimekit_StorageConfig$, realtimekit_VideoConfig as realtimekit_VideoConfig$, - realtimekit_account_identifier, - realtimekit_app_id, realtimekit_realtimekitBucketConfig as realtimekit_realtimekitBucketConfig$, } from "../schemas.js"; import { @@ -39,7 +37,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_recordings_control", title: "Pause/Resume/Stop recording", - description: "Pause/Resume/Stop a given recording ID.\n\nThis method is beta.", + description: "Pause/Resume/Stop a given recording ID.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/realtime/kit/{app_id}/recordings/{recording_id}", inputSchema: { type: "object", properties: { @@ -60,14 +58,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "recording_id": { "description": "ID of the recording", @@ -87,10 +86,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -205,19 +201,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_recordings_get", title: "Fetch details of a recording", - description: "Returns details of a recording for the given recording ID.\n\nThis method is beta.", + description: "Returns details of a recording for the given recording ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/recordings/{recording_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "recording_id": { "description": "ID of the recording", @@ -236,10 +233,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -353,19 +347,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_recordings_list", title: "Fetch all recordings for an App", - description: "Returns all recordings for an App. If the `meeting_id` parameter is passed, returns all recordings for the given meeting ID.\n\nThis method is beta.", + description: "Returns all recordings for an App. If the `meeting_id` parameter is passed, returns all recordings for the given meeting ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/recordings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -375,6 +370,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "end_time": { "description": "The end time range for which you want to retrieve the meetings. The time must be specified in ISO format.", @@ -442,10 +438,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -590,7 +583,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_recordings_start", title: "Start recording a meeting", - description: "Starts recording a meeting. The meeting can be started by an App admin directly, or a participant with permissions to start a recording, based on the type of authorization used.\n\nThis method is beta.", + description: "Starts recording a meeting. The meeting can be started by an App admin directly, or a participant with permissions to start a recording, based on the type of authorization used.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/recordings", inputSchema: { type: "object", properties: { @@ -645,14 +638,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -666,14 +660,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_AudioConfig": realtimekit_AudioConfig$, "realtimekit_InteractiveConfig": realtimekit_InteractiveConfig, "realtimekit_LivestreamingConfig": realtimekit_LivestreamingConfig$, "realtimekit_StorageConfig": realtimekit_StorageConfig$, "realtimekit_VideoConfig": realtimekit_VideoConfig$, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, "realtimekit_realtimekitBucketConfig": realtimekit_realtimekitBucketConfig$, }, }, diff --git a/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts b/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts index 5bb4ab40d..7b2efb899 100644 --- a/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/recordings/tracks/tools.ts @@ -7,10 +7,6 @@ import { realtimekit_GenericSuccessResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_Recording } from "../outputs.js"; import { realtimekit_TrackConfigLayer } from "./schemas.js"; @@ -21,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_recordings_tracks_start", title: "Start recording participant audio tracks", - description: "Starts track recording for a meeting. Track recording currently records separate participant audio tracks as WebM files in the RealtimeKit bucket. Video track recording is in development. For more information, refer to [Track recording](/realtime/realtimekit/recording-guide/track-recording/).\n\nThis method is beta.", + description: "Starts track recording for a meeting. Track recording currently records separate participant audio tracks as WebM files in the RealtimeKit bucket. Video track recording is in development. For more information, refer to [Track recording](/realtime/realtimekit/recording-guide/track-recording/).\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/recordings/track", inputSchema: { type: "object", properties: { @@ -56,14 +52,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -77,10 +74,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_TrackConfigLayer": realtimekit_TrackConfigLayer, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/realtime/kit/schemas.ts b/src/generated/forge-mcp/realtime/kit/schemas.ts index 64a2408d2..dfeb588df 100644 --- a/src/generated/forge-mcp/realtime/kit/schemas.ts +++ b/src/generated/forge-mcp/realtime/kit/schemas.ts @@ -54,7 +54,7 @@ export const realtimekit_LivestreamingConfig: JsonSchema = { * The schema of `realtimekit_RecordingConfig`. */ export const realtimekit_RecordingConfig: JsonSchema = { - "description": "Recording Configurations to be used for this meeting. This level of configs takes higher preference over App level configs on the RealtimeKit developer portal.\n", + "description": "Recording Configurations to be used for this meeting. This level of configs takes higher preference over App level configs on the RealtimeKit developer portal.", "properties": { "audio_config": { "$ref": "#/$defs/realtimekit_AudioConfig", @@ -99,7 +99,7 @@ export const realtimekit_StorageConfig: JsonSchema = { "type": "string" }, "auth_method": { - "description": "Authentication method used for \"sftp\" type storage medium\n", + "description": "Authentication method used for \"sftp\" type storage medium", "enum": [ "KEY", "PASSWORD" @@ -319,22 +319,6 @@ export const realtimekit_VideoConfig: JsonSchema = { "type": "object" }; -/** - * The schema of `realtimekit_account_identifier`. - */ -export const realtimekit_account_identifier: JsonSchema = { - "description": "The account identifier tag.", - "type": "string" -}; - -/** - * The schema of `realtimekit_app_id`. - */ -export const realtimekit_app_id: JsonSchema = { - "description": "The app identifier tag.", - "type": "string" -}; - /** * The schema of `realtimekit_realtimekitBucketConfig`. */ diff --git a/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts index ce6a8b065..9aa47fa70 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/chat/tools.ts @@ -6,10 +6,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_ChatMessage } from "./outputs.js"; /** @@ -19,19 +15,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_chat_export", title: "Fetch all chat messages of a session", - description: "Returns a URL to download all chat messages of the session ID in CSV format.\n\nThis method is beta.", + description: "Returns a URL to download all chat messages of the session ID in CSV format.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/chat", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "session_id": { "description": "ID of the session", @@ -50,10 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts index 2a67f5561..c96cda998 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/livestreams/tools.ts @@ -8,10 +8,6 @@ import { realtimekit_PagingInfo, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; /** * The tools of `realtime.kit.sessions.livestreams`. @@ -20,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_livestreams_get", title: "Fetch livestream session details using a session ID", - description: "Returns livestream session details for the given session ID. Retreive the session ID using the `Fetch all sessions of an App` API.\n\nThis method is beta.", + description: "Returns livestream session details for the given session ID. Retreive the session ID using the `Fetch all sessions of an App` API.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/livestream-sessions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "session_id": { "format": "uuid", @@ -47,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page_no": { "description": "The page number from which you want your page search results to be displayed.", @@ -63,10 +61,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts index 1e35c2e04..0ad0df41a 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/participants/tools.ts @@ -6,10 +6,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_PeerEvent } from "../outputs.js"; import { realtimekit_ParticipantsList } from "./outputs.js"; @@ -20,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_participants_get", title: "Fetch details of a participant", - description: "Returns details of the given participant ID for the given session ID. Use the peer report endpoint to retrieve call statistics.\n\nThis method is beta.", + description: "Returns details of the given participant ID for the given session ID. Use the peer report endpoint to retrieve call statistics.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/participants/{participant_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "participant_id": { "description": "ID of the participant", @@ -54,6 +51,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_peer_events": { "default": false, @@ -67,10 +65,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -146,19 +141,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_participants_list", title: "Fetch participants list of a session", - description: "Returns a list of participants for the given session ID.\n\nThis method is beta.", + description: "Returns a list of participants for the given session ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/participants", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "session_id": { "description": "ID of the session", @@ -174,6 +170,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_peer_events": { "default": false, @@ -223,10 +220,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts index 106af6f13..2058c6ac4 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/peers/tools.ts @@ -6,10 +6,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_PeerEvent } from "../outputs.js"; import { realtimekit_AudioConsumerStats, @@ -40,19 +36,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_peers_get", title: "Fetch details of peer", - description: "Returns participant details for the given peer ID along with call statistics.\n\nThis method is beta.", + description: "Returns participant details for the given peer ID along with call statistics.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/sessions/peer-report/{peer_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "peer_id": { "description": "ID of the peer", @@ -68,6 +65,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "filters": { "description": "Filter to apply to the peer report.", @@ -92,10 +90,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts index 5377c8814..c0d145162 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/summaries/tools.ts @@ -6,10 +6,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_TranscriptSummary } from "./outputs.js"; /** @@ -19,19 +15,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_summaries_export", title: "Fetch summary of transcripts for a session", - description: "Returns a Summary URL to download the Summary of Transcripts for the session ID as plain text.\n\nThis method is beta.", + description: "Returns a Summary URL to download the Summary of Transcripts for the session ID as plain text.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/summary", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "session_id": { "format": "uuid", @@ -49,10 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -113,19 +107,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_summaries_generate", title: "Generate summary of Transcripts for the session", - description: "Trigger Summary generation of Transcripts for the session ID.\n\nThis method is beta.", + description: "Trigger Summary generation of Transcripts for the session ID.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/summary", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "session_id": { "format": "uuid", @@ -143,10 +138,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/sessions/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/tools.ts index f1ca17cbc..fab7846eb 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/tools.ts @@ -7,10 +7,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../schemas.js"; /** * The tools of `realtime.kit.sessions`. @@ -19,19 +15,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_get", title: "Fetch details of a session", - description: "Returns data of the given session ID including recording details.\n\nThis method is beta.", + description: "Returns data of the given session ID including recording details.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "session_id": { "description": "ID of the session", @@ -47,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_breakout_rooms": { "default": false, @@ -60,10 +58,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -127,19 +122,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_list", title: "Fetch all sessions of an App", - description: "Returns details of all sessions of an App.\n\nThis method is beta.", + description: "Returns details of all sessions of an App.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/sessions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -149,6 +145,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "associated_id": { "description": "ID of the meeting that sessions should be associated with", @@ -208,10 +205,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts index 0fbe50df2..74d3119aa 100644 --- a/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/sessions/transcripts/tools.ts @@ -6,10 +6,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_Transcript } from "./outputs.js"; /** @@ -19,19 +15,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_sessions_transcripts_export", title: "Fetch the complete transcript for a session", - description: "Returns a URL to download the transcript for the session ID in CSV format.\n\nThis method is beta.", + description: "Returns a URL to download the transcript for the session ID in CSV format.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/transcript", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "session_id": { "description": "ID of the session", @@ -47,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "format": { "default": "CSV", @@ -66,10 +64,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts b/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts index 240cb2630..4855d5f09 100644 --- a/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/webhooks/events/tools.ts @@ -6,10 +6,6 @@ import { realtimekit_GenericErrorResponse, realtimekit_ValidationIssue, } from "../../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../../schemas.js"; import { realtimekit_WebhookEventsSuccessResponse } from "./outputs.js"; /** @@ -19,19 +15,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_webhooks_events_list", title: "Fetch all supported webhook events", - description: "Returns the list of webhook event names supported by RealtimeKit.\n\nThis method is beta.", + description: "Returns the list of webhook event names supported by RealtimeKit.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/webhooks/all", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -44,10 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/realtimekit_WebhookEventsSuccessResponse", diff --git a/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts b/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts index e3dd49f7d..28dbf2aaf 100644 --- a/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts +++ b/src/generated/forge-mcp/realtime/kit/webhooks/tools.ts @@ -3,10 +3,6 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { realtimekit_ErrorResponse } from "../outputs.js"; -import { - realtimekit_account_identifier, - realtimekit_app_id, -} from "../schemas.js"; import { realtimekit_Webhook, realtimekit_WebhookSuccessResponse, @@ -24,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_webhooks_create", title: "Add a webhook", - description: "Adds a new webhook to an App.\n\nThis method is beta.", + description: "Adds a new webhook to an App.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/realtime/kit/{app_id}/webhooks", inputSchema: { type: "object", properties: { @@ -32,14 +28,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/realtimekit_WebhookRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -53,10 +50,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_WebhookRequest": realtimekit_WebhookRequest, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, }, }, outputSchema: { @@ -105,19 +101,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_webhooks_delete", title: "Delete a webhook", - description: "Removes a webhook for the given webhook ID.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the webhook. Event delivery to it will stop.", + description: "Removes a webhook for the given webhook ID.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation deletes the webhook. Event delivery to it will stop.\n\nDELETE /accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "webhook_id": { "description": "ID of the webhook", @@ -136,10 +133,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/realtimekit_WebhookSuccessResponse", @@ -187,19 +181,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_webhooks_get", title: "Fetch details of a webhook", - description: "Returns webhook details for the given webhook ID.\n\nThis method is beta.", + description: "Returns webhook details for the given webhook ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "webhook_id": { "description": "ID of the webhook", @@ -218,10 +213,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/realtimekit_WebhookSuccessResponse", @@ -269,19 +261,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_webhooks_list", title: "Fetch all webhooks details", - description: "Returns details of all webhooks for an App.\n\nThis method is beta.", + description: "Returns details of all webhooks for an App.\n\nThis method is beta.\n\nGET /accounts/{account_id}/realtime/kit/{app_id}/webhooks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" } }, "required": [ @@ -294,10 +287,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/realtimekit_WebhooksListSuccessResponse", @@ -340,7 +330,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_webhooks_replace", title: "Replace a webhook", - description: "Replace all details for the given webhook ID.\n\nThis method is beta.", + description: "Replace all details for the given webhook ID.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { @@ -348,14 +338,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/realtimekit_WebhookRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "webhook_id": { "description": "ID of the webhook", @@ -375,10 +366,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_WebhookRequest": realtimekit_WebhookRequest, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, }, }, outputSchema: { @@ -428,7 +418,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_kit_webhooks_update", title: "Edit a webhook", - description: "Edits the webhook details for the given webhook ID.\n\nThis method is beta.", + description: "Edits the webhook details for the given webhook ID.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/realtime/kit/{app_id}/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { @@ -436,14 +426,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/realtimekit_PatchWebhookRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/realtimekit_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/realtimekit_app_id", - "description": "The app identifier tag." + "description": "The app identifier tag.", + "type": "string" }, "webhook_id": { "description": "ID of the webhook", @@ -463,10 +454,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "realtimekit_PatchWebhookRequest": realtimekit_PatchWebhookRequest, - "realtimekit_account_identifier": realtimekit_account_identifier, - "realtimekit_app_id": realtimekit_app_id, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/realtime/moq/relays/schemas.ts b/src/generated/forge-mcp/realtime/moq/relays/schemas.ts index 48b909a82..ea646afbe 100644 --- a/src/generated/forge-mcp/realtime/moq/relays/schemas.ts +++ b/src/generated/forge-mcp/realtime/moq/relays/schemas.ts @@ -3,23 +3,15 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `moq_account_identifier`. - */ -export const moq_account_identifier: JsonSchema = { - "description": "Cloudflare account identifier.", - "type": "string" -}; - /** * The schema of `moq_relay_config`. */ export const moq_relay_config: JsonSchema = { - "description": "Relay configuration. All sub-objects use whole-object replacement when\npresent; omitted sub-objects preserve the existing value.\n", + "description": "Relay configuration. All sub-objects use whole-object replacement when\npresent; omitted sub-objects preserve the existing value.", "properties": { "upstreams": { "$ref": "#/$defs/moq_upstreams", - "description": "Upstreams are external MOQT server publishers that a relay falls back\nto when it has no local publisher for a requested namespace/track.\n" + "description": "Upstreams are external MOQT server publishers that a relay falls back\nto when it has no local publisher for a requested namespace/track." } }, "type": "object" @@ -32,7 +24,7 @@ export const moq_upstream: JsonSchema = { "description": "A single upstream MOQT server publisher.", "properties": { "url": { - "description": "Upstream MOQT server publisher URL. Must be an absolute URL with a\nhost and a scheme the relay can dial: moqt:// (raw QUIC) or https://\n(WebTransport). Validated on update (PUT); rejected with 21013.\n", + "description": "Upstream MOQT server publisher URL. Must be an absolute URL with a\nhost and a scheme the relay can dial: moqt:// (raw QUIC) or https://\n(WebTransport). Validated on update (PUT); rejected with 21013.", "type": "string" } }, @@ -46,7 +38,7 @@ export const moq_upstream: JsonSchema = { * The schema of `moq_upstreams`. */ export const moq_upstreams: JsonSchema = { - "description": "Upstreams are external MOQT server publishers that a relay falls back\nto when it has no local publisher for a requested namespace/track.\n", + "description": "Upstreams are external MOQT server publishers that a relay falls back\nto when it has no local publisher for a requested namespace/track.", "properties": { "enabled": { "default": false, @@ -54,7 +46,7 @@ export const moq_upstreams: JsonSchema = { }, "upstreams": { "default": [], - "description": "Ordered list of upstream MOQT server publishers. Each entry is an\nobject (not a bare string) so per-upstream configuration can be\nadded in the future without another breaking change.\n", + "description": "Ordered list of upstream MOQT server publishers. Each entry is an\nobject (not a bare string) so per-upstream configuration can be\nadded in the future without another breaking change.", "items": { "$ref": "#/$defs/moq_upstream" }, diff --git a/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts b/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts index ad218fa8d..4aac036a4 100644 --- a/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts +++ b/src/generated/forge-mcp/realtime/moq/relays/tokens/tools.ts @@ -9,7 +9,6 @@ import { moq_cloudflare_jwt_token, moq_issuer, } from "../outputs.js"; -import { moq_account_identifier } from "../schemas.js"; import { moq_tokens_envelope } from "./outputs.js"; /** @@ -19,14 +18,14 @@ export const tools: readonly Tool[] = [ { name: "realtime_moq_relays_tokens_create", title: "Create a token", - description: "Mints a new relay-scoped token and adds it to the relay's accepted-auth\nregistry. The token value (secret) is shown once in the response. A relay\nmay hold up to 10 tokens; creating an 11th is rejected.\n\nThis method is beta.", + description: "Mints a new relay-scoped token and adds it to the relay's accepted-auth\nregistry. The token value (secret) is shown once in the response. A relay\nmay hold up to 10 tokens; creating an 11th is rejected.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/moq/relays/{relay_id}/tokens", inputSchema: { type: "object", properties: { "body": { "properties": { "expires": { - "description": "Optional expiry (RFC 3339). Defaults to 1 year from creation;\nrejected if more than 1 year in the future.\n", + "description": "Optional expiry (RFC 3339). Defaults to 1 year from creation;\nrejected if more than 1 year in the future.", "format": "date-time", "type": "string" }, @@ -35,7 +34,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "operations": { - "description": "Non-empty subset of the V1 roles the token is allowed to\nperform. Signed into the token.\n", + "description": "Non-empty subset of the V1 roles the token is allowed to\nperform. Signed into the token.", "items": { "enum": [ "publish", @@ -53,10 +52,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." + "description": "Cloudflare account identifier.", + "type": "string" }, "relay_id": { "description": "Relay unique identifier (32 hex characters).", @@ -74,9 +74,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "moq_account_identifier": moq_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -159,15 +157,16 @@ export const tools: readonly Tool[] = [ { name: "realtime_moq_relays_tokens_delete", title: "Revoke a token", - description: "Revokes a token by removing it from the set the relay accepts. Relays\ncache that set, so revocation takes effect within seconds rather than\ninstantly, and connections already established with the token are not\nclosed. Revoking an unknown token succeeds, so the call is idempotent.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Revoking this token blocks new connections that present it. Sessions already connected with it stay up.", + description: "Revokes a token by removing it from the set the relay accepts. Relays\ncache that set, so revocation takes effect within seconds rather than\ninstantly, and connections already established with the token are not\nclosed. Revoking an unknown token succeeds, so the call is idempotent.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Revoking this token blocks new connections that present it. Sessions already connected with it stay up.\n\nDELETE /accounts/{account_id}/moq/relays/{relay_id}/tokens/{jti}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." + "description": "Cloudflare account identifier.", + "type": "string" }, "jti": { "description": "Token identifier (jti — 32 hex characters).", @@ -189,9 +188,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "moq_account_identifier": moq_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/moq_api-response-common", @@ -238,15 +235,16 @@ export const tools: readonly Tool[] = [ { name: "realtime_moq_relays_tokens_list", title: "List tokens", - description: "Returns metadata for every token the relay accepts. Secrets are never\nreturned, so a token that has been lost cannot be recovered here. There\nis no expiry filter: compare each token's `expires` to the current time\nto tell which ones have lapsed.\n\nThis method is beta.", + description: "Returns metadata for every token the relay accepts. Secrets are never\nreturned, so a token that has been lost cannot be recovered here. There\nis no expiry filter: compare each token's `expires` to the current time\nto tell which ones have lapsed.\n\nThis method is beta.\n\nGET /accounts/{account_id}/moq/relays/{relay_id}/tokens", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." + "description": "Cloudflare account identifier.", + "type": "string" }, "relay_id": { "description": "Relay unique identifier (32 hex characters).", @@ -263,9 +261,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "moq_account_identifier": moq_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/realtime/moq/relays/tools.ts b/src/generated/forge-mcp/realtime/moq/relays/tools.ts index b3ae3c823..b227437f1 100644 --- a/src/generated/forge-mcp/realtime/moq/relays/tools.ts +++ b/src/generated/forge-mcp/realtime/moq/relays/tools.ts @@ -17,7 +17,6 @@ import { moq_upstreams, } from "./outputs.js"; import { - moq_account_identifier, moq_relay_config as moq_relay_config$, moq_upstream as moq_upstream$, moq_upstreams as moq_upstreams$, @@ -30,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_moq_relays_create", title: "Create a relay", - description: "Provisions a new MoQ relay instance. Auto-creates a publish+subscribe\ntoken and a subscribe-only token. Token values are included in the\nresponse (shown once). Config is always set to defaults (upstreams\noff) and cannot be supplied here — sending a non-empty `config` is\nrejected (21014); `null` or `{}` is accepted as absent. Use PUT to\nconfigure the relay after it exists.\n\nThis method is beta.", + description: "Provisions a new MoQ relay instance. Auto-creates a publish+subscribe\ntoken and a subscribe-only token. Token values are included in the\nresponse (shown once). Config is always set to defaults (upstreams\noff) and cannot be supplied here — sending a non-empty `config` is\nrejected (21014); `null` or `{}` is accepted as absent. Use PUT to\nconfigure the relay after it exists.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/moq/relays", inputSchema: { type: "object", properties: { @@ -47,10 +46,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." + "description": "Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -63,9 +63,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "moq_account_identifier": moq_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -154,15 +152,16 @@ export const tools: readonly Tool[] = [ { name: "realtime_moq_relays_delete", title: "Delete a relay", - description: "Soft-deletes a MoQ relay. The relay ID goes in the URL path —\n`DELETE /accounts/{account_id}/moq/relays/{relay_id}` — not the\nrequest body; there is no collection-level delete endpoint.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Deleting this relay revokes every token issued for it, so publishers and subscribers can no longer connect. This cannot be undone.", + description: "Soft-deletes a MoQ relay. The relay ID goes in the URL path —\n`DELETE /accounts/{account_id}/moq/relays/{relay_id}` — not the\nrequest body; there is no collection-level delete endpoint.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Deleting this relay revokes every token issued for it, so publishers and subscribers can no longer connect. This cannot be undone.\n\nDELETE /accounts/{account_id}/moq/relays/{relay_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." + "description": "Cloudflare account identifier.", + "type": "string" }, "relay_id": { "description": "Relay unique identifier (32 hex characters).", @@ -179,9 +178,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "moq_account_identifier": moq_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -266,15 +263,16 @@ export const tools: readonly Tool[] = [ { name: "realtime_moq_relays_get", title: "Get a relay", - description: "Retrieves a single MoQ relay including config and status.\nTokens are NOT included.\n\nThis method is beta.", + description: "Retrieves a single MoQ relay including config and status.\nTokens are NOT included.\n\nThis method is beta.\n\nGET /accounts/{account_id}/moq/relays/{relay_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." + "description": "Cloudflare account identifier.", + "type": "string" }, "relay_id": { "description": "Relay unique identifier (32 hex characters).", @@ -291,9 +289,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "moq_account_identifier": moq_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -372,15 +368,16 @@ export const tools: readonly Tool[] = [ { name: "realtime_moq_relays_list", title: "List relays", - description: "Lists all MoQ relays for the account. Returns only metadata.\nConfig, status, and tokens are omitted.\n\nResults are cursor-paginated (keyset on the `created` timestamp).\nUse `created_before` / `created_after` with the `created` value of the\nfirst/last item in a page to fetch the adjacent page. `result_info`\nreports the page `count` and the `total` matching the cursor filters.\n\nThis method is beta.", + description: "Lists all MoQ relays for the account. Returns only metadata.\nConfig, status, and tokens are omitted.\n\nResults are cursor-paginated (keyset on the `created` timestamp).\nUse `created_before` / `created_after` with the `created` value of the\nfirst/last item in a page to fetch the adjacent page. `result_info`\nreports the page `count` and the `total` matching the cursor filters.\n\nThis method is beta.\n\nGET /accounts/{account_id}/moq/relays", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." + "description": "Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -389,25 +386,26 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "asc": { "default": false, - "description": "Sort order by `created`. When true, results are returned oldest-first\n(ascending); otherwise newest-first (descending, the default).\n", + "description": "Sort order by `created`. When true, results are returned oldest-first\n(ascending); otherwise newest-first (descending, the default).", "type": "boolean" }, "created_after": { - "description": "Cursor for pagination. Returns relays created strictly after this\nRFC 3339 timestamp (typically the `created` value of the last item\non the current page, to fetch the next page).\n", + "description": "Cursor for pagination. Returns relays created strictly after this\nRFC 3339 timestamp (typically the `created` value of the last item\non the current page, to fetch the next page).", "format": "date-time", "type": "string" }, "created_before": { - "description": "Cursor for pagination. Returns relays created strictly before this\nRFC 3339 timestamp (typically the `created` value of the first item\non the current page, to fetch the previous page).\n", + "description": "Cursor for pagination. Returns relays created strictly before this\nRFC 3339 timestamp (typically the `created` value of the first item\non the current page, to fetch the previous page).", "format": "date-time", "type": "string" }, "per_page": { "default": 1000, - "description": "Maximum number of relays to return per page. Values above the maximum are\nclamped to it rather than rejected.\n", + "description": "Maximum number of relays to return per page. Values above the maximum are\nclamped to it rather than rejected.", "type": "integer" } }, @@ -417,9 +415,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "moq_account_identifier": moq_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -509,7 +505,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_moq_relays_update", title: "Update a relay", - description: "Updates a relay's name and/or configuration. The relay ID goes in\nthe URL path — `PUT /accounts/{account_id}/moq/relays/{relay_id}` —\nnot the request body; there is no collection-level update endpoint.\nThis is also the only way to set a relay's config (config cannot be\nset at create time). Partial updates: omitted fields are preserved;\nconfig sub-objects replace as whole objects when present.\n\nThis method is beta.", + description: "Updates a relay's name and/or configuration. The relay ID goes in\nthe URL path — `PUT /accounts/{account_id}/moq/relays/{relay_id}` —\nnot the request body; there is no collection-level update endpoint.\nThis is also the only way to set a relay's config (config cannot be\nset at create time). Partial updates: omitted fields are preserved;\nconfig sub-objects replace as whole objects when present.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/moq/relays/{relay_id}", inputSchema: { type: "object", properties: { @@ -525,10 +521,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/moq_account_identifier", - "description": "Cloudflare account identifier." + "description": "Cloudflare account identifier.", + "type": "string" }, "relay_id": { "description": "Relay unique identifier (32 hex characters).", @@ -546,8 +543,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "moq_account_identifier": moq_account_identifier, "moq_relay_config": moq_relay_config$, "moq_upstream": moq_upstream$, "moq_upstreams": moq_upstreams$, diff --git a/src/generated/forge-mcp/realtime/outputs.ts b/src/generated/forge-mcp/realtime/outputs.ts index d5244a265..f46b375ce 100644 --- a/src/generated/forge-mcp/realtime/outputs.ts +++ b/src/generated/forge-mcp/realtime/outputs.ts @@ -85,21 +85,6 @@ export const calls_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `calls_created` in responses. - */ -export const calls_created: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `calls_identifier` in responses. - */ -export const calls_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `calls_messages` in responses. */ @@ -132,18 +117,3 @@ export const calls_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `calls_modified` in responses. - */ -export const calls_modified: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `calls_name` in responses. - */ -export const calls_name: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/realtime/schemas.ts b/src/generated/forge-mcp/realtime/schemas.ts deleted file mode 100644 index 3e8254c0b..000000000 --- a/src/generated/forge-mcp/realtime/schemas.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `calls_account_identifier`. - */ -export const calls_account_identifier: JsonSchema = { - "description": "The account identifier tag.", - "type": "string" -}; - -/** - * The schema of `calls_identifier`. - */ -export const calls_identifier: JsonSchema = { - "description": "A Cloudflare-generated unique identifier for a item.", - "type": "string" -}; - -/** - * The schema of `calls_name`. - */ -export const calls_name: JsonSchema = { - "description": "A short description of a Realtime SFU app, not shown to end users.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts b/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts index ccc5e0812..abb16f895 100644 --- a/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts +++ b/src/generated/forge-mcp/realtime/sfu/apps/outputs.ts @@ -9,16 +9,18 @@ import type { JsonSchema } from "../../../_/tool.js"; export const calls_app: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/calls_created" + "format": "date-time", + "type": "string" }, "modified": { - "$ref": "#/$defs/calls_modified" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/calls_name" + "type": "string" }, "uid": { - "$ref": "#/$defs/calls_identifier" + "type": "string" } }, "required": [ @@ -96,19 +98,21 @@ export const calls_app_response_single_with_secret: JsonSchema = { export const calls_app_with_secret: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/calls_created" + "format": "date-time", + "type": "string" }, "modified": { - "$ref": "#/$defs/calls_modified" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/calls_name" + "type": "string" }, "secret": { - "$ref": "#/$defs/calls_secret" + "type": "string" }, "uid": { - "$ref": "#/$defs/calls_identifier" + "type": "string" } }, "required": [ @@ -120,10 +124,3 @@ export const calls_app_with_secret: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `calls_secret` in responses. - */ -export const calls_secret: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/realtime/sfu/apps/schemas.ts b/src/generated/forge-mcp/realtime/sfu/apps/schemas.ts index 5a1790941..9723a41d8 100644 --- a/src/generated/forge-mcp/realtime/sfu/apps/schemas.ts +++ b/src/generated/forge-mcp/realtime/sfu/apps/schemas.ts @@ -9,9 +9,9 @@ import type { JsonSchema } from "../../../_/tool.js"; export const calls_app_editable_fields: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/calls_name", "default": "", - "description": "A short description of a Realtime SFU app, not shown to end users." + "description": "A short description of a Realtime SFU app, not shown to end users.", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/realtime/sfu/apps/tools.ts b/src/generated/forge-mcp/realtime/sfu/apps/tools.ts index 8e8e960e4..4bc7fb11d 100644 --- a/src/generated/forge-mcp/realtime/sfu/apps/tools.ts +++ b/src/generated/forge-mcp/realtime/sfu/apps/tools.ts @@ -6,24 +6,14 @@ import { calls_api$$response$$common, calls_api$$response$$common$$failure, calls_api$$response$$single, - calls_created, - calls_identifier, calls_messages, - calls_modified, - calls_name, } from "../../outputs.js"; -import { - calls_account_identifier, - calls_identifier as calls_identifier$, - calls_name as calls_name$, -} from "../../schemas.js"; import { calls_app, calls_app_response_collection, calls_app_response_single, calls_app_response_single_with_secret, calls_app_with_secret, - calls_secret, } from "./outputs.js"; import { calls_app_editable_fields } from "./schemas.js"; @@ -34,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_sfu_apps_create", title: "Create an SFU app", - description: "Creates a Realtime SFU app. An app is an isolated namespace in which sessions can access the app's tracks.", + description: "Creates a Realtime SFU app. An app is an isolated namespace in which sessions can access the app's tracks.\n\nPOST /accounts/{account_id}/calls/apps", inputSchema: { type: "object", properties: { @@ -42,10 +32,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/calls_app_editable_fields" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -58,10 +49,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "calls_account_identifier": calls_account_identifier, "calls_app_editable_fields": calls_app_editable_fields, - "calls_name": calls_name$, }, }, outputSchema: { @@ -70,12 +60,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-single": calls_api$$response$$single, "calls_app_response_single_with_secret": calls_app_response_single_with_secret, "calls_app_with_secret": calls_app_with_secret, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, - "calls_secret": calls_secret, }, }, annotations: { @@ -106,12 +91,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-single": calls_api$$response$$single, "calls_app_response_single_with_secret": calls_app_response_single_with_secret, "calls_app_with_secret": calls_app_with_secret, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, - "calls_secret": calls_secret, }, }, request: (args) => ({ @@ -122,19 +102,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_sfu_apps_delete", title: "Delete an SFU app", - description: "Deletes a Realtime SFU app.\n\nConfirm with the user before calling this tool. This operation permanently deletes the SFU app.", + description: "Deletes a Realtime SFU app.\n\nConfirm with the user before calling this tool. This operation permanently deletes the SFU app.\n\nDELETE /accounts/{account_id}/calls/apps/{app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "description": "A Cloudflare-generated unique identifier for a item.", + "type": "string" } }, "required": [ @@ -147,10 +128,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/calls_app_response_single", @@ -158,11 +136,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-single": calls_api$$response$$single, "calls_app": calls_app, "calls_app_response_single": calls_app_response_single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, }, }, annotations: { @@ -190,11 +164,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-single": calls_api$$response$$single, "calls_app": calls_app, "calls_app_response_single": calls_app_response_single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, }, }, request: (args) => ({ @@ -204,19 +174,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_sfu_apps_get", title: "Retrieve SFU app details", - description: "Fetches details for a single Realtime SFU app.", + description: "Fetches details for a single Realtime SFU app.\n\nGET /accounts/{account_id}/calls/apps/{app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "description": "A Cloudflare-generated unique identifier for a item.", + "type": "string" } }, "required": [ @@ -229,10 +200,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/calls_app_response_single", @@ -240,11 +208,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-single": calls_api$$response$$single, "calls_app": calls_app, "calls_app_response_single": calls_app_response_single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, }, }, annotations: { @@ -276,11 +240,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-single": calls_api$$response$$single, "calls_app": calls_app, "calls_app_response_single": calls_app_response_single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, }, }, request: (args) => ({ @@ -290,15 +250,16 @@ export const tools: readonly Tool[] = [ { name: "realtime_sfu_apps_list", title: "List apps", - description: "Lists all apps in the Cloudflare account", + description: "Lists all apps in the Cloudflare account\n\nGET /accounts/{account_id}/calls/apps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -310,9 +271,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "calls_account_identifier": calls_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/calls_app_response_collection", @@ -320,11 +279,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-common": calls_api$$response$$common, "calls_app": calls_app, "calls_app_response_collection": calls_app_response_collection, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, }, }, annotations: { @@ -356,11 +311,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-common-failure": calls_api$$response$$common$$failure, "calls_app": calls_app, "calls_app_response_collection": calls_app_response_collection, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, }, }, request: (args) => ({ @@ -370,7 +321,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_sfu_apps_update", title: "Update SFU app details", - description: "Updates details for a single Realtime SFU app.", + description: "Updates details for a single Realtime SFU app.\n\nPUT /accounts/{account_id}/calls/apps/{app_id}", inputSchema: { type: "object", properties: { @@ -378,14 +329,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/calls_app_editable_fields" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "description": "A Cloudflare-generated unique identifier for a item.", + "type": "string" } }, "required": [ @@ -399,11 +351,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "calls_account_identifier": calls_account_identifier, "calls_app_editable_fields": calls_app_editable_fields, - "calls_identifier": calls_identifier$, - "calls_name": calls_name$, }, }, outputSchema: { @@ -412,11 +362,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-single": calls_api$$response$$single, "calls_app": calls_app, "calls_app_response_single": calls_app_response_single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, }, }, annotations: { @@ -447,11 +393,7 @@ export const tools: readonly Tool[] = [ "calls_api-response-single": calls_api$$response$$single, "calls_app": calls_app, "calls_app_response_single": calls_app_response_single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/realtime/turn/keys/outputs.ts b/src/generated/forge-mcp/realtime/turn/keys/outputs.ts index 1973e3d27..408aa6a30 100644 --- a/src/generated/forge-mcp/realtime/turn/keys/outputs.ts +++ b/src/generated/forge-mcp/realtime/turn/keys/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `calls_turn_key` in responses. - */ -export const calls_turn_key: JsonSchema = { - "type": "string" -}; - /** * The schema of `calls_turn_key_collection` in responses. */ @@ -32,29 +25,24 @@ export const calls_turn_key_collection: JsonSchema = { ] }; -/** - * The schema of `calls_turn_key_name` in responses. - */ -export const calls_turn_key_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `calls_turn_key_object` in responses. */ export const calls_turn_key_object: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/calls_created" + "format": "date-time", + "type": "string" }, "modified": { - "$ref": "#/$defs/calls_modified" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/calls_name" + "type": "string" }, "uid": { - "$ref": "#/$defs/calls_identifier" + "type": "string" } }, "required": [ @@ -110,19 +98,21 @@ export const calls_turn_key_single_with_secret: JsonSchema = { export const calls_turn_key_with_key: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/calls_created" + "format": "date-time", + "type": "string" }, "key": { - "$ref": "#/$defs/calls_turn_key" + "type": "string" }, "modified": { - "$ref": "#/$defs/calls_modified" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/calls_turn_key_name" + "type": "string" }, "uid": { - "$ref": "#/$defs/calls_identifier" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/realtime/turn/keys/schemas.ts b/src/generated/forge-mcp/realtime/turn/keys/schemas.ts index 25b577cbc..85061fb68 100644 --- a/src/generated/forge-mcp/realtime/turn/keys/schemas.ts +++ b/src/generated/forge-mcp/realtime/turn/keys/schemas.ts @@ -9,18 +9,10 @@ import type { JsonSchema } from "../../../_/tool.js"; export const calls_turn_key_editable_fields: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/calls_turn_key_name", "default": "", - "description": "A short description of a TURN key, not shown to end users." + "description": "A short description of a TURN key, not shown to end users.", + "type": "string" } }, "type": "object" }; - -/** - * The schema of `calls_turn_key_name`. - */ -export const calls_turn_key_name: JsonSchema = { - "description": "A short description of a TURN key, not shown to end users.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/realtime/turn/keys/tools.ts b/src/generated/forge-mcp/realtime/turn/keys/tools.ts index 7ba807a45..4da1bb8e5 100644 --- a/src/generated/forge-mcp/realtime/turn/keys/tools.ts +++ b/src/generated/forge-mcp/realtime/turn/keys/tools.ts @@ -6,29 +6,16 @@ import { calls_api$$response$$common, calls_api$$response$$common$$failure, calls_api$$response$$single, - calls_created, - calls_identifier, calls_messages, - calls_modified, - calls_name, } from "../../outputs.js"; import { - calls_account_identifier, - calls_identifier as calls_identifier$, -} from "../../schemas.js"; -import { - calls_turn_key, calls_turn_key_collection, - calls_turn_key_name, calls_turn_key_object, calls_turn_key_response_single, calls_turn_key_single_with_secret, calls_turn_key_with_key, } from "./outputs.js"; -import { - calls_turn_key_editable_fields, - calls_turn_key_name as calls_turn_key_name$, -} from "./schemas.js"; +import { calls_turn_key_editable_fields } from "./schemas.js"; /** * The tools of `realtime.turn.keys`. @@ -37,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_turn_keys_create", title: "Create a TURN key", - description: "Creates a new Realtime TURN key.", + description: "Creates a new Realtime TURN key.\n\nPOST /accounts/{account_id}/calls/turn_keys", inputSchema: { type: "object", properties: { @@ -45,10 +32,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/calls_turn_key_editable_fields" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -61,22 +49,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "calls_account_identifier": calls_account_identifier, "calls_turn_key_editable_fields": calls_turn_key_editable_fields, - "calls_turn_key_name": calls_turn_key_name$, }, }, outputSchema: { "$ref": "#/$defs/calls_turn_key_single_with_secret", $defs: { "calls_api-response-single": calls_api$$response$$single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_turn_key": calls_turn_key, - "calls_turn_key_name": calls_turn_key_name, "calls_turn_key_single_with_secret": calls_turn_key_single_with_secret, "calls_turn_key_with_key": calls_turn_key_with_key, }, @@ -107,12 +89,7 @@ export const tools: readonly Tool[] = [ $defs: { "calls_api-response-common-failure": calls_api$$response$$common$$failure, "calls_api-response-single": calls_api$$response$$single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_turn_key": calls_turn_key, - "calls_turn_key_name": calls_turn_key_name, "calls_turn_key_single_with_secret": calls_turn_key_single_with_secret, "calls_turn_key_with_key": calls_turn_key_with_key, }, @@ -125,19 +102,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_turn_keys_delete", title: "Delete TURN key", - description: "Deletes a Realtime TURN key.\n\nConfirm with the user before calling this tool. This operation permanently deletes the TURN key. Clients using it can no longer generate credentials.", + description: "Deletes a Realtime TURN key.\n\nConfirm with the user before calling this tool. This operation permanently deletes the TURN key. Clients using it can no longer generate credentials.\n\nDELETE /accounts/{account_id}/calls/turn_keys/{key_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "key_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "description": "A Cloudflare-generated unique identifier for a item.", + "type": "string" } }, "required": [ @@ -150,20 +128,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/calls_turn_key_response_single", $defs: { "calls_api-response-single": calls_api$$response$$single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, "calls_turn_key_object": calls_turn_key_object, "calls_turn_key_response_single": calls_turn_key_response_single, }, @@ -191,11 +162,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "calls_api-response-single": calls_api$$response$$single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, "calls_turn_key_object": calls_turn_key_object, "calls_turn_key_response_single": calls_turn_key_response_single, }, @@ -207,19 +174,20 @@ export const tools: readonly Tool[] = [ { name: "realtime_turn_keys_get", title: "Retrieve TURN key details", - description: "Fetches details for a single TURN key.", + description: "Fetches details for a single TURN key.\n\nGET /accounts/{account_id}/calls/turn_keys/{key_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "key_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "description": "A Cloudflare-generated unique identifier for a item.", + "type": "string" } }, "required": [ @@ -232,20 +200,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/calls_turn_key_response_single", $defs: { "calls_api-response-single": calls_api$$response$$single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, "calls_turn_key_object": calls_turn_key_object, "calls_turn_key_response_single": calls_turn_key_response_single, }, @@ -277,11 +238,7 @@ export const tools: readonly Tool[] = [ $defs: { "calls_api-response-common-failure": calls_api$$response$$common$$failure, "calls_api-response-single": calls_api$$response$$single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, "calls_turn_key_object": calls_turn_key_object, "calls_turn_key_response_single": calls_turn_key_response_single, }, @@ -293,15 +250,16 @@ export const tools: readonly Tool[] = [ { name: "realtime_turn_keys_list", title: "List TURN keys", - description: "Lists all TURN keys in the Cloudflare account.", + description: "Lists all TURN keys in the Cloudflare account.\n\nGET /accounts/{account_id}/calls/turn_keys", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -313,19 +271,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "calls_account_identifier": calls_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/calls_turn_key_collection", $defs: { "calls_api-response-common": calls_api$$response$$common, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, "calls_turn_key_collection": calls_turn_key_collection, "calls_turn_key_object": calls_turn_key_object, }, @@ -357,11 +309,7 @@ export const tools: readonly Tool[] = [ $defs: { "calls_api-response-common": calls_api$$response$$common, "calls_api-response-common-failure": calls_api$$response$$common$$failure, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, "calls_turn_key_collection": calls_turn_key_collection, "calls_turn_key_object": calls_turn_key_object, }, @@ -373,7 +321,7 @@ export const tools: readonly Tool[] = [ { name: "realtime_turn_keys_update", title: "Update TURN key details", - description: "Updates details for a single TURN key.", + description: "Updates details for a single TURN key.\n\nPUT /accounts/{account_id}/calls/turn_keys/{key_id}", inputSchema: { type: "object", properties: { @@ -381,14 +329,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/calls_turn_key_editable_fields" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/calls_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "key_id": { - "$ref": "#/$defs/calls_identifier", - "description": "A Cloudflare-generated unique identifier for a item." + "description": "A Cloudflare-generated unique identifier for a item.", + "type": "string" } }, "required": [ @@ -402,22 +351,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "calls_account_identifier": calls_account_identifier, - "calls_identifier": calls_identifier$, "calls_turn_key_editable_fields": calls_turn_key_editable_fields, - "calls_turn_key_name": calls_turn_key_name$, }, }, outputSchema: { "$ref": "#/$defs/calls_turn_key_response_single", $defs: { "calls_api-response-single": calls_api$$response$$single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, "calls_turn_key_object": calls_turn_key_object, "calls_turn_key_response_single": calls_turn_key_response_single, }, @@ -448,11 +391,7 @@ export const tools: readonly Tool[] = [ $defs: { "calls_api-response-common-failure": calls_api$$response$$common$$failure, "calls_api-response-single": calls_api$$response$$single, - "calls_created": calls_created, - "calls_identifier": calls_identifier, "calls_messages": calls_messages, - "calls_modified": calls_modified, - "calls_name": calls_name, "calls_turn_key_object": calls_turn_key_object, "calls_turn_key_response_single": calls_turn_key_response_single, }, diff --git a/src/generated/forge-mcp/registrar/extensions/tools.ts b/src/generated/forge-mcp/registrar/extensions/tools.ts index e46403319..64575b1f1 100644 --- a/src/generated/forge-mcp/registrar/extensions/tools.ts +++ b/src/generated/forge-mcp/registrar/extensions/tools.ts @@ -7,7 +7,6 @@ import { registrar$$api_api$$response$$common$$failure, registrar$$api_messages, } from "../outputs.js"; -import { registrar$$api_identifier } from "../schemas.js"; import { registrar$$api_extension$$item, registrar$$api_extension$$response$$collection, @@ -21,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "registrar_extensions_get", title: "Get extension", - description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on a specific\nextension (TLD).\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.", + description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on a specific\nextension (TLD).\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.\n\nGET /accounts/{account_id}/registrar/extensions/{extension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "extension": { "description": "The extension name (e.g., `com`, `co.uk`).", @@ -46,9 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api_identifier": registrar$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api_extension-response-single", @@ -93,15 +91,16 @@ export const tools: readonly Tool[] = [ { name: "registrar_extensions_list", title: "List extensions", - description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on each supported\nextension (TLD).\n\nThis endpoint uses cursor-based pagination. Results are ordered by\nextension name by default. To fetch the next page, pass the `cursor`\nvalue from the `result_info` object in the response as the `cursor`\nquery parameter in your next request. An empty `cursor` string\nindicates there are no more pages.\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.", + description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on each supported\nextension (TLD).\n\nThis endpoint uses cursor-based pagination. Results are ordered by\nextension name by default. To fetch the next page, pass the `cursor`\nvalue from the `result_info` object in the response as the `cursor`\nquery parameter in your next request. An empty `cursor` string\nindicates there are no more pages.\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.\n\nGET /accounts/{account_id}/registrar/extensions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -110,14 +109,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { - "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", + "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.", "type": "string" }, "direction": { "default": "asc", - "description": "Sort direction for results. Defaults to ascending order.\n", + "description": "Sort direction for results. Defaults to ascending order.", "enum": [ "asc", "desc" @@ -125,7 +125,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "name": { - "description": "Filter extensions by exact name match.\nFor example, `name=com` returns only the `com` extension.\n", + "description": "Filter extensions by exact name match.\nFor example, `name=com` returns only the `com` extension.", "type": "string" }, "per_page": { @@ -135,7 +135,7 @@ export const tools: readonly Tool[] = [ }, "sort_by": { "default": "name", - "description": "Column to sort results by. Defaults to `name` when omitted.\n", + "description": "Column to sort results by. Defaults to `name` when omitted.", "enum": [ "name", "created_at", @@ -150,9 +150,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api_identifier": registrar$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api_extension-response-collection", diff --git a/src/generated/forge-mcp/registrar/registrations/outputs.ts b/src/generated/forge-mcp/registrar/registrations/outputs.ts index f6e41520d..dd12dddce 100644 --- a/src/generated/forge-mcp/registrar/registrations/outputs.ts +++ b/src/generated/forge-mcp/registrar/registrations/outputs.ts @@ -98,13 +98,6 @@ export const registrar$$api_domain_check_result: JsonSchema = { "type": "object" }; -/** - * The schema of `registrar-api_domain_name` in responses. - */ -export const registrar$$api_domain_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `registrar-api_domain_search_response` in responses. */ @@ -177,32 +170,6 @@ export const registrar$$api_domain_search_result: JsonSchema = { "type": "object" }; -/** - * The schema of `registrar-api_domain_transfer_check_reason` in responses. - */ -export const registrar$$api_domain_transfer_check_reason: JsonSchema = { - "enum": [ - "extension_not_supported_via_api", - "extension_not_supported", - "domain_premium", - "extension_disallows_transfer", - "domain_not_exists", - "domain_on_cloudflare", - "domain_locked", - "registry_status", - "domain_outside_transfer_window", - "domain_max_term", - "invalid_auth_code", - "invalid_auth_code_format", - "dnssec_enabled", - "zone_not_found", - "zone_status_invalid", - "invalid_zone_plan", - "domain_unsupported" - ], - "type": "string" -}; - /** * The schema of `registrar-api_domain_transfer_check_response` in responses. */ @@ -253,7 +220,26 @@ export const registrar$$api_domain_transfer_check_result: JsonSchema = { "items": { "properties": { "code": { - "$ref": "#/$defs/registrar-api_domain_transfer_check_reason" + "enum": [ + "extension_not_supported_via_api", + "extension_not_supported", + "domain_premium", + "extension_disallows_transfer", + "domain_not_exists", + "domain_on_cloudflare", + "domain_locked", + "registry_status", + "domain_outside_transfer_window", + "domain_max_term", + "invalid_auth_code", + "invalid_auth_code_format", + "dnssec_enabled", + "zone_not_found", + "zone_status_invalid", + "invalid_zone_plan", + "domain_unsupported" + ], + "type": "string" } }, "required": [ @@ -282,7 +268,26 @@ export const registrar$$api_domain_transfer_check_result: JsonSchema = { "items": { "properties": { "code": { - "$ref": "#/$defs/registrar-api_domain_transfer_check_reason" + "enum": [ + "extension_not_supported_via_api", + "extension_not_supported", + "domain_premium", + "extension_disallows_transfer", + "domain_not_exists", + "domain_on_cloudflare", + "domain_locked", + "registry_status", + "domain_outside_transfer_window", + "domain_max_term", + "invalid_auth_code", + "invalid_auth_code_format", + "dnssec_enabled", + "zone_not_found", + "zone_status_invalid", + "invalid_zone_plan", + "domain_unsupported" + ], + "type": "string" } }, "required": [ @@ -311,7 +316,26 @@ export const registrar$$api_domain_transfer_check_result: JsonSchema = { "items": { "properties": { "code": { - "$ref": "#/$defs/registrar-api_domain_transfer_check_reason" + "enum": [ + "extension_not_supported_via_api", + "extension_not_supported", + "domain_premium", + "extension_disallows_transfer", + "domain_not_exists", + "domain_on_cloudflare", + "domain_locked", + "registry_status", + "domain_outside_transfer_window", + "domain_max_term", + "invalid_auth_code", + "invalid_auth_code_format", + "dnssec_enabled", + "zone_not_found", + "zone_status_invalid", + "invalid_zone_plan", + "domain_unsupported" + ], + "type": "string" } }, "required": [ @@ -415,7 +439,7 @@ export const registrar$$api_registration: JsonSchema = { "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name" + "type": "string" }, "expires_at": { "oneOf": [ diff --git a/src/generated/forge-mcp/registrar/registrations/schemas.ts b/src/generated/forge-mcp/registrar/registrations/schemas.ts index a64a6f6de..25593ae34 100644 --- a/src/generated/forge-mcp/registrar/registrations/schemas.ts +++ b/src/generated/forge-mcp/registrar/registrations/schemas.ts @@ -10,7 +10,7 @@ export const registrar$$api_domain_check_request: JsonSchema = { "description": "Request body for checking domain availability.", "properties": { "domains": { - "description": "List of fully qualified domain names (FQDNs) to check for availability. Each domain must include the extension.\n- Minimum: 1 domain.\n- Maximum: 20 domains per request.\n- The response returns domains on unsupported extensions with `registrable: false` and a `reason` field.\n- The response may omit malformed domain names (e.g., names missing an extension).\n", + "description": "List of fully qualified domain names (FQDNs) to check for availability. Each domain must include the extension.\n- Minimum: 1 domain.\n- Maximum: 20 domains per request.\n- The response returns domains on unsupported extensions with `registrable: false` and a `reason` field.\n- The response may omit malformed domain names (e.g., names missing an extension).", "items": { "type": "string" }, @@ -25,14 +25,6 @@ export const registrar$$api_domain_check_request: JsonSchema = { "type": "object" }; -/** - * The schema of `registrar-api_domain_name`. - */ -export const registrar$$api_domain_name: JsonSchema = { - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n", - "type": "string" -}; - /** * The schema of `registrar-api_domain_transfer_check_request`. */ @@ -45,7 +37,7 @@ export const registrar$$api_domain_transfer_check_request: JsonSchema = { "properties": { "auth_code": { "contentEncoding": "base64", - "description": "Base64-encoded auth/EPP code from the current registrar.\nRequired for most TLDs. `.uk` namespaces do not use auth\ncodes.\n", + "description": "Base64-encoded auth/EPP code from the current registrar.\nRequired for most TLDs. `.uk` namespaces do not use auth\ncodes.", "type": "string" }, "domain_name": { @@ -73,14 +65,14 @@ export const registrar$$api_domain_transfer_check_request: JsonSchema = { * The schema of `registrar-api_registration_contact`. */ export const registrar$$api_registration_contact: JsonSchema = { - "description": "Contact data for the domain registration. This information\nis submitted to the domain registry and, depending on extension and\nprivacy settings, may appear in public WHOIS records.\n", + "description": "Contact data for the domain registration. This information\nis submitted to the domain registry and, depending on extension and\nprivacy settings, may appear in public WHOIS records.", "properties": { "email": { - "description": "Email address for the registrant. Used for domain-related\ncommunications from the registry, including ownership verification\nand renewal notices.\n", + "description": "Email address for the registrant. Used for domain-related\ncommunications from the registry, including ownership verification\nand renewal notices.", "type": "string" }, "fax": { - "description": "Fax number in E.164 format (e.g., `+1.5555555555`). Optional.\nMost registrations do not require a fax number.\n", + "description": "Fax number in E.164 format (e.g., `+1.5555555555`). Optional.\nMost registrations do not require a fax number.", "type": "string" }, "phone": { @@ -89,7 +81,7 @@ export const registrar$$api_registration_contact: JsonSchema = { }, "postal_info": { "$ref": "#/$defs/registrar-api_registration_contact_postal_info", - "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts.\n" + "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts." } }, "required": [ @@ -141,7 +133,7 @@ export const registrar$$api_registration_contact_address: JsonSchema = { * The schema of `registrar-api_registration_contact_postal_info`. */ export const registrar$$api_registration_contact_postal_info: JsonSchema = { - "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts.\n", + "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts.", "properties": { "address": { "$ref": "#/$defs/registrar-api_registration_contact_address", @@ -167,23 +159,23 @@ export const registrar$$api_registration_contact_postal_info: JsonSchema = { * The schema of `registrar-api_registration_contacts`. */ export const registrar$$api_registration_contacts: JsonSchema = { - "description": "Provides contact data for the registration request.\n\nThe per-extension schema from\n`GET /accounts/{account_id}/registrar/extensions/{extension}` defines the\naccepted contact roles. Every currently supported extension requires only\n`contacts.registrant` from API callers. Callers may provide additional roles\nsuch as `technical`, `administrator`, and `billing` when the extension\nschema includes them. When a registry requires an omitted role, Cloudflare\nmay derive that contact from `contacts.registrant`.\n\nWhen the request omits either the entire `contacts` object or\n`contacts.registrant`, the system uses the account's default address book\nentry as the registrant contact. The account owner must configure this\ndefault at `https://dash.cloudflare.com/{account_id}/domains/registrations`,\nwhere they can create or update the address book entry and accept the\nrequired agreement. Dashboard settings currently provide the only way to\nmanage address book entries.\n\nWithout either a default address book entry or a registrant contact, the\nregistration request fails validation.\n", + "description": "Provides contact data for the registration request.\n\nThe per-extension schema from\n`GET /accounts/{account_id}/registrar/extensions/{extension}` defines the\naccepted contact roles. Every currently supported extension requires only\n`contacts.registrant` from API callers. Callers may provide additional roles\nsuch as `technical`, `administrator`, and `billing` when the extension\nschema includes them. When a registry requires an omitted role, Cloudflare\nmay derive that contact from `contacts.registrant`.\n\nWhen the request omits either the entire `contacts` object or\n`contacts.registrant`, the system uses the account's default address book\nentry as the registrant contact. The account owner must configure this\ndefault at `https://dash.cloudflare.com/{account_id}/domains/registrations`,\nwhere they can create or update the address book entry and accept the\nrequired agreement. Dashboard settings currently provide the only way to\nmanage address book entries.\n\nWithout either a default address book entry or a registrant contact, the\nregistration request fails validation.", "properties": { "administrator": { "$ref": "#/$defs/registrar-api_registration_contact", - "description": "Optional administrator contact. Accepted only when the extension\nschema includes this role. When the registry requires an omitted\ncontact, Cloudflare may derive it from `contacts.registrant`.\n" + "description": "Optional administrator contact. Accepted only when the extension\nschema includes this role. When the registry requires an omitted\ncontact, Cloudflare may derive it from `contacts.registrant`." }, "billing": { "$ref": "#/$defs/registrar-api_registration_contact", - "description": "Optional billing contact. Accepted only when the extension schema\nincludes this role. When the registry requires an omitted contact,\nCloudflare may derive it from `contacts.registrant`.\n" + "description": "Optional billing contact. Accepted only when the extension schema\nincludes this role. When the registry requires an omitted contact,\nCloudflare may derive it from `contacts.registrant`." }, "registrant": { "$ref": "#/$defs/registrar-api_registration_contact", - "description": "Optional registrant contact. If omitted, the account's default\naddress book entry is used instead.\n" + "description": "Optional registrant contact. If omitted, the account's default\naddress book entry is used instead." }, "technical": { "$ref": "#/$defs/registrar-api_registration_contact", - "description": "Optional technical contact. Accepted only when the extension schema\nincludes this role. When the registry requires an omitted contact,\nCloudflare may derive it from `contacts.registrant`.\n" + "description": "Optional technical contact. Accepted only when the extension schema\nincludes this role. When the registry requires an omitted contact,\nCloudflare may derive it from `contacts.registrant`." } }, "type": "object" @@ -195,28 +187,28 @@ export const registrar$$api_registration_contacts: JsonSchema = { export const registrar$$api_registration_create_request: JsonSchema = { "properties": { "acknowledgements": { - "description": "Provides user acknowledgements for a specific extension or premium\nregistration flow. The extension registration schema from the\nextension discovery endpoint identifies the required keys.\n", + "description": "Provides user acknowledgements for a specific extension or premium\nregistration flow. The extension registration schema from the\nextension discovery endpoint identifies the required keys.", "type": "object" }, "auto_renew": { "default": false, - "description": "Enable or disable automatic renewal. Defaults to `false` if omitted.\nSetting this field to `true` is an explicit opt-in authorizing\nCloudflare to charge the account's default payment method up to 30\ndays before domain expiry to renew the domain automatically.\nRenewal pricing may change over time based on registry pricing.\n", + "description": "Enable or disable automatic renewal. Defaults to `false` if omitted.\nSetting this field to `true` is an explicit opt-in authorizing\nCloudflare to charge the account's default payment method up to 30\ndays before domain expiry to renew the domain automatically.\nRenewal pricing may change over time based on registry pricing.", "type": "boolean" }, "contact_extensions": { - "description": "Provides registry-specific contact extension values for the registrant.\n`GET /accounts/{account_id}/registrar/extensions/{extension}` identifies\nthe required keys and allowed values for each extension in the\n`registration_schema.properties.contact_extensions` object.\n\nExamples include `.us` nexus fields, `.uk` registrant type fields,\nand `.ca` legal type fields. Omit this object when the extension's\nregistration schema excludes `contact_extensions`.\n", + "description": "Provides registry-specific contact extension values for the registrant.\n`GET /accounts/{account_id}/registrar/extensions/{extension}` identifies\nthe required keys and allowed values for each extension in the\n`registration_schema.properties.contact_extensions` object.\n\nExamples include `.us` nexus fields, `.uk` registrant type fields,\nand `.ca` legal type fields. Omit this object when the extension's\nregistration schema excludes `contact_extensions`.", "type": "object" }, "contacts": { "$ref": "#/$defs/registrar-api_registration_contacts" }, "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.", + "type": "string" }, "privacy_mode": { "default": "redaction", - "description": "Sets the WHOIS privacy mode for the registration. Defaults to `redaction`.\n- `off`: Disables WHOIS privacy.\n- `redaction`: Requests WHOIS redaction where the extension supports it.\n Some extensions exclude privacy and redaction.\n", + "description": "Sets the WHOIS privacy mode for the registration. Defaults to `redaction`.\n- `off`: Disables WHOIS privacy.\n- `redaction`: Requests WHOIS redaction where the extension supports it.\n Some extensions exclude privacy and redaction.", "enum": [ "off", "redaction" @@ -224,7 +216,7 @@ export const registrar$$api_registration_create_request: JsonSchema = { "type": "string" }, "years": { - "description": "Sets the registration term from 1 to 10 years. When omitted, this\nfield defaults to the registry's minimum registration period for the\nextension. Most extensions require 1 year, while some require longer\nminimum terms (e.g., `.ai` requires 2 years).\n\nEach registry may also enforce its own maximum registration term. A\nrequest above that maximum fails. When uncertain, omit this field to\nuse the default.\n", + "description": "Sets the registration term from 1 to 10 years. When omitted, this\nfield defaults to the registry's minimum registration period for the\nextension. Most extensions require 1 year, while some require longer\nminimum terms (e.g., `.ai` requires 2 years).\n\nEach registry may also enforce its own maximum registration term. A\nrequest above that maximum fails. When uncertain, omit this field to\nuse the default.", "type": "integer" } }, @@ -238,10 +230,10 @@ export const registrar$$api_registration_create_request: JsonSchema = { * The schema of `registrar-api_registration_update_request`. */ export const registrar$$api_registration_update_request: JsonSchema = { - "description": "Request to update an existing domain registration.\n\nThis endpoint currently supports updating `auto_renew` only.\n", + "description": "Request to update an existing domain registration.\n\nThis endpoint currently supports updating `auto_renew` only.", "properties": { "auto_renew": { - "description": "Enable or disable automatic renewal.\nSetting this field to `true` authorizes Cloudflare to charge the\naccount's default payment method up to 30 days before domain expiry\nto renew the domain automatically. Renewal pricing may change over\ntime based on registry pricing.\n", + "description": "Enable or disable automatic renewal.\nSetting this field to `true` authorizes Cloudflare to charge the\naccount's default payment method up to 30 days before domain expiry\nto renew the domain automatically. Renewal pricing may change over\ntime based on registry pricing.", "type": "boolean" } }, @@ -255,23 +247,23 @@ export const registrar$$api_transfer_in_create_request: JsonSchema = { "properties": { "auth_code": { "contentEncoding": "base64", - "description": "The EPP/authorization code from your current registrar, base64-encoded\nper RFC 4648 §4. Obtain this from your current registrar's control panel.\nRequired for all extensions, except for UK.\n", + "description": "The EPP/authorization code from your current registrar, base64-encoded\nper RFC 4648 §4. Obtain this from your current registrar's control panel.\nRequired for all extensions, except for UK.", "type": "string" }, "auto_renew": { "default": false, - "description": "Enable or disable automatic renewal after transfer. Defaults to `false` if omitted.\n", + "description": "Enable or disable automatic renewal after transfer. Defaults to `false` if omitted.", "type": "boolean" }, "contact_extensions": { - "description": "Registry-specific contact extension values for the registrant.\n`GET /accounts/{account_id}/registrar/extensions/{extension}` documents the\nrequired keys and allowed values for each extension in the\n`transfer_schema.properties.contact_extensions` object.\n\nExamples include `.us` nexus fields, `.uk` registrant type fields,\nand `.ca` legal type fields. Include this object only when the extension's\ntransfer schema defines `contact_extensions`.\n", + "description": "Registry-specific contact extension values for the registrant.\n`GET /accounts/{account_id}/registrar/extensions/{extension}` documents the\nrequired keys and allowed values for each extension in the\n`transfer_schema.properties.contact_extensions` object.\n\nExamples include `.us` nexus fields, `.uk` registrant type fields,\nand `.ca` legal type fields. Include this object only when the extension's\ntransfer schema defines `contact_extensions`.", "type": "object" }, "contacts": { "$ref": "#/$defs/registrar-api_registration_contacts" }, "privacy_mode": { - "description": "WHOIS privacy mode to apply after transfer completes. Defaults to\nthe extension's default privacy mode (typically `redaction`).\n", + "description": "WHOIS privacy mode to apply after transfer completes. Defaults to\nthe extension's default privacy mode (typically `redaction`).", "enum": [ "off", "redaction" diff --git a/src/generated/forge-mcp/registrar/registrations/tools.ts b/src/generated/forge-mcp/registrar/registrations/tools.ts index b04d8961c..6d0ef6c59 100644 --- a/src/generated/forge-mcp/registrar/registrations/tools.ts +++ b/src/generated/forge-mcp/registrar/registrations/tools.ts @@ -7,15 +7,12 @@ import { registrar$$api_api$$response$$common$$failure, registrar$$api_messages, } from "../outputs.js"; -import { registrar$$api_identifier } from "../schemas.js"; import { registrar$$api_cursor_result_info, registrar$$api_domain_check_response, registrar$$api_domain_check_result, - registrar$$api_domain_name, registrar$$api_domain_search_response, registrar$$api_domain_search_result, - registrar$$api_domain_transfer_check_reason, registrar$$api_domain_transfer_check_response, registrar$$api_domain_transfer_check_result, registrar$$api_pricing_base, @@ -31,7 +28,6 @@ import { } from "./outputs.js"; import { registrar$$api_domain_check_request, - registrar$$api_domain_name as registrar$$api_domain_name$, registrar$$api_domain_transfer_check_request, registrar$$api_registration_contact, registrar$$api_registration_contact_address, @@ -49,7 +45,7 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_check", title: "Check domain availability", - description: "Performs real-time, authoritative availability checks directly against domain\nregistries. Use this endpoint to verify a domain is available before attempting\nregistration via `POST /registrations`.\n\n**Important:** Unlike the Search endpoint, these results are authoritative and\nreflect current registry status. Always check availability immediately before\nregistration as domain status can change rapidly.\n\n**Note:** This endpoint uses POST to accept a list of domains in the request\nbody. It is a read-only operation — it does not create, modify, or reserve\nany domains.\n\n### Extension support\n\nOnly domains on extensions supported for programmatic registration by this API\ncan be registered. If you check a domain on an unsupported extension, the response\nwill include `registrable: false` with a `reason` field explaining why:\n\n- `extension_not_supported_via_api` — Cloudflare Registrar supports this extension\n in the dashboard, but it is not yet available for programmatic registration via\n this API. Register via `https://dash.cloudflare.com/{account_id}/domains/registrations` instead.\n- `extension_not_supported` — This extension is not supported by Cloudflare\n Registrar.\n- `extension_disallows_registration` — The extension's registry has temporarily\n or permanently frozen new registrations. No registrar can register domains on\n this extension at this time.\n- `domain_premium` — The domain is premium priced. Premium registration is not\n currently supported by this API.\n- `domain_unavailable` — The domain is already registered, reserved, or otherwise\n not available for registration on a supported extension.\n\nThe `reason` field is only present when `registrable` is `false`.\n\n### Behavior\n- Maximum 20 domains per request\n- Pricing is only returned for domains where `registrable: true`\n- Results are not cached; each request queries the registry\n\n### Workflow\n1. Call this endpoint with domains the user wants to register.\n2. For each domain where `registrable: true`, present pricing to the user.\n3. If `tier: premium`, note that premium registration is not currently\n supported by this API and do not proceed to `POST /registrations`.\n4. Proceed to `POST /registrations` only for supported non-premium domains.", + description: "Performs real-time, authoritative availability checks directly against domain\nregistries. Use this endpoint to verify a domain is available before attempting\nregistration via `POST /registrations`.\n\n**Important:** Unlike the Search endpoint, these results are authoritative and\nreflect current registry status. Always check availability immediately before\nregistration as domain status can change rapidly.\n\n**Note:** This endpoint uses POST to accept a list of domains in the request\nbody. It is a read-only operation — it does not create, modify, or reserve\nany domains.\n\n### Extension support\n\nOnly domains on extensions supported for programmatic registration by this API\ncan be registered. If you check a domain on an unsupported extension, the response\nwill include `registrable: false` with a `reason` field explaining why:\n\n- `extension_not_supported_via_api` — Cloudflare Registrar supports this extension\n in the dashboard, but it is not yet available for programmatic registration via\n this API. Register via `https://dash.cloudflare.com/{account_id}/domains/registrations` instead.\n- `extension_not_supported` — This extension is not supported by Cloudflare\n Registrar.\n- `extension_disallows_registration` — The extension's registry has temporarily\n or permanently frozen new registrations. No registrar can register domains on\n this extension at this time.\n- `domain_premium` — The domain is premium priced. Premium registration is not\n currently supported by this API.\n- `domain_unavailable` — The domain is already registered, reserved, or otherwise\n not available for registration on a supported extension.\n\nThe `reason` field is only present when `registrable` is `false`.\n\n### Behavior\n- Maximum 20 domains per request\n- Pricing is only returned for domains where `registrable: true`\n- Results are not cached; each request queries the registry\n\n### Workflow\n1. Call this endpoint with domains the user wants to register.\n2. For each domain where `registrable: true`, present pricing to the user.\n3. If `tier: premium`, note that premium registration is not currently\n supported by this API and do not proceed to `POST /registrations`.\n4. Proceed to `POST /registrations` only for supported non-premium domains.\n\nPOST /accounts/{account_id}/registrar/domain-check", inputSchema: { type: "object", properties: { @@ -58,10 +54,11 @@ export const tools: readonly Tool[] = [ "description": "List of fully qualified domain names (FQDNs) to check. Each domain must include the extension (e.g., \"example.com\", not \"example\")." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" } }, "required": [ @@ -74,9 +71,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "registrar-api_domain_check_request": registrar$$api_domain_check_request, - "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { @@ -133,7 +130,7 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_create", title: "Create Registration", - description: "Starts a domain registration workflow. This is a billable operation — successful\nregistration charges the account's default payment method. All successful\ndomain registrations are non-refundable — once the workflow completes with\n`state: succeeded`, the charge cannot be reversed.\n\n### Prerequisites\n- The account must have a billing profile with a valid default payment method.\n Set this up at `https://dash.cloudflare.com/{account_id}/billing/payment-info`.\n- The account must not already be at the maximum supported domain limit.\n A single account may own up to 500 domains in total across registrations\n created through either the dashboard or this API.\n- The domain must be on a supported extension for programmatic registration.\n- Use `POST /domain-check` immediately before calling this endpoint to confirm\n real-time availability and pricing.\n\n### Supported extensions\n\nThis API supports programmatic registration for all extensions supported by\nthe dashboard experience, with the following exceptions:\n\n`giving`, `mom`, `inc`, `lol`, `sh`, `link`, `cc`, `new`\n\nCloudflare Registrar supports 400+ extensions in the dashboard. Extensions\nlisted above can be registered at\n`https://dash.cloudflare.com/{account_id}/domains/registrations`.\n\n### Express mode\nThe only required field is `domain_name`. If `contacts` is omitted, the system\nuses the account's default address book entry as the registrant. If no default\nexists and no contact is provided, the request fails. Set up a default address\nbook entry and accept the required agreement at\n`https://dash.cloudflare.com/{account_id}/domains/registrations`.\n\n### Defaults\n- `years`: defaults to the extension's minimum registration period (1 year for\n most extensions, but varies — for example, `.ai` (if supported) requires a minimum of 2 years).\n- `auto_renew`: defaults to `false`. Setting it to `true` is an explicit\n opt-in authorizing Cloudflare to charge the account's default payment\n method up to 30 days before domain expiry to renew the registration.\n Renewal pricing may change over time based on registry pricing.\n- `privacy_mode`: defaults to `redaction`.\n\n### Premium domains\nPremium domain registration is not currently supported by this API.\nIf `POST /domain-check` returns `tier: premium`, do not call this\nendpoint for that domain.\n\n### Response behavior\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the registration completes. Most registrations finish\nwithin this window and return `201 Created` with a completed workflow status.\n\nIf the registration is still processing after this synchronous wait window,\nthe server returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.", + description: "Starts a domain registration workflow. This is a billable operation — successful\nregistration charges the account's default payment method. All successful\ndomain registrations are non-refundable — once the workflow completes with\n`state: succeeded`, the charge cannot be reversed.\n\n### Prerequisites\n- The account must have a billing profile with a valid default payment method.\n Set this up at `https://dash.cloudflare.com/{account_id}/billing/payment-info`.\n- The account must not already be at the maximum supported domain limit.\n A single account may own up to 500 domains in total across registrations\n created through either the dashboard or this API.\n- The domain must be on a supported extension for programmatic registration.\n- Use `POST /domain-check` immediately before calling this endpoint to confirm\n real-time availability and pricing.\n\n### Supported extensions\n\nThis API supports programmatic registration for all extensions supported by\nthe dashboard experience, with the following exceptions:\n\n`giving`, `mom`, `inc`, `lol`, `sh`, `link`, `cc`, `new`\n\nCloudflare Registrar supports 400+ extensions in the dashboard. Extensions\nlisted above can be registered at\n`https://dash.cloudflare.com/{account_id}/domains/registrations`.\n\n### Express mode\nThe only required field is `domain_name`. If `contacts` is omitted, the system\nuses the account's default address book entry as the registrant. If no default\nexists and no contact is provided, the request fails. Set up a default address\nbook entry and accept the required agreement at\n`https://dash.cloudflare.com/{account_id}/domains/registrations`.\n\n### Defaults\n- `years`: defaults to the extension's minimum registration period (1 year for\n most extensions, but varies — for example, `.ai` (if supported) requires a minimum of 2 years).\n- `auto_renew`: defaults to `false`. Setting it to `true` is an explicit\n opt-in authorizing Cloudflare to charge the account's default payment\n method up to 30 days before domain expiry to renew the registration.\n Renewal pricing may change over time based on registry pricing.\n- `privacy_mode`: defaults to `redaction`.\n\n### Premium domains\nPremium domain registration is not currently supported by this API.\nIf `POST /domain-check` returns `tier: premium`, do not call this\nendpoint for that domain.\n\n### Response behavior\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the registration completes. Most registrations finish\nwithin this window and return `201 Created` with a completed workflow status.\n\nIf the registration is still processing after this synchronous wait window,\nthe server returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.\n\nPOST /accounts/{account_id}/registrar/registrations", inputSchema: { type: "object", properties: { @@ -141,19 +138,21 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/registrar-api_registration_create_request" }, "headers": { + "additionalProperties": false, "properties": { "Prefer": { - "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.\n", + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.", "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" } }, "required": [ @@ -166,9 +165,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "registrar-api_domain_name": registrar$$api_domain_name$, - "registrar-api_identifier": registrar$$api_identifier, "registrar-api_registration_contact": registrar$$api_registration_contact, "registrar-api_registration_contact_address": registrar$$api_registration_contact_address, "registrar-api_registration_contact_postal_info": registrar$$api_registration_contact_postal_info, @@ -229,19 +227,20 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_get", title: "Get Registration", - description: "Returns the current state of a domain registration.\n\nThis is the canonical read endpoint for a domain you own. It returns\nthe full registration resource including current settings and expiration.\nWhen the registration resource is ready, both `created_at` and `expires_at`\nare present in the response.", + description: "Returns the current state of a domain registration.\n\nThis is the canonical read endpoint for a domain you own. It returns\nthe full registration resource including current settings and expiration.\nWhen the registration resource is ready, both `created_at` and `expires_at`\nare present in the response.\n\nGET /accounts/{account_id}/registrar/registrations/{domain_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID." + "description": "Cloudflare account ID.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Domain name to retrieve." + "description": "Domain name to retrieve.", + "type": "string" } }, "required": [ @@ -254,16 +253,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api_domain_name": registrar$$api_domain_name$, - "registrar-api_identifier": registrar$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api_registration-response-single", $defs: { "registrar-api_api-response-common": registrar$$api_api$$response$$common, - "registrar-api_domain_name": registrar$$api_domain_name, "registrar-api_messages": registrar$$api_messages, "registrar-api_registration": registrar$$api_registration, "registrar-api_registration-response-single": registrar$$api_registration$$response$$single, @@ -290,7 +285,6 @@ export const tools: readonly Tool[] = [ $defs: { "registrar-api_api-response-common": registrar$$api_api$$response$$common, "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, - "registrar-api_domain_name": registrar$$api_domain_name, "registrar-api_messages": registrar$$api_messages, "registrar-api_registration": registrar$$api_registration, "registrar-api_registration-response-single": registrar$$api_registration$$response$$single, @@ -303,19 +297,20 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_getRegistrationStatus", title: "Get Registration Status", - description: "Returns the current status of a domain registration workflow.\n\nUse this endpoint to poll for completion when the POST response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\n**Terminal states:** `succeeded` and `failed` are terminal and always\nhave `completed: true`.\n\n**Non-terminal states:**\n- `action_required` has `completed: false` and will not resolve on its\n own. The workflow is paused pending user intervention.\n- `blocked` has `completed: false` and indicates the workflow is waiting\n on a third party such as the extension registry or losing registrar.\n Continue polling while informing the user of the delay.\n\nUse increasing backoff between polls. When `state: blocked`, use a\nlonger polling interval and do not poll indefinitely.\n\nA naive polling loop that only checks `completed` can run indefinitely\nwhen `state: action_required`. Break explicitly on `action_required`:\n\n```js\nlet status;\ndo {\n await new Promise(r => setTimeout(r, 2000));\n status = await cloudflare.request({\n method: 'GET',\n path: reg.result.links.self,\n });\n} while (\n !status.result.completed &&\n status.result.state !== 'action_required'\n);\n\nif (status.result.state === 'action_required') {\n // Surface context.action and context.confirmation_sent_to to the user.\n // Do not re-submit the registration request.\n}\n```", + description: "Returns the current status of a domain registration workflow.\n\nUse this endpoint to poll for completion when the POST response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\n**Terminal states:** `succeeded` and `failed` are terminal and always\nhave `completed: true`.\n\n**Non-terminal states:**\n- `action_required` has `completed: false` and will not resolve on its\n own. The workflow is paused pending user intervention.\n- `blocked` has `completed: false` and indicates the workflow is waiting\n on a third party such as the extension registry or losing registrar.\n Continue polling while informing the user of the delay.\n\nUse increasing backoff between polls. When `state: blocked`, use a\nlonger polling interval and do not poll indefinitely.\n\nA naive polling loop that only checks `completed` can run indefinitely\nwhen `state: action_required`. Break explicitly on `action_required`:\n\n```js\nlet status;\ndo {\n await new Promise(r => setTimeout(r, 2000));\n status = await cloudflare.request({\n method: 'GET',\n path: reg.result.links.self,\n });\n} while (\n !status.result.completed &&\n status.result.state !== 'action_required'\n);\n\nif (status.result.state === 'action_required') {\n // Surface context.action and context.confirmation_sent_to to the user.\n // Do not re-submit the registration request.\n}\n```\n\nGET /accounts/{account_id}/registrar/registrations/{domain_name}/registration-status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.", + "type": "string" } }, "required": [ @@ -328,10 +323,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api_domain_name": registrar$$api_domain_name$, - "registrar-api_identifier": registrar$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api_workflow-status-response-single", @@ -379,19 +371,20 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_getTransferStatus", title: "Get Transfer Status", - description: "Returns the current status of a domain transfer workflow.\n\nUse this endpoint to poll transfer progress after initiating a transfer\nwith `POST /accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in`.\nThe URL is provided in the `links.self` field of the transfer response.\n\n### Transfer timelines\nTransfers typically take 1–10 days due to ICANN-mandated approval windows.\n\n### Workflow states\n\n**Terminal states:** `succeeded` and `failed` are terminal and always\nhave `completed: true`.\n\n**Non-terminal states:**\n- `in_progress`: Transfer has been submitted to the registry and is being\n processed. Continue polling.\n- `blocked`: The workflow is waiting on the losing registrar or registry\n to release the domain. This is the **most common state** for transfers\n and is entirely normal — it means the ICANN transfer approval window is\n in effect. The losing registrar has up to 5 days to approve or reject.\n Continue polling with longer intervals (e.g., every 30–60 minutes).\n- `action_required`: The user needs to take action (e.g., the FOA email\n needs to be accepted). See `context` for details on what is needed.\n- `pending`: Transfer workflow created but not yet started processing.\n\n### Polling guidance\nAdjust your polling interval based on the current workflow state:\n- `pending` or `in_progress`: Poll every 30 seconds.\n- `blocked`: The transfer is waiting on a third party (e.g., losing\n registrar approval). Poll every 30–60 minutes.\n- `action_required`: Stop polling. The workflow will not advance until\n the user takes action. Check `context` for details on what is needed.\n- `succeeded` or `failed`: Terminal — stop polling.", + description: "Returns the current status of a domain transfer workflow.\n\nUse this endpoint to poll transfer progress after initiating a transfer\nwith `POST /accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in`.\nThe URL is provided in the `links.self` field of the transfer response.\n\n### Transfer timelines\nTransfers typically take 1–10 days due to ICANN-mandated approval windows.\n\n### Workflow states\n\n**Terminal states:** `succeeded` and `failed` are terminal and always\nhave `completed: true`.\n\n**Non-terminal states:**\n- `in_progress`: Transfer has been submitted to the registry and is being\n processed. Continue polling.\n- `blocked`: The workflow is waiting on the losing registrar or registry\n to release the domain. This is the **most common state** for transfers\n and is entirely normal — it means the ICANN transfer approval window is\n in effect. The losing registrar has up to 5 days to approve or reject.\n Continue polling with longer intervals (e.g., every 30–60 minutes).\n- `action_required`: The user needs to take action (e.g., the FOA email\n needs to be accepted). See `context` for details on what is needed.\n- `pending`: Transfer workflow created but not yet started processing.\n\n### Polling guidance\nAdjust your polling interval based on the current workflow state:\n- `pending` or `in_progress`: Poll every 30 seconds.\n- `blocked`: The transfer is waiting on a third party (e.g., losing\n registrar approval). Poll every 30–60 minutes.\n- `action_required`: Stop polling. The workflow will not advance until\n the user takes action. Check `context` for details on what is needed.\n- `succeeded` or `failed`: Terminal — stop polling.\n\nGET /accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in-status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.", + "type": "string" } }, "required": [ @@ -404,10 +397,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api_domain_name": registrar$$api_domain_name$, - "registrar-api_identifier": registrar$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api_workflow-status-response-single", @@ -455,19 +445,20 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_getUpdateStatus", title: "Get Update Status", - description: "Returns the current status of a domain update workflow.\n\nUse this endpoint to poll for completion when the PATCH response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\nUse increasing backoff between polls. When the workflow remains blocked\non a third party, use a longer polling interval and do not poll indefinitely.", + description: "Returns the current status of a domain update workflow.\n\nUse this endpoint to poll for completion when the PATCH response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\nUse increasing backoff between polls. When the workflow remains blocked\non a third party, use a longer polling interval and do not poll indefinitely.\n\nGET /accounts/{account_id}/registrar/registrations/{domain_name}/update-status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID." + "description": "Cloudflare account ID.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.", + "type": "string" } }, "required": [ @@ -480,10 +471,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api_domain_name": registrar$$api_domain_name$, - "registrar-api_identifier": registrar$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api_workflow-status-response-single", @@ -531,15 +519,16 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_list", title: "List Registrations", - description: "Returns a paginated list of domain registrations owned by the account.\n\nThis endpoint uses cursor-based pagination. Results are ordered by registration\ndate by default. To fetch the next page, pass the `cursor` value from the\n`result_info` object in the response as the `cursor` query parameter in\nyour next request. An empty `cursor` string indicates there are no more\npages.", + description: "Returns a paginated list of domain registrations owned by the account.\n\nThis endpoint uses cursor-based pagination. Results are ordered by registration\ndate by default. To fetch the next page, pass the `cursor` value from the\n`result_info` object in the response as the `cursor` query parameter in\nyour next request. An empty `cursor` string indicates there are no more\npages.\n\nGET /accounts/{account_id}/registrar/registrations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID." + "description": "Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -548,14 +537,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { - "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", + "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.", "type": "string" }, "direction": { "default": "asc", - "description": "Sort direction for results. Defaults to ascending order.\n", + "description": "Sort direction for results. Defaults to ascending order.", "enum": [ "asc", "desc" @@ -584,16 +574,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api_identifier": registrar$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api_registration-response-collection", $defs: { "registrar-api_api-response-common": registrar$$api_api$$response$$common, "registrar-api_cursor_result_info": registrar$$api_cursor_result_info, - "registrar-api_domain_name": registrar$$api_domain_name, "registrar-api_messages": registrar$$api_messages, "registrar-api_registration": registrar$$api_registration, "registrar-api_registration-response-collection": registrar$$api_registration$$response$$collection, @@ -621,7 +608,6 @@ export const tools: readonly Tool[] = [ "registrar-api_api-response-common": registrar$$api_api$$response$$common, "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, "registrar-api_cursor_result_info": registrar$$api_cursor_result_info, - "registrar-api_domain_name": registrar$$api_domain_name, "registrar-api_messages": registrar$$api_messages, "registrar-api_registration": registrar$$api_registration, "registrar-api_registration-response-collection": registrar$$api_registration$$response$$collection, @@ -640,15 +626,16 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_search", title: "Search for available domains", - description: "Searches for domain name suggestions based on a keyword, phrase, or partial domain name.\nReturns a list of potentially available domains with pricing information.\n\n**Important:** Results are non-authoritative and based on cached data. Always use the\n`/domain-check` endpoint to verify real-time availability before attempting registration.\n\nSuggestions are scoped to extensions supported for programmatic registration\nvia this API (`POST /registrations`). Domains on unsupported extensions will\nnot appear in results, even if they are available at the registry level.\n\n### Use cases\n- Brand name discovery (e.g., \"acme corp\" → acmecorp.com, acmecorp.dev)\n- Keyword-based suggestions (e.g., \"coffee shop\" → coffeeshop.com, mycoffeeshop.net)\n- Alternative extension discovery (e.g., \"example.com\" → example.com, example.app, example.xyz)\n\n### Workflow\n1. Call this endpoint with a keyword or domain name.\n2. Present suggestions to the user.\n3. Call `/domain-check` with the user's chosen domains to confirm real-time availability and pricing.\n4. Proceed to `POST /registrations` only for supported non-premium domains\n where the Check response returns `registrable: true`.\n\n**Note:** Searching with just a domain extension (e.g., \"com\" or \".app\") is not supported. Provide a keyword or domain name.", + description: "Searches for domain name suggestions based on a keyword, phrase, or partial domain name.\nReturns a list of potentially available domains with pricing information.\n\n**Important:** Results are non-authoritative and based on cached data. Always use the\n`/domain-check` endpoint to verify real-time availability before attempting registration.\n\nSuggestions are scoped to extensions supported for programmatic registration\nvia this API (`POST /registrations`). Domains on unsupported extensions will\nnot appear in results, even if they are available at the registry level.\n\n### Use cases\n- Brand name discovery (e.g., \"acme corp\" → acmecorp.com, acmecorp.dev)\n- Keyword-based suggestions (e.g., \"coffee shop\" → coffeeshop.com, mycoffeeshop.net)\n- Alternative extension discovery (e.g., \"example.com\" → example.com, example.app, example.xyz)\n\n### Workflow\n1. Call this endpoint with a keyword or domain name.\n2. Present suggestions to the user.\n3. Call `/domain-check` with the user's chosen domains to confirm real-time availability and pricing.\n4. Proceed to `POST /registrations` only for supported non-premium domains\n where the Check response returns `registrable: true`.\n\n**Note:** Searching with just a domain extension (e.g., \"com\" or \".app\") is not supported. Provide a keyword or domain name.\n\nGET /accounts/{account_id}/registrar/domain-search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" } }, "required": [ @@ -657,9 +644,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "extensions": { - "description": "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.\n", + "description": "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.", "items": { "type": "string" }, @@ -668,11 +656,11 @@ export const tools: readonly Tool[] = [ }, "limit": { "default": 20, - "description": "Maximum number of domain suggestions to return. Defaults to 20 if not specified.\n", + "description": "Maximum number of domain suggestions to return. Defaults to 20 if not specified.", "type": "integer" }, "q": { - "description": "The search term to find domain suggestions. Accepts keywords, phrases, or full domain names.\n- Phrases: \"coffee shop\" returns coffeeshop.com, mycoffeeshop.net, etc.\n- Domain names: \"example.com\" returns example.com and variations across extensions\n", + "description": "The search term to find domain suggestions. Accepts keywords, phrases, or full domain names.\n- Phrases: \"coffee shop\" returns coffeeshop.com, mycoffeeshop.net, etc.\n- Domain names: \"example.com\" returns example.com and variations across extensions", "type": "string" } }, @@ -686,9 +674,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "registrar-api_identifier": registrar$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api_domain_search_response", @@ -741,7 +727,7 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_transferCheck", title: "Check domain transfer eligibility", - description: "Performs real-time, authoritative eligibility checks directly against needed requirements.\nUse this endpoint to verify a domain is available before\nattempting a transfer via `POST /registrations/:domain_name/transfer-in`.\n\n**Note:** This endpoint uses POST to accept a list of domains in the request\nbody. It is a read-only operation — it does not create, modify, or reserve\nany domains.\n\n### Behavior\n- Maximum 10 domains per request\n- Pricing is only returned for domains where `transferable: true`\n- Results are not cached; each request queries the registry & other needed upstreams\n\n## Extension Support\n\nAll `.uk` extensions (`.uk`, `.co.uk`, etc) do not support auth codes. As such,\nCloudflare will ignore the `auth_code` section of this request for `.uk` domains.\n\nThis means that a `.uk` domain depends on public data to obtain domain information,\nso it might be a few minutes outdated.\n\n### Workflow\n1. Call this endpoint with domains the user wants to transfer.\n2. For each domain where `transferable: true`, present pricing to the user.\n3. For each domain where `transferable: false`, present reasons to the user\n4. Proceed to `POST /registrations/:domain_name/transfer-in` only for the `transferable: true` domains.", + description: "Performs real-time, authoritative eligibility checks directly against needed requirements.\nUse this endpoint to verify a domain is available before\nattempting a transfer via `POST /registrations/:domain_name/transfer-in`.\n\n**Note:** This endpoint uses POST to accept a list of domains in the request\nbody. It is a read-only operation — it does not create, modify, or reserve\nany domains.\n\n### Behavior\n- Maximum 10 domains per request\n- Pricing is only returned for domains where `transferable: true`\n- Results are not cached; each request queries the registry & other needed upstreams\n\n## Extension Support\n\nAll `.uk` extensions (`.uk`, `.co.uk`, etc) do not support auth codes. As such,\nCloudflare will ignore the `auth_code` section of this request for `.uk` domains.\n\nThis means that a `.uk` domain depends on public data to obtain domain information,\nso it might be a few minutes outdated.\n\n### Workflow\n1. Call this endpoint with domains the user wants to transfer.\n2. For each domain where `transferable: true`, present pricing to the user.\n3. For each domain where `transferable: false`, present reasons to the user\n4. Proceed to `POST /registrations/:domain_name/transfer-in` only for the `transferable: true` domains.\n\nPOST /accounts/{account_id}/registrar/domain-transfer-check", inputSchema: { type: "object", properties: { @@ -750,10 +736,11 @@ export const tools: readonly Tool[] = [ "description": "List of transferable domain objects to check." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" } }, "required": [ @@ -766,16 +753,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "registrar-api_domain_transfer_check_request": registrar$$api_domain_transfer_check_request, - "registrar-api_identifier": registrar$$api_identifier, }, }, outputSchema: { "$ref": "#/$defs/registrar-api_domain_transfer_check_response", $defs: { "registrar-api_api-response-common": registrar$$api_api$$response$$common, - "registrar-api_domain_transfer_check_reason": registrar$$api_domain_transfer_check_reason, "registrar-api_domain_transfer_check_response": registrar$$api_domain_transfer_check_response, "registrar-api_domain_transfer_check_result": registrar$$api_domain_transfer_check_result, "registrar-api_messages": registrar$$api_messages, @@ -807,7 +793,6 @@ export const tools: readonly Tool[] = [ $defs: { "registrar-api_api-response-common": registrar$$api_api$$response$$common, "registrar-api_api-response-common-failure": registrar$$api_api$$response$$common$$failure, - "registrar-api_domain_transfer_check_reason": registrar$$api_domain_transfer_check_reason, "registrar-api_domain_transfer_check_response": registrar$$api_domain_transfer_check_response, "registrar-api_domain_transfer_check_result": registrar$$api_domain_transfer_check_result, "registrar-api_messages": registrar$$api_messages, @@ -823,7 +808,7 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_transferIn", title: "Initiate Transfer", - description: "Starts a domain transfer-in workflow. This is typically a billable\noperation — successful transfers charge the account's default payment\nmethod, except for extensions with zero transfer pricing (e.g. UK\nextensions). All successful domain transfers are non-refundable.\n\n### How transfers work\nDomain transfers move a domain from another registrar to Cloudflare.\nTransfers typically take 1-10 days due to ICANN-mandated approval windows.\n\n### Prerequisites\n- The domain must already have a zone in the Cloudflare account (added\n through the dashboard or zone API).\n- The zone must have DNSSec disabled.\n- For billable transfers (i.e. extensions with non-zero transfer pricing), the\n account must have a billing profile with a valid default payment method.\n Set this up at `https://dash.cloudflare.com/{account_id}/billing/payment-info`.\n- The domain must be unlocked at the current registrar.\n- An authorization/EPP code from the current registrar is required,\n except for UK extensions — see Auth code below.\n\n### Auth code\nAn authorization code (also called EPP code, transfer key, or auth-info code)\nis required for most extensions, with the exception of UK extensions. Obtain\nthis from your current registrar's control panel.\n\nThe auth code in the request body must be base64-encoded per RFC 4648 §4 (standard\nalphabet, no line breaks).\n\n### Response behavior\nSuccessful transfer initiation returns `202 Accepted`. Validation or\ninitiation failures return the documented `4XX` responses. Poll\n`GET /accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in-status` to track progress.\n\n### Premium domains\nPremium domain transfers are not currently supported by this API. Please use\nthe [dashboard](https://dash.cloudflare.com/) for now.\n\n### Billing\nThe account's default payment method is charged upon successful transfer\ncompletion, unless the extension has zero transfer pricing (e.g. UK\nextensions). The transfer adds time to the domain's existing expiration\ndate (typically 1 year).", + description: "Starts a domain transfer-in workflow. This is typically a billable\noperation — successful transfers charge the account's default payment\nmethod, except for extensions with zero transfer pricing (e.g. UK\nextensions). All successful domain transfers are non-refundable.\n\n### How transfers work\nDomain transfers move a domain from another registrar to Cloudflare.\nTransfers typically take 1-10 days due to ICANN-mandated approval windows.\n\n### Prerequisites\n- The domain must already have a zone in the Cloudflare account (added\n through the dashboard or zone API).\n- The zone must have DNSSec disabled.\n- For billable transfers (i.e. extensions with non-zero transfer pricing), the\n account must have a billing profile with a valid default payment method.\n Set this up at `https://dash.cloudflare.com/{account_id}/billing/payment-info`.\n- The domain must be unlocked at the current registrar.\n- An authorization/EPP code from the current registrar is required,\n except for UK extensions — see Auth code below.\n\n### Auth code\nAn authorization code (also called EPP code, transfer key, or auth-info code)\nis required for most extensions, with the exception of UK extensions. Obtain\nthis from your current registrar's control panel.\n\nThe auth code in the request body must be base64-encoded per RFC 4648 §4 (standard\nalphabet, no line breaks).\n\n### Response behavior\nSuccessful transfer initiation returns `202 Accepted`. Validation or\ninitiation failures return the documented `4XX` responses. Poll\n`GET /accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in-status` to track progress.\n\n### Premium domains\nPremium domain transfers are not currently supported by this API. Please use\nthe [dashboard](https://dash.cloudflare.com/) for now.\n\n### Billing\nThe account's default payment method is charged upon successful transfer\ncompletion, unless the extension has zero transfer pricing (e.g. UK\nextensions). The transfer adds time to the domain's existing expiration\ndate (typically 1 year).\n\nPOST /accounts/{account_id}/registrar/registrations/{domain_name}/transfer-in", inputSchema: { type: "object", properties: { @@ -831,23 +816,25 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/registrar-api_transfer_in_create_request" }, "headers": { + "additionalProperties": false, "properties": { "Prefer": { - "description": "Set to `respond-async` to indicate a preference for asynchronous\nprocessing (RFC 7240).\n", + "description": "Set to `respond-async` to indicate a preference for asynchronous\nprocessing (RFC 7240).", "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Domain name to transfer." + "description": "Domain name to transfer.", + "type": "string" } }, "required": [ @@ -861,9 +848,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "registrar-api_domain_name": registrar$$api_domain_name$, - "registrar-api_identifier": registrar$$api_identifier, "registrar-api_registration_contact": registrar$$api_registration_contact, "registrar-api_registration_contact_address": registrar$$api_registration_contact_address, "registrar-api_registration_contact_postal_info": registrar$$api_registration_contact_postal_info, @@ -921,7 +907,7 @@ export const tools: readonly Tool[] = [ { name: "registrar_registrations_update", title: "Update Registration", - description: "Updates an existing domain registration.\n\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the update completes. Most updates finish within this\nwindow and return `200 OK` with a completed workflow status.\n\nIf the update is still processing after this synchronous wait window, the\nserver returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.\n\nThis endpoint currently supports updating `auto_renew` only.", + description: "Updates an existing domain registration.\n\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the update completes. Most updates finish within this\nwindow and return `200 OK` with a completed workflow status.\n\nIf the update is still processing after this synchronous wait window, the\nserver returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.\n\nThis endpoint currently supports updating `auto_renew` only.\n\nPATCH /accounts/{account_id}/registrar/registrations/{domain_name}", inputSchema: { type: "object", properties: { @@ -929,9 +915,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/registrar-api_registration_update_request" }, "headers": { + "additionalProperties": false, "properties": { "Prefer": { - "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n", + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).", "enum": [ "respond-async" ], @@ -941,14 +928,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api_identifier", - "description": "Cloudflare account ID." + "description": "Cloudflare account ID.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api_domain_name", - "description": "Domain name to update." + "description": "Domain name to update.", + "type": "string" } }, "required": [ @@ -962,9 +950,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "registrar-api_domain_name": registrar$$api_domain_name$, - "registrar-api_identifier": registrar$$api_identifier, "registrar-api_registration_update_request": registrar$$api_registration_update_request, }, }, diff --git a/src/generated/forge-mcp/registrar/schemas.ts b/src/generated/forge-mcp/registrar/schemas.ts deleted file mode 100644 index 349e43e59..000000000 --- a/src/generated/forge-mcp/registrar/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `registrar-api_identifier`. - */ -export const registrar$$api_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts b/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts index d15541aa5..8de992e0b 100644 --- a/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts +++ b/src/generated/forge-mcp/registrarSandbox/extensions/tools.ts @@ -7,7 +7,6 @@ import { registrar$$api$$sandbox_api$$response$$common$$failure, registrar$$api$$sandbox_messages, } from "../outputs.js"; -import { registrar$$api$$sandbox_identifier } from "../schemas.js"; import { registrar$$api$$sandbox_extension$$item, registrar$$api$$sandbox_extension$$response$$collection, @@ -21,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_extensions_get", title: "Get extension", - description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on a specific\nextension (TLD).\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.", + description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on a specific\nextension (TLD).\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.\n\nGET /accounts/{account_id}/registrar-sandbox/extensions/{extension}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "extension": { "description": "The extension name (e.g., `com`, `co.uk`).", @@ -46,9 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_extension-response-single", @@ -93,15 +91,16 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_extensions_list", title: "List extensions", - description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on each supported\nextension (TLD).\n\nThis endpoint uses cursor-based pagination. Results are ordered by\nextension name by default. To fetch the next page, pass the `cursor`\nvalue from the `result_info` object in the response as the `cursor`\nquery parameter in your next request. An empty `cursor` string\nindicates there are no more pages.\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.", + description: "Returns metadata and JSON Schema documents describing the expected input\nstructure for registration and transfer operations on each supported\nextension (TLD).\n\nThis endpoint uses cursor-based pagination. Results are ordered by\nextension name by default. To fetch the next page, pass the `cursor`\nvalue from the `result_info` object in the response as the `cursor`\nquery parameter in your next request. An empty `cursor` string\nindicates there are no more pages.\n\nSupports HTTP conditional GET via `ETag`. Include the `ETag` value\nfrom a previous response in an `If-None-Match` header to receive a\n`304 Not Modified` when the data has not changed.\n\nGET /accounts/{account_id}/registrar-sandbox/extensions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -110,14 +109,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { - "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", + "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.", "type": "string" }, "direction": { "default": "asc", - "description": "Sort direction for results. Defaults to ascending order.\n", + "description": "Sort direction for results. Defaults to ascending order.", "enum": [ "asc", "desc" @@ -125,7 +125,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "name": { - "description": "Filter extensions by exact name match.\nFor example, `name=com` returns only the `com` extension.\n", + "description": "Filter extensions by exact name match.\nFor example, `name=com` returns only the `com` extension.", "type": "string" }, "per_page": { @@ -135,7 +135,7 @@ export const tools: readonly Tool[] = [ }, "sort_by": { "default": "name", - "description": "Column to sort results by. Defaults to `name` when omitted.\n", + "description": "Column to sort results by. Defaults to `name` when omitted.", "enum": [ "name", "created_at", @@ -150,9 +150,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_extension-response-collection", diff --git a/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts b/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts index bede6484a..036dcdb04 100644 --- a/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts +++ b/src/generated/forge-mcp/registrarSandbox/registrations/outputs.ts @@ -98,13 +98,6 @@ export const registrar$$api$$sandbox_domain_check_result: JsonSchema = { "type": "object" }; -/** - * The schema of `registrar-api-sandbox_domain_name` in responses. - */ -export const registrar$$api$$sandbox_domain_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `registrar-api-sandbox_domain_search_response` in responses. */ @@ -231,7 +224,7 @@ export const registrar$$api$$sandbox_registration: JsonSchema = { "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name" + "type": "string" }, "expires_at": { "oneOf": [ diff --git a/src/generated/forge-mcp/registrarSandbox/registrations/schemas.ts b/src/generated/forge-mcp/registrarSandbox/registrations/schemas.ts index f0e77656e..4356f7fd4 100644 --- a/src/generated/forge-mcp/registrarSandbox/registrations/schemas.ts +++ b/src/generated/forge-mcp/registrarSandbox/registrations/schemas.ts @@ -10,7 +10,7 @@ export const registrar$$api$$sandbox_domain_check_request: JsonSchema = { "description": "Request body for checking domain availability.", "properties": { "domains": { - "description": "List of fully qualified domain names (FQDNs) to check for availability. Each domain must include the extension.\n- Minimum: 1 domain.\n- Maximum: 20 domains per request.\n- The response returns domains on unsupported extensions with `registrable: false` and a `reason` field.\n- The response may omit malformed domain names (e.g., names missing an extension).\n", + "description": "List of fully qualified domain names (FQDNs) to check for availability. Each domain must include the extension.\n- Minimum: 1 domain.\n- Maximum: 20 domains per request.\n- The response returns domains on unsupported extensions with `registrable: false` and a `reason` field.\n- The response may omit malformed domain names (e.g., names missing an extension).", "items": { "type": "string" }, @@ -25,26 +25,18 @@ export const registrar$$api$$sandbox_domain_check_request: JsonSchema = { "type": "object" }; -/** - * The schema of `registrar-api-sandbox_domain_name`. - */ -export const registrar$$api$$sandbox_domain_name: JsonSchema = { - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n", - "type": "string" -}; - /** * The schema of `registrar-api-sandbox_registration_contact`. */ export const registrar$$api$$sandbox_registration_contact: JsonSchema = { - "description": "Contact data for the domain registration. This information\nis submitted to the domain registry and, depending on extension and\nprivacy settings, may appear in public WHOIS records.\n", + "description": "Contact data for the domain registration. This information\nis submitted to the domain registry and, depending on extension and\nprivacy settings, may appear in public WHOIS records.", "properties": { "email": { - "description": "Email address for the registrant. Used for domain-related\ncommunications from the registry, including ownership verification\nand renewal notices.\n", + "description": "Email address for the registrant. Used for domain-related\ncommunications from the registry, including ownership verification\nand renewal notices.", "type": "string" }, "fax": { - "description": "Fax number in E.164 format (e.g., `+1.5555555555`). Optional.\nMost registrations do not require a fax number.\n", + "description": "Fax number in E.164 format (e.g., `+1.5555555555`). Optional.\nMost registrations do not require a fax number.", "type": "string" }, "phone": { @@ -53,7 +45,7 @@ export const registrar$$api$$sandbox_registration_contact: JsonSchema = { }, "postal_info": { "$ref": "#/$defs/registrar-api-sandbox_registration_contact_postal_info", - "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts.\n" + "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts." } }, "required": [ @@ -105,7 +97,7 @@ export const registrar$$api$$sandbox_registration_contact_address: JsonSchema = * The schema of `registrar-api-sandbox_registration_contact_postal_info`. */ export const registrar$$api$$sandbox_registration_contact_postal_info: JsonSchema = { - "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts.\n", + "description": "Postal/mailing information for the contact. The `name` field is the\ncomplete contact name in one string. Some registries require a complete\npersonal name, including a family or last name where applicable, but this\nAPI does not accept separate first-name and last-name fields for\nregistration contacts.", "properties": { "address": { "$ref": "#/$defs/registrar-api-sandbox_registration_contact_address", @@ -131,23 +123,23 @@ export const registrar$$api$$sandbox_registration_contact_postal_info: JsonSchem * The schema of `registrar-api-sandbox_registration_contacts`. */ export const registrar$$api$$sandbox_registration_contacts: JsonSchema = { - "description": "Provides contact data for the registration request.\n\nThe per-extension schema from\n`GET /accounts/{account_id}/registrar/extensions/{extension}` defines the\naccepted contact roles. Every currently supported extension requires only\n`contacts.registrant` from API callers. Callers may provide additional roles\nsuch as `technical`, `administrator`, and `billing` when the extension\nschema includes them. When a registry requires an omitted role, Cloudflare\nmay derive that contact from `contacts.registrant`.\n\nWhen the request omits either the entire `contacts` object or\n`contacts.registrant`, the system uses the account's default address book\nentry as the registrant contact. The account owner must configure this\ndefault at `https://dash.cloudflare.com/{account_id}/domains/registrations`,\nwhere they can create or update the address book entry and accept the\nrequired agreement. Dashboard settings currently provide the only way to\nmanage address book entries.\n\nWithout either a default address book entry or a registrant contact, the\nregistration request fails validation.\n", + "description": "Provides contact data for the registration request.\n\nThe per-extension schema from\n`GET /accounts/{account_id}/registrar/extensions/{extension}` defines the\naccepted contact roles. Every currently supported extension requires only\n`contacts.registrant` from API callers. Callers may provide additional roles\nsuch as `technical`, `administrator`, and `billing` when the extension\nschema includes them. When a registry requires an omitted role, Cloudflare\nmay derive that contact from `contacts.registrant`.\n\nWhen the request omits either the entire `contacts` object or\n`contacts.registrant`, the system uses the account's default address book\nentry as the registrant contact. The account owner must configure this\ndefault at `https://dash.cloudflare.com/{account_id}/domains/registrations`,\nwhere they can create or update the address book entry and accept the\nrequired agreement. Dashboard settings currently provide the only way to\nmanage address book entries.\n\nWithout either a default address book entry or a registrant contact, the\nregistration request fails validation.", "properties": { "administrator": { "$ref": "#/$defs/registrar-api-sandbox_registration_contact", - "description": "Optional administrator contact. Accepted only when the extension\nschema includes this role. When the registry requires an omitted\ncontact, Cloudflare may derive it from `contacts.registrant`.\n" + "description": "Optional administrator contact. Accepted only when the extension\nschema includes this role. When the registry requires an omitted\ncontact, Cloudflare may derive it from `contacts.registrant`." }, "billing": { "$ref": "#/$defs/registrar-api-sandbox_registration_contact", - "description": "Optional billing contact. Accepted only when the extension schema\nincludes this role. When the registry requires an omitted contact,\nCloudflare may derive it from `contacts.registrant`.\n" + "description": "Optional billing contact. Accepted only when the extension schema\nincludes this role. When the registry requires an omitted contact,\nCloudflare may derive it from `contacts.registrant`." }, "registrant": { "$ref": "#/$defs/registrar-api-sandbox_registration_contact", - "description": "Optional registrant contact. If omitted, the account's default\naddress book entry is used instead.\n" + "description": "Optional registrant contact. If omitted, the account's default\naddress book entry is used instead." }, "technical": { "$ref": "#/$defs/registrar-api-sandbox_registration_contact", - "description": "Optional technical contact. Accepted only when the extension schema\nincludes this role. When the registry requires an omitted contact,\nCloudflare may derive it from `contacts.registrant`.\n" + "description": "Optional technical contact. Accepted only when the extension schema\nincludes this role. When the registry requires an omitted contact,\nCloudflare may derive it from `contacts.registrant`." } }, "type": "object" @@ -159,28 +151,28 @@ export const registrar$$api$$sandbox_registration_contacts: JsonSchema = { export const registrar$$api$$sandbox_registration_create_request: JsonSchema = { "properties": { "acknowledgements": { - "description": "Provides user acknowledgements for a specific extension or premium\nregistration flow. The extension registration schema from the\nextension discovery endpoint identifies the required keys.\n", + "description": "Provides user acknowledgements for a specific extension or premium\nregistration flow. The extension registration schema from the\nextension discovery endpoint identifies the required keys.", "type": "object" }, "auto_renew": { "default": false, - "description": "Enable or disable automatic renewal. Defaults to `false` if omitted.\nSetting this field to `true` is an explicit opt-in authorizing\nCloudflare to charge the account's default payment method up to 30\ndays before domain expiry to renew the domain automatically.\nRenewal pricing may change over time based on registry pricing.\n", + "description": "Enable or disable automatic renewal. Defaults to `false` if omitted.\nSetting this field to `true` is an explicit opt-in authorizing\nCloudflare to charge the account's default payment method up to 30\ndays before domain expiry to renew the domain automatically.\nRenewal pricing may change over time based on registry pricing.", "type": "boolean" }, "contact_extensions": { - "description": "Provides registry-specific contact extension values for the registrant.\n`GET /accounts/{account_id}/registrar/extensions/{extension}` identifies\nthe required keys and allowed values for each extension in the\n`registration_schema.properties.contact_extensions` object.\n\nExamples include `.us` nexus fields, `.uk` registrant type fields,\nand `.ca` legal type fields. Omit this object when the extension's\nregistration schema excludes `contact_extensions`.\n", + "description": "Provides registry-specific contact extension values for the registrant.\n`GET /accounts/{account_id}/registrar/extensions/{extension}` identifies\nthe required keys and allowed values for each extension in the\n`registration_schema.properties.contact_extensions` object.\n\nExamples include `.us` nexus fields, `.uk` registrant type fields,\nand `.ca` legal type fields. Omit this object when the extension's\nregistration schema excludes `contact_extensions`.", "type": "object" }, "contacts": { "$ref": "#/$defs/registrar-api-sandbox_registration_contacts" }, "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.", + "type": "string" }, "privacy_mode": { "default": "redaction", - "description": "Sets the WHOIS privacy mode for the registration. Defaults to `redaction`.\n- `off`: Disables WHOIS privacy.\n- `redaction`: Requests WHOIS redaction where the extension supports it.\n Some extensions exclude privacy and redaction.\n", + "description": "Sets the WHOIS privacy mode for the registration. Defaults to `redaction`.\n- `off`: Disables WHOIS privacy.\n- `redaction`: Requests WHOIS redaction where the extension supports it.\n Some extensions exclude privacy and redaction.", "enum": [ "off", "redaction" @@ -188,7 +180,7 @@ export const registrar$$api$$sandbox_registration_create_request: JsonSchema = { "type": "string" }, "years": { - "description": "Sets the registration term from 1 to 10 years. When omitted, this\nfield defaults to the registry's minimum registration period for the\nextension. Most extensions require 1 year, while some require longer\nminimum terms (e.g., `.ai` requires 2 years).\n\nEach registry may also enforce its own maximum registration term. A\nrequest above that maximum fails. When uncertain, omit this field to\nuse the default.\n", + "description": "Sets the registration term from 1 to 10 years. When omitted, this\nfield defaults to the registry's minimum registration period for the\nextension. Most extensions require 1 year, while some require longer\nminimum terms (e.g., `.ai` requires 2 years).\n\nEach registry may also enforce its own maximum registration term. A\nrequest above that maximum fails. When uncertain, omit this field to\nuse the default.", "type": "integer" } }, @@ -202,10 +194,10 @@ export const registrar$$api$$sandbox_registration_create_request: JsonSchema = { * The schema of `registrar-api-sandbox_registration_update_request`. */ export const registrar$$api$$sandbox_registration_update_request: JsonSchema = { - "description": "Request to update an existing domain registration.\n\nThis endpoint currently supports updating `auto_renew` only.\n", + "description": "Request to update an existing domain registration.\n\nThis endpoint currently supports updating `auto_renew` only.", "properties": { "auto_renew": { - "description": "Enable or disable automatic renewal.\nSetting this field to `true` authorizes Cloudflare to charge the\naccount's default payment method up to 30 days before domain expiry\nto renew the domain automatically. Renewal pricing may change over\ntime based on registry pricing.\n", + "description": "Enable or disable automatic renewal.\nSetting this field to `true` authorizes Cloudflare to charge the\naccount's default payment method up to 30 days before domain expiry\nto renew the domain automatically. Renewal pricing may change over\ntime based on registry pricing.", "type": "boolean" } }, diff --git a/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts b/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts index 48b1077d2..4daab4180 100644 --- a/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts +++ b/src/generated/forge-mcp/registrarSandbox/registrations/tools.ts @@ -7,12 +7,10 @@ import { registrar$$api$$sandbox_api$$response$$common$$failure, registrar$$api$$sandbox_messages, } from "../outputs.js"; -import { registrar$$api$$sandbox_identifier } from "../schemas.js"; import { registrar$$api$$sandbox_cursor_result_info, registrar$$api$$sandbox_domain_check_response, registrar$$api$$sandbox_domain_check_result, - registrar$$api$$sandbox_domain_name, registrar$$api$$sandbox_domain_search_response, registrar$$api$$sandbox_domain_search_result, registrar$$api$$sandbox_pricing_base, @@ -27,7 +25,6 @@ import { } from "./outputs.js"; import { registrar$$api$$sandbox_domain_check_request, - registrar$$api$$sandbox_domain_name as registrar$$api$$sandbox_domain_name$, registrar$$api$$sandbox_registration_contact, registrar$$api$$sandbox_registration_contact_address, registrar$$api$$sandbox_registration_contact_postal_info, @@ -43,7 +40,7 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_registrations_check", title: "Check domain availability", - description: "Performs real-time, authoritative availability checks directly against domain\nregistries. Use this endpoint to verify a domain is available before attempting\nregistration via `POST /registrations`.\n\n**Important:** Unlike the Search endpoint, these results are authoritative and\nreflect current registry status. Always check availability immediately before\nregistration as domain status can change rapidly.\n\n**Note:** This endpoint uses POST to accept a list of domains in the request\nbody. It is a read-only operation — it does not create, modify, or reserve\nany domains.\n\n### Extension support\n\nOnly domains on extensions supported for programmatic registration by this API\ncan be registered. If you check a domain on an unsupported extension, the response\nwill include `registrable: false` with a `reason` field explaining why:\n\n- `extension_not_supported_via_api` — Cloudflare Registrar supports this extension\n in the dashboard, but it is not yet available for programmatic registration via\n this API. Register via `https://dash.cloudflare.com/{account_id}/domains/registrations` instead.\n- `extension_not_supported` — This extension is not supported by Cloudflare\n Registrar.\n- `extension_disallows_registration` — The extension's registry has temporarily\n or permanently frozen new registrations. No registrar can register domains on\n this extension at this time.\n- `domain_premium` — The domain is premium priced. Premium registration is not\n currently supported by this API.\n- `domain_unavailable` — The domain is already registered, reserved, or otherwise\n not available for registration on a supported extension.\n\nThe `reason` field is only present when `registrable` is `false`.\n\n### Behavior\n- Maximum 20 domains per request\n- Pricing is only returned for domains where `registrable: true`\n- Results are not cached; each request queries the registry\n\n### Workflow\n1. Call this endpoint with domains the user wants to register.\n2. For each domain where `registrable: true`, present pricing to the user.\n3. If `tier: premium`, note that premium registration is not currently\n supported by this API and do not proceed to `POST /registrations`.\n4. Proceed to `POST /registrations` only for supported non-premium domains.", + description: "Performs real-time, authoritative availability checks directly against domain\nregistries. Use this endpoint to verify a domain is available before attempting\nregistration via `POST /registrations`.\n\n**Important:** Unlike the Search endpoint, these results are authoritative and\nreflect current registry status. Always check availability immediately before\nregistration as domain status can change rapidly.\n\n**Note:** This endpoint uses POST to accept a list of domains in the request\nbody. It is a read-only operation — it does not create, modify, or reserve\nany domains.\n\n### Extension support\n\nOnly domains on extensions supported for programmatic registration by this API\ncan be registered. If you check a domain on an unsupported extension, the response\nwill include `registrable: false` with a `reason` field explaining why:\n\n- `extension_not_supported_via_api` — Cloudflare Registrar supports this extension\n in the dashboard, but it is not yet available for programmatic registration via\n this API. Register via `https://dash.cloudflare.com/{account_id}/domains/registrations` instead.\n- `extension_not_supported` — This extension is not supported by Cloudflare\n Registrar.\n- `extension_disallows_registration` — The extension's registry has temporarily\n or permanently frozen new registrations. No registrar can register domains on\n this extension at this time.\n- `domain_premium` — The domain is premium priced. Premium registration is not\n currently supported by this API.\n- `domain_unavailable` — The domain is already registered, reserved, or otherwise\n not available for registration on a supported extension.\n\nThe `reason` field is only present when `registrable` is `false`.\n\n### Behavior\n- Maximum 20 domains per request\n- Pricing is only returned for domains where `registrable: true`\n- Results are not cached; each request queries the registry\n\n### Workflow\n1. Call this endpoint with domains the user wants to register.\n2. For each domain where `registrable: true`, present pricing to the user.\n3. If `tier: premium`, note that premium registration is not currently\n supported by this API and do not proceed to `POST /registrations`.\n4. Proceed to `POST /registrations` only for supported non-premium domains.\n\nPOST /accounts/{account_id}/registrar-sandbox/domain-check", inputSchema: { type: "object", properties: { @@ -52,10 +49,11 @@ export const tools: readonly Tool[] = [ "description": "List of fully qualified domain names (FQDNs) to check. Each domain must include the extension (e.g., \"example.com\", not \"example\")." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" } }, "required": [ @@ -68,9 +66,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "registrar-api-sandbox_domain_check_request": registrar$$api$$sandbox_domain_check_request, - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, }, }, outputSchema: { @@ -127,7 +125,7 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_registrations_create", title: "Create Registration", - description: "Starts a domain registration workflow.\n\n### Prerequisites\n- The account must not already be at the maximum supported domain limit.\n A single account may own up to 500 domains in total across registrations\n created through either the dashboard or this API.\n- The domain must be on a supported extension for programmatic registration.\n- Use `POST /domain-check` immediately before calling this endpoint to confirm\n real-time availability and pricing.\n\n### Defaults\n- `years`: defaults to the extension's minimum registration period (1 year for\n most extensions, but varies — for example, `.ai` (if supported) requires a minimum of 2 years).\n- `auto_renew`: defaults to `false`. Setting it to `true` is an explicit\n opt-in authorizing Cloudflare to charge the account's default payment\n method up to 30 days before domain expiry to renew the registration.\n Renewal pricing may change over time based on registry pricing.\n- `privacy_mode`: defaults to `redaction`.\n\n### Premium domains\nPremium domain registration is not currently supported by this API.\nIf `POST /domain-check` returns `tier: premium`, do not call this\nendpoint for that domain.\n\n### Response behavior\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the registration completes. Most registrations finish\nwithin this window and return `201 Created` with a completed workflow status.\n\nIf the registration is still processing after this synchronous wait window,\nthe server returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.", + description: "Starts a domain registration workflow.\n\n### Prerequisites\n- The account must not already be at the maximum supported domain limit.\n A single account may own up to 500 domains in total across registrations\n created through either the dashboard or this API.\n- The domain must be on a supported extension for programmatic registration.\n- Use `POST /domain-check` immediately before calling this endpoint to confirm\n real-time availability and pricing.\n\n### Defaults\n- `years`: defaults to the extension's minimum registration period (1 year for\n most extensions, but varies — for example, `.ai` (if supported) requires a minimum of 2 years).\n- `auto_renew`: defaults to `false`. Setting it to `true` is an explicit\n opt-in authorizing Cloudflare to charge the account's default payment\n method up to 30 days before domain expiry to renew the registration.\n Renewal pricing may change over time based on registry pricing.\n- `privacy_mode`: defaults to `redaction`.\n\n### Premium domains\nPremium domain registration is not currently supported by this API.\nIf `POST /domain-check` returns `tier: premium`, do not call this\nendpoint for that domain.\n\n### Response behavior\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the registration completes. Most registrations finish\nwithin this window and return `201 Created` with a completed workflow status.\n\nIf the registration is still processing after this synchronous wait window,\nthe server returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.\n\nPOST /accounts/{account_id}/registrar-sandbox/registrations", inputSchema: { type: "object", properties: { @@ -135,19 +133,21 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/registrar-api-sandbox_registration_create_request" }, "headers": { + "additionalProperties": false, "properties": { "Prefer": { - "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.\n", + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n\nThe header may be combined with other preferences using standard\ncomma-separated syntax.", "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" } }, "required": [ @@ -160,9 +160,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, "registrar-api-sandbox_registration_contact": registrar$$api$$sandbox_registration_contact, "registrar-api-sandbox_registration_contact_address": registrar$$api$$sandbox_registration_contact_address, "registrar-api-sandbox_registration_contact_postal_info": registrar$$api$$sandbox_registration_contact_postal_info, @@ -223,19 +222,20 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_registrations_get", title: "Get Registration", - description: "Returns the current state of a domain registration.\n\nThis is the canonical read endpoint for a domain you own. It returns\nthe full registration resource including current settings and expiration.\nWhen the registration resource is ready, both `created_at` and `expires_at`\nare present in the response.", + description: "Returns the current state of a domain registration.\n\nThis is the canonical read endpoint for a domain you own. It returns\nthe full registration resource including current settings and expiration.\nWhen the registration resource is ready, both `created_at` and `expires_at`\nare present in the response.\n\nGET /accounts/{account_id}/registrar-sandbox/registrations/{domain_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID." + "description": "Cloudflare account ID.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name", - "description": "Domain name to retrieve." + "description": "Domain name to retrieve.", + "type": "string" } }, "required": [ @@ -248,16 +248,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_registration-response-single", $defs: { "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, - "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name, "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, "registrar-api-sandbox_registration": registrar$$api$$sandbox_registration, "registrar-api-sandbox_registration-response-single": registrar$$api$$sandbox_registration$$response$$single, @@ -284,7 +280,6 @@ export const tools: readonly Tool[] = [ $defs: { "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, - "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name, "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, "registrar-api-sandbox_registration": registrar$$api$$sandbox_registration, "registrar-api-sandbox_registration-response-single": registrar$$api$$sandbox_registration$$response$$single, @@ -297,19 +292,20 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_registrations_getRegistrationStatus", title: "Get Registration Status", - description: "Returns the current status of a domain registration workflow.\n\nUse this endpoint to poll for completion when the POST response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\n**Terminal states:** `succeeded` and `failed` are terminal and always\nhave `completed: true`.\n\n**Non-terminal states:**\n- `action_required` has `completed: false` and will not resolve on its\n own. The workflow is paused pending user intervention.\n- `blocked` has `completed: false` and indicates the workflow is waiting\n on a third party such as the extension registry or losing registrar.\n Continue polling while informing the user of the delay.\n\nUse increasing backoff between polls. When `state: blocked`, use a\nlonger polling interval and do not poll indefinitely.\n\nA naive polling loop that only checks `completed` can run indefinitely\nwhen `state: action_required`. Break explicitly on `action_required`:\n\n```js\nlet status;\ndo {\n await new Promise(r => setTimeout(r, 2000));\n status = await cloudflare.request({\n method: 'GET',\n path: reg.result.links.self,\n });\n} while (\n !status.result.completed &&\n status.result.state !== 'action_required'\n);\n\nif (status.result.state === 'action_required') {\n // Surface context.action and context.confirmation_sent_to to the user.\n // Do not re-submit the registration request.\n}\n```", + description: "Returns the current status of a domain registration workflow.\n\nUse this endpoint to poll for completion when the POST response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\n**Terminal states:** `succeeded` and `failed` are terminal and always\nhave `completed: true`.\n\n**Non-terminal states:**\n- `action_required` has `completed: false` and will not resolve on its\n own. The workflow is paused pending user intervention.\n- `blocked` has `completed: false` and indicates the workflow is waiting\n on a third party such as the extension registry or losing registrar.\n Continue polling while informing the user of the delay.\n\nUse increasing backoff between polls. When `state: blocked`, use a\nlonger polling interval and do not poll indefinitely.\n\nA naive polling loop that only checks `completed` can run indefinitely\nwhen `state: action_required`. Break explicitly on `action_required`:\n\n```js\nlet status;\ndo {\n await new Promise(r => setTimeout(r, 2000));\n status = await cloudflare.request({\n method: 'GET',\n path: reg.result.links.self,\n });\n} while (\n !status.result.completed &&\n status.result.state !== 'action_required'\n);\n\nif (status.result.state === 'action_required') {\n // Surface context.action and context.confirmation_sent_to to the user.\n // Do not re-submit the registration request.\n}\n```\n\nGET /accounts/{account_id}/registrar-sandbox/registrations/{domain_name}/registration-status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.", + "type": "string" } }, "required": [ @@ -322,10 +318,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_workflow-status-response-single", @@ -373,19 +366,20 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_registrations_getUpdateStatus", title: "Get Update Status", - description: "Returns the current status of a domain update workflow.\n\nUse this endpoint to poll for completion when the PATCH response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\nUse increasing backoff between polls. When the workflow remains blocked\non a third party, use a longer polling interval and do not poll indefinitely.", + description: "Returns the current status of a domain update workflow.\n\nUse this endpoint to poll for completion when the PATCH response\nreturned `202 Accepted`. The URL is provided in the `links.self`\nfield of the workflow status response.\n\nPoll this endpoint until the workflow reaches a terminal state or a\nstate that requires user attention.\n\nUse increasing backoff between polls. When the workflow remains blocked\non a third party, use a longer polling interval and do not poll indefinitely.\n\nGET /accounts/{account_id}/registrar-sandbox/registrations/{domain_name}/update-status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID." + "description": "Cloudflare account ID.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name", - "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.\n" + "description": "Provides a fully qualified domain name (FQDN), including the extension\n(e.g., `example.com`, `mybrand.app`). The domain name uniquely identifies\na registration. Cloudflare permits only one registration per domain, making\nthe domain name a natural idempotency key for registration requests.", + "type": "string" } }, "required": [ @@ -398,10 +392,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_workflow-status-response-single", @@ -449,15 +440,16 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_registrations_list", title: "List Registrations", - description: "Returns a paginated list of domain registrations owned by the account.\n\nThis endpoint uses cursor-based pagination. Results are ordered by registration\ndate by default. To fetch the next page, pass the `cursor` value from the\n`result_info` object in the response as the `cursor` query parameter in\nyour next request. An empty `cursor` string indicates there are no more\npages.", + description: "Returns a paginated list of domain registrations owned by the account.\n\nThis endpoint uses cursor-based pagination. Results are ordered by registration\ndate by default. To fetch the next page, pass the `cursor` value from the\n`result_info` object in the response as the `cursor` query parameter in\nyour next request. An empty `cursor` string indicates there are no more\npages.\n\nGET /accounts/{account_id}/registrar-sandbox/registrations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID." + "description": "Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -466,14 +458,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { - "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.\n", + "description": "Opaque token from a previous response's `result_info.cursor`.\nPass this value to fetch the next page of results. Omit (or\npass an empty string) for the first page.", "type": "string" }, "direction": { "default": "asc", - "description": "Sort direction for results. Defaults to ascending order.\n", + "description": "Sort direction for results. Defaults to ascending order.", "enum": [ "asc", "desc" @@ -502,16 +495,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_registration-response-collection", $defs: { "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, "registrar-api-sandbox_cursor_result_info": registrar$$api$$sandbox_cursor_result_info, - "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name, "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, "registrar-api-sandbox_registration": registrar$$api$$sandbox_registration, "registrar-api-sandbox_registration-response-collection": registrar$$api$$sandbox_registration$$response$$collection, @@ -539,7 +529,6 @@ export const tools: readonly Tool[] = [ "registrar-api-sandbox_api-response-common": registrar$$api$$sandbox_api$$response$$common, "registrar-api-sandbox_api-response-common-failure": registrar$$api$$sandbox_api$$response$$common$$failure, "registrar-api-sandbox_cursor_result_info": registrar$$api$$sandbox_cursor_result_info, - "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name, "registrar-api-sandbox_messages": registrar$$api$$sandbox_messages, "registrar-api-sandbox_registration": registrar$$api$$sandbox_registration, "registrar-api-sandbox_registration-response-collection": registrar$$api$$sandbox_registration$$response$$collection, @@ -558,15 +547,16 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_registrations_search", title: "Search for available domains", - description: "Searches for domain name suggestions based on a keyword, phrase, or partial domain name.\nReturns a list of potentially available domains with pricing information.\n\n**Important:** Results are non-authoritative and based on cached data. Always use the\n`/domain-check` endpoint to verify real-time availability before attempting registration.\n\nSuggestions are scoped to extensions supported for programmatic registration\nvia this API (`POST /registrations`). Domains on unsupported extensions will\nnot appear in results, even if they are available at the registry level.\n\n### Use cases\n- Brand name discovery (e.g., \"acme corp\" → acmecorp.com, acmecorp.dev)\n- Keyword-based suggestions (e.g., \"coffee shop\" → coffeeshop.com, mycoffeeshop.net)\n- Alternative extension discovery (e.g., \"example.com\" → example.com, example.app, example.xyz)\n\n### Workflow\n1. Call this endpoint with a keyword or domain name.\n2. Present suggestions to the user.\n3. Call `/domain-check` with the user's chosen domains to confirm real-time availability and pricing.\n4. Proceed to `POST /registrations` only for supported non-premium domains\n where the Check response returns `registrable: true`.\n\n**Note:** Searching with just a domain extension (e.g., \"com\" or \".app\") is not supported. Provide a keyword or domain name.", + description: "Searches for domain name suggestions based on a keyword, phrase, or partial domain name.\nReturns a list of potentially available domains with pricing information.\n\n**Important:** Results are non-authoritative and based on cached data. Always use the\n`/domain-check` endpoint to verify real-time availability before attempting registration.\n\nSuggestions are scoped to extensions supported for programmatic registration\nvia this API (`POST /registrations`). Domains on unsupported extensions will\nnot appear in results, even if they are available at the registry level.\n\n### Use cases\n- Brand name discovery (e.g., \"acme corp\" → acmecorp.com, acmecorp.dev)\n- Keyword-based suggestions (e.g., \"coffee shop\" → coffeeshop.com, mycoffeeshop.net)\n- Alternative extension discovery (e.g., \"example.com\" → example.com, example.app, example.xyz)\n\n### Workflow\n1. Call this endpoint with a keyword or domain name.\n2. Present suggestions to the user.\n3. Call `/domain-check` with the user's chosen domains to confirm real-time availability and pricing.\n4. Proceed to `POST /registrations` only for supported non-premium domains\n where the Check response returns `registrable: true`.\n\n**Note:** Searching with just a domain extension (e.g., \"com\" or \".app\") is not supported. Provide a keyword or domain name.\n\nGET /accounts/{account_id}/registrar-sandbox/domain-search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID. Required for all Registrar API operations." + "description": "Cloudflare account ID. Required for all Registrar API operations.", + "type": "string" } }, "required": [ @@ -575,9 +565,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "extensions": { - "description": "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.\n", + "description": "Limits results to specific domain extensions from the supported set. If not specified,\nreturns results across all supported extensions. Extensions not in the supported\nset are silently ignored.", "items": { "type": "string" }, @@ -586,11 +577,11 @@ export const tools: readonly Tool[] = [ }, "limit": { "default": 20, - "description": "Maximum number of domain suggestions to return. Defaults to 20 if not specified.\n", + "description": "Maximum number of domain suggestions to return. Defaults to 20 if not specified.", "type": "integer" }, "q": { - "description": "The search term to find domain suggestions. Accepts keywords, phrases, or full domain names.\n- Phrases: \"coffee shop\" returns coffeeshop.com, mycoffeeshop.net, etc.\n- Domain names: \"example.com\" returns example.com and variations across extensions\n", + "description": "The search term to find domain suggestions. Accepts keywords, phrases, or full domain names.\n- Phrases: \"coffee shop\" returns coffeeshop.com, mycoffeeshop.net, etc.\n- Domain names: \"example.com\" returns example.com and variations across extensions", "type": "string" } }, @@ -604,9 +595,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/registrar-api-sandbox_domain_search_response", @@ -659,7 +648,7 @@ export const tools: readonly Tool[] = [ { name: "registrarSandbox_registrations_update", title: "Update Registration", - description: "Updates an existing domain registration.\n\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the update completes. Most updates finish within this\nwindow and return `200 OK` with a completed workflow status.\n\nIf the update is still processing after this synchronous wait window, the\nserver returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.\n\nThis endpoint currently supports updating `auto_renew` only.", + description: "Updates an existing domain registration.\n\nBy default, the server holds the connection for a bounded, server-defined\namount of time while the update completes. Most updates finish within this\nwindow and return `200 OK` with a completed workflow status.\n\nIf the update is still processing after this synchronous wait window, the\nserver returns `202 Accepted`. Poll the URL in `links.self` to track progress.\n\nTo skip the wait and receive an immediate `202`, send `Prefer: respond-async`.\n\nThis endpoint currently supports updating `auto_renew` only.\n\nPATCH /accounts/{account_id}/registrar-sandbox/registrations/{domain_name}", inputSchema: { type: "object", properties: { @@ -667,9 +656,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/registrar-api-sandbox_registration_update_request" }, "headers": { + "additionalProperties": false, "properties": { "Prefer": { - "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).\n", + "description": "Set to `respond-async` to receive an immediate `202 Accepted` without\nwaiting for the operation to complete (RFC 7240).", "enum": [ "respond-async" ], @@ -679,14 +669,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/registrar-api-sandbox_identifier", - "description": "Cloudflare account ID." + "description": "Cloudflare account ID.", + "type": "string" }, "domain_name": { - "$ref": "#/$defs/registrar-api-sandbox_domain_name", - "description": "Domain name to update." + "description": "Domain name to update.", + "type": "string" } }, "required": [ @@ -700,9 +691,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "registrar-api-sandbox_domain_name": registrar$$api$$sandbox_domain_name$, - "registrar-api-sandbox_identifier": registrar$$api$$sandbox_identifier, "registrar-api-sandbox_registration_update_request": registrar$$api$$sandbox_registration_update_request, }, }, diff --git a/src/generated/forge-mcp/registrarSandbox/schemas.ts b/src/generated/forge-mcp/registrarSandbox/schemas.ts deleted file mode 100644 index 9999ff4ce..000000000 --- a/src/generated/forge-mcp/registrarSandbox/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `registrar-api-sandbox_identifier`. - */ -export const registrar$$api$$sandbox_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/reporting/industry/tools.ts b/src/generated/forge-mcp/reporting/industry/tools.ts index f4e43a359..5b51dfb03 100644 --- a/src/generated/forge-mcp/reporting/industry/tools.ts +++ b/src/generated/forge-mcp/reporting/industry/tools.ts @@ -17,11 +17,12 @@ export const tools: readonly Tool[] = [ { name: "reporting_industry_get", title: "Get an account industry", - description: "Gets the industry classification for an account.", + description: "Gets the industry classification for an account.\n\nGET /accounts/{account_id}/reporting/industry", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare public account ID (32-character hexadecimal string)", @@ -37,6 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -137,7 +139,7 @@ export const tools: readonly Tool[] = [ { name: "reporting_industry_update", title: "Update an account industry", - description: "Updates the industry classification for an account.", + description: "Updates the industry classification for an account.\n\nPATCH /accounts/{account_id}/reporting/industry", inputSchema: { type: "object", properties: { @@ -145,6 +147,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/reports_PatchAccountIndustryBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare public account ID (32-character hexadecimal string)", @@ -160,6 +163,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "reports_PatchAccountIndustryBody": reports_PatchAccountIndustryBody, }, diff --git a/src/generated/forge-mcp/reporting/policies/tools.ts b/src/generated/forge-mcp/reporting/policies/tools.ts index c4b159818..a9782da10 100644 --- a/src/generated/forge-mcp/reporting/policies/tools.ts +++ b/src/generated/forge-mcp/reporting/policies/tools.ts @@ -19,11 +19,12 @@ export const tools: readonly Tool[] = [ { name: "reporting_policies_get", title: "Get a reporting policy", - description: "Gets a reporting policy by identifier.", + description: "Gets a reporting policy by identifier.\n\nGET /accounts/{account_id}/reporting/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare public account ID (32-character hexadecimal string)", @@ -45,6 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/reports_PolicySingleResponse", @@ -91,11 +93,12 @@ export const tools: readonly Tool[] = [ { name: "reporting_policies_list", title: "List reporting policies", - description: "Lists all reporting policies for an account.", + description: "Lists all reporting policies for an account.\n\nGET /accounts/{account_id}/reporting/policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare public account ID (32-character hexadecimal string)", @@ -111,6 +114,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/reports_PoliciesListResponse", diff --git a/src/generated/forge-mcp/reporting/reports/tools.ts b/src/generated/forge-mcp/reporting/reports/tools.ts index 13703e99f..178366877 100644 --- a/src/generated/forge-mcp/reporting/reports/tools.ts +++ b/src/generated/forge-mcp/reporting/reports/tools.ts @@ -22,11 +22,12 @@ export const tools: readonly Tool[] = [ { name: "reporting_reports_get", title: "Get a generated report", - description: "Gets a generated report by identifier.", + description: "Gets a generated report by identifier.\n\nGET /accounts/{account_id}/reporting/reports/{report_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare public account ID (32-character hexadecimal string)", @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/reports_ReportSingleResponse", @@ -100,11 +102,12 @@ export const tools: readonly Tool[] = [ { name: "reporting_reports_list", title: "List generated reports", - description: "Lists all generated reports for an account.", + description: "Lists all generated reports for an account.\n\nGET /accounts/{account_id}/reporting/reports", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare public account ID (32-character hexadecimal string)", @@ -120,6 +123,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/reports_ReportsListResponse", diff --git a/src/generated/forge-mcp/requestTracers/traces/schemas.ts b/src/generated/forge-mcp/requestTracers/traces/schemas.ts deleted file mode 100644 index 657a3a88c..000000000 --- a/src/generated/forge-mcp/requestTracers/traces/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `request-tracer_account_identifier`. - */ -export const request$$tracer_account_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/requestTracers/traces/tools.ts b/src/generated/forge-mcp/requestTracers/traces/tools.ts index f960fc7a8..251010fd1 100644 --- a/src/generated/forge-mcp/requestTracers/traces/tools.ts +++ b/src/generated/forge-mcp/requestTracers/traces/tools.ts @@ -8,7 +8,6 @@ import { request$$tracer_messages, request$$tracer_trace, } from "./outputs.js"; -import { request$$tracer_account_identifier } from "./schemas.js"; /** * The tools of `requestTracers.traces`. @@ -17,7 +16,7 @@ export const tools: readonly Tool[] = [ { name: "requestTracers_traces_create", title: "Request Trace", - description: "Traces a simulated HTTP request through Cloudflare's edge to analyze how rules, settings, and configurations would process the request. Useful for debugging firewall rules, page rules, and other request transformations without sending actual traffic. Supports custom headers, cookies, body content, and geolocation context.", + description: "Traces a simulated HTTP request through Cloudflare's edge to analyze how rules, settings, and configurations would process the request. Useful for debugging firewall rules, page rules, and other request transformations without sending actual traffic. Supports custom headers, cookies, body content, and geolocation context.\n\nPOST /accounts/{account_id}/request-tracer/trace", inputSchema: { type: "object", properties: { @@ -132,10 +131,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/request-tracer_account_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -148,9 +148,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "request-tracer_account_identifier": request$$tracer_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts b/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts index b68eeff42..42b0d3dac 100644 --- a/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts +++ b/src/generated/forge-mcp/resourceSharing/excludedRecipients/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `resource-sharing_excluded_recipient_id` in responses. - */ -export const resource$$sharing_excluded_recipient_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `resource-sharing_share_excluded_recipient_object` in * responses. @@ -17,16 +10,18 @@ export const resource$$sharing_excluded_recipient_id: JsonSchema = { export const resource$$sharing_share_excluded_recipient_object: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id" + "type": "string" }, "created": { - "$ref": "#/$defs/resource-sharing_created" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/resource-sharing_excluded_recipient_id" + "type": "string" }, "modified": { - "$ref": "#/$defs/resource-sharing_modified" + "format": "date-time", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/resourceSharing/excludedRecipients/schemas.ts b/src/generated/forge-mcp/resourceSharing/excludedRecipients/schemas.ts index 4a86f4c13..0a8087303 100644 --- a/src/generated/forge-mcp/resourceSharing/excludedRecipients/schemas.ts +++ b/src/generated/forge-mcp/resourceSharing/excludedRecipients/schemas.ts @@ -9,8 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const resource$$sharing_create_share_excluded_recipient_request: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "The account to exclude from the organization-targeted share." + "description": "The account to exclude from the organization-targeted share.", + "type": "string" } }, "required": [ @@ -19,14 +19,6 @@ export const resource$$sharing_create_share_excluded_recipient_request: JsonSche "type": "object" }; -/** - * The schema of `resource-sharing_excluded_recipient_id`. - */ -export const resource$$sharing_excluded_recipient_id: JsonSchema = { - "description": "Share Excluded Recipient identifier tag.", - "type": "string" -}; - /** * The schema of `resource-sharing_update_share_excluded_recipients_request`. */ diff --git a/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts b/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts index d58c177fd..74fccc12f 100644 --- a/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/excludedRecipients/tools.ts @@ -3,23 +3,15 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource$$sharing_account_id, resource$$sharing_api$$response$$collection, resource$$sharing_api$$response$$collection$$info, resource$$sharing_api$$response$$common, resource$$sharing_api$$response$$common$$failure, - resource$$sharing_created, - resource$$sharing_modified, resource$$sharing_result_info, resource$$sharing_v4error, resource$$sharing_v4errors, } from "../../outputs.js"; import { - resource$$sharing_account_id as resource$$sharing_account_id$, - resource$$sharing_share_id, -} from "../../schemas.js"; -import { - resource$$sharing_excluded_recipient_id, resource$$sharing_share_excluded_recipient_object, resource$$sharing_share_excluded_recipient_response_collection, resource$$sharing_share_excluded_recipient_response_collection_result, @@ -28,7 +20,6 @@ import { } from "./outputs.js"; import { resource$$sharing_create_share_excluded_recipient_request, - resource$$sharing_excluded_recipient_id as resource$$sharing_excluded_recipient_id$, resource$$sharing_update_share_excluded_recipients_request, } from "./schemas.js"; @@ -39,7 +30,7 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_excludedRecipients_create", title: "Trigger an account exclusion from a share", - description: "Excludes a single account from an organization-targeted share. The share continues to target the entire organization, but the excluded account is skipped during reconciliation.", + description: "Excludes a single account from an organization-targeted share. The share continues to target the entire organization, but the excluded account is skipped during reconciliation.\n\nPOST /accounts/{account_id}/shares/{share_id}/excluded-recipients", inputSchema: { type: "object", properties: { @@ -47,14 +38,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-sharing_create_share_excluded_recipient_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -68,20 +60,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, "resource-sharing_create_share_excluded_recipient_request": resource$$sharing_create_share_excluded_recipient_request, - "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_excluded_recipient_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, - "resource-sharing_modified": resource$$sharing_modified, "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, @@ -120,12 +107,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, - "resource-sharing_modified": resource$$sharing_modified, "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, @@ -141,23 +124,24 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_excludedRecipients_delete", title: "Trigger an account un-exclusion from a share", - description: "Removes a single account from a share's excluded-recipient list. The account becomes eligible to receive the share again on the next reconciliation cycle.", + description: "Removes a single account from a share's excluded-recipient list. The account becomes eligible to receive the share again on the next reconciliation cycle.\n\nDELETE /accounts/{account_id}/shares/{share_id}/excluded-recipients/{excluded_recipient_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "excluded_recipient_id": { - "$ref": "#/$defs/resource-sharing_excluded_recipient_id", - "description": "Share Excluded Recipient identifier tag." + "description": "Share Excluded Recipient identifier tag.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -171,20 +155,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id$, - "resource-sharing_share_id": resource$$sharing_share_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_excluded_recipient_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, - "resource-sharing_modified": resource$$sharing_modified, "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, @@ -223,12 +199,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, - "resource-sharing_modified": resource$$sharing_modified, "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, @@ -243,23 +215,24 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_excludedRecipients_get", title: "Get share excluded recipient by ID", - description: "Gets a single excluded recipient of a share by its identifier tag.", + description: "Gets a single excluded recipient of a share by its identifier tag.\n\nGET /accounts/{account_id}/shares/{share_id}/excluded-recipients/{excluded_recipient_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "excluded_recipient_id": { - "$ref": "#/$defs/resource-sharing_excluded_recipient_id", - "description": "Share Excluded Recipient identifier tag." + "description": "Share Excluded Recipient identifier tag.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -273,20 +246,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id$, - "resource-sharing_share_id": resource$$sharing_share_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_excluded_recipient_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, - "resource-sharing_modified": resource$$sharing_modified, "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, @@ -325,12 +290,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, - "resource-sharing_modified": resource$$sharing_modified, "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, "resource-sharing_share_excluded_recipient_response_single": resource$$sharing_share_excluded_recipient_response_single, "resource-sharing_share_excluded_recipient_response_single_result": resource$$sharing_share_excluded_recipient_response_single_result, @@ -345,19 +306,20 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_excludedRecipients_list", title: "List share excluded recipients by share ID", - description: "Lists the accounts excluded from an organization-targeted share. Only valid for shares with `target_type=organization`.", + description: "Lists the accounts excluded from an organization-targeted share. Only valid for shares with `target_type=organization`.\n\nGET /accounts/{account_id}/shares/{share_id}/excluded-recipients", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -367,6 +329,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -385,21 +348,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_share_id": resource$$sharing_share_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_excluded_recipient_response_collection", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, - "resource-sharing_modified": resource$$sharing_modified, "resource-sharing_result_info": resource$$sharing_result_info, "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, "resource-sharing_share_excluded_recipient_response_collection": resource$$sharing_share_excluded_recipient_response_collection, @@ -439,14 +395,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_excluded_recipient_id": resource$$sharing_excluded_recipient_id, - "resource-sharing_modified": resource$$sharing_modified, "resource-sharing_result_info": resource$$sharing_result_info, "resource-sharing_share_excluded_recipient_object": resource$$sharing_share_excluded_recipient_object, "resource-sharing_share_excluded_recipient_response_collection": resource$$sharing_share_excluded_recipient_response_collection, @@ -466,7 +418,7 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_excludedRecipients_update", title: "Trigger excluded-account reconciliation on a share", - description: "Reconciles a share's excluded recipients to match the given list. Only valid for shares with `target_type=organization`.", + description: "Reconciles a share's excluded recipients to match the given list. Only valid for shares with `target_type=organization`.\n\nPUT /accounts/{account_id}/shares/{share_id}/excluded-recipients", inputSchema: { type: "object", properties: { @@ -474,14 +426,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-sharing_update_share_excluded_recipients_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -495,10 +448,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, "resource-sharing_create_share_excluded_recipient_request": resource$$sharing_create_share_excluded_recipient_request, - "resource-sharing_share_id": resource$$sharing_share_id, "resource-sharing_update_share_excluded_recipients_request": resource$$sharing_update_share_excluded_recipients_request, }, }, diff --git a/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts b/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts index 34418a004..cf5f41892 100644 --- a/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts +++ b/src/generated/forge-mcp/resourceSharing/recipients/outputs.ts @@ -3,60 +3,33 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `resource-sharing_recipient_association_status` in responses. - */ -export const resource$$sharing_recipient_association_status: JsonSchema = { - "enum": [ - "associating", - "associated", - "disassociating", - "disassociated" - ], - "type": "string" -}; - -/** - * The schema of `resource-sharing_recipient_id` in responses. - */ -export const resource$$sharing_recipient_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `resource-sharing_recipient_resource_error` in responses. - */ -export const resource$$sharing_recipient_resource_error: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `resource-sharing_recipient_resource_error_terminal` in - * responses. - */ -export const resource$$sharing_recipient_resource_error_terminal: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `resource-sharing_share_recipient_object` in responses. */ export const resource$$sharing_share_recipient_object: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id" + "type": "string" }, "association_status": { - "$ref": "#/$defs/resource-sharing_recipient_association_status" + "enum": [ + "associating", + "associated", + "disassociating", + "disassociated" + ], + "type": "string" }, "created": { - "$ref": "#/$defs/resource-sharing_created" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/resource-sharing_recipient_id" + "type": "string" }, "modified": { - "$ref": "#/$defs/resource-sharing_modified" + "format": "date-time", + "type": "string" }, "resources": { "items": { @@ -82,16 +55,16 @@ export const resource$$sharing_share_recipient_object: JsonSchema = { export const resource$$sharing_share_recipient_resource_object: JsonSchema = { "properties": { "error": { - "$ref": "#/$defs/resource-sharing_recipient_resource_error" + "type": "string" }, "resource_id": { - "$ref": "#/$defs/resource-sharing_resource_resource_id" + "type": "string" }, "resource_version": { - "$ref": "#/$defs/resource-sharing_resource_version" + "type": "integer" }, "terminal": { - "$ref": "#/$defs/resource-sharing_recipient_resource_error_terminal" + "type": "boolean" } }, "required": [ diff --git a/src/generated/forge-mcp/resourceSharing/recipients/schemas.ts b/src/generated/forge-mcp/resourceSharing/recipients/schemas.ts index 904bb45d4..b55ee22be 100644 --- a/src/generated/forge-mcp/resourceSharing/recipients/schemas.ts +++ b/src/generated/forge-mcp/resourceSharing/recipients/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `resource-sharing_recipient_id`. - */ -export const resource$$sharing_recipient_id: JsonSchema = { - "description": "Share Recipient identifier tag.", - "type": "string" -}; - /** * The schema of `resource-sharing_update_share_recipients_request`. */ diff --git a/src/generated/forge-mcp/resourceSharing/recipients/tools.ts b/src/generated/forge-mcp/resourceSharing/recipients/tools.ts index e4a71a682..3e9a56c6f 100644 --- a/src/generated/forge-mcp/resourceSharing/recipients/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/recipients/tools.ts @@ -3,30 +3,16 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource$$sharing_account_id, resource$$sharing_api$$response$$collection, resource$$sharing_api$$response$$collection$$info, resource$$sharing_api$$response$$common, resource$$sharing_api$$response$$common$$failure, - resource$$sharing_created, - resource$$sharing_modified, - resource$$sharing_resource_resource_id, - resource$$sharing_resource_version, resource$$sharing_result_info, resource$$sharing_v4error, resource$$sharing_v4errors, } from "../../outputs.js"; -import { - resource$$sharing_account_id as resource$$sharing_account_id$, - resource$$sharing_organization_id, - resource$$sharing_share_id, -} from "../../schemas.js"; import { resource$$sharing_create_share_recipient_request } from "../schemas.js"; import { - resource$$sharing_recipient_association_status, - resource$$sharing_recipient_id, - resource$$sharing_recipient_resource_error, - resource$$sharing_recipient_resource_error_terminal, resource$$sharing_share_recipient_object, resource$$sharing_share_recipient_resource_object, resource$$sharing_share_recipient_response_collection, @@ -34,10 +20,7 @@ import { resource$$sharing_share_recipient_response_single, resource$$sharing_share_recipient_response_single_result, } from "./outputs.js"; -import { - resource$$sharing_recipient_id as resource$$sharing_recipient_id$, - resource$$sharing_update_share_recipients_request, -} from "./schemas.js"; +import { resource$$sharing_update_share_recipients_request } from "./schemas.js"; /** * The tools of `resourceSharing.recipients`. @@ -46,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_recipients_create", title: "Trigger a recipient addition to a share", - description: "Adds a single recipient to an account-targeted resource share, granting\nthem access to the shared resources. The recipient account must belong\nto the same organization as the share owner.\n\nTo replace the entire recipient list in one call, use\n`PUT /accounts/{account_id}/shares/{share_id}/recipients` instead.", + description: "Adds a single recipient to an account-targeted resource share, granting\nthem access to the shared resources. The recipient account must belong\nto the same organization as the share owner.\n\nTo replace the entire recipient list in one call, use\n`PUT /accounts/{account_id}/shares/{share_id}/recipients` instead.\n\nPOST /accounts/{account_id}/shares/{share_id}/recipients", inputSchema: { type: "object", properties: { @@ -54,14 +37,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-sharing_create_share_recipient_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -75,26 +59,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, "resource-sharing_create_share_recipient_request": resource$$sharing_create_share_recipient_request, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_recipient_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, - "resource-sharing_recipient_id": resource$$sharing_recipient_id, - "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, - "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, @@ -134,17 +107,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, - "resource-sharing_recipient_id": resource$$sharing_recipient_id, - "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, - "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, @@ -161,23 +125,24 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_recipients_delete", title: "Trigger a recipient removal from a share", - description: "Performs a **soft delete**: sets the recipient's\n`desired_association_status` to `disassociated`, which signals the\nbackground reconciliation workflow (Temporal) to remove the shared\nresources from the recipient account. The recipient record remains in\nthe database for audit purposes and is still returned by\n`GET /accounts/{account_id}/shares/{share_id}/recipients` with its\nupdated status.\n\nResource access is not fully removed until the workflow completes and\n`current_association_status` transitions to `disassociated`. The\nrecipient record itself is never physically deleted.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Performs a **soft delete**: sets the recipient's\n`desired_association_status` to `disassociated`, which signals the\nbackground reconciliation workflow (Temporal) to remove the shared\nresources from the recipient account. The recipient record remains in\nthe database for audit purposes and is still returned by\n`GET /accounts/{account_id}/shares/{share_id}/recipients` with its\nupdated status.\n\nResource access is not fully removed until the workflow completes and\n`current_association_status` transitions to `disassociated`. The\nrecipient record itself is never physically deleted.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/shares/{share_id}/recipients/{recipient_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "recipient_id": { - "$ref": "#/$defs/resource-sharing_recipient_id", - "description": "Share Recipient identifier tag." + "description": "Share Recipient identifier tag.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -191,25 +156,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_recipient_id": resource$$sharing_recipient_id$, - "resource-sharing_share_id": resource$$sharing_share_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_recipient_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, - "resource-sharing_recipient_id": resource$$sharing_recipient_id, - "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, - "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, @@ -249,17 +201,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, - "resource-sharing_recipient_id": resource$$sharing_recipient_id, - "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, - "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, @@ -275,23 +218,24 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_recipients_get", title: "Get share recipient by ID", - description: "Get share recipient by ID.", + description: "Get share recipient by ID.\n\nGET /accounts/{account_id}/shares/{share_id}/recipients/{recipient_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "recipient_id": { - "$ref": "#/$defs/resource-sharing_recipient_id", - "description": "Share Recipient identifier tag." + "description": "Share Recipient identifier tag.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -302,6 +246,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_resources": { "description": "Include resources in the response.", @@ -314,25 +259,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_recipient_id": resource$$sharing_recipient_id$, - "resource-sharing_share_id": resource$$sharing_share_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_recipient_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, - "resource-sharing_recipient_id": resource$$sharing_recipient_id, - "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, - "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, @@ -372,17 +304,8 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, - "resource-sharing_recipient_id": resource$$sharing_recipient_id, - "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, - "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, "resource-sharing_share_recipient_response_single": resource$$sharing_share_recipient_response_single, @@ -401,19 +324,20 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_recipients_list", title: "List share recipients by share ID", - description: "List share recipients by share ID. Returns **all** recipients\nregardless of their `association_status` (associating, associated,\ndisassociating, disassociated). Callers that want only \"active\"\nrecipients must filter client-side on the `association_status` field.", + description: "List share recipients by share ID. Returns **all** recipients\nregardless of their `association_status` (associating, associated,\ndisassociating, disassociated). Callers that want only \"active\"\nrecipients must filter client-side on the `association_status` field.\n\nGET /accounts/{account_id}/shares/{share_id}/recipients", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -423,6 +347,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_resources": { "description": "Include resources in the response.", @@ -445,26 +370,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_share_id": resource$$sharing_share_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_recipient_response_collection", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, - "resource-sharing_recipient_id": resource$$sharing_recipient_id, - "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, - "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_result_info": resource$$sharing_result_info, "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, @@ -505,19 +418,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_recipient_association_status": resource$$sharing_recipient_association_status, - "resource-sharing_recipient_id": resource$$sharing_recipient_id, - "resource-sharing_recipient_resource_error": resource$$sharing_recipient_resource_error, - "resource-sharing_recipient_resource_error_terminal": resource$$sharing_recipient_resource_error_terminal, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_result_info": resource$$sharing_result_info, "resource-sharing_share_recipient_object": resource$$sharing_share_recipient_object, "resource-sharing_share_recipient_resource_object": resource$$sharing_share_recipient_resource_object, @@ -539,7 +443,7 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_recipients_update", title: "Trigger recipient reconciliation on a share", - description: "Replaces the full recipient list for an account-targeted share. The\nserver computes the diff between the current and desired recipients:\nnew accounts are added, accounts no longer in the list are marked for\ndisassociation, and unchanged accounts are left as-is.\n\nReturns an error if the share targets an organization\n(`target_type=organization`); org-targeted shares derive their\nrecipients dynamically from org membership and cannot be modified\nthrough this endpoint.", + description: "Replaces the full recipient list for an account-targeted share. The\nserver computes the diff between the current and desired recipients:\nnew accounts are added, accounts no longer in the list are marked for\ndisassociation, and unchanged accounts are left as-is.\n\nReturns an error if the share targets an organization\n(`target_type=organization`); org-targeted shares derive their\nrecipients dynamically from org membership and cannot be modified\nthrough this endpoint.\n\nPUT /accounts/{account_id}/shares/{share_id}/recipients", inputSchema: { type: "object", properties: { @@ -547,14 +451,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-sharing_update_share_recipients_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -568,11 +473,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, "resource-sharing_create_share_recipient_request": resource$$sharing_create_share_recipient_request, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_share_id": resource$$sharing_share_id, "resource-sharing_update_share_recipients_request": resource$$sharing_update_share_recipients_request, }, }, diff --git a/src/generated/forge-mcp/resourceSharing/resources/tools.ts b/src/generated/forge-mcp/resourceSharing/resources/tools.ts index 71da200c7..9a909fbee 100644 --- a/src/generated/forge-mcp/resourceSharing/resources/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/resources/tools.ts @@ -3,33 +3,17 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource$$sharing_account_id, resource$$sharing_api$$response$$collection, resource$$sharing_api$$response$$collection$$info, resource$$sharing_api$$response$$common, resource$$sharing_api$$response$$common$$failure, - resource$$sharing_created, - resource$$sharing_modified, - resource$$sharing_resource_id, resource$$sharing_resource_meta, - resource$$sharing_resource_resource_id, - resource$$sharing_resource_status, - resource$$sharing_resource_type, - resource$$sharing_resource_version, resource$$sharing_result_info, resource$$sharing_share_resource_object, resource$$sharing_v4error, resource$$sharing_v4errors, } from "../../outputs.js"; -import { - resource$$sharing_account_id as resource$$sharing_account_id$, - resource$$sharing_resource_id as resource$$sharing_resource_id$, - resource$$sharing_resource_meta as resource$$sharing_resource_meta$, - resource$$sharing_resource_resource_id as resource$$sharing_resource_resource_id$, - resource$$sharing_resource_status as resource$$sharing_resource_status$, - resource$$sharing_resource_type as resource$$sharing_resource_type$, - resource$$sharing_share_id, -} from "../../schemas.js"; +import { resource$$sharing_resource_meta as resource$$sharing_resource_meta$ } from "../../schemas.js"; import { resource$$sharing_create_share_resource_request } from "../schemas.js"; import { resource$$sharing_share_resource_response_collection, @@ -46,7 +30,7 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_resources_create", title: "Trigger a resource addition to a share", - description: "Adds a resource to an existing share, making it available to share recipients.", + description: "Adds a resource to an existing share, making it available to share recipients.\n\nPOST /accounts/{account_id}/shares/{share_id}/resources", inputSchema: { type: "object", properties: { @@ -54,14 +38,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-sharing_create_share_resource_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -75,28 +60,17 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, "resource-sharing_create_share_resource_request": resource$$sharing_create_share_resource_request, "resource-sharing_resource_meta": resource$$sharing_resource_meta$, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id$, - "resource-sharing_resource_type": resource$$sharing_resource_type$, - "resource-sharing_share_id": resource$$sharing_share_id, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, @@ -135,17 +109,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, @@ -161,23 +127,24 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_resources_delete", title: "Trigger a resource deletion from a share", - description: "Deletion is not immediate, an updated share resource object with a new status will be returned.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Deletion is not immediate, an updated share resource object with a new status will be returned.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/shares/{share_id}/resources/{share_resource_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" }, "share_resource_id": { - "$ref": "#/$defs/resource-sharing_resource_id", - "description": "Share Resource identifier." + "description": "Share Resource identifier.", + "type": "string" } }, "required": [ @@ -191,25 +158,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_resource_id": resource$$sharing_resource_id$, - "resource-sharing_share_id": resource$$sharing_share_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, @@ -248,17 +203,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, @@ -273,23 +220,24 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_resources_get", title: "Get share resource by ID", - description: "Get share resource by ID.", + description: "Get share resource by ID.\n\nGET /accounts/{account_id}/shares/{share_id}/resources/{share_resource_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" }, "share_resource_id": { - "$ref": "#/$defs/resource-sharing_resource_id", - "description": "Share Resource identifier." + "description": "Share Resource identifier.", + "type": "string" } }, "required": [ @@ -303,25 +251,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_resource_id": resource$$sharing_resource_id$, - "resource-sharing_share_id": resource$$sharing_share_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, @@ -360,17 +296,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, @@ -385,19 +313,20 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_resources_list", title: "List share resources by share ID", - description: "List share resources by share ID.", + description: "List share resources by share ID.\n\nGET /accounts/{account_id}/shares/{share_id}/resources", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -407,6 +336,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -419,12 +349,26 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "resource_type": { - "$ref": "#/$defs/resource-sharing_resource_type", - "description": "Filter share resources by resource_type." + "description": "Filter share resources by resource_type.", + "enum": [ + "custom-ruleset", + "gateway-policy", + "gateway-destination-ip", + "gateway-block-page-settings", + "gateway-extended-email-matching", + "idp-federation-grant", + "trust-grant" + ], + "type": "string" }, "status": { - "$ref": "#/$defs/resource-sharing_resource_status", - "description": "Filter share resources by status." + "description": "Filter share resources by status.", + "enum": [ + "active", + "deleting", + "deleted" + ], + "type": "string" } }, "type": "object" @@ -433,28 +377,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_resource_status": resource$$sharing_resource_status$, - "resource-sharing_resource_type": resource$$sharing_resource_type$, - "resource-sharing_share_id": resource$$sharing_share_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_collection", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_result_info": resource$$sharing_result_info, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_collection": resource$$sharing_share_resource_response_collection, @@ -494,19 +425,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_result_info": resource$$sharing_result_info, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_collection": resource$$sharing_share_resource_response_collection, @@ -528,7 +451,7 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_resources_update", title: "Trigger a resource metadata update in a share", - description: "Update is not immediate, an updated share resource object with a new status will be returned.", + description: "Update is not immediate, an updated share resource object with a new status will be returned.\n\nPUT /accounts/{account_id}/shares/{share_id}/resources/{share_resource_id}", inputSchema: { type: "object", properties: { @@ -536,18 +459,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-sharing_update_share_resource_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" }, "share_resource_id": { - "$ref": "#/$defs/resource-sharing_resource_id", - "description": "Share Resource identifier." + "description": "Share Resource identifier.", + "type": "string" } }, "required": [ @@ -562,27 +486,17 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_resource_id": resource$$sharing_resource_id$, "resource-sharing_resource_meta": resource$$sharing_resource_meta$, - "resource-sharing_share_id": resource$$sharing_share_id, "resource-sharing_update_share_resource_request": resource$$sharing_update_share_resource_request, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_resource_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, @@ -620,17 +534,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_resource_response_single": resource$$sharing_share_resource_response_single, "resource-sharing_share_resource_response_single_result": resource$$sharing_share_resource_response_single_result, diff --git a/src/generated/forge-mcp/resourceSharing/schemas.ts b/src/generated/forge-mcp/resourceSharing/schemas.ts index e8cea95e2..dbbffa0f3 100644 --- a/src/generated/forge-mcp/resourceSharing/schemas.ts +++ b/src/generated/forge-mcp/resourceSharing/schemas.ts @@ -7,20 +7,20 @@ import type { JsonSchema } from "../_/tool.js"; * The schema of `resource-sharing_create_share_recipient_request`. */ export const resource$$sharing_create_share_recipient_request: JsonSchema = { - "description": "Optionally specify `recipient_account_id` to target a specific account, or `organization_id` to target the caller's whole organization. If neither is provided, the caller's organization is used.\nThe legacy field `account_id` is accepted as a synonym for `recipient_account_id` during the deprecation period (see `x-sunset` on that field).\n", + "description": "Optionally specify `recipient_account_id` to target a specific account, or `organization_id` to target the caller's whole organization. If neither is provided, the caller's organization is used.\nThe legacy field `account_id` is accepted as a synonym for `recipient_account_id` during the deprecation period (see `x-sunset` on that field).", "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", "deprecated": true, - "description": "Deprecated alias for `recipient_account_id`. Use `recipient_account_id` instead.\nThe body field collided with the URL path parameter of the same name, which prevented SDK generators from distinguishing the source account (in the URL) from the recipient account (in the body). Both names will continue to be accepted until 2027-05-26 (see `x-sunset`).\n" + "description": "Deprecated alias for `recipient_account_id`. Use `recipient_account_id` instead.\nThe body field collided with the URL path parameter of the same name, which prevented SDK generators from distinguishing the source account (in the URL) from the recipient account (in the body). Both names will continue to be accepted until 2027-05-26 (see `x-sunset`).", + "type": "string" }, "organization_id": { - "$ref": "#/$defs/resource-sharing_organization_id", - "description": "Organization identifier." + "description": "Organization identifier.", + "type": "string" }, "recipient_account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "The account that will receive the share." + "description": "The account that will receive the share.", + "type": "string" } }, "type": "object" @@ -32,8 +32,8 @@ export const resource$$sharing_create_share_recipient_request: JsonSchema = { export const resource$$sharing_create_share_request: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/resource-sharing_share_name", - "description": "The name of the share." + "description": "The name of the share.", + "type": "string" }, "recipients": { "items": { @@ -66,16 +66,25 @@ export const resource$$sharing_create_share_resource_request: JsonSchema = { "description": "Resource Metadata." }, "resource_account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "resource_id": { - "$ref": "#/$defs/resource-sharing_resource_resource_id", - "description": "Share Resource identifier." + "description": "Share Resource identifier.", + "type": "string" }, "resource_type": { - "$ref": "#/$defs/resource-sharing_resource_type", - "description": "Resource Type." + "description": "Resource Type.", + "enum": [ + "custom-ruleset", + "gateway-policy", + "gateway-destination-ip", + "gateway-block-page-settings", + "gateway-extended-email-matching", + "idp-federation-grant", + "trust-grant" + ], + "type": "string" } }, "required": [ @@ -91,11 +100,11 @@ export const resource$$sharing_create_share_resource_request: JsonSchema = { * The schema of `resource-sharing_update_share_request`. */ export const resource$$sharing_update_share_request: JsonSchema = { - "description": "Request body for `PUT /accounts/{account_id}/shares/{share_id}`. The\nshare's display `name` and `tags` can be updated via this endpoint. To\nmodify recipients, use the\n`/accounts/{account_id}/shares/{share_id}/recipients` subresource\nendpoints (POST, PUT, DELETE).\n", + "description": "Request body for `PUT /accounts/{account_id}/shares/{share_id}`. The\nshare's display `name` and `tags` can be updated via this endpoint. To\nmodify recipients, use the\n`/accounts/{account_id}/shares/{share_id}/recipients` subresource\nendpoints (POST, PUT, DELETE).", "properties": { "name": { - "$ref": "#/$defs/resource-sharing_share_name", - "description": "The name of the share." + "description": "The name of the share.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/resourceSharing/tools.ts b/src/generated/forge-mcp/resourceSharing/tools.ts index 4c7f109a1..48c629ffd 100644 --- a/src/generated/forge-mcp/resourceSharing/tools.ts +++ b/src/generated/forge-mcp/resourceSharing/tools.ts @@ -3,46 +3,20 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { - resource$$sharing_account_id, - resource$$sharing_account_name, resource$$sharing_api$$response$$collection, resource$$sharing_api$$response$$collection$$info, resource$$sharing_api$$response$$common, resource$$sharing_api$$response$$common$$failure, - resource$$sharing_created, - resource$$sharing_modified, - resource$$sharing_organization_id, - resource$$sharing_resource_id, resource$$sharing_resource_meta, - resource$$sharing_resource_resource_id, - resource$$sharing_resource_status, - resource$$sharing_resource_type, - resource$$sharing_resource_version, resource$$sharing_result_info, - resource$$sharing_share_id, - resource$$sharing_share_kind, - resource$$sharing_share_name, resource$$sharing_share_object, resource$$sharing_share_resource_object, resource$$sharing_share_response_collection, resource$$sharing_share_response_collection_result, - resource$$sharing_share_status, - resource$$sharing_share_target_type, resource$$sharing_v4error, resource$$sharing_v4errors, } from "../outputs.js"; -import { - resource$$sharing_account_id as resource$$sharing_account_id$, - resource$$sharing_organization_id as resource$$sharing_organization_id$, - resource$$sharing_resource_meta as resource$$sharing_resource_meta$, - resource$$sharing_resource_resource_id as resource$$sharing_resource_resource_id$, - resource$$sharing_resource_type as resource$$sharing_resource_type$, - resource$$sharing_share_id as resource$$sharing_share_id$, - resource$$sharing_share_kind as resource$$sharing_share_kind$, - resource$$sharing_share_name as resource$$sharing_share_name$, - resource$$sharing_share_status as resource$$sharing_share_status$, - resource$$sharing_share_target_type as resource$$sharing_share_target_type$, -} from "../schemas.js"; +import { resource$$sharing_resource_meta as resource$$sharing_resource_meta$ } from "../schemas.js"; import { resource$$sharing_share_response_single, resource$$sharing_share_response_single_result, @@ -61,7 +35,7 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_create", title: "Trigger a share creation", - description: "Creates a new resource share for sharing Cloudflare resources with other accounts or organizations.", + description: "Creates a new resource share for sharing Cloudflare resources with other accounts or organizations.\n\nPOST /accounts/{account_id}/shares", inputSchema: { type: "object", properties: { @@ -69,10 +43,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-sharing_create_share_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -85,42 +60,23 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, "resource-sharing_create_share_recipient_request": resource$$sharing_create_share_recipient_request, "resource-sharing_create_share_request": resource$$sharing_create_share_request, "resource-sharing_create_share_resource_request": resource$$sharing_create_share_resource_request, - "resource-sharing_organization_id": resource$$sharing_organization_id$, "resource-sharing_resource_meta": resource$$sharing_resource_meta$, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id$, - "resource-sharing_resource_type": resource$$sharing_resource_type$, - "resource-sharing_share_name": resource$$sharing_share_name$, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_single": resource$$sharing_share_response_single, "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -156,28 +112,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_single": resource$$sharing_share_response_single, "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -190,19 +131,20 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_delete", title: "Trigger a share deletion", - description: "Deletion is not immediate, an updated share object with a new status will be returned.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Deletion is not immediate, an updated share object with a new status will be returned.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/shares/{share_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -215,35 +157,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_share_id": resource$$sharing_share_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_single": resource$$sharing_share_response_single, "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -279,28 +203,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_single": resource$$sharing_share_response_single, "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -312,19 +221,20 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_get", title: "Get account share by ID", - description: "Fetches share by ID.", + description: "Fetches share by ID.\n\nGET /accounts/{account_id}/shares/{share_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -334,6 +244,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_recipient_counts": { "description": "Include recipient counts in the response.", @@ -350,35 +261,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_share_id": resource$$sharing_share_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_single": resource$$sharing_share_response_single, "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -421,28 +314,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_single": resource$$sharing_share_response_single, "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -458,15 +336,16 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_list", title: "List account shares", - description: "Lists all account shares.", + description: "Lists all account shares.\n\nGET /accounts/{account_id}/shares", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" } }, "required": [ @@ -475,6 +354,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -494,8 +374,12 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "kind": { - "$ref": "#/$defs/resource-sharing_share_kind", - "description": "Filter shares by kind." + "description": "Filter shares by kind.", + "enum": [ + "sent", + "received" + ], + "type": "string" }, "order": { "default": "created", @@ -519,13 +403,28 @@ export const tools: readonly Tool[] = [ "resource_types": { "description": "Filter share resources by resource_types.", "items": { - "$ref": "#/$defs/resource-sharing_resource_type" + "description": "Resource Type.", + "enum": [ + "custom-ruleset", + "gateway-policy", + "gateway-destination-ip", + "gateway-block-page-settings", + "gateway-extended-email-matching", + "idp-federation-grant", + "trust-grant" + ], + "type": "string" }, "type": "array" }, "status": { - "$ref": "#/$defs/resource-sharing_share_status", - "description": "Filter shares by status." + "description": "Filter shares by status.", + "enum": [ + "active", + "deleting", + "deleted" + ], + "type": "string" }, "tag": { "description": "Filter shares by tag. Each value is either `key=value` (matches shares whose tags contain that key/value pair) or `key` alone (matches shares that have any value for that key). May be repeated; multiple `tag` parameters are ANDed together. Maximum 20 `tag` parameters per request.", @@ -536,8 +435,12 @@ export const tools: readonly Tool[] = [ "type": "array" }, "target_type": { - "$ref": "#/$defs/resource-sharing_share_target_type", - "description": "Filter shares by target_type." + "description": "Filter shares by target_type.", + "enum": [ + "account", + "organization" + ], + "type": "string" } }, "type": "object" @@ -546,41 +449,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_resource_type": resource$$sharing_resource_type$, - "resource-sharing_share_kind": resource$$sharing_share_kind$, - "resource-sharing_share_status": resource$$sharing_share_status$, - "resource-sharing_share_target_type": resource$$sharing_share_target_type$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_collection", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_result_info": resource$$sharing_result_info, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_collection": resource$$sharing_share_response_collection, "resource-sharing_share_response_collection_result": resource$$sharing_share_response_collection_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -624,31 +506,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-collection": resource$$sharing_api$$response$$collection, "resource-sharing_api-response-collection-info": resource$$sharing_api$$response$$collection$$info, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, "resource-sharing_result_info": resource$$sharing_result_info, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_collection": resource$$sharing_share_response_collection, "resource-sharing_share_response_collection_result": resource$$sharing_share_response_collection_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -673,7 +540,7 @@ export const tools: readonly Tool[] = [ { name: "resourceSharing_update", title: "Trigger a share rename", - description: "Updates the share's display name and tags. This endpoint does **not**\nmodify recipients or resources — those are managed via dedicated\nsubresource endpoints:\n\n- **Recipients**: Use `POST /accounts/{account_id}/shares/{share_id}/recipients`\n to add a single recipient, `PUT /accounts/{account_id}/shares/{share_id}/recipients`\n to replace the full recipient list, or\n `DELETE /accounts/{account_id}/shares/{share_id}/recipients/{recipient_id}`\n to remove a recipient.\n- **Resources**: Use the share's resource subresource endpoints.\n\nUpdating is not immediate; an updated share object with a new status\nwill be returned.", + description: "Updates the share's display name and tags. This endpoint does **not**\nmodify recipients or resources — those are managed via dedicated\nsubresource endpoints:\n\n- **Recipients**: Use `POST /accounts/{account_id}/shares/{share_id}/recipients`\n to add a single recipient, `PUT /accounts/{account_id}/shares/{share_id}/recipients`\n to replace the full recipient list, or\n `DELETE /accounts/{account_id}/shares/{share_id}/recipients/{recipient_id}`\n to remove a recipient.\n- **Resources**: Use the share's resource subresource endpoints.\n\nUpdating is not immediate; an updated share object with a new status\nwill be returned.\n\nPUT /accounts/{account_id}/shares/{share_id}", inputSchema: { type: "object", properties: { @@ -681,14 +548,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-sharing_update_share_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-sharing_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "share_id": { - "$ref": "#/$defs/resource-sharing_share_id", - "description": "Share identifier tag." + "description": "Share identifier tag.", + "type": "string" } }, "required": [ @@ -702,37 +570,20 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id$, - "resource-sharing_share_id": resource$$sharing_share_id$, - "resource-sharing_share_name": resource$$sharing_share_name$, "resource-sharing_update_share_request": resource$$sharing_update_share_request, }, }, outputSchema: { "$ref": "#/$defs/resource-sharing_share_response_single", $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_single": resource$$sharing_share_response_single, "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, @@ -767,28 +618,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-sharing_account_id": resource$$sharing_account_id, - "resource-sharing_account_name": resource$$sharing_account_name, "resource-sharing_api-response-common": resource$$sharing_api$$response$$common, "resource-sharing_api-response-common-failure": resource$$sharing_api$$response$$common$$failure, - "resource-sharing_created": resource$$sharing_created, - "resource-sharing_modified": resource$$sharing_modified, - "resource-sharing_organization_id": resource$$sharing_organization_id, - "resource-sharing_resource_id": resource$$sharing_resource_id, "resource-sharing_resource_meta": resource$$sharing_resource_meta, - "resource-sharing_resource_resource_id": resource$$sharing_resource_resource_id, - "resource-sharing_resource_status": resource$$sharing_resource_status, - "resource-sharing_resource_type": resource$$sharing_resource_type, - "resource-sharing_resource_version": resource$$sharing_resource_version, - "resource-sharing_share_id": resource$$sharing_share_id, - "resource-sharing_share_kind": resource$$sharing_share_kind, - "resource-sharing_share_name": resource$$sharing_share_name, "resource-sharing_share_object": resource$$sharing_share_object, "resource-sharing_share_resource_object": resource$$sharing_share_resource_object, "resource-sharing_share_response_single": resource$$sharing_share_response_single, "resource-sharing_share_response_single_result": resource$$sharing_share_response_single_result, - "resource-sharing_share_status": resource$$sharing_share_status, - "resource-sharing_share_target_type": resource$$sharing_share_target_type, "resource-sharing_v4error": resource$$sharing_v4error, "resource-sharing_v4errors": resource$$sharing_v4errors, }, diff --git a/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts b/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts index 07630f42c..e4185c920 100644 --- a/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts +++ b/src/generated/forge-mcp/rules/lists/bulkOperations/outputs.ts @@ -28,10 +28,10 @@ export const lists_bulk$$operation$$response$$single: JsonSchema = { export const lists_bulk_operation_completed: JsonSchema = { "properties": { "completed": { - "$ref": "#/$defs/lists_completed" + "type": "string" }, "id": { - "$ref": "#/$defs/lists_operation_id" + "type": "string" }, "status": { "enum": [ @@ -54,13 +54,13 @@ export const lists_bulk_operation_completed: JsonSchema = { export const lists_bulk_operation_failed: JsonSchema = { "properties": { "completed": { - "$ref": "#/$defs/lists_completed" + "type": "string" }, "error": { "type": "string" }, "id": { - "$ref": "#/$defs/lists_operation_id" + "type": "string" }, "status": { "enum": [ @@ -84,7 +84,7 @@ export const lists_bulk_operation_failed: JsonSchema = { export const lists_bulk_operation_pending_or_running: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/lists_operation_id" + "type": "string" }, "status": { "enum": [ @@ -101,13 +101,6 @@ export const lists_bulk_operation_pending_or_running: JsonSchema = { "type": "object" }; -/** - * The schema of `lists_completed` in responses. - */ -export const lists_completed: JsonSchema = { - "type": "string" -}; - /** * The schema of `lists_operation` in responses. */ diff --git a/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts b/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts index 580f2e145..004ff62d6 100644 --- a/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts +++ b/src/generated/forge-mcp/rules/lists/bulkOperations/tools.ts @@ -6,18 +6,12 @@ import { lists_api$$response$$common, lists_api$$response$$common$$failure, lists_messages, - lists_operation_id, } from "../outputs.js"; -import { - lists_account_id, - lists_operation_id as lists_operation_id$, -} from "../schemas.js"; import { lists_bulk$$operation$$response$$single, lists_bulk_operation_completed, lists_bulk_operation_failed, lists_bulk_operation_pending_or_running, - lists_completed, lists_operation, } from "./outputs.js"; @@ -28,19 +22,20 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_bulkOperations_get", title: "Get bulk operation status", - description: "Gets the current status of an asynchronous operation on a list.\n\nThe `status` property can have one of the following values: `pending`, `running`, `completed`, or `failed`. If the status is `failed`, the `error` property will contain a message describing the error.", + description: "Gets the current status of an asynchronous operation on a list.\n\nThe `status` property can have one of the following values: `pending`, `running`, `completed`, or `failed`. If the status is `failed`, the `error` property will contain a message describing the error.\n\nGET /accounts/{account_id}/rules/lists/bulk_operations/{operation_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" }, "operation_id": { - "$ref": "#/$defs/lists_operation_id", - "description": "The unique operation ID of the asynchronous action." + "description": "The unique operation ID of the asynchronous action.", + "type": "string" } }, "required": [ @@ -53,10 +48,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "lists_account_id": lists_account_id, - "lists_operation_id": lists_operation_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lists_bulk-operation-response-single", @@ -66,10 +58,8 @@ export const tools: readonly Tool[] = [ "lists_bulk_operation_completed": lists_bulk_operation_completed, "lists_bulk_operation_failed": lists_bulk_operation_failed, "lists_bulk_operation_pending_or_running": lists_bulk_operation_pending_or_running, - "lists_completed": lists_completed, "lists_messages": lists_messages, "lists_operation": lists_operation, - "lists_operation_id": lists_operation_id, }, }, annotations: { @@ -116,10 +106,8 @@ export const tools: readonly Tool[] = [ "lists_bulk_operation_completed": lists_bulk_operation_completed, "lists_bulk_operation_failed": lists_bulk_operation_failed, "lists_bulk_operation_pending_or_running": lists_bulk_operation_pending_or_running, - "lists_completed": lists_completed, "lists_messages": lists_messages, "lists_operation": lists_operation, - "lists_operation_id": lists_operation_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/rules/lists/items/outputs.ts b/src/generated/forge-mcp/rules/lists/items/outputs.ts index 42cdc84d6..38c15bd9a 100644 --- a/src/generated/forge-mcp/rules/lists/items/outputs.ts +++ b/src/generated/forge-mcp/rules/lists/items/outputs.ts @@ -42,29 +42,22 @@ export const lists_item$$response$$single: JsonSchema = { ] }; -/** - * The schema of `lists_item_asn` in responses. - */ -export const lists_item_asn: JsonSchema = { - "type": "integer" -}; - /** * The schema of `lists_item_base` in responses. */ export const lists_item_base: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/lists_item_comment" + "type": "string" }, "created_on": { - "$ref": "#/$defs/lists_created_on" + "type": "string" }, "id": { - "$ref": "#/$defs/lists_item_id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/lists_modified_on" + "type": "string" } }, "required": [ @@ -75,13 +68,6 @@ export const lists_item_base: JsonSchema = { "type": "object" }; -/** - * The schema of `lists_item_comment` in responses. - */ -export const lists_item_comment: JsonSchema = { - "type": "string" -}; - /** * The schema of `lists_item_hostname` in responses. */ @@ -100,20 +86,6 @@ export const lists_item_hostname: JsonSchema = { "type": "object" }; -/** - * The schema of `lists_item_id` in responses. - */ -export const lists_item_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `lists_item_ip` in responses. - */ -export const lists_item_ip: JsonSchema = { - "type": "string" -}; - /** * The schema of `lists_item_redirect` in responses. */ @@ -219,7 +191,7 @@ export const lists_list_item_asn_full: JsonSchema = { export const lists_list_item_asn_object: JsonSchema = { "properties": { "asn": { - "$ref": "#/$defs/lists_item_asn" + "type": "integer" } }, "required": [ @@ -277,7 +249,7 @@ export const lists_list_item_ip_full: JsonSchema = { export const lists_list_item_ip_object: JsonSchema = { "properties": { "ip": { - "$ref": "#/$defs/lists_item_ip" + "type": "string" } }, "required": [ @@ -325,7 +297,7 @@ export const lists_lists$$async$$response: JsonSchema = { "result": { "properties": { "operation_id": { - "$ref": "#/$defs/lists_operation_id" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/rules/lists/items/schemas.ts b/src/generated/forge-mcp/rules/lists/items/schemas.ts index a83916a35..993b657fc 100644 --- a/src/generated/forge-mcp/rules/lists/items/schemas.ts +++ b/src/generated/forge-mcp/rules/lists/items/schemas.ts @@ -3,30 +3,14 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `lists_item_asn`. - */ -export const lists_item_asn: JsonSchema = { - "description": "Defines a non-negative 32 bit integer.", - "type": "integer" -}; - -/** - * The schema of `lists_item_comment`. - */ -export const lists_item_comment: JsonSchema = { - "description": "Defines an informative summary of the list item.", - "type": "string" -}; - /** * The schema of `lists_item_comment_object`. */ export const lists_item_comment_object: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/lists_item_comment", - "description": "Defines an informative summary of the list item." + "description": "Defines an informative summary of the list item.", + "type": "string" } }, "type": "object" @@ -52,22 +36,6 @@ export const lists_item_hostname: JsonSchema = { "type": "object" }; -/** - * The schema of `lists_item_id`. - */ -export const lists_item_id: JsonSchema = { - "description": "Defines the unique ID of the item in the List.", - "type": "string" -}; - -/** - * The schema of `lists_item_ip`. - */ -export const lists_item_ip: JsonSchema = { - "description": "An IPv4 address, an IPv4 CIDR, an IPv6 address, or an IPv6 CIDR.", - "type": "string" -}; - /** * The schema of `lists_item_redirect`. */ @@ -157,8 +125,8 @@ export const lists_list_item_asn_comment: JsonSchema = { export const lists_list_item_asn_object: JsonSchema = { "properties": { "asn": { - "$ref": "#/$defs/lists_item_asn", - "description": "Defines a non-negative 32 bit integer." + "description": "Defines a non-negative 32 bit integer.", + "type": "integer" } }, "required": [ @@ -217,8 +185,8 @@ export const lists_list_item_ip_comment: JsonSchema = { export const lists_list_item_ip_object: JsonSchema = { "properties": { "ip": { - "$ref": "#/$defs/lists_item_ip", - "description": "An IPv4 address, an IPv4 CIDR, an IPv6 address, or an IPv6 CIDR." + "description": "An IPv4 address, an IPv4 CIDR, an IPv6 address, or an IPv6 CIDR.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/rules/lists/items/tools.ts b/src/generated/forge-mcp/rules/lists/items/tools.ts index f6db647e4..4fb204c49 100644 --- a/src/generated/forge-mcp/rules/lists/items/tools.ts +++ b/src/generated/forge-mcp/rules/lists/items/tools.ts @@ -6,21 +6,13 @@ import { lists_api$$response$$collection, lists_api$$response$$common, lists_api$$response$$common$$failure, - lists_created_on, lists_messages, - lists_modified_on, - lists_operation_id, } from "../outputs.js"; -import { lists_account_id, lists_list_id } from "../schemas.js"; import { lists_item, lists_item$$response$$single, - lists_item_asn, lists_item_base, - lists_item_comment, lists_item_hostname, - lists_item_id, - lists_item_ip, lists_item_redirect, lists_items, lists_items$$list$$response$$collection, @@ -35,12 +27,8 @@ import { lists_lists$$async$$response, } from "./outputs.js"; import { - lists_item_asn as lists_item_asn$, - lists_item_comment as lists_item_comment$, lists_item_comment_object, lists_item_hostname as lists_item_hostname$, - lists_item_id as lists_item_id$, - lists_item_ip as lists_item_ip$, lists_item_redirect as lists_item_redirect$, lists_items$$update$$request$$collection, lists_list_item_asn_comment, @@ -60,7 +48,7 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_items_create", title: "Create list items", - description: "Appends new items to the list.\n\nThis operation is asynchronous. To get the current operation status, invoke the `Get bulk operation status` endpoint with the returned `operation_id`.\n\nThere is a limit of 1 pending bulk operation per account. If an outstanding bulk operation is in progress, the request will be rejected.", + description: "Appends new items to the list.\n\nThis operation is asynchronous. To get the current operation status, invoke the `Get bulk operation status` endpoint with the returned `operation_id`.\n\nThere is a limit of 1 pending bulk operation per account. If an outstanding bulk operation is in progress, the request will be rejected.\n\nPOST /accounts/{account_id}/rules/lists/{list_id}/items", inputSchema: { type: "object", properties: { @@ -68,14 +56,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/lists_items-update-request-collection" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "description": "The unique ID of the list.", + "type": "string" } }, "required": [ @@ -89,16 +78,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "lists_account_id": lists_account_id, - "lists_item_asn": lists_item_asn$, - "lists_item_comment": lists_item_comment$, "lists_item_comment_object": lists_item_comment_object, "lists_item_hostname": lists_item_hostname$, - "lists_item_ip": lists_item_ip$, "lists_item_redirect": lists_item_redirect$, "lists_items-update-request-collection": lists_items$$update$$request$$collection, - "lists_list_id": lists_list_id, "lists_list_item_asn_comment": lists_list_item_asn_comment, "lists_list_item_asn_object": lists_list_item_asn_object$, "lists_list_item_hostname_comment": lists_list_item_hostname_comment, @@ -116,7 +101,6 @@ export const tools: readonly Tool[] = [ "lists_api-response-common": lists_api$$response$$common, "lists_lists-async-response": lists_lists$$async$$response, "lists_messages": lists_messages, - "lists_operation_id": lists_operation_id, }, }, annotations: { @@ -161,7 +145,6 @@ export const tools: readonly Tool[] = [ "lists_api-response-common-failure": lists_api$$response$$common$$failure, "lists_lists-async-response": lists_lists$$async$$response, "lists_messages": lists_messages, - "lists_operation_id": lists_operation_id, }, }, request: (args) => ({ @@ -172,7 +155,7 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_items_delete", title: "Delete list items", - description: "Removes one or more items from a list.\n\nThis operation is asynchronous. To get the current operation status, invoke the `Get bulk operation status` endpoint with the returned `operation_id`.\n\nThere is a limit of 1 pending bulk operation per account. If an outstanding bulk operation is in progress, the request will be rejected.\n\nConfirm with the user before calling this tool. This operation deletes the selected items from the custom list.", + description: "Removes one or more items from a list.\n\nThis operation is asynchronous. To get the current operation status, invoke the `Get bulk operation status` endpoint with the returned `operation_id`.\n\nThere is a limit of 1 pending bulk operation per account. If an outstanding bulk operation is in progress, the request will be rejected.\n\nConfirm with the user before calling this tool. This operation deletes the selected items from the custom list.\n\nDELETE /accounts/{account_id}/rules/lists/{list_id}/items", inputSchema: { type: "object", properties: { @@ -199,14 +182,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "description": "The unique ID of the list.", + "type": "string" } }, "required": [ @@ -220,10 +204,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "lists_account_id": lists_account_id, - "lists_list_id": lists_list_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lists_lists-async-response", @@ -232,7 +213,6 @@ export const tools: readonly Tool[] = [ "lists_api-response-common": lists_api$$response$$common, "lists_lists-async-response": lists_lists$$async$$response, "lists_messages": lists_messages, - "lists_operation_id": lists_operation_id, }, }, annotations: { @@ -277,7 +257,6 @@ export const tools: readonly Tool[] = [ "lists_api-response-common-failure": lists_api$$response$$common$$failure, "lists_lists-async-response": lists_lists$$async$$response, "lists_messages": lists_messages, - "lists_operation_id": lists_operation_id, }, }, request: (args) => ({ @@ -288,23 +267,24 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_items_get", title: "Get a list item", - description: "Fetches a list item in the list.", + description: "Fetches a list item in the list.\n\nGET /accounts/{account_id}/rules/lists/{list_id}/items/{item_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" }, "item_id": { - "$ref": "#/$defs/lists_item_id", - "description": "Defines the unique ID of the item in the List." + "description": "Defines the unique ID of the item in the List.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "description": "The unique ID of the list.", + "type": "string" } }, "required": [ @@ -318,25 +298,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "lists_account_id": lists_account_id, - "lists_item_id": lists_item_id$, - "lists_list_id": lists_list_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lists_item-response-single", $defs: { "lists_api-response-common": lists_api$$response$$common, - "lists_created_on": lists_created_on, "lists_item": lists_item, "lists_item-response-single": lists_item$$response$$single, - "lists_item_asn": lists_item_asn, "lists_item_base": lists_item_base, - "lists_item_comment": lists_item_comment, "lists_item_hostname": lists_item_hostname, - "lists_item_id": lists_item_id, - "lists_item_ip": lists_item_ip, "lists_item_redirect": lists_item_redirect, "lists_list_item_asn_full": lists_list_item_asn_full, "lists_list_item_asn_object": lists_list_item_asn_object, @@ -347,7 +318,6 @@ export const tools: readonly Tool[] = [ "lists_list_item_redirect_full": lists_list_item_redirect_full, "lists_list_item_redirect_object": lists_list_item_redirect_object, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, }, }, annotations: { @@ -390,15 +360,10 @@ export const tools: readonly Tool[] = [ $defs: { "lists_api-response-common": lists_api$$response$$common, "lists_api-response-common-failure": lists_api$$response$$common$$failure, - "lists_created_on": lists_created_on, "lists_item": lists_item, "lists_item-response-single": lists_item$$response$$single, - "lists_item_asn": lists_item_asn, "lists_item_base": lists_item_base, - "lists_item_comment": lists_item_comment, "lists_item_hostname": lists_item_hostname, - "lists_item_id": lists_item_id, - "lists_item_ip": lists_item_ip, "lists_item_redirect": lists_item_redirect, "lists_list_item_asn_full": lists_list_item_asn_full, "lists_list_item_asn_object": lists_list_item_asn_object, @@ -409,7 +374,6 @@ export const tools: readonly Tool[] = [ "lists_list_item_redirect_full": lists_list_item_redirect_full, "lists_list_item_redirect_object": lists_list_item_redirect_object, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, }, }, request: (args) => ({ @@ -419,19 +383,20 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_items_list", title: "Get list items", - description: "Fetches all the items in the list.", + description: "Fetches all the items in the list.\n\nGET /accounts/{account_id}/rules/lists/{list_id}/items", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "description": "The unique ID of the list.", + "type": "string" } }, "required": [ @@ -441,6 +406,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "The pagination cursor. An opaque string token that indicates where to continue when requesting the next/previous set of records. The response provides cursor values under `result_info.cursors`. You should make no assumptions about a cursor's content or length.", @@ -461,24 +427,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "lists_account_id": lists_account_id, - "lists_list_id": lists_list_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lists_items-list-response-collection", $defs: { "lists_api-response-collection": lists_api$$response$$collection, "lists_api-response-common": lists_api$$response$$common, - "lists_created_on": lists_created_on, "lists_item": lists_item, - "lists_item_asn": lists_item_asn, "lists_item_base": lists_item_base, - "lists_item_comment": lists_item_comment, "lists_item_hostname": lists_item_hostname, - "lists_item_id": lists_item_id, - "lists_item_ip": lists_item_ip, "lists_item_redirect": lists_item_redirect, "lists_items": lists_items, "lists_items-list-response-collection": lists_items$$list$$response$$collection, @@ -491,7 +449,6 @@ export const tools: readonly Tool[] = [ "lists_list_item_redirect_full": lists_list_item_redirect_full, "lists_list_item_redirect_object": lists_list_item_redirect_object, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, }, }, annotations: { @@ -535,14 +492,9 @@ export const tools: readonly Tool[] = [ "lists_api-response-collection": lists_api$$response$$collection, "lists_api-response-common": lists_api$$response$$common, "lists_api-response-common-failure": lists_api$$response$$common$$failure, - "lists_created_on": lists_created_on, "lists_item": lists_item, - "lists_item_asn": lists_item_asn, "lists_item_base": lists_item_base, - "lists_item_comment": lists_item_comment, "lists_item_hostname": lists_item_hostname, - "lists_item_id": lists_item_id, - "lists_item_ip": lists_item_ip, "lists_item_redirect": lists_item_redirect, "lists_items": lists_items, "lists_items-list-response-collection": lists_items$$list$$response$$collection, @@ -555,7 +507,6 @@ export const tools: readonly Tool[] = [ "lists_list_item_redirect_full": lists_list_item_redirect_full, "lists_list_item_redirect_object": lists_list_item_redirect_object, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, }, }, request: (args) => ({ @@ -570,7 +521,7 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_items_update", title: "Update all list items", - description: "Removes all existing items from the list and adds the provided items to the list.\n\nThis operation is asynchronous. To get the current operation status, invoke the `Get bulk operation status` endpoint with the returned `operation_id`.\n\nThere is a limit of 1 pending bulk operation per account. If an outstanding bulk operation is in progress, the request will be rejected.", + description: "Removes all existing items from the list and adds the provided items to the list.\n\nThis operation is asynchronous. To get the current operation status, invoke the `Get bulk operation status` endpoint with the returned `operation_id`.\n\nThere is a limit of 1 pending bulk operation per account. If an outstanding bulk operation is in progress, the request will be rejected.\n\nPUT /accounts/{account_id}/rules/lists/{list_id}/items", inputSchema: { type: "object", properties: { @@ -578,14 +529,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/lists_items-update-request-collection" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "description": "The unique ID of the list.", + "type": "string" } }, "required": [ @@ -599,16 +551,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "lists_account_id": lists_account_id, - "lists_item_asn": lists_item_asn$, - "lists_item_comment": lists_item_comment$, "lists_item_comment_object": lists_item_comment_object, "lists_item_hostname": lists_item_hostname$, - "lists_item_ip": lists_item_ip$, "lists_item_redirect": lists_item_redirect$, "lists_items-update-request-collection": lists_items$$update$$request$$collection, - "lists_list_id": lists_list_id, "lists_list_item_asn_comment": lists_list_item_asn_comment, "lists_list_item_asn_object": lists_list_item_asn_object$, "lists_list_item_hostname_comment": lists_list_item_hostname_comment, @@ -626,7 +574,6 @@ export const tools: readonly Tool[] = [ "lists_api-response-common": lists_api$$response$$common, "lists_lists-async-response": lists_lists$$async$$response, "lists_messages": lists_messages, - "lists_operation_id": lists_operation_id, }, }, annotations: { @@ -671,7 +618,6 @@ export const tools: readonly Tool[] = [ "lists_api-response-common-failure": lists_api$$response$$common$$failure, "lists_lists-async-response": lists_lists$$async$$response, "lists_messages": lists_messages, - "lists_operation_id": lists_operation_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/rules/lists/outputs.ts b/src/generated/forge-mcp/rules/lists/outputs.ts index 8d81819ed..714a68fb2 100644 --- a/src/generated/forge-mcp/rules/lists/outputs.ts +++ b/src/generated/forge-mcp/rules/lists/outputs.ts @@ -102,61 +102,40 @@ export const lists_api$$response$$common$$failure: JsonSchema = { "type": "object" }; -/** - * The schema of `lists_created_on` in responses. - */ -export const lists_created_on: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `lists_description` in responses. - */ -export const lists_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `lists_kind` in responses. - */ -export const lists_kind: JsonSchema = { - "enum": [ - "ip", - "redirect", - "hostname", - "asn" - ], - "type": "string" -}; - /** * The schema of `lists_list` in responses. */ export const lists_list: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/lists_created_on" + "type": "string" }, "description": { - "$ref": "#/$defs/lists_description" + "type": "string" }, "id": { - "$ref": "#/$defs/lists_list_id" + "type": "string" }, "kind": { - "$ref": "#/$defs/lists_kind" + "enum": [ + "ip", + "redirect", + "hostname", + "asn" + ], + "type": "string" }, "modified_on": { - "$ref": "#/$defs/lists_modified_on" + "type": "string" }, "name": { - "$ref": "#/$defs/lists_name" + "type": "string" }, "num_items": { - "$ref": "#/$defs/lists_num_items" + "type": "number" }, "num_referencing_filters": { - "$ref": "#/$defs/lists_num_referencing_filters" + "type": "number" } }, "required": [ @@ -181,7 +160,7 @@ export const lists_list$$delete$$response$$collection: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/lists_list_id" + "type": "string" } }, "required": [ @@ -217,13 +196,6 @@ export const lists_list$$response$$collection: JsonSchema = { ] }; -/** - * The schema of `lists_list_id` in responses. - */ -export const lists_list_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `lists_lists-response-collection` in responses. */ @@ -267,38 +239,3 @@ export const lists_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `lists_modified_on` in responses. - */ -export const lists_modified_on: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `lists_name` in responses. - */ -export const lists_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `lists_num_items` in responses. - */ -export const lists_num_items: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `lists_num_referencing_filters` in responses. - */ -export const lists_num_referencing_filters: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `lists_operation_id` in responses. - */ -export const lists_operation_id: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/rules/lists/schemas.ts b/src/generated/forge-mcp/rules/lists/schemas.ts deleted file mode 100644 index 0c3a3d36a..000000000 --- a/src/generated/forge-mcp/rules/lists/schemas.ts +++ /dev/null @@ -1,58 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `lists_account_id`. - */ -export const lists_account_id: JsonSchema = { - "description": "The Account ID for this resource.", - "type": "string" -}; - -/** - * The schema of `lists_description`. - */ -export const lists_description: JsonSchema = { - "description": "An informative summary of the list.", - "type": "string" -}; - -/** - * The schema of `lists_kind`. - */ -export const lists_kind: JsonSchema = { - "description": "The type of the list. Each type supports specific list items (IP addresses, ASNs, hostnames or redirects).", - "enum": [ - "ip", - "redirect", - "hostname", - "asn" - ], - "type": "string" -}; - -/** - * The schema of `lists_list_id`. - */ -export const lists_list_id: JsonSchema = { - "description": "The unique ID of the list.", - "type": "string" -}; - -/** - * The schema of `lists_name`. - */ -export const lists_name: JsonSchema = { - "description": "An informative name for the list. Use this name in filter and rule expressions.", - "type": "string" -}; - -/** - * The schema of `lists_operation_id`. - */ -export const lists_operation_id: JsonSchema = { - "description": "The unique operation ID of the asynchronous action.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/rules/lists/tools.ts b/src/generated/forge-mcp/rules/lists/tools.ts index 605ee4e3f..e35e1f477 100644 --- a/src/generated/forge-mcp/rules/lists/tools.ts +++ b/src/generated/forge-mcp/rules/lists/tools.ts @@ -6,27 +6,12 @@ import { lists_api$$response$$collection, lists_api$$response$$common, lists_api$$response$$common$$failure, - lists_created_on, - lists_description, - lists_kind, lists_list, lists_list$$delete$$response$$collection, lists_list$$response$$collection, - lists_list_id, lists_lists$$response$$collection, lists_messages, - lists_modified_on, - lists_name, - lists_num_items, - lists_num_referencing_filters, } from "./outputs.js"; -import { - lists_account_id, - lists_description as lists_description$, - lists_kind as lists_kind$, - lists_list_id as lists_list_id$, - lists_name as lists_name$, -} from "./schemas.js"; /** * The tools of `rules.lists`. @@ -35,23 +20,29 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_create", title: "Create a list", - description: "Creates a new list of the specified kind.", + description: "Creates a new list of the specified kind.\n\nPOST /accounts/{account_id}/rules/lists", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/lists_description", - "description": "An informative summary of the list." + "description": "An informative summary of the list.", + "type": "string" }, "kind": { - "$ref": "#/$defs/lists_kind", - "description": "The type of the list. Each type supports specific list items (IP addresses, ASNs, hostnames or redirects)." + "description": "The type of the list. Each type supports specific list items (IP addresses, ASNs, hostnames or redirects).", + "enum": [ + "ip", + "redirect", + "hostname", + "asn" + ], + "type": "string" }, "name": { - "$ref": "#/$defs/lists_name", - "description": "An informative name for the list. Use this name in filter and rule expressions." + "description": "An informative name for the list. Use this name in filter and rule expressions.", + "type": "string" } }, "required": [ @@ -61,10 +52,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" } }, "required": [ @@ -77,28 +69,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "lists_account_id": lists_account_id, - "lists_description": lists_description$, - "lists_kind": lists_kind$, - "lists_name": lists_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lists_list-response-collection", $defs: { "lists_api-response-common": lists_api$$response$$common, - "lists_created_on": lists_created_on, - "lists_description": lists_description, - "lists_kind": lists_kind, "lists_list": lists_list, "lists_list-response-collection": lists_list$$response$$collection, - "lists_list_id": lists_list_id, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, - "lists_name": lists_name, - "lists_num_items": lists_num_items, - "lists_num_referencing_filters": lists_num_referencing_filters, }, }, annotations: { @@ -140,17 +119,9 @@ export const tools: readonly Tool[] = [ $defs: { "lists_api-response-common": lists_api$$response$$common, "lists_api-response-common-failure": lists_api$$response$$common$$failure, - "lists_created_on": lists_created_on, - "lists_description": lists_description, - "lists_kind": lists_kind, "lists_list": lists_list, "lists_list-response-collection": lists_list$$response$$collection, - "lists_list_id": lists_list_id, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, - "lists_name": lists_name, - "lists_num_items": lists_num_items, - "lists_num_referencing_filters": lists_num_referencing_filters, }, }, request: (args) => ({ @@ -161,19 +132,20 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_delete", title: "Delete a list", - description: "Deletes a specific list and all its items.\n\nConfirm with the user before calling this tool. This operation deletes the custom list and every item it contains.", + description: "Deletes a specific list and all its items.\n\nConfirm with the user before calling this tool. This operation deletes the custom list and every item it contains.\n\nDELETE /accounts/{account_id}/rules/lists/{list_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "description": "The unique ID of the list.", + "type": "string" } }, "required": [ @@ -186,17 +158,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "lists_account_id": lists_account_id, - "lists_list_id": lists_list_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lists_list-delete-response-collection", $defs: { "lists_api-response-common": lists_api$$response$$common, "lists_list-delete-response-collection": lists_list$$delete$$response$$collection, - "lists_list_id": lists_list_id, "lists_messages": lists_messages, }, }, @@ -240,7 +208,6 @@ export const tools: readonly Tool[] = [ "lists_api-response-common": lists_api$$response$$common, "lists_api-response-common-failure": lists_api$$response$$common$$failure, "lists_list-delete-response-collection": lists_list$$delete$$response$$collection, - "lists_list_id": lists_list_id, "lists_messages": lists_messages, }, }, @@ -251,19 +218,20 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_get", title: "Get a list", - description: "Fetches the details of a list.", + description: "Fetches the details of a list.\n\nGET /accounts/{account_id}/rules/lists/{list_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "description": "The unique ID of the list.", + "type": "string" } }, "required": [ @@ -276,26 +244,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "lists_account_id": lists_account_id, - "lists_list_id": lists_list_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lists_list-response-collection", $defs: { "lists_api-response-common": lists_api$$response$$common, - "lists_created_on": lists_created_on, - "lists_description": lists_description, - "lists_kind": lists_kind, "lists_list": lists_list, "lists_list-response-collection": lists_list$$response$$collection, - "lists_list_id": lists_list_id, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, - "lists_name": lists_name, - "lists_num_items": lists_num_items, - "lists_num_referencing_filters": lists_num_referencing_filters, }, }, annotations: { @@ -337,17 +294,9 @@ export const tools: readonly Tool[] = [ $defs: { "lists_api-response-common": lists_api$$response$$common, "lists_api-response-common-failure": lists_api$$response$$common$$failure, - "lists_created_on": lists_created_on, - "lists_description": lists_description, - "lists_kind": lists_kind, "lists_list": lists_list, "lists_list-response-collection": lists_list$$response$$collection, - "lists_list_id": lists_list_id, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, - "lists_name": lists_name, - "lists_num_items": lists_num_items, - "lists_num_referencing_filters": lists_num_referencing_filters, }, }, request: (args) => ({ @@ -357,15 +306,16 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_list", title: "Get lists", - description: "Fetches all lists in the account.", + description: "Fetches all lists in the account.\n\nGET /accounts/{account_id}/rules/lists", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" } }, "required": [ @@ -377,26 +327,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "lists_account_id": lists_account_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lists_lists-response-collection", $defs: { "lists_api-response-collection": lists_api$$response$$collection, "lists_api-response-common": lists_api$$response$$common, - "lists_created_on": lists_created_on, - "lists_description": lists_description, - "lists_kind": lists_kind, "lists_list": lists_list, - "lists_list_id": lists_list_id, "lists_lists-response-collection": lists_lists$$response$$collection, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, - "lists_name": lists_name, - "lists_num_items": lists_num_items, - "lists_num_referencing_filters": lists_num_referencing_filters, }, }, annotations: { @@ -440,17 +380,9 @@ export const tools: readonly Tool[] = [ "lists_api-response-collection": lists_api$$response$$collection, "lists_api-response-common": lists_api$$response$$common, "lists_api-response-common-failure": lists_api$$response$$common$$failure, - "lists_created_on": lists_created_on, - "lists_description": lists_description, - "lists_kind": lists_kind, "lists_list": lists_list, - "lists_list_id": lists_list_id, "lists_lists-response-collection": lists_lists$$response$$collection, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, - "lists_name": lists_name, - "lists_num_items": lists_num_items, - "lists_num_referencing_filters": lists_num_referencing_filters, }, }, request: (args) => ({ @@ -460,28 +392,29 @@ export const tools: readonly Tool[] = [ { name: "rules_lists_update", title: "Update a list", - description: "Updates the description of a list.", + description: "Updates the description of a list.\n\nPUT /accounts/{account_id}/rules/lists/{list_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/lists_description", - "description": "An informative summary of the list." + "description": "An informative summary of the list.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/lists_account_id", - "description": "The Account ID for this resource." + "description": "The Account ID for this resource.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/lists_list_id", - "description": "The unique ID of the list." + "description": "The unique ID of the list.", + "type": "string" } }, "required": [ @@ -495,27 +428,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "lists_account_id": lists_account_id, - "lists_description": lists_description$, - "lists_list_id": lists_list_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/lists_list-response-collection", $defs: { "lists_api-response-common": lists_api$$response$$common, - "lists_created_on": lists_created_on, - "lists_description": lists_description, - "lists_kind": lists_kind, "lists_list": lists_list, "lists_list-response-collection": lists_list$$response$$collection, - "lists_list_id": lists_list_id, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, - "lists_name": lists_name, - "lists_num_items": lists_num_items, - "lists_num_referencing_filters": lists_num_referencing_filters, }, }, annotations: { @@ -557,17 +478,9 @@ export const tools: readonly Tool[] = [ $defs: { "lists_api-response-common": lists_api$$response$$common, "lists_api-response-common-failure": lists_api$$response$$common$$failure, - "lists_created_on": lists_created_on, - "lists_description": lists_description, - "lists_kind": lists_kind, "lists_list": lists_list, "lists_list-response-collection": lists_list$$response$$collection, - "lists_list_id": lists_list_id, "lists_messages": lists_messages, - "lists_modified_on": lists_modified_on, - "lists_name": lists_name, - "lists_num_items": lists_num_items, - "lists_num_referencing_filters": lists_num_referencing_filters, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/rulesets/entrypoint/tools.ts b/src/generated/forge-mcp/rulesets/entrypoint/tools.ts index 1267300c3..c03e16bc3 100644 --- a/src/generated/forge-mcp/rulesets/entrypoint/tools.ts +++ b/src/generated/forge-mcp/rulesets/entrypoint/tools.ts @@ -18,7 +18,6 @@ import { rulesets_ExecuteOverrides, rulesets_ExecuteRule, rulesets_ExecuteRuleOverrides, - rulesets_ExecuteSensitivityLevel, rulesets_ForceConnectionCloseRule, rulesets_JsChallengeRule, rulesets_LogCustomFieldCookieFields, @@ -35,48 +34,28 @@ import { rulesets_RequestRule, rulesets_ResponseRule, rulesets_ResponseRules, - rulesets_RewriteHeaderExpression, - rulesets_RewriteHeaderOperation, - rulesets_RewriteHeaderValue, rulesets_RewriteHeaders, rulesets_RewriteRule, rulesets_RewriteUri, rulesets_RewriteUriPath, rulesets_RewriteUriQuery, - rulesets_RouteHostHeader, rulesets_RouteOrigin, rulesets_RouteRule, rulesets_RouteSNI, rulesets_Rule, - rulesets_RuleAction, rulesets_RuleCategories, - rulesets_RuleCategory, - rulesets_RuleEnabled, rulesets_RuleExposedCredentialCheck, - rulesets_RuleId, rulesets_RuleLogging, rulesets_RuleRatelimit, rulesets_Ruleset, - rulesets_RulesetId, - rulesets_RulesetKind, - rulesets_RulesetPhase, - rulesets_RulesetVersion, - rulesets_ScoreIncrement, rulesets_ScoreRule, - rulesets_ServeErrorAssetName, - rulesets_ServeErrorContent, - rulesets_ServeErrorContentType, rulesets_ServeErrorRule, - rulesets_ServeErrorStatusCode, - rulesets_SetCacheControlCloudflareOnly, rulesets_SetCacheControlDirective, rulesets_SetCacheControlDirectiveWithQualifiers, rulesets_SetCacheControlDirectiveWithValue, - rulesets_SetCacheControlOperation, rulesets_SetCacheControlRule, rulesets_SetCacheSettingsAdditionalCacheablePorts, rulesets_SetCacheSettingsBrowserTTL, - rulesets_SetCacheSettingsCache, rulesets_SetCacheSettingsCacheKey, rulesets_SetCacheSettingsCacheReserve, rulesets_SetCacheSettingsCustomCacheKey, @@ -86,38 +65,26 @@ import { rulesets_SetCacheSettingsCustomCacheKeyQueryString, rulesets_SetCacheSettingsCustomCacheKeyUser, rulesets_SetCacheSettingsEdgeTTL, - rulesets_SetCacheSettingsOriginCacheControl, - rulesets_SetCacheSettingsOriginErrorPagePassthru, rulesets_SetCacheSettingsOriginRangeRequests, - rulesets_SetCacheSettingsReadTimeout, - rulesets_SetCacheSettingsRespectStrongEtags, rulesets_SetCacheSettingsRule, rulesets_SetCacheSettingsServeStale, rulesets_SetCacheSettingsSharedDictionary, rulesets_SetCacheSettingsStatusCodeTTL, - rulesets_SetCacheSettingsStripETags, - rulesets_SetCacheSettingsStripLastModified, - rulesets_SetCacheSettingsStripSetCookie, rulesets_SetCacheSettingsVary, rulesets_SetCacheSettingsVaryDefault, rulesets_SetCacheSettingsVaryHeader, - rulesets_SetCacheTagsExpression, - rulesets_SetCacheTagsOperation, rulesets_SetCacheTagsRule, rulesets_SetCacheTagsValues, rulesets_SetConfigAutominify, rulesets_SetConfigRule, - rulesets_SkipPhase, rulesets_SkipPhases, rulesets_SkipProducts, rulesets_SkipRule, rulesets_SkipRules, - rulesets_SkipRuleset, rulesets_SkipRulesets, rulesets_TransformResponseHTMLRule, } from "../outputs.js"; import { - rulesets_AccountId, rulesets_BlockRule as rulesets_BlockRule$, rulesets_ChallengeRule as rulesets_ChallengeRule$, rulesets_CompressResponseRule as rulesets_CompressResponseRule$, @@ -127,7 +94,6 @@ import { rulesets_ExecuteOverrides as rulesets_ExecuteOverrides$, rulesets_ExecuteRule as rulesets_ExecuteRule$, rulesets_ExecuteRuleOverrides as rulesets_ExecuteRuleOverrides$, - rulesets_ExecuteSensitivityLevel as rulesets_ExecuteSensitivityLevel$, rulesets_ForceConnectionCloseRule as rulesets_ForceConnectionCloseRule$, rulesets_JsChallengeRule as rulesets_JsChallengeRule$, rulesets_LogCustomFieldCookieFields as rulesets_LogCustomFieldCookieFields$, @@ -143,45 +109,27 @@ import { rulesets_RedirectRule as rulesets_RedirectRule$, rulesets_RequestRule as rulesets_RequestRule$, rulesets_RequestRules, - rulesets_RewriteHeaderExpression as rulesets_RewriteHeaderExpression$, - rulesets_RewriteHeaderOperation as rulesets_RewriteHeaderOperation$, - rulesets_RewriteHeaderValue as rulesets_RewriteHeaderValue$, rulesets_RewriteHeaders as rulesets_RewriteHeaders$, rulesets_RewriteRule as rulesets_RewriteRule$, rulesets_RewriteUri as rulesets_RewriteUri$, rulesets_RewriteUriPath as rulesets_RewriteUriPath$, rulesets_RewriteUriQuery as rulesets_RewriteUriQuery$, - rulesets_RouteHostHeader as rulesets_RouteHostHeader$, rulesets_RouteOrigin as rulesets_RouteOrigin$, rulesets_RouteRule as rulesets_RouteRule$, rulesets_RouteSNI as rulesets_RouteSNI$, rulesets_Rule as rulesets_Rule$, - rulesets_RuleAction as rulesets_RuleAction$, - rulesets_RuleCategory as rulesets_RuleCategory$, - rulesets_RuleEnabled as rulesets_RuleEnabled$, rulesets_RuleExposedCredentialCheck as rulesets_RuleExposedCredentialCheck$, - rulesets_RuleId as rulesets_RuleId$, rulesets_RuleLogging as rulesets_RuleLogging$, rulesets_RuleRatelimit as rulesets_RuleRatelimit$, rulesets_Ruleset as rulesets_Ruleset$, - rulesets_RulesetId as rulesets_RulesetId$, - rulesets_RulesetPhase as rulesets_RulesetPhase$, - rulesets_ScoreIncrement as rulesets_ScoreIncrement$, rulesets_ScoreRule as rulesets_ScoreRule$, - rulesets_ServeErrorAssetName as rulesets_ServeErrorAssetName$, - rulesets_ServeErrorContent as rulesets_ServeErrorContent$, - rulesets_ServeErrorContentType as rulesets_ServeErrorContentType$, rulesets_ServeErrorRule as rulesets_ServeErrorRule$, - rulesets_ServeErrorStatusCode as rulesets_ServeErrorStatusCode$, - rulesets_SetCacheControlCloudflareOnly as rulesets_SetCacheControlCloudflareOnly$, rulesets_SetCacheControlDirective as rulesets_SetCacheControlDirective$, rulesets_SetCacheControlDirectiveWithQualifiers as rulesets_SetCacheControlDirectiveWithQualifiers$, rulesets_SetCacheControlDirectiveWithValue as rulesets_SetCacheControlDirectiveWithValue$, - rulesets_SetCacheControlOperation as rulesets_SetCacheControlOperation$, rulesets_SetCacheControlRule as rulesets_SetCacheControlRule$, rulesets_SetCacheSettingsAdditionalCacheablePorts as rulesets_SetCacheSettingsAdditionalCacheablePorts$, rulesets_SetCacheSettingsBrowserTTL as rulesets_SetCacheSettingsBrowserTTL$, - rulesets_SetCacheSettingsCache as rulesets_SetCacheSettingsCache$, rulesets_SetCacheSettingsCacheKey as rulesets_SetCacheSettingsCacheKey$, rulesets_SetCacheSettingsCacheReserve as rulesets_SetCacheSettingsCacheReserve$, rulesets_SetCacheSettingsCustomCacheKey as rulesets_SetCacheSettingsCustomCacheKey$, @@ -191,33 +139,22 @@ import { rulesets_SetCacheSettingsCustomCacheKeyQueryString as rulesets_SetCacheSettingsCustomCacheKeyQueryString$, rulesets_SetCacheSettingsCustomCacheKeyUser as rulesets_SetCacheSettingsCustomCacheKeyUser$, rulesets_SetCacheSettingsEdgeTTL as rulesets_SetCacheSettingsEdgeTTL$, - rulesets_SetCacheSettingsOriginCacheControl as rulesets_SetCacheSettingsOriginCacheControl$, - rulesets_SetCacheSettingsOriginErrorPagePassthru as rulesets_SetCacheSettingsOriginErrorPagePassthru$, rulesets_SetCacheSettingsOriginRangeRequests as rulesets_SetCacheSettingsOriginRangeRequests$, - rulesets_SetCacheSettingsReadTimeout as rulesets_SetCacheSettingsReadTimeout$, - rulesets_SetCacheSettingsRespectStrongEtags as rulesets_SetCacheSettingsRespectStrongEtags$, rulesets_SetCacheSettingsRule as rulesets_SetCacheSettingsRule$, rulesets_SetCacheSettingsServeStale as rulesets_SetCacheSettingsServeStale$, rulesets_SetCacheSettingsSharedDictionary as rulesets_SetCacheSettingsSharedDictionary$, rulesets_SetCacheSettingsStatusCodeTTL as rulesets_SetCacheSettingsStatusCodeTTL$, - rulesets_SetCacheSettingsStripETags as rulesets_SetCacheSettingsStripETags$, - rulesets_SetCacheSettingsStripLastModified as rulesets_SetCacheSettingsStripLastModified$, - rulesets_SetCacheSettingsStripSetCookie as rulesets_SetCacheSettingsStripSetCookie$, rulesets_SetCacheSettingsVary as rulesets_SetCacheSettingsVary$, rulesets_SetCacheSettingsVaryDefault as rulesets_SetCacheSettingsVaryDefault$, rulesets_SetCacheSettingsVaryHeader as rulesets_SetCacheSettingsVaryHeader$, - rulesets_SetCacheTagsExpression as rulesets_SetCacheTagsExpression$, - rulesets_SetCacheTagsOperation as rulesets_SetCacheTagsOperation$, rulesets_SetCacheTagsRule as rulesets_SetCacheTagsRule$, rulesets_SetCacheTagsValues as rulesets_SetCacheTagsValues$, rulesets_SetConfigAutominify as rulesets_SetConfigAutominify$, rulesets_SetConfigRule as rulesets_SetConfigRule$, - rulesets_SkipPhase as rulesets_SkipPhase$, rulesets_SkipPhases as rulesets_SkipPhases$, rulesets_SkipProducts as rulesets_SkipProducts$, rulesets_SkipRule as rulesets_SkipRule$, rulesets_SkipRules as rulesets_SkipRules$, - rulesets_SkipRuleset as rulesets_SkipRuleset$, rulesets_SkipRulesets as rulesets_SkipRulesets$, rulesets_TransformResponseHTMLRule as rulesets_TransformResponseHTMLRule$, } from "../schemas.js"; @@ -229,11 +166,12 @@ export const tools: readonly Tool[] = [ { name: "rulesets_entrypoint_get", title: "Get an account or zone entry point ruleset", - description: "Fetches the latest version of the account or zone entry point ruleset for a given phase.", + description: "Fetches the latest version of the account or zone entry point ruleset for a given phase.\n\nGET /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -244,12 +182,39 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "ruleset_phase": { - "$ref": "#/$defs/rulesets_RulesetPhase", - "description": "The phase of the ruleset." + "description": "The phase of the ruleset.", + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" } }, "required": [ @@ -263,10 +228,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rulesets_AccountId": rulesets_AccountId, - "rulesets_RulesetPhase": rulesets_RulesetPhase$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -284,13 +246,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -327,7 +322,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -347,48 +341,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -398,33 +372,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -482,13 +445,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -548,7 +544,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -568,48 +563,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -619,33 +594,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -657,7 +621,7 @@ export const tools: readonly Tool[] = [ { name: "rulesets_entrypoint_update", title: "Update an account or zone entry point ruleset", - description: "Updates an account or zone entry point ruleset, creating a new version.", + description: "Updates an account or zone entry point ruleset, creating a new version.\n\nPUT /{account_or_zone}/{account_or_zone_id}/rulesets/phases/{ruleset_phase}/entrypoint", inputSchema: { type: "object", properties: { @@ -679,6 +643,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -689,12 +654,39 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "ruleset_phase": { - "$ref": "#/$defs/rulesets_RulesetPhase", - "description": "The phase of the ruleset." + "description": "The phase of the ruleset.", + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" } }, "required": [ @@ -705,6 +697,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dry_run": { "default": false, @@ -719,8 +712,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "rulesets_AccountId": rulesets_AccountId, "rulesets_BlockRule": rulesets_BlockRule$, "rulesets_ChallengeRule": rulesets_ChallengeRule$, "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, @@ -730,7 +723,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, "rulesets_ExecuteRule": rulesets_ExecuteRule$, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, @@ -746,45 +738,27 @@ export const tools: readonly Tool[] = [ "rulesets_RedirectRule": rulesets_RedirectRule$, "rulesets_RequestRule": rulesets_RequestRule$, "rulesets_RequestRules": rulesets_RequestRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, "rulesets_RewriteRule": rulesets_RewriteRule$, "rulesets_RewriteUri": rulesets_RewriteUri$, "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, "rulesets_RouteOrigin": rulesets_RouteOrigin$, "rulesets_RouteRule": rulesets_RouteRule$, "rulesets_RouteSNI": rulesets_RouteSNI$, "rulesets_Rule": rulesets_Rule$, - "rulesets_RuleAction": rulesets_RuleAction$, - "rulesets_RuleCategory": rulesets_RuleCategory$, - "rulesets_RuleEnabled": rulesets_RuleEnabled$, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, - "rulesets_RuleId": rulesets_RuleId$, "rulesets_RuleLogging": rulesets_RuleLogging$, "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, "rulesets_Ruleset": rulesets_Ruleset$, - "rulesets_RulesetId": rulesets_RulesetId$, - "rulesets_RulesetPhase": rulesets_RulesetPhase$, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, "rulesets_ScoreRule": rulesets_ScoreRule$, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, @@ -794,33 +768,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, "rulesets_SetConfigRule": rulesets_SetConfigRule$, - "rulesets_SkipPhase": rulesets_SkipPhase$, "rulesets_SkipPhases": rulesets_SkipPhases$, "rulesets_SkipProducts": rulesets_SkipProducts$, "rulesets_SkipRule": rulesets_SkipRule$, "rulesets_SkipRules": rulesets_SkipRules$, - "rulesets_SkipRuleset": rulesets_SkipRuleset$, "rulesets_SkipRulesets": rulesets_SkipRulesets$, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, }, @@ -843,13 +806,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -891,7 +887,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -911,48 +906,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -962,33 +937,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -1040,13 +1004,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -1111,7 +1108,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -1131,48 +1127,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -1182,33 +1158,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, diff --git a/src/generated/forge-mcp/rulesets/outputs.ts b/src/generated/forge-mcp/rulesets/outputs.ts index 69d22e5c4..3300ea3e9 100644 --- a/src/generated/forge-mcp/rulesets/outputs.ts +++ b/src/generated/forge-mcp/rulesets/outputs.ts @@ -130,13 +130,6 @@ export const rulesets_CompressResponseRule: JsonSchema = { ] }; -/** - * The schema of `rulesets_Cursor` in responses. - */ -export const rulesets_Cursor: JsonSchema = { - "type": "string" -}; - /** * The schema of `rulesets_DDoSDynamicRule` in responses. */ @@ -171,7 +164,7 @@ export const rulesets_ExecuteCategoryOverrides: JsonSchema = { "action": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleAction" + "type": "string" }, { "type": "string" @@ -181,7 +174,7 @@ export const rulesets_ExecuteCategoryOverrides: JsonSchema = { "category": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleCategory" + "type": "string" }, { "type": "string" @@ -191,7 +184,7 @@ export const rulesets_ExecuteCategoryOverrides: JsonSchema = { "enabled": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleEnabled" + "type": "boolean" }, { "type": "boolean" @@ -201,7 +194,13 @@ export const rulesets_ExecuteCategoryOverrides: JsonSchema = { "sensitivity_level": { "allOf": [ { - "$ref": "#/$defs/rulesets_ExecuteSensitivityLevel" + "enum": [ + "default", + "medium", + "low", + "eoff" + ], + "type": "string" }, { "type": "string" @@ -241,7 +240,7 @@ export const rulesets_ExecuteOverrides: JsonSchema = { "action": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleAction" + "type": "string" }, { "type": "string" @@ -254,7 +253,7 @@ export const rulesets_ExecuteOverrides: JsonSchema = { "enabled": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleEnabled" + "type": "boolean" }, { "type": "boolean" @@ -267,7 +266,13 @@ export const rulesets_ExecuteOverrides: JsonSchema = { "sensitivity_level": { "allOf": [ { - "$ref": "#/$defs/rulesets_ExecuteSensitivityLevel" + "enum": [ + "default", + "medium", + "low", + "eoff" + ], + "type": "string" }, { "type": "string" @@ -299,7 +304,7 @@ export const rulesets_ExecuteRule: JsonSchema = { "id": { "allOf": [ { - "$ref": "#/$defs/rulesets_RulesetId" + "type": "string" }, { "type": "string" @@ -336,7 +341,7 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "action": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleAction" + "type": "string" }, { "type": "string" @@ -346,7 +351,7 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "enabled": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleEnabled" + "type": "boolean" }, { "type": "boolean" @@ -356,7 +361,7 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "id": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleId" + "type": "string" }, { "type": "string" @@ -369,7 +374,13 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "sensitivity_level": { "allOf": [ { - "$ref": "#/$defs/rulesets_ExecuteSensitivityLevel" + "enum": [ + "default", + "medium", + "low", + "eoff" + ], + "type": "string" }, { "type": "string" @@ -386,19 +397,6 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "type": "array" }; -/** - * The schema of `rulesets_ExecuteSensitivityLevel` in responses. - */ -export const rulesets_ExecuteSensitivityLevel: JsonSchema = { - "enum": [ - "default", - "medium", - "low", - "eoff" - ], - "type": "string" -}; - /** * The schema of `rulesets_ForceConnectionCloseRule` in responses. */ @@ -865,7 +863,7 @@ export const rulesets_ResultInfo: JsonSchema = { "after": { "allOf": [ { - "$ref": "#/$defs/rulesets_Cursor" + "type": "string" }, { "type": "string" @@ -882,27 +880,6 @@ export const rulesets_ResultInfo: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_RewriteHeaderExpression` in responses. - */ -export const rulesets_RewriteHeaderExpression: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rulesets_RewriteHeaderOperation` in responses. - */ -export const rulesets_RewriteHeaderOperation: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rulesets_RewriteHeaderValue` in responses. - */ -export const rulesets_RewriteHeaderValue: JsonSchema = { - "type": "string" -}; - /** * The schema of `rulesets_RewriteHeaders` in responses. */ @@ -914,7 +891,7 @@ export const rulesets_RewriteHeaders: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "type": "string" }, { "enum": [ @@ -925,7 +902,7 @@ export const rulesets_RewriteHeaders: JsonSchema = { ] }, "value": { - "$ref": "#/$defs/rulesets_RewriteHeaderValue" + "type": "string" } }, "required": [ @@ -937,12 +914,12 @@ export const rulesets_RewriteHeaders: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_RewriteHeaderExpression" + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "type": "string" }, { "enum": [ @@ -964,7 +941,7 @@ export const rulesets_RewriteHeaders: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "type": "string" }, { "enum": [ @@ -975,7 +952,7 @@ export const rulesets_RewriteHeaders: JsonSchema = { ] }, "value": { - "$ref": "#/$defs/rulesets_RewriteHeaderValue" + "type": "string" } }, "required": [ @@ -987,12 +964,12 @@ export const rulesets_RewriteHeaders: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_RewriteHeaderExpression" + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "type": "string" }, { "enum": [ @@ -1014,7 +991,7 @@ export const rulesets_RewriteHeaders: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "type": "string" }, { "enum": [ @@ -1143,13 +1120,6 @@ export const rulesets_RewriteUriQuery: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_RouteHostHeader` in responses. - */ -export const rulesets_RouteHostHeader: JsonSchema = { - "type": "string" -}; - /** * The schema of `rulesets_RouteOrigin` in responses. */ @@ -1184,7 +1154,7 @@ export const rulesets_RouteRule: JsonSchema = { "action_parameters": { "properties": { "host_header": { - "$ref": "#/$defs/rulesets_RouteHostHeader" + "type": "string" }, "origin": { "$ref": "#/$defs/rulesets_RouteOrigin" @@ -1225,7 +1195,7 @@ export const rulesets_RouteSNI: JsonSchema = { export const rulesets_Rule: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/rulesets_RuleAction" + "type": "string" }, "action_parameters": { "type": "object" @@ -1239,7 +1209,7 @@ export const rulesets_Rule: JsonSchema = { "enabled": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleEnabled" + "type": "boolean" }, { "type": "boolean" @@ -1253,7 +1223,7 @@ export const rulesets_Rule: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/rulesets_RuleId" + "type": "string" }, "last_updated": { "format": "date-time", @@ -1279,38 +1249,17 @@ export const rulesets_Rule: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_RuleAction` in responses. - */ -export const rulesets_RuleAction: JsonSchema = { - "type": "string" -}; - /** * The schema of `rulesets_RuleCategories` in responses. */ export const rulesets_RuleCategories: JsonSchema = { "items": { - "$ref": "#/$defs/rulesets_RuleCategory" + "type": "string" }, "minItems": 1, "type": "array" }; -/** - * The schema of `rulesets_RuleCategory` in responses. - */ -export const rulesets_RuleCategory: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rulesets_RuleEnabled` in responses. - */ -export const rulesets_RuleEnabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `rulesets_RuleExposedCredentialCheck` in responses. */ @@ -1330,13 +1279,6 @@ export const rulesets_RuleExposedCredentialCheck: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_RuleId` in responses. - */ -export const rulesets_RuleId: JsonSchema = { - "type": "string" -}; - /** * The schema of `rulesets_RuleLogging` in responses. */ @@ -1404,7 +1346,7 @@ export const rulesets_Ruleset: JsonSchema = { "id": { "allOf": [ { - "$ref": "#/$defs/rulesets_RulesetId" + "type": "string" }, { "type": "string" @@ -1421,7 +1363,7 @@ export const rulesets_Ruleset: JsonSchema = { "version": { "allOf": [ { - "$ref": "#/$defs/rulesets_RulesetVersion" + "type": "string" }, { "type": "string" @@ -1437,74 +1379,6 @@ export const rulesets_Ruleset: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_RulesetId` in responses. - */ -export const rulesets_RulesetId: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rulesets_RulesetKind` in responses. - */ -export const rulesets_RulesetKind: JsonSchema = { - "enum": [ - "managed", - "custom", - "root", - "zone" - ], - "type": "string" -}; - -/** - * The schema of `rulesets_RulesetPhase` in responses. - */ -export const rulesets_RulesetPhase: JsonSchema = { - "enum": [ - "ddos_l4", - "ddos_l7", - "http_config_settings", - "http_custom_errors", - "http_log_custom_fields", - "http_ratelimit", - "http_request_cache_settings", - "http_request_dynamic_redirect", - "http_request_firewall_custom", - "http_request_firewall_managed", - "http_request_late_transform", - "http_request_origin", - "http_request_redirect", - "http_request_sanitize", - "http_request_sbfm", - "http_request_transform", - "http_response_cache_settings", - "http_response_compression", - "http_response_firewall_custom", - "http_response_firewall_managed", - "http_response_headers_transform", - "magic_transit", - "magic_transit_ids_managed", - "magic_transit_managed", - "magic_transit_ratelimit" - ], - "type": "string" -}; - -/** - * The schema of `rulesets_RulesetVersion` in responses. - */ -export const rulesets_RulesetVersion: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rulesets_ScoreIncrement` in responses. - */ -export const rulesets_ScoreIncrement: JsonSchema = { - "type": "integer" -}; - /** * The schema of `rulesets_ScoreRule` in responses. */ @@ -1524,7 +1398,7 @@ export const rulesets_ScoreRule: JsonSchema = { "action_parameters": { "properties": { "increment": { - "$ref": "#/$defs/rulesets_ScoreIncrement" + "type": "integer" } }, "required": [ @@ -1541,33 +1415,6 @@ export const rulesets_ScoreRule: JsonSchema = { ] }; -/** - * The schema of `rulesets_ServeErrorAssetName` in responses. - */ -export const rulesets_ServeErrorAssetName: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rulesets_ServeErrorContent` in responses. - */ -export const rulesets_ServeErrorContent: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rulesets_ServeErrorContentType` in responses. - */ -export const rulesets_ServeErrorContentType: JsonSchema = { - "enum": [ - "application/json", - "text/html", - "text/plain", - "text/xml" - ], - "type": "string" -}; - /** * The schema of `rulesets_ServeErrorRule` in responses. */ @@ -1589,10 +1436,16 @@ export const rulesets_ServeErrorRule: JsonSchema = { { "properties": { "content_type": { - "$ref": "#/$defs/rulesets_ServeErrorContentType" + "enum": [ + "application/json", + "text/html", + "text/plain", + "text/xml" + ], + "type": "string" }, "status_code": { - "$ref": "#/$defs/rulesets_ServeErrorStatusCode" + "type": "integer" } }, "required": [ @@ -1605,7 +1458,7 @@ export const rulesets_ServeErrorRule: JsonSchema = { { "properties": { "content": { - "$ref": "#/$defs/rulesets_ServeErrorContent" + "type": "string" } }, "required": [ @@ -1616,7 +1469,7 @@ export const rulesets_ServeErrorRule: JsonSchema = { { "properties": { "asset_name": { - "$ref": "#/$defs/rulesets_ServeErrorAssetName" + "type": "string" } }, "required": [ @@ -1637,20 +1490,6 @@ export const rulesets_ServeErrorRule: JsonSchema = { ] }; -/** - * The schema of `rulesets_ServeErrorStatusCode` in responses. - */ -export const rulesets_ServeErrorStatusCode: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `rulesets_SetCacheControlCloudflareOnly` in responses. - */ -export const rulesets_SetCacheControlCloudflareOnly: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheControlDirective` in responses. */ @@ -1659,12 +1498,16 @@ export const rulesets_SetCacheControlDirective: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1683,12 +1526,16 @@ export const rulesets_SetCacheControlDirective: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1715,12 +1562,16 @@ export const rulesets_SetCacheControlDirectiveWithQualifiers: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1745,12 +1596,16 @@ export const rulesets_SetCacheControlDirectiveWithQualifiers: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1777,12 +1632,16 @@ export const rulesets_SetCacheControlDirectiveWithValue: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1805,12 +1664,16 @@ export const rulesets_SetCacheControlDirectiveWithValue: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly" + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1829,17 +1692,6 @@ export const rulesets_SetCacheControlDirectiveWithValue: JsonSchema = { ] }; -/** - * The schema of `rulesets_SetCacheControlOperation` in responses. - */ -export const rulesets_SetCacheControlOperation: JsonSchema = { - "enum": [ - "set", - "remove" - ], - "type": "string" -}; - /** * The schema of `rulesets_SetCacheControlRule` in responses. */ @@ -1945,13 +1797,6 @@ export const rulesets_SetCacheSettingsBrowserTTL: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SetCacheSettingsCache` in responses. - */ -export const rulesets_SetCacheSettingsCache: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheSettingsCacheKey` in responses. */ @@ -2176,21 +2021,6 @@ export const rulesets_SetCacheSettingsEdgeTTL: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SetCacheSettingsOriginCacheControl` in responses. - */ -export const rulesets_SetCacheSettingsOriginCacheControl: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `rulesets_SetCacheSettingsOriginErrorPagePassthru` in - * responses. - */ -export const rulesets_SetCacheSettingsOriginErrorPagePassthru: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheSettingsOriginRangeRequests` in responses. */ @@ -2211,20 +2041,6 @@ export const rulesets_SetCacheSettingsOriginRangeRequests: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SetCacheSettingsReadTimeout` in responses. - */ -export const rulesets_SetCacheSettingsReadTimeout: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `rulesets_SetCacheSettingsRespectStrongEtags` in responses. - */ -export const rulesets_SetCacheSettingsRespectStrongEtags: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheSettingsRule` in responses. */ @@ -2250,7 +2066,7 @@ export const rulesets_SetCacheSettingsRule: JsonSchema = { "$ref": "#/$defs/rulesets_SetCacheSettingsBrowserTTL" }, "cache": { - "$ref": "#/$defs/rulesets_SetCacheSettingsCache" + "type": "boolean" }, "cache_key": { "$ref": "#/$defs/rulesets_SetCacheSettingsCacheKey" @@ -2262,19 +2078,19 @@ export const rulesets_SetCacheSettingsRule: JsonSchema = { "$ref": "#/$defs/rulesets_SetCacheSettingsEdgeTTL" }, "origin_cache_control": { - "$ref": "#/$defs/rulesets_SetCacheSettingsOriginCacheControl" + "type": "boolean" }, "origin_error_page_passthru": { - "$ref": "#/$defs/rulesets_SetCacheSettingsOriginErrorPagePassthru" + "type": "boolean" }, "origin_range_requests": { "$ref": "#/$defs/rulesets_SetCacheSettingsOriginRangeRequests" }, "read_timeout": { - "$ref": "#/$defs/rulesets_SetCacheSettingsReadTimeout" + "type": "integer" }, "respect_strong_etags": { - "$ref": "#/$defs/rulesets_SetCacheSettingsRespectStrongEtags" + "type": "boolean" }, "serve_stale": { "$ref": "#/$defs/rulesets_SetCacheSettingsServeStale" @@ -2283,13 +2099,13 @@ export const rulesets_SetCacheSettingsRule: JsonSchema = { "$ref": "#/$defs/rulesets_SetCacheSettingsSharedDictionary" }, "strip_etags": { - "$ref": "#/$defs/rulesets_SetCacheSettingsStripETags" + "type": "boolean" }, "strip_last_modified": { - "$ref": "#/$defs/rulesets_SetCacheSettingsStripLastModified" + "type": "boolean" }, "strip_set_cookie": { - "$ref": "#/$defs/rulesets_SetCacheSettingsStripSetCookie" + "type": "boolean" }, "vary": { "$ref": "#/$defs/rulesets_SetCacheSettingsVary" @@ -2366,27 +2182,6 @@ export const rulesets_SetCacheSettingsStatusCodeTTL: JsonSchema = { "type": "array" }; -/** - * The schema of `rulesets_SetCacheSettingsStripETags` in responses. - */ -export const rulesets_SetCacheSettingsStripETags: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `rulesets_SetCacheSettingsStripLastModified` in responses. - */ -export const rulesets_SetCacheSettingsStripLastModified: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `rulesets_SetCacheSettingsStripSetCookie` in responses. - */ -export const rulesets_SetCacheSettingsStripSetCookie: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheSettingsVary` in responses. */ @@ -2459,25 +2254,6 @@ export const rulesets_SetCacheSettingsVaryHeader: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SetCacheTagsExpression` in responses. - */ -export const rulesets_SetCacheTagsExpression: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rulesets_SetCacheTagsOperation` in responses. - */ -export const rulesets_SetCacheTagsOperation: JsonSchema = { - "enum": [ - "add", - "remove", - "set" - ], - "type": "string" -}; - /** * The schema of `rulesets_SetCacheTagsRule` in responses. */ @@ -2501,7 +2277,12 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2524,12 +2305,17 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_SetCacheTagsExpression" + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2551,7 +2337,12 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2574,12 +2365,17 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_SetCacheTagsExpression" + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2601,7 +2397,12 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2624,12 +2425,17 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_SetCacheTagsExpression" + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2835,16 +2641,6 @@ export const rulesets_SetConfigRule: JsonSchema = { ] }; -/** - * The schema of `rulesets_SkipPhase` in responses. - */ -export const rulesets_SkipPhase: JsonSchema = { - "enum": [ - "current" - ], - "type": "string" -}; - /** * The schema of `rulesets_SkipPhases` in responses. */ @@ -2852,7 +2648,34 @@ export const rulesets_SkipPhases: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, { "type": "string" @@ -2902,7 +2725,10 @@ export const rulesets_SkipRule: JsonSchema = { "action_parameters": { "properties": { "phase": { - "$ref": "#/$defs/rulesets_SkipPhase" + "enum": [ + "current" + ], + "type": "string" }, "phases": { "$ref": "#/$defs/rulesets_SkipPhases" @@ -2914,7 +2740,10 @@ export const rulesets_SkipRule: JsonSchema = { "$ref": "#/$defs/rulesets_SkipRules" }, "ruleset": { - "$ref": "#/$defs/rulesets_SkipRuleset" + "enum": [ + "current" + ], + "type": "string" }, "rulesets": { "$ref": "#/$defs/rulesets_SkipRulesets" @@ -2939,7 +2768,7 @@ export const rulesets_SkipRules: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleId" + "type": "string" }, { "type": "string" @@ -2952,16 +2781,6 @@ export const rulesets_SkipRules: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SkipRuleset` in responses. - */ -export const rulesets_SkipRuleset: JsonSchema = { - "enum": [ - "current" - ], - "type": "string" -}; - /** * The schema of `rulesets_SkipRulesets` in responses. */ @@ -2969,7 +2788,7 @@ export const rulesets_SkipRulesets: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/rulesets_RulesetId" + "type": "string" }, { "type": "string" diff --git a/src/generated/forge-mcp/rulesets/rules/tools.ts b/src/generated/forge-mcp/rulesets/rules/tools.ts index 024e08ac1..ea5ee93d3 100644 --- a/src/generated/forge-mcp/rulesets/rules/tools.ts +++ b/src/generated/forge-mcp/rulesets/rules/tools.ts @@ -18,7 +18,6 @@ import { rulesets_ExecuteOverrides, rulesets_ExecuteRule, rulesets_ExecuteRuleOverrides, - rulesets_ExecuteSensitivityLevel, rulesets_ForceConnectionCloseRule, rulesets_JsChallengeRule, rulesets_LogCustomFieldCookieFields, @@ -35,48 +34,28 @@ import { rulesets_RequestRule, rulesets_ResponseRule, rulesets_ResponseRules, - rulesets_RewriteHeaderExpression, - rulesets_RewriteHeaderOperation, - rulesets_RewriteHeaderValue, rulesets_RewriteHeaders, rulesets_RewriteRule, rulesets_RewriteUri, rulesets_RewriteUriPath, rulesets_RewriteUriQuery, - rulesets_RouteHostHeader, rulesets_RouteOrigin, rulesets_RouteRule, rulesets_RouteSNI, rulesets_Rule, - rulesets_RuleAction, rulesets_RuleCategories, - rulesets_RuleCategory, - rulesets_RuleEnabled, rulesets_RuleExposedCredentialCheck, - rulesets_RuleId, rulesets_RuleLogging, rulesets_RuleRatelimit, rulesets_Ruleset, - rulesets_RulesetId, - rulesets_RulesetKind, - rulesets_RulesetPhase, - rulesets_RulesetVersion, - rulesets_ScoreIncrement, rulesets_ScoreRule, - rulesets_ServeErrorAssetName, - rulesets_ServeErrorContent, - rulesets_ServeErrorContentType, rulesets_ServeErrorRule, - rulesets_ServeErrorStatusCode, - rulesets_SetCacheControlCloudflareOnly, rulesets_SetCacheControlDirective, rulesets_SetCacheControlDirectiveWithQualifiers, rulesets_SetCacheControlDirectiveWithValue, - rulesets_SetCacheControlOperation, rulesets_SetCacheControlRule, rulesets_SetCacheSettingsAdditionalCacheablePorts, rulesets_SetCacheSettingsBrowserTTL, - rulesets_SetCacheSettingsCache, rulesets_SetCacheSettingsCacheKey, rulesets_SetCacheSettingsCacheReserve, rulesets_SetCacheSettingsCustomCacheKey, @@ -86,38 +65,26 @@ import { rulesets_SetCacheSettingsCustomCacheKeyQueryString, rulesets_SetCacheSettingsCustomCacheKeyUser, rulesets_SetCacheSettingsEdgeTTL, - rulesets_SetCacheSettingsOriginCacheControl, - rulesets_SetCacheSettingsOriginErrorPagePassthru, rulesets_SetCacheSettingsOriginRangeRequests, - rulesets_SetCacheSettingsReadTimeout, - rulesets_SetCacheSettingsRespectStrongEtags, rulesets_SetCacheSettingsRule, rulesets_SetCacheSettingsServeStale, rulesets_SetCacheSettingsSharedDictionary, rulesets_SetCacheSettingsStatusCodeTTL, - rulesets_SetCacheSettingsStripETags, - rulesets_SetCacheSettingsStripLastModified, - rulesets_SetCacheSettingsStripSetCookie, rulesets_SetCacheSettingsVary, rulesets_SetCacheSettingsVaryDefault, rulesets_SetCacheSettingsVaryHeader, - rulesets_SetCacheTagsExpression, - rulesets_SetCacheTagsOperation, rulesets_SetCacheTagsRule, rulesets_SetCacheTagsValues, rulesets_SetConfigAutominify, rulesets_SetConfigRule, - rulesets_SkipPhase, rulesets_SkipPhases, rulesets_SkipProducts, rulesets_SkipRule, rulesets_SkipRules, - rulesets_SkipRuleset, rulesets_SkipRulesets, rulesets_TransformResponseHTMLRule, } from "../outputs.js"; import { - rulesets_AccountId, rulesets_BlockRule as rulesets_BlockRule$, rulesets_ChallengeRule as rulesets_ChallengeRule$, rulesets_CompressResponseRule as rulesets_CompressResponseRule$, @@ -127,7 +94,6 @@ import { rulesets_ExecuteOverrides as rulesets_ExecuteOverrides$, rulesets_ExecuteRule as rulesets_ExecuteRule$, rulesets_ExecuteRuleOverrides as rulesets_ExecuteRuleOverrides$, - rulesets_ExecuteSensitivityLevel as rulesets_ExecuteSensitivityLevel$, rulesets_ForceConnectionCloseRule as rulesets_ForceConnectionCloseRule$, rulesets_JsChallengeRule as rulesets_JsChallengeRule$, rulesets_LogCustomFieldCookieFields as rulesets_LogCustomFieldCookieFields$, @@ -142,44 +108,26 @@ import { rulesets_RedirectFromValue as rulesets_RedirectFromValue$, rulesets_RedirectRule as rulesets_RedirectRule$, rulesets_RequestRule as rulesets_RequestRule$, - rulesets_RewriteHeaderExpression as rulesets_RewriteHeaderExpression$, - rulesets_RewriteHeaderOperation as rulesets_RewriteHeaderOperation$, - rulesets_RewriteHeaderValue as rulesets_RewriteHeaderValue$, rulesets_RewriteHeaders as rulesets_RewriteHeaders$, rulesets_RewriteRule as rulesets_RewriteRule$, rulesets_RewriteUri as rulesets_RewriteUri$, rulesets_RewriteUriPath as rulesets_RewriteUriPath$, rulesets_RewriteUriQuery as rulesets_RewriteUriQuery$, - rulesets_RouteHostHeader as rulesets_RouteHostHeader$, rulesets_RouteOrigin as rulesets_RouteOrigin$, rulesets_RouteRule as rulesets_RouteRule$, rulesets_RouteSNI as rulesets_RouteSNI$, rulesets_Rule as rulesets_Rule$, - rulesets_RuleAction as rulesets_RuleAction$, - rulesets_RuleCategory as rulesets_RuleCategory$, - rulesets_RuleEnabled as rulesets_RuleEnabled$, rulesets_RuleExposedCredentialCheck as rulesets_RuleExposedCredentialCheck$, - rulesets_RuleId as rulesets_RuleId$, rulesets_RuleLogging as rulesets_RuleLogging$, rulesets_RuleRatelimit as rulesets_RuleRatelimit$, - rulesets_RulesetId as rulesets_RulesetId$, - rulesets_RulesetPhase as rulesets_RulesetPhase$, - rulesets_ScoreIncrement as rulesets_ScoreIncrement$, rulesets_ScoreRule as rulesets_ScoreRule$, - rulesets_ServeErrorAssetName as rulesets_ServeErrorAssetName$, - rulesets_ServeErrorContent as rulesets_ServeErrorContent$, - rulesets_ServeErrorContentType as rulesets_ServeErrorContentType$, rulesets_ServeErrorRule as rulesets_ServeErrorRule$, - rulesets_ServeErrorStatusCode as rulesets_ServeErrorStatusCode$, - rulesets_SetCacheControlCloudflareOnly as rulesets_SetCacheControlCloudflareOnly$, rulesets_SetCacheControlDirective as rulesets_SetCacheControlDirective$, rulesets_SetCacheControlDirectiveWithQualifiers as rulesets_SetCacheControlDirectiveWithQualifiers$, rulesets_SetCacheControlDirectiveWithValue as rulesets_SetCacheControlDirectiveWithValue$, - rulesets_SetCacheControlOperation as rulesets_SetCacheControlOperation$, rulesets_SetCacheControlRule as rulesets_SetCacheControlRule$, rulesets_SetCacheSettingsAdditionalCacheablePorts as rulesets_SetCacheSettingsAdditionalCacheablePorts$, rulesets_SetCacheSettingsBrowserTTL as rulesets_SetCacheSettingsBrowserTTL$, - rulesets_SetCacheSettingsCache as rulesets_SetCacheSettingsCache$, rulesets_SetCacheSettingsCacheKey as rulesets_SetCacheSettingsCacheKey$, rulesets_SetCacheSettingsCacheReserve as rulesets_SetCacheSettingsCacheReserve$, rulesets_SetCacheSettingsCustomCacheKey as rulesets_SetCacheSettingsCustomCacheKey$, @@ -189,33 +137,22 @@ import { rulesets_SetCacheSettingsCustomCacheKeyQueryString as rulesets_SetCacheSettingsCustomCacheKeyQueryString$, rulesets_SetCacheSettingsCustomCacheKeyUser as rulesets_SetCacheSettingsCustomCacheKeyUser$, rulesets_SetCacheSettingsEdgeTTL as rulesets_SetCacheSettingsEdgeTTL$, - rulesets_SetCacheSettingsOriginCacheControl as rulesets_SetCacheSettingsOriginCacheControl$, - rulesets_SetCacheSettingsOriginErrorPagePassthru as rulesets_SetCacheSettingsOriginErrorPagePassthru$, rulesets_SetCacheSettingsOriginRangeRequests as rulesets_SetCacheSettingsOriginRangeRequests$, - rulesets_SetCacheSettingsReadTimeout as rulesets_SetCacheSettingsReadTimeout$, - rulesets_SetCacheSettingsRespectStrongEtags as rulesets_SetCacheSettingsRespectStrongEtags$, rulesets_SetCacheSettingsRule as rulesets_SetCacheSettingsRule$, rulesets_SetCacheSettingsServeStale as rulesets_SetCacheSettingsServeStale$, rulesets_SetCacheSettingsSharedDictionary as rulesets_SetCacheSettingsSharedDictionary$, rulesets_SetCacheSettingsStatusCodeTTL as rulesets_SetCacheSettingsStatusCodeTTL$, - rulesets_SetCacheSettingsStripETags as rulesets_SetCacheSettingsStripETags$, - rulesets_SetCacheSettingsStripLastModified as rulesets_SetCacheSettingsStripLastModified$, - rulesets_SetCacheSettingsStripSetCookie as rulesets_SetCacheSettingsStripSetCookie$, rulesets_SetCacheSettingsVary as rulesets_SetCacheSettingsVary$, rulesets_SetCacheSettingsVaryDefault as rulesets_SetCacheSettingsVaryDefault$, rulesets_SetCacheSettingsVaryHeader as rulesets_SetCacheSettingsVaryHeader$, - rulesets_SetCacheTagsExpression as rulesets_SetCacheTagsExpression$, - rulesets_SetCacheTagsOperation as rulesets_SetCacheTagsOperation$, rulesets_SetCacheTagsRule as rulesets_SetCacheTagsRule$, rulesets_SetCacheTagsValues as rulesets_SetCacheTagsValues$, rulesets_SetConfigAutominify as rulesets_SetConfigAutominify$, rulesets_SetConfigRule as rulesets_SetConfigRule$, - rulesets_SkipPhase as rulesets_SkipPhase$, rulesets_SkipPhases as rulesets_SkipPhases$, rulesets_SkipProducts as rulesets_SkipProducts$, rulesets_SkipRule as rulesets_SkipRule$, rulesets_SkipRules as rulesets_SkipRules$, - rulesets_SkipRuleset as rulesets_SkipRuleset$, rulesets_SkipRulesets as rulesets_SkipRulesets$, rulesets_TransformResponseHTMLRule as rulesets_TransformResponseHTMLRule$, } from "../schemas.js"; @@ -228,7 +165,7 @@ export const tools: readonly Tool[] = [ { name: "rulesets_rules_create", title: "Create an account or zone ruleset rule", - description: "Adds a new rule to an account or zone ruleset. The rule will be added to the end of the existing list of rules in the ruleset by default.", + description: "Adds a new rule to an account or zone ruleset. The rule will be added to the end of the existing list of rules in the ruleset by default.\n\nPOST /{account_or_zone}/{account_or_zone_id}/rulesets/{ruleset_id}/rules", inputSchema: { type: "object", properties: { @@ -297,6 +234,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -307,12 +245,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "description": "The unique ID of the ruleset.", + "type": "string" } }, "required": [ @@ -323,6 +261,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dry_run": { "default": false, @@ -337,8 +276,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "rulesets_AccountId": rulesets_AccountId, "rulesets_BlockRule": rulesets_BlockRule$, "rulesets_ChallengeRule": rulesets_ChallengeRule$, "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, @@ -348,7 +287,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, "rulesets_ExecuteRule": rulesets_ExecuteRule$, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, @@ -363,45 +301,27 @@ export const tools: readonly Tool[] = [ "rulesets_RedirectFromValue": rulesets_RedirectFromValue$, "rulesets_RedirectRule": rulesets_RedirectRule$, "rulesets_RequestRule": rulesets_RequestRule$, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, "rulesets_RewriteRule": rulesets_RewriteRule$, "rulesets_RewriteUri": rulesets_RewriteUri$, "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, "rulesets_RouteOrigin": rulesets_RouteOrigin$, "rulesets_RouteRule": rulesets_RouteRule$, "rulesets_RouteSNI": rulesets_RouteSNI$, "rulesets_Rule": rulesets_Rule$, - "rulesets_RuleAction": rulesets_RuleAction$, - "rulesets_RuleCategory": rulesets_RuleCategory$, - "rulesets_RuleEnabled": rulesets_RuleEnabled$, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, - "rulesets_RuleId": rulesets_RuleId$, "rulesets_RuleLogging": rulesets_RuleLogging$, "rulesets_RulePosition": rulesets_RulePosition, "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, - "rulesets_RulesetId": rulesets_RulesetId$, - "rulesets_RulesetPhase": rulesets_RulesetPhase$, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, "rulesets_ScoreRule": rulesets_ScoreRule$, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, @@ -411,33 +331,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, "rulesets_SetConfigRule": rulesets_SetConfigRule$, - "rulesets_SkipPhase": rulesets_SkipPhase$, "rulesets_SkipPhases": rulesets_SkipPhases$, "rulesets_SkipProducts": rulesets_SkipProducts$, "rulesets_SkipRule": rulesets_SkipRule$, "rulesets_SkipRules": rulesets_SkipRules$, - "rulesets_SkipRuleset": rulesets_SkipRuleset$, "rulesets_SkipRulesets": rulesets_SkipRulesets$, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, }, @@ -460,13 +369,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -508,7 +450,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -528,48 +469,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -579,33 +500,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -657,13 +567,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -728,7 +671,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -748,48 +690,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -799,33 +721,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -841,11 +752,12 @@ export const tools: readonly Tool[] = [ { name: "rulesets_rules_delete", title: "Delete an account or zone ruleset rule", - description: "Deletes an existing rule from an account or zone ruleset.", + description: "Deletes an existing rule from an account or zone ruleset.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/rulesets/{ruleset_id}/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -856,16 +768,16 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/rulesets_RuleId", - "description": "The unique ID of the rule." + "description": "The unique ID of the rule.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "description": "The unique ID of the ruleset.", + "type": "string" } }, "required": [ @@ -877,6 +789,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dry_run": { "default": false, @@ -890,11 +803,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rulesets_AccountId": rulesets_AccountId, - "rulesets_RuleId": rulesets_RuleId$, - "rulesets_RulesetId": rulesets_RulesetId$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -914,13 +823,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -962,7 +904,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -982,48 +923,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -1033,33 +954,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -1111,13 +1021,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -1182,7 +1125,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -1202,48 +1144,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -1253,33 +1175,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -1294,7 +1205,7 @@ export const tools: readonly Tool[] = [ { name: "rulesets_rules_update", title: "Update an account or zone ruleset rule", - description: "Updates an existing rule in an account or zone ruleset.", + description: "Updates an existing rule in an account or zone ruleset.\n\nPATCH /{account_or_zone}/{account_or_zone_id}/rulesets/{ruleset_id}/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -1363,6 +1274,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -1373,16 +1285,16 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/rulesets_RuleId", - "description": "The unique ID of the rule." + "description": "The unique ID of the rule.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "description": "The unique ID of the ruleset.", + "type": "string" } }, "required": [ @@ -1394,6 +1306,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dry_run": { "default": false, @@ -1408,8 +1321,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "rulesets_AccountId": rulesets_AccountId, "rulesets_BlockRule": rulesets_BlockRule$, "rulesets_ChallengeRule": rulesets_ChallengeRule$, "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, @@ -1419,7 +1332,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, "rulesets_ExecuteRule": rulesets_ExecuteRule$, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, @@ -1434,45 +1346,27 @@ export const tools: readonly Tool[] = [ "rulesets_RedirectFromValue": rulesets_RedirectFromValue$, "rulesets_RedirectRule": rulesets_RedirectRule$, "rulesets_RequestRule": rulesets_RequestRule$, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, "rulesets_RewriteRule": rulesets_RewriteRule$, "rulesets_RewriteUri": rulesets_RewriteUri$, "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, "rulesets_RouteOrigin": rulesets_RouteOrigin$, "rulesets_RouteRule": rulesets_RouteRule$, "rulesets_RouteSNI": rulesets_RouteSNI$, "rulesets_Rule": rulesets_Rule$, - "rulesets_RuleAction": rulesets_RuleAction$, - "rulesets_RuleCategory": rulesets_RuleCategory$, - "rulesets_RuleEnabled": rulesets_RuleEnabled$, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, - "rulesets_RuleId": rulesets_RuleId$, "rulesets_RuleLogging": rulesets_RuleLogging$, "rulesets_RulePosition": rulesets_RulePosition, "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, - "rulesets_RulesetId": rulesets_RulesetId$, - "rulesets_RulesetPhase": rulesets_RulesetPhase$, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, "rulesets_ScoreRule": rulesets_ScoreRule$, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, @@ -1482,33 +1376,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, "rulesets_SetConfigRule": rulesets_SetConfigRule$, - "rulesets_SkipPhase": rulesets_SkipPhase$, "rulesets_SkipPhases": rulesets_SkipPhases$, "rulesets_SkipProducts": rulesets_SkipProducts$, "rulesets_SkipRule": rulesets_SkipRule$, "rulesets_SkipRules": rulesets_SkipRules$, - "rulesets_SkipRuleset": rulesets_SkipRuleset$, "rulesets_SkipRulesets": rulesets_SkipRulesets$, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, }, @@ -1531,13 +1414,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -1579,7 +1495,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -1599,48 +1514,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -1650,33 +1545,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -1728,13 +1612,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -1799,7 +1716,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -1819,48 +1735,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -1870,33 +1766,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, diff --git a/src/generated/forge-mcp/rulesets/schemas.ts b/src/generated/forge-mcp/rulesets/schemas.ts index 618a57833..6685795dc 100644 --- a/src/generated/forge-mcp/rulesets/schemas.ts +++ b/src/generated/forge-mcp/rulesets/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `rulesets_AccountId`. - */ -export const rulesets_AccountId: JsonSchema = { - "description": "The unique ID of the account.", - "type": "string" -}; - /** * The schema of `rulesets_BlockRule`. */ @@ -144,14 +136,6 @@ export const rulesets_CompressResponseRule: JsonSchema = { ] }; -/** - * The schema of `rulesets_Cursor`. - */ -export const rulesets_Cursor: JsonSchema = { - "description": "The cursor to use for the next page.", - "type": "string" -}; - /** * The schema of `rulesets_DDoSDynamicRule`. */ @@ -187,7 +171,8 @@ export const rulesets_ExecuteCategoryOverrides: JsonSchema = { "action": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleAction" + "description": "The action to perform when the rule matches.", + "type": "string" }, { "type": "string" @@ -197,7 +182,8 @@ export const rulesets_ExecuteCategoryOverrides: JsonSchema = { "category": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleCategory" + "description": "The category of a rule.", + "type": "string" }, { "type": "string" @@ -207,7 +193,8 @@ export const rulesets_ExecuteCategoryOverrides: JsonSchema = { "enabled": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleEnabled" + "description": "Whether the rule should be executed.", + "type": "boolean" }, { "type": "boolean" @@ -217,7 +204,14 @@ export const rulesets_ExecuteCategoryOverrides: JsonSchema = { "sensitivity_level": { "allOf": [ { - "$ref": "#/$defs/rulesets_ExecuteSensitivityLevel" + "description": "Sensitivity Level", + "enum": [ + "default", + "medium", + "low", + "eoff" + ], + "type": "string" }, { "type": "string" @@ -260,7 +254,8 @@ export const rulesets_ExecuteOverrides: JsonSchema = { "action": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleAction" + "description": "The action to perform when the rule matches.", + "type": "string" }, { "type": "string" @@ -274,7 +269,8 @@ export const rulesets_ExecuteOverrides: JsonSchema = { "enabled": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleEnabled" + "description": "Whether the rule should be executed.", + "type": "boolean" }, { "type": "boolean" @@ -288,7 +284,14 @@ export const rulesets_ExecuteOverrides: JsonSchema = { "sensitivity_level": { "allOf": [ { - "$ref": "#/$defs/rulesets_ExecuteSensitivityLevel" + "description": "Sensitivity Level", + "enum": [ + "default", + "medium", + "low", + "eoff" + ], + "type": "string" }, { "type": "string" @@ -320,7 +323,8 @@ export const rulesets_ExecuteRule: JsonSchema = { "id": { "allOf": [ { - "$ref": "#/$defs/rulesets_RulesetId" + "description": "The unique ID of the ruleset.", + "type": "string" }, { "type": "string" @@ -360,7 +364,8 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "action": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleAction" + "description": "The action to perform when the rule matches.", + "type": "string" }, { "type": "string" @@ -370,7 +375,8 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "enabled": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleEnabled" + "description": "Whether the rule should be executed.", + "type": "boolean" }, { "type": "boolean" @@ -380,7 +386,8 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "id": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleId" + "description": "The unique ID of the rule.", + "type": "string" }, { "type": "string" @@ -394,7 +401,14 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "sensitivity_level": { "allOf": [ { - "$ref": "#/$defs/rulesets_ExecuteSensitivityLevel" + "description": "Sensitivity Level", + "enum": [ + "default", + "medium", + "low", + "eoff" + ], + "type": "string" }, { "type": "string" @@ -411,20 +425,6 @@ export const rulesets_ExecuteRuleOverrides: JsonSchema = { "type": "array" }; -/** - * The schema of `rulesets_ExecuteSensitivityLevel`. - */ -export const rulesets_ExecuteSensitivityLevel: JsonSchema = { - "description": "Sensitivity Level", - "enum": [ - "default", - "medium", - "low", - "eoff" - ], - "type": "string" -}; - /** * The schema of `rulesets_ForceConnectionCloseRule`. */ @@ -690,14 +690,6 @@ export const rulesets_ManagedChallengeRule: JsonSchema = { ] }; -/** - * The schema of `rulesets_PerPage`. - */ -export const rulesets_PerPage: JsonSchema = { - "description": "The number of rulesets to return per page.", - "type": "integer" -}; - /** * The schema of `rulesets_RedirectFromList`. */ @@ -883,30 +875,6 @@ export const rulesets_RequestRules: JsonSchema = { "type": "array" }; -/** - * The schema of `rulesets_RewriteHeaderExpression`. - */ -export const rulesets_RewriteHeaderExpression: JsonSchema = { - "description": "An expression that evaluates to a value for the header.", - "type": "string" -}; - -/** - * The schema of `rulesets_RewriteHeaderOperation`. - */ -export const rulesets_RewriteHeaderOperation: JsonSchema = { - "description": "The operation to perform on the header.", - "type": "string" -}; - -/** - * The schema of `rulesets_RewriteHeaderValue`. - */ -export const rulesets_RewriteHeaderValue: JsonSchema = { - "description": "A static value for the header.", - "type": "string" -}; - /** * The schema of `rulesets_RewriteHeaders`. */ @@ -918,7 +886,8 @@ export const rulesets_RewriteHeaders: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "description": "The operation to perform on the header.", + "type": "string" }, { "enum": [ @@ -929,8 +898,8 @@ export const rulesets_RewriteHeaders: JsonSchema = { ] }, "value": { - "$ref": "#/$defs/rulesets_RewriteHeaderValue", - "description": "A static value for the header." + "description": "A static value for the header.", + "type": "string" } }, "required": [ @@ -942,13 +911,14 @@ export const rulesets_RewriteHeaders: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_RewriteHeaderExpression", - "description": "An expression that evaluates to a value for the header." + "description": "An expression that evaluates to a value for the header.", + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "description": "The operation to perform on the header.", + "type": "string" }, { "enum": [ @@ -970,7 +940,8 @@ export const rulesets_RewriteHeaders: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "description": "The operation to perform on the header.", + "type": "string" }, { "enum": [ @@ -981,8 +952,8 @@ export const rulesets_RewriteHeaders: JsonSchema = { ] }, "value": { - "$ref": "#/$defs/rulesets_RewriteHeaderValue", - "description": "A static value for the header." + "description": "A static value for the header.", + "type": "string" } }, "required": [ @@ -994,13 +965,14 @@ export const rulesets_RewriteHeaders: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_RewriteHeaderExpression", - "description": "An expression that evaluates to a value for the header." + "description": "An expression that evaluates to a value for the header.", + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "description": "The operation to perform on the header.", + "type": "string" }, { "enum": [ @@ -1022,7 +994,8 @@ export const rulesets_RewriteHeaders: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_RewriteHeaderOperation" + "description": "The operation to perform on the header.", + "type": "string" }, { "enum": [ @@ -1156,14 +1129,6 @@ export const rulesets_RewriteUriQuery: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_RouteHostHeader`. - */ -export const rulesets_RouteHostHeader: JsonSchema = { - "description": "A value to rewrite the HTTP host header to.", - "type": "string" -}; - /** * The schema of `rulesets_RouteOrigin`. */ @@ -1201,8 +1166,8 @@ export const rulesets_RouteRule: JsonSchema = { "action_parameters": { "properties": { "host_header": { - "$ref": "#/$defs/rulesets_RouteHostHeader", - "description": "A value to rewrite the HTTP host header to." + "description": "A value to rewrite the HTTP host header to.", + "type": "string" }, "origin": { "$ref": "#/$defs/rulesets_RouteOrigin", @@ -1248,8 +1213,8 @@ export const rulesets_Rule: JsonSchema = { "description": "Rule", "properties": { "action": { - "$ref": "#/$defs/rulesets_RuleAction", - "description": "The action to perform when the rule matches." + "description": "The action to perform when the rule matches.", + "type": "string" }, "action_parameters": { "default": {}, @@ -1264,7 +1229,8 @@ export const rulesets_Rule: JsonSchema = { "enabled": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleEnabled" + "description": "Whether the rule should be executed.", + "type": "boolean" }, { "type": "boolean" @@ -1280,8 +1246,8 @@ export const rulesets_Rule: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/rulesets_RuleId", - "description": "The unique ID of the rule." + "description": "The unique ID of the rule.", + "type": "string" }, "logging": { "$ref": "#/$defs/rulesets_RuleLogging", @@ -1299,30 +1265,6 @@ export const rulesets_Rule: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_RuleAction`. - */ -export const rulesets_RuleAction: JsonSchema = { - "description": "The action to perform when the rule matches.", - "type": "string" -}; - -/** - * The schema of `rulesets_RuleCategory`. - */ -export const rulesets_RuleCategory: JsonSchema = { - "description": "The category of a rule.", - "type": "string" -}; - -/** - * The schema of `rulesets_RuleEnabled`. - */ -export const rulesets_RuleEnabled: JsonSchema = { - "description": "Whether the rule should be executed.", - "type": "boolean" -}; - /** * The schema of `rulesets_RuleExposedCredentialCheck`. */ @@ -1345,14 +1287,6 @@ export const rulesets_RuleExposedCredentialCheck: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_RuleId`. - */ -export const rulesets_RuleId: JsonSchema = { - "description": "The unique ID of the rule.", - "type": "string" -}; - /** * The schema of `rulesets_RuleLogging`. */ @@ -1435,7 +1369,8 @@ export const rulesets_Ruleset: JsonSchema = { "id": { "allOf": [ { - "$ref": "#/$defs/rulesets_RulesetId" + "description": "The unique ID of the ruleset.", + "type": "string" }, { "type": "string" @@ -1453,71 +1388,6 @@ export const rulesets_Ruleset: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_RulesetId`. - */ -export const rulesets_RulesetId: JsonSchema = { - "description": "The unique ID of the ruleset.", - "type": "string" -}; - -/** - * The schema of `rulesets_RulesetKind`. - */ -export const rulesets_RulesetKind: JsonSchema = { - "description": "The kind of the ruleset.", - "enum": [ - "managed", - "custom", - "root", - "zone" - ], - "type": "string" -}; - -/** - * The schema of `rulesets_RulesetPhase`. - */ -export const rulesets_RulesetPhase: JsonSchema = { - "description": "The phase of the ruleset.", - "enum": [ - "ddos_l4", - "ddos_l7", - "http_config_settings", - "http_custom_errors", - "http_log_custom_fields", - "http_ratelimit", - "http_request_cache_settings", - "http_request_dynamic_redirect", - "http_request_firewall_custom", - "http_request_firewall_managed", - "http_request_late_transform", - "http_request_origin", - "http_request_redirect", - "http_request_sanitize", - "http_request_sbfm", - "http_request_transform", - "http_response_cache_settings", - "http_response_compression", - "http_response_firewall_custom", - "http_response_firewall_managed", - "http_response_headers_transform", - "magic_transit", - "magic_transit_ids_managed", - "magic_transit_managed", - "magic_transit_ratelimit" - ], - "type": "string" -}; - -/** - * The schema of `rulesets_ScoreIncrement`. - */ -export const rulesets_ScoreIncrement: JsonSchema = { - "description": "A delta to change the score by, which can be either positive or negative.", - "type": "integer" -}; - /** * The schema of `rulesets_ScoreRule`. */ @@ -1537,8 +1407,8 @@ export const rulesets_ScoreRule: JsonSchema = { "action_parameters": { "properties": { "increment": { - "$ref": "#/$defs/rulesets_ScoreIncrement", - "description": "A delta to change the score by, which can be either positive or negative." + "description": "A delta to change the score by, which can be either positive or negative.", + "type": "integer" } }, "required": [ @@ -1555,36 +1425,6 @@ export const rulesets_ScoreRule: JsonSchema = { ] }; -/** - * The schema of `rulesets_ServeErrorAssetName`. - */ -export const rulesets_ServeErrorAssetName: JsonSchema = { - "description": "The name of a custom asset to serve as the error response.", - "type": "string" -}; - -/** - * The schema of `rulesets_ServeErrorContent`. - */ -export const rulesets_ServeErrorContent: JsonSchema = { - "description": "The response content.", - "type": "string" -}; - -/** - * The schema of `rulesets_ServeErrorContentType`. - */ -export const rulesets_ServeErrorContentType: JsonSchema = { - "description": "The content type header to set with the error response.", - "enum": [ - "application/json", - "text/html", - "text/plain", - "text/xml" - ], - "type": "string" -}; - /** * The schema of `rulesets_ServeErrorRule`. */ @@ -1606,12 +1446,18 @@ export const rulesets_ServeErrorRule: JsonSchema = { { "properties": { "content_type": { - "$ref": "#/$defs/rulesets_ServeErrorContentType", - "description": "The content type header to set with the error response." + "description": "The content type header to set with the error response.", + "enum": [ + "application/json", + "text/html", + "text/plain", + "text/xml" + ], + "type": "string" }, "status_code": { - "$ref": "#/$defs/rulesets_ServeErrorStatusCode", - "description": "The status code to use for the error." + "description": "The status code to use for the error.", + "type": "integer" } }, "required": [ @@ -1624,8 +1470,8 @@ export const rulesets_ServeErrorRule: JsonSchema = { { "properties": { "content": { - "$ref": "#/$defs/rulesets_ServeErrorContent", - "description": "The response content." + "description": "The response content.", + "type": "string" } }, "required": [ @@ -1636,8 +1482,8 @@ export const rulesets_ServeErrorRule: JsonSchema = { { "properties": { "asset_name": { - "$ref": "#/$defs/rulesets_ServeErrorAssetName", - "description": "The name of a custom asset to serve as the error response." + "description": "The name of a custom asset to serve as the error response.", + "type": "string" } }, "required": [ @@ -1658,22 +1504,6 @@ export const rulesets_ServeErrorRule: JsonSchema = { ] }; -/** - * The schema of `rulesets_ServeErrorStatusCode`. - */ -export const rulesets_ServeErrorStatusCode: JsonSchema = { - "description": "The status code to use for the error.", - "type": "integer" -}; - -/** - * The schema of `rulesets_SetCacheControlCloudflareOnly`. - */ -export const rulesets_SetCacheControlCloudflareOnly: JsonSchema = { - "description": "Whether the directive should only be applied to the Cloudflare CDN cache.", - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheControlDirective`. */ @@ -1683,14 +1513,19 @@ export const rulesets_SetCacheControlDirective: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly", "default": false, - "description": "Whether the directive should only be applied to the Cloudflare CDN cache." + "description": "Whether the directive should only be applied to the Cloudflare CDN cache.", + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "description": "The operation to perform on the cache-control directive.", + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1709,14 +1544,19 @@ export const rulesets_SetCacheControlDirective: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly", "default": false, - "description": "Whether the directive should only be applied to the Cloudflare CDN cache." + "description": "Whether the directive should only be applied to the Cloudflare CDN cache.", + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "description": "The operation to perform on the cache-control directive.", + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1744,14 +1584,19 @@ export const rulesets_SetCacheControlDirectiveWithQualifiers: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly", "default": false, - "description": "Whether the directive should only be applied to the Cloudflare CDN cache." + "description": "Whether the directive should only be applied to the Cloudflare CDN cache.", + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "description": "The operation to perform on the cache-control directive.", + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1777,14 +1622,19 @@ export const rulesets_SetCacheControlDirectiveWithQualifiers: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly", "default": false, - "description": "Whether the directive should only be applied to the Cloudflare CDN cache." + "description": "Whether the directive should only be applied to the Cloudflare CDN cache.", + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "description": "The operation to perform on the cache-control directive.", + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1812,14 +1662,19 @@ export const rulesets_SetCacheControlDirectiveWithValue: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly", "default": false, - "description": "Whether the directive should only be applied to the Cloudflare CDN cache." + "description": "Whether the directive should only be applied to the Cloudflare CDN cache.", + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "description": "The operation to perform on the cache-control directive.", + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1843,14 +1698,19 @@ export const rulesets_SetCacheControlDirectiveWithValue: JsonSchema = { { "properties": { "cloudflare_only": { - "$ref": "#/$defs/rulesets_SetCacheControlCloudflareOnly", "default": false, - "description": "Whether the directive should only be applied to the Cloudflare CDN cache." + "description": "Whether the directive should only be applied to the Cloudflare CDN cache.", + "type": "boolean" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheControlOperation" + "description": "The operation to perform on the cache-control directive.", + "enum": [ + "set", + "remove" + ], + "type": "string" }, { "enum": [ @@ -1869,18 +1729,6 @@ export const rulesets_SetCacheControlDirectiveWithValue: JsonSchema = { ] }; -/** - * The schema of `rulesets_SetCacheControlOperation`. - */ -export const rulesets_SetCacheControlOperation: JsonSchema = { - "description": "The operation to perform on the cache-control directive.", - "enum": [ - "set", - "remove" - ], - "type": "string" -}; - /** * The schema of `rulesets_SetCacheControlRule`. */ @@ -2002,14 +1850,6 @@ export const rulesets_SetCacheSettingsBrowserTTL: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SetCacheSettingsCache`. - */ -export const rulesets_SetCacheSettingsCache: JsonSchema = { - "description": "Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations.", - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheSettingsCacheKey`. */ @@ -2272,22 +2112,6 @@ export const rulesets_SetCacheSettingsEdgeTTL: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SetCacheSettingsOriginCacheControl`. - */ -export const rulesets_SetCacheSettingsOriginCacheControl: JsonSchema = { - "description": "Whether Cloudflare will aim to strictly adhere to RFC 7234.", - "type": "boolean" -}; - -/** - * The schema of `rulesets_SetCacheSettingsOriginErrorPagePassthru`. - */ -export const rulesets_SetCacheSettingsOriginErrorPagePassthru: JsonSchema = { - "description": "Whether to generate Cloudflare error pages for issues from the origin server.", - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheSettingsOriginRangeRequests`. */ @@ -2310,22 +2134,6 @@ export const rulesets_SetCacheSettingsOriginRangeRequests: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SetCacheSettingsReadTimeout`. - */ -export const rulesets_SetCacheSettingsReadTimeout: JsonSchema = { - "description": "A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value.", - "type": "integer" -}; - -/** - * The schema of `rulesets_SetCacheSettingsRespectStrongEtags`. - */ -export const rulesets_SetCacheSettingsRespectStrongEtags: JsonSchema = { - "description": "Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers.", - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheSettingsRule`. */ @@ -2353,8 +2161,8 @@ export const rulesets_SetCacheSettingsRule: JsonSchema = { "description": "How long client browsers should cache the response. Cloudflare cache purge will not purge content cached on client browsers, so high browser TTLs may lead to stale content." }, "cache": { - "$ref": "#/$defs/rulesets_SetCacheSettingsCache", - "description": "Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations." + "description": "Whether the request's response from the origin is eligible for caching. Caching itself will still depend on the cache control header and your other caching configurations.", + "type": "boolean" }, "cache_key": { "$ref": "#/$defs/rulesets_SetCacheSettingsCacheKey", @@ -2369,24 +2177,24 @@ export const rulesets_SetCacheSettingsRule: JsonSchema = { "description": "How long the Cloudflare edge network should cache the response." }, "origin_cache_control": { - "$ref": "#/$defs/rulesets_SetCacheSettingsOriginCacheControl", - "description": "Whether Cloudflare will aim to strictly adhere to RFC 7234." + "description": "Whether Cloudflare will aim to strictly adhere to RFC 7234.", + "type": "boolean" }, "origin_error_page_passthru": { - "$ref": "#/$defs/rulesets_SetCacheSettingsOriginErrorPagePassthru", - "description": "Whether to generate Cloudflare error pages for issues from the origin server." + "description": "Whether to generate Cloudflare error pages for issues from the origin server.", + "type": "boolean" }, "origin_range_requests": { "$ref": "#/$defs/rulesets_SetCacheSettingsOriginRangeRequests", "description": "Controls whether Cloudflare fetches a large asset from the origin as a series of range requests instead of one whole-body request." }, "read_timeout": { - "$ref": "#/$defs/rulesets_SetCacheSettingsReadTimeout", - "description": "A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value." + "description": "A timeout value between two successive read operations to use for your origin server. Historically, the timeout value between two read options from Cloudflare to an origin server is 100 seconds. If you are attempting to reduce HTTP 524 errors because of timeouts from an origin server, try increasing this timeout value.", + "type": "integer" }, "respect_strong_etags": { - "$ref": "#/$defs/rulesets_SetCacheSettingsRespectStrongEtags", - "description": "Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers." + "description": "Whether Cloudflare should respect strong ETag (entity tag) headers. If false, Cloudflare converts strong ETag headers to weak ETag headers.", + "type": "boolean" }, "serve_stale": { "$ref": "#/$defs/rulesets_SetCacheSettingsServeStale", @@ -2397,16 +2205,16 @@ export const rulesets_SetCacheSettingsRule: JsonSchema = { "description": "Configuration for shared dictionary compression. When set, Cloudflare injects Use-As-Dictionary headers on matching cacheable responses." }, "strip_etags": { - "$ref": "#/$defs/rulesets_SetCacheSettingsStripETags", - "description": "Whether to strip ETag headers from the origin response before caching." + "description": "Whether to strip ETag headers from the origin response before caching.", + "type": "boolean" }, "strip_last_modified": { - "$ref": "#/$defs/rulesets_SetCacheSettingsStripLastModified", - "description": "Whether to strip Last-Modified headers from the origin response before caching." + "description": "Whether to strip Last-Modified headers from the origin response before caching.", + "type": "boolean" }, "strip_set_cookie": { - "$ref": "#/$defs/rulesets_SetCacheSettingsStripSetCookie", - "description": "Whether to strip Set-Cookie headers from the origin response before caching." + "description": "Whether to strip Set-Cookie headers from the origin response before caching.", + "type": "boolean" }, "vary": { "$ref": "#/$defs/rulesets_SetCacheSettingsVary", @@ -2494,30 +2302,6 @@ export const rulesets_SetCacheSettingsStatusCodeTTL: JsonSchema = { "type": "array" }; -/** - * The schema of `rulesets_SetCacheSettingsStripETags`. - */ -export const rulesets_SetCacheSettingsStripETags: JsonSchema = { - "description": "Whether to strip ETag headers from the origin response before caching.", - "type": "boolean" -}; - -/** - * The schema of `rulesets_SetCacheSettingsStripLastModified`. - */ -export const rulesets_SetCacheSettingsStripLastModified: JsonSchema = { - "description": "Whether to strip Last-Modified headers from the origin response before caching.", - "type": "boolean" -}; - -/** - * The schema of `rulesets_SetCacheSettingsStripSetCookie`. - */ -export const rulesets_SetCacheSettingsStripSetCookie: JsonSchema = { - "description": "Whether to strip Set-Cookie headers from the origin response before caching.", - "type": "boolean" -}; - /** * The schema of `rulesets_SetCacheSettingsVary`. */ @@ -2599,27 +2383,6 @@ export const rulesets_SetCacheSettingsVaryHeader: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SetCacheTagsExpression`. - */ -export const rulesets_SetCacheTagsExpression: JsonSchema = { - "description": "An expression that evaluates to an array of cache tag values.", - "type": "string" -}; - -/** - * The schema of `rulesets_SetCacheTagsOperation`. - */ -export const rulesets_SetCacheTagsOperation: JsonSchema = { - "description": "The operation to perform on the cache tags.", - "enum": [ - "add", - "remove", - "set" - ], - "type": "string" -}; - /** * The schema of `rulesets_SetCacheTagsRule`. */ @@ -2643,7 +2406,13 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "description": "The operation to perform on the cache tags.", + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2667,13 +2436,19 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_SetCacheTagsExpression", - "description": "An expression that evaluates to an array of cache tag values." + "description": "An expression that evaluates to an array of cache tag values.", + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "description": "The operation to perform on the cache tags.", + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2695,7 +2470,13 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "description": "The operation to perform on the cache tags.", + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2719,13 +2500,19 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_SetCacheTagsExpression", - "description": "An expression that evaluates to an array of cache tag values." + "description": "An expression that evaluates to an array of cache tag values.", + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "description": "The operation to perform on the cache tags.", + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2747,7 +2534,13 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "description": "The operation to perform on the cache tags.", + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -2771,13 +2564,19 @@ export const rulesets_SetCacheTagsRule: JsonSchema = { { "properties": { "expression": { - "$ref": "#/$defs/rulesets_SetCacheTagsExpression", - "description": "An expression that evaluates to an array of cache tag values." + "description": "An expression that evaluates to an array of cache tag values.", + "type": "string" }, "operation": { "allOf": [ { - "$ref": "#/$defs/rulesets_SetCacheTagsOperation" + "description": "The operation to perform on the cache tags.", + "enum": [ + "add", + "remove", + "set" + ], + "type": "string" }, { "enum": [ @@ -3018,17 +2817,6 @@ export const rulesets_SetConfigRule: JsonSchema = { ] }; -/** - * The schema of `rulesets_SkipPhase`. - */ -export const rulesets_SkipPhase: JsonSchema = { - "description": "A phase to skip the execution of. This option is only compatible with the products option.", - "enum": [ - "current" - ], - "type": "string" -}; - /** * The schema of `rulesets_SkipPhases`. */ @@ -3037,7 +2825,35 @@ export const rulesets_SkipPhases: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/rulesets_RulesetPhase" + "description": "The phase of the ruleset.", + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, { "type": "string" @@ -3088,8 +2904,11 @@ export const rulesets_SkipRule: JsonSchema = { "action_parameters": { "properties": { "phase": { - "$ref": "#/$defs/rulesets_SkipPhase", - "description": "A phase to skip the execution of. This option is only compatible with the products option." + "description": "A phase to skip the execution of. This option is only compatible with the products option.", + "enum": [ + "current" + ], + "type": "string" }, "phases": { "$ref": "#/$defs/rulesets_SkipPhases", @@ -3104,8 +2923,11 @@ export const rulesets_SkipRule: JsonSchema = { "description": "A mapping of ruleset IDs to a list of rule IDs in that ruleset to skip the execution of. This option is incompatible with the ruleset option." }, "ruleset": { - "$ref": "#/$defs/rulesets_SkipRuleset", - "description": "A ruleset to skip the execution of. This option is incompatible with the rulesets option." + "description": "A ruleset to skip the execution of. This option is incompatible with the rulesets option.", + "enum": [ + "current" + ], + "type": "string" }, "rulesets": { "$ref": "#/$defs/rulesets_SkipRulesets", @@ -3131,7 +2953,8 @@ export const rulesets_SkipRules: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/rulesets_RuleId" + "description": "The unique ID of the rule.", + "type": "string" }, { "type": "string" @@ -3145,17 +2968,6 @@ export const rulesets_SkipRules: JsonSchema = { "type": "object" }; -/** - * The schema of `rulesets_SkipRuleset`. - */ -export const rulesets_SkipRuleset: JsonSchema = { - "description": "A ruleset to skip the execution of. This option is incompatible with the rulesets option.", - "enum": [ - "current" - ], - "type": "string" -}; - /** * The schema of `rulesets_SkipRulesets`. */ @@ -3164,7 +2976,8 @@ export const rulesets_SkipRulesets: JsonSchema = { "items": { "allOf": [ { - "$ref": "#/$defs/rulesets_RulesetId" + "description": "The unique ID of the ruleset.", + "type": "string" }, { "type": "string" diff --git a/src/generated/forge-mcp/rulesets/tools.ts b/src/generated/forge-mcp/rulesets/tools.ts index 70ce38338..ed7de70d6 100644 --- a/src/generated/forge-mcp/rulesets/tools.ts +++ b/src/generated/forge-mcp/rulesets/tools.ts @@ -12,14 +12,12 @@ import { rulesets_BlockRule, rulesets_ChallengeRule, rulesets_CompressResponseRule, - rulesets_Cursor, rulesets_DDoSDynamicRule, rulesets_ExecuteCategoryOverrides, rulesets_ExecuteMatchedData, rulesets_ExecuteOverrides, rulesets_ExecuteRule, rulesets_ExecuteRuleOverrides, - rulesets_ExecuteSensitivityLevel, rulesets_ForceConnectionCloseRule, rulesets_JsChallengeRule, rulesets_LogCustomFieldCookieFields, @@ -37,48 +35,28 @@ import { rulesets_ResponseRule, rulesets_ResponseRules, rulesets_ResultInfo, - rulesets_RewriteHeaderExpression, - rulesets_RewriteHeaderOperation, - rulesets_RewriteHeaderValue, rulesets_RewriteHeaders, rulesets_RewriteRule, rulesets_RewriteUri, rulesets_RewriteUriPath, rulesets_RewriteUriQuery, - rulesets_RouteHostHeader, rulesets_RouteOrigin, rulesets_RouteRule, rulesets_RouteSNI, rulesets_Rule, - rulesets_RuleAction, rulesets_RuleCategories, - rulesets_RuleCategory, - rulesets_RuleEnabled, rulesets_RuleExposedCredentialCheck, - rulesets_RuleId, rulesets_RuleLogging, rulesets_RuleRatelimit, rulesets_Ruleset, - rulesets_RulesetId, - rulesets_RulesetKind, - rulesets_RulesetPhase, - rulesets_RulesetVersion, - rulesets_ScoreIncrement, rulesets_ScoreRule, - rulesets_ServeErrorAssetName, - rulesets_ServeErrorContent, - rulesets_ServeErrorContentType, rulesets_ServeErrorRule, - rulesets_ServeErrorStatusCode, - rulesets_SetCacheControlCloudflareOnly, rulesets_SetCacheControlDirective, rulesets_SetCacheControlDirectiveWithQualifiers, rulesets_SetCacheControlDirectiveWithValue, - rulesets_SetCacheControlOperation, rulesets_SetCacheControlRule, rulesets_SetCacheSettingsAdditionalCacheablePorts, rulesets_SetCacheSettingsBrowserTTL, - rulesets_SetCacheSettingsCache, rulesets_SetCacheSettingsCacheKey, rulesets_SetCacheSettingsCacheReserve, rulesets_SetCacheSettingsCustomCacheKey, @@ -88,49 +66,35 @@ import { rulesets_SetCacheSettingsCustomCacheKeyQueryString, rulesets_SetCacheSettingsCustomCacheKeyUser, rulesets_SetCacheSettingsEdgeTTL, - rulesets_SetCacheSettingsOriginCacheControl, - rulesets_SetCacheSettingsOriginErrorPagePassthru, rulesets_SetCacheSettingsOriginRangeRequests, - rulesets_SetCacheSettingsReadTimeout, - rulesets_SetCacheSettingsRespectStrongEtags, rulesets_SetCacheSettingsRule, rulesets_SetCacheSettingsServeStale, rulesets_SetCacheSettingsSharedDictionary, rulesets_SetCacheSettingsStatusCodeTTL, - rulesets_SetCacheSettingsStripETags, - rulesets_SetCacheSettingsStripLastModified, - rulesets_SetCacheSettingsStripSetCookie, rulesets_SetCacheSettingsVary, rulesets_SetCacheSettingsVaryDefault, rulesets_SetCacheSettingsVaryHeader, - rulesets_SetCacheTagsExpression, - rulesets_SetCacheTagsOperation, rulesets_SetCacheTagsRule, rulesets_SetCacheTagsValues, rulesets_SetConfigAutominify, rulesets_SetConfigRule, - rulesets_SkipPhase, rulesets_SkipPhases, rulesets_SkipProducts, rulesets_SkipRule, rulesets_SkipRules, - rulesets_SkipRuleset, rulesets_SkipRulesets, rulesets_TransformResponseHTMLRule, } from "./outputs.js"; import { - rulesets_AccountId, rulesets_BlockRule as rulesets_BlockRule$, rulesets_ChallengeRule as rulesets_ChallengeRule$, rulesets_CompressResponseRule as rulesets_CompressResponseRule$, - rulesets_Cursor as rulesets_Cursor$, rulesets_DDoSDynamicRule as rulesets_DDoSDynamicRule$, rulesets_ExecuteCategoryOverrides as rulesets_ExecuteCategoryOverrides$, rulesets_ExecuteMatchedData as rulesets_ExecuteMatchedData$, rulesets_ExecuteOverrides as rulesets_ExecuteOverrides$, rulesets_ExecuteRule as rulesets_ExecuteRule$, rulesets_ExecuteRuleOverrides as rulesets_ExecuteRuleOverrides$, - rulesets_ExecuteSensitivityLevel as rulesets_ExecuteSensitivityLevel$, rulesets_ForceConnectionCloseRule as rulesets_ForceConnectionCloseRule$, rulesets_JsChallengeRule as rulesets_JsChallengeRule$, rulesets_LogCustomFieldCookieFields as rulesets_LogCustomFieldCookieFields$, @@ -141,52 +105,32 @@ import { rulesets_LogCustomFieldTransformedRequestFields as rulesets_LogCustomFieldTransformedRequestFields$, rulesets_LogRule as rulesets_LogRule$, rulesets_ManagedChallengeRule as rulesets_ManagedChallengeRule$, - rulesets_PerPage, rulesets_RedirectFromList as rulesets_RedirectFromList$, rulesets_RedirectFromValue as rulesets_RedirectFromValue$, rulesets_RedirectRule as rulesets_RedirectRule$, rulesets_RequestRule as rulesets_RequestRule$, rulesets_RequestRules, - rulesets_RewriteHeaderExpression as rulesets_RewriteHeaderExpression$, - rulesets_RewriteHeaderOperation as rulesets_RewriteHeaderOperation$, - rulesets_RewriteHeaderValue as rulesets_RewriteHeaderValue$, rulesets_RewriteHeaders as rulesets_RewriteHeaders$, rulesets_RewriteRule as rulesets_RewriteRule$, rulesets_RewriteUri as rulesets_RewriteUri$, rulesets_RewriteUriPath as rulesets_RewriteUriPath$, rulesets_RewriteUriQuery as rulesets_RewriteUriQuery$, - rulesets_RouteHostHeader as rulesets_RouteHostHeader$, rulesets_RouteOrigin as rulesets_RouteOrigin$, rulesets_RouteRule as rulesets_RouteRule$, rulesets_RouteSNI as rulesets_RouteSNI$, rulesets_Rule as rulesets_Rule$, - rulesets_RuleAction as rulesets_RuleAction$, - rulesets_RuleCategory as rulesets_RuleCategory$, - rulesets_RuleEnabled as rulesets_RuleEnabled$, rulesets_RuleExposedCredentialCheck as rulesets_RuleExposedCredentialCheck$, - rulesets_RuleId as rulesets_RuleId$, rulesets_RuleLogging as rulesets_RuleLogging$, rulesets_RuleRatelimit as rulesets_RuleRatelimit$, rulesets_Ruleset as rulesets_Ruleset$, - rulesets_RulesetId as rulesets_RulesetId$, - rulesets_RulesetKind as rulesets_RulesetKind$, - rulesets_RulesetPhase as rulesets_RulesetPhase$, - rulesets_ScoreIncrement as rulesets_ScoreIncrement$, rulesets_ScoreRule as rulesets_ScoreRule$, - rulesets_ServeErrorAssetName as rulesets_ServeErrorAssetName$, - rulesets_ServeErrorContent as rulesets_ServeErrorContent$, - rulesets_ServeErrorContentType as rulesets_ServeErrorContentType$, rulesets_ServeErrorRule as rulesets_ServeErrorRule$, - rulesets_ServeErrorStatusCode as rulesets_ServeErrorStatusCode$, - rulesets_SetCacheControlCloudflareOnly as rulesets_SetCacheControlCloudflareOnly$, rulesets_SetCacheControlDirective as rulesets_SetCacheControlDirective$, rulesets_SetCacheControlDirectiveWithQualifiers as rulesets_SetCacheControlDirectiveWithQualifiers$, rulesets_SetCacheControlDirectiveWithValue as rulesets_SetCacheControlDirectiveWithValue$, - rulesets_SetCacheControlOperation as rulesets_SetCacheControlOperation$, rulesets_SetCacheControlRule as rulesets_SetCacheControlRule$, rulesets_SetCacheSettingsAdditionalCacheablePorts as rulesets_SetCacheSettingsAdditionalCacheablePorts$, rulesets_SetCacheSettingsBrowserTTL as rulesets_SetCacheSettingsBrowserTTL$, - rulesets_SetCacheSettingsCache as rulesets_SetCacheSettingsCache$, rulesets_SetCacheSettingsCacheKey as rulesets_SetCacheSettingsCacheKey$, rulesets_SetCacheSettingsCacheReserve as rulesets_SetCacheSettingsCacheReserve$, rulesets_SetCacheSettingsCustomCacheKey as rulesets_SetCacheSettingsCustomCacheKey$, @@ -196,33 +140,22 @@ import { rulesets_SetCacheSettingsCustomCacheKeyQueryString as rulesets_SetCacheSettingsCustomCacheKeyQueryString$, rulesets_SetCacheSettingsCustomCacheKeyUser as rulesets_SetCacheSettingsCustomCacheKeyUser$, rulesets_SetCacheSettingsEdgeTTL as rulesets_SetCacheSettingsEdgeTTL$, - rulesets_SetCacheSettingsOriginCacheControl as rulesets_SetCacheSettingsOriginCacheControl$, - rulesets_SetCacheSettingsOriginErrorPagePassthru as rulesets_SetCacheSettingsOriginErrorPagePassthru$, rulesets_SetCacheSettingsOriginRangeRequests as rulesets_SetCacheSettingsOriginRangeRequests$, - rulesets_SetCacheSettingsReadTimeout as rulesets_SetCacheSettingsReadTimeout$, - rulesets_SetCacheSettingsRespectStrongEtags as rulesets_SetCacheSettingsRespectStrongEtags$, rulesets_SetCacheSettingsRule as rulesets_SetCacheSettingsRule$, rulesets_SetCacheSettingsServeStale as rulesets_SetCacheSettingsServeStale$, rulesets_SetCacheSettingsSharedDictionary as rulesets_SetCacheSettingsSharedDictionary$, rulesets_SetCacheSettingsStatusCodeTTL as rulesets_SetCacheSettingsStatusCodeTTL$, - rulesets_SetCacheSettingsStripETags as rulesets_SetCacheSettingsStripETags$, - rulesets_SetCacheSettingsStripLastModified as rulesets_SetCacheSettingsStripLastModified$, - rulesets_SetCacheSettingsStripSetCookie as rulesets_SetCacheSettingsStripSetCookie$, rulesets_SetCacheSettingsVary as rulesets_SetCacheSettingsVary$, rulesets_SetCacheSettingsVaryDefault as rulesets_SetCacheSettingsVaryDefault$, rulesets_SetCacheSettingsVaryHeader as rulesets_SetCacheSettingsVaryHeader$, - rulesets_SetCacheTagsExpression as rulesets_SetCacheTagsExpression$, - rulesets_SetCacheTagsOperation as rulesets_SetCacheTagsOperation$, rulesets_SetCacheTagsRule as rulesets_SetCacheTagsRule$, rulesets_SetCacheTagsValues as rulesets_SetCacheTagsValues$, rulesets_SetConfigAutominify as rulesets_SetConfigAutominify$, rulesets_SetConfigRule as rulesets_SetConfigRule$, - rulesets_SkipPhase as rulesets_SkipPhase$, rulesets_SkipPhases as rulesets_SkipPhases$, rulesets_SkipProducts as rulesets_SkipProducts$, rulesets_SkipRule as rulesets_SkipRule$, rulesets_SkipRules as rulesets_SkipRules$, - rulesets_SkipRuleset as rulesets_SkipRuleset$, rulesets_SkipRulesets as rulesets_SkipRulesets$, rulesets_TransformResponseHTMLRule as rulesets_TransformResponseHTMLRule$, } from "./schemas.js"; @@ -234,7 +167,7 @@ export const tools: readonly Tool[] = [ { name: "rulesets_create", title: "Create an account or zone ruleset", - description: "Creates a ruleset.", + description: "Creates a ruleset.\n\nPOST /{account_or_zone}/{account_or_zone_id}/rulesets", inputSchema: { type: "object", properties: { @@ -246,12 +179,45 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind", - "description": "The kind of the ruleset." + "description": "The kind of the ruleset.", + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase", - "description": "The phase of the ruleset." + "description": "The phase of the ruleset.", + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_RequestRules", @@ -264,6 +230,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -274,8 +241,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -285,6 +252,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dry_run": { "default": false, @@ -299,8 +267,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "rulesets_AccountId": rulesets_AccountId, "rulesets_BlockRule": rulesets_BlockRule$, "rulesets_ChallengeRule": rulesets_ChallengeRule$, "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, @@ -310,7 +278,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, "rulesets_ExecuteRule": rulesets_ExecuteRule$, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, @@ -326,46 +293,27 @@ export const tools: readonly Tool[] = [ "rulesets_RedirectRule": rulesets_RedirectRule$, "rulesets_RequestRule": rulesets_RequestRule$, "rulesets_RequestRules": rulesets_RequestRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, "rulesets_RewriteRule": rulesets_RewriteRule$, "rulesets_RewriteUri": rulesets_RewriteUri$, "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, "rulesets_RouteOrigin": rulesets_RouteOrigin$, "rulesets_RouteRule": rulesets_RouteRule$, "rulesets_RouteSNI": rulesets_RouteSNI$, "rulesets_Rule": rulesets_Rule$, - "rulesets_RuleAction": rulesets_RuleAction$, - "rulesets_RuleCategory": rulesets_RuleCategory$, - "rulesets_RuleEnabled": rulesets_RuleEnabled$, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, - "rulesets_RuleId": rulesets_RuleId$, "rulesets_RuleLogging": rulesets_RuleLogging$, "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, "rulesets_Ruleset": rulesets_Ruleset$, - "rulesets_RulesetId": rulesets_RulesetId$, - "rulesets_RulesetKind": rulesets_RulesetKind$, - "rulesets_RulesetPhase": rulesets_RulesetPhase$, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, "rulesets_ScoreRule": rulesets_ScoreRule$, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, @@ -375,33 +323,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, "rulesets_SetConfigRule": rulesets_SetConfigRule$, - "rulesets_SkipPhase": rulesets_SkipPhase$, "rulesets_SkipPhases": rulesets_SkipPhases$, "rulesets_SkipProducts": rulesets_SkipProducts$, "rulesets_SkipRule": rulesets_SkipRule$, "rulesets_SkipRules": rulesets_SkipRules$, - "rulesets_SkipRuleset": rulesets_SkipRuleset$, "rulesets_SkipRulesets": rulesets_SkipRulesets$, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, }, @@ -424,13 +361,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -472,7 +442,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -492,48 +461,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -543,33 +492,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -621,13 +559,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -692,7 +663,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -712,48 +682,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -763,33 +713,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -805,11 +744,12 @@ export const tools: readonly Tool[] = [ { name: "rulesets_delete", title: "Delete an account or zone ruleset", - description: "Deletes all versions of an existing account or zone ruleset.", + description: "Deletes all versions of an existing account or zone ruleset.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/rulesets/{ruleset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -820,12 +760,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "description": "The unique ID of the ruleset.", + "type": "string" } }, "required": [ @@ -836,6 +776,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dry_run": { "default": false, @@ -849,10 +790,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rulesets_AccountId": rulesets_AccountId, - "rulesets_RulesetId": rulesets_RulesetId$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -923,11 +861,12 @@ export const tools: readonly Tool[] = [ { name: "rulesets_get", title: "Get an account or zone ruleset", - description: "Fetches the latest version of an account or zone ruleset.", + description: "Fetches the latest version of an account or zone ruleset.\n\nGET /{account_or_zone}/{account_or_zone_id}/rulesets/{ruleset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -938,12 +877,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "description": "The unique ID of the ruleset.", + "type": "string" } }, "required": [ @@ -957,10 +896,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rulesets_AccountId": rulesets_AccountId, - "rulesets_RulesetId": rulesets_RulesetId$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -978,13 +914,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -1021,7 +990,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -1041,48 +1009,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -1092,33 +1040,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -1176,13 +1113,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -1242,7 +1212,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -1262,48 +1231,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -1313,33 +1262,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -1351,11 +1289,12 @@ export const tools: readonly Tool[] = [ { name: "rulesets_list", title: "List account or zone rulesets", - description: "Fetches all rulesets.", + description: "Fetches all rulesets.\n\nGET /{account_or_zone}/{account_or_zone_id}/rulesets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -1366,8 +1305,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -1377,14 +1316,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { - "$ref": "#/$defs/rulesets_Cursor", - "description": "The cursor to use for the next page." + "description": "The cursor to use for the next page.", + "type": "string" }, "per_page": { - "$ref": "#/$defs/rulesets_PerPage", - "description": "The number of rulesets to return per page." + "description": "The number of rulesets to return per page.", + "type": "integer" } }, "type": "object" @@ -1393,11 +1333,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rulesets_AccountId": rulesets_AccountId, - "rulesets_Cursor": rulesets_Cursor$, - "rulesets_PerPage": rulesets_PerPage, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -1416,13 +1352,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" } }, "required": [ @@ -1450,17 +1419,12 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "rulesets_Cursor": rulesets_Cursor, "rulesets_Errors": rulesets_Errors, "rulesets_Message": rulesets_Message, "rulesets_Messages": rulesets_Messages, "rulesets_Response": rulesets_Response, "rulesets_ResultInfo": rulesets_ResultInfo, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, }, }, annotations: { @@ -1517,13 +1481,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" } }, "required": [ @@ -1574,17 +1571,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "rulesets_Cursor": rulesets_Cursor, "rulesets_Errors": rulesets_Errors, "rulesets_Message": rulesets_Message, "rulesets_Messages": rulesets_Messages, "rulesets_Response": rulesets_Response, "rulesets_ResultInfo": rulesets_ResultInfo, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, }, }, request: (args) => ({ @@ -1598,7 +1590,7 @@ export const tools: readonly Tool[] = [ { name: "rulesets_update", title: "Update an account or zone ruleset", - description: "Updates an account or zone ruleset, creating a new version.", + description: "Updates an account or zone ruleset, creating a new version.\n\nPUT /{account_or_zone}/{account_or_zone_id}/rulesets/{ruleset_id}", inputSchema: { type: "object", properties: { @@ -1610,12 +1602,45 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind", - "description": "The kind of the ruleset." + "description": "The kind of the ruleset.", + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase", - "description": "The phase of the ruleset." + "description": "The phase of the ruleset.", + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_RequestRules", @@ -1628,6 +1653,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -1638,12 +1664,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/rulesets_AccountId", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rulesets_RulesetId", - "description": "The unique ID of the ruleset." + "description": "The unique ID of the ruleset.", + "type": "string" } }, "required": [ @@ -1654,6 +1680,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dry_run": { "default": false, @@ -1668,8 +1695,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "rulesets_AccountId": rulesets_AccountId, "rulesets_BlockRule": rulesets_BlockRule$, "rulesets_ChallengeRule": rulesets_ChallengeRule$, "rulesets_CompressResponseRule": rulesets_CompressResponseRule$, @@ -1679,7 +1706,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides$, "rulesets_ExecuteRule": rulesets_ExecuteRule$, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides$, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel$, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule$, "rulesets_JsChallengeRule": rulesets_JsChallengeRule$, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields$, @@ -1695,46 +1721,27 @@ export const tools: readonly Tool[] = [ "rulesets_RedirectRule": rulesets_RedirectRule$, "rulesets_RequestRule": rulesets_RequestRule$, "rulesets_RequestRules": rulesets_RequestRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression$, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation$, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue$, "rulesets_RewriteHeaders": rulesets_RewriteHeaders$, "rulesets_RewriteRule": rulesets_RewriteRule$, "rulesets_RewriteUri": rulesets_RewriteUri$, "rulesets_RewriteUriPath": rulesets_RewriteUriPath$, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery$, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader$, "rulesets_RouteOrigin": rulesets_RouteOrigin$, "rulesets_RouteRule": rulesets_RouteRule$, "rulesets_RouteSNI": rulesets_RouteSNI$, "rulesets_Rule": rulesets_Rule$, - "rulesets_RuleAction": rulesets_RuleAction$, - "rulesets_RuleCategory": rulesets_RuleCategory$, - "rulesets_RuleEnabled": rulesets_RuleEnabled$, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck$, - "rulesets_RuleId": rulesets_RuleId$, "rulesets_RuleLogging": rulesets_RuleLogging$, "rulesets_RuleRatelimit": rulesets_RuleRatelimit$, "rulesets_Ruleset": rulesets_Ruleset$, - "rulesets_RulesetId": rulesets_RulesetId$, - "rulesets_RulesetKind": rulesets_RulesetKind$, - "rulesets_RulesetPhase": rulesets_RulesetPhase$, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement$, "rulesets_ScoreRule": rulesets_ScoreRule$, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName$, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent$, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType$, "rulesets_ServeErrorRule": rulesets_ServeErrorRule$, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode$, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly$, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective$, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers$, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue$, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation$, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule$, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts$, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL$, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache$, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey$, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve$, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey$, @@ -1744,33 +1751,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString$, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser$, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL$, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl$, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru$, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests$, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout$, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags$, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule$, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale$, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary$, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL$, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags$, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified$, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie$, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary$, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault$, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader$, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression$, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation$, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule$, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues$, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify$, "rulesets_SetConfigRule": rulesets_SetConfigRule$, - "rulesets_SkipPhase": rulesets_SkipPhase$, "rulesets_SkipPhases": rulesets_SkipPhases$, "rulesets_SkipProducts": rulesets_SkipProducts$, "rulesets_SkipRule": rulesets_SkipRule$, "rulesets_SkipRules": rulesets_SkipRules$, - "rulesets_SkipRuleset": rulesets_SkipRuleset$, "rulesets_SkipRulesets": rulesets_SkipRulesets$, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule$, }, @@ -1793,13 +1789,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -1841,7 +1870,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -1861,48 +1889,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -1912,33 +1920,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, @@ -1990,13 +1987,46 @@ export const tools: readonly Tool[] = [ { "properties": { "kind": { - "$ref": "#/$defs/rulesets_RulesetKind" + "enum": [ + "managed", + "custom", + "root", + "zone" + ], + "type": "string" }, "name": { "type": "string" }, "phase": { - "$ref": "#/$defs/rulesets_RulesetPhase" + "enum": [ + "ddos_l4", + "ddos_l7", + "http_config_settings", + "http_custom_errors", + "http_log_custom_fields", + "http_ratelimit", + "http_request_cache_settings", + "http_request_dynamic_redirect", + "http_request_firewall_custom", + "http_request_firewall_managed", + "http_request_late_transform", + "http_request_origin", + "http_request_redirect", + "http_request_sanitize", + "http_request_sbfm", + "http_request_transform", + "http_response_cache_settings", + "http_response_compression", + "http_response_firewall_custom", + "http_response_firewall_managed", + "http_response_headers_transform", + "magic_transit", + "magic_transit_ids_managed", + "magic_transit_managed", + "magic_transit_ratelimit" + ], + "type": "string" }, "rules": { "$ref": "#/$defs/rulesets_ResponseRules" @@ -2061,7 +2091,6 @@ export const tools: readonly Tool[] = [ "rulesets_ExecuteOverrides": rulesets_ExecuteOverrides, "rulesets_ExecuteRule": rulesets_ExecuteRule, "rulesets_ExecuteRuleOverrides": rulesets_ExecuteRuleOverrides, - "rulesets_ExecuteSensitivityLevel": rulesets_ExecuteSensitivityLevel, "rulesets_ForceConnectionCloseRule": rulesets_ForceConnectionCloseRule, "rulesets_JsChallengeRule": rulesets_JsChallengeRule, "rulesets_LogCustomFieldCookieFields": rulesets_LogCustomFieldCookieFields, @@ -2081,48 +2110,28 @@ export const tools: readonly Tool[] = [ "rulesets_Response": rulesets_Response, "rulesets_ResponseRule": rulesets_ResponseRule, "rulesets_ResponseRules": rulesets_ResponseRules, - "rulesets_RewriteHeaderExpression": rulesets_RewriteHeaderExpression, - "rulesets_RewriteHeaderOperation": rulesets_RewriteHeaderOperation, - "rulesets_RewriteHeaderValue": rulesets_RewriteHeaderValue, "rulesets_RewriteHeaders": rulesets_RewriteHeaders, "rulesets_RewriteRule": rulesets_RewriteRule, "rulesets_RewriteUri": rulesets_RewriteUri, "rulesets_RewriteUriPath": rulesets_RewriteUriPath, "rulesets_RewriteUriQuery": rulesets_RewriteUriQuery, - "rulesets_RouteHostHeader": rulesets_RouteHostHeader, "rulesets_RouteOrigin": rulesets_RouteOrigin, "rulesets_RouteRule": rulesets_RouteRule, "rulesets_RouteSNI": rulesets_RouteSNI, "rulesets_Rule": rulesets_Rule, - "rulesets_RuleAction": rulesets_RuleAction, "rulesets_RuleCategories": rulesets_RuleCategories, - "rulesets_RuleCategory": rulesets_RuleCategory, - "rulesets_RuleEnabled": rulesets_RuleEnabled, "rulesets_RuleExposedCredentialCheck": rulesets_RuleExposedCredentialCheck, - "rulesets_RuleId": rulesets_RuleId, "rulesets_RuleLogging": rulesets_RuleLogging, "rulesets_RuleRatelimit": rulesets_RuleRatelimit, "rulesets_Ruleset": rulesets_Ruleset, - "rulesets_RulesetId": rulesets_RulesetId, - "rulesets_RulesetKind": rulesets_RulesetKind, - "rulesets_RulesetPhase": rulesets_RulesetPhase, - "rulesets_RulesetVersion": rulesets_RulesetVersion, - "rulesets_ScoreIncrement": rulesets_ScoreIncrement, "rulesets_ScoreRule": rulesets_ScoreRule, - "rulesets_ServeErrorAssetName": rulesets_ServeErrorAssetName, - "rulesets_ServeErrorContent": rulesets_ServeErrorContent, - "rulesets_ServeErrorContentType": rulesets_ServeErrorContentType, "rulesets_ServeErrorRule": rulesets_ServeErrorRule, - "rulesets_ServeErrorStatusCode": rulesets_ServeErrorStatusCode, - "rulesets_SetCacheControlCloudflareOnly": rulesets_SetCacheControlCloudflareOnly, "rulesets_SetCacheControlDirective": rulesets_SetCacheControlDirective, "rulesets_SetCacheControlDirectiveWithQualifiers": rulesets_SetCacheControlDirectiveWithQualifiers, "rulesets_SetCacheControlDirectiveWithValue": rulesets_SetCacheControlDirectiveWithValue, - "rulesets_SetCacheControlOperation": rulesets_SetCacheControlOperation, "rulesets_SetCacheControlRule": rulesets_SetCacheControlRule, "rulesets_SetCacheSettingsAdditionalCacheablePorts": rulesets_SetCacheSettingsAdditionalCacheablePorts, "rulesets_SetCacheSettingsBrowserTTL": rulesets_SetCacheSettingsBrowserTTL, - "rulesets_SetCacheSettingsCache": rulesets_SetCacheSettingsCache, "rulesets_SetCacheSettingsCacheKey": rulesets_SetCacheSettingsCacheKey, "rulesets_SetCacheSettingsCacheReserve": rulesets_SetCacheSettingsCacheReserve, "rulesets_SetCacheSettingsCustomCacheKey": rulesets_SetCacheSettingsCustomCacheKey, @@ -2132,33 +2141,22 @@ export const tools: readonly Tool[] = [ "rulesets_SetCacheSettingsCustomCacheKeyQueryString": rulesets_SetCacheSettingsCustomCacheKeyQueryString, "rulesets_SetCacheSettingsCustomCacheKeyUser": rulesets_SetCacheSettingsCustomCacheKeyUser, "rulesets_SetCacheSettingsEdgeTTL": rulesets_SetCacheSettingsEdgeTTL, - "rulesets_SetCacheSettingsOriginCacheControl": rulesets_SetCacheSettingsOriginCacheControl, - "rulesets_SetCacheSettingsOriginErrorPagePassthru": rulesets_SetCacheSettingsOriginErrorPagePassthru, "rulesets_SetCacheSettingsOriginRangeRequests": rulesets_SetCacheSettingsOriginRangeRequests, - "rulesets_SetCacheSettingsReadTimeout": rulesets_SetCacheSettingsReadTimeout, - "rulesets_SetCacheSettingsRespectStrongEtags": rulesets_SetCacheSettingsRespectStrongEtags, "rulesets_SetCacheSettingsRule": rulesets_SetCacheSettingsRule, "rulesets_SetCacheSettingsServeStale": rulesets_SetCacheSettingsServeStale, "rulesets_SetCacheSettingsSharedDictionary": rulesets_SetCacheSettingsSharedDictionary, "rulesets_SetCacheSettingsStatusCodeTTL": rulesets_SetCacheSettingsStatusCodeTTL, - "rulesets_SetCacheSettingsStripETags": rulesets_SetCacheSettingsStripETags, - "rulesets_SetCacheSettingsStripLastModified": rulesets_SetCacheSettingsStripLastModified, - "rulesets_SetCacheSettingsStripSetCookie": rulesets_SetCacheSettingsStripSetCookie, "rulesets_SetCacheSettingsVary": rulesets_SetCacheSettingsVary, "rulesets_SetCacheSettingsVaryDefault": rulesets_SetCacheSettingsVaryDefault, "rulesets_SetCacheSettingsVaryHeader": rulesets_SetCacheSettingsVaryHeader, - "rulesets_SetCacheTagsExpression": rulesets_SetCacheTagsExpression, - "rulesets_SetCacheTagsOperation": rulesets_SetCacheTagsOperation, "rulesets_SetCacheTagsRule": rulesets_SetCacheTagsRule, "rulesets_SetCacheTagsValues": rulesets_SetCacheTagsValues, "rulesets_SetConfigAutominify": rulesets_SetConfigAutominify, "rulesets_SetConfigRule": rulesets_SetConfigRule, - "rulesets_SkipPhase": rulesets_SkipPhase, "rulesets_SkipPhases": rulesets_SkipPhases, "rulesets_SkipProducts": rulesets_SkipProducts, "rulesets_SkipRule": rulesets_SkipRule, "rulesets_SkipRules": rulesets_SkipRules, - "rulesets_SkipRuleset": rulesets_SkipRuleset, "rulesets_SkipRulesets": rulesets_SkipRulesets, "rulesets_TransformResponseHTMLRule": rulesets_TransformResponseHTMLRule, }, diff --git a/src/generated/forge-mcp/rum/outputs.ts b/src/generated/forge-mcp/rum/outputs.ts index 22c2cf1c7..507286945 100644 --- a/src/generated/forge-mcp/rum/outputs.ts +++ b/src/generated/forge-mcp/rum/outputs.ts @@ -9,13 +9,14 @@ import type { JsonSchema } from "../_/tool.js"; export const rum_rule: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/rum_timestamp" + "format": "date-time", + "type": "string" }, "host": { "type": "string" }, "id": { - "$ref": "#/$defs/rum_rule_identifier" + "type": "string" }, "inclusive": { "type": "boolean" @@ -36,13 +37,6 @@ export const rum_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `rum_rule_identifier` in responses. - */ -export const rum_rule_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `rum_rules` in responses. */ @@ -62,36 +56,14 @@ export const rum_ruleset: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/rum_ruleset_identifier" + "type": "string" }, "zone_name": { "type": "string" }, "zone_tag": { - "$ref": "#/$defs/rum_zone_tag" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `rum_ruleset_identifier` in responses. - */ -export const rum_ruleset_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rum_timestamp` in responses. - */ -export const rum_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `rum_zone_tag` in responses. - */ -export const rum_zone_tag: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/rum/rules/outputs.ts b/src/generated/forge-mcp/rum/rules/outputs.ts index 7c6672859..eb3d371bd 100644 --- a/src/generated/forge-mcp/rum/rules/outputs.ts +++ b/src/generated/forge-mcp/rum/rules/outputs.ts @@ -16,7 +16,7 @@ export const rum_rule$$id$$response$$single: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/rum_rule_identifier" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/rum/rules/schemas.ts b/src/generated/forge-mcp/rum/rules/schemas.ts index 2578f6288..356ec2652 100644 --- a/src/generated/forge-mcp/rum/rules/schemas.ts +++ b/src/generated/forge-mcp/rum/rules/schemas.ts @@ -37,7 +37,8 @@ export const rum_modify$$rules$$request: JsonSchema = { "delete_rules": { "description": "A list of rule identifiers to delete.", "items": { - "$ref": "#/$defs/rum_rule_identifier" + "description": "The Web Analytics rule identifier.", + "type": "string" }, "type": "array" }, @@ -49,8 +50,8 @@ export const rum_modify$$rules$$request: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/rum_rule_identifier", - "description": "The Web Analytics rule identifier." + "description": "The Web Analytics rule identifier.", + "type": "string" }, "inclusive": { "type": "boolean" diff --git a/src/generated/forge-mcp/rum/rules/tools.ts b/src/generated/forge-mcp/rum/rules/tools.ts index d9be7d23d..f38163a89 100644 --- a/src/generated/forge-mcp/rum/rules/tools.ts +++ b/src/generated/forge-mcp/rum/rules/tools.ts @@ -8,20 +8,7 @@ import { rum_messages, rum_messages$$2, } from "../../outputs.js"; -import { rum_identifier } from "../../schemas.js"; -import { - rum_rule, - rum_rule_identifier, - rum_rules, - rum_ruleset, - rum_ruleset_identifier, - rum_timestamp, - rum_zone_tag, -} from "../outputs.js"; -import { - rum_rule_identifier as rum_rule_identifier$, - rum_ruleset_identifier as rum_ruleset_identifier$, -} from "../schemas.js"; +import { rum_rule, rum_rules, rum_ruleset } from "../outputs.js"; import { rum_rule$$id$$response$$single, rum_rule$$response$$single, @@ -39,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "rum_rules_bulkCreate", title: "Update Web Analytics rules", - description: "Modifies one or more rules in a Web Analytics ruleset with a single request.", + description: "Modifies one or more rules in a Web Analytics ruleset with a single request.\n\nPOST /accounts/{account_id}/rum/v2/{ruleset_id}/rules", inputSchema: { type: "object", properties: { @@ -47,14 +34,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/rum_modify-rules-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "description": "The Web Analytics ruleset identifier.", + "type": "string" } }, "required": [ @@ -68,11 +56,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "rum_identifier": rum_identifier, "rum_modify-rules-request": rum_modify$$rules$$request, - "rum_rule_identifier": rum_rule_identifier$, - "rum_ruleset_identifier": rum_ruleset_identifier$, }, }, outputSchema: { @@ -81,13 +67,9 @@ export const tools: readonly Tool[] = [ "rum_api-response-common": rum_api$$response$$common, "rum_messages": rum_messages, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_rules-response-collection": rum_rules$$response$$collection, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -125,13 +107,9 @@ export const tools: readonly Tool[] = [ "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_rules-response-collection": rum_rules$$response$$collection, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -142,7 +120,7 @@ export const tools: readonly Tool[] = [ { name: "rum_rules_create", title: "Create a Web Analytics rule", - description: "Creates a new rule in a Web Analytics ruleset.", + description: "Creates a new rule in a Web Analytics ruleset.\n\nPOST /accounts/{account_id}/rum/v2/{ruleset_id}/rule", inputSchema: { type: "object", properties: { @@ -150,14 +128,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/rum_create-rule-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "description": "The Web Analytics ruleset identifier.", + "type": "string" } }, "required": [ @@ -171,10 +150,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "rum_create-rule-request": rum_create$$rule$$request, - "rum_identifier": rum_identifier, - "rum_ruleset_identifier": rum_ruleset_identifier$, }, }, outputSchema: { @@ -184,8 +162,6 @@ export const tools: readonly Tool[] = [ "rum_messages": rum_messages, "rum_rule": rum_rule, "rum_rule-response-single": rum_rule$$response$$single, - "rum_rule_identifier": rum_rule_identifier, - "rum_timestamp": rum_timestamp, }, }, annotations: { @@ -221,8 +197,6 @@ export const tools: readonly Tool[] = [ "rum_messages-2": rum_messages$$2, "rum_rule": rum_rule, "rum_rule-response-single": rum_rule$$response$$single, - "rum_rule_identifier": rum_rule_identifier, - "rum_timestamp": rum_timestamp, }, }, request: (args) => ({ @@ -233,23 +207,24 @@ export const tools: readonly Tool[] = [ { name: "rum_rules_delete", title: "Delete a Web Analytics rule", - description: "Deletes an existing rule from a Web Analytics ruleset.", + description: "Deletes an existing rule from a Web Analytics ruleset.\n\nDELETE /accounts/{account_id}/rum/v2/{ruleset_id}/rule/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/rum_rule_identifier", - "description": "The Web Analytics rule identifier." + "description": "The Web Analytics rule identifier.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "description": "The Web Analytics ruleset identifier.", + "type": "string" } }, "required": [ @@ -263,11 +238,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rum_identifier": rum_identifier, - "rum_rule_identifier": rum_rule_identifier$, - "rum_ruleset_identifier": rum_ruleset_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/rum_rule-id-response-single", @@ -275,7 +246,6 @@ export const tools: readonly Tool[] = [ "rum_api-response-common": rum_api$$response$$common, "rum_messages": rum_messages, "rum_rule-id-response-single": rum_rule$$id$$response$$single, - "rum_rule_identifier": rum_rule_identifier, }, }, annotations: { @@ -310,7 +280,6 @@ export const tools: readonly Tool[] = [ "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_rule-id-response-single": rum_rule$$id$$response$$single, - "rum_rule_identifier": rum_rule_identifier, }, }, request: (args) => ({ @@ -320,19 +289,20 @@ export const tools: readonly Tool[] = [ { name: "rum_rules_list", title: "List rules in Web Analytics ruleset", - description: "Lists all the rules in a Web Analytics ruleset.", + description: "Lists all the rules in a Web Analytics ruleset.\n\nGET /accounts/{account_id}/rum/v2/{ruleset_id}/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "description": "The Web Analytics ruleset identifier.", + "type": "string" } }, "required": [ @@ -345,10 +315,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rum_identifier": rum_identifier, - "rum_ruleset_identifier": rum_ruleset_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/rum_rules-response-collection", @@ -356,13 +323,9 @@ export const tools: readonly Tool[] = [ "rum_api-response-common": rum_api$$response$$common, "rum_messages": rum_messages, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_rules-response-collection": rum_rules$$response$$collection, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -397,13 +360,9 @@ export const tools: readonly Tool[] = [ "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_rules-response-collection": rum_rules$$response$$collection, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -413,7 +372,7 @@ export const tools: readonly Tool[] = [ { name: "rum_rules_update", title: "Update a Web Analytics rule", - description: "Updates a rule in a Web Analytics ruleset.", + description: "Updates a rule in a Web Analytics ruleset.\n\nPUT /accounts/{account_id}/rum/v2/{ruleset_id}/rule/{rule_id}", inputSchema: { type: "object", properties: { @@ -421,18 +380,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/rum_create-rule-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/rum_rule_identifier", - "description": "The Web Analytics rule identifier." + "description": "The Web Analytics rule identifier.", + "type": "string" }, "ruleset_id": { - "$ref": "#/$defs/rum_ruleset_identifier", - "description": "The Web Analytics ruleset identifier." + "description": "The Web Analytics ruleset identifier.", + "type": "string" } }, "required": [ @@ -447,11 +407,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "rum_create-rule-request": rum_create$$rule$$request, - "rum_identifier": rum_identifier, - "rum_rule_identifier": rum_rule_identifier$, - "rum_ruleset_identifier": rum_ruleset_identifier$, }, }, outputSchema: { @@ -461,8 +419,6 @@ export const tools: readonly Tool[] = [ "rum_messages": rum_messages, "rum_rule": rum_rule, "rum_rule-response-single": rum_rule$$response$$single, - "rum_rule_identifier": rum_rule_identifier, - "rum_timestamp": rum_timestamp, }, }, annotations: { @@ -498,8 +454,6 @@ export const tools: readonly Tool[] = [ "rum_messages-2": rum_messages$$2, "rum_rule": rum_rule, "rum_rule-response-single": rum_rule$$response$$single, - "rum_rule_identifier": rum_rule_identifier, - "rum_timestamp": rum_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/rum/schemas.ts b/src/generated/forge-mcp/rum/schemas.ts deleted file mode 100644 index 9cc7ca574..000000000 --- a/src/generated/forge-mcp/rum/schemas.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `rum_rule_identifier`. - */ -export const rum_rule_identifier: JsonSchema = { - "description": "The Web Analytics rule identifier.", - "type": "string" -}; - -/** - * The schema of `rum_ruleset_identifier`. - */ -export const rum_ruleset_identifier: JsonSchema = { - "description": "The Web Analytics ruleset identifier.", - "type": "string" -}; - -/** - * The schema of `rum_zone_tag`. - */ -export const rum_zone_tag: JsonSchema = { - "description": "The zone identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/rum/siteInfo/outputs.ts b/src/generated/forge-mcp/rum/siteInfo/outputs.ts index 08c308648..7294876de 100644 --- a/src/generated/forge-mcp/rum/siteInfo/outputs.ts +++ b/src/generated/forge-mcp/rum/siteInfo/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `rum_auto_install` in responses. - */ -export const rum_auto_install: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `rum_empty-response` in responses. */ @@ -66,10 +59,11 @@ export const rum_result_info: JsonSchema = { export const rum_site: JsonSchema = { "properties": { "auto_install": { - "$ref": "#/$defs/rum_auto_install" + "type": "boolean" }, "created": { - "$ref": "#/$defs/rum_timestamp" + "format": "date-time", + "type": "string" }, "rules": { "$ref": "#/$defs/rum_rules" @@ -78,13 +72,13 @@ export const rum_site: JsonSchema = { "$ref": "#/$defs/rum_ruleset" }, "site_tag": { - "$ref": "#/$defs/rum_site_tag" + "type": "string" }, "site_token": { - "$ref": "#/$defs/rum_site_token" + "type": "string" }, "snippet": { - "$ref": "#/$defs/rum_snippet" + "type": "string" } }, "type": "object" @@ -121,7 +115,7 @@ export const rum_site$$tag$$list$$response: JsonSchema = { "properties": { "result": { "items": { - "$ref": "#/$defs/rum_site_tag" + "type": "string" }, "type": "array" } @@ -144,7 +138,7 @@ export const rum_site$$tag$$response$$single: JsonSchema = { "result": { "properties": { "site_tag": { - "$ref": "#/$defs/rum_site_tag" + "type": "string" } }, "type": "object" @@ -155,20 +149,6 @@ export const rum_site$$tag$$response$$single: JsonSchema = { ] }; -/** - * The schema of `rum_site_tag` in responses. - */ -export const rum_site_tag: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `rum_site_token` in responses. - */ -export const rum_site_token: JsonSchema = { - "type": "string" -}; - /** * The schema of `rum_sites-response-collection` in responses. */ @@ -194,13 +174,6 @@ export const rum_sites$$response$$collection: JsonSchema = { ] }; -/** - * The schema of `rum_snippet` in responses. - */ -export const rum_snippet: JsonSchema = { - "type": "string" -}; - /** * The schema of `rum_zone-tag-list-response` in responses. */ @@ -213,7 +186,7 @@ export const rum_zone$$tag$$list$$response: JsonSchema = { "properties": { "result": { "items": { - "$ref": "#/$defs/rum_zone_tag" + "type": "string" }, "type": "array" } diff --git a/src/generated/forge-mcp/rum/siteInfo/schemas.ts b/src/generated/forge-mcp/rum/siteInfo/schemas.ts index 92e28ea86..992c47563 100644 --- a/src/generated/forge-mcp/rum/siteInfo/schemas.ts +++ b/src/generated/forge-mcp/rum/siteInfo/schemas.ts @@ -3,111 +3,51 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `rum_auto_install`. - */ -export const rum_auto_install: JsonSchema = { - "description": "If enabled, the JavaScript snippet is automatically injected for orange-clouded sites.", - "type": "boolean" -}; - /** * The schema of `rum_create-site-request`. */ export const rum_create$$site$$request: JsonSchema = { "properties": { "auto_install": { - "$ref": "#/$defs/rum_auto_install", - "description": "If enabled, the JavaScript snippet is automatically injected for orange-clouded sites." + "description": "If enabled, the JavaScript snippet is automatically injected for orange-clouded sites.", + "type": "boolean" }, "host": { - "$ref": "#/$defs/rum_host", - "description": "The hostname to use for gray-clouded sites." + "description": "The hostname to use for gray-clouded sites.", + "type": "string" }, "zone_tag": { - "$ref": "#/$defs/rum_zone_tag", - "description": "The zone identifier." + "description": "The zone identifier.", + "type": "string" } }, "type": "object" }; -/** - * The schema of `rum_enabled`. - */ -export const rum_enabled: JsonSchema = { - "description": "Enables or disables RUM. This option can be used only when auto_install is set to true.", - "type": "boolean" -}; - -/** - * The schema of `rum_host`. - */ -export const rum_host: JsonSchema = { - "description": "The hostname to use for gray-clouded sites.", - "type": "string" -}; - -/** - * The schema of `rum_lite`. - */ -export const rum_lite: JsonSchema = { - "description": "If enabled, the JavaScript snippet will not be injected for visitors from the EU.", - "type": "boolean" -}; - -/** - * The schema of `rum_order_by`. - */ -export const rum_order_by: JsonSchema = { - "description": "The property used to sort the list of results.", - "enum": [ - "host", - "created" - ], - "type": "string" -}; - -/** - * The schema of `rum_page`. - */ -export const rum_page: JsonSchema = { - "description": "Current page within the paginated list of results.", - "type": "number" -}; - -/** - * The schema of `rum_per_page`. - */ -export const rum_per_page: JsonSchema = { - "description": "Number of items to return per page of results.", - "type": "number" -}; - /** * The schema of `rum_update-site-request`. */ export const rum_update$$site$$request: JsonSchema = { "properties": { "auto_install": { - "$ref": "#/$defs/rum_auto_install", - "description": "If enabled, the JavaScript snippet is automatically injected for orange-clouded sites." + "description": "If enabled, the JavaScript snippet is automatically injected for orange-clouded sites.", + "type": "boolean" }, "enabled": { - "$ref": "#/$defs/rum_enabled", - "description": "Enables or disables RUM. This option can be used only when auto_install is set to true." + "description": "Enables or disables RUM. This option can be used only when auto_install is set to true.", + "type": "boolean" }, "host": { - "$ref": "#/$defs/rum_host", - "description": "The hostname to use for gray-clouded sites." + "description": "The hostname to use for gray-clouded sites.", + "type": "string" }, "lite": { - "$ref": "#/$defs/rum_lite", - "description": "If enabled, the JavaScript snippet will not be injected for visitors from the EU." + "description": "If enabled, the JavaScript snippet will not be injected for visitors from the EU.", + "type": "boolean" }, "zone_tag": { - "$ref": "#/$defs/rum_zone_tag", - "description": "The zone identifier." + "description": "The zone identifier.", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/rum/siteInfo/tools.ts b/src/generated/forge-mcp/rum/siteInfo/tools.ts index 67e69c71d..916314fcc 100644 --- a/src/generated/forge-mcp/rum/siteInfo/tools.ts +++ b/src/generated/forge-mcp/rum/siteInfo/tools.ts @@ -8,40 +8,19 @@ import { rum_messages, rum_messages$$2, } from "../../outputs.js"; -import { rum_identifier } from "../../schemas.js"; +import { rum_rule, rum_rules, rum_ruleset } from "../outputs.js"; import { - rum_rule, - rum_rule_identifier, - rum_rules, - rum_ruleset, - rum_ruleset_identifier, - rum_timestamp, - rum_zone_tag, -} from "../outputs.js"; -import { rum_zone_tag as rum_zone_tag$ } from "../schemas.js"; -import { - rum_auto_install, rum_empty$$response, rum_result_info, rum_site, rum_site$$response$$single, rum_site$$tag$$list$$response, rum_site$$tag$$response$$single, - rum_site_tag, - rum_site_token, rum_sites$$response$$collection, - rum_snippet, rum_zone$$tag$$list$$response, } from "./outputs.js"; import { - rum_auto_install as rum_auto_install$, rum_create$$site$$request, - rum_enabled, - rum_host, - rum_lite, - rum_order_by, - rum_page, - rum_per_page, rum_update$$site$$request, } from "./schemas.js"; @@ -52,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "rum_siteInfo_create", title: "Create a Web Analytics site", - description: "Creates a new Web Analytics site.", + description: "Creates a new Web Analytics site.\n\nPOST /accounts/{account_id}/rum/site_info", inputSchema: { type: "object", properties: { @@ -60,10 +39,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/rum_create-site-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -76,32 +56,21 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "rum_auto_install": rum_auto_install$, "rum_create-site-request": rum_create$$site$$request, - "rum_host": rum_host, - "rum_identifier": rum_identifier, - "rum_zone_tag": rum_zone_tag$, }, }, outputSchema: { "$ref": "#/$defs/rum_site-response-single", $defs: { "rum_api-response-common": rum_api$$response$$common, - "rum_auto_install": rum_auto_install, "rum_messages": rum_messages, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, "rum_site": rum_site, "rum_site-response-single": rum_site$$response$$single, - "rum_site_tag": rum_site_tag, - "rum_site_token": rum_site_token, - "rum_snippet": rum_snippet, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -136,21 +105,13 @@ export const tools: readonly Tool[] = [ $defs: { "rum_api-response-common": rum_api$$response$$common, "rum_api-response-common-failure": rum_api$$response$$common$$failure, - "rum_auto_install": rum_auto_install, "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, "rum_site": rum_site, "rum_site-response-single": rum_site$$response$$single, - "rum_site_tag": rum_site_tag, - "rum_site_token": rum_site_token, - "rum_snippet": rum_snippet, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -161,19 +122,20 @@ export const tools: readonly Tool[] = [ { name: "rum_siteInfo_delete", title: "Delete a Web Analytics site", - description: "Deletes an existing Web Analytics site.", + description: "Deletes an existing Web Analytics site.\n\nDELETE /accounts/{account_id}/rum/site_info/{site_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "site_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -186,9 +148,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rum_identifier": rum_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/rum_site-tag-response-single", @@ -196,7 +156,6 @@ export const tools: readonly Tool[] = [ "rum_api-response-common": rum_api$$response$$common, "rum_messages": rum_messages, "rum_site-tag-response-single": rum_site$$tag$$response$$single, - "rum_site_tag": rum_site_tag, }, }, annotations: { @@ -234,7 +193,6 @@ export const tools: readonly Tool[] = [ "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_site-tag-response-single": rum_site$$tag$$response$$single, - "rum_site_tag": rum_site_tag, }, }, request: (args) => ({ @@ -244,19 +202,20 @@ export const tools: readonly Tool[] = [ { name: "rum_siteInfo_get", title: "Get a Web Analytics site", - description: "Retrieves a Web Analytics site.", + description: "Retrieves a Web Analytics site.\n\nGET /accounts/{account_id}/rum/site_info/{site_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "site_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -269,28 +228,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rum_identifier": rum_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/rum_site-response-single", $defs: { "rum_api-response-common": rum_api$$response$$common, - "rum_auto_install": rum_auto_install, "rum_messages": rum_messages, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, "rum_site": rum_site, "rum_site-response-single": rum_site$$response$$single, - "rum_site_tag": rum_site_tag, - "rum_site_token": rum_site_token, - "rum_snippet": rum_snippet, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -325,21 +274,13 @@ export const tools: readonly Tool[] = [ $defs: { "rum_api-response-common": rum_api$$response$$common, "rum_api-response-common-failure": rum_api$$response$$common$$failure, - "rum_auto_install": rum_auto_install, "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, "rum_site": rum_site, "rum_site-response-single": rum_site$$response$$single, - "rum_site_tag": rum_site_tag, - "rum_site_token": rum_site_token, - "rum_snippet": rum_snippet, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -349,15 +290,16 @@ export const tools: readonly Tool[] = [ { name: "rum_siteInfo_list", title: "List Web Analytics sites", - description: "Lists all Web Analytics sites of an account.", + description: "Lists all Web Analytics sites of an account.\n\nGET /accounts/{account_id}/rum/site_info/list", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -366,18 +308,23 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "order_by": { - "$ref": "#/$defs/rum_order_by", - "description": "The property used to sort the list of results." + "description": "The property used to sort the list of results.", + "enum": [ + "host", + "created" + ], + "type": "string" }, "page": { - "$ref": "#/$defs/rum_page", - "description": "Current page within the paginated list of results." + "description": "Current page within the paginated list of results.", + "type": "number" }, "per_page": { - "$ref": "#/$defs/rum_per_page", - "description": "Number of items to return per page of results." + "description": "Number of items to return per page of results.", + "type": "number" } }, "type": "object" @@ -386,32 +333,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rum_identifier": rum_identifier, - "rum_order_by": rum_order_by, - "rum_page": rum_page, - "rum_per_page": rum_per_page, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/rum_sites-response-collection", $defs: { "rum_api-response-common": rum_api$$response$$common, - "rum_auto_install": rum_auto_install, "rum_messages": rum_messages, "rum_result_info": rum_result_info, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, "rum_site": rum_site, - "rum_site_tag": rum_site_tag, - "rum_site_token": rum_site_token, "rum_sites-response-collection": rum_sites$$response$$collection, - "rum_snippet": rum_snippet, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -446,22 +380,14 @@ export const tools: readonly Tool[] = [ $defs: { "rum_api-response-common": rum_api$$response$$common, "rum_api-response-common-failure": rum_api$$response$$common$$failure, - "rum_auto_install": rum_auto_install, "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_result_info": rum_result_info, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, "rum_site": rum_site, - "rum_site_tag": rum_site_tag, - "rum_site_token": rum_site_token, "rum_sites-response-collection": rum_sites$$response$$collection, - "rum_snippet": rum_snippet, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -476,15 +402,16 @@ export const tools: readonly Tool[] = [ { name: "rum_siteInfo_listSiteTags", title: "List Web Analytics site tags", - description: "Returns all site tags for an account as an array of site tag strings. This endpoint returns all results without pagination.", + description: "Returns all site tags for an account as an array of site tag strings. This endpoint returns all results without pagination.\n\nGET /accounts/{account_id}/rum/site_info/site_tag/list", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -493,6 +420,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "all": { "description": "When true, includes sites that are disabled or paused.", @@ -505,9 +433,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rum_identifier": rum_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/rum_site-tag-list-response", @@ -515,7 +441,6 @@ export const tools: readonly Tool[] = [ "rum_api-response-common": rum_api$$response$$common, "rum_messages": rum_messages, "rum_site-tag-list-response": rum_site$$tag$$list$$response, - "rum_site_tag": rum_site_tag, }, }, annotations: { @@ -553,7 +478,6 @@ export const tools: readonly Tool[] = [ "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_site-tag-list-response": rum_site$$tag$$list$$response, - "rum_site_tag": rum_site_tag, }, }, request: (args) => ({ @@ -566,15 +490,16 @@ export const tools: readonly Tool[] = [ { name: "rum_siteInfo_listZoneTags", title: "List Web Analytics zone tags", - description: "Returns all zone tags associated with Web Analytics sites for an account. These can be used to filter or exclude zones in the zone selection input. This endpoint returns all results without pagination.", + description: "Returns all zone tags associated with Web Analytics sites for an account. These can be used to filter or exclude zones in the zone selection input. This endpoint returns all results without pagination.\n\nGET /accounts/{account_id}/rum/site_info/zone_tag/list", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -586,9 +511,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rum_identifier": rum_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/rum_zone-tag-list-response", @@ -596,7 +519,6 @@ export const tools: readonly Tool[] = [ "rum_api-response-common": rum_api$$response$$common, "rum_messages": rum_messages, "rum_zone-tag-list-response": rum_zone$$tag$$list$$response, - "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -634,7 +556,6 @@ export const tools: readonly Tool[] = [ "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_zone-tag-list-response": rum_zone$$tag$$list$$response, - "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -644,7 +565,7 @@ export const tools: readonly Tool[] = [ { name: "rum_siteInfo_update", title: "Update a Web Analytics site", - description: "Updates an existing Web Analytics site.", + description: "Updates an existing Web Analytics site.\n\nPUT /accounts/{account_id}/rum/site_info/{site_id}", inputSchema: { type: "object", properties: { @@ -652,14 +573,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/rum_update-site-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "site_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -673,34 +595,21 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "rum_auto_install": rum_auto_install$, - "rum_enabled": rum_enabled, - "rum_host": rum_host, - "rum_identifier": rum_identifier, - "rum_lite": rum_lite, "rum_update-site-request": rum_update$$site$$request, - "rum_zone_tag": rum_zone_tag$, }, }, outputSchema: { "$ref": "#/$defs/rum_site-response-single", $defs: { "rum_api-response-common": rum_api$$response$$common, - "rum_auto_install": rum_auto_install, "rum_messages": rum_messages, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, "rum_site": rum_site, "rum_site-response-single": rum_site$$response$$single, - "rum_site_tag": rum_site_tag, - "rum_site_token": rum_site_token, - "rum_snippet": rum_snippet, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, annotations: { @@ -735,21 +644,13 @@ export const tools: readonly Tool[] = [ $defs: { "rum_api-response-common": rum_api$$response$$common, "rum_api-response-common-failure": rum_api$$response$$common$$failure, - "rum_auto_install": rum_auto_install, "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_rule": rum_rule, - "rum_rule_identifier": rum_rule_identifier, "rum_rules": rum_rules, "rum_ruleset": rum_ruleset, - "rum_ruleset_identifier": rum_ruleset_identifier, "rum_site": rum_site, "rum_site-response-single": rum_site$$response$$single, - "rum_site_tag": rum_site_tag, - "rum_site_token": rum_site_token, - "rum_snippet": rum_snippet, - "rum_timestamp": rum_timestamp, - "rum_zone_tag": rum_zone_tag, }, }, request: (args) => ({ @@ -760,18 +661,19 @@ export const tools: readonly Tool[] = [ { name: "rum_siteInfo_validateHostname", title: "Validate a Web Analytics site hostname", - description: "Validates that the provided hostname is well-formed, does not contain wildcards, and has a valid TLD. Returns an empty result on success.", + description: "Validates that the provided hostname is well-formed, does not contain wildcards, and has a valid TLD. Returns an empty result on success.\n\nGET /accounts/{account_id}/rum/site_info/validate/{hostname}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "hostname": { - "description": "The hostname to validate (e.g. example.com). The `pattern` below validates the hostname's structure (label syntax) only. In addition, the hostname must end in a valid public suffix (TLD). For the list of valid suffixes and how it is used, see the Public Suffix List: https://wiki.mozilla.org/Public_Suffix_List/Use_Cases\n", + "description": "The hostname to validate (e.g. example.com). The `pattern` below validates the hostname's structure (label syntax) only. In addition, the hostname must end in a valid public suffix (TLD). For the list of valid suffixes and how it is used, see the Public Suffix List: https://wiki.mozilla.org/Public_Suffix_List/Use_Cases", "type": "string" } }, @@ -785,9 +687,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rum_identifier": rum_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/rum_empty-response", diff --git a/src/generated/forge-mcp/schemas.ts b/src/generated/forge-mcp/schemas.ts index c63b58135..815ae140e 100644 --- a/src/generated/forge-mcp/schemas.ts +++ b/src/generated/forge-mcp/schemas.ts @@ -3,21 +3,13 @@ import type { JsonSchema } from "./_/tool.js"; -/** - * The schema of `aaa_identifier`. - */ -export const aaa_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; - /** * The schema of `analytics-sql_SqlQueryAccountScope`. */ export const analytics$$sql_SqlQueryAccountScope: JsonSchema = { "properties": { "accountTag": { - "description": "Account tag used to authorize and scope the query. Must be a 32-character lowercase hex string.\n", + "description": "Account tag used to authorize and scope the query. Must be a 32-character lowercase hex string.", "type": "string" } }, @@ -33,7 +25,7 @@ export const analytics$$sql_SqlQueryAccountScope: JsonSchema = { export const analytics$$sql_SqlQueryRequest: JsonSchema = { "properties": { "params": { - "description": "Positional array values for `$1`, `$2`, and similar placeholders, or named object values for placeholders such as `$status`.\n", + "description": "Positional array values for `$1`, `$2`, and similar placeholders, or named object values for placeholders such as `$status`.", "oneOf": [ { "items": { @@ -60,12 +52,12 @@ export const analytics$$sql_SqlQueryRequest: JsonSchema = { ] }, "query": { - "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.\n", + "description": "SQL query to execute. A trailing FORMAT selects JSON, JSONEachRow, TabSeparated, or TSV output on any dataset.", "type": "string" }, "scope": { "$ref": "#/$defs/analytics-sql_SqlQueryScope", - "description": "Account or zone scope applied to the query. Include exactly one scope tag. Do not include account or zone tenancy predicates in the SQL query when this field is present.\n" + "description": "Account or zone scope applied to the query. Include exactly one scope tag. Do not include account or zone tenancy predicates in the SQL query when this field is present." }, "time_range": { "$ref": "#/$defs/analytics-sql_SqlQueryTimeRange" @@ -81,7 +73,7 @@ export const analytics$$sql_SqlQueryRequest: JsonSchema = { * The schema of `analytics-sql_SqlQueryScope`. */ export const analytics$$sql_SqlQueryScope: JsonSchema = { - "description": "Account or zone scope applied to the query. Include exactly one scope tag. Do not include account or zone tenancy predicates in the SQL query when this field is present.\n", + "description": "Account or zone scope applied to the query. Include exactly one scope tag. Do not include account or zone tenancy predicates in the SQL query when this field is present.", "oneOf": [ { "$ref": "#/$defs/analytics-sql_SqlQueryAccountScope" @@ -96,7 +88,7 @@ export const analytics$$sql_SqlQueryScope: JsonSchema = { * The schema of `analytics-sql_SqlQueryTimeRange`. */ export const analytics$$sql_SqlQueryTimeRange: JsonSchema = { - "description": "Time bounds applied to the dataset's timestamp column. Do not include timestamp predicates in the SQL query when this field is present.\n", + "description": "Time bounds applied to the dataset's timestamp column. Do not include timestamp predicates in the SQL query when this field is present.", "properties": { "end": { "description": "Inclusive upper bound for the dataset's timestamp column.", @@ -119,7 +111,7 @@ export const analytics$$sql_SqlQueryTimeRange: JsonSchema = { export const analytics$$sql_SqlQueryZoneScope: JsonSchema = { "properties": { "zoneTag": { - "description": "Zone tag used to authorize and scope the query. Must be a 32-character lowercase hex string.\n", + "description": "Zone tag used to authorize and scope the query. Must be a 32-character lowercase hex string.", "type": "string" } }, @@ -135,16 +127,27 @@ export const analytics$$sql_SqlQueryZoneScope: JsonSchema = { export const api$$shield_basic_operation: JsonSchema = { "properties": { "endpoint": { - "$ref": "#/$defs/api-shield_endpoint", - "description": "The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/." + "description": "The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.", + "type": "string" }, "host": { - "$ref": "#/$defs/api-shield_host", - "description": "RFC3986-compliant host." + "description": "RFC3986-compliant host.", + "type": "string" }, "method": { - "$ref": "#/$defs/api-shield_method", - "description": "The HTTP method used to access the endpoint." + "description": "The HTTP method used to access the endpoint.", + "enum": [ + "GET", + "POST", + "HEAD", + "OPTIONS", + "PUT", + "DELETE", + "CONNECT", + "PATCH", + "TRACE" + ], + "type": "string" } }, "required": [ @@ -155,85 +158,6 @@ export const api$$shield_basic_operation: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_endpoint`. - */ -export const api$$shield_endpoint: JsonSchema = { - "description": "The endpoint which can contain path parameter templates in curly braces, each will be replaced from left to right with {varN}, starting with {var1}, during insertion. This will further be Cloudflare-normalized upon insertion. See: https://developers.cloudflare.com/rules/normalization/how-it-works/.", - "type": "string" -}; - -/** - * The schema of `api-shield_host`. - */ -export const api$$shield_host: JsonSchema = { - "description": "RFC3986-compliant host.", - "type": "string" -}; - -/** - * The schema of `api-shield_identifier`. - */ -export const api$$shield_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `api-shield_identifier-2`. - */ -export const api$$shield_identifier$$2: JsonSchema = { - "allOf": [ - { - "$ref": "#/$defs/api-shield_identifier" - }, - { - "type": "string" - } - ] -}; - -/** - * The schema of `api-shield_method`. - */ -export const api$$shield_method: JsonSchema = { - "description": "The HTTP method used to access the endpoint.", - "enum": [ - "GET", - "POST", - "HEAD", - "OPTIONS", - "PUT", - "DELETE", - "CONNECT", - "PATCH", - "TRACE" - ], - "type": "string" -}; - -/** - * The schema of `api-shield_uuid`. - */ -export const api$$shield_uuid: JsonSchema = { - "description": "UUID.", - "type": "string" -}; - -/** - * The schema of `api-shield_uuid-2`. - */ -export const api$$shield_uuid$$2: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/api-shield_uuid" - } - ] -}; - /** * The schema of `bill-subs-api_component_value`. */ @@ -284,37 +208,6 @@ export const bill$$subs$$api_component_values: JsonSchema = { "type": "array" }; -/** - * The schema of `bill-subs-api_frequency`. - */ -export const bill$$subs$$api_frequency: JsonSchema = { - "description": "How often the subscription is renewed automatically.", - "enum": [ - "weekly", - "monthly", - "quarterly", - "yearly" - ], - "type": "string" -}; - -/** - * The schema of `bill-subs-api_identifier`. - */ -export const bill$$subs$$api_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; - -/** - * The schema of `bill-subs-api_install_id`. - */ -export const bill$$subs$$api_install_id: JsonSchema = { - "deprecated": true, - "description": "app install id.", - "type": "string" -}; - /** * The schema of `bill-subs-api_rate_plan`. */ @@ -356,14 +249,6 @@ export const bill$$subs$$api_rate_plan: JsonSchema = { "type": "object" }; -/** - * The schema of `bill-subs-api_schemas-identifier`. - */ -export const bill$$subs$$api_schemas$$identifier: JsonSchema = { - "description": "Subscription identifier tag.", - "type": "string" -}; - /** * The schema of `bill-subs-api_subscription-v2`. */ @@ -374,8 +259,9 @@ export const bill$$subs$$api_subscription$$v2: JsonSchema = { "description": "Cloudflare Apps Marketplace is sunset. This field is retained for legacy grandfathered app subscriptions only.", "properties": { "install_id": { - "$ref": "#/$defs/bill-subs-api_install_id", - "description": "app install id." + "deprecated": true, + "description": "app install id.", + "type": "string" } }, "type": "object" @@ -385,8 +271,14 @@ export const bill$$subs$$api_subscription$$v2: JsonSchema = { "description": "Configurable component values for the subscription." }, "frequency": { - "$ref": "#/$defs/bill-subs-api_frequency", - "description": "How often the subscription is renewed automatically." + "description": "How often the subscription is renewed automatically.", + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly" + ], + "type": "string" }, "rate_plan": { "$ref": "#/$defs/bill-subs-api_rate_plan", @@ -407,22 +299,14 @@ export const bill$$subs$$api_zone: JsonSchema = { "type": "object" }; -/** - * The schema of `billable-usage-api_identifier`. - */ -export const billable$$usage$$api_identifier: JsonSchema = { - "description": "Represents a Cloudflare resource identifier tag.", - "type": "string" -}; - /** * The schema of `builds_BuildSeedRepoInput`. */ export const builds_BuildSeedRepoInput: JsonSchema = { "properties": { "branch": { - "$ref": "#/$defs/builds_branch", - "description": "Repository branch to seed." + "description": "Repository branch to seed.", + "type": "string" }, "files": { "description": "Files to add or replace for this build. Maximum 2.", @@ -495,12 +379,12 @@ export const builds_BuildSeedRepoInputFile: JsonSchema = { export const builds_CreateBuildRequest: JsonSchema = { "properties": { "branch": { - "$ref": "#/$defs/builds_branch", - "description": "Git branch name (required if commit_hash not provided)" + "description": "Git branch name (required if commit_hash not provided)", + "type": "string" }, "commit_hash": { - "$ref": "#/$defs/builds_commit_hash", - "description": "Git commit hash (required if branch not provided)" + "description": "Git commit hash (required if branch not provided)", + "type": "string" }, "seed_repo": { "$ref": "#/$defs/builds_BuildSeedRepoInput", @@ -510,20 +394,6 @@ export const builds_CreateBuildRequest: JsonSchema = { "type": "object" }; -/** - * The schema of `builds_SCMProviderType`. - */ -export const builds_SCMProviderType: JsonSchema = { - "description": "Source control provider.", - "enum": [ - "github", - "gitlab", - "gitlab_internal", - "origin" - ], - "type": "string" -}; - /** * The schema of `builds_UpdateWorkerBuildSettingsInput`. */ @@ -531,21 +401,22 @@ export const builds_UpdateWorkerBuildSettingsInput: JsonSchema = { "description": "Partial build settings for updating a Worker build configuration", "properties": { "build_caching_enabled": { - "$ref": "#/$defs/builds_build_caching_enabled", "default": false, - "description": "Whether builds reuse cached dependencies and build artifacts." + "description": "Whether builds reuse cached dependencies and build artifacts.", + "type": "boolean" }, "build_command": { - "$ref": "#/$defs/builds_build_command", - "description": "Command to build the Worker." + "description": "Command to build the Worker.", + "type": "string" }, "build_token_uuid": { - "$ref": "#/$defs/builds_build_token_uuid", - "description": "UUID of the build token used when deploying the Worker." + "description": "UUID of the build token used when deploying the Worker.", + "format": "uuid", + "type": "string" }, "deploy_command": { - "$ref": "#/$defs/builds_deploy_command", - "description": "Command to deploy the Worker." + "description": "Command to deploy the Worker.", + "type": "string" }, "environment_variables": { "additionalProperties": { @@ -553,8 +424,8 @@ export const builds_UpdateWorkerBuildSettingsInput: JsonSchema = { { "properties": { "is_secret": { - "$ref": "#/$defs/builds_is_secret", - "description": "Whether to hide the value after it is saved. Secret values remain available to builds but appear as `null` when you list variables; non-secret values remain visible." + "description": "Whether to hide the value after it is saved. Secret values remain available to builds but appear as `null` when you list variables; non-secret values remain visible.", + "type": "boolean" }, "value": { "description": "Value made available to the build. Maximum length is 5000 characters.", @@ -587,29 +458,13 @@ export const builds_UpdateWorkerBuildSettingsInput: JsonSchema = { "description": "Path patterns that can start builds." }, "root_directory": { - "$ref": "#/$defs/builds_root_directory", - "description": "Repository directory in which build and deploy commands run." + "description": "Repository directory in which build and deploy commands run.", + "type": "string" } }, "type": "object" }; -/** - * The schema of `builds_account_id`. - */ -export const builds_account_id: JsonSchema = { - "description": "Account identifier.", - "type": "string" -}; - -/** - * The schema of `builds_branch`. - */ -export const builds_branch: JsonSchema = { - "description": "Git branch name.", - "type": "string" -}; - /** * The schema of `builds_branch_excludes`. */ @@ -632,87 +487,6 @@ export const builds_branch_includes: JsonSchema = { "type": "array" }; -/** - * The schema of `builds_build_caching_enabled`. - */ -export const builds_build_caching_enabled: JsonSchema = { - "description": "Whether builds reuse cached dependencies and build artifacts.", - "type": "boolean" -}; - -/** - * The schema of `builds_build_command`. - */ -export const builds_build_command: JsonSchema = { - "description": "Command to build the Worker.", - "type": "string" -}; - -/** - * The schema of `builds_build_token_name`. - */ -export const builds_build_token_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `builds_build_token_uuid`. - */ -export const builds_build_token_uuid: JsonSchema = { - "description": "UUID of the build token used when deploying the Worker.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `builds_build_uuid`. - */ -export const builds_build_uuid: JsonSchema = { - "description": "Build UUID.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `builds_commit_hash`. - */ -export const builds_commit_hash: JsonSchema = { - "description": "Git commit hash", - "type": "string" -}; - -/** - * The schema of `builds_deploy_command`. - */ -export const builds_deploy_command: JsonSchema = { - "description": "Command to deploy the Worker.", - "type": "string" -}; - -/** - * The schema of `builds_deploy_hook_name`. - */ -export const builds_deploy_hook_name: JsonSchema = { - "description": "Deploy hook name (1-58 characters).", - "type": "string" -}; - -/** - * The schema of `builds_external_script_id`. - */ -export const builds_external_script_id: JsonSchema = { - "description": "System-generated tag of the Worker. This is not the Worker name.", - "type": "string" -}; - -/** - * The schema of `builds_is_secret`. - */ -export const builds_is_secret: JsonSchema = { - "description": "Whether to hide the value after it is saved. Secret values remain available to builds but appear as `null` when you list variables; non-secret values remain visible.", - "type": "boolean" -}; - /** * The schema of `builds_path_excludes`. */ @@ -735,80 +509,6 @@ export const builds_path_includes: JsonSchema = { "type": "array" }; -/** - * The schema of `builds_provider_account_id`. - */ -export const builds_provider_account_id: JsonSchema = { - "description": "Provider-specific identifier of the account or namespace that owns the repository.", - "type": "string" -}; - -/** - * The schema of `builds_provider_account_name`. - */ -export const builds_provider_account_name: JsonSchema = { - "description": "Human-readable name of the account or namespace that owns the repository.", - "type": "string" -}; - -/** - * The schema of `builds_repo_connection_uuid`. - */ -export const builds_repo_connection_uuid: JsonSchema = { - "description": "Repository connection UUID.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `builds_repo_id`. - */ -export const builds_repo_id: JsonSchema = { - "description": "Provider-specific repository identifier.", - "type": "string" -}; - -/** - * The schema of `builds_repo_name`. - */ -export const builds_repo_name: JsonSchema = { - "description": "Human-readable repository name.", - "type": "string" -}; - -/** - * The schema of `builds_root_directory`. - */ -export const builds_root_directory: JsonSchema = { - "description": "Repository directory in which build and deploy commands run.", - "type": "string" -}; - -/** - * The schema of `builds_trigger_name`. - */ -export const builds_trigger_name: JsonSchema = { - "description": "Human-readable name of the build trigger.", - "type": "string" -}; - -/** - * The schema of `builds_trigger_uuid`. - */ -export const builds_trigger_uuid: JsonSchema = { - "description": "Trigger UUID.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `cache-settings_identifier`. - */ -export const cache$$settings_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - /** * The schema of `dns-custom-nameservers_CustomNSInput`. */ @@ -816,13 +516,13 @@ export const dns$$custom$$nameservers_CustomNSInput: JsonSchema = { "description": "Custom NS Input", "properties": { "ns_name": { - "$ref": "#/$defs/dns-custom-nameservers_ns_name", - "description": "The FQDN of the name server." + "description": "The FQDN of the name server.", + "type": "string" }, "ns_set": { - "$ref": "#/$defs/dns-custom-nameservers_ns_set", "default": 1, - "description": "The number of the set that this name server belongs to." + "description": "The number of the set that this name server belongs to.", + "type": "number" } }, "required": [ @@ -831,30 +531,6 @@ export const dns$$custom$$nameservers_CustomNSInput: JsonSchema = { "type": "object" }; -/** - * The schema of `dns-custom-nameservers_ns_name`. - */ -export const dns$$custom$$nameservers_ns_name: JsonSchema = { - "description": "The FQDN of the name server.", - "type": "string" -}; - -/** - * The schema of `dns-custom-nameservers_ns_set`. - */ -export const dns$$custom$$nameservers_ns_set: JsonSchema = { - "description": "The number of the set that this name server belongs to.", - "type": "number" -}; - -/** - * The schema of `email_identifier`. - */ -export const email_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - /** * The schema of `firewall_asn_configuration`. */ @@ -984,14 +660,6 @@ export const firewall_ipv6_configuration: JsonSchema = { "type": "object" }; -/** - * The schema of `firewall_notes`. - */ -export const firewall_notes: JsonSchema = { - "description": "An informative summary of the rule, typically used as a reminder or explanation.", - "type": "string" -}; - /** * The schema of `firewall_rule`. */ @@ -1002,11 +670,19 @@ export const firewall_rule: JsonSchema = { "description": "The rule configuration." }, "mode": { - "$ref": "#/$defs/firewall_schemas-mode" + "description": "The action to apply to a matched request.", + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "notes": { - "$ref": "#/$defs/firewall_notes", - "description": "An informative summary of the rule, typically used as a reminder or explanation." + "description": "An informative summary of the rule, typically used as a reminder or explanation.", + "type": "string" } }, "required": [ @@ -1016,60 +692,6 @@ export const firewall_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `firewall_rule_identifier`. - */ -export const firewall_rule_identifier: JsonSchema = { - "description": "Unique identifier for a rule.", - "type": "string" -}; - -/** - * The schema of `firewall_schemas-mode`. - */ -export const firewall_schemas$$mode: JsonSchema = { - "description": "The action to apply to a matched request.", - "enum": [ - "block", - "challenge", - "whitelist", - "js_challenge", - "managed_challenge" - ], - "type": "string" -}; - -/** - * The schema of `iam_access`. - */ -export const iam_access: JsonSchema = { - "description": "Allow or deny operations against the resources.", - "enum": [ - "allow", - "deny" - ], - "type": "string" -}; - -/** - * The schema of `iam_account-type`. - */ -export const iam_account$$type: JsonSchema = { - "enum": [ - "standard", - "enterprise" - ], - "type": "string" -}; - -/** - * The schema of `iam_account_identifier`. - */ -export const iam_account_identifier: JsonSchema = { - "$ref": "#/$defs/iam_common_components-schemas-identifier", - "description": "Account identifier tag." -}; - /** * The schema of `iam_cidr_list`. */ @@ -1081,14 +703,6 @@ export const iam_cidr_list: JsonSchema = { "type": "array" }; -/** - * The schema of `iam_common_components-schemas-identifier`. - */ -export const iam_common_components$$schemas$$identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; - /** * The schema of `iam_condition`. */ @@ -1111,16 +725,18 @@ export const iam_create_payload: JsonSchema = { "$ref": "#/$defs/iam_condition" }, "expires_on": { - "$ref": "#/$defs/iam_expires_on", - "description": "The expiration time on or after which the JWT MUST NOT be accepted for processing." + "description": "The expiration time on or after which the JWT MUST NOT be accepted for processing.", + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/iam_name", - "description": "Token name." + "description": "Token name.", + "type": "string" }, "not_before": { - "$ref": "#/$defs/iam_not_before", - "description": "The time before which the token MUST NOT be accepted for processing." + "description": "The time before which the token MUST NOT be accepted for processing.", + "format": "date-time", + "type": "string" }, "policies": { "$ref": "#/$defs/iam_token_policies", @@ -1134,50 +750,6 @@ export const iam_create_payload: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_effect`. - */ -export const iam_effect: JsonSchema = { - "description": "Allow or deny operations against the resources.", - "enum": [ - "allow", - "deny" - ], - "type": "string" -}; - -/** - * The schema of `iam_email`. - */ -export const iam_email: JsonSchema = { - "description": "The contact email address of the user.", - "type": "string" -}; - -/** - * The schema of `iam_expires_on`. - */ -export const iam_expires_on: JsonSchema = { - "description": "The expiration time on or after which the JWT MUST NOT be accepted for processing.", - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `iam_first_name`. - */ -export const iam_first_name: JsonSchema = { - "description": "User's first name", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `iam_grants`. */ @@ -1194,47 +766,7 @@ export const iam_grants: JsonSchema = { }; /** - * The schema of `iam_last_name`. - */ -export const iam_last_name: JsonSchema = { - "description": "User's last name", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `iam_membership_components-schemas-identifier`. - */ -export const iam_membership_components$$schemas$$identifier: JsonSchema = { - "description": "Membership identifier tag.", - "type": "string" -}; - -/** - * The schema of `iam_name`. - */ -export const iam_name: JsonSchema = { - "description": "Token name.", - "type": "string" -}; - -/** - * The schema of `iam_not_before`. - */ -export const iam_not_before: JsonSchema = { - "description": "The time before which the token MUST NOT be accepted for processing.", - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `iam_permission_group`. + * The schema of `iam_permission_group`. */ export const iam_permission_group: JsonSchema = { "description": "A named group of permissions that map to a group of operations against resources.", @@ -1352,8 +884,12 @@ export const iam_policy_with_permission_groups_and_resources: JsonSchema = { "description": "Policy with Permission Groups and Resources", "properties": { "effect": { - "$ref": "#/$defs/iam_effect", - "description": "Allow or deny operations against the resources." + "description": "Allow or deny operations against the resources.", + "enum": [ + "allow", + "deny" + ], + "type": "string" }, "permission_groups": { "$ref": "#/$defs/iam_permission_groups", @@ -1440,24 +976,31 @@ export const iam_token_body: JsonSchema = { "$ref": "#/$defs/iam_condition" }, "expires_on": { - "$ref": "#/$defs/iam_expires_on", - "description": "The expiration time on or after which the JWT MUST NOT be accepted for processing." + "description": "The expiration time on or after which the JWT MUST NOT be accepted for processing.", + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/iam_name", - "description": "Token name." + "description": "Token name.", + "type": "string" }, "not_before": { - "$ref": "#/$defs/iam_not_before", - "description": "The time before which the token MUST NOT be accepted for processing." + "description": "The time before which the token MUST NOT be accepted for processing.", + "format": "date-time", + "type": "string" }, "policies": { "$ref": "#/$defs/iam_token_policies", "description": "List of access policies assigned to the token." }, "status": { - "$ref": "#/$defs/iam_token_status", - "description": "Status of the token." + "description": "Status of the token.", + "enum": [ + "active", + "disabled", + "expired" + ], + "type": "string" } }, "required": [ @@ -1467,14 +1010,6 @@ export const iam_token_body: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_token_identifier`. - */ -export const iam_token_identifier: JsonSchema = { - "description": "Token identifier tag.", - "type": "string" -}; - /** * The schema of `iam_token_policies`. */ @@ -1486,27 +1021,6 @@ export const iam_token_policies: JsonSchema = { "type": "array" }; -/** - * The schema of `iam_token_status`. - */ -export const iam_token_status: JsonSchema = { - "description": "Status of the token.", - "enum": [ - "active", - "disabled", - "expired" - ], - "type": "string" -}; - -/** - * The schema of `infra_AccountTag`. - */ -export const infra_AccountTag: JsonSchema = { - "description": "Account identifier", - "type": "string" -}; - /** * The schema of `load-balancing_Host`. */ @@ -1518,22 +1032,6 @@ export const load$$balancing_Host: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_address`. - */ -export const load$$balancing_address: JsonSchema = { - "description": "The IP address (IPv4 or IPv6) of the origin, or its publicly addressable hostname. Hostnames entered here should resolve directly to the origin, and not be a hostname proxied by Cloudflare. To set an internal/reserved address, virtual_network_id must also be set.", - "type": "string" -}; - -/** - * The schema of `load-balancing_allow_insecure`. - */ -export const load$$balancing_allow_insecure: JsonSchema = { - "description": "Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTP and HTTPS monitors.", - "type": "boolean" -}; - /** * The schema of `load-balancing_check_regions`. */ @@ -1569,54 +1067,6 @@ export const load$$balancing_check_regions: JsonSchema = { ] }; -/** - * The schema of `load-balancing_consecutive_down`. - */ -export const load$$balancing_consecutive_down: JsonSchema = { - "description": "To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times.", - "type": "integer" -}; - -/** - * The schema of `load-balancing_consecutive_up`. - */ -export const load$$balancing_consecutive_up: JsonSchema = { - "description": "To be marked healthy the monitored origin must pass this healthcheck N consecutive times.", - "type": "integer" -}; - -/** - * The schema of `load-balancing_description`. - */ -export const load$$balancing_description: JsonSchema = { - "description": "Object description.", - "type": "string" -}; - -/** - * The schema of `load-balancing_enabled`. - */ -export const load$$balancing_enabled: JsonSchema = { - "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).", - "type": "boolean" -}; - -/** - * The schema of `load-balancing_expected_body`. - */ -export const load$$balancing_expected_body: JsonSchema = { - "description": "A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. This parameter is only valid for HTTP and HTTPS monitors.", - "type": "string" -}; - -/** - * The schema of `load-balancing_expected_codes`. - */ -export const load$$balancing_expected_codes: JsonSchema = { - "description": "The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS monitors.", - "type": "string" -}; - /** * The schema of `load-balancing_filter_options`. */ @@ -1657,14 +1107,6 @@ export const load$$balancing_filter_options: JsonSchema = { ] }; -/** - * The schema of `load-balancing_follow_redirects`. - */ -export const load$$balancing_follow_redirects: JsonSchema = { - "description": "Follow redirects if returned by the origin. This parameter is only valid for HTTP and HTTPS monitors.", - "type": "boolean" -}; - /** * The schema of `load-balancing_header`. */ @@ -1702,29 +1144,6 @@ export const load$$balancing_health_sources: JsonSchema = { ] }; -/** - * The schema of `load-balancing_identifier`. - */ -export const load$$balancing_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_interval`. - */ -export const load$$balancing_interval: JsonSchema = { - "description": "The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations.", - "type": "integer" -}; - -/** - * The schema of `load-balancing_latitude`. - */ -export const load$$balancing_latitude: JsonSchema = { - "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set.", - "type": "number" -}; - /** * The schema of `load-balancing_load_shedding`. */ @@ -1769,137 +1188,104 @@ export const load$$balancing_load_shedding: JsonSchema = { ] }; -/** - * The schema of `load-balancing_longitude`. - */ -export const load$$balancing_longitude: JsonSchema = { - "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set.", - "type": "number" -}; - -/** - * The schema of `load-balancing_method`. - */ -export const load$$balancing_method: JsonSchema = { - "description": "The method to use for the health check. This defaults to 'GET' for HTTP/HTTPS based checks and 'connection_established' for TCP based health checks.", - "type": "string" -}; - -/** - * The schema of `load-balancing_minimum_origins`. - */ -export const load$$balancing_minimum_origins: JsonSchema = { - "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool.", - "type": "integer" -}; - /** * The schema of `load-balancing_monitor-editable`. */ export const load$$balancing_monitor$$editable: JsonSchema = { "properties": { "allow_insecure": { - "$ref": "#/$defs/load-balancing_allow_insecure", "default": false, - "description": "Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTP and HTTPS monitors." + "description": "Do not validate the certificate when monitor use HTTPS. This parameter is currently only valid for HTTP and HTTPS monitors.", + "type": "boolean" }, "consecutive_down": { - "$ref": "#/$defs/load-balancing_consecutive_down", - "description": "To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times." + "description": "To be marked unhealthy the monitored origin must fail this healthcheck N consecutive times.", + "type": "integer" }, "consecutive_up": { - "$ref": "#/$defs/load-balancing_consecutive_up", - "description": "To be marked healthy the monitored origin must pass this healthcheck N consecutive times." + "description": "To be marked healthy the monitored origin must pass this healthcheck N consecutive times.", + "type": "integer" }, "description": { - "$ref": "#/$defs/load-balancing_description", "default": "", - "description": "Object description." + "description": "Object description.", + "type": "string" }, "expected_body": { - "$ref": "#/$defs/load-balancing_expected_body", "default": "", - "description": "A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. This parameter is only valid for HTTP and HTTPS monitors." + "description": "A case-insensitive sub-string to look for in the response body. If this string is not found, the origin will be marked as unhealthy. This parameter is only valid for HTTP and HTTPS monitors.", + "type": "string" }, "expected_codes": { - "$ref": "#/$defs/load-balancing_expected_codes", "default": "", - "description": "The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS monitors." + "description": "The expected HTTP response code or code range of the health check. This parameter is only valid for HTTP and HTTPS monitors.", + "type": "string" }, "follow_redirects": { - "$ref": "#/$defs/load-balancing_follow_redirects", "default": false, - "description": "Follow redirects if returned by the origin. This parameter is only valid for HTTP and HTTPS monitors." + "description": "Follow redirects if returned by the origin. This parameter is only valid for HTTP and HTTPS monitors.", + "type": "boolean" }, "header": { "$ref": "#/$defs/load-balancing_header", "description": "The HTTP request headers to send in the health check. It is recommended you set a Host header by default. The User-Agent header cannot be overridden. This parameter is only valid for HTTP and HTTPS monitors." }, "interval": { - "$ref": "#/$defs/load-balancing_interval", "default": 60, - "description": "The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations." + "description": "The interval between each health check. Shorter intervals may improve failover time, but will increase load on the origins as we check from multiple locations.", + "type": "integer" }, "method": { - "$ref": "#/$defs/load-balancing_method", - "description": "The method to use for the health check. This defaults to 'GET' for HTTP/HTTPS based checks and 'connection_established' for TCP based health checks." + "description": "The method to use for the health check. This defaults to 'GET' for HTTP/HTTPS based checks and 'connection_established' for TCP based health checks.", + "type": "string" }, "path": { - "$ref": "#/$defs/load-balancing_path", - "description": "The endpoint path you want to conduct a health check against. This parameter is only valid for HTTP and HTTPS monitors." + "description": "The endpoint path you want to conduct a health check against. This parameter is only valid for HTTP and HTTPS monitors.", + "type": "string" }, "port": { - "$ref": "#/$defs/load-balancing_port", - "description": "The port number to connect to for the health check. Required for TCP, UDP, and SMTP checks. HTTP and HTTPS checks should only define the port when using a non-standard port (HTTP: default 80, HTTPS: default 443)." + "description": "The port number to connect to for the health check. Required for TCP, UDP, and SMTP checks. HTTP and HTTPS checks should only define the port when using a non-standard port (HTTP: default 80, HTTPS: default 443).", + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "probe_zone": { - "$ref": "#/$defs/load-balancing_probe_zone", "default": "", - "description": "Assign this monitor to emulate the specified zone while probing. This parameter is only valid for HTTP and HTTPS monitors." + "description": "Assign this monitor to emulate the specified zone while probing. This parameter is only valid for HTTP and HTTPS monitors.", + "type": "string" }, "retries": { - "$ref": "#/$defs/load-balancing_retries", "default": 2, - "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately." + "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately.", + "type": "integer" }, "timeout": { - "$ref": "#/$defs/load-balancing_timeout", "default": 5, - "description": "The timeout (in seconds) before marking the health check as failed." + "description": "The timeout (in seconds) before marking the health check as failed.", + "type": "integer" }, "type": { - "$ref": "#/$defs/load-balancing_type", "default": "http", - "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS', 'TCP', 'ICMP-PING', 'UDP-ICMP', and 'SMTP'." + "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS', 'TCP', 'ICMP-PING', 'UDP-ICMP', and 'SMTP'.", + "enum": [ + "http", + "https", + "tcp", + "udp_icmp", + "icmp_ping", + "smtp" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `load-balancing_monitor_group_id`. - */ -export const load$$balancing_monitor_group_id: JsonSchema = { - "description": "The ID of the Monitor Group to use for checking the health of origins within this pool.", - "type": "string" -}; - -/** - * The schema of `load-balancing_monitor_id`. - */ -export const load$$balancing_monitor_id: JsonSchema = { - "description": "The ID of the Monitor to use for checking the health of origins within this pool.", - "type": "string" -}; - -/** - * The schema of `load-balancing_name`. - */ -export const load$$balancing_name: JsonSchema = { - "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.", - "type": "string" -}; - /** * The schema of `load-balancing_networks`. */ @@ -1911,14 +1297,6 @@ export const load$$balancing_networks: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_notification_email`. - */ -export const load$$balancing_notification_email: JsonSchema = { - "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.", - "type": "string" -}; - /** * The schema of `load-balancing_notification_filter`. */ @@ -1950,61 +1328,45 @@ export const load$$balancing_notification_filter: JsonSchema = { export const load$$balancing_origin: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/load-balancing_address", - "description": "The IP address (IPv4 or IPv6) of the origin, or its publicly addressable hostname. Hostnames entered here should resolve directly to the origin, and not be a hostname proxied by Cloudflare. To set an internal/reserved address, virtual_network_id must also be set." + "description": "The IP address (IPv4 or IPv6) of the origin, or its publicly addressable hostname. Hostnames entered here should resolve directly to the origin, and not be a hostname proxied by Cloudflare. To set an internal/reserved address, virtual_network_id must also be set.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_schemas-enabled", "default": true, - "description": "Whether to enable (the default) this origin within the pool. Disabled origins will not receive traffic and are excluded from health checks. The origin will only be disabled for the current pool." + "description": "Whether to enable (the default) this origin within the pool. Disabled origins will not receive traffic and are excluded from health checks. The origin will only be disabled for the current pool.", + "type": "boolean" }, "flatten_cname": { - "$ref": "#/$defs/load-balancing_origin_flatten_cname", "default": true, - "description": "Whether to flatten CNAME records for this origin, resolving them to A/AAAA records before returning to the client. When true (the default), the director resolves CNAME addresses to their underlying A/AAAA records. When false, the origin address is returned as a raw CNAME record without resolution. This setting mirrors the DNS API record flatten_cname setting." + "description": "Whether to flatten CNAME records for this origin, resolving them to A/AAAA records before returning to the client. When true (the default), the director resolves CNAME addresses to their underlying A/AAAA records. When false, the origin address is returned as a raw CNAME record without resolution. This setting mirrors the DNS API record flatten_cname setting.", + "type": "boolean" }, "header": { "$ref": "#/$defs/load-balancing_schemas-header", "description": "The request header is used to pass additional information with an HTTP request. Currently supported header is 'Host'." }, "name": { - "$ref": "#/$defs/load-balancing_schemas-name", - "description": "A human-identifiable name for the origin." + "description": "A human-identifiable name for the origin.", + "type": "string" }, "port": { - "$ref": "#/$defs/load-balancing_origin_port", "default": 0, - "description": "The port for upstream connections. A value of 0 means the default port for the protocol will be used." + "description": "The port for upstream connections. A value of 0 means the default port for the protocol will be used.", + "type": "integer" }, "virtual_network_id": { - "$ref": "#/$defs/load-balancing_virtual_network_id", - "description": "The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account." + "description": "The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account.", + "type": "string" }, "weight": { - "$ref": "#/$defs/load-balancing_weight", "default": 1, - "description": "The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool.\n- `origin_steering.policy=\"least_outstanding_requests\"`: Use weight to scale the origin's outstanding requests.\n- `origin_steering.policy=\"least_connections\"`: Use weight to scale the origin's open connections." + "description": "The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool.\n- `origin_steering.policy=\"least_outstanding_requests\"`: Use weight to scale the origin's outstanding requests.\n- `origin_steering.policy=\"least_connections\"`: Use weight to scale the origin's open connections.", + "type": "number" } }, "type": "object" }; -/** - * The schema of `load-balancing_origin_flatten_cname`. - */ -export const load$$balancing_origin_flatten_cname: JsonSchema = { - "description": "Whether to flatten CNAME records for this origin, resolving them to A/AAAA records before returning to the client. When true (the default), the director resolves CNAME addresses to their underlying A/AAAA records. When false, the origin address is returned as a raw CNAME record without resolution. This setting mirrors the DNS API record flatten_cname setting.", - "type": "boolean" -}; - -/** - * The schema of `load-balancing_origin_port`. - */ -export const load$$balancing_origin_port: JsonSchema = { - "description": "The port for upstream connections. A value of 0 means the default port for the protocol will be used.", - "type": "integer" -}; - /** * The schema of `load-balancing_origin_steering`. */ @@ -2044,69 +1406,6 @@ export const load$$balancing_origins: JsonSchema = { "type": "array" }; -/** - * The schema of `load-balancing_patch_pools_notification_email`. - */ -export const load$$balancing_patch_pools_notification_email: JsonSchema = { - "description": "The email address to send health status notifications to. This field is now deprecated in favor of Cloudflare Notifications for Load Balancing, so only resetting this field with an empty string `\"\"` is accepted.", - "type": "string" -}; - -/** - * The schema of `load-balancing_path`. - */ -export const load$$balancing_path: JsonSchema = { - "description": "The endpoint path you want to conduct a health check against. This parameter is only valid for HTTP and HTTPS monitors.", - "type": "string" -}; - -/** - * The schema of `load-balancing_port`. - */ -export const load$$balancing_port: JsonSchema = { - "description": "The port number to connect to for the health check. Required for TCP, UDP, and SMTP checks. HTTP and HTTPS checks should only define the port when using a non-standard port (HTTP: default 80, HTTPS: default 443).", - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `load-balancing_probe_zone`. - */ -export const load$$balancing_probe_zone: JsonSchema = { - "description": "Assign this monitor to emulate the specified zone while probing. This parameter is only valid for HTTP and HTTPS monitors.", - "type": "string" -}; - -/** - * The schema of `load-balancing_retries`. - */ -export const load$$balancing_retries: JsonSchema = { - "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately.", - "type": "integer" -}; - -/** - * The schema of `load-balancing_schemas-description`. - */ -export const load$$balancing_schemas$$description: JsonSchema = { - "description": "A human-readable description of the pool.", - "type": "string" -}; - -/** - * The schema of `load-balancing_schemas-enabled`. - */ -export const load$$balancing_schemas$$enabled: JsonSchema = { - "description": "Whether to enable (the default) this origin within the pool. Disabled origins will not receive traffic and are excluded from health checks. The origin will only be disabled for the current pool.", - "type": "boolean" -}; - /** * The schema of `load-balancing_schemas-header`. */ @@ -2121,91 +1420,6 @@ export const load$$balancing_schemas$$header: JsonSchema = { "type": "object" }; -/** - * The schema of `load-balancing_schemas-identifier`. - */ -export const load$$balancing_schemas$$identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_schemas-name`. - */ -export const load$$balancing_schemas$$name: JsonSchema = { - "description": "A human-identifiable name for the origin.", - "type": "string" -}; - -/** - * The schema of `load-balancing_subdivision_code_a2`. - */ -export const load$$balancing_subdivision_code_a2: JsonSchema = { - "description": "Two-letter subdivision code followed in ISO 3166-2.", - "type": "string" -}; - -/** - * The schema of `load-balancing_timeout`. - */ -export const load$$balancing_timeout: JsonSchema = { - "description": "The timeout (in seconds) before marking the health check as failed.", - "type": "integer" -}; - -/** - * The schema of `load-balancing_type`. - */ -export const load$$balancing_type: JsonSchema = { - "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP','HTTPS', 'TCP', 'ICMP-PING', 'UDP-ICMP', and 'SMTP'.", - "enum": [ - "http", - "https", - "tcp", - "udp_icmp", - "icmp_ping", - "smtp" - ], - "type": "string" -}; - -/** - * The schema of `load-balancing_virtual_network_id`. - */ -export const load$$balancing_virtual_network_id: JsonSchema = { - "description": "The virtual network subnet ID the origin belongs in. Virtual network must also belong to the account.", - "type": "string" -}; - -/** - * The schema of `load-balancing_weight`. - */ -export const load$$balancing_weight: JsonSchema = { - "description": "The weight of this origin relative to other origins in the pool. Based on the configured weight the total traffic is distributed among origins within the pool.\n- `origin_steering.policy=\"least_outstanding_requests\"`: Use weight to scale the origin's outstanding requests.\n- `origin_steering.policy=\"least_connections\"`: Use weight to scale the origin's open connections.", - "type": "number" -}; - -/** - * The schema of `mconn-telemetry_account_id`. - */ -export const mconn$$telemetry_account_id: JsonSchema = { - "description": "Account identifier", - "type": "string" -}; - -/** - * The schema of `mconn_account_id`. - */ -export const mconn_account_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `mconn_uuid`. - */ -export const mconn_uuid: JsonSchema = { - "type": "string" -}; - /** * The schema of `organizations-api_ModifyProfileRequest`. */ @@ -2266,35 +1480,11 @@ export const organizations$$api_ModifyProfileRequest: JsonSchema = { "type": "object" }; -/** - * The schema of `organizations-api_OrganizationID`. - */ -export const organizations$$api_OrganizationID: JsonSchema = { - "description": "Organization ID", - "type": "string" -}; - -/** - * The schema of `r2-data-catalog_account-id`. - */ -export const r2$$data$$catalog_account$$id: JsonSchema = { - "description": "Use this to identify the account.", - "type": "string" -}; - -/** - * The schema of `r2-data-catalog_bucket-name`. - */ -export const r2$$data$$catalog_bucket$$name: JsonSchema = { - "description": "Specifies the R2 bucket name.", - "type": "string" -}; - /** * The schema of `r2-data-catalog_catalog-activation-request`. */ export const r2$$data$$catalog_catalog$$activation$$request: JsonSchema = { - "description": "Contains the optional request to enable a catalog. Send an empty body\nto keep the defaults. If you include `credential`, the service checks\nthat the token can access the bucket, then stores it as the catalog's\nmaintenance credential, like the store credentials operation.\n", + "description": "Contains the optional request to enable a catalog. Send an empty body\nto keep the defaults. If you include `credential`, the service checks\nthat the token can access the bucket, then stores it as the catalog's\nmaintenance credential, like the store credentials operation.", "properties": { "credential": { "$ref": "#/$defs/r2-data-catalog_catalog-credential-request", @@ -2321,18 +1511,6 @@ export const r2$$data$$catalog_catalog$$credential$$request: JsonSchema = { "type": "object" }; -/** - * The schema of `r2-data-catalog_catalog-maintenance-state`. - */ -export const r2$$data$$catalog_catalog$$maintenance$$state: JsonSchema = { - "description": "Specifies the state of maintenance operations.", - "enum": [ - "enabled", - "disabled" - ], - "type": "string" -}; - /** * The schema of `r2-data-catalog_catalog-maintenance-update-request`. */ @@ -2351,20 +1529,6 @@ export const r2$$data$$catalog_catalog$$maintenance$$update$$request: JsonSchema "type": "object" }; -/** - * The schema of `r2-data-catalog_catalog-target-file-size`. - */ -export const r2$$data$$catalog_catalog$$target$$file$$size: JsonSchema = { - "description": "Sets the target file size for compaction in megabytes. Defaults to \"128\".", - "enum": [ - "64", - "128", - "256", - "512" - ], - "type": "string" -}; - /** * The schema of `r2-data-catalog_compaction-update-params`. */ @@ -2372,12 +1536,22 @@ export const r2$$data$$catalog_compaction$$update$$params: JsonSchema = { "description": "Updates compaction configuration (all fields optional).", "properties": { "state": { - "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state", - "description": "Specifies the state of maintenance operations." + "description": "Specifies the state of maintenance operations.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string" }, "target_size_mb": { - "$ref": "#/$defs/r2-data-catalog_catalog-target-file-size", - "description": "Sets the target file size for compaction in megabytes. Defaults to \"128\"." + "description": "Sets the target file size for compaction in megabytes. Defaults to \"128\".", + "enum": [ + "64", + "128", + "256", + "512" + ], + "type": "string" } }, "type": "object" @@ -2418,8 +1592,12 @@ export const r2$$data$$catalog_snapshot$$expiration$$update$$params: JsonSchema "type": "integer" }, "state": { - "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state", - "description": "Specifies the state of maintenance operations." + "description": "Specifies the state of maintenance operations.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string" } }, "type": "object" @@ -2432,191 +1610,51 @@ export const r2$$data$$catalog_table$$compaction$$update$$params: JsonSchema = { "description": "Updates table compaction configuration; all fields are optional.", "properties": { "state": { - "$ref": "#/$defs/r2-data-catalog_catalog-maintenance-state", - "description": "Specifies the state of maintenance operations." + "description": "Specifies the state of maintenance operations.", + "enum": [ + "enabled", + "disabled" + ], + "type": "string" }, "target_size_mb": { - "$ref": "#/$defs/r2-data-catalog_catalog-target-file-size", - "description": "Sets the target file size for compaction in megabytes. Defaults to \"128\"." - } - }, - "type": "object" -}; - -/** - * The schema of `r2-data-catalog_table-maintenance-update-request`. - */ -export const r2$$data$$catalog_table$$maintenance$$update$$request: JsonSchema = { - "description": "Contains request to update table maintenance configuration.", - "properties": { - "compaction": { - "$ref": "#/$defs/r2-data-catalog_table-compaction-update-params", - "description": "Updates table compaction configuration; all fields are optional." - }, - "snapshot_expiration": { - "$ref": "#/$defs/r2-data-catalog_snapshot-expiration-update-params", - "description": "Updates snapshot expiration configuration (all fields optional)." - } - }, - "type": "object" -}; - -/** - * The schema of `resource-sharing_account_id`. - */ -export const resource$$sharing_account_id: JsonSchema = { - "description": "Account identifier.", - "type": "string" -}; - -/** - * The schema of `resource-sharing_organization_id`. - */ -export const resource$$sharing_organization_id: JsonSchema = { - "description": "Organization identifier.", - "type": "string" -}; - -/** - * The schema of `resource-sharing_resource_id`. - */ -export const resource$$sharing_resource_id: JsonSchema = { - "description": "Share Resource identifier.", - "type": "string" -}; - -/** - * The schema of `resource-sharing_resource_meta`. - */ -export const resource$$sharing_resource_meta: JsonSchema = { - "description": "Resource Metadata.", - "type": "object" -}; - -/** - * The schema of `resource-sharing_resource_resource_id`. - */ -export const resource$$sharing_resource_resource_id: JsonSchema = { - "description": "Share Resource identifier.", - "type": "string" -}; - -/** - * The schema of `resource-sharing_resource_status`. - */ -export const resource$$sharing_resource_status: JsonSchema = { - "description": "Resource Status.", - "enum": [ - "active", - "deleting", - "deleted" - ], - "type": "string" -}; - -/** - * The schema of `resource-sharing_resource_type`. - */ -export const resource$$sharing_resource_type: JsonSchema = { - "description": "Resource Type.", - "enum": [ - "custom-ruleset", - "gateway-policy", - "gateway-destination-ip", - "gateway-block-page-settings", - "gateway-extended-email-matching", - "idp-federation-grant", - "trust-grant" - ], - "type": "string" -}; - -/** - * The schema of `resource-sharing_share_id`. - */ -export const resource$$sharing_share_id: JsonSchema = { - "description": "Share identifier tag.", - "type": "string" -}; - -/** - * The schema of `resource-sharing_share_kind`. - */ -export const resource$$sharing_share_kind: JsonSchema = { - "enum": [ - "sent", - "received" - ], - "type": "string" -}; - -/** - * The schema of `resource-sharing_share_name`. - */ -export const resource$$sharing_share_name: JsonSchema = { - "description": "The name of the share.", - "type": "string" -}; - -/** - * The schema of `resource-sharing_share_status`. - */ -export const resource$$sharing_share_status: JsonSchema = { - "enum": [ - "active", - "deleting", - "deleted" - ], - "type": "string" -}; - -/** - * The schema of `resource-sharing_share_target_type`. - */ -export const resource$$sharing_share_target_type: JsonSchema = { - "enum": [ - "account", - "organization" - ], - "type": "string" -}; - -/** - * The schema of `rulesets_ZoneId`. - */ -export const rulesets_ZoneId: JsonSchema = { - "description": "The unique ID of the zone.", - "type": "string" -}; - -/** - * The schema of `rum_identifier`. - */ -export const rum_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `security-center_dismissed`. - */ -export const security$$center_dismissed: JsonSchema = { - "type": "boolean" + "description": "Sets the target file size for compaction in megabytes. Defaults to \"128\".", + "enum": [ + "64", + "128", + "256", + "512" + ], + "type": "string" + } + }, + "type": "object" }; /** - * The schema of `security-center_identifier`. + * The schema of `r2-data-catalog_table-maintenance-update-request`. */ -export const security$$center_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" +export const r2$$data$$catalog_table$$maintenance$$update$$request: JsonSchema = { + "description": "Contains request to update table maintenance configuration.", + "properties": { + "compaction": { + "$ref": "#/$defs/r2-data-catalog_table-compaction-update-params", + "description": "Updates table compaction configuration; all fields are optional." + }, + "snapshot_expiration": { + "$ref": "#/$defs/r2-data-catalog_snapshot-expiration-update-params", + "description": "Updates snapshot expiration configuration (all fields optional)." + } + }, + "type": "object" }; /** - * The schema of `security-center_issueClass`. + * The schema of `resource-sharing_resource_meta`. */ -export const security$$center_issueClass: JsonSchema = { - "type": "string" +export const resource$$sharing_resource_meta: JsonSchema = { + "description": "Resource Metadata.", + "type": "object" }; /** @@ -2624,52 +1662,29 @@ export const security$$center_issueClass: JsonSchema = { */ export const security$$center_issueClasses: JsonSchema = { "items": { - "$ref": "#/$defs/security-center_issueClass" + "type": "string" }, "type": "array" }; -/** - * The schema of `security-center_issueType`. - */ -export const security$$center_issueType: JsonSchema = { - "enum": [ - "compliance_violation", - "email_security", - "exposed_infrastructure", - "insecure_configuration", - "weak_authentication", - "configuration_suggestion" - ], - "type": "string" -}; - /** * The schema of `security-center_issueTypes`. */ export const security$$center_issueTypes: JsonSchema = { "items": { - "$ref": "#/$defs/security-center_issueType" + "enum": [ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + "configuration_suggestion" + ], + "type": "string" }, "type": "array" }; -/** - * The schema of `security-center_page`. - */ -export const security$$center_page: JsonSchema = { - "description": "Specifies the current page within paginated list of results.", - "type": "integer" -}; - -/** - * The schema of `security-center_perPage`. - */ -export const security$$center_perPage: JsonSchema = { - "description": "Sets the number of results per page of results.", - "type": "integer" -}; - /** * The schema of `security-center_products`. */ @@ -2695,241 +1710,52 @@ export const security$$center_severityQueryParam: JsonSchema = { "type": "array" }; -/** - * The schema of `security-center_source`. - */ -export const security$$center_source: JsonSchema = { - "description": "Who generated the insight. `cloudflare` for Cloudflare-generated insights, otherwise the partner.", - "enum": [ - "cloudflare", - "riskrecon" - ], - "type": "string" -}; - /** * The schema of `security-center_sources`. */ export const security$$center_sources: JsonSchema = { "items": { - "$ref": "#/$defs/security-center_source" + "description": "Who generated the insight. `cloudflare` for Cloudflare-generated insights, otherwise the partner.", + "enum": [ + "cloudflare", + "riskrecon" + ], + "type": "string" }, "type": "array" }; -/** - * The schema of `security-center_subject`. - */ -export const security$$center_subject: JsonSchema = { - "type": "string" -}; - /** * The schema of `security-center_subjects`. */ export const security$$center_subjects: JsonSchema = { "items": { - "$ref": "#/$defs/security-center_subject" + "type": "string" }, "type": "array" }; -/** - * The schema of `security-center_userClassification`. - */ -export const security$$center_userClassification: JsonSchema = { - "description": "User-defined classification for the insight. Can be 'false_positive', 'accept_risk', 'other', or null.", - "oneOf": [ - { - "enum": [ - "false_positive", - "accept_risk", - "other" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `speed_identifier`. - */ -export const speed_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_identifier`. - */ -export const tls$$certificates$$and$$hostnames_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `tunnel_account_id`. - */ -export const tunnel_account_id: JsonSchema = { - "description": "Cloudflare account ID", - "type": "string" -}; - -/** - * The schema of `tunnel_client_id`. - */ -export const tunnel_client_id: JsonSchema = { - "description": "UUID of the Cloudflare Tunnel connector.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_config_src`. - */ -export const tunnel_config_src: JsonSchema = { - "description": "Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel on the Zero Trust dashboard.", - "enum": [ - "local", - "cloudflare" - ], - "type": "string" -}; - -/** - * The schema of `tunnel_existed_at`. - */ -export const tunnel_existed_at: JsonSchema = { - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded.", - "type": "string" -}; - -/** - * The schema of `tunnel_identifier`. - */ -export const tunnel_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `tunnel_ip`. - */ -export const tunnel_ip: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tunnel_page_number`. - */ -export const tunnel_page_number: JsonSchema = { - "description": "Page number of paginated results.", - "type": "number" -}; - -/** - * The schema of `tunnel_per_page`. - */ -export const tunnel_per_page: JsonSchema = { - "description": "Number of results to display.", - "type": "number" -}; - -/** - * The schema of `tunnel_status`. - */ -export const tunnel_status: JsonSchema = { - "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).", - "enum": [ - "inactive", - "degraded", - "healthy", - "down" - ], - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_id`. - */ -export const tunnel_tunnel_id: JsonSchema = { - "description": "UUID of the tunnel.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_id-2`. - */ -export const tunnel_tunnel_id$$2: JsonSchema = { - "description": "UUID of the tunnel.", - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_name`. - */ -export const tunnel_tunnel_name: JsonSchema = { - "description": "A user-friendly name for a tunnel.", - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_secret`. - */ -export const tunnel_tunnel_secret: JsonSchema = { - "description": "Sets the password required to run a locally-managed tunnel. Must be at least 32 bytes and encoded as a base64 string.", - "type": "string" -}; - -/** - * The schema of `tunnel_tunnel_type`. - */ -export const tunnel_tunnel_type: JsonSchema = { - "description": "The type of tunnel.", - "enum": [ - "cfd_tunnel", - "warp_connector", - "warp", - "magic", - "ip_sec", - "gre", - "cni" - ], - "type": "string" -}; - /** * The schema of `tunnel_tunnel_types`. */ export const tunnel_tunnel_types: JsonSchema = { "description": "The types of tunnels to filter by, separated by commas.", "items": { - "$ref": "#/$defs/tunnel_tunnel_type" + "description": "The type of tunnel.", + "enum": [ + "cfd_tunnel", + "warp_connector", + "warp", + "magic", + "ip_sec", + "gre", + "cni" + ], + "type": "string" }, "type": "array" }; -/** - * The schema of `usage-analytics_identifier`. - */ -export const usage$$analytics_identifier: JsonSchema = { - "description": "Cloudflare resource identifier.", - "type": "string" -}; - -/** - * The schema of `waf-product-api-bundle_identifier`. - */ -export const waf$$product$$api$$bundle_identifier: JsonSchema = { - "description": "Defines an identifier.", - "type": "string" -}; - /** * The schema of `workers_binding_item`. */ @@ -3059,8 +1885,8 @@ export const workers_binding_item: JsonSchema = { export const workers_binding_kind_ai: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3087,8 +1913,8 @@ export const workers_binding_kind_ai_search: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "namespace": { "description": "The namespace the instance belongs to. Defaults to \"default\" if omitted. Customers who don't use namespaces can simply omit this field.", @@ -3116,8 +1942,8 @@ export const workers_binding_kind_ai_search: JsonSchema = { export const workers_binding_kind_ai_search_namespace: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "namespace": { "description": "The user-chosen namespace name. Must exist before deploy -- Wrangler handles auto-creation on deploy failure (R2 bucket pattern). The \"default\" namespace is auto-created by config-api for new accounts. Grants full access (CRUD + search + chat) to all instances within the namespace.", @@ -3149,8 +1975,8 @@ export const workers_binding_kind_analytics_engine: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3174,8 +2000,8 @@ export const workers_binding_kind_analytics_engine: JsonSchema = { export const workers_binding_kind_artifacts: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "namespace": { "description": "The Artifacts namespace exposed to the Worker in the Worker's account. Must be 2-63 characters, start with an ASCII alphanumeric character, contain only ASCII alphanumeric characters, dots, underscores, and hyphens, and must not end with a hyphen. The namespace does not need to be created before binding it.", @@ -3203,8 +2029,8 @@ export const workers_binding_kind_artifacts: JsonSchema = { export const workers_binding_kind_assets: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3227,8 +2053,8 @@ export const workers_binding_kind_assets: JsonSchema = { export const workers_binding_kind_browser: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3260,8 +2086,8 @@ export const workers_binding_kind_d1: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3285,8 +2111,8 @@ export const workers_binding_kind_d1: JsonSchema = { export const workers_binding_kind_data_blob: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "part": { "description": "The name of the file containing the data content. Only accepted for `service worker syntax` Workers.", @@ -3315,8 +2141,8 @@ export const workers_binding_kind_data_blob: JsonSchema = { export const workers_binding_kind_dispatch_namespace: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "namespace": { "description": "The name of the dispatch namespace.", @@ -3396,13 +2222,14 @@ export const workers_binding_kind_durable_object_namespace: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "namespace_id": { "allOf": [ { - "$ref": "#/$defs/workers_namespace_identifier" + "description": "Namespace identifier tag.", + "type": "string" }, { "type": "string" @@ -3438,8 +2265,8 @@ export const workers_binding_kind_flagship: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3467,8 +2294,8 @@ export const workers_binding_kind_hyperdrive: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3492,8 +2319,8 @@ export const workers_binding_kind_hyperdrive: JsonSchema = { export const workers_binding_kind_images: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3553,8 +2380,8 @@ export const workers_binding_kind_json: JsonSchema = { "type": "object" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3579,8 +2406,8 @@ export const workers_binding_kind_k2: JsonSchema = { "description": "A K2 stream binding. Available only to accounts enabled for K2.", "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "stream": { "description": "ID of a K2 stream owned by the account deploying the Worker.", @@ -3608,12 +2435,12 @@ export const workers_binding_kind_k2: JsonSchema = { export const workers_binding_kind_kv_namespace: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers_namespace_identifier", - "description": "Namespace identifier tag." + "description": "Namespace identifier tag.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3637,8 +2464,8 @@ export const workers_binding_kind_kv_namespace: JsonSchema = { export const workers_binding_kind_media: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3661,8 +2488,8 @@ export const workers_binding_kind_media: JsonSchema = { export const workers_binding_kind_messaging: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "namespace": { "description": "The Messaging namespace to bind to.", @@ -3694,8 +2521,8 @@ export const workers_binding_kind_mtls_certificate: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3719,8 +2546,8 @@ export const workers_binding_kind_mtls_certificate: JsonSchema = { export const workers_binding_kind_pipelines: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "pipeline": { "description": "Name of the Pipeline to bind to.", @@ -3748,8 +2575,8 @@ export const workers_binding_kind_pipelines: JsonSchema = { export const workers_binding_kind_plain_text: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "text": { "description": "The text value to use.", @@ -3777,8 +2604,8 @@ export const workers_binding_kind_plain_text: JsonSchema = { export const workers_binding_kind_queue: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "queue_name": { "description": "Name of the Queue to bind to.", @@ -3820,8 +2647,8 @@ export const workers_binding_kind_r2_bucket: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3845,8 +2672,8 @@ export const workers_binding_kind_r2_bucket: JsonSchema = { export const workers_binding_kind_ratelimit: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "namespace_id": { "description": "Identifier of the rate limit namespace to bind to.", @@ -3860,7 +2687,7 @@ export const workers_binding_kind_ratelimit: JsonSchema = { "type": "number" }, "mitigation_timeout": { - "description": "Duration in seconds to apply the mitigation action after the rate limit is exceeded. Valid values are 0 (disabled), 10, or multiples of 60 up to 86400. Must be greater than or equal to the period when non-zero.\n", + "description": "Duration in seconds to apply the mitigation action after the rate limit is exceeded. Valid values are 0 (disabled), 10, or multiples of 60 up to 86400. Must be greater than or equal to the period when non-zero.", "type": "integer" }, "period": { @@ -3919,8 +2746,8 @@ export const workers_binding_kind_secret_key: JsonSchema = { "type": "object" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -3963,8 +2790,8 @@ export const workers_binding_kind_secret_key: JsonSchema = { export const workers_binding_kind_secret_text: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "text": { "description": "The secret value to use.", @@ -3992,8 +2819,8 @@ export const workers_binding_kind_secret_text: JsonSchema = { export const workers_binding_kind_secrets_store_secret: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "secret_name": { "description": "Name of the secret in the store.", @@ -4044,8 +2871,8 @@ export const workers_binding_kind_send_email: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -4077,8 +2904,8 @@ export const workers_binding_kind_service: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "service": { "description": "Name of Worker to bind to.", @@ -4106,8 +2933,8 @@ export const workers_binding_kind_service: JsonSchema = { export const workers_binding_kind_text_blob: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "part": { "description": "The name of the file containing the text content. Only accepted for `service worker syntax` Workers.", @@ -4140,8 +2967,8 @@ export const workers_binding_kind_vectorize: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -4165,8 +2992,8 @@ export const workers_binding_kind_vectorize: JsonSchema = { export const workers_binding_kind_version_metadata: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "type": { "description": "The kind of resource that the binding provides.", @@ -4189,22 +3016,22 @@ export const workers_binding_kind_version_metadata: JsonSchema = { export const workers_binding_kind_vpc_network: JsonSchema = { "properties": { "identity": { - "description": "Enables Gateway identity for the binding. Requires network_id to be \"cf1:network\" and cannot be combined with tunnel_id or an explicit \"cf1:vnet:\" network_id.\n", + "description": "Enables Gateway identity for the binding. Requires network_id to be \"cf1:network\" and cannot be combined with tunnel_id or an explicit \"cf1:vnet:\" network_id.", "enum": [ "runtime-email-alpha" ], "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "network_id": { - "description": "Identifier of the network to bind to. Use \"cf1:network\" to select the account's default virtual network at runtime, or \"cf1:vnet:\" to select an explicit virtual network in the Worker's account. Mutually exclusive with tunnel_id.\n", + "description": "Identifier of the network to bind to. Use \"cf1:network\" to select the account's default virtual network at runtime, or \"cf1:vnet:\" to select an explicit virtual network in the Worker's account. Mutually exclusive with tunnel_id.", "type": "string" }, "tunnel_id": { - "description": "UUID of the Cloudflare Tunnel to bind to. Mutually exclusive with network_id.\n", + "description": "UUID of the Cloudflare Tunnel to bind to. Mutually exclusive with network_id.", "type": "string" }, "type": { @@ -4228,8 +3055,8 @@ export const workers_binding_kind_vpc_network: JsonSchema = { export const workers_binding_kind_vpc_service: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "service_id": { "description": "Identifier of the VPC service to bind to.", @@ -4257,8 +3084,8 @@ export const workers_binding_kind_vpc_service: JsonSchema = { export const workers_binding_kind_wasm_module: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "part": { "description": "The name of the file containing the WebAssembly module content. Only accepted for `service worker syntax` Workers.", @@ -4291,8 +3118,8 @@ export const workers_binding_kind_workflow: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/workers_binding_name", - "description": "A JavaScript variable name for the binding." + "description": "A JavaScript variable name for the binding.", + "type": "string" }, "script_name": { "description": "Script name that contains the Workflow. If not provided, defaults to this script name.", @@ -4318,14 +3145,6 @@ export const workers_binding_kind_workflow: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_binding_name`. - */ -export const workers_binding_name: JsonSchema = { - "description": "A JavaScript variable name for the binding.", - "type": "string" -}; - /** * The schema of `workers_bindings`. */ @@ -4341,11 +3160,11 @@ export const workers_bindings: JsonSchema = { * The schema of `workers_cache_options`. */ export const workers_cache_options: JsonSchema = { - "description": "Global CacheW configuration for the Worker. When caching is on,\nthe platform provisions a `cloudflare.app` zone for the Worker.\nA `type: worker` entry in the `exports` map can override this\nvalue for a single entrypoint.\n", + "description": "Global CacheW configuration for the Worker. When caching is on,\nthe platform provisions a `cloudflare.app` zone for the Worker.\nA `type: worker` entry in the `exports` map can override this\nvalue for a single entrypoint.", "properties": { "cross_version_cache": { "default": false, - "description": "Whether cached responses are shared across Worker version\nuploads. This is independent of `enabled`. It can stay true\nwhile caching is off, so the preference survives turning\ncaching off and back on.\n", + "description": "Whether cached responses are shared across Worker version\nuploads. This is independent of `enabled`. It can stay true\nwhile caching is off, so the preference survives turning\ncaching off and back on.", "type": "boolean" }, "enabled": { @@ -4409,29 +3228,14 @@ export const workers_code_update_strategy: JsonSchema = { ] }; -/** - * The schema of `workers_compatibility_date`. - */ -export const workers_compatibility_date: JsonSchema = { - "description": "Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.", - "type": "string" -}; - -/** - * The schema of `workers_compatibility_flag`. - */ -export const workers_compatibility_flag: JsonSchema = { - "description": "Flag that enables or disables a specific feature in the Workers runtime.", - "type": "string" -}; - /** * The schema of `workers_compatibility_flags`. */ export const workers_compatibility_flags: JsonSchema = { "description": "Flags that enable or disable certain features in the Workers runtime. Used to enable upcoming features or opt in or out of specific changes not included in a `compatibility_date`.", "items": { - "$ref": "#/$defs/workers_compatibility_flag" + "description": "Flag that enables or disables a specific feature in the Workers runtime.", + "type": "string" }, "type": "array" }; @@ -4459,7 +3263,7 @@ export const workers_create$$assets$$upload$$session$$object: JsonSchema = { * The schema of `workers_durable_object_deleted_export`. */ export const workers_durable_object_deleted_export: JsonSchema = { - "description": "A `deleted` tombstone: retires the provisioned namespace for this\nclass and all of its data. The class must be absent from the\nuploaded code and no other Worker in the account may bind to the\nnamespace, otherwise the deploy is rejected. No other fields are\nallowed. Deletion is irreversible.\n", + "description": "A `deleted` tombstone: retires the provisioned namespace for this\nclass and all of its data. The class must be absent from the\nuploaded code and no other Worker in the account may bind to the\nnamespace, otherwise the deploy is rejected. No other fields are\nallowed. Deletion is irreversible.", "properties": { "state": { "description": "Tombstone that deletes the namespace.", @@ -4487,10 +3291,10 @@ export const workers_durable_object_deleted_export: JsonSchema = { * The schema of `workers_durable_object_expecting_transfer_export`. */ export const workers_durable_object_expecting_transfer_export: JsonSchema = { - "description": "The target side of a two-phase transfer (`state:\nexpecting-transfer`). Declares that this script expects to receive\na namespace for this class from the `transfer_from` script. This\nis a live entry, not a tombstone: bindings resolve through the\nsource's namespace until the source commits with a `transferred`\ntombstone. `storage` and `transfer_from` are required; `renamed_to`\nand `transferred_to` are not allowed.\n", + "description": "The target side of a two-phase transfer (`state:\nexpecting-transfer`). Declares that this script expects to receive\na namespace for this class from the `transfer_from` script. This\nis a live entry, not a tombstone: bindings resolve through the\nsource's namespace until the source commits with a `transferred`\ntombstone. `storage` and `transfer_from` are required; `renamed_to`\nand `transferred_to` are not allowed.", "properties": { "container": { - "description": "Name of the container (declared in the upload's\n`metadata.containers`) that backs this Durable Object once the\ntransfer settles. Valid only on live entries.\n", + "description": "Name of the container (declared in the upload's\n`metadata.containers`) that backs this Durable Object once the\ntransfer settles. Valid only on live entries.", "type": "string" }, "state": { @@ -4501,11 +3305,15 @@ export const workers_durable_object_expecting_transfer_export: JsonSchema = { "type": "string" }, "storage": { - "$ref": "#/$defs/workers_export_storage", - "description": "Durable Object storage backend. `sqlite` is the recommended (and\nonly) backend for new namespaces. `legacy-kv` is accepted only for\na class whose namespace already exists as KV-backed; the `exports`\nflow never provisions a new `legacy-kv` namespace.\n" + "description": "Durable Object storage backend. `sqlite` is the recommended (and\nonly) backend for new namespaces. `legacy-kv` is accepted only for\na class whose namespace already exists as KV-backed; the `exports`\nflow never provisions a new `legacy-kv` namespace.", + "enum": [ + "sqlite", + "legacy-kv" + ], + "type": "string" }, "transfer_from": { - "description": "The source script name to receive the namespace from. Must be\nin the same account and dispatch-namespace context. Present on\nreads for `expecting-transfer` entries.\n", + "description": "The source script name to receive the namespace from. Must be\nin the same account and dispatch-namespace context. Present on\nreads for `expecting-transfer` entries.", "type": "string" }, "type": { @@ -4529,10 +3337,10 @@ export const workers_durable_object_expecting_transfer_export: JsonSchema = { * The schema of `workers_durable_object_export`. */ export const workers_durable_object_export: JsonSchema = { - "description": "A live Durable Object export (`state: created`, the default). The\nplatform auto-provisions the namespace on first deploy, matches it\non subsequent deploys, and never mutates or deletes it as a side\neffect of a code-only change. `storage` is required; `renamed_to`,\n`transferred_to` and `transfer_from` are not allowed on a live\nentry.\n", + "description": "A live Durable Object export (`state: created`, the default). The\nplatform auto-provisions the namespace on first deploy, matches it\non subsequent deploys, and never mutates or deletes it as a side\neffect of a code-only change. `storage` is required; `renamed_to`,\n`transferred_to` and `transfer_from` are not allowed on a live\nentry.", "properties": { "container": { - "description": "Name of the container (declared in the upload's\n`metadata.containers`) that backs this Durable Object. When\nset, the namespace is container-enabled. Valid only on live\nentries.\n", + "description": "Name of the container (declared in the upload's\n`metadata.containers`) that backs this Durable Object. When\nset, the namespace is container-enabled. Valid only on live\nentries.", "type": "string" }, "state": { @@ -4544,8 +3352,12 @@ export const workers_durable_object_export: JsonSchema = { "type": "string" }, "storage": { - "$ref": "#/$defs/workers_export_storage", - "description": "Durable Object storage backend. `sqlite` is the recommended (and\nonly) backend for new namespaces. `legacy-kv` is accepted only for\na class whose namespace already exists as KV-backed; the `exports`\nflow never provisions a new `legacy-kv` namespace.\n" + "description": "Durable Object storage backend. `sqlite` is the recommended (and\nonly) backend for new namespaces. `legacy-kv` is accepted only for\na class whose namespace already exists as KV-backed; the `exports`\nflow never provisions a new `legacy-kv` namespace.", + "enum": [ + "sqlite", + "legacy-kv" + ], + "type": "string" }, "type": { "description": "Marks this entry as a Durable Object export.", @@ -4566,7 +3378,7 @@ export const workers_durable_object_export: JsonSchema = { * The schema of `workers_durable_object_export_variants`. */ export const workers_durable_object_export_variants: JsonSchema = { - "description": "Any Durable Object export entry (`type: durable-object`), across\nall lifecycle states. The optional `state` field selects the\nvariant (default `created`); the tombstone states (`deleted`,\n`renamed`, `transferred`) and the live transfer target\n(`expecting-transfer`) are the alternatives. The server validates\nthe exact per-state field combinations; fields not listed for a\nvariant are rejected.\n", + "description": "Any Durable Object export entry (`type: durable-object`), across\nall lifecycle states. The optional `state` field selects the\nvariant (default `created`); the tombstone states (`deleted`,\n`renamed`, `transferred`) and the live transfer target\n(`expecting-transfer`) are the alternatives. The server validates\nthe exact per-state field combinations; fields not listed for a\nvariant are rejected.", "oneOf": [ { "$ref": "#/$defs/workers_durable_object_export" @@ -4590,10 +3402,10 @@ export const workers_durable_object_export_variants: JsonSchema = { * The schema of `workers_durable_object_renamed_export`. */ export const workers_durable_object_renamed_export: JsonSchema = { - "description": "A `renamed` tombstone: rewrites the provisioned namespace's class\nname from this map key to `renamed_to`. The source class may stay\nin code during the rollout window (an info notice is emitted).\n`storage`, `transferred_to` and `transfer_from` are not allowed.\n", + "description": "A `renamed` tombstone: rewrites the provisioned namespace's class\nname from this map key to `renamed_to`. The source class may stay\nin code during the rollout window (an info notice is emitted).\n`storage`, `transferred_to` and `transfer_from` are not allowed.", "properties": { "renamed_to": { - "description": "The destination class name. Must differ from the source class\n(the map key) and must be declared as a live (`created`) entry\nin the same `exports` map. Write-only: never present in GET\nresponses.\n", + "description": "The destination class name. Must differ from the source class\n(the map key) and must be declared as a live (`created`) entry\nin the same `exports` map. Write-only: never present in GET\nresponses.", "type": "string" }, "state": { @@ -4623,7 +3435,7 @@ export const workers_durable_object_renamed_export: JsonSchema = { * The schema of `workers_durable_object_transferred_export`. */ export const workers_durable_object_transferred_export: JsonSchema = { - "description": "A `transferred` tombstone (source side of a two-phase transfer):\nhands ownership of the provisioned namespace to another script in\nthe same account, named by `transferred_to`. The target must have\nalready deployed a matching `expecting-transfer` entry. The source\nclass may stay in code during the rollout window (an info notice\nis emitted). `storage`, `renamed_to` and `transfer_from` are not\nallowed.\n", + "description": "A `transferred` tombstone (source side of a two-phase transfer):\nhands ownership of the provisioned namespace to another script in\nthe same account, named by `transferred_to`. The target must have\nalready deployed a matching `expecting-transfer` entry. The source\nclass may stay in code during the rollout window (an info notice\nis emitted). `storage`, `renamed_to` and `transfer_from` are not\nallowed.", "properties": { "state": { "description": "Tombstone that transfers the namespace to another script.", @@ -4633,7 +3445,7 @@ export const workers_durable_object_transferred_export: JsonSchema = { "type": "string" }, "transferred_to": { - "description": "The destination script name. Must be in the same account and\nthe same dispatch-namespace context (or both non-dispatch).\nCross-dispatch-namespace transfers are rejected. Write-only:\nnever present in GET responses.\n", + "description": "The destination script name. Must be in the same account and\nthe same dispatch-namespace context (or both non-dispatch).\nCross-dispatch-namespace transfers are rejected. Write-only:\nnever present in GET responses.", "type": "string" }, "type": { @@ -4656,7 +3468,7 @@ export const workers_durable_object_transferred_export: JsonSchema = { * The schema of `workers_entrypoint_cache_options`. */ export const workers_entrypoint_cache_options: JsonSchema = { - "description": "CacheW configuration for a single `type: worker` entrypoint.\nWhen present it overrides the Worker's global\n`cache_options.enabled` for that entrypoint, so a Worker can turn\ncaching on globally and opt one entrypoint out, or the reverse.\n", + "description": "CacheW configuration for a single `type: worker` entrypoint.\nWhen present it overrides the Worker's global\n`cache_options.enabled` for that entrypoint, so a Worker can turn\ncaching on globally and opt one entrypoint out, or the reverse.", "properties": { "enabled": { "description": "Whether caching is enabled for this entrypoint.", @@ -4673,7 +3485,7 @@ export const workers_entrypoint_cache_options: JsonSchema = { * The schema of `workers_export_config`. */ export const workers_export_config: JsonSchema = { - "description": "A single entry in the `exports` map, keyed by export name (a\n`WorkerEntrypoint` class name, a Durable Object class name, or\n`default` for the Worker's default export). The `type`\ndiscriminator selects the top-level shape: `worker` entrypoint\nentries may carry `cache` configuration, while `durable-object`\nentries are further refined by the optional `state` field\n(default `created`). Tombstone states (`deleted`, `renamed`,\n`transferred`) express destructive lifecycle operations\ndeclaratively; `expecting-transfer` is the live target side of a\ntransfer. The server validates the exact per-(type, state) field\ncombinations; fields not listed for a variant are rejected.\n", + "description": "A single entry in the `exports` map, keyed by export name (a\n`WorkerEntrypoint` class name, a Durable Object class name, or\n`default` for the Worker's default export). The `type`\ndiscriminator selects the top-level shape: `worker` entrypoint\nentries may carry `cache` configuration, while `durable-object`\nentries are further refined by the optional `state` field\n(default `created`). Tombstone states (`deleted`, `renamed`,\n`transferred`) express destructive lifecycle operations\ndeclaratively; `expecting-transfer` is the live target side of a\ntransfer. The server validates the exact per-(type, state) field\ncombinations; fields not listed for a variant are rejected.", "oneOf": [ { "$ref": "#/$defs/workers_worker_export" @@ -4684,18 +3496,6 @@ export const workers_export_config: JsonSchema = { ] }; -/** - * The schema of `workers_export_storage`. - */ -export const workers_export_storage: JsonSchema = { - "description": "Durable Object storage backend. `sqlite` is the recommended (and\nonly) backend for new namespaces. `legacy-kv` is accepted only for\na class whose namespace already exists as KV-backed; the `exports`\nflow never provisions a new `legacy-kv` namespace.\n", - "enum": [ - "sqlite", - "legacy-kv" - ], - "type": "string" -}; - /** * The schema of `workers_exports_config_map`. */ @@ -4703,7 +3503,7 @@ export const workers_exports_config_map: JsonSchema = { "additionalProperties": { "$ref": "#/$defs/workers_export_config" }, - "description": "Declarative exports for the Worker, keyed by export name. Worker\nentrypoint entries (`type: worker`) carry cache configuration for\nthat entrypoint. Durable Object entries (`type: durable-object`)\nare also configured here and drive namespace reconciliation. At\nmost 100 entries; class names are at most 128 characters.\n", + "description": "Declarative exports for the Worker, keyed by export name. Worker\nentrypoint entries (`type: worker`) carry cache configuration for\nthat entrypoint. Durable Object entries (`type: durable-object`)\nare also configured here and drive namespace reconciliation. At\nmost 100 entries; class names are at most 128 characters.", "type": "object" }; @@ -4711,7 +3511,7 @@ export const workers_exports_config_map: JsonSchema = { * The schema of `workers_exports_reconciliation_info`. */ export const workers_exports_reconciliation_info: JsonSchema = { - "description": "A non-blocking reconciliation info entry. Emitted for stale\ntombstones (a no-op on this deploy) and for tombstones applied\nwith the source class still in code (the supported zero-downtime\nrollout pattern).\n", + "description": "A non-blocking reconciliation info entry. Emitted for stale\ntombstones (a no-op on this deploy) and for tombstones applied\nwith the source class still in code (the supported zero-downtime\nrollout pattern).", "properties": { "class": { "description": "The class name the info entry is about.", @@ -4727,15 +3527,50 @@ export const workers_exports_reconciliation_info: JsonSchema = { "type": "string" }, "referencing_scripts": { - "description": "Other Workers in the account that still bind to the affected\nclass. Advisory: while non-empty the tombstone is not yet safe\nto remove — redeploy these Workers with bindings re-pointed\nfirst.\n", + "description": "Other Workers in the account that still bind to the affected\nclass. Advisory: while non-empty the tombstone is not yet safe\nto remove — redeploy these Workers with bindings re-pointed\nfirst.", "items": { "type": "string" }, "type": "array" }, "scenario": { - "$ref": "#/$defs/workers_exports_reconciliation_scenario", - "description": "Stable, machine-readable tag identifying which reconciliation\nscenario produced an error, warning, or info entry. Clients may\nbranch on this value instead of parsing `message`.\n" + "description": "Stable, machine-readable tag identifying which reconciliation\nscenario produced an error, warning, or info entry. Clients may\nbranch on this value instead of parsing `message`.", + "enum": [ + "code_class_not_in_exports", + "provisioned_class_missing_from_config", + "config_export_not_in_code", + "config_references_nonexistent_class", + "orphaned_provisioned_namespace", + "storage_type_mismatch", + "free_tier_requires_sqlite", + "invalid_export", + "tombstone_delete_class_still_in_code", + "tombstone_delete_blocked_by_external_bindings", + "tombstone_renamed_to_occupied", + "transferred_pending_not_found", + "transferred_target_missing", + "transferred_target_mismatch", + "phase_one_transfer_source_missing", + "phase_one_transfer_source_namespace_missing", + "phase_one_transfer_target_class_provisioned", + "phase_one_transfer_after_commit_mismatch", + "phase_one_transfer_duplicate", + "phase_one_transfer_target_in_dispatch_namespace", + "phase_one_transfer_source_in_dispatch_namespace", + "transferred_source_in_dispatch_namespace", + "transferred_target_in_dispatch_namespace", + "container_undeclared_reference", + "container_class_not_durable_object", + "container_wiring_inconsistent", + "container_multiple_durable_objects", + "transfer_container_parity_mismatch", + "transfer_container_parity_mismatch_on_commit", + "tombstone_class_still_in_code", + "stale_tombstone", + "transfer_receive_already_applied", + "transfer_receive_cleanup_complete" + ], + "type": "string" } }, "required": [ @@ -4772,7 +3607,7 @@ export const workers_exports_reconciliation_rename: JsonSchema = { * The schema of `workers_exports_reconciliation_result`. */ export const workers_exports_reconciliation_result: JsonSchema = { - "description": "Summary of what the declarative exports reconciliation did on this\nupload. Present only on uploads that included an `exports` block.\nReconciliation acts on Durable Object entries; `type: worker`\nentries in the same map do not participate. Every array is always\npresent (possibly empty) so clients can iterate unconditionally.\nClients should surface `warnings` prominently, render `info` at\nlower visibility, and use `removable_entries` as the \"safe to\ndelete from your config\" hint.\n", + "description": "Summary of what the declarative exports reconciliation did on this\nupload. Present only on uploads that included an `exports` block.\nReconciliation acts on Durable Object entries; `type: worker`\nentries in the same map do not participate. Every array is always\npresent (possibly empty) so clients can iterate unconditionally.\nClients should surface `warnings` prominently, render `info` at\nlower visibility, and use `removable_entries` as the \"safe to\ndelete from your config\" hint.", "properties": { "created": { "description": "Class names for which a new namespace was provisioned.", @@ -4789,14 +3624,14 @@ export const workers_exports_reconciliation_result: JsonSchema = { "type": "array" }, "info": { - "description": "Non-blocking info entries (stale tombstones, tombstone applied\nwith class still in code). See `exports_reconciliation_info`.\n", + "description": "Non-blocking info entries (stale tombstones, tombstone applied\nwith class still in code). See `exports_reconciliation_info`.", "items": { "$ref": "#/$defs/workers_exports_reconciliation_info" }, "type": "array" }, "removable_entries": { - "description": "Source class names whose tombstone entry is now stale and safe\nto delete from `exports` (no remaining referencing scripts).\n", + "description": "Source class names whose tombstone entry is now stale and safe\nto delete from `exports` (no remaining referencing scripts).", "items": { "type": "string" }, @@ -4852,49 +3687,6 @@ export const workers_exports_reconciliation_result: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_exports_reconciliation_scenario`. - */ -export const workers_exports_reconciliation_scenario: JsonSchema = { - "description": "Stable, machine-readable tag identifying which reconciliation\nscenario produced an error, warning, or info entry. Clients may\nbranch on this value instead of parsing `message`.\n", - "enum": [ - "code_class_not_in_exports", - "provisioned_class_missing_from_config", - "config_export_not_in_code", - "config_references_nonexistent_class", - "orphaned_provisioned_namespace", - "storage_type_mismatch", - "free_tier_requires_sqlite", - "invalid_export", - "tombstone_delete_class_still_in_code", - "tombstone_delete_blocked_by_external_bindings", - "tombstone_renamed_to_occupied", - "transferred_pending_not_found", - "transferred_target_missing", - "transferred_target_mismatch", - "phase_one_transfer_source_missing", - "phase_one_transfer_source_namespace_missing", - "phase_one_transfer_target_class_provisioned", - "phase_one_transfer_after_commit_mismatch", - "phase_one_transfer_duplicate", - "phase_one_transfer_target_in_dispatch_namespace", - "phase_one_transfer_source_in_dispatch_namespace", - "transferred_source_in_dispatch_namespace", - "transferred_target_in_dispatch_namespace", - "container_undeclared_reference", - "container_class_not_durable_object", - "container_wiring_inconsistent", - "container_multiple_durable_objects", - "transfer_container_parity_mismatch", - "transfer_container_parity_mismatch_on_commit", - "tombstone_class_still_in_code", - "stale_tombstone", - "transfer_receive_already_applied", - "transfer_receive_cleanup_complete" - ], - "type": "string" -}; - /** * The schema of `workers_exports_reconciliation_transfer`. */ @@ -4929,7 +3721,7 @@ export const workers_exports_reconciliation_transfer: JsonSchema = { * The schema of `workers_exports_reconciliation_transfer_pending`. */ export const workers_exports_reconciliation_transfer_pending: JsonSchema = { - "description": "A single phase-1 transfer hint recorded on the target side (a live\n`expecting-transfer` entry).\n", + "description": "A single phase-1 transfer hint recorded on the target side (a live\n`expecting-transfer` entry).", "properties": { "class": { "description": "The target-side class name awaiting transfer.", @@ -4951,7 +3743,7 @@ export const workers_exports_reconciliation_transfer_pending: JsonSchema = { * The schema of `workers_exports_reconciliation_warning`. */ export const workers_exports_reconciliation_warning: JsonSchema = { - "description": "A non-blocking reconciliation warning. Reserved: no scenario\npopulates this array today (`code_class_not_in_exports` is\nsurfaced as info and `provisioned_class_missing_from_config` is a\nhard error). Clients should still surface any entries that appear.\n", + "description": "A non-blocking reconciliation warning. Reserved: no scenario\npopulates this array today (`code_class_not_in_exports` is\nsurfaced as info and `provisioned_class_missing_from_config` is a\nhard error). Clients should still surface any entries that appear.", "properties": { "class": { "description": "The class name the warning is about.", @@ -4967,8 +3759,43 @@ export const workers_exports_reconciliation_warning: JsonSchema = { "type": "string" }, "scenario": { - "$ref": "#/$defs/workers_exports_reconciliation_scenario", - "description": "Stable, machine-readable tag identifying which reconciliation\nscenario produced an error, warning, or info entry. Clients may\nbranch on this value instead of parsing `message`.\n" + "description": "Stable, machine-readable tag identifying which reconciliation\nscenario produced an error, warning, or info entry. Clients may\nbranch on this value instead of parsing `message`.", + "enum": [ + "code_class_not_in_exports", + "provisioned_class_missing_from_config", + "config_export_not_in_code", + "config_references_nonexistent_class", + "orphaned_provisioned_namespace", + "storage_type_mismatch", + "free_tier_requires_sqlite", + "invalid_export", + "tombstone_delete_class_still_in_code", + "tombstone_delete_blocked_by_external_bindings", + "tombstone_renamed_to_occupied", + "transferred_pending_not_found", + "transferred_target_missing", + "transferred_target_mismatch", + "phase_one_transfer_source_missing", + "phase_one_transfer_source_namespace_missing", + "phase_one_transfer_target_class_provisioned", + "phase_one_transfer_after_commit_mismatch", + "phase_one_transfer_duplicate", + "phase_one_transfer_target_in_dispatch_namespace", + "phase_one_transfer_source_in_dispatch_namespace", + "transferred_source_in_dispatch_namespace", + "transferred_target_in_dispatch_namespace", + "container_undeclared_reference", + "container_class_not_durable_object", + "container_wiring_inconsistent", + "container_multiple_durable_objects", + "transfer_container_parity_mismatch", + "transfer_container_parity_mismatch_on_commit", + "tombstone_class_still_in_code", + "stale_tombstone", + "transfer_receive_already_applied", + "transfer_receive_cleanup_complete" + ], + "type": "string" } }, "required": [ @@ -4979,14 +3806,6 @@ export const workers_exports_reconciliation_warning: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_identifier`. - */ -export const workers_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - /** * The schema of `workers_limits`. */ @@ -5005,14 +3824,6 @@ export const workers_limits: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_logpush`. - */ -export const workers_logpush: JsonSchema = { - "description": "Whether Logpush is turned on for the Worker.", - "type": "boolean" -}; - /** * The schema of `workers_manifest-value`. */ @@ -5137,14 +3948,6 @@ export const workers_multiple_step_migrations: JsonSchema = { ] }; -/** - * The schema of `workers_namespace_identifier`. - */ -export const workers_namespace_identifier: JsonSchema = { - "description": "Namespace identifier tag.", - "type": "string" -}; - /** * The schema of `workers_observability-2`. */ @@ -5488,14 +4291,6 @@ export const workers_placement_target: JsonSchema = { ] }; -/** - * The schema of `workers_script_name`. - */ -export const workers_script_name: JsonSchema = { - "description": "Name of the script.", - "type": "string" -}; - /** * The schema of `workers_secret`. */ @@ -5515,7 +4310,7 @@ export const workers_secret: JsonSchema = { * The schema of `workers_secret-patch-request`. */ export const workers_secret$$patch$$request: JsonSchema = { - "description": "JSON Merge Patch (RFC 7396) request body for bulk secret changes.\n", + "description": "JSON Merge Patch (RFC 7396) request body for bulk secret changes.", "properties": { "secrets": { "additionalProperties": { @@ -5528,7 +4323,7 @@ export const workers_secret$$patch$$request: JsonSchema = { } ] }, - "description": "Map of secret names to secret values:\n- Set to a secret object to create or update.\n- Set to `null` to delete.\n- Omit to leave unchanged.\n", + "description": "Map of secret names to secret values:\n- Set to a secret object to create or update.\n- Set to `null` to delete.\n- Omit to leave unchanged.", "type": "object" }, "version_tags": { @@ -5539,22 +4334,6 @@ export const workers_secret$$patch$$request: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_secret_name`. - */ -export const workers_secret_name: JsonSchema = { - "description": "A JavaScript variable name for the secret binding.", - "type": "string" -}; - -/** - * The schema of `workers_secret_name_url_encoded`. - */ -export const workers_secret_name_url_encoded: JsonSchema = { - "description": "Flag that indicates whether the secret name is URL encoded.", - "type": "boolean" -}; - /** * The schema of `workers_single_step_migrations`. */ @@ -5570,13 +4349,6 @@ export const workers_single_step_migrations: JsonSchema = { "description": "A single set of migrations to apply." }; -/** - * The schema of `workers_tag`. - */ -export const workers_tag: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_tags`. */ @@ -5585,7 +4357,7 @@ export const workers_tags: JsonSchema = { "oneOf": [ { "items": { - "$ref": "#/$defs/workers_tag" + "type": "string" }, "maxItems": 10, "type": "array" @@ -5621,28 +4393,15 @@ export const workers_tail_consumers_script: JsonSchema = { "type": "object" }; -/** - * The schema of `workers_usage_model`. - */ -export const workers_usage_model: JsonSchema = { - "description": "Usage model for the Worker invocations.", - "enum": [ - "standard", - "bundled", - "unbound" - ], - "type": "string" -}; - /** * The schema of `workers_worker_export`. */ export const workers_worker_export: JsonSchema = { - "description": "A named Worker entrypoint export (`type: worker`). Worker\nentrypoints are always live (`state: created`) and carry no\nstorage or lifecycle fields. The optional `cache` block overrides\nthe Worker's global `cache_options.enabled` for this entrypoint.\n", + "description": "A named Worker entrypoint export (`type: worker`). Worker\nentrypoints are always live (`state: created`) and carry no\nstorage or lifecycle fields. The optional `cache` block overrides\nthe Worker's global `cache_options.enabled` for this entrypoint.", "properties": { "cache": { "$ref": "#/$defs/workers_entrypoint_cache_options", - "description": "Cache override for this entrypoint. Overrides the Worker's\nglobal `cache_options.enabled` for this entrypoint only.\n" + "description": "Cache override for this entrypoint. Overrides the Worker's\nglobal `cache_options.enabled` for this entrypoint only." }, "state": { "default": "created", @@ -5665,11 +4424,3 @@ export const workers_worker_export: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `zones_identifier-2`. - */ -export const zones_identifier$$2: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/scim/groups/schemas.ts b/src/generated/forge-mcp/scim/groups/schemas.ts index 82e0c13c1..bb53edbea 100644 --- a/src/generated/forge-mcp/scim/groups/schemas.ts +++ b/src/generated/forge-mcp/scim/groups/schemas.ts @@ -7,10 +7,10 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `iam_scim_group_create_request`. */ export const iam_scim_group_create_request: JsonSchema = { - "description": "Request body for creating a SCIM Group. The `displayName` must not be empty and must not begin with `CF` (reserved for system groups).\n", + "description": "Request body for creating a SCIM Group. The `displayName` must not be empty and must not begin with `CF` (reserved for system groups).", "properties": { "displayName": { - "description": "A human-readable name for the Group. REQUIRED. Must not start with `CF` (reserved prefix for Cloudflare-managed virtual groups).\n", + "description": "A human-readable name for the Group. REQUIRED. Must not start with `CF` (reserved prefix for Cloudflare-managed virtual groups).", "type": "string" }, "externalId": { @@ -24,14 +24,6 @@ export const iam_scim_group_create_request: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_scim_group_identifier`. - */ -export const iam_scim_group_identifier: JsonSchema = { - "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n", - "type": "string" -}; - /** * The schema of `iam_scim_group_patch_member_value`. */ @@ -50,7 +42,7 @@ export const iam_scim_group_patch_member_value: JsonSchema = { * The schema of `iam_scim_group_patch_op_request`. */ export const iam_scim_group_patch_op_request: JsonSchema = { - "description": "Request body for a SCIM PATCH operation on a Group resource (RFC 7644 Section 3.5.2).\n", + "description": "Request body for a SCIM PATCH operation on a Group resource (RFC 7644 Section 3.5.2).", "properties": { "Operations": { "description": "List of PATCH operations to apply.", @@ -77,7 +69,7 @@ export const iam_scim_group_patch_op_request: JsonSchema = { * The schema of `iam_scim_group_patch_operation`. */ export const iam_scim_group_patch_operation: JsonSchema = { - "description": "A single PATCH operation for a Group resource. Supports `add`, `remove`, and `replace` on `members`, `displayName`, and `externalId`.\n", + "description": "A single PATCH operation for a Group resource. Supports `add`, `remove`, and `replace` on `members`, `displayName`, and `externalId`.", "properties": { "op": { "description": "The operation to perform.", @@ -89,11 +81,11 @@ export const iam_scim_group_patch_operation: JsonSchema = { "type": "string" }, "path": { - "description": "Attribute path targeted by this operation. Use `members` to modify group membership. May also include a filter expression to target specific members, e.g. `members[value eq \"userTag\"]`.\n", + "description": "Attribute path targeted by this operation. Use `members` to modify group membership. May also include a filter expression to target specific members, e.g. `members[value eq \"userTag\"]`.", "type": "string" }, "value": { - "description": "The value(s) for the operation. For member add/replace operations, an array of member value objects. For `displayName` or `externalId` updates, a string value.\n", + "description": "The value(s) for the operation. For member add/replace operations, an array of member value objects. For `displayName` or `externalId` updates, a string value.", "oneOf": [ { "items": { @@ -124,11 +116,11 @@ export const iam_scim_group_replace_request: JsonSchema = { "type": "string" }, "externalId": { - "description": "Identifier for the Group as defined by the provisioning client (IdP). Omission clears the existing value.\n", + "description": "Identifier for the Group as defined by the provisioning client (IdP). Omission clears the existing value.", "type": "string" }, "members": { - "description": "The complete replacement member set. Omission is treated as an empty list.\n", + "description": "The complete replacement member set. Omission is treated as an empty list.", "items": { "$ref": "#/$defs/iam_scim_group_patch_member_value" }, diff --git a/src/generated/forge-mcp/scim/groups/tools.ts b/src/generated/forge-mcp/scim/groups/tools.ts index 2f0cffc05..8b0356c26 100644 --- a/src/generated/forge-mcp/scim/groups/tools.ts +++ b/src/generated/forge-mcp/scim/groups/tools.ts @@ -2,10 +2,6 @@ /* eslint-disable */ import { type Tool, param, pathParam } from "../../_/tool.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier, -} from "../../schemas.js"; import { iam_scim_error_response } from "../outputs.js"; import { iam_scim_group, @@ -15,7 +11,6 @@ import { } from "./outputs.js"; import { iam_scim_group_create_request, - iam_scim_group_identifier, iam_scim_group_patch_member_value, iam_scim_group_patch_op_request, iam_scim_group_patch_operation, @@ -29,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "scim_groups_create", title: "Create SCIM Group", - description: "Creates a new SCIM Group (user group) for the account. The `displayName` must not be empty and must not begin with `CF` (reserved for system groups).", + description: "Creates a new SCIM Group (user group) for the account. The `displayName` must not be empty and must not begin with `CF` (reserved for system groups).\n\nPOST /accounts/{account_id}/scim/v2/Groups", inputSchema: { type: "object", properties: { @@ -37,10 +32,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_scim_group_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -53,9 +49,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_group_create_request": iam_scim_group_create_request, }, }, @@ -115,19 +110,20 @@ export const tools: readonly Tool[] = [ { name: "scim_groups_delete", title: "Delete SCIM Group", - description: "Deletes a SCIM Group (custom user groups only). System groups backed by Cloudflare permission groups cannot be deleted via SCIM. Returns 204 No Content on success.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Deletes a SCIM Group (custom user groups only). System groups backed by Cloudflare permission groups cannot be deleted via SCIM. Returns 204 No Content on success.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /accounts/{account_id}/scim/v2/Groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "group_id": { - "$ref": "#/$defs/iam_scim_group_identifier", - "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.", + "type": "string" } }, "required": [ @@ -140,11 +136,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_scim_group_identifier": iam_scim_group_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -190,7 +182,7 @@ export const tools: readonly Tool[] = [ { name: "scim_groups_edit", title: "Patch SCIM Group", - description: "Partially updates a SCIM Group via PATCH operations (RFC 7644 Section 3.5.2). Supports add, remove, and replace operations on `members`, `displayName`, and `externalId`. For system groups (prefixed `cloudflare-v1-`), only member management operations are supported.", + description: "Partially updates a SCIM Group via PATCH operations (RFC 7644 Section 3.5.2). Supports add, remove, and replace operations on `members`, `displayName`, and `externalId`. For system groups (prefixed `cloudflare-v1-`), only member management operations are supported.\n\nPATCH /accounts/{account_id}/scim/v2/Groups/{group_id}", inputSchema: { type: "object", properties: { @@ -198,14 +190,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_scim_group_patch_op_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "group_id": { - "$ref": "#/$defs/iam_scim_group_identifier", - "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.", + "type": "string" } }, "required": [ @@ -219,10 +212,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_scim_group_identifier": iam_scim_group_identifier, "iam_scim_group_patch_member_value": iam_scim_group_patch_member_value, "iam_scim_group_patch_op_request": iam_scim_group_patch_op_request, "iam_scim_group_patch_operation": iam_scim_group_patch_operation, @@ -284,19 +275,20 @@ export const tools: readonly Tool[] = [ { name: "scim_groups_get", title: "Get SCIM Group", - description: "Retrieves a single SCIM Group resource by group ID.", + description: "Retrieves a single SCIM Group resource by group ID.\n\nGET /accounts/{account_id}/scim/v2/Groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "group_id": { - "$ref": "#/$defs/iam_scim_group_identifier", - "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.", + "type": "string" } }, "required": [ @@ -309,11 +301,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_scim_group_identifier": iam_scim_group_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_scim_group", @@ -371,15 +359,16 @@ export const tools: readonly Tool[] = [ { name: "scim_groups_list", title: "List SCIM Groups", - description: "Lists SCIM Group resources for the account. Returns both system groups (backed by Cloudflare permission groups, prefixed `cloudflare-v1-`) and custom user groups. Supports filtering by `displayName` using SCIM filter syntax.", + description: "Lists SCIM Group resources for the account. Returns both system groups (backed by Cloudflare permission groups, prefixed `cloudflare-v1-`) and custom user groups. Supports filtering by `displayName` using SCIM filter syntax.\n\nGET /accounts/{account_id}/scim/v2/Groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -388,18 +377,19 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "count": { - "description": "Specifies the desired maximum number of query results per page.\n", + "description": "Specifies the desired maximum number of query results per page.", "type": "integer" }, "filter": { - "description": "SCIM filter expression (RFC 7644 Section 3.4.2.2). Only `displayName eq \"value\"` is supported.\n", + "description": "SCIM filter expression (RFC 7644 Section 3.4.2.2). Only `displayName eq \"value\"` is supported.", "type": "string" }, "startIndex": { "default": 1, - "description": "The 1-based index of the first result in the current set of list results. Values less than 1 are treated as 1.\n", + "description": "The 1-based index of the first result in the current set of list results. Values less than 1 are treated as 1.", "type": "integer" } }, @@ -409,10 +399,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_scim_group_list_response", @@ -477,7 +464,7 @@ export const tools: readonly Tool[] = [ { name: "scim_groups_update", title: "Replace SCIM Group", - description: "Replaces the mutable attributes of a SCIM Group (RFC 7644 Section 3.5.1), including its complete member set. Omitting `externalId` clears it, and omitting `members` replaces the member set with an empty list. For system groups (prefixed `cloudflare-v1-`), only the member set is replaced.", + description: "Replaces the mutable attributes of a SCIM Group (RFC 7644 Section 3.5.1), including its complete member set. Omitting `externalId` clears it, and omitting `members` replaces the member set with an empty list. For system groups (prefixed `cloudflare-v1-`), only the member set is replaced.\n\nPUT /accounts/{account_id}/scim/v2/Groups/{group_id}", inputSchema: { type: "object", properties: { @@ -485,14 +472,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_scim_group_replace_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "group_id": { - "$ref": "#/$defs/iam_scim_group_identifier", - "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.\n" + "description": "The group identifier for a SCIM Group resource. For system groups this is prefixed `cloudflare-v1-`; for custom user groups this is a UUID-style tag.", + "type": "string" } }, "required": [ @@ -506,10 +494,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_scim_group_identifier": iam_scim_group_identifier, "iam_scim_group_patch_member_value": iam_scim_group_patch_member_value, "iam_scim_group_replace_request": iam_scim_group_replace_request, }, diff --git a/src/generated/forge-mcp/scim/resourceTypes/tools.ts b/src/generated/forge-mcp/scim/resourceTypes/tools.ts index d8e20e30d..948c31c44 100644 --- a/src/generated/forge-mcp/scim/resourceTypes/tools.ts +++ b/src/generated/forge-mcp/scim/resourceTypes/tools.ts @@ -2,10 +2,6 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier, -} from "../../schemas.js"; import { iam_scim_error_response } from "../outputs.js"; import { iam_scim_resource_type, @@ -21,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "scim_resourceTypes_get", title: "Get SCIM Resource Type", - description: "Returns a single SCIM resource type by ID (RFC 7643 Section 6). Valid IDs are `User` and `Group`.", + description: "Returns a single SCIM resource type by ID (RFC 7643 Section 6). Valid IDs are `User` and `Group`.\n\nGET /accounts/{account_id}/scim/v2/ResourceTypes/{resource_type_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "resource_type_id": { "description": "The resource type identifier.", @@ -50,10 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_scim_resource_type", @@ -113,15 +107,16 @@ export const tools: readonly Tool[] = [ { name: "scim_resourceTypes_list", title: "List SCIM Resource Types", - description: "Returns the list of SCIM resource types supported by the Cloudflare SCIM service (RFC 7643 Section 6, RFC 7644 Section 4). Clients use this to discover available resource categories (e.g. Users, Groups) and their associated schemas. Query parameters are not supported on this endpoint.", + description: "Returns the list of SCIM resource types supported by the Cloudflare SCIM service (RFC 7643 Section 6, RFC 7644 Section 4). Clients use this to discover available resource categories (e.g. Users, Groups) and their associated schemas. Query parameters are not supported on this endpoint.\n\nGET /accounts/{account_id}/scim/v2/ResourceTypes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -133,10 +128,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_scim_resource_type_list_response", diff --git a/src/generated/forge-mcp/scim/schemas/tools.ts b/src/generated/forge-mcp/scim/schemas/tools.ts index a3040d9ba..45f29a66d 100644 --- a/src/generated/forge-mcp/scim/schemas/tools.ts +++ b/src/generated/forge-mcp/scim/schemas/tools.ts @@ -2,10 +2,6 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier, -} from "../../schemas.js"; import { iam_scim_error_response } from "../outputs.js"; import { iam_scim_schema, @@ -21,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "scim_schemas_get", title: "Get SCIM Schema", - description: "Returns a single SCIM schema definition by schema URI ID (RFC 7643 Section 7). Valid IDs are `urn:ietf:params:scim:schemas:core:2.0:User` and `urn:ietf:params:scim:schemas:core:2.0:Group`.", + description: "Returns a single SCIM schema definition by schema URI ID (RFC 7643 Section 7). Valid IDs are `urn:ietf:params:scim:schemas:core:2.0:User` and `urn:ietf:params:scim:schemas:core:2.0:Group`.\n\nGET /accounts/{account_id}/scim/v2/Schemas/{schema_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "schema_id": { "description": "The schema URI identifier.", @@ -46,10 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_scim_schema", @@ -109,15 +103,16 @@ export const tools: readonly Tool[] = [ { name: "scim_schemas_list", title: "List SCIM Schemas", - description: "Returns the list of SCIM schemas supported by the Cloudflare SCIM service (RFC 7643 Section 7, RFC 7644 Section 4). Clients use this to introspect the attributes of each resource type. Query parameters are not supported on this endpoint.", + description: "Returns the list of SCIM schemas supported by the Cloudflare SCIM service (RFC 7643 Section 7, RFC 7644 Section 4). Clients use this to introspect the attributes of each resource type. Query parameters are not supported on this endpoint.\n\nGET /accounts/{account_id}/scim/v2/Schemas", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -129,10 +124,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_scim_schema_list_response", diff --git a/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts b/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts index d589ac6c6..9b878dd20 100644 --- a/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts +++ b/src/generated/forge-mcp/scim/serviceProviderConfig/tools.ts @@ -2,10 +2,6 @@ /* eslint-disable */ import { type Tool, pathParam } from "../../_/tool.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier, -} from "../../schemas.js"; import { iam_scim_error_response } from "../outputs.js"; import { iam_scim_authentication_scheme, @@ -22,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "scim_serviceProviderConfig_get", title: "Get SCIM Service Provider Config", - description: "Returns the SCIM 2.0 Service Provider configuration (RFC 7643 Section 5). IdPs use this endpoint to auto-configure their SCIM integration with Cloudflare, discovering which optional features (patch, bulk, filter, etc.) are supported.", + description: "Returns the SCIM 2.0 Service Provider configuration (RFC 7643 Section 5). IdPs use this endpoint to auto-configure their SCIM integration with Cloudflare, discovering which optional features (patch, bulk, filter, etc.) are supported.\n\nGET /accounts/{account_id}/scim/v2/ServiceProviderConfig", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -42,10 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_scim_service_provider_config", diff --git a/src/generated/forge-mcp/scim/users/schemas.ts b/src/generated/forge-mcp/scim/users/schemas.ts index f15e75c34..7c853da0d 100644 --- a/src/generated/forge-mcp/scim/users/schemas.ts +++ b/src/generated/forge-mcp/scim/users/schemas.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `iam_scim_patch_op_request`. */ export const iam_scim_patch_op_request: JsonSchema = { - "description": "Request body for a SCIM PATCH operation on a User resource (RFC 7644 Section 3.5.2).\n", + "description": "Request body for a SCIM PATCH operation on a User resource (RFC 7644 Section 3.5.2).", "properties": { "Operations": { "description": "List of PATCH operations to apply.", @@ -38,7 +38,7 @@ export const iam_scim_patch_operation: JsonSchema = { "description": "A single PATCH operation (RFC 7644 Section 3.5.2).", "properties": { "op": { - "description": "The operation to perform. Only `replace` is currently supported; `add` and `remove` are accepted without error but have no effect. Matched case-insensitively.\n", + "description": "The operation to perform. Only `replace` is currently supported; `add` and `remove` are accepted without error but have no effect. Matched case-insensitively.", "enum": [ "add", "remove", @@ -47,11 +47,11 @@ export const iam_scim_patch_operation: JsonSchema = { "type": "string" }, "path": { - "description": "Attribute path targeted by this operation. When absent, `value` must be a singular complex attribute.\n", + "description": "Attribute path targeted by this operation. When absent, `value` must be a singular complex attribute.", "type": "string" }, "value": { - "description": "The value(s) for the operation. For `replace` without a path, this should be an object of attribute name/value pairs. For member path operations, this should be an array of member value objects.\n" + "description": "The value(s) for the operation. For `replace` without a path, this should be an object of attribute name/value pairs. For member path operations, this should be an array of member value objects." } }, "required": [ @@ -64,7 +64,7 @@ export const iam_scim_patch_operation: JsonSchema = { * The schema of `iam_scim_user_create_request`. */ export const iam_scim_user_create_request: JsonSchema = { - "description": "Request body for creating a SCIM User (POST). The `emails` field is required with a primary email matching `userName`, and `active` must be `true`.\n", + "description": "Request body for creating a SCIM User (POST). The `emails` field is required with a primary email matching `userName`, and `active` must be `true`.", "properties": { "active": { "description": "A Boolean value indicating the user's administrative status. Must be `true` for user creation.", @@ -135,14 +135,6 @@ export const iam_scim_user_email_object: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_scim_user_identifier`. - */ -export const iam_scim_user_identifier: JsonSchema = { - "description": "The user tag identifying a SCIM User resource (account member).", - "type": "string" -}; - /** * The schema of `iam_scim_user_name_object`. */ @@ -165,7 +157,7 @@ export const iam_scim_user_name_object: JsonSchema = { * The schema of `iam_scim_user_replace_request`. */ export const iam_scim_user_replace_request: JsonSchema = { - "description": "Request body for replacing a SCIM User (PUT). Only `schemas` and `userName` are required; other fields are optional.\n", + "description": "Request body for replacing a SCIM User (PUT). Only `schemas` and `userName` are required; other fields are optional.", "properties": { "active": { "description": "A Boolean value indicating the user's administrative status. Optional; if omitted, the current value is preserved. Set to `false` to deprovision the user, removing their membership from the account.", diff --git a/src/generated/forge-mcp/scim/users/tools.ts b/src/generated/forge-mcp/scim/users/tools.ts index cce48465b..75df3a973 100644 --- a/src/generated/forge-mcp/scim/users/tools.ts +++ b/src/generated/forge-mcp/scim/users/tools.ts @@ -2,10 +2,6 @@ /* eslint-disable */ import { type Tool, param, pathParam } from "../../_/tool.js"; -import { - iam_account_identifier, - iam_common_components$$schemas$$identifier, -} from "../../schemas.js"; import { iam_scim_error_response } from "../outputs.js"; import { iam_scim_user, @@ -18,7 +14,6 @@ import { iam_scim_patch_operation, iam_scim_user_create_request, iam_scim_user_email_object as iam_scim_user_email_object$, - iam_scim_user_identifier, iam_scim_user_name_object as iam_scim_user_name_object$, iam_scim_user_replace_request, } from "./schemas.js"; @@ -30,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "scim_users_create", title: "Create SCIM User", - description: "Provisions a new account member via SCIM. The `userName` field must be a valid email address and must match the primary email in `emails`. The account must be an Enterprise account with SCIM entitlements enabled.", + description: "Provisions a new account member via SCIM. The `userName` field must be a valid email address and must match the primary email in `emails`. The account must be an Enterprise account with SCIM entitlements enabled.\n\nPOST /accounts/{account_id}/scim/v2/Users", inputSchema: { type: "object", properties: { @@ -38,10 +33,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_scim_user_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -54,9 +50,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_user_create_request": iam_scim_user_create_request, "iam_scim_user_email_object": iam_scim_user_email_object$, "iam_scim_user_name_object": iam_scim_user_name_object$, @@ -120,19 +115,20 @@ export const tools: readonly Tool[] = [ { name: "scim_users_delete", title: "Delete SCIM User", - description: "Deprovisions a SCIM User by removing their membership from this account (RFC 7644 Section 3.6). This does not delete the global Cloudflare user.\n\nConfirm with the user before calling this tool. Are you sure you want to remove this user from the account?", + description: "Deprovisions a SCIM User by removing their membership from this account (RFC 7644 Section 3.6). This does not delete the global Cloudflare user.\n\nConfirm with the user before calling this tool. Are you sure you want to remove this user from the account?\n\nDELETE /accounts/{account_id}/scim/v2/Users/{user_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/iam_scim_user_identifier", - "description": "The user tag identifying a SCIM User resource (account member)." + "description": "The user tag identifying a SCIM User resource (account member).", + "type": "string" } }, "required": [ @@ -145,11 +141,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_scim_user_identifier": iam_scim_user_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -195,7 +187,7 @@ export const tools: readonly Tool[] = [ { name: "scim_users_edit", title: "Patch SCIM User", - description: "Partially updates a SCIM User via PATCH operations (RFC 7644 Section 3.5.2). Supports updating `userName`, `name.givenName`, `name.familyName`, and `active`. Setting `active: false` deprovisions the user (removes them from the account). For IdP compatibility, `emails[type eq \"work\"].value` is also accepted as an alias for `userName`.", + description: "Partially updates a SCIM User via PATCH operations (RFC 7644 Section 3.5.2). Supports updating `userName`, `name.givenName`, `name.familyName`, and `active`. Setting `active: false` deprovisions the user (removes them from the account). For IdP compatibility, `emails[type eq \"work\"].value` is also accepted as an alias for `userName`.\n\nPATCH /accounts/{account_id}/scim/v2/Users/{user_id}", inputSchema: { type: "object", properties: { @@ -203,14 +195,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_scim_patch_op_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/iam_scim_user_identifier", - "description": "The user tag identifying a SCIM User resource (account member)." + "description": "The user tag identifying a SCIM User resource (account member).", + "type": "string" } }, "required": [ @@ -224,12 +217,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_patch_op_request": iam_scim_patch_op_request, "iam_scim_patch_operation": iam_scim_patch_operation, - "iam_scim_user_identifier": iam_scim_user_identifier, }, }, outputSchema: { @@ -290,19 +281,20 @@ export const tools: readonly Tool[] = [ { name: "scim_users_get", title: "Get SCIM User", - description: "Retrieves a single account member as a SCIM User resource by user tag.", + description: "Retrieves a single account member as a SCIM User resource by user tag.\n\nGET /accounts/{account_id}/scim/v2/Users/{user_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/iam_scim_user_identifier", - "description": "The user tag identifying a SCIM User resource (account member)." + "description": "The user tag identifying a SCIM User resource (account member).", + "type": "string" } }, "required": [ @@ -315,11 +307,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_scim_user_identifier": iam_scim_user_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_scim_user", @@ -379,15 +367,16 @@ export const tools: readonly Tool[] = [ { name: "scim_users_list", title: "List SCIM Users", - description: "Lists account members as SCIM User resources. Supports optional filtering by `userName` (email) using the SCIM filter syntax (e.g. `userName eq \"user@example.com\"`). Pagination is controlled via `startIndex` and `count` query parameters per RFC 7644 Section 3.4.2.4.", + description: "Lists account members as SCIM User resources. Supports optional filtering by `userName` (email) using the SCIM filter syntax (e.g. `userName eq \"user@example.com\"`). Pagination is controlled via `startIndex` and `count` query parameters per RFC 7644 Section 3.4.2.4.\n\nGET /accounts/{account_id}/scim/v2/Users", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" } }, "required": [ @@ -396,18 +385,19 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "count": { - "description": "Specifies the desired maximum number of query results per page.\n", + "description": "Specifies the desired maximum number of query results per page.", "type": "integer" }, "filter": { - "description": "SCIM filter expression (RFC 7644 Section 3.4.2.2). Only `userName eq \"value\"` is supported.\n", + "description": "SCIM filter expression (RFC 7644 Section 3.4.2.2). Only `userName eq \"value\"` is supported.", "type": "string" }, "startIndex": { "default": 1, - "description": "The 1-based index of the first result in the current set of list results. Values less than 1 are treated as 1.\n", + "description": "The 1-based index of the first result in the current set of list results. Values less than 1 are treated as 1.", "type": "integer" } }, @@ -417,10 +407,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_scim_user_list_response", @@ -487,7 +474,7 @@ export const tools: readonly Tool[] = [ { name: "scim_users_update", title: "Replace SCIM User", - description: "Replaces a SCIM User resource (RFC 7644 Section 3.5.1). Fully replaces the mutable attributes of the user. Supports updating `userName`, `name`, `emails`, and `active`.", + description: "Replaces a SCIM User resource (RFC 7644 Section 3.5.1). Fully replaces the mutable attributes of the user. Supports updating `userName`, `name`, `emails`, and `active`.\n\nPUT /accounts/{account_id}/scim/v2/Users/{user_id}", inputSchema: { type: "object", properties: { @@ -495,14 +482,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_scim_user_replace_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/iam_account_identifier", - "description": "Account identifier tag." + "description": "Account identifier tag.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/iam_scim_user_identifier", - "description": "The user tag identifying a SCIM User resource (account member)." + "description": "The user tag identifying a SCIM User resource (account member).", + "type": "string" } }, "required": [ @@ -516,11 +504,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "iam_account_identifier": iam_account_identifier, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_scim_user_email_object": iam_scim_user_email_object$, - "iam_scim_user_identifier": iam_scim_user_identifier, "iam_scim_user_name_object": iam_scim_user_name_object$, "iam_scim_user_replace_request": iam_scim_user_replace_request, }, diff --git a/src/generated/forge-mcp/secretsStore/outputs.ts b/src/generated/forge-mcp/secretsStore/outputs.ts index 6da2f81cd..8112556b6 100644 --- a/src/generated/forge-mcp/secretsStore/outputs.ts +++ b/src/generated/forge-mcp/secretsStore/outputs.ts @@ -95,14 +95,6 @@ export const secrets$$store_api$$response$$common$$failure: JsonSchema = { "type": "object" }; -/** - * The schema of `secrets-store_created` in responses. - */ -export const secrets$$store_created: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `secrets-store_messages` in responses. */ @@ -135,18 +127,3 @@ export const secrets$$store_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `secrets-store_modified` in responses. - */ -export const secrets$$store_modified: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `secrets-store_store_identifier` in responses. - */ -export const secrets$$store_store_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/secretsStore/quota/outputs.ts b/src/generated/forge-mcp/secretsStore/quota/outputs.ts index 7311d22c2..2c7aafa09 100644 --- a/src/generated/forge-mcp/secretsStore/quota/outputs.ts +++ b/src/generated/forge-mcp/secretsStore/quota/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `secrets-store_quota` in responses. - */ -export const secrets$$store_quota: JsonSchema = { - "type": "number" -}; - /** * The schema of `secrets-store_quota_response` in responses. */ @@ -44,23 +37,16 @@ export const secrets$$store_secretsUsageObject: JsonSchema = { "type": "object" }; -/** - * The schema of `secrets-store_usage` in responses. - */ -export const secrets$$store_usage: JsonSchema = { - "type": "number" -}; - /** * The schema of `secrets-store_usageQuotaObject` in responses. */ export const secrets$$store_usageQuotaObject: JsonSchema = { "properties": { "quota": { - "$ref": "#/$defs/secrets-store_quota" + "type": "number" }, "usage": { - "$ref": "#/$defs/secrets-store_usage" + "type": "number" } }, "required": [ diff --git a/src/generated/forge-mcp/secretsStore/quota/tools.ts b/src/generated/forge-mcp/secretsStore/quota/tools.ts index 327e9ce97..2a64f3981 100644 --- a/src/generated/forge-mcp/secretsStore/quota/tools.ts +++ b/src/generated/forge-mcp/secretsStore/quota/tools.ts @@ -9,10 +9,8 @@ import { secrets$$store_messages, } from "../outputs.js"; import { - secrets$$store_quota, secrets$$store_quota_response, secrets$$store_secretsUsageObject, - secrets$$store_usage, secrets$$store_usageQuotaObject, } from "./outputs.js"; @@ -23,11 +21,12 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_quota_get", title: "View secret usage", - description: "Lists the number of secrets used in the account.\n\nThis method is beta.", + description: "Lists the number of secrets used in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/secrets_store/quota", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -43,6 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secrets-store_quota_response", @@ -50,10 +50,8 @@ export const tools: readonly Tool[] = [ "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, "secrets-store_api-response-common": secrets$$store_api$$response$$common, "secrets-store_messages": secrets$$store_messages, - "secrets-store_quota": secrets$$store_quota, "secrets-store_quota_response": secrets$$store_quota_response, "secrets-store_secretsUsageObject": secrets$$store_secretsUsageObject, - "secrets-store_usage": secrets$$store_usage, "secrets-store_usageQuotaObject": secrets$$store_usageQuotaObject, }, }, @@ -93,10 +91,8 @@ export const tools: readonly Tool[] = [ "secrets-store_api-response-common": secrets$$store_api$$response$$common, "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, "secrets-store_messages": secrets$$store_messages, - "secrets-store_quota": secrets$$store_quota, "secrets-store_quota_response": secrets$$store_quota_response, "secrets-store_secretsUsageObject": secrets$$store_secretsUsageObject, - "secrets-store_usage": secrets$$store_usage, "secrets-store_usageQuotaObject": secrets$$store_usageQuotaObject, }, }, diff --git a/src/generated/forge-mcp/secretsStore/secrets/outputs.ts b/src/generated/forge-mcp/secretsStore/secrets/outputs.ts index d4507a267..7a3c682ff 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/outputs.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/outputs.ts @@ -3,18 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `secrets-store_SecretStatus` in responses. - */ -export const secrets$$store_SecretStatus: JsonSchema = { - "enum": [ - "pending", - "active", - "deleted" - ], - "type": "string" -}; - /** * The schema of `secrets-store_api-response-single` in responses. */ @@ -41,13 +29,6 @@ export const secrets$$store_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `secrets-store_comment` in responses. - */ -export const secrets$$store_comment: JsonSchema = { - "type": "string" -}; - /** * The schema of `secrets-store_delete_response` in responses. */ @@ -74,13 +55,6 @@ export const secrets$$store_delete_response: JsonSchema = { ] }; -/** - * The schema of `secrets-store_identifier` in responses. - */ -export const secrets$$store_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `secrets-store_inheritable_scopes` in responses. */ @@ -112,28 +86,35 @@ export const secrets$$store_inheritable_scopes: JsonSchema = { export const secrets$$store_secretObject: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/secrets-store_comment" + "type": "string" }, "created": { - "$ref": "#/$defs/secrets-store_created" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/secrets-store_identifier" + "type": "string" }, "modified": { - "$ref": "#/$defs/secrets-store_modified" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/secrets-store_secret_name" + "type": "string" }, "scopes": { "$ref": "#/$defs/secrets-store_inheritable_scopes" }, "status": { - "$ref": "#/$defs/secrets-store_SecretStatus" + "enum": [ + "pending", + "active", + "deleted" + ], + "type": "string" }, "store_id": { - "$ref": "#/$defs/secrets-store_store_identifier" + "type": "string" } }, "required": [ @@ -147,13 +128,6 @@ export const secrets$$store_secretObject: JsonSchema = { "type": "object" }; -/** - * The schema of `secrets-store_secret_name` in responses. - */ -export const secrets$$store_secret_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `secrets-store_secret_response` in responses. */ diff --git a/src/generated/forge-mcp/secretsStore/secrets/schemas.ts b/src/generated/forge-mcp/secretsStore/secrets/schemas.ts index 5ffc40b52..c99dd6673 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/schemas.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/schemas.ts @@ -3,34 +3,26 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `secrets-store_comment`. - */ -export const secrets$$store_comment: JsonSchema = { - "description": "Freeform text describing the secret.", - "type": "string" -}; - /** * The schema of `secrets-store_createSecretObject`. */ export const secrets$$store_createSecretObject: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/secrets-store_comment", - "description": "Freeform text describing the secret." + "description": "Freeform text describing the secret.", + "type": "string" }, "name": { - "$ref": "#/$defs/secrets-store_secret_name", - "description": "The name of the secret." + "description": "The name of the secret.", + "type": "string" }, "scopes": { "$ref": "#/$defs/secrets-store_scopes", "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", - "description": "The value of the secret. Maximum 64 KiB (65,536 bytes). Note that this is 'write only' - the API never returns this value; it exists only to create or modify secrets." + "description": "The value of the secret. Maximum 64 KiB (65,536 bytes). Note that this is 'write only' - the API never returns this value; it exists only to create or modify secrets.", + "type": "string" } }, "required": [ @@ -49,7 +41,8 @@ export const secrets$$store_deleteSecretsRequest: JsonSchema = { "ids": { "description": "List of secret identifier tags to delete.", "items": { - "$ref": "#/$defs/secrets-store_identifier" + "description": "Secret identifier tag.", + "type": "string" }, "type": "array" } @@ -66,12 +59,12 @@ export const secrets$$store_deleteSecretsRequest: JsonSchema = { export const secrets$$store_duplicateSecretObject: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/secrets-store_comment", - "description": "Freeform text describing the secret." + "description": "Freeform text describing the secret.", + "type": "string" }, "name": { - "$ref": "#/$defs/secrets-store_secret_name", - "description": "The name of the secret." + "description": "The name of the secret.", + "type": "string" }, "scopes": { "$ref": "#/$defs/secrets-store_scopes", @@ -84,14 +77,6 @@ export const secrets$$store_duplicateSecretObject: JsonSchema = { "type": "object" }; -/** - * The schema of `secrets-store_identifier`. - */ -export const secrets$$store_identifier: JsonSchema = { - "description": "Secret identifier tag.", - "type": "string" -}; - /** * The schema of `secrets-store_inheritable_scopes`. */ @@ -124,16 +109,16 @@ export const secrets$$store_inheritable_scopes: JsonSchema = { export const secrets$$store_patchSecretObject: JsonSchema = { "properties": { "comment": { - "$ref": "#/$defs/secrets-store_comment", - "description": "Freeform text describing the secret." + "description": "Freeform text describing the secret.", + "type": "string" }, "scopes": { "$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", - "description": "The value of the secret. Maximum 64 KiB (65,536 bytes). Note that this is 'write only' - the API never returns this value; it exists only to create or modify secrets." + "description": "The value of the secret. Maximum 64 KiB (65,536 bytes). Note that this is 'write only' - the API never returns this value; it exists only to create or modify secrets.", + "type": "string" } }, "type": "object" @@ -157,19 +142,3 @@ export const secrets$$store_scopes: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `secrets-store_secret_name`. - */ -export const secrets$$store_secret_name: JsonSchema = { - "description": "The name of the secret.", - "type": "string" -}; - -/** - * The schema of `secrets-store_value`. - */ -export const secrets$$store_value: JsonSchema = { - "description": "The value of the secret. Maximum 64 KiB (65,536 bytes). Note that this is 'write only' - the API never returns this value; it exists only to create or modify secrets.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/secretsStore/secrets/tools.ts b/src/generated/forge-mcp/secretsStore/secrets/tools.ts index c65c79eef..77e33b95d 100644 --- a/src/generated/forge-mcp/secretsStore/secrets/tools.ts +++ b/src/generated/forge-mcp/secretsStore/secrets/tools.ts @@ -6,34 +6,23 @@ import { secrets$$store_api$$response$$collection, secrets$$store_api$$response$$common, secrets$$store_api$$response$$common$$failure, - secrets$$store_created, secrets$$store_messages, - secrets$$store_modified, - secrets$$store_store_identifier, } from "../outputs.js"; import { - secrets$$store_SecretStatus, secrets$$store_api$$response$$single, - secrets$$store_comment, secrets$$store_delete_response, - secrets$$store_identifier, secrets$$store_inheritable_scopes, secrets$$store_secretObject, - secrets$$store_secret_name, secrets$$store_secret_response, secrets$$store_secrets_response_collection, } from "./outputs.js"; import { - secrets$$store_comment as secrets$$store_comment$, secrets$$store_createSecretObject, secrets$$store_deleteSecretsRequest, secrets$$store_duplicateSecretObject, - secrets$$store_identifier as secrets$$store_identifier$, secrets$$store_inheritable_scopes as secrets$$store_inheritable_scopes$, secrets$$store_patchSecretObject, secrets$$store_scopes, - secrets$$store_secret_name as secrets$$store_secret_name$, - secrets$$store_value, } from "./schemas.js"; /** @@ -43,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_secrets_bulkDelete", title: "Delete secrets", - description: "Deletes one or more secrets.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the specified secrets and cannot be undone.", + description: "Deletes one or more secrets.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes the specified secrets and cannot be undone.\n\nDELETE /accounts/{account_id}/secrets_store/stores/{store_id}/secrets", inputSchema: { type: "object", properties: { @@ -51,6 +40,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secrets-store_deleteSecretsRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -72,9 +62,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "secrets-store_deleteSecretsRequest": secrets$$store_deleteSecretsRequest, - "secrets-store_identifier": secrets$$store_identifier$, }, }, outputSchema: { @@ -130,7 +120,7 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_secrets_create", title: "Create a secret", - description: "Creates a secret in the account.\n\nThis method is beta.", + description: "Creates a secret in the account.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/secrets_store/stores/{store_id}/secrets", inputSchema: { type: "object", properties: { @@ -141,6 +131,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -162,30 +153,21 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secrets-store_comment": secrets$$store_comment$, "secrets-store_createSecretObject": secrets$$store_createSecretObject, "secrets-store_scopes": secrets$$store_scopes, - "secrets-store_secret_name": secrets$$store_secret_name$, - "secrets-store_value": secrets$$store_value, }, }, outputSchema: { "$ref": "#/$defs/secrets-store_secrets_response_collection", $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, "secrets-store_api-response-common": secrets$$store_api$$response$$common, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secrets_response_collection": secrets$$store_secrets_response_collection, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -219,20 +201,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, "secrets-store_api-response-common": secrets$$store_api$$response$$common, "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secrets_response_collection": secrets$$store_secrets_response_collection, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ @@ -243,11 +218,12 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_secrets_delete", title: "Delete a secret", - description: "Deletes a single secret.\n\nThis method is beta.", + description: "Deletes a single secret.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/secrets_store/stores/{store_id}/secrets/{secret_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -273,6 +249,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secrets-store_delete_response", @@ -326,7 +303,7 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_secrets_duplicate", title: "Duplicate Secret", - description: "Creates a duplicate of the secret, keeping the value.\n\nThis method is beta.", + description: "Creates a duplicate of the secret, keeping the value.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/secrets_store/stores/{store_id}/secrets/{secret_id}/duplicate", inputSchema: { type: "object", properties: { @@ -334,6 +311,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secrets-store_duplicateSecretObject" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -360,28 +338,20 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secrets-store_comment": secrets$$store_comment$, "secrets-store_duplicateSecretObject": secrets$$store_duplicateSecretObject, "secrets-store_scopes": secrets$$store_scopes, - "secrets-store_secret_name": secrets$$store_secret_name$, }, }, outputSchema: { "$ref": "#/$defs/secrets-store_secret_response", $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-single": secrets$$store_api$$response$$single, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secret_response": secrets$$store_secret_response, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -415,19 +385,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, "secrets-store_api-response-single": secrets$$store_api$$response$$single, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secret_response": secrets$$store_secret_response, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ @@ -438,7 +401,7 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_secrets_edit", title: "Patch a secret", - description: "Updates a single secret.\n\nThis method is beta.", + description: "Updates a single secret.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/secrets_store/stores/{store_id}/secrets/{secret_id}", inputSchema: { type: "object", properties: { @@ -446,6 +409,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/secrets-store_patchSecretObject" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -472,28 +436,20 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "secrets-store_comment": secrets$$store_comment$, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes$, "secrets-store_patchSecretObject": secrets$$store_patchSecretObject, - "secrets-store_value": secrets$$store_value, }, }, outputSchema: { "$ref": "#/$defs/secrets-store_secret_response", $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-single": secrets$$store_api$$response$$single, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secret_response": secrets$$store_secret_response, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -527,19 +483,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, "secrets-store_api-response-single": secrets$$store_api$$response$$single, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secret_response": secrets$$store_secret_response, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ @@ -550,11 +499,12 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_secrets_get", title: "Get a secret by ID", - description: "Returns details of a single secret.\n\nThis method is beta.", + description: "Returns details of a single secret.\n\nThis method is beta.\n\nGET /accounts/{account_id}/secrets_store/stores/{store_id}/secrets/{secret_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -580,22 +530,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secrets-store_secret_response", $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-single": secrets$$store_api$$response$$single, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secret_response": secrets$$store_secret_response, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -630,19 +574,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, "secrets-store_api-response-single": secrets$$store_api$$response$$single, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secret_response": secrets$$store_secret_response, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ @@ -652,11 +589,12 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_secrets_list", title: "List store secrets", - description: "Lists all store secrets.\n\nThis method is beta.", + description: "Lists all store secrets.\n\nThis method is beta.\n\nGET /accounts/{account_id}/secrets_store/stores/{store_id}/secrets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -674,6 +612,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "desc", @@ -730,23 +669,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secrets-store_secrets_response_collection", $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, "secrets-store_api-response-common": secrets$$store_api$$response$$common, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secrets_response_collection": secrets$$store_secrets_response_collection, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, annotations: { @@ -781,20 +714,13 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_SecretStatus": secrets$$store_SecretStatus, "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, "secrets-store_api-response-common": secrets$$store_api$$response$$common, "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, - "secrets-store_comment": secrets$$store_comment, - "secrets-store_created": secrets$$store_created, - "secrets-store_identifier": secrets$$store_identifier, "secrets-store_inheritable_scopes": secrets$$store_inheritable_scopes, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_secretObject": secrets$$store_secretObject, - "secrets-store_secret_name": secrets$$store_secret_name, "secrets-store_secrets_response_collection": secrets$$store_secrets_response_collection, - "secrets-store_store_identifier": secrets$$store_store_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/secretsStore/stores/outputs.ts b/src/generated/forge-mcp/secretsStore/stores/outputs.ts index 533a13951..82a136391 100644 --- a/src/generated/forge-mcp/secretsStore/stores/outputs.ts +++ b/src/generated/forge-mcp/secretsStore/stores/outputs.ts @@ -3,32 +3,27 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `secrets-store_account_identifier` in responses. - */ -export const secrets$$store_account_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `secrets-store_storeObject` in responses. */ export const secrets$$store_storeObject: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/secrets-store_account_identifier" + "type": "string" }, "created": { - "$ref": "#/$defs/secrets-store_created" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/secrets-store_store_identifier" + "type": "string" }, "modified": { - "$ref": "#/$defs/secrets-store_modified" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/secrets-store_store_name" + "type": "string" } }, "required": [ @@ -40,13 +35,6 @@ export const secrets$$store_storeObject: JsonSchema = { "type": "object" }; -/** - * The schema of `secrets-store_store_name` in responses. - */ -export const secrets$$store_store_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `secrets-store_store_response` in responses. */ diff --git a/src/generated/forge-mcp/secretsStore/stores/tools.ts b/src/generated/forge-mcp/secretsStore/stores/tools.ts index 9807ea3cc..5fcd07c52 100644 --- a/src/generated/forge-mcp/secretsStore/stores/tools.ts +++ b/src/generated/forge-mcp/secretsStore/stores/tools.ts @@ -6,15 +6,10 @@ import { secrets$$store_api$$response$$collection, secrets$$store_api$$response$$common, secrets$$store_api$$response$$common$$failure, - secrets$$store_created, secrets$$store_messages, - secrets$$store_modified, - secrets$$store_store_identifier, } from "../outputs.js"; import { - secrets$$store_account_identifier, secrets$$store_storeObject, - secrets$$store_store_name, secrets$$store_store_response, secrets$$store_stores_response_collection, } from "./outputs.js"; @@ -26,11 +21,12 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_stores_get", title: "Get a store by ID", - description: "Returns details of a single store.\n\nThis method is beta.", + description: "Returns details of a single store.\n\nThis method is beta.\n\nGET /accounts/{account_id}/secrets_store/stores/{store_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -51,19 +47,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secrets-store_store_response", $defs: { - "secrets-store_account_identifier": secrets$$store_account_identifier, "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, "secrets-store_api-response-common": secrets$$store_api$$response$$common, - "secrets-store_created": secrets$$store_created, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_storeObject": secrets$$store_storeObject, - "secrets-store_store_identifier": secrets$$store_store_identifier, - "secrets-store_store_name": secrets$$store_store_name, "secrets-store_store_response": secrets$$store_store_response, }, }, @@ -99,16 +91,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_account_identifier": secrets$$store_account_identifier, "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, "secrets-store_api-response-common": secrets$$store_api$$response$$common, "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, - "secrets-store_created": secrets$$store_created, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_storeObject": secrets$$store_storeObject, - "secrets-store_store_identifier": secrets$$store_store_identifier, - "secrets-store_store_name": secrets$$store_store_name, "secrets-store_store_response": secrets$$store_store_response, }, }, @@ -119,11 +106,12 @@ export const tools: readonly Tool[] = [ { name: "secretsStore_stores_list", title: "List account stores", - description: "Lists all the stores in an account.\n\nThis method is beta.", + description: "Lists all the stores in an account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/secrets_store/stores", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account identifier.", @@ -136,6 +124,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "desc", @@ -171,19 +160,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/secrets-store_stores_response_collection", $defs: { - "secrets-store_account_identifier": secrets$$store_account_identifier, "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, "secrets-store_api-response-common": secrets$$store_api$$response$$common, - "secrets-store_created": secrets$$store_created, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_storeObject": secrets$$store_storeObject, - "secrets-store_store_identifier": secrets$$store_store_identifier, - "secrets-store_store_name": secrets$$store_store_name, "secrets-store_stores_response_collection": secrets$$store_stores_response_collection, }, }, @@ -219,16 +204,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "secrets-store_account_identifier": secrets$$store_account_identifier, "secrets-store_api-response-collection": secrets$$store_api$$response$$collection, "secrets-store_api-response-common": secrets$$store_api$$response$$common, "secrets-store_api-response-common-failure": secrets$$store_api$$response$$common$$failure, - "secrets-store_created": secrets$$store_created, "secrets-store_messages": secrets$$store_messages, - "secrets-store_modified": secrets$$store_modified, "secrets-store_storeObject": secrets$$store_storeObject, - "secrets-store_store_identifier": secrets$$store_store_identifier, - "secrets-store_store_name": secrets$$store_store_name, "secrets-store_stores_response_collection": secrets$$store_stores_response_collection, }, }, diff --git a/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts b/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts index c4e6e2bc5..4247d5966 100644 --- a/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts +++ b/src/generated/forge-mcp/securityInsights/auditLogs/tools.ts @@ -7,7 +7,6 @@ import { security$$center_api$$response$$common$$failure, security$$center_messages, } from "../../outputs.js"; -import { security$$center_identifier } from "../../schemas.js"; import { security$$center_auditLog, security$$center_auditLogResponse, @@ -20,11 +19,12 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_auditLogs_get", title: "Retrieves Issue Audit Log", - description: "Lists audit log entries for a specific Security Center insight, showing changes to its status and classification over time.", + description: "Lists audit log entries for a specific Security Center insight, showing changes to its status and classification over time.\n\nGET /{account_or_zone}/{account_or_zone_id}/security-center/insights/{issue_id}/audit-log", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -35,8 +35,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "issue_id": { "type": "string" @@ -50,6 +50,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "before": { "description": "Filter entries changed before this timestamp (RFC 3339).", @@ -98,9 +99,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/security-center_auditLogResponse", @@ -153,11 +152,12 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_auditLogs_list", title: "Retrieves account or zone Audit Log", - description: "Lists audit log entries for all Security Center insights in the account or zone, showing changes to insight status and classification.", + description: "Lists audit log entries for all Security Center insights in the account or zone, showing changes to insight status and classification.\n\nGET /{account_or_zone}/{account_or_zone_id}/security-center/insights/audit-log", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -168,8 +168,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -179,6 +179,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "before": { "description": "Filter entries changed before this timestamp (RFC 3339).", @@ -227,9 +228,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/security-center_auditLogResponse", diff --git a/src/generated/forge-mcp/securityInsights/context/tools.ts b/src/generated/forge-mcp/securityInsights/context/tools.ts index 4a7e8f238..b9990f7c9 100644 --- a/src/generated/forge-mcp/securityInsights/context/tools.ts +++ b/src/generated/forge-mcp/securityInsights/context/tools.ts @@ -7,7 +7,6 @@ import { security$$center_api$$response$$common$$failure, security$$center_messages, } from "../../outputs.js"; -import { security$$center_identifier } from "../../schemas.js"; /** * The tools of `securityInsights.context`. @@ -16,15 +15,16 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_context_get", title: "Retrieves Security Center Insight Context", - description: "Returns the full context payload for an insight. This endpoint is used for insights with large payloads that are not included inline in the list response.", + description: "Returns the full context payload for an insight. This endpoint is used for insights with large payloads that are not included inline in the list response.\n\nGET /accounts/{account_id}/security-center/insights/{issue_id}/context", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "issue_id": { "type": "string" @@ -40,9 +40,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/securityInsights/count/tools.ts b/src/generated/forge-mcp/securityInsights/count/tools.ts index 27010037c..7ad6cab2e 100644 --- a/src/generated/forge-mcp/securityInsights/count/tools.ts +++ b/src/generated/forge-mcp/securityInsights/count/tools.ts @@ -9,17 +9,11 @@ import { security$$center_valueCountsResponse, } from "../../outputs.js"; import { - security$$center_dismissed, - security$$center_identifier, - security$$center_issueClass, security$$center_issueClasses, - security$$center_issueType, security$$center_issueTypes, security$$center_products, security$$center_severityQueryParam, - security$$center_source, security$$center_sources, - security$$center_subject, security$$center_subjects, } from "../../schemas.js"; import { security$$center_partnerInsightCountResponse } from "./outputs.js"; @@ -31,11 +25,12 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_count_byClass", title: "Retrieves Security Center Insight Counts by Class", - description: "Retrieves Security Center insight counts aggregated by classification class.", + description: "Retrieves Security Center insight counts aggregated by classification class.\n\nGET /{account_or_zone}/{account_or_zone_id}/security-center/insights/class", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -46,8 +41,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -57,9 +52,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dismissed": { - "$ref": "#/$defs/security-center_dismissed" + "type": "boolean" }, "issue_class": { "$ref": "#/$defs/security-center_issueClasses" @@ -101,18 +97,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "security-center_dismissed": security$$center_dismissed, - "security-center_identifier": security$$center_identifier, - "security-center_issueClass": security$$center_issueClass, "security-center_issueClasses": security$$center_issueClasses, - "security-center_issueType": security$$center_issueType, "security-center_issueTypes": security$$center_issueTypes, "security-center_products": security$$center_products, "security-center_severityQueryParam": security$$center_severityQueryParam, - "security-center_source": security$$center_source, "security-center_sources": security$$center_sources, - "security-center_subject": security$$center_subject, "security-center_subjects": security$$center_subjects, }, }, @@ -170,11 +161,12 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_count_byPartner", title: "Retrieves a Partner Security Center Insight Count", - description: "Retrieves the uncapped count of active, non-dismissed, unclassified RiskRecon insights for the account or zone.\n\nThis method is beta.", + description: "Retrieves the uncapped count of active, non-dismissed, unclassified RiskRecon insights for the account or zone.\n\nThis method is beta.\n\nGET /{account_or_zone}/{account_or_zone_id}/security-center/insights/partner-count", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -185,8 +177,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -196,6 +188,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "source": { "enum": [ @@ -214,9 +207,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/security-center_partnerInsightCountResponse", @@ -261,11 +252,12 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_count_bySeverity", title: "Retrieves Security Center Insight Counts by Severity", - description: "Retrieves Security Center insight counts aggregated by severity level (critical, high, medium, low).", + description: "Retrieves Security Center insight counts aggregated by severity level (critical, high, medium, low).\n\nGET /{account_or_zone}/{account_or_zone_id}/security-center/insights/severity", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -276,8 +268,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -287,9 +279,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dismissed": { - "$ref": "#/$defs/security-center_dismissed" + "type": "boolean" }, "issue_class": { "$ref": "#/$defs/security-center_issueClasses" @@ -331,18 +324,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "security-center_dismissed": security$$center_dismissed, - "security-center_identifier": security$$center_identifier, - "security-center_issueClass": security$$center_issueClass, "security-center_issueClasses": security$$center_issueClasses, - "security-center_issueType": security$$center_issueType, "security-center_issueTypes": security$$center_issueTypes, "security-center_products": security$$center_products, "security-center_severityQueryParam": security$$center_severityQueryParam, - "security-center_source": security$$center_source, "security-center_sources": security$$center_sources, - "security-center_subject": security$$center_subject, "security-center_subjects": security$$center_subjects, }, }, @@ -400,11 +388,12 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_count_byType", title: "Retrieves Security Center Insight Counts by Type", - description: "Retrieves Security Center insight counts aggregated by insight type.", + description: "Retrieves Security Center insight counts aggregated by insight type.\n\nGET /{account_or_zone}/{account_or_zone_id}/security-center/insights/type", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -415,8 +404,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -426,9 +415,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dismissed": { - "$ref": "#/$defs/security-center_dismissed" + "type": "boolean" }, "issue_class": { "$ref": "#/$defs/security-center_issueClasses" @@ -470,18 +460,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "security-center_dismissed": security$$center_dismissed, - "security-center_identifier": security$$center_identifier, - "security-center_issueClass": security$$center_issueClass, "security-center_issueClasses": security$$center_issueClasses, - "security-center_issueType": security$$center_issueType, "security-center_issueTypes": security$$center_issueTypes, "security-center_products": security$$center_products, "security-center_severityQueryParam": security$$center_severityQueryParam, - "security-center_source": security$$center_source, "security-center_sources": security$$center_sources, - "security-center_subject": security$$center_subject, "security-center_subjects": security$$center_subjects, }, }, diff --git a/src/generated/forge-mcp/securityInsights/partners/outputs.ts b/src/generated/forge-mcp/securityInsights/partners/outputs.ts index 9f7776826..230c6ee8b 100644 --- a/src/generated/forge-mcp/securityInsights/partners/outputs.ts +++ b/src/generated/forge-mcp/securityInsights/partners/outputs.ts @@ -25,17 +25,6 @@ export const security$$center_partnerAssetResultInfo: JsonSchema = { "type": "object" }; -/** - * The schema of `security-center_partnerEntitlement` in responses. - */ -export const security$$center_partnerEntitlement: JsonSchema = { - "enum": [ - "baseline", - "premium" - ], - "type": "string" -}; - /** * The schema of `security-center_shadowHost` in responses. */ @@ -97,7 +86,11 @@ export const security$$center_shadowHostsResponse: JsonSchema = { "type": "string" }, "entitlement": { - "$ref": "#/$defs/security-center_partnerEntitlement" + "enum": [ + "baseline", + "premium" + ], + "type": "string" }, "items": { "items": { diff --git a/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts b/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts index 5c7bf2f1f..89099d1b4 100644 --- a/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/settings/tools.ts @@ -7,7 +7,6 @@ import { security$$center_api$$response$$common$$failure, security$$center_messages, } from "../../../outputs.js"; -import { security$$center_identifier } from "../../../schemas.js"; import { security$$center_partnerSettings, security$$center_partnerSettingsGetResponse, @@ -22,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_partners_settings_get", title: "Retrieves Partner Integration Settings", - description: "Returns whether the account has enabled the selected partner integration and, if enabled, whether the account has been matched with the partner. An integration that has not been configured is returned as disabled.\n\nThis method is beta.", + description: "Returns whether the account has enabled the selected partner integration and, if enabled, whether the account has been matched with the partner. An integration that has not been configured is returned as disabled.\n\nThis method is beta.\n\nGET /accounts/{account_id}/security-center/partners/{partner}/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "partner": { "description": "The partner integration identifier.", @@ -50,9 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/security-center_partnerSettingsGetResponse", @@ -94,7 +92,7 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_partners_settings_update", title: "Updates Partner Integration Settings", - description: "Enables or disables the selected partner integration for the account. Enabling the integration for the first time also schedules an account scan for that partner.\n\nThis method is beta.", + description: "Enables or disables the selected partner integration for the account. Enabling the integration for the first time also schedules an account scan for that partner.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/security-center/partners/{partner}/settings", inputSchema: { type: "object", properties: { @@ -102,10 +100,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/security-center_partnerSettings" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "partner": { "description": "The partner integration identifier.", @@ -126,8 +125,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "security-center_identifier": security$$center_identifier, "security-center_partnerSettings": security$$center_partnerSettings$, }, }, diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts b/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts index 40ff539a9..911a7d9bb 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowHosts/tools.ts @@ -7,10 +7,8 @@ import { security$$center_api$$response$$common$$failure, security$$center_messages, } from "../../../outputs.js"; -import { security$$center_identifier } from "../../../schemas.js"; import { security$$center_partnerAssetResultInfo, - security$$center_partnerEntitlement, security$$center_shadowHost, security$$center_shadowHostsResponse, } from "../outputs.js"; @@ -22,11 +20,12 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_partners_shadowHosts_list", title: "Lists Partner-Discovered Shadow Hosts for a Zone", - description: "Lists partner-discovered hosts beneath the zone that are not in the account.\n\nThis method is beta.", + description: "Lists partner-discovered hosts beneath the zone that are not in the account.\n\nThis method is beta.\n\nGET /zones/{zone_id}/security-center/partners/{partner}/shadow-hosts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "partner": { "description": "The partner integration identifier.", @@ -36,8 +35,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -47,6 +46,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque cursor from the previous response's `result_info.cursor`. Omit for the first page.", @@ -64,9 +64,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/security-center_shadowHostsResponse", @@ -74,7 +72,6 @@ export const tools: readonly Tool[] = [ "security-center_api-response-common": security$$center_api$$response$$common, "security-center_messages": security$$center_messages, "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, - "security-center_partnerEntitlement": security$$center_partnerEntitlement, "security-center_shadowHost": security$$center_shadowHost, "security-center_shadowHostsResponse": security$$center_shadowHostsResponse, }, @@ -108,7 +105,6 @@ export const tools: readonly Tool[] = [ "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, "security-center_messages": security$$center_messages, "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, - "security-center_partnerEntitlement": security$$center_partnerEntitlement, "security-center_shadowHost": security$$center_shadowHost, "security-center_shadowHostsResponse": security$$center_shadowHostsResponse, }, diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts b/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts index bab39d764..8642b6ec6 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowZoneHosts/tools.ts @@ -7,10 +7,8 @@ import { security$$center_api$$response$$common$$failure, security$$center_messages, } from "../../../outputs.js"; -import { security$$center_identifier } from "../../../schemas.js"; import { security$$center_partnerAssetResultInfo, - security$$center_partnerEntitlement, security$$center_shadowHost, security$$center_shadowHostsResponse, } from "../outputs.js"; @@ -22,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_partners_shadowZoneHosts_list", title: "Lists Hosts in a Partner-Discovered Shadow Zone", - description: "Lists hosts discovered beneath a shadow-zone domain. This endpoint is available only to premium accounts and supports JSON and CSV output.\n\nThis method is beta.", + description: "Lists hosts discovered beneath a shadow-zone domain. This endpoint is available only to premium accounts and supports JSON and CSV output.\n\nThis method is beta.\n\nGET /accounts/{account_id}/security-center/partners/{partner}/shadow-zones/{domain}/hosts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "domain": { "description": "The shadow-zone domain.", @@ -52,6 +51,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque cursor from the previous response's `result_info.cursor`. Omit for the first page.", @@ -69,9 +69,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/security-center_shadowHostsResponse", @@ -79,7 +77,6 @@ export const tools: readonly Tool[] = [ "security-center_api-response-common": security$$center_api$$response$$common, "security-center_messages": security$$center_messages, "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, - "security-center_partnerEntitlement": security$$center_partnerEntitlement, "security-center_shadowHost": security$$center_shadowHost, "security-center_shadowHostsResponse": security$$center_shadowHostsResponse, }, @@ -107,7 +104,6 @@ export const tools: readonly Tool[] = [ "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, "security-center_messages": security$$center_messages, "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, - "security-center_partnerEntitlement": security$$center_partnerEntitlement, "security-center_shadowHost": security$$center_shadowHost, "security-center_shadowHostsResponse": security$$center_shadowHostsResponse, }, diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts b/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts index 40abff68e..ddd72ca70 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowZones/outputs.ts @@ -43,7 +43,11 @@ export const security$$center_shadowZonesResponse: JsonSchema = { "type": "boolean" }, "entitlement": { - "$ref": "#/$defs/security-center_partnerEntitlement" + "enum": [ + "baseline", + "premium" + ], + "type": "string" }, "items": { "items": { diff --git a/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts b/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts index 69d3ef9d8..4669fd068 100644 --- a/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts +++ b/src/generated/forge-mcp/securityInsights/partners/shadowZones/tools.ts @@ -7,11 +7,7 @@ import { security$$center_api$$response$$common$$failure, security$$center_messages, } from "../../../outputs.js"; -import { security$$center_identifier } from "../../../schemas.js"; -import { - security$$center_partnerAssetResultInfo, - security$$center_partnerEntitlement, -} from "../outputs.js"; +import { security$$center_partnerAssetResultInfo } from "../outputs.js"; import { security$$center_shadowZone, security$$center_shadowZonesResponse, @@ -24,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_partners_shadowZones_list", title: "Lists Partner-Discovered Shadow Zones", - description: "Lists domains discovered by the selected partner that are not in the account. Baseline accounts receive the total count only; premium accounts receive paginated items and may request CSV output.\n\nThis method is beta.", + description: "Lists domains discovered by the selected partner that are not in the account. Baseline accounts receive the total count only; premium accounts receive paginated items and may request CSV output.\n\nThis method is beta.\n\nGET /accounts/{account_id}/security-center/partners/{partner}/shadow-zones", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "partner": { "description": "The partner integration identifier.", @@ -49,6 +46,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque cursor from the previous response's `result_info.cursor`. Omit for the first page.", @@ -66,9 +64,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/security-center_shadowZonesResponse", @@ -76,7 +72,6 @@ export const tools: readonly Tool[] = [ "security-center_api-response-common": security$$center_api$$response$$common, "security-center_messages": security$$center_messages, "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, - "security-center_partnerEntitlement": security$$center_partnerEntitlement, "security-center_shadowZone": security$$center_shadowZone, "security-center_shadowZonesResponse": security$$center_shadowZonesResponse, }, @@ -104,7 +99,6 @@ export const tools: readonly Tool[] = [ "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, "security-center_messages": security$$center_messages, "security-center_partnerAssetResultInfo": security$$center_partnerAssetResultInfo, - "security-center_partnerEntitlement": security$$center_partnerEntitlement, "security-center_shadowZone": security$$center_shadowZone, "security-center_shadowZonesResponse": security$$center_shadowZonesResponse, }, diff --git a/src/generated/forge-mcp/securityInsights/scans/schemas.ts b/src/generated/forge-mcp/securityInsights/scans/schemas.ts index 24727703e..800229d34 100644 --- a/src/generated/forge-mcp/securityInsights/scans/schemas.ts +++ b/src/generated/forge-mcp/securityInsights/scans/schemas.ts @@ -12,7 +12,15 @@ export const security$$center_newScanRequest: JsonSchema = { { "properties": { "issue_type": { - "$ref": "#/$defs/security-center_issueType" + "enum": [ + "compliance_violation", + "email_security", + "exposed_infrastructure", + "insecure_configuration", + "weak_authentication", + "configuration_suggestion" + ], + "type": "string" } }, "required": [ @@ -23,7 +31,7 @@ export const security$$center_newScanRequest: JsonSchema = { { "properties": { "issue_class": { - "$ref": "#/$defs/security-center_issueClass" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/securityInsights/scans/tools.ts b/src/generated/forge-mcp/securityInsights/scans/tools.ts index 2322c9f55..aff20d5af 100644 --- a/src/generated/forge-mcp/securityInsights/scans/tools.ts +++ b/src/generated/forge-mcp/securityInsights/scans/tools.ts @@ -7,11 +7,6 @@ import { security$$center_api$$response$$common$$failure, security$$center_messages, } from "../../outputs.js"; -import { - security$$center_identifier, - security$$center_issueClass, - security$$center_issueType, -} from "../../schemas.js"; import { security$$center_newScanResponse, security$$center_scanQuota, @@ -27,11 +22,12 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_scans_list", title: "Get Recent account or zone Scans", - description: "Returns the most recent on-demand scans for the account or zone, up to a maximum of 5. Each scan includes its ID, start time, and current status. This includes both account or zone-wide and zone-scoped scans. Also returns quota information showing how many scans have been used and how many remain in the current 24-hour window.", + description: "Returns the most recent on-demand scans for the account or zone, up to a maximum of 5. Each scan includes its ID, start time, and current status. This includes both account or zone-wide and zone-scoped scans. Also returns quota information showing how many scans have been used and how many remain in the current 24-hour window.\n\nGET /{account_or_zone}/{account_or_zone_id}/security-center/insights/scans", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -42,8 +38,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -56,9 +52,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -128,7 +122,7 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_scans_start", title: "Start On-Demand account or zone Scan", - description: "Initiates an on-demand security scan for the entire account or zone, scanning all zones associated with the account or zone. Rate limited to 5 scans per account or zone per 24-hour window.", + description: "Initiates an on-demand security scan for the entire account or zone, scanning all zones associated with the account or zone. Rate limited to 5 scans per account or zone per 24-hour window.\n\nPOST /{account_or_zone}/{account_or_zone_id}/security-center/insights/scans", inputSchema: { type: "object", properties: { @@ -136,6 +130,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/security-center_newScanRequest" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -146,8 +141,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -161,10 +156,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "security-center_identifier": security$$center_identifier, - "security-center_issueClass": security$$center_issueClass, - "security-center_issueType": security$$center_issueType, "security-center_newScanRequest": security$$center_newScanRequest, }, }, diff --git a/src/generated/forge-mcp/securityInsights/schemas.ts b/src/generated/forge-mcp/securityInsights/schemas.ts index 3ee5ccf00..1663c9bcf 100644 --- a/src/generated/forge-mcp/securityInsights/schemas.ts +++ b/src/generated/forge-mcp/securityInsights/schemas.ts @@ -9,8 +9,20 @@ import type { JsonSchema } from "../_/tool.js"; export const security$$center_userClassificationUpdate: JsonSchema = { "properties": { "classification": { - "$ref": "#/$defs/security-center_userClassification", - "description": "User-defined classification for the insight. Can be 'false_positive', 'accept_risk', 'other', or null." + "description": "User-defined classification for the insight. Can be 'false_positive', 'accept_risk', 'other', or null.", + "oneOf": [ + { + "enum": [ + "false_positive", + "accept_risk", + "other" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "rationale": { "description": "Rationale for the classification change. Required when classification is 'accept_risk' or 'other'.", diff --git a/src/generated/forge-mcp/securityInsights/state/tools.ts b/src/generated/forge-mcp/securityInsights/state/tools.ts index 5ca5f5cd1..f5745c2ee 100644 --- a/src/generated/forge-mcp/securityInsights/state/tools.ts +++ b/src/generated/forge-mcp/securityInsights/state/tools.ts @@ -7,7 +7,6 @@ import { security$$center_api$$response$$common$$failure, security$$center_messages, } from "../../outputs.js"; -import { security$$center_identifier } from "../../schemas.js"; import { security$$center_accountStateResponse } from "./outputs.js"; import { security$$center_updateAccountStateRequest } from "./schemas.js"; @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_state_get", title: "Retrieves Account State", - description: "Returns account-level Security Center state: whether scans are enabled for the account and whether the account was recently reactivated from a dormant state.", + description: "Returns account-level Security Center state: whether scans are enabled for the account and whether the account was recently reactivated from a dormant state.\n\nGET /accounts/{account_id}/security-center/state", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -38,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -106,7 +104,7 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_state_update", title: "Updates Account State", - description: "Updates account-level Security Center state. Currently supports enabling or disabling scans for the account. Returns the account's state after the update.", + description: "Updates account-level Security Center state. Currently supports enabling or disabling scans for the account. Returns the account's state after the update.\n\nPUT /accounts/{account_id}/security-center/state", inputSchema: { type: "object", properties: { @@ -114,10 +112,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/security-center_updateAccountStateRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -130,8 +129,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "security-center_identifier": security$$center_identifier, "security-center_updateAccountStateRequest": security$$center_updateAccountStateRequest, }, }, diff --git a/src/generated/forge-mcp/securityInsights/tools.ts b/src/generated/forge-mcp/securityInsights/tools.ts index ddff722a8..db5f9f441 100644 --- a/src/generated/forge-mcp/securityInsights/tools.ts +++ b/src/generated/forge-mcp/securityInsights/tools.ts @@ -6,33 +6,16 @@ import { security$$center_api$$response$$common, security$$center_api$$response$$common$$failure, security$$center_api$$response$$single, - security$$center_count, security$$center_issue, - security$$center_issueClass, - security$$center_issueType, security$$center_messages, - security$$center_page, - security$$center_perPage, - security$$center_source, - security$$center_subject, - security$$center_userClassification, } from "../outputs.js"; import { - security$$center_dismissed, - security$$center_identifier, - security$$center_issueClass as security$$center_issueClass$, security$$center_issueClasses, - security$$center_issueType as security$$center_issueType$, security$$center_issueTypes, - security$$center_page as security$$center_page$, - security$$center_perPage as security$$center_perPage$, security$$center_products, security$$center_severityQueryParam, - security$$center_source as security$$center_source$, security$$center_sources, - security$$center_subject as security$$center_subject$, security$$center_subjects, - security$$center_userClassification as security$$center_userClassification$, } from "../schemas.js"; import { security$$center_userClassificationUpdate } from "./schemas.js"; @@ -43,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_classify", title: "Updates Security Center Insight Classification", - description: "Updates the user classification for a Security Center insight. Valid values are 'false_positive' or 'accept_risk'. To reset, set classification to null. Cannot change directly between classification values - must reset to null first.", + description: "Updates the user classification for a Security Center insight. Valid values are 'false_positive' or 'accept_risk'. To reset, set classification to null. Cannot change directly between classification values - must reset to null first.\n\nPATCH /{account_or_zone}/{account_or_zone_id}/security-center/insights/{issue_id}/classification", inputSchema: { type: "object", properties: { @@ -51,6 +34,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/security-center_userClassificationUpdate" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -61,8 +45,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "issue_id": { "type": "string" @@ -80,9 +64,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "security-center_identifier": security$$center_identifier, - "security-center_userClassification": security$$center_userClassification$, "security-center_userClassificationUpdate": security$$center_userClassificationUpdate, }, }, @@ -125,7 +108,7 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_dismiss", title: "Archives Security Center Insight", - description: "Archives a Security Center insight for an account or zone, removing it from the active insights list while preserving historical data.", + description: "Archives a Security Center insight for an account or zone, removing it from the active insights list while preserving historical data.\n\nPUT /{account_or_zone}/{account_or_zone_id}/security-center/insights/{issue_id}/dismiss", inputSchema: { type: "object", properties: { @@ -139,6 +122,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -149,8 +133,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "issue_id": { "type": "string" @@ -168,9 +152,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/security-center_api-response-single", @@ -218,11 +200,12 @@ export const tools: readonly Tool[] = [ { name: "securityInsights_list", title: "Retrieves Security Center Insights", - description: "Lists all Security Center insights for the account or zone, showing security findings and recommendations.", + description: "Lists all Security Center insights for the account or zone, showing security findings and recommendations.\n\nGET /{account_or_zone}/{account_or_zone_id}/security-center/insights", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -233,8 +216,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -244,9 +227,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dismissed": { - "$ref": "#/$defs/security-center_dismissed" + "type": "boolean" }, "issue_class": { "$ref": "#/$defs/security-center_issueClasses" @@ -261,12 +245,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/security-center_issueTypes" }, "page": { - "$ref": "#/$defs/security-center_page", - "default": 1 + "default": 1, + "description": "Specifies the current page within paginated list of results.", + "type": "integer" }, "per_page": { - "$ref": "#/$defs/security-center_perPage", - "default": 25 + "default": 25, + "description": "Sets the number of results per page of results.", + "type": "integer" }, "product": { "$ref": "#/$defs/security-center_products" @@ -296,20 +282,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "security-center_dismissed": security$$center_dismissed, - "security-center_identifier": security$$center_identifier, - "security-center_issueClass": security$$center_issueClass$, "security-center_issueClasses": security$$center_issueClasses, - "security-center_issueType": security$$center_issueType$, "security-center_issueTypes": security$$center_issueTypes, - "security-center_page": security$$center_page$, - "security-center_perPage": security$$center_perPage$, "security-center_products": security$$center_products, "security-center_severityQueryParam": security$$center_severityQueryParam, - "security-center_source": security$$center_source$, "security-center_sources": security$$center_sources, - "security-center_subject": security$$center_subject$, "security-center_subjects": security$$center_subjects, }, }, @@ -323,7 +302,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "count": { - "$ref": "#/$defs/security-center_count" + "type": "integer" }, "issues": { "items": { @@ -332,10 +311,10 @@ export const tools: readonly Tool[] = [ "type": "array" }, "page": { - "$ref": "#/$defs/security-center_page" + "type": "integer" }, "per_page": { - "$ref": "#/$defs/security-center_perPage" + "type": "integer" } }, "type": "object" @@ -346,16 +325,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "security-center_api-response-common": security$$center_api$$response$$common, - "security-center_count": security$$center_count, "security-center_issue": security$$center_issue, - "security-center_issueClass": security$$center_issueClass, - "security-center_issueType": security$$center_issueType, "security-center_messages": security$$center_messages, - "security-center_page": security$$center_page, - "security-center_perPage": security$$center_perPage, - "security-center_source": security$$center_source, - "security-center_subject": security$$center_subject, - "security-center_userClassification": security$$center_userClassification, }, }, annotations: { @@ -379,7 +350,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "count": { - "$ref": "#/$defs/security-center_count" + "type": "integer" }, "issues": { "items": { @@ -388,10 +359,10 @@ export const tools: readonly Tool[] = [ "type": "array" }, "page": { - "$ref": "#/$defs/security-center_page" + "type": "integer" }, "per_page": { - "$ref": "#/$defs/security-center_perPage" + "type": "integer" } }, "type": "object" @@ -408,16 +379,8 @@ export const tools: readonly Tool[] = [ $defs: { "security-center_api-response-common": security$$center_api$$response$$common, "security-center_api-response-common-failure": security$$center_api$$response$$common$$failure, - "security-center_count": security$$center_count, "security-center_issue": security$$center_issue, - "security-center_issueClass": security$$center_issueClass, - "security-center_issueType": security$$center_issueType, "security-center_messages": security$$center_messages, - "security-center_page": security$$center_page, - "security-center_perPage": security$$center_perPage, - "security-center_source": security$$center_source, - "security-center_subject": security$$center_subject, - "security-center_userClassification": security$$center_userClassification, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/securityTxt/tools.ts b/src/generated/forge-mcp/securityTxt/tools.ts index fe3cd53d3..71277dfe5 100644 --- a/src/generated/forge-mcp/securityTxt/tools.ts +++ b/src/generated/forge-mcp/securityTxt/tools.ts @@ -8,7 +8,6 @@ import { security$$center_api$$response$$single, security$$center_messages, } from "../outputs.js"; -import { security$$center_identifier } from "../schemas.js"; import { security$$center_securityTxt } from "./outputs.js"; import { security$$center_securityTxt as security$$center_securityTxt$ } from "./schemas.js"; @@ -19,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "securityTxt_delete", title: "Deletes security.txt", - description: "Removes the security.txt file configuration for a zone. The /.well-known/security.txt endpoint will no longer be served.", + description: "Removes the security.txt file configuration for a zone. The /.well-known/security.txt endpoint will no longer be served.\n\nDELETE /zones/{zone_id}/security-center/securitytxt", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -39,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/security-center_api-response-single", @@ -86,15 +84,16 @@ export const tools: readonly Tool[] = [ { name: "securityTxt_get", title: "Retrieves security.txt", - description: "Retrieves the current security.txt file configuration for a zone, used for security vulnerability reporting.", + description: "Retrieves the current security.txt file configuration for a zone, used for security vulnerability reporting.\n\nGET /zones/{zone_id}/security-center/securitytxt", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -106,9 +105,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "security-center_identifier": security$$center_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -180,7 +177,7 @@ export const tools: readonly Tool[] = [ { name: "securityTxt_update", title: "Updates security.txt", - description: "Updates the security.txt file configuration for a zone, which provides security researchers with vulnerability reporting information.", + description: "Updates the security.txt file configuration for a zone, which provides security researchers with vulnerability reporting information.\n\nPUT /zones/{zone_id}/security-center/securitytxt", inputSchema: { type: "object", properties: { @@ -188,10 +185,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/security-center_securityTxt" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/security-center_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -204,8 +202,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "security-center_identifier": security$$center_identifier, "security-center_securityTxt": security$$center_securityTxt$, }, }, diff --git a/src/generated/forge-mcp/signedUrl/tools.ts b/src/generated/forge-mcp/signedUrl/tools.ts index 675ab0437..463926df3 100644 --- a/src/generated/forge-mcp/signedUrl/tools.ts +++ b/src/generated/forge-mcp/signedUrl/tools.ts @@ -11,10 +11,11 @@ export const tools: readonly Tool[] = [ { name: "signedUrl_get", title: "Internal route for testing signed URLs", - description: "Internal route for testing signed URLs.", + description: "Internal route for testing signed URLs.\n\nGET /signed-url", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts b/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts index aa9d440cd..d5c177eba 100644 --- a/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts +++ b/src/generated/forge-mcp/smartShield/cacheReserveClear/outputs.ts @@ -51,14 +51,6 @@ export const smartshield_cache_reserve_clear: JsonSchema = { ] }; -/** - * The schema of `smartshield_cache_reserve_clear_end_ts` in responses. - */ -export const smartshield_cache_reserve_clear_end_ts: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `smartshield_cache_reserve_clear_response_value` in responses. */ @@ -72,13 +64,19 @@ export const smartshield_cache_reserve_clear_response_value: JsonSchema = { { "properties": { "end_ts": { - "$ref": "#/$defs/smartshield_cache_reserve_clear_end_ts" + "format": "date-time", + "type": "string" }, "start_ts": { - "$ref": "#/$defs/smartshield_cache_reserve_clear_start_ts" + "format": "date-time", + "type": "string" }, "state": { - "$ref": "#/$defs/smartshield_cache_reserve_clear_state" + "enum": [ + "In-progress", + "Completed" + ], + "type": "string" } }, "required": [ @@ -92,22 +90,3 @@ export const smartshield_cache_reserve_clear_response_value: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `smartshield_cache_reserve_clear_start_ts` in responses. - */ -export const smartshield_cache_reserve_clear_start_ts: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `smartshield_cache_reserve_clear_state` in responses. - */ -export const smartshield_cache_reserve_clear_state: JsonSchema = { - "enum": [ - "In-progress", - "Completed" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts b/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts index b66e9ee2a..60e0b1fe0 100644 --- a/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts +++ b/src/generated/forge-mcp/smartShield/cacheReserveClear/tools.ts @@ -8,14 +8,10 @@ import { smartshield_api$$response$$result, smartshield_messages, } from "../outputs.js"; -import { smartshield_identifier } from "../schemas.js"; import { smartshield_base, smartshield_cache_reserve_clear, - smartshield_cache_reserve_clear_end_ts, smartshield_cache_reserve_clear_response_value, - smartshield_cache_reserve_clear_start_ts, - smartshield_cache_reserve_clear_state, } from "./outputs.js"; /** @@ -25,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "smartShield_cacheReserveClear_clear", title: "Start Cache Reserve Clear", - description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.\n\nConfirm with the user before calling this tool. This operation permanently clears Cache Reserve for this zone and cannot be undone.", + description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.\n\nConfirm with the user before calling this tool. This operation permanently clears Cache Reserve for this zone and cannot be undone.\n\nPOST /zones/{zone_id}/smart_shield/cache_reserve_clear", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -45,9 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "smartshield_identifier": smartshield_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -63,10 +58,7 @@ export const tools: readonly Tool[] = [ "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_base": smartshield_base, "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear, - "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts, "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value, - "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts, - "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state, "smartshield_messages": smartshield_messages, }, }, @@ -118,10 +110,7 @@ export const tools: readonly Tool[] = [ "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_base": smartshield_base, "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear, - "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts, "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value, - "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts, - "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state, "smartshield_messages": smartshield_messages, }, }, @@ -132,15 +121,16 @@ export const tools: readonly Tool[] = [ { name: "smartShield_cacheReserveClear_status", title: "Get Cache Reserve Clear", - description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.", + description: "You can use Cache Reserve Clear to clear your Cache Reserve, but you must first disable Cache Reserve. In most cases, this will be accomplished within 24 hours. You cannot re-enable Cache Reserve while this process is ongoing. Keep in mind that you cannot undo or cancel this operation.\n\nGET /zones/{zone_id}/smart_shield/cache_reserve_clear", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -152,9 +142,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "smartshield_identifier": smartshield_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -170,10 +158,7 @@ export const tools: readonly Tool[] = [ "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_base": smartshield_base, "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear, - "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts, "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value, - "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts, - "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state, "smartshield_messages": smartshield_messages, }, }, @@ -227,10 +212,7 @@ export const tools: readonly Tool[] = [ "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_base": smartshield_base, "smartshield_cache_reserve_clear": smartshield_cache_reserve_clear, - "smartshield_cache_reserve_clear_end_ts": smartshield_cache_reserve_clear_end_ts, "smartshield_cache_reserve_clear_response_value": smartshield_cache_reserve_clear_response_value, - "smartshield_cache_reserve_clear_start_ts": smartshield_cache_reserve_clear_start_ts, - "smartshield_cache_reserve_clear_state": smartshield_cache_reserve_clear_state, "smartshield_messages": smartshield_messages, }, }, diff --git a/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts b/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts index 43098f7b4..1ca28bdab 100644 --- a/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts +++ b/src/generated/forge-mcp/smartShield/healthChecks/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `smartshield_address` in responses. - */ -export const smartshield_address: JsonSchema = { - "type": "string" -}; - /** * The schema of `smartshield_api-response-collection` in responses. */ @@ -75,92 +68,72 @@ export const smartshield_check_regions: JsonSchema = { ] }; -/** - * The schema of `smartshield_consecutive_fails` in responses. - */ -export const smartshield_consecutive_fails: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `smartshield_consecutive_successes` in responses. - */ -export const smartshield_consecutive_successes: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `smartshield_description` in responses. - */ -export const smartshield_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `smartshield_failure_reason` in responses. - */ -export const smartshield_failure_reason: JsonSchema = { - "type": "string" -}; - /** * The schema of `smartshield_healthchecks` in responses. */ export const smartshield_healthchecks: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/smartshield_address" + "type": "string" }, "check_regions": { "$ref": "#/$defs/smartshield_check_regions" }, "consecutive_fails": { - "$ref": "#/$defs/smartshield_consecutive_fails" + "type": "integer" }, "consecutive_successes": { - "$ref": "#/$defs/smartshield_consecutive_successes" + "type": "integer" }, "created_on": { - "$ref": "#/$defs/smartshield_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/smartshield_description" + "type": "string" }, "failure_reason": { - "$ref": "#/$defs/smartshield_failure_reason" + "type": "string" }, "http_config": { "$ref": "#/$defs/smartshield_http_config" }, "id": { - "$ref": "#/$defs/smartshield_identifier" + "type": "string" }, "interval": { - "$ref": "#/$defs/smartshield_interval" + "type": "integer" }, "modified_on": { - "$ref": "#/$defs/smartshield_timestamp" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/smartshield_name" + "type": "string" }, "retries": { - "$ref": "#/$defs/smartshield_retries" + "type": "integer" }, "status": { - "$ref": "#/$defs/smartshield_status" + "enum": [ + "unknown", + "healthy", + "unhealthy", + "suspended" + ], + "type": "string" }, "suspended": { - "$ref": "#/$defs/smartshield_suspended" + "type": "boolean" }, "tcp_config": { "$ref": "#/$defs/smartshield_tcp_config" }, "timeout": { - "$ref": "#/$defs/smartshield_timeout" + "type": "integer" }, "type": { - "$ref": "#/$defs/smartshield_type" + "type": "string" } }, "type": "object" @@ -233,20 +206,6 @@ export const smartshield_http_config: JsonSchema = { ] }; -/** - * The schema of `smartshield_interval` in responses. - */ -export const smartshield_interval: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `smartshield_name` in responses. - */ -export const smartshield_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `smartshield_response_collection` in responses. */ @@ -290,13 +249,6 @@ export const smartshield_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `smartshield_retries` in responses. - */ -export const smartshield_retries: JsonSchema = { - "type": "integer" -}; - /** * The schema of `smartshield_single_hc_id_response` in responses. */ @@ -310,7 +262,7 @@ export const smartshield_single_hc_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/smartshield_identifier" + "type": "string" } }, "type": "object" @@ -340,26 +292,6 @@ export const smartshield_single_hc_response: JsonSchema = { ] }; -/** - * The schema of `smartshield_status` in responses. - */ -export const smartshield_status: JsonSchema = { - "enum": [ - "unknown", - "healthy", - "unhealthy", - "suspended" - ], - "type": "string" -}; - -/** - * The schema of `smartshield_suspended` in responses. - */ -export const smartshield_suspended: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `smartshield_tcp_config` in responses. */ @@ -384,25 +316,3 @@ export const smartshield_tcp_config: JsonSchema = { } ] }; - -/** - * The schema of `smartshield_timeout` in responses. - */ -export const smartshield_timeout: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `smartshield_timestamp` in responses. - */ -export const smartshield_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `smartshield_type` in responses. - */ -export const smartshield_type: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/smartShield/healthChecks/schemas.ts b/src/generated/forge-mcp/smartShield/healthChecks/schemas.ts index 86f2d1b20..f121aa932 100644 --- a/src/generated/forge-mcp/smartShield/healthChecks/schemas.ts +++ b/src/generated/forge-mcp/smartShield/healthChecks/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `smartshield_address`. - */ -export const smartshield_address: JsonSchema = { - "description": "The hostname or IP address of the origin server to run health checks on.", - "type": "string" -}; - /** * The schema of `smartshield_check_regions`. */ @@ -45,93 +37,69 @@ export const smartshield_check_regions: JsonSchema = { ] }; -/** - * The schema of `smartshield_consecutive_fails`. - */ -export const smartshield_consecutive_fails: JsonSchema = { - "description": "The number of consecutive fails required from a health check before changing the health to unhealthy.", - "type": "integer" -}; - -/** - * The schema of `smartshield_consecutive_successes`. - */ -export const smartshield_consecutive_successes: JsonSchema = { - "description": "The number of consecutive successes required from a health check before changing the health to healthy.", - "type": "integer" -}; - -/** - * The schema of `smartshield_description`. - */ -export const smartshield_description: JsonSchema = { - "description": "A human-readable description of the health check.", - "type": "string" -}; - /** * The schema of `smartshield_healthchecks`. */ export const smartshield_healthchecks: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/smartshield_address", - "description": "The hostname or IP address of the origin server to run health checks on." + "description": "The hostname or IP address of the origin server to run health checks on.", + "type": "string" }, "check_regions": { "$ref": "#/$defs/smartshield_check_regions", "description": "A list of regions from which to run health checks. Null means Cloudflare will pick a default region." }, "consecutive_fails": { - "$ref": "#/$defs/smartshield_consecutive_fails", "default": 1, - "description": "The number of consecutive fails required from a health check before changing the health to unhealthy." + "description": "The number of consecutive fails required from a health check before changing the health to unhealthy.", + "type": "integer" }, "consecutive_successes": { - "$ref": "#/$defs/smartshield_consecutive_successes", "default": 1, - "description": "The number of consecutive successes required from a health check before changing the health to healthy." + "description": "The number of consecutive successes required from a health check before changing the health to healthy.", + "type": "integer" }, "description": { - "$ref": "#/$defs/smartshield_description", - "description": "A human-readable description of the health check." + "description": "A human-readable description of the health check.", + "type": "string" }, "http_config": { "$ref": "#/$defs/smartshield_http_config", "description": "Parameters specific to an HTTP or HTTPS health check." }, "interval": { - "$ref": "#/$defs/smartshield_interval", "default": 60, - "description": "The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase load on the origin as we check from multiple locations." + "description": "The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase load on the origin as we check from multiple locations.", + "type": "integer" }, "name": { - "$ref": "#/$defs/smartshield_name", - "description": "A short name to identify the health check. Only alphanumeric characters, hyphens and underscores are allowed." + "description": "A short name to identify the health check. Only alphanumeric characters, hyphens and underscores are allowed.", + "type": "string" }, "retries": { - "$ref": "#/$defs/smartshield_retries", "default": 2, - "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately." + "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately.", + "type": "integer" }, "suspended": { - "$ref": "#/$defs/smartshield_suspended", "default": false, - "description": "If suspended, no health checks are sent to the origin." + "description": "If suspended, no health checks are sent to the origin.", + "type": "boolean" }, "tcp_config": { "$ref": "#/$defs/smartshield_tcp_config", "description": "Parameters specific to TCP health check." }, "timeout": { - "$ref": "#/$defs/smartshield_timeout", "default": 5, - "description": "The timeout (in seconds) before marking the health check as failed." + "description": "The timeout (in seconds) before marking the health check as failed.", + "type": "integer" }, "type": { - "$ref": "#/$defs/smartshield_type", "default": "HTTP", - "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP', 'HTTPS' and 'TCP'." + "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP', 'HTTPS' and 'TCP'.", + "type": "string" } }, "type": "object" @@ -221,85 +189,69 @@ export const smartshield_http_config: JsonSchema = { ] }; -/** - * The schema of `smartshield_interval`. - */ -export const smartshield_interval: JsonSchema = { - "description": "The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase load on the origin as we check from multiple locations.", - "type": "integer" -}; - -/** - * The schema of `smartshield_name`. - */ -export const smartshield_name: JsonSchema = { - "description": "A short name to identify the health check. Only alphanumeric characters, hyphens and underscores are allowed.", - "type": "string" -}; - /** * The schema of `smartshield_query_healthcheck`. */ export const smartshield_query_healthcheck: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/smartshield_address", - "description": "The hostname or IP address of the origin server to run health checks on." + "description": "The hostname or IP address of the origin server to run health checks on.", + "type": "string" }, "check_regions": { "$ref": "#/$defs/smartshield_check_regions", "description": "A list of regions from which to run health checks. Null means Cloudflare will pick a default region." }, "consecutive_fails": { - "$ref": "#/$defs/smartshield_consecutive_fails", "default": 1, - "description": "The number of consecutive fails required from a health check before changing the health to unhealthy." + "description": "The number of consecutive fails required from a health check before changing the health to unhealthy.", + "type": "integer" }, "consecutive_successes": { - "$ref": "#/$defs/smartshield_consecutive_successes", "default": 1, - "description": "The number of consecutive successes required from a health check before changing the health to healthy." + "description": "The number of consecutive successes required from a health check before changing the health to healthy.", + "type": "integer" }, "description": { - "$ref": "#/$defs/smartshield_description", - "description": "A human-readable description of the health check." + "description": "A human-readable description of the health check.", + "type": "string" }, "http_config": { "$ref": "#/$defs/smartshield_http_config", "description": "Parameters specific to an HTTP or HTTPS health check." }, "interval": { - "$ref": "#/$defs/smartshield_interval", "default": 60, - "description": "The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase load on the origin as we check from multiple locations." + "description": "The interval between each health check. Shorter intervals may give quicker notifications if the origin status changes, but will increase load on the origin as we check from multiple locations.", + "type": "integer" }, "name": { - "$ref": "#/$defs/smartshield_name", - "description": "A short name to identify the health check. Only alphanumeric characters, hyphens and underscores are allowed." + "description": "A short name to identify the health check. Only alphanumeric characters, hyphens and underscores are allowed.", + "type": "string" }, "retries": { - "$ref": "#/$defs/smartshield_retries", "default": 2, - "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately." + "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately.", + "type": "integer" }, "suspended": { - "$ref": "#/$defs/smartshield_suspended", "default": false, - "description": "If suspended, no health checks are sent to the origin." + "description": "If suspended, no health checks are sent to the origin.", + "type": "boolean" }, "tcp_config": { "$ref": "#/$defs/smartshield_tcp_config", "description": "Parameters specific to TCP health check." }, "timeout": { - "$ref": "#/$defs/smartshield_timeout", "default": 5, - "description": "The timeout (in seconds) before marking the health check as failed." + "description": "The timeout (in seconds) before marking the health check as failed.", + "type": "integer" }, "type": { - "$ref": "#/$defs/smartshield_type", "default": "HTTP", - "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP', 'HTTPS' and 'TCP'." + "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP', 'HTTPS' and 'TCP'.", + "type": "string" } }, "required": [ @@ -309,14 +261,6 @@ export const smartshield_query_healthcheck: JsonSchema = { "type": "object" }; -/** - * The schema of `smartshield_retries`. - */ -export const smartshield_retries: JsonSchema = { - "description": "The number of retries to attempt in case of a timeout before marking the origin as unhealthy. Retries are attempted immediately.", - "type": "integer" -}; - /** * The schema of `smartshield_single_hc_response`. */ @@ -336,14 +280,6 @@ export const smartshield_single_hc_response: JsonSchema = { ] }; -/** - * The schema of `smartshield_suspended`. - */ -export const smartshield_suspended: JsonSchema = { - "description": "If suspended, no health checks are sent to the origin.", - "type": "boolean" -}; - /** * The schema of `smartshield_tcp_config`. */ @@ -373,19 +309,3 @@ export const smartshield_tcp_config: JsonSchema = { } ] }; - -/** - * The schema of `smartshield_timeout`. - */ -export const smartshield_timeout: JsonSchema = { - "description": "The timeout (in seconds) before marking the health check as failed.", - "type": "integer" -}; - -/** - * The schema of `smartshield_type`. - */ -export const smartshield_type: JsonSchema = { - "description": "The protocol to use for the health check. Currently supported protocols are 'HTTP', 'HTTPS' and 'TCP'.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/smartShield/healthChecks/tools.ts b/src/generated/forge-mcp/smartShield/healthChecks/tools.ts index ab18ecd64..1eaa81594 100644 --- a/src/generated/forge-mcp/smartShield/healthChecks/tools.ts +++ b/src/generated/forge-mcp/smartShield/healthChecks/tools.ts @@ -6,56 +6,31 @@ import { smartshield_api$$response$$common, smartshield_api$$response$$common$$failure, smartshield_api$$response$$result, - smartshield_identifier, smartshield_messages, } from "../outputs.js"; import { smartshield_api$$response$$common as smartshield_api$$response$$common$, smartshield_api$$response$$result as smartshield_api$$response$$result$, - smartshield_identifier as smartshield_identifier$, smartshield_messages as smartshield_messages$, } from "../schemas.js"; import { - smartshield_address, smartshield_api$$response$$collection, smartshield_check_regions, - smartshield_consecutive_fails, - smartshield_consecutive_successes, - smartshield_description, - smartshield_failure_reason, smartshield_healthchecks, smartshield_http_config, - smartshield_interval, - smartshield_name, smartshield_response_collection, smartshield_result_info, - smartshield_retries, smartshield_single_hc_id_response, smartshield_single_hc_response, - smartshield_status, - smartshield_suspended, smartshield_tcp_config, - smartshield_timeout, - smartshield_timestamp, - smartshield_type, } from "./outputs.js"; import { - smartshield_address as smartshield_address$, smartshield_check_regions as smartshield_check_regions$, - smartshield_consecutive_fails as smartshield_consecutive_fails$, - smartshield_consecutive_successes as smartshield_consecutive_successes$, - smartshield_description as smartshield_description$, smartshield_healthchecks as smartshield_healthchecks$, smartshield_http_config as smartshield_http_config$, - smartshield_interval as smartshield_interval$, - smartshield_name as smartshield_name$, smartshield_query_healthcheck, - smartshield_retries as smartshield_retries$, smartshield_single_hc_response as smartshield_single_hc_response$, - smartshield_suspended as smartshield_suspended$, smartshield_tcp_config as smartshield_tcp_config$, - smartshield_timeout as smartshield_timeout$, - smartshield_type as smartshield_type$, } from "./schemas.js"; /** @@ -65,7 +40,7 @@ export const tools: readonly Tool[] = [ { name: "smartShield_healthChecks_create", title: "Create Health Check", - description: "Create a new health check.", + description: "Create a new health check.\n\nPOST /zones/{zone_id}/smart_shield/healthchecks", inputSchema: { type: "object", properties: { @@ -73,10 +48,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/smartshield_query_healthcheck" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -89,49 +65,25 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "smartshield_address": smartshield_address$, "smartshield_check_regions": smartshield_check_regions$, - "smartshield_consecutive_fails": smartshield_consecutive_fails$, - "smartshield_consecutive_successes": smartshield_consecutive_successes$, - "smartshield_description": smartshield_description$, "smartshield_http_config": smartshield_http_config$, - "smartshield_identifier": smartshield_identifier$, - "smartshield_interval": smartshield_interval$, - "smartshield_name": smartshield_name$, "smartshield_query_healthcheck": smartshield_query_healthcheck, - "smartshield_retries": smartshield_retries$, - "smartshield_suspended": smartshield_suspended$, "smartshield_tcp_config": smartshield_tcp_config$, - "smartshield_timeout": smartshield_timeout$, - "smartshield_type": smartshield_type$, }, }, outputSchema: { "$ref": "#/$defs/smartshield_single_hc_response", $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, - "smartshield_retries": smartshield_retries, "smartshield_single_hc_response": smartshield_single_hc_response, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, annotations: { @@ -164,29 +116,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, - "smartshield_retries": smartshield_retries, "smartshield_single_hc_response": smartshield_single_hc_response, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, request: (args) => ({ @@ -197,19 +135,20 @@ export const tools: readonly Tool[] = [ { name: "smartShield_healthChecks_delete", title: "Delete Health Check", - description: "Delete a health check.", + description: "Delete a health check.\n\nDELETE /zones/{zone_id}/smart_shield/healthchecks/{healthcheck_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -222,16 +161,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "smartshield_identifier": smartshield_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/smartshield_single_hc_id_response", $defs: { "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-result": smartshield_api$$response$$result, - "smartshield_identifier": smartshield_identifier, "smartshield_messages": smartshield_messages, "smartshield_single_hc_id_response": smartshield_single_hc_id_response, }, @@ -269,7 +205,6 @@ export const tools: readonly Tool[] = [ "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, "smartshield_api-response-result": smartshield_api$$response$$result, - "smartshield_identifier": smartshield_identifier, "smartshield_messages": smartshield_messages, "smartshield_single_hc_id_response": smartshield_single_hc_id_response, }, @@ -281,7 +216,7 @@ export const tools: readonly Tool[] = [ { name: "smartShield_healthChecks_edit", title: "Patch Health Check", - description: "Patch a configured health check.", + description: "Patch a configured health check.\n\nPATCH /zones/{zone_id}/smart_shield/healthchecks/{healthcheck_id}", inputSchema: { type: "object", properties: { @@ -289,14 +224,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/smartshield_query_healthcheck" }, "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -310,49 +246,25 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "smartshield_address": smartshield_address$, "smartshield_check_regions": smartshield_check_regions$, - "smartshield_consecutive_fails": smartshield_consecutive_fails$, - "smartshield_consecutive_successes": smartshield_consecutive_successes$, - "smartshield_description": smartshield_description$, "smartshield_http_config": smartshield_http_config$, - "smartshield_identifier": smartshield_identifier$, - "smartshield_interval": smartshield_interval$, - "smartshield_name": smartshield_name$, "smartshield_query_healthcheck": smartshield_query_healthcheck, - "smartshield_retries": smartshield_retries$, - "smartshield_suspended": smartshield_suspended$, "smartshield_tcp_config": smartshield_tcp_config$, - "smartshield_timeout": smartshield_timeout$, - "smartshield_type": smartshield_type$, }, }, outputSchema: { "$ref": "#/$defs/smartshield_single_hc_response", $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, - "smartshield_retries": smartshield_retries, "smartshield_single_hc_response": smartshield_single_hc_response, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, annotations: { @@ -385,29 +297,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, - "smartshield_retries": smartshield_retries, "smartshield_single_hc_response": smartshield_single_hc_response, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, request: (args) => ({ @@ -418,19 +316,20 @@ export const tools: readonly Tool[] = [ { name: "smartShield_healthChecks_get", title: "Health Check Details", - description: "Fetch a single configured health check.", + description: "Fetch a single configured health check.\n\nGET /zones/{zone_id}/smart_shield/healthchecks/{healthcheck_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -443,35 +342,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "smartshield_identifier": smartshield_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/smartshield_single_hc_response", $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, - "smartshield_retries": smartshield_retries, "smartshield_single_hc_response": smartshield_single_hc_response, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, annotations: { @@ -505,29 +388,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, - "smartshield_retries": smartshield_retries, "smartshield_single_hc_response": smartshield_single_hc_response, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, request: (args) => ({ @@ -537,15 +406,16 @@ export const tools: readonly Tool[] = [ { name: "smartShield_healthChecks_list", title: "List Health Checks", - description: "List configured health checks.", + description: "List configured health checks.\n\nGET /zones/{zone_id}/smart_shield/healthchecks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -554,6 +424,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -572,37 +443,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "smartshield_identifier": smartshield_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/smartshield_response_collection", $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-collection": smartshield_api$$response$$collection, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, "smartshield_response_collection": smartshield_response_collection, "smartshield_result_info": smartshield_result_info, - "smartshield_retries": smartshield_retries, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, annotations: { @@ -636,31 +491,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-collection": smartshield_api$$response$$collection, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, "smartshield_response_collection": smartshield_response_collection, "smartshield_result_info": smartshield_result_info, - "smartshield_retries": smartshield_retries, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, request: (args) => ({ @@ -674,7 +515,7 @@ export const tools: readonly Tool[] = [ { name: "smartShield_healthChecks_update", title: "Update Health Check", - description: "Update a configured health check.", + description: "Update a configured health check.\n\nPUT /zones/{zone_id}/smart_shield/healthchecks/{healthcheck_id}", inputSchema: { type: "object", properties: { @@ -682,14 +523,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/smartshield_single_hc_response" }, "path": { + "additionalProperties": false, "properties": { "healthcheck_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -703,53 +545,29 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "smartshield_address": smartshield_address$, "smartshield_api-response-common": smartshield_api$$response$$common$, "smartshield_api-response-result": smartshield_api$$response$$result$, "smartshield_check_regions": smartshield_check_regions$, - "smartshield_consecutive_fails": smartshield_consecutive_fails$, - "smartshield_consecutive_successes": smartshield_consecutive_successes$, - "smartshield_description": smartshield_description$, "smartshield_healthchecks": smartshield_healthchecks$, "smartshield_http_config": smartshield_http_config$, - "smartshield_identifier": smartshield_identifier$, - "smartshield_interval": smartshield_interval$, "smartshield_messages": smartshield_messages$, - "smartshield_name": smartshield_name$, - "smartshield_retries": smartshield_retries$, "smartshield_single_hc_response": smartshield_single_hc_response$, - "smartshield_suspended": smartshield_suspended$, "smartshield_tcp_config": smartshield_tcp_config$, - "smartshield_timeout": smartshield_timeout$, - "smartshield_type": smartshield_type$, }, }, outputSchema: { "$ref": "#/$defs/smartshield_single_hc_response", $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, - "smartshield_retries": smartshield_retries, "smartshield_single_hc_response": smartshield_single_hc_response, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, annotations: { @@ -782,29 +600,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "smartshield_address": smartshield_address, "smartshield_api-response-common": smartshield_api$$response$$common, "smartshield_api-response-common-failure": smartshield_api$$response$$common$$failure, "smartshield_api-response-result": smartshield_api$$response$$result, "smartshield_check_regions": smartshield_check_regions, - "smartshield_consecutive_fails": smartshield_consecutive_fails, - "smartshield_consecutive_successes": smartshield_consecutive_successes, - "smartshield_description": smartshield_description, - "smartshield_failure_reason": smartshield_failure_reason, "smartshield_healthchecks": smartshield_healthchecks, "smartshield_http_config": smartshield_http_config, - "smartshield_identifier": smartshield_identifier, - "smartshield_interval": smartshield_interval, "smartshield_messages": smartshield_messages, - "smartshield_name": smartshield_name, - "smartshield_retries": smartshield_retries, "smartshield_single_hc_response": smartshield_single_hc_response, - "smartshield_status": smartshield_status, - "smartshield_suspended": smartshield_suspended, "smartshield_tcp_config": smartshield_tcp_config, - "smartshield_timeout": smartshield_timeout, - "smartshield_timestamp": smartshield_timestamp, - "smartshield_type": smartshield_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/smartShield/outputs.ts b/src/generated/forge-mcp/smartShield/outputs.ts index 5b916216f..70b195c9a 100644 --- a/src/generated/forge-mcp/smartShield/outputs.ts +++ b/src/generated/forge-mcp/smartShield/outputs.ts @@ -81,13 +81,6 @@ export const smartshield_api$$response$$result: JsonSchema = { ] }; -/** - * The schema of `smartshield_identifier` in responses. - */ -export const smartshield_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `smartshield_messages` in responses. */ diff --git a/src/generated/forge-mcp/smartShield/schemas.ts b/src/generated/forge-mcp/smartShield/schemas.ts index 5182ffc87..bcf1ecacc 100644 --- a/src/generated/forge-mcp/smartShield/schemas.ts +++ b/src/generated/forge-mcp/smartShield/schemas.ts @@ -54,14 +54,6 @@ export const smartshield_api$$response$$result: JsonSchema = { ] }; -/** - * The schema of `smartshield_identifier`. - */ -export const smartshield_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - /** * The schema of `smartshield_messages`. */ diff --git a/src/generated/forge-mcp/smartShield/tools.ts b/src/generated/forge-mcp/smartShield/tools.ts index 0e841f17d..601a621fc 100644 --- a/src/generated/forge-mcp/smartShield/tools.ts +++ b/src/generated/forge-mcp/smartShield/tools.ts @@ -13,10 +13,7 @@ import { smartshield_smart_shield_settings_get_response, smartshield_smart_shield_settings_patch_response, } from "./outputs.js"; -import { - smartshield_identifier, - smartshield_smart_shield_settings_patch_body, -} from "./schemas.js"; +import { smartshield_smart_shield_settings_patch_body } from "./schemas.js"; /** * The tools of `smartShield`. @@ -25,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "smartShield_get", title: "Get Smart Shield Settings", - description: "Retrieve Smart Shield Settings.", + description: "Retrieve Smart Shield Settings.\n\nGET /zones/{zone_id}/smart_shield", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -45,9 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "smartshield_identifier": smartshield_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -134,7 +130,7 @@ export const tools: readonly Tool[] = [ { name: "smartShield_update", title: "Patch Smart Shield Settings", - description: "Set Smart Shield Settings.", + description: "Set Smart Shield Settings.\n\nPATCH /zones/{zone_id}/smart_shield", inputSchema: { type: "object", properties: { @@ -142,10 +138,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/smartshield_smart_shield_settings_patch_body" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/smartshield_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -158,8 +155,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "smartshield_identifier": smartshield_identifier, "smartshield_smart_shield_settings_patch_body": smartshield_smart_shield_settings_patch_body, }, }, diff --git a/src/generated/forge-mcp/snippets/content/tools.ts b/src/generated/forge-mcp/snippets/content/tools.ts index 3baace432..518b7c202 100644 --- a/src/generated/forge-mcp/snippets/content/tools.ts +++ b/src/generated/forge-mcp/snippets/content/tools.ts @@ -8,7 +8,6 @@ import { snippets_Messages, snippets_Response, } from "../outputs.js"; -import { snippets_SnippetName, snippets_ZoneId } from "../schemas.js"; /** * The tools of `snippets.content`. @@ -17,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "snippets_content_get", title: "Get a zone snippet content", - description: "Fetches the content of a snippet belonging to the zone.", + description: "Fetches the content of a snippet belonging to the zone.\n\nGET /zones/{zone_id}/snippets/{snippet_name}/content", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "snippet_name": { - "$ref": "#/$defs/snippets_SnippetName", - "description": "Identify the snippet." + "description": "Identify the snippet.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "description": "Use this field to specify the unique ID of the zone.", + "type": "string" } }, "required": [ @@ -42,10 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "snippets_SnippetName": snippets_SnippetName, - "snippets_ZoneId": snippets_ZoneId, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/snippets/outputs.ts b/src/generated/forge-mcp/snippets/outputs.ts index 59156fe1b..78e8e15f9 100644 --- a/src/generated/forge-mcp/snippets/outputs.ts +++ b/src/generated/forge-mcp/snippets/outputs.ts @@ -41,20 +41,6 @@ export const snippets_Messages: JsonSchema = { "type": "array" }; -/** - * The schema of `snippets_Page` in responses. - */ -export const snippets_Page: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `snippets_PerPage` in responses. - */ -export const snippets_PerPage: JsonSchema = { - "type": "integer" -}; - /** * The schema of `snippets_Response` in responses. */ @@ -87,10 +73,10 @@ export const snippets_ResultInfo: JsonSchema = { "type": "integer" }, "page": { - "$ref": "#/$defs/snippets_Page" + "type": "integer" }, "per_page": { - "$ref": "#/$defs/snippets_PerPage" + "type": "integer" }, "total_count": { "type": "integer" @@ -123,7 +109,7 @@ export const snippets_Snippet: JsonSchema = { "type": "string" }, "snippet_name": { - "$ref": "#/$defs/snippets_SnippetName" + "type": "string" } }, "required": [ @@ -132,10 +118,3 @@ export const snippets_Snippet: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `snippets_SnippetName` in responses. - */ -export const snippets_SnippetName: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/snippets/rules/outputs.ts b/src/generated/forge-mcp/snippets/rules/outputs.ts index 02dc84285..1c5cecb6d 100644 --- a/src/generated/forge-mcp/snippets/rules/outputs.ts +++ b/src/generated/forge-mcp/snippets/rules/outputs.ts @@ -26,7 +26,7 @@ export const snippets_SnippetRules: JsonSchema = { "type": "string" }, "snippet_name": { - "$ref": "#/$defs/snippets_SnippetName" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/snippets/rules/schemas.ts b/src/generated/forge-mcp/snippets/rules/schemas.ts index 7acca667d..4dc4687ac 100644 --- a/src/generated/forge-mcp/snippets/rules/schemas.ts +++ b/src/generated/forge-mcp/snippets/rules/schemas.ts @@ -25,8 +25,8 @@ export const snippets_SnippetRules: JsonSchema = { "type": "string" }, "snippet_name": { - "$ref": "#/$defs/snippets_SnippetName", - "description": "Identify the snippet." + "description": "Identify the snippet.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/snippets/rules/tools.ts b/src/generated/forge-mcp/snippets/rules/tools.ts index 3a27c49e7..9da71229d 100644 --- a/src/generated/forge-mcp/snippets/rules/tools.ts +++ b/src/generated/forge-mcp/snippets/rules/tools.ts @@ -7,12 +7,7 @@ import { snippets_Message, snippets_Messages, snippets_Response, - snippets_SnippetName, } from "../outputs.js"; -import { - snippets_SnippetName as snippets_SnippetName$, - snippets_ZoneId, -} from "../schemas.js"; import { snippets_SnippetRules } from "./outputs.js"; import { snippets_SnippetRules as snippets_SnippetRules$ } from "./schemas.js"; @@ -23,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "snippets_rules_delete", title: "Delete zone snippet rules", - description: "Deletes all snippet rules belonging to the zone.", + description: "Deletes all snippet rules belonging to the zone.\n\nDELETE /zones/{zone_id}/snippets/snippet_rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "description": "Use this field to specify the unique ID of the zone.", + "type": "string" } }, "required": [ @@ -43,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "snippets_ZoneId": snippets_ZoneId, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -73,7 +67,6 @@ export const tools: readonly Tool[] = [ "snippets_Message": snippets_Message, "snippets_Messages": snippets_Messages, "snippets_Response": snippets_Response, - "snippets_SnippetName": snippets_SnippetName, "snippets_SnippetRules": snippets_SnippetRules, }, }, @@ -169,7 +162,6 @@ export const tools: readonly Tool[] = [ "snippets_Message": snippets_Message, "snippets_Messages": snippets_Messages, "snippets_Response": snippets_Response, - "snippets_SnippetName": snippets_SnippetName, "snippets_SnippetRules": snippets_SnippetRules, }, }, @@ -180,15 +172,16 @@ export const tools: readonly Tool[] = [ { name: "snippets_rules_list", title: "List zone snippet rules", - description: "Fetches all snippet rules belonging to the zone.", + description: "Fetches all snippet rules belonging to the zone.\n\nGET /zones/{zone_id}/snippets/snippet_rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "description": "Use this field to specify the unique ID of the zone.", + "type": "string" } }, "required": [ @@ -200,9 +193,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "snippets_ZoneId": snippets_ZoneId, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -230,7 +221,6 @@ export const tools: readonly Tool[] = [ "snippets_Message": snippets_Message, "snippets_Messages": snippets_Messages, "snippets_Response": snippets_Response, - "snippets_SnippetName": snippets_SnippetName, "snippets_SnippetRules": snippets_SnippetRules, }, }, @@ -327,7 +317,6 @@ export const tools: readonly Tool[] = [ "snippets_Message": snippets_Message, "snippets_Messages": snippets_Messages, "snippets_Response": snippets_Response, - "snippets_SnippetName": snippets_SnippetName, "snippets_SnippetRules": snippets_SnippetRules, }, }, @@ -338,7 +327,7 @@ export const tools: readonly Tool[] = [ { name: "snippets_rules_update", title: "Update zone snippet rules", - description: "Updates all snippet rules belonging to the zone.", + description: "Updates all snippet rules belonging to the zone.\n\nPUT /zones/{zone_id}/snippets/snippet_rules", inputSchema: { type: "object", properties: { @@ -355,10 +344,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "description": "Use this field to specify the unique ID of the zone.", + "type": "string" } }, "required": [ @@ -371,10 +361,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "snippets_SnippetName": snippets_SnippetName$, "snippets_SnippetRules": snippets_SnippetRules$, - "snippets_ZoneId": snippets_ZoneId, }, }, outputSchema: { @@ -403,7 +392,6 @@ export const tools: readonly Tool[] = [ "snippets_Message": snippets_Message, "snippets_Messages": snippets_Messages, "snippets_Response": snippets_Response, - "snippets_SnippetName": snippets_SnippetName, "snippets_SnippetRules": snippets_SnippetRules, }, }, @@ -499,7 +487,6 @@ export const tools: readonly Tool[] = [ "snippets_Message": snippets_Message, "snippets_Messages": snippets_Messages, "snippets_Response": snippets_Response, - "snippets_SnippetName": snippets_SnippetName, "snippets_SnippetRules": snippets_SnippetRules, }, }, diff --git a/src/generated/forge-mcp/snippets/schemas.ts b/src/generated/forge-mcp/snippets/schemas.ts deleted file mode 100644 index 62897dacf..000000000 --- a/src/generated/forge-mcp/snippets/schemas.ts +++ /dev/null @@ -1,36 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `snippets_Page`. - */ -export const snippets_Page: JsonSchema = { - "description": "Specifies the current page number.", - "type": "integer" -}; - -/** - * The schema of `snippets_PerPage`. - */ -export const snippets_PerPage: JsonSchema = { - "description": "Specifies how many results to return per page.", - "type": "integer" -}; - -/** - * The schema of `snippets_SnippetName`. - */ -export const snippets_SnippetName: JsonSchema = { - "description": "Identify the snippet.", - "type": "string" -}; - -/** - * The schema of `snippets_ZoneId`. - */ -export const snippets_ZoneId: JsonSchema = { - "description": "Use this field to specify the unique ID of the zone.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/snippets/tools.ts b/src/generated/forge-mcp/snippets/tools.ts index 6edb43809..3308be7a4 100644 --- a/src/generated/forge-mcp/snippets/tools.ts +++ b/src/generated/forge-mcp/snippets/tools.ts @@ -6,19 +6,10 @@ import { snippets_Errors, snippets_Message, snippets_Messages, - snippets_Page, - snippets_PerPage, snippets_Response, snippets_ResultInfo, snippets_Snippet, - snippets_SnippetName, } from "./outputs.js"; -import { - snippets_Page as snippets_Page$, - snippets_PerPage as snippets_PerPage$, - snippets_SnippetName as snippets_SnippetName$, - snippets_ZoneId, -} from "./schemas.js"; /** * The tools of `snippets`. @@ -27,19 +18,20 @@ export const tools: readonly Tool[] = [ { name: "snippets_delete", title: "Delete a zone snippet", - description: "Deletes a snippet belonging to the zone. Returns a 4XX response if the zone or snippet no longer exists.", + description: "Deletes a snippet belonging to the zone. Returns a 4XX response if the zone or snippet no longer exists.\n\nDELETE /zones/{zone_id}/snippets/{snippet_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "snippet_name": { - "$ref": "#/$defs/snippets_SnippetName", - "description": "Identify the snippet." + "description": "Identify the snippet.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "description": "Use this field to specify the unique ID of the zone.", + "type": "string" } }, "required": [ @@ -52,10 +44,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "snippets_SnippetName": snippets_SnippetName$, - "snippets_ZoneId": snippets_ZoneId, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -186,19 +175,20 @@ export const tools: readonly Tool[] = [ { name: "snippets_get", title: "Get a zone snippet", - description: "Fetches a snippet belonging to the zone.", + description: "Fetches a snippet belonging to the zone.\n\nGET /zones/{zone_id}/snippets/{snippet_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "snippet_name": { - "$ref": "#/$defs/snippets_SnippetName", - "description": "Identify the snippet." + "description": "Identify the snippet.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "description": "Use this field to specify the unique ID of the zone.", + "type": "string" } }, "required": [ @@ -211,10 +201,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "snippets_SnippetName": snippets_SnippetName$, - "snippets_ZoneId": snippets_ZoneId, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -243,7 +230,6 @@ export const tools: readonly Tool[] = [ "snippets_Messages": snippets_Messages, "snippets_Response": snippets_Response, "snippets_Snippet": snippets_Snippet, - "snippets_SnippetName": snippets_SnippetName, }, }, annotations: { @@ -340,7 +326,6 @@ export const tools: readonly Tool[] = [ "snippets_Messages": snippets_Messages, "snippets_Response": snippets_Response, "snippets_Snippet": snippets_Snippet, - "snippets_SnippetName": snippets_SnippetName, }, }, request: (args) => ({ @@ -350,15 +335,16 @@ export const tools: readonly Tool[] = [ { name: "snippets_list", title: "List zone snippets", - description: "Fetches all snippets belonging to the zone.", + description: "Fetches all snippets belonging to the zone.\n\nGET /zones/{zone_id}/snippets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/snippets_ZoneId", - "description": "Use this field to specify the unique ID of the zone." + "description": "Use this field to specify the unique ID of the zone.", + "type": "string" } }, "required": [ @@ -367,16 +353,17 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { - "$ref": "#/$defs/snippets_Page", "default": 1, - "description": "Specifies the current page number." + "description": "Specifies the current page number.", + "type": "integer" }, "per_page": { - "$ref": "#/$defs/snippets_PerPage", "default": 25, - "description": "Specifies how many results to return per page." + "description": "Specifies how many results to return per page.", + "type": "integer" } }, "type": "object" @@ -385,11 +372,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "snippets_Page": snippets_Page$, - "snippets_PerPage": snippets_PerPage$, - "snippets_ZoneId": snippets_ZoneId, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -422,12 +405,9 @@ export const tools: readonly Tool[] = [ "snippets_Errors": snippets_Errors, "snippets_Message": snippets_Message, "snippets_Messages": snippets_Messages, - "snippets_Page": snippets_Page, - "snippets_PerPage": snippets_PerPage, "snippets_Response": snippets_Response, "snippets_ResultInfo": snippets_ResultInfo, "snippets_Snippet": snippets_Snippet, - "snippets_SnippetName": snippets_SnippetName, }, }, annotations: { @@ -528,12 +508,9 @@ export const tools: readonly Tool[] = [ "snippets_Errors": snippets_Errors, "snippets_Message": snippets_Message, "snippets_Messages": snippets_Messages, - "snippets_Page": snippets_Page, - "snippets_PerPage": snippets_PerPage, "snippets_Response": snippets_Response, "snippets_ResultInfo": snippets_ResultInfo, "snippets_Snippet": snippets_Snippet, - "snippets_SnippetName": snippets_SnippetName, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/outputs.ts index e98bac182..1ab4bb805 100644 --- a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/outputs.ts +++ b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/outputs.ts @@ -22,7 +22,7 @@ export const spectrum$$analytics_query$$response$$aggregate: JsonSchema = { "type": "string" }, { - "$ref": "#/$defs/spectrum-analytics_identifier" + "type": "string" } ] }, diff --git a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/schemas.ts b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/schemas.ts deleted file mode 100644 index ddb0a7358..000000000 --- a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../../_/tool.js"; - -/** - * The schema of `spectrum-analytics_app_id_param`. - */ -export const spectrum$$analytics_app_id_param: JsonSchema = { - "description": "Comma-delimited list of Spectrum Application Id(s). If provided, the response will be limited to Spectrum Application Id(s) that match.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts index a70416fde..a187d9e2c 100644 --- a/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/aggregates/currents/tools.ts @@ -5,12 +5,9 @@ import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { spectrum$$analytics_api$$response$$common$$failure, spectrum$$analytics_api$$response$$single, - spectrum$$analytics_identifier, spectrum$$analytics_messages, } from "../../outputs.js"; -import { spectrum$$analytics_identifier as spectrum$$analytics_identifier$ } from "../../schemas.js"; import { spectrum$$analytics_query$$response$$aggregate } from "./outputs.js"; -import { spectrum$$analytics_app_id_param } from "./schemas.js"; /** * The tools of `spectrum.analytics.aggregates.currents`. @@ -19,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "spectrum_analytics_aggregates_currents_get", title: "Get current aggregated analytics", - description: "Retrieves analytics aggregated from the last minute of usage on Spectrum applications underneath a given zone.", + description: "Retrieves analytics aggregated from the last minute of usage on Spectrum applications underneath a given zone.\n\nGET /zones/{zone_id}/spectrum/analytics/aggregate/current", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/spectrum-analytics_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -36,10 +34,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "appID": { - "$ref": "#/$defs/spectrum-analytics_app_id_param", - "description": "Comma-delimited list of Spectrum Application Id(s). If provided, the response will be limited to Spectrum Application Id(s) that match." + "description": "Comma-delimited list of Spectrum Application Id(s). If provided, the response will be limited to Spectrum Application Id(s) that match.", + "type": "string" }, "colo_name": { "description": "Co-location identifier.", @@ -52,16 +51,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "spectrum-analytics_app_id_param": spectrum$$analytics_app_id_param, - "spectrum-analytics_identifier": spectrum$$analytics_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/spectrum-analytics_query-response-aggregate", $defs: { "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, - "spectrum-analytics_identifier": spectrum$$analytics_identifier, "spectrum-analytics_messages": spectrum$$analytics_messages, "spectrum-analytics_query-response-aggregate": spectrum$$analytics_query$$response$$aggregate, }, @@ -92,7 +87,6 @@ export const tools: readonly Tool[] = [ $defs: { "spectrum-analytics_api-response-common-failure": spectrum$$analytics_api$$response$$common$$failure, "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, - "spectrum-analytics_identifier": spectrum$$analytics_identifier, "spectrum-analytics_messages": spectrum$$analytics_messages, "spectrum-analytics_query-response-aggregate": spectrum$$analytics_query$$response$$aggregate, }, diff --git a/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts b/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts index b3626d017..785287180 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/bytimes/tools.ts @@ -6,20 +6,10 @@ import { spectrum$$analytics_api$$response$$common$$failure, spectrum$$analytics_api$$response$$single, spectrum$$analytics_messages, - spectrum$$analytics_since, - spectrum$$analytics_timestamp, - spectrum$$analytics_until, } from "../../outputs.js"; -import { - spectrum$$analytics_identifier, - spectrum$$analytics_since as spectrum$$analytics_since$, - spectrum$$analytics_timestamp as spectrum$$analytics_timestamp$, - spectrum$$analytics_until as spectrum$$analytics_until$, -} from "../../schemas.js"; import { spectrum$$analytics_column, spectrum$$analytics_dimensions, - spectrum$$analytics_filters, spectrum$$analytics_metrics, spectrum$$analytics_query, spectrum$$analytics_query$$response$$single, @@ -28,7 +18,6 @@ import { } from "../outputs.js"; import { spectrum$$analytics_dimensions as spectrum$$analytics_dimensions$, - spectrum$$analytics_filters as spectrum$$analytics_filters$, spectrum$$analytics_metrics as spectrum$$analytics_metrics$, spectrum$$analytics_sort as spectrum$$analytics_sort$, } from "../schemas.js"; @@ -40,15 +29,16 @@ export const tools: readonly Tool[] = [ { name: "spectrum_analytics_events_bytimes_get", title: "Get analytics by time", - description: "Retrieves a list of aggregate metrics grouped by time interval.", + description: "Retrieves a list of aggregate metrics grouped by time interval.\n\nGET /zones/{zone_id}/spectrum/analytics/events/bytime", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/spectrum-analytics_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -57,21 +47,30 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dimensions": { "$ref": "#/$defs/spectrum-analytics_dimensions", "description": "Can be used to break down the data by given attributes. Options are:\n\nDimension | Name | Example\n--------------------------|---------------------------------|--------------------------\nevent | Connection Event | connect, progress, disconnect, originError, clientFiltered\nappID | Application ID | 40d67c87c6cd4b889a4fd57805225e85\ncoloName | Colo Name | SFO\nipVersion | IP version used by the client | 4, 6." }, "filters": { - "$ref": "#/$defs/spectrum-analytics_filters", - "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters." + "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters.", + "type": "string" }, "metrics": { "$ref": "#/$defs/spectrum-analytics_metrics", "description": "One or more metrics to compute. Options are:\n\nMetric | Name | Example | Unit\n--------------------------|-------------------------------------|--------------------------|--------------------------\ncount | Count of total events | 1000 | Count\nbytesIngress | Sum of ingress bytes | 1000 | Sum\nbytesEgress | Sum of egress bytes | 1000 | Sum\ndurationAvg | Average connection duration | 1.0 | Time in milliseconds\ndurationMedian | Median connection duration | 1.0 | Time in milliseconds\nduration90th | 90th percentile connection duration | 1.0 | Time in milliseconds\nduration99th | 99th percentile connection duration | 1.0 | Time in milliseconds." }, "since": { - "$ref": "#/$defs/spectrum-analytics_since" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "sort": { "$ref": "#/$defs/spectrum-analytics_sort", @@ -92,7 +91,15 @@ export const tools: readonly Tool[] = [ "type": "string" }, "until": { - "$ref": "#/$defs/spectrum-analytics_until" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "required": [ @@ -105,15 +112,11 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, $defs: { "spectrum-analytics_dimensions": spectrum$$analytics_dimensions$, - "spectrum-analytics_filters": spectrum$$analytics_filters$, - "spectrum-analytics_identifier": spectrum$$analytics_identifier, "spectrum-analytics_metrics": spectrum$$analytics_metrics$, - "spectrum-analytics_since": spectrum$$analytics_since$, "spectrum-analytics_sort": spectrum$$analytics_sort$, - "spectrum-analytics_timestamp": spectrum$$analytics_timestamp$, - "spectrum-analytics_until": spectrum$$analytics_until$, }, }, outputSchema: { @@ -122,16 +125,12 @@ export const tools: readonly Tool[] = [ "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, "spectrum-analytics_column": spectrum$$analytics_column, "spectrum-analytics_dimensions": spectrum$$analytics_dimensions, - "spectrum-analytics_filters": spectrum$$analytics_filters, "spectrum-analytics_messages": spectrum$$analytics_messages, "spectrum-analytics_metrics": spectrum$$analytics_metrics, "spectrum-analytics_query": spectrum$$analytics_query, "spectrum-analytics_query-response-single": spectrum$$analytics_query$$response$$single, - "spectrum-analytics_since": spectrum$$analytics_since, "spectrum-analytics_sort": spectrum$$analytics_sort, "spectrum-analytics_stat": spectrum$$analytics_stat, - "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, - "spectrum-analytics_until": spectrum$$analytics_until, }, }, annotations: { @@ -162,16 +161,12 @@ export const tools: readonly Tool[] = [ "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, "spectrum-analytics_column": spectrum$$analytics_column, "spectrum-analytics_dimensions": spectrum$$analytics_dimensions, - "spectrum-analytics_filters": spectrum$$analytics_filters, "spectrum-analytics_messages": spectrum$$analytics_messages, "spectrum-analytics_metrics": spectrum$$analytics_metrics, "spectrum-analytics_query": spectrum$$analytics_query, "spectrum-analytics_query-response-single": spectrum$$analytics_query$$response$$single, - "spectrum-analytics_since": spectrum$$analytics_since, "spectrum-analytics_sort": spectrum$$analytics_sort, "spectrum-analytics_stat": spectrum$$analytics_stat, - "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, - "spectrum-analytics_until": spectrum$$analytics_until, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts index 22d48dff2..f30355814 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/outputs.ts @@ -53,13 +53,6 @@ export const spectrum$$analytics_dimensions: JsonSchema = { "type": "array" }; -/** - * The schema of `spectrum-analytics_filters` in responses. - */ -export const spectrum$$analytics_filters: JsonSchema = { - "type": "string" -}; - /** * The schema of `spectrum-analytics_metrics` in responses. */ @@ -88,7 +81,7 @@ export const spectrum$$analytics_query: JsonSchema = { "$ref": "#/$defs/spectrum-analytics_dimensions" }, "filters": { - "$ref": "#/$defs/spectrum-analytics_filters" + "type": "string" }, "limit": { "type": "number" @@ -97,13 +90,29 @@ export const spectrum$$analytics_query: JsonSchema = { "$ref": "#/$defs/spectrum-analytics_metrics" }, "since": { - "$ref": "#/$defs/spectrum-analytics_since" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "sort": { "$ref": "#/$defs/spectrum-analytics_sort" }, "until": { - "$ref": "#/$defs/spectrum-analytics_until" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" @@ -145,7 +154,8 @@ export const spectrum$$analytics_query$$response$$single: JsonSchema = { "time_intervals": { "items": { "items": { - "$ref": "#/$defs/spectrum-analytics_timestamp" + "format": "date-time", + "type": "string" }, "type": "array" }, diff --git a/src/generated/forge-mcp/spectrum/analytics/events/schemas.ts b/src/generated/forge-mcp/spectrum/analytics/events/schemas.ts index 2ceaff914..65f4867e9 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/schemas.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/schemas.ts @@ -20,14 +20,6 @@ export const spectrum$$analytics_dimensions: JsonSchema = { "type": "array" }; -/** - * The schema of `spectrum-analytics_filters`. - */ -export const spectrum$$analytics_filters: JsonSchema = { - "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters.", - "type": "string" -}; - /** * The schema of `spectrum-analytics_metrics`. */ diff --git a/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts b/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts index 6e27c0fdb..805297315 100644 --- a/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/events/summaries/tools.ts @@ -6,20 +6,10 @@ import { spectrum$$analytics_api$$response$$common$$failure, spectrum$$analytics_api$$response$$single, spectrum$$analytics_messages, - spectrum$$analytics_since, - spectrum$$analytics_timestamp, - spectrum$$analytics_until, } from "../../outputs.js"; -import { - spectrum$$analytics_identifier, - spectrum$$analytics_since as spectrum$$analytics_since$, - spectrum$$analytics_timestamp as spectrum$$analytics_timestamp$, - spectrum$$analytics_until as spectrum$$analytics_until$, -} from "../../schemas.js"; import { spectrum$$analytics_column, spectrum$$analytics_dimensions, - spectrum$$analytics_filters, spectrum$$analytics_metrics, spectrum$$analytics_query, spectrum$$analytics_query$$response$$single, @@ -28,7 +18,6 @@ import { } from "../outputs.js"; import { spectrum$$analytics_dimensions as spectrum$$analytics_dimensions$, - spectrum$$analytics_filters as spectrum$$analytics_filters$, spectrum$$analytics_metrics as spectrum$$analytics_metrics$, spectrum$$analytics_sort as spectrum$$analytics_sort$, } from "../schemas.js"; @@ -40,15 +29,16 @@ export const tools: readonly Tool[] = [ { name: "spectrum_analytics_events_summaries_get", title: "Get analytics summary", - description: "Retrieves a list of summarised aggregate metrics over a given time period.", + description: "Retrieves a list of summarised aggregate metrics over a given time period.\n\nGET /zones/{zone_id}/spectrum/analytics/events/summary", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/spectrum-analytics_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -57,28 +47,45 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "dimensions": { "$ref": "#/$defs/spectrum-analytics_dimensions", "description": "Can be used to break down the data by given attributes. Options are:\n\nDimension | Name | Example\n--------------------------|---------------------------------|--------------------------\nevent | Connection Event | connect, progress, disconnect, originError, clientFiltered\nappID | Application ID | 40d67c87c6cd4b889a4fd57805225e85\ncoloName | Colo Name | SFO\nipVersion | IP version used by the client | 4, 6." }, "filters": { - "$ref": "#/$defs/spectrum-analytics_filters", - "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters." + "description": "Used to filter rows by one or more dimensions. Filters can be combined using OR and AND boolean logic. AND takes precedence over OR in all the expressions. The OR operator is defined using a comma (,) or OR keyword surrounded by whitespace. The AND operator is defined using a semicolon (;) or AND keyword surrounded by whitespace. Note that the semicolon is a reserved character in URLs (rfc1738) and needs to be percent-encoded as %3B. Comparison options are:\n\nOperator | Name | URL Encoded\n--------------------------|---------------------------------|--------------------------\n== | Equals | %3D%3D\n!= | Does not equals | !%3D\n\\> | Greater Than | %3E\n\\< | Less Than | %3C\n\\>= | Greater than or equal to | %3E%3D\n\\<= | Less than or equal to | %3C%3D\n\nUse the above to construct filters.", + "type": "string" }, "metrics": { "$ref": "#/$defs/spectrum-analytics_metrics", "description": "One or more metrics to compute. Options are:\n\nMetric | Name | Example | Unit\n--------------------------|-------------------------------------|--------------------------|--------------------------\ncount | Count of total events | 1000 | Count\nbytesIngress | Sum of ingress bytes | 1000 | Sum\nbytesEgress | Sum of egress bytes | 1000 | Sum\ndurationAvg | Average connection duration | 1.0 | Time in milliseconds\ndurationMedian | Median connection duration | 1.0 | Time in milliseconds\nduration90th | 90th percentile connection duration | 1.0 | Time in milliseconds\nduration99th | 99th percentile connection duration | 1.0 | Time in milliseconds." }, "since": { - "$ref": "#/$defs/spectrum-analytics_since" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "sort": { "$ref": "#/$defs/spectrum-analytics_sort", "description": "The sort order for the result set; sort fields must be included in `metrics` or `dimensions`." }, "until": { - "$ref": "#/$defs/spectrum-analytics_until" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" @@ -87,15 +94,11 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "spectrum-analytics_dimensions": spectrum$$analytics_dimensions$, - "spectrum-analytics_filters": spectrum$$analytics_filters$, - "spectrum-analytics_identifier": spectrum$$analytics_identifier, "spectrum-analytics_metrics": spectrum$$analytics_metrics$, - "spectrum-analytics_since": spectrum$$analytics_since$, "spectrum-analytics_sort": spectrum$$analytics_sort$, - "spectrum-analytics_timestamp": spectrum$$analytics_timestamp$, - "spectrum-analytics_until": spectrum$$analytics_until$, }, }, outputSchema: { @@ -104,16 +107,12 @@ export const tools: readonly Tool[] = [ "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, "spectrum-analytics_column": spectrum$$analytics_column, "spectrum-analytics_dimensions": spectrum$$analytics_dimensions, - "spectrum-analytics_filters": spectrum$$analytics_filters, "spectrum-analytics_messages": spectrum$$analytics_messages, "spectrum-analytics_metrics": spectrum$$analytics_metrics, "spectrum-analytics_query": spectrum$$analytics_query, "spectrum-analytics_query-response-single": spectrum$$analytics_query$$response$$single, - "spectrum-analytics_since": spectrum$$analytics_since, "spectrum-analytics_sort": spectrum$$analytics_sort, "spectrum-analytics_stat": spectrum$$analytics_stat, - "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, - "spectrum-analytics_until": spectrum$$analytics_until, }, }, annotations: { @@ -144,16 +143,12 @@ export const tools: readonly Tool[] = [ "spectrum-analytics_api-response-single": spectrum$$analytics_api$$response$$single, "spectrum-analytics_column": spectrum$$analytics_column, "spectrum-analytics_dimensions": spectrum$$analytics_dimensions, - "spectrum-analytics_filters": spectrum$$analytics_filters, "spectrum-analytics_messages": spectrum$$analytics_messages, "spectrum-analytics_metrics": spectrum$$analytics_metrics, "spectrum-analytics_query": spectrum$$analytics_query, "spectrum-analytics_query-response-single": spectrum$$analytics_query$$response$$single, - "spectrum-analytics_since": spectrum$$analytics_since, "spectrum-analytics_sort": spectrum$$analytics_sort, "spectrum-analytics_stat": spectrum$$analytics_stat, - "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, - "spectrum-analytics_until": spectrum$$analytics_until, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/spectrum/analytics/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/outputs.ts index 6d856f050..ab5889d50 100644 --- a/src/generated/forge-mcp/spectrum/analytics/outputs.ts +++ b/src/generated/forge-mcp/spectrum/analytics/outputs.ts @@ -59,13 +59,6 @@ export const spectrum$$analytics_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `spectrum-analytics_identifier` in responses. - */ -export const spectrum$$analytics_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `spectrum-analytics_messages` in responses. */ @@ -98,39 +91,3 @@ export const spectrum$$analytics_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `spectrum-analytics_since` in responses. - */ -export const spectrum$$analytics_since: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/spectrum-analytics_timestamp" - } - ] -}; - -/** - * The schema of `spectrum-analytics_timestamp` in responses. - */ -export const spectrum$$analytics_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `spectrum-analytics_until` in responses. - */ -export const spectrum$$analytics_until: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/spectrum-analytics_timestamp" - } - ] -}; diff --git a/src/generated/forge-mcp/spectrum/analytics/schemas.ts b/src/generated/forge-mcp/spectrum/analytics/schemas.ts deleted file mode 100644 index b2f10efe8..000000000 --- a/src/generated/forge-mcp/spectrum/analytics/schemas.ts +++ /dev/null @@ -1,48 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `spectrum-analytics_identifier`. - */ -export const spectrum$$analytics_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `spectrum-analytics_since`. - */ -export const spectrum$$analytics_since: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/spectrum-analytics_timestamp" - } - ] -}; - -/** - * The schema of `spectrum-analytics_timestamp`. - */ -export const spectrum$$analytics_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `spectrum-analytics_until`. - */ -export const spectrum$$analytics_until: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/spectrum-analytics_timestamp" - } - ] -}; diff --git a/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts b/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts index 70f11891d..edc51950f 100644 --- a/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts +++ b/src/generated/forge-mcp/spectrum/analytics/zones/report/outputs.ts @@ -98,7 +98,7 @@ export const spectrum$$analytics_zone_report: JsonSchema = { "type": "object" }, "zone_id": { - "$ref": "#/$defs/spectrum-analytics_identifier" + "type": "string" } }, "required": [ @@ -121,10 +121,26 @@ export const spectrum$$analytics_zones_report_response: JsonSchema = { "query": { "properties": { "since": { - "$ref": "#/$defs/spectrum-analytics_since" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "until": { - "$ref": "#/$defs/spectrum-analytics_until" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "required": [ diff --git a/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts b/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts index 3768e0d37..0ae797941 100644 --- a/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts +++ b/src/generated/forge-mcp/spectrum/analytics/zones/report/tools.ts @@ -4,17 +4,8 @@ import { type Tool, param } from "../../../../_/tool.js"; import { spectrum$$analytics_api$$response$$common$$failure, - spectrum$$analytics_identifier, spectrum$$analytics_messages, - spectrum$$analytics_since, - spectrum$$analytics_timestamp, - spectrum$$analytics_until, } from "../../outputs.js"; -import { - spectrum$$analytics_since as spectrum$$analytics_since$, - spectrum$$analytics_timestamp as spectrum$$analytics_timestamp$, - spectrum$$analytics_until as spectrum$$analytics_until$, -} from "../../schemas.js"; import { spectrum$$analytics_api$$response$$collection, spectrum$$analytics_api$$response$$common, @@ -29,11 +20,12 @@ export const tools: readonly Tool[] = [ { name: "spectrum_analytics_zones_report_get", title: "Get zones bandwidth report", - description: "Retrieves a list of total bandwidth by zone over a given time period.", + description: "Retrieves a list of total bandwidth by zone over a given time period.\n\nGET /user/spectrum_analytics/zones/report", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "cdn_traffic": { "default": true, @@ -41,31 +33,39 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "since": { - "$ref": "#/$defs/spectrum-analytics_since" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "until": { - "$ref": "#/$defs/spectrum-analytics_until" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" } }, - $defs: { - "spectrum-analytics_since": spectrum$$analytics_since$, - "spectrum-analytics_timestamp": spectrum$$analytics_timestamp$, - "spectrum-analytics_until": spectrum$$analytics_until$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/spectrum-analytics_zones_report_response", $defs: { "spectrum-analytics_api-response-collection": spectrum$$analytics_api$$response$$collection, "spectrum-analytics_api-response-common": spectrum$$analytics_api$$response$$common, - "spectrum-analytics_identifier": spectrum$$analytics_identifier, "spectrum-analytics_messages": spectrum$$analytics_messages, - "spectrum-analytics_since": spectrum$$analytics_since, - "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, - "spectrum-analytics_until": spectrum$$analytics_until, "spectrum-analytics_zone_report": spectrum$$analytics_zone_report, "spectrum-analytics_zones_report_response": spectrum$$analytics_zones_report_response, }, @@ -98,11 +98,7 @@ export const tools: readonly Tool[] = [ "spectrum-analytics_api-response-collection": spectrum$$analytics_api$$response$$collection, "spectrum-analytics_api-response-common": spectrum$$analytics_api$$response$$common, "spectrum-analytics_api-response-common-failure": spectrum$$analytics_api$$response$$common$$failure, - "spectrum-analytics_identifier": spectrum$$analytics_identifier, "spectrum-analytics_messages": spectrum$$analytics_messages, - "spectrum-analytics_since": spectrum$$analytics_since, - "spectrum-analytics_timestamp": spectrum$$analytics_timestamp, - "spectrum-analytics_until": spectrum$$analytics_until, "spectrum-analytics_zone_report": spectrum$$analytics_zone_report, "spectrum-analytics_zones_report_response": spectrum$$analytics_zones_report_response, }, diff --git a/src/generated/forge-mcp/spectrum/apps/outputs.ts b/src/generated/forge-mcp/spectrum/apps/outputs.ts index e6b3ebe3f..51ce1db71 100644 --- a/src/generated/forge-mcp/spectrum/apps/outputs.ts +++ b/src/generated/forge-mcp/spectrum/apps/outputs.ts @@ -44,7 +44,7 @@ export const spectrum$$config_api$$response$$single$$id: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/spectrum-config_identifier" + "type": "string" } }, "required": [ @@ -74,7 +74,7 @@ export const spectrum$$config_app_config: JsonSchema = { { "properties": { "argo_smart_routing": { - "$ref": "#/$defs/spectrum-config_argo_smart_routing" + "type": "boolean" }, "dns": { "$ref": "#/$defs/spectrum-config_dns" @@ -83,7 +83,7 @@ export const spectrum$$config_app_config: JsonSchema = { "$ref": "#/$defs/spectrum-config_edge_ips" }, "ip_firewall": { - "$ref": "#/$defs/spectrum-config_ip_firewall" + "type": "boolean" }, "origin_direct": { "$ref": "#/$defs/spectrum-config_origin_direct" @@ -92,25 +92,51 @@ export const spectrum$$config_app_config: JsonSchema = { "$ref": "#/$defs/spectrum-config_origin_dns" }, "origin_port": { - "$ref": "#/$defs/spectrum-config_origin_port" + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ] }, "origin_worker_id": { - "$ref": "#/$defs/spectrum-config_origin_worker_id" + "type": "string" }, "protocol": { - "$ref": "#/$defs/spectrum-config_protocol" + "type": "string" }, "proxy_protocol": { - "$ref": "#/$defs/spectrum-config_proxy_protocol" + "enum": [ + "off", + "v1", + "v2", + "simple" + ], + "type": "string" }, "tls": { - "$ref": "#/$defs/spectrum-config_tls" + "enum": [ + "off", + "flexible", + "full", + "strict" + ], + "type": "string" }, "traffic_type": { - "$ref": "#/$defs/spectrum-config_traffic_type" + "enum": [ + "direct", + "http", + "https", + "worker" + ], + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/spectrum-config_virtual_network_id" + "format": "uuid", + "type": "string" } }, "required": [ @@ -181,33 +207,21 @@ export const spectrum$$config_app_config_single: JsonSchema = { ] }; -/** - * The schema of `spectrum-config_app_identifier` in responses. - */ -export const spectrum$$config_app_identifier: JsonSchema = { - "$ref": "#/$defs/spectrum-config_identifier" -}; - -/** - * The schema of `spectrum-config_argo_smart_routing` in responses. - */ -export const spectrum$$config_argo_smart_routing: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `spectrum-config_base_app_config` in responses. */ export const spectrum$$config_base_app_config: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/spectrum-config_created" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/spectrum-config_app_identifier" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/spectrum-config_modified" + "format": "date-time", + "type": "string" } }, "required": [ @@ -218,53 +232,25 @@ export const spectrum$$config_base_app_config: JsonSchema = { "type": "object" }; -/** - * The schema of `spectrum-config_created` in responses. - */ -export const spectrum$$config_created: JsonSchema = { - "$ref": "#/$defs/spectrum-config_timestamp" -}; - /** * The schema of `spectrum-config_dns` in responses. */ export const spectrum$$config_dns: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/spectrum-config_dns_name" + "type": "string" }, "type": { - "$ref": "#/$defs/spectrum-config_dns_type" + "enum": [ + "CNAME", + "ADDRESS" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `spectrum-config_dns_name` in responses. - */ -export const spectrum$$config_dns_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `spectrum-config_dns_ttl` in responses. - */ -export const spectrum$$config_dns_ttl: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `spectrum-config_dns_type` in responses. - */ -export const spectrum$$config_dns_type: JsonSchema = { - "enum": [ - "CNAME", - "ADDRESS" - ], - "type": "string" -}; - /** * The schema of `spectrum-config_edge_ips` in responses. */ @@ -309,20 +295,6 @@ export const spectrum$$config_edge_ips: JsonSchema = { ] }; -/** - * The schema of `spectrum-config_ip_firewall` in responses. - */ -export const spectrum$$config_ip_firewall: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `spectrum-config_modified` in responses. - */ -export const spectrum$$config_modified: JsonSchema = { - "$ref": "#/$defs/spectrum-config_timestamp" -}; - /** * The schema of `spectrum-config_origin_direct` in responses. */ @@ -339,59 +311,24 @@ export const spectrum$$config_origin_direct: JsonSchema = { export const spectrum$$config_origin_dns: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/spectrum-config_origin_dns_name" + "type": "string" }, "ttl": { - "$ref": "#/$defs/spectrum-config_dns_ttl" + "type": "integer" }, "type": { - "$ref": "#/$defs/spectrum-config_origin_dns_type" + "enum": [ + "", + "A", + "AAAA", + "SRV" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `spectrum-config_origin_dns_name` in responses. - */ -export const spectrum$$config_origin_dns_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `spectrum-config_origin_dns_type` in responses. - */ -export const spectrum$$config_origin_dns_type: JsonSchema = { - "enum": [ - "", - "A", - "AAAA", - "SRV" - ], - "type": "string" -}; - -/** - * The schema of `spectrum-config_origin_port` in responses. - */ -export const spectrum$$config_origin_port: JsonSchema = { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ] -}; - -/** - * The schema of `spectrum-config_origin_worker_id` in responses. - */ -export const spectrum$$config_origin_worker_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `spectrum-config_paygo_app_config` in responses. */ @@ -409,7 +346,7 @@ export const spectrum$$config_paygo_app_config: JsonSchema = { "$ref": "#/$defs/spectrum-config_origin_direct" }, "protocol": { - "$ref": "#/$defs/spectrum-config_protocol" + "type": "string" } }, "required": [ @@ -420,65 +357,3 @@ export const spectrum$$config_paygo_app_config: JsonSchema = { } ] }; - -/** - * The schema of `spectrum-config_protocol` in responses. - */ -export const spectrum$$config_protocol: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `spectrum-config_proxy_protocol` in responses. - */ -export const spectrum$$config_proxy_protocol: JsonSchema = { - "enum": [ - "off", - "v1", - "v2", - "simple" - ], - "type": "string" -}; - -/** - * The schema of `spectrum-config_timestamp` in responses. - */ -export const spectrum$$config_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `spectrum-config_tls` in responses. - */ -export const spectrum$$config_tls: JsonSchema = { - "enum": [ - "off", - "flexible", - "full", - "strict" - ], - "type": "string" -}; - -/** - * The schema of `spectrum-config_traffic_type` in responses. - */ -export const spectrum$$config_traffic_type: JsonSchema = { - "enum": [ - "direct", - "http", - "https", - "worker" - ], - "type": "string" -}; - -/** - * The schema of `spectrum-config_virtual_network_id` in responses. - */ -export const spectrum$$config_virtual_network_id: JsonSchema = { - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/spectrum/apps/schemas.ts b/src/generated/forge-mcp/spectrum/apps/schemas.ts index 7e1176ec9..0f1fd0908 100644 --- a/src/generated/forge-mcp/spectrum/apps/schemas.ts +++ b/src/generated/forge-mcp/spectrum/apps/schemas.ts @@ -14,9 +14,9 @@ export const spectrum$$config_app_config: JsonSchema = { { "properties": { "argo_smart_routing": { - "$ref": "#/$defs/spectrum-config_argo_smart_routing", "default": false, - "description": "Enables Argo Smart Routing for this application.\nNotes: Only available for TCP or UDP applications with traffic_type set to \"direct\"." + "description": "Enables Argo Smart Routing for this application.\nNotes: Only available for TCP or UDP applications with traffic_type set to \"direct\".", + "type": "boolean" }, "dns": { "$ref": "#/$defs/spectrum-config_dns", @@ -31,9 +31,9 @@ export const spectrum$$config_app_config: JsonSchema = { "description": "The anycast edge IP configuration for the hostname of this application." }, "ip_firewall": { - "$ref": "#/$defs/spectrum-config_ip_firewall", "default": false, - "description": "Enables IP Access Rules for this application.\nNotes: Only available for TCP applications." + "description": "Enables IP Access Rules for this application.\nNotes: Only available for TCP applications.", + "type": "boolean" }, "origin_direct": { "$ref": "#/$defs/spectrum-config_origin_direct", @@ -44,35 +44,61 @@ export const spectrum$$config_app_config: JsonSchema = { "description": "The name and type of DNS record for the Spectrum application." }, "origin_port": { - "$ref": "#/$defs/spectrum-config_origin_port", + "anyOf": [ + { + "type": "integer" + }, + { + "type": "string" + } + ], "description": "The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example `1000`, or a string to specify a range of origin ports, for example `\"1000-2000\"`.\nNotes: If specifying a port range, the number of ports in the range must match the number of ports specified in the \"protocol\" field." }, "origin_worker_id": { - "$ref": "#/$defs/spectrum-config_origin_worker_id", - "description": "Optional Worker script tag (worker ID) to use as the application's origin. Only supported for TCP applications with traffic_type \"worker\"; mutually exclusive with origin_direct, origin_dns, origin_port, proxy_protocol, and argo_smart_routing. tls may only be \"off\" or \"flexible\"." + "description": "Optional Worker script tag (worker ID) to use as the application's origin. Only supported for TCP applications with traffic_type \"worker\"; mutually exclusive with origin_direct, origin_dns, origin_port, proxy_protocol, and argo_smart_routing. tls may only be \"off\" or \"flexible\".", + "type": "string" }, "protocol": { - "$ref": "#/$defs/spectrum-config_protocol", - "description": "The port configuration at Cloudflare's edge. May specify a single port, for example `\"tcp/1000\"`, or a range of ports, for example `\"tcp/1000-2000\"`." + "description": "The port configuration at Cloudflare's edge. May specify a single port, for example `\"tcp/1000\"`, or a range of ports, for example `\"tcp/1000-2000\"`.", + "type": "string" }, "proxy_protocol": { - "$ref": "#/$defs/spectrum-config_proxy_protocol", "default": "off", - "description": "Enables Proxy Protocol to the origin. Refer to [Enable Proxy protocol](https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/) for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol." + "description": "Enables Proxy Protocol to the origin. Refer to [Enable Proxy protocol](https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/) for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol.", + "enum": [ + "off", + "v1", + "v2", + "simple" + ], + "type": "string" }, "tls": { - "$ref": "#/$defs/spectrum-config_tls", "default": "off", - "description": "The type of TLS termination associated with the application." + "description": "The type of TLS termination associated with the application.", + "enum": [ + "off", + "flexible", + "full", + "strict" + ], + "type": "string" }, "traffic_type": { - "$ref": "#/$defs/spectrum-config_traffic_type", "default": "direct", - "description": "Determines how data travels from the edge to your origin. When set to \"direct\", Spectrum will send traffic directly to your origin, and the application's type is derived from the `protocol`. When set to \"http\" or \"https\", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. When set to \"worker\", traffic is sent to the Worker specified by `origin_worker_id`." + "description": "Determines how data travels from the edge to your origin. When set to \"direct\", Spectrum will send traffic directly to your origin, and the application's type is derived from the `protocol`. When set to \"http\" or \"https\", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. When set to \"worker\", traffic is sent to the Worker specified by `origin_worker_id`.", + "enum": [ + "direct", + "http", + "https", + "worker" + ], + "type": "string" }, "virtual_network_id": { - "$ref": "#/$defs/spectrum-config_virtual_network_id", - "description": "Optional UUID of a virtual network for routing origin traffic through tunnel virtual networks." + "description": "Optional UUID of a virtual network for routing origin traffic through tunnel virtual networks.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -85,22 +111,6 @@ export const spectrum$$config_app_config: JsonSchema = { ] }; -/** - * The schema of `spectrum-config_app_identifier`. - */ -export const spectrum$$config_app_identifier: JsonSchema = { - "$ref": "#/$defs/spectrum-config_identifier", - "description": "App identifier." -}; - -/** - * The schema of `spectrum-config_argo_smart_routing`. - */ -export const spectrum$$config_argo_smart_routing: JsonSchema = { - "description": "Enables Argo Smart Routing for this application.\nNotes: Only available for TCP or UDP applications with traffic_type set to \"direct\".", - "type": "boolean" -}; - /** * The schema of `spectrum-config_base_app_config`. */ @@ -115,45 +125,21 @@ export const spectrum$$config_dns: JsonSchema = { "description": "The name and type of DNS record for the Spectrum application.", "properties": { "name": { - "$ref": "#/$defs/spectrum-config_dns_name", - "description": "The name of the DNS record associated with the application." + "description": "The name of the DNS record associated with the application.", + "type": "string" }, "type": { - "$ref": "#/$defs/spectrum-config_dns_type", - "description": "The type of DNS record associated with the application." + "description": "The type of DNS record associated with the application.", + "enum": [ + "CNAME", + "ADDRESS" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `spectrum-config_dns_name`. - */ -export const spectrum$$config_dns_name: JsonSchema = { - "description": "The name of the DNS record associated with the application.", - "type": "string" -}; - -/** - * The schema of `spectrum-config_dns_ttl`. - */ -export const spectrum$$config_dns_ttl: JsonSchema = { - "description": "The TTL of our resolution of your DNS record in seconds.", - "type": "integer" -}; - -/** - * The schema of `spectrum-config_dns_type`. - */ -export const spectrum$$config_dns_type: JsonSchema = { - "description": "The type of DNS record associated with the application.", - "enum": [ - "CNAME", - "ADDRESS" - ], - "type": "string" -}; - /** * The schema of `spectrum-config_edge_ips`. */ @@ -203,14 +189,6 @@ export const spectrum$$config_edge_ips: JsonSchema = { ] }; -/** - * The schema of `spectrum-config_ip_firewall`. - */ -export const spectrum$$config_ip_firewall: JsonSchema = { - "description": "Enables IP Access Rules for this application.\nNotes: Only available for TCP applications.", - "type": "boolean" -}; - /** * The schema of `spectrum-config_origin_direct`. */ @@ -229,66 +207,27 @@ export const spectrum$$config_origin_dns: JsonSchema = { "description": "The name and type of DNS record for the Spectrum application.", "properties": { "name": { - "$ref": "#/$defs/spectrum-config_origin_dns_name", - "description": "The name of the DNS record associated with the origin." + "description": "The name of the DNS record associated with the origin.", + "type": "string" }, "ttl": { - "$ref": "#/$defs/spectrum-config_dns_ttl", - "description": "The TTL of our resolution of your DNS record in seconds." + "description": "The TTL of our resolution of your DNS record in seconds.", + "type": "integer" }, "type": { - "$ref": "#/$defs/spectrum-config_origin_dns_type", - "description": "The type of DNS record associated with the origin. \"\" is used to specify a combination of A/AAAA records." + "description": "The type of DNS record associated with the origin. \"\" is used to specify a combination of A/AAAA records.", + "enum": [ + "", + "A", + "AAAA", + "SRV" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `spectrum-config_origin_dns_name`. - */ -export const spectrum$$config_origin_dns_name: JsonSchema = { - "description": "The name of the DNS record associated with the origin.", - "type": "string" -}; - -/** - * The schema of `spectrum-config_origin_dns_type`. - */ -export const spectrum$$config_origin_dns_type: JsonSchema = { - "description": "The type of DNS record associated with the origin. \"\" is used to specify a combination of A/AAAA records.", - "enum": [ - "", - "A", - "AAAA", - "SRV" - ], - "type": "string" -}; - -/** - * The schema of `spectrum-config_origin_port`. - */ -export const spectrum$$config_origin_port: JsonSchema = { - "anyOf": [ - { - "type": "integer" - }, - { - "type": "string" - } - ], - "description": "The destination port at the origin. Only specified in conjunction with origin_dns. May use an integer to specify a single origin port, for example `1000`, or a string to specify a range of origin ports, for example `\"1000-2000\"`.\nNotes: If specifying a port range, the number of ports in the range must match the number of ports specified in the \"protocol\" field." -}; - -/** - * The schema of `spectrum-config_origin_worker_id`. - */ -export const spectrum$$config_origin_worker_id: JsonSchema = { - "description": "Optional Worker script tag (worker ID) to use as the application's origin. Only supported for TCP applications with traffic_type \"worker\"; mutually exclusive with origin_direct, origin_dns, origin_port, proxy_protocol, and argo_smart_routing. tls may only be \"off\" or \"flexible\".", - "type": "string" -}; - /** * The schema of `spectrum-config_paygo_app_config`. */ @@ -308,8 +247,8 @@ export const spectrum$$config_paygo_app_config: JsonSchema = { "description": "List of origin IP addresses. Array may contain multiple IP addresses for load balancing." }, "protocol": { - "$ref": "#/$defs/spectrum-config_protocol", - "description": "The port configuration at Cloudflare's edge. May specify a single port, for example `\"tcp/1000\"`, or a range of ports, for example `\"tcp/1000-2000\"`." + "description": "The port configuration at Cloudflare's edge. May specify a single port, for example `\"tcp/1000\"`, or a range of ports, for example `\"tcp/1000-2000\"`.", + "type": "string" } }, "required": [ @@ -321,56 +260,6 @@ export const spectrum$$config_paygo_app_config: JsonSchema = { ] }; -/** - * The schema of `spectrum-config_protocol`. - */ -export const spectrum$$config_protocol: JsonSchema = { - "description": "The port configuration at Cloudflare's edge. May specify a single port, for example `\"tcp/1000\"`, or a range of ports, for example `\"tcp/1000-2000\"`.", - "type": "string" -}; - -/** - * The schema of `spectrum-config_proxy_protocol`. - */ -export const spectrum$$config_proxy_protocol: JsonSchema = { - "description": "Enables Proxy Protocol to the origin. Refer to [Enable Proxy protocol](https://developers.cloudflare.com/spectrum/getting-started/proxy-protocol/) for implementation details on PROXY Protocol V1, PROXY Protocol V2, and Simple Proxy Protocol.", - "enum": [ - "off", - "v1", - "v2", - "simple" - ], - "type": "string" -}; - -/** - * The schema of `spectrum-config_tls`. - */ -export const spectrum$$config_tls: JsonSchema = { - "description": "The type of TLS termination associated with the application.", - "enum": [ - "off", - "flexible", - "full", - "strict" - ], - "type": "string" -}; - -/** - * The schema of `spectrum-config_traffic_type`. - */ -export const spectrum$$config_traffic_type: JsonSchema = { - "description": "Determines how data travels from the edge to your origin. When set to \"direct\", Spectrum will send traffic directly to your origin, and the application's type is derived from the `protocol`. When set to \"http\" or \"https\", Spectrum will apply Cloudflare's HTTP/HTTPS features as it sends traffic to your origin, and the application type matches this property exactly. When set to \"worker\", traffic is sent to the Worker specified by `origin_worker_id`.", - "enum": [ - "direct", - "http", - "https", - "worker" - ], - "type": "string" -}; - /** * The schema of `spectrum-config_update_app_config`. */ @@ -384,12 +273,3 @@ export const spectrum$$config_update_app_config: JsonSchema = { } ] }; - -/** - * The schema of `spectrum-config_virtual_network_id`. - */ -export const spectrum$$config_virtual_network_id: JsonSchema = { - "description": "Optional UUID of a virtual network for routing origin traffic through tunnel virtual networks.", - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/spectrum/apps/tools.ts b/src/generated/forge-mcp/spectrum/apps/tools.ts index 76f1c4249..fd67565fe 100644 --- a/src/generated/forge-mcp/spectrum/apps/tools.ts +++ b/src/generated/forge-mcp/spectrum/apps/tools.ts @@ -6,68 +6,30 @@ import { spectrum$$config_api$$response$$collection, spectrum$$config_api$$response$$common, spectrum$$config_api$$response$$common$$failure, - spectrum$$config_identifier, spectrum$$config_messages, } from "../outputs.js"; -import { - spectrum$$config_identifier as spectrum$$config_identifier$, - spectrum$$config_zone_identifier, -} from "../schemas.js"; import { spectrum$$config_api$$response$$single, spectrum$$config_api$$response$$single$$id, spectrum$$config_app_config, spectrum$$config_app_config_collection, spectrum$$config_app_config_single, - spectrum$$config_app_identifier, - spectrum$$config_argo_smart_routing, spectrum$$config_base_app_config, - spectrum$$config_created, spectrum$$config_dns, - spectrum$$config_dns_name, - spectrum$$config_dns_ttl, - spectrum$$config_dns_type, spectrum$$config_edge_ips, - spectrum$$config_ip_firewall, - spectrum$$config_modified, spectrum$$config_origin_direct, spectrum$$config_origin_dns, - spectrum$$config_origin_dns_name, - spectrum$$config_origin_dns_type, - spectrum$$config_origin_port, - spectrum$$config_origin_worker_id, spectrum$$config_paygo_app_config, - spectrum$$config_protocol, - spectrum$$config_proxy_protocol, - spectrum$$config_timestamp, - spectrum$$config_tls, - spectrum$$config_traffic_type, - spectrum$$config_virtual_network_id, } from "./outputs.js"; import { spectrum$$config_app_config as spectrum$$config_app_config$, - spectrum$$config_app_identifier as spectrum$$config_app_identifier$, - spectrum$$config_argo_smart_routing as spectrum$$config_argo_smart_routing$, spectrum$$config_base_app_config as spectrum$$config_base_app_config$, spectrum$$config_dns as spectrum$$config_dns$, - spectrum$$config_dns_name as spectrum$$config_dns_name$, - spectrum$$config_dns_ttl as spectrum$$config_dns_ttl$, - spectrum$$config_dns_type as spectrum$$config_dns_type$, spectrum$$config_edge_ips as spectrum$$config_edge_ips$, - spectrum$$config_ip_firewall as spectrum$$config_ip_firewall$, spectrum$$config_origin_direct as spectrum$$config_origin_direct$, spectrum$$config_origin_dns as spectrum$$config_origin_dns$, - spectrum$$config_origin_dns_name as spectrum$$config_origin_dns_name$, - spectrum$$config_origin_dns_type as spectrum$$config_origin_dns_type$, - spectrum$$config_origin_port as spectrum$$config_origin_port$, - spectrum$$config_origin_worker_id as spectrum$$config_origin_worker_id$, spectrum$$config_paygo_app_config as spectrum$$config_paygo_app_config$, - spectrum$$config_protocol as spectrum$$config_protocol$, - spectrum$$config_proxy_protocol as spectrum$$config_proxy_protocol$, - spectrum$$config_tls as spectrum$$config_tls$, - spectrum$$config_traffic_type as spectrum$$config_traffic_type$, spectrum$$config_update_app_config, - spectrum$$config_virtual_network_id as spectrum$$config_virtual_network_id$, } from "./schemas.js"; /** @@ -77,7 +39,7 @@ export const tools: readonly Tool[] = [ { name: "spectrum_apps_create", title: "Create Spectrum application using a name for the origin", - description: "Creates a new Spectrum application from a configuration using a name for the origin.", + description: "Creates a new Spectrum application from a configuration using a name for the origin.\n\nPOST /zones/{zone_id}/spectrum/apps", inputSchema: { type: "object", properties: { @@ -85,10 +47,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/spectrum-config_update_app_config" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "description": "Zone identifier.", + "type": "string" } }, "required": [ @@ -101,31 +64,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "spectrum-config_app_config": spectrum$$config_app_config$, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing$, "spectrum-config_base_app_config": spectrum$$config_base_app_config$, "spectrum-config_dns": spectrum$$config_dns$, - "spectrum-config_dns_name": spectrum$$config_dns_name$, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl$, - "spectrum-config_dns_type": spectrum$$config_dns_type$, "spectrum-config_edge_ips": spectrum$$config_edge_ips$, - "spectrum-config_identifier": spectrum$$config_identifier$, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall$, "spectrum-config_origin_direct": spectrum$$config_origin_direct$, "spectrum-config_origin_dns": spectrum$$config_origin_dns$, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name$, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type$, - "spectrum-config_origin_port": spectrum$$config_origin_port$, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id$, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config$, - "spectrum-config_protocol": spectrum$$config_protocol$, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol$, - "spectrum-config_tls": spectrum$$config_tls$, - "spectrum-config_traffic_type": spectrum$$config_traffic_type$, "spectrum-config_update_app_config": spectrum$$config_update_app_config, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id$, - "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, }, }, outputSchema: { @@ -134,32 +82,13 @@ export const tools: readonly Tool[] = [ "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, "spectrum-config_app_config": spectrum$$config_app_config, "spectrum-config_app_config_single": spectrum$$config_app_config_single, - "spectrum-config_app_identifier": spectrum$$config_app_identifier, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, "spectrum-config_base_app_config": spectrum$$config_base_app_config, - "spectrum-config_created": spectrum$$config_created, "spectrum-config_dns": spectrum$$config_dns, - "spectrum-config_dns_name": spectrum$$config_dns_name, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, - "spectrum-config_dns_type": spectrum$$config_dns_type, "spectrum-config_edge_ips": spectrum$$config_edge_ips, - "spectrum-config_identifier": spectrum$$config_identifier, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, "spectrum-config_messages": spectrum$$config_messages, - "spectrum-config_modified": spectrum$$config_modified, "spectrum-config_origin_direct": spectrum$$config_origin_direct, "spectrum-config_origin_dns": spectrum$$config_origin_dns, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, - "spectrum-config_origin_port": spectrum$$config_origin_port, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, - "spectrum-config_protocol": spectrum$$config_protocol, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, - "spectrum-config_timestamp": spectrum$$config_timestamp, - "spectrum-config_tls": spectrum$$config_tls, - "spectrum-config_traffic_type": spectrum$$config_traffic_type, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, annotations: { @@ -190,32 +119,13 @@ export const tools: readonly Tool[] = [ "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, "spectrum-config_app_config": spectrum$$config_app_config, "spectrum-config_app_config_single": spectrum$$config_app_config_single, - "spectrum-config_app_identifier": spectrum$$config_app_identifier, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, "spectrum-config_base_app_config": spectrum$$config_base_app_config, - "spectrum-config_created": spectrum$$config_created, "spectrum-config_dns": spectrum$$config_dns, - "spectrum-config_dns_name": spectrum$$config_dns_name, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, - "spectrum-config_dns_type": spectrum$$config_dns_type, "spectrum-config_edge_ips": spectrum$$config_edge_ips, - "spectrum-config_identifier": spectrum$$config_identifier, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, "spectrum-config_messages": spectrum$$config_messages, - "spectrum-config_modified": spectrum$$config_modified, "spectrum-config_origin_direct": spectrum$$config_origin_direct, "spectrum-config_origin_dns": spectrum$$config_origin_dns, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, - "spectrum-config_origin_port": spectrum$$config_origin_port, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, - "spectrum-config_protocol": spectrum$$config_protocol, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, - "spectrum-config_timestamp": spectrum$$config_timestamp, - "spectrum-config_tls": spectrum$$config_tls, - "spectrum-config_traffic_type": spectrum$$config_traffic_type, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, request: (args) => ({ @@ -226,19 +136,20 @@ export const tools: readonly Tool[] = [ { name: "spectrum_apps_delete", title: "Delete Spectrum application", - description: "Deletes a previously existing application.", + description: "Deletes a previously existing application.\n\nDELETE /zones/{zone_id}/spectrum/apps/{app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "app_id": { - "$ref": "#/$defs/spectrum-config_app_identifier", - "description": "App identifier." + "description": "App identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "description": "Zone identifier.", + "type": "string" } }, "required": [ @@ -251,18 +162,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "spectrum-config_app_identifier": spectrum$$config_app_identifier$, - "spectrum-config_identifier": spectrum$$config_identifier$, - "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/spectrum-config_api-response-single-id", $defs: { "spectrum-config_api-response-common": spectrum$$config_api$$response$$common, "spectrum-config_api-response-single-id": spectrum$$config_api$$response$$single$$id, - "spectrum-config_identifier": spectrum$$config_identifier, "spectrum-config_messages": spectrum$$config_messages, }, }, @@ -293,7 +199,6 @@ export const tools: readonly Tool[] = [ "spectrum-config_api-response-common": spectrum$$config_api$$response$$common, "spectrum-config_api-response-common-failure": spectrum$$config_api$$response$$common$$failure, "spectrum-config_api-response-single-id": spectrum$$config_api$$response$$single$$id, - "spectrum-config_identifier": spectrum$$config_identifier, "spectrum-config_messages": spectrum$$config_messages, }, }, @@ -304,19 +209,20 @@ export const tools: readonly Tool[] = [ { name: "spectrum_apps_get", title: "Get Spectrum application configuration", - description: "Gets the application configuration of a specific application inside a zone.", + description: "Gets the application configuration of a specific application inside a zone.\n\nGET /zones/{zone_id}/spectrum/apps/{app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "app_id": { - "$ref": "#/$defs/spectrum-config_app_identifier", - "description": "App identifier." + "description": "App identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "description": "Zone identifier.", + "type": "string" } }, "required": [ @@ -329,11 +235,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "spectrum-config_app_identifier": spectrum$$config_app_identifier$, - "spectrum-config_identifier": spectrum$$config_identifier$, - "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/spectrum-config_app_config_single", @@ -341,32 +243,13 @@ export const tools: readonly Tool[] = [ "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, "spectrum-config_app_config": spectrum$$config_app_config, "spectrum-config_app_config_single": spectrum$$config_app_config_single, - "spectrum-config_app_identifier": spectrum$$config_app_identifier, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, "spectrum-config_base_app_config": spectrum$$config_base_app_config, - "spectrum-config_created": spectrum$$config_created, "spectrum-config_dns": spectrum$$config_dns, - "spectrum-config_dns_name": spectrum$$config_dns_name, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, - "spectrum-config_dns_type": spectrum$$config_dns_type, "spectrum-config_edge_ips": spectrum$$config_edge_ips, - "spectrum-config_identifier": spectrum$$config_identifier, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, "spectrum-config_messages": spectrum$$config_messages, - "spectrum-config_modified": spectrum$$config_modified, "spectrum-config_origin_direct": spectrum$$config_origin_direct, "spectrum-config_origin_dns": spectrum$$config_origin_dns, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, - "spectrum-config_origin_port": spectrum$$config_origin_port, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, - "spectrum-config_protocol": spectrum$$config_protocol, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, - "spectrum-config_timestamp": spectrum$$config_timestamp, - "spectrum-config_tls": spectrum$$config_tls, - "spectrum-config_traffic_type": spectrum$$config_traffic_type, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, annotations: { @@ -398,32 +281,13 @@ export const tools: readonly Tool[] = [ "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, "spectrum-config_app_config": spectrum$$config_app_config, "spectrum-config_app_config_single": spectrum$$config_app_config_single, - "spectrum-config_app_identifier": spectrum$$config_app_identifier, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, "spectrum-config_base_app_config": spectrum$$config_base_app_config, - "spectrum-config_created": spectrum$$config_created, "spectrum-config_dns": spectrum$$config_dns, - "spectrum-config_dns_name": spectrum$$config_dns_name, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, - "spectrum-config_dns_type": spectrum$$config_dns_type, "spectrum-config_edge_ips": spectrum$$config_edge_ips, - "spectrum-config_identifier": spectrum$$config_identifier, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, "spectrum-config_messages": spectrum$$config_messages, - "spectrum-config_modified": spectrum$$config_modified, "spectrum-config_origin_direct": spectrum$$config_origin_direct, "spectrum-config_origin_dns": spectrum$$config_origin_dns, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, - "spectrum-config_origin_port": spectrum$$config_origin_port, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, - "spectrum-config_protocol": spectrum$$config_protocol, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, - "spectrum-config_timestamp": spectrum$$config_timestamp, - "spectrum-config_tls": spectrum$$config_tls, - "spectrum-config_traffic_type": spectrum$$config_traffic_type, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, request: (args) => ({ @@ -433,15 +297,16 @@ export const tools: readonly Tool[] = [ { name: "spectrum_apps_list", title: "List Spectrum applications", - description: "Retrieves a list of currently existing Spectrum applications inside a zone.", + description: "Retrieves a list of currently existing Spectrum applications inside a zone.\n\nGET /zones/{zone_id}/spectrum/apps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "description": "Zone identifier.", + "type": "string" } }, "required": [ @@ -450,6 +315,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "default": "asc", @@ -488,10 +354,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "spectrum-config_identifier": spectrum$$config_identifier$, - "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/spectrum-config_app_config_collection", @@ -500,32 +363,13 @@ export const tools: readonly Tool[] = [ "spectrum-config_api-response-common": spectrum$$config_api$$response$$common, "spectrum-config_app_config": spectrum$$config_app_config, "spectrum-config_app_config_collection": spectrum$$config_app_config_collection, - "spectrum-config_app_identifier": spectrum$$config_app_identifier, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, "spectrum-config_base_app_config": spectrum$$config_base_app_config, - "spectrum-config_created": spectrum$$config_created, "spectrum-config_dns": spectrum$$config_dns, - "spectrum-config_dns_name": spectrum$$config_dns_name, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, - "spectrum-config_dns_type": spectrum$$config_dns_type, "spectrum-config_edge_ips": spectrum$$config_edge_ips, - "spectrum-config_identifier": spectrum$$config_identifier, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, "spectrum-config_messages": spectrum$$config_messages, - "spectrum-config_modified": spectrum$$config_modified, "spectrum-config_origin_direct": spectrum$$config_origin_direct, "spectrum-config_origin_dns": spectrum$$config_origin_dns, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, - "spectrum-config_origin_port": spectrum$$config_origin_port, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, - "spectrum-config_protocol": spectrum$$config_protocol, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, - "spectrum-config_timestamp": spectrum$$config_timestamp, - "spectrum-config_tls": spectrum$$config_tls, - "spectrum-config_traffic_type": spectrum$$config_traffic_type, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, annotations: { @@ -558,32 +402,13 @@ export const tools: readonly Tool[] = [ "spectrum-config_api-response-common-failure": spectrum$$config_api$$response$$common$$failure, "spectrum-config_app_config": spectrum$$config_app_config, "spectrum-config_app_config_collection": spectrum$$config_app_config_collection, - "spectrum-config_app_identifier": spectrum$$config_app_identifier, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, "spectrum-config_base_app_config": spectrum$$config_base_app_config, - "spectrum-config_created": spectrum$$config_created, "spectrum-config_dns": spectrum$$config_dns, - "spectrum-config_dns_name": spectrum$$config_dns_name, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, - "spectrum-config_dns_type": spectrum$$config_dns_type, "spectrum-config_edge_ips": spectrum$$config_edge_ips, - "spectrum-config_identifier": spectrum$$config_identifier, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, "spectrum-config_messages": spectrum$$config_messages, - "spectrum-config_modified": spectrum$$config_modified, "spectrum-config_origin_direct": spectrum$$config_origin_direct, "spectrum-config_origin_dns": spectrum$$config_origin_dns, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, - "spectrum-config_origin_port": spectrum$$config_origin_port, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, - "spectrum-config_protocol": spectrum$$config_protocol, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, - "spectrum-config_timestamp": spectrum$$config_timestamp, - "spectrum-config_tls": spectrum$$config_tls, - "spectrum-config_traffic_type": spectrum$$config_traffic_type, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, request: (args) => ({ @@ -599,7 +424,7 @@ export const tools: readonly Tool[] = [ { name: "spectrum_apps_update", title: "Update Spectrum application configuration using a name for the origin", - description: "Updates a previously existing application's configuration that uses a name for the origin.", + description: "Updates a previously existing application's configuration that uses a name for the origin.\n\nPUT /zones/{zone_id}/spectrum/apps/{app_id}", inputSchema: { type: "object", properties: { @@ -607,14 +432,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/spectrum-config_update_app_config" }, "path": { + "additionalProperties": false, "properties": { "app_id": { - "$ref": "#/$defs/spectrum-config_app_identifier", - "description": "App identifier." + "description": "App identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "description": "Zone identifier.", + "type": "string" } }, "required": [ @@ -628,32 +454,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "spectrum-config_app_config": spectrum$$config_app_config$, - "spectrum-config_app_identifier": spectrum$$config_app_identifier$, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing$, "spectrum-config_base_app_config": spectrum$$config_base_app_config$, "spectrum-config_dns": spectrum$$config_dns$, - "spectrum-config_dns_name": spectrum$$config_dns_name$, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl$, - "spectrum-config_dns_type": spectrum$$config_dns_type$, "spectrum-config_edge_ips": spectrum$$config_edge_ips$, - "spectrum-config_identifier": spectrum$$config_identifier$, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall$, "spectrum-config_origin_direct": spectrum$$config_origin_direct$, "spectrum-config_origin_dns": spectrum$$config_origin_dns$, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name$, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type$, - "spectrum-config_origin_port": spectrum$$config_origin_port$, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id$, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config$, - "spectrum-config_protocol": spectrum$$config_protocol$, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol$, - "spectrum-config_tls": spectrum$$config_tls$, - "spectrum-config_traffic_type": spectrum$$config_traffic_type$, "spectrum-config_update_app_config": spectrum$$config_update_app_config, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id$, - "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, }, }, outputSchema: { @@ -662,32 +472,13 @@ export const tools: readonly Tool[] = [ "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, "spectrum-config_app_config": spectrum$$config_app_config, "spectrum-config_app_config_single": spectrum$$config_app_config_single, - "spectrum-config_app_identifier": spectrum$$config_app_identifier, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, "spectrum-config_base_app_config": spectrum$$config_base_app_config, - "spectrum-config_created": spectrum$$config_created, "spectrum-config_dns": spectrum$$config_dns, - "spectrum-config_dns_name": spectrum$$config_dns_name, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, - "spectrum-config_dns_type": spectrum$$config_dns_type, "spectrum-config_edge_ips": spectrum$$config_edge_ips, - "spectrum-config_identifier": spectrum$$config_identifier, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, "spectrum-config_messages": spectrum$$config_messages, - "spectrum-config_modified": spectrum$$config_modified, "spectrum-config_origin_direct": spectrum$$config_origin_direct, "spectrum-config_origin_dns": spectrum$$config_origin_dns, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, - "spectrum-config_origin_port": spectrum$$config_origin_port, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, - "spectrum-config_protocol": spectrum$$config_protocol, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, - "spectrum-config_timestamp": spectrum$$config_timestamp, - "spectrum-config_tls": spectrum$$config_tls, - "spectrum-config_traffic_type": spectrum$$config_traffic_type, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, annotations: { @@ -718,32 +509,13 @@ export const tools: readonly Tool[] = [ "spectrum-config_api-response-single": spectrum$$config_api$$response$$single, "spectrum-config_app_config": spectrum$$config_app_config, "spectrum-config_app_config_single": spectrum$$config_app_config_single, - "spectrum-config_app_identifier": spectrum$$config_app_identifier, - "spectrum-config_argo_smart_routing": spectrum$$config_argo_smart_routing, "spectrum-config_base_app_config": spectrum$$config_base_app_config, - "spectrum-config_created": spectrum$$config_created, "spectrum-config_dns": spectrum$$config_dns, - "spectrum-config_dns_name": spectrum$$config_dns_name, - "spectrum-config_dns_ttl": spectrum$$config_dns_ttl, - "spectrum-config_dns_type": spectrum$$config_dns_type, "spectrum-config_edge_ips": spectrum$$config_edge_ips, - "spectrum-config_identifier": spectrum$$config_identifier, - "spectrum-config_ip_firewall": spectrum$$config_ip_firewall, "spectrum-config_messages": spectrum$$config_messages, - "spectrum-config_modified": spectrum$$config_modified, "spectrum-config_origin_direct": spectrum$$config_origin_direct, "spectrum-config_origin_dns": spectrum$$config_origin_dns, - "spectrum-config_origin_dns_name": spectrum$$config_origin_dns_name, - "spectrum-config_origin_dns_type": spectrum$$config_origin_dns_type, - "spectrum-config_origin_port": spectrum$$config_origin_port, - "spectrum-config_origin_worker_id": spectrum$$config_origin_worker_id, "spectrum-config_paygo_app_config": spectrum$$config_paygo_app_config, - "spectrum-config_protocol": spectrum$$config_protocol, - "spectrum-config_proxy_protocol": spectrum$$config_proxy_protocol, - "spectrum-config_timestamp": spectrum$$config_timestamp, - "spectrum-config_tls": spectrum$$config_tls, - "spectrum-config_traffic_type": spectrum$$config_traffic_type, - "spectrum-config_virtual_network_id": spectrum$$config_virtual_network_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/spectrum/outputs.ts b/src/generated/forge-mcp/spectrum/outputs.ts index f1161fb1d..782ba5cc9 100644 --- a/src/generated/forge-mcp/spectrum/outputs.ts +++ b/src/generated/forge-mcp/spectrum/outputs.ts @@ -95,13 +95,6 @@ export const spectrum$$config_api$$response$$common$$failure: JsonSchema = { "type": "object" }; -/** - * The schema of `spectrum-config_identifier` in responses. - */ -export const spectrum$$config_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `spectrum-config_messages` in responses. */ diff --git a/src/generated/forge-mcp/spectrum/protocols/tools.ts b/src/generated/forge-mcp/spectrum/protocols/tools.ts index 9419f172c..55c9deb59 100644 --- a/src/generated/forge-mcp/spectrum/protocols/tools.ts +++ b/src/generated/forge-mcp/spectrum/protocols/tools.ts @@ -8,10 +8,6 @@ import { spectrum$$config_api$$response$$common$$failure, spectrum$$config_messages, } from "../outputs.js"; -import { - spectrum$$config_identifier, - spectrum$$config_zone_identifier, -} from "../schemas.js"; import { spectrum$$config_app_protocol, spectrum$$config_protocol_collection, @@ -24,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "spectrum_protocols_list", title: "List Spectrum application protocols", - description: "Retrieves a list of Spectrum application protocols available for a zone.", + description: "Retrieves a list of Spectrum application protocols available for a zone.\n\nGET /zones/{zone_id}/spectrum/protocols", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/spectrum-config_zone_identifier", - "description": "Zone identifier." + "description": "Zone identifier.", + "type": "string" } }, "required": [ @@ -44,10 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "spectrum-config_identifier": spectrum$$config_identifier, - "spectrum-config_zone_identifier": spectrum$$config_zone_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/spectrum-config_protocol_collection", diff --git a/src/generated/forge-mcp/spectrum/schemas.ts b/src/generated/forge-mcp/spectrum/schemas.ts deleted file mode 100644 index 0752ab5e2..000000000 --- a/src/generated/forge-mcp/spectrum/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `spectrum-config_identifier`. - */ -export const spectrum$$config_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `spectrum-config_zone_identifier`. - */ -export const spectrum$$config_zone_identifier: JsonSchema = { - "$ref": "#/$defs/spectrum-config_identifier", - "description": "Zone identifier." -}; diff --git a/src/generated/forge-mcp/speed/availabilities/tools.ts b/src/generated/forge-mcp/speed/availabilities/tools.ts index 56831120e..6504e45e9 100644 --- a/src/generated/forge-mcp/speed/availabilities/tools.ts +++ b/src/generated/forge-mcp/speed/availabilities/tools.ts @@ -7,9 +7,7 @@ import { observatory_api$$response$$single, observatory_labeled_region, observatory_messages, - observatory_region, } from "../outputs.js"; -import { observatory_identifier } from "../schemas.js"; import { observatory_availabilities, observatory_availabilities$$response, @@ -23,15 +21,16 @@ export const tools: readonly Tool[] = [ { name: "speed_availabilities_list", title: "Get quota and availability", - description: "Retrieves quota for all plans, as well as the current zone quota.", + description: "Retrieves quota for all plans, as well as the current zone quota.\n\nGET /zones/{zone_id}/speed_api/availabilities", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -43,9 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "observatory_identifier": observatory_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_availabilities-response", @@ -56,7 +53,6 @@ export const tools: readonly Tool[] = [ "observatory_labeled_region": observatory_labeled_region, "observatory_messages": observatory_messages, "observatory_plan-properties-info": observatory_plan$$properties$$info, - "observatory_region": observatory_region, }, }, annotations: { @@ -97,7 +93,6 @@ export const tools: readonly Tool[] = [ "observatory_labeled_region": observatory_labeled_region, "observatory_messages": observatory_messages, "observatory_plan-properties-info": observatory_plan$$properties$$info, - "observatory_region": observatory_region, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/speed/outputs.ts b/src/generated/forge-mcp/speed/outputs.ts index 718e9ecf8..7640a4ffc 100644 --- a/src/generated/forge-mcp/speed/outputs.ts +++ b/src/generated/forge-mcp/speed/outputs.ts @@ -80,17 +80,6 @@ export const observatory_count$$response: JsonSchema = { ] }; -/** - * The schema of `observatory_device_type` in responses. - */ -export const observatory_device_type: JsonSchema = { - "enum": [ - "DESKTOP", - "MOBILE" - ], - "type": "string" -}; - /** * The schema of `observatory_labeled_region` in responses. */ @@ -100,26 +89,35 @@ export const observatory_labeled_region: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/observatory_region" + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `observatory_lighthouse_error_code` in responses. - */ -export const observatory_lighthouse_error_code: JsonSchema = { - "enum": [ - "NOT_REACHABLE", - "DNS_FAILURE", - "NOT_HTML", - "LIGHTHOUSE_TIMEOUT", - "UNKNOWN" - ], - "type": "string" -}; - /** * The schema of `observatory_lighthouse_report` in responses. */ @@ -129,12 +127,23 @@ export const observatory_lighthouse_report: JsonSchema = { "type": "number" }, "deviceType": { - "$ref": "#/$defs/observatory_device_type" + "enum": [ + "DESKTOP", + "MOBILE" + ], + "type": "string" }, "error": { "properties": { "code": { - "$ref": "#/$defs/observatory_lighthouse_error_code" + "enum": [ + "NOT_REACHABLE", + "DNS_FAILURE", + "NOT_HTML", + "LIGHTHOUSE_TIMEOUT", + "UNKNOWN" + ], + "type": "string" }, "detail": { "type": "string" @@ -161,7 +170,12 @@ export const observatory_lighthouse_report: JsonSchema = { "type": "number" }, "state": { - "$ref": "#/$defs/observatory_lighthouse_state" + "enum": [ + "RUNNING", + "COMPLETE", + "FAILED" + ], + "type": "string" }, "tbt": { "type": "number" @@ -176,18 +190,6 @@ export const observatory_lighthouse_report: JsonSchema = { "type": "object" }; -/** - * The schema of `observatory_lighthouse_state` in responses. - */ -export const observatory_lighthouse_state: JsonSchema = { - "enum": [ - "RUNNING", - "COMPLETE", - "FAILED" - ], - "type": "string" -}; - /** * The schema of `observatory_messages` in responses. */ @@ -216,13 +218,14 @@ export const observatory_messages: JsonSchema = { export const observatory_page_test: JsonSchema = { "properties": { "date": { - "$ref": "#/$defs/observatory_timestamp" + "format": "date-time", + "type": "string" }, "desktopReport": { "$ref": "#/$defs/observatory_lighthouse_report" }, "id": { - "$ref": "#/$defs/observatory_uuid" + "type": "string" }, "mobileReport": { "$ref": "#/$defs/observatory_lighthouse_report" @@ -231,74 +234,15 @@ export const observatory_page_test: JsonSchema = { "$ref": "#/$defs/observatory_labeled_region" }, "scheduleFrequency": { - "$ref": "#/$defs/observatory_schedule_frequency" + "enum": [ + "DAILY", + "WEEKLY" + ], + "type": "string" }, "url": { - "$ref": "#/$defs/observatory_url" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `observatory_region` in responses. - */ -export const observatory_region: JsonSchema = { - "enum": [ - "asia-east1", - "asia-northeast1", - "asia-northeast2", - "asia-south1", - "asia-southeast1", - "australia-southeast1", - "europe-north1", - "europe-southwest1", - "europe-west1", - "europe-west2", - "europe-west3", - "europe-west4", - "europe-west8", - "europe-west9", - "me-west1", - "southamerica-east1", - "us-central1", - "us-east1", - "us-east4", - "us-south1", - "us-west1" - ], - "type": "string" -}; - -/** - * The schema of `observatory_schedule_frequency` in responses. - */ -export const observatory_schedule_frequency: JsonSchema = { - "enum": [ - "DAILY", - "WEEKLY" - ], - "type": "string" -}; - -/** - * The schema of `observatory_timestamp` in responses. - */ -export const observatory_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `observatory_url` in responses. - */ -export const observatory_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `observatory_uuid` in responses. - */ -export const observatory_uuid: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/speed/pages/outputs.ts b/src/generated/forge-mcp/speed/pages/outputs.ts index 15f1fca55..151cfe376 100644 --- a/src/generated/forge-mcp/speed/pages/outputs.ts +++ b/src/generated/forge-mcp/speed/pages/outputs.ts @@ -43,7 +43,11 @@ export const observatory_pages$$response$$collection: JsonSchema = { "$ref": "#/$defs/observatory_labeled_region" }, "scheduleFrequency": { - "$ref": "#/$defs/observatory_schedule_frequency" + "enum": [ + "DAILY", + "WEEKLY" + ], + "type": "string" }, "tests": { "items": { @@ -52,7 +56,7 @@ export const observatory_pages$$response$$collection: JsonSchema = { "type": "array" }, "url": { - "$ref": "#/$defs/observatory_url" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/speed/pages/tests/tools.ts b/src/generated/forge-mcp/speed/pages/tests/tools.ts index b3e4a067c..d826b4c31 100644 --- a/src/generated/forge-mcp/speed/pages/tests/tools.ts +++ b/src/generated/forge-mcp/speed/pages/tests/tools.ts @@ -6,24 +6,11 @@ import { observatory_api$$response$$common$$failure, observatory_api$$response$$single, observatory_count$$response, - observatory_device_type, observatory_labeled_region, - observatory_lighthouse_error_code, observatory_lighthouse_report, - observatory_lighthouse_state, observatory_messages, observatory_page_test, - observatory_region, - observatory_schedule_frequency, - observatory_timestamp, - observatory_url, - observatory_uuid, } from "../../outputs.js"; -import { - observatory_identifier, - observatory_region as observatory_region$, - observatory_url as observatory_url$, -} from "../../schemas.js"; import { observatory_api$$response$$collection } from "../outputs.js"; import { observatory_page$$test$$response$$collection, @@ -38,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "speed_pages_tests_create", title: "Start page test", - description: "Starts a test for a specific webpage, in a specific region.", + description: "Starts a test for a specific webpage, in a specific region.\n\nPOST /zones/{zone_id}/speed_api/pages/{url}/tests", inputSchema: { type: "object", properties: { @@ -47,7 +34,31 @@ export const tools: readonly Tool[] = [ "region": { "allOf": [ { - "$ref": "#/$defs/observatory_region" + "description": "A test region.", + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" }, { "type": "string" @@ -58,14 +69,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + "description": "A URL.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -78,29 +90,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region$, - "observatory_url": observatory_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_page-test-response-single", $defs: { "observatory_api-response-single": observatory_api$$response$$single, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page-test-response-single": observatory_page$$test$$response$$single, "observatory_page_test": observatory_page_test, - "observatory_region": observatory_region, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -135,19 +135,11 @@ export const tools: readonly Tool[] = [ $defs: { "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, "observatory_api-response-single": observatory_api$$response$$single, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page-test-response-single": observatory_page$$test$$response$$single, "observatory_page_test": observatory_page_test, - "observatory_region": observatory_region, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ @@ -158,19 +150,20 @@ export const tools: readonly Tool[] = [ { name: "speed_pages_tests_delete", title: "Delete all page tests", - description: "Deletes all tests for a specific webpage from a specific region. Deleted tests are still counted as part of the quota.", + description: "Deletes all tests for a specific webpage from a specific region. Deleted tests are still counted as part of the quota.\n\nDELETE /zones/{zone_id}/speed_api/pages/{url}/tests", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + "description": "A URL.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -180,11 +173,36 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "region": { "allOf": [ { - "$ref": "#/$defs/observatory_region" + "description": "A test region.", + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" }, { "type": "string" @@ -198,11 +216,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region$, - "observatory_url": observatory_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_count-response", @@ -258,22 +272,23 @@ export const tools: readonly Tool[] = [ { name: "speed_pages_tests_get", title: "Get a page test result", - description: "Retrieves the result of a specific test.", + description: "Retrieves the result of a specific test.\n\nGET /zones/{zone_id}/speed_api/pages/{url}/tests/{test_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "test_id": { "type": "string" }, "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + "description": "A URL.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -287,28 +302,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "observatory_identifier": observatory_identifier, - "observatory_url": observatory_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_page-test-response-single", $defs: { "observatory_api-response-single": observatory_api$$response$$single, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page-test-response-single": observatory_page$$test$$response$$single, "observatory_page_test": observatory_page_test, - "observatory_region": observatory_region, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -344,19 +348,11 @@ export const tools: readonly Tool[] = [ $defs: { "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, "observatory_api-response-single": observatory_api$$response$$single, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page-test-response-single": observatory_page$$test$$response$$single, "observatory_page_test": observatory_page_test, - "observatory_region": observatory_region, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ @@ -366,19 +362,20 @@ export const tools: readonly Tool[] = [ { name: "speed_pages_tests_list", title: "List page test history", - description: "Test history (list of tests) for a specific webpage.", + description: "Test history (list of tests) for a specific webpage.\n\nGET /zones/{zone_id}/speed_api/pages/{url}/tests", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + "description": "A URL.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -388,6 +385,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -400,7 +398,31 @@ export const tools: readonly Tool[] = [ "region": { "allOf": [ { - "$ref": "#/$defs/observatory_region" + "description": "A test region.", + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" }, { "type": "string" @@ -414,30 +436,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region$, - "observatory_url": observatory_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_page-test-response-collection", $defs: { "observatory_api-response-collection": observatory_api$$response$$collection, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page-test-response-collection": observatory_page$$test$$response$$collection, "observatory_page_test": observatory_page_test, - "observatory_region": observatory_region, "observatory_result_info": observatory_result_info, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -473,20 +483,12 @@ export const tools: readonly Tool[] = [ $defs: { "observatory_api-response-collection": observatory_api$$response$$collection, "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page-test-response-collection": observatory_page$$test$$response$$collection, "observatory_page_test": observatory_page_test, - "observatory_region": observatory_region, "observatory_result_info": observatory_result_info, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/speed/pages/tools.ts b/src/generated/forge-mcp/speed/pages/tools.ts index d2d8076ae..f4ab03913 100644 --- a/src/generated/forge-mcp/speed/pages/tools.ts +++ b/src/generated/forge-mcp/speed/pages/tools.ts @@ -5,26 +5,11 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { observatory_api$$response$$common$$failure, observatory_api$$response$$single, - observatory_device_type, observatory_labeled_region, - observatory_lighthouse_error_code, observatory_lighthouse_report, - observatory_lighthouse_state, observatory_messages, observatory_page_test, - observatory_region, - observatory_schedule_frequency, - observatory_timestamp, - observatory_url, - observatory_uuid, } from "../outputs.js"; -import { - observatory_device_type as observatory_device_type$, - observatory_identifier, - observatory_region as observatory_region$, - observatory_timestamp as observatory_timestamp$, - observatory_url as observatory_url$, -} from "../schemas.js"; import { observatory_api$$response$$collection, observatory_pages$$response$$collection, @@ -39,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "speed_pages_list", title: "List tested webpages", - description: "Lists all webpages which have been tested.", + description: "Lists all webpages which have been tested.\n\nGET /zones/{zone_id}/speed_api/pages", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -59,27 +45,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "observatory_identifier": observatory_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_pages-response-collection", $defs: { "observatory_api-response-collection": observatory_api$$response$$collection, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page_test": observatory_page_test, "observatory_pages-response-collection": observatory_pages$$response$$collection, - "observatory_region": observatory_region, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -115,19 +91,11 @@ export const tools: readonly Tool[] = [ $defs: { "observatory_api-response-collection": observatory_api$$response$$collection, "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page_test": observatory_page_test, "observatory_pages-response-collection": observatory_pages$$response$$collection, - "observatory_region": observatory_region, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ @@ -137,19 +105,20 @@ export const tools: readonly Tool[] = [ { name: "speed_pages_trend", title: "List core web vital metrics trend", - description: "Lists the core web vital metrics trend over time for a specific page.", + description: "Lists the core web vital metrics trend over time for a specific page.\n\nGET /zones/{zone_id}/speed_api/pages/{url}/trend", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + "description": "A URL.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -159,24 +128,54 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "deviceType": { - "$ref": "#/$defs/observatory_device_type", - "description": "The type of device." + "description": "The type of device.", + "enum": [ + "DESKTOP", + "MOBILE" + ], + "type": "string" }, "end": { - "$ref": "#/$defs/observatory_timestamp" + "format": "date-time", + "type": "string" }, "metrics": { "description": "A comma-separated list of metrics to include in the results.", "type": "string" }, "region": { - "$ref": "#/$defs/observatory_region", - "description": "A test region." + "description": "A test region.", + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" }, "start": { - "$ref": "#/$defs/observatory_timestamp" + "format": "date-time", + "type": "string" }, "tz": { "description": "The timezone of the start and end timestamps.", @@ -197,13 +196,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "observatory_device_type": observatory_device_type$, - "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region$, - "observatory_timestamp": observatory_timestamp$, - "observatory_url": observatory_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_trend-response", diff --git a/src/generated/forge-mcp/speed/schedule/outputs.ts b/src/generated/forge-mcp/speed/schedule/outputs.ts index b0c23c8c9..7a8cadde4 100644 --- a/src/generated/forge-mcp/speed/schedule/outputs.ts +++ b/src/generated/forge-mcp/speed/schedule/outputs.ts @@ -36,13 +36,40 @@ export const observatory_create$$schedule$$response: JsonSchema = { export const observatory_schedule: JsonSchema = { "properties": { "frequency": { - "$ref": "#/$defs/observatory_schedule_frequency" + "enum": [ + "DAILY", + "WEEKLY" + ], + "type": "string" }, "region": { - "$ref": "#/$defs/observatory_region" + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" }, "url": { - "$ref": "#/$defs/observatory_url" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/speed/schedule/tools.ts b/src/generated/forge-mcp/speed/schedule/tools.ts index 2feaf8a65..d63f60747 100644 --- a/src/generated/forge-mcp/speed/schedule/tools.ts +++ b/src/generated/forge-mcp/speed/schedule/tools.ts @@ -6,25 +6,11 @@ import { observatory_api$$response$$common$$failure, observatory_api$$response$$single, observatory_count$$response, - observatory_device_type, observatory_labeled_region, - observatory_lighthouse_error_code, observatory_lighthouse_report, - observatory_lighthouse_state, observatory_messages, observatory_page_test, - observatory_region, - observatory_schedule_frequency, - observatory_timestamp, - observatory_url, - observatory_uuid, } from "../outputs.js"; -import { - observatory_identifier, - observatory_region as observatory_region$, - observatory_schedule_frequency as observatory_schedule_frequency$, - observatory_url as observatory_url$, -} from "../schemas.js"; import { observatory_create$$schedule$$response, observatory_schedule, @@ -38,19 +24,20 @@ export const tools: readonly Tool[] = [ { name: "speed_schedule_create", title: "Create scheduled page test", - description: "Creates a scheduled test for a page.", + description: "Creates a scheduled test for a page.\n\nPOST /zones/{zone_id}/speed_api/schedule/{url}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + "description": "A URL.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -60,15 +47,44 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "frequency": { - "$ref": "#/$defs/observatory_schedule_frequency", - "description": "The frequency of the scheduled test. Defaults to WEEKLY for free plans, DAILY for paid plans." + "description": "The frequency of the scheduled test. Defaults to WEEKLY for free plans, DAILY for paid plans.", + "enum": [ + "DAILY", + "WEEKLY" + ], + "type": "string" }, "region": { "allOf": [ { - "$ref": "#/$defs/observatory_region" + "description": "A test region.", + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" }, { "type": "string" @@ -82,31 +98,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region$, - "observatory_schedule_frequency": observatory_schedule_frequency$, - "observatory_url": observatory_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_create-schedule-response", $defs: { "observatory_api-response-single": observatory_api$$response$$single, "observatory_create-schedule-response": observatory_create$$schedule$$response, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page_test": observatory_page_test, - "observatory_region": observatory_region, "observatory_schedule": observatory_schedule, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, annotations: { @@ -142,19 +145,11 @@ export const tools: readonly Tool[] = [ "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, "observatory_api-response-single": observatory_api$$response$$single, "observatory_create-schedule-response": observatory_create$$schedule$$response, - "observatory_device_type": observatory_device_type, "observatory_labeled_region": observatory_labeled_region, - "observatory_lighthouse_error_code": observatory_lighthouse_error_code, "observatory_lighthouse_report": observatory_lighthouse_report, - "observatory_lighthouse_state": observatory_lighthouse_state, "observatory_messages": observatory_messages, "observatory_page_test": observatory_page_test, - "observatory_region": observatory_region, "observatory_schedule": observatory_schedule, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_timestamp": observatory_timestamp, - "observatory_url": observatory_url, - "observatory_uuid": observatory_uuid, }, }, request: (args) => ({ @@ -168,19 +163,20 @@ export const tools: readonly Tool[] = [ { name: "speed_schedule_delete", title: "Delete scheduled page test", - description: "Deletes a scheduled test for a page.", + description: "Deletes a scheduled test for a page.\n\nDELETE /zones/{zone_id}/speed_api/schedule/{url}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + "description": "A URL.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -190,11 +186,36 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "region": { "allOf": [ { - "$ref": "#/$defs/observatory_region" + "description": "A test region.", + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" }, { "type": "string" @@ -208,11 +229,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region$, - "observatory_url": observatory_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_count-response", @@ -268,19 +285,20 @@ export const tools: readonly Tool[] = [ { name: "speed_schedule_get", title: "Get a page test schedule", - description: "Retrieves the test schedule for a page in a specific region.", + description: "Retrieves the test schedule for a page in a specific region.\n\nGET /zones/{zone_id}/speed_api/schedule/{url}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "url": { - "$ref": "#/$defs/observatory_url", - "description": "A URL." + "description": "A URL.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/observatory_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -290,11 +308,36 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "region": { "allOf": [ { - "$ref": "#/$defs/observatory_region" + "description": "A test region.", + "enum": [ + "asia-east1", + "asia-northeast1", + "asia-northeast2", + "asia-south1", + "asia-southeast1", + "australia-southeast1", + "europe-north1", + "europe-southwest1", + "europe-west1", + "europe-west2", + "europe-west3", + "europe-west4", + "europe-west8", + "europe-west9", + "me-west1", + "southamerica-east1", + "us-central1", + "us-east1", + "us-east4", + "us-south1", + "us-west1" + ], + "type": "string" }, { "type": "string" @@ -308,22 +351,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "observatory_identifier": observatory_identifier, - "observatory_region": observatory_region$, - "observatory_url": observatory_url$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/observatory_schedule-response-single", $defs: { "observatory_api-response-single": observatory_api$$response$$single, "observatory_messages": observatory_messages, - "observatory_region": observatory_region, "observatory_schedule": observatory_schedule, "observatory_schedule-response-single": observatory_schedule$$response$$single, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_url": observatory_url, }, }, annotations: { @@ -360,11 +396,8 @@ export const tools: readonly Tool[] = [ "observatory_api-response-common-failure": observatory_api$$response$$common$$failure, "observatory_api-response-single": observatory_api$$response$$single, "observatory_messages": observatory_messages, - "observatory_region": observatory_region, "observatory_schedule": observatory_schedule, "observatory_schedule-response-single": observatory_schedule$$response$$single, - "observatory_schedule_frequency": observatory_schedule_frequency, - "observatory_url": observatory_url, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/speed/schemas.ts b/src/generated/forge-mcp/speed/schemas.ts deleted file mode 100644 index 5c34c55b7..000000000 --- a/src/generated/forge-mcp/speed/schemas.ts +++ /dev/null @@ -1,83 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `observatory_device_type`. - */ -export const observatory_device_type: JsonSchema = { - "description": "The type of device.", - "enum": [ - "DESKTOP", - "MOBILE" - ], - "type": "string" -}; - -/** - * The schema of `observatory_identifier`. - */ -export const observatory_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `observatory_region`. - */ -export const observatory_region: JsonSchema = { - "description": "A test region.", - "enum": [ - "asia-east1", - "asia-northeast1", - "asia-northeast2", - "asia-south1", - "asia-southeast1", - "australia-southeast1", - "europe-north1", - "europe-southwest1", - "europe-west1", - "europe-west2", - "europe-west3", - "europe-west4", - "europe-west8", - "europe-west9", - "me-west1", - "southamerica-east1", - "us-central1", - "us-east1", - "us-east4", - "us-south1", - "us-west1" - ], - "type": "string" -}; - -/** - * The schema of `observatory_schedule_frequency`. - */ -export const observatory_schedule_frequency: JsonSchema = { - "description": "The frequency of the test.", - "enum": [ - "DAILY", - "WEEKLY" - ], - "type": "string" -}; - -/** - * The schema of `observatory_timestamp`. - */ -export const observatory_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `observatory_url`. - */ -export const observatory_url: JsonSchema = { - "description": "A URL.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/sql/tools.ts b/src/generated/forge-mcp/sql/tools.ts index c5a224ea3..a5fe29053 100644 --- a/src/generated/forge-mcp/sql/tools.ts +++ b/src/generated/forge-mcp/sql/tools.ts @@ -13,7 +13,6 @@ import { analytics$$sql_IntrospectionDataset, analytics$$sql_IntrospectionDatasetKind, analytics$$sql_IntrospectionResponse, - analytics$$sql_IntrospectionSampling, analytics$$sql_LogExplorerQueryResponse, analytics$$sql_SqlQueryResponse, analytics$$sql_SqlQueryStatistics, @@ -33,23 +32,24 @@ export const tools: readonly Tool[] = [ { name: "sql_datasets", title: "List available analytics datasets", - description: "Returns the analytics dataset catalogue. By default, the response contains dataset names, titles, categories, descriptions, kinds, and hidden flags. Set `include_columns` to include each dataset's column names, descriptions, data types, and hidden flags. The caller must have Account Analytics Read permission on the account identified by `account_tag`. Dataset names, descriptions, and columns are the same for every authorized account. When `include_custom_attributes` or `include_attributes` is set, the response also includes attribute names and types discovered from that account's own data, which legitimately differs per caller. `attributes` is a replacement for `custom_attributes` that will eventually be removed; until then, set either flag independently to receive the corresponding field. `hidden` marks catalogue entries a client should de-emphasise. It has no effect on access: hidden datasets and columns are returned here and remain fully queryable.\n\nThe catalogue lists the datasets this deployment is able to describe, which is not a fixed list. Some datasets are described by the service that owns them and are listed only where that service is available, so the same account may see a different catalogue in different environments, and datasets may appear or disappear without a change to this API. Clients should query the catalogue rather than hard-coding it, and should not treat a dataset's absence as proof that it does not exist.\n\nWorkers Analytics Engine datasets are named by the account that writes them, so they are discovered from that account's own data rather than from a fixed list. They appear as `events.analyticsEngine.` and differ per account. A dataset is listed for as long as any of its data is retained, so it does not disappear from the catalogue merely because writes have stopped. An account with a very large number of datasets may receive a truncated list. Set `include_wae=false` to omit them.\n\nLog Explorer datasets are listed only where the account has them, so they differ per account and are not part of the static catalogue. Set `include_lex=false` to omit them.", + description: "Returns the analytics dataset catalogue. By default, the response contains dataset names, titles, categories, descriptions, kinds, and hidden flags. Set `include_columns` to include each dataset's column names, descriptions, data types, and hidden flags. The caller must have Account Analytics Read permission on the account identified by `account_tag`. Dataset names, descriptions, and columns are the same for every authorized account. When `include_custom_attributes` or `include_attributes` is set, the response also includes attribute names and types discovered from that account's own data, which legitimately differs per caller. `attributes` is a replacement for `custom_attributes` that will eventually be removed; until then, set either flag independently to receive the corresponding field. `hidden` marks catalogue entries a client should de-emphasise. It has no effect on access: hidden datasets and columns are returned here and remain fully queryable.\n\nThe catalogue lists the datasets this deployment is able to describe, which is not a fixed list. Some datasets are described by the service that owns them and are listed only where that service is available, so the same account may see a different catalogue in different environments, and datasets may appear or disappear without a change to this API. Clients should query the catalogue rather than hard-coding it, and should not treat a dataset's absence as proof that it does not exist.\n\nWorkers Analytics Engine datasets are named by the account that writes them, so they are discovered from that account's own data rather than from a fixed list. They appear as `events.analyticsEngine.` and differ per account. A dataset is listed for as long as any of its data is retained, so it does not disappear from the catalogue merely because writes have stopped. An account with a very large number of datasets may receive a truncated list. Set `include_wae=false` to omit them.\n\nLog Explorer datasets are listed only where the account has them, so they differ per account and are not part of the static catalogue. Set `include_lex=false` to omit them.\n\nGET /analytics/sql/introspection", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "account_tag": { "description": "Account whose available analytics datasets are returned.", "type": "string" }, "dataset_name": { - "description": "Return only the dataset with this exact name. An empty value is treated as if the parameter had been omitted, and does not filter the catalogue. A name that matches no dataset in this deployment's catalogue is rejected with `422`; a dataset that exists but is not describable here is rejected identically, so the two cases cannot be told apart.\n\nA Workers Analytics Engine dataset is named in full, as `events.analyticsEngine.`; the namespace on its own returns every such dataset the account has. A `dataset_name` the account does not have is rejected with `422` like any other unknown name.\n", + "description": "Return only the dataset with this exact name. An empty value is treated as if the parameter had been omitted, and does not filter the catalogue. A name that matches no dataset in this deployment's catalogue is rejected with `422`; a dataset that exists but is not describable here is rejected identically, so the two cases cannot be told apart.\n\nA Workers Analytics Engine dataset is named in full, as `events.analyticsEngine.`; the namespace on its own returns every such dataset the account has. A `dataset_name` the account does not have is rejected with `422` like any other unknown name.", "type": "string" }, "include_attributes": { "default": false, - "description": "Include a capped set of attribute names and types observed during the preceding seven days, as `attributes`. Requires a nonempty dataset_name. Replaces `include_custom_attributes`, which is deprecated.\n", + "description": "Include a capped set of attribute names and types observed during the preceding seven days, as `attributes`. Requires a nonempty dataset_name. Replaces `include_custom_attributes`, which is deprecated.", "type": "boolean" }, "include_columns": { @@ -59,17 +59,17 @@ export const tools: readonly Tool[] = [ }, "include_custom_attributes": { "default": false, - "description": "Include a capped set of custom attribute names and types observed during the preceding seven days, as `custom_attributes`. Requires a nonempty dataset_name. Deprecated in favor of `include_attributes`.\n", + "description": "Include a capped set of custom attribute names and types observed during the preceding seven days, as `custom_attributes`. Requires a nonempty dataset_name. Deprecated in favor of `include_attributes`.", "type": "boolean" }, "include_lex": { "default": true, - "description": "Include Log Explorer datasets, which are listed only where the account has them. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", + "description": "Include Log Explorer datasets, which are listed only where the account has them. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.", "type": "boolean" }, "include_wae": { "default": true, - "description": "Include Workers Analytics Engine datasets, which are discovered from the account's own data. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.\n", + "description": "Include Workers Analytics Engine datasets, which are discovered from the account's own data. Set to `false` to return only datasets described from the static catalogue, which avoids that lookup.", "type": "boolean" } }, @@ -82,6 +82,7 @@ export const tools: readonly Tool[] = [ required: [ "query" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/analytics-sql_IntrospectionResponse", @@ -93,7 +94,6 @@ export const tools: readonly Tool[] = [ "analytics-sql_IntrospectionDataset": analytics$$sql_IntrospectionDataset, "analytics-sql_IntrospectionDatasetKind": analytics$$sql_IntrospectionDatasetKind, "analytics-sql_IntrospectionResponse": analytics$$sql_IntrospectionResponse, - "analytics-sql_IntrospectionSampling": analytics$$sql_IntrospectionSampling, }, }, annotations: { @@ -140,7 +140,6 @@ export const tools: readonly Tool[] = [ "analytics-sql_IntrospectionDataset": analytics$$sql_IntrospectionDataset, "analytics-sql_IntrospectionDatasetKind": analytics$$sql_IntrospectionDatasetKind, "analytics-sql_IntrospectionResponse": analytics$$sql_IntrospectionResponse, - "analytics-sql_IntrospectionSampling": analytics$$sql_IntrospectionSampling, }, }, request: (args) => ({ @@ -159,7 +158,7 @@ export const tools: readonly Tool[] = [ { name: "sql_query", title: "Query analytics datasets", - description: "Executes a SQL query against the analytics datasets available to the caller. Send either raw SQL or a JSON object containing the query and optional positional or named parameters, time range, and account or zone scope. Raw SQL placeholders can also be bound with query parameters named `param_`. A trailing `FORMAT JSON`, `FORMAT JSONEachRow`, `FORMAT TabSeparated`, or `FORMAT TSV` is supported for all datasets. Without FORMAT, each backend retains its existing default JSON response.", + description: "Executes a SQL query against the analytics datasets available to the caller. Send either raw SQL or a JSON object containing the query and optional positional or named parameters, time range, and account or zone scope. Raw SQL placeholders can also be bound with query parameters named `param_`. A trailing `FORMAT JSON`, `FORMAT JSONEachRow`, `FORMAT TabSeparated`, or `FORMAT TSV` is supported for all datasets. Without FORMAT, each backend retains its existing default JSON response.\n\nPOST /analytics/sql", inputSchema: { type: "object", properties: { @@ -170,6 +169,7 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { "analytics-sql_SqlQueryAccountScope": analytics$$sql_SqlQueryAccountScope, "analytics-sql_SqlQueryRequest": analytics$$sql_SqlQueryRequest, diff --git a/src/generated/forge-mcp/ssl/analyze/tools.ts b/src/generated/forge-mcp/ssl/analyze/tools.ts index d5ea85d32..242fdb427 100644 --- a/src/generated/forge-mcp/ssl/analyze/tools.ts +++ b/src/generated/forge-mcp/ssl/analyze/tools.ts @@ -7,11 +7,6 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; -import { - tls$$certificates$$and$$hostnames_bundle_method, - tls$$certificates$$and$$hostnames_certificate, -} from "../schemas.js"; import { tls$$certificates$$and$$hostnames_certificate_analyze_response } from "./outputs.js"; /** @@ -21,29 +16,35 @@ export const tools: readonly Tool[] = [ { name: "ssl_analyze_create", title: "Analyze Certificate", - description: "Returns the set of hostnames, the signature algorithm, and the expiration date of the certificate.", + description: "Returns the set of hostnames, the signature algorithm, and the expiration date of the certificate.\n\nPOST /zones/{zone_id}/ssl/analyze", inputSchema: { type: "object", properties: { "body": { "properties": { "bundle_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_bundle_method", "default": "ubiquitous", - "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it." + "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it.", + "enum": [ + "ubiquitous", + "optimal", + "force" + ], + "type": "string" }, "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate", - "description": "The zone's SSL certificate or certificate and the intermediate(s)." + "description": "The zone's SSL certificate or certificate and the intermediate(s).", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -56,11 +57,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, - "tls-certificates-and-hostnames_certificate": tls$$certificates$$and$$hostnames_certificate, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_analyze_response", diff --git a/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts b/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts index 49ed1d823..e7e290ce6 100644 --- a/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts +++ b/src/generated/forge-mcp/ssl/autoOriginTlsKex/outputs.ts @@ -63,7 +63,7 @@ export const cache_auto_origin_tls_kex_response: JsonSchema = { export const cache_auto_origin_tls_kex_result: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/cache_auto_origin_tls_kex_value" + "type": "boolean" }, "id": { "type": "string" @@ -80,10 +80,3 @@ export const cache_auto_origin_tls_kex_result: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `cache_auto_origin_tls_kex_value` in responses. - */ -export const cache_auto_origin_tls_kex_value: JsonSchema = { - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/ssl/autoOriginTlsKex/schemas.ts b/src/generated/forge-mcp/ssl/autoOriginTlsKex/schemas.ts index f2a7b82aa..72c9ba12c 100644 --- a/src/generated/forge-mcp/ssl/autoOriginTlsKex/schemas.ts +++ b/src/generated/forge-mcp/ssl/autoOriginTlsKex/schemas.ts @@ -10,8 +10,8 @@ export const cache_auto_origin_tls_kex_patch: JsonSchema = { "description": "Update enablement of Auto-Origin TLS KEX selection.", "properties": { "enabled": { - "$ref": "#/$defs/cache_auto_origin_tls_kex_value", - "description": "Controls enablement of Auto-Origin TLS KEX selection for the zone." + "description": "Controls enablement of Auto-Origin TLS KEX selection for the zone.", + "type": "boolean" } }, "required": [ @@ -19,11 +19,3 @@ export const cache_auto_origin_tls_kex_patch: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `cache_auto_origin_tls_kex_value`. - */ -export const cache_auto_origin_tls_kex_value: JsonSchema = { - "description": "Controls enablement of Auto-Origin TLS KEX selection for the zone.", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts b/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts index ecb3315e2..2a981071f 100644 --- a/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts +++ b/src/generated/forge-mcp/ssl/autoOriginTlsKex/tools.ts @@ -3,17 +3,12 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { cache_messages } from "../outputs.js"; -import { cache_identifier } from "../schemas.js"; import { cache_auto_origin_tls_kex_failure_response, cache_auto_origin_tls_kex_response, cache_auto_origin_tls_kex_result, - cache_auto_origin_tls_kex_value, } from "./outputs.js"; -import { - cache_auto_origin_tls_kex_patch, - cache_auto_origin_tls_kex_value as cache_auto_origin_tls_kex_value$, -} from "./schemas.js"; +import { cache_auto_origin_tls_kex_patch } from "./schemas.js"; /** * The tools of `ssl.autoOriginTlsKex`. @@ -22,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "ssl_autoOriginTlsKex_edit", title: "Patch Auto-Origin TLS KEX enrollment status for the given zone", - description: "Enable or disable Auto-Origin TLS KEX selection for the zone by sending `{\"enabled\": true}` or `{\"enabled\": false}`. When enabled, Cloudflare runs a periodic scan of the zone's origins to determine the preferred key-exchange algorithm and writes that preference to the edge so it is sent first in the TLS ClientHello to the origin.", + description: "Enable or disable Auto-Origin TLS KEX selection for the zone by sending `{\"enabled\": true}` or `{\"enabled\": false}`. When enabled, Cloudflare runs a periodic scan of the zone's origins to determine the preferred key-exchange algorithm and writes that preference to the edge so it is sent first in the TLS ClientHello to the origin.\n\nPATCH /zones/{zone_id}/settings/auto_origin_tls_kex", inputSchema: { type: "object", properties: { @@ -30,9 +25,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cache_auto_origin_tls_kex_patch" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache_identifier" + "type": "string" } }, "required": [ @@ -45,10 +41,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cache_auto_origin_tls_kex_patch": cache_auto_origin_tls_kex_patch, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value$, - "cache_identifier": cache_identifier, }, }, outputSchema: { @@ -56,7 +51,6 @@ export const tools: readonly Tool[] = [ $defs: { "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response, "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value, "cache_messages": cache_messages, }, }, @@ -90,7 +84,6 @@ export const tools: readonly Tool[] = [ "cache_auto_origin_tls_kex_failure_response": cache_auto_origin_tls_kex_failure_response, "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response, "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value, "cache_messages": cache_messages, }, }, @@ -102,14 +95,15 @@ export const tools: readonly Tool[] = [ { name: "ssl_autoOriginTlsKex_get", title: "Get Auto-Origin TLS KEX enrollment status for the given zone", - description: "When enabled, Cloudflare automatically selects the preferred TLS key-exchange algorithm to use when establishing the TLS connection to the zone's origin, picking from the algorithms permitted by the zone's `origin_tls_compliance_modes` setting. When disabled, the default key-exchange ordering is used.", + description: "When enabled, Cloudflare automatically selects the preferred TLS key-exchange algorithm to use when establishing the TLS connection to the zone's origin, picking from the algorithms permitted by the zone's `origin_tls_compliance_modes` setting. When disabled, the default key-exchange ordering is used.\n\nGET /zones/{zone_id}/settings/auto_origin_tls_kex", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache_identifier" + "type": "string" } }, "required": [ @@ -121,16 +115,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache_identifier": cache_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cache_auto_origin_tls_kex_response", $defs: { "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response, "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value, "cache_messages": cache_messages, }, }, @@ -164,7 +155,6 @@ export const tools: readonly Tool[] = [ "cache_auto_origin_tls_kex_failure_response": cache_auto_origin_tls_kex_failure_response, "cache_auto_origin_tls_kex_response": cache_auto_origin_tls_kex_response, "cache_auto_origin_tls_kex_result": cache_auto_origin_tls_kex_result, - "cache_auto_origin_tls_kex_value": cache_auto_origin_tls_kex_value, "cache_messages": cache_messages, }, }, diff --git a/src/generated/forge-mcp/ssl/automaticUpgrader/schemas.ts b/src/generated/forge-mcp/ssl/automaticUpgrader/schemas.ts index 4474be8f6..43001cc95 100644 --- a/src/generated/forge-mcp/ssl/automaticUpgrader/schemas.ts +++ b/src/generated/forge-mcp/ssl/automaticUpgrader/schemas.ts @@ -10,8 +10,12 @@ export const cache_schemas_patch: JsonSchema = { "description": "Update enablement of Automatic SSL/TLS.", "properties": { "value": { - "$ref": "#/$defs/cache_schemas_value", - "description": "Controls enablement of Automatic SSL/TLS." + "description": "Controls enablement of Automatic SSL/TLS.", + "enum": [ + "auto", + "custom" + ], + "type": "string" } }, "required": [ @@ -19,15 +23,3 @@ export const cache_schemas_patch: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `cache_schemas_value`. - */ -export const cache_schemas_value: JsonSchema = { - "description": "Controls enablement of Automatic SSL/TLS.", - "enum": [ - "auto", - "custom" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts b/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts index 1151ee175..dd941a3ad 100644 --- a/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts +++ b/src/generated/forge-mcp/ssl/automaticUpgrader/tools.ts @@ -8,8 +8,7 @@ import { cache_messages, cache_result, } from "../outputs.js"; -import { cache_identifier } from "../schemas.js"; -import { cache_schemas_patch, cache_schemas_value } from "./schemas.js"; +import { cache_schemas_patch } from "./schemas.js"; /** * The tools of `ssl.automaticUpgrader`. @@ -18,14 +17,15 @@ export const tools: readonly Tool[] = [ { name: "ssl_automaticUpgrader_get", title: "Get Automatic SSL/TLS enrollment status for the given zone", - description: "If the system is enabled, the response will include next_scheduled_scan, representing the next time this zone will be scanned and the zone's ssl/tls encryption mode is potentially upgraded by the system. If the system is disabled, next_scheduled_scan will not be present in the response body.", + description: "If the system is enabled, the response will include next_scheduled_scan, representing the next time this zone will be scanned and the zone's ssl/tls encryption mode is potentially upgraded by the system. If the system is disabled, next_scheduled_scan will not be present in the response body.\n\nGET /zones/{zone_id}/settings/ssl_automatic_mode", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache_identifier" + "type": "string" } }, "required": [ @@ -37,9 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache_identifier": cache_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cache_api-response-single-id", @@ -100,7 +98,7 @@ export const tools: readonly Tool[] = [ { name: "ssl_automaticUpgrader_patch", title: "Patch Automatic SSL/TLS Enrollment status for given zone", - description: "The automatic system is enabled when this endpoint is hit with value in the request body is set to \"auto\", and disabled when the request body value is set to \"custom\".", + description: "The automatic system is enabled when this endpoint is hit with value in the request body is set to \"auto\", and disabled when the request body value is set to \"custom\".\n\nPATCH /zones/{zone_id}/settings/ssl_automatic_mode", inputSchema: { type: "object", properties: { @@ -108,9 +106,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cache_schemas_patch" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache_identifier" + "type": "string" } }, "required": [ @@ -123,10 +122,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cache_identifier": cache_identifier, "cache_schemas_patch": cache_schemas_patch, - "cache_schemas_value": cache_schemas_value, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts index a4937c402..918625b22 100644 --- a/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts +++ b/src/generated/forge-mcp/ssl/certificateAuthorities/hostnameAssociations/tools.ts @@ -7,7 +7,6 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { tls$$certificates$$and$$hostnames_hostname_associations_response, tls$$certificates$$and$$hostnames_hostnames$$2, @@ -24,15 +23,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_certificateAuthorities_hostnameAssociations_get", title: "List Hostname Associations", - description: "List Hostname Associations.", + description: "List Hostname Associations.\n\nGET /zones/{zone_id}/certificate_authorities/hostname_associations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -41,6 +41,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "mtls_certificate_id": { "description": "The UUID to match against for a certificate that was uploaded to the mTLS Certificate Management endpoint. If no mtls_certificate_id is given, the results will be the hostnames associated to your active Cloudflare Managed CA.", @@ -53,9 +54,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_associations_response", @@ -114,7 +113,7 @@ export const tools: readonly Tool[] = [ { name: "ssl_certificateAuthorities_hostnameAssociations_update", title: "Replace Hostname Associations", - description: "Replace Hostname Associations.", + description: "Replace Hostname Associations.\n\nPUT /zones/{zone_id}/certificate_authorities/hostname_associations", inputSchema: { type: "object", properties: { @@ -122,10 +121,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_association" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -138,10 +138,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "tls-certificates-and-hostnames_hostname_association": tls$$certificates$$and$$hostnames_hostname_association, "tls-certificates-and-hostnames_hostnames-2": tls$$certificates$$and$$hostnames_hostnames$$2$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts b/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts index 4bb352bef..4c20045e1 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/outputs.ts @@ -24,26 +24,18 @@ export const tls$$certificates$$and$$hostnames_advanced_certificate_pack_respons ] }; -/** - * The schema of `tls-certificates-and-hostnames_certificate_authority-2` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_certificate_authority$$2: JsonSchema = { - "enum": [ - "google", - "lets_encrypt", - "ssl_com" - ], - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_certificate_pack` in responses. */ export const tls$$certificates$$and$$hostnames_certificate_pack: JsonSchema = { "properties": { "certificate_authority": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-2" + "enum": [ + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" }, "certificates": { "items": { @@ -52,7 +44,7 @@ export const tls$$certificates$$and$$hostnames_certificate_pack: JsonSchema = { "type": "array" }, "cloudflare_branding": { - "$ref": "#/$defs/tls-certificates-and-hostnames_cloudflare_branding" + "type": "boolean" }, "dcv_delegation_records": { "items": { @@ -64,16 +56,49 @@ export const tls$$certificates$$and$$hostnames_certificate_pack: JsonSchema = { "$ref": "#/$defs/tls-certificates-and-hostnames_hosts-2" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier" + "type": "string" }, "primary_certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_primary" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-5" + "enum": [ + "initializing", + "pending_validation", + "deleted", + "pending_issuance", + "pending_deployment", + "pending_deletion", + "pending_expiration", + "expired", + "active", + "initializing_timed_out", + "validation_timed_out", + "issuance_timed_out", + "deployment_timed_out", + "deletion_timed_out", + "pending_cleanup", + "staging_deployment", + "staging_active", + "deactivating", + "inactive", + "backup_issued", + "holding_deployment" + ], + "type": "string" }, "type": { - "$ref": "#/$defs/tls-certificates-and-hostnames_type-2" + "enum": [ + "mh_custom", + "managed_hostname", + "sni_custom", + "universal", + "advanced", + "total_tls", + "keyless", + "legacy_custom" + ], + "type": "string" }, "validation_errors": { "items": { @@ -87,7 +112,12 @@ export const tls$$certificates$$and$$hostnames_certificate_pack: JsonSchema = { "type": "array" }, "validation_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method" + "enum": [ + "txt", + "http", + "email" + ], + "type": "string" }, "validation_records": { "items": { @@ -96,7 +126,13 @@ export const tls$$certificates$$and$$hostnames_certificate_pack: JsonSchema = { "type": "array" }, "validity_days": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validity_days" + "enum": [ + 14, + 30, + 90, + 365 + ], + "type": "integer" } }, "required": [ @@ -165,7 +201,7 @@ export const tls$$certificates$$and$$hostnames_certificate_pack_certificate: Jso "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier" + "type": "string" } }, "required": [ @@ -176,14 +212,6 @@ export const tls$$certificates$$and$$hostnames_certificate_pack_certificate: Jso "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_certificate_pack_identifier` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_certificate_pack_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of * `tls-certificates-and-hostnames_certificate_pack_response_collection` in @@ -229,14 +257,6 @@ export const tls$$certificates$$and$$hostnames_certificate_pack_response_single: ] }; -/** - * The schema of `tls-certificates-and-hostnames_cloudflare_branding` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_cloudflare_branding: JsonSchema = { - "type": "boolean" -}; - /** * The schema of * `tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single` @@ -252,7 +272,7 @@ export const tls$$certificates$$and$$hostnames_delete_advanced_certificate_pack_ "result": { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier" + "type": "string" } }, "type": "object" @@ -272,83 +292,3 @@ export const tls$$certificates$$and$$hostnames_hosts$$2: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `tls-certificates-and-hostnames_primary` in responses. - */ -export const tls$$certificates$$and$$hostnames_primary: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_status-5` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$5: JsonSchema = { - "enum": [ - "initializing", - "pending_validation", - "deleted", - "pending_issuance", - "pending_deployment", - "pending_deletion", - "pending_expiration", - "expired", - "active", - "initializing_timed_out", - "validation_timed_out", - "issuance_timed_out", - "deployment_timed_out", - "deletion_timed_out", - "pending_cleanup", - "staging_deployment", - "staging_active", - "deactivating", - "inactive", - "backup_issued", - "holding_deployment" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_type-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_type$$2: JsonSchema = { - "enum": [ - "mh_custom", - "managed_hostname", - "sni_custom", - "universal", - "advanced", - "total_tls", - "keyless", - "legacy_custom" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_validation_method` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_validation_method: JsonSchema = { - "enum": [ - "txt", - "http", - "email" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_validity_days` in responses. - */ -export const tls$$certificates$$and$$hostnames_validity_days: JsonSchema = { - "enum": [ - 14, - 30, - 90, - 365 - ], - "type": "integer" -}; diff --git a/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts b/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts index 738db3805..8e5251dfa 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/quota/tools.ts @@ -7,7 +7,6 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { tls$$certificates$$and$$hostnames_certificate_pack_quota_response, tls$$certificates$$and$$hostnames_quota, @@ -20,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_certificatePacks_quota_get", title: "Get Certificate Pack Quotas", - description: "For a given zone, list certificate pack quotas.", + description: "For a given zone, list certificate pack quotas.\n\nGET /zones/{zone_id}/ssl/certificate_packs/quota", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -40,9 +40,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_quota_response", diff --git a/src/generated/forge-mcp/ssl/certificatePacks/schemas.ts b/src/generated/forge-mcp/ssl/certificatePacks/schemas.ts index 15898c42a..718ed3132 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/schemas.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/schemas.ts @@ -3,46 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_advanced_type`. - */ -export const tls$$certificates$$and$$hostnames_advanced_type: JsonSchema = { - "description": "Type of certificate pack.", - "enum": [ - "advanced" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_certificate_authority-2`. - */ -export const tls$$certificates$$and$$hostnames_certificate_authority$$2: JsonSchema = { - "description": "Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions [see this page for more details](https://developers.cloudflare.com/ssl/reference/certificate-authorities).", - "enum": [ - "google", - "lets_encrypt", - "ssl_com" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_certificate_pack_identifier`. - */ -export const tls$$certificates$$and$$hostnames_certificate_pack_identifier: JsonSchema = { - "description": "The unique identifier for a certificate_pack.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_cloudflare_branding`. - */ -export const tls$$certificates$$and$$hostnames_cloudflare_branding: JsonSchema = { - "description": "Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.", - "type": "boolean" -}; - /** * The schema of `tls-certificates-and-hostnames_hosts-2`. */ @@ -53,30 +13,3 @@ export const tls$$certificates$$and$$hostnames_hosts$$2: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `tls-certificates-and-hostnames_validation_method`. - */ -export const tls$$certificates$$and$$hostnames_validation_method: JsonSchema = { - "description": "Validation Method selected for the order.", - "enum": [ - "txt", - "http", - "email" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_validity_days`. - */ -export const tls$$certificates$$and$$hostnames_validity_days: JsonSchema = { - "description": "Validity Days selected for the order.", - "enum": [ - 14, - 30, - 90, - 365 - ], - "type": "integer" -}; diff --git a/src/generated/forge-mcp/ssl/certificatePacks/tools.ts b/src/generated/forge-mcp/ssl/certificatePacks/tools.ts index 019f625f4..d349013df 100644 --- a/src/generated/forge-mcp/ssl/certificatePacks/tools.ts +++ b/src/generated/forge-mcp/ssl/certificatePacks/tools.ts @@ -7,37 +7,19 @@ import { tls$$certificates$$and$$hostnames_api$$response$$common, tls$$certificates$$and$$hostnames_api$$response$$common$$failure, tls$$certificates$$and$$hostnames_api$$response$$single, - tls$$certificates$$and$$hostnames_identifier, tls$$certificates$$and$$hostnames_messages, tls$$certificates$$and$$hostnames_validation_record, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier as tls$$certificates$$and$$hostnames_identifier$ } from "../../schemas.js"; import { tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, - tls$$certificates$$and$$hostnames_certificate_authority$$2, tls$$certificates$$and$$hostnames_certificate_pack, tls$$certificates$$and$$hostnames_certificate_pack_certificate, - tls$$certificates$$and$$hostnames_certificate_pack_identifier, tls$$certificates$$and$$hostnames_certificate_pack_response_collection, tls$$certificates$$and$$hostnames_certificate_pack_response_single, - tls$$certificates$$and$$hostnames_cloudflare_branding, tls$$certificates$$and$$hostnames_delete_advanced_certificate_pack_response_single, tls$$certificates$$and$$hostnames_hosts$$2, - tls$$certificates$$and$$hostnames_primary, - tls$$certificates$$and$$hostnames_status$$5, - tls$$certificates$$and$$hostnames_type$$2, - tls$$certificates$$and$$hostnames_validation_method, - tls$$certificates$$and$$hostnames_validity_days, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_advanced_type, - tls$$certificates$$and$$hostnames_certificate_authority$$2 as tls$$certificates$$and$$hostnames_certificate_authority$$2$, - tls$$certificates$$and$$hostnames_certificate_pack_identifier as tls$$certificates$$and$$hostnames_certificate_pack_identifier$, - tls$$certificates$$and$$hostnames_cloudflare_branding as tls$$certificates$$and$$hostnames_cloudflare_branding$, - tls$$certificates$$and$$hostnames_hosts$$2 as tls$$certificates$$and$$hostnames_hosts$$2$, - tls$$certificates$$and$$hostnames_validation_method as tls$$certificates$$and$$hostnames_validation_method$, - tls$$certificates$$and$$hostnames_validity_days as tls$$certificates$$and$$hostnames_validity_days$, -} from "./schemas.js"; +import { tls$$certificates$$and$$hostnames_hosts$$2 as tls$$certificates$$and$$hostnames_hosts$$2$ } from "./schemas.js"; /** * The tools of `ssl.certificatePacks`. @@ -46,35 +28,54 @@ export const tools: readonly Tool[] = [ { name: "ssl_certificatePacks_create", title: "Order Advanced Certificate Manager Certificate Pack", - description: "For a given zone, order an advanced certificate pack.", + description: "For a given zone, order an advanced certificate pack.\n\nPOST /zones/{zone_id}/ssl/certificate_packs/order", inputSchema: { type: "object", properties: { "body": { "properties": { "certificate_authority": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-2", - "description": "Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions [see this page for more details](https://developers.cloudflare.com/ssl/reference/certificate-authorities)." + "description": "Certificate Authority selected for the order. For information on any certificate authority specific details or restrictions [see this page for more details](https://developers.cloudflare.com/ssl/reference/certificate-authorities).", + "enum": [ + "google", + "lets_encrypt", + "ssl_com" + ], + "type": "string" }, "cloudflare_branding": { - "$ref": "#/$defs/tls-certificates-and-hostnames_cloudflare_branding", - "description": "Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true." + "description": "Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.", + "type": "boolean" }, "hosts": { "$ref": "#/$defs/tls-certificates-and-hostnames_hosts-2", "description": "Comma separated list of valid host names for the certificate packs. Must contain the zone apex, may not contain more than 50 hosts, and may not be empty." }, "type": { - "$ref": "#/$defs/tls-certificates-and-hostnames_advanced_type", - "description": "Type of certificate pack." + "description": "Type of certificate pack.", + "enum": [ + "advanced" + ], + "type": "string" }, "validation_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method", - "description": "Validation Method selected for the order." + "description": "Validation Method selected for the order.", + "enum": [ + "txt", + "http", + "email" + ], + "type": "string" }, "validity_days": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validity_days", - "description": "Validity Days selected for the order." + "description": "Validity Days selected for the order.", + "enum": [ + 14, + 30, + 90, + 365 + ], + "type": "integer" } }, "required": [ @@ -87,10 +88,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -103,14 +105,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_advanced_type": tls$$certificates$$and$$hostnames_advanced_type, - "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2$, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding$, "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method$, - "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days$, }, }, outputSchema: { @@ -118,20 +115,11 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, - "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, - "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, - "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, - "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, annotations: { @@ -180,20 +168,11 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, - "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, - "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, - "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, - "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, request: (args) => ({ @@ -204,19 +183,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_certificatePacks_delete", title: "Delete Advanced Certificate Manager Certificate Pack", - description: "For a given zone, delete an advanced certificate pack.", + description: "For a given zone, delete an advanced certificate pack.\n\nDELETE /zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier", - "description": "The unique identifier for a certificate_pack." + "description": "The unique identifier for a certificate_pack.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -229,16 +209,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, "tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_delete_advanced_certificate_pack_response_single, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -288,7 +264,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, "tls-certificates-and-hostnames_delete_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_delete_advanced_certificate_pack_response_single, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -300,28 +275,29 @@ export const tools: readonly Tool[] = [ { name: "ssl_certificatePacks_edit", title: "Restart Validation or Update Advanced Certificate Manager Certificate Pack", - description: "For a given zone, restart validation or add cloudflare branding for an advanced certificate pack. The former is only a validation operation for a Certificate Pack in a validation_timed_out status.", + description: "For a given zone, restart validation or add cloudflare branding for an advanced certificate pack. The former is only a validation operation for a Certificate Pack in a validation_timed_out status.\n\nPATCH /zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "cloudflare_branding": { - "$ref": "#/$defs/tls-certificates-and-hostnames_cloudflare_branding", - "description": "Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true." + "description": "Whether or not to add Cloudflare Branding for the order. This will add a subdomain of sni.cloudflaressl.com as the Common Name if set to true.", + "type": "boolean" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier", - "description": "The unique identifier for a certificate_pack." + "description": "The unique identifier for a certificate_pack.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -335,31 +311,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier$, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_advanced_certificate_pack_response_single", $defs: { "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, - "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, - "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, - "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, - "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, annotations: { @@ -408,20 +371,11 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_advanced_certificate_pack_response_single": tls$$certificates$$and$$hostnames_advanced_certificate_pack_response_single, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, - "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, - "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, - "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, - "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, request: (args) => ({ @@ -432,19 +386,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_certificatePacks_get", title: "Get Certificate Pack", - description: "For a given zone, get a certificate pack.", + description: "For a given zone, get a certificate pack.\n\nGET /zones/{zone_id}/ssl/certificate_packs/{certificate_pack_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_identifier", - "description": "The unique identifier for a certificate_pack." + "description": "The unique identifier for a certificate_pack.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -457,30 +412,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, "tls-certificates-and-hostnames_certificate_pack_response_single": tls$$certificates$$and$$hostnames_certificate_pack_response_single, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, - "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, - "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, - "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, - "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, annotations: { @@ -528,21 +471,12 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, "tls-certificates-and-hostnames_certificate_pack_response_single": tls$$certificates$$and$$hostnames_certificate_pack_response_single, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, - "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, - "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, - "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, - "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, request: (args) => ({ @@ -552,15 +486,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_certificatePacks_list", title: "List Certificate Packs", - description: "For a given zone, list all active certificate packs.", + description: "For a given zone, list all active certificate packs.\n\nGET /zones/{zone_id}/ssl/certificate_packs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -569,6 +504,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "deploy": { "description": "Specify the deployment environment for the certificate packs.", @@ -602,30 +538,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_pack_response_collection", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, "tls-certificates-and-hostnames_certificate_pack_response_collection": tls$$certificates$$and$$hostnames_certificate_pack_response_collection, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, - "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, - "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, - "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, - "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, annotations: { @@ -674,21 +599,12 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate_authority-2": tls$$certificates$$and$$hostnames_certificate_authority$$2, "tls-certificates-and-hostnames_certificate_pack": tls$$certificates$$and$$hostnames_certificate_pack, "tls-certificates-and-hostnames_certificate_pack_certificate": tls$$certificates$$and$$hostnames_certificate_pack_certificate, - "tls-certificates-and-hostnames_certificate_pack_identifier": tls$$certificates$$and$$hostnames_certificate_pack_identifier, "tls-certificates-and-hostnames_certificate_pack_response_collection": tls$$certificates$$and$$hostnames_certificate_pack_response_collection, - "tls-certificates-and-hostnames_cloudflare_branding": tls$$certificates$$and$$hostnames_cloudflare_branding, "tls-certificates-and-hostnames_hosts-2": tls$$certificates$$and$$hostnames_hosts$$2, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_primary": tls$$certificates$$and$$hostnames_primary, - "tls-certificates-and-hostnames_status-5": tls$$certificates$$and$$hostnames_status$$5, - "tls-certificates-and-hostnames_type-2": tls$$certificates$$and$$hostnames_type$$2, - "tls-certificates-and-hostnames_validation_method": tls$$certificates$$and$$hostnames_validation_method, "tls-certificates-and-hostnames_validation_record": tls$$certificates$$and$$hostnames_validation_record, - "tls-certificates-and-hostnames_validity_days": tls$$certificates$$and$$hostnames_validity_days, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts b/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts index 73a4e6e74..2258e7650 100644 --- a/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/clientCertificates/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_certificate-7` in responses. - */ -export const tls$$certificates$$and$$hostnames_certificate$$7: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_certificate_authority-4` in * responses. @@ -33,71 +26,69 @@ export const tls$$certificates$$and$$hostnames_certificate_authority$$4: JsonSch export const tls$$certificates$$and$$hostnames_client_certificate: JsonSchema = { "properties": { "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-7" + "type": "string" }, "certificate_authority": { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_authority-4" }, "common_name": { - "$ref": "#/$defs/tls-certificates-and-hostnames_common_name" + "type": "string" }, "country": { - "$ref": "#/$defs/tls-certificates-and-hostnames_country" + "type": "string" }, "csr": { - "$ref": "#/$defs/tls-certificates-and-hostnames_csr-2" + "type": "string" }, "expires_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_expired_on" + "type": "string" }, "fingerprint_sha256": { - "$ref": "#/$defs/tls-certificates-and-hostnames_fingerprint_sha256" + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier" + "type": "string" }, "issued_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_issued_on" + "type": "string" }, "location": { - "$ref": "#/$defs/tls-certificates-and-hostnames_location" + "type": "string" }, "organization": { - "$ref": "#/$defs/tls-certificates-and-hostnames_organization" + "type": "string" }, "organizational_unit": { - "$ref": "#/$defs/tls-certificates-and-hostnames_organizational_unit" + "type": "string" }, "serial_number": { - "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number-3" + "type": "string" }, "signature": { - "$ref": "#/$defs/tls-certificates-and-hostnames_signature-3" + "type": "string" }, "ski": { - "$ref": "#/$defs/tls-certificates-and-hostnames_ski" + "type": "string" }, "state": { - "$ref": "#/$defs/tls-certificates-and-hostnames_state" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-11" + "enum": [ + "active", + "pending_reactivation", + "pending_revocation", + "revoked" + ], + "type": "string" }, "validity_days": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validity_days-2" + "type": "integer" } }, "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_client_certificate_identifier` - * in responses. - */ -export const tls$$certificates$$and$$hostnames_client_certificate_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of * `tls-certificates-and-hostnames_client_certificate_response_collection` in @@ -142,116 +133,3 @@ export const tls$$certificates$$and$$hostnames_client_certificate_response_singl } ] }; - -/** - * The schema of `tls-certificates-and-hostnames_common_name` in responses. - */ -export const tls$$certificates$$and$$hostnames_common_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_country` in responses. - */ -export const tls$$certificates$$and$$hostnames_country: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_csr-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_csr$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_expired_on` in responses. - */ -export const tls$$certificates$$and$$hostnames_expired_on: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_fingerprint_sha256` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_fingerprint_sha256: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_issued_on` in responses. - */ -export const tls$$certificates$$and$$hostnames_issued_on: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_location` in responses. - */ -export const tls$$certificates$$and$$hostnames_location: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_organization` in responses. - */ -export const tls$$certificates$$and$$hostnames_organization: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_organizational_unit` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_organizational_unit: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_serial_number-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_serial_number$$3: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_signature-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_signature$$3: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_ski` in responses. - */ -export const tls$$certificates$$and$$hostnames_ski: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_state` in responses. - */ -export const tls$$certificates$$and$$hostnames_state: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_status-11` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$11: JsonSchema = { - "enum": [ - "active", - "pending_reactivation", - "pending_revocation", - "revoked" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_validity_days-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_validity_days$$2: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/ssl/clientCertificates/schemas.ts b/src/generated/forge-mcp/ssl/clientCertificates/schemas.ts deleted file mode 100644 index b10050b66..000000000 --- a/src/generated/forge-mcp/ssl/clientCertificates/schemas.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tls-certificates-and-hostnames_client_certificate_identifier`. - */ -export const tls$$certificates$$and$$hostnames_client_certificate_identifier: JsonSchema = { - "description": "Client Certificate Tag", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_csr-2`. - */ -export const tls$$certificates$$and$$hostnames_csr$$2: JsonSchema = { - "description": "The Certificate Signing Request (CSR). Must be newline-encoded.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_validity_days-2`. - */ -export const tls$$certificates$$and$$hostnames_validity_days$$2: JsonSchema = { - "description": "The number of days the Client Certificate will be valid after the issued_on date.", - "type": "integer" -}; diff --git a/src/generated/forge-mcp/ssl/clientCertificates/tools.ts b/src/generated/forge-mcp/ssl/clientCertificates/tools.ts index c63c10586..3bff7da1e 100644 --- a/src/generated/forge-mcp/ssl/clientCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/clientCertificates/tools.ts @@ -9,35 +9,12 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls$$certificates$$and$$hostnames_certificate$$7, tls$$certificates$$and$$hostnames_certificate_authority$$4, tls$$certificates$$and$$hostnames_client_certificate, - tls$$certificates$$and$$hostnames_client_certificate_identifier, tls$$certificates$$and$$hostnames_client_certificate_response_collection, tls$$certificates$$and$$hostnames_client_certificate_response_single, - tls$$certificates$$and$$hostnames_common_name, - tls$$certificates$$and$$hostnames_country, - tls$$certificates$$and$$hostnames_csr$$2, - tls$$certificates$$and$$hostnames_expired_on, - tls$$certificates$$and$$hostnames_fingerprint_sha256, - tls$$certificates$$and$$hostnames_issued_on, - tls$$certificates$$and$$hostnames_location, - tls$$certificates$$and$$hostnames_organization, - tls$$certificates$$and$$hostnames_organizational_unit, - tls$$certificates$$and$$hostnames_serial_number$$3, - tls$$certificates$$and$$hostnames_signature$$3, - tls$$certificates$$and$$hostnames_ski, - tls$$certificates$$and$$hostnames_state, - tls$$certificates$$and$$hostnames_status$$11, - tls$$certificates$$and$$hostnames_validity_days$$2, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_client_certificate_identifier as tls$$certificates$$and$$hostnames_client_certificate_identifier$, - tls$$certificates$$and$$hostnames_csr$$2 as tls$$certificates$$and$$hostnames_csr$$2$, - tls$$certificates$$and$$hostnames_validity_days$$2 as tls$$certificates$$and$$hostnames_validity_days$$2$, -} from "./schemas.js"; /** * The tools of `ssl.clientCertificates`. @@ -46,19 +23,19 @@ export const tools: readonly Tool[] = [ { name: "ssl_clientCertificates_create", title: "Create Client Certificate", - description: "Create a new API Shield mTLS Client Certificate.", + description: "Create a new API Shield mTLS Client Certificate.\n\nPOST /zones/{zone_id}/client_certificates", inputSchema: { type: "object", properties: { "body": { "properties": { "csr": { - "$ref": "#/$defs/tls-certificates-and-hostnames_csr-2", - "description": "The Certificate Signing Request (CSR). Must be newline-encoded." + "description": "The Certificate Signing Request (CSR). Must be newline-encoded.", + "type": "string" }, "validity_days": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validity_days-2", - "description": "The number of days the Client Certificate will be valid after the issued_on date." + "description": "The number of days the Client Certificate will be valid after the issued_on date.", + "type": "integer" } }, "required": [ @@ -68,10 +45,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -84,37 +62,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -161,27 +118,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ @@ -192,19 +132,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_clientCertificates_delete", title: "Revoke Client Certificate", - description: "Set a API Shield mTLS Client Certificate to pending_revocation status for processing to revoked status.", + description: "Set a API Shield mTLS Client Certificate to pending_revocation status for processing to revoked status.\n\nDELETE /zones/{zone_id}/client_certificates/{client_certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "client_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier", - "description": "Client Certificate Tag" + "description": "Client Certificate Tag", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -217,36 +158,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -286,27 +207,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ @@ -316,7 +220,7 @@ export const tools: readonly Tool[] = [ { name: "ssl_clientCertificates_edit", title: "Reactivate Client Certificate", - description: "If a API Shield mTLS Client Certificate is in a pending_revocation state, you may reactivate it with this endpoint.", + description: "If a API Shield mTLS Client Certificate is in a pending_revocation state, you may reactivate it with this endpoint.\n\nPATCH /zones/{zone_id}/client_certificates/{client_certificate_id}", inputSchema: { type: "object", properties: { @@ -329,14 +233,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "client_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier", - "description": "Client Certificate Tag" + "description": "Client Certificate Tag", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -350,36 +255,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -419,27 +304,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ @@ -450,19 +318,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_clientCertificates_get", title: "Client Certificate Details", - description: "Get Details for a single mTLS API Shield Client Certificate.", + description: "Get Details for a single mTLS API Shield Client Certificate.\n\nGET /zones/{zone_id}/client_certificates/{client_certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "client_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_identifier", - "description": "Client Certificate Tag" + "description": "Client Certificate Tag", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -475,36 +344,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -545,27 +394,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_single": tls$$certificates$$and$$hostnames_client_certificate_response_single, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ @@ -575,15 +407,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_clientCertificates_list", title: "List Client Certificates", - description: "List all of your Zone's API Shield mTLS Client Certificates by Status and/or using Pagination.", + description: "List all of your Zone's API Shield mTLS Client Certificates by Status and/or using Pagination.\n\nGET /zones/{zone_id}/client_certificates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -592,6 +425,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "description": "Limit to the number of records returned.", @@ -629,36 +463,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_client_certificate_response_collection", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_collection": tls$$certificates$$and$$hostnames_client_certificate_response_collection, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, annotations: { @@ -700,27 +515,10 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate-7": tls$$certificates$$and$$hostnames_certificate$$7, "tls-certificates-and-hostnames_certificate_authority-4": tls$$certificates$$and$$hostnames_certificate_authority$$4, "tls-certificates-and-hostnames_client_certificate": tls$$certificates$$and$$hostnames_client_certificate, - "tls-certificates-and-hostnames_client_certificate_identifier": tls$$certificates$$and$$hostnames_client_certificate_identifier, "tls-certificates-and-hostnames_client_certificate_response_collection": tls$$certificates$$and$$hostnames_client_certificate_response_collection, - "tls-certificates-and-hostnames_common_name": tls$$certificates$$and$$hostnames_common_name, - "tls-certificates-and-hostnames_country": tls$$certificates$$and$$hostnames_country, - "tls-certificates-and-hostnames_csr-2": tls$$certificates$$and$$hostnames_csr$$2, - "tls-certificates-and-hostnames_expired_on": tls$$certificates$$and$$hostnames_expired_on, - "tls-certificates-and-hostnames_fingerprint_sha256": tls$$certificates$$and$$hostnames_fingerprint_sha256, - "tls-certificates-and-hostnames_issued_on": tls$$certificates$$and$$hostnames_issued_on, - "tls-certificates-and-hostnames_location": tls$$certificates$$and$$hostnames_location, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_organization": tls$$certificates$$and$$hostnames_organization, - "tls-certificates-and-hostnames_organizational_unit": tls$$certificates$$and$$hostnames_organizational_unit, - "tls-certificates-and-hostnames_serial_number-3": tls$$certificates$$and$$hostnames_serial_number$$3, - "tls-certificates-and-hostnames_signature-3": tls$$certificates$$and$$hostnames_signature$$3, - "tls-certificates-and-hostnames_ski": tls$$certificates$$and$$hostnames_ski, - "tls-certificates-and-hostnames_state": tls$$certificates$$and$$hostnames_state, - "tls-certificates-and-hostnames_status-11": tls$$certificates$$and$$hostnames_status$$11, - "tls-certificates-and-hostnames_validity_days-2": tls$$certificates$$and$$hostnames_validity_days$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts b/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts index 8ccf958f4..fc9be5e08 100644 --- a/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts +++ b/src/generated/forge-mcp/ssl/ctAlerting/outputs.ts @@ -15,14 +15,6 @@ export const tls$$certificates$$and$$hostnames_ct_alerting_emails: JsonSchema = "type": "array" }; -/** - * The schema of `tls-certificates-and-hostnames_ct_alerting_enabled` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_ct_alerting_enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `tls-certificates-and-hostnames_ct_alerting_subscription` in * responses. @@ -33,7 +25,7 @@ export const tls$$certificates$$and$$hostnames_ct_alerting_subscription: JsonSch "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_emails" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_enabled" + "type": "boolean" } }, "required": [ diff --git a/src/generated/forge-mcp/ssl/ctAlerting/schemas.ts b/src/generated/forge-mcp/ssl/ctAlerting/schemas.ts index 5107c0f6b..fc7331f59 100644 --- a/src/generated/forge-mcp/ssl/ctAlerting/schemas.ts +++ b/src/generated/forge-mcp/ssl/ctAlerting/schemas.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `tls-certificates-and-hostnames_ct_alerting_emails`. */ export const tls$$certificates$$and$$hostnames_ct_alerting_emails: JsonSchema = { - "description": "Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.\n", + "description": "Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.", "items": { "type": "string" }, @@ -15,14 +15,6 @@ export const tls$$certificates$$and$$hostnames_ct_alerting_emails: JsonSchema = "type": "array" }; -/** - * The schema of `tls-certificates-and-hostnames_ct_alerting_enabled`. - */ -export const tls$$certificates$$and$$hostnames_ct_alerting_enabled: JsonSchema = { - "description": "Whether CT alerting is enabled for the zone.", - "type": "boolean" -}; - /** * The schema of * `tls-certificates-and-hostnames_ct_alerting_subscription_update`. @@ -32,11 +24,11 @@ export const tls$$certificates$$and$$hostnames_ct_alerting_subscription_update: "properties": { "emails": { "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_emails", - "description": "Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma.\n" + "description": "Email addresses that receive CT alert notifications for the zone. A maximum of 100 addresses may be configured. Each address must be a valid RFC 5322 email address and must not contain a comma." }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_enabled", - "description": "Whether CT alerting is enabled for the zone." + "description": "Whether CT alerting is enabled for the zone.", + "type": "boolean" } }, "required": [ diff --git a/src/generated/forge-mcp/ssl/ctAlerting/tools.ts b/src/generated/forge-mcp/ssl/ctAlerting/tools.ts index f6e48e63a..069acb70e 100644 --- a/src/generated/forge-mcp/ssl/ctAlerting/tools.ts +++ b/src/generated/forge-mcp/ssl/ctAlerting/tools.ts @@ -7,16 +7,13 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { tls$$certificates$$and$$hostnames_ct_alerting_emails, - tls$$certificates$$and$$hostnames_ct_alerting_enabled, tls$$certificates$$and$$hostnames_ct_alerting_subscription, tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, } from "./outputs.js"; import { tls$$certificates$$and$$hostnames_ct_alerting_emails as tls$$certificates$$and$$hostnames_ct_alerting_emails$, - tls$$certificates$$and$$hostnames_ct_alerting_enabled as tls$$certificates$$and$$hostnames_ct_alerting_enabled$, tls$$certificates$$and$$hostnames_ct_alerting_subscription_update, } from "./schemas.js"; @@ -27,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_ctAlerting_get", title: "Get CT Alerting Subscription", - description: "Retrieve the Certificate Transparency alerting subscription settings for a zone. Returns whether CT monitoring is enabled and the list of email addresses that receive alerts, if any have been configured.", + description: "Retrieve the Certificate Transparency alerting subscription settings for a zone. Returns whether CT monitoring is enabled and the list of email addresses that receive alerts, if any have been configured.\n\nGET /zones/{zone_id}/ct/alerting", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -47,16 +45,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled, "tls-certificates-and-hostnames_ct_alerting_subscription": tls$$certificates$$and$$hostnames_ct_alerting_subscription, "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, @@ -103,7 +98,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled, "tls-certificates-and-hostnames_ct_alerting_subscription": tls$$certificates$$and$$hostnames_ct_alerting_subscription, "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, @@ -116,7 +110,7 @@ export const tools: readonly Tool[] = [ { name: "ssl_ctAlerting_update", title: "Update CT Alerting Subscription", - description: "Create or update the Certificate Transparency alerting subscription for a zone. Enables or disables email notifications when certificates are issued for the zone's domains.\nThe `enabled` field is required on every request and controls whether the subscription is active. The `emails` field is optional and, when provided, replaces the stored recipient list for the zone. When `emails` is omitted, the stored recipient list is preserved and only the enabled state is toggled. A maximum of 100 email addresses may be configured per zone.\nRequests that omit `enabled` are rejected with error code 1008.\nSubscribe and unsubscribe notification emails are only sent for recipients whose effective subscription state changes. Idempotent requests (no state change) send no notification email.", + description: "Create or update the Certificate Transparency alerting subscription for a zone. Enables or disables email notifications when certificates are issued for the zone's domains.\nThe `enabled` field is required on every request and controls whether the subscription is active. The `emails` field is optional and, when provided, replaces the stored recipient list for the zone. When `emails` is omitted, the stored recipient list is preserved and only the enabled state is toggled. A maximum of 100 email addresses may be configured per zone.\nRequests that omit `enabled` are rejected with error code 1008.\nSubscribe and unsubscribe notification emails are only sent for recipients whose effective subscription state changes. Idempotent requests (no state change) send no notification email.\n\nPATCH /zones/{zone_id}/ct/alerting", inputSchema: { type: "object", properties: { @@ -124,10 +118,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/tls-certificates-and-hostnames_ct_alerting_subscription_update" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -140,11 +135,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails$, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled$, "tls-certificates-and-hostnames_ct_alerting_subscription_update": tls$$certificates$$and$$hostnames_ct_alerting_subscription_update, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { @@ -152,7 +146,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled, "tls-certificates-and-hostnames_ct_alerting_subscription": tls$$certificates$$and$$hostnames_ct_alerting_subscription, "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, @@ -198,7 +191,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_ct_alerting_emails": tls$$certificates$$and$$hostnames_ct_alerting_emails, - "tls-certificates-and-hostnames_ct_alerting_enabled": tls$$certificates$$and$$hostnames_ct_alerting_enabled, "tls-certificates-and-hostnames_ct_alerting_subscription": tls$$certificates$$and$$hostnames_ct_alerting_subscription, "tls-certificates-and-hostnames_ct_alerting_subscription_response_single": tls$$certificates$$and$$hostnames_ct_alerting_subscription_response_single, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, diff --git a/src/generated/forge-mcp/ssl/customCertificates/outputs.ts b/src/generated/forge-mcp/ssl/customCertificates/outputs.ts index 0260a3075..bfc853754 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/outputs.ts @@ -41,7 +41,7 @@ export const tls$$certificates$$and$$hostnames_certificate_response_id_only: Jso "result": { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier" + "type": "string" } }, "type": "object" @@ -79,13 +79,19 @@ export const tls$$certificates$$and$$hostnames_certificate_response_single: Json export const tls$$certificates$$and$$hostnames_custom$$certificate: JsonSchema = { "properties": { "bundle_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_bundle_method" + "enum": [ + "ubiquitous", + "optimal", + "force" + ], + "type": "string" }, "custom_csr_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_id" + "type": "string" }, "expires_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on" + "format": "date-time", + "type": "string" }, "geo_restrictions": { "$ref": "#/$defs/tls-certificates-and-hostnames_geo_restrictions" @@ -94,34 +100,43 @@ export const tls$$certificates$$and$$hostnames_custom$$certificate: JsonSchema = "$ref": "#/$defs/tls-certificates-and-hostnames_hosts" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier" + "type": "string" }, "issuer": { - "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + "type": "string" }, "keyless_server": { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless-certificate" }, "modified_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_modified_on" + "format": "date-time", + "type": "string" }, "policy_restrictions": { - "$ref": "#/$defs/tls-certificates-and-hostnames_policy_restrictions" + "type": "string" }, "priority": { - "$ref": "#/$defs/tls-certificates-and-hostnames_priority" + "type": "number" }, "signature": { - "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status" + "enum": [ + "active", + "expired", + "deleted", + "pending", + "initializing" + ], + "type": "string" }, "uploaded_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on" + "format": "date-time", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier" + "type": "string" } }, "required": [ @@ -131,29 +146,6 @@ export const tls$$certificates$$and$$hostnames_custom$$certificate: JsonSchema = "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_custom_certificate_identifier` - * in responses. - */ -export const tls$$certificates$$and$$hostnames_custom_certificate_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_custom_csr_id` in responses. - */ -export const tls$$certificates$$and$$hostnames_custom_csr_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_expires_on` in responses. - */ -export const tls$$certificates$$and$$hostnames_expires_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_geo_restrictions` in responses. */ @@ -180,40 +172,3 @@ export const tls$$certificates$$and$$hostnames_hosts: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `tls-certificates-and-hostnames_modified_on` in responses. - */ -export const tls$$certificates$$and$$hostnames_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_policy_restrictions` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_policy_restrictions: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_priority` in responses. - */ -export const tls$$certificates$$and$$hostnames_priority: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `tls-certificates-and-hostnames_status` in responses. - */ -export const tls$$certificates$$and$$hostnames_status: JsonSchema = { - "enum": [ - "active", - "expired", - "deleted", - "pending", - "initializing" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts b/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts index 587a50713..32e657915 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/prioritize/tools.ts @@ -6,40 +6,18 @@ import { tls$$certificates$$and$$hostnames_api$$response$$collection, tls$$certificates$$and$$hostnames_api$$response$$common, tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - tls$$certificates$$and$$hostnames_identifier, - tls$$certificates$$and$$hostnames_issuer, tls$$certificates$$and$$hostnames_messages, - tls$$certificates$$and$$hostnames_signature, - tls$$certificates$$and$$hostnames_uploaded_on, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier as tls$$certificates$$and$$hostnames_identifier$ } from "../../../schemas.js"; import { - tls$$certificates$$and$$hostnames_bundle_method, - tls$$certificates$$and$$hostnames_enabled, - tls$$certificates$$and$$hostnames_host, tls$$certificates$$and$$hostnames_keyless$$certificate, - tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - tls$$certificates$$and$$hostnames_keyless_private_ip, tls$$certificates$$and$$hostnames_keyless_tunnel, - tls$$certificates$$and$$hostnames_keyless_vnet_id, - tls$$certificates$$and$$hostnames_name, - tls$$certificates$$and$$hostnames_port, - tls$$certificates$$and$$hostnames_status$$2, } from "../../outputs.js"; import { tls$$certificates$$and$$hostnames_certificate_response_collection, tls$$certificates$$and$$hostnames_custom$$certificate, - tls$$certificates$$and$$hostnames_custom_certificate_identifier, - tls$$certificates$$and$$hostnames_custom_csr_id, - tls$$certificates$$and$$hostnames_expires_on, tls$$certificates$$and$$hostnames_geo_restrictions, tls$$certificates$$and$$hostnames_hosts, - tls$$certificates$$and$$hostnames_modified_on, - tls$$certificates$$and$$hostnames_policy_restrictions, - tls$$certificates$$and$$hostnames_priority, - tls$$certificates$$and$$hostnames_status, } from "../outputs.js"; -import { tls$$certificates$$and$$hostnames_priority as tls$$certificates$$and$$hostnames_priority$ } from "../schemas.js"; /** * The tools of `ssl.customCertificates.prioritize`. @@ -48,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "ssl_customCertificates_prioritize_update", title: "Re-prioritize SSL Certificates", - description: "If a zone has multiple SSL certificates, you can set the order in which they should be used during a request. The higher priority will break ties across overlapping 'legacy_custom' certificates.", + description: "If a zone has multiple SSL certificates, you can set the order in which they should be used during a request. The higher priority will break ties across overlapping 'legacy_custom' certificates.\n\nPUT /zones/{zone_id}/custom_certificates/prioritize", inputSchema: { type: "object", properties: { @@ -59,8 +37,8 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "priority": { - "$ref": "#/$defs/tls-certificates-and-hostnames_priority", - "description": "The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacy_custom' certificates, but 'legacy_custom' certificates will always supercede 'sni_custom' certificates." + "description": "The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacy_custom' certificates, but 'legacy_custom' certificates will always supercede 'sni_custom' certificates.", + "type": "number" } }, "type": "object" @@ -74,10 +52,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -90,43 +69,20 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_collection": tls$$certificates$$and$$hostnames_certificate_response_collection, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -175,33 +131,13 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_collection": tls$$certificates$$and$$hostnames_certificate_response_collection, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/customCertificates/schemas.ts b/src/generated/forge-mcp/ssl/customCertificates/schemas.ts index a1f47bb13..f1185c66f 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/schemas.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/schemas.ts @@ -3,34 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_custom_certificate_identifier`. - */ -export const tls$$certificates$$and$$hostnames_custom_certificate_identifier: JsonSchema = { - "description": "Custom certificate identifier tag.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_custom_csr_id`. - */ -export const tls$$certificates$$and$$hostnames_custom_csr_id: JsonSchema = { - "description": "The identifier for the Custom CSR that was used.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_deploy`. - */ -export const tls$$certificates$$and$$hostnames_deploy: JsonSchema = { - "description": "The environment to deploy the certificate to, defaults to production.", - "enum": [ - "staging", - "production" - ], - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_geo_restrictions`. */ @@ -48,39 +20,3 @@ export const tls$$certificates$$and$$hostnames_geo_restrictions: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `tls-certificates-and-hostnames_policy`. - */ -export const tls$$certificates$$and$$hostnames_policy: JsonSchema = { - "description": "Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.\nNote: The API accepts this field as either \"policy\" or \"policy_restrictions\" in requests. Responses return this field as \"policy_restrictions\".", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_priority`. - */ -export const tls$$certificates$$and$$hostnames_priority: JsonSchema = { - "description": "The order/priority in which the certificate will be used in a request. The higher priority will break ties across overlapping 'legacy_custom' certificates, but 'legacy_custom' certificates will always supercede 'sni_custom' certificates.", - "type": "number" -}; - -/** - * The schema of `tls-certificates-and-hostnames_private_key`. - */ -export const tls$$certificates$$and$$hostnames_private_key: JsonSchema = { - "description": "The zone's private key. Not required if custom_csr_id is provided, in which case the private key is retrieved from the CSR record held by Cloudflare.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_type`. - */ -export const tls$$certificates$$and$$hostnames_type: JsonSchema = { - "description": "The type 'legacy_custom' enables support for legacy clients which do not include SNI in the TLS handshake.", - "enum": [ - "legacy_custom", - "sni_custom" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/customCertificates/tools.ts b/src/generated/forge-mcp/ssl/customCertificates/tools.ts index 5ab069bf6..aeb51e5e8 100644 --- a/src/generated/forge-mcp/ssl/customCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/customCertificates/tools.ts @@ -7,54 +7,21 @@ import { tls$$certificates$$and$$hostnames_api$$response$$common, tls$$certificates$$and$$hostnames_api$$response$$common$$failure, tls$$certificates$$and$$hostnames_api$$response$$single, - tls$$certificates$$and$$hostnames_identifier, - tls$$certificates$$and$$hostnames_issuer, tls$$certificates$$and$$hostnames_messages, - tls$$certificates$$and$$hostnames_signature, - tls$$certificates$$and$$hostnames_uploaded_on, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier as tls$$certificates$$and$$hostnames_identifier$ } from "../../schemas.js"; import { - tls$$certificates$$and$$hostnames_bundle_method, - tls$$certificates$$and$$hostnames_enabled, - tls$$certificates$$and$$hostnames_host, tls$$certificates$$and$$hostnames_keyless$$certificate, - tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - tls$$certificates$$and$$hostnames_keyless_private_ip, tls$$certificates$$and$$hostnames_keyless_tunnel, - tls$$certificates$$and$$hostnames_keyless_vnet_id, - tls$$certificates$$and$$hostnames_name, - tls$$certificates$$and$$hostnames_port, - tls$$certificates$$and$$hostnames_status$$2, } from "../outputs.js"; -import { - tls$$certificates$$and$$hostnames_bundle_method as tls$$certificates$$and$$hostnames_bundle_method$, - tls$$certificates$$and$$hostnames_certificate, -} from "../schemas.js"; import { tls$$certificates$$and$$hostnames_certificate_response_collection, tls$$certificates$$and$$hostnames_certificate_response_id_only, tls$$certificates$$and$$hostnames_certificate_response_single, tls$$certificates$$and$$hostnames_custom$$certificate, - tls$$certificates$$and$$hostnames_custom_certificate_identifier, - tls$$certificates$$and$$hostnames_custom_csr_id, - tls$$certificates$$and$$hostnames_expires_on, tls$$certificates$$and$$hostnames_geo_restrictions, tls$$certificates$$and$$hostnames_hosts, - tls$$certificates$$and$$hostnames_modified_on, - tls$$certificates$$and$$hostnames_policy_restrictions, - tls$$certificates$$and$$hostnames_priority, - tls$$certificates$$and$$hostnames_status, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_custom_certificate_identifier as tls$$certificates$$and$$hostnames_custom_certificate_identifier$, - tls$$certificates$$and$$hostnames_custom_csr_id as tls$$certificates$$and$$hostnames_custom_csr_id$, - tls$$certificates$$and$$hostnames_deploy, - tls$$certificates$$and$$hostnames_geo_restrictions as tls$$certificates$$and$$hostnames_geo_restrictions$, - tls$$certificates$$and$$hostnames_policy, - tls$$certificates$$and$$hostnames_private_key, - tls$$certificates$$and$$hostnames_type, -} from "./schemas.js"; +import { tls$$certificates$$and$$hostnames_geo_restrictions as tls$$certificates$$and$$hostnames_geo_restrictions$ } from "./schemas.js"; /** * The tools of `ssl.customCertificates`. @@ -63,46 +30,59 @@ export const tools: readonly Tool[] = [ { name: "ssl_customCertificates_create", title: "Create SSL Configuration", - description: "Upload a new SSL certificate for a zone.", + description: "Upload a new SSL certificate for a zone.\n\nPOST /zones/{zone_id}/custom_certificates", inputSchema: { type: "object", properties: { "body": { "properties": { "bundle_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_bundle_method", "default": "ubiquitous", - "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it." + "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it.", + "enum": [ + "ubiquitous", + "optimal", + "force" + ], + "type": "string" }, "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate", - "description": "The zone's SSL certificate or certificate and the intermediate(s)." + "description": "The zone's SSL certificate or certificate and the intermediate(s).", + "type": "string" }, "custom_csr_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_id", - "description": "The identifier for the Custom CSR that was used." + "description": "The identifier for the Custom CSR that was used.", + "type": "string" }, "deploy": { - "$ref": "#/$defs/tls-certificates-and-hostnames_deploy", "default": "production", - "description": "The environment to deploy the certificate to, defaults to production." + "description": "The environment to deploy the certificate to, defaults to production.", + "enum": [ + "staging", + "production" + ], + "type": "string" }, "geo_restrictions": { "$ref": "#/$defs/tls-certificates-and-hostnames_geo_restrictions", "description": "Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance." }, "policy": { - "$ref": "#/$defs/tls-certificates-and-hostnames_policy", - "description": "Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.\nNote: The API accepts this field as either \"policy\" or \"policy_restrictions\" in requests. Responses return this field as \"policy_restrictions\"." + "description": "Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.\nNote: The API accepts this field as either \"policy\" or \"policy_restrictions\" in requests. Responses return this field as \"policy_restrictions\".", + "type": "string" }, "private_key": { - "$ref": "#/$defs/tls-certificates-and-hostnames_private_key", - "description": "The zone's private key. Not required if custom_csr_id is provided, in which case the private key is retrieved from the CSR record held by Cloudflare." + "description": "The zone's private key. Not required if custom_csr_id is provided, in which case the private key is retrieved from the CSR record held by Cloudflare.", + "type": "string" }, "type": { - "$ref": "#/$defs/tls-certificates-and-hostnames_type", "default": "legacy_custom", - "description": "The type 'legacy_custom' enables support for legacy clients which do not include SNI in the TLS handshake." + "description": "The type 'legacy_custom' enables support for legacy clients which do not include SNI in the TLS handshake.", + "enum": [ + "legacy_custom", + "sni_custom" + ], + "type": "string" } }, "required": [ @@ -111,10 +91,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -127,49 +108,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method$, - "tls-certificates-and-hostnames_certificate": tls$$certificates$$and$$hostnames_certificate, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id$, - "tls-certificates-and-hostnames_deploy": tls$$certificates$$and$$hostnames_deploy, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - "tls-certificates-and-hostnames_policy": tls$$certificates$$and$$hostnames_policy, - "tls-certificates-and-hostnames_private_key": tls$$certificates$$and$$hostnames_private_key, - "tls-certificates-and-hostnames_type": tls$$certificates$$and$$hostnames_type, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -217,33 +171,13 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -254,19 +188,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_customCertificates_delete", title: "Delete SSL Configuration", - description: "Remove a SSL certificate from a zone.", + description: "Remove a SSL certificate from a zone.\n\nDELETE /zones/{zone_id}/custom_certificates/{custom_certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "custom_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier", - "description": "Custom certificate identifier tag." + "description": "Custom certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -279,17 +214,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_id_only", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_certificate_response_id_only": tls$$certificates$$and$$hostnames_certificate_response_id_only, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, @@ -339,7 +270,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_certificate_response_id_only": tls$$certificates$$and$$hostnames_certificate_response_id_only, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, }, @@ -350,54 +280,64 @@ export const tools: readonly Tool[] = [ { name: "ssl_customCertificates_edit", title: "Edit SSL Configuration", - description: "Upload a new private key and/or PEM/CRT for the SSL certificate. Note: PATCHing a configuration for sni_custom certificates will result in a new resource id being returned, and the previous one being deleted.", + description: "Upload a new private key and/or PEM/CRT for the SSL certificate. Note: PATCHing a configuration for sni_custom certificates will result in a new resource id being returned, and the previous one being deleted.\n\nPATCH /zones/{zone_id}/custom_certificates/{custom_certificate_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "bundle_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_bundle_method", "default": "ubiquitous", - "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it." + "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it.", + "enum": [ + "ubiquitous", + "optimal", + "force" + ], + "type": "string" }, "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate", - "description": "The zone's SSL certificate or certificate and the intermediate(s)." + "description": "The zone's SSL certificate or certificate and the intermediate(s).", + "type": "string" }, "custom_csr_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_csr_id", - "description": "The identifier for the Custom CSR that was used." + "description": "The identifier for the Custom CSR that was used.", + "type": "string" }, "deploy": { - "$ref": "#/$defs/tls-certificates-and-hostnames_deploy", "default": "production", - "description": "The environment to deploy the certificate to, defaults to production." + "description": "The environment to deploy the certificate to, defaults to production.", + "enum": [ + "staging", + "production" + ], + "type": "string" }, "geo_restrictions": { "$ref": "#/$defs/tls-certificates-and-hostnames_geo_restrictions", "description": "Specify the region where your private key can be held locally for optimal TLS performance. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Options allow distribution to only to U.S. data centers, only to E.U. data centers, or only to highest security data centers. Default distribution is to all Cloudflare datacenters, for optimal performance." }, "policy": { - "$ref": "#/$defs/tls-certificates-and-hostnames_policy", - "description": "Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.\nNote: The API accepts this field as either \"policy\" or \"policy_restrictions\" in requests. Responses return this field as \"policy_restrictions\"." + "description": "Specify the policy that determines the region where your private key will be held locally. HTTPS connections to any excluded data center will still be fully encrypted, but will incur some latency while Keyless SSL is used to complete the handshake with the nearest allowed data center. Any combination of countries, specified by their two letter country code (https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2#Officially_assigned_code_elements) can be chosen, such as 'country: IN', as well as 'region: EU' which refers to the EU region. If there are too few data centers satisfying the policy, it will be rejected.\nNote: The API accepts this field as either \"policy\" or \"policy_restrictions\" in requests. Responses return this field as \"policy_restrictions\".", + "type": "string" }, "private_key": { - "$ref": "#/$defs/tls-certificates-and-hostnames_private_key", - "description": "The zone's private key. Not required if custom_csr_id is provided, in which case the private key is retrieved from the CSR record held by Cloudflare." + "description": "The zone's private key. Not required if custom_csr_id is provided, in which case the private key is retrieved from the CSR record held by Cloudflare.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "custom_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier", - "description": "Custom certificate identifier tag." + "description": "Custom certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -411,49 +351,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method$, - "tls-certificates-and-hostnames_certificate": tls$$certificates$$and$$hostnames_certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier$, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id$, - "tls-certificates-and-hostnames_deploy": tls$$certificates$$and$$hostnames_deploy, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - "tls-certificates-and-hostnames_policy": tls$$certificates$$and$$hostnames_policy, - "tls-certificates-and-hostnames_private_key": tls$$certificates$$and$$hostnames_private_key, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -501,33 +414,13 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -538,19 +431,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_customCertificates_get", title: "SSL Configuration Details", - description: "Retrieves details for a specific custom SSL certificate, including certificate metadata, bundle method, geographic restrictions, and associated keyless server configuration.", + description: "Retrieves details for a specific custom SSL certificate, including certificate metadata, bundle method, geographic restrictions, and associated keyless server configuration.\n\nGET /zones/{zone_id}/custom_certificates/{custom_certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "custom_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_custom_certificate_identifier", - "description": "Custom certificate identifier tag." + "description": "Custom certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -563,42 +457,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -648,33 +519,13 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_single": tls$$certificates$$and$$hostnames_certificate_response_single, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ @@ -684,15 +535,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_customCertificates_list", title: "List SSL Configurations", - description: "List, search, and filter all of your custom SSL certificates. The higher priority will break ties across overlapping 'legacy_custom' certificates, but 'legacy_custom' certificates will always supercede 'sni_custom' certificates.", + description: "List, search, and filter all of your custom SSL certificates. The higher priority will break ties across overlapping 'legacy_custom' certificates, but 'legacy_custom' certificates will always supercede 'sni_custom' certificates.\n\nGET /zones/{zone_id}/custom_certificates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -701,6 +553,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "match": { "default": "all", @@ -739,42 +592,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_collection": tls$$certificates$$and$$hostnames_certificate_response_collection, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, annotations: { @@ -825,33 +656,13 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, "tls-certificates-and-hostnames_certificate_response_collection": tls$$certificates$$and$$hostnames_certificate_response_collection, "tls-certificates-and-hostnames_custom-certificate": tls$$certificates$$and$$hostnames_custom$$certificate, - "tls-certificates-and-hostnames_custom_certificate_identifier": tls$$certificates$$and$$hostnames_custom_certificate_identifier, - "tls-certificates-and-hostnames_custom_csr_id": tls$$certificates$$and$$hostnames_custom_csr_id, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_expires_on": tls$$certificates$$and$$hostnames_expires_on, "tls-certificates-and-hostnames_geo_restrictions": tls$$certificates$$and$$hostnames_geo_restrictions, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_hosts": tls$$certificates$$and$$hostnames_hosts, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_modified_on": tls$$certificates$$and$$hostnames_modified_on, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_policy_restrictions": tls$$certificates$$and$$hostnames_policy_restrictions, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_priority": tls$$certificates$$and$$hostnames_priority, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status": tls$$certificates$$and$$hostnames_status, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, - "tls-certificates-and-hostnames_uploaded_on": tls$$certificates$$and$$hostnames_uploaded_on, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts b/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts index 225a1c7f2..a7475561a 100644 --- a/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts +++ b/src/generated/forge-mcp/ssl/dcvDelegation/outputs.ts @@ -23,20 +23,13 @@ export const tls$$certificates$$and$$hostnames_dcv_delegation_response: JsonSche ] }; -/** - * The schema of `tls-certificates-and-hostnames_uuid` in responses. - */ -export const tls$$certificates$$and$$hostnames_uuid: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_uuidObject` in responses. */ export const tls$$certificates$$and$$hostnames_uuidObject: JsonSchema = { "properties": { "uuid": { - "$ref": "#/$defs/tls-certificates-and-hostnames_uuid" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts b/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts index b0bcdac0f..0e8388a9b 100644 --- a/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts +++ b/src/generated/forge-mcp/ssl/dcvDelegation/tools.ts @@ -7,10 +7,8 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { tls$$certificates$$and$$hostnames_dcv_delegation_response, - tls$$certificates$$and$$hostnames_uuid, tls$$certificates$$and$$hostnames_uuidObject, } from "./outputs.js"; @@ -21,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_dcvDelegation_get", title: "Retrieve the DCV Delegation unique identifier.", - description: "Retrieve the account and zone specific unique identifier used as part of the CNAME target for DCV Delegation.", + description: "Retrieve the account and zone specific unique identifier used as part of the CNAME target for DCV Delegation.\n\nGET /zones/{zone_id}/dcv_delegation/uuid", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -41,9 +40,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_dcv_delegation_response", @@ -51,7 +48,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_dcv_delegation_response": tls$$certificates$$and$$hostnames_dcv_delegation_response, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_uuid": tls$$certificates$$and$$hostnames_uuid, "tls-certificates-and-hostnames_uuidObject": tls$$certificates$$and$$hostnames_uuidObject, }, }, @@ -97,7 +93,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_dcv_delegation_response": tls$$certificates$$and$$hostnames_dcv_delegation_response, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_uuid": tls$$certificates$$and$$hostnames_uuid, "tls-certificates-and-hostnames_uuidObject": tls$$certificates$$and$$hostnames_uuidObject, }, }, diff --git a/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts b/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts index e108c89f2..d889624c6 100644 --- a/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/keylessCertificates/outputs.ts @@ -13,20 +13,20 @@ export const tls$$certificates$$and$$hostnames_base: JsonSchema = { "type": "string" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled" + "type": "boolean" }, "host": { - "$ref": "#/$defs/tls-certificates-and-hostnames_host" + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier" + "type": "string" }, "modified_on": { "format": "date-time", "type": "string" }, "name": { - "$ref": "#/$defs/tls-certificates-and-hostnames_name" + "type": "string" }, "permissions": { "items": { @@ -35,10 +35,14 @@ export const tls$$certificates$$and$$hostnames_base: JsonSchema = { "type": "array" }, "port": { - "$ref": "#/$defs/tls-certificates-and-hostnames_port" + "type": "number" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-2" + "enum": [ + "active", + "deleted" + ], + "type": "string" }, "tunnel": { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_tunnel" @@ -115,7 +119,7 @@ export const tls$$certificates$$and$$hostnames_keyless_response_single_id: JsonS "result": { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/ssl/keylessCertificates/schemas.ts b/src/generated/forge-mcp/ssl/keylessCertificates/schemas.ts deleted file mode 100644 index 301c51216..000000000 --- a/src/generated/forge-mcp/ssl/keylessCertificates/schemas.ts +++ /dev/null @@ -1,29 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tls-certificates-and-hostnames_certificate-2`. - */ -export const tls$$certificates$$and$$hostnames_certificate$$2: JsonSchema = { - "description": "The zone's SSL certificate or SSL certificate and intermediate(s).", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_enabled_write`. - */ -export const tls$$certificates$$and$$hostnames_enabled_write: JsonSchema = { - "deprecated": true, - "description": "Whether or not the Keyless SSL is on or off.", - "type": "boolean" -}; - -/** - * The schema of `tls-certificates-and-hostnames_name_write`. - */ -export const tls$$certificates$$and$$hostnames_name_write: JsonSchema = { - "description": "The keyless SSL name.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts b/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts index ddd5427ab..6d4747eea 100644 --- a/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/keylessCertificates/tools.ts @@ -9,39 +9,17 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls$$certificates$$and$$hostnames_enabled, - tls$$certificates$$and$$hostnames_host, tls$$certificates$$and$$hostnames_keyless$$certificate, - tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - tls$$certificates$$and$$hostnames_keyless_private_ip, tls$$certificates$$and$$hostnames_keyless_tunnel, - tls$$certificates$$and$$hostnames_keyless_vnet_id, - tls$$certificates$$and$$hostnames_name, - tls$$certificates$$and$$hostnames_port, - tls$$certificates$$and$$hostnames_status$$2, } from "../outputs.js"; -import { - tls$$certificates$$and$$hostnames_bundle_method, - tls$$certificates$$and$$hostnames_host as tls$$certificates$$and$$hostnames_host$, - tls$$certificates$$and$$hostnames_keyless_certificate_identifier as tls$$certificates$$and$$hostnames_keyless_certificate_identifier$, - tls$$certificates$$and$$hostnames_keyless_private_ip as tls$$certificates$$and$$hostnames_keyless_private_ip$, - tls$$certificates$$and$$hostnames_keyless_tunnel as tls$$certificates$$and$$hostnames_keyless_tunnel$, - tls$$certificates$$and$$hostnames_keyless_vnet_id as tls$$certificates$$and$$hostnames_keyless_vnet_id$, - tls$$certificates$$and$$hostnames_port as tls$$certificates$$and$$hostnames_port$, -} from "../schemas.js"; +import { tls$$certificates$$and$$hostnames_keyless_tunnel as tls$$certificates$$and$$hostnames_keyless_tunnel$ } from "../schemas.js"; import { tls$$certificates$$and$$hostnames_base, tls$$certificates$$and$$hostnames_keyless_response_collection, tls$$certificates$$and$$hostnames_keyless_response_single, tls$$certificates$$and$$hostnames_keyless_response_single_id, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_certificate$$2, - tls$$certificates$$and$$hostnames_enabled_write, - tls$$certificates$$and$$hostnames_name_write, -} from "./schemas.js"; /** * The tools of `ssl.keylessCertificates`. @@ -50,33 +28,38 @@ export const tools: readonly Tool[] = [ { name: "ssl_keylessCertificates_create", title: "Create Keyless SSL Configuration", - description: "Creates a Keyless SSL configuration that allows SSL/TLS termination without exposing private keys to Cloudflare. Keys remain on your infrastructure.", + description: "Creates a Keyless SSL configuration that allows SSL/TLS termination without exposing private keys to Cloudflare. Keys remain on your infrastructure.\n\nPOST /zones/{zone_id}/keyless_certificates", inputSchema: { type: "object", properties: { "body": { "properties": { "bundle_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_bundle_method", "default": "ubiquitous", - "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it." + "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it.", + "enum": [ + "ubiquitous", + "optimal", + "force" + ], + "type": "string" }, "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-2", - "description": "The zone's SSL certificate or SSL certificate and intermediate(s)." + "description": "The zone's SSL certificate or SSL certificate and intermediate(s).", + "type": "string" }, "host": { - "$ref": "#/$defs/tls-certificates-and-hostnames_host", - "description": "The keyless SSL name." + "description": "The keyless SSL name.", + "type": "string" }, "name": { - "$ref": "#/$defs/tls-certificates-and-hostnames_name_write", - "description": "The keyless SSL name." + "description": "The keyless SSL name.", + "type": "string" }, "port": { - "$ref": "#/$defs/tls-certificates-and-hostnames_port", "default": 24008, - "description": "The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server." + "description": "The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.", + "type": "number" }, "tunnel": { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_tunnel", @@ -91,10 +74,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -107,16 +91,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_bundle_method": tls$$certificates$$and$$hostnames_bundle_method, - "tls-certificates-and-hostnames_certificate-2": tls$$certificates$$and$$hostnames_certificate$$2, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip$, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel$, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id$, - "tls-certificates-and-hostnames_name_write": tls$$certificates$$and$$hostnames_name_write, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port$, }, }, outputSchema: { @@ -124,17 +101,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, annotations: { @@ -182,17 +151,9 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, request: (args) => ({ @@ -203,19 +164,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_keylessCertificates_delete", title: "Delete Keyless SSL Configuration", - description: "Removes a Keyless SSL configuration. SSL connections will no longer use the keyless server for cryptographic operations.", + description: "Removes a Keyless SSL configuration. SSL connections will no longer use the keyless server for cryptographic operations.\n\nDELETE /zones/{zone_id}/keyless_certificates/{keyless_certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "keyless_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier", - "description": "Keyless certificate identifier tag." + "description": "Keyless certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -228,16 +190,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single_id", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, "tls-certificates-and-hostnames_keyless_response_single_id": tls$$certificates$$and$$hostnames_keyless_response_single_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -286,7 +244,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, "tls-certificates-and-hostnames_keyless_response_single_id": tls$$certificates$$and$$hostnames_keyless_response_single_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -298,28 +255,29 @@ export const tools: readonly Tool[] = [ { name: "ssl_keylessCertificates_edit", title: "Edit Keyless SSL Configuration", - description: "This will update attributes of a Keyless SSL. Consists of one or more of the following: host,name,port.", + description: "This will update attributes of a Keyless SSL. Consists of one or more of the following: host,name,port.\n\nPATCH /zones/{zone_id}/keyless_certificates/{keyless_certificate_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled_write", - "description": "Whether or not the Keyless SSL is on or off." + "deprecated": true, + "description": "Whether or not the Keyless SSL is on or off.", + "type": "boolean" }, "host": { - "$ref": "#/$defs/tls-certificates-and-hostnames_host", - "description": "The keyless SSL name." + "description": "The keyless SSL name.", + "type": "string" }, "name": { - "$ref": "#/$defs/tls-certificates-and-hostnames_name_write", - "description": "The keyless SSL name." + "description": "The keyless SSL name.", + "type": "string" }, "port": { - "$ref": "#/$defs/tls-certificates-and-hostnames_port", "default": 24008, - "description": "The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server." + "description": "The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.", + "type": "number" }, "tunnel": { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_tunnel", @@ -329,14 +287,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "keyless_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier", - "description": "Keyless certificate identifier tag." + "description": "Keyless certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -350,16 +309,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_enabled_write": tls$$certificates$$and$$hostnames_enabled_write, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier$, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip$, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel$, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id$, - "tls-certificates-and-hostnames_name_write": tls$$certificates$$and$$hostnames_name_write, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port$, }, }, outputSchema: { @@ -367,17 +319,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, annotations: { @@ -425,17 +369,9 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, request: (args) => ({ @@ -446,19 +382,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_keylessCertificates_get", title: "Get Keyless SSL Configuration", - description: "Get details for one Keyless SSL configuration.", + description: "Get details for one Keyless SSL configuration.\n\nGET /zones/{zone_id}/keyless_certificates/{keyless_certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "keyless_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier", - "description": "Keyless certificate identifier tag." + "description": "Keyless certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -471,27 +408,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_single", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, annotations: { @@ -577,17 +503,9 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_base": tls$$certificates$$and$$hostnames_base, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_response_single": tls$$certificates$$and$$hostnames_keyless_response_single, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, request: (args) => ({ @@ -597,15 +515,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_keylessCertificates_list", title: "List Keyless SSL Configurations", - description: "List all Keyless SSL configurations for a given zone.", + description: "List all Keyless SSL configurations for a given zone.\n\nGET /zones/{zone_id}/keyless_certificates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -617,27 +536,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_response_collection", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_response_collection": tls$$certificates$$and$$hostnames_keyless_response_collection, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, annotations: { @@ -686,18 +595,10 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_enabled": tls$$certificates$$and$$hostnames_enabled, - "tls-certificates-and-hostnames_host": tls$$certificates$$and$$hostnames_host, "tls-certificates-and-hostnames_keyless-certificate": tls$$certificates$$and$$hostnames_keyless$$certificate, - "tls-certificates-and-hostnames_keyless_certificate_identifier": tls$$certificates$$and$$hostnames_keyless_certificate_identifier, - "tls-certificates-and-hostnames_keyless_private_ip": tls$$certificates$$and$$hostnames_keyless_private_ip, "tls-certificates-and-hostnames_keyless_response_collection": tls$$certificates$$and$$hostnames_keyless_response_collection, "tls-certificates-and-hostnames_keyless_tunnel": tls$$certificates$$and$$hostnames_keyless_tunnel, - "tls-certificates-and-hostnames_keyless_vnet_id": tls$$certificates$$and$$hostnames_keyless_vnet_id, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_name": tls$$certificates$$and$$hostnames_name, - "tls-certificates-and-hostnames_port": tls$$certificates$$and$$hostnames_port, - "tls-certificates-and-hostnames_status-2": tls$$certificates$$and$$hostnames_status$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts index 1434bfdef..c454798ce 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/outputs.ts @@ -10,10 +10,10 @@ import type { JsonSchema } from "../../../_/tool.js"; export const tls$$certificates$$and$$hostnames_associationObject: JsonSchema = { "properties": { "service": { - "$ref": "#/$defs/tls-certificates-and-hostnames_service" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-10" + "type": "string" } }, "type": "object" @@ -42,17 +42,3 @@ export const tls$$certificates$$and$$hostnames_association_response_collection: } ] }; - -/** - * The schema of `tls-certificates-and-hostnames_service` in responses. - */ -export const tls$$certificates$$and$$hostnames_service: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_status-10` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$10: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts index bbf685080..05b7f1772 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/associations/tools.ts @@ -8,13 +8,9 @@ import { tls$$certificates$$and$$hostnames_api$$response$$common$$failure, tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; -import { tls$$certificates$$and$$hostnames_mtls_certificate_identifier } from "../schemas.js"; import { tls$$certificates$$and$$hostnames_associationObject, tls$$certificates$$and$$hostnames_association_response_collection, - tls$$certificates$$and$$hostnames_service, - tls$$certificates$$and$$hostnames_status$$10, } from "./outputs.js"; /** @@ -24,19 +20,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_mtlsCertificates_associations_get", title: "List mTLS certificate associations", - description: "Lists all active associations between the certificate and Cloudflare services.", + description: "Lists all active associations between the certificate and Cloudflare services.\n\nGET /accounts/{account_id}/mtls_certificates/{mtls_certificate_id}/associations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "mtls_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" } }, "required": [ @@ -49,10 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_association_response_collection", @@ -62,8 +56,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_associationObject": tls$$certificates$$and$$hostnames_associationObject, "tls-certificates-and-hostnames_association_response_collection": tls$$certificates$$and$$hostnames_association_response_collection, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_service": tls$$certificates$$and$$hostnames_service, - "tls-certificates-and-hostnames_status-10": tls$$certificates$$and$$hostnames_status$$10, }, }, annotations: { @@ -115,8 +107,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_associationObject": tls$$certificates$$and$$hostnames_associationObject, "tls-certificates-and-hostnames_association_response_collection": tls$$certificates$$and$$hostnames_association_response_collection, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_service": tls$$certificates$$and$$hostnames_service, - "tls-certificates-and-hostnames_status-10": tls$$certificates$$and$$hostnames_status$$10, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts index 8be3862fe..9ca1b3aed 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_ca` in responses. - */ -export const tls$$certificates$$and$$hostnames_ca: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `tls-certificates-and-hostnames_certificateObject-3` in * responses. @@ -17,34 +10,41 @@ export const tls$$certificates$$and$$hostnames_ca: JsonSchema = { export const tls$$certificates$$and$$hostnames_certificateObject$$3: JsonSchema = { "properties": { "ca": { - "$ref": "#/$defs/tls-certificates-and-hostnames_ca" + "type": "boolean" }, "certificates": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificates-2" + "type": "string" }, "expires_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-2" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier" + "type": "string" }, "issuer": { - "$ref": "#/$defs/tls-certificates-and-hostnames_issuer-2" + "type": "string" }, "name": { - "$ref": "#/$defs/tls-certificates-and-hostnames_name-2" + "type": "string" }, "serial_number": { - "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number-2" + "type": "string" }, "signature": { - "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + "type": "string" }, "type": { - "$ref": "#/$defs/tls-certificates-and-hostnames_type-3" + "enum": [ + "custom", + "gateway_managed", + "access_managed" + ], + "type": "string" }, "uploaded_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-4" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -57,37 +57,45 @@ export const tls$$certificates$$and$$hostnames_certificateObject$$3: JsonSchema export const tls$$certificates$$and$$hostnames_certificateObjectPost: JsonSchema = { "properties": { "ca": { - "$ref": "#/$defs/tls-certificates-and-hostnames_ca" + "type": "boolean" }, "certificates": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificates-2" + "type": "string" }, "expires_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-2" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier" + "type": "string" }, "issuer": { - "$ref": "#/$defs/tls-certificates-and-hostnames_issuer-2" + "type": "string" }, "name": { - "$ref": "#/$defs/tls-certificates-and-hostnames_name-2" + "type": "string" }, "serial_number": { - "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number-2" + "type": "string" }, "signature": { - "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + "type": "string" }, "type": { - "$ref": "#/$defs/tls-certificates-and-hostnames_type-3" + "enum": [ + "custom", + "gateway_managed", + "access_managed" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-4" + "format": "date-time", + "type": "string" }, "uploaded_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-4" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -182,67 +190,3 @@ export const tls$$certificates$$and$$hostnames_certificate_response_single_post: } ] }; - -/** - * The schema of `tls-certificates-and-hostnames_certificates-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_certificates$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_issuer-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_issuer$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_mtls_certificate_identifier` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_mtls_certificate_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_name-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_name$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_serial_number-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_serial_number$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_type-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_type$$3: JsonSchema = { - "enum": [ - "custom", - "gateway_managed", - "access_managed" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_updated_at-4` in responses. - */ -export const tls$$certificates$$and$$hostnames_updated_at$$4: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_uploaded_on-4` in responses. - */ -export const tls$$certificates$$and$$hostnames_uploaded_on$$4: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/schemas.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/schemas.ts deleted file mode 100644 index 42c177f84..000000000 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/schemas.ts +++ /dev/null @@ -1,44 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tls-certificates-and-hostnames_ca`. - */ -export const tls$$certificates$$and$$hostnames_ca: JsonSchema = { - "description": "Indicates whether the certificate is a CA or leaf certificate.", - "type": "boolean" -}; - -/** - * The schema of `tls-certificates-and-hostnames_certificates-2`. - */ -export const tls$$certificates$$and$$hostnames_certificates$$2: JsonSchema = { - "description": "The uploaded root CA certificate.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_mtls_certificate_identifier`. - */ -export const tls$$certificates$$and$$hostnames_mtls_certificate_identifier: JsonSchema = { - "description": "Certificate identifier tag.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_name-2`. - */ -export const tls$$certificates$$and$$hostnames_name$$2: JsonSchema = { - "description": "Optional unique name for the certificate. Only used for human readability.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_private_key-4`. - */ -export const tls$$certificates$$and$$hostnames_private_key$$4: JsonSchema = { - "description": "The private key for the certificate. This field is only needed for specific use cases such as using a custom certificate with Zero Trust's block page.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts b/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts index 3fc8bbdbe..f895112df 100644 --- a/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/mtlsCertificates/tools.ts @@ -7,34 +7,15 @@ import { tls$$certificates$$and$$hostnames_api$$response$$common, tls$$certificates$$and$$hostnames_api$$response$$common$$failure, tls$$certificates$$and$$hostnames_api$$response$$single, - tls$$certificates$$and$$hostnames_expires_on$$2, tls$$certificates$$and$$hostnames_messages, - tls$$certificates$$and$$hostnames_signature, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls$$certificates$$and$$hostnames_ca, tls$$certificates$$and$$hostnames_certificateObject$$3, tls$$certificates$$and$$hostnames_certificateObjectPost, tls$$certificates$$and$$hostnames_certificate_response_collection$$5, tls$$certificates$$and$$hostnames_certificate_response_single$$5, tls$$certificates$$and$$hostnames_certificate_response_single_post, - tls$$certificates$$and$$hostnames_certificates$$2, - tls$$certificates$$and$$hostnames_issuer$$2, - tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - tls$$certificates$$and$$hostnames_name$$2, - tls$$certificates$$and$$hostnames_serial_number$$2, - tls$$certificates$$and$$hostnames_type$$3, - tls$$certificates$$and$$hostnames_updated_at$$4, - tls$$certificates$$and$$hostnames_uploaded_on$$4, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_ca as tls$$certificates$$and$$hostnames_ca$, - tls$$certificates$$and$$hostnames_certificates$$2 as tls$$certificates$$and$$hostnames_certificates$$2$, - tls$$certificates$$and$$hostnames_mtls_certificate_identifier as tls$$certificates$$and$$hostnames_mtls_certificate_identifier$, - tls$$certificates$$and$$hostnames_name$$2 as tls$$certificates$$and$$hostnames_name$$2$, - tls$$certificates$$and$$hostnames_private_key$$4, -} from "./schemas.js"; /** * The tools of `ssl.mtlsCertificates`. @@ -43,27 +24,27 @@ export const tools: readonly Tool[] = [ { name: "ssl_mtlsCertificates_create", title: "Upload mTLS certificate", - description: "Upload a certificate that you want to use with mTLS-enabled Cloudflare services, such as Bring Your Own CA (BYO-CA) for mTLS. To create certificates issued by the Cloudflare managed CA, use the [Create Client Certificate endpoint](/api/resources/client_certificates/methods/create/).", + description: "Upload a certificate that you want to use with mTLS-enabled Cloudflare services, such as Bring Your Own CA (BYO-CA) for mTLS. To create certificates issued by the Cloudflare managed CA, use the [Create Client Certificate endpoint](/api/resources/client_certificates/methods/create/).\n\nPOST /accounts/{account_id}/mtls_certificates", inputSchema: { type: "object", properties: { "body": { "properties": { "ca": { - "$ref": "#/$defs/tls-certificates-and-hostnames_ca", - "description": "Indicates whether the certificate is a CA or leaf certificate." + "description": "Indicates whether the certificate is a CA or leaf certificate.", + "type": "boolean" }, "certificates": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificates-2", - "description": "The uploaded root CA certificate." + "description": "The uploaded root CA certificate.", + "type": "string" }, "name": { - "$ref": "#/$defs/tls-certificates-and-hostnames_name-2", - "description": "Optional unique name for the certificate. Only used for human readability." + "description": "Optional unique name for the certificate. Only used for human readability.", + "type": "string" }, "private_key": { - "$ref": "#/$defs/tls-certificates-and-hostnames_private_key-4", - "description": "The private key for the certificate. This field is only needed for specific use cases such as using a custom certificate with Zero Trust's block page." + "description": "The private key for the certificate. This field is only needed for specific use cases such as using a custom certificate with Zero Trust's block page.", + "type": "string" } }, "required": [ @@ -73,10 +54,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -89,32 +71,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca$, - "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2$, - "tls-certificates-and-hostnames_private_key-4": tls$$certificates$$and$$hostnames_private_key$$4, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single_post", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, "tls-certificates-and-hostnames_certificateObjectPost": tls$$certificates$$and$$hostnames_certificateObjectPost, "tls-certificates-and-hostnames_certificate_response_single_post": tls$$certificates$$and$$hostnames_certificate_response_single_post, - "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, - "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, - "tls-certificates-and-hostnames_updated_at-4": tls$$certificates$$and$$hostnames_updated_at$$4, - "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, annotations: { @@ -161,20 +126,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, "tls-certificates-and-hostnames_certificateObjectPost": tls$$certificates$$and$$hostnames_certificateObjectPost, "tls-certificates-and-hostnames_certificate_response_single_post": tls$$certificates$$and$$hostnames_certificate_response_single_post, - "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, - "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, - "tls-certificates-and-hostnames_updated_at-4": tls$$certificates$$and$$hostnames_updated_at$$4, - "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, request: (args) => ({ @@ -185,19 +139,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_mtlsCertificates_delete", title: "Delete mTLS certificate", - description: "Deletes the mTLS certificate unless the certificate is in use by one or more Cloudflare services.", + description: "Deletes the mTLS certificate unless the certificate is in use by one or more Cloudflare services.\n\nDELETE /accounts/{account_id}/mtls_certificates/{mtls_certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "mtls_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" } }, "required": [ @@ -210,28 +165,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-5", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, "tls-certificates-and-hostnames_certificate_response_single-5": tls$$certificates$$and$$hostnames_certificate_response_single$$5, - "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, - "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, - "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, annotations: { @@ -278,19 +220,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, "tls-certificates-and-hostnames_certificate_response_single-5": tls$$certificates$$and$$hostnames_certificate_response_single$$5, - "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, - "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, - "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, request: (args) => ({ @@ -300,19 +232,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_mtlsCertificates_get", title: "Get mTLS certificate", - description: "Fetches a single mTLS certificate uploaded to your account. To get a certificate issued by the Cloudflare managed CA, use the [Client Certificate Details endpoint](/api/resources/client_certificates/methods/get/).", + description: "Fetches a single mTLS certificate uploaded to your account. To get a certificate issued by the Cloudflare managed CA, use the [Client Certificate Details endpoint](/api/resources/client_certificates/methods/get/).\n\nGET /accounts/{account_id}/mtls_certificates/{mtls_certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "mtls_certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_mtls_certificate_identifier", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" } }, "required": [ @@ -325,28 +258,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-5", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, "tls-certificates-and-hostnames_certificate_response_single-5": tls$$certificates$$and$$hostnames_certificate_response_single$$5, - "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, - "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, - "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, annotations: { @@ -394,19 +314,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, "tls-certificates-and-hostnames_certificate_response_single-5": tls$$certificates$$and$$hostnames_certificate_response_single$$5, - "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, - "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, - "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, request: (args) => ({ @@ -416,15 +326,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_mtlsCertificates_list", title: "List mTLS certificates", - description: "Lists all mTLS certificates uploaded to your account, such as Bring Your Own CA (BYO-CA) for mTLS. To list certificates issued by the Cloudflare managed CA, use the [List Client Certificates endpoint](/api/resources/client_certificates/methods/list/).", + description: "Lists all mTLS certificates uploaded to your account, such as Bring Your Own CA (BYO-CA) for mTLS. To list certificates issued by the Cloudflare managed CA, use the [List Client Certificates endpoint](/api/resources/client_certificates/methods/list/).\n\nGET /accounts/{account_id}/mtls_certificates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -433,6 +344,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "type": { "description": "Filters results by certificate type. Multiple types can be comma-separated.", @@ -453,28 +365,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-5", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, "tls-certificates-and-hostnames_certificate_response_collection-5": tls$$certificates$$and$$hostnames_certificate_response_collection$$5, - "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, - "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, - "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, annotations: { @@ -523,19 +423,9 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_ca": tls$$certificates$$and$$hostnames_ca, "tls-certificates-and-hostnames_certificateObject-3": tls$$certificates$$and$$hostnames_certificateObject$$3, "tls-certificates-and-hostnames_certificate_response_collection-5": tls$$certificates$$and$$hostnames_certificate_response_collection$$5, - "tls-certificates-and-hostnames_certificates-2": tls$$certificates$$and$$hostnames_certificates$$2, - "tls-certificates-and-hostnames_expires_on-2": tls$$certificates$$and$$hostnames_expires_on$$2, - "tls-certificates-and-hostnames_issuer-2": tls$$certificates$$and$$hostnames_issuer$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_mtls_certificate_identifier": tls$$certificates$$and$$hostnames_mtls_certificate_identifier, - "tls-certificates-and-hostnames_name-2": tls$$certificates$$and$$hostnames_name$$2, - "tls-certificates-and-hostnames_serial_number-2": tls$$certificates$$and$$hostnames_serial_number$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_type-3": tls$$certificates$$and$$hostnames_type$$3, - "tls-certificates-and-hostnames_uploaded_on-4": tls$$certificates$$and$$hostnames_uploaded_on$$4, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts b/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts index 256f0814b..fd1d1eed3 100644 --- a/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/originCaCertificates/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_certificate-4` in responses. - */ -export const tls$$certificates$$and$$hostnames_certificate$$4: JsonSchema = { - "type": "string" -}; - /** * The schema of * `tls-certificates-and-hostnames_certificate_response_collection-2` in @@ -63,10 +56,11 @@ export const tls$$certificates$$and$$hostnames_certificate_revoke_response: Json "result": { "properties": { "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier" + "type": "string" }, "revoked_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_revoked_at" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -81,25 +75,39 @@ export const tls$$certificates$$and$$hostnames_certificate_revoke_response: Json export const tls$$certificates$$and$$hostnames_certificates: JsonSchema = { "properties": { "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-4" + "type": "string" }, "csr": { - "$ref": "#/$defs/tls-certificates-and-hostnames_csr" + "type": "string" }, "expires_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-3" + "type": "string" }, "hostnames": { "$ref": "#/$defs/tls-certificates-and-hostnames_hostnames" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier" + "type": "string" }, "request_type": { - "$ref": "#/$defs/tls-certificates-and-hostnames_request_type" + "enum": [ + "origin-rsa", + "origin-ecc", + "keyless-certificate" + ], + "type": "string" }, "requested_validity": { - "$ref": "#/$defs/tls-certificates-and-hostnames_requested_validity" + "enum": [ + 7, + 30, + 90, + 365, + 730, + 1095, + 5475 + ], + "type": "integer" } }, "required": [ @@ -111,20 +119,6 @@ export const tls$$certificates$$and$$hostnames_certificates: JsonSchema = { "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_csr` in responses. - */ -export const tls$$certificates$$and$$hostnames_csr: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_expires_on-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_expires_on$$3: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_hostnames` in responses. */ @@ -136,49 +130,3 @@ export const tls$$certificates$$and$$hostnames_hostnames: JsonSchema = { "minItems": 1, "type": "array" }; - -/** - * The schema of - * `tls-certificates-and-hostnames_origin_ca_certificate_identifier` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_request_type` in responses. - */ -export const tls$$certificates$$and$$hostnames_request_type: JsonSchema = { - "enum": [ - "origin-rsa", - "origin-ecc", - "keyless-certificate" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_requested_validity` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_requested_validity: JsonSchema = { - "enum": [ - 7, - 30, - 90, - 365, - 730, - 1095, - 5475 - ], - "type": "integer" -}; - -/** - * The schema of `tls-certificates-and-hostnames_revoked_at` in responses. - */ -export const tls$$certificates$$and$$hostnames_revoked_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/originCaCertificates/schemas.ts b/src/generated/forge-mcp/ssl/originCaCertificates/schemas.ts index 11c75f114..a83203d54 100644 --- a/src/generated/forge-mcp/ssl/originCaCertificates/schemas.ts +++ b/src/generated/forge-mcp/ssl/originCaCertificates/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_csr`. - */ -export const tls$$certificates$$and$$hostnames_csr: JsonSchema = { - "description": "The Certificate Signing Request (CSR). Must be newline-encoded.", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_hostnames`. */ @@ -23,42 +15,3 @@ export const tls$$certificates$$and$$hostnames_hostnames: JsonSchema = { "minItems": 1, "type": "array" }; - -/** - * The schema of - * `tls-certificates-and-hostnames_origin_ca_certificate_identifier`. - */ -export const tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier: JsonSchema = { - "description": "The x509 serial number of the Origin CA certificate.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_request_type`. - */ -export const tls$$certificates$$and$$hostnames_request_type: JsonSchema = { - "description": "Signature type desired on certificate (\"origin-rsa\" (rsa), \"origin-ecc\" (ecdsa), or \"keyless-certificate\" (for Keyless SSL servers).", - "enum": [ - "origin-rsa", - "origin-ecc", - "keyless-certificate" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_requested_validity`. - */ -export const tls$$certificates$$and$$hostnames_requested_validity: JsonSchema = { - "description": "The number of days for which the certificate should be valid.", - "enum": [ - 7, - 30, - 90, - 365, - 730, - 1095, - 5475 - ], - "type": "integer" -}; diff --git a/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts b/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts index c65772e44..beb755949 100644 --- a/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/originCaCertificates/tools.ts @@ -9,28 +9,14 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls$$certificates$$and$$hostnames_certificate$$4, tls$$certificates$$and$$hostnames_certificate_response_collection$$2, tls$$certificates$$and$$hostnames_certificate_response_single$$2, tls$$certificates$$and$$hostnames_certificate_revoke_response, tls$$certificates$$and$$hostnames_certificates, - tls$$certificates$$and$$hostnames_csr, - tls$$certificates$$and$$hostnames_expires_on$$3, tls$$certificates$$and$$hostnames_hostnames, - tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, - tls$$certificates$$and$$hostnames_request_type, - tls$$certificates$$and$$hostnames_requested_validity, - tls$$certificates$$and$$hostnames_revoked_at, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_csr as tls$$certificates$$and$$hostnames_csr$, - tls$$certificates$$and$$hostnames_hostnames as tls$$certificates$$and$$hostnames_hostnames$, - tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier as tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier$, - tls$$certificates$$and$$hostnames_request_type as tls$$certificates$$and$$hostnames_request_type$, - tls$$certificates$$and$$hostnames_requested_validity as tls$$certificates$$and$$hostnames_requested_validity$, -} from "./schemas.js"; +import { tls$$certificates$$and$$hostnames_hostnames as tls$$certificates$$and$$hostnames_hostnames$ } from "./schemas.js"; /** * The tools of `ssl.originCaCertificates`. @@ -39,28 +25,42 @@ export const tools: readonly Tool[] = [ { name: "ssl_originCaCertificates_create", title: "Create Certificate", - description: "Create an Origin CA certificate. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).", + description: "Create an Origin CA certificate. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).\n\nPOST /certificates", inputSchema: { type: "object", properties: { "body": { "properties": { "csr": { - "$ref": "#/$defs/tls-certificates-and-hostnames_csr", - "description": "The Certificate Signing Request (CSR). Must be newline-encoded." + "description": "The Certificate Signing Request (CSR). Must be newline-encoded.", + "type": "string" }, "hostnames": { "$ref": "#/$defs/tls-certificates-and-hostnames_hostnames", "description": "Array of hostnames or wildcard names bound to the certificate.\nHostnames must be fully qualified domain names (FQDNs) belonging to zones on your account (e.g., `example.com` or `sub.example.com`). Wildcards are supported only as a `*.` prefix for a single level (e.g., `*.example.com`). Double wildcards (`*.*.example.com`) and interior wildcards (`foo.*.example.com`) are not allowed. The wildcard suffix must be a multi-label domain (`*.example.com` is valid, but `*.com` is not). Unicode/IDN hostnames are accepted and automatically converted to punycode." }, "request_type": { - "$ref": "#/$defs/tls-certificates-and-hostnames_request_type", - "description": "Signature type desired on certificate (\"origin-rsa\" (rsa), \"origin-ecc\" (ecdsa), or \"keyless-certificate\" (for Keyless SSL servers)." + "description": "Signature type desired on certificate (\"origin-rsa\" (rsa), \"origin-ecc\" (ecdsa), or \"keyless-certificate\" (for Keyless SSL servers).", + "enum": [ + "origin-rsa", + "origin-ecc", + "keyless-certificate" + ], + "type": "string" }, "requested_validity": { - "$ref": "#/$defs/tls-certificates-and-hostnames_requested_validity", "default": 5475, - "description": "The number of days for which the certificate should be valid." + "description": "The number of days for which the certificate should be valid.", + "enum": [ + 7, + 30, + 90, + 365, + 730, + 1095, + 5475 + ], + "type": "integer" } }, "required": [ @@ -74,27 +74,19 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr$, "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames$, - "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type$, - "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity$, }, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-2", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, "tls-certificates-and-hostnames_certificate_response_single-2": tls$$certificates$$and$$hostnames_certificate_response_single$$2, "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, - "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, - "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, - "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, - "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, annotations: { @@ -133,16 +125,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, "tls-certificates-and-hostnames_certificate_response_single-2": tls$$certificates$$and$$hostnames_certificate_response_single$$2, "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, - "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, - "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, - "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, - "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, request: (args) => ({ @@ -153,15 +139,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_originCaCertificates_delete", title: "Revoke Certificate", - description: "Revoke an existing Origin CA certificate by its serial number. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).", + description: "Revoke an existing Origin CA certificate by its serial number. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).\n\nDELETE /certificates/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier", - "description": "The x509 serial number of the Origin CA certificate." + "description": "The x509 serial number of the Origin CA certificate.", + "type": "string" } }, "required": [ @@ -173,16 +160,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_revoke_response", $defs: { "tls-certificates-and-hostnames_certificate_revoke_response": tls$$certificates$$and$$hostnames_certificate_revoke_response, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, - "tls-certificates-and-hostnames_revoked_at": tls$$certificates$$and$$hostnames_revoked_at, }, }, annotations: { @@ -222,8 +205,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_certificate_revoke_response": tls$$certificates$$and$$hostnames_certificate_revoke_response, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, - "tls-certificates-and-hostnames_revoked_at": tls$$certificates$$and$$hostnames_revoked_at, }, }, request: (args) => ({ @@ -233,15 +214,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_originCaCertificates_get", title: "Get Certificate", - description: "Get an existing Origin CA certificate by its serial number. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).", + description: "Get an existing Origin CA certificate by its serial number. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).\n\nGET /certificates/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_origin_ca_certificate_identifier", - "description": "The x509 serial number of the Origin CA certificate." + "description": "The x509 serial number of the Origin CA certificate.", + "type": "string" } }, "required": [ @@ -253,24 +235,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-2", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, "tls-certificates-and-hostnames_certificate_response_single-2": tls$$certificates$$and$$hostnames_certificate_response_single$$2, "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, - "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, - "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, - "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, - "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, annotations: { @@ -309,16 +283,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, "tls-certificates-and-hostnames_certificate_response_single-2": tls$$certificates$$and$$hostnames_certificate_response_single$$2, "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, - "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, - "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, - "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, - "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, request: (args) => ({ @@ -328,11 +296,12 @@ export const tools: readonly Tool[] = [ { name: "ssl_originCaCertificates_list", title: "List Certificates", - description: "List all existing Origin CA certificates for a given zone. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).", + description: "List all existing Origin CA certificates for a given zone. You can use an Origin CA Key as your User Service Key or an API token when calling this endpoint ([see above](#requests)).\n\nGET /certificates", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "limit": { "description": "Limit to the number of records returned.", @@ -353,8 +322,8 @@ export const tools: readonly Tool[] = [ "type": "number" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -366,25 +335,17 @@ export const tools: readonly Tool[] = [ required: [ "query" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-2", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, "tls-certificates-and-hostnames_certificate_response_collection-2": tls$$certificates$$and$$hostnames_certificate_response_collection$$2, "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, - "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, - "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, - "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, - "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, annotations: { @@ -424,16 +385,10 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate-4": tls$$certificates$$and$$hostnames_certificate$$4, "tls-certificates-and-hostnames_certificate_response_collection-2": tls$$certificates$$and$$hostnames_certificate_response_collection$$2, "tls-certificates-and-hostnames_certificates": tls$$certificates$$and$$hostnames_certificates, - "tls-certificates-and-hostnames_csr": tls$$certificates$$and$$hostnames_csr, - "tls-certificates-and-hostnames_expires_on-3": tls$$certificates$$and$$hostnames_expires_on$$3, "tls-certificates-and-hostnames_hostnames": tls$$certificates$$and$$hostnames_hostnames, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_origin_ca_certificate_identifier": tls$$certificates$$and$$hostnames_origin_ca_certificate_identifier, - "tls-certificates-and-hostnames_request_type": tls$$certificates$$and$$hostnames_request_type, - "tls-certificates-and-hostnames_requested_validity": tls$$certificates$$and$$hostnames_requested_validity, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts index 673be6485..30ce5a6fa 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/outputs.ts @@ -10,22 +10,40 @@ import type { JsonSchema } from "../../../_/tool.js"; export const tls$$certificates$$and$$hostnames_hostname_assoc_object: JsonSchema = { "properties": { "cert_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_cert_id" + "type": "string" }, "created_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-3" + "format": "date-time", + "type": "string" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-5" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-9" + "enum": [ + "initializing", + "pending_deployment", + "pending_deletion", + "active", + "deleted", + "deployment_timed_out", + "deletion_timed_out" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-3" + "format": "date-time", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts index 54d8c9620..3e6e0a438 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameAssociations/tools.ts @@ -8,15 +8,6 @@ import { tls$$certificates$$and$$hostnames_api$$response$$common$$failure, tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; -import { - tls$$certificates$$and$$hostnames_cert_id, - tls$$certificates$$and$$hostnames_created_at$$3, - tls$$certificates$$and$$hostnames_enabled$$5, - tls$$certificates$$and$$hostnames_hostname$$2, - tls$$certificates$$and$$hostnames_status$$9, - tls$$certificates$$and$$hostnames_updated_at$$3, -} from "../outputs.js"; import { tls$$certificates$$and$$hostnames_hostname_assoc_object, tls$$certificates$$and$$hostnames_hostname_assoc_response_collection, @@ -29,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_hostnameAssociations_list", title: "List Hostname Associations", - description: "List certificate ID - hostname associations for the given zone. Shows which hostnames are associated to which certificates for authenticated origin pulls.", + description: "List certificate ID - hostname associations for the given zone. Shows which hostnames are associated to which certificates for authenticated origin pulls.\n\nGET /zones/{zone_id}/origin_tls_client_auth/hostnames", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -46,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -77,24 +70,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_assoc_response_collection", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_cert_id": tls$$certificates$$and$$hostnames_cert_id, - "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, - "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, - "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, "tls-certificates-and-hostnames_hostname_assoc_object": tls$$certificates$$and$$hostnames_hostname_assoc_object, "tls-certificates-and-hostnames_hostname_assoc_response_collection": tls$$certificates$$and$$hostnames_hostname_assoc_response_collection, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, }, }, annotations: { @@ -138,15 +123,9 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_cert_id": tls$$certificates$$and$$hostnames_cert_id, - "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, - "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, - "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, "tls-certificates-and-hostnames_hostname_assoc_object": tls$$certificates$$and$$hostnames_hostname_assoc_object, "tls-certificates-and-hostnames_hostname_assoc_response_collection": tls$$certificates$$and$$hostnames_hostname_assoc_response_collection, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts index 15070bfd5..c63bf7d98 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/outputs.ts @@ -10,28 +10,39 @@ import type { JsonSchema } from "../../../_/tool.js"; export const tls$$certificates$$and$$hostnames_certificateObject$$2: JsonSchema = { "properties": { "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-6" + "type": "string" }, "expires_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-5" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier" + "type": "string" }, "issuer": { - "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + "type": "string" }, "serial_number": { - "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number" + "type": "string" }, "signature": { - "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-9" + "enum": [ + "initializing", + "pending_deployment", + "pending_deletion", + "active", + "deleted", + "deployment_timed_out", + "deletion_timed_out" + ], + "type": "string" }, "uploaded_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-3" + "format": "date-time", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts index 2c94f8a6e..78fcf10db 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnameCertificates/tools.ts @@ -7,24 +7,8 @@ import { tls$$certificates$$and$$hostnames_api$$response$$common, tls$$certificates$$and$$hostnames_api$$response$$common$$failure, tls$$certificates$$and$$hostnames_api$$response$$single, - tls$$certificates$$and$$hostnames_issuer, tls$$certificates$$and$$hostnames_messages, - tls$$certificates$$and$$hostnames_signature, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; -import { - tls$$certificates$$and$$hostnames_certificate$$6, - tls$$certificates$$and$$hostnames_expires_on$$5, - tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - tls$$certificates$$and$$hostnames_serial_number, - tls$$certificates$$and$$hostnames_status$$9, - tls$$certificates$$and$$hostnames_uploaded_on$$3, -} from "../outputs.js"; -import { - tls$$certificates$$and$$hostnames_certificate$$6 as tls$$certificates$$and$$hostnames_certificate$$6$, - tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier as tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier$, - tls$$certificates$$and$$hostnames_private_key$$3, -} from "../schemas.js"; import { tls$$certificates$$and$$hostnames_certificateObject$$2, tls$$certificates$$and$$hostnames_certificate_response_collection$$4, @@ -38,19 +22,19 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_hostnameCertificates_create", title: "Upload a Hostname Client Certificate", - description: "Upload a certificate to be used for client authentication on a hostname. 10 hostname certificates per zone are allowed.", + description: "Upload a certificate to be used for client authentication on a hostname. 10 hostname certificates per zone are allowed.\n\nPOST /zones/{zone_id}/origin_tls_client_auth/hostnames/certificates", inputSchema: { type: "object", properties: { "body": { "properties": { "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-6", - "description": "The hostname certificate." + "description": "The hostname certificate.", + "type": "string" }, "private_key": { - "$ref": "#/$defs/tls-certificates-and-hostnames_private_key-3", - "description": "The hostname certificate's private key." + "description": "The hostname certificate's private key.", + "type": "string" } }, "required": [ @@ -60,10 +44,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -76,27 +61,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_private_key-3": tls$$certificates$$and$$hostnames_private_key$$3, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-4", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -138,17 +111,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ @@ -159,19 +124,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_hostnameCertificates_delete", title: "Delete Hostname Client Certificate", - description: "Removes a client certificate used for authenticated origin pulls on a specific hostname.\nNote: Before deleting the certificate, you must first invalidate the hostname for client authentication by sending a PUT request with `enabled` set to null. After invalidating the association, the certificate can be safely deleted.", + description: "Removes a client certificate used for authenticated origin pulls on a specific hostname.\nNote: Before deleting the certificate, you must first invalidate the hostname for client authentication by sending a PUT request with `enabled` set to null. After invalidating the association, the certificate can be safely deleted.\n\nDELETE /zones/{zone_id}/origin_tls_client_auth/hostnames/certificates/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -184,26 +150,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-4", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -245,17 +200,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ @@ -265,19 +212,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_hostnameCertificates_get", title: "Get the Hostname Client Certificate", - description: "Get the certificate by ID to be used for client authentication on a hostname.", + description: "Get the certificate by ID to be used for client authentication on a hostname.\n\nGET /zones/{zone_id}/origin_tls_client_auth/hostnames/certificates/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -290,26 +238,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-4", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -352,17 +289,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, "tls-certificates-and-hostnames_certificate_response_single-4": tls$$certificates$$and$$hostnames_certificate_response_single$$4, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ @@ -372,15 +301,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_hostnameCertificates_list", title: "List Certificates", - description: "Lists all client certificates configured for per-hostname authenticated origin pulls on the zone.", + description: "Lists all client certificates configured for per-hostname authenticated origin pulls on the zone.\n\nGET /zones/{zone_id}/origin_tls_client_auth/hostnames/certificates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -392,26 +322,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-4", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, "tls-certificates-and-hostnames_certificate_response_collection-4": tls$$certificates$$and$$hostnames_certificate_response_collection$$4, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -455,17 +375,9 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, "tls-certificates-and-hostnames_certificateObject-2": tls$$certificates$$and$$hostnames_certificateObject$$2, "tls-certificates-and-hostnames_certificate_response_collection-4": tls$$certificates$$and$$hostnames_certificate_response_collection$$4, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts index 508c01f52..2f3caeb5e 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/outputs.ts @@ -13,22 +13,29 @@ export const tls$$certificates$$and$$hostnames_hostname$$authenticated$$origin$$ { "properties": { "cert_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier" + "type": "string" }, "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-6" + "type": "string" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-5" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2" + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier" + "type": "string" }, "private_key": { - "$ref": "#/$defs/tls-certificates-and-hostnames_private_key-3" + "type": "string" } }, "type": "object" @@ -90,46 +97,76 @@ export const tls$$certificates$$and$$hostnames_hostname_aop_single_response: Jso export const tls$$certificates$$and$$hostnames_hostname_certid_object: JsonSchema = { "properties": { "cert_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_certificate_identifier" + "type": "string" }, "cert_status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-9" + "enum": [ + "initializing", + "pending_deployment", + "pending_deletion", + "active", + "deleted", + "deployment_timed_out", + "deletion_timed_out" + ], + "type": "string" }, "cert_updated_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-3" + "format": "date-time", + "type": "string" }, "cert_uploaded_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-3" + "format": "date-time", + "type": "string" }, "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-6" + "type": "string" }, "created_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-3" + "format": "date-time", + "type": "string" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-5" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "expires_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-5" + "format": "date-time", + "type": "string" }, "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2" + "type": "string" }, "issuer": { - "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + "type": "string" }, "serial_number": { - "$ref": "#/$defs/tls-certificates-and-hostnames_serial_number" + "type": "string" }, "signature": { - "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-9" + "enum": [ + "initializing", + "pending_deployment", + "pending_deletion", + "active", + "deleted", + "deployment_timed_out", + "deletion_timed_out" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-3" + "format": "date-time", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/schemas.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/schemas.ts index 31625ebcf..56cd97dc0 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/schemas.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/schemas.ts @@ -19,16 +19,23 @@ export const tls$$certificates$$and$$hostnames_config: JsonSchema = { export const tls$$certificates$$and$$hostnames_hostname_certid_input: JsonSchema = { "properties": { "cert_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_cert_id", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-5", - "description": "Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association." + "description": "Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2", - "description": "The hostname on the origin for which the client certificate uploaded will be used." + "description": "The hostname on the origin for which the client certificate uploaded will be used.", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts index ad23d7bc5..293e09096 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/hostnames/tools.ts @@ -7,29 +7,8 @@ import { tls$$certificates$$and$$hostnames_api$$response$$common, tls$$certificates$$and$$hostnames_api$$response$$common$$failure, tls$$certificates$$and$$hostnames_api$$response$$single, - tls$$certificates$$and$$hostnames_issuer, tls$$certificates$$and$$hostnames_messages, - tls$$certificates$$and$$hostnames_signature, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; -import { - tls$$certificates$$and$$hostnames_certificate$$6, - tls$$certificates$$and$$hostnames_created_at$$3, - tls$$certificates$$and$$hostnames_enabled$$5, - tls$$certificates$$and$$hostnames_expires_on$$5, - tls$$certificates$$and$$hostnames_hostname$$2, - tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, - tls$$certificates$$and$$hostnames_private_key$$3, - tls$$certificates$$and$$hostnames_serial_number, - tls$$certificates$$and$$hostnames_status$$9, - tls$$certificates$$and$$hostnames_updated_at$$3, - tls$$certificates$$and$$hostnames_uploaded_on$$3, -} from "../outputs.js"; -import { - tls$$certificates$$and$$hostnames_cert_id, - tls$$certificates$$and$$hostnames_enabled$$5 as tls$$certificates$$and$$hostnames_enabled$$5$, - tls$$certificates$$and$$hostnames_hostname$$2 as tls$$certificates$$and$$hostnames_hostname$$2$, -} from "../schemas.js"; import { tls$$certificates$$and$$hostnames_hostname$$authenticated$$origin$$pull, tls$$certificates$$and$$hostnames_hostname_aop_response_collection, @@ -48,19 +27,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_hostnames_get", title: "Get the Hostname Status for Client Authentication", - description: "Retrieves the client certificate authentication status for a specific hostname, showing whether authenticated origin pulls are enabled.", + description: "Retrieves the client certificate authentication status for a specific hostname, showing whether authenticated origin pulls are enabled.\n\nGET /zones/{zone_id}/origin_tls_client_auth/hostnames/{hostname}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-2", - "description": "The hostname on the origin for which the client certificate uploaded will be used." + "description": "The hostname on the origin for which the client certificate uploaded will be used.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -73,30 +53,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_hostname_aop_single_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, - "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, - "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, "tls-certificates-and-hostnames_hostname_aop_single_response": tls$$certificates$$and$$hostnames_hostname_aop_single_response, "tls-certificates-and-hostnames_hostname_certid_object": tls$$certificates$$and$$hostnames_hostname_certid_object, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -139,21 +104,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, - "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, - "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, "tls-certificates-and-hostnames_hostname_aop_single_response": tls$$certificates$$and$$hostnames_hostname_aop_single_response, "tls-certificates-and-hostnames_hostname_certid_object": tls$$certificates$$and$$hostnames_hostname_certid_object, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ @@ -163,7 +116,7 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_hostnames_update", title: "Enable or Disable a Hostname for Client Authentication", - description: "Associate a hostname to a certificate and enable, disable or invalidate the association. If disabled, client certificate will not be sent to the hostname even if activated at the zone level. 100 maximum associations on a single certificate are allowed. Note: Use a null value for parameter *enabled* to invalidate the association.", + description: "Associate a hostname to a certificate and enable, disable or invalidate the association. If disabled, client certificate will not be sent to the hostname even if activated at the zone level. 100 maximum associations on a single certificate are allowed. Note: Use a null value for parameter *enabled* to invalidate the association.\n\nPUT /zones/{zone_id}/origin_tls_client_auth/hostnames", inputSchema: { type: "object", properties: { @@ -179,10 +132,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -195,13 +149,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_cert_id": tls$$certificates$$and$$hostnames_cert_id, "tls-certificates-and-hostnames_config": tls$$certificates$$and$$hostnames_config, - "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5$, - "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2$, "tls-certificates-and-hostnames_hostname_certid_input": tls$$certificates$$and$$hostnames_hostname_certid_input, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, }, }, outputSchema: { @@ -209,23 +160,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, - "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, - "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, "tls-certificates-and-hostnames_hostname-authenticated-origin-pull": tls$$certificates$$and$$hostnames_hostname$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, "tls-certificates-and-hostnames_hostname_aop_response_collection": tls$$certificates$$and$$hostnames_hostname_aop_response_collection, "tls-certificates-and-hostnames_hostname_certid_object": tls$$certificates$$and$$hostnames_hostname_certid_object, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-3": tls$$certificates$$and$$hostnames_private_key$$3, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, annotations: { @@ -268,23 +206,10 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate-6": tls$$certificates$$and$$hostnames_certificate$$6, - "tls-certificates-and-hostnames_created_at-3": tls$$certificates$$and$$hostnames_created_at$$3, - "tls-certificates-and-hostnames_enabled-5": tls$$certificates$$and$$hostnames_enabled$$5, - "tls-certificates-and-hostnames_expires_on-5": tls$$certificates$$and$$hostnames_expires_on$$5, - "tls-certificates-and-hostnames_hostname-2": tls$$certificates$$and$$hostnames_hostname$$2, "tls-certificates-and-hostnames_hostname-authenticated-origin-pull": tls$$certificates$$and$$hostnames_hostname$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_hostname_aop_certificate_identifier": tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier, "tls-certificates-and-hostnames_hostname_aop_response_collection": tls$$certificates$$and$$hostnames_hostname_aop_response_collection, "tls-certificates-and-hostnames_hostname_certid_object": tls$$certificates$$and$$hostnames_hostname_certid_object, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-3": tls$$certificates$$and$$hostnames_private_key$$3, - "tls-certificates-and-hostnames_serial_number": tls$$certificates$$and$$hostnames_serial_number, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-9": tls$$certificates$$and$$hostnames_status$$9, - "tls-certificates-and-hostnames_updated_at-3": tls$$certificates$$and$$hostnames_updated_at$$3, - "tls-certificates-and-hostnames_uploaded_on-3": tls$$certificates$$and$$hostnames_uploaded_on$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts deleted file mode 100644 index 6c8f304d8..000000000 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/outputs.ts +++ /dev/null @@ -1,117 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tls-certificates-and-hostnames_cert_id` in responses. - */ -export const tls$$certificates$$and$$hostnames_cert_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_certificate-6` in responses. - */ -export const tls$$certificates$$and$$hostnames_certificate$$6: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_created_at-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_created_at$$3: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_enabled-4` in responses. - */ -export const tls$$certificates$$and$$hostnames_enabled$$4: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `tls-certificates-and-hostnames_enabled-5` in responses. - */ -export const tls$$certificates$$and$$hostnames_enabled$$5: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `tls-certificates-and-hostnames_expires_on-5` in responses. - */ -export const tls$$certificates$$and$$hostnames_expires_on$$5: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_hostname-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_hostname$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of - * `tls-certificates-and-hostnames_hostname_aop_certificate_identifier` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_private_key-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_private_key$$3: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_serial_number` in responses. - */ -export const tls$$certificates$$and$$hostnames_serial_number: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_status-9` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$9: JsonSchema = { - "enum": [ - "initializing", - "pending_deployment", - "pending_deletion", - "active", - "deleted", - "deployment_timed_out", - "deletion_timed_out" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_updated_at-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_updated_at$$3: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_uploaded_on-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_uploaded_on$$3: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/schemas.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/schemas.ts deleted file mode 100644 index 54edbb02a..000000000 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/schemas.ts +++ /dev/null @@ -1,68 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tls-certificates-and-hostnames_cert_id`. - */ -export const tls$$certificates$$and$$hostnames_cert_id: JsonSchema = { - "description": "Certificate identifier tag.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_certificate-6`. - */ -export const tls$$certificates$$and$$hostnames_certificate$$6: JsonSchema = { - "description": "The hostname certificate.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_enabled-4`. - */ -export const tls$$certificates$$and$$hostnames_enabled$$4: JsonSchema = { - "description": "Indicates whether zone-level authenticated origin pulls is enabled.", - "type": "boolean" -}; - -/** - * The schema of `tls-certificates-and-hostnames_enabled-5`. - */ -export const tls$$certificates$$and$$hostnames_enabled$$5: JsonSchema = { - "description": "Indicates whether hostname-level authenticated origin pulls is enabled. A null value voids the association.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `tls-certificates-and-hostnames_hostname-2`. - */ -export const tls$$certificates$$and$$hostnames_hostname$$2: JsonSchema = { - "description": "The hostname on the origin for which the client certificate uploaded will be used.", - "type": "string" -}; - -/** - * The schema of - * `tls-certificates-and-hostnames_hostname_aop_certificate_identifier`. - */ -export const tls$$certificates$$and$$hostnames_hostname_aop_certificate_identifier: JsonSchema = { - "description": "Certificate identifier tag.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_private_key-3`. - */ -export const tls$$certificates$$and$$hostnames_private_key$$3: JsonSchema = { - "description": "The hostname certificate's private key.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts index 73e75f22f..5919f8e44 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/outputs.ts @@ -16,7 +16,7 @@ export const tls$$certificates$$and$$hostnames_enabled_response: JsonSchema = { "result": { "properties": { "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-4" + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts index f6e2f366b..6c10c82e7 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/settings/tools.ts @@ -7,9 +7,6 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; -import { tls$$certificates$$and$$hostnames_enabled$$4 } from "../outputs.js"; -import { tls$$certificates$$and$$hostnames_enabled$$4 as tls$$certificates$$and$$hostnames_enabled$$4$ } from "../schemas.js"; import { tls$$certificates$$and$$hostnames_enabled_response } from "./outputs.js"; /** @@ -19,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_settings_get", title: "Get Enablement Setting for Zone", - description: "Get whether zone-level authenticated origin pulls is enabled or not. It is false by default.", + description: "Get whether zone-level authenticated origin pulls is enabled or not. It is false by default.\n\nGET /zones/{zone_id}/origin_tls_client_auth/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -39,15 +37,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_enabled_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, "tls-certificates-and-hostnames_enabled_response": tls$$certificates$$and$$hostnames_enabled_response, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -92,7 +87,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, "tls-certificates-and-hostnames_enabled_response": tls$$certificates$$and$$hostnames_enabled_response, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -104,15 +98,15 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_settings_update", title: "Set Enablement for Zone", - description: "Enable or disable zone-level authenticated origin pulls. 'enabled' should be set true either before/after the certificate is uploaded to see the certificate in use.", + description: "Enable or disable zone-level authenticated origin pulls. 'enabled' should be set true either before/after the certificate is uploaded to see the certificate in use.\n\nPUT /zones/{zone_id}/origin_tls_client_auth/settings", inputSchema: { type: "object", properties: { "body": { "properties": { "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-4", - "description": "Indicates whether zone-level authenticated origin pulls is enabled." + "description": "Indicates whether zone-level authenticated origin pulls is enabled.", + "type": "boolean" } }, "required": [ @@ -121,10 +115,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -137,16 +132,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_enabled_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, "tls-certificates-and-hostnames_enabled_response": tls$$certificates$$and$$hostnames_enabled_response, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, @@ -190,7 +181,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, "tls-certificates-and-hostnames_enabled_response": tls$$certificates$$and$$hostnames_enabled_response, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, }, diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts index 70011aac8..5d6a78768 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_certificate-5` in responses. - */ -export const tls$$certificates$$and$$hostnames_certificate$$5: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_certificateObject` in * responses. @@ -17,25 +10,36 @@ export const tls$$certificates$$and$$hostnames_certificate$$5: JsonSchema = { export const tls$$certificates$$and$$hostnames_certificateObject: JsonSchema = { "properties": { "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-5" + "type": "string" }, "expires_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_expires_on-4" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier" + "type": "string" }, "issuer": { - "$ref": "#/$defs/tls-certificates-and-hostnames_issuer" + "type": "string" }, "signature": { - "$ref": "#/$defs/tls-certificates-and-hostnames_signature" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-8" + "enum": [ + "initializing", + "pending_deployment", + "pending_deletion", + "active", + "deleted", + "deployment_timed_out", + "deletion_timed_out" + ], + "type": "string" }, "uploaded_on": { - "$ref": "#/$defs/tls-certificates-and-hostnames_uploaded_on-2" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -85,45 +89,6 @@ export const tls$$certificates$$and$$hostnames_certificate_response_single$$3: J ] }; -/** - * The schema of `tls-certificates-and-hostnames_expires_on-4` in responses. - */ -export const tls$$certificates$$and$$hostnames_expires_on$$4: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_private_key-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_private_key$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_status-8` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$8: JsonSchema = { - "enum": [ - "initializing", - "pending_deployment", - "pending_deletion", - "active", - "deleted", - "deployment_timed_out", - "deletion_timed_out" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_uploaded_on-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_uploaded_on$$2: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_zone-authenticated-origin-pull` * in responses. @@ -133,16 +98,16 @@ export const tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull { "properties": { "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-5" + "type": "string" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-4" + "type": "boolean" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier" + "type": "string" }, "private_key": { - "$ref": "#/$defs/tls-certificates-and-hostnames_private_key-2" + "type": "string" } }, "type": "object" @@ -152,12 +117,3 @@ export const tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull } ] }; - -/** - * The schema of - * `tls-certificates-and-hostnames_zone_aop_certificate_identifier` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/schemas.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/schemas.ts deleted file mode 100644 index 3301b02d3..000000000 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/schemas.ts +++ /dev/null @@ -1,29 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `tls-certificates-and-hostnames_certificate-5`. - */ -export const tls$$certificates$$and$$hostnames_certificate$$5: JsonSchema = { - "description": "The zone's leaf certificate.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_private_key-2`. - */ -export const tls$$certificates$$and$$hostnames_private_key$$2: JsonSchema = { - "description": "The zone's private key.", - "type": "string" -}; - -/** - * The schema of - * `tls-certificates-and-hostnames_zone_aop_certificate_identifier`. - */ -export const tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier: JsonSchema = { - "description": "Certificate identifier tag.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts index 329efec12..009351d98 100644 --- a/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts +++ b/src/generated/forge-mcp/ssl/originTlsClientAuth/zoneCertificates/tools.ts @@ -7,29 +7,14 @@ import { tls$$certificates$$and$$hostnames_api$$response$$common, tls$$certificates$$and$$hostnames_api$$response$$common$$failure, tls$$certificates$$and$$hostnames_api$$response$$single, - tls$$certificates$$and$$hostnames_issuer, tls$$certificates$$and$$hostnames_messages, - tls$$certificates$$and$$hostnames_signature, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; -import { tls$$certificates$$and$$hostnames_enabled$$4 } from "../outputs.js"; import { - tls$$certificates$$and$$hostnames_certificate$$5, tls$$certificates$$and$$hostnames_certificateObject, tls$$certificates$$and$$hostnames_certificate_response_collection$$3, tls$$certificates$$and$$hostnames_certificate_response_single$$3, - tls$$certificates$$and$$hostnames_expires_on$$4, - tls$$certificates$$and$$hostnames_private_key$$2, - tls$$certificates$$and$$hostnames_status$$8, - tls$$certificates$$and$$hostnames_uploaded_on$$2, tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, - tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_certificate$$5 as tls$$certificates$$and$$hostnames_certificate$$5$, - tls$$certificates$$and$$hostnames_private_key$$2 as tls$$certificates$$and$$hostnames_private_key$$2$, - tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier as tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier$, -} from "./schemas.js"; /** * The tools of `ssl.originTlsClientAuth.zoneCertificates`. @@ -38,19 +23,19 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_zoneCertificates_create", title: "Upload Certificate", - description: "Upload your own certificate you want Cloudflare to use for edge-to-origin communication to override the shared certificate. Please note that it is important to keep only one certificate active. Also, make sure to enable zone-level authenticated origin pulls by making a PUT call to settings endpoint to see the uploaded certificate in use.", + description: "Upload your own certificate you want Cloudflare to use for edge-to-origin communication to override the shared certificate. Please note that it is important to keep only one certificate active. Also, make sure to enable zone-level authenticated origin pulls by making a PUT call to settings endpoint to see the uploaded certificate in use.\n\nPOST /zones/{zone_id}/origin_tls_client_auth", inputSchema: { type: "object", properties: { "body": { "properties": { "certificate": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate-5", - "description": "The zone's leaf certificate." + "description": "The zone's leaf certificate.", + "type": "string" }, "private_key": { - "$ref": "#/$defs/tls-certificates-and-hostnames_private_key-2", - "description": "The zone's private key." + "description": "The zone's private key.", + "type": "string" } }, "required": [ @@ -60,10 +45,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -76,29 +62,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-3", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, - "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, - "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, annotations: { @@ -145,19 +118,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, - "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, - "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, request: (args) => ({ @@ -168,19 +132,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_zoneCertificates_delete", title: "Delete Certificate", - description: "Removes a client certificate used for zone-level authenticated origin pulls.", + description: "Removes a client certificate used for zone-level authenticated origin pulls.\n\nDELETE /zones/{zone_id}/origin_tls_client_auth/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -193,28 +158,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-3", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, - "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, - "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, annotations: { @@ -256,19 +209,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, - "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, - "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, request: (args) => ({ @@ -278,19 +222,20 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_zoneCertificates_get", title: "Get Certificate Details", - description: "Retrieves details for a specific client certificate used in zone-level authenticated origin pulls.", + description: "Retrieves details for a specific client certificate used in zone-level authenticated origin pulls.\n\nGET /zones/{zone_id}/origin_tls_client_auth/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "certificate_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_zone_aop_certificate_identifier", - "description": "Certificate identifier tag." + "description": "Certificate identifier tag.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -303,28 +248,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_single-3", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, - "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, - "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, annotations: { @@ -367,19 +300,10 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, "tls-certificates-and-hostnames_certificate_response_single-3": tls$$certificates$$and$$hostnames_certificate_response_single$$3, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, - "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, - "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, request: (args) => ({ @@ -389,15 +313,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_originTlsClientAuth_zoneCertificates_list", title: "List Certificates", - description: "Lists all client certificates configured for zone-level authenticated origin pulls.", + description: "Lists all client certificates configured for zone-level authenticated origin pulls.\n\nGET /zones/{zone_id}/origin_tls_client_auth", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -409,28 +334,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_response_collection-3", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, "tls-certificates-and-hostnames_certificate_response_collection-3": tls$$certificates$$and$$hostnames_certificate_response_collection$$3, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, - "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, - "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, annotations: { @@ -479,19 +393,10 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_certificate-5": tls$$certificates$$and$$hostnames_certificate$$5, "tls-certificates-and-hostnames_certificateObject": tls$$certificates$$and$$hostnames_certificateObject, "tls-certificates-and-hostnames_certificate_response_collection-3": tls$$certificates$$and$$hostnames_certificate_response_collection$$3, - "tls-certificates-and-hostnames_enabled-4": tls$$certificates$$and$$hostnames_enabled$$4, - "tls-certificates-and-hostnames_expires_on-4": tls$$certificates$$and$$hostnames_expires_on$$4, - "tls-certificates-and-hostnames_issuer": tls$$certificates$$and$$hostnames_issuer, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_private_key-2": tls$$certificates$$and$$hostnames_private_key$$2, - "tls-certificates-and-hostnames_signature": tls$$certificates$$and$$hostnames_signature, - "tls-certificates-and-hostnames_status-8": tls$$certificates$$and$$hostnames_status$$8, - "tls-certificates-and-hostnames_uploaded_on-2": tls$$certificates$$and$$hostnames_uploaded_on$$2, "tls-certificates-and-hostnames_zone-authenticated-origin-pull": tls$$certificates$$and$$hostnames_zone$$authenticated$$origin$$pull, - "tls-certificates-and-hostnames_zone_aop_certificate_identifier": tls$$certificates$$and$$hostnames_zone_aop_certificate_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/ssl/outputs.ts b/src/generated/forge-mcp/ssl/outputs.ts index 2b5ab51a9..a0e1fd5f9 100644 --- a/src/generated/forge-mcp/ssl/outputs.ts +++ b/src/generated/forge-mcp/ssl/outputs.ts @@ -122,32 +122,6 @@ export const cache_result: JsonSchema = { "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_bundle_method` in responses. - */ -export const tls$$certificates$$and$$hostnames_bundle_method: JsonSchema = { - "enum": [ - "ubiquitous", - "optimal", - "force" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_enabled` in responses. - */ -export const tls$$certificates$$and$$hostnames_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `tls-certificates-and-hostnames_host` in responses. - */ -export const tls$$certificates$$and$$hostnames_host: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_keyless-certificate` in * responses. @@ -159,20 +133,20 @@ export const tls$$certificates$$and$$hostnames_keyless$$certificate: JsonSchema "type": "string" }, "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled" + "type": "boolean" }, "host": { - "$ref": "#/$defs/tls-certificates-and-hostnames_host" + "type": "string" }, "id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_certificate_identifier" + "type": "string" }, "modified_on": { "format": "date-time", "type": "string" }, "name": { - "$ref": "#/$defs/tls-certificates-and-hostnames_name" + "type": "string" }, "permissions": { "items": { @@ -181,10 +155,14 @@ export const tls$$certificates$$and$$hostnames_keyless$$certificate: JsonSchema "type": "array" }, "port": { - "$ref": "#/$defs/tls-certificates-and-hostnames_port" + "type": "number" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-2" + "enum": [ + "active", + "deleted" + ], + "type": "string" }, "tunnel": { "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_tunnel" @@ -204,32 +182,16 @@ export const tls$$certificates$$and$$hostnames_keyless$$certificate: JsonSchema "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_keyless_certificate_identifier` - * in responses. - */ -export const tls$$certificates$$and$$hostnames_keyless_certificate_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_keyless_private_ip` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_keyless_private_ip: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_keyless_tunnel` in responses. */ export const tls$$certificates$$and$$hostnames_keyless_tunnel: JsonSchema = { "properties": { "private_ip": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_private_ip" + "type": "string" }, "vnet_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_vnet_id" + "type": "string" } }, "required": [ @@ -238,35 +200,3 @@ export const tls$$certificates$$and$$hostnames_keyless_tunnel: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `tls-certificates-and-hostnames_keyless_vnet_id` in responses. - */ -export const tls$$certificates$$and$$hostnames_keyless_vnet_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_name` in responses. - */ -export const tls$$certificates$$and$$hostnames_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_port` in responses. - */ -export const tls$$certificates$$and$$hostnames_port: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `tls-certificates-and-hostnames_status-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$2: JsonSchema = { - "enum": [ - "active", - "deleted" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/schemas.ts b/src/generated/forge-mcp/ssl/schemas.ts index 9b3a57147..25e62c9ed 100644 --- a/src/generated/forge-mcp/ssl/schemas.ts +++ b/src/generated/forge-mcp/ssl/schemas.ts @@ -3,59 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `cache_identifier`. - */ -export const cache_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_bundle_method`. - */ -export const tls$$certificates$$and$$hostnames_bundle_method: JsonSchema = { - "description": "A ubiquitous bundle has the highest probability of being verified everywhere, even by clients using outdated or unusual trust stores. An optimal bundle uses the shortest chain and newest intermediates. And the force bundle verifies the chain, but does not otherwise modify it.", - "enum": [ - "ubiquitous", - "optimal", - "force" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_certificate`. - */ -export const tls$$certificates$$and$$hostnames_certificate: JsonSchema = { - "description": "The zone's SSL certificate or certificate and the intermediate(s).", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_host`. - */ -export const tls$$certificates$$and$$hostnames_host: JsonSchema = { - "description": "The keyless SSL name.", - "type": "string" -}; - -/** - * The schema of - * `tls-certificates-and-hostnames_keyless_certificate_identifier`. - */ -export const tls$$certificates$$and$$hostnames_keyless_certificate_identifier: JsonSchema = { - "description": "Keyless certificate identifier tag.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_keyless_private_ip`. - */ -export const tls$$certificates$$and$$hostnames_keyless_private_ip: JsonSchema = { - "description": "Private IP of the Key Server Host.", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_keyless_tunnel`. */ @@ -63,12 +10,12 @@ export const tls$$certificates$$and$$hostnames_keyless_tunnel: JsonSchema = { "description": "Configuration for using Keyless SSL through a Cloudflare Tunnel.", "properties": { "private_ip": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_private_ip", - "description": "Private IP of the Key Server Host." + "description": "Private IP of the Key Server Host.", + "type": "string" }, "vnet_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_keyless_vnet_id", - "description": "Cloudflare Tunnel Virtual Network ID." + "description": "Cloudflare Tunnel Virtual Network ID.", + "type": "string" } }, "required": [ @@ -77,19 +24,3 @@ export const tls$$certificates$$and$$hostnames_keyless_tunnel: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `tls-certificates-and-hostnames_keyless_vnet_id`. - */ -export const tls$$certificates$$and$$hostnames_keyless_vnet_id: JsonSchema = { - "description": "Cloudflare Tunnel Virtual Network ID.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_port`. - */ -export const tls$$certificates$$and$$hostnames_port: JsonSchema = { - "description": "The keyless SSL port used to communicate between Cloudflare and the client's Keyless SSL server.", - "type": "number" -}; diff --git a/src/generated/forge-mcp/ssl/universal/settings/outputs.ts b/src/generated/forge-mcp/ssl/universal/settings/outputs.ts index b6b8dc2a7..e0afc5bb3 100644 --- a/src/generated/forge-mcp/ssl/universal/settings/outputs.ts +++ b/src/generated/forge-mcp/ssl/universal/settings/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_enabled-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_enabled$$2: JsonSchema = { - "type": "boolean" -}; - /** * The schema of * `tls-certificates-and-hostnames_ssl_universal_settings_response` in @@ -37,7 +30,7 @@ export const tls$$certificates$$and$$hostnames_ssl_universal_settings_response: export const tls$$certificates$$and$$hostnames_universal: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-2" + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/ssl/universal/settings/schemas.ts b/src/generated/forge-mcp/ssl/universal/settings/schemas.ts index dc1c053ae..4d820fdde 100644 --- a/src/generated/forge-mcp/ssl/universal/settings/schemas.ts +++ b/src/generated/forge-mcp/ssl/universal/settings/schemas.ts @@ -3,22 +3,14 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_enabled-2`. - */ -export const tls$$certificates$$and$$hostnames_enabled$$2: JsonSchema = { - "description": "Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.\n\nBy disabling Universal SSL, you understand that the following Cloudflare settings and preferences will result in visitors being unable to visit your domain unless you have uploaded a custom certificate or purchased an advanced certificate.\n\n* HSTS\n* Always Use HTTPS\n* Opportunistic Encryption\n* Onion Routing\n* Any Page Rules redirecting traffic to HTTPS\n\nSimilarly, any HTTP redirect to HTTPS at the origin while the Cloudflare proxy is enabled will result in users being unable to visit your site without a valid certificate at Cloudflare's edge.\n\nIf you do not have a valid custom or advanced certificate at Cloudflare's edge and are unsure if any of the above Cloudflare settings are enabled, or if any HTTP redirects exist at your origin, we advise leaving Universal SSL enabled for your domain.", - "type": "boolean" -}; - /** * The schema of `tls-certificates-and-hostnames_universal`. */ export const tls$$certificates$$and$$hostnames_universal: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/tls-certificates-and-hostnames_enabled-2", - "description": "Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.\n\nBy disabling Universal SSL, you understand that the following Cloudflare settings and preferences will result in visitors being unable to visit your domain unless you have uploaded a custom certificate or purchased an advanced certificate.\n\n* HSTS\n* Always Use HTTPS\n* Opportunistic Encryption\n* Onion Routing\n* Any Page Rules redirecting traffic to HTTPS\n\nSimilarly, any HTTP redirect to HTTPS at the origin while the Cloudflare proxy is enabled will result in users being unable to visit your site without a valid certificate at Cloudflare's edge.\n\nIf you do not have a valid custom or advanced certificate at Cloudflare's edge and are unsure if any of the above Cloudflare settings are enabled, or if any HTTP redirects exist at your origin, we advise leaving Universal SSL enabled for your domain." + "description": "Disabling Universal SSL removes any currently active Universal SSL certificates for your zone from the edge and prevents any future Universal SSL certificates from being ordered. If there are no advanced certificates or custom certificates uploaded for the domain, visitors will be unable to access the domain over HTTPS.\n\nBy disabling Universal SSL, you understand that the following Cloudflare settings and preferences will result in visitors being unable to visit your domain unless you have uploaded a custom certificate or purchased an advanced certificate.\n\n* HSTS\n* Always Use HTTPS\n* Opportunistic Encryption\n* Onion Routing\n* Any Page Rules redirecting traffic to HTTPS\n\nSimilarly, any HTTP redirect to HTTPS at the origin while the Cloudflare proxy is enabled will result in users being unable to visit your site without a valid certificate at Cloudflare's edge.\n\nIf you do not have a valid custom or advanced certificate at Cloudflare's edge and are unsure if any of the above Cloudflare settings are enabled, or if any HTTP redirects exist at your origin, we advise leaving Universal SSL enabled for your domain.", + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/ssl/universal/settings/tools.ts b/src/generated/forge-mcp/ssl/universal/settings/tools.ts index 2c392ed48..206728738 100644 --- a/src/generated/forge-mcp/ssl/universal/settings/tools.ts +++ b/src/generated/forge-mcp/ssl/universal/settings/tools.ts @@ -7,16 +7,11 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../schemas.js"; import { - tls$$certificates$$and$$hostnames_enabled$$2, tls$$certificates$$and$$hostnames_ssl_universal_settings_response, tls$$certificates$$and$$hostnames_universal, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_enabled$$2 as tls$$certificates$$and$$hostnames_enabled$$2$, - tls$$certificates$$and$$hostnames_universal as tls$$certificates$$and$$hostnames_universal$, -} from "./schemas.js"; +import { tls$$certificates$$and$$hostnames_universal as tls$$certificates$$and$$hostnames_universal$ } from "./schemas.js"; /** * The tools of `ssl.universal.settings`. @@ -25,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "ssl_universal_settings_edit", title: "Edit Universal SSL Settings", - description: "Patch Universal SSL Settings for a Zone.", + description: "Patch Universal SSL Settings for a Zone.\n\nPATCH /zones/{zone_id}/ssl/universal/settings", inputSchema: { type: "object", properties: { @@ -33,10 +28,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/tls-certificates-and-hostnames_universal" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -49,9 +45,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal$, }, }, @@ -59,7 +54,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_universal_settings_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ssl_universal_settings_response": tls$$certificates$$and$$hostnames_ssl_universal_settings_response, "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal, @@ -110,7 +104,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ssl_universal_settings_response": tls$$certificates$$and$$hostnames_ssl_universal_settings_response, "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal, @@ -124,15 +117,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_universal_settings_get", title: "Universal SSL Settings Details", - description: "Get Universal SSL Settings for a Zone.", + description: "Get Universal SSL Settings for a Zone.\n\nGET /zones/{zone_id}/ssl/universal/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -144,15 +138,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_universal_settings_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ssl_universal_settings_response": tls$$certificates$$and$$hostnames_ssl_universal_settings_response, "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal, @@ -203,7 +194,6 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_enabled-2": tls$$certificates$$and$$hostnames_enabled$$2, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ssl_universal_settings_response": tls$$certificates$$and$$hostnames_ssl_universal_settings_response, "tls-certificates-and-hostnames_universal": tls$$certificates$$and$$hostnames_universal, diff --git a/src/generated/forge-mcp/ssl/verification/outputs.ts b/src/generated/forge-mcp/ssl/verification/outputs.ts index 24a1c76ab..a72f848f5 100644 --- a/src/generated/forge-mcp/ssl/verification/outputs.ts +++ b/src/generated/forge-mcp/ssl/verification/outputs.ts @@ -3,49 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_brand_check` in responses. - */ -export const tls$$certificates$$and$$hostnames_brand_check: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `tls-certificates-and-hostnames_cert_pack_uuid` in responses. - */ -export const tls$$certificates$$and$$hostnames_cert_pack_uuid: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_certificate_status` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_certificate_status: JsonSchema = { - "enum": [ - "initializing", - "authorizing", - "active", - "expired", - "issuing", - "timing_out", - "pending_deployment" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_signature-2` in responses. - */ -export const tls$$certificates$$and$$hostnames_signature$$2: JsonSchema = { - "enum": [ - "ECDSAWithSHA256", - "SHA1WithRSA", - "SHA256WithRSA" - ], - "type": "string" -}; - /** * The schema of * `tls-certificates-and-hostnames_ssl_validation_method_response_collection` in @@ -61,10 +18,16 @@ export const tls$$certificates$$and$$hostnames_ssl_validation_method_response_co "result": { "properties": { "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-6" + "type": "string" }, "validation_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method_definition" + "enum": [ + "http", + "cname", + "txt", + "email" + ], + "type": "string" } }, "type": "object" @@ -92,68 +55,57 @@ export const tls$$certificates$$and$$hostnames_ssl_verification_response_collect "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_status-6` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$6: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_validation_method-2` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_validation_method$$2: JsonSchema = { - "enum": [ - "http", - "cname", - "txt" - ], - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_validation_method_definition` - * in responses. - */ -export const tls$$certificates$$and$$hostnames_validation_method_definition: JsonSchema = { - "enum": [ - "http", - "cname", - "txt", - "email" - ], - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_verification` in responses. */ export const tls$$certificates$$and$$hostnames_verification: JsonSchema = { "properties": { "brand_check": { - "$ref": "#/$defs/tls-certificates-and-hostnames_brand_check" + "type": "boolean" }, "cert_pack_uuid": { - "$ref": "#/$defs/tls-certificates-and-hostnames_cert_pack_uuid" + "type": "string" }, "certificate_status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_certificate_status" + "enum": [ + "initializing", + "authorizing", + "active", + "expired", + "issuing", + "timing_out", + "pending_deployment" + ], + "type": "string" }, "signature": { - "$ref": "#/$defs/tls-certificates-and-hostnames_signature-2" + "enum": [ + "ECDSAWithSHA256", + "SHA1WithRSA", + "SHA256WithRSA" + ], + "type": "string" }, "validation_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method-2" + "enum": [ + "http", + "cname", + "txt" + ], + "type": "string" }, "verification_info": { "$ref": "#/$defs/tls-certificates-and-hostnames_verification_info" }, "verification_status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_verification_status" + "type": "boolean" }, "verification_type": { - "$ref": "#/$defs/tls-certificates-and-hostnames_verification_type" + "enum": [ + "cname", + "meta tag" + ], + "type": "string" } }, "required": [ @@ -189,23 +141,3 @@ export const tls$$certificates$$and$$hostnames_verification_info: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `tls-certificates-and-hostnames_verification_status` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_verification_status: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `tls-certificates-and-hostnames_verification_type` in - * responses. - */ -export const tls$$certificates$$and$$hostnames_verification_type: JsonSchema = { - "enum": [ - "cname", - "meta tag" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/verification/schemas.ts b/src/generated/forge-mcp/ssl/verification/schemas.ts index 3416110ea..6afed1c81 100644 --- a/src/generated/forge-mcp/ssl/verification/schemas.ts +++ b/src/generated/forge-mcp/ssl/verification/schemas.ts @@ -3,22 +3,20 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_cert_pack_uuid`. - */ -export const tls$$certificates$$and$$hostnames_cert_pack_uuid: JsonSchema = { - "description": "Certificate Pack UUID.", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_validation_method-3`. */ export const tls$$certificates$$and$$hostnames_validation_method$$3: JsonSchema = { "properties": { "validation_method": { - "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method_definition", - "description": "Desired validation method." + "description": "Desired validation method.", + "enum": [ + "http", + "cname", + "txt", + "email" + ], + "type": "string" } }, "required": [ @@ -26,17 +24,3 @@ export const tls$$certificates$$and$$hostnames_validation_method$$3: JsonSchema ], "type": "object" }; - -/** - * The schema of `tls-certificates-and-hostnames_validation_method_definition`. - */ -export const tls$$certificates$$and$$hostnames_validation_method_definition: JsonSchema = { - "description": "Desired validation method.", - "enum": [ - "http", - "cname", - "txt", - "email" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/ssl/verification/tools.ts b/src/generated/forge-mcp/ssl/verification/tools.ts index c5f5697c2..bb0bc40bb 100644 --- a/src/generated/forge-mcp/ssl/verification/tools.ts +++ b/src/generated/forge-mcp/ssl/verification/tools.ts @@ -7,27 +7,13 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../schemas.js"; import { - tls$$certificates$$and$$hostnames_brand_check, - tls$$certificates$$and$$hostnames_cert_pack_uuid, - tls$$certificates$$and$$hostnames_certificate_status, - tls$$certificates$$and$$hostnames_signature$$2, tls$$certificates$$and$$hostnames_ssl_validation_method_response_collection, tls$$certificates$$and$$hostnames_ssl_verification_response_collection, - tls$$certificates$$and$$hostnames_status$$6, - tls$$certificates$$and$$hostnames_validation_method$$2, - tls$$certificates$$and$$hostnames_validation_method_definition, tls$$certificates$$and$$hostnames_verification, tls$$certificates$$and$$hostnames_verification_info, - tls$$certificates$$and$$hostnames_verification_status, - tls$$certificates$$and$$hostnames_verification_type, } from "./outputs.js"; -import { - tls$$certificates$$and$$hostnames_cert_pack_uuid as tls$$certificates$$and$$hostnames_cert_pack_uuid$, - tls$$certificates$$and$$hostnames_validation_method$$3, - tls$$certificates$$and$$hostnames_validation_method_definition as tls$$certificates$$and$$hostnames_validation_method_definition$, -} from "./schemas.js"; +import { tls$$certificates$$and$$hostnames_validation_method$$3 } from "./schemas.js"; /** * The tools of `ssl.verification`. @@ -36,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "ssl_verification_edit", title: "Edit SSL Certificate Pack Validation Method", - description: "Edit SSL validation method for a certificate pack. A PATCH request will request an immediate validation check on any certificate, and return the updated status. If a validation method is provided, the validation will be immediately attempted using that method.", + description: "Edit SSL validation method for a certificate pack. A PATCH request will request an immediate validation check on any certificate, and return the updated status. If a validation method is provided, the validation will be immediately attempted using that method.\n\nPATCH /zones/{zone_id}/ssl/verification/{certificate_pack_id}", inputSchema: { type: "object", properties: { @@ -44,14 +30,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/tls-certificates-and-hostnames_validation_method-3" }, "path": { + "additionalProperties": false, "properties": { "certificate_pack_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_cert_pack_uuid", - "description": "Certificate Pack UUID." + "description": "Certificate Pack UUID.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -65,11 +52,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_cert_pack_uuid": tls$$certificates$$and$$hostnames_cert_pack_uuid$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, "tls-certificates-and-hostnames_validation_method-3": tls$$certificates$$and$$hostnames_validation_method$$3, - "tls-certificates-and-hostnames_validation_method_definition": tls$$certificates$$and$$hostnames_validation_method_definition$, }, }, outputSchema: { @@ -78,8 +63,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ssl_validation_method_response_collection": tls$$certificates$$and$$hostnames_ssl_validation_method_response_collection, - "tls-certificates-and-hostnames_status-6": tls$$certificates$$and$$hostnames_status$$6, - "tls-certificates-and-hostnames_validation_method_definition": tls$$certificates$$and$$hostnames_validation_method_definition, }, }, annotations: { @@ -132,8 +115,6 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_ssl_validation_method_response_collection": tls$$certificates$$and$$hostnames_ssl_validation_method_response_collection, - "tls-certificates-and-hostnames_status-6": tls$$certificates$$and$$hostnames_status$$6, - "tls-certificates-and-hostnames_validation_method_definition": tls$$certificates$$and$$hostnames_validation_method_definition, }, }, request: (args) => ({ @@ -144,15 +125,16 @@ export const tools: readonly Tool[] = [ { name: "ssl_verification_get", title: "SSL Verification Details", - description: "Get SSL Verification Info for a Zone.", + description: "Get SSL Verification Info for a Zone.\n\nGET /zones/{zone_id}/ssl/verification", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -161,6 +143,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "retry": { "description": "Immediately retry SSL Verification.", @@ -176,23 +159,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_ssl_verification_response_collection", $defs: { - "tls-certificates-and-hostnames_brand_check": tls$$certificates$$and$$hostnames_brand_check, - "tls-certificates-and-hostnames_cert_pack_uuid": tls$$certificates$$and$$hostnames_cert_pack_uuid, - "tls-certificates-and-hostnames_certificate_status": tls$$certificates$$and$$hostnames_certificate_status, - "tls-certificates-and-hostnames_signature-2": tls$$certificates$$and$$hostnames_signature$$2, "tls-certificates-and-hostnames_ssl_verification_response_collection": tls$$certificates$$and$$hostnames_ssl_verification_response_collection, - "tls-certificates-and-hostnames_validation_method-2": tls$$certificates$$and$$hostnames_validation_method$$2, "tls-certificates-and-hostnames_verification": tls$$certificates$$and$$hostnames_verification, "tls-certificates-and-hostnames_verification_info": tls$$certificates$$and$$hostnames_verification_info, - "tls-certificates-and-hostnames_verification_status": tls$$certificates$$and$$hostnames_verification_status, - "tls-certificates-and-hostnames_verification_type": tls$$certificates$$and$$hostnames_verification_type, }, }, annotations: { @@ -241,17 +215,10 @@ export const tools: readonly Tool[] = [ }, $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_brand_check": tls$$certificates$$and$$hostnames_brand_check, - "tls-certificates-and-hostnames_cert_pack_uuid": tls$$certificates$$and$$hostnames_cert_pack_uuid, - "tls-certificates-and-hostnames_certificate_status": tls$$certificates$$and$$hostnames_certificate_status, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, - "tls-certificates-and-hostnames_signature-2": tls$$certificates$$and$$hostnames_signature$$2, "tls-certificates-and-hostnames_ssl_verification_response_collection": tls$$certificates$$and$$hostnames_ssl_verification_response_collection, - "tls-certificates-and-hostnames_validation_method-2": tls$$certificates$$and$$hostnames_validation_method$$2, "tls-certificates-and-hostnames_verification": tls$$certificates$$and$$hostnames_verification, "tls-certificates-and-hostnames_verification_info": tls$$certificates$$and$$hostnames_verification_info, - "tls-certificates-and-hostnames_verification_status": tls$$certificates$$and$$hostnames_verification_status, - "tls-certificates-and-hostnames_verification_type": tls$$certificates$$and$$hostnames_verification_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/keys/outputs.ts b/src/generated/forge-mcp/stream/keys/outputs.ts index 565f71521..ffcfcc3cb 100644 --- a/src/generated/forge-mcp/stream/keys/outputs.ts +++ b/src/generated/forge-mcp/stream/keys/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `stream_jwk` in responses. - */ -export const stream_jwk: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_key_generation_response` in responses. */ @@ -43,10 +36,11 @@ export const stream_key_response_collection: JsonSchema = { "items": { "properties": { "created": { - "$ref": "#/$defs/stream_signing_key_created" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/stream_identifier-2" + "type": "string" }, "key_id": { "type": "string" @@ -68,32 +62,18 @@ export const stream_key_response_collection: JsonSchema = { export const stream_keys: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/stream_signing_key_created" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/stream_identifier-2" + "type": "string" }, "jwk": { - "$ref": "#/$defs/stream_jwk" + "type": "string" }, "pem": { - "$ref": "#/$defs/stream_pem" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `stream_pem` in responses. - */ -export const stream_pem: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_signing_key_created` in responses. - */ -export const stream_signing_key_created: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/stream/keys/tools.ts b/src/generated/forge-mcp/stream/keys/tools.ts index 69e6eae53..a2935b729 100644 --- a/src/generated/forge-mcp/stream/keys/tools.ts +++ b/src/generated/forge-mcp/stream/keys/tools.ts @@ -7,17 +7,12 @@ import { stream_api$$response$$common$$failure, stream_api$$response$$single, stream_deleted_response, - stream_identifier$$2, stream_messages, } from "../outputs.js"; -import { stream_identifier$$2 as stream_identifier$$2$ } from "../schemas.js"; import { - stream_jwk, stream_key_generation_response, stream_key_response_collection, stream_keys, - stream_pem, - stream_signing_key_created, } from "./outputs.js"; /** @@ -27,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "stream_keys_create", title: "Create signing keys", - description: "Creates an RSA private key in PEM and JWK formats. Key files are only displayed once after creation. Keys are created, used, and deleted independently of videos, and every key can sign any video.", + description: "Creates an RSA private key in PEM and JWK formats. Key files are only displayed once after creation. Keys are created, used, and deleted independently of videos, and every key can sign any video.\n\nPOST /accounts/{account_id}/stream/keys", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -47,21 +43,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_key_generation_response", $defs: { "stream_api-response-common": stream_api$$response$$common, - "stream_identifier-2": stream_identifier$$2, - "stream_jwk": stream_jwk, "stream_key_generation_response": stream_key_generation_response, "stream_keys": stream_keys, "stream_messages": stream_messages, - "stream_pem": stream_pem, - "stream_signing_key_created": stream_signing_key_created, }, }, annotations: { @@ -90,13 +80,9 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common": stream_api$$response$$common, "stream_api-response-common-failure": stream_api$$response$$common$$failure, - "stream_identifier-2": stream_identifier$$2, - "stream_jwk": stream_jwk, "stream_key_generation_response": stream_key_generation_response, "stream_keys": stream_keys, "stream_messages": stream_messages, - "stream_pem": stream_pem, - "stream_signing_key_created": stream_signing_key_created, }, }, request: (args) => ({ @@ -106,19 +92,20 @@ export const tools: readonly Tool[] = [ { name: "stream_keys_delete", title: "Delete signing keys", - description: "Deletes signing keys and revokes all signed URLs generated with the key.\n\nConfirm with the user before calling this tool. Permanently delete signing key? All tokens created with this key will become unauthorized!", + description: "Deletes signing keys and revokes all signed URLs generated with the key.\n\nConfirm with the user before calling this tool. Permanently delete signing key? All tokens created with this key will become unauthorized!\n\nDELETE /accounts/{account_id}/stream/keys/{identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -131,9 +118,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_deleted_response", @@ -180,15 +165,16 @@ export const tools: readonly Tool[] = [ { name: "stream_keys_list", title: "List signing keys", - description: "Lists the video ID and creation date and time when a signing key was created.", + description: "Lists the video ID and creation date and time when a signing key was created.\n\nGET /accounts/{account_id}/stream/keys", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -200,18 +186,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_key_response_collection", $defs: { "stream_api-response-common": stream_api$$response$$common, - "stream_identifier-2": stream_identifier$$2, "stream_key_response_collection": stream_key_response_collection, "stream_messages": stream_messages, - "stream_signing_key_created": stream_signing_key_created, }, }, annotations: { @@ -241,10 +223,8 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common": stream_api$$response$$common, "stream_api-response-common-failure": stream_api$$response$$common$$failure, - "stream_identifier-2": stream_identifier$$2, "stream_key_response_collection": stream_key_response_collection, "stream_messages": stream_messages, - "stream_signing_key_created": stream_signing_key_created, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs.ts b/src/generated/forge-mcp/stream/liveInputs/outputs.ts index 39bbf22e3..4d0ed0c90 100644 --- a/src/generated/forge-mcp/stream/liveInputs/outputs.ts +++ b/src/generated/forge-mcp/stream/liveInputs/outputs.ts @@ -9,115 +9,83 @@ import type { JsonSchema } from "../../_/tool.js"; export const stream_input_rtmps: JsonSchema = { "properties": { "streamKey": { - "$ref": "#/$defs/stream_input_rtmps_stream_key" + "type": "string" }, "url": { - "$ref": "#/$defs/stream_input_rtmps_url" + "type": "string" } }, "type": "object" }; -/** - * The schema of `stream_input_rtmps_stream_key` in responses. - */ -export const stream_input_rtmps_stream_key: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_input_rtmps_url` in responses. - */ -export const stream_input_rtmps_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_input_srt` in responses. */ export const stream_input_srt: JsonSchema = { "properties": { "passphrase": { - "$ref": "#/$defs/stream_input_srt_stream_passphrase" + "type": "string" }, "streamId": { - "$ref": "#/$defs/stream_input_srt_stream_id" + "type": "string" }, "url": { - "$ref": "#/$defs/stream_input_srt_url" + "type": "string" } }, "type": "object" }; -/** - * The schema of `stream_input_srt_stream_id` in responses. - */ -export const stream_input_srt_stream_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_input_srt_stream_passphrase` in responses. - */ -export const stream_input_srt_stream_passphrase: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_input_srt_url` in responses. - */ -export const stream_input_srt_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_input_webrtc` in responses. */ export const stream_input_webrtc: JsonSchema = { "properties": { "url": { - "$ref": "#/$defs/stream_input_webrtc_url" + "type": "string" } }, "type": "object" }; -/** - * The schema of `stream_input_webrtc_url` in responses. - */ -export const stream_input_webrtc_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_live_input` in responses. */ export const stream_live_input: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/stream_live_input_created" + "format": "date-time", + "type": "string" }, "deleteRecordingAfterDays": { - "$ref": "#/$defs/stream_live_input_recording_deletion" + "type": "number" }, "enabled": { - "$ref": "#/$defs/stream_live_input_enabled" + "type": "boolean" }, "keysRotatedAt": { - "$ref": "#/$defs/stream_live_input_keys_rotated_at" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "meta": { "$ref": "#/$defs/stream_live_input_metadata" }, "modified": { - "$ref": "#/$defs/stream_live_input_modified" + "format": "date-time", + "type": "string" }, "playback": { "$ref": "#/$defs/stream_live_input_playback" }, "preferLowLatency": { - "$ref": "#/$defs/stream_live_input_prefer_low_latency" + "type": "boolean" }, "recording": { "$ref": "#/$defs/stream_live_input_recording_settings" @@ -135,10 +103,27 @@ export const stream_live_input: JsonSchema = { "$ref": "#/$defs/stream_playback_srt" }, "status": { - "$ref": "#/$defs/stream_live_input_status" + "oneOf": [ + { + "enum": [ + "connected", + "reconnected", + "reconnecting", + "client_disconnect", + "ttl_exceeded", + "failed_to_connect", + "failed_to_reconnect", + "new_configuration_accepted" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "uid": { - "$ref": "#/$defs/stream_live_input_identifier" + "type": "string" }, "webRTC": { "$ref": "#/$defs/stream_input_webrtc" @@ -150,43 +135,6 @@ export const stream_live_input: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_live_input_created` in responses. - */ -export const stream_live_input_created: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_live_input_enabled` in responses. - */ -export const stream_live_input_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `stream_live_input_identifier` in responses. - */ -export const stream_live_input_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_live_input_keys_rotated_at` in responses. - */ -export const stream_live_input_keys_rotated_at: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `stream_live_input_metadata` in responses. */ @@ -194,36 +142,30 @@ export const stream_live_input_metadata: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_live_input_modified` in responses. - */ -export const stream_live_input_modified: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `stream_live_input_object_without_url` in responses. */ export const stream_live_input_object_without_url: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/stream_live_input_created" + "format": "date-time", + "type": "string" }, "deleteRecordingAfterDays": { - "$ref": "#/$defs/stream_live_input_recording_deletion" + "type": "number" }, "enabled": { - "$ref": "#/$defs/stream_live_input_enabled" + "type": "boolean" }, "meta": { "$ref": "#/$defs/stream_live_input_metadata" }, "modified": { - "$ref": "#/$defs/stream_live_input_modified" + "format": "date-time", + "type": "string" }, "uid": { - "$ref": "#/$defs/stream_live_input_identifier" + "type": "string" } }, "type": "object" @@ -235,10 +177,10 @@ export const stream_live_input_object_without_url: JsonSchema = { export const stream_live_input_playback: JsonSchema = { "properties": { "dash": { - "$ref": "#/$defs/stream_playback_dash_url" + "type": "string" }, "hls": { - "$ref": "#/$defs/stream_playback_hls_url" + "type": "string" } }, "required": [ @@ -248,13 +190,6 @@ export const stream_live_input_playback: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_live_input_prefer_low_latency` in responses. - */ -export const stream_live_input_prefer_low_latency: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `stream_live_input_recording_allowedOrigins` in responses. */ @@ -265,38 +200,6 @@ export const stream_live_input_recording_allowedOrigins: JsonSchema = { "type": "array" }; -/** - * The schema of `stream_live_input_recording_deletion` in responses. - */ -export const stream_live_input_recording_deletion: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `stream_live_input_recording_hideLiveViewerCount` in responses. - */ -export const stream_live_input_recording_hideLiveViewerCount: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `stream_live_input_recording_mode` in responses. - */ -export const stream_live_input_recording_mode: JsonSchema = { - "enum": [ - "off", - "automatic" - ], - "type": "string" -}; - -/** - * The schema of `stream_live_input_recording_requireSignedURLs` in responses. - */ -export const stream_live_input_recording_requireSignedURLs: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `stream_live_input_recording_settings` in responses. */ @@ -306,28 +209,25 @@ export const stream_live_input_recording_settings: JsonSchema = { "$ref": "#/$defs/stream_live_input_recording_allowedOrigins" }, "hideLiveViewerCount": { - "$ref": "#/$defs/stream_live_input_recording_hideLiveViewerCount" + "type": "boolean" }, "mode": { - "$ref": "#/$defs/stream_live_input_recording_mode" + "enum": [ + "off", + "automatic" + ], + "type": "string" }, "requireSignedURLs": { - "$ref": "#/$defs/stream_live_input_recording_requireSignedURLs" + "type": "boolean" }, "timeoutSeconds": { - "$ref": "#/$defs/stream_live_input_recording_timeoutSeconds" + "type": "integer" } }, "type": "object" }; -/** - * The schema of `stream_live_input_recording_timeoutSeconds` in responses. - */ -export const stream_live_input_recording_timeoutSeconds: JsonSchema = { - "type": "integer" -}; - /** * The schema of `stream_live_input_response_collection` in responses. */ @@ -380,127 +280,47 @@ export const stream_live_input_response_single: JsonSchema = { ] }; -/** - * The schema of `stream_live_input_status` in responses. - */ -export const stream_live_input_status: JsonSchema = { - "oneOf": [ - { - "enum": [ - "connected", - "reconnected", - "reconnecting", - "client_disconnect", - "ttl_exceeded", - "failed_to_connect", - "failed_to_reconnect", - "new_configuration_accepted" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `stream_playback_dash_url` in responses. - */ -export const stream_playback_dash_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_playback_hls_url` in responses. - */ -export const stream_playback_hls_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_playback_rtmps` in responses. */ export const stream_playback_rtmps: JsonSchema = { "properties": { "streamKey": { - "$ref": "#/$defs/stream_playback_rtmps_stream_key" + "type": "string" }, "url": { - "$ref": "#/$defs/stream_playback_rtmps_url" + "type": "string" } }, "type": "object" }; -/** - * The schema of `stream_playback_rtmps_stream_key` in responses. - */ -export const stream_playback_rtmps_stream_key: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_playback_rtmps_url` in responses. - */ -export const stream_playback_rtmps_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_playback_srt` in responses. */ export const stream_playback_srt: JsonSchema = { "properties": { "passphrase": { - "$ref": "#/$defs/stream_playback_srt_stream_passphrase" + "type": "string" }, "streamId": { - "$ref": "#/$defs/stream_playback_srt_stream_id" + "type": "string" }, "url": { - "$ref": "#/$defs/stream_playback_srt_url" + "type": "string" } }, "type": "object" }; -/** - * The schema of `stream_playback_srt_stream_id` in responses. - */ -export const stream_playback_srt_stream_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_playback_srt_stream_passphrase` in responses. - */ -export const stream_playback_srt_stream_passphrase: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_playback_srt_url` in responses. - */ -export const stream_playback_srt_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_playback_webrtc` in responses. */ export const stream_playback_webrtc: JsonSchema = { "properties": { "url": { - "$ref": "#/$defs/stream_playback_webrtc_url" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `stream_playback_webrtc_url` in responses. - */ -export const stream_playback_webrtc_url: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts b/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts index 5b9430ba0..4a330170e 100644 --- a/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts +++ b/src/generated/forge-mcp/stream/liveInputs/outputs/outputs.ts @@ -9,35 +9,21 @@ import type { JsonSchema } from "../../../_/tool.js"; export const stream_output: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/stream_output_enabled" + "type": "boolean" }, "streamKey": { - "$ref": "#/$defs/stream_output_streamKey" + "type": "string" }, "uid": { - "$ref": "#/$defs/stream_output_identifier" + "type": "string" }, "url": { - "$ref": "#/$defs/stream_output_url" + "type": "string" } }, "type": "object" }; -/** - * The schema of `stream_output_enabled` in responses. - */ -export const stream_output_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `stream_output_identifier` in responses. - */ -export const stream_output_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_output_response_collection` in responses. */ @@ -78,17 +64,3 @@ export const stream_output_response_single: JsonSchema = { } ] }; - -/** - * The schema of `stream_output_streamKey` in responses. - */ -export const stream_output_streamKey: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_output_url` in responses. - */ -export const stream_output_url: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs/schemas.ts b/src/generated/forge-mcp/stream/liveInputs/outputs/schemas.ts index c15295e46..209b4ba2e 100644 --- a/src/generated/forge-mcp/stream/liveInputs/outputs/schemas.ts +++ b/src/generated/forge-mcp/stream/liveInputs/outputs/schemas.ts @@ -9,17 +9,17 @@ import type { JsonSchema } from "../../../_/tool.js"; export const stream_create_output_request: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/stream_output_enabled", "default": true, - "description": "When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the associated live input. Use this to control precisely when you start and stop simulcasting to specific destinations like YouTube and Twitch." + "description": "When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the associated live input. Use this to control precisely when you start and stop simulcasting to specific destinations like YouTube and Twitch.", + "type": "boolean" }, "streamKey": { - "$ref": "#/$defs/stream_output_streamKey", - "description": "The streamKey used to authenticate against an output's target." + "description": "The streamKey used to authenticate against an output's target.", + "type": "string" }, "url": { - "$ref": "#/$defs/stream_output_url", - "description": "The URL an output uses to restream." + "description": "The URL an output uses to restream.", + "type": "string" } }, "required": [ @@ -29,47 +29,15 @@ export const stream_create_output_request: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_output_enabled`. - */ -export const stream_output_enabled: JsonSchema = { - "description": "When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the associated live input. Use this to control precisely when you start and stop simulcasting to specific destinations like YouTube and Twitch.", - "type": "boolean" -}; - -/** - * The schema of `stream_output_identifier`. - */ -export const stream_output_identifier: JsonSchema = { - "description": "A unique identifier for the output.", - "type": "string" -}; - -/** - * The schema of `stream_output_streamKey`. - */ -export const stream_output_streamKey: JsonSchema = { - "description": "The streamKey used to authenticate against an output's target.", - "type": "string" -}; - -/** - * The schema of `stream_output_url`. - */ -export const stream_output_url: JsonSchema = { - "description": "The URL an output uses to restream.", - "type": "string" -}; - /** * The schema of `stream_update_output_request`. */ export const stream_update_output_request: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/stream_output_enabled", "default": true, - "description": "When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the associated live input. Use this to control precisely when you start and stop simulcasting to specific destinations like YouTube and Twitch." + "description": "When enabled, live video streamed to the associated live input will be sent to the output URL. When disabled, live video will not be sent to the output URL, even when streaming to the associated live input. Use this to control precisely when you start and stop simulcasting to specific destinations like YouTube and Twitch.", + "type": "boolean" } }, "required": [ diff --git a/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts b/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts index 7da4ef5f1..0cbce5b77 100644 --- a/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts +++ b/src/generated/forge-mcp/stream/liveInputs/outputs/tools.ts @@ -8,23 +8,13 @@ import { stream_api$$response$$single, stream_messages, } from "../../outputs.js"; -import { stream_identifier$$2 } from "../../schemas.js"; -import { stream_live_input_identifier } from "../schemas.js"; import { stream_output, - stream_output_enabled, - stream_output_identifier, stream_output_response_collection, stream_output_response_single, - stream_output_streamKey, - stream_output_url, } from "./outputs.js"; import { stream_create_output_request, - stream_output_enabled as stream_output_enabled$, - stream_output_identifier as stream_output_identifier$, - stream_output_streamKey as stream_output_streamKey$, - stream_output_url as stream_output_url$, stream_update_output_request, } from "./schemas.js"; @@ -35,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_outputs_create", title: "Create a new output, connected to a live input", - description: "Creates a new output that can be used to simulcast or restream live video to other RTMP or SRT destinations. Outputs are always linked to a specific live input — one live input can have many outputs.", + description: "Creates a new output that can be used to simulcast or restream live video to other RTMP or SRT destinations. Outputs are always linked to a specific live input — one live input can have many outputs.\n\nPOST /accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs", inputSchema: { type: "object", properties: { @@ -43,14 +33,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_create_output_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" } }, "required": [ @@ -64,13 +55,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "stream_create_output_request": stream_create_output_request, - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_output_enabled": stream_output_enabled$, - "stream_output_streamKey": stream_output_streamKey$, - "stream_output_url": stream_output_url$, }, }, outputSchema: { @@ -79,11 +66,7 @@ export const tools: readonly Tool[] = [ "stream_api-response-single": stream_api$$response$$single, "stream_messages": stream_messages, "stream_output": stream_output, - "stream_output_enabled": stream_output_enabled, - "stream_output_identifier": stream_output_identifier, "stream_output_response_single": stream_output_response_single, - "stream_output_streamKey": stream_output_streamKey, - "stream_output_url": stream_output_url, }, }, annotations: { @@ -109,11 +92,7 @@ export const tools: readonly Tool[] = [ "stream_api-response-single": stream_api$$response$$single, "stream_messages": stream_messages, "stream_output": stream_output, - "stream_output_enabled": stream_output_enabled, - "stream_output_identifier": stream_output_identifier, "stream_output_response_single": stream_output_response_single, - "stream_output_streamKey": stream_output_streamKey, - "stream_output_url": stream_output_url, }, }, request: (args) => ({ @@ -124,23 +103,24 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_outputs_delete", title: "Delete an output", - description: "Deletes an output and removes it from the associated live input.\n\nConfirm with the user before calling this tool. Delete this output? Any active broadcast to this target will be terminated.", + description: "Deletes an output and removes it from the associated live input.\n\nConfirm with the user before calling this tool. Delete this output? Any active broadcast to this target will be terminated.\n\nDELETE /accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs/{output_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" }, "output_identifier": { - "$ref": "#/$defs/stream_output_identifier", - "description": "A unique identifier for the output." + "description": "A unique identifier for the output.", + "type": "string" } }, "required": [ @@ -154,11 +134,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_output_identifier": stream_output_identifier$, - }, + additionalProperties: false, }, outputSchema: { }, @@ -189,19 +165,20 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_outputs_list", title: "List all outputs associated with a specified live input", - description: "Retrieves all outputs associated with a specified live input.", + description: "Retrieves all outputs associated with a specified live input.\n\nGET /accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" } }, "required": [ @@ -214,10 +191,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_identifier": stream_live_input_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_output_response_collection", @@ -225,11 +199,7 @@ export const tools: readonly Tool[] = [ "stream_api-response-common": stream_api$$response$$common, "stream_messages": stream_messages, "stream_output": stream_output, - "stream_output_enabled": stream_output_enabled, - "stream_output_identifier": stream_output_identifier, "stream_output_response_collection": stream_output_response_collection, - "stream_output_streamKey": stream_output_streamKey, - "stream_output_url": stream_output_url, }, }, annotations: { @@ -261,11 +231,7 @@ export const tools: readonly Tool[] = [ "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_messages": stream_messages, "stream_output": stream_output, - "stream_output_enabled": stream_output_enabled, - "stream_output_identifier": stream_output_identifier, "stream_output_response_collection": stream_output_response_collection, - "stream_output_streamKey": stream_output_streamKey, - "stream_output_url": stream_output_url, }, }, request: (args) => ({ @@ -275,7 +241,7 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_outputs_update", title: "Update an output", - description: "Updates the state of an output.", + description: "Updates the state of an output.\n\nPUT /accounts/{account_id}/stream/live_inputs/{live_input_identifier}/outputs/{output_identifier}", inputSchema: { type: "object", properties: { @@ -283,18 +249,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_update_output_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" }, "output_identifier": { - "$ref": "#/$defs/stream_output_identifier", - "description": "A unique identifier for the output." + "description": "A unique identifier for the output.", + "type": "string" } }, "required": [ @@ -309,11 +276,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_output_enabled": stream_output_enabled$, - "stream_output_identifier": stream_output_identifier$, "stream_update_output_request": stream_update_output_request, }, }, @@ -323,11 +287,7 @@ export const tools: readonly Tool[] = [ "stream_api-response-single": stream_api$$response$$single, "stream_messages": stream_messages, "stream_output": stream_output, - "stream_output_enabled": stream_output_enabled, - "stream_output_identifier": stream_output_identifier, "stream_output_response_single": stream_output_response_single, - "stream_output_streamKey": stream_output_streamKey, - "stream_output_url": stream_output_url, }, }, annotations: { @@ -358,11 +318,7 @@ export const tools: readonly Tool[] = [ "stream_api-response-single": stream_api$$response$$single, "stream_messages": stream_messages, "stream_output": stream_output, - "stream_output_enabled": stream_output_enabled, - "stream_output_identifier": stream_output_identifier, "stream_output_response_single": stream_output_response_single, - "stream_output_streamKey": stream_output_streamKey, - "stream_output_url": stream_output_url, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/liveInputs/schemas.ts b/src/generated/forge-mcp/stream/liveInputs/schemas.ts index 05011388f..f84b24998 100644 --- a/src/generated/forge-mcp/stream/liveInputs/schemas.ts +++ b/src/generated/forge-mcp/stream/liveInputs/schemas.ts @@ -9,26 +9,26 @@ import type { JsonSchema } from "../../_/tool.js"; export const stream_create_input_request: JsonSchema = { "properties": { "defaultCreator": { - "$ref": "#/$defs/stream_live_input_default_creator", - "description": "Sets the creator ID asssociated with this live input." + "description": "Sets the creator ID asssociated with this live input.", + "type": "string" }, "deleteRecordingAfterDays": { - "$ref": "#/$defs/stream_live_input_recording_deletion", - "description": "Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion." + "description": "Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion.", + "type": "number" }, "enabled": { - "$ref": "#/$defs/stream_live_input_enabled", "default": true, - "description": "Indicates whether the live input is enabled and can accept streams." + "description": "Indicates whether the live input is enabled and can accept streams.", + "type": "boolean" }, "meta": { "$ref": "#/$defs/stream_live_input_metadata", "description": "A user modifiable key-value store used to reference other systems of record for managing live inputs." }, "preferLowLatency": { - "$ref": "#/$defs/stream_live_input_prefer_low_latency", "default": false, - "description": "When enabled, the live stream is delivered using Low-Latency HLS (LL-HLS), reducing glass-to-glass latency for viewers at the cost of reduced player compatibility." + "description": "When enabled, the live stream is delivered using Low-Latency HLS (LL-HLS), reducing glass-to-glass latency for viewers at the cost of reduced player compatibility.", + "type": "boolean" }, "recording": { "$ref": "#/$defs/stream_live_input_recording_settings", @@ -38,30 +38,6 @@ export const stream_create_input_request: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_live_input_default_creator`. - */ -export const stream_live_input_default_creator: JsonSchema = { - "description": "Sets the creator ID asssociated with this live input.", - "type": "string" -}; - -/** - * The schema of `stream_live_input_enabled`. - */ -export const stream_live_input_enabled: JsonSchema = { - "description": "Indicates whether the live input is enabled and can accept streams.", - "type": "boolean" -}; - -/** - * The schema of `stream_live_input_identifier`. - */ -export const stream_live_input_identifier: JsonSchema = { - "description": "A unique identifier for a live input.", - "type": "string" -}; - /** * The schema of `stream_live_input_metadata`. */ @@ -70,14 +46,6 @@ export const stream_live_input_metadata: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_live_input_prefer_low_latency`. - */ -export const stream_live_input_prefer_low_latency: JsonSchema = { - "description": "When enabled, the live stream is delivered using Low-Latency HLS (LL-HLS), reducing glass-to-glass latency for viewers at the cost of reduced player compatibility.", - "type": "boolean" -}; - /** * The schema of `stream_live_input_recording_allowedOrigins`. */ @@ -89,42 +57,6 @@ export const stream_live_input_recording_allowedOrigins: JsonSchema = { "type": "array" }; -/** - * The schema of `stream_live_input_recording_deletion`. - */ -export const stream_live_input_recording_deletion: JsonSchema = { - "description": "Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion.", - "type": "number" -}; - -/** - * The schema of `stream_live_input_recording_hideLiveViewerCount`. - */ -export const stream_live_input_recording_hideLiveViewerCount: JsonSchema = { - "description": "Disables reporting the number of live viewers when this property is set to `true`.", - "type": "boolean" -}; - -/** - * The schema of `stream_live_input_recording_mode`. - */ -export const stream_live_input_recording_mode: JsonSchema = { - "description": "Specifies the recording behavior for the live input. Set this value to `off` to prevent a recording. Set the value to `automatic` to begin a recording and transition to on-demand after Stream Live stops receiving input.", - "enum": [ - "off", - "automatic" - ], - "type": "string" -}; - -/** - * The schema of `stream_live_input_recording_requireSignedURLs`. - */ -export const stream_live_input_recording_requireSignedURLs: JsonSchema = { - "description": "Indicates if a video using the live input has the `requireSignedURLs` property set. Also enforces access controls on any video recording of the livestream with the live input.", - "type": "boolean" -}; - /** * The schema of `stream_live_input_recording_settings`. */ @@ -136,63 +68,59 @@ export const stream_live_input_recording_settings: JsonSchema = { "description": "Lists the origins allowed to display videos created with this input. Enter allowed origin domains in an array and use `*` for wildcard subdomains. An empty array allows videos to be viewed on any origin." }, "hideLiveViewerCount": { - "$ref": "#/$defs/stream_live_input_recording_hideLiveViewerCount", "default": false, - "description": "Disables reporting the number of live viewers when this property is set to `true`." + "description": "Disables reporting the number of live viewers when this property is set to `true`.", + "type": "boolean" }, "mode": { - "$ref": "#/$defs/stream_live_input_recording_mode", "default": "off", - "description": "Specifies the recording behavior for the live input. Set this value to `off` to prevent a recording. Set the value to `automatic` to begin a recording and transition to on-demand after Stream Live stops receiving input." + "description": "Specifies the recording behavior for the live input. Set this value to `off` to prevent a recording. Set the value to `automatic` to begin a recording and transition to on-demand after Stream Live stops receiving input.", + "enum": [ + "off", + "automatic" + ], + "type": "string" }, "requireSignedURLs": { - "$ref": "#/$defs/stream_live_input_recording_requireSignedURLs", "default": false, - "description": "Indicates if a video using the live input has the `requireSignedURLs` property set. Also enforces access controls on any video recording of the livestream with the live input." + "description": "Indicates if a video using the live input has the `requireSignedURLs` property set. Also enforces access controls on any video recording of the livestream with the live input.", + "type": "boolean" }, "timeoutSeconds": { - "$ref": "#/$defs/stream_live_input_recording_timeoutSeconds", "default": 0, - "description": "Determines the amount of time a live input configured in `automatic` mode should wait before a recording transitions from live to on-demand. `0` is recommended for most use cases and indicates the platform default should be used." + "description": "Determines the amount of time a live input configured in `automatic` mode should wait before a recording transitions from live to on-demand. `0` is recommended for most use cases and indicates the platform default should be used.", + "type": "integer" } }, "type": "object" }; -/** - * The schema of `stream_live_input_recording_timeoutSeconds`. - */ -export const stream_live_input_recording_timeoutSeconds: JsonSchema = { - "description": "Determines the amount of time a live input configured in `automatic` mode should wait before a recording transitions from live to on-demand. `0` is recommended for most use cases and indicates the platform default should be used.", - "type": "integer" -}; - /** * The schema of `stream_update_input_request`. */ export const stream_update_input_request: JsonSchema = { "properties": { "defaultCreator": { - "$ref": "#/$defs/stream_live_input_default_creator", - "description": "Sets the creator ID asssociated with this live input." + "description": "Sets the creator ID asssociated with this live input.", + "type": "string" }, "deleteRecordingAfterDays": { - "$ref": "#/$defs/stream_live_input_recording_deletion", - "description": "Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion." + "description": "Indicates the number of days after which the live inputs recordings will be deleted. When a stream completes and the recording is ready, the value is used to calculate a scheduled deletion date for that recording. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion.", + "type": "number" }, "enabled": { - "$ref": "#/$defs/stream_live_input_enabled", "default": true, - "description": "Indicates whether the live input is enabled and can accept streams." + "description": "Indicates whether the live input is enabled and can accept streams.", + "type": "boolean" }, "meta": { "$ref": "#/$defs/stream_live_input_metadata", "description": "A user modifiable key-value store used to reference other systems of record for managing live inputs." }, "preferLowLatency": { - "$ref": "#/$defs/stream_live_input_prefer_low_latency", "default": false, - "description": "When enabled, the live stream is delivered using Low-Latency HLS (LL-HLS), reducing glass-to-glass latency for viewers at the cost of reduced player compatibility." + "description": "When enabled, the live stream is delivered using Low-Latency HLS (LL-HLS), reducing glass-to-glass latency for viewers at the cost of reduced player compatibility.", + "type": "boolean" }, "recording": { "$ref": "#/$defs/stream_live_input_recording_settings", diff --git a/src/generated/forge-mcp/stream/liveInputs/tools.ts b/src/generated/forge-mcp/stream/liveInputs/tools.ts index a34249d7b..bfa32897d 100644 --- a/src/generated/forge-mcp/stream/liveInputs/tools.ts +++ b/src/generated/forge-mcp/stream/liveInputs/tools.ts @@ -8,63 +8,27 @@ import { stream_api$$response$$single, stream_messages, } from "../outputs.js"; -import { stream_identifier$$2, stream_include_counts } from "../schemas.js"; import { stream_input_rtmps, - stream_input_rtmps_stream_key, - stream_input_rtmps_url, stream_input_srt, - stream_input_srt_stream_id, - stream_input_srt_stream_passphrase, - stream_input_srt_url, stream_input_webrtc, - stream_input_webrtc_url, stream_live_input, - stream_live_input_created, - stream_live_input_enabled, - stream_live_input_identifier, - stream_live_input_keys_rotated_at, stream_live_input_metadata, - stream_live_input_modified, stream_live_input_object_without_url, stream_live_input_playback, - stream_live_input_prefer_low_latency, stream_live_input_recording_allowedOrigins, - stream_live_input_recording_deletion, - stream_live_input_recording_hideLiveViewerCount, - stream_live_input_recording_mode, - stream_live_input_recording_requireSignedURLs, stream_live_input_recording_settings, - stream_live_input_recording_timeoutSeconds, stream_live_input_response_collection, stream_live_input_response_single, - stream_live_input_status, - stream_playback_dash_url, - stream_playback_hls_url, stream_playback_rtmps, - stream_playback_rtmps_stream_key, - stream_playback_rtmps_url, stream_playback_srt, - stream_playback_srt_stream_id, - stream_playback_srt_stream_passphrase, - stream_playback_srt_url, stream_playback_webrtc, - stream_playback_webrtc_url, } from "./outputs.js"; import { stream_create_input_request, - stream_live_input_default_creator, - stream_live_input_enabled as stream_live_input_enabled$, - stream_live_input_identifier as stream_live_input_identifier$, stream_live_input_metadata as stream_live_input_metadata$, - stream_live_input_prefer_low_latency as stream_live_input_prefer_low_latency$, stream_live_input_recording_allowedOrigins as stream_live_input_recording_allowedOrigins$, - stream_live_input_recording_deletion as stream_live_input_recording_deletion$, - stream_live_input_recording_hideLiveViewerCount as stream_live_input_recording_hideLiveViewerCount$, - stream_live_input_recording_mode as stream_live_input_recording_mode$, - stream_live_input_recording_requireSignedURLs as stream_live_input_recording_requireSignedURLs$, stream_live_input_recording_settings as stream_live_input_recording_settings$, - stream_live_input_recording_timeoutSeconds as stream_live_input_recording_timeoutSeconds$, stream_update_input_request, } from "./schemas.js"; @@ -75,7 +39,7 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_create", title: "Create a live input", - description: "Creates a live input, and returns credentials that you or your users can use to stream live video to Cloudflare Stream.", + description: "Creates a live input, and returns credentials that you or your users can use to stream live video to Cloudflare Stream.\n\nPOST /accounts/{account_id}/stream/live_inputs", inputSchema: { type: "object", properties: { @@ -83,6 +47,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_create_input_request" }, "headers": { + "additionalProperties": false, "properties": { "Idempotency-Key": { "description": "Prevents duplicate live inputs from being created when retrying this request. The key is scoped to the account, may contain up to 255 bytes, and expires six hours after the live input is created. Reusing a key for a deleted input before expiry returns a 409 Conflict response.", @@ -92,10 +57,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -108,20 +74,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "stream_create_input_request": stream_create_input_request, - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_default_creator": stream_live_input_default_creator, - "stream_live_input_enabled": stream_live_input_enabled$, "stream_live_input_metadata": stream_live_input_metadata$, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency$, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins$, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion$, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount$, - "stream_live_input_recording_mode": stream_live_input_recording_mode$, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs$, "stream_live_input_recording_settings": stream_live_input_recording_settings$, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds$, }, }, outputSchema: { @@ -129,44 +87,18 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -196,44 +128,18 @@ export const tools: readonly Tool[] = [ "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ @@ -247,19 +153,20 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_delete", title: "Delete a live input", - description: "Permanently delete a live input, making it inaccessible and blocking current and future broadcasts to it. Existing recordings will be retained.\n\nConfirm with the user before calling this tool. Permanently delete this live input? It cannot be recreated.", + description: "Permanently delete a live input, making it inaccessible and blocking current and future broadcasts to it. Existing recordings will be retained.\n\nConfirm with the user before calling this tool. Permanently delete this live input? It cannot be recreated.\n\nDELETE /accounts/{account_id}/stream/live_inputs/{live_input_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" } }, "required": [ @@ -272,10 +179,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_identifier": stream_live_input_identifier$, - }, + additionalProperties: false, }, outputSchema: { }, @@ -306,19 +210,20 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_disable", title: "Disable a live input", - description: "Prevents a live input from being streamed to and terminates any active broadcasts until re-enabled.\n\nConfirm with the user before calling this tool. Disable this live input? Active broadcasts will be terminated and future connections will be blocked until it is re-enabled.", + description: "Prevents a live input from being streamed to and terminates any active broadcasts until re-enabled.\n\nConfirm with the user before calling this tool. Disable this live input? Active broadcasts will be terminated and future connections will be blocked until it is re-enabled.\n\nPOST /accounts/{account_id}/stream/live_inputs/{live_input_identifier}/disable", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" } }, "required": [ @@ -331,54 +236,25 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_identifier": stream_live_input_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_single", $defs: { "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -403,44 +279,18 @@ export const tools: readonly Tool[] = [ "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ @@ -450,19 +300,20 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_enable", title: "Enable a live input", - description: "Allows a disabled live input to start receiving broadcasts again.", + description: "Allows a disabled live input to start receiving broadcasts again.\n\nPOST /accounts/{account_id}/stream/live_inputs/{live_input_identifier}/enable", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" } }, "required": [ @@ -475,54 +326,25 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_identifier": stream_live_input_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_single", $defs: { "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -547,44 +369,18 @@ export const tools: readonly Tool[] = [ "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ @@ -594,19 +390,20 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_get", title: "Retrieve a live input", - description: "Retrieves details of an existing live input.", + description: "Retrieves details of an existing live input.\n\nGET /accounts/{account_id}/stream/live_inputs/{live_input_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" } }, "required": [ @@ -619,54 +416,25 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_identifier": stream_live_input_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_single", $defs: { "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -697,44 +465,18 @@ export const tools: readonly Tool[] = [ "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ @@ -744,15 +486,16 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_list", title: "List live inputs", - description: "Lists the live inputs created for an account. To get the credentials needed to stream to a specific live input, request a single live input.", + description: "Lists the live inputs created for an account. To get the credentials needed to stream to a specific live input, request a single live input.\n\nGET /accounts/{account_id}/stream/live_inputs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -761,11 +504,12 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_counts": { - "$ref": "#/$defs/stream_include_counts", "default": false, - "description": "Includes the total number of videos associated with the submitted query parameters." + "description": "Includes the total number of videos associated with the submitted query parameters.", + "type": "boolean" } }, "type": "object" @@ -774,22 +518,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_include_counts": stream_include_counts, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_collection", $defs: { "stream_api-response-common": stream_api$$response$$common, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_object_without_url": stream_live_input_object_without_url, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, "stream_live_input_response_collection": stream_live_input_response_collection, "stream_messages": stream_messages, }, @@ -821,13 +557,8 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common": stream_api$$response$$common, "stream_api-response-common-failure": stream_api$$response$$common$$failure, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_object_without_url": stream_live_input_object_without_url, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, "stream_live_input_response_collection": stream_live_input_response_collection, "stream_messages": stream_messages, }, @@ -842,19 +573,20 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_rotateKeys", title: "Rotate keys for a live input", - description: "Rotates the credentials for a live input without changing its identifier. Old credentials are revoked, broadcasts using stale credentials are automatically disconnected shortly after rotation, and the response returns refreshed credentials.\n\nConfirm with the user before calling this tool. Rotate keys for this live input? Active broadcasts will be terminated. New broadcasts cannot start with outdated credentials.", + description: "Rotates the credentials for a live input without changing its identifier. Old credentials are revoked, broadcasts using stale credentials are automatically disconnected shortly after rotation, and the response returns refreshed credentials.\n\nConfirm with the user before calling this tool. Rotate keys for this live input? Active broadcasts will be terminated. New broadcasts cannot start with outdated credentials.\n\nPOST /accounts/{account_id}/stream/live_inputs/{live_input_identifier}/rotate_keys", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" } }, "required": [ @@ -867,54 +599,25 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_identifier": stream_live_input_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_live_input_response_single", $defs: { "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -939,44 +642,18 @@ export const tools: readonly Tool[] = [ "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ @@ -986,7 +663,7 @@ export const tools: readonly Tool[] = [ { name: "stream_liveInputs_update", title: "Update a live input", - description: "Updates a specified live input.", + description: "Updates a specified live input.\n\nPUT /accounts/{account_id}/stream/live_inputs/{live_input_identifier}", inputSchema: { type: "object", properties: { @@ -994,14 +671,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_update_input_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "live_input_identifier": { - "$ref": "#/$defs/stream_live_input_identifier", - "description": "A unique identifier for a live input." + "description": "A unique identifier for a live input.", + "type": "string" } }, "required": [ @@ -1015,20 +693,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "stream_identifier-2": stream_identifier$$2, - "stream_live_input_default_creator": stream_live_input_default_creator, - "stream_live_input_enabled": stream_live_input_enabled$, - "stream_live_input_identifier": stream_live_input_identifier$, "stream_live_input_metadata": stream_live_input_metadata$, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency$, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins$, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion$, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount$, - "stream_live_input_recording_mode": stream_live_input_recording_mode$, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs$, "stream_live_input_recording_settings": stream_live_input_recording_settings$, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds$, "stream_update_input_request": stream_update_input_request, }, }, @@ -1037,44 +706,18 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, annotations: { @@ -1104,44 +747,18 @@ export const tools: readonly Tool[] = [ "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, "stream_input_rtmps": stream_input_rtmps, - "stream_input_rtmps_stream_key": stream_input_rtmps_stream_key, - "stream_input_rtmps_url": stream_input_rtmps_url, "stream_input_srt": stream_input_srt, - "stream_input_srt_stream_id": stream_input_srt_stream_id, - "stream_input_srt_stream_passphrase": stream_input_srt_stream_passphrase, - "stream_input_srt_url": stream_input_srt_url, "stream_input_webrtc": stream_input_webrtc, - "stream_input_webrtc_url": stream_input_webrtc_url, "stream_live_input": stream_live_input, - "stream_live_input_created": stream_live_input_created, - "stream_live_input_enabled": stream_live_input_enabled, - "stream_live_input_identifier": stream_live_input_identifier, - "stream_live_input_keys_rotated_at": stream_live_input_keys_rotated_at, "stream_live_input_metadata": stream_live_input_metadata, - "stream_live_input_modified": stream_live_input_modified, "stream_live_input_playback": stream_live_input_playback, - "stream_live_input_prefer_low_latency": stream_live_input_prefer_low_latency, "stream_live_input_recording_allowedOrigins": stream_live_input_recording_allowedOrigins, - "stream_live_input_recording_deletion": stream_live_input_recording_deletion, - "stream_live_input_recording_hideLiveViewerCount": stream_live_input_recording_hideLiveViewerCount, - "stream_live_input_recording_mode": stream_live_input_recording_mode, - "stream_live_input_recording_requireSignedURLs": stream_live_input_recording_requireSignedURLs, "stream_live_input_recording_settings": stream_live_input_recording_settings, - "stream_live_input_recording_timeoutSeconds": stream_live_input_recording_timeoutSeconds, "stream_live_input_response_single": stream_live_input_response_single, - "stream_live_input_status": stream_live_input_status, "stream_messages": stream_messages, - "stream_playback_dash_url": stream_playback_dash_url, - "stream_playback_hls_url": stream_playback_hls_url, "stream_playback_rtmps": stream_playback_rtmps, - "stream_playback_rtmps_stream_key": stream_playback_rtmps_stream_key, - "stream_playback_rtmps_url": stream_playback_rtmps_url, "stream_playback_srt": stream_playback_srt, - "stream_playback_srt_stream_id": stream_playback_srt_stream_id, - "stream_playback_srt_stream_passphrase": stream_playback_srt_stream_passphrase, - "stream_playback_srt_url": stream_playback_srt_url, "stream_playback_webrtc": stream_playback_webrtc, - "stream_playback_webrtc_url": stream_playback_webrtc_url, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/outputs.ts b/src/generated/forge-mcp/stream/outputs.ts index 4c8eb33d3..094560bc7 100644 --- a/src/generated/forge-mcp/stream/outputs.ts +++ b/src/generated/forge-mcp/stream/outputs.ts @@ -85,13 +85,6 @@ export const stream_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_creator` in responses. - */ -export const stream_creator: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_deleted_response` in responses. */ @@ -111,27 +104,6 @@ export const stream_deleted_response: JsonSchema = { ] }; -/** - * The schema of `stream_downloadedFrom` in responses. - */ -export const stream_downloadedFrom: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_height` in responses. - */ -export const stream_height: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `stream_identifier-2` in responses. - */ -export const stream_identifier$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_messages` in responses. */ @@ -165,41 +137,6 @@ export const stream_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `stream_name` in responses. - */ -export const stream_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_opacity` in responses. - */ -export const stream_opacity: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `stream_padding` in responses. - */ -export const stream_padding: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `stream_position` in responses. - */ -export const stream_position: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_scale` in responses. - */ -export const stream_scale: JsonSchema = { - "type": "number" -}; - /** * The schema of `stream_storage_use_response` in responses. */ @@ -213,7 +150,7 @@ export const stream_storage_use_response: JsonSchema = { "result": { "properties": { "creator": { - "$ref": "#/$defs/stream_creator" + "type": "string" }, "totalStorageMinutes": { "type": "number" @@ -233,73 +170,45 @@ export const stream_storage_use_response: JsonSchema = { ] }; -/** - * The schema of `stream_watermark_created` in responses. - */ -export const stream_watermark_created: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_watermark_identifier` in responses. - */ -export const stream_watermark_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_watermark_size` in responses. - */ -export const stream_watermark_size: JsonSchema = { - "type": "number" -}; - /** * The schema of `stream_watermarks` in responses. */ export const stream_watermarks: JsonSchema = { "properties": { "created": { - "$ref": "#/$defs/stream_watermark_created" + "format": "date-time", + "type": "string" }, "downloadedFrom": { - "$ref": "#/$defs/stream_downloadedFrom" + "type": "string" }, "height": { - "$ref": "#/$defs/stream_height" + "type": "integer" }, "name": { - "$ref": "#/$defs/stream_name" + "type": "string" }, "opacity": { - "$ref": "#/$defs/stream_opacity" + "type": "number" }, "padding": { - "$ref": "#/$defs/stream_padding" + "type": "number" }, "position": { - "$ref": "#/$defs/stream_position" + "type": "string" }, "scale": { - "$ref": "#/$defs/stream_scale" + "type": "number" }, "size": { - "$ref": "#/$defs/stream_watermark_size" + "type": "number" }, "uid": { - "$ref": "#/$defs/stream_watermark_identifier" + "type": "string" }, "width": { - "$ref": "#/$defs/stream_width" + "type": "integer" } }, "type": "object" }; - -/** - * The schema of `stream_width` in responses. - */ -export const stream_width: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/stream/schemas.ts b/src/generated/forge-mcp/stream/schemas.ts deleted file mode 100644 index 87db38879..000000000 --- a/src/generated/forge-mcp/stream/schemas.ts +++ /dev/null @@ -1,84 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `stream_account_identifier`. - */ -export const stream_account_identifier: JsonSchema = { - "description": "The account identifier tag.", - "type": "string" -}; - -/** - * The schema of `stream_creator`. - */ -export const stream_creator: JsonSchema = { - "description": "A user-defined identifier for the media creator.", - "type": "string" -}; - -/** - * The schema of `stream_identifier-2`. - */ -export const stream_identifier$$2: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `stream_include_counts`. - */ -export const stream_include_counts: JsonSchema = { - "description": "Includes the total number of videos associated with the submitted query parameters.", - "type": "boolean" -}; - -/** - * The schema of `stream_name`. - */ -export const stream_name: JsonSchema = { - "description": "A short description of the watermark profile.", - "type": "string" -}; - -/** - * The schema of `stream_opacity`. - */ -export const stream_opacity: JsonSchema = { - "description": "The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, setting this to `1.0` will not make the image completely opaque.", - "type": "number" -}; - -/** - * The schema of `stream_padding`. - */ -export const stream_padding: JsonSchema = { - "description": "The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as determined by the algorithm.", - "type": "number" -}; - -/** - * The schema of `stream_position`. - */ -export const stream_position: JsonSchema = { - "description": "The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter.", - "type": "string" -}; - -/** - * The schema of `stream_scale`. - */ -export const stream_scale: JsonSchema = { - "description": "The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the image as-is), and `1.0 `fills the entire video.", - "type": "number" -}; - -/** - * The schema of `stream_watermark_identifier`. - */ -export const stream_watermark_identifier: JsonSchema = { - "description": "The unique identifier for a watermark profile.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/stream/tools.ts b/src/generated/forge-mcp/stream/tools.ts index 210c49c20..7b5054073 100644 --- a/src/generated/forge-mcp/stream/tools.ts +++ b/src/generated/forge-mcp/stream/tools.ts @@ -5,14 +5,9 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { stream_api$$response$$common$$failure, stream_api$$response$$single, - stream_creator, stream_messages, stream_storage_use_response, } from "./outputs.js"; -import { - stream_account_identifier, - stream_creator as stream_creator$, -} from "./schemas.js"; /** * The tools of `stream`. @@ -21,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "stream_storageUsage", title: "Storage use", - description: "Returns information about an account's storage use.", + description: "Returns information about an account's storage use.\n\nGET /accounts/{account_id}/stream/storage-usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -38,10 +34,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "description": "A user-defined identifier for the media creator.", + "type": "string" } }, "type": "object" @@ -50,16 +47,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_creator": stream_creator$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_storage_use_response", $defs: { "stream_api-response-single": stream_api$$response$$single, - "stream_creator": stream_creator, "stream_messages": stream_messages, "stream_storage_use_response": stream_storage_use_response, }, @@ -91,7 +84,6 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_creator": stream_creator, "stream_messages": stream_messages, "stream_storage_use_response": stream_storage_use_response, }, diff --git a/src/generated/forge-mcp/stream/usage/tools.ts b/src/generated/forge-mcp/stream/usage/tools.ts index a97605287..d62000916 100644 --- a/src/generated/forge-mcp/stream/usage/tools.ts +++ b/src/generated/forge-mcp/stream/usage/tools.ts @@ -9,7 +9,6 @@ import { usage$$analytics_stream_usage_data_point, usage$$analytics_stream_usage_response, } from "../../outputs.js"; -import { usage$$analytics_identifier } from "../../schemas.js"; /** * The tools of `stream.usage`. @@ -18,11 +17,12 @@ export const tools: readonly Tool[] = [ { name: "stream_usage_get", title: "Get account or zone Stream usage", - description: "Retrieve Stream usage analytics for an account or zone. Returns time-series data for Stream billable minutes viewed across all zones in the account or zone. The gateway rewrites this path before forwarding to the backend usage handler.\n\nThis method is deprecated.", + description: "Retrieve Stream usage analytics for an account or zone. Returns time-series data for Stream billable minutes viewed across all zones in the account or zone. The gateway rewrites this path before forwarding to the backend usage handler.\n\nThis method is deprecated.\n\nGET /{account_or_zone}/{account_or_zone_id}/stream/usage", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -33,8 +33,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/usage-analytics_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -44,28 +44,29 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "filters": { - "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.\n", + "description": "Filter expressions to apply to the query. Format: field==value. Multiple filters can be combined.", "type": "string" }, "limit": { "default": 100, - "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.\n", + "description": "Maximum number of data points to return. The actual number of results depends on the interaction between the time range (since/until) and time_delta granularity. Results are truncated to this limit without error if the time range produces more data points than the limit allows.", "type": "integer" }, "metrics": { - "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.\n", + "description": "Comma-separated list of metrics to include in the response. Available metrics depend on the endpoint. Billing usage supports: streamMinutesViewed, rateLimitingRequestsAllowed, loadBalancingQueries, argoAcceleratedBytes, workersRequests, workersKVReads, imageResizingRequests, spectrumBytesTransferred, mediaUniqueTransformations. Stream/media usage supports: streamMinutesViewed.", "type": "string" }, "since": { - "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.\n", + "description": "Start of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to 6 hours before the current time.", "format": "date-time", "type": "string" }, "time_delta": { "default": "hour", - "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.\n", + "description": "Time unit to aggregate usage observations into. Data retention is approximately 18 months. The effective number of data points returned depends on the time range and granularity selected. For example, requesting hourly granularity over 18 months could produce up to ~13,000 data points; use the limit parameter to cap results and be aware that responses may be truncated.", "enum": [ "hour", "day", @@ -77,7 +78,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "until": { - "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.\n", + "description": "End of the time range for the query (inclusive). ISO 8601 timestamp. Defaults to the current time.", "format": "date-time", "type": "string" } @@ -88,9 +89,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "usage-analytics_identifier": usage$$analytics_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/usage-analytics_stream_usage_response", diff --git a/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts b/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts index 2acdd0e2e..d3f82d6fd 100644 --- a/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/audioTracks/outputs.ts @@ -28,47 +28,26 @@ export const stream_addAudioTrackResponse: JsonSchema = { export const stream_additionalAudio: JsonSchema = { "properties": { "default": { - "$ref": "#/$defs/stream_audio_default" + "type": "boolean" }, "label": { - "$ref": "#/$defs/stream_audio_label" + "type": "string" }, "status": { - "$ref": "#/$defs/stream_audio_state" + "enum": [ + "queued", + "ready", + "error" + ], + "type": "string" }, "uid": { - "$ref": "#/$defs/stream_identifier" + "type": "string" } }, "type": "object" }; -/** - * The schema of `stream_audio_default` in responses. - */ -export const stream_audio_default: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `stream_audio_label` in responses. - */ -export const stream_audio_label: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_audio_state` in responses. - */ -export const stream_audio_state: JsonSchema = { - "enum": [ - "queued", - "ready", - "error" - ], - "type": "string" -}; - /** * The schema of `stream_listAudioTrackResponse` in responses. */ diff --git a/src/generated/forge-mcp/stream/videos/audioTracks/schemas.ts b/src/generated/forge-mcp/stream/videos/audioTracks/schemas.ts index 3467de21d..e722824a3 100644 --- a/src/generated/forge-mcp/stream/videos/audioTracks/schemas.ts +++ b/src/generated/forge-mcp/stream/videos/audioTracks/schemas.ts @@ -3,38 +3,14 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `stream_audio_default`. - */ -export const stream_audio_default: JsonSchema = { - "description": "Denotes whether the audio track will be played by default in a player.", - "type": "boolean" -}; - -/** - * The schema of `stream_audio_identifier`. - */ -export const stream_audio_identifier: JsonSchema = { - "description": "The unique identifier for an additional audio track.", - "type": "string" -}; - -/** - * The schema of `stream_audio_label`. - */ -export const stream_audio_label: JsonSchema = { - "description": "A string to uniquely identify the track amongst other audio track labels for the specified video.", - "type": "string" -}; - /** * The schema of `stream_copyAudioTrack`. */ export const stream_copyAudioTrack: JsonSchema = { "properties": { "label": { - "$ref": "#/$defs/stream_audio_label", - "description": "A string to uniquely identify the track amongst other audio track labels for the specified video." + "description": "A string to uniquely identify the track amongst other audio track labels for the specified video.", + "type": "string" }, "url": { "description": "An audio track URL. The server must be publicly routable and support `HTTP HEAD` requests and `HTTP GET` range requests. The server should respond to `HTTP HEAD` requests with a `content-range` header that includes the size of the file.", @@ -53,13 +29,13 @@ export const stream_copyAudioTrack: JsonSchema = { export const stream_editAudioTrack: JsonSchema = { "properties": { "default": { - "$ref": "#/$defs/stream_audio_default", "default": false, - "description": "Denotes whether the audio track will be played by default in a player." + "description": "Denotes whether the audio track will be played by default in a player.", + "type": "boolean" }, "label": { - "$ref": "#/$defs/stream_audio_label", - "description": "A string to uniquely identify the track amongst other audio track labels for the specified video." + "description": "A string to uniquely identify the track amongst other audio track labels for the specified video.", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts b/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts index fe453a809..7fe59cedd 100644 --- a/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts +++ b/src/generated/forge-mcp/stream/videos/audioTracks/tools.ts @@ -9,24 +9,12 @@ import { stream_deleted_response, stream_messages, } from "../../outputs.js"; -import { stream_account_identifier } from "../../schemas.js"; -import { stream_identifier } from "../outputs.js"; -import { stream_identifier as stream_identifier$ } from "../schemas.js"; import { stream_addAudioTrackResponse, stream_additionalAudio, - stream_audio_default, - stream_audio_label, - stream_audio_state, stream_listAudioTrackResponse, } from "./outputs.js"; -import { - stream_audio_default as stream_audio_default$, - stream_audio_identifier, - stream_audio_label as stream_audio_label$, - stream_copyAudioTrack, - stream_editAudioTrack, -} from "./schemas.js"; +import { stream_copyAudioTrack, stream_editAudioTrack } from "./schemas.js"; /** * The tools of `stream.videos.audioTracks`. @@ -35,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_audioTracks_copy", title: "Add audio tracks to a video", - description: "Adds an additional audio track to a video using the provided audio track URL.", + description: "Adds an additional audio track to a video using the provided audio track URL.\n\nPOST /accounts/{account_id}/stream/{identifier}/audio/copy", inputSchema: { type: "object", properties: { @@ -43,14 +31,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_copyAudioTrack" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -64,11 +53,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_audio_label": stream_audio_label$, "stream_copyAudioTrack": stream_copyAudioTrack, - "stream_identifier": stream_identifier$, }, }, outputSchema: { @@ -77,10 +64,6 @@ export const tools: readonly Tool[] = [ "stream_addAudioTrackResponse": stream_addAudioTrackResponse, "stream_additionalAudio": stream_additionalAudio, "stream_api-response-common": stream_api$$response$$common, - "stream_audio_default": stream_audio_default, - "stream_audio_label": stream_audio_label, - "stream_audio_state": stream_audio_state, - "stream_identifier": stream_identifier, "stream_messages": stream_messages, }, }, @@ -107,10 +90,6 @@ export const tools: readonly Tool[] = [ "stream_additionalAudio": stream_additionalAudio, "stream_api-response-common": stream_api$$response$$common, "stream_api-response-common-failure": stream_api$$response$$common$$failure, - "stream_audio_default": stream_audio_default, - "stream_audio_label": stream_audio_label, - "stream_audio_state": stream_audio_state, - "stream_identifier": stream_identifier, "stream_messages": stream_messages, }, }, @@ -122,23 +101,24 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_audioTracks_delete", title: "Delete additional audio tracks on a video", - description: "Deletes additional audio tracks on a video. Deleting a default audio track is not allowed. You must assign another audio track as default prior to deletion.\n\nConfirm with the user before calling this tool. Permanently delete this audio track?", + description: "Deletes additional audio tracks on a video. Deleting a default audio track is not allowed. You must assign another audio track as default prior to deletion.\n\nConfirm with the user before calling this tool. Permanently delete this audio track?\n\nDELETE /accounts/{account_id}/stream/{identifier}/audio/{audio_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "audio_identifier": { - "$ref": "#/$defs/stream_audio_identifier", - "description": "The unique identifier for an additional audio track." + "description": "The unique identifier for an additional audio track.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -152,11 +132,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_audio_identifier": stream_audio_identifier, - "stream_identifier": stream_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_deleted_response", @@ -202,7 +178,7 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_audioTracks_edit", title: "Edit additional audio tracks on a video", - description: "Edits additional audio tracks on a video. Editing the default status of an audio track to `true` will mark all other audio tracks on the video default status to `false`.", + description: "Edits additional audio tracks on a video. Editing the default status of an audio track to `true` will mark all other audio tracks on the video default status to `false`.\n\nPATCH /accounts/{account_id}/stream/{identifier}/audio/{audio_identifier}", inputSchema: { type: "object", properties: { @@ -210,18 +186,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_editAudioTrack" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "audio_identifier": { - "$ref": "#/$defs/stream_audio_identifier", - "description": "The unique identifier for an additional audio track." + "description": "The unique identifier for an additional audio track.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -236,13 +213,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_audio_default": stream_audio_default$, - "stream_audio_identifier": stream_audio_identifier, - "stream_audio_label": stream_audio_label$, "stream_editAudioTrack": stream_editAudioTrack, - "stream_identifier": stream_identifier$, }, }, outputSchema: { @@ -251,10 +224,6 @@ export const tools: readonly Tool[] = [ "stream_addAudioTrackResponse": stream_addAudioTrackResponse, "stream_additionalAudio": stream_additionalAudio, "stream_api-response-common": stream_api$$response$$common, - "stream_audio_default": stream_audio_default, - "stream_audio_label": stream_audio_label, - "stream_audio_state": stream_audio_state, - "stream_identifier": stream_identifier, "stream_messages": stream_messages, }, }, @@ -286,10 +255,6 @@ export const tools: readonly Tool[] = [ "stream_additionalAudio": stream_additionalAudio, "stream_api-response-common": stream_api$$response$$common, "stream_api-response-common-failure": stream_api$$response$$common$$failure, - "stream_audio_default": stream_audio_default, - "stream_audio_label": stream_audio_label, - "stream_audio_state": stream_audio_state, - "stream_identifier": stream_identifier, "stream_messages": stream_messages, }, }, @@ -301,19 +266,20 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_audioTracks_list", title: "List additional audio tracks on a video", - description: "Lists additional audio tracks on a video. Note this API will not return information for audio attached to the video upload.", + description: "Lists additional audio tracks on a video. Note this API will not return information for audio attached to the video upload.\n\nGET /accounts/{account_id}/stream/{identifier}/audio", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -326,20 +292,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_identifier": stream_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_listAudioTrackResponse", $defs: { "stream_additionalAudio": stream_additionalAudio, "stream_api-response-common": stream_api$$response$$common, - "stream_audio_default": stream_audio_default, - "stream_audio_label": stream_audio_label, - "stream_audio_state": stream_audio_state, - "stream_identifier": stream_identifier, "stream_listAudioTrackResponse": stream_listAudioTrackResponse, "stream_messages": stream_messages, }, @@ -372,10 +331,6 @@ export const tools: readonly Tool[] = [ "stream_additionalAudio": stream_additionalAudio, "stream_api-response-common": stream_api$$response$$common, "stream_api-response-common-failure": stream_api$$response$$common$$failure, - "stream_audio_default": stream_audio_default, - "stream_audio_label": stream_audio_label, - "stream_audio_state": stream_audio_state, - "stream_identifier": stream_identifier, "stream_listAudioTrackResponse": stream_listAudioTrackResponse, "stream_messages": stream_messages, }, diff --git a/src/generated/forge-mcp/stream/videos/captions/language/tools.ts b/src/generated/forge-mcp/stream/videos/captions/language/tools.ts index d1da360e0..45972fda2 100644 --- a/src/generated/forge-mcp/stream/videos/captions/language/tools.ts +++ b/src/generated/forge-mcp/stream/videos/captions/language/tools.ts @@ -8,16 +8,7 @@ import { stream_api$$response$$single, stream_messages, } from "../../../outputs.js"; -import { stream_identifier$$2 } from "../../../schemas.js"; -import { stream_identifier } from "../../schemas.js"; -import { - stream_caption_status, - stream_captions, - stream_generated_caption, - stream_label, - stream_language, -} from "../outputs.js"; -import { stream_language as stream_language$ } from "../schemas.js"; +import { stream_captions } from "../outputs.js"; import { stream_language_response_single } from "./outputs.js"; /** @@ -27,23 +18,24 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_captions_language_delete", title: "Delete captions or subtitles", - description: "Removes the captions or subtitles from a video.\n\nConfirm with the user before calling this tool. Remove this caption?", + description: "Removes the captions or subtitles from a video.\n\nConfirm with the user before calling this tool. Remove this caption?\n\nDELETE /accounts/{account_id}/stream/{identifier}/captions/{language}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" }, "language": { - "$ref": "#/$defs/stream_language", - "description": "The language tag in BCP 47 format." + "description": "The language tag in BCP 47 format.", + "type": "string" } }, "required": [ @@ -57,11 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - "stream_language": stream_language$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -130,23 +118,24 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_captions_language_generate", title: "Generate captions or subtitles for a provided language via AI", - description: "Generate captions or subtitles for provided language via AI.", + description: "Generate captions or subtitles for provided language via AI.\n\nPOST /accounts/{account_id}/stream/{identifier}/captions/{language}/generate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" }, "language": { - "$ref": "#/$defs/stream_language", - "description": "The language tag in BCP 47 format." + "description": "The language tag in BCP 47 format.", + "type": "string" } }, "required": [ @@ -160,21 +149,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - "stream_language": stream_language$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_language_response_single", $defs: { "stream_api-response-single": stream_api$$response$$single, - "stream_caption_status": stream_caption_status, "stream_captions": stream_captions, - "stream_generated_caption": stream_generated_caption, - "stream_label": stream_label, - "stream_language": stream_language, "stream_language_response_single": stream_language_response_single, "stream_messages": stream_messages, }, @@ -200,11 +181,7 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_caption_status": stream_caption_status, "stream_captions": stream_captions, - "stream_generated_caption": stream_generated_caption, - "stream_label": stream_label, - "stream_language": stream_language, "stream_language_response_single": stream_language_response_single, "stream_messages": stream_messages, }, @@ -216,23 +193,24 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_captions_language_get", title: "List captions or subtitles for a provided language", - description: "Lists the captions or subtitles for provided language.", + description: "Lists the captions or subtitles for provided language.\n\nGET /accounts/{account_id}/stream/{identifier}/captions/{language}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" }, "language": { - "$ref": "#/$defs/stream_language", - "description": "The language tag in BCP 47 format." + "description": "The language tag in BCP 47 format.", + "type": "string" } }, "required": [ @@ -246,21 +224,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - "stream_language": stream_language$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_language_response_single", $defs: { "stream_api-response-single": stream_api$$response$$single, - "stream_caption_status": stream_caption_status, "stream_captions": stream_captions, - "stream_generated_caption": stream_generated_caption, - "stream_label": stream_label, - "stream_language": stream_language, "stream_language_response_single": stream_language_response_single, "stream_messages": stream_messages, }, @@ -292,11 +262,7 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_caption_status": stream_caption_status, "stream_captions": stream_captions, - "stream_generated_caption": stream_generated_caption, - "stream_label": stream_label, - "stream_language": stream_language, "stream_language_response_single": stream_language_response_single, "stream_messages": stream_messages, }, diff --git a/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts b/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts index 8005cd687..640162cd9 100644 --- a/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts +++ b/src/generated/forge-mcp/stream/videos/captions/language/vtt/tools.ts @@ -6,9 +6,6 @@ import { stream_api$$response$$common$$failure, stream_messages, } from "../../../../outputs.js"; -import { stream_identifier$$2 } from "../../../../schemas.js"; -import { stream_identifier } from "../../../schemas.js"; -import { stream_language } from "../../schemas.js"; /** * The tools of `stream.videos.captions.language.vtt`. @@ -17,23 +14,24 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_captions_language_vtt_get", title: "Return WebVTT captions for a provided language", - description: "Return WebVTT captions for a provided language.", + description: "Return WebVTT captions for a provided language.\n\nGET /accounts/{account_id}/stream/{identifier}/captions/{language}/vtt", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" }, "language": { - "$ref": "#/$defs/stream_language", - "description": "The language tag in BCP 47 format." + "description": "The language tag in BCP 47 format.", + "type": "string" } }, "required": [ @@ -47,11 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - "stream_language": stream_language, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/stream/videos/captions/outputs.ts b/src/generated/forge-mcp/stream/videos/captions/outputs.ts index 026754a37..4cdd7f153 100644 --- a/src/generated/forge-mcp/stream/videos/captions/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/captions/outputs.ts @@ -3,60 +3,32 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `stream_caption_status` in responses. - */ -export const stream_caption_status: JsonSchema = { - "enum": [ - "ready", - "inprogress", - "error" - ], - "type": "string" -}; - /** * The schema of `stream_captions` in responses. */ export const stream_captions: JsonSchema = { "properties": { "generated": { - "$ref": "#/$defs/stream_generated_caption" + "type": "boolean" }, "label": { - "$ref": "#/$defs/stream_label" + "type": "string" }, "language": { - "$ref": "#/$defs/stream_language" + "type": "string" }, "status": { - "$ref": "#/$defs/stream_caption_status" + "enum": [ + "ready", + "inprogress", + "error" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `stream_generated_caption` in responses. - */ -export const stream_generated_caption: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `stream_label` in responses. - */ -export const stream_label: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_language` in responses. - */ -export const stream_language: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_language_response_collection` in responses. */ diff --git a/src/generated/forge-mcp/stream/videos/captions/schemas.ts b/src/generated/forge-mcp/stream/videos/captions/schemas.ts deleted file mode 100644 index 11ec0eff6..000000000 --- a/src/generated/forge-mcp/stream/videos/captions/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `stream_language`. - */ -export const stream_language: JsonSchema = { - "description": "The language tag in BCP 47 format.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/stream/videos/captions/tools.ts b/src/generated/forge-mcp/stream/videos/captions/tools.ts index 06d8f85bf..8aebf3cfa 100644 --- a/src/generated/forge-mcp/stream/videos/captions/tools.ts +++ b/src/generated/forge-mcp/stream/videos/captions/tools.ts @@ -7,14 +7,8 @@ import { stream_api$$response$$common$$failure, stream_messages, } from "../../outputs.js"; -import { stream_identifier$$2 } from "../../schemas.js"; -import { stream_identifier } from "../schemas.js"; import { - stream_caption_status, stream_captions, - stream_generated_caption, - stream_label, - stream_language, stream_language_response_collection, } from "./outputs.js"; @@ -25,19 +19,20 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_captions_list", title: "List captions or subtitles", - description: "Lists the available captions or subtitles for a specific video.", + description: "Lists the available captions or subtitles for a specific video.\n\nGET /accounts/{account_id}/stream/{identifier}/captions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -50,20 +45,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_language_response_collection", $defs: { "stream_api-response-common": stream_api$$response$$common, - "stream_caption_status": stream_caption_status, "stream_captions": stream_captions, - "stream_generated_caption": stream_generated_caption, - "stream_label": stream_label, - "stream_language": stream_language, "stream_language_response_collection": stream_language_response_collection, "stream_messages": stream_messages, }, @@ -95,11 +83,7 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common": stream_api$$response$$common, "stream_api-response-common-failure": stream_api$$response$$common$$failure, - "stream_caption_status": stream_caption_status, "stream_captions": stream_captions, - "stream_generated_caption": stream_generated_caption, - "stream_label": stream_label, - "stream_language": stream_language, "stream_language_response_collection": stream_language_response_collection, "stream_messages": stream_messages, }, diff --git a/src/generated/forge-mcp/stream/videos/directUpload/outputs.ts b/src/generated/forge-mcp/stream/videos/directUpload/outputs.ts index 7eda008f3..2ad922426 100644 --- a/src/generated/forge-mcp/stream/videos/directUpload/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/directUpload/outputs.ts @@ -16,10 +16,11 @@ export const stream_direct_upload_response: JsonSchema = { "result": { "properties": { "scheduledDeletion": { - "$ref": "#/$defs/stream_scheduledDeletion" + "format": "date-time", + "type": "string" }, "uid": { - "$ref": "#/$defs/stream_identifier" + "type": "string" }, "uploadURL": { "type": "string" diff --git a/src/generated/forge-mcp/stream/videos/directUpload/schemas.ts b/src/generated/forge-mcp/stream/videos/directUpload/schemas.ts index ab7b39ce9..7b3c38690 100644 --- a/src/generated/forge-mcp/stream/videos/directUpload/schemas.ts +++ b/src/generated/forge-mcp/stream/videos/directUpload/schemas.ts @@ -13,8 +13,8 @@ export const stream_direct_upload_request: JsonSchema = { "description": "Lists the origins allowed to display the video. Enter allowed origin domains in an array and use `*` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin." }, "creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "description": "A user-defined identifier for the media creator.", + "type": "string" }, "expiry": { "default": "Now + 30 minutes", @@ -23,26 +23,27 @@ export const stream_direct_upload_request: JsonSchema = { "type": "string" }, "maxDurationSeconds": { - "$ref": "#/$defs/stream_maxDurationSeconds", - "description": "The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A value of `-1` means the value is unknown." + "description": "The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A value of `-1` means the value is unknown.", + "type": "integer" }, "meta": { "$ref": "#/$defs/stream_media_metadata", "description": "A user modifiable key-value store used to reference other systems of record for managing videos." }, "requireSignedURLs": { - "$ref": "#/$defs/stream_requireSignedURLs", "default": false, - "description": "Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video." + "description": "Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video.", + "type": "boolean" }, "scheduledDeletion": { - "$ref": "#/$defs/stream_scheduledDeletion", - "description": "Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time." + "description": "Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time.", + "format": "date-time", + "type": "string" }, "thumbnailTimestampPct": { - "$ref": "#/$defs/stream_thumbnailTimestampPct", "default": 0, - "description": "The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video." + "description": "The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video.", + "type": "number" }, "watermark": { "$ref": "#/$defs/stream_watermark_at_upload" diff --git a/src/generated/forge-mcp/stream/videos/directUpload/tools.ts b/src/generated/forge-mcp/stream/videos/directUpload/tools.ts index 49f93ef52..06234e763 100644 --- a/src/generated/forge-mcp/stream/videos/directUpload/tools.ts +++ b/src/generated/forge-mcp/stream/videos/directUpload/tools.ts @@ -5,29 +5,12 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { stream_api$$response$$common$$failure, stream_api$$response$$single, - stream_downloadedFrom, - stream_height, stream_messages, - stream_name, - stream_opacity, - stream_padding, - stream_position, - stream_scale, - stream_watermark_created, - stream_watermark_identifier, - stream_watermark_size, stream_watermarks, - stream_width, } from "../../outputs.js"; -import { stream_account_identifier, stream_creator } from "../../schemas.js"; -import { stream_identifier, stream_scheduledDeletion } from "../outputs.js"; import { stream_allowedOrigins, - stream_maxDurationSeconds, stream_media_metadata, - stream_requireSignedURLs, - stream_scheduledDeletion as stream_scheduledDeletion$, - stream_thumbnailTimestampPct, stream_watermark_at_upload, } from "../schemas.js"; import { stream_direct_upload_response } from "./outputs.js"; @@ -40,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_directUpload_create", title: "Upload videos via direct upload URLs", - description: "Creates a direct upload endpoint that allows an end-user to upload a video without an API key.", + description: "Creates a direct upload endpoint that allows an end-user to upload a video without an API key.\n\nPOST /accounts/{account_id}/stream/direct_upload", inputSchema: { type: "object", properties: { @@ -48,19 +31,21 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_direct_upload_request" }, "headers": { + "additionalProperties": false, "properties": { "Upload-Creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "description": "A user-defined identifier for the media creator.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -73,16 +58,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "stream_account_identifier": stream_account_identifier, "stream_allowedOrigins": stream_allowedOrigins, - "stream_creator": stream_creator, "stream_direct_upload_request": stream_direct_upload_request, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scheduledDeletion": stream_scheduledDeletion$, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, "stream_watermark_at_upload": stream_watermark_at_upload, }, }, @@ -91,21 +71,8 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-single": stream_api$$response$$single, "stream_direct_upload_response": stream_direct_upload_response, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_messages": stream_messages, - "stream_name": stream_name, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_position": stream_position, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, annotations: { @@ -135,21 +102,8 @@ export const tools: readonly Tool[] = [ "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, "stream_direct_upload_response": stream_direct_upload_response, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_messages": stream_messages, - "stream_name": stream_name, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_position": stream_position, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/videos/downloads/schemas.ts b/src/generated/forge-mcp/stream/videos/downloads/schemas.ts deleted file mode 100644 index ce0afac29..000000000 --- a/src/generated/forge-mcp/stream/videos/downloads/schemas.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `stream_download_type`. - */ -export const stream_download_type: JsonSchema = { - "description": "The type of downloads available are: `default`, `audio`.", - "enum": [ - "default", - "audio" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/stream/videos/downloads/tools.ts b/src/generated/forge-mcp/stream/videos/downloads/tools.ts index 6d8010f61..a89c18742 100644 --- a/src/generated/forge-mcp/stream/videos/downloads/tools.ts +++ b/src/generated/forge-mcp/stream/videos/downloads/tools.ts @@ -8,16 +8,7 @@ import { stream_deleted_response, stream_messages, } from "../../outputs.js"; -import { stream_identifier$$2 } from "../../schemas.js"; -import { - stream_download_percent_complete, - stream_download_status, - stream_download_url, - stream_downloads, - stream_downloads_response, -} from "../outputs.js"; -import { stream_identifier } from "../schemas.js"; -import { stream_download_type } from "./schemas.js"; +import { stream_downloads, stream_downloads_response } from "../outputs.js"; /** * The tools of `stream.videos.downloads`. @@ -26,24 +17,29 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_downloads_create", title: "Create download", - description: "Creates a download for a video of specified type. For backwards-compatibility, POST requests to /downloads will enable the default download.", + description: "Creates a download for a video of specified type. For backwards-compatibility, POST requests to /downloads will enable the default download.\n\nPOST /accounts/{account_id}/stream/{identifier}/downloads/{download_type}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "download_type": { - "$ref": "#/$defs/stream_download_type", "default": "default", - "description": "The type of downloads available are: `default`, `audio`." + "description": "The type of downloads available are: `default`, `audio`.", + "enum": [ + "default", + "audio" + ], + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -57,19 +53,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_download_type": stream_download_type, - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_downloads_response", $defs: { "stream_api-response-single": stream_api$$response$$single, - "stream_download_percent_complete": stream_download_percent_complete, - "stream_download_status": stream_download_status, - "stream_download_url": stream_download_url, "stream_downloads": stream_downloads, "stream_downloads_response": stream_downloads_response, "stream_messages": stream_messages, @@ -96,9 +85,6 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_download_percent_complete": stream_download_percent_complete, - "stream_download_status": stream_download_status, - "stream_download_url": stream_download_url, "stream_downloads": stream_downloads, "stream_downloads_response": stream_downloads_response, "stream_messages": stream_messages, @@ -111,24 +97,29 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_downloads_delete", title: "Delete download", - description: "Delete specific type of download. For backwards-compatibility, DELETE requests to /downloads will delete the default download.\n\nConfirm with the user before calling this tool. Remove this download? It will need to be regenerated for future use.", + description: "Delete specific type of download. For backwards-compatibility, DELETE requests to /downloads will delete the default download.\n\nConfirm with the user before calling this tool. Remove this download? It will need to be regenerated for future use.\n\nDELETE /accounts/{account_id}/stream/{identifier}/downloads/{download_type}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "download_type": { - "$ref": "#/$defs/stream_download_type", "default": "default", - "description": "The type of downloads available are: `default`, `audio`." + "description": "The type of downloads available are: `default`, `audio`.", + "enum": [ + "default", + "audio" + ], + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -142,11 +133,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_download_type": stream_download_type, - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_deleted_response", diff --git a/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts b/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts index 4b8b59585..a34d5c624 100644 --- a/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts +++ b/src/generated/forge-mcp/stream/videos/downloadsDefault/tools.ts @@ -8,15 +8,7 @@ import { stream_deleted_response, stream_messages, } from "../../outputs.js"; -import { stream_identifier$$2 } from "../../schemas.js"; -import { - stream_download_percent_complete, - stream_download_status, - stream_download_url, - stream_downloads, - stream_downloads_response, -} from "../outputs.js"; -import { stream_identifier } from "../schemas.js"; +import { stream_downloads, stream_downloads_response } from "../outputs.js"; /** * The tools of `stream.videos.downloadsDefault`. @@ -25,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_downloadsDefault_create", title: "Create downloads", - description: "Creates a download for a video when a video is ready to view. Use `/downloads/{download_type}` instead for type-specific downloads. Available types are `default` and `audio`.\n\nThis method is deprecated.", + description: "Creates a download for a video when a video is ready to view. Use `/downloads/{download_type}` instead for type-specific downloads. Available types are `default` and `audio`.\n\nThis method is deprecated.\n\nPOST /accounts/{account_id}/stream/{identifier}/downloads", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -50,18 +43,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_downloads_response", $defs: { "stream_api-response-single": stream_api$$response$$single, - "stream_download_percent_complete": stream_download_percent_complete, - "stream_download_status": stream_download_status, - "stream_download_url": stream_download_url, "stream_downloads": stream_downloads, "stream_downloads_response": stream_downloads_response, "stream_messages": stream_messages, @@ -88,9 +75,6 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_download_percent_complete": stream_download_percent_complete, - "stream_download_status": stream_download_status, - "stream_download_url": stream_download_url, "stream_downloads": stream_downloads, "stream_downloads_response": stream_downloads_response, "stream_messages": stream_messages, @@ -103,19 +87,20 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_downloadsDefault_delete", title: "Delete downloads", - description: "Delete the downloads for a video. Use `/downloads/{download_type}` instead for type-specific downloads. Available types are `default` and `audio`.\n\nThis method is deprecated.\n\nConfirm with the user before calling this tool. Remove this default download? It will need to be regenerated for future use.", + description: "Delete the downloads for a video. Use `/downloads/{download_type}` instead for type-specific downloads. Available types are `default` and `audio`.\n\nThis method is deprecated.\n\nConfirm with the user before calling this tool. Remove this default download? It will need to be regenerated for future use.\n\nDELETE /accounts/{account_id}/stream/{identifier}/downloads", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -128,10 +113,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_deleted_response", @@ -178,19 +160,20 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_downloadsDefault_list", title: "List downloads", - description: "Lists the downloads created for a video.\n\nThis method is deprecated.", + description: "Lists the downloads created for a video.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/stream/{identifier}/downloads", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_identifier-2", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -203,18 +186,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_identifier": stream_identifier, - "stream_identifier-2": stream_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_downloads_response", $defs: { "stream_api-response-single": stream_api$$response$$single, - "stream_download_percent_complete": stream_download_percent_complete, - "stream_download_status": stream_download_status, - "stream_download_url": stream_download_url, "stream_downloads": stream_downloads, "stream_downloads_response": stream_downloads_response, "stream_messages": stream_messages, @@ -247,9 +224,6 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_download_percent_complete": stream_download_percent_complete, - "stream_download_status": stream_download_status, - "stream_download_url": stream_download_url, "stream_downloads": stream_downloads, "stream_downloads_response": stream_downloads_response, "stream_messages": stream_messages, diff --git a/src/generated/forge-mcp/stream/videos/outputs.ts b/src/generated/forge-mcp/stream/videos/outputs.ts index 661db55f4..45d8b23f4 100644 --- a/src/generated/forge-mcp/stream/videos/outputs.ts +++ b/src/generated/forge-mcp/stream/videos/outputs.ts @@ -32,53 +32,24 @@ export const stream_clipResponseSingle: JsonSchema = { ] }; -/** - * The schema of `stream_created` in responses. - */ -export const stream_created: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_download_percent_complete` in responses. - */ -export const stream_download_percent_complete: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `stream_download_status` in responses. - */ -export const stream_download_status: JsonSchema = { - "enum": [ - "ready", - "inprogress", - "error" - ], - "type": "string" -}; - -/** - * The schema of `stream_download_url` in responses. - */ -export const stream_download_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_downloads` in responses. */ export const stream_downloads: JsonSchema = { "properties": { "percentComplete": { - "$ref": "#/$defs/stream_download_percent_complete" + "type": "number" }, "status": { - "$ref": "#/$defs/stream_download_status" + "enum": [ + "ready", + "inprogress", + "error" + ], + "type": "string" }, "url": { - "$ref": "#/$defs/stream_download_url" + "type": "string" } }, "required": [ @@ -115,34 +86,6 @@ export const stream_downloads_response: JsonSchema = { ] }; -/** - * The schema of `stream_duration` in responses. - */ -export const stream_duration: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `stream_errorReasonCode` in responses. - */ -export const stream_errorReasonCode: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_errorReasonText` in responses. - */ -export const stream_errorReasonText: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_identifier` in responses. - */ -export const stream_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_input` in responses. */ @@ -158,20 +101,6 @@ export const stream_input: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_liveInput` in responses. - */ -export const stream_liveInput: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_maxDurationSeconds` in responses. - */ -export const stream_maxDurationSeconds: JsonSchema = { - "type": "integer" -}; - /** * The schema of `stream_media_metadata` in responses. */ @@ -179,66 +108,36 @@ export const stream_media_metadata: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_media_state` in responses. - */ -export const stream_media_state: JsonSchema = { - "enum": [ - "pendingupload", - "downloading", - "queued", - "inprogress", - "ready", - "error", - "live-inprogress" - ], - "type": "string" -}; - /** * The schema of `stream_media_status` in responses. */ export const stream_media_status: JsonSchema = { "properties": { "errorReasonCode": { - "$ref": "#/$defs/stream_errorReasonCode" + "type": "string" }, "errorReasonText": { - "$ref": "#/$defs/stream_errorReasonText" + "type": "string" }, "pctComplete": { - "$ref": "#/$defs/stream_pctComplete" + "type": "string" }, "state": { - "$ref": "#/$defs/stream_media_state" + "enum": [ + "pendingupload", + "downloading", + "queued", + "inprogress", + "ready", + "error", + "live-inprogress" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `stream_modified` in responses. - */ -export const stream_modified: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_oneTimeUploadExpiry` in responses. - */ -export const stream_oneTimeUploadExpiry: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_pctComplete` in responses. - */ -export const stream_pctComplete: JsonSchema = { - "type": "string" -}; - /** * The schema of `stream_playback` in responses. */ @@ -254,72 +153,6 @@ export const stream_playback: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_preview` in responses. - */ -export const stream_preview: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_readyToStream` in responses. - */ -export const stream_readyToStream: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `stream_readyToStreamAt` in responses. - */ -export const stream_readyToStreamAt: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_requireSignedURLs` in responses. - */ -export const stream_requireSignedURLs: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `stream_scheduledDeletion` in responses. - */ -export const stream_scheduledDeletion: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_size` in responses. - */ -export const stream_size: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `stream_thumbnailTimestampPct` in responses. - */ -export const stream_thumbnailTimestampPct: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `stream_thumbnail_url` in responses. - */ -export const stream_thumbnail_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `stream_uploaded` in responses. - */ -export const stream_uploaded: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `stream_video_response_collection` in responses. */ @@ -384,22 +217,23 @@ export const stream_videos: JsonSchema = { "type": "string" }, "created": { - "$ref": "#/$defs/stream_created" + "format": "date-time", + "type": "string" }, "creator": { - "$ref": "#/$defs/stream_creator" + "type": "string" }, "duration": { - "$ref": "#/$defs/stream_duration" + "type": "number" }, "input": { "$ref": "#/$defs/stream_input" }, "liveInput": { - "$ref": "#/$defs/stream_liveInput" + "type": "string" }, "maxDurationSeconds": { - "$ref": "#/$defs/stream_maxDurationSeconds" + "type": "integer" }, "maxSizeBytes": { "type": "integer" @@ -408,13 +242,14 @@ export const stream_videos: JsonSchema = { "$ref": "#/$defs/stream_media_metadata" }, "modified": { - "$ref": "#/$defs/stream_modified" + "format": "date-time", + "type": "string" }, "playback": { "$ref": "#/$defs/stream_playback" }, "preview": { - "$ref": "#/$defs/stream_preview" + "type": "string" }, "publicDetails": { "properties": { @@ -465,37 +300,41 @@ export const stream_videos: JsonSchema = { "type": "object" }, "readyToStream": { - "$ref": "#/$defs/stream_readyToStream" + "type": "boolean" }, "readyToStreamAt": { - "$ref": "#/$defs/stream_readyToStreamAt" + "format": "date-time", + "type": "string" }, "requireSignedURLs": { - "$ref": "#/$defs/stream_requireSignedURLs" + "type": "boolean" }, "scheduledDeletion": { - "$ref": "#/$defs/stream_scheduledDeletion" + "format": "date-time", + "type": "string" }, "size": { - "$ref": "#/$defs/stream_size" + "type": "number" }, "status": { "$ref": "#/$defs/stream_media_status" }, "thumbnail": { - "$ref": "#/$defs/stream_thumbnail_url" + "type": "string" }, "thumbnailTimestampPct": { - "$ref": "#/$defs/stream_thumbnailTimestampPct" + "type": "number" }, "uid": { - "$ref": "#/$defs/stream_identifier" + "type": "string" }, "uploadExpiry": { - "$ref": "#/$defs/stream_oneTimeUploadExpiry" + "format": "date-time", + "type": "string" }, "uploaded": { - "$ref": "#/$defs/stream_uploaded" + "format": "date-time", + "type": "string" }, "watermark": { "$ref": "#/$defs/stream_watermarks" diff --git a/src/generated/forge-mcp/stream/videos/schemas.ts b/src/generated/forge-mcp/stream/videos/schemas.ts index 330cfc797..78b5796de 100644 --- a/src/generated/forge-mcp/stream/videos/schemas.ts +++ b/src/generated/forge-mcp/stream/videos/schemas.ts @@ -14,63 +14,6 @@ export const stream_allowedOrigins: JsonSchema = { "type": "array" }; -/** - * The schema of `stream_asc`. - */ -export const stream_asc: JsonSchema = { - "description": "Lists videos in ascending order of creation.", - "type": "boolean" -}; - -/** - * The schema of `stream_clipped_from_video_uid`. - */ -export const stream_clipped_from_video_uid: JsonSchema = { - "description": "The unique video identifier (UID).", - "type": "string" -}; - -/** - * The schema of `stream_direct_user`. - */ -export const stream_direct_user: JsonSchema = { - "description": "Provisions a URL to let your end users upload videos directly to Cloudflare Stream without exposing your API token to clients.", - "type": "boolean" -}; - -/** - * The schema of `stream_end`. - */ -export const stream_end: JsonSchema = { - "description": "Lists videos created before the specified date.", - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_end_time_seconds`. - */ -export const stream_end_time_seconds: JsonSchema = { - "description": "Specifies the end time for the video clip in seconds.", - "type": "integer" -}; - -/** - * The schema of `stream_identifier`. - */ -export const stream_identifier: JsonSchema = { - "description": "A Cloudflare-generated unique identifier for a media item.", - "type": "string" -}; - -/** - * The schema of `stream_maxDurationSeconds`. - */ -export const stream_maxDurationSeconds: JsonSchema = { - "description": "The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A value of `-1` means the value is unknown.", - "type": "integer" -}; - /** * The schema of `stream_media_metadata`. */ @@ -79,117 +22,6 @@ export const stream_media_metadata: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_media_state`. - */ -export const stream_media_state: JsonSchema = { - "description": "Specifies the processing status for all quality levels for a video.", - "enum": [ - "pendingupload", - "downloading", - "queued", - "inprogress", - "ready", - "error", - "live-inprogress" - ], - "type": "string" -}; - -/** - * The schema of `stream_oneTimeUploadExpiry`. - */ -export const stream_oneTimeUploadExpiry: JsonSchema = { - "description": "The date and time when the video upload URL is no longer valid for direct user uploads.", - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_requireSignedURLs`. - */ -export const stream_requireSignedURLs: JsonSchema = { - "description": "Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video.", - "type": "boolean" -}; - -/** - * The schema of `stream_scheduledDeletion`. - */ -export const stream_scheduledDeletion: JsonSchema = { - "description": "Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time.", - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_search`. - */ -export const stream_search: JsonSchema = { - "description": "Provides a partial word match of the `name` key in the `meta` field. Slow for medium to large video libraries. May be unavailable for very large libraries.", - "type": "string" -}; - -/** - * The schema of `stream_start`. - */ -export const stream_start: JsonSchema = { - "description": "Lists videos created after the specified date.", - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `stream_start_time_seconds`. - */ -export const stream_start_time_seconds: JsonSchema = { - "description": "Specifies the start time for the video clip in seconds.", - "type": "integer" -}; - -/** - * The schema of `stream_thumbnailTimestampPct`. - */ -export const stream_thumbnailTimestampPct: JsonSchema = { - "description": "The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video.", - "type": "number" -}; - -/** - * The schema of `stream_tus_resumable`. - */ -export const stream_tus_resumable: JsonSchema = { - "description": "Specifies the TUS protocol version. This value must be included in every upload request.\nNotes: The only supported version of TUS protocol is 1.0.0.", - "enum": [ - "1.0.0" - ], - "type": "string" -}; - -/** - * The schema of `stream_type`. - */ -export const stream_type: JsonSchema = { - "description": "Specifies whether the video is `vod` or `live`.", - "type": "string" -}; - -/** - * The schema of `stream_upload_length`. - */ -export const stream_upload_length: JsonSchema = { - "description": "Indicates the size of the entire upload in bytes. The value must be a non-negative integer.", - "type": "integer" -}; - -/** - * The schema of `stream_upload_metadata`. - */ -export const stream_upload_metadata: JsonSchema = { - "description": "Comma-separated key-value pairs following the TUS protocol specification. Values are Base-64 encoded.\nSupported keys: `name`, `requiresignedurls`, `allowedorigins`, `thumbnailtimestamppct`, `watermark`, `scheduleddeletion`, `maxdurationseconds`.", - "type": "string" -}; - /** * The schema of `stream_videoClipStandard`. */ @@ -200,16 +32,16 @@ export const stream_videoClipStandard: JsonSchema = { "description": "Lists the origins allowed to display the video. Enter allowed origin domains in an array and use `*` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin." }, "clippedFromVideoUID": { - "$ref": "#/$defs/stream_clipped_from_video_uid", - "description": "The unique video identifier (UID)." + "description": "The unique video identifier (UID).", + "type": "string" }, "creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "description": "A user-defined identifier for the media creator.", + "type": "string" }, "endTimeSeconds": { - "$ref": "#/$defs/stream_end_time_seconds", - "description": "Specifies the end time for the video clip in seconds." + "description": "Specifies the end time for the video clip in seconds.", + "type": "integer" }, "input": { "description": "A video's URL. Preferred over 'url'.", @@ -224,22 +56,23 @@ export const stream_videoClipStandard: JsonSchema = { "type": "string" }, "requireSignedURLs": { - "$ref": "#/$defs/stream_requireSignedURLs", "default": false, - "description": "Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video." + "description": "Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video.", + "type": "boolean" }, "scheduledDeletion": { - "$ref": "#/$defs/stream_scheduledDeletion", - "description": "Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time." + "description": "Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time.", + "format": "date-time", + "type": "string" }, "startTimeSeconds": { - "$ref": "#/$defs/stream_start_time_seconds", - "description": "Specifies the start time for the video clip in seconds." + "description": "Specifies the start time for the video clip in seconds.", + "type": "integer" }, "thumbnailTimestampPct": { - "$ref": "#/$defs/stream_thumbnailTimestampPct", "default": 0, - "description": "The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video." + "description": "The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video.", + "type": "number" }, "url": { "description": "A video's URL (legacy field, use 'input' instead).", @@ -268,8 +101,8 @@ export const stream_video_copy_request: JsonSchema = { "description": "Lists the origins allowed to display the video. Enter allowed origin domains in an array and use `*` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin." }, "creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "description": "A user-defined identifier for the media creator.", + "type": "string" }, "input": { "description": "A video's URL. The server must be publicly routable and support `HTTP HEAD` requests and `HTTP GET` range requests. The server should respond to `HTTP HEAD` requests with a `content-range` header that includes the size of the file. This is the preferred field over `url`.", @@ -284,18 +117,19 @@ export const stream_video_copy_request: JsonSchema = { "type": "string" }, "requireSignedURLs": { - "$ref": "#/$defs/stream_requireSignedURLs", "default": false, - "description": "Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video." + "description": "Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video.", + "type": "boolean" }, "scheduledDeletion": { - "$ref": "#/$defs/stream_scheduledDeletion", - "description": "Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time." + "description": "Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time.", + "format": "date-time", + "type": "string" }, "thumbnailTimestampPct": { - "$ref": "#/$defs/stream_thumbnailTimestampPct", "default": 0, - "description": "The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video." + "description": "The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video.", + "type": "number" }, "url": { "description": "A video's URL. The server must be publicly routable and support `HTTP HEAD` requests and `HTTP GET` range requests. The server should respond to `HTTP HEAD` requests with a `content-range` header that includes the size of the file. This field is deprecated in favor of `input`.", @@ -308,14 +142,6 @@ export const stream_video_copy_request: JsonSchema = { "type": "object" }; -/** - * The schema of `stream_video_name`. - */ -export const stream_video_name: JsonSchema = { - "description": "Provides a fast, exact string match on the `name` key in the `meta` field.", - "type": "string" -}; - /** * The schema of `stream_video_update`. */ @@ -326,12 +152,12 @@ export const stream_video_update: JsonSchema = { "description": "Lists the origins allowed to display the video. Enter allowed origin domains in an array and use `*` for wildcard subdomains. Empty arrays allow the video to be viewed on any origin." }, "creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "description": "A user-defined identifier for the media creator.", + "type": "string" }, "maxDurationSeconds": { - "$ref": "#/$defs/stream_maxDurationSeconds", - "description": "The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A value of `-1` means the value is unknown." + "description": "The maximum duration in seconds for a video upload. Can be set for a video that is not yet uploaded to limit its duration. Uploads that exceed the specified duration will fail during processing. A value of `-1` means the value is unknown.", + "type": "integer" }, "meta": { "$ref": "#/$defs/stream_media_metadata", @@ -384,26 +210,28 @@ export const stream_video_update: JsonSchema = { "type": "object" }, "requireSignedURLs": { - "$ref": "#/$defs/stream_requireSignedURLs", "default": false, - "description": "Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video." + "description": "Indicates whether the video can be a accessed using the UID. When set to `true`, a signed token must be generated with a signing key to view the video.", + "type": "boolean" }, "scheduledDeletion": { - "$ref": "#/$defs/stream_scheduledDeletion", - "description": "Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time." + "description": "Indicates the date and time at which the video will be deleted. Omit the field to indicate no change, or include with a `null` value to remove an existing scheduled deletion. If specified, must be at least 30 days from upload time.", + "format": "date-time", + "type": "string" }, "thumbnailTimestampPct": { - "$ref": "#/$defs/stream_thumbnailTimestampPct", "default": 0, - "description": "The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video." + "description": "The timestamp for a thumbnail image calculated as a percentage value of the video's duration. To convert from a second-wise timestamp to a percentage, divide the desired timestamp by the total duration of the video. If this value is not set, the default thumbnail image is taken from 0s of the video.", + "type": "number" }, "uid": { "description": "The unique identifier for the video. Can be used to verify the video being updated.", "type": "string" }, "uploadExpiry": { - "$ref": "#/$defs/stream_oneTimeUploadExpiry", - "description": "The date and time when the video upload URL is no longer valid for direct user uploads." + "description": "The date and time when the video upload URL is no longer valid for direct user uploads.", + "format": "date-time", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/stream/videos/token/tools.ts b/src/generated/forge-mcp/stream/videos/token/tools.ts index 160d0866b..c0225bf5d 100644 --- a/src/generated/forge-mcp/stream/videos/token/tools.ts +++ b/src/generated/forge-mcp/stream/videos/token/tools.ts @@ -7,8 +7,6 @@ import { stream_api$$response$$single, stream_messages, } from "../../outputs.js"; -import { stream_account_identifier } from "../../schemas.js"; -import { stream_identifier } from "../schemas.js"; import { stream_signed_token_response } from "./outputs.js"; import { stream_accessRules, stream_signed_token_request } from "./schemas.js"; @@ -19,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_token_create", title: "Create signed URL tokens for videos", - description: "Creates a signed URL token for a video. If a body is not provided in the request, a token is created with default values.\n\nConfirm with the user before calling this tool. Provision temporary token? For use at scale, consider creating a signing key instead.", + description: "Creates a signed URL token for a video. If a body is not provided in the request, a token is created with default values.\n\nConfirm with the user before calling this tool. Provision temporary token? For use at scale, consider creating a signing key instead.\n\nPOST /accounts/{account_id}/stream/{identifier}/token", inputSchema: { type: "object", properties: { @@ -27,14 +25,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_signed_token_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -48,10 +47,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "stream_accessRules": stream_accessRules, - "stream_account_identifier": stream_account_identifier, - "stream_identifier": stream_identifier, "stream_signed_token_request": stream_signed_token_request, }, }, diff --git a/src/generated/forge-mcp/stream/videos/tools.ts b/src/generated/forge-mcp/stream/videos/tools.ts index 62d867ec3..4b6c76571 100644 --- a/src/generated/forge-mcp/stream/videos/tools.ts +++ b/src/generated/forge-mcp/stream/videos/tools.ts @@ -6,82 +6,25 @@ import { stream_api$$response$$common, stream_api$$response$$common$$failure, stream_api$$response$$single, - stream_creator, - stream_downloadedFrom, - stream_height, stream_messages, - stream_name, - stream_opacity, - stream_padding, - stream_position, - stream_scale, - stream_watermark_created, - stream_watermark_identifier, - stream_watermark_size, stream_watermarks, - stream_width, } from "../outputs.js"; -import { - stream_account_identifier, - stream_creator as stream_creator$, - stream_include_counts, -} from "../schemas.js"; import { stream_allowedOrigins, stream_clipResponseSingle, - stream_created, - stream_duration, - stream_errorReasonCode, - stream_errorReasonText, - stream_identifier, stream_input, - stream_liveInput, - stream_maxDurationSeconds, stream_media_metadata, - stream_media_state, stream_media_status, - stream_modified, - stream_oneTimeUploadExpiry, - stream_pctComplete, stream_playback, - stream_preview, - stream_readyToStream, - stream_readyToStreamAt, - stream_requireSignedURLs, - stream_scheduledDeletion, - stream_size, - stream_thumbnailTimestampPct, - stream_thumbnail_url, - stream_uploaded, stream_video_response_collection, stream_video_response_single, stream_videos, } from "./outputs.js"; import { stream_allowedOrigins as stream_allowedOrigins$, - stream_asc, - stream_clipped_from_video_uid, - stream_direct_user, - stream_end, - stream_end_time_seconds, - stream_identifier as stream_identifier$, - stream_maxDurationSeconds as stream_maxDurationSeconds$, stream_media_metadata as stream_media_metadata$, - stream_media_state as stream_media_state$, - stream_oneTimeUploadExpiry as stream_oneTimeUploadExpiry$, - stream_requireSignedURLs as stream_requireSignedURLs$, - stream_scheduledDeletion as stream_scheduledDeletion$, - stream_search, - stream_start, - stream_start_time_seconds, - stream_thumbnailTimestampPct as stream_thumbnailTimestampPct$, - stream_tus_resumable, - stream_type, - stream_upload_length, - stream_upload_metadata, stream_videoClipStandard, stream_video_copy_request, - stream_video_name, stream_video_update, stream_watermarkAtUpload, stream_watermark_at_upload, @@ -94,7 +37,7 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_clip", title: "Clip videos given a start and end time", - description: "Clips a video based on the specified start and end times provided in seconds.", + description: "Clips a video based on the specified start and end times provided in seconds.\n\nPOST /accounts/{account_id}/stream/clip", inputSchema: { type: "object", properties: { @@ -102,10 +45,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_videoClipStandard" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -118,17 +62,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "stream_account_identifier": stream_account_identifier, "stream_allowedOrigins": stream_allowedOrigins$, - "stream_clipped_from_video_uid": stream_clipped_from_video_uid, - "stream_creator": stream_creator$, - "stream_end_time_seconds": stream_end_time_seconds, "stream_media_metadata": stream_media_metadata$, - "stream_requireSignedURLs": stream_requireSignedURLs$, - "stream_scheduledDeletion": stream_scheduledDeletion$, - "stream_start_time_seconds": stream_start_time_seconds, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct$, "stream_videoClipStandard": stream_videoClipStandard, "stream_watermarkAtUpload": stream_watermarkAtUpload, }, @@ -139,45 +76,13 @@ export const tools: readonly Tool[] = [ "stream_allowedOrigins": stream_allowedOrigins, "stream_api-response-single": stream_api$$response$$single, "stream_clipResponseSingle": stream_clipResponseSingle, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, annotations: { @@ -208,45 +113,13 @@ export const tools: readonly Tool[] = [ "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, "stream_clipResponseSingle": stream_clipResponseSingle, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, request: (args) => ({ @@ -257,7 +130,7 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_copy", title: "Upload videos from a URL", - description: "Uploads a video to Stream from a provided URL.", + description: "Uploads a video to Stream from a provided URL.\n\nPOST /accounts/{account_id}/stream/copy", inputSchema: { type: "object", properties: { @@ -265,19 +138,21 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_video_copy_request" }, "headers": { + "additionalProperties": false, "properties": { "Upload-Creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "description": "A user-defined identifier for the media creator.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -290,14 +165,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "stream_account_identifier": stream_account_identifier, "stream_allowedOrigins": stream_allowedOrigins$, - "stream_creator": stream_creator$, "stream_media_metadata": stream_media_metadata$, - "stream_requireSignedURLs": stream_requireSignedURLs$, - "stream_scheduledDeletion": stream_scheduledDeletion$, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct$, "stream_video_copy_request": stream_video_copy_request, "stream_watermark_at_upload": stream_watermark_at_upload, }, @@ -307,46 +178,14 @@ export const tools: readonly Tool[] = [ $defs: { "stream_allowedOrigins": stream_allowedOrigins, "stream_api-response-single": stream_api$$response$$single, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_video_response_single": stream_video_response_single, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, annotations: { @@ -376,46 +215,14 @@ export const tools: readonly Tool[] = [ "stream_allowedOrigins": stream_allowedOrigins, "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_video_response_single": stream_video_response_single, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, request: (args) => ({ @@ -429,27 +236,31 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_create", title: "Initiate video uploads using TUS", - description: "Initiates a video upload using the TUS protocol. On success, the server responds with a status code 201 (created) and includes a `location` header to indicate where the content should be uploaded. Refer to https://tus.io for protocol details.", + description: "Initiates a video upload using the TUS protocol. On success, the server responds with a status code 201 (created) and includes a `location` header to indicate where the content should be uploaded. Refer to https://tus.io for protocol details.\n\nPOST /accounts/{account_id}/stream", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "Tus-Resumable": { - "$ref": "#/$defs/stream_tus_resumable", - "description": "Specifies the TUS protocol version. This value must be included in every upload request.\nNotes: The only supported version of TUS protocol is 1.0.0." + "description": "Specifies the TUS protocol version. This value must be included in every upload request.\nNotes: The only supported version of TUS protocol is 1.0.0.", + "enum": [ + "1.0.0" + ], + "type": "string" }, "Upload-Creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "description": "A user-defined identifier for the media creator.", + "type": "string" }, "Upload-Length": { - "$ref": "#/$defs/stream_upload_length", - "description": "Indicates the size of the entire upload in bytes. The value must be a non-negative integer." + "description": "Indicates the size of the entire upload in bytes. The value must be a non-negative integer.", + "type": "integer" }, "Upload-Metadata": { - "$ref": "#/$defs/stream_upload_metadata", - "description": "Comma-separated key-value pairs following the TUS protocol specification. Values are Base-64 encoded.\nSupported keys: `name`, `requiresignedurls`, `allowedorigins`, `thumbnailtimestamppct`, `watermark`, `scheduleddeletion`, `maxdurationseconds`." + "description": "Comma-separated key-value pairs following the TUS protocol specification. Values are Base-64 encoded.\nSupported keys: `name`, `requiresignedurls`, `allowedorigins`, `thumbnailtimestamppct`, `watermark`, `scheduleddeletion`, `maxdurationseconds`.", + "type": "string" } }, "required": [ @@ -459,10 +270,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -471,11 +283,12 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direct_user": { - "$ref": "#/$defs/stream_direct_user", "default": false, - "description": "Provisions a URL to let your end users upload videos directly to Cloudflare Stream without exposing your API token to clients." + "description": "Provisions a URL to let your end users upload videos directly to Cloudflare Stream without exposing your API token to clients.", + "type": "boolean" } }, "type": "object" @@ -485,14 +298,7 @@ export const tools: readonly Tool[] = [ "path", "headers" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_creator": stream_creator$, - "stream_direct_user": stream_direct_user, - "stream_tus_resumable": stream_tus_resumable, - "stream_upload_length": stream_upload_length, - "stream_upload_metadata": stream_upload_metadata, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -536,19 +342,20 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_delete", title: "Delete video", - description: "Deletes a video and its copies from Cloudflare Stream.\n\nConfirm with the user before calling this tool. Permanently delete this video?", + description: "Deletes a video and its copies from Cloudflare Stream.\n\nConfirm with the user before calling this tool. Permanently delete this video?\n\nDELETE /accounts/{account_id}/stream/{identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -561,10 +368,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_identifier": stream_identifier$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -599,7 +403,7 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_edit", title: "Edit video details", - description: "Edit details for a single video.", + description: "Edit details for a single video.\n\nPOST /accounts/{account_id}/stream/{identifier}", inputSchema: { type: "object", properties: { @@ -607,14 +411,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_video_update" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -628,17 +433,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "stream_account_identifier": stream_account_identifier, "stream_allowedOrigins": stream_allowedOrigins$, - "stream_creator": stream_creator$, - "stream_identifier": stream_identifier$, - "stream_maxDurationSeconds": stream_maxDurationSeconds$, "stream_media_metadata": stream_media_metadata$, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry$, - "stream_requireSignedURLs": stream_requireSignedURLs$, - "stream_scheduledDeletion": stream_scheduledDeletion$, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct$, "stream_video_update": stream_video_update, }, }, @@ -647,46 +445,14 @@ export const tools: readonly Tool[] = [ $defs: { "stream_allowedOrigins": stream_allowedOrigins, "stream_api-response-single": stream_api$$response$$single, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_video_response_single": stream_video_response_single, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, annotations: { @@ -711,46 +477,14 @@ export const tools: readonly Tool[] = [ "stream_allowedOrigins": stream_allowedOrigins, "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_video_response_single": stream_video_response_single, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, request: (args) => ({ @@ -761,19 +495,20 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_embed", title: "Deprecated: Retrieve legacy embed code HTML", - description: "Fetches the legacy HTML code snippet to embed a video in a web page delivered through Cloudflare. On success, returns an HTML fragment for use on web pages to display a video. On failure, returns a JSON response body.\n\nThis method is deprecated.", + description: "Fetches the legacy HTML code snippet to embed a video in a web page delivered through Cloudflare. On success, returns an HTML fragment for use on web pages to display a video. On failure, returns a JSON response body.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/stream/{identifier}/embed", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -786,10 +521,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_identifier": stream_identifier$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -825,19 +557,20 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_get", title: "Retrieve video details", - description: "Fetches details for a single video.", + description: "Fetches details for a single video.\n\nGET /accounts/{account_id}/stream/{identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_identifier", - "description": "A Cloudflare-generated unique identifier for a media item." + "description": "A Cloudflare-generated unique identifier for a media item.", + "type": "string" } }, "required": [ @@ -850,56 +583,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_identifier": stream_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_video_response_single", $defs: { "stream_allowedOrigins": stream_allowedOrigins, "stream_api-response-single": stream_api$$response$$single, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_video_response_single": stream_video_response_single, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, annotations: { @@ -930,46 +628,14 @@ export const tools: readonly Tool[] = [ "stream_allowedOrigins": stream_allowedOrigins, "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_video_response_single": stream_video_response_single, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, request: (args) => ({ @@ -979,15 +645,16 @@ export const tools: readonly Tool[] = [ { name: "stream_videos_list", title: "List videos", - description: "Lists up to 1000 videos from a single request. For a specific range, refer to the optional parameters.", + description: "Lists up to 1000 videos from a single request. For a specific range, refer to the optional parameters.\n\nGET /accounts/{account_id}/stream", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -996,6 +663,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "after": { "description": "Alias for 'start'. Returns videos created after this date/time (RFC 3339 format).", @@ -1003,9 +671,9 @@ export const tools: readonly Tool[] = [ "type": "string" }, "asc": { - "$ref": "#/$defs/stream_asc", "default": false, - "description": "Lists videos in ascending order of creation." + "description": "Lists videos in ascending order of creation.", + "type": "boolean" }, "before": { "description": "Alias for 'end'. Returns videos created before this date/time (RFC 3339 format).", @@ -1013,21 +681,22 @@ export const tools: readonly Tool[] = [ "type": "string" }, "creator": { - "$ref": "#/$defs/stream_creator", - "description": "A user-defined identifier for the media creator." + "description": "A user-defined identifier for the media creator.", + "type": "string" }, "end": { - "$ref": "#/$defs/stream_end", - "description": "Lists videos created before the specified date." + "description": "Lists videos created before the specified date.", + "format": "date-time", + "type": "string" }, "id": { "description": "Filter by video ID(s). Can be a single ID or a comma-separated list of IDs.", "type": "string" }, "include_counts": { - "$ref": "#/$defs/stream_include_counts", "default": false, - "description": "Includes the total number of videos associated with the submitted query parameters." + "description": "Includes the total number of videos associated with the submitted query parameters.", + "type": "boolean" }, "limit": { "description": "Maximum number of videos to return (default 1000, max 1000).", @@ -1042,24 +711,34 @@ export const tools: readonly Tool[] = [ "type": "string" }, "search": { - "$ref": "#/$defs/stream_search", - "description": "Provides a partial word match of the `name` key in the `meta` field. Slow for medium to large video libraries. May be unavailable for very large libraries." + "description": "Provides a partial word match of the `name` key in the `meta` field. Slow for medium to large video libraries. May be unavailable for very large libraries.", + "type": "string" }, "start": { - "$ref": "#/$defs/stream_start", - "description": "Lists videos created after the specified date." + "description": "Lists videos created after the specified date.", + "format": "date-time", + "type": "string" }, "status": { - "$ref": "#/$defs/stream_media_state", - "description": "Specifies the processing status for all quality levels for a video." + "description": "Specifies the processing status for all quality levels for a video.", + "enum": [ + "pendingupload", + "downloading", + "queued", + "inprogress", + "ready", + "error", + "live-inprogress" + ], + "type": "string" }, "type": { - "$ref": "#/$defs/stream_type", - "description": "Specifies whether the video is `vod` or `live`." + "description": "Specifies whether the video is `vod` or `live`.", + "type": "string" }, "video_name": { - "$ref": "#/$defs/stream_video_name", - "description": "Provides a fast, exact string match on the `name` key in the `meta` field." + "description": "Provides a fast, exact string match on the `name` key in the `meta` field.", + "type": "string" } }, "type": "object" @@ -1068,64 +747,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_asc": stream_asc, - "stream_creator": stream_creator$, - "stream_end": stream_end, - "stream_include_counts": stream_include_counts, - "stream_media_state": stream_media_state$, - "stream_search": stream_search, - "stream_start": stream_start, - "stream_type": stream_type, - "stream_video_name": stream_video_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_video_response_collection", $defs: { "stream_allowedOrigins": stream_allowedOrigins, "stream_api-response-common": stream_api$$response$$common, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_video_response_collection": stream_video_response_collection, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, annotations: { @@ -1156,46 +792,14 @@ export const tools: readonly Tool[] = [ "stream_allowedOrigins": stream_allowedOrigins, "stream_api-response-common": stream_api$$response$$common, "stream_api-response-common-failure": stream_api$$response$$common$$failure, - "stream_created": stream_created, - "stream_creator": stream_creator, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_duration": stream_duration, - "stream_errorReasonCode": stream_errorReasonCode, - "stream_errorReasonText": stream_errorReasonText, - "stream_height": stream_height, - "stream_identifier": stream_identifier, "stream_input": stream_input, - "stream_liveInput": stream_liveInput, - "stream_maxDurationSeconds": stream_maxDurationSeconds, "stream_media_metadata": stream_media_metadata, - "stream_media_state": stream_media_state, "stream_media_status": stream_media_status, "stream_messages": stream_messages, - "stream_modified": stream_modified, - "stream_name": stream_name, - "stream_oneTimeUploadExpiry": stream_oneTimeUploadExpiry, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_pctComplete": stream_pctComplete, "stream_playback": stream_playback, - "stream_position": stream_position, - "stream_preview": stream_preview, - "stream_readyToStream": stream_readyToStream, - "stream_readyToStreamAt": stream_readyToStreamAt, - "stream_requireSignedURLs": stream_requireSignedURLs, - "stream_scale": stream_scale, - "stream_scheduledDeletion": stream_scheduledDeletion, - "stream_size": stream_size, - "stream_thumbnailTimestampPct": stream_thumbnailTimestampPct, - "stream_thumbnail_url": stream_thumbnail_url, - "stream_uploaded": stream_uploaded, "stream_video_response_collection": stream_video_response_collection, "stream_videos": stream_videos, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/watermarks/tools.ts b/src/generated/forge-mcp/stream/watermarks/tools.ts index e0a4c9e26..46f69e525 100644 --- a/src/generated/forge-mcp/stream/watermarks/tools.ts +++ b/src/generated/forge-mcp/stream/watermarks/tools.ts @@ -6,29 +6,9 @@ import { stream_api$$response$$common, stream_api$$response$$common$$failure, stream_api$$response$$single, - stream_downloadedFrom, - stream_height, stream_messages, - stream_name, - stream_opacity, - stream_padding, - stream_position, - stream_scale, - stream_watermark_created, - stream_watermark_identifier, - stream_watermark_size, stream_watermarks, - stream_width, } from "../outputs.js"; -import { - stream_account_identifier, - stream_name as stream_name$, - stream_opacity as stream_opacity$, - stream_padding as stream_padding$, - stream_position as stream_position$, - stream_scale as stream_scale$, - stream_watermark_identifier as stream_watermark_identifier$, -} from "../schemas.js"; import { stream_watermark_response_collection, stream_watermark_response_single, @@ -41,36 +21,36 @@ export const tools: readonly Tool[] = [ { name: "stream_watermarks_create", title: "Create watermark profiles via basic upload", - description: "Creates watermark profiles using a single `HTTP POST multipart/form-data` request.", + description: "Creates watermark profiles using a single `HTTP POST multipart/form-data` request.\n\nPOST /accounts/{account_id}/stream/watermarks", inputSchema: { type: "object", properties: { "body": { "properties": { "name": { - "$ref": "#/$defs/stream_name", "default": "", - "description": "A short description of the watermark profile." + "description": "A short description of the watermark profile.", + "type": "string" }, "opacity": { - "$ref": "#/$defs/stream_opacity", "default": 1, - "description": "The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, setting this to `1.0` will not make the image completely opaque." + "description": "The translucency of the image. A value of `0.0` makes the image completely transparent, and `1.0` makes the image completely opaque. Note that if the image is already semi-transparent, setting this to `1.0` will not make the image completely opaque.", + "type": "number" }, "padding": { - "$ref": "#/$defs/stream_padding", "default": 0.05, - "description": "The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as determined by the algorithm." + "description": "The whitespace between the adjacent edges (determined by position) of the video and the image. `0.0` indicates no padding, and `1.0` indicates a fully padded video width or length, as determined by the algorithm.", + "type": "number" }, "position": { - "$ref": "#/$defs/stream_position", "default": "upperRight", - "description": "The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter." + "description": "The location of the image. Valid positions are: `upperRight`, `upperLeft`, `lowerLeft`, `lowerRight`, and `center`. Note that `center` ignores the `padding` parameter.", + "type": "string" }, "scale": { - "$ref": "#/$defs/stream_scale", "default": 0.15, - "description": "The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the image as-is), and `1.0 `fills the entire video." + "description": "The size of the image relative to the overall size of the video. This parameter will adapt to horizontal and vertical videos automatically. `0.0` indicates no scaling (use the size of the image as-is), and `1.0 `fills the entire video.", + "type": "number" }, "url": { "description": "URL of the watermark image to copy.", @@ -80,10 +60,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -96,33 +77,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_name": stream_name$, - "stream_opacity": stream_opacity$, - "stream_padding": stream_padding$, - "stream_position": stream_position$, - "stream_scale": stream_scale$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_watermark_response_single", $defs: { "stream_api-response-single": stream_api$$response$$single, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_height": stream_height, "stream_messages": stream_messages, - "stream_name": stream_name, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_position": stream_position, - "stream_scale": stream_scale, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, "stream_watermark_response_single": stream_watermark_response_single, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, annotations: { @@ -151,20 +114,9 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_height": stream_height, "stream_messages": stream_messages, - "stream_name": stream_name, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_position": stream_position, - "stream_scale": stream_scale, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, "stream_watermark_response_single": stream_watermark_response_single, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, request: (args) => ({ @@ -175,19 +127,20 @@ export const tools: readonly Tool[] = [ { name: "stream_watermarks_delete", title: "Delete watermark profiles", - description: "Deletes a watermark profile.\n\nConfirm with the user before calling this tool. Remove this watermark profile? New upload requests referencing this profile will fail.", + description: "Deletes a watermark profile.\n\nConfirm with the user before calling this tool. Remove this watermark profile? New upload requests referencing this profile will fail.\n\nDELETE /accounts/{account_id}/stream/watermarks/{identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_watermark_identifier", - "description": "The unique identifier for a watermark profile." + "description": "The unique identifier for a watermark profile.", + "type": "string" } }, "required": [ @@ -200,10 +153,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_watermark_identifier": stream_watermark_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -272,19 +222,20 @@ export const tools: readonly Tool[] = [ { name: "stream_watermarks_get", title: "Watermark profile details", - description: "Retrieves details for a single watermark profile.", + description: "Retrieves details for a single watermark profile.\n\nGET /accounts/{account_id}/stream/watermarks/{identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/stream_watermark_identifier", - "description": "The unique identifier for a watermark profile." + "description": "The unique identifier for a watermark profile.", + "type": "string" } }, "required": [ @@ -297,29 +248,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - "stream_watermark_identifier": stream_watermark_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_watermark_response_single", $defs: { "stream_api-response-single": stream_api$$response$$single, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_height": stream_height, "stream_messages": stream_messages, - "stream_name": stream_name, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_position": stream_position, - "stream_scale": stream_scale, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, "stream_watermark_response_single": stream_watermark_response_single, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, annotations: { @@ -349,20 +286,9 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common-failure": stream_api$$response$$common$$failure, "stream_api-response-single": stream_api$$response$$single, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_height": stream_height, "stream_messages": stream_messages, - "stream_name": stream_name, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_position": stream_position, - "stream_scale": stream_scale, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, "stream_watermark_response_single": stream_watermark_response_single, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, request: (args) => ({ @@ -372,15 +298,16 @@ export const tools: readonly Tool[] = [ { name: "stream_watermarks_list", title: "List watermark profiles", - description: "Lists all watermark profiles for an account.", + description: "Lists all watermark profiles for an account.\n\nGET /accounts/{account_id}/stream/watermarks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -392,28 +319,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_watermark_response_collection", $defs: { "stream_api-response-common": stream_api$$response$$common, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_height": stream_height, "stream_messages": stream_messages, - "stream_name": stream_name, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_position": stream_position, - "stream_scale": stream_scale, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, "stream_watermark_response_collection": stream_watermark_response_collection, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, annotations: { @@ -443,20 +357,9 @@ export const tools: readonly Tool[] = [ $defs: { "stream_api-response-common": stream_api$$response$$common, "stream_api-response-common-failure": stream_api$$response$$common$$failure, - "stream_downloadedFrom": stream_downloadedFrom, - "stream_height": stream_height, "stream_messages": stream_messages, - "stream_name": stream_name, - "stream_opacity": stream_opacity, - "stream_padding": stream_padding, - "stream_position": stream_position, - "stream_scale": stream_scale, - "stream_watermark_created": stream_watermark_created, - "stream_watermark_identifier": stream_watermark_identifier, "stream_watermark_response_collection": stream_watermark_response_collection, - "stream_watermark_size": stream_watermark_size, "stream_watermarks": stream_watermarks, - "stream_width": stream_width, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/stream/webhooks/tools.ts b/src/generated/forge-mcp/stream/webhooks/tools.ts index 0cec0933c..46859587c 100644 --- a/src/generated/forge-mcp/stream/webhooks/tools.ts +++ b/src/generated/forge-mcp/stream/webhooks/tools.ts @@ -8,7 +8,6 @@ import { stream_deleted_response, stream_messages, } from "../outputs.js"; -import { stream_account_identifier } from "../schemas.js"; import { stream_webhook_response_single } from "./outputs.js"; import { stream_webhook_request } from "./schemas.js"; @@ -19,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "stream_webhooks_delete", title: "Delete webhooks", - description: "Deletes the on-demand video webhook.\n\nConfirm with the user before calling this tool. Delete this webhook? If recreated, the secret will change.", + description: "Deletes the on-demand video webhook.\n\nConfirm with the user before calling this tool. Delete this webhook? If recreated, the secret will change.\n\nDELETE /accounts/{account_id}/stream/webhook", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -39,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_deleted_response", @@ -88,15 +86,16 @@ export const tools: readonly Tool[] = [ { name: "stream_webhooks_get", title: "View webhook", - description: "Retrieve current on-demand webhook information.", + description: "Retrieve current on-demand webhook information.\n\nGET /accounts/{account_id}/stream/webhook", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -108,9 +107,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "stream_account_identifier": stream_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/stream_webhook_response_single", @@ -158,7 +155,7 @@ export const tools: readonly Tool[] = [ { name: "stream_webhooks_update", title: "Create VOD webhooks", - description: "Create a webhook for notifications about on-demand video uploads.\n\nConfirm with the user before calling this tool. Create a webhook for on-demand operations? Will replace previously configured webhook. Live input webhooks are handled via Notifications Service.", + description: "Create a webhook for notifications about on-demand video uploads.\n\nConfirm with the user before calling this tool. Create a webhook for on-demand operations? Will replace previously configured webhook. Live input webhooks are handled via Notifications Service.\n\nPUT /accounts/{account_id}/stream/webhook", inputSchema: { type: "object", properties: { @@ -166,10 +163,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/stream_webhook_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/stream_account_identifier", - "description": "The account identifier tag." + "description": "The account identifier tag.", + "type": "string" } }, "required": [ @@ -182,8 +180,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "stream_account_identifier": stream_account_identifier, "stream_webhook_request": stream_webhook_request, }, }, diff --git a/src/generated/forge-mcp/tags/accountResources/schemas.ts b/src/generated/forge-mcp/tags/accountResources/schemas.ts index dc1475fa5..353367394 100644 --- a/src/generated/forge-mcp/tags/accountResources/schemas.ts +++ b/src/generated/forge-mcp/tags/accountResources/schemas.ts @@ -3,106 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `resource-tagging_account_resource_type`. - */ -export const resource$$tagging_account_resource_type: JsonSchema = { - "description": "Identifies the type of account-level resource.", - "enum": [ - "access_application", - "access_group", - "access_service_token", - "account", - "account_ruleset", - "ai_gateway", - "ai_search_instance", - "ai_search_namespace", - "alerting_policy", - "alerting_webhook", - "cloudflared_tunnel", - "cws_deployment", - "cws_policy", - "cws_policy_set", - "cws_workload", - "d1_database", - "device", - "durable_object_namespace", - "gateway_list", - "gateway_rule", - "image", - "infrastructure_target", - "kv_namespace", - "load_balancer_monitor", - "load_balancer_pool", - "namespace_worker", - "pages_project", - "queue", - "r2_bucket", - "resource_share", - "stream_live_input", - "stream_video", - "vectorize_index", - "worker", - "worker_version" - ], - "type": "string" -}; - -/** - * The schema of `resource-tagging_account_resource_type_base_enum`. - */ -export const resource$$tagging_account_resource_type_base_enum: JsonSchema = { - "description": "Enum for base account-level resource types (those with no extra required fields).", - "enum": [ - "access_application", - "access_group", - "access_service_token", - "account", - "account_ruleset", - "ai_gateway", - "ai_search_instance", - "ai_search_namespace", - "alerting_policy", - "alerting_webhook", - "cloudflared_tunnel", - "cws_deployment", - "cws_policy", - "cws_policy_set", - "cws_workload", - "d1_database", - "device", - "durable_object_namespace", - "gateway_list", - "gateway_rule", - "image", - "infrastructure_target", - "kv_namespace", - "load_balancer_monitor", - "load_balancer_pool", - "namespace_worker", - "pages_project", - "queue", - "r2_bucket", - "resource_share", - "stream_live_input", - "stream_video", - "vectorize_index", - "worker" - ], - "type": "string" -}; - -/** - * The schema of `resource-tagging_account_resource_type_worker_version_enum`. - */ -export const resource$$tagging_account_resource_type_worker_version_enum: JsonSchema = { - "description": "Enum for worker_version resource type.", - "enum": [ - "worker_version" - ], - "type": "string" -}; - /** * The schema of `resource-tagging_delete_tags_request_account_level`. */ @@ -125,12 +25,48 @@ export const resource$$tagging_delete_tags_request_account_level_base: JsonSchem "description": "Request body schema for deleting tags from account-level resources.", "properties": { "resource_id": { - "$ref": "#/$defs/resource-tagging_resource_id", - "description": "Identifies the unique resource." + "description": "Identifies the unique resource.", + "type": "string" }, "resource_type": { - "$ref": "#/$defs/resource-tagging_account_resource_type_base_enum", - "description": "Enum for base account-level resource types (those with no extra required fields)." + "description": "Enum for base account-level resource types (those with no extra required fields).", + "enum": [ + "access_application", + "access_group", + "access_service_token", + "account", + "account_ruleset", + "ai_gateway", + "ai_search_instance", + "ai_search_namespace", + "alerting_policy", + "alerting_webhook", + "cloudflared_tunnel", + "cws_deployment", + "cws_policy", + "cws_policy_set", + "cws_workload", + "d1_database", + "device", + "durable_object_namespace", + "gateway_list", + "gateway_rule", + "image", + "infrastructure_target", + "kv_namespace", + "load_balancer_monitor", + "load_balancer_pool", + "namespace_worker", + "pages_project", + "queue", + "r2_bucket", + "resource_share", + "stream_live_input", + "stream_video", + "vectorize_index", + "worker" + ], + "type": "string" } }, "required": [ @@ -148,16 +84,19 @@ export const resource$$tagging_delete_tags_request_account_level_worker_version: "description": "Request body schema for deleting tags from worker_version resources.", "properties": { "resource_id": { - "$ref": "#/$defs/resource-tagging_resource_id", - "description": "Identifies the unique resource." + "description": "Identifies the unique resource.", + "type": "string" }, "resource_type": { - "$ref": "#/$defs/resource-tagging_account_resource_type_worker_version_enum", - "description": "Enum for worker_version resource type." + "description": "Enum for worker_version resource type.", + "enum": [ + "worker_version" + ], + "type": "string" }, "worker_id": { - "$ref": "#/$defs/resource-tagging_worker_id", - "description": "Worker ID is required only for worker_version resources" + "description": "Worker ID is required only for worker_version resources", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/tags/accountResources/tools.ts b/src/generated/forge-mcp/tags/accountResources/tools.ts index ddcf095c5..d5f6e4b18 100644 --- a/src/generated/forge-mcp/tags/accountResources/tools.ts +++ b/src/generated/forge-mcp/tags/accountResources/tools.ts @@ -3,15 +3,10 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource$$tagging_access_application_id, resource$$tagging_api$$response$$common, resource$$tagging_api$$response$$common$$failure, - resource$$tagging_etag, - resource$$tagging_identifier, resource$$tagging_messages, resource$$tagging_namespace_worker_navigation, - resource$$tagging_resource_id, - resource$$tagging_resource_name, resource$$tagging_tagged_resource_object, resource$$tagging_tagged_resource_object_access_application, resource$$tagging_tagged_resource_object_access_application_policy, @@ -64,22 +59,10 @@ import { resource$$tagging_tagged_resource_object_zone_level_base, resource$$tagging_tagged_resource_object_zone_ruleset, resource$$tagging_tags, - resource$$tagging_tags_updated_at, - resource$$tagging_worker_id, - resource$$tagging_zone_id, } from "../outputs.js"; -import { - resource$$tagging_account_id, - resource$$tagging_identifier as resource$$tagging_identifier$, - resource$$tagging_resource_id as resource$$tagging_resource_id$, - resource$$tagging_tags as resource$$tagging_tags$, - resource$$tagging_worker_id as resource$$tagging_worker_id$, -} from "../schemas.js"; +import { resource$$tagging_tags as resource$$tagging_tags$ } from "../schemas.js"; import { resource$$tagging_tagged_resource_response_single } from "./outputs.js"; import { - resource$$tagging_account_resource_type, - resource$$tagging_account_resource_type_base_enum, - resource$$tagging_account_resource_type_worker_version_enum, resource$$tagging_delete_tags_request_account_level, resource$$tagging_delete_tags_request_account_level_base, resource$$tagging_delete_tags_request_account_level_worker_version, @@ -95,7 +78,7 @@ export const tools: readonly Tool[] = [ { name: "tags_accountResources_delete", title: "Delete tags from an account or zone-level resource", - description: "Removes all tags from a specific account or zone-level resource.\n\nThis method is beta.", + description: "Removes all tags from a specific account or zone-level resource.\n\nThis method is beta.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/tags", inputSchema: { type: "object", properties: { @@ -103,15 +86,17 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-tagging_delete_tags_request_account_level" }, "headers": { + "additionalProperties": false, "properties": { "If-Match": { - "description": "ETag value for optimistic concurrency control. When provided, the server will\nverify the current resource ETag matches before applying the write. Returns\n412 Precondition Failed if the resource has been modified since the ETag was\nobtained. Omit this header for unconditional writes.\n", + "description": "ETag value for optimistic concurrency control. When provided, the server will\nverify the current resource ETag matches before applying the write. Returns\n412 Precondition Failed if the resource has been modified since the ETag was\nobtained. Omit this header for unconditional writes.", "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -122,8 +107,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/resource-tagging_account_id", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -137,16 +122,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-tagging_account_id": resource$$tagging_account_id, - "resource-tagging_account_resource_type_base_enum": resource$$tagging_account_resource_type_base_enum, - "resource-tagging_account_resource_type_worker_version_enum": resource$$tagging_account_resource_type_worker_version_enum, "resource-tagging_delete_tags_request_account_level": resource$$tagging_delete_tags_request_account_level, "resource-tagging_delete_tags_request_account_level_base": resource$$tagging_delete_tags_request_account_level_base, "resource-tagging_delete_tags_request_account_level_worker_version": resource$$tagging_delete_tags_request_account_level_worker_version, - "resource-tagging_identifier": resource$$tagging_identifier$, - "resource-tagging_resource_id": resource$$tagging_resource_id$, - "resource-tagging_worker_id": resource$$tagging_worker_id$, }, }, annotations: { @@ -196,11 +176,12 @@ export const tools: readonly Tool[] = [ { name: "tags_accountResources_get", title: "Get tags for an account or zone-level resource", - description: "Retrieves tags for a specific account or zone-level resource.\n\nThis method is beta.", + description: "Retrieves tags for a specific account or zone-level resource.\n\nThis method is beta.\n\nGET /{account_or_zone}/{account_or_zone_id}/tags", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -211,8 +192,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/resource-tagging_account_id", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -222,18 +203,56 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "resource_id": { - "$ref": "#/$defs/resource-tagging_resource_id", - "description": "The ID of the resource to retrieve tags for." + "description": "The ID of the resource to retrieve tags for.", + "type": "string" }, "resource_type": { - "$ref": "#/$defs/resource-tagging_account_resource_type", - "description": "The type of the resource." + "description": "The type of the resource.", + "enum": [ + "access_application", + "access_group", + "access_service_token", + "account", + "account_ruleset", + "ai_gateway", + "ai_search_instance", + "ai_search_namespace", + "alerting_policy", + "alerting_webhook", + "cloudflared_tunnel", + "cws_deployment", + "cws_policy", + "cws_policy_set", + "cws_workload", + "d1_database", + "device", + "durable_object_namespace", + "gateway_list", + "gateway_rule", + "image", + "infrastructure_target", + "kv_namespace", + "load_balancer_monitor", + "load_balancer_pool", + "namespace_worker", + "pages_project", + "queue", + "r2_bucket", + "resource_share", + "stream_live_input", + "stream_video", + "vectorize_index", + "worker", + "worker_version" + ], + "type": "string" }, "worker_id": { - "$ref": "#/$defs/resource-tagging_worker_id", - "description": "Worker identifier. Required for worker_version resources." + "description": "Worker identifier. Required for worker_version resources.", + "type": "string" } }, "required": [ @@ -247,25 +266,14 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "resource-tagging_account_id": resource$$tagging_account_id, - "resource-tagging_account_resource_type": resource$$tagging_account_resource_type, - "resource-tagging_identifier": resource$$tagging_identifier$, - "resource-tagging_resource_id": resource$$tagging_resource_id$, - "resource-tagging_worker_id": resource$$tagging_worker_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tagged_resource_response_single", $defs: { - "resource-tagging_access_application_id": resource$$tagging_access_application_id, "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, - "resource-tagging_etag": resource$$tagging_etag, - "resource-tagging_identifier": resource$$tagging_identifier, "resource-tagging_messages": resource$$tagging_messages, "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, - "resource-tagging_resource_id": resource$$tagging_resource_id, - "resource-tagging_resource_name": resource$$tagging_resource_name, "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, @@ -319,9 +327,6 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, "resource-tagging_tagged_resource_response_single": resource$$tagging_tagged_resource_response_single, "resource-tagging_tags": resource$$tagging_tags, - "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, - "resource-tagging_worker_id": resource$$tagging_worker_id, - "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, annotations: { @@ -355,15 +360,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_access_application_id": resource$$tagging_access_application_id, "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, - "resource-tagging_etag": resource$$tagging_etag, - "resource-tagging_identifier": resource$$tagging_identifier, "resource-tagging_messages": resource$$tagging_messages, "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, - "resource-tagging_resource_id": resource$$tagging_resource_id, - "resource-tagging_resource_name": resource$$tagging_resource_name, "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, @@ -417,9 +417,6 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, "resource-tagging_tagged_resource_response_single": resource$$tagging_tagged_resource_response_single, "resource-tagging_tags": resource$$tagging_tags, - "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, - "resource-tagging_worker_id": resource$$tagging_worker_id, - "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, request: (args) => ({ @@ -434,7 +431,7 @@ export const tools: readonly Tool[] = [ { name: "tags_accountResources_update", title: "Set tags for an account or zone-level resource", - description: "Creates or updates tags for a specific account or zone-level resource. Replaces all existing tags for the resource.\n\nThis method is beta.", + description: "Creates or updates tags for a specific account or zone-level resource. Replaces all existing tags for the resource.\n\nThis method is beta.\n\nPUT /{account_or_zone}/{account_or_zone_id}/tags", inputSchema: { type: "object", properties: { @@ -442,15 +439,17 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/resource-tagging_set_tags_request_account_level" }, "headers": { + "additionalProperties": false, "properties": { "If-Match": { - "description": "ETag value for optimistic concurrency control. When provided, the server will\nverify the current resource ETag matches before applying the write. Returns\n412 Precondition Failed if the resource has been modified since the ETag was\nobtained. Omit this header for unconditional writes.\n", + "description": "ETag value for optimistic concurrency control. When provided, the server will\nverify the current resource ETag matches before applying the write. Returns\n412 Precondition Failed if the resource has been modified since the ETag was\nobtained. Omit this header for unconditional writes.", "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -461,8 +460,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/resource-tagging_account_id", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -476,32 +475,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "resource-tagging_account_id": resource$$tagging_account_id, - "resource-tagging_account_resource_type_base_enum": resource$$tagging_account_resource_type_base_enum, - "resource-tagging_account_resource_type_worker_version_enum": resource$$tagging_account_resource_type_worker_version_enum, "resource-tagging_delete_tags_request_account_level_base": resource$$tagging_delete_tags_request_account_level_base, "resource-tagging_delete_tags_request_account_level_worker_version": resource$$tagging_delete_tags_request_account_level_worker_version, - "resource-tagging_identifier": resource$$tagging_identifier$, - "resource-tagging_resource_id": resource$$tagging_resource_id$, "resource-tagging_set_tags_request_account_level": resource$$tagging_set_tags_request_account_level, "resource-tagging_set_tags_request_account_level_base": resource$$tagging_set_tags_request_account_level_base, "resource-tagging_set_tags_request_account_level_worker_version": resource$$tagging_set_tags_request_account_level_worker_version, "resource-tagging_tags": resource$$tagging_tags$, - "resource-tagging_worker_id": resource$$tagging_worker_id$, }, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tagged_resource_response_single", $defs: { - "resource-tagging_access_application_id": resource$$tagging_access_application_id, "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, - "resource-tagging_etag": resource$$tagging_etag, - "resource-tagging_identifier": resource$$tagging_identifier, "resource-tagging_messages": resource$$tagging_messages, "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, - "resource-tagging_resource_id": resource$$tagging_resource_id, - "resource-tagging_resource_name": resource$$tagging_resource_name, "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, @@ -555,9 +544,6 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, "resource-tagging_tagged_resource_response_single": resource$$tagging_tagged_resource_response_single, "resource-tagging_tags": resource$$tagging_tags, - "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, - "resource-tagging_worker_id": resource$$tagging_worker_id, - "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, annotations: { @@ -594,15 +580,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_access_application_id": resource$$tagging_access_application_id, "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, - "resource-tagging_etag": resource$$tagging_etag, - "resource-tagging_identifier": resource$$tagging_identifier, "resource-tagging_messages": resource$$tagging_messages, "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, - "resource-tagging_resource_id": resource$$tagging_resource_id, - "resource-tagging_resource_name": resource$$tagging_resource_name, "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, @@ -656,9 +637,6 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, "resource-tagging_tagged_resource_response_single": resource$$tagging_tagged_resource_response_single, "resource-tagging_tags": resource$$tagging_tags, - "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, - "resource-tagging_worker_id": resource$$tagging_worker_id, - "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tags/keys/tools.ts b/src/generated/forge-mcp/tags/keys/tools.ts index f14bdc016..cd983de46 100644 --- a/src/generated/forge-mcp/tags/keys/tools.ts +++ b/src/generated/forge-mcp/tags/keys/tools.ts @@ -8,10 +8,6 @@ import { resource$$tagging_cursor_result_info, resource$$tagging_messages, } from "../outputs.js"; -import { - resource$$tagging_account_id, - resource$$tagging_identifier, -} from "../schemas.js"; import { resource$$tagging_tag_keys_response_collection } from "./outputs.js"; /** @@ -21,14 +17,16 @@ export const tools: readonly Tool[] = [ { name: "tags_keys_list", title: "List tag keys", - description: "Lists all distinct tag keys used across resources in an account.\n\nThis method is beta.", + description: "Lists all distinct tag keys used across resources in an account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/tags/keys", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-tagging_account_id" + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -37,6 +35,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Cursor for pagination.", @@ -49,10 +48,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-tagging_account_id": resource$$tagging_account_id, - "resource-tagging_identifier": resource$$tagging_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tag_keys_response_collection", diff --git a/src/generated/forge-mcp/tags/outputs.ts b/src/generated/forge-mcp/tags/outputs.ts index 1800572a0..03a2cae55 100644 --- a/src/generated/forge-mcp/tags/outputs.ts +++ b/src/generated/forge-mcp/tags/outputs.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `resource-tagging_access_application_id` in responses. - */ -export const resource$$tagging_access_application_id: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `resource-tagging_api-response-common` in responses. */ @@ -89,20 +81,6 @@ export const resource$$tagging_cursor_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `resource-tagging_etag` in responses. - */ -export const resource$$tagging_etag: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `resource-tagging_identifier` in responses. - */ -export const resource$$tagging_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `resource-tagging_messages` in responses. */ @@ -159,20 +137,6 @@ export const resource$$tagging_namespace_worker_navigation: JsonSchema = { "type": "object" }; -/** - * The schema of `resource-tagging_resource_id` in responses. - */ -export const resource$$tagging_resource_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `resource-tagging_resource_name` in responses. - */ -export const resource$$tagging_resource_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `resource-tagging_tagged_resource_object` in responses. */ @@ -380,25 +344,27 @@ export const resource$$tagging_tagged_resource_object_access_application_policy: export const resource$$tagging_tagged_resource_object_access_application_policy_base: JsonSchema = { "properties": { "access_application_id": { - "$ref": "#/$defs/resource-tagging_access_application_id" + "format": "uuid", + "type": "string" }, "etag": { - "$ref": "#/$defs/resource-tagging_etag" + "type": "string" }, "id": { - "$ref": "#/$defs/resource-tagging_resource_id" + "type": "string" }, "name": { - "$ref": "#/$defs/resource-tagging_resource_name" + "type": "string" }, "tags": { "$ref": "#/$defs/resource-tagging_tags" }, "tags_updated_at": { - "$ref": "#/$defs/resource-tagging_tags_updated_at" + "format": "date-time", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/resource-tagging_zone_id" + "type": "string" } }, "required": [ @@ -496,19 +462,20 @@ export const resource$$tagging_tagged_resource_object_account: JsonSchema = { export const resource$$tagging_tagged_resource_object_account_level_base: JsonSchema = { "properties": { "etag": { - "$ref": "#/$defs/resource-tagging_etag" + "type": "string" }, "id": { - "$ref": "#/$defs/resource-tagging_resource_id" + "type": "string" }, "name": { - "$ref": "#/$defs/resource-tagging_resource_name" + "type": "string" }, "tags": { "$ref": "#/$defs/resource-tagging_tags" }, "tags_updated_at": { - "$ref": "#/$defs/resource-tagging_tags_updated_at" + "format": "date-time", + "type": "string" } }, "required": [ @@ -1542,22 +1509,23 @@ export const resource$$tagging_tagged_resource_object_worker_version: JsonSchema export const resource$$tagging_tagged_resource_object_worker_version_base: JsonSchema = { "properties": { "etag": { - "$ref": "#/$defs/resource-tagging_etag" + "type": "string" }, "id": { - "$ref": "#/$defs/resource-tagging_resource_id" + "type": "string" }, "name": { - "$ref": "#/$defs/resource-tagging_resource_name" + "type": "string" }, "tags": { "$ref": "#/$defs/resource-tagging_tags" }, "tags_updated_at": { - "$ref": "#/$defs/resource-tagging_tags_updated_at" + "format": "date-time", + "type": "string" }, "worker_id": { - "$ref": "#/$defs/resource-tagging_worker_id" + "type": "string" } }, "required": [ @@ -1602,22 +1570,23 @@ export const resource$$tagging_tagged_resource_object_zone: JsonSchema = { export const resource$$tagging_tagged_resource_object_zone_level_base: JsonSchema = { "properties": { "etag": { - "$ref": "#/$defs/resource-tagging_etag" + "type": "string" }, "id": { - "$ref": "#/$defs/resource-tagging_resource_id" + "type": "string" }, "name": { - "$ref": "#/$defs/resource-tagging_resource_name" + "type": "string" }, "tags": { "$ref": "#/$defs/resource-tagging_tags" }, "tags_updated_at": { - "$ref": "#/$defs/resource-tagging_tags_updated_at" + "format": "date-time", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/resource-tagging_zone_id" + "type": "string" } }, "required": [ @@ -1665,25 +1634,3 @@ export const resource$$tagging_tags: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `resource-tagging_tags_updated_at` in responses. - */ -export const resource$$tagging_tags_updated_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `resource-tagging_worker_id` in responses. - */ -export const resource$$tagging_worker_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `resource-tagging_zone_id` in responses. - */ -export const resource$$tagging_zone_id: JsonSchema = { - "$ref": "#/$defs/resource-tagging_identifier" -}; diff --git a/src/generated/forge-mcp/tags/resources/tools.ts b/src/generated/forge-mcp/tags/resources/tools.ts index b16f8ad71..713c540e3 100644 --- a/src/generated/forge-mcp/tags/resources/tools.ts +++ b/src/generated/forge-mcp/tags/resources/tools.ts @@ -3,16 +3,11 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - resource$$tagging_access_application_id, resource$$tagging_api$$response$$common, resource$$tagging_api$$response$$common$$failure, resource$$tagging_cursor_result_info, - resource$$tagging_etag, - resource$$tagging_identifier, resource$$tagging_messages, resource$$tagging_namespace_worker_navigation, - resource$$tagging_resource_id, - resource$$tagging_resource_name, resource$$tagging_tagged_resource_object, resource$$tagging_tagged_resource_object_access_application, resource$$tagging_tagged_resource_object_access_application_policy, @@ -65,16 +60,7 @@ import { resource$$tagging_tagged_resource_object_zone_level_base, resource$$tagging_tagged_resource_object_zone_ruleset, resource$$tagging_tags, - resource$$tagging_tags_updated_at, - resource$$tagging_worker_id, - resource$$tagging_zone_id, } from "../outputs.js"; -import { - resource$$tagging_account_id, - resource$$tagging_identifier as resource$$tagging_identifier$, - resource$$tagging_resource_id as resource$$tagging_resource_id$, - resource$$tagging_resource_type, -} from "../schemas.js"; import { resource$$tagging_tagged_resource_response_collection } from "./outputs.js"; /** @@ -84,14 +70,16 @@ export const tools: readonly Tool[] = [ { name: "tags_resources_list", title: "List tagged resources", - description: "Lists all tagged resources for an account.\n\nThis method is beta.", + description: "Lists all tagged resources for an account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/tags/resources", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-tagging_account_id" + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -100,6 +88,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "case_insensitive": { "default": false, @@ -113,7 +102,8 @@ export const tools: readonly Tool[] = [ "id": { "description": "Filter by resource ID. Can be repeated up to 50 times to filter by multiple IDs. Example: ?id=abc&id=def", "items": { - "$ref": "#/$defs/resource-tagging_resource_id" + "description": "Identifies the unique resource.", + "type": "string" }, "maxItems": 50, "type": "array" @@ -128,7 +118,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "tag": { - "description": "Filter resources by tag criteria. This parameter can be repeated multiple times, with AND logic between parameters.\n\nSupported syntax:\n- **Key-only**: `tag=` - Resource must have the tag key (e.g., `tag=production`)\n- **Key-value**: `tag==` - Resource must have the tag with specific value (e.g., `tag=env=prod`)\n- **Multiple values (OR)**: `tag==,` - Resource must have tag with any of the values (e.g., `tag=env=prod,staging`)\n- **Negate key-only**: `tag=!` - Resource must not have the tag key (e.g., `tag=!archived`)\n- **Negate key-value**: `tag=!=` - Resource must not have the tag with specific value (e.g., `tag=region!=us-west-1`)\n\nMultiple tag parameters are combined with AND logic.\n", + "description": "Filter resources by tag criteria. This parameter can be repeated multiple times, with AND logic between parameters.\n\nSupported syntax:\n- **Key-only**: `tag=` - Resource must have the tag key (e.g., `tag=production`)\n- **Key-value**: `tag==` - Resource must have the tag with specific value (e.g., `tag=env=prod`)\n- **Multiple values (OR)**: `tag==,` - Resource must have tag with any of the values (e.g., `tag=env=prod,staging`)\n- **Negate key-only**: `tag=!` - Resource must not have the tag key (e.g., `tag=!archived`)\n- **Negate key-value**: `tag=!=` - Resource must not have the tag with specific value (e.g., `tag=region!=us-west-1`)\n\nMultiple tag parameters are combined with AND logic.", "items": { "type": "string" }, @@ -137,7 +127,56 @@ export const tools: readonly Tool[] = [ "type": { "description": "Filter by resource type. Can be repeated to filter by multiple types (OR logic). Example: ?type=zone&type=worker", "items": { - "$ref": "#/$defs/resource-tagging_resource_type" + "description": "Identifies the type of resource.", + "enum": [ + "access_application", + "access_application_policy", + "access_group", + "access_service_token", + "account", + "account_ruleset", + "ai_gateway", + "ai_search_instance", + "ai_search_namespace", + "alerting_policy", + "alerting_webhook", + "api_gateway_operation", + "cloudflared_tunnel", + "custom_certificate", + "custom_hostname", + "cws_deployment", + "cws_policy", + "cws_policy_set", + "cws_workload", + "d1_database", + "device", + "dns_record", + "durable_object_namespace", + "gateway_list", + "gateway_rule", + "healthcheck", + "image", + "infrastructure_target", + "kv_namespace", + "load_balancer", + "load_balancer_monitor", + "load_balancer_pool", + "managed_client_certificate", + "namespace_worker", + "pages_project", + "queue", + "r2_bucket", + "resource_share", + "stream_live_input", + "stream_video", + "vectorize_index", + "worker", + "worker_route", + "worker_version", + "zone", + "zone_ruleset" + ], + "type": "string" }, "type": "array" } @@ -148,25 +187,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-tagging_account_id": resource$$tagging_account_id, - "resource-tagging_identifier": resource$$tagging_identifier$, - "resource-tagging_resource_id": resource$$tagging_resource_id$, - "resource-tagging_resource_type": resource$$tagging_resource_type, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tagged_resource_response_collection", $defs: { - "resource-tagging_access_application_id": resource$$tagging_access_application_id, "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, - "resource-tagging_etag": resource$$tagging_etag, - "resource-tagging_identifier": resource$$tagging_identifier, "resource-tagging_messages": resource$$tagging_messages, "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, - "resource-tagging_resource_id": resource$$tagging_resource_id, - "resource-tagging_resource_name": resource$$tagging_resource_name, "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, @@ -220,9 +249,6 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, "resource-tagging_tagged_resource_response_collection": resource$$tagging_tagged_resource_response_collection, "resource-tagging_tags": resource$$tagging_tags, - "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, - "resource-tagging_worker_id": resource$$tagging_worker_id, - "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, annotations: { @@ -256,16 +282,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "resource-tagging_access_application_id": resource$$tagging_access_application_id, "resource-tagging_api-response-common": resource$$tagging_api$$response$$common, "resource-tagging_api-response-common-failure": resource$$tagging_api$$response$$common$$failure, "resource-tagging_cursor_result_info": resource$$tagging_cursor_result_info, - "resource-tagging_etag": resource$$tagging_etag, - "resource-tagging_identifier": resource$$tagging_identifier, "resource-tagging_messages": resource$$tagging_messages, "resource-tagging_namespace_worker_navigation": resource$$tagging_namespace_worker_navigation, - "resource-tagging_resource_id": resource$$tagging_resource_id, - "resource-tagging_resource_name": resource$$tagging_resource_name, "resource-tagging_tagged_resource_object": resource$$tagging_tagged_resource_object, "resource-tagging_tagged_resource_object_access_application": resource$$tagging_tagged_resource_object_access_application, "resource-tagging_tagged_resource_object_access_application_policy": resource$$tagging_tagged_resource_object_access_application_policy, @@ -319,9 +340,6 @@ export const tools: readonly Tool[] = [ "resource-tagging_tagged_resource_object_zone_ruleset": resource$$tagging_tagged_resource_object_zone_ruleset, "resource-tagging_tagged_resource_response_collection": resource$$tagging_tagged_resource_response_collection, "resource-tagging_tags": resource$$tagging_tags, - "resource-tagging_tags_updated_at": resource$$tagging_tags_updated_at, - "resource-tagging_worker_id": resource$$tagging_worker_id, - "resource-tagging_zone_id": resource$$tagging_zone_id, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tags/schemas.ts b/src/generated/forge-mcp/tags/schemas.ts index c4fa1b70d..32256b8b8 100644 --- a/src/generated/forge-mcp/tags/schemas.ts +++ b/src/generated/forge-mcp/tags/schemas.ts @@ -3,85 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `resource-tagging_account_id`. - */ -export const resource$$tagging_account_id: JsonSchema = { - "$ref": "#/$defs/resource-tagging_identifier" -}; - -/** - * The schema of `resource-tagging_identifier`. - */ -export const resource$$tagging_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `resource-tagging_resource_id`. - */ -export const resource$$tagging_resource_id: JsonSchema = { - "description": "Identifies the unique resource.", - "type": "string" -}; - -/** - * The schema of `resource-tagging_resource_type`. - */ -export const resource$$tagging_resource_type: JsonSchema = { - "description": "Identifies the type of resource.", - "enum": [ - "access_application", - "access_application_policy", - "access_group", - "access_service_token", - "account", - "account_ruleset", - "ai_gateway", - "ai_search_instance", - "ai_search_namespace", - "alerting_policy", - "alerting_webhook", - "api_gateway_operation", - "cloudflared_tunnel", - "custom_certificate", - "custom_hostname", - "cws_deployment", - "cws_policy", - "cws_policy_set", - "cws_workload", - "d1_database", - "device", - "dns_record", - "durable_object_namespace", - "gateway_list", - "gateway_rule", - "healthcheck", - "image", - "infrastructure_target", - "kv_namespace", - "load_balancer", - "load_balancer_monitor", - "load_balancer_pool", - "managed_client_certificate", - "namespace_worker", - "pages_project", - "queue", - "r2_bucket", - "resource_share", - "stream_live_input", - "stream_video", - "vectorize_index", - "worker", - "worker_route", - "worker_version", - "zone", - "zone_ruleset" - ], - "type": "string" -}; - /** * The schema of `resource-tagging_tags`. */ @@ -92,11 +13,3 @@ export const resource$$tagging_tags: JsonSchema = { "description": "Contains key-value pairs of tags. Keys may contain at most 256 characters. Values may contain at most 1024 characters and may be empty for key-only tags.", "type": "object" }; - -/** - * The schema of `resource-tagging_worker_id`. - */ -export const resource$$tagging_worker_id: JsonSchema = { - "description": "Worker ID is required only for worker_version resources", - "type": "string" -}; diff --git a/src/generated/forge-mcp/tags/summary/tools.ts b/src/generated/forge-mcp/tags/summary/tools.ts index 2fb184a2b..28c08788a 100644 --- a/src/generated/forge-mcp/tags/summary/tools.ts +++ b/src/generated/forge-mcp/tags/summary/tools.ts @@ -8,10 +8,6 @@ import { resource$$tagging_cursor_result_info, resource$$tagging_messages, } from "../outputs.js"; -import { - resource$$tagging_account_id, - resource$$tagging_identifier, -} from "../schemas.js"; import { resource$$tagging_tag_key_summary, resource$$tagging_tag_key_summary_response_collection, @@ -24,14 +20,16 @@ export const tools: readonly Tool[] = [ { name: "tags_summary_get", title: "List tag key summary", - description: "Lists all distinct tag keys and their distinct values across resources in an account.\n\nThis method is beta.", + description: "Lists all distinct tag keys and their distinct values across resources in an account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/tags/summary", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-tagging_account_id" + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -40,6 +38,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Cursor for pagination.", @@ -52,10 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-tagging_account_id": resource$$tagging_account_id, - "resource-tagging_identifier": resource$$tagging_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tag_key_summary_response_collection", diff --git a/src/generated/forge-mcp/tags/values/tools.ts b/src/generated/forge-mcp/tags/values/tools.ts index cbe0dfd3c..65d3d2801 100644 --- a/src/generated/forge-mcp/tags/values/tools.ts +++ b/src/generated/forge-mcp/tags/values/tools.ts @@ -8,11 +8,6 @@ import { resource$$tagging_cursor_result_info, resource$$tagging_messages, } from "../outputs.js"; -import { - resource$$tagging_account_id, - resource$$tagging_identifier, - resource$$tagging_resource_type, -} from "../schemas.js"; import { resource$$tagging_tag_values_response_collection } from "./outputs.js"; /** @@ -22,14 +17,16 @@ export const tools: readonly Tool[] = [ { name: "tags_values_list", title: "List tag values", - description: "Lists all distinct values for a given tag key, optionally filtered by resource type.\n\nThis method is beta.", + description: "Lists all distinct values for a given tag key, optionally filtered by resource type.\n\nThis method is beta.\n\nGET /accounts/{account_id}/tags/values/{tag_key}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/resource-tagging_account_id" + "description": "Identifier.", + "type": "string" }, "tag_key": { "description": "The tag key to retrieve values for.", @@ -43,14 +40,63 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Cursor for pagination.", "type": "string" }, "type": { - "$ref": "#/$defs/resource-tagging_resource_type", - "description": "Filter by resource type." + "description": "Filter by resource type.", + "enum": [ + "access_application", + "access_application_policy", + "access_group", + "access_service_token", + "account", + "account_ruleset", + "ai_gateway", + "ai_search_instance", + "ai_search_namespace", + "alerting_policy", + "alerting_webhook", + "api_gateway_operation", + "cloudflared_tunnel", + "custom_certificate", + "custom_hostname", + "cws_deployment", + "cws_policy", + "cws_policy_set", + "cws_workload", + "d1_database", + "device", + "dns_record", + "durable_object_namespace", + "gateway_list", + "gateway_rule", + "healthcheck", + "image", + "infrastructure_target", + "kv_namespace", + "load_balancer", + "load_balancer_monitor", + "load_balancer_pool", + "managed_client_certificate", + "namespace_worker", + "pages_project", + "queue", + "r2_bucket", + "resource_share", + "stream_live_input", + "stream_video", + "vectorize_index", + "worker", + "worker_route", + "worker_version", + "zone", + "zone_ruleset" + ], + "type": "string" } }, "type": "object" @@ -59,11 +105,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "resource-tagging_account_id": resource$$tagging_account_id, - "resource-tagging_identifier": resource$$tagging_identifier, - "resource-tagging_resource_type": resource$$tagging_resource_type, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/resource-tagging_tag_values_response_collection", diff --git a/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts b/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts index 3939506ad..2c17adb8a 100644 --- a/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts +++ b/src/generated/forge-mcp/tenantCustomNameservers/outputs.ts @@ -27,10 +27,10 @@ export const dns$$custom$$nameservers_CustomNS$$2: JsonSchema = { "type": "array" }, "ns_name": { - "$ref": "#/$defs/dns-custom-nameservers_ns_name" + "type": "string" }, "ns_set": { - "$ref": "#/$defs/dns-custom-nameservers_ns_set" + "type": "number" }, "status": { "enum": [ @@ -41,7 +41,7 @@ export const dns$$custom$$nameservers_CustomNS$$2: JsonSchema = { "type": "string" }, "zone_tag": { - "$ref": "#/$defs/dns-custom-nameservers_identifier-2" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/tenantCustomNameservers/schemas.ts b/src/generated/forge-mcp/tenantCustomNameservers/schemas.ts deleted file mode 100644 index 13c7a7037..000000000 --- a/src/generated/forge-mcp/tenantCustomNameservers/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `dns-custom-nameservers_identifier-3`. - */ -export const dns$$custom$$nameservers_identifier$$3: JsonSchema = { - "description": "Tenant identifier tag.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/tenantCustomNameservers/tools.ts b/src/generated/forge-mcp/tenantCustomNameservers/tools.ts index b0cfd90ab..49a067ea7 100644 --- a/src/generated/forge-mcp/tenantCustomNameservers/tools.ts +++ b/src/generated/forge-mcp/tenantCustomNameservers/tools.ts @@ -7,23 +7,15 @@ import { dns$$custom$$nameservers_api$$response$$common, dns$$custom$$nameservers_api$$response$$common$$failure, dns$$custom$$nameservers_api$$response$$single, - dns$$custom$$nameservers_identifier$$2, dns$$custom$$nameservers_messages, - dns$$custom$$nameservers_ns_name, - dns$$custom$$nameservers_ns_set, } from "../outputs.js"; -import { - dns$$custom$$nameservers_CustomNSInput, - dns$$custom$$nameservers_ns_name as dns$$custom$$nameservers_ns_name$, - dns$$custom$$nameservers_ns_set as dns$$custom$$nameservers_ns_set$, -} from "../schemas.js"; +import { dns$$custom$$nameservers_CustomNSInput } from "../schemas.js"; import { dns$$custom$$nameservers_CustomNS$$2, dns$$custom$$nameservers_empty_response$$3, dns$$custom$$nameservers_tcns_response_collection, dns$$custom$$nameservers_tcns_response_single, } from "./outputs.js"; -import { dns$$custom$$nameservers_identifier$$3 } from "./schemas.js"; /** * The tools of `tenantCustomNameservers`. @@ -32,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "tenantCustomNameservers_create", title: "Add Tenant Custom Nameserver", - description: "Adds a custom nameserver for a tenant.", + description: "Adds a custom nameserver for a tenant.\n\nPOST /tenants/{tenant_id}/custom_ns", inputSchema: { type: "object", properties: { @@ -40,10 +32,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dns-custom-nameservers_CustomNSInput" }, "path": { + "additionalProperties": false, "properties": { "tenant_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier-3", - "description": "Tenant identifier tag." + "description": "Tenant identifier tag.", + "type": "string" } }, "required": [ @@ -56,11 +49,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dns-custom-nameservers_CustomNSInput": dns$$custom$$nameservers_CustomNSInput, - "dns-custom-nameservers_identifier-3": dns$$custom$$nameservers_identifier$$3, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name$, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set$, }, }, outputSchema: { @@ -68,10 +59,7 @@ export const tools: readonly Tool[] = [ $defs: { "dns-custom-nameservers_CustomNS-2": dns$$custom$$nameservers_CustomNS$$2, "dns-custom-nameservers_api-response-single": dns$$custom$$nameservers_api$$response$$single, - "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, "dns-custom-nameservers_tcns_response_single": dns$$custom$$nameservers_tcns_response_single, }, }, @@ -112,10 +100,7 @@ export const tools: readonly Tool[] = [ "dns-custom-nameservers_CustomNS-2": dns$$custom$$nameservers_CustomNS$$2, "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, "dns-custom-nameservers_api-response-single": dns$$custom$$nameservers_api$$response$$single, - "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, "dns-custom-nameservers_tcns_response_single": dns$$custom$$nameservers_tcns_response_single, }, }, @@ -127,19 +112,20 @@ export const tools: readonly Tool[] = [ { name: "tenantCustomNameservers_delete", title: "Delete Tenant Custom Nameserver", - description: "Deletes a tenant's custom nameserver.", + description: "Deletes a tenant's custom nameserver.\n\nDELETE /tenants/{tenant_id}/custom_ns/{custom_ns_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "custom_ns_id": { - "$ref": "#/$defs/dns-custom-nameservers_ns_name", - "description": "The FQDN of the name server." + "description": "The FQDN of the name server.", + "type": "string" }, "tenant_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier-3", - "description": "Tenant identifier tag." + "description": "Tenant identifier tag.", + "type": "string" } }, "required": [ @@ -152,10 +138,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-custom-nameservers_identifier-3": dns$$custom$$nameservers_identifier$$3, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_empty_response-3", @@ -214,15 +197,16 @@ export const tools: readonly Tool[] = [ { name: "tenantCustomNameservers_get", title: "List Tenant Custom Nameservers", - description: "Lists a tenant's custom nameservers.", + description: "Lists a tenant's custom nameservers.\n\nGET /tenants/{tenant_id}/custom_ns", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "tenant_id": { - "$ref": "#/$defs/dns-custom-nameservers_identifier-3", - "description": "Tenant identifier tag." + "description": "Tenant identifier tag.", + "type": "string" } }, "required": [ @@ -234,9 +218,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dns-custom-nameservers_identifier-3": dns$$custom$$nameservers_identifier$$3, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/dns-custom-nameservers_tcns_response_collection", @@ -244,10 +226,7 @@ export const tools: readonly Tool[] = [ "dns-custom-nameservers_CustomNS-2": dns$$custom$$nameservers_CustomNS$$2, "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, - "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, "dns-custom-nameservers_tcns_response_collection": dns$$custom$$nameservers_tcns_response_collection, }, }, @@ -289,10 +268,7 @@ export const tools: readonly Tool[] = [ "dns-custom-nameservers_api-response-collection": dns$$custom$$nameservers_api$$response$$collection, "dns-custom-nameservers_api-response-common": dns$$custom$$nameservers_api$$response$$common, "dns-custom-nameservers_api-response-common-failure": dns$$custom$$nameservers_api$$response$$common$$failure, - "dns-custom-nameservers_identifier-2": dns$$custom$$nameservers_identifier$$2, "dns-custom-nameservers_messages": dns$$custom$$nameservers_messages, - "dns-custom-nameservers_ns_name": dns$$custom$$nameservers_ns_name, - "dns-custom-nameservers_ns_set": dns$$custom$$nameservers_ns_set, "dns-custom-nameservers_tcns_response_collection": dns$$custom$$nameservers_tcns_response_collection, }, }, diff --git a/src/generated/forge-mcp/tunnel/tools.ts b/src/generated/forge-mcp/tunnel/tools.ts index dd0be756b..a35bb4fa8 100644 --- a/src/generated/forge-mcp/tunnel/tools.ts +++ b/src/generated/forge-mcp/tunnel/tools.ts @@ -3,42 +3,16 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { - tunnel_account_id, tunnel_api$$response$$collection, tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, tunnel_cfd_tunnel, - tunnel_client_id, - tunnel_colo_name, - tunnel_config_src, - tunnel_connection_id, tunnel_connections_deprecated, - tunnel_conns_active_at, - tunnel_conns_inactive_at, - tunnel_created_at, - tunnel_deleted_at, - tunnel_ip, - tunnel_is_pending_reconnect, tunnel_messages, tunnel_metadata, - tunnel_remote_config, tunnel_result_info, tunnel_schemas$$connection, - tunnel_status, - tunnel_tunnel_id, - tunnel_tunnel_name, - tunnel_tunnel_type, - tunnel_version, } from "../outputs.js"; -import { - tunnel_account_id as tunnel_account_id$, - tunnel_existed_at, - tunnel_page_number, - tunnel_per_page, - tunnel_status as tunnel_status$, - tunnel_tunnel_id as tunnel_tunnel_id$, - tunnel_tunnel_name as tunnel_tunnel_name$, -} from "../schemas.js"; import { tunnel_cfd$$tunnel$$response$$collection } from "./outputs.js"; /** @@ -48,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "tunnel_list", title: "List Cloudflare Tunnels", - description: "Lists and filters Cloudflare Tunnels in an account.", + description: "Lists and filters Cloudflare Tunnels in an account.\n\nGET /accounts/{account_id}/cfd_tunnel", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -65,13 +40,14 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "exclude_prefix": { "type": "string" }, "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded.", + "type": "string" }, "include_prefix": { "type": "string" @@ -81,25 +57,32 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "name": { - "$ref": "#/$defs/tunnel_tunnel_name", - "description": "A user-friendly name for a tunnel." + "description": "A user-friendly name for a tunnel.", + "type": "string" }, "page": { - "$ref": "#/$defs/tunnel_page_number", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "number" }, "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." + "description": "Number of results to display.", + "type": "number" }, "status": { - "$ref": "#/$defs/tunnel_status", - "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge)." + "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).", + "enum": [ + "inactive", + "degraded", + "healthy", + "down" + ], + "type": "string" }, "uuid": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" }, "was_active_at": { "format": "date-time", @@ -116,45 +99,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_existed_at": tunnel_existed_at, - "tunnel_page_number": tunnel_page_number, - "tunnel_per_page": tunnel_per_page, - "tunnel_status": tunnel_status$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - "tunnel_tunnel_name": tunnel_tunnel_name$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-collection", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_cfd-tunnel-response-collection": tunnel_cfd$$tunnel$$response$$collection, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_result_info": tunnel_result_info, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, annotations: { @@ -196,33 +154,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, "tunnel_cfd-tunnel-response-collection": tunnel_cfd$$tunnel$$response$$collection, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_result_info": tunnel_result_info, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/config/outputs.ts b/src/generated/forge-mcp/tunnels/config/outputs.ts index a4acccc4c..412d77384 100644 --- a/src/generated/forge-mcp/tunnels/config/outputs.ts +++ b/src/generated/forge-mcp/tunnels/config/outputs.ts @@ -22,46 +22,34 @@ export const tunnel_config: JsonSchema = { "type": "object" }; -/** - * The schema of `tunnel_config_src-2` in responses. - */ -export const tunnel_config_src$$2: JsonSchema = { - "enum": [ - "local", - "cloudflare" - ], - "type": "string" -}; - -/** - * The schema of `tunnel_config_version-2` in responses. - */ -export const tunnel_config_version$$2: JsonSchema = { - "type": "integer" -}; - /** * The schema of `tunnel_configuration` in responses. */ export const tunnel_configuration: JsonSchema = { "properties": { "account_id": { - "$ref": "#/$defs/tunnel_identifier" + "type": "string" }, "config": { "$ref": "#/$defs/tunnel_config" }, "created_at": { - "$ref": "#/$defs/tunnel_timestamp" + "format": "date-time", + "type": "string" }, "source": { - "$ref": "#/$defs/tunnel_config_src-2" + "enum": [ + "local", + "cloudflare" + ], + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2" + "format": "uuid", + "type": "string" }, "version": { - "$ref": "#/$defs/tunnel_config_version-2" + "type": "integer" } }, "type": "object" @@ -182,11 +170,3 @@ export const tunnel_originRequest: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `tunnel_timestamp` in responses. - */ -export const tunnel_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/tunnels/config/schemas.ts b/src/generated/forge-mcp/tunnels/config/schemas.ts index e59cdd91c..621917729 100644 --- a/src/generated/forge-mcp/tunnels/config/schemas.ts +++ b/src/generated/forge-mcp/tunnels/config/schemas.ts @@ -44,7 +44,7 @@ export const tunnel_ingressRule: JsonSchema = { "type": "string" }, "service": { - "description": "Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code http_status:[code] e.g. 'http_status:404'.\n", + "description": "Protocol and address of destination server. Supported protocols: http://, https://, unix://, tcp://, ssh://, rdp://, unix+tls://, smb://. Alternatively can return a HTTP status code http_status:[code] e.g. 'http_status:404'.", "type": "string" } }, @@ -130,7 +130,7 @@ export const tunnel_originRequest: JsonSchema = { "type": "string" }, "proxyType": { - "description": "cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Valid options are: \"\" for the regular proxy and \"socks\" for a SOCKS5 proxy.\n", + "description": "cloudflared starts a proxy server to translate HTTP traffic into TCP when proxying, for example, SSH or RDP. This configures what type of proxy will be started. Valid options are: \"\" for the regular proxy and \"socks\" for a SOCKS5 proxy.", "type": "string" }, "tcpKeepAlive": { diff --git a/src/generated/forge-mcp/tunnels/config/tools.ts b/src/generated/forge-mcp/tunnels/config/tools.ts index e11733e62..76205e701 100644 --- a/src/generated/forge-mcp/tunnels/config/tools.ts +++ b/src/generated/forge-mcp/tunnels/config/tools.ts @@ -5,23 +5,14 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { tunnel_api$$response$$common$$failure$$2, tunnel_api$$response$$single$$2, - tunnel_identifier, tunnel_messages$$2, - tunnel_tunnel_id$$2, } from "../../outputs.js"; -import { - tunnel_identifier as tunnel_identifier$, - tunnel_tunnel_id$$2 as tunnel_tunnel_id$$2$, -} from "../../schemas.js"; import { tunnel_config, - tunnel_config_src$$2, - tunnel_config_version$$2, tunnel_configuration, tunnel_configuration_response, tunnel_ingressRule, tunnel_originRequest, - tunnel_timestamp, } from "./outputs.js"; import { tunnel_config as tunnel_config$, @@ -36,19 +27,21 @@ export const tools: readonly Tool[] = [ { name: "tunnels_config_get", title: "Get Tunnel configuration", - description: "Retrieves the configuration for a remotely managed Cloudflare Tunnel.", + description: "Retrieves the configuration for a remotely managed Cloudflare Tunnel.\n\nGET /accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -61,26 +54,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_identifier": tunnel_identifier$, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_configuration_response", $defs: { "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, "tunnel_config": tunnel_config, - "tunnel_config_src-2": tunnel_config_src$$2, - "tunnel_config_version-2": tunnel_config_version$$2, "tunnel_configuration": tunnel_configuration, "tunnel_configuration_response": tunnel_configuration_response, - "tunnel_identifier": tunnel_identifier, "tunnel_ingressRule": tunnel_ingressRule, "tunnel_messages-2": tunnel_messages$$2, "tunnel_originRequest": tunnel_originRequest, - "tunnel_timestamp": tunnel_timestamp, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, }, }, annotations: { @@ -115,16 +100,11 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-common-failure-2": tunnel_api$$response$$common$$failure$$2, "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, "tunnel_config": tunnel_config, - "tunnel_config_src-2": tunnel_config_src$$2, - "tunnel_config_version-2": tunnel_config_version$$2, "tunnel_configuration": tunnel_configuration, "tunnel_configuration_response": tunnel_configuration_response, - "tunnel_identifier": tunnel_identifier, "tunnel_ingressRule": tunnel_ingressRule, "tunnel_messages-2": tunnel_messages$$2, "tunnel_originRequest": tunnel_originRequest, - "tunnel_timestamp": tunnel_timestamp, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, }, }, request: (args) => ({ @@ -134,7 +114,7 @@ export const tools: readonly Tool[] = [ { name: "tunnels_config_update", title: "Update Tunnel configuration", - description: "Replaces the configuration for a remotely managed Cloudflare Tunnel, including its ingress rules and origin request settings.", + description: "Replaces the configuration for a remotely managed Cloudflare Tunnel, including its ingress rules and origin request settings.\n\nPUT /accounts/{account_id}/cfd_tunnel/{tunnel_id}/configurations", inputSchema: { type: "object", properties: { @@ -147,14 +127,16 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id-2", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -168,12 +150,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "tunnel_config": tunnel_config$, - "tunnel_identifier": tunnel_identifier$, "tunnel_ingressRule": tunnel_ingressRule$, "tunnel_originRequest": tunnel_originRequest$, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2$, }, }, outputSchema: { @@ -181,16 +162,11 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, "tunnel_config": tunnel_config, - "tunnel_config_src-2": tunnel_config_src$$2, - "tunnel_config_version-2": tunnel_config_version$$2, "tunnel_configuration": tunnel_configuration, "tunnel_configuration_response": tunnel_configuration_response, - "tunnel_identifier": tunnel_identifier, "tunnel_ingressRule": tunnel_ingressRule, "tunnel_messages-2": tunnel_messages$$2, "tunnel_originRequest": tunnel_originRequest, - "tunnel_timestamp": tunnel_timestamp, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, }, }, annotations: { @@ -222,16 +198,11 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-common-failure-2": tunnel_api$$response$$common$$failure$$2, "tunnel_api-response-single-2": tunnel_api$$response$$single$$2, "tunnel_config": tunnel_config, - "tunnel_config_src-2": tunnel_config_src$$2, - "tunnel_config_version-2": tunnel_config_version$$2, "tunnel_configuration": tunnel_configuration, "tunnel_configuration_response": tunnel_configuration_response, - "tunnel_identifier": tunnel_identifier, "tunnel_ingressRule": tunnel_ingressRule, "tunnel_messages-2": tunnel_messages$$2, "tunnel_originRequest": tunnel_originRequest, - "tunnel_timestamp": tunnel_timestamp, - "tunnel_tunnel_id-2": tunnel_tunnel_id$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/connections/tools.ts b/src/generated/forge-mcp/tunnels/connections/tools.ts index f9a14a109..d76e9bbcf 100644 --- a/src/generated/forge-mcp/tunnels/connections/tools.ts +++ b/src/generated/forge-mcp/tunnels/connections/tools.ts @@ -6,30 +6,13 @@ import { tunnel_api$$response$$collection, tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_arch, - tunnel_client_id, - tunnel_colo_name, - tunnel_connection_id, tunnel_empty_response, tunnel_features, - tunnel_ip, - tunnel_is_pending_reconnect, tunnel_messages, tunnel_result_info, - tunnel_run_at, tunnel_schemas$$connection, - tunnel_version, } from "../../outputs.js"; -import { - tunnel_account_id, - tunnel_client_id as tunnel_client_id$, - tunnel_tunnel_id, -} from "../../schemas.js"; -import { - tunnel_config_version, - tunnel_connections, - tunnel_tunnel_client, -} from "../outputs.js"; +import { tunnel_connections, tunnel_tunnel_client } from "../outputs.js"; import { tunnel_tunnel_connections_response } from "./outputs.js"; /** @@ -39,19 +22,21 @@ export const tools: readonly Tool[] = [ { name: "tunnels_connections_cleanup", title: "Clean up Cloudflare Tunnel connections", - description: "Removes a connection (aka Cloudflare Tunnel Connector) from a Cloudflare Tunnel independently of its current state. If no connector id (client_id) is provided all connectors will be removed. We recommend running this command after rotating tokens.\n\nConfirm with the user before calling this tool. This operation removes Cloudflare Tunnel connections.", + description: "Removes a connection (aka Cloudflare Tunnel Connector) from a Cloudflare Tunnel independently of its current state. If no connector id (client_id) is provided all connectors will be removed. We recommend running this command after rotating tokens.\n\nConfirm with the user before calling this tool. This operation removes Cloudflare Tunnel connections.\n\nDELETE /accounts/{account_id}/cfd_tunnel/{tunnel_id}/connections", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -61,10 +46,12 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "client_id": { - "$ref": "#/$defs/tunnel_client_id", - "description": "UUID of the Cloudflare Tunnel connector." + "description": "UUID of the Cloudflare Tunnel connector.", + "format": "uuid", + "type": "string" } }, "type": "object" @@ -73,11 +60,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_client_id": tunnel_client_id$, - "tunnel_tunnel_id": tunnel_tunnel_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_empty_response", @@ -136,19 +119,21 @@ export const tools: readonly Tool[] = [ { name: "tunnels_connections_list", title: "List Cloudflare Tunnel connections", - description: "Lists the connections for a Cloudflare Tunnel, including connector IDs, cloudflared versions, and Cloudflare locations.", + description: "Lists the connections for a Cloudflare Tunnel, including connector IDs, cloudflared versions, and Cloudflare locations.\n\nGET /accounts/{account_id}/cfd_tunnel/{tunnel_id}/connections", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -161,32 +146,20 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_connections_response", $defs: { "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_arch": tunnel_arch, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_version": tunnel_config_version, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections": tunnel_connections, "tunnel_features": tunnel_features, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, - "tunnel_run_at": tunnel_run_at, "tunnel_schemas-connection": tunnel_schemas$$connection, "tunnel_tunnel_client": tunnel_tunnel_client, "tunnel_tunnel_connections_response": tunnel_tunnel_connections_response, - "tunnel_version": tunnel_version, }, }, annotations: { @@ -228,22 +201,13 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_arch": tunnel_arch, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_version": tunnel_config_version, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections": tunnel_connections, "tunnel_features": tunnel_features, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_result_info": tunnel_result_info, - "tunnel_run_at": tunnel_run_at, "tunnel_schemas-connection": tunnel_schemas$$connection, "tunnel_tunnel_client": tunnel_tunnel_client, "tunnel_tunnel_connections_response": tunnel_tunnel_connections_response, - "tunnel_version": tunnel_version, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/connectors/tools.ts b/src/generated/forge-mcp/tunnels/connectors/tools.ts index d4cc6a12f..f3a9ffca5 100644 --- a/src/generated/forge-mcp/tunnels/connectors/tools.ts +++ b/src/generated/forge-mcp/tunnels/connectors/tools.ts @@ -5,28 +5,11 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, - tunnel_arch, - tunnel_client_id, - tunnel_colo_name, - tunnel_connection_id, tunnel_features, - tunnel_ip, - tunnel_is_pending_reconnect, tunnel_messages, - tunnel_run_at, tunnel_schemas$$connection, - tunnel_version, } from "../../outputs.js"; -import { - tunnel_account_id, - tunnel_client_id as tunnel_client_id$, - tunnel_tunnel_id, -} from "../../schemas.js"; -import { - tunnel_config_version, - tunnel_connections, - tunnel_tunnel_client, -} from "../outputs.js"; +import { tunnel_connections, tunnel_tunnel_client } from "../outputs.js"; import { tunnel_tunnel_client_response } from "./outputs.js"; /** @@ -36,23 +19,26 @@ export const tools: readonly Tool[] = [ { name: "tunnels_connectors_get", title: "Get Cloudflare Tunnel connector", - description: "Retrieves a connector and its connection details for a Cloudflare Tunnel, including its cloudflared version, architecture, and connected Cloudflare locations.", + description: "Retrieves a connector and its connection details for a Cloudflare Tunnel, including its cloudflared version, architecture, and connected Cloudflare locations.\n\nGET /accounts/{account_id}/cfd_tunnel/{tunnel_id}/connectors/{connector_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "connector_id": { - "$ref": "#/$defs/tunnel_client_id", - "description": "UUID of the Cloudflare Tunnel connector." + "description": "UUID of the Cloudflare Tunnel connector.", + "format": "uuid", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -66,31 +52,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_client_id": tunnel_client_id$, - "tunnel_tunnel_id": tunnel_tunnel_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_client_response", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_arch": tunnel_arch, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_version": tunnel_config_version, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections": tunnel_connections, "tunnel_features": tunnel_features, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, - "tunnel_run_at": tunnel_run_at, "tunnel_schemas-connection": tunnel_schemas$$connection, "tunnel_tunnel_client": tunnel_tunnel_client, "tunnel_tunnel_client_response": tunnel_tunnel_client_response, - "tunnel_version": tunnel_version, }, }, annotations: { @@ -131,21 +104,12 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_arch": tunnel_arch, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_version": tunnel_config_version, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections": tunnel_connections, "tunnel_features": tunnel_features, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, - "tunnel_run_at": tunnel_run_at, "tunnel_schemas-connection": tunnel_schemas$$connection, "tunnel_tunnel_client": tunnel_tunnel_client, "tunnel_tunnel_client_response": tunnel_tunnel_client_response, - "tunnel_version": tunnel_version, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/managementToken/schemas.ts b/src/generated/forge-mcp/tunnels/managementToken/schemas.ts deleted file mode 100644 index e63a370a4..000000000 --- a/src/generated/forge-mcp/tunnels/managementToken/schemas.ts +++ /dev/null @@ -1,15 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tunnel_management-resources`. - */ -export const tunnel_management$$resources: JsonSchema = { - "description": "Management resources the token will have access to.", - "enum": [ - "logs" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/tunnels/managementToken/tools.ts b/src/generated/forge-mcp/tunnels/managementToken/tools.ts index 41aa920c9..9c8be02de 100644 --- a/src/generated/forge-mcp/tunnels/managementToken/tools.ts +++ b/src/generated/forge-mcp/tunnels/managementToken/tools.ts @@ -7,10 +7,7 @@ import { tunnel_api$$response$$common$$failure, tunnel_messages, tunnel_tunnel_response_token, - tunnel_tunnel_token, } from "../../outputs.js"; -import { tunnel_account_id, tunnel_tunnel_id } from "../../schemas.js"; -import { tunnel_management$$resources } from "./schemas.js"; /** * The tools of `tunnels.managementToken`. @@ -19,7 +16,7 @@ export const tools: readonly Tool[] = [ { name: "tunnels_managementToken_create", title: "Get a Cloudflare Tunnel management token", - description: "Creates a short-lived management token for the requested Tunnel management resources, such as streaming logs. Treat the token as a secret.", + description: "Creates a short-lived management token for the requested Tunnel management resources, such as streaming logs. Treat the token as a secret.\n\nPOST /accounts/{account_id}/cfd_tunnel/{tunnel_id}/management", inputSchema: { type: "object", properties: { @@ -27,7 +24,11 @@ export const tools: readonly Tool[] = [ "properties": { "resources": { "items": { - "$ref": "#/$defs/tunnel_management-resources" + "description": "Management resources the token will have access to.", + "enum": [ + "logs" + ], + "type": "string" }, "type": "array" } @@ -38,14 +39,16 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -59,11 +62,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_management-resources": tunnel_management$$resources, - "tunnel_tunnel_id": tunnel_tunnel_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_response_token", @@ -71,7 +70,6 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_messages": tunnel_messages, "tunnel_tunnel_response_token": tunnel_tunnel_response_token, - "tunnel_tunnel_token": tunnel_tunnel_token, }, }, annotations: { @@ -111,7 +109,6 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, "tunnel_messages": tunnel_messages, "tunnel_tunnel_response_token": tunnel_tunnel_response_token, - "tunnel_tunnel_token": tunnel_tunnel_token, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/outputs.ts b/src/generated/forge-mcp/tunnels/outputs.ts index c76f5f72c..a23bb5725 100644 --- a/src/generated/forge-mcp/tunnels/outputs.ts +++ b/src/generated/forge-mcp/tunnels/outputs.ts @@ -22,13 +22,6 @@ export const tunnel_cfd$$tunnel$$response$$single: JsonSchema = { ] }; -/** - * The schema of `tunnel_config_version` in responses. - */ -export const tunnel_config_version: JsonSchema = { - "type": "integer" -}; - /** * The schema of `tunnel_connections` in responses. */ @@ -74,10 +67,10 @@ export const tunnel_tunnel$$response$$collection: JsonSchema = { export const tunnel_tunnel_client: JsonSchema = { "properties": { "arch": { - "$ref": "#/$defs/tunnel_arch" + "type": "string" }, "config_version": { - "$ref": "#/$defs/tunnel_config_version" + "type": "integer" }, "conns": { "$ref": "#/$defs/tunnel_connections" @@ -86,13 +79,15 @@ export const tunnel_tunnel_client: JsonSchema = { "$ref": "#/$defs/tunnel_features" }, "id": { - "$ref": "#/$defs/tunnel_connection_id" + "format": "uuid", + "type": "string" }, "run_at": { - "$ref": "#/$defs/tunnel_run_at" + "format": "date-time", + "type": "string" }, "version": { - "$ref": "#/$defs/tunnel_version" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/tunnels/token/tools.ts b/src/generated/forge-mcp/tunnels/token/tools.ts index 1eb29b8dd..fc70c028a 100644 --- a/src/generated/forge-mcp/tunnels/token/tools.ts +++ b/src/generated/forge-mcp/tunnels/token/tools.ts @@ -7,9 +7,7 @@ import { tunnel_api$$response$$common$$failure, tunnel_messages, tunnel_tunnel_response_token, - tunnel_tunnel_token, } from "../../outputs.js"; -import { tunnel_account_id, tunnel_tunnel_id } from "../../schemas.js"; /** * The tools of `tunnels.token`. @@ -18,19 +16,21 @@ export const tools: readonly Tool[] = [ { name: "tunnels_token_get", title: "Get a Cloudflare Tunnel token", - description: "Retrieves the token used to run cloudflared and associate it with a specific Cloudflare Tunnel. Treat the token as a secret.", + description: "Retrieves the token used to run cloudflared and associate it with a specific Cloudflare Tunnel. Treat the token as a secret.\n\nGET /accounts/{account_id}/cfd_tunnel/{tunnel_id}/token", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -43,10 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_tunnel_id": tunnel_tunnel_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel_response_token", @@ -54,7 +51,6 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_messages": tunnel_messages, "tunnel_tunnel_response_token": tunnel_tunnel_response_token, - "tunnel_tunnel_token": tunnel_tunnel_token, }, }, annotations: { @@ -94,7 +90,6 @@ export const tools: readonly Tool[] = [ "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, "tunnel_messages": tunnel_messages, "tunnel_tunnel_response_token": tunnel_tunnel_response_token, - "tunnel_tunnel_token": tunnel_tunnel_token, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/tunnels/tools.ts b/src/generated/forge-mcp/tunnels/tools.ts index a927f4056..e0e423dd9 100644 --- a/src/generated/forge-mcp/tunnels/tools.ts +++ b/src/generated/forge-mcp/tunnels/tools.ts @@ -3,47 +3,18 @@ import { type Tool, param, pathParam } from "../_/tool.js"; import { - tunnel_account_id, tunnel_api$$response$$collection, tunnel_api$$response$$common, tunnel_api$$response$$common$$failure, tunnel_cfd_tunnel, - tunnel_client_id, - tunnel_colo_name, - tunnel_config_src, - tunnel_connection_id, tunnel_connections_deprecated, - tunnel_conns_active_at, - tunnel_conns_inactive_at, - tunnel_created_at, - tunnel_deleted_at, - tunnel_ip, - tunnel_is_pending_reconnect, tunnel_messages, tunnel_metadata, - tunnel_remote_config, tunnel_result_info, tunnel_schemas$$connection, - tunnel_status, - tunnel_tunnel_id, - tunnel_tunnel_name, - tunnel_tunnel_type, - tunnel_version, tunnel_warp_connector_tunnel, } from "../outputs.js"; -import { - tunnel_account_id as tunnel_account_id$, - tunnel_config_src as tunnel_config_src$, - tunnel_existed_at, - tunnel_page_number, - tunnel_per_page, - tunnel_status as tunnel_status$, - tunnel_tunnel_id as tunnel_tunnel_id$, - tunnel_tunnel_name as tunnel_tunnel_name$, - tunnel_tunnel_secret, - tunnel_tunnel_type as tunnel_tunnel_type$, - tunnel_tunnel_types, -} from "../schemas.js"; +import { tunnel_tunnel_types } from "../schemas.js"; import { tunnel_cfd$$tunnel$$response$$single, tunnel_tunnel$$response$$collection, @@ -56,22 +27,27 @@ export const tools: readonly Tool[] = [ { name: "tunnels_create", title: "Create a Cloudflare Tunnel", - description: "Creates a remotely or locally managed Cloudflare Tunnel in an account. After creation, retrieve its token and run cloudflared to establish the connector connection.", + description: "Creates a remotely or locally managed Cloudflare Tunnel in an account. After creation, retrieve its token and run cloudflared to establish the connector connection.\n\nPOST /accounts/{account_id}/cfd_tunnel", inputSchema: { type: "object", properties: { "body": { "properties": { "config_src": { - "$ref": "#/$defs/tunnel_config_src" + "description": "Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel on the Zero Trust dashboard.", + "enum": [ + "local", + "cloudflare" + ], + "type": "string" }, "name": { - "$ref": "#/$defs/tunnel_tunnel_name", - "description": "A user-friendly name for a tunnel." + "description": "A user-friendly name for a tunnel.", + "type": "string" }, "tunnel_secret": { - "$ref": "#/$defs/tunnel_tunnel_secret", - "description": "Sets the password required to run a locally-managed tunnel. Must be at least 32 bytes and encoded as a base64 string." + "description": "Sets the password required to run a locally-managed tunnel. Must be at least 32 bytes and encoded as a base64 string.", + "type": "string" } }, "required": [ @@ -80,10 +56,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -96,40 +73,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_config_src": tunnel_config_src$, - "tunnel_tunnel_name": tunnel_tunnel_name$, - "tunnel_tunnel_secret": tunnel_tunnel_secret, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-single", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, annotations: { @@ -165,31 +120,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, request: (args) => ({ @@ -200,19 +138,21 @@ export const tools: readonly Tool[] = [ { name: "tunnels_delete", title: "Delete a Cloudflare Tunnel", - description: "Permanently deletes a Cloudflare Tunnel from an account. The tunnel must have no active connections.\n\nConfirm with the user before calling this tool. This operation permanently deletes a Cloudflare Tunnel.", + description: "Permanently deletes a Cloudflare Tunnel from an account. The tunnel must have no active connections.\n\nConfirm with the user before calling this tool. This operation permanently deletes a Cloudflare Tunnel.\n\nDELETE /accounts/{account_id}/cfd_tunnel/{tunnel_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -225,38 +165,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-single", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, annotations: { @@ -292,31 +212,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, request: (args) => ({ @@ -326,32 +229,34 @@ export const tools: readonly Tool[] = [ { name: "tunnels_edit", title: "Update a Cloudflare Tunnel", - description: "Updates the name or secret of an existing Cloudflare Tunnel.", + description: "Updates the name or secret of an existing Cloudflare Tunnel.\n\nPATCH /accounts/{account_id}/cfd_tunnel/{tunnel_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "name": { - "$ref": "#/$defs/tunnel_tunnel_name", - "description": "A user-friendly name for a tunnel." + "description": "A user-friendly name for a tunnel.", + "type": "string" }, "tunnel_secret": { - "$ref": "#/$defs/tunnel_tunnel_secret", - "description": "Sets the password required to run a locally-managed tunnel. Must be at least 32 bytes and encoded as a base64 string." + "description": "Sets the password required to run a locally-managed tunnel. Must be at least 32 bytes and encoded as a base64 string.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -365,40 +270,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - "tunnel_tunnel_name": tunnel_tunnel_name$, - "tunnel_tunnel_secret": tunnel_tunnel_secret, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-single", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, annotations: { @@ -434,31 +317,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, request: (args) => ({ @@ -469,19 +335,21 @@ export const tools: readonly Tool[] = [ { name: "tunnels_get", title: "Get a Cloudflare Tunnel", - description: "Fetches a single Cloudflare Tunnel.", + description: "Fetches a single Cloudflare Tunnel.\n\nGET /accounts/{account_id}/cfd_tunnel/{tunnel_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" }, "tunnel_id": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -494,38 +362,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_cfd-tunnel-response-single", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, annotations: { @@ -564,31 +412,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, "tunnel_cfd-tunnel-response-single": tunnel_cfd$$tunnel$$response$$single, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, }, }, request: (args) => ({ @@ -598,15 +429,16 @@ export const tools: readonly Tool[] = [ { name: "tunnels_list", title: "List All Tunnels", - description: "Lists and filters all types of Tunnels in an account.", + description: "Lists and filters all types of Tunnels in an account.\n\nGET /accounts/{account_id}/tunnels", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -615,13 +447,14 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "exclude_prefix": { "type": "string" }, "existed_at": { - "$ref": "#/$defs/tunnel_existed_at", - "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded." + "description": "If provided, include only resources that were created (and not deleted) before this time. URL encoded.", + "type": "string" }, "include_prefix": { "type": "string" @@ -635,25 +468,32 @@ export const tools: readonly Tool[] = [ "type": "string" }, "page": { - "$ref": "#/$defs/tunnel_page_number", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "number" }, "per_page": { - "$ref": "#/$defs/tunnel_per_page", - "description": "Number of results to display." + "description": "Number of results to display.", + "type": "number" }, "status": { - "$ref": "#/$defs/tunnel_status", - "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge)." + "description": "The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `healthy` (tunnel is active and able to serve traffic), or `down` (tunnel can not serve traffic as it has no connections to the Cloudflare Edge).", + "enum": [ + "inactive", + "degraded", + "healthy", + "down" + ], + "type": "string" }, "tun_types": { "$ref": "#/$defs/tunnel_tunnel_types", "description": "The types of tunnels to filter by, separated by commas." }, "uuid": { - "$ref": "#/$defs/tunnel_tunnel_id", - "description": "UUID of the tunnel." + "description": "UUID of the tunnel.", + "format": "uuid", + "type": "string" }, "was_active_at": { "format": "date-time", @@ -670,46 +510,23 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "tunnel_account_id": tunnel_account_id$, - "tunnel_existed_at": tunnel_existed_at, - "tunnel_page_number": tunnel_page_number, - "tunnel_per_page": tunnel_per_page, - "tunnel_status": tunnel_status$, - "tunnel_tunnel_id": tunnel_tunnel_id$, - "tunnel_tunnel_type": tunnel_tunnel_type$, "tunnel_tunnel_types": tunnel_tunnel_types, }, }, outputSchema: { "$ref": "#/$defs/tunnel_tunnel-response-collection", $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_result_info": tunnel_result_info, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, "tunnel_tunnel-response-collection": tunnel_tunnel$$response$$collection, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, @@ -749,33 +566,16 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "tunnel_account_id": tunnel_account_id, "tunnel_api-response-collection": tunnel_api$$response$$collection, "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, "tunnel_cfd_tunnel": tunnel_cfd_tunnel, - "tunnel_client_id": tunnel_client_id, - "tunnel_colo_name": tunnel_colo_name, - "tunnel_config_src": tunnel_config_src, - "tunnel_connection_id": tunnel_connection_id, "tunnel_connections_deprecated": tunnel_connections_deprecated, - "tunnel_conns_active_at": tunnel_conns_active_at, - "tunnel_conns_inactive_at": tunnel_conns_inactive_at, - "tunnel_created_at": tunnel_created_at, - "tunnel_deleted_at": tunnel_deleted_at, - "tunnel_ip": tunnel_ip, - "tunnel_is_pending_reconnect": tunnel_is_pending_reconnect, "tunnel_messages": tunnel_messages, "tunnel_metadata": tunnel_metadata, - "tunnel_remote_config": tunnel_remote_config, "tunnel_result_info": tunnel_result_info, "tunnel_schemas-connection": tunnel_schemas$$connection, - "tunnel_status": tunnel_status, "tunnel_tunnel-response-collection": tunnel_tunnel$$response$$collection, - "tunnel_tunnel_id": tunnel_tunnel_id, - "tunnel_tunnel_name": tunnel_tunnel_name, - "tunnel_tunnel_type": tunnel_tunnel_type, - "tunnel_version": tunnel_version, "tunnel_warp_connector_tunnel": tunnel_warp_connector_tunnel, }, }, diff --git a/src/generated/forge-mcp/turnstile/widgets/outputs.ts b/src/generated/forge-mcp/turnstile/widgets/outputs.ts index b01c52a6e..c473ed533 100644 --- a/src/generated/forge-mcp/turnstile/widgets/outputs.ts +++ b/src/generated/forge-mcp/turnstile/widgets/outputs.ts @@ -60,48 +60,6 @@ export const turnstile_api$$response$$common$$failure: JsonSchema = { "type": "object" }; -/** - * The schema of `turnstile_bot_fight_mode` in responses. - */ -export const turnstile_bot_fight_mode: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `turnstile_clearance_level` in responses. - */ -export const turnstile_clearance_level: JsonSchema = { - "enum": [ - "no_clearance", - "jschallenge", - "managed", - "interactive" - ], - "type": "string" -}; - -/** - * The schema of `turnstile_created_on` in responses. - */ -export const turnstile_created_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `turnstile_deployed_via` in responses. - */ -export const turnstile_deployed_via: JsonSchema = { - "enum": [ - "wrangler", - "dashboard", - "spin", - "api", - "unknown" - ], - "type": "string" -}; - /** * The schema of `turnstile_domains` in responses. */ @@ -112,27 +70,6 @@ export const turnstile_domains: JsonSchema = { "type": "array" }; -/** - * The schema of `turnstile_ephemeral_id` in responses. - */ -export const turnstile_ephemeral_id: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `turnstile_last_modified_via` in responses. - */ -export const turnstile_last_modified_via: JsonSchema = { - "enum": [ - "wrangler", - "dashboard", - "spin", - "api", - "unknown" - ], - "type": "string" -}; - /** * The schema of `turnstile_messages` in responses. */ @@ -155,39 +92,6 @@ export const turnstile_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `turnstile_modified_on` in responses. - */ -export const turnstile_modified_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `turnstile_name` in responses. - */ -export const turnstile_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `turnstile_offlabel` in responses. - */ -export const turnstile_offlabel: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `turnstile_region` in responses. - */ -export const turnstile_region: JsonSchema = { - "enum": [ - "world", - "china" - ], - "type": "string" -}; - /** * The schema of `turnstile_result_info` in responses. */ @@ -215,66 +119,83 @@ export const turnstile_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `turnstile_secret` in responses. - */ -export const turnstile_secret: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `turnstile_sitekey` in responses. - */ -export const turnstile_sitekey: JsonSchema = { - "type": "string" -}; - /** * The schema of `turnstile_widget_detail` in responses. */ export const turnstile_widget_detail: JsonSchema = { "properties": { "bot_fight_mode": { - "$ref": "#/$defs/turnstile_bot_fight_mode" + "type": "boolean" }, "clearance_level": { - "$ref": "#/$defs/turnstile_clearance_level" + "enum": [ + "no_clearance", + "jschallenge", + "managed", + "interactive" + ], + "type": "string" }, "created_on": { - "$ref": "#/$defs/turnstile_created_on" + "format": "date-time", + "type": "string" }, "deployed_via": { - "$ref": "#/$defs/turnstile_deployed_via" + "enum": [ + "wrangler", + "dashboard", + "spin", + "api", + "unknown" + ], + "type": "string" }, "domains": { "$ref": "#/$defs/turnstile_domains" }, "ephemeral_id": { - "$ref": "#/$defs/turnstile_ephemeral_id" + "type": "boolean" }, "last_modified_via": { - "$ref": "#/$defs/turnstile_last_modified_via" + "enum": [ + "wrangler", + "dashboard", + "spin", + "api", + "unknown" + ], + "type": "string" }, "mode": { - "$ref": "#/$defs/turnstile_widget_mode" + "enum": [ + "non-interactive", + "invisible", + "managed" + ], + "type": "string" }, "modified_on": { - "$ref": "#/$defs/turnstile_modified_on" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/turnstile_name" + "type": "string" }, "offlabel": { - "$ref": "#/$defs/turnstile_offlabel" + "type": "boolean" }, "region": { - "$ref": "#/$defs/turnstile_region" + "enum": [ + "world", + "china" + ], + "type": "string" }, "secret": { - "$ref": "#/$defs/turnstile_secret" + "type": "string" }, "sitekey": { - "$ref": "#/$defs/turnstile_sitekey" + "type": "string" } }, "required": [ @@ -300,43 +221,74 @@ export const turnstile_widget_detail: JsonSchema = { export const turnstile_widget_list: JsonSchema = { "properties": { "bot_fight_mode": { - "$ref": "#/$defs/turnstile_bot_fight_mode" + "type": "boolean" }, "clearance_level": { - "$ref": "#/$defs/turnstile_clearance_level" + "enum": [ + "no_clearance", + "jschallenge", + "managed", + "interactive" + ], + "type": "string" }, "created_on": { - "$ref": "#/$defs/turnstile_created_on" + "format": "date-time", + "type": "string" }, "deployed_via": { - "$ref": "#/$defs/turnstile_deployed_via" + "enum": [ + "wrangler", + "dashboard", + "spin", + "api", + "unknown" + ], + "type": "string" }, "domains": { "$ref": "#/$defs/turnstile_domains" }, "ephemeral_id": { - "$ref": "#/$defs/turnstile_ephemeral_id" + "type": "boolean" }, "last_modified_via": { - "$ref": "#/$defs/turnstile_last_modified_via" + "enum": [ + "wrangler", + "dashboard", + "spin", + "api", + "unknown" + ], + "type": "string" }, "mode": { - "$ref": "#/$defs/turnstile_widget_mode" + "enum": [ + "non-interactive", + "invisible", + "managed" + ], + "type": "string" }, "modified_on": { - "$ref": "#/$defs/turnstile_modified_on" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/turnstile_name" + "type": "string" }, "offlabel": { - "$ref": "#/$defs/turnstile_offlabel" + "type": "boolean" }, "region": { - "$ref": "#/$defs/turnstile_region" + "enum": [ + "world", + "china" + ], + "type": "string" }, "sitekey": { - "$ref": "#/$defs/turnstile_sitekey" + "type": "string" } }, "required": [ @@ -354,15 +306,3 @@ export const turnstile_widget_list: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `turnstile_widget_mode` in responses. - */ -export const turnstile_widget_mode: JsonSchema = { - "enum": [ - "non-interactive", - "invisible", - "managed" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/turnstile/widgets/schemas.ts b/src/generated/forge-mcp/turnstile/widgets/schemas.ts index 1e3ed45d1..28973d3b1 100644 --- a/src/generated/forge-mcp/turnstile/widgets/schemas.ts +++ b/src/generated/forge-mcp/turnstile/widgets/schemas.ts @@ -3,28 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `turnstile_bot_fight_mode`. - */ -export const turnstile_bot_fight_mode: JsonSchema = { - "description": "If bot_fight_mode is set to `true`, Cloudflare issues computationally\nexpensive challenges in response to malicious bots (ENT only).\n", - "type": "boolean" -}; - -/** - * The schema of `turnstile_clearance_level`. - */ -export const turnstile_clearance_level: JsonSchema = { - "description": "If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance,\nthis setting can determine the clearance level to be set\n", - "enum": [ - "no_clearance", - "jschallenge", - "managed", - "interactive" - ], - "type": "string" -}; - /** * The schema of `turnstile_domains`. */ @@ -34,76 +12,3 @@ export const turnstile_domains: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `turnstile_ephemeral_id`. - */ -export const turnstile_ephemeral_id: JsonSchema = { - "description": "Return the Ephemeral ID in /siteverify (ENT only).\n", - "type": "boolean" -}; - -/** - * The schema of `turnstile_identifier`. - */ -export const turnstile_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; - -/** - * The schema of `turnstile_invalidate_immediately`. - */ -export const turnstile_invalidate_immediately: JsonSchema = { - "description": "If `invalidate_immediately` is set to `false`, the previous secret will\nremain valid for two hours. Otherwise, the secret is immediately\ninvalidated, and requests using it will be rejected.\n", - "type": "boolean" -}; - -/** - * The schema of `turnstile_name`. - */ -export const turnstile_name: JsonSchema = { - "description": "Human readable widget name. Not unique. Cloudflare suggests that you\nset this to a meaningful string to make it easier to identify your\nwidget, and where it is used.\n", - "type": "string" -}; - -/** - * The schema of `turnstile_offlabel`. - */ -export const turnstile_offlabel: JsonSchema = { - "description": "Do not show any Cloudflare branding on the widget (ENT only).\n", - "type": "boolean" -}; - -/** - * The schema of `turnstile_region`. - */ -export const turnstile_region: JsonSchema = { - "description": "Region where this widget can be used. This cannot be changed after creation.\n", - "enum": [ - "world", - "china" - ], - "type": "string" -}; - -/** - * The schema of `turnstile_sitekey`. - */ -export const turnstile_sitekey: JsonSchema = { - "description": "Unique identifier for a Turnstile widget.", - "type": "string" -}; - -/** - * The schema of `turnstile_widget_mode`. - */ -export const turnstile_widget_mode: JsonSchema = { - "description": "Widget Mode", - "enum": [ - "non-interactive", - "invisible", - "managed" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/turnstile/widgets/tools.ts b/src/generated/forge-mcp/turnstile/widgets/tools.ts index 483192a4b..e4411a020 100644 --- a/src/generated/forge-mcp/turnstile/widgets/tools.ts +++ b/src/generated/forge-mcp/turnstile/widgets/tools.ts @@ -5,38 +5,13 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { turnstile_api$$response$$common, turnstile_api$$response$$common$$failure, - turnstile_bot_fight_mode, - turnstile_clearance_level, - turnstile_created_on, - turnstile_deployed_via, turnstile_domains, - turnstile_ephemeral_id, - turnstile_last_modified_via, turnstile_messages, - turnstile_modified_on, - turnstile_name, - turnstile_offlabel, - turnstile_region, turnstile_result_info, - turnstile_secret, - turnstile_sitekey, turnstile_widget_detail, turnstile_widget_list, - turnstile_widget_mode, } from "./outputs.js"; -import { - turnstile_bot_fight_mode as turnstile_bot_fight_mode$, - turnstile_clearance_level as turnstile_clearance_level$, - turnstile_domains as turnstile_domains$, - turnstile_ephemeral_id as turnstile_ephemeral_id$, - turnstile_identifier, - turnstile_invalidate_immediately, - turnstile_name as turnstile_name$, - turnstile_offlabel as turnstile_offlabel$, - turnstile_region as turnstile_region$, - turnstile_sitekey as turnstile_sitekey$, - turnstile_widget_mode as turnstile_widget_mode$, -} from "./schemas.js"; +import { turnstile_domains as turnstile_domains$ } from "./schemas.js"; /** * The tools of `turnstile.widgets`. @@ -45,42 +20,58 @@ export const tools: readonly Tool[] = [ { name: "turnstile_widgets_create", title: "Create a Turnstile Widget", - description: "Creates a Turnstile widget for an account.", + description: "Creates a Turnstile widget for an account.\n\nPOST /accounts/{account_id}/challenges/widgets", inputSchema: { type: "object", properties: { "body": { "properties": { "bot_fight_mode": { - "$ref": "#/$defs/turnstile_bot_fight_mode", - "description": "If bot_fight_mode is set to `true`, Cloudflare issues computationally\nexpensive challenges in response to malicious bots (ENT only).\n" + "description": "If bot_fight_mode is set to `true`, Cloudflare issues computationally\nexpensive challenges in response to malicious bots (ENT only).", + "type": "boolean" }, "clearance_level": { - "$ref": "#/$defs/turnstile_clearance_level", - "description": "If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance,\nthis setting can determine the clearance level to be set\n" + "description": "If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance,\nthis setting can determine the clearance level to be set", + "enum": [ + "no_clearance", + "jschallenge", + "managed", + "interactive" + ], + "type": "string" }, "domains": { "$ref": "#/$defs/turnstile_domains" }, "ephemeral_id": { - "$ref": "#/$defs/turnstile_ephemeral_id", - "description": "Return the Ephemeral ID in /siteverify (ENT only).\n" + "description": "Return the Ephemeral ID in /siteverify (ENT only).", + "type": "boolean" }, "mode": { - "$ref": "#/$defs/turnstile_widget_mode" + "description": "Widget Mode", + "enum": [ + "non-interactive", + "invisible", + "managed" + ], + "type": "string" }, "name": { - "$ref": "#/$defs/turnstile_name", - "description": "Human readable widget name. Not unique. Cloudflare suggests that you\nset this to a meaningful string to make it easier to identify your\nwidget, and where it is used.\n" + "description": "Human readable widget name. Not unique. Cloudflare suggests that you\nset this to a meaningful string to make it easier to identify your\nwidget, and where it is used.", + "type": "string" }, "offlabel": { - "$ref": "#/$defs/turnstile_offlabel", - "description": "Do not show any Cloudflare branding on the widget (ENT only).\n" + "description": "Do not show any Cloudflare branding on the widget (ENT only).", + "type": "boolean" }, "region": { - "$ref": "#/$defs/turnstile_region", "default": "world", - "description": "Region where this widget can be used. This cannot be changed after creation.\n" + "description": "Region where this widget can be used. This cannot be changed after creation.", + "enum": [ + "world", + "china" + ], + "type": "string" } }, "required": [ @@ -91,10 +82,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -103,6 +95,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Direction to order widgets.", @@ -113,7 +106,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "filter": { - "description": "Filter widgets by field. The `name` field uses case-insensitive\nsubstring matching; `sitekey` uses exact matching.\nFormat: `field:value`\n\nSupported fields:\n- `name` - Filter by widget name (e.g., `filter=name:login-form`)\n- `sitekey` - Filter by sitekey (e.g., `filter=sitekey:0x4AAA`)\n\nReturns 400 Bad Request if the field is unsupported or format is invalid.\nAn empty filter value returns all results.\n", + "description": "Filter widgets by field. The `name` field uses case-insensitive\nsubstring matching; `sitekey` uses exact matching.\nFormat: `field:value`\n\nSupported fields:\n- `name` - Filter by widget name (e.g., `filter=name:login-form`)\n- `sitekey` - Filter by sitekey (e.g., `filter=sitekey:0x4AAA`)\n\nReturns 400 Bad Request if the field is unsupported or format is invalid.\nAn empty filter value returns all results.", "type": "string" }, "order": { @@ -145,16 +138,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "turnstile_bot_fight_mode": turnstile_bot_fight_mode$, - "turnstile_clearance_level": turnstile_clearance_level$, "turnstile_domains": turnstile_domains$, - "turnstile_ephemeral_id": turnstile_ephemeral_id$, - "turnstile_identifier": turnstile_identifier, - "turnstile_name": turnstile_name$, - "turnstile_offlabel": turnstile_offlabel$, - "turnstile_region": turnstile_region$, - "turnstile_widget_mode": turnstile_widget_mode$, }, }, outputSchema: { @@ -181,23 +167,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, "turnstile_result_info": turnstile_result_info, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -252,23 +225,10 @@ export const tools: readonly Tool[] = [ $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, "turnstile_result_info": turnstile_result_info, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ @@ -286,19 +246,20 @@ export const tools: readonly Tool[] = [ { name: "turnstile_widgets_delete", title: "Delete a Turnstile Widget", - description: "Deletes a Turnstile widget from an account.", + description: "Deletes a Turnstile widget from an account.\n\nDELETE /accounts/{account_id}/challenges/widgets/{sitekey}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "sitekey": { - "$ref": "#/$defs/turnstile_sitekey", - "description": "Unique identifier for a Turnstile widget." + "description": "Unique identifier for a Turnstile widget.", + "type": "string" } }, "required": [ @@ -311,10 +272,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "turnstile_identifier": turnstile_identifier, - "turnstile_sitekey": turnstile_sitekey$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -332,22 +290,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -389,22 +334,9 @@ export const tools: readonly Tool[] = [ $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ @@ -414,19 +346,20 @@ export const tools: readonly Tool[] = [ { name: "turnstile_widgets_get", title: "Turnstile Widget Details", - description: "Returns the configuration of a Turnstile widget.", + description: "Returns the configuration of a Turnstile widget.\n\nGET /accounts/{account_id}/challenges/widgets/{sitekey}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "sitekey": { - "$ref": "#/$defs/turnstile_sitekey", - "description": "Unique identifier for a Turnstile widget." + "description": "Unique identifier for a Turnstile widget.", + "type": "string" } }, "required": [ @@ -439,10 +372,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "turnstile_identifier": turnstile_identifier, - "turnstile_sitekey": turnstile_sitekey$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -460,22 +390,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -519,22 +436,9 @@ export const tools: readonly Tool[] = [ $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ @@ -544,15 +448,16 @@ export const tools: readonly Tool[] = [ { name: "turnstile_widgets_list", title: "List Turnstile Widgets", - description: "Lists Turnstile widgets for an account.", + description: "Lists Turnstile widgets for an account.\n\nGET /accounts/{account_id}/challenges/widgets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -561,6 +466,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Direction to order widgets.", @@ -571,7 +477,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "filter": { - "description": "Filter widgets by field. The `name` field uses case-insensitive\nsubstring matching; `sitekey` uses exact matching.\nFormat: `field:value`\n\nSupported fields:\n- `name` - Filter by widget name (e.g., `filter=name:login-form`)\n- `sitekey` - Filter by sitekey (e.g., `filter=sitekey:0x4AAA`)\n\nReturns 400 Bad Request if the field is unsupported or format is invalid.\nAn empty filter value returns all results.\n", + "description": "Filter widgets by field. The `name` field uses case-insensitive\nsubstring matching; `sitekey` uses exact matching.\nFormat: `field:value`\n\nSupported fields:\n- `name` - Filter by widget name (e.g., `filter=name:login-form`)\n- `sitekey` - Filter by sitekey (e.g., `filter=sitekey:0x4AAA`)\n\nReturns 400 Bad Request if the field is unsupported or format is invalid.\nAn empty filter value returns all results.", "type": "string" }, "order": { @@ -602,9 +508,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "turnstile_identifier": turnstile_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -633,22 +537,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, "turnstile_result_info": turnstile_result_info, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_list": turnstile_widget_list, - "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -703,22 +595,10 @@ export const tools: readonly Tool[] = [ $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, "turnstile_result_info": turnstile_result_info, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_list": turnstile_widget_list, - "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ @@ -735,29 +615,30 @@ export const tools: readonly Tool[] = [ { name: "turnstile_widgets_rotateSecret", title: "Rotate Secret for a Turnstile Widget", - description: "Generates a new secret key for this widget. If `invalidate_immediately`\nis set to `false`, the previous secret remains valid for 2 hours.\n\nNote that secrets cannot be rotated again during the grace period.", + description: "Generates a new secret key for this widget. If `invalidate_immediately`\nis set to `false`, the previous secret remains valid for 2 hours.\n\nNote that secrets cannot be rotated again during the grace period.\n\nPOST /accounts/{account_id}/challenges/widgets/{sitekey}/rotate_secret", inputSchema: { type: "object", properties: { "body": { "properties": { "invalidate_immediately": { - "$ref": "#/$defs/turnstile_invalidate_immediately", "default": false, - "description": "If `invalidate_immediately` is set to `false`, the previous secret will\nremain valid for two hours. Otherwise, the secret is immediately\ninvalidated, and requests using it will be rejected.\n" + "description": "If `invalidate_immediately` is set to `false`, the previous secret will\nremain valid for two hours. Otherwise, the secret is immediately\ninvalidated, and requests using it will be rejected.", + "type": "boolean" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "sitekey": { - "$ref": "#/$defs/turnstile_sitekey", - "description": "Unique identifier for a Turnstile widget." + "description": "Unique identifier for a Turnstile widget.", + "type": "string" } }, "required": [ @@ -771,11 +652,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "turnstile_identifier": turnstile_identifier, - "turnstile_invalidate_immediately": turnstile_invalidate_immediately, - "turnstile_sitekey": turnstile_sitekey$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -793,22 +670,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -850,22 +714,9 @@ export const tools: readonly Tool[] = [ $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ @@ -876,42 +727,58 @@ export const tools: readonly Tool[] = [ { name: "turnstile_widgets_update", title: "Update a Turnstile Widget", - description: "Updates the configuration of a Turnstile widget.", + description: "Updates the configuration of a Turnstile widget.\n\nPUT /accounts/{account_id}/challenges/widgets/{sitekey}", inputSchema: { type: "object", properties: { "body": { "properties": { "bot_fight_mode": { - "$ref": "#/$defs/turnstile_bot_fight_mode", - "description": "If bot_fight_mode is set to `true`, Cloudflare issues computationally\nexpensive challenges in response to malicious bots (ENT only).\n" + "description": "If bot_fight_mode is set to `true`, Cloudflare issues computationally\nexpensive challenges in response to malicious bots (ENT only).", + "type": "boolean" }, "clearance_level": { - "$ref": "#/$defs/turnstile_clearance_level", - "description": "If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance,\nthis setting can determine the clearance level to be set\n" + "description": "If Turnstile is embedded on a Cloudflare site and the widget should grant challenge clearance,\nthis setting can determine the clearance level to be set", + "enum": [ + "no_clearance", + "jschallenge", + "managed", + "interactive" + ], + "type": "string" }, "domains": { "$ref": "#/$defs/turnstile_domains" }, "ephemeral_id": { - "$ref": "#/$defs/turnstile_ephemeral_id", - "description": "Return the Ephemeral ID in /siteverify (ENT only).\n" + "description": "Return the Ephemeral ID in /siteverify (ENT only).", + "type": "boolean" }, "mode": { - "$ref": "#/$defs/turnstile_widget_mode" + "description": "Widget Mode", + "enum": [ + "non-interactive", + "invisible", + "managed" + ], + "type": "string" }, "name": { - "$ref": "#/$defs/turnstile_name", - "description": "Human readable widget name. Not unique. Cloudflare suggests that you\nset this to a meaningful string to make it easier to identify your\nwidget, and where it is used.\n" + "description": "Human readable widget name. Not unique. Cloudflare suggests that you\nset this to a meaningful string to make it easier to identify your\nwidget, and where it is used.", + "type": "string" }, "offlabel": { - "$ref": "#/$defs/turnstile_offlabel", - "description": "Do not show any Cloudflare branding on the widget (ENT only).\n" + "description": "Do not show any Cloudflare branding on the widget (ENT only).", + "type": "boolean" }, "region": { - "$ref": "#/$defs/turnstile_region", "default": "world", - "description": "Region where this widget can be used. This cannot be changed after creation.\n" + "description": "Region where this widget can be used. This cannot be changed after creation.", + "enum": [ + "world", + "china" + ], + "type": "string" } }, "required": [ @@ -922,14 +789,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/turnstile_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "sitekey": { - "$ref": "#/$defs/turnstile_sitekey", - "description": "Unique identifier for a Turnstile widget." + "description": "Unique identifier for a Turnstile widget.", + "type": "string" } }, "required": [ @@ -943,17 +811,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "turnstile_bot_fight_mode": turnstile_bot_fight_mode$, - "turnstile_clearance_level": turnstile_clearance_level$, "turnstile_domains": turnstile_domains$, - "turnstile_ephemeral_id": turnstile_ephemeral_id$, - "turnstile_identifier": turnstile_identifier, - "turnstile_name": turnstile_name$, - "turnstile_offlabel": turnstile_offlabel$, - "turnstile_region": turnstile_region$, - "turnstile_sitekey": turnstile_sitekey$, - "turnstile_widget_mode": turnstile_widget_mode$, }, }, outputSchema: { @@ -972,22 +832,9 @@ export const tools: readonly Tool[] = [ ], $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, annotations: { @@ -1034,22 +881,9 @@ export const tools: readonly Tool[] = [ $defs: { "turnstile_api-response-common": turnstile_api$$response$$common, "turnstile_api-response-common-failure": turnstile_api$$response$$common$$failure, - "turnstile_bot_fight_mode": turnstile_bot_fight_mode, - "turnstile_clearance_level": turnstile_clearance_level, - "turnstile_created_on": turnstile_created_on, - "turnstile_deployed_via": turnstile_deployed_via, "turnstile_domains": turnstile_domains, - "turnstile_ephemeral_id": turnstile_ephemeral_id, - "turnstile_last_modified_via": turnstile_last_modified_via, "turnstile_messages": turnstile_messages, - "turnstile_modified_on": turnstile_modified_on, - "turnstile_name": turnstile_name, - "turnstile_offlabel": turnstile_offlabel, - "turnstile_region": turnstile_region, - "turnstile_secret": turnstile_secret, - "turnstile_sitekey": turnstile_sitekey, "turnstile_widget_detail": turnstile_widget_detail, - "turnstile_widget_mode": turnstile_widget_mode, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/urlNormalization/tools.ts b/src/generated/forge-mcp/urlNormalization/tools.ts index 81449f26a..ccd0f89a8 100644 --- a/src/generated/forge-mcp/urlNormalization/tools.ts +++ b/src/generated/forge-mcp/urlNormalization/tools.ts @@ -8,7 +8,6 @@ import { rulesets_Messages, rulesets_Response, } from "../outputs.js"; -import { rulesets_ZoneId } from "../schemas.js"; import { rulesets_UrlNormalization } from "./outputs.js"; import { rulesets_UrlNormalization as rulesets_UrlNormalization$ } from "./schemas.js"; @@ -19,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "urlNormalization_delete", title: "Delete URL Normalization settings", - description: "Deletes the URL Normalization settings.", + description: "Deletes the URL Normalization settings.\n\nDELETE /zones/{zone_id}/url_normalization", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -39,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rulesets_ZoneId": rulesets_ZoneId, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -122,15 +120,16 @@ export const tools: readonly Tool[] = [ { name: "urlNormalization_get", title: "Get URL Normalization settings", - description: "Fetches the current URL Normalization settings.", + description: "Fetches the current URL Normalization settings.\n\nGET /zones/{zone_id}/url_normalization", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -142,9 +141,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rulesets_ZoneId": rulesets_ZoneId, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -297,7 +294,7 @@ export const tools: readonly Tool[] = [ { name: "urlNormalization_update", title: "Update URL Normalization settings", - description: "Updates the URL Normalization settings.", + description: "Updates the URL Normalization settings.\n\nPUT /zones/{zone_id}/url_normalization", inputSchema: { type: "object", properties: { @@ -305,10 +302,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/rulesets_UrlNormalization" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/rulesets_ZoneId", - "description": "The unique ID of the zone." + "description": "The unique ID of the zone.", + "type": "string" } }, "required": [ @@ -321,9 +319,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "rulesets_UrlNormalization": rulesets_UrlNormalization$, - "rulesets_ZoneId": rulesets_ZoneId, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/urlScanner/responses/tools.ts b/src/generated/forge-mcp/urlScanner/responses/tools.ts index c57f1abca..ad1d68dd2 100644 --- a/src/generated/forge-mcp/urlScanner/responses/tools.ts +++ b/src/generated/forge-mcp/urlScanner/responses/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "urlScanner_responses_get", title: "Get raw response", - description: "Returns the raw response of the network request. Find the `response_id` in the `data.requests.response.hash`.", + description: "Returns the raw response of the network request. Find the `response_id` in the `data.requests.response.hash`.\n\nGET /accounts/{account_id}/urlscanner/v2/responses/{response_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/urlScanner/scans/tools.ts b/src/generated/forge-mcp/urlScanner/scans/tools.ts index b4eaefc07..9596aef79 100644 --- a/src/generated/forge-mcp/urlScanner/scans/tools.ts +++ b/src/generated/forge-mcp/urlScanner/scans/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "urlScanner_scans_bulkCreate", title: "Bulk create URL Scans", - description: "Submit URLs to scan. Check limits at https://developers.cloudflare.com/security-center/investigate/scan-limits/ and take into account scans submitted in bulk have lower priority and may take longer to finish.", + description: "Submit URLs to scan. Check limits at https://developers.cloudflare.com/security-center/investigate/scan-limits/ and take into account scans submitted in bulk have lower priority and may take longer to finish.\n\nPOST /accounts/{account_id}/urlscanner/v2/bulk", inputSchema: { type: "object", properties: { @@ -70,6 +70,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -85,6 +86,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "items": { @@ -284,7 +286,7 @@ export const tools: readonly Tool[] = [ { name: "urlScanner_scans_create", title: "Create URL Scan", - description: "Submit a URL to scan. Check limits at https://developers.cloudflare.com/security-center/investigate/scan-limits/.", + description: "Submit a URL to scan. Check limits at https://developers.cloudflare.com/security-center/investigate/scan-limits/.\n\nPOST /accounts/{account_id}/urlscanner/v2/scan", inputSchema: { type: "object", properties: { @@ -487,6 +489,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -502,6 +505,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -744,11 +748,12 @@ export const tools: readonly Tool[] = [ { name: "urlScanner_scans_dom", title: "Get URL scan's DOM", - description: "Returns a plain text response, with the scan's DOM content as rendered by Chrome.", + description: "Returns a plain text response, with the scan's DOM content as rendered by Chrome.\n\nGET /accounts/{account_id}/urlscanner/v2/dom/{scan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -770,6 +775,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -908,11 +914,12 @@ export const tools: readonly Tool[] = [ { name: "urlScanner_scans_get", title: "Get URL scan", - description: "Get URL scan by uuid", + description: "Get URL scan by uuid\n\nGET /accounts/{account_id}/urlscanner/v2/result/{scan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -934,6 +941,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -10323,11 +10331,12 @@ export const tools: readonly Tool[] = [ { name: "urlScanner_scans_har", title: "Get URL scan's HAR", - description: "Get a URL scan's HAR file. See HAR spec at http://www.softwareishard.com/blog/har-12-spec/.", + description: "Get a URL scan's HAR file. See HAR spec at http://www.softwareishard.com/blog/har-12-spec/.\n\nGET /accounts/{account_id}/urlscanner/v2/har/{scan_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -10349,6 +10358,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -11002,11 +11012,12 @@ export const tools: readonly Tool[] = [ { name: "urlScanner_scans_list", title: "Search URL scans", - description: "Use a subset of ElasticSearch Query syntax to filter scans. Some example queries:

- 'path:\"/bundles/jquery.js\"': Searches for scans who requested resources with the given path.
- 'page.asn:AS24940 AND hash:xxx': Websites hosted in AS24940 where a resource with the given hash was downloaded.
- 'page.domain:microsoft* AND verdicts.malicious:true AND NOT page.domain:microsoft.com': malicious scans whose hostname starts with \"microsoft\".
- 'apikey:me AND date:[2025-01 TO 2025-02]': my scans from 2025 January to 2025 February.", + description: "Use a subset of ElasticSearch Query syntax to filter scans. Some example queries:

- 'path:\"/bundles/jquery.js\"': Searches for scans who requested resources with the given path.
- 'page.asn:AS24940 AND hash:xxx': Websites hosted in AS24940 where a resource with the given hash was downloaded.
- 'page.domain:microsoft* AND verdicts.malicious:true AND NOT page.domain:microsoft.com': malicious scans whose hostname starts with \"microsoft\".
- 'apikey:me AND date:[2025-01 TO 2025-02]': my scans from 2025 January to 2025 February.\n\nGET /accounts/{account_id}/urlscanner/v2/search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -11019,6 +11030,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "q": { "description": "Filter scans", @@ -11035,6 +11047,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -11330,11 +11343,12 @@ export const tools: readonly Tool[] = [ { name: "urlScanner_scans_screenshot", title: "Get screenshot", - description: "Get scan's screenshot by resolution (desktop/mobile/tablet).", + description: "Get scan's screenshot by resolution (desktop/mobile/tablet).\n\nGET /accounts/{account_id}/urlscanner/v2/screenshots/{scan_id}.png", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -11353,6 +11367,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "resolution": { "default": "desktop", @@ -11371,6 +11386,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/user/auditLogs/tools.ts b/src/generated/forge-mcp/user/auditLogs/tools.ts index c2ce64ca4..172db6232 100644 --- a/src/generated/forge-mcp/user/auditLogs/tools.ts +++ b/src/generated/forge-mcp/user/auditLogs/tools.ts @@ -7,7 +7,6 @@ import { aaa_api$$response$$common$$failure, aaa_audit$$logs, aaa_audit_logs_response_collection, - aaa_identifier, aaa_messages, } from "../../outputs.js"; @@ -18,11 +17,12 @@ export const tools: readonly Tool[] = [ { name: "user_auditLogs_list", title: "Get user audit logs", - description: "Gets a list of audit logs for a user account. Can be filtered by who made the change, on which zone, and the timeframe of the change.", + description: "Gets a list of audit logs for a user account. Can be filtered by who made the change, on which zone, and the timeframe of the change.\n\nGET /user/audit_logs", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "action.type": { "description": "Filters by the action type.", @@ -100,6 +100,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/aaa_audit_logs_response_collection", @@ -107,7 +108,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common": aaa_api$$response$$common, "aaa_audit-logs": aaa_audit$$logs, "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection, - "aaa_identifier": aaa_identifier, "aaa_messages": aaa_messages, }, }, @@ -153,7 +153,6 @@ export const tools: readonly Tool[] = [ "aaa_api-response-common-failure": aaa_api$$response$$common$$failure, "aaa_audit-logs": aaa_audit$$logs, "aaa_audit_logs_response_collection": aaa_audit_logs_response_collection, - "aaa_identifier": aaa_identifier, "aaa_messages": aaa_messages, }, }, diff --git a/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts b/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts index 5a8fedae7..19eb12868 100644 --- a/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts +++ b/src/generated/forge-mcp/user/firewall/accessRules/outputs.ts @@ -38,7 +38,7 @@ export const firewall_rule_single_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/firewall_schemas-identifier" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/user/firewall/accessRules/tools.ts b/src/generated/forge-mcp/user/firewall/accessRules/tools.ts index 577d2b786..80cbf3ca7 100644 --- a/src/generated/forge-mcp/user/firewall/accessRules/tools.ts +++ b/src/generated/forge-mcp/user/firewall/accessRules/tools.ts @@ -14,11 +14,8 @@ import { firewall_ip_configuration, firewall_ipv6_configuration, firewall_messages, - firewall_notes, firewall_result_info, firewall_rule, - firewall_schemas$$identifier, - firewall_schemas$$mode, } from "../../../outputs.js"; import { firewall_asn_configuration as firewall_asn_configuration$, @@ -27,9 +24,6 @@ import { firewall_country_configuration as firewall_country_configuration$, firewall_ip_configuration as firewall_ip_configuration$, firewall_ipv6_configuration as firewall_ipv6_configuration$, - firewall_notes as firewall_notes$, - firewall_rule_identifier, - firewall_schemas$$mode as firewall_schemas$$mode$, } from "../../../schemas.js"; import { firewall_rule_collection_response, @@ -44,7 +38,7 @@ export const tools: readonly Tool[] = [ { name: "user_firewall_accessRules_create", title: "Create an IP Access rule", - description: "Creates a new IP Access rule for all zones owned by the current user.\n\nNote: To create an IP Access rule that applies to a specific zone, refer to the [IP Access rules for a zone](#ip-access-rules-for-a-zone) endpoints.", + description: "Creates a new IP Access rule for all zones owned by the current user.\n\nNote: To create an IP Access rule that applies to a specific zone, refer to the [IP Access rules for a zone](#ip-access-rules-for-a-zone) endpoints.\n\nPOST /user/firewall/access_rules/rules", inputSchema: { type: "object", properties: { @@ -55,11 +49,20 @@ export const tools: readonly Tool[] = [ "description": "The rule configuration." }, "mode": { - "$ref": "#/$defs/firewall_schemas-mode" + "description": "The action to apply to a matched request.", + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "notes": { - "$ref": "#/$defs/firewall_notes", - "default": "" + "default": "", + "description": "An informative summary of the rule, typically used as a reminder or explanation.", + "type": "string" } }, "required": [ @@ -72,6 +75,7 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { "firewall_asn_configuration": firewall_asn_configuration$, "firewall_cidr_configuration": firewall_cidr_configuration$, @@ -79,8 +83,6 @@ export const tools: readonly Tool[] = [ "firewall_country_configuration": firewall_country_configuration$, "firewall_ip_configuration": firewall_ip_configuration$, "firewall_ipv6_configuration": firewall_ipv6_configuration$, - "firewall_notes": firewall_notes$, - "firewall_schemas-mode": firewall_schemas$$mode$, }, }, outputSchema: { @@ -95,11 +97,8 @@ export const tools: readonly Tool[] = [ "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_rule": firewall_rule, "firewall_rule_single_response": firewall_rule_single_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, }, }, annotations: { @@ -142,11 +141,8 @@ export const tools: readonly Tool[] = [ "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_rule": firewall_rule, "firewall_rule_single_response": firewall_rule_single_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, }, }, request: (args) => ({ @@ -157,15 +153,16 @@ export const tools: readonly Tool[] = [ { name: "user_firewall_accessRules_delete", title: "Delete an IP Access rule", - description: "Deletes an IP Access rule at the user level.\n\nNote: Deleting a user-level rule will affect all zones owned by the user.\n\nConfirm with the user before calling this tool. This operation deletes the user-level IP Access Rule and affects every zone owned by the user.", + description: "Deletes an IP Access rule at the user level.\n\nNote: Deleting a user-level rule will affect all zones owned by the user.\n\nConfirm with the user before calling this tool. This operation deletes the user-level IP Access Rule and affects every zone owned by the user.\n\nDELETE /user/firewall/access_rules/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "description": "Unique identifier for a rule.", + "type": "string" } }, "required": [ @@ -177,9 +174,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_rule_identifier": firewall_rule_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_rule_single_id_response", @@ -188,7 +183,6 @@ export const tools: readonly Tool[] = [ "firewall_api-response-single": firewall_api$$response$$single, "firewall_messages": firewall_messages, "firewall_rule_single_id_response": firewall_rule_single_id_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, }, }, annotations: { @@ -226,7 +220,6 @@ export const tools: readonly Tool[] = [ "firewall_api-response-single": firewall_api$$response$$single, "firewall_messages": firewall_messages, "firewall_rule_single_id_response": firewall_rule_single_id_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, }, }, request: (args) => ({ @@ -236,27 +229,36 @@ export const tools: readonly Tool[] = [ { name: "user_firewall_accessRules_edit", title: "Update an IP Access rule", - description: "Updates an IP Access rule defined at the user level. You can only update the rule action (`mode` parameter) and notes.", + description: "Updates an IP Access rule defined at the user level. You can only update the rule action (`mode` parameter) and notes.\n\nPATCH /user/firewall/access_rules/rules/{rule_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "mode": { - "$ref": "#/$defs/firewall_schemas-mode" + "description": "The action to apply to a matched request.", + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "notes": { - "$ref": "#/$defs/firewall_notes", - "description": "An informative summary of the rule, typically used as a reminder or explanation." + "description": "An informative summary of the rule, typically used as a reminder or explanation.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "description": "Unique identifier for a rule.", + "type": "string" } }, "required": [ @@ -269,11 +271,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "firewall_notes": firewall_notes$, - "firewall_rule_identifier": firewall_rule_identifier, - "firewall_schemas-mode": firewall_schemas$$mode$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_rule_single_response", @@ -287,11 +285,8 @@ export const tools: readonly Tool[] = [ "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_rule": firewall_rule, "firewall_rule_single_response": firewall_rule_single_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, }, }, annotations: { @@ -334,11 +329,8 @@ export const tools: readonly Tool[] = [ "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_rule": firewall_rule, "firewall_rule_single_response": firewall_rule_single_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, }, }, request: (args) => ({ @@ -349,15 +341,16 @@ export const tools: readonly Tool[] = [ { name: "user_firewall_accessRules_get", title: "Get an IP Access rule", - description: "Fetches the details of an IP Access rule defined at the user level.", + description: "Fetches the details of an IP Access rule defined at the user level.\n\nGET /user/firewall/access_rules/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/firewall_rule_identifier", - "description": "Unique identifier for a rule." + "description": "Unique identifier for a rule.", + "type": "string" } }, "required": [ @@ -369,9 +362,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "firewall_rule_identifier": firewall_rule_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_rule_single_response", @@ -385,11 +376,8 @@ export const tools: readonly Tool[] = [ "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_rule": firewall_rule, "firewall_rule_single_response": firewall_rule_single_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, }, }, annotations: { @@ -433,11 +421,8 @@ export const tools: readonly Tool[] = [ "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_rule": firewall_rule, "firewall_rule_single_response": firewall_rule_single_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, }, }, request: (args) => ({ @@ -447,11 +432,12 @@ export const tools: readonly Tool[] = [ { name: "user_firewall_accessRules_list", title: "List IP Access rules", - description: "Fetches IP Access rules of the user. You can filter the results using several optional parameters.", + description: "Fetches IP Access rules of the user. You can filter the results using several optional parameters.\n\nGET /user/firewall/access_rules/rules", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "configuration.target": { "description": "Defines the target to search in existing rules.", @@ -485,8 +471,15 @@ export const tools: readonly Tool[] = [ "type": "string" }, "mode": { - "$ref": "#/$defs/firewall_schemas-mode", - "description": "The action to apply to a matched request." + "description": "The action to apply to a matched request.", + "enum": [ + "block", + "challenge", + "whitelist", + "js_challenge", + "managed_challenge" + ], + "type": "string" }, "notes": { "description": "Defines the string to search for in the notes of existing IP Access rules.\nNotes: For example, the string 'attack' would match IP Access rules with notes 'Attack 26/02' and 'Attack 27/02'. The search is case insensitive.", @@ -513,9 +506,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, - $defs: { - "firewall_schemas-mode": firewall_schemas$$mode$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/firewall_rule_collection_response", @@ -529,12 +520,9 @@ export const tools: readonly Tool[] = [ "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_result_info": firewall_result_info, "firewall_rule": firewall_rule, "firewall_rule_collection_response": firewall_rule_collection_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, }, }, annotations: { @@ -578,12 +566,9 @@ export const tools: readonly Tool[] = [ "firewall_ip_configuration": firewall_ip_configuration, "firewall_ipv6_configuration": firewall_ipv6_configuration, "firewall_messages": firewall_messages, - "firewall_notes": firewall_notes, "firewall_result_info": firewall_result_info, "firewall_rule": firewall_rule, "firewall_rule_collection_response": firewall_rule_collection_response, - "firewall_schemas-identifier": firewall_schemas$$identifier, - "firewall_schemas-mode": firewall_schemas$$mode, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/invites/outputs.ts b/src/generated/forge-mcp/user/invites/outputs.ts index 3f699b981..89297fa2a 100644 --- a/src/generated/forge-mcp/user/invites/outputs.ts +++ b/src/generated/forge-mcp/user/invites/outputs.ts @@ -3,35 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `iam_invite_components-schemas-identifier` in responses. - */ -export const iam_invite_components$$schemas$$identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `iam_invited_by` in responses. - */ -export const iam_invited_by: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `iam_invited_member_email` in responses. - */ -export const iam_invited_member_email: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `iam_invited_on` in responses. - */ -export const iam_invited_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `iam_schemas-collection_invite_response` in responses. */ @@ -54,14 +25,6 @@ export const iam_schemas$$collection_invite_response: JsonSchema = { ] }; -/** - * The schema of `iam_schemas-expires_on` in responses. - */ -export const iam_schemas$$expires_on: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `iam_single_invite_response` in responses. */ @@ -87,16 +50,17 @@ export const iam_single_invite_response: JsonSchema = { export const iam_user_invite: JsonSchema = { "properties": { "expires_on": { - "$ref": "#/$defs/iam_schemas-expires_on" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/iam_invite_components-schemas-identifier" + "type": "string" }, "invited_by": { - "$ref": "#/$defs/iam_invited_by" + "type": "string" }, "invited_member_email": { - "$ref": "#/$defs/iam_invited_member_email" + "type": "string" }, "invited_member_id": { "oneOf": [ @@ -109,7 +73,8 @@ export const iam_user_invite: JsonSchema = { ] }, "invited_on": { - "$ref": "#/$defs/iam_invited_on" + "format": "date-time", + "type": "string" }, "organization_id": { "type": "string" diff --git a/src/generated/forge-mcp/user/invites/schemas.ts b/src/generated/forge-mcp/user/invites/schemas.ts deleted file mode 100644 index 28148e332..000000000 --- a/src/generated/forge-mcp/user/invites/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `iam_invite_components-schemas-identifier`. - */ -export const iam_invite_components$$schemas$$identifier: JsonSchema = { - "description": "Invite identifier tag.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/user/invites/tools.ts b/src/generated/forge-mcp/user/invites/tools.ts index 8b915df88..d78bc1d27 100644 --- a/src/generated/forge-mcp/user/invites/tools.ts +++ b/src/generated/forge-mcp/user/invites/tools.ts @@ -12,16 +12,10 @@ import { } from "../../outputs.js"; import { iam_role_names } from "../outputs.js"; import { - iam_invite_components$$schemas$$identifier, - iam_invited_by, - iam_invited_member_email, - iam_invited_on, iam_schemas$$collection_invite_response, - iam_schemas$$expires_on, iam_single_invite_response, iam_user_invite, } from "./outputs.js"; -import { iam_invite_components$$schemas$$identifier as iam_invite_components$$schemas$$identifier$ } from "./schemas.js"; /** * The tools of `user.invites`. @@ -30,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "user_invites_get", title: "Invitation Details", - description: "Gets the details of an invitation.", + description: "Gets the details of an invitation.\n\nGET /user/invites/{invite_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "invite_id": { - "$ref": "#/$defs/iam_invite_components-schemas-identifier", - "description": "Invite identifier tag." + "description": "Invite identifier tag.", + "type": "string" } }, "required": [ @@ -50,21 +45,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_invite_response", $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, - "iam_invited_by": iam_invited_by, - "iam_invited_member_email": iam_invited_member_email, - "iam_invited_on": iam_invited_on, "iam_messages-2": iam_messages$$2, "iam_role_names": iam_role_names, - "iam_schemas-expires_on": iam_schemas$$expires_on, "iam_single_invite_response": iam_single_invite_response, "iam_user_invite": iam_user_invite, }, @@ -102,13 +90,8 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, - "iam_invited_by": iam_invited_by, - "iam_invited_member_email": iam_invited_member_email, - "iam_invited_on": iam_invited_on, "iam_messages-2": iam_messages$$2, "iam_role_names": iam_role_names, - "iam_schemas-expires_on": iam_schemas$$expires_on, "iam_single_invite_response": iam_single_invite_response, "iam_user_invite": iam_user_invite, }, @@ -120,25 +103,21 @@ export const tools: readonly Tool[] = [ { name: "user_invites_list", title: "List Invitations", - description: "Lists all invitations associated with my user.", + description: "Lists all invitations associated with my user.\n\nGET /user/invites", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_schemas-collection_invite_response", $defs: { "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, - "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, - "iam_invited_by": iam_invited_by, - "iam_invited_member_email": iam_invited_member_email, - "iam_invited_on": iam_invited_on, "iam_messages-2": iam_messages$$2, "iam_result_info": iam_result_info, "iam_role_names": iam_role_names, "iam_schemas-collection_invite_response": iam_schemas$$collection_invite_response, - "iam_schemas-expires_on": iam_schemas$$expires_on, "iam_user_invite": iam_user_invite, }, }, @@ -176,15 +155,10 @@ export const tools: readonly Tool[] = [ "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, - "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, - "iam_invited_by": iam_invited_by, - "iam_invited_member_email": iam_invited_member_email, - "iam_invited_on": iam_invited_on, "iam_messages-2": iam_messages$$2, "iam_result_info": iam_result_info, "iam_role_names": iam_role_names, "iam_schemas-collection_invite_response": iam_schemas$$collection_invite_response, - "iam_schemas-expires_on": iam_schemas$$expires_on, "iam_user_invite": iam_user_invite, }, }, @@ -195,7 +169,7 @@ export const tools: readonly Tool[] = [ { name: "user_invites_respond", title: "Respond to Invitation", - description: "Responds to an invitation.", + description: "Responds to an invitation.\n\nPATCH /user/invites/{invite_id}", inputSchema: { type: "object", properties: { @@ -216,10 +190,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "invite_id": { - "$ref": "#/$defs/iam_invite_components-schemas-identifier", - "description": "Invite identifier tag." + "description": "Invite identifier tag.", + "type": "string" } }, "required": [ @@ -232,21 +207,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_invite_response", $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, - "iam_invited_by": iam_invited_by, - "iam_invited_member_email": iam_invited_member_email, - "iam_invited_on": iam_invited_on, "iam_messages-2": iam_messages$$2, "iam_role_names": iam_role_names, - "iam_schemas-expires_on": iam_schemas$$expires_on, "iam_single_invite_response": iam_single_invite_response, "iam_user_invite": iam_user_invite, }, @@ -283,13 +251,8 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_invite_components-schemas-identifier": iam_invite_components$$schemas$$identifier, - "iam_invited_by": iam_invited_by, - "iam_invited_member_email": iam_invited_member_email, - "iam_invited_on": iam_invited_on, "iam_messages-2": iam_messages$$2, "iam_role_names": iam_role_names, - "iam_schemas-expires_on": iam_schemas$$expires_on, "iam_single_invite_response": iam_single_invite_response, "iam_user_invite": iam_user_invite, }, diff --git a/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts b/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts index 2df671705..49f8d279b 100644 --- a/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/monitors/preview/tools.ts @@ -6,29 +6,12 @@ import { load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_api$$response$$single, - load$$balancing_identifier, load$$balancing_messages, load$$balancing_preview_response, } from "../../../../outputs.js"; import { - load$$balancing_allow_insecure, - load$$balancing_consecutive_down, - load$$balancing_consecutive_up, - load$$balancing_description, - load$$balancing_expected_body, - load$$balancing_expected_codes, - load$$balancing_follow_redirects, load$$balancing_header, - load$$balancing_identifier as load$$balancing_identifier$, - load$$balancing_interval, - load$$balancing_method, load$$balancing_monitor$$editable, - load$$balancing_path, - load$$balancing_port, - load$$balancing_probe_zone, - load$$balancing_retries, - load$$balancing_timeout, - load$$balancing_type, } from "../../../../schemas.js"; /** @@ -38,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_monitors_preview_create", title: "Preview Monitor", - description: "Preview pools using the specified monitor with provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.", + description: "Preview pools using the specified monitor with provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.\n\nPOST /user/load_balancers/monitors/{monitor_id}/preview", inputSchema: { type: "object", properties: { @@ -46,9 +29,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-editable" }, "path": { + "additionalProperties": false, "properties": { "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -61,25 +45,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier$, - "load-balancing_interval": load$$balancing_interval, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_type": load$$balancing_type, }, }, outputSchema: { @@ -87,7 +56,6 @@ export const tools: readonly Tool[] = [ $defs: { "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, "load-balancing_preview_response": load$$balancing_preview_response, }, @@ -114,7 +82,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, "load-balancing_preview_response": load$$balancing_preview_response, }, diff --git a/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts b/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts index 0ff9dbd2e..0eb6f669e 100644 --- a/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/monitors/references/tools.ts @@ -8,7 +8,6 @@ import { load$$balancing_messages, load$$balancing_monitor$$references$$response, } from "../../../../outputs.js"; -import { load$$balancing_identifier } from "../../../../schemas.js"; /** * The tools of `user.loadBalancers.monitors.references`. @@ -17,14 +16,15 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_monitors_references_list", title: "List Monitor References", - description: "Get the list of resources that reference the provided monitor.", + description: "Get the list of resources that reference the provided monitor.\n\nGET /user/load_balancers/monitors/{monitor_id}/references", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -36,9 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_identifier": load$$balancing_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-references-response", diff --git a/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts b/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts index 4bc5084ac..08124bb1b 100644 --- a/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/monitors/tools.ts @@ -3,55 +3,22 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { - load$$balancing_allow_insecure, load$$balancing_api$$paginated$$response$$collection, load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_api$$response$$single, - load$$balancing_consecutive_down, - load$$balancing_consecutive_up, - load$$balancing_description, - load$$balancing_expected_body, - load$$balancing_expected_codes, - load$$balancing_follow_redirects, load$$balancing_header, load$$balancing_id_response, - load$$balancing_identifier, - load$$balancing_interval, load$$balancing_messages, - load$$balancing_method, load$$balancing_monitor, load$$balancing_monitor$$editable, load$$balancing_monitor$$response$$collection, load$$balancing_monitor$$response$$single, - load$$balancing_path, - load$$balancing_port, - load$$balancing_probe_zone, load$$balancing_result_info, - load$$balancing_retries, - load$$balancing_timeout, - load$$balancing_timestamp, - load$$balancing_type, } from "../../../outputs.js"; import { - load$$balancing_allow_insecure as load$$balancing_allow_insecure$, - load$$balancing_consecutive_down as load$$balancing_consecutive_down$, - load$$balancing_consecutive_up as load$$balancing_consecutive_up$, - load$$balancing_description as load$$balancing_description$, - load$$balancing_expected_body as load$$balancing_expected_body$, - load$$balancing_expected_codes as load$$balancing_expected_codes$, - load$$balancing_follow_redirects as load$$balancing_follow_redirects$, load$$balancing_header as load$$balancing_header$, - load$$balancing_identifier as load$$balancing_identifier$, - load$$balancing_interval as load$$balancing_interval$, - load$$balancing_method as load$$balancing_method$, load$$balancing_monitor$$editable as load$$balancing_monitor$$editable$, - load$$balancing_path as load$$balancing_path$, - load$$balancing_port as load$$balancing_port$, - load$$balancing_probe_zone as load$$balancing_probe_zone$, - load$$balancing_retries as load$$balancing_retries$, - load$$balancing_timeout as load$$balancing_timeout$, - load$$balancing_type as load$$balancing_type$, } from "../../../schemas.js"; /** @@ -61,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_monitors_create", title: "Create Monitor", - description: "Create a configured monitor.", + description: "Create a configured monitor.\n\nPOST /user/load_balancers/monitors", inputSchema: { type: "object", properties: { @@ -72,53 +39,22 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure$, - "load-balancing_consecutive_down": load$$balancing_consecutive_down$, - "load-balancing_consecutive_up": load$$balancing_consecutive_up$, - "load-balancing_description": load$$balancing_description$, - "load-balancing_expected_body": load$$balancing_expected_body$, - "load-balancing_expected_codes": load$$balancing_expected_codes$, - "load-balancing_follow_redirects": load$$balancing_follow_redirects$, "load-balancing_header": load$$balancing_header$, - "load-balancing_interval": load$$balancing_interval$, - "load-balancing_method": load$$balancing_method$, "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, - "load-balancing_path": load$$balancing_path$, - "load-balancing_port": load$$balancing_port$, - "load-balancing_probe_zone": load$$balancing_probe_zone$, - "load-balancing_retries": load$$balancing_retries$, - "load-balancing_timeout": load$$balancing_timeout$, - "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -145,31 +81,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -180,14 +99,15 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_monitors_delete", title: "Delete Monitor", - description: "Delete a configured monitor.", + description: "Delete a configured monitor.\n\nDELETE /user/load_balancers/monitors/{monitor_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -199,9 +119,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_identifier": load$$balancing_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_id_response", @@ -209,7 +127,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_id_response": load$$balancing_id_response, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, }, }, @@ -241,7 +158,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_id_response": load$$balancing_id_response, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, }, }, @@ -252,7 +168,7 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_monitors_edit", title: "Patch Monitor", - description: "Apply changes to an existing monitor, overwriting the supplied properties.", + description: "Apply changes to an existing monitor, overwriting the supplied properties.\n\nPATCH /user/load_balancers/monitors/{monitor_id}", inputSchema: { type: "object", properties: { @@ -260,9 +176,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-editable" }, "path": { + "additionalProperties": false, "properties": { "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -275,54 +192,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure$, - "load-balancing_consecutive_down": load$$balancing_consecutive_down$, - "load-balancing_consecutive_up": load$$balancing_consecutive_up$, - "load-balancing_description": load$$balancing_description$, - "load-balancing_expected_body": load$$balancing_expected_body$, - "load-balancing_expected_codes": load$$balancing_expected_codes$, - "load-balancing_follow_redirects": load$$balancing_follow_redirects$, "load-balancing_header": load$$balancing_header$, - "load-balancing_identifier": load$$balancing_identifier$, - "load-balancing_interval": load$$balancing_interval$, - "load-balancing_method": load$$balancing_method$, "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, - "load-balancing_path": load$$balancing_path$, - "load-balancing_port": load$$balancing_port$, - "load-balancing_probe_zone": load$$balancing_probe_zone$, - "load-balancing_retries": load$$balancing_retries$, - "load-balancing_timeout": load$$balancing_timeout$, - "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -349,31 +234,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -384,14 +252,15 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_monitors_get", title: "Monitor Details", - description: "Fetch a single configured monitor for a user.", + description: "Fetch a single configured monitor for a user.\n\nGET /user/load_balancers/monitors/{monitor_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -403,37 +272,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_identifier": load$$balancing_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -461,31 +311,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ @@ -495,39 +328,23 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_monitors_list", title: "List Monitors", - description: "List configured monitors for a user.", + description: "List configured monitors for a user.\n\nGET /user/load_balancers/monitors", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-collection", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-collection": load$$balancing_monitor$$response$$collection, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -555,32 +372,15 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-collection": load$$balancing_monitor$$response$$collection, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (_args) => ({ @@ -590,7 +390,7 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_monitors_update", title: "Update Monitor", - description: "Modify a configured monitor.", + description: "Modify a configured monitor.\n\nPUT /user/load_balancers/monitors/{monitor_id}", inputSchema: { type: "object", properties: { @@ -598,9 +398,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-editable" }, "path": { + "additionalProperties": false, "properties": { "monitor_id": { - "$ref": "#/$defs/load-balancing_identifier" + "type": "string" } }, "required": [ @@ -613,54 +414,22 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure$, - "load-balancing_consecutive_down": load$$balancing_consecutive_down$, - "load-balancing_consecutive_up": load$$balancing_consecutive_up$, - "load-balancing_description": load$$balancing_description$, - "load-balancing_expected_body": load$$balancing_expected_body$, - "load-balancing_expected_codes": load$$balancing_expected_codes$, - "load-balancing_follow_redirects": load$$balancing_follow_redirects$, "load-balancing_header": load$$balancing_header$, - "load-balancing_identifier": load$$balancing_identifier$, - "load-balancing_interval": load$$balancing_interval$, - "load-balancing_method": load$$balancing_method$, "load-balancing_monitor-editable": load$$balancing_monitor$$editable$, - "load-balancing_path": load$$balancing_path$, - "load-balancing_port": load$$balancing_port$, - "load-balancing_probe_zone": load$$balancing_probe_zone$, - "load-balancing_retries": load$$balancing_retries$, - "load-balancing_timeout": load$$balancing_timeout$, - "load-balancing_type": load$$balancing_type$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_monitor-response-single", $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, annotations: { @@ -687,31 +456,14 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_identifier": load$$balancing_identifier, - "load-balancing_interval": load$$balancing_interval, "load-balancing_messages": load$$balancing_messages, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor": load$$balancing_monitor, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, "load-balancing_monitor-response-single": load$$balancing_monitor$$response$$single, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_type": load$$balancing_type, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts index de6e918b5..2e2087736 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/edit/pools/tools.ts @@ -4,75 +4,37 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { load$$balancing_Host, - load$$balancing_address, load$$balancing_api$$paginated$$response$$collection, load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_api$$response$$single, load$$balancing_check_regions, - load$$balancing_disabled_at, - load$$balancing_enabled, load$$balancing_filter_options, load$$balancing_health_sources, - load$$balancing_latitude, load$$balancing_load_shedding, - load$$balancing_longitude, load$$balancing_messages, - load$$balancing_minimum_origins, - load$$balancing_monitor_group_id, - load$$balancing_monitor_id, - load$$balancing_name, load$$balancing_networks, - load$$balancing_notification_email, load$$balancing_notification_filter, load$$balancing_origin, - load$$balancing_origin_flatten_cname, - load$$balancing_origin_port, load$$balancing_origin_steering, load$$balancing_origins, load$$balancing_pool, load$$balancing_result_info, - load$$balancing_schemas$$description, - load$$balancing_schemas$$disabled_at, - load$$balancing_schemas$$enabled, load$$balancing_schemas$$header, - load$$balancing_schemas$$identifier, - load$$balancing_schemas$$name, load$$balancing_schemas$$response_collection, load$$balancing_schemas$$single_response, - load$$balancing_timestamp, - load$$balancing_virtual_network_id, - load$$balancing_weight, } from "../../../../../outputs.js"; import { load$$balancing_Host as load$$balancing_Host$, - load$$balancing_address as load$$balancing_address$, load$$balancing_check_regions as load$$balancing_check_regions$, - load$$balancing_enabled as load$$balancing_enabled$, load$$balancing_filter_options as load$$balancing_filter_options$, load$$balancing_health_sources as load$$balancing_health_sources$, - load$$balancing_latitude as load$$balancing_latitude$, load$$balancing_load_shedding as load$$balancing_load_shedding$, - load$$balancing_longitude as load$$balancing_longitude$, - load$$balancing_minimum_origins as load$$balancing_minimum_origins$, - load$$balancing_monitor_group_id as load$$balancing_monitor_group_id$, - load$$balancing_monitor_id as load$$balancing_monitor_id$, - load$$balancing_name as load$$balancing_name$, - load$$balancing_notification_email as load$$balancing_notification_email$, load$$balancing_notification_filter as load$$balancing_notification_filter$, load$$balancing_origin as load$$balancing_origin$, - load$$balancing_origin_flatten_cname as load$$balancing_origin_flatten_cname$, - load$$balancing_origin_port as load$$balancing_origin_port$, load$$balancing_origin_steering as load$$balancing_origin_steering$, load$$balancing_origins as load$$balancing_origins$, - load$$balancing_patch_pools_notification_email, - load$$balancing_schemas$$description as load$$balancing_schemas$$description$, - load$$balancing_schemas$$enabled as load$$balancing_schemas$$enabled$, load$$balancing_schemas$$header as load$$balancing_schemas$$header$, - load$$balancing_schemas$$identifier as load$$balancing_schemas$$identifier$, - load$$balancing_schemas$$name as load$$balancing_schemas$$name$, - load$$balancing_virtual_network_id as load$$balancing_virtual_network_id$, - load$$balancing_weight as load$$balancing_weight$, } from "../../../../../schemas.js"; /** @@ -82,7 +44,7 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_edit_pools_pool", title: "Patch Pool", - description: "Apply changes to an existing pool, overwriting the supplied properties.", + description: "Apply changes to an existing pool, overwriting the supplied properties.\n\nPATCH /user/load_balancers/pools/{pool_id}", inputSchema: { type: "object", properties: { @@ -93,52 +55,52 @@ export const tools: readonly Tool[] = [ "description": "A list of regions from which to run health checks. Null means every Cloudflare data center." }, "description": { - "$ref": "#/$defs/load-balancing_schemas-description", "default": "", - "description": "A human-readable description of the pool." + "description": "A human-readable description of the pool.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_enabled", "default": true, - "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any)." + "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).", + "type": "boolean" }, "health_sources": { "$ref": "#/$defs/load-balancing_health_sources", "description": "A list of health sources, ordered from highest to lowest priority, used to evaluate individual origin health and overall pool health. The load balancer uses the first source that has data and falls back to the next. Currently accepted values are null or the exact array [\"regional\", \"global\"]; any other combination is rejected. Null (the default) behaves like [\"local\", \"global\"]. [\"regional\", \"global\"] makes each region steer on its own health, falling back to the global decision when a region has no fresh data. Setting regional requires at least one region in check_regions." }, "latitude": { - "$ref": "#/$defs/load-balancing_latitude", - "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set." + "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set.", + "type": "number" }, "load_shedding": { "$ref": "#/$defs/load-balancing_load_shedding", "description": "Configures load shedding policies and percentages for the pool." }, "longitude": { - "$ref": "#/$defs/load-balancing_longitude", - "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set." + "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set.", + "type": "number" }, "minimum_origins": { - "$ref": "#/$defs/load-balancing_minimum_origins", "default": 1, - "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool." + "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool.", + "type": "integer" }, "monitor": { - "$ref": "#/$defs/load-balancing_monitor_id", - "description": "The ID of the Monitor to use for checking the health of origins within this pool." + "description": "The ID of the Monitor to use for checking the health of origins within this pool.", + "type": "string" }, "monitor_group": { - "$ref": "#/$defs/load-balancing_monitor_group_id", - "description": "The ID of the Monitor Group to use for checking the health of origins within this pool." + "description": "The ID of the Monitor Group to use for checking the health of origins within this pool.", + "type": "string" }, "name": { - "$ref": "#/$defs/load-balancing_name", - "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed." + "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.", + "type": "string" }, "notification_email": { - "$ref": "#/$defs/load-balancing_notification_email", "default": "", - "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list." + "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.", + "type": "string" }, "notification_filter": { "$ref": "#/$defs/load-balancing_notification_filter", @@ -156,9 +118,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -171,75 +134,39 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "load-balancing_Host": load$$balancing_Host$, - "load-balancing_address": load$$balancing_address$, "load-balancing_check_regions": load$$balancing_check_regions$, - "load-balancing_enabled": load$$balancing_enabled$, "load-balancing_filter_options": load$$balancing_filter_options$, "load-balancing_health_sources": load$$balancing_health_sources$, - "load-balancing_latitude": load$$balancing_latitude$, "load-balancing_load_shedding": load$$balancing_load_shedding$, - "load-balancing_longitude": load$$balancing_longitude$, - "load-balancing_minimum_origins": load$$balancing_minimum_origins$, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, - "load-balancing_monitor_id": load$$balancing_monitor_id$, - "load-balancing_name": load$$balancing_name$, - "load-balancing_notification_email": load$$balancing_notification_email$, "load-balancing_notification_filter": load$$balancing_notification_filter$, "load-balancing_origin": load$$balancing_origin$, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, - "load-balancing_origin_port": load$$balancing_origin_port$, "load-balancing_origin_steering": load$$balancing_origin_steering$, "load-balancing_origins": load$$balancing_origins$, - "load-balancing_schemas-description": load$$balancing_schemas$$description$, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, "load-balancing_schemas-header": load$$balancing_schemas$$header$, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, - "load-balancing_schemas-name": load$$balancing_schemas$$name$, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, - "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -267,42 +194,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -313,15 +220,15 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_edit_pools_pools", title: "Patch Pools", - description: "Apply changes to a number of existing pools, overwriting the supplied properties. Pools are ordered by ascending `name`. Returns the list of affected pools. Supports the standard pagination query parameters, either `limit`/`offset` or `per_page`/`page`.", + description: "Apply changes to a number of existing pools, overwriting the supplied properties. Pools are ordered by ascending `name`. Returns the list of affected pools. Supports the standard pagination query parameters, either `limit`/`offset` or `per_page`/`page`.\n\nPATCH /user/load_balancers/pools", inputSchema: { type: "object", properties: { "body": { "properties": { "notification_email": { - "$ref": "#/$defs/load-balancing_patch_pools_notification_email", - "description": "The email address to send health status notifications to. This field is now deprecated in favor of Cloudflare Notifications for Load Balancing, so only resetting this field with an empty string `\"\"` is accepted." + "description": "The email address to send health status notifications to. This field is now deprecated in favor of Cloudflare Notifications for Load Balancing, so only resetting this field with an empty string `\"\"` is accepted.", + "type": "string" } }, "type": "object" @@ -330,50 +237,28 @@ export const tools: readonly Tool[] = [ required: [ "body" ], - $defs: { - "load-balancing_patch_pools_notification_email": load$$balancing_patch_pools_notification_email, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-response_collection", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -401,43 +286,23 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts index 20adb5e8e..541d74a57 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/health/tools.ts @@ -10,7 +10,6 @@ import { load$$balancing_messages, load$$balancing_origin$$health, } from "../../../../outputs.js"; -import { load$$balancing_schemas$$identifier } from "../../../../schemas.js"; /** * The tools of `user.loadBalancers.pools.health`. @@ -19,14 +18,15 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_health_get", title: "Pool Health Details", - description: "Fetch the latest pool health status for a single pool.", + description: "Fetch the latest pool health status for a single pool.\n\nGET /user/load_balancers/pools/{pool_id}/health", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -38,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_health_details", diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts index 466745781..75e0e5acc 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/preview/tools.ts @@ -6,29 +6,12 @@ import { load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_api$$response$$single, - load$$balancing_identifier, load$$balancing_messages, load$$balancing_preview_response, } from "../../../../outputs.js"; import { - load$$balancing_allow_insecure, - load$$balancing_consecutive_down, - load$$balancing_consecutive_up, - load$$balancing_description, - load$$balancing_expected_body, - load$$balancing_expected_codes, - load$$balancing_follow_redirects, load$$balancing_header, - load$$balancing_interval, - load$$balancing_method, load$$balancing_monitor$$editable, - load$$balancing_path, - load$$balancing_port, - load$$balancing_probe_zone, - load$$balancing_retries, - load$$balancing_schemas$$identifier, - load$$balancing_timeout, - load$$balancing_type, } from "../../../../schemas.js"; /** @@ -38,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_preview_create", title: "Preview Pool", - description: "Preview pool health using provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.", + description: "Preview pool health using provided monitor details. The returned preview_id can be used in the preview endpoint to retrieve the results.\n\nPOST /user/load_balancers/pools/{pool_id}/preview", inputSchema: { type: "object", properties: { @@ -46,9 +29,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/load-balancing_monitor-editable" }, "path": { + "additionalProperties": false, "properties": { "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -61,25 +45,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "load-balancing_allow_insecure": load$$balancing_allow_insecure, - "load-balancing_consecutive_down": load$$balancing_consecutive_down, - "load-balancing_consecutive_up": load$$balancing_consecutive_up, - "load-balancing_description": load$$balancing_description, - "load-balancing_expected_body": load$$balancing_expected_body, - "load-balancing_expected_codes": load$$balancing_expected_codes, - "load-balancing_follow_redirects": load$$balancing_follow_redirects, "load-balancing_header": load$$balancing_header, - "load-balancing_interval": load$$balancing_interval, - "load-balancing_method": load$$balancing_method, "load-balancing_monitor-editable": load$$balancing_monitor$$editable, - "load-balancing_path": load$$balancing_path, - "load-balancing_port": load$$balancing_port, - "load-balancing_probe_zone": load$$balancing_probe_zone, - "load-balancing_retries": load$$balancing_retries, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_timeout": load$$balancing_timeout, - "load-balancing_type": load$$balancing_type, }, }, outputSchema: { @@ -87,7 +56,6 @@ export const tools: readonly Tool[] = [ $defs: { "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, "load-balancing_preview_response": load$$balancing_preview_response, }, @@ -114,7 +82,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, - "load-balancing_identifier": load$$balancing_identifier, "load-balancing_messages": load$$balancing_messages, "load-balancing_preview_response": load$$balancing_preview_response, }, diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts index 6f883d5c4..ebc074b80 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/references/tools.ts @@ -8,7 +8,6 @@ import { load$$balancing_messages, load$$balancing_pools$$references$$response, } from "../../../../outputs.js"; -import { load$$balancing_schemas$$identifier } from "../../../../schemas.js"; /** * The tools of `user.loadBalancers.pools.references`. @@ -17,14 +16,15 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_references_list", title: "List Pool References", - description: "Get the list of resources that reference the provided pool.", + description: "Get the list of resources that reference the provided pool.\n\nGET /user/load_balancers/pools/{pool_id}/references", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -36,9 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_pools-references-response", diff --git a/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts b/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts index ef1eb1e00..45a9f50c6 100644 --- a/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/pools/tools.ts @@ -4,76 +4,39 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { load$$balancing_Host, - load$$balancing_address, load$$balancing_api$$paginated$$response$$collection, load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_api$$response$$single, load$$balancing_check_regions, - load$$balancing_disabled_at, - load$$balancing_enabled, load$$balancing_filter_options, load$$balancing_health_sources, - load$$balancing_latitude, load$$balancing_load_shedding, - load$$balancing_longitude, load$$balancing_messages, - load$$balancing_minimum_origins, - load$$balancing_monitor_group_id, - load$$balancing_monitor_id, - load$$balancing_name, load$$balancing_networks, - load$$balancing_notification_email, load$$balancing_notification_filter, load$$balancing_origin, - load$$balancing_origin_flatten_cname, - load$$balancing_origin_port, load$$balancing_origin_steering, load$$balancing_origins, load$$balancing_pool, load$$balancing_result_info, - load$$balancing_schemas$$description, - load$$balancing_schemas$$disabled_at, - load$$balancing_schemas$$enabled, load$$balancing_schemas$$header, load$$balancing_schemas$$id_response, - load$$balancing_schemas$$identifier, - load$$balancing_schemas$$name, load$$balancing_schemas$$response_collection, load$$balancing_schemas$$single_response, - load$$balancing_timestamp, - load$$balancing_virtual_network_id, - load$$balancing_weight, } from "../../../outputs.js"; import { load$$balancing_Host as load$$balancing_Host$, - load$$balancing_address as load$$balancing_address$, load$$balancing_check_regions as load$$balancing_check_regions$, - load$$balancing_enabled as load$$balancing_enabled$, load$$balancing_filter_options as load$$balancing_filter_options$, load$$balancing_health_sources as load$$balancing_health_sources$, - load$$balancing_latitude as load$$balancing_latitude$, load$$balancing_load_shedding as load$$balancing_load_shedding$, - load$$balancing_longitude as load$$balancing_longitude$, - load$$balancing_minimum_origins as load$$balancing_minimum_origins$, - load$$balancing_monitor_group_id as load$$balancing_monitor_group_id$, - load$$balancing_monitor_id as load$$balancing_monitor_id$, - load$$balancing_name as load$$balancing_name$, load$$balancing_networks as load$$balancing_networks$, - load$$balancing_notification_email as load$$balancing_notification_email$, load$$balancing_notification_filter as load$$balancing_notification_filter$, load$$balancing_origin as load$$balancing_origin$, - load$$balancing_origin_flatten_cname as load$$balancing_origin_flatten_cname$, - load$$balancing_origin_port as load$$balancing_origin_port$, load$$balancing_origin_steering as load$$balancing_origin_steering$, load$$balancing_origins as load$$balancing_origins$, - load$$balancing_schemas$$description as load$$balancing_schemas$$description$, - load$$balancing_schemas$$enabled as load$$balancing_schemas$$enabled$, load$$balancing_schemas$$header as load$$balancing_schemas$$header$, - load$$balancing_schemas$$identifier as load$$balancing_schemas$$identifier$, - load$$balancing_schemas$$name as load$$balancing_schemas$$name$, - load$$balancing_virtual_network_id as load$$balancing_virtual_network_id$, - load$$balancing_weight as load$$balancing_weight$, } from "../../../schemas.js"; /** @@ -83,7 +46,7 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_create", title: "Create Pool", - description: "Create a new pool.", + description: "Create a new pool.\n\nPOST /user/load_balancers/pools", inputSchema: { type: "object", properties: { @@ -94,56 +57,56 @@ export const tools: readonly Tool[] = [ "description": "A list of regions from which to run health checks. Null means every Cloudflare data center." }, "description": { - "$ref": "#/$defs/load-balancing_schemas-description", "default": "", - "description": "A human-readable description of the pool." + "description": "A human-readable description of the pool.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_enabled", "default": true, - "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any)." + "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).", + "type": "boolean" }, "health_sources": { "$ref": "#/$defs/load-balancing_health_sources", "description": "A list of health sources, ordered from highest to lowest priority, used to evaluate individual origin health and overall pool health. The load balancer uses the first source that has data and falls back to the next. Currently accepted values are null or the exact array [\"regional\", \"global\"]; any other combination is rejected. Null (the default) behaves like [\"local\", \"global\"]. [\"regional\", \"global\"] makes each region steer on its own health, falling back to the global decision when a region has no fresh data. Setting regional requires at least one region in check_regions." }, "latitude": { - "$ref": "#/$defs/load-balancing_latitude", - "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set." + "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set.", + "type": "number" }, "load_shedding": { "$ref": "#/$defs/load-balancing_load_shedding", "description": "Configures load shedding policies and percentages for the pool." }, "longitude": { - "$ref": "#/$defs/load-balancing_longitude", - "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set." + "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set.", + "type": "number" }, "minimum_origins": { - "$ref": "#/$defs/load-balancing_minimum_origins", "default": 1, - "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool." + "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool.", + "type": "integer" }, "monitor": { - "$ref": "#/$defs/load-balancing_monitor_id", - "description": "The ID of the Monitor to use for checking the health of origins within this pool." + "description": "The ID of the Monitor to use for checking the health of origins within this pool.", + "type": "string" }, "monitor_group": { - "$ref": "#/$defs/load-balancing_monitor_group_id", - "description": "The ID of the Monitor Group to use for checking the health of origins within this pool." + "description": "The ID of the Monitor Group to use for checking the health of origins within this pool.", + "type": "string" }, "name": { - "$ref": "#/$defs/load-balancing_name", - "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed." + "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.", + "type": "string" }, "networks": { "$ref": "#/$defs/load-balancing_networks", "description": "List of networks where Load Balancer or Pool is enabled." }, "notification_email": { - "$ref": "#/$defs/load-balancing_notification_email", "default": "", - "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list." + "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.", + "type": "string" }, "notification_filter": { "$ref": "#/$defs/load-balancing_notification_filter", @@ -168,75 +131,40 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { "load-balancing_Host": load$$balancing_Host$, - "load-balancing_address": load$$balancing_address$, "load-balancing_check_regions": load$$balancing_check_regions$, - "load-balancing_enabled": load$$balancing_enabled$, "load-balancing_filter_options": load$$balancing_filter_options$, "load-balancing_health_sources": load$$balancing_health_sources$, - "load-balancing_latitude": load$$balancing_latitude$, "load-balancing_load_shedding": load$$balancing_load_shedding$, - "load-balancing_longitude": load$$balancing_longitude$, - "load-balancing_minimum_origins": load$$balancing_minimum_origins$, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, - "load-balancing_monitor_id": load$$balancing_monitor_id$, - "load-balancing_name": load$$balancing_name$, "load-balancing_networks": load$$balancing_networks$, - "load-balancing_notification_email": load$$balancing_notification_email$, "load-balancing_notification_filter": load$$balancing_notification_filter$, "load-balancing_origin": load$$balancing_origin$, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, - "load-balancing_origin_port": load$$balancing_origin_port$, "load-balancing_origin_steering": load$$balancing_origin_steering$, "load-balancing_origins": load$$balancing_origins$, - "load-balancing_schemas-description": load$$balancing_schemas$$description$, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, "load-balancing_schemas-header": load$$balancing_schemas$$header$, - "load-balancing_schemas-name": load$$balancing_schemas$$name$, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, - "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -264,42 +192,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -310,14 +218,15 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_delete", title: "Delete Pool", - description: "Delete a configured pool.", + description: "Delete a configured pool.\n\nDELETE /user/load_balancers/pools/{pool_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -329,9 +238,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-id_response", @@ -340,7 +247,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_messages": load$$balancing_messages, "load-balancing_schemas-id_response": load$$balancing_schemas$$id_response, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, annotations: { @@ -372,7 +278,6 @@ export const tools: readonly Tool[] = [ "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_messages": load$$balancing_messages, "load-balancing_schemas-id_response": load$$balancing_schemas$$id_response, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, }, }, request: (args) => ({ @@ -382,14 +287,15 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_get", title: "Pool Details", - description: "Fetch a single configured pool.", + description: "Fetch a single configured pool.\n\nGET /user/load_balancers/pools/{pool_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -401,49 +307,27 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -472,42 +356,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -517,11 +381,12 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_list", title: "List Pools", - description: "List configured pools.", + description: "List configured pools.\n\nGET /user/load_balancers/pools", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "monitor": { "description": "The ID of the Monitor to use for checking the health of origins within this pool.", @@ -531,47 +396,28 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-response_collection", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -600,43 +446,23 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-response_collection": load$$balancing_schemas$$response_collection, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ @@ -649,7 +475,7 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_pools_update", title: "Update Pool", - description: "Modify a configured pool.", + description: "Modify a configured pool.\n\nPUT /user/load_balancers/pools/{pool_id}", inputSchema: { type: "object", properties: { @@ -660,56 +486,56 @@ export const tools: readonly Tool[] = [ "description": "A list of regions from which to run health checks. Null means every Cloudflare data center." }, "description": { - "$ref": "#/$defs/load-balancing_schemas-description", "default": "", - "description": "A human-readable description of the pool." + "description": "A human-readable description of the pool.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/load-balancing_enabled", "default": true, - "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any)." + "description": "Whether to enable (the default) or disable this pool. Disabled pools will not receive traffic and are excluded from health checks. Disabling a pool will cause any load balancers using it to failover to the next pool (if any).", + "type": "boolean" }, "health_sources": { "$ref": "#/$defs/load-balancing_health_sources", "description": "A list of health sources, ordered from highest to lowest priority, used to evaluate individual origin health and overall pool health. The load balancer uses the first source that has data and falls back to the next. Currently accepted values are null or the exact array [\"regional\", \"global\"]; any other combination is rejected. Null (the default) behaves like [\"local\", \"global\"]. [\"regional\", \"global\"] makes each region steer on its own health, falling back to the global decision when a region has no fresh data. Setting regional requires at least one region in check_regions." }, "latitude": { - "$ref": "#/$defs/load-balancing_latitude", - "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set." + "description": "The latitude of the data center containing the origins used in this pool in decimal degrees. If this is set, longitude must also be set.", + "type": "number" }, "load_shedding": { "$ref": "#/$defs/load-balancing_load_shedding", "description": "Configures load shedding policies and percentages for the pool." }, "longitude": { - "$ref": "#/$defs/load-balancing_longitude", - "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set." + "description": "The longitude of the data center containing the origins used in this pool in decimal degrees. If this is set, latitude must also be set.", + "type": "number" }, "minimum_origins": { - "$ref": "#/$defs/load-balancing_minimum_origins", "default": 1, - "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool." + "description": "The minimum number of origins that must be healthy for this pool to serve traffic. If the number of healthy origins falls below this number, the pool will be marked unhealthy and will failover to the next available pool.", + "type": "integer" }, "monitor": { - "$ref": "#/$defs/load-balancing_monitor_id", - "description": "The ID of the Monitor to use for checking the health of origins within this pool." + "description": "The ID of the Monitor to use for checking the health of origins within this pool.", + "type": "string" }, "monitor_group": { - "$ref": "#/$defs/load-balancing_monitor_group_id", - "description": "The ID of the Monitor Group to use for checking the health of origins within this pool." + "description": "The ID of the Monitor Group to use for checking the health of origins within this pool.", + "type": "string" }, "name": { - "$ref": "#/$defs/load-balancing_name", - "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed." + "description": "A short name (tag) for the pool. Only alphanumeric characters, hyphens, and underscores are allowed.", + "type": "string" }, "networks": { "$ref": "#/$defs/load-balancing_networks", "description": "List of networks where Load Balancer or Pool is enabled." }, "notification_email": { - "$ref": "#/$defs/load-balancing_notification_email", "default": "", - "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list." + "description": "This field is now deprecated. It has been moved to Cloudflare's Centralized Notification service https://developers.cloudflare.com/fundamentals/notifications/. The email address to send health status notifications to. This can be an individual mailbox or a mailing list. Multiple emails can be supplied as a comma delimited list.", + "type": "string" }, "notification_filter": { "$ref": "#/$defs/load-balancing_notification_filter", @@ -731,9 +557,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" } }, "required": [ @@ -746,76 +573,40 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "load-balancing_Host": load$$balancing_Host$, - "load-balancing_address": load$$balancing_address$, "load-balancing_check_regions": load$$balancing_check_regions$, - "load-balancing_enabled": load$$balancing_enabled$, "load-balancing_filter_options": load$$balancing_filter_options$, "load-balancing_health_sources": load$$balancing_health_sources$, - "load-balancing_latitude": load$$balancing_latitude$, "load-balancing_load_shedding": load$$balancing_load_shedding$, - "load-balancing_longitude": load$$balancing_longitude$, - "load-balancing_minimum_origins": load$$balancing_minimum_origins$, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id$, - "load-balancing_monitor_id": load$$balancing_monitor_id$, - "load-balancing_name": load$$balancing_name$, "load-balancing_networks": load$$balancing_networks$, - "load-balancing_notification_email": load$$balancing_notification_email$, "load-balancing_notification_filter": load$$balancing_notification_filter$, "load-balancing_origin": load$$balancing_origin$, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname$, - "load-balancing_origin_port": load$$balancing_origin_port$, "load-balancing_origin_steering": load$$balancing_origin_steering$, "load-balancing_origins": load$$balancing_origins$, - "load-balancing_schemas-description": load$$balancing_schemas$$description$, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled$, "load-balancing_schemas-header": load$$balancing_schemas$$header$, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier$, - "load-balancing_schemas-name": load$$balancing_schemas$$name$, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id$, - "load-balancing_weight": load$$balancing_weight$, }, }, outputSchema: { "$ref": "#/$defs/load-balancing_schemas-single_response", $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, annotations: { @@ -843,42 +634,22 @@ export const tools: readonly Tool[] = [ }, $defs: { "load-balancing_Host": load$$balancing_Host, - "load-balancing_address": load$$balancing_address, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_api-response-common-failure": load$$balancing_api$$response$$common$$failure, "load-balancing_api-response-single": load$$balancing_api$$response$$single, "load-balancing_check_regions": load$$balancing_check_regions, - "load-balancing_disabled_at": load$$balancing_disabled_at, - "load-balancing_enabled": load$$balancing_enabled, "load-balancing_filter_options": load$$balancing_filter_options, "load-balancing_health_sources": load$$balancing_health_sources, - "load-balancing_latitude": load$$balancing_latitude, "load-balancing_load_shedding": load$$balancing_load_shedding, - "load-balancing_longitude": load$$balancing_longitude, "load-balancing_messages": load$$balancing_messages, - "load-balancing_minimum_origins": load$$balancing_minimum_origins, - "load-balancing_monitor_group_id": load$$balancing_monitor_group_id, - "load-balancing_monitor_id": load$$balancing_monitor_id, - "load-balancing_name": load$$balancing_name, "load-balancing_networks": load$$balancing_networks, - "load-balancing_notification_email": load$$balancing_notification_email, "load-balancing_notification_filter": load$$balancing_notification_filter, "load-balancing_origin": load$$balancing_origin, - "load-balancing_origin_flatten_cname": load$$balancing_origin_flatten_cname, - "load-balancing_origin_port": load$$balancing_origin_port, "load-balancing_origin_steering": load$$balancing_origin_steering, "load-balancing_origins": load$$balancing_origins, "load-balancing_pool": load$$balancing_pool, - "load-balancing_schemas-description": load$$balancing_schemas$$description, - "load-balancing_schemas-disabled_at": load$$balancing_schemas$$disabled_at, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, "load-balancing_schemas-header": load$$balancing_schemas$$header, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_schemas-name": load$$balancing_schemas$$name, "load-balancing_schemas-single_response": load$$balancing_schemas$$single_response, - "load-balancing_timestamp": load$$balancing_timestamp, - "load-balancing_virtual_network_id": load$$balancing_virtual_network_id, - "load-balancing_weight": load$$balancing_weight, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/loadBalancers/preview/schemas.ts b/src/generated/forge-mcp/user/loadBalancers/preview/schemas.ts deleted file mode 100644 index 96629f20c..000000000 --- a/src/generated/forge-mcp/user/loadBalancers/preview/schemas.ts +++ /dev/null @@ -1,9 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `load-balancing_preview_id`. - */ -export const load$$balancing_preview_id: JsonSchema = {}; diff --git a/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts b/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts index 66a1ef897..59afc098d 100644 --- a/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/preview/tools.ts @@ -11,7 +11,6 @@ import { load$$balancing_preview_result, load$$balancing_preview_result_response, } from "../../../outputs.js"; -import { load$$balancing_preview_id } from "./schemas.js"; /** * The tools of `user.loadBalancers.preview`. @@ -20,15 +19,14 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_preview_get", title: "Preview Result", - description: "Get the result of a previous preview operation using the provided preview_id.", + description: "Get the result of a previous preview operation using the provided preview_id.\n\nGET /user/load_balancers/preview/{preview_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { - "preview_id": { - "$ref": "#/$defs/load-balancing_preview_id" - } + "preview_id": {} }, "required": [ "preview_id" @@ -39,9 +37,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "load-balancing_preview_id": load$$balancing_preview_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_preview_result_response", diff --git a/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts b/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts index 215f4b7fb..b2e8ee85c 100644 --- a/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancers/regions/tools.ts @@ -9,7 +9,6 @@ import { load$$balancing_messages, load$$balancing_region_components$$schemas$$response_collection, } from "../../../outputs.js"; -import { load$$balancing_subdivision_code_a2 } from "../../../schemas.js"; /** * The tools of `user.loadBalancers.regions`. @@ -18,27 +17,26 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancers_regions_list", title: "List Regions", - description: "List all region mappings in the user context.", + description: "List all region mappings in the user context.\n\nGET /user/load_balancers/regions", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "country_code": { "description": "Two-letter alpha-2 country code as defined in ISO 3166-1.", "type": "string" }, "subdivision_code": { - "$ref": "#/$defs/load-balancing_subdivision_code_a2", - "description": "Two-letter subdivision code followed in ISO 3166-2." + "description": "Two-letter subdivision code followed in ISO 3166-2.", + "type": "string" } }, "type": "object" } }, - $defs: { - "load-balancing_subdivision_code_a2": load$$balancing_subdivision_code_a2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_region_components-schemas-response_collection", diff --git a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts index 559886e3b..274c9c73d 100644 --- a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts +++ b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/outputs.ts @@ -57,54 +57,26 @@ export const load$$balancing_components$$schemas$$response_collection: JsonSchem export const load$$balancing_origin$$analytics: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/load-balancing_address" + "type": "string" }, "changed": { - "$ref": "#/$defs/load-balancing_origin-changed" + "type": "boolean" }, "enabled": { - "$ref": "#/$defs/load-balancing_schemas-enabled" + "type": "boolean" }, "failure_reason": { - "$ref": "#/$defs/load-balancing_origin-failure-reason" + "type": "string" }, "healthy": { - "$ref": "#/$defs/load-balancing_origin-healthy" + "type": "boolean" }, "ip": { - "$ref": "#/$defs/load-balancing_origin-ip" + "type": "string" }, "name": { - "$ref": "#/$defs/load-balancing_schemas-name" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `load-balancing_origin-changed` in responses. - */ -export const load$$balancing_origin$$changed: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `load-balancing_origin-failure-reason` in responses. - */ -export const load$$balancing_origin$$failure$$reason: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `load-balancing_origin-healthy` in responses. - */ -export const load$$balancing_origin$$healthy: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `load-balancing_origin-ip` in responses. - */ -export const load$$balancing_origin$$ip: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/schemas.ts b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/schemas.ts deleted file mode 100644 index 0a34ca294..000000000 --- a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/schemas.ts +++ /dev/null @@ -1,29 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `load-balancing_origin_healthy`. - */ -export const load$$balancing_origin_healthy: JsonSchema = { - "description": "If true, filter events where the origin status is healthy. If false, filter events where the origin status is unhealthy.", - "type": "boolean" -}; - -/** - * The schema of `load-balancing_pool_name`. - */ -export const load$$balancing_pool_name: JsonSchema = { - "description": "The name for the pool to filter.", - "type": "string" -}; - -/** - * The schema of `load-balancing_until`. - */ -export const load$$balancing_until: JsonSchema = { - "description": "End date and time of requesting data period in the ISO8601 format.", - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts index 847be07be..bac455598 100644 --- a/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts +++ b/src/generated/forge-mcp/user/loadBalancingAnalytics/events/tools.ts @@ -3,30 +3,17 @@ import { type Tool, param } from "../../../_/tool.js"; import { - load$$balancing_address, load$$balancing_api$$paginated$$response$$collection, load$$balancing_api$$response$$common, load$$balancing_api$$response$$common$$failure, load$$balancing_messages, load$$balancing_result_info, - load$$balancing_schemas$$enabled, - load$$balancing_schemas$$name, } from "../../../outputs.js"; -import { load$$balancing_schemas$$identifier } from "../../../schemas.js"; import { load$$balancing_analytics, load$$balancing_components$$schemas$$response_collection, load$$balancing_origin$$analytics, - load$$balancing_origin$$changed, - load$$balancing_origin$$failure$$reason, - load$$balancing_origin$$healthy, - load$$balancing_origin$$ip, } from "./outputs.js"; -import { - load$$balancing_origin_healthy, - load$$balancing_pool_name, - load$$balancing_until, -} from "./schemas.js"; /** * The tools of `user.loadBalancingAnalytics.events`. @@ -35,16 +22,17 @@ export const tools: readonly Tool[] = [ { name: "user_loadBalancingAnalytics_events_list", title: "List Healthcheck Events", - description: "List origin health changes.", + description: "List origin health changes.\n\nGET /user/load_balancing_analytics/events", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "origin_healthy": { - "$ref": "#/$defs/load-balancing_origin_healthy", "default": true, - "description": "If true, filter events where the origin status is healthy. If false, filter events where the origin status is unhealthy." + "description": "If true, filter events where the origin status is healthy. If false, filter events where the origin status is unhealthy.", + "type": "boolean" }, "origin_name": { "description": "The name for the origin to filter.", @@ -56,11 +44,11 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "pool_id": { - "$ref": "#/$defs/load-balancing_schemas-identifier" + "type": "string" }, "pool_name": { - "$ref": "#/$defs/load-balancing_pool_name", - "description": "The name for the pool to filter." + "description": "The name for the pool to filter.", + "type": "string" }, "since": { "description": "Start date and time of requesting data period in the ISO8601 format.", @@ -68,37 +56,26 @@ export const tools: readonly Tool[] = [ "type": "string" }, "until": { - "$ref": "#/$defs/load-balancing_until", - "description": "End date and time of requesting data period in the ISO8601 format." + "description": "End date and time of requesting data period in the ISO8601 format.", + "format": "date-time", + "type": "string" } }, "type": "object" } }, - $defs: { - "load-balancing_origin_healthy": load$$balancing_origin_healthy, - "load-balancing_pool_name": load$$balancing_pool_name, - "load-balancing_schemas-identifier": load$$balancing_schemas$$identifier, - "load-balancing_until": load$$balancing_until, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/load-balancing_components-schemas-response_collection", $defs: { - "load-balancing_address": load$$balancing_address, "load-balancing_analytics": load$$balancing_analytics, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, "load-balancing_components-schemas-response_collection": load$$balancing_components$$schemas$$response_collection, "load-balancing_messages": load$$balancing_messages, "load-balancing_origin-analytics": load$$balancing_origin$$analytics, - "load-balancing_origin-changed": load$$balancing_origin$$changed, - "load-balancing_origin-failure-reason": load$$balancing_origin$$failure$$reason, - "load-balancing_origin-healthy": load$$balancing_origin$$healthy, - "load-balancing_origin-ip": load$$balancing_origin$$ip, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, - "load-balancing_schemas-name": load$$balancing_schemas$$name, }, }, annotations: { @@ -126,7 +103,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "load-balancing_address": load$$balancing_address, "load-balancing_analytics": load$$balancing_analytics, "load-balancing_api-paginated-response-collection": load$$balancing_api$$paginated$$response$$collection, "load-balancing_api-response-common": load$$balancing_api$$response$$common, @@ -134,13 +110,7 @@ export const tools: readonly Tool[] = [ "load-balancing_components-schemas-response_collection": load$$balancing_components$$schemas$$response_collection, "load-balancing_messages": load$$balancing_messages, "load-balancing_origin-analytics": load$$balancing_origin$$analytics, - "load-balancing_origin-changed": load$$balancing_origin$$changed, - "load-balancing_origin-failure-reason": load$$balancing_origin$$failure$$reason, - "load-balancing_origin-healthy": load$$balancing_origin$$healthy, - "load-balancing_origin-ip": load$$balancing_origin$$ip, "load-balancing_result_info": load$$balancing_result_info, - "load-balancing_schemas-enabled": load$$balancing_schemas$$enabled, - "load-balancing_schemas-name": load$$balancing_schemas$$name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/user/memberships/outputs.ts b/src/generated/forge-mcp/user/memberships/outputs.ts index 95af53d15..7ea60c601 100644 --- a/src/generated/forge-mcp/user/memberships/outputs.ts +++ b/src/generated/forge-mcp/user/memberships/outputs.ts @@ -3,20 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `iam_api_access_enabled` in responses. - */ -export const iam_api_access_enabled: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `iam_collection_membership_response` in responses. */ @@ -71,10 +57,17 @@ export const iam_membership: JsonSchema = { "$ref": "#/$defs/iam_schemas-account" }, "api_access_enabled": { - "$ref": "#/$defs/iam_api_access_enabled" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier" + "type": "string" }, "permissions": { "$ref": "#/$defs/iam_permissions" @@ -83,7 +76,12 @@ export const iam_membership: JsonSchema = { "$ref": "#/$defs/iam_role_names" }, "status": { - "$ref": "#/$defs/iam_schemas-status" + "enum": [ + "accepted", + "pending", + "rejected" + ], + "type": "string" } }, "type": "object" @@ -98,10 +96,17 @@ export const iam_membership$$with$$policies: JsonSchema = { "$ref": "#/$defs/iam_schemas-account" }, "api_access_enabled": { - "$ref": "#/$defs/iam_api_access_enabled" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier" + "type": "string" }, "permissions": { "$ref": "#/$defs/iam_permissions" @@ -116,7 +121,12 @@ export const iam_membership$$with$$policies: JsonSchema = { "$ref": "#/$defs/iam_role_names" }, "status": { - "$ref": "#/$defs/iam_schemas-status" + "enum": [ + "accepted", + "pending", + "rejected" + ], + "type": "string" } }, "type": "object" @@ -132,7 +142,7 @@ export const iam_schemas$$account: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/iam_common_components-schemas-identifier" + "type": "string" }, "managed_by": { "properties": { @@ -166,7 +176,11 @@ export const iam_schemas$$account: JsonSchema = { "type": "object" }, "type": { - "$ref": "#/$defs/iam_account-type" + "enum": [ + "standard", + "enterprise" + ], + "type": "string" } }, "required": [ @@ -177,18 +191,6 @@ export const iam_schemas$$account: JsonSchema = { "type": "object" }; -/** - * The schema of `iam_schemas-status` in responses. - */ -export const iam_schemas$$status: JsonSchema = { - "enum": [ - "accepted", - "pending", - "rejected" - ], - "type": "string" -}; - /** * The schema of `iam_single_membership_response_with_policies` in responses. */ diff --git a/src/generated/forge-mcp/user/memberships/schemas.ts b/src/generated/forge-mcp/user/memberships/schemas.ts deleted file mode 100644 index 6a769c1ff..000000000 --- a/src/generated/forge-mcp/user/memberships/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `iam_properties-name`. - */ -export const iam_properties$$name: JsonSchema = { - "description": "Account name", - "type": "string" -}; diff --git a/src/generated/forge-mcp/user/memberships/tools.ts b/src/generated/forge-mcp/user/memberships/tools.ts index 9254f64aa..a6ceca341 100644 --- a/src/generated/forge-mcp/user/memberships/tools.ts +++ b/src/generated/forge-mcp/user/memberships/tools.ts @@ -3,42 +3,31 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - iam_access, - iam_account$$type, iam_api$$response$$collection, iam_api$$response$$common, iam_api$$response$$common$$failure, iam_api$$response$$single, - iam_common_components$$schemas$$identifier, iam_grants, iam_list_member_policy, - iam_membership_components$$schemas$$identifier, iam_messages$$2, iam_permission_group, iam_permission_groups, iam_permissions, - iam_policy_identifier, iam_resource_group, iam_resource_groups, iam_result_info, iam_scope, - iam_scope_key, iam_scope_object, - iam_scope_object_key, } from "../../outputs.js"; -import { iam_membership_components$$schemas$$identifier as iam_membership_components$$schemas$$identifier$ } from "../../schemas.js"; import { iam_role_names } from "../outputs.js"; import { - iam_api_access_enabled, iam_collection_membership_response, iam_collection_membership_response_with_policies, iam_membership, iam_membership$$with$$policies, iam_schemas$$account, - iam_schemas$$status, iam_single_membership_response_with_policies, } from "./outputs.js"; -import { iam_properties$$name } from "./schemas.js"; /** * The tools of `user.memberships`. @@ -47,15 +36,16 @@ export const tools: readonly Tool[] = [ { name: "user_memberships_delete", title: "Delete Membership", - description: "Remove the associated member from an account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Remove the associated member from an account.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /memberships/{membership_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "membership_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "description": "Membership identifier tag.", + "type": "string" } }, "required": [ @@ -67,9 +57,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -81,7 +69,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier" + "type": "string" } }, "type": "object" @@ -92,7 +80,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -122,7 +109,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier" + "type": "string" } }, "type": "object" @@ -139,7 +126,6 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -150,15 +136,16 @@ export const tools: readonly Tool[] = [ { name: "user_memberships_list", title: "List Memberships", - description: "List memberships of accounts the user can access.", + description: "List memberships of accounts the user can access.\n\nGET /memberships", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "account.name": { - "$ref": "#/$defs/iam_properties-name", - "description": "Account name" + "description": "Account name", + "type": "string" }, "direction": { "description": "Direction to order memberships.", @@ -169,8 +156,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "name": { - "$ref": "#/$defs/iam_properties-name", - "description": "Account name" + "description": "Account name", + "type": "string" }, "order": { "description": "Field to order memberships by.", @@ -204,9 +191,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, - $defs: { - "iam_properties-name": iam_properties$$name, - }, + additionalProperties: false, }, outputSchema: { "oneOf": [ @@ -218,34 +203,25 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "iam_access": iam_access, - "iam_account-type": iam_account$$type, "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, - "iam_api_access_enabled": iam_api_access_enabled, "iam_collection_membership_response": iam_collection_membership_response, "iam_collection_membership_response_with_policies": iam_collection_membership_response_with_policies, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_grants": iam_grants, "iam_list_member_policy": iam_list_member_policy, "iam_membership": iam_membership, "iam_membership-with-policies": iam_membership$$with$$policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_result_info": iam_result_info, "iam_role_names": iam_role_names, "iam_schemas-account": iam_schemas$$account, - "iam_schemas-status": iam_schemas$$status, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, annotations: { @@ -280,35 +256,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, - "iam_account-type": iam_account$$type, "iam_api-response-collection": iam_api$$response$$collection, "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, - "iam_api_access_enabled": iam_api_access_enabled, "iam_collection_membership_response": iam_collection_membership_response, "iam_collection_membership_response_with_policies": iam_collection_membership_response_with_policies, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_grants": iam_grants, "iam_list_member_policy": iam_list_member_policy, "iam_membership": iam_membership, "iam_membership-with-policies": iam_membership$$with$$policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_result_info": iam_result_info, "iam_role_names": iam_role_names, "iam_schemas-account": iam_schemas$$account, - "iam_schemas-status": iam_schemas$$status, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, }, }, request: (args) => ({ @@ -327,7 +294,7 @@ export const tools: readonly Tool[] = [ { name: "user_memberships_update", title: "Update Membership", - description: "Accept or reject this account invitation.", + description: "Accept or reject this account invitation.\n\nPUT /memberships/{membership_id}", inputSchema: { type: "object", properties: { @@ -348,10 +315,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "membership_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "description": "Membership identifier tag.", + "type": "string" } }, "required": [ @@ -364,36 +332,25 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_membership_response_with_policies", $defs: { - "iam_access": iam_access, - "iam_account-type": iam_account$$type, "iam_api-response-single": iam_api$$response$$single, - "iam_api_access_enabled": iam_api_access_enabled, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_grants": iam_grants, "iam_list_member_policy": iam_list_member_policy, "iam_membership-with-policies": iam_membership$$with$$policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role_names": iam_role_names, "iam_schemas-account": iam_schemas$$account, - "iam_schemas-status": iam_schemas$$status, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, @@ -421,30 +378,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, - "iam_account-type": iam_account$$type, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_api_access_enabled": iam_api_access_enabled, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_grants": iam_grants, "iam_list_member_policy": iam_list_member_policy, "iam_membership-with-policies": iam_membership$$with$$policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role_names": iam_role_names, "iam_schemas-account": iam_schemas$$account, - "iam_schemas-status": iam_schemas$$status, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, @@ -456,15 +404,16 @@ export const tools: readonly Tool[] = [ { name: "user_memberships_userMembershipsGet", title: "Get User Membership", - description: "Get a specific membership for the currently authenticated user.", + description: "Get a specific membership for the currently authenticated user.\n\nGET /user/memberships/{membership_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "membership_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "description": "Membership identifier tag.", + "type": "string" } }, "required": [ @@ -476,36 +425,25 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_membership_response_with_policies", $defs: { - "iam_access": iam_access, - "iam_account-type": iam_account$$type, "iam_api-response-single": iam_api$$response$$single, - "iam_api_access_enabled": iam_api_access_enabled, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_grants": iam_grants, "iam_list_member_policy": iam_list_member_policy, "iam_membership-with-policies": iam_membership$$with$$policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role_names": iam_role_names, "iam_schemas-account": iam_schemas$$account, - "iam_schemas-status": iam_schemas$$status, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, @@ -545,30 +483,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, - "iam_account-type": iam_account$$type, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_api_access_enabled": iam_api_access_enabled, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_grants": iam_grants, "iam_list_member_policy": iam_list_member_policy, "iam_membership-with-policies": iam_membership$$with$$policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role_names": iam_role_names, "iam_schemas-account": iam_schemas$$account, - "iam_schemas-status": iam_schemas$$status, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, @@ -579,15 +508,16 @@ export const tools: readonly Tool[] = [ { name: "user_memberships_userSAccountMembershipsMembershipDetails", title: "Membership Details", - description: "Get a specific membership.", + description: "Get a specific membership.\n\nGET /memberships/{membership_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "membership_id": { - "$ref": "#/$defs/iam_membership_components-schemas-identifier", - "description": "Membership identifier tag." + "description": "Membership identifier tag.", + "type": "string" } }, "required": [ @@ -599,36 +529,25 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_membership_response_with_policies", $defs: { - "iam_access": iam_access, - "iam_account-type": iam_account$$type, "iam_api-response-single": iam_api$$response$$single, - "iam_api_access_enabled": iam_api_access_enabled, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_grants": iam_grants, "iam_list_member_policy": iam_list_member_policy, "iam_membership-with-policies": iam_membership$$with$$policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role_names": iam_role_names, "iam_schemas-account": iam_schemas$$account, - "iam_schemas-status": iam_schemas$$status, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, @@ -657,30 +576,21 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "iam_access": iam_access, - "iam_account-type": iam_account$$type, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_api_access_enabled": iam_api_access_enabled, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_grants": iam_grants, "iam_list_member_policy": iam_list_member_policy, "iam_membership-with-policies": iam_membership$$with$$policies, - "iam_membership_components-schemas-identifier": iam_membership_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, "iam_permissions": iam_permissions, - "iam_policy_identifier": iam_policy_identifier, "iam_resource_group": iam_resource_group, "iam_resource_groups": iam_resource_groups, "iam_role_names": iam_role_names, "iam_schemas-account": iam_schemas$$account, - "iam_schemas-status": iam_schemas$$status, "iam_scope": iam_scope, - "iam_scope_key": iam_scope_key, "iam_scope_object": iam_scope_object, - "iam_scope_object_key": iam_scope_object_key, "iam_single_membership_response_with_policies": iam_single_membership_response_with_policies, }, }, diff --git a/src/generated/forge-mcp/user/outputs.ts b/src/generated/forge-mcp/user/outputs.ts index e581d67df..cbb9456ad 100644 --- a/src/generated/forge-mcp/user/outputs.ts +++ b/src/generated/forge-mcp/user/outputs.ts @@ -3,41 +3,16 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `iam_components-schemas-status` in responses. - */ -export const iam_components$$schemas$$status: JsonSchema = { - "enum": [ - "member", - "invited" - ], - "type": "string" -}; - -/** - * The schema of `iam_country` in responses. - */ -export const iam_country: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `iam_organization` in responses. */ export const iam_organization: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/iam_common_components-schemas-identifier" + "type": "string" }, "name": { - "$ref": "#/$defs/iam_schemas-name" + "type": "string" }, "permissions": { "$ref": "#/$defs/iam_schemas-permissions" @@ -49,7 +24,11 @@ export const iam_organization: JsonSchema = { "type": "array" }, "status": { - "$ref": "#/$defs/iam_components-schemas-status" + "enum": [ + "member", + "invited" + ], + "type": "string" } }, "type": "object" @@ -65,13 +44,6 @@ export const iam_role_names: JsonSchema = { "type": "array" }; -/** - * The schema of `iam_schemas-name` in responses. - */ -export const iam_schemas$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `iam_schemas-permissions` in responses. */ @@ -101,13 +73,27 @@ export const iam_single_user_response: JsonSchema = { "type": "array" }, "country": { - "$ref": "#/$defs/iam_country" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "email": { "type": "string" }, "first_name": { - "$ref": "#/$defs/iam_first_name" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "has_business_zones": { "type": "boolean" @@ -122,7 +108,14 @@ export const iam_single_user_response: JsonSchema = { "type": "string" }, "last_name": { - "$ref": "#/$defs/iam_last_name" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "organizations": { "items": { @@ -134,16 +127,30 @@ export const iam_single_user_response: JsonSchema = { "type": "boolean" }, "telephone": { - "$ref": "#/$defs/iam_telephone" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "two_factor_authentication_enabled": { - "$ref": "#/$defs/iam_two_factor_authentication_enabled" + "type": "boolean" }, "two_factor_authentication_locked": { - "$ref": "#/$defs/iam_two_factor_authentication_locked" + "type": "boolean" }, "zipcode": { - "$ref": "#/$defs/iam_zipcode" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -157,38 +164,3 @@ export const iam_single_user_response: JsonSchema = { } ] }; - -/** - * The schema of `iam_telephone` in responses. - */ -export const iam_telephone: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `iam_two_factor_authentication_locked` in responses. - */ -export const iam_two_factor_authentication_locked: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `iam_zipcode` in responses. - */ -export const iam_zipcode: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; diff --git a/src/generated/forge-mcp/user/schemas.ts b/src/generated/forge-mcp/user/schemas.ts deleted file mode 100644 index c9b141774..000000000 --- a/src/generated/forge-mcp/user/schemas.ts +++ /dev/null @@ -1,49 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../_/tool.js"; - -/** - * The schema of `iam_country`. - */ -export const iam_country: JsonSchema = { - "description": "The country in which the user lives.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `iam_telephone`. - */ -export const iam_telephone: JsonSchema = { - "description": "User's telephone number", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `iam_zipcode`. - */ -export const iam_zipcode: JsonSchema = { - "description": "The zipcode or postal code where the user lives.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; diff --git a/src/generated/forge-mcp/user/subscriptions/tools.ts b/src/generated/forge-mcp/user/subscriptions/tools.ts index e4c48cb09..34c98ee75 100644 --- a/src/generated/forge-mcp/user/subscriptions/tools.ts +++ b/src/generated/forge-mcp/user/subscriptions/tools.ts @@ -9,29 +9,16 @@ import { bill$$subs$$api_api$$response$$single, bill$$subs$$api_component_value, bill$$subs$$api_component_values, - bill$$subs$$api_currency, - bill$$subs$$api_current_period_end, - bill$$subs$$api_current_period_start, - bill$$subs$$api_frequency, - bill$$subs$$api_identifier, - bill$$subs$$api_install_id, bill$$subs$$api_messages, - bill$$subs$$api_name, - bill$$subs$$api_price, bill$$subs$$api_rate_plan, bill$$subs$$api_result_info, - bill$$subs$$api_schemas$$identifier, - bill$$subs$$api_state, bill$$subs$$api_subscription, bill$$subs$$api_zone, } from "../../outputs.js"; import { bill$$subs$$api_component_value as bill$$subs$$api_component_value$, bill$$subs$$api_component_values as bill$$subs$$api_component_values$, - bill$$subs$$api_frequency as bill$$subs$$api_frequency$, - bill$$subs$$api_install_id as bill$$subs$$api_install_id$, bill$$subs$$api_rate_plan as bill$$subs$$api_rate_plan$, - bill$$subs$$api_schemas$$identifier as bill$$subs$$api_schemas$$identifier$, bill$$subs$$api_subscription$$v2, bill$$subs$$api_zone as bill$$subs$$api_zone$, } from "../../schemas.js"; @@ -47,15 +34,16 @@ export const tools: readonly Tool[] = [ { name: "user_subscriptions_delete", title: "Delete User Subscription", - description: "Deletes a user's subscription.", + description: "Deletes a user's subscription.\n\nDELETE /user/subscriptions/{identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "description": "Subscription identifier tag.", + "type": "string" } }, "required": [ @@ -67,20 +55,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, - }, + additionalProperties: false, }, outputSchema: { "properties": { "subscription_id": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier" + "type": "string" } }, "type": "object", - $defs: { - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - }, }, annotations: { "destructiveHint": true, @@ -106,7 +89,7 @@ export const tools: readonly Tool[] = [ "200": { "properties": { "subscription_id": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier" + "type": "string" } }, "type": "object" @@ -118,7 +101,6 @@ export const tools: readonly Tool[] = [ $defs: { "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, request: (args) => ({ @@ -128,10 +110,11 @@ export const tools: readonly Tool[] = [ { name: "user_subscriptions_get", title: "Get User Subscriptions", - description: "Lists all of a user's subscriptions.", + description: "Lists all of a user's subscriptions.\n\nGET /user/subscriptions", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_user_subscription_response_collection", @@ -140,19 +123,9 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, "bill-subs-api_result_info": bill$$subs$$api_result_info, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_user_subscription_response_collection": bill$$subs$$api_user_subscription_response_collection, "bill-subs-api_zone": bill$$subs$$api_zone, @@ -193,19 +166,9 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, "bill-subs-api_result_info": bill$$subs$$api_result_info, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription": bill$$subs$$api_subscription, "bill-subs-api_user_subscription_response_collection": bill$$subs$$api_user_subscription_response_collection, "bill-subs-api_zone": bill$$subs$$api_zone, @@ -218,7 +181,7 @@ export const tools: readonly Tool[] = [ { name: "user_subscriptions_update", title: "Update User Subscription", - description: "Updates a user's subscriptions.", + description: "Updates a user's subscriptions.\n\nPUT /user/subscriptions/{identifier}", inputSchema: { type: "object", properties: { @@ -226,10 +189,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_subscription-v2" }, "path": { + "additionalProperties": false, "properties": { "identifier": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier", - "description": "Subscription identifier tag." + "description": "Subscription identifier tag.", + "type": "string" } }, "required": [ @@ -242,13 +206,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "bill-subs-api_component_value": bill$$subs$$api_component_value$, "bill-subs-api_component_values": bill$$subs$$api_component_values$, - "bill-subs-api_frequency": bill$$subs$$api_frequency$, - "bill-subs-api_install_id": bill$$subs$$api_install_id$, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier$, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, "bill-subs-api_zone": bill$$subs$$api_zone$, }, diff --git a/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts b/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts index 352bffc88..25b05fa77 100644 --- a/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts +++ b/src/generated/forge-mcp/user/tokens/permissionGroups/tools.ts @@ -18,11 +18,12 @@ export const tools: readonly Tool[] = [ { name: "user_tokens_permissionGroups_list", title: "List Token Permission Groups", - description: "Find all available permission groups for API Tokens.", + description: "Find all available permission groups for API Tokens.\n\nGET /user/tokens/permission_groups", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "name": { "description": "Filter by the name of the permission group.\nThe value must be URL-encoded.", @@ -36,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_permissions_group_response_collection", diff --git a/src/generated/forge-mcp/user/tokens/tools.ts b/src/generated/forge-mcp/user/tokens/tools.ts index d8b72e9d0..6ab1cc0f3 100644 --- a/src/generated/forge-mcp/user/tokens/tools.ts +++ b/src/generated/forge-mcp/user/tokens/tools.ts @@ -10,23 +10,11 @@ import { iam_api$$response$$single$$id, iam_cidr_list, iam_collection_tokens_response, - iam_common_components$$schemas$$identifier, iam_condition, - iam_creator_email_at_creation, - iam_effect, - iam_expires_on, - iam_issued_on, - iam_last_used_on, iam_messages$$2, - iam_modified_on, - iam_name, - iam_not_before, iam_permission_group, iam_permission_groups, - iam_policy_identifier, iam_policy_with_permission_groups_and_resources, - iam_provisioner_id, - iam_provisioner_type, iam_request_ip, iam_resources, iam_resources_type_object_nested, @@ -36,23 +24,14 @@ import { iam_single_token_create_response, iam_single_token_response, iam_token_base, - iam_token_identifier, iam_token_policies, - iam_token_prefix, - iam_token_status, - iam_token_suffix, iam_token_verify_response_single_segment, iam_token_with_value, - iam_value, } from "../../outputs.js"; import { iam_cidr_list as iam_cidr_list$, iam_condition as iam_condition$, iam_create_payload, - iam_effect as iam_effect$, - iam_expires_on as iam_expires_on$, - iam_name as iam_name$, - iam_not_before as iam_not_before$, iam_permission_group as iam_permission_group$, iam_permission_groups as iam_permission_groups$, iam_policy_with_permission_groups_and_resources as iam_policy_with_permission_groups_and_resources$, @@ -61,9 +40,7 @@ import { iam_resources_type_object_nested as iam_resources_type_object_nested$, iam_resources_type_object_string as iam_resources_type_object_string$, iam_token_body, - iam_token_identifier as iam_token_identifier$, iam_token_policies as iam_token_policies$, - iam_token_status as iam_token_status$, } from "../../schemas.js"; /** @@ -73,7 +50,7 @@ export const tools: readonly Tool[] = [ { name: "user_tokens_create", title: "Create Token", - description: "Create a new access token.", + description: "Create a new access token.\n\nPOST /user/tokens", inputSchema: { type: "object", properties: { @@ -84,14 +61,11 @@ export const tools: readonly Tool[] = [ required: [ "body" ], + additionalProperties: false, $defs: { "iam_cidr_list": iam_cidr_list$, "iam_condition": iam_condition$, "iam_create_payload": iam_create_payload, - "iam_effect": iam_effect$, - "iam_expires_on": iam_expires_on$, - "iam_name": iam_name$, - "iam_not_before": iam_not_before$, "iam_permission_group": iam_permission_group$, "iam_permission_groups": iam_permission_groups$, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources$, @@ -108,34 +82,18 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_create_response": iam_single_token_create_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, "iam_token_with_value": iam_token_with_value, - "iam_value": iam_value, }, }, annotations: { @@ -177,34 +135,18 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_create_response": iam_single_token_create_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, "iam_token_with_value": iam_token_with_value, - "iam_value": iam_value, }, }, request: (args) => ({ @@ -215,15 +157,16 @@ export const tools: readonly Tool[] = [ { name: "user_tokens_delete", title: "Delete Token", - description: "Destroy a token.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.", + description: "Destroy a token.\n\nConfirm with the user before calling this tool. Are you sure? This action cannot be undone.\n\nDELETE /user/tokens/{token_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "description": "Token identifier tag.", + "type": "string" } }, "required": [ @@ -235,16 +178,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_token_identifier": iam_token_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_api-response-single-id", $defs: { "iam_api-response-common": iam_api$$response$$common, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -286,7 +226,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-common": iam_api$$response$$common, "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single-id": iam_api$$response$$single$$id, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, "iam_messages-2": iam_messages$$2, }, }, @@ -297,15 +236,16 @@ export const tools: readonly Tool[] = [ { name: "user_tokens_get", title: "Token Details", - description: "Get information about a specific token.", + description: "Get information about a specific token.\n\nGET /user/tokens/{token_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "description": "Token identifier tag.", + "type": "string" } }, "required": [ @@ -317,9 +257,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_token_identifier": iam_token_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_token_response", @@ -327,32 +265,17 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_response": iam_single_token_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -395,32 +318,17 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_response": iam_single_token_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -430,11 +338,12 @@ export const tools: readonly Tool[] = [ { name: "user_tokens_list", title: "List Tokens", - description: "List all access tokens you created. Results include active, disabled, and recently-expired tokens when include_expired is set to true.", + description: "List all access tokens you created. Results include active, disabled, and recently-expired tokens when include_expired is set to true.\n\nGET /user/tokens", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Direction to order results.", @@ -463,6 +372,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_collection_tokens_response", @@ -472,32 +382,17 @@ export const tools: readonly Tool[] = [ "iam_cidr_list": iam_cidr_list, "iam_collection_tokens_response": iam_collection_tokens_response, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_result_info": iam_result_info, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -542,32 +437,17 @@ export const tools: readonly Tool[] = [ "iam_cidr_list": iam_cidr_list, "iam_collection_tokens_response": iam_collection_tokens_response, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_result_info": iam_result_info, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -583,15 +463,16 @@ export const tools: readonly Tool[] = [ { name: "user_tokens_roll", title: "Roll Token", - description: "Roll the token secret.\n\nConfirm with the user before calling this tool. Rolling this token will invalidate the current secret and generate a new one. Any integrations using the current secret will stop working.", + description: "Roll the token secret.\n\nConfirm with the user before calling this tool. Rolling this token will invalidate the current secret and generate a new one. Any integrations using the current secret will stop working.\n\nPUT /user/tokens/{token_id}/value", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "description": "Token identifier tag.", + "type": "string" } }, "required": [ @@ -603,9 +484,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "iam_token_identifier": iam_token_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_response_single_value", @@ -613,7 +492,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_messages-2": iam_messages$$2, "iam_response_single_value": iam_response_single_value, - "iam_value": iam_value, }, }, annotations: { @@ -655,7 +533,6 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_messages-2": iam_messages$$2, "iam_response_single_value": iam_response_single_value, - "iam_value": iam_value, }, }, request: (args) => ({ @@ -665,7 +542,7 @@ export const tools: readonly Tool[] = [ { name: "user_tokens_update", title: "Update Token", - description: "Update an existing token.", + description: "Update an existing token.\n\nPUT /user/tokens/{token_id}", inputSchema: { type: "object", properties: { @@ -673,10 +550,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/iam_token_body" }, "path": { + "additionalProperties": false, "properties": { "token_id": { - "$ref": "#/$defs/iam_token_identifier", - "description": "Token identifier tag." + "description": "Token identifier tag.", + "type": "string" } }, "required": [ @@ -689,13 +567,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "iam_cidr_list": iam_cidr_list$, "iam_condition": iam_condition$, - "iam_effect": iam_effect$, - "iam_expires_on": iam_expires_on$, - "iam_name": iam_name$, - "iam_not_before": iam_not_before$, "iam_permission_group": iam_permission_group$, "iam_permission_groups": iam_permission_groups$, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources$, @@ -704,9 +579,7 @@ export const tools: readonly Tool[] = [ "iam_resources_type_object_nested": iam_resources_type_object_nested$, "iam_resources_type_object_string": iam_resources_type_object_string$, "iam_token_body": iam_token_body, - "iam_token_identifier": iam_token_identifier$, "iam_token_policies": iam_token_policies$, - "iam_token_status": iam_token_status$, }, }, outputSchema: { @@ -715,32 +588,17 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_response": iam_single_token_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, annotations: { @@ -782,32 +640,17 @@ export const tools: readonly Tool[] = [ "iam_api-response-single": iam_api$$response$$single, "iam_cidr_list": iam_cidr_list, "iam_condition": iam_condition, - "iam_creator_email_at_creation": iam_creator_email_at_creation, - "iam_effect": iam_effect, - "iam_expires_on": iam_expires_on, - "iam_issued_on": iam_issued_on, - "iam_last_used_on": iam_last_used_on, "iam_messages-2": iam_messages$$2, - "iam_modified_on": iam_modified_on, - "iam_name": iam_name, - "iam_not_before": iam_not_before, "iam_permission_group": iam_permission_group, "iam_permission_groups": iam_permission_groups, - "iam_policy_identifier": iam_policy_identifier, "iam_policy_with_permission_groups_and_resources": iam_policy_with_permission_groups_and_resources, - "iam_provisioner_id": iam_provisioner_id, - "iam_provisioner_type": iam_provisioner_type, "iam_request_ip": iam_request_ip, "iam_resources": iam_resources, "iam_resources_type_object_nested": iam_resources_type_object_nested, "iam_resources_type_object_string": iam_resources_type_object_string, "iam_single_token_response": iam_single_token_response, "iam_token_base": iam_token_base, - "iam_token_identifier": iam_token_identifier, "iam_token_policies": iam_token_policies, - "iam_token_prefix": iam_token_prefix, - "iam_token_status": iam_token_status, - "iam_token_suffix": iam_token_suffix, }, }, request: (args) => ({ @@ -818,20 +661,17 @@ export const tools: readonly Tool[] = [ { name: "user_tokens_verify", title: "Verify Token", - description: "Test whether a token works.", + description: "Test whether a token works.\n\nGET /user/tokens/verify", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_token_verify_response_single_segment", $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_expires_on": iam_expires_on, "iam_messages-2": iam_messages$$2, - "iam_not_before": iam_not_before, - "iam_token_identifier": iam_token_identifier, - "iam_token_status": iam_token_status, "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment, }, }, @@ -864,11 +704,7 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_expires_on": iam_expires_on, "iam_messages-2": iam_messages$$2, - "iam_not_before": iam_not_before, - "iam_token_identifier": iam_token_identifier, - "iam_token_status": iam_token_status, "iam_token_verify_response_single_segment": iam_token_verify_response_single_segment, }, }, diff --git a/src/generated/forge-mcp/user/tools.ts b/src/generated/forge-mcp/user/tools.ts index 400243347..c51ad172c 100644 --- a/src/generated/forge-mcp/user/tools.ts +++ b/src/generated/forge-mcp/user/tools.ts @@ -5,32 +5,13 @@ import type { Tool } from "../_/tool.js"; import { iam_api$$response$$common$$failure, iam_api$$response$$single, - iam_common_components$$schemas$$identifier, - iam_first_name, - iam_last_name, iam_messages$$2, - iam_two_factor_authentication_enabled, } from "../outputs.js"; import { - iam_first_name as iam_first_name$, - iam_last_name as iam_last_name$, -} from "../schemas.js"; -import { - iam_components$$schemas$$status, - iam_country, iam_organization, - iam_schemas$$name, iam_schemas$$permissions, iam_single_user_response, - iam_telephone, - iam_two_factor_authentication_locked, - iam_zipcode, } from "./outputs.js"; -import { - iam_country as iam_country$, - iam_telephone as iam_telephone$, - iam_zipcode as iam_zipcode$, -} from "./schemas.js"; /** * The tools of `user`. @@ -39,31 +20,66 @@ export const tools: readonly Tool[] = [ { name: "user_edit", title: "Edit User", - description: "Edit part of your user details.", + description: "Edit part of your user details.\n\nPATCH /user", inputSchema: { type: "object", properties: { "body": { "properties": { "country": { - "$ref": "#/$defs/iam_country", - "description": "The country in which the user lives." + "description": "The country in which the user lives.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "first_name": { - "$ref": "#/$defs/iam_first_name", - "description": "User's first name" + "description": "User's first name", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "last_name": { - "$ref": "#/$defs/iam_last_name", - "description": "User's last name" + "description": "User's last name", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "telephone": { - "$ref": "#/$defs/iam_telephone", - "description": "User's telephone number" + "description": "User's telephone number", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "zipcode": { - "$ref": "#/$defs/iam_zipcode", - "description": "The zipcode or postal code where the user lives." + "description": "The zipcode or postal code where the user lives.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" @@ -72,32 +88,16 @@ export const tools: readonly Tool[] = [ required: [ "body" ], - $defs: { - "iam_country": iam_country$, - "iam_first_name": iam_first_name$, - "iam_last_name": iam_last_name$, - "iam_telephone": iam_telephone$, - "iam_zipcode": iam_zipcode$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_user_response", $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_components-schemas-status": iam_components$$schemas$$status, - "iam_country": iam_country, - "iam_first_name": iam_first_name, - "iam_last_name": iam_last_name, "iam_messages-2": iam_messages$$2, "iam_organization": iam_organization, - "iam_schemas-name": iam_schemas$$name, "iam_schemas-permissions": iam_schemas$$permissions, "iam_single_user_response": iam_single_user_response, - "iam_telephone": iam_telephone, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, - "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked, - "iam_zipcode": iam_zipcode, }, }, annotations: { @@ -137,20 +137,10 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_components-schemas-status": iam_components$$schemas$$status, - "iam_country": iam_country, - "iam_first_name": iam_first_name, - "iam_last_name": iam_last_name, "iam_messages-2": iam_messages$$2, "iam_organization": iam_organization, - "iam_schemas-name": iam_schemas$$name, "iam_schemas-permissions": iam_schemas$$permissions, "iam_single_user_response": iam_single_user_response, - "iam_telephone": iam_telephone, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, - "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked, - "iam_zipcode": iam_zipcode, }, }, request: (args) => ({ @@ -161,29 +151,20 @@ export const tools: readonly Tool[] = [ { name: "user_get", title: "User Details", - description: "Retrieves detailed information about the currently authenticated user, including email, name, and account memberships.", + description: "Retrieves detailed information about the currently authenticated user, including email, name, and account memberships.\n\nGET /user", inputSchema: { type: "object", properties: {}, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/iam_single_user_response", $defs: { "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_components-schemas-status": iam_components$$schemas$$status, - "iam_country": iam_country, - "iam_first_name": iam_first_name, - "iam_last_name": iam_last_name, "iam_messages-2": iam_messages$$2, "iam_organization": iam_organization, - "iam_schemas-name": iam_schemas$$name, "iam_schemas-permissions": iam_schemas$$permissions, "iam_single_user_response": iam_single_user_response, - "iam_telephone": iam_telephone, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, - "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked, - "iam_zipcode": iam_zipcode, }, }, annotations: { @@ -224,20 +205,10 @@ export const tools: readonly Tool[] = [ $defs: { "iam_api-response-common-failure": iam_api$$response$$common$$failure, "iam_api-response-single": iam_api$$response$$single, - "iam_common_components-schemas-identifier": iam_common_components$$schemas$$identifier, - "iam_components-schemas-status": iam_components$$schemas$$status, - "iam_country": iam_country, - "iam_first_name": iam_first_name, - "iam_last_name": iam_last_name, "iam_messages-2": iam_messages$$2, "iam_organization": iam_organization, - "iam_schemas-name": iam_schemas$$name, "iam_schemas-permissions": iam_schemas$$permissions, "iam_single_user_response": iam_single_user_response, - "iam_telephone": iam_telephone, - "iam_two_factor_authentication_enabled": iam_two_factor_authentication_enabled, - "iam_two_factor_authentication_locked": iam_two_factor_authentication_locked, - "iam_zipcode": iam_zipcode, }, }, request: (_args) => ({ diff --git a/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts b/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts index 8214180af..a74753d39 100644 --- a/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts +++ b/src/generated/forge-mcp/vectorize/metadataIndex/outputs.ts @@ -9,7 +9,8 @@ import type { JsonSchema } from "../../_/tool.js"; export const vectorize_create$$metadata$$index$$response: JsonSchema = { "properties": { "mutationId": { - "$ref": "#/$defs/vectorize_mutation-uuid" + "format": "uuid", + "type": "string" } }, "type": "object" @@ -21,7 +22,8 @@ export const vectorize_create$$metadata$$index$$response: JsonSchema = { export const vectorize_delete$$metadata$$index$$response: JsonSchema = { "properties": { "mutationId": { - "$ref": "#/$defs/vectorize_mutation-uuid" + "format": "uuid", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts b/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts index c6579815b..a56c55d51 100644 --- a/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts +++ b/src/generated/forge-mcp/vectorize/metadataIndex/tools.ts @@ -7,9 +7,7 @@ import { vectorize_api$$response$$common$$failure, vectorize_api$$response$$single, vectorize_messages, - vectorize_mutation$$uuid, } from "../outputs.js"; -import { vectorize_identifier, vectorize_index$$name } from "../schemas.js"; import { vectorize_create$$metadata$$index$$response, vectorize_delete$$metadata$$index$$response, @@ -27,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "vectorize_metadataIndex_create", title: "Create Metadata Index", - description: "Enable metadata filtering based on metadata property. Limited to 10 properties.", + description: "Enable metadata filtering based on metadata property. Limited to 10 properties.\n\nPOST /accounts/{account_id}/vectorize/v2/indexes/{index_name}/metadata_index/create", inputSchema: { type: "object", properties: { @@ -35,13 +33,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vectorize_create-metadata-index-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -55,10 +54,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "vectorize_create-metadata-index-request": vectorize_create$$metadata$$index$$request, - "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index$$name, }, }, outputSchema: { @@ -80,7 +78,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_create-metadata-index-response": vectorize_create$$metadata$$index$$response, "vectorize_messages": vectorize_messages, - "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, annotations: { @@ -129,7 +126,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_create-metadata-index-response": vectorize_create$$metadata$$index$$response, "vectorize_messages": vectorize_messages, - "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, request: (args) => ({ @@ -140,7 +136,7 @@ export const tools: readonly Tool[] = [ { name: "vectorize_metadataIndex_delete", title: "Delete Metadata Index", - description: "Allow Vectorize to delete the specified metadata index.\n\nConfirm with the user before calling this tool. This operation deletes a metadata index destructively.", + description: "Allow Vectorize to delete the specified metadata index.\n\nConfirm with the user before calling this tool. This operation deletes a metadata index destructively.\n\nPOST /accounts/{account_id}/vectorize/v2/indexes/{index_name}/metadata_index/delete", inputSchema: { type: "object", properties: { @@ -148,13 +144,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vectorize_delete-metadata-index-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -168,10 +165,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "vectorize_delete-metadata-index-request": vectorize_delete$$metadata$$index$$request, - "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index$$name, }, }, outputSchema: { @@ -193,7 +189,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_delete-metadata-index-response": vectorize_delete$$metadata$$index$$response, "vectorize_messages": vectorize_messages, - "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, annotations: { @@ -242,7 +237,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_delete-metadata-index-response": vectorize_delete$$metadata$$index$$response, "vectorize_messages": vectorize_messages, - "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, request: (args) => ({ @@ -253,18 +247,19 @@ export const tools: readonly Tool[] = [ { name: "vectorize_metadataIndex_list", title: "List Metadata Indexes", - description: "List Metadata Indexes for the specified Vectorize Index.", + description: "List Metadata Indexes for the specified Vectorize Index.\n\nGET /accounts/{account_id}/vectorize/v2/indexes/{index_name}/metadata_index/list", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -277,10 +272,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index$$name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/vectorize/outputs.ts b/src/generated/forge-mcp/vectorize/outputs.ts index c0fc74137..c024fd2f6 100644 --- a/src/generated/forge-mcp/vectorize/outputs.ts +++ b/src/generated/forge-mcp/vectorize/outputs.ts @@ -118,7 +118,14 @@ export const vectorize_create$$index$$response: JsonSchema = { { "properties": { "preset": { - "$ref": "#/$defs/vectorize_index-preset" + "enum": [ + "@cf/baai/bge-small-en-v1.5", + "@cf/baai/bge-base-en-v1.5", + "@cf/baai/bge-large-en-v1.5", + "openai/text-embedding-ada-002", + "cohere/embed-multilingual-v2.0" + ], + "type": "string" } }, "type": "object" @@ -130,14 +137,14 @@ export const vectorize_create$$index$$response: JsonSchema = { "type": "string" }, "description": { - "$ref": "#/$defs/vectorize_index-description" + "type": "string" }, "modified_on": { "format": "date-time", "type": "string" }, "name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "type": "object" @@ -150,29 +157,28 @@ export const vectorize_create$$index$$response: JsonSchema = { export const vectorize_index$$delete$$vectors$$by$$id$$v2$$response: JsonSchema = { "properties": { "mutationId": { - "$ref": "#/$defs/vectorize_mutation-uuid" + "format": "uuid", + "type": "string" } }, "type": "object" }; -/** - * The schema of `vectorize_index-description` in responses. - */ -export const vectorize_index$$description: JsonSchema = { - "type": "string" -}; - /** * The schema of `vectorize_index-dimension-configuration` in responses. */ export const vectorize_index$$dimension$$configuration: JsonSchema = { "properties": { "dimensions": { - "$ref": "#/$defs/vectorize_index-dimensions" + "type": "integer" }, "metric": { - "$ref": "#/$defs/vectorize_index-metric" + "enum": [ + "cosine", + "euclidean", + "dot-product" + ], + "type": "string" } }, "required": [ @@ -182,13 +188,6 @@ export const vectorize_index$$dimension$$configuration: JsonSchema = { "type": "object" }; -/** - * The schema of `vectorize_index-dimensions` in responses. - */ -export const vectorize_index$$dimensions: JsonSchema = { - "type": "integer" -}; - /** * The schema of `vectorize_index-get-vectors-by-id-response` in responses. */ @@ -196,7 +195,7 @@ export const vectorize_index$$get$$vectors$$by$$id$$response: JsonSchema = { "items": { "properties": { "id": { - "$ref": "#/$defs/vectorize_vector-identifier" + "type": "string" }, "metadata": { "type": "object" @@ -229,7 +228,7 @@ export const vectorize_index$$get$$vectors$$by$$id$$response: JsonSchema = { export const vectorize_index$$info$$response: JsonSchema = { "properties": { "dimensions": { - "$ref": "#/$defs/vectorize_index-dimensions" + "type": "integer" }, "processedUpToDatetime": { "oneOf": [ @@ -245,7 +244,8 @@ export const vectorize_index$$info$$response: JsonSchema = { "processedUpToMutation": { "oneOf": [ { - "$ref": "#/$defs/vectorize_mutation-uuid" + "format": "uuid", + "type": "string" }, { "type": "null" @@ -310,39 +310,6 @@ export const vectorize_index$$list$$vectors$$response: JsonSchema = { "type": "object" }; -/** - * The schema of `vectorize_index-metric` in responses. - */ -export const vectorize_index$$metric: JsonSchema = { - "enum": [ - "cosine", - "euclidean", - "dot-product" - ], - "type": "string" -}; - -/** - * The schema of `vectorize_index-name` in responses. - */ -export const vectorize_index$$name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `vectorize_index-preset` in responses. - */ -export const vectorize_index$$preset: JsonSchema = { - "enum": [ - "@cf/baai/bge-small-en-v1.5", - "@cf/baai/bge-base-en-v1.5", - "@cf/baai/bge-large-en-v1.5", - "openai/text-embedding-ada-002", - "cohere/embed-multilingual-v2.0" - ], - "type": "string" -}; - /** * The schema of `vectorize_index-query-v2-response` in responses. */ @@ -355,7 +322,7 @@ export const vectorize_index$$query$$v2$$response: JsonSchema = { "items": { "properties": { "id": { - "$ref": "#/$defs/vectorize_vector-identifier" + "type": "string" }, "metadata": { "oneOf": [ @@ -424,28 +391,13 @@ export const vectorize_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `vectorize_mutation-uuid` in responses. - */ -export const vectorize_mutation$$uuid: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `vectorize_vector-identifier` in responses. - */ -export const vectorize_vector$$identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `vectorize_vector-list-item` in responses. */ export const vectorize_vector$$list$$item: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/vectorize_vector-identifier" + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/vectorize/schemas.ts b/src/generated/forge-mcp/vectorize/schemas.ts index c58e34654..1f6631b00 100644 --- a/src/generated/forge-mcp/vectorize/schemas.ts +++ b/src/generated/forge-mcp/vectorize/schemas.ts @@ -12,11 +12,11 @@ export const vectorize_create$$index$$request: JsonSchema = { "$ref": "#/$defs/vectorize_index-configuration" }, "description": { - "$ref": "#/$defs/vectorize_index-description", - "description": "Specifies the description of the index." + "description": "Specifies the description of the index.", + "type": "string" }, "name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -26,14 +26,6 @@ export const vectorize_create$$index$$request: JsonSchema = { "type": "object" }; -/** - * The schema of `vectorize_identifier`. - */ -export const vectorize_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; - /** * The schema of `vectorize_index-configuration`. */ @@ -57,7 +49,8 @@ export const vectorize_index$$delete$$vectors$$by$$id$$request: JsonSchema = { "ids": { "description": "A list of vector identifiers to delete from the index indicated by the path.", "items": { - "$ref": "#/$defs/vectorize_vector-identifier" + "description": "Identifier for a Vector", + "type": "string" }, "type": "array" } @@ -65,26 +58,23 @@ export const vectorize_index$$delete$$vectors$$by$$id$$request: JsonSchema = { "type": "object" }; -/** - * The schema of `vectorize_index-description`. - */ -export const vectorize_index$$description: JsonSchema = { - "description": "Specifies the description of the index.", - "type": "string" -}; - /** * The schema of `vectorize_index-dimension-configuration`. */ export const vectorize_index$$dimension$$configuration: JsonSchema = { "properties": { "dimensions": { - "$ref": "#/$defs/vectorize_index-dimensions", - "description": "Specifies the number of dimensions for the index" + "description": "Specifies the number of dimensions for the index", + "type": "integer" }, "metric": { - "$ref": "#/$defs/vectorize_index-metric", - "description": "Specifies the type of metric to use calculating distance." + "description": "Specifies the type of metric to use calculating distance.", + "enum": [ + "cosine", + "euclidean", + "dot-product" + ], + "type": "string" } }, "required": [ @@ -94,14 +84,6 @@ export const vectorize_index$$dimension$$configuration: JsonSchema = { "type": "object" }; -/** - * The schema of `vectorize_index-dimensions`. - */ -export const vectorize_index$$dimensions: JsonSchema = { - "description": "Specifies the number of dimensions for the index", - "type": "integer" -}; - /** * The schema of `vectorize_index-get-vectors-by-id-request`. */ @@ -110,7 +92,8 @@ export const vectorize_index$$get$$vectors$$by$$id$$request: JsonSchema = { "ids": { "description": "A list of vector identifiers to retrieve from the index indicated by the path.", "items": { - "$ref": "#/$defs/vectorize_vector-identifier" + "description": "Identifier for a Vector", + "type": "string" }, "type": "array" } @@ -118,49 +101,21 @@ export const vectorize_index$$get$$vectors$$by$$id$$request: JsonSchema = { "type": "object" }; -/** - * The schema of `vectorize_index-metric`. - */ -export const vectorize_index$$metric: JsonSchema = { - "description": "Specifies the type of metric to use calculating distance.", - "enum": [ - "cosine", - "euclidean", - "dot-product" - ], - "type": "string" -}; - -/** - * The schema of `vectorize_index-name`. - */ -export const vectorize_index$$name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `vectorize_index-preset`. - */ -export const vectorize_index$$preset: JsonSchema = { - "description": "Specifies the preset to use for the index.", - "enum": [ - "@cf/baai/bge-small-en-v1.5", - "@cf/baai/bge-base-en-v1.5", - "@cf/baai/bge-large-en-v1.5", - "openai/text-embedding-ada-002", - "cohere/embed-multilingual-v2.0" - ], - "type": "string" -}; - /** * The schema of `vectorize_index-preset-configuration`. */ export const vectorize_index$$preset$$configuration: JsonSchema = { "properties": { "preset": { - "$ref": "#/$defs/vectorize_index-preset", - "description": "Specifies the preset to use for the index." + "description": "Specifies the preset to use for the index.", + "enum": [ + "@cf/baai/bge-small-en-v1.5", + "@cf/baai/bge-base-en-v1.5", + "@cf/baai/bge-large-en-v1.5", + "openai/text-embedding-ada-002", + "cohere/embed-multilingual-v2.0" + ], + "type": "string" } }, "required": [ @@ -211,11 +166,3 @@ export const vectorize_index$$query$$v2$$request: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `vectorize_vector-identifier`. - */ -export const vectorize_vector$$identifier: JsonSchema = { - "description": "Identifier for a Vector", - "type": "string" -}; diff --git a/src/generated/forge-mcp/vectorize/tools.ts b/src/generated/forge-mcp/vectorize/tools.ts index 37a88e2f4..de4890ba0 100644 --- a/src/generated/forge-mcp/vectorize/tools.ts +++ b/src/generated/forge-mcp/vectorize/tools.ts @@ -8,36 +8,22 @@ import { vectorize_api$$response$$single, vectorize_create$$index$$response, vectorize_index$$delete$$vectors$$by$$id$$v2$$response, - vectorize_index$$description, vectorize_index$$dimension$$configuration, - vectorize_index$$dimensions, vectorize_index$$get$$vectors$$by$$id$$response, vectorize_index$$info$$response, vectorize_index$$list$$vectors$$response, - vectorize_index$$metric, - vectorize_index$$name, - vectorize_index$$preset, vectorize_index$$query$$v2$$response, vectorize_messages, - vectorize_mutation$$uuid, - vectorize_vector$$identifier, vectorize_vector$$list$$item, } from "./outputs.js"; import { vectorize_create$$index$$request, - vectorize_identifier, vectorize_index$$configuration, vectorize_index$$delete$$vectors$$by$$id$$request, - vectorize_index$$description as vectorize_index$$description$, vectorize_index$$dimension$$configuration as vectorize_index$$dimension$$configuration$, - vectorize_index$$dimensions as vectorize_index$$dimensions$, vectorize_index$$get$$vectors$$by$$id$$request, - vectorize_index$$metric as vectorize_index$$metric$, - vectorize_index$$name as vectorize_index$$name$, - vectorize_index$$preset as vectorize_index$$preset$, vectorize_index$$preset$$configuration, vectorize_index$$query$$v2$$request, - vectorize_vector$$identifier as vectorize_vector$$identifier$, } from "./schemas.js"; /** @@ -47,7 +33,7 @@ export const tools: readonly Tool[] = [ { name: "vectorize_create", title: "Create Vectorize Index", - description: "Creates and returns a new Vectorize Index.", + description: "Creates and returns a new Vectorize Index.\n\nPOST /accounts/{account_id}/vectorize/v2/indexes", inputSchema: { type: "object", properties: { @@ -55,10 +41,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vectorize_create-index-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -71,16 +58,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "vectorize_create-index-request": vectorize_create$$index$$request, - "vectorize_identifier": vectorize_identifier, "vectorize_index-configuration": vectorize_index$$configuration, - "vectorize_index-description": vectorize_index$$description$, "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration$, - "vectorize_index-dimensions": vectorize_index$$dimensions$, - "vectorize_index-metric": vectorize_index$$metric$, - "vectorize_index-name": vectorize_index$$name$, - "vectorize_index-preset": vectorize_index$$preset$, "vectorize_index-preset-configuration": vectorize_index$$preset$$configuration, }, }, @@ -102,12 +84,7 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-common": vectorize_api$$response$$common, "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_create-index-response": vectorize_create$$index$$response, - "vectorize_index-description": vectorize_index$$description, "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, - "vectorize_index-dimensions": vectorize_index$$dimensions, - "vectorize_index-metric": vectorize_index$$metric, - "vectorize_index-name": vectorize_index$$name, - "vectorize_index-preset": vectorize_index$$preset, "vectorize_messages": vectorize_messages, }, }, @@ -156,12 +133,7 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_create-index-response": vectorize_create$$index$$response, - "vectorize_index-description": vectorize_index$$description, "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, - "vectorize_index-dimensions": vectorize_index$$dimensions, - "vectorize_index-metric": vectorize_index$$metric, - "vectorize_index-name": vectorize_index$$name, - "vectorize_index-preset": vectorize_index$$preset, "vectorize_messages": vectorize_messages, }, }, @@ -173,18 +145,19 @@ export const tools: readonly Tool[] = [ { name: "vectorize_delete", title: "Delete Vectorize Index", - description: "Deletes the specified Vectorize Index.", + description: "Deletes the specified Vectorize Index.\n\nDELETE /accounts/{account_id}/vectorize/v2/indexes/{index_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -197,10 +170,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index$$name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -290,7 +260,7 @@ export const tools: readonly Tool[] = [ { name: "vectorize_deleteByIds", title: "Delete Vectors By Identifier", - description: "Delete a set of vectors from an index by their vector identifiers.", + description: "Delete a set of vectors from an index by their vector identifiers.\n\nPOST /accounts/{account_id}/vectorize/v2/indexes/{index_name}/delete_by_ids", inputSchema: { type: "object", properties: { @@ -298,13 +268,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vectorize_index-delete-vectors-by-id-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -318,11 +289,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "vectorize_identifier": vectorize_identifier, "vectorize_index-delete-vectors-by-id-request": vectorize_index$$delete$$vectors$$by$$id$$request, - "vectorize_index-name": vectorize_index$$name$, - "vectorize_vector-identifier": vectorize_vector$$identifier$, }, }, outputSchema: { @@ -344,7 +313,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_index-delete-vectors-by-id-v2-response": vectorize_index$$delete$$vectors$$by$$id$$v2$$response, "vectorize_messages": vectorize_messages, - "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, annotations: { @@ -393,7 +361,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_index-delete-vectors-by-id-v2-response": vectorize_index$$delete$$vectors$$by$$id$$v2$$response, "vectorize_messages": vectorize_messages, - "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, request: (args) => ({ @@ -404,18 +371,19 @@ export const tools: readonly Tool[] = [ { name: "vectorize_get", title: "Get Vectorize Index", - description: "Returns the specified Vectorize Index.", + description: "Returns the specified Vectorize Index.\n\nGET /accounts/{account_id}/vectorize/v2/indexes/{index_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -428,10 +396,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index$$name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -451,12 +416,7 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-common": vectorize_api$$response$$common, "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_create-index-response": vectorize_create$$index$$response, - "vectorize_index-description": vectorize_index$$description, "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, - "vectorize_index-dimensions": vectorize_index$$dimensions, - "vectorize_index-metric": vectorize_index$$metric, - "vectorize_index-name": vectorize_index$$name, - "vectorize_index-preset": vectorize_index$$preset, "vectorize_messages": vectorize_messages, }, }, @@ -506,12 +466,7 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_create-index-response": vectorize_create$$index$$response, - "vectorize_index-description": vectorize_index$$description, "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, - "vectorize_index-dimensions": vectorize_index$$dimensions, - "vectorize_index-metric": vectorize_index$$metric, - "vectorize_index-name": vectorize_index$$name, - "vectorize_index-preset": vectorize_index$$preset, "vectorize_messages": vectorize_messages, }, }, @@ -522,7 +477,7 @@ export const tools: readonly Tool[] = [ { name: "vectorize_getByIds", title: "Get Vectors By Identifier", - description: "Get a set of vectors from an index by their vector identifiers.", + description: "Get a set of vectors from an index by their vector identifiers.\n\nPOST /accounts/{account_id}/vectorize/v2/indexes/{index_name}/get_by_ids", inputSchema: { type: "object", properties: { @@ -530,13 +485,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vectorize_index-get-vectors-by-id-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -550,11 +506,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "vectorize_identifier": vectorize_identifier, "vectorize_index-get-vectors-by-id-request": vectorize_index$$get$$vectors$$by$$id$$request, - "vectorize_index-name": vectorize_index$$name$, - "vectorize_vector-identifier": vectorize_vector$$identifier$, }, }, outputSchema: { @@ -575,7 +529,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-common": vectorize_api$$response$$common, "vectorize_index-get-vectors-by-id-response": vectorize_index$$get$$vectors$$by$$id$$response, "vectorize_messages": vectorize_messages, - "vectorize_vector-identifier": vectorize_vector$$identifier, }, }, annotations: { @@ -619,7 +572,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, "vectorize_index-get-vectors-by-id-response": vectorize_index$$get$$vectors$$by$$id$$response, "vectorize_messages": vectorize_messages, - "vectorize_vector-identifier": vectorize_vector$$identifier, }, }, request: (args) => ({ @@ -630,18 +582,19 @@ export const tools: readonly Tool[] = [ { name: "vectorize_info", title: "Get Vectorize Index Info", - description: "Get information about a vectorize index.", + description: "Get information about a vectorize index.\n\nGET /accounts/{account_id}/vectorize/v2/indexes/{index_name}/info", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -654,10 +607,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index$$name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -676,10 +626,8 @@ export const tools: readonly Tool[] = [ $defs: { "vectorize_api-response-common": vectorize_api$$response$$common, "vectorize_api-response-single": vectorize_api$$response$$single, - "vectorize_index-dimensions": vectorize_index$$dimensions, "vectorize_index-info-response": vectorize_index$$info$$response, "vectorize_messages": vectorize_messages, - "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, annotations: { @@ -727,10 +675,8 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-common": vectorize_api$$response$$common, "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, "vectorize_api-response-single": vectorize_api$$response$$single, - "vectorize_index-dimensions": vectorize_index$$dimensions, "vectorize_index-info-response": vectorize_index$$info$$response, "vectorize_messages": vectorize_messages, - "vectorize_mutation-uuid": vectorize_mutation$$uuid, }, }, request: (args) => ({ @@ -740,15 +686,16 @@ export const tools: readonly Tool[] = [ { name: "vectorize_list", title: "List Vectorize Indexes", - description: "Returns a list of Vectorize Indexes", + description: "Returns a list of Vectorize Indexes\n\nGET /accounts/{account_id}/vectorize/v2/indexes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -760,9 +707,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vectorize_identifier": vectorize_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -784,12 +729,7 @@ export const tools: readonly Tool[] = [ $defs: { "vectorize_api-response-common": vectorize_api$$response$$common, "vectorize_create-index-response": vectorize_create$$index$$response, - "vectorize_index-description": vectorize_index$$description, "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, - "vectorize_index-dimensions": vectorize_index$$dimensions, - "vectorize_index-metric": vectorize_index$$metric, - "vectorize_index-name": vectorize_index$$name, - "vectorize_index-preset": vectorize_index$$preset, "vectorize_messages": vectorize_messages, }, }, @@ -841,12 +781,7 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-common": vectorize_api$$response$$common, "vectorize_api-response-common-failure": vectorize_api$$response$$common$$failure, "vectorize_create-index-response": vectorize_create$$index$$response, - "vectorize_index-description": vectorize_index$$description, "vectorize_index-dimension-configuration": vectorize_index$$dimension$$configuration, - "vectorize_index-dimensions": vectorize_index$$dimensions, - "vectorize_index-metric": vectorize_index$$metric, - "vectorize_index-name": vectorize_index$$name, - "vectorize_index-preset": vectorize_index$$preset, "vectorize_messages": vectorize_messages, }, }, @@ -857,18 +792,19 @@ export const tools: readonly Tool[] = [ { name: "vectorize_listVectors", title: "List Vectors", - description: "Returns a paginated list of vector identifiers from the specified index.", + description: "Returns a paginated list of vector identifiers from the specified index.\n\nGET /accounts/{account_id}/vectorize/v2/indexes/{index_name}/list", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -878,6 +814,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "count": { "default": 100, @@ -895,10 +832,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index$$name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -919,7 +853,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_index-list-vectors-response": vectorize_index$$list$$vectors$$response, "vectorize_messages": vectorize_messages, - "vectorize_vector-identifier": vectorize_vector$$identifier, "vectorize_vector-list-item": vectorize_vector$$list$$item, }, }, @@ -970,7 +903,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_index-list-vectors-response": vectorize_index$$list$$vectors$$response, "vectorize_messages": vectorize_messages, - "vectorize_vector-identifier": vectorize_vector$$identifier, "vectorize_vector-list-item": vectorize_vector$$list$$item, }, }, @@ -985,7 +917,7 @@ export const tools: readonly Tool[] = [ { name: "vectorize_query", title: "Query Vectors", - description: "Finds vectors closest to a given vector in an index.", + description: "Finds vectors closest to a given vector in an index.\n\nPOST /accounts/{account_id}/vectorize/v2/indexes/{index_name}/query", inputSchema: { type: "object", properties: { @@ -993,13 +925,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/vectorize_index-query-v2-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/vectorize_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "index_name": { - "$ref": "#/$defs/vectorize_index-name" + "type": "string" } }, "required": [ @@ -1013,9 +946,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "vectorize_identifier": vectorize_identifier, - "vectorize_index-name": vectorize_index$$name$, "vectorize_index-query-v2-request": vectorize_index$$query$$v2$$request, }, }, @@ -1038,7 +970,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_index-query-v2-response": vectorize_index$$query$$v2$$response, "vectorize_messages": vectorize_messages, - "vectorize_vector-identifier": vectorize_vector$$identifier, }, }, annotations: { @@ -1083,7 +1014,6 @@ export const tools: readonly Tool[] = [ "vectorize_api-response-single": vectorize_api$$response$$single, "vectorize_index-query-v2-response": vectorize_index$$query$$v2$$response, "vectorize_messages": vectorize_messages, - "vectorize_vector-identifier": vectorize_vector$$identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts index 0b18e2170..b5e65a17e 100644 --- a/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/accountWaitingRooms/tools.ts @@ -8,33 +8,10 @@ import { waitingroom_api$$response$$common$$2, waitingroom_api$$response$$common$$failure, waitingroom_cookie_attributes, - waitingroom_cookie_suffix, - waitingroom_custom_page_html, - waitingroom_default_template_language, - waitingroom_description, - waitingroom_disable_session_renewal, waitingroom_enabled_origin_commands, - waitingroom_host, - waitingroom_json_response_enabled, waitingroom_messages, - waitingroom_name, - waitingroom_new_users_per_minute, - waitingroom_next_event_prequeue_start_time, - waitingroom_next_event_start_time, - waitingroom_path, - waitingroom_queue_all, - waitingroom_queueing_method, - waitingroom_queueing_status_code, - waitingroom_session_duration, - waitingroom_suspended, - waitingroom_timestamp, - waitingroom_total_active_users, - waitingroom_turnstile_action, - waitingroom_turnstile_mode, - waitingroom_waiting_room_id, waitingroom_waitingroom, } from "../outputs.js"; -import { waitingroom_identifier } from "../schemas.js"; import { waitingroom_response_collection } from "./outputs.js"; /** @@ -44,11 +21,12 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_accountWaitingRooms_list", title: "List waiting rooms for account or zone", - description: "Lists waiting rooms for account or zone.", + description: "Lists waiting rooms for account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/waiting_rooms", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -59,8 +37,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -70,6 +48,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -88,9 +67,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_identifier": waitingroom_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_response_collection", @@ -99,31 +76,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-collection": waitingroom_api$$response$$collection, "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, "waitingroom_response_collection": waitingroom_response_collection, - "waitingroom_session_duration": waitingroom_session_duration, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, @@ -169,31 +124,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, "waitingroom_response_collection": waitingroom_response_collection, - "waitingroom_session_duration": waitingroom_session_duration, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, diff --git a/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts b/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts index d9e5c3c78..33c9e08dd 100644 --- a/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/events/details/outputs.ts @@ -3,35 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `waitingroom_event_details_custom_page_html` in responses. - */ -export const waitingroom_event_details_custom_page_html: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_event_details_disable_session_renewal` in - * responses. - */ -export const waitingroom_event_details_disable_session_renewal: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `waitingroom_event_details_new_users_per_minute` in responses. - */ -export const waitingroom_event_details_new_users_per_minute: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `waitingroom_event_details_queueing_method` in responses. - */ -export const waitingroom_event_details_queueing_method: JsonSchema = { - "type": "string" -}; - /** * The schema of `waitingroom_event_details_response` in responses. */ @@ -57,67 +28,62 @@ export const waitingroom_event_details_response: JsonSchema = { export const waitingroom_event_details_result: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/waitingroom_timestamp" + "format": "date-time", + "type": "string" }, "custom_page_html": { - "$ref": "#/$defs/waitingroom_event_details_custom_page_html" + "type": "string" }, "description": { - "$ref": "#/$defs/waitingroom_event_description" + "type": "string" }, "disable_session_renewal": { - "$ref": "#/$defs/waitingroom_event_details_disable_session_renewal" + "type": "boolean" }, "event_end_time": { - "$ref": "#/$defs/waitingroom_event_end_time" + "type": "string" }, "event_start_time": { - "$ref": "#/$defs/waitingroom_event_start_time" + "type": "string" }, "id": { - "$ref": "#/$defs/waitingroom_event_id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/waitingroom_timestamp" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/waitingroom_event_name" + "type": "string" }, "new_users_per_minute": { - "$ref": "#/$defs/waitingroom_event_details_new_users_per_minute" + "type": "integer" }, "prequeue_start_time": { - "$ref": "#/$defs/waitingroom_event_prequeue_start_time" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "queueing_method": { - "$ref": "#/$defs/waitingroom_event_details_queueing_method" + "type": "string" }, "session_duration": { - "$ref": "#/$defs/waitingroom_event_details_session_duration" + "type": "integer" }, "shuffle_at_event_start": { - "$ref": "#/$defs/waitingroom_event_shuffle_at_event_start" + "type": "boolean" }, "suspended": { - "$ref": "#/$defs/waitingroom_event_suspended" + "type": "boolean" }, "total_active_users": { - "$ref": "#/$defs/waitingroom_event_details_total_active_users" + "type": "integer" } }, "type": "object" }; - -/** - * The schema of `waitingroom_event_details_session_duration` in responses. - */ -export const waitingroom_event_details_session_duration: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `waitingroom_event_details_total_active_users` in responses. - */ -export const waitingroom_event_details_total_active_users: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/waitingRooms/events/details/tools.ts b/src/generated/forge-mcp/waitingRooms/events/details/tools.ts index 4013a8d75..82f5b515a 100644 --- a/src/generated/forge-mcp/waitingRooms/events/details/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/events/details/tools.ts @@ -7,32 +7,10 @@ import { waitingroom_api$$response$$common$$failure, waitingroom_api$$response$$single, waitingroom_messages, - waitingroom_timestamp, } from "../../outputs.js"; import { - waitingroom_identifier, - waitingroom_waiting_room_id, -} from "../../schemas.js"; -import { - waitingroom_event_description, - waitingroom_event_end_time, - waitingroom_event_id, - waitingroom_event_name, - waitingroom_event_prequeue_start_time, - waitingroom_event_shuffle_at_event_start, - waitingroom_event_start_time, - waitingroom_event_suspended, -} from "../outputs.js"; -import { waitingroom_event_id as waitingroom_event_id$ } from "../schemas.js"; -import { - waitingroom_event_details_custom_page_html, - waitingroom_event_details_disable_session_renewal, - waitingroom_event_details_new_users_per_minute, - waitingroom_event_details_queueing_method, waitingroom_event_details_response, waitingroom_event_details_result, - waitingroom_event_details_session_duration, - waitingroom_event_details_total_active_users, } from "./outputs.js"; /** @@ -42,21 +20,22 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_events_details_get", title: "Preview active event details", - description: "Previews an event's configuration as if it was active. Inherited fields from the waiting room will be displayed with their current values.", + description: "Previews an event's configuration as if it was active. Inherited fields from the waiting room will be displayed with their current values.\n\nGET /zones/{zone_id}/waiting_rooms/{waiting_room_id}/events/{event_id}/details", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "event_id": { - "$ref": "#/$defs/waitingroom_event_id" + "type": "string" }, "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -70,35 +49,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_event_id": waitingroom_event_id$, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_event_details_response", $defs: { "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_details_custom_page_html": waitingroom_event_details_custom_page_html, - "waitingroom_event_details_disable_session_renewal": waitingroom_event_details_disable_session_renewal, - "waitingroom_event_details_new_users_per_minute": waitingroom_event_details_new_users_per_minute, - "waitingroom_event_details_queueing_method": waitingroom_event_details_queueing_method, "waitingroom_event_details_response": waitingroom_event_details_response, "waitingroom_event_details_result": waitingroom_event_details_result, - "waitingroom_event_details_session_duration": waitingroom_event_details_session_duration, - "waitingroom_event_details_total_active_users": waitingroom_event_details_total_active_users, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -142,24 +102,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_details_custom_page_html": waitingroom_event_details_custom_page_html, - "waitingroom_event_details_disable_session_renewal": waitingroom_event_details_disable_session_renewal, - "waitingroom_event_details_new_users_per_minute": waitingroom_event_details_new_users_per_minute, - "waitingroom_event_details_queueing_method": waitingroom_event_details_queueing_method, "waitingroom_event_details_response": waitingroom_event_details_response, "waitingroom_event_details_result": waitingroom_event_details_result, - "waitingroom_event_details_session_duration": waitingroom_event_details_session_duration, - "waitingroom_event_details_total_active_users": waitingroom_event_details_total_active_users, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/events/outputs.ts b/src/generated/forge-mcp/waitingRooms/events/outputs.ts index 418c11c1e..a6a719108 100644 --- a/src/generated/forge-mcp/waitingRooms/events/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/events/outputs.ts @@ -3,55 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `waitingroom_event_custom_page_html` in responses. - */ -export const waitingroom_event_custom_page_html: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_description` in responses. - */ -export const waitingroom_event_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_event_disable_session_renewal` in responses. - */ -export const waitingroom_event_disable_session_renewal: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_end_time` in responses. - */ -export const waitingroom_event_end_time: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_event_id` in responses. - */ -export const waitingroom_event_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `waitingroom_event_id_response` in responses. */ @@ -65,7 +16,7 @@ export const waitingroom_event_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/waitingroom_event_id" + "type": "string" } }, "type": "object" @@ -76,55 +27,6 @@ export const waitingroom_event_id_response: JsonSchema = { ] }; -/** - * The schema of `waitingroom_event_name` in responses. - */ -export const waitingroom_event_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_event_new_users_per_minute` in responses. - */ -export const waitingroom_event_new_users_per_minute: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_prequeue_start_time` in responses. - */ -export const waitingroom_event_prequeue_start_time: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_queueing_method` in responses. - */ -export const waitingroom_event_queueing_method: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `waitingroom_event_response` in responses. */ @@ -172,146 +74,134 @@ export const waitingroom_event_response_collection: JsonSchema = { export const waitingroom_event_result: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/waitingroom_timestamp" + "format": "date-time", + "type": "string" }, "custom_page_html": { - "$ref": "#/$defs/waitingroom_event_custom_page_html" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "description": { - "$ref": "#/$defs/waitingroom_event_description" + "type": "string" }, "disable_session_renewal": { - "$ref": "#/$defs/waitingroom_event_disable_session_renewal" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "event_end_time": { - "$ref": "#/$defs/waitingroom_event_end_time" + "type": "string" }, "event_start_time": { - "$ref": "#/$defs/waitingroom_event_start_time" + "type": "string" }, "id": { - "$ref": "#/$defs/waitingroom_event_id" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/waitingroom_timestamp" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/waitingroom_event_name" + "type": "string" }, "new_users_per_minute": { - "$ref": "#/$defs/waitingroom_event_new_users_per_minute" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "prequeue_start_time": { - "$ref": "#/$defs/waitingroom_event_prequeue_start_time" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "queueing_method": { - "$ref": "#/$defs/waitingroom_event_queueing_method" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "session_duration": { - "$ref": "#/$defs/waitingroom_event_session_duration" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "shuffle_at_event_start": { - "$ref": "#/$defs/waitingroom_event_shuffle_at_event_start" + "type": "boolean" }, "suspended": { - "$ref": "#/$defs/waitingroom_event_suspended" + "type": "boolean" }, "total_active_users": { - "$ref": "#/$defs/waitingroom_event_total_active_users" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "turnstile_action": { - "$ref": "#/$defs/waitingroom_event_turnstile_action" + "oneOf": [ + { + "enum": [ + "log", + "infinite_queue" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "turnstile_mode": { - "$ref": "#/$defs/waitingroom_event_turnstile_mode" + "oneOf": [ + { + "enum": [ + "off", + "invisible", + "visible_non_interactive", + "visible_managed" + ], + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" }; - -/** - * The schema of `waitingroom_event_session_duration` in responses. - */ -export const waitingroom_event_session_duration: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_shuffle_at_event_start` in responses. - */ -export const waitingroom_event_shuffle_at_event_start: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `waitingroom_event_start_time` in responses. - */ -export const waitingroom_event_start_time: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_event_suspended` in responses. - */ -export const waitingroom_event_suspended: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `waitingroom_event_total_active_users` in responses. - */ -export const waitingroom_event_total_active_users: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_turnstile_action` in responses. - */ -export const waitingroom_event_turnstile_action: JsonSchema = { - "oneOf": [ - { - "enum": [ - "log", - "infinite_queue" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_turnstile_mode` in responses. - */ -export const waitingroom_event_turnstile_mode: JsonSchema = { - "oneOf": [ - { - "enum": [ - "off", - "invisible", - "visible_non_interactive", - "visible_managed" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; diff --git a/src/generated/forge-mcp/waitingRooms/events/schemas.ts b/src/generated/forge-mcp/waitingRooms/events/schemas.ts index 67964e7c9..92f037ec6 100644 --- a/src/generated/forge-mcp/waitingRooms/events/schemas.ts +++ b/src/generated/forge-mcp/waitingRooms/events/schemas.ts @@ -3,273 +3,146 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `waitingroom_event_custom_page_html`. - */ -export const waitingroom_event_custom_page_html: JsonSchema = { - "description": "If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_description`. - */ -export const waitingroom_event_description: JsonSchema = { - "description": "A note that you can use to add more details about the event.", - "type": "string" -}; - -/** - * The schema of `waitingroom_event_disable_session_renewal`. - */ -export const waitingroom_event_disable_session_renewal: JsonSchema = { - "description": "If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_end_time`. - */ -export const waitingroom_event_end_time: JsonSchema = { - "description": "An ISO 8601 timestamp that marks the end of the event.", - "type": "string" -}; - -/** - * The schema of `waitingroom_event_id`. - */ -export const waitingroom_event_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_event_name`. - */ -export const waitingroom_event_name: JsonSchema = { - "description": "A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed.", - "type": "string" -}; - -/** - * The schema of `waitingroom_event_new_users_per_minute`. - */ -export const waitingroom_event_new_users_per_minute: JsonSchema = { - "description": "If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active_users` property is also set.", - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_prequeue_start_time`. - */ -export const waitingroom_event_prequeue_start_time: JsonSchema = { - "description": "An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_queueing_method`. - */ -export const waitingroom_event_queueing_method: JsonSchema = { - "description": "If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_session_duration`. - */ -export const waitingroom_event_session_duration: JsonSchema = { - "description": "If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it.", - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_shuffle_at_event_start`. - */ -export const waitingroom_event_shuffle_at_event_start: JsonSchema = { - "description": "If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will join the event prequeue at the same time and you want to shuffle them to ensure fairness. Naturally, it makes the most sense to enable this feature when the `queueing_method` during the event respects ordering such as **fifo**, or else the shuffling may be unnecessary.", - "type": "boolean" -}; - -/** - * The schema of `waitingroom_event_start_time`. - */ -export const waitingroom_event_start_time: JsonSchema = { - "description": "An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `event_end_time`.", - "type": "string" -}; - -/** - * The schema of `waitingroom_event_suspended`. - */ -export const waitingroom_event_suspended: JsonSchema = { - "description": "Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration.", - "type": "boolean" -}; - -/** - * The schema of `waitingroom_event_total_active_users`. - */ -export const waitingroom_event_total_active_users: JsonSchema = { - "description": "If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_minute` property is also set.", - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_turnstile_action`. - */ -export const waitingroom_event_turnstile_action: JsonSchema = { - "description": "If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it.", - "oneOf": [ - { - "enum": [ - "log", - "infinite_queue" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_event_turnstile_mode`. - */ -export const waitingroom_event_turnstile_mode: JsonSchema = { - "description": "If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it.", - "oneOf": [ - { - "enum": [ - "off", - "invisible", - "visible_non_interactive", - "visible_managed" - ], - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `waitingroom_query_event`. */ export const waitingroom_query_event: JsonSchema = { "properties": { "custom_page_html": { - "$ref": "#/$defs/waitingroom_event_custom_page_html", - "description": "If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it." + "description": "If set, the event will override the waiting room's `custom_page_html` property while it is active. If null, the event will inherit it.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "description": { - "$ref": "#/$defs/waitingroom_event_description", "default": "", - "description": "A note that you can use to add more details about the event." + "description": "A note that you can use to add more details about the event.", + "type": "string" }, "disable_session_renewal": { - "$ref": "#/$defs/waitingroom_event_disable_session_renewal", - "description": "If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it." + "description": "If set, the event will override the waiting room's `disable_session_renewal` property while it is active. If null, the event will inherit it.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "event_end_time": { - "$ref": "#/$defs/waitingroom_event_end_time", - "description": "An ISO 8601 timestamp that marks the end of the event." + "description": "An ISO 8601 timestamp that marks the end of the event.", + "type": "string" }, "event_start_time": { - "$ref": "#/$defs/waitingroom_event_start_time", - "description": "An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `event_end_time`." + "description": "An ISO 8601 timestamp that marks the start of the event. At this time, queued users will be processed with the event's configuration. The start time must be at least one minute before `event_end_time`.", + "type": "string" }, "name": { - "$ref": "#/$defs/waitingroom_event_name", - "description": "A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed." + "description": "A unique name to identify the event. Only alphanumeric characters, hyphens and underscores are allowed.", + "type": "string" }, "new_users_per_minute": { - "$ref": "#/$defs/waitingroom_event_new_users_per_minute", - "description": "If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active_users` property is also set." + "description": "If set, the event will override the waiting room's `new_users_per_minute` property while it is active. If null, the event will inherit it. This can only be set if the event's `total_active_users` property is also set.", + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "prequeue_start_time": { - "$ref": "#/$defs/waitingroom_event_prequeue_start_time", - "description": "An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`." + "description": "An ISO 8601 timestamp that marks when to begin queueing all users before the event starts. The prequeue must start at least five minutes before `event_start_time`.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "queueing_method": { - "$ref": "#/$defs/waitingroom_event_queueing_method", - "description": "If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it." + "description": "If set, the event will override the waiting room's `queueing_method` property while it is active. If null, the event will inherit it.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "session_duration": { - "$ref": "#/$defs/waitingroom_event_session_duration", - "description": "If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it." + "description": "If set, the event will override the waiting room's `session_duration` property while it is active. If null, the event will inherit it.", + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "shuffle_at_event_start": { - "$ref": "#/$defs/waitingroom_event_shuffle_at_event_start", "default": false, - "description": "If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will join the event prequeue at the same time and you want to shuffle them to ensure fairness. Naturally, it makes the most sense to enable this feature when the `queueing_method` during the event respects ordering such as **fifo**, or else the shuffling may be unnecessary." + "description": "If enabled, users in the prequeue will be shuffled randomly at the `event_start_time`. Requires that `prequeue_start_time` is not null. This is useful for situations when many users will join the event prequeue at the same time and you want to shuffle them to ensure fairness. Naturally, it makes the most sense to enable this feature when the `queueing_method` during the event respects ordering such as **fifo**, or else the shuffling may be unnecessary.", + "type": "boolean" }, "suspended": { - "$ref": "#/$defs/waitingroom_event_suspended", "default": false, - "description": "Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration." + "description": "Suspends or allows an event. If set to `true`, the event is ignored and traffic will be handled based on the waiting room configuration.", + "type": "boolean" }, "total_active_users": { - "$ref": "#/$defs/waitingroom_event_total_active_users", - "description": "If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_minute` property is also set." + "description": "If set, the event will override the waiting room's `total_active_users` property while it is active. If null, the event will inherit it. This can only be set if the event's `new_users_per_minute` property is also set.", + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "turnstile_action": { - "$ref": "#/$defs/waitingroom_event_turnstile_action", - "description": "If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it." + "description": "If set, the event will override the waiting room's `turnstile_action` property while it is active. If null, the event will inherit it.", + "oneOf": [ + { + "enum": [ + "log", + "infinite_queue" + ], + "type": "string" + }, + { + "type": "null" + } + ] }, "turnstile_mode": { - "$ref": "#/$defs/waitingroom_event_turnstile_mode", - "description": "If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it." + "description": "If set, the event will override the waiting room's `turnstile_mode` property while it is active. If null, the event will inherit it.", + "oneOf": [ + { + "enum": [ + "off", + "invisible", + "visible_non_interactive", + "visible_managed" + ], + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ diff --git a/src/generated/forge-mcp/waitingRooms/events/tools.ts b/src/generated/forge-mcp/waitingRooms/events/tools.ts index 6fc1f69eb..612d55d0d 100644 --- a/src/generated/forge-mcp/waitingRooms/events/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/events/tools.ts @@ -9,53 +9,14 @@ import { waitingroom_api$$response$$common$$failure, waitingroom_api$$response$$single, waitingroom_messages, - waitingroom_timestamp, } from "../outputs.js"; import { - waitingroom_identifier, - waitingroom_waiting_room_id, -} from "../schemas.js"; -import { - waitingroom_event_custom_page_html, - waitingroom_event_description, - waitingroom_event_disable_session_renewal, - waitingroom_event_end_time, - waitingroom_event_id, waitingroom_event_id_response, - waitingroom_event_name, - waitingroom_event_new_users_per_minute, - waitingroom_event_prequeue_start_time, - waitingroom_event_queueing_method, waitingroom_event_response, waitingroom_event_response_collection, waitingroom_event_result, - waitingroom_event_session_duration, - waitingroom_event_shuffle_at_event_start, - waitingroom_event_start_time, - waitingroom_event_suspended, - waitingroom_event_total_active_users, - waitingroom_event_turnstile_action, - waitingroom_event_turnstile_mode, } from "./outputs.js"; -import { - waitingroom_event_custom_page_html as waitingroom_event_custom_page_html$, - waitingroom_event_description as waitingroom_event_description$, - waitingroom_event_disable_session_renewal as waitingroom_event_disable_session_renewal$, - waitingroom_event_end_time as waitingroom_event_end_time$, - waitingroom_event_id as waitingroom_event_id$, - waitingroom_event_name as waitingroom_event_name$, - waitingroom_event_new_users_per_minute as waitingroom_event_new_users_per_minute$, - waitingroom_event_prequeue_start_time as waitingroom_event_prequeue_start_time$, - waitingroom_event_queueing_method as waitingroom_event_queueing_method$, - waitingroom_event_session_duration as waitingroom_event_session_duration$, - waitingroom_event_shuffle_at_event_start as waitingroom_event_shuffle_at_event_start$, - waitingroom_event_start_time as waitingroom_event_start_time$, - waitingroom_event_suspended as waitingroom_event_suspended$, - waitingroom_event_total_active_users as waitingroom_event_total_active_users$, - waitingroom_event_turnstile_action as waitingroom_event_turnstile_action$, - waitingroom_event_turnstile_mode as waitingroom_event_turnstile_mode$, - waitingroom_query_event, -} from "./schemas.js"; +import { waitingroom_query_event } from "./schemas.js"; /** * The tools of `waitingRooms.events`. @@ -64,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_events_create", title: "Create event", - description: "Only available for the Waiting Room Advanced subscription. Creates an event for a waiting room. An event takes place during a specified period of time, temporarily changing the behavior of a waiting room. While the event is active, some of the properties in the event's configuration may either override or inherit from the waiting room's configuration. Note that events cannot overlap with each other, so only one event can be active at a time.", + description: "Only available for the Waiting Room Advanced subscription. Creates an event for a waiting room. An event takes place during a specified period of time, temporarily changing the behavior of a waiting room. While the event is active, some of the properties in the event's configuration may either override or inherit from the waiting room's configuration. Note that events cannot overlap with each other, so only one event can be active at a time.\n\nPOST /zones/{zone_id}/waiting_rooms/{waiting_room_id}/events", inputSchema: { type: "object", properties: { @@ -72,13 +33,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_query_event" }, "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -92,25 +54,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html$, - "waitingroom_event_description": waitingroom_event_description$, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal$, - "waitingroom_event_end_time": waitingroom_event_end_time$, - "waitingroom_event_name": waitingroom_event_name$, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute$, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time$, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method$, - "waitingroom_event_session_duration": waitingroom_event_session_duration$, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start$, - "waitingroom_event_start_time": waitingroom_event_start_time$, - "waitingroom_event_suspended": waitingroom_event_suspended$, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users$, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action$, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode$, - "waitingroom_identifier": waitingroom_identifier, "waitingroom_query_event": waitingroom_query_event, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, }, outputSchema: { @@ -118,26 +64,9 @@ export const tools: readonly Tool[] = [ $defs: { "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response": waitingroom_event_response, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -177,26 +106,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response": waitingroom_event_response, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -207,21 +119,22 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_events_delete", title: "Delete event", - description: "Deletes an event for a waiting room.\n\nConfirm with the user before calling this tool. This operation deletes the event from the waiting room.", + description: "Deletes an event for a waiting room.\n\nConfirm with the user before calling this tool. This operation deletes the event from the waiting room.\n\nDELETE /zones/{zone_id}/waiting_rooms/{waiting_room_id}/events/{event_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "event_id": { - "$ref": "#/$defs/waitingroom_event_id" + "type": "string" }, "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -235,18 +148,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_event_id": waitingroom_event_id$, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_event_id_response", $defs: { "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_id": waitingroom_event_id, "waitingroom_event_id_response": waitingroom_event_id_response, "waitingroom_messages": waitingroom_messages, }, @@ -291,7 +199,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_id": waitingroom_event_id, "waitingroom_event_id_response": waitingroom_event_id_response, "waitingroom_messages": waitingroom_messages, }, @@ -303,7 +210,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_events_edit", title: "Patch event", - description: "Patches a configured event for a waiting room.", + description: "Patches a configured event for a waiting room.\n\nPATCH /zones/{zone_id}/waiting_rooms/{waiting_room_id}/events/{event_id}", inputSchema: { type: "object", properties: { @@ -311,16 +218,17 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_query_event" }, "path": { + "additionalProperties": false, "properties": { "event_id": { - "$ref": "#/$defs/waitingroom_event_id" + "type": "string" }, "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -335,26 +243,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html$, - "waitingroom_event_description": waitingroom_event_description$, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal$, - "waitingroom_event_end_time": waitingroom_event_end_time$, - "waitingroom_event_id": waitingroom_event_id$, - "waitingroom_event_name": waitingroom_event_name$, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute$, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time$, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method$, - "waitingroom_event_session_duration": waitingroom_event_session_duration$, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start$, - "waitingroom_event_start_time": waitingroom_event_start_time$, - "waitingroom_event_suspended": waitingroom_event_suspended$, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users$, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action$, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode$, - "waitingroom_identifier": waitingroom_identifier, "waitingroom_query_event": waitingroom_query_event, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, }, outputSchema: { @@ -362,26 +253,9 @@ export const tools: readonly Tool[] = [ $defs: { "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response": waitingroom_event_response, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -424,26 +298,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response": waitingroom_event_response, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -454,21 +311,22 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_events_get", title: "Event details", - description: "Fetches a single configured event for a waiting room.", + description: "Fetches a single configured event for a waiting room.\n\nGET /zones/{zone_id}/waiting_rooms/{waiting_room_id}/events/{event_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "event_id": { - "$ref": "#/$defs/waitingroom_event_id" + "type": "string" }, "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -482,37 +340,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_event_id": waitingroom_event_id$, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_event_response", $defs: { "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response": waitingroom_event_response, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -556,26 +393,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response": waitingroom_event_response, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -585,18 +405,19 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_events_list", title: "List events", - description: "Lists events for a waiting room.", + description: "Lists events for a waiting room.\n\nGET /zones/{zone_id}/waiting_rooms/{waiting_room_id}/events", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -606,6 +427,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -624,36 +446,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_event_response_collection", $defs: { "waitingroom_api-response-collection": waitingroom_api$$response$$collection, "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response_collection": waitingroom_event_response_collection, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -697,26 +499,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-collection": waitingroom_api$$response$$collection, "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response_collection": waitingroom_event_response_collection, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -730,7 +515,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_events_update", title: "Update event", - description: "Updates a configured event for a waiting room.", + description: "Updates a configured event for a waiting room.\n\nPUT /zones/{zone_id}/waiting_rooms/{waiting_room_id}/events/{event_id}", inputSchema: { type: "object", properties: { @@ -738,16 +523,17 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_query_event" }, "path": { + "additionalProperties": false, "properties": { "event_id": { - "$ref": "#/$defs/waitingroom_event_id" + "type": "string" }, "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -762,26 +548,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html$, - "waitingroom_event_description": waitingroom_event_description$, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal$, - "waitingroom_event_end_time": waitingroom_event_end_time$, - "waitingroom_event_id": waitingroom_event_id$, - "waitingroom_event_name": waitingroom_event_name$, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute$, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time$, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method$, - "waitingroom_event_session_duration": waitingroom_event_session_duration$, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start$, - "waitingroom_event_start_time": waitingroom_event_start_time$, - "waitingroom_event_suspended": waitingroom_event_suspended$, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users$, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action$, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode$, - "waitingroom_identifier": waitingroom_identifier, "waitingroom_query_event": waitingroom_query_event, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, }, outputSchema: { @@ -789,26 +558,9 @@ export const tools: readonly Tool[] = [ $defs: { "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response": waitingroom_event_response, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -851,26 +603,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_event_custom_page_html": waitingroom_event_custom_page_html, - "waitingroom_event_description": waitingroom_event_description, - "waitingroom_event_disable_session_renewal": waitingroom_event_disable_session_renewal, - "waitingroom_event_end_time": waitingroom_event_end_time, - "waitingroom_event_id": waitingroom_event_id, - "waitingroom_event_name": waitingroom_event_name, - "waitingroom_event_new_users_per_minute": waitingroom_event_new_users_per_minute, - "waitingroom_event_prequeue_start_time": waitingroom_event_prequeue_start_time, - "waitingroom_event_queueing_method": waitingroom_event_queueing_method, "waitingroom_event_response": waitingroom_event_response, "waitingroom_event_result": waitingroom_event_result, - "waitingroom_event_session_duration": waitingroom_event_session_duration, - "waitingroom_event_shuffle_at_event_start": waitingroom_event_shuffle_at_event_start, - "waitingroom_event_start_time": waitingroom_event_start_time, - "waitingroom_event_suspended": waitingroom_event_suspended, - "waitingroom_event_total_active_users": waitingroom_event_total_active_users, - "waitingroom_event_turnstile_action": waitingroom_event_turnstile_action, - "waitingroom_event_turnstile_mode": waitingroom_event_turnstile_mode, "waitingroom_messages": waitingroom_messages, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/outputs.ts b/src/generated/forge-mcp/waitingRooms/outputs.ts index 7d6f32fc4..8ba52ef25 100644 --- a/src/generated/forge-mcp/waitingRooms/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/outputs.ts @@ -199,82 +199,6 @@ export const waitingroom_cookie_attributes: JsonSchema = { "type": "object" }; -/** - * The schema of `waitingroom_cookie_suffix` in responses. - */ -export const waitingroom_cookie_suffix: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_custom_page_html` in responses. - */ -export const waitingroom_custom_page_html: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_default_template_language` in responses. - */ -export const waitingroom_default_template_language: JsonSchema = { - "enum": [ - "en-US", - "es-ES", - "de-DE", - "fr-FR", - "it-IT", - "ja-JP", - "ko-KR", - "pt-BR", - "zh-CN", - "zh-TW", - "nl-NL", - "pl-PL", - "id-ID", - "tr-TR", - "ar-EG", - "ru-RU", - "fa-IR", - "bg-BG", - "hr-HR", - "cs-CZ", - "da-DK", - "fi-FI", - "lt-LT", - "lv-LV", - "ms-MY", - "nb-NO", - "ro-RO", - "el-GR", - "he-IL", - "hi-IN", - "hu-HU", - "sr-BA", - "sk-SK", - "sl-SI", - "sv-SE", - "tl-PH", - "th-TH", - "uk-UA", - "vi-VN" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_description` in responses. - */ -export const waitingroom_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_disable_session_renewal` in responses. - */ -export const waitingroom_disable_session_renewal: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `waitingroom_enabled_origin_commands` in responses. */ @@ -288,20 +212,6 @@ export const waitingroom_enabled_origin_commands: JsonSchema = { "type": "array" }; -/** - * The schema of `waitingroom_host` in responses. - */ -export const waitingroom_host: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_json_response_enabled` in responses. - */ -export const waitingroom_json_response_enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `waitingroom_messages` in responses. */ @@ -335,94 +245,6 @@ export const waitingroom_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `waitingroom_name` in responses. - */ -export const waitingroom_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_new_users_per_minute` in responses. - */ -export const waitingroom_new_users_per_minute: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `waitingroom_next_event_prequeue_start_time` in responses. - */ -export const waitingroom_next_event_prequeue_start_time: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_next_event_start_time` in responses. - */ -export const waitingroom_next_event_start_time: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `waitingroom_path` in responses. - */ -export const waitingroom_path: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_queue_all` in responses. - */ -export const waitingroom_queue_all: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `waitingroom_queueing_method` in responses. - */ -export const waitingroom_queueing_method: JsonSchema = { - "enum": [ - "fifo", - "random", - "passthrough", - "reject" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_queueing_status_code` in responses. - */ -export const waitingroom_queueing_status_code: JsonSchema = { - "enum": [ - 200, - 202, - 429 - ], - "type": "integer" -}; - -/** - * The schema of `waitingroom_session_duration` in responses. - */ -export const waitingroom_session_duration: JsonSchema = { - "type": "integer" -}; - /** * The schema of `waitingroom_single_response` in responses. */ @@ -442,59 +264,6 @@ export const waitingroom_single_response: JsonSchema = { ] }; -/** - * The schema of `waitingroom_suspended` in responses. - */ -export const waitingroom_suspended: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `waitingroom_timestamp` in responses. - */ -export const waitingroom_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `waitingroom_total_active_users` in responses. - */ -export const waitingroom_total_active_users: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `waitingroom_turnstile_action` in responses. - */ -export const waitingroom_turnstile_action: JsonSchema = { - "enum": [ - "log", - "infinite_queue" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_turnstile_mode` in responses. - */ -export const waitingroom_turnstile_mode: JsonSchema = { - "enum": [ - "off", - "invisible", - "visible_non_interactive", - "visible_managed" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_waiting_room_id` in responses. - */ -export const waitingroom_waiting_room_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `waitingroom_waiting_room_id_response` in responses. */ @@ -508,7 +277,7 @@ export const waitingroom_waiting_room_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" } }, "type": "object" @@ -531,76 +300,154 @@ export const waitingroom_waitingroom: JsonSchema = { "$ref": "#/$defs/waitingroom_cookie_attributes" }, "cookie_suffix": { - "$ref": "#/$defs/waitingroom_cookie_suffix" + "type": "string" }, "created_on": { - "$ref": "#/$defs/waitingroom_timestamp" + "format": "date-time", + "type": "string" }, "custom_page_html": { - "$ref": "#/$defs/waitingroom_custom_page_html" + "type": "string" }, "default_template_language": { - "$ref": "#/$defs/waitingroom_default_template_language" + "enum": [ + "en-US", + "es-ES", + "de-DE", + "fr-FR", + "it-IT", + "ja-JP", + "ko-KR", + "pt-BR", + "zh-CN", + "zh-TW", + "nl-NL", + "pl-PL", + "id-ID", + "tr-TR", + "ar-EG", + "ru-RU", + "fa-IR", + "bg-BG", + "hr-HR", + "cs-CZ", + "da-DK", + "fi-FI", + "lt-LT", + "lv-LV", + "ms-MY", + "nb-NO", + "ro-RO", + "el-GR", + "he-IL", + "hi-IN", + "hu-HU", + "sr-BA", + "sk-SK", + "sl-SI", + "sv-SE", + "tl-PH", + "th-TH", + "uk-UA", + "vi-VN" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/waitingroom_description" + "type": "string" }, "disable_session_renewal": { - "$ref": "#/$defs/waitingroom_disable_session_renewal" + "type": "boolean" }, "enabled_origin_commands": { "$ref": "#/$defs/waitingroom_enabled_origin_commands" }, "host": { - "$ref": "#/$defs/waitingroom_host" + "type": "string" }, "id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "json_response_enabled": { - "$ref": "#/$defs/waitingroom_json_response_enabled" + "type": "boolean" }, "modified_on": { - "$ref": "#/$defs/waitingroom_timestamp" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/waitingroom_name" + "type": "string" }, "new_users_per_minute": { - "$ref": "#/$defs/waitingroom_new_users_per_minute" + "type": "integer" }, "next_event_prequeue_start_time": { - "$ref": "#/$defs/waitingroom_next_event_prequeue_start_time" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "next_event_start_time": { - "$ref": "#/$defs/waitingroom_next_event_start_time" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "path": { - "$ref": "#/$defs/waitingroom_path" + "type": "string" }, "queue_all": { - "$ref": "#/$defs/waitingroom_queue_all" + "type": "boolean" }, "queueing_method": { - "$ref": "#/$defs/waitingroom_queueing_method" + "enum": [ + "fifo", + "random", + "passthrough", + "reject" + ], + "type": "string" }, "queueing_status_code": { - "$ref": "#/$defs/waitingroom_queueing_status_code" + "enum": [ + 200, + 202, + 429 + ], + "type": "integer" }, "session_duration": { - "$ref": "#/$defs/waitingroom_session_duration" + "type": "integer" }, "suspended": { - "$ref": "#/$defs/waitingroom_suspended" + "type": "boolean" }, "total_active_users": { - "$ref": "#/$defs/waitingroom_total_active_users" + "type": "integer" }, "turnstile_action": { - "$ref": "#/$defs/waitingroom_turnstile_action" + "enum": [ + "log", + "infinite_queue" + ], + "type": "string" }, "turnstile_mode": { - "$ref": "#/$defs/waitingroom_turnstile_mode" + "enum": [ + "off", + "invisible", + "visible_non_interactive", + "visible_managed" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/waitingRooms/page/outputs.ts b/src/generated/forge-mcp/waitingRooms/page/outputs.ts index 22f554800..f9b0458e7 100644 --- a/src/generated/forge-mcp/waitingRooms/page/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/page/outputs.ts @@ -16,7 +16,7 @@ export const waitingroom_preview_response: JsonSchema = { "result": { "properties": { "preview_url": { - "$ref": "#/$defs/waitingroom_preview_url" + "type": "string" } }, "type": "object" @@ -26,10 +26,3 @@ export const waitingroom_preview_response: JsonSchema = { } ] }; - -/** - * The schema of `waitingroom_preview_url` in responses. - */ -export const waitingroom_preview_url: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/waitingRooms/page/schemas.ts b/src/generated/forge-mcp/waitingRooms/page/schemas.ts index 20284ba7c..d1f884047 100644 --- a/src/generated/forge-mcp/waitingRooms/page/schemas.ts +++ b/src/generated/forge-mcp/waitingRooms/page/schemas.ts @@ -9,9 +9,9 @@ import type { JsonSchema } from "../../_/tool.js"; export const waitingroom_query_preview: JsonSchema = { "properties": { "custom_html": { - "$ref": "#/$defs/waitingroom_custom_page_html", "default": "", - "description": "Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will be used. The template is based on mustache ( https://mustache.github.io/ ). There are several variables that are evaluated by the Cloudflare edge:\n1. {{`waitTimeKnown`}} Acts like a boolean value that indicates the behavior to take when wait time is not available, for instance when queue_all is **true**.\n2. {{`waitTimeFormatted`}} Estimated wait time for the user. For example, five minutes. Alternatively, you can use:\n3. {{`waitTime`}} Number of minutes of estimated wait for a user.\n4. {{`waitTimeHours`}} Number of hours of estimated wait for a user (`Math.floor(waitTime/60)`).\n5. {{`waitTimeHourMinutes`}} Number of minutes above the `waitTimeHours` value (`waitTime%60`).\n6. {{`queueIsFull`}} Changes to **true** when no more people can be added to the queue.\n\nTo view the full list of variables, look at the `cfWaitingRoom` object described under the `json_response_enabled` property in other Waiting Room API calls." + "description": "Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will be used. The template is based on mustache ( https://mustache.github.io/ ). There are several variables that are evaluated by the Cloudflare edge:\n1. {{`waitTimeKnown`}} Acts like a boolean value that indicates the behavior to take when wait time is not available, for instance when queue_all is **true**.\n2. {{`waitTimeFormatted`}} Estimated wait time for the user. For example, five minutes. Alternatively, you can use:\n3. {{`waitTime`}} Number of minutes of estimated wait for a user.\n4. {{`waitTimeHours`}} Number of hours of estimated wait for a user (`Math.floor(waitTime/60)`).\n5. {{`waitTimeHourMinutes`}} Number of minutes above the `waitTimeHours` value (`waitTime%60`).\n6. {{`queueIsFull`}} Changes to **true** when no more people can be added to the queue.\n\nTo view the full list of variables, look at the `cfWaitingRoom` object described under the `json_response_enabled` property in other Waiting Room API calls.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/waitingRooms/page/tools.ts b/src/generated/forge-mcp/waitingRooms/page/tools.ts index 12abc6abf..a05ec03b3 100644 --- a/src/generated/forge-mcp/waitingRooms/page/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/page/tools.ts @@ -8,14 +8,7 @@ import { waitingroom_api$$response$$single, waitingroom_messages, } from "../outputs.js"; -import { - waitingroom_custom_page_html, - waitingroom_identifier, -} from "../schemas.js"; -import { - waitingroom_preview_response, - waitingroom_preview_url, -} from "./outputs.js"; +import { waitingroom_preview_response } from "./outputs.js"; import { waitingroom_query_preview } from "./schemas.js"; /** @@ -25,7 +18,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_page_preview", title: "Create a custom waiting room page preview", - description: "Creates a waiting room page preview. Upload a custom waiting room page for preview. You will receive a preview URL in the form `http://waitingrooms.dev/preview/`. You can use the following query parameters to change the state of the preview:\n1. `force_queue`: Boolean indicating if all users will be queued in the waiting room and no one will be let into the origin website (also known as queueAll).\n2. `queue_is_full`: Boolean indicating if the waiting room's queue is currently full and not accepting new users at the moment.\n3. `queueing_method`: The queueing method currently used by the waiting room.\n\t- **fifo** indicates a FIFO queue.\n\t- **random** indicates a Random queue.\n\t- **passthrough** indicates a Passthrough queue. Keep in mind that the waiting room page will only be displayed if `force_queue=true` or `event=prequeueing` — for other cases the request will pass through to the origin. For our preview, this will be a fake origin website returning \\\"Welcome\\\". \n\t- **reject** indicates a Reject queue.\n4. `event`: Used to preview a waiting room event.\n\t- **none** indicates no event is occurring.\n\t- **prequeueing** indicates that an event is prequeueing (between `prequeue_start_time` and `event_start_time`).\n\t- **started** indicates that an event has started (between `event_start_time` and `event_end_time`).\n5. `shuffle_at_event_start`: Boolean indicating if the event will shuffle users in the prequeue when it starts. This can only be set to **true** if an event is active (`event` is not **none**).\n\nFor example, you can make a request to `http://waitingrooms.dev/preview/?force_queue=false&queue_is_full=false&queueing_method=random&event=started&shuffle_at_event_start=true`\n6. `waitTime`: Non-zero, positive integer indicating the estimated wait time in minutes. The default value is 10 minutes.\n\nFor example, you can make a request to `http://waitingrooms.dev/preview/?waitTime=50` to configure the estimated wait time as 50 minutes.", + description: "Creates a waiting room page preview. Upload a custom waiting room page for preview. You will receive a preview URL in the form `http://waitingrooms.dev/preview/`. You can use the following query parameters to change the state of the preview:\n1. `force_queue`: Boolean indicating if all users will be queued in the waiting room and no one will be let into the origin website (also known as queueAll).\n2. `queue_is_full`: Boolean indicating if the waiting room's queue is currently full and not accepting new users at the moment.\n3. `queueing_method`: The queueing method currently used by the waiting room.\n\t- **fifo** indicates a FIFO queue.\n\t- **random** indicates a Random queue.\n\t- **passthrough** indicates a Passthrough queue. Keep in mind that the waiting room page will only be displayed if `force_queue=true` or `event=prequeueing` — for other cases the request will pass through to the origin. For our preview, this will be a fake origin website returning \\\"Welcome\\\". \n\t- **reject** indicates a Reject queue.\n4. `event`: Used to preview a waiting room event.\n\t- **none** indicates no event is occurring.\n\t- **prequeueing** indicates that an event is prequeueing (between `prequeue_start_time` and `event_start_time`).\n\t- **started** indicates that an event has started (between `event_start_time` and `event_end_time`).\n5. `shuffle_at_event_start`: Boolean indicating if the event will shuffle users in the prequeue when it starts. This can only be set to **true** if an event is active (`event` is not **none**).\n\nFor example, you can make a request to `http://waitingrooms.dev/preview/?force_queue=false&queue_is_full=false&queueing_method=random&event=started&shuffle_at_event_start=true`\n6. `waitTime`: Non-zero, positive integer indicating the estimated wait time in minutes. The default value is 10 minutes.\n\nFor example, you can make a request to `http://waitingrooms.dev/preview/?waitTime=50` to configure the estimated wait time as 50 minutes.\n\nPOST /zones/{zone_id}/waiting_rooms/preview", inputSchema: { type: "object", properties: { @@ -33,10 +26,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_query_preview" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -49,9 +43,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_identifier": waitingroom_identifier, "waitingroom_query_preview": waitingroom_query_preview, }, }, @@ -62,7 +55,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, "waitingroom_preview_response": waitingroom_preview_response, - "waitingroom_preview_url": waitingroom_preview_url, }, }, annotations: { @@ -107,7 +99,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, "waitingroom_preview_response": waitingroom_preview_response, - "waitingroom_preview_url": waitingroom_preview_url, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/rules/outputs.ts b/src/generated/forge-mcp/waitingRooms/rules/outputs.ts index d1c80e093..e22277361 100644 --- a/src/generated/forge-mcp/waitingRooms/rules/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/rules/outputs.ts @@ -3,81 +3,40 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `waitingroom_rule_action` in responses. - */ -export const waitingroom_rule_action: JsonSchema = { - "enum": [ - "bypass_waiting_room" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_rule_description` in responses. - */ -export const waitingroom_rule_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_rule_enabled` in responses. - */ -export const waitingroom_rule_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `waitingroom_rule_expression` in responses. - */ -export const waitingroom_rule_expression: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `waitingroom_rule_id` in responses. - */ -export const waitingroom_rule_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `waitingroom_rule_result` in responses. */ export const waitingroom_rule_result: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/waitingroom_rule_action" + "enum": [ + "bypass_waiting_room" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/waitingroom_rule_description" + "type": "string" }, "enabled": { - "$ref": "#/$defs/waitingroom_rule_enabled" + "type": "boolean" }, "expression": { - "$ref": "#/$defs/waitingroom_rule_expression" + "type": "string" }, "id": { - "$ref": "#/$defs/waitingroom_rule_id" + "type": "string" }, "last_updated": { - "$ref": "#/$defs/waitingroom_timestamp" + "format": "date-time", + "type": "string" }, "version": { - "$ref": "#/$defs/waitingroom_rule_version" + "type": "string" } }, "type": "object" }; -/** - * The schema of `waitingroom_rule_version` in responses. - */ -export const waitingroom_rule_version: JsonSchema = { - "type": "string" -}; - /** * The schema of `waitingroom_rules_response_collection` in responses. */ diff --git a/src/generated/forge-mcp/waitingRooms/rules/schemas.ts b/src/generated/forge-mcp/waitingRooms/rules/schemas.ts index 774b0c5e2..2cce6a66c 100644 --- a/src/generated/forge-mcp/waitingRooms/rules/schemas.ts +++ b/src/generated/forge-mcp/waitingRooms/rules/schemas.ts @@ -9,22 +9,25 @@ import type { JsonSchema } from "../../_/tool.js"; export const waitingroom_create_rule: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/waitingroom_rule_action", - "description": "The action to take when the expression matches." + "description": "The action to take when the expression matches.", + "enum": [ + "bypass_waiting_room" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/waitingroom_rule_description", "default": "", - "description": "The description of the rule." + "description": "The description of the rule.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/waitingroom_rule_enabled", "default": true, - "description": "When set to true, the rule is enabled." + "description": "When set to true, the rule is enabled.", + "type": "boolean" }, "expression": { - "$ref": "#/$defs/waitingroom_rule_expression", - "description": "Criteria defining when there is a match for the current rule." + "description": "Criteria defining when there is a match for the current rule.", + "type": "string" } }, "required": [ @@ -40,22 +43,25 @@ export const waitingroom_create_rule: JsonSchema = { export const waitingroom_patch_rule: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/waitingroom_rule_action", - "description": "The action to take when the expression matches." + "description": "The action to take when the expression matches.", + "enum": [ + "bypass_waiting_room" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/waitingroom_rule_description", "default": "", - "description": "The description of the rule." + "description": "The description of the rule.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/waitingroom_rule_enabled", "default": true, - "description": "When set to true, the rule is enabled." + "description": "When set to true, the rule is enabled.", + "type": "boolean" }, "expression": { - "$ref": "#/$defs/waitingroom_rule_expression", - "description": "Criteria defining when there is a match for the current rule." + "description": "Criteria defining when there is a match for the current rule.", + "type": "string" }, "position": { "$ref": "#/$defs/waitingroom_rule_position", @@ -69,49 +75,6 @@ export const waitingroom_patch_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `waitingroom_rule_action`. - */ -export const waitingroom_rule_action: JsonSchema = { - "description": "The action to take when the expression matches.", - "enum": [ - "bypass_waiting_room" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_rule_description`. - */ -export const waitingroom_rule_description: JsonSchema = { - "description": "The description of the rule.", - "type": "string" -}; - -/** - * The schema of `waitingroom_rule_enabled`. - */ -export const waitingroom_rule_enabled: JsonSchema = { - "description": "When set to true, the rule is enabled.", - "type": "boolean" -}; - -/** - * The schema of `waitingroom_rule_expression`. - */ -export const waitingroom_rule_expression: JsonSchema = { - "description": "Criteria defining when there is a match for the current rule.", - "type": "string" -}; - -/** - * The schema of `waitingroom_rule_id`. - */ -export const waitingroom_rule_id: JsonSchema = { - "description": "The ID of the rule.", - "type": "string" -}; - /** * The schema of `waitingroom_rule_position`. */ diff --git a/src/generated/forge-mcp/waitingRooms/rules/tools.ts b/src/generated/forge-mcp/waitingRooms/rules/tools.ts index a6d828ca3..9b0be3f2d 100644 --- a/src/generated/forge-mcp/waitingRooms/rules/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/rules/tools.ts @@ -7,30 +7,14 @@ import { waitingroom_api$$response$$common$$2, waitingroom_api$$response$$common$$failure, waitingroom_messages, - waitingroom_timestamp, } from "../outputs.js"; import { - waitingroom_identifier, - waitingroom_waiting_room_id, -} from "../schemas.js"; -import { - waitingroom_rule_action, - waitingroom_rule_description, - waitingroom_rule_enabled, - waitingroom_rule_expression, - waitingroom_rule_id, waitingroom_rule_result, - waitingroom_rule_version, waitingroom_rules_response_collection, } from "./outputs.js"; import { waitingroom_create_rule, waitingroom_patch_rule, - waitingroom_rule_action as waitingroom_rule_action$, - waitingroom_rule_description as waitingroom_rule_description$, - waitingroom_rule_enabled as waitingroom_rule_enabled$, - waitingroom_rule_expression as waitingroom_rule_expression$, - waitingroom_rule_id as waitingroom_rule_id$, waitingroom_rule_position, waitingroom_update_rules, } from "./schemas.js"; @@ -42,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_rules_create", title: "Create Waiting Room Rule", - description: "Only available for the Waiting Room Advanced subscription. Creates a rule for a waiting room.", + description: "Only available for the Waiting Room Advanced subscription. Creates a rule for a waiting room.\n\nPOST /zones/{zone_id}/waiting_rooms/{waiting_room_id}/rules", inputSchema: { type: "object", properties: { @@ -50,13 +34,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_create_rule" }, "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -70,14 +55,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "waitingroom_create_rule": waitingroom_create_rule, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_rule_action": waitingroom_rule_action$, - "waitingroom_rule_description": waitingroom_rule_description$, - "waitingroom_rule_enabled": waitingroom_rule_enabled$, - "waitingroom_rule_expression": waitingroom_rule_expression$, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, }, outputSchema: { @@ -86,15 +66,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-collection": waitingroom_api$$response$$collection, "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -135,15 +108,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -154,22 +120,23 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_rules_delete", title: "Delete Waiting Room Rule", - description: "Deletes a rule for a waiting room.\n\nConfirm with the user before calling this tool. This operation deletes the rule from the waiting room.", + description: "Deletes a rule for a waiting room.\n\nConfirm with the user before calling this tool. This operation deletes the rule from the waiting room.\n\nDELETE /zones/{zone_id}/waiting_rooms/{waiting_room_id}/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/waitingroom_rule_id", - "description": "The ID of the rule." + "description": "The ID of the rule.", + "type": "string" }, "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -183,11 +150,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_rule_id": waitingroom_rule_id$, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_rules_response_collection", @@ -195,15 +158,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-collection": waitingroom_api$$response$$collection, "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -247,15 +203,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -265,7 +214,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_rules_edit", title: "Patch Waiting Room Rule", - description: "Patches a rule for a waiting room.", + description: "Patches a rule for a waiting room.\n\nPATCH /zones/{zone_id}/waiting_rooms/{waiting_room_id}/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -273,17 +222,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_patch_rule" }, "path": { + "additionalProperties": false, "properties": { "rule_id": { - "$ref": "#/$defs/waitingroom_rule_id", - "description": "The ID of the rule." + "description": "The ID of the rule.", + "type": "string" }, "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -298,16 +248,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "waitingroom_identifier": waitingroom_identifier, "waitingroom_patch_rule": waitingroom_patch_rule, - "waitingroom_rule_action": waitingroom_rule_action$, - "waitingroom_rule_description": waitingroom_rule_description$, - "waitingroom_rule_enabled": waitingroom_rule_enabled$, - "waitingroom_rule_expression": waitingroom_rule_expression$, - "waitingroom_rule_id": waitingroom_rule_id$, "waitingroom_rule_position": waitingroom_rule_position, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, }, outputSchema: { @@ -316,15 +260,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-collection": waitingroom_api$$response$$collection, "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -368,15 +305,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -387,18 +317,19 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_rules_get", title: "List Waiting Room Rules", - description: "Lists rules for a waiting room.", + description: "Lists rules for a waiting room.\n\nGET /zones/{zone_id}/waiting_rooms/{waiting_room_id}/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -411,10 +342,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_rules_response_collection", @@ -422,15 +350,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-collection": waitingroom_api$$response$$collection, "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -475,15 +396,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ @@ -493,7 +407,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_rules_update", title: "Replace Waiting Room Rules", - description: "Only available for the Waiting Room Advanced subscription. Replaces all rules for a waiting room.", + description: "Only available for the Waiting Room Advanced subscription. Replaces all rules for a waiting room.\n\nPUT /zones/{zone_id}/waiting_rooms/{waiting_room_id}/rules", inputSchema: { type: "object", properties: { @@ -501,13 +415,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_update_rules" }, "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -521,15 +436,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "waitingroom_create_rule": waitingroom_create_rule, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_rule_action": waitingroom_rule_action$, - "waitingroom_rule_description": waitingroom_rule_description$, - "waitingroom_rule_enabled": waitingroom_rule_enabled$, - "waitingroom_rule_expression": waitingroom_rule_expression$, "waitingroom_update_rules": waitingroom_update_rules, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, }, }, outputSchema: { @@ -538,15 +448,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-collection": waitingroom_api$$response$$collection, "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, annotations: { @@ -590,15 +493,8 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-2": waitingroom_api$$response$$common$$2, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_messages": waitingroom_messages, - "waitingroom_rule_action": waitingroom_rule_action, - "waitingroom_rule_description": waitingroom_rule_description, - "waitingroom_rule_enabled": waitingroom_rule_enabled, - "waitingroom_rule_expression": waitingroom_rule_expression, - "waitingroom_rule_id": waitingroom_rule_id, "waitingroom_rule_result": waitingroom_rule_result, - "waitingroom_rule_version": waitingroom_rule_version, "waitingroom_rules_response_collection": waitingroom_rules_response_collection, - "waitingroom_timestamp": waitingroom_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/waitingRooms/schemas.ts b/src/generated/forge-mcp/waitingRooms/schemas.ts index e7943f993..8a6826690 100644 --- a/src/generated/forge-mcp/waitingRooms/schemas.ts +++ b/src/generated/forge-mcp/waitingRooms/schemas.ts @@ -56,87 +56,6 @@ export const waitingroom_cookie_attributes: JsonSchema = { "type": "object" }; -/** - * The schema of `waitingroom_cookie_suffix`. - */ -export const waitingroom_cookie_suffix: JsonSchema = { - "description": "Appends a '_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name(__cf_waitingroom). If `cookie_suffix` is \"abcd\", the cookie name will be `__cf_waitingroom_abcd`. This field is required if using `additional_routes`.", - "type": "string" -}; - -/** - * The schema of `waitingroom_custom_page_html`. - */ -export const waitingroom_custom_page_html: JsonSchema = { - "description": "Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will be used. The template is based on mustache ( https://mustache.github.io/ ). There are several variables that are evaluated by the Cloudflare edge:\n1. {{`waitTimeKnown`}} Acts like a boolean value that indicates the behavior to take when wait time is not available, for instance when queue_all is **true**.\n2. {{`waitTimeFormatted`}} Estimated wait time for the user. For example, five minutes. Alternatively, you can use:\n3. {{`waitTime`}} Number of minutes of estimated wait for a user.\n4. {{`waitTimeHours`}} Number of hours of estimated wait for a user (`Math.floor(waitTime/60)`).\n5. {{`waitTimeHourMinutes`}} Number of minutes above the `waitTimeHours` value (`waitTime%60`).\n6. {{`queueIsFull`}} Changes to **true** when no more people can be added to the queue.\n\nTo view the full list of variables, look at the `cfWaitingRoom` object described under the `json_response_enabled` property in other Waiting Room API calls.", - "type": "string" -}; - -/** - * The schema of `waitingroom_default_template_language`. - */ -export const waitingroom_default_template_language: JsonSchema = { - "description": "The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used.", - "enum": [ - "en-US", - "es-ES", - "de-DE", - "fr-FR", - "it-IT", - "ja-JP", - "ko-KR", - "pt-BR", - "zh-CN", - "zh-TW", - "nl-NL", - "pl-PL", - "id-ID", - "tr-TR", - "ar-EG", - "ru-RU", - "fa-IR", - "bg-BG", - "hr-HR", - "cs-CZ", - "da-DK", - "fi-FI", - "lt-LT", - "lv-LV", - "ms-MY", - "nb-NO", - "ro-RO", - "el-GR", - "he-IL", - "hi-IN", - "hu-HU", - "sr-BA", - "sk-SK", - "sl-SI", - "sv-SE", - "tl-PH", - "th-TH", - "uk-UA", - "vi-VN" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_description`. - */ -export const waitingroom_description: JsonSchema = { - "description": "A note that you can use to add more details about the waiting room.", - "type": "string" -}; - -/** - * The schema of `waitingroom_disable_session_renewal`. - */ -export const waitingroom_disable_session_renewal: JsonSchema = { - "description": "Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. After that, they will have to go through the waiting room again. If `false`, a user's session cookie will be automatically renewed on every request.", - "type": "boolean" -}; - /** * The schema of `waitingroom_enabled_origin_commands`. */ @@ -151,54 +70,6 @@ export const waitingroom_enabled_origin_commands: JsonSchema = { "type": "array" }; -/** - * The schema of `waitingroom_host`. - */ -export const waitingroom_host: JsonSchema = { - "description": "The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique.", - "type": "string" -}; - -/** - * The schema of `waitingroom_identifier`. - */ -export const waitingroom_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `waitingroom_json_response_enabled`. - */ -export const waitingroom_json_response_enabled: JsonSchema = { - "description": "Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with information on the user's status in the waiting room as opposed to the configured static HTML page. This JSON response object has one property `cfWaitingRoom` which is an object containing the following fields:\n1. `inWaitingRoom`: Boolean indicating if the user is in the waiting room (always **true**).\n2. `waitTimeKnown`: Boolean indicating if the current estimated wait times are accurate. If **false**, they are not available.\n3. `waitTime`: Valid only when `waitTimeKnown` is **true**. Integer indicating the current estimated time in minutes the user will wait in the waiting room. When `queueingMethod` is **random**, this is set to `waitTime50Percentile`.\n4. `waitTime25Percentile`: Valid only when `queueingMethod` is **random** and `waitTimeKnown` is **true**. Integer indicating the current estimated maximum wait time for the 25% of users that gain entry the fastest (25th percentile).\n5. `waitTime50Percentile`: Valid only when `queueingMethod` is **random** and `waitTimeKnown` is **true**. Integer indicating the current estimated maximum wait time for the 50% of users that gain entry the fastest (50th percentile). In other words, half of the queued users are expected to let into the origin website before `waitTime50Percentile` and half are expected to be let in after it.\n6. `waitTime75Percentile`: Valid only when `queueingMethod` is **random** and `waitTimeKnown` is **true**. Integer indicating the current estimated maximum wait time for the 75% of users that gain entry the fastest (75th percentile).\n7. `waitTimeFormatted`: String displaying the `waitTime` formatted in English for users. If `waitTimeKnown` is **false**, `waitTimeFormatted` will display **unavailable**.\n8. `queueIsFull`: Boolean indicating if the waiting room's queue is currently full and not accepting new users at the moment.\n9. `queueAll`: Boolean indicating if all users will be queued in the waiting room and no one will be let into the origin website.\n10. `lastUpdated`: String displaying the timestamp as an ISO 8601 string of the user's last attempt to leave the waiting room and be let into the origin website. The user is able to make another attempt after `refreshIntervalSeconds` past this time. If the user makes a request too soon, it will be ignored and `lastUpdated` will not change.\n11. `refreshIntervalSeconds`: Integer indicating the number of seconds after `lastUpdated` until the user is able to make another attempt to leave the waiting room and be let into the origin website. When the `queueingMethod` is `reject`, there is no specified refresh time —\\_it will always be **zero**.\n12. `queueingMethod`: The queueing method currently used by the waiting room. It is either **fifo**, **random**, **passthrough**, or **reject**.\n13. `isFIFOQueue`: Boolean indicating if the waiting room uses a FIFO (First-In-First-Out) queue.\n14. `isRandomQueue`: Boolean indicating if the waiting room uses a Random queue where users gain access randomly.\n15. `isPassthroughQueue`: Boolean indicating if the waiting room uses a passthrough queue. Keep in mind that when passthrough is enabled, this JSON response will only exist when `queueAll` is **true** or `isEventPrequeueing` is **true** because in all other cases requests will go directly to the origin.\n16. `isRejectQueue`: Boolean indicating if the waiting room uses a reject queue.\n17. `isEventActive`: Boolean indicating if an event is currently occurring. Events are able to change a waiting room's behavior during a specified period of time. For additional information, look at the event properties `prequeue_start_time`, `event_start_time`, and `event_end_time` in the documentation for creating waiting room events. Events are considered active between these start and end times, as well as during the prequeueing period if it exists.\n18. `isEventPrequeueing`: Valid only when `isEventActive` is **true**. Boolean indicating if an event is currently prequeueing users before it starts.\n19. `timeUntilEventStart`: Valid only when `isEventPrequeueing` is **true**. Integer indicating the number of minutes until the event starts.\n20. `timeUntilEventStartFormatted`: String displaying the `timeUntilEventStart` formatted in English for users. If `isEventPrequeueing` is **false**, `timeUntilEventStartFormatted` will display **unavailable**.\n21. `timeUntilEventEnd`: Valid only when `isEventActive` is **true**. Integer indicating the number of minutes until the event ends.\n22. `timeUntilEventEndFormatted`: String displaying the `timeUntilEventEnd` formatted in English for users. If `isEventActive` is **false**, `timeUntilEventEndFormatted` will display **unavailable**.\n23. `shuffleAtEventStart`: Valid only when `isEventActive` is **true**. Boolean indicating if the users in the prequeue are shuffled randomly when the event starts.\n24. `turnstile`: Empty when turnstile isn't enabled. String displaying an html tag to display the Turnstile widget. Please add the `{{{turnstile}}}` tag to the `custom_html` template to ensure the Turnstile widget appears.\n25. `infiniteQueue`: Boolean indicating whether the response is for a user in the infinite queue.\n\nAn example cURL to a waiting room could be:\n\n\tcurl -X GET \"https://example.com/waitingroom\" \\\n\t\t-H \"Accept: application/json\"\n\nIf `json_response_enabled` is **true** and the request hits the waiting room, an example JSON response when `queueingMethod` is **fifo** and no event is active could be:\n\n\t{\n\t\t\"cfWaitingRoom\": {\n\t\t\t\"inWaitingRoom\": true,\n\t\t\t\"waitTimeKnown\": true,\n\t\t\t\"waitTime\": 10,\n\t\t\t\"waitTime25Percentile\": 0,\n\t\t\t\"waitTime50Percentile\": 0,\n\t\t\t\"waitTime75Percentile\": 0,\n\t\t\t\"waitTimeFormatted\": \"10 minutes\",\n\t\t\t\"queueIsFull\": false,\n\t\t\t\"queueAll\": false,\n\t\t\t\"lastUpdated\": \"2020-08-03T23:46:00.000Z\",\n\t\t\t\"refreshIntervalSeconds\": 20,\n\t\t\t\"queueingMethod\": \"fifo\",\n\t\t\t\"isFIFOQueue\": true,\n\t\t\t\"isRandomQueue\": false,\n\t\t\t\"isPassthroughQueue\": false,\n\t\t\t\"isRejectQueue\": false,\n\t\t\t\"isEventActive\": false,\n\t\t\t\"isEventPrequeueing\": false,\n\t\t\t\"timeUntilEventStart\": 0,\n\t\t\t\"timeUntilEventStartFormatted\": \"unavailable\",\n\t\t\t\"timeUntilEventEnd\": 0,\n\t\t\t\"timeUntilEventEndFormatted\": \"unavailable\",\n\t\t\t\"shuffleAtEventStart\": false\n\t\t}\n\t}\n\nIf `json_response_enabled` is **true** and the request hits the waiting room, an example JSON response when `queueingMethod` is **random** and an event is active could be:\n\n\t{\n\t\t\"cfWaitingRoom\": {\n\t\t\t\"inWaitingRoom\": true,\n\t\t\t\"waitTimeKnown\": true,\n\t\t\t\"waitTime\": 10,\n\t\t\t\"waitTime25Percentile\": 5,\n\t\t\t\"waitTime50Percentile\": 10,\n\t\t\t\"waitTime75Percentile\": 15,\n\t\t\t\"waitTimeFormatted\": \"5 minutes to 15 minutes\",\n\t\t\t\"queueIsFull\": false,\n\t\t\t\"queueAll\": false,\n\t\t\t\"lastUpdated\": \"2020-08-03T23:46:00.000Z\",\n\t\t\t\"refreshIntervalSeconds\": 20,\n\t\t\t\"queueingMethod\": \"random\",\n\t\t\t\"isFIFOQueue\": false,\n\t\t\t\"isRandomQueue\": true,\n\t\t\t\"isPassthroughQueue\": false,\n\t\t\t\"isRejectQueue\": false,\n\t\t\t\"isEventActive\": true,\n\t\t\t\"isEventPrequeueing\": false,\n\t\t\t\"timeUntilEventStart\": 0,\n\t\t\t\"timeUntilEventStartFormatted\": \"unavailable\",\n\t\t\t\"timeUntilEventEnd\": 15,\n\t\t\t\"timeUntilEventEndFormatted\": \"15 minutes\",\n\t\t\t\"shuffleAtEventStart\": true\n\t\t}\n\t}", - "type": "boolean" -}; - -/** - * The schema of `waitingroom_name`. - */ -export const waitingroom_name: JsonSchema = { - "description": "A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed.", - "type": "string" -}; - -/** - * The schema of `waitingroom_new_users_per_minute`. - */ -export const waitingroom_new_users_per_minute: JsonSchema = { - "description": "Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there is a little more or little less traffic coming to the route based on the traffic patterns at that time around the world.", - "type": "integer" -}; - -/** - * The schema of `waitingroom_path`. - */ -export const waitingroom_path: JsonSchema = { - "description": "Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room for the most specific path will be chosen. Wildcards and query parameters are not supported.", - "type": "string" -}; - /** * The schema of `waitingroom_query_waitingroom`. */ @@ -213,29 +84,70 @@ export const waitingroom_query_waitingroom: JsonSchema = { "description": "Configures cookie attributes for the waiting room cookie. This encrypted cookie stores a user's status in the waiting room, such as queue position." }, "cookie_suffix": { - "$ref": "#/$defs/waitingroom_cookie_suffix", "default": "", - "description": "Appends a '_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name(__cf_waitingroom). If `cookie_suffix` is \"abcd\", the cookie name will be `__cf_waitingroom_abcd`. This field is required if using `additional_routes`." + "description": "Appends a '_' + a custom suffix to the end of Cloudflare Waiting Room's cookie name(__cf_waitingroom). If `cookie_suffix` is \"abcd\", the cookie name will be `__cf_waitingroom_abcd`. This field is required if using `additional_routes`.", + "type": "string" }, "custom_page_html": { - "$ref": "#/$defs/waitingroom_custom_page_html", "default": "", - "description": "Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will be used. The template is based on mustache ( https://mustache.github.io/ ). There are several variables that are evaluated by the Cloudflare edge:\n1. {{`waitTimeKnown`}} Acts like a boolean value that indicates the behavior to take when wait time is not available, for instance when queue_all is **true**.\n2. {{`waitTimeFormatted`}} Estimated wait time for the user. For example, five minutes. Alternatively, you can use:\n3. {{`waitTime`}} Number of minutes of estimated wait for a user.\n4. {{`waitTimeHours`}} Number of hours of estimated wait for a user (`Math.floor(waitTime/60)`).\n5. {{`waitTimeHourMinutes`}} Number of minutes above the `waitTimeHours` value (`waitTime%60`).\n6. {{`queueIsFull`}} Changes to **true** when no more people can be added to the queue.\n\nTo view the full list of variables, look at the `cfWaitingRoom` object described under the `json_response_enabled` property in other Waiting Room API calls." + "description": "Only available for the Waiting Room Advanced subscription. This is a template html file that will be rendered at the edge. If no custom_page_html is provided, the default waiting room will be used. The template is based on mustache ( https://mustache.github.io/ ). There are several variables that are evaluated by the Cloudflare edge:\n1. {{`waitTimeKnown`}} Acts like a boolean value that indicates the behavior to take when wait time is not available, for instance when queue_all is **true**.\n2. {{`waitTimeFormatted`}} Estimated wait time for the user. For example, five minutes. Alternatively, you can use:\n3. {{`waitTime`}} Number of minutes of estimated wait for a user.\n4. {{`waitTimeHours`}} Number of hours of estimated wait for a user (`Math.floor(waitTime/60)`).\n5. {{`waitTimeHourMinutes`}} Number of minutes above the `waitTimeHours` value (`waitTime%60`).\n6. {{`queueIsFull`}} Changes to **true** when no more people can be added to the queue.\n\nTo view the full list of variables, look at the `cfWaitingRoom` object described under the `json_response_enabled` property in other Waiting Room API calls.", + "type": "string" }, "default_template_language": { - "$ref": "#/$defs/waitingroom_default_template_language", "default": "en-US", - "description": "The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used." + "description": "The language of the default page template. If no default_template_language is provided, then `en-US` (English) will be used.", + "enum": [ + "en-US", + "es-ES", + "de-DE", + "fr-FR", + "it-IT", + "ja-JP", + "ko-KR", + "pt-BR", + "zh-CN", + "zh-TW", + "nl-NL", + "pl-PL", + "id-ID", + "tr-TR", + "ar-EG", + "ru-RU", + "fa-IR", + "bg-BG", + "hr-HR", + "cs-CZ", + "da-DK", + "fi-FI", + "lt-LT", + "lv-LV", + "ms-MY", + "nb-NO", + "ro-RO", + "el-GR", + "he-IL", + "hi-IN", + "hu-HU", + "sr-BA", + "sk-SK", + "sl-SI", + "sv-SE", + "tl-PH", + "th-TH", + "uk-UA", + "vi-VN" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/waitingroom_description", "default": "", - "description": "A note that you can use to add more details about the waiting room." + "description": "A note that you can use to add more details about the waiting room.", + "type": "string" }, "disable_session_renewal": { - "$ref": "#/$defs/waitingroom_disable_session_renewal", "default": false, - "description": "Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. After that, they will have to go through the waiting room again. If `false`, a user's session cookie will be automatically renewed on every request." + "description": "Only available for the Waiting Room Advanced subscription. Disables automatic renewal of session cookies. If `true`, an accepted user will have session_duration minutes to browse the site. After that, they will have to go through the waiting room again. If `false`, a user's session cookie will be automatically renewed on every request.", + "type": "boolean" }, "enabled_origin_commands": { "$ref": "#/$defs/waitingroom_enabled_origin_commands", @@ -243,65 +155,86 @@ export const waitingroom_query_waitingroom: JsonSchema = { "description": "A list of enabled origin commands." }, "host": { - "$ref": "#/$defs/waitingroom_host", - "description": "The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique." + "description": "The host name to which the waiting room will be applied (no wildcards). Please do not include the scheme (http:// or https://). The host and path combination must be unique.", + "type": "string" }, "json_response_enabled": { - "$ref": "#/$defs/waitingroom_json_response_enabled", "default": false, - "description": "Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with information on the user's status in the waiting room as opposed to the configured static HTML page. This JSON response object has one property `cfWaitingRoom` which is an object containing the following fields:\n1. `inWaitingRoom`: Boolean indicating if the user is in the waiting room (always **true**).\n2. `waitTimeKnown`: Boolean indicating if the current estimated wait times are accurate. If **false**, they are not available.\n3. `waitTime`: Valid only when `waitTimeKnown` is **true**. Integer indicating the current estimated time in minutes the user will wait in the waiting room. When `queueingMethod` is **random**, this is set to `waitTime50Percentile`.\n4. `waitTime25Percentile`: Valid only when `queueingMethod` is **random** and `waitTimeKnown` is **true**. Integer indicating the current estimated maximum wait time for the 25% of users that gain entry the fastest (25th percentile).\n5. `waitTime50Percentile`: Valid only when `queueingMethod` is **random** and `waitTimeKnown` is **true**. Integer indicating the current estimated maximum wait time for the 50% of users that gain entry the fastest (50th percentile). In other words, half of the queued users are expected to let into the origin website before `waitTime50Percentile` and half are expected to be let in after it.\n6. `waitTime75Percentile`: Valid only when `queueingMethod` is **random** and `waitTimeKnown` is **true**. Integer indicating the current estimated maximum wait time for the 75% of users that gain entry the fastest (75th percentile).\n7. `waitTimeFormatted`: String displaying the `waitTime` formatted in English for users. If `waitTimeKnown` is **false**, `waitTimeFormatted` will display **unavailable**.\n8. `queueIsFull`: Boolean indicating if the waiting room's queue is currently full and not accepting new users at the moment.\n9. `queueAll`: Boolean indicating if all users will be queued in the waiting room and no one will be let into the origin website.\n10. `lastUpdated`: String displaying the timestamp as an ISO 8601 string of the user's last attempt to leave the waiting room and be let into the origin website. The user is able to make another attempt after `refreshIntervalSeconds` past this time. If the user makes a request too soon, it will be ignored and `lastUpdated` will not change.\n11. `refreshIntervalSeconds`: Integer indicating the number of seconds after `lastUpdated` until the user is able to make another attempt to leave the waiting room and be let into the origin website. When the `queueingMethod` is `reject`, there is no specified refresh time —\\_it will always be **zero**.\n12. `queueingMethod`: The queueing method currently used by the waiting room. It is either **fifo**, **random**, **passthrough**, or **reject**.\n13. `isFIFOQueue`: Boolean indicating if the waiting room uses a FIFO (First-In-First-Out) queue.\n14. `isRandomQueue`: Boolean indicating if the waiting room uses a Random queue where users gain access randomly.\n15. `isPassthroughQueue`: Boolean indicating if the waiting room uses a passthrough queue. Keep in mind that when passthrough is enabled, this JSON response will only exist when `queueAll` is **true** or `isEventPrequeueing` is **true** because in all other cases requests will go directly to the origin.\n16. `isRejectQueue`: Boolean indicating if the waiting room uses a reject queue.\n17. `isEventActive`: Boolean indicating if an event is currently occurring. Events are able to change a waiting room's behavior during a specified period of time. For additional information, look at the event properties `prequeue_start_time`, `event_start_time`, and `event_end_time` in the documentation for creating waiting room events. Events are considered active between these start and end times, as well as during the prequeueing period if it exists.\n18. `isEventPrequeueing`: Valid only when `isEventActive` is **true**. Boolean indicating if an event is currently prequeueing users before it starts.\n19. `timeUntilEventStart`: Valid only when `isEventPrequeueing` is **true**. Integer indicating the number of minutes until the event starts.\n20. `timeUntilEventStartFormatted`: String displaying the `timeUntilEventStart` formatted in English for users. If `isEventPrequeueing` is **false**, `timeUntilEventStartFormatted` will display **unavailable**.\n21. `timeUntilEventEnd`: Valid only when `isEventActive` is **true**. Integer indicating the number of minutes until the event ends.\n22. `timeUntilEventEndFormatted`: String displaying the `timeUntilEventEnd` formatted in English for users. If `isEventActive` is **false**, `timeUntilEventEndFormatted` will display **unavailable**.\n23. `shuffleAtEventStart`: Valid only when `isEventActive` is **true**. Boolean indicating if the users in the prequeue are shuffled randomly when the event starts.\n24. `turnstile`: Empty when turnstile isn't enabled. String displaying an html tag to display the Turnstile widget. Please add the `{{{turnstile}}}` tag to the `custom_html` template to ensure the Turnstile widget appears.\n25. `infiniteQueue`: Boolean indicating whether the response is for a user in the infinite queue.\n\nAn example cURL to a waiting room could be:\n\n\tcurl -X GET \"https://example.com/waitingroom\" \\\n\t\t-H \"Accept: application/json\"\n\nIf `json_response_enabled` is **true** and the request hits the waiting room, an example JSON response when `queueingMethod` is **fifo** and no event is active could be:\n\n\t{\n\t\t\"cfWaitingRoom\": {\n\t\t\t\"inWaitingRoom\": true,\n\t\t\t\"waitTimeKnown\": true,\n\t\t\t\"waitTime\": 10,\n\t\t\t\"waitTime25Percentile\": 0,\n\t\t\t\"waitTime50Percentile\": 0,\n\t\t\t\"waitTime75Percentile\": 0,\n\t\t\t\"waitTimeFormatted\": \"10 minutes\",\n\t\t\t\"queueIsFull\": false,\n\t\t\t\"queueAll\": false,\n\t\t\t\"lastUpdated\": \"2020-08-03T23:46:00.000Z\",\n\t\t\t\"refreshIntervalSeconds\": 20,\n\t\t\t\"queueingMethod\": \"fifo\",\n\t\t\t\"isFIFOQueue\": true,\n\t\t\t\"isRandomQueue\": false,\n\t\t\t\"isPassthroughQueue\": false,\n\t\t\t\"isRejectQueue\": false,\n\t\t\t\"isEventActive\": false,\n\t\t\t\"isEventPrequeueing\": false,\n\t\t\t\"timeUntilEventStart\": 0,\n\t\t\t\"timeUntilEventStartFormatted\": \"unavailable\",\n\t\t\t\"timeUntilEventEnd\": 0,\n\t\t\t\"timeUntilEventEndFormatted\": \"unavailable\",\n\t\t\t\"shuffleAtEventStart\": false\n\t\t}\n\t}\n\nIf `json_response_enabled` is **true** and the request hits the waiting room, an example JSON response when `queueingMethod` is **random** and an event is active could be:\n\n\t{\n\t\t\"cfWaitingRoom\": {\n\t\t\t\"inWaitingRoom\": true,\n\t\t\t\"waitTimeKnown\": true,\n\t\t\t\"waitTime\": 10,\n\t\t\t\"waitTime25Percentile\": 5,\n\t\t\t\"waitTime50Percentile\": 10,\n\t\t\t\"waitTime75Percentile\": 15,\n\t\t\t\"waitTimeFormatted\": \"5 minutes to 15 minutes\",\n\t\t\t\"queueIsFull\": false,\n\t\t\t\"queueAll\": false,\n\t\t\t\"lastUpdated\": \"2020-08-03T23:46:00.000Z\",\n\t\t\t\"refreshIntervalSeconds\": 20,\n\t\t\t\"queueingMethod\": \"random\",\n\t\t\t\"isFIFOQueue\": false,\n\t\t\t\"isRandomQueue\": true,\n\t\t\t\"isPassthroughQueue\": false,\n\t\t\t\"isRejectQueue\": false,\n\t\t\t\"isEventActive\": true,\n\t\t\t\"isEventPrequeueing\": false,\n\t\t\t\"timeUntilEventStart\": 0,\n\t\t\t\"timeUntilEventStartFormatted\": \"unavailable\",\n\t\t\t\"timeUntilEventEnd\": 15,\n\t\t\t\"timeUntilEventEndFormatted\": \"15 minutes\",\n\t\t\t\"shuffleAtEventStart\": true\n\t\t}\n\t}" + "description": "Only available for the Waiting Room Advanced subscription. If `true`, requests to the waiting room with the header `Accept: application/json` will receive a JSON response object with information on the user's status in the waiting room as opposed to the configured static HTML page. This JSON response object has one property `cfWaitingRoom` which is an object containing the following fields:\n1. `inWaitingRoom`: Boolean indicating if the user is in the waiting room (always **true**).\n2. `waitTimeKnown`: Boolean indicating if the current estimated wait times are accurate. If **false**, they are not available.\n3. `waitTime`: Valid only when `waitTimeKnown` is **true**. Integer indicating the current estimated time in minutes the user will wait in the waiting room. When `queueingMethod` is **random**, this is set to `waitTime50Percentile`.\n4. `waitTime25Percentile`: Valid only when `queueingMethod` is **random** and `waitTimeKnown` is **true**. Integer indicating the current estimated maximum wait time for the 25% of users that gain entry the fastest (25th percentile).\n5. `waitTime50Percentile`: Valid only when `queueingMethod` is **random** and `waitTimeKnown` is **true**. Integer indicating the current estimated maximum wait time for the 50% of users that gain entry the fastest (50th percentile). In other words, half of the queued users are expected to let into the origin website before `waitTime50Percentile` and half are expected to be let in after it.\n6. `waitTime75Percentile`: Valid only when `queueingMethod` is **random** and `waitTimeKnown` is **true**. Integer indicating the current estimated maximum wait time for the 75% of users that gain entry the fastest (75th percentile).\n7. `waitTimeFormatted`: String displaying the `waitTime` formatted in English for users. If `waitTimeKnown` is **false**, `waitTimeFormatted` will display **unavailable**.\n8. `queueIsFull`: Boolean indicating if the waiting room's queue is currently full and not accepting new users at the moment.\n9. `queueAll`: Boolean indicating if all users will be queued in the waiting room and no one will be let into the origin website.\n10. `lastUpdated`: String displaying the timestamp as an ISO 8601 string of the user's last attempt to leave the waiting room and be let into the origin website. The user is able to make another attempt after `refreshIntervalSeconds` past this time. If the user makes a request too soon, it will be ignored and `lastUpdated` will not change.\n11. `refreshIntervalSeconds`: Integer indicating the number of seconds after `lastUpdated` until the user is able to make another attempt to leave the waiting room and be let into the origin website. When the `queueingMethod` is `reject`, there is no specified refresh time —\\_it will always be **zero**.\n12. `queueingMethod`: The queueing method currently used by the waiting room. It is either **fifo**, **random**, **passthrough**, or **reject**.\n13. `isFIFOQueue`: Boolean indicating if the waiting room uses a FIFO (First-In-First-Out) queue.\n14. `isRandomQueue`: Boolean indicating if the waiting room uses a Random queue where users gain access randomly.\n15. `isPassthroughQueue`: Boolean indicating if the waiting room uses a passthrough queue. Keep in mind that when passthrough is enabled, this JSON response will only exist when `queueAll` is **true** or `isEventPrequeueing` is **true** because in all other cases requests will go directly to the origin.\n16. `isRejectQueue`: Boolean indicating if the waiting room uses a reject queue.\n17. `isEventActive`: Boolean indicating if an event is currently occurring. Events are able to change a waiting room's behavior during a specified period of time. For additional information, look at the event properties `prequeue_start_time`, `event_start_time`, and `event_end_time` in the documentation for creating waiting room events. Events are considered active between these start and end times, as well as during the prequeueing period if it exists.\n18. `isEventPrequeueing`: Valid only when `isEventActive` is **true**. Boolean indicating if an event is currently prequeueing users before it starts.\n19. `timeUntilEventStart`: Valid only when `isEventPrequeueing` is **true**. Integer indicating the number of minutes until the event starts.\n20. `timeUntilEventStartFormatted`: String displaying the `timeUntilEventStart` formatted in English for users. If `isEventPrequeueing` is **false**, `timeUntilEventStartFormatted` will display **unavailable**.\n21. `timeUntilEventEnd`: Valid only when `isEventActive` is **true**. Integer indicating the number of minutes until the event ends.\n22. `timeUntilEventEndFormatted`: String displaying the `timeUntilEventEnd` formatted in English for users. If `isEventActive` is **false**, `timeUntilEventEndFormatted` will display **unavailable**.\n23. `shuffleAtEventStart`: Valid only when `isEventActive` is **true**. Boolean indicating if the users in the prequeue are shuffled randomly when the event starts.\n24. `turnstile`: Empty when turnstile isn't enabled. String displaying an html tag to display the Turnstile widget. Please add the `{{{turnstile}}}` tag to the `custom_html` template to ensure the Turnstile widget appears.\n25. `infiniteQueue`: Boolean indicating whether the response is for a user in the infinite queue.\n\nAn example cURL to a waiting room could be:\n\n\tcurl -X GET \"https://example.com/waitingroom\" \\\n\t\t-H \"Accept: application/json\"\n\nIf `json_response_enabled` is **true** and the request hits the waiting room, an example JSON response when `queueingMethod` is **fifo** and no event is active could be:\n\n\t{\n\t\t\"cfWaitingRoom\": {\n\t\t\t\"inWaitingRoom\": true,\n\t\t\t\"waitTimeKnown\": true,\n\t\t\t\"waitTime\": 10,\n\t\t\t\"waitTime25Percentile\": 0,\n\t\t\t\"waitTime50Percentile\": 0,\n\t\t\t\"waitTime75Percentile\": 0,\n\t\t\t\"waitTimeFormatted\": \"10 minutes\",\n\t\t\t\"queueIsFull\": false,\n\t\t\t\"queueAll\": false,\n\t\t\t\"lastUpdated\": \"2020-08-03T23:46:00.000Z\",\n\t\t\t\"refreshIntervalSeconds\": 20,\n\t\t\t\"queueingMethod\": \"fifo\",\n\t\t\t\"isFIFOQueue\": true,\n\t\t\t\"isRandomQueue\": false,\n\t\t\t\"isPassthroughQueue\": false,\n\t\t\t\"isRejectQueue\": false,\n\t\t\t\"isEventActive\": false,\n\t\t\t\"isEventPrequeueing\": false,\n\t\t\t\"timeUntilEventStart\": 0,\n\t\t\t\"timeUntilEventStartFormatted\": \"unavailable\",\n\t\t\t\"timeUntilEventEnd\": 0,\n\t\t\t\"timeUntilEventEndFormatted\": \"unavailable\",\n\t\t\t\"shuffleAtEventStart\": false\n\t\t}\n\t}\n\nIf `json_response_enabled` is **true** and the request hits the waiting room, an example JSON response when `queueingMethod` is **random** and an event is active could be:\n\n\t{\n\t\t\"cfWaitingRoom\": {\n\t\t\t\"inWaitingRoom\": true,\n\t\t\t\"waitTimeKnown\": true,\n\t\t\t\"waitTime\": 10,\n\t\t\t\"waitTime25Percentile\": 5,\n\t\t\t\"waitTime50Percentile\": 10,\n\t\t\t\"waitTime75Percentile\": 15,\n\t\t\t\"waitTimeFormatted\": \"5 minutes to 15 minutes\",\n\t\t\t\"queueIsFull\": false,\n\t\t\t\"queueAll\": false,\n\t\t\t\"lastUpdated\": \"2020-08-03T23:46:00.000Z\",\n\t\t\t\"refreshIntervalSeconds\": 20,\n\t\t\t\"queueingMethod\": \"random\",\n\t\t\t\"isFIFOQueue\": false,\n\t\t\t\"isRandomQueue\": true,\n\t\t\t\"isPassthroughQueue\": false,\n\t\t\t\"isRejectQueue\": false,\n\t\t\t\"isEventActive\": true,\n\t\t\t\"isEventPrequeueing\": false,\n\t\t\t\"timeUntilEventStart\": 0,\n\t\t\t\"timeUntilEventStartFormatted\": \"unavailable\",\n\t\t\t\"timeUntilEventEnd\": 15,\n\t\t\t\"timeUntilEventEndFormatted\": \"15 minutes\",\n\t\t\t\"shuffleAtEventStart\": true\n\t\t}\n\t}", + "type": "boolean" }, "name": { - "$ref": "#/$defs/waitingroom_name", - "description": "A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed." + "description": "A unique name to identify the waiting room. Only alphanumeric characters, hyphens and underscores are allowed.", + "type": "string" }, "new_users_per_minute": { - "$ref": "#/$defs/waitingroom_new_users_per_minute", - "description": "Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there is a little more or little less traffic coming to the route based on the traffic patterns at that time around the world." + "description": "Sets the number of new users that will be let into the route every minute. This value is used as baseline for the number of users that are let in per minute. So it is possible that there is a little more or little less traffic coming to the route based on the traffic patterns at that time around the world.", + "type": "integer" }, "path": { - "$ref": "#/$defs/waitingroom_path", "default": "/", - "description": "Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room for the most specific path will be chosen. Wildcards and query parameters are not supported." + "description": "Sets the path within the host to enable the waiting room on. The waiting room will be enabled for all subpaths as well. If there are two waiting rooms on the same subpath, the waiting room for the most specific path will be chosen. Wildcards and query parameters are not supported.", + "type": "string" }, "queue_all": { - "$ref": "#/$defs/waitingroom_queue_all", "default": false, - "description": "If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will become unavailable." + "description": "If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will become unavailable.", + "type": "boolean" }, "queueing_method": { - "$ref": "#/$defs/waitingroom_queueing_method", "default": "fifo", - "description": "Sets the queueing method used by the waiting room. Changing this parameter from the **default** queueing method is only available for the Waiting Room Advanced subscription. Regardless of the queueing method, if `queue_all` is enabled or an event is prequeueing, users in the waiting room will not be accepted to the origin. These users will always see a waiting room page that refreshes automatically. The valid queueing methods are:\n1. `fifo` **(default)**: First-In-First-Out queue where customers gain access in the order they arrived.\n2. `random`: Random queue where customers gain access randomly, regardless of arrival time.\n3. `passthrough`: Users will pass directly through the waiting room and into the origin website. As a result, any configured limits will not be respected while this is enabled. This method can be used as an alternative to disabling a waiting room (with `suspended`) so that analytics are still reported. This can be used if you wish to allow all traffic normally, but want to restrict traffic during a waiting room event, or vice versa.\n4. `reject`: Users will be immediately rejected from the waiting room. As a result, no users will reach the origin website while this is enabled. This can be used if you wish to reject all traffic while performing maintenance, block traffic during a specified period of time (an event), or block traffic while events are not occurring. Consider a waiting room used for vaccine distribution that only allows traffic during sign-up events, and otherwise blocks all traffic. For this case, the waiting room uses `reject`, and its events override this with `fifo`, `random`, or `passthrough`. When this queueing method is enabled and neither `queueAll` is enabled nor an event is prequeueing, the waiting room page **will not refresh automatically**." + "description": "Sets the queueing method used by the waiting room. Changing this parameter from the **default** queueing method is only available for the Waiting Room Advanced subscription. Regardless of the queueing method, if `queue_all` is enabled or an event is prequeueing, users in the waiting room will not be accepted to the origin. These users will always see a waiting room page that refreshes automatically. The valid queueing methods are:\n1. `fifo` **(default)**: First-In-First-Out queue where customers gain access in the order they arrived.\n2. `random`: Random queue where customers gain access randomly, regardless of arrival time.\n3. `passthrough`: Users will pass directly through the waiting room and into the origin website. As a result, any configured limits will not be respected while this is enabled. This method can be used as an alternative to disabling a waiting room (with `suspended`) so that analytics are still reported. This can be used if you wish to allow all traffic normally, but want to restrict traffic during a waiting room event, or vice versa.\n4. `reject`: Users will be immediately rejected from the waiting room. As a result, no users will reach the origin website while this is enabled. This can be used if you wish to reject all traffic while performing maintenance, block traffic during a specified period of time (an event), or block traffic while events are not occurring. Consider a waiting room used for vaccine distribution that only allows traffic during sign-up events, and otherwise blocks all traffic. For this case, the waiting room uses `reject`, and its events override this with `fifo`, `random`, or `passthrough`. When this queueing method is enabled and neither `queueAll` is enabled nor an event is prequeueing, the waiting room page **will not refresh automatically**.", + "enum": [ + "fifo", + "random", + "passthrough", + "reject" + ], + "type": "string" }, "queueing_status_code": { - "$ref": "#/$defs/waitingroom_queueing_status_code", "default": 200, - "description": "HTTP status code returned to a user while in the queue." + "description": "HTTP status code returned to a user while in the queue.", + "enum": [ + 200, + 202, + 429 + ], + "type": "integer" }, "session_duration": { - "$ref": "#/$defs/waitingroom_session_duration", "default": 5, - "description": "Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user that visits the route." + "description": "Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user that visits the route.", + "type": "integer" }, "suspended": { - "$ref": "#/$defs/waitingroom_suspended", "default": false, - "description": "Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room." + "description": "Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room.", + "type": "boolean" }, "total_active_users": { - "$ref": "#/$defs/waitingroom_total_active_users", - "description": "Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a baseline for the total number of active user sessions on the route. It is possible to have a situation where there are more or less active users sessions on the route based on the traffic patterns at that time around the world." + "description": "Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a baseline for the total number of active user sessions on the route. It is possible to have a situation where there are more or less active users sessions on the route based on the traffic patterns at that time around the world.", + "type": "integer" }, "turnstile_action": { - "$ref": "#/$defs/waitingroom_turnstile_action", "default": "log", - "description": "Which action to take when a bot is detected using Turnstile. `log` will\nhave no impact on queueing behavior, simply keeping track of how many\nbots are detected in Waiting Room Analytics. `infinite_queue` will send\nbots to a false queueing state, where they will never reach your\norigin. `infinite_queue` requires Advanced Waiting Room.\n" + "description": "Which action to take when a bot is detected using Turnstile. `log` will\nhave no impact on queueing behavior, simply keeping track of how many\nbots are detected in Waiting Room Analytics. `infinite_queue` will send\nbots to a false queueing state, where they will never reach your\norigin. `infinite_queue` requires Advanced Waiting Room.", + "enum": [ + "log", + "infinite_queue" + ], + "type": "string" }, "turnstile_mode": { - "$ref": "#/$defs/waitingroom_turnstile_mode", "default": "invisible", - "description": "Which Turnstile widget type to use for detecting bot traffic. See\n[the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types)\nfor the definitions of these widget types. Set to `off` to disable the\nTurnstile integration entirely. Setting this to anything other than\n`off` or `invisible` requires Advanced Waiting Room.\n" + "description": "Which Turnstile widget type to use for detecting bot traffic. See\n[the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types)\nfor the definitions of these widget types. Set to `off` to disable the\nTurnstile integration entirely. Setting this to anything other than\n`off` or `invisible` requires Advanced Waiting Room.", + "enum": [ + "off", + "invisible", + "visible_non_interactive", + "visible_managed" + ], + "type": "string" } }, "required": [ @@ -312,95 +245,3 @@ export const waitingroom_query_waitingroom: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `waitingroom_queue_all`. - */ -export const waitingroom_queue_all: JsonSchema = { - "description": "If queue_all is `true`, all the traffic that is coming to a route will be sent to the waiting room. No new traffic can get to the route once this field is set and estimated time will become unavailable.", - "type": "boolean" -}; - -/** - * The schema of `waitingroom_queueing_method`. - */ -export const waitingroom_queueing_method: JsonSchema = { - "description": "Sets the queueing method used by the waiting room. Changing this parameter from the **default** queueing method is only available for the Waiting Room Advanced subscription. Regardless of the queueing method, if `queue_all` is enabled or an event is prequeueing, users in the waiting room will not be accepted to the origin. These users will always see a waiting room page that refreshes automatically. The valid queueing methods are:\n1. `fifo` **(default)**: First-In-First-Out queue where customers gain access in the order they arrived.\n2. `random`: Random queue where customers gain access randomly, regardless of arrival time.\n3. `passthrough`: Users will pass directly through the waiting room and into the origin website. As a result, any configured limits will not be respected while this is enabled. This method can be used as an alternative to disabling a waiting room (with `suspended`) so that analytics are still reported. This can be used if you wish to allow all traffic normally, but want to restrict traffic during a waiting room event, or vice versa.\n4. `reject`: Users will be immediately rejected from the waiting room. As a result, no users will reach the origin website while this is enabled. This can be used if you wish to reject all traffic while performing maintenance, block traffic during a specified period of time (an event), or block traffic while events are not occurring. Consider a waiting room used for vaccine distribution that only allows traffic during sign-up events, and otherwise blocks all traffic. For this case, the waiting room uses `reject`, and its events override this with `fifo`, `random`, or `passthrough`. When this queueing method is enabled and neither `queueAll` is enabled nor an event is prequeueing, the waiting room page **will not refresh automatically**.", - "enum": [ - "fifo", - "random", - "passthrough", - "reject" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_queueing_status_code`. - */ -export const waitingroom_queueing_status_code: JsonSchema = { - "description": "HTTP status code returned to a user while in the queue.", - "enum": [ - 200, - 202, - 429 - ], - "type": "integer" -}; - -/** - * The schema of `waitingroom_session_duration`. - */ -export const waitingroom_session_duration: JsonSchema = { - "description": "Lifetime of a cookie (in minutes) set by Cloudflare for users who get access to the route. If a user is not seen by Cloudflare again in that time period, they will be treated as a new user that visits the route.", - "type": "integer" -}; - -/** - * The schema of `waitingroom_suspended`. - */ -export const waitingroom_suspended: JsonSchema = { - "description": "Suspends or allows traffic going to the waiting room. If set to `true`, the traffic will not go to the waiting room.", - "type": "boolean" -}; - -/** - * The schema of `waitingroom_total_active_users`. - */ -export const waitingroom_total_active_users: JsonSchema = { - "description": "Sets the total number of active user sessions on the route at a point in time. A route is a combination of host and path on which a waiting room is available. This value is used as a baseline for the total number of active user sessions on the route. It is possible to have a situation where there are more or less active users sessions on the route based on the traffic patterns at that time around the world.", - "type": "integer" -}; - -/** - * The schema of `waitingroom_turnstile_action`. - */ -export const waitingroom_turnstile_action: JsonSchema = { - "description": "Which action to take when a bot is detected using Turnstile. `log` will\nhave no impact on queueing behavior, simply keeping track of how many\nbots are detected in Waiting Room Analytics. `infinite_queue` will send\nbots to a false queueing state, where they will never reach your\norigin. `infinite_queue` requires Advanced Waiting Room.\n", - "enum": [ - "log", - "infinite_queue" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_turnstile_mode`. - */ -export const waitingroom_turnstile_mode: JsonSchema = { - "description": "Which Turnstile widget type to use for detecting bot traffic. See\n[the Turnstile documentation](https://developers.cloudflare.com/turnstile/concepts/widget/#widget-types)\nfor the definitions of these widget types. Set to `off` to disable the\nTurnstile integration entirely. Setting this to anything other than\n`off` or `invisible` requires Advanced Waiting Room.\n", - "enum": [ - "off", - "invisible", - "visible_non_interactive", - "visible_managed" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_waiting_room_id`. - */ -export const waitingroom_waiting_room_id: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/waitingRooms/settings/outputs.ts b/src/generated/forge-mcp/waitingRooms/settings/outputs.ts index a892c2b7e..591291e28 100644 --- a/src/generated/forge-mcp/waitingRooms/settings/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/settings/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `waitingroom_search_engine_crawler_bypass` in responses. - */ -export const waitingroom_search_engine_crawler_bypass: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `waitingroom_zone_settings_response` in responses. */ @@ -23,7 +16,7 @@ export const waitingroom_zone_settings_response: JsonSchema = { "result": { "properties": { "search_engine_crawler_bypass": { - "$ref": "#/$defs/waitingroom_search_engine_crawler_bypass" + "type": "boolean" } }, "required": [ diff --git a/src/generated/forge-mcp/waitingRooms/settings/schemas.ts b/src/generated/forge-mcp/waitingRooms/settings/schemas.ts index 3e87f725f..3637cb5cf 100644 --- a/src/generated/forge-mcp/waitingRooms/settings/schemas.ts +++ b/src/generated/forge-mcp/waitingRooms/settings/schemas.ts @@ -3,23 +3,15 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `waitingroom_search_engine_crawler_bypass`. - */ -export const waitingroom_search_engine_crawler_bypass: JsonSchema = { - "description": "Whether to allow verified search engine crawlers to bypass all waiting rooms on this zone.\nVerified search engine crawlers will not be tracked or counted by the waiting room system,\nand will not appear in waiting room analytics.\n", - "type": "boolean" -}; - /** * The schema of `waitingroom_zone_settings`. */ export const waitingroom_zone_settings: JsonSchema = { "properties": { "search_engine_crawler_bypass": { - "$ref": "#/$defs/waitingroom_search_engine_crawler_bypass", "default": false, - "description": "Whether to allow verified search engine crawlers to bypass all waiting rooms on this zone.\nVerified search engine crawlers will not be tracked or counted by the waiting room system,\nand will not appear in waiting room analytics.\n" + "description": "Whether to allow verified search engine crawlers to bypass all waiting rooms on this zone.\nVerified search engine crawlers will not be tracked or counted by the waiting room system,\nand will not appear in waiting room analytics.", + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/waitingRooms/settings/tools.ts b/src/generated/forge-mcp/waitingRooms/settings/tools.ts index 976f21637..3db50ab5e 100644 --- a/src/generated/forge-mcp/waitingRooms/settings/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/settings/tools.ts @@ -8,15 +8,8 @@ import { waitingroom_api$$response$$single, waitingroom_messages, } from "../outputs.js"; -import { waitingroom_identifier } from "../schemas.js"; -import { - waitingroom_search_engine_crawler_bypass, - waitingroom_zone_settings_response, -} from "./outputs.js"; -import { - waitingroom_search_engine_crawler_bypass as waitingroom_search_engine_crawler_bypass$, - waitingroom_zone_settings, -} from "./schemas.js"; +import { waitingroom_zone_settings_response } from "./outputs.js"; +import { waitingroom_zone_settings } from "./schemas.js"; /** * The tools of `waitingRooms.settings`. @@ -25,7 +18,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_settings_edit", title: "Patch zone-level Waiting Room settings", - description: "Patch zone-level Waiting Room settings.", + description: "Patch zone-level Waiting Room settings.\n\nPATCH /zones/{zone_id}/waiting_rooms/settings", inputSchema: { type: "object", properties: { @@ -33,10 +26,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_zone_settings" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -49,9 +43,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass$, "waitingroom_zone_settings": waitingroom_zone_settings, }, }, @@ -61,7 +54,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, @@ -106,7 +98,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, @@ -118,15 +109,16 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_settings_get", title: "Get zone-level Waiting Room settings", - description: "Get zone-level Waiting Room settings.", + description: "Get zone-level Waiting Room settings.\n\nGET /zones/{zone_id}/waiting_rooms/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -138,9 +130,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_identifier": waitingroom_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_zone_settings_response", @@ -148,7 +138,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, @@ -194,7 +183,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, @@ -205,7 +193,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_settings_update", title: "Update zone-level Waiting Room settings", - description: "Replace zone-level Waiting Room settings.", + description: "Replace zone-level Waiting Room settings.\n\nPUT /zones/{zone_id}/waiting_rooms/settings", inputSchema: { type: "object", properties: { @@ -213,10 +201,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_zone_settings" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -229,9 +218,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass$, "waitingroom_zone_settings": waitingroom_zone_settings, }, }, @@ -241,7 +229,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, @@ -286,7 +273,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, - "waitingroom_search_engine_crawler_bypass": waitingroom_search_engine_crawler_bypass, "waitingroom_zone_settings_response": waitingroom_zone_settings_response, }, }, diff --git a/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts b/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts index ebbeceaa1..bd28c0425 100644 --- a/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts +++ b/src/generated/forge-mcp/waitingRooms/statuses/outputs.ts @@ -3,47 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `waitingroom_estimated_queued_users` in responses. - */ -export const waitingroom_estimated_queued_users: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `waitingroom_estimated_total_active_users` in responses. - */ -export const waitingroom_estimated_total_active_users: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `waitingroom_max_estimated_time_minutes` in responses. - */ -export const waitingroom_max_estimated_time_minutes: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `waitingroom_status` in responses. - */ -export const waitingroom_status: JsonSchema = { - "enum": [ - "event_prequeueing", - "not_queueing", - "queueing", - "suspended" - ], - "type": "string" -}; - -/** - * The schema of `waitingroom_status_event_id` in responses. - */ -export const waitingroom_status_event_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `waitingroom_status_response` in responses. */ @@ -57,19 +16,25 @@ export const waitingroom_status_response: JsonSchema = { "result": { "properties": { "estimated_queued_users": { - "$ref": "#/$defs/waitingroom_estimated_queued_users" + "type": "integer" }, "estimated_total_active_users": { - "$ref": "#/$defs/waitingroom_estimated_total_active_users" + "type": "integer" }, "event_id": { - "$ref": "#/$defs/waitingroom_status_event_id" + "type": "string" }, "max_estimated_time_minutes": { - "$ref": "#/$defs/waitingroom_max_estimated_time_minutes" + "type": "integer" }, "status": { - "$ref": "#/$defs/waitingroom_status" + "enum": [ + "event_prequeueing", + "not_queueing", + "queueing", + "suspended" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/waitingRooms/statuses/tools.ts b/src/generated/forge-mcp/waitingRooms/statuses/tools.ts index 4b4728026..c20e10767 100644 --- a/src/generated/forge-mcp/waitingRooms/statuses/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/statuses/tools.ts @@ -8,18 +8,7 @@ import { waitingroom_api$$response$$single, waitingroom_messages, } from "../outputs.js"; -import { - waitingroom_identifier, - waitingroom_waiting_room_id, -} from "../schemas.js"; -import { - waitingroom_estimated_queued_users, - waitingroom_estimated_total_active_users, - waitingroom_max_estimated_time_minutes, - waitingroom_status, - waitingroom_status_event_id, - waitingroom_status_response, -} from "./outputs.js"; +import { waitingroom_status_response } from "./outputs.js"; /** * The tools of `waitingRooms.statuses`. @@ -28,18 +17,19 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_statuses_get", title: "Get waiting room status", - description: "Fetches the status of a configured waiting room. Response fields include:\n1. `status`: String indicating the status of the waiting room. The possible status are:\n\t- **not_queueing** indicates that the configured thresholds have not been met and all users are going through to the origin.\n\t- **queueing** indicates that the thresholds have been met and some users are held in the waiting room.\n\t- **event_prequeueing** indicates that an event is active and is currently prequeueing users before it starts.\n\t- **suspended** indicates that the room is suspended.\n2. `event_id`: String of the current event's `id` if an event is active, otherwise an empty string.\n3. `estimated_queued_users`: Integer of the estimated number of users currently waiting in the queue.\n4. `estimated_total_active_users`: Integer of the estimated number of users currently active on the origin.\n5. `max_estimated_time_minutes`: Integer of the maximum estimated time currently presented to the users.", + description: "Fetches the status of a configured waiting room. Response fields include:\n1. `status`: String indicating the status of the waiting room. The possible status are:\n\t- **not_queueing** indicates that the configured thresholds have not been met and all users are going through to the origin.\n\t- **queueing** indicates that the thresholds have been met and some users are held in the waiting room.\n\t- **event_prequeueing** indicates that an event is active and is currently prequeueing users before it starts.\n\t- **suspended** indicates that the room is suspended.\n2. `event_id`: String of the current event's `id` if an event is active, otherwise an empty string.\n3. `estimated_queued_users`: Integer of the estimated number of users currently waiting in the queue.\n4. `estimated_total_active_users`: Integer of the estimated number of users currently active on the origin.\n5. `max_estimated_time_minutes`: Integer of the maximum estimated time currently presented to the users.\n\nGET /zones/{zone_id}/waiting_rooms/{waiting_room_id}/status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -52,22 +42,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_status_response", $defs: { "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_estimated_queued_users": waitingroom_estimated_queued_users, - "waitingroom_estimated_total_active_users": waitingroom_estimated_total_active_users, - "waitingroom_max_estimated_time_minutes": waitingroom_max_estimated_time_minutes, "waitingroom_messages": waitingroom_messages, - "waitingroom_status": waitingroom_status, - "waitingroom_status_event_id": waitingroom_status_event_id, "waitingroom_status_response": waitingroom_status_response, }, }, @@ -112,12 +94,7 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, - "waitingroom_estimated_queued_users": waitingroom_estimated_queued_users, - "waitingroom_estimated_total_active_users": waitingroom_estimated_total_active_users, - "waitingroom_max_estimated_time_minutes": waitingroom_max_estimated_time_minutes, "waitingroom_messages": waitingroom_messages, - "waitingroom_status": waitingroom_status, - "waitingroom_status_event_id": waitingroom_status_event_id, "waitingroom_status_response": waitingroom_status_response, }, }, diff --git a/src/generated/forge-mcp/waitingRooms/tools.ts b/src/generated/forge-mcp/waitingRooms/tools.ts index 1937f8339..66e6a2524 100644 --- a/src/generated/forge-mcp/waitingRooms/tools.ts +++ b/src/generated/forge-mcp/waitingRooms/tools.ts @@ -8,59 +8,17 @@ import { waitingroom_api$$response$$common$$failure, waitingroom_api$$response$$single, waitingroom_cookie_attributes, - waitingroom_cookie_suffix, - waitingroom_custom_page_html, - waitingroom_default_template_language, - waitingroom_description, - waitingroom_disable_session_renewal, waitingroom_enabled_origin_commands, - waitingroom_host, - waitingroom_json_response_enabled, waitingroom_messages, - waitingroom_name, - waitingroom_new_users_per_minute, - waitingroom_next_event_prequeue_start_time, - waitingroom_next_event_start_time, - waitingroom_path, - waitingroom_queue_all, - waitingroom_queueing_method, - waitingroom_queueing_status_code, - waitingroom_session_duration, waitingroom_single_response, - waitingroom_suspended, - waitingroom_timestamp, - waitingroom_total_active_users, - waitingroom_turnstile_action, - waitingroom_turnstile_mode, - waitingroom_waiting_room_id, waitingroom_waiting_room_id_response, waitingroom_waitingroom, } from "./outputs.js"; import { waitingroom_additional_routes as waitingroom_additional_routes$, waitingroom_cookie_attributes as waitingroom_cookie_attributes$, - waitingroom_cookie_suffix as waitingroom_cookie_suffix$, - waitingroom_custom_page_html as waitingroom_custom_page_html$, - waitingroom_default_template_language as waitingroom_default_template_language$, - waitingroom_description as waitingroom_description$, - waitingroom_disable_session_renewal as waitingroom_disable_session_renewal$, waitingroom_enabled_origin_commands as waitingroom_enabled_origin_commands$, - waitingroom_host as waitingroom_host$, - waitingroom_identifier, - waitingroom_json_response_enabled as waitingroom_json_response_enabled$, - waitingroom_name as waitingroom_name$, - waitingroom_new_users_per_minute as waitingroom_new_users_per_minute$, - waitingroom_path as waitingroom_path$, waitingroom_query_waitingroom, - waitingroom_queue_all as waitingroom_queue_all$, - waitingroom_queueing_method as waitingroom_queueing_method$, - waitingroom_queueing_status_code as waitingroom_queueing_status_code$, - waitingroom_session_duration as waitingroom_session_duration$, - waitingroom_suspended as waitingroom_suspended$, - waitingroom_total_active_users as waitingroom_total_active_users$, - waitingroom_turnstile_action as waitingroom_turnstile_action$, - waitingroom_turnstile_mode as waitingroom_turnstile_mode$, - waitingroom_waiting_room_id as waitingroom_waiting_room_id$, } from "./schemas.js"; /** @@ -70,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_create", title: "Create waiting room", - description: "Creates a new waiting room.", + description: "Creates a new waiting room.\n\nPOST /zones/{zone_id}/waiting_rooms", inputSchema: { type: "object", properties: { @@ -78,10 +36,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_query_waitingroom" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -94,30 +53,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "waitingroom_additional_routes": waitingroom_additional_routes$, "waitingroom_cookie_attributes": waitingroom_cookie_attributes$, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix$, - "waitingroom_custom_page_html": waitingroom_custom_page_html$, - "waitingroom_default_template_language": waitingroom_default_template_language$, - "waitingroom_description": waitingroom_description$, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal$, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands$, - "waitingroom_host": waitingroom_host$, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled$, - "waitingroom_name": waitingroom_name$, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute$, - "waitingroom_path": waitingroom_path$, "waitingroom_query_waitingroom": waitingroom_query_waitingroom, - "waitingroom_queue_all": waitingroom_queue_all$, - "waitingroom_queueing_method": waitingroom_queueing_method$, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code$, - "waitingroom_session_duration": waitingroom_session_duration$, - "waitingroom_suspended": waitingroom_suspended$, - "waitingroom_total_active_users": waitingroom_total_active_users$, - "waitingroom_turnstile_action": waitingroom_turnstile_action$, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode$, }, }, outputSchema: { @@ -127,31 +68,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, - "waitingroom_session_duration": waitingroom_session_duration, "waitingroom_single_response": waitingroom_single_response, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, @@ -197,31 +116,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, - "waitingroom_session_duration": waitingroom_session_duration, "waitingroom_single_response": waitingroom_single_response, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, @@ -233,18 +130,19 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_delete", title: "Delete waiting room", - description: "Deletes a waiting room.\n\nConfirm with the user before calling this tool. This operation deletes the waiting room from the zone.", + description: "Deletes a waiting room.\n\nConfirm with the user before calling this tool. This operation deletes the waiting room from the zone.\n\nDELETE /zones/{zone_id}/waiting_rooms/{waiting_room_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -257,10 +155,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_waiting_room_id_response", @@ -268,7 +163,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waiting_room_id_response": waitingroom_waiting_room_id_response, }, }, @@ -313,7 +207,6 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_messages": waitingroom_messages, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waiting_room_id_response": waitingroom_waiting_room_id_response, }, }, @@ -324,7 +217,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_edit", title: "Patch waiting room", - description: "Patches a configured waiting room.", + description: "Patches a configured waiting room.\n\nPATCH /zones/{zone_id}/waiting_rooms/{waiting_room_id}", inputSchema: { type: "object", properties: { @@ -332,13 +225,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_query_waitingroom" }, "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -352,31 +246,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "waitingroom_additional_routes": waitingroom_additional_routes$, "waitingroom_cookie_attributes": waitingroom_cookie_attributes$, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix$, - "waitingroom_custom_page_html": waitingroom_custom_page_html$, - "waitingroom_default_template_language": waitingroom_default_template_language$, - "waitingroom_description": waitingroom_description$, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal$, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands$, - "waitingroom_host": waitingroom_host$, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled$, - "waitingroom_name": waitingroom_name$, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute$, - "waitingroom_path": waitingroom_path$, "waitingroom_query_waitingroom": waitingroom_query_waitingroom, - "waitingroom_queue_all": waitingroom_queue_all$, - "waitingroom_queueing_method": waitingroom_queueing_method$, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code$, - "waitingroom_session_duration": waitingroom_session_duration$, - "waitingroom_suspended": waitingroom_suspended$, - "waitingroom_total_active_users": waitingroom_total_active_users$, - "waitingroom_turnstile_action": waitingroom_turnstile_action$, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode$, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id$, }, }, outputSchema: { @@ -386,31 +261,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, - "waitingroom_session_duration": waitingroom_session_duration, "waitingroom_single_response": waitingroom_single_response, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, @@ -456,31 +309,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, - "waitingroom_session_duration": waitingroom_session_duration, "waitingroom_single_response": waitingroom_single_response, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, @@ -492,18 +323,19 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_get", title: "Waiting room details", - description: "Fetches a single configured waiting room.", + description: "Fetches a single configured waiting room.\n\nGET /zones/{zone_id}/waiting_rooms/{waiting_room_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -516,10 +348,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/waitingroom_single_response", @@ -528,31 +357,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, - "waitingroom_session_duration": waitingroom_session_duration, "waitingroom_single_response": waitingroom_single_response, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, @@ -599,31 +406,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, - "waitingroom_session_duration": waitingroom_session_duration, "waitingroom_single_response": waitingroom_single_response, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, @@ -634,7 +419,7 @@ export const tools: readonly Tool[] = [ { name: "waitingRooms_update", title: "Update waiting room", - description: "Updates a configured waiting room.", + description: "Updates a configured waiting room.\n\nPUT /zones/{zone_id}/waiting_rooms/{waiting_room_id}", inputSchema: { type: "object", properties: { @@ -642,13 +427,14 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/waitingroom_query_waitingroom" }, "path": { + "additionalProperties": false, "properties": { "waiting_room_id": { - "$ref": "#/$defs/waitingroom_waiting_room_id" + "type": "string" }, "zone_id": { - "$ref": "#/$defs/waitingroom_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -662,31 +448,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "waitingroom_additional_routes": waitingroom_additional_routes$, "waitingroom_cookie_attributes": waitingroom_cookie_attributes$, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix$, - "waitingroom_custom_page_html": waitingroom_custom_page_html$, - "waitingroom_default_template_language": waitingroom_default_template_language$, - "waitingroom_description": waitingroom_description$, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal$, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands$, - "waitingroom_host": waitingroom_host$, - "waitingroom_identifier": waitingroom_identifier, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled$, - "waitingroom_name": waitingroom_name$, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute$, - "waitingroom_path": waitingroom_path$, "waitingroom_query_waitingroom": waitingroom_query_waitingroom, - "waitingroom_queue_all": waitingroom_queue_all$, - "waitingroom_queueing_method": waitingroom_queueing_method$, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code$, - "waitingroom_session_duration": waitingroom_session_duration$, - "waitingroom_suspended": waitingroom_suspended$, - "waitingroom_total_active_users": waitingroom_total_active_users$, - "waitingroom_turnstile_action": waitingroom_turnstile_action$, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode$, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id$, }, }, outputSchema: { @@ -696,31 +463,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common": waitingroom_api$$response$$common, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, - "waitingroom_session_duration": waitingroom_session_duration, "waitingroom_single_response": waitingroom_single_response, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, @@ -766,31 +511,9 @@ export const tools: readonly Tool[] = [ "waitingroom_api-response-common-failure": waitingroom_api$$response$$common$$failure, "waitingroom_api-response-single": waitingroom_api$$response$$single, "waitingroom_cookie_attributes": waitingroom_cookie_attributes, - "waitingroom_cookie_suffix": waitingroom_cookie_suffix, - "waitingroom_custom_page_html": waitingroom_custom_page_html, - "waitingroom_default_template_language": waitingroom_default_template_language, - "waitingroom_description": waitingroom_description, - "waitingroom_disable_session_renewal": waitingroom_disable_session_renewal, "waitingroom_enabled_origin_commands": waitingroom_enabled_origin_commands, - "waitingroom_host": waitingroom_host, - "waitingroom_json_response_enabled": waitingroom_json_response_enabled, "waitingroom_messages": waitingroom_messages, - "waitingroom_name": waitingroom_name, - "waitingroom_new_users_per_minute": waitingroom_new_users_per_minute, - "waitingroom_next_event_prequeue_start_time": waitingroom_next_event_prequeue_start_time, - "waitingroom_next_event_start_time": waitingroom_next_event_start_time, - "waitingroom_path": waitingroom_path, - "waitingroom_queue_all": waitingroom_queue_all, - "waitingroom_queueing_method": waitingroom_queueing_method, - "waitingroom_queueing_status_code": waitingroom_queueing_status_code, - "waitingroom_session_duration": waitingroom_session_duration, "waitingroom_single_response": waitingroom_single_response, - "waitingroom_suspended": waitingroom_suspended, - "waitingroom_timestamp": waitingroom_timestamp, - "waitingroom_total_active_users": waitingroom_total_active_users, - "waitingroom_turnstile_action": waitingroom_turnstile_action, - "waitingroom_turnstile_mode": waitingroom_turnstile_mode, - "waitingroom_waiting_room_id": waitingroom_waiting_room_id, "waitingroom_waitingroom": waitingroom_waitingroom, }, }, diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/schemas.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/schemas.ts index 91100aa01..ac1c3ce4d 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/schemas.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/schemas.ts @@ -9,16 +9,20 @@ import type { JsonSchema } from "../../../../../_/tool.js"; export const web3_content_list_entry_create_request: JsonSchema = { "properties": { "content": { - "$ref": "#/$defs/web3_content_list_entry_content", - "description": "Specify the CID or content path of content to block." + "description": "Specify the CID or content path of content to block.", + "type": "string" }, "description": { - "$ref": "#/$defs/web3_content_list_entry_description", - "description": "Specify an optional description of the content list entry." + "description": "Specify an optional description of the content list entry.", + "type": "string" }, "type": { - "$ref": "#/$defs/web3_content_list_entry_type", - "description": "Specify the type of content list entry to block." + "description": "Specify the type of content list entry to block.", + "enum": [ + "cid", + "content_path" + ], + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts index 53b8bca34..c340e9b59 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/entries/tools.ts @@ -8,24 +8,13 @@ import { web3_api$$response$$common$$failure, web3_api$$response$$single, web3_api$$response$$single$$id, - web3_identifier, web3_messages, web3_result_info, - web3_timestamp, } from "../../../outputs.js"; -import { web3_identifier as web3_identifier$ } from "../../../schemas.js"; import { web3_content_list_entries, web3_content_list_entry, - web3_content_list_entry_content, - web3_content_list_entry_description, - web3_content_list_entry_type, } from "../outputs.js"; -import { - web3_content_list_entry_content as web3_content_list_entry_content$, - web3_content_list_entry_description as web3_content_list_entry_description$, - web3_content_list_entry_type as web3_content_list_entry_type$, -} from "../schemas.js"; import { web3_content_list_entry_collection_response, web3_content_list_entry_single_response, @@ -39,7 +28,7 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_create", title: "Create IPFS Universal Path Gateway Content List Entry", - description: "Create IPFS Universal Path Gateway Content List Entry", + description: "Create IPFS Universal Path Gateway Content List Entry\n\nPOST /zones/{zone_id}/web3/hostnames/{identifier}/ipfs_universal_path/content_list/entries", inputSchema: { type: "object", properties: { @@ -47,14 +36,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/web3_content_list_entry_create_request" }, "path": { + "additionalProperties": false, "properties": { "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -68,12 +58,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "web3_content_list_entry_content": web3_content_list_entry_content$, "web3_content_list_entry_create_request": web3_content_list_entry_create_request, - "web3_content_list_entry_description": web3_content_list_entry_description$, - "web3_content_list_entry_type": web3_content_list_entry_type$, - "web3_identifier": web3_identifier$, }, }, outputSchema: { @@ -82,13 +69,8 @@ export const tools: readonly Tool[] = [ "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single": web3_api$$response$$single, "web3_content_list_entry": web3_content_list_entry, - "web3_content_list_entry_content": web3_content_list_entry_content, - "web3_content_list_entry_description": web3_content_list_entry_description, "web3_content_list_entry_single_response": web3_content_list_entry_single_response, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_timestamp": web3_timestamp, }, }, annotations: { @@ -139,13 +121,8 @@ export const tools: readonly Tool[] = [ "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single": web3_api$$response$$single, "web3_content_list_entry": web3_content_list_entry, - "web3_content_list_entry_content": web3_content_list_entry_content, - "web3_content_list_entry_description": web3_content_list_entry_description, "web3_content_list_entry_single_response": web3_content_list_entry_single_response, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_timestamp": web3_timestamp, }, }, request: (args) => ({ @@ -156,24 +133,25 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_delete", title: "Delete IPFS Universal Path Gateway Content List Entry", - description: "Delete IPFS Universal Path Gateway Content List Entry", + description: "Delete IPFS Universal Path Gateway Content List Entry\n\nDELETE /zones/{zone_id}/web3/hostnames/{identifier}/ipfs_universal_path/content_list/entries/{content_list_entry_identifier}", inputSchema: { type: "object", properties: { "body": {}, "path": { + "additionalProperties": false, "properties": { "content_list_entry_identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -188,16 +166,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "web3_identifier": web3_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/web3_api-response-single-id", $defs: { "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single-id": web3_api$$response$$single$$id, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, }, }, @@ -251,7 +226,6 @@ export const tools: readonly Tool[] = [ "web3_api-response-common": web3_api$$response$$common, "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single-id": web3_api$$response$$single$$id, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, }, }, @@ -263,23 +237,24 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_get", title: "IPFS Universal Path Gateway Content List Entry Details", - description: "IPFS Universal Path Gateway Content List Entry Details", + description: "IPFS Universal Path Gateway Content List Entry Details\n\nGET /zones/{zone_id}/web3/hostnames/{identifier}/ipfs_universal_path/content_list/entries/{content_list_entry_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "content_list_entry_identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -293,9 +268,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "web3_identifier": web3_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/web3_content_list_entry_single_response", @@ -303,13 +276,8 @@ export const tools: readonly Tool[] = [ "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single": web3_api$$response$$single, "web3_content_list_entry": web3_content_list_entry, - "web3_content_list_entry_content": web3_content_list_entry_content, - "web3_content_list_entry_description": web3_content_list_entry_description, "web3_content_list_entry_single_response": web3_content_list_entry_single_response, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_timestamp": web3_timestamp, }, }, annotations: { @@ -364,13 +332,8 @@ export const tools: readonly Tool[] = [ "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single": web3_api$$response$$single, "web3_content_list_entry": web3_content_list_entry, - "web3_content_list_entry_content": web3_content_list_entry_content, - "web3_content_list_entry_description": web3_content_list_entry_description, "web3_content_list_entry_single_response": web3_content_list_entry_single_response, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_timestamp": web3_timestamp, }, }, request: (args) => ({ @@ -380,19 +343,20 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_list", title: "List IPFS Universal Path Gateway Content List Entries", - description: "List IPFS Universal Path Gateway Content List Entries", + description: "List IPFS Universal Path Gateway Content List Entries\n\nGET /zones/{zone_id}/web3/hostnames/{identifier}/ipfs_universal_path/content_list/entries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -405,9 +369,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "web3_identifier": web3_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/web3_content_list_entry_collection_response", @@ -417,13 +379,8 @@ export const tools: readonly Tool[] = [ "web3_content_list_entries": web3_content_list_entries, "web3_content_list_entry": web3_content_list_entry, "web3_content_list_entry_collection_response": web3_content_list_entry_collection_response, - "web3_content_list_entry_content": web3_content_list_entry_content, - "web3_content_list_entry_description": web3_content_list_entry_description, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, "web3_result_info": web3_result_info, - "web3_timestamp": web3_timestamp, }, }, annotations: { @@ -480,13 +437,8 @@ export const tools: readonly Tool[] = [ "web3_content_list_entries": web3_content_list_entries, "web3_content_list_entry": web3_content_list_entry, "web3_content_list_entry_collection_response": web3_content_list_entry_collection_response, - "web3_content_list_entry_content": web3_content_list_entry_content, - "web3_content_list_entry_description": web3_content_list_entry_description, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, "web3_result_info": web3_result_info, - "web3_timestamp": web3_timestamp, }, }, request: (args) => ({ @@ -496,7 +448,7 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_ipfsUniversalPaths_contentLists_entries_update", title: "Edit IPFS Universal Path Gateway Content List Entry", - description: "Edit IPFS Universal Path Gateway Content List Entry", + description: "Edit IPFS Universal Path Gateway Content List Entry\n\nPUT /zones/{zone_id}/web3/hostnames/{identifier}/ipfs_universal_path/content_list/entries/{content_list_entry_identifier}", inputSchema: { type: "object", properties: { @@ -504,18 +456,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/web3_content_list_entry_create_request" }, "path": { + "additionalProperties": false, "properties": { "content_list_entry_identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -530,12 +483,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "web3_content_list_entry_content": web3_content_list_entry_content$, "web3_content_list_entry_create_request": web3_content_list_entry_create_request, - "web3_content_list_entry_description": web3_content_list_entry_description$, - "web3_content_list_entry_type": web3_content_list_entry_type$, - "web3_identifier": web3_identifier$, }, }, outputSchema: { @@ -544,13 +494,8 @@ export const tools: readonly Tool[] = [ "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single": web3_api$$response$$single, "web3_content_list_entry": web3_content_list_entry, - "web3_content_list_entry_content": web3_content_list_entry_content, - "web3_content_list_entry_description": web3_content_list_entry_description, "web3_content_list_entry_single_response": web3_content_list_entry_single_response, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_timestamp": web3_timestamp, }, }, annotations: { @@ -604,13 +549,8 @@ export const tools: readonly Tool[] = [ "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single": web3_api$$response$$single, "web3_content_list_entry": web3_content_list_entry, - "web3_content_list_entry_content": web3_content_list_entry_content, - "web3_content_list_entry_description": web3_content_list_entry_description, "web3_content_list_entry_single_response": web3_content_list_entry_single_response, - "web3_content_list_entry_type": web3_content_list_entry_type, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_timestamp": web3_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts index 3c92d2604..e94ef1298 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/outputs.ts @@ -3,23 +3,16 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `web3_content_list_action` in responses. - */ -export const web3_content_list_action: JsonSchema = { - "enum": [ - "block" - ], - "type": "string" -}; - /** * The schema of `web3_content_list_details` in responses. */ export const web3_content_list_details: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/web3_content_list_action" + "enum": [ + "block" + ], + "type": "string" } }, "type": "object" @@ -60,48 +53,29 @@ export const web3_content_list_entries: JsonSchema = { export const web3_content_list_entry: JsonSchema = { "properties": { "content": { - "$ref": "#/$defs/web3_content_list_entry_content" + "type": "string" }, "created_on": { - "$ref": "#/$defs/web3_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/web3_content_list_entry_description" + "type": "string" }, "id": { - "$ref": "#/$defs/web3_identifier" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/web3_timestamp" + "format": "date-time", + "type": "string" }, "type": { - "$ref": "#/$defs/web3_content_list_entry_type" + "enum": [ + "cid", + "content_path" + ], + "type": "string" } }, "type": "object" }; - -/** - * The schema of `web3_content_list_entry_content` in responses. - */ -export const web3_content_list_entry_content: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `web3_content_list_entry_description` in responses. - */ -export const web3_content_list_entry_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `web3_content_list_entry_type` in responses. - */ -export const web3_content_list_entry_type: JsonSchema = { - "enum": [ - "cid", - "content_path" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/schemas.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/schemas.ts index 6af431843..bf3a7ea8f 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/schemas.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/schemas.ts @@ -3,17 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `web3_content_list_action`. - */ -export const web3_content_list_action: JsonSchema = { - "description": "Behavior of the content list.", - "enum": [ - "block" - ], - "type": "string" -}; - /** * The schema of `web3_content_list_entries`. */ @@ -32,57 +21,36 @@ export const web3_content_list_entry: JsonSchema = { "description": "Specify a content list entry to block.", "properties": { "content": { - "$ref": "#/$defs/web3_content_list_entry_content", - "description": "Specify the CID or content path of content to block." + "description": "Specify the CID or content path of content to block.", + "type": "string" }, "description": { - "$ref": "#/$defs/web3_content_list_entry_description", - "description": "Specify an optional description of the content list entry." + "description": "Specify an optional description of the content list entry.", + "type": "string" }, "type": { - "$ref": "#/$defs/web3_content_list_entry_type", - "description": "Specify the type of content list entry to block." + "description": "Specify the type of content list entry to block.", + "enum": [ + "cid", + "content_path" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `web3_content_list_entry_content`. - */ -export const web3_content_list_entry_content: JsonSchema = { - "description": "Specify the CID or content path of content to block.", - "type": "string" -}; - -/** - * The schema of `web3_content_list_entry_description`. - */ -export const web3_content_list_entry_description: JsonSchema = { - "description": "Specify an optional description of the content list entry.", - "type": "string" -}; - -/** - * The schema of `web3_content_list_entry_type`. - */ -export const web3_content_list_entry_type: JsonSchema = { - "description": "Specify the type of content list entry to block.", - "enum": [ - "cid", - "content_path" - ], - "type": "string" -}; - /** * The schema of `web3_content_list_update_request`. */ export const web3_content_list_update_request: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/web3_content_list_action", - "description": "Behavior of the content list." + "description": "Behavior of the content list.", + "enum": [ + "block" + ], + "type": "string" }, "entries": { "$ref": "#/$defs/web3_content_list_entries", diff --git a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts index 4fe5f9b8a..689beef38 100644 --- a/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts +++ b/src/generated/forge-mcp/web3/hostnames/ipfsUniversalPaths/contentLists/tools.ts @@ -8,19 +8,13 @@ import { web3_api$$response$$single, web3_messages, } from "../../outputs.js"; -import { web3_identifier } from "../../schemas.js"; import { - web3_content_list_action, web3_content_list_details, web3_content_list_details_response, } from "./outputs.js"; import { - web3_content_list_action as web3_content_list_action$, web3_content_list_entries, web3_content_list_entry, - web3_content_list_entry_content, - web3_content_list_entry_description, - web3_content_list_entry_type, web3_content_list_update_request, } from "./schemas.js"; @@ -31,19 +25,20 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_ipfsUniversalPaths_contentLists_get", title: "IPFS Universal Path Gateway Content List Details", - description: "IPFS Universal Path Gateway Content List Details", + description: "IPFS Universal Path Gateway Content List Details\n\nGET /zones/{zone_id}/web3/hostnames/{identifier}/ipfs_universal_path/content_list", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -56,16 +51,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "web3_identifier": web3_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/web3_content_list_details_response", $defs: { "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single": web3_api$$response$$single, - "web3_content_list_action": web3_content_list_action, "web3_content_list_details": web3_content_list_details, "web3_content_list_details_response": web3_content_list_details_response, "web3_messages": web3_messages, @@ -122,7 +114,6 @@ export const tools: readonly Tool[] = [ "web3_api-response-common": web3_api$$response$$common, "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single": web3_api$$response$$single, - "web3_content_list_action": web3_content_list_action, "web3_content_list_details": web3_content_list_details, "web3_content_list_details_response": web3_content_list_details_response, "web3_messages": web3_messages, @@ -135,7 +126,7 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_ipfsUniversalPaths_contentLists_update", title: "Update IPFS Universal Path Gateway Content List", - description: "Update IPFS Universal Path Gateway Content List", + description: "Update IPFS Universal Path Gateway Content List\n\nPUT /zones/{zone_id}/web3/hostnames/{identifier}/ipfs_universal_path/content_list", inputSchema: { type: "object", properties: { @@ -143,14 +134,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/web3_content_list_update_request" }, "path": { + "additionalProperties": false, "properties": { "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -164,15 +156,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "web3_content_list_action": web3_content_list_action$, "web3_content_list_entries": web3_content_list_entries, "web3_content_list_entry": web3_content_list_entry, - "web3_content_list_entry_content": web3_content_list_entry_content, - "web3_content_list_entry_description": web3_content_list_entry_description, - "web3_content_list_entry_type": web3_content_list_entry_type, "web3_content_list_update_request": web3_content_list_update_request, - "web3_identifier": web3_identifier, }, }, outputSchema: { @@ -180,7 +168,6 @@ export const tools: readonly Tool[] = [ $defs: { "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single": web3_api$$response$$single, - "web3_content_list_action": web3_content_list_action, "web3_content_list_details": web3_content_list_details, "web3_content_list_details_response": web3_content_list_details_response, "web3_messages": web3_messages, @@ -236,7 +223,6 @@ export const tools: readonly Tool[] = [ "web3_api-response-common": web3_api$$response$$common, "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single": web3_api$$response$$single, - "web3_content_list_action": web3_content_list_action, "web3_content_list_details": web3_content_list_details, "web3_content_list_details_response": web3_content_list_details_response, "web3_messages": web3_messages, diff --git a/src/generated/forge-mcp/web3/hostnames/outputs.ts b/src/generated/forge-mcp/web3/hostnames/outputs.ts index 69e354ca3..1d2199ad9 100644 --- a/src/generated/forge-mcp/web3/hostnames/outputs.ts +++ b/src/generated/forge-mcp/web3/hostnames/outputs.ts @@ -148,7 +148,7 @@ export const web3_api$$response$$single$$id: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/web3_identifier" + "type": "string" } }, "required": [ @@ -189,27 +189,6 @@ export const web3_collection_response: JsonSchema = { ] }; -/** - * The schema of `web3_description` in responses. - */ -export const web3_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `web3_dnslink` in responses. - */ -export const web3_dnslink: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `web3_identifier` in responses. - */ -export const web3_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `web3_messages` in responses. */ @@ -232,13 +211,6 @@ export const web3_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `web3_name` in responses. - */ -export const web3_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `web3_result_info` in responses. */ @@ -279,67 +251,47 @@ export const web3_single_response: JsonSchema = { ] }; -/** - * The schema of `web3_status` in responses. - */ -export const web3_status: JsonSchema = { - "enum": [ - "active", - "pending", - "deleting", - "error" - ], - "type": "string" -}; - -/** - * The schema of `web3_target` in responses. - */ -export const web3_target: JsonSchema = { - "enum": [ - "ethereum", - "ipfs", - "ipfs_universal_path" - ], - "type": "string" -}; - -/** - * The schema of `web3_timestamp` in responses. - */ -export const web3_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `web3_web3-hostname` in responses. */ export const web3_web3$$hostname: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/web3_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/web3_description" + "type": "string" }, "dnslink": { - "$ref": "#/$defs/web3_dnslink" + "type": "string" }, "id": { - "$ref": "#/$defs/web3_identifier" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/web3_timestamp" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/web3_name" + "type": "string" }, "status": { - "$ref": "#/$defs/web3_status" + "enum": [ + "active", + "pending", + "deleting", + "error" + ], + "type": "string" }, "target": { - "$ref": "#/$defs/web3_target" + "enum": [ + "ethereum", + "ipfs", + "ipfs_universal_path" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/web3/hostnames/schemas.ts b/src/generated/forge-mcp/web3/hostnames/schemas.ts index b18d93f1e..21f98653b 100644 --- a/src/generated/forge-mcp/web3/hostnames/schemas.ts +++ b/src/generated/forge-mcp/web3/hostnames/schemas.ts @@ -9,20 +9,25 @@ import type { JsonSchema } from "../../_/tool.js"; export const web3_create_request: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/web3_description", - "description": "Specify an optional description of the hostname." + "description": "Specify an optional description of the hostname.", + "type": "string" }, "dnslink": { - "$ref": "#/$defs/web3_dnslink", - "description": "Specify the DNSLink value used if the target is ipfs." + "description": "Specify the DNSLink value used if the target is ipfs.", + "type": "string" }, "name": { - "$ref": "#/$defs/web3_name", - "description": "Specify the hostname that points to the target gateway via CNAME." + "description": "Specify the hostname that points to the target gateway via CNAME.", + "type": "string" }, "target": { - "$ref": "#/$defs/web3_target", - "description": "Specify the target gateway of the hostname." + "description": "Specify the target gateway of the hostname.", + "enum": [ + "ethereum", + "ipfs", + "ipfs_universal_path" + ], + "type": "string" } }, "required": [ @@ -32,64 +37,19 @@ export const web3_create_request: JsonSchema = { "type": "object" }; -/** - * The schema of `web3_description`. - */ -export const web3_description: JsonSchema = { - "description": "Specify an optional description of the hostname.", - "type": "string" -}; - -/** - * The schema of `web3_dnslink`. - */ -export const web3_dnslink: JsonSchema = { - "description": "Specify the DNSLink value used if the target is ipfs.", - "type": "string" -}; - -/** - * The schema of `web3_identifier`. - */ -export const web3_identifier: JsonSchema = { - "description": "Specify the identifier of the hostname.", - "type": "string" -}; - /** * The schema of `web3_modify_request`. */ export const web3_modify_request: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/web3_description", - "description": "Specify an optional description of the hostname." + "description": "Specify an optional description of the hostname.", + "type": "string" }, "dnslink": { - "$ref": "#/$defs/web3_dnslink", - "description": "Specify the DNSLink value used if the target is ipfs." + "description": "Specify the DNSLink value used if the target is ipfs.", + "type": "string" } }, "type": "object" }; - -/** - * The schema of `web3_name`. - */ -export const web3_name: JsonSchema = { - "description": "Specify the hostname that points to the target gateway via CNAME.", - "type": "string" -}; - -/** - * The schema of `web3_target`. - */ -export const web3_target: JsonSchema = { - "description": "Specify the target gateway of the hostname.", - "enum": [ - "ethereum", - "ipfs", - "ipfs_universal_path" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/web3/hostnames/tools.ts b/src/generated/forge-mcp/web3/hostnames/tools.ts index 9e8a3c0c3..78a027ac0 100644 --- a/src/generated/forge-mcp/web3/hostnames/tools.ts +++ b/src/generated/forge-mcp/web3/hostnames/tools.ts @@ -9,27 +9,12 @@ import { web3_api$$response$$single, web3_api$$response$$single$$id, web3_collection_response, - web3_description, - web3_dnslink, - web3_identifier, web3_messages, - web3_name, web3_result_info, web3_single_response, - web3_status, - web3_target, - web3_timestamp, web3_web3$$hostname, } from "./outputs.js"; -import { - web3_create_request, - web3_description as web3_description$, - web3_dnslink as web3_dnslink$, - web3_identifier as web3_identifier$, - web3_modify_request, - web3_name as web3_name$, - web3_target as web3_target$, -} from "./schemas.js"; +import { web3_create_request, web3_modify_request } from "./schemas.js"; /** * The tools of `web3.hostnames`. @@ -38,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_create", title: "Create Web3 Hostname", - description: "Create Web3 Hostname", + description: "Create Web3 Hostname\n\nPOST /zones/{zone_id}/web3/hostnames", inputSchema: { type: "object", properties: { @@ -46,10 +31,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/web3_create_request" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -62,13 +48,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "web3_create_request": web3_create_request, - "web3_description": web3_description$, - "web3_dnslink": web3_dnslink$, - "web3_identifier": web3_identifier$, - "web3_name": web3_name$, - "web3_target": web3_target$, }, }, outputSchema: { @@ -76,15 +58,8 @@ export const tools: readonly Tool[] = [ $defs: { "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single": web3_api$$response$$single, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_name": web3_name, "web3_single_response": web3_single_response, - "web3_status": web3_status, - "web3_target": web3_target, - "web3_timestamp": web3_timestamp, "web3_web3-hostname": web3_web3$$hostname, }, }, @@ -140,16 +115,9 @@ export const tools: readonly Tool[] = [ "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single": web3_api$$response$$single, "web3_collection_response": web3_collection_response, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_name": web3_name, "web3_result_info": web3_result_info, "web3_single_response": web3_single_response, - "web3_status": web3_status, - "web3_target": web3_target, - "web3_timestamp": web3_timestamp, "web3_web3-hostname": web3_web3$$hostname, }, }, @@ -161,20 +129,21 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_delete", title: "Delete Web3 Hostname", - description: "Delete Web3 Hostname", + description: "Delete Web3 Hostname\n\nDELETE /zones/{zone_id}/web3/hostnames/{identifier}", inputSchema: { type: "object", properties: { "body": {}, "path": { + "additionalProperties": false, "properties": { "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -188,16 +157,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "web3_identifier": web3_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/web3_api-response-single-id", $defs: { "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single-id": web3_api$$response$$single$$id, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, }, }, @@ -253,15 +219,8 @@ export const tools: readonly Tool[] = [ "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single-id": web3_api$$response$$single$$id, "web3_collection_response": web3_collection_response, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_name": web3_name, "web3_result_info": web3_result_info, - "web3_status": web3_status, - "web3_target": web3_target, - "web3_timestamp": web3_timestamp, "web3_web3-hostname": web3_web3$$hostname, }, }, @@ -273,7 +232,7 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_edit", title: "Edit Web3 Hostname", - description: "Edit Web3 Hostname", + description: "Edit Web3 Hostname\n\nPATCH /zones/{zone_id}/web3/hostnames/{identifier}", inputSchema: { type: "object", properties: { @@ -281,14 +240,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/web3_modify_request" }, "path": { + "additionalProperties": false, "properties": { "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -302,10 +262,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "web3_description": web3_description$, - "web3_dnslink": web3_dnslink$, - "web3_identifier": web3_identifier$, "web3_modify_request": web3_modify_request, }, }, @@ -314,15 +272,8 @@ export const tools: readonly Tool[] = [ $defs: { "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single": web3_api$$response$$single, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_name": web3_name, "web3_single_response": web3_single_response, - "web3_status": web3_status, - "web3_target": web3_target, - "web3_timestamp": web3_timestamp, "web3_web3-hostname": web3_web3$$hostname, }, }, @@ -378,16 +329,9 @@ export const tools: readonly Tool[] = [ "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single": web3_api$$response$$single, "web3_collection_response": web3_collection_response, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_name": web3_name, "web3_result_info": web3_result_info, "web3_single_response": web3_single_response, - "web3_status": web3_status, - "web3_target": web3_target, - "web3_timestamp": web3_timestamp, "web3_web3-hostname": web3_web3$$hostname, }, }, @@ -399,19 +343,20 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_get", title: "Web3 Hostname Details", - description: "Web3 Hostname Details", + description: "Web3 Hostname Details\n\nGET /zones/{zone_id}/web3/hostnames/{identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "identifier": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -424,24 +369,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "web3_identifier": web3_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/web3_single_response", $defs: { "web3_api-response-common": web3_api$$response$$common, "web3_api-response-single": web3_api$$response$$single, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_name": web3_name, "web3_single_response": web3_single_response, - "web3_status": web3_status, - "web3_target": web3_target, - "web3_timestamp": web3_timestamp, "web3_web3-hostname": web3_web3$$hostname, }, }, @@ -498,16 +434,9 @@ export const tools: readonly Tool[] = [ "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_api-response-single": web3_api$$response$$single, "web3_collection_response": web3_collection_response, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_name": web3_name, "web3_result_info": web3_result_info, "web3_single_response": web3_single_response, - "web3_status": web3_status, - "web3_target": web3_target, - "web3_timestamp": web3_timestamp, "web3_web3-hostname": web3_web3$$hostname, }, }, @@ -518,15 +447,16 @@ export const tools: readonly Tool[] = [ { name: "web3_hostnames_list", title: "List Web3 Hostnames", - description: "List Web3 Hostnames", + description: "List Web3 Hostnames\n\nGET /zones/{zone_id}/web3/hostnames", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/web3_identifier", - "description": "Specify the identifier of the hostname." + "description": "Specify the identifier of the hostname.", + "type": "string" } }, "required": [ @@ -538,9 +468,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "web3_identifier": web3_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/web3_collection_response", @@ -548,15 +476,8 @@ export const tools: readonly Tool[] = [ "web3_api-response-collection": web3_api$$response$$collection, "web3_api-response-common": web3_api$$response$$common, "web3_collection_response": web3_collection_response, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_name": web3_name, "web3_result_info": web3_result_info, - "web3_status": web3_status, - "web3_target": web3_target, - "web3_timestamp": web3_timestamp, "web3_web3-hostname": web3_web3$$hostname, }, }, @@ -612,15 +533,8 @@ export const tools: readonly Tool[] = [ "web3_api-response-common": web3_api$$response$$common, "web3_api-response-common-failure": web3_api$$response$$common$$failure, "web3_collection_response": web3_collection_response, - "web3_description": web3_description, - "web3_dnslink": web3_dnslink, - "web3_identifier": web3_identifier, "web3_messages": web3_messages, - "web3_name": web3_name, "web3_result_info": web3_result_info, - "web3_status": web3_status, - "web3_target": web3_target, - "web3_timestamp": web3_timestamp, "web3_web3-hostname": web3_web3$$hostname, }, }, diff --git a/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts b/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts index 8ce49b802..92597a18a 100644 --- a/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts +++ b/src/generated/forge-mcp/webAssets/discovery/operations/outputs.ts @@ -3,18 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `api-shield_api_discovery_origin` in responses. - */ -export const api$$shield_api_discovery_origin: JsonSchema = { - "enum": [ - "ML", - "SessionIdentifier", - "LabelDiscovery" - ], - "type": "string" -}; - /** * The schema of `api-shield_api_discovery_patch_multiple_request` in responses. */ @@ -32,35 +20,16 @@ export const api$$shield_api_discovery_patch_multiple_request: JsonSchema = { export const api$$shield_api_discovery_patch_multiple_request_entry: JsonSchema = { "properties": { "state": { - "$ref": "#/$defs/api-shield_api_discovery_state_patch" + "enum": [ + "review", + "ignored" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `api-shield_api_discovery_state` in responses. - */ -export const api$$shield_api_discovery_state: JsonSchema = { - "enum": [ - "review", - "saved", - "ignored" - ], - "type": "string" -}; - -/** - * The schema of `api-shield_api_discovery_state_patch` in responses. - */ -export const api$$shield_api_discovery_state_patch: JsonSchema = { - "enum": [ - "review", - "ignored" - ], - "type": "string" -}; - /** * The schema of `api-shield_discovery_operation` in responses. */ @@ -72,19 +41,44 @@ export const api$$shield_discovery_operation: JsonSchema = { "$ref": "#/$defs/api-shield_traffic_stats" }, "id": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "type": "string" + } + ] }, "last_updated": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "origin": { "items": { - "$ref": "#/$defs/api-shield_api_discovery_origin" + "enum": [ + "ML", + "SessionIdentifier", + "LabelDiscovery" + ], + "type": "string" }, "type": "array" }, "state": { - "$ref": "#/$defs/api-shield_api_discovery_state" + "enum": [ + "review", + "saved", + "ignored" + ], + "type": "string" } }, "required": [ @@ -136,7 +130,12 @@ export const api$$shield_patch_discovery_response: JsonSchema = { "result": { "properties": { "state": { - "$ref": "#/$defs/api-shield_api_discovery_state" + "enum": [ + "review", + "saved", + "ignored" + ], + "type": "string" } }, "type": "object" @@ -158,7 +157,15 @@ export const api$$shield_traffic_stats: JsonSchema = { "traffic_stats": { "properties": { "last_updated": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "period_seconds": { "type": "integer" diff --git a/src/generated/forge-mcp/webAssets/discovery/operations/schemas.ts b/src/generated/forge-mcp/webAssets/discovery/operations/schemas.ts index e279fad7d..9b5d5d4bc 100644 --- a/src/generated/forge-mcp/webAssets/discovery/operations/schemas.ts +++ b/src/generated/forge-mcp/webAssets/discovery/operations/schemas.ts @@ -3,19 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `api-shield_api_discovery_origin`. - */ -export const api$$shield_api_discovery_origin: JsonSchema = { - "description": "* `ML` - Discovered operation was sourced using ML API Discovery * `SessionIdentifier` - Discovered operation was sourced using Session Identifier API Discovery * `LabelDiscovery` - Discovered operation was identified to have a specific label\n", - "enum": [ - "ML", - "SessionIdentifier", - "LabelDiscovery" - ], - "type": "string" -}; - /** * The schema of `api-shield_api_discovery_patch_multiple_request`. */ @@ -33,34 +20,13 @@ export const api$$shield_api_discovery_patch_multiple_request_entry: JsonSchema "description": "Mappings of discovered operations (keys) to objects describing their state", "properties": { "state": { - "$ref": "#/$defs/api-shield_api_discovery_state_patch", - "description": "Mark state of operation in API Discovery\n * `review` - Mark operation as for review\n * `ignored` - Mark operation as ignored\n" + "description": "Mark state of operation in API Discovery\n * `review` - Mark operation as for review\n * `ignored` - Mark operation as ignored", + "enum": [ + "review", + "ignored" + ], + "type": "string" } }, "type": "object" }; - -/** - * The schema of `api-shield_api_discovery_state`. - */ -export const api$$shield_api_discovery_state: JsonSchema = { - "description": "State of operation in API Discovery\n * `review` - Operation is not saved into API Shield Endpoint Management\n * `saved` - Operation is saved into API Shield Endpoint Management\n * `ignored` - Operation is marked as ignored\n", - "enum": [ - "review", - "saved", - "ignored" - ], - "type": "string" -}; - -/** - * The schema of `api-shield_api_discovery_state_patch`. - */ -export const api$$shield_api_discovery_state_patch: JsonSchema = { - "description": "Mark state of operation in API Discovery\n * `review` - Mark operation as for review\n * `ignored` - Mark operation as ignored\n", - "enum": [ - "review", - "ignored" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts b/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts index 38b8af925..a4d23c3ec 100644 --- a/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/discovery/operations/tools.ts @@ -7,38 +7,19 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_basic_operation, - api$$shield_endpoint, - api$$shield_host, api$$shield_messages, - api$$shield_method, - api$$shield_timestamp, - api$$shield_timestamp$$2, - api$$shield_uuid, - api$$shield_uuid$$2, } from "../../../outputs.js"; import { - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid as api$$shield_uuid$, - api$$shield_uuid$$2 as api$$shield_uuid$$2$, -} from "../../../schemas.js"; -import { - api$$shield_api_discovery_origin, api$$shield_api_discovery_patch_multiple_request, api$$shield_api_discovery_patch_multiple_request_entry, - api$$shield_api_discovery_state, - api$$shield_api_discovery_state_patch, api$$shield_discovery_operation, api$$shield_patch_discoveries_response, api$$shield_patch_discovery_response, api$$shield_traffic_stats, } from "./outputs.js"; import { - api$$shield_api_discovery_origin as api$$shield_api_discovery_origin$, api$$shield_api_discovery_patch_multiple_request as api$$shield_api_discovery_patch_multiple_request$, api$$shield_api_discovery_patch_multiple_request_entry as api$$shield_api_discovery_patch_multiple_request_entry$, - api$$shield_api_discovery_state as api$$shield_api_discovery_state$, - api$$shield_api_discovery_state_patch as api$$shield_api_discovery_state_patch$, } from "./schemas.js"; /** @@ -48,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_discovery_operations_bulkEdit", title: "Edit discovered web and API operations", - description: "Updates the state of one or more discovered web and API operations.", + description: "Updates the state of one or more discovered web and API operations.\n\nPATCH /zones/{zone_id}/api_gateway/discovery/operations", inputSchema: { type: "object", properties: { @@ -56,9 +37,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_api_discovery_patch_multiple_request" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -71,12 +61,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_api_discovery_patch_multiple_request": api$$shield_api_discovery_patch_multiple_request$, "api-shield_api_discovery_patch_multiple_request_entry": api$$shield_api_discovery_patch_multiple_request_entry$, - "api-shield_api_discovery_state_patch": api$$shield_api_discovery_state_patch$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, }, }, outputSchema: { @@ -85,7 +73,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api_discovery_patch_multiple_request": api$$shield_api_discovery_patch_multiple_request, "api-shield_api_discovery_patch_multiple_request_entry": api$$shield_api_discovery_patch_multiple_request_entry, - "api-shield_api_discovery_state_patch": api$$shield_api_discovery_state_patch, "api-shield_messages": api$$shield_messages, "api-shield_patch_discoveries_response": api$$shield_patch_discoveries_response, }, @@ -119,7 +106,6 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_api_discovery_patch_multiple_request": api$$shield_api_discovery_patch_multiple_request, "api-shield_api_discovery_patch_multiple_request_entry": api$$shield_api_discovery_patch_multiple_request_entry, - "api-shield_api_discovery_state_patch": api$$shield_api_discovery_state_patch, "api-shield_messages": api$$shield_messages, "api-shield_patch_discoveries_response": api$$shield_patch_discoveries_response, }, @@ -132,26 +118,48 @@ export const tools: readonly Tool[] = [ { name: "webAssets_discovery_operations_edit", title: "Edit a discovered web or API operation", - description: "Updates the state of a discovered web or API operation.", + description: "Updates the state of a discovered web or API operation.\n\nPATCH /zones/{zone_id}/api_gateway/discovery/operations/{discovery_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "state": { - "$ref": "#/$defs/api-shield_api_discovery_state_patch" + "description": "Mark state of operation in API Discovery\n * `review` - Mark operation as for review\n * `ignored` - Mark operation as ignored", + "enum": [ + "review", + "ignored" + ], + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "discovery_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Discovery ID of a discovered operation" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -165,19 +173,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "api-shield_api_discovery_state_patch": api$$shield_api_discovery_state_patch$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_patch_discovery_response", $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_api_discovery_state": api$$shield_api_discovery_state, "api-shield_messages": api$$shield_messages, "api-shield_patch_discovery_response": api$$shield_patch_discovery_response, }, @@ -209,7 +210,6 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_api_discovery_state": api$$shield_api_discovery_state, "api-shield_messages": api$$shield_messages, "api-shield_patch_discovery_response": api$$shield_patch_discovery_response, }, @@ -222,18 +222,35 @@ export const tools: readonly Tool[] = [ { name: "webAssets_discovery_operations_get", title: "Get a discovered web or API operation", - description: "Returns a discovered web or API operation by discovery ID.", + description: "Returns a discovered web or API operation by discovery ID.\n\nGET /zones/{zone_id}/api_gateway/discovery/operations/{discovery_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "discovery_id": { - "$ref": "#/$defs/api-shield_uuid-2", + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ], "description": "Discovery ID of a discovered operation" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -246,12 +263,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -276,19 +288,10 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_api_discovery_origin": api$$shield_api_discovery_origin, - "api-shield_api_discovery_state": api$$shield_api_discovery_state, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_discovery_operation": api$$shield_discovery_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, "api-shield_traffic_stats": api$$shield_traffic_stats, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -339,19 +342,10 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_api_discovery_origin": api$$shield_api_discovery_origin, - "api-shield_api_discovery_state": api$$shield_api_discovery_state, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_discovery_operation": api$$shield_discovery_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, "api-shield_traffic_stats": api$$shield_traffic_stats, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -361,14 +355,23 @@ export const tools: readonly Tool[] = [ { name: "webAssets_discovery_operations_list", title: "List discovered web and API operations", - description: "Returns the latest web and API operations discovered from zone traffic.", + description: "Returns the latest web and API operations discovered from zone traffic.\n\nGET /zones/{zone_id}/api_gateway/discovery/operations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -377,6 +380,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "diff": { "description": "When `true`, only return API Discovery results that are not saved into API Shield Endpoint Management", @@ -420,8 +424,13 @@ export const tools: readonly Tool[] = [ "type": "string" }, "origin": { - "$ref": "#/$defs/api-shield_api_discovery_origin", - "description": "Filter results to only include discovery results sourced from a particular discovery engine\n * `ML` - Discovered operations that were sourced using ML API Discovery\n * `SessionIdentifier` - Discovered operations that were sourced using Session Identifier API Discovery\n" + "description": "Filter results to only include discovery results sourced from a particular discovery engine\n * `ML` - Discovered operations that were sourced using ML API Discovery\n * `SessionIdentifier` - Discovered operations that were sourced using Session Identifier API Discovery", + "enum": [ + "ML", + "SessionIdentifier", + "LabelDiscovery" + ], + "type": "string" }, "page": { "default": 1, @@ -434,8 +443,13 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "state": { - "$ref": "#/$defs/api-shield_api_discovery_state", - "description": "Filter results to only include discovery results in a particular state. States are as follows\n * `review` - Discovered operations that are not saved into API Shield Endpoint Management\n * `saved` - Discovered operations that are already saved into API Shield Endpoint Management\n * `ignored` - Discovered operations that have been marked as ignored\n" + "description": "Filter results to only include discovery results in a particular state. States are as follows\n * `review` - Discovered operations that are not saved into API Shield Endpoint Management\n * `saved` - Discovered operations that are already saved into API Shield Endpoint Management\n * `ignored` - Discovered operations that have been marked as ignored", + "enum": [ + "review", + "saved", + "ignored" + ], + "type": "string" } }, "type": "object" @@ -444,12 +458,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_api_discovery_origin": api$$shield_api_discovery_origin$, - "api-shield_api_discovery_state": api$$shield_api_discovery_state$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -474,19 +483,10 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_api_discovery_origin": api$$shield_api_discovery_origin, - "api-shield_api_discovery_state": api$$shield_api_discovery_state, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_discovery_operation": api$$shield_discovery_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, "api-shield_traffic_stats": api$$shield_traffic_stats, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -537,19 +537,10 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_api_discovery_origin": api$$shield_api_discovery_origin, - "api-shield_api_discovery_state": api$$shield_api_discovery_state, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_discovery_operation": api$$shield_discovery_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, "api-shield_traffic_stats": api$$shield_traffic_stats, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/discovery/outputs.ts b/src/generated/forge-mcp/webAssets/discovery/outputs.ts index 6d38b1dc0..284f6c1f9 100644 --- a/src/generated/forge-mcp/webAssets/discovery/outputs.ts +++ b/src/generated/forge-mcp/webAssets/discovery/outputs.ts @@ -29,7 +29,15 @@ export const api$$shield_schema_response_discovery: JsonSchema = { "type": "array" }, "timestamp": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ diff --git a/src/generated/forge-mcp/webAssets/discovery/tools.ts b/src/generated/forge-mcp/webAssets/discovery/tools.ts index 3eda0059c..20ae62e4d 100644 --- a/src/generated/forge-mcp/webAssets/discovery/tools.ts +++ b/src/generated/forge-mcp/webAssets/discovery/tools.ts @@ -6,13 +6,7 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, } from "../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, -} from "../../schemas.js"; import { api$$shield_openapi, api$$shield_schema_response_discovery, @@ -25,14 +19,23 @@ export const tools: readonly Tool[] = [ { name: "webAssets_discovery_get", title: "Export discovered API operations as OpenAPI schemas", - description: "Returns the latest API operations discovered from zone traffic, rendered as OpenAPI schemas.", + description: "Returns the latest API operations discovered from zone traffic, rendered as OpenAPI schemas.\n\nGET /zones/{zone_id}/api_gateway/discovery", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -44,10 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_schema_response_discovery", @@ -56,8 +56,6 @@ export const tools: readonly Tool[] = [ "api-shield_messages": api$$shield_messages, "api-shield_openapi": api$$shield_openapi, "api-shield_schema_response_discovery": api$$shield_schema_response_discovery, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -99,8 +97,6 @@ export const tools: readonly Tool[] = [ "api-shield_messages": api$$shield_messages, "api-shield_openapi": api$$shield_openapi, "api-shield_schema_response_discovery": api$$shield_schema_response_discovery, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts b/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts index d34431049..8951dcc04 100644 --- a/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/managed/operations/tools.ts @@ -6,26 +6,12 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, } from "../../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid, - api$$shield_uuid$$2, -} from "../../../../schemas.js"; import { api$$shield_label, - api$$shield_label_description, api$$shield_label_metadata, - api$$shield_label_name, - api$$shield_label_source, } from "../../../outputs.js"; -import { - api$$shield_label_name as api$$shield_label_name$, - api$$shield_operation_id_selector, -} from "../../../schemas.js"; +import { api$$shield_operation_id_selector } from "../../../schemas.js"; import { api$$shield_full_label, api$$shield_label_mapped_resources, @@ -40,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_managed_operations_update", title: "Replace operations attached to a managed label", - description: "Replaces the complete set of web and API operations attached to the managed label.", + description: "Replaces the complete set of web and API operations attached to the managed label.\n\nPUT /zones/{zone_id}/api_gateway/labels/managed/{name}/resources/operation", inputSchema: { type: "object", properties: { @@ -48,13 +34,22 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_replace_operations_attached_to_label_request" }, "path": { + "additionalProperties": false, "properties": { "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" + "description": "The label name", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -68,14 +63,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, "api-shield_operation_id_selector": api$$shield_operation_id_selector, "api-shield_replace_operations_attached_to_label_request": api$$shield_replace_operations_attached_to_label_request, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, outputSchema: { @@ -100,14 +91,9 @@ export const tools: readonly Tool[] = [ "api-shield_full_label": api$$shield_full_label, "api-shield_full_managed_label": api$$shield_full_managed_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -155,14 +141,9 @@ export const tools: readonly Tool[] = [ "api-shield_full_label": api$$shield_full_label, "api-shield_full_managed_label": api$$shield_full_managed_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/labels/managed/tools.ts b/src/generated/forge-mcp/webAssets/labels/managed/tools.ts index 98390d262..af759939c 100644 --- a/src/generated/forge-mcp/webAssets/labels/managed/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/managed/tools.ts @@ -6,21 +6,11 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, } from "../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, -} from "../../../schemas.js"; import { api$$shield_label, - api$$shield_label_description, api$$shield_label_metadata, - api$$shield_label_name, - api$$shield_label_source, } from "../../outputs.js"; -import { api$$shield_label_name as api$$shield_label_name$ } from "../../schemas.js"; import { api$$shield_full_label, api$$shield_label_mapped_resources, @@ -34,18 +24,27 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_managed_get", title: "Get a managed operation label", - description: "Returns a managed label and the web and API operations associated with it.", + description: "Returns a managed label and the web and API operations associated with it.\n\nGET /zones/{zone_id}/api_gateway/labels/managed/{name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" + "description": "The label name", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -55,6 +54,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "with_mapped_resource_counts": { "default": false, @@ -68,11 +68,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -96,14 +92,9 @@ export const tools: readonly Tool[] = [ "api-shield_full_label": api$$shield_full_label, "api-shield_full_managed_label": api$$shield_full_managed_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -153,14 +144,9 @@ export const tools: readonly Tool[] = [ "api-shield_full_label": api$$shield_full_label, "api-shield_full_managed_label": api$$shield_full_managed_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/labels/tools.ts b/src/generated/forge-mcp/webAssets/labels/tools.ts index 74e543338..17f6c0a33 100644 --- a/src/generated/forge-mcp/webAssets/labels/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/tools.ts @@ -7,21 +7,8 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, } from "../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, -} from "../../schemas.js"; -import { - api$$shield_label, - api$$shield_label_description, - api$$shield_label_metadata, - api$$shield_label_name, - api$$shield_label_source, -} from "../outputs.js"; -import { api$$shield_label_source as api$$shield_label_source$ } from "../schemas.js"; +import { api$$shield_label, api$$shield_label_metadata } from "../outputs.js"; import { api$$shield_full_label, api$$shield_label_mapped_resources, @@ -34,14 +21,23 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_list", title: "List operation labels", - description: "Returns all managed and user-defined labels available for web and API operations in the zone.", + description: "Returns all managed and user-defined labels available for web and API operations in the zone.\n\nGET /zones/{zone_id}/api_gateway/labels", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -50,6 +46,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Direction to order results.", @@ -85,8 +82,12 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "source": { - "$ref": "#/$defs/api-shield_label_source", - "description": "Filter for labels with source" + "description": "Filter for labels with source", + "enum": [ + "user", + "managed" + ], + "type": "string" }, "with_mapped_resource_counts": { "default": false, @@ -100,11 +101,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_source": api$$shield_label_source$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -131,14 +128,9 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_full_label": api$$shield_full_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -191,14 +183,9 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_full_label": api$$shield_full_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts b/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts index 9800bb500..7e5149f90 100644 --- a/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/user/operations/tools.ts @@ -6,26 +6,12 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, } from "../../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid, - api$$shield_uuid$$2, -} from "../../../../schemas.js"; import { api$$shield_label, - api$$shield_label_description, api$$shield_label_metadata, - api$$shield_label_name, - api$$shield_label_source, } from "../../../outputs.js"; -import { - api$$shield_label_name as api$$shield_label_name$, - api$$shield_operation_id_selector, -} from "../../../schemas.js"; +import { api$$shield_operation_id_selector } from "../../../schemas.js"; import { api$$shield_full_label, api$$shield_label_mapped_resources, @@ -39,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_user_operations_update", title: "Replace operations attached to a user-defined label", - description: "Replaces the complete set of web and API operations attached to the user-defined label.", + description: "Replaces the complete set of web and API operations attached to the user-defined label.\n\nPUT /zones/{zone_id}/api_gateway/labels/user/{name}/resources/operation", inputSchema: { type: "object", properties: { @@ -47,13 +33,22 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_replace_operations_attached_to_label_request" }, "path": { + "additionalProperties": false, "properties": { "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" + "description": "The label name", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -67,14 +62,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, "api-shield_operation_id_selector": api$$shield_operation_id_selector, "api-shield_replace_operations_attached_to_label_request": api$$shield_replace_operations_attached_to_label_request, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, outputSchema: { @@ -98,14 +89,9 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_full_label": api$$shield_full_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -152,14 +138,9 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_full_label": api$$shield_full_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/labels/user/schemas.ts b/src/generated/forge-mcp/webAssets/labels/user/schemas.ts index beee032f3..587b5add0 100644 --- a/src/generated/forge-mcp/webAssets/labels/user/schemas.ts +++ b/src/generated/forge-mcp/webAssets/labels/user/schemas.ts @@ -9,16 +9,16 @@ import type { JsonSchema } from "../../../_/tool.js"; export const api$$shield_label_request: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/api-shield_label_description", - "description": "The description of the label" + "description": "The description of the label", + "type": "string" }, "metadata": { "$ref": "#/$defs/api-shield_label_metadata", "description": "Metadata for the label" }, "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The name of the label" + "description": "The name of the label", + "type": "string" } }, "required": [ @@ -33,8 +33,8 @@ export const api$$shield_label_request: JsonSchema = { export const api$$shield_patch_label_request: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/api-shield_label_description", - "description": "The description of the label" + "description": "The description of the label", + "type": "string" }, "metadata": { "$ref": "#/$defs/api-shield_label_metadata", @@ -50,8 +50,8 @@ export const api$$shield_patch_label_request: JsonSchema = { export const api$$shield_put_label_request: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/api-shield_label_description", - "description": "The description of the label" + "description": "The description of the label", + "type": "string" }, "metadata": { "$ref": "#/$defs/api-shield_label_metadata", diff --git a/src/generated/forge-mcp/webAssets/labels/user/tools.ts b/src/generated/forge-mcp/webAssets/labels/user/tools.ts index c005f444f..28e010cc9 100644 --- a/src/generated/forge-mcp/webAssets/labels/user/tools.ts +++ b/src/generated/forge-mcp/webAssets/labels/user/tools.ts @@ -7,25 +7,12 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_messages, - api$$shield_timestamp, - api$$shield_timestamp$$2, } from "../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, -} from "../../../schemas.js"; import { api$$shield_label, - api$$shield_label_description, api$$shield_label_metadata, - api$$shield_label_name, - api$$shield_label_source, } from "../../outputs.js"; -import { - api$$shield_label_description as api$$shield_label_description$, - api$$shield_label_metadata as api$$shield_label_metadata$, - api$$shield_label_name as api$$shield_label_name$, -} from "../../schemas.js"; +import { api$$shield_label_metadata as api$$shield_label_metadata$ } from "../../schemas.js"; import { api$$shield_full_label, api$$shield_label_mapped_resources, @@ -43,7 +30,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_user_bulkCreate", title: "Create user-defined operation labels", - description: "Creates one or more user-defined labels for classifying web and API operations.", + description: "Creates one or more user-defined labels for classifying web and API operations.\n\nPOST /zones/{zone_id}/api_gateway/labels/user", inputSchema: { type: "object", properties: { @@ -54,9 +41,18 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -69,12 +65,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_description": api$$shield_label_description$, "api-shield_label_metadata": api$$shield_label_metadata$, - "api-shield_label_name": api$$shield_label_name$, "api-shield_label_request": api$$shield_label_request, }, }, @@ -102,13 +95,8 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -158,13 +146,8 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ @@ -175,20 +158,30 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_user_bulkDelete", title: "Delete user-defined operation labels", - description: "Deletes one or more user-defined labels and removes their associations with web and API operations.\n\nConfirm with the user before calling this tool. This operation deletes the selected user-defined labels and removes them from associated web and API operations.", + description: "Deletes one or more user-defined labels and removes their associations with web and API operations.\n\nConfirm with the user before calling this tool. This operation deletes the selected user-defined labels and removes them from associated web and API operations.\n\nDELETE /zones/{zone_id}/api_gateway/labels/user", inputSchema: { type: "object", properties: { "body": { "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -201,11 +194,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -231,13 +220,8 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -287,13 +271,8 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ @@ -304,18 +283,27 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_user_delete", title: "Delete a user-defined operation label", - description: "Deletes a user-defined label and removes its associations with web and API operations.\n\nConfirm with the user before calling this tool. This operation deletes the user-defined label and removes it from associated web and API operations.", + description: "Deletes a user-defined label and removes its associations with web and API operations.\n\nConfirm with the user before calling this tool. This operation deletes the user-defined label and removes it from associated web and API operations.\n\nDELETE /zones/{zone_id}/api_gateway/labels/user/{name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" + "description": "The label name", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -328,11 +316,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -354,13 +338,8 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -406,13 +385,8 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ @@ -422,7 +396,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_user_edit", title: "Edit a user-defined operation label", - description: "Updates only the supplied fields on a user-defined label.", + description: "Updates only the supplied fields on a user-defined label.\n\nPATCH /zones/{zone_id}/api_gateway/labels/user/{name}", inputSchema: { type: "object", properties: { @@ -430,13 +404,22 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_patch_label_request" }, "path": { + "additionalProperties": false, "properties": { "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" + "description": "The label name", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -450,12 +433,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_description": api$$shield_label_description$, "api-shield_label_metadata": api$$shield_label_metadata$, - "api-shield_label_name": api$$shield_label_name$, "api-shield_patch_label_request": api$$shield_patch_label_request, }, }, @@ -479,13 +459,8 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -531,13 +506,8 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ @@ -548,18 +518,27 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_user_get", title: "Get a user-defined operation label", - description: "Returns a user-defined label and the web and API operations associated with it.", + description: "Returns a user-defined label and the web and API operations associated with it.\n\nGET /zones/{zone_id}/api_gateway/labels/user/{name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" + "description": "The label name", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -569,6 +548,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "with_mapped_resource_counts": { "default": false, @@ -582,11 +562,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -609,14 +585,9 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_full_label": api$$shield_full_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -665,14 +636,9 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_full_label": api$$shield_full_label, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_mapped_resources": api$$shield_label_mapped_resources, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ @@ -685,7 +651,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_labels_user_update", title: "Update a user-defined operation label", - description: "Replaces all editable fields on a user-defined label.", + description: "Replaces all editable fields on a user-defined label.\n\nPUT /zones/{zone_id}/api_gateway/labels/user/{name}", inputSchema: { type: "object", properties: { @@ -693,13 +659,22 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_put_label_request" }, "path": { + "additionalProperties": false, "properties": { "name": { - "$ref": "#/$defs/api-shield_label_name", - "description": "The label name" + "description": "The label name", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -713,12 +688,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_description": api$$shield_label_description$, "api-shield_label_metadata": api$$shield_label_metadata$, - "api-shield_label_name": api$$shield_label_name$, "api-shield_put_label_request": api$$shield_put_label_request, }, }, @@ -742,13 +714,8 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, annotations: { @@ -794,13 +761,8 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/operations/labels/schemas.ts b/src/generated/forge-mcp/webAssets/operations/labels/schemas.ts index 3968c0bfc..2de058d55 100644 --- a/src/generated/forge-mcp/webAssets/operations/labels/schemas.ts +++ b/src/generated/forge-mcp/webAssets/operations/labels/schemas.ts @@ -13,7 +13,8 @@ export const api$$shield_bulk_delete_labels_on_operation_request: JsonSchema = { "labels": { "description": "List of managed label names.", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "type": "array" } @@ -29,7 +30,8 @@ export const api$$shield_bulk_delete_labels_on_operation_request: JsonSchema = { "labels": { "description": "List of user label names.", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "type": "array" } @@ -53,7 +55,8 @@ export const api$$shield_bulk_post_labels_on_operation_request: JsonSchema = { "labels": { "description": "List of managed label names.", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "minItems": 1, "type": "array" @@ -70,7 +73,8 @@ export const api$$shield_bulk_post_labels_on_operation_request: JsonSchema = { "labels": { "description": "List of user label names.", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "minItems": 1, "type": "array" @@ -96,7 +100,8 @@ export const api$$shield_bulk_put_labels_on_operation_request: JsonSchema = { "labels": { "description": "List of managed label names. Providing an empty array will result in all managed labels being removed from all affected operations", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "type": "array" } @@ -116,7 +121,8 @@ export const api$$shield_bulk_put_labels_on_operation_request: JsonSchema = { "labels": { "description": "List of user label names. Providing an empty array will result in all user labels being removed from all affected operations", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "type": "array" } @@ -143,14 +149,16 @@ export const api$$shield_delete_labels_on_operation_request: JsonSchema = { "managed": { "description": "List of managed label names.", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "type": "array" }, "user": { "description": "List of user label names.", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "type": "array" } @@ -166,7 +174,8 @@ export const api$$shield_post_labels_on_operation_request: JsonSchema = { "managed": { "description": "List of managed label names.", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "minItems": 1, "type": "array" @@ -174,7 +183,8 @@ export const api$$shield_post_labels_on_operation_request: JsonSchema = { "user": { "description": "List of user label names.", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "minItems": 1, "type": "array" @@ -191,14 +201,16 @@ export const api$$shield_put_labels_on_operation_request: JsonSchema = { "managed": { "description": "List of managed label names. Omitting this property or passing an empty array will result in all managed labels being removed from the operation", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "type": "array" }, "user": { "description": "List of user label names. Omitting this property or passing an empty array will result in all user labels being removed from the operation", "items": { - "$ref": "#/$defs/api-shield_label_name" + "description": "The name of the label", + "type": "string" }, "type": "array" } diff --git a/src/generated/forge-mcp/webAssets/operations/labels/tools.ts b/src/generated/forge-mcp/webAssets/operations/labels/tools.ts index dfd8958b0..d9e9cb5e5 100644 --- a/src/generated/forge-mcp/webAssets/operations/labels/tools.ts +++ b/src/generated/forge-mcp/webAssets/operations/labels/tools.ts @@ -6,33 +6,14 @@ import { api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, api$$shield_basic_operation, - api$$shield_endpoint, - api$$shield_host, api$$shield_messages, - api$$shield_method, api$$shield_standard_operation, - api$$shield_timestamp, - api$$shield_timestamp$$2, - api$$shield_uuid, - api$$shield_uuid$$2, } from "../../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_uuid as api$$shield_uuid$, - api$$shield_uuid$$2 as api$$shield_uuid$$2$, -} from "../../../schemas.js"; import { api$$shield_label, - api$$shield_label_description, api$$shield_label_metadata, - api$$shield_label_name, - api$$shield_label_source, } from "../../outputs.js"; -import { - api$$shield_label_name as api$$shield_label_name$, - api$$shield_operation_id_selector, -} from "../../schemas.js"; +import { api$$shield_operation_id_selector } from "../../schemas.js"; import { api$$shield_operation_with_labels_only } from "./outputs.js"; import { api$$shield_bulk_delete_labels_on_operation_request, @@ -50,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_labels_bulkCreate", title: "Attach labels to web or API operations", - description: "Attaches labels to multiple web or API operations in one request.", + description: "Attaches labels to multiple web or API operations in one request.\n\nPOST /zones/{zone_id}/api_gateway/operations/labels", inputSchema: { type: "object", properties: { @@ -58,9 +39,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_bulk_post_labels_on_operation_request" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -73,14 +63,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_bulk_post_labels_on_operation_request": api$$shield_bulk_post_labels_on_operation_request, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, "api-shield_operation_id_selector": api$$shield_operation_id_selector, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -106,21 +92,11 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -169,21 +145,11 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -194,7 +160,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_labels_bulkDelete", title: "Remove labels from web or API operations", - description: "Removes labels from multiple web or API operations in one request.\n\nConfirm with the user before calling this tool. This operation removes the selected labels from the selected web and API operations.", + description: "Removes labels from multiple web or API operations in one request.\n\nConfirm with the user before calling this tool. This operation removes the selected labels from the selected web and API operations.\n\nDELETE /zones/{zone_id}/api_gateway/operations/labels", inputSchema: { type: "object", properties: { @@ -202,9 +168,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_bulk_delete_labels_on_operation_request" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -217,14 +192,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_bulk_delete_labels_on_operation_request": api$$shield_bulk_delete_labels_on_operation_request, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, "api-shield_operation_id_selector": api$$shield_operation_id_selector, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -250,21 +221,11 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -313,21 +274,11 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -338,7 +289,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_labels_bulkUpdate", title: "Replace labels on web or API operations", - description: "Replaces the complete label sets on multiple web or API operations in one request.", + description: "Replaces the complete label sets on multiple web or API operations in one request.\n\nPUT /zones/{zone_id}/api_gateway/operations/labels", inputSchema: { type: "object", properties: { @@ -346,9 +297,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_bulk_put_labels_on_operation_request" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -361,14 +321,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_bulk_put_labels_on_operation_request": api$$shield_bulk_put_labels_on_operation_request, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, "api-shield_operation_id_selector": api$$shield_operation_id_selector, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -394,21 +350,11 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -457,21 +403,11 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -482,7 +418,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_labels_create", title: "Attach labels to a web or API operation", - description: "Attaches one or more labels to a web or API operation.", + description: "Attaches one or more labels to a web or API operation.\n\nPOST /zones/{zone_id}/api_gateway/operations/{operation_id}/labels", inputSchema: { type: "object", properties: { @@ -490,13 +426,22 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_post_labels_on_operation_request" }, "path": { + "additionalProperties": false, "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" + "description": "Identifier for the operation", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -510,12 +455,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, "api-shield_post_labels_on_operation_request": api$$shield_post_labels_on_operation_request, - "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { @@ -538,21 +480,11 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -598,21 +530,11 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -623,7 +545,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_labels_delete", title: "Remove labels from a web or API operation", - description: "Removes one or more labels from a web or API operation.\n\nConfirm with the user before calling this tool. This operation removes the selected labels from the web or API operation.", + description: "Removes one or more labels from a web or API operation.\n\nConfirm with the user before calling this tool. This operation removes the selected labels from the web or API operation.\n\nDELETE /zones/{zone_id}/api_gateway/operations/{operation_id}/labels", inputSchema: { type: "object", properties: { @@ -631,13 +553,22 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_delete_labels_on_operation_request" }, "path": { + "additionalProperties": false, "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" + "description": "Identifier for the operation", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -651,12 +582,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_delete_labels_on_operation_request": api$$shield_delete_labels_on_operation_request, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, - "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { @@ -679,21 +607,11 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -739,21 +657,11 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -764,7 +672,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_labels_update", title: "Replace labels on a web or API operation", - description: "Replaces the complete label set on a web or API operation.", + description: "Replaces the complete label set on a web or API operation.\n\nPUT /zones/{zone_id}/api_gateway/operations/{operation_id}/labels", inputSchema: { type: "object", properties: { @@ -772,13 +680,22 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_put_labels_on_operation_request" }, "path": { + "additionalProperties": false, "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" + "description": "Identifier for the operation", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -792,12 +709,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_label_name": api$$shield_label_name$, "api-shield_put_labels_on_operation_request": api$$shield_put_labels_on_operation_request, - "api-shield_uuid": api$$shield_uuid$, }, }, outputSchema: { @@ -820,21 +734,11 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -880,21 +784,11 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, "api-shield_basic_operation": api$$shield_basic_operation, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_label": api$$shield_label, - "api-shield_label_description": api$$shield_label_description, "api-shield_label_metadata": api$$shield_label_metadata, - "api-shield_label_name": api$$shield_label_name, - "api-shield_label_source": api$$shield_label_source, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation_with_labels_only": api$$shield_operation_with_labels_only, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/operations/schemas.ts b/src/generated/forge-mcp/webAssets/operations/schemas.ts index ec5df3e13..f5313f2e6 100644 --- a/src/generated/forge-mcp/webAssets/operations/schemas.ts +++ b/src/generated/forge-mcp/webAssets/operations/schemas.ts @@ -14,7 +14,15 @@ export const api$$shield_object$$with$$operation$$id: JsonSchema = { "type": "string" }, { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] } ] } diff --git a/src/generated/forge-mcp/webAssets/operations/tools.ts b/src/generated/forge-mcp/webAssets/operations/tools.ts index 717a53e61..90e0e26a8 100644 --- a/src/generated/forge-mcp/webAssets/operations/tools.ts +++ b/src/generated/forge-mcp/webAssets/operations/tools.ts @@ -6,14 +6,9 @@ import { api$$shield_api$$response$$collection, api$$shield_api$$response$$common, api$$shield_api$$response$$common$$failure, - api$$shield_auth_id_tokens, api$$shield_basic_operation, api$$shield_confidence_intervals_bounds, - api$$shield_data_points, - api$$shield_endpoint, - api$$shield_host, api$$shield_messages, - api$$shield_method, api$$shield_operation, api$$shield_operation_feature_api_routing, api$$shield_operation_feature_confidence_intervals, @@ -21,29 +16,10 @@ import { api$$shield_operation_feature_schema_info, api$$shield_operation_feature_thresholds, api$$shield_operation_features, - api$$shield_p50, - api$$shield_p90, - api$$shield_p99, api$$shield_parameter_schemas_definition, - api$$shield_period_seconds, - api$$shield_requests, api$$shield_standard_operation, - api$$shield_suggested_threshold, - api$$shield_timestamp, - api$$shield_timestamp$$2, - api$$shield_uuid, - api$$shield_uuid$$2, } from "../../outputs.js"; -import { - api$$shield_basic_operation as api$$shield_basic_operation$, - api$$shield_endpoint as api$$shield_endpoint$, - api$$shield_host as api$$shield_host$, - api$$shield_identifier, - api$$shield_identifier$$2, - api$$shield_method as api$$shield_method$, - api$$shield_uuid as api$$shield_uuid$, - api$$shield_uuid$$2 as api$$shield_uuid$$2$, -} from "../../schemas.js"; +import { api$$shield_basic_operation as api$$shield_basic_operation$ } from "../../schemas.js"; import { api$$shield_multiple$$operation$$response, api$$shield_multiple$$operation$$response$$paginated, @@ -60,7 +36,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_bulkCreate", title: "Create web or API operations", - description: "Creates one or more web or API operations. Hosts, methods, and paths are normalized; an existing matching operation is returned instead of duplicated.", + description: "Creates one or more web or API operations. Hosts, methods, and paths are normalized; an existing matching operation is returned instead of duplicated.\n\nPOST /zones/{zone_id}/api_gateway/operations", inputSchema: { type: "object", properties: { @@ -71,9 +47,18 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -86,27 +71,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_basic_operation": api$$shield_basic_operation$, - "api-shield_endpoint": api$$shield_endpoint$, - "api-shield_host": api$$shield_host$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_method": api$$shield_method$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_multiple-operation-response", $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_multiple-operation-response": api$$shield_multiple$$operation$$response, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, @@ -115,18 +91,8 @@ export const tools: readonly Tool[] = [ "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, "api-shield_operation_features": api$$shield_operation_features, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -156,14 +122,9 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_multiple-operation-response": api$$shield_multiple$$operation$$response, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, @@ -172,18 +133,8 @@ export const tools: readonly Tool[] = [ "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, "api-shield_operation_features": api$$shield_operation_features, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -194,7 +145,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_bulkDelete", title: "Delete web or API operations", - description: "Deletes multiple web or API operations from endpoint management in one request.\n\nConfirm with the user before calling this tool. This operation deletes the selected web or API operations.", + description: "Deletes multiple web or API operations from endpoint management in one request.\n\nConfirm with the user before calling this tool. This operation deletes the selected web or API operations.\n\nDELETE /zones/{zone_id}/api_gateway/operations", inputSchema: { type: "object", properties: { @@ -205,9 +156,18 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -220,12 +180,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, "api-shield_object-with-operation-id": api$$shield_object$$with$$operation$$id, - "api-shield_uuid": api$$shield_uuid$, - "api-shield_uuid-2": api$$shield_uuid$$2$, }, }, outputSchema: { @@ -273,7 +230,7 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_create", title: "Create a web or API operation", - description: "Creates one web or API operation. The host, method, and path are normalized; an existing matching operation is returned instead of duplicated.", + description: "Creates one web or API operation. The host, method, and path are normalized; an existing matching operation is returned instead of duplicated.\n\nPOST /zones/{zone_id}/api_gateway/operations/item", inputSchema: { type: "object", properties: { @@ -281,9 +238,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/api-shield_basic_operation" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -296,27 +262,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "api-shield_basic_operation": api$$shield_basic_operation$, - "api-shield_endpoint": api$$shield_endpoint$, - "api-shield_host": api$$shield_host$, - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_method": api$$shield_method$, }, }, outputSchema: { "$ref": "#/$defs/api-shield_single-operation-response", $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, @@ -326,19 +283,9 @@ export const tools: readonly Tool[] = [ "api-shield_operation_features": api$$shield_operation_features, "api-shield_operation_schema_fragment": api$$shield_operation_schema_fragment, "api-shield_operation_schemas": api$$shield_operation_schemas, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_single-operation-response": api$$shield_single$$operation$$response, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -368,14 +315,9 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, @@ -385,19 +327,9 @@ export const tools: readonly Tool[] = [ "api-shield_operation_features": api$$shield_operation_features, "api-shield_operation_schema_fragment": api$$shield_operation_schema_fragment, "api-shield_operation_schemas": api$$shield_operation_schemas, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_single-operation-response": api$$shield_single$$operation$$response, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -408,18 +340,27 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_delete", title: "Delete a web or API operation", - description: "Deletes a web or API operation from endpoint management so its feature configuration is no longer tracked.\n\nConfirm with the user before calling this tool. This operation deletes the web or API operation.", + description: "Deletes a web or API operation from endpoint management so its feature configuration is no longer tracked.\n\nConfirm with the user before calling this tool. This operation deletes the web or API operation.\n\nDELETE /zones/{zone_id}/api_gateway/operations/{operation_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" + "description": "Identifier for the operation", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -432,11 +373,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_api-response-common", @@ -482,18 +419,27 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_get", title: "Get a web or API operation", - description: "Returns a web or API operation, including its schema validation settings and requested feature data.", + description: "Returns a web or API operation, including its schema validation settings and requested feature data.\n\nGET /zones/{zone_id}/api_gateway/operations/{operation_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "operation_id": { - "$ref": "#/$defs/api-shield_uuid", - "description": "Identifier for the operation" + "description": "Identifier for the operation", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -503,6 +449,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "feature": { "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", @@ -529,24 +476,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - "api-shield_uuid": api$$shield_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_single-operation-response", $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, @@ -556,19 +494,9 @@ export const tools: readonly Tool[] = [ "api-shield_operation_features": api$$shield_operation_features, "api-shield_operation_schema_fragment": api$$shield_operation_schema_fragment, "api-shield_operation_schemas": api$$shield_operation_schemas, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_single-operation-response": api$$shield_single$$operation$$response, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -600,14 +528,9 @@ export const tools: readonly Tool[] = [ $defs: { "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, "api-shield_operation_feature_confidence_intervals": api$$shield_operation_feature_confidence_intervals, @@ -617,19 +540,9 @@ export const tools: readonly Tool[] = [ "api-shield_operation_features": api$$shield_operation_features, "api-shield_operation_schema_fragment": api$$shield_operation_schema_fragment, "api-shield_operation_schemas": api$$shield_operation_schemas, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_single-operation-response": api$$shield_single$$operation$$response, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ @@ -643,14 +556,23 @@ export const tools: readonly Tool[] = [ { name: "webAssets_operations_list", title: "List web and API operations", - description: "Lists web and API operations tracked for the zone, including each operation's method, path, and feature configuration.", + description: "Lists web and API operations tracked for the zone, including each operation's method, path, and feature configuration.\n\nGET /zones/{zone_id}/api_gateway/operations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -659,6 +581,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Direction to order results.", @@ -726,24 +649,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_multiple-operation-response-paginated", $defs: { "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_multiple-operation-response-paginated": api$$shield_multiple$$operation$$response$$paginated, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, @@ -752,18 +667,8 @@ export const tools: readonly Tool[] = [ "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, "api-shield_operation_features": api$$shield_operation_features, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, annotations: { @@ -796,14 +701,9 @@ export const tools: readonly Tool[] = [ "api-shield_api-response-collection": api$$shield_api$$response$$collection, "api-shield_api-response-common": api$$shield_api$$response$$common, "api-shield_api-response-common-failure": api$$shield_api$$response$$common$$failure, - "api-shield_auth_id_tokens": api$$shield_auth_id_tokens, "api-shield_basic_operation": api$$shield_basic_operation, "api-shield_confidence_intervals_bounds": api$$shield_confidence_intervals_bounds, - "api-shield_data_points": api$$shield_data_points, - "api-shield_endpoint": api$$shield_endpoint, - "api-shield_host": api$$shield_host, "api-shield_messages": api$$shield_messages, - "api-shield_method": api$$shield_method, "api-shield_multiple-operation-response-paginated": api$$shield_multiple$$operation$$response$$paginated, "api-shield_operation": api$$shield_operation, "api-shield_operation_feature_api_routing": api$$shield_operation_feature_api_routing, @@ -812,18 +712,8 @@ export const tools: readonly Tool[] = [ "api-shield_operation_feature_schema_info": api$$shield_operation_feature_schema_info, "api-shield_operation_feature_thresholds": api$$shield_operation_feature_thresholds, "api-shield_operation_features": api$$shield_operation_features, - "api-shield_p50": api$$shield_p50, - "api-shield_p90": api$$shield_p90, - "api-shield_p99": api$$shield_p99, "api-shield_parameter_schemas_definition": api$$shield_parameter_schemas_definition, - "api-shield_period_seconds": api$$shield_period_seconds, - "api-shield_requests": api$$shield_requests, "api-shield_standard_operation": api$$shield_standard_operation, - "api-shield_suggested_threshold": api$$shield_suggested_threshold, - "api-shield_timestamp": api$$shield_timestamp, - "api-shield_timestamp-2": api$$shield_timestamp$$2, - "api-shield_uuid": api$$shield_uuid, - "api-shield_uuid-2": api$$shield_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/webAssets/outputs.ts b/src/generated/forge-mcp/webAssets/outputs.ts index a0f94f153..7344c0d6e 100644 --- a/src/generated/forge-mcp/webAssets/outputs.ts +++ b/src/generated/forge-mcp/webAssets/outputs.ts @@ -9,22 +9,42 @@ import type { JsonSchema } from "../_/tool.js"; export const api$$shield_label: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "description": { - "$ref": "#/$defs/api-shield_label_description" + "type": "string" }, "last_updated": { - "$ref": "#/$defs/api-shield_timestamp-2" + "allOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "string" + } + ] }, "metadata": { "$ref": "#/$defs/api-shield_label_metadata" }, "name": { - "$ref": "#/$defs/api-shield_label_name" + "type": "string" }, "source": { - "$ref": "#/$defs/api-shield_label_source" + "enum": [ + "user", + "managed" + ], + "type": "string" } }, "required": [ @@ -38,34 +58,9 @@ export const api$$shield_label: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_label_description` in responses. - */ -export const api$$shield_label_description: JsonSchema = { - "type": "string" -}; - /** * The schema of `api-shield_label_metadata` in responses. */ export const api$$shield_label_metadata: JsonSchema = { "type": "object" }; - -/** - * The schema of `api-shield_label_name` in responses. - */ -export const api$$shield_label_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `api-shield_label_source` in responses. - */ -export const api$$shield_label_source: JsonSchema = { - "enum": [ - "user", - "managed" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/webAssets/schemas.ts b/src/generated/forge-mcp/webAssets/schemas.ts index d236a0536..2ff0358ca 100644 --- a/src/generated/forge-mcp/webAssets/schemas.ts +++ b/src/generated/forge-mcp/webAssets/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `api-shield_label_description`. - */ -export const api$$shield_label_description: JsonSchema = { - "description": "The description of the label", - "type": "string" -}; - /** * The schema of `api-shield_label_metadata`. */ @@ -19,26 +11,6 @@ export const api$$shield_label_metadata: JsonSchema = { "type": "object" }; -/** - * The schema of `api-shield_label_name`. - */ -export const api$$shield_label_name: JsonSchema = { - "description": "The name of the label", - "type": "string" -}; - -/** - * The schema of `api-shield_label_source`. - */ -export const api$$shield_label_source: JsonSchema = { - "description": "* `user` - label is owned by the user\n* `managed` - label is owned by cloudflare\n", - "enum": [ - "user", - "managed" - ], - "type": "string" -}; - /** * The schema of `api-shield_operation_id_selector`. */ @@ -49,7 +21,15 @@ export const api$$shield_operation_id_selector: JsonSchema = { "properties": { "operation_ids": { "items": { - "$ref": "#/$defs/api-shield_uuid-2" + "allOf": [ + { + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] }, "minItems": 1, "type": "array" diff --git a/src/generated/forge-mcp/webAssets/schemas/tools.ts b/src/generated/forge-mcp/webAssets/schemas/tools.ts index 56b345e77..4eaf04869 100644 --- a/src/generated/forge-mcp/webAssets/schemas/tools.ts +++ b/src/generated/forge-mcp/webAssets/schemas/tools.ts @@ -7,10 +7,6 @@ import { api$$shield_api$$response$$common$$failure, api$$shield_messages, } from "../../outputs.js"; -import { - api$$shield_identifier, - api$$shield_identifier$$2, -} from "../../schemas.js"; import { api$$shield_openapi$$with$$thresholds, api$$shield_schema$$response$$with$$thresholds, @@ -23,14 +19,23 @@ export const tools: readonly Tool[] = [ { name: "webAssets_schemas_list", title: "Export web and API operations as OpenAPI schemas", - description: "Returns tracked web and API operations and their feature configuration rendered as OpenAPI schemas.", + description: "Returns tracked web and API operations and their feature configuration rendered as OpenAPI schemas.\n\nGET /zones/{zone_id}/api_gateway/schemas", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/api-shield_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -39,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "feature": { "description": "Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning.", @@ -77,10 +83,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "api-shield_identifier": api$$shield_identifier, - "api-shield_identifier-2": api$$shield_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/api-shield_schema-response-with-thresholds", diff --git a/src/generated/forge-mcp/workers/accountSettings/tools.ts b/src/generated/forge-mcp/workers/accountSettings/tools.ts index 74d4c60b8..16c9943a3 100644 --- a/src/generated/forge-mcp/workers/accountSettings/tools.ts +++ b/src/generated/forge-mcp/workers/accountSettings/tools.ts @@ -7,7 +7,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../outputs.js"; -import { workers_identifier } from "../../schemas.js"; import { workers_account$$settings } from "./outputs.js"; import { workers_account$$settings as workers_account$$settings$ } from "./schemas.js"; @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "workers_accountSettings_get", title: "Fetch Workers Account Settings", - description: "Fetches Workers account settings for an account.", + description: "Fetches Workers account settings for an account.\n\nGET /accounts/{account_id}/workers/account-settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -38,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -148,7 +146,7 @@ export const tools: readonly Tool[] = [ { name: "workers_accountSettings_update", title: "Configure Workers Account Settings", - description: "Configure Workers account settings for an account.", + description: "Configure Workers account settings for an account.\n\nPUT /accounts/{account_id}/workers/account-settings", inputSchema: { type: "object", properties: { @@ -156,10 +154,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_account-settings" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -172,9 +171,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_account-settings": workers_account$$settings$, - "workers_identifier": workers_identifier, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/workers/assets/upload/tools.ts b/src/generated/forge-mcp/workers/assets/upload/tools.ts index cbda33ad6..f188d9a79 100644 --- a/src/generated/forge-mcp/workers/assets/upload/tools.ts +++ b/src/generated/forge-mcp/workers/assets/upload/tools.ts @@ -10,9 +10,7 @@ import { } from "../../../outputs.js"; import { workers_create$$assets$$upload$$session$$object, - workers_identifier, workers_manifest$$value, - workers_script_name, } from "../../../schemas.js"; /** @@ -22,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "workers_assets_upload_createSession", title: "Create Worker Assets Upload Session", - description: "Start uploading a collection of assets for use in a Worker version. To learn more about the direct uploads of assets, see https://developers.cloudflare.com/workers/static-assets/direct-upload/.", + description: "Start uploading a collection of assets for use in a Worker version. To learn more about the direct uploads of assets, see https://developers.cloudflare.com/workers/static-assets/direct-upload/.\n\nPOST /accounts/{account_id}/workers/scripts/{script_name}/assets-upload-session", inputSchema: { type: "object", properties: { @@ -30,14 +28,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_create-assets-upload-session-object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -51,11 +50,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_create-assets-upload-session-object": workers_create$$assets$$upload$$session$$object, - "workers_identifier": workers_identifier, "workers_manifest-value": workers_manifest$$value, - "workers_script_name": workers_script_name, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/workers/deployments/tools.ts b/src/generated/forge-mcp/workers/deployments/tools.ts index 2a97c6131..3a975b710 100644 --- a/src/generated/forge-mcp/workers/deployments/tools.ts +++ b/src/generated/forge-mcp/workers/deployments/tools.ts @@ -9,11 +9,7 @@ import { workers_code_update_strategy, workers_messages, } from "../../outputs.js"; -import { - workers_code_update_strategy as workers_code_update_strategy$, - workers_identifier, - workers_script_name, -} from "../../schemas.js"; +import { workers_code_update_strategy as workers_code_update_strategy$ } from "../../schemas.js"; import { workers_deployment } from "./outputs.js"; import { workers_deployment as workers_deployment$ } from "./schemas.js"; @@ -24,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "workers_deployments_create", title: "Create Worker Deployment", - description: "Deployments configure how [Worker Versions](https://developers.cloudflare.com/api/operations/worker-versions-list-versions) are deployed to traffic. A deployment can consist of multiple versions of a Worker.", + description: "Deployments configure how [Worker Versions](https://developers.cloudflare.com/api/operations/worker-versions-list-versions) are deployed to traffic. A deployment can consist of multiple versions of a Worker.\n\nPOST /accounts/{account_id}/workers/scripts/{script_name}/deployments", inputSchema: { type: "object", properties: { @@ -32,14 +28,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_deployment" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -49,6 +46,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "force": { "description": "If set to true, the deployment will be created even if normally blocked by something such rolling back to an older version when a secret has changed.", @@ -62,11 +60,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_code_update_strategy": workers_code_update_strategy$, "workers_deployment": workers_deployment$, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, }, }, outputSchema: { @@ -154,23 +151,24 @@ export const tools: readonly Tool[] = [ { name: "workers_deployments_delete", title: "Delete Worker Deployment", - description: "Delete a Worker Deployment. The latest deployment, which is actively serving traffic, cannot be deleted. All other deployments can be deleted.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker deployment.", + description: "Delete a Worker Deployment. The latest deployment, which is actively serving traffic, cannot be deleted. All other deployments can be deleted.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker deployment.\n\nDELETE /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "deployment_id": { "format": "uuid", "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -184,10 +182,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-common", @@ -235,23 +230,24 @@ export const tools: readonly Tool[] = [ { name: "workers_deployments_get", title: "Get Worker Deployment", - description: "Get information about a Worker Deployment.", + description: "Get information about a Worker Deployment.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/deployments/{deployment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "deployment_id": { "format": "uuid", "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -265,10 +261,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -357,19 +350,20 @@ export const tools: readonly Tool[] = [ { name: "workers_deployments_list", title: "List Worker Deployments", - description: "List Worker deployments. The first deployment in the list is the latest deployment actively serving traffic.", + description: "List Worker deployments. The first deployment in the list is the latest deployment actively serving traffic.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/deployments", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -379,6 +373,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -407,10 +402,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/workers/domains/tools.ts b/src/generated/forge-mcp/workers/domains/tools.ts index e3fb13165..1aa3a5c36 100644 --- a/src/generated/forge-mcp/workers/domains/tools.ts +++ b/src/generated/forge-mcp/workers/domains/tools.ts @@ -8,7 +8,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../outputs.js"; -import { workers_identifier } from "../../schemas.js"; import { workers_Domain } from "./outputs.js"; /** @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "workers_domains_delete", title: "Detach Worker Domain", - description: "Detaches a domain from a Worker. Both the Worker and all of its previews are no longer routable using this domain.\n\nConfirm with the user before calling this tool. This will stop routing traffic on this domain to the Worker.", + description: "Detaches a domain from a Worker. Both the Worker and all of its previews are no longer routable using this domain.\n\nConfirm with the user before calling this tool. This will stop routing traffic on this domain to the Worker.\n\nDELETE /accounts/{account_id}/workers/domains/{domain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "domain_id": { "description": "ID of the domain.", @@ -43,9 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-common", @@ -93,15 +91,16 @@ export const tools: readonly Tool[] = [ { name: "workers_domains_get", title: "Get Worker Domain", - description: "Gets information about a Worker domain.", + description: "Gets information about a Worker domain.\n\nGET /accounts/{account_id}/workers/domains/{domain_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "domain_id": { "description": "ID of the domain.", @@ -118,9 +117,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -201,15 +198,16 @@ export const tools: readonly Tool[] = [ { name: "workers_domains_list", title: "List Worker Domains", - description: "Lists all Worker domains for an account.", + description: "Lists all Worker domains for an account.\n\nGET /accounts/{account_id}/workers/domains", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -218,6 +216,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "enabled": { "description": "Whether the configured hostname is routable for the domain.", @@ -255,9 +254,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -355,7 +352,7 @@ export const tools: readonly Tool[] = [ { name: "workers_domains_update", title: "Attach Worker Domain", - description: "Attaches a domain that routes traffic to a Worker.", + description: "Attaches a domain that routes traffic to a Worker.\n\nPUT /accounts/{account_id}/workers/domains", inputSchema: { type: "object", properties: { @@ -399,10 +396,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -415,9 +413,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts index 16161bdd1..2dd367998 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/content/tools.ts @@ -6,10 +6,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../../../outputs.js"; -import { - workers_identifier, - workers_script_name, -} from "../../../../schemas.js"; /** * The tools of `workers.legacy.scripts.content`. @@ -18,19 +14,20 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_content_get", title: "Get Worker Script Content", - description: "Fetch Worker script content only.\n\nThis method is deprecated.", + description: "Fetch Worker script content only.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/content/v2", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -43,10 +40,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts index 1a3b55d42..a4fca6447 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/outputs.ts @@ -41,7 +41,7 @@ export const workers_script$$and$$version$$settings$$item: JsonSchema = { "compatibility_date": { "allOf": [ { - "$ref": "#/$defs/workers_compatibility_date" + "type": "string" }, { "type": "string" @@ -71,7 +71,7 @@ export const workers_script$$and$$version$$settings$$item: JsonSchema = { "$ref": "#/$defs/workers_limits" }, "logpush": { - "$ref": "#/$defs/workers_logpush" + "type": "boolean" }, "migrations": { "oneOf": [ @@ -116,7 +116,12 @@ export const workers_script$$and$$version$$settings$$item: JsonSchema = { ] }, "usage_model": { - "$ref": "#/$defs/workers_usage_model" + "enum": [ + "standard", + "bundled", + "unbound" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts index c4446efae..4b72b15ac 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/scriptAndVersionSettings/tools.ts @@ -44,11 +44,8 @@ import { workers_binding_kind_vpc_service, workers_binding_kind_wasm_module, workers_binding_kind_workflow, - workers_binding_name, workers_bindings, workers_cache_options, - workers_compatibility_date, - workers_compatibility_flag, workers_compatibility_flags, workers_durable_object_deleted_export, workers_durable_object_expecting_transfer_export, @@ -58,37 +55,27 @@ import { workers_durable_object_transferred_export, workers_entrypoint_cache_options, workers_export_config, - workers_export_storage, workers_exports_config_map, workers_exports_reconciliation_info, workers_exports_reconciliation_rename, workers_exports_reconciliation_result, - workers_exports_reconciliation_scenario, workers_exports_reconciliation_transfer, workers_exports_reconciliation_transfer_pending, workers_exports_reconciliation_warning, workers_limits, - workers_logpush, workers_messages, workers_migration_step, workers_migration_tag_conditions, workers_multiple_step_migrations, - workers_namespace_identifier, workers_observability$$2, workers_placement_info_no_status, workers_placement_target, workers_single_step_migrations, - workers_tag, workers_tags, workers_tail_consumers, workers_tail_consumers_script, - workers_usage_model, workers_worker_export, } from "../../../../outputs.js"; -import { - workers_identifier, - workers_script_name, -} from "../../../../schemas.js"; import { workers_script$$and$$version$$settings$$item, workers_script$$and$$version$$settings$$response, @@ -101,19 +88,20 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_scriptAndVersionSettings_get", title: "Get Worker Script and Version Settings", - description: "Get Worker script metadata and config, such as bindings or usage model.\n\nThis method is deprecated.", + description: "Get Worker script metadata and config, such as bindings or usage model.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -126,10 +114,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_script-and-version-settings-response", @@ -174,11 +159,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, @@ -188,33 +170,27 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, "workers_limits": workers_limits, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_observability-2": workers_observability$$2, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_script-and-version-settings-item": workers_script$$and$$version$$settings$$item, "workers_script-and-version-settings-response": workers_script$$and$$version$$settings$$response, "workers_single_step_migrations": workers_single_step_migrations, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, @@ -296,11 +272,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, @@ -310,33 +283,27 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, "workers_limits": workers_limits, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_observability-2": workers_observability$$2, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_script-and-version-settings-item": workers_script$$and$$version$$settings$$item, "workers_script-and-version-settings-response": workers_script$$and$$version$$settings$$response, "workers_single_step_migrations": workers_single_step_migrations, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts index d8d71d970..5ea17af02 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/settings/outputs.ts @@ -9,7 +9,7 @@ import type { JsonSchema } from "../../../../_/tool.js"; export const workers_script$$settings$$item: JsonSchema = { "properties": { "logpush": { - "$ref": "#/$defs/workers_logpush" + "type": "boolean" }, "observability": { "$ref": "#/$defs/workers_observability-2" @@ -23,7 +23,7 @@ export const workers_script$$settings$$item: JsonSchema = { "oneOf": [ { "items": { - "$ref": "#/$defs/workers_tag" + "type": "string" }, "type": "array" }, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/settings/schemas.ts b/src/generated/forge-mcp/workers/legacy/scripts/settings/schemas.ts index 3de1f246d..6f79d3086 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/settings/schemas.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/settings/schemas.ts @@ -9,9 +9,9 @@ import type { JsonSchema } from "../../../../_/tool.js"; export const workers_script$$settings$$item: JsonSchema = { "properties": { "logpush": { - "$ref": "#/$defs/workers_logpush", "default": false, - "description": "Whether Logpush is turned on for the Worker." + "description": "Whether Logpush is turned on for the Worker.", + "type": "boolean" }, "observability": { "$ref": "#/$defs/workers_observability-2" @@ -25,7 +25,7 @@ export const workers_script$$settings$$item: JsonSchema = { "oneOf": [ { "items": { - "$ref": "#/$defs/workers_tag" + "type": "string" }, "type": "array" }, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts index 88cfa922b..34aa7136e 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/settings/tools.ts @@ -7,20 +7,13 @@ import { workers_api$$response$$common$$failure, workers_exports_reconciliation_error, workers_exports_reconciliation_error_response, - workers_exports_reconciliation_scenario, - workers_logpush, workers_messages, workers_observability$$2, - workers_tag, workers_tags, workers_tail_consumers_script, } from "../../../../outputs.js"; import { - workers_identifier, - workers_logpush as workers_logpush$, workers_observability$$2 as workers_observability$$2$, - workers_script_name, - workers_tag as workers_tag$, workers_tags as workers_tags$, workers_tail_consumers_script as workers_tail_consumers_script$, } from "../../../../schemas.js"; @@ -37,7 +30,7 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_settings_edit", title: "Patch Worker Script Settings", - description: "Patch Worker script-level settings when using [Worker Versions](https://developers.cloudflare.com/api/operations/worker-versions-list-versions). Including but not limited to Logpush and Tail Consumers.\n\nThis method is deprecated.", + description: "Patch Worker script-level settings when using [Worker Versions](https://developers.cloudflare.com/api/operations/worker-versions-list-versions). Including but not limited to Logpush and Tail Consumers.\n\nThis method is deprecated.\n\nPATCH /accounts/{account_id}/workers/scripts/{script_name}/script-settings", inputSchema: { type: "object", properties: { @@ -45,14 +38,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_script-settings-item" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -66,13 +60,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "workers_identifier": workers_identifier, - "workers_logpush": workers_logpush$, "workers_observability-2": workers_observability$$2$, "workers_script-settings-item": workers_script$$settings$$item$, - "workers_script_name": workers_script_name, - "workers_tag": workers_tag$, "workers_tags": workers_tags$, "workers_tail_consumers_script": workers_tail_consumers_script$, }, @@ -81,12 +72,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_script-settings-response", $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, "workers_observability-2": workers_observability$$2, "workers_script-settings-item": workers_script$$settings$$item, "workers_script-settings-response": workers_script$$settings$$response, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers_script": workers_tail_consumers_script, }, @@ -133,13 +122,10 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_exports_reconciliation_error": workers_exports_reconciliation_error, "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, "workers_observability-2": workers_observability$$2, "workers_script-settings-item": workers_script$$settings$$item, "workers_script-settings-response": workers_script$$settings$$response, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers_script": workers_tail_consumers_script, }, @@ -152,19 +138,20 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_settings_get", title: "Get Worker Script Settings", - description: "Get Worker script-level settings when using [Worker Versions](https://developers.cloudflare.com/api/operations/worker-versions-list-versions). Includes Logpush and Tail Consumers.\n\nThis method is deprecated.", + description: "Get Worker script-level settings when using [Worker Versions](https://developers.cloudflare.com/api/operations/worker-versions-list-versions). Includes Logpush and Tail Consumers.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/script-settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -177,21 +164,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_script-settings-response", $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, "workers_observability-2": workers_observability$$2, "workers_script-settings-item": workers_script$$settings$$item, "workers_script-settings-response": workers_script$$settings$$response, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers_script": workers_tail_consumers_script, }, @@ -235,12 +217,10 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, "workers_observability-2": workers_observability$$2, "workers_script-settings-item": workers_script$$settings$$item, "workers_script-settings-response": workers_script$$settings$$response, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers_script": workers_tail_consumers_script, }, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts index ac4066918..c804a51d0 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/subdomain/tools.ts @@ -7,10 +7,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../../../outputs.js"; -import { - workers_identifier, - workers_script_name, -} from "../../../../schemas.js"; import { workers_subdomain } from "./outputs.js"; /** @@ -20,7 +16,7 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_subdomain_create", title: "Update Worker Script Subdomain", - description: "Enable or disable a Worker script on the workers.dev subdomain.\n\nThis method is deprecated.", + description: "Enable or disable a Worker script on the workers.dev subdomain.\n\nThis method is deprecated.\n\nPOST /accounts/{account_id}/workers/scripts/{script_name}/subdomain", inputSchema: { type: "object", properties: { @@ -41,14 +37,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -62,10 +59,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -150,19 +144,20 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_subdomain_delete", title: "Delete Worker Script Subdomain", - description: "Disable all workers.dev subdomains for a Worker script.\n\nThis method is deprecated.\n\nConfirm with the user before calling this tool. This will disable all workers.dev subdomains for the Worker script.", + description: "Disable all workers.dev subdomains for a Worker script.\n\nThis method is deprecated.\n\nConfirm with the user before calling this tool. This will disable all workers.dev subdomains for the Worker script.\n\nDELETE /accounts/{account_id}/workers/scripts/{script_name}/subdomain", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -175,10 +170,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -262,19 +254,20 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_subdomain_get", title: "Get Worker Script Subdomain", - description: "Get whether a Worker script is available on the workers.dev subdomain.\n\nThis method is deprecated.", + description: "Get whether a Worker script is available on the workers.dev subdomain.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/subdomain", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -287,10 +280,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/workers/legacy/scripts/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/tools.ts index 8eeeafb17..38217d44c 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/tools.ts @@ -7,10 +7,7 @@ import { workers_api$$response$$common$$failure, workers_api$$response$$null$$result, workers_cache_options, - workers_compatibility_date, - workers_compatibility_flag, workers_compatibility_flags, - workers_created_on, workers_durable_object_deleted_export, workers_durable_object_expecting_transfer_export, workers_durable_object_export, @@ -18,33 +15,18 @@ import { workers_durable_object_renamed_export, workers_durable_object_transferred_export, workers_entrypoint_cache_options, - workers_etag, workers_export_config, - workers_export_storage, workers_exports_config_map, - workers_has_assets, - workers_has_modules, - workers_identifier, - workers_logpush, workers_messages, - workers_modified_on, workers_observability$$2, workers_placement_info, - workers_placement_mode, - workers_placement_status, workers_placement_target, workers_script$$response, - workers_tag, workers_tags, workers_tail_consumers, workers_tail_consumers_script, - workers_usage_model, workers_worker_export, } from "../../../outputs.js"; -import { - workers_identifier as workers_identifier$, - workers_script_name, -} from "../../../schemas.js"; import { workers_route } from "../../outputs.js"; import { workers_script$$response$$collection } from "./outputs.js"; @@ -55,19 +37,20 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_delete", title: "Delete Worker", - description: "Delete your worker. This call has no response body on a successful delete.\n\nThis method is deprecated.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker script.", + description: "Delete your worker. This call has no response body on a successful delete.\n\nThis method is deprecated.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker script.\n\nDELETE /accounts/{account_id}/workers/scripts/{script_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -77,6 +60,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "force": { "description": "If true, delete the Worker even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Worker are deleted even if other Workers reference them.", @@ -89,10 +73,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", @@ -147,19 +128,20 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_get", title: "Download Worker Script", - description: "Fetch raw content for a Worker script. Note this is the original script content, not JSON encoded.\n\nThis method is deprecated.", + description: "Fetch raw content for a Worker script. Note this is the original script content, not JSON encoded.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -172,10 +154,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -221,15 +200,16 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_list", title: "List Worker Scripts", - description: "Fetch a list of uploaded Worker scripts.\n\nThis method is deprecated.", + description: "Fetch a list of uploaded Worker scripts.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/workers/scripts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -238,6 +218,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "tags": { "description": "Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.", @@ -250,19 +231,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_script-response-collection", $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, - "workers_created_on": workers_created_on, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, "workers_durable_object_export": workers_durable_object_export, @@ -270,29 +246,18 @@ export const tools: readonly Tool[] = [ "workers_durable_object_renamed_export": workers_durable_object_renamed_export, "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, - "workers_etag": workers_etag, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, - "workers_has_assets": workers_has_assets, - "workers_has_modules": workers_has_modules, - "workers_identifier": workers_identifier, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_observability-2": workers_observability$$2, "workers_placement_info": workers_placement_info, - "workers_placement_mode": workers_placement_mode, - "workers_placement_status": workers_placement_status, "workers_placement_target": workers_placement_target, "workers_route": workers_route, "workers_script-response": workers_script$$response, "workers_script-response-collection": workers_script$$response$$collection, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, @@ -336,10 +301,7 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, - "workers_created_on": workers_created_on, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, "workers_durable_object_export": workers_durable_object_export, @@ -347,29 +309,18 @@ export const tools: readonly Tool[] = [ "workers_durable_object_renamed_export": workers_durable_object_renamed_export, "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, - "workers_etag": workers_etag, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, - "workers_has_assets": workers_has_assets, - "workers_has_modules": workers_has_modules, - "workers_identifier": workers_identifier, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_observability-2": workers_observability$$2, "workers_placement_info": workers_placement_info, - "workers_placement_mode": workers_placement_mode, - "workers_placement_status": workers_placement_status, "workers_placement_target": workers_placement_target, "workers_route": workers_route, "workers_script-response": workers_script$$response, "workers_script-response-collection": workers_script$$response$$collection, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts index e194be77c..56e683073 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/outputs.ts @@ -16,7 +16,12 @@ export const workers_usage$$model$$response: JsonSchema = { "result": { "properties": { "usage_model": { - "$ref": "#/$defs/workers_usage_model" + "enum": [ + "standard", + "bundled", + "unbound" + ], + "type": "string" }, "user_limits": { "$ref": "#/$defs/workers_user_limits" diff --git a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts index bd7495045..18bec2094 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/usageModel/tools.ts @@ -6,13 +6,7 @@ import { workers_api$$response$$common, workers_api$$response$$common$$failure, workers_messages, - workers_usage_model, } from "../../../../outputs.js"; -import { - workers_identifier, - workers_script_name, - workers_usage_model as workers_usage_model$, -} from "../../../../schemas.js"; import { workers_usage$$model$$response, workers_user_limits, @@ -26,19 +20,20 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_usageModel_get", title: "Get Worker Script Usage Model", - description: "Fetches the usage model for a Worker script.\n\nThis method is deprecated.", + description: "Fetches the usage model for a Worker script.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/usage-model", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -51,10 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_usage-model-response", @@ -62,7 +54,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_messages": workers_messages, "workers_usage-model-response": workers_usage$$model$$response, - "workers_usage_model": workers_usage_model, "workers_user_limits": workers_user_limits, }, }, @@ -107,7 +98,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_messages": workers_messages, "workers_usage-model-response": workers_usage$$model$$response, - "workers_usage_model": workers_usage_model, "workers_user_limits": workers_user_limits, }, }, @@ -118,16 +108,21 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_usageModel_update", title: "Replace Worker Script Usage Model", - description: "Replaces the usage model for a Worker script. Requires a Workers Paid subscription.\n\nThis method is deprecated.", + description: "Replaces the usage model for a Worker script. Requires a Workers Paid subscription.\n\nThis method is deprecated.\n\nPUT /accounts/{account_id}/workers/scripts/{script_name}/usage-model", inputSchema: { type: "object", properties: { "body": { "properties": { "usage_model": { - "$ref": "#/$defs/workers_usage_model", "default": "standard", - "description": "Usage model for the Worker invocations." + "description": "Usage model for the Worker invocations.", + "enum": [ + "standard", + "bundled", + "unbound" + ], + "type": "string" }, "user_limits": { "$ref": "#/$defs/workers_user_limits", @@ -137,14 +132,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -158,10 +154,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - "workers_usage_model": workers_usage_model$, "workers_user_limits": workers_user_limits$, }, }, @@ -171,7 +165,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_messages": workers_messages, "workers_usage-model-response": workers_usage$$model$$response, - "workers_usage_model": workers_usage_model, "workers_user_limits": workers_user_limits, }, }, @@ -210,7 +203,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_messages": workers_messages, "workers_usage-model-response": workers_usage$$model$$response, - "workers_usage_model": workers_usage_model, "workers_user_limits": workers_user_limits, }, }, diff --git a/src/generated/forge-mcp/workers/legacy/scripts/versions/schemas.ts b/src/generated/forge-mcp/workers/legacy/scripts/versions/schemas.ts deleted file mode 100644 index 760746685..000000000 --- a/src/generated/forge-mcp/workers/legacy/scripts/versions/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 `workers_script_name-2`. - */ -export const workers_script_name$$2: JsonSchema = { - "description": "Name of the script.", - "type": "string" -}; - -/** - * The schema of `workers_version_identifier`. - */ -export const workers_version_identifier: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts b/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts index a62ebb595..92cbf1562 100644 --- a/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts +++ b/src/generated/forge-mcp/workers/legacy/scripts/versions/tools.ts @@ -44,7 +44,6 @@ import { workers_binding_kind_vpc_service, workers_binding_kind_wasm_module, workers_binding_kind_workflow, - workers_binding_name, workers_bindings, workers_durable_object_deleted_export, workers_durable_object_expecting_transfer_export, @@ -54,23 +53,16 @@ import { workers_durable_object_transferred_export, workers_entrypoint_cache_options, workers_export_config, - workers_export_storage, workers_exports_config_map, workers_messages, - workers_namespace_identifier, workers_worker_export, } from "../../../../outputs.js"; -import { workers_identifier } from "../../../../schemas.js"; import { workers_version$$item$$full, workers_version$$item$$short, workers_versions$$list$$response, workers_versions$$single$$response, } from "./outputs.js"; -import { - workers_script_name$$2, - workers_version_identifier, -} from "./schemas.js"; /** * The tools of `workers.legacy.scripts.versions`. @@ -79,22 +71,23 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_versions_get", title: "Get Worker Script Version", - description: "Retrieves detailed information about a specific version of a Worker script.\n\nThis method is deprecated.", + description: "Retrieves detailed information about a specific version of a Worker script.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/versions/{version_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name-2", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" }, "version_id": { - "$ref": "#/$defs/workers_version_identifier" + "type": "string" } }, "required": [ @@ -108,11 +101,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name-2": workers_script_name$$2, - "workers_version_identifier": workers_version_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_versions-single-response", @@ -157,7 +146,6 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, @@ -167,10 +155,8 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_messages": workers_messages, - "workers_namespace_identifier": workers_namespace_identifier, "workers_version-item-full": workers_version$$item$$full, "workers_version-item-short": workers_version$$item$$short, "workers_versions-single-response": workers_versions$$single$$response, @@ -260,7 +246,6 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, @@ -270,10 +255,8 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_messages": workers_messages, - "workers_namespace_identifier": workers_namespace_identifier, "workers_version-item-full": workers_version$$item$$full, "workers_version-item-short": workers_version$$item$$short, "workers_versions-single-response": workers_versions$$single$$response, @@ -287,19 +270,20 @@ export const tools: readonly Tool[] = [ { name: "workers_legacy_scripts_versions_list", title: "List Versions", - description: "List of Worker Versions. The first version in the list is the latest version.\n\nThis method is deprecated.", + description: "List of Worker Versions. The first version in the list is the latest version.\n\nThis method is deprecated.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/versions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name-2", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -309,6 +293,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "deployable": { "default": false, @@ -331,10 +316,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name-2": workers_script_name$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_versions-list-response", diff --git a/src/generated/forge-mcp/workers/outputs.ts b/src/generated/forge-mcp/workers/outputs.ts index ddcff15ab..887ccdb67 100644 --- a/src/generated/forge-mcp/workers/outputs.ts +++ b/src/generated/forge-mcp/workers/outputs.ts @@ -809,7 +809,7 @@ export const workers_observability: JsonSchema = { export const workers_route: JsonSchema = { "properties": { "id": { - "$ref": "#/$defs/workers_identifier" + "type": "string" }, "pattern": { "type": "string" diff --git a/src/generated/forge-mcp/workers/placement/regions/tools.ts b/src/generated/forge-mcp/workers/placement/regions/tools.ts index 48aece877..e26aee3b3 100644 --- a/src/generated/forge-mcp/workers/placement/regions/tools.ts +++ b/src/generated/forge-mcp/workers/placement/regions/tools.ts @@ -7,7 +7,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../../outputs.js"; -import { workers_identifier } from "../../../schemas.js"; import { workers_placement$$provider, workers_placement$$region, @@ -21,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "workers_placement_regions_list", title: "List Workers Smart Placement Regions", - description: "Returns a list of available placement regions organized by cloud provider. These regions can be used to configure Smart Placement for Workers.", + description: "Returns a list of available placement regions organized by cloud provider. These regions can be used to configure Smart Placement for Workers.\n\nGET /accounts/{account_id}/workers/placement/regions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -41,9 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/workers/previews/deployments/outputs.ts b/src/generated/forge-mcp/workers/previews/deployments/outputs.ts index 0f3626ae5..4b6b8060c 100644 --- a/src/generated/forge-mcp/workers/previews/deployments/outputs.ts +++ b/src/generated/forge-mcp/workers/previews/deployments/outputs.ts @@ -106,7 +106,7 @@ export const workers_PreviewDeploymentConfig: JsonSchema = { "$ref": "#/$defs/workers_cache_options" }, "compatibility_date": { - "$ref": "#/$defs/workers_compatibility_date" + "type": "string" }, "compatibility_flags": { "$ref": "#/$defs/workers_compatibility_flags" diff --git a/src/generated/forge-mcp/workers/previews/deployments/schemas.ts b/src/generated/forge-mcp/workers/previews/deployments/schemas.ts index a8ec96c24..c82e49f86 100644 --- a/src/generated/forge-mcp/workers/previews/deployments/schemas.ts +++ b/src/generated/forge-mcp/workers/previews/deployments/schemas.ts @@ -45,19 +45,19 @@ export const workers_PreviewDeploymentConfig: JsonSchema = { }, "assets": { "$ref": "#/$defs/workers_assets", - "description": "Configuration for assets within a Worker.\n\n[`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and\n[`_redirects`](https://developers.cloudflare.com/workers/static-assets/redirects/) files should be\nincluded as modules named `_headers` and `_redirects` with content type `text/plain`.\n" + "description": "Configuration for assets within a Worker.\n\n[`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and\n[`_redirects`](https://developers.cloudflare.com/workers/static-assets/redirects/) files should be\nincluded as modules named `_headers` and `_redirects` with content type `text/plain`." }, "bindings": { "$ref": "#/$defs/workers_bindings", - "description": "Bindings attached to the deployment, as an array of objects\nthat each name themselves. An upload can send `env` or\n`bindings`, and a read returns both. Uploads to a Preview whose\nparent Worker has a previews base config must use `env`.\n" + "description": "Bindings attached to the deployment, as an array of objects\nthat each name themselves. An upload can send `env` or\n`bindings`, and a read returns both. Uploads to a Preview whose\nparent Worker has a previews base config must use `env`." }, "cache_options": { "$ref": "#/$defs/workers_cache_options", - "description": "Global CacheW configuration for the Worker. When caching is on,\nthe platform provisions a `cloudflare.app` zone for the Worker.\nA `type: worker` entry in the `exports` map can override this\nvalue for a single entrypoint.\n" + "description": "Global CacheW configuration for the Worker. When caching is on,\nthe platform provisions a `cloudflare.app` zone for the Worker.\nA `type: worker` entry in the `exports` map can override this\nvalue for a single entrypoint." }, "compatibility_date": { - "$ref": "#/$defs/workers_compatibility_date", - "description": "Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker." + "description": "Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.", + "type": "string" }, "compatibility_flags": { "$ref": "#/$defs/workers_compatibility_flags", @@ -70,11 +70,11 @@ export const workers_PreviewDeploymentConfig: JsonSchema = { }, "env": { "$ref": "#/$defs/workers_env", - "description": "Bindings attached to the deployment, keyed by binding name. An\nupload can send `env` or `bindings`, and a read returns both.\n" + "description": "Bindings attached to the deployment, keyed by binding name. An\nupload can send `env` or `bindings`, and a read returns both." }, "exports": { "$ref": "#/$defs/workers_exports_config_map", - "description": "Declarative exports for the deployment, including Durable\nObject classes (with their `storage` backend) and named Worker\nentrypoints. On reads, tombstoned lifecycle entries are\nomitted, so only live exports (`created` and\n`expecting-transfer`) are returned. `exports` and `migrations`\nare mutually exclusive on upload.\n" + "description": "Declarative exports for the deployment, including Durable\nObject classes (with their `storage` backend) and named Worker\nentrypoints. On reads, tombstoned lifecycle entries are\nomitted, so only live exports (`created` and\n`expecting-transfer`) are returned. `exports` and `migrations`\nare mutually exclusive on upload." }, "limits": { "description": "Resource limits enforced at runtime.", @@ -172,7 +172,7 @@ export const workers_PreviewDeploymentRequest: JsonSchema = { * The schema of `workers_assets`. */ export const workers_assets: JsonSchema = { - "description": "Configuration for assets within a Worker.\n\n[`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and\n[`_redirects`](https://developers.cloudflare.com/workers/static-assets/redirects/) files should be\nincluded as modules named `_headers` and `_redirects` with content type `text/plain`.\n", + "description": "Configuration for assets within a Worker.\n\n[`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and\n[`_redirects`](https://developers.cloudflare.com/workers/static-assets/redirects/) files should be\nincluded as modules named `_headers` and `_redirects` with content type `text/plain`.", "properties": { "config": { "description": "Configuration for assets within a Worker.", diff --git a/src/generated/forge-mcp/workers/previews/deployments/tools.ts b/src/generated/forge-mcp/workers/previews/deployments/tools.ts index 00ba05f46..f9e241f32 100644 --- a/src/generated/forge-mcp/workers/previews/deployments/tools.ts +++ b/src/generated/forge-mcp/workers/previews/deployments/tools.ts @@ -45,11 +45,8 @@ import { workers_binding_kind_vpc_service, workers_binding_kind_wasm_module, workers_binding_kind_workflow, - workers_binding_name, workers_bindings, workers_cache_options, - workers_compatibility_date, - workers_compatibility_flag, workers_compatibility_flags, workers_durable_object_deleted_export, workers_durable_object_expecting_transfer_export, @@ -59,14 +56,12 @@ import { workers_durable_object_transferred_export, workers_entrypoint_cache_options, workers_export_config, - workers_export_storage, workers_exports_config_map, workers_exports_reconciliation_error, workers_exports_reconciliation_error_response, workers_exports_reconciliation_info, workers_exports_reconciliation_rename, workers_exports_reconciliation_result, - workers_exports_reconciliation_scenario, workers_exports_reconciliation_transfer, workers_exports_reconciliation_transfer_pending, workers_exports_reconciliation_warning, @@ -74,7 +69,6 @@ import { workers_migration_step, workers_migration_tag_conditions, workers_multiple_step_migrations, - workers_namespace_identifier, workers_placement_info_no_status, workers_placement_target, workers_single_step_migrations, @@ -120,11 +114,8 @@ import { workers_binding_kind_vpc_service as workers_binding_kind_vpc_service$, workers_binding_kind_wasm_module as workers_binding_kind_wasm_module$, workers_binding_kind_workflow as workers_binding_kind_workflow$, - workers_binding_name as workers_binding_name$, workers_bindings as workers_bindings$, workers_cache_options as workers_cache_options$, - workers_compatibility_date as workers_compatibility_date$, - workers_compatibility_flag as workers_compatibility_flag$, workers_compatibility_flags as workers_compatibility_flags$, workers_durable_object_deleted_export as workers_durable_object_deleted_export$, workers_durable_object_expecting_transfer_export as workers_durable_object_expecting_transfer_export$, @@ -134,13 +125,10 @@ import { workers_durable_object_transferred_export as workers_durable_object_transferred_export$, workers_entrypoint_cache_options as workers_entrypoint_cache_options$, workers_export_config as workers_export_config$, - workers_export_storage as workers_export_storage$, workers_exports_config_map as workers_exports_config_map$, - workers_identifier, workers_migration_step as workers_migration_step$, workers_migration_tag_conditions as workers_migration_tag_conditions$, workers_multiple_step_migrations as workers_multiple_step_migrations$, - workers_namespace_identifier as workers_namespace_identifier$, workers_placement_info_no_status as workers_placement_info_no_status$, workers_placement_target as workers_placement_target$, workers_single_step_migrations as workers_single_step_migrations$, @@ -177,7 +165,7 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_deployments_create", title: "Create Preview Deployment", - description: "Create a new deployment for a Preview.\n\nThis method is beta.", + description: "Create a new deployment for a Preview.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments", inputSchema: { type: "object", properties: { @@ -186,10 +174,11 @@ export const tools: readonly Tool[] = [ "description": "Preview deployment creation parameters." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "preview_id": { "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", @@ -208,6 +197,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "ignore_defaults": { "description": "If true, preview defaults from the parent Worker are ignored.", @@ -221,6 +211,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig$, "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest$, @@ -264,11 +255,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service$, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module$, "workers_binding_kind_workflow": workers_binding_kind_workflow$, - "workers_binding_name": workers_binding_name$, "workers_bindings": workers_bindings$, "workers_cache_options": workers_cache_options$, - "workers_compatibility_date": workers_compatibility_date$, - "workers_compatibility_flag": workers_compatibility_flag$, "workers_compatibility_flags": workers_compatibility_flags$, "workers_container_item": workers_container_item$, "workers_containers": workers_containers$, @@ -282,13 +270,10 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env$, "workers_env_binding_item": workers_env_binding_item$, "workers_export_config": workers_export_config$, - "workers_export_storage": workers_export_storage$, "workers_exports_config_map": workers_exports_config_map$, - "workers_identifier": workers_identifier, "workers_migration_step": workers_migration_step$, "workers_migration_tag_conditions": workers_migration_tag_conditions$, "workers_multiple_step_migrations": workers_multiple_step_migrations$, - "workers_namespace_identifier": workers_namespace_identifier$, "workers_placement_info_no_status": workers_placement_info_no_status$, "workers_placement_target": workers_placement_target$, "workers_single_step_migrations": workers_single_step_migrations$, @@ -357,11 +342,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -375,12 +357,10 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env, "workers_env_binding_item": workers_env_binding_item, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -388,7 +368,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -486,11 +465,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -504,14 +480,12 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env, "workers_env_binding_item": workers_env_binding_item, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_error": workers_exports_reconciliation_error, "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -519,7 +493,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -537,15 +510,16 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_deployments_delete", title: "Delete Preview Deployment", - description: "Delete a preview deployment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This will permanently delete the preview deployment.", + description: "Delete a preview deployment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This will permanently delete the preview deployment.\n\nDELETE /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments/{deployment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "deployment_id": { "description": "Identifier for the deployment, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created deployment.", @@ -572,9 +546,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-common", @@ -622,7 +594,7 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_deployments_edit", title: "Patch Latest Preview Deployment", - description: "Only `/deployments/latest` is supported. Creates a new preview deployment by applying a JSON Merge Patch (RFC 7396) to the latest deployment. Patching a specific deployment ID is not supported. Omitted fields are inherited from the latest deployment. Preview base config is used for the first deployment.\n\nThis method is beta.", + description: "Only `/deployments/latest` is supported. Creates a new preview deployment by applying a JSON Merge Patch (RFC 7396) to the latest deployment. Patching a specific deployment ID is not supported. Omitted fields are inherited from the latest deployment. Preview base config is used for the first deployment.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments/latest", inputSchema: { type: "object", properties: { @@ -631,10 +603,11 @@ export const tools: readonly Tool[] = [ "description": "JSON Merge Patch to apply to the latest preview deployment. An empty object creates a new deployment with no changes." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "preview_id": { "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", @@ -653,6 +626,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "ignore_defaults": { "description": "If true, preview defaults from the parent Worker are ignored.", @@ -665,6 +639,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "workers_PreviewDeploymentConfig": workers_PreviewDeploymentConfig$, "workers_PreviewDeploymentRequest": workers_PreviewDeploymentRequest$, @@ -708,11 +683,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service$, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module$, "workers_binding_kind_workflow": workers_binding_kind_workflow$, - "workers_binding_name": workers_binding_name$, "workers_bindings": workers_bindings$, "workers_cache_options": workers_cache_options$, - "workers_compatibility_date": workers_compatibility_date$, - "workers_compatibility_flag": workers_compatibility_flag$, "workers_compatibility_flags": workers_compatibility_flags$, "workers_container_item": workers_container_item$, "workers_containers": workers_containers$, @@ -726,13 +698,10 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env$, "workers_env_binding_item": workers_env_binding_item$, "workers_export_config": workers_export_config$, - "workers_export_storage": workers_export_storage$, "workers_exports_config_map": workers_exports_config_map$, - "workers_identifier": workers_identifier, "workers_migration_step": workers_migration_step$, "workers_migration_tag_conditions": workers_migration_tag_conditions$, "workers_multiple_step_migrations": workers_multiple_step_migrations$, - "workers_namespace_identifier": workers_namespace_identifier$, "workers_placement_info_no_status": workers_placement_info_no_status$, "workers_placement_target": workers_placement_target$, "workers_single_step_migrations": workers_single_step_migrations$, @@ -801,11 +770,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -819,12 +785,10 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env, "workers_env_binding_item": workers_env_binding_item, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -832,7 +796,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -930,11 +893,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -948,14 +908,12 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env, "workers_env_binding_item": workers_env_binding_item, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_error": workers_exports_reconciliation_error, "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -963,7 +921,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -981,15 +938,16 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_deployments_get", title: "Get Preview Deployment", - description: "Get details about a specific preview deployment.\n\nThis method is beta.", + description: "Get details about a specific preview deployment.\n\nThis method is beta.\n\nGET /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments/{deployment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "deployment_id": { "description": "Identifier for the deployment, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created deployment.", @@ -1013,6 +971,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include": { "description": "Whether to include the `modules` property of the deployment in the response, which contains code and sourcemap content and may add several megabytes to the response size.", @@ -1028,9 +987,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -1094,11 +1051,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -1112,12 +1066,10 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env, "workers_env_binding_item": workers_env_binding_item, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -1125,7 +1077,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -1221,11 +1172,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -1239,12 +1187,10 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env, "workers_env_binding_item": workers_env_binding_item, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -1252,7 +1198,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -1269,15 +1214,16 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_deployments_list", title: "List Preview Deployments", - description: "List all deployments for a Preview.\n\nThis method is beta.", + description: "List all deployments for a Preview.\n\nThis method is beta.\n\nGET /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}/deployments", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "preview_id": { "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", @@ -1296,6 +1242,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -1314,9 +1261,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -1384,11 +1329,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -1402,12 +1344,10 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env, "workers_env_binding_item": workers_env_binding_item, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -1415,7 +1355,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -1515,11 +1454,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -1533,12 +1469,10 @@ export const tools: readonly Tool[] = [ "workers_env": workers_env, "workers_env_binding_item": workers_env_binding_item, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -1546,7 +1480,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, diff --git a/src/generated/forge-mcp/workers/previews/tools.ts b/src/generated/forge-mcp/workers/previews/tools.ts index 8a985a051..e7908598a 100644 --- a/src/generated/forge-mcp/workers/previews/tools.ts +++ b/src/generated/forge-mcp/workers/previews/tools.ts @@ -8,7 +8,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../outputs.js"; -import { workers_identifier } from "../../schemas.js"; import { workers_Preview } from "./outputs.js"; import { workers_Preview as workers_Preview$ } from "./schemas.js"; @@ -19,7 +18,7 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_create", title: "Create Preview", - description: "Create a new Preview for a Worker.\n\nThis method is beta.", + description: "Create a new Preview for a Worker.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/workers/workers/{worker_id}/previews", inputSchema: { type: "object", properties: { @@ -174,10 +173,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "worker_id": { "description": "Identifier for the Worker, which can be ID or name.", @@ -191,6 +191,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "ignore_base_config": { "description": "If true, preview base config from the parent Worker is ignored.", @@ -208,9 +209,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -292,7 +291,7 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_edit", title: "Edit Preview", - description: "Perform a partial update on a Preview, where omitted properties are left unchanged.\n\nThis method is beta.", + description: "Perform a partial update on a Preview, where omitted properties are left unchanged.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}", inputSchema: { type: "object", properties: { @@ -301,10 +300,11 @@ export const tools: readonly Tool[] = [ "description": "Preview partial update parameters." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "preview_id": { "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", @@ -327,9 +327,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_Preview": workers_Preview$, - "workers_identifier": workers_identifier, }, }, outputSchema: { @@ -408,15 +408,16 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_get", title: "Get Preview", - description: "Get details about a specific Preview.\n\nThis method is beta.", + description: "Get details about a specific Preview.\n\nThis method is beta.\n\nGET /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "preview_id": { "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", @@ -438,9 +439,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -522,15 +521,16 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_list", title: "List Previews", - description: "List all Previews for a Worker.\n\nThis method is beta.", + description: "List all Previews for a Worker.\n\nThis method is beta.\n\nGET /accounts/{account_id}/workers/workers/{worker_id}/previews", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "worker_id": { "description": "Identifier for the Worker, which can be ID or name.", @@ -544,6 +544,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "description": "Partial-match filter on preview name.", @@ -591,9 +592,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -691,7 +690,7 @@ export const tools: readonly Tool[] = [ { name: "workers_previews_update", title: "Update Preview", - description: "Perform a complete replacement of a Preview, where omitted properties are set to defaults.\n\nThis method is beta.", + description: "Perform a complete replacement of a Preview, where omitted properties are set to defaults.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/workers/workers/{worker_id}/previews/{preview_id}", inputSchema: { type: "object", properties: { @@ -846,10 +845,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "preview_id": { "description": "Identifier for the Preview, which can be ID, slug, or URL-encoded name.", @@ -868,6 +868,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "ignore_base_config": { "description": "If true, preview base config from the parent Worker is ignored.", @@ -885,9 +886,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/workers/routes/tools.ts b/src/generated/forge-mcp/workers/routes/tools.ts index c9f4659a0..c79fad72a 100644 --- a/src/generated/forge-mcp/workers/routes/tools.ts +++ b/src/generated/forge-mcp/workers/routes/tools.ts @@ -5,10 +5,8 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { workers_api$$response$$common, workers_api$$response$$common$$failure, - workers_identifier, workers_messages, } from "../../outputs.js"; -import { workers_identifier as workers_identifier$ } from "../../schemas.js"; import { workers_route } from "../outputs.js"; import { workers_route as workers_route$ } from "../schemas.js"; @@ -19,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "workers_routes_create", title: "Create Worker Route", - description: "Creates a route that maps a URL pattern to a Worker.", + description: "Creates a route that maps a URL pattern to a Worker.\n\nPOST /zones/{zone_id}/workers/routes", inputSchema: { type: "object", properties: { @@ -27,10 +25,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_route" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -43,8 +42,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "workers_identifier": workers_identifier$, "workers_route": workers_route$, }, }, @@ -67,7 +66,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_route": workers_route, }, @@ -116,7 +114,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_route": workers_route, }, @@ -129,19 +126,20 @@ export const tools: readonly Tool[] = [ { name: "workers_routes_delete", title: "Delete Worker Route", - description: "Deletes a Worker route.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker route.", + description: "Deletes a Worker route.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker route.\n\nDELETE /zones/{zone_id}/workers/routes/{route_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "route_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -154,9 +152,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -168,7 +164,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/workers_identifier" + "type": "string" } }, "type": "object" @@ -182,7 +178,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, }, }, @@ -215,7 +210,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/workers_identifier" + "type": "string" } }, "type": "object" @@ -235,7 +230,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, }, }, @@ -246,19 +240,20 @@ export const tools: readonly Tool[] = [ { name: "workers_routes_get", title: "Get Worker Route", - description: "Returns information about a Worker route, including URL pattern and Worker.", + description: "Returns information about a Worker route, including URL pattern and Worker.\n\nGET /zones/{zone_id}/workers/routes/{route_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "route_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -271,9 +266,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -294,7 +287,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_route": workers_route, }, @@ -344,7 +336,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_route": workers_route, }, @@ -356,15 +347,16 @@ export const tools: readonly Tool[] = [ { name: "workers_routes_list", title: "List Worker Routes", - description: "Returns Worker routes for a zone.", + description: "Returns Worker routes for a zone.\n\nGET /zones/{zone_id}/workers/routes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -376,9 +368,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -402,7 +392,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_route": workers_route, }, @@ -455,7 +444,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_route": workers_route, }, @@ -467,7 +455,7 @@ export const tools: readonly Tool[] = [ { name: "workers_routes_update", title: "Replace Worker Route", - description: "Replaces the URL pattern or Worker associated with a Worker route.", + description: "Replaces the URL pattern or Worker associated with a Worker route.\n\nPUT /zones/{zone_id}/workers/routes/{route_id}", inputSchema: { type: "object", properties: { @@ -475,14 +463,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_route" }, "path": { + "additionalProperties": false, "properties": { "route_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -496,8 +485,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "workers_identifier": workers_identifier$, "workers_route": workers_route$, }, }, @@ -520,7 +509,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_route": workers_route, }, @@ -569,7 +557,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_route": workers_route, }, diff --git a/src/generated/forge-mcp/workers/schemas.ts b/src/generated/forge-mcp/workers/schemas.ts index 4008bae7f..3882db0db 100644 --- a/src/generated/forge-mcp/workers/schemas.ts +++ b/src/generated/forge-mcp/workers/schemas.ts @@ -275,7 +275,7 @@ export const workers_env: JsonSchema = { "additionalProperties": { "$ref": "#/$defs/workers_env_binding_item" }, - "description": "Bindings attached to a Worker, keyed by binding name. `bindings`\ncarries the same information as an array of objects that each\nname themselves, and an upload can use one form or the other.\n", + "description": "Bindings attached to a Worker, keyed by binding name. `bindings`\ncarries the same information as an array of objects that each\nname themselves, and an upload can use one form or the other.", "type": "object" }; @@ -283,7 +283,7 @@ export const workers_env: JsonSchema = { * The schema of `workers_env_binding_item`. */ export const workers_env_binding_item: JsonSchema = { - "description": "A single entry in the `env` map. An entry holds the same payload\nas an entry of `bindings` without the `name` property, because\nthe map key supplies the name. See `binding_item` for the payload\nof each binding kind.\n", + "description": "A single entry in the `env` map. An entry holds the same payload\nas an entry of `bindings` without the `name` property, because\nthe map key supplies the name. See `binding_item` for the payload\nof each binding kind.", "properties": { "type": { "description": "The kind of resource that the binding provides.", diff --git a/src/generated/forge-mcp/workers/scripts/schedules/tools.ts b/src/generated/forge-mcp/workers/scripts/schedules/tools.ts index 3d0c8e182..20b5c796c 100644 --- a/src/generated/forge-mcp/workers/scripts/schedules/tools.ts +++ b/src/generated/forge-mcp/workers/scripts/schedules/tools.ts @@ -7,7 +7,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../../outputs.js"; -import { workers_identifier, workers_script_name } from "../../../schemas.js"; import { workers_schedule } from "./outputs.js"; import { workers_schedule as workers_schedule$ } from "./schemas.js"; @@ -18,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "workers_scripts_schedules_get", title: "Get Worker Script Schedules (Cron Triggers)", - description: "Get the schedules (Cron Triggers) for a Worker script.", + description: "Get the schedules (Cron Triggers) for a Worker script.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/schedules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -43,10 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -157,7 +154,7 @@ export const tools: readonly Tool[] = [ { name: "workers_scripts_schedules_update", title: "Update Worker Script Schedules (Cron Triggers)", - description: "Update the schedules (Cron Triggers) for a Worker script.", + description: "Update the schedules (Cron Triggers) for a Worker script.\n\nPUT /accounts/{account_id}/workers/scripts/{script_name}/schedules", inputSchema: { type: "object", properties: { @@ -168,14 +165,15 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -189,10 +187,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "workers_identifier": workers_identifier, "workers_schedule": workers_schedule$, - "workers_script_name": workers_script_name, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/workers/scripts/tools.ts b/src/generated/forge-mcp/workers/scripts/tools.ts index 5b901560c..7c748ca82 100644 --- a/src/generated/forge-mcp/workers/scripts/tools.ts +++ b/src/generated/forge-mcp/workers/scripts/tools.ts @@ -6,13 +6,8 @@ import { workers_api$$response$$collection, workers_api$$response$$common, workers_api$$response$$common$$failure, - workers_created_on, - workers_identifier, workers_messages, - workers_modified_on, - workers_script_name, } from "../../outputs.js"; -import { workers_identifier as workers_identifier$ } from "../../schemas.js"; /** * The tools of `workers.scripts`. @@ -21,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "workers_scripts_search", title: "Search Worker Scripts", - description: "Search for Worker scripts in an account.", + description: "Search for Worker scripts in an account.\n\nGET /accounts/{account_id}/workers/scripts-search", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -38,6 +34,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "id": { "description": "Worker ID (also called tag) to search for. Only exact matches are returned.", @@ -74,9 +71,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -89,7 +84,8 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "created_on": { - "$ref": "#/$defs/workers_created_on" + "format": "date-time", + "type": "string" }, "environment_is_default": { "type": "boolean" @@ -98,13 +94,14 @@ export const tools: readonly Tool[] = [ "type": "string" }, "id": { - "$ref": "#/$defs/workers_identifier" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/workers_modified_on" + "format": "date-time", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name" + "type": "string" }, "service_name": { "type": "string" @@ -130,11 +127,7 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-collection": workers_api$$response$$collection, "workers_api-response-common": workers_api$$response$$common, - "workers_created_on": workers_created_on, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, - "workers_script_name": workers_script_name, }, }, annotations: { @@ -174,7 +167,8 @@ export const tools: readonly Tool[] = [ "items": { "properties": { "created_on": { - "$ref": "#/$defs/workers_created_on" + "format": "date-time", + "type": "string" }, "environment_is_default": { "type": "boolean" @@ -183,13 +177,14 @@ export const tools: readonly Tool[] = [ "type": "string" }, "id": { - "$ref": "#/$defs/workers_identifier" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/workers_modified_on" + "format": "date-time", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name" + "type": "string" }, "service_name": { "type": "string" @@ -221,11 +216,7 @@ export const tools: readonly Tool[] = [ "workers_api-response-collection": workers_api$$response$$collection, "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_created_on": workers_created_on, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, - "workers_script_name": workers_script_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workers/secrets/tools.ts b/src/generated/forge-mcp/workers/secrets/tools.ts index 16fa63a8a..d02da6778 100644 --- a/src/generated/forge-mcp/workers/secrets/tools.ts +++ b/src/generated/forge-mcp/workers/secrets/tools.ts @@ -8,7 +8,6 @@ import { workers_api$$response$$null$$result, workers_binding_kind_secret_key, workers_binding_kind_secret_text, - workers_binding_name, workers_messages, workers_secret, workers_secret$$patch$$response, @@ -16,13 +15,8 @@ import { import { workers_binding_kind_secret_key as workers_binding_kind_secret_key$, workers_binding_kind_secret_text as workers_binding_kind_secret_text$, - workers_binding_name as workers_binding_name$, - workers_identifier, - workers_script_name, workers_secret as workers_secret$, workers_secret$$patch$$request, - workers_secret_name, - workers_secret_name_url_encoded, } from "../../schemas.js"; /** @@ -32,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "workers_secrets_bulk", title: "Patch multiple Worker script secrets", - description: "Create, update, or delete multiple secrets on a Worker script in a single operation using JSON Merge Patch (RFC 7396).\nThis operation creates a single version with all changes included.\nPrefer this API instead of changing many secrets individually.\n\nUsage:\n\n- To create or update a secret, set its value to a secret object.\n- To delete a secret, set its value to `null`.\n- Secrets not included in the request are left unchanged.", + description: "Create, update, or delete multiple secrets on a Worker script in a single operation using JSON Merge Patch (RFC 7396).\nThis operation creates a single version with all changes included.\nPrefer this API instead of changing many secrets individually.\n\nUsage:\n\n- To create or update a secret, set its value to a secret object.\n- To delete a secret, set its value to `null`.\n- Secrets not included in the request are left unchanged.\n\nPATCH /accounts/{account_id}/workers/scripts/{script_name}/secrets-bulk", inputSchema: { type: "object", properties: { @@ -40,14 +34,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_secret-patch-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -61,12 +56,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, - "workers_binding_name": workers_binding_name$, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, "workers_secret": workers_secret$, "workers_secret-patch-request": workers_secret$$patch$$request, }, @@ -89,7 +82,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, "workers_secret-patch-response": workers_secret$$patch$$response, @@ -142,7 +134,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, "workers_secret-patch-response": workers_secret$$patch$$response, @@ -156,23 +147,24 @@ export const tools: readonly Tool[] = [ { name: "workers_secrets_delete", title: "Delete Worker script secret", - description: "Remove a secret from a Worker script by creating a new version without that\nsecret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker script secret.", + description: "Remove a secret from a Worker script by creating a new version without that\nsecret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker script secret.\n\nDELETE /accounts/{account_id}/workers/scripts/{script_name}/secrets/{secret_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" }, "secret_name": { - "$ref": "#/$defs/workers_secret_name", - "description": "A JavaScript variable name for the secret binding." + "description": "A JavaScript variable name for the secret binding.", + "type": "string" } }, "required": [ @@ -183,10 +175,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "url_encoded": { - "$ref": "#/$defs/workers_secret_name_url_encoded", - "description": "Flag that indicates whether the secret name is URL encoded." + "description": "Flag that indicates whether the secret name is URL encoded.", + "type": "boolean" } }, "type": "object" @@ -195,12 +188,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - "workers_secret_name": workers_secret_name, - "workers_secret_name_url_encoded": workers_secret_name_url_encoded, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", @@ -254,23 +242,24 @@ export const tools: readonly Tool[] = [ { name: "workers_secrets_get", title: "Get a secret binding", - description: "Get a given secret binding (value omitted) on a Worker script.", + description: "Get a given secret binding (value omitted) on a Worker script.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/secrets/{secret_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" }, "secret_name": { - "$ref": "#/$defs/workers_secret_name", - "description": "A JavaScript variable name for the secret binding." + "description": "A JavaScript variable name for the secret binding.", + "type": "string" } }, "required": [ @@ -281,10 +270,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "url_encoded": { - "$ref": "#/$defs/workers_secret_name_url_encoded", - "description": "Flag that indicates whether the secret name is URL encoded." + "description": "Flag that indicates whether the secret name is URL encoded.", + "type": "boolean" } }, "type": "object" @@ -293,12 +283,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - "workers_secret_name": workers_secret_name, - "workers_secret_name_url_encoded": workers_secret_name_url_encoded, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -318,7 +303,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -373,7 +357,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -388,19 +371,20 @@ export const tools: readonly Tool[] = [ { name: "workers_secrets_list", title: "List secrets bound to a Worker script", - description: "List the names of secrets bound to a Worker script.", + description: "List the names of secrets bound to a Worker script.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/secrets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -413,10 +397,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -439,7 +420,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -497,7 +477,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -509,7 +488,7 @@ export const tools: readonly Tool[] = [ { name: "workers_secrets_update", title: "Add a secret to a Worker script", - description: "Add a secret to a Worker script by creating a new version with that secret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.", + description: "Add a secret to a Worker script by creating a new version with that secret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.\n\nPUT /accounts/{account_id}/workers/scripts/{script_name}/secrets", inputSchema: { type: "object", properties: { @@ -517,14 +496,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_secret" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -538,12 +518,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, - "workers_binding_name": workers_binding_name$, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, "workers_secret": workers_secret$, }, }, @@ -565,7 +543,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -617,7 +594,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, diff --git a/src/generated/forge-mcp/workers/subdomains/tools.ts b/src/generated/forge-mcp/workers/subdomains/tools.ts index 1b6613da9..f82ce3503 100644 --- a/src/generated/forge-mcp/workers/subdomains/tools.ts +++ b/src/generated/forge-mcp/workers/subdomains/tools.ts @@ -7,7 +7,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../outputs.js"; -import { workers_identifier } from "../../schemas.js"; import { workers_subdomain$$2 } from "./outputs.js"; import { workers_subdomain$$2 as workers_subdomain$$2$ } from "./schemas.js"; @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "workers_subdomains_delete", title: "Delete Workers Subdomain", - description: "Deletes a Workers subdomain for an account.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers subdomain.", + description: "Deletes a Workers subdomain for an account.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers subdomain.\n\nDELETE /accounts/{account_id}/workers/subdomain", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -38,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -78,15 +76,16 @@ export const tools: readonly Tool[] = [ { name: "workers_subdomains_get", title: "Get a Workers Subdomain", - description: "Returns a Workers subdomain for an account.", + description: "Returns a Workers subdomain for an account.\n\nGET /accounts/{account_id}/workers/subdomain", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -98,9 +97,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -181,7 +178,7 @@ export const tools: readonly Tool[] = [ { name: "workers_subdomains_update", title: "Create a Workers Subdomain", - description: "Creates a Workers subdomain for an account.", + description: "Creates a Workers subdomain for an account.\n\nPUT /accounts/{account_id}/workers/subdomain", inputSchema: { type: "object", properties: { @@ -189,10 +186,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_subdomain-2" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -205,8 +203,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "workers_identifier": workers_identifier, "workers_subdomain-2": workers_subdomain$$2$, }, }, diff --git a/src/generated/forge-mcp/workers/tail/outputs.ts b/src/generated/forge-mcp/workers/tail/outputs.ts index 1540829d6..5eff4a048 100644 --- a/src/generated/forge-mcp/workers/tail/outputs.ts +++ b/src/generated/forge-mcp/workers/tail/outputs.ts @@ -12,7 +12,7 @@ export const workers_tail: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/workers_identifier" + "type": "string" }, "url": { "type": "string" diff --git a/src/generated/forge-mcp/workers/tail/tools.ts b/src/generated/forge-mcp/workers/tail/tools.ts index 35148b9fe..7f1c4848b 100644 --- a/src/generated/forge-mcp/workers/tail/tools.ts +++ b/src/generated/forge-mcp/workers/tail/tools.ts @@ -5,13 +5,8 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { workers_api$$response$$common, workers_api$$response$$common$$failure, - workers_identifier, workers_messages, } from "../../outputs.js"; -import { - workers_identifier as workers_identifier$, - workers_script_name, -} from "../../schemas.js"; import { workers_tail } from "./outputs.js"; /** @@ -21,23 +16,24 @@ export const tools: readonly Tool[] = [ { name: "workers_tail_delete", title: "Delete Worker Tail", - description: "Deletes a tail from a Worker.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker tail session.", + description: "Deletes a tail from a Worker.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker tail session.\n\nDELETE /accounts/{account_id}/workers/scripts/{script_name}/tails/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -51,10 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-common", @@ -107,19 +100,20 @@ export const tools: readonly Tool[] = [ { name: "workers_tail_list", title: "List Worker Tails", - description: "Get a list of tails currently deployed on a Worker.", + description: "Get a list of tails currently deployed on a Worker.\n\nGET /accounts/{account_id}/workers/scripts/{script_name}/tails", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -132,10 +126,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -156,7 +147,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_tail": workers_tail, }, @@ -214,7 +204,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_tail": workers_tail, }, @@ -226,19 +215,20 @@ export const tools: readonly Tool[] = [ { name: "workers_tail_start", title: "Start Worker Tail", - description: "Starts a tail that receives logs and exceptions from a Worker.", + description: "Starts a tail that receives logs and exceptions from a Worker.\n\nPOST /accounts/{account_id}/workers/scripts/{script_name}/tails", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -251,10 +241,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -275,7 +262,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_tail": workers_tail, }, @@ -329,7 +315,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, "workers_tail": workers_tail, }, diff --git a/src/generated/forge-mcp/workers/tools.ts b/src/generated/forge-mcp/workers/tools.ts index 266ddbee2..04b748fdf 100644 --- a/src/generated/forge-mcp/workers/tools.ts +++ b/src/generated/forge-mcp/workers/tools.ts @@ -14,7 +14,6 @@ import { } from "../outputs.js"; import { workers_cache_options as workers_cache_options$, - workers_identifier, workers_limits as workers_limits$, workers_placement_info_no_status as workers_placement_info_no_status$, workers_placement_target as workers_placement_target$, @@ -55,7 +54,7 @@ export const tools: readonly Tool[] = [ { name: "workers_create", title: "Create Worker", - description: "Create a new Worker.", + description: "Create a new Worker.\n\nPOST /accounts/{account_id}/workers/workers", inputSchema: { type: "object", properties: { @@ -245,10 +244,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -261,12 +261,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig$, "workers_cache_options": workers_cache_options$, "workers_env": workers_env$, "workers_env_binding_item": workers_env_binding_item$, - "workers_identifier": workers_identifier, "workers_limits": workers_limits$, "workers_observability": workers_observability$, "workers_placement_info_no_status": workers_placement_info_no_status$, @@ -511,15 +511,16 @@ export const tools: readonly Tool[] = [ { name: "workers_delete", title: "Delete Worker", - description: "Delete a Worker and all its associated resources (versions, deployments, etc.).\n\nConfirm with the user before calling this tool. This will permanently delete the Worker and its associated versions and deployments.", + description: "Delete a Worker and all its associated resources (versions, deployments, etc.).\n\nConfirm with the user before calling this tool. This will permanently delete the Worker and its associated versions and deployments.\n\nDELETE /accounts/{account_id}/workers/workers/{worker_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "worker_id": { "description": "Identifier for the Worker, which can be ID or name.", @@ -533,6 +534,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "force": { "description": "If true, delete the Worker even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted Worker are deleted even if other Workers reference them.", @@ -545,9 +547,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-common", @@ -682,7 +682,7 @@ export const tools: readonly Tool[] = [ { name: "workers_edit", title: "Edit Worker", - description: "Perform a partial update on a Worker, where omitted properties are left unchanged from their current values.", + description: "Perform a partial update on a Worker, where omitted properties are left unchanged from their current values.\n\nPATCH /accounts/{account_id}/workers/workers/{worker_id}", inputSchema: { type: "object", properties: { @@ -691,10 +691,11 @@ export const tools: readonly Tool[] = [ "description": "Worker partial update parameters." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "worker_id": { "description": "Identifier for the Worker, which can be ID or name.", @@ -712,13 +713,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig$, "workers_Worker": workers_Worker$, "workers_cache_options": workers_cache_options$, "workers_env": workers_env$, "workers_env_binding_item": workers_env_binding_item$, - "workers_identifier": workers_identifier, "workers_limits": workers_limits$, "workers_observability": workers_observability$, "workers_placement_info_no_status": workers_placement_info_no_status$, @@ -993,15 +994,16 @@ export const tools: readonly Tool[] = [ { name: "workers_get", title: "Get Worker", - description: "Get details about a specific Worker.", + description: "Get details about a specific Worker.\n\nGET /accounts/{account_id}/workers/workers/{worker_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "worker_id": { "description": "Identifier for the Worker, which can be ID or name.", @@ -1018,9 +1020,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -1186,15 +1186,16 @@ export const tools: readonly Tool[] = [ { name: "workers_list", title: "List Workers", - description: "List all Workers for an account.", + description: "List all Workers for an account.\n\nGET /accounts/{account_id}/workers/workers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -1203,6 +1204,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "order": { "default": "desc", @@ -1241,9 +1243,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -1401,7 +1401,7 @@ export const tools: readonly Tool[] = [ { name: "workers_update", title: "Update Worker", - description: "Perform a complete replacement of a Worker, where omitted properties are set to their default values. This is the exact same as the Create Worker endpoint, but operates on an existing Worker. To perform a partial update instead, use the Edit Worker endpoint.", + description: "Perform a complete replacement of a Worker, where omitted properties are set to their default values. This is the exact same as the Create Worker endpoint, but operates on an existing Worker. To perform a partial update instead, use the Edit Worker endpoint.\n\nPUT /accounts/{account_id}/workers/workers/{worker_id}", inputSchema: { type: "object", properties: { @@ -1591,10 +1591,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "worker_id": { "description": "Identifier for the Worker, which can be ID or name.", @@ -1612,12 +1613,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_PreviewsBaseConfig": workers_PreviewsBaseConfig$, "workers_cache_options": workers_cache_options$, "workers_env": workers_env$, "workers_env_binding_item": workers_env_binding_item$, - "workers_identifier": workers_identifier, "workers_limits": workers_limits$, "workers_observability": workers_observability$, "workers_placement_info_no_status": workers_placement_info_no_status$, diff --git a/src/generated/forge-mcp/workers/versions/latest/tools.ts b/src/generated/forge-mcp/workers/versions/latest/tools.ts index 5015df820..1727c7dff 100644 --- a/src/generated/forge-mcp/workers/versions/latest/tools.ts +++ b/src/generated/forge-mcp/workers/versions/latest/tools.ts @@ -44,11 +44,8 @@ import { workers_binding_kind_vpc_service, workers_binding_kind_wasm_module, workers_binding_kind_workflow, - workers_binding_name, workers_bindings, workers_cache_options, - workers_compatibility_date, - workers_compatibility_flag, workers_compatibility_flags, workers_durable_object_deleted_export, workers_durable_object_expecting_transfer_export, @@ -58,14 +55,12 @@ import { workers_durable_object_transferred_export, workers_entrypoint_cache_options, workers_export_config, - workers_export_storage, workers_exports_config_map, workers_exports_reconciliation_error, workers_exports_reconciliation_error_response, workers_exports_reconciliation_info, workers_exports_reconciliation_rename, workers_exports_reconciliation_result, - workers_exports_reconciliation_scenario, workers_exports_reconciliation_transfer, workers_exports_reconciliation_transfer_pending, workers_exports_reconciliation_warning, @@ -73,7 +68,6 @@ import { workers_migration_step, workers_migration_tag_conditions, workers_multiple_step_migrations, - workers_namespace_identifier, workers_placement_info_no_status, workers_placement_target, workers_single_step_migrations, @@ -119,11 +113,8 @@ import { workers_binding_kind_vpc_service as workers_binding_kind_vpc_service$, workers_binding_kind_wasm_module as workers_binding_kind_wasm_module$, workers_binding_kind_workflow as workers_binding_kind_workflow$, - workers_binding_name as workers_binding_name$, workers_bindings as workers_bindings$, workers_cache_options as workers_cache_options$, - workers_compatibility_date as workers_compatibility_date$, - workers_compatibility_flag as workers_compatibility_flag$, workers_compatibility_flags as workers_compatibility_flags$, workers_durable_object_deleted_export as workers_durable_object_deleted_export$, workers_durable_object_expecting_transfer_export as workers_durable_object_expecting_transfer_export$, @@ -133,20 +124,16 @@ import { workers_durable_object_transferred_export as workers_durable_object_transferred_export$, workers_entrypoint_cache_options as workers_entrypoint_cache_options$, workers_export_config as workers_export_config$, - workers_export_storage as workers_export_storage$, workers_exports_config_map as workers_exports_config_map$, workers_exports_reconciliation_info as workers_exports_reconciliation_info$, workers_exports_reconciliation_rename as workers_exports_reconciliation_rename$, workers_exports_reconciliation_result as workers_exports_reconciliation_result$, - workers_exports_reconciliation_scenario as workers_exports_reconciliation_scenario$, workers_exports_reconciliation_transfer as workers_exports_reconciliation_transfer$, workers_exports_reconciliation_transfer_pending as workers_exports_reconciliation_transfer_pending$, workers_exports_reconciliation_warning as workers_exports_reconciliation_warning$, - workers_identifier, workers_migration_step as workers_migration_step$, workers_migration_tag_conditions as workers_migration_tag_conditions$, workers_multiple_step_migrations as workers_multiple_step_migrations$, - workers_namespace_identifier as workers_namespace_identifier$, workers_placement_info_no_status as workers_placement_info_no_status$, workers_placement_target as workers_placement_target$, workers_single_step_migrations as workers_single_step_migrations$, @@ -167,7 +154,7 @@ export const tools: readonly Tool[] = [ { name: "workers_versions_latest_edit", title: "Patch Latest Worker Version", - description: "Only `/versions/latest` is supported. Creates a new Worker version by applying a JSON Merge Patch (RFC 7396) to the latest version. Patching a specific version ID is not supported. Omitted fields are inherited from the latest version.", + description: "Only `/versions/latest` is supported. Creates a new Worker version by applying a JSON Merge Patch (RFC 7396) to the latest version. Patching a specific version ID is not supported. Omitted fields are inherited from the latest version.\n\nPATCH /accounts/{account_id}/workers/workers/{worker_id}/versions/latest", inputSchema: { type: "object", properties: { @@ -176,10 +163,11 @@ export const tools: readonly Tool[] = [ "description": "JSON Merge Patch to apply to the latest version. An empty object creates a new version with no changes." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "worker_id": { "description": "Identifier for the Worker, which can be ID or name.", @@ -193,6 +181,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "deploy": { "description": "If true, a deployment will be created that sends 100% of traffic to the new version.", @@ -205,6 +194,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "workers_Version": workers_Version$, "workers_binding_item": workers_binding_item$, @@ -246,11 +236,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service$, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module$, "workers_binding_kind_workflow": workers_binding_kind_workflow$, - "workers_binding_name": workers_binding_name$, "workers_bindings": workers_bindings$, "workers_cache_options": workers_cache_options$, - "workers_compatibility_date": workers_compatibility_date$, - "workers_compatibility_flag": workers_compatibility_flag$, "workers_compatibility_flags": workers_compatibility_flags$, "workers_container_item": workers_container_item$, "workers_containers": workers_containers$, @@ -262,20 +249,16 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export$, "workers_entrypoint_cache_options": workers_entrypoint_cache_options$, "workers_export_config": workers_export_config$, - "workers_export_storage": workers_export_storage$, "workers_exports_config_map": workers_exports_config_map$, "workers_exports_reconciliation_info": workers_exports_reconciliation_info$, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename$, "workers_exports_reconciliation_result": workers_exports_reconciliation_result$, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario$, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer$, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending$, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning$, - "workers_identifier": workers_identifier, "workers_migration_step": workers_migration_step$, "workers_migration_tag_conditions": workers_migration_tag_conditions$, "workers_multiple_step_migrations": workers_multiple_step_migrations$, - "workers_namespace_identifier": workers_namespace_identifier$, "workers_placement_info_no_status": workers_placement_info_no_status$, "workers_placement_target": workers_placement_target$, "workers_single_step_migrations": workers_single_step_migrations$, @@ -341,11 +324,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -357,12 +337,10 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -370,7 +348,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -472,11 +449,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -488,14 +462,12 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_error": workers_exports_reconciliation_error, "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -503,7 +475,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, diff --git a/src/generated/forge-mcp/workers/versions/outputs.ts b/src/generated/forge-mcp/workers/versions/outputs.ts index aa0339efe..127486c98 100644 --- a/src/generated/forge-mcp/workers/versions/outputs.ts +++ b/src/generated/forge-mcp/workers/versions/outputs.ts @@ -88,7 +88,7 @@ export const workers_Version: JsonSchema = { "$ref": "#/$defs/workers_cache_options" }, "compatibility_date": { - "$ref": "#/$defs/workers_compatibility_date" + "type": "string" }, "compatibility_flags": { "$ref": "#/$defs/workers_compatibility_flags" diff --git a/src/generated/forge-mcp/workers/versions/schemas.ts b/src/generated/forge-mcp/workers/versions/schemas.ts index 0ee404507..84f653d3b 100644 --- a/src/generated/forge-mcp/workers/versions/schemas.ts +++ b/src/generated/forge-mcp/workers/versions/schemas.ts @@ -23,7 +23,7 @@ export const workers_Version: JsonSchema = { "type": "object" }, "assets": { - "description": "Configuration for assets within a Worker.\n\n[`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and\n[`_redirects`](https://developers.cloudflare.com/workers/static-assets/redirects/) files should be\nincluded as modules named `_headers` and `_redirects` with content type `text/plain`.\n", + "description": "Configuration for assets within a Worker.\n\n[`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and\n[`_redirects`](https://developers.cloudflare.com/workers/static-assets/redirects/) files should be\nincluded as modules named `_headers` and `_redirects` with content type `text/plain`.", "properties": { "config": { "description": "Configuration for assets within a Worker.", @@ -91,11 +91,11 @@ export const workers_Version: JsonSchema = { }, "cache_options": { "$ref": "#/$defs/workers_cache_options", - "description": "Global CacheW configuration for the Worker. When caching is on,\nthe platform provisions a `cloudflare.app` zone for the Worker.\nA `type: worker` entry in the `exports` map can override this\nvalue for a single entrypoint.\n" + "description": "Global CacheW configuration for the Worker. When caching is on,\nthe platform provisions a `cloudflare.app` zone for the Worker.\nA `type: worker` entry in the `exports` map can override this\nvalue for a single entrypoint." }, "compatibility_date": { - "$ref": "#/$defs/workers_compatibility_date", - "description": "Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker." + "description": "Date indicating targeted support in the Workers runtime. Backwards incompatible fixes to the runtime following this date will not affect this Worker.", + "type": "string" }, "compatibility_flags": { "$ref": "#/$defs/workers_compatibility_flags", @@ -108,11 +108,11 @@ export const workers_Version: JsonSchema = { }, "exports": { "$ref": "#/$defs/workers_exports_config_map", - "description": "Declarative exports for the version, including Durable Object\nclasses (with their `storage` backend) and named Worker\nentrypoints. On reads, tombstoned lifecycle entries are\nomitted, so only live exports (`created` and\n`expecting-transfer`) are returned. `exports` and `migrations`\nare mutually exclusive on upload.\n" + "description": "Declarative exports for the version, including Durable Object\nclasses (with their `storage` backend) and named Worker\nentrypoints. On reads, tombstoned lifecycle entries are\nomitted, so only live exports (`created` and\n`expecting-transfer`) are returned. `exports` and `migrations`\nare mutually exclusive on upload." }, "exports_reconciliation": { "$ref": "#/$defs/workers_exports_reconciliation_result", - "description": "Summary of the declarative exports reconciliation that ran on\nthis upload. Populated only when the uploaded metadata included\nan `exports` block. Durable Object entries drive reconciliation;\n`type: worker` entries do not contribute to this summary.\n" + "description": "Summary of the declarative exports reconciliation that ran on\nthis upload. Populated only when the uploaded metadata included\nan `exports` block. Durable Object entries drive reconciliation;\n`type: worker` entries do not contribute to this summary." }, "limits": { "description": "Resource limits enforced at runtime.", @@ -144,7 +144,7 @@ export const workers_Version: JsonSchema = { ] }, "modules": { - "description": "Code, sourcemaps, and other content used at runtime.\n\nThis includes [`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and\n[`_redirects`](https://developers.cloudflare.com/workers/static-assets/redirects/) files used to configure\n[Static Assets](https://developers.cloudflare.com/workers/static-assets/). `_headers` and `_redirects` files should be\nincluded as modules named `_headers` and `_redirects` with content type `text/plain`.\n", + "description": "Code, sourcemaps, and other content used at runtime.\n\nThis includes [`_headers`](https://developers.cloudflare.com/workers/static-assets/headers/#custom-headers) and\n[`_redirects`](https://developers.cloudflare.com/workers/static-assets/redirects/) files used to configure\n[Static Assets](https://developers.cloudflare.com/workers/static-assets/). `_headers` and `_redirects` files should be\nincluded as modules named `_headers` and `_redirects` with content type `text/plain`.", "items": { "properties": { "content_base64": { @@ -171,7 +171,7 @@ export const workers_Version: JsonSchema = { "type": "array" }, "package_dependencies": { - "description": "The list of npm packages that were installed and used when this Worker\nversion was built.\n", + "description": "The list of npm packages that were installed and used when this Worker\nversion was built.", "items": { "properties": { "installedVersion": { diff --git a/src/generated/forge-mcp/workers/versions/tools.ts b/src/generated/forge-mcp/workers/versions/tools.ts index a02c8c118..52256b899 100644 --- a/src/generated/forge-mcp/workers/versions/tools.ts +++ b/src/generated/forge-mcp/workers/versions/tools.ts @@ -45,11 +45,8 @@ import { workers_binding_kind_vpc_service, workers_binding_kind_wasm_module, workers_binding_kind_workflow, - workers_binding_name, workers_bindings, workers_cache_options, - workers_compatibility_date, - workers_compatibility_flag, workers_compatibility_flags, workers_durable_object_deleted_export, workers_durable_object_expecting_transfer_export, @@ -59,14 +56,12 @@ import { workers_durable_object_transferred_export, workers_entrypoint_cache_options, workers_export_config, - workers_export_storage, workers_exports_config_map, workers_exports_reconciliation_error, workers_exports_reconciliation_error_response, workers_exports_reconciliation_info, workers_exports_reconciliation_rename, workers_exports_reconciliation_result, - workers_exports_reconciliation_scenario, workers_exports_reconciliation_transfer, workers_exports_reconciliation_transfer_pending, workers_exports_reconciliation_warning, @@ -74,7 +69,6 @@ import { workers_migration_step, workers_migration_tag_conditions, workers_multiple_step_migrations, - workers_namespace_identifier, workers_placement_info_no_status, workers_placement_target, workers_single_step_migrations, @@ -120,11 +114,8 @@ import { workers_binding_kind_vpc_service as workers_binding_kind_vpc_service$, workers_binding_kind_wasm_module as workers_binding_kind_wasm_module$, workers_binding_kind_workflow as workers_binding_kind_workflow$, - workers_binding_name as workers_binding_name$, workers_bindings as workers_bindings$, workers_cache_options as workers_cache_options$, - workers_compatibility_date as workers_compatibility_date$, - workers_compatibility_flag as workers_compatibility_flag$, workers_compatibility_flags as workers_compatibility_flags$, workers_durable_object_deleted_export as workers_durable_object_deleted_export$, workers_durable_object_expecting_transfer_export as workers_durable_object_expecting_transfer_export$, @@ -134,20 +125,16 @@ import { workers_durable_object_transferred_export as workers_durable_object_transferred_export$, workers_entrypoint_cache_options as workers_entrypoint_cache_options$, workers_export_config as workers_export_config$, - workers_export_storage as workers_export_storage$, workers_exports_config_map as workers_exports_config_map$, workers_exports_reconciliation_info as workers_exports_reconciliation_info$, workers_exports_reconciliation_rename as workers_exports_reconciliation_rename$, workers_exports_reconciliation_result as workers_exports_reconciliation_result$, - workers_exports_reconciliation_scenario as workers_exports_reconciliation_scenario$, workers_exports_reconciliation_transfer as workers_exports_reconciliation_transfer$, workers_exports_reconciliation_transfer_pending as workers_exports_reconciliation_transfer_pending$, workers_exports_reconciliation_warning as workers_exports_reconciliation_warning$, - workers_identifier, workers_migration_step as workers_migration_step$, workers_migration_tag_conditions as workers_migration_tag_conditions$, workers_multiple_step_migrations as workers_multiple_step_migrations$, - workers_namespace_identifier as workers_namespace_identifier$, workers_placement_info_no_status as workers_placement_info_no_status$, workers_placement_target as workers_placement_target$, workers_single_step_migrations as workers_single_step_migrations$, @@ -173,7 +160,7 @@ export const tools: readonly Tool[] = [ { name: "workers_versions_create", title: "Create Worker Version", - description: "Create a new version for a Worker.", + description: "Create a new version for a Worker.\n\nPOST /accounts/{account_id}/workers/workers/{worker_id}/versions", inputSchema: { type: "object", properties: { @@ -182,10 +169,11 @@ export const tools: readonly Tool[] = [ "description": "Version creation parameters." }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "worker_id": { "description": "Identifier for the Worker, which can be ID or name.", @@ -199,6 +187,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "deploy": { "description": "If true, a deployment will be created that sends 100% of traffic to the new version.", @@ -212,6 +201,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_Version": workers_Version$, "workers_binding_item": workers_binding_item$, @@ -253,11 +243,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service$, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module$, "workers_binding_kind_workflow": workers_binding_kind_workflow$, - "workers_binding_name": workers_binding_name$, "workers_bindings": workers_bindings$, "workers_cache_options": workers_cache_options$, - "workers_compatibility_date": workers_compatibility_date$, - "workers_compatibility_flag": workers_compatibility_flag$, "workers_compatibility_flags": workers_compatibility_flags$, "workers_container_item": workers_container_item$, "workers_containers": workers_containers$, @@ -269,20 +256,16 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export$, "workers_entrypoint_cache_options": workers_entrypoint_cache_options$, "workers_export_config": workers_export_config$, - "workers_export_storage": workers_export_storage$, "workers_exports_config_map": workers_exports_config_map$, "workers_exports_reconciliation_info": workers_exports_reconciliation_info$, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename$, "workers_exports_reconciliation_result": workers_exports_reconciliation_result$, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario$, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer$, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending$, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning$, - "workers_identifier": workers_identifier, "workers_migration_step": workers_migration_step$, "workers_migration_tag_conditions": workers_migration_tag_conditions$, "workers_multiple_step_migrations": workers_multiple_step_migrations$, - "workers_namespace_identifier": workers_namespace_identifier$, "workers_placement_info_no_status": workers_placement_info_no_status$, "workers_placement_target": workers_placement_target$, "workers_single_step_migrations": workers_single_step_migrations$, @@ -348,11 +331,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -364,12 +344,10 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -377,7 +355,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -479,11 +456,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -495,14 +469,12 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_error": workers_exports_reconciliation_error, "workers_exports_reconciliation_error_response": workers_exports_reconciliation_error_response, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -510,7 +482,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -528,15 +499,16 @@ export const tools: readonly Tool[] = [ { name: "workers_versions_delete", title: "Delete Worker Version", - description: "Delete a Worker version.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker version.", + description: "Delete a Worker version.\n\nConfirm with the user before calling this tool. This will permanently delete the Worker version.\n\nDELETE /accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "version_id": { "description": "Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created version.", @@ -558,9 +530,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-common", @@ -608,15 +578,16 @@ export const tools: readonly Tool[] = [ { name: "workers_versions_get", title: "Get Worker Version", - description: "Get details about a specific Worker version.", + description: "Get details about a specific Worker version.\n\nGET /accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "version_id": { "description": "Identifier for the version, which can be a UUID, a UUID prefix (minimum length 8), or the literal \"latest\" to operate on the most recently created version.", @@ -635,6 +606,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include": { "description": "Whether to include the `modules` property of the version in the response, which contains code and sourcemap content and may add several megabytes to the response size.", @@ -650,9 +622,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -713,11 +683,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -729,12 +696,10 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -742,7 +707,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -838,11 +802,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -854,12 +815,10 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -867,7 +826,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -884,15 +842,16 @@ export const tools: readonly Tool[] = [ { name: "workers_versions_list", title: "List Worker Versions", - description: "List all versions for a Worker.", + description: "List all versions for a Worker.\n\nGET /accounts/{account_id}/workers/workers/{worker_id}/versions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "worker_id": { "description": "Identifier for the Worker, which can be ID or name.", @@ -906,6 +865,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -924,9 +884,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -991,11 +949,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -1007,12 +962,10 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -1020,7 +973,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -1122,11 +1074,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_container_item": workers_container_item, "workers_containers": workers_containers, @@ -1138,12 +1087,10 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, @@ -1151,7 +1098,6 @@ export const tools: readonly Tool[] = [ "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, - "workers_namespace_identifier": workers_namespace_identifier, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, @@ -1169,7 +1115,7 @@ export const tools: readonly Tool[] = [ { name: "workers_versions_profile", title: "Profile Worker Version", - description: "Captures a CPU or heap profile from a recently active isolate running the specified Worker version. This endpoint requires the Worker profiling feature to be enabled for the account.\n\nThis method is alpha.", + description: "Captures a CPU or heap profile from a recently active isolate running the specified Worker version. This endpoint requires the Worker profiling feature to be enabled for the account.\n\nThis method is alpha.\n\nPOST /accounts/{account_id}/workers/workers/{worker_id}/versions/{version_id}/profile", inputSchema: { type: "object", properties: { @@ -1202,10 +1148,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "version_id": { "description": "Identifies the version by UUID or UUID prefix with a minimum length of eight characters. Use \"latest\" to select the most recently created version, which may not be deployed. Use \"latest-deployed\" to profile a version in the active deployment. Versions are tried in order of traffic share until one has a loaded isolate.", @@ -1228,9 +1175,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts b/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts index 30682602c..a0bb2357a 100644 --- a/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts +++ b/src/generated/forge-mcp/workersBuilds/workers/previews/outputs.ts @@ -9,16 +9,16 @@ import type { JsonSchema } from "../../../_/tool.js"; export const builds_PreviewResponse: JsonSchema = { "properties": { "auto_build": { - "$ref": "#/$defs/builds_preview_auto_build" + "type": "boolean" }, "auto_delete": { - "$ref": "#/$defs/builds_preview_auto_delete" + "type": "boolean" }, "branch": { - "$ref": "#/$defs/builds_branch" + "type": "string" }, "preview_id": { - "$ref": "#/$defs/builds_external_script_id" + "type": "string" }, "settings": { "$ref": "#/$defs/builds_WorkerBuildSettings" @@ -33,31 +33,17 @@ export const builds_PreviewResponse: JsonSchema = { export const builds_PreviewSummary: JsonSchema = { "properties": { "auto_build": { - "$ref": "#/$defs/builds_preview_auto_build" + "type": "boolean" }, "auto_delete": { - "$ref": "#/$defs/builds_preview_auto_delete" + "type": "boolean" }, "branch": { - "$ref": "#/$defs/builds_branch" + "type": "string" }, "preview_id": { - "$ref": "#/$defs/builds_external_script_id" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `builds_preview_auto_build` in responses. - */ -export const builds_preview_auto_build: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `builds_preview_auto_delete` in responses. - */ -export const builds_preview_auto_delete: JsonSchema = { - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/workersBuilds/workers/previews/schemas.ts b/src/generated/forge-mcp/workersBuilds/workers/previews/schemas.ts index 62e7c7c98..df048cac4 100644 --- a/src/generated/forge-mcp/workersBuilds/workers/previews/schemas.ts +++ b/src/generated/forge-mcp/workersBuilds/workers/previews/schemas.ts @@ -10,12 +10,12 @@ export const builds_UpdatePreviewRequest: JsonSchema = { "description": "Request body for updating a Preview. At least one field must be provided, and omitted fields are left unchanged.", "properties": { "auto_build": { - "$ref": "#/$defs/builds_preview_auto_build", - "description": "Whether pushes to the git branch build this Preview. Deploy hooks, manual builds, and retries run regardless of this setting." + "description": "Whether pushes to the git branch build this Preview. Deploy hooks, manual builds, and retries run regardless of this setting.", + "type": "boolean" }, "auto_delete": { - "$ref": "#/$defs/builds_preview_auto_delete", - "description": "Whether deleting the git branch also deletes this Preview." + "description": "Whether deleting the git branch also deletes this Preview.", + "type": "boolean" }, "branch": { "description": "Git branch this Preview tracks", @@ -28,19 +28,3 @@ export const builds_UpdatePreviewRequest: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `builds_preview_auto_build`. - */ -export const builds_preview_auto_build: JsonSchema = { - "description": "Whether pushes to the git branch build this Preview. Deploy hooks, manual builds, and retries run regardless of this setting.", - "type": "boolean" -}; - -/** - * The schema of `builds_preview_auto_delete`. - */ -export const builds_preview_auto_delete: JsonSchema = { - "description": "Whether deleting the git branch also deletes this Preview.", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts b/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts index bddde85ee..a28d4b09c 100644 --- a/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts +++ b/src/generated/forge-mcp/workersBuilds/workers/previews/tools.ts @@ -5,74 +5,28 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { builds_APIResponse, builds_ApiError, - builds_BuildOutcome, builds_BuildResponse, - builds_BuildStatus, builds_BuildTriggerMetadataResponse, - builds_BuildTriggerSource, builds_EnvironmentVariablesResponse, builds_ErrorResponse, builds_PaginationInfo, - builds_SCMProviderType, builds_UpsertRepoConnectionResponse, builds_WorkerBuildSettings, - builds_branch, builds_branch_excludes, builds_branch_includes, - builds_build_caching_enabled, - builds_build_command, - builds_build_token_name, - builds_build_token_uuid, - builds_build_uuid, - builds_commit_hash, - builds_created_on, - builds_deleted_on, - builds_deploy_command, - builds_deploy_hook_name, - builds_external_script_id, - builds_is_secret, - builds_modified_on, builds_path_excludes, builds_path_includes, - builds_provider_account_id, - builds_provider_account_name, - builds_repo_connection_uuid, - builds_repo_id, - builds_repo_name, - builds_root_directory, - builds_stopped_on, - builds_trigger_name, - builds_trigger_uuid, } from "../../../outputs.js"; import { builds_BuildSeedRepoInput, builds_BuildSeedRepoInputFile, builds_CreateBuildRequest, builds_UpdateWorkerBuildSettingsInput, - builds_account_id, - builds_branch as builds_branch$, - builds_build_caching_enabled as builds_build_caching_enabled$, - builds_build_command as builds_build_command$, - builds_build_token_uuid as builds_build_token_uuid$, - builds_commit_hash as builds_commit_hash$, - builds_deploy_command as builds_deploy_command$, - builds_external_script_id as builds_external_script_id$, - builds_is_secret as builds_is_secret$, builds_path_excludes as builds_path_excludes$, builds_path_includes as builds_path_includes$, - builds_root_directory as builds_root_directory$, } from "../../../schemas.js"; -import { - builds_PreviewResponse, - builds_PreviewSummary, - builds_preview_auto_build, - builds_preview_auto_delete, -} from "./outputs.js"; -import { - builds_UpdatePreviewRequest, - builds_preview_auto_build as builds_preview_auto_build$, - builds_preview_auto_delete as builds_preview_auto_delete$, -} from "./schemas.js"; +import { builds_PreviewResponse, builds_PreviewSummary } from "./outputs.js"; +import { builds_UpdatePreviewRequest } from "./schemas.js"; /** * The tools of `workersBuilds.workers.previews`. @@ -81,7 +35,7 @@ export const tools: readonly Tool[] = [ { name: "workersBuilds_workers_previews_createBuild", title: "Create preview build", - description: "Trigger a build for a single Preview.", + description: "Trigger a build for a single Preview.\n\nPOST /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}/builds", inputSchema: { type: "object", properties: { @@ -89,18 +43,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_CreateBuildRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "preview_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The script tag of the Preview, which is a Worker in its own right" + "description": "The script tag of the Preview, which is a Worker in its own right", + "type": "string" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "description": "The Worker script tag (external script ID)", + "type": "string" } }, "required": [ @@ -115,14 +70,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_BuildSeedRepoInput": builds_BuildSeedRepoInput, "builds_BuildSeedRepoInputFile": builds_BuildSeedRepoInputFile, "builds_CreateBuildRequest": builds_CreateBuildRequest, - "builds_account_id": builds_account_id, - "builds_branch": builds_branch$, - "builds_commit_hash": builds_commit_hash$, - "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -142,40 +94,14 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -222,41 +148,15 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ @@ -267,7 +167,7 @@ export const tools: readonly Tool[] = [ { name: "workersBuilds_workers_previews_edit", title: "Update preview", - description: "Update a single Preview of a Worker. Supports partial updates to the tracked branch, the automation flags, and the build settings.", + description: "Update a single Preview of a Worker. Supports partial updates to the tracked branch, the automation flags, and the build settings.\n\nPATCH /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}", inputSchema: { type: "object", properties: { @@ -275,18 +175,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_UpdatePreviewRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "preview_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The script tag of the Preview, which is a Worker in its own right" + "description": "The script tag of the Preview, which is a Worker in its own right", + "type": "string" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "description": "The Worker script tag (external script ID)", + "type": "string" } }, "required": [ @@ -301,21 +202,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_UpdatePreviewRequest": builds_UpdatePreviewRequest, "builds_UpdateWorkerBuildSettingsInput": builds_UpdateWorkerBuildSettingsInput, - "builds_account_id": builds_account_id, - "builds_build_caching_enabled": builds_build_caching_enabled$, - "builds_build_command": builds_build_command$, - "builds_build_token_uuid": builds_build_token_uuid$, - "builds_deploy_command": builds_deploy_command$, - "builds_external_script_id": builds_external_script_id$, - "builds_is_secret": builds_is_secret$, "builds_path_excludes": builds_path_excludes$, "builds_path_includes": builds_path_includes$, - "builds_preview_auto_build": builds_preview_auto_build$, - "builds_preview_auto_delete": builds_preview_auto_delete$, - "builds_root_directory": builds_root_directory$, }, }, outputSchema: { @@ -339,19 +231,8 @@ export const tools: readonly Tool[] = [ "builds_PaginationInfo": builds_PaginationInfo, "builds_PreviewResponse": builds_PreviewResponse, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, - "builds_branch": builds_branch, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_preview_auto_build": builds_preview_auto_build, - "builds_preview_auto_delete": builds_preview_auto_delete, - "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -406,19 +287,8 @@ export const tools: readonly Tool[] = [ "builds_PaginationInfo": builds_PaginationInfo, "builds_PreviewResponse": builds_PreviewResponse, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, - "builds_branch": builds_branch, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_preview_auto_build": builds_preview_auto_build, - "builds_preview_auto_delete": builds_preview_auto_delete, - "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ @@ -429,23 +299,24 @@ export const tools: readonly Tool[] = [ { name: "workersBuilds_workers_previews_get", title: "Get preview", - description: "Retrieve a single Preview of a Worker, including the build settings it currently uses.", + description: "Retrieve a single Preview of a Worker, including the build settings it currently uses.\n\nGET /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "preview_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The script tag of the Preview, which is a Worker in its own right" + "description": "The script tag of the Preview, which is a Worker in its own right", + "type": "string" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "description": "The Worker script tag (external script ID)", + "type": "string" } }, "required": [ @@ -459,10 +330,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -485,19 +353,8 @@ export const tools: readonly Tool[] = [ "builds_PaginationInfo": builds_PaginationInfo, "builds_PreviewResponse": builds_PreviewResponse, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, - "builds_branch": builds_branch, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_preview_auto_build": builds_preview_auto_build, - "builds_preview_auto_delete": builds_preview_auto_delete, - "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -547,19 +404,8 @@ export const tools: readonly Tool[] = [ "builds_PaginationInfo": builds_PaginationInfo, "builds_PreviewResponse": builds_PreviewResponse, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, - "builds_branch": builds_branch, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_preview_auto_build": builds_preview_auto_build, - "builds_preview_auto_delete": builds_preview_auto_delete, - "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ @@ -569,19 +415,20 @@ export const tools: readonly Tool[] = [ { name: "workersBuilds_workers_previews_list", title: "List previews", - description: "List the Previews of a Worker with pagination.", + description: "List the Previews of a Worker with pagination.\n\nGET /accounts/{account_id}/builds/workers/{script_tag}/previews", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "description": "The Worker script tag (external script ID)", + "type": "string" } }, "required": [ @@ -591,6 +438,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -609,10 +457,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -639,10 +484,6 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_PaginationInfo": builds_PaginationInfo, "builds_PreviewSummary": builds_PreviewSummary, - "builds_branch": builds_branch, - "builds_external_script_id": builds_external_script_id, - "builds_preview_auto_build": builds_preview_auto_build, - "builds_preview_auto_delete": builds_preview_auto_delete, }, }, annotations: { @@ -693,10 +534,6 @@ export const tools: readonly Tool[] = [ "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, "builds_PreviewSummary": builds_PreviewSummary, - "builds_branch": builds_branch, - "builds_external_script_id": builds_external_script_id, - "builds_preview_auto_build": builds_preview_auto_build, - "builds_preview_auto_delete": builds_preview_auto_delete, }, }, request: (args) => ({ @@ -710,23 +547,24 @@ export const tools: readonly Tool[] = [ { name: "workersBuilds_workers_previews_listBuilds", title: "List builds by preview", - description: "List the builds of a single Preview with pagination.", + description: "List the builds of a single Preview with pagination.\n\nGET /accounts/{account_id}/builds/workers/{script_tag}/previews/{preview_id}/builds", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "preview_id": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The script tag of the Preview, which is a Worker in its own right" + "description": "The script tag of the Preview, which is a Worker in its own right", + "type": "string" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "description": "The Worker script tag (external script ID)", + "type": "string" } }, "required": [ @@ -737,6 +575,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -755,10 +594,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -783,40 +619,14 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, annotations: { @@ -867,41 +677,15 @@ export const tools: readonly Tool[] = [ $defs: { "builds_APIResponse": builds_APIResponse, "builds_ApiError": builds_ApiError, - "builds_BuildOutcome": builds_BuildOutcome, "builds_BuildResponse": builds_BuildResponse, - "builds_BuildStatus": builds_BuildStatus, "builds_BuildTriggerMetadataResponse": builds_BuildTriggerMetadataResponse, - "builds_BuildTriggerSource": builds_BuildTriggerSource, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_UpsertRepoConnectionResponse": builds_UpsertRepoConnectionResponse, - "builds_branch": builds_branch, "builds_branch_excludes": builds_branch_excludes, "builds_branch_includes": builds_branch_includes, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_name": builds_build_token_name, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_build_uuid": builds_build_uuid, - "builds_commit_hash": builds_commit_hash, - "builds_created_on": builds_created_on, - "builds_deleted_on": builds_deleted_on, - "builds_deploy_command": builds_deploy_command, - "builds_deploy_hook_name": builds_deploy_hook_name, - "builds_external_script_id": builds_external_script_id, - "builds_modified_on": builds_modified_on, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_connection_uuid": builds_repo_connection_uuid, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, - "builds_stopped_on": builds_stopped_on, - "builds_trigger_name": builds_trigger_name, - "builds_trigger_uuid": builds_trigger_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersBuilds/workers/tools.ts b/src/generated/forge-mcp/workersBuilds/workers/tools.ts index 7b6852a4d..1abead92e 100644 --- a/src/generated/forge-mcp/workersBuilds/workers/tools.ts +++ b/src/generated/forge-mcp/workersBuilds/workers/tools.ts @@ -8,29 +8,12 @@ import { builds_EnvironmentVariablesResponse, builds_ErrorResponse, builds_PaginationInfo, - builds_SCMProviderType, builds_WorkerBuildSettings, builds_WorkerGitRepository, builds_WorkerResponse, - builds_build_caching_enabled, - builds_build_command, - builds_build_token_uuid, - builds_created_on, - builds_deploy_command, - builds_external_script_id, - builds_is_secret, builds_path_excludes, builds_path_includes, - builds_provider_account_id, - builds_provider_account_name, - builds_repo_id, - builds_repo_name, - builds_root_directory, } from "../../outputs.js"; -import { - builds_account_id, - builds_external_script_id as builds_external_script_id$, -} from "../../schemas.js"; import { builds_MigrateToPreviewsRequest } from "./schemas.js"; /** @@ -40,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "workersBuilds_workers_migrateToPreviews", title: "Migrate worker to previews", - description: "Migrate a Worker's legacy non-production trigger to Previews. The legacy build settings become the Previews base config and the legacy trigger is removed.", + description: "Migrate a Worker's legacy non-production trigger to Previews. The legacy build settings become the Previews base config and the legacy trigger is removed.\n\nPOST /accounts/{account_id}/builds/workers/{script_tag}/migrate_to_previews", inputSchema: { type: "object", properties: { @@ -48,14 +31,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/builds_MigrateToPreviewsRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/builds_account_id", - "description": "Account identifier." + "description": "Account identifier.", + "type": "string" }, "script_tag": { - "$ref": "#/$defs/builds_external_script_id", - "description": "The Worker script tag (external script ID)" + "description": "The Worker script tag (external script ID)", + "type": "string" } }, "required": [ @@ -69,10 +53,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "builds_MigrateToPreviewsRequest": builds_MigrateToPreviewsRequest, - "builds_account_id": builds_account_id, - "builds_external_script_id": builds_external_script_id$, }, }, outputSchema: { @@ -94,24 +77,11 @@ export const tools: readonly Tool[] = [ "builds_ApiError": builds_ApiError, "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, "builds_WorkerGitRepository": builds_WorkerGitRepository, "builds_WorkerResponse": builds_WorkerResponse, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, }, }, annotations: { @@ -161,24 +131,11 @@ export const tools: readonly Tool[] = [ "builds_EnvironmentVariablesResponse": builds_EnvironmentVariablesResponse, "builds_ErrorResponse": builds_ErrorResponse, "builds_PaginationInfo": builds_PaginationInfo, - "builds_SCMProviderType": builds_SCMProviderType, "builds_WorkerBuildSettings": builds_WorkerBuildSettings, "builds_WorkerGitRepository": builds_WorkerGitRepository, "builds_WorkerResponse": builds_WorkerResponse, - "builds_build_caching_enabled": builds_build_caching_enabled, - "builds_build_command": builds_build_command, - "builds_build_token_uuid": builds_build_token_uuid, - "builds_created_on": builds_created_on, - "builds_deploy_command": builds_deploy_command, - "builds_external_script_id": builds_external_script_id, - "builds_is_secret": builds_is_secret, "builds_path_excludes": builds_path_excludes, "builds_path_includes": builds_path_includes, - "builds_provider_account_id": builds_provider_account_id, - "builds_provider_account_name": builds_provider_account_name, - "builds_repo_id": builds_repo_id, - "builds_repo_name": builds_repo_name, - "builds_root_directory": builds_root_directory, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts index ffdcd5888..99f02b6fd 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `workers_dispatch_namespace_name` in responses. - */ -export const workers_dispatch_namespace_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `workers_namespace-list-response` in responses. */ @@ -38,28 +31,30 @@ export const workers_namespace$$list$$response: JsonSchema = { export const workers_namespace$$response: JsonSchema = { "properties": { "created_by": { - "$ref": "#/$defs/workers_identifier" + "type": "string" }, "created_on": { - "$ref": "#/$defs/workers_created_on" + "format": "date-time", + "type": "string" }, "modified_by": { - "$ref": "#/$defs/workers_identifier" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/workers_modified_on" + "format": "date-time", + "type": "string" }, "namespace_id": { - "$ref": "#/$defs/workers_uuid" + "type": "string" }, "namespace_name": { - "$ref": "#/$defs/workers_dispatch_namespace_name" + "type": "string" }, "script_count": { - "$ref": "#/$defs/workers_script_count" + "type": "integer" }, "trusted_workers": { - "$ref": "#/$defs/workers_trusted_workers" + "type": "boolean" } }, "type": "object" @@ -83,24 +78,3 @@ export const workers_namespace$$single$$response: JsonSchema = { } ] }; - -/** - * The schema of `workers_script_count` in responses. - */ -export const workers_script_count: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `workers_trusted_workers` in responses. - */ -export const workers_trusted_workers: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `workers_uuid` in responses. - */ -export const workers_uuid: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/schemas.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/schemas.ts deleted file mode 100644 index 74ad61e97..000000000 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `workers_dispatch_namespace_name`. - */ -export const workers_dispatch_namespace_name: JsonSchema = { - "description": "Name of the Workers for Platforms dispatch namespace.", - "type": "string" -}; - -/** - * The schema of `workers_trusted_workers`. - */ -export const workers_trusted_workers: JsonSchema = { - "description": "Whether the Workers in the namespace are executed in a \"trusted\" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the `request.cf` object on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, and `request.cf` is undefined. By default, Workers in a namespace are \"untrusted\".", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts index 52add6073..a4b20d40b 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/assets/upload/tools.ts @@ -10,11 +10,8 @@ import { } from "../../../../../outputs.js"; import { workers_create$$assets$$upload$$session$$object, - workers_identifier, workers_manifest$$value, - workers_script_name, } from "../../../../../schemas.js"; -import { workers_dispatch_namespace_name } from "../../../schemas.js"; /** * The tools of `workersForPlatforms.dispatchNamespaces.scripts.assets.upload`. @@ -23,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_assets_upload_createSession", title: "Create Workers for Platforms Assets Upload Session", - description: "Start uploading a collection of assets for use in a Workers for Platforms script version. To learn more about the direct uploads of assets, see https://developers.cloudflare.com/workers/static-assets/direct-upload/.", + description: "Start uploading a collection of assets for use in a Workers for Platforms script version. To learn more about the direct uploads of assets, see https://developers.cloudflare.com/workers/static-assets/direct-upload/.\n\nPOST /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/assets-upload-session", inputSchema: { type: "object", properties: { @@ -31,18 +28,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_create-assets-upload-session-object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -57,12 +55,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_create-assets-upload-session-object": workers_create$$assets$$upload$$session$$object, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_manifest-value": workers_manifest$$value, - "workers_script_name": workers_script_name, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts index 030e6fbb4..6d7e0f993 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/bindings/tools.ts @@ -44,16 +44,9 @@ import { workers_binding_kind_vpc_service, workers_binding_kind_wasm_module, workers_binding_kind_workflow, - workers_binding_name, workers_bindings, workers_messages, - workers_namespace_identifier, } from "../../../../outputs.js"; -import { - workers_identifier, - workers_script_name, -} from "../../../../schemas.js"; -import { workers_dispatch_namespace_name } from "../../schemas.js"; /** * The tools of `workersForPlatforms.dispatchNamespaces.scripts.bindings`. @@ -62,23 +55,24 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_bindings_get", title: "Get Workers for Platforms Script Bindings", - description: "Fetch bindings from a script uploaded to a Workers for Platforms dispatch namespace.", + description: "Fetch bindings from a script uploaded to a Workers for Platforms dispatch namespace.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/bindings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -92,11 +86,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -156,10 +146,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_messages": workers_messages, - "workers_namespace_identifier": workers_namespace_identifier, }, }, annotations: { @@ -244,10 +232,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_messages": workers_messages, - "workers_namespace_identifier": workers_namespace_identifier, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts index c833f6601..45b2d98fd 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/content/tools.ts @@ -6,11 +6,6 @@ import { workers_api$$response$$common$$failure, workers_messages, } from "../../../../outputs.js"; -import { - workers_identifier, - workers_script_name, -} from "../../../../schemas.js"; -import { workers_dispatch_namespace_name } from "../../schemas.js"; /** * The tools of `workersForPlatforms.dispatchNamespaces.scripts.content`. @@ -19,23 +14,24 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_content_get", title: "Get Workers for Platforms Script Content", - description: "Fetch content from a script uploaded to a Workers for Platforms dispatch namespace.", + description: "Fetch content from a script uploaded to a Workers for Platforms dispatch namespace.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/content", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -49,11 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts index 09c5c9941..030c9b0ce 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/outputs.ts @@ -12,7 +12,7 @@ export const workers_namespace$$script$$delete$$bulk$$response: JsonSchema = { "items": { "properties": { "id": { - "$ref": "#/$defs/workers_uuid" + "type": "string" } }, "type": "object" @@ -35,13 +35,15 @@ export const workers_namespace$$script$$delete$$bulk$$response: JsonSchema = { export const workers_namespace$$script$$response: JsonSchema = { "properties": { "created_on": { - "$ref": "#/$defs/workers_created_on" + "format": "date-time", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name" + "type": "string" }, "modified_on": { - "$ref": "#/$defs/workers_modified_on" + "format": "date-time", + "type": "string" }, "script": { "$ref": "#/$defs/workers_script-response" diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts index 0a281d885..ba66d5851 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/secrets/tools.ts @@ -8,7 +8,6 @@ import { workers_api$$response$$null$$result, workers_binding_kind_secret_key, workers_binding_kind_secret_text, - workers_binding_name, workers_messages, workers_secret, workers_secret$$patch$$response, @@ -16,15 +15,9 @@ import { import { workers_binding_kind_secret_key as workers_binding_kind_secret_key$, workers_binding_kind_secret_text as workers_binding_kind_secret_text$, - workers_binding_name as workers_binding_name$, - workers_identifier, - workers_script_name, workers_secret as workers_secret$, workers_secret$$patch$$request, - workers_secret_name, - workers_secret_name_url_encoded, } from "../../../../schemas.js"; -import { workers_dispatch_namespace_name } from "../../schemas.js"; /** * The tools of `workersForPlatforms.dispatchNamespaces.scripts.secrets`. @@ -33,7 +26,7 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_bulk", title: "Patch multiple Workers for Platforms script secrets", - description: "Create, update, or delete multiple secrets on a Workers for Platforms script in a single operation using JSON Merge Patch (RFC 7396).\nThis operation creates a single version with all changes included.\nPrefer this API instead of changing many secrets individually.\n\nUsage:\n\n- To create or update a secret, set its value to a secret object.\n- To delete a secret, set its value to `null`.\n- Secrets not included in the request are left unchanged.", + description: "Create, update, or delete multiple secrets on a Workers for Platforms script in a single operation using JSON Merge Patch (RFC 7396).\nThis operation creates a single version with all changes included.\nPrefer this API instead of changing many secrets individually.\n\nUsage:\n\n- To create or update a secret, set its value to a secret object.\n- To delete a secret, set its value to `null`.\n- Secrets not included in the request are left unchanged.\n\nPATCH /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/secrets-bulk", inputSchema: { type: "object", properties: { @@ -41,18 +34,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_secret-patch-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -67,13 +61,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, - "workers_binding_name": workers_binding_name$, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, "workers_secret": workers_secret$, "workers_secret-patch-request": workers_secret$$patch$$request, }, @@ -99,7 +90,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, "workers_secret-patch-response": workers_secret$$patch$$response, @@ -146,7 +136,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, "workers_secret-patch-response": workers_secret$$patch$$response, @@ -160,27 +149,28 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_delete", title: "Delete Workers for Platforms script secret", - description: "Remove a secret from a Workers for Platforms script by creating a new version without that\nsecret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers for Platforms script secret.", + description: "Remove a secret from a Workers for Platforms script by creating a new version without that\nsecret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers for Platforms script secret.\n\nDELETE /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/secrets/{secret_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" }, "secret_name": { - "$ref": "#/$defs/workers_secret_name", - "description": "A JavaScript variable name for the secret binding." + "description": "A JavaScript variable name for the secret binding.", + "type": "string" } }, "required": [ @@ -192,10 +182,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "url_encoded": { - "$ref": "#/$defs/workers_secret_name_url_encoded", - "description": "Flag that indicates whether the secret name is URL encoded." + "description": "Flag that indicates whether the secret name is URL encoded.", + "type": "boolean" } }, "type": "object" @@ -204,13 +195,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - "workers_secret_name": workers_secret_name, - "workers_secret_name_url_encoded": workers_secret_name_url_encoded, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", @@ -260,27 +245,28 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_get", title: "Get Workers for Platforms Script Secret", - description: "Get a given secret binding (value omitted) on a script uploaded to a Workers for Platforms dispatch namespace.", + description: "Get a given secret binding (value omitted) on a script uploaded to a Workers for Platforms dispatch namespace.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/secrets/{secret_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" }, "secret_name": { - "$ref": "#/$defs/workers_secret_name", - "description": "A JavaScript variable name for the secret binding." + "description": "A JavaScript variable name for the secret binding.", + "type": "string" } }, "required": [ @@ -292,10 +278,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "url_encoded": { - "$ref": "#/$defs/workers_secret_name_url_encoded", - "description": "Flag that indicates whether the secret name is URL encoded." + "description": "Flag that indicates whether the secret name is URL encoded.", + "type": "boolean" } }, "type": "object" @@ -304,13 +291,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - "workers_secret_name": workers_secret_name, - "workers_secret_name_url_encoded": workers_secret_name_url_encoded, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -333,7 +314,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -383,7 +363,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -398,23 +377,24 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_list", title: "List Workers for Platforms Script Secrets", - description: "List secrets bound to a script uploaded to a Workers for Platforms dispatch namespace.", + description: "List secrets bound to a script uploaded to a Workers for Platforms dispatch namespace.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/secrets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -428,11 +408,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -458,7 +434,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -511,7 +486,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -523,7 +497,7 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_secrets_update", title: "Add a secret to a Workers for Platforms script", - description: "Add a secret to a Workers for Platforms script by creating a new version with that secret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.", + description: "Add a secret to a Workers for Platforms script by creating a new version with that secret.\n\nWhen changing more than one secret at a time, prefer the \"Patch multiple\nscript secrets\" API instead of changing many secrets individually.\n\nPUT /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/secrets", inputSchema: { type: "object", properties: { @@ -531,18 +505,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_secret" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -557,13 +532,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "workers_binding_kind_secret_key": workers_binding_kind_secret_key$, "workers_binding_kind_secret_text": workers_binding_kind_secret_text$, - "workers_binding_name": workers_binding_name$, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, "workers_secret": workers_secret$, }, }, @@ -588,7 +560,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, @@ -639,7 +610,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_binding_kind_secret_key": workers_binding_kind_secret_key, "workers_binding_kind_secret_text": workers_binding_kind_secret_text, - "workers_binding_name": workers_binding_name, "workers_messages": workers_messages, "workers_secret": workers_secret, }, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts index df92f591b..c3ec46950 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/outputs.ts @@ -28,7 +28,7 @@ export const workers_namespace$$script$$and$$version$$settings$$item: JsonSchema "compatibility_date": { "allOf": [ { - "$ref": "#/$defs/workers_compatibility_date" + "type": "string" }, { "type": "string" @@ -58,7 +58,7 @@ export const workers_namespace$$script$$and$$version$$settings$$item: JsonSchema "$ref": "#/$defs/workers_limits" }, "logpush": { - "$ref": "#/$defs/workers_logpush" + "type": "boolean" }, "migrations": { "oneOf": [ @@ -103,7 +103,12 @@ export const workers_namespace$$script$$and$$version$$settings$$item: JsonSchema ] }, "usage_model": { - "$ref": "#/$defs/workers_usage_model" + "enum": [ + "standard", + "bundled", + "unbound" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts index dcaa29d9a..870e92944 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/settings/tools.ts @@ -44,11 +44,8 @@ import { workers_binding_kind_vpc_service, workers_binding_kind_wasm_module, workers_binding_kind_workflow, - workers_binding_name, workers_bindings, workers_cache_options, - workers_compatibility_date, - workers_compatibility_flag, workers_compatibility_flags, workers_durable_object_deleted_export, workers_durable_object_expecting_transfer_export, @@ -58,38 +55,27 @@ import { workers_durable_object_transferred_export, workers_entrypoint_cache_options, workers_export_config, - workers_export_storage, workers_exports_config_map, workers_exports_reconciliation_info, workers_exports_reconciliation_rename, workers_exports_reconciliation_result, - workers_exports_reconciliation_scenario, workers_exports_reconciliation_transfer, workers_exports_reconciliation_transfer_pending, workers_exports_reconciliation_warning, workers_limits, - workers_logpush, workers_messages, workers_migration_step, workers_migration_tag_conditions, workers_multiple_step_migrations, - workers_namespace_identifier, workers_observability$$2, workers_placement_info_no_status, workers_placement_target, workers_single_step_migrations, - workers_tag, workers_tags, workers_tail_consumers, workers_tail_consumers_script, - workers_usage_model, workers_worker_export, } from "../../../../outputs.js"; -import { - workers_identifier, - workers_script_name, -} from "../../../../schemas.js"; -import { workers_dispatch_namespace_name } from "../../schemas.js"; import { workers_namespace$$script$$and$$version$$settings$$item } from "./outputs.js"; /** @@ -99,23 +85,24 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_settings_get", title: "Get Workers for Platforms Script Settings", - description: "Get settings for a script uploaded to a Workers for Platforms dispatch namespace.", + description: "Get settings for a script uploaded to a Workers for Platforms dispatch namespace.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -129,11 +116,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -190,11 +173,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, @@ -204,32 +184,26 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, "workers_limits": workers_limits, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, "workers_namespace-script-and-version-settings-item": workers_namespace$$script$$and$$version$$settings$$item, - "workers_namespace_identifier": workers_namespace_identifier, "workers_observability-2": workers_observability$$2, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, @@ -312,11 +286,8 @@ export const tools: readonly Tool[] = [ "workers_binding_kind_vpc_service": workers_binding_kind_vpc_service, "workers_binding_kind_wasm_module": workers_binding_kind_wasm_module, "workers_binding_kind_workflow": workers_binding_kind_workflow, - "workers_binding_name": workers_binding_name, "workers_bindings": workers_bindings, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, @@ -326,32 +297,26 @@ export const tools: readonly Tool[] = [ "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, "workers_exports_reconciliation_info": workers_exports_reconciliation_info, "workers_exports_reconciliation_rename": workers_exports_reconciliation_rename, "workers_exports_reconciliation_result": workers_exports_reconciliation_result, - "workers_exports_reconciliation_scenario": workers_exports_reconciliation_scenario, "workers_exports_reconciliation_transfer": workers_exports_reconciliation_transfer, "workers_exports_reconciliation_transfer_pending": workers_exports_reconciliation_transfer_pending, "workers_exports_reconciliation_warning": workers_exports_reconciliation_warning, "workers_limits": workers_limits, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, "workers_migration_step": workers_migration_step, "workers_migration_tag_conditions": workers_migration_tag_conditions, "workers_multiple_step_migrations": workers_multiple_step_migrations, "workers_namespace-script-and-version-settings-item": workers_namespace$$script$$and$$version$$settings$$item, - "workers_namespace_identifier": workers_namespace_identifier, "workers_observability-2": workers_observability$$2, "workers_placement_info_no_status": workers_placement_info_no_status, "workers_placement_target": workers_placement_target, "workers_single_step_migrations": workers_single_step_migrations, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/schemas.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/schemas.ts index 20b91c078..0bb79a16c 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/schemas.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/schemas.ts @@ -18,11 +18,3 @@ export const workers_tag_patch: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `workers_typed_tag_key`. - */ -export const workers_typed_tag_key: JsonSchema = { - "description": "A typed tag key containing only Unicode letters or numbers, underscores, periods, or hyphens. The complete UTF-8 encoded tag (the key plus `=` and the value when the value is non-empty) must not exceed 1024 bytes. Cloudflare-reserved prefixes are not accepted.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts index 1844f9140..613190a8e 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tags/tools.ts @@ -7,17 +7,10 @@ import { workers_api$$response$$common$$failure, workers_api$$response$$null$$result, workers_messages, - workers_tag, } from "../../../../outputs.js"; -import { - workers_identifier, - workers_script_name, - workers_tag as workers_tag$, - workers_tags, -} from "../../../../schemas.js"; -import { workers_dispatch_namespace_name } from "../../schemas.js"; +import { workers_tags } from "../../../../schemas.js"; import { workers_tags$$kv$$response, workers_tags_kv } from "./outputs.js"; -import { workers_tag_patch, workers_typed_tag_key } from "./schemas.js"; +import { workers_tag_patch } from "./schemas.js"; /** * The tools of `workersForPlatforms.dispatchNamespaces.scripts.tags`. @@ -26,26 +19,27 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_tags_create", title: "Create Workers for Platforms Script Tag", - description: "Add a single tag to a script uploaded to a Workers for Platforms dispatch namespace.", + description: "Add a single tag to a script uploaded to a Workers for Platforms dispatch namespace.\n\nPUT /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/tags/{tag}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" }, "tag": { - "$ref": "#/$defs/workers_tag" + "type": "string" } }, "required": [ @@ -60,12 +54,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - "workers_tag": workers_tag$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", @@ -115,40 +104,43 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_tags_delete", title: "Delete Workers for Platforms Script Tag", - description: "Delete a tag from a script uploaded to a Workers for Platforms dispatch namespace.\n\nOn `api-version` dates on or after `2026-10-01`, `tag` identifies a key and the operation returns the complete updated tag map. Deleting a missing key succeeds. Earlier versions retain the legacy string-tag behavior and return a null result.\n\nConfirm with the user before calling this tool. This will delete the tag from the Workers for Platforms script.", + description: "Delete a tag from a script uploaded to a Workers for Platforms dispatch namespace.\n\nOn `api-version` dates on or after `2026-10-01`, `tag` identifies a key and the operation returns the complete updated tag map. Deleting a missing key succeeds. Earlier versions retain the legacy string-tag behavior and return a null result.\n\nConfirm with the user before calling this tool. This will delete the tag from the Workers for Platforms script.\n\nDELETE /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/tags/{tag}", inputSchema: { type: "object", properties: { "headers": { + "additionalProperties": false, "properties": { "api-version": { - "description": "Requested API compatibility date in `YYYY-MM-DD[.release]` format (UTC). The optional release suffix contains lowercase letters; for example, `2026-10-01.epoch`.\n\nTyped Worker tag operations require a date on or after `2026-10-01`.\n", + "description": "Requested API compatibility date in `YYYY-MM-DD[.release]` format (UTC). The optional release suffix contains lowercase letters; for example, `2026-10-01.epoch`.\n\nTyped Worker tag operations require a date on or after `2026-10-01`.", "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" }, "tag": { "oneOf": [ { - "$ref": "#/$defs/workers_typed_tag_key" + "description": "A typed tag key containing only Unicode letters or numbers, underscores, periods, or hyphens. The complete UTF-8 encoded tag (the key plus `=` and the value when the value is non-empty) must not exceed 1024 bytes. Cloudflare-reserved prefixes are not accepted.", + "type": "string" }, { - "$ref": "#/$defs/workers_tag" + "type": "string" } ] } @@ -165,13 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - "workers_tag": workers_tag$, - "workers_typed_tag_key": workers_typed_tag_key, - }, + additionalProperties: false, }, outputSchema: { "oneOf": [ @@ -239,7 +225,7 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_tags_edit", title: "Update Workers for Platforms Script Tag", - description: "Add or update one tag key/value on a script uploaded to a Workers for Platforms dispatch namespace without replacing its other tags.\n\nThis operation requires an `api-version` on or after `2026-10-01`.", + description: "Add or update one tag key/value on a script uploaded to a Workers for Platforms dispatch namespace without replacing its other tags.\n\nThis operation requires an `api-version` on or after `2026-10-01`.\n\nPATCH /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/tags/{tag}", inputSchema: { type: "object", properties: { @@ -247,31 +233,33 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_tag_patch" }, "headers": { + "additionalProperties": false, "properties": { "api-version": { - "description": "Requested API compatibility date in `YYYY-MM-DD[.release]` format (UTC). The optional release suffix contains lowercase letters; for example, `2026-10-01.epoch`.\n\nTyped Worker tag operations require a date on or after `2026-10-01`.\n", + "description": "Requested API compatibility date in `YYYY-MM-DD[.release]` format (UTC). The optional release suffix contains lowercase letters; for example, `2026-10-01.epoch`.\n\nTyped Worker tag operations require a date on or after `2026-10-01`.", "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" }, "tag": { - "$ref": "#/$defs/workers_typed_tag_key", - "description": "Tag key. Cloudflare-reserved prefixes are not accepted." + "description": "Tag key. Cloudflare-reserved prefixes are not accepted.", + "type": "string" } }, "required": [ @@ -287,12 +275,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, "workers_tag_patch": workers_tag_patch, - "workers_typed_tag_key": workers_typed_tag_key, }, }, outputSchema: { @@ -346,23 +331,24 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_tags_list", title: "List Workers for Platforms Script Tags", - description: "Fetch tags from a script uploaded to a Workers for Platforms dispatch namespace.", + description: "Fetch tags from a script uploaded to a Workers for Platforms dispatch namespace.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/tags", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -376,11 +362,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -391,7 +373,7 @@ export const tools: readonly Tool[] = [ "properties": { "result": { "items": { - "$ref": "#/$defs/workers_tag" + "type": "string" }, "type": "array" } @@ -402,7 +384,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_messages": workers_messages, - "workers_tag": workers_tag, }, }, annotations: { @@ -432,7 +413,7 @@ export const tools: readonly Tool[] = [ "properties": { "result": { "items": { - "$ref": "#/$defs/workers_tag" + "type": "string" }, "type": "array" } @@ -449,7 +430,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_messages": workers_messages, - "workers_tag": workers_tag, }, }, request: (args) => ({ @@ -459,7 +439,7 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_tags_update", title: "Replace Workers for Platforms Script Tags", - description: "Replace tags for a script uploaded to a Workers for Platforms dispatch namespace.", + description: "Replace tags for a script uploaded to a Workers for Platforms dispatch namespace.\n\nPUT /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}/tags", inputSchema: { type: "object", properties: { @@ -467,18 +447,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/workers_tags" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -493,11 +474,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - "workers_tag": workers_tag$, "workers_tags": workers_tags, }, }, @@ -510,7 +488,7 @@ export const tools: readonly Tool[] = [ "properties": { "result": { "items": { - "$ref": "#/$defs/workers_tag" + "type": "string" }, "type": "array" } @@ -524,7 +502,6 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_messages": workers_messages, - "workers_tag": workers_tag, }, }, annotations: { @@ -552,7 +529,7 @@ export const tools: readonly Tool[] = [ "properties": { "result": { "items": { - "$ref": "#/$defs/workers_tag" + "type": "string" }, "type": "array" } @@ -572,7 +549,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_messages": workers_messages, - "workers_tag": workers_tag, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts index 3782daf33..4afde0181 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/scripts/tools.ts @@ -7,10 +7,7 @@ import { workers_api$$response$$common$$failure, workers_api$$response$$null$$result, workers_cache_options, - workers_compatibility_date, - workers_compatibility_flag, workers_compatibility_flags, - workers_created_on, workers_durable_object_deleted_export, workers_durable_object_expecting_transfer_export, workers_durable_object_export, @@ -18,31 +15,18 @@ import { workers_durable_object_renamed_export, workers_durable_object_transferred_export, workers_entrypoint_cache_options, - workers_etag, workers_export_config, - workers_export_storage, workers_exports_config_map, - workers_has_assets, - workers_has_modules, - workers_logpush, workers_messages, - workers_modified_on, workers_observability$$2, workers_placement_info, - workers_placement_mode, - workers_placement_status, workers_placement_target, workers_script$$response, - workers_tag, workers_tags, workers_tail_consumers, workers_tail_consumers_script, - workers_usage_model, workers_worker_export, } from "../../../outputs.js"; -import { workers_identifier, workers_script_name } from "../../../schemas.js"; -import { workers_dispatch_namespace_name, workers_uuid } from "../outputs.js"; -import { workers_dispatch_namespace_name as workers_dispatch_namespace_name$ } from "../schemas.js"; import { workers_namespace$$script$$delete$$bulk$$response, workers_namespace$$script$$response, @@ -56,19 +40,20 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_bulkDelete", title: "Delete Workers for Platforms Scripts", - description: "Delete multiple scripts from a Workers for Platforms dispatch namespace based on optional tag filters.\n\nConfirm with the user before calling this tool. This will permanently delete matching scripts in the Workers for Platforms dispatch namespace.", + description: "Delete multiple scripts from a Workers for Platforms dispatch namespace based on optional tag filters.\n\nConfirm with the user before calling this tool. This will permanently delete matching scripts in the Workers for Platforms dispatch namespace.\n\nDELETE /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" } }, "required": [ @@ -78,6 +63,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "description": "Limit the number of scripts to delete.", @@ -98,16 +84,12 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_namespace-script-delete-bulk-response", $defs: { "workers_namespace-script-delete-bulk-response": workers_namespace$$script$$delete$$bulk$$response, - "workers_uuid": workers_uuid, }, }, annotations: { @@ -140,7 +122,6 @@ export const tools: readonly Tool[] = [ "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_messages": workers_messages, "workers_namespace-script-delete-bulk-response": workers_namespace$$script$$delete$$bulk$$response, - "workers_uuid": workers_uuid, }, }, request: (args) => ({ @@ -154,23 +135,24 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_delete", title: "Delete Workers for Platforms Script", - description: "Delete a script from a Workers for Platforms dispatch namespace. This call has no response body on a successful delete.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers for Platforms script.", + description: "Delete a script from a Workers for Platforms dispatch namespace. This call has no response body on a successful delete.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers for Platforms script.\n\nDELETE /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -181,6 +163,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "force": { "description": "If true, delete the script even when other Workers still reference it. Service bindings in those Workers may be left broken. Durable Object namespaces implemented by the deleted script are deleted even if other Workers reference them.", @@ -193,11 +176,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", @@ -247,23 +226,24 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_get", title: "Get Workers for Platforms Script details", - description: "Fetch information about a script uploaded to a Workers for Platforms dispatch namespace.", + description: "Fetch information about a script uploaded to a Workers for Platforms dispatch namespace.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts/{script_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" }, "script_name": { - "$ref": "#/$defs/workers_script_name", - "description": "Name of the script." + "description": "Name of the script.", + "type": "string" } }, "required": [ @@ -277,22 +257,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, - "workers_identifier": workers_identifier, - "workers_script_name": workers_script_name, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_namespace-script-response-single", $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, "workers_durable_object_export": workers_durable_object_export, @@ -300,28 +272,18 @@ export const tools: readonly Tool[] = [ "workers_durable_object_renamed_export": workers_durable_object_renamed_export, "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, - "workers_etag": workers_etag, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, - "workers_has_assets": workers_has_assets, - "workers_has_modules": workers_has_modules, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-script-response": workers_namespace$$script$$response, "workers_namespace-script-response-single": workers_namespace$$script$$response$$single, "workers_observability-2": workers_observability$$2, "workers_placement_info": workers_placement_info, - "workers_placement_mode": workers_placement_mode, - "workers_placement_status": workers_placement_status, "workers_placement_target": workers_placement_target, "workers_script-response": workers_script$$response, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, @@ -354,11 +316,7 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, "workers_durable_object_export": workers_durable_object_export, @@ -366,28 +324,18 @@ export const tools: readonly Tool[] = [ "workers_durable_object_renamed_export": workers_durable_object_renamed_export, "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, - "workers_etag": workers_etag, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, - "workers_has_assets": workers_has_assets, - "workers_has_modules": workers_has_modules, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-script-response": workers_namespace$$script$$response, "workers_namespace-script-response-single": workers_namespace$$script$$response$$single, "workers_observability-2": workers_observability$$2, "workers_placement_info": workers_placement_info, - "workers_placement_mode": workers_placement_mode, - "workers_placement_status": workers_placement_status, "workers_placement_target": workers_placement_target, "workers_script-response": workers_script$$response, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, @@ -398,19 +346,20 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_scripts_list", title: "List Workers for Platforms Scripts", - description: "Fetch a list of scripts uploaded to a Workers for Platforms dispatch namespace.", + description: "Fetch a list of scripts uploaded to a Workers for Platforms dispatch namespace.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}/scripts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" } }, "required": [ @@ -420,6 +369,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "tags": { "description": "Filter scripts by tags. Format: comma-separated list of tag:allowed pairs where allowed is 'yes' or 'no'.", @@ -432,10 +382,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, - "workers_identifier": workers_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -460,11 +407,7 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, "workers_durable_object_export": workers_durable_object_export, @@ -472,27 +415,17 @@ export const tools: readonly Tool[] = [ "workers_durable_object_renamed_export": workers_durable_object_renamed_export, "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, - "workers_etag": workers_etag, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, - "workers_has_assets": workers_has_assets, - "workers_has_modules": workers_has_modules, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-script-response": workers_namespace$$script$$response, "workers_observability-2": workers_observability$$2, "workers_placement_info": workers_placement_info, - "workers_placement_mode": workers_placement_mode, - "workers_placement_status": workers_placement_status, "workers_placement_target": workers_placement_target, "workers_script-response": workers_script$$response, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, @@ -543,11 +476,7 @@ export const tools: readonly Tool[] = [ "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, "workers_cache_options": workers_cache_options, - "workers_compatibility_date": workers_compatibility_date, - "workers_compatibility_flag": workers_compatibility_flag, "workers_compatibility_flags": workers_compatibility_flags, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, "workers_durable_object_deleted_export": workers_durable_object_deleted_export, "workers_durable_object_expecting_transfer_export": workers_durable_object_expecting_transfer_export, "workers_durable_object_export": workers_durable_object_export, @@ -555,27 +484,17 @@ export const tools: readonly Tool[] = [ "workers_durable_object_renamed_export": workers_durable_object_renamed_export, "workers_durable_object_transferred_export": workers_durable_object_transferred_export, "workers_entrypoint_cache_options": workers_entrypoint_cache_options, - "workers_etag": workers_etag, "workers_export_config": workers_export_config, - "workers_export_storage": workers_export_storage, "workers_exports_config_map": workers_exports_config_map, - "workers_has_assets": workers_has_assets, - "workers_has_modules": workers_has_modules, - "workers_logpush": workers_logpush, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-script-response": workers_namespace$$script$$response, "workers_observability-2": workers_observability$$2, "workers_placement_info": workers_placement_info, - "workers_placement_mode": workers_placement_mode, - "workers_placement_status": workers_placement_status, "workers_placement_target": workers_placement_target, "workers_script-response": workers_script$$response, - "workers_tag": workers_tag, "workers_tags": workers_tags, "workers_tail_consumers": workers_tail_consumers, "workers_tail_consumers_script": workers_tail_consumers_script, - "workers_usage_model": workers_usage_model, "workers_worker_export": workers_worker_export, }, }, diff --git a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts index 028b64c83..5d2a289e7 100644 --- a/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts +++ b/src/generated/forge-mcp/workersForPlatforms/dispatchNamespaces/tools.ts @@ -6,25 +6,13 @@ import { workers_api$$response$$common, workers_api$$response$$common$$failure, workers_api$$response$$null$$result, - workers_created_on, - workers_identifier, workers_messages, - workers_modified_on, } from "../../outputs.js"; -import { workers_identifier as workers_identifier$ } from "../../schemas.js"; import { - workers_dispatch_namespace_name, workers_namespace$$list$$response, workers_namespace$$response, workers_namespace$$single$$response, - workers_script_count, - workers_trusted_workers, - workers_uuid, } from "./outputs.js"; -import { - workers_dispatch_namespace_name as workers_dispatch_namespace_name$, - workers_trusted_workers as workers_trusted_workers$, -} from "./schemas.js"; /** * The tools of `workersForPlatforms.dispatchNamespaces`. @@ -33,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_create", title: "Create Workers for Platforms Dispatch Namespace", - description: "Create a new Workers for Platforms dispatch namespace.", + description: "Create a new Workers for Platforms dispatch namespace.\n\nPOST /accounts/{account_id}/workers/dispatch/namespaces", inputSchema: { type: "object", properties: { @@ -47,10 +35,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -63,24 +52,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "workers_identifier": workers_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_namespace-single-response", $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-response": workers_namespace$$response, "workers_namespace-single-response": workers_namespace$$single$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, annotations: { @@ -109,16 +89,9 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-response": workers_namespace$$response, "workers_namespace-single-response": workers_namespace$$single$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, request: (args) => ({ @@ -129,19 +102,20 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_delete", title: "Delete Workers for Platforms Dispatch Namespace", - description: "Delete a Workers for Platforms dispatch namespace.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers for Platforms dispatch namespace.", + description: "Delete a Workers for Platforms dispatch namespace.\n\nConfirm with the user before calling this tool. This will permanently delete the Workers for Platforms dispatch namespace.\n\nDELETE /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" } }, "required": [ @@ -154,10 +128,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, - "workers_identifier": workers_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_api-response-null-result", @@ -204,7 +175,7 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_edit", title: "Patch Workers for Platforms Dispatch Namespace", - description: "Patch a Workers for Platforms dispatch namespace. Omitted fields are left unchanged.", + description: "Patch a Workers for Platforms dispatch namespace. Omitted fields are left unchanged.\n\nPATCH /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}", inputSchema: { type: "object", properties: { @@ -215,22 +186,23 @@ export const tools: readonly Tool[] = [ "type": "string" }, "trusted_workers": { - "$ref": "#/$defs/workers_trusted_workers", "default": false, - "description": "Whether the Workers in the namespace are executed in a \"trusted\" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the `request.cf` object on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, and `request.cf` is undefined. By default, Workers in a namespace are \"untrusted\"." + "description": "Whether the Workers in the namespace are executed in a \"trusted\" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the `request.cf` object on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, and `request.cf` is undefined. By default, Workers in a namespace are \"untrusted\".", + "type": "boolean" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" } }, "required": [ @@ -244,26 +216,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, - "workers_identifier": workers_identifier$, - "workers_trusted_workers": workers_trusted_workers$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_namespace-single-response", $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-response": workers_namespace$$response, "workers_namespace-single-response": workers_namespace$$single$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, annotations: { @@ -295,16 +256,9 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-response": workers_namespace$$response, "workers_namespace-single-response": workers_namespace$$single$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, request: (args) => ({ @@ -315,19 +269,20 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_get", title: "Get Workers for Platforms Dispatch Namespace", - description: "Get a Workers for Platforms dispatch namespace.", + description: "Get a Workers for Platforms dispatch namespace.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" } }, "required": [ @@ -340,25 +295,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, - "workers_identifier": workers_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_namespace-single-response", $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-response": workers_namespace$$response, "workers_namespace-single-response": workers_namespace$$single$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, annotations: { @@ -389,16 +334,9 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-response": workers_namespace$$response, "workers_namespace-single-response": workers_namespace$$single$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, request: (args) => ({ @@ -408,15 +346,16 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_list", title: "List Workers for Platforms Dispatch Namespaces", - description: "Fetch a list of Workers for Platforms dispatch namespaces.", + description: "Fetch a list of Workers for Platforms dispatch namespaces.\n\nGET /accounts/{account_id}/workers/dispatch/namespaces", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -428,24 +367,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "workers_identifier": workers_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_namespace-list-response", $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-list-response": workers_namespace$$list$$response, "workers_namespace-response": workers_namespace$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, annotations: { @@ -476,16 +406,9 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-list-response": workers_namespace$$list$$response, "workers_namespace-response": workers_namespace$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, request: (args) => ({ @@ -495,7 +418,7 @@ export const tools: readonly Tool[] = [ { name: "workersForPlatforms_dispatchNamespaces_update", title: "Update Workers for Platforms Dispatch Namespace", - description: "Update a Workers for Platforms dispatch namespace.", + description: "Update a Workers for Platforms dispatch namespace.\n\nPUT /accounts/{account_id}/workers/dispatch/namespaces/{dispatch_namespace}", inputSchema: { type: "object", properties: { @@ -506,22 +429,23 @@ export const tools: readonly Tool[] = [ "type": "string" }, "trusted_workers": { - "$ref": "#/$defs/workers_trusted_workers", "default": false, - "description": "Whether the Workers in the namespace are executed in a \"trusted\" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the `request.cf` object on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, and `request.cf` is undefined. By default, Workers in a namespace are \"untrusted\"." + "description": "Whether the Workers in the namespace are executed in a \"trusted\" manner. When a Worker is trusted, it has access to the shared caches for the zone in the Cache API, and has access to the `request.cf` object on incoming Requests. When a Worker is untrusted, caches are not shared across the zone, and `request.cf` is undefined. By default, Workers in a namespace are \"untrusted\".", + "type": "boolean" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/workers_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "dispatch_namespace": { - "$ref": "#/$defs/workers_dispatch_namespace_name", - "description": "Name of the Workers for Platforms dispatch namespace." + "description": "Name of the Workers for Platforms dispatch namespace.", + "type": "string" } }, "required": [ @@ -535,26 +459,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "workers_dispatch_namespace_name": workers_dispatch_namespace_name$, - "workers_identifier": workers_identifier$, - "workers_trusted_workers": workers_trusted_workers$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/workers_namespace-single-response", $defs: { "workers_api-response-common": workers_api$$response$$common, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-response": workers_namespace$$response, "workers_namespace-single-response": workers_namespace$$single$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, annotations: { @@ -586,16 +499,9 @@ export const tools: readonly Tool[] = [ $defs: { "workers_api-response-common": workers_api$$response$$common, "workers_api-response-common-failure": workers_api$$response$$common$$failure, - "workers_created_on": workers_created_on, - "workers_dispatch_namespace_name": workers_dispatch_namespace_name, - "workers_identifier": workers_identifier, "workers_messages": workers_messages, - "workers_modified_on": workers_modified_on, "workers_namespace-response": workers_namespace$$response, "workers_namespace-single-response": workers_namespace$$single$$response, - "workers_script_count": workers_script_count, - "workers_trusted_workers": workers_trusted_workers, - "workers_uuid": workers_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/workersVpc/services/outputs.ts b/src/generated/forge-mcp/workersVpc/services/outputs.ts index 9c125a2e5..9ac304df8 100644 --- a/src/generated/forge-mcp/workersVpc/services/outputs.ts +++ b/src/generated/forge-mcp/workersVpc/services/outputs.ts @@ -239,7 +239,11 @@ export const infra_ServiceCommon: JsonSchema = { ] }, "type": { - "$ref": "#/$defs/infra_ServiceType" + "enum": [ + "tcp", + "http" + ], + "type": "string" }, "updated_at": { "format": "date-time", @@ -288,17 +292,6 @@ export const infra_ServiceHost: JsonSchema = { ] }; -/** - * The schema of `infra_ServiceType` in responses. - */ -export const infra_ServiceType: JsonSchema = { - "enum": [ - "tcp", - "http" - ], - "type": "string" -}; - /** * The schema of `infra_TcpServiceConfig` in responses. */ diff --git a/src/generated/forge-mcp/workersVpc/services/schemas.ts b/src/generated/forge-mcp/workersVpc/services/schemas.ts index 198d174bc..e7f713f72 100644 --- a/src/generated/forge-mcp/workersVpc/services/schemas.ts +++ b/src/generated/forge-mcp/workersVpc/services/schemas.ts @@ -225,7 +225,11 @@ export const infra_ServiceCommon: JsonSchema = { ] }, "type": { - "$ref": "#/$defs/infra_ServiceType" + "enum": [ + "tcp", + "http" + ], + "type": "string" } }, "required": [ @@ -270,17 +274,6 @@ export const infra_ServiceHost: JsonSchema = { ] }; -/** - * The schema of `infra_ServiceType`. - */ -export const infra_ServiceType: JsonSchema = { - "enum": [ - "tcp", - "http" - ], - "type": "string" -}; - /** * The schema of `infra_TcpServiceConfig`. */ diff --git a/src/generated/forge-mcp/workersVpc/services/tools.ts b/src/generated/forge-mcp/workersVpc/services/tools.ts index 094bfe4fa..c3919f5e8 100644 --- a/src/generated/forge-mcp/workersVpc/services/tools.ts +++ b/src/generated/forge-mcp/workersVpc/services/tools.ts @@ -9,7 +9,6 @@ import { infra_api$$response$$single, infra_messages, } from "../../outputs.js"; -import { infra_AccountTag } from "../../schemas.js"; import { infra_ApiTlsSettings, infra_ConnectivityServiceArray, @@ -23,7 +22,6 @@ import { infra_ServiceCommon, infra_ServiceConfig, infra_ServiceHost, - infra_ServiceType, infra_TcpServiceConfig, } from "./outputs.js"; import { @@ -38,7 +36,6 @@ import { infra_ServiceCommon as infra_ServiceCommon$, infra_ServiceConfig as infra_ServiceConfig$, infra_ServiceHost as infra_ServiceHost$, - infra_ServiceType as infra_ServiceType$, infra_TcpServiceConfig as infra_TcpServiceConfig$, } from "./schemas.js"; @@ -49,7 +46,7 @@ export const tools: readonly Tool[] = [ { name: "workersVpc_services_create", title: "Create Workers VPC connectivity service", - description: "Creates a new Workers VPC connectivity service in the account.\n\nThis method is beta.", + description: "Creates a new Workers VPC connectivity service in the account.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/connectivity/directory/services", inputSchema: { type: "object", properties: { @@ -57,10 +54,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/infra_ServiceConfig" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" } }, "required": [ @@ -73,8 +71,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "infra_AccountTag": infra_AccountTag, "infra_ApiTlsSettings": infra_ApiTlsSettings$, "infra_DualStackHost": infra_DualStackHost$, "infra_HostnameHost": infra_HostnameHost$, @@ -86,7 +84,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon$, "infra_ServiceConfig": infra_ServiceConfig$, "infra_ServiceHost": infra_ServiceHost$, - "infra_ServiceType": infra_ServiceType$, "infra_TcpServiceConfig": infra_TcpServiceConfig$, }, }, @@ -116,7 +113,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon, "infra_ServiceConfig": infra_ServiceConfig, "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, "infra_TcpServiceConfig": infra_TcpServiceConfig, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, @@ -164,7 +160,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon, "infra_ServiceConfig": infra_ServiceConfig, "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, "infra_TcpServiceConfig": infra_TcpServiceConfig, "infra_api-response-common-failure": infra_api$$response$$common$$failure, "infra_api-response-single": infra_api$$response$$single, @@ -179,11 +174,12 @@ export const tools: readonly Tool[] = [ { name: "workersVpc_services_delete", title: "Delete Workers VPC connectivity service", - description: "Removes a single Workers VPC connectivity service by its ID. Any Worker\nbindings referencing this service will stop working.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes a Workers VPC connectivity service.", + description: "Removes a single Workers VPC connectivity service by its ID. Any Worker\nbindings referencing this service will stop working.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. This operation permanently deletes a Workers VPC connectivity service.\n\nDELETE /accounts/{account_id}/connectivity/directory/services/{service_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -203,6 +199,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -232,11 +229,12 @@ export const tools: readonly Tool[] = [ { name: "workersVpc_services_get", title: "Get Workers VPC connectivity service", - description: "Fetches a single Workers VPC connectivity service by its ID.\n\nThis method is beta.", + description: "Fetches a single Workers VPC connectivity service by its ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/connectivity/directory/services/{service_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -256,6 +254,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -283,7 +282,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon, "infra_ServiceConfig": infra_ServiceConfig, "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, "infra_TcpServiceConfig": infra_TcpServiceConfig, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, @@ -331,7 +329,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon, "infra_ServiceConfig": infra_ServiceConfig, "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, "infra_TcpServiceConfig": infra_TcpServiceConfig, "infra_api-response-common-failure": infra_api$$response$$common$$failure, "infra_api-response-single": infra_api$$response$$single, @@ -345,15 +342,16 @@ export const tools: readonly Tool[] = [ { name: "workersVpc_services_list", title: "List Workers VPC connectivity services", - description: "Lists the Workers VPC connectivity services in the account.\n\nThis method is beta.", + description: "Lists the Workers VPC connectivity services in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/connectivity/directory/services", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" } }, "required": [ @@ -362,6 +360,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -376,7 +375,11 @@ export const tools: readonly Tool[] = [ "type": { "oneOf": [ { - "$ref": "#/$defs/infra_ServiceType" + "enum": [ + "tcp", + "http" + ], + "type": "string" }, { "type": "null" @@ -390,10 +393,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "infra_AccountTag": infra_AccountTag, - "infra_ServiceType": infra_ServiceType$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -422,7 +422,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon, "infra_ServiceConfig": infra_ServiceConfig, "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, "infra_TcpServiceConfig": infra_TcpServiceConfig, "infra_api-response-collection": infra_api$$response$$collection, "infra_api-response-common": infra_api$$response$$common, @@ -472,7 +471,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon, "infra_ServiceConfig": infra_ServiceConfig, "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, "infra_TcpServiceConfig": infra_TcpServiceConfig, "infra_api-response-collection": infra_api$$response$$collection, "infra_api-response-common": infra_api$$response$$common, @@ -492,7 +490,7 @@ export const tools: readonly Tool[] = [ { name: "workersVpc_services_update", title: "Update Workers VPC connectivity service", - description: "Updates an existing Workers VPC connectivity service by its ID.\n\nThis method is beta.", + description: "Updates an existing Workers VPC connectivity service by its ID.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/connectivity/directory/services/{service_id}", inputSchema: { type: "object", properties: { @@ -500,6 +498,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/infra_ServiceConfig" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -520,6 +519,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "infra_ApiTlsSettings": infra_ApiTlsSettings$, "infra_DualStackHost": infra_DualStackHost$, @@ -532,7 +532,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon$, "infra_ServiceConfig": infra_ServiceConfig$, "infra_ServiceHost": infra_ServiceHost$, - "infra_ServiceType": infra_ServiceType$, "infra_TcpServiceConfig": infra_TcpServiceConfig$, }, }, @@ -562,7 +561,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon, "infra_ServiceConfig": infra_ServiceConfig, "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, "infra_TcpServiceConfig": infra_TcpServiceConfig, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, @@ -610,7 +608,6 @@ export const tools: readonly Tool[] = [ "infra_ServiceCommon": infra_ServiceCommon, "infra_ServiceConfig": infra_ServiceConfig, "infra_ServiceHost": infra_ServiceHost, - "infra_ServiceType": infra_ServiceType, "infra_TcpServiceConfig": infra_TcpServiceConfig, "infra_api-response-common-failure": infra_api$$response$$common$$failure, "infra_api-response-single": infra_api$$response$$single, diff --git a/src/generated/forge-mcp/workflows/concurrency/tools.ts b/src/generated/forge-mcp/workflows/concurrency/tools.ts index a0958c2b0..adc0d99be 100644 --- a/src/generated/forge-mcp/workflows/concurrency/tools.ts +++ b/src/generated/forge-mcp/workflows/concurrency/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_concurrency_create", title: "Create a concurrency key", - description: "Creates an account-scoped concurrency key. Limits count steps still in flight from a previously deleted key of the same name.\n\nThis method is beta.", + description: "Creates an account-scoped concurrency key. Limits count steps still in flight from a previously deleted key of the same name.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/workflows/concurrency", inputSchema: { type: "object", properties: { @@ -32,6 +32,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -47,6 +48,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -432,11 +434,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_concurrency_delete", title: "Delete a concurrency key", - description: "Deletes a concurrency key. Fails while any workflow’s latest version references the key. The key disappears immediately, but steps already holding it keep their slots until they finish and still count against a key re-created with the same name.\n\nThis method is beta.", + description: "Deletes a concurrency key. Fails while any workflow’s latest version references the key. The key disappears immediately, but steps already holding it keep their slots until they finish and still count against a key re-created with the same name.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/workflows/concurrency/{key_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -457,6 +460,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -885,7 +889,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_concurrency_edit", title: "Update a concurrency key", - description: "Updates the limit of a concurrency key. Applies to instances that start after the change.\n\nThis method is beta.", + description: "Updates the limit of a concurrency key. Applies to instances that start after the change.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/workflows/concurrency/{key_id}", inputSchema: { type: "object", properties: { @@ -902,6 +906,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -923,6 +928,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1308,11 +1314,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_concurrency_get", title: "Get concurrency key details", - description: "Retrieves a concurrency key and the workflows whose latest version references it.\n\nThis method is beta.", + description: "Retrieves a concurrency key and the workflows whose latest version references it.\n\nThis method is beta.\n\nGET /accounts/{account_id}/workflows/concurrency/{key_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1333,6 +1340,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -1759,11 +1767,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_concurrency_list", title: "List concurrency keys", - description: "Lists the account-scoped concurrency keys.\n\nThis method is beta.", + description: "Lists the account-scoped concurrency keys.\n\nThis method is beta.\n\nGET /accounts/{account_id}/workflows/concurrency", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -1775,6 +1784,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -1791,6 +1801,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/workflows/instances/batch/tools.ts b/src/generated/forge-mcp/workflows/instances/batch/tools.ts index 3eeac11f4..fb6972054 100644 --- a/src/generated/forge-mcp/workflows/instances/batch/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/batch/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_batch_create", title: "Batch create new Workflow instances", - description: "Creates multiple workflow instances in a single batch operation.", + description: "Creates multiple workflow instances in a single batch operation.\n\nPOST /accounts/{account_id}/workflows/{workflow_name}/instances/batch", inputSchema: { type: "object", properties: { @@ -76,6 +76,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -95,6 +96,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/workflows/instances/events/tools.ts b/src/generated/forge-mcp/workflows/instances/events/tools.ts index d8cd22901..35bda1322 100644 --- a/src/generated/forge-mcp/workflows/instances/events/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/events/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_events_send", title: "Send event to instance", - description: "Sends an event to a running workflow instance to trigger state transitions.", + description: "Sends an event to a running workflow instance to trigger state transitions.\n\nPOST /accounts/{account_id}/workflows/{workflow_name}/instances/{instance_id}/events/{event_type}", inputSchema: { type: "object", properties: { @@ -18,6 +18,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -46,6 +47,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/workflows/instances/step/tools.ts b/src/generated/forge-mcp/workflows/instances/step/tools.ts index 7df47b3f8..206d6f8ad 100644 --- a/src/generated/forge-mcp/workflows/instances/step/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/step/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_step_get", title: "Get full step output from instance", - description: "Retrieves the full, untruncated output for a specific step on a workflow instance. Returns a flat status-shaped JSON body with step `status` ('running' | 'waiting' | 'complete' | 'errored'), `error` (nullable), and `output` (the step value, or null while running/waiting/errored). When the step returned a ReadableStream from step.do, the response is served as 'application/octet-stream' with the raw bytes as the body instead of JSON. A `status='running'` response with non-null `error` indicates the step is currently retrying after a prior attempt failed.", + description: "Retrieves the full, untruncated output for a specific step on a workflow instance. Returns a flat status-shaped JSON body with step `status` ('running' | 'waiting' | 'complete' | 'errored'), `error` (nullable), and `output` (the step value, or null while running/waiting/errored). When the step returned a ReadableStream from step.do, the response is served as 'application/octet-stream' with the raw bytes as the body instead of JSON. A `status='running'` response with non-null `error` indicates the step is currently retrying after a prior attempt failed.\n\nGET /accounts/{account_id}/workflows/{workflow_name}/instances/{instance_id}/step", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "attempt": { "description": "Specific attempt number to retrieve output or error for.", @@ -64,6 +66,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/workflows/instances/tools.ts b/src/generated/forge-mcp/workflows/instances/tools.ts index b698be829..acce9db0a 100644 --- a/src/generated/forge-mcp/workflows/instances/tools.ts +++ b/src/generated/forge-mcp/workflows/instances/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_create", title: "Create a new workflow instance", - description: "Creates a new instance of a workflow, starting its execution.", + description: "Creates a new instance of a workflow, starting its execution.\n\nPOST /accounts/{account_id}/workflows/{workflow_name}/instances", inputSchema: { type: "object", properties: { @@ -71,6 +71,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -90,6 +91,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -480,11 +482,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_delete", title: "Delete a workflow instance", - description: "Deletes a workflow instance and its stored state.", + description: "Deletes a workflow instance and its stored state.\n\nDELETE /accounts/{account_id}/workflows/{workflow_name}/instances/{instance_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -508,6 +511,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -786,11 +790,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_get", title: "Get logs and status from instance", - description: "Retrieves logs and execution status for a specific workflow instance.", + description: "Retrieves logs and execution status for a specific workflow instance.\n\nGET /accounts/{account_id}/workflows/{workflow_name}/instances/{instance_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -811,6 +816,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "order": { "default": "asc", @@ -837,6 +843,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2163,11 +2170,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_list", title: "List of workflow instances", - description: "Lists all instances of a workflow with their execution status.", + description: "Lists all instances of a workflow with their execution status.\n\nGET /accounts/{account_id}/workflows/{workflow_name}/instances", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2183,6 +2191,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque token for cursor-based pagination. Mutually exclusive with `page`.", @@ -2235,6 +2244,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2702,7 +2712,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_pause", title: "Change status of instance", - description: "Changes the execution status of a workflow instance (e.g., pause, resume, terminate).", + description: "Changes the execution status of a workflow instance (e.g., pause, resume, terminate).\n\nPATCH /accounts/{account_id}/workflows/{workflow_name}/instances/{instance_id}/status", inputSchema: { type: "object", properties: { @@ -2794,6 +2804,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2818,6 +2829,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3204,7 +3216,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_restart", title: "Change status of instance", - description: "Changes the execution status of a workflow instance (e.g., pause, resume, terminate).", + description: "Changes the execution status of a workflow instance (e.g., pause, resume, terminate).\n\nPATCH /accounts/{account_id}/workflows/{workflow_name}/instances/{instance_id}/status", inputSchema: { type: "object", properties: { @@ -3296,6 +3308,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -3320,6 +3333,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -3703,7 +3717,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_resume", title: "Change status of instance", - description: "Changes the execution status of a workflow instance (e.g., pause, resume, terminate).", + description: "Changes the execution status of a workflow instance (e.g., pause, resume, terminate).\n\nPATCH /accounts/{account_id}/workflows/{workflow_name}/instances/{instance_id}/status", inputSchema: { type: "object", properties: { @@ -3795,6 +3809,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -3819,6 +3834,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -4205,7 +4221,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_instances_terminate", title: "Change status of instance", - description: "Changes the execution status of a workflow instance (e.g., pause, resume, terminate).\n\nConfirm with the user before calling this tool. This operation terminates the running Workflow instance.", + description: "Changes the execution status of a workflow instance (e.g., pause, resume, terminate).\n\nConfirm with the user before calling this tool. This operation terminates the running Workflow instance.\n\nPATCH /accounts/{account_id}/workflows/{workflow_name}/instances/{instance_id}/status", inputSchema: { type: "object", properties: { @@ -4297,6 +4313,7 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -4321,6 +4338,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/workflows/settings/tools.ts b/src/generated/forge-mcp/workflows/settings/tools.ts index 66e8c2e4b..5e6459567 100644 --- a/src/generated/forge-mcp/workflows/settings/tools.ts +++ b/src/generated/forge-mcp/workflows/settings/tools.ts @@ -10,7 +10,7 @@ export const tools: readonly Tool[] = [ { name: "workflows_settings_edit", title: "Update account settings", - description: "Updates only the account-level Workflows settings fields present in the request body.", + description: "Updates only the account-level Workflows settings fields present in the request body.\n\nPATCH /accounts/{account_id}/workflows/settings", inputSchema: { type: "object", properties: { @@ -48,6 +48,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -63,6 +64,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -342,11 +344,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_settings_get", title: "Get account settings", - description: "Retrieves account-level Workflows settings, such as the default instance retention.", + description: "Retrieves account-level Workflows settings, such as the default instance retention.\n\nGET /accounts/{account_id}/workflows/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -361,6 +364,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/workflows/tools.ts b/src/generated/forge-mcp/workflows/tools.ts index d8f2170c0..00b4c18f2 100644 --- a/src/generated/forge-mcp/workflows/tools.ts +++ b/src/generated/forge-mcp/workflows/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_delete", title: "Deletes a Workflow", - description: "Deletes a Workflow. This only deletes the Workflow and does not delete or modify any Worker associated to this Workflow or bounded to it.\n\nConfirm with the user before calling this tool. This operation permanently deletes the Workflow.", + description: "Deletes a Workflow. This only deletes the Workflow and does not delete or modify any Worker associated to this Workflow or bounded to it.\n\nConfirm with the user before calling this tool. This operation permanently deletes the Workflow.\n\nDELETE /accounts/{account_id}/workflows/{workflow_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -33,6 +34,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -373,11 +375,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_get", title: "Get Workflow details", - description: "Retrieves configuration and metadata for a specific workflow.", + description: "Retrieves configuration and metadata for a specific workflow.\n\nGET /accounts/{account_id}/workflows/{workflow_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -396,6 +399,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -866,11 +870,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_list", title: "List all Workflows", - description: "Lists all workflows configured for the account.", + description: "Lists all workflows configured for the account.\n\nGET /accounts/{account_id}/workflows", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -882,6 +887,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -902,6 +908,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/workflows/versions/tools.ts b/src/generated/forge-mcp/workflows/versions/tools.ts index 04a21b674..dbd00585a 100644 --- a/src/generated/forge-mcp/workflows/versions/tools.ts +++ b/src/generated/forge-mcp/workflows/versions/tools.ts @@ -10,11 +10,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_versions_get", title: "Get Workflow version details", - description: "Retrieves details for a specific deployed workflow version.", + description: "Retrieves details for a specific deployed workflow version.\n\nGET /accounts/{account_id}/workflows/{workflow_name}/versions/{version_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -38,6 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -470,11 +472,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_versions_graph", title: "Get Workflow version graph", - description: "Retrieves the graph visualization of a workflow version.", + description: "Retrieves the graph visualization of a workflow version.\n\nGET /accounts/{account_id}/workflows/{workflow_name}/versions/{version_id}/graph", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -498,6 +501,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -2354,11 +2358,12 @@ export const tools: readonly Tool[] = [ { name: "workflows_versions_list", title: "List deployed Workflow versions", - description: "Lists all deployed versions of a workflow.", + description: "Lists all deployed versions of a workflow.\n\nGET /accounts/{account_id}/workflows/{workflow_name}/versions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -2374,6 +2379,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -2390,6 +2396,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/zaraz/config/tools.ts b/src/generated/forge-mcp/zaraz/config/tools.ts index 6a6a41c2f..d198e53ba 100644 --- a/src/generated/forge-mcp/zaraz/config/tools.ts +++ b/src/generated/forge-mcp/zaraz/config/tools.ts @@ -31,7 +31,6 @@ import { zaraz_custom$$managed$$component as zaraz_custom$$managed$$component$, zaraz_element$$visibility$$rule as zaraz_element$$visibility$$rule$, zaraz_form$$submission$$rule as zaraz_form$$submission$$rule$, - zaraz_identifier, zaraz_load$$rule as zaraz_load$$rule$, zaraz_managed$$component as zaraz_managed$$component$, zaraz_scroll$$depth$$rule as zaraz_scroll$$depth$$rule$, @@ -51,15 +50,16 @@ export const tools: readonly Tool[] = [ { name: "zaraz_config_get", title: "Get Zaraz configuration", - description: "Gets latest Zaraz configuration for a zone. It can be preview or published configuration, whichever was the last updated. Secret variables values will not be included.", + description: "Gets latest Zaraz configuration for a zone. It can be preview or published configuration, whichever was the last updated. Secret variables values will not be included.\n\nGET /zones/{zone_id}/settings/zaraz/config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -71,9 +71,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zaraz_identifier": zaraz_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-response", @@ -154,7 +152,7 @@ export const tools: readonly Tool[] = [ { name: "zaraz_config_update", title: "Update Zaraz configuration", - description: "Updates Zaraz configuration for a zone.", + description: "Updates Zaraz configuration for a zone.\n\nPUT /zones/{zone_id}/settings/zaraz/config", inputSchema: { type: "object", properties: { @@ -162,10 +160,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/zaraz_zaraz-config-body" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -178,6 +177,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "zaraz_base-mc": zaraz_base$$mc$, "zaraz_base-tool": zaraz_base$$tool$, @@ -185,7 +185,6 @@ export const tools: readonly Tool[] = [ "zaraz_custom-managed-component": zaraz_custom$$managed$$component$, "zaraz_element-visibility-rule": zaraz_element$$visibility$$rule$, "zaraz_form-submission-rule": zaraz_form$$submission$$rule$, - "zaraz_identifier": zaraz_identifier, "zaraz_load-rule": zaraz_load$$rule$, "zaraz_managed-component": zaraz_managed$$component$, "zaraz_scroll-depth-rule": zaraz_scroll$$depth$$rule$, diff --git a/src/generated/forge-mcp/zaraz/default/tools.ts b/src/generated/forge-mcp/zaraz/default/tools.ts index 8b84d0f4f..c40764b9b 100644 --- a/src/generated/forge-mcp/zaraz/default/tools.ts +++ b/src/generated/forge-mcp/zaraz/default/tools.ts @@ -24,7 +24,6 @@ import { zaraz_zaraz$$config$$response, zaraz_zaraz$$config$$return, } from "../outputs.js"; -import { zaraz_identifier } from "../schemas.js"; /** * The tools of `zaraz.default`. @@ -33,15 +32,16 @@ export const tools: readonly Tool[] = [ { name: "zaraz_default_get", title: "Get default Zaraz configuration", - description: "Gets default Zaraz configuration for a zone.", + description: "Gets default Zaraz configuration for a zone.\n\nGET /zones/{zone_id}/settings/zaraz/default", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -53,9 +53,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zaraz_identifier": zaraz_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-response", diff --git a/src/generated/forge-mcp/zaraz/export/tools.ts b/src/generated/forge-mcp/zaraz/export/tools.ts index 0f65479d4..a492c774d 100644 --- a/src/generated/forge-mcp/zaraz/export/tools.ts +++ b/src/generated/forge-mcp/zaraz/export/tools.ts @@ -22,7 +22,6 @@ import { zaraz_zaraz$$config$$base, zaraz_zaraz$$config$$return, } from "../outputs.js"; -import { zaraz_identifier } from "../schemas.js"; /** * The tools of `zaraz.export`. @@ -31,15 +30,16 @@ export const tools: readonly Tool[] = [ { name: "zaraz_export_get", title: "Export Zaraz configuration", - description: "Exports full current published Zaraz configuration for a zone, secret variables included.", + description: "Exports full current published Zaraz configuration for a zone, secret variables included.\n\nGET /zones/{zone_id}/settings/zaraz/export", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -51,9 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zaraz_identifier": zaraz_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-return", diff --git a/src/generated/forge-mcp/zaraz/history/configs/tools.ts b/src/generated/forge-mcp/zaraz/history/configs/tools.ts index 8320db13b..dbb80179e 100644 --- a/src/generated/forge-mcp/zaraz/history/configs/tools.ts +++ b/src/generated/forge-mcp/zaraz/history/configs/tools.ts @@ -23,7 +23,6 @@ import { zaraz_zaraz$$config$$base, zaraz_zaraz$$config$$return, } from "../../outputs.js"; -import { zaraz_identifier } from "../../schemas.js"; import { zaraz_zaraz$$config$$row$$base } from "../outputs.js"; import { zaraz_zaraz$$config$$history$$response } from "./outputs.js"; @@ -34,15 +33,16 @@ export const tools: readonly Tool[] = [ { name: "zaraz_history_configs_get", title: "Get Zaraz historical configurations by ID(s)", - description: "Gets a history of published Zaraz configurations by ID(s) for a zone.", + description: "Gets a history of published Zaraz configurations by ID(s) for a zone.\n\nGET /zones/{zone_id}/settings/zaraz/history/configs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -51,6 +51,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "ids": { "description": "Comma separated list of Zaraz configuration IDs.", @@ -70,9 +71,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "zaraz_identifier": zaraz_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-history-response", diff --git a/src/generated/forge-mcp/zaraz/history/tools.ts b/src/generated/forge-mcp/zaraz/history/tools.ts index 4f9356cb0..ca7138ff8 100644 --- a/src/generated/forge-mcp/zaraz/history/tools.ts +++ b/src/generated/forge-mcp/zaraz/history/tools.ts @@ -24,7 +24,6 @@ import { zaraz_zaraz$$config$$response, zaraz_zaraz$$config$$return, } from "../outputs.js"; -import { zaraz_identifier } from "../schemas.js"; import { zaraz_zaraz$$config$$row$$base, zaraz_zaraz$$history$$response, @@ -37,15 +36,16 @@ export const tools: readonly Tool[] = [ { name: "zaraz_history_list", title: "List Zaraz historical configuration records", - description: "Lists a history of published Zaraz configuration records for a zone.", + description: "Lists a history of published Zaraz configuration records for a zone.\n\nGET /zones/{zone_id}/settings/zaraz/history", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -54,6 +54,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "limit": { "description": "Maximum amount of results to list. Default value is 10.", @@ -89,9 +90,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zaraz_identifier": zaraz_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-history-response", @@ -148,7 +147,7 @@ export const tools: readonly Tool[] = [ { name: "zaraz_history_update", title: "Restore Zaraz historical configuration by ID", - description: "Restores a historical published Zaraz configuration by ID for a zone.", + description: "Restores a historical published Zaraz configuration by ID for a zone.\n\nPUT /zones/{zone_id}/settings/zaraz/history", inputSchema: { type: "object", properties: { @@ -156,10 +155,11 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -172,9 +172,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "zaraz_identifier": zaraz_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-config-response", diff --git a/src/generated/forge-mcp/zaraz/publish/tools.ts b/src/generated/forge-mcp/zaraz/publish/tools.ts index c7f6f4915..a32a3c99e 100644 --- a/src/generated/forge-mcp/zaraz/publish/tools.ts +++ b/src/generated/forge-mcp/zaraz/publish/tools.ts @@ -7,7 +7,6 @@ import { zaraz_api$$response$$common$$failure, zaraz_messages, } from "../outputs.js"; -import { zaraz_identifier } from "../schemas.js"; /** * The tools of `zaraz.publish`. @@ -16,7 +15,7 @@ export const tools: readonly Tool[] = [ { name: "zaraz_publish_create", title: "Publish Zaraz preview configuration", - description: "Publish current Zaraz preview configuration for a zone.", + description: "Publish current Zaraz preview configuration for a zone.\n\nPOST /zones/{zone_id}/settings/zaraz/publish", inputSchema: { type: "object", properties: { @@ -24,10 +23,11 @@ export const tools: readonly Tool[] = [ "type": "string" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -39,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zaraz_identifier": zaraz_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zaraz/schemas.ts b/src/generated/forge-mcp/zaraz/schemas.ts index 6f36ffe96..6354676a0 100644 --- a/src/generated/forge-mcp/zaraz/schemas.ts +++ b/src/generated/forge-mcp/zaraz/schemas.ts @@ -341,14 +341,6 @@ export const zaraz_form$$submission$$rule: JsonSchema = { "type": "object" }; -/** - * The schema of `zaraz_identifier`. - */ -export const zaraz_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - /** * The schema of `zaraz_load-rule`. */ diff --git a/src/generated/forge-mcp/zaraz/workflow/outputs.ts b/src/generated/forge-mcp/zaraz/workflow/outputs.ts index cb93eb6b0..ac05c203c 100644 --- a/src/generated/forge-mcp/zaraz/workflow/outputs.ts +++ b/src/generated/forge-mcp/zaraz/workflow/outputs.ts @@ -3,17 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `zaraz_zaraz-workflow` in responses. - */ -export const zaraz_zaraz$$workflow: JsonSchema = { - "enum": [ - "realtime", - "preview" - ], - "type": "string" -}; - /** * The schema of `zaraz_zaraz-workflow-response` in responses. */ @@ -25,7 +14,11 @@ export const zaraz_zaraz$$workflow$$response: JsonSchema = { { "properties": { "result": { - "$ref": "#/$defs/zaraz_zaraz-workflow" + "enum": [ + "realtime", + "preview" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/zaraz/workflow/schemas.ts b/src/generated/forge-mcp/zaraz/workflow/schemas.ts deleted file mode 100644 index aa7375410..000000000 --- a/src/generated/forge-mcp/zaraz/workflow/schemas.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `zaraz_zaraz-workflow`. - */ -export const zaraz_zaraz$$workflow: JsonSchema = { - "description": "Zaraz workflow.", - "enum": [ - "realtime", - "preview" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zaraz/workflow/tools.ts b/src/generated/forge-mcp/zaraz/workflow/tools.ts index a530b379d..d77838eae 100644 --- a/src/generated/forge-mcp/zaraz/workflow/tools.ts +++ b/src/generated/forge-mcp/zaraz/workflow/tools.ts @@ -7,12 +7,7 @@ import { zaraz_api$$response$$common$$failure, zaraz_messages, } from "../outputs.js"; -import { zaraz_identifier } from "../schemas.js"; -import { - zaraz_zaraz$$workflow, - zaraz_zaraz$$workflow$$response, -} from "./outputs.js"; -import { zaraz_zaraz$$workflow as zaraz_zaraz$$workflow$ } from "./schemas.js"; +import { zaraz_zaraz$$workflow$$response } from "./outputs.js"; /** * The tools of `zaraz.workflow`. @@ -21,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "zaraz_workflow_get", title: "Get Zaraz workflow", - description: "Gets Zaraz workflow for a zone.", + description: "Gets Zaraz workflow for a zone.\n\nGET /zones/{zone_id}/settings/zaraz/workflow", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -41,16 +37,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zaraz_identifier": zaraz_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-workflow-response", $defs: { "zaraz_api-response-common": zaraz_api$$response$$common, "zaraz_messages": zaraz_messages, - "zaraz_zaraz-workflow": zaraz_zaraz$$workflow, "zaraz_zaraz-workflow-response": zaraz_zaraz$$workflow$$response, }, }, @@ -83,7 +76,6 @@ export const tools: readonly Tool[] = [ "zaraz_api-response-common": zaraz_api$$response$$common, "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, "zaraz_messages": zaraz_messages, - "zaraz_zaraz-workflow": zaraz_zaraz$$workflow, "zaraz_zaraz-workflow-response": zaraz_zaraz$$workflow$$response, }, }, @@ -94,18 +86,24 @@ export const tools: readonly Tool[] = [ { name: "zaraz_workflow_update", title: "Update Zaraz workflow", - description: "Updates Zaraz workflow for a zone.", + description: "Updates Zaraz workflow for a zone.\n\nPUT /zones/{zone_id}/settings/zaraz/workflow", inputSchema: { type: "object", properties: { "body": { - "$ref": "#/$defs/zaraz_zaraz-workflow" + "description": "Zaraz workflow.", + "enum": [ + "realtime", + "preview" + ], + "type": "string" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zaraz_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -118,17 +116,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "zaraz_identifier": zaraz_identifier, - "zaraz_zaraz-workflow": zaraz_zaraz$$workflow$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zaraz_zaraz-workflow-response", $defs: { "zaraz_api-response-common": zaraz_api$$response$$common, "zaraz_messages": zaraz_messages, - "zaraz_zaraz-workflow": zaraz_zaraz$$workflow, "zaraz_zaraz-workflow-response": zaraz_zaraz$$workflow$$response, }, }, @@ -160,7 +154,6 @@ export const tools: readonly Tool[] = [ "zaraz_api-response-common": zaraz_api$$response$$common, "zaraz_api-response-common-failure": zaraz_api$$response$$common$$failure, "zaraz_messages": zaraz_messages, - "zaraz_zaraz-workflow": zaraz_zaraz$$workflow, "zaraz_zaraz-workflow-response": zaraz_zaraz$$workflow$$response, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts index b45ec7dd3..9c2e1de5d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/outputs.ts @@ -3,55 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_allow_all_headers` in responses. - */ -export const access_allow_all_headers: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_allow_all_methods` in responses. - */ -export const access_allow_all_methods: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_allow_all_origins` in responses. - */ -export const access_allow_all_origins: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_allow_authenticate_via_warp-2` in responses. - */ -export const access_allow_authenticate_via_warp$$2: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_allow_credentials` in responses. - */ -export const access_allow_credentials: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_allow_email_alias` in responses. - */ -export const access_allow_email_alias: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_allow_iframe` in responses. - */ -export const access_allow_iframe: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_allowed_headers` in responses. */ @@ -103,13 +54,6 @@ export const access_allowed_origins: JsonSchema = { "type": "array" }; -/** - * The schema of `access_app_launcher_logo_url` in responses. - */ -export const access_app_launcher_logo_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_app_launcher_props` in responses. */ @@ -121,10 +65,10 @@ export const access_app_launcher_props: JsonSchema = { { "properties": { "app_launcher_logo_url": { - "$ref": "#/$defs/access_app_launcher_logo_url" + "type": "string" }, "bg_color": { - "$ref": "#/$defs/access_bg_color" + "type": "string" }, "domain": { "type": "string" @@ -133,7 +77,7 @@ export const access_app_launcher_props: JsonSchema = { "$ref": "#/$defs/access_footer_links" }, "header_bg_color": { - "$ref": "#/$defs/access_header_bg_color" + "type": "string" }, "landing_page_design": { "$ref": "#/$defs/access_landing_page_design" @@ -142,12 +86,29 @@ export const access_app_launcher_props: JsonSchema = { "type": "string" }, "skip_app_launcher_login_page": { - "$ref": "#/$defs/access_skip_app_launcher_login_page" + "type": "boolean" }, "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -160,13 +121,6 @@ export const access_app_launcher_props: JsonSchema = { ] }; -/** - * The schema of `access_app_launcher_visible` in responses. - */ -export const access_app_launcher_visible: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_app_policy_response` in responses. */ @@ -178,10 +132,10 @@ export const access_app_policy_response: JsonSchema = { { "properties": { "account_id": { - "$ref": "#/$defs/access_identifier" + "type": "string" }, "precedence": { - "$ref": "#/$defs/access_precedence" + "type": "integer" } }, "type": "object" @@ -422,48 +376,43 @@ export const access_app_response: JsonSchema = { ] }; -/** - * The schema of `access_aud-2` in responses. - */ -export const access_aud$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_auto_redirect_to_identity-2` in responses. - */ -export const access_auto_redirect_to_identity$$2: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_basic_app_response_props` in responses. */ export const access_basic_app_response_props: JsonSchema = { "properties": { "aud": { - "$ref": "#/$defs/access_aud-2" + "type": "string" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "id": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" }; -/** - * The schema of `access_bg_color` in responses. - */ -export const access_bg_color: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_biso_props` in responses. */ @@ -483,7 +432,24 @@ export const access_biso_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -502,16 +468,16 @@ export const access_biso_props: JsonSchema = { export const access_bookmark_props: JsonSchema = { "properties": { "app_launcher_visible": { - "$ref": "#/$defs/access_app_launcher_visible" + "type": "boolean" }, "domain": { "type": "string" }, "logo_url": { - "$ref": "#/$defs/access_logo_url" + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8" + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags-2" @@ -519,7 +485,24 @@ export const access_bookmark_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -530,20 +513,6 @@ export const access_bookmark_props: JsonSchema = { "type": "object" }; -/** - * The schema of `access_button_color` in responses. - */ -export const access_button_color: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_button_text_color` in responses. - */ -export const access_button_text_color: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_connection_rules_infra` in responses. */ @@ -562,7 +531,7 @@ export const access_connection_rules_infra: JsonSchema = { export const access_connection_rules_ssh: JsonSchema = { "properties": { "allow_email_alias": { - "$ref": "#/$defs/access_allow_email_alias" + "type": "boolean" }, "usernames": { "$ref": "#/$defs/access_usernames" @@ -580,16 +549,16 @@ export const access_connection_rules_ssh: JsonSchema = { export const access_cors_headers: JsonSchema = { "properties": { "allow_all_headers": { - "$ref": "#/$defs/access_allow_all_headers" + "type": "boolean" }, "allow_all_methods": { - "$ref": "#/$defs/access_allow_all_methods" + "type": "boolean" }, "allow_all_origins": { - "$ref": "#/$defs/access_allow_all_origins" + "type": "boolean" }, "allow_credentials": { - "$ref": "#/$defs/access_allow_credentials" + "type": "boolean" }, "allowed_headers": { "$ref": "#/$defs/access_allowed_headers" @@ -601,33 +570,12 @@ export const access_cors_headers: JsonSchema = { "$ref": "#/$defs/access_allowed_origins" }, "max_age": { - "$ref": "#/$defs/access_max_age" + "type": "number" } }, "type": "object" }; -/** - * The schema of `access_custom_deny_message` in responses. - */ -export const access_custom_deny_message: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_custom_deny_url` in responses. - */ -export const access_custom_deny_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_custom_non_identity_deny_url` in responses. - */ -export const access_custom_non_identity_deny_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_custom_pages-2` in responses. */ @@ -812,20 +760,6 @@ export const access_destinations: JsonSchema = { "type": "array" }; -/** - * The schema of `access_domain` in responses. - */ -export const access_domain: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_eager_redirect_cookie_setting` in responses. - */ -export const access_eager_redirect_cookie_setting: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_empty_response-2` in responses. */ @@ -852,13 +786,6 @@ export const access_empty_response$$2: JsonSchema = { "type": "object" }; -/** - * The schema of `access_enable_binding_cookie` in responses. - */ -export const access_enable_binding_cookie: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_end_user_all_preview_workers_destination` in responses. */ @@ -986,10 +913,10 @@ export const access_end_user_props: JsonSchema = { "$ref": "#/$defs/access_end_user_destinations" }, "domain": { - "$ref": "#/$defs/access_domain" + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8" + "type": "string" }, "oauth_configuration": { "$ref": "#/$defs/access_end_user_oauth_configuration" @@ -1000,7 +927,24 @@ export const access_end_user_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "enum": [ @@ -1012,7 +956,7 @@ export const access_end_user_props: JsonSchema = { }, "user_populations": { "items": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "maxItems": 1, "minItems": 1, @@ -1085,28 +1029,45 @@ export const access_feature_app_props: JsonSchema = { "$ref": "#/$defs/access_allowed_idps" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2" + "type": "boolean" }, "custom_deny_url": { - "$ref": "#/$defs/access_custom_deny_url" + "type": "string" }, "custom_non_identity_deny_url": { - "$ref": "#/$defs/access_custom_non_identity_deny_url" + "type": "string" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2" }, "domain": { - "$ref": "#/$defs/access_domain" + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8" + "type": "string" }, "session_duration": { - "$ref": "#/$defs/access_session_duration-2" + "type": "string" }, "type": { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" } }, "required": [ @@ -1137,27 +1098,6 @@ export const access_footer_links: JsonSchema = { "type": "array" }; -/** - * The schema of `access_header_bg_color` in responses. - */ -export const access_header_bg_color: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_http_only_cookie_attribute` in responses. - */ -export const access_http_only_cookie_attribute: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_image_url` in responses. - */ -export const access_image_url: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_infra_app_resp_embedded_policies` in responses. */ @@ -1231,7 +1171,7 @@ export const access_infra_props: JsonSchema = { "$ref": "#/$defs/access_infra_mfa_config" }, "name": { - "$ref": "#/$defs/access_name-8" + "type": "string" }, "session_duration": { "type": "string" @@ -1239,7 +1179,24 @@ export const access_infra_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1261,60 +1218,46 @@ export const access_infra_props: JsonSchema = { export const access_landing_page_design: JsonSchema = { "properties": { "button_color": { - "$ref": "#/$defs/access_button_color" + "type": "string" }, "button_text_color": { - "$ref": "#/$defs/access_button_text_color" + "type": "string" }, "image_url": { - "$ref": "#/$defs/access_image_url" + "type": "string" }, "message": { - "$ref": "#/$defs/access_message" + "type": "string" }, "title": { - "$ref": "#/$defs/access_title" + "type": "string" } }, "type": "object" }; -/** - * The schema of `access_logo_url` in responses. - */ -export const access_logo_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_max_age` in responses. - */ -export const access_max_age: JsonSchema = { - "type": "number" -}; - /** * The schema of `access_mcp_portal_props` in responses. */ export const access_mcp_portal_props: JsonSchema = { "properties": { "allow_authenticate_via_warp": { - "$ref": "#/$defs/access_allow_authenticate_via_warp-2" + "type": "boolean" }, "allowed_idps": { "$ref": "#/$defs/access_allowed_idps" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2" + "type": "boolean" }, "custom_deny_message": { - "$ref": "#/$defs/access_custom_deny_message" + "type": "string" }, "custom_deny_url": { - "$ref": "#/$defs/access_custom_deny_url" + "type": "string" }, "custom_non_identity_deny_url": { - "$ref": "#/$defs/access_custom_non_identity_deny_url" + "type": "string" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2" @@ -1323,31 +1266,31 @@ export const access_mcp_portal_props: JsonSchema = { "$ref": "#/$defs/access_destinations" }, "domain": { - "$ref": "#/$defs/access_domain" + "type": "string" }, "http_only_cookie_attribute": { - "$ref": "#/$defs/access_http_only_cookie_attribute" + "type": "boolean" }, "logo_url": { - "$ref": "#/$defs/access_logo_url" + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8" + "type": "string" }, "oauth_configuration": { "$ref": "#/$defs/access_oauth_configuration" }, "options_preflight_bypass": { - "$ref": "#/$defs/access_options_preflight_bypass" + "type": "boolean" }, "same_site_cookie_attribute": { - "$ref": "#/$defs/access_same_site_cookie_attribute" + "type": "string" }, "scim_config": { "$ref": "#/$defs/access_scim_config" }, "session_duration": { - "$ref": "#/$defs/access_session_duration-2" + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags-2" @@ -1355,7 +1298,24 @@ export const access_mcp_portal_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1375,22 +1335,22 @@ export const access_mcp_portal_props: JsonSchema = { export const access_mcp_props: JsonSchema = { "properties": { "allow_authenticate_via_warp": { - "$ref": "#/$defs/access_allow_authenticate_via_warp-2" + "type": "boolean" }, "allowed_idps": { "$ref": "#/$defs/access_allowed_idps" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2" + "type": "boolean" }, "custom_deny_message": { - "$ref": "#/$defs/access_custom_deny_message" + "type": "string" }, "custom_deny_url": { - "$ref": "#/$defs/access_custom_deny_url" + "type": "string" }, "custom_non_identity_deny_url": { - "$ref": "#/$defs/access_custom_non_identity_deny_url" + "type": "string" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2" @@ -1399,28 +1359,28 @@ export const access_mcp_props: JsonSchema = { "$ref": "#/$defs/access_destinations" }, "http_only_cookie_attribute": { - "$ref": "#/$defs/access_http_only_cookie_attribute" + "type": "boolean" }, "logo_url": { - "$ref": "#/$defs/access_logo_url" + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8" + "type": "string" }, "oauth_configuration": { "$ref": "#/$defs/access_oauth_configuration" }, "options_preflight_bypass": { - "$ref": "#/$defs/access_options_preflight_bypass" + "type": "boolean" }, "same_site_cookie_attribute": { - "$ref": "#/$defs/access_same_site_cookie_attribute" + "type": "string" }, "scim_config": { "$ref": "#/$defs/access_scim_config" }, "session_duration": { - "$ref": "#/$defs/access_session_duration-2" + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags-2" @@ -1428,7 +1388,24 @@ export const access_mcp_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1442,20 +1419,6 @@ export const access_mcp_props: JsonSchema = { "type": "object" }; -/** - * The schema of `access_message` in responses. - */ -export const access_message: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_name-8` in responses. - */ -export const access_name$$8: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_oauth_configuration` in responses. */ @@ -1527,7 +1490,15 @@ export const access_oidc_saas_app: JsonSchema = { "type": "string" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "custom_claims": { "items": { @@ -1623,60 +1594,20 @@ export const access_oidc_saas_app: JsonSchema = { "type": "array" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" }; -/** - * The schema of `access_options_preflight_bypass` in responses. - */ -export const access_options_preflight_bypass: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_path_cookie_attribute` in responses. - */ -export const access_path_cookie_attribute: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_port` in responses. - */ -export const access_port: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `access_precedence` in responses. - */ -export const access_precedence: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `access_protocol_infra_app` in responses. - */ -export const access_protocol_infra_app: JsonSchema = { - "enum": [ - "SSH" - ], - "type": "string" -}; - -/** - * The schema of `access_protocol_self_hosted_app` in responses. - */ -export const access_protocol_self_hosted_app: JsonSchema = { - "enum": [ - "RDP" - ], - "type": "string" -}; - /** * The schema of `access_proxy_endpoint_props` in responses. */ @@ -1696,7 +1627,24 @@ export const access_proxy_endpoint_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1725,7 +1673,24 @@ export const access_rdp_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1738,13 +1703,6 @@ export const access_rdp_props: JsonSchema = { ] }; -/** - * The schema of `access_read_service_tokens_from_header` in responses. - */ -export const access_read_service_tokens_from_header: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_response_collection-8` in responses. */ @@ -1776,19 +1734,19 @@ export const access_saas_props: JsonSchema = { "$ref": "#/$defs/access_allowed_idps" }, "app_launcher_visible": { - "$ref": "#/$defs/access_app_launcher_visible" + "type": "boolean" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2" + "type": "boolean" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2" }, "logo_url": { - "$ref": "#/$defs/access_logo_url" + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8" + "type": "string" }, "saas_app": { "oneOf": [ @@ -1809,7 +1767,24 @@ export const access_saas_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1820,13 +1795,6 @@ export const access_saas_props: JsonSchema = { "type": "object" }; -/** - * The schema of `access_same_site_cookie_attribute` in responses. - */ -export const access_same_site_cookie_attribute: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_saml_saas_app` in responses. */ @@ -1843,7 +1811,15 @@ export const access_saml_saas_app: JsonSchema = { "type": "string" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "custom_attributes": { "items": { @@ -1921,7 +1897,15 @@ export const access_saml_saas_app: JsonSchema = { "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" @@ -2175,31 +2159,31 @@ export const access_self_hosted_domains: JsonSchema = { export const access_self_hosted_props: JsonSchema = { "properties": { "allow_authenticate_via_warp": { - "$ref": "#/$defs/access_allow_authenticate_via_warp-2" + "type": "boolean" }, "allow_iframe": { - "$ref": "#/$defs/access_allow_iframe" + "type": "boolean" }, "allowed_idps": { "$ref": "#/$defs/access_allowed_idps" }, "app_launcher_visible": { - "$ref": "#/$defs/access_app_launcher_visible" + "type": "boolean" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2" + "type": "boolean" }, "cors_headers": { "$ref": "#/$defs/access_cors_headers" }, "custom_deny_message": { - "$ref": "#/$defs/access_custom_deny_message" + "type": "string" }, "custom_deny_url": { - "$ref": "#/$defs/access_custom_deny_url" + "type": "string" }, "custom_non_identity_deny_url": { - "$ref": "#/$defs/access_custom_non_identity_deny_url" + "type": "string" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2" @@ -2208,40 +2192,40 @@ export const access_self_hosted_props: JsonSchema = { "$ref": "#/$defs/access_destinations" }, "domain": { - "$ref": "#/$defs/access_domain" + "type": "string" }, "eager_redirect_cookie_setting": { - "$ref": "#/$defs/access_eager_redirect_cookie_setting" + "type": "boolean" }, "enable_binding_cookie": { - "$ref": "#/$defs/access_enable_binding_cookie" + "type": "boolean" }, "http_only_cookie_attribute": { - "$ref": "#/$defs/access_http_only_cookie_attribute" + "type": "boolean" }, "logo_url": { - "$ref": "#/$defs/access_logo_url" + "type": "string" }, "mfa_config": { "$ref": "#/$defs/access_mfa_config" }, "name": { - "$ref": "#/$defs/access_name-8" + "type": "string" }, "oauth_configuration": { "$ref": "#/$defs/access_oauth_configuration" }, "options_preflight_bypass": { - "$ref": "#/$defs/access_options_preflight_bypass" + "type": "boolean" }, "path_cookie_attribute": { - "$ref": "#/$defs/access_path_cookie_attribute" + "type": "boolean" }, "read_service_tokens_from_header": { - "$ref": "#/$defs/access_read_service_tokens_from_header" + "type": "string" }, "same_site_cookie_attribute": { - "$ref": "#/$defs/access_same_site_cookie_attribute" + "type": "string" }, "scim_config": { "$ref": "#/$defs/access_scim_config" @@ -2250,13 +2234,13 @@ export const access_self_hosted_props: JsonSchema = { "$ref": "#/$defs/access_self_hosted_domains" }, "service_auth_401_redirect": { - "$ref": "#/$defs/access_service_auth_401_redirect" + "type": "boolean" }, "session_duration": { - "$ref": "#/$defs/access_session_duration-2" + "type": "string" }, "skip_interstitial": { - "$ref": "#/$defs/access_skip_interstitial" + "type": "boolean" }, "tags": { "$ref": "#/$defs/access_tags-2" @@ -2264,7 +2248,24 @@ export const access_self_hosted_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -2272,7 +2273,7 @@ export const access_self_hosted_props: JsonSchema = { ] }, "use_clientless_isolation_app_launcher_url": { - "$ref": "#/$defs/access_use_clientless_isolation_app_launcher_url" + "type": "boolean" } }, "required": [ @@ -2282,20 +2283,6 @@ export const access_self_hosted_props: JsonSchema = { "type": "object" }; -/** - * The schema of `access_service_auth_401_redirect` in responses. - */ -export const access_service_auth_401_redirect: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_session_duration-2` in responses. - */ -export const access_session_duration$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_single_response-9` in responses. */ @@ -2315,20 +2302,6 @@ export const access_single_response$$9: JsonSchema = { ] }; -/** - * The schema of `access_skip_app_launcher_login_page` in responses. - */ -export const access_skip_app_launcher_login_page: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_skip_interstitial` in responses. - */ -export const access_skip_interstitial: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_ssh_props` in responses. */ @@ -2342,7 +2315,24 @@ export const access_ssh_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -2390,7 +2380,7 @@ export const access_target_criteria_base: JsonSchema = { "$ref": "#/$defs/access_target_rule" }, "port": { - "$ref": "#/$defs/access_port" + "type": "integer" }, "require": { "$ref": "#/$defs/access_target_rule" @@ -2416,7 +2406,10 @@ export const access_target_criteria_infra_app: JsonSchema = { { "properties": { "protocol": { - "$ref": "#/$defs/access_protocol_infra_app" + "enum": [ + "SSH" + ], + "type": "string" } }, "type": "object" @@ -2435,7 +2428,10 @@ export const access_target_criteria_self_hosted_app: JsonSchema = { { "properties": { "protocol": { - "$ref": "#/$defs/access_protocol_self_hosted_app" + "enum": [ + "RDP" + ], + "type": "string" } }, "type": "object" @@ -2483,45 +2479,6 @@ export const access_target_rule_attributes: JsonSchema = { "type": "object" }; -/** - * The schema of `access_title` in responses. - */ -export const access_title: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_type` in responses. - */ -export const access_type: JsonSchema = { - "enum": [ - "self_hosted", - "end_user", - "saas", - "ssh", - "vnc", - "app_launcher", - "warp", - "biso", - "bookmark", - "dash_sso", - "infrastructure", - "rdp", - "mcp", - "mcp_portal", - "proxy_endpoint" - ], - "type": "string" -}; - -/** - * The schema of `access_use_clientless_isolation_app_launcher_url` in - * responses. - */ -export const access_use_clientless_isolation_app_launcher_url: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_usernames` in responses. */ @@ -2545,7 +2502,24 @@ export const access_vnc_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -2577,7 +2551,24 @@ export const access_warp_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts index 72cfe198e..03c83f55c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policies/tools.ts @@ -7,14 +7,8 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_identifier, access_messages, - access_timestamp, } from "../../../outputs.js"; -import { - access_identifier as access_identifier$, - access_uuid, -} from "../../../schemas.js"; import { access_access_group_rule, access_allowed_clipboard_local_to_remote_formats, @@ -22,7 +16,6 @@ import { access_any_valid_service_token_rule, access_approval_group, access_approval_groups, - access_approval_required, access_auth_context_rule, access_authentication_method_rule, access_azure_group_rule, @@ -33,7 +26,6 @@ import { access_connection_rules, access_connection_rules_rdp, access_country_rule, - access_decision, access_device_posture_rule, access_domain_rule, access_email_list_rule, @@ -46,35 +38,25 @@ import { access_include$$2, access_ip_list_rule, access_ip_rule, - access_isolation_required, access_linked_app_token_rule, access_login_method_rule, access_mfa_config, - access_name$$9, access_oidc_claim_rule, access_okta_group_rule, - access_policy_resolution_account_id, access_policy_resp, - access_purpose_justification_prompt, - access_purpose_justification_required, - access_rdp_clipboard_format, access_require$$2, access_rule, access_saml_group_rule, access_service_token_rule, access_service_token_tag_rule, - access_session_duration$$3, access_user_risk_score_rule, - access_uuid$$2, } from "../../outputs.js"; import { - access_allow_email_alias, access_app_policy_response, access_connection_rules_infra, access_connection_rules_ssh, access_infra_mfa_config, access_infra_policy_resp, - access_precedence, access_usernames, } from "../outputs.js"; import { @@ -90,11 +72,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_policies_get", title: "Get an Access application policy", - description: "Fetches a single Access policy configured for an application. Returns both exclusively owned and reusable policies used by the application.\n\nThis method is deprecated.", + description: "Fetches a single Access policy configured for an application. Returns both exclusively owned and reusable policies used by the application.\n\nThis method is deprecated.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -105,16 +88,16 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "The application ID." + "description": "The application ID.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/access_uuid", - "description": "The policy ID." + "description": "The policy ID.", + "type": "string" } }, "required": [ @@ -129,16 +112,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-10", $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_email_alias": access_allow_email_alias, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, @@ -147,7 +126,6 @@ export const tools: readonly Tool[] = [ "access_app_policy_result": access_app_policy_result, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -160,7 +138,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules_rdp": access_connection_rules_rdp, "access_connection_rules_ssh": access_connection_rules_ssh, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -170,37 +147,26 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_infra_mfa_config": access_infra_mfa_config, "access_infra_policy_resp": access_infra_policy_resp, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_precedence": access_precedence, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, "access_single_response-10": access_single_response$$10, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -229,7 +195,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_email_alias": access_allow_email_alias, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, @@ -239,7 +204,6 @@ export const tools: readonly Tool[] = [ "access_app_policy_result": access_app_policy_result, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -252,7 +216,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules_rdp": access_connection_rules_rdp, "access_connection_rules_ssh": access_connection_rules_ssh, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -262,37 +225,26 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_infra_mfa_config": access_infra_mfa_config, "access_infra_policy_resp": access_infra_policy_resp, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_precedence": access_precedence, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, "access_single_response-10": access_single_response$$10, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -302,11 +254,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_policies_list", title: "List Access application policies", - description: "Lists Access policies configured for an application. Returns both exclusively scoped and reusable policies used by the application.\n\nThis method is deprecated.", + description: "Lists Access policies configured for an application. Returns both exclusively scoped and reusable policies used by the application.\n\nThis method is deprecated.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}/policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -317,12 +270,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "The application ID." + "description": "The application ID.", + "type": "string" } }, "required": [ @@ -333,6 +286,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -351,16 +305,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-9", $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_email_alias": access_allow_email_alias, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, @@ -370,7 +320,6 @@ export const tools: readonly Tool[] = [ "access_app_policy_result": access_app_policy_result, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -383,7 +332,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules_rdp": access_connection_rules_rdp, "access_connection_rules_ssh": access_connection_rules_ssh, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -393,37 +341,26 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_infra_mfa_config": access_infra_mfa_config, "access_infra_policy_resp": access_infra_policy_resp, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_precedence": access_precedence, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_response_collection-9": access_response_collection$$9, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -452,7 +389,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_email_alias": access_allow_email_alias, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, @@ -463,7 +399,6 @@ export const tools: readonly Tool[] = [ "access_app_policy_result": access_app_policy_result, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -476,7 +411,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules_rdp": access_connection_rules_rdp, "access_connection_rules_ssh": access_connection_rules_ssh, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -486,37 +420,26 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_infra_mfa_config": access_infra_mfa_config, "access_infra_policy_resp": access_infra_policy_resp, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_precedence": access_precedence, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_response_collection-9": access_response_collection$$9, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -530,23 +453,24 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_policies_makeReusable", title: "Convert an Access application policy to a reusable policy", - description: "Converts an application-scoped policy to a reusable policy. The policy will no longer be exclusively scoped to the application. Further updates to the policy should go through the /accounts/{account_id}/policies/{uid} endpoint.", + description: "Converts an application-scoped policy to a reusable policy. The policy will no longer be exclusively scoped to the application. Further updates to the policy should go through the /accounts/{account_id}/policies/{uid} endpoint.\n\nPUT /accounts/{account_id}/access/apps/{app_id}/policies/{policy_id}/make_reusable", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "The application ID." + "description": "The application ID.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/access_uuid", - "description": "The policy ID." + "description": "The policy ID.", + "type": "string" } }, "required": [ @@ -560,16 +484,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-9", $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_email_alias": access_allow_email_alias, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, @@ -579,7 +499,6 @@ export const tools: readonly Tool[] = [ "access_app_policy_result": access_app_policy_result, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -592,7 +511,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules_rdp": access_connection_rules_rdp, "access_connection_rules_ssh": access_connection_rules_ssh, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -602,37 +520,26 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_infra_mfa_config": access_infra_mfa_config, "access_infra_policy_resp": access_infra_policy_resp, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_precedence": access_precedence, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_response_collection-9": access_response_collection$$9, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -660,7 +567,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_email_alias": access_allow_email_alias, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, @@ -671,7 +577,6 @@ export const tools: readonly Tool[] = [ "access_app_policy_result": access_app_policy_result, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -684,7 +589,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules_rdp": access_connection_rules_rdp, "access_connection_rules_ssh": access_connection_rules_ssh, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -694,37 +598,26 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_infra_mfa_config": access_infra_mfa_config, "access_infra_policy_resp": access_infra_policy_resp, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_precedence": access_precedence, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_response_collection-9": access_response_collection$$9, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts index 098c055db..0a082f51c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/outputs.ts @@ -3,34 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `access_percent_approved` in responses. - */ -export const access_percent_approved: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `access_percent_blocked` in responses. - */ -export const access_percent_blocked: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `access_percent_errored` in responses. - */ -export const access_percent_errored: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `access_percent_users_processed` in responses. - */ -export const access_percent_users_processed: JsonSchema = { - "type": "integer" -}; - /** * The schema of `access_policy_init_resp` in responses. */ @@ -44,10 +16,13 @@ export const access_policy_init_resp: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/access_policy_test_id" + "type": "string" }, "status": { - "$ref": "#/$defs/access_status" + "enum": [ + "success" + ], + "type": "string" } }, "type": "object" @@ -58,13 +33,6 @@ export const access_policy_init_resp: JsonSchema = { ] }; -/** - * The schema of `access_policy_test_id` in responses. - */ -export const access_policy_test_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_policy_update_resp` in responses. */ @@ -78,34 +46,40 @@ export const access_policy_update_resp: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/access_policy_test_id" + "type": "string" }, "percent_approved": { - "$ref": "#/$defs/access_percent_approved" + "type": "integer" }, "percent_blocked": { - "$ref": "#/$defs/access_percent_blocked" + "type": "integer" }, "percent_errored": { - "$ref": "#/$defs/access_percent_errored" + "type": "integer" }, "percent_users_processed": { - "$ref": "#/$defs/access_percent_users_processed" + "type": "integer" }, "status": { - "$ref": "#/$defs/access_update_status" + "enum": [ + "blocked", + "processing", + "exceeded time", + "complete" + ], + "type": "string" }, "total_users": { - "$ref": "#/$defs/access_total_users" + "type": "integer" }, "users_approved": { - "$ref": "#/$defs/access_users_approved" + "type": "integer" }, "users_blocked": { - "$ref": "#/$defs/access_users_blocked" + "type": "integer" }, "users_errored": { - "$ref": "#/$defs/access_users_errored" + "type": "integer" } }, "type": "object" @@ -115,54 +89,3 @@ export const access_policy_update_resp: JsonSchema = { } ] }; - -/** - * The schema of `access_status` in responses. - */ -export const access_status: JsonSchema = { - "enum": [ - "success" - ], - "type": "string" -}; - -/** - * The schema of `access_total_users` in responses. - */ -export const access_total_users: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `access_update_status` in responses. - */ -export const access_update_status: JsonSchema = { - "enum": [ - "blocked", - "processing", - "exceeded time", - "complete" - ], - "type": "string" -}; - -/** - * The schema of `access_users_approved` in responses. - */ -export const access_users_approved: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `access_users_blocked` in responses. - */ -export const access_users_blocked: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `access_users_errored` in responses. - */ -export const access_users_errored: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/schemas.ts index f71842b84..cab41d432 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/schemas.ts @@ -24,11 +24,3 @@ export const access_policy_init_req: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `access_policy_test_id`. - */ -export const access_policy_test_id: JsonSchema = { - "description": "The UUID of the policy test.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts index b145478a0..2bcaa7e3f 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/tools.ts @@ -7,7 +7,6 @@ import { access_api$$response$$single, access_messages, } from "../../../outputs.js"; -import { access_identifier } from "../../../schemas.js"; import { access_access_group_rule, access_allowed_clipboard_local_to_remote_formats, @@ -15,7 +14,6 @@ import { access_any_valid_service_token_rule, access_approval_group, access_approval_groups, - access_approval_required, access_auth_context_rule, access_authentication_method_rule, access_azure_group_rule, @@ -26,7 +24,6 @@ import { access_connection_rules, access_connection_rules_rdp, access_country_rule, - access_decision, access_device_posture_rule, access_domain_rule, access_email_list_rule, @@ -39,45 +36,24 @@ import { access_include$$2, access_ip_list_rule, access_ip_rule, - access_isolation_required, access_linked_app_token_rule, access_login_method_rule, access_mfa_config, - access_name$$9, access_oidc_claim_rule, access_okta_group_rule, access_policy_req, - access_policy_resolution_account_id, - access_purpose_justification_prompt, - access_purpose_justification_required, - access_rdp_clipboard_format, access_require$$2, access_rule, access_saml_group_rule, access_service_token_rule, access_service_token_tag_rule, - access_session_duration$$3, access_user_risk_score_rule, } from "../../schemas.js"; import { - access_percent_approved, - access_percent_blocked, - access_percent_errored, - access_percent_users_processed, access_policy_init_resp, - access_policy_test_id, access_policy_update_resp, - access_status, - access_total_users, - access_update_status, - access_users_approved, - access_users_blocked, - access_users_errored, } from "./outputs.js"; -import { - access_policy_init_req, - access_policy_test_id as access_policy_test_id$, -} from "./schemas.js"; +import { access_policy_init_req } from "./schemas.js"; /** * The tools of `zeroTrust.access.applications.policyTests`. @@ -86,7 +62,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_policyTests_create", title: "Start Access policy test", - description: "Starts an Access policy test.", + description: "Starts an Access policy test.\n\nPOST /accounts/{account_id}/access/policy-tests", inputSchema: { type: "object", properties: { @@ -94,10 +70,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_policy_init_req" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -110,6 +87,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_access_group_rule": access_access_group_rule, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, @@ -117,7 +95,6 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -128,7 +105,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules, "access_connection_rules_rdp": access_connection_rules_rdp, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -138,29 +114,21 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_policy_init_req": access_policy_init_req, "access_policy_req": access_policy_req, - "access_policy_resolution_account_id": access_policy_resolution_account_id, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, "access_user_risk_score_rule": access_user_risk_score_rule, }, }, @@ -170,8 +138,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, "access_policy_init_resp": access_policy_init_resp, - "access_policy_test_id": access_policy_test_id, - "access_status": access_status, }, }, annotations: { @@ -202,8 +168,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, "access_policy_init_resp": access_policy_init_resp, - "access_policy_test_id": access_policy_test_id, - "access_status": access_status, }, }, request: (args) => ({ @@ -214,19 +178,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_policyTests_get", title: "Get the current status of a given Access policy test", - description: "Fetches the current status of a given Access policy test.", + description: "Fetches the current status of a given Access policy test.\n\nGET /accounts/{account_id}/access/policy-tests/{policy_test_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "policy_test_id": { - "$ref": "#/$defs/access_policy_test_id", - "description": "The UUID of the policy test." + "description": "The UUID of the policy test.", + "type": "string" } }, "required": [ @@ -239,27 +204,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_policy_test_id": access_policy_test_id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_policy_update_resp", $defs: { "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, - "access_percent_approved": access_percent_approved, - "access_percent_blocked": access_percent_blocked, - "access_percent_errored": access_percent_errored, - "access_percent_users_processed": access_percent_users_processed, - "access_policy_test_id": access_policy_test_id, "access_policy_update_resp": access_policy_update_resp, - "access_total_users": access_total_users, - "access_update_status": access_update_status, - "access_users_approved": access_users_approved, - "access_users_blocked": access_users_blocked, - "access_users_errored": access_users_errored, }, }, annotations: { @@ -290,17 +242,7 @@ export const tools: readonly Tool[] = [ "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, - "access_percent_approved": access_percent_approved, - "access_percent_blocked": access_percent_blocked, - "access_percent_errored": access_percent_errored, - "access_percent_users_processed": access_percent_users_processed, - "access_policy_test_id": access_policy_test_id, "access_policy_update_resp": access_policy_update_resp, - "access_total_users": access_total_users, - "access_update_status": access_update_status, - "access_users_approved": access_users_approved, - "access_users_blocked": access_users_blocked, - "access_users_errored": access_users_errored, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts index cf07412bf..0ae0583d2 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/outputs.ts @@ -9,16 +9,21 @@ import type { JsonSchema } from "../../../../../_/tool.js"; export const access_policy_users: JsonSchema = { "properties": { "email": { - "$ref": "#/$defs/access_email-2" + "type": "string" }, "id": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-10" + "type": "string" }, "status": { - "$ref": "#/$defs/access_user_result" + "enum": [ + "approved", + "blocked", + "error" + ], + "type": "string" } }, "type": "object" @@ -45,15 +50,3 @@ export const access_policy_users_resp: JsonSchema = { } ] }; - -/** - * The schema of `access_user_result` in responses. - */ -export const access_user_result: JsonSchema = { - "enum": [ - "approved", - "blocked", - "error" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts index b7bc6d11e..eec016c4d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/policyTests/users/tools.ts @@ -6,16 +6,8 @@ import { access_api$$response$$common$$failure, access_api$$response$$single, access_messages, - access_uuid, } from "../../../../outputs.js"; -import { access_identifier } from "../../../../schemas.js"; -import { access_email$$2, access_name$$10 } from "../../../outputs.js"; -import { access_policy_test_id } from "../schemas.js"; -import { - access_policy_users, - access_policy_users_resp, - access_user_result, -} from "./outputs.js"; +import { access_policy_users, access_policy_users_resp } from "./outputs.js"; /** * The tools of `zeroTrust.access.applications.policyTests.users`. @@ -24,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_policyTests_users_list", title: "Get an Access policy test users page", - description: "Fetches a single page of user results from an Access policy test.", + description: "Fetches a single page of user results from an Access policy test.\n\nGET /accounts/{account_id}/access/policy-tests/{policy_test_id}/users", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "policy_test_id": { - "$ref": "#/$defs/access_policy_test_id", - "description": "The UUID of the policy test." + "description": "The UUID of the policy test.", + "type": "string" } }, "required": [ @@ -46,6 +39,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -72,22 +66,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_policy_test_id": access_policy_test_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_policy_users_resp", $defs: { "access_api-response-single": access_api$$response$$single, - "access_email-2": access_email$$2, "access_messages": access_messages, - "access_name-10": access_name$$10, "access_policy_users": access_policy_users, "access_policy_users_resp": access_policy_users_resp, - "access_user_result": access_user_result, - "access_uuid": access_uuid, }, }, annotations: { @@ -117,13 +104,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_email-2": access_email$$2, "access_messages": access_messages, - "access_name-10": access_name$$10, "access_policy_users": access_policy_users, "access_policy_users_resp": access_policy_users_resp, - "access_user_result": access_user_result, - "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/applications/schemas.ts index a9f0bb9fe..56035936c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/schemas.ts @@ -3,62 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_allow_all_headers`. - */ -export const access_allow_all_headers: JsonSchema = { - "description": "Allows all HTTP request headers.", - "type": "boolean" -}; - -/** - * The schema of `access_allow_all_methods`. - */ -export const access_allow_all_methods: JsonSchema = { - "description": "Allows all HTTP request methods.", - "type": "boolean" -}; - -/** - * The schema of `access_allow_all_origins`. - */ -export const access_allow_all_origins: JsonSchema = { - "description": "Allows all origins.", - "type": "boolean" -}; - -/** - * The schema of `access_allow_authenticate_via_warp-2`. - */ -export const access_allow_authenticate_via_warp$$2: JsonSchema = { - "description": "When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication.", - "type": "boolean" -}; - -/** - * The schema of `access_allow_credentials`. - */ -export const access_allow_credentials: JsonSchema = { - "description": "When set to `true`, includes credentials (cookies, authorization headers, or TLS client certificates) with requests.", - "type": "boolean" -}; - -/** - * The schema of `access_allow_email_alias`. - */ -export const access_allow_email_alias: JsonSchema = { - "description": "Enables using Identity Provider email alias as SSH username.", - "type": "boolean" -}; - -/** - * The schema of `access_allow_iframe`. - */ -export const access_allow_iframe: JsonSchema = { - "description": "Enables loading application content in an iFrame.", - "type": "boolean" -}; - /** * The schema of `access_allowed_headers`. */ @@ -114,28 +58,6 @@ export const access_allowed_origins: JsonSchema = { "type": "array" }; -/** - * The schema of `access_app_id`. - */ -export const access_app_id: JsonSchema = { - "oneOf": [ - { - "$ref": "#/$defs/access_identifier" - }, - { - "$ref": "#/$defs/access_uuid" - } - ] -}; - -/** - * The schema of `access_app_launcher_logo_url`. - */ -export const access_app_launcher_logo_url: JsonSchema = { - "description": "The image URL of the logo shown in the App Launcher header.", - "type": "string" -}; - /** * The schema of `access_app_launcher_props`. */ @@ -147,34 +69,52 @@ export const access_app_launcher_props: JsonSchema = { { "properties": { "app_launcher_logo_url": { - "$ref": "#/$defs/access_app_launcher_logo_url", - "description": "The image URL of the logo shown in the App Launcher header." + "description": "The image URL of the logo shown in the App Launcher header.", + "type": "string" }, "bg_color": { - "$ref": "#/$defs/access_bg_color", - "description": "The background color of the App Launcher page." + "description": "The background color of the App Launcher page.", + "type": "string" }, "footer_links": { "$ref": "#/$defs/access_footer_links", "description": "The links in the App Launcher footer." }, "header_bg_color": { - "$ref": "#/$defs/access_header_bg_color", - "description": "The background color of the App Launcher header." + "description": "The background color of the App Launcher header.", + "type": "string" }, "landing_page_design": { "$ref": "#/$defs/access_landing_page_design", "description": "The design of the App Launcher landing page shown to users when they log in." }, "skip_app_launcher_login_page": { - "$ref": "#/$defs/access_skip_app_launcher_login_page", "default": false, - "description": "Determines when to skip the App Launcher landing page." + "description": "Determines when to skip the App Launcher landing page.", + "type": "boolean" }, "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -187,14 +127,6 @@ export const access_app_launcher_props: JsonSchema = { ] }; -/** - * The schema of `access_app_launcher_visible`. - */ -export const access_app_launcher_visible: JsonSchema = { - "description": "Displays the application in the App Launcher.", - "type": "boolean" -}; - /** * The schema of `access_app_policy_link`. */ @@ -202,16 +134,16 @@ export const access_app_policy_link: JsonSchema = { "description": "A JSON that links a reusable policy to an application.", "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "id": { - "$ref": "#/$defs/access_uuid-2", - "description": "The UUID of the policy" + "description": "The UUID of the policy", + "type": "string" }, "precedence": { - "$ref": "#/$defs/access_precedence", - "description": "The order of execution for this policy. Must be unique for each policy within an app.\n" + "description": "The order of execution for this policy. Must be unique for each policy within an app.", + "type": "integer" } }, "type": "object" @@ -225,8 +157,8 @@ export const access_app_policy_request: JsonSchema = { { "properties": { "precedence": { - "$ref": "#/$defs/access_precedence", - "description": "The order of execution for this policy. Must be unique for each policy within an app.\n" + "description": "The order of execution for this policy. Must be unique for each policy within an app.", + "type": "integer" } }, "type": "object" @@ -255,7 +187,8 @@ export const access_app_req_embedded_policies: JsonSchema = { "type": "string" }, { - "$ref": "#/$defs/access_uuid-2" + "description": "The UUID of the policy", + "type": "string" } ] }, @@ -264,8 +197,8 @@ export const access_app_req_embedded_policies: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/access_uuid-2", - "description": "The UUID of the policy" + "description": "The UUID of the policy", + "type": "string" } }, "type": "object" @@ -481,22 +414,6 @@ export const access_app_resp_embedded_target_criteria_self_hosted: JsonSchema = "type": "object" }; -/** - * The schema of `access_auto_redirect_to_identity-2`. - */ -export const access_auto_redirect_to_identity$$2: JsonSchema = { - "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps.", - "type": "boolean" -}; - -/** - * The schema of `access_bg_color`. - */ -export const access_bg_color: JsonSchema = { - "description": "The background color of the App Launcher page.", - "type": "string" -}; - /** * The schema of `access_biso_props`. */ @@ -510,7 +427,25 @@ export const access_biso_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -530,21 +465,21 @@ export const access_bookmark_props: JsonSchema = { "description": "Bookmark application", "properties": { "app_launcher_visible": { - "$ref": "#/$defs/access_app_launcher_visible", "default": true, - "description": "Displays the application in the App Launcher." + "description": "Displays the application in the App Launcher.", + "type": "boolean" }, "domain": { "description": "The URL or domain of the bookmark.", "type": "string" }, "logo_url": { - "$ref": "#/$defs/access_logo_url", - "description": "The image URL for the logo shown in the App Launcher dashboard." + "description": "The image URL for the logo shown in the App Launcher dashboard.", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8", - "description": "The name of the application." + "description": "The name of the application.", + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags-2", @@ -554,7 +489,25 @@ export const access_bookmark_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -565,22 +518,6 @@ export const access_bookmark_props: JsonSchema = { "type": "object" }; -/** - * The schema of `access_button_color`. - */ -export const access_button_color: JsonSchema = { - "description": "The background color of the log in button on the landing page.", - "type": "string" -}; - -/** - * The schema of `access_button_text_color`. - */ -export const access_button_text_color: JsonSchema = { - "description": "The color of the text in the log in button on the landing page.", - "type": "string" -}; - /** * The schema of `access_connection_rules_infra`. */ @@ -602,8 +539,8 @@ export const access_connection_rules_ssh: JsonSchema = { "description": "The SSH-specific rules that define how users may connect to the targets secured by your application.", "properties": { "allow_email_alias": { - "$ref": "#/$defs/access_allow_email_alias", - "description": "Enables using Identity Provider email alias as SSH username." + "description": "Enables using Identity Provider email alias as SSH username.", + "type": "boolean" }, "usernames": { "$ref": "#/$defs/access_usernames", @@ -622,20 +559,20 @@ export const access_connection_rules_ssh: JsonSchema = { export const access_cors_headers: JsonSchema = { "properties": { "allow_all_headers": { - "$ref": "#/$defs/access_allow_all_headers", - "description": "Allows all HTTP request headers." + "description": "Allows all HTTP request headers.", + "type": "boolean" }, "allow_all_methods": { - "$ref": "#/$defs/access_allow_all_methods", - "description": "Allows all HTTP request methods." + "description": "Allows all HTTP request methods.", + "type": "boolean" }, "allow_all_origins": { - "$ref": "#/$defs/access_allow_all_origins", - "description": "Allows all origins." + "description": "Allows all origins.", + "type": "boolean" }, "allow_credentials": { - "$ref": "#/$defs/access_allow_credentials", - "description": "When set to `true`, includes credentials (cookies, authorization headers, or TLS client certificates) with requests." + "description": "When set to `true`, includes credentials (cookies, authorization headers, or TLS client certificates) with requests.", + "type": "boolean" }, "allowed_headers": { "$ref": "#/$defs/access_allowed_headers", @@ -650,37 +587,13 @@ export const access_cors_headers: JsonSchema = { "description": "Allowed origins." }, "max_age": { - "$ref": "#/$defs/access_max_age", - "description": "The maximum number of seconds the results of a preflight request can be cached." + "description": "The maximum number of seconds the results of a preflight request can be cached.", + "type": "number" } }, "type": "object" }; -/** - * The schema of `access_custom_deny_message`. - */ -export const access_custom_deny_message: JsonSchema = { - "description": "The custom error message shown to a user when they are denied access to the application.", - "type": "string" -}; - -/** - * The schema of `access_custom_deny_url`. - */ -export const access_custom_deny_url: JsonSchema = { - "description": "The custom URL a user is redirected to when they are denied access to the application when failing identity-based rules.", - "type": "string" -}; - -/** - * The schema of `access_custom_non_identity_deny_url`. - */ -export const access_custom_non_identity_deny_url: JsonSchema = { - "description": "The custom URL a user is redirected to when they are denied access to the application when failing non-identity rules.", - "type": "string" -}; - /** * The schema of `access_custom_pages-2`. */ @@ -696,7 +609,7 @@ export const access_custom_pages$$2: JsonSchema = { * The schema of `access_destination_overrides`. */ export const access_destination_overrides: JsonSchema = { - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n", + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.", "items": { "properties": { "behavior": { @@ -707,7 +620,7 @@ export const access_destination_overrides: JsonSchema = { "type": "string" }, "path_pattern": { - "description": "The request path pattern to match. Wildcards (`*`) are supported, but each path segment may have at most one wildcard. Unlike the `uri` in public destinations, override path patterns do not implicitly cover subpaths; to do that, use a wildcard.\n", + "description": "The request path pattern to match. Wildcards (`*`) are supported, but each path segment may have at most one wildcard. Unlike the `uri` in public destinations, override path patterns do not implicitly cover subpaths; to do that, use a wildcard.", "type": "string" } }, @@ -725,14 +638,14 @@ export const access_destination_overrides: JsonSchema = { * The schema of `access_destinations`. */ export const access_destinations: JsonSchema = { - "description": "List of destinations secured by Access. This supersedes `self_hosted_domains` to allow for more flexibility in defining different types of domains. If `destinations` are provided, then `self_hosted_domains` will be ignored.\n", + "description": "List of destinations secured by Access. This supersedes `self_hosted_domains` to allow for more flexibility in defining different types of domains. If `destinations` are provided, then `self_hosted_domains` will be ignored.", "items": { "oneOf": [ { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -741,7 +654,7 @@ export const access_destinations: JsonSchema = { "type": "string" }, "uri": { - "description": "The URI of the destination. Public destinations' URIs can include a domain and path with [wildcards](https://developers.cloudflare.com/cloudflare-one/policies/access/app-paths/).\n", + "description": "The URI of the destination. Public destinations' URIs can include a domain and path with [wildcards](https://developers.cloudflare.com/cloudflare-one/policies/access/app-paths/).", "type": "string" } }, @@ -766,7 +679,7 @@ export const access_destinations: JsonSchema = { "type": "string" }, "port_range": { - "description": "The port range of the destination. Can be a single port or a range of ports. When omitted, all ports will match.\n", + "description": "The port range of the destination. Can be a single port or a range of ports. When omitted, all ports will match.", "type": "string" }, "type": { @@ -801,7 +714,7 @@ export const access_destinations: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -824,7 +737,7 @@ export const access_destinations: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -847,7 +760,7 @@ export const access_destinations: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -865,7 +778,7 @@ export const access_destinations: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -884,30 +797,6 @@ export const access_destinations: JsonSchema = { "type": "array" }; -/** - * The schema of `access_domain`. - */ -export const access_domain: JsonSchema = { - "description": "The primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher.", - "type": "string" -}; - -/** - * The schema of `access_eager_redirect_cookie_setting`. - */ -export const access_eager_redirect_cookie_setting: JsonSchema = { - "description": "Preemptively sets the Access session cookie on every hostname in a multi-hostname self-hosted application during the initial redirect chain, rather than setting it lazily on first visit. Defaults to true. Set to false to disable the eager redirect cookie behavior.", - "type": "boolean" -}; - -/** - * The schema of `access_enable_binding_cookie`. - */ -export const access_enable_binding_cookie: JsonSchema = { - "description": "Enables the binding cookie, which increases security against compromised authorization tokens and CSRF attacks.", - "type": "boolean" -}; - /** * The schema of `access_end_user_all_preview_workers_destination`. */ @@ -915,7 +804,7 @@ export const access_end_user_all_preview_workers_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -937,7 +826,7 @@ export const access_end_user_all_workers_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -1010,7 +899,7 @@ export const access_end_user_preview_worker_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -1034,7 +923,7 @@ export const access_end_user_preview_worker_destination: JsonSchema = { * The schema of `access_end_user_props`. */ export const access_end_user_props: JsonSchema = { - "description": "An end user application is a public self-hosted application backed by exactly one organization-owned user population. End user applications use a canonical allow-everyone policy and do not support custom policies, SCIM configuration, MFA configuration, or private destinations.\n", + "description": "An end user application is a public self-hosted application backed by exactly one organization-owned user population. End user applications use a canonical allow-everyone policy and do not support custom policies, SCIM configuration, MFA configuration, or private destinations.", "properties": { "allowed_idps": { "$ref": "#/$defs/access_allowed_idps", @@ -1045,12 +934,12 @@ export const access_end_user_props: JsonSchema = { "description": "Public hostname and Workers destinations secured by Access." }, "domain": { - "$ref": "#/$defs/access_domain", - "description": "The primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher." + "description": "The primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher.", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8", - "description": "The name of the application." + "description": "The name of the application.", + "type": "string" }, "oauth_configuration": { "$ref": "#/$defs/access_end_user_oauth_configuration" @@ -1058,12 +947,30 @@ export const access_end_user_props: JsonSchema = { "self_hosted_domains": { "$ref": "#/$defs/access_self_hosted_domains", "default": [], - "description": "List of public domains that Access will secure. This field is deprecated in favor of `destinations` and will be supported until **November 21, 2025.** If `destinations` are provided, then `self_hosted_domains` will be ignored.\n" + "description": "List of public domains that Access will secure. This field is deprecated in favor of `destinations` and will be supported until **November 21, 2025.** If `destinations` are provided, then `self_hosted_domains` will be ignored." }, "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "enum": [ @@ -1076,7 +983,8 @@ export const access_end_user_props: JsonSchema = { "user_populations": { "description": "The single user population associated with this application.", "items": { - "$ref": "#/$defs/access_uuid" + "description": "UUID.", + "type": "string" }, "maxItems": 1, "minItems": 1, @@ -1098,7 +1006,7 @@ export const access_end_user_public_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -1124,7 +1032,7 @@ export const access_end_user_worker_destination: JsonSchema = { "properties": { "overrides": { "$ref": "#/$defs/access_destination_overrides", - "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations.\n" + "description": "Rules that override how Access handles requests to this destination. Each rule can make a matching path public, bypassing Access authentication. Overrides are supported for public destinations and Worker destinations." }, "type": { "enum": [ @@ -1154,38 +1062,55 @@ export const access_feature_app_props: JsonSchema = { "description": "The identity providers your users can select when connecting to this application. Defaults to all IdPs configured in your account." }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2", "default": false, - "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps." + "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps.", + "type": "boolean" }, "custom_deny_url": { - "$ref": "#/$defs/access_custom_deny_url", - "description": "The custom URL a user is redirected to when they are denied access to the application when failing identity-based rules." + "description": "The custom URL a user is redirected to when they are denied access to the application when failing identity-based rules.", + "type": "string" }, "custom_non_identity_deny_url": { - "$ref": "#/$defs/access_custom_non_identity_deny_url", - "description": "The custom URL a user is redirected to when they are denied access to the application when failing non-identity rules." + "description": "The custom URL a user is redirected to when they are denied access to the application when failing non-identity rules.", + "type": "string" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2", "description": "The custom pages that will be displayed when applicable for this application" }, "domain": { - "$ref": "#/$defs/access_domain", - "description": "The primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher." + "description": "The primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher.", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8", - "description": "The name of the application." + "description": "The name of the application.", + "type": "string" }, "session_duration": { - "$ref": "#/$defs/access_session_duration-2", "default": "24h", - "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h." + "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", + "type": "string" }, "type": { - "$ref": "#/$defs/access_type", - "description": "The application type." + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" } }, "required": [ @@ -1219,30 +1144,6 @@ export const access_footer_links: JsonSchema = { "type": "array" }; -/** - * The schema of `access_header_bg_color`. - */ -export const access_header_bg_color: JsonSchema = { - "description": "The background color of the App Launcher header.", - "type": "string" -}; - -/** - * The schema of `access_http_only_cookie_attribute`. - */ -export const access_http_only_cookie_attribute: JsonSchema = { - "description": "Enables the HttpOnly cookie attribute, which increases security against XSS attacks.", - "type": "boolean" -}; - -/** - * The schema of `access_image_url`. - */ -export const access_image_url: JsonSchema = { - "description": "The URL of the image shown on the landing page.", - "type": "string" -}; - /** * The schema of `access_infra_app_req_embedded_policies`. */ @@ -1324,8 +1225,8 @@ export const access_infra_props: JsonSchema = { "description": "Configures multi-factor authentication (MFA) settings for infrastructure applications." }, "name": { - "$ref": "#/$defs/access_name-8", - "description": "The name of the application." + "description": "The name of the application.", + "type": "string" }, "session_duration": { "default": "24h", @@ -1335,7 +1236,25 @@ export const access_infra_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1359,46 +1278,30 @@ export const access_landing_page_design: JsonSchema = { "description": "The design of the App Launcher landing page shown to users when they log in.", "properties": { "button_color": { - "$ref": "#/$defs/access_button_color", - "description": "The background color of the log in button on the landing page." + "description": "The background color of the log in button on the landing page.", + "type": "string" }, "button_text_color": { - "$ref": "#/$defs/access_button_text_color", - "description": "The color of the text in the log in button on the landing page." + "description": "The color of the text in the log in button on the landing page.", + "type": "string" }, "image_url": { - "$ref": "#/$defs/access_image_url", - "description": "The URL of the image shown on the landing page." + "description": "The URL of the image shown on the landing page.", + "type": "string" }, "message": { - "$ref": "#/$defs/access_message", - "description": "The message shown on the landing page." + "description": "The message shown on the landing page.", + "type": "string" }, "title": { - "$ref": "#/$defs/access_title", "default": "Welcome!", - "description": "The title shown on the landing page." + "description": "The title shown on the landing page.", + "type": "string" } }, "type": "object" }; -/** - * The schema of `access_logo_url`. - */ -export const access_logo_url: JsonSchema = { - "description": "The image URL for the logo shown in the App Launcher dashboard.", - "type": "string" -}; - -/** - * The schema of `access_max_age`. - */ -export const access_max_age: JsonSchema = { - "description": "The maximum number of seconds the results of a preflight request can be cached.", - "type": "number" -}; - /** * The schema of `access_mcp_portal_props`. */ @@ -1406,29 +1309,29 @@ export const access_mcp_portal_props: JsonSchema = { "description": "MCP Server Portal Application", "properties": { "allow_authenticate_via_warp": { - "$ref": "#/$defs/access_allow_authenticate_via_warp-2", - "description": "When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication." + "description": "When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication.", + "type": "boolean" }, "allowed_idps": { "$ref": "#/$defs/access_allowed_idps", "description": "The identity providers your users can select when connecting to this application. Defaults to all IdPs configured in your account." }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2", "default": false, - "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps." + "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps.", + "type": "boolean" }, "custom_deny_message": { - "$ref": "#/$defs/access_custom_deny_message", - "description": "The custom error message shown to a user when they are denied access to the application." + "description": "The custom error message shown to a user when they are denied access to the application.", + "type": "string" }, "custom_deny_url": { - "$ref": "#/$defs/access_custom_deny_url", - "description": "The custom URL a user is redirected to when they are denied access to the application when failing identity-based rules." + "description": "The custom URL a user is redirected to when they are denied access to the application when failing identity-based rules.", + "type": "string" }, "custom_non_identity_deny_url": { - "$ref": "#/$defs/access_custom_non_identity_deny_url", - "description": "The custom URL a user is redirected to when they are denied access to the application when failing non-identity rules." + "description": "The custom URL a user is redirected to when they are denied access to the application when failing non-identity rules.", + "type": "string" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2", @@ -1437,45 +1340,45 @@ export const access_mcp_portal_props: JsonSchema = { "destinations": { "$ref": "#/$defs/access_destinations", "default": [], - "description": "List of destinations secured by Access. This supersedes `self_hosted_domains` to allow for more flexibility in defining different types of domains. If `destinations` are provided, then `self_hosted_domains` will be ignored.\n" + "description": "List of destinations secured by Access. This supersedes `self_hosted_domains` to allow for more flexibility in defining different types of domains. If `destinations` are provided, then `self_hosted_domains` will be ignored." }, "domain": { - "$ref": "#/$defs/access_domain", - "description": "The primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher." + "description": "The primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher.", + "type": "string" }, "http_only_cookie_attribute": { - "$ref": "#/$defs/access_http_only_cookie_attribute", "default": true, - "description": "Enables the HttpOnly cookie attribute, which increases security against XSS attacks." + "description": "Enables the HttpOnly cookie attribute, which increases security against XSS attacks.", + "type": "boolean" }, "logo_url": { - "$ref": "#/$defs/access_logo_url", - "description": "The image URL for the logo shown in the App Launcher dashboard." + "description": "The image URL for the logo shown in the App Launcher dashboard.", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8", - "description": "The name of the application." + "description": "The name of the application.", + "type": "string" }, "oauth_configuration": { "$ref": "#/$defs/access_oauth_configuration", - "description": "**Beta:** Optional configuration for managing an OAuth authorization flow controlled by Access. When set, Access will act as the OAuth authorization server for this application. Only compatible with OAuth clients that support [RFC 8707](https://datatracker.ietf.org/doc/html/rfc8707) (Resource Indicators for OAuth 2.0). This feature is currently in beta.\n" + "description": "**Beta:** Optional configuration for managing an OAuth authorization flow controlled by Access. When set, Access will act as the OAuth authorization server for this application. Only compatible with OAuth clients that support [RFC 8707](https://datatracker.ietf.org/doc/html/rfc8707) (Resource Indicators for OAuth 2.0). This feature is currently in beta." }, "options_preflight_bypass": { - "$ref": "#/$defs/access_options_preflight_bypass", - "description": "Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set." + "description": "Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set.", + "type": "boolean" }, "same_site_cookie_attribute": { - "$ref": "#/$defs/access_same_site_cookie_attribute", - "description": "Sets the SameSite cookie setting, which provides increased security against CSRF attacks." + "description": "Sets the SameSite cookie setting, which provides increased security against CSRF attacks.", + "type": "string" }, "scim_config": { "$ref": "#/$defs/access_scim_config", "description": "Configuration for provisioning to this application via SCIM. This is currently in closed beta." }, "session_duration": { - "$ref": "#/$defs/access_session_duration-2", "default": "24h", - "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h." + "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags-2", @@ -1485,7 +1388,25 @@ export const access_mcp_portal_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1506,29 +1427,29 @@ export const access_mcp_props: JsonSchema = { "description": "MCP Server Application", "properties": { "allow_authenticate_via_warp": { - "$ref": "#/$defs/access_allow_authenticate_via_warp-2", - "description": "When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication." + "description": "When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication.", + "type": "boolean" }, "allowed_idps": { "$ref": "#/$defs/access_allowed_idps", "description": "The identity providers your users can select when connecting to this application. Defaults to all IdPs configured in your account." }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2", "default": false, - "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps." + "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps.", + "type": "boolean" }, "custom_deny_message": { - "$ref": "#/$defs/access_custom_deny_message", - "description": "The custom error message shown to a user when they are denied access to the application." + "description": "The custom error message shown to a user when they are denied access to the application.", + "type": "string" }, "custom_deny_url": { - "$ref": "#/$defs/access_custom_deny_url", - "description": "The custom URL a user is redirected to when they are denied access to the application when failing identity-based rules." + "description": "The custom URL a user is redirected to when they are denied access to the application when failing identity-based rules.", + "type": "string" }, "custom_non_identity_deny_url": { - "$ref": "#/$defs/access_custom_non_identity_deny_url", - "description": "The custom URL a user is redirected to when they are denied access to the application when failing non-identity rules." + "description": "The custom URL a user is redirected to when they are denied access to the application when failing non-identity rules.", + "type": "string" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2", @@ -1537,41 +1458,41 @@ export const access_mcp_props: JsonSchema = { "destinations": { "$ref": "#/$defs/access_destinations", "default": [], - "description": "List of destinations secured by Access. This supersedes `self_hosted_domains` to allow for more flexibility in defining different types of domains. If `destinations` are provided, then `self_hosted_domains` will be ignored.\n" + "description": "List of destinations secured by Access. This supersedes `self_hosted_domains` to allow for more flexibility in defining different types of domains. If `destinations` are provided, then `self_hosted_domains` will be ignored." }, "http_only_cookie_attribute": { - "$ref": "#/$defs/access_http_only_cookie_attribute", "default": true, - "description": "Enables the HttpOnly cookie attribute, which increases security against XSS attacks." + "description": "Enables the HttpOnly cookie attribute, which increases security against XSS attacks.", + "type": "boolean" }, "logo_url": { - "$ref": "#/$defs/access_logo_url", - "description": "The image URL for the logo shown in the App Launcher dashboard." + "description": "The image URL for the logo shown in the App Launcher dashboard.", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8", - "description": "The name of the application." + "description": "The name of the application.", + "type": "string" }, "oauth_configuration": { "$ref": "#/$defs/access_oauth_configuration", - "description": "**Beta:** Optional configuration for managing an OAuth authorization flow controlled by Access. When set, Access will act as the OAuth authorization server for this application. Only compatible with OAuth clients that support [RFC 8707](https://datatracker.ietf.org/doc/html/rfc8707) (Resource Indicators for OAuth 2.0). This feature is currently in beta.\n" + "description": "**Beta:** Optional configuration for managing an OAuth authorization flow controlled by Access. When set, Access will act as the OAuth authorization server for this application. Only compatible with OAuth clients that support [RFC 8707](https://datatracker.ietf.org/doc/html/rfc8707) (Resource Indicators for OAuth 2.0). This feature is currently in beta." }, "options_preflight_bypass": { - "$ref": "#/$defs/access_options_preflight_bypass", - "description": "Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set." + "description": "Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set.", + "type": "boolean" }, "same_site_cookie_attribute": { - "$ref": "#/$defs/access_same_site_cookie_attribute", - "description": "Sets the SameSite cookie setting, which provides increased security against CSRF attacks." + "description": "Sets the SameSite cookie setting, which provides increased security against CSRF attacks.", + "type": "string" }, "scim_config": { "$ref": "#/$defs/access_scim_config", "description": "Configuration for provisioning to this application via SCIM. This is currently in closed beta." }, "session_duration": { - "$ref": "#/$defs/access_session_duration-2", "default": "24h", - "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h." + "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags-2", @@ -1581,7 +1502,25 @@ export const access_mcp_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1595,27 +1534,11 @@ export const access_mcp_props: JsonSchema = { "type": "object" }; -/** - * The schema of `access_message`. - */ -export const access_message: JsonSchema = { - "description": "The message shown on the landing page.", - "type": "string" -}; - -/** - * The schema of `access_name-8`. - */ -export const access_name$$8: JsonSchema = { - "description": "The name of the application.", - "type": "string" -}; - /** * The schema of `access_oauth_configuration`. */ export const access_oauth_configuration: JsonSchema = { - "description": "**Beta:** Optional configuration for managing an OAuth authorization flow controlled by Access. When set, Access will act as the OAuth authorization server for this application. Only compatible with OAuth clients that support [RFC 8707](https://datatracker.ietf.org/doc/html/rfc8707) (Resource Indicators for OAuth 2.0). This feature is currently in beta.\n", + "description": "**Beta:** Optional configuration for managing an OAuth authorization flow controlled by Access. When set, Access will act as the OAuth authorization server for this application. Only compatible with OAuth clients that support [RFC 8707](https://datatracker.ietf.org/doc/html/rfc8707) (Resource Indicators for OAuth 2.0). This feature is currently in beta.", "properties": { "dynamic_client_registration": { "description": "Settings for OAuth dynamic client registration.", @@ -1629,7 +1552,7 @@ export const access_oauth_configuration: JsonSchema = { "type": "boolean" }, "allowed_uris": { - "description": "The URIs that are allowed as redirect URIs for dynamically registered clients. HTTP and HTTPS paths may end in `/*` to match all sub-paths. Custom-scheme URIs must be explicitly configured and match exactly.\n", + "description": "The URIs that are allowed as redirect URIs for dynamically registered clients. HTTP and HTTPS paths may end in `/*` to match all sub-paths. Custom-scheme URIs must be explicitly configured and match exactly.", "items": { "type": "string" }, @@ -1644,7 +1567,7 @@ export const access_oauth_configuration: JsonSchema = { }, "enabled": { "default": true, - "description": "Whether the OAuth configuration is enabled for this application. When set to `false`, Access will not handle OAuth for this application. Defaults to `true` if omitted.\n", + "description": "Whether the OAuth configuration is enabled for this application. When set to `false`, Access will not handle OAuth for this application. Defaults to `true` if omitted.", "type": "boolean" }, "grant": { @@ -1700,7 +1623,15 @@ export const access_oidc_saas_app: JsonSchema = { "type": "string" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "custom_claims": { "items": { @@ -1809,66 +1740,20 @@ export const access_oidc_saas_app: JsonSchema = { "type": "array" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" }; -/** - * The schema of `access_options_preflight_bypass`. - */ -export const access_options_preflight_bypass: JsonSchema = { - "description": "Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set.", - "type": "boolean" -}; - -/** - * The schema of `access_path_cookie_attribute`. - */ -export const access_path_cookie_attribute: JsonSchema = { - "description": "Enables cookie paths to scope an application's JWT to the application path. If disabled, the JWT will scope to the hostname by default", - "type": "boolean" -}; - -/** - * The schema of `access_port`. - */ -export const access_port: JsonSchema = { - "description": "The port that the targets use for the chosen communication protocol. A port cannot be assigned to multiple protocols.", - "type": "integer" -}; - -/** - * The schema of `access_precedence`. - */ -export const access_precedence: JsonSchema = { - "description": "The order of execution for this policy. Must be unique for each policy within an app.\n", - "type": "integer" -}; - -/** - * The schema of `access_protocol_infra_app`. - */ -export const access_protocol_infra_app: JsonSchema = { - "description": "The communication protocol your application secures.", - "enum": [ - "SSH" - ], - "type": "string" -}; - -/** - * The schema of `access_protocol_self_hosted_app`. - */ -export const access_protocol_self_hosted_app: JsonSchema = { - "description": "The communication protocol your application secures.", - "enum": [ - "RDP" - ], - "type": "string" -}; - /** * The schema of `access_proxy_endpoint_props`. */ @@ -1890,7 +1775,25 @@ export const access_proxy_endpoint_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1919,7 +1822,25 @@ export const access_rdp_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -1932,14 +1853,6 @@ export const access_rdp_props: JsonSchema = { ] }; -/** - * The schema of `access_read_service_tokens_from_header`. - */ -export const access_read_service_tokens_from_header: JsonSchema = { - "description": "Allows matching Access Service Tokens passed HTTP in a single header with this name.\nThis works as an alternative to the (CF-Access-Client-Id, CF-Access-Client-Secret) pair of headers.\nThe header value will be interpreted as a json object similar to:\n {\n \"cf-access-client-id\": \"88bf3b6d86161464f6509f7219099e57.access.example.com\",\n \"cf-access-client-secret\": \"bdd31cbc4dec990953e39163fbbb194c93313ca9f0a6e420346af9d326b1d2a5\"\n }\n", - "type": "string" -}; - /** * The schema of `access_saas_props`. */ @@ -1951,26 +1864,26 @@ export const access_saas_props: JsonSchema = { "description": "The identity providers your users can select when connecting to this application. Defaults to all IdPs configured in your account." }, "app_launcher_visible": { - "$ref": "#/$defs/access_app_launcher_visible", "default": true, - "description": "Displays the application in the App Launcher." + "description": "Displays the application in the App Launcher.", + "type": "boolean" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2", "default": false, - "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps." + "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps.", + "type": "boolean" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2", "description": "The custom pages that will be displayed when applicable for this application" }, "logo_url": { - "$ref": "#/$defs/access_logo_url", - "description": "The image URL for the logo shown in the App Launcher dashboard." + "description": "The image URL for the logo shown in the App Launcher dashboard.", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-8", - "description": "The name of the application." + "description": "The name of the application.", + "type": "string" }, "saas_app": { "oneOf": [ @@ -1994,7 +1907,25 @@ export const access_saas_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -2005,14 +1936,6 @@ export const access_saas_props: JsonSchema = { "type": "object" }; -/** - * The schema of `access_same_site_cookie_attribute`. - */ -export const access_same_site_cookie_attribute: JsonSchema = { - "description": "Sets the SameSite cookie setting, which provides increased security against CSRF attacks.", - "type": "string" -}; - /** * The schema of `access_saml_saas_app`. */ @@ -2032,7 +1955,15 @@ export const access_saml_saas_app: JsonSchema = { "type": "string" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "custom_attributes": { "items": { @@ -2106,7 +2037,7 @@ export const access_saml_saas_app: JsonSchema = { "type": "string" }, "name_id_transform_jsonata": { - "description": "A [JSONata](https://jsonata.org/) expression that transforms an application's user identities into a NameID value for its SAML assertion. This expression should evaluate to a singular string. The output of this expression can override the `name_id_format` setting.\n", + "description": "A [JSONata](https://jsonata.org/) expression that transforms an application's user identities into a NameID value for its SAML assertion. This expression should evaluate to a singular string. The output of this expression can override the `name_id_format` setting.", "type": "string" }, "public_key": { @@ -2114,7 +2045,7 @@ export const access_saml_saas_app: JsonSchema = { "type": "string" }, "saml_attribute_transform_jsonata": { - "description": "A [JSONata] (https://jsonata.org/) expression that transforms an application's user identities into attribute assertions in the SAML response. The expression can transform id, email, name, and groups values. It can also transform fields listed in the saml_attributes or oidc_fields of the identity provider used to authenticate. The output of this expression must be a JSON object.\n", + "description": "A [JSONata] (https://jsonata.org/) expression that transforms an application's user identities into attribute assertions in the SAML response. The expression can transform id, email, name, and groups values. It can also transform fields listed in the saml_attributes or oidc_fields of the identity provider used to authenticate. The output of this expression must be a JSON object.", "type": "string" }, "sp_entity_id": { @@ -2126,7 +2057,15 @@ export const access_saml_saas_app: JsonSchema = { "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" @@ -2402,7 +2341,7 @@ export const access_scim_config_single_authentication: JsonSchema = { */ export const access_self_hosted_domains: JsonSchema = { "deprecated": true, - "description": "List of public domains that Access will secure. This field is deprecated in favor of `destinations` and will be supported until **November 21, 2025.** If `destinations` are provided, then `self_hosted_domains` will be ignored.\n", + "description": "List of public domains that Access will secure. This field is deprecated in favor of `destinations` and will be supported until **November 21, 2025.** If `destinations` are provided, then `self_hosted_domains` will be ignored.", "items": { "type": "string" }, @@ -2416,41 +2355,41 @@ export const access_self_hosted_props: JsonSchema = { "description": "Self Hosted Application", "properties": { "allow_authenticate_via_warp": { - "$ref": "#/$defs/access_allow_authenticate_via_warp-2", - "description": "When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication." + "description": "When set to true, users can authenticate to this application using their WARP session. When set to false this application will always require direct IdP authentication. This setting always overrides the organization setting for WARP authentication.", + "type": "boolean" }, "allow_iframe": { - "$ref": "#/$defs/access_allow_iframe", - "description": "Enables loading application content in an iFrame." + "description": "Enables loading application content in an iFrame.", + "type": "boolean" }, "allowed_idps": { "$ref": "#/$defs/access_allowed_idps", "description": "The identity providers your users can select when connecting to this application. Defaults to all IdPs configured in your account." }, "app_launcher_visible": { - "$ref": "#/$defs/access_app_launcher_visible", "default": true, - "description": "Displays the application in the App Launcher." + "description": "Displays the application in the App Launcher.", + "type": "boolean" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity-2", "default": false, - "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps." + "description": "When set to `true`, users skip the identity provider selection step during login. You must specify only one identity provider in allowed_idps.", + "type": "boolean" }, "cors_headers": { "$ref": "#/$defs/access_cors_headers" }, "custom_deny_message": { - "$ref": "#/$defs/access_custom_deny_message", - "description": "The custom error message shown to a user when they are denied access to the application." + "description": "The custom error message shown to a user when they are denied access to the application.", + "type": "string" }, "custom_deny_url": { - "$ref": "#/$defs/access_custom_deny_url", - "description": "The custom URL a user is redirected to when they are denied access to the application when failing identity-based rules." + "description": "The custom URL a user is redirected to when they are denied access to the application when failing identity-based rules.", + "type": "string" }, "custom_non_identity_deny_url": { - "$ref": "#/$defs/access_custom_non_identity_deny_url", - "description": "The custom URL a user is redirected to when they are denied access to the application when failing non-identity rules." + "description": "The custom URL a user is redirected to when they are denied access to the application when failing non-identity rules.", + "type": "string" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages-2", @@ -2459,59 +2398,59 @@ export const access_self_hosted_props: JsonSchema = { "destinations": { "$ref": "#/$defs/access_destinations", "default": [], - "description": "List of destinations secured by Access. This supersedes `self_hosted_domains` to allow for more flexibility in defining different types of domains. If `destinations` are provided, then `self_hosted_domains` will be ignored.\n" + "description": "List of destinations secured by Access. This supersedes `self_hosted_domains` to allow for more flexibility in defining different types of domains. If `destinations` are provided, then `self_hosted_domains` will be ignored." }, "domain": { - "$ref": "#/$defs/access_domain", - "description": "The primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher." + "description": "The primary hostname and path secured by Access. This domain will be displayed if the app is visible in the App Launcher.", + "type": "string" }, "eager_redirect_cookie_setting": { - "$ref": "#/$defs/access_eager_redirect_cookie_setting", "default": true, - "description": "Preemptively sets the Access session cookie on every hostname in a multi-hostname self-hosted application during the initial redirect chain, rather than setting it lazily on first visit. Defaults to true. Set to false to disable the eager redirect cookie behavior." + "description": "Preemptively sets the Access session cookie on every hostname in a multi-hostname self-hosted application during the initial redirect chain, rather than setting it lazily on first visit. Defaults to true. Set to false to disable the eager redirect cookie behavior.", + "type": "boolean" }, "enable_binding_cookie": { - "$ref": "#/$defs/access_enable_binding_cookie", "default": false, - "description": "Enables the binding cookie, which increases security against compromised authorization tokens and CSRF attacks." + "description": "Enables the binding cookie, which increases security against compromised authorization tokens and CSRF attacks.", + "type": "boolean" }, "http_only_cookie_attribute": { - "$ref": "#/$defs/access_http_only_cookie_attribute", "default": true, - "description": "Enables the HttpOnly cookie attribute, which increases security against XSS attacks." + "description": "Enables the HttpOnly cookie attribute, which increases security against XSS attacks.", + "type": "boolean" }, "logo_url": { - "$ref": "#/$defs/access_logo_url", - "description": "The image URL for the logo shown in the App Launcher dashboard." + "description": "The image URL for the logo shown in the App Launcher dashboard.", + "type": "string" }, "mfa_config": { "$ref": "#/$defs/access_mfa_config", "description": "Configures multi-factor authentication (MFA) settings." }, "name": { - "$ref": "#/$defs/access_name-8", - "description": "The name of the application." + "description": "The name of the application.", + "type": "string" }, "oauth_configuration": { "$ref": "#/$defs/access_oauth_configuration", - "description": "**Beta:** Optional configuration for managing an OAuth authorization flow controlled by Access. When set, Access will act as the OAuth authorization server for this application. Only compatible with OAuth clients that support [RFC 8707](https://datatracker.ietf.org/doc/html/rfc8707) (Resource Indicators for OAuth 2.0). This feature is currently in beta.\n" + "description": "**Beta:** Optional configuration for managing an OAuth authorization flow controlled by Access. When set, Access will act as the OAuth authorization server for this application. Only compatible with OAuth clients that support [RFC 8707](https://datatracker.ietf.org/doc/html/rfc8707) (Resource Indicators for OAuth 2.0). This feature is currently in beta." }, "options_preflight_bypass": { - "$ref": "#/$defs/access_options_preflight_bypass", - "description": "Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set." + "description": "Allows options preflight requests to bypass Access authentication and go directly to the origin. Cannot turn on if cors_headers is set.", + "type": "boolean" }, "path_cookie_attribute": { - "$ref": "#/$defs/access_path_cookie_attribute", "default": false, - "description": "Enables cookie paths to scope an application's JWT to the application path. If disabled, the JWT will scope to the hostname by default" + "description": "Enables cookie paths to scope an application's JWT to the application path. If disabled, the JWT will scope to the hostname by default", + "type": "boolean" }, "read_service_tokens_from_header": { - "$ref": "#/$defs/access_read_service_tokens_from_header", - "description": "Allows matching Access Service Tokens passed HTTP in a single header with this name.\nThis works as an alternative to the (CF-Access-Client-Id, CF-Access-Client-Secret) pair of headers.\nThe header value will be interpreted as a json object similar to:\n {\n \"cf-access-client-id\": \"88bf3b6d86161464f6509f7219099e57.access.example.com\",\n \"cf-access-client-secret\": \"bdd31cbc4dec990953e39163fbbb194c93313ca9f0a6e420346af9d326b1d2a5\"\n }\n" + "description": "Allows matching Access Service Tokens passed HTTP in a single header with this name.\nThis works as an alternative to the (CF-Access-Client-Id, CF-Access-Client-Secret) pair of headers.\nThe header value will be interpreted as a json object similar to:\n {\n \"cf-access-client-id\": \"88bf3b6d86161464f6509f7219099e57.access.example.com\",\n \"cf-access-client-secret\": \"bdd31cbc4dec990953e39163fbbb194c93313ca9f0a6e420346af9d326b1d2a5\"\n }", + "type": "string" }, "same_site_cookie_attribute": { - "$ref": "#/$defs/access_same_site_cookie_attribute", - "description": "Sets the SameSite cookie setting, which provides increased security against CSRF attacks." + "description": "Sets the SameSite cookie setting, which provides increased security against CSRF attacks.", + "type": "string" }, "scim_config": { "$ref": "#/$defs/access_scim_config", @@ -2520,20 +2459,20 @@ export const access_self_hosted_props: JsonSchema = { "self_hosted_domains": { "$ref": "#/$defs/access_self_hosted_domains", "default": [], - "description": "List of public domains that Access will secure. This field is deprecated in favor of `destinations` and will be supported until **November 21, 2025.** If `destinations` are provided, then `self_hosted_domains` will be ignored.\n" + "description": "List of public domains that Access will secure. This field is deprecated in favor of `destinations` and will be supported until **November 21, 2025.** If `destinations` are provided, then `self_hosted_domains` will be ignored." }, "service_auth_401_redirect": { - "$ref": "#/$defs/access_service_auth_401_redirect", - "description": "Returns a 401 status code when the request is blocked by a Service Auth policy." + "description": "Returns a 401 status code when the request is blocked by a Service Auth policy.", + "type": "boolean" }, "session_duration": { - "$ref": "#/$defs/access_session_duration-2", "default": "24h", - "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h." + "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", + "type": "string" }, "skip_interstitial": { - "$ref": "#/$defs/access_skip_interstitial", - "description": "Enables automatic authentication through cloudflared." + "description": "Enables automatic authentication through cloudflared.", + "type": "boolean" }, "tags": { "$ref": "#/$defs/access_tags-2", @@ -2543,7 +2482,25 @@ export const access_self_hosted_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -2551,9 +2508,9 @@ export const access_self_hosted_props: JsonSchema = { ] }, "use_clientless_isolation_app_launcher_url": { - "$ref": "#/$defs/access_use_clientless_isolation_app_launcher_url", "default": false, - "description": "Determines if users can access this application via a clientless browser isolation URL.\nThis allows users to access private domains without connecting to Gateway. The option requires\nClientless Browser Isolation to be set up with policies that allow users of this application.\n" + "description": "Determines if users can access this application via a clientless browser isolation URL.\nThis allows users to access private domains without connecting to Gateway. The option requires\nClientless Browser Isolation to be set up with policies that allow users of this application.", + "type": "boolean" } }, "required": [ @@ -2563,38 +2520,6 @@ export const access_self_hosted_props: JsonSchema = { "type": "object" }; -/** - * The schema of `access_service_auth_401_redirect`. - */ -export const access_service_auth_401_redirect: JsonSchema = { - "description": "Returns a 401 status code when the request is blocked by a Service Auth policy.", - "type": "boolean" -}; - -/** - * The schema of `access_session_duration-2`. - */ -export const access_session_duration$$2: JsonSchema = { - "description": "The amount of time that tokens issued for this application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", - "type": "string" -}; - -/** - * The schema of `access_skip_app_launcher_login_page`. - */ -export const access_skip_app_launcher_login_page: JsonSchema = { - "description": "Determines when to skip the App Launcher landing page.", - "type": "boolean" -}; - -/** - * The schema of `access_skip_interstitial`. - */ -export const access_skip_interstitial: JsonSchema = { - "description": "Enables automatic authentication through cloudflared.", - "type": "boolean" -}; - /** * The schema of `access_ssh_props`. */ @@ -2608,7 +2533,25 @@ export const access_ssh_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -2662,7 +2605,8 @@ export const access_target_criteria_base: JsonSchema = { "description": "Target matches when any selector in this rule matches." }, "port": { - "$ref": "#/$defs/access_port" + "description": "The port that the targets use for the chosen communication protocol. A port cannot be assigned to multiple protocols.", + "type": "integer" }, "require": { "$ref": "#/$defs/access_target_rule", @@ -2689,7 +2633,11 @@ export const access_target_criteria_infra_app: JsonSchema = { { "properties": { "protocol": { - "$ref": "#/$defs/access_protocol_infra_app" + "description": "The communication protocol your application secures.", + "enum": [ + "SSH" + ], + "type": "string" } }, "type": "object" @@ -2708,7 +2656,11 @@ export const access_target_criteria_self_hosted_app: JsonSchema = { { "properties": { "protocol": { - "$ref": "#/$defs/access_protocol_self_hosted_app" + "description": "The communication protocol your application secures.", + "enum": [ + "RDP" + ], + "type": "string" } }, "type": "object" @@ -2759,47 +2711,6 @@ export const access_target_rule_attributes: JsonSchema = { "type": "object" }; -/** - * The schema of `access_title`. - */ -export const access_title: JsonSchema = { - "description": "The title shown on the landing page.", - "type": "string" -}; - -/** - * The schema of `access_type`. - */ -export const access_type: JsonSchema = { - "description": "The application type.", - "enum": [ - "self_hosted", - "end_user", - "saas", - "ssh", - "vnc", - "app_launcher", - "warp", - "biso", - "bookmark", - "dash_sso", - "infrastructure", - "rdp", - "mcp", - "mcp_portal", - "proxy_endpoint" - ], - "type": "string" -}; - -/** - * The schema of `access_use_clientless_isolation_app_launcher_url`. - */ -export const access_use_clientless_isolation_app_launcher_url: JsonSchema = { - "description": "Determines if users can access this application via a clientless browser isolation URL.\nThis allows users to access private domains without connecting to Gateway. The option requires\nClientless Browser Isolation to be set up with policies that allow users of this application.\n", - "type": "boolean" -}; - /** * The schema of `access_usernames`. */ @@ -2824,7 +2735,25 @@ export const access_vnc_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" @@ -2850,7 +2779,25 @@ export const access_warp_props: JsonSchema = { "type": { "allOf": [ { - "$ref": "#/$defs/access_type" + "description": "The application type.", + "enum": [ + "self_hosted", + "end_user", + "saas", + "ssh", + "vnc", + "app_launcher", + "warp", + "biso", + "bookmark", + "dash_sso", + "infrastructure", + "rdp", + "mcp", + "mcp_portal", + "proxy_endpoint" + ], + "type": "string" }, { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts index e0592d807..7daa619b3 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/settings/outputs.ts @@ -9,10 +9,10 @@ import type { JsonSchema } from "../../../../_/tool.js"; export const access_app_settings_response: JsonSchema = { "properties": { "allow_iframe": { - "$ref": "#/$defs/access_allow_iframe" + "type": "boolean" }, "skip_interstitial": { - "$ref": "#/$defs/access_skip_interstitial" + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/settings/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/applications/settings/schemas.ts index ee921764a..231cacc35 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/settings/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/settings/schemas.ts @@ -9,12 +9,12 @@ import type { JsonSchema } from "../../../../_/tool.js"; export const access_app_settings_request: JsonSchema = { "properties": { "allow_iframe": { - "$ref": "#/$defs/access_allow_iframe", - "description": "Enables loading application content in an iFrame." + "description": "Enables loading application content in an iFrame.", + "type": "boolean" }, "skip_interstitial": { - "$ref": "#/$defs/access_skip_interstitial", - "description": "Enables automatic authentication through cloudflared." + "description": "Enables automatic authentication through cloudflared.", + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts index 70b9af1cc..121585a7c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/settings/tools.ts @@ -7,13 +7,6 @@ import { access_api$$response$$single, access_messages, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; -import { access_allow_iframe, access_skip_interstitial } from "../outputs.js"; -import { - access_allow_iframe as access_allow_iframe$, - access_app_id, - access_skip_interstitial as access_skip_interstitial$, -} from "../schemas.js"; import { access_app_settings_response, access_single_response_update, @@ -27,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_settings_update", title: "Update Access application settings", - description: "Updates Access application settings.", + description: "Updates Access application settings.\n\nPUT /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}/settings", inputSchema: { type: "object", properties: { @@ -35,6 +28,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_app_settings_request" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -45,11 +39,20 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_app_id" + "oneOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] } }, "required": [ @@ -64,24 +67,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_allow_iframe": access_allow_iframe$, - "access_app_id": access_app_id, "access_app_settings_request": access_app_settings_request, - "access_identifier": access_identifier, - "access_skip_interstitial": access_skip_interstitial$, - "access_uuid": access_uuid, }, }, outputSchema: { "$ref": "#/$defs/access_single_response_update", $defs: { - "access_allow_iframe": access_allow_iframe, "access_api-response-single": access_api$$response$$single, "access_app_settings_response": access_app_settings_response, "access_messages": access_messages, "access_single_response_update": access_single_response_update, - "access_skip_interstitial": access_skip_interstitial, }, }, annotations: { @@ -108,13 +105,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_allow_iframe": access_allow_iframe, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, "access_app_settings_response": access_app_settings_response, "access_messages": access_messages, "access_single_response_update": access_single_response_update, - "access_skip_interstitial": access_skip_interstitial, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts index 5ad3920b9..b8e17745b 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/outputs.ts @@ -3,38 +3,24 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `access_aud` in responses. - */ -export const access_aud: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_ca` in responses. */ export const access_ca: JsonSchema = { "properties": { "aud": { - "$ref": "#/$defs/access_aud" + "type": "string" }, "id": { - "$ref": "#/$defs/access_id-2" + "type": "string" }, "public_key": { - "$ref": "#/$defs/access_public_key" + "type": "string" } }, "type": "object" }; -/** - * The schema of `access_id-2` in responses. - */ -export const access_id$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_id_response-2` in responses. */ @@ -48,7 +34,7 @@ export const access_id_response$$2: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/access_id-2" + "type": "string" } }, "type": "object" @@ -59,13 +45,6 @@ export const access_id_response$$2: JsonSchema = { ] }; -/** - * The schema of `access_public_key` in responses. - */ -export const access_public_key: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_response_collection-5` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts index 85cd050ee..809ee6c9d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/shortLivedCertificates/tools.ts @@ -9,13 +9,9 @@ import { access_api$$response$$single, access_messages, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; import { - access_aud, access_ca, - access_id$$2, access_id_response$$2, - access_public_key, access_response_collection$$5, access_single_response$$6, } from "./outputs.js"; @@ -27,11 +23,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_shortLivedCertificates_create", title: "Create a short-lived certificate CA", - description: "Generates a new short-lived certificate CA and public key.", + description: "Generates a new short-lived certificate CA and public key.\n\nPOST /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}/ca", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -42,12 +39,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -61,20 +58,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-6", $defs: { "access_api-response-single": access_api$$response$$single, - "access_aud": access_aud, "access_ca": access_ca, - "access_id-2": access_id$$2, "access_messages": access_messages, - "access_public_key": access_public_key, "access_single_response-6": access_single_response$$6, }, }, @@ -104,11 +95,8 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_aud": access_aud, "access_ca": access_ca, - "access_id-2": access_id$$2, "access_messages": access_messages, - "access_public_key": access_public_key, "access_single_response-6": access_single_response$$6, }, }, @@ -119,11 +107,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_shortLivedCertificates_delete", title: "Delete a short-lived certificate CA", - description: "Deletes a short-lived certificate CA.", + description: "Deletes a short-lived certificate CA.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}/ca", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -134,12 +123,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -153,16 +142,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_id_response-2", $defs: { "access_api-response-single": access_api$$response$$single, - "access_id-2": access_id$$2, "access_id_response-2": access_id_response$$2, "access_messages": access_messages, }, @@ -193,7 +178,6 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_id-2": access_id$$2, "access_id_response-2": access_id_response$$2, "access_messages": access_messages, }, @@ -205,11 +189,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_shortLivedCertificates_get", title: "Get a short-lived certificate CA", - description: "Fetches a short-lived certificate CA and its public key.", + description: "Fetches a short-lived certificate CA and its public key.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}/ca", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -220,12 +205,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -239,20 +224,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-6", $defs: { "access_api-response-single": access_api$$response$$single, - "access_aud": access_aud, "access_ca": access_ca, - "access_id-2": access_id$$2, "access_messages": access_messages, - "access_public_key": access_public_key, "access_single_response-6": access_single_response$$6, }, }, @@ -283,11 +262,8 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_aud": access_aud, "access_ca": access_ca, - "access_id-2": access_id$$2, "access_messages": access_messages, - "access_public_key": access_public_key, "access_single_response-6": access_single_response$$6, }, }, @@ -298,11 +274,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_shortLivedCertificates_list", title: "List short-lived certificate CAs", - description: "Lists short-lived certificate CAs and their public keys.", + description: "Lists short-lived certificate CAs and their public keys.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/apps/ca", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -313,8 +290,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -324,6 +301,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -342,20 +320,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-5", $defs: { "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_aud": access_aud, "access_ca": access_ca, - "access_id-2": access_id$$2, "access_messages": access_messages, - "access_public_key": access_public_key, "access_response_collection-5": access_response_collection$$5, }, }, @@ -387,11 +360,8 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_aud": access_aud, "access_ca": access_ca, - "access_id-2": access_id$$2, "access_messages": access_messages, - "access_public_key": access_public_key, "access_response_collection-5": access_response_collection$$5, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts index 9e9f18a33..03368ddaf 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/tools.ts @@ -7,21 +7,9 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_created_at, access_id_response, - access_identifier, access_messages, - access_timestamp, - access_updated_at, - access_uuid, } from "../../outputs.js"; -import { - access_created_at as access_created_at$, - access_identifier as access_identifier$, - access_timestamp as access_timestamp$, - access_updated_at as access_updated_at$, - access_uuid as access_uuid$, -} from "../../schemas.js"; import { access_access_group_rule, access_allowed_clipboard_local_to_remote_formats, @@ -29,7 +17,6 @@ import { access_any_valid_service_token_rule, access_approval_group, access_approval_groups, - access_approval_required, access_auth_context_rule, access_authentication_method_rule, access_azure_group_rule, @@ -40,7 +27,6 @@ import { access_connection_rules, access_connection_rules_rdp, access_country_rule, - access_decision, access_device_posture_rule, access_domain_rule, access_email_list_rule, @@ -53,26 +39,18 @@ import { access_include$$2, access_ip_list_rule, access_ip_rule, - access_isolation_required, access_linked_app_token_rule, access_login_method_rule, access_mfa_config, - access_name$$9, access_oidc_claim_rule, access_okta_group_rule, - access_policy_resolution_account_id, access_policy_resp, - access_purpose_justification_prompt, - access_purpose_justification_required, - access_rdp_clipboard_format, access_require$$2, access_rule, access_saml_group_rule, access_service_token_rule, access_service_token_tag_rule, - access_session_duration$$3, access_user_risk_score_rule, - access_uuid$$2, } from "../outputs.js"; import { access_access_group_rule as access_access_group_rule$, @@ -81,7 +59,6 @@ import { access_any_valid_service_token_rule as access_any_valid_service_token_rule$, access_approval_group as access_approval_group$, access_approval_groups as access_approval_groups$, - access_approval_required as access_approval_required$, access_auth_context_rule as access_auth_context_rule$, access_authentication_method_rule as access_authentication_method_rule$, access_azure_group_rule as access_azure_group_rule$, @@ -92,7 +69,6 @@ import { access_connection_rules as access_connection_rules$, access_connection_rules_rdp as access_connection_rules_rdp$, access_country_rule as access_country_rule$, - access_decision as access_decision$, access_device_posture_rule as access_device_posture_rule$, access_domain_rule as access_domain_rule$, access_email_list_rule as access_email_list_rule$, @@ -105,68 +81,40 @@ import { access_include$$2 as access_include$$2$, access_ip_list_rule as access_ip_list_rule$, access_ip_rule as access_ip_rule$, - access_isolation_required as access_isolation_required$, access_linked_app_token_rule as access_linked_app_token_rule$, access_login_method_rule as access_login_method_rule$, access_mfa_config as access_mfa_config$, - access_name$$9 as access_name$$9$, access_oidc_claim_rule as access_oidc_claim_rule$, access_okta_group_rule as access_okta_group_rule$, access_policy_req, - access_policy_resolution_account_id as access_policy_resolution_account_id$, - access_purpose_justification_prompt as access_purpose_justification_prompt$, - access_purpose_justification_required as access_purpose_justification_required$, - access_rdp_clipboard_format as access_rdp_clipboard_format$, access_require$$2 as access_require$$2$, access_rule as access_rule$, access_saml_group_rule as access_saml_group_rule$, access_service_token_rule as access_service_token_rule$, access_service_token_tag_rule as access_service_token_tag_rule$, - access_session_duration$$3 as access_session_duration$$3$, access_user_risk_score_rule as access_user_risk_score_rule$, - access_uuid$$2 as access_uuid$$2$, } from "../schemas.js"; import { - access_allow_all_headers, - access_allow_all_methods, - access_allow_all_origins, - access_allow_authenticate_via_warp$$2, - access_allow_credentials, - access_allow_email_alias, - access_allow_iframe, access_allowed_headers, access_allowed_idps, access_allowed_methods, access_allowed_origins, - access_app_launcher_logo_url, access_app_launcher_props, - access_app_launcher_visible, access_app_policy_response, access_app_resp_embedded_policies, access_app_resp_embedded_target_criteria_infra, access_app_resp_embedded_target_criteria_self_hosted, access_app_response, - access_aud$$2, - access_auto_redirect_to_identity$$2, access_basic_app_response_props, - access_bg_color, access_biso_props, access_bookmark_props, - access_button_color, - access_button_text_color, access_connection_rules_infra, access_connection_rules_ssh, access_cors_headers, - access_custom_deny_message, - access_custom_deny_url, - access_custom_non_identity_deny_url, access_custom_pages$$2, access_destination_overrides, access_destinations, - access_domain, - access_eager_redirect_cookie_setting, access_empty_response$$2, - access_enable_binding_cookie, access_end_user_all_preview_workers_destination, access_end_user_all_workers_destination, access_end_user_destinations, @@ -177,34 +125,19 @@ import { access_end_user_worker_destination, access_feature_app_props, access_footer_links, - access_header_bg_color, - access_http_only_cookie_attribute, - access_image_url, access_infra_app_resp_embedded_policies, access_infra_mfa_config, access_infra_policy_resp, access_infra_props, access_landing_page_design, - access_logo_url, - access_max_age, access_mcp_portal_props, access_mcp_props, - access_message, - access_name$$8, access_oauth_configuration, access_oidc_saas_app, - access_options_preflight_bypass, - access_path_cookie_attribute, - access_port, - access_precedence, - access_protocol_infra_app, - access_protocol_self_hosted_app, access_proxy_endpoint_props, access_rdp_props, - access_read_service_tokens_from_header, access_response_collection$$8, access_saas_props, - access_same_site_cookie_attribute, access_saml_saas_app, access_scim_config, access_scim_config_authentication_access_service_token, @@ -216,11 +149,7 @@ import { access_scim_config_single_authentication, access_self_hosted_domains, access_self_hosted_props, - access_service_auth_401_redirect, - access_session_duration$$2, access_single_response$$9, - access_skip_app_launcher_login_page, - access_skip_interstitial, access_ssh_props, access_tags$$2, access_target_attributes, @@ -229,29 +158,16 @@ import { access_target_criteria_self_hosted_app, access_target_rule, access_target_rule_attributes, - access_title, - access_type, - access_use_clientless_isolation_app_launcher_url, access_usernames, access_vnc_props, access_warp_props, } from "./outputs.js"; import { - access_allow_all_headers as access_allow_all_headers$, - access_allow_all_methods as access_allow_all_methods$, - access_allow_all_origins as access_allow_all_origins$, - access_allow_authenticate_via_warp$$2 as access_allow_authenticate_via_warp$$2$, - access_allow_credentials as access_allow_credentials$, - access_allow_email_alias as access_allow_email_alias$, - access_allow_iframe as access_allow_iframe$, access_allowed_headers as access_allowed_headers$, access_allowed_idps as access_allowed_idps$, access_allowed_methods as access_allowed_methods$, access_allowed_origins as access_allowed_origins$, - access_app_id, - access_app_launcher_logo_url as access_app_launcher_logo_url$, access_app_launcher_props as access_app_launcher_props$, - access_app_launcher_visible as access_app_launcher_visible$, access_app_policy_link, access_app_policy_request, access_app_req_embedded_policies, @@ -259,24 +175,14 @@ import { access_app_request, access_app_resp_embedded_target_criteria_infra as access_app_resp_embedded_target_criteria_infra$, access_app_resp_embedded_target_criteria_self_hosted as access_app_resp_embedded_target_criteria_self_hosted$, - access_auto_redirect_to_identity$$2 as access_auto_redirect_to_identity$$2$, - access_bg_color as access_bg_color$, access_biso_props as access_biso_props$, access_bookmark_props as access_bookmark_props$, - access_button_color as access_button_color$, - access_button_text_color as access_button_text_color$, access_connection_rules_infra as access_connection_rules_infra$, access_connection_rules_ssh as access_connection_rules_ssh$, access_cors_headers as access_cors_headers$, - access_custom_deny_message as access_custom_deny_message$, - access_custom_deny_url as access_custom_deny_url$, - access_custom_non_identity_deny_url as access_custom_non_identity_deny_url$, access_custom_pages$$2 as access_custom_pages$$2$, access_destination_overrides as access_destination_overrides$, access_destinations as access_destinations$, - access_domain as access_domain$, - access_eager_redirect_cookie_setting as access_eager_redirect_cookie_setting$, - access_enable_binding_cookie as access_enable_binding_cookie$, access_end_user_all_preview_workers_destination as access_end_user_all_preview_workers_destination$, access_end_user_all_workers_destination as access_end_user_all_workers_destination$, access_end_user_destinations as access_end_user_destinations$, @@ -287,33 +193,18 @@ import { access_end_user_worker_destination as access_end_user_worker_destination$, access_feature_app_props as access_feature_app_props$, access_footer_links as access_footer_links$, - access_header_bg_color as access_header_bg_color$, - access_http_only_cookie_attribute as access_http_only_cookie_attribute$, - access_image_url as access_image_url$, access_infra_app_req_embedded_policies, access_infra_mfa_config as access_infra_mfa_config$, access_infra_policy_req, access_infra_props as access_infra_props$, access_landing_page_design as access_landing_page_design$, - access_logo_url as access_logo_url$, - access_max_age as access_max_age$, access_mcp_portal_props as access_mcp_portal_props$, access_mcp_props as access_mcp_props$, - access_message as access_message$, - access_name$$8 as access_name$$8$, access_oauth_configuration as access_oauth_configuration$, access_oidc_saas_app as access_oidc_saas_app$, - access_options_preflight_bypass as access_options_preflight_bypass$, - access_path_cookie_attribute as access_path_cookie_attribute$, - access_port as access_port$, - access_precedence as access_precedence$, - access_protocol_infra_app as access_protocol_infra_app$, - access_protocol_self_hosted_app as access_protocol_self_hosted_app$, access_proxy_endpoint_props as access_proxy_endpoint_props$, access_rdp_props as access_rdp_props$, - access_read_service_tokens_from_header as access_read_service_tokens_from_header$, access_saas_props as access_saas_props$, - access_same_site_cookie_attribute as access_same_site_cookie_attribute$, access_saml_saas_app as access_saml_saas_app$, access_scim_config as access_scim_config$, access_scim_config_authentication_access_service_token as access_scim_config_authentication_access_service_token$, @@ -325,10 +216,6 @@ import { access_scim_config_single_authentication as access_scim_config_single_authentication$, access_self_hosted_domains as access_self_hosted_domains$, access_self_hosted_props as access_self_hosted_props$, - access_service_auth_401_redirect as access_service_auth_401_redirect$, - access_session_duration$$2 as access_session_duration$$2$, - access_skip_app_launcher_login_page as access_skip_app_launcher_login_page$, - access_skip_interstitial as access_skip_interstitial$, access_ssh_props as access_ssh_props$, access_tags$$2 as access_tags$$2$, access_target_attributes as access_target_attributes$, @@ -337,9 +224,6 @@ import { access_target_criteria_self_hosted_app as access_target_criteria_self_hosted_app$, access_target_rule as access_target_rule$, access_target_rule_attributes as access_target_rule_attributes$, - access_title as access_title$, - access_type as access_type$, - access_use_clientless_isolation_app_launcher_url as access_use_clientless_isolation_app_launcher_url$, access_usernames as access_usernames$, access_vnc_props as access_vnc_props$, access_warp_props as access_warp_props$, @@ -352,7 +236,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_create", title: "Add an Access application", - description: "Adds a new application to Access.", + description: "Adds a new application to Access.\n\nPOST /{account_or_zone}/{account_or_zone_id}/access/apps", inputSchema: { type: "object", properties: { @@ -360,6 +244,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_app_request" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -370,8 +255,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -385,15 +270,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_access_group_rule": access_access_group_rule$, - "access_allow_all_headers": access_allow_all_headers$, - "access_allow_all_methods": access_allow_all_methods$, - "access_allow_all_origins": access_allow_all_origins$, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2$, - "access_allow_credentials": access_allow_credentials$, - "access_allow_email_alias": access_allow_email_alias$, - "access_allow_iframe": access_allow_iframe$, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats$, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats$, "access_allowed_headers": access_allowed_headers$, @@ -401,9 +280,7 @@ export const tools: readonly Tool[] = [ "access_allowed_methods": access_allowed_methods$, "access_allowed_origins": access_allowed_origins$, "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, - "access_app_launcher_logo_url": access_app_launcher_logo_url$, "access_app_launcher_props": access_app_launcher_props$, - "access_app_launcher_visible": access_app_launcher_visible$, "access_app_policy_link": access_app_policy_link, "access_app_policy_request": access_app_policy_request, "access_app_req_embedded_policies": access_app_req_embedded_policies, @@ -413,17 +290,12 @@ export const tools: readonly Tool[] = [ "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted$, "access_approval_group": access_approval_group$, "access_approval_groups": access_approval_groups$, - "access_approval_required": access_approval_required$, "access_auth_context_rule": access_auth_context_rule$, "access_authentication_method_rule": access_authentication_method_rule$, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2$, "access_azure_group_rule": access_azure_group_rule$, "access_base_policy_req": access_base_policy_req, - "access_bg_color": access_bg_color$, "access_biso_props": access_biso_props$, "access_bookmark_props": access_bookmark_props$, - "access_button_color": access_button_color$, - "access_button_text_color": access_button_text_color$, "access_certificate_rule": access_certificate_rule$, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule$, "access_common_name_rule": access_common_name_rule$, @@ -433,21 +305,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh$, "access_cors_headers": access_cors_headers$, "access_country_rule": access_country_rule$, - "access_created_at": access_created_at$, - "access_custom_deny_message": access_custom_deny_message$, - "access_custom_deny_url": access_custom_deny_url$, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url$, "access_custom_pages-2": access_custom_pages$$2$, - "access_decision": access_decision$, "access_destination_overrides": access_destination_overrides$, "access_destinations": access_destinations$, "access_device_posture_rule": access_device_posture_rule$, - "access_domain": access_domain$, "access_domain_rule": access_domain_rule$, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting$, "access_email_list_rule": access_email_list_rule$, "access_email_rule": access_email_rule$, - "access_enable_binding_cookie": access_enable_binding_cookie$, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination$, "access_end_user_all_workers_destination": access_end_user_all_workers_destination$, "access_end_user_destinations": access_end_user_destinations$, @@ -463,10 +327,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links$, "access_github_organization_rule": access_github_organization_rule$, "access_gsuite_group_rule": access_gsuite_group_rule$, - "access_header_bg_color": access_header_bg_color$, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute$, - "access_identifier": access_identifier$, - "access_image_url": access_image_url$, "access_include-2": access_include$$2$, "access_infra_app_req_embedded_policies": access_infra_app_req_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config$, @@ -474,40 +334,22 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props$, "access_ip_list_rule": access_ip_list_rule$, "access_ip_rule": access_ip_rule$, - "access_isolation_required": access_isolation_required$, "access_landing_page_design": access_landing_page_design$, "access_linked_app_token_rule": access_linked_app_token_rule$, "access_login_method_rule": access_login_method_rule$, - "access_logo_url": access_logo_url$, - "access_max_age": access_max_age$, "access_mcp_portal_props": access_mcp_portal_props$, "access_mcp_props": access_mcp_props$, - "access_message": access_message$, "access_mfa_config": access_mfa_config$, - "access_name-8": access_name$$8$, - "access_name-9": access_name$$9$, "access_oauth_configuration": access_oauth_configuration$, "access_oidc_claim_rule": access_oidc_claim_rule$, "access_oidc_saas_app": access_oidc_saas_app$, "access_okta_group_rule": access_okta_group_rule$, - "access_options_preflight_bypass": access_options_preflight_bypass$, - "access_path_cookie_attribute": access_path_cookie_attribute$, "access_policy_req": access_policy_req, - "access_policy_resolution_account_id": access_policy_resolution_account_id$, - "access_port": access_port$, - "access_precedence": access_precedence$, - "access_protocol_infra_app": access_protocol_infra_app$, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app$, "access_proxy_endpoint_props": access_proxy_endpoint_props$, - "access_purpose_justification_prompt": access_purpose_justification_prompt$, - "access_purpose_justification_required": access_purpose_justification_required$, - "access_rdp_clipboard_format": access_rdp_clipboard_format$, "access_rdp_props": access_rdp_props$, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header$, "access_require-2": access_require$$2$, "access_rule": access_rule$, "access_saas_props": access_saas_props$, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute$, "access_saml_group_rule": access_saml_group_rule$, "access_saml_saas_app": access_saml_saas_app$, "access_scim_config": access_scim_config$, @@ -520,13 +362,8 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication$, "access_self_hosted_domains": access_self_hosted_domains$, "access_self_hosted_props": access_self_hosted_props$, - "access_service_auth_401_redirect": access_service_auth_401_redirect$, "access_service_token_rule": access_service_token_rule$, "access_service_token_tag_rule": access_service_token_tag_rule$, - "access_session_duration-2": access_session_duration$$2$, - "access_session_duration-3": access_session_duration$$3$, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page$, - "access_skip_interstitial": access_skip_interstitial$, "access_ssh_props": access_ssh_props$, "access_tags-2": access_tags$$2$, "access_target_attributes": access_target_attributes$, @@ -535,15 +372,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app$, "access_target_rule": access_target_rule$, "access_target_rule_attributes": access_target_rule_attributes$, - "access_timestamp": access_timestamp$, - "access_title": access_title$, - "access_type": access_type$, - "access_updated_at": access_updated_at$, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url$, "access_user_risk_score_rule": access_user_risk_score_rule$, "access_usernames": access_usernames$, - "access_uuid": access_uuid$, - "access_uuid-2": access_uuid$$2$, "access_vnc_props": access_vnc_props$, "access_warp_props": access_warp_props$, }, @@ -564,13 +394,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_all_headers": access_allow_all_headers, - "access_allow_all_methods": access_allow_all_methods, - "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, - "access_allow_credentials": access_allow_credentials, - "access_allow_email_alias": access_allow_email_alias, - "access_allow_iframe": access_allow_iframe, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_allowed_headers": access_allowed_headers, @@ -579,9 +402,7 @@ export const tools: readonly Tool[] = [ "access_allowed_origins": access_allowed_origins, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-single": access_api$$response$$single, - "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, - "access_app_launcher_visible": access_app_launcher_visible, "access_app_policy_response": access_app_policy_response, "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, @@ -589,19 +410,13 @@ export const tools: readonly Tool[] = [ "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, - "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, "access_base_policy_resp": access_base_policy_resp, "access_basic_app_response_props": access_basic_app_response_props, - "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, - "access_button_color": access_button_color, - "access_button_text_color": access_button_text_color, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -611,21 +426,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh, "access_cors_headers": access_cors_headers, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, - "access_custom_deny_message": access_custom_deny_message, - "access_custom_deny_url": access_custom_deny_url, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, "access_custom_pages-2": access_custom_pages$$2, - "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, "access_device_posture_rule": access_device_posture_rule, - "access_domain": access_domain, "access_domain_rule": access_domain_rule, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, - "access_enable_binding_cookie": access_enable_binding_cookie, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, "access_end_user_all_workers_destination": access_end_user_all_workers_destination, "access_end_user_destinations": access_end_user_destinations, @@ -641,10 +448,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_header_bg_color": access_header_bg_color, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute, - "access_identifier": access_identifier, - "access_image_url": access_image_url, "access_include-2": access_include$$2, "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, @@ -652,41 +455,23 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_landing_page_design": access_landing_page_design, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_logo_url": access_logo_url, - "access_max_age": access_max_age, "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, - "access_message": access_message, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name$$8, - "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, - "access_options_preflight_bypass": access_options_preflight_bypass, - "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_port": access_port, - "access_precedence": access_precedence, - "access_protocol_infra_app": access_protocol_infra_app, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app, "access_proxy_endpoint_props": access_proxy_endpoint_props, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header, "access_require-2": access_require$$2, "access_rule": access_rule, "access_saas_props": access_saas_props, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute, "access_saml_group_rule": access_saml_group_rule, "access_saml_saas_app": access_saml_saas_app, "access_scim_config": access_scim_config, @@ -699,14 +484,9 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication, "access_self_hosted_domains": access_self_hosted_domains, "access_self_hosted_props": access_self_hosted_props, - "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration$$2, - "access_session_duration-3": access_session_duration$$3, "access_single_response-9": access_single_response$$9, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, - "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, @@ -715,15 +495,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, "access_target_rule": access_target_rule, "access_target_rule_attributes": access_target_rule_attributes, - "access_timestamp": access_timestamp, - "access_title": access_title, - "access_type": access_type, - "access_updated_at": access_updated_at, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid": access_uuid, - "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, @@ -766,13 +539,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_all_headers": access_allow_all_headers, - "access_allow_all_methods": access_allow_all_methods, - "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, - "access_allow_credentials": access_allow_credentials, - "access_allow_email_alias": access_allow_email_alias, - "access_allow_iframe": access_allow_iframe, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_allowed_headers": access_allowed_headers, @@ -782,9 +548,7 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, - "access_app_launcher_visible": access_app_launcher_visible, "access_app_policy_response": access_app_policy_response, "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, @@ -792,19 +556,13 @@ export const tools: readonly Tool[] = [ "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, - "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, "access_base_policy_resp": access_base_policy_resp, "access_basic_app_response_props": access_basic_app_response_props, - "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, - "access_button_color": access_button_color, - "access_button_text_color": access_button_text_color, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -814,21 +572,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh, "access_cors_headers": access_cors_headers, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, - "access_custom_deny_message": access_custom_deny_message, - "access_custom_deny_url": access_custom_deny_url, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, "access_custom_pages-2": access_custom_pages$$2, - "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, "access_device_posture_rule": access_device_posture_rule, - "access_domain": access_domain, "access_domain_rule": access_domain_rule, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, - "access_enable_binding_cookie": access_enable_binding_cookie, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, "access_end_user_all_workers_destination": access_end_user_all_workers_destination, "access_end_user_destinations": access_end_user_destinations, @@ -844,10 +594,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_header_bg_color": access_header_bg_color, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute, - "access_identifier": access_identifier, - "access_image_url": access_image_url, "access_include-2": access_include$$2, "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, @@ -855,41 +601,23 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_landing_page_design": access_landing_page_design, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_logo_url": access_logo_url, - "access_max_age": access_max_age, "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, - "access_message": access_message, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name$$8, - "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, - "access_options_preflight_bypass": access_options_preflight_bypass, - "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_port": access_port, - "access_precedence": access_precedence, - "access_protocol_infra_app": access_protocol_infra_app, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app, "access_proxy_endpoint_props": access_proxy_endpoint_props, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header, "access_require-2": access_require$$2, "access_rule": access_rule, "access_saas_props": access_saas_props, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute, "access_saml_group_rule": access_saml_group_rule, "access_saml_saas_app": access_saml_saas_app, "access_scim_config": access_scim_config, @@ -902,14 +630,9 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication, "access_self_hosted_domains": access_self_hosted_domains, "access_self_hosted_props": access_self_hosted_props, - "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration$$2, - "access_session_duration-3": access_session_duration$$3, "access_single_response-9": access_single_response$$9, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, - "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, @@ -918,15 +641,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, "access_target_rule": access_target_rule, "access_target_rule_attributes": access_target_rule_attributes, - "access_timestamp": access_timestamp, - "access_title": access_title, - "access_type": access_type, - "access_updated_at": access_updated_at, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid": access_uuid, - "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, @@ -939,11 +655,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_delete", title: "Delete an Access application", - description: "Deletes an application from Access.", + description: "Deletes an application from Access.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -954,11 +671,20 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_app_id" + "oneOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] } }, "required": [ @@ -972,11 +698,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_app_id": access_app_id, - "access_identifier": access_identifier$, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_id_response", @@ -984,7 +706,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, annotations: { @@ -1015,7 +736,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -1025,11 +745,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_get", title: "Get an Access application", - description: "Fetches information about an Access application.", + description: "Fetches information about an Access application.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -1040,11 +761,20 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_app_id" + "oneOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] } }, "required": [ @@ -1058,23 +788,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_app_id": access_app_id, - "access_identifier": access_identifier$, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-9", $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_all_headers": access_allow_all_headers, - "access_allow_all_methods": access_allow_all_methods, - "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, - "access_allow_credentials": access_allow_credentials, - "access_allow_email_alias": access_allow_email_alias, - "access_allow_iframe": access_allow_iframe, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_allowed_headers": access_allowed_headers, @@ -1083,9 +802,7 @@ export const tools: readonly Tool[] = [ "access_allowed_origins": access_allowed_origins, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-single": access_api$$response$$single, - "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, - "access_app_launcher_visible": access_app_launcher_visible, "access_app_policy_response": access_app_policy_response, "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, @@ -1093,19 +810,13 @@ export const tools: readonly Tool[] = [ "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, - "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, "access_base_policy_resp": access_base_policy_resp, "access_basic_app_response_props": access_basic_app_response_props, - "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, - "access_button_color": access_button_color, - "access_button_text_color": access_button_text_color, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -1115,21 +826,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh, "access_cors_headers": access_cors_headers, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, - "access_custom_deny_message": access_custom_deny_message, - "access_custom_deny_url": access_custom_deny_url, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, "access_custom_pages-2": access_custom_pages$$2, - "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, "access_device_posture_rule": access_device_posture_rule, - "access_domain": access_domain, "access_domain_rule": access_domain_rule, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, - "access_enable_binding_cookie": access_enable_binding_cookie, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, "access_end_user_all_workers_destination": access_end_user_all_workers_destination, "access_end_user_destinations": access_end_user_destinations, @@ -1145,10 +848,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_header_bg_color": access_header_bg_color, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute, - "access_identifier": access_identifier, - "access_image_url": access_image_url, "access_include-2": access_include$$2, "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, @@ -1156,41 +855,23 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_landing_page_design": access_landing_page_design, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_logo_url": access_logo_url, - "access_max_age": access_max_age, "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, - "access_message": access_message, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name$$8, - "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, - "access_options_preflight_bypass": access_options_preflight_bypass, - "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_port": access_port, - "access_precedence": access_precedence, - "access_protocol_infra_app": access_protocol_infra_app, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app, "access_proxy_endpoint_props": access_proxy_endpoint_props, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header, "access_require-2": access_require$$2, "access_rule": access_rule, "access_saas_props": access_saas_props, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute, "access_saml_group_rule": access_saml_group_rule, "access_saml_saas_app": access_saml_saas_app, "access_scim_config": access_scim_config, @@ -1203,14 +884,9 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication, "access_self_hosted_domains": access_self_hosted_domains, "access_self_hosted_props": access_self_hosted_props, - "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration$$2, - "access_session_duration-3": access_session_duration$$3, "access_single_response-9": access_single_response$$9, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, - "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, @@ -1219,15 +895,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, "access_target_rule": access_target_rule, "access_target_rule_attributes": access_target_rule_attributes, - "access_timestamp": access_timestamp, - "access_title": access_title, - "access_type": access_type, - "access_updated_at": access_updated_at, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid": access_uuid, - "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, @@ -1259,13 +928,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_all_headers": access_allow_all_headers, - "access_allow_all_methods": access_allow_all_methods, - "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, - "access_allow_credentials": access_allow_credentials, - "access_allow_email_alias": access_allow_email_alias, - "access_allow_iframe": access_allow_iframe, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_allowed_headers": access_allowed_headers, @@ -1275,9 +937,7 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, - "access_app_launcher_visible": access_app_launcher_visible, "access_app_policy_response": access_app_policy_response, "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, @@ -1285,19 +945,13 @@ export const tools: readonly Tool[] = [ "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, - "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, "access_base_policy_resp": access_base_policy_resp, "access_basic_app_response_props": access_basic_app_response_props, - "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, - "access_button_color": access_button_color, - "access_button_text_color": access_button_text_color, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -1307,21 +961,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh, "access_cors_headers": access_cors_headers, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, - "access_custom_deny_message": access_custom_deny_message, - "access_custom_deny_url": access_custom_deny_url, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, "access_custom_pages-2": access_custom_pages$$2, - "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, "access_device_posture_rule": access_device_posture_rule, - "access_domain": access_domain, "access_domain_rule": access_domain_rule, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, - "access_enable_binding_cookie": access_enable_binding_cookie, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, "access_end_user_all_workers_destination": access_end_user_all_workers_destination, "access_end_user_destinations": access_end_user_destinations, @@ -1337,10 +983,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_header_bg_color": access_header_bg_color, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute, - "access_identifier": access_identifier, - "access_image_url": access_image_url, "access_include-2": access_include$$2, "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, @@ -1348,41 +990,23 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_landing_page_design": access_landing_page_design, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_logo_url": access_logo_url, - "access_max_age": access_max_age, "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, - "access_message": access_message, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name$$8, - "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, - "access_options_preflight_bypass": access_options_preflight_bypass, - "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_port": access_port, - "access_precedence": access_precedence, - "access_protocol_infra_app": access_protocol_infra_app, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app, "access_proxy_endpoint_props": access_proxy_endpoint_props, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header, "access_require-2": access_require$$2, "access_rule": access_rule, "access_saas_props": access_saas_props, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute, "access_saml_group_rule": access_saml_group_rule, "access_saml_saas_app": access_saml_saas_app, "access_scim_config": access_scim_config, @@ -1395,14 +1019,9 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication, "access_self_hosted_domains": access_self_hosted_domains, "access_self_hosted_props": access_self_hosted_props, - "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration$$2, - "access_session_duration-3": access_session_duration$$3, "access_single_response-9": access_single_response$$9, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, - "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, @@ -1411,15 +1030,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, "access_target_rule": access_target_rule, "access_target_rule_attributes": access_target_rule_attributes, - "access_timestamp": access_timestamp, - "access_title": access_title, - "access_type": access_type, - "access_updated_at": access_updated_at, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid": access_uuid, - "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, @@ -1431,11 +1043,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_list", title: "List Access applications", - description: "Lists all Access applications in an account or zone.", + description: "Lists all Access applications in an account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/apps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -1446,8 +1059,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -1457,6 +1070,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "aud": { "description": "The aud of the app.", @@ -1499,21 +1113,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-8", $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_all_headers": access_allow_all_headers, - "access_allow_all_methods": access_allow_all_methods, - "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, - "access_allow_credentials": access_allow_credentials, - "access_allow_email_alias": access_allow_email_alias, - "access_allow_iframe": access_allow_iframe, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_allowed_headers": access_allowed_headers, @@ -1523,9 +1128,7 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, - "access_app_launcher_visible": access_app_launcher_visible, "access_app_policy_response": access_app_policy_response, "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, @@ -1533,19 +1136,13 @@ export const tools: readonly Tool[] = [ "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, - "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, "access_base_policy_resp": access_base_policy_resp, "access_basic_app_response_props": access_basic_app_response_props, - "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, - "access_button_color": access_button_color, - "access_button_text_color": access_button_text_color, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -1555,21 +1152,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh, "access_cors_headers": access_cors_headers, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, - "access_custom_deny_message": access_custom_deny_message, - "access_custom_deny_url": access_custom_deny_url, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, "access_custom_pages-2": access_custom_pages$$2, - "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, "access_device_posture_rule": access_device_posture_rule, - "access_domain": access_domain, "access_domain_rule": access_domain_rule, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, - "access_enable_binding_cookie": access_enable_binding_cookie, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, "access_end_user_all_workers_destination": access_end_user_all_workers_destination, "access_end_user_destinations": access_end_user_destinations, @@ -1585,10 +1174,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_header_bg_color": access_header_bg_color, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute, - "access_identifier": access_identifier, - "access_image_url": access_image_url, "access_include-2": access_include$$2, "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, @@ -1596,42 +1181,24 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_landing_page_design": access_landing_page_design, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_logo_url": access_logo_url, - "access_max_age": access_max_age, "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, - "access_message": access_message, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name$$8, - "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, - "access_options_preflight_bypass": access_options_preflight_bypass, - "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_port": access_port, - "access_precedence": access_precedence, - "access_protocol_infra_app": access_protocol_infra_app, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app, "access_proxy_endpoint_props": access_proxy_endpoint_props, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header, "access_require-2": access_require$$2, "access_response_collection-8": access_response_collection$$8, "access_rule": access_rule, "access_saas_props": access_saas_props, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute, "access_saml_group_rule": access_saml_group_rule, "access_saml_saas_app": access_saml_saas_app, "access_scim_config": access_scim_config, @@ -1644,13 +1211,8 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication, "access_self_hosted_domains": access_self_hosted_domains, "access_self_hosted_props": access_self_hosted_props, - "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration$$2, - "access_session_duration-3": access_session_duration$$3, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, - "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, @@ -1659,15 +1221,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, "access_target_rule": access_target_rule, "access_target_rule_attributes": access_target_rule_attributes, - "access_timestamp": access_timestamp, - "access_title": access_title, - "access_type": access_type, - "access_updated_at": access_updated_at, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid": access_uuid, - "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, @@ -1700,13 +1255,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_all_headers": access_allow_all_headers, - "access_allow_all_methods": access_allow_all_methods, - "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, - "access_allow_credentials": access_allow_credentials, - "access_allow_email_alias": access_allow_email_alias, - "access_allow_iframe": access_allow_iframe, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_allowed_headers": access_allowed_headers, @@ -1717,9 +1265,7 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, - "access_app_launcher_visible": access_app_launcher_visible, "access_app_policy_response": access_app_policy_response, "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, @@ -1727,19 +1273,13 @@ export const tools: readonly Tool[] = [ "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, - "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, "access_base_policy_resp": access_base_policy_resp, "access_basic_app_response_props": access_basic_app_response_props, - "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, - "access_button_color": access_button_color, - "access_button_text_color": access_button_text_color, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -1749,21 +1289,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh, "access_cors_headers": access_cors_headers, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, - "access_custom_deny_message": access_custom_deny_message, - "access_custom_deny_url": access_custom_deny_url, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, "access_custom_pages-2": access_custom_pages$$2, - "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, "access_device_posture_rule": access_device_posture_rule, - "access_domain": access_domain, "access_domain_rule": access_domain_rule, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, - "access_enable_binding_cookie": access_enable_binding_cookie, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, "access_end_user_all_workers_destination": access_end_user_all_workers_destination, "access_end_user_destinations": access_end_user_destinations, @@ -1779,10 +1311,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_header_bg_color": access_header_bg_color, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute, - "access_identifier": access_identifier, - "access_image_url": access_image_url, "access_include-2": access_include$$2, "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, @@ -1790,42 +1318,24 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_landing_page_design": access_landing_page_design, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_logo_url": access_logo_url, - "access_max_age": access_max_age, "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, - "access_message": access_message, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name$$8, - "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, - "access_options_preflight_bypass": access_options_preflight_bypass, - "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_port": access_port, - "access_precedence": access_precedence, - "access_protocol_infra_app": access_protocol_infra_app, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app, "access_proxy_endpoint_props": access_proxy_endpoint_props, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header, "access_require-2": access_require$$2, "access_response_collection-8": access_response_collection$$8, "access_rule": access_rule, "access_saas_props": access_saas_props, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute, "access_saml_group_rule": access_saml_group_rule, "access_saml_saas_app": access_saml_saas_app, "access_scim_config": access_scim_config, @@ -1838,13 +1348,8 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication, "access_self_hosted_domains": access_self_hosted_domains, "access_self_hosted_props": access_self_hosted_props, - "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration$$2, - "access_session_duration-3": access_session_duration$$3, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, - "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, @@ -1853,15 +1358,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, "access_target_rule": access_target_rule, "access_target_rule_attributes": access_target_rule_attributes, - "access_timestamp": access_timestamp, - "access_title": access_title, - "access_type": access_type, - "access_updated_at": access_updated_at, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid": access_uuid, - "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, @@ -1883,11 +1381,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_revokeTokens", title: "Revoke application tokens", - description: "Revokes all tokens issued for an application.\n\nConfirm with the user before calling this tool. This operation invalidates every service token for the app.", + description: "Revokes all tokens issued for an application.\n\nConfirm with the user before calling this tool. This operation invalidates every service token for the app.\n\nPOST /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}/revoke_tokens", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -1898,11 +1397,20 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_app_id" + "oneOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] } }, "required": [ @@ -1916,11 +1424,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_app_id": access_app_id, - "access_identifier": access_identifier$, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_empty_response-2", @@ -1965,7 +1469,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_update", title: "Update an Access application", - description: "Updates an Access application.", + description: "Updates an Access application.\n\nPUT /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}", inputSchema: { type: "object", properties: { @@ -1973,6 +1477,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_app_request" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -1983,11 +1488,20 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_app_id" + "oneOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] } }, "required": [ @@ -2002,15 +1516,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_access_group_rule": access_access_group_rule$, - "access_allow_all_headers": access_allow_all_headers$, - "access_allow_all_methods": access_allow_all_methods$, - "access_allow_all_origins": access_allow_all_origins$, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2$, - "access_allow_credentials": access_allow_credentials$, - "access_allow_email_alias": access_allow_email_alias$, - "access_allow_iframe": access_allow_iframe$, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats$, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats$, "access_allowed_headers": access_allowed_headers$, @@ -2018,10 +1526,7 @@ export const tools: readonly Tool[] = [ "access_allowed_methods": access_allowed_methods$, "access_allowed_origins": access_allowed_origins$, "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, - "access_app_id": access_app_id, - "access_app_launcher_logo_url": access_app_launcher_logo_url$, "access_app_launcher_props": access_app_launcher_props$, - "access_app_launcher_visible": access_app_launcher_visible$, "access_app_policy_link": access_app_policy_link, "access_app_policy_request": access_app_policy_request, "access_app_req_embedded_policies": access_app_req_embedded_policies, @@ -2031,17 +1536,12 @@ export const tools: readonly Tool[] = [ "access_app_resp_embedded_target_criteria_self_hosted": access_app_resp_embedded_target_criteria_self_hosted$, "access_approval_group": access_approval_group$, "access_approval_groups": access_approval_groups$, - "access_approval_required": access_approval_required$, "access_auth_context_rule": access_auth_context_rule$, "access_authentication_method_rule": access_authentication_method_rule$, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2$, "access_azure_group_rule": access_azure_group_rule$, "access_base_policy_req": access_base_policy_req, - "access_bg_color": access_bg_color$, "access_biso_props": access_biso_props$, "access_bookmark_props": access_bookmark_props$, - "access_button_color": access_button_color$, - "access_button_text_color": access_button_text_color$, "access_certificate_rule": access_certificate_rule$, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule$, "access_common_name_rule": access_common_name_rule$, @@ -2051,21 +1551,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh$, "access_cors_headers": access_cors_headers$, "access_country_rule": access_country_rule$, - "access_created_at": access_created_at$, - "access_custom_deny_message": access_custom_deny_message$, - "access_custom_deny_url": access_custom_deny_url$, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url$, "access_custom_pages-2": access_custom_pages$$2$, - "access_decision": access_decision$, "access_destination_overrides": access_destination_overrides$, "access_destinations": access_destinations$, "access_device_posture_rule": access_device_posture_rule$, - "access_domain": access_domain$, "access_domain_rule": access_domain_rule$, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting$, "access_email_list_rule": access_email_list_rule$, "access_email_rule": access_email_rule$, - "access_enable_binding_cookie": access_enable_binding_cookie$, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination$, "access_end_user_all_workers_destination": access_end_user_all_workers_destination$, "access_end_user_destinations": access_end_user_destinations$, @@ -2081,10 +1573,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links$, "access_github_organization_rule": access_github_organization_rule$, "access_gsuite_group_rule": access_gsuite_group_rule$, - "access_header_bg_color": access_header_bg_color$, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute$, - "access_identifier": access_identifier$, - "access_image_url": access_image_url$, "access_include-2": access_include$$2$, "access_infra_app_req_embedded_policies": access_infra_app_req_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config$, @@ -2092,40 +1580,22 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props$, "access_ip_list_rule": access_ip_list_rule$, "access_ip_rule": access_ip_rule$, - "access_isolation_required": access_isolation_required$, "access_landing_page_design": access_landing_page_design$, "access_linked_app_token_rule": access_linked_app_token_rule$, "access_login_method_rule": access_login_method_rule$, - "access_logo_url": access_logo_url$, - "access_max_age": access_max_age$, "access_mcp_portal_props": access_mcp_portal_props$, "access_mcp_props": access_mcp_props$, - "access_message": access_message$, "access_mfa_config": access_mfa_config$, - "access_name-8": access_name$$8$, - "access_name-9": access_name$$9$, "access_oauth_configuration": access_oauth_configuration$, "access_oidc_claim_rule": access_oidc_claim_rule$, "access_oidc_saas_app": access_oidc_saas_app$, "access_okta_group_rule": access_okta_group_rule$, - "access_options_preflight_bypass": access_options_preflight_bypass$, - "access_path_cookie_attribute": access_path_cookie_attribute$, "access_policy_req": access_policy_req, - "access_policy_resolution_account_id": access_policy_resolution_account_id$, - "access_port": access_port$, - "access_precedence": access_precedence$, - "access_protocol_infra_app": access_protocol_infra_app$, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app$, "access_proxy_endpoint_props": access_proxy_endpoint_props$, - "access_purpose_justification_prompt": access_purpose_justification_prompt$, - "access_purpose_justification_required": access_purpose_justification_required$, - "access_rdp_clipboard_format": access_rdp_clipboard_format$, "access_rdp_props": access_rdp_props$, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header$, "access_require-2": access_require$$2$, "access_rule": access_rule$, "access_saas_props": access_saas_props$, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute$, "access_saml_group_rule": access_saml_group_rule$, "access_saml_saas_app": access_saml_saas_app$, "access_scim_config": access_scim_config$, @@ -2138,13 +1608,8 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication$, "access_self_hosted_domains": access_self_hosted_domains$, "access_self_hosted_props": access_self_hosted_props$, - "access_service_auth_401_redirect": access_service_auth_401_redirect$, "access_service_token_rule": access_service_token_rule$, "access_service_token_tag_rule": access_service_token_tag_rule$, - "access_session_duration-2": access_session_duration$$2$, - "access_session_duration-3": access_session_duration$$3$, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page$, - "access_skip_interstitial": access_skip_interstitial$, "access_ssh_props": access_ssh_props$, "access_tags-2": access_tags$$2$, "access_target_attributes": access_target_attributes$, @@ -2153,15 +1618,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app$, "access_target_rule": access_target_rule$, "access_target_rule_attributes": access_target_rule_attributes$, - "access_timestamp": access_timestamp$, - "access_title": access_title$, - "access_type": access_type$, - "access_updated_at": access_updated_at$, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url$, "access_user_risk_score_rule": access_user_risk_score_rule$, "access_usernames": access_usernames$, - "access_uuid": access_uuid$, - "access_uuid-2": access_uuid$$2$, "access_vnc_props": access_vnc_props$, "access_warp_props": access_warp_props$, }, @@ -2182,13 +1640,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_all_headers": access_allow_all_headers, - "access_allow_all_methods": access_allow_all_methods, - "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, - "access_allow_credentials": access_allow_credentials, - "access_allow_email_alias": access_allow_email_alias, - "access_allow_iframe": access_allow_iframe, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_allowed_headers": access_allowed_headers, @@ -2197,9 +1648,7 @@ export const tools: readonly Tool[] = [ "access_allowed_origins": access_allowed_origins, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-single": access_api$$response$$single, - "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, - "access_app_launcher_visible": access_app_launcher_visible, "access_app_policy_response": access_app_policy_response, "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, @@ -2207,19 +1656,13 @@ export const tools: readonly Tool[] = [ "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, - "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, "access_base_policy_resp": access_base_policy_resp, "access_basic_app_response_props": access_basic_app_response_props, - "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, - "access_button_color": access_button_color, - "access_button_text_color": access_button_text_color, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -2229,21 +1672,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh, "access_cors_headers": access_cors_headers, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, - "access_custom_deny_message": access_custom_deny_message, - "access_custom_deny_url": access_custom_deny_url, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, "access_custom_pages-2": access_custom_pages$$2, - "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, "access_device_posture_rule": access_device_posture_rule, - "access_domain": access_domain, "access_domain_rule": access_domain_rule, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, - "access_enable_binding_cookie": access_enable_binding_cookie, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, "access_end_user_all_workers_destination": access_end_user_all_workers_destination, "access_end_user_destinations": access_end_user_destinations, @@ -2259,10 +1694,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_header_bg_color": access_header_bg_color, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute, - "access_identifier": access_identifier, - "access_image_url": access_image_url, "access_include-2": access_include$$2, "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, @@ -2270,41 +1701,23 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_landing_page_design": access_landing_page_design, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_logo_url": access_logo_url, - "access_max_age": access_max_age, "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, - "access_message": access_message, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name$$8, - "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, - "access_options_preflight_bypass": access_options_preflight_bypass, - "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_port": access_port, - "access_precedence": access_precedence, - "access_protocol_infra_app": access_protocol_infra_app, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app, "access_proxy_endpoint_props": access_proxy_endpoint_props, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header, "access_require-2": access_require$$2, "access_rule": access_rule, "access_saas_props": access_saas_props, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute, "access_saml_group_rule": access_saml_group_rule, "access_saml_saas_app": access_saml_saas_app, "access_scim_config": access_scim_config, @@ -2317,14 +1730,9 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication, "access_self_hosted_domains": access_self_hosted_domains, "access_self_hosted_props": access_self_hosted_props, - "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration$$2, - "access_session_duration-3": access_session_duration$$3, "access_single_response-9": access_single_response$$9, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, - "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, @@ -2333,15 +1741,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, "access_target_rule": access_target_rule, "access_target_rule_attributes": access_target_rule_attributes, - "access_timestamp": access_timestamp, - "access_title": access_title, - "access_type": access_type, - "access_updated_at": access_updated_at, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid": access_uuid, - "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, @@ -2384,13 +1785,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "access_access_group_rule": access_access_group_rule, - "access_allow_all_headers": access_allow_all_headers, - "access_allow_all_methods": access_allow_all_methods, - "access_allow_all_origins": access_allow_all_origins, - "access_allow_authenticate_via_warp-2": access_allow_authenticate_via_warp$$2, - "access_allow_credentials": access_allow_credentials, - "access_allow_email_alias": access_allow_email_alias, - "access_allow_iframe": access_allow_iframe, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats, "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_allowed_headers": access_allowed_headers, @@ -2400,9 +1794,7 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_app_launcher_logo_url": access_app_launcher_logo_url, "access_app_launcher_props": access_app_launcher_props, - "access_app_launcher_visible": access_app_launcher_visible, "access_app_policy_response": access_app_policy_response, "access_app_resp_embedded_policies": access_app_resp_embedded_policies, "access_app_resp_embedded_target_criteria_infra": access_app_resp_embedded_target_criteria_infra, @@ -2410,19 +1802,13 @@ export const tools: readonly Tool[] = [ "access_app_response": access_app_response, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, - "access_aud-2": access_aud$$2, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, - "access_auto_redirect_to_identity-2": access_auto_redirect_to_identity$$2, "access_azure_group_rule": access_azure_group_rule, "access_base_policy_resp": access_base_policy_resp, "access_basic_app_response_props": access_basic_app_response_props, - "access_bg_color": access_bg_color, "access_biso_props": access_biso_props, "access_bookmark_props": access_bookmark_props, - "access_button_color": access_button_color, - "access_button_text_color": access_button_text_color, "access_certificate_rule": access_certificate_rule, "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, @@ -2432,21 +1818,13 @@ export const tools: readonly Tool[] = [ "access_connection_rules_ssh": access_connection_rules_ssh, "access_cors_headers": access_cors_headers, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, - "access_custom_deny_message": access_custom_deny_message, - "access_custom_deny_url": access_custom_deny_url, - "access_custom_non_identity_deny_url": access_custom_non_identity_deny_url, "access_custom_pages-2": access_custom_pages$$2, - "access_decision": access_decision, "access_destination_overrides": access_destination_overrides, "access_destinations": access_destinations, "access_device_posture_rule": access_device_posture_rule, - "access_domain": access_domain, "access_domain_rule": access_domain_rule, - "access_eager_redirect_cookie_setting": access_eager_redirect_cookie_setting, "access_email_list_rule": access_email_list_rule, "access_email_rule": access_email_rule, - "access_enable_binding_cookie": access_enable_binding_cookie, "access_end_user_all_preview_workers_destination": access_end_user_all_preview_workers_destination, "access_end_user_all_workers_destination": access_end_user_all_workers_destination, "access_end_user_destinations": access_end_user_destinations, @@ -2462,10 +1840,6 @@ export const tools: readonly Tool[] = [ "access_footer_links": access_footer_links, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_header_bg_color": access_header_bg_color, - "access_http_only_cookie_attribute": access_http_only_cookie_attribute, - "access_identifier": access_identifier, - "access_image_url": access_image_url, "access_include-2": access_include$$2, "access_infra_app_resp_embedded_policies": access_infra_app_resp_embedded_policies, "access_infra_mfa_config": access_infra_mfa_config, @@ -2473,41 +1847,23 @@ export const tools: readonly Tool[] = [ "access_infra_props": access_infra_props, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_landing_page_design": access_landing_page_design, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, - "access_logo_url": access_logo_url, - "access_max_age": access_max_age, "access_mcp_portal_props": access_mcp_portal_props, "access_mcp_props": access_mcp_props, - "access_message": access_message, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-8": access_name$$8, - "access_name-9": access_name$$9, "access_oauth_configuration": access_oauth_configuration, "access_oidc_claim_rule": access_oidc_claim_rule, "access_oidc_saas_app": access_oidc_saas_app, "access_okta_group_rule": access_okta_group_rule, - "access_options_preflight_bypass": access_options_preflight_bypass, - "access_path_cookie_attribute": access_path_cookie_attribute, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_port": access_port, - "access_precedence": access_precedence, - "access_protocol_infra_app": access_protocol_infra_app, - "access_protocol_self_hosted_app": access_protocol_self_hosted_app, "access_proxy_endpoint_props": access_proxy_endpoint_props, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_rdp_props": access_rdp_props, - "access_read_service_tokens_from_header": access_read_service_tokens_from_header, "access_require-2": access_require$$2, "access_rule": access_rule, "access_saas_props": access_saas_props, - "access_same_site_cookie_attribute": access_same_site_cookie_attribute, "access_saml_group_rule": access_saml_group_rule, "access_saml_saas_app": access_saml_saas_app, "access_scim_config": access_scim_config, @@ -2520,14 +1876,9 @@ export const tools: readonly Tool[] = [ "access_scim_config_single_authentication": access_scim_config_single_authentication, "access_self_hosted_domains": access_self_hosted_domains, "access_self_hosted_props": access_self_hosted_props, - "access_service_auth_401_redirect": access_service_auth_401_redirect, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-2": access_session_duration$$2, - "access_session_duration-3": access_session_duration$$3, "access_single_response-9": access_single_response$$9, - "access_skip_app_launcher_login_page": access_skip_app_launcher_login_page, - "access_skip_interstitial": access_skip_interstitial, "access_ssh_props": access_ssh_props, "access_tags-2": access_tags$$2, "access_target_attributes": access_target_attributes, @@ -2536,15 +1887,8 @@ export const tools: readonly Tool[] = [ "access_target_criteria_self_hosted_app": access_target_criteria_self_hosted_app, "access_target_rule": access_target_rule, "access_target_rule_attributes": access_target_rule_attributes, - "access_timestamp": access_timestamp, - "access_title": access_title, - "access_type": access_type, - "access_updated_at": access_updated_at, - "access_use_clientless_isolation_app_launcher_url": access_use_clientless_isolation_app_launcher_url, "access_user_risk_score_rule": access_user_risk_score_rule, "access_usernames": access_usernames, - "access_uuid": access_uuid, - "access_uuid-2": access_uuid$$2, "access_vnc_props": access_vnc_props, "access_warp_props": access_warp_props, }, diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/outputs.ts index 8c003d841..17fa8e62a 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/outputs.ts @@ -18,7 +18,7 @@ export const access_policy_check_response: JsonSchema = { "app_state": { "properties": { "app_uid": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "aud": { "type": "string" @@ -76,7 +76,7 @@ export const access_policy_check_response: JsonSchema = { "type": "string" }, "user_uuid": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "version": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts index c6138af15..67d37d369 100644 --- a/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/applications/userPolicyChecks/tools.ts @@ -6,13 +6,7 @@ import { access_api$$response$$common$$failure, access_api$$response$$single, access_messages, - access_uuid, } from "../../../outputs.js"; -import { - access_identifier, - access_uuid as access_uuid$, -} from "../../../schemas.js"; -import { access_app_id } from "../schemas.js"; import { access_policy_check_response } from "./outputs.js"; /** @@ -22,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_applications_userPolicyChecks_list", title: "Test Access policies", - description: "Tests if a specific user has permission to access an application.", + description: "Tests if a specific user has permission to access an application.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/apps/{app_id}/user_policy_checks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -37,11 +32,20 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "app_id": { - "$ref": "#/$defs/access_app_id" + "oneOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "description": "UUID.", + "type": "string" + } + ] } }, "required": [ @@ -55,11 +59,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_app_id": access_app_id, - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_policy_check_response", @@ -67,7 +67,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, "access_policy_check_response": access_policy_check_response, - "access_uuid": access_uuid, }, }, annotations: { @@ -99,7 +98,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, "access_policy_check_response": access_policy_check_response, - "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts index 6a5548952..0c8058fc2 100644 --- a/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/customPages/outputs.ts @@ -3,48 +3,56 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_app_count-2` in responses. - */ -export const access_app_count$$2: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `access_contract_version` in responses. - */ -export const access_contract_version: JsonSchema = { - "type": "integer" -}; - /** * The schema of `access_custom_page` in responses. */ export const access_custom_page: JsonSchema = { "properties": { "app_count": { - "$ref": "#/$defs/access_app_count-2" + "type": "integer" }, "contract_version": { - "$ref": "#/$defs/access_contract_version" + "type": "integer" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "custom_html": { "type": "string" }, "name": { - "$ref": "#/$defs/access_name-11" + "type": "string" }, "type": { - "$ref": "#/$defs/access_type-2" + "enum": [ + "identity_denied", + "forbidden", + "login", + "interstitial" + ], + "type": "string" }, "uid": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "required": [ @@ -61,25 +69,47 @@ export const access_custom_page: JsonSchema = { export const access_custom_page_without_html: JsonSchema = { "properties": { "app_count": { - "$ref": "#/$defs/access_app_count-2" + "type": "integer" }, "contract_version": { - "$ref": "#/$defs/access_contract_version" + "type": "integer" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "name": { - "$ref": "#/$defs/access_name-11" + "type": "string" }, "type": { - "$ref": "#/$defs/access_type-2" + "enum": [ + "identity_denied", + "forbidden", + "login", + "interstitial" + ], + "type": "string" }, "uid": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "warnings": { "items": { @@ -95,13 +125,6 @@ export const access_custom_page_without_html: JsonSchema = { "type": "object" }; -/** - * The schema of `access_name-11` in responses. - */ -export const access_name$$11: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_response_collection-11` in responses. */ @@ -184,19 +207,6 @@ export const access_template_violation: JsonSchema = { "type": "object" }; -/** - * The schema of `access_type-2` in responses. - */ -export const access_type$$2: JsonSchema = { - "enum": [ - "identity_denied", - "forbidden", - "login", - "interstitial" - ], - "type": "string" -}; - /** * The schema of `access_validate_response` in responses. */ @@ -228,7 +238,13 @@ export const access_validation_result: JsonSchema = { "type": "array" }, "page_type": { - "$ref": "#/$defs/access_type-2" + "enum": [ + "identity_denied", + "forbidden", + "login", + "interstitial" + ], + "type": "string" }, "version": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/access/customPages/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/customPages/schemas.ts index a51a7c442..8b0a2bd75 100644 --- a/src/generated/forge-mcp/zeroTrust/access/customPages/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/customPages/schemas.ts @@ -3,56 +3,62 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_app_count-2`. - */ -export const access_app_count$$2: JsonSchema = { - "description": "Number of apps the custom page is assigned to.", - "type": "integer" -}; - -/** - * The schema of `access_contract_version`. - */ -export const access_contract_version: JsonSchema = { - "description": "Contract version of the page's Liquid template. Present (>= 1) marks a sanitized template; absent or 0 marks a legacy page served verbatim.", - "type": "integer" -}; - /** * The schema of `access_custom_page`. */ export const access_custom_page: JsonSchema = { "properties": { "app_count": { - "$ref": "#/$defs/access_app_count-2", - "description": "Number of apps the custom page is assigned to." + "description": "Number of apps the custom page is assigned to.", + "type": "integer" }, "contract_version": { - "$ref": "#/$defs/access_contract_version", - "description": "Contract version of the page's Liquid template. Present (>= 1) marks a sanitized template; absent or 0 marks a legacy page served verbatim." + "description": "Contract version of the page's Liquid template. Present (>= 1) marks a sanitized template; absent or 0 marks a legacy page served verbatim.", + "type": "integer" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "custom_html": { "description": "Custom page HTML.", "type": "string" }, "name": { - "$ref": "#/$defs/access_name-11", - "description": "Custom page name." + "description": "Custom page name.", + "type": "string" }, "type": { - "$ref": "#/$defs/access_type-2", - "description": "Custom page type." + "description": "Custom page type.", + "enum": [ + "identity_denied", + "forbidden", + "login", + "interstitial" + ], + "type": "string" }, "uid": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "required": [ @@ -74,8 +80,14 @@ export const access_custom_page_validate: JsonSchema = { "type": "string" }, "type": { - "$ref": "#/$defs/access_type-2", - "description": "Custom page type." + "description": "Custom page type.", + "enum": [ + "identity_denied", + "forbidden", + "login", + "interstitial" + ], + "type": "string" }, "version": { "description": "Contract version to validate against; omit for the latest.", @@ -88,25 +100,3 @@ export const access_custom_page_validate: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `access_name-11`. - */ -export const access_name$$11: JsonSchema = { - "description": "Custom page name.", - "type": "string" -}; - -/** - * The schema of `access_type-2`. - */ -export const access_type$$2: JsonSchema = { - "description": "Custom page type.", - "enum": [ - "identity_denied", - "forbidden", - "login", - "interstitial" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts b/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts index 72cf165eb..af007e87e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/customPages/tools.ts @@ -7,41 +7,22 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_created_at, access_messages, - access_timestamp, - access_updated_at, - access_uuid, } from "../../outputs.js"; -import { - access_created_at as access_created_at$, - access_identifier, - access_timestamp as access_timestamp$, - access_updated_at as access_updated_at$, - access_uuid as access_uuid$, -} from "../../schemas.js"; import { access_id_response$$3 } from "../outputs.js"; import { - access_app_count$$2, - access_contract_version, access_custom_page, access_custom_page_without_html, - access_name$$11, access_response_collection$$11, access_single_response$$12, access_single_response_without_html, access_template_violation, - access_type$$2, access_validate_response, access_validation_result, } from "./outputs.js"; import { - access_app_count$$2 as access_app_count$$2$, - access_contract_version as access_contract_version$, access_custom_page as access_custom_page$, access_custom_page_validate, - access_name$$11 as access_name$$11$, - access_type$$2 as access_type$$2$, } from "./schemas.js"; /** @@ -51,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_customPages_create", title: "Create a custom page", - description: "Create a custom page", + description: "Create a custom page\n\nPOST /accounts/{account_id}/access/custom_pages", inputSchema: { type: "object", properties: { @@ -59,10 +40,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_custom_page" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -74,35 +56,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "access_app_count-2": access_app_count$$2$, - "access_contract_version": access_contract_version$, - "access_created_at": access_created_at$, "access_custom_page": access_custom_page$, - "access_identifier": access_identifier, - "access_name-11": access_name$$11$, - "access_timestamp": access_timestamp$, - "access_type-2": access_type$$2$, - "access_updated_at": access_updated_at$, - "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response_without_html", $defs: { "access_api-response-single": access_api$$response$$single, - "access_app_count-2": access_app_count$$2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, "access_custom_page_without_html": access_custom_page_without_html, "access_messages": access_messages, - "access_name-11": access_name$$11, "access_single_response_without_html": access_single_response_without_html, "access_template_violation": access_template_violation, - "access_timestamp": access_timestamp, - "access_type-2": access_type$$2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -134,18 +100,10 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_app_count-2": access_app_count$$2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, "access_custom_page_without_html": access_custom_page_without_html, "access_messages": access_messages, - "access_name-11": access_name$$11, "access_single_response_without_html": access_single_response_without_html, "access_template_violation": access_template_violation, - "access_timestamp": access_timestamp, - "access_type-2": access_type$$2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, "access_validate_response": access_validate_response, "access_validation_result": access_validation_result, }, @@ -158,19 +116,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_customPages_delete", title: "Delete a custom page", - description: "Delete a custom page", + description: "Delete a custom page\n\nDELETE /accounts/{account_id}/access/custom_pages/{custom_page_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "custom_page_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -183,10 +142,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_id_response-3", @@ -194,7 +150,6 @@ export const tools: readonly Tool[] = [ "access_api-response-common": access_api$$response$$common, "access_id_response-3": access_id_response$$3, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, annotations: { @@ -225,7 +180,6 @@ export const tools: readonly Tool[] = [ "access_api-response-common-failure": access_api$$response$$common$$failure, "access_id_response-3": access_id_response$$3, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -235,19 +189,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_customPages_get", title: "Get a custom page", - description: "Fetches a custom page and also returns its HTML.", + description: "Fetches a custom page and also returns its HTML.\n\nGET /accounts/{account_id}/access/custom_pages/{custom_page_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "custom_page_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -260,26 +215,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-12", $defs: { "access_api-response-single": access_api$$response$$single, - "access_app_count-2": access_app_count$$2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, "access_custom_page": access_custom_page, "access_messages": access_messages, - "access_name-11": access_name$$11, "access_single_response-12": access_single_response$$12, - "access_timestamp": access_timestamp, - "access_type-2": access_type$$2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -309,17 +253,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_app_count-2": access_app_count$$2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, "access_custom_page": access_custom_page, "access_messages": access_messages, - "access_name-11": access_name$$11, "access_single_response-12": access_single_response$$12, - "access_timestamp": access_timestamp, - "access_type-2": access_type$$2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -329,15 +265,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_customPages_list", title: "List custom pages", - description: "List custom pages", + description: "List custom pages\n\nGET /accounts/{account_id}/access/custom_pages", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -346,6 +283,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -364,27 +302,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-11", $defs: { "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_app_count-2": access_app_count$$2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, "access_custom_page_without_html": access_custom_page_without_html, "access_messages": access_messages, - "access_name-11": access_name$$11, "access_response_collection-11": access_response_collection$$11, "access_template_violation": access_template_violation, - "access_timestamp": access_timestamp, - "access_type-2": access_type$$2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -415,18 +343,10 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_app_count-2": access_app_count$$2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, "access_custom_page_without_html": access_custom_page_without_html, "access_messages": access_messages, - "access_name-11": access_name$$11, "access_response_collection-11": access_response_collection$$11, "access_template_violation": access_template_violation, - "access_timestamp": access_timestamp, - "access_type-2": access_type$$2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -440,7 +360,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_customPages_update", title: "Update a custom page", - description: "Update a custom page", + description: "Update a custom page\n\nPUT /accounts/{account_id}/access/custom_pages/{custom_page_id}", inputSchema: { type: "object", properties: { @@ -448,14 +368,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_custom_page" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "custom_page_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -468,35 +389,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "access_app_count-2": access_app_count$$2$, - "access_contract_version": access_contract_version$, - "access_created_at": access_created_at$, "access_custom_page": access_custom_page$, - "access_identifier": access_identifier, - "access_name-11": access_name$$11$, - "access_timestamp": access_timestamp$, - "access_type-2": access_type$$2$, - "access_updated_at": access_updated_at$, - "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response_without_html", $defs: { "access_api-response-single": access_api$$response$$single, - "access_app_count-2": access_app_count$$2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, "access_custom_page_without_html": access_custom_page_without_html, "access_messages": access_messages, - "access_name-11": access_name$$11, "access_single_response_without_html": access_single_response_without_html, "access_template_violation": access_template_violation, - "access_timestamp": access_timestamp, - "access_type-2": access_type$$2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -528,18 +433,10 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_app_count-2": access_app_count$$2, - "access_contract_version": access_contract_version, - "access_created_at": access_created_at, "access_custom_page_without_html": access_custom_page_without_html, "access_messages": access_messages, - "access_name-11": access_name$$11, "access_single_response_without_html": access_single_response_without_html, "access_template_violation": access_template_violation, - "access_timestamp": access_timestamp, - "access_type-2": access_type$$2, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, "access_validate_response": access_validate_response, "access_validation_result": access_validation_result, }, @@ -552,7 +449,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_customPages_validate", title: "Validate a custom page template", - description: "Validate a Liquid template and return its errors and warnings without persisting it.", + description: "Validate a Liquid template and return its errors and warnings without persisting it.\n\nPOST /accounts/{account_id}/access/custom_pages/validate", inputSchema: { type: "object", properties: { @@ -560,10 +457,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_custom_page_validate" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -575,10 +473,9 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "access_custom_page_validate": access_custom_page_validate, - "access_identifier": access_identifier, - "access_type-2": access_type$$2$, }, }, outputSchema: { @@ -587,7 +484,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, "access_template_violation": access_template_violation, - "access_type-2": access_type$$2, "access_validate_response": access_validate_response, "access_validation_result": access_validation_result, }, @@ -620,7 +516,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, "access_template_violation": access_template_violation, - "access_type-2": access_type$$2, "access_validate_response": access_validate_response, "access_validation_result": access_validation_result, }, diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts index a6745484c..8f0ade763 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/outputs.ts @@ -3,29 +3,24 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_public_key` in responses. - */ -export const zero$$trust$$gateway_public_key: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_settings` in responses. */ export const zero$$trust$$gateway_settings: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "public_key": { - "$ref": "#/$defs/zero-trust-gateway_public_key" + "type": "string" }, "seed_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-5" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -49,10 +44,3 @@ export const zero$$trust$$gateway_single_response$$6: JsonSchema = { } ] }; - -/** - * The schema of `zero-trust-gateway_uuid-5` in responses. - */ -export const zero$$trust$$gateway_uuid$$5: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/schemas.ts deleted file mode 100644 index e61f8d28c..000000000 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../../_/tool.js"; - -/** - * The schema of `zero-trust-gateway_public_key`. - */ -export const zero$$trust$$gateway_public_key: JsonSchema = { - "description": "Provide the Base64-encoded HPKE public key that encrypts SSH session logs. See https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-infrastructure-access/#enable-ssh-command-logging.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts index 4980da413..95712ea47 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/auditSshSettings/tools.ts @@ -6,16 +6,11 @@ import { zero$$trust$$gateway_api$$response$$common$$failure, zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, - zero$$trust$$gateway_read_only_timestamp, } from "../../../outputs.js"; -import { zero$$trust$$gateway_identifier$$2 } from "../../../schemas.js"; import { - zero$$trust$$gateway_public_key, zero$$trust$$gateway_settings, zero$$trust$$gateway_single_response$$6, - zero$$trust$$gateway_uuid$$5, } from "./outputs.js"; -import { zero$$trust$$gateway_public_key as zero$$trust$$gateway_public_key$ } from "./schemas.js"; /** * The tools of `zeroTrust.access.infrastructure.auditSshSettings`. @@ -24,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_infrastructure_auditSshSettings_get", title: "Get Zero Trust SSH settings", - description: "Retrieve SSH with Access for Infrastructure settings for an account.", + description: "Retrieve SSH with Access for Infrastructure settings for an account.\n\nGET /accounts/{account_id}/gateway/audit_ssh_settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -44,20 +40,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-6", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_settings": zero$$trust$$gateway_settings, "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, - "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, annotations: { @@ -89,11 +80,8 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_settings": zero$$trust$$gateway_settings, "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, - "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, request: (args) => ({ @@ -103,15 +91,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_infrastructure_auditSshSettings_rotateSeed", title: "Rotate Zero Trust SSH account seed", - description: "Rotate the SSH account seed that generates the host key identity when connecting through the Cloudflare SSH Proxy.", + description: "Rotate the SSH account seed that generates the host key identity when connecting through the Cloudflare SSH Proxy.\n\nPOST /accounts/{account_id}/gateway/audit_ssh_settings/rotate_seed", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -123,20 +112,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-6", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_settings": zero$$trust$$gateway_settings, "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, - "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, annotations: { @@ -168,11 +152,8 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_settings": zero$$trust$$gateway_settings, "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, - "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, request: (args) => ({ @@ -182,15 +163,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_infrastructure_auditSshSettings_update", title: "Update Zero Trust SSH settings", - description: "Update SSH with Access for Infrastructure settings for an account.", + description: "Update SSH with Access for Infrastructure settings for an account.\n\nPUT /accounts/{account_id}/gateway/audit_ssh_settings", inputSchema: { type: "object", properties: { "body": { "properties": { "public_key": { - "$ref": "#/$defs/zero-trust-gateway_public_key", - "description": "Provide the Base64-encoded HPKE public key that encrypts SSH session logs. See https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-infrastructure-access/#enable-ssh-command-logging." + "description": "Provide the Base64-encoded HPKE public key that encrypts SSH session logs. See https://developers.cloudflare.com/cloudflare-one/connections/connect-networks/use-cases/ssh/ssh-infrastructure-access/#enable-ssh-command-logging.", + "type": "string" } }, "required": [ @@ -199,10 +180,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -215,21 +197,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-6", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_settings": zero$$trust$$gateway_settings, "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, - "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, annotations: { @@ -261,11 +237,8 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_public_key": zero$$trust$$gateway_public_key, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_settings": zero$$trust$$gateway_settings, "zero-trust-gateway_single_response-6": zero$$trust$$gateway_single_response$$6, - "zero-trust-gateway_uuid-5": zero$$trust$$gateway_uuid$$5, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts index 7d0447cd5..11f3619eb 100644 --- a/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/infrastructure/sshCa/tools.ts @@ -9,12 +9,7 @@ import { access_api$$response$$single, access_id_response, access_messages, - access_uuid, } from "../../../outputs.js"; -import { - access_identifier, - access_uuid as access_uuid$, -} from "../../../schemas.js"; import { access_certificates$$2, access_response_collection$$7, @@ -28,15 +23,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_infrastructure_sshCa_create", title: "Add a new SSH Certificate Authority (CA)", - description: "Adds a new SSH Certificate Authority (CA).", + description: "Adds a new SSH Certificate Authority (CA).\n\nPOST /accounts/{account_id}/access/gateway_ca", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -48,9 +44,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-8", @@ -99,19 +93,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_infrastructure_sshCa_delete", title: "Delete an SSH Certificate Authority (CA)", - description: "Deletes an SSH Certificate Authority.", + description: "Deletes an SSH Certificate Authority.\n\nDELETE /accounts/{account_id}/access/gateway_ca/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "certificate_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -124,10 +119,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_id_response", @@ -135,7 +127,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, annotations: { @@ -166,7 +157,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -176,15 +166,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_infrastructure_sshCa_list", title: "List SSH Certificate Authorities (CA)", - description: "Lists SSH Certificate Authorities (CA).", + description: "Lists SSH Certificate Authorities (CA).\n\nGET /accounts/{account_id}/access/gateway_ca", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -196,9 +187,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-7", diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts index 8f4425706..37ed8d45d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/outputs.ts @@ -9,92 +9,37 @@ import type { JsonSchema } from "../../../../_/tool.js"; export const access_access$$requests: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/access_action" + "type": "string" }, "allowed": { - "$ref": "#/$defs/access_allowed" + "type": "boolean" }, "app_domain": { - "$ref": "#/$defs/access_app_domain" + "type": "string" }, "app_uid": { - "$ref": "#/$defs/access_app_uid" + "type": "string" }, "connection": { - "$ref": "#/$defs/access_connection" + "type": "string" }, "created_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "ip_address": { - "$ref": "#/$defs/access_ip" + "type": "string" }, "ray_id": { - "$ref": "#/$defs/access_ray_id" + "type": "string" }, "user_email": { - "$ref": "#/$defs/access_email-3" + "type": "string" } }, "type": "object" }; -/** - * The schema of `access_action` in responses. - */ -export const access_action: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_allowed` in responses. - */ -export const access_allowed: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_app_domain` in responses. - */ -export const access_app_domain: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_app_uid` in responses. - */ -export const access_app_uid: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_connection` in responses. - */ -export const access_connection: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_email-3` in responses. - */ -export const access_email$$3: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_ip` in responses. - */ -export const access_ip: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_ray_id` in responses. - */ -export const access_ray_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_response_collection-12` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/schemas.ts deleted file mode 100644 index e10d88f51..000000000 --- a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/schemas.ts +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../../_/tool.js"; - -/** - * The schema of `access_email-3`. - */ -export const access_email$$3: JsonSchema = { - "description": "The email address of the authenticating user.", - "type": "string" -}; - -/** - * The schema of `access_user_id`. - */ -export const access_user_id: JsonSchema = { - "description": "The UUID of the authenticating user.", - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts index a02adc16e..ad9c46e96 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/accessRequests/tools.ts @@ -6,25 +6,11 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_messages, - access_timestamp, } from "../../../outputs.js"; -import { access_identifier } from "../../../schemas.js"; import { access_access$$requests, - access_action, - access_allowed, - access_app_domain, - access_app_uid, - access_connection, - access_email$$3, - access_ip, - access_ray_id, access_response_collection$$12, } from "./outputs.js"; -import { - access_email$$3 as access_email$$3$, - access_user_id, -} from "./schemas.js"; /** * The tools of `zeroTrust.access.logs.accessRequests`. @@ -33,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_logs_accessRequests_list", title: "Get Access authentication logs", - description: "Gets a list of Access authentication audit logs for an account.", + description: "Gets a list of Access authentication audit logs for an account.\n\nGET /accounts/{account_id}/access/logs/access_requests", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -50,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "allowedOp": { "default": "eq", @@ -97,12 +85,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "email": { - "$ref": "#/$defs/access_email-3", - "description": "Filter by user email. Match mode is controlled by `emailOp` (preferred) or the legacy `email_exact` flag.\n- Default (no `emailOp`, `email_exact=false` or unset): substring match — `email=@example.com` returns all events with that domain.\n- Exact match: set `emailOp=eq` (preferred) or `email_exact=true` — e.g. `email=user@example.com&email_exact=true` returns only that user.\n- Explicit substring match: set `emailOp=contains` (without `email_exact=true`). When both are set, `email_exact=true` takes precedence and the match is exact.\n- Exclusion: set `emailOp=neq`. With `email_exact=true` this is an exact-value exclusion; without it, a fuzzy substring exclusion.\n" + "description": "Filter by user email. Match mode is controlled by `emailOp` (preferred) or the legacy `email_exact` flag.\n- Default (no `emailOp`, `email_exact=false` or unset): substring match — `email=@example.com` returns all events with that domain.\n- Exact match: set `emailOp=eq` (preferred) or `email_exact=true` — e.g. `email=user@example.com&email_exact=true` returns only that user.\n- Explicit substring match: set `emailOp=contains` (without `email_exact=true`). When both are set, `email_exact=true` takes precedence and the match is exact.\n- Exclusion: set `emailOp=neq`. With `email_exact=true` this is an exact-value exclusion; without it, a fuzzy substring exclusion.", + "type": "string" }, "emailOp": { "default": "eq", - "description": "Operator for the `email` filter.\n`contains` performs a substring (case-sensitive) match. When `email_exact=true`\nis also set, `email_exact` takes precedence and `contains` is ignored.\n", + "description": "Operator for the `email` filter.\n`contains` performs a substring (case-sensitive) match. When `email_exact=true`\nis also set, `email_exact` takes precedence and `contains` is ignored.", "enum": [ "eq", "neq", @@ -116,7 +104,7 @@ export const tools: readonly Tool[] = [ "type": "boolean" }, "fields": { - "description": "Comma-separated list of fields to include in the response.\nWhen omitted, all fields are returned.\n", + "description": "Comma-separated list of fields to include in the response.\nWhen omitted, all fields are returned.", "type": "string" }, "idpOp": { @@ -172,14 +160,15 @@ export const tools: readonly Tool[] = [ "type": "string" }, "user_id": { - "$ref": "#/$defs/access_user_id", "deprecated": true, - "description": "Deprecated. Accepted for backward compatibility but no longer applied\nas a filter. Use `email` instead.\n" + "description": "Deprecated. Accepted for backward compatibility but no longer applied\nas a filter. Use `email` instead.", + "format": "uuid", + "type": "string" }, "user_idOp": { "default": "eq", "deprecated": true, - "description": "Deprecated. Accepted for backward compatibility but no longer applied\nas a filter (the `user_id` parameter is itself deprecated).\n", + "description": "Deprecated. Accepted for backward compatibility but no longer applied\nas a filter (the `user_id` parameter is itself deprecated).", "enum": [ "eq", "neq" @@ -193,28 +182,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_email-3": access_email$$3$, - "access_identifier": access_identifier, - "access_user_id": access_user_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-12", $defs: { "access_access-requests": access_access$$requests, - "access_action": access_action, - "access_allowed": access_allowed, "access_api-response-common": access_api$$response$$common, - "access_app_domain": access_app_domain, - "access_app_uid": access_app_uid, - "access_connection": access_connection, - "access_email-3": access_email$$3, - "access_ip": access_ip, "access_messages": access_messages, - "access_ray_id": access_ray_id, "access_response_collection-12": access_response_collection$$12, - "access_timestamp": access_timestamp, }, }, annotations: { @@ -242,19 +218,10 @@ export const tools: readonly Tool[] = [ }, $defs: { "access_access-requests": access_access$$requests, - "access_action": access_action, - "access_allowed": access_allowed, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_app_domain": access_app_domain, - "access_app_uid": access_app_uid, - "access_connection": access_connection, - "access_email-3": access_email$$3, - "access_ip": access_ip, "access_messages": access_messages, - "access_ray_id": access_ray_id, "access_response_collection-12": access_response_collection$$12, - "access_timestamp": access_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts index f11a15a39..f6468c32a 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/outputs.ts @@ -31,30 +31,24 @@ export const access_jit_request_event: JsonSchema = { "type": "boolean" }, "timestamp": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "type": { - "$ref": "#/$defs/access_jit_request_event_type" + "enum": [ + "CREATED", + "APPROVER_DECISION", + "COMMITTED", + "CANCELED", + "LOGIN_SUCCESS", + "REDIRECT_TO_ACTIVE" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `access_jit_request_event_type` in responses. - */ -export const access_jit_request_event_type: JsonSchema = { - "enum": [ - "CREATED", - "APPROVER_DECISION", - "COMMITTED", - "CANCELED", - "LOGIN_SUCCESS", - "REDIRECT_TO_ACTIVE" - ], - "type": "string" -}; - /** * The schema of `access_jit_request_log` in responses. */ @@ -76,10 +70,12 @@ export const access_jit_request_log: JsonSchema = { "type": "array" }, "created_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "expires_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "knock_request_id": { "type": "string" @@ -91,7 +87,14 @@ export const access_jit_request_log: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/access_jit_request_status" + "enum": [ + "PENDING", + "APPROVED", + "DENIED", + "CANCELED", + "SPENT" + ], + "type": "string" } }, "type": "object" @@ -119,20 +122,6 @@ export const access_jit_request_log_detail: JsonSchema = { ] }; -/** - * The schema of `access_jit_request_status` in responses. - */ -export const access_jit_request_status: JsonSchema = { - "enum": [ - "PENDING", - "APPROVED", - "DENIED", - "CANCELED", - "SPENT" - ], - "type": "string" -}; - /** * The schema of `access_response_collection-13` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/schemas.ts deleted file mode 100644 index 58b0b70e8..000000000 --- a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/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 `access_jit_request_status`. - */ -export const access_jit_request_status: JsonSchema = { - "description": "JIT request status. `SPENT` is deprecated and interpreted as `APPROVED`.", - "enum": [ - "PENDING", - "APPROVED", - "DENIED", - "CANCELED", - "SPENT" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts index ec4659a0f..c0323e524 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/jitRequests/tools.ts @@ -8,19 +8,14 @@ import { access_api$$response$$common$$failure, access_api$$response$$single, access_messages, - access_timestamp, } from "../../../outputs.js"; -import { access_identifier } from "../../../schemas.js"; import { access_jit_request_event, - access_jit_request_event_type, access_jit_request_log, access_jit_request_log_detail, - access_jit_request_status, access_response_collection$$13, access_response_single, } from "./outputs.js"; -import { access_jit_request_status as access_jit_request_status$ } from "./schemas.js"; /** * The tools of `zeroTrust.access.logs.jitRequests`. @@ -29,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_logs_jitRequests_get", title: "Get an Access JIT request log", - description: "Gets an account-scoped Access JIT request summary and its lifecycle events in chronological order.", + description: "Gets an account-scoped Access JIT request summary and its lifecycle events in chronological order.\n\nGET /accounts/{account_id}/access/logs/jit_requests/{knock_request_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "knock_request_id": { "format": "uuid", @@ -54,22 +50,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_single", $defs: { "access_api-response-single": access_api$$response$$single, "access_jit_request_event": access_jit_request_event, - "access_jit_request_event_type": access_jit_request_event_type, "access_jit_request_log": access_jit_request_log, "access_jit_request_log_detail": access_jit_request_log_detail, - "access_jit_request_status": access_jit_request_status, "access_messages": access_messages, "access_response_single": access_response_single, - "access_timestamp": access_timestamp, }, }, annotations: { @@ -97,13 +88,10 @@ export const tools: readonly Tool[] = [ "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, "access_jit_request_event": access_jit_request_event, - "access_jit_request_event_type": access_jit_request_event_type, "access_jit_request_log": access_jit_request_log, "access_jit_request_log_detail": access_jit_request_log_detail, - "access_jit_request_status": access_jit_request_status, "access_messages": access_messages, "access_response_single": access_response_single, - "access_timestamp": access_timestamp, }, }, request: (args) => ({ @@ -113,15 +101,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_logs_jitRequests_list", title: "List Access JIT request logs", - description: "Lists account-wide Access JIT request logs reconstructed from request lifecycle events.", + description: "Lists account-wide Access JIT request logs reconstructed from request lifecycle events.\n\nGET /accounts/{account_id}/access/logs/jit_requests", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -130,6 +119,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -151,8 +141,15 @@ export const tools: readonly Tool[] = [ "type": "string" }, "status": { - "$ref": "#/$defs/access_jit_request_status", - "description": "JIT request status. `SPENT` is deprecated and interpreted as `APPROVED`." + "description": "JIT request status. `SPENT` is deprecated and interpreted as `APPROVED`.", + "enum": [ + "PENDING", + "APPROVED", + "DENIED", + "CANCELED", + "SPENT" + ], + "type": "string" }, "until": { "description": "The latest request timestamp to query. Defaults to the current time.", @@ -166,10 +163,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_jit_request_status": access_jit_request_status$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-13", @@ -177,10 +171,8 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_jit_request_log": access_jit_request_log, - "access_jit_request_status": access_jit_request_status, "access_messages": access_messages, "access_response_collection-13": access_response_collection$$13, - "access_timestamp": access_timestamp, }, }, annotations: { @@ -206,10 +198,8 @@ export const tools: readonly Tool[] = [ "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_jit_request_log": access_jit_request_log, - "access_jit_request_status": access_jit_request_status, "access_messages": access_messages, "access_response_collection-13": access_response_collection$$13, - "access_timestamp": access_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts index 0d56d85b8..fe9261d6d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/outputs.ts @@ -21,7 +21,8 @@ export const access_responses: JsonSchema = { "type": "string" }, "logged_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "request_body": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/schemas.ts index 73963cbc4..a963009d9 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/schemas.ts @@ -14,18 +14,6 @@ export const access_cf_resource_id$$3: JsonSchema = { "type": "array" }; -/** - * The schema of `access_direction`. - */ -export const access_direction: JsonSchema = { - "description": "The chronological order used to sort the logs.", - "enum": [ - "desc", - "asc" - ], - "type": "string" -}; - /** * The schema of `access_idp_id`. */ @@ -48,14 +36,6 @@ export const access_idp_resource_id$$3: JsonSchema = { "type": "array" }; -/** - * The schema of `access_limit`. - */ -export const access_limit: JsonSchema = { - "description": "The maximum number of update logs to retrieve.", - "type": "integer" -}; - /** * The schema of `access_request_method`. */ @@ -110,15 +90,6 @@ export const access_resource_user_email: JsonSchema = { "type": "array" }; -/** - * The schema of `access_since`. - */ -export const access_since: JsonSchema = { - "description": "the timestamp of the earliest update log.", - "format": "date-time", - "type": "string" -}; - /** * The schema of `access_status-2`. */ @@ -133,12 +104,3 @@ export const access_status$$2: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `access_until`. - */ -export const access_until: JsonSchema = { - "description": "the timestamp of the most-recent update log.", - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts index bc8fe4e51..ccc74ec69 100644 --- a/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/logs/scim/updates/tools.ts @@ -7,26 +7,20 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_messages, - access_timestamp, } from "../../../../outputs.js"; -import { access_identifier } from "../../../../schemas.js"; import { access_responses, access_scim_update_logs_response, } from "./outputs.js"; import { access_cf_resource_id$$3, - access_direction, access_idp_id, access_idp_resource_id$$3, - access_limit, access_request_method, access_resource_group_name, access_resource_type, access_resource_user_email, - access_since, access_status$$2, - access_until, } from "./schemas.js"; /** @@ -36,15 +30,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_logs_scim_updates_list", title: "List Access SCIM update logs", - description: "Lists Access SCIM update logs that maintain a record of updates made to User and Group resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", + description: "Lists Access SCIM update logs that maintain a record of updates made to User and Group resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).\n\nGET /accounts/{account_id}/access/logs/scim/updates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -53,15 +48,20 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cf_resource_id": { "$ref": "#/$defs/access_cf_resource_id-3", "description": "The unique Cloudflare-generated Id of the SCIM resource. Pass once for\na single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to filter by multiple resources\nin one request." }, "direction": { - "$ref": "#/$defs/access_direction", "default": "desc", - "description": "The chronological order used to sort the logs." + "description": "The chronological order used to sort the logs.", + "enum": [ + "desc", + "asc" + ], + "type": "string" }, "idp_id": { "$ref": "#/$defs/access_idp_id", @@ -72,9 +72,9 @@ export const tools: readonly Tool[] = [ "description": "The IdP-generated Id of the SCIM resource. Pass once for a single\nlookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to filter by multiple\nresources in one request." }, "limit": { - "$ref": "#/$defs/access_limit", "default": 20, - "description": "The maximum number of update logs to retrieve." + "description": "The maximum number of update logs to retrieve.", + "type": "integer" }, "page": { "default": 1, @@ -103,16 +103,18 @@ export const tools: readonly Tool[] = [ "description": "The email address of the SCIM User resource. Pass once for a single\nlookup (`?resource_user_email=A`) or repeat the parameter\n(`?resource_user_email=A&resource_user_email=B`) to filter by multiple\nemails in one request." }, "since": { - "$ref": "#/$defs/access_since", - "description": "the timestamp of the earliest update log." + "description": "the timestamp of the earliest update log.", + "format": "date-time", + "type": "string" }, "status": { "$ref": "#/$defs/access_status-2", "description": "The status of the SCIM request." }, "until": { - "$ref": "#/$defs/access_until", - "description": "the timestamp of the most-recent update log." + "description": "the timestamp of the most-recent update log.", + "format": "date-time", + "type": "string" } }, "required": [ @@ -125,20 +127,16 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, $defs: { "access_cf_resource_id-3": access_cf_resource_id$$3, - "access_direction": access_direction, - "access_identifier": access_identifier, "access_idp_id": access_idp_id, "access_idp_resource_id-3": access_idp_resource_id$$3, - "access_limit": access_limit, "access_request_method": access_request_method, "access_resource_group_name": access_resource_group_name, "access_resource_type": access_resource_type, "access_resource_user_email": access_resource_user_email, - "access_since": access_since, "access_status-2": access_status$$2, - "access_until": access_until, }, }, outputSchema: { @@ -149,7 +147,6 @@ export const tools: readonly Tool[] = [ "access_messages": access_messages, "access_responses": access_responses, "access_scim_update_logs_response": access_scim_update_logs_response, - "access_timestamp": access_timestamp, }, }, annotations: { @@ -182,7 +179,6 @@ export const tools: readonly Tool[] = [ "access_messages": access_messages, "access_responses": access_responses, "access_scim_update_logs_response": access_scim_update_logs_response, - "access_timestamp": access_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts index 468ec1f92..bf1bb3665 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/outputs.ts @@ -3,24 +3,17 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `access_aaguid` in responses. - */ -export const access_aaguid: JsonSchema = { - "format": "uuid", - "type": "string" -}; - /** * The schema of `access_authenticator_device_aaguid` in responses. */ export const access_authenticator_device_aaguid: JsonSchema = { "properties": { "aaguid": { - "$ref": "#/$defs/access_aaguid" + "format": "uuid", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-14" + "type": "string" } }, "required": [ @@ -30,13 +23,6 @@ export const access_authenticator_device_aaguid: JsonSchema = { "type": "object" }; -/** - * The schema of `access_name-14` in responses. - */ -export const access_name$$14: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_response_collection-17` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts index 9925240a8..68955f3ef 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mfa/authenticatorCatalog/tools.ts @@ -8,11 +8,8 @@ import { access_api$$response$$common$$failure, access_messages, } from "../../../outputs.js"; -import { access_identifier } from "../../../schemas.js"; import { - access_aaguid, access_authenticator_device_aaguid, - access_name$$14, access_response_collection$$17, } from "./outputs.js"; @@ -23,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_mfa_authenticatorCatalog_list", title: "List authenticator device AAGUIDs", - description: "Returns a list of Authenticator Device AAGUIDs for MFA configuration.", + description: "Returns a list of Authenticator Device AAGUIDs for MFA configuration.\n\nGET /accounts/{account_id}/access/authenticator_device_aaguids", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -43,19 +41,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-17", $defs: { - "access_aaguid": access_aaguid, "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_authenticator_device_aaguid": access_authenticator_device_aaguid, "access_messages": access_messages, - "access_name-14": access_name$$14, "access_response_collection-17": access_response_collection$$17, }, }, @@ -78,13 +72,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_aaguid": access_aaguid, "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_authenticator_device_aaguid": access_authenticator_device_aaguid, "access_messages": access_messages, - "access_name-14": access_name$$14, "access_response_collection-17": access_response_collection$$17, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts index 895873ee4..f1a00180c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/outputs.ts @@ -22,41 +22,44 @@ export const access_certificates: JsonSchema = { "$ref": "#/$defs/access_associated_hostnames" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "expires_on": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "fingerprint": { - "$ref": "#/$defs/access_fingerprint" + "type": "string" }, "id": { "type": "string" }, "name": { - "$ref": "#/$defs/access_name-7" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" }; -/** - * The schema of `access_fingerprint` in responses. - */ -export const access_fingerprint: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_name-7` in responses. - */ -export const access_name$$7: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_response_collection-6` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/schemas.ts index 985fde9e7..7d5b8e4ee 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/schemas.ts @@ -13,11 +13,3 @@ export const access_associated_hostnames: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `access_name-7`. - */ -export const access_name$$7: JsonSchema = { - "description": "The name of the certificate.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts index bed49a8a6..8e5519daf 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/settings/tools.ts @@ -8,7 +8,6 @@ import { access_api$$response$$common$$failure, access_messages, } from "../../../outputs.js"; -import { access_identifier } from "../../../schemas.js"; import { access_response_collection_hostnames, access_settings, @@ -22,11 +21,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_mtlsCertificates_settings_get", title: "List all mTLS hostname settings", - description: "List all mTLS hostname settings for this account or zone.", + description: "List all mTLS hostname settings for this account or zone.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/certificates/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -37,8 +37,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -51,9 +51,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection_hostnames", @@ -105,7 +103,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_mtlsCertificates_settings_update", title: "Update an mTLS certificate's hostname settings", - description: "Updates an mTLS certificate's hostname settings.", + description: "Updates an mTLS certificate's hostname settings.\n\nPUT /{account_or_zone}/{account_or_zone_id}/access/certificates/settings", inputSchema: { type: "object", properties: { @@ -124,6 +122,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -134,8 +133,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -149,8 +148,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_identifier": access_identifier, "access_settings": access_settings$, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts index 00b6eef4a..bc9a62deb 100644 --- a/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/mtlsCertificates/tools.ts @@ -7,29 +7,16 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_created_at, access_messages, - access_timestamp, - access_updated_at, - access_uuid, } from "../../outputs.js"; -import { - access_identifier, - access_uuid as access_uuid$, -} from "../../schemas.js"; import { access_id_response$$3 } from "../outputs.js"; import { access_associated_hostnames, access_certificates, - access_fingerprint, - access_name$$7, access_response_collection$$6, access_single_response$$7, } from "./outputs.js"; -import { - access_associated_hostnames as access_associated_hostnames$, - access_name$$7 as access_name$$7$, -} from "./schemas.js"; +import { access_associated_hostnames as access_associated_hostnames$ } from "./schemas.js"; /** * The tools of `zeroTrust.access.mtlsCertificates`. @@ -38,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_mtlsCertificates_create", title: "Add an mTLS certificate", - description: "Adds a new mTLS root certificate to Access.", + description: "Adds a new mTLS root certificate to Access.\n\nPOST /{account_or_zone}/{account_or_zone_id}/access/certificates", inputSchema: { type: "object", properties: { @@ -53,8 +40,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "name": { - "$ref": "#/$defs/access_name-7", - "description": "The name of the certificate." + "description": "The name of the certificate.", + "type": "string" } }, "required": [ @@ -64,6 +51,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -74,8 +62,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -89,10 +77,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_associated_hostnames": access_associated_hostnames$, - "access_identifier": access_identifier, - "access_name-7": access_name$$7$, }, }, outputSchema: { @@ -101,13 +88,8 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_associated_hostnames": access_associated_hostnames, "access_certificates": access_certificates, - "access_created_at": access_created_at, - "access_fingerprint": access_fingerprint, "access_messages": access_messages, - "access_name-7": access_name$$7, "access_single_response-7": access_single_response$$7, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -138,13 +120,8 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_associated_hostnames": access_associated_hostnames, "access_certificates": access_certificates, - "access_created_at": access_created_at, - "access_fingerprint": access_fingerprint, "access_messages": access_messages, - "access_name-7": access_name$$7, "access_single_response-7": access_single_response$$7, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -155,11 +132,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_mtlsCertificates_delete", title: "Delete an mTLS certificate", - description: "Deletes an mTLS certificate.", + description: "Deletes an mTLS certificate.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/access/certificates/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -170,12 +148,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "certificate_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -189,10 +167,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_id_response-3", @@ -200,7 +175,6 @@ export const tools: readonly Tool[] = [ "access_api-response-common": access_api$$response$$common, "access_id_response-3": access_id_response$$3, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, annotations: { @@ -231,7 +205,6 @@ export const tools: readonly Tool[] = [ "access_api-response-common-failure": access_api$$response$$common$$failure, "access_id_response-3": access_id_response$$3, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -241,11 +214,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_mtlsCertificates_get", title: "Get an mTLS certificate", - description: "Fetches a single mTLS certificate.", + description: "Fetches a single mTLS certificate.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/certificates/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -256,12 +230,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "certificate_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -275,10 +249,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-7", @@ -286,13 +257,8 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_associated_hostnames": access_associated_hostnames, "access_certificates": access_certificates, - "access_created_at": access_created_at, - "access_fingerprint": access_fingerprint, "access_messages": access_messages, - "access_name-7": access_name$$7, "access_single_response-7": access_single_response$$7, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -324,13 +290,8 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_associated_hostnames": access_associated_hostnames, "access_certificates": access_certificates, - "access_created_at": access_created_at, - "access_fingerprint": access_fingerprint, "access_messages": access_messages, - "access_name-7": access_name$$7, "access_single_response-7": access_single_response$$7, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -340,11 +301,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_mtlsCertificates_list", title: "List mTLS certificates", - description: "Lists all mTLS root certificates.", + description: "Lists all mTLS root certificates.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/certificates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -355,8 +317,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -366,6 +328,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -384,9 +347,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-6", @@ -395,13 +356,8 @@ export const tools: readonly Tool[] = [ "access_api-response-common": access_api$$response$$common, "access_associated_hostnames": access_associated_hostnames, "access_certificates": access_certificates, - "access_created_at": access_created_at, - "access_fingerprint": access_fingerprint, "access_messages": access_messages, - "access_name-7": access_name$$7, "access_response_collection-6": access_response_collection$$6, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -434,13 +390,8 @@ export const tools: readonly Tool[] = [ "access_api-response-common-failure": access_api$$response$$common$$failure, "access_associated_hostnames": access_associated_hostnames, "access_certificates": access_certificates, - "access_created_at": access_created_at, - "access_fingerprint": access_fingerprint, "access_messages": access_messages, - "access_name-7": access_name$$7, "access_response_collection-6": access_response_collection$$6, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -454,7 +405,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_mtlsCertificates_update", title: "Update an mTLS certificate", - description: "Updates a configured mTLS certificate.", + description: "Updates a configured mTLS certificate.\n\nPUT /{account_or_zone}/{account_or_zone_id}/access/certificates/{certificate_id}", inputSchema: { type: "object", properties: { @@ -465,8 +416,8 @@ export const tools: readonly Tool[] = [ "description": "The hostnames of the applications that will use this certificate." }, "name": { - "$ref": "#/$defs/access_name-7", - "description": "The name of the certificate." + "description": "The name of the certificate.", + "type": "string" } }, "required": [ @@ -475,6 +426,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -485,12 +437,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "certificate_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -505,11 +457,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_associated_hostnames": access_associated_hostnames$, - "access_identifier": access_identifier, - "access_name-7": access_name$$7$, - "access_uuid": access_uuid$, }, }, outputSchema: { @@ -518,13 +468,8 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_associated_hostnames": access_associated_hostnames, "access_certificates": access_certificates, - "access_created_at": access_created_at, - "access_fingerprint": access_fingerprint, "access_messages": access_messages, - "access_name-7": access_name$$7, "access_single_response-7": access_single_response$$7, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -555,13 +500,8 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_associated_hostnames": access_associated_hostnames, "access_certificates": access_certificates, - "access_created_at": access_created_at, - "access_fingerprint": access_fingerprint, "access_messages": access_messages, - "access_name-7": access_name$$7, "access_single_response-7": access_single_response$$7, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/outputs.ts index 827149268..dd5a19707 100644 --- a/src/generated/forge-mcp/zeroTrust/access/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/outputs.ts @@ -32,7 +32,11 @@ export const access_access_group_rule: JsonSchema = { */ export const access_allowed_clipboard_local_to_remote_formats: JsonSchema = { "items": { - "$ref": "#/$defs/access_rdp_clipboard_format" + "enum": [ + "text", + "file" + ], + "type": "string" }, "type": "array" }; @@ -43,7 +47,11 @@ export const access_allowed_clipboard_local_to_remote_formats: JsonSchema = { */ export const access_allowed_clipboard_remote_to_local_formats: JsonSchema = { "items": { - "$ref": "#/$defs/access_rdp_clipboard_format" + "enum": [ + "text", + "file" + ], + "type": "string" }, "type": "array" }; @@ -97,13 +105,6 @@ export const access_approval_groups: JsonSchema = { "type": "array" }; -/** - * The schema of `access_approval_required` in responses. - */ -export const access_approval_required: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_auth_context_rule` in responses. */ @@ -191,31 +192,39 @@ export const access_azure_group_rule: JsonSchema = { export const access_base_policy_resp: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "decision": { - "$ref": "#/$defs/access_decision" + "enum": [ + "allow", + "deny", + "non_identity", + "bypass" + ], + "type": "string" }, "exclude": { "$ref": "#/$defs/access_exclude-2" }, "id": { - "$ref": "#/$defs/access_uuid-2" + "type": "string" }, "include": { "$ref": "#/$defs/access_include-2" }, "name": { - "$ref": "#/$defs/access_name-9" + "type": "string" }, "policy_resolution_account_id": { - "$ref": "#/$defs/access_policy_resolution_account_id" + "type": "string" }, "require": { "$ref": "#/$defs/access_require-2" }, "updated_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -244,7 +253,7 @@ export const access_cloudflare_account_member_rule: JsonSchema = { "cloudflare_account_member": { "properties": { "account_id": { - "$ref": "#/$defs/access_identifier" + "type": "string" } }, "type": "object" @@ -329,19 +338,6 @@ export const access_country_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `access_decision` in responses. - */ -export const access_decision: JsonSchema = { - "enum": [ - "allow", - "deny", - "non_identity", - "bypass" - ], - "type": "string" -}; - /** * The schema of `access_device_posture_rule` in responses. */ @@ -350,7 +346,7 @@ export const access_device_posture_rule: JsonSchema = { "device_posture": { "properties": { "account_id": { - "$ref": "#/$defs/access_identifier" + "type": "string" }, "integration_uid": { "type": "string" @@ -391,13 +387,6 @@ export const access_domain_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `access_email-2` in responses. - */ -export const access_email$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_email_list_rule` in responses. */ @@ -566,7 +555,7 @@ export const access_id_response$$3: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/access_uuid" + "type": "string" } }, "type": "object" @@ -633,13 +622,6 @@ export const access_ip_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `access_isolation_required` in responses. - */ -export const access_isolation_required: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_linked_app_token_rule` in responses. */ @@ -712,20 +694,6 @@ export const access_mfa_config: JsonSchema = { "type": "object" }; -/** - * The schema of `access_name-10` in responses. - */ -export const access_name$$10: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_name-9` in responses. - */ -export const access_name$$9: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_oidc_claim_rule` in responses. */ @@ -784,13 +752,6 @@ export const access_okta_group_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `access_policy_resolution_account_id` in responses. - */ -export const access_policy_resolution_account_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_policy_resp` in responses. */ @@ -802,25 +763,32 @@ export const access_policy_resp: JsonSchema = { "$ref": "#/$defs/access_approval_groups" }, "approval_required": { - "$ref": "#/$defs/access_approval_required" + "type": "boolean" }, "connection_rules": { "$ref": "#/$defs/access_connection_rules" }, "isolation_required": { - "$ref": "#/$defs/access_isolation_required" + "type": "boolean" }, "mfa_config": { "$ref": "#/$defs/access_mfa_config" }, "purpose_justification_prompt": { - "$ref": "#/$defs/access_purpose_justification_prompt" + "type": "string" }, "purpose_justification_required": { - "$ref": "#/$defs/access_purpose_justification_required" + "type": "boolean" }, "session_duration": { - "$ref": "#/$defs/access_session_duration-3" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" @@ -831,31 +799,6 @@ export const access_policy_resp: JsonSchema = { ] }; -/** - * The schema of `access_purpose_justification_prompt` in responses. - */ -export const access_purpose_justification_prompt: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_purpose_justification_required` in responses. - */ -export const access_purpose_justification_required: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_rdp_clipboard_format` in responses. - */ -export const access_rdp_clipboard_format: JsonSchema = { - "enum": [ - "text", - "file" - ], - "type": "string" -}; - /** * The schema of `access_require-2` in responses. */ @@ -1036,20 +979,6 @@ export const access_service_token_tag_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `access_session_duration-3` in responses. - */ -export const access_session_duration$$3: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `access_user_risk_score_rule` in responses. */ @@ -1082,10 +1011,3 @@ export const access_user_risk_score_rule: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `access_uuid-2` in responses. - */ -export const access_uuid$$2: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts index d9a00706c..70325d9b3 100644 --- a/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/policies/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_app_count` in responses. - */ -export const access_app_count: JsonSchema = { - "type": "integer" -}; - /** * The schema of `access_id_response-4` in responses. */ @@ -23,7 +16,7 @@ export const access_id_response$$4: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/access_uuid-2" + "type": "string" } }, "type": "object" @@ -67,10 +60,10 @@ export const access_reusable_policy_resp: JsonSchema = { { "properties": { "account_id": { - "$ref": "#/$defs/access_identifier" + "type": "string" }, "app_count": { - "$ref": "#/$defs/access_app_count" + "type": "integer" }, "reusable": { "enum": [ diff --git a/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts index 30c8fae72..d6046ef2d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/policies/tools.ts @@ -7,11 +7,8 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_identifier, access_messages, - access_timestamp, } from "../../outputs.js"; -import { access_identifier as access_identifier$ } from "../../schemas.js"; import { access_access_group_rule, access_allowed_clipboard_local_to_remote_formats, @@ -19,7 +16,6 @@ import { access_any_valid_service_token_rule, access_approval_group, access_approval_groups, - access_approval_required, access_auth_context_rule, access_authentication_method_rule, access_azure_group_rule, @@ -30,7 +26,6 @@ import { access_connection_rules, access_connection_rules_rdp, access_country_rule, - access_decision, access_device_posture_rule, access_domain_rule, access_email_list_rule, @@ -43,26 +38,18 @@ import { access_include$$2, access_ip_list_rule, access_ip_rule, - access_isolation_required, access_linked_app_token_rule, access_login_method_rule, access_mfa_config, - access_name$$9, access_oidc_claim_rule, access_okta_group_rule, - access_policy_resolution_account_id, access_policy_resp, - access_purpose_justification_prompt, - access_purpose_justification_required, - access_rdp_clipboard_format, access_require$$2, access_rule, access_saml_group_rule, access_service_token_rule, access_service_token_tag_rule, - access_session_duration$$3, access_user_risk_score_rule, - access_uuid$$2, } from "../outputs.js"; import { access_access_group_rule as access_access_group_rule$, @@ -71,7 +58,6 @@ import { access_any_valid_service_token_rule as access_any_valid_service_token_rule$, access_approval_group as access_approval_group$, access_approval_groups as access_approval_groups$, - access_approval_required as access_approval_required$, access_auth_context_rule as access_auth_context_rule$, access_authentication_method_rule as access_authentication_method_rule$, access_azure_group_rule as access_azure_group_rule$, @@ -82,7 +68,6 @@ import { access_connection_rules as access_connection_rules$, access_connection_rules_rdp as access_connection_rules_rdp$, access_country_rule as access_country_rule$, - access_decision as access_decision$, access_device_posture_rule as access_device_posture_rule$, access_domain_rule as access_domain_rule$, access_email_list_rule as access_email_list_rule$, @@ -95,29 +80,20 @@ import { access_include$$2 as access_include$$2$, access_ip_list_rule as access_ip_list_rule$, access_ip_rule as access_ip_rule$, - access_isolation_required as access_isolation_required$, access_linked_app_token_rule as access_linked_app_token_rule$, access_login_method_rule as access_login_method_rule$, access_mfa_config as access_mfa_config$, - access_name$$9 as access_name$$9$, access_oidc_claim_rule as access_oidc_claim_rule$, access_okta_group_rule as access_okta_group_rule$, access_policy_req, - access_policy_resolution_account_id as access_policy_resolution_account_id$, - access_purpose_justification_prompt as access_purpose_justification_prompt$, - access_purpose_justification_required as access_purpose_justification_required$, - access_rdp_clipboard_format as access_rdp_clipboard_format$, access_require$$2 as access_require$$2$, access_rule as access_rule$, access_saml_group_rule as access_saml_group_rule$, access_service_token_rule as access_service_token_rule$, access_service_token_tag_rule as access_service_token_tag_rule$, - access_session_duration$$3 as access_session_duration$$3$, access_user_risk_score_rule as access_user_risk_score_rule$, - access_uuid$$2 as access_uuid$$2$, } from "../schemas.js"; import { - access_app_count, access_id_response$$4, access_response_collection$$10, access_reusable_policy_resp, @@ -131,7 +107,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_policies_create", title: "Create an Access reusable policy", - description: "Creates a new Access reusable policy.", + description: "Creates a new Access reusable policy.\n\nPOST /accounts/{account_id}/access/policies", inputSchema: { type: "object", properties: { @@ -139,10 +115,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_policy_req" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -155,6 +132,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_access_group_rule": access_access_group_rule$, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats$, @@ -162,7 +140,6 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, "access_approval_group": access_approval_group$, "access_approval_groups": access_approval_groups$, - "access_approval_required": access_approval_required$, "access_auth_context_rule": access_auth_context_rule$, "access_authentication_method_rule": access_authentication_method_rule$, "access_azure_group_rule": access_azure_group_rule$, @@ -173,7 +150,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules$, "access_connection_rules_rdp": access_connection_rules_rdp$, "access_country_rule": access_country_rule$, - "access_decision": access_decision$, "access_device_posture_rule": access_device_posture_rule$, "access_domain_rule": access_domain_rule$, "access_email_list_rule": access_email_list_rule$, @@ -183,28 +159,20 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule$, "access_github_organization_rule": access_github_organization_rule$, "access_gsuite_group_rule": access_gsuite_group_rule$, - "access_identifier": access_identifier$, "access_include-2": access_include$$2$, "access_ip_list_rule": access_ip_list_rule$, "access_ip_rule": access_ip_rule$, - "access_isolation_required": access_isolation_required$, "access_linked_app_token_rule": access_linked_app_token_rule$, "access_login_method_rule": access_login_method_rule$, "access_mfa_config": access_mfa_config$, - "access_name-9": access_name$$9$, "access_oidc_claim_rule": access_oidc_claim_rule$, "access_okta_group_rule": access_okta_group_rule$, "access_policy_req": access_policy_req, - "access_policy_resolution_account_id": access_policy_resolution_account_id$, - "access_purpose_justification_prompt": access_purpose_justification_prompt$, - "access_purpose_justification_required": access_purpose_justification_required$, - "access_rdp_clipboard_format": access_rdp_clipboard_format$, "access_require-2": access_require$$2$, "access_rule": access_rule$, "access_saml_group_rule": access_saml_group_rule$, "access_service_token_rule": access_service_token_rule$, "access_service_token_tag_rule": access_service_token_tag_rule$, - "access_session_duration-3": access_session_duration$$3$, "access_user_risk_score_rule": access_user_risk_score_rule$, }, }, @@ -216,10 +184,8 @@ export const tools: readonly Tool[] = [ "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-single": access_api$$response$$single, - "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -230,7 +196,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules, "access_connection_rules_rdp": access_connection_rules_rdp, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -240,34 +205,24 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_reusable_policy_resp": access_reusable_policy_resp, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, "access_single_response-11": access_single_response$$11, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -300,10 +255,8 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -314,7 +267,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules, "access_connection_rules_rdp": access_connection_rules_rdp, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -324,34 +276,24 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_reusable_policy_resp": access_reusable_policy_resp, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, "access_single_response-11": access_single_response$$11, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -362,19 +304,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_policies_delete", title: "Delete an Access reusable policy", - description: "Deletes an Access reusable policy.", + description: "Deletes an Access reusable policy.\n\nDELETE /accounts/{account_id}/access/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/access_uuid-2", - "description": "The UUID of the policy" + "description": "The UUID of the policy", + "type": "string" } }, "required": [ @@ -387,10 +330,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - "access_uuid-2": access_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_id_response-4", @@ -398,7 +338,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response-4": access_id_response$$4, "access_messages": access_messages, - "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -429,7 +368,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response-4": access_id_response$$4, "access_messages": access_messages, - "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -439,19 +377,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_policies_get", title: "Get an Access reusable policy", - description: "Fetches a single Access reusable policy.", + description: "Fetches a single Access reusable policy.\n\nGET /accounts/{account_id}/access/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/access_uuid-2", - "description": "The UUID of the policy" + "description": "The UUID of the policy", + "type": "string" } }, "required": [ @@ -464,10 +403,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - "access_uuid-2": access_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-11", @@ -477,10 +413,8 @@ export const tools: readonly Tool[] = [ "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-single": access_api$$response$$single, - "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -491,7 +425,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules, "access_connection_rules_rdp": access_connection_rules_rdp, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -501,34 +434,24 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_reusable_policy_resp": access_reusable_policy_resp, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, "access_single_response-11": access_single_response$$11, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -562,10 +485,8 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -576,7 +497,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules, "access_connection_rules_rdp": access_connection_rules_rdp, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -586,34 +506,24 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_reusable_policy_resp": access_reusable_policy_resp, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, "access_single_response-11": access_single_response$$11, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -623,15 +533,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_policies_list", title: "List Access reusable policies", - description: "Lists Access reusable policies.", + description: "Lists Access reusable policies.\n\nGET /accounts/{account_id}/access/policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -640,6 +551,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -658,9 +570,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-10", @@ -671,10 +581,8 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -685,7 +593,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules, "access_connection_rules_rdp": access_connection_rules_rdp, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -695,23 +602,16 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_response_collection-10": access_response_collection$$10, "access_reusable_policy_resp": access_reusable_policy_resp, @@ -719,10 +619,7 @@ export const tools: readonly Tool[] = [ "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -757,10 +654,8 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -771,7 +666,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules, "access_connection_rules_rdp": access_connection_rules_rdp, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -781,23 +675,16 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_response_collection-10": access_response_collection$$10, "access_reusable_policy_resp": access_reusable_policy_resp, @@ -805,10 +692,7 @@ export const tools: readonly Tool[] = [ "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ @@ -822,7 +706,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_policies_update", title: "Update an Access reusable policy", - description: "Updates a Access reusable policy.", + description: "Updates a Access reusable policy.\n\nPUT /accounts/{account_id}/access/policies/{policy_id}", inputSchema: { type: "object", properties: { @@ -830,14 +714,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_policy_req" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "policy_id": { - "$ref": "#/$defs/access_uuid-2", - "description": "The UUID of the policy" + "description": "The UUID of the policy", + "type": "string" } }, "required": [ @@ -851,6 +736,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_access_group_rule": access_access_group_rule$, "access_allowed_clipboard_local_to_remote_formats": access_allowed_clipboard_local_to_remote_formats$, @@ -858,7 +744,6 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, "access_approval_group": access_approval_group$, "access_approval_groups": access_approval_groups$, - "access_approval_required": access_approval_required$, "access_auth_context_rule": access_auth_context_rule$, "access_authentication_method_rule": access_authentication_method_rule$, "access_azure_group_rule": access_azure_group_rule$, @@ -869,7 +754,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules$, "access_connection_rules_rdp": access_connection_rules_rdp$, "access_country_rule": access_country_rule$, - "access_decision": access_decision$, "access_device_posture_rule": access_device_posture_rule$, "access_domain_rule": access_domain_rule$, "access_email_list_rule": access_email_list_rule$, @@ -879,30 +763,21 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule$, "access_github_organization_rule": access_github_organization_rule$, "access_gsuite_group_rule": access_gsuite_group_rule$, - "access_identifier": access_identifier$, "access_include-2": access_include$$2$, "access_ip_list_rule": access_ip_list_rule$, "access_ip_rule": access_ip_rule$, - "access_isolation_required": access_isolation_required$, "access_linked_app_token_rule": access_linked_app_token_rule$, "access_login_method_rule": access_login_method_rule$, "access_mfa_config": access_mfa_config$, - "access_name-9": access_name$$9$, "access_oidc_claim_rule": access_oidc_claim_rule$, "access_okta_group_rule": access_okta_group_rule$, "access_policy_req": access_policy_req, - "access_policy_resolution_account_id": access_policy_resolution_account_id$, - "access_purpose_justification_prompt": access_purpose_justification_prompt$, - "access_purpose_justification_required": access_purpose_justification_required$, - "access_rdp_clipboard_format": access_rdp_clipboard_format$, "access_require-2": access_require$$2$, "access_rule": access_rule$, "access_saml_group_rule": access_saml_group_rule$, "access_service_token_rule": access_service_token_rule$, "access_service_token_tag_rule": access_service_token_tag_rule$, - "access_session_duration-3": access_session_duration$$3$, "access_user_risk_score_rule": access_user_risk_score_rule$, - "access_uuid-2": access_uuid$$2$, }, }, outputSchema: { @@ -913,10 +788,8 @@ export const tools: readonly Tool[] = [ "access_allowed_clipboard_remote_to_local_formats": access_allowed_clipboard_remote_to_local_formats, "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-single": access_api$$response$$single, - "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -927,7 +800,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules, "access_connection_rules_rdp": access_connection_rules_rdp, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -937,34 +809,24 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_reusable_policy_resp": access_reusable_policy_resp, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, "access_single_response-11": access_single_response$$11, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid-2": access_uuid$$2, }, }, annotations: { @@ -997,10 +859,8 @@ export const tools: readonly Tool[] = [ "access_any_valid_service_token_rule": access_any_valid_service_token_rule, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_app_count": access_app_count, "access_approval_group": access_approval_group, "access_approval_groups": access_approval_groups, - "access_approval_required": access_approval_required, "access_auth_context_rule": access_auth_context_rule, "access_authentication_method_rule": access_authentication_method_rule, "access_azure_group_rule": access_azure_group_rule, @@ -1011,7 +871,6 @@ export const tools: readonly Tool[] = [ "access_connection_rules": access_connection_rules, "access_connection_rules_rdp": access_connection_rules_rdp, "access_country_rule": access_country_rule, - "access_decision": access_decision, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -1021,34 +880,24 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule, "access_github_organization_rule": access_github_organization_rule, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include-2": access_include$$2, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, - "access_isolation_required": access_isolation_required, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, "access_mfa_config": access_mfa_config, - "access_name-9": access_name$$9, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, - "access_policy_resolution_account_id": access_policy_resolution_account_id, "access_policy_resp": access_policy_resp, - "access_purpose_justification_prompt": access_purpose_justification_prompt, - "access_purpose_justification_required": access_purpose_justification_required, - "access_rdp_clipboard_format": access_rdp_clipboard_format, "access_require-2": access_require$$2, "access_reusable_policy_resp": access_reusable_policy_resp, "access_rule": access_rule, "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_session_duration-3": access_session_duration$$3, "access_single_response-11": access_single_response$$11, - "access_timestamp": access_timestamp, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid-2": access_uuid$$2, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts index 660933217..9b4c12e11 100644 --- a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/outputs.ts @@ -19,13 +19,21 @@ export const access_exclude: JsonSchema = { export const access_groups$$2: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "exclude": { "$ref": "#/$defs/access_exclude" }, "id": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "include": { "$ref": "#/$defs/access_include" @@ -34,13 +42,21 @@ export const access_groups$$2: JsonSchema = { "$ref": "#/$defs/access_require" }, "name": { - "$ref": "#/$defs/access_name-6" + "type": "string" }, "require": { "$ref": "#/$defs/access_require" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" @@ -56,13 +72,6 @@ export const access_include: JsonSchema = { "type": "array" }; -/** - * The schema of `access_name-6` in responses. - */ -export const access_name$$6: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_require` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/schemas.ts index 3881dab25..f2c63b6f8 100644 --- a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/schemas.ts @@ -25,22 +25,6 @@ export const access_include: JsonSchema = { "type": "array" }; -/** - * The schema of `access_is_default`. - */ -export const access_is_default: JsonSchema = { - "description": "Whether this is the default group", - "type": "boolean" -}; - -/** - * The schema of `access_name-6`. - */ -export const access_name$$6: JsonSchema = { - "description": "The name of the Access group.", - "type": "string" -}; - /** * The schema of `access_require`. */ diff --git a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts index 8c9fac908..d54b1b975 100644 --- a/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/ruleGroups/tools.ts @@ -7,18 +7,9 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_created_at, access_id_response, - access_identifier, access_messages, - access_timestamp, - access_updated_at, - access_uuid, } from "../../outputs.js"; -import { - access_identifier as access_identifier$, - access_uuid as access_uuid$, -} from "../../schemas.js"; import { access_access_group_rule, access_any_valid_service_token_rule, @@ -83,7 +74,6 @@ import { access_exclude, access_groups$$2, access_include, - access_name$$6, access_require, access_response_collection$$2, access_single_response$$4, @@ -91,8 +81,6 @@ import { import { access_exclude as access_exclude$, access_include as access_include$, - access_is_default, - access_name$$6 as access_name$$6$, access_require as access_require$, } from "./schemas.js"; @@ -103,7 +91,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_ruleGroups_create", title: "Create an Access group", - description: "Creates a new Access group.", + description: "Creates a new Access group.\n\nPOST /{account_or_zone}/{account_or_zone_id}/access/groups", inputSchema: { type: "object", properties: { @@ -118,12 +106,12 @@ export const tools: readonly Tool[] = [ "description": "Rules evaluated with an OR logical operator. A user needs to meet only one of the Include rules." }, "is_default": { - "$ref": "#/$defs/access_is_default", - "description": "Whether this is the default group" + "description": "Whether this is the default group", + "type": "boolean" }, "name": { - "$ref": "#/$defs/access_name-6", - "description": "The name of the Access group." + "description": "The name of the Access group.", + "type": "string" }, "require": { "$ref": "#/$defs/access_require", @@ -137,6 +125,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -147,8 +136,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -162,6 +151,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_access_group_rule": access_access_group_rule$, "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, @@ -181,14 +171,11 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule$, "access_github_organization_rule": access_github_organization_rule$, "access_gsuite_group_rule": access_gsuite_group_rule$, - "access_identifier": access_identifier$, "access_include": access_include$, "access_ip_list_rule": access_ip_list_rule$, "access_ip_rule": access_ip_rule$, - "access_is_default": access_is_default, "access_linked_app_token_rule": access_linked_app_token_rule$, "access_login_method_rule": access_login_method_rule$, - "access_name-6": access_name$$6$, "access_oidc_claim_rule": access_oidc_claim_rule$, "access_okta_group_rule": access_okta_group_rule$, "access_require": access_require$, @@ -212,7 +199,6 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -223,14 +209,12 @@ export const tools: readonly Tool[] = [ "access_github_organization_rule": access_github_organization_rule, "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, - "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -239,10 +223,7 @@ export const tools: readonly Tool[] = [ "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, "access_single_response-4": access_single_response$$4, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid": access_uuid, }, }, annotations: { @@ -280,7 +261,6 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -291,14 +271,12 @@ export const tools: readonly Tool[] = [ "access_github_organization_rule": access_github_organization_rule, "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, - "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -307,10 +285,7 @@ export const tools: readonly Tool[] = [ "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, "access_single_response-4": access_single_response$$4, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -321,11 +296,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_ruleGroups_delete", title: "Delete an Access group", - description: "Deletes an Access group.", + description: "Deletes an Access group.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/access/groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -336,12 +312,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "group_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -355,10 +331,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_id_response", @@ -366,7 +339,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, annotations: { @@ -397,7 +369,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -407,11 +378,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_ruleGroups_get", title: "Get an Access group", - description: "Fetches a single Access group.", + description: "Fetches a single Access group.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -422,12 +394,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "group_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -441,10 +413,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-4", @@ -459,7 +428,6 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -470,14 +438,12 @@ export const tools: readonly Tool[] = [ "access_github_organization_rule": access_github_organization_rule, "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, - "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -486,10 +452,7 @@ export const tools: readonly Tool[] = [ "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, "access_single_response-4": access_single_response$$4, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid": access_uuid, }, }, annotations: { @@ -528,7 +491,6 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -539,14 +501,12 @@ export const tools: readonly Tool[] = [ "access_github_organization_rule": access_github_organization_rule, "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, - "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -555,10 +515,7 @@ export const tools: readonly Tool[] = [ "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, "access_single_response-4": access_single_response$$4, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -568,11 +525,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_ruleGroups_list", title: "List Access groups", - description: "Lists all Access groups.", + description: "Lists all Access groups.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -583,8 +541,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -594,6 +552,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "description": "The name of the group.", @@ -620,9 +579,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-2", @@ -638,7 +595,6 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -649,14 +605,12 @@ export const tools: readonly Tool[] = [ "access_github_organization_rule": access_github_organization_rule, "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, - "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -665,10 +619,7 @@ export const tools: readonly Tool[] = [ "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid": access_uuid, }, }, annotations: { @@ -708,7 +659,6 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -719,14 +669,12 @@ export const tools: readonly Tool[] = [ "access_github_organization_rule": access_github_organization_rule, "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, - "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -735,10 +683,7 @@ export const tools: readonly Tool[] = [ "access_saml_group_rule": access_saml_group_rule, "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -754,7 +699,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_ruleGroups_update", title: "Update an Access group", - description: "Updates a configured Access group.", + description: "Updates a configured Access group.\n\nPUT /{account_or_zone}/{account_or_zone_id}/access/groups/{group_id}", inputSchema: { type: "object", properties: { @@ -769,12 +714,12 @@ export const tools: readonly Tool[] = [ "description": "Rules evaluated with an OR logical operator. A user needs to meet only one of the Include rules." }, "is_default": { - "$ref": "#/$defs/access_is_default", - "description": "Whether this is the default group" + "description": "Whether this is the default group", + "type": "boolean" }, "name": { - "$ref": "#/$defs/access_name-6", - "description": "The name of the Access group." + "description": "The name of the Access group.", + "type": "string" }, "require": { "$ref": "#/$defs/access_require", @@ -788,6 +733,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -798,12 +744,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "group_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -818,6 +764,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_access_group_rule": access_access_group_rule$, "access_any_valid_service_token_rule": access_any_valid_service_token_rule$, @@ -837,14 +784,11 @@ export const tools: readonly Tool[] = [ "access_external_evaluation_rule": access_external_evaluation_rule$, "access_github_organization_rule": access_github_organization_rule$, "access_gsuite_group_rule": access_gsuite_group_rule$, - "access_identifier": access_identifier$, "access_include": access_include$, "access_ip_list_rule": access_ip_list_rule$, "access_ip_rule": access_ip_rule$, - "access_is_default": access_is_default, "access_linked_app_token_rule": access_linked_app_token_rule$, "access_login_method_rule": access_login_method_rule$, - "access_name-6": access_name$$6$, "access_oidc_claim_rule": access_oidc_claim_rule$, "access_okta_group_rule": access_okta_group_rule$, "access_require": access_require$, @@ -853,7 +797,6 @@ export const tools: readonly Tool[] = [ "access_service_token_rule": access_service_token_rule$, "access_service_token_tag_rule": access_service_token_tag_rule$, "access_user_risk_score_rule": access_user_risk_score_rule$, - "access_uuid": access_uuid$, }, }, outputSchema: { @@ -869,7 +812,6 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -880,14 +822,12 @@ export const tools: readonly Tool[] = [ "access_github_organization_rule": access_github_organization_rule, "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, - "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -896,10 +836,7 @@ export const tools: readonly Tool[] = [ "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, "access_single_response-4": access_single_response$$4, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid": access_uuid, }, }, annotations: { @@ -937,7 +874,6 @@ export const tools: readonly Tool[] = [ "access_cloudflare_account_member_rule": access_cloudflare_account_member_rule, "access_common_name_rule": access_common_name_rule, "access_country_rule": access_country_rule, - "access_created_at": access_created_at, "access_device_posture_rule": access_device_posture_rule, "access_domain_rule": access_domain_rule, "access_email_list_rule": access_email_list_rule, @@ -948,14 +884,12 @@ export const tools: readonly Tool[] = [ "access_github_organization_rule": access_github_organization_rule, "access_groups-2": access_groups$$2, "access_gsuite_group_rule": access_gsuite_group_rule, - "access_identifier": access_identifier, "access_include": access_include, "access_ip_list_rule": access_ip_list_rule, "access_ip_rule": access_ip_rule, "access_linked_app_token_rule": access_linked_app_token_rule, "access_login_method_rule": access_login_method_rule, "access_messages": access_messages, - "access_name-6": access_name$$6, "access_oidc_claim_rule": access_oidc_claim_rule, "access_okta_group_rule": access_okta_group_rule, "access_require": access_require, @@ -964,10 +898,7 @@ export const tools: readonly Tool[] = [ "access_service_token_rule": access_service_token_rule, "access_service_token_tag_rule": access_service_token_tag_rule, "access_single_response-4": access_single_response$$4, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_risk_score_rule": access_user_risk_score_rule, - "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts index f37ee0596..f9f942dd4 100644 --- a/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/samlEncryptionCertificates/tools.ts @@ -9,7 +9,6 @@ import { access_api$$response$$single, access_messages, } from "../../outputs.js"; -import { access_identifier, access_uuid } from "../../schemas.js"; import { access_certificate_set_list_response, access_certificate_set_response, @@ -24,19 +23,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_samlEncryptionCertificates_get", title: "Get SAML certificate set", - description: "Retrieves a specific SAML encryption certificate set by its UID, including both current and previous certificates if available.", + description: "Retrieves a specific SAML encryption certificate set by its UID, including both current and previous certificates if available.\n\nGET /accounts/{account_id}/access/saml_certificates/{saml_cert_set_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "saml_cert_set_id": { - "$ref": "#/$defs/access_uuid", - "description": "UID of the SAML certificate set." + "description": "UID of the SAML certificate set.", + "type": "string" } }, "required": [ @@ -49,10 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_certificate_set_response", @@ -101,19 +98,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_samlEncryptionCertificates_getPem", title: "Download current certificate in PEM format", - description: "Downloads the current SAML encryption certificate's public key in PEM format for the specified certificate set. This endpoint is useful for providing the certificate to Identity Providers for SAML assertion encryption configuration.", + description: "Downloads the current SAML encryption certificate's public key in PEM format for the specified certificate set. This endpoint is useful for providing the certificate to Identity Providers for SAML assertion encryption configuration.\n\nGET /accounts/{account_id}/access/saml_certificates/{saml_cert_set_id}/pem", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "saml_cert_set_id": { - "$ref": "#/$defs/access_uuid", - "description": "UID of the SAML certificate set." + "description": "UID of the SAML certificate set.", + "type": "string" } }, "required": [ @@ -126,10 +124,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -162,15 +157,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_samlEncryptionCertificates_list", title: "List SAML certificate sets", - description: "Returns a paginated list of the organization's SAML encryption certificate sets.\nEach certificate set includes the current and (if present) previous certificates.", + description: "Returns a paginated list of the organization's SAML encryption certificate sets.\nEach certificate set includes the current and (if present) previous certificates.\n\nGET /accounts/{account_id}/access/saml_certificates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -179,6 +175,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "id": { "description": "Filter by SAML certificate set UID. Accepts a comma-separated list of UIDs.", @@ -201,9 +198,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_certificate_set_list_response", @@ -256,19 +251,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_samlEncryptionCertificates_rotate", title: "Rotate SAML certificate", - description: "Rotates the SAML encryption certificates within the specified certificate set. This generates a new\ncertificate and moves the current certificate to the previous slot. If a previous certificate exists,\nit will be deactivated and removed.\n\nThis endpoint ensures zero-downtime rotation by maintaining both current and previous certificates \nduring the transition period, allowing IdPs time to update their configurations. Automated rotation\nhappens 30 days before a current certificate's expiration.", + description: "Rotates the SAML encryption certificates within the specified certificate set. This generates a new\ncertificate and moves the current certificate to the previous slot. If a previous certificate exists,\nit will be deactivated and removed.\n\nThis endpoint ensures zero-downtime rotation by maintaining both current and previous certificates \nduring the transition period, allowing IdPs time to update their configurations. Automated rotation\nhappens 30 days before a current certificate's expiration.\n\nPOST /accounts/{account_id}/access/saml_certificates/{saml_cert_set_id}/rotate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "saml_cert_set_id": { - "$ref": "#/$defs/access_uuid", - "description": "UID of the SAML certificate set to rotate." + "description": "UID of the SAML certificate set to rotate.", + "type": "string" } }, "required": [ @@ -281,10 +277,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_certificate_set_response", diff --git a/src/generated/forge-mcp/zeroTrust/access/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/schemas.ts index 9524b976e..db86dda3f 100644 --- a/src/generated/forge-mcp/zeroTrust/access/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/schemas.ts @@ -34,7 +34,12 @@ export const access_access_group_rule: JsonSchema = { export const access_allowed_clipboard_local_to_remote_formats: JsonSchema = { "description": "Clipboard formats allowed when copying from local machine to remote RDP session.", "items": { - "$ref": "#/$defs/access_rdp_clipboard_format" + "description": "Clipboard format for RDP connections.", + "enum": [ + "text", + "file" + ], + "type": "string" }, "type": "array" }; @@ -45,7 +50,12 @@ export const access_allowed_clipboard_local_to_remote_formats: JsonSchema = { export const access_allowed_clipboard_remote_to_local_formats: JsonSchema = { "description": "Clipboard formats allowed when copying from remote RDP session to local machine.", "items": { - "$ref": "#/$defs/access_rdp_clipboard_format" + "description": "Clipboard format for RDP connections.", + "enum": [ + "text", + "file" + ], + "type": "string" }, "type": "array" }; @@ -106,14 +116,6 @@ export const access_approval_groups: JsonSchema = { "type": "array" }; -/** - * The schema of `access_approval_required`. - */ -export const access_approval_required: JsonSchema = { - "description": "Requires the user to request access from an administrator at the start of each session.", - "type": "boolean" -}; - /** * The schema of `access_auth_context_rule`. */ @@ -210,8 +212,14 @@ export const access_azure_group_rule: JsonSchema = { export const access_base_policy_req: JsonSchema = { "properties": { "decision": { - "$ref": "#/$defs/access_decision", - "description": "The action Access will take if a user matches this policy. Infrastructure application policies can only use the Allow action." + "description": "The action Access will take if a user matches this policy. Infrastructure application policies can only use the Allow action.", + "enum": [ + "allow", + "deny", + "non_identity", + "bypass" + ], + "type": "string" }, "exclude": { "$ref": "#/$defs/access_exclude-2", @@ -224,12 +232,12 @@ export const access_base_policy_req: JsonSchema = { "description": "Rules evaluated with an OR logical operator. A user needs to meet only one of the Include rules." }, "name": { - "$ref": "#/$defs/access_name-9", - "description": "The name of the Access policy." + "description": "The name of the Access policy.", + "type": "string" }, "policy_resolution_account_id": { - "$ref": "#/$defs/access_policy_resolution_account_id", - "description": "The account ID used to resolve policy resources and identity for cross-account WARP authentication. The account must be trusted by the account that owns this policy." + "description": "The account ID used to resolve policy resources and identity for cross-account WARP authentication. The account must be trusted by the account that owns this policy.", + "type": "string" }, "require": { "$ref": "#/$defs/access_require-2", @@ -270,8 +278,8 @@ export const access_cloudflare_account_member_rule: JsonSchema = { "cloudflare_account_member": { "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "type": "object" @@ -365,20 +373,6 @@ export const access_country_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `access_decision`. - */ -export const access_decision: JsonSchema = { - "description": "The action Access will take if a user matches this policy. Infrastructure application policies can only use the Allow action.", - "enum": [ - "allow", - "deny", - "non_identity", - "bypass" - ], - "type": "string" -}; - /** * The schema of `access_device_posture_rule`. */ @@ -388,8 +382,8 @@ export const access_device_posture_rule: JsonSchema = { "device_posture": { "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "The ID of the account that owns the device posture integration." + "description": "The ID of the account that owns the device posture integration.", + "type": "string" }, "integration_uid": { "description": "The ID of a device posture integration.", @@ -433,14 +427,6 @@ export const access_domain_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `access_email-2`. - */ -export const access_email$$2: JsonSchema = { - "description": "The email of the user.", - "type": "string" -}; - /** * The schema of `access_email_list_rule`. */ @@ -674,14 +660,6 @@ export const access_ip_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `access_isolation_required`. - */ -export const access_isolation_required: JsonSchema = { - "description": "Require this application to be served in an isolated browser for users matching this policy. 'Client Web Isolation' must be on for the account in order to use this feature.", - "type": "boolean" -}; - /** * The schema of `access_linked_app_token_rule`. */ @@ -762,22 +740,6 @@ export const access_mfa_config: JsonSchema = { "type": "object" }; -/** - * The schema of `access_name-10`. - */ -export const access_name$$10: JsonSchema = { - "description": "The name of the user.", - "type": "string" -}; - -/** - * The schema of `access_name-9`. - */ -export const access_name$$9: JsonSchema = { - "description": "The name of the Access policy.", - "type": "string" -}; - /** * The schema of `access_oidc_claim_rule`. */ @@ -855,32 +817,39 @@ export const access_policy_req: JsonSchema = { "description": "Administrators who can approve a temporary authentication request." }, "approval_required": { - "$ref": "#/$defs/access_approval_required", - "description": "Requires the user to request access from an administrator at the start of each session." + "description": "Requires the user to request access from an administrator at the start of each session.", + "type": "boolean" }, "connection_rules": { "$ref": "#/$defs/access_connection_rules", "description": "The rules that define how users may connect to targets secured by your application." }, "isolation_required": { - "$ref": "#/$defs/access_isolation_required", - "description": "Require this application to be served in an isolated browser for users matching this policy. 'Client Web Isolation' must be on for the account in order to use this feature." + "description": "Require this application to be served in an isolated browser for users matching this policy. 'Client Web Isolation' must be on for the account in order to use this feature.", + "type": "boolean" }, "mfa_config": { "$ref": "#/$defs/access_mfa_config", "description": "Configures multi-factor authentication (MFA) settings." }, "purpose_justification_prompt": { - "$ref": "#/$defs/access_purpose_justification_prompt", - "description": "A custom message that will appear on the purpose justification screen." + "description": "A custom message that will appear on the purpose justification screen.", + "type": "string" }, "purpose_justification_required": { - "$ref": "#/$defs/access_purpose_justification_required", - "description": "Require users to enter a justification when they log in to the application." + "description": "Require users to enter a justification when they log in to the application.", + "type": "boolean" }, "session_duration": { - "$ref": "#/$defs/access_session_duration-3", - "description": "The amount of time that tokens issued for the application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h." + "description": "The amount of time that tokens issued for the application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "type": "object" @@ -891,42 +860,6 @@ export const access_policy_req: JsonSchema = { ] }; -/** - * The schema of `access_policy_resolution_account_id`. - */ -export const access_policy_resolution_account_id: JsonSchema = { - "description": "The account ID used to resolve policy resources and identity for cross-account WARP authentication. The account must be trusted by the account that owns this policy.", - "type": "string" -}; - -/** - * The schema of `access_purpose_justification_prompt`. - */ -export const access_purpose_justification_prompt: JsonSchema = { - "description": "A custom message that will appear on the purpose justification screen.", - "type": "string" -}; - -/** - * The schema of `access_purpose_justification_required`. - */ -export const access_purpose_justification_required: JsonSchema = { - "description": "Require users to enter a justification when they log in to the application.", - "type": "boolean" -}; - -/** - * The schema of `access_rdp_clipboard_format`. - */ -export const access_rdp_clipboard_format: JsonSchema = { - "description": "Clipboard format for RDP connections.", - "enum": [ - "text", - "file" - ], - "type": "string" -}; - /** * The schema of `access_require-2`. */ @@ -1117,21 +1050,6 @@ export const access_service_token_tag_rule: JsonSchema = { "type": "object" }; -/** - * The schema of `access_session_duration-3`. - */ -export const access_session_duration$$3: JsonSchema = { - "description": "The amount of time that tokens issued for the application will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `access_user_risk_score_rule`. */ @@ -1166,11 +1084,3 @@ export const access_user_risk_score_rule: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `access_uuid-2`. - */ -export const access_uuid$$2: JsonSchema = { - "description": "The UUID of the policy", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts index 1265cbe1f..b6bca920a 100644 --- a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_client_secret` in responses. - */ -export const access_client_secret: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_create_response` in responses. */ @@ -23,31 +16,47 @@ export const access_create_response: JsonSchema = { "result": { "properties": { "client_id": { - "$ref": "#/$defs/access_client_id" + "type": "string" }, "client_secret": { - "$ref": "#/$defs/access_client_secret" + "type": "string" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "duration": { - "$ref": "#/$defs/access_duration" + "type": "string" }, "enabled": { - "$ref": "#/$defs/access_enabled" + "type": "boolean" }, "id": { "type": "string" }, "name": { - "$ref": "#/$defs/access_name-2" + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/schemas.ts deleted file mode 100644 index 9f80db164..000000000 --- a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/schemas.ts +++ /dev/null @@ -1,21 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `access_client_secret_version`. - */ -export const access_client_secret_version: JsonSchema = { - "description": "A version number identifying the current `client_secret` associated with the service token. Incrementing it triggers a rotation; the previous secret will still be accepted until the time indicated by `previous_client_secret_expires_at`. If the service token was reported as leaked, `previous_client_secret_expires_at` is not required, may not be in the future, and the previous secret is discarded immediately.", - "type": "number" -}; - -/** - * The schema of `access_previous_client_secret_expires_at`. - */ -export const access_previous_client_secret_expires_at: JsonSchema = { - "description": "The expiration of the previous `client_secret`. This can be modified at any point after a rotation. For example, you may extend it further into the future if you need more time to update services with the new secret; or move it into the past to immediately invalidate the previous token in case of compromise. Rotating a service token that was reported as leaked discards the previous secret entirely, so no grace period can be set.", - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts index b19795bc5..570579c7b 100644 --- a/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/serviceTokens/tools.ts @@ -7,39 +7,16 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_client_id, - access_created_at, - access_duration, - access_enabled, - access_leak_report_url, - access_leak_reported_at, - access_leak_reporter, access_messages, - access_name$$2, access_service$$tokens, access_single_response$$2, access_tags, - access_timestamp, - access_updated_at, - access_uuid, } from "../../outputs.js"; +import { access_tags as access_tags$ } from "../../schemas.js"; import { - access_duration as access_duration$, - access_enabled as access_enabled$, - access_identifier, - access_name$$2 as access_name$$2$, - access_tags as access_tags$, - access_uuid as access_uuid$, -} from "../../schemas.js"; -import { - access_client_secret, access_create_response, access_response_collection$$4, } from "./outputs.js"; -import { - access_client_secret_version, - access_previous_client_secret_expires_at, -} from "./schemas.js"; /** * The tools of `zeroTrust.access.serviceTokens`. @@ -48,33 +25,34 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_serviceTokens_create", title: "Create a service token", - description: "Generates a new service token. **Note:** This is the only time you can get the Client Secret. If you lose the Client Secret, you will have to rotate the Client Secret or create a new service token.", + description: "Generates a new service token. **Note:** This is the only time you can get the Client Secret. If you lose the Client Secret, you will have to rotate the Client Secret or create a new service token.\n\nPOST /{account_or_zone}/{account_or_zone_id}/access/service_tokens", inputSchema: { type: "object", properties: { "body": { "properties": { "client_secret_version": { - "$ref": "#/$defs/access_client_secret_version", "default": 1, - "description": "A version number identifying the current `client_secret` associated with the service token. Incrementing it triggers a rotation; the previous secret will still be accepted until the time indicated by `previous_client_secret_expires_at`. If the service token was reported as leaked, `previous_client_secret_expires_at` is not required, may not be in the future, and the previous secret is discarded immediately." + "description": "A version number identifying the current `client_secret` associated with the service token. Incrementing it triggers a rotation; the previous secret will still be accepted until the time indicated by `previous_client_secret_expires_at`. If the service token was reported as leaked, `previous_client_secret_expires_at` is not required, may not be in the future, and the previous secret is discarded immediately.", + "type": "number" }, "duration": { - "$ref": "#/$defs/access_duration", "default": "8760h", - "description": "The duration for how long the service token will be valid. Must be in the format `300ms` or `2h45m`, or the special value `forever` for non-expiring tokens. Valid time units are: ns, us (or µs), ms, s, m, h. The default is 1 year in hours (8760h)." + "description": "The duration for how long the service token will be valid. Must be in the format `300ms` or `2h45m`, or the special value `forever` for non-expiring tokens. Valid time units are: ns, us (or µs), ms, s, m, h. The default is 1 year in hours (8760h).", + "type": "string" }, "enabled": { - "$ref": "#/$defs/access_enabled", - "description": "Whether the service token is enabled. A disabled service token cannot be used to authenticate; both its current and previous `client_secret` stop being accepted, but the token itself is preserved and can be re-enabled. A service token reported as leaked is disabled automatically and cannot be re-enabled until its secret is rotated; attempting to do so returns a 409. Defaults to enabled when omitted on create." + "description": "Whether the service token is enabled. A disabled service token cannot be used to authenticate; both its current and previous `client_secret` stop being accepted, but the token itself is preserved and can be re-enabled. A service token reported as leaked is disabled automatically and cannot be re-enabled until its secret is rotated; attempting to do so returns a 409. Defaults to enabled when omitted on create.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/access_name-2", - "description": "The name of the service token." + "description": "The name of the service token.", + "type": "string" }, "previous_client_secret_expires_at": { - "$ref": "#/$defs/access_previous_client_secret_expires_at", - "description": "The expiration of the previous `client_secret`. This can be modified at any point after a rotation. For example, you may extend it further into the future if you need more time to update services with the new secret; or move it into the past to immediately invalidate the previous token in case of compromise. Rotating a service token that was reported as leaked discards the previous secret entirely, so no grace period can be set." + "description": "The expiration of the previous `client_secret`. This can be modified at any point after a rotation. For example, you may extend it further into the future if you need more time to update services with the new secret; or move it into the past to immediately invalidate the previous token in case of compromise. Rotating a service token that was reported as leaked discards the previous secret entirely, so no grace period can be set.", + "format": "date-time", + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags", @@ -87,6 +65,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -97,8 +76,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -112,13 +91,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_client_secret_version": access_client_secret_version, - "access_duration": access_duration$, - "access_enabled": access_enabled$, - "access_identifier": access_identifier, - "access_name-2": access_name$$2$, - "access_previous_client_secret_expires_at": access_previous_client_secret_expires_at, "access_tags": access_tags$, }, }, @@ -126,17 +100,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_create_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_client_secret": access_client_secret, "access_create_response": access_create_response, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -165,17 +131,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_client_secret": access_client_secret, "access_create_response": access_create_response, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -186,11 +144,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_serviceTokens_delete", title: "Delete a service token", - description: "Deletes a service token.", + description: "Deletes a service token.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/access/service_tokens/{service_token_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -201,12 +160,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -220,30 +179,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-2", $defs: { "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -272,21 +217,10 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -296,11 +230,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_serviceTokens_get", title: "Get a service token", - description: "Fetches a single service token.", + description: "Fetches a single service token.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/service_tokens/{service_token_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -311,12 +246,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -330,30 +265,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-2", $defs: { "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -383,21 +304,10 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -407,11 +317,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_serviceTokens_list", title: "List service tokens", - description: "Lists all service tokens.", + description: "Lists all service tokens.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/service_tokens", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -422,8 +333,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -433,6 +344,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "description": "The name of the service token.", @@ -459,30 +371,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-4", $defs: { "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_response_collection-4": access_response_collection$$4, "access_service-tokens": access_service$$tokens, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -513,21 +412,10 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_response_collection-4": access_response_collection$$4, "access_service-tokens": access_service$$tokens, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -543,19 +431,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_serviceTokens_refresh", title: "Refresh a service token", - description: "Refreshes the expiration of a service token.", + description: "Refreshes the expiration of a service token.\n\nPOST /accounts/{account_id}/access/service_tokens/{service_token_id}/refresh", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -568,30 +457,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-2", $defs: { "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -620,21 +495,10 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -644,7 +508,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_serviceTokens_rotate", title: "Rotate a service token", - description: "Generates a new Client Secret for a service token and revokes the old one.", + description: "Generates a new Client Secret for a service token and revokes the old one.\n\nPOST /accounts/{account_id}/access/service_tokens/{service_token_id}/rotate", inputSchema: { type: "object", properties: { @@ -659,14 +523,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -679,26 +544,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_create_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_client_secret": access_client_secret, "access_create_response": access_create_response, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -722,17 +576,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_client_secret": access_client_secret, "access_create_response": access_create_response, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -743,33 +589,34 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_serviceTokens_update", title: "Update a service token", - description: "Updates a configured service token.", + description: "Updates a configured service token.\n\nPUT /{account_or_zone}/{account_or_zone_id}/access/service_tokens/{service_token_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "client_secret_version": { - "$ref": "#/$defs/access_client_secret_version", "default": 1, - "description": "A version number identifying the current `client_secret` associated with the service token. Incrementing it triggers a rotation; the previous secret will still be accepted until the time indicated by `previous_client_secret_expires_at`. If the service token was reported as leaked, `previous_client_secret_expires_at` is not required, may not be in the future, and the previous secret is discarded immediately." + "description": "A version number identifying the current `client_secret` associated with the service token. Incrementing it triggers a rotation; the previous secret will still be accepted until the time indicated by `previous_client_secret_expires_at`. If the service token was reported as leaked, `previous_client_secret_expires_at` is not required, may not be in the future, and the previous secret is discarded immediately.", + "type": "number" }, "duration": { - "$ref": "#/$defs/access_duration", "default": "8760h", - "description": "The duration for how long the service token will be valid. Must be in the format `300ms` or `2h45m`, or the special value `forever` for non-expiring tokens. Valid time units are: ns, us (or µs), ms, s, m, h. The default is 1 year in hours (8760h)." + "description": "The duration for how long the service token will be valid. Must be in the format `300ms` or `2h45m`, or the special value `forever` for non-expiring tokens. Valid time units are: ns, us (or µs), ms, s, m, h. The default is 1 year in hours (8760h).", + "type": "string" }, "enabled": { - "$ref": "#/$defs/access_enabled", - "description": "Whether the service token is enabled. A disabled service token cannot be used to authenticate; both its current and previous `client_secret` stop being accepted, but the token itself is preserved and can be re-enabled. A service token reported as leaked is disabled automatically and cannot be re-enabled until its secret is rotated; attempting to do so returns a 409. Defaults to enabled when omitted on create." + "description": "Whether the service token is enabled. A disabled service token cannot be used to authenticate; both its current and previous `client_secret` stop being accepted, but the token itself is preserved and can be re-enabled. A service token reported as leaked is disabled automatically and cannot be re-enabled until its secret is rotated; attempting to do so returns a 409. Defaults to enabled when omitted on create.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/access_name-2", - "description": "The name of the service token." + "description": "The name of the service token.", + "type": "string" }, "previous_client_secret_expires_at": { - "$ref": "#/$defs/access_previous_client_secret_expires_at", - "description": "The expiration of the previous `client_secret`. This can be modified at any point after a rotation. For example, you may extend it further into the future if you need more time to update services with the new secret; or move it into the past to immediately invalidate the previous token in case of compromise. Rotating a service token that was reported as leaked discards the previous secret entirely, so no grace period can be set." + "description": "The expiration of the previous `client_secret`. This can be modified at any point after a rotation. For example, you may extend it further into the future if you need more time to update services with the new secret; or move it into the past to immediately invalidate the previous token in case of compromise. Rotating a service token that was reported as leaked discards the previous secret entirely, so no grace period can be set.", + "format": "date-time", + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags", @@ -779,6 +626,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -789,12 +637,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "service_token_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -809,36 +657,19 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_client_secret_version": access_client_secret_version, - "access_duration": access_duration$, - "access_enabled": access_enabled$, - "access_identifier": access_identifier, - "access_name-2": access_name$$2$, - "access_previous_client_secret_expires_at": access_previous_client_secret_expires_at, "access_tags": access_tags$, - "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-2", $defs: { "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -867,21 +698,10 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts index 422f97ef0..8b06e8441 100644 --- a/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/signingKeys/outputs.ts @@ -3,46 +3,25 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_days_until_next_rotation` in responses. - */ -export const access_days_until_next_rotation: JsonSchema = { - "type": "number" -}; - /** * The schema of `access_key_config` in responses. */ export const access_key_config: JsonSchema = { "properties": { "days_until_next_rotation": { - "$ref": "#/$defs/access_days_until_next_rotation" + "type": "number" }, "key_rotation_interval_days": { - "$ref": "#/$defs/access_key_rotation_interval_days" + "type": "number" }, "last_key_rotation_at": { - "$ref": "#/$defs/access_last_key_rotation_at" + "format": "date-time", + "type": "string" } }, "type": "object" }; -/** - * The schema of `access_key_rotation_interval_days` in responses. - */ -export const access_key_rotation_interval_days: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `access_last_key_rotation_at` in responses. - */ -export const access_last_key_rotation_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `access_single_response-13` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/access/signingKeys/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/signingKeys/schemas.ts deleted file mode 100644 index 2d8a668a9..000000000 --- a/src/generated/forge-mcp/zeroTrust/access/signingKeys/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `access_key_rotation_interval_days`. - */ -export const access_key_rotation_interval_days: JsonSchema = { - "description": "The number of days between key rotations.", - "type": "number" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts b/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts index cd1838336..413141206 100644 --- a/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/signingKeys/tools.ts @@ -7,15 +7,7 @@ import { access_api$$response$$single, access_messages, } from "../../outputs.js"; -import { access_identifier } from "../../schemas.js"; -import { - access_days_until_next_rotation, - access_key_config, - access_key_rotation_interval_days, - access_last_key_rotation_at, - access_single_response$$13, -} from "./outputs.js"; -import { access_key_rotation_interval_days as access_key_rotation_interval_days$ } from "./schemas.js"; +import { access_key_config, access_single_response$$13 } from "./outputs.js"; /** * The tools of `zeroTrust.access.signingKeys`. @@ -24,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_signingKeys_get", title: "Get the Access key configuration", - description: "Gets the Access key rotation settings for an account.", + description: "Gets the Access key rotation settings for an account.\n\nGET /accounts/{account_id}/access/keys", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -44,18 +37,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-13", $defs: { "access_api-response-single": access_api$$response$$single, - "access_days_until_next_rotation": access_days_until_next_rotation, "access_key_config": access_key_config, - "access_key_rotation_interval_days": access_key_rotation_interval_days, - "access_last_key_rotation_at": access_last_key_rotation_at, "access_messages": access_messages, "access_single_response-13": access_single_response$$13, }, @@ -87,10 +75,7 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_days_until_next_rotation": access_days_until_next_rotation, "access_key_config": access_key_config, - "access_key_rotation_interval_days": access_key_rotation_interval_days, - "access_last_key_rotation_at": access_last_key_rotation_at, "access_messages": access_messages, "access_single_response-13": access_single_response$$13, }, @@ -102,15 +87,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_signingKeys_rotate", title: "Rotate Access keys", - description: "Perfoms a key rotation for an account.", + description: "Perfoms a key rotation for an account.\n\nPOST /accounts/{account_id}/access/keys/rotate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -122,18 +108,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-13", $defs: { "access_api-response-single": access_api$$response$$single, - "access_days_until_next_rotation": access_days_until_next_rotation, "access_key_config": access_key_config, - "access_key_rotation_interval_days": access_key_rotation_interval_days, - "access_last_key_rotation_at": access_last_key_rotation_at, "access_messages": access_messages, "access_single_response-13": access_single_response$$13, }, @@ -164,10 +145,7 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_days_until_next_rotation": access_days_until_next_rotation, "access_key_config": access_key_config, - "access_key_rotation_interval_days": access_key_rotation_interval_days, - "access_last_key_rotation_at": access_last_key_rotation_at, "access_messages": access_messages, "access_single_response-13": access_single_response$$13, }, @@ -179,15 +157,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_signingKeys_update", title: "Update the Access key configuration", - description: "Updates the Access key rotation settings for an account.", + description: "Updates the Access key rotation settings for an account.\n\nPUT /accounts/{account_id}/access/keys", inputSchema: { type: "object", properties: { "body": { "properties": { "key_rotation_interval_days": { - "$ref": "#/$defs/access_key_rotation_interval_days", - "description": "The number of days between key rotations." + "description": "The number of days between key rotations.", + "type": "number" } }, "required": [ @@ -196,10 +174,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -212,19 +191,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "access_identifier": access_identifier, - "access_key_rotation_interval_days": access_key_rotation_interval_days$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-13", $defs: { "access_api-response-single": access_api$$response$$single, - "access_days_until_next_rotation": access_days_until_next_rotation, "access_key_config": access_key_config, - "access_key_rotation_interval_days": access_key_rotation_interval_days, - "access_last_key_rotation_at": access_last_key_rotation_at, "access_messages": access_messages, "access_single_response-13": access_single_response$$13, }, @@ -255,10 +228,7 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_days_until_next_rotation": access_days_until_next_rotation, "access_key_config": access_key_config, - "access_key_rotation_interval_days": access_key_rotation_interval_days, - "access_last_key_rotation_at": access_last_key_rotation_at, "access_messages": access_messages, "access_single_response-13": access_single_response$$13, }, diff --git a/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts index 658eadc68..b56a7284c 100644 --- a/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/tags/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_name-13` in responses. - */ -export const access_name$$13: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_name_response` in responses. */ @@ -23,7 +16,7 @@ export const access_name_response: JsonSchema = { "result": { "properties": { "name": { - "$ref": "#/$defs/access_name-13" + "type": "string" } }, "type": "object" @@ -81,13 +74,29 @@ export const access_single_response$$15: JsonSchema = { export const access_tag: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "name": { - "$ref": "#/$defs/access_name-13" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/access/tags/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/tags/schemas.ts index 8e8d0e309..aab168f94 100644 --- a/src/generated/forge-mcp/zeroTrust/access/tags/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/tags/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_name-13`. - */ -export const access_name$$13: JsonSchema = { - "description": "The name of the tag", - "type": "string" -}; - /** * The schema of `access_tag_without_app_count`. */ @@ -18,14 +10,30 @@ export const access_tag_without_app_count: JsonSchema = { "description": "A tag", "properties": { "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "name": { - "$ref": "#/$defs/access_name-13", - "description": "The name of the tag" + "description": "The name of the tag", + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts b/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts index 89e49db2e..4916208a5 100644 --- a/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/tags/tools.ts @@ -7,28 +7,15 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_created_at, access_messages, - access_timestamp, - access_updated_at, } from "../../outputs.js"; import { - access_created_at as access_created_at$, - access_identifier, - access_timestamp as access_timestamp$, - access_updated_at as access_updated_at$, -} from "../../schemas.js"; -import { - access_name$$13, access_name_response, access_response_collection$$16, access_single_response$$15, access_tag, } from "./outputs.js"; -import { - access_name$$13 as access_name$$13$, - access_tag_without_app_count, -} from "./schemas.js"; +import { access_tag_without_app_count } from "./schemas.js"; /** * The tools of `zeroTrust.access.tags`. @@ -37,24 +24,25 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_tags_create", title: "Create a tag", - description: "Create a tag", + description: "Create a tag\n\nPOST /accounts/{account_id}/access/tags", inputSchema: { type: "object", properties: { "body": { "properties": { "name": { - "$ref": "#/$defs/access_name-13", - "description": "The name of the tag" + "description": "The name of the tag", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -66,22 +54,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_name-13": access_name$$13$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-15", $defs: { "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_single_response-15": access_single_response$$15, "access_tag": access_tag, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -105,13 +86,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_single_response-15": access_single_response$$15, "access_tag": access_tag, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -122,19 +99,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_tags_delete", title: "Delete a tag", - description: "Delete a tag", + description: "Delete a tag\n\nDELETE /accounts/{account_id}/access/tags/{tag_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "tag_name": { - "$ref": "#/$defs/access_name-13", - "description": "The name of the tag" + "description": "The name of the tag", + "type": "string" } }, "required": [ @@ -147,17 +125,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_name-13": access_name$$13$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_name_response", $defs: { "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_name_response": access_name_response, }, }, @@ -183,7 +157,6 @@ export const tools: readonly Tool[] = [ "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_name_response": access_name_response, }, }, @@ -194,19 +167,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_tags_get", title: "Get a tag", - description: "Get a tag", + description: "Get a tag\n\nGET /accounts/{account_id}/access/tags/{tag_name}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "tag_name": { - "$ref": "#/$defs/access_name-13", - "description": "The name of the tag" + "description": "The name of the tag", + "type": "string" } }, "required": [ @@ -219,22 +193,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_name-13": access_name$$13$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-15", $defs: { "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_single_response-15": access_single_response$$15, "access_tag": access_tag, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -258,13 +225,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_single_response-15": access_single_response$$15, "access_tag": access_tag, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -274,15 +237,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_tags_list", title: "List tags", - description: "List tags", + description: "List tags\n\nGET /accounts/{account_id}/access/tags", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -291,6 +255,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -309,22 +274,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-16", $defs: { "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_created_at": access_created_at, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_response_collection-16": access_response_collection$$16, "access_tag": access_tag, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -349,13 +308,9 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_created_at": access_created_at, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_response_collection-16": access_response_collection$$16, "access_tag": access_tag, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ @@ -369,7 +324,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_tags_update", title: "Update a tag", - description: "Update a tag", + description: "Update a tag\n\nPUT /accounts/{account_id}/access/tags/{tag_name}", inputSchema: { type: "object", properties: { @@ -377,14 +332,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_tag_without_app_count" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "tag_name": { - "$ref": "#/$defs/access_name-13", - "description": "The name of the tag" + "description": "The name of the tag", + "type": "string" } }, "required": [ @@ -397,26 +353,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "access_created_at": access_created_at$, - "access_identifier": access_identifier, - "access_name-13": access_name$$13$, "access_tag_without_app_count": access_tag_without_app_count, - "access_timestamp": access_timestamp$, - "access_updated_at": access_updated_at$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-15", $defs: { "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_single_response-15": access_single_response$$15, "access_tag": access_tag, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, annotations: { @@ -440,13 +388,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, - "access_name-13": access_name$$13, "access_single_response-15": access_single_response$$15, "access_tag": access_tag, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/bulk/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/targets/bulk/schemas.ts index 5e4848286..48de265b4 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/bulk/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/bulk/schemas.ts @@ -15,8 +15,9 @@ export const infra_BatchReplaceTargetTagsItem: JsonSchema = { "type": "object" }, "target_id": { - "$ref": "#/$defs/infra_TargetId", - "description": "Target identifier" + "description": "Target identifier", + "format": "uuid", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts b/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts index 6c0db5932..67832d6f8 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/bulk/tools.ts @@ -7,17 +7,8 @@ import { infra_api$$response$$single, infra_messages, } from "../../../../outputs.js"; -import { infra_AccountTag } from "../../../../schemas.js"; -import { - infra_IPInfo, - infra_Target, - infra_TargetArray, - infra_TargetId, -} from "../outputs.js"; -import { - infra_IPInfo as infra_IPInfo$, - infra_TargetId as infra_TargetId$, -} from "../schemas.js"; +import { infra_IPInfo, infra_Target, infra_TargetArray } from "../outputs.js"; +import { infra_IPInfo as infra_IPInfo$ } from "../schemas.js"; import { infra_BatchReplaceTargetTagsItem } from "./schemas.js"; /** @@ -27,7 +18,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_targets_bulk_delete", title: "Delete targets", - description: "Removes one or more targets.", + description: "Removes one or more targets.\n\nPOST /accounts/{account_id}/infrastructure/targets/batch_delete", inputSchema: { type: "object", properties: { @@ -36,7 +27,9 @@ export const tools: readonly Tool[] = [ "target_ids": { "description": "List of target IDs to bulk delete", "items": { - "$ref": "#/$defs/infra_TargetId" + "description": "Target identifier", + "format": "uuid", + "type": "string" }, "type": "array" } @@ -47,10 +40,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" } }, "required": [ @@ -63,10 +57,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "infra_AccountTag": infra_AccountTag, - "infra_TargetId": infra_TargetId$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, @@ -97,7 +88,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_targets_bulk_replaceTags", title: "Replace tags on existing targets", - description: "Replaces tags for one or more existing infrastructure access targets.", + description: "Replaces tags for one or more existing infrastructure access targets.\n\nPOST /accounts/{account_id}/infrastructure/targets/batch_tags", inputSchema: { type: "object", properties: { @@ -116,10 +107,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" } }, "required": [ @@ -132,10 +124,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "infra_AccountTag": infra_AccountTag, "infra_BatchReplaceTargetTagsItem": infra_BatchReplaceTargetTagsItem, - "infra_TargetId": infra_TargetId$, }, }, outputSchema: { @@ -156,7 +147,6 @@ export const tools: readonly Tool[] = [ "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, "infra_TargetArray": infra_TargetArray, - "infra_TargetId": infra_TargetId, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, }, @@ -200,7 +190,6 @@ export const tools: readonly Tool[] = [ "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, "infra_TargetArray": infra_TargetArray, - "infra_TargetId": infra_TargetId, "infra_api-response-common-failure": infra_api$$response$$common$$failure, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, @@ -214,7 +203,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_targets_bulk_update", title: "Create new targets", - description: "Adds one or more targets.", + description: "Adds one or more targets.\n\nPUT /accounts/{account_id}/infrastructure/targets/batch", inputSchema: { type: "object", properties: { @@ -253,10 +242,11 @@ export const tools: readonly Tool[] = [ "type": "array" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" } }, "required": [ @@ -269,8 +259,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "infra_AccountTag": infra_AccountTag, "infra_IPInfo": infra_IPInfo$, }, }, @@ -292,7 +282,6 @@ export const tools: readonly Tool[] = [ "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, "infra_TargetArray": infra_TargetArray, - "infra_TargetId": infra_TargetId, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, }, @@ -336,7 +325,6 @@ export const tools: readonly Tool[] = [ "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, "infra_TargetArray": infra_TargetArray, - "infra_TargetId": infra_TargetId, "infra_api-response-common-failure": infra_api$$response$$common$$failure, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts index 58be35866..0ecff040e 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/outputs.ts @@ -49,7 +49,8 @@ export const infra_Target: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/infra_TargetId" + "format": "uuid", + "type": "string" }, "ip": { "$ref": "#/$defs/infra_IPInfo" @@ -91,11 +92,3 @@ export const infra_TargetArray: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `infra_TargetId` in responses. - */ -export const infra_TargetId: JsonSchema = { - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/targets/schemas.ts index 3dfc447d5..7897230f2 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/schemas.ts @@ -42,23 +42,3 @@ export const infra_IPInfo: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `infra_SortingDirection`. - */ -export const infra_SortingDirection: JsonSchema = { - "enum": [ - "asc", - "desc" - ], - "type": "string" -}; - -/** - * The schema of `infra_TargetId`. - */ -export const infra_TargetId: JsonSchema = { - "description": "Target identifier", - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts b/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts index 9680fa84c..d1b556c2d 100644 --- a/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/targets/tools.ts @@ -9,18 +9,8 @@ import { infra_api$$response$$single, infra_messages, } from "../../../outputs.js"; -import { infra_AccountTag } from "../../../schemas.js"; -import { - infra_IPInfo, - infra_Target, - infra_TargetArray, - infra_TargetId, -} from "./outputs.js"; -import { - infra_IPInfo as infra_IPInfo$, - infra_SortingDirection, - infra_TargetId as infra_TargetId$, -} from "./schemas.js"; +import { infra_IPInfo, infra_Target, infra_TargetArray } from "./outputs.js"; +import { infra_IPInfo as infra_IPInfo$ } from "./schemas.js"; /** * The tools of `zeroTrust.access.targets`. @@ -29,7 +19,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_targets_create", title: "Create new target", - description: "Creates a new infrastructure access target in the account.", + description: "Creates a new infrastructure access target in the account.\n\nPOST /accounts/{account_id}/infrastructure/targets", inputSchema: { type: "object", properties: { @@ -65,10 +55,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" } }, "required": [ @@ -81,8 +72,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "infra_AccountTag": infra_AccountTag, "infra_IPInfo": infra_IPInfo$, }, }, @@ -103,7 +94,6 @@ export const tools: readonly Tool[] = [ $defs: { "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, - "infra_TargetId": infra_TargetId, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, }, @@ -141,7 +131,6 @@ export const tools: readonly Tool[] = [ $defs: { "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, - "infra_TargetId": infra_TargetId, "infra_api-response-common-failure": infra_api$$response$$common$$failure, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, @@ -155,19 +144,21 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_targets_delete", title: "Delete target", - description: "Removes a single infrastructure access target by its ID.", + description: "Removes a single infrastructure access target by its ID.\n\nDELETE /accounts/{account_id}/infrastructure/targets/{target_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" }, "target_id": { - "$ref": "#/$defs/infra_TargetId", - "description": "Target identifier" + "description": "Target identifier", + "format": "uuid", + "type": "string" } }, "required": [ @@ -180,10 +171,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "infra_AccountTag": infra_AccountTag, - "infra_TargetId": infra_TargetId$, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -213,19 +201,21 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_targets_get", title: "Get target", - description: "Fetches a single infrastructure access target by its ID.", + description: "Fetches a single infrastructure access target by its ID.\n\nGET /accounts/{account_id}/infrastructure/targets/{target_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" }, "target_id": { - "$ref": "#/$defs/infra_TargetId", - "description": "Target identifier" + "description": "Target identifier", + "format": "uuid", + "type": "string" } }, "required": [ @@ -238,10 +228,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "infra_AccountTag": infra_AccountTag, - "infra_TargetId": infra_TargetId$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -260,7 +247,6 @@ export const tools: readonly Tool[] = [ $defs: { "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, - "infra_TargetId": infra_TargetId, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, }, @@ -298,7 +284,6 @@ export const tools: readonly Tool[] = [ $defs: { "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, - "infra_TargetId": infra_TargetId, "infra_api-response-common-failure": infra_api$$response$$common$$failure, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, @@ -311,15 +296,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_targets_list", title: "List all targets", - description: "Lists and sorts an account's targets. Filters are optional and are ANDed\ntogether.", + description: "Lists and sorts an account's targets. Filters are optional and are ANDed\ntogether.\n\nGET /accounts/{account_id}/infrastructure/targets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" } }, "required": [ @@ -328,6 +314,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "created_after": { "description": "Date and time at which the target was created after (inclusive)", @@ -354,8 +341,12 @@ export const tools: readonly Tool[] = [ ] }, "direction": { - "$ref": "#/$defs/infra_SortingDirection", - "description": "The sorting direction." + "description": "The sorting direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" }, "hostname": { "description": "Hostname of a target", @@ -539,10 +530,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "infra_AccountTag": infra_AccountTag, - "infra_SortingDirection": infra_SortingDirection, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -562,7 +550,6 @@ export const tools: readonly Tool[] = [ "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, "infra_TargetArray": infra_TargetArray, - "infra_TargetId": infra_TargetId, "infra_api-response-collection": infra_api$$response$$collection, "infra_api-response-common": infra_api$$response$$common, "infra_messages": infra_messages, @@ -602,7 +589,6 @@ export const tools: readonly Tool[] = [ "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, "infra_TargetArray": infra_TargetArray, - "infra_TargetId": infra_TargetId, "infra_api-response-collection": infra_api$$response$$collection, "infra_api-response-common": infra_api$$response$$common, "infra_api-response-common-failure": infra_api$$response$$common$$failure, @@ -639,7 +625,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_targets_update", title: "Update target", - description: "Updates an existing infrastructure access target by its ID.", + description: "Updates an existing infrastructure access target by its ID.\n\nPUT /accounts/{account_id}/infrastructure/targets/{target_id}", inputSchema: { type: "object", properties: { @@ -675,14 +661,16 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/infra_AccountTag", - "description": "Account identifier" + "description": "Account identifier", + "type": "string" }, "target_id": { - "$ref": "#/$defs/infra_TargetId", - "description": "Target identifier" + "description": "Target identifier", + "format": "uuid", + "type": "string" } }, "required": [ @@ -696,10 +684,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "infra_AccountTag": infra_AccountTag, "infra_IPInfo": infra_IPInfo$, - "infra_TargetId": infra_TargetId$, }, }, outputSchema: { @@ -719,7 +706,6 @@ export const tools: readonly Tool[] = [ $defs: { "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, - "infra_TargetId": infra_TargetId, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, }, @@ -757,7 +743,6 @@ export const tools: readonly Tool[] = [ $defs: { "infra_IPInfo": infra_IPInfo, "infra_Target": infra_Target, - "infra_TargetId": infra_TargetId, "infra_api-response-common-failure": infra_api$$response$$common$$failure, "infra_api-response-single": infra_api$$response$$single, "infra_messages": infra_messages, diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts index d1262c0b8..9257b29c5 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/outputs.ts @@ -50,16 +50,32 @@ export const access_single_response$$5: JsonSchema = { export const access_user_population: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "id": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "name": { - "$ref": "#/$defs/access_user_population_name" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "required": [ @@ -70,10 +86,3 @@ export const access_user_population: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `access_user_population_name` in responses. - */ -export const access_user_population_name: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/schemas.ts index fb6cee4cf..163ce2945 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/schemas.ts @@ -3,22 +3,14 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_user_population_name`. - */ -export const access_user_population_name: JsonSchema = { - "description": "The name of the user population. Leading and trailing whitespace is trimmed before validation. After trimming, the name must contain at least one non-whitespace character and must not exceed 128 UTF-8 bytes.\n", - "type": "string" -}; - /** * The schema of `access_user_population_request`. */ export const access_user_population_request: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/access_user_population_name", - "description": "The name of the user population. Leading and trailing whitespace is trimmed before validation. After trimming, the name must contain at least one non-whitespace character and must not exceed 128 UTF-8 bytes.\n" + "description": "The name of the user population. Leading and trailing whitespace is trimmed before validation. After trimming, the name must contain at least one non-whitespace character and must not exceed 128 UTF-8 bytes.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts index 488d30973..bf21e2076 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/tools.ts @@ -7,27 +7,15 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_created_at, access_id_response, access_messages, - access_timestamp, - access_updated_at, - access_uuid, } from "../../outputs.js"; -import { - access_identifier, - access_uuid as access_uuid$, -} from "../../schemas.js"; import { access_response_collection$$3, access_single_response$$5, access_user_population, - access_user_population_name, } from "./outputs.js"; -import { - access_user_population_name as access_user_population_name$, - access_user_population_request, -} from "./schemas.js"; +import { access_user_population_request } from "./schemas.js"; /** * The tools of `zeroTrust.access.userPopulations`. @@ -36,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_create", title: "Create a user population", - description: "Creates a user population in an account.", + description: "Creates a user population in an account.\n\nPOST /accounts/{account_id}/access/user_populations", inputSchema: { type: "object", properties: { @@ -44,10 +32,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_user_population_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -60,9 +49,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_identifier": access_identifier, - "access_user_population_name": access_user_population_name$, "access_user_population_request": access_user_population_request, }, }, @@ -70,14 +58,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_single_response-5", $defs: { "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, "access_single_response-5": access_single_response$$5, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_population": access_user_population, - "access_user_population_name": access_user_population_name, - "access_uuid": access_uuid, }, }, annotations: { @@ -101,14 +84,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, "access_single_response-5": access_single_response$$5, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_population": access_user_population, - "access_user_population_name": access_user_population_name, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -119,19 +97,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_delete", title: "Delete a user population", - description: "Deletes a user population that is not attached to an application.", + description: "Deletes a user population that is not attached to an application.\n\nDELETE /accounts/{account_id}/access/user_populations/{user_population_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -144,10 +123,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_id_response", @@ -155,7 +131,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, annotations: { @@ -181,7 +156,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -191,19 +165,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_get", title: "Get a user population", - description: "Fetches a user population.", + description: "Fetches a user population.\n\nGET /accounts/{account_id}/access/user_populations/{user_population_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -216,23 +191,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-5", $defs: { "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, "access_single_response-5": access_single_response$$5, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_population": access_user_population, - "access_user_population_name": access_user_population_name, - "access_uuid": access_uuid, }, }, annotations: { @@ -256,14 +223,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, "access_single_response-5": access_single_response$$5, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_population": access_user_population, - "access_user_population_name": access_user_population_name, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -273,15 +235,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_list", title: "List user populations", - description: "Lists the user populations in an account.", + description: "Lists the user populations in an account.\n\nGET /accounts/{account_id}/access/user_populations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -290,6 +253,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -308,23 +272,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-3", $defs: { "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_created_at": access_created_at, "access_messages": access_messages, "access_response_collection-3": access_response_collection$$3, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_population": access_user_population, - "access_user_population_name": access_user_population_name, - "access_uuid": access_uuid, }, }, annotations: { @@ -349,14 +306,9 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_created_at": access_created_at, "access_messages": access_messages, "access_response_collection-3": access_response_collection$$3, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_population": access_user_population, - "access_user_population_name": access_user_population_name, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -370,7 +322,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_update", title: "Update a user population", - description: "Updates a user population's name.", + description: "Updates a user population's name.\n\nPUT /accounts/{account_id}/access/user_populations/{user_population_id}", inputSchema: { type: "object", properties: { @@ -378,14 +330,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_user_population_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -399,25 +352,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_identifier": access_identifier, - "access_user_population_name": access_user_population_name$, "access_user_population_request": access_user_population_request, - "access_uuid": access_uuid$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response-5", $defs: { "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, "access_single_response-5": access_single_response$$5, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_population": access_user_population, - "access_user_population_name": access_user_population_name, - "access_uuid": access_uuid, }, }, annotations: { @@ -441,14 +387,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, "access_messages": access_messages, "access_single_response-5": access_single_response$$5, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, "access_user_population": access_user_population, - "access_user_population_name": access_user_population_name, - "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts index b3f67c0db..35d8abbcf 100644 --- a/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/userPopulations/users/tools.ts @@ -7,7 +7,6 @@ import { access_api$$response$$single, access_messages, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; import { access_scim_email, access_scim_meta, @@ -32,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_users_create", title: "Create a user population user", - description: "Creates a SCIM user in a user population.", + description: "Creates a SCIM user in a user population.\n\nPOST /accounts/{account_id}/access/user_populations/{user_population_id}/users", inputSchema: { type: "object", properties: { @@ -40,14 +39,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_scim_user" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -61,13 +61,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_identifier": access_identifier, "access_scim_email": access_scim_email$, "access_scim_meta": access_scim_meta$, "access_scim_name": access_scim_name$, "access_scim_user": access_scim_user$, - "access_uuid": access_uuid, }, }, outputSchema: { @@ -119,23 +118,24 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_users_delete", title: "Delete a user population user", - description: "Deletes a SCIM user from a user population.", + description: "Deletes a SCIM user from a user population.\n\nDELETE /accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { "description": "The SCIM user identifier.", "type": "string" }, "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -149,10 +149,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -182,23 +179,24 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_users_get", title: "Get a user population user", - description: "Fetches a SCIM user from a user population.", + description: "Fetches a SCIM user from a user population.\n\nGET /accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { "description": "The SCIM user identifier.", "type": "string" }, "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -209,6 +207,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "attributes": { "description": "Comma-separated SCIM attributes to return.", @@ -225,10 +224,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_scim_user_single_response", @@ -282,19 +278,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_users_list", title: "List users in a user population", - description: "Lists SCIM users in a user population.", + description: "Lists SCIM users in a user population.\n\nGET /accounts/{account_id}/access/user_populations/{user_population_id}/users", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -304,6 +301,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "attributes": { "description": "Comma-separated SCIM attributes to return.", @@ -333,10 +331,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_scim_user_collection_response", @@ -395,7 +390,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_users_replace", title: "Replace a user population user", - description: "Replaces a SCIM user in a user population.", + description: "Replaces a SCIM user in a user population.\n\nPUT /accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}", inputSchema: { type: "object", properties: { @@ -403,18 +398,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_scim_user" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { "description": "The SCIM user identifier.", "type": "string" }, "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -429,13 +425,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_identifier": access_identifier, "access_scim_email": access_scim_email$, "access_scim_meta": access_scim_meta$, "access_scim_name": access_scim_name$, "access_scim_user": access_scim_user$, - "access_uuid": access_uuid, }, }, outputSchema: { @@ -487,7 +482,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_userPopulations_users_update", title: "Update a user population user", - description: "Updates a SCIM user in a user population.", + description: "Updates a SCIM user in a user population.\n\nPATCH /accounts/{account_id}/access/user_populations/{user_population_id}/users/{user_id}", inputSchema: { type: "object", properties: { @@ -495,18 +490,19 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_scim_patch_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { "description": "The SCIM user identifier.", "type": "string" }, "user_population_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -521,10 +517,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_identifier": access_identifier, "access_scim_patch_request": access_scim_patch_request, - "access_uuid": access_uuid, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/schemas.ts b/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/schemas.ts deleted file mode 100644 index fc09123eb..000000000 --- a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/schemas.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../../_/tool.js"; - -/** - * The schema of `access_nonce`. - */ -export const access_nonce: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts index 50ae601eb..e6a17d686 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/activeSessions/tools.ts @@ -9,7 +9,6 @@ import { access_api$$response$$single, access_messages, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; import { access_device_posture_check, access_device_posture_rule$$2, @@ -22,7 +21,6 @@ import { access_active_session_response, access_active_sessions_response, } from "./outputs.js"; -import { access_nonce } from "./schemas.js"; /** * The tools of `zeroTrust.access.users.activeSessions`. @@ -31,22 +29,23 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_activeSessions_get", title: "Get single active session", - description: "Get an active session for a single user.", + description: "Get an active session for a single user.\n\nGET /accounts/{account_id}/access/users/{user_id}/active_sessions/{nonce}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "nonce": { - "$ref": "#/$defs/access_nonce" + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -60,11 +59,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_nonce": access_nonce, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_active_session_response", @@ -123,19 +118,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_activeSessions_list", title: "Get active sessions", - description: "Get active sessions for a single user.", + description: "Get active sessions for a single user.\n\nGET /accounts/{account_id}/access/users/{user_id}/active_sessions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -148,10 +144,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_active_sessions_response", diff --git a/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts index c5a800825..e1ccd68cd 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/failedLogins/tools.ts @@ -8,7 +8,6 @@ import { access_api$$response$$common$$failure, access_messages, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; import { access_failed_login_response } from "./outputs.js"; /** @@ -18,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_failedLogins_list", title: "Get failed logins", - description: "Get all failed login attempts for a single user.", + description: "Get all failed login attempts for a single user.\n\nGET /accounts/{account_id}/access/users/{user_id}/failed_logins", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -43,10 +43,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_failed_login_response", diff --git a/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts index be844ff3d..df3697b02 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/lastSeenIdentity/tools.ts @@ -7,7 +7,6 @@ import { access_api$$response$$single, access_messages, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; import { access_device_posture_check, access_device_posture_rule$$2, @@ -25,19 +24,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_lastSeenIdentity_get", title: "Get last seen identity", - description: "Get last seen identity for a single user.", + description: "Get last seen identity for a single user.\n\nGET /accounts/{account_id}/access/users/{user_id}/last_seen_identity", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -50,10 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_last_seen_identity_response", diff --git a/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts index 5dbf6c5ae..e2eb180e4 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/outputs.ts @@ -3,20 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_access_seat-2` in responses. - */ -export const access_access_seat$$2: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_active_device_count` in responses. - */ -export const access_active_device_count: JsonSchema = { - "type": "number" -}; - /** * The schema of `access_delete_user_response` in responses. */ @@ -129,13 +115,6 @@ export const access_empty_response: JsonSchema = { "type": "object" }; -/** - * The schema of `access_gateway_seat-2` in responses. - */ -export const access_gateway_seat$$2: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_geo` in responses. */ @@ -239,14 +218,6 @@ export const access_identity: JsonSchema = { "type": "object" }; -/** - * The schema of `access_last_successful_login` in responses. - */ -export const access_last_successful_login: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `access_response_collection-25` in responses. */ @@ -291,13 +262,6 @@ export const access_response_collection$$25: JsonSchema = { ] }; -/** - * The schema of `access_seat_uid-2` in responses. - */ -export const access_seat_uid$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_single_user_response` in responses. */ @@ -327,50 +291,46 @@ export const access_string_key_map_device_session: JsonSchema = { "type": "object" }; -/** - * The schema of `access_uid` in responses. - */ -export const access_uid: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_users-2` in responses. */ export const access_users$$2: JsonSchema = { "properties": { "access_seat": { - "$ref": "#/$defs/access_access_seat-2" + "type": "boolean" }, "active_device_count": { - "$ref": "#/$defs/access_active_device_count" + "type": "number" }, "created_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "email": { - "$ref": "#/$defs/access_email-2" + "type": "string" }, "gateway_seat": { - "$ref": "#/$defs/access_gateway_seat-2" + "type": "boolean" }, "id": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "last_successful_login": { - "$ref": "#/$defs/access_last_successful_login" + "format": "date-time", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-10" + "type": "string" }, "seat_uid": { - "$ref": "#/$defs/access_seat_uid-2" + "type": "string" }, "uid": { - "$ref": "#/$defs/access_uid" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/access/users/tools.ts b/src/generated/forge-mcp/zeroTrust/access/users/tools.ts index 6657a2974..ce57b3324 100644 --- a/src/generated/forge-mcp/zeroTrust/access/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/access/users/tools.ts @@ -8,29 +8,12 @@ import { access_api$$response$$common$$failure, access_api$$response$$single, access_messages, - access_timestamp, - access_uuid, } from "../../outputs.js"; import { - access_identifier, - access_uuid as access_uuid$, -} from "../../schemas.js"; -import { access_email$$2, access_name$$10 } from "../outputs.js"; -import { - access_email$$2 as access_email$$2$, - access_name$$10 as access_name$$10$, -} from "../schemas.js"; -import { - access_access_seat$$2, - access_active_device_count, access_delete_user_response, access_empty_response, - access_gateway_seat$$2, - access_last_successful_login, access_response_collection$$25, - access_seat_uid$$2, access_single_user_response, - access_uid, access_users$$2, } from "./outputs.js"; @@ -41,19 +24,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_create", title: "Create a user", - description: "Creates a new user.", + description: "Creates a new user.\n\nPOST /accounts/{account_id}/access/users", inputSchema: { type: "object", properties: { "body": { "properties": { "email": { - "$ref": "#/$defs/access_email-2", - "description": "The email of the user." + "description": "The email of the user.", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-10", - "description": "The name of the user." + "description": "The name of the user.", + "type": "string" } }, "required": [ @@ -62,10 +45,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -78,29 +62,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "access_email-2": access_email$$2$, - "access_identifier": access_identifier, - "access_name-10": access_name$$10$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_user_response", $defs: { - "access_access_seat-2": access_access_seat$$2, - "access_active_device_count": access_active_device_count, "access_api-response-single": access_api$$response$$single, - "access_email-2": access_email$$2, - "access_gateway_seat-2": access_gateway_seat$$2, - "access_last_successful_login": access_last_successful_login, "access_messages": access_messages, - "access_name-10": access_name$$10, - "access_seat_uid-2": access_seat_uid$$2, "access_single_user_response": access_single_user_response, - "access_timestamp": access_timestamp, - "access_uid": access_uid, "access_users-2": access_users$$2, - "access_uuid": access_uuid, }, }, annotations: { @@ -125,21 +95,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat-2": access_access_seat$$2, - "access_active_device_count": access_active_device_count, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_email-2": access_email$$2, - "access_gateway_seat-2": access_gateway_seat$$2, - "access_last_successful_login": access_last_successful_login, "access_messages": access_messages, - "access_name-10": access_name$$10, - "access_seat_uid-2": access_seat_uid$$2, "access_single_user_response": access_single_user_response, - "access_timestamp": access_timestamp, - "access_uid": access_uid, "access_users-2": access_users$$2, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -150,19 +110,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_delete", title: "Delete a user", - description: "Deletes a specific user for an account. This will also revoke any active seats and tokens for the user.", + description: "Deletes a specific user for an account. This will also revoke any active seats and tokens for the user.\n\nDELETE /accounts/{account_id}/access/users/{user_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -175,10 +136,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_delete_user_response", @@ -223,19 +181,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_get", title: "Get a user", - description: "Gets a specific user for an account.", + description: "Gets a specific user for an account.\n\nGET /accounts/{account_id}/access/users/{user_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -248,28 +207,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_user_response", $defs: { - "access_access_seat-2": access_access_seat$$2, - "access_active_device_count": access_active_device_count, "access_api-response-single": access_api$$response$$single, - "access_email-2": access_email$$2, - "access_gateway_seat-2": access_gateway_seat$$2, - "access_last_successful_login": access_last_successful_login, "access_messages": access_messages, - "access_name-10": access_name$$10, - "access_seat_uid-2": access_seat_uid$$2, "access_single_user_response": access_single_user_response, - "access_timestamp": access_timestamp, - "access_uid": access_uid, "access_users-2": access_users$$2, - "access_uuid": access_uuid, }, }, annotations: { @@ -296,21 +242,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat-2": access_access_seat$$2, - "access_active_device_count": access_active_device_count, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_email-2": access_email$$2, - "access_gateway_seat-2": access_gateway_seat$$2, - "access_last_successful_login": access_last_successful_login, "access_messages": access_messages, - "access_name-10": access_name$$10, - "access_seat_uid-2": access_seat_uid$$2, "access_single_user_response": access_single_user_response, - "access_timestamp": access_timestamp, - "access_uid": access_uid, "access_users-2": access_users$$2, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -320,15 +256,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_list", title: "Get users", - description: "Gets a list of users for an account.", + description: "Gets a list of users for an account.\n\nGET /accounts/{account_id}/access/users", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -337,6 +274,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "email": { "description": "The email of the user.", @@ -367,28 +305,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection-25", $defs: { - "access_access_seat-2": access_access_seat$$2, - "access_active_device_count": access_active_device_count, "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_email-2": access_email$$2, - "access_gateway_seat-2": access_gateway_seat$$2, - "access_last_successful_login": access_last_successful_login, "access_messages": access_messages, - "access_name-10": access_name$$10, "access_response_collection-25": access_response_collection$$25, - "access_seat_uid-2": access_seat_uid$$2, - "access_timestamp": access_timestamp, - "access_uid": access_uid, "access_users-2": access_users$$2, - "access_uuid": access_uuid, }, }, annotations: { @@ -415,22 +341,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat-2": access_access_seat$$2, - "access_active_device_count": access_active_device_count, "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_email-2": access_email$$2, - "access_gateway_seat-2": access_gateway_seat$$2, - "access_last_successful_login": access_last_successful_login, "access_messages": access_messages, - "access_name-10": access_name$$10, "access_response_collection-25": access_response_collection$$25, - "access_seat_uid-2": access_seat_uid$$2, - "access_timestamp": access_timestamp, - "access_uid": access_uid, "access_users-2": access_users$$2, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -447,7 +363,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_revoke", title: "Revoke all Access tokens for a user", - description: "Revokes a user's access across all applications.\n\nConfirm with the user before calling this tool. This operation revokes all access tokens for a user destructively.", + description: "Revokes a user's access across all applications.\n\nConfirm with the user before calling this tool. This operation revokes all access tokens for a user destructively.\n\nPOST /{account_or_zone}/{account_or_zone_id}/access/organizations/revoke_user", inputSchema: { type: "object", properties: { @@ -476,6 +392,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -486,8 +403,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -497,6 +414,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "devices": { "description": "When set to `true`, all devices associated with the user will be revoked.", @@ -510,9 +428,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_empty_response", @@ -560,19 +476,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_access_users_update", title: "Update a user", - description: "Updates a specific user's name for an account. Requires the user's current email as confirmation (email cannot be changed).", + description: "Updates a specific user's name for an account. Requires the user's current email as confirmation (email cannot be changed).\n\nPUT /accounts/{account_id}/access/users/{user_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "email": { - "$ref": "#/$defs/access_email-2", - "description": "The email of the user." + "description": "The email of the user.", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-10", - "description": "The name of the user." + "description": "The name of the user.", + "type": "string" } }, "required": [ @@ -582,14 +498,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -603,30 +520,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "access_email-2": access_email$$2$, - "access_identifier": access_identifier, - "access_name-10": access_name$$10$, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_user_response", $defs: { - "access_access_seat-2": access_access_seat$$2, - "access_active_device_count": access_active_device_count, "access_api-response-single": access_api$$response$$single, - "access_email-2": access_email$$2, - "access_gateway_seat-2": access_gateway_seat$$2, - "access_last_successful_login": access_last_successful_login, "access_messages": access_messages, - "access_name-10": access_name$$10, - "access_seat_uid-2": access_seat_uid$$2, "access_single_user_response": access_single_user_response, - "access_timestamp": access_timestamp, - "access_uid": access_uid, "access_users-2": access_users$$2, - "access_uuid": access_uuid, }, }, annotations: { @@ -653,21 +555,11 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat-2": access_access_seat$$2, - "access_active_device_count": access_active_device_count, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_email-2": access_email$$2, - "access_gateway_seat-2": access_gateway_seat$$2, - "access_last_successful_login": access_last_successful_login, "access_messages": access_messages, - "access_name-10": access_name$$10, - "access_seat_uid-2": access_seat_uid$$2, "access_single_user_response": access_single_user_response, - "access_timestamp": access_timestamp, - "access_uid": access_uid, "access_users-2": access_users$$2, - "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts index 508d59037..69e3a9c40 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/authMethods/tools.ts @@ -15,11 +15,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_applications_authMethods_list", title: "Get auth methods", - description: "Returns available auth methods for the specified vendor, including credential schema, instructions, and example payloads. Use this to understand what credentials are required before calling POST /v2/integrations.", + description: "Returns available auth methods for the specified vendor, including credential schema, instructions, and example payloads. Use this to understand what credentials are required before calling POST /v2/integrations.\n\nGET /accounts/{account_id}/one/applications/{application_id}/auth-methods", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -55,6 +56,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "description": "A page number within the paginated result set.", @@ -71,6 +73,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/one_PaginatedAuthMethodDetailList", diff --git a/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts index 8c0b3e40e..04eb7e92a 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/applications/tools.ts @@ -22,11 +22,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_applications_get", title: "Get application details", - description: "Returns full application details including auth methods, use cases, and permissions.", + description: "Returns full application details including auth methods, use cases, and permissions.\n\nGET /accounts/{account_id}/one/applications/{application_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -65,6 +66,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/one_ApplicationDetailResponse", @@ -112,11 +114,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_applications_list", title: "List applications", - description: "Returns a list of available applications with use cases and permissions.", + description: "Returns a list of available applications with use cases and permissions.\n\nGET /accounts/{account_id}/one/applications", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -129,6 +132,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "environment": { "description": "Filter by supported environment (standard, fedramp).", @@ -149,6 +153,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/one_PaginatedApplicationListList", diff --git a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts index b2472f66d..a01757450 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/assetSchemas/tools.ts @@ -22,11 +22,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_assetSchemas_get", title: "Get asset schema by asset class", - description: "Returns the fields and related attributes a custom finding type may reference\nfor the given asset class (JSON Schema). Used by the custom finding types builder.", + description: "Returns the fields and related attributes a custom finding type may reference\nfor the given asset class (JSON Schema). Used by the custom finding types builder.\n\nGET /accounts/{account_id}/data-security/posture/asset_schemas/{asset_class}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -47,6 +48,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_AssetSchemaResponse", @@ -105,11 +107,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_assetSchemas_list", title: "List asset schemas", - description: "Returns the catalog of asset classes available when authoring custom\nfindings, grouped by vendor. Optionally filter to a single vendor with\nthe `vendor` query parameter.", + description: "Returns the catalog of asset classes available when authoring custom\nfindings, grouped by vendor. Optionally filter to a single vendor with\nthe `vendor` query parameter.\n\nGET /accounts/{account_id}/data-security/posture/asset_schemas", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -122,6 +125,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "vendor": { "description": "Restrict the result to a single vendor. Unknown values return 400.", @@ -153,6 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_AssetSchemaListResponse", diff --git a/src/generated/forge-mcp/zeroTrust/casb/content/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/content/schemas.ts index 4358b1058..2988ed9a8 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/content/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/content/schemas.ts @@ -56,7 +56,27 @@ export const posture$$api_ContentExportRequest: JsonSchema = { "vendors": { "description": "Filter by vendor types.", "items": { - "$ref": "#/$defs/posture-api_VendorsEnum" + "description": "Supported vendor types for integrations.", + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "MICROSOFT_INTERNAL", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" }, "type": "array" } @@ -163,8 +183,12 @@ export const posture$$api_Order: JsonSchema = { "description": "Generic ordering specification.", "properties": { "direction": { - "$ref": "#/$defs/posture-api_DirectionEnum", - "description": "Sort direction." + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" }, "name": { "description": "Field name to order by.", diff --git a/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts index bd1d1fbb8..764dce93e 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/content/tools.ts @@ -3,13 +3,10 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - posture$$api_CredentialHealthStatusEnum, posture$$api_DlpContext, posture$$api_ExportJob, - posture$$api_ExportJobTypeEnum, posture$$api_IntegrationPolicy, posture$$api_IntegrationSummary, - posture$$api_StatusEnum, posture$$api_Vendor, posture$$api_ZeroTrustProduct, posture$$api_api$$response$$collection, @@ -18,10 +15,6 @@ import { posture$$api_messages, posture$$api_result$$info, } from "../outputs.js"; -import { - posture$$api_DirectionEnum, - posture$$api_VendorsEnum, -} from "../schemas.js"; import { posture$$api_ContentAsset, posture$$api_PaginatedContentAssetList, @@ -41,7 +34,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_content_export", title: "Create a content export", - description: "Creates a CSV export for content and accepts optional filters in the payload.", + description: "Creates a CSV export for content and accepts optional filters in the payload.\n\nPOST /accounts/{account_id}/data-security/posture/content/export", inputSchema: { type: "object", properties: { @@ -49,6 +42,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_ContentExportRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -64,22 +58,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "posture-api_ContentExportRequest": posture$$api_ContentExportRequest, "posture-api_ContentOrder": posture$$api_ContentOrder, "posture-api_DLPProfile": posture$$api_DLPProfile, "posture-api_DLPProfileEntry": posture$$api_DLPProfileEntry, - "posture-api_DirectionEnum": posture$$api_DirectionEnum, "posture-api_Order": posture$$api_Order, - "posture-api_VendorsEnum": posture$$api_VendorsEnum, }, }, outputSchema: { "$ref": "#/$defs/posture-api_export-job-response", $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -112,8 +103,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -127,11 +116,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_content_list", title: "List DLP content findings", - description: "List DLP content findings", + description: "List DLP content findings\n\nGET /accounts/{account_id}/data-security/posture/content", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -144,6 +134,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Direction to order results.", @@ -196,8 +187,27 @@ export const tools: readonly Tool[] = [ "type": "string" }, "vendor": { - "$ref": "#/$defs/posture-api_VendorsEnum", - "description": "Filter by vendor" + "description": "Filter by vendor", + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "MICROSOFT_INTERNAL", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" } }, "type": "object" @@ -206,15 +216,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "posture-api_VendorsEnum": posture$$api_VendorsEnum, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_PaginatedContentAssetList", $defs: { "posture-api_ContentAsset": posture$$api_ContentAsset, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, @@ -253,7 +260,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_ContentAsset": posture$$api_ContentAsset, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, diff --git a/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts index 3fac9a81f..da3071133 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/exports/tools.ts @@ -4,15 +4,12 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { posture$$api_ExportJob, - posture$$api_ExportJobTypeEnum, - posture$$api_StatusEnum, posture$$api_api$$response$$collection, posture$$api_api$$response$$common, posture$$api_export$$job$$response, posture$$api_messages, posture$$api_result$$info, } from "../outputs.js"; -import { posture$$api_StatusEnum as posture$$api_StatusEnum$ } from "../schemas.js"; import { posture$$api_PaginatedExportJobList } from "./outputs.js"; /** @@ -22,11 +19,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_exports_get", title: "Get a single export job", - description: "Retrieves a single export job by its unique identifier", + description: "Retrieves a single export job by its unique identifier\n\nGET /accounts/{account_id}/data-security/posture/exports/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -47,13 +45,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_export-job-response", $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -87,8 +84,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -101,11 +96,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_exports_list", title: "List all export jobs", - description: "List all export jobs for a given requestor's organization", + description: "List all export jobs for a given requestor's organization\n\nGET /accounts/{account_id}/data-security/posture/exports", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -118,6 +114,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "description": "A page number within the paginated result set.", @@ -128,8 +125,15 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "status": { - "$ref": "#/$defs/posture-api_StatusEnum", - "description": "Filter on export job's status" + "description": "Filter on export job's status", + "enum": [ + "Pending", + "Success", + "Failure", + "Rescheduled", + "In-Progress" + ], + "type": "string" } }, "type": "object" @@ -138,17 +142,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "posture-api_StatusEnum": posture$$api_StatusEnum$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_PaginatedExportJobList", $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, "posture-api_PaginatedExportJobList": posture$$api_PaginatedExportJobList, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-collection": posture$$api_api$$response$$collection, "posture-api_messages": posture$$api_messages, "posture-api_result-info": posture$$api_result$$info, @@ -181,9 +181,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, "posture-api_PaginatedExportJobList": posture$$api_PaginatedExportJobList, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-collection": posture$$api_api$$response$$collection, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_messages": posture$$api_messages, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts index da7378402..5c698df65 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/outputs.ts @@ -89,7 +89,25 @@ export const posture$$api_custom$$finding$$type$$response: JsonSchema = { "asset_vendor": { "allOf": [ { - "$ref": "#/$defs/posture-api_FindingTypeVendorsEnum" + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" }, { "type": "string" @@ -146,7 +164,13 @@ export const posture$$api_custom$$finding$$type$$response: JsonSchema = { "severity": { "allOf": [ { - "$ref": "#/$defs/posture-api_SeverityEnum" + "enum": [ + "Critical", + "High", + "Medium", + "Low" + ], + "type": "string" }, { "type": "string" 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 788bb1b02..210dee1ce 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/remediationTypes/tools.ts @@ -20,11 +20,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findingTypes_remediationTypes_list", title: "List remediation types for a finding type", - description: "List all remediation types for a given finding type.\nThis endpoint supports both cursor and offset pagination.\nNote that `cursor` and `page` are mutually exclusive.", + description: "List all remediation types for a given finding type.\nThis endpoint supports both cursor and offset pagination.\nNote that `cursor` and `page` are mutually exclusive.\n\nGET /accounts/{account_id}/data-security/posture/finding_types/{finding_type_id}/remediation_types", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -43,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "A cursor for pagination.", @@ -68,6 +70,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_PaginatedRemediationTypeList", diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/schemas.ts index 2088bc11c..126b1fe71 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/schemas.ts @@ -3,32 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `posture-api_FindingTypeOriginEnum`. - */ -export const posture$$api_FindingTypeOriginEnum: JsonSchema = { - "description": "Finding type origins for list filters.", - "enum": [ - "custom", - "system" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_FindingTypeSeverityEnum`. - */ -export const posture$$api_FindingTypeSeverityEnum: JsonSchema = { - "description": "Finding type severities for list filters.", - "enum": [ - "critical", - "high", - "medium", - "low" - ], - "type": "string" -}; - /** * The schema of `posture-api_create-finding-type-request`. */ @@ -45,7 +19,26 @@ export const posture$$api_create$$finding$$type$$request: JsonSchema = { "asset_vendor": { "allOf": [ { - "$ref": "#/$defs/posture-api_FindingTypeVendorsEnum" + "description": "Vendors whose assets a finding type can evaluate.", + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" }, { "type": "string" @@ -75,7 +68,14 @@ export const posture$$api_create$$finding$$type$$request: JsonSchema = { "severity": { "allOf": [ { - "$ref": "#/$defs/posture-api_SeverityEnum" + "description": "The severity level of a finding.", + "enum": [ + "Critical", + "High", + "Medium", + "Low" + ], + "type": "string" }, { "type": "string" @@ -123,7 +123,14 @@ export const posture$$api_update$$finding$$type$$request: JsonSchema = { "severity": { "allOf": [ { - "$ref": "#/$defs/posture-api_SeverityEnum" + "description": "The severity level of a finding.", + "enum": [ + "Critical", + "High", + "Medium", + "Low" + ], + "type": "string" }, { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts index e9dddc245..bd067b993 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findingTypes/tools.ts @@ -5,22 +5,12 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { posture$$api_BaseFindingType, posture$$api_FindingCategory, - posture$$api_FindingCategoryTypeEnum, - posture$$api_FindingTypeVendorsEnum, - posture$$api_ObservationEnum, - posture$$api_ProductEnum, - posture$$api_SeverityEnum, posture$$api_api$$response$$collection, posture$$api_api$$response$$common, posture$$api_error$$response, posture$$api_messages, posture$$api_result$$info, } from "../outputs.js"; -import { - posture$$api_FindingCategoryTypeEnum as posture$$api_FindingCategoryTypeEnum$, - posture$$api_FindingTypeVendorsEnum as posture$$api_FindingTypeVendorsEnum$, - posture$$api_SeverityEnum as posture$$api_SeverityEnum$, -} from "../schemas.js"; import { posture$$api_FindingTypeValidationError, posture$$api_ValidateFindingTypeResponse, @@ -31,8 +21,6 @@ import { posture$$api_paginated$$finding$$type$$list, } from "./outputs.js"; import { - posture$$api_FindingTypeOriginEnum, - posture$$api_FindingTypeSeverityEnum, posture$$api_create$$finding$$type$$request, posture$$api_update$$finding$$type$$request, } from "./schemas.js"; @@ -44,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findingTypes_create", title: "Create a custom finding type", - description: "Create a new custom finding type with policy definition.", + description: "Create a new custom finding type with policy definition.\n\nPOST /accounts/{account_id}/data-security/posture/finding_types", inputSchema: { type: "object", properties: { @@ -52,6 +40,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_create-finding-type-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -68,9 +57,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum$, - "posture-api_SeverityEnum": posture$$api_SeverityEnum$, "posture-api_create-finding-type-request": posture$$api_create$$finding$$type$$request, }, }, @@ -78,11 +66,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_custom-finding-type-single-response", $defs: { "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_custom-finding-type-response": posture$$api_custom$$finding$$type$$response, "posture-api_custom-finding-type-single-response": posture$$api_custom$$finding$$type$$single$$response, @@ -132,11 +115,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_custom-finding-type-response": posture$$api_custom$$finding$$type$$response, "posture-api_custom-finding-type-single-response": posture$$api_custom$$finding$$type$$single$$response, @@ -152,11 +130,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findingTypes_delete", title: "Delete a custom finding type", - description: "Delete an existing custom finding type.\n\n**Security**: Only custom finding types (not system-managed) can be deleted.", + description: "Delete an existing custom finding type.\n\n**Security**: Only custom finding types (not system-managed) can be deleted.\n\nDELETE /accounts/{account_id}/data-security/posture/finding_types/{finding_type_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -178,6 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -228,11 +208,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findingTypes_get", title: "Get finding by ID", - description: "Retrieve a specific finding type by its unique identifier.", + description: "Retrieve a specific finding type by its unique identifier.\n\nGET /accounts/{account_id}/data-security/posture/finding_types/{finding_type_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -254,17 +235,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_finding-type-response", $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_finding-type-response": posture$$api_finding$$type$$response, "posture-api_messages": posture$$api_messages, @@ -299,11 +276,6 @@ export const tools: readonly Tool[] = [ $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_finding-type-response": posture$$api_finding$$type$$response, "posture-api_messages": posture$$api_messages, @@ -316,11 +288,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findingTypes_list", title: "List all finding types", - description: "List all available finding types with pagination support.", + description: "List all available finding types with pagination support.\n\nGET /accounts/{account_id}/data-security/posture/finding_types", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -333,6 +306,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Sort direction for the primary field. Defaults to 'desc'.\nTies are resolved by case-insensitive name, then ID, both ascending regardless of direction.", @@ -369,7 +343,12 @@ export const tools: readonly Tool[] = [ "origins": { "description": "Filter finding types by origin. Supports multiple comma-separated, case-insensitive values.", "items": { - "$ref": "#/$defs/posture-api_FindingTypeOriginEnum" + "description": "Finding type origins for list filters.", + "enum": [ + "custom", + "system" + ], + "type": "string" }, "type": "array" }, @@ -392,21 +371,52 @@ export const tools: readonly Tool[] = [ "severities": { "description": "Filter finding types by severity. Supports multiple comma-separated, case-insensitive values.", "items": { - "$ref": "#/$defs/posture-api_FindingTypeSeverityEnum" + "description": "Finding type severities for list filters.", + "enum": [ + "critical", + "high", + "medium", + "low" + ], + "type": "string" }, "type": "array" }, "types": { "description": "Filter finding types by category type. Supports multiple comma-separated, case-insensitive values.", "items": { - "$ref": "#/$defs/posture-api_FindingCategoryTypeEnum" + "description": "The type of the finding category.", + "enum": [ + "Content", + "Posture" + ], + "type": "string" }, "type": "array" }, "vendors": { "description": "Filter finding types by vendor. Supports multiple comma-separated values. Each value may be either the vendor enum (GOOGLE_WORKSPACE) or the friendly name returned by the read routes (Google Workspace).", "items": { - "$ref": "#/$defs/posture-api_FindingTypeVendorsEnum" + "description": "Vendors whose assets a finding type can evaluate.", + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" }, "type": "array" } @@ -417,23 +427,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum$, - "posture-api_FindingTypeOriginEnum": posture$$api_FindingTypeOriginEnum, - "posture-api_FindingTypeSeverityEnum": posture$$api_FindingTypeSeverityEnum, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_paginated-finding-type-list", $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_api-response-collection": posture$$api_api$$response$$collection, "posture-api_messages": posture$$api_messages, "posture-api_paginated-finding-type-list": posture$$api_paginated$$finding$$type$$list, @@ -471,11 +471,6 @@ export const tools: readonly Tool[] = [ $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_api-response-collection": posture$$api_api$$response$$collection, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_error-response": posture$$api_error$$response, @@ -505,7 +500,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findingTypes_update", title: "Update a custom finding type", - description: "Update an existing custom finding type.\n\n**Immutable fields**: asset_vendor, asset_class, expression, and category cannot be changed after creation.\n\n**Security**: Only custom finding types (not system-managed) can be updated.", + description: "Update an existing custom finding type.\n\n**Immutable fields**: asset_vendor, asset_class, expression, and category cannot be changed after creation.\n\n**Security**: Only custom finding types (not system-managed) can be updated.\n\nPUT /accounts/{account_id}/data-security/posture/finding_types/{finding_type_id}", inputSchema: { type: "object", properties: { @@ -513,6 +508,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_update-finding-type-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -535,8 +531,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "posture-api_SeverityEnum": posture$$api_SeverityEnum$, "posture-api_update-finding-type-request": posture$$api_update$$finding$$type$$request, }, }, @@ -544,11 +540,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_custom-finding-type-single-response", $defs: { "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_custom-finding-type-response": posture$$api_custom$$finding$$type$$response, "posture-api_custom-finding-type-single-response": posture$$api_custom$$finding$$type$$single$$response, @@ -601,11 +592,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_custom-finding-type-response": posture$$api_custom$$finding$$type$$response, "posture-api_custom-finding-type-single-response": posture$$api_custom$$finding$$type$$single$$response, @@ -621,7 +607,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findingTypes_validate", title: "Validate a custom finding type", - description: "Check a candidate custom finding type without creating it, so problems can\nbe corrected before publishing. The request body is the same shape as\n`CreateFindingType`, and the candidate is checked against the same rules, so\na valid result means the definition itself is sound. It is not a reservation:\na create can still be rejected for a reason that does not belong to the\ndefinition, such as the account already holding the maximum number of custom\nfinding types.\n\nA candidate that fails validation is still a **200** with\n`result.valid: false` and one entry in `result.errors` per problem — that is\nthe answer this endpoint exists to give. `4xx` is reserved for a request\nthat could not be processed at all, such as a body that will not parse.", + description: "Check a candidate custom finding type without creating it, so problems can\nbe corrected before publishing. The request body is the same shape as\n`CreateFindingType`, and the candidate is checked against the same rules, so\na valid result means the definition itself is sound. It is not a reservation:\na create can still be rejected for a reason that does not belong to the\ndefinition, such as the account already holding the maximum number of custom\nfinding types.\n\nA candidate that fails validation is still a **200** with\n`result.valid: false` and one entry in `result.errors` per problem — that is\nthe answer this endpoint exists to give. `4xx` is reserved for a request\nthat could not be processed at all, such as a body that will not parse.\n\nPOST /accounts/{account_id}/data-security/posture/finding_types/validate", inputSchema: { type: "object", properties: { @@ -629,6 +615,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_create-finding-type-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -645,9 +632,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum$, - "posture-api_SeverityEnum": posture$$api_SeverityEnum$, "posture-api_create-finding-type-request": posture$$api_create$$finding$$type$$request, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts index 66e77628c..ea22e8645 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/outputs.ts @@ -179,7 +179,14 @@ export const posture$$api_RemediationJobSummary: JsonSchema = { "type": "boolean" }, "status": { - "$ref": "#/$defs/posture-api_RemediationJobStatusEnum" + "enum": [ + "pending", + "processing", + "completed", + "failed", + "validating" + ], + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/schemas.ts index 4c899cdc9..5511cbdd5 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/schemas.ts @@ -67,8 +67,12 @@ export const posture$$api_FindingInstanceExportOrderFilterRequest: JsonSchema = "description": "Order specification for finding instance exports.", "properties": { "direction": { - "$ref": "#/$defs/posture-api_DirectionEnum", - "description": "Sort direction." + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" }, "name": { "description": "Which field to use when ordering the finding instances.", 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 5fd0f9802..4c4aeb090 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/instances/tools.ts @@ -5,16 +5,12 @@ import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { posture$$api_DlpContext, posture$$api_ExportJob, - posture$$api_ExportJobTypeEnum, - posture$$api_RemediationJobStatusEnum, - posture$$api_StatusEnum, posture$$api_api$$response$$collection, posture$$api_api$$response$$common, posture$$api_export$$job$$response, posture$$api_messages, posture$$api_result$$info, } from "../../outputs.js"; -import { posture$$api_DirectionEnum } from "../../schemas.js"; import { posture$$api_Asset, posture$$api_AssetCategory, @@ -38,7 +34,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_instances_archive", title: "Archive a finding", - description: "Archive one or more finding instances.", + description: "Archive one or more finding instances.\n\nPOST /accounts/{account_id}/data-security/posture/findings/{finding_id}/instances/archive", inputSchema: { type: "object", properties: { @@ -46,6 +42,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_FindingInstanceBulkActionRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -67,6 +64,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "posture-api_FindingInstanceBulkActionRequest": posture$$api_FindingInstanceBulkActionRequest, }, @@ -79,7 +77,6 @@ export const tools: readonly Tool[] = [ "posture-api_AssetField": posture$$api_AssetField, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_FindingInstance": posture$$api_FindingInstance, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -118,7 +115,6 @@ export const tools: readonly Tool[] = [ "posture-api_AssetField": posture$$api_AssetField, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_FindingInstance": posture$$api_FindingInstance, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -134,7 +130,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_instances_export", title: "Create a finding instances export", - description: "Creates a CSV export for Finding instances and accepts optional filters in the payload.\n\nIdentify the finding as `-`: join the `integration.id` and\n`finding.id` of the finding (from the List posture findings response) with a hyphen.", + description: "Creates a CSV export for Finding instances and accepts optional filters in the payload.\n\nIdentify the finding as `-`: join the `integration.id` and\n`finding.id` of the finding (from the List posture findings response) with a hyphen.\n\nPOST /accounts/{account_id}/data-security/posture/findings/{storage_namespace_id}/instances/export", inputSchema: { type: "object", properties: { @@ -142,6 +138,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_FindingInstanceExportFilterRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -162,8 +159,8 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "posture-api_DirectionEnum": posture$$api_DirectionEnum, "posture-api_FindingInstanceExportFilterRequest": posture$$api_FindingInstanceExportFilterRequest, "posture-api_FindingInstanceExportOrderFilterRequest": posture$$api_FindingInstanceExportOrderFilterRequest, }, @@ -172,8 +169,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_export-job-response", $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -207,8 +202,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -222,11 +215,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_instances_get", title: "Get a finding instance using an instance ID", - description: "Gets a security Finding instance by id.", + description: "Gets a security Finding instance by id.\n\nGET /accounts/{account_id}/data-security/posture/findings/{finding_id}/instances/{instance_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -254,6 +248,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_finding-instance-response", @@ -263,7 +258,6 @@ export const tools: readonly Tool[] = [ "posture-api_AssetField": posture$$api_AssetField, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_FindingInstance": posture$$api_FindingInstance, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -303,7 +297,6 @@ export const tools: readonly Tool[] = [ "posture-api_AssetField": posture$$api_AssetField, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_FindingInstance": posture$$api_FindingInstance, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -318,11 +311,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_instances_list", title: "List instances of a finding", - description: "Lists all security finding instances for a given security finding.", + description: "Lists all security finding instances for a given security finding.\n\nGET /accounts/{account_id}/data-security/posture/findings/{finding_id}/instances", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -341,6 +335,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "archived": { "description": "Archived", @@ -427,6 +422,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_paginated-finding-instance-list", @@ -436,7 +432,6 @@ export const tools: readonly Tool[] = [ "posture-api_AssetField": posture$$api_AssetField, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_FindingInstance": posture$$api_FindingInstance, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, "posture-api_api-response-collection": posture$$api_api$$response$$collection, @@ -477,7 +472,6 @@ export const tools: readonly Tool[] = [ "posture-api_AssetField": posture$$api_AssetField, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_FindingInstance": posture$$api_FindingInstance, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, "posture-api_api-response-collection": posture$$api_api$$response$$collection, @@ -508,7 +502,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_instances_unarchive", title: "Remove the archive marking from a finding instance", - description: "Remove the archive marking from one or more finding instances.", + description: "Remove the archive marking from one or more finding instances.\n\nPOST /accounts/{account_id}/data-security/posture/findings/{finding_id}/instances/unarchive", inputSchema: { type: "object", properties: { @@ -516,6 +510,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_FindingInstanceBulkActionRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -537,6 +532,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "posture-api_FindingInstanceBulkActionRequest": posture$$api_FindingInstanceBulkActionRequest, }, @@ -549,7 +545,6 @@ export const tools: readonly Tool[] = [ "posture-api_AssetField": posture$$api_AssetField, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_FindingInstance": posture$$api_FindingInstance, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -588,7 +583,6 @@ export const tools: readonly Tool[] = [ "posture-api_AssetField": posture$$api_AssetField, "posture-api_DlpContext": posture$$api_DlpContext, "posture-api_FindingInstance": posture$$api_FindingInstance, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, "posture-api_RemediationJobSummary": posture$$api_RemediationJobSummary, "posture-api_WebhookInvocationSummary": posture$$api_WebhookInvocationSummary, "posture-api_api-response-common": posture$$api_api$$response$$common, diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts index cea45810e..f071d683e 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/outputs.ts @@ -106,7 +106,13 @@ export const posture$$api_FindingSeverityOverride: JsonSchema = { "type": "string" }, "severity": { - "$ref": "#/$defs/posture-api_SeverityEnum" + "enum": [ + "Critical", + "High", + "Medium", + "Low" + ], + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts index 471b5f436..0fa01bf5e 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/schemas.ts @@ -75,14 +75,41 @@ export const posture$$api_FindingExportFilterRequest: JsonSchema = { "severities": { "description": "Filter by severity levels.", "items": { - "$ref": "#/$defs/posture-api_SeveritiesEnum" + "description": "The severity level for export filters.", + "enum": [ + "CRITICAL", + "HIGH", + "MEDIUM", + "LOW" + ], + "type": "string" }, "type": "array" }, "vendors": { "description": "Filter by vendor types.", "items": { - "$ref": "#/$defs/posture-api_VendorsEnum" + "description": "Supported vendor types for integrations.", + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "MICROSOFT_INTERNAL", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" }, "type": "array" } @@ -97,8 +124,12 @@ export const posture$$api_FindingExportOrderFilterRequest: JsonSchema = { "description": "Order specification for finding exports.", "properties": { "direction": { - "$ref": "#/$defs/posture-api_DirectionEnum", - "description": "Sort direction." + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" }, "name": { "description": "Which field to use when ordering the findings.", @@ -119,20 +150,6 @@ export const posture$$api_FindingExportOrderFilterRequest: JsonSchema = { "type": "object" }; -/** - * The schema of `posture-api_SeveritiesEnum`. - */ -export const posture$$api_SeveritiesEnum: JsonSchema = { - "description": "The severity level for export filters.", - "enum": [ - "CRITICAL", - "HIGH", - "MEDIUM", - "LOW" - ], - "type": "string" -}; - /** * The schema of `posture-api_TuneFindingSeverityRequest`. */ diff --git a/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts index 41b70a994..606b1fa5b 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/findings/tools.ts @@ -4,18 +4,10 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { posture$$api_BaseFindingType, - posture$$api_CredentialHealthStatusEnum, posture$$api_ExportJob, - posture$$api_ExportJobTypeEnum, posture$$api_FindingCategory, - posture$$api_FindingCategoryTypeEnum, - posture$$api_FindingTypeVendorsEnum, posture$$api_IntegrationPolicy, posture$$api_IntegrationSummary, - posture$$api_ObservationEnum, - posture$$api_ProductEnum, - posture$$api_SeverityEnum, - posture$$api_StatusEnum, posture$$api_Vendor, posture$$api_ZeroTrustProduct, posture$$api_api$$response$$collection, @@ -25,10 +17,6 @@ import { posture$$api_messages, posture$$api_result$$info, } from "../outputs.js"; -import { - posture$$api_DirectionEnum, - posture$$api_VendorsEnum, -} from "../schemas.js"; import { posture$$api_Finding, posture$$api_FindingRemediation, @@ -41,7 +29,6 @@ import { posture$$api_FindingBulkActionRequest, posture$$api_FindingExportFilterRequest, posture$$api_FindingExportOrderFilterRequest, - posture$$api_SeveritiesEnum, posture$$api_TuneFindingSeverityRequest, } from "./schemas.js"; @@ -52,7 +39,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_export", title: "Create new findings export request", - description: "Creates a CSV export for findings and accepts optional filters in the payload.", + description: "Creates a CSV export for findings and accepts optional filters in the payload.\n\nPOST /accounts/{account_id}/data-security/posture/findings/export", inputSchema: { type: "object", properties: { @@ -60,6 +47,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_FindingExportFilterRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -75,20 +63,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "posture-api_DirectionEnum": posture$$api_DirectionEnum, "posture-api_FindingExportFilterRequest": posture$$api_FindingExportFilterRequest, "posture-api_FindingExportOrderFilterRequest": posture$$api_FindingExportOrderFilterRequest, - "posture-api_SeveritiesEnum": posture$$api_SeveritiesEnum, - "posture-api_VendorsEnum": posture$$api_VendorsEnum, }, }, outputSchema: { "$ref": "#/$defs/posture-api_export-job-response", $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -121,8 +105,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -136,11 +118,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_get", title: "Get a posture finding", - description: "Gets a security Finding that has been identified as being problematic.", + description: "Gets a security Finding that has been identified as being problematic.\n\nGET /accounts/{account_id}/data-security/posture/findings/{finding_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -162,24 +145,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_finding-response", $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -225,19 +203,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -253,7 +225,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_ignore", title: "Mark a finding as ignored", - description: "Given a list of findings, mark as ignored. Does nothing if Finding is already ignored.", + description: "Given a list of findings, mark as ignored. Does nothing if Finding is already ignored.\n\nPOST /accounts/{account_id}/data-security/posture/findings/ignore", inputSchema: { type: "object", properties: { @@ -261,6 +233,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_FindingBulkActionRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -277,6 +250,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "posture-api_FindingBulkActionRequest": posture$$api_FindingBulkActionRequest, }, @@ -285,19 +259,13 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_finding-response", $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -331,19 +299,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -359,11 +321,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_list", title: "List posture findings", - description: "List all security findings that have been identified as being problematic. \nThis will return a list of findings regardless if they have been ignored or not.", + description: "List all security findings that have been identified as being problematic. \nThis will return a list of findings regardless if they have been ignored or not.\n\nGET /accounts/{account_id}/data-security/posture/findings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -376,6 +339,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "A cursor for pagination. Obtained from the `result_info.cursor` field of a previous response.", @@ -472,8 +436,27 @@ export const tools: readonly Tool[] = [ "type": "string" }, "vendor": { - "$ref": "#/$defs/posture-api_VendorsEnum", - "description": "Filter by vendor" + "description": "Filter by vendor", + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "MICROSOFT_INTERNAL", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" } }, "type": "object" @@ -482,27 +465,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "posture-api_VendorsEnum": posture$$api_VendorsEnum, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_paginated-finding-list", $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-collection": posture$$api_api$$response$$collection, @@ -546,19 +521,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-collection": posture$$api_api$$response$$collection, @@ -594,11 +563,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_resetSeverity", title: "Reset severity for a finding back to the default", - description: "If a Finding's severity has been changed, reset it back to default value.\nDoes nothing if no override exists.", + description: "If a Finding's severity has been changed, reset it back to default value.\nDoes nothing if no override exists.\n\nPOST /accounts/{account_id}/data-security/posture/findings/{finding_id}/reset_finding_severity", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -620,24 +590,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_finding-response", $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -675,19 +640,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -703,7 +662,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_tuneSeverity", title: "Update the severity for a finding", - description: "Update the severity of a Finding.\nThis will update the `severity_override` field on the Finding payload with the new severity value.", + description: "Update the severity of a Finding.\nThis will update the `severity_override` field on the Finding payload with the new severity value.\n\nPOST /accounts/{account_id}/data-security/posture/findings/{finding_id}/tune_finding_severity", inputSchema: { type: "object", properties: { @@ -711,6 +670,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_TuneFindingSeverityRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -733,6 +693,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "posture-api_TuneFindingSeverityRequest": posture$$api_TuneFindingSeverityRequest, }, @@ -741,19 +702,13 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_finding-response", $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -791,19 +746,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -820,7 +769,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_findings_unignore", title: "Remove ignore marker from a finding", - description: "Ability to un-ignore a Finding if it's previously been ignored. Does nothing if the Finding is not ignored.", + description: "Ability to un-ignore a Finding if it's previously been ignored. Does nothing if the Finding is not ignored.\n\nPOST /accounts/{account_id}/data-security/posture/findings/unignore", inputSchema: { type: "object", properties: { @@ -828,6 +777,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_FindingBulkActionRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -844,6 +794,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "posture-api_FindingBulkActionRequest": posture$$api_FindingBulkActionRequest, }, @@ -852,19 +803,13 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_finding-response", $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, @@ -898,19 +843,13 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_BaseFindingType": posture$$api_BaseFindingType, - "posture-api_CredentialHealthStatusEnum": posture$$api_CredentialHealthStatusEnum, "posture-api_Finding": posture$$api_Finding, "posture-api_FindingCategory": posture$$api_FindingCategory, - "posture-api_FindingCategoryTypeEnum": posture$$api_FindingCategoryTypeEnum, "posture-api_FindingRemediation": posture$$api_FindingRemediation, "posture-api_FindingSeverityOverride": posture$$api_FindingSeverityOverride, "posture-api_FindingType": posture$$api_FindingType, - "posture-api_FindingTypeVendorsEnum": posture$$api_FindingTypeVendorsEnum, "posture-api_IntegrationPolicy": posture$$api_IntegrationPolicy, "posture-api_IntegrationSummary": posture$$api_IntegrationSummary, - "posture-api_ObservationEnum": posture$$api_ObservationEnum, - "posture-api_ProductEnum": posture$$api_ProductEnum, - "posture-api_SeverityEnum": posture$$api_SeverityEnum, "posture-api_Vendor": posture$$api_Vendor, "posture-api_ZeroTrustProduct": posture$$api_ZeroTrustProduct, "posture-api_api-response-common": posture$$api_api$$response$$common, diff --git a/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts index 4861ef344..56f872408 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/integrations/tools.ts @@ -24,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_integrations_create", title: "Create integration", - description: "Creates a new integration for the specified application. Integration creation with OAuth is not supported by API at the moment. For other auth methods, use `GET /v2/applications/{application_id}/credential-guide` to see the required credential structure and example payloads for each vendor.", + description: "Creates a new integration for the specified application. Integration creation with OAuth is not supported by API at the moment. For other auth methods, use `GET /v2/applications/{application_id}/credential-guide` to see the required credential structure and example payloads for each vendor.\n\nPOST /accounts/{account_id}/one/integrations", inputSchema: { type: "object", properties: { @@ -32,6 +32,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/one_IntegrationV2CreateRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "one_IntegrationV2CreateRequest": one_IntegrationV2CreateRequest, }, @@ -91,11 +93,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_integrations_delete", title: "Delete integration", - description: "Delete an integration by soft-deleting it.", + description: "Delete an integration by soft-deleting it.\n\nDELETE /accounts/{account_id}/one/integrations/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -116,6 +119,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -142,11 +146,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_integrations_get", title: "Get integration details", - description: "Returns full integration details including use cases and permissions.", + description: "Returns full integration details including use cases and permissions.\n\nGET /accounts/{account_id}/one/integrations/{id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -167,6 +172,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/one_IntegrationDetailResponse", @@ -206,11 +212,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_integrations_list", title: "List integrations", - description: "Returns a paginated list of integrations for the account.", + description: "Returns a paginated list of integrations for the account.\n\nGET /accounts/{account_id}/one/integrations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -223,6 +230,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "application": { "description": "Filter by application/vendor (e.g., GOOGLE_WORKSPACE, MICROSOFT_INTERNAL).", @@ -283,6 +291,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/one_PaginatedIntegrationV2ListItemList", @@ -333,11 +342,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_integrations_pause", title: "Pause integration", - description: "Pauses an integration, stopping all crawlers.", + description: "Pauses an integration, stopping all crawlers.\n\nPOST /accounts/{account_id}/one/integrations/{id}/pause", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -358,6 +368,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/one_IntegrationPauseResponse", @@ -397,11 +408,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_integrations_resume", title: "Resume integration", - description: "Resumes a paused integration, restarting crawlers.", + description: "Resumes a paused integration, restarting crawlers.\n\nPOST /accounts/{account_id}/one/integrations/{id}/resume", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -422,6 +434,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/one_IntegrationResumeResponse", @@ -461,7 +474,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_integrations_update", title: "Update integration", - description: "Updates an integration's name, permissions, DLP profiles, use cases, or credentials.", + description: "Updates an integration's name, permissions, DLP profiles, use cases, or credentials.\n\nPATCH /accounts/{account_id}/one/integrations/{id}", inputSchema: { type: "object", properties: { @@ -469,6 +482,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/one_PatchedUpdateIntegrationV2Request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account identifier.", @@ -489,6 +503,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "one_PatchedUpdateIntegrationV2Request": one_PatchedUpdateIntegrationV2Request, }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/outputs.ts index b0233ad79..65342ce6b 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/outputs.ts @@ -17,7 +17,25 @@ export const posture$$api_BaseFindingType: JsonSchema = { "asset_vendor": { "allOf": [ { - "$ref": "#/$defs/posture-api_FindingTypeVendorsEnum" + "enum": [ + "ANTHROPIC", + "AWS", + "BITBUCKET", + "BOX", + "CONFLUENCE", + "DROPBOX", + "GITHUB", + "GOOGLE_CLOUD_PLATFORM", + "GOOGLE_WORKSPACE", + "JIRA", + "MICROSOFT", + "OPENAI", + "SALESFORCE", + "SERVICENOW", + "SLACK", + "ZOOM" + ], + "type": "string" }, { "type": "string" @@ -74,7 +92,13 @@ export const posture$$api_BaseFindingType: JsonSchema = { "severity": { "allOf": [ { - "$ref": "#/$defs/posture-api_SeverityEnum" + "enum": [ + "Critical", + "High", + "Medium", + "Low" + ], + "type": "string" }, { "type": "string" @@ -102,18 +126,6 @@ export const posture$$api_BaseFindingType: JsonSchema = { "type": "object" }; -/** - * The schema of `posture-api_CredentialHealthStatusEnum` in responses. - */ -export const posture$$api_CredentialHealthStatusEnum: JsonSchema = { - "enum": [ - "Initializing", - "Healthy", - "Unhealthy" - ], - "type": "string" -}; - /** * The schema of `posture-api_DlpContext` in responses. */ @@ -243,10 +255,23 @@ export const posture$$api_ExportJob: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/posture-api_StatusEnum" + "enum": [ + "Pending", + "Success", + "Failure", + "Rescheduled", + "In-Progress" + ], + "type": "string" }, "type": { - "$ref": "#/$defs/posture-api_ExportJobTypeEnum" + "enum": [ + "finding", + "findingInstance", + "content", + "remediationJob" + ], + "type": "string" }, "user_id": { "type": "string" @@ -261,32 +286,32 @@ export const posture$$api_ExportJob: JsonSchema = { "type": "object" }; -/** - * The schema of `posture-api_ExportJobTypeEnum` in responses. - */ -export const posture$$api_ExportJobTypeEnum: JsonSchema = { - "enum": [ - "finding", - "findingInstance", - "content", - "remediationJob" - ], - "type": "string" -}; - /** * The schema of `posture-api_FindingCategory` in responses. */ export const posture$$api_FindingCategory: JsonSchema = { "properties": { "observation": { - "$ref": "#/$defs/posture-api_ObservationEnum" + "enum": [ + "Issue", + "Insight", + "Activity" + ], + "type": "string" }, "product": { - "$ref": "#/$defs/posture-api_ProductEnum" + "enum": [ + "SaaS", + "Cloud" + ], + "type": "string" }, "type": { - "$ref": "#/$defs/posture-api_FindingCategoryTypeEnum" + "enum": [ + "Content", + "Posture" + ], + "type": "string" } }, "required": [ @@ -297,42 +322,6 @@ export const posture$$api_FindingCategory: JsonSchema = { "type": "object" }; -/** - * The schema of `posture-api_FindingCategoryTypeEnum` in responses. - */ -export const posture$$api_FindingCategoryTypeEnum: JsonSchema = { - "enum": [ - "Content", - "Posture" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_FindingTypeVendorsEnum` in responses. - */ -export const posture$$api_FindingTypeVendorsEnum: JsonSchema = { - "enum": [ - "ANTHROPIC", - "AWS", - "BITBUCKET", - "BOX", - "CONFLUENCE", - "DROPBOX", - "GITHUB", - "GOOGLE_CLOUD_PLATFORM", - "GOOGLE_WORKSPACE", - "JIRA", - "MICROSOFT", - "OPENAI", - "SALESFORCE", - "SERVICENOW", - "SLACK", - "ZOOM" - ], - "type": "string" -}; - /** * The schema of `posture-api_IntegrationPolicy` in responses. */ @@ -391,7 +380,12 @@ export const posture$$api_IntegrationSummary: JsonSchema = { "type": "string" }, "credential_health_status": { - "$ref": "#/$defs/posture-api_CredentialHealthStatusEnum" + "enum": [ + "Initializing", + "Healthy", + "Unhealthy" + ], + "type": "string" }, "credentials_expiry": { "oneOf": [ @@ -465,70 +459,6 @@ export const posture$$api_IntegrationSummary: JsonSchema = { "type": "object" }; -/** - * The schema of `posture-api_ObservationEnum` in responses. - */ -export const posture$$api_ObservationEnum: JsonSchema = { - "enum": [ - "Issue", - "Insight", - "Activity" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_ProductEnum` in responses. - */ -export const posture$$api_ProductEnum: JsonSchema = { - "enum": [ - "SaaS", - "Cloud" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_RemediationJobStatusEnum` in responses. - */ -export const posture$$api_RemediationJobStatusEnum: JsonSchema = { - "enum": [ - "pending", - "processing", - "completed", - "failed", - "validating" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_SeverityEnum` in responses. - */ -export const posture$$api_SeverityEnum: JsonSchema = { - "enum": [ - "Critical", - "High", - "Medium", - "Low" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_StatusEnum` in responses. - */ -export const posture$$api_StatusEnum: JsonSchema = { - "enum": [ - "Pending", - "Success", - "Failure", - "Rescheduled", - "In-Progress" - ], - "type": "string" -}; - /** * The schema of `posture-api_Vendor` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts index d579f9106..5e00d1e74 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/policies/tools.ts @@ -31,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_policies_create", title: "Create a new policy configuration", - description: "Creates a new policy configuration that defines automated actions to be executed \nwhen security findings are detected. A policy can include multiple remediation \nand/or webhook actions that will be triggered automatically.", + description: "Creates a new policy configuration that defines automated actions to be executed \nwhen security findings are detected. A policy can include multiple remediation \nand/or webhook actions that will be triggered automatically.\n\nPOST /accounts/{account_id}/data-security/posture/policies", inputSchema: { type: "object", properties: { @@ -39,6 +39,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_CreatePolicyRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -55,6 +56,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "posture-api_CreatePolicyRequest": posture$$api_CreatePolicyRequest, "posture-api_PolicyActionsInput": posture$$api_PolicyActionsInput, @@ -150,11 +152,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_policies_delete", title: "Delete a policy configuration", - description: "Deletes a policy configuration.", + description: "Deletes a policy configuration.\n\nDELETE /accounts/{account_id}/data-security/posture/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -176,6 +179,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -258,11 +262,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_policies_get", title: "Get a policy configuration by ID", - description: "Retrieves the details of a specific policy configuration, including its\nassociated remediation and webhook actions.", + description: "Retrieves the details of a specific policy configuration, including its\nassociated remediation and webhook actions.\n\nGET /accounts/{account_id}/data-security/posture/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -284,6 +289,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -373,11 +379,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_policies_list", title: "List policy configurations", - description: "Returns a list of integration-scoped policy configurations for the given account. This endpoint supports cursor based pagination. By default, results are returned in sorted order based on created_at.", + description: "Returns a list of integration-scoped policy configurations for the given account. This endpoint supports cursor based pagination. By default, results are returned in sorted order based on created_at.\n\nGET /accounts/{account_id}/data-security/posture/policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -390,6 +397,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Cursor for pagination. Obtained from the `result_info.cursor` field of a previous response.", @@ -402,6 +410,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -500,7 +509,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_policies_update", title: "Update a policy configuration", - description: "Updates an existing policy configuration and replaces its actions.", + description: "Updates an existing policy configuration and replaces its actions.\n\nPUT /accounts/{account_id}/data-security/posture/policies/{policy_id}", inputSchema: { type: "object", properties: { @@ -508,6 +517,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_UpdatePolicyRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -530,6 +540,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "posture-api_PolicyActionsInput": posture$$api_PolicyActionsInput, "posture-api_PolicyRemediationActionInput": posture$$api_PolicyRemediationActionInput, diff --git a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts index f7e103f50..6658b158f 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/outputs.ts @@ -159,7 +159,14 @@ export const posture$$api_RemediationJob: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/posture-api_RemediationJobStatusEnum" + "enum": [ + "pending", + "processing", + "completed", + "failed", + "validating" + ], + "type": "string" }, "triggered_by_actor": { "oneOf": [ @@ -263,7 +270,26 @@ export const posture$$api_RemediationJobAssetCategory: JsonSchema = { "type": "string" }, "vendor": { - "$ref": "#/$defs/posture-api_VendorsDisplayNameEnum" + "enum": [ + "AWS", + "Anthropic", + "Bitbucket", + "Box", + "Confluence", + "Dropbox", + "GitHub", + "Google Cloud Platform", + "Google Workspace", + "Jira", + "Microsoft", + "Microsoft Internal", + "OpenAI", + "Slack", + "Salesforce", + "ServiceNow", + "Zoom" + ], + "type": "string" } }, "required": [ @@ -332,29 +358,3 @@ export const posture$$api_RemediationJobFailure: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `posture-api_VendorsDisplayNameEnum` in responses. - */ -export const posture$$api_VendorsDisplayNameEnum: JsonSchema = { - "enum": [ - "AWS", - "Anthropic", - "Bitbucket", - "Box", - "Confluence", - "Dropbox", - "GitHub", - "Google Cloud Platform", - "Google Workspace", - "Jira", - "Microsoft", - "Microsoft Internal", - "OpenAI", - "Slack", - "Salesforce", - "ServiceNow", - "Zoom" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/schemas.ts index 9f0a04156..40432a9d5 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/schemas.ts @@ -3,18 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `posture-api_RemediationJobActorTypeEnum`. - */ -export const posture$$api_RemediationJobActorTypeEnum: JsonSchema = { - "description": "Type of actor that triggered the remediation job.", - "enum": [ - "user", - "account_token" - ], - "type": "string" -}; - /** * The schema of `posture-api_RemediationJobsCreateRequest`. */ @@ -81,7 +69,15 @@ export const posture$$api_RemediationJobsExportFilterRequest: JsonSchema = { "status": { "description": "Filter by remediation job status.", "items": { - "$ref": "#/$defs/posture-api_RemediationJobStatusEnum" + "description": "Status of a remediation job.", + "enum": [ + "pending", + "processing", + "completed", + "failed", + "validating" + ], + "type": "string" }, "type": "array" } @@ -96,8 +92,12 @@ export const posture$$api_RemediationJobsExportOrderFilterRequest: JsonSchema = "description": "Order specification for remediation jobs exports.", "properties": { "direction": { - "$ref": "#/$defs/posture-api_DirectionEnum", - "description": "Sort direction." + "description": "Sort direction.", + "enum": [ + "asc", + "desc" + ], + "type": "string" }, "name": { "description": "Which field to use when ordering the remediation jobs.", 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 8223fdefe..b9729f064 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/remediations/jobs/tools.ts @@ -4,18 +4,11 @@ import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { posture$$api_ExportJob, - posture$$api_ExportJobTypeEnum, - posture$$api_RemediationJobStatusEnum, - posture$$api_StatusEnum, posture$$api_api$$response$$common, posture$$api_error$$response, posture$$api_export$$job$$response, posture$$api_messages, } from "../../outputs.js"; -import { - posture$$api_DirectionEnum, - posture$$api_RemediationJobStatusEnum as posture$$api_RemediationJobStatusEnum$, -} from "../../schemas.js"; import { posture$$api_CreateRemediationJobResponse, posture$$api_PaginatedRemediationJobList, @@ -24,10 +17,8 @@ import { posture$$api_RemediationJobAssetCategory, posture$$api_RemediationJobAssetField, posture$$api_RemediationJobFailure, - posture$$api_VendorsDisplayNameEnum, } from "./outputs.js"; import { - posture$$api_RemediationJobActorTypeEnum, posture$$api_RemediationJobsCreateRequest, posture$$api_RemediationJobsExportFilterRequest, posture$$api_RemediationJobsExportOrderFilterRequest, @@ -40,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_remediations_jobs_create", title: "Creates remediation jobs", - description: "Create one or more remediation jobs tied to a specific Cloudflare Account.", + description: "Create one or more remediation jobs tied to a specific Cloudflare Account.\n\nPOST /accounts/{account_id}/data-security/posture/remediations/jobs", inputSchema: { type: "object", properties: { @@ -48,6 +39,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_RemediationJobsCreateRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -63,6 +55,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "posture-api_RemediationJobsCreateRequest": posture$$api_RemediationJobsCreateRequest, }, @@ -76,8 +69,6 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobAssetCategory": posture$$api_RemediationJobAssetCategory, "posture-api_RemediationJobAssetField": posture$$api_RemediationJobAssetField, "posture-api_RemediationJobFailure": posture$$api_RemediationJobFailure, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, - "posture-api_VendorsDisplayNameEnum": posture$$api_VendorsDisplayNameEnum, }, }, annotations: { @@ -116,8 +107,6 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobAssetCategory": posture$$api_RemediationJobAssetCategory, "posture-api_RemediationJobAssetField": posture$$api_RemediationJobAssetField, "posture-api_RemediationJobFailure": posture$$api_RemediationJobFailure, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, - "posture-api_VendorsDisplayNameEnum": posture$$api_VendorsDisplayNameEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_error-response": posture$$api_error$$response, "posture-api_messages": posture$$api_messages, @@ -131,7 +120,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_remediations_jobs_export", title: "Create a remediation jobs export", - description: "Creates a CSV export for remediation jobs and accepts optional filters in the payload.", + description: "Creates a CSV export for remediation jobs and accepts optional filters in the payload.\n\nPOST /accounts/{account_id}/data-security/posture/remediations/jobs/export", inputSchema: { type: "object", properties: { @@ -139,6 +128,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_RemediationJobsExportFilterRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -154,9 +144,8 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { - "posture-api_DirectionEnum": posture$$api_DirectionEnum, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum$, "posture-api_RemediationJobsExportFilterRequest": posture$$api_RemediationJobsExportFilterRequest, "posture-api_RemediationJobsExportOrderFilterRequest": posture$$api_RemediationJobsExportOrderFilterRequest, }, @@ -165,8 +154,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_export-job-response", $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -199,8 +186,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "posture-api_ExportJob": posture$$api_ExportJob, - "posture-api_ExportJobTypeEnum": posture$$api_ExportJobTypeEnum, - "posture-api_StatusEnum": posture$$api_StatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_export-job-response": posture$$api_export$$job$$response, "posture-api_messages": posture$$api_messages, @@ -214,11 +199,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_remediations_jobs_list", title: "List remediation jobs", - description: "List all remediation jobs tied to a specific Cloudflare Account. Note that `cursor` and `page` are mutually exclusive.", + description: "List all remediation jobs tied to a specific Cloudflare Account. Note that `cursor` and `page` are mutually exclusive.\n\nGET /accounts/{account_id}/data-security/posture/remediations/jobs", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -231,6 +217,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "A cursor for pagination.", @@ -285,13 +272,25 @@ export const tools: readonly Tool[] = [ "type": "string" }, "status": { - "$ref": "#/$defs/posture-api_RemediationJobStatusEnum", - "description": "Filter to view remediations with the given status." + "description": "Filter to view remediations with the given status.", + "enum": [ + "pending", + "processing", + "completed", + "failed", + "validating" + ], + "type": "string" }, "triggered_by_actor": { "description": "Filter remediations by what kind of actor triggered them. Supports multiple comma-separated values.", "items": { - "$ref": "#/$defs/posture-api_RemediationJobActorTypeEnum" + "description": "Type of actor that triggered the remediation job.", + "enum": [ + "user", + "account_token" + ], + "type": "string" }, "type": "array" } @@ -302,10 +301,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "posture-api_RemediationJobActorTypeEnum": posture$$api_RemediationJobActorTypeEnum, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_PaginatedRemediationJobList", @@ -315,8 +311,6 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobAsset": posture$$api_RemediationJobAsset, "posture-api_RemediationJobAssetCategory": posture$$api_RemediationJobAssetCategory, "posture-api_RemediationJobAssetField": posture$$api_RemediationJobAssetField, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, - "posture-api_VendorsDisplayNameEnum": posture$$api_VendorsDisplayNameEnum, }, }, annotations: { @@ -350,8 +344,6 @@ export const tools: readonly Tool[] = [ "posture-api_RemediationJobAsset": posture$$api_RemediationJobAsset, "posture-api_RemediationJobAssetCategory": posture$$api_RemediationJobAssetCategory, "posture-api_RemediationJobAssetField": posture$$api_RemediationJobAssetField, - "posture-api_RemediationJobStatusEnum": posture$$api_RemediationJobStatusEnum, - "posture-api_VendorsDisplayNameEnum": posture$$api_VendorsDisplayNameEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_messages": posture$$api_messages, }, diff --git a/src/generated/forge-mcp/zeroTrust/casb/schemas.ts b/src/generated/forge-mcp/zeroTrust/casb/schemas.ts deleted file mode 100644 index c99c26f58..000000000 --- a/src/generated/forge-mcp/zeroTrust/casb/schemas.ts +++ /dev/null @@ -1,125 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `posture-api_DirectionEnum`. - */ -export const posture$$api_DirectionEnum: JsonSchema = { - "description": "Sort direction.", - "enum": [ - "asc", - "desc" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_FindingCategoryTypeEnum`. - */ -export const posture$$api_FindingCategoryTypeEnum: JsonSchema = { - "description": "The type of the finding category.", - "enum": [ - "Content", - "Posture" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_FindingTypeVendorsEnum`. - */ -export const posture$$api_FindingTypeVendorsEnum: JsonSchema = { - "description": "Vendors whose assets a finding type can evaluate.", - "enum": [ - "ANTHROPIC", - "AWS", - "BITBUCKET", - "BOX", - "CONFLUENCE", - "DROPBOX", - "GITHUB", - "GOOGLE_CLOUD_PLATFORM", - "GOOGLE_WORKSPACE", - "JIRA", - "MICROSOFT", - "OPENAI", - "SALESFORCE", - "SERVICENOW", - "SLACK", - "ZOOM" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_RemediationJobStatusEnum`. - */ -export const posture$$api_RemediationJobStatusEnum: JsonSchema = { - "description": "Status of a remediation job.", - "enum": [ - "pending", - "processing", - "completed", - "failed", - "validating" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_SeverityEnum`. - */ -export const posture$$api_SeverityEnum: JsonSchema = { - "description": "The severity level of a finding.", - "enum": [ - "Critical", - "High", - "Medium", - "Low" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_StatusEnum`. - */ -export const posture$$api_StatusEnum: JsonSchema = { - "description": "Status of an export job.", - "enum": [ - "Pending", - "Success", - "Failure", - "Rescheduled", - "In-Progress" - ], - "type": "string" -}; - -/** - * The schema of `posture-api_VendorsEnum`. - */ -export const posture$$api_VendorsEnum: JsonSchema = { - "description": "Supported vendor types for integrations.", - "enum": [ - "ANTHROPIC", - "AWS", - "BITBUCKET", - "BOX", - "CONFLUENCE", - "DROPBOX", - "GITHUB", - "GOOGLE_CLOUD_PLATFORM", - "GOOGLE_WORKSPACE", - "JIRA", - "MICROSOFT", - "MICROSOFT_INTERNAL", - "OPENAI", - "SALESFORCE", - "SERVICENOW", - "SLACK", - "ZOOM" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts index 160911522..0cdbc16f7 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/outputs.ts @@ -59,7 +59,13 @@ export const posture$$api_WebhookJob: JsonSchema = { "type": "object" }, "failure_reason": { - "$ref": "#/$defs/posture-api_WebhookJobFailureReasonEnum" + "enum": [ + "Permission Denied", + "Integration Unavailable", + "Service Temporarily Unavailable", + "System Error" + ], + "type": "string" }, "id": { "format": "uuid", @@ -77,10 +83,20 @@ export const posture$$api_WebhookJob: JsonSchema = { "$ref": "#/$defs/posture-api_WebhookJobParameters" }, "status": { - "$ref": "#/$defs/posture-api_WebhookJobStatusEnum" + "enum": [ + "pending", + "processing", + "completed", + "failed" + ], + "type": "string" }, "triggered_by_actor": { - "$ref": "#/$defs/posture-api_WebhookJobActorTypeEnum" + "enum": [ + "user", + "account_token" + ], + "type": "string" }, "triggered_by_id": { "type": "string" @@ -105,17 +121,6 @@ export const posture$$api_WebhookJob: JsonSchema = { "type": "object" }; -/** - * The schema of `posture-api_WebhookJobActorTypeEnum` in responses. - */ -export const posture$$api_WebhookJobActorTypeEnum: JsonSchema = { - "enum": [ - "user", - "account_token" - ], - "type": "string" -}; - /** * The schema of `posture-api_WebhookJobFailure` in responses. */ @@ -141,19 +146,6 @@ export const posture$$api_WebhookJobFailure: JsonSchema = { "type": "object" }; -/** - * The schema of `posture-api_WebhookJobFailureReasonEnum` in responses. - */ -export const posture$$api_WebhookJobFailureReasonEnum: JsonSchema = { - "enum": [ - "Permission Denied", - "Integration Unavailable", - "Service Temporarily Unavailable", - "System Error" - ], - "type": "string" -}; - /** * The schema of `posture-api_WebhookJobParameters` in responses. */ @@ -169,16 +161,3 @@ export const posture$$api_WebhookJobParameters: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `posture-api_WebhookJobStatusEnum` in responses. - */ -export const posture$$api_WebhookJobStatusEnum: JsonSchema = { - "enum": [ - "pending", - "processing", - "completed", - "failed" - ], - "type": "string" -}; 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 5bea90da1..439c291e6 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/jobs/tools.ts @@ -10,11 +10,8 @@ import { import { posture$$api_CreateWebhookJobsResponse, posture$$api_WebhookJob, - posture$$api_WebhookJobActorTypeEnum, posture$$api_WebhookJobFailure, - posture$$api_WebhookJobFailureReasonEnum, posture$$api_WebhookJobParameters, - posture$$api_WebhookJobStatusEnum, } from "./outputs.js"; import { posture$$api_CreateWebhookJobsRequest } from "./schemas.js"; @@ -25,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_webhooks_jobs_create", title: "Create webhook jobs", - description: "Creates webhook jobs to send a finding instance to one or more configured webhooks.", + description: "Creates webhook jobs to send a finding instance to one or more configured webhooks.\n\nPOST /accounts/{account_id}/data-security/posture/webhooks/jobs", inputSchema: { type: "object", properties: { @@ -33,6 +30,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_CreateWebhookJobsRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -49,6 +47,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "posture-api_CreateWebhookJobsRequest": posture$$api_CreateWebhookJobsRequest, }, @@ -58,11 +57,8 @@ export const tools: readonly Tool[] = [ $defs: { "posture-api_CreateWebhookJobsResponse": posture$$api_CreateWebhookJobsResponse, "posture-api_WebhookJob": posture$$api_WebhookJob, - "posture-api_WebhookJobActorTypeEnum": posture$$api_WebhookJobActorTypeEnum, "posture-api_WebhookJobFailure": posture$$api_WebhookJobFailure, - "posture-api_WebhookJobFailureReasonEnum": posture$$api_WebhookJobFailureReasonEnum, "posture-api_WebhookJobParameters": posture$$api_WebhookJobParameters, - "posture-api_WebhookJobStatusEnum": posture$$api_WebhookJobStatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_messages": posture$$api_messages, }, @@ -105,11 +101,8 @@ export const tools: readonly Tool[] = [ $defs: { "posture-api_CreateWebhookJobsResponse": posture$$api_CreateWebhookJobsResponse, "posture-api_WebhookJob": posture$$api_WebhookJob, - "posture-api_WebhookJobActorTypeEnum": posture$$api_WebhookJobActorTypeEnum, "posture-api_WebhookJobFailure": posture$$api_WebhookJobFailure, - "posture-api_WebhookJobFailureReasonEnum": posture$$api_WebhookJobFailureReasonEnum, "posture-api_WebhookJobParameters": posture$$api_WebhookJobParameters, - "posture-api_WebhookJobStatusEnum": posture$$api_WebhookJobStatusEnum, "posture-api_api-response-common": posture$$api_api$$response$$common, "posture-api_error-response": posture$$api_error$$response, "posture-api_messages": posture$$api_messages, diff --git a/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts b/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts index b33b5c717..bb98468ef 100644 --- a/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/casb/webhooks/tools.ts @@ -27,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_webhooks_create", title: "Create a new webhook configuration", - description: "Creates a new webhook configuration for sending finding notifications to external endpoints.", + description: "Creates a new webhook configuration for sending finding notifications to external endpoints.\n\nPOST /accounts/{account_id}/data-security/posture/webhooks", inputSchema: { type: "object", properties: { @@ -35,6 +35,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_CreateWebhookRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "posture-api_CreateWebhookRequest": posture$$api_CreateWebhookRequest, "posture-api_WebhookHeaderInput": posture$$api_WebhookHeaderInput, @@ -138,11 +140,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_webhooks_delete", title: "Delete a webhook configuration", - description: "Soft deletes a webhook configuration by its unique identifier.\nThe webhook will be marked as deleted and will no longer be available for use.", + description: "Soft deletes a webhook configuration by its unique identifier.\nThe webhook will be marked as deleted and will no longer be available for use.\n\nDELETE /accounts/{account_id}/data-security/posture/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -164,6 +167,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_api-response-common", @@ -212,7 +216,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_webhooks_evaluate", title: "Test a webhook configuration before creating it", - description: "Sends a test webhook event to the specified destination URL to verify the webhook endpoint \nis reachable and properly configured. This allows customers to validate their webhook \nconfiguration before creating the actual webhook resource.\n\nThe test payload includes:\n- event_type: \"webhook.test\"\n- timestamp: Current UTC timestamp\n- message: Test message indicating this is from Cloudflare CASB\n- data: Object with test: true", + description: "Sends a test webhook event to the specified destination URL to verify the webhook endpoint \nis reachable and properly configured. This allows customers to validate their webhook \nconfiguration before creating the actual webhook resource.\n\nThe test payload includes:\n- event_type: \"webhook.test\"\n- timestamp: Current UTC timestamp\n- message: Test message indicating this is from Cloudflare CASB\n- data: Object with test: true\n\nPOST /accounts/{account_id}/data-security/posture/webhooks/evaluate", inputSchema: { type: "object", properties: { @@ -220,6 +224,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_EvaluateNewWebhookRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -236,6 +241,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "posture-api_EvaluateNewWebhookRequest": posture$$api_EvaluateNewWebhookRequest, "posture-api_WebhookHeaderInput": posture$$api_WebhookHeaderInput, @@ -320,11 +326,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_webhooks_evaluateExisting", title: "Test an existing webhook configuration", - description: "Sends a test webhook event using an existing webhook configuration.\nThis allows customers to verify their webhook endpoint is still reachable and properly \nconfigured after creating the webhook resource.\n\nThe test payload includes:\n- event_type: \"webhook.test\"\n- timestamp: Current UTC timestamp\n- message: Test message indicating this is from Cloudflare CASB\n- data: Object with test: true", + description: "Sends a test webhook event using an existing webhook configuration.\nThis allows customers to verify their webhook endpoint is still reachable and properly \nconfigured after creating the webhook resource.\n\nThe test payload includes:\n- event_type: \"webhook.test\"\n- timestamp: Current UTC timestamp\n- message: Test message indicating this is from Cloudflare CASB\n- data: Object with test: true\n\nPOST /accounts/{account_id}/data-security/posture/webhooks/{webhook_id}/evaluate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -346,6 +353,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -428,11 +436,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_webhooks_get", title: "Get webhook configuration by ID", - description: "Retrieves a specific webhook configuration by its unique identifier.", + description: "Retrieves a specific webhook configuration by its unique identifier.\n\nGET /accounts/{account_id}/data-security/posture/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -454,6 +463,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_webhook-response", @@ -515,11 +525,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_webhooks_list", title: "List webhook configurations", - description: "Retrieves all webhook configurations for the authenticated account.\nReturns an array of webhook configurations that can be used to send finding notifications.", + description: "Retrieves all webhook configurations for the authenticated account.\nReturns an array of webhook configurations that can be used to send finding notifications.\n\nGET /accounts/{account_id}/data-security/posture/webhooks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -535,6 +546,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/posture-api_webhook-list-response", @@ -590,7 +602,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_casb_webhooks_update", title: "Update an existing webhook configuration", - description: "Updates an existing webhook configuration with new settings.", + description: "Updates an existing webhook configuration with new settings.\n\nPUT /accounts/{account_id}/data-security/posture/webhooks/{webhook_id}", inputSchema: { type: "object", properties: { @@ -598,6 +610,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/posture-api_UpdateWebhookRequest" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID for the user making the request.", @@ -620,6 +633,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "posture-api_UpdateWebhookRequest": posture$$api_UpdateWebhookRequest, "posture-api_WebhookHeaderInput": posture$$api_WebhookHeaderInput, diff --git a/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts b/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts index 8f4f93650..2fb2d8fe2 100644 --- a/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/connectivitySettings/outputs.ts @@ -3,20 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `tunnel_icmp_proxy_enabled` in responses. - */ -export const tunnel_icmp_proxy_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `tunnel_offramp_warp_enabled` in responses. - */ -export const tunnel_offramp_warp_enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `tunnel_zero_trust_connectivity_settings_response` in * responses. @@ -31,10 +17,10 @@ export const tunnel_zero_trust_connectivity_settings_response: JsonSchema = { "result": { "properties": { "icmp_proxy_enabled": { - "$ref": "#/$defs/tunnel_icmp_proxy_enabled" + "type": "boolean" }, "offramp_warp_enabled": { - "$ref": "#/$defs/tunnel_offramp_warp_enabled" + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/connectivitySettings/schemas.ts b/src/generated/forge-mcp/zeroTrust/connectivitySettings/schemas.ts deleted file mode 100644 index 275e65e44..000000000 --- a/src/generated/forge-mcp/zeroTrust/connectivitySettings/schemas.ts +++ /dev/null @@ -1,20 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `tunnel_icmp_proxy_enabled`. - */ -export const tunnel_icmp_proxy_enabled: JsonSchema = { - "description": "A flag to enable the ICMP proxy for the account network.", - "type": "boolean" -}; - -/** - * The schema of `tunnel_offramp_warp_enabled`. - */ -export const tunnel_offramp_warp_enabled: JsonSchema = { - "description": "A flag to enable WARP to WARP traffic.", - "type": "boolean" -}; diff --git a/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts b/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts index a280a9128..e109a6aba 100644 --- a/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/connectivitySettings/tools.ts @@ -7,16 +7,7 @@ import { tunnel_api$$response$$common$$failure, tunnel_messages, } from "../../outputs.js"; -import { tunnel_account_id } from "../../schemas.js"; -import { - tunnel_icmp_proxy_enabled, - tunnel_offramp_warp_enabled, - tunnel_zero_trust_connectivity_settings_response, -} from "./outputs.js"; -import { - tunnel_icmp_proxy_enabled as tunnel_icmp_proxy_enabled$, - tunnel_offramp_warp_enabled as tunnel_offramp_warp_enabled$, -} from "./schemas.js"; +import { tunnel_zero_trust_connectivity_settings_response } from "./outputs.js"; /** * The tools of `zeroTrust.connectivitySettings`. @@ -25,28 +16,29 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_connectivitySettings_edit", title: "Updates the Zero Trust Connectivity Settings", - description: "Updates the Zero Trust Connectivity Settings for the given account.", + description: "Updates the Zero Trust Connectivity Settings for the given account.\n\nPATCH /accounts/{account_id}/zerotrust/connectivity_settings", inputSchema: { type: "object", properties: { "body": { "properties": { "icmp_proxy_enabled": { - "$ref": "#/$defs/tunnel_icmp_proxy_enabled", - "description": "A flag to enable the ICMP proxy for the account network." + "description": "A flag to enable the ICMP proxy for the account network.", + "type": "boolean" }, "offramp_warp_enabled": { - "$ref": "#/$defs/tunnel_offramp_warp_enabled", - "description": "A flag to enable WARP to WARP traffic." + "description": "A flag to enable WARP to WARP traffic.", + "type": "boolean" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -59,19 +51,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled$, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_zero_trust_connectivity_settings_response", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled, "tunnel_messages": tunnel_messages, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled, "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response, }, }, @@ -101,9 +87,7 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled, "tunnel_messages": tunnel_messages, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled, "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response, }, }, @@ -115,15 +99,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_connectivitySettings_get", title: "Get Zero Trust Connectivity Settings", - description: "Gets the Zero Trust Connectivity Settings for the given account.", + description: "Gets the Zero Trust Connectivity Settings for the given account.\n\nGET /accounts/{account_id}/zerotrust/connectivity_settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/tunnel_account_id", - "description": "Cloudflare account ID" + "description": "Cloudflare account ID", + "type": "string" } }, "required": [ @@ -135,17 +120,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tunnel_account_id": tunnel_account_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tunnel_zero_trust_connectivity_settings_response", $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled, "tunnel_messages": tunnel_messages, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled, "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response, }, }, @@ -177,9 +158,7 @@ export const tools: readonly Tool[] = [ $defs: { "tunnel_api-response-common": tunnel_api$$response$$common, "tunnel_api-response-common-failure": tunnel_api$$response$$common$$failure, - "tunnel_icmp_proxy_enabled": tunnel_icmp_proxy_enabled, "tunnel_messages": tunnel_messages, - "tunnel_offramp_warp_enabled": tunnel_offramp_warp_enabled, "tunnel_zero_trust_connectivity_settings_response": tunnel_zero_trust_connectivity_settings_response, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts index 5e400e778..938d3beaf 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/secrets/tools.ts @@ -24,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_basicAuthCredentials_secrets_create", title: "Add a secret to a basic-auth credential", - description: "Adds a password secret to the credential.\n\nThis method is beta.", + description: "Adds a password secret to the credential.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets", inputSchema: { type: "object", properties: { @@ -32,6 +32,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_CreateBasicAuthSecretBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -54,6 +55,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_CreateBasicAuthSecretBody": cws_CreateBasicAuthSecretBody, }, @@ -110,11 +112,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_basicAuthCredentials_secrets_delete", title: "Delete a basic-auth secret", - description: "Deletes the specified secret from the credential.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this basic-auth secret?", + description: "Deletes the specified secret from the credential.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this basic-auth secret?\n\nDELETE /accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets/{secret_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -142,6 +145,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -191,11 +195,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_basicAuthCredentials_secrets_get", title: "Get a basic-auth secret by ID", - description: "Returns the specified secret's metadata without exposing its password or hash.\n\nThis method is beta.", + description: "Returns the specified secret's metadata without exposing its password or hash.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets/{secret_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -223,6 +228,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseBasicAuthSecretResponse", @@ -272,11 +278,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_basicAuthCredentials_secrets_list", title: "List secrets for a basic-auth credential", - description: "Returns a paginated list of secrets belonging to the credential.\n\nThis method is beta.", + description: "Returns a paginated list of secrets belonging to the credential.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/basic-auth-credentials/{credential_id}/secrets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -295,6 +302,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -329,6 +337,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponseBasicAuthSecretResponse", diff --git a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts index 2831de5e7..176ff62f3 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/basicAuthCredentials/tools.ts @@ -24,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_basicAuthCredentials_create", title: "Create a basic-auth credential", - description: "Creates a basic-auth credential with the specified username.\n\nThis method is beta.", + description: "Creates a basic-auth credential with the specified username.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/basic-auth-credentials", inputSchema: { type: "object", properties: { @@ -32,6 +32,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_CreateBasicAuthCredentialInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_CreateBasicAuthCredentialInputBody": cws_CreateBasicAuthCredentialInputBody, }, @@ -101,11 +103,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_basicAuthCredentials_delete", title: "Delete a basic-auth credential", - description: "Deletes the credential and its secrets if it is not attached to a deployment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this basic-auth credential?", + description: "Deletes the credential and its secrets if it is not attached to a deployment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this basic-auth credential?\n\nDELETE /accounts/{account_id}/cws/basic-auth-credentials/{credential_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -127,6 +130,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -176,11 +180,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_basicAuthCredentials_get", title: "Get a basic-auth credential by ID", - description: "Returns the basic-auth credential with the specified ID.\n\nThis method is beta.", + description: "Returns the basic-auth credential with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/basic-auth-credentials/{credential_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -202,6 +207,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseBasicAuthCredential", @@ -251,11 +257,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_basicAuthCredentials_list", title: "List basic-auth credentials for an account", - description: "Returns a paginated list of basic-auth credentials in the account.\n\nThis method is beta.", + description: "Returns a paginated list of basic-auth credentials in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/basic-auth-credentials", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -268,6 +275,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -313,6 +321,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponseBasicAuthCredential", diff --git a/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts index 3978894b0..3455e4c32 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/deployments/tools.ts @@ -27,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_deployments_create", title: "Create a new deployment", - description: "Creates a deployment with the specified policy sets, domain ACL, and basic-auth credentials.\n\nThis method is beta.", + description: "Creates a deployment with the specified policy sets, domain ACL, and basic-auth credentials.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/deployments", inputSchema: { type: "object", properties: { @@ -35,6 +35,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_CreateDeploymentInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_CreateDeploymentInputBody": cws_CreateDeploymentInputBody, }, @@ -104,11 +106,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_deployments_delete", title: "Delete a deployment", - description: "Deletes the deployment and detaches its associated resources. The resources are not deleted.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this deployment?", + description: "Deletes the deployment and detaches its associated resources. The resources are not deleted.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this deployment?\n\nDELETE /accounts/{account_id}/cws/deployments/{deployment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -130,6 +133,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -179,11 +183,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_deployments_get", title: "Get a deployment by ID", - description: "Returns the deployment with the specified ID.\n\nThis method is beta.", + description: "Returns the deployment with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/deployments/{deployment_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -205,6 +210,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeployment", @@ -254,11 +260,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_deployments_list", title: "List deployments", - description: "Returns a paginated list of deployments in the account.\n\nThis method is beta.", + description: "Returns a paginated list of deployments in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/deployments", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -271,6 +278,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -311,6 +319,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponseDeployment", @@ -369,7 +378,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_deployments_update", title: "Update a deployment", - description: "Replaces the deployment's mutable configuration and resource attachments.\n\nThis method is beta.", + description: "Replaces the deployment's mutable configuration and resource attachments.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/cws/deployments/{deployment_id}", inputSchema: { type: "object", properties: { @@ -377,6 +386,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_UpdateDeploymentInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -399,6 +409,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_UpdateDeploymentInputBody": cws_UpdateDeploymentInputBody, }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts index ec25d1979..e2e0758d3 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/domainAcls/tools.ts @@ -29,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_domainAcls_create", title: "Create a new domain ACL", - description: "Creates a domain access control list with its default action and entries.\n\nThis method is beta.", + description: "Creates a domain access control list with its default action and entries.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/domain-acls", inputSchema: { type: "object", properties: { @@ -37,6 +37,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_CreateDomainACLInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -53,6 +54,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_CreateDomainACLInputBody": cws_CreateDomainACLInputBody, "cws_DomainACLEntry": cws_DomainACLEntry$, @@ -109,11 +111,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_domainAcls_delete", title: "Delete a domain ACL", - description: "Deletes the domain ACL if it is not attached to a deployment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this domain ACL?", + description: "Deletes the domain ACL if it is not attached to a deployment.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this domain ACL?\n\nDELETE /accounts/{account_id}/cws/domain-acls/{domain_acl_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -135,6 +138,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -184,11 +188,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_domainAcls_get", title: "Get a domain ACL by ID", - description: "Returns the domain access control list with the specified ID.\n\nThis method is beta.", + description: "Returns the domain access control list with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/domain-acls/{domain_acl_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -210,6 +215,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDomainACL", @@ -261,11 +267,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_domainAcls_list", title: "List domain ACLs", - description: "Returns a paginated list of domain access control lists in the account.\n\nThis method is beta.", + description: "Returns a paginated list of domain access control lists in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/domain-acls", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -278,6 +285,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -323,6 +331,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponseDomainACL", @@ -384,7 +393,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_domainAcls_update", title: "Update a domain ACL and replace its entries", - description: "Replaces the domain access control list's name, default action, and entries.\n\nThis method is beta.", + description: "Replaces the domain access control list's name, default action, and entries.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/cws/domain-acls/{domain_acl_id}", inputSchema: { type: "object", properties: { @@ -392,6 +401,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_UpdateDomainACLInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -414,6 +424,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_DomainACLEntry": cws_DomainACLEntry$, "cws_UpdateDomainACLInputBody": cws_UpdateDomainACLInputBody, diff --git a/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts index c1cfc3d1d..895504ba3 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/policies/tools.ts @@ -27,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policies_create", title: "Create a new policy", - description: "Creates a policy from inline Rego source, an entrypoint, and a filter expression.\n\nThis method is beta.", + description: "Creates a policy from inline Rego source, an entrypoint, and a filter expression.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/policies", inputSchema: { type: "object", properties: { @@ -35,6 +35,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_CreatePolicyInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_CreatePolicyInputBody": cws_CreatePolicyInputBody, }, @@ -107,11 +109,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policies_delete", title: "Delete a policy", - description: "Deletes the policy and cascades its policy-set membership rows. The policy sets remain.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this policy?", + description: "Deletes the policy and cascades its policy-set membership rows. The policy sets remain.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this policy?\n\nDELETE /accounts/{account_id}/cws/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -133,6 +136,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -182,11 +186,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policies_get", title: "Get a policy by ID", - description: "Returns the policy with the specified ID.\n\nThis method is beta.", + description: "Returns the policy with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/policies/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -208,6 +213,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponsePolicy", @@ -257,11 +263,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policies_list", title: "List policies", - description: "Returns a paginated list of policies in the account.\n\nThis method is beta.", + description: "Returns a paginated list of policies in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -274,6 +281,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -323,6 +331,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponsePolicy", @@ -383,7 +392,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policies_update", title: "Update a policy", - description: "Replaces the policy's configuration. Omit tags or use {} to clear them.\n\nThis method is beta.", + description: "Replaces the policy's configuration. Omit tags or use {} to clear them.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/cws/policies/{policy_id}", inputSchema: { type: "object", properties: { @@ -391,6 +400,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_UpdatePolicyInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -413,6 +423,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_UpdatePolicyInputBody": cws_UpdatePolicyInputBody, }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts index 03573cf66..2cd1be74b 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/policySets/tools.ts @@ -29,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policySets_create", title: "Create a new policy set", - description: "Creates a policy set containing the specified policies and workload targets.\n\nThis method is beta.", + description: "Creates a policy set containing the specified policies and workload targets.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/policy-sets", inputSchema: { type: "object", properties: { @@ -37,6 +37,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_CreatePolicySetInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -53,6 +54,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_CreatePolicySetInputBody": cws_CreatePolicySetInputBody, "cws_PolicySetPolicyInput": cws_PolicySetPolicyInput, @@ -109,11 +111,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policySets_delete", title: "Delete a policy set", - description: "Deletes the policy set and cascades its deployment attachment and policy and workload membership rows. The referenced deployments, policies, and workloads remain.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this policy set?", + description: "Deletes the policy set and cascades its deployment attachment and policy and workload membership rows. The referenced deployments, policies, and workloads remain.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this policy set?\n\nDELETE /accounts/{account_id}/cws/policy-sets/{policy_set_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -135,6 +138,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -184,11 +188,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policySets_get", title: "Get a policy set by ID", - description: "Returns the policy set with the specified ID.\n\nThis method is beta.", + description: "Returns the policy set with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/policy-sets/{policy_set_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -210,6 +215,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponsePolicySet", @@ -261,11 +267,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policySets_list", title: "List policy sets", - description: "Returns a paginated list of policy sets in the account.\n\nThis method is beta.", + description: "Returns a paginated list of policy sets in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/policy-sets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -278,6 +285,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -323,6 +331,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponsePolicySet", @@ -384,7 +393,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_policySets_update", title: "Update a policy set", - description: "Replaces the policy set's configuration. Omit tags or use {} to clear them.\n\nThis method is beta.", + description: "Replaces the policy set's configuration. Omit tags or use {} to clear them.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/cws/policy-sets/{policy_set_id}", inputSchema: { type: "object", properties: { @@ -392,6 +401,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_UpdatePolicySetInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -414,6 +424,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_PolicySetPolicyInput": cws_PolicySetPolicyInput, "cws_UpdatePolicySetInputBody": cws_UpdatePolicySetInputBody, diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts index 5d2413174..b0d440f34 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/regoMetadata/tools.ts @@ -30,7 +30,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoMetadata_create", title: "Create a new rego metadata document", - description: "Creates a JSON document that Rego can access through its import path.\n\nThis method is beta.", + description: "Creates a JSON document that Rego can access through its import path.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/rego-metadata", inputSchema: { type: "object", properties: { @@ -38,6 +38,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_RegoMetadataBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -54,6 +55,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_JSONDocument": cws_JSONDocument$, "cws_JSONValue": cws_JSONValue$, @@ -113,11 +115,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoMetadata_delete", title: "Delete a rego metadata document", - description: "Deletes the specified Rego metadata document.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this Rego metadata document?", + description: "Deletes the specified Rego metadata document.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this Rego metadata document?\n\nDELETE /accounts/{account_id}/cws/rego-metadata/{rego_metadata_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -139,6 +142,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -188,11 +192,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoMetadata_get", title: "Get a rego metadata document by ID", - description: "Returns the Rego metadata document with the specified ID.\n\nThis method is beta.", + description: "Returns the Rego metadata document with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/rego-metadata/{rego_metadata_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -214,6 +219,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseRegoMetadata", @@ -267,11 +273,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoMetadata_list", title: "List Rego metadata documents", - description: "Returns a paginated list of Rego metadata documents in the account.\n\nThis method is beta.", + description: "Returns a paginated list of Rego metadata documents in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/rego-metadata", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -284,6 +291,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -328,6 +336,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponseRegoMetadata", @@ -391,7 +400,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoMetadata_update", title: "Update a rego metadata document", - description: "Replaces the metadata document's name, import path, and JSON data.\n\nThis method is beta.", + description: "Replaces the metadata document's name, import path, and JSON data.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/cws/rego-metadata/{rego_metadata_id}", inputSchema: { type: "object", properties: { @@ -399,6 +408,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_RegoMetadataBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -421,6 +431,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_JSONDocument": cws_JSONDocument$, "cws_JSONValue": cws_JSONValue$, diff --git a/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts index 397d87e63..c5f1ddbd8 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/regoModules/tools.ts @@ -27,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoModules_create", title: "Create a new Rego module", - description: "Creates a library Rego module and derives its package path from the source.\n\nThis method is beta.", + description: "Creates a library Rego module and derives its package path from the source.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/rego-modules", inputSchema: { type: "object", properties: { @@ -35,6 +35,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_CreateRegoModuleInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_CreateRegoModuleInputBody": cws_CreateRegoModuleInputBody, }, @@ -107,11 +109,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoModules_delete", title: "Delete a Rego module", - description: "Deletes the module if no policy or library references its rules.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this Rego module?", + description: "Deletes the module if no policy or library references its rules.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this Rego module?\n\nDELETE /accounts/{account_id}/cws/rego-modules/{rego_module_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -133,6 +136,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -182,11 +186,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoModules_get", title: "Get a Rego module by ID", - description: "Returns the library Rego module with the specified ID.\n\nThis method is beta.", + description: "Returns the library Rego module with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/rego-modules/{rego_module_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -208,6 +213,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseRegoModule", @@ -257,11 +263,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoModules_list", title: "List Rego modules", - description: "Returns a paginated list of library Rego modules in the account.\n\nThis method is beta.", + description: "Returns a paginated list of library Rego modules in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/rego-modules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -274,6 +281,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -318,6 +326,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponseRegoModule", @@ -377,7 +386,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_regoModules_update", title: "Update a Rego module", - description: "Replaces the module and validates policies and libraries that depend on it.\n\nThis method is beta.", + description: "Replaces the module and validates policies and libraries that depend on it.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/cws/rego-modules/{rego_module_id}", inputSchema: { type: "object", properties: { @@ -385,6 +394,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_UpdateRegoModuleInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -407,6 +417,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_UpdateRegoModuleInputBody": cws_UpdateRegoModuleInputBody, }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts index df119ad73..c1010da82 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/nodes/tools.ts @@ -31,7 +31,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_nodes_batch", title: "Apply a batch of tenant node mutations", - description: "Atomically validates and applies 1 to 500 unordered node operations. Creates may reference new parents but cannot reuse a native_id deleted in the same batch. Maximum body size: 1 MiB.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Apply this tenant node batch?", + description: "Atomically validates and applies 1 to 500 unordered node operations. Creates may reference new parents but cannot reuse a native_id deleted in the same batch. Maximum body size: 1 MiB.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Apply this tenant node batch?\n\nPOST /accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/batch", inputSchema: { type: "object", properties: { @@ -39,6 +39,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_BatchTenantNodesInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -61,6 +62,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_BatchTenantNodesInputBody": cws_BatchTenantNodesInputBody, "cws_TenantNodeBatchDelete": cws_TenantNodeBatchDelete, @@ -124,7 +126,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_nodes_create", title: "Add a node to a tenant structure", - description: "Adds a validated cloud-native node to the tenant hierarchy.\n\nThis method is beta.", + description: "Adds a validated cloud-native node to the tenant hierarchy.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes", inputSchema: { type: "object", properties: { @@ -132,6 +134,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_TenantNodeBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -154,6 +157,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_TenantNodeBody": cws_TenantNodeBody, }, @@ -207,11 +211,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_nodes_delete", title: "Delete a tenant node", - description: "Deletes a childless node from the tenant hierarchy.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this tenant node?", + description: "Deletes a childless node from the tenant hierarchy.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this tenant node?\n\nDELETE /accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/{node_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -239,6 +244,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -288,11 +294,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_nodes_get", title: "Get a tenant node by ID", - description: "Returns the tenant node with the specified ID.\n\nThis method is beta.", + description: "Returns the tenant node with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/{node_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -320,6 +327,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseTenantStructureNode", @@ -369,11 +377,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_nodes_list", title: "List nodes for a tenant structure", - description: "Returns a paginated list of nodes in the tenant structure.\n\nThis method is beta.", + description: "Returns a paginated list of nodes in the tenant structure.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -392,6 +401,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -444,6 +454,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponseTenantStructureNode", @@ -505,7 +516,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_nodes_update", title: "Update a tenant node", - description: "Updates the node's display name or parent while preserving its immutable identity fields.\n\nThis method is beta.", + description: "Updates the node's display name or parent while preserving its immutable identity fields.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/cws/tenant-structures/{structure_id}/nodes/{node_id}", inputSchema: { type: "object", properties: { @@ -513,6 +524,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_TenantNodeBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -541,6 +553,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_TenantNodeBody": cws_TenantNodeBody, }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts index 193758b63..43dcae826 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/tenantStructures/tools.ts @@ -27,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_create", title: "Create a tenant structure", - description: "Creates an empty tenant hierarchy for the selected cloud application.\n\nThis method is beta.", + description: "Creates an empty tenant hierarchy for the selected cloud application.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/tenant-structures", inputSchema: { type: "object", properties: { @@ -35,6 +35,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_CreateTenantStructureInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_CreateTenantStructureInputBody": cws_CreateTenantStructureInputBody, }, @@ -104,11 +106,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_delete", title: "Delete a tenant structure", - description: "Deletes the tenant structure and all nodes in its hierarchy.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this tenant structure?", + description: "Deletes the tenant structure and all nodes in its hierarchy.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this tenant structure?\n\nDELETE /accounts/{account_id}/cws/tenant-structures/{structure_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -130,6 +133,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -179,11 +183,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_get", title: "Get a tenant structure by ID", - description: "Returns the tenant structure with the specified ID.\n\nThis method is beta.", + description: "Returns the tenant structure with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/tenant-structures/{structure_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -205,6 +210,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseTenantStructure", @@ -254,11 +260,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_list", title: "List tenant structures for an account", - description: "Returns a paginated list of tenant structures in the account.\n\nThis method is beta.", + description: "Returns a paginated list of tenant structures in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/tenant-structures", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -271,6 +278,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -315,6 +323,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponseTenantStructure", @@ -374,7 +383,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_tenantStructures_update", title: "Update a tenant structure", - description: "Updates the tenant structure's name and import path; its application remains immutable.\n\nThis method is beta.", + description: "Updates the tenant structure's name and import path; its application remains immutable.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/cws/tenant-structures/{structure_id}", inputSchema: { type: "object", properties: { @@ -382,6 +391,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_UpdateTenantStructureInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -404,6 +414,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_UpdateTenantStructureInputBody": cws_UpdateTenantStructureInputBody, }, diff --git a/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts b/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts index 9232a775c..183ea191b 100644 --- a/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/cws/workloads/tools.ts @@ -27,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_workloads_create", title: "Create a new workload", - description: "Creates a reusable workload selector from a filter expression.\n\nThis method is beta.", + description: "Creates a reusable workload selector from a filter expression.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/cws/workloads", inputSchema: { type: "object", properties: { @@ -35,6 +35,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_CreateWorkloadInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_CreateWorkloadInputBody": cws_CreateWorkloadInputBody, }, @@ -104,11 +106,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_workloads_delete", title: "Delete a workload", - description: "Deletes the workload if it is not targeted by a policy set.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this workload?", + description: "Deletes the workload if it is not targeted by a policy set.\n\nThis method is beta.\n\nConfirm with the user before calling this tool. Delete this workload?\n\nDELETE /accounts/{account_id}/cws/workloads/{workload_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -130,6 +133,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseDeletedResult", @@ -179,11 +183,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_workloads_get", title: "Get a workload by ID", - description: "Returns the workload with the specified ID.\n\nThis method is beta.", + description: "Returns the workload with the specified ID.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/workloads/{workload_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -205,6 +210,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_ResponseWorkload", @@ -254,11 +260,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_workloads_list", title: "List workloads", - description: "Returns a paginated list of workloads in the account.\n\nThis method is beta.", + description: "Returns a paginated list of workloads in the account.\n\nThis method is beta.\n\nGET /accounts/{account_id}/cws/workloads", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -271,6 +278,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Pagination cursor from previous response", @@ -316,6 +324,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cws_PageResponseWorkload", @@ -375,7 +384,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_cws_workloads_update", title: "Update a workload", - description: "Replaces the workload's configuration. Omit tags or use {} to clear them.\n\nThis method is beta.", + description: "Replaces the workload's configuration. Omit tags or use {} to clear them.\n\nThis method is beta.\n\nPUT /accounts/{account_id}/cws/workloads/{workload_id}", inputSchema: { type: "object", properties: { @@ -383,6 +392,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/cws_UpdateWorkloadInputBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Cloudflare account ID (32-character hexadecimal string)", @@ -405,6 +415,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cws_UpdateWorkloadInputBody": cws_UpdateWorkloadInputBody, }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts index fcf091b24..ec5309176 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/targetEnvironments/tools.ts @@ -15,11 +15,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_clientVersions_targetEnvironments_list", title: "List available target environments", - description: "Retrieves a list of all available target environments with their display names. This endpoint is in Beta.\n\nThis method is beta.", + description: "Retrieves a list of all available target environments with their display names. This endpoint is in Beta.\n\nThis method is beta.\n\nGET /accounts/{account_id}/devices/client-versions/target-environments", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -34,6 +35,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts index d6773055d..b042c4813 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/clientVersions/tools.ts @@ -16,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_clientVersions_list", title: "List client versions", - description: "Lists available WARP client versions for a specific target environment and release track. This endpoint is in Beta.\n\nThis method is beta.", + description: "Lists available WARP client versions for a specific target environment and release track. This endpoint is in Beta.\n\nThis method is beta.\n\nGET /accounts/{account_id}/devices/client-versions", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -32,6 +33,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -67,6 +69,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts index 5373feef8..bb1c0648e 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/outputs.ts @@ -9,19 +9,19 @@ import type { JsonSchema } from "../../../_/tool.js"; export const teams$$devices_deployment_group: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/teams-devices_deployment_group_created_at" + "type": "string" }, "id": { - "$ref": "#/$defs/teams-devices_deployment_group_id" + "type": "string" }, "name": { - "$ref": "#/$defs/teams-devices_deployment_group_name" + "type": "string" }, "policy_ids": { "$ref": "#/$defs/teams-devices_deployment_group_policy_ids" }, "updated_at": { - "$ref": "#/$defs/teams-devices_deployment_group_updated_at" + "type": "string" }, "version_config": { "items": { @@ -40,27 +40,6 @@ export const teams$$devices_deployment_group: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_deployment_group_created_at` in responses. - */ -export const teams$$devices_deployment_group_created_at: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_deployment_group_id` in responses. - */ -export const teams$$devices_deployment_group_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_deployment_group_name` in responses. - */ -export const teams$$devices_deployment_group_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_deployment_group_policy_ids` in responses. */ @@ -78,13 +57,6 @@ export const teams$$devices_deployment_group_policy_ids: JsonSchema = { ] }; -/** - * The schema of `teams-devices_deployment_group_updated_at` in responses. - */ -export const teams$$devices_deployment_group_updated_at: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_version_config` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/schemas.ts index 4272c0d9d..c52fae2ed 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/schemas.ts @@ -9,8 +9,8 @@ import type { JsonSchema } from "../../../_/tool.js"; export const teams$$devices_deployment_group_create_request: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/teams-devices_deployment_group_name", - "description": "A user-friendly name for the deployment group." + "description": "A user-friendly name for the deployment group.", + "type": "string" }, "policy_ids": { "description": "Contains an optional list of policy IDs assigned to a group.", @@ -35,22 +35,14 @@ export const teams$$devices_deployment_group_create_request: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_deployment_group_name`. - */ -export const teams$$devices_deployment_group_name: JsonSchema = { - "description": "A user-friendly name for the deployment group.", - "type": "string" -}; - /** * The schema of `teams-devices_deployment_group_update_request`. */ export const teams$$devices_deployment_group_update_request: JsonSchema = { "properties": { "name": { - "$ref": "#/$defs/teams-devices_deployment_group_name", - "description": "A user-friendly name for the deployment group." + "description": "A user-friendly name for the deployment group.", + "type": "string" }, "policy_ids": { "description": "Replaces the entire list of policy IDs.", diff --git a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts index eee2fd445..cac0a5b91 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/deploymentGroups/tools.ts @@ -9,16 +9,11 @@ import { } from "../outputs.js"; import { teams$$devices_deployment_group, - teams$$devices_deployment_group_created_at, - teams$$devices_deployment_group_id, - teams$$devices_deployment_group_name, teams$$devices_deployment_group_policy_ids, - teams$$devices_deployment_group_updated_at, teams$$devices_version_config, } from "./outputs.js"; import { teams$$devices_deployment_group_create_request, - teams$$devices_deployment_group_name as teams$$devices_deployment_group_name$, teams$$devices_deployment_group_update_request, teams$$devices_version_config as teams$$devices_version_config$, } from "./schemas.js"; @@ -30,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_deploymentGroups_create", title: "Create deployment group", - description: "Creates a new deployment group. Policy IDs must be unique across all deployment groups. This endpoint is in Beta.\n\nThis method is beta.", + description: "Creates a new deployment group. Policy IDs must be unique across all deployment groups. This endpoint is in Beta.\n\nThis method is beta.\n\nPOST /accounts/{account_id}/devices/deployment-groups", inputSchema: { type: "object", properties: { @@ -38,6 +33,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_deployment_group_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -53,9 +49,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "teams-devices_deployment_group_create_request": teams$$devices_deployment_group_create_request, - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name$, "teams-devices_version_config": teams$$devices_version_config$, }, }, @@ -89,11 +85,7 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "teams-devices_deployment_group": teams$$devices_deployment_group, - "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, - "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, - "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, "teams-devices_v4_response_message": teams$$devices_v4_response_message, "teams-devices_version_config": teams$$devices_version_config, }, @@ -147,11 +139,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "teams-devices_deployment_group": teams$$devices_deployment_group, - "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, - "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, - "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, "teams-devices_version_config": teams$$devices_version_config, @@ -165,11 +153,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_deploymentGroups_delete", title: "Delete deployment group", - description: "Deletes a deployment group. Associated policies no longer apply and devices stop receiving version targets. This endpoint is in Beta.\n\nThis method is beta.", + description: "Deletes a deployment group. Associated policies no longer apply and devices stop receiving version targets. This endpoint is in Beta.\n\nThis method is beta.\n\nDELETE /accounts/{account_id}/devices/deployment-groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -188,6 +177,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -290,11 +280,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_deploymentGroups_get", title: "Get deployment group", - description: "Fetches a single deployment group by its ID. This endpoint is in Beta.\n\nThis method is beta.", + description: "Fetches a single deployment group by its ID. This endpoint is in Beta.\n\nThis method is beta.\n\nGET /accounts/{account_id}/devices/deployment-groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -313,6 +304,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -344,11 +336,7 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "teams-devices_deployment_group": teams$$devices_deployment_group, - "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, - "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, - "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, "teams-devices_v4_response_message": teams$$devices_v4_response_message, "teams-devices_version_config": teams$$devices_version_config, }, @@ -399,11 +387,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "teams-devices_deployment_group": teams$$devices_deployment_group, - "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, - "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, - "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, "teams-devices_version_config": teams$$devices_version_config, @@ -416,11 +400,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_deploymentGroups_list", title: "List deployment groups", - description: "Lists all deployment groups for an account. Use deployment groups to assign target WARP client versions to specific devices. This endpoint is in Beta.\n\nThis method is beta.", + description: "Lists all deployment groups for an account. Use deployment groups to assign target WARP client versions to specific devices. This endpoint is in Beta.\n\nThis method is beta.\n\nGET /accounts/{account_id}/devices/deployment-groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -432,6 +417,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -450,6 +436,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -488,11 +475,7 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "teams-devices_deployment_group": teams$$devices_deployment_group, - "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, - "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, - "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, "teams-devices_pagination_info": teams$$devices_pagination_info, "teams-devices_v4_response_message": teams$$devices_v4_response_message, "teams-devices_version_config": teams$$devices_version_config, @@ -551,11 +534,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "teams-devices_deployment_group": teams$$devices_deployment_group, - "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, - "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, - "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, "teams-devices_pagination_info": teams$$devices_pagination_info, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, @@ -573,7 +552,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_deploymentGroups_update", title: "Update deployment group", - description: "Updates a deployment group. Returns 409 if any newly added policy IDs already belong to another deployment group. This endpoint is in Beta.\n\nThis method is beta.", + description: "Updates a deployment group. Returns 409 if any newly added policy IDs already belong to another deployment group. This endpoint is in Beta.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/devices/deployment-groups/{group_id}", inputSchema: { type: "object", properties: { @@ -581,6 +560,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_deployment_group_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -600,8 +580,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name$, "teams-devices_deployment_group_update_request": teams$$devices_deployment_group_update_request, "teams-devices_version_config": teams$$devices_version_config$, }, @@ -636,11 +616,7 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "teams-devices_deployment_group": teams$$devices_deployment_group, - "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, - "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, - "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, "teams-devices_v4_response_message": teams$$devices_v4_response_message, "teams-devices_version_config": teams$$devices_version_config, }, @@ -694,11 +670,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "teams-devices_deployment_group": teams$$devices_deployment_group, - "teams-devices_deployment_group_created_at": teams$$devices_deployment_group_created_at, - "teams-devices_deployment_group_id": teams$$devices_deployment_group_id, - "teams-devices_deployment_group_name": teams$$devices_deployment_group_name, "teams-devices_deployment_group_policy_ids": teams$$devices_deployment_group_policy_ids, - "teams-devices_deployment_group_updated_at": teams$$devices_deployment_group_updated_at, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, "teams-devices_version_config": teams$$devices_version_config, diff --git a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts index ec6a85d34..1d61afd29 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/outputs.ts @@ -3,23 +3,17 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `teams-devices_disconnect` in responses. - */ -export const teams$$devices_disconnect: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `teams-devices_global_warp_override` in responses. */ export const teams$$devices_global_warp_override: JsonSchema = { "properties": { "disconnect": { - "$ref": "#/$defs/teams-devices_disconnect" + "type": "boolean" }, "timestamp": { - "$ref": "#/$defs/teams-devices_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -43,11 +37,3 @@ export const teams$$devices_global_warp_override_response: JsonSchema = { } ] }; - -/** - * The schema of `teams-devices_timestamp` in responses. - */ -export const teams$$devices_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/schemas.ts index 4b9edac00..a671e4422 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `teams-devices_disconnect`. - */ -export const teams$$devices_disconnect: JsonSchema = { - "description": "Disconnects all devices on the account using Global WARP override.", - "type": "boolean" -}; - /** * The schema of `teams-devices_global_warp_override_request`. */ @@ -18,12 +10,12 @@ export const teams$$devices_global_warp_override_request: JsonSchema = { "description": "Global WARP override request", "properties": { "disconnect": { - "$ref": "#/$defs/teams-devices_disconnect", - "description": "Disconnects all devices on the account using Global WARP override." + "description": "Disconnects all devices on the account using Global WARP override.", + "type": "boolean" }, "justification": { - "$ref": "#/$defs/teams-devices_justification", - "description": "Reasoning for setting the Global WARP override state. This will be surfaced in the audit log." + "description": "Reasoning for setting the Global WARP override state. This will be surfaced in the audit log.", + "type": "string" } }, "required": [ @@ -31,11 +23,3 @@ export const teams$$devices_global_warp_override_request: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `teams-devices_justification`. - */ -export const teams$$devices_justification: JsonSchema = { - "description": "Reasoning for setting the Global WARP override state. This will be surfaced in the audit log.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts index 2d231b55e..84491c803 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/emergencyDisconnect/tools.ts @@ -8,18 +8,11 @@ import { teams$$devices_api$$response$$single, teams$$devices_messages, } from "../outputs.js"; -import { teams$$devices_identifier } from "../schemas.js"; import { - teams$$devices_disconnect, teams$$devices_global_warp_override, teams$$devices_global_warp_override_response, - teams$$devices_timestamp, } from "./outputs.js"; -import { - teams$$devices_disconnect as teams$$devices_disconnect$, - teams$$devices_global_warp_override_request, - teams$$devices_justification, -} from "./schemas.js"; +import { teams$$devices_global_warp_override_request } from "./schemas.js"; /** * The tools of `zeroTrust.devices.emergencyDisconnect`. @@ -28,14 +21,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_emergencyDisconnect_get", title: "Get Global Disconnect", - description: "Fetch the Global WARP disconnect state.", + description: "Fetch the Global WARP disconnect state.\n\nGET /accounts/{account_id}/devices/resilience/disconnect", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -47,20 +41,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_global_warp_override_response", $defs: { "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_disconnect": teams$$devices_disconnect, "teams-devices_global_warp_override": teams$$devices_global_warp_override, "teams-devices_global_warp_override_response": teams$$devices_global_warp_override_response, "teams-devices_messages": teams$$devices_messages, - "teams-devices_timestamp": teams$$devices_timestamp, }, }, annotations: { @@ -93,11 +83,9 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_disconnect": teams$$devices_disconnect, "teams-devices_global_warp_override": teams$$devices_global_warp_override, "teams-devices_global_warp_override_response": teams$$devices_global_warp_override_response, "teams-devices_messages": teams$$devices_messages, - "teams-devices_timestamp": teams$$devices_timestamp, }, }, request: (args) => ({ @@ -107,7 +95,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_emergencyDisconnect_set", title: "Set Global Disconnect", - description: "Sets the Global WARP disconnect state.", + description: "Sets the Global WARP disconnect state.\n\nPOST /accounts/{account_id}/devices/resilience/disconnect", inputSchema: { type: "object", properties: { @@ -115,9 +103,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_global_warp_override_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -130,11 +119,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_disconnect": teams$$devices_disconnect$, "teams-devices_global_warp_override_request": teams$$devices_global_warp_override_request, - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_justification": teams$$devices_justification, }, }, outputSchema: { @@ -142,11 +129,9 @@ export const tools: readonly Tool[] = [ $defs: { "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_disconnect": teams$$devices_disconnect, "teams-devices_global_warp_override": teams$$devices_global_warp_override, "teams-devices_global_warp_override_response": teams$$devices_global_warp_override_response, "teams-devices_messages": teams$$devices_messages, - "teams-devices_timestamp": teams$$devices_timestamp, }, }, annotations: { @@ -176,11 +161,9 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_disconnect": teams$$devices_disconnect, "teams-devices_global_warp_override": teams$$devices_global_warp_override, "teams-devices_global_warp_override_response": teams$$devices_global_warp_override_response, "teams-devices_messages": teams$$devices_messages, - "teams-devices_timestamp": teams$$devices_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts index 6693dd7c7..b26aec3fe 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/outputs.ts @@ -9,31 +9,38 @@ import type { JsonSchema } from "../../../_/tool.js"; export const teams$$devices_ip_profile: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/teams-devices_ip_profile_created_at" + "type": "string" }, "description": { - "$ref": "#/$defs/teams-devices_ip_profile_description" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "enabled": { - "$ref": "#/$defs/teams-devices_ip_profile_enabled" + "type": "boolean" }, "id": { - "$ref": "#/$defs/teams-devices_ip_profile_id" + "type": "string" }, "match": { - "$ref": "#/$defs/teams-devices_ip_profile_match" + "type": "string" }, "name": { - "$ref": "#/$defs/teams-devices_ip_profile_name" + "type": "string" }, "precedence": { - "$ref": "#/$defs/teams-devices_ip_profile_precedence" + "type": "integer" }, "subnet_id": { - "$ref": "#/$defs/teams-devices_ip_profile_subnet_id" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/teams-devices_ip_profile_updated_at" + "type": "string" } }, "required": [ @@ -49,73 +56,3 @@ export const teams$$devices_ip_profile: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `teams-devices_ip_profile_created_at` in responses. - */ -export const teams$$devices_ip_profile_created_at: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_ip_profile_description` in responses. - */ -export const teams$$devices_ip_profile_description: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `teams-devices_ip_profile_enabled` in responses. - */ -export const teams$$devices_ip_profile_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `teams-devices_ip_profile_id` in responses. - */ -export const teams$$devices_ip_profile_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_ip_profile_match` in responses. - */ -export const teams$$devices_ip_profile_match: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_ip_profile_name` in responses. - */ -export const teams$$devices_ip_profile_name: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_ip_profile_precedence` in responses. - */ -export const teams$$devices_ip_profile_precedence: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `teams-devices_ip_profile_subnet_id` in responses. - */ -export const teams$$devices_ip_profile_subnet_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_ip_profile_updated_at` in responses. - */ -export const teams$$devices_ip_profile_updated_at: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/schemas.ts index 160ac8efb..19ccd7da4 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/schemas.ts @@ -25,20 +25,20 @@ export const teams$$devices_ip_profile_create_request: JsonSchema = { "type": "boolean" }, "match": { - "$ref": "#/$defs/teams-devices_ip_profile_match", - "description": "The wirefilter expression to match registrations. Available values: \"identity.name\", \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.saml_attributes\"." + "description": "The wirefilter expression to match registrations. Available values: \"identity.name\", \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.saml_attributes\".", + "type": "string" }, "name": { - "$ref": "#/$defs/teams-devices_ip_profile_name", - "description": "A user-friendly name for the Device IP profile." + "description": "A user-friendly name for the Device IP profile.", + "type": "string" }, "precedence": { - "$ref": "#/$defs/teams-devices_ip_profile_precedence", - "description": "The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field." + "description": "The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.", + "type": "integer" }, "subnet_id": { - "$ref": "#/$defs/teams-devices_ip_profile_subnet_id", - "description": "The ID of the Subnet." + "description": "The ID of the Subnet.", + "type": "string" } }, "required": [ @@ -50,46 +50,6 @@ export const teams$$devices_ip_profile_create_request: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_ip_profile_enabled`. - */ -export const teams$$devices_ip_profile_enabled: JsonSchema = { - "description": "Whether the Device IP profile is enabled.", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_ip_profile_match`. - */ -export const teams$$devices_ip_profile_match: JsonSchema = { - "description": "The wirefilter expression to match registrations. Available values: \"identity.name\", \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.saml_attributes\".", - "type": "string" -}; - -/** - * The schema of `teams-devices_ip_profile_name`. - */ -export const teams$$devices_ip_profile_name: JsonSchema = { - "description": "A user-friendly name for the Device IP profile.", - "type": "string" -}; - -/** - * The schema of `teams-devices_ip_profile_precedence`. - */ -export const teams$$devices_ip_profile_precedence: JsonSchema = { - "description": "The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.", - "type": "integer" -}; - -/** - * The schema of `teams-devices_ip_profile_subnet_id`. - */ -export const teams$$devices_ip_profile_subnet_id: JsonSchema = { - "description": "The ID of the Subnet.", - "type": "string" -}; - /** * The schema of `teams-devices_ip_profile_update_request`. */ @@ -100,24 +60,24 @@ export const teams$$devices_ip_profile_update_request: JsonSchema = { "type": "string" }, "enabled": { - "$ref": "#/$defs/teams-devices_ip_profile_enabled", - "description": "Whether the Device IP profile is enabled." + "description": "Whether the Device IP profile is enabled.", + "type": "boolean" }, "match": { - "$ref": "#/$defs/teams-devices_ip_profile_match", - "description": "The wirefilter expression to match registrations. Available values: \"identity.name\", \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.saml_attributes\"." + "description": "The wirefilter expression to match registrations. Available values: \"identity.name\", \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.saml_attributes\".", + "type": "string" }, "name": { - "$ref": "#/$defs/teams-devices_ip_profile_name", - "description": "A user-friendly name for the Device IP profile." + "description": "A user-friendly name for the Device IP profile.", + "type": "string" }, "precedence": { - "$ref": "#/$defs/teams-devices_ip_profile_precedence", - "description": "The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field." + "description": "The precedence of the Device IP profile. Lower values indicate higher precedence. Device IP profile will be evaluated in ascending order of this field.", + "type": "integer" }, "subnet_id": { - "$ref": "#/$defs/teams-devices_ip_profile_subnet_id", - "description": "The ID of the Subnet." + "description": "The ID of the Subnet.", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts index feddb8b40..1dc15b2fa 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/ipProfiles/tools.ts @@ -7,25 +7,9 @@ import { teams$$devices_v4_error_response, teams$$devices_v4_response_message, } from "../outputs.js"; -import { - teams$$devices_ip_profile, - teams$$devices_ip_profile_created_at, - teams$$devices_ip_profile_description, - teams$$devices_ip_profile_enabled, - teams$$devices_ip_profile_id, - teams$$devices_ip_profile_match, - teams$$devices_ip_profile_name, - teams$$devices_ip_profile_precedence, - teams$$devices_ip_profile_subnet_id, - teams$$devices_ip_profile_updated_at, -} from "./outputs.js"; +import { teams$$devices_ip_profile } from "./outputs.js"; import { teams$$devices_ip_profile_create_request, - teams$$devices_ip_profile_enabled as teams$$devices_ip_profile_enabled$, - teams$$devices_ip_profile_match as teams$$devices_ip_profile_match$, - teams$$devices_ip_profile_name as teams$$devices_ip_profile_name$, - teams$$devices_ip_profile_precedence as teams$$devices_ip_profile_precedence$, - teams$$devices_ip_profile_subnet_id as teams$$devices_ip_profile_subnet_id$, teams$$devices_ip_profile_update_request, } from "./schemas.js"; @@ -36,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_ipProfiles_create", title: "Create IP profile", - description: "Creates a WARP Device IP profile. Currently, only IPv4 Device subnets can be associated.", + description: "Creates a WARP Device IP profile. Currently, only IPv4 Device subnets can be associated.\n\nPOST /accounts/{account_id}/devices/ip-profiles", inputSchema: { type: "object", properties: { @@ -44,6 +28,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_ip_profile_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -59,12 +44,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "teams-devices_ip_profile_create_request": teams$$devices_ip_profile_create_request, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match$, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name$, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence$, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id$, }, }, outputSchema: { @@ -97,15 +79,6 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "teams-devices_ip_profile": teams$$devices_ip_profile, - "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, - "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, - "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, - "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, - "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, @@ -160,15 +133,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "teams-devices_ip_profile": teams$$devices_ip_profile, - "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, - "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, - "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, - "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, - "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, @@ -181,11 +145,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_ipProfiles_delete", title: "Delete IP profile", - description: "Delete a WARP Device IP profile.", + description: "Delete a WARP Device IP profile.\n\nDELETE /accounts/{account_id}/devices/ip-profiles/{profile_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -204,6 +169,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -308,11 +274,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_ipProfiles_get", title: "Get IP profile", - description: "Fetches a single WARP Device IP profile.", + description: "Fetches a single WARP Device IP profile.\n\nGET /accounts/{account_id}/devices/ip-profiles/{profile_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -331,6 +298,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -362,15 +330,6 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "teams-devices_ip_profile": teams$$devices_ip_profile, - "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, - "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, - "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, - "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, - "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, @@ -426,15 +385,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "teams-devices_ip_profile": teams$$devices_ip_profile, - "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, - "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, - "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, - "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, - "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, @@ -446,11 +396,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_ipProfiles_list", title: "List IP profiles", - description: "Lists WARP Device IP profiles.", + description: "Lists WARP Device IP profiles.\n\nGET /accounts/{account_id}/devices/ip-profiles", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -462,6 +413,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -480,6 +432,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -517,15 +470,6 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "teams-devices_ip_profile": teams$$devices_ip_profile, - "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, - "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, - "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, - "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, - "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, "teams-devices_pagination_info": teams$$devices_pagination_info, "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, @@ -588,15 +532,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "teams-devices_ip_profile": teams$$devices_ip_profile, - "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, - "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, - "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, - "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, - "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, "teams-devices_pagination_info": teams$$devices_pagination_info, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, @@ -613,7 +548,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_ipProfiles_update", title: "Update IP profile", - description: "Updates a WARP Device IP profile. Currently, only IPv4 Device subnets can be associated.", + description: "Updates a WARP Device IP profile. Currently, only IPv4 Device subnets can be associated.\n\nPATCH /accounts/{account_id}/devices/ip-profiles/{profile_id}", inputSchema: { type: "object", properties: { @@ -621,6 +556,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_ip_profile_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -640,12 +576,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled$, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match$, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name$, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence$, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id$, "teams-devices_ip_profile_update_request": teams$$devices_ip_profile_update_request, }, }, @@ -679,15 +611,6 @@ export const tools: readonly Tool[] = [ "type": "object", $defs: { "teams-devices_ip_profile": teams$$devices_ip_profile, - "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, - "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, - "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, - "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, - "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, }, @@ -742,15 +665,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "teams-devices_ip_profile": teams$$devices_ip_profile, - "teams-devices_ip_profile_created_at": teams$$devices_ip_profile_created_at, - "teams-devices_ip_profile_description": teams$$devices_ip_profile_description, - "teams-devices_ip_profile_enabled": teams$$devices_ip_profile_enabled, - "teams-devices_ip_profile_id": teams$$devices_ip_profile_id, - "teams-devices_ip_profile_match": teams$$devices_ip_profile_match, - "teams-devices_ip_profile_name": teams$$devices_ip_profile_name, - "teams-devices_ip_profile_precedence": teams$$devices_ip_profile_precedence, - "teams-devices_ip_profile_subnet_id": teams$$devices_ip_profile_subnet_id, - "teams-devices_ip_profile_updated_at": teams$$devices_ip_profile_updated_at, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts index 70482d2e9..2ffa62731 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/networks/outputs.ts @@ -46,16 +46,6 @@ export const teams$$devices_components$$schemas$$single_response: JsonSchema = { ] }; -/** - * The schema of `teams-devices_components-schemas-type` in responses. - */ -export const teams$$devices_components$$schemas$$type: JsonSchema = { - "enum": [ - "tls" - ], - "type": "string" -}; - /** * The schema of `teams-devices_device-managed-networks` in responses. */ @@ -65,26 +55,21 @@ export const teams$$devices_device$$managed$$networks: JsonSchema = { "$ref": "#/$defs/teams-devices_schemas-config_response" }, "name": { - "$ref": "#/$defs/teams-devices_device-managed-networks_components-schemas-name" + "type": "string" }, "network_id": { - "$ref": "#/$defs/teams-devices_uuid" + "type": "string" }, "type": { - "$ref": "#/$defs/teams-devices_components-schemas-type" + "enum": [ + "tls" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `teams-devices_device-managed-networks_components-schemas-name` - * in responses. - */ -export const teams$$devices_device$$managed$$networks_components$$schemas$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_schemas-config_response` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/networks/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/networks/schemas.ts index b82d529ee..09ecbc1b3 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/networks/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/networks/schemas.ts @@ -3,26 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `teams-devices_components-schemas-type`. - */ -export const teams$$devices_components$$schemas$$type: JsonSchema = { - "description": "The type of device managed network.", - "enum": [ - "tls" - ], - "type": "string" -}; - -/** - * The schema of - * `teams-devices_device-managed-networks_components-schemas-name`. - */ -export const teams$$devices_device$$managed$$networks_components$$schemas$$name: JsonSchema = { - "description": "The name of the device managed network. This name must be unique.", - "type": "string" -}; - /** * The schema of `teams-devices_schemas-config_request`. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts index a10d690b1..a002b6ea9 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/networks/tools.ts @@ -9,24 +9,15 @@ import { teams$$devices_api$$response$$single, teams$$devices_messages, teams$$devices_result_info, - teams$$devices_uuid, } from "../outputs.js"; -import { - teams$$devices_identifier, - teams$$devices_uuid as teams$$devices_uuid$, -} from "../schemas.js"; import { teams$$devices_components$$schemas$$response_collection, teams$$devices_components$$schemas$$single_response, - teams$$devices_components$$schemas$$type, teams$$devices_device$$managed$$networks, - teams$$devices_device$$managed$$networks_components$$schemas$$name, teams$$devices_schemas$$config_response, teams$$devices_tls_config_response, } from "./outputs.js"; import { - teams$$devices_components$$schemas$$type as teams$$devices_components$$schemas$$type$, - teams$$devices_device$$managed$$networks_components$$schemas$$name as teams$$devices_device$$managed$$networks_components$$schemas$$name$, teams$$devices_schemas$$config_request, teams$$devices_tls_config_request, } from "./schemas.js"; @@ -38,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_networks_create", title: "Create a device managed network", - description: "Creates a new device managed network.", + description: "Creates a new device managed network.\n\nPOST /accounts/{account_id}/devices/networks", inputSchema: { type: "object", properties: { @@ -48,12 +39,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_schemas-config_request" }, "name": { - "$ref": "#/$defs/teams-devices_device-managed-networks_components-schemas-name", - "description": "The name of the device managed network. This name must be unique." + "description": "The name of the device managed network. This name must be unique.", + "type": "string" }, "type": { - "$ref": "#/$defs/teams-devices_components-schemas-type", - "description": "The type of device managed network." + "description": "The type of device managed network.", + "enum": [ + "tls" + ], + "type": "string" } }, "required": [ @@ -64,9 +58,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -79,10 +74,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type$, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name$, - "teams-devices_identifier": teams$$devices_identifier, "teams-devices_schemas-config_request": teams$$devices_schemas$$config_request, "teams-devices_tls_config_request": teams$$devices_tls_config_request, }, @@ -93,13 +86,10 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -130,13 +120,10 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -147,18 +134,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_networks_delete", title: "Delete a device managed network", - description: "Deletes a device managed network and fetches a list of the remaining device managed networks for an account.", + description: "Deletes a device managed network and fetches a list of the remaining device managed networks for an account.\n\nDELETE /accounts/{account_id}/devices/networks/{network_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "network_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "description": "API UUID.", + "type": "string" } }, "required": [ @@ -171,10 +159,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_uuid": teams$$devices_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_components-schemas-response_collection", @@ -182,14 +167,11 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_components-schemas-response_collection": teams$$devices_components$$schemas$$response_collection, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_result_info": teams$$devices_result_info, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -220,14 +202,11 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_components-schemas-response_collection": teams$$devices_components$$schemas$$response_collection, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_result_info": teams$$devices_result_info, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -237,18 +216,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_networks_get", title: "Get device managed network details", - description: "Fetches details for a single managed network.", + description: "Fetches details for a single managed network.\n\nGET /accounts/{account_id}/devices/networks/{network_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "network_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "description": "API UUID.", + "type": "string" } }, "required": [ @@ -261,10 +241,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_uuid": teams$$devices_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_components-schemas-single_response", @@ -272,13 +249,10 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -304,13 +278,10 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -320,14 +291,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_networks_list", title: "List your device managed networks", - description: "Fetches a list of managed networks for an account.", + description: "Fetches a list of managed networks for an account.\n\nGET /accounts/{account_id}/devices/networks", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -339,9 +311,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_components-schemas-response_collection", @@ -349,14 +319,11 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_components-schemas-response_collection": teams$$devices_components$$schemas$$response_collection, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_result_info": teams$$devices_result_info, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -382,14 +349,11 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_components-schemas-response_collection": teams$$devices_components$$schemas$$response_collection, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_result_info": teams$$devices_result_info, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -399,7 +363,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_networks_update", title: "Update a device managed network", - description: "Updates a configured device managed network.", + description: "Updates a configured device managed network.\n\nPUT /accounts/{account_id}/devices/networks/{network_id}", inputSchema: { type: "object", properties: { @@ -409,24 +373,28 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_schemas-config_request" }, "name": { - "$ref": "#/$defs/teams-devices_device-managed-networks_components-schemas-name", - "description": "The name of the device managed network. This name must be unique." + "description": "The name of the device managed network. This name must be unique.", + "type": "string" }, "type": { - "$ref": "#/$defs/teams-devices_components-schemas-type", - "description": "The type of device managed network." + "description": "The type of device managed network.", + "enum": [ + "tls" + ], + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "network_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "description": "API UUID.", + "type": "string" } }, "required": [ @@ -440,13 +408,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type$, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name$, - "teams-devices_identifier": teams$$devices_identifier, "teams-devices_schemas-config_request": teams$$devices_schemas$$config_request, "teams-devices_tls_config_request": teams$$devices_tls_config_request, - "teams-devices_uuid": teams$$devices_uuid$, }, }, outputSchema: { @@ -455,13 +420,10 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -492,13 +454,10 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, "teams-devices_components-schemas-single_response": teams$$devices_components$$schemas$$single_response, - "teams-devices_components-schemas-type": teams$$devices_components$$schemas$$type, "teams-devices_device-managed-networks": teams$$devices_device$$managed$$networks, - "teams-devices_device-managed-networks_components-schemas-name": teams$$devices_device$$managed$$networks_components$$schemas$$name, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-config_response": teams$$devices_schemas$$config_response, "teams-devices_tls_config_response": teams$$devices_tls_config_response, - "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/devices/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/outputs.ts index 0a9b718bb..df9b2e4be 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/outputs.ts @@ -137,13 +137,6 @@ export const teams$$devices_api$$response$$single: JsonSchema = { ] }; -/** - * The schema of `teams-devices_components-schemas-uuid` in responses. - */ -export const teams$$devices_components$$schemas$$uuid: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_cursor_result_info` in responses. */ @@ -177,13 +170,6 @@ export const teams$$devices_cursor_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_email` in responses. - */ -export const teams$$devices_email: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_empty_body` in responses. */ @@ -482,17 +468,6 @@ export const teams$$devices_registration_details: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_registration_type` in responses. - */ -export const teams$$devices_registration_type: JsonSchema = { - "enum": [ - "warp", - "browser_extension" - ], - "type": "string" -}; - /** * The schema of `teams-devices_result_info` in responses. */ @@ -520,10 +495,10 @@ export const teams$$devices_result_info: JsonSchema = { export const teams$$devices_user: JsonSchema = { "properties": { "email": { - "$ref": "#/$defs/teams-devices_email" + "type": "string" }, "id": { - "$ref": "#/$defs/teams-devices_components-schemas-uuid" + "type": "string" }, "name": { "type": "string" @@ -532,13 +507,6 @@ export const teams$$devices_user: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_uuid` in responses. - */ -export const teams$$devices_uuid: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_v4_error_response` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts index 016ad0be8..f26ec996d 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/overrideCodes/tools.ts @@ -16,7 +16,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_overrideCodes_create", title: "Generate an uninstall protection override code", - description: "Generates an account-wide or device-specific uninstall protection override code.", + description: "Generates an account-wide or device-specific uninstall protection override code.\n\nPOST /accounts/{account_id}/devices/override_codes", inputSchema: { type: "object", properties: { @@ -24,6 +24,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_override_code_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -39,6 +40,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "teams-devices_override_code_create_request": teams$$devices_override_code_create_request, }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts index 69714bdbd..7d1badf85 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `teams-devices_components-schemas-name` in responses. - */ -export const teams$$devices_components$$schemas$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_config_response` in responses. */ @@ -26,28 +19,31 @@ export const teams$$devices_device$$posture$$integrations: JsonSchema = { "$ref": "#/$defs/teams-devices_config_response" }, "id": { - "$ref": "#/$defs/teams-devices_uuid" + "type": "string" }, "interval": { - "$ref": "#/$defs/teams-devices_interval" + "type": "string" }, "name": { - "$ref": "#/$defs/teams-devices_components-schemas-name" + "type": "string" }, "type": { - "$ref": "#/$defs/teams-devices_schemas-type" + "enum": [ + "workspace_one", + "crowdstrike_s2s", + "uptycs", + "intune", + "kolide", + "tanium_s2s", + "sentinelone_s2s", + "custom_s2s" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `teams-devices_interval` in responses. - */ -export const teams$$devices_interval: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_schemas-id_response` in responses. */ @@ -115,23 +111,6 @@ export const teams$$devices_schemas$$single_response: JsonSchema = { ] }; -/** - * The schema of `teams-devices_schemas-type` in responses. - */ -export const teams$$devices_schemas$$type: JsonSchema = { - "enum": [ - "workspace_one", - "crowdstrike_s2s", - "uptycs", - "intune", - "kolide", - "tanium_s2s", - "sentinelone_s2s", - "custom_s2s" - ], - "type": "string" -}; - /** * The schema of `teams-devices_workspace_one_config_response` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/schemas.ts index f6ed97832..5305e0819 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `teams-devices_components-schemas-name`. - */ -export const teams$$devices_components$$schemas$$name: JsonSchema = { - "description": "The name of the device posture integration.", - "type": "string" -}; - /** * The schema of `teams-devices_config_request`. */ @@ -103,14 +95,6 @@ export const teams$$devices_custom_s2s_config_request: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_interval`. - */ -export const teams$$devices_interval: JsonSchema = { - "description": "The interval between each posture check with the third-party API. Use `m` for minutes (e.g. `5m`) and `h` for hours (e.g. `12h`).", - "type": "string" -}; - /** * The schema of `teams-devices_intune_config_request`. */ @@ -160,24 +144,6 @@ export const teams$$devices_kolide_config_request: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_schemas-type`. - */ -export const teams$$devices_schemas$$type: JsonSchema = { - "description": "The type of device posture integration.", - "enum": [ - "workspace_one", - "crowdstrike_s2s", - "uptycs", - "intune", - "kolide", - "tanium_s2s", - "sentinelone_s2s", - "custom_s2s" - ], - "type": "string" -}; - /** * The schema of `teams-devices_sentinelone_s2s_config_request`. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts index 8dc0801d6..c45d76a17 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/integrations/tools.ts @@ -9,32 +9,21 @@ import { teams$$devices_api$$response$$single, teams$$devices_messages, teams$$devices_result_info, - teams$$devices_uuid, } from "../../outputs.js"; import { - teams$$devices_identifier, - teams$$devices_uuid as teams$$devices_uuid$, -} from "../../schemas.js"; -import { - teams$$devices_components$$schemas$$name, teams$$devices_config_response, teams$$devices_device$$posture$$integrations, - teams$$devices_interval, teams$$devices_schemas$$id_response, teams$$devices_schemas$$response_collection, teams$$devices_schemas$$single_response, - teams$$devices_schemas$$type, teams$$devices_workspace_one_config_response, } from "./outputs.js"; import { - teams$$devices_components$$schemas$$name as teams$$devices_components$$schemas$$name$, teams$$devices_config_request, teams$$devices_crowdstrike_config_request, teams$$devices_custom_s2s_config_request, - teams$$devices_interval as teams$$devices_interval$, teams$$devices_intune_config_request, teams$$devices_kolide_config_request, - teams$$devices_schemas$$type as teams$$devices_schemas$$type$, teams$$devices_sentinelone_s2s_config_request, teams$$devices_tanium_config_request, teams$$devices_uptycs_config_request, @@ -48,7 +37,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_integrations_create", title: "Create posture integration", - description: "Create a new device posture integration.", + description: "Create a new device posture integration.\n\nPOST /accounts/{account_id}/devices/posture/integration", inputSchema: { type: "object", properties: { @@ -58,16 +47,26 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_config_request" }, "interval": { - "$ref": "#/$defs/teams-devices_interval", - "description": "The interval between each posture check with the third-party API. Use `m` for minutes (e.g. `5m`) and `h` for hours (e.g. `12h`)." + "description": "The interval between each posture check with the third-party API. Use `m` for minutes (e.g. `5m`) and `h` for hours (e.g. `12h`).", + "type": "string" }, "name": { - "$ref": "#/$defs/teams-devices_components-schemas-name", - "description": "The name of the device posture integration." + "description": "The name of the device posture integration.", + "type": "string" }, "type": { - "$ref": "#/$defs/teams-devices_schemas-type", - "description": "The type of device posture integration." + "description": "The type of device posture integration.", + "enum": [ + "workspace_one", + "crowdstrike_s2s", + "uptycs", + "intune", + "kolide", + "tanium_s2s", + "sentinelone_s2s", + "custom_s2s" + ], + "type": "string" } }, "required": [ @@ -79,9 +78,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -94,16 +94,13 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name$, "teams-devices_config_request": teams$$devices_config_request, "teams-devices_crowdstrike_config_request": teams$$devices_crowdstrike_config_request, "teams-devices_custom_s2s_config_request": teams$$devices_custom_s2s_config_request, - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_interval": teams$$devices_interval$, "teams-devices_intune_config_request": teams$$devices_intune_config_request, "teams-devices_kolide_config_request": teams$$devices_kolide_config_request, - "teams-devices_schemas-type": teams$$devices_schemas$$type$, "teams-devices_sentinelone_s2s_config_request": teams$$devices_sentinelone_s2s_config_request, "teams-devices_tanium_config_request": teams$$devices_tanium_config_request, "teams-devices_uptycs_config_request": teams$$devices_uptycs_config_request, @@ -115,14 +112,10 @@ export const tools: readonly Tool[] = [ $defs: { "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, "teams-devices_config_response": teams$$devices_config_response, "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, - "teams-devices_interval": teams$$devices_interval, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, - "teams-devices_schemas-type": teams$$devices_schemas$$type, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, @@ -153,14 +146,10 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, "teams-devices_config_response": teams$$devices_config_response, "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, - "teams-devices_interval": teams$$devices_interval, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, - "teams-devices_schemas-type": teams$$devices_schemas$$type, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, @@ -172,18 +161,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_integrations_delete", title: "Delete posture integration", - description: "Delete a configured device posture integration.", + description: "Delete a configured device posture integration.\n\nDELETE /accounts/{account_id}/devices/posture/integration/{integration_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "integration_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "description": "API UUID.", + "type": "string" } }, "required": [ @@ -196,10 +186,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_uuid": teams$$devices_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_schemas-id_response", @@ -248,18 +235,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_integrations_get", title: "Get posture integration", - description: "Fetches details for a single device posture integration.", + description: "Fetches details for a single device posture integration.\n\nGET /accounts/{account_id}/devices/posture/integration/{integration_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "integration_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "description": "API UUID.", + "type": "string" } }, "required": [ @@ -272,24 +260,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_uuid": teams$$devices_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_schemas-single_response", $defs: { "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, "teams-devices_config_response": teams$$devices_config_response, "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, - "teams-devices_interval": teams$$devices_interval, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, - "teams-devices_schemas-type": teams$$devices_schemas$$type, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, @@ -315,14 +296,10 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, "teams-devices_config_response": teams$$devices_config_response, "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, - "teams-devices_interval": teams$$devices_interval, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, - "teams-devices_schemas-type": teams$$devices_schemas$$type, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, @@ -333,14 +310,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_integrations_list", title: "List posture integrations", - description: "Fetches the list of device posture integrations for an account.", + description: "Fetches the list of device posture integrations for an account.\n\nGET /accounts/{account_id}/devices/posture/integration", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -352,24 +330,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_schemas-response_collection", $defs: { "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, "teams-devices_api-response-common": teams$$devices_api$$response$$common, - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, "teams-devices_config_response": teams$$devices_config_response, "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, - "teams-devices_interval": teams$$devices_interval, "teams-devices_messages": teams$$devices_messages, "teams-devices_result_info": teams$$devices_result_info, "teams-devices_schemas-response_collection": teams$$devices_schemas$$response_collection, - "teams-devices_schemas-type": teams$$devices_schemas$$type, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, @@ -395,15 +367,11 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, "teams-devices_config_response": teams$$devices_config_response, "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, - "teams-devices_interval": teams$$devices_interval, "teams-devices_messages": teams$$devices_messages, "teams-devices_result_info": teams$$devices_result_info, "teams-devices_schemas-response_collection": teams$$devices_schemas$$response_collection, - "teams-devices_schemas-type": teams$$devices_schemas$$type, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, @@ -414,7 +382,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_integrations_update", title: "Update posture integration", - description: "Updates a configured device posture integration.", + description: "Updates a configured device posture integration.\n\nPATCH /accounts/{account_id}/devices/posture/integration/{integration_id}", inputSchema: { type: "object", properties: { @@ -424,28 +392,39 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_config_request" }, "interval": { - "$ref": "#/$defs/teams-devices_interval", - "description": "The interval between each posture check with the third-party API. Use `m` for minutes (e.g. `5m`) and `h` for hours (e.g. `12h`)." + "description": "The interval between each posture check with the third-party API. Use `m` for minutes (e.g. `5m`) and `h` for hours (e.g. `12h`).", + "type": "string" }, "name": { - "$ref": "#/$defs/teams-devices_components-schemas-name", - "description": "The name of the device posture integration." + "description": "The name of the device posture integration.", + "type": "string" }, "type": { - "$ref": "#/$defs/teams-devices_schemas-type", - "description": "The type of device posture integration." + "description": "The type of device posture integration.", + "enum": [ + "workspace_one", + "crowdstrike_s2s", + "uptycs", + "intune", + "kolide", + "tanium_s2s", + "sentinelone_s2s", + "custom_s2s" + ], + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "integration_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "description": "API UUID.", + "type": "string" } }, "required": [ @@ -459,20 +438,16 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name$, "teams-devices_config_request": teams$$devices_config_request, "teams-devices_crowdstrike_config_request": teams$$devices_crowdstrike_config_request, "teams-devices_custom_s2s_config_request": teams$$devices_custom_s2s_config_request, - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_interval": teams$$devices_interval$, "teams-devices_intune_config_request": teams$$devices_intune_config_request, "teams-devices_kolide_config_request": teams$$devices_kolide_config_request, - "teams-devices_schemas-type": teams$$devices_schemas$$type$, "teams-devices_sentinelone_s2s_config_request": teams$$devices_sentinelone_s2s_config_request, "teams-devices_tanium_config_request": teams$$devices_tanium_config_request, "teams-devices_uptycs_config_request": teams$$devices_uptycs_config_request, - "teams-devices_uuid": teams$$devices_uuid$, "teams-devices_workspace_one_config_request": teams$$devices_workspace_one_config_request, }, }, @@ -481,14 +456,10 @@ export const tools: readonly Tool[] = [ $defs: { "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, "teams-devices_config_response": teams$$devices_config_response, "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, - "teams-devices_interval": teams$$devices_interval, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, - "teams-devices_schemas-type": teams$$devices_schemas$$type, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, @@ -519,14 +490,10 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_components-schemas-name": teams$$devices_components$$schemas$$name, "teams-devices_config_response": teams$$devices_config_response, "teams-devices_device-posture-integrations": teams$$devices_device$$posture$$integrations, - "teams-devices_interval": teams$$devices_interval, "teams-devices_messages": teams$$devices_messages, "teams-devices_schemas-single_response": teams$$devices_schemas$$single_response, - "teams-devices_schemas-type": teams$$devices_schemas$$type, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_config_response": teams$$devices_workspace_one_config_response, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts index 0826225c3..6e91f94da 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/outputs.ts @@ -137,7 +137,11 @@ export const teams$$devices_client_certificate_v2_input_request: JsonSchema = { }, "extended_key_usage": { "items": { - "$ref": "#/$defs/teams-devices_extended_key_usage_enum" + "enum": [ + "clientAuth", + "emailProtection" + ], + "type": "string" }, "type": "array" }, @@ -263,29 +267,22 @@ export const teams$$devices_custom_s2s_input_request: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_description` in responses. - */ -export const teams$$devices_description: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_device-posture-rules` in responses. */ export const teams$$devices_device$$posture$$rules: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/teams-devices_description" + "type": "string" }, "enabled": { "type": "boolean" }, "expiration": { - "$ref": "#/$defs/teams-devices_expiration" + "type": "string" }, "id": { - "$ref": "#/$defs/teams-devices_uuid" + "type": "string" }, "input": { "$ref": "#/$defs/teams-devices_input" @@ -294,13 +291,38 @@ export const teams$$devices_device$$posture$$rules: JsonSchema = { "$ref": "#/$defs/teams-devices_match" }, "name": { - "$ref": "#/$defs/teams-devices_name" + "type": "string" }, "schedule": { - "$ref": "#/$defs/teams-devices_schedule" + "type": "string" }, "type": { - "$ref": "#/$defs/teams-devices_type" + "enum": [ + "file", + "application", + "tanium", + "gateway", + "warp", + "disk_encryption", + "serial_number", + "sentinelone", + "carbonblack", + "firewall", + "os_version", + "domain_joined", + "client_certificate", + "client_certificate_v2", + "antivirus", + "unique_client_id", + "kolide", + "tanium_s2s", + "crowdstrike_s2s", + "intune", + "workspace_one", + "sentinelone_s2s", + "custom_s2s" + ], + "type": "string" } }, "type": "object" @@ -315,7 +337,7 @@ export const teams$$devices_disk_encryption_input_request: JsonSchema = { "$ref": "#/$defs/teams-devices_checkDisks" }, "requireAll": { - "$ref": "#/$defs/teams-devices_requireAll" + "type": "boolean" } }, "type": "object" @@ -342,24 +364,6 @@ export const teams$$devices_domain_joined_input_request: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_expiration` in responses. - */ -export const teams$$devices_expiration: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_extended_key_usage_enum` in responses. - */ -export const teams$$devices_extended_key_usage_enum: JsonSchema = { - "enum": [ - "clientAuth", - "emailProtection" - ], - "type": "string" -}; - /** * The schema of `teams-devices_file_input_request` in responses. */ @@ -429,7 +433,7 @@ export const teams$$devices_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/teams-devices_uuid" + "type": "string" } }, "type": "object" @@ -592,19 +596,20 @@ export const teams$$devices_match: JsonSchema = { export const teams$$devices_match_item: JsonSchema = { "properties": { "platform": { - "$ref": "#/$defs/teams-devices_platform" + "enum": [ + "windows", + "mac", + "linux", + "android", + "ios", + "chromeos" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `teams-devices_name` in responses. - */ -export const teams$$devices_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_os_version_input_request` in responses. */ @@ -657,28 +662,6 @@ export const teams$$devices_paths: JsonSchema = { "type": "array" }; -/** - * The schema of `teams-devices_platform` in responses. - */ -export const teams$$devices_platform: JsonSchema = { - "enum": [ - "windows", - "mac", - "linux", - "android", - "ios", - "chromeos" - ], - "type": "string" -}; - -/** - * The schema of `teams-devices_requireAll` in responses. - */ -export const teams$$devices_requireAll: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `teams-devices_response_collection` in responses. */ @@ -701,13 +684,6 @@ export const teams$$devices_response_collection: JsonSchema = { ] }; -/** - * The schema of `teams-devices_schedule` in responses. - */ -export const teams$$devices_schedule: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_sentinelone_input_request` in responses. */ @@ -867,54 +843,15 @@ export const teams$$devices_tanium_input_request: JsonSchema = { */ export const teams$$devices_trust_stores: JsonSchema = { "items": { - "$ref": "#/$defs/teams-devices_trust_stores_enum" + "enum": [ + "system", + "user" + ], + "type": "string" }, "type": "array" }; -/** - * The schema of `teams-devices_trust_stores_enum` in responses. - */ -export const teams$$devices_trust_stores_enum: JsonSchema = { - "enum": [ - "system", - "user" - ], - "type": "string" -}; - -/** - * The schema of `teams-devices_type` in responses. - */ -export const teams$$devices_type: JsonSchema = { - "enum": [ - "file", - "application", - "tanium", - "gateway", - "warp", - "disk_encryption", - "serial_number", - "sentinelone", - "carbonblack", - "firewall", - "os_version", - "domain_joined", - "client_certificate", - "client_certificate_v2", - "antivirus", - "unique_client_id", - "kolide", - "tanium_s2s", - "crowdstrike_s2s", - "intune", - "workspace_one", - "sentinelone_s2s", - "custom_s2s" - ], - "type": "string" -}; - /** * The schema of `teams-devices_unique_client_id_input_request` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/schemas.ts index caf90bdff..2a5671944 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/schemas.ts @@ -158,7 +158,11 @@ export const teams$$devices_client_certificate_v2_input_request: JsonSchema = { "extended_key_usage": { "description": "List of values indicating purposes for which the certificate public key can be used.", "items": { - "$ref": "#/$defs/teams-devices_extended_key_usage_enum" + "enum": [ + "clientAuth", + "emailProtection" + ], + "type": "string" }, "type": "array" }, @@ -302,14 +306,6 @@ export const teams$$devices_custom_s2s_input_request: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_description`. - */ -export const teams$$devices_description: JsonSchema = { - "description": "The description of the device posture rule.", - "type": "string" -}; - /** * The schema of `teams-devices_disk_encryption_input_request`. */ @@ -321,8 +317,8 @@ export const teams$$devices_disk_encryption_input_request: JsonSchema = { "description": "List of volume names to be checked for encryption." }, "requireAll": { - "$ref": "#/$defs/teams-devices_requireAll", - "description": "Whether to check all disks for encryption." + "description": "Whether to check all disks for encryption.", + "type": "boolean" } }, "type": "object" @@ -352,25 +348,6 @@ export const teams$$devices_domain_joined_input_request: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_expiration`. - */ -export const teams$$devices_expiration: JsonSchema = { - "description": "Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client.", - "type": "string" -}; - -/** - * The schema of `teams-devices_extended_key_usage_enum`. - */ -export const teams$$devices_extended_key_usage_enum: JsonSchema = { - "enum": [ - "clientAuth", - "emailProtection" - ], - "type": "string" -}; - /** * The schema of `teams-devices_file_input_request`. */ @@ -598,20 +575,20 @@ export const teams$$devices_match: JsonSchema = { export const teams$$devices_match_item: JsonSchema = { "properties": { "platform": { - "$ref": "#/$defs/teams-devices_platform" + "enum": [ + "windows", + "mac", + "linux", + "android", + "ios", + "chromeos" + ], + "type": "string" } }, "type": "object" }; -/** - * The schema of `teams-devices_name`. - */ -export const teams$$devices_name: JsonSchema = { - "description": "The name of the device posture rule.", - "type": "string" -}; - /** * The schema of `teams-devices_os_version_input_request`. */ @@ -672,37 +649,6 @@ export const teams$$devices_paths: JsonSchema = { "type": "array" }; -/** - * The schema of `teams-devices_platform`. - */ -export const teams$$devices_platform: JsonSchema = { - "enum": [ - "windows", - "mac", - "linux", - "android", - "ios", - "chromeos" - ], - "type": "string" -}; - -/** - * The schema of `teams-devices_requireAll`. - */ -export const teams$$devices_requireAll: JsonSchema = { - "description": "Whether to check all disks for encryption.", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_schedule`. - */ -export const teams$$devices_schedule: JsonSchema = { - "description": "Polling frequency for the WARP client posture check. Default: `5m` (poll every five minutes). Minimum: `1m`.", - "type": "string" -}; - /** * The schema of `teams-devices_sentinelone_input_request`. */ @@ -864,55 +810,15 @@ export const teams$$devices_tanium_input_request: JsonSchema = { export const teams$$devices_trust_stores: JsonSchema = { "description": "List of trust stores to check for client certificate.", "items": { - "$ref": "#/$defs/teams-devices_trust_stores_enum" + "enum": [ + "system", + "user" + ], + "type": "string" }, "type": "array" }; -/** - * The schema of `teams-devices_trust_stores_enum`. - */ -export const teams$$devices_trust_stores_enum: JsonSchema = { - "enum": [ - "system", - "user" - ], - "type": "string" -}; - -/** - * The schema of `teams-devices_type`. - */ -export const teams$$devices_type: JsonSchema = { - "description": "The type of device posture rule.", - "enum": [ - "file", - "application", - "tanium", - "gateway", - "warp", - "disk_encryption", - "serial_number", - "sentinelone", - "carbonblack", - "firewall", - "os_version", - "domain_joined", - "client_certificate", - "client_certificate_v2", - "antivirus", - "unique_client_id", - "kolide", - "tanium_s2s", - "crowdstrike_s2s", - "intune", - "workspace_one", - "sentinelone_s2s", - "custom_s2s" - ], - "type": "string" -}; - /** * The schema of `teams-devices_unique_client_id_input_request`. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts index 77f7e13c4..307cecd31 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/posture/rules/tools.ts @@ -9,12 +9,7 @@ import { teams$$devices_api$$response$$single, teams$$devices_messages, teams$$devices_result_info, - teams$$devices_uuid, } from "../../outputs.js"; -import { - teams$$devices_identifier, - teams$$devices_uuid as teams$$devices_uuid$, -} from "../../schemas.js"; import { teams$$devices_access_serial_number_list_input_request, teams$$devices_antivirus_input_request, @@ -25,12 +20,9 @@ import { teams$$devices_client_certificate_v2_input_request, teams$$devices_crowdstrike_input_request, teams$$devices_custom_s2s_input_request, - teams$$devices_description, teams$$devices_device$$posture$$rules, teams$$devices_disk_encryption_input_request, teams$$devices_domain_joined_input_request, - teams$$devices_expiration, - teams$$devices_extended_key_usage_enum, teams$$devices_file_input_request, teams$$devices_firewall_input_request, teams$$devices_id_response, @@ -39,20 +31,14 @@ import { teams$$devices_kolide_input_request, teams$$devices_match, teams$$devices_match_item, - teams$$devices_name, teams$$devices_os_version_input_request, teams$$devices_paths, - teams$$devices_platform, - teams$$devices_requireAll, teams$$devices_response_collection, - teams$$devices_schedule, teams$$devices_sentinelone_input_request, teams$$devices_sentinelone_s2s_input_request, teams$$devices_single_response, teams$$devices_tanium_input_request, teams$$devices_trust_stores, - teams$$devices_trust_stores_enum, - teams$$devices_type, teams$$devices_unique_client_id_input_request, teams$$devices_workspace_one_input_request, } from "./outputs.js"; @@ -66,11 +52,8 @@ import { teams$$devices_client_certificate_v2_input_request as teams$$devices_client_certificate_v2_input_request$, teams$$devices_crowdstrike_input_request as teams$$devices_crowdstrike_input_request$, teams$$devices_custom_s2s_input_request as teams$$devices_custom_s2s_input_request$, - teams$$devices_description as teams$$devices_description$, teams$$devices_disk_encryption_input_request as teams$$devices_disk_encryption_input_request$, teams$$devices_domain_joined_input_request as teams$$devices_domain_joined_input_request$, - teams$$devices_expiration as teams$$devices_expiration$, - teams$$devices_extended_key_usage_enum as teams$$devices_extended_key_usage_enum$, teams$$devices_file_input_request as teams$$devices_file_input_request$, teams$$devices_firewall_input_request as teams$$devices_firewall_input_request$, teams$$devices_input as teams$$devices_input$, @@ -78,18 +61,12 @@ import { teams$$devices_kolide_input_request as teams$$devices_kolide_input_request$, teams$$devices_match as teams$$devices_match$, teams$$devices_match_item as teams$$devices_match_item$, - teams$$devices_name as teams$$devices_name$, teams$$devices_os_version_input_request as teams$$devices_os_version_input_request$, teams$$devices_paths as teams$$devices_paths$, - teams$$devices_platform as teams$$devices_platform$, - teams$$devices_requireAll as teams$$devices_requireAll$, - teams$$devices_schedule as teams$$devices_schedule$, teams$$devices_sentinelone_input_request as teams$$devices_sentinelone_input_request$, teams$$devices_sentinelone_s2s_input_request as teams$$devices_sentinelone_s2s_input_request$, teams$$devices_tanium_input_request as teams$$devices_tanium_input_request$, teams$$devices_trust_stores as teams$$devices_trust_stores$, - teams$$devices_trust_stores_enum as teams$$devices_trust_stores_enum$, - teams$$devices_type as teams$$devices_type$, teams$$devices_unique_client_id_input_request as teams$$devices_unique_client_id_input_request$, teams$$devices_workspace_one_input_request as teams$$devices_workspace_one_input_request$, } from "./schemas.js"; @@ -101,19 +78,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_rules_create", title: "Create posture rule", - description: "Creates a new device posture rule.", + description: "Creates a new device posture rule.\n\nPOST /accounts/{account_id}/devices/posture", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/teams-devices_description", - "description": "The description of the device posture rule." + "description": "The description of the device posture rule.", + "type": "string" }, "expiration": { - "$ref": "#/$defs/teams-devices_expiration", - "description": "Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client." + "description": "Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client.", + "type": "string" }, "input": { "$ref": "#/$defs/teams-devices_input", @@ -124,16 +101,41 @@ export const tools: readonly Tool[] = [ "description": "The conditions that the client must match to run the rule." }, "name": { - "$ref": "#/$defs/teams-devices_name", - "description": "The name of the device posture rule." + "description": "The name of the device posture rule.", + "type": "string" }, "schedule": { - "$ref": "#/$defs/teams-devices_schedule", - "description": "Polling frequency for the WARP client posture check. Default: `5m` (poll every five minutes). Minimum: `1m`." + "description": "Polling frequency for the WARP client posture check. Default: `5m` (poll every five minutes). Minimum: `1m`.", + "type": "string" }, "type": { - "$ref": "#/$defs/teams-devices_type", - "description": "The type of device posture rule." + "description": "The type of device posture rule.", + "enum": [ + "file", + "application", + "tanium", + "gateway", + "warp", + "disk_encryption", + "serial_number", + "sentinelone", + "carbonblack", + "firewall", + "os_version", + "domain_joined", + "client_certificate", + "client_certificate_v2", + "antivirus", + "unique_client_id", + "kolide", + "tanium_s2s", + "crowdstrike_s2s", + "intune", + "workspace_one", + "sentinelone_s2s", + "custom_s2s" + ], + "type": "string" } }, "required": [ @@ -143,9 +145,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -158,6 +161,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request$, "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request$, @@ -168,31 +172,21 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request$, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request$, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request$, - "teams-devices_description": teams$$devices_description$, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request$, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request$, - "teams-devices_expiration": teams$$devices_expiration$, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum$, "teams-devices_file_input_request": teams$$devices_file_input_request$, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request$, - "teams-devices_identifier": teams$$devices_identifier, "teams-devices_input": teams$$devices_input$, "teams-devices_intune_input_request": teams$$devices_intune_input_request$, "teams-devices_kolide_input_request": teams$$devices_kolide_input_request$, "teams-devices_match": teams$$devices_match$, "teams-devices_match_item": teams$$devices_match_item$, - "teams-devices_name": teams$$devices_name$, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request$, "teams-devices_paths": teams$$devices_paths$, - "teams-devices_platform": teams$$devices_platform$, - "teams-devices_requireAll": teams$$devices_requireAll$, - "teams-devices_schedule": teams$$devices_schedule$, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request$, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request$, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request$, "teams-devices_trust_stores": teams$$devices_trust_stores$, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum$, - "teams-devices_type": teams$$devices_type$, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request$, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request$, }, @@ -211,12 +205,9 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, - "teams-devices_description": teams$$devices_description, "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, - "teams-devices_expiration": teams$$devices_expiration, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, "teams-devices_file_input_request": teams$$devices_file_input_request, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, "teams-devices_input": teams$$devices_input, @@ -225,21 +216,14 @@ export const tools: readonly Tool[] = [ "teams-devices_match": teams$$devices_match, "teams-devices_match_item": teams$$devices_match_item, "teams-devices_messages": teams$$devices_messages, - "teams-devices_name": teams$$devices_name, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, "teams-devices_paths": teams$$devices_paths, - "teams-devices_platform": teams$$devices_platform, - "teams-devices_requireAll": teams$$devices_requireAll, - "teams-devices_schedule": teams$$devices_schedule, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, "teams-devices_single_response": teams$$devices_single_response, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, "teams-devices_trust_stores": teams$$devices_trust_stores, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, - "teams-devices_type": teams$$devices_type, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, @@ -279,12 +263,9 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, - "teams-devices_description": teams$$devices_description, "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, - "teams-devices_expiration": teams$$devices_expiration, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, "teams-devices_file_input_request": teams$$devices_file_input_request, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, "teams-devices_input": teams$$devices_input, @@ -293,21 +274,14 @@ export const tools: readonly Tool[] = [ "teams-devices_match": teams$$devices_match, "teams-devices_match_item": teams$$devices_match_item, "teams-devices_messages": teams$$devices_messages, - "teams-devices_name": teams$$devices_name, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, "teams-devices_paths": teams$$devices_paths, - "teams-devices_platform": teams$$devices_platform, - "teams-devices_requireAll": teams$$devices_requireAll, - "teams-devices_schedule": teams$$devices_schedule, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, "teams-devices_single_response": teams$$devices_single_response, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, "teams-devices_trust_stores": teams$$devices_trust_stores, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, - "teams-devices_type": teams$$devices_type, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, @@ -319,18 +293,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_rules_delete", title: "Delete posture rule", - description: "Deletes a device posture rule.", + description: "Deletes a device posture rule.\n\nDELETE /accounts/{account_id}/devices/posture/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "rule_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "description": "API UUID.", + "type": "string" } }, "required": [ @@ -343,10 +318,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_uuid": teams$$devices_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_id_response", @@ -355,7 +327,6 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-single": teams$$devices_api$$response$$single, "teams-devices_id_response": teams$$devices_id_response, "teams-devices_messages": teams$$devices_messages, - "teams-devices_uuid": teams$$devices_uuid, }, }, annotations: { @@ -387,7 +358,6 @@ export const tools: readonly Tool[] = [ "teams-devices_api-response-single": teams$$devices_api$$response$$single, "teams-devices_id_response": teams$$devices_id_response, "teams-devices_messages": teams$$devices_messages, - "teams-devices_uuid": teams$$devices_uuid, }, }, request: (args) => ({ @@ -397,18 +367,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_rules_get", title: "Get posture rule", - description: "Fetches a single device posture rule.", + description: "Fetches a single device posture rule.\n\nGET /accounts/{account_id}/devices/posture/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "rule_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "description": "API UUID.", + "type": "string" } }, "required": [ @@ -421,10 +392,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_uuid": teams$$devices_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_single_response", @@ -440,12 +408,9 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, - "teams-devices_description": teams$$devices_description, "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, - "teams-devices_expiration": teams$$devices_expiration, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, "teams-devices_file_input_request": teams$$devices_file_input_request, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, "teams-devices_input": teams$$devices_input, @@ -454,21 +419,14 @@ export const tools: readonly Tool[] = [ "teams-devices_match": teams$$devices_match, "teams-devices_match_item": teams$$devices_match_item, "teams-devices_messages": teams$$devices_messages, - "teams-devices_name": teams$$devices_name, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, "teams-devices_paths": teams$$devices_paths, - "teams-devices_platform": teams$$devices_platform, - "teams-devices_requireAll": teams$$devices_requireAll, - "teams-devices_schedule": teams$$devices_schedule, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, "teams-devices_single_response": teams$$devices_single_response, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, "teams-devices_trust_stores": teams$$devices_trust_stores, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, - "teams-devices_type": teams$$devices_type, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, @@ -503,12 +461,9 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, - "teams-devices_description": teams$$devices_description, "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, - "teams-devices_expiration": teams$$devices_expiration, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, "teams-devices_file_input_request": teams$$devices_file_input_request, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, "teams-devices_input": teams$$devices_input, @@ -517,21 +472,14 @@ export const tools: readonly Tool[] = [ "teams-devices_match": teams$$devices_match, "teams-devices_match_item": teams$$devices_match_item, "teams-devices_messages": teams$$devices_messages, - "teams-devices_name": teams$$devices_name, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, "teams-devices_paths": teams$$devices_paths, - "teams-devices_platform": teams$$devices_platform, - "teams-devices_requireAll": teams$$devices_requireAll, - "teams-devices_schedule": teams$$devices_schedule, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, "teams-devices_single_response": teams$$devices_single_response, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, "teams-devices_trust_stores": teams$$devices_trust_stores, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, - "teams-devices_type": teams$$devices_type, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, @@ -542,14 +490,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_rules_list", title: "List posture rules", - description: "Fetches device posture rules for a Zero Trust account.", + description: "Fetches device posture rules for a Zero Trust account.\n\nGET /accounts/{account_id}/devices/posture", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -561,9 +510,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_response_collection", @@ -579,12 +526,9 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, - "teams-devices_description": teams$$devices_description, "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, - "teams-devices_expiration": teams$$devices_expiration, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, "teams-devices_file_input_request": teams$$devices_file_input_request, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, "teams-devices_input": teams$$devices_input, @@ -593,22 +537,15 @@ export const tools: readonly Tool[] = [ "teams-devices_match": teams$$devices_match, "teams-devices_match_item": teams$$devices_match_item, "teams-devices_messages": teams$$devices_messages, - "teams-devices_name": teams$$devices_name, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, "teams-devices_paths": teams$$devices_paths, - "teams-devices_platform": teams$$devices_platform, - "teams-devices_requireAll": teams$$devices_requireAll, "teams-devices_response_collection": teams$$devices_response_collection, "teams-devices_result_info": teams$$devices_result_info, - "teams-devices_schedule": teams$$devices_schedule, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, "teams-devices_trust_stores": teams$$devices_trust_stores, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, - "teams-devices_type": teams$$devices_type, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, @@ -643,12 +580,9 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, - "teams-devices_description": teams$$devices_description, "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, - "teams-devices_expiration": teams$$devices_expiration, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, "teams-devices_file_input_request": teams$$devices_file_input_request, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, "teams-devices_input": teams$$devices_input, @@ -657,22 +591,15 @@ export const tools: readonly Tool[] = [ "teams-devices_match": teams$$devices_match, "teams-devices_match_item": teams$$devices_match_item, "teams-devices_messages": teams$$devices_messages, - "teams-devices_name": teams$$devices_name, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, "teams-devices_paths": teams$$devices_paths, - "teams-devices_platform": teams$$devices_platform, - "teams-devices_requireAll": teams$$devices_requireAll, "teams-devices_response_collection": teams$$devices_response_collection, "teams-devices_result_info": teams$$devices_result_info, - "teams-devices_schedule": teams$$devices_schedule, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, "teams-devices_trust_stores": teams$$devices_trust_stores, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, - "teams-devices_type": teams$$devices_type, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, @@ -683,19 +610,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_posture_rules_update", title: "Update posture rule", - description: "Updates a device posture rule.", + description: "Updates a device posture rule.\n\nPUT /accounts/{account_id}/devices/posture/{rule_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/teams-devices_description", - "description": "The description of the device posture rule." + "description": "The description of the device posture rule.", + "type": "string" }, "expiration": { - "$ref": "#/$defs/teams-devices_expiration", - "description": "Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client." + "description": "Sets the expiration time for a posture check result. If empty, the result remains valid until it is overwritten by new data from the WARP client.", + "type": "string" }, "input": { "$ref": "#/$defs/teams-devices_input", @@ -706,16 +633,41 @@ export const tools: readonly Tool[] = [ "description": "The conditions that the client must match to run the rule." }, "name": { - "$ref": "#/$defs/teams-devices_name", - "description": "The name of the device posture rule." + "description": "The name of the device posture rule.", + "type": "string" }, "schedule": { - "$ref": "#/$defs/teams-devices_schedule", - "description": "Polling frequency for the WARP client posture check. Default: `5m` (poll every five minutes). Minimum: `1m`." + "description": "Polling frequency for the WARP client posture check. Default: `5m` (poll every five minutes). Minimum: `1m`.", + "type": "string" }, "type": { - "$ref": "#/$defs/teams-devices_type", - "description": "The type of device posture rule." + "description": "The type of device posture rule.", + "enum": [ + "file", + "application", + "tanium", + "gateway", + "warp", + "disk_encryption", + "serial_number", + "sentinelone", + "carbonblack", + "firewall", + "os_version", + "domain_joined", + "client_certificate", + "client_certificate_v2", + "antivirus", + "unique_client_id", + "kolide", + "tanium_s2s", + "crowdstrike_s2s", + "intune", + "workspace_one", + "sentinelone_s2s", + "custom_s2s" + ], + "type": "string" } }, "required": [ @@ -725,13 +677,14 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "rule_id": { - "$ref": "#/$defs/teams-devices_uuid", - "description": "API UUID." + "description": "API UUID.", + "type": "string" } }, "required": [ @@ -745,6 +698,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "teams-devices_access_serial_number_list_input_request": teams$$devices_access_serial_number_list_input_request$, "teams-devices_antivirus_input_request": teams$$devices_antivirus_input_request$, @@ -755,33 +709,22 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request$, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request$, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request$, - "teams-devices_description": teams$$devices_description$, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request$, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request$, - "teams-devices_expiration": teams$$devices_expiration$, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum$, "teams-devices_file_input_request": teams$$devices_file_input_request$, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request$, - "teams-devices_identifier": teams$$devices_identifier, "teams-devices_input": teams$$devices_input$, "teams-devices_intune_input_request": teams$$devices_intune_input_request$, "teams-devices_kolide_input_request": teams$$devices_kolide_input_request$, "teams-devices_match": teams$$devices_match$, "teams-devices_match_item": teams$$devices_match_item$, - "teams-devices_name": teams$$devices_name$, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request$, "teams-devices_paths": teams$$devices_paths$, - "teams-devices_platform": teams$$devices_platform$, - "teams-devices_requireAll": teams$$devices_requireAll$, - "teams-devices_schedule": teams$$devices_schedule$, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request$, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request$, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request$, "teams-devices_trust_stores": teams$$devices_trust_stores$, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum$, - "teams-devices_type": teams$$devices_type$, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request$, - "teams-devices_uuid": teams$$devices_uuid$, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request$, }, }, @@ -799,12 +742,9 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, - "teams-devices_description": teams$$devices_description, "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, - "teams-devices_expiration": teams$$devices_expiration, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, "teams-devices_file_input_request": teams$$devices_file_input_request, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, "teams-devices_input": teams$$devices_input, @@ -813,21 +753,14 @@ export const tools: readonly Tool[] = [ "teams-devices_match": teams$$devices_match, "teams-devices_match_item": teams$$devices_match_item, "teams-devices_messages": teams$$devices_messages, - "teams-devices_name": teams$$devices_name, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, "teams-devices_paths": teams$$devices_paths, - "teams-devices_platform": teams$$devices_platform, - "teams-devices_requireAll": teams$$devices_requireAll, - "teams-devices_schedule": teams$$devices_schedule, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, "teams-devices_single_response": teams$$devices_single_response, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, "teams-devices_trust_stores": teams$$devices_trust_stores, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, - "teams-devices_type": teams$$devices_type, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, @@ -867,12 +800,9 @@ export const tools: readonly Tool[] = [ "teams-devices_client_certificate_v2_input_request": teams$$devices_client_certificate_v2_input_request, "teams-devices_crowdstrike_input_request": teams$$devices_crowdstrike_input_request, "teams-devices_custom_s2s_input_request": teams$$devices_custom_s2s_input_request, - "teams-devices_description": teams$$devices_description, "teams-devices_device-posture-rules": teams$$devices_device$$posture$$rules, "teams-devices_disk_encryption_input_request": teams$$devices_disk_encryption_input_request, "teams-devices_domain_joined_input_request": teams$$devices_domain_joined_input_request, - "teams-devices_expiration": teams$$devices_expiration, - "teams-devices_extended_key_usage_enum": teams$$devices_extended_key_usage_enum, "teams-devices_file_input_request": teams$$devices_file_input_request, "teams-devices_firewall_input_request": teams$$devices_firewall_input_request, "teams-devices_input": teams$$devices_input, @@ -881,21 +811,14 @@ export const tools: readonly Tool[] = [ "teams-devices_match": teams$$devices_match, "teams-devices_match_item": teams$$devices_match_item, "teams-devices_messages": teams$$devices_messages, - "teams-devices_name": teams$$devices_name, "teams-devices_os_version_input_request": teams$$devices_os_version_input_request, "teams-devices_paths": teams$$devices_paths, - "teams-devices_platform": teams$$devices_platform, - "teams-devices_requireAll": teams$$devices_requireAll, - "teams-devices_schedule": teams$$devices_schedule, "teams-devices_sentinelone_input_request": teams$$devices_sentinelone_input_request, "teams-devices_sentinelone_s2s_input_request": teams$$devices_sentinelone_s2s_input_request, "teams-devices_single_response": teams$$devices_single_response, "teams-devices_tanium_input_request": teams$$devices_tanium_input_request, "teams-devices_trust_stores": teams$$devices_trust_stores, - "teams-devices_trust_stores_enum": teams$$devices_trust_stores_enum, - "teams-devices_type": teams$$devices_type, "teams-devices_unique_client_id_input_request": teams$$devices_unique_client_id_input_request, - "teams-devices_uuid": teams$$devices_uuid, "teams-devices_workspace_one_input_request": teams$$devices_workspace_one_input_request, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts index 1a3710a75..e0a77b303 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/outputs.ts @@ -33,50 +33,43 @@ export const teams$$devices_browser_extension_config: JsonSchema = { ] }; -/** - * The schema of `teams-devices_default` in responses. - */ -export const teams$$devices_default: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `teams-devices_device_settings_policy` in responses. */ export const teams$$devices_device_settings_policy: JsonSchema = { "properties": { "allow_mode_switch": { - "$ref": "#/$defs/teams-devices_allow_mode_switch" + "type": "boolean" }, "allow_updates": { - "$ref": "#/$defs/teams-devices_allow_updates" + "type": "boolean" }, "allowed_to_leave": { - "$ref": "#/$defs/teams-devices_allowed_to_leave" + "type": "boolean" }, "auto_connect": { - "$ref": "#/$defs/teams-devices_auto_connect" + "type": "number" }, "browser_extension_config": { "$ref": "#/$defs/teams-devices_browser_extension_config" }, "captive_portal": { - "$ref": "#/$defs/teams-devices_captive_portal" + "type": "number" }, "default": { - "$ref": "#/$defs/teams-devices_default" + "type": "boolean" }, "description": { - "$ref": "#/$defs/teams-devices_schemas-description" + "type": "string" }, "disable_auto_fallback": { - "$ref": "#/$defs/teams-devices_disable_auto_fallback" + "type": "boolean" }, "dns_search_suffixes": { "$ref": "#/$defs/teams-devices_dns_search_suffixes" }, "enable_device_credential_authentication": { - "$ref": "#/$defs/teams-devices_enable_device_credential_authentication" + "type": "boolean" }, "enabled": { "type": "boolean" @@ -85,13 +78,13 @@ export const teams$$devices_device_settings_policy: JsonSchema = { "$ref": "#/$defs/teams-devices_exclude" }, "exclude_office_ips": { - "$ref": "#/$defs/teams-devices_exclude_office_ips" + "type": "boolean" }, "fallback_domains": { "$ref": "#/$defs/teams-devices_fallback_domains" }, "gateway_unique_id": { - "$ref": "#/$defs/teams-devices_gateway_unique_id" + "type": "string" }, "global_acceleration": { "$ref": "#/$defs/teams-devices_global_acceleration" @@ -100,40 +93,44 @@ export const teams$$devices_device_settings_policy: JsonSchema = { "$ref": "#/$defs/teams-devices_include" }, "lan_allow_minutes": { - "$ref": "#/$defs/teams-devices_lan_allow_minutes" + "type": "number" }, "lan_allow_subnet_size": { - "$ref": "#/$defs/teams-devices_lan_allow_subnet_size" + "type": "number" }, "match": { - "$ref": "#/$defs/teams-devices_schemas-match" + "type": "string" }, "name": { "type": "string" }, "policy_id": { - "$ref": "#/$defs/teams-devices_schemas-uuid" + "type": "string" }, "precedence": { - "$ref": "#/$defs/teams-devices_precedence" + "type": "number" }, "profile_type": { - "$ref": "#/$defs/teams-devices_profile_type" + "enum": [ + "warp", + "browser_extension" + ], + "type": "string" }, "register_interface_ip_with_dns": { - "$ref": "#/$defs/teams-devices_register_interface_ip_with_dns" + "type": "boolean" }, "sccm_vpn_boundary_support": { - "$ref": "#/$defs/teams-devices_sccm_vpn_boundary_support" + "type": "boolean" }, "service_mode_v2": { "$ref": "#/$defs/teams-devices_service_mode_v2" }, "support_url": { - "$ref": "#/$defs/teams-devices_support_url" + "type": "string" }, "switch_locked": { - "$ref": "#/$defs/teams-devices_switch_locked" + "type": "boolean" }, "target_tests": { "items": { @@ -142,10 +139,10 @@ export const teams$$devices_device_settings_policy: JsonSchema = { "type": "array" }, "tunnel_protocol": { - "$ref": "#/$defs/teams-devices_tunnel_protocol" + "type": "string" }, "uninstall_protection": { - "$ref": "#/$defs/teams-devices_uninstall_protection" + "type": "boolean" }, "virtual_networks": { "$ref": "#/$defs/teams-devices_virtual_networks" @@ -196,27 +193,6 @@ export const teams$$devices_device_settings_response_collection: JsonSchema = { ] }; -/** - * The schema of `teams-devices_precedence` in responses. - */ -export const teams$$devices_precedence: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `teams-devices_schemas-description` in responses. - */ -export const teams$$devices_schemas$$description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_schemas-match` in responses. - */ -export const teams$$devices_schemas$$match: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_target_dex_test` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/schemas.ts index b9d8001be..52feaea41 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/schemas.ts @@ -35,35 +35,3 @@ export const teams$$devices_browser_extension_config: JsonSchema = { } ] }; - -/** - * The schema of `teams-devices_default`. - */ -export const teams$$devices_default: JsonSchema = { - "description": "Whether the policy is the account default. WARP group profiles cannot set this field.", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_precedence`. - */ -export const teams$$devices_precedence: JsonSchema = { - "description": "The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.", - "type": "number" -}; - -/** - * The schema of `teams-devices_schemas-description`. - */ -export const teams$$devices_schemas$$description: JsonSchema = { - "description": "A description of the policy.", - "type": "string" -}; - -/** - * The schema of `teams-devices_schemas-match`. - */ -export const teams$$devices_schemas$$match: JsonSchema = { - "description": "The wirefilter expression to match devices. Available values: \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.service_token_uuid\", \"identity.saml_attributes\", \"network\", \"os.name\", \"os.version\", \"device.tags\".", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts index 9c69726cc..3dc788a82 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/custom/tools.ts @@ -10,107 +10,46 @@ import { teams$$devices_messages, teams$$devices_result_info, } from "../../outputs.js"; -import { teams$$devices_identifier } from "../../schemas.js"; import { - teams$$devices_allow_mode_switch, - teams$$devices_allow_updates, - teams$$devices_allowed_to_leave, - teams$$devices_auto_connect, - teams$$devices_captive_portal, - teams$$devices_disable_auto_fallback, teams$$devices_dns_search_suffix, teams$$devices_dns_search_suffixes, - teams$$devices_enable_device_credential_authentication, teams$$devices_exclude, - teams$$devices_exclude_office_ips, teams$$devices_exclude_split_tunnel_with_address, teams$$devices_exclude_split_tunnel_with_host, teams$$devices_fallback_domain, teams$$devices_fallback_domains, - teams$$devices_gateway_unique_id, teams$$devices_global_acceleration, teams$$devices_include, - teams$$devices_include_split_tunnel_address, - teams$$devices_include_split_tunnel_description, - teams$$devices_include_split_tunnel_host, teams$$devices_include_split_tunnel_with_address, teams$$devices_include_split_tunnel_with_host, - teams$$devices_ip, - teams$$devices_lan_allow_minutes, - teams$$devices_lan_allow_subnet_size, - teams$$devices_profile_type, - teams$$devices_register_interface_ip_with_dns, - teams$$devices_sccm_vpn_boundary_support, - teams$$devices_schemas$$uuid, teams$$devices_service_mode_v2, teams$$devices_split_tunnel, - teams$$devices_split_tunnel_address, - teams$$devices_split_tunnel_description, - teams$$devices_split_tunnel_host, teams$$devices_split_tunnel_include, - teams$$devices_support_url, - teams$$devices_switch_locked, - teams$$devices_tunnel_protocol, - teams$$devices_uninstall_protection, teams$$devices_virtual_networks, } from "../outputs.js"; import { - teams$$devices_allow_mode_switch as teams$$devices_allow_mode_switch$, - teams$$devices_allow_updates as teams$$devices_allow_updates$, - teams$$devices_allowed_to_leave as teams$$devices_allowed_to_leave$, - teams$$devices_auto_connect as teams$$devices_auto_connect$, - teams$$devices_captive_portal as teams$$devices_captive_portal$, - teams$$devices_disable_auto_fallback as teams$$devices_disable_auto_fallback$, teams$$devices_dns_search_suffix as teams$$devices_dns_search_suffix$, teams$$devices_dns_search_suffixes as teams$$devices_dns_search_suffixes$, - teams$$devices_enable_device_credential_authentication as teams$$devices_enable_device_credential_authentication$, - teams$$devices_exclude_office_ips as teams$$devices_exclude_office_ips$, teams$$devices_exclude_request, teams$$devices_exclude_split_tunnel_with_address as teams$$devices_exclude_split_tunnel_with_address$, teams$$devices_exclude_split_tunnel_with_host as teams$$devices_exclude_split_tunnel_with_host$, teams$$devices_global_acceleration as teams$$devices_global_acceleration$, teams$$devices_include_request, - teams$$devices_include_split_tunnel_address as teams$$devices_include_split_tunnel_address$, - teams$$devices_include_split_tunnel_description as teams$$devices_include_split_tunnel_description$, - teams$$devices_include_split_tunnel_host as teams$$devices_include_split_tunnel_host$, teams$$devices_include_split_tunnel_with_address as teams$$devices_include_split_tunnel_with_address$, teams$$devices_include_split_tunnel_with_host as teams$$devices_include_split_tunnel_with_host$, - teams$$devices_lan_allow_minutes as teams$$devices_lan_allow_minutes$, - teams$$devices_lan_allow_subnet_size as teams$$devices_lan_allow_subnet_size$, - teams$$devices_profile_type as teams$$devices_profile_type$, - teams$$devices_register_interface_ip_with_dns as teams$$devices_register_interface_ip_with_dns$, - teams$$devices_sccm_vpn_boundary_support as teams$$devices_sccm_vpn_boundary_support$, - teams$$devices_schemas$$uuid as teams$$devices_schemas$$uuid$, teams$$devices_service_mode_v2 as teams$$devices_service_mode_v2$, teams$$devices_split_tunnel as teams$$devices_split_tunnel$, - teams$$devices_split_tunnel_address as teams$$devices_split_tunnel_address$, - teams$$devices_split_tunnel_description as teams$$devices_split_tunnel_description$, - teams$$devices_split_tunnel_host as teams$$devices_split_tunnel_host$, teams$$devices_split_tunnel_include as teams$$devices_split_tunnel_include$, - teams$$devices_support_url as teams$$devices_support_url$, - teams$$devices_switch_locked as teams$$devices_switch_locked$, - teams$$devices_tunnel_protocol as teams$$devices_tunnel_protocol$, - teams$$devices_uninstall_protection as teams$$devices_uninstall_protection$, teams$$devices_virtual_networks as teams$$devices_virtual_networks$, } from "../schemas.js"; import { teams$$devices_browser_extension_config, - teams$$devices_default, teams$$devices_device_settings_policy, teams$$devices_device_settings_response, teams$$devices_device_settings_response_collection, - teams$$devices_precedence, - teams$$devices_schemas$$description, - teams$$devices_schemas$$match, teams$$devices_target_dex_test, } from "./outputs.js"; -import { - teams$$devices_browser_extension_config as teams$$devices_browser_extension_config$, - teams$$devices_default as teams$$devices_default$, - teams$$devices_precedence as teams$$devices_precedence$, - teams$$devices_schemas$$description as teams$$devices_schemas$$description$, - teams$$devices_schemas$$match as teams$$devices_schemas$$match$, -} from "./schemas.js"; +import { teams$$devices_browser_extension_config as teams$$devices_browser_extension_config$ } from "./schemas.js"; /** * The tools of `zeroTrust.devices.profiles.custom`. @@ -119,50 +58,51 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_profiles_custom_create", title: "Create a device settings profile", - description: "Creates a device settings profile to be applied to certain devices matching the criteria.", + description: "Creates a device settings profile to be applied to certain devices matching the criteria.\n\nPOST /accounts/{account_id}/devices/policy", inputSchema: { type: "object", properties: { "body": { "properties": { "allow_mode_switch": { - "$ref": "#/$defs/teams-devices_allow_mode_switch", "default": false, - "description": "Whether to allow the user to switch WARP between modes." + "description": "Whether to allow the user to switch WARP between modes.", + "type": "boolean" }, "allow_updates": { - "$ref": "#/$defs/teams-devices_allow_updates", "default": false, - "description": "Whether to receive update notifications when a new version of the client is available." + "description": "Whether to receive update notifications when a new version of the client is available.", + "type": "boolean" }, "allowed_to_leave": { - "$ref": "#/$defs/teams-devices_allowed_to_leave", "default": true, - "description": "Whether to allow devices to leave the organization." + "description": "Whether to allow devices to leave the organization.", + "type": "boolean" }, "auto_connect": { - "$ref": "#/$defs/teams-devices_auto_connect", "default": 0, - "description": "The amount of time in seconds to reconnect after having been disabled." + "description": "The amount of time in seconds to reconnect after having been disabled.", + "type": "number" }, "browser_extension_config": { "$ref": "#/$defs/teams-devices_browser_extension_config", "description": "Browser extension proxy settings. Required when profile_type is browser_extension and invalid for WARP profiles." }, "captive_portal": { - "$ref": "#/$defs/teams-devices_captive_portal", "default": 180, - "description": "Turn on the captive portal after the specified amount of time." + "description": "Turn on the captive portal after the specified amount of time.", + "type": "number" }, "default": { - "$ref": "#/$defs/teams-devices_default", "default": false, - "description": "Whether the policy is the account default. WARP group profiles cannot set this field." + "description": "Whether the policy is the account default. WARP group profiles cannot set this field.", + "type": "boolean" }, "description": { "allOf": [ { - "$ref": "#/$defs/teams-devices_schemas-description" + "description": "A description of the policy.", + "type": "string" }, { "type": "string" @@ -170,9 +110,9 @@ export const tools: readonly Tool[] = [ ] }, "disable_auto_fallback": { - "$ref": "#/$defs/teams-devices_disable_auto_fallback", "default": false, - "description": "If the `dns_server` field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to `true`." + "description": "If the `dns_server` field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to `true`.", + "type": "boolean" }, "dns_search_suffixes": { "$ref": "#/$defs/teams-devices_dns_search_suffixes", @@ -180,9 +120,9 @@ export const tools: readonly Tool[] = [ "description": "List of DNS search suffixes to apply to clients. Suffixes are evaluated in order. Use an empty array to clear." }, "enable_device_credential_authentication": { - "$ref": "#/$defs/teams-devices_enable_device_credential_authentication", "default": false, - "description": "Determines whether the WARP client can silently reauthenticate the user with device credentials (Microsoft Entra) instead of prompting for browser-based reauthentication." + "description": "Determines whether the WARP client can silently reauthenticate the user with device credentials (Microsoft Entra) instead of prompting for browser-based reauthentication.", + "type": "boolean" }, "enabled": { "default": true, @@ -194,9 +134,9 @@ export const tools: readonly Tool[] = [ "description": "List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request." }, "exclude_office_ips": { - "$ref": "#/$defs/teams-devices_exclude_office_ips", "default": false, - "description": "Whether to add Microsoft IPs to Split Tunnel exclusions." + "description": "Whether to add Microsoft IPs to Split Tunnel exclusions.", + "type": "boolean" }, "global_acceleration": { "$ref": "#/$defs/teams-devices_global_acceleration", @@ -207,62 +147,66 @@ export const tools: readonly Tool[] = [ "description": "List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request." }, "lan_allow_minutes": { - "$ref": "#/$defs/teams-devices_lan_allow_minutes", - "description": "The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset." + "description": "The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.", + "type": "number" }, "lan_allow_subnet_size": { - "$ref": "#/$defs/teams-devices_lan_allow_subnet_size", - "description": "The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset." + "description": "The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.", + "type": "number" }, "match": { - "$ref": "#/$defs/teams-devices_schemas-match", - "description": "The wirefilter expression to match devices. Available values: \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.service_token_uuid\", \"identity.saml_attributes\", \"network\", \"os.name\", \"os.version\", \"device.tags\"." + "description": "The wirefilter expression to match devices. Available values: \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.service_token_uuid\", \"identity.saml_attributes\", \"network\", \"os.name\", \"os.version\", \"device.tags\".", + "type": "string" }, "name": { "description": "The name of the device settings profile.", "type": "string" }, "precedence": { - "$ref": "#/$defs/teams-devices_precedence", - "description": "The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field." + "description": "The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.", + "type": "number" }, "profile_type": { - "$ref": "#/$defs/teams-devices_profile_type", "default": "warp", - "description": "The client type to which the device settings profile applies. This field is set when the profile is created and cannot be changed." + "description": "The client type to which the device settings profile applies. This field is set when the profile is created and cannot be changed.", + "enum": [ + "warp", + "browser_extension" + ], + "type": "string" }, "register_interface_ip_with_dns": { - "$ref": "#/$defs/teams-devices_register_interface_ip_with_dns", "default": true, - "description": "Determines if the operating system will register WARP's local interface IP with your on-premises DNS server." + "description": "Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.", + "type": "boolean" }, "sccm_vpn_boundary_support": { - "$ref": "#/$defs/teams-devices_sccm_vpn_boundary_support", "default": false, - "description": "Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only)." + "description": "Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only).", + "type": "boolean" }, "service_mode_v2": { "$ref": "#/$defs/teams-devices_service_mode_v2" }, "support_url": { - "$ref": "#/$defs/teams-devices_support_url", "default": "", - "description": "The URL to launch when the Send Feedback button is clicked." + "description": "The URL to launch when the Send Feedback button is clicked.", + "type": "string" }, "switch_locked": { - "$ref": "#/$defs/teams-devices_switch_locked", "default": false, - "description": "Whether to allow the user to turn off the WARP switch and disconnect the client." + "description": "Whether to allow the user to turn off the WARP switch and disconnect the client.", + "type": "boolean" }, "tunnel_protocol": { - "$ref": "#/$defs/teams-devices_tunnel_protocol", "default": "", - "description": "Determines which tunnel protocol to use." + "description": "Determines which tunnel protocol to use.", + "type": "string" }, "uninstall_protection": { - "$ref": "#/$defs/teams-devices_uninstall_protection", "default": false, - "description": "Determines whether uninstalling the WARP client requires an override code. (Windows only)." + "description": "Determines whether uninstalling the WARP client requires an override code. (Windows only).", + "type": "boolean" }, "virtual_networks": { "$ref": "#/$defs/teams-devices_virtual_networks", @@ -275,9 +219,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -290,105 +235,48 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch$, - "teams-devices_allow_updates": teams$$devices_allow_updates$, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave$, - "teams-devices_auto_connect": teams$$devices_auto_connect$, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config$, - "teams-devices_captive_portal": teams$$devices_captive_portal$, - "teams-devices_default": teams$$devices_default$, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback$, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix$, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes$, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication$, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips$, "teams-devices_exclude_request": teams$$devices_exclude_request, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address$, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host$, "teams-devices_global_acceleration": teams$$devices_global_acceleration$, - "teams-devices_identifier": teams$$devices_identifier, "teams-devices_include_request": teams$$devices_include_request, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address$, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description$, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host$, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address$, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host$, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes$, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size$, - "teams-devices_precedence": teams$$devices_precedence$, - "teams-devices_profile_type": teams$$devices_profile_type$, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns$, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support$, - "teams-devices_schemas-description": teams$$devices_schemas$$description$, - "teams-devices_schemas-match": teams$$devices_schemas$$match$, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2$, "teams-devices_split_tunnel": teams$$devices_split_tunnel$, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address$, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description$, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host$, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include$, - "teams-devices_support_url": teams$$devices_support_url$, - "teams-devices_switch_locked": teams$$devices_switch_locked$, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol$, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection$, "teams-devices_virtual_networks": teams$$devices_virtual_networks$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response": teams$$devices_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -416,58 +304,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response": teams$$devices_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -479,17 +337,18 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_profiles_custom_delete", title: "Delete a device settings profile", - description: "Deletes a device settings profile and fetches a list of the remaining profiles for an account.", + description: "Deletes a device settings profile and fetches a list of the remaining profiles for an account.\n\nDELETE /accounts/{account_id}/devices/policy/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "policy_id": { - "$ref": "#/$defs/teams-devices_schemas-uuid" + "type": "string" } }, "required": [ @@ -502,66 +361,33 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response_collection", $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, "teams-devices_api-response-common": teams$$devices_api$$response$$common, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response_collection": teams$$devices_device_settings_response_collection, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, "teams-devices_result_info": teams$$devices_result_info, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -589,59 +415,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response_collection": teams$$devices_device_settings_response_collection, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, "teams-devices_result_info": teams$$devices_result_info, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -652,17 +448,18 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_profiles_custom_get", title: "Get device settings profile by ID", - description: "Fetches a device settings profile by ID.", + description: "Fetches a device settings profile by ID.\n\nGET /accounts/{account_id}/devices/policy/{policy_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "policy_id": { - "$ref": "#/$defs/teams-devices_schemas-uuid" + "type": "string" } }, "required": [ @@ -675,65 +472,32 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response": teams$$devices_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -756,58 +520,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response": teams$$devices_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -818,14 +552,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_profiles_custom_list", title: "List device settings profiles", - description: "Fetches a list of the device settings profiles for an account.", + description: "Fetches a list of the device settings profiles for an account.\n\nGET /accounts/{account_id}/devices/policies", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -834,11 +569,16 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "profile_type": { - "$ref": "#/$defs/teams-devices_profile_type", "default": "warp", - "description": "Filter profiles by client type. When omitted, only WARP profiles are returned." + "description": "Filter profiles by client type. When omitted, only WARP profiles are returned.", + "enum": [ + "warp", + "browser_extension" + ], + "type": "string" } }, "type": "object" @@ -847,66 +587,33 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - "teams-devices_profile_type": teams$$devices_profile_type$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response_collection", $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, "teams-devices_api-response-common": teams$$devices_api$$response$$common, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response_collection": teams$$devices_device_settings_response_collection, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, "teams-devices_result_info": teams$$devices_result_info, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -929,59 +636,29 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-collection": teams$$devices_api$$response$$collection, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response_collection": teams$$devices_device_settings_response_collection, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, "teams-devices_result_info": teams$$devices_result_info, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -995,54 +672,54 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_profiles_custom_update", title: "Update a device settings profile", - description: "Updates a configured device settings profile.", + description: "Updates a configured device settings profile.\n\nPATCH /accounts/{account_id}/devices/policy/{policy_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "allow_mode_switch": { - "$ref": "#/$defs/teams-devices_allow_mode_switch", "default": false, - "description": "Whether to allow the user to switch WARP between modes." + "description": "Whether to allow the user to switch WARP between modes.", + "type": "boolean" }, "allow_updates": { - "$ref": "#/$defs/teams-devices_allow_updates", "default": false, - "description": "Whether to receive update notifications when a new version of the client is available." + "description": "Whether to receive update notifications when a new version of the client is available.", + "type": "boolean" }, "allowed_to_leave": { - "$ref": "#/$defs/teams-devices_allowed_to_leave", "default": true, - "description": "Whether to allow devices to leave the organization." + "description": "Whether to allow devices to leave the organization.", + "type": "boolean" }, "auto_connect": { - "$ref": "#/$defs/teams-devices_auto_connect", "default": 0, - "description": "The amount of time in seconds to reconnect after having been disabled." + "description": "The amount of time in seconds to reconnect after having been disabled.", + "type": "number" }, "browser_extension_config": { "$ref": "#/$defs/teams-devices_browser_extension_config", "description": "Browser extension proxy settings. Required when profile_type is browser_extension and invalid for WARP profiles." }, "captive_portal": { - "$ref": "#/$defs/teams-devices_captive_portal", "default": 180, - "description": "Turn on the captive portal after the specified amount of time." + "description": "Turn on the captive portal after the specified amount of time.", + "type": "number" }, "default": { - "$ref": "#/$defs/teams-devices_default", "default": false, - "description": "Whether the policy is the account default. WARP group profiles cannot set this field." + "description": "Whether the policy is the account default. WARP group profiles cannot set this field.", + "type": "boolean" }, "description": { - "$ref": "#/$defs/teams-devices_schemas-description", - "description": "A description of the policy." + "description": "A description of the policy.", + "type": "string" }, "disable_auto_fallback": { - "$ref": "#/$defs/teams-devices_disable_auto_fallback", "default": false, - "description": "If the `dns_server` field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to `true`." + "description": "If the `dns_server` field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to `true`.", + "type": "boolean" }, "dns_search_suffixes": { "$ref": "#/$defs/teams-devices_dns_search_suffixes", @@ -1050,9 +727,9 @@ export const tools: readonly Tool[] = [ "description": "List of DNS search suffixes to apply to clients. Suffixes are evaluated in order. Use an empty array to clear." }, "enable_device_credential_authentication": { - "$ref": "#/$defs/teams-devices_enable_device_credential_authentication", "default": false, - "description": "Determines whether the WARP client can silently reauthenticate the user with device credentials (Microsoft Entra) instead of prompting for browser-based reauthentication." + "description": "Determines whether the WARP client can silently reauthenticate the user with device credentials (Microsoft Entra) instead of prompting for browser-based reauthentication.", + "type": "boolean" }, "enabled": { "description": "Whether the policy will be applied to matching devices.", @@ -1063,9 +740,9 @@ export const tools: readonly Tool[] = [ "description": "List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request." }, "exclude_office_ips": { - "$ref": "#/$defs/teams-devices_exclude_office_ips", "default": false, - "description": "Whether to add Microsoft IPs to Split Tunnel exclusions." + "description": "Whether to add Microsoft IPs to Split Tunnel exclusions.", + "type": "boolean" }, "global_acceleration": { "$ref": "#/$defs/teams-devices_global_acceleration", @@ -1076,57 +753,57 @@ export const tools: readonly Tool[] = [ "description": "List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request." }, "lan_allow_minutes": { - "$ref": "#/$defs/teams-devices_lan_allow_minutes", - "description": "The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset." + "description": "The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.", + "type": "number" }, "lan_allow_subnet_size": { - "$ref": "#/$defs/teams-devices_lan_allow_subnet_size", - "description": "The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset." + "description": "The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.", + "type": "number" }, "match": { - "$ref": "#/$defs/teams-devices_schemas-match", - "description": "The wirefilter expression to match devices. Available values: \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.service_token_uuid\", \"identity.saml_attributes\", \"network\", \"os.name\", \"os.version\", \"device.tags\"." + "description": "The wirefilter expression to match devices. Available values: \"identity.email\", \"identity.groups.id\", \"identity.groups.name\", \"identity.groups.email\", \"identity.service_token_uuid\", \"identity.saml_attributes\", \"network\", \"os.name\", \"os.version\", \"device.tags\".", + "type": "string" }, "name": { "description": "The name of the device settings profile.", "type": "string" }, "precedence": { - "$ref": "#/$defs/teams-devices_precedence", - "description": "The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field." + "description": "The precedence of the policy. Lower values indicate higher precedence. Policies will be evaluated in ascending order of this field.", + "type": "number" }, "register_interface_ip_with_dns": { - "$ref": "#/$defs/teams-devices_register_interface_ip_with_dns", "default": true, - "description": "Determines if the operating system will register WARP's local interface IP with your on-premises DNS server." + "description": "Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.", + "type": "boolean" }, "sccm_vpn_boundary_support": { - "$ref": "#/$defs/teams-devices_sccm_vpn_boundary_support", "default": false, - "description": "Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only)." + "description": "Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only).", + "type": "boolean" }, "service_mode_v2": { "$ref": "#/$defs/teams-devices_service_mode_v2" }, "support_url": { - "$ref": "#/$defs/teams-devices_support_url", "default": "", - "description": "The URL to launch when the Send Feedback button is clicked." + "description": "The URL to launch when the Send Feedback button is clicked.", + "type": "string" }, "switch_locked": { - "$ref": "#/$defs/teams-devices_switch_locked", "default": false, - "description": "Whether to allow the user to turn off the WARP switch and disconnect the client." + "description": "Whether to allow the user to turn off the WARP switch and disconnect the client.", + "type": "boolean" }, "tunnel_protocol": { - "$ref": "#/$defs/teams-devices_tunnel_protocol", "default": "", - "description": "Determines which tunnel protocol to use." + "description": "Determines which tunnel protocol to use.", + "type": "string" }, "uninstall_protection": { - "$ref": "#/$defs/teams-devices_uninstall_protection", "default": false, - "description": "Determines whether uninstalling the WARP client requires an override code. (Windows only)." + "description": "Determines whether uninstalling the WARP client requires an override code. (Windows only).", + "type": "boolean" }, "virtual_networks": { "$ref": "#/$defs/teams-devices_virtual_networks", @@ -1136,12 +813,13 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" }, "policy_id": { - "$ref": "#/$defs/teams-devices_schemas-uuid" + "type": "string" } }, "required": [ @@ -1155,105 +833,48 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch$, - "teams-devices_allow_updates": teams$$devices_allow_updates$, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave$, - "teams-devices_auto_connect": teams$$devices_auto_connect$, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config$, - "teams-devices_captive_portal": teams$$devices_captive_portal$, - "teams-devices_default": teams$$devices_default$, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback$, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix$, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes$, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication$, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips$, "teams-devices_exclude_request": teams$$devices_exclude_request, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address$, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host$, "teams-devices_global_acceleration": teams$$devices_global_acceleration$, - "teams-devices_identifier": teams$$devices_identifier, "teams-devices_include_request": teams$$devices_include_request, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address$, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description$, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host$, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address$, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host$, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes$, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size$, - "teams-devices_precedence": teams$$devices_precedence$, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns$, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support$, - "teams-devices_schemas-description": teams$$devices_schemas$$description$, - "teams-devices_schemas-match": teams$$devices_schemas$$match$, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid$, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2$, "teams-devices_split_tunnel": teams$$devices_split_tunnel$, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address$, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description$, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host$, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include$, - "teams-devices_support_url": teams$$devices_support_url$, - "teams-devices_switch_locked": teams$$devices_switch_locked$, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol$, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection$, "teams-devices_virtual_networks": teams$$devices_virtual_networks$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response": teams$$devices_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -1281,58 +902,28 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, "teams-devices_browser_extension_config": teams$$devices_browser_extension_config, - "teams-devices_captive_portal": teams$$devices_captive_portal, - "teams-devices_default": teams$$devices_default, "teams-devices_device_settings_policy": teams$$devices_device_settings_policy, "teams-devices_device_settings_response": teams$$devices_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, "teams-devices_messages": teams$$devices_messages, - "teams-devices_precedence": teams$$devices_precedence, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-description": teams$$devices_schemas$$description, - "teams-devices_schemas-match": teams$$devices_schemas$$match, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, "teams-devices_target_dex_test": teams$$devices_target_dex_test, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts index fb367d2a4..3bd569c7b 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/outputs.ts @@ -9,31 +9,31 @@ import type { JsonSchema } from "../../../../_/tool.js"; export const teams$$devices_default_device_settings_policy: JsonSchema = { "properties": { "allow_mode_switch": { - "$ref": "#/$defs/teams-devices_allow_mode_switch" + "type": "boolean" }, "allow_updates": { - "$ref": "#/$defs/teams-devices_allow_updates" + "type": "boolean" }, "allowed_to_leave": { - "$ref": "#/$defs/teams-devices_allowed_to_leave" + "type": "boolean" }, "auto_connect": { - "$ref": "#/$defs/teams-devices_auto_connect" + "type": "number" }, "captive_portal": { - "$ref": "#/$defs/teams-devices_captive_portal" + "type": "number" }, "default": { "type": "boolean" }, "disable_auto_fallback": { - "$ref": "#/$defs/teams-devices_disable_auto_fallback" + "type": "boolean" }, "dns_search_suffixes": { "$ref": "#/$defs/teams-devices_dns_search_suffixes" }, "enable_device_credential_authentication": { - "$ref": "#/$defs/teams-devices_enable_device_credential_authentication" + "type": "boolean" }, "enabled": { "type": "boolean" @@ -42,13 +42,13 @@ export const teams$$devices_default_device_settings_policy: JsonSchema = { "$ref": "#/$defs/teams-devices_exclude" }, "exclude_office_ips": { - "$ref": "#/$defs/teams-devices_exclude_office_ips" + "type": "boolean" }, "fallback_domains": { "$ref": "#/$defs/teams-devices_fallback_domains" }, "gateway_unique_id": { - "$ref": "#/$defs/teams-devices_gateway_unique_id" + "type": "string" }, "global_acceleration": { "$ref": "#/$defs/teams-devices_global_acceleration" @@ -57,31 +57,35 @@ export const teams$$devices_default_device_settings_policy: JsonSchema = { "$ref": "#/$defs/teams-devices_include" }, "policy_id": { - "$ref": "#/$defs/teams-devices_schemas-uuid" + "type": "string" }, "profile_type": { - "$ref": "#/$defs/teams-devices_profile_type" + "enum": [ + "warp", + "browser_extension" + ], + "type": "string" }, "register_interface_ip_with_dns": { - "$ref": "#/$defs/teams-devices_register_interface_ip_with_dns" + "type": "boolean" }, "sccm_vpn_boundary_support": { - "$ref": "#/$defs/teams-devices_sccm_vpn_boundary_support" + "type": "boolean" }, "service_mode_v2": { "$ref": "#/$defs/teams-devices_service_mode_v2" }, "support_url": { - "$ref": "#/$defs/teams-devices_support_url" + "type": "string" }, "switch_locked": { - "$ref": "#/$defs/teams-devices_switch_locked" + "type": "boolean" }, "tunnel_protocol": { - "$ref": "#/$defs/teams-devices_tunnel_protocol" + "type": "string" }, "uninstall_protection": { - "$ref": "#/$defs/teams-devices_uninstall_protection" + "type": "boolean" }, "virtual_networks": { "$ref": "#/$defs/teams-devices_virtual_networks" diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts index f51fc27ca..172acfe14 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/default/tools.ts @@ -8,83 +8,36 @@ import { teams$$devices_api$$response$$single, teams$$devices_messages, } from "../../outputs.js"; -import { teams$$devices_identifier } from "../../schemas.js"; import { - teams$$devices_allow_mode_switch, - teams$$devices_allow_updates, - teams$$devices_allowed_to_leave, - teams$$devices_auto_connect, - teams$$devices_captive_portal, - teams$$devices_disable_auto_fallback, teams$$devices_dns_search_suffix, teams$$devices_dns_search_suffixes, - teams$$devices_enable_device_credential_authentication, teams$$devices_exclude, - teams$$devices_exclude_office_ips, teams$$devices_exclude_split_tunnel_with_address, teams$$devices_exclude_split_tunnel_with_host, teams$$devices_fallback_domain, teams$$devices_fallback_domains, - teams$$devices_gateway_unique_id, teams$$devices_global_acceleration, teams$$devices_include, - teams$$devices_include_split_tunnel_address, - teams$$devices_include_split_tunnel_description, - teams$$devices_include_split_tunnel_host, teams$$devices_include_split_tunnel_with_address, teams$$devices_include_split_tunnel_with_host, - teams$$devices_ip, - teams$$devices_profile_type, - teams$$devices_register_interface_ip_with_dns, - teams$$devices_sccm_vpn_boundary_support, - teams$$devices_schemas$$uuid, teams$$devices_service_mode_v2, teams$$devices_split_tunnel, - teams$$devices_split_tunnel_address, - teams$$devices_split_tunnel_description, - teams$$devices_split_tunnel_host, teams$$devices_split_tunnel_include, - teams$$devices_support_url, - teams$$devices_switch_locked, - teams$$devices_tunnel_protocol, - teams$$devices_uninstall_protection, teams$$devices_virtual_networks, } from "../outputs.js"; import { - teams$$devices_allow_mode_switch as teams$$devices_allow_mode_switch$, - teams$$devices_allow_updates as teams$$devices_allow_updates$, - teams$$devices_allowed_to_leave as teams$$devices_allowed_to_leave$, - teams$$devices_auto_connect as teams$$devices_auto_connect$, - teams$$devices_captive_portal as teams$$devices_captive_portal$, - teams$$devices_disable_auto_fallback as teams$$devices_disable_auto_fallback$, teams$$devices_dns_search_suffix as teams$$devices_dns_search_suffix$, teams$$devices_dns_search_suffixes as teams$$devices_dns_search_suffixes$, - teams$$devices_enable_device_credential_authentication as teams$$devices_enable_device_credential_authentication$, - teams$$devices_exclude_office_ips as teams$$devices_exclude_office_ips$, teams$$devices_exclude_request, teams$$devices_exclude_split_tunnel_with_address as teams$$devices_exclude_split_tunnel_with_address$, teams$$devices_exclude_split_tunnel_with_host as teams$$devices_exclude_split_tunnel_with_host$, teams$$devices_global_acceleration as teams$$devices_global_acceleration$, teams$$devices_include_request, - teams$$devices_include_split_tunnel_address as teams$$devices_include_split_tunnel_address$, - teams$$devices_include_split_tunnel_description as teams$$devices_include_split_tunnel_description$, - teams$$devices_include_split_tunnel_host as teams$$devices_include_split_tunnel_host$, teams$$devices_include_split_tunnel_with_address as teams$$devices_include_split_tunnel_with_address$, teams$$devices_include_split_tunnel_with_host as teams$$devices_include_split_tunnel_with_host$, - teams$$devices_lan_allow_minutes, - teams$$devices_lan_allow_subnet_size, - teams$$devices_register_interface_ip_with_dns as teams$$devices_register_interface_ip_with_dns$, - teams$$devices_sccm_vpn_boundary_support as teams$$devices_sccm_vpn_boundary_support$, teams$$devices_service_mode_v2 as teams$$devices_service_mode_v2$, teams$$devices_split_tunnel as teams$$devices_split_tunnel$, - teams$$devices_split_tunnel_address as teams$$devices_split_tunnel_address$, - teams$$devices_split_tunnel_description as teams$$devices_split_tunnel_description$, - teams$$devices_split_tunnel_host as teams$$devices_split_tunnel_host$, teams$$devices_split_tunnel_include as teams$$devices_split_tunnel_include$, - teams$$devices_support_url as teams$$devices_support_url$, - teams$$devices_switch_locked as teams$$devices_switch_locked$, - teams$$devices_tunnel_protocol as teams$$devices_tunnel_protocol$, - teams$$devices_uninstall_protection as teams$$devices_uninstall_protection$, teams$$devices_virtual_networks as teams$$devices_virtual_networks$, } from "../schemas.js"; import { @@ -99,14 +52,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_profiles_default_get", title: "Get the default device settings profile", - description: "Fetches the default device settings profile for an account.", + description: "Fetches the default device settings profile for an account.\n\nGET /accounts/{account_id}/devices/policy", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -118,56 +72,30 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_default_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, - "teams-devices_captive_portal": teams$$devices_captive_portal, "teams-devices_default_device_settings_policy": teams$$devices_default_device_settings_policy, "teams-devices_default_device_settings_response": teams$$devices_default_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, "teams-devices_messages": teams$$devices_messages, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -190,50 +118,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, - "teams-devices_captive_portal": teams$$devices_captive_portal, "teams-devices_default_device_settings_policy": teams$$devices_default_device_settings_policy, "teams-devices_default_device_settings_response": teams$$devices_default_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, "teams-devices_messages": teams$$devices_messages, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -244,41 +148,41 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_profiles_default_update", title: "Update the default device settings profile", - description: "Updates the default device settings profile for an account.", + description: "Updates the default device settings profile for an account.\n\nPATCH /accounts/{account_id}/devices/policy", inputSchema: { type: "object", properties: { "body": { "properties": { "allow_mode_switch": { - "$ref": "#/$defs/teams-devices_allow_mode_switch", "default": false, - "description": "Whether to allow the user to switch WARP between modes." + "description": "Whether to allow the user to switch WARP between modes.", + "type": "boolean" }, "allow_updates": { - "$ref": "#/$defs/teams-devices_allow_updates", "default": false, - "description": "Whether to receive update notifications when a new version of the client is available." + "description": "Whether to receive update notifications when a new version of the client is available.", + "type": "boolean" }, "allowed_to_leave": { - "$ref": "#/$defs/teams-devices_allowed_to_leave", "default": true, - "description": "Whether to allow devices to leave the organization." + "description": "Whether to allow devices to leave the organization.", + "type": "boolean" }, "auto_connect": { - "$ref": "#/$defs/teams-devices_auto_connect", "default": 0, - "description": "The amount of time in seconds to reconnect after having been disabled." + "description": "The amount of time in seconds to reconnect after having been disabled.", + "type": "number" }, "captive_portal": { - "$ref": "#/$defs/teams-devices_captive_portal", "default": 180, - "description": "Turn on the captive portal after the specified amount of time." + "description": "Turn on the captive portal after the specified amount of time.", + "type": "number" }, "disable_auto_fallback": { - "$ref": "#/$defs/teams-devices_disable_auto_fallback", "default": false, - "description": "If the `dns_server` field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to `true`." + "description": "If the `dns_server` field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to `true`.", + "type": "boolean" }, "dns_search_suffixes": { "$ref": "#/$defs/teams-devices_dns_search_suffixes", @@ -286,18 +190,18 @@ export const tools: readonly Tool[] = [ "description": "List of DNS search suffixes to apply to clients. Suffixes are evaluated in order. Use an empty array to clear." }, "enable_device_credential_authentication": { - "$ref": "#/$defs/teams-devices_enable_device_credential_authentication", "default": false, - "description": "Determines whether the WARP client can silently reauthenticate the user with device credentials (Microsoft Entra) instead of prompting for browser-based reauthentication." + "description": "Determines whether the WARP client can silently reauthenticate the user with device credentials (Microsoft Entra) instead of prompting for browser-based reauthentication.", + "type": "boolean" }, "exclude": { "$ref": "#/$defs/teams-devices_exclude_request", "description": "List of routes excluded in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request." }, "exclude_office_ips": { - "$ref": "#/$defs/teams-devices_exclude_office_ips", "default": false, - "description": "Whether to add Microsoft IPs to Split Tunnel exclusions." + "description": "Whether to add Microsoft IPs to Split Tunnel exclusions.", + "type": "boolean" }, "global_acceleration": { "$ref": "#/$defs/teams-devices_global_acceleration", @@ -308,45 +212,45 @@ export const tools: readonly Tool[] = [ "description": "List of routes included in the WARP client's tunnel. Both 'exclude' and 'include' cannot be set in the same request." }, "lan_allow_minutes": { - "$ref": "#/$defs/teams-devices_lan_allow_minutes", - "description": "The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset." + "description": "The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.", + "type": "number" }, "lan_allow_subnet_size": { - "$ref": "#/$defs/teams-devices_lan_allow_subnet_size", - "description": "The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset." + "description": "The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.", + "type": "number" }, "register_interface_ip_with_dns": { - "$ref": "#/$defs/teams-devices_register_interface_ip_with_dns", "default": true, - "description": "Determines if the operating system will register WARP's local interface IP with your on-premises DNS server." + "description": "Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.", + "type": "boolean" }, "sccm_vpn_boundary_support": { - "$ref": "#/$defs/teams-devices_sccm_vpn_boundary_support", "default": false, - "description": "Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only)." + "description": "Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only).", + "type": "boolean" }, "service_mode_v2": { "$ref": "#/$defs/teams-devices_service_mode_v2" }, "support_url": { - "$ref": "#/$defs/teams-devices_support_url", "default": "", - "description": "The URL to launch when the Send Feedback button is clicked." + "description": "The URL to launch when the Send Feedback button is clicked.", + "type": "string" }, "switch_locked": { - "$ref": "#/$defs/teams-devices_switch_locked", "default": false, - "description": "Whether to allow the user to turn off the WARP switch and disconnect the client." + "description": "Whether to allow the user to turn off the WARP switch and disconnect the client.", + "type": "boolean" }, "tunnel_protocol": { - "$ref": "#/$defs/teams-devices_tunnel_protocol", "default": "", - "description": "Determines which tunnel protocol to use." + "description": "Determines which tunnel protocol to use.", + "type": "string" }, "uninstall_protection": { - "$ref": "#/$defs/teams-devices_uninstall_protection", "default": false, - "description": "Determines whether uninstalling the WARP client requires an override code. (Windows only)." + "description": "Determines whether uninstalling the WARP client requires an override code. (Windows only).", + "type": "boolean" }, "virtual_networks": { "$ref": "#/$defs/teams-devices_virtual_networks", @@ -356,9 +260,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -371,91 +276,45 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch$, - "teams-devices_allow_updates": teams$$devices_allow_updates$, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave$, - "teams-devices_auto_connect": teams$$devices_auto_connect$, - "teams-devices_captive_portal": teams$$devices_captive_portal$, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback$, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix$, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes$, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication$, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips$, "teams-devices_exclude_request": teams$$devices_exclude_request, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address$, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host$, "teams-devices_global_acceleration": teams$$devices_global_acceleration$, - "teams-devices_identifier": teams$$devices_identifier, "teams-devices_include_request": teams$$devices_include_request, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address$, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description$, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host$, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address$, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host$, - "teams-devices_lan_allow_minutes": teams$$devices_lan_allow_minutes, - "teams-devices_lan_allow_subnet_size": teams$$devices_lan_allow_subnet_size, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns$, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support$, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2$, "teams-devices_split_tunnel": teams$$devices_split_tunnel$, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address$, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description$, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host$, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include$, - "teams-devices_support_url": teams$$devices_support_url$, - "teams-devices_switch_locked": teams$$devices_switch_locked$, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol$, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection$, "teams-devices_virtual_networks": teams$$devices_virtual_networks$, }, }, outputSchema: { "$ref": "#/$defs/teams-devices_default_device_settings_response", $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, - "teams-devices_captive_portal": teams$$devices_captive_portal, "teams-devices_default_device_settings_policy": teams$$devices_default_device_settings_policy, "teams-devices_default_device_settings_response": teams$$devices_default_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, "teams-devices_messages": teams$$devices_messages, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, @@ -483,50 +342,26 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_allow_mode_switch": teams$$devices_allow_mode_switch, - "teams-devices_allow_updates": teams$$devices_allow_updates, - "teams-devices_allowed_to_leave": teams$$devices_allowed_to_leave, "teams-devices_api-response-common": teams$$devices_api$$response$$common, "teams-devices_api-response-common-failure": teams$$devices_api$$response$$common$$failure, "teams-devices_api-response-single": teams$$devices_api$$response$$single, - "teams-devices_auto_connect": teams$$devices_auto_connect, - "teams-devices_captive_portal": teams$$devices_captive_portal, "teams-devices_default_device_settings_policy": teams$$devices_default_device_settings_policy, "teams-devices_default_device_settings_response": teams$$devices_default_device_settings_response, - "teams-devices_disable_auto_fallback": teams$$devices_disable_auto_fallback, "teams-devices_dns_search_suffix": teams$$devices_dns_search_suffix, "teams-devices_dns_search_suffixes": teams$$devices_dns_search_suffixes, - "teams-devices_enable_device_credential_authentication": teams$$devices_enable_device_credential_authentication, "teams-devices_exclude": teams$$devices_exclude, - "teams-devices_exclude_office_ips": teams$$devices_exclude_office_ips, "teams-devices_exclude_split_tunnel_with_address": teams$$devices_exclude_split_tunnel_with_address, "teams-devices_exclude_split_tunnel_with_host": teams$$devices_exclude_split_tunnel_with_host, "teams-devices_fallback_domain": teams$$devices_fallback_domain, "teams-devices_fallback_domains": teams$$devices_fallback_domains, - "teams-devices_gateway_unique_id": teams$$devices_gateway_unique_id, "teams-devices_global_acceleration": teams$$devices_global_acceleration, "teams-devices_include": teams$$devices_include, - "teams-devices_include_split_tunnel_address": teams$$devices_include_split_tunnel_address, - "teams-devices_include_split_tunnel_description": teams$$devices_include_split_tunnel_description, - "teams-devices_include_split_tunnel_host": teams$$devices_include_split_tunnel_host, "teams-devices_include_split_tunnel_with_address": teams$$devices_include_split_tunnel_with_address, "teams-devices_include_split_tunnel_with_host": teams$$devices_include_split_tunnel_with_host, - "teams-devices_ip": teams$$devices_ip, "teams-devices_messages": teams$$devices_messages, - "teams-devices_profile_type": teams$$devices_profile_type, - "teams-devices_register_interface_ip_with_dns": teams$$devices_register_interface_ip_with_dns, - "teams-devices_sccm_vpn_boundary_support": teams$$devices_sccm_vpn_boundary_support, - "teams-devices_schemas-uuid": teams$$devices_schemas$$uuid, "teams-devices_service_mode_v2": teams$$devices_service_mode_v2, "teams-devices_split_tunnel": teams$$devices_split_tunnel, - "teams-devices_split_tunnel_address": teams$$devices_split_tunnel_address, - "teams-devices_split_tunnel_description": teams$$devices_split_tunnel_description, - "teams-devices_split_tunnel_host": teams$$devices_split_tunnel_host, "teams-devices_split_tunnel_include": teams$$devices_split_tunnel_include, - "teams-devices_support_url": teams$$devices_support_url, - "teams-devices_switch_locked": teams$$devices_switch_locked, - "teams-devices_tunnel_protocol": teams$$devices_tunnel_protocol, - "teams-devices_uninstall_protection": teams$$devices_uninstall_protection, "teams-devices_virtual_networks": teams$$devices_virtual_networks, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts index 86c0aaad6..f988c6f1c 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/outputs.ts @@ -3,48 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `teams-devices_allow_mode_switch` in responses. - */ -export const teams$$devices_allow_mode_switch: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `teams-devices_allow_updates` in responses. - */ -export const teams$$devices_allow_updates: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `teams-devices_allowed_to_leave` in responses. - */ -export const teams$$devices_allowed_to_leave: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `teams-devices_auto_connect` in responses. - */ -export const teams$$devices_auto_connect: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `teams-devices_captive_portal` in responses. - */ -export const teams$$devices_captive_portal: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `teams-devices_disable_auto_fallback` in responses. - */ -export const teams$$devices_disable_auto_fallback: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `teams-devices_dns_search_suffix` in responses. */ @@ -73,14 +31,6 @@ export const teams$$devices_dns_search_suffixes: JsonSchema = { "type": "array" }; -/** - * The schema of `teams-devices_enable_device_credential_authentication` in - * responses. - */ -export const teams$$devices_enable_device_credential_authentication: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `teams-devices_exclude` in responses. */ @@ -91,23 +41,16 @@ export const teams$$devices_exclude: JsonSchema = { "type": "array" }; -/** - * The schema of `teams-devices_exclude_office_ips` in responses. - */ -export const teams$$devices_exclude_office_ips: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `teams-devices_exclude_split_tunnel_with_address` in responses. */ export const teams$$devices_exclude_split_tunnel_with_address: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/teams-devices_split_tunnel_address" + "type": "string" }, "description": { - "$ref": "#/$defs/teams-devices_split_tunnel_description" + "type": "string" } }, "required": [ @@ -122,10 +65,10 @@ export const teams$$devices_exclude_split_tunnel_with_address: JsonSchema = { export const teams$$devices_exclude_split_tunnel_with_host: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/teams-devices_split_tunnel_description" + "type": "string" }, "host": { - "$ref": "#/$defs/teams-devices_split_tunnel_host" + "type": "string" } }, "required": [ @@ -144,7 +87,7 @@ export const teams$$devices_fallback_domain: JsonSchema = { }, "dns_server": { "items": { - "$ref": "#/$defs/teams-devices_ip" + "type": "string" }, "type": "array" }, @@ -168,13 +111,6 @@ export const teams$$devices_fallback_domains: JsonSchema = { "type": "array" }; -/** - * The schema of `teams-devices_gateway_unique_id` in responses. - */ -export const teams$$devices_gateway_unique_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_global_acceleration` in responses. */ @@ -237,37 +173,16 @@ export const teams$$devices_include: JsonSchema = { "type": "array" }; -/** - * The schema of `teams-devices_include_split_tunnel_address` in responses. - */ -export const teams$$devices_include_split_tunnel_address: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_include_split_tunnel_description` in responses. - */ -export const teams$$devices_include_split_tunnel_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_include_split_tunnel_host` in responses. - */ -export const teams$$devices_include_split_tunnel_host: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_include_split_tunnel_with_address` in responses. */ export const teams$$devices_include_split_tunnel_with_address: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/teams-devices_include_split_tunnel_address" + "type": "string" }, "description": { - "$ref": "#/$defs/teams-devices_include_split_tunnel_description" + "type": "string" } }, "required": [ @@ -282,10 +197,10 @@ export const teams$$devices_include_split_tunnel_with_address: JsonSchema = { export const teams$$devices_include_split_tunnel_with_host: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/teams-devices_include_split_tunnel_description" + "type": "string" }, "host": { - "$ref": "#/$defs/teams-devices_include_split_tunnel_host" + "type": "string" } }, "required": [ @@ -294,59 +209,6 @@ export const teams$$devices_include_split_tunnel_with_host: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_ip` in responses. - */ -export const teams$$devices_ip: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_lan_allow_minutes` in responses. - */ -export const teams$$devices_lan_allow_minutes: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `teams-devices_lan_allow_subnet_size` in responses. - */ -export const teams$$devices_lan_allow_subnet_size: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `teams-devices_profile_type` in responses. - */ -export const teams$$devices_profile_type: JsonSchema = { - "enum": [ - "warp", - "browser_extension" - ], - "type": "string" -}; - -/** - * The schema of `teams-devices_register_interface_ip_with_dns` in responses. - */ -export const teams$$devices_register_interface_ip_with_dns: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `teams-devices_sccm_vpn_boundary_support` in responses. - */ -export const teams$$devices_sccm_vpn_boundary_support: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `teams-devices_schemas-uuid` in responses. - */ -export const teams$$devices_schemas$$uuid: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_service_mode_v2` in responses. */ @@ -376,27 +238,6 @@ export const teams$$devices_split_tunnel: JsonSchema = { ] }; -/** - * The schema of `teams-devices_split_tunnel_address` in responses. - */ -export const teams$$devices_split_tunnel_address: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_split_tunnel_description` in responses. - */ -export const teams$$devices_split_tunnel_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_split_tunnel_host` in responses. - */ -export const teams$$devices_split_tunnel_host: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_split_tunnel_include` in responses. */ @@ -411,34 +252,6 @@ export const teams$$devices_split_tunnel_include: JsonSchema = { ] }; -/** - * The schema of `teams-devices_support_url` in responses. - */ -export const teams$$devices_support_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_switch_locked` in responses. - */ -export const teams$$devices_switch_locked: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `teams-devices_tunnel_protocol` in responses. - */ -export const teams$$devices_tunnel_protocol: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `teams-devices_uninstall_protection` in responses. - */ -export const teams$$devices_uninstall_protection: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `teams-devices_virtual_networks` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/profiles/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/profiles/schemas.ts index 95a2687ec..085797bbe 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/profiles/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/profiles/schemas.ts @@ -3,54 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `teams-devices_allow_mode_switch`. - */ -export const teams$$devices_allow_mode_switch: JsonSchema = { - "description": "Whether to allow the user to switch WARP between modes.", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_allow_updates`. - */ -export const teams$$devices_allow_updates: JsonSchema = { - "description": "Whether to receive update notifications when a new version of the client is available.", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_allowed_to_leave`. - */ -export const teams$$devices_allowed_to_leave: JsonSchema = { - "description": "Whether to allow devices to leave the organization.", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_auto_connect`. - */ -export const teams$$devices_auto_connect: JsonSchema = { - "description": "The amount of time in seconds to reconnect after having been disabled.", - "type": "number" -}; - -/** - * The schema of `teams-devices_captive_portal`. - */ -export const teams$$devices_captive_portal: JsonSchema = { - "description": "Turn on the captive portal after the specified amount of time.", - "type": "number" -}; - -/** - * The schema of `teams-devices_disable_auto_fallback`. - */ -export const teams$$devices_disable_auto_fallback: JsonSchema = { - "description": "If the `dns_server` field of a fallback domain is not present, the client will fall back to a best guess of the default/system DNS resolvers unless this policy option is set to `true`.", - "type": "boolean" -}; - /** * The schema of `teams-devices_dns_search_suffix`. */ @@ -82,22 +34,6 @@ export const teams$$devices_dns_search_suffixes: JsonSchema = { "type": "array" }; -/** - * The schema of `teams-devices_enable_device_credential_authentication`. - */ -export const teams$$devices_enable_device_credential_authentication: JsonSchema = { - "description": "Determines whether the WARP client can silently reauthenticate the user with device credentials (Microsoft Entra) instead of prompting for browser-based reauthentication.", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_exclude_office_ips`. - */ -export const teams$$devices_exclude_office_ips: JsonSchema = { - "description": "Whether to add Microsoft IPs to Split Tunnel exclusions.", - "type": "boolean" -}; - /** * The schema of `teams-devices_exclude_request`. */ @@ -115,12 +51,12 @@ export const teams$$devices_exclude_request: JsonSchema = { export const teams$$devices_exclude_split_tunnel_with_address: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/teams-devices_split_tunnel_address", - "description": "The address in CIDR format to exclude from the tunnel. If `address` is present, `host` must not be present." + "description": "The address in CIDR format to exclude from the tunnel. If `address` is present, `host` must not be present.", + "type": "string" }, "description": { - "$ref": "#/$defs/teams-devices_split_tunnel_description", - "description": "A description of the Split Tunnel item, displayed in the client UI." + "description": "A description of the Split Tunnel item, displayed in the client UI.", + "type": "string" } }, "required": [ @@ -135,12 +71,12 @@ export const teams$$devices_exclude_split_tunnel_with_address: JsonSchema = { export const teams$$devices_exclude_split_tunnel_with_host: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/teams-devices_split_tunnel_description", - "description": "A description of the Split Tunnel item, displayed in the client UI." + "description": "A description of the Split Tunnel item, displayed in the client UI.", + "type": "string" }, "host": { - "$ref": "#/$defs/teams-devices_split_tunnel_host", - "description": "The domain name to exclude from the tunnel. If `host` is present, `address` must not be present." + "description": "The domain name to exclude from the tunnel. If `host` is present, `address` must not be present.", + "type": "string" } }, "required": [ @@ -221,42 +157,18 @@ export const teams$$devices_include_request: JsonSchema = { "type": "array" }; -/** - * The schema of `teams-devices_include_split_tunnel_address`. - */ -export const teams$$devices_include_split_tunnel_address: JsonSchema = { - "description": "The address in CIDR format to include in the tunnel. If `address` is present, `host` must not be present.", - "type": "string" -}; - -/** - * The schema of `teams-devices_include_split_tunnel_description`. - */ -export const teams$$devices_include_split_tunnel_description: JsonSchema = { - "description": "A description of the Split Tunnel item, displayed in the client UI.", - "type": "string" -}; - -/** - * The schema of `teams-devices_include_split_tunnel_host`. - */ -export const teams$$devices_include_split_tunnel_host: JsonSchema = { - "description": "The domain name to include in the tunnel. If `host` is present, `address` must not be present.", - "type": "string" -}; - /** * The schema of `teams-devices_include_split_tunnel_with_address`. */ export const teams$$devices_include_split_tunnel_with_address: JsonSchema = { "properties": { "address": { - "$ref": "#/$defs/teams-devices_include_split_tunnel_address", - "description": "The address in CIDR format to include in the tunnel. If `address` is present, `host` must not be present." + "description": "The address in CIDR format to include in the tunnel. If `address` is present, `host` must not be present.", + "type": "string" }, "description": { - "$ref": "#/$defs/teams-devices_include_split_tunnel_description", - "description": "A description of the Split Tunnel item, displayed in the client UI." + "description": "A description of the Split Tunnel item, displayed in the client UI.", + "type": "string" } }, "required": [ @@ -271,12 +183,12 @@ export const teams$$devices_include_split_tunnel_with_address: JsonSchema = { export const teams$$devices_include_split_tunnel_with_host: JsonSchema = { "properties": { "description": { - "$ref": "#/$defs/teams-devices_include_split_tunnel_description", - "description": "A description of the Split Tunnel item, displayed in the client UI." + "description": "A description of the Split Tunnel item, displayed in the client UI.", + "type": "string" }, "host": { - "$ref": "#/$defs/teams-devices_include_split_tunnel_host", - "description": "The domain name to include in the tunnel. If `host` is present, `address` must not be present." + "description": "The domain name to include in the tunnel. If `host` is present, `address` must not be present.", + "type": "string" } }, "required": [ @@ -285,57 +197,6 @@ export const teams$$devices_include_split_tunnel_with_host: JsonSchema = { "type": "object" }; -/** - * The schema of `teams-devices_lan_allow_minutes`. - */ -export const teams$$devices_lan_allow_minutes: JsonSchema = { - "description": "The amount of time in minutes a user is allowed access to their LAN. A value of 0 will allow LAN access until the next WARP reconnection, such as a reboot or a laptop waking from sleep. Note that this field is omitted from the response if null or unset.", - "type": "number" -}; - -/** - * The schema of `teams-devices_lan_allow_subnet_size`. - */ -export const teams$$devices_lan_allow_subnet_size: JsonSchema = { - "description": "The size of the subnet for the local access network. Note that this field is omitted from the response if null or unset.", - "type": "number" -}; - -/** - * The schema of `teams-devices_profile_type`. - */ -export const teams$$devices_profile_type: JsonSchema = { - "description": "The client type to which the device settings profile applies. This field is set when the profile is created and cannot be changed.", - "enum": [ - "warp", - "browser_extension" - ], - "type": "string" -}; - -/** - * The schema of `teams-devices_register_interface_ip_with_dns`. - */ -export const teams$$devices_register_interface_ip_with_dns: JsonSchema = { - "description": "Determines if the operating system will register WARP's local interface IP with your on-premises DNS server.", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_sccm_vpn_boundary_support`. - */ -export const teams$$devices_sccm_vpn_boundary_support: JsonSchema = { - "description": "Determines whether the WARP client indicates to SCCM that it is inside a VPN boundary. (Windows only).", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_schemas-uuid`. - */ -export const teams$$devices_schemas$$uuid: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_service_mode_v2`. */ @@ -367,30 +228,6 @@ export const teams$$devices_split_tunnel: JsonSchema = { ] }; -/** - * The schema of `teams-devices_split_tunnel_address`. - */ -export const teams$$devices_split_tunnel_address: JsonSchema = { - "description": "The address in CIDR format to exclude from the tunnel. If `address` is present, `host` must not be present.", - "type": "string" -}; - -/** - * The schema of `teams-devices_split_tunnel_description`. - */ -export const teams$$devices_split_tunnel_description: JsonSchema = { - "description": "A description of the Split Tunnel item, displayed in the client UI.", - "type": "string" -}; - -/** - * The schema of `teams-devices_split_tunnel_host`. - */ -export const teams$$devices_split_tunnel_host: JsonSchema = { - "description": "The domain name to exclude from the tunnel. If `host` is present, `address` must not be present.", - "type": "string" -}; - /** * The schema of `teams-devices_split_tunnel_include`. */ @@ -405,38 +242,6 @@ export const teams$$devices_split_tunnel_include: JsonSchema = { ] }; -/** - * The schema of `teams-devices_support_url`. - */ -export const teams$$devices_support_url: JsonSchema = { - "description": "The URL to launch when the Send Feedback button is clicked.", - "type": "string" -}; - -/** - * The schema of `teams-devices_switch_locked`. - */ -export const teams$$devices_switch_locked: JsonSchema = { - "description": "Whether to allow the user to turn off the WARP switch and disconnect the client.", - "type": "boolean" -}; - -/** - * The schema of `teams-devices_tunnel_protocol`. - */ -export const teams$$devices_tunnel_protocol: JsonSchema = { - "description": "Determines which tunnel protocol to use.", - "type": "string" -}; - -/** - * The schema of `teams-devices_uninstall_protection`. - */ -export const teams$$devices_uninstall_protection: JsonSchema = { - "description": "Determines whether uninstalling the WARP client requires an override code. (Windows only).", - "type": "boolean" -}; - /** * The schema of `teams-devices_virtual_networks`. */ diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts index d7729d40e..dbacdf327 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/outputs.ts @@ -47,7 +47,11 @@ export const teams$$devices_registration: JsonSchema = { "$ref": "#/$defs/teams-devices_policy_summary" }, "registration_type": { - "$ref": "#/$defs/teams-devices_registration_type" + "enum": [ + "warp", + "browser_extension" + ], + "type": "string" }, "revoked_at": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts index 77bf78cb2..5bfa34bd4 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/overrideCodes/tools.ts @@ -15,11 +15,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_registrations_overrideCodes_get", title: "Get override codes", - description: "Fetches one-time use admin override codes for a registration. This relies on the **Admin Override** setting being enabled in your device configuration.", + description: "Fetches one-time use admin override codes for a registration. This relies on the **Admin Override** setting being enabled in your device configuration.\n\nGET /accounts/{account_id}/devices/registrations/{registration_id}/override_codes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -38,6 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { diff --git a/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts index 23c4ba86e..5c7211983 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/registrations/tools.ts @@ -3,17 +3,13 @@ import { type Tool, param, pathParam } from "../../../_/tool.js"; import { - teams$$devices_components$$schemas$$uuid, teams$$devices_cursor_result_info, - teams$$devices_email, teams$$devices_empty_body, teams$$devices_policy_summary, - teams$$devices_registration_type, teams$$devices_user, teams$$devices_v4_error_response, teams$$devices_v4_response_message, } from "../outputs.js"; -import { teams$$devices_registration_type as teams$$devices_registration_type$ } from "../schemas.js"; import { teams$$devices_registration, teams$$devices_registration_device_details, @@ -26,11 +22,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_registrations_bulkDelete", title: "Delete registrations", - description: "Deletes a list of WARP registrations.", + description: "Deletes a list of WARP registrations.\n\nDELETE /accounts/{account_id}/devices/registrations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -42,6 +39,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "id": { "description": "A list of registration IDs to delete.", @@ -61,6 +59,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -168,11 +167,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_registrations_delete", title: "Delete registration", - description: "Deletes a WARP registration.", + description: "Deletes a WARP registration.\n\nDELETE /accounts/{account_id}/devices/registrations/{registration_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -191,6 +191,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -285,11 +286,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_registrations_get", title: "Get registration", - description: "Fetches a single WARP registration.", + description: "Fetches a single WARP registration.\n\nGET /accounts/{account_id}/devices/registrations/{registration_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -305,9 +307,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include": { - "description": "Comma-separated list of additional information that should be included in the registration response. Supported values are: \"policy\".\n", + "description": "Comma-separated list of additional information that should be included in the registration response. Supported values are: \"policy\".", "type": "string" } }, @@ -317,6 +320,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -347,12 +351,9 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, - "teams-devices_email": teams$$devices_email, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration": teams$$devices_registration, "teams-devices_registration_device_details": teams$$devices_registration_device_details, - "teams-devices_registration_type": teams$$devices_registration_type, "teams-devices_user": teams$$devices_user, "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, @@ -402,12 +403,9 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, - "teams-devices_email": teams$$devices_email, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration": teams$$devices_registration, "teams-devices_registration_device_details": teams$$devices_registration_device_details, - "teams-devices_registration_type": teams$$devices_registration_type, "teams-devices_user": teams$$devices_user, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, @@ -423,11 +421,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_registrations_list", title: "List registrations", - description: "Lists WARP registrations.", + description: "Lists WARP registrations.\n\nGET /accounts/{account_id}/devices/registrations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -439,6 +438,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Opaque token indicating the starting position when requesting the next set of records. A cursor value can be obtained from the result_info.cursor field in the response.", @@ -456,7 +456,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "include": { - "description": "Comma-separated list of additional information that should be included in the registration response. Supported values are: \"policy\".\n", + "description": "Comma-separated list of additional information that should be included in the registration response. Supported values are: \"policy\".", "type": "string" }, "per_page": { @@ -469,8 +469,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "registration_type": { - "$ref": "#/$defs/teams-devices_registration_type", - "description": "Filter by registration client type." + "description": "Filter by registration client type.", + "enum": [ + "warp", + "browser_extension" + ], + "type": "string" }, "search": { "description": "Filter by registration details.", @@ -526,9 +530,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_registration_type": teams$$devices_registration_type$, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -565,13 +567,10 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, - "teams-devices_email": teams$$devices_email, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration": teams$$devices_registration, "teams-devices_registration_device_details": teams$$devices_registration_device_details, - "teams-devices_registration_type": teams$$devices_registration_type, "teams-devices_user": teams$$devices_user, "teams-devices_v4_response_message": teams$$devices_v4_response_message, }, @@ -627,13 +626,10 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, - "teams-devices_email": teams$$devices_email, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration": teams$$devices_registration, "teams-devices_registration_device_details": teams$$devices_registration_device_details, - "teams-devices_registration_type": teams$$devices_registration_type, "teams-devices_user": teams$$devices_user, "teams-devices_v4_error_response": teams$$devices_v4_error_response, "teams-devices_v4_response_message": teams$$devices_v4_response_message, diff --git a/src/generated/forge-mcp/zeroTrust/devices/schemas.ts b/src/generated/forge-mcp/zeroTrust/devices/schemas.ts index a4c32e38f..b6c20739f 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/schemas.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `teams-devices_identifier`. - */ -export const teams$$devices_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `teams-devices_physical_device_update_request`. */ @@ -25,23 +18,3 @@ export const teams$$devices_physical_device_update_request: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `teams-devices_registration_type`. - */ -export const teams$$devices_registration_type: JsonSchema = { - "description": "The registration client type, derived from device_type.", - "enum": [ - "warp", - "browser_extension" - ], - "type": "string" -}; - -/** - * The schema of `teams-devices_uuid`. - */ -export const teams$$devices_uuid: JsonSchema = { - "description": "API UUID.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts index 212111e7d..a7a12e8c3 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/settings/tools.ts @@ -8,7 +8,6 @@ import { teams$$devices_api$$response$$single, teams$$devices_messages, } from "../outputs.js"; -import { teams$$devices_identifier } from "../schemas.js"; import { teams$$devices_zero$$trust$$account$$device$$settings, teams$$devices_zero$$trust$$account$$device$$settings$$response, @@ -22,14 +21,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_settings_delete", title: "Reset device settings", - description: "Resets the current device settings for a Zero Trust account.", + description: "Resets the current device settings for a Zero Trust account.\n\nDELETE /accounts/{account_id}/devices/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -41,9 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings-response", @@ -94,14 +92,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_settings_get", title: "Get device settings", - description: "Describes the current device settings for a Zero Trust account.", + description: "Describes the current device settings for a Zero Trust account.\n\nGET /accounts/{account_id}/devices/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -113,9 +112,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_identifier": teams$$devices_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings-response", @@ -161,7 +158,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_settings_update", title: "Update device settings", - description: "Updates the device settings for a Zero Trust account.", + description: "Updates the device settings for a Zero Trust account.\n\nPATCH /accounts/{account_id}/devices/settings", inputSchema: { type: "object", properties: { @@ -169,9 +166,10 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_zero-trust-account-device-settings" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/teams-devices_identifier" + "type": "string" } }, "required": [ @@ -184,8 +182,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "teams-devices_identifier": teams$$devices_identifier, "teams-devices_zero-trust-account-device-settings": teams$$devices_zero$$trust$$account$$device$$settings$, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/devices/tools.ts b/src/generated/forge-mcp/zeroTrust/devices/tools.ts index 63695a2a1..83ef1e163 100644 --- a/src/generated/forge-mcp/zeroTrust/devices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/devices/tools.ts @@ -3,9 +3,7 @@ import { type Tool, param, pathParam } from "../../_/tool.js"; import { - teams$$devices_components$$schemas$$uuid, teams$$devices_cursor_result_info, - teams$$devices_email, teams$$devices_empty_body, teams$$devices_physical_device, teams$$devices_policy_summary, @@ -14,10 +12,7 @@ import { teams$$devices_v4_error_response, teams$$devices_v4_response_message, } from "./outputs.js"; -import { - teams$$devices_physical_device_update_request, - teams$$devices_registration_type, -} from "./schemas.js"; +import { teams$$devices_physical_device_update_request } from "./schemas.js"; /** * The tools of `zeroTrust.devices`. @@ -26,11 +21,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_delete", title: "Delete device", - description: "Deletes a WARP device.", + description: "Deletes a WARP device.\n\nDELETE /accounts/{account_id}/devices/physical-devices/{device_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -49,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -143,11 +140,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_get", title: "Get device", - description: "Fetches a single WARP device.", + description: "Fetches a single WARP device.\n\nGET /accounts/{account_id}/devices/physical-devices/{device_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -163,9 +161,10 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include": { - "description": "Comma-separated list of additional information that should be included in the device response. Supported values are: \"last_seen_registration.policy\".\n", + "description": "Comma-separated list of additional information that should be included in the device response. Supported values are: \"last_seen_registration.policy\".", "type": "string" } }, @@ -175,6 +174,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "properties": { @@ -205,8 +205,6 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, - "teams-devices_email": teams$$devices_email, "teams-devices_physical_device": teams$$devices_physical_device, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration_details": teams$$devices_registration_details, @@ -259,8 +257,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, - "teams-devices_email": teams$$devices_email, "teams-devices_physical_device": teams$$devices_physical_device, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration_details": teams$$devices_registration_details, @@ -279,11 +275,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_list", title: "List devices", - description: "Lists WARP devices.", + description: "Lists WARP devices.\n\nGET /accounts/{account_id}/devices/physical-devices", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -295,6 +292,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "active_registrations": { "description": "Include or exclude devices with active registrations. The default is \"only\" - return only devices with active registrations.", @@ -310,8 +308,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "has_registration_type": { - "$ref": "#/$defs/teams-devices_registration_type", - "description": "Filter by the type of active registration associated with the device." + "description": "Filter by the type of active registration associated with the device.", + "enum": [ + "warp", + "browser_extension" + ], + "type": "string" }, "id": { "description": "Filter by a one or more device IDs.", @@ -321,7 +323,7 @@ export const tools: readonly Tool[] = [ "type": "array" }, "include": { - "description": "Comma-separated list of additional information that should be included in the device response. Supported values are: \"last_seen_registration.policy\".\n", + "description": "Comma-separated list of additional information that should be included in the device response. Supported values are: \"last_seen_registration.policy\".", "type": "string" }, "last_seen_registration.policy.id": { @@ -385,9 +387,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "teams-devices_registration_type": teams$$devices_registration_type, - }, + additionalProperties: false, }, outputSchema: { "properties": { @@ -424,9 +424,7 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, - "teams-devices_email": teams$$devices_email, "teams-devices_physical_device": teams$$devices_physical_device, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration_details": teams$$devices_registration_details, @@ -485,9 +483,7 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, "teams-devices_cursor_result_info": teams$$devices_cursor_result_info, - "teams-devices_email": teams$$devices_email, "teams-devices_physical_device": teams$$devices_physical_device, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration_details": teams$$devices_registration_details, @@ -519,7 +515,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_devices_update", title: "Update device", - description: "Updates properties of a WARP device.\n\nThis method is beta.", + description: "Updates properties of a WARP device.\n\nThis method is beta.\n\nPATCH /accounts/{account_id}/devices/physical-devices/{device_id}", inputSchema: { type: "object", properties: { @@ -527,6 +523,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/teams-devices_physical_device_update_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -546,6 +543,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "teams-devices_physical_device_update_request": teams$$devices_physical_device_update_request, }, @@ -579,8 +577,6 @@ export const tools: readonly Tool[] = [ ], "type": "object", $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, - "teams-devices_email": teams$$devices_email, "teams-devices_physical_device": teams$$devices_physical_device, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration_details": teams$$devices_registration_details, @@ -639,8 +635,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "teams-devices_components-schemas-uuid": teams$$devices_components$$schemas$$uuid, - "teams-devices_email": teams$$devices_email, "teams-devices_physical_device": teams$$devices_physical_device, "teams-devices_policy_summary": teams$$devices_policy_summary, "teams-devices_registration_details": teams$$devices_registration_details, diff --git a/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts index 6bd6793fd..5efdf026d 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/colos/tools.ts @@ -7,7 +7,6 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_messages, } from "../outputs.js"; -import { digital$$experience$$monitoring_account_identifier } from "../schemas.js"; import { digital$$experience$$monitoring_colos_response } from "./outputs.js"; /** @@ -17,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_colos_list", title: "List Cloudflare colos", - description: "List Cloudflare colos that account's devices were connected to during a time period, sorted by usage starting from the most used colo. Colos without traffic are also returned and sorted alphabetically.", + description: "List Cloudflare colos that account's devices were connected to during a time period, sorted by usage starting from the most used colo. Colos without traffic are also returned and sorted alphabetically.\n\nGET /accounts/{account_id}/dex/colos", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -34,6 +34,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "from": { "description": "Start time for connection period in ISO (RFC3339 - ISO 8601) format.", @@ -63,9 +64,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts index 51d324261..566710cb1 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/outputs.ts @@ -28,19 +28,19 @@ export const digital$$experience$$monitoring_commands_devices_response: JsonSche "type": "string" }, "platform": { - "$ref": "#/$defs/digital-experience-monitoring_platform" + "type": "string" }, "registrationId": { "type": "string" }, "status": { - "$ref": "#/$defs/digital-experience-monitoring_status" + "type": "string" }, "timestamp": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp" + "type": "string" }, "version": { - "$ref": "#/$defs/digital-experience-monitoring_version" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts index 8773f8e84..5ef68b9e3 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/eligibleDevices/tools.ts @@ -7,12 +7,7 @@ import { digital$$experience$$monitoring_api$$response$$common, digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_platform, - digital$$experience$$monitoring_status, - digital$$experience$$monitoring_timestamp, - digital$$experience$$monitoring_version, } from "../../outputs.js"; -import { digital$$experience$$monitoring_account_identifier } from "../../schemas.js"; import { digital$$experience$$monitoring_commands_devices_response } from "./outputs.js"; /** @@ -22,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_commands_eligibleDevices_list", title: "List devices eligible for remote captures", - description: "List devices with WARP client support for remote captures which have been connected in the last 1 hour.", + description: "List devices with WARP client support for remote captures which have been connected in the last 1 hour.\n\nGET /accounts/{account_id}/dex/commands/devices", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -39,6 +35,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -65,9 +62,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -88,10 +83,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, "digital-experience-monitoring_commands_devices_response": digital$$experience$$monitoring_commands_devices_response, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, - "digital-experience-monitoring_status": digital$$experience$$monitoring_status, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, - "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, annotations: { @@ -138,10 +129,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, "digital-experience-monitoring_commands_devices_response": digital$$experience$$monitoring_commands_devices_response, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, - "digital-experience-monitoring_status": digital$$experience$$monitoring_status, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, - "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts index 243d0148e..6a24d1832 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/quota/tools.ts @@ -8,7 +8,6 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_messages, } from "../../outputs.js"; -import { digital$$experience$$monitoring_account_identifier } from "../../schemas.js"; import { digital$$experience$$monitoring_get_commands_quota_response } from "./outputs.js"; /** @@ -18,15 +17,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_commands_quota_get", title: "Returns account commands usage, quota, and reset time", - description: "Retrieves the current quota usage and limits for device commands within a specific account, including the time when the quota will reset", + description: "Retrieves the current quota usage and limits for device commands within a specific account, including the time when the quota will reset\n\nGET /accounts/{account_id}/dex/commands/quota", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -38,9 +38,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/results/schemas.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/results/schemas.ts deleted file mode 100644 index 1b5ff7b0e..000000000 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/results/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../../_/tool.js"; - -/** - * The schema of `digital-experience-monitoring_command_id`. - */ -export const digital$$experience$$monitoring_command_id: JsonSchema = { - "description": "Unique identifier for a command", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts index f8fafa7e5..e81bfebe2 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/results/tools.ts @@ -6,8 +6,6 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_messages, } from "../../outputs.js"; -import { digital$$experience$$monitoring_account_identifier } from "../../schemas.js"; -import { digital$$experience$$monitoring_command_id } from "./schemas.js"; /** * The tools of `zeroTrust.dex.commands.results`. @@ -16,19 +14,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_commands_results_get", title: "Download command output file", - description: "Downloads artifacts for an executed command. Bulk downloads are not supported", + description: "Downloads artifacts for an executed command. Bulk downloads are not supported\n\nGET /accounts/{account_id}/dex/commands/{command_id}/downloads/{filename}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "command_id": { - "$ref": "#/$defs/digital-experience-monitoring_command_id", - "description": "Unique identifier for command." + "description": "Unique identifier for command.", + "type": "string" }, "filename": { "description": "The name of the file to be downloaded, including the `.zip` extension.", @@ -46,10 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_command_id": digital$$experience$$monitoring_command_id, - }, + additionalProperties: false, }, annotations: { "destructiveHint": false, diff --git a/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts index fcddad13b..d070778c4 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/commands/tools.ts @@ -8,7 +8,6 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_messages, } from "../outputs.js"; -import { digital$$experience$$monitoring_account_identifier } from "../schemas.js"; import { digital$$experience$$monitoring_get_commands_response, digital$$experience$$monitoring_post_commands_response, @@ -21,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_commands_create", title: "Create account commands", - description: "Initiate commands for up to 10 devices per account.", + description: "Initiate commands for up to 10 devices per account.\n\nPOST /accounts/{account_id}/dex/commands", inputSchema: { type: "object", properties: { @@ -121,10 +120,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -137,9 +137,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -213,15 +211,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_commands_list", title: "List account commands", - description: "Retrieves a paginated list of commands issued to devices under the specified account, optionally filtered by time range, device, or other parameters", + description: "Retrieves a paginated list of commands issued to devices under the specified account, optionally filtered by time range, device, or other parameters\n\nGET /accounts/{account_id}/dex/commands", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -230,6 +229,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "command_type": { "description": "Optionally filter executed commands by command type.", @@ -289,9 +289,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts index c6a87660f..d8bb9b2ca 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/outputs.ts @@ -84,7 +84,7 @@ export const digital$$experience$$monitoring_fleet_status_live_response: JsonSch ] }, "uniqueDevicesTotal": { - "$ref": "#/$defs/digital-experience-monitoring_uniqueDevicesTotal" + "type": "number" } }, "type": "object" @@ -104,7 +104,7 @@ export const digital$$experience$$monitoring_fleet_status_live_response: JsonSch export const digital$$experience$$monitoring_live_stat: JsonSchema = { "properties": { "uniqueDevicesTotal": { - "$ref": "#/$defs/digital-experience-monitoring_uniqueDevicesTotal" + "type": "number" }, "value": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts index 4cd80c060..cc97a4068 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/live/tools.ts @@ -7,9 +7,6 @@ import { digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, } from "../../../outputs.js"; -import { digital$$experience$$monitoring_account_identifier } from "../../../schemas.js"; -import { digital$$experience$$monitoring_since_minutes } from "../../schemas.js"; -import { digital$$experience$$monitoring_uniqueDevicesTotal } from "../outputs.js"; import { digital$$experience$$monitoring_fleet_status_live_response, digital$$experience$$monitoring_live_stat, @@ -22,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_devices_aggregates_live_get", title: "Get live aggregate device details by dimension", - description: "Get details for live (up to 60 minutes) devices using WARP.", + description: "Get details for live (up to 60 minutes) devices using WARP.\n\nGET /accounts/{account_id}/dex/fleet-status/live", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -39,11 +37,12 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "since_minutes": { - "$ref": "#/$defs/digital-experience-monitoring_since_minutes", "default": 10, - "description": "Number of minutes before current time." + "description": "Number of minutes before current time.", + "type": "number" } }, "required": [ @@ -56,10 +55,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_since_minutes": digital$$experience$$monitoring_since_minutes, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_fleet_status_live_response", @@ -68,7 +64,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_fleet_status_live_response": digital$$experience$$monitoring_fleet_status_live_response, "digital-experience-monitoring_live_stat": digital$$experience$$monitoring_live_stat, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uniqueDevicesTotal": digital$$experience$$monitoring_uniqueDevicesTotal, }, }, annotations: { @@ -103,7 +98,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_fleet_status_live_response": digital$$experience$$monitoring_fleet_status_live_response, "digital-experience-monitoring_live_stat": digital$$experience$$monitoring_live_stat, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uniqueDevicesTotal": digital$$experience$$monitoring_uniqueDevicesTotal, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts deleted file mode 100644 index 79c4cb240..000000000 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/outputs.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../../_/tool.js"; - -/** - * The schema of `digital-experience-monitoring_uniqueDevicesTotal` in - * responses. - */ -export const digital$$experience$$monitoring_uniqueDevicesTotal: JsonSchema = { - "type": "number" -}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts index 6b6c4392e..a9dcdfd42 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/outputs.ts @@ -31,7 +31,7 @@ export const digital$$experience$$monitoring_fleet_status_over_time_response: Js "type": "array" }, "uniqueDevicesTotal": { - "$ref": "#/$defs/digital-experience-monitoring_uniqueDevicesTotal" + "type": "number" } }, "type": "object" @@ -52,10 +52,10 @@ export const digital$$experience$$monitoring_fleet_status_over_time_response: Js export const digital$$experience$$monitoring_schemas$$aggregate_stat: JsonSchema = { "properties": { "timestamp": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp" + "type": "string" }, "uniqueDevicesTotal": { - "$ref": "#/$defs/digital-experience-monitoring_uniqueDevicesTotal" + "type": "number" }, "value": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts index e40fe0338..326db82f5 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/aggregates/overTime/tools.ts @@ -6,15 +6,7 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_timestamp, } from "../../../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_colo, - digital$$experience$$monitoring_timestamp as digital$$experience$$monitoring_timestamp$, -} from "../../../schemas.js"; -import { digital$$experience$$monitoring_device_id } from "../../schemas.js"; -import { digital$$experience$$monitoring_uniqueDevicesTotal } from "../outputs.js"; import { digital$$experience$$monitoring_fleet_status_over_time_response, digital$$experience$$monitoring_schemas$$aggregate_stat, @@ -27,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_devices_aggregates_overTime_get", title: "Get over time aggregate details for devices by dimension", - description: "Get aggregate details for devices using WARP, up to 7 days.", + description: "Get aggregate details for devices using WARP, up to 7 days.\n\nGET /accounts/{account_id}/dex/fleet-status/over-time", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -44,22 +37,23 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo", - "description": "Cloudflare colo airport code." + "description": "Cloudflare colo airport code.", + "type": "string" }, "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_device_id", - "description": "Device-specific ID, given as UUID." + "description": "Device-specific ID, given as UUID.", + "type": "string" }, "from": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch.", + "type": "string" }, "to": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch.", + "type": "string" } }, "required": [ @@ -73,12 +67,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, - "digital-experience-monitoring_device_id": digital$$experience$$monitoring_device_id, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_fleet_status_over_time_response", @@ -87,8 +76,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_fleet_status_over_time_response": digital$$experience$$monitoring_fleet_status_over_time_response, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_schemas-aggregate_stat": digital$$experience$$monitoring_schemas$$aggregate_stat, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, - "digital-experience-monitoring_uniqueDevicesTotal": digital$$experience$$monitoring_uniqueDevicesTotal, }, }, annotations: { @@ -123,8 +110,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_fleet_status_over_time_response": digital$$experience$$monitoring_fleet_status_over_time_response, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_schemas-aggregate_stat": digital$$experience$$monitoring_schemas$$aggregate_stat, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, - "digital-experience-monitoring_uniqueDevicesTotal": digital$$experience$$monitoring_uniqueDevicesTotal, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts index 8d00f8471..b27cf9a95 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/outputs.ts @@ -78,7 +78,7 @@ export const digital$$experience$$monitoring_device: JsonSchema = { ] }, "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo" + "type": "string" }, "connectionType": { "oneOf": [ @@ -270,7 +270,7 @@ export const digital$$experience$$monitoring_device: JsonSchema = { ] }, "mode": { - "$ref": "#/$defs/digital-experience-monitoring_mode" + "type": "string" }, "networkRcvdBps": { "oneOf": [ @@ -303,10 +303,10 @@ export const digital$$experience$$monitoring_device: JsonSchema = { ] }, "personEmail": { - "$ref": "#/$defs/digital-experience-monitoring_personEmail" + "type": "string" }, "platform": { - "$ref": "#/$defs/digital-experience-monitoring_platform" + "type": "string" }, "ramAvailableKb": { "oneOf": [ @@ -362,7 +362,7 @@ export const digital$$experience$$monitoring_device: JsonSchema = { ] }, "status": { - "$ref": "#/$defs/digital-experience-monitoring_status" + "type": "string" }, "switchLocked": { "oneOf": [ @@ -375,7 +375,7 @@ export const digital$$experience$$monitoring_device: JsonSchema = { ] }, "timestamp": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp" + "type": "string" }, "tunnelStats": { "oneOf": [ @@ -398,7 +398,7 @@ export const digital$$experience$$monitoring_device: JsonSchema = { ] }, "version": { - "$ref": "#/$defs/digital-experience-monitoring_version" + "type": "string" }, "wifiStrengthDbm": { "oneOf": [ @@ -475,20 +475,6 @@ export const digital$$experience$$monitoring_fleet_status_devices_response: Json ] }; -/** - * The schema of `digital-experience-monitoring_mode` in responses. - */ -export const digital$$experience$$monitoring_mode: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_personEmail` in responses. - */ -export const digital$$experience$$monitoring_personEmail: JsonSchema = { - "type": "string" -}; - /** * The schema of `digital-experience-monitoring_ram_used_pct_by_app` in * responses. diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts index 53f1ab3e7..a7d09631b 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/overTime/tools.ts @@ -7,11 +7,6 @@ import { digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, } from "../../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_colo, - digital$$experience$$monitoring_timestamp, -} from "../../schemas.js"; import { digital$$experience$$monitoring_cpu_pct_by_app, digital$$experience$$monitoring_directional_stat, @@ -19,7 +14,6 @@ import { digital$$experience$$monitoring_rtt_stats, digital$$experience$$monitoring_tunnel_stats, } from "../outputs.js"; -import { digital$$experience$$monitoring_device_id } from "../schemas.js"; import { digital$$experience$$monitoring_device_state_over_time, digital$$experience$$monitoring_device_state_top_networks_summary, @@ -40,19 +34,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_devices_overTime_get", title: "Get the status over time for a device", - description: "Get time-bucketed status metrics for a specific device.", + description: "Get time-bucketed status metrics for a specific device.\n\nGET /accounts/{account_id}/dex/devices/{device_id}/fleet-status/over-time", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_device_id", - "description": "Device-specific ID, given as UUID." + "description": "Device-specific ID, given as UUID.", + "type": "string" } }, "required": [ @@ -62,14 +57,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo", - "description": "List of data centers to filter results." + "description": "List of data centers to filter results.", + "type": "string" }, "from": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch.", + "type": "string" }, "interval": { "description": "Time interval for aggregate time slots.", @@ -80,8 +76,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "to": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch.", + "type": "string" } }, "required": [ @@ -96,12 +92,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, - "digital-experience-monitoring_device_id": digital$$experience$$monitoring_device_id, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/schemas.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/schemas.ts deleted file mode 100644 index 7585983e0..000000000 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/schemas.ts +++ /dev/null @@ -1,82 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `digital-experience-monitoring_device_id`. - */ -export const digital$$experience$$monitoring_device_id: JsonSchema = { - "description": "Unique identifier for the physical device (UUID).", - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_mode`. - */ -export const digital$$experience$$monitoring_mode: JsonSchema = { - "description": "The mode under which the WARP client is run.", - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_page`. - */ -export const digital$$experience$$monitoring_page: JsonSchema = { - "description": "Page number of paginated results.", - "type": "number" -}; - -/** - * The schema of `digital-experience-monitoring_per_page`. - */ -export const digital$$experience$$monitoring_per_page: JsonSchema = { - "description": "Number of results per page.", - "type": "number" -}; - -/** - * The schema of `digital-experience-monitoring_since_minutes`. - */ -export const digital$$experience$$monitoring_since_minutes: JsonSchema = { - "description": "Number of minutes before current time.", - "type": "number" -}; - -/** - * The schema of `digital-experience-monitoring_sort_by`. - */ -export const digital$$experience$$monitoring_sort_by: JsonSchema = { - "description": "Dimension to sort results by.", - "enum": [ - "colo", - "device_id", - "mode", - "platform", - "status", - "timestamp", - "version" - ], - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_source`. - */ -export const digital$$experience$$monitoring_source: JsonSchema = { - "description": "Specifies fleet status details source.", - "enum": [ - "last_seen", - "hourly", - "raw" - ], - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_time_now`. - */ -export const digital$$experience$$monitoring_time_now: JsonSchema = { - "description": "Current time. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts index 1b87a94ed..0f7fdf4cd 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/devices/tools.ts @@ -6,43 +6,18 @@ import { digital$$experience$$monitoring_api$$response$$collection, digital$$experience$$monitoring_api$$response$$common, digital$$experience$$monitoring_api$$response$$common$$failure, - digital$$experience$$monitoring_colo, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_platform, - digital$$experience$$monitoring_status, - digital$$experience$$monitoring_timestamp, - digital$$experience$$monitoring_version, } from "../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_colo as digital$$experience$$monitoring_colo$, - digital$$experience$$monitoring_platform as digital$$experience$$monitoring_platform$, - digital$$experience$$monitoring_status as digital$$experience$$monitoring_status$, - digital$$experience$$monitoring_timestamp as digital$$experience$$monitoring_timestamp$, - digital$$experience$$monitoring_version as digital$$experience$$monitoring_version$, -} from "../schemas.js"; import { digital$$experience$$monitoring_cpu_pct_by_app, digital$$experience$$monitoring_device, digital$$experience$$monitoring_directional_stat, digital$$experience$$monitoring_fleet_status_devices_response, - digital$$experience$$monitoring_mode, - digital$$experience$$monitoring_personEmail, digital$$experience$$monitoring_ram_used_pct_by_app, digital$$experience$$monitoring_rtt_stats, digital$$experience$$monitoring_schemas$$ip_info, digital$$experience$$monitoring_tunnel_stats, } from "./outputs.js"; -import { - digital$$experience$$monitoring_device_id, - digital$$experience$$monitoring_mode as digital$$experience$$monitoring_mode$, - digital$$experience$$monitoring_page, - digital$$experience$$monitoring_per_page, - digital$$experience$$monitoring_since_minutes, - digital$$experience$$monitoring_sort_by, - digital$$experience$$monitoring_source, - digital$$experience$$monitoring_time_now, -} from "./schemas.js"; /** * The tools of `zeroTrust.dex.devices`. @@ -51,19 +26,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_devices_get", title: "Get the latest status of a device.", - description: "Get the latest status of a device given device_id from the device_state table.", + description: "Get the latest status of a device given device_id from the device_state table.\n\nGET /accounts/{account_id}/dex/devices/{device_id}/fleet-status/live", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_device_id", - "description": "Device-specific ID, given as UUID." + "description": "Device-specific ID, given as UUID.", + "type": "string" } }, "required": [ @@ -73,20 +49,21 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo", - "description": "List of data centers to filter results." + "description": "List of data centers to filter results.", + "type": "string" }, "since_minutes": { - "$ref": "#/$defs/digital-experience-monitoring_since_minutes", "default": 10, - "description": "Number of minutes before current time." + "description": "Number of minutes before current time.", + "type": "number" }, "time_now": { - "$ref": "#/$defs/digital-experience-monitoring_time_now", "deprecated": true, - "description": "Current time in ISO format." + "description": "Current time in ISO format.", + "type": "string" } }, "required": [ @@ -99,31 +76,18 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo$, - "digital-experience-monitoring_device_id": digital$$experience$$monitoring_device_id, - "digital-experience-monitoring_since_minutes": digital$$experience$$monitoring_since_minutes, - "digital-experience-monitoring_time_now": digital$$experience$$monitoring_time_now, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_device", $defs: { - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, "digital-experience-monitoring_device": digital$$experience$$monitoring_device, "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, - "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode, - "digital-experience-monitoring_personEmail": digital$$experience$$monitoring_personEmail, - "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, "digital-experience-monitoring_schemas-ip_info": digital$$experience$$monitoring_schemas$$ip_info, - "digital-experience-monitoring_status": digital$$experience$$monitoring_status, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, - "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, annotations: { @@ -154,21 +118,14 @@ export const tools: readonly Tool[] = [ }, $defs: { "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, "digital-experience-monitoring_device": digital$$experience$$monitoring_device, "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode, - "digital-experience-monitoring_personEmail": digital$$experience$$monitoring_personEmail, - "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, "digital-experience-monitoring_schemas-ip_info": digital$$experience$$monitoring_schemas$$ip_info, - "digital-experience-monitoring_status": digital$$experience$$monitoring_status, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, - "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, request: (args) => ({ @@ -183,15 +140,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_devices_list", title: "List details of devices using WARP.", - description: "List details of devices using WARP.", + description: "List details of devices using WARP.\n\nGET /accounts/{account_id}/dex/fleet-status/devices", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -200,57 +158,72 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo", - "description": "Cloudflare colo airport code." + "description": "Cloudflare colo airport code.", + "type": "string" }, "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_device_id", - "description": "Device-specific ID, given as UUID." + "description": "Device-specific ID, given as UUID.", + "type": "string" }, "from": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + "description": "Start of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch.", + "type": "string" }, "mode": { - "$ref": "#/$defs/digital-experience-monitoring_mode", - "description": "The mode under which the WARP client is run." + "description": "The mode under which the WARP client is run.", + "type": "string" }, "page": { - "$ref": "#/$defs/digital-experience-monitoring_page", "default": 1, - "description": "Page number of paginated results." + "description": "Page number of paginated results.", + "type": "number" }, "per_page": { - "$ref": "#/$defs/digital-experience-monitoring_per_page", - "description": "Number of results per page." + "description": "Number of results per page.", + "type": "number" }, "platform": { - "$ref": "#/$defs/digital-experience-monitoring_platform", - "description": "Operating system." + "description": "Operating system.", + "type": "string" }, "sort_by": { - "$ref": "#/$defs/digital-experience-monitoring_sort_by", "default": "timestamp", - "description": "Dimension to sort results by." + "description": "Dimension to sort results by.", + "enum": [ + "colo", + "device_id", + "mode", + "platform", + "status", + "timestamp", + "version" + ], + "type": "string" }, "source": { - "$ref": "#/$defs/digital-experience-monitoring_source", "default": "last_seen", - "description": "Source:\n * `hourly` - device details aggregated hourly, up to 7 days prior\n * `last_seen` - device details, up to 60 minutes prior. Time windows exceeding 60 minutes will be rejected from June 1st, 2026. Please use 'hourly' or 'raw' instead for longer time ranges.\n * `raw` - device details, up to 7 days prior\n" + "description": "Source:\n * `hourly` - device details aggregated hourly, up to 7 days prior\n * `last_seen` - device details, up to 60 minutes prior. Time windows exceeding 60 minutes will be rejected from June 1st, 2026. Please use 'hourly' or 'raw' instead for longer time ranges.\n * `raw` - device details, up to 7 days prior", + "enum": [ + "last_seen", + "hourly", + "raw" + ], + "type": "string" }, "status": { - "$ref": "#/$defs/digital-experience-monitoring_status", - "description": "Network status." + "description": "Network status.", + "type": "string" }, "to": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp", - "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch." + "description": "End of the time range to query. Timestamp can be provided in ISO 8601 datetime format or milliseconds since epoch.", + "type": "string" }, "version": { - "$ref": "#/$defs/digital-experience-monitoring_version", - "description": "WARP client version." + "description": "WARP client version.", + "type": "string" } }, "required": [ @@ -266,42 +239,22 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo$, - "digital-experience-monitoring_device_id": digital$$experience$$monitoring_device_id, - "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode$, - "digital-experience-monitoring_page": digital$$experience$$monitoring_page, - "digital-experience-monitoring_per_page": digital$$experience$$monitoring_per_page, - "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform$, - "digital-experience-monitoring_sort_by": digital$$experience$$monitoring_sort_by, - "digital-experience-monitoring_source": digital$$experience$$monitoring_source, - "digital-experience-monitoring_status": digital$$experience$$monitoring_status$, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp$, - "digital-experience-monitoring_version": digital$$experience$$monitoring_version$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_fleet_status_devices_response", $defs: { "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, "digital-experience-monitoring_device": digital$$experience$$monitoring_device, "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, "digital-experience-monitoring_fleet_status_devices_response": digital$$experience$$monitoring_fleet_status_devices_response, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode, - "digital-experience-monitoring_personEmail": digital$$experience$$monitoring_personEmail, - "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, "digital-experience-monitoring_schemas-ip_info": digital$$experience$$monitoring_schemas$$ip_info, - "digital-experience-monitoring_status": digital$$experience$$monitoring_status, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, - "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, annotations: { @@ -334,22 +287,15 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, "digital-experience-monitoring_cpu_pct_by_app": digital$$experience$$monitoring_cpu_pct_by_app, "digital-experience-monitoring_device": digital$$experience$$monitoring_device, "digital-experience-monitoring_directional_stat": digital$$experience$$monitoring_directional_stat, "digital-experience-monitoring_fleet_status_devices_response": digital$$experience$$monitoring_fleet_status_devices_response, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_mode": digital$$experience$$monitoring_mode, - "digital-experience-monitoring_personEmail": digital$$experience$$monitoring_personEmail, - "digital-experience-monitoring_platform": digital$$experience$$monitoring_platform, "digital-experience-monitoring_ram_used_pct_by_app": digital$$experience$$monitoring_ram_used_pct_by_app, "digital-experience-monitoring_rtt_stats": digital$$experience$$monitoring_rtt_stats, "digital-experience-monitoring_schemas-ip_info": digital$$experience$$monitoring_schemas$$ip_info, - "digital-experience-monitoring_status": digital$$experience$$monitoring_status, - "digital-experience-monitoring_timestamp": digital$$experience$$monitoring_timestamp, "digital-experience-monitoring_tunnel_stats": digital$$experience$$monitoring_tunnel_stats, - "digital-experience-monitoring_version": digital$$experience$$monitoring_version, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts index f1141ea39..d86332a51 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/isps/tools.ts @@ -8,10 +8,6 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_messages, } from "../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_uuid, -} from "../schemas.js"; import { digital$$experience$$monitoring_device_isp, digital$$experience$$monitoring_device_isps_response, @@ -26,19 +22,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_isps_list", title: "List device ISPs", - description: "List ISP information observed for a specific device during traceroute tests.", + description: "List ISP information observed for a specific device during traceroute tests.\n\nGET /accounts/{account_id}/dex/devices/{device_id}/isps", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Device-specific ID, given as UUID." + "description": "Device-specific ID, given as UUID.", + "type": "string" } }, "required": [ @@ -48,6 +45,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cursor": { "description": "Cursor for cursor-based pagination. Mutually exclusive with page.", @@ -100,10 +98,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/outputs.ts index 37c66ceae..3569a1375 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/outputs.ts @@ -125,13 +125,6 @@ export const digital$$experience$$monitoring_api$$response$$single: JsonSchema = "type": "object" }; -/** - * The schema of `digital-experience-monitoring_colo` in responses. - */ -export const digital$$experience$$monitoring_colo: JsonSchema = { - "type": "string" -}; - /** * The schema of `digital-experience-monitoring_device-dex-test-schemas-data` in * responses. @@ -194,38 +187,3 @@ export const digital$$experience$$monitoring_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `digital-experience-monitoring_platform` in responses. - */ -export const digital$$experience$$monitoring_platform: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_status` in responses. - */ -export const digital$$experience$$monitoring_status: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_timestamp` in responses. - */ -export const digital$$experience$$monitoring_timestamp: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_uuid` in responses. - */ -export const digital$$experience$$monitoring_uuid: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_version` in responses. - */ -export const digital$$experience$$monitoring_version: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts index 0b85fb75a..a1a534879 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/outputs.ts @@ -171,7 +171,7 @@ export const digital$$experience$$monitoring_tests_response: JsonSchema = { "type": "array" }, "id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "interval": { "type": "string" @@ -198,7 +198,7 @@ export const digital$$experience$$monitoring_tests_response: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "name": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts index 9c0b9a0fa..c9a934e39 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/tools.ts @@ -6,9 +6,7 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_uuid, } from "../../outputs.js"; -import { digital$$experience$$monitoring_account_identifier } from "../../schemas.js"; import { digital$$experience$$monitoring_aggregate_stat, digital$$experience$$monitoring_aggregate_time_period, @@ -24,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_overview_tests_list", title: "List DEX test analytics", - description: "List DEX tests with overview metrics.", + description: "List DEX tests with overview metrics.\n\nGET /accounts/{account_id}/dex/tests/overview", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -41,6 +40,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "colo": { "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", @@ -86,9 +86,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -112,7 +110,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_tests_response": digital$$experience$$monitoring_tests_response, "digital-experience-monitoring_timing_aggregates": digital$$experience$$monitoring_timing_aggregates, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -162,7 +159,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_tests_response": digital$$experience$$monitoring_tests_response, "digital-experience-monitoring_timing_aggregates": digital$$experience$$monitoring_timing_aggregates, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts index a50bc0f5d..e4fdd8a5a 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/overview/tests/uniqueDevices/tools.ts @@ -7,7 +7,6 @@ import { digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, } from "../../../outputs.js"; -import { digital$$experience$$monitoring_account_identifier } from "../../../schemas.js"; import { digital$$experience$$monitoring_unique_devices_response } from "./outputs.js"; /** @@ -17,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_overview_tests_uniqueDevices_get", title: "Get count of devices targeted", - description: "Returns unique count of devices that have run synthetic application monitoring tests in the past 7 days.", + description: "Returns unique count of devices that have run synthetic application monitoring tests in the past 7 days.\n\nGET /accounts/{account_id}/dex/tests/unique-devices", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -34,6 +34,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "deviceId": { "description": "Optionally filter result stats to a specific device(s). Cannot be used in combination with colo param.", @@ -53,9 +54,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts index 5964deafd..cfb469c16 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/rules/outputs.ts @@ -15,7 +15,7 @@ export const digital$$experience$$monitoring_dex$$rule: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "match": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts index b98cb46b8..4bf479a4e 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/rules/tools.ts @@ -9,12 +9,7 @@ import { digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_uuid, } from "../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, -} from "../schemas.js"; import { digital$$experience$$monitoring_dex$$rule, digital$$experience$$monitoring_dex$$targeted$$test, @@ -32,7 +27,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_rules_create", title: "Create a DEX Rule", - description: "Create a DEX Rule.", + description: "Create a DEX Rule.\n\nPOST /accounts/{account_id}/dex/rules", inputSchema: { type: "object", properties: { @@ -40,10 +35,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/digital-experience-monitoring_create_rule_body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -56,8 +52,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, "digital-experience-monitoring_create_rule_body": digital$$experience$$monitoring_create_rule_body, }, }, @@ -81,7 +77,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -126,7 +121,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -137,19 +131,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_rules_delete", title: "Delete a DEX Rule", - description: "Delete a DEX Rule.", + description: "Delete a DEX Rule.\n\nDELETE /accounts/{account_id}/dex/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier of the rule." + "description": "Unique identifier of the rule.", + "type": "string" } }, "required": [ @@ -162,10 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -248,19 +240,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_rules_get", title: "Get DEX Rule", - description: "Get details for a DEX Rule.", + description: "Get details for a DEX Rule.\n\nGET /accounts/{account_id}/dex/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier of the rule." + "description": "Unique identifier of the rule.", + "type": "string" } }, "required": [ @@ -273,10 +266,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -298,7 +288,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -346,7 +335,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -356,15 +344,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_rules_list", title: "List DEX Rules", - description: "List DEX Rules.", + description: "List DEX Rules.\n\nGET /accounts/{account_id}/dex/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -373,6 +362,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "name": { "description": "Filter results by rule name.", @@ -418,9 +408,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -444,7 +432,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, "digital-experience-monitoring_list_rules_response": digital$$experience$$monitoring_list_rules_response, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -494,7 +481,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, "digital-experience-monitoring_list_rules_response": digital$$experience$$monitoring_list_rules_response, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -511,7 +497,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_rules_update", title: "Update a DEX Rule", - description: "Update a DEX Rule.", + description: "Update a DEX Rule.\n\nPATCH /accounts/{account_id}/dex/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -519,14 +505,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/digital-experience-monitoring_patch_rule_body" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier of the rule." + "description": "Unique identifier of the rule.", + "type": "string" } }, "required": [ @@ -540,10 +527,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, "digital-experience-monitoring_patch_rule_body": digital$$experience$$monitoring_patch_rule_body, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -566,7 +552,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -611,7 +596,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_dex-rule": digital$$experience$$monitoring_dex$$rule, "digital-experience-monitoring_dex-targeted-test": digital$$experience$$monitoring_dex$$targeted$$test, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/schemas.ts b/src/generated/forge-mcp/zeroTrust/dex/schemas.ts index a9c3bd405..e4237b737 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/schemas.ts @@ -3,22 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `digital-experience-monitoring_account_identifier`. - */ -export const digital$$experience$$monitoring_account_identifier: JsonSchema = { - "description": "Unique identifier linked to an account.", - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_colo`. - */ -export const digital$$experience$$monitoring_colo: JsonSchema = { - "description": "Cloudflare colo airport code.", - "type": "string" -}; - /** * The schema of `digital-experience-monitoring_device-dex-test-schemas-data`. */ @@ -51,42 +35,3 @@ export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$data: J ], "type": "object" }; - -/** - * The schema of `digital-experience-monitoring_platform`. - */ -export const digital$$experience$$monitoring_platform: JsonSchema = { - "description": "Operating system.", - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_status`. - */ -export const digital$$experience$$monitoring_status: JsonSchema = { - "description": "Network status.", - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_timestamp`. - */ -export const digital$$experience$$monitoring_timestamp: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_uuid`. - */ -export const digital$$experience$$monitoring_uuid: JsonSchema = { - "description": "API Resource UUID tag.", - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_version`. - */ -export const digital$$experience$$monitoring_version: JsonSchema = { - "description": "WARP client version.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts index 3b59ce34f..dab257b69 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/outputs.ts @@ -166,7 +166,7 @@ export const digital$$experience$$monitoring_http_details_response: JsonSchema = "type": "boolean" }, "id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "name": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts index af9887b28..be8bf529e 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/percentiles/tools.ts @@ -7,10 +7,6 @@ import { digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, } from "../../../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_uuid, -} from "../../../schemas.js"; import { digital$$experience$$monitoring_percentiles } from "../../outputs.js"; import { digital$$experience$$monitoring_http_details_percentiles_response } from "./outputs.js"; @@ -21,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_testResults_http_percentiles_get", title: "Get percentiles for an http test", - description: "Get percentiles for an http test for a given time period between 1 hour and 7 days.", + description: "Get percentiles for an http test for a given time period between 1 hour and 7 days.\n\nGET /accounts/{account_id}/dex/http-tests/{test_id}/percentiles", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "description": "Unique identifier for a specific test.", + "type": "string" } }, "required": [ @@ -43,6 +40,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "colo": { "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", @@ -75,10 +73,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts index d87df7d04..bd1ea47be 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/http/tools.ts @@ -6,12 +6,7 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_uuid, } from "../../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, -} from "../../schemas.js"; import { digital$$experience$$monitoring_test_stat_over_time, digital$$experience$$monitoring_test_stat_pct_over_time, @@ -25,19 +20,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_testResults_http_get", title: "Get details and aggregate metrics for an http test", - description: "Get test details and aggregate performance metrics for an http test for a given time period between 1 hour and 7 days.", + description: "Get test details and aggregate performance metrics for an http test for a given time period between 1 hour and 7 days.\n\nGET /accounts/{account_id}/dex/http-tests/{test_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "description": "Unique identifier for a specific test.", + "type": "string" } }, "required": [ @@ -47,6 +43,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "colo": { "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", @@ -88,10 +85,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -113,7 +107,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_test_stat_over_time": digital$$experience$$monitoring_test_stat_over_time, "digital-experience-monitoring_test_stat_pct_over_time": digital$$experience$$monitoring_test_stat_pct_over_time, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -161,7 +154,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_test_stat_over_time": digital$$experience$$monitoring_test_stat_over_time, "digital-experience-monitoring_test_stat_pct_over_time": digital$$experience$$monitoring_test_stat_pct_over_time, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts index bc4710baf..b1beb901e 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/outputs.ts @@ -3,18 +3,6 @@ import type { JsonSchema } from "../../../../../_/tool.js"; -/** - * The schema of `digital-experience-monitoring_execution_context` in responses. - */ -export const digital$$experience$$monitoring_execution_context: JsonSchema = { - "enum": [ - "EXECUTION_CONTEXT_INVALID", - "OUT_OF_TUNNEL", - "IN_TUNNEL" - ], - "type": "string" -}; - /** * The schema of * `digital-experience-monitoring_traceroute_test_result_network_path_response` @@ -23,13 +11,18 @@ export const digital$$experience$$monitoring_execution_context: JsonSchema = { export const digital$$experience$$monitoring_traceroute_test_result_network_path_response: JsonSchema = { "properties": { "colo": { - "$ref": "#/$defs/digital-experience-monitoring_colo" + "type": "string" }, "deviceName": { "type": "string" }, "execution_context": { - "$ref": "#/$defs/digital-experience-monitoring_execution_context" + "enum": [ + "EXECUTION_CONTEXT_INVALID", + "OUT_OF_TUNNEL", + "IN_TUNNEL" + ], + "type": "string" }, "hops": { "items": { @@ -164,10 +157,10 @@ export const digital$$experience$$monitoring_traceroute_test_result_network_path "type": "array" }, "resultId": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "testId": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "testName": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts index 9c5ca8c66..b007802ec 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/networkPath/tools.ts @@ -5,18 +5,9 @@ import { type Tool, pathParam } from "../../../../../_/tool.js"; import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_api$$response$$single, - digital$$experience$$monitoring_colo, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_uuid, } from "../../../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, -} from "../../../schemas.js"; -import { - digital$$experience$$monitoring_execution_context, - digital$$experience$$monitoring_traceroute_test_result_network_path_response, -} from "./outputs.js"; +import { digital$$experience$$monitoring_traceroute_test_result_network_path_response } from "./outputs.js"; /** * The tools of `zeroTrust.dex.testResults.traceroute.networkPath`. @@ -25,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_testResults_traceroute_networkPath_get", title: "Get details for a specific traceroute test run", - description: "Get a breakdown of hops and performance metrics for a specific traceroute test run", + description: "Get a breakdown of hops and performance metrics for a specific traceroute test run\n\nGET /accounts/{account_id}/dex/traceroute-test-results/{test_result_id}/network-path", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "test_result_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific traceroute test." + "description": "Unique identifier for a specific traceroute test.", + "type": "string" } }, "required": [ @@ -50,10 +42,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -71,11 +60,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, - "digital-experience-monitoring_execution_context": digital$$experience$$monitoring_execution_context, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_traceroute_test_result_network_path_response": digital$$experience$$monitoring_traceroute_test_result_network_path_response, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -119,11 +105,8 @@ export const tools: readonly Tool[] = [ $defs: { "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, - "digital-experience-monitoring_colo": digital$$experience$$monitoring_colo, - "digital-experience-monitoring_execution_context": digital$$experience$$monitoring_execution_context, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_traceroute_test_result_network_path_response": digital$$experience$$monitoring_traceroute_test_result_network_path_response, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts index 7641b4c58..8519e72d0 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/outputs.ts @@ -33,7 +33,7 @@ export const digital$$experience$$monitoring_traceroute_details_response: JsonSc "type": "boolean" }, "id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "name": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts index 1943ef51e..c0e8ac481 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/percentiles/tools.ts @@ -7,10 +7,6 @@ import { digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, } from "../../../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_uuid, -} from "../../../schemas.js"; import { digital$$experience$$monitoring_percentiles } from "../../outputs.js"; import { digital$$experience$$monitoring_traceroute_details_percentiles_response } from "./outputs.js"; @@ -21,19 +17,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_testResults_traceroute_percentiles_get", title: "Get percentiles for a traceroute test", - description: "Get percentiles for a traceroute test for a given time period between 1 hour and 7 days.", + description: "Get percentiles for a traceroute test for a given time period between 1 hour and 7 days.\n\nGET /accounts/{account_id}/dex/traceroute-tests/{test_id}/percentiles", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "description": "Unique identifier for a specific test.", + "type": "string" } }, "required": [ @@ -43,6 +40,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "colo": { "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", @@ -75,10 +73,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts index 4092bd660..c0a596174 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/testResults/traceroute/tools.ts @@ -6,12 +6,7 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_uuid, } from "../../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, -} from "../../schemas.js"; import { digital$$experience$$monitoring_test_stat_over_time, digital$$experience$$monitoring_test_stat_pct_over_time, @@ -25,19 +20,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_testResults_traceroute_get", title: "Get details and aggregate metrics for a traceroute test", - description: "Get test details and aggregate performance metrics for a traceroute test for a given time period between 1 hour and 7 days.", + description: "Get test details and aggregate performance metrics for a traceroute test for a given time period between 1 hour and 7 days.\n\nGET /accounts/{account_id}/dex/traceroute-tests/{test_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "description": "Unique identifier for a specific test.", + "type": "string" } }, "required": [ @@ -47,6 +43,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "colo": { "description": "Optionally filter result stats to a Cloudflare colo. Cannot be used in combination with deviceId param.", @@ -88,10 +85,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -113,7 +107,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_test_stat_over_time": digital$$experience$$monitoring_test_stat_over_time, "digital-experience-monitoring_test_stat_pct_over_time": digital$$experience$$monitoring_test_stat_pct_over_time, "digital-experience-monitoring_traceroute_details_response": digital$$experience$$monitoring_traceroute_details_response, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -161,7 +154,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_test_stat_over_time": digital$$experience$$monitoring_test_stat_over_time, "digital-experience-monitoring_test_stat_pct_over_time": digital$$experience$$monitoring_test_stat_pct_over_time, "digital-experience-monitoring_traceroute_details_response": digital$$experience$$monitoring_traceroute_details_response, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts index 9a4db6813..7a9f19d32 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/outputs.ts @@ -14,7 +14,7 @@ export const digital$$experience$$monitoring_traceroute_test_network_path_respon "type": "string" }, "id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "interval": { "type": "string" @@ -101,7 +101,7 @@ export const digital$$experience$$monitoring_traceroute_test_network_path_respon ] }, "id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "timestamp": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts index 1c3c7c6fd..0fe253246 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/networkPath/tools.ts @@ -6,12 +6,7 @@ import { digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_uuid, } from "../../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, -} from "../../schemas.js"; import { digital$$experience$$monitoring_traceroute_test_network_path_response } from "./outputs.js"; /** @@ -21,19 +16,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_tests_networkPath_get", title: "Get network path breakdown for a traceroute test", - description: "Get a breakdown of metrics by hop for individual traceroute test runs.", + description: "Get a breakdown of metrics by hop for individual traceroute test runs.\n\nGET /accounts/{account_id}/dex/traceroute-tests/{test_id}/network-path", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a specific test." + "description": "Unique identifier for a specific test.", + "type": "string" } }, "required": [ @@ -43,6 +39,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "deviceId": { "description": "Device to filter traceroute result runs to.", @@ -78,10 +75,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -101,7 +95,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_traceroute_test_network_path_response": digital$$experience$$monitoring_traceroute_test_network_path_response, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -147,7 +140,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, "digital-experience-monitoring_traceroute_test_network_path_response": digital$$experience$$monitoring_traceroute_test_network_path_response, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts index cf013bc34..0b14dfd1d 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/outputs.ts @@ -33,23 +33,6 @@ export const digital$$experience$$monitoring_api$$response$$collection$$common: ] }; -/** - * The schema of - * `digital-experience-monitoring_device-dex-test-schemas-description` in - * responses. - */ -export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_device-dex-test-schemas-enabled` - * in responses. - */ -export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `digital-experience-monitoring_device-dex-test-schemas-http` in * responses. @@ -64,16 +47,16 @@ export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$http: J "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-data" }, "description": { - "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-description" + "type": "string" }, "enabled": { - "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-enabled" + "type": "boolean" }, "interval": { - "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-interval" + "type": "string" }, "name": { - "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-name" + "type": "string" }, "target_policies": { "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-target-policies" @@ -82,7 +65,7 @@ export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$http: J "type": "boolean" }, "test_id": { - "$ref": "#/$defs/digital-experience-monitoring_schemas-test-id" + "type": "string" }, "updated": { "format": "date-time", @@ -98,23 +81,6 @@ export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$http: J "type": "object" }; -/** - * The schema of - * `digital-experience-monitoring_device-dex-test-schemas-interval` in - * responses. - */ -export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_device-dex-test-schemas-name` in - * responses. - */ -export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `digital-experience-monitoring_device-dex-test-target-policies` * in responses. @@ -206,7 +172,7 @@ export const digital$$experience$$monitoring_dex_target_policy: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "name": { "type": "string" @@ -217,10 +183,3 @@ export const digital$$experience$$monitoring_dex_target_policy: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `digital-experience-monitoring_schemas-test-id` in responses. - */ -export const digital$$experience$$monitoring_schemas$$test$$id: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/schemas.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/schemas.ts index ca8d326df..12b996c0a 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/schemas.ts @@ -3,24 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of - * `digital-experience-monitoring_device-dex-test-schemas-description`. - */ -export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$description: JsonSchema = { - "description": "Additional details about the test.", - "type": "string" -}; - -/** - * The schema of - * `digital-experience-monitoring_device-dex-test-schemas-enabled`. - */ -export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled: JsonSchema = { - "description": "Determines whether or not the test is active.", - "type": "boolean" -}; - /** * The schema of `digital-experience-monitoring_device-dex-test-schemas-http`. */ @@ -31,20 +13,20 @@ export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$http: J "description": "The configuration object which contains the details for the WARP client to conduct the test." }, "description": { - "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-description", - "description": "Additional details about the test." + "description": "Additional details about the test.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-enabled", - "description": "Determines whether or not the test is active." + "description": "Determines whether or not the test is active.", + "type": "boolean" }, "interval": { - "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-interval", - "description": "How often the test will run." + "description": "How often the test will run.", + "type": "string" }, "name": { - "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-name", - "description": "The name of the DEX test. Must be unique." + "description": "The name of the DEX test. Must be unique.", + "type": "string" }, "target_policies": { "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-target-policies" @@ -62,23 +44,6 @@ export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$http: J "type": "object" }; -/** - * The schema of - * `digital-experience-monitoring_device-dex-test-schemas-interval`. - */ -export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval: JsonSchema = { - "description": "How often the test will run.", - "type": "string" -}; - -/** - * The schema of `digital-experience-monitoring_device-dex-test-schemas-name`. - */ -export const digital$$experience$$monitoring_device$$dex$$test$$schemas$$name: JsonSchema = { - "description": "The name of the DEX test. Must be unique.", - "type": "string" -}; - /** * The schema of * `digital-experience-monitoring_device-dex-test-target-policies`. @@ -101,8 +66,8 @@ export const digital$$experience$$monitoring_dex_target_policy: JsonSchema = { "type": "boolean" }, "id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "The id of the DEX rule." + "description": "The id of the DEX rule.", + "type": "string" }, "name": { "description": "The name of the DEX rule.", @@ -114,11 +79,3 @@ export const digital$$experience$$monitoring_dex_target_policy: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `digital-experience-monitoring_schemas-test-id`. - */ -export const digital$$experience$$monitoring_schemas$$test$$id: JsonSchema = { - "description": "The unique identifier for the test.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts index 09a5d8d8a..9acf1335b 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/tests/tools.ts @@ -8,36 +8,21 @@ import { digital$$experience$$monitoring_api$$response$$single, digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_uuid, } from "../outputs.js"; -import { - digital$$experience$$monitoring_account_identifier, - digital$$experience$$monitoring_device$$dex$$test$$schemas$$data as digital$$experience$$monitoring_device$$dex$$test$$schemas$$data$, - digital$$experience$$monitoring_uuid as digital$$experience$$monitoring_uuid$, -} from "../schemas.js"; +import { digital$$experience$$monitoring_device$$dex$$test$$schemas$$data as digital$$experience$$monitoring_device$$dex$$test$$schemas$$data$ } from "../schemas.js"; import { digital$$experience$$monitoring_api$$response$$collection$$common, - digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, digital$$experience$$monitoring_device$$dex$$test$$target$$policies, digital$$experience$$monitoring_dex$$delete$$response$$collection, digital$$experience$$monitoring_dex$$response_collection, digital$$experience$$monitoring_dex$$single_response, digital$$experience$$monitoring_dex_target_policy, - digital$$experience$$monitoring_schemas$$test$$id, } from "./outputs.js"; import { - digital$$experience$$monitoring_device$$dex$$test$$schemas$$description as digital$$experience$$monitoring_device$$dex$$test$$schemas$$description$, - digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled as digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled$, digital$$experience$$monitoring_device$$dex$$test$$schemas$$http as digital$$experience$$monitoring_device$$dex$$test$$schemas$$http$, - digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval as digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval$, - digital$$experience$$monitoring_device$$dex$$test$$schemas$$name as digital$$experience$$monitoring_device$$dex$$test$$schemas$$name$, digital$$experience$$monitoring_device$$dex$$test$$target$$policies as digital$$experience$$monitoring_device$$dex$$test$$target$$policies$, digital$$experience$$monitoring_dex_target_policy as digital$$experience$$monitoring_dex_target_policy$, - digital$$experience$$monitoring_schemas$$test$$id as digital$$experience$$monitoring_schemas$$test$$id$, } from "./schemas.js"; /** @@ -47,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_tests_create", title: "Create Device DEX test", - description: "Create a DEX test.", + description: "Create a DEX test.\n\nPOST /accounts/{account_id}/dex/devices/dex_tests", inputSchema: { type: "object", properties: { @@ -55,10 +40,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-http" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -71,17 +57,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data$, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description$, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled$, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http$, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval$, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name$, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies$, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy$, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -89,17 +70,11 @@ export const tools: readonly Tool[] = [ $defs: { "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -129,17 +104,11 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -150,19 +119,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_tests_delete", title: "Delete Device DEX test", - description: "Delete a Device DEX test. Returns the remaining device dex tests for the account.", + description: "Delete a Device DEX test. Returns the remaining device dex tests for the account.\n\nDELETE /accounts/{account_id}/dex/devices/dex_tests/{dex_test_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "dex_test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a DEX test." + "description": "Unique identifier for a DEX test.", + "type": "string" } }, "required": [ @@ -175,27 +145,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_dex-delete-response-collection", $defs: { "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-delete-response-collection": digital$$experience$$monitoring_dex$$delete$$response$$collection, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -225,17 +186,11 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-delete-response-collection": digital$$experience$$monitoring_dex$$delete$$response$$collection, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -245,19 +200,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_tests_get", title: "Get Device DEX test", - description: "Fetch a single DEX test.", + description: "Fetch a single DEX test.\n\nGET /accounts/{account_id}/dex/devices/dex_tests/{dex_test_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "dex_test_id": { - "$ref": "#/$defs/digital-experience-monitoring_schemas-test-id", - "description": "Unique identifier for a DEX test." + "description": "Unique identifier for a DEX test.", + "type": "string" } }, "required": [ @@ -270,27 +226,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_dex-single_response", $defs: { "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -323,17 +270,11 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -343,15 +284,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_tests_list", title: "List Device DEX tests", - description: "Fetch all DEX tests.", + description: "Fetch all DEX tests.\n\nGET /accounts/{account_id}/dex/devices/dex_tests", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -360,6 +302,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "kind": { "description": "Filter by test type.", @@ -390,9 +333,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/digital-experience-monitoring_dex-response_collection", @@ -400,17 +341,11 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-collection-common": digital$$experience$$monitoring_api$$response$$collection$$common, "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-response_collection": digital$$experience$$monitoring_dex$$response_collection, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -444,17 +379,11 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-response_collection": digital$$experience$$monitoring_dex$$response_collection, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ @@ -470,7 +399,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_tests_update", title: "Update Device DEX test", - description: "Update a DEX test.", + description: "Update a DEX test.\n\nPUT /accounts/{account_id}/dex/devices/dex_tests/{dex_test_id}", inputSchema: { type: "object", properties: { @@ -478,14 +407,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/digital-experience-monitoring_device-dex-test-schemas-http" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" }, "dex_test_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid", - "description": "Unique identifier for a DEX test." + "description": "Unique identifier for a DEX test.", + "type": "string" } }, "required": [ @@ -499,17 +429,12 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data$, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description$, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled$, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http$, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval$, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name$, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies$, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy$, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid$, }, }, outputSchema: { @@ -517,17 +442,11 @@ export const tools: readonly Tool[] = [ $defs: { "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, annotations: { @@ -557,17 +476,11 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, "digital-experience-monitoring_api-response-single": digital$$experience$$monitoring_api$$response$$single, "digital-experience-monitoring_device-dex-test-schemas-data": digital$$experience$$monitoring_device$$dex$$test$$schemas$$data, - "digital-experience-monitoring_device-dex-test-schemas-description": digital$$experience$$monitoring_device$$dex$$test$$schemas$$description, - "digital-experience-monitoring_device-dex-test-schemas-enabled": digital$$experience$$monitoring_device$$dex$$test$$schemas$$enabled, "digital-experience-monitoring_device-dex-test-schemas-http": digital$$experience$$monitoring_device$$dex$$test$$schemas$$http, - "digital-experience-monitoring_device-dex-test-schemas-interval": digital$$experience$$monitoring_device$$dex$$test$$schemas$$interval, - "digital-experience-monitoring_device-dex-test-schemas-name": digital$$experience$$monitoring_device$$dex$$test$$schemas$$name, "digital-experience-monitoring_device-dex-test-target-policies": digital$$experience$$monitoring_device$$dex$$test$$target$$policies, "digital-experience-monitoring_dex-single_response": digital$$experience$$monitoring_dex$$single_response, "digital-experience-monitoring_dex_target_policy": digital$$experience$$monitoring_dex_target_policy, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_schemas-test-id": digital$$experience$$monitoring_schemas$$test$$id, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts index c0d4164a3..365806de7 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/outputs.ts @@ -3,15 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `digital-experience-monitoring_timestamp_datetime` in - * responses. - */ -export const digital$$experience$$monitoring_timestamp_datetime: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `digital-experience-monitoring_warp_config_change_event` in * responses. @@ -19,10 +10,10 @@ export const digital$$experience$$monitoring_timestamp_datetime: JsonSchema = { export const digital$$experience$$monitoring_warp_config_change_event: JsonSchema = { "properties": { "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "device_registration": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "from": { "$ref": "#/$defs/digital-experience-monitoring_warp_config_details" @@ -31,13 +22,14 @@ export const digital$$experience$$monitoring_warp_config_change_event: JsonSchem "type": "string" }, "registration_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "serial_number": { "type": "string" }, "timestamp": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp_datetime" + "format": "date-time", + "type": "string" }, "to": { "$ref": "#/$defs/digital-experience-monitoring_warp_config_details" @@ -59,7 +51,7 @@ export const digital$$experience$$monitoring_warp_config_details: JsonSchema = { "type": "string" }, "account_tag": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "config_name": { "type": "string" @@ -99,22 +91,23 @@ export const digital$$experience$$monitoring_warp_toggle_change_event: JsonSchem "type": "string" }, "device_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "device_registration": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "hostname": { "type": "string" }, "registration_id": { - "$ref": "#/$defs/digital-experience-monitoring_uuid" + "type": "string" }, "serial_number": { "type": "string" }, "timestamp": { - "$ref": "#/$defs/digital-experience-monitoring_timestamp_datetime" + "format": "date-time", + "type": "string" }, "toggle": { "enum": [ diff --git a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts index 262411b9f..808c13da6 100644 --- a/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dex/warpChangeEvents/tools.ts @@ -7,11 +7,8 @@ import { digital$$experience$$monitoring_api$$response$$common, digital$$experience$$monitoring_api$$response$$common$$failure, digital$$experience$$monitoring_messages, - digital$$experience$$monitoring_uuid, } from "../outputs.js"; -import { digital$$experience$$monitoring_account_identifier } from "../schemas.js"; import { - digital$$experience$$monitoring_timestamp_datetime, digital$$experience$$monitoring_warp_config_change_event, digital$$experience$$monitoring_warp_config_details, digital$$experience$$monitoring_warp_events_response, @@ -25,15 +22,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dex_warpChangeEvents_list", title: "List WARP change events.", - description: "List WARP configuration and enablement toggle change events by device.", + description: "List WARP configuration and enablement toggle change events by device.\n\nGET /accounts/{account_id}/dex/warp-change-events", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/digital-experience-monitoring_account_identifier", - "description": "Unique Cloudflare account ID." + "description": "Unique Cloudflare account ID.", + "type": "string" } }, "required": [ @@ -42,6 +40,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "account_name": { "description": "Filter events by account name.", @@ -107,9 +106,7 @@ export const tools: readonly Tool[] = [ "path", "query" ], - $defs: { - "digital-experience-monitoring_account_identifier": digital$$experience$$monitoring_account_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -129,8 +126,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-collection": digital$$experience$$monitoring_api$$response$$collection, "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_timestamp_datetime": digital$$experience$$monitoring_timestamp_datetime, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, "digital-experience-monitoring_warp_config_change_event": digital$$experience$$monitoring_warp_config_change_event, "digital-experience-monitoring_warp_config_details": digital$$experience$$monitoring_warp_config_details, "digital-experience-monitoring_warp_events_response": digital$$experience$$monitoring_warp_events_response, @@ -180,8 +175,6 @@ export const tools: readonly Tool[] = [ "digital-experience-monitoring_api-response-common": digital$$experience$$monitoring_api$$response$$common, "digital-experience-monitoring_api-response-common-failure": digital$$experience$$monitoring_api$$response$$common$$failure, "digital-experience-monitoring_messages": digital$$experience$$monitoring_messages, - "digital-experience-monitoring_timestamp_datetime": digital$$experience$$monitoring_timestamp_datetime, - "digital-experience-monitoring_uuid": digital$$experience$$monitoring_uuid, "digital-experience-monitoring_warp_config_change_event": digital$$experience$$monitoring_warp_config_change_event, "digital-experience-monitoring_warp_config_details": digital$$experience$$monitoring_warp_config_details, "digital-experience-monitoring_warp_events_response": digital$$experience$$monitoring_warp_events_response, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts index a5480a2c0..4297b04ad 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/customPromptTopics/tools.ts @@ -21,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_customPromptTopics_create", title: "Create custom prompt topic", - description: "Creates a DLP custom prompt topic entry.", + description: "Creates a DLP custom prompt topic entry.\n\nPOST /accounts/{account_id}/dlp/custom_prompt_topics", inputSchema: { type: "object", properties: { @@ -30,6 +30,7 @@ export const tools: readonly Tool[] = [ "description": "A new custom prompt topic to create." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -45,6 +46,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_NewCustomPromptTopic": dlp_NewCustomPromptTopic, }, @@ -122,11 +124,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_customPromptTopics_delete", title: "Delete custom prompt topic", - description: "Deletes a DLP custom prompt topic entry.", + description: "Deletes a DLP custom prompt topic entry.\n\nDELETE /accounts/{account_id}/dlp/custom_prompt_topics/{entry_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -146,6 +149,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -219,11 +223,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_customPromptTopics_get", title: "Get custom prompt topic", - description: "Fetches a DLP custom prompt topic entry by ID.", + description: "Fetches a DLP custom prompt topic entry by ID.\n\nGET /accounts/{account_id}/dlp/custom_prompt_topics/{entry_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -243,6 +248,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -314,11 +320,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_customPromptTopics_list", title: "List custom prompt topics", - description: "Lists all DLP custom prompt topic entries in an account.", + description: "Lists all DLP custom prompt topic entries in an account.\n\nGET /accounts/{account_id}/dlp/custom_prompt_topics", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -333,6 +340,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -410,7 +418,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_customPromptTopics_update", title: "Update custom prompt topic", - description: "Updates a DLP custom prompt topic entry.", + description: "Updates a DLP custom prompt topic entry.\n\nPUT /accounts/{account_id}/dlp/custom_prompt_topics/{entry_id}", inputSchema: { type: "object", properties: { @@ -419,6 +427,7 @@ export const tools: readonly Tool[] = [ "description": "Update to be applied to the custom prompt topic." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -439,6 +448,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_CustomPromptTopicUpdate": dlp_CustomPromptTopicUpdate, }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts index e10cdaa3f..f7afa5de2 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataClasses/tools.ts @@ -20,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataClasses_create", title: "Creates a new data class", - description: "Creates a data class for use in DLP profiles.", + description: "Creates a data class for use in DLP profiles.\n\nPOST /accounts/{account_id}/dlp/data_classes", inputSchema: { type: "object", properties: { @@ -29,6 +29,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the new data class." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -44,6 +45,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_NewDataClass": dlp_NewDataClass, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef$, @@ -121,11 +123,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataClasses_delete", title: "Delete a single data class", - description: "Deletes a data class from the account.", + description: "Deletes a data class from the account.\n\nDELETE /accounts/{account_id}/dlp/data_classes/{data_class_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -145,6 +148,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -215,11 +219,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataClasses_get", title: "Retrieve a specific data class", - description: "Gets the configuration for a data class.", + description: "Gets the configuration for a data class.\n\nGET /accounts/{account_id}/dlp/data_classes/{data_class_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -239,6 +244,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -312,11 +318,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataClasses_list", title: "Retrieve all data classes in an account", - description: "Lists data classes configured for the account.", + description: "Lists data classes configured for the account.\n\nGET /accounts/{account_id}/dlp/data_classes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -331,6 +338,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -406,7 +414,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataClasses_update", title: "Update the attributes of a single data class", - description: "Updates the configuration for a data class.", + description: "Updates the configuration for a data class.\n\nPUT /accounts/{account_id}/dlp/data_classes/{data_class_id}", inputSchema: { type: "object", properties: { @@ -415,6 +423,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the data class to update." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -435,6 +444,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_DataClassUpdate": dlp_DataClassUpdate, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef$, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts index 61fb19f57..8fd5718e4 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategories/tools.ts @@ -24,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTagCategories_create", title: "Creates a new data tag category.", - description: "Creates a data tag category, optionally from a template.", + description: "Creates a data tag category, optionally from a template.\n\nPOST /accounts/{account_id}/dlp/data_tag_categories", inputSchema: { type: "object", properties: { @@ -33,6 +33,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the new data tag category." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_NewDataTag": dlp_NewDataTag, "dlp_NewDataTagCategory": dlp_NewDataTagCategory, @@ -125,11 +127,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTagCategories_delete", title: "Delete a single data tag category.", - description: "Deletes a data tag category and its tags.", + description: "Deletes a data tag category and its tags.\n\nDELETE /accounts/{account_id}/dlp/data_tag_categories/{category_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -149,6 +152,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -219,11 +223,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTagCategories_get", title: "Retrieve a specific data tag category.", - description: "Gets a data tag category and its tags.", + description: "Gets a data tag category and its tags.\n\nGET /accounts/{account_id}/dlp/data_tag_categories/{category_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -243,6 +248,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -316,11 +322,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTagCategories_list", title: "Retrieve all data tag categories in an account", - description: "Lists data tag categories configured for the account.", + description: "Lists data tag categories configured for the account.\n\nGET /accounts/{account_id}/dlp/data_tag_categories", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -335,6 +342,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -410,7 +418,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTagCategories_update", title: "Update the attributes of a single data tag category.", - description: "Updates a data tag category and its tags.", + description: "Updates a data tag category and its tags.\n\nPUT /accounts/{account_id}/dlp/data_tag_categories/{category_id}", inputSchema: { type: "object", properties: { @@ -419,6 +427,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the data tag category to update." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -439,6 +448,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_DataTagCategoryTagUpdate": dlp_DataTagCategoryTagUpdate, "dlp_DataTagCategoryUpdate": dlp_DataTagCategoryUpdate, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts index d418fa862..5f51f4e0a 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTagCategoryTemplates/tools.ts @@ -20,11 +20,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTagCategoryTemplates_get", title: "Retrieve a specific data tag category template.", - description: "Gets an available data tag category template.", + description: "Gets an available data tag category template.\n\nGET /accounts/{account_id}/dlp/data_tag_category_templates/{template_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -44,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -120,11 +122,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTagCategoryTemplates_list", title: "Retrieve all data tag category templates in an account", - description: "Lists available data tag category templates.", + description: "Lists available data tag category templates.\n\nGET /accounts/{account_id}/dlp/data_tag_category_templates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -139,6 +142,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts index bb267e71b..a53df1ba3 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/dataTags/tools.ts @@ -19,7 +19,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTags_create", title: "Creates a new data tag.", - description: "Creates a data tag in a category.", + description: "Creates a data tag in a category.\n\nPOST /accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags", inputSchema: { type: "object", properties: { @@ -28,6 +28,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the new data tag." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -48,6 +49,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_NewDataTag": dlp_NewDataTag, }, @@ -122,11 +124,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTags_delete", title: "Delete a single data tag.", - description: "Deletes a data tag from a category.", + description: "Deletes a data tag from a category.\n\nDELETE /accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags/{tag_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -151,6 +154,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -221,11 +225,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTags_get", title: "Retrieve a specific data tag.", - description: "Gets a data tag from a category.", + description: "Gets a data tag from a category.\n\nGET /accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags/{tag_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -250,6 +255,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -321,11 +327,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTags_list", title: "Retrieve all data tags in a data tag category", - description: "Lists data tags in a category.", + description: "Lists data tags in a category.\n\nGET /accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -345,6 +352,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -418,7 +426,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_dataTags_update", title: "Update the attributes of a single data tag.", - description: "Updates a data tag in a category.", + description: "Updates a data tag in a category.\n\nPUT /accounts/{account_id}/dlp/data_tag_categories/{category_id}/data_tags/{tag_id}", inputSchema: { type: "object", properties: { @@ -427,6 +435,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the data tag to update." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -452,6 +461,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_DataTagUpdate": dlp_DataTagUpdate, }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts index 621c46964..dc119ab2c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/datasets/outputs.ts @@ -48,7 +48,15 @@ export const dlp_Dataset: JsonSchema = { "type": "boolean" }, "status": { - "$ref": "#/$defs/dlp_DatasetUploadStatus" + "enum": [ + "empty", + "uploading", + "pending", + "processing", + "failed", + "complete" + ], + "type": "string" }, "updated_at": { "format": "date-time", @@ -102,7 +110,15 @@ export const dlp_DatasetColumn: JsonSchema = { "type": "integer" }, "upload_status": { - "$ref": "#/$defs/dlp_DatasetUploadStatus" + "enum": [ + "empty", + "uploading", + "pending", + "processing", + "failed", + "complete" + ], + "type": "string" } }, "required": [ @@ -188,7 +204,15 @@ export const dlp_DatasetUpload: JsonSchema = { "type": "integer" }, "status": { - "$ref": "#/$defs/dlp_DatasetUploadStatus" + "enum": [ + "empty", + "uploading", + "pending", + "processing", + "failed", + "complete" + ], + "type": "string" }, "version": { "type": "integer" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts index 3b55cba06..4866202d6 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/datasets/tools.ts @@ -7,7 +7,6 @@ import { dlp_api$$response$$single, dlp_messages, } from "../../outputs.js"; -import { dlp_DatasetUploadStatus } from "../outputs.js"; import { dlp_Dataset, dlp_DatasetArray, @@ -25,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_datasets_create", title: "Create a new dataset", - description: "Creates a new DLP (Data Loss Prevention) dataset for storing custom detection patterns. Datasets can contain exact match data, word lists, or EDM (Exact Data Match) configurations.", + description: "Creates a new DLP (Data Loss Prevention) dataset for storing custom detection patterns. Datasets can contain exact match data, word lists, or EDM (Exact Data Match) configurations.\n\nPOST /accounts/{account_id}/dlp/datasets", inputSchema: { type: "object", properties: { @@ -34,6 +33,7 @@ export const tools: readonly Tool[] = [ "description": "Dataset description." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -49,6 +49,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_NewDataset": dlp_NewDataset, }, @@ -72,7 +73,6 @@ export const tools: readonly Tool[] = [ "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetCreation": dlp_DatasetCreation, "dlp_DatasetUpload": dlp_DatasetUpload, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -117,7 +117,6 @@ export const tools: readonly Tool[] = [ "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetCreation": dlp_DatasetCreation, "dlp_DatasetUpload": dlp_DatasetUpload, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -131,11 +130,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_datasets_delete", title: "Delete a dataset", - description: "This deletes all versions of the dataset.", + description: "This deletes all versions of the dataset.\n\nDELETE /accounts/{account_id}/dlp/datasets/{dataset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -155,6 +155,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -189,11 +190,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_datasets_get", title: "Fetch a specific dataset", - description: "Gets a dataset and its latest upload status.", + description: "Gets a dataset and its latest upload status.\n\nGET /accounts/{account_id}/dlp/datasets/{dataset_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -213,6 +215,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -232,7 +235,6 @@ export const tools: readonly Tool[] = [ "dlp_Dataset": dlp_Dataset, "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetUpload": dlp_DatasetUpload, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -277,7 +279,6 @@ export const tools: readonly Tool[] = [ "dlp_Dataset": dlp_Dataset, "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetUpload": dlp_DatasetUpload, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -290,11 +291,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_datasets_list", title: "Fetch all datasets", - description: "Lists all DLP datasets configured for the account, including custom word lists and EDM datasets.", + description: "Lists all DLP datasets configured for the account, including custom word lists and EDM datasets.\n\nGET /accounts/{account_id}/dlp/datasets", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -309,6 +311,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -329,7 +332,6 @@ export const tools: readonly Tool[] = [ "dlp_DatasetArray": dlp_DatasetArray, "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetUpload": dlp_DatasetUpload, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -375,7 +377,6 @@ export const tools: readonly Tool[] = [ "dlp_DatasetArray": dlp_DatasetArray, "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetUpload": dlp_DatasetUpload, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -388,11 +389,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_datasets_prepareUpload", title: "Prepare to upload a new version of a dataset", - description: "Creates a new version of a DLP dataset, allowing you to stage changes before activation. Used for single-column EDM and custom word lists.", + description: "Creates a new version of a DLP dataset, allowing you to stage changes before activation. Used for single-column EDM and custom word lists.\n\nPOST /accounts/{account_id}/dlp/datasets/{dataset_id}/upload", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -412,6 +414,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -430,7 +433,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetNewVersion": dlp_DatasetNewVersion, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -473,7 +475,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetNewVersion": dlp_DatasetNewVersion, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -486,7 +487,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_datasets_update", title: "Update details about a dataset", - description: "Updates the configuration of an existing DLP dataset, such as its name, description, or detection settings.", + description: "Updates the configuration of an existing DLP dataset, such as its name, description, or detection settings.\n\nPUT /accounts/{account_id}/dlp/datasets/{dataset_id}", inputSchema: { type: "object", properties: { @@ -495,6 +496,7 @@ export const tools: readonly Tool[] = [ "description": "Dataset description." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -515,6 +517,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_DatasetUpdate": dlp_DatasetUpdate, }, @@ -537,7 +540,6 @@ export const tools: readonly Tool[] = [ "dlp_Dataset": dlp_Dataset, "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetUpload": dlp_DatasetUpload, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -581,7 +583,6 @@ export const tools: readonly Tool[] = [ "dlp_Dataset": dlp_Dataset, "dlp_DatasetColumn": dlp_DatasetColumn, "dlp_DatasetUpload": dlp_DatasetUpload, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts index 98f208c58..922660566 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/outputs.ts @@ -40,7 +40,15 @@ export const dlp_DocumentFingerprint: JsonSchema = { "type": "string" }, "status": { - "$ref": "#/$defs/dlp_DatasetUploadStatus" + "enum": [ + "empty", + "uploading", + "pending", + "processing", + "failed", + "complete" + ], + "type": "string" }, "updated_at": { "format": "date-time", diff --git a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts index 11bc3f623..a78fa310d 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/documentFingerprints/tools.ts @@ -7,7 +7,6 @@ import { dlp_api$$response$$single, dlp_messages, } from "../../outputs.js"; -import { dlp_DatasetUploadStatus } from "../outputs.js"; import { dlp_DocumentFingerprint, dlp_DocumentFingerprintArray, @@ -24,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_documentFingerprints_create", title: "Creates a new document fingerprint.", - description: "Creates a new document fingerprint for DLP scanning. Document fingerprints detect documents that are structurally similar to the uploaded sample.", + description: "Creates a new document fingerprint for DLP scanning. Document fingerprints detect documents that are structurally similar to the uploaded sample.\n\nPOST /accounts/{account_id}/dlp/document_fingerprints", inputSchema: { type: "object", properties: { @@ -33,6 +32,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the new document fingerprint." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -48,6 +48,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_NewDocumentFingerprint": dlp_NewDocumentFingerprint, }, @@ -67,7 +68,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprint": dlp_DocumentFingerprint, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -109,7 +109,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprint": dlp_DocumentFingerprint, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -124,11 +123,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_documentFingerprints_delete", title: "Delete a single document fingerprint.", - description: "Removes a document fingerprint from DLP configuration. Documents matching this fingerprint will no longer be detected.", + description: "Removes a document fingerprint from DLP configuration. Documents matching this fingerprint will no longer be detected.\n\nDELETE /accounts/{account_id}/dlp/document_fingerprints/{document_fingerprint_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -148,6 +148,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -182,11 +183,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_documentFingerprints_get", title: "Retrieve data about a specific document fingerprint.", - description: "Gets a document fingerprint and its latest upload status.", + description: "Gets a document fingerprint and its latest upload status.\n\nGET /accounts/{account_id}/dlp/document_fingerprints/{document_fingerprint_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -206,6 +208,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -222,7 +225,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprint": dlp_DocumentFingerprint, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -265,7 +267,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprint": dlp_DocumentFingerprint, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -279,11 +280,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_documentFingerprints_list", title: "Retrieve data about all document fingerprints.", - description: "Lists all document fingerprints configured for DLP scanning in the account.", + description: "Lists all document fingerprints configured for DLP scanning in the account.\n\nGET /accounts/{account_id}/dlp/document_fingerprints", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -298,6 +300,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -314,7 +317,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprint": dlp_DocumentFingerprint, "dlp_DocumentFingerprintArray": dlp_DocumentFingerprintArray, "dlp_api-response-single": dlp_api$$response$$single, @@ -358,7 +360,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprint": dlp_DocumentFingerprint, "dlp_DocumentFingerprintArray": dlp_DocumentFingerprintArray, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, @@ -373,7 +374,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_documentFingerprints_update", title: "Update the attributes of a single document fingerprint.", - description: "Updates metadata for an existing document fingerprint, such as its name or description.", + description: "Updates metadata for an existing document fingerprint, such as its name or description.\n\nPOST /accounts/{account_id}/dlp/document_fingerprints/{document_fingerprint_id}", inputSchema: { type: "object", properties: { @@ -382,6 +383,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the document fingerprint to update." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -402,6 +404,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_UpdateDocumentFingerprint": dlp_UpdateDocumentFingerprint, }, @@ -421,7 +424,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprint": dlp_DocumentFingerprint, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -463,7 +465,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprint": dlp_DocumentFingerprint, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts index b428641b0..2ad0d0447 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/accountMapping/tools.ts @@ -20,7 +20,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_email_accountMapping_create", title: "Create mapping", - description: "Creates a mapping between a Cloudflare account and an email provider for DLP email scanning integration.", + description: "Creates a mapping between a Cloudflare account and an email provider for DLP email scanning integration.\n\nPOST /accounts/{account_id}/dlp/email/account_mapping", inputSchema: { type: "object", properties: { @@ -29,6 +29,7 @@ export const tools: readonly Tool[] = [ "description": "Account mapping." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -44,6 +45,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_AddinAuth": dlp_AddinAuth$, "dlp_UpdateAddinAccountMapping": dlp_UpdateAddinAccountMapping, @@ -121,11 +123,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_email_accountMapping_get", title: "Get mapping", - description: "Retrieves the email provider mapping configuration for DLP email scanning.", + description: "Retrieves the email provider mapping configuration for DLP email scanning.\n\nGET /accounts/{account_id}/dlp/email/account_mapping", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -140,6 +143,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts index 0ac836a02..c15c8e96d 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/outputs.ts @@ -106,10 +106,21 @@ export const dlp_EmailRuleArray: JsonSchema = { export const dlp_EmailRuleCondition: JsonSchema = { "properties": { "operator": { - "$ref": "#/$defs/dlp_EmailRuleOperator" + "enum": [ + "InList", + "NotInList", + "MatchRegex", + "NotMatchRegex" + ], + "type": "string" }, "selector": { - "$ref": "#/$defs/dlp_EmailRuleSelector" + "enum": [ + "Recipients", + "Sender", + "DLPProfiles" + ], + "type": "string" }, "value": { "$ref": "#/$defs/dlp_EmailRuleValue" @@ -123,31 +134,6 @@ export const dlp_EmailRuleCondition: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_EmailRuleOperator` in responses. - */ -export const dlp_EmailRuleOperator: JsonSchema = { - "enum": [ - "InList", - "NotInList", - "MatchRegex", - "NotMatchRegex" - ], - "type": "string" -}; - -/** - * The schema of `dlp_EmailRuleSelector` in responses. - */ -export const dlp_EmailRuleSelector: JsonSchema = { - "enum": [ - "Recipients", - "Sender", - "DLPProfiles" - ], - "type": "string" -}; - /** * The schema of `dlp_EmailRuleValue` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/schemas.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/schemas.ts index 88bb13e53..56698030d 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/schemas.ts @@ -78,10 +78,21 @@ export const dlp_EmailRuleAction: JsonSchema = { export const dlp_EmailRuleCondition: JsonSchema = { "properties": { "operator": { - "$ref": "#/$defs/dlp_EmailRuleOperator" + "enum": [ + "InList", + "NotInList", + "MatchRegex", + "NotMatchRegex" + ], + "type": "string" }, "selector": { - "$ref": "#/$defs/dlp_EmailRuleSelector" + "enum": [ + "Recipients", + "Sender", + "DLPProfiles" + ], + "type": "string" }, "value": { "$ref": "#/$defs/dlp_EmailRuleValue" @@ -95,31 +106,6 @@ export const dlp_EmailRuleCondition: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_EmailRuleOperator`. - */ -export const dlp_EmailRuleOperator: JsonSchema = { - "enum": [ - "InList", - "NotInList", - "MatchRegex", - "NotMatchRegex" - ], - "type": "string" -}; - -/** - * The schema of `dlp_EmailRuleSelector`. - */ -export const dlp_EmailRuleSelector: JsonSchema = { - "enum": [ - "Recipients", - "Sender", - "DLPProfiles" - ], - "type": "string" -}; - /** * The schema of `dlp_EmailRuleValue`. */ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts index d0b344de6..94fdf167c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/email/rules/tools.ts @@ -12,16 +12,12 @@ import { dlp_EmailRuleAction, dlp_EmailRuleArray, dlp_EmailRuleCondition, - dlp_EmailRuleOperator, - dlp_EmailRuleSelector, dlp_EmailRuleValue, } from "./outputs.js"; import { dlp_CreateEmailRule, dlp_EmailRuleAction as dlp_EmailRuleAction$, dlp_EmailRuleCondition as dlp_EmailRuleCondition$, - dlp_EmailRuleOperator as dlp_EmailRuleOperator$, - dlp_EmailRuleSelector as dlp_EmailRuleSelector$, dlp_EmailRuleValue as dlp_EmailRuleValue$, dlp_UpdateEmailRulePriorities, } from "./schemas.js"; @@ -33,7 +29,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_email_rules_bulkEdit", title: "Update email scanner rule priorities", - description: "Reorders DLP email scanning rules by updating their priority values. Higher priority rules are evaluated first.", + description: "Reorders DLP email scanning rules by updating their priority values. Higher priority rules are evaluated first.\n\nPATCH /accounts/{account_id}/dlp/email/rules", inputSchema: { type: "object", properties: { @@ -42,6 +38,7 @@ export const tools: readonly Tool[] = [ "description": "Rule priorities." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -57,6 +54,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_UpdateEmailRulePriorities": dlp_UpdateEmailRulePriorities, }, @@ -79,8 +77,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -125,8 +121,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -141,7 +135,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_email_rules_create", title: "Create email scanner rule", - description: "Creates a new DLP email scanning rule that defines what content patterns to detect in email messages and what actions to take.", + description: "Creates a new DLP email scanning rule that defines what content patterns to detect in email messages and what actions to take.\n\nPOST /accounts/{account_id}/dlp/email/rules", inputSchema: { type: "object", properties: { @@ -150,6 +144,7 @@ export const tools: readonly Tool[] = [ "description": "Rule description." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -165,12 +160,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_CreateEmailRule": dlp_CreateEmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction$, "dlp_EmailRuleCondition": dlp_EmailRuleCondition$, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator$, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector$, "dlp_EmailRuleValue": dlp_EmailRuleValue$, }, }, @@ -192,8 +186,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -238,8 +230,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -254,11 +244,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_email_rules_delete", title: "Delete email scanner rule", - description: "Removes a DLP email scanning rule. The rule will no longer be applied to email messages.", + description: "Removes a DLP email scanning rule. The rule will no longer be applied to email messages.\n\nDELETE /accounts/{account_id}/dlp/email/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -278,6 +269,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -297,8 +289,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -343,8 +333,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -358,11 +346,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_email_rules_get", title: "Get an email scanner rule", - description: "Gets detailed configuration for a specific DLP email scanning rule, including detection patterns and actions.", + description: "Gets detailed configuration for a specific DLP email scanning rule, including detection patterns and actions.\n\nGET /accounts/{account_id}/dlp/email/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -382,6 +371,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -401,8 +391,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -448,8 +436,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -463,11 +449,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_email_rules_list", title: "List all email scanner rules", - description: "Lists all email scanner rules for an account.", + description: "Lists all email scanner rules for an account.\n\nGET /accounts/{account_id}/dlp/email/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -482,6 +469,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -502,8 +490,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleArray": dlp_EmailRuleArray, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -550,8 +536,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleArray": dlp_EmailRuleArray, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -565,7 +549,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_email_rules_update", title: "Update email scanner rule", - description: "Updates a DLP email scanning rule.", + description: "Updates a DLP email scanning rule.\n\nPUT /accounts/{account_id}/dlp/email/rules/{rule_id}", inputSchema: { type: "object", properties: { @@ -574,6 +558,7 @@ export const tools: readonly Tool[] = [ "description": "Rule description." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -594,12 +579,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_CreateEmailRule": dlp_CreateEmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction$, "dlp_EmailRuleCondition": dlp_EmailRuleCondition$, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator$, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector$, "dlp_EmailRuleValue": dlp_EmailRuleValue$, }, }, @@ -621,8 +605,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -667,8 +649,6 @@ export const tools: readonly Tool[] = [ "dlp_EmailRule": dlp_EmailRule, "dlp_EmailRuleAction": dlp_EmailRuleAction, "dlp_EmailRuleCondition": dlp_EmailRuleCondition, - "dlp_EmailRuleOperator": dlp_EmailRuleOperator, - "dlp_EmailRuleSelector": dlp_EmailRuleSelector, "dlp_EmailRuleValue": dlp_EmailRuleValue, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts index 9f66ed3fa..b04f7778c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/entries/outputs.ts @@ -59,7 +59,15 @@ export const dlp_EntryWithUploadStatus: JsonSchema = { { "properties": { "upload_status": { - "$ref": "#/$defs/dlp_DatasetUploadStatus" + "enum": [ + "empty", + "uploading", + "pending", + "processing", + "failed", + "complete" + ], + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts index c5f953a93..1ab914ec9 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/entries/tools.ts @@ -11,7 +11,6 @@ import { import { dlp_CustomEntry, dlp_CustomPromptTopicEntry, - dlp_DatasetUploadStatus, dlp_DocumentFingerprintEntry, dlp_Entry, dlp_EntryConfidence, @@ -20,14 +19,9 @@ import { dlp_Pattern, dlp_PredefinedEntry, dlp_PredefinedEntryVariant, - dlp_PromptTopicType, - dlp_Validation, dlp_WordListEntry, } from "../outputs.js"; -import { - dlp_Pattern as dlp_Pattern$, - dlp_Validation as dlp_Validation$, -} from "../schemas.js"; +import { dlp_Pattern as dlp_Pattern$ } from "../schemas.js"; import { dlp_EntryProfile, dlp_EntryWithSharedProfiles, @@ -42,7 +36,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_entries_create", title: "Create custom entry", - description: "Creates a DLP custom entry.", + description: "Creates a DLP custom entry.\n\nPOST /accounts/{account_id}/dlp/entries", inputSchema: { type: "object", properties: { @@ -51,6 +45,7 @@ export const tools: readonly Tool[] = [ "description": "A new entry to create." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -66,10 +61,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_NewEntry": dlp_NewEntry, "dlp_Pattern": dlp_Pattern$, - "dlp_Validation": dlp_Validation$, }, }, outputSchema: { @@ -89,7 +84,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_CustomEntry": dlp_CustomEntry, "dlp_Pattern": dlp_Pattern, - "dlp_Validation": dlp_Validation, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -132,7 +126,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_CustomEntry": dlp_CustomEntry, "dlp_Pattern": dlp_Pattern, - "dlp_Validation": dlp_Validation, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -146,11 +139,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_entries_delete", title: "Delete custom entry", - description: "Deletes a DLP custom entry.", + description: "Deletes a DLP custom entry.\n\nDELETE /accounts/{account_id}/dlp/entries/{entry_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -170,6 +164,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -240,11 +235,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_entries_get", title: "Get DLP Entry", - description: "Fetches a DLP entry by ID.", + description: "Fetches a DLP entry by ID.\n\nGET /accounts/{account_id}/dlp/entries/{entry_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -264,6 +260,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -282,7 +279,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, "dlp_Entry": dlp_Entry, "dlp_EntryConfidence": dlp_EntryConfidence, @@ -294,8 +290,6 @@ export const tools: readonly Tool[] = [ "dlp_Pattern": dlp_Pattern, "dlp_PredefinedEntry": dlp_PredefinedEntry, "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, - "dlp_PromptTopicType": dlp_PromptTopicType, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -340,7 +334,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, "dlp_Entry": dlp_Entry, "dlp_EntryConfidence": dlp_EntryConfidence, @@ -352,8 +345,6 @@ export const tools: readonly Tool[] = [ "dlp_Pattern": dlp_Pattern, "dlp_PredefinedEntry": dlp_PredefinedEntry, "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, - "dlp_PromptTopicType": dlp_PromptTopicType, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -367,11 +358,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_entries_list", title: "List all entries", - description: "Lists all DLP entries in an account.", + description: "Lists all DLP entries in an account.\n\nGET /accounts/{account_id}/dlp/entries", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -386,6 +378,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -407,7 +400,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, "dlp_Entry": dlp_Entry, "dlp_EntryConfidence": dlp_EntryConfidence, @@ -417,8 +409,6 @@ export const tools: readonly Tool[] = [ "dlp_Pattern": dlp_Pattern, "dlp_PredefinedEntry": dlp_PredefinedEntry, "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, - "dlp_PromptTopicType": dlp_PromptTopicType, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -466,7 +456,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomPromptTopicEntry": dlp_CustomPromptTopicEntry, - "dlp_DatasetUploadStatus": dlp_DatasetUploadStatus, "dlp_DocumentFingerprintEntry": dlp_DocumentFingerprintEntry, "dlp_Entry": dlp_Entry, "dlp_EntryConfidence": dlp_EntryConfidence, @@ -476,8 +465,6 @@ export const tools: readonly Tool[] = [ "dlp_Pattern": dlp_Pattern, "dlp_PredefinedEntry": dlp_PredefinedEntry, "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, - "dlp_PromptTopicType": dlp_PromptTopicType, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -491,7 +478,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_entries_update", title: "Update entry", - description: "Updates a DLP entry.", + description: "Updates a DLP entry.\n\nPUT /accounts/{account_id}/dlp/entries/{entry_id}", inputSchema: { type: "object", properties: { @@ -500,6 +487,7 @@ export const tools: readonly Tool[] = [ "description": "Update to be applied to the entry." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -520,10 +508,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_EntryUpdate": dlp_EntryUpdate, "dlp_Pattern": dlp_Pattern$, - "dlp_Validation": dlp_Validation$, }, }, outputSchema: { @@ -551,8 +539,6 @@ export const tools: readonly Tool[] = [ "dlp_Pattern": dlp_Pattern, "dlp_PredefinedEntry": dlp_PredefinedEntry, "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, - "dlp_PromptTopicType": dlp_PromptTopicType, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -604,8 +590,6 @@ export const tools: readonly Tool[] = [ "dlp_Pattern": dlp_Pattern, "dlp_PredefinedEntry": dlp_PredefinedEntry, "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, - "dlp_PromptTopicType": dlp_PromptTopicType, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts index 474856a6e..fcde08fc9 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/limits/tools.ts @@ -16,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_limits_list", title: "Fetch limits associated with DLP for account", - description: "Retrieves current DLP usage limits and quotas for the account, including\nmaximum allowed counts and current usage for custom entries, dataset cells,\nand document fingerprints.", + description: "Retrieves current DLP usage limits and quotas for the account, including\nmaximum allowed counts and current usage for custom entries, dataset cells,\nand document fingerprints.\n\nGET /accounts/{account_id}/dlp/limits", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -35,6 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts index 0a631a59d..1aac637b9 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/outputs.ts @@ -153,21 +153,6 @@ export const dlp_DataTag: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_DatasetUploadStatus` in responses. - */ -export const dlp_DatasetUploadStatus: JsonSchema = { - "enum": [ - "empty", - "uploading", - "pending", - "processing", - "failed", - "complete" - ], - "type": "string" -}; - /** * The schema of `dlp_DocumentFingerprintEntry` in responses. */ @@ -492,7 +477,10 @@ export const dlp_Pattern: JsonSchema = { "type": "string" }, "validation": { - "$ref": "#/$defs/dlp_Validation" + "enum": [ + "luhn" + ], + "type": "string" } }, "required": [ @@ -564,7 +552,11 @@ export const dlp_PredefinedEntryVariant: JsonSchema = { ] }, "topic_type": { - "$ref": "#/$defs/dlp_PromptTopicType" + "enum": [ + "Intent", + "Content" + ], + "type": "string" }, "type": { "enum": [ @@ -606,17 +598,6 @@ export const dlp_PredefinedEntryVariant: JsonSchema = { ] }; -/** - * The schema of `dlp_PromptTopicType` in responses. - */ -export const dlp_PromptTopicType: JsonSchema = { - "enum": [ - "Intent", - "Content" - ], - "type": "string" -}; - /** * The schema of `dlp_SensitivityLevel` in responses. */ @@ -678,16 +659,6 @@ export const dlp_SensitivityLevelRef: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_Validation` in responses. - */ -export const dlp_Validation: JsonSchema = { - "enum": [ - "luhn" - ], - "type": "string" -}; - /** * The schema of `dlp_WordListEntry` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts index 22fd92f56..5643b5ef8 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/patterns/tools.ts @@ -17,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_patterns_validate", title: "Validate a DLP regex pattern", - description: "Validates whether this pattern is a valid regular expression. Rejects it if\nthe regular expression is too complex or can match an unbounded-length\nstring. The regex will be rejected if it uses `*` or `+`. Bound the maximum\nnumber of characters that can be matched using a range, e.g. `{1,100}`.", + description: "Validates whether this pattern is a valid regular expression. Rejects it if\nthe regular expression is too complex or can match an unbounded-length\nstring. The regex will be rejected if it uses `*` or `+`. Bound the maximum\nnumber of characters that can be matched using a range, e.g. `{1,100}`.\n\nPOST /accounts/{account_id}/dlp/patterns/validate", inputSchema: { type: "object", properties: { @@ -26,6 +26,7 @@ export const tools: readonly Tool[] = [ "description": "Validation query." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -42,6 +43,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_RegexValidationQuery": dlp_RegexValidationQuery, }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts index 40fe1bae3..863db87ec 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/custom/tools.ts @@ -19,18 +19,14 @@ import { dlp_Pattern, dlp_PredefinedEntry, dlp_PredefinedEntryVariant, - dlp_PromptTopicType, dlp_SensitivityLevelRef, - dlp_Validation, dlp_WordListEntry, } from "../../outputs.js"; import { dlp_Pattern as dlp_Pattern$, dlp_SensitivityLevelRef as dlp_SensitivityLevelRef$, - dlp_Validation as dlp_Validation$, } from "../../schemas.js"; import { - dlp_Confidence, dlp_ContextAwareness, dlp_CustomProfile, dlp_IntegrationProfile, @@ -61,7 +57,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_profiles_custom_create", title: "Create custom profile", - description: "Creates a DLP custom profile.", + description: "Creates a DLP custom profile.\n\nPOST /accounts/{account_id}/dlp/profiles/custom", inputSchema: { type: "object", properties: { @@ -70,6 +66,7 @@ export const tools: readonly Tool[] = [ "description": "A new profile to create." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -85,6 +82,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_ContextAwareness": dlp_ContextAwareness$, "dlp_EntryOfNewProfile": dlp_EntryOfNewProfile, @@ -95,7 +93,6 @@ export const tools: readonly Tool[] = [ "dlp_Pattern": dlp_Pattern$, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef$, "dlp_SkipConfig": dlp_SkipConfig$, - "dlp_Validation": dlp_Validation$, }, }, outputSchema: { @@ -113,7 +110,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -129,10 +125,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -174,7 +168,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -190,10 +183,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -208,11 +199,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_profiles_custom_delete", title: "Delete custom profile", - description: "Deletes a DLP custom profile.", + description: "Deletes a DLP custom profile.\n\nDELETE /accounts/{account_id}/dlp/profiles/custom/{profile_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -232,6 +224,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -302,7 +295,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_profiles_custom_update", title: "Update custom profile", - description: "Updates a DLP custom profile.", + description: "Updates a DLP custom profile.\n\nPUT /accounts/{account_id}/dlp/profiles/custom/{profile_id}", inputSchema: { type: "object", properties: { @@ -311,6 +304,7 @@ export const tools: readonly Tool[] = [ "description": "The updated parameters for the profile." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -331,6 +325,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_ContextAwareness": dlp_ContextAwareness$, "dlp_CustomProfileUpdate": dlp_CustomProfileUpdate, @@ -341,7 +336,6 @@ export const tools: readonly Tool[] = [ "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef$, "dlp_SharedEntryUpdate": dlp_SharedEntryUpdate, "dlp_SkipConfig": dlp_SkipConfig$, - "dlp_Validation": dlp_Validation$, }, }, outputSchema: { @@ -359,7 +353,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -375,10 +368,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -420,7 +411,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -436,10 +426,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts index c80cfd7a5..c1c49fa6e 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/outputs.ts @@ -3,19 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `dlp_Confidence` in responses. - */ -export const dlp_Confidence: JsonSchema = { - "enum": [ - "low", - "medium", - "high", - "very_high" - ], - "type": "string" -}; - /** * The schema of `dlp_ContextAwareness` in responses. */ @@ -47,7 +34,13 @@ export const dlp_CustomProfile: JsonSchema = { "type": "integer" }, "confidence_threshold": { - "$ref": "#/$defs/dlp_Confidence" + "enum": [ + "low", + "medium", + "high", + "very_high" + ], + "type": "string" }, "context_awareness": { "$ref": "#/$defs/dlp_ContextAwareness" @@ -195,7 +188,13 @@ export const dlp_PredefinedProfile: JsonSchema = { "type": "integer" }, "confidence_threshold": { - "$ref": "#/$defs/dlp_Confidence" + "enum": [ + "low", + "medium", + "high", + "very_high" + ], + "type": "string" }, "context_awareness": { "$ref": "#/$defs/dlp_ContextAwareness" diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts index a6f925b8a..7b9200ed4 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/predefined/tools.ts @@ -18,13 +18,10 @@ import { dlp_Pattern, dlp_PredefinedEntry, dlp_PredefinedEntryVariant, - dlp_PromptTopicType, dlp_SensitivityLevelRef, - dlp_Validation, dlp_WordListEntry, } from "../../outputs.js"; import { - dlp_Confidence, dlp_ContextAwareness, dlp_CustomProfile, dlp_IntegrationProfile, @@ -48,7 +45,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_profiles_predefined_update", title: "Update predefined profile", - description: "Updates a DLP predefined profile. Only supports enabling/disabling entries.", + description: "Updates a DLP predefined profile. Only supports enabling/disabling entries.\n\nPUT /accounts/{account_id}/dlp/profiles/predefined/{profile_id}", inputSchema: { type: "object", properties: { @@ -57,6 +54,7 @@ export const tools: readonly Tool[] = [ "description": "The updated parameters for the predefined profile." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -77,6 +75,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_ContextAwareness": dlp_ContextAwareness$, "dlp_PredefinedProfileEntryUpdate": dlp_PredefinedProfileEntryUpdate, @@ -99,7 +98,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -115,10 +113,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -160,7 +156,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -176,10 +171,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts index 11ff482f2..25d533102 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/profiles/tools.ts @@ -18,13 +18,10 @@ import { dlp_Pattern, dlp_PredefinedEntry, dlp_PredefinedEntryVariant, - dlp_PromptTopicType, dlp_SensitivityLevelRef, - dlp_Validation, dlp_WordListEntry, } from "../outputs.js"; import { - dlp_Confidence, dlp_ContextAwareness, dlp_CustomProfile, dlp_IntegrationProfile, @@ -41,11 +38,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_profiles_get", title: "Get DLP Profile", - description: "Fetches a DLP profile by ID.", + description: "Fetches a DLP profile by ID.\n\nGET /accounts/{account_id}/dlp/profiles/{profile_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -65,6 +63,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -81,7 +80,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -97,10 +95,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -143,7 +139,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -159,10 +154,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedEntryVariant": dlp_PredefinedEntryVariant, "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -176,11 +169,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_profiles_list", title: "List all profiles", - description: "Lists all DLP profiles in an account.", + description: "Lists all DLP profiles in an account.\n\nGET /accounts/{account_id}/dlp/profiles", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -192,6 +186,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "all": { "description": "Return all profiles, including those that current account does not have access to.", @@ -204,6 +199,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -220,7 +216,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -237,10 +232,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, "dlp_ProfileArray": dlp_ProfileArray, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -283,7 +276,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_Confidence": dlp_Confidence, "dlp_ContextAwareness": dlp_ContextAwareness, "dlp_CustomEntry": dlp_CustomEntry, "dlp_CustomProfile": dlp_CustomProfile, @@ -300,10 +292,8 @@ export const tools: readonly Tool[] = [ "dlp_PredefinedProfile": dlp_PredefinedProfile, "dlp_Profile": dlp_Profile, "dlp_ProfileArray": dlp_ProfileArray, - "dlp_PromptTopicType": dlp_PromptTopicType, "dlp_SensitivityLevelRef": dlp_SensitivityLevelRef, "dlp_SkipConfig": dlp_SkipConfig, - "dlp_Validation": dlp_Validation, "dlp_WordListEntry": dlp_WordListEntry, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/schemas.ts b/src/generated/forge-mcp/zeroTrust/dlp/schemas.ts index de4838329..fe15d6dcb 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/schemas.ts @@ -91,7 +91,11 @@ export const dlp_Pattern: JsonSchema = { "type": "string" }, "validation": { - "$ref": "#/$defs/dlp_Validation" + "deprecated": true, + "enum": [ + "luhn" + ], + "type": "string" } }, "required": [ @@ -150,14 +154,3 @@ export const dlp_SensitivityLevelUpdate: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `dlp_Validation`. - */ -export const dlp_Validation: JsonSchema = { - "deprecated": true, - "enum": [ - "luhn" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts index 622ea2b99..24d738d3f 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroupTemplates/tools.ts @@ -20,11 +20,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityGroupTemplates_get", title: "Retrieve a specific sensitivity group template.", - description: "Gets an available sensitivity group template.", + description: "Gets an available sensitivity group template.\n\nGET /accounts/{account_id}/dlp/sensitivity_groups/templates/{template_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -44,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -120,11 +122,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityGroupTemplates_list", title: "Retrieve all sensitivity group templates in an account", - description: "Lists available sensitivity group templates.", + description: "Lists available sensitivity group templates.\n\nGET /accounts/{account_id}/dlp/sensitivity_groups/templates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -139,6 +142,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts index 1d8cf066e..1440d8375 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityGroups/tools.ts @@ -32,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityGroups_create", title: "Creates a new sensitivity group.", - description: "Creates a sensitivity group, optionally from a template.", + description: "Creates a sensitivity group, optionally from a template.\n\nPOST /accounts/{account_id}/dlp/sensitivity_groups", inputSchema: { type: "object", properties: { @@ -41,6 +41,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the new sensitivity group." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -56,6 +57,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_NewSensitivityGroup": dlp_NewSensitivityGroup, "dlp_NewSensitivityLevel": dlp_NewSensitivityLevel, @@ -133,11 +135,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityGroups_delete", title: "Delete a single sensitivity group.", - description: "Deletes a sensitivity group and its levels.", + description: "Deletes a sensitivity group and its levels.\n\nDELETE /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -157,6 +160,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -227,11 +231,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityGroups_get", title: "Retrieve a specific sensitivity group.", - description: "Gets a sensitivity group and its levels.", + description: "Gets a sensitivity group and its levels.\n\nGET /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -251,6 +256,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -324,11 +330,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityGroups_getLevelOrder", title: "Retrieve the ordered list of level IDs for a sensitivity group.", - description: "Gets the current order of sensitivity levels in a group.", + description: "Gets the current order of sensitivity levels in a group.\n\nGET /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/level_order", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -348,6 +355,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -419,11 +427,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityGroups_list", title: "Retrieve all sensitivity groups in an account", - description: "Lists sensitivity groups configured for the account.", + description: "Lists sensitivity groups configured for the account.\n\nGET /accounts/{account_id}/dlp/sensitivity_groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -438,6 +447,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -513,7 +523,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityGroups_update", title: "Update the attributes of a single sensitivity group.", - description: "Updates a sensitivity group and its levels.", + description: "Updates a sensitivity group and its levels.\n\nPUT /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}", inputSchema: { type: "object", properties: { @@ -522,6 +532,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the sensitivity group to update." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -542,6 +553,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_SensitivityGroupLevelUpdate": dlp_SensitivityGroupLevelUpdate, "dlp_SensitivityGroupUpdate": dlp_SensitivityGroupUpdate, @@ -620,7 +632,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityGroups_updateLevelOrder", title: "Set the ordering of levels within a sensitivity group.", - description: "Updates the order of sensitivity levels in a group.", + description: "Updates the order of sensitivity levels in a group.\n\nPUT /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/level_order", inputSchema: { type: "object", properties: { @@ -629,6 +641,7 @@ export const tools: readonly Tool[] = [ "description": "Desired ordered list of level IDs." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -649,6 +662,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_SensitivityLevelOrder": dlp_SensitivityLevelOrder$, }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts index 6283bfebf..bfe7f07dd 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/sensitivityLevels/tools.ts @@ -22,7 +22,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityLevels_create", title: "Creates a new sensitivity level.", - description: "Creates a sensitivity level in a group.", + description: "Creates a sensitivity level in a group.\n\nPOST /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels", inputSchema: { type: "object", properties: { @@ -31,6 +31,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the new sensitivity level." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -51,6 +52,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_NewSensitivityLevel": dlp_NewSensitivityLevel, }, @@ -125,11 +127,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityLevels_delete", title: "Delete a single sensitivity level.", - description: "Deletes a sensitivity level from a group.", + description: "Deletes a sensitivity level from a group.\n\nDELETE /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels/{sensitivity_level_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -154,6 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -224,11 +228,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityLevels_get", title: "Retrieve a specific sensitivity level.", - description: "Gets a sensitivity level from a group.", + description: "Gets a sensitivity level from a group.\n\nGET /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels/{sensitivity_level_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -253,6 +258,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -324,11 +330,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityLevels_list", title: "Retrieve all sensitivity levels in a sensitivity group", - description: "Lists sensitivity levels in a sensitivity group.", + description: "Lists sensitivity levels in a sensitivity group.\n\nGET /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -348,6 +355,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -421,7 +429,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_sensitivityLevels_update", title: "Update the attributes of a single sensitivity level.", - description: "Updates a sensitivity level in a group.", + description: "Updates a sensitivity level in a group.\n\nPUT /accounts/{account_id}/dlp/sensitivity_groups/{sensitivity_group_id}/levels/{sensitivity_level_id}", inputSchema: { type: "object", properties: { @@ -430,6 +438,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the sensitivity level to update." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -455,6 +464,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_SensitivityLevelUpdate": dlp_SensitivityLevelUpdate, }, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts index 2ffea61bb..b376f2432 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/settings/outputs.ts @@ -26,26 +26,19 @@ export const dlp_DlpSettings: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_PayloadLogMaskingLevel` in responses. - */ -export const dlp_PayloadLogMaskingLevel: JsonSchema = { - "enum": [ - "full", - "partial", - "clear", - "default" - ], - "type": "string" -}; - /** * The schema of `dlp_PayloadLogSetting` in responses. */ export const dlp_PayloadLogSetting: JsonSchema = { "properties": { "masking_level": { - "$ref": "#/$defs/dlp_PayloadLogMaskingLevel" + "enum": [ + "full", + "partial", + "clear", + "default" + ], + "type": "string" }, "public_key": { "oneOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/settings/schemas.ts b/src/generated/forge-mcp/zeroTrust/dlp/settings/schemas.ts index 986bc21f7..51429013d 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/settings/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/settings/schemas.ts @@ -40,20 +40,6 @@ export const dlp_DlpSettingsUpdate: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_PayloadLogMaskingLevel`. - */ -export const dlp_PayloadLogMaskingLevel: JsonSchema = { - "description": "Masking level for payload logs.\n\n- `full`: The entire payload is masked.\n- `partial`: Only partial payload content is masked.\n- `clear`: No masking is applied to the payload content.\n- `default`: DLP uses its default masking behavior.", - "enum": [ - "full", - "partial", - "clear", - "default" - ], - "type": "string" -}; - /** * The schema of `dlp_PayloadLogSettingUpdate`. */ @@ -61,8 +47,15 @@ export const dlp_PayloadLogSettingUpdate: JsonSchema = { "description": "Request model for payload log settings within the DLP settings endpoint.\nUnlike the legacy endpoint, null and missing are treated identically here\n(both mean \"not provided\" for PATCH, \"reset to default\" for PUT).", "properties": { "masking_level": { - "$ref": "#/$defs/dlp_PayloadLogMaskingLevel", - "default": "default" + "default": "default", + "description": "Masking level for payload logs.\n\n- `full`: The entire payload is masked.\n- `partial`: Only partial payload content is masked.\n- `clear`: No masking is applied to the payload content.\n- `default`: DLP uses its default masking behavior.", + "enum": [ + "full", + "partial", + "clear", + "default" + ], + "type": "string" }, "public_key": { "description": "Base64-encoded public key for encrypting payload logs.\n\n- Set to a non-empty base64 string to enable payload logging with the given key.\n- Set to an empty string to disable payload logging.\n- Omit or set to null to leave unchanged (PATCH) or reset to disabled (PUT).", diff --git a/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts index af6f10edb..4e13717c0 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/settings/tools.ts @@ -7,14 +7,9 @@ import { dlp_api$$response$$single, dlp_messages, } from "../../outputs.js"; -import { - dlp_DlpSettings, - dlp_PayloadLogMaskingLevel, - dlp_PayloadLogSetting, -} from "./outputs.js"; +import { dlp_DlpSettings, dlp_PayloadLogSetting } from "./outputs.js"; import { dlp_DlpSettingsUpdate, - dlp_PayloadLogMaskingLevel as dlp_PayloadLogMaskingLevel$, dlp_PayloadLogSettingUpdate, } from "./schemas.js"; @@ -25,11 +20,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_settings_delete", title: "Delete (reset) DLP account-level settings to initial values.", - description: "Deletes account-level DLP settings and returns the initial values.", + description: "Deletes account-level DLP settings and returns the initial values.\n\nDELETE /accounts/{account_id}/dlp/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -44,6 +40,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -61,7 +58,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_DlpSettings": dlp_DlpSettings, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, "dlp_PayloadLogSetting": dlp_PayloadLogSetting, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -104,7 +100,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_DlpSettings": dlp_DlpSettings, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, "dlp_PayloadLogSetting": dlp_PayloadLogSetting, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -118,7 +113,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_settings_edit", title: "Partially update DLP account-level settings.", - description: "Missing fields keep their existing values.", + description: "Missing fields keep their existing values.\n\nPATCH /accounts/{account_id}/dlp/settings", inputSchema: { type: "object", properties: { @@ -127,6 +122,7 @@ export const tools: readonly Tool[] = [ "description": "DLP settings fields to update." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -142,9 +138,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_DlpSettingsUpdate": dlp_DlpSettingsUpdate, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel$, "dlp_PayloadLogSettingUpdate": dlp_PayloadLogSettingUpdate, }, }, @@ -164,7 +160,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_DlpSettings": dlp_DlpSettings, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, "dlp_PayloadLogSetting": dlp_PayloadLogSetting, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -207,7 +202,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_DlpSettings": dlp_DlpSettings, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, "dlp_PayloadLogSetting": dlp_PayloadLogSetting, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -222,11 +216,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_settings_get", title: "Get DLP account-level settings.", - description: "Gets the account-level DLP settings.", + description: "Gets the account-level DLP settings.\n\nGET /accounts/{account_id}/dlp/settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -241,6 +236,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -258,7 +254,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_DlpSettings": dlp_DlpSettings, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, "dlp_PayloadLogSetting": dlp_PayloadLogSetting, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -302,7 +297,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_DlpSettings": dlp_DlpSettings, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, "dlp_PayloadLogSetting": dlp_PayloadLogSetting, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -316,7 +310,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_settings_update", title: "Update DLP account-level settings (full replacement).", - description: "Missing fields are reset to initial (unconfigured) values.", + description: "Missing fields are reset to initial (unconfigured) values.\n\nPUT /accounts/{account_id}/dlp/settings", inputSchema: { type: "object", properties: { @@ -325,6 +319,7 @@ export const tools: readonly Tool[] = [ "description": "New DLP settings." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -340,9 +335,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_DlpSettingsUpdate": dlp_DlpSettingsUpdate, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel$, "dlp_PayloadLogSettingUpdate": dlp_PayloadLogSettingUpdate, }, }, @@ -362,7 +357,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_DlpSettings": dlp_DlpSettings, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, "dlp_PayloadLogSetting": dlp_PayloadLogSetting, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -405,7 +399,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_DlpSettings": dlp_DlpSettings, - "dlp_PayloadLogMaskingLevel": dlp_PayloadLogMaskingLevel, "dlp_PayloadLogSetting": dlp_PayloadLogSetting, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts index 9c105c5c8..c03102c98 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/outputs.ts @@ -16,7 +16,16 @@ export const dlp_AttachedEntry: JsonSchema = { "type": "string" }, "type": { - "$ref": "#/$defs/dlp_EntryType" + "enum": [ + "custom", + "custom_prompt_topic", + "predefined", + "integration", + "exact_data", + "document_fingerprint", + "word_list" + ], + "type": "string" } }, "required": [ @@ -27,41 +36,18 @@ export const dlp_AttachedEntry: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_EntryType` in responses. - */ -export const dlp_EntryType: JsonSchema = { - "enum": [ - "custom", - "custom_prompt_topic", - "predefined", - "integration", - "exact_data", - "document_fingerprint", - "word_list" - ], - "type": "string" -}; - -/** - * The schema of `dlp_ProximityWeight` in responses. - */ -export const dlp_ProximityWeight: JsonSchema = { - "enum": [ - "strong", - "moderate", - "weak" - ], - "type": "string" -}; - /** * The schema of `dlp_ProximityWord` in responses. */ export const dlp_ProximityWord: JsonSchema = { "properties": { "weight": { - "$ref": "#/$defs/dlp_ProximityWeight" + "enum": [ + "strong", + "moderate", + "weak" + ], + "type": "string" }, "word": { "type": "string" @@ -197,23 +183,6 @@ export const dlp_ValidatorReferences: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_WorkerDefault` in responses. - */ -export const dlp_WorkerDefault: JsonSchema = { - "oneOf": [ - { - "type": "number" - }, - { - "enum": [ - "veto" - ], - "type": "string" - } - ] -}; - /** * The schema of `dlp_WorkerValidator` in responses. */ @@ -224,7 +193,17 @@ export const dlp_WorkerValidator: JsonSchema = { "type": "string" }, "default": { - "$ref": "#/$defs/dlp_WorkerDefault" + "oneOf": [ + { + "type": "number" + }, + { + "enum": [ + "veto" + ], + "type": "string" + } + ] }, "id": { "format": "uuid", diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts index 634d350c2..4a280f075 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/proximityWords/tools.ts @@ -10,16 +10,11 @@ import { } from "../../../outputs.js"; import { dlp_AttachedEntry, - dlp_EntryType, - dlp_ProximityWeight, dlp_ProximityWord, dlp_ProximityWordValidator, dlp_ValidatorReferences, } from "../outputs.js"; -import { - dlp_ProximityWeight as dlp_ProximityWeight$, - dlp_ProximityWord as dlp_ProximityWord$, -} from "../schemas.js"; +import { dlp_ProximityWord as dlp_ProximityWord$ } from "../schemas.js"; import { dlp_ProximityWordValidatorArray } from "./outputs.js"; import { dlp_ProximityWordValidatorWrite } from "./schemas.js"; @@ -30,7 +25,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_proximityWords_create", title: "Create a proximity word validator", - description: "Creates a reusable list of weighted words that detection entries can attach to in order to\nrefine their matches. An account may own at most 100 validators across all kinds.", + description: "Creates a reusable list of weighted words that detection entries can attach to in order to\nrefine their matches. An account may own at most 100 validators across all kinds.\n\nPOST /accounts/{account_id}/dlp/validators/proximity_words", inputSchema: { type: "object", properties: { @@ -39,6 +34,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the new validator." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -54,8 +50,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "dlp_ProximityWeight": dlp_ProximityWeight$, "dlp_ProximityWord": dlp_ProximityWord$, "dlp_ProximityWordValidatorWrite": dlp_ProximityWordValidatorWrite, }, @@ -76,8 +72,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_ValidatorReferences": dlp_ValidatorReferences, @@ -122,8 +116,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_ValidatorReferences": dlp_ValidatorReferences, @@ -140,11 +132,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_proximityWords_delete", title: "Delete a proximity word validator", - description: "Deletes a `proximity_words` validator. Fails with `409` while any detection entry is still\nattached to it; detach it from those entries first.", + description: "Deletes a `proximity_words` validator. Fails with `409` while any detection entry is still\nattached to it; detach it from those entries first.\n\nDELETE /accounts/{account_id}/dlp/validators/proximity_words/{validator_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -164,6 +157,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -234,11 +228,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_proximityWords_get", title: "Get a proximity word validator", - description: "Fetches a `proximity_words` validator by ID.", + description: "Fetches a `proximity_words` validator by ID.\n\nGET /accounts/{account_id}/dlp/validators/proximity_words/{validator_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -258,6 +253,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -275,8 +271,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_ValidatorReferences": dlp_ValidatorReferences, @@ -322,8 +316,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_ValidatorReferences": dlp_ValidatorReferences, @@ -339,11 +331,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_proximityWords_list", title: "List proximity word validators", - description: "Lists the `proximity_words` validators configured for the account.", + description: "Lists the `proximity_words` validators configured for the account.\n\nGET /accounts/{account_id}/dlp/validators/proximity_words", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -358,6 +351,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -375,8 +369,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_ProximityWordValidatorArray": dlp_ProximityWordValidatorArray, @@ -423,8 +415,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_ProximityWordValidatorArray": dlp_ProximityWordValidatorArray, @@ -441,7 +431,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_proximityWords_update", title: "Update a proximity word validator", - description: "Replaces the name and word list of a `proximity_words` validator. Attachments to detection\nentries are owned from the entry side and are not affected.", + description: "Replaces the name and word list of a `proximity_words` validator. Attachments to detection\nentries are owned from the entry side and are not affected.\n\nPUT /accounts/{account_id}/dlp/validators/proximity_words/{validator_id}", inputSchema: { type: "object", properties: { @@ -450,6 +440,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the validator to update." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -470,8 +461,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "dlp_ProximityWeight": dlp_ProximityWeight$, "dlp_ProximityWord": dlp_ProximityWord$, "dlp_ProximityWordValidatorWrite": dlp_ProximityWordValidatorWrite, }, @@ -492,8 +483,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_ValidatorReferences": dlp_ValidatorReferences, @@ -538,8 +527,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_ValidatorReferences": dlp_ValidatorReferences, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/schemas.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/schemas.ts index a759971f8..3ae1b89e6 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/schemas.ts @@ -3,19 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `dlp_ProximityWeight`. - */ -export const dlp_ProximityWeight: JsonSchema = { - "description": "How much a word contributes to a match's confidence when it is found nearby.\n\nSeparate from a profile's high/medium/low confidence threshold: this describes how telling the\nword is, not how confident the resulting match is.", - "enum": [ - "strong", - "moderate", - "weak" - ], - "type": "string" -}; - /** * The schema of `dlp_ProximityWord`. */ @@ -23,8 +10,13 @@ export const dlp_ProximityWord: JsonSchema = { "description": "A word that raises a match's confidence when it appears near the match.", "properties": { "weight": { - "$ref": "#/$defs/dlp_ProximityWeight", - "description": "How much a word contributes to a match's confidence when it is found nearby.\n\nSeparate from a profile's high/medium/low confidence threshold: this describes how telling the\nword is, not how confident the resulting match is." + "description": "How much a word contributes to a match's confidence when it is found nearby.\n\nSeparate from a profile's high/medium/low confidence threshold: this describes how telling the\nword is, not how confident the resulting match is.", + "enum": [ + "strong", + "moderate", + "weak" + ], + "type": "string" }, "word": { "description": "The word or phrase to look for. Must contain 1–128 characters and is matched\ncase-insensitively.", @@ -37,32 +29,3 @@ export const dlp_ProximityWord: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `dlp_ValidatorKind`. - */ -export const dlp_ValidatorKind: JsonSchema = { - "description": "The type of a validator, and the accepted values of the `kind` filter when listing.", - "enum": [ - "proximity_words", - "worker" - ], - "type": "string" -}; - -/** - * The schema of `dlp_WorkerDefault`. - */ -export const dlp_WorkerDefault: JsonSchema = { - "oneOf": [ - { - "type": "number" - }, - { - "enum": [ - "veto" - ], - "type": "string" - } - ] -}; diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts index 32e299052..4cbdcb162 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/tools.ts @@ -9,17 +9,13 @@ import { } from "../../outputs.js"; import { dlp_AttachedEntry, - dlp_EntryType, - dlp_ProximityWeight, dlp_ProximityWord, dlp_ProximityWordValidator, dlp_Validator, dlp_ValidatorArray, dlp_ValidatorReferences, - dlp_WorkerDefault, dlp_WorkerValidator, } from "./outputs.js"; -import { dlp_ValidatorKind } from "./schemas.js"; /** * The tools of `zeroTrust.dlp.validators`. @@ -28,11 +24,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_get", title: "Get a validator", - description: "Fetches a validator of any kind by ID.", + description: "Fetches a validator of any kind by ID.\n\nGET /accounts/{account_id}/dlp/validators/{validator_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -52,6 +49,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -69,13 +67,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_Validator": dlp_Validator, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -119,13 +114,10 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_Validator": dlp_Validator, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -139,11 +131,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_list", title: "List validators", - description: "Lists the validators configured for the account, of every kind.", + description: "Lists the validators configured for the account, of every kind.\n\nGET /accounts/{account_id}/dlp/validators", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -155,12 +148,18 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "kind": { "description": "Only return validators of this kind. Omit to return every kind.", "oneOf": [ { - "$ref": "#/$defs/dlp_ValidatorKind" + "description": "The type of a validator, and the accepted values of the `kind` filter when listing.", + "enum": [ + "proximity_words", + "worker" + ], + "type": "string" }, { "type": "null" @@ -174,9 +173,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "dlp_ValidatorKind": dlp_ValidatorKind, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -194,14 +191,11 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_Validator": dlp_Validator, "dlp_ValidatorArray": dlp_ValidatorArray, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -245,14 +239,11 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, - "dlp_ProximityWeight": dlp_ProximityWeight, "dlp_ProximityWord": dlp_ProximityWord, "dlp_ProximityWordValidator": dlp_ProximityWordValidator, "dlp_Validator": dlp_Validator, "dlp_ValidatorArray": dlp_ValidatorArray, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/schemas.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/schemas.ts index 6db872f46..48eb1fc22 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/schemas.ts @@ -10,7 +10,17 @@ export const dlp_WorkerValidatorWrite: JsonSchema = { "description": "The attributes of a worker validator.", "properties": { "default": { - "$ref": "#/$defs/dlp_WorkerDefault" + "oneOf": [ + { + "type": "number" + }, + { + "enum": [ + "veto" + ], + "type": "string" + } + ] }, "name": { "description": "A name for this validator, at most 50 characters.", diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts index abf54ed0b..34a7b6cd2 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/outputs.ts @@ -3,26 +3,19 @@ import type { JsonSchema } from "../../../../../_/tool.js"; -/** - * The schema of `dlp_WorkerStatus` in responses. - */ -export const dlp_WorkerStatus: JsonSchema = { - "enum": [ - "worker_not_found", - "worker_error", - "configured", - "active" - ], - "type": "string" -}; - /** * The schema of `dlp_WorkerValidatorStatus` in responses. */ export const dlp_WorkerValidatorStatus: JsonSchema = { "properties": { "status": { - "$ref": "#/$defs/dlp_WorkerStatus" + "enum": [ + "worker_not_found", + "worker_error", + "configured", + "active" + ], + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts index a6dc9f55c..31b8a863b 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/status/tools.ts @@ -7,7 +7,7 @@ import { dlp_api$$response$$single, dlp_messages, } from "../../../../outputs.js"; -import { dlp_WorkerStatus, dlp_WorkerValidatorStatus } from "./outputs.js"; +import { dlp_WorkerValidatorStatus } from "./outputs.js"; /** * The tools of `zeroTrust.dlp.validators.worker.status`. @@ -16,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_worker_status_get", title: "Get a worker validator status", - description: "Reports whether the validator's Worker can be used. Returns `worker_not_found` if the Worker\ncannot be found, and `worker_error` if the Worker does not have a valid validation entrypoint\nor is returning incorrect responses.", + description: "Reports whether the validator's Worker can be used. Returns `worker_not_found` if the Worker\ncannot be found, and `worker_error` if the Worker does not have a valid validation entrypoint\nor is returning incorrect responses.\n\nGET /accounts/{account_id}/dlp/validators/worker/{validator_id}/status", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -40,6 +41,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -56,7 +58,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_WorkerStatus": dlp_WorkerStatus, "dlp_WorkerValidatorStatus": dlp_WorkerValidatorStatus, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -99,7 +100,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_WorkerStatus": dlp_WorkerStatus, "dlp_WorkerValidatorStatus": dlp_WorkerValidatorStatus, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts index edd307dec..f2493a44c 100644 --- a/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/dlp/validators/worker/tools.ts @@ -10,12 +10,9 @@ import { } from "../../../outputs.js"; import { dlp_AttachedEntry, - dlp_EntryType, dlp_ValidatorReferences, - dlp_WorkerDefault, dlp_WorkerValidator, } from "../outputs.js"; -import { dlp_WorkerDefault as dlp_WorkerDefault$ } from "../schemas.js"; import { dlp_WorkerValidatorArray } from "./outputs.js"; import { dlp_WorkerValidatorWrite } from "./schemas.js"; @@ -26,7 +23,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_worker_create", title: "Create a worker validator", - description: "Registers a customer Worker as a validator. An account may own at most 100 validators across\nall kinds.", + description: "Registers a customer Worker as a validator. An account may own at most 100 validators across\nall kinds.\n\nPOST /accounts/{account_id}/dlp/validators/worker", inputSchema: { type: "object", properties: { @@ -35,6 +32,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the new validator." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -50,8 +48,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "dlp_WorkerDefault": dlp_WorkerDefault$, "dlp_WorkerValidatorWrite": dlp_WorkerValidatorWrite, }, }, @@ -71,9 +69,7 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -116,9 +112,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -133,11 +127,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_worker_delete", title: "Delete a worker validator", - description: "Deletes a `worker` validator. Fails with `409` while any detection entry is still attached to\nit; detach it from those entries first.", + description: "Deletes a `worker` validator. Fails with `409` while any detection entry is still attached to\nit; detach it from those entries first.\n\nDELETE /accounts/{account_id}/dlp/validators/worker/{validator_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -157,6 +152,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -227,11 +223,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_worker_get", title: "Get a worker validator", - description: "Fetches a `worker` validator by ID.", + description: "Fetches a `worker` validator by ID.\n\nGET /accounts/{account_id}/dlp/validators/worker/{validator_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -251,6 +248,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -268,9 +266,7 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -314,9 +310,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, @@ -330,11 +324,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_worker_list", title: "List worker validators", - description: "Lists the `worker` validators configured for the account.", + description: "Lists the `worker` validators configured for the account.\n\nGET /accounts/{account_id}/dlp/validators/worker", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -349,6 +344,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -366,9 +362,7 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_WorkerValidatorArray": dlp_WorkerValidatorArray, "dlp_api-response-single": dlp_api$$response$$single, @@ -413,9 +407,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_WorkerValidatorArray": dlp_WorkerValidatorArray, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, @@ -430,7 +422,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_dlp_validators_worker_update", title: "Update a worker validator", - description: "Replaces the name, script tag and fallback verdict of a `worker` validator. Attachments to\ndetection entries are owned from the entry side and are not affected.", + description: "Replaces the name, script tag and fallback verdict of a `worker` validator. Attachments to\ndetection entries are owned from the entry side and are not affected.\n\nPUT /accounts/{account_id}/dlp/validators/worker/{validator_id}", inputSchema: { type: "object", properties: { @@ -439,6 +431,7 @@ export const tools: readonly Tool[] = [ "description": "Attributes of the validator to update." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -459,8 +452,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "dlp_WorkerDefault": dlp_WorkerDefault$, "dlp_WorkerValidatorWrite": dlp_WorkerValidatorWrite, }, }, @@ -480,9 +473,7 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -525,9 +516,7 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_AttachedEntry": dlp_AttachedEntry, - "dlp_EntryType": dlp_EntryType, "dlp_ValidatorReferences": dlp_ValidatorReferences, - "dlp_WorkerDefault": dlp_WorkerDefault, "dlp_WorkerValidator": dlp_WorkerValidator, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts index 632b6d1c1..b9c0f1bcd 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/outputs.ts @@ -17,36 +17,23 @@ export const zero$$trust$$gateway_app$$types: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_app_id` in responses. - */ -export const zero$$trust$$gateway_app_id: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `zero-trust-gateway_app_type_id` in responses. - */ -export const zero$$trust$$gateway_app_type_id: JsonSchema = { - "type": "integer" -}; - /** * The schema of `zero-trust-gateway_application` in responses. */ export const zero$$trust$$gateway_application: JsonSchema = { "properties": { "application_type_id": { - "$ref": "#/$defs/zero-trust-gateway_app_type_id" + "type": "integer" }, "created_at": { - "$ref": "#/$defs/zero-trust-gateway_timestamp" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_app_id" + "type": "integer" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-4" + "type": "string" } }, "type": "object" @@ -58,28 +45,22 @@ export const zero$$trust$$gateway_application: JsonSchema = { export const zero$$trust$$gateway_application_type: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/zero-trust-gateway_timestamp" + "format": "date-time", + "type": "string" }, "description": { "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_app_type_id" + "type": "integer" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-4" + "type": "string" } }, "type": "object" }; -/** - * The schema of `zero-trust-gateway_name-4` in responses. - */ -export const zero$$trust$$gateway_name$$4: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_response_collection-7` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts index 51c067359..83bf9f147 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/appTypes/tools.ts @@ -10,16 +10,11 @@ import { zero$$trust$$gateway_api$$response$$collection, zero$$trust$$gateway_api$$response$$common, zero$$trust$$gateway_result_info, - zero$$trust$$gateway_timestamp, } from "../outputs.js"; -import { zero$$trust$$gateway_identifier$$3 } from "../schemas.js"; import { zero$$trust$$gateway_app$$types, - zero$$trust$$gateway_app_id, - zero$$trust$$gateway_app_type_id, zero$$trust$$gateway_application, zero$$trust$$gateway_application_type, - zero$$trust$$gateway_name$$4, zero$$trust$$gateway_response_collection$$7, } from "./outputs.js"; @@ -30,15 +25,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_appTypes_list", title: "List application and application type mappings", - description: "List all application and application type mappings.", + description: "List all application and application type mappings.\n\nGET /accounts/{account_id}/gateway/app_types", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-3", - "description": "Provide the identifier string." + "description": "Provide the identifier string.", + "type": "string" } }, "required": [ @@ -50,9 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-3": zero$$trust$$gateway_identifier$$3, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-7", @@ -60,15 +54,11 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_app-types": zero$$trust$$gateway_app$$types, - "zero-trust-gateway_app_id": zero$$trust$$gateway_app_id, - "zero-trust-gateway_app_type_id": zero$$trust$$gateway_app_type_id, "zero-trust-gateway_application": zero$$trust$$gateway_application, "zero-trust-gateway_application_type": zero$$trust$$gateway_application_type, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-4": zero$$trust$$gateway_name$$4, "zero-trust-gateway_response_collection-7": zero$$trust$$gateway_response_collection$$7, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, }, }, annotations: { @@ -107,15 +97,11 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_app-types": zero$$trust$$gateway_app$$types, - "zero-trust-gateway_app_id": zero$$trust$$gateway_app_id, - "zero-trust-gateway_app_type_id": zero$$trust$$gateway_app_type_id, "zero-trust-gateway_application": zero$$trust$$gateway_application, "zero-trust-gateway_application_type": zero$$trust$$gateway_application_type, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-4": zero$$trust$$gateway_name$$4, "zero-trust-gateway_response_collection-7": zero$$trust$$gateway_response_collection$$7, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts index 85bfa405a..cb4a04292 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/categories/outputs.ts @@ -3,32 +3,32 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_beta` in responses. - */ -export const zero$$trust$$gateway_beta: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `zero-trust-gateway_categories` in responses. */ export const zero$$trust$$gateway_categories: JsonSchema = { "properties": { "beta": { - "$ref": "#/$defs/zero-trust-gateway_beta" + "type": "boolean" }, "class": { - "$ref": "#/$defs/zero-trust-gateway_class" + "enum": [ + "free", + "premium", + "blocked", + "removalPending", + "noBlock" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description-3" + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_id" + "type": "integer" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-5" + "type": "string" }, "subcategories": { "items": { @@ -40,41 +40,6 @@ export const zero$$trust$$gateway_categories: JsonSchema = { "type": "object" }; -/** - * The schema of `zero-trust-gateway_class` in responses. - */ -export const zero$$trust$$gateway_class: JsonSchema = { - "enum": [ - "free", - "premium", - "blocked", - "removalPending", - "noBlock" - ], - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_description-3` in responses. - */ -export const zero$$trust$$gateway_description$$3: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_id` in responses. - */ -export const zero$$trust$$gateway_id: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `zero-trust-gateway_name-5` in responses. - */ -export const zero$$trust$$gateway_name$$5: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_response_collection-8` in responses. */ @@ -103,19 +68,26 @@ export const zero$$trust$$gateway_response_collection$$8: JsonSchema = { export const zero$$trust$$gateway_subcategory: JsonSchema = { "properties": { "beta": { - "$ref": "#/$defs/zero-trust-gateway_beta" + "type": "boolean" }, "class": { - "$ref": "#/$defs/zero-trust-gateway_class" + "enum": [ + "free", + "premium", + "blocked", + "removalPending", + "noBlock" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description-3" + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_id" + "type": "integer" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-5" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts index 66d849c19..114a0be40 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/categories/tools.ts @@ -11,14 +11,8 @@ import { zero$$trust$$gateway_api$$response$$common, zero$$trust$$gateway_result_info, } from "../outputs.js"; -import { zero$$trust$$gateway_identifier$$3 } from "../schemas.js"; import { - zero$$trust$$gateway_beta, zero$$trust$$gateway_categories, - zero$$trust$$gateway_class, - zero$$trust$$gateway_description$$3, - zero$$trust$$gateway_id, - zero$$trust$$gateway_name$$5, zero$$trust$$gateway_response_collection$$8, zero$$trust$$gateway_subcategory, } from "./outputs.js"; @@ -30,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_categories_list", title: "List categories", - description: "List all categories.", + description: "List all categories.\n\nGET /accounts/{account_id}/gateway/categories", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-3", - "description": "Provide the identifier string." + "description": "Provide the identifier string.", + "type": "string" } }, "required": [ @@ -50,22 +45,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-3": zero$$trust$$gateway_identifier$$3, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-8", $defs: { "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, - "zero-trust-gateway_beta": zero$$trust$$gateway_beta, "zero-trust-gateway_categories": zero$$trust$$gateway_categories, - "zero-trust-gateway_class": zero$$trust$$gateway_class, - "zero-trust-gateway_description-3": zero$$trust$$gateway_description$$3, - "zero-trust-gateway_id": zero$$trust$$gateway_id, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-5": zero$$trust$$gateway_name$$5, "zero-trust-gateway_response_collection-8": zero$$trust$$gateway_response_collection$$8, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, "zero-trust-gateway_subcategory": zero$$trust$$gateway_subcategory, @@ -106,13 +94,8 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, - "zero-trust-gateway_beta": zero$$trust$$gateway_beta, "zero-trust-gateway_categories": zero$$trust$$gateway_categories, - "zero-trust-gateway_class": zero$$trust$$gateway_class, - "zero-trust-gateway_description-3": zero$$trust$$gateway_description$$3, - "zero-trust-gateway_id": zero$$trust$$gateway_id, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-5": zero$$trust$$gateway_name$$5, "zero-trust-gateway_response_collection-8": zero$$trust$$gateway_response_collection$$8, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, "zero-trust-gateway_subcategory": zero$$trust$$gateway_subcategory, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts index a587876c1..7ad34165a 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/certificates/outputs.ts @@ -3,41 +3,36 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_binding_status` in responses. - */ -export const zero$$trust$$gateway_binding_status: JsonSchema = { - "enum": [ - "pending_deployment", - "available", - "pending_deletion", - "inactive" - ], - "type": "string" -}; - /** * The schema of `zero-trust-gateway_certificates` in responses. */ export const zero$$trust$$gateway_certificates: JsonSchema = { "properties": { "binding_status": { - "$ref": "#/$defs/zero-trust-gateway_binding_status" + "enum": [ + "pending_deployment", + "available", + "pending_deletion", + "inactive" + ], + "type": "string" }, "certificate": { "type": "string" }, "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "expires_on": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "fingerprint": { "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_uuid" + "type": "string" }, "in_use": { "type": "boolean" @@ -49,28 +44,27 @@ export const zero$$trust$$gateway_certificates: JsonSchema = { "type": "string" }, "region": { - "$ref": "#/$defs/zero-trust-gateway_region" + "type": "string" }, "type": { - "$ref": "#/$defs/zero-trust-gateway_type" + "enum": [ + "custom", + "gateway_managed" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "uploaded_on": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" }; -/** - * The schema of `zero-trust-gateway_region` in responses. - */ -export const zero$$trust$$gateway_region: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_response_collection` in responses. */ @@ -111,21 +105,3 @@ export const zero$$trust$$gateway_single_response: JsonSchema = { } ] }; - -/** - * The schema of `zero-trust-gateway_type` in responses. - */ -export const zero$$trust$$gateway_type: JsonSchema = { - "enum": [ - "custom", - "gateway_managed" - ], - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_uuid` in responses. - */ -export const zero$$trust$$gateway_uuid: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/certificates/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/certificates/schemas.ts index aaf8ff3f6..e00601fc8 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/certificates/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/certificates/schemas.ts @@ -15,11 +15,3 @@ export const zero$$trust$$gateway_generate$$cert$$request: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `zero-trust-gateway_uuid`. - */ -export const zero$$trust$$gateway_uuid: JsonSchema = { - "description": "Identify the certificate with a UUID.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts index 31c8799a7..7dac0b7d3 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/certificates/tools.ts @@ -6,27 +6,18 @@ import { zero$$trust$$gateway_api$$response$$common$$failure, zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, - zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { zero$$trust$$gateway_api$$response$$collection, zero$$trust$$gateway_api$$response$$common, zero$$trust$$gateway_result_info, } from "../outputs.js"; import { - zero$$trust$$gateway_binding_status, zero$$trust$$gateway_certificates, - zero$$trust$$gateway_region, zero$$trust$$gateway_response_collection, zero$$trust$$gateway_single_response, - zero$$trust$$gateway_type, - zero$$trust$$gateway_uuid, } from "./outputs.js"; -import { - zero$$trust$$gateway_generate$$cert$$request, - zero$$trust$$gateway_uuid as zero$$trust$$gateway_uuid$, -} from "./schemas.js"; +import { zero$$trust$$gateway_generate$$cert$$request } from "./schemas.js"; /** * The tools of `zeroTrust.gateway.certificates`. @@ -35,19 +26,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_certificates_activate", title: "Activate a Zero Trust certificate", - description: "Bind a single Zero Trust certificate to the edge.", + description: "Bind a single Zero Trust certificate to the edge.\n\nPOST /accounts/{account_id}/gateway/certificates/{certificate_id}/activate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "certificate_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid", - "description": "Identify the certificate with a UUID." + "description": "Identify the certificate with a UUID.", + "type": "string" } }, "required": [ @@ -60,23 +52,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -107,14 +91,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -124,7 +103,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_certificates_create", title: "Create Zero Trust certificate", - description: "Create a new Zero Trust certificate.", + description: "Create a new Zero Trust certificate.\n\nPOST /accounts/{account_id}/gateway/certificates", inputSchema: { type: "object", properties: { @@ -132,10 +111,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/zero-trust-gateway_generate-cert-request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -147,23 +127,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "zero-trust-gateway_generate-cert-request": zero$$trust$$gateway_generate$$cert$$request, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -194,14 +169,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -212,19 +182,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_certificates_deactivate", title: "Deactivate a Zero Trust certificate", - description: "Unbind a single Zero Trust certificate from the edge.", + description: "Unbind a single Zero Trust certificate from the edge.\n\nPOST /accounts/{account_id}/gateway/certificates/{certificate_id}/deactivate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "certificate_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid", - "description": "Identify the certificate with a UUID." + "description": "Identify the certificate with a UUID.", + "type": "string" } }, "required": [ @@ -237,23 +208,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -284,14 +247,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -301,19 +259,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_certificates_delete", title: "Delete Zero Trust certificate", - description: "Delete a gateway-managed Zero Trust certificate. You must deactivate the certificate from the edge (inactive) before deleting it.", + description: "Delete a gateway-managed Zero Trust certificate. You must deactivate the certificate from the edge (inactive) before deleting it.\n\nDELETE /accounts/{account_id}/gateway/certificates/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "certificate_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid", - "description": "Identify the certificate with a UUID." + "description": "Identify the certificate with a UUID.", + "type": "string" } }, "required": [ @@ -326,23 +285,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -373,14 +324,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -390,19 +336,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_certificates_get", title: "Get Zero Trust certificate details", - description: "Get a single Zero Trust certificate.", + description: "Get a single Zero Trust certificate.\n\nGET /accounts/{account_id}/gateway/certificates/{certificate_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "certificate_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid", - "description": "Identify the certificate with a UUID." + "description": "Identify the certificate with a UUID.", + "type": "string" } }, "required": [ @@ -415,23 +362,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -462,14 +401,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_single_response": zero$$trust$$gateway_single_response, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ @@ -479,15 +413,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_certificates_list", title: "List Zero Trust certificates", - description: "List all Zero Trust certificates for an account.", + description: "List all Zero Trust certificates for an account.\n\nGET /accounts/{account_id}/gateway/certificates", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -499,24 +434,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection", $defs: { "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_response_collection": zero$$trust$$gateway_response_collection, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, annotations: { @@ -548,15 +476,10 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, - "zero-trust-gateway_binding_status": zero$$trust$$gateway_binding_status, "zero-trust-gateway_certificates": zero$$trust$$gateway_certificates, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_region": zero$$trust$$gateway_region, "zero-trust-gateway_response_collection": zero$$trust$$gateway_response_collection, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_type": zero$$trust$$gateway_type, - "zero-trust-gateway_uuid": zero$$trust$$gateway_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts index 07bea6f9c..4d5ebf720 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/configurations/outputs.ts @@ -37,13 +37,34 @@ export const zero$$trust$$gateway_anti$$virus$$settings: JsonSchema = { { "properties": { "enabled_download_phase": { - "$ref": "#/$defs/zero-trust-gateway_enabled_download_phase" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "enabled_upload_phase": { - "$ref": "#/$defs/zero-trust-gateway_enabled_upload_phase" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "fail_closed": { - "$ref": "#/$defs/zero-trust-gateway_fail_closed" + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "notification_settings": { "$ref": "#/$defs/zero-trust-gateway_notification_settings" @@ -257,34 +278,6 @@ export const zero$$trust$$gateway_custom$$certificate$$settings: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_enabled_download_phase` in responses. - */ -export const zero$$trust$$gateway_enabled_download_phase: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `zero-trust-gateway_enabled_upload_phase` in responses. - */ -export const zero$$trust$$gateway_enabled_upload_phase: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `zero-trust-gateway_extended-email-matching` in responses. */ @@ -320,20 +313,6 @@ export const zero$$trust$$gateway_extended$$email$$matching: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_fail_closed` in responses. - */ -export const zero$$trust$$gateway_fail_closed: JsonSchema = { - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `zero-trust-gateway_fips-settings` in responses. */ @@ -394,7 +373,14 @@ export const zero$$trust$$gateway_gateway$$account$$settings: JsonSchema = { "$ref": "#/$defs/zero-trust-gateway_inspection-settings" }, "max_ttl_secs": { - "$ref": "#/$defs/zero-trust-gateway_max-ttl-secs" + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "protocol_detection": { "$ref": "#/$defs/zero-trust-gateway_protocol-detection" @@ -430,10 +416,12 @@ export const zero$$trust$$gateway_gateway_account_config: JsonSchema = { { "properties": { "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -495,20 +483,6 @@ export const zero$$trust$$gateway_inspection$$settings: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_max-ttl-secs` in responses. - */ -export const zero$$trust$$gateway_max$$ttl$$secs: JsonSchema = { - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `zero-trust-gateway_notification_settings` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/configurations/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/configurations/schemas.ts index e03655769..50094a7b7 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/configurations/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/configurations/schemas.ts @@ -40,16 +40,37 @@ export const zero$$trust$$gateway_anti$$virus$$settings: JsonSchema = { { "properties": { "enabled_download_phase": { - "$ref": "#/$defs/zero-trust-gateway_enabled_download_phase", - "description": "Specify whether to enable anti-virus scanning on downloads." + "description": "Specify whether to enable anti-virus scanning on downloads.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "enabled_upload_phase": { - "$ref": "#/$defs/zero-trust-gateway_enabled_upload_phase", - "description": "Specify whether to enable anti-virus scanning on uploads." + "description": "Specify whether to enable anti-virus scanning on uploads.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "fail_closed": { - "$ref": "#/$defs/zero-trust-gateway_fail_closed", - "description": "Specify whether to block requests for unscannable files." + "description": "Specify whether to block requests for unscannable files.", + "oneOf": [ + { + "type": "boolean" + }, + { + "type": "null" + } + ] }, "notification_settings": { "$ref": "#/$defs/zero-trust-gateway_notification_settings", @@ -252,36 +273,6 @@ export const zero$$trust$$gateway_custom$$certificate$$settings: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_enabled_download_phase`. - */ -export const zero$$trust$$gateway_enabled_download_phase: JsonSchema = { - "description": "Specify whether to enable anti-virus scanning on downloads.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `zero-trust-gateway_enabled_upload_phase`. - */ -export const zero$$trust$$gateway_enabled_upload_phase: JsonSchema = { - "description": "Specify whether to enable anti-virus scanning on uploads.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `zero-trust-gateway_extended-email-matching`. */ @@ -310,21 +301,6 @@ export const zero$$trust$$gateway_extended$$email$$matching: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_fail_closed`. - */ -export const zero$$trust$$gateway_fail_closed: JsonSchema = { - "description": "Specify whether to block requests for unscannable files.", - "oneOf": [ - { - "type": "boolean" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `zero-trust-gateway_fips-settings`. */ @@ -400,8 +376,15 @@ export const zero$$trust$$gateway_gateway$$account$$settings: JsonSchema = { "description": "Define the proxy inspection mode." }, "max_ttl_secs": { - "$ref": "#/$defs/zero-trust-gateway_max-ttl-secs", - "description": "Account-level cap on DNS response TTLs, in seconds. Gateway rewrites DNS responses so returned record TTLs do not exceed this value. Null means no cap. Each DNS location can inherit, override, or disable it through the location `max_ttl` setting." + "description": "Account-level cap on DNS response TTLs, in seconds. Gateway rewrites DNS responses so returned record TTLs do not exceed this value. Null means no cap. Each DNS location can inherit, override, or disable it through the location `max_ttl` setting.", + "oneOf": [ + { + "type": "integer" + }, + { + "type": "null" + } + ] }, "protocol_detection": { "$ref": "#/$defs/zero-trust-gateway_protocol-detection", @@ -475,21 +458,6 @@ export const zero$$trust$$gateway_inspection$$settings: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_max-ttl-secs`. - */ -export const zero$$trust$$gateway_max$$ttl$$secs: JsonSchema = { - "description": "Account-level cap on DNS response TTLs, in seconds. Gateway rewrites DNS responses so returned record TTLs do not exceed this value. Null means no cap. Each DNS location can inherit, override, or disable it through the location `max_ttl` setting.", - "oneOf": [ - { - "type": "integer" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `zero-trust-gateway_notification_settings`. */ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts index e5883e1c1..17500c452 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/configurations/tools.ts @@ -6,9 +6,7 @@ import { zero$$trust$$gateway_api$$response$$common$$failure, zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, - zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero$$trust$$gateway_identifier } from "../schemas.js"; import { zero$$trust$$gateway_activity$$log$$settings, zero$$trust$$gateway_anti$$virus$$settings, @@ -17,16 +15,12 @@ import { zero$$trust$$gateway_browser$$isolation$$settings, zero$$trust$$gateway_certificate$$settings, zero$$trust$$gateway_custom$$certificate$$settings, - zero$$trust$$gateway_enabled_download_phase, - zero$$trust$$gateway_enabled_upload_phase, zero$$trust$$gateway_extended$$email$$matching, - zero$$trust$$gateway_fail_closed, zero$$trust$$gateway_fips$$settings, zero$$trust$$gateway_gateway$$account$$settings, zero$$trust$$gateway_gateway_account_config, zero$$trust$$gateway_host$$selector$$settings, zero$$trust$$gateway_inspection$$settings, - zero$$trust$$gateway_max$$ttl$$secs, zero$$trust$$gateway_notification_settings, zero$$trust$$gateway_protocol$$detection, zero$$trust$$gateway_sandbox, @@ -40,15 +34,11 @@ import { zero$$trust$$gateway_browser$$isolation$$settings as zero$$trust$$gateway_browser$$isolation$$settings$, zero$$trust$$gateway_certificate$$settings as zero$$trust$$gateway_certificate$$settings$, zero$$trust$$gateway_custom$$certificate$$settings as zero$$trust$$gateway_custom$$certificate$$settings$, - zero$$trust$$gateway_enabled_download_phase as zero$$trust$$gateway_enabled_download_phase$, - zero$$trust$$gateway_enabled_upload_phase as zero$$trust$$gateway_enabled_upload_phase$, zero$$trust$$gateway_extended$$email$$matching as zero$$trust$$gateway_extended$$email$$matching$, - zero$$trust$$gateway_fail_closed as zero$$trust$$gateway_fail_closed$, zero$$trust$$gateway_fips$$settings as zero$$trust$$gateway_fips$$settings$, zero$$trust$$gateway_gateway$$account$$settings as zero$$trust$$gateway_gateway$$account$$settings$, zero$$trust$$gateway_host$$selector$$settings as zero$$trust$$gateway_host$$selector$$settings$, zero$$trust$$gateway_inspection$$settings as zero$$trust$$gateway_inspection$$settings$, - zero$$trust$$gateway_max$$ttl$$secs as zero$$trust$$gateway_max$$ttl$$secs$, zero$$trust$$gateway_notification_settings as zero$$trust$$gateway_notification_settings$, zero$$trust$$gateway_protocol$$detection as zero$$trust$$gateway_protocol$$detection$, zero$$trust$$gateway_sandbox as zero$$trust$$gateway_sandbox$, @@ -62,7 +52,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_configurations_edit", title: "Patch Zero Trust account configuration", - description: "Update (PATCH) a single subcollection of settings such as `antivirus`, `tls_decrypt`, `activity_log`, `block_page`, `browser_isolation`, `fips`, `body_scanning`, `certificate`, or `max_ttl_secs` without updating the entire configuration object. This endpoint returns an error if any settings collection lacks proper configuration.", + description: "Update (PATCH) a single subcollection of settings such as `antivirus`, `tls_decrypt`, `activity_log`, `block_page`, `browser_isolation`, `fips`, `body_scanning`, `certificate`, or `max_ttl_secs` without updating the entire configuration object. This endpoint returns an error if any settings collection lacks proper configuration.\n\nPATCH /accounts/{account_id}/gateway/configuration", inputSchema: { type: "object", properties: { @@ -70,10 +60,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/zero-trust-gateway_gateway-account-settings" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -86,6 +77,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings$, "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings$, @@ -94,16 +86,11 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings$, "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings$, "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings$, - "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase$, - "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase$, "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching$, - "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed$, "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings$, "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings$, "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings$, - "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings$, - "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs$, "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings$, "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection$, "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox$, @@ -121,20 +108,15 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, - "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, - "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, - "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, - "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, @@ -174,20 +156,15 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, - "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, - "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, - "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, - "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, @@ -200,15 +177,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_configurations_get", title: "Get Zero Trust account configuration", - description: "Retrieve the current Zero Trust account configuration.", + description: "Retrieve the current Zero Trust account configuration.\n\nGET /accounts/{account_id}/gateway/configuration", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -220,9 +198,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway_account_config", @@ -235,20 +211,15 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, - "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, - "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, - "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, - "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, @@ -288,20 +259,15 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, - "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, - "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, - "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, - "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, @@ -313,7 +279,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_configurations_update", title: "Update Zero Trust account configuration", - description: "Update the current Zero Trust account configuration.", + description: "Update the current Zero Trust account configuration.\n\nPUT /accounts/{account_id}/gateway/configuration", inputSchema: { type: "object", properties: { @@ -321,10 +287,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/zero-trust-gateway_gateway-account-settings" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -337,6 +304,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "zero-trust-gateway_activity-log-settings": zero$$trust$$gateway_activity$$log$$settings$, "zero-trust-gateway_anti-virus-settings": zero$$trust$$gateway_anti$$virus$$settings$, @@ -345,16 +313,11 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings$, "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings$, "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings$, - "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase$, - "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase$, "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching$, - "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed$, "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings$, "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings$, "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings$, - "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings$, - "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs$, "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings$, "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection$, "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox$, @@ -372,20 +335,15 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, - "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, - "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, - "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, - "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, @@ -425,20 +383,15 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_browser-isolation-settings": zero$$trust$$gateway_browser$$isolation$$settings, "zero-trust-gateway_certificate-settings": zero$$trust$$gateway_certificate$$settings, "zero-trust-gateway_custom-certificate-settings": zero$$trust$$gateway_custom$$certificate$$settings, - "zero-trust-gateway_enabled_download_phase": zero$$trust$$gateway_enabled_download_phase, - "zero-trust-gateway_enabled_upload_phase": zero$$trust$$gateway_enabled_upload_phase, "zero-trust-gateway_extended-email-matching": zero$$trust$$gateway_extended$$email$$matching, - "zero-trust-gateway_fail_closed": zero$$trust$$gateway_fail_closed, "zero-trust-gateway_fips-settings": zero$$trust$$gateway_fips$$settings, "zero-trust-gateway_gateway-account-settings": zero$$trust$$gateway_gateway$$account$$settings, "zero-trust-gateway_gateway_account_config": zero$$trust$$gateway_gateway_account_config, "zero-trust-gateway_host-selector-settings": zero$$trust$$gateway_host$$selector$$settings, "zero-trust-gateway_inspection-settings": zero$$trust$$gateway_inspection$$settings, - "zero-trust-gateway_max-ttl-secs": zero$$trust$$gateway_max$$ttl$$secs, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, "zero-trust-gateway_notification_settings": zero$$trust$$gateway_notification_settings, "zero-trust-gateway_protocol-detection": zero$$trust$$gateway_protocol$$detection, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_sandbox": zero$$trust$$gateway_sandbox, "zero-trust-gateway_tls-settings": zero$$trust$$gateway_tls$$settings, }, diff --git a/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts index 5f6865a5b..55ef42748 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/dnsDestinationIps/tools.ts @@ -11,7 +11,6 @@ import { zero$$trust$$gateway_api$$response$$common, zero$$trust$$gateway_result_info, } from "../outputs.js"; -import { zero$$trust$$gateway_identifier } from "../schemas.js"; import { zero$$trust$$gateway_dns_destination_ip_pair, zero$$trust$$gateway_response_collection$$2, @@ -24,15 +23,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_dnsDestinationIps_list", title: "List Zero Trust Gateway DNS destination IPv4 address pairs", - description: "List Zero Trust Gateway IPv4 address pairs for an account.", + description: "List Zero Trust Gateway IPv4 address pairs for an account.\n\nGET /accounts/{account_id}/gateway/dns_destination_ips", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -44,9 +44,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-2", diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts index 4ce5c59cb..a84146b0e 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/items/tools.ts @@ -5,20 +5,13 @@ import { type Tool, param, pathParam } from "../../../../_/tool.js"; import { zero$$trust$$gateway_api$$response$$common$$failure, zero$$trust$$gateway_messages, - zero$$trust$$gateway_read_only_timestamp, } from "../../../outputs.js"; -import { zero$$trust$$gateway_identifier$$2 } from "../../../schemas.js"; import { zero$$trust$$gateway_api$$response$$collection, zero$$trust$$gateway_api$$response$$common, zero$$trust$$gateway_result_info, } from "../../outputs.js"; -import { - zero$$trust$$gateway_description_item, - zero$$trust$$gateway_items, - zero$$trust$$gateway_value, -} from "../outputs.js"; -import { zero$$trust$$gateway_uuid$$2 } from "../schemas.js"; +import { zero$$trust$$gateway_items } from "../outputs.js"; import { zero$$trust$$gateway_list_item_response_collection } from "./outputs.js"; /** @@ -28,19 +21,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_lists_items_list", title: "Get Zero Trust list items", - description: "Fetch all items in a single Zero Trust list.", + description: "Fetch all items in a single Zero Trust list.\n\nGET /accounts/{account_id}/gateway/lists/{list_id}/items", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." + "description": "Identify the API resource with a UUID.", + "type": "string" } }, "required": [ @@ -50,6 +44,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -68,23 +63,17 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_list_item_response_collection", $defs: { "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_list_item_response_collection": zero$$trust$$gateway_list_item_response_collection, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -116,13 +105,10 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_list_item_response_collection": zero$$trust$$gateway_list_item_response_collection, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts index e6767f757..f8cb8b00b 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/outputs.ts @@ -3,27 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_count` in responses. - */ -export const zero$$trust$$gateway_count: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `zero-trust-gateway_description` in responses. - */ -export const zero$$trust$$gateway_description: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_description_item` in responses. - */ -export const zero$$trust$$gateway_description_item: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_items` in responses. */ @@ -31,13 +10,14 @@ export const zero$$trust$$gateway_items: JsonSchema = { "items": { "properties": { "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description_item" + "type": "string" }, "value": { - "$ref": "#/$defs/zero-trust-gateway_value" + "type": "string" } }, "type": "object" @@ -70,40 +50,46 @@ export const zero$$trust$$gateway_list_single_response: JsonSchema = { export const zero$$trust$$gateway_lists: JsonSchema = { "properties": { "count": { - "$ref": "#/$defs/zero-trust-gateway_count" + "type": "number" }, "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description" + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2" + "type": "string" }, "items": { "$ref": "#/$defs/zero-trust-gateway_items" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name" + "type": "string" }, "type": { - "$ref": "#/$defs/zero-trust-gateway_type-2" + "enum": [ + "SERIAL", + "URL", + "DOMAIN", + "EMAIL", + "IP", + "CATEGORY", + "LOCATION", + "DEVICE", + "AAGUID" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" }; -/** - * The schema of `zero-trust-gateway_name` in responses. - */ -export const zero$$trust$$gateway_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_response_collection-3` in responses. */ @@ -140,25 +126,38 @@ export const zero$$trust$$gateway_single_response_with_list_items: JsonSchema = "result": { "properties": { "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description" + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2" + "type": "string" }, "items": { "$ref": "#/$defs/zero-trust-gateway_items" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name" + "type": "string" }, "type": { - "$ref": "#/$defs/zero-trust-gateway_type-2" + "enum": [ + "SERIAL", + "URL", + "DOMAIN", + "EMAIL", + "IP", + "CATEGORY", + "LOCATION", + "DEVICE", + "AAGUID" + ], + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -168,35 +167,3 @@ export const zero$$trust$$gateway_single_response_with_list_items: JsonSchema = } ] }; - -/** - * The schema of `zero-trust-gateway_type-2` in responses. - */ -export const zero$$trust$$gateway_type$$2: JsonSchema = { - "enum": [ - "SERIAL", - "URL", - "DOMAIN", - "EMAIL", - "IP", - "CATEGORY", - "LOCATION", - "DEVICE", - "AAGUID" - ], - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_uuid-2` in responses. - */ -export const zero$$trust$$gateway_uuid$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_value` in responses. - */ -export const zero$$trust$$gateway_value: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/schemas.ts index d8c423659..6d0912353 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/schemas.ts @@ -3,22 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_description`. - */ -export const zero$$trust$$gateway_description: JsonSchema = { - "description": "Provide the list description.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_description_item`. - */ -export const zero$$trust$$gateway_description_item: JsonSchema = { - "description": "Provide the list item description (optional).", - "type": "string" -}; - /** * The schema of `zero-trust-gateway_items-input`. */ @@ -27,58 +11,15 @@ export const zero$$trust$$gateway_items$$input: JsonSchema = { "items": { "properties": { "description": { - "$ref": "#/$defs/zero-trust-gateway_description_item", - "description": "Provide the list item description (optional)." + "description": "Provide the list item description (optional).", + "type": "string" }, "value": { - "$ref": "#/$defs/zero-trust-gateway_value", - "description": "Specify the item value." + "description": "Specify the item value.", + "type": "string" } }, "type": "object" }, "type": "array" }; - -/** - * The schema of `zero-trust-gateway_name`. - */ -export const zero$$trust$$gateway_name: JsonSchema = { - "description": "Specify the list name.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_type-2`. - */ -export const zero$$trust$$gateway_type$$2: JsonSchema = { - "description": "Specify the list type.", - "enum": [ - "SERIAL", - "URL", - "DOMAIN", - "EMAIL", - "IP", - "CATEGORY", - "LOCATION", - "DEVICE", - "AAGUID" - ], - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_uuid-2`. - */ -export const zero$$trust$$gateway_uuid$$2: JsonSchema = { - "description": "Identify the API resource with a UUID.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_value`. - */ -export const zero$$trust$$gateway_value: JsonSchema = { - "description": "Specify the item value.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts index 0a7348ce1..175ea5e5e 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/lists/tools.ts @@ -6,9 +6,7 @@ import { zero$$trust$$gateway_api$$response$$common$$failure, zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, - zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { zero$$trust$$gateway_api$$response$$collection, zero$$trust$$gateway_api$$response$$common, @@ -16,28 +14,13 @@ import { zero$$trust$$gateway_result_info, } from "../outputs.js"; import { - zero$$trust$$gateway_count, - zero$$trust$$gateway_description, - zero$$trust$$gateway_description_item, zero$$trust$$gateway_items, zero$$trust$$gateway_list_single_response, zero$$trust$$gateway_lists, - zero$$trust$$gateway_name, zero$$trust$$gateway_response_collection$$3, zero$$trust$$gateway_single_response_with_list_items, - zero$$trust$$gateway_type$$2, - zero$$trust$$gateway_uuid$$2, - zero$$trust$$gateway_value, } from "./outputs.js"; -import { - zero$$trust$$gateway_description as zero$$trust$$gateway_description$, - zero$$trust$$gateway_description_item as zero$$trust$$gateway_description_item$, - zero$$trust$$gateway_items$$input, - zero$$trust$$gateway_name as zero$$trust$$gateway_name$, - zero$$trust$$gateway_type$$2 as zero$$trust$$gateway_type$$2$, - zero$$trust$$gateway_uuid$$2 as zero$$trust$$gateway_uuid$$2$, - zero$$trust$$gateway_value as zero$$trust$$gateway_value$, -} from "./schemas.js"; +import { zero$$trust$$gateway_items$$input } from "./schemas.js"; /** * The tools of `zeroTrust.gateway.lists`. @@ -46,27 +29,38 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_lists_create", title: "Create Zero Trust list", - description: "Creates a new Zero Trust list.", + description: "Creates a new Zero Trust list.\n\nPOST /accounts/{account_id}/gateway/lists", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/zero-trust-gateway_description", - "description": "Provide the list description." + "description": "Provide the list description.", + "type": "string" }, "items": { "$ref": "#/$defs/zero-trust-gateway_items-input", "description": "Add items to the list." }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name", - "description": "Specify the list name." + "description": "Specify the list name.", + "type": "string" }, "type": { - "$ref": "#/$defs/zero-trust-gateway_type-2", - "description": "Specify the list type." + "description": "Specify the list type.", + "enum": [ + "SERIAL", + "URL", + "DOMAIN", + "EMAIL", + "IP", + "CATEGORY", + "LOCATION", + "DEVICE", + "AAGUID" + ], + "type": "string" } }, "required": [ @@ -76,10 +70,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -92,30 +87,18 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zero-trust-gateway_description": zero$$trust$$gateway_description$, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item$, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, "zero-trust-gateway_items-input": zero$$trust$$gateway_items$$input, - "zero-trust-gateway_name": zero$$trust$$gateway_name$, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2$, - "zero-trust-gateway_value": zero$$trust$$gateway_value$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response_with_list_items", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response_with_list_items": zero$$trust$$gateway_single_response_with_list_items, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -146,16 +129,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response_with_list_items": zero$$trust$$gateway_single_response_with_list_items, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ @@ -166,19 +142,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_lists_delete", title: "Delete Zero Trust list", - description: "Deletes a Zero Trust list.", + description: "Deletes a Zero Trust list.\n\nDELETE /accounts/{account_id}/gateway/lists/{list_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." + "description": "Identify the API resource with a UUID.", + "type": "string" } }, "required": [ @@ -191,10 +168,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", @@ -243,7 +217,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_lists_edit", title: "Patch Zero Trust list.", - description: "Appends or removes an item from a configured Zero Trust list.", + description: "Appends or removes an item from a configured Zero Trust list.\n\nPATCH /accounts/{account_id}/gateway/lists/{list_id}", inputSchema: { type: "object", properties: { @@ -256,7 +230,8 @@ export const tools: readonly Tool[] = [ "remove": { "description": "Lists of item values you want to remove.", "items": { - "$ref": "#/$defs/zero-trust-gateway_value" + "description": "Specify the item value.", + "type": "string" }, "type": "array" } @@ -264,14 +239,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." + "description": "Identify the API resource with a UUID.", + "type": "string" } }, "required": [ @@ -285,30 +261,19 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item$, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, "zero-trust-gateway_items-input": zero$$trust$$gateway_items$$input, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2$, - "zero-trust-gateway_value": zero$$trust$$gateway_value$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_list_single_response", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_count": zero$$trust$$gateway_count, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, "zero-trust-gateway_lists": zero$$trust$$gateway_lists, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -339,18 +304,10 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_count": zero$$trust$$gateway_count, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, "zero-trust-gateway_lists": zero$$trust$$gateway_lists, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ @@ -361,19 +318,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_lists_get", title: "Get Zero Trust list details", - description: "Fetch a single Zero Trust list.", + description: "Fetch a single Zero Trust list.\n\nGET /accounts/{account_id}/gateway/lists/{list_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." + "description": "Identify the API resource with a UUID.", + "type": "string" } }, "required": [ @@ -386,27 +344,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_list_single_response", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_count": zero$$trust$$gateway_count, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, "zero-trust-gateway_lists": zero$$trust$$gateway_lists, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -437,18 +384,10 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_count": zero$$trust$$gateway_count, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, "zero-trust-gateway_lists": zero$$trust$$gateway_lists, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ @@ -458,15 +397,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_lists_list", title: "List Zero Trust lists", - description: "Fetch all Zero Trust lists for an account.", + description: "Fetch all Zero Trust lists for an account.\n\nGET /accounts/{account_id}/gateway/lists", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -475,6 +415,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Sort direction. Applies to the field named in `order_by`; when `order_by`\nis omitted it applies to the default `created_at` ordering. When\n`direction` is omitted the default is field-specific: explicitly choosing\n`created_at` or `updated_at` defaults to descending (newest first); `name`\nand `item_count` default to ascending; and the default `created_at`\nordering used when `order_by` is omitted is ascending (for backwards\ncompatibility).\n * `asc` — ascending.\n * `desc` — descending.", @@ -506,9 +447,20 @@ export const tools: readonly Tool[] = [ "type": "string" }, "type": { - "$ref": "#/$defs/zero-trust-gateway_type-2", "deprecated": true, - "description": "Specify the list type." + "description": "Specify the list type.", + "enum": [ + "SERIAL", + "URL", + "DOMAIN", + "EMAIL", + "IP", + "CATEGORY", + "LOCATION", + "DEVICE", + "AAGUID" + ], + "type": "string" } }, "type": "object" @@ -517,29 +469,18 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-3", $defs: { "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, - "zero-trust-gateway_count": zero$$trust$$gateway_count, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_lists": zero$$trust$$gateway_lists, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-3": zero$$trust$$gateway_response_collection$$3, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -571,19 +512,11 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, - "zero-trust-gateway_count": zero$$trust$$gateway_count, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_lists": zero$$trust$$gateway_lists, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-3": zero$$trust$$gateway_response_collection$$3, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ @@ -600,23 +533,23 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_lists_update", title: "Update Zero Trust list", - description: "Updates a configured Zero Trust list. Skips updating list items if not included in the payload. A non empty list items will overwrite the existing list.", + description: "Updates a configured Zero Trust list. Skips updating list items if not included in the payload. A non empty list items will overwrite the existing list.\n\nPUT /accounts/{account_id}/gateway/lists/{list_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "description": { - "$ref": "#/$defs/zero-trust-gateway_description", - "description": "Provide the list description." + "description": "Provide the list description.", + "type": "string" }, "items": { "$ref": "#/$defs/zero-trust-gateway_items-input", "description": "Add items to the list." }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name", - "description": "Specify the list name." + "description": "Specify the list name.", + "type": "string" } }, "required": [ @@ -625,14 +558,15 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "list_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-2", - "description": "Identify the API resource with a UUID." + "description": "Identify the API resource with a UUID.", + "type": "string" } }, "required": [ @@ -646,32 +580,19 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zero-trust-gateway_description": zero$$trust$$gateway_description$, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item$, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, "zero-trust-gateway_items-input": zero$$trust$$gateway_items$$input, - "zero-trust-gateway_name": zero$$trust$$gateway_name$, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2$, - "zero-trust-gateway_value": zero$$trust$$gateway_value$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_list_single_response", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_count": zero$$trust$$gateway_count, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, "zero-trust-gateway_lists": zero$$trust$$gateway_lists, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, annotations: { @@ -702,18 +623,10 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_count": zero$$trust$$gateway_count, - "zero-trust-gateway_description": zero$$trust$$gateway_description, - "zero-trust-gateway_description_item": zero$$trust$$gateway_description_item, "zero-trust-gateway_items": zero$$trust$$gateway_items, "zero-trust-gateway_list_single_response": zero$$trust$$gateway_list_single_response, "zero-trust-gateway_lists": zero$$trust$$gateway_lists, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name": zero$$trust$$gateway_name, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, - "zero-trust-gateway_type-2": zero$$trust$$gateway_type$$2, - "zero-trust-gateway_uuid-2": zero$$trust$$gateway_uuid$$2, - "zero-trust-gateway_value": zero$$trust$$gateway_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts index 7f219ec58..ce19e9928 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/locations/outputs.ts @@ -3,42 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_client-default` in responses. - */ -export const zero$$trust$$gateway_client$$default: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `zero-trust-gateway_dns-destination-ips-id-read` in responses. - */ -export const zero$$trust$$gateway_dns$$destination$$ips$$id$$read: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_dns64-enabled` in responses. - */ -export const zero$$trust$$gateway_dns64$$enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `zero-trust-gateway_dns_destination_ipv6_block_id` in - * responses. - */ -export const zero$$trust$$gateway_dns_destination_ipv6_block_id: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; - /** * The schema of `zero-trust-gateway_doh_endpoint` in responses. */ @@ -72,13 +36,6 @@ export const zero$$trust$$gateway_dot_endpoint: JsonSchema = { "type": "object" }; -/** - * The schema of `zero-trust-gateway_ecs-support` in responses. - */ -export const zero$$trust$$gateway_ecs$$support: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `zero-trust-gateway_endpoints` in responses. */ @@ -113,13 +70,6 @@ export const zero$$trust$$gateway_endpoints: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_ip` in responses. - */ -export const zero$$trust$$gateway_ip: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_ip_network` in responses. */ @@ -249,34 +199,42 @@ export const zero$$trust$$gateway_ipv6_networks: JsonSchema = { export const zero$$trust$$gateway_locations: JsonSchema = { "properties": { "client_default": { - "$ref": "#/$defs/zero-trust-gateway_client-default" + "type": "boolean" }, "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "dns64_enabled": { - "$ref": "#/$defs/zero-trust-gateway_dns64-enabled" + "type": "boolean" }, "dns_destination_ips_id": { - "$ref": "#/$defs/zero-trust-gateway_dns-destination-ips-id-read" + "type": "string" }, "dns_destination_ipv6_block_id": { - "$ref": "#/$defs/zero-trust-gateway_dns_destination_ipv6_block_id" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] }, "doh_subdomain": { - "$ref": "#/$defs/zero-trust-gateway_subdomain" + "type": "string" }, "ecs_support": { - "$ref": "#/$defs/zero-trust-gateway_ecs-support" + "type": "boolean" }, "endpoints": { "$ref": "#/$defs/zero-trust-gateway_endpoints" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" }, "ip": { - "$ref": "#/$defs/zero-trust-gateway_ip" + "type": "string" }, "ipv4_destination": { "type": "string" @@ -288,13 +246,14 @@ export const zero$$trust$$gateway_locations: JsonSchema = { "$ref": "#/$defs/zero-trust-gateway_max-ttl" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-2" + "type": "string" }, "networks": { "$ref": "#/$defs/zero-trust-gateway_ipv4_networks" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" @@ -337,13 +296,6 @@ export const zero$$trust$$gateway_max$$ttl: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_name-2` in responses. - */ -export const zero$$trust$$gateway_name$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_response_collection-5` in responses. */ @@ -384,10 +336,3 @@ export const zero$$trust$$gateway_single_response$$3: JsonSchema = { } ] }; - -/** - * The schema of `zero-trust-gateway_subdomain` in responses. - */ -export const zero$$trust$$gateway_subdomain: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/locations/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/locations/schemas.ts index 2dac48604..542195336 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/locations/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/locations/schemas.ts @@ -3,30 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_client-default`. - */ -export const zero$$trust$$gateway_client$$default: JsonSchema = { - "description": "Indicate whether this location is the default location.", - "type": "boolean" -}; - -/** - * The schema of `zero-trust-gateway_dns-destination-ips-id-write`. - */ -export const zero$$trust$$gateway_dns$$destination$$ips$$id$$write: JsonSchema = { - "description": "Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_dns64-enabled`. - */ -export const zero$$trust$$gateway_dns64$$enabled: JsonSchema = { - "description": "Enable DNS64 synthesis for DNS queries matched to this location. When updating a location, omitting this field resets it to false.", - "type": "boolean" -}; - /** * The schema of `zero-trust-gateway_doh_endpoint`. */ @@ -65,14 +41,6 @@ export const zero$$trust$$gateway_dot_endpoint: JsonSchema = { "type": "object" }; -/** - * The schema of `zero-trust-gateway_ecs-support`. - */ -export const zero$$trust$$gateway_ecs$$support: JsonSchema = { - "description": "Indicate whether the location must resolve EDNS queries.", - "type": "boolean" -}; - /** * The schema of `zero-trust-gateway_endpoints`. */ @@ -279,11 +247,3 @@ export const zero$$trust$$gateway_max$$ttl: JsonSchema = { } ] }; - -/** - * The schema of `zero-trust-gateway_name-2`. - */ -export const zero$$trust$$gateway_name$$2: JsonSchema = { - "description": "Specify the location name.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts index 3d75d8cf0..d0e96e97a 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/locations/tools.ts @@ -6,27 +6,17 @@ import { zero$$trust$$gateway_api$$response$$common$$failure, zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, - zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { zero$$trust$$gateway_api$$response$$collection, zero$$trust$$gateway_api$$response$$common, zero$$trust$$gateway_empty_response, zero$$trust$$gateway_result_info, - zero$$trust$$gateway_uuid$$3, } from "../outputs.js"; -import { zero$$trust$$gateway_uuid$$3 as zero$$trust$$gateway_uuid$$3$ } from "../schemas.js"; import { - zero$$trust$$gateway_client$$default, - zero$$trust$$gateway_dns$$destination$$ips$$id$$read, - zero$$trust$$gateway_dns64$$enabled, - zero$$trust$$gateway_dns_destination_ipv6_block_id, zero$$trust$$gateway_doh_endpoint, zero$$trust$$gateway_dot_endpoint, - zero$$trust$$gateway_ecs$$support, zero$$trust$$gateway_endpoints, - zero$$trust$$gateway_ip, zero$$trust$$gateway_ip_network, zero$$trust$$gateway_ip_networks, zero$$trust$$gateway_ipv4_endpoint, @@ -37,18 +27,12 @@ import { zero$$trust$$gateway_ipv6_networks, zero$$trust$$gateway_locations, zero$$trust$$gateway_max$$ttl, - zero$$trust$$gateway_name$$2, zero$$trust$$gateway_response_collection$$5, zero$$trust$$gateway_single_response$$3, - zero$$trust$$gateway_subdomain, } from "./outputs.js"; import { - zero$$trust$$gateway_client$$default as zero$$trust$$gateway_client$$default$, - zero$$trust$$gateway_dns$$destination$$ips$$id$$write, - zero$$trust$$gateway_dns64$$enabled as zero$$trust$$gateway_dns64$$enabled$, zero$$trust$$gateway_doh_endpoint as zero$$trust$$gateway_doh_endpoint$, zero$$trust$$gateway_dot_endpoint as zero$$trust$$gateway_dot_endpoint$, - zero$$trust$$gateway_ecs$$support as zero$$trust$$gateway_ecs$$support$, zero$$trust$$gateway_endpoints as zero$$trust$$gateway_endpoints$, zero$$trust$$gateway_ip_network as zero$$trust$$gateway_ip_network$, zero$$trust$$gateway_ip_networks as zero$$trust$$gateway_ip_networks$, @@ -59,7 +43,6 @@ import { zero$$trust$$gateway_ipv6_network as zero$$trust$$gateway_ipv6_network$, zero$$trust$$gateway_ipv6_networks as zero$$trust$$gateway_ipv6_networks$, zero$$trust$$gateway_max$$ttl as zero$$trust$$gateway_max$$ttl$, - zero$$trust$$gateway_name$$2 as zero$$trust$$gateway_name$$2$, } from "./schemas.js"; /** @@ -69,30 +52,30 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_locations_create", title: "Create a Zero Trust Gateway location", - description: "Create a new Zero Trust Gateway location.", + description: "Create a new Zero Trust Gateway location.\n\nPOST /accounts/{account_id}/gateway/locations", inputSchema: { type: "object", properties: { "body": { "properties": { "client_default": { - "$ref": "#/$defs/zero-trust-gateway_client-default", "default": false, - "description": "Indicate whether this location is the default location." + "description": "Indicate whether this location is the default location.", + "type": "boolean" }, "dns64_enabled": { - "$ref": "#/$defs/zero-trust-gateway_dns64-enabled", "default": false, - "description": "Enable DNS64 synthesis for DNS queries matched to this location. When updating a location, omitting this field resets it to false." + "description": "Enable DNS64 synthesis for DNS queries matched to this location. When updating a location, omitting this field resets it to false.", + "type": "boolean" }, "dns_destination_ips_id": { - "$ref": "#/$defs/zero-trust-gateway_dns-destination-ips-id-write", - "description": "Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged." + "description": "Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.", + "type": "string" }, "ecs_support": { - "$ref": "#/$defs/zero-trust-gateway_ecs-support", "default": false, - "description": "Indicate whether the location must resolve EDNS queries." + "description": "Indicate whether the location must resolve EDNS queries.", + "type": "boolean" }, "endpoints": { "$ref": "#/$defs/zero-trust-gateway_endpoints", @@ -106,8 +89,8 @@ export const tools: readonly Tool[] = [ "description": "Controls how DNS response TTLs are capped for this location relative to the account `max_ttl_secs` setting. Omitting `max_ttl` on update resets it to `inherit`." }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-2", - "description": "Specify the location name." + "description": "Specify the location name.", + "type": "string" }, "networks": { "$ref": "#/$defs/zero-trust-gateway_ipv4_networks", @@ -120,10 +103,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -136,15 +120,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default$, - "zero-trust-gateway_dns-destination-ips-id-write": zero$$trust$$gateway_dns$$destination$$ips$$id$$write, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled$, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint$, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint$, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support$, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints$, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network$, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks$, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint$, @@ -154,22 +134,15 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network$, "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks$, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl$, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-3", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, - "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, - "zero-trust-gateway_ip": zero$$trust$$gateway_ip, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, @@ -181,11 +154,7 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_locations": zero$$trust$$gateway_locations, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, - "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -222,15 +191,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, - "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, - "zero-trust-gateway_ip": zero$$trust$$gateway_ip, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, @@ -242,11 +205,7 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_locations": zero$$trust$$gateway_locations, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, - "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -257,18 +216,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_locations_delete", title: "Delete a Zero Trust Gateway location", - description: "Delete a configured Zero Trust Gateway location.", + description: "Delete a configured Zero Trust Gateway location.\n\nDELETE /accounts/{account_id}/gateway/locations/{location_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "location_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" } }, "required": [ @@ -281,10 +241,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", @@ -339,18 +296,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_locations_get", title: "Get Zero Trust Gateway location details", - description: "Get a single Zero Trust Gateway location.", + description: "Get a single Zero Trust Gateway location.\n\nGET /accounts/{account_id}/gateway/locations/{location_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "location_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" } }, "required": [ @@ -363,24 +321,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-3", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, - "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, - "zero-trust-gateway_ip": zero$$trust$$gateway_ip, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, @@ -392,11 +341,7 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_locations": zero$$trust$$gateway_locations, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, - "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -434,15 +379,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, - "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, - "zero-trust-gateway_ip": zero$$trust$$gateway_ip, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, @@ -454,11 +393,7 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_locations": zero$$trust$$gateway_locations, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, - "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -468,15 +403,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_locations_list", title: "List Zero Trust Gateway locations", - description: "List Zero Trust Gateway locations for an account.", + description: "List Zero Trust Gateway locations for an account.\n\nGET /accounts/{account_id}/gateway/locations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -485,6 +421,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Sort direction. Only takes effect when `order_by` is also provided; it\nis ignored otherwise. When `direction` is omitted the effective\ndirection is field-specific: `created_at` and `updated_at` default to\ndescending (newest first); `name` defaults to ascending.\n * `asc` — ascending.\n * `desc` — descending.", @@ -521,24 +458,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-5", $defs: { "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, - "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, - "zero-trust-gateway_ip": zero$$trust$$gateway_ip, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, @@ -550,12 +479,8 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_locations": zero$$trust$$gateway_locations, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-5": zero$$trust$$gateway_response_collection$$5, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -594,15 +519,9 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, - "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, - "zero-trust-gateway_ip": zero$$trust$$gateway_ip, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, @@ -614,12 +533,8 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_locations": zero$$trust$$gateway_locations, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-5": zero$$trust$$gateway_response_collection$$5, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -635,30 +550,30 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_locations_update", title: "Update a Zero Trust Gateway location", - description: "Update a configured Zero Trust Gateway location.", + description: "Update a configured Zero Trust Gateway location.\n\nPUT /accounts/{account_id}/gateway/locations/{location_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "client_default": { - "$ref": "#/$defs/zero-trust-gateway_client-default", "default": false, - "description": "Indicate whether this location is the default location." + "description": "Indicate whether this location is the default location.", + "type": "boolean" }, "dns64_enabled": { - "$ref": "#/$defs/zero-trust-gateway_dns64-enabled", "default": false, - "description": "Enable DNS64 synthesis for DNS queries matched to this location. When updating a location, omitting this field resets it to false." + "description": "Enable DNS64 synthesis for DNS queries matched to this location. When updating a location, omitting this field resets it to false.", + "type": "boolean" }, "dns_destination_ips_id": { - "$ref": "#/$defs/zero-trust-gateway_dns-destination-ips-id-write", - "description": "Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged." + "description": "Specify the identifier of the pair of IPv4 addresses assigned to this location. When creating a location, if this field is absent or set to null, the pair of shared IPv4 addresses (0e4a32c6-6fb8-4858-9296-98f51631e8e6) is auto-assigned. When updating a location, if this field is absent or set to null, the pre-assigned pair remains unchanged.", + "type": "string" }, "ecs_support": { - "$ref": "#/$defs/zero-trust-gateway_ecs-support", "default": false, - "description": "Indicate whether the location must resolve EDNS queries." + "description": "Indicate whether the location must resolve EDNS queries.", + "type": "boolean" }, "endpoints": { "$ref": "#/$defs/zero-trust-gateway_endpoints", @@ -672,8 +587,8 @@ export const tools: readonly Tool[] = [ "description": "Controls how DNS response TTLs are capped for this location relative to the account `max_ttl_secs` setting. Omitting `max_ttl` on update resets it to `inherit`." }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-2", - "description": "Specify the location name." + "description": "Specify the location name.", + "type": "string" }, "networks": { "$ref": "#/$defs/zero-trust-gateway_ipv4_networks", @@ -686,13 +601,14 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "location_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" } }, "required": [ @@ -706,15 +622,11 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default$, - "zero-trust-gateway_dns-destination-ips-id-write": zero$$trust$$gateway_dns$$destination$$ips$$id$$write, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled$, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint$, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint$, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support$, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints$, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network$, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks$, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint$, @@ -724,23 +636,15 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_ipv6_network": zero$$trust$$gateway_ipv6_network$, "zero-trust-gateway_ipv6_networks": zero$$trust$$gateway_ipv6_networks$, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl$, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2$, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-3", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, - "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, - "zero-trust-gateway_ip": zero$$trust$$gateway_ip, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, @@ -752,11 +656,7 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_locations": zero$$trust$$gateway_locations, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, - "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -793,15 +693,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_client-default": zero$$trust$$gateway_client$$default, - "zero-trust-gateway_dns-destination-ips-id-read": zero$$trust$$gateway_dns$$destination$$ips$$id$$read, - "zero-trust-gateway_dns64-enabled": zero$$trust$$gateway_dns64$$enabled, - "zero-trust-gateway_dns_destination_ipv6_block_id": zero$$trust$$gateway_dns_destination_ipv6_block_id, "zero-trust-gateway_doh_endpoint": zero$$trust$$gateway_doh_endpoint, "zero-trust-gateway_dot_endpoint": zero$$trust$$gateway_dot_endpoint, - "zero-trust-gateway_ecs-support": zero$$trust$$gateway_ecs$$support, "zero-trust-gateway_endpoints": zero$$trust$$gateway_endpoints, - "zero-trust-gateway_ip": zero$$trust$$gateway_ip, "zero-trust-gateway_ip_network": zero$$trust$$gateway_ip_network, "zero-trust-gateway_ip_networks": zero$$trust$$gateway_ip_networks, "zero-trust-gateway_ipv4_endpoint": zero$$trust$$gateway_ipv4_endpoint, @@ -813,11 +707,7 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_locations": zero$$trust$$gateway_locations, "zero-trust-gateway_max-ttl": zero$$trust$$gateway_max$$ttl, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-2": zero$$trust$$gateway_name$$2, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-3": zero$$trust$$gateway_single_response$$3, - "zero-trust-gateway_subdomain": zero$$trust$$gateway_subdomain, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts index 7eb69eabc..bf17716cb 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/logging/tools.ts @@ -7,7 +7,6 @@ import { zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, } from "../../outputs.js"; -import { zero$$trust$$gateway_identifier } from "../schemas.js"; import { zero$$trust$$gateway_account$$log$$options, zero$$trust$$gateway_gateway$$account$$logging$$settings, @@ -25,15 +24,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_logging_get", title: "Get logging settings for the Zero Trust account", - description: "Retrieve the current logging settings for the Zero Trust account.", + description: "Retrieve the current logging settings for the Zero Trust account.\n\nGET /accounts/{account_id}/gateway/logging", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -45,9 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings-response", @@ -100,7 +98,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_logging_update", title: "Update Zero Trust account logging settings", - description: "Update logging settings for the current Zero Trust account.", + description: "Update logging settings for the current Zero Trust account.\n\nPUT /accounts/{account_id}/gateway/logging", inputSchema: { type: "object", properties: { @@ -108,10 +106,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/zero-trust-gateway_gateway-account-logging-settings" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -124,10 +123,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "zero-trust-gateway_account-log-options": zero$$trust$$gateway_account$$log$$options$, "zero-trust-gateway_gateway-account-logging-settings": zero$$trust$$gateway_gateway$$account$$logging$$settings$, - "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, }, }, outputSchema: { diff --git a/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts index 1a3a6d84f..4243b977c 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/outputs.ts @@ -48,13 +48,6 @@ export const zero$$trust$$gateway_api$$response$$common: JsonSchema = { "type": "object" }; -/** - * The schema of `zero-trust-gateway_cf_account_id` in responses. - */ -export const zero$$trust$$gateway_cf_account_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_empty_response` in responses. */ @@ -87,13 +80,13 @@ export const zero$$trust$$gateway_gateway_account: JsonSchema = { "result": { "properties": { "gateway_tag": { - "$ref": "#/$defs/zero-trust-gateway_gateway_tag" + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_cf_account_id" + "type": "string" }, "provider_name": { - "$ref": "#/$defs/zero-trust-gateway_provider_name" + "type": "string" } }, "type": "object" @@ -104,20 +97,6 @@ export const zero$$trust$$gateway_gateway_account: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_gateway_tag` in responses. - */ -export const zero$$trust$$gateway_gateway_tag: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_provider_name` in responses. - */ -export const zero$$trust$$gateway_provider_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_result_info` in responses. */ @@ -138,18 +117,3 @@ export const zero$$trust$$gateway_result_info: JsonSchema = { }, "type": "object" }; - -/** - * The schema of `zero-trust-gateway_timestamp` in responses. - */ -export const zero$$trust$$gateway_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_uuid-3` in responses. - */ -export const zero$$trust$$gateway_uuid$$3: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts index e643d22a4..235e23c52 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/outputs.ts @@ -3,55 +3,36 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_contents` in responses. - */ -export const zero$$trust$$gateway_contents: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_description-4` in responses. - */ -export const zero$$trust$$gateway_description$$4: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_name-7` in responses. - */ -export const zero$$trust$$gateway_name$$7: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_pacfile` in responses. */ export const zero$$trust$$gateway_pacfile: JsonSchema = { "properties": { "contents": { - "$ref": "#/$defs/zero-trust-gateway_contents" + "type": "string" }, "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description-4" + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-7" + "type": "string" }, "slug": { - "$ref": "#/$defs/zero-trust-gateway_slug" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "url": { - "$ref": "#/$defs/zero-trust-gateway_url" + "type": "string" } }, "type": "object" @@ -71,25 +52,27 @@ export const zero$$trust$$gateway_response_collection$$10: JsonSchema = { "items": { "properties": { "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description-4" + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-7" + "type": "string" }, "slug": { - "$ref": "#/$defs/zero-trust-gateway_slug" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "url": { - "$ref": "#/$defs/zero-trust-gateway_url" + "type": "string" } }, "type": "object" @@ -133,17 +116,3 @@ export const zero$$trust$$gateway_single_response$$7: JsonSchema = { } ] }; - -/** - * The schema of `zero-trust-gateway_slug` in responses. - */ -export const zero$$trust$$gateway_slug: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_url` in responses. - */ -export const zero$$trust$$gateway_url: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/schemas.ts deleted file mode 100644 index f2f8954a4..000000000 --- a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/schemas.ts +++ /dev/null @@ -1,28 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `zero-trust-gateway_contents`. - */ -export const zero$$trust$$gateway_contents: JsonSchema = { - "description": "Actual contents of the PAC file", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_description-4`. - */ -export const zero$$trust$$gateway_description$$4: JsonSchema = { - "description": "Detailed description of the PAC file.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_name-7`. - */ -export const zero$$trust$$gateway_name$$7: JsonSchema = { - "description": "Name of the PAC file.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts index eda2e092a..d553fcf4f 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/pacfiles/tools.ts @@ -6,32 +6,18 @@ import { zero$$trust$$gateway_api$$response$$common$$failure, zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, - zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { zero$$trust$$gateway_api$$response$$collection, zero$$trust$$gateway_api$$response$$common, zero$$trust$$gateway_empty_response, zero$$trust$$gateway_result_info, - zero$$trust$$gateway_uuid$$3, } from "../outputs.js"; -import { zero$$trust$$gateway_uuid$$3 as zero$$trust$$gateway_uuid$$3$ } from "../schemas.js"; import { - zero$$trust$$gateway_contents, - zero$$trust$$gateway_description$$4, - zero$$trust$$gateway_name$$7, zero$$trust$$gateway_pacfile, zero$$trust$$gateway_response_collection$$10, zero$$trust$$gateway_single_response$$7, - zero$$trust$$gateway_slug, - zero$$trust$$gateway_url, } from "./outputs.js"; -import { - zero$$trust$$gateway_contents as zero$$trust$$gateway_contents$, - zero$$trust$$gateway_description$$4 as zero$$trust$$gateway_description$$4$, - zero$$trust$$gateway_name$$7 as zero$$trust$$gateway_name$$7$, -} from "./schemas.js"; /** * The tools of `zeroTrust.gateway.pacfiles`. @@ -40,23 +26,23 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_pacfiles_create", title: "Create a PAC file", - description: "Create a new Zero Trust Gateway PAC file.", + description: "Create a new Zero Trust Gateway PAC file.\n\nPOST /accounts/{account_id}/gateway/pacfiles", inputSchema: { type: "object", properties: { "body": { "properties": { "contents": { - "$ref": "#/$defs/zero-trust-gateway_contents", - "description": "Actual contents of the PAC file" + "description": "Actual contents of the PAC file", + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description-4", - "description": "Detailed description of the PAC file." + "description": "Detailed description of the PAC file.", + "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-7", - "description": "Name of the PAC file." + "description": "Name of the PAC file.", + "type": "string" }, "slug": { "description": "URL-friendly version of the PAC file name. If not provided, it will be auto-generated", @@ -70,10 +56,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -86,27 +73,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "zero-trust-gateway_contents": zero$$trust$$gateway_contents$, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4$, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-7", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_contents": zero$$trust$$gateway_contents, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, - "zero-trust-gateway_slug": zero$$trust$$gateway_slug, - "zero-trust-gateway_url": zero$$trust$$gateway_url, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -142,16 +117,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_contents": zero$$trust$$gateway_contents, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, - "zero-trust-gateway_slug": zero$$trust$$gateway_slug, - "zero-trust-gateway_url": zero$$trust$$gateway_url, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -162,18 +130,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_pacfiles_delete", title: "Delete a PAC file", - description: "Delete a configured Zero Trust Gateway PAC file.", + description: "Delete a configured Zero Trust Gateway PAC file.\n\nDELETE /accounts/{account_id}/gateway/pacfiles/{pacfile_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "pacfile_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" } }, "required": [ @@ -186,10 +155,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", @@ -243,18 +209,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_pacfiles_get", title: "Get a PAC file", - description: "Get a single Zero Trust Gateway PAC file.", + description: "Get a single Zero Trust Gateway PAC file.\n\nGET /accounts/{account_id}/gateway/pacfiles/{pacfile_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "pacfile_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" } }, "required": [ @@ -267,25 +234,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-7", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_contents": zero$$trust$$gateway_contents, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, - "zero-trust-gateway_slug": zero$$trust$$gateway_slug, - "zero-trust-gateway_url": zero$$trust$$gateway_url, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -322,16 +279,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_contents": zero$$trust$$gateway_contents, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, - "zero-trust-gateway_slug": zero$$trust$$gateway_slug, - "zero-trust-gateway_url": zero$$trust$$gateway_url, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -341,15 +291,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_pacfiles_list", title: "List PAC files", - description: "List all Zero Trust Gateway PAC files for an account.", + description: "List all Zero Trust Gateway PAC files for an account.\n\nGET /accounts/{account_id}/gateway/pacfiles", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -358,6 +309,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -376,24 +328,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-10", $defs: { "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-10": zero$$trust$$gateway_response_collection$$10, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_slug": zero$$trust$$gateway_slug, - "zero-trust-gateway_url": zero$$trust$$gateway_url, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -431,15 +375,9 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-10": zero$$trust$$gateway_response_collection$$10, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_slug": zero$$trust$$gateway_slug, - "zero-trust-gateway_url": zero$$trust$$gateway_url, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -453,23 +391,23 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_pacfiles_update", title: "Update a Zero Trust Gateway PAC file", - description: "Update a configured Zero Trust Gateway PAC file.", + description: "Update a configured Zero Trust Gateway PAC file.\n\nPUT /accounts/{account_id}/gateway/pacfiles/{pacfile_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "contents": { - "$ref": "#/$defs/zero-trust-gateway_contents", - "description": "Actual contents of the PAC file" + "description": "Actual contents of the PAC file", + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description-4", - "description": "Detailed description of the PAC file." + "description": "Detailed description of the PAC file.", + "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-7", - "description": "Name of the PAC file." + "description": "Name of the PAC file.", + "type": "string" } }, "required": [ @@ -480,13 +418,14 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "pacfile_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" } }, "required": [ @@ -500,28 +439,15 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "zero-trust-gateway_contents": zero$$trust$$gateway_contents$, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4$, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7$, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-7", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_contents": zero$$trust$$gateway_contents, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, - "zero-trust-gateway_slug": zero$$trust$$gateway_slug, - "zero-trust-gateway_url": zero$$trust$$gateway_url, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -557,16 +483,9 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_contents": zero$$trust$$gateway_contents, - "zero-trust-gateway_description-4": zero$$trust$$gateway_description$$4, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-7": zero$$trust$$gateway_name$$7, "zero-trust-gateway_pacfile": zero$$trust$$gateway_pacfile, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-7": zero$$trust$$gateway_single_response$$7, - "zero-trust-gateway_slug": zero$$trust$$gateway_slug, - "zero-trust-gateway_url": zero$$trust$$gateway_url, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts index 6f32fc8f0..1035d9882 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/outputs.ts @@ -13,23 +13,17 @@ export const zero$$trust$$gateway_ips: JsonSchema = { "type": "array" }; -/** - * The schema of `zero-trust-gateway_name-6` in responses. - */ -export const zero$$trust$$gateway_name$$6: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_proxy-endpoint-identity` in responses. */ export const zero$$trust$$gateway_proxy$$endpoint$$identity: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" }, "kind": { "enum": [ @@ -38,13 +32,14 @@ export const zero$$trust$$gateway_proxy$$endpoint$$identity: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-6" + "type": "string" }, "subdomain": { - "$ref": "#/$defs/zero-trust-gateway_subdomain-2" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" } }, "required": [ @@ -60,10 +55,11 @@ export const zero$$trust$$gateway_proxy$$endpoint$$identity: JsonSchema = { export const zero$$trust$$gateway_proxy$$endpoint$$ip: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" }, "ips": { "$ref": "#/$defs/zero-trust-gateway_ips" @@ -75,13 +71,14 @@ export const zero$$trust$$gateway_proxy$$endpoint$$ip: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-6" + "type": "string" }, "subdomain": { - "$ref": "#/$defs/zero-trust-gateway_subdomain-2" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" } }, "required": [ @@ -145,10 +142,3 @@ export const zero$$trust$$gateway_single_response$$5: JsonSchema = { } ] }; - -/** - * The schema of `zero-trust-gateway_subdomain-2` in responses. - */ -export const zero$$trust$$gateway_subdomain$$2: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/schemas.ts index 32685ff2c..62f75a971 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/schemas.ts @@ -14,14 +14,6 @@ export const zero$$trust$$gateway_ips: JsonSchema = { "type": "array" }; -/** - * The schema of `zero-trust-gateway_name-6`. - */ -export const zero$$trust$$gateway_name$$6: JsonSchema = { - "description": "Specify the name of the proxy endpoint.", - "type": "string" -}; - /** * The schema of `zero-trust-gateway_proxy-endpoint-identity-create`. */ @@ -35,8 +27,8 @@ export const zero$$trust$$gateway_proxy$$endpoint$$identity$$create: JsonSchema "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-6", - "description": "Specify the name of the proxy endpoint." + "description": "Specify the name of the proxy endpoint.", + "type": "string" } }, "required": [ @@ -59,8 +51,8 @@ export const zero$$trust$$gateway_proxy$$endpoint$$ip$$create: JsonSchema = { "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-6", - "description": "Specify the name of the proxy endpoint." + "description": "Specify the name of the proxy endpoint.", + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts index 28d044d4d..b52f8b6e5 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/proxyEndpoints/tools.ts @@ -6,30 +6,23 @@ import { zero$$trust$$gateway_api$$response$$common$$failure, zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, - zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { zero$$trust$$gateway_api$$response$$collection, zero$$trust$$gateway_api$$response$$common, zero$$trust$$gateway_empty_response, zero$$trust$$gateway_result_info, - zero$$trust$$gateway_uuid$$3, } from "../outputs.js"; -import { zero$$trust$$gateway_uuid$$3 as zero$$trust$$gateway_uuid$$3$ } from "../schemas.js"; import { zero$$trust$$gateway_ips, - zero$$trust$$gateway_name$$6, zero$$trust$$gateway_proxy$$endpoint$$identity, zero$$trust$$gateway_proxy$$endpoint$$ip, zero$$trust$$gateway_proxy$$endpoints, zero$$trust$$gateway_response_collection$$9, zero$$trust$$gateway_single_response$$5, - zero$$trust$$gateway_subdomain$$2, } from "./outputs.js"; import { zero$$trust$$gateway_ips as zero$$trust$$gateway_ips$, - zero$$trust$$gateway_name$$6 as zero$$trust$$gateway_name$$6$, zero$$trust$$gateway_proxy$$endpoint$$identity$$create, zero$$trust$$gateway_proxy$$endpoint$$ip$$create, } from "./schemas.js"; @@ -41,7 +34,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_proxyEndpoints_create", title: "Create a proxy endpoint", - description: "Create a new Zero Trust Gateway proxy endpoint.", + description: "Create a new Zero Trust Gateway proxy endpoint.\n\nPOST /accounts/{account_id}/gateway/proxy_endpoints", inputSchema: { type: "object", properties: { @@ -74,10 +67,11 @@ export const tools: readonly Tool[] = [ ] }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -90,9 +84,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6$, "zero-trust-gateway_proxy-endpoint-identity-create": zero$$trust$$gateway_proxy$$endpoint$$identity$$create, "zero-trust-gateway_proxy-endpoint-ip-create": zero$$trust$$gateway_proxy$$endpoint$$ip$$create, }, @@ -103,14 +96,10 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_ips": zero$$trust$$gateway_ips, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, - "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -143,14 +132,10 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_ips": zero$$trust$$gateway_ips, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, - "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -161,18 +146,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_proxyEndpoints_delete", title: "Delete a proxy endpoint", - description: "Delete a configured Zero Trust Gateway proxy endpoint.", + description: "Delete a configured Zero Trust Gateway proxy endpoint.\n\nDELETE /accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "proxy_endpoint_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" } }, "required": [ @@ -185,10 +171,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", @@ -237,7 +220,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_proxyEndpoints_edit", title: "Update a proxy endpoint", - description: "Update a configured Zero Trust Gateway proxy endpoint.", + description: "Update a configured Zero Trust Gateway proxy endpoint.\n\nPATCH /accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}", inputSchema: { type: "object", properties: { @@ -248,20 +231,21 @@ export const tools: readonly Tool[] = [ "description": "Specify the list of CIDRs to restrict ingress connections." }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-6", - "description": "Specify the name of the proxy endpoint." + "description": "Specify the name of the proxy endpoint.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "proxy_endpoint_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" } }, "required": [ @@ -275,11 +259,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, "zero-trust-gateway_ips": zero$$trust$$gateway_ips$, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6$, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, }, }, outputSchema: { @@ -288,14 +270,10 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_ips": zero$$trust$$gateway_ips, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, - "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -328,14 +306,10 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_ips": zero$$trust$$gateway_ips, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, - "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -346,18 +320,19 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_proxyEndpoints_get", title: "Get a proxy endpoint", - description: "Get a single Zero Trust Gateway proxy endpoint.", + description: "Get a single Zero Trust Gateway proxy endpoint.\n\nGET /accounts/{account_id}/gateway/proxy_endpoints/{proxy_endpoint_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "proxy_endpoint_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-3" + "type": "string" } }, "required": [ @@ -370,10 +345,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-5", @@ -381,14 +353,10 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_ips": zero$$trust$$gateway_ips, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, - "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -421,14 +389,10 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, "zero-trust-gateway_ips": zero$$trust$$gateway_ips, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_single_response-5": zero$$trust$$gateway_single_response$$5, - "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ @@ -438,15 +402,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_proxyEndpoints_list", title: "List proxy endpoints", - description: "List all Zero Trust Gateway proxy endpoints for an account.", + description: "List all Zero Trust Gateway proxy endpoints for an account.\n\nGET /accounts/{account_id}/gateway/proxy_endpoints", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -455,6 +420,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Sort direction. Only takes effect when `order_by` is also provided; it\nis ignored otherwise. When `direction` is omitted the effective\ndirection is field-specific: `created_at` and `updated_at` default to\ndescending (newest first); `name` defaults to ascending.\n * `asc` — ascending.\n * `desc` — descending.", @@ -491,9 +457,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-9", @@ -502,15 +466,11 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_ips": zero$$trust$$gateway_ips, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-9": zero$$trust$$gateway_response_collection$$9, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, annotations: { @@ -544,15 +504,11 @@ export const tools: readonly Tool[] = [ "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_ips": zero$$trust$$gateway_ips, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-6": zero$$trust$$gateway_name$$6, "zero-trust-gateway_proxy-endpoint-identity": zero$$trust$$gateway_proxy$$endpoint$$identity, "zero-trust-gateway_proxy-endpoint-ip": zero$$trust$$gateway_proxy$$endpoint$$ip, "zero-trust-gateway_proxy-endpoints": zero$$trust$$gateway_proxy$$endpoints, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-9": zero$$trust$$gateway_response_collection$$9, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, - "zero-trust-gateway_subdomain-2": zero$$trust$$gateway_subdomain$$2, - "zero-trust-gateway_uuid-3": zero$$trust$$gateway_uuid$$3, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts b/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts index 5d2d5a5f4..f0f078310 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/rules/outputs.ts @@ -3,61 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_action` in responses. - */ -export const zero$$trust$$gateway_action: JsonSchema = { - "enum": [ - "on", - "off", - "allow", - "block", - "scan", - "noscan", - "safesearch", - "ytrestricted", - "isolate", - "noisolate", - "override", - "l4_override", - "egress", - "resolve", - "quarantine", - "redirect", - "forward" - ], - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_deleted_at` in responses. - */ -export const zero$$trust$$gateway_deleted_at: JsonSchema = { - "oneOf": [ - { - "format": "date-time", - "type": "string" - }, - { - "type": "null" - } - ] -}; - -/** - * The schema of `zero-trust-gateway_description-2` in responses. - */ -export const zero$$trust$$gateway_description$$2: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_device_posture` in responses. - */ -export const zero$$trust$$gateway_device_posture: JsonSchema = { - "type": "string" -}; - /** * The schema of `zero-trust-gateway_dns_resolver_settings_v4` in responses. */ @@ -106,13 +51,6 @@ export const zero$$trust$$gateway_dns_resolver_settings_v6: JsonSchema = { "type": "object" }; -/** - * The schema of `zero-trust-gateway_enabled` in responses. - */ -export const zero$$trust$$gateway_enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `zero-trust-gateway_expiration` in responses. */ @@ -129,7 +67,8 @@ export const zero$$trust$$gateway_expiration: JsonSchema = { "expires_at": { "allOf": [ { - "$ref": "#/$defs/zero-trust-gateway_timestamp" + "format": "date-time", + "type": "string" }, { "type": "string" @@ -167,34 +106,6 @@ export const zero$$trust$$gateway_filters: JsonSchema = { "type": "array" }; -/** - * The schema of `zero-trust-gateway_identity` in responses. - */ -export const zero$$trust$$gateway_identity: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_name-3` in responses. - */ -export const zero$$trust$$gateway_name$$3: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_precedence` in responses. - */ -export const zero$$trust$$gateway_precedence: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `zero-trust-gateway_read_only` in responses. - */ -export const zero$$trust$$gateway_read_only: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `zero-trust-gateway_response_collection-6` in responses. */ @@ -698,22 +609,50 @@ export const zero$$trust$$gateway_rule$$settings: JsonSchema = { export const zero$$trust$$gateway_rules: JsonSchema = { "properties": { "action": { - "$ref": "#/$defs/zero-trust-gateway_action" + "enum": [ + "on", + "off", + "allow", + "block", + "scan", + "noscan", + "safesearch", + "ytrestricted", + "isolate", + "noisolate", + "override", + "l4_override", + "egress", + "resolve", + "quarantine", + "redirect", + "forward" + ], + "type": "string" }, "created_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "deleted_at": { - "$ref": "#/$defs/zero-trust-gateway_deleted_at" + "oneOf": [ + { + "format": "date-time", + "type": "string" + }, + { + "type": "null" + } + ] }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description-2" + "type": "string" }, "device_posture": { - "$ref": "#/$defs/zero-trust-gateway_device_posture" + "type": "string" }, "enabled": { - "$ref": "#/$defs/zero-trust-gateway_enabled" + "type": "boolean" }, "expiration": { "$ref": "#/$defs/zero-trust-gateway_expiration" @@ -722,19 +661,20 @@ export const zero$$trust$$gateway_rules: JsonSchema = { "$ref": "#/$defs/zero-trust-gateway_filters" }, "id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-4" + "format": "uuid", + "type": "string" }, "identity": { - "$ref": "#/$defs/zero-trust-gateway_identity" + "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-3" + "type": "string" }, "precedence": { - "$ref": "#/$defs/zero-trust-gateway_precedence" + "type": "integer" }, "read_only": { - "$ref": "#/$defs/zero-trust-gateway_read_only" + "type": "boolean" }, "rule_settings": { "$ref": "#/$defs/zero-trust-gateway_rule-settings" @@ -743,22 +683,30 @@ export const zero$$trust$$gateway_rules: JsonSchema = { "$ref": "#/$defs/zero-trust-gateway_schedule" }, "sharable": { - "$ref": "#/$defs/zero-trust-gateway_sharable" + "type": "boolean" }, "source_account": { - "$ref": "#/$defs/zero-trust-gateway_source_account" + "type": "string" }, "traffic": { - "$ref": "#/$defs/zero-trust-gateway_traffic" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/zero-trust-gateway_read_only_timestamp" + "format": "date-time", + "type": "string" }, "version": { - "$ref": "#/$defs/zero-trust-gateway_version" + "type": "integer" }, "warning_status": { - "$ref": "#/$defs/zero-trust-gateway_warning_status" + "oneOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ] } }, "required": [ @@ -812,13 +760,6 @@ export const zero$$trust$$gateway_schedule: JsonSchema = { ] }; -/** - * The schema of `zero-trust-gateway_sharable` in responses. - */ -export const zero$$trust$$gateway_sharable: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `zero-trust-gateway_single_response-4` in responses. */ @@ -837,46 +778,3 @@ export const zero$$trust$$gateway_single_response$$4: JsonSchema = { } ] }; - -/** - * The schema of `zero-trust-gateway_source_account` in responses. - */ -export const zero$$trust$$gateway_source_account: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_traffic` in responses. - */ -export const zero$$trust$$gateway_traffic: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_uuid-4` in responses. - */ -export const zero$$trust$$gateway_uuid$$4: JsonSchema = { - "format": "uuid", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_version` in responses. - */ -export const zero$$trust$$gateway_version: JsonSchema = { - "type": "integer" -}; - -/** - * The schema of `zero-trust-gateway_warning_status` in responses. - */ -export const zero$$trust$$gateway_warning_status: JsonSchema = { - "oneOf": [ - { - "type": "string" - }, - { - "type": "null" - } - ] -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/rules/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/rules/schemas.ts index a7283abd5..b05a6f984 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/rules/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/rules/schemas.ts @@ -3,49 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `zero-trust-gateway_action`. - */ -export const zero$$trust$$gateway_action: JsonSchema = { - "description": "Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to `true`.", - "enum": [ - "on", - "off", - "allow", - "block", - "scan", - "noscan", - "safesearch", - "ytrestricted", - "isolate", - "noisolate", - "override", - "l4_override", - "egress", - "resolve", - "quarantine", - "redirect", - "forward" - ], - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_description-2`. - */ -export const zero$$trust$$gateway_description$$2: JsonSchema = { - "description": "Specify the rule description.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_device_posture`. - */ -export const zero$$trust$$gateway_device_posture: JsonSchema = { - "description": "Specify the wirefilter expression used for device posture check. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", - "type": "string" -}; - /** * The schema of `zero-trust-gateway_dns_resolver_settings_v4`. */ @@ -102,14 +59,6 @@ export const zero$$trust$$gateway_dns_resolver_settings_v6: JsonSchema = { "type": "object" }; -/** - * The schema of `zero-trust-gateway_enabled`. - */ -export const zero$$trust$$gateway_enabled: JsonSchema = { - "description": "Specify whether the rule is enabled.", - "type": "boolean" -}; - /** * The schema of `zero-trust-gateway_expiration`. */ @@ -125,7 +74,8 @@ export const zero$$trust$$gateway_expiration: JsonSchema = { "expires_at": { "allOf": [ { - "$ref": "#/$defs/zero-trust-gateway_timestamp" + "format": "date-time", + "type": "string" }, { "type": "string" @@ -164,30 +114,6 @@ export const zero$$trust$$gateway_filters: JsonSchema = { "type": "array" }; -/** - * The schema of `zero-trust-gateway_identity`. - */ -export const zero$$trust$$gateway_identity: JsonSchema = { - "description": "Specify the wirefilter expression used for identity matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_name-3`. - */ -export const zero$$trust$$gateway_name$$3: JsonSchema = { - "description": "Specify the rule name.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_precedence`. - */ -export const zero$$trust$$gateway_precedence: JsonSchema = { - "description": "Set the order of your rules. Lower values indicate higher precedence. At each processing phase, evaluate applicable rules in ascending order of this value. Refer to [Order of enforcement](http://developers.cloudflare.com/learning-paths/secure-internet-traffic/understand-policies/order-of-enforcement/#manage-precedence-with-terraform) to manage precedence via Terraform.", - "type": "integer" -}; - /** * The schema of `zero-trust-gateway_rule-settings`. */ @@ -777,20 +703,3 @@ export const zero$$trust$$gateway_schedule: JsonSchema = { } ] }; - -/** - * The schema of `zero-trust-gateway_traffic`. - */ -export const zero$$trust$$gateway_traffic: JsonSchema = { - "description": "Specify the wirefilter expression used for traffic matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_uuid-4`. - */ -export const zero$$trust$$gateway_uuid$$4: JsonSchema = { - "description": "Identify the API resource with a UUID.", - "format": "uuid", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts index 1a319a795..8088c952d 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/rules/tools.ts @@ -6,59 +6,31 @@ import { zero$$trust$$gateway_api$$response$$common$$failure, zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, - zero$$trust$$gateway_read_only_timestamp, } from "../../outputs.js"; -import { zero$$trust$$gateway_identifier$$2 } from "../../schemas.js"; import { zero$$trust$$gateway_api$$response$$collection, zero$$trust$$gateway_api$$response$$common, zero$$trust$$gateway_empty_response, zero$$trust$$gateway_result_info, - zero$$trust$$gateway_timestamp, } from "../outputs.js"; -import { zero$$trust$$gateway_timestamp as zero$$trust$$gateway_timestamp$ } from "../schemas.js"; import { - zero$$trust$$gateway_action, - zero$$trust$$gateway_deleted_at, - zero$$trust$$gateway_description$$2, - zero$$trust$$gateway_device_posture, zero$$trust$$gateway_dns_resolver_settings_v4, zero$$trust$$gateway_dns_resolver_settings_v6, - zero$$trust$$gateway_enabled, zero$$trust$$gateway_expiration, zero$$trust$$gateway_filters, - zero$$trust$$gateway_identity, - zero$$trust$$gateway_name$$3, - zero$$trust$$gateway_precedence, - zero$$trust$$gateway_read_only, zero$$trust$$gateway_response_collection$$6, zero$$trust$$gateway_rule$$settings, zero$$trust$$gateway_rules, zero$$trust$$gateway_schedule, - zero$$trust$$gateway_sharable, zero$$trust$$gateway_single_response$$4, - zero$$trust$$gateway_source_account, - zero$$trust$$gateway_traffic, - zero$$trust$$gateway_uuid$$4, - zero$$trust$$gateway_version, - zero$$trust$$gateway_warning_status, } from "./outputs.js"; import { - zero$$trust$$gateway_action as zero$$trust$$gateway_action$, - zero$$trust$$gateway_description$$2 as zero$$trust$$gateway_description$$2$, - zero$$trust$$gateway_device_posture as zero$$trust$$gateway_device_posture$, zero$$trust$$gateway_dns_resolver_settings_v4 as zero$$trust$$gateway_dns_resolver_settings_v4$, zero$$trust$$gateway_dns_resolver_settings_v6 as zero$$trust$$gateway_dns_resolver_settings_v6$, - zero$$trust$$gateway_enabled as zero$$trust$$gateway_enabled$, zero$$trust$$gateway_expiration as zero$$trust$$gateway_expiration$, zero$$trust$$gateway_filters as zero$$trust$$gateway_filters$, - zero$$trust$$gateway_identity as zero$$trust$$gateway_identity$, - zero$$trust$$gateway_name$$3 as zero$$trust$$gateway_name$$3$, - zero$$trust$$gateway_precedence as zero$$trust$$gateway_precedence$, zero$$trust$$gateway_rule$$settings as zero$$trust$$gateway_rule$$settings$, zero$$trust$$gateway_schedule as zero$$trust$$gateway_schedule$, - zero$$trust$$gateway_traffic as zero$$trust$$gateway_traffic$, - zero$$trust$$gateway_uuid$$4 as zero$$trust$$gateway_uuid$$4$, } from "./schemas.js"; /** @@ -68,29 +40,48 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_rules_create", title: "Create a Zero Trust Gateway rule", - description: "Create a new Zero Trust Gateway rule.", + description: "Create a new Zero Trust Gateway rule.\n\nPOST /accounts/{account_id}/gateway/rules", inputSchema: { type: "object", properties: { "body": { "properties": { "action": { - "$ref": "#/$defs/zero-trust-gateway_action", - "description": "Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to `true`." + "description": "Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to `true`.", + "enum": [ + "on", + "off", + "allow", + "block", + "scan", + "noscan", + "safesearch", + "ytrestricted", + "isolate", + "noisolate", + "override", + "l4_override", + "egress", + "resolve", + "quarantine", + "redirect", + "forward" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description-2", - "description": "Specify the rule description." + "description": "Specify the rule description.", + "type": "string" }, "device_posture": { - "$ref": "#/$defs/zero-trust-gateway_device_posture", "default": "", - "description": "Specify the wirefilter expression used for device posture check. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response." + "description": "Specify the wirefilter expression used for device posture check. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/zero-trust-gateway_enabled", "default": false, - "description": "Specify whether the rule is enabled." + "description": "Specify whether the rule is enabled.", + "type": "boolean" }, "expiration": { "$ref": "#/$defs/zero-trust-gateway_expiration", @@ -101,17 +92,17 @@ export const tools: readonly Tool[] = [ "description": "Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions. Can only contain a single value." }, "identity": { - "$ref": "#/$defs/zero-trust-gateway_identity", "default": "", - "description": "Specify the wirefilter expression used for identity matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response." + "description": "Specify the wirefilter expression used for identity matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", + "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-3", - "description": "Specify the rule name." + "description": "Specify the rule name.", + "type": "string" }, "precedence": { - "$ref": "#/$defs/zero-trust-gateway_precedence", - "description": "Set the order of your rules. Lower values indicate higher precedence. At each processing phase, evaluate applicable rules in ascending order of this value. Refer to [Order of enforcement](http://developers.cloudflare.com/learning-paths/secure-internet-traffic/understand-policies/order-of-enforcement/#manage-precedence-with-terraform) to manage precedence via Terraform." + "description": "Set the order of your rules. Lower values indicate higher precedence. At each processing phase, evaluate applicable rules in ascending order of this value. Refer to [Order of enforcement](http://developers.cloudflare.com/learning-paths/secure-internet-traffic/understand-policies/order-of-enforcement/#manage-precedence-with-terraform) to manage precedence via Terraform.", + "type": "integer" }, "rule_settings": { "$ref": "#/$defs/zero-trust-gateway_rule-settings", @@ -122,9 +113,9 @@ export const tools: readonly Tool[] = [ "description": "Defines the schedule for activating DNS policies. Settable only for `dns` and `dns_resolver` rules." }, "traffic": { - "$ref": "#/$defs/zero-trust-gateway_traffic", "default": "", - "description": "Specify the wirefilter expression used for traffic matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response." + "description": "Specify the wirefilter expression used for traffic matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", + "type": "string" } }, "required": [ @@ -134,10 +125,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -150,55 +142,29 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action$, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2$, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture$, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4$, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6$, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled$, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration$, "zero-trust-gateway_filters": zero$$trust$$gateway_filters$, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity$, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3$, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence$, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings$, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule$, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp$, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-4", $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -227,34 +193,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ @@ -265,19 +214,21 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_rules_delete", title: "Delete a Zero Trust Gateway rule", - description: "Delete a Zero Trust Gateway rule.", + description: "Delete a Zero Trust Gateway rule.\n\nDELETE /accounts/{account_id}/gateway/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-4", - "description": "Identify the API resource with a UUID." + "description": "Identify the API resource with a UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -290,10 +241,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_empty_response", @@ -342,19 +290,21 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_rules_get", title: "Get Zero Trust Gateway rule details.", - description: "Get a single Zero Trust Gateway rule.", + description: "Get a single Zero Trust Gateway rule.\n\nGET /accounts/{account_id}/gateway/rules/{rule_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-4", - "description": "Identify the API resource with a UUID." + "description": "Identify the API resource with a UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -367,41 +317,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-4", $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -430,34 +360,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ @@ -467,15 +380,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_rules_list", title: "List Zero Trust Gateway rules", - description: "List Zero Trust Gateway rules for an account.", + description: "List Zero Trust Gateway rules for an account.\n\nGET /accounts/{account_id}/gateway/rules", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -484,6 +398,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "direction": { "description": "Sort direction. When `order_by` is omitted, this controls the direction\nof the existing precedence ordering. Shared rules remain first in either\ndirection. Accepted values are `asc` and `desc`.", @@ -521,42 +436,23 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-6", $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-6": zero$$trust$$gateway_response_collection$$6, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -585,36 +481,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-6": zero$$trust$$gateway_response_collection$$6, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ @@ -630,15 +509,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_rules_listTenant", title: "List Zero Trust Gateway rules inherited from the parent account", - description: "List Zero Trust Gateway rules for the parent account of an account in the MSP configuration.", + description: "List Zero Trust Gateway rules for the parent account of an account in the MSP configuration.\n\nGET /accounts/{account_id}/gateway/rules/tenant", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -650,42 +530,23 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_response_collection-6", $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-6": zero$$trust$$gateway_response_collection$$6, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -714,36 +575,19 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-collection": zero$$trust$$gateway_api$$response$$collection, "zero-trust-gateway_api-response-common": zero$$trust$$gateway_api$$response$$common, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_response_collection-6": zero$$trust$$gateway_response_collection$$6, "zero-trust-gateway_result_info": zero$$trust$$gateway_result_info, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ @@ -753,19 +597,21 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_rules_resetExpiration", title: "Reset the expiration of a Zero Trust Gateway Rule", - description: "Resets the expiration of a Zero Trust Gateway Rule if its duration elapsed and it has a default duration. The Zero Trust Gateway Rule must have values for both `expiration.expires_at` and `expiration.duration`.", + description: "Resets the expiration of a Zero Trust Gateway Rule if its duration elapsed and it has a default duration. The Zero Trust Gateway Rule must have values for both `expiration.expires_at` and `expiration.duration`.\n\nPOST /accounts/{account_id}/gateway/rules/{rule_id}/reset_expiration", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-4", - "description": "Identify the API resource with a UUID." + "description": "Identify the API resource with a UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -778,41 +624,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-4", $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -841,34 +667,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ @@ -878,29 +687,48 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_rules_update", title: "Update a Zero Trust Gateway rule", - description: "Update a configured Zero Trust Gateway rule.", + description: "Update a configured Zero Trust Gateway rule.\n\nPUT /accounts/{account_id}/gateway/rules/{rule_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "action": { - "$ref": "#/$defs/zero-trust-gateway_action", - "description": "Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to `true`." + "description": "Specify the action to perform when the associated traffic, identity, and device posture expressions either absent or evaluate to `true`.", + "enum": [ + "on", + "off", + "allow", + "block", + "scan", + "noscan", + "safesearch", + "ytrestricted", + "isolate", + "noisolate", + "override", + "l4_override", + "egress", + "resolve", + "quarantine", + "redirect", + "forward" + ], + "type": "string" }, "description": { - "$ref": "#/$defs/zero-trust-gateway_description-2", - "description": "Specify the rule description." + "description": "Specify the rule description.", + "type": "string" }, "device_posture": { - "$ref": "#/$defs/zero-trust-gateway_device_posture", "default": "", - "description": "Specify the wirefilter expression used for device posture check. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response." + "description": "Specify the wirefilter expression used for device posture check. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", + "type": "string" }, "enabled": { - "$ref": "#/$defs/zero-trust-gateway_enabled", "default": false, - "description": "Specify whether the rule is enabled." + "description": "Specify whether the rule is enabled.", + "type": "boolean" }, "expiration": { "$ref": "#/$defs/zero-trust-gateway_expiration", @@ -911,17 +739,17 @@ export const tools: readonly Tool[] = [ "description": "Specify the protocol or layer to evaluate the traffic, identity, and device posture expressions. Can only contain a single value." }, "identity": { - "$ref": "#/$defs/zero-trust-gateway_identity", "default": "", - "description": "Specify the wirefilter expression used for identity matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response." + "description": "Specify the wirefilter expression used for identity matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", + "type": "string" }, "name": { - "$ref": "#/$defs/zero-trust-gateway_name-3", - "description": "Specify the rule name." + "description": "Specify the rule name.", + "type": "string" }, "precedence": { - "$ref": "#/$defs/zero-trust-gateway_precedence", - "description": "Set the order of your rules. Lower values indicate higher precedence. At each processing phase, evaluate applicable rules in ascending order of this value. Refer to [Order of enforcement](http://developers.cloudflare.com/learning-paths/secure-internet-traffic/understand-policies/order-of-enforcement/#manage-precedence-with-terraform) to manage precedence via Terraform." + "description": "Set the order of your rules. Lower values indicate higher precedence. At each processing phase, evaluate applicable rules in ascending order of this value. Refer to [Order of enforcement](http://developers.cloudflare.com/learning-paths/secure-internet-traffic/understand-policies/order-of-enforcement/#manage-precedence-with-terraform) to manage precedence via Terraform.", + "type": "integer" }, "rule_settings": { "$ref": "#/$defs/zero-trust-gateway_rule-settings", @@ -932,9 +760,9 @@ export const tools: readonly Tool[] = [ "description": "Defines the schedule for activating DNS policies. Settable only for `dns` and `dns_resolver` rules." }, "traffic": { - "$ref": "#/$defs/zero-trust-gateway_traffic", "default": "", - "description": "Specify the wirefilter expression used for traffic matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response." + "description": "Specify the wirefilter expression used for traffic matching. The API automatically formats and sanitizes expressions before storing them. To prevent Terraform state drift, use the formatted expression returned in the API response.", + "type": "string" } }, "required": [ @@ -944,14 +772,16 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier-2", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" }, "rule_id": { - "$ref": "#/$defs/zero-trust-gateway_uuid-4", - "description": "Identify the API resource with a UUID." + "description": "Identify the API resource with a UUID.", + "format": "uuid", + "type": "string" } }, "required": [ @@ -965,56 +795,29 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action$, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2$, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture$, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4$, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6$, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled$, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration$, "zero-trust-gateway_filters": zero$$trust$$gateway_filters$, - "zero-trust-gateway_identifier-2": zero$$trust$$gateway_identifier$$2, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity$, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3$, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence$, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings$, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule$, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp$, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic$, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4$, }, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_single_response-4", $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, annotations: { @@ -1043,34 +846,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "zero-trust-gateway_action": zero$$trust$$gateway_action, "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_deleted_at": zero$$trust$$gateway_deleted_at, - "zero-trust-gateway_description-2": zero$$trust$$gateway_description$$2, - "zero-trust-gateway_device_posture": zero$$trust$$gateway_device_posture, "zero-trust-gateway_dns_resolver_settings_v4": zero$$trust$$gateway_dns_resolver_settings_v4, "zero-trust-gateway_dns_resolver_settings_v6": zero$$trust$$gateway_dns_resolver_settings_v6, - "zero-trust-gateway_enabled": zero$$trust$$gateway_enabled, "zero-trust-gateway_expiration": zero$$trust$$gateway_expiration, "zero-trust-gateway_filters": zero$$trust$$gateway_filters, - "zero-trust-gateway_identity": zero$$trust$$gateway_identity, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_name-3": zero$$trust$$gateway_name$$3, - "zero-trust-gateway_precedence": zero$$trust$$gateway_precedence, - "zero-trust-gateway_read_only": zero$$trust$$gateway_read_only, - "zero-trust-gateway_read_only_timestamp": zero$$trust$$gateway_read_only_timestamp, "zero-trust-gateway_rule-settings": zero$$trust$$gateway_rule$$settings, "zero-trust-gateway_rules": zero$$trust$$gateway_rules, "zero-trust-gateway_schedule": zero$$trust$$gateway_schedule, - "zero-trust-gateway_sharable": zero$$trust$$gateway_sharable, "zero-trust-gateway_single_response-4": zero$$trust$$gateway_single_response$$4, - "zero-trust-gateway_source_account": zero$$trust$$gateway_source_account, - "zero-trust-gateway_timestamp": zero$$trust$$gateway_timestamp, - "zero-trust-gateway_traffic": zero$$trust$$gateway_traffic, - "zero-trust-gateway_uuid-4": zero$$trust$$gateway_uuid$$4, - "zero-trust-gateway_version": zero$$trust$$gateway_version, - "zero-trust-gateway_warning_status": zero$$trust$$gateway_warning_status, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/gateway/schemas.ts b/src/generated/forge-mcp/zeroTrust/gateway/schemas.ts deleted file mode 100644 index 582ebbab3..000000000 --- a/src/generated/forge-mcp/zeroTrust/gateway/schemas.ts +++ /dev/null @@ -1,35 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `zero-trust-gateway_identifier`. - */ -export const zero$$trust$$gateway_identifier: JsonSchema = { - "description": "Specify the Cloudflare account identifier.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_identifier-3`. - */ -export const zero$$trust$$gateway_identifier$$3: JsonSchema = { - "description": "Provide the identifier string.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_timestamp`. - */ -export const zero$$trust$$gateway_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_uuid-3`. - */ -export const zero$$trust$$gateway_uuid$$3: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/gateway/tools.ts b/src/generated/forge-mcp/zeroTrust/gateway/tools.ts index fbd3e98cd..bdc4f8251 100644 --- a/src/generated/forge-mcp/zeroTrust/gateway/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/gateway/tools.ts @@ -7,13 +7,7 @@ import { zero$$trust$$gateway_api$$response$$single, zero$$trust$$gateway_messages, } from "../outputs.js"; -import { - zero$$trust$$gateway_cf_account_id, - zero$$trust$$gateway_gateway_account, - zero$$trust$$gateway_gateway_tag, - zero$$trust$$gateway_provider_name, -} from "./outputs.js"; -import { zero$$trust$$gateway_identifier } from "./schemas.js"; +import { zero$$trust$$gateway_gateway_account } from "./outputs.js"; /** * The tools of `zeroTrust.gateway`. @@ -22,15 +16,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_create", title: "Create Zero Trust account", - description: "Create a Zero Trust account for an existing Cloudflare account.", + description: "Create a Zero Trust account for an existing Cloudflare account.\n\nPOST /accounts/{account_id}/gateway", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -42,19 +37,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway_account", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_cf_account_id": zero$$trust$$gateway_cf_account_id, "zero-trust-gateway_gateway_account": zero$$trust$$gateway_gateway_account, - "zero-trust-gateway_gateway_tag": zero$$trust$$gateway_gateway_tag, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_provider_name": zero$$trust$$gateway_provider_name, }, }, annotations: { @@ -90,11 +80,8 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_cf_account_id": zero$$trust$$gateway_cf_account_id, "zero-trust-gateway_gateway_account": zero$$trust$$gateway_gateway_account, - "zero-trust-gateway_gateway_tag": zero$$trust$$gateway_gateway_tag, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_provider_name": zero$$trust$$gateway_provider_name, }, }, request: (args) => ({ @@ -104,15 +91,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_gateway_list", title: "Get Zero Trust account information", - description: "Retrieve information about the current Zero Trust account.", + description: "Retrieve information about the current Zero Trust account.\n\nGET /accounts/{account_id}/gateway", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/zero-trust-gateway_identifier", - "description": "Specify the Cloudflare account identifier." + "description": "Specify the Cloudflare account identifier.", + "type": "string" } }, "required": [ @@ -124,19 +112,14 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zero-trust-gateway_identifier": zero$$trust$$gateway_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zero-trust-gateway_gateway_account", $defs: { "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_cf_account_id": zero$$trust$$gateway_cf_account_id, "zero-trust-gateway_gateway_account": zero$$trust$$gateway_gateway_account, - "zero-trust-gateway_gateway_tag": zero$$trust$$gateway_gateway_tag, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_provider_name": zero$$trust$$gateway_provider_name, }, }, annotations: { @@ -173,11 +156,8 @@ export const tools: readonly Tool[] = [ $defs: { "zero-trust-gateway_api-response-common-failure": zero$$trust$$gateway_api$$response$$common$$failure, "zero-trust-gateway_api-response-single": zero$$trust$$gateway_api$$response$$single, - "zero-trust-gateway_cf_account_id": zero$$trust$$gateway_cf_account_id, "zero-trust-gateway_gateway_account": zero$$trust$$gateway_gateway_account, - "zero-trust-gateway_gateway_tag": zero$$trust$$gateway_gateway_tag, "zero-trust-gateway_messages": zero$$trust$$gateway_messages, - "zero-trust-gateway_provider_name": zero$$trust$$gateway_provider_name, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts index 1bee6b579..f47f2ceae 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/outputs.ts @@ -9,10 +9,18 @@ import type { JsonSchema } from "../../../_/tool.js"; export const access_idp_federation_grant: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "id": { - "$ref": "#/$defs/access_identifier" + "type": "string" }, "idp_id": { "format": "uuid", @@ -40,7 +48,7 @@ export const access_idp_federation_grant_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/access_identifier" + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts index ced26a2c7..340882d29 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/federationGrants/tools.ts @@ -7,12 +7,8 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_api$$response$$single, - access_created_at, - access_identifier, access_messages, - access_timestamp, } from "../../outputs.js"; -import { access_identifier as access_identifier$ } from "../../schemas.js"; import { access_idp_federation_grant, access_idp_federation_grant_id_response, @@ -28,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_federationGrants_create", title: "Create an IdP federation grant", - description: "Creates an IdP federation grant for the specified identity provider, making it\navailable for federation to other accounts in the same Cloudflare organization.\n\nThe account must belong to a Cloudflare organization. One-time pin and\nCloudflare-managed identity providers cannot be federated. An account\ncan federate at most five identity providers at a time.", + description: "Creates an IdP federation grant for the specified identity provider, making it\navailable for federation to other accounts in the same Cloudflare organization.\n\nThe account must belong to a Cloudflare organization. One-time pin and\nCloudflare-managed identity providers cannot be federated. An account\ncan federate at most five identity providers at a time.\n\nPOST /accounts/{account_id}/access/idp_federation_grants", inputSchema: { type: "object", properties: { @@ -36,10 +32,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_idp_federation_grant_create_request" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -52,8 +49,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_identifier": access_identifier$, "access_idp_federation_grant_create_request": access_idp_federation_grant_create_request, }, }, @@ -61,12 +58,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_idp_federation_grant_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, - "access_identifier": access_identifier, "access_idp_federation_grant": access_idp_federation_grant, "access_idp_federation_grant_response": access_idp_federation_grant_response, "access_messages": access_messages, - "access_timestamp": access_timestamp, }, }, annotations: { @@ -93,12 +87,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, - "access_identifier": access_identifier, "access_idp_federation_grant": access_idp_federation_grant, "access_idp_federation_grant_response": access_idp_federation_grant_response, "access_messages": access_messages, - "access_timestamp": access_timestamp, }, }, request: (args) => ({ @@ -109,19 +100,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_federationGrants_delete", title: "Delete an IdP federation grant", - description: "Deletes an IdP federation grant. The identity provider remains in the account,\nbut it is no longer available for federation to other accounts.", + description: "Deletes an IdP federation grant. The identity provider remains in the account,\nbut it is no longer available for federation to other accounts.\n\nDELETE /accounts/{account_id}/access/idp_federation_grants/{grant_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "grant_id": { - "$ref": "#/$defs/access_identifier", - "description": "UID of the IdP federation grant." + "description": "UID of the IdP federation grant.", + "type": "string" } }, "required": [ @@ -134,15 +126,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_idp_federation_grant_id_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_identifier": access_identifier, "access_idp_federation_grant_id_response": access_idp_federation_grant_id_response, "access_messages": access_messages, }, @@ -171,7 +160,6 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_identifier": access_identifier, "access_idp_federation_grant_id_response": access_idp_federation_grant_id_response, "access_messages": access_messages, }, @@ -183,19 +171,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_federationGrants_get", title: "Get an IdP federation grant", - description: "Retrieves a single IdP federation grant by its UID.", + description: "Retrieves a single IdP federation grant by its UID.\n\nGET /accounts/{account_id}/access/idp_federation_grants/{grant_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "grant_id": { - "$ref": "#/$defs/access_identifier", - "description": "UID of the IdP federation grant." + "description": "UID of the IdP federation grant.", + "type": "string" } }, "required": [ @@ -208,20 +197,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_idp_federation_grant_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, - "access_identifier": access_identifier, "access_idp_federation_grant": access_idp_federation_grant, "access_idp_federation_grant_response": access_idp_federation_grant_response, "access_messages": access_messages, - "access_timestamp": access_timestamp, }, }, annotations: { @@ -251,12 +235,9 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_created_at": access_created_at, - "access_identifier": access_identifier, "access_idp_federation_grant": access_idp_federation_grant, "access_idp_federation_grant_response": access_idp_federation_grant_response, "access_messages": access_messages, - "access_timestamp": access_timestamp, }, }, request: (args) => ({ @@ -266,15 +247,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_federationGrants_list", title: "List IdP federation grants", - description: "Lists the IdP federation grants owned by the account.", + description: "Lists the IdP federation grants owned by the account.\n\nGET /accounts/{account_id}/access/idp_federation_grants", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -286,21 +268,16 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_idp_federation_grant_list_response", $defs: { "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_created_at": access_created_at, - "access_identifier": access_identifier, "access_idp_federation_grant": access_idp_federation_grant, "access_idp_federation_grant_list_response": access_idp_federation_grant_list_response, "access_messages": access_messages, - "access_timestamp": access_timestamp, }, }, annotations: { @@ -328,12 +305,9 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_created_at": access_created_at, - "access_identifier": access_identifier, "access_idp_federation_grant": access_idp_federation_grant, "access_idp_federation_grant_list_response": access_idp_federation_grant_list_response, "access_messages": access_messages, - "access_timestamp": access_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts index 2daebcd4d..52e8e4fe2 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/outputs.ts @@ -308,10 +308,10 @@ export const access_identity$$provider: JsonSchema = { "type": "object" }, "id": { - "$ref": "#/$defs/access_uuid" + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-3" + "type": "string" }, "read_only": { "type": "boolean" @@ -460,13 +460,6 @@ export const access_linkedin: JsonSchema = { ] }; -/** - * The schema of `access_name-3` in responses. - */ -export const access_name$$3: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_oidc` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts index 6007bbfd5..74dea5484 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/samlCertificate/tools.ts @@ -7,7 +7,6 @@ import { access_api$$response$$single, access_messages, } from "../../outputs.js"; -import { access_identifier, access_uuid } from "../../schemas.js"; import { access_saml_certificate, access_saml_certificate_set, @@ -21,19 +20,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_samlCertificate_create", title: "Create SAML encryption certificate for Identity Provider", - description: "Creates a new SAML encryption certificate set and assigns it to the specified \nSAML Identity Provider. This endpoint is idempotent - if the IdP already has \na certificate set assigned, the existing certificate set is returned with a 200 status.\n\n**Workflow for enabling SAML encryption:**\n1. Call this endpoint to create and assign a certificate set to the IdP\n2. Update the IdP configuration (PUT `/identity_providers/{id}`) with:\n - `config.enable_encryption: true`\n - `saml_certificate_set_id: `\n3. Configure the certificate's public key in your external SAML Identity Provider", + description: "Creates a new SAML encryption certificate set and assigns it to the specified \nSAML Identity Provider. This endpoint is idempotent - if the IdP already has \na certificate set assigned, the existing certificate set is returned with a 200 status.\n\n**Workflow for enabling SAML encryption:**\n1. Call this endpoint to create and assign a certificate set to the IdP\n2. Update the IdP configuration (PUT `/identity_providers/{id}`) with:\n - `config.enable_encryption: true`\n - `saml_certificate_set_id: `\n3. Configure the certificate's public key in your external SAML Identity Provider\n\nPOST /accounts/{account_id}/access/identity_providers/{identity_provider_id}/saml_certificate", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -46,10 +46,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_saml_certificate_set_response", diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/schemas.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/schemas.ts index 5856786e1..e59e27250 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/schemas.ts @@ -332,15 +332,15 @@ export const access_identity$$provider: JsonSchema = { "type": "object" }, "id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-3", - "description": "The name of the identity provider, shown to users on the login page." + "description": "The name of the identity provider, shown to users on the login page.", + "type": "string" }, "saml_certificate_set_id": { - "description": "The UID of the SAML encryption certificate set assigned to this Identity Provider.\nOnly present for SAML identity providers with encryption configured.\nCreate a certificate set via POST to `/identity_providers/{id}/saml_certificate`.\n", + "description": "The UID of the SAML encryption certificate set assigned to this Identity Provider.\nOnly present for SAML identity providers with encryption configured.\nCreate a certificate set via POST to `/identity_providers/{id}/saml_certificate`.", "format": "uuid", "type": "string" }, @@ -486,14 +486,6 @@ export const access_linkedin: JsonSchema = { "description": "LinkedIn" }; -/** - * The schema of `access_name-3`. - */ -export const access_name$$3: JsonSchema = { - "description": "The name of the identity provider, shown to users on the login page.", - "type": "string" -}; - /** * The schema of `access_oidc`. */ @@ -745,7 +737,7 @@ export const access_saml: JsonSchema = { }, "enable_encryption": { "default": false, - "description": "Enable SAML assertion encryption. When enabled, the Identity Provider will encrypt \nSAML assertions using the certificate from the assigned certificate set.\n\nTo enable encryption:\n1. Create a certificate set via POST to `/identity_providers/{id}/saml_certificate`\n2. Set this field to `true` and include `saml_certificate_set_id` in the PUT request\n3. Configure the public certificate in your external Identity Provider\n\nNote: Requires `saml_certificate_set_id` to be set when `true`.\n", + "description": "Enable SAML assertion encryption. When enabled, the Identity Provider will encrypt \nSAML assertions using the certificate from the assigned certificate set.\n\nTo enable encryption:\n1. Create a certificate set via POST to `/identity_providers/{id}/saml_certificate`\n2. Set this field to `true` and include `saml_certificate_set_id` in the PUT request\n3. Configure the public certificate in your external Identity Provider\n\nNote: Requires `saml_certificate_set_id` to be set when `true`.", "type": "boolean" }, "force_authn": { @@ -782,7 +774,7 @@ export const access_saml: JsonSchema = { "type": "string" }, "max_sso_url_length": { - "description": "The maximum URL length the IdP accepts for the SSO redirect URL.\nWhen the constructed SSO URL would exceed this length, the RelayState\nis stored server-side and a short nonce is passed to the IdP instead.\nSet this if your IdP enforces a URL length limit.\n", + "description": "The maximum URL length the IdP accepts for the SSO redirect URL.\nWhen the constructed SSO URL would exceed this length, the RelayState\nis stored server-side and a short nonce is passed to the IdP instead.\nSet this if your IdP enforces a URL length limit.", "type": "integer" }, "sign_request": { diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts index 566cb802e..f2c843eac 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../../_/tool.js"; -/** - * The schema of `access_externalId` in responses. - */ -export const access_externalId: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_group_details` in responses. */ @@ -19,10 +12,10 @@ export const access_group_details: JsonSchema = { "type": "string" }, "externalId": { - "$ref": "#/$defs/access_externalId" + "type": "string" }, "id": { - "$ref": "#/$defs/access_id" + "type": "string" }, "members": { "items": { @@ -73,10 +66,10 @@ export const access_groups: JsonSchema = { "type": "string" }, "externalId": { - "$ref": "#/$defs/access_externalId" + "type": "string" }, "id": { - "$ref": "#/$defs/access_id" + "type": "string" }, "meta": { "$ref": "#/$defs/access_meta" diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/schemas.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/schemas.ts index 620dab499..5f93ba21c 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/schemas.ts @@ -26,11 +26,3 @@ export const access_idp_resource_id: JsonSchema = { "maxItems": 50, "type": "array" }; - -/** - * The schema of `access_name-4`. - */ -export const access_name$$4: JsonSchema = { - "description": "The display name of the SCIM Group resource.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts index a507aaf4d..3bd50bc54 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/groups/tools.ts @@ -9,20 +9,14 @@ import { access_api$$response$$single, access_messages, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; -import { access_id, access_meta } from "../outputs.js"; +import { access_meta } from "../outputs.js"; import { - access_externalId, access_group_details, access_groups, access_scim_group_response, access_scim_groups_response, } from "./outputs.js"; -import { - access_cf_resource_id, - access_idp_resource_id, - access_name$$4, -} from "./schemas.js"; +import { access_cf_resource_id, access_idp_resource_id } from "./schemas.js"; /** * The tools of `zeroTrust.identityProviders.scim.groups`. @@ -31,23 +25,24 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_scim_groups_delete", title: "Delete a SCIM Group resource", - description: "Deletes a SCIM Group resource from the identity provider's SCIM population.", + description: "Deletes a SCIM Group resource from the identity provider's SCIM population.\n\nDELETE /accounts/{account_id}/access/identity_providers/{identity_provider_id}/scim/groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "group_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -61,10 +56,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -99,23 +91,24 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_scim_groups_get", title: "Get a SCIM Group resource", - description: "Returns a SCIM Group resource, including its direct members, synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", + description: "Returns a SCIM Group resource, including its direct members, synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).\n\nGET /accounts/{account_id}/access/identity_providers/{identity_provider_id}/scim/groups/{group_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "group_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -129,18 +122,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_scim_group_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_externalId": access_externalId, "access_group_details": access_group_details, - "access_id": access_id, "access_messages": access_messages, "access_meta": access_meta, "access_scim_group_response": access_scim_group_response, @@ -173,9 +161,7 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_externalId": access_externalId, "access_group_details": access_group_details, - "access_id": access_id, "access_messages": access_messages, "access_meta": access_meta, "access_scim_group_response": access_scim_group_response, @@ -188,19 +174,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_scim_groups_list", title: "List SCIM Group resources", - description: "Lists SCIM Group resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", + description: "Lists SCIM Group resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).\n\nGET /accounts/{account_id}/access/identity_providers/{identity_provider_id}/scim/groups", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -210,6 +197,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cf_resource_id": { "$ref": "#/$defs/access_cf_resource_id", @@ -220,8 +208,8 @@ export const tools: readonly Tool[] = [ "description": "The IdP-generated Id of the SCIM Group resource; also known as the \"external Id\".\nPass once for a single lookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to look up multiple groups in one request,\nup to 50 values. Mutually exclusive with `cf_resource_id`, `name`,\n`search_contains`, and `search_starts_with`." }, "name": { - "$ref": "#/$defs/access_name-4", - "description": "The display name of the SCIM Group resource." + "description": "The display name of the SCIM Group resource.", + "type": "string" }, "page": { "default": 1, @@ -240,12 +228,10 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "access_cf_resource_id": access_cf_resource_id, - "access_identifier": access_identifier, "access_idp_resource_id": access_idp_resource_id, - "access_name-4": access_name$$4, - "access_uuid": access_uuid, }, }, outputSchema: { @@ -253,9 +239,7 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_externalId": access_externalId, "access_groups": access_groups, - "access_id": access_id, "access_messages": access_messages, "access_meta": access_meta, "access_scim_groups_response": access_scim_groups_response, @@ -289,9 +273,7 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_externalId": access_externalId, "access_groups": access_groups, - "access_id": access_id, "access_messages": access_messages, "access_meta": access_meta, "access_scim_groups_response": access_scim_groups_response, diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts index 091988d69..f48038859 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_id` in responses. - */ -export const access_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_meta` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts index 6d9510153..be3255669 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/outputs.ts @@ -76,7 +76,7 @@ export const access_users: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/access_id" + "type": "string" }, "meta": { "$ref": "#/$defs/access_meta" diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/schemas.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/schemas.ts index e78e438e9..d77c01339 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/schemas.ts @@ -15,14 +15,6 @@ export const access_cf_resource_id$$2: JsonSchema = { "type": "array" }; -/** - * The schema of `access_email`. - */ -export const access_email: JsonSchema = { - "description": "The email address of the SCIM User resource.", - "type": "string" -}; - /** * The schema of `access_idp_resource_id-2`. */ @@ -34,19 +26,3 @@ export const access_idp_resource_id$$2: JsonSchema = { "maxItems": 50, "type": "array" }; - -/** - * The schema of `access_name-5`. - */ -export const access_name$$5: JsonSchema = { - "description": "The name of the SCIM User resource.", - "type": "string" -}; - -/** - * The schema of `access_username`. - */ -export const access_username: JsonSchema = { - "description": "The username of the SCIM User resource.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts index d9fbf8e92..526d64bd4 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/scim/users/tools.ts @@ -9,8 +9,7 @@ import { access_api$$response$$single, access_messages, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; -import { access_id, access_meta } from "../outputs.js"; +import { access_meta } from "../outputs.js"; import { access_scim_user_response, access_scim_users_response, @@ -18,10 +17,7 @@ import { } from "./outputs.js"; import { access_cf_resource_id$$2, - access_email, access_idp_resource_id$$2, - access_name$$5, - access_username, } from "./schemas.js"; /** @@ -31,23 +27,24 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_scim_users_delete", title: "Delete a SCIM User resource", - description: "Deletes a SCIM User resource from the identity provider's SCIM population.", + description: "Deletes a SCIM User resource from the identity provider's SCIM population.\n\nDELETE /accounts/{account_id}/access/identity_providers/{identity_provider_id}/scim/users/{user_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -61,10 +58,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, annotations: { "destructiveHint": true, @@ -99,23 +93,24 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_scim_users_get", title: "Get a SCIM User resource", - description: "Returns a SCIM User resource synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", + description: "Returns a SCIM User resource synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).\n\nGET /accounts/{account_id}/access/identity_providers/{identity_provider_id}/scim/users/{user_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -129,16 +124,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_scim_user_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_id": access_id, "access_messages": access_messages, "access_meta": access_meta, "access_scim_user_response": access_scim_user_response, @@ -172,7 +163,6 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_id": access_id, "access_messages": access_messages, "access_meta": access_meta, "access_scim_user_response": access_scim_user_response, @@ -186,19 +176,20 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_scim_users_list", title: "List SCIM User resources", - description: "Lists SCIM User resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).", + description: "Lists SCIM User resources synced to Cloudflare via the System for Cross-domain Identity Management (SCIM).\n\nGET /accounts/{account_id}/access/identity_providers/{identity_provider_id}/scim/users", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -208,22 +199,23 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "cf_resource_id": { "$ref": "#/$defs/access_cf_resource_id-2", "description": "The unique Cloudflare-generated Id of the SCIM User resource; also known as the \"Id\".\nPass once for a single lookup (`?cf_resource_id=A`) or repeat the parameter\n(`?cf_resource_id=A&cf_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `idp_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`." }, "email": { - "$ref": "#/$defs/access_email", - "description": "The email address of the SCIM User resource." + "description": "The email address of the SCIM User resource.", + "type": "string" }, "idp_resource_id": { "$ref": "#/$defs/access_idp_resource_id-2", "description": "The IdP-generated Id of the SCIM User resource; also known as the \"external Id\".\nPass once for a single lookup (`?idp_resource_id=A`) or repeat the parameter\n(`?idp_resource_id=A&idp_resource_id=B`) to look up multiple users in one request,\nup to 50 values. Mutually exclusive with `cf_resource_id`, `username`, `email`,\n`name`, `search_contains`, and `search_starts_with`." }, "name": { - "$ref": "#/$defs/access_name-5", - "description": "The name of the SCIM User resource." + "description": "The name of the SCIM User resource.", + "type": "string" }, "page": { "default": 1, @@ -236,8 +228,8 @@ export const tools: readonly Tool[] = [ "type": "integer" }, "username": { - "$ref": "#/$defs/access_username", - "description": "The username of the SCIM User resource." + "description": "The username of the SCIM User resource.", + "type": "string" } }, "type": "object" @@ -246,14 +238,10 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, $defs: { "access_cf_resource_id-2": access_cf_resource_id$$2, - "access_email": access_email, - "access_identifier": access_identifier, "access_idp_resource_id-2": access_idp_resource_id$$2, - "access_name-5": access_name$$5, - "access_username": access_username, - "access_uuid": access_uuid, }, }, outputSchema: { @@ -261,7 +249,6 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_id": access_id, "access_messages": access_messages, "access_meta": access_meta, "access_scim_users_response": access_scim_users_response, @@ -296,7 +283,6 @@ export const tools: readonly Tool[] = [ "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_id": access_id, "access_messages": access_messages, "access_meta": access_meta, "access_scim_users_response": access_scim_users_response, diff --git a/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts b/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts index 58aec8605..d88a01be0 100644 --- a/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/identityProviders/tools.ts @@ -9,9 +9,7 @@ import { access_api$$response$$single, access_id_response, access_messages, - access_uuid, } from "../outputs.js"; -import { access_identifier, access_uuid as access_uuid$ } from "../schemas.js"; import { access_azureAD, access_centrify, @@ -26,7 +24,6 @@ import { access_identity$$provider, access_identity$$providers, access_linkedin, - access_name$$3, access_oidc, access_okta, access_onelogin, @@ -54,7 +51,6 @@ import { access_identity$$provider as access_identity$$provider$, access_identity$$providers as access_identity$$providers$, access_linkedin as access_linkedin$, - access_name$$3 as access_name$$3$, access_oidc as access_oidc$, access_okta as access_okta$, access_onelogin as access_onelogin$, @@ -72,7 +68,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_create", title: "Add an Access identity provider", - description: "Adds a new identity provider to Access.", + description: "Adds a new identity provider to Access.\n\nPOST /{account_or_zone}/{account_or_zone_id}/access/identity_providers", inputSchema: { type: "object", properties: { @@ -80,6 +76,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_identity-providers" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -90,8 +87,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -105,6 +102,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_azureAD": access_azureAD$, "access_centrify": access_centrify$, @@ -116,11 +114,9 @@ export const tools: readonly Tool[] = [ "access_github": access_github$, "access_google": access_google$, "access_google-apps": access_google$$apps$, - "access_identifier": access_identifier, "access_identity-provider": access_identity$$provider$, "access_identity-providers": access_identity$$providers$, "access_linkedin": access_linkedin$, - "access_name-3": access_name$$3$, "access_oidc": access_oidc$, "access_okta": access_okta$, "access_onelogin": access_onelogin$, @@ -128,7 +124,6 @@ export const tools: readonly Tool[] = [ "access_passkeys": access_passkeys$, "access_pingone": access_pingone$, "access_saml": access_saml$, - "access_uuid": access_uuid$, "access_yandex": access_yandex$, }, }, @@ -150,7 +145,6 @@ export const tools: readonly Tool[] = [ "access_identity-providers": access_identity$$providers, "access_linkedin": access_linkedin, "access_messages": access_messages, - "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -161,7 +155,6 @@ export const tools: readonly Tool[] = [ "access_saml_certificate": access_saml_certificate, "access_saml_certificate_set": access_saml_certificate_set, "access_single_response-3": access_single_response$$3, - "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, @@ -205,7 +198,6 @@ export const tools: readonly Tool[] = [ "access_identity-providers": access_identity$$providers, "access_linkedin": access_linkedin, "access_messages": access_messages, - "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -216,7 +208,6 @@ export const tools: readonly Tool[] = [ "access_saml_certificate": access_saml_certificate, "access_saml_certificate_set": access_saml_certificate_set, "access_single_response-3": access_single_response$$3, - "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, @@ -228,11 +219,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_delete", title: "Delete an Access identity provider", - description: "Deletes an identity provider from Access.", + description: "Deletes an identity provider from Access.\n\nDELETE /{account_or_zone}/{account_or_zone_id}/access/identity_providers/{identity_provider_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -243,12 +235,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -262,10 +254,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_id_response", @@ -273,7 +262,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, annotations: { @@ -304,7 +292,6 @@ export const tools: readonly Tool[] = [ "access_api-response-single": access_api$$response$$single, "access_id_response": access_id_response, "access_messages": access_messages, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -314,11 +301,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_get", title: "Get an Access identity provider", - description: "Fetches a configured identity provider.", + description: "Fetches a configured identity provider.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/identity_providers/{identity_provider_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -329,12 +317,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -348,10 +336,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - "access_uuid": access_uuid$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_single_response-3", @@ -371,7 +356,6 @@ export const tools: readonly Tool[] = [ "access_identity-providers": access_identity$$providers, "access_linkedin": access_linkedin, "access_messages": access_messages, - "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -382,7 +366,6 @@ export const tools: readonly Tool[] = [ "access_saml_certificate": access_saml_certificate, "access_saml_certificate_set": access_saml_certificate_set, "access_single_response-3": access_single_response$$3, - "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, @@ -427,7 +410,6 @@ export const tools: readonly Tool[] = [ "access_identity-providers": access_identity$$providers, "access_linkedin": access_linkedin, "access_messages": access_messages, - "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -438,7 +420,6 @@ export const tools: readonly Tool[] = [ "access_saml_certificate": access_saml_certificate, "access_saml_certificate_set": access_saml_certificate_set, "access_single_response-3": access_single_response$$3, - "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, @@ -449,11 +430,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_list", title: "List Access identity providers", - description: "Lists all configured identity providers.", + description: "Lists all configured identity providers.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/identity_providers", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -464,8 +446,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -475,6 +457,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "page": { "default": 1, @@ -497,9 +480,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_response_collection", @@ -519,7 +500,6 @@ export const tools: readonly Tool[] = [ "access_identity-provider": access_identity$$provider, "access_linkedin": access_linkedin, "access_messages": access_messages, - "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -530,7 +510,6 @@ export const tools: readonly Tool[] = [ "access_saml": access_saml, "access_saml_certificate": access_saml_certificate, "access_saml_certificate_set": access_saml_certificate_set, - "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, @@ -575,7 +554,6 @@ export const tools: readonly Tool[] = [ "access_identity-provider": access_identity$$provider, "access_linkedin": access_linkedin, "access_messages": access_messages, - "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -586,7 +564,6 @@ export const tools: readonly Tool[] = [ "access_saml": access_saml, "access_saml_certificate": access_saml_certificate, "access_saml_certificate_set": access_saml_certificate_set, - "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, @@ -602,7 +579,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_identityProviders_update", title: "Update an Access identity provider", - description: "Updates a configured identity provider.", + description: "Updates a configured identity provider.\n\nPUT /{account_or_zone}/{account_or_zone_id}/access/identity_providers/{identity_provider_id}", inputSchema: { type: "object", properties: { @@ -610,6 +587,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_identity-providers" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -620,12 +598,12 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" }, "identity_provider_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -640,6 +618,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "access_azureAD": access_azureAD$, "access_centrify": access_centrify$, @@ -651,11 +630,9 @@ export const tools: readonly Tool[] = [ "access_github": access_github$, "access_google": access_google$, "access_google-apps": access_google$$apps$, - "access_identifier": access_identifier, "access_identity-provider": access_identity$$provider$, "access_identity-providers": access_identity$$providers$, "access_linkedin": access_linkedin$, - "access_name-3": access_name$$3$, "access_oidc": access_oidc$, "access_okta": access_okta$, "access_onelogin": access_onelogin$, @@ -663,7 +640,6 @@ export const tools: readonly Tool[] = [ "access_passkeys": access_passkeys$, "access_pingone": access_pingone$, "access_saml": access_saml$, - "access_uuid": access_uuid$, "access_yandex": access_yandex$, }, }, @@ -685,7 +661,6 @@ export const tools: readonly Tool[] = [ "access_identity-providers": access_identity$$providers, "access_linkedin": access_linkedin, "access_messages": access_messages, - "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -696,7 +671,6 @@ export const tools: readonly Tool[] = [ "access_saml_certificate": access_saml_certificate, "access_saml_certificate_set": access_saml_certificate_set, "access_single_response-3": access_single_response$$3, - "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, @@ -740,7 +714,6 @@ export const tools: readonly Tool[] = [ "access_identity-providers": access_identity$$providers, "access_linkedin": access_linkedin, "access_messages": access_messages, - "access_name-3": access_name$$3, "access_oidc": access_oidc, "access_okta": access_okta, "access_onelogin": access_onelogin, @@ -751,7 +724,6 @@ export const tools: readonly Tool[] = [ "access_saml_certificate": access_saml_certificate, "access_saml_certificate_set": access_saml_certificate_set, "access_single_response-3": access_single_response$$3, - "access_uuid": access_uuid, "access_yandex": access_yandex, }, }, diff --git a/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts b/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts deleted file mode 100644 index 435d975b6..000000000 --- a/src/generated/forge-mcp/zeroTrust/organization/doh/outputs.ts +++ /dev/null @@ -1,11 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `access_doh_jwt_duration` in responses. - */ -export const access_doh_jwt_duration: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/organization/doh/schemas.ts b/src/generated/forge-mcp/zeroTrust/organization/doh/schemas.ts deleted file mode 100644 index 4adf41f0a..000000000 --- a/src/generated/forge-mcp/zeroTrust/organization/doh/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../../_/tool.js"; - -/** - * The schema of `access_doh_jwt_duration`. - */ -export const access_doh_jwt_duration: JsonSchema = { - "description": "The duration the DoH JWT is valid for. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h. Note that the maximum duration for this setting is the same as the key rotation period on the account. Default expiration is 24h", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts b/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts index eab114541..e76062c7b 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/doh/tools.ts @@ -5,25 +5,11 @@ import { type Tool, pathParam } from "../../../_/tool.js"; import { access_api$$response$$common$$failure, access_api$$response$$single, - access_client_id, - access_created_at, - access_duration, - access_enabled, - access_leak_report_url, - access_leak_reported_at, - access_leak_reporter, access_messages, - access_name$$2, access_service$$tokens, access_single_response$$2, access_tags, - access_timestamp, - access_updated_at, - access_uuid, } from "../../outputs.js"; -import { access_identifier } from "../../schemas.js"; -import { access_doh_jwt_duration } from "./outputs.js"; -import { access_doh_jwt_duration as access_doh_jwt_duration$ } from "./schemas.js"; /** * The tools of `zeroTrust.organization.doh`. @@ -32,15 +18,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_organization_doh_get", title: "Get your Zero Trust organization DoH settings", - description: "Returns the DoH settings for your Zero Trust organization.", + description: "Returns the DoH settings for your Zero Trust organization.\n\nGET /accounts/{account_id}/access/organizations/doh", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -52,9 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -77,21 +62,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -139,21 +113,10 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, request: (args) => ({ @@ -163,15 +126,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_organization_doh_update", title: "Update your Zero Trust organization DoH settings", - description: "Updates the DoH settings for your Zero Trust organization.", + description: "Updates the DoH settings for your Zero Trust organization.\n\nPUT /accounts/{account_id}/access/organizations/doh", inputSchema: { type: "object", properties: { "body": { "properties": { "doh_jwt_duration": { - "$ref": "#/$defs/access_doh_jwt_duration", - "description": "The duration the DoH JWT is valid for. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h. Note that the maximum duration for this setting is the same as the key rotation period on the account. Default expiration is 24h" + "description": "The duration the DoH JWT is valid for. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h. Note that the maximum duration for this setting is the same as the key rotation period on the account. Default expiration is 24h", + "type": "string" }, "service_token_id": { "description": "The uuid of the service token you want to use for DoH authentication", @@ -181,10 +144,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -196,10 +160,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_doh_jwt_duration": access_doh_jwt_duration$, - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -211,7 +172,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "doh_jwt_duration": { - "$ref": "#/$defs/access_doh_jwt_duration" + "type": "string" } }, "type": "object" @@ -222,22 +183,10 @@ export const tools: readonly Tool[] = [ ], $defs: { "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_doh_jwt_duration": access_doh_jwt_duration, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, annotations: { @@ -266,7 +215,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "doh_jwt_duration": { - "$ref": "#/$defs/access_doh_jwt_duration" + "type": "string" } }, "type": "object" @@ -283,22 +232,10 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_client_id": access_client_id, - "access_created_at": access_created_at, - "access_doh_jwt_duration": access_doh_jwt_duration, - "access_duration": access_duration, - "access_enabled": access_enabled, - "access_leak_report_url": access_leak_report_url, - "access_leak_reported_at": access_leak_reported_at, - "access_leak_reporter": access_leak_reporter, "access_messages": access_messages, - "access_name-2": access_name$$2, "access_service-tokens": access_service$$tokens, "access_single_response-2": access_single_response$$2, "access_tags": access_tags, - "access_timestamp": access_timestamp, - "access_updated_at": access_updated_at, - "access_uuid": access_uuid, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/organization/outputs.ts b/src/generated/forge-mcp/zeroTrust/organization/outputs.ts index cc57ef3c9..9b867ae1a 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/outputs.ts @@ -3,27 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `access_allow_authenticate_via_warp` in responses. - */ -export const access_allow_authenticate_via_warp: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_auth_domain` in responses. - */ -export const access_auth_domain: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_auto_redirect_to_identity` in responses. - */ -export const access_auto_redirect_to_identity: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_custom_pages` in responses. */ @@ -39,13 +18,6 @@ export const access_custom_pages: JsonSchema = { "type": "object" }; -/** - * The schema of `access_deny_unmatched_requests` in responses. - */ -export const access_deny_unmatched_requests: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_deny_unmatched_requests_exempted_zone_names` in * responses. @@ -57,13 +29,6 @@ export const access_deny_unmatched_requests_exempted_zone_names: JsonSchema = { "type": "array" }; -/** - * The schema of `access_disable_end_user_app_creation` in responses. - */ -export const access_disable_end_user_app_creation: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_get_response` in responses. */ @@ -98,13 +63,6 @@ export const access_get_response: JsonSchema = { ] }; -/** - * The schema of `access_is_ui_read_only` in responses. - */ -export const access_is_ui_read_only: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_login_design` in responses. */ @@ -182,20 +140,6 @@ export const access_mfa_piv_key_requirements: JsonSchema = { "type": "object" }; -/** - * The schema of `access_mfa_required_for_all_apps` in responses. - */ -export const access_mfa_required_for_all_apps: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_name` in responses. - */ -export const access_name: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_org_mfa_config` in responses. */ @@ -234,31 +178,39 @@ export const access_org_mfa_config: JsonSchema = { export const access_organizations: JsonSchema = { "properties": { "allow_authenticate_via_warp": { - "$ref": "#/$defs/access_allow_authenticate_via_warp" + "type": "boolean" }, "auth_domain": { - "$ref": "#/$defs/access_auth_domain" + "type": "string" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity" + "type": "boolean" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "custom_pages": { "$ref": "#/$defs/access_custom_pages" }, "deny_unmatched_requests": { - "$ref": "#/$defs/access_deny_unmatched_requests" + "type": "boolean" }, "deny_unmatched_requests_exempted_zone_names": { "$ref": "#/$defs/access_deny_unmatched_requests_exempted_zone_names" }, "disable_end_user_app_creation": { - "$ref": "#/$defs/access_disable_end_user_app_creation" + "type": "boolean" }, "is_ui_read_only": { - "$ref": "#/$defs/access_is_ui_read_only" + "type": "boolean" }, "login_design": { "$ref": "#/$defs/access_login_design" @@ -270,34 +222,42 @@ export const access_organizations: JsonSchema = { "$ref": "#/$defs/access_mfa_piv_key_requirements" }, "mfa_required_for_all_apps": { - "$ref": "#/$defs/access_mfa_required_for_all_apps" + "type": "boolean" }, "name": { - "$ref": "#/$defs/access_name" + "type": "string" }, "service_token_inactivity": { "$ref": "#/$defs/access_service_token_inactivity" }, "session_duration": { - "$ref": "#/$defs/access_session_duration" + "type": "string" }, "strict_service_token_auth": { - "$ref": "#/$defs/access_strict_service_token_auth" + "type": "boolean" }, "ui_read_only_toggle_reason": { - "$ref": "#/$defs/access_ui_read_only_toggle_reason" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "user_seat_expiration_inactive_time": { - "$ref": "#/$defs/access_user_seat_expiration_inactive_time" + "type": "string" }, "warp_auth_non_browser_401": { - "$ref": "#/$defs/access_warp_auth_non_browser_401" + "type": "boolean" }, "warp_auth_session_duration": { - "$ref": "#/$defs/access_warp_auth_session_duration" + "type": "string" } }, "type": "object" @@ -330,13 +290,6 @@ export const access_service_token_inactivity: JsonSchema = { "type": "object" }; -/** - * The schema of `access_session_duration` in responses. - */ -export const access_session_duration: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_single_response` in responses. */ @@ -355,38 +308,3 @@ export const access_single_response: JsonSchema = { } ] }; - -/** - * The schema of `access_strict_service_token_auth` in responses. - */ -export const access_strict_service_token_auth: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_ui_read_only_toggle_reason` in responses. - */ -export const access_ui_read_only_toggle_reason: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_user_seat_expiration_inactive_time` in responses. - */ -export const access_user_seat_expiration_inactive_time: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_warp_auth_non_browser_401` in responses. - */ -export const access_warp_auth_non_browser_401: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_warp_auth_session_duration` in responses. - */ -export const access_warp_auth_session_duration: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/organization/schemas.ts b/src/generated/forge-mcp/zeroTrust/organization/schemas.ts index d741f4cfe..01a5a9eca 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/schemas.ts @@ -3,30 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `access_allow_authenticate_via_warp`. - */ -export const access_allow_authenticate_via_warp: JsonSchema = { - "description": "When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value.", - "type": "boolean" -}; - -/** - * The schema of `access_auth_domain`. - */ -export const access_auth_domain: JsonSchema = { - "description": "The unique subdomain assigned to your Zero Trust organization. If omitted on creation, a unique subdomain is auto-generated in the format `adjective-noun-hex4` (e.g. `frosty-moon-7a3b.cloudflareaccess.com`).", - "type": "string" -}; - -/** - * The schema of `access_auto_redirect_to_identity`. - */ -export const access_auto_redirect_to_identity: JsonSchema = { - "description": "When set to `true`, users skip the identity provider selection step during login.", - "type": "boolean" -}; - /** * The schema of `access_custom_pages`. */ @@ -44,14 +20,6 @@ export const access_custom_pages: JsonSchema = { "type": "object" }; -/** - * The schema of `access_deny_unmatched_requests`. - */ -export const access_deny_unmatched_requests: JsonSchema = { - "description": "Determines whether to deny all requests to Cloudflare-protected resources that lack an associated Access application. If enabled, you must explicitly configure an Access application and policy to allow traffic to your Cloudflare-protected resources. For domains you want to be public across all subdomains, add the domain to the `deny_unmatched_requests_exempted_zone_names` array.", - "type": "boolean" -}; - /** * The schema of `access_deny_unmatched_requests_exempted_zone_names`. */ @@ -63,22 +31,6 @@ export const access_deny_unmatched_requests_exempted_zone_names: JsonSchema = { "type": "array" }; -/** - * The schema of `access_disable_end_user_app_creation`. - */ -export const access_disable_end_user_app_creation: JsonSchema = { - "description": "Whether creation of end user applications is disabled for this organization.", - "type": "boolean" -}; - -/** - * The schema of `access_is_ui_read_only`. - */ -export const access_is_ui_read_only: JsonSchema = { - "description": "Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled.", - "type": "boolean" -}; - /** * The schema of `access_login_design`. */ @@ -167,22 +119,6 @@ export const access_mfa_piv_key_requirements: JsonSchema = { "type": "object" }; -/** - * The schema of `access_mfa_required_for_all_apps`. - */ -export const access_mfa_required_for_all_apps: JsonSchema = { - "description": "Determines whether global MFA settings apply to applications by default. The organization must have MFA enabled with at least one authentication method and a session duration configured. Note: 'allowed_authenticators' cannot contain only the infrastructure SSH authenticators ('piv_key' and 'ssh_fido2_key') if the organization has any non-infrastructure applications.", - "type": "boolean" -}; - -/** - * The schema of `access_name`. - */ -export const access_name: JsonSchema = { - "description": "The name of your Zero Trust organization. When omitted on creation, defaults to the provided auth_domain; when both are omitted, defaults to the auto-generated subdomain slug (e.g. frosty-moon-7a3b).", - "type": "string" -}; - /** * The schema of `access_org_mfa_config`. */ @@ -250,51 +186,3 @@ export const access_service_token_inactivity: JsonSchema = { ], "type": "object" }; - -/** - * The schema of `access_session_duration`. - */ -export const access_session_duration: JsonSchema = { - "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", - "type": "string" -}; - -/** - * The schema of `access_strict_service_token_auth`. - */ -export const access_strict_service_token_auth: JsonSchema = { - "description": "Enables new behaviors for requests made with Access service tokens. Unauthorized requests emit audit logs, and return a 401 or 403 status code in the response instead of redirecting to the login page. Successful requests no longer receive a CF_Authorization cookie in the response. Zero Trust organizations created on or after October 5, 2026 will have this setting enabled by default, and cannot disable it.", - "type": "boolean" -}; - -/** - * The schema of `access_ui_read_only_toggle_reason`. - */ -export const access_ui_read_only_toggle_reason: JsonSchema = { - "description": "A description of the reason why the UI read only field is being toggled.", - "type": "string" -}; - -/** - * The schema of `access_user_seat_expiration_inactive_time`. - */ -export const access_user_seat_expiration_inactive_time: JsonSchema = { - "description": "The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Minimum value for this setting is 1 month (730h). Must be in the format `300ms` or `2h45m`. Valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.", - "type": "string" -}; - -/** - * The schema of `access_warp_auth_non_browser_401`. - */ -export const access_warp_auth_non_browser_401: JsonSchema = { - "description": "When enabled, unsuccessful WARP authentication requests with a non-HTML Accept header return a 401 response instead of redirecting to the login page.", - "type": "boolean" -}; - -/** - * The schema of `access_warp_auth_session_duration`. - */ -export const access_warp_auth_session_duration: JsonSchema = { - "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `30m` or `2h45m`. Valid time units are: m, h.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/organization/tools.ts b/src/generated/forge-mcp/zeroTrust/organization/tools.ts index d90ce10ca..08bf90569 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/tools.ts @@ -5,58 +5,26 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { access_api$$response$$common$$failure, access_api$$response$$single, - access_created_at, access_messages, - access_timestamp, - access_updated_at, } from "../outputs.js"; -import { access_identifier } from "../schemas.js"; import { - access_allow_authenticate_via_warp, - access_auth_domain, - access_auto_redirect_to_identity, access_custom_pages, - access_deny_unmatched_requests, access_deny_unmatched_requests_exempted_zone_names, - access_disable_end_user_app_creation, access_get_response, - access_is_ui_read_only, access_login_design, access_mfa_piv_key_requirements, - access_mfa_required_for_all_apps, - access_name, access_org_mfa_config, access_organizations, access_service_token_inactivity, - access_session_duration, access_single_response, - access_strict_service_token_auth, - access_ui_read_only_toggle_reason, - access_user_seat_expiration_inactive_time, - access_warp_auth_non_browser_401, - access_warp_auth_session_duration, } from "./outputs.js"; import { - access_allow_authenticate_via_warp as access_allow_authenticate_via_warp$, - access_auth_domain as access_auth_domain$, - access_auto_redirect_to_identity as access_auto_redirect_to_identity$, access_custom_pages as access_custom_pages$, - access_deny_unmatched_requests as access_deny_unmatched_requests$, access_deny_unmatched_requests_exempted_zone_names as access_deny_unmatched_requests_exempted_zone_names$, - access_disable_end_user_app_creation as access_disable_end_user_app_creation$, - access_is_ui_read_only as access_is_ui_read_only$, access_login_design as access_login_design$, access_mfa_piv_key_requirements as access_mfa_piv_key_requirements$, - access_mfa_required_for_all_apps as access_mfa_required_for_all_apps$, - access_name as access_name$, access_org_mfa_config as access_org_mfa_config$, access_service_token_inactivity as access_service_token_inactivity$, - access_session_duration as access_session_duration$, - access_strict_service_token_auth as access_strict_service_token_auth$, - access_ui_read_only_toggle_reason as access_ui_read_only_toggle_reason$, - access_user_seat_expiration_inactive_time as access_user_seat_expiration_inactive_time$, - access_warp_auth_non_browser_401 as access_warp_auth_non_browser_401$, - access_warp_auth_session_duration as access_warp_auth_session_duration$, } from "./schemas.js"; /** @@ -66,43 +34,43 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_organization_create", title: "Create your Zero Trust organization", - description: "Sets up a Zero Trust organization for your account or zone.", + description: "Sets up a Zero Trust organization for your account or zone.\n\nPOST /{account_or_zone}/{account_or_zone_id}/access/organizations", inputSchema: { type: "object", properties: { "body": { "properties": { "allow_authenticate_via_warp": { - "$ref": "#/$defs/access_allow_authenticate_via_warp", "default": false, - "description": "When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value." + "description": "When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value.", + "type": "boolean" }, "auth_domain": { - "$ref": "#/$defs/access_auth_domain", - "description": "The unique subdomain assigned to your Zero Trust organization. If omitted on creation, a unique subdomain is auto-generated in the format `adjective-noun-hex4` (e.g. `frosty-moon-7a3b.cloudflareaccess.com`)." + "description": "The unique subdomain assigned to your Zero Trust organization. If omitted on creation, a unique subdomain is auto-generated in the format `adjective-noun-hex4` (e.g. `frosty-moon-7a3b.cloudflareaccess.com`).", + "type": "string" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity", "default": false, - "description": "When set to `true`, users skip the identity provider selection step during login." + "description": "When set to `true`, users skip the identity provider selection step during login.", + "type": "boolean" }, "deny_unmatched_requests": { - "$ref": "#/$defs/access_deny_unmatched_requests", - "description": "Determines whether to deny all requests to Cloudflare-protected resources that lack an associated Access application. If enabled, you must explicitly configure an Access application and policy to allow traffic to your Cloudflare-protected resources. For domains you want to be public across all subdomains, add the domain to the `deny_unmatched_requests_exempted_zone_names` array." + "description": "Determines whether to deny all requests to Cloudflare-protected resources that lack an associated Access application. If enabled, you must explicitly configure an Access application and policy to allow traffic to your Cloudflare-protected resources. For domains you want to be public across all subdomains, add the domain to the `deny_unmatched_requests_exempted_zone_names` array.", + "type": "boolean" }, "deny_unmatched_requests_exempted_zone_names": { "$ref": "#/$defs/access_deny_unmatched_requests_exempted_zone_names", "description": "Contains zone names to exempt from the `deny_unmatched_requests` feature. Requests to a subdomain in an exempted zone will block unauthenticated traffic by default if there is a configured Access application and policy that matches the request." }, "disable_end_user_app_creation": { - "$ref": "#/$defs/access_disable_end_user_app_creation", "default": false, - "description": "Whether creation of end user applications is disabled for this organization." + "description": "Whether creation of end user applications is disabled for this organization.", + "type": "boolean" }, "is_ui_read_only": { - "$ref": "#/$defs/access_is_ui_read_only", "default": false, - "description": "Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled." + "description": "Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled.", + "type": "boolean" }, "login_design": { "$ref": "#/$defs/access_login_design" @@ -116,47 +84,48 @@ export const tools: readonly Tool[] = [ "description": "Configures PIV key requirements for MFA using hardware security keys." }, "mfa_required_for_all_apps": { - "$ref": "#/$defs/access_mfa_required_for_all_apps", "default": false, - "description": "Determines whether global MFA settings apply to applications by default. The organization must have MFA enabled with at least one authentication method and a session duration configured. Note: 'allowed_authenticators' cannot contain only the infrastructure SSH authenticators ('piv_key' and 'ssh_fido2_key') if the organization has any non-infrastructure applications." + "description": "Determines whether global MFA settings apply to applications by default. The organization must have MFA enabled with at least one authentication method and a session duration configured. Note: 'allowed_authenticators' cannot contain only the infrastructure SSH authenticators ('piv_key' and 'ssh_fido2_key') if the organization has any non-infrastructure applications.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/access_name", - "description": "The name of your Zero Trust organization. When omitted on creation, defaults to the provided auth_domain; when both are omitted, defaults to the auto-generated subdomain slug (e.g. frosty-moon-7a3b)." + "description": "The name of your Zero Trust organization. When omitted on creation, defaults to the provided auth_domain; when both are omitted, defaults to the auto-generated subdomain slug (e.g. frosty-moon-7a3b).", + "type": "string" }, "service_token_inactivity": { "$ref": "#/$defs/access_service_token_inactivity", "description": "Configures automatic enforcement for inactive service tokens. A service token is inactive if no policy references it, and it has not successfully authenticated with an Access application during the selected inactivity period. This setting applies to every service token in your Zero Trust account." }, "session_duration": { - "$ref": "#/$defs/access_session_duration", - "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h." + "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", + "type": "string" }, "strict_service_token_auth": { - "$ref": "#/$defs/access_strict_service_token_auth", - "description": "Enables new behaviors for requests made with Access service tokens. Unauthorized requests emit audit logs, and return a 401 or 403 status code in the response instead of redirecting to the login page. Successful requests no longer receive a CF_Authorization cookie in the response. Zero Trust organizations created on or after October 5, 2026 will have this setting enabled by default, and cannot disable it." + "description": "Enables new behaviors for requests made with Access service tokens. Unauthorized requests emit audit logs, and return a 401 or 403 status code in the response instead of redirecting to the login page. Successful requests no longer receive a CF_Authorization cookie in the response. Zero Trust organizations created on or after October 5, 2026 will have this setting enabled by default, and cannot disable it.", + "type": "boolean" }, "ui_read_only_toggle_reason": { - "$ref": "#/$defs/access_ui_read_only_toggle_reason", - "description": "A description of the reason why the UI read only field is being toggled." + "description": "A description of the reason why the UI read only field is being toggled.", + "type": "string" }, "user_seat_expiration_inactive_time": { - "$ref": "#/$defs/access_user_seat_expiration_inactive_time", - "description": "The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Minimum value for this setting is 1 month (730h). Must be in the format `300ms` or `2h45m`. Valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`." + "description": "The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Minimum value for this setting is 1 month (730h). Must be in the format `300ms` or `2h45m`. Valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.", + "type": "string" }, "warp_auth_non_browser_401": { - "$ref": "#/$defs/access_warp_auth_non_browser_401", "default": false, - "description": "When enabled, unsuccessful WARP authentication requests with a non-HTML Accept header return a 401 response instead of redirecting to the login page." + "description": "When enabled, unsuccessful WARP authentication requests with a non-HTML Accept header return a 401 response instead of redirecting to the login page.", + "type": "boolean" }, "warp_auth_session_duration": { - "$ref": "#/$defs/access_warp_auth_session_duration", - "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `30m` or `2h45m`. Valid time units are: m, h." + "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `30m` or `2h45m`. Valid time units are: m, h.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -167,8 +136,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -182,59 +151,28 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp$, - "access_auth_domain": access_auth_domain$, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity$, - "access_deny_unmatched_requests": access_deny_unmatched_requests$, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names$, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation$, - "access_identifier": access_identifier, - "access_is_ui_read_only": access_is_ui_read_only$, "access_login_design": access_login_design$, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements$, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps$, - "access_name": access_name$, "access_org_mfa_config": access_org_mfa_config$, "access_service_token_inactivity": access_service_token_inactivity$, - "access_session_duration": access_session_duration$, - "access_strict_service_token_auth": access_strict_service_token_auth$, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason$, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time$, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401$, - "access_warp_auth_session_duration": access_warp_auth_session_duration$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response", $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, "access_api-response-single": access_api$$response$$single, - "access_auth_domain": access_auth_domain, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity, - "access_created_at": access_created_at, "access_custom_pages": access_custom_pages, - "access_deny_unmatched_requests": access_deny_unmatched_requests, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation, - "access_is_ui_read_only": access_is_ui_read_only, "access_login_design": access_login_design, "access_messages": access_messages, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, - "access_name": access_name, "access_org_mfa_config": access_org_mfa_config, "access_organizations": access_organizations, "access_service_token_inactivity": access_service_token_inactivity, - "access_session_duration": access_session_duration, "access_single_response": access_single_response, - "access_strict_service_token_auth": access_strict_service_token_auth, - "access_timestamp": access_timestamp, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, - "access_updated_at": access_updated_at, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, - "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, annotations: { @@ -261,34 +199,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_auth_domain": access_auth_domain, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity, - "access_created_at": access_created_at, "access_custom_pages": access_custom_pages, - "access_deny_unmatched_requests": access_deny_unmatched_requests, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation, - "access_is_ui_read_only": access_is_ui_read_only, "access_login_design": access_login_design, "access_messages": access_messages, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, - "access_name": access_name, "access_org_mfa_config": access_org_mfa_config, "access_organizations": access_organizations, "access_service_token_inactivity": access_service_token_inactivity, - "access_session_duration": access_session_duration, "access_single_response": access_single_response, - "access_strict_service_token_auth": access_strict_service_token_auth, - "access_timestamp": access_timestamp, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, - "access_updated_at": access_updated_at, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, - "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, request: (args) => ({ @@ -299,11 +220,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_organization_get", title: "Get your Zero Trust organization", - description: "Returns the configuration for your Zero Trust organization.", + description: "Returns the configuration for your Zero Trust organization.\n\nGET /{account_or_zone}/{account_or_zone_id}/access/organizations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -314,8 +236,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -328,40 +250,21 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_get_response", $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, "access_api-response-single": access_api$$response$$single, - "access_auth_domain": access_auth_domain, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity, - "access_created_at": access_created_at, "access_custom_pages": access_custom_pages, - "access_deny_unmatched_requests": access_deny_unmatched_requests, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation, "access_get_response": access_get_response, - "access_is_ui_read_only": access_is_ui_read_only, "access_login_design": access_login_design, "access_messages": access_messages, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, - "access_name": access_name, "access_org_mfa_config": access_org_mfa_config, "access_organizations": access_organizations, "access_service_token_inactivity": access_service_token_inactivity, - "access_session_duration": access_session_duration, - "access_strict_service_token_auth": access_strict_service_token_auth, - "access_timestamp": access_timestamp, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, - "access_updated_at": access_updated_at, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, - "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, annotations: { @@ -390,34 +293,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_auth_domain": access_auth_domain, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity, - "access_created_at": access_created_at, "access_custom_pages": access_custom_pages, - "access_deny_unmatched_requests": access_deny_unmatched_requests, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation, "access_get_response": access_get_response, - "access_is_ui_read_only": access_is_ui_read_only, "access_login_design": access_login_design, "access_messages": access_messages, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, - "access_name": access_name, "access_org_mfa_config": access_org_mfa_config, "access_organizations": access_organizations, "access_service_token_inactivity": access_service_token_inactivity, - "access_session_duration": access_session_duration, - "access_strict_service_token_auth": access_strict_service_token_auth, - "access_timestamp": access_timestamp, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, - "access_updated_at": access_updated_at, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, - "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, request: (args) => ({ @@ -427,46 +313,46 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_organization_update", title: "Update your Zero Trust organization", - description: "Updates the configuration for your Zero Trust organization.", + description: "Updates the configuration for your Zero Trust organization.\n\nPUT /{account_or_zone}/{account_or_zone_id}/access/organizations", inputSchema: { type: "object", properties: { "body": { "properties": { "allow_authenticate_via_warp": { - "$ref": "#/$defs/access_allow_authenticate_via_warp", "default": false, - "description": "When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value." + "description": "When set to true, users can authenticate via WARP for any application in your organization. Application settings will take precedence over this value.", + "type": "boolean" }, "auth_domain": { - "$ref": "#/$defs/access_auth_domain", - "description": "The unique subdomain assigned to your Zero Trust organization. If omitted on creation, a unique subdomain is auto-generated in the format `adjective-noun-hex4` (e.g. `frosty-moon-7a3b.cloudflareaccess.com`)." + "description": "The unique subdomain assigned to your Zero Trust organization. If omitted on creation, a unique subdomain is auto-generated in the format `adjective-noun-hex4` (e.g. `frosty-moon-7a3b.cloudflareaccess.com`).", + "type": "string" }, "auto_redirect_to_identity": { - "$ref": "#/$defs/access_auto_redirect_to_identity", "default": false, - "description": "When set to `true`, users skip the identity provider selection step during login." + "description": "When set to `true`, users skip the identity provider selection step during login.", + "type": "boolean" }, "custom_pages": { "$ref": "#/$defs/access_custom_pages" }, "deny_unmatched_requests": { - "$ref": "#/$defs/access_deny_unmatched_requests", - "description": "Determines whether to deny all requests to Cloudflare-protected resources that lack an associated Access application. If enabled, you must explicitly configure an Access application and policy to allow traffic to your Cloudflare-protected resources. For domains you want to be public across all subdomains, add the domain to the `deny_unmatched_requests_exempted_zone_names` array." + "description": "Determines whether to deny all requests to Cloudflare-protected resources that lack an associated Access application. If enabled, you must explicitly configure an Access application and policy to allow traffic to your Cloudflare-protected resources. For domains you want to be public across all subdomains, add the domain to the `deny_unmatched_requests_exempted_zone_names` array.", + "type": "boolean" }, "deny_unmatched_requests_exempted_zone_names": { "$ref": "#/$defs/access_deny_unmatched_requests_exempted_zone_names", "description": "Contains zone names to exempt from the `deny_unmatched_requests` feature. Requests to a subdomain in an exempted zone will block unauthenticated traffic by default if there is a configured Access application and policy that matches the request." }, "disable_end_user_app_creation": { - "$ref": "#/$defs/access_disable_end_user_app_creation", "default": false, - "description": "Whether creation of end user applications is disabled for this organization." + "description": "Whether creation of end user applications is disabled for this organization.", + "type": "boolean" }, "is_ui_read_only": { - "$ref": "#/$defs/access_is_ui_read_only", "default": false, - "description": "Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled." + "description": "Lock all settings as Read-Only in the Dashboard, regardless of user permission. Updates may only be made via the API or Terraform for this account when enabled.", + "type": "boolean" }, "login_design": { "$ref": "#/$defs/access_login_design" @@ -480,47 +366,48 @@ export const tools: readonly Tool[] = [ "description": "Configures PIV key requirements for MFA using hardware security keys." }, "mfa_required_for_all_apps": { - "$ref": "#/$defs/access_mfa_required_for_all_apps", "default": false, - "description": "Determines whether global MFA settings apply to applications by default. The organization must have MFA enabled with at least one authentication method and a session duration configured. Note: 'allowed_authenticators' cannot contain only the infrastructure SSH authenticators ('piv_key' and 'ssh_fido2_key') if the organization has any non-infrastructure applications." + "description": "Determines whether global MFA settings apply to applications by default. The organization must have MFA enabled with at least one authentication method and a session duration configured. Note: 'allowed_authenticators' cannot contain only the infrastructure SSH authenticators ('piv_key' and 'ssh_fido2_key') if the organization has any non-infrastructure applications.", + "type": "boolean" }, "name": { - "$ref": "#/$defs/access_name", - "description": "The name of your Zero Trust organization. When omitted on creation, defaults to the provided auth_domain; when both are omitted, defaults to the auto-generated subdomain slug (e.g. frosty-moon-7a3b)." + "description": "The name of your Zero Trust organization. When omitted on creation, defaults to the provided auth_domain; when both are omitted, defaults to the auto-generated subdomain slug (e.g. frosty-moon-7a3b).", + "type": "string" }, "service_token_inactivity": { "$ref": "#/$defs/access_service_token_inactivity", "description": "Configures automatic enforcement for inactive service tokens. A service token is inactive if no policy references it, and it has not successfully authenticated with an Access application during the selected inactivity period. This setting applies to every service token in your Zero Trust account." }, "session_duration": { - "$ref": "#/$defs/access_session_duration", - "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h." + "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms, s, m, h.", + "type": "string" }, "strict_service_token_auth": { - "$ref": "#/$defs/access_strict_service_token_auth", - "description": "Enables new behaviors for requests made with Access service tokens. Unauthorized requests emit audit logs, and return a 401 or 403 status code in the response instead of redirecting to the login page. Successful requests no longer receive a CF_Authorization cookie in the response. Zero Trust organizations created on or after October 5, 2026 will have this setting enabled by default, and cannot disable it." + "description": "Enables new behaviors for requests made with Access service tokens. Unauthorized requests emit audit logs, and return a 401 or 403 status code in the response instead of redirecting to the login page. Successful requests no longer receive a CF_Authorization cookie in the response. Zero Trust organizations created on or after October 5, 2026 will have this setting enabled by default, and cannot disable it.", + "type": "boolean" }, "ui_read_only_toggle_reason": { - "$ref": "#/$defs/access_ui_read_only_toggle_reason", - "description": "A description of the reason why the UI read only field is being toggled." + "description": "A description of the reason why the UI read only field is being toggled.", + "type": "string" }, "user_seat_expiration_inactive_time": { - "$ref": "#/$defs/access_user_seat_expiration_inactive_time", - "description": "The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Minimum value for this setting is 1 month (730h). Must be in the format `300ms` or `2h45m`. Valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`." + "description": "The amount of time a user seat is inactive before it expires. When the user seat exceeds the set time of inactivity, the user is removed as an active seat and no longer counts against your Teams seat count. Minimum value for this setting is 1 month (730h). Must be in the format `300ms` or `2h45m`. Valid time units are: `ns`, `us` (or `µs`), `ms`, `s`, `m`, `h`.", + "type": "string" }, "warp_auth_non_browser_401": { - "$ref": "#/$defs/access_warp_auth_non_browser_401", "default": false, - "description": "When enabled, unsuccessful WARP authentication requests with a non-HTML Accept header return a 401 response instead of redirecting to the login page." + "description": "When enabled, unsuccessful WARP authentication requests with a non-HTML Accept header return a 401 response instead of redirecting to the login page.", + "type": "boolean" }, "warp_auth_session_duration": { - "$ref": "#/$defs/access_warp_auth_session_duration", - "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `30m` or `2h45m`. Valid time units are: m, h." + "description": "The amount of time that tokens issued for applications will be valid. Must be in the format `30m` or `2h45m`. Valid time units are: m, h.", + "type": "string" } }, "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_or_zone": { "description": "Whether account_or_zone_id is an account ID (`accounts`) or a zone ID (`zones`).", @@ -531,8 +418,8 @@ export const tools: readonly Tool[] = [ "type": "string" }, "account_or_zone_id": { - "$ref": "#/$defs/access_identifier", - "description": "The account ID or zone ID, as selected by account_or_zone." + "description": "The account ID or zone ID, as selected by account_or_zone.", + "type": "string" } }, "required": [ @@ -546,60 +433,29 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp$, - "access_auth_domain": access_auth_domain$, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity$, "access_custom_pages": access_custom_pages$, - "access_deny_unmatched_requests": access_deny_unmatched_requests$, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names$, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation$, - "access_identifier": access_identifier, - "access_is_ui_read_only": access_is_ui_read_only$, "access_login_design": access_login_design$, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements$, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps$, - "access_name": access_name$, "access_org_mfa_config": access_org_mfa_config$, "access_service_token_inactivity": access_service_token_inactivity$, - "access_session_duration": access_session_duration$, - "access_strict_service_token_auth": access_strict_service_token_auth$, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason$, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time$, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401$, - "access_warp_auth_session_duration": access_warp_auth_session_duration$, }, }, outputSchema: { "$ref": "#/$defs/access_single_response", $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, "access_api-response-single": access_api$$response$$single, - "access_auth_domain": access_auth_domain, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity, - "access_created_at": access_created_at, "access_custom_pages": access_custom_pages, - "access_deny_unmatched_requests": access_deny_unmatched_requests, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation, - "access_is_ui_read_only": access_is_ui_read_only, "access_login_design": access_login_design, "access_messages": access_messages, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, - "access_name": access_name, "access_org_mfa_config": access_org_mfa_config, "access_organizations": access_organizations, "access_service_token_inactivity": access_service_token_inactivity, - "access_session_duration": access_session_duration, "access_single_response": access_single_response, - "access_strict_service_token_auth": access_strict_service_token_auth, - "access_timestamp": access_timestamp, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, - "access_updated_at": access_updated_at, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, - "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, annotations: { @@ -626,34 +482,17 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_allow_authenticate_via_warp": access_allow_authenticate_via_warp, "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_auth_domain": access_auth_domain, - "access_auto_redirect_to_identity": access_auto_redirect_to_identity, - "access_created_at": access_created_at, "access_custom_pages": access_custom_pages, - "access_deny_unmatched_requests": access_deny_unmatched_requests, "access_deny_unmatched_requests_exempted_zone_names": access_deny_unmatched_requests_exempted_zone_names, - "access_disable_end_user_app_creation": access_disable_end_user_app_creation, - "access_is_ui_read_only": access_is_ui_read_only, "access_login_design": access_login_design, "access_messages": access_messages, "access_mfa_piv_key_requirements": access_mfa_piv_key_requirements, - "access_mfa_required_for_all_apps": access_mfa_required_for_all_apps, - "access_name": access_name, "access_org_mfa_config": access_org_mfa_config, "access_organizations": access_organizations, "access_service_token_inactivity": access_service_token_inactivity, - "access_session_duration": access_session_duration, "access_single_response": access_single_response, - "access_strict_service_token_auth": access_strict_service_token_auth, - "access_timestamp": access_timestamp, - "access_ui_read_only_toggle_reason": access_ui_read_only_toggle_reason, - "access_updated_at": access_updated_at, - "access_user_seat_expiration_inactive_time": access_user_seat_expiration_inactive_time, - "access_warp_auth_non_browser_401": access_warp_auth_non_browser_401, - "access_warp_auth_session_duration": access_warp_auth_session_duration, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/outputs.ts b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/outputs.ts index 606fa17e0..0ed5727e6 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/outputs.ts @@ -3,13 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_grant_trust_to_all_accounts_in_org` in responses. - */ -export const access_grant_trust_to_all_accounts_in_org: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_trust_settings_response` in responses. */ @@ -23,7 +16,7 @@ export const access_trust_settings_response: JsonSchema = { "result": { "properties": { "grant_trust_to_all_accounts_in_org": { - "$ref": "#/$defs/access_grant_trust_to_all_accounts_in_org" + "type": "boolean" }, "trusting_accounts": { "$ref": "#/$defs/access_trusting_accounts" diff --git a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/schemas.ts b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/schemas.ts index d7bdd25c4..318641ddc 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/schemas.ts @@ -3,14 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `access_grant_trust_to_all_accounts_in_org`. - */ -export const access_grant_trust_to_all_accounts_in_org: JsonSchema = { - "description": "Whether all accounts in the organization are trusted to use this account's cross-account Access resources.", - "type": "boolean" -}; - /** * The schema of `access_trusting_accounts`. */ diff --git a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/tools.ts b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/tools.ts index b27a8c67d..faaff9937 100644 --- a/src/generated/forge-mcp/zeroTrust/organization/trustSettings/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/organization/trustSettings/tools.ts @@ -7,16 +7,11 @@ import { access_api$$response$$single, access_messages, } from "../../outputs.js"; -import { access_identifier } from "../../schemas.js"; import { - access_grant_trust_to_all_accounts_in_org, access_trust_settings_response, access_trusting_accounts, } from "./outputs.js"; -import { - access_grant_trust_to_all_accounts_in_org as access_grant_trust_to_all_accounts_in_org$, - access_trusting_accounts as access_trusting_accounts$, -} from "./schemas.js"; +import { access_trusting_accounts as access_trusting_accounts$ } from "./schemas.js"; /** * The tools of `zeroTrust.organization.trustSettings`. @@ -25,15 +20,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_organization_trustSettings_delete", title: "Delete Zero Trust organization trust settings", - description: "Resets the trust settings for your Zero Trust organization.", + description: "Resets the trust settings for your Zero Trust organization.\n\nDELETE /accounts/{account_id}/access/organizations/trust_settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -45,15 +41,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_trust_settings_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, "access_messages": access_messages, "access_trust_settings_response": access_trust_settings_response, "access_trusting_accounts": access_trusting_accounts, @@ -85,7 +78,6 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, "access_messages": access_messages, "access_trust_settings_response": access_trust_settings_response, "access_trusting_accounts": access_trusting_accounts, @@ -98,15 +90,16 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_organization_trustSettings_get", title: "Get Zero Trust organization trust settings", - description: "Returns the trust settings for your Zero Trust organization.", + description: "Returns the trust settings for your Zero Trust organization.\n\nGET /accounts/{account_id}/access/organizations/trust_settings", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -118,15 +111,12 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_identifier": access_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_trust_settings_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, "access_messages": access_messages, "access_trust_settings_response": access_trust_settings_response, "access_trusting_accounts": access_trusting_accounts, @@ -160,7 +150,6 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, "access_messages": access_messages, "access_trust_settings_response": access_trust_settings_response, "access_trusting_accounts": access_trusting_accounts, @@ -173,15 +162,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_organization_trustSettings_replace", title: "Replace Zero Trust organization trust settings", - description: "Replaces the trust settings for your Zero Trust organization.", + description: "Replaces the trust settings for your Zero Trust organization.\n\nPUT /accounts/{account_id}/access/organizations/trust_settings", inputSchema: { type: "object", properties: { "body": { "properties": { "grant_trust_to_all_accounts_in_org": { - "$ref": "#/$defs/access_grant_trust_to_all_accounts_in_org", - "description": "Whether all accounts in the organization are trusted to use this account's cross-account Access resources." + "description": "Whether all accounts in the organization are trusted to use this account's cross-account Access resources.", + "type": "boolean" }, "trusting_accounts": { "$ref": "#/$defs/access_trusting_accounts", @@ -194,10 +183,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -210,9 +200,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org$, - "access_identifier": access_identifier, "access_trusting_accounts": access_trusting_accounts$, }, }, @@ -220,7 +209,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_trust_settings_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, "access_messages": access_messages, "access_trust_settings_response": access_trust_settings_response, "access_trusting_accounts": access_trusting_accounts, @@ -252,7 +240,6 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, "access_messages": access_messages, "access_trust_settings_response": access_trust_settings_response, "access_trusting_accounts": access_trusting_accounts, @@ -266,15 +253,15 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_organization_trustSettings_update", title: "Update Zero Trust organization trust settings", - description: "Updates the trust settings for your Zero Trust organization.", + description: "Updates the trust settings for your Zero Trust organization.\n\nPATCH /accounts/{account_id}/access/organizations/trust_settings", inputSchema: { type: "object", properties: { "body": { "properties": { "grant_trust_to_all_accounts_in_org": { - "$ref": "#/$defs/access_grant_trust_to_all_accounts_in_org", - "description": "Whether all accounts in the organization are trusted to use this account's cross-account Access resources." + "description": "Whether all accounts in the organization are trusted to use this account's cross-account Access resources.", + "type": "boolean" }, "trusting_accounts": { "$ref": "#/$defs/access_trusting_accounts", @@ -284,10 +271,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -300,9 +288,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org$, - "access_identifier": access_identifier, "access_trusting_accounts": access_trusting_accounts$, }, }, @@ -310,7 +297,6 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_trust_settings_response", $defs: { "access_api-response-single": access_api$$response$$single, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, "access_messages": access_messages, "access_trust_settings_response": access_trust_settings_response, "access_trusting_accounts": access_trusting_accounts, @@ -342,7 +328,6 @@ export const tools: readonly Tool[] = [ $defs: { "access_api-response-common-failure": access_api$$response$$common$$failure, "access_api-response-single": access_api$$response$$single, - "access_grant_trust_to_all_accounts_in_org": access_grant_trust_to_all_accounts_in_org, "access_messages": access_messages, "access_trust_settings_response": access_trust_settings_response, "access_trusting_accounts": access_trusting_accounts, diff --git a/src/generated/forge-mcp/zeroTrust/outputs.ts b/src/generated/forge-mcp/zeroTrust/outputs.ts index 8c817cb17..3121497bb 100644 --- a/src/generated/forge-mcp/zeroTrust/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/outputs.ts @@ -121,41 +121,6 @@ export const access_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `access_client_id` in responses. - */ -export const access_client_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_created_at` in responses. - */ -export const access_created_at: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/access_timestamp" - } - ] -}; - -/** - * The schema of `access_duration` in responses. - */ -export const access_duration: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_enabled` in responses. - */ -export const access_enabled: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_id_response` in responses. */ @@ -169,7 +134,7 @@ export const access_id_response: JsonSchema = { "result": { "properties": { "id": { - "$ref": "#/$defs/access_uuid" + "type": "string" } }, "type": "object" @@ -180,35 +145,6 @@ export const access_id_response: JsonSchema = { ] }; -/** - * The schema of `access_identifier` in responses. - */ -export const access_identifier: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_leak_report_url` in responses. - */ -export const access_leak_report_url: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `access_leak_reported_at` in responses. - */ -export const access_leak_reported_at: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `access_leak_reporter` in responses. - */ -export const access_leak_reporter: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_messages` in responses. */ @@ -242,32 +178,34 @@ export const access_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `access_name-2` in responses. - */ -export const access_name$$2: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_service-tokens` in responses. */ export const access_service$$tokens: JsonSchema = { "properties": { "client_id": { - "$ref": "#/$defs/access_client_id" + "type": "string" }, "created_at": { - "$ref": "#/$defs/access_created_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] }, "duration": { - "$ref": "#/$defs/access_duration" + "type": "string" }, "enabled": { - "$ref": "#/$defs/access_enabled" + "type": "boolean" }, "expires_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "id": { "allOf": [ @@ -275,7 +213,7 @@ export const access_service$$tokens: JsonSchema = { "type": "string" }, { - "$ref": "#/$defs/access_uuid" + "type": "string" } ] }, @@ -285,27 +223,37 @@ export const access_service$$tokens: JsonSchema = { "type": "string" }, { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" } ] }, "leak_report_url": { - "$ref": "#/$defs/access_leak_report_url" + "type": "string" }, "leak_reported_at": { - "$ref": "#/$defs/access_leak_reported_at" + "format": "date-time", + "type": "string" }, "leak_reporter": { - "$ref": "#/$defs/access_leak_reporter" + "type": "string" }, "name": { - "$ref": "#/$defs/access_name-2" + "type": "string" }, "tags": { "$ref": "#/$defs/access_tags" }, "updated_at": { - "$ref": "#/$defs/access_updated_at" + "allOf": [ + { + "type": "string" + }, + { + "format": "date-time", + "type": "string" + } + ] } }, "type": "object" @@ -347,35 +295,6 @@ export const access_tags: JsonSchema = { ] }; -/** - * The schema of `access_timestamp` in responses. - */ -export const access_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `access_updated_at` in responses. - */ -export const access_updated_at: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/access_timestamp" - } - ] -}; - -/** - * The schema of `access_uuid` in responses. - */ -export const access_uuid: JsonSchema = { - "type": "string" -}; - /** * The schema of `dlp_Empty` in responses. */ @@ -556,11 +475,3 @@ export const zero$$trust$$gateway_messages: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `zero-trust-gateway_read_only_timestamp` in responses. - */ -export const zero$$trust$$gateway_read_only_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts index 2cdecd7bf..40a1bbd6c 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/outputs.ts @@ -18,7 +18,12 @@ export const dlp_Behavior: JsonSchema = { "type": "string" }, "risk_level": { - "$ref": "#/$defs/dlp_RiskLevel" + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" } }, "required": [ @@ -57,7 +62,12 @@ export const dlp_UpdateBehavior: JsonSchema = { "type": "boolean" }, "risk_level": { - "$ref": "#/$defs/dlp_RiskLevel" + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/schemas.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/schemas.ts index 3e68ef65b..235b42240 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/schemas.ts @@ -12,7 +12,12 @@ export const dlp_UpdateBehavior: JsonSchema = { "type": "boolean" }, "risk_level": { - "$ref": "#/$defs/dlp_RiskLevel" + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" } }, "required": [ diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts index 2ba4e1c71..11e9aa8d7 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/behaviours/tools.ts @@ -7,8 +7,6 @@ import { dlp_api$$response$$single, dlp_messages, } from "../../outputs.js"; -import { dlp_RiskLevel } from "../outputs.js"; -import { dlp_RiskLevel as dlp_RiskLevel$ } from "../schemas.js"; import { dlp_Behavior, dlp_Behaviors, @@ -27,11 +25,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_behaviours_get", title: "Get all behaviors and associated configuration", - description: "Retrieves configured risk score behaviors that define how user actions affect their overall risk score.", + description: "Retrieves configured risk score behaviors that define how user actions affect their overall risk score.\n\nGET /accounts/{account_id}/zt_risk_scoring/behaviors", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -46,6 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -64,7 +64,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_Behavior": dlp_Behavior, "dlp_Behaviors": dlp_Behaviors, - "dlp_RiskLevel": dlp_RiskLevel, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -108,7 +107,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_Behavior": dlp_Behavior, "dlp_Behaviors": dlp_Behaviors, - "dlp_RiskLevel": dlp_RiskLevel, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -121,7 +119,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_behaviours_update", title: "Update configuration for risk behaviors", - description: "Updates risk score behavior configurations, defining weights and thresholds for risk calculation.", + description: "Updates risk score behavior configurations, defining weights and thresholds for risk calculation.\n\nPUT /accounts/{account_id}/zt_risk_scoring/behaviors", inputSchema: { type: "object", properties: { @@ -130,6 +128,7 @@ export const tools: readonly Tool[] = [ "description": "Behaviors." }, "path": { + "additionalProperties": false, "properties": { "account_id": { "description": "Account ID.", @@ -146,8 +145,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "dlp_RiskLevel": dlp_RiskLevel$, "dlp_UpdateBehavior": dlp_UpdateBehavior$, "dlp_UpdateBehaviors": dlp_UpdateBehaviors$, }, @@ -167,7 +166,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskLevel": dlp_RiskLevel, "dlp_UpdateBehavior": dlp_UpdateBehavior, "dlp_UpdateBehaviors": dlp_UpdateBehaviors, "dlp_api-response-single": dlp_api$$response$$single, @@ -210,7 +208,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskLevel": dlp_RiskLevel, "dlp_UpdateBehavior": dlp_UpdateBehavior, "dlp_UpdateBehaviors": dlp_UpdateBehaviors, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts index 0d6a73ec3..e4d14d616 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/outputs.ts @@ -23,7 +23,10 @@ export const dlp_RiskScoreIntegration: JsonSchema = { "type": "string" }, "integration_type": { - "$ref": "#/$defs/dlp_RiskScoreIntegrationType" + "enum": [ + "Okta" + ], + "type": "string" }, "reference_id": { "type": "string" @@ -57,13 +60,3 @@ export const dlp_RiskScoreIntegrationArray: JsonSchema = { }, "type": "array" }; - -/** - * The schema of `dlp_RiskScoreIntegrationType` in responses. - */ -export const dlp_RiskScoreIntegrationType: JsonSchema = { - "enum": [ - "Okta" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts index 6b11edca8..828f9e6e6 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/references/tools.ts @@ -7,10 +7,7 @@ import { dlp_api$$response$$single, dlp_messages, } from "../../../outputs.js"; -import { - dlp_RiskScoreIntegration, - dlp_RiskScoreIntegrationType, -} from "../outputs.js"; +import { dlp_RiskScoreIntegration } from "../outputs.js"; /** * The tools of `zeroTrust.riskScoring.integrations.references`. @@ -19,11 +16,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_integrations_references_get", title: "Get risk score integration by reference id.", - description: "Retrieves a Zero Trust risk score integration using its external reference ID.", + description: "Retrieves a Zero Trust risk score integration using its external reference ID.\n\nGET /accounts/{account_id}/zt_risk_scoring/integrations/reference_id/{reference_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -42,6 +40,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -59,7 +58,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -102,7 +100,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/schemas.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/schemas.ts index 5389a6b55..f0674a658 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/schemas.ts @@ -9,7 +9,10 @@ import type { JsonSchema } from "../../../_/tool.js"; export const dlp_CreateIntegrationBody: JsonSchema = { "properties": { "integration_type": { - "$ref": "#/$defs/dlp_RiskScoreIntegrationType" + "enum": [ + "Okta" + ], + "type": "string" }, "reference_id": { "description": "A reference id that can be supplied by the client. Currently this should be set to the Access-Okta IDP ID (a UUIDv4).\nhttps://developers.cloudflare.com/api/operations/access-identity-providers-get-an-access-identity-provider", @@ -34,16 +37,6 @@ export const dlp_CreateIntegrationBody: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_RiskScoreIntegrationType`. - */ -export const dlp_RiskScoreIntegrationType: JsonSchema = { - "enum": [ - "Okta" - ], - "type": "string" -}; - /** * The schema of `dlp_UpdateIntegrationBody`. */ diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts index b4a065e0c..4e7c7a8e3 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/integrations/tools.ts @@ -11,11 +11,9 @@ import { import { dlp_RiskScoreIntegration, dlp_RiskScoreIntegrationArray, - dlp_RiskScoreIntegrationType, } from "./outputs.js"; import { dlp_CreateIntegrationBody, - dlp_RiskScoreIntegrationType as dlp_RiskScoreIntegrationType$, dlp_UpdateIntegrationBody, } from "./schemas.js"; @@ -26,7 +24,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_integrations_create", title: "Create new risk score integration.", - description: "Creates a new Zero Trust risk score integration, connecting external risk signals to Cloudflare's risk scoring system.", + description: "Creates a new Zero Trust risk score integration, connecting external risk signals to Cloudflare's risk scoring system.\n\nPOST /accounts/{account_id}/zt_risk_scoring/integrations", inputSchema: { type: "object", properties: { @@ -34,6 +32,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dlp_CreateIntegrationBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -49,9 +48,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_CreateIntegrationBody": dlp_CreateIntegrationBody, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType$, }, }, outputSchema: { @@ -70,7 +69,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -112,7 +110,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -126,11 +123,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_integrations_delete", title: "Delete a risk score integration.", - description: "Removes a Zero Trust risk score integration, disconnecting the external risk signal source.", + description: "Removes a Zero Trust risk score integration, disconnecting the external risk signal source.\n\nDELETE /accounts/{account_id}/zt_risk_scoring/integrations/{integration_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -150,6 +148,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -220,11 +219,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_integrations_get", title: "Get risk score integration by id.", - description: "Gets a Zero Trust risk score integration by ID.", + description: "Gets a Zero Trust risk score integration by ID.\n\nGET /accounts/{account_id}/zt_risk_scoring/integrations/{integration_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -244,6 +244,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -261,7 +262,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -304,7 +304,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -317,11 +316,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_integrations_list", title: "List all risk score integrations for the account.", - description: "Lists all configured Zero Trust risk score integrations for the account.", + description: "Lists all configured Zero Trust risk score integrations for the account.\n\nGET /accounts/{account_id}/zt_risk_scoring/integrations", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -336,6 +336,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -354,7 +355,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, "dlp_RiskScoreIntegrationArray": dlp_RiskScoreIntegrationArray, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -398,7 +398,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, "dlp_RiskScoreIntegrationArray": dlp_RiskScoreIntegrationArray, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, @@ -411,7 +410,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_integrations_update", title: "Update a risk score integration.", - description: "Overwrite the reference_id, tenant_url, and active values with the ones provided.", + description: "Overwrite the reference_id, tenant_url, and active values with the ones provided.\n\nPUT /accounts/{account_id}/zt_risk_scoring/integrations/{integration_id}", inputSchema: { type: "object", properties: { @@ -419,6 +418,7 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/dlp_UpdateIntegrationBody" }, "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -439,6 +439,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "dlp_UpdateIntegrationBody": dlp_UpdateIntegrationBody, }, @@ -459,7 +460,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, }, @@ -501,7 +501,6 @@ export const tools: readonly Tool[] = [ }, $defs: { "dlp_RiskScoreIntegration": dlp_RiskScoreIntegration, - "dlp_RiskScoreIntegrationType": dlp_RiskScoreIntegrationType, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, "dlp_api-response-single": dlp_api$$response$$single, "dlp_messages": dlp_messages, diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts index f3bb46141..1f26098ec 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/outputs.ts @@ -18,7 +18,12 @@ export const dlp_RiskEvent: JsonSchema = { "type": "string" }, "risk_level": { - "$ref": "#/$defs/dlp_RiskLevel" + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" }, "timestamp": { "format": "date-time", @@ -63,7 +68,12 @@ export const dlp_RiskEvents: JsonSchema = { "type": "string" }, "risk_level": { - "$ref": "#/$defs/dlp_RiskLevel" + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" } }, "required": [ @@ -74,18 +84,6 @@ export const dlp_RiskEvents: JsonSchema = { "type": "object" }; -/** - * The schema of `dlp_RiskLevel` in responses. - */ -export const dlp_RiskLevel: JsonSchema = { - "enum": [ - "low", - "medium", - "high" - ], - "type": "string" -}; - /** * The schema of `dlp_api-response-collection` in responses. */ diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/schemas.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/schemas.ts deleted file mode 100644 index 29f5e0781..000000000 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/schemas.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `dlp_RiskLevel`. - */ -export const dlp_RiskLevel: JsonSchema = { - "enum": [ - "low", - "medium", - "high" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts index cf32c7965..9448104d1 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/outputs.ts @@ -37,7 +37,12 @@ export const dlp_UserRiskInfo: JsonSchema = { "type": "string" }, "max_risk_level": { - "$ref": "#/$defs/dlp_RiskLevel" + "enum": [ + "low", + "medium", + "high" + ], + "type": "string" }, "name": { "type": "string" diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts index b0e0507a2..cce029a15 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/summary/tools.ts @@ -7,7 +7,6 @@ import { dlp_messages, } from "../../outputs.js"; import { - dlp_RiskLevel, dlp_api$$response$$collection, dlp_api$$response$$common, } from "../outputs.js"; @@ -20,11 +19,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_summary_get", title: "Get risk score info for all users in the account", - description: "Gets an aggregate summary of risk scores across the account, including distribution and trends.", + description: "Gets an aggregate summary of risk scores across the account, including distribution and trends.\n\nGET /accounts/{account_id}/zt_risk_scoring/summary", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -39,6 +39,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -55,7 +56,6 @@ export const tools: readonly Tool[] = [ } ], $defs: { - "dlp_RiskLevel": dlp_RiskLevel, "dlp_RiskSummary": dlp_RiskSummary, "dlp_UserRiskInfo": dlp_UserRiskInfo, "dlp_api-response-collection": dlp_api$$response$$collection, @@ -99,7 +99,6 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "dlp_RiskLevel": dlp_RiskLevel, "dlp_RiskSummary": dlp_RiskSummary, "dlp_UserRiskInfo": dlp_UserRiskInfo, "dlp_api-response-collection": dlp_api$$response$$collection, diff --git a/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts b/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts index 980d86945..5334b161b 100644 --- a/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/riskScoring/tools.ts @@ -11,7 +11,6 @@ import { import { dlp_RiskEvent, dlp_RiskEvents, - dlp_RiskLevel, dlp_api$$response$$collection, dlp_api$$response$$common, } from "./outputs.js"; @@ -23,11 +22,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_get", title: "Get risk event/score information for a specific user", - description: "Retrieves the detailed risk score breakdown for a specific user, including contributing factors.", + description: "Retrieves the detailed risk score breakdown for a specific user, including contributing factors.\n\nGET /accounts/{account_id}/zt_risk_scoring/{user_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -47,6 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -65,7 +66,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_RiskEvent": dlp_RiskEvent, "dlp_RiskEvents": dlp_RiskEvents, - "dlp_RiskLevel": dlp_RiskLevel, "dlp_api-response-collection": dlp_api$$response$$collection, "dlp_api-response-common": dlp_api$$response$$common, "dlp_messages": dlp_messages, @@ -109,7 +109,6 @@ export const tools: readonly Tool[] = [ $defs: { "dlp_RiskEvent": dlp_RiskEvent, "dlp_RiskEvents": dlp_RiskEvents, - "dlp_RiskLevel": dlp_RiskLevel, "dlp_api-response-collection": dlp_api$$response$$collection, "dlp_api-response-common": dlp_api$$response$$common, "dlp_api-response-common-failure": dlp_api$$response$$common$$failure, @@ -123,11 +122,12 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_riskScoring_reset", title: "Clear the risk score for a particular user", - description: "Resets risk scores for specified users, clearing their accumulated risk history.\n\nConfirm with the user before calling this tool. This operation wipes risk-scoring history.", + description: "Resets risk scores for specified users, clearing their accumulated risk history.\n\nConfirm with the user before calling this tool. This operation wipes risk-scoring history.\n\nPOST /accounts/{account_id}/zt_risk_scoring/{user_id}/reset", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { "type": "string" @@ -147,6 +147,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zeroTrust/schemas.ts b/src/generated/forge-mcp/zeroTrust/schemas.ts index 7dd9674ed..f1a73072b 100644 --- a/src/generated/forge-mcp/zeroTrust/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/schemas.ts @@ -3,52 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `access_created_at`. - */ -export const access_created_at: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/access_timestamp" - } - ] -}; - -/** - * The schema of `access_duration`. - */ -export const access_duration: JsonSchema = { - "description": "The duration for how long the service token will be valid. Must be in the format `300ms` or `2h45m`, or the special value `forever` for non-expiring tokens. Valid time units are: ns, us (or µs), ms, s, m, h. The default is 1 year in hours (8760h).", - "type": "string" -}; - -/** - * The schema of `access_enabled`. - */ -export const access_enabled: JsonSchema = { - "description": "Whether the service token is enabled. A disabled service token cannot be used to authenticate; both its current and previous `client_secret` stop being accepted, but the token itself is preserved and can be re-enabled. A service token reported as leaked is disabled automatically and cannot be re-enabled until its secret is rotated; attempting to do so returns a 409. Defaults to enabled when omitted on create.", - "type": "boolean" -}; - -/** - * The schema of `access_identifier`. - */ -export const access_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; - -/** - * The schema of `access_name-2`. - */ -export const access_name$$2: JsonSchema = { - "description": "The name of the service token.", - "type": "string" -}; - /** * The schema of `access_tags`. */ @@ -66,41 +20,3 @@ export const access_tags: JsonSchema = { } ] }; - -/** - * The schema of `access_timestamp`. - */ -export const access_timestamp: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `access_updated_at`. - */ -export const access_updated_at: JsonSchema = { - "allOf": [ - { - "type": "string" - }, - { - "$ref": "#/$defs/access_timestamp" - } - ] -}; - -/** - * The schema of `access_uuid`. - */ -export const access_uuid: JsonSchema = { - "description": "UUID.", - "type": "string" -}; - -/** - * The schema of `zero-trust-gateway_identifier-2`. - */ -export const zero$$trust$$gateway_identifier$$2: JsonSchema = { - "description": "Specify the Cloudflare account identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zeroTrust/seats/outputs.ts b/src/generated/forge-mcp/zeroTrust/seats/outputs.ts index 2ed5b5439..80b34ebf1 100644 --- a/src/generated/forge-mcp/zeroTrust/seats/outputs.ts +++ b/src/generated/forge-mcp/zeroTrust/seats/outputs.ts @@ -3,20 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `access_access_seat` in responses. - */ -export const access_access_seat: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `access_gateway_seat` in responses. - */ -export const access_gateway_seat: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `access_response_collection-14` in responses. */ @@ -39,32 +25,27 @@ export const access_response_collection$$14: JsonSchema = { ] }; -/** - * The schema of `access_seat_uid` in responses. - */ -export const access_seat_uid: JsonSchema = { - "type": "string" -}; - /** * The schema of `access_seats` in responses. */ export const access_seats: JsonSchema = { "properties": { "access_seat": { - "$ref": "#/$defs/access_access_seat" + "type": "boolean" }, "created_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" }, "gateway_seat": { - "$ref": "#/$defs/access_gateway_seat" + "type": "boolean" }, "seat_uid": { - "$ref": "#/$defs/access_seat_uid" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/access_timestamp" + "format": "date-time", + "type": "string" } }, "type": "object" diff --git a/src/generated/forge-mcp/zeroTrust/seats/schemas.ts b/src/generated/forge-mcp/zeroTrust/seats/schemas.ts index c0677adc5..da018d8d3 100644 --- a/src/generated/forge-mcp/zeroTrust/seats/schemas.ts +++ b/src/generated/forge-mcp/zeroTrust/seats/schemas.ts @@ -3,52 +3,22 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `access_access_seat`. - */ -export const access_access_seat: JsonSchema = { - "description": "True if the seat is part of Access.", - "type": "boolean" -}; - -/** - * The schema of `access_gateway_seat`. - */ -export const access_gateway_seat: JsonSchema = { - "description": "True if the seat is part of Gateway.", - "type": "boolean" -}; - -/** - * The schema of `access_identifier-2`. - */ -export const access_identifier$$2: JsonSchema = { - "allOf": [ - { - "$ref": "#/$defs/access_identifier" - }, - { - "type": "string" - } - ] -}; - /** * The schema of `access_seat`. */ export const access_seat: JsonSchema = { "properties": { "access_seat": { - "$ref": "#/$defs/access_access_seat", - "description": "True if the seat is part of Access." + "description": "True if the seat is part of Access.", + "type": "boolean" }, "gateway_seat": { - "$ref": "#/$defs/access_gateway_seat", - "description": "True if the seat is part of Gateway." + "description": "True if the seat is part of Gateway.", + "type": "boolean" }, "seat_uid": { - "$ref": "#/$defs/access_seat_uid", - "description": "The unique API identifier for the Zero Trust seat." + "description": "The unique API identifier for the Zero Trust seat.", + "type": "string" } }, "required": [ @@ -59,14 +29,6 @@ export const access_seat: JsonSchema = { "type": "object" }; -/** - * The schema of `access_seat_uid`. - */ -export const access_seat_uid: JsonSchema = { - "description": "The unique API identifier for the Zero Trust seat.", - "type": "string" -}; - /** * The schema of `access_seats_definition`. */ diff --git a/src/generated/forge-mcp/zeroTrust/seats/tools.ts b/src/generated/forge-mcp/zeroTrust/seats/tools.ts index 377bff446..d035c944e 100644 --- a/src/generated/forge-mcp/zeroTrust/seats/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/seats/tools.ts @@ -7,24 +7,9 @@ import { access_api$$response$$common, access_api$$response$$common$$failure, access_messages, - access_timestamp, } from "../outputs.js"; -import { access_identifier } from "../schemas.js"; -import { - access_access_seat, - access_gateway_seat, - access_response_collection$$14, - access_seat_uid, - access_seats, -} from "./outputs.js"; -import { - access_access_seat as access_access_seat$, - access_gateway_seat as access_gateway_seat$, - access_identifier$$2, - access_seat, - access_seat_uid as access_seat_uid$, - access_seats_definition, -} from "./schemas.js"; +import { access_response_collection$$14, access_seats } from "./outputs.js"; +import { access_seat, access_seats_definition } from "./schemas.js"; /** * The tools of `zeroTrust.seats`. @@ -33,7 +18,7 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_seats_edit", title: "Update a user seat", - description: "Removes a user from a Zero Trust seat when both `access_seat` and `gateway_seat` are set to false.", + description: "Removes a user from a Zero Trust seat when both `access_seat` and `gateway_seat` are set to false.\n\nPATCH /accounts/{account_id}/access/seats", inputSchema: { type: "object", properties: { @@ -41,9 +26,18 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/access_seats_definition" }, "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier-2" + "allOf": [ + { + "description": "Identifier.", + "type": "string" + }, + { + "type": "string" + } + ] } }, "required": [ @@ -56,28 +50,20 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "access_access_seat": access_access_seat$, - "access_gateway_seat": access_gateway_seat$, - "access_identifier": access_identifier, - "access_identifier-2": access_identifier$$2, "access_seat": access_seat, - "access_seat_uid": access_seat_uid$, "access_seats_definition": access_seats_definition, }, }, outputSchema: { "$ref": "#/$defs/access_response_collection-14", $defs: { - "access_access_seat": access_access_seat, "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, - "access_gateway_seat": access_gateway_seat, "access_messages": access_messages, "access_response_collection-14": access_response_collection$$14, - "access_seat_uid": access_seat_uid, "access_seats": access_seats, - "access_timestamp": access_timestamp, }, }, annotations: { @@ -104,16 +90,12 @@ export const tools: readonly Tool[] = [ } }, $defs: { - "access_access_seat": access_access_seat, "access_api-response-collection": access_api$$response$$collection, "access_api-response-common": access_api$$response$$common, "access_api-response-common-failure": access_api$$response$$common$$failure, - "access_gateway_seat": access_gateway_seat, "access_messages": access_messages, "access_response_collection-14": access_response_collection$$14, - "access_seat_uid": access_seat_uid, "access_seats": access_seats, - "access_timestamp": access_timestamp, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts b/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts index 66d64864a..98e182a7f 100644 --- a/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/users/mfa/authenticators/tools.ts @@ -7,9 +7,7 @@ import { access_api$$response$$single, access_messages, } from "../../../outputs.js"; -import { access_identifier, access_uuid } from "../../../schemas.js"; import { access_delete_authenticator_response } from "../../outputs.js"; -import { access_authenticator_id } from "../../schemas.js"; /** * The tools of `zeroTrust.users.mfa.authenticators`. @@ -18,23 +16,24 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_users_mfa_authenticators_delete", title: "Delete a user's authenticator", - description: "Deletes a specific MFA device or passkey, including a PIV key or FIDO2 key enrollment, for a user. Admin deletion remains available when MFA is disabled. Successful deletion revokes the enrollment and returns a null result.", + description: "Deletes a specific MFA device or passkey, including a PIV key or FIDO2 key enrollment, for a user. Admin deletion remains available when MFA is disabled. Successful deletion revokes the enrollment and returns a null result.\n\nDELETE /accounts/{account_id}/access/users/{user_id}/mfa_authenticators/{authenticator_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "authenticator_id": { - "$ref": "#/$defs/access_authenticator_id", - "description": "The unique identifier for the MFA device." + "description": "The unique identifier for the MFA device.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -48,11 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_authenticator_id": access_authenticator_id, - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_delete_authenticator_response", diff --git a/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts b/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts index 6bed6057f..609989217 100644 --- a/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts +++ b/src/generated/forge-mcp/zeroTrust/users/passkeys/tools.ts @@ -7,9 +7,7 @@ import { access_api$$response$$single, access_messages, } from "../../outputs.js"; -import { access_identifier, access_uuid } from "../../schemas.js"; import { access_delete_authenticator_response } from "../outputs.js"; -import { access_authenticator_id } from "../schemas.js"; /** * The tools of `zeroTrust.users.passkeys`. @@ -18,23 +16,24 @@ export const tools: readonly Tool[] = [ { name: "zeroTrust_users_passkeys_delete", title: "Delete a user's passkey", - description: "Alias of the authenticator deletion endpoint for passkey management. The identifier is the passkey's authenticator ID from the last-seen identity response. Successful deletion revokes the enrollment and returns a null result.", + description: "Alias of the authenticator deletion endpoint for passkey management. The identifier is the passkey's authenticator ID from the last-seen identity response. Successful deletion revokes the enrollment and returns a null result.\n\nDELETE /accounts/{account_id}/access/users/{user_id}/passkeys/{authenticator_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "account_id": { - "$ref": "#/$defs/access_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" }, "authenticator_id": { - "$ref": "#/$defs/access_authenticator_id", - "description": "The unique identifier for the MFA device." + "description": "The unique identifier for the MFA device.", + "type": "string" }, "user_id": { - "$ref": "#/$defs/access_uuid", - "description": "UUID." + "description": "UUID.", + "type": "string" } }, "required": [ @@ -48,11 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "access_authenticator_id": access_authenticator_id, - "access_identifier": access_identifier, - "access_uuid": access_uuid, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/access_delete_authenticator_response", diff --git a/src/generated/forge-mcp/zeroTrust/users/schemas.ts b/src/generated/forge-mcp/zeroTrust/users/schemas.ts deleted file mode 100644 index 1a5d52f95..000000000 --- a/src/generated/forge-mcp/zeroTrust/users/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `access_authenticator_id`. - */ -export const access_authenticator_id: JsonSchema = { - "description": "The unique identifier for the MFA device.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/activationCheck/outputs.ts b/src/generated/forge-mcp/zones/activationCheck/outputs.ts index ddf4bb25a..899ba3149 100644 --- a/src/generated/forge-mcp/zones/activationCheck/outputs.ts +++ b/src/generated/forge-mcp/zones/activationCheck/outputs.ts @@ -59,13 +59,6 @@ export const zone$$activation_api$$response$$single: JsonSchema = { "type": "object" }; -/** - * The schema of `zone-activation_identifier` in responses. - */ -export const zone$$activation_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `zone-activation_messages` in responses. */ diff --git a/src/generated/forge-mcp/zones/activationCheck/schemas.ts b/src/generated/forge-mcp/zones/activationCheck/schemas.ts deleted file mode 100644 index 7300de49b..000000000 --- a/src/generated/forge-mcp/zones/activationCheck/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `zone-activation_identifier`. - */ -export const zone$$activation_identifier: JsonSchema = { - "description": "Identifier.", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/activationCheck/tools.ts b/src/generated/forge-mcp/zones/activationCheck/tools.ts index efc324f74..6a8dfa7c5 100644 --- a/src/generated/forge-mcp/zones/activationCheck/tools.ts +++ b/src/generated/forge-mcp/zones/activationCheck/tools.ts @@ -5,10 +5,8 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { zone$$activation_api$$response$$common$$failure, zone$$activation_api$$response$$single, - zone$$activation_identifier, zone$$activation_messages, } from "./outputs.js"; -import { zone$$activation_identifier as zone$$activation_identifier$ } from "./schemas.js"; /** * The tools of `zones.activationCheck`. @@ -17,15 +15,16 @@ export const tools: readonly Tool[] = [ { name: "zones_activationCheck_activate", title: "Rerun the Activation Check", - description: "Triggeres a new activation check for a PENDING Zone. This can be\ntriggered every 5 min for paygo/ent customers, every hour for FREE\nZones.", + description: "Triggeres a new activation check for a PENDING Zone. This can be\ntriggered every 5 min for paygo/ent customers, every hour for FREE\nZones.\n\nPUT /zones/{zone_id}/activation_check", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zone-activation_identifier", - "description": "Zone ID" + "description": "Zone ID", + "type": "string" } }, "required": [ @@ -37,9 +36,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zone-activation_identifier": zone$$activation_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -51,7 +48,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/zone-activation_identifier" + "type": "string" } }, "type": "object" @@ -62,7 +59,6 @@ export const tools: readonly Tool[] = [ ], $defs: { "zone-activation_api-response-single": zone$$activation_api$$response$$single, - "zone-activation_identifier": zone$$activation_identifier, "zone-activation_messages": zone$$activation_messages, }, }, @@ -92,7 +88,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "id": { - "$ref": "#/$defs/zone-activation_identifier" + "type": "string" } }, "type": "object" @@ -109,7 +105,6 @@ export const tools: readonly Tool[] = [ $defs: { "zone-activation_api-response-common-failure": zone$$activation_api$$response$$common$$failure, "zone-activation_api-response-single": zone$$activation_api$$response$$single, - "zone-activation_identifier": zone$$activation_identifier, "zone-activation_messages": zone$$activation_messages, }, }, diff --git a/src/generated/forge-mcp/zones/aegis/tools.ts b/src/generated/forge-mcp/zones/aegis/tools.ts index 4b7272c89..0c82549eb 100644 --- a/src/generated/forge-mcp/zones/aegis/tools.ts +++ b/src/generated/forge-mcp/zones/aegis/tools.ts @@ -6,17 +6,12 @@ import { cache$$settings_api$$response$$common, cache$$settings_api$$response$$common$$failure, cache$$settings_base, - cache$$settings_editable, cache$$settings_messages, - cache$$settings_modified_on, cache$$settings_result$$object, cache$$settings_result$$object$$delete, - cache$$settings_setting_id, - cache$$settings_setting_value, cache$$settings_zone_cache_settings_delete_response_single, cache$$settings_zone_cache_settings_response_single, } from "../../outputs.js"; -import { cache$$settings_identifier } from "../../schemas.js"; import { cache$$settings_aegis, cache$$settings_aegis_response_value, @@ -31,15 +26,16 @@ 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.", + 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.\n\nDELETE /zones/{zone_id}/settings/aegis", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -51,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -70,11 +64,8 @@ export const tools: readonly Tool[] = [ "cache-settings_aegis_value": cache$$settings_aegis_value, "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, - "cache-settings_setting_id": cache$$settings_setting_id, "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, @@ -127,11 +118,8 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, - "cache-settings_setting_id": cache$$settings_setting_id, "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, @@ -142,7 +130,7 @@ export const tools: readonly Tool[] = [ { name: "zones_aegis_edit", title: "Change 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.", + 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.\n\nPATCH /zones/{zone_id}/settings/aegis", inputSchema: { type: "object", properties: { @@ -159,10 +147,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -175,9 +164,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "cache-settings_aegis_value": cache$$settings_aegis_value$, - "cache-settings_identifier": cache$$settings_identifier, }, }, outputSchema: { @@ -195,12 +184,8 @@ export const tools: readonly Tool[] = [ "cache-settings_aegis_value": cache$$settings_aegis_value, "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -253,12 +238,8 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -270,15 +251,16 @@ export const tools: readonly Tool[] = [ { name: "zones_aegis_get", title: "Get 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.", + 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.\n\nGET /zones/{zone_id}/settings/aegis", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -290,9 +272,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -309,12 +289,8 @@ export const tools: readonly Tool[] = [ "cache-settings_aegis_value": cache$$settings_aegis_value, "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -369,12 +345,8 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, diff --git a/src/generated/forge-mcp/zones/automaticPlatformOptimization/schemas.ts b/src/generated/forge-mcp/zones/automaticPlatformOptimization/schemas.ts index d3b1d7a28..11aede4ce 100644 --- a/src/generated/forge-mcp/zones/automaticPlatformOptimization/schemas.ts +++ b/src/generated/forge-mcp/zones/automaticPlatformOptimization/schemas.ts @@ -7,7 +7,7 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `speed_automatic_platform_optimization_value`. */ export const speed_automatic_platform_optimization_value: JsonSchema = { - "description": "Configuration for Automatic Platform Optimization (APO) for WordPress.\nSet to \"off\" to disable, or provide an object to configure APO settings.\n", + "description": "Configuration for Automatic Platform Optimization (APO) for WordPress.\nSet to \"off\" to disable, or provide an object to configure APO settings.", "oneOf": [ { "properties": { diff --git a/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts b/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts index d3221fcab..8c11f2e40 100644 --- a/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts +++ b/src/generated/forge-mcp/zones/automaticPlatformOptimization/tools.ts @@ -8,7 +8,6 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; import { speed_automatic_platform_optimization_response, speed_automatic_platform_optimization_value, @@ -22,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "zones_automaticPlatformOptimization_edit", title: "Change Automatic Platform Optimization setting", - description: "Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your\nWordPress site from Cloudflare's edge network, reducing load times for visitors.\nRefer to the APO documentation for more information.", + description: "Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your\nWordPress site from Cloudflare's edge network, reducing load times for visitors.\nRefer to the APO documentation for more information.\n\nPATCH /zones/{zone_id}/settings/automatic_platform_optimization", inputSchema: { type: "object", properties: { @@ -30,7 +29,7 @@ export const tools: readonly Tool[] = [ "properties": { "value": { "$ref": "#/$defs/speed_automatic_platform_optimization_value", - "description": "Configuration for Automatic Platform Optimization (APO) for WordPress.\nSet to \"off\" to disable, or provide an object to configure APO settings.\n" + "description": "Configuration for Automatic Platform Optimization (APO) for WordPress.\nSet to \"off\" to disable, or provide an object to configure APO settings." } }, "required": [ @@ -39,10 +38,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,9 +55,9 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "speed_automatic_platform_optimization_value": speed_automatic_platform_optimization_value$, - "speed_identifier": speed_identifier, }, }, outputSchema: { @@ -145,15 +145,16 @@ export const tools: readonly Tool[] = [ { name: "zones_automaticPlatformOptimization_get", title: "Get Automatic Platform Optimization setting", - description: "Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your\nWordPress site from Cloudflare's edge network, reducing load times for visitors.\nRefer to the APO documentation for more information.", + description: "Automatic Platform Optimization (APO) for WordPress is a performance feature that serves your\nWordPress site from Cloudflare's edge network, reducing load times for visitors.\nRefer to the APO documentation for more information.\n\nGET /zones/{zone_id}/settings/automatic_platform_optimization", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -165,9 +166,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zones/binaryAst/outputs.ts b/src/generated/forge-mcp/zones/binaryAst/outputs.ts index 75babd5d4..ec1ccf9ef 100644 --- a/src/generated/forge-mcp/zones/binaryAst/outputs.ts +++ b/src/generated/forge-mcp/zones/binaryAst/outputs.ts @@ -20,22 +20,15 @@ export const speed_binary_ast_response: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/speed_binary_ast_value" + "enum": [ + "off", + "on", + "latest" + ], + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `speed_binary_ast_value` in responses. - */ -export const speed_binary_ast_value: JsonSchema = { - "enum": [ - "off", - "on", - "latest" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/binaryAst/schemas.ts b/src/generated/forge-mcp/zones/binaryAst/schemas.ts deleted file mode 100644 index de3c784d3..000000000 --- a/src/generated/forge-mcp/zones/binaryAst/schemas.ts +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `speed_binary_ast_value`. - */ -export const speed_binary_ast_value: JsonSchema = { - "description": "Controls Binary AST behavior:\n- \"off\": Feature disabled.\n- \"on\": Binary AST enabled.\n- \"latest\": Binary AST enabled using the latest version.\n", - "enum": [ - "off", - "on", - "latest" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/binaryAst/tools.ts b/src/generated/forge-mcp/zones/binaryAst/tools.ts index 8b65afbf7..4d1b8fda2 100644 --- a/src/generated/forge-mcp/zones/binaryAst/tools.ts +++ b/src/generated/forge-mcp/zones/binaryAst/tools.ts @@ -8,12 +8,7 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; -import { - speed_binary_ast_response, - speed_binary_ast_value, -} from "./outputs.js"; -import { speed_binary_ast_value as speed_binary_ast_value$ } from "./schemas.js"; +import { speed_binary_ast_response } from "./outputs.js"; /** * The tools of `zones.binaryAst`. @@ -22,15 +17,20 @@ export const tools: readonly Tool[] = [ { name: "zones_binaryAst_edit", title: "Change Binary AST setting", - description: "Binary AST is a new binary encoding for JavaScript that enables faster parsing of scripts.\nWhen enabled, Cloudflare will serve a binary-encoded version of JavaScript to compatible browsers.", + description: "Binary AST is a new binary encoding for JavaScript that enables faster parsing of scripts.\nWhen enabled, Cloudflare will serve a binary-encoded version of JavaScript to compatible browsers.\n\nPATCH /zones/{zone_id}/settings/binary_ast", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/speed_binary_ast_value", - "description": "Controls Binary AST behavior:\n- \"off\": Feature disabled.\n- \"on\": Binary AST enabled.\n- \"latest\": Binary AST enabled using the latest version.\n" + "description": "Controls Binary AST behavior:\n- \"off\": Feature disabled.\n- \"on\": Binary AST enabled.\n- \"latest\": Binary AST enabled using the latest version.", + "enum": [ + "off", + "on", + "latest" + ], + "type": "string" } }, "required": [ @@ -39,10 +39,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,10 +56,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "speed_binary_ast_value": speed_binary_ast_value$, - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -78,7 +76,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common": speed_api$$response$$common, "speed_base": speed_base, "speed_binary_ast_response": speed_binary_ast_response, - "speed_binary_ast_value": speed_binary_ast_value, "speed_messages": speed_messages, }, }, @@ -133,7 +130,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common-failure": speed_api$$response$$common$$failure, "speed_base": speed_base, "speed_binary_ast_response": speed_binary_ast_response, - "speed_binary_ast_value": speed_binary_ast_value, "speed_messages": speed_messages, }, }, @@ -145,15 +141,16 @@ export const tools: readonly Tool[] = [ { name: "zones_binaryAst_get", title: "Get Binary AST setting", - description: "Binary AST is a new binary encoding for JavaScript that enables faster parsing of scripts.\nWhen enabled, Cloudflare will serve a binary-encoded version of JavaScript to compatible browsers.", + description: "Binary AST is a new binary encoding for JavaScript that enables faster parsing of scripts.\nWhen enabled, Cloudflare will serve a binary-encoded version of JavaScript to compatible browsers.\n\nGET /zones/{zone_id}/settings/binary_ast", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -165,9 +162,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -187,7 +182,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common": speed_api$$response$$common, "speed_base": speed_base, "speed_binary_ast_response": speed_binary_ast_response, - "speed_binary_ast_value": speed_binary_ast_value, "speed_messages": speed_messages, }, }, @@ -243,7 +237,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common-failure": speed_api$$response$$common$$failure, "speed_base": speed_base, "speed_binary_ast_response": speed_binary_ast_response, - "speed_binary_ast_value": speed_binary_ast_value, "speed_messages": speed_messages, }, }, diff --git a/src/generated/forge-mcp/zones/fonts/outputs.ts b/src/generated/forge-mcp/zones/fonts/outputs.ts index 6c6b7c403..18c0f8777 100644 --- a/src/generated/forge-mcp/zones/fonts/outputs.ts +++ b/src/generated/forge-mcp/zones/fonts/outputs.ts @@ -20,21 +20,14 @@ export const speed_cloudflare_fonts: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/speed_cloudflare_fonts_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `speed_cloudflare_fonts_value` in responses. - */ -export const speed_cloudflare_fonts_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/fonts/schemas.ts b/src/generated/forge-mcp/zones/fonts/schemas.ts deleted file mode 100644 index c3a63230e..000000000 --- a/src/generated/forge-mcp/zones/fonts/schemas.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `speed_cloudflare_fonts_value`. - */ -export const speed_cloudflare_fonts_value: JsonSchema = { - "description": "Whether the feature is enabled or disabled.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/fonts/tools.ts b/src/generated/forge-mcp/zones/fonts/tools.ts index b90fd4397..2e2562696 100644 --- a/src/generated/forge-mcp/zones/fonts/tools.ts +++ b/src/generated/forge-mcp/zones/fonts/tools.ts @@ -8,12 +8,7 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; -import { - speed_cloudflare_fonts, - speed_cloudflare_fonts_value, -} from "./outputs.js"; -import { speed_cloudflare_fonts_value as speed_cloudflare_fonts_value$ } from "./schemas.js"; +import { speed_cloudflare_fonts } from "./outputs.js"; /** * The tools of `zones.fonts`. @@ -22,16 +17,20 @@ export const tools: readonly Tool[] = [ { name: "zones_fonts_edit", title: "Change Cloudflare Fonts setting", - description: "Enhance your website's font delivery with Cloudflare Fonts. Deliver Google Hosted fonts from your own domain,\nboost performance, and enhance user privacy. Refer to the Cloudflare Fonts documentation for more information.", + description: "Enhance your website's font delivery with Cloudflare Fonts. Deliver Google Hosted fonts from your own domain,\nboost performance, and enhance user privacy. Refer to the Cloudflare Fonts documentation for more information.\n\nPATCH /zones/{zone_id}/settings/fonts", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/speed_cloudflare_fonts_value", "default": "off", - "description": "Whether the feature is enabled or disabled." + "description": "Whether the feature is enabled or disabled.", + "enum": [ + "on", + "off" + ], + "type": "string" } }, "required": [ @@ -40,10 +39,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -56,10 +56,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value$, - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -79,7 +76,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common": speed_api$$response$$common, "speed_base": speed_base, "speed_cloudflare_fonts": speed_cloudflare_fonts, - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value, "speed_messages": speed_messages, }, }, @@ -134,7 +130,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common-failure": speed_api$$response$$common$$failure, "speed_base": speed_base, "speed_cloudflare_fonts": speed_cloudflare_fonts, - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value, "speed_messages": speed_messages, }, }, @@ -146,15 +141,16 @@ export const tools: readonly Tool[] = [ { name: "zones_fonts_get", title: "Get Cloudflare Fonts setting", - description: "Enhance your website's font delivery with Cloudflare Fonts. Deliver Google Hosted fonts from your own domain,\nboost performance, and enhance user privacy. Refer to the Cloudflare Fonts documentation for more information.", + description: "Enhance your website's font delivery with Cloudflare Fonts. Deliver Google Hosted fonts from your own domain,\nboost performance, and enhance user privacy. Refer to the Cloudflare Fonts documentation for more information.\n\nGET /zones/{zone_id}/settings/fonts", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -166,9 +162,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -188,7 +182,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common": speed_api$$response$$common, "speed_base": speed_base, "speed_cloudflare_fonts": speed_cloudflare_fonts, - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value, "speed_messages": speed_messages, }, }, @@ -244,7 +237,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common-failure": speed_api$$response$$common$$failure, "speed_base": speed_base, "speed_cloudflare_fonts": speed_cloudflare_fonts, - "speed_cloudflare_fonts_value": speed_cloudflare_fonts_value, "speed_messages": speed_messages, }, }, diff --git a/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts b/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts index c7f427b44..53973e738 100644 --- a/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts +++ b/src/generated/forge-mcp/zones/h2Prioritization/outputs.ts @@ -20,22 +20,15 @@ export const speed_h2_prioritization_response: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/speed_h2_prioritization_value" + "enum": [ + "off", + "on", + "custom" + ], + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `speed_h2_prioritization_value` in responses. - */ -export const speed_h2_prioritization_value: JsonSchema = { - "enum": [ - "off", - "on", - "custom" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/h2Prioritization/schemas.ts b/src/generated/forge-mcp/zones/h2Prioritization/schemas.ts deleted file mode 100644 index a4319a009..000000000 --- a/src/generated/forge-mcp/zones/h2Prioritization/schemas.ts +++ /dev/null @@ -1,17 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `speed_h2_prioritization_value`. - */ -export const speed_h2_prioritization_value: JsonSchema = { - "description": "Controls HTTP/2 Prioritization behavior:\n- \"off\": Use browser default prioritization.\n- \"on\": Use Cloudflare's optimized prioritization.\n- \"custom\": Use custom prioritization rules.\n", - "enum": [ - "off", - "on", - "custom" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/h2Prioritization/tools.ts b/src/generated/forge-mcp/zones/h2Prioritization/tools.ts index 1a6f3ceb4..fea34010b 100644 --- a/src/generated/forge-mcp/zones/h2Prioritization/tools.ts +++ b/src/generated/forge-mcp/zones/h2Prioritization/tools.ts @@ -8,12 +8,7 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; -import { - speed_h2_prioritization_response, - speed_h2_prioritization_value, -} from "./outputs.js"; -import { speed_h2_prioritization_value as speed_h2_prioritization_value$ } from "./schemas.js"; +import { speed_h2_prioritization_response } from "./outputs.js"; /** * The tools of `zones.h2Prioritization`. @@ -22,15 +17,20 @@ export const tools: readonly Tool[] = [ { name: "zones_h2Prioritization_edit", title: "Change HTTP/2 Prioritization setting", - description: "HTTP/2 Prioritization controls the order in which assets are delivered to browsers.\nCloudflare's HTTP/2 Prioritization overrides the default browser prioritization order,\nimproving the loading performance of web pages.", + description: "HTTP/2 Prioritization controls the order in which assets are delivered to browsers.\nCloudflare's HTTP/2 Prioritization overrides the default browser prioritization order,\nimproving the loading performance of web pages.\n\nPATCH /zones/{zone_id}/settings/h2_prioritization", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/speed_h2_prioritization_value", - "description": "Controls HTTP/2 Prioritization behavior:\n- \"off\": Use browser default prioritization.\n- \"on\": Use Cloudflare's optimized prioritization.\n- \"custom\": Use custom prioritization rules.\n" + "description": "Controls HTTP/2 Prioritization behavior:\n- \"off\": Use browser default prioritization.\n- \"on\": Use Cloudflare's optimized prioritization.\n- \"custom\": Use custom prioritization rules.", + "enum": [ + "off", + "on", + "custom" + ], + "type": "string" } }, "required": [ @@ -39,10 +39,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,10 +56,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "speed_h2_prioritization_value": speed_h2_prioritization_value$, - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -78,7 +76,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common": speed_api$$response$$common, "speed_base": speed_base, "speed_h2_prioritization_response": speed_h2_prioritization_response, - "speed_h2_prioritization_value": speed_h2_prioritization_value, "speed_messages": speed_messages, }, }, @@ -133,7 +130,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common-failure": speed_api$$response$$common$$failure, "speed_base": speed_base, "speed_h2_prioritization_response": speed_h2_prioritization_response, - "speed_h2_prioritization_value": speed_h2_prioritization_value, "speed_messages": speed_messages, }, }, @@ -145,15 +141,16 @@ export const tools: readonly Tool[] = [ { name: "zones_h2Prioritization_get", title: "Get HTTP/2 Prioritization setting", - description: "HTTP/2 Prioritization controls the order in which assets are delivered to browsers.\nCloudflare's HTTP/2 Prioritization overrides the default browser prioritization order,\nimproving the loading performance of web pages.", + description: "HTTP/2 Prioritization controls the order in which assets are delivered to browsers.\nCloudflare's HTTP/2 Prioritization overrides the default browser prioritization order,\nimproving the loading performance of web pages.\n\nGET /zones/{zone_id}/settings/h2_prioritization", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -165,9 +162,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -187,7 +182,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common": speed_api$$response$$common, "speed_base": speed_base, "speed_h2_prioritization_response": speed_h2_prioritization_response, - "speed_h2_prioritization_value": speed_h2_prioritization_value, "speed_messages": speed_messages, }, }, @@ -243,7 +237,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common-failure": speed_api$$response$$common$$failure, "speed_base": speed_base, "speed_h2_prioritization_response": speed_h2_prioritization_response, - "speed_h2_prioritization_value": speed_h2_prioritization_value, "speed_messages": speed_messages, }, }, diff --git a/src/generated/forge-mcp/zones/holds/tools.ts b/src/generated/forge-mcp/zones/holds/tools.ts index 761b79674..813b0ca52 100644 --- a/src/generated/forge-mcp/zones/holds/tools.ts +++ b/src/generated/forge-mcp/zones/holds/tools.ts @@ -6,7 +6,6 @@ import { zones_api$$response$$common$$failure$$2, zones_messages$$2, } from "../../outputs.js"; -import { zones_identifier$$2 } from "../../schemas.js"; import { zones_messages } from "../outputs.js"; import { zones_api$$response$$common$$3, @@ -20,15 +19,16 @@ export const tools: readonly Tool[] = [ { name: "zones_holds_create", title: "Create Zone Hold", - description: "Enforce a zone hold on the zone, blocking the creation and activation of zones with this zone's hostname.\nZone holds cannot be enabled on CDN-only zones.", + description: "Enforce a zone hold on the zone, blocking the creation and activation of zones with this zone's hostname.\nZone holds cannot be enabled on CDN-only zones.\n\nPOST /zones/{zone_id}/hold", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Zone ID" + "description": "Zone ID", + "type": "string" } }, "required": [ @@ -37,6 +37,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "include_subdomains": { "description": "If provided, the zone hold will extend to block any subdomain of the given zone, as well\nas SSL4SaaS Custom Hostnames. For example, a zone hold on a zone with the hostname\n'example.com' and include_subdomains=true will block 'example.com',\n'staging.example.com', 'api.staging.example.com', etc.", @@ -49,9 +50,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zones_identifier-2": zones_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -148,15 +147,16 @@ export const tools: readonly Tool[] = [ { name: "zones_holds_delete", title: "Remove Zone Hold", - description: "Stop enforcement of a zone hold on the zone, permanently or temporarily, allowing the\ncreation and activation of zones with this zone's hostname.\nExisting zone holds can be removed from CDN-only zones when `hold_after` is not provided.\nActive holds are automatically disabled when a zone transitions to CDN-only mode.", + description: "Stop enforcement of a zone hold on the zone, permanently or temporarily, allowing the\ncreation and activation of zones with this zone's hostname.\nExisting zone holds can be removed from CDN-only zones when `hold_after` is not provided.\nActive holds are automatically disabled when a zone transitions to CDN-only mode.\n\nDELETE /zones/{zone_id}/hold", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Zone ID" + "description": "Zone ID", + "type": "string" } }, "required": [ @@ -165,6 +165,7 @@ export const tools: readonly Tool[] = [ "type": "object" }, "query": { + "additionalProperties": false, "properties": { "hold_after": { "description": "If `hold_after` is provided, the hold will be temporarily disabled,\nthen automatically re-enabled by the system at the time specified\nin this RFC3339-formatted timestamp. Otherwise, the hold will be\ndisabled indefinitely. `hold_after` cannot be provided for CDN-only zones.", @@ -177,9 +178,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zones_identifier-2": zones_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -276,7 +275,7 @@ export const tools: readonly Tool[] = [ { name: "zones_holds_edit", title: "Update Zone Hold", - description: "Update the `hold_after` and/or `include_subdomains` values on an existing zone hold.\nThe hold is enabled if the `hold_after` date-time value is in the past.\nExisting zone holds can be removed from CDN-only zones by setting `hold_after` to `null`.\nOther zone hold updates cannot be made on CDN-only zones.\nActive holds are automatically disabled when a zone transitions to CDN-only mode.", + description: "Update the `hold_after` and/or `include_subdomains` values on an existing zone hold.\nThe hold is enabled if the `hold_after` date-time value is in the past.\nExisting zone holds can be removed from CDN-only zones by setting `hold_after` to `null`.\nOther zone hold updates cannot be made on CDN-only zones.\nActive holds are automatically disabled when a zone transitions to CDN-only mode.\n\nPATCH /zones/{zone_id}/hold", inputSchema: { type: "object", properties: { @@ -303,10 +302,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Zone ID" + "description": "Zone ID", + "type": "string" } }, "required": [ @@ -319,9 +319,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "zones_identifier-2": zones_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -424,15 +422,16 @@ export const tools: readonly Tool[] = [ { name: "zones_holds_get", title: "Get Zone Hold", - description: "Retrieve whether the zone is subject to a zone hold, and metadata about the hold.", + description: "Retrieve whether the zone is subject to a zone hold, and metadata about the hold.\n\nGET /zones/{zone_id}/hold", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zones_identifier-2", - "description": "Zone ID" + "description": "Zone ID", + "type": "string" } }, "required": [ @@ -444,9 +443,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zones_identifier-2": zones_identifier$$2, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts b/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts index e270d9de8..2431f166e 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/outputs.ts @@ -3,21 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_created_at-4` in responses. - */ -export const tls$$certificates$$and$$hostnames_created_at$$4: JsonSchema = { - "format": "date-time", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_hostname-3` in responses. - */ -export const tls$$certificates$$and$$hostnames_hostname$$3: JsonSchema = { - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_per_hostname_settings_response` * in responses. @@ -44,16 +29,18 @@ export const tls$$certificates$$and$$hostnames_per_hostname_settings_response: J export const tls$$certificates$$and$$hostnames_settingObject: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-4" + "format": "date-time", + "type": "string" }, "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-12" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-5" + "format": "date-time", + "type": "string" }, "value": { "$ref": "#/$defs/tls-certificates-and-hostnames_value" @@ -62,21 +49,6 @@ export const tls$$certificates$$and$$hostnames_settingObject: JsonSchema = { "type": "object" }; -/** - * The schema of `tls-certificates-and-hostnames_status-12` in responses. - */ -export const tls$$certificates$$and$$hostnames_status$$12: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_updated_at-5` in responses. - */ -export const tls$$certificates$$and$$hostnames_updated_at$$5: JsonSchema = { - "format": "date-time", - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_value` in responses. */ diff --git a/src/generated/forge-mcp/zones/hostnames/settings/schemas.ts b/src/generated/forge-mcp/zones/hostnames/settings/schemas.ts index e02ac583d..52a8eacfd 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/schemas.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/schemas.ts @@ -3,27 +3,6 @@ import type { JsonSchema } from "../../../_/tool.js"; -/** - * The schema of `tls-certificates-and-hostnames_hostname-3`. - */ -export const tls$$certificates$$and$$hostnames_hostname$$3: JsonSchema = { - "description": "The hostname for which the tls settings are set.", - "type": "string" -}; - -/** - * The schema of `tls-certificates-and-hostnames_setting_id`. - */ -export const tls$$certificates$$and$$hostnames_setting_id: JsonSchema = { - "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`.", - "enum": [ - "ciphers", - "min_tls_version", - "http2" - ], - "type": "string" -}; - /** * The schema of `tls-certificates-and-hostnames_value`. */ diff --git a/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts b/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts index d7e2f04ce..966ce5731 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/tls/outputs.ts @@ -19,16 +19,18 @@ export const tls$$certificates$$and$$hostnames_per_hostname_settings_response_co "items": { "properties": { "created_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-4" + "format": "date-time", + "type": "string" }, "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-12" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-5" + "format": "date-time", + "type": "string" }, "value": { "$ref": "#/$defs/tls-certificates-and-hostnames_value" @@ -97,16 +99,18 @@ export const tls$$certificates$$and$$hostnames_per_hostname_settings_response_de export const tls$$certificates$$and$$hostnames_settingObjectDelete: JsonSchema = { "properties": { "created_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_created_at-4" + "format": "date-time", + "type": "string" }, "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3" + "type": "string" }, "status": { - "$ref": "#/$defs/tls-certificates-and-hostnames_status-12" + "type": "string" }, "updated_at": { - "$ref": "#/$defs/tls-certificates-and-hostnames_updated_at-5" + "format": "date-time", + "type": "string" }, "value": { "$ref": "#/$defs/tls-certificates-and-hostnames_value" diff --git a/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts b/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts index 11a01fb29..d39fd60e6 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/tls/tools.ts @@ -9,21 +9,12 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../../schemas.js"; import { - tls$$certificates$$and$$hostnames_created_at$$4, - tls$$certificates$$and$$hostnames_hostname$$3, tls$$certificates$$and$$hostnames_per_hostname_settings_response, tls$$certificates$$and$$hostnames_settingObject, - tls$$certificates$$and$$hostnames_status$$12, - tls$$certificates$$and$$hostnames_updated_at$$5, tls$$certificates$$and$$hostnames_value, } from "../outputs.js"; -import { - tls$$certificates$$and$$hostnames_hostname$$3 as tls$$certificates$$and$$hostnames_hostname$$3$, - tls$$certificates$$and$$hostnames_setting_id, - tls$$certificates$$and$$hostnames_value as tls$$certificates$$and$$hostnames_value$, -} from "../schemas.js"; +import { tls$$certificates$$and$$hostnames_value as tls$$certificates$$and$$hostnames_value$ } from "../schemas.js"; import { tls$$certificates$$and$$hostnames_per_hostname_settings_response_collection, tls$$certificates$$and$$hostnames_per_hostname_settings_response_delete, @@ -37,23 +28,29 @@ export const tools: readonly Tool[] = [ { name: "zones_hostnames_settings_tls_delete", title: "Delete TLS setting for hostname", - description: "Delete the tls setting value for the hostname.", + description: "Delete the tls setting value for the hostname.\n\nDELETE /zones/{zone_id}/hostnames/settings/{setting_id}/{hostname}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3", - "description": "The hostname for which the tls settings are set." + "description": "The hostname for which the tls settings are set.", + "type": "string" }, "setting_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", - "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." + "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`.", + "enum": [ + "ciphers", + "min_tls_version", + "http2" + ], + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -67,23 +64,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_setting_id": tls$$certificates$$and$$hostnames_setting_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response_delete", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_per_hostname_settings_response_delete": tls$$certificates$$and$$hostnames_per_hostname_settings_response_delete, "tls-certificates-and-hostnames_settingObjectDelete": tls$$certificates$$and$$hostnames_settingObjectDelete, - "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, - "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, @@ -131,13 +120,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_per_hostname_settings_response_delete": tls$$certificates$$and$$hostnames_per_hostname_settings_response_delete, "tls-certificates-and-hostnames_settingObjectDelete": tls$$certificates$$and$$hostnames_settingObjectDelete, - "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, - "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, @@ -148,19 +133,25 @@ export const tools: readonly Tool[] = [ { name: "zones_hostnames_settings_tls_get", title: "List TLS setting for hostnames", - description: "List the requested TLS setting for the hostnames under this zone.", + description: "List the requested TLS setting for the hostnames under this zone.\n\nGET /zones/{zone_id}/hostnames/settings/{setting_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "setting_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", - "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." + "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`.", + "enum": [ + "ciphers", + "min_tls_version", + "http2" + ], + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -173,22 +164,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_setting_id": tls$$certificates$$and$$hostnames_setting_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response_collection", $defs: { "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, - "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_per_hostname_settings_response_collection": tls$$certificates$$and$$hostnames_per_hostname_settings_response_collection, - "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, - "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, @@ -238,12 +222,8 @@ export const tools: readonly Tool[] = [ "tls-certificates-and-hostnames_api-response-collection": tls$$certificates$$and$$hostnames_api$$response$$collection, "tls-certificates-and-hostnames_api-response-common": tls$$certificates$$and$$hostnames_api$$response$$common, "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, - "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_per_hostname_settings_response_collection": tls$$certificates$$and$$hostnames_per_hostname_settings_response_collection, - "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, - "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, @@ -254,7 +234,7 @@ export const tools: readonly Tool[] = [ { name: "zones_hostnames_settings_tls_update", title: "Edit TLS setting for hostname", - description: "Update the tls setting value for the hostname.", + description: "Update the tls setting value for the hostname.\n\nPUT /zones/{zone_id}/hostnames/settings/{setting_id}/{hostname}", inputSchema: { type: "object", properties: { @@ -271,18 +251,24 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3", - "description": "The hostname for which the tls settings are set." + "description": "The hostname for which the tls settings are set.", + "type": "string" }, "setting_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", - "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." + "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`.", + "enum": [ + "ciphers", + "min_tls_version", + "http2" + ], + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -297,10 +283,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_setting_id": tls$$certificates$$and$$hostnames_setting_id, "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value$, }, }, @@ -308,13 +292,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_per_hostname_settings_response": tls$$certificates$$and$$hostnames_per_hostname_settings_response, "tls-certificates-and-hostnames_settingObject": tls$$certificates$$and$$hostnames_settingObject, - "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, - "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, @@ -362,13 +342,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_per_hostname_settings_response": tls$$certificates$$and$$hostnames_per_hostname_settings_response, "tls-certificates-and-hostnames_settingObject": tls$$certificates$$and$$hostnames_settingObject, - "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, - "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, diff --git a/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts b/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts index e71f62ea7..4eb525524 100644 --- a/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts +++ b/src/generated/forge-mcp/zones/hostnames/settings/tlsSingle/tools.ts @@ -7,20 +7,11 @@ import { tls$$certificates$$and$$hostnames_api$$response$$single, tls$$certificates$$and$$hostnames_messages, } from "../../../../outputs.js"; -import { tls$$certificates$$and$$hostnames_identifier } from "../../../../schemas.js"; import { - tls$$certificates$$and$$hostnames_created_at$$4, - tls$$certificates$$and$$hostnames_hostname$$3, tls$$certificates$$and$$hostnames_per_hostname_settings_response, tls$$certificates$$and$$hostnames_settingObject, - tls$$certificates$$and$$hostnames_status$$12, - tls$$certificates$$and$$hostnames_updated_at$$5, tls$$certificates$$and$$hostnames_value, } from "../outputs.js"; -import { - tls$$certificates$$and$$hostnames_hostname$$3 as tls$$certificates$$and$$hostnames_hostname$$3$, - tls$$certificates$$and$$hostnames_setting_id, -} from "../schemas.js"; /** * The tools of `zones.hostnames.settings.tlsSingle`. @@ -29,23 +20,29 @@ export const tools: readonly Tool[] = [ { name: "zones_hostnames_settings_tlsSingle_get", title: "Get TLS setting for hostname", - description: "Get the requested TLS setting for the hostname.", + description: "Get the requested TLS setting for the hostname.\n\nGET /zones/{zone_id}/hostnames/settings/{setting_id}/{hostname}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "hostname": { - "$ref": "#/$defs/tls-certificates-and-hostnames_hostname-3", - "description": "The hostname for which the tls settings are set." + "description": "The hostname for which the tls settings are set.", + "type": "string" }, "setting_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_setting_id", - "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`." + "description": "The TLS Setting name.\nThe value type depends on the setting:\n- `ciphers`: value is an array of cipher suite strings (e.g., `[\"ECDHE-RSA-AES128-GCM-SHA256\", \"AES128-GCM-SHA256\"]`).\n- `min_tls_version`: value is a TLS version string (`\"1.0\"`, `\"1.1\"`, `\"1.2\"`, or `\"1.3\"`).\n- `http2`: value is `\"on\"` or `\"off\"`.", + "enum": [ + "ciphers", + "min_tls_version", + "http2" + ], + "type": "string" }, "zone_id": { - "$ref": "#/$defs/tls-certificates-and-hostnames_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -59,23 +56,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3$, - "tls-certificates-and-hostnames_identifier": tls$$certificates$$and$$hostnames_identifier, - "tls-certificates-and-hostnames_setting_id": tls$$certificates$$and$$hostnames_setting_id, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/tls-certificates-and-hostnames_per_hostname_settings_response", $defs: { "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_per_hostname_settings_response": tls$$certificates$$and$$hostnames_per_hostname_settings_response, "tls-certificates-and-hostnames_settingObject": tls$$certificates$$and$$hostnames_settingObject, - "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, - "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, @@ -115,13 +104,9 @@ export const tools: readonly Tool[] = [ $defs: { "tls-certificates-and-hostnames_api-response-common-failure": tls$$certificates$$and$$hostnames_api$$response$$common$$failure, "tls-certificates-and-hostnames_api-response-single": tls$$certificates$$and$$hostnames_api$$response$$single, - "tls-certificates-and-hostnames_created_at-4": tls$$certificates$$and$$hostnames_created_at$$4, - "tls-certificates-and-hostnames_hostname-3": tls$$certificates$$and$$hostnames_hostname$$3, "tls-certificates-and-hostnames_messages": tls$$certificates$$and$$hostnames_messages, "tls-certificates-and-hostnames_per_hostname_settings_response": tls$$certificates$$and$$hostnames_per_hostname_settings_response, "tls-certificates-and-hostnames_settingObject": tls$$certificates$$and$$hostnames_settingObject, - "tls-certificates-and-hostnames_status-12": tls$$certificates$$and$$hostnames_status$$12, - "tls-certificates-and-hostnames_updated_at-5": tls$$certificates$$and$$hostnames_updated_at$$5, "tls-certificates-and-hostnames_value": tls$$certificates$$and$$hostnames_value, }, }, diff --git a/src/generated/forge-mcp/zones/imageResizing/outputs.ts b/src/generated/forge-mcp/zones/imageResizing/outputs.ts index 3e07a256f..cecfd9b2f 100644 --- a/src/generated/forge-mcp/zones/imageResizing/outputs.ts +++ b/src/generated/forge-mcp/zones/imageResizing/outputs.ts @@ -20,23 +20,16 @@ export const speed_image_resizing_response: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/speed_image_resizing_value" + "enum": [ + "off", + "on", + "open", + "latest" + ], + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `speed_image_resizing_value` in responses. - */ -export const speed_image_resizing_value: JsonSchema = { - "enum": [ - "off", - "on", - "open", - "latest" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/imageResizing/schemas.ts b/src/generated/forge-mcp/zones/imageResizing/schemas.ts deleted file mode 100644 index d054364d0..000000000 --- a/src/generated/forge-mcp/zones/imageResizing/schemas.ts +++ /dev/null @@ -1,18 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `speed_image_resizing_value`. - */ -export const speed_image_resizing_value: JsonSchema = { - "description": "Controls Image Resizing behavior:\n- \"off\": Feature disabled.\n- \"on\": Resizing is enabled for same-zone images only.\n- \"open\": Resizing is enabled for images from any origin.\n- \"latest\": Resizing is enabled for same-zone images using the latest version.\n", - "enum": [ - "off", - "on", - "open", - "latest" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/imageResizing/tools.ts b/src/generated/forge-mcp/zones/imageResizing/tools.ts index 6f232600b..89c795807 100644 --- a/src/generated/forge-mcp/zones/imageResizing/tools.ts +++ b/src/generated/forge-mcp/zones/imageResizing/tools.ts @@ -8,12 +8,7 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; -import { - speed_image_resizing_response, - speed_image_resizing_value, -} from "./outputs.js"; -import { speed_image_resizing_value as speed_image_resizing_value$ } from "./schemas.js"; +import { speed_image_resizing_response } from "./outputs.js"; /** * The tools of `zones.imageResizing`. @@ -22,15 +17,21 @@ export const tools: readonly Tool[] = [ { name: "zones_imageResizing_edit", title: "Change Image Transformations setting", - description: "Sets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.", + description: "Sets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.\n\nPATCH /zones/{zone_id}/settings/image_resizing", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/speed_image_resizing_value", - "description": "Controls Image Resizing behavior:\n- \"off\": Feature disabled.\n- \"on\": Resizing is enabled for same-zone images only.\n- \"open\": Resizing is enabled for images from any origin.\n- \"latest\": Resizing is enabled for same-zone images using the latest version.\n" + "description": "Controls Image Resizing behavior:\n- \"off\": Feature disabled.\n- \"on\": Resizing is enabled for same-zone images only.\n- \"open\": Resizing is enabled for images from any origin.\n- \"latest\": Resizing is enabled for same-zone images using the latest version.", + "enum": [ + "off", + "on", + "open", + "latest" + ], + "type": "string" } }, "required": [ @@ -39,10 +40,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,10 +57,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "speed_identifier": speed_identifier, - "speed_image_resizing_value": speed_image_resizing_value$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -78,7 +77,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common": speed_api$$response$$common, "speed_base": speed_base, "speed_image_resizing_response": speed_image_resizing_response, - "speed_image_resizing_value": speed_image_resizing_value, "speed_messages": speed_messages, }, }, @@ -133,7 +131,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common-failure": speed_api$$response$$common$$failure, "speed_base": speed_base, "speed_image_resizing_response": speed_image_resizing_response, - "speed_image_resizing_value": speed_image_resizing_value, "speed_messages": speed_messages, }, }, @@ -145,15 +142,16 @@ export const tools: readonly Tool[] = [ { name: "zones_imageResizing_get", title: "Get Image Transformations setting", - description: "Gets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.", + description: "Gets the Image Transformations setting for a zone. Accepted values are `off`, `on`, `open`, and `latest`.\n\nGET /zones/{zone_id}/settings/image_resizing", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -165,9 +163,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -187,7 +183,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common": speed_api$$response$$common, "speed_base": speed_base, "speed_image_resizing_response": speed_image_resizing_response, - "speed_image_resizing_value": speed_image_resizing_value, "speed_messages": speed_messages, }, }, @@ -243,7 +238,6 @@ export const tools: readonly Tool[] = [ "speed_api-response-common-failure": speed_api$$response$$common$$failure, "speed_base": speed_base, "speed_image_resizing_response": speed_image_resizing_response, - "speed_image_resizing_value": speed_image_resizing_value, "speed_messages": speed_messages, }, }, diff --git a/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts b/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts index c205f21ef..f0247382b 100644 --- a/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts +++ b/src/generated/forge-mcp/zones/originH2MaxStreams/outputs.ts @@ -20,7 +20,7 @@ export const cache$$settings_origin_h2_max_streams: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/cache-settings_origin_h2_max_streams_value" + "type": "integer" } }, "type": "object" @@ -47,10 +47,3 @@ export const cache$$settings_origin_h2_max_streams_response_value: JsonSchema = } ] }; - -/** - * The schema of `cache-settings_origin_h2_max_streams_value` in responses. - */ -export const cache$$settings_origin_h2_max_streams_value: JsonSchema = { - "type": "integer" -}; diff --git a/src/generated/forge-mcp/zones/originH2MaxStreams/schemas.ts b/src/generated/forge-mcp/zones/originH2MaxStreams/schemas.ts deleted file mode 100644 index acc38e894..000000000 --- a/src/generated/forge-mcp/zones/originH2MaxStreams/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `cache-settings_origin_h2_max_streams_value`. - */ -export const cache$$settings_origin_h2_max_streams_value: JsonSchema = { - "description": "Value of the Origin H2 Max Streams Setting.", - "type": "integer" -}; diff --git a/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts b/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts index 38bba4f8a..8aa7ba61a 100644 --- a/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts +++ b/src/generated/forge-mcp/zones/originH2MaxStreams/tools.ts @@ -8,13 +8,10 @@ import { cache$$settings_base, cache$$settings_messages, } from "../../outputs.js"; -import { cache$$settings_identifier } from "../../schemas.js"; import { cache$$settings_origin_h2_max_streams, cache$$settings_origin_h2_max_streams_response_value, - cache$$settings_origin_h2_max_streams_value, } from "./outputs.js"; -import { cache$$settings_origin_h2_max_streams_value as cache$$settings_origin_h2_max_streams_value$ } from "./schemas.js"; /** * The tools of `zones.originH2MaxStreams`. @@ -23,15 +20,15 @@ export const tools: readonly Tool[] = [ { name: "zones_originH2MaxStreams_edit", title: "Change Origin H2 Max Streams Setting", - description: "Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.", + description: "Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.\n\nPATCH /zones/{zone_id}/settings/origin_h2_max_streams", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/cache-settings_origin_h2_max_streams_value", - "description": "Value of the Origin H2 Max Streams Setting." + "description": "Value of the Origin H2 Max Streams Setting.", + "type": "integer" } }, "required": [ @@ -40,10 +37,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -56,10 +54,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cache-settings_origin_h2_max_streams_response_value", @@ -69,7 +64,6 @@ export const tools: readonly Tool[] = [ "cache-settings_messages": cache$$settings_messages, "cache-settings_origin_h2_max_streams": cache$$settings_origin_h2_max_streams, "cache-settings_origin_h2_max_streams_response_value": cache$$settings_origin_h2_max_streams_response_value, - "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value, }, }, annotations: { @@ -114,7 +108,6 @@ export const tools: readonly Tool[] = [ "cache-settings_messages": cache$$settings_messages, "cache-settings_origin_h2_max_streams": cache$$settings_origin_h2_max_streams, "cache-settings_origin_h2_max_streams_response_value": cache$$settings_origin_h2_max_streams_response_value, - "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value, }, }, request: (args) => ({ @@ -125,15 +118,16 @@ export const tools: readonly Tool[] = [ { name: "zones_originH2MaxStreams_get", title: "Get Origin H2 Max Streams Setting", - description: "Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.", + description: "Origin H2 Max Streams configures the max number of concurrent requests that Cloudflare will send within the same connection when communicating with the origin server, if the origin supports it. Note that if your origin does not support H2 multiplexing, 5xx errors may be observed, particularly 520s. Also note that the default value is `100` for all plan types except Enterprise where it is `1`. `1` means that H2 multiplexing is disabled.\n\nGET /zones/{zone_id}/settings/origin_h2_max_streams", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -145,9 +139,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/cache-settings_origin_h2_max_streams_response_value", @@ -157,7 +149,6 @@ export const tools: readonly Tool[] = [ "cache-settings_messages": cache$$settings_messages, "cache-settings_origin_h2_max_streams": cache$$settings_origin_h2_max_streams, "cache-settings_origin_h2_max_streams_response_value": cache$$settings_origin_h2_max_streams_response_value, - "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value, }, }, annotations: { @@ -204,7 +195,6 @@ export const tools: readonly Tool[] = [ "cache-settings_messages": cache$$settings_messages, "cache-settings_origin_h2_max_streams": cache$$settings_origin_h2_max_streams, "cache-settings_origin_h2_max_streams_response_value": cache$$settings_origin_h2_max_streams_response_value, - "cache-settings_origin_h2_max_streams_value": cache$$settings_origin_h2_max_streams_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts b/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts index 328c96ec2..bc83f4279 100644 --- a/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts +++ b/src/generated/forge-mcp/zones/originMaxHttpVersion/outputs.ts @@ -20,7 +20,11 @@ export const cache$$settings_origin_max_http_version: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/cache-settings_origin_max_http_version_value" + "enum": [ + "2", + "1" + ], + "type": "string" } }, "type": "object" @@ -40,14 +44,3 @@ export const cache$$settings_origin_max_http_version_response_value: JsonSchema }, "type": "object" }; - -/** - * The schema of `cache-settings_origin_max_http_version_value` in responses. - */ -export const cache$$settings_origin_max_http_version_value: JsonSchema = { - "enum": [ - "2", - "1" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/originMaxHttpVersion/schemas.ts b/src/generated/forge-mcp/zones/originMaxHttpVersion/schemas.ts deleted file mode 100644 index 7d8c2ce47..000000000 --- a/src/generated/forge-mcp/zones/originMaxHttpVersion/schemas.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `cache-settings_origin_max_http_version_value`. - */ -export const cache$$settings_origin_max_http_version_value: JsonSchema = { - "description": "Value of the Origin Max HTTP Version Setting.", - "enum": [ - "2", - "1" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts b/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts index c8dece1da..0fe9f6f17 100644 --- a/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts +++ b/src/generated/forge-mcp/zones/originMaxHttpVersion/tools.ts @@ -6,21 +6,14 @@ import { cache$$settings_api$$response$$common, cache$$settings_api$$response$$common$$failure, cache$$settings_base, - cache$$settings_editable, cache$$settings_messages, - cache$$settings_modified_on, cache$$settings_result$$object, - cache$$settings_setting_id, - cache$$settings_setting_value, cache$$settings_zone_cache_settings_response_single, } from "../../outputs.js"; -import { cache$$settings_identifier } from "../../schemas.js"; import { cache$$settings_origin_max_http_version, cache$$settings_origin_max_http_version_response_value, - cache$$settings_origin_max_http_version_value, } from "./outputs.js"; -import { cache$$settings_origin_max_http_version_value as cache$$settings_origin_max_http_version_value$ } from "./schemas.js"; /** * The tools of `zones.originMaxHttpVersion`. @@ -29,15 +22,19 @@ export const tools: readonly Tool[] = [ { name: "zones_originMaxHttpVersion_edit", title: "Change Origin Max HTTP Version Setting", - description: "Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is \"2\" for all plan types except Enterprise where it is \"1\".", + description: "Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is \"2\" for all plan types except Enterprise where it is \"1\".\n\nPATCH /zones/{zone_id}/settings/origin_max_http_version", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/cache-settings_origin_max_http_version_value", - "description": "Value of the Origin Max HTTP Version Setting." + "description": "Value of the Origin Max HTTP Version Setting.", + "enum": [ + "2", + "1" + ], + "type": "string" } }, "required": [ @@ -46,10 +43,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -62,10 +60,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -79,15 +74,10 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_max_http_version": cache$$settings_origin_max_http_version, "cache-settings_origin_max_http_version_response_value": cache$$settings_origin_max_http_version_response_value, - "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -137,15 +127,10 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_max_http_version": cache$$settings_origin_max_http_version, "cache-settings_origin_max_http_version_response_value": cache$$settings_origin_max_http_version_response_value, - "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -157,15 +142,16 @@ export const tools: readonly Tool[] = [ { name: "zones_originMaxHttpVersion_get", title: "Get Origin Max HTTP Version Setting", - description: "Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is \"2\" for all plan types except Enterprise where it is \"1\".", + description: "Origin Max HTTP Setting Version sets the highest HTTP version Cloudflare will attempt to use with your origin. This setting allows Cloudflare to make HTTP/2 requests to your origin. (Refer to [Enable HTTP/2 to Origin](https://developers.cloudflare.com/cache/how-to/enable-http2-to-origin/), for more information.). The default value is \"2\" for all plan types except Enterprise where it is \"1\".\n\nGET /zones/{zone_id}/settings/origin_max_http_version", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -177,9 +163,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -193,15 +177,10 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_max_http_version": cache$$settings_origin_max_http_version, "cache-settings_origin_max_http_version_response_value": cache$$settings_origin_max_http_version_response_value, - "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -253,15 +232,10 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_max_http_version": cache$$settings_origin_max_http_version, "cache-settings_origin_max_http_version_response_value": cache$$settings_origin_max_http_version_response_value, - "cache-settings_origin_max_http_version_value": cache$$settings_origin_max_http_version_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, diff --git a/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts b/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts index f5efeb2d5..d3e76d1e8 100644 --- a/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts +++ b/src/generated/forge-mcp/zones/originTlsComplianceModes/tools.ts @@ -6,17 +6,12 @@ import { cache$$settings_api$$response$$common, cache$$settings_api$$response$$common$$failure, cache$$settings_base, - cache$$settings_editable, cache$$settings_messages, - cache$$settings_modified_on, cache$$settings_result$$object, cache$$settings_result$$object$$delete, - cache$$settings_setting_id, - cache$$settings_setting_value, cache$$settings_zone_cache_settings_delete_response_single, cache$$settings_zone_cache_settings_response_single, } from "../../outputs.js"; -import { cache$$settings_identifier } from "../../schemas.js"; import { cache$$settings_origin_tls_compliance_modes, cache$$settings_origin_tls_compliance_modes_response_value, @@ -31,15 +26,16 @@ export const tools: readonly Tool[] = [ { name: "zones_originTlsComplianceModes_delete", title: "Delete Origin TLS Compliance Modes setting", - description: "Delete the Origin TLS Compliance Modes setting for the zone, removing any configured compliance constraint. After deletion, Cloudflare's default behavior applies (no compliance filtering of the key-exchange algorithm list sent to the origin).", + description: "Delete the Origin TLS Compliance Modes setting for the zone, removing any configured compliance constraint. After deletion, Cloudflare's default behavior applies (no compliance filtering of the key-exchange algorithm list sent to the origin).\n\nDELETE /zones/{zone_id}/settings/origin_tls_compliance_modes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -51,9 +47,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -72,12 +66,9 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, - "cache-settings_setting_id": cache$$settings_setting_id, "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, @@ -123,12 +114,9 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, "cache-settings_result-object-delete": cache$$settings_result$$object$$delete, - "cache-settings_setting_id": cache$$settings_setting_id, "cache-settings_zone_cache_settings_delete_response_single": cache$$settings_zone_cache_settings_delete_response_single, }, }, @@ -139,7 +127,7 @@ export const tools: readonly Tool[] = [ { name: "zones_originTlsComplianceModes_edit", title: "Change Origin TLS Compliance Modes setting", - description: "Update the set of TLS compliance modes for the zone. PATCH performs a full replace of the modes list, not a merge — the request body is treated as the complete new list, and any modes not present in it are removed. (To remove a single mode from an existing configuration, send the updated list without it.) The request body must be of the form `{\"value\": [\"fips\", \"pqh\"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.", + description: "Update the set of TLS compliance modes for the zone. PATCH performs a full replace of the modes list, not a merge — the request body is treated as the complete new list, and any modes not present in it are removed. (To remove a single mode from an existing configuration, send the updated list without it.) The request body must be of the form `{\"value\": [\"fips\", \"pqh\"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.\n\nPATCH /zones/{zone_id}/settings/origin_tls_compliance_modes", inputSchema: { type: "object", properties: { @@ -156,10 +144,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -172,8 +161,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cache-settings_identifier": cache$$settings_identifier, "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value$, }, }, @@ -189,15 +178,11 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -238,15 +223,11 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -258,15 +239,16 @@ export const tools: readonly Tool[] = [ { name: "zones_originTlsComplianceModes_get", title: "Get Origin TLS Compliance Modes setting", - description: "Origin TLS Compliance Modes constrains the set of TLS key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. The value is a list of named compliance modes (currently `fips` and `pqh`). Multiple modes are combined as the intersection of their permitted algorithm lists. An empty list (or no rule configured) means no compliance constraint is applied.", + description: "Origin TLS Compliance Modes constrains the set of TLS key-exchange algorithms Cloudflare may use when establishing the TLS connection to the zone's origin. The value is a list of named compliance modes (currently `fips` and `pqh`). Multiple modes are combined as the intersection of their permitted algorithm lists. An empty list (or no rule configured) means no compliance constraint is applied.\n\nGET /zones/{zone_id}/settings/origin_tls_compliance_modes", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -278,9 +260,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "cache-settings_identifier": cache$$settings_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -294,15 +274,11 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -343,15 +319,11 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -362,7 +334,7 @@ export const tools: readonly Tool[] = [ { name: "zones_originTlsComplianceModes_update", title: "Replace Origin TLS Compliance Modes setting", - description: "Replace the entire set of TLS compliance modes for the zone with the list provided in the request body. PUT performs a full replace, not a merge — any modes not present in the request body are removed. The request body must be of the form `{\"value\": [\"fips\", \"pqh\"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.", + description: "Replace the entire set of TLS compliance modes for the zone with the list provided in the request body. PUT performs a full replace, not a merge — any modes not present in the request body are removed. The request body must be of the form `{\"value\": [\"fips\", \"pqh\"]}`. Currently supported modes are `fips` and `pqh`; an empty list clears the constraint. Future modes (e.g. `cnsa2`) may be added; clients should treat unknown values as opaque strings. Invalid mode values are rejected with a 4xx response.\n\nPUT /zones/{zone_id}/settings/origin_tls_compliance_modes", inputSchema: { type: "object", properties: { @@ -379,10 +351,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/cache-settings_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -395,8 +368,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "cache-settings_identifier": cache$$settings_identifier, "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value$, }, }, @@ -412,15 +385,11 @@ export const tools: readonly Tool[] = [ $defs: { "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, @@ -461,15 +430,11 @@ export const tools: readonly Tool[] = [ "cache-settings_api-response-common": cache$$settings_api$$response$$common, "cache-settings_api-response-common-failure": cache$$settings_api$$response$$common$$failure, "cache-settings_base": cache$$settings_base, - "cache-settings_editable": cache$$settings_editable, "cache-settings_messages": cache$$settings_messages, - "cache-settings_modified_on": cache$$settings_modified_on, "cache-settings_origin_tls_compliance_modes": cache$$settings_origin_tls_compliance_modes, "cache-settings_origin_tls_compliance_modes_response_value": cache$$settings_origin_tls_compliance_modes_response_value, "cache-settings_origin_tls_compliance_modes_value": cache$$settings_origin_tls_compliance_modes_value, "cache-settings_result-object": cache$$settings_result$$object, - "cache-settings_setting_id": cache$$settings_setting_id, - "cache-settings_setting_value": cache$$settings_setting_value, "cache-settings_zone_cache_settings_response_single": cache$$settings_zone_cache_settings_response_single, }, }, diff --git a/src/generated/forge-mcp/zones/outputs.ts b/src/generated/forge-mcp/zones/outputs.ts index 3fbbc22a0..5aa202aac 100644 --- a/src/generated/forge-mcp/zones/outputs.ts +++ b/src/generated/forge-mcp/zones/outputs.ts @@ -3,26 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `bill-subs-api_schemas-frequency` in responses. - */ -export const bill$$subs$$api_schemas$$frequency: JsonSchema = { - "enum": [ - "weekly", - "monthly", - "quarterly", - "yearly" - ], - "type": "string" -}; - -/** - * The schema of `bill-subs-api_schemas-name` in responses. - */ -export const bill$$subs$$api_schemas$$name: JsonSchema = { - "type": "string" -}; - /** * The schema of `zones_api-response-common` in responses. */ @@ -95,7 +75,7 @@ export const zones_api$$response$$single$$id: JsonSchema = { { "properties": { "id": { - "$ref": "#/$defs/zones_identifier" + "type": "string" } }, "required": [ @@ -114,13 +94,6 @@ export const zones_api$$response$$single$$id: JsonSchema = { ] }; -/** - * The schema of `zones_identifier` in responses. - */ -export const zones_identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `zones_messages` in responses. */ @@ -143,13 +116,6 @@ export const zones_messages: JsonSchema = { "type": "array" }; -/** - * The schema of `zones_paused` in responses. - */ -export const zones_paused: JsonSchema = { - "type": "boolean" -}; - /** * The schema of `zones_result_info` in responses. */ @@ -174,19 +140,6 @@ export const zones_result_info: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_type` in responses. - */ -export const zones_type: JsonSchema = { - "enum": [ - "full", - "partial", - "secondary", - "internal" - ], - "type": "string" -}; - /** * The schema of `zones_zone` in responses. */ @@ -302,7 +255,7 @@ export const zones_zone: JsonSchema = { "owner": { "properties": { "id": { - "$ref": "#/$defs/zones_identifier" + "type": "string" }, "name": { "type": "string" @@ -314,7 +267,7 @@ export const zones_zone: JsonSchema = { "type": "object" }, "paused": { - "$ref": "#/$defs/zones_paused" + "type": "boolean" }, "permissions": { "items": { @@ -337,7 +290,7 @@ export const zones_zone: JsonSchema = { "type": "string" }, "id": { - "$ref": "#/$defs/zones_identifier" + "type": "string" }, "is_subscribed": { "type": "boolean" @@ -369,7 +322,7 @@ export const zones_zone: JsonSchema = { "tenant": { "properties": { "id": { - "$ref": "#/$defs/zones_identifier" + "type": "string" }, "name": { "type": "string" @@ -380,13 +333,19 @@ export const zones_zone: JsonSchema = { "tenant_unit": { "properties": { "id": { - "$ref": "#/$defs/zones_identifier" + "type": "string" } }, "type": "object" }, "type": { - "$ref": "#/$defs/zones_type" + "enum": [ + "full", + "partial", + "secondary", + "internal" + ], + "type": "string" }, "vanity_name_servers": { "items": { diff --git a/src/generated/forge-mcp/zones/plans/outputs.ts b/src/generated/forge-mcp/zones/plans/outputs.ts index ccc34d008..718b80366 100644 --- a/src/generated/forge-mcp/zones/plans/outputs.ts +++ b/src/generated/forge-mcp/zones/plans/outputs.ts @@ -9,67 +9,38 @@ import type { JsonSchema } from "../../_/tool.js"; export const bill$$subs$$api_available$$rate$$plan: JsonSchema = { "properties": { "can_subscribe": { - "$ref": "#/$defs/bill-subs-api_can_subscribe" + "type": "boolean" }, "currency": { - "$ref": "#/$defs/bill-subs-api_currency" + "type": "string" }, "externally_managed": { - "$ref": "#/$defs/bill-subs-api_externally_managed" + "type": "boolean" }, "frequency": { - "$ref": "#/$defs/bill-subs-api_schemas-frequency" + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly" + ], + "type": "string" }, "id": { - "$ref": "#/$defs/bill-subs-api_identifier" + "type": "string" }, "is_subscribed": { - "$ref": "#/$defs/bill-subs-api_is_subscribed" + "type": "boolean" }, "legacy_id": { - "$ref": "#/$defs/bill-subs-api_legacy_id" + "type": "string" }, "name": { - "$ref": "#/$defs/bill-subs-api_schemas-name" + "type": "string" }, "price": { - "$ref": "#/$defs/bill-subs-api_schemas-price" + "type": "number" } }, "type": "object" }; - -/** - * The schema of `bill-subs-api_can_subscribe` in responses. - */ -export const bill$$subs$$api_can_subscribe: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bill-subs-api_externally_managed` in responses. - */ -export const bill$$subs$$api_externally_managed: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bill-subs-api_is_subscribed` in responses. - */ -export const bill$$subs$$api_is_subscribed: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `bill-subs-api_legacy_id` in responses. - */ -export const bill$$subs$$api_legacy_id: JsonSchema = { - "type": "string" -}; - -/** - * The schema of `bill-subs-api_schemas-price` in responses. - */ -export const bill$$subs$$api_schemas$$price: JsonSchema = { - "type": "number" -}; diff --git a/src/generated/forge-mcp/zones/plans/tools.ts b/src/generated/forge-mcp/zones/plans/tools.ts index d636e6052..952844b8a 100644 --- a/src/generated/forge-mcp/zones/plans/tools.ts +++ b/src/generated/forge-mcp/zones/plans/tools.ts @@ -7,24 +7,10 @@ import { bill$$subs$$api_api$$response$$common, bill$$subs$$api_api$$response$$common$$failure, bill$$subs$$api_api$$response$$single, - bill$$subs$$api_currency, - bill$$subs$$api_identifier, bill$$subs$$api_messages, bill$$subs$$api_result_info, } from "../../outputs.js"; -import { bill$$subs$$api_identifier as bill$$subs$$api_identifier$ } from "../../schemas.js"; -import { - bill$$subs$$api_schemas$$frequency, - bill$$subs$$api_schemas$$name, -} from "../outputs.js"; -import { - bill$$subs$$api_available$$rate$$plan, - bill$$subs$$api_can_subscribe, - bill$$subs$$api_externally_managed, - bill$$subs$$api_is_subscribed, - bill$$subs$$api_legacy_id, - bill$$subs$$api_schemas$$price, -} from "./outputs.js"; +import { bill$$subs$$api_available$$rate$$plan } from "./outputs.js"; /** * The tools of `zones.plans`. @@ -33,19 +19,20 @@ export const tools: readonly Tool[] = [ { name: "zones_plans_get", title: "Available Plan Details", - description: "Details of the available plan that the zone can subscribe to.", + description: "Details of the available plan that the zone can subscribe to.\n\nGET /zones/{zone_id}/available_plans/{plan_identifier}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "plan_identifier": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -58,9 +45,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -80,16 +65,7 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_available-rate-plan": bill$$subs$$api_available$$rate$$plan, - "bill-subs-api_can_subscribe": bill$$subs$$api_can_subscribe, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_externally_managed": bill$$subs$$api_externally_managed, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_is_subscribed": bill$$subs$$api_is_subscribed, - "bill-subs-api_legacy_id": bill$$subs$$api_legacy_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, - "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, - "bill-subs-api_schemas-price": bill$$subs$$api_schemas$$price, }, }, annotations: { @@ -144,16 +120,7 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_available-rate-plan": bill$$subs$$api_available$$rate$$plan, - "bill-subs-api_can_subscribe": bill$$subs$$api_can_subscribe, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_externally_managed": bill$$subs$$api_externally_managed, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_is_subscribed": bill$$subs$$api_is_subscribed, - "bill-subs-api_legacy_id": bill$$subs$$api_legacy_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, - "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, - "bill-subs-api_schemas-price": bill$$subs$$api_schemas$$price, }, }, request: (args) => ({ @@ -163,15 +130,16 @@ export const tools: readonly Tool[] = [ { name: "zones_plans_list", title: "List Available Plans", - description: "Lists available plans the zone can subscribe to.", + description: "Lists available plans the zone can subscribe to.\n\nGET /zones/{zone_id}/available_plans", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -183,9 +151,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -208,17 +174,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_available-rate-plan": bill$$subs$$api_available$$rate$$plan, - "bill-subs-api_can_subscribe": bill$$subs$$api_can_subscribe, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_externally_managed": bill$$subs$$api_externally_managed, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_is_subscribed": bill$$subs$$api_is_subscribed, - "bill-subs-api_legacy_id": bill$$subs$$api_legacy_id, "bill-subs-api_messages": bill$$subs$$api_messages, "bill-subs-api_result_info": bill$$subs$$api_result_info, - "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, - "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, - "bill-subs-api_schemas-price": bill$$subs$$api_schemas$$price, }, }, annotations: { @@ -276,17 +233,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_available-rate-plan": bill$$subs$$api_available$$rate$$plan, - "bill-subs-api_can_subscribe": bill$$subs$$api_can_subscribe, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_externally_managed": bill$$subs$$api_externally_managed, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_is_subscribed": bill$$subs$$api_is_subscribed, - "bill-subs-api_legacy_id": bill$$subs$$api_legacy_id, "bill-subs-api_messages": bill$$subs$$api_messages, "bill-subs-api_result_info": bill$$subs$$api_result_info, - "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, - "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, - "bill-subs-api_schemas-price": bill$$subs$$api_schemas$$price, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/ratePlans/outputs.ts b/src/generated/forge-mcp/zones/ratePlans/outputs.ts index ec77acabd..218ec8acf 100644 --- a/src/generated/forge-mcp/zones/ratePlans/outputs.ts +++ b/src/generated/forge-mcp/zones/ratePlans/outputs.ts @@ -3,46 +3,25 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `bill-subs-api_components-schemas-name` in responses. - */ -export const bill$$subs$$api_components$$schemas$$name: JsonSchema = { - "enum": [ - "zones", - "page_rules", - "dedicated_certificates", - "dedicated_certificates_custom" - ], - "type": "string" -}; - -/** - * The schema of `bill-subs-api_default` in responses. - */ -export const bill$$subs$$api_default: JsonSchema = { - "type": "number" -}; - -/** - * The schema of `bill-subs-api_duration` in responses. - */ -export const bill$$subs$$api_duration: JsonSchema = { - "type": "number" -}; - /** * The schema of `bill-subs-api_plan_component_value` in responses. */ export const bill$$subs$$api_plan_component_value: JsonSchema = { "properties": { "default": { - "$ref": "#/$defs/bill-subs-api_default" + "type": "number" }, "name": { - "$ref": "#/$defs/bill-subs-api_components-schemas-name" + "enum": [ + "zones", + "page_rules", + "dedicated_certificates", + "dedicated_certificates_custom" + ], + "type": "string" }, "unit_price": { - "$ref": "#/$defs/bill-subs-api_unit_price" + "type": "number" } }, "type": "object" @@ -70,14 +49,6 @@ export const bill$$subs$$api_plan_response_collection: JsonSchema = { ] }; -/** - * The schema of `bill-subs-api_rate-plan_components-schemas-identifier` in - * responses. - */ -export const bill$$subs$$api_rate$$plan_components$$schemas$$identifier: JsonSchema = { - "type": "string" -}; - /** * The schema of `bill-subs-api_schemas-component_values` in responses. */ @@ -97,27 +68,26 @@ export const bill$$subs$$api_schemas$$rate$$plan: JsonSchema = { "$ref": "#/$defs/bill-subs-api_schemas-component_values" }, "currency": { - "$ref": "#/$defs/bill-subs-api_currency" + "type": "string" }, "duration": { - "$ref": "#/$defs/bill-subs-api_duration" + "type": "number" }, "frequency": { - "$ref": "#/$defs/bill-subs-api_schemas-frequency" + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly" + ], + "type": "string" }, "id": { - "$ref": "#/$defs/bill-subs-api_rate-plan_components-schemas-identifier" + "type": "string" }, "name": { - "$ref": "#/$defs/bill-subs-api_schemas-name" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `bill-subs-api_unit_price` in responses. - */ -export const bill$$subs$$api_unit_price: JsonSchema = { - "type": "number" -}; diff --git a/src/generated/forge-mcp/zones/ratePlans/tools.ts b/src/generated/forge-mcp/zones/ratePlans/tools.ts index 165c6ee10..3ac200e19 100644 --- a/src/generated/forge-mcp/zones/ratePlans/tools.ts +++ b/src/generated/forge-mcp/zones/ratePlans/tools.ts @@ -6,25 +6,14 @@ import { bill$$subs$$api_api$$response$$collection, bill$$subs$$api_api$$response$$common, bill$$subs$$api_api$$response$$common$$failure, - bill$$subs$$api_currency, bill$$subs$$api_messages, bill$$subs$$api_result_info, } from "../../outputs.js"; -import { bill$$subs$$api_identifier } from "../../schemas.js"; import { - bill$$subs$$api_schemas$$frequency, - bill$$subs$$api_schemas$$name, -} from "../outputs.js"; -import { - bill$$subs$$api_components$$schemas$$name, - bill$$subs$$api_default, - bill$$subs$$api_duration, bill$$subs$$api_plan_component_value, bill$$subs$$api_plan_response_collection, - bill$$subs$$api_rate$$plan_components$$schemas$$identifier, bill$$subs$$api_schemas$$component_values, bill$$subs$$api_schemas$$rate$$plan, - bill$$subs$$api_unit_price, } from "./outputs.js"; /** @@ -34,15 +23,16 @@ export const tools: readonly Tool[] = [ { name: "zones_ratePlans_get", title: "List Available Rate Plans", - description: "Lists all rate plans the zone can subscribe to.", + description: "Lists all rate plans the zone can subscribe to.\n\nGET /zones/{zone_id}/available_rate_plans", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -54,29 +44,19 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_plan_response_collection", $defs: { "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, - "bill-subs-api_components-schemas-name": bill$$subs$$api_components$$schemas$$name, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_default": bill$$subs$$api_default, - "bill-subs-api_duration": bill$$subs$$api_duration, "bill-subs-api_messages": bill$$subs$$api_messages, "bill-subs-api_plan_component_value": bill$$subs$$api_plan_component_value, "bill-subs-api_plan_response_collection": bill$$subs$$api_plan_response_collection, - "bill-subs-api_rate-plan_components-schemas-identifier": bill$$subs$$api_rate$$plan_components$$schemas$$identifier, "bill-subs-api_result_info": bill$$subs$$api_result_info, "bill-subs-api_schemas-component_values": bill$$subs$$api_schemas$$component_values, - "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, - "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, "bill-subs-api_schemas-rate-plan": bill$$subs$$api_schemas$$rate$$plan, - "bill-subs-api_unit_price": bill$$subs$$api_unit_price, }, }, annotations: { @@ -118,20 +98,12 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-collection": bill$$subs$$api_api$$response$$collection, "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, - "bill-subs-api_components-schemas-name": bill$$subs$$api_components$$schemas$$name, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_default": bill$$subs$$api_default, - "bill-subs-api_duration": bill$$subs$$api_duration, "bill-subs-api_messages": bill$$subs$$api_messages, "bill-subs-api_plan_component_value": bill$$subs$$api_plan_component_value, "bill-subs-api_plan_response_collection": bill$$subs$$api_plan_response_collection, - "bill-subs-api_rate-plan_components-schemas-identifier": bill$$subs$$api_rate$$plan_components$$schemas$$identifier, "bill-subs-api_result_info": bill$$subs$$api_result_info, "bill-subs-api_schemas-component_values": bill$$subs$$api_schemas$$component_values, - "bill-subs-api_schemas-frequency": bill$$subs$$api_schemas$$frequency, - "bill-subs-api_schemas-name": bill$$subs$$api_schemas$$name, "bill-subs-api_schemas-rate-plan": bill$$subs$$api_schemas$$rate$$plan, - "bill-subs-api_unit_price": bill$$subs$$api_unit_price, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/rum/outputs.ts b/src/generated/forge-mcp/zones/rum/outputs.ts index 908290578..95e1498ee 100644 --- a/src/generated/forge-mcp/zones/rum/outputs.ts +++ b/src/generated/forge-mcp/zones/rum/outputs.ts @@ -3,20 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `rum_editable` in responses. - */ -export const rum_editable: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `rum_id` in responses. - */ -export const rum_id: JsonSchema = { - "type": "string" -}; - /** * The schema of `rum_rum-site-response-single` in responses. */ @@ -42,21 +28,14 @@ export const rum_rum$$site$$response$$single: JsonSchema = { export const rum_rum_site: JsonSchema = { "properties": { "editable": { - "$ref": "#/$defs/rum_editable" + "type": "boolean" }, "id": { - "$ref": "#/$defs/rum_id" + "type": "string" }, "value": { - "$ref": "#/$defs/rum_value" + "type": "string" } }, "type": "object" }; - -/** - * The schema of `rum_value` in responses. - */ -export const rum_value: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/rum/tools.ts b/src/generated/forge-mcp/zones/rum/tools.ts index 86e1d4942..5d53150bb 100644 --- a/src/generated/forge-mcp/zones/rum/tools.ts +++ b/src/generated/forge-mcp/zones/rum/tools.ts @@ -8,14 +8,7 @@ import { rum_messages, rum_messages$$2, } from "../../outputs.js"; -import { rum_identifier } from "../../schemas.js"; -import { - rum_editable, - rum_id, - rum_rum$$site$$response$$single, - rum_rum_site, - rum_value, -} from "./outputs.js"; +import { rum_rum$$site$$response$$single, rum_rum_site } from "./outputs.js"; import { rum_toggle$$rum$$request } from "./schemas.js"; /** @@ -25,7 +18,7 @@ export const tools: readonly Tool[] = [ { name: "zones_rum_edit", title: "Toggle RUM on/off for a zone", - description: "Toggles RUM on/off for an existing zone.", + description: "Toggles RUM on/off for an existing zone.\n\nPATCH /zones/{zone_id}/settings/rum", inputSchema: { type: "object", properties: { @@ -33,10 +26,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/rum_toggle-rum-request" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -49,8 +43,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "rum_identifier": rum_identifier, "rum_toggle-rum-request": rum_toggle$$rum$$request, }, }, @@ -58,12 +52,9 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/rum_rum-site-response-single", $defs: { "rum_api-response-common": rum_api$$response$$common, - "rum_editable": rum_editable, - "rum_id": rum_id, "rum_messages": rum_messages, "rum_rum-site-response-single": rum_rum$$site$$response$$single, "rum_rum_site": rum_rum_site, - "rum_value": rum_value, }, }, annotations: { @@ -98,13 +89,10 @@ export const tools: readonly Tool[] = [ $defs: { "rum_api-response-common": rum_api$$response$$common, "rum_api-response-common-failure": rum_api$$response$$common$$failure, - "rum_editable": rum_editable, - "rum_id": rum_id, "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_rum-site-response-single": rum_rum$$site$$response$$single, "rum_rum_site": rum_rum_site, - "rum_value": rum_value, }, }, request: (args) => ({ @@ -115,15 +103,16 @@ export const tools: readonly Tool[] = [ { name: "zones_rum_get", title: "Get RUM status for a zone", - description: "Retrieves RUM status for a zone.", + description: "Retrieves RUM status for a zone.\n\nGET /zones/{zone_id}/settings/rum", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/rum_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -135,20 +124,15 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "rum_identifier": rum_identifier, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/rum_rum-site-response-single", $defs: { "rum_api-response-common": rum_api$$response$$common, - "rum_editable": rum_editable, - "rum_id": rum_id, "rum_messages": rum_messages, "rum_rum-site-response-single": rum_rum$$site$$response$$single, "rum_rum_site": rum_rum_site, - "rum_value": rum_value, }, }, annotations: { @@ -184,13 +168,10 @@ export const tools: readonly Tool[] = [ $defs: { "rum_api-response-common": rum_api$$response$$common, "rum_api-response-common-failure": rum_api$$response$$common$$failure, - "rum_editable": rum_editable, - "rum_id": rum_id, "rum_messages": rum_messages, "rum_messages-2": rum_messages$$2, "rum_rum-site-response-single": rum_rum$$site$$response$$single, "rum_rum_site": rum_rum_site, - "rum_value": rum_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/schemas.ts b/src/generated/forge-mcp/zones/schemas.ts index 11b1bacee..61661903c 100644 --- a/src/generated/forge-mcp/zones/schemas.ts +++ b/src/generated/forge-mcp/zones/schemas.ts @@ -3,44 +3,6 @@ import type { JsonSchema } from "../_/tool.js"; -/** - * The schema of `zones_identifier`. - */ -export const zones_identifier: JsonSchema = { - "description": "Identifier", - "type": "string" -}; - -/** - * The schema of `zones_name`. - */ -export const zones_name: JsonSchema = { - "description": "The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment (\"label\") not exceeding 63 characters.", - "type": "string" -}; - -/** - * The schema of `zones_paused`. - */ -export const zones_paused: JsonSchema = { - "description": "Indicates whether the zone is only using Cloudflare DNS services. A\ntrue value means the zone will not receive security or performance\nbenefits.\n", - "type": "boolean" -}; - -/** - * The schema of `zones_type`. - */ -export const zones_type: JsonSchema = { - "description": "A full zone implies that DNS is hosted with Cloudflare. A partial zone is\ntypically a partner-hosted zone or a CNAME setup.\n", - "enum": [ - "full", - "partial", - "secondary", - "internal" - ], - "type": "string" -}; - /** * The schema of `zones_vanity_name_servers`. */ diff --git a/src/generated/forge-mcp/zones/settings/outputs.ts b/src/generated/forge-mcp/zones/settings/outputs.ts index ac11addcc..c21e3743e 100644 --- a/src/generated/forge-mcp/zones/settings/outputs.ts +++ b/src/generated/forge-mcp/zones/settings/outputs.ts @@ -20,7 +20,11 @@ export const zones_0rtt: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_0rtt_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -28,17 +32,6 @@ export const zones_0rtt: JsonSchema = { ] }; -/** - * The schema of `zones_0rtt_value` in responses. - */ -export const zones_0rtt_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_advanced_ddos` in responses. */ @@ -56,7 +49,11 @@ export const zones_advanced_ddos: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_advanced_ddos_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -64,17 +61,6 @@ export const zones_advanced_ddos: JsonSchema = { ] }; -/** - * The schema of `zones_advanced_ddos_value` in responses. - */ -export const zones_advanced_ddos_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_always_online` in responses. */ @@ -92,7 +78,11 @@ export const zones_always_online: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_always_online_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -100,17 +90,6 @@ export const zones_always_online: JsonSchema = { ] }; -/** - * The schema of `zones_always_online_value` in responses. - */ -export const zones_always_online_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_always_use_https-2` in responses. */ @@ -128,7 +107,11 @@ export const zones_always_use_https$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_always_use_https_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -136,17 +119,6 @@ export const zones_always_use_https$$2: JsonSchema = { ] }; -/** - * The schema of `zones_always_use_https_value` in responses. - */ -export const zones_always_use_https_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_api-response-common-4` in responses. */ @@ -221,7 +193,11 @@ export const zones_automatic_https_rewrites$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_automatic_https_rewrites_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -229,17 +205,6 @@ export const zones_automatic_https_rewrites$$2: JsonSchema = { ] }; -/** - * The schema of `zones_automatic_https_rewrites_value` in responses. - */ -export const zones_automatic_https_rewrites_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_automatic_platform_optimization` in responses. */ @@ -351,7 +316,11 @@ export const zones_brotli: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_brotli_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -359,17 +328,6 @@ export const zones_brotli: JsonSchema = { ] }; -/** - * The schema of `zones_brotli_value` in responses. - */ -export const zones_brotli_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_browser_cache_ttl-2` in responses. */ @@ -387,7 +345,7 @@ export const zones_browser_cache_ttl$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_browser_cache_ttl_value" + "type": "integer" } }, "type": "object" @@ -395,13 +353,6 @@ export const zones_browser_cache_ttl$$2: JsonSchema = { ] }; -/** - * The schema of `zones_browser_cache_ttl_value` in responses. - */ -export const zones_browser_cache_ttl_value: JsonSchema = { - "type": "integer" -}; - /** * The schema of `zones_browser_check-2` in responses. */ @@ -419,7 +370,11 @@ export const zones_browser_check$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_browser_check_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -427,17 +382,6 @@ export const zones_browser_check$$2: JsonSchema = { ] }; -/** - * The schema of `zones_browser_check_value` in responses. - */ -export const zones_browser_check_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_cache-rules_aegis` in responses. */ @@ -521,7 +465,7 @@ export const zones_cache$$rules_origin_h2_max_streams: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_cache-rules_origin_h2_max_streams_value" + "type": "integer" } }, "type": "object" @@ -529,13 +473,6 @@ export const zones_cache$$rules_origin_h2_max_streams: JsonSchema = { ] }; -/** - * The schema of `zones_cache-rules_origin_h2_max_streams_value` in responses. - */ -export const zones_cache$$rules_origin_h2_max_streams_value: JsonSchema = { - "type": "integer" -}; - /** * The schema of `zones_cache-rules_origin_max_http_version` in responses. */ @@ -553,7 +490,11 @@ export const zones_cache$$rules_origin_max_http_version: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_cache-rules_origin_max_http_version_value" + "enum": [ + "2", + "1" + ], + "type": "string" } }, "type": "object" @@ -561,17 +502,6 @@ export const zones_cache$$rules_origin_max_http_version: JsonSchema = { ] }; -/** - * The schema of `zones_cache-rules_origin_max_http_version_value` in responses. - */ -export const zones_cache$$rules_origin_max_http_version_value: JsonSchema = { - "enum": [ - "2", - "1" - ], - "type": "string" -}; - /** * The schema of `zones_cache_level-2` in responses. */ @@ -589,7 +519,12 @@ export const zones_cache_level$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_cache_level_value" + "enum": [ + "aggressive", + "basic", + "simplified" + ], + "type": "string" } }, "type": "object" @@ -597,18 +532,6 @@ export const zones_cache_level$$2: JsonSchema = { ] }; -/** - * The schema of `zones_cache_level_value` in responses. - */ -export const zones_cache_level_value: JsonSchema = { - "enum": [ - "aggressive", - "basic", - "simplified" - ], - "type": "string" -}; - /** * The schema of `zones_challenge_ttl` in responses. */ @@ -626,7 +549,23 @@ export const zones_challenge_ttl: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_challenge_ttl_value" + "enum": [ + 300, + 900, + 1800, + 2700, + 3600, + 7200, + 10800, + 14400, + 28800, + 57600, + 86400, + 604800, + 2592000, + 31536000 + ], + "type": "integer" } }, "type": "object" @@ -634,29 +573,6 @@ export const zones_challenge_ttl: JsonSchema = { ] }; -/** - * The schema of `zones_challenge_ttl_value` in responses. - */ -export const zones_challenge_ttl_value: JsonSchema = { - "enum": [ - 300, - 900, - 1800, - 2700, - 3600, - 7200, - 10800, - 14400, - 28800, - 57600, - 86400, - 604800, - 2592000, - 31536000 - ], - "type": "integer" -}; - /** * The schema of `zones_china_network_enabled` in responses. */ @@ -674,7 +590,11 @@ export const zones_china_network_enabled: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_china_network_enabled_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -682,17 +602,6 @@ export const zones_china_network_enabled: JsonSchema = { ] }; -/** - * The schema of `zones_china_network_enabled_value` in responses. - */ -export const zones_china_network_enabled_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_ciphers` in responses. */ @@ -745,7 +654,11 @@ export const zones_cname_flattening: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_cname_flattening_value" + "enum": [ + "flatten_at_root", + "flatten_all" + ], + "type": "string" } }, "type": "object" @@ -753,17 +666,6 @@ export const zones_cname_flattening: JsonSchema = { ] }; -/** - * The schema of `zones_cname_flattening_value` in responses. - */ -export const zones_cname_flattening_value: JsonSchema = { - "enum": [ - "flatten_at_root", - "flatten_all" - ], - "type": "string" -}; - /** * The schema of `zones_content_converter` in responses. */ @@ -781,7 +683,11 @@ export const zones_content_converter: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_content_converter_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -789,17 +695,6 @@ export const zones_content_converter: JsonSchema = { ] }; -/** - * The schema of `zones_content_converter_value` in responses. - */ -export const zones_content_converter_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_development_mode` in responses. */ @@ -820,7 +715,11 @@ export const zones_development_mode: JsonSchema = { "type": "number" }, "value": { - "$ref": "#/$defs/zones_development_mode_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -828,17 +727,6 @@ export const zones_development_mode: JsonSchema = { ] }; -/** - * The schema of `zones_development_mode_value` in responses. - */ -export const zones_development_mode_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_early_hints` in responses. */ @@ -856,7 +744,11 @@ export const zones_early_hints: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_early_hints_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -864,17 +756,6 @@ export const zones_early_hints: JsonSchema = { ] }; -/** - * The schema of `zones_early_hints_value` in responses. - */ -export const zones_early_hints_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_edge_cache_ttl-2` in responses. */ @@ -892,7 +773,30 @@ export const zones_edge_cache_ttl$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_edge_cache_ttl_value" + "enum": [ + 30, + 60, + 300, + 1200, + 1800, + 3600, + 7200, + 10800, + 14400, + 18000, + 28800, + 43200, + 57600, + 72000, + 86400, + 172800, + 259200, + 345600, + 432000, + 518400, + 604800 + ], + "type": "integer" } }, "type": "object" @@ -900,36 +804,6 @@ export const zones_edge_cache_ttl$$2: JsonSchema = { ] }; -/** - * The schema of `zones_edge_cache_ttl_value` in responses. - */ -export const zones_edge_cache_ttl_value: JsonSchema = { - "enum": [ - 30, - 60, - 300, - 1200, - 1800, - 3600, - 7200, - 10800, - 14400, - 18000, - 28800, - 43200, - 57600, - 72000, - 86400, - 172800, - 259200, - 345600, - 432000, - 518400, - 604800 - ], - "type": "integer" -}; - /** * The schema of `zones_email_obfuscation-2` in responses. */ @@ -947,7 +821,11 @@ export const zones_email_obfuscation$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_email_obfuscation_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -955,17 +833,6 @@ export const zones_email_obfuscation$$2: JsonSchema = { ] }; -/** - * The schema of `zones_email_obfuscation_value` in responses. - */ -export const zones_email_obfuscation_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_h2_prioritization` in responses. */ @@ -983,7 +850,12 @@ export const zones_h2_prioritization: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_h2_prioritization_value" + "enum": [ + "on", + "off", + "custom" + ], + "type": "string" } }, "type": "object" @@ -991,18 +863,6 @@ export const zones_h2_prioritization: JsonSchema = { ] }; -/** - * The schema of `zones_h2_prioritization_value` in responses. - */ -export const zones_h2_prioritization_value: JsonSchema = { - "enum": [ - "on", - "off", - "custom" - ], - "type": "string" -}; - /** * The schema of `zones_hotlink_protection` in responses. */ @@ -1020,7 +880,11 @@ export const zones_hotlink_protection: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_hotlink_protection_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1028,17 +892,6 @@ export const zones_hotlink_protection: JsonSchema = { ] }; -/** - * The schema of `zones_hotlink_protection_value` in responses. - */ -export const zones_hotlink_protection_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_http2` in responses. */ @@ -1056,7 +909,11 @@ export const zones_http2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_http2_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1064,17 +921,6 @@ export const zones_http2: JsonSchema = { ] }; -/** - * The schema of `zones_http2_value` in responses. - */ -export const zones_http2_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_http3` in responses. */ @@ -1092,7 +938,11 @@ export const zones_http3: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_http3_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1100,17 +950,6 @@ export const zones_http3: JsonSchema = { ] }; -/** - * The schema of `zones_http3_value` in responses. - */ -export const zones_http3_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_image_resizing` in responses. */ @@ -1128,7 +967,12 @@ export const zones_image_resizing: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_image_resizing_value" + "enum": [ + "on", + "off", + "open" + ], + "type": "string" } }, "type": "object" @@ -1136,18 +980,6 @@ export const zones_image_resizing: JsonSchema = { ] }; -/** - * The schema of `zones_image_resizing_value` in responses. - */ -export const zones_image_resizing_value: JsonSchema = { - "enum": [ - "on", - "off", - "open" - ], - "type": "string" -}; - /** * The schema of `zones_ip_geolocation-2` in responses. */ @@ -1165,7 +997,11 @@ export const zones_ip_geolocation$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_ip_geolocation_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1173,17 +1009,6 @@ export const zones_ip_geolocation$$2: JsonSchema = { ] }; -/** - * The schema of `zones_ip_geolocation_value` in responses. - */ -export const zones_ip_geolocation_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_ipv6` in responses. */ @@ -1201,7 +1026,11 @@ export const zones_ipv6: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_ipv6_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -1209,17 +1038,6 @@ export const zones_ipv6: JsonSchema = { ] }; -/** - * The schema of `zones_ipv6_value` in responses. - */ -export const zones_ipv6_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_max_upload` in responses. */ @@ -1237,7 +1055,35 @@ export const zones_max_upload: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_max_upload_value" + "enum": [ + 100, + 125, + 150, + 175, + 200, + 225, + 250, + 275, + 300, + 325, + 350, + 375, + 400, + 425, + 450, + 475, + 500, + 1000, + 1500, + 2000, + 2500, + 3000, + 3500, + 4000, + 4500, + 5000 + ], + "type": "integer" } }, "type": "object" @@ -1245,41 +1091,6 @@ export const zones_max_upload: JsonSchema = { ] }; -/** - * The schema of `zones_max_upload_value` in responses. - */ -export const zones_max_upload_value: JsonSchema = { - "enum": [ - 100, - 125, - 150, - 175, - 200, - 225, - 250, - 275, - 300, - 325, - 350, - 375, - 400, - 425, - 450, - 475, - 500, - 1000, - 1500, - 2000, - 2500, - 3000, - 3500, - 4000, - 4500, - 5000 - ], - "type": "integer" -}; - /** * The schema of `zones_min_tls_version` in responses. */ @@ -1297,7 +1108,13 @@ export const zones_min_tls_version: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_min_tls_version_value" + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3" + ], + "type": "string" } }, "type": "object" @@ -1305,19 +1122,6 @@ export const zones_min_tls_version: JsonSchema = { ] }; -/** - * The schema of `zones_min_tls_version_value` in responses. - */ -export const zones_min_tls_version_value: JsonSchema = { - "enum": [ - "1.0", - "1.1", - "1.2", - "1.3" - ], - "type": "string" -}; - /** * The schema of `zones_mirage-2` in responses. */ @@ -1335,7 +1139,11 @@ export const zones_mirage$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_mirage_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1343,17 +1151,6 @@ export const zones_mirage$$2: JsonSchema = { ] }; -/** - * The schema of `zones_mirage_value` in responses. - */ -export const zones_mirage_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_nel` in responses. */ @@ -1408,7 +1205,11 @@ export const zones_opportunistic_encryption$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_opportunistic_encryption_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1416,17 +1217,6 @@ export const zones_opportunistic_encryption$$2: JsonSchema = { ] }; -/** - * The schema of `zones_opportunistic_encryption_value` in responses. - */ -export const zones_opportunistic_encryption_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_opportunistic_onion` in responses. */ @@ -1444,7 +1234,11 @@ export const zones_opportunistic_onion: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_opportunistic_onion_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1452,17 +1246,6 @@ export const zones_opportunistic_onion: JsonSchema = { ] }; -/** - * The schema of `zones_opportunistic_onion_value` in responses. - */ -export const zones_opportunistic_onion_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_orange_to_orange` in responses. */ @@ -1480,7 +1263,11 @@ export const zones_orange_to_orange: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_orange_to_orange_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1488,17 +1275,6 @@ export const zones_orange_to_orange: JsonSchema = { ] }; -/** - * The schema of `zones_orange_to_orange_value` in responses. - */ -export const zones_orange_to_orange_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_origin_error_page_pass_thru-2` in responses. */ @@ -1516,7 +1292,11 @@ export const zones_origin_error_page_pass_thru$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_origin_error_page_pass_thru_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1524,17 +1304,6 @@ export const zones_origin_error_page_pass_thru$$2: JsonSchema = { ] }; -/** - * The schema of `zones_origin_error_page_pass_thru_value` in responses. - */ -export const zones_origin_error_page_pass_thru_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_polish-2` in responses. */ @@ -1552,7 +1321,12 @@ export const zones_polish$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_polish_value" + "enum": [ + "off", + "lossless", + "lossy" + ], + "type": "string" } }, "type": "object" @@ -1560,18 +1334,6 @@ export const zones_polish$$2: JsonSchema = { ] }; -/** - * The schema of `zones_polish_value` in responses. - */ -export const zones_polish_value: JsonSchema = { - "enum": [ - "off", - "lossless", - "lossy" - ], - "type": "string" -}; - /** * The schema of `zones_pre_render` in responses. */ @@ -1589,7 +1351,11 @@ export const zones_pre_render: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_pre_render_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -1597,17 +1363,6 @@ export const zones_pre_render: JsonSchema = { ] }; -/** - * The schema of `zones_pre_render_value` in responses. - */ -export const zones_pre_render_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_prefetch_preload` in responses. */ @@ -1625,7 +1380,11 @@ export const zones_prefetch_preload: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_prefetch_preload_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1633,17 +1392,6 @@ export const zones_prefetch_preload: JsonSchema = { ] }; -/** - * The schema of `zones_prefetch_preload_value` in responses. - */ -export const zones_prefetch_preload_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_privacy_pass` in responses. */ @@ -1661,7 +1409,11 @@ export const zones_privacy_pass: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_privacy_pass_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1669,17 +1421,6 @@ export const zones_privacy_pass: JsonSchema = { ] }; -/** - * The schema of `zones_privacy_pass_value` in responses. - */ -export const zones_privacy_pass_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_proxy_read_timeout` in responses. */ @@ -1697,7 +1438,7 @@ export const zones_proxy_read_timeout: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_proxy_read_timeout_value" + "type": "number" } }, "type": "object" @@ -1705,13 +1446,6 @@ export const zones_proxy_read_timeout: JsonSchema = { ] }; -/** - * The schema of `zones_proxy_read_timeout_value` in responses. - */ -export const zones_proxy_read_timeout_value: JsonSchema = { - "type": "number" -}; - /** * The schema of `zones_pseudo_ipv4` in responses. */ @@ -1729,7 +1463,12 @@ export const zones_pseudo_ipv4: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_pseudo_ipv4_value" + "enum": [ + "off", + "add_header", + "overwrite_header" + ], + "type": "string" } }, "type": "object" @@ -1737,18 +1476,6 @@ export const zones_pseudo_ipv4: JsonSchema = { ] }; -/** - * The schema of `zones_pseudo_ipv4_value` in responses. - */ -export const zones_pseudo_ipv4_value: JsonSchema = { - "enum": [ - "off", - "add_header", - "overwrite_header" - ], - "type": "string" -}; - /** * The schema of `zones_redirects_for_ai_training` in responses. */ @@ -1766,7 +1493,11 @@ export const zones_redirects_for_ai_training: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_redirects_for_ai_training_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -1774,17 +1505,6 @@ export const zones_redirects_for_ai_training: JsonSchema = { ] }; -/** - * The schema of `zones_redirects_for_ai_training_value` in responses. - */ -export const zones_redirects_for_ai_training_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_replace_insecure_js` in responses. */ @@ -1802,7 +1522,11 @@ export const zones_replace_insecure_js: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_replace_insecure_js_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1810,17 +1534,6 @@ export const zones_replace_insecure_js: JsonSchema = { ] }; -/** - * The schema of `zones_replace_insecure_js_value` in responses. - */ -export const zones_replace_insecure_js_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_response_buffering-2` in responses. */ @@ -1838,7 +1551,11 @@ export const zones_response_buffering$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_response_buffering_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1846,17 +1563,6 @@ export const zones_response_buffering$$2: JsonSchema = { ] }; -/** - * The schema of `zones_response_buffering_value` in responses. - */ -export const zones_response_buffering_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_rocket_loader-2` in responses. */ @@ -1874,7 +1580,11 @@ export const zones_rocket_loader$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_rocket_loader_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -1882,17 +1592,6 @@ export const zones_rocket_loader$$2: JsonSchema = { ] }; -/** - * The schema of `zones_rocket_loader_value` in responses. - */ -export const zones_rocket_loader_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_schemas-automatic_platform_optimization` in responses. */ @@ -1935,7 +1634,11 @@ export const zones_search_for_agents: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_search_for_agents_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -1943,17 +1646,6 @@ export const zones_search_for_agents: JsonSchema = { ] }; -/** - * The schema of `zones_search_for_agents_value` in responses. - */ -export const zones_search_for_agents_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_security_header` in responses. */ @@ -2025,7 +1717,15 @@ export const zones_security_level$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_security_level_value" + "enum": [ + "off", + "essentially_off", + "low", + "medium", + "high", + "under_attack" + ], + "type": "string" } }, "type": "object" @@ -2033,21 +1733,6 @@ export const zones_security_level$$2: JsonSchema = { ] }; -/** - * The schema of `zones_security_level_value` in responses. - */ -export const zones_security_level_value: JsonSchema = { - "enum": [ - "off", - "essentially_off", - "low", - "medium", - "high", - "under_attack" - ], - "type": "string" -}; - /** * The schema of `zones_server_side_exclude` in responses. */ @@ -2065,7 +1750,11 @@ export const zones_server_side_exclude: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_server_side_exclude_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -2073,17 +1762,6 @@ export const zones_server_side_exclude: JsonSchema = { ] }; -/** - * The schema of `zones_server_side_exclude_value` in responses. - */ -export const zones_server_side_exclude_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_setting` in responses. */ @@ -2310,7 +1988,11 @@ export const zones_sha1_support: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_sha1_support_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -2318,17 +2000,6 @@ export const zones_sha1_support: JsonSchema = { ] }; -/** - * The schema of `zones_sha1_support_value` in responses. - */ -export const zones_sha1_support_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_sort_query_string_for_cache-2` in responses. */ @@ -2346,7 +2017,11 @@ export const zones_sort_query_string_for_cache$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_sort_query_string_for_cache_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -2354,17 +2029,6 @@ export const zones_sort_query_string_for_cache$$2: JsonSchema = { ] }; -/** - * The schema of `zones_sort_query_string_for_cache_value` in responses. - */ -export const zones_sort_query_string_for_cache_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_ssl-2` in responses. */ @@ -2382,7 +2046,13 @@ export const zones_ssl$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_ssl_value" + "enum": [ + "off", + "flexible", + "full", + "strict" + ], + "type": "string" } }, "type": "object" @@ -2396,7 +2066,7 @@ export const zones_ssl$$2: JsonSchema = { export const zones_ssl_recommender: JsonSchema = { "properties": { "enabled": { - "$ref": "#/$defs/zones_ssl_recommender_enabled" + "type": "boolean" }, "id": { "enum": [ @@ -2408,26 +2078,6 @@ export const zones_ssl_recommender: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_ssl_recommender_enabled` in responses. - */ -export const zones_ssl_recommender_enabled: JsonSchema = { - "type": "boolean" -}; - -/** - * The schema of `zones_ssl_value` in responses. - */ -export const zones_ssl_value: JsonSchema = { - "enum": [ - "off", - "flexible", - "full", - "strict" - ], - "type": "string" -}; - /** * The schema of `zones_tls_1_2_only` in responses. */ @@ -2445,7 +2095,11 @@ export const zones_tls_1_2_only: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_tls_1_2_only_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -2453,17 +2107,6 @@ export const zones_tls_1_2_only: JsonSchema = { ] }; -/** - * The schema of `zones_tls_1_2_only_value` in responses. - */ -export const zones_tls_1_2_only_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_tls_1_3` in responses. */ @@ -2481,7 +2124,12 @@ export const zones_tls_1_3: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_tls_1_3_value" + "enum": [ + "on", + "off", + "zrt" + ], + "type": "string" } }, "type": "object" @@ -2489,18 +2137,6 @@ export const zones_tls_1_3: JsonSchema = { ] }; -/** - * The schema of `zones_tls_1_3_value` in responses. - */ -export const zones_tls_1_3_value: JsonSchema = { - "enum": [ - "on", - "off", - "zrt" - ], - "type": "string" -}; - /** * The schema of `zones_tls_client_auth` in responses. */ @@ -2518,7 +2154,11 @@ export const zones_tls_client_auth: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_tls_client_auth_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -2526,17 +2166,6 @@ export const zones_tls_client_auth: JsonSchema = { ] }; -/** - * The schema of `zones_tls_client_auth_value` in responses. - */ -export const zones_tls_client_auth_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_transformations` in responses. */ @@ -2554,7 +2183,12 @@ export const zones_transformations: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_image_resizing_value" + "enum": [ + "on", + "off", + "open" + ], + "type": "string" } }, "type": "object" @@ -2579,7 +2213,7 @@ export const zones_transformations_allowed_origins: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_transformations_allowed_origins_value" + "type": "string" } }, "type": "object" @@ -2587,13 +2221,6 @@ export const zones_transformations_allowed_origins: JsonSchema = { ] }; -/** - * The schema of `zones_transformations_allowed_origins_value` in responses. - */ -export const zones_transformations_allowed_origins_value: JsonSchema = { - "type": "string" -}; - /** * The schema of `zones_true_client_ip_header-2` in responses. */ @@ -2611,7 +2238,11 @@ export const zones_true_client_ip_header$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_true_client_ip_header_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -2619,17 +2250,6 @@ export const zones_true_client_ip_header$$2: JsonSchema = { ] }; -/** - * The schema of `zones_true_client_ip_header_value` in responses. - */ -export const zones_true_client_ip_header_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_waf-2` in responses. */ @@ -2647,7 +2267,11 @@ export const zones_waf$$2: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_waf_value" + "enum": [ + "on", + "off" + ], + "type": "string" } }, "type": "object" @@ -2655,17 +2279,6 @@ export const zones_waf$$2: JsonSchema = { ] }; -/** - * The schema of `zones_waf_value` in responses. - */ -export const zones_waf_value: JsonSchema = { - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_webmcp_enabled` in responses. */ @@ -2683,7 +2296,11 @@ export const zones_webmcp_enabled: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_webmcp_enabled_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -2691,17 +2308,6 @@ export const zones_webmcp_enabled: JsonSchema = { ] }; -/** - * The schema of `zones_webmcp_enabled_value` in responses. - */ -export const zones_webmcp_enabled_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_webmcp_mcp_url` in responses. */ @@ -2719,7 +2325,7 @@ export const zones_webmcp_mcp_url: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_webmcp_mcp_url_value" + "type": "string" } }, "type": "object" @@ -2727,13 +2333,6 @@ export const zones_webmcp_mcp_url: JsonSchema = { ] }; -/** - * The schema of `zones_webmcp_mcp_url_value` in responses. - */ -export const zones_webmcp_mcp_url_value: JsonSchema = { - "type": "string" -}; - /** * The schema of `zones_webmcp_packs` in responses. */ @@ -2751,7 +2350,7 @@ export const zones_webmcp_packs: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_webmcp_packs_value" + "type": "string" } }, "type": "object" @@ -2759,13 +2358,6 @@ export const zones_webmcp_packs: JsonSchema = { ] }; -/** - * The schema of `zones_webmcp_packs_value` in responses. - */ -export const zones_webmcp_packs_value: JsonSchema = { - "type": "string" -}; - /** * The schema of `zones_webp` in responses. */ @@ -2783,7 +2375,11 @@ export const zones_webp: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_webp_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" @@ -2791,17 +2387,6 @@ export const zones_webp: JsonSchema = { ] }; -/** - * The schema of `zones_webp_value` in responses. - */ -export const zones_webp_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_websockets` in responses. */ @@ -2819,21 +2404,14 @@ export const zones_websockets: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/zones_websockets_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `zones_websockets_value` in responses. - */ -export const zones_websockets_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/settings/schemas.ts b/src/generated/forge-mcp/zones/settings/schemas.ts index 9063268b8..cb01386ca 100644 --- a/src/generated/forge-mcp/zones/settings/schemas.ts +++ b/src/generated/forge-mcp/zones/settings/schemas.ts @@ -3,66 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `zones_0rtt_value`. - */ -export const zones_0rtt_value: JsonSchema = { - "description": "Value of the 0-RTT setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_advanced_ddos_value`. - */ -export const zones_advanced_ddos_value: JsonSchema = { - "description": "Value of the zone setting.\nNotes: Defaults to on for Business+ plans", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_always_online_value`. - */ -export const zones_always_online_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_always_use_https_value`. - */ -export const zones_always_use_https_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_automatic_https_rewrites_value`. - */ -export const zones_automatic_https_rewrites_value: JsonSchema = { - "description": "Value of the zone setting.\nNotes: Default value depends on the zone's plan level.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_automatic_platform_optimization`. */ @@ -111,38 +51,6 @@ export const zones_automatic_platform_optimization: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_brotli_value`. - */ -export const zones_brotli_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - -/** - * The schema of `zones_browser_cache_ttl_value`. - */ -export const zones_browser_cache_ttl_value: JsonSchema = { - "description": "Value of the zone setting in seconds.\nMinimum values by plan:\n- Free: 1 second\n- Pro: 1 second\n- Business: 1 second\n- Enterprise: 1 second\nSetting a TTL of 0 is equivalent to selecting `Respect Existing Headers` and is allowed for all plans.", - "type": "integer" -}; - -/** - * The schema of `zones_browser_check_value`. - */ -export const zones_browser_check_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_cache-rules_aegis_value`. */ @@ -161,75 +69,6 @@ export const zones_cache$$rules_aegis_value: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_cache-rules_origin_h2_max_streams_value`. - */ -export const zones_cache$$rules_origin_h2_max_streams_value: JsonSchema = { - "description": "Value of the Origin H2 Max Streams Setting.", - "type": "integer" -}; - -/** - * The schema of `zones_cache-rules_origin_max_http_version_value`. - */ -export const zones_cache$$rules_origin_max_http_version_value: JsonSchema = { - "description": "Value of the Origin Max HTTP Version Setting.", - "enum": [ - "2", - "1" - ], - "type": "string" -}; - -/** - * The schema of `zones_cache_level_value`. - */ -export const zones_cache_level_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "aggressive", - "basic", - "simplified" - ], - "type": "string" -}; - -/** - * The schema of `zones_challenge_ttl_value`. - */ -export const zones_challenge_ttl_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - 300, - 900, - 1800, - 2700, - 3600, - 7200, - 10800, - 14400, - 28800, - 57600, - 86400, - 604800, - 2592000, - 31536000 - ], - "type": "integer" -}; - -/** - * The schema of `zones_china_network_enabled_value`. - */ -export const zones_china_network_enabled_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_ciphers_value`. */ @@ -241,247 +80,6 @@ export const zones_ciphers_value: JsonSchema = { "type": "array" }; -/** - * The schema of `zones_cname_flattening_value`. - */ -export const zones_cname_flattening_value: JsonSchema = { - "deprecated": true, - "description": "Value of the cname flattening setting.", - "enum": [ - "flatten_at_root", - "flatten_all" - ], - "type": "string" -}; - -/** - * The schema of `zones_content_converter_value`. - */ -export const zones_content_converter_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - -/** - * The schema of `zones_development_mode_value`. - */ -export const zones_development_mode_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_early_hints_value`. - */ -export const zones_early_hints_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_edge_cache_ttl_value`. - */ -export const zones_edge_cache_ttl_value: JsonSchema = { - "description": "Value of the zone setting.\nNotes: The minimum TTL available depends on the plan level of the zone. (Enterprise = 30, Business = 1800, Pro = 3600, Free = 7200)", - "enum": [ - 30, - 60, - 300, - 1200, - 1800, - 3600, - 7200, - 10800, - 14400, - 18000, - 28800, - 43200, - 57600, - 72000, - 86400, - 172800, - 259200, - 345600, - 432000, - 518400, - 604800 - ], - "type": "integer" -}; - -/** - * The schema of `zones_email_obfuscation_value`. - */ -export const zones_email_obfuscation_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_h2_prioritization_value`. - */ -export const zones_h2_prioritization_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off", - "custom" - ], - "type": "string" -}; - -/** - * The schema of `zones_hotlink_protection_value`. - */ -export const zones_hotlink_protection_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_http2_value`. - */ -export const zones_http2_value: JsonSchema = { - "description": "Value of the HTTP2 setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_http3_value`. - */ -export const zones_http3_value: JsonSchema = { - "description": "Value of the HTTP3 setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_image_resizing_value`. - */ -export const zones_image_resizing_value: JsonSchema = { - "description": "Whether the feature is enabled, disabled, or enabled in `open proxy` mode.", - "enum": [ - "on", - "off", - "open" - ], - "type": "string" -}; - -/** - * The schema of `zones_ip_geolocation_value`. - */ -export const zones_ip_geolocation_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_ipv6_value`. - */ -export const zones_ipv6_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - -/** - * The schema of `zones_max_upload_value`. - */ -export const zones_max_upload_value: JsonSchema = { - "description": "Value of the zone setting.\nNotes: The size depends on the plan level of the zone. (Enterprise = 5000, Business = 200, Pro = 100, Free = 100)", - "enum": [ - 100, - 125, - 150, - 175, - 200, - 225, - 250, - 275, - 300, - 325, - 350, - 375, - 400, - 425, - 450, - 475, - 500, - 1000, - 1500, - 2000, - 2500, - 3000, - 3500, - 4000, - 4500, - 5000 - ], - "type": "integer" -}; - -/** - * The schema of `zones_min_tls_version_value`. - */ -export const zones_min_tls_version_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "1.0", - "1.1", - "1.2", - "1.3" - ], - "type": "string" -}; - -/** - * The schema of `zones_mirage_value`. - */ -export const zones_mirage_value: JsonSchema = { - "deprecated": true, - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - /** * The schema of `zones_nel_value`. */ @@ -496,186 +94,6 @@ export const zones_nel_value: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_opportunistic_encryption_value`. - */ -export const zones_opportunistic_encryption_value: JsonSchema = { - "description": "Value of the zone setting.\nNotes: Default value depends on the zone's plan level.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_opportunistic_onion_value`. - */ -export const zones_opportunistic_onion_value: JsonSchema = { - "description": "Value of the zone setting.\nNotes: Default value depends on the zone's plan level.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_orange_to_orange_value`. - */ -export const zones_orange_to_orange_value: JsonSchema = { - "deprecated": true, - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_origin_error_page_pass_thru_value`. - */ -export const zones_origin_error_page_pass_thru_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_polish_value`. - */ -export const zones_polish_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "lossless", - "lossy" - ], - "type": "string" -}; - -/** - * The schema of `zones_pre_render_value`. - */ -export const zones_pre_render_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - -/** - * The schema of `zones_prefetch_preload_value`. - */ -export const zones_prefetch_preload_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_privacy_pass_value`. - */ -export const zones_privacy_pass_value: JsonSchema = { - "deprecated": true, - "description": "Value of the Privacy Pass v1 (deprecated) zone setting", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_proxy_read_timeout_value`. - */ -export const zones_proxy_read_timeout_value: JsonSchema = { - "description": "Value of the zone setting.\nNotes: Value must be between 1 and 6000", - "type": "number" -}; - -/** - * The schema of `zones_pseudo_ipv4_value`. - */ -export const zones_pseudo_ipv4_value: JsonSchema = { - "description": "Value of the Pseudo IPv4 setting.", - "enum": [ - "off", - "add_header", - "overwrite_header" - ], - "type": "string" -}; - -/** - * The schema of `zones_redirects_for_ai_training_value`. - */ -export const zones_redirects_for_ai_training_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - -/** - * The schema of `zones_replace_insecure_js_value`. - */ -export const zones_replace_insecure_js_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_response_buffering_value`. - */ -export const zones_response_buffering_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_rocket_loader_value`. - */ -export const zones_rocket_loader_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_search_for_agents_value`. - */ -export const zones_search_for_agents_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_security_header_value`. */ @@ -711,401 +129,554 @@ export const zones_security_header_value: JsonSchema = { "type": "object" }; -/** - * The schema of `zones_security_level_value`. - */ -export const zones_security_level_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "essentially_off", - "low", - "medium", - "high", - "under_attack" - ], - "type": "string" -}; - -/** - * The schema of `zones_server_side_exclude_value`. - */ -export const zones_server_side_exclude_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_setting_name`. - */ -export const zones_setting_name: JsonSchema = { - "description": "Setting name", - "type": "string" -}; - /** * The schema of `zones_setting_value`. */ export const zones_setting_value: JsonSchema = { "oneOf": [ { - "$ref": "#/$defs/zones_0rtt_value" + "description": "Value of the 0-RTT setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_advanced_ddos_value" + "description": "Value of the zone setting.\nNotes: Defaults to on for Business+ plans", + "enum": [ + "on", + "off" + ], + "type": "string" }, { "$ref": "#/$defs/zones_cache-rules_aegis_value" }, { - "$ref": "#/$defs/zones_always_online_value" - }, - { - "$ref": "#/$defs/zones_always_use_https_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_automatic_https_rewrites_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_brotli_value" + "description": "Value of the zone setting.\nNotes: Default value depends on the zone's plan level.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_browser_cache_ttl_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_browser_check_value" + "description": "Value of the zone setting in seconds.\nMinimum values by plan:\n- Free: 1 second\n- Pro: 1 second\n- Business: 1 second\n- Enterprise: 1 second\nSetting a TTL of 0 is equivalent to selecting `Respect Existing Headers` and is allowed for all plans.", + "type": "integer" }, { - "$ref": "#/$defs/zones_cache_level_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_challenge_ttl_value" + "description": "Value of the zone setting.", + "enum": [ + "aggressive", + "basic", + "simplified" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_china_network_enabled_value" + "description": "Value of the zone setting.", + "enum": [ + 300, + 900, + 1800, + 2700, + 3600, + 7200, + 10800, + 14400, + 28800, + 57600, + 86400, + 604800, + 2592000, + 31536000 + ], + "type": "integer" + }, + { + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_content_converter_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { "$ref": "#/$defs/zones_ciphers_value" }, { - "$ref": "#/$defs/zones_cname_flattening_value" - }, - { - "$ref": "#/$defs/zones_development_mode_value" - }, - { - "$ref": "#/$defs/zones_early_hints_value" + "deprecated": true, + "description": "Value of the cname flattening setting.", + "enum": [ + "flatten_at_root", + "flatten_all" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_edge_cache_ttl_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_email_obfuscation_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_h2_prioritization_value" + "description": "Value of the zone setting.\nNotes: The minimum TTL available depends on the plan level of the zone. (Enterprise = 30, Business = 1800, Pro = 3600, Free = 7200)", + "enum": [ + 30, + 60, + 300, + 1200, + 1800, + 3600, + 7200, + 10800, + 14400, + 18000, + 28800, + 43200, + 57600, + 72000, + 86400, + 172800, + 259200, + 345600, + 432000, + 518400, + 604800 + ], + "type": "integer" + }, + { + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_hotlink_protection_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off", + "custom" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_http2_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_http3_value" + "description": "Value of the HTTP2 setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_image_resizing_value" + "description": "Value of the HTTP3 setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_ip_geolocation_value" + "description": "Whether the feature is enabled, disabled, or enabled in `open proxy` mode.", + "enum": [ + "on", + "off", + "open" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_ipv6_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_max_upload_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_min_tls_version_value" + "description": "Value of the zone setting.\nNotes: The size depends on the plan level of the zone. (Enterprise = 5000, Business = 200, Pro = 100, Free = 100)", + "enum": [ + 100, + 125, + 150, + 175, + 200, + 225, + 250, + 275, + 300, + 325, + 350, + 375, + 400, + 425, + 450, + 475, + 500, + 1000, + 1500, + 2000, + 2500, + 3000, + 3500, + 4000, + 4500, + 5000 + ], + "type": "integer" + }, + { + "description": "Value of the zone setting.", + "enum": [ + "1.0", + "1.1", + "1.2", + "1.3" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_mirage_value" + "deprecated": true, + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { "$ref": "#/$defs/zones_nel_value" }, { - "$ref": "#/$defs/zones_opportunistic_encryption_value" + "description": "Value of the zone setting.\nNotes: Default value depends on the zone's plan level.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_opportunistic_onion_value" + "description": "Value of the zone setting.\nNotes: Default value depends on the zone's plan level.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_orange_to_orange_value" + "deprecated": true, + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_origin_error_page_pass_thru_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_cache-rules_origin_h2_max_streams_value" + "description": "Value of the Origin H2 Max Streams Setting.", + "type": "integer" }, { - "$ref": "#/$defs/zones_cache-rules_origin_max_http_version_value" + "description": "Value of the Origin Max HTTP Version Setting.", + "enum": [ + "2", + "1" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_polish_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "lossless", + "lossy" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_prefetch_preload_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_pre_render_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_privacy_pass_value" + "deprecated": true, + "description": "Value of the Privacy Pass v1 (deprecated) zone setting", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_proxy_read_timeout_value" + "description": "Value of the zone setting.\nNotes: Value must be between 1 and 6000", + "type": "number" }, { - "$ref": "#/$defs/zones_pseudo_ipv4_value" + "description": "Value of the Pseudo IPv4 setting.", + "enum": [ + "off", + "add_header", + "overwrite_header" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_redirects_for_ai_training_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_replace_insecure_js_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_response_buffering_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_rocket_loader_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { "$ref": "#/$defs/zones_automatic_platform_optimization" }, { - "$ref": "#/$defs/zones_search_for_agents_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { "$ref": "#/$defs/zones_security_header_value" }, { - "$ref": "#/$defs/zones_security_level_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "essentially_off", + "low", + "medium", + "high", + "under_attack" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_server_side_exclude_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_sha1_support_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_sort_query_string_for_cache_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_ssl_value" + "description": "Value of the zone setting.\nNotes: Depends on the zone's plan level", + "enum": [ + "off", + "flexible", + "full", + "strict" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_tls_1_2_only_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_tls_1_3_value" + "description": "Value of the zone setting.\nNotes: Default value depends on the zone's plan level.", + "enum": [ + "on", + "off", + "zrt" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_tls_client_auth_value" + "description": "value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_true_client_ip_header_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_waf_value" + "description": "Value of the zone setting.", + "enum": [ + "on", + "off" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_webmcp_enabled_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_webmcp_mcp_url_value" + "description": "Root-relative path (with optional query string) of this zone's MCP\nendpoint, for example \"/api/mcp\". Surfaced to the injected bridge as the\ndata-mcp-url attribute. Absolute and protocol-relative URLs, fragments,\nand characters outside RFC 3986 paths and queries are rejected. An empty\nvalue clears the override so the bridge uses /mcp.", + "type": "string" }, { - "$ref": "#/$defs/zones_webmcp_packs_value" + "description": "Comma-separated list of WebMCP tool-pack names to activate for this\nzone (for example, \"c2pa,mcp-server-client\"), surfaced to the injected\nbridge as the data-packs attribute. An empty value clears the override\nso the bridge uses its built-in default pack set.", + "type": "string" }, { - "$ref": "#/$defs/zones_webp_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" }, { - "$ref": "#/$defs/zones_websockets_value" + "description": "Value of the zone setting.", + "enum": [ + "off", + "on" + ], + "type": "string" } ] }; -/** - * The schema of `zones_sha1_support_value`. - */ -export const zones_sha1_support_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - -/** - * The schema of `zones_sort_query_string_for_cache_value`. - */ -export const zones_sort_query_string_for_cache_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_ssl_recommender_enabled`. - */ -export const zones_ssl_recommender_enabled: JsonSchema = { - "description": "ssl-recommender enrollment setting.", - "type": "boolean" -}; - -/** - * The schema of `zones_ssl_value`. - */ -export const zones_ssl_value: JsonSchema = { - "description": "Value of the zone setting.\nNotes: Depends on the zone's plan level", - "enum": [ - "off", - "flexible", - "full", - "strict" - ], - "type": "string" -}; - -/** - * The schema of `zones_tls_1_2_only_value`. - */ -export const zones_tls_1_2_only_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - -/** - * The schema of `zones_tls_1_3_value`. - */ -export const zones_tls_1_3_value: JsonSchema = { - "description": "Value of the zone setting.\nNotes: Default value depends on the zone's plan level.", - "enum": [ - "on", - "off", - "zrt" - ], - "type": "string" -}; - -/** - * The schema of `zones_tls_client_auth_value`. - */ -export const zones_tls_client_auth_value: JsonSchema = { - "description": "value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_true_client_ip_header_value`. - */ -export const zones_true_client_ip_header_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_waf_value`. - */ -export const zones_waf_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "on", - "off" - ], - "type": "string" -}; - -/** - * The schema of `zones_webmcp_enabled_value`. - */ -export const zones_webmcp_enabled_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - -/** - * The schema of `zones_webmcp_mcp_url_value`. - */ -export const zones_webmcp_mcp_url_value: JsonSchema = { - "description": "Root-relative path (with optional query string) of this zone's MCP\nendpoint, for example \"/api/mcp\". Surfaced to the injected bridge as the\ndata-mcp-url attribute. Absolute and protocol-relative URLs, fragments,\nand characters outside RFC 3986 paths and queries are rejected. An empty\nvalue clears the override so the bridge uses /mcp.", - "type": "string" -}; - -/** - * The schema of `zones_webmcp_packs_value`. - */ -export const zones_webmcp_packs_value: JsonSchema = { - "description": "Comma-separated list of WebMCP tool-pack names to activate for this\nzone (for example, \"c2pa,mcp-server-client\"), surfaced to the injected\nbridge as the data-packs attribute. An empty value clears the override\nso the bridge uses its built-in default pack set.", - "type": "string" -}; - -/** - * The schema of `zones_webp_value`. - */ -export const zones_webp_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - -/** - * The schema of `zones_websockets_value`. - */ -export const zones_websockets_value: JsonSchema = { - "description": "Value of the zone setting.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; - /** * The schema of `zones_zone_settings_single_request`. */ @@ -1114,9 +685,9 @@ export const zones_zone_settings_single_request: JsonSchema = { { "properties": { "enabled": { - "$ref": "#/$defs/zones_ssl_recommender_enabled", "default": false, - "description": "ssl-recommender enrollment setting." + "description": "ssl-recommender enrollment setting.", + "type": "boolean" } }, "type": "object" diff --git a/src/generated/forge-mcp/zones/settings/tools.ts b/src/generated/forge-mcp/zones/settings/tools.ts index c30491511..f094a1b32 100644 --- a/src/generated/forge-mcp/zones/settings/tools.ts +++ b/src/generated/forge-mcp/zones/settings/tools.ts @@ -3,215 +3,92 @@ import { type Tool, pathParam } from "../../_/tool.js"; import { zones_messages } from "../outputs.js"; -import { zones_identifier } from "../schemas.js"; import { zones_0rtt, - zones_0rtt_value, zones_advanced_ddos, - zones_advanced_ddos_value, zones_always_online, - zones_always_online_value, zones_always_use_https$$2, - zones_always_use_https_value, zones_api$$response$$common$$4, zones_api$$response$$common$$failure$$3, zones_automatic_https_rewrites$$2, - zones_automatic_https_rewrites_value, zones_automatic_platform_optimization, zones_base, zones_brotli, - zones_brotli_value, zones_browser_cache_ttl$$2, - zones_browser_cache_ttl_value, zones_browser_check$$2, - zones_browser_check_value, zones_cache$$rules_aegis, zones_cache$$rules_aegis_value, zones_cache$$rules_base, zones_cache$$rules_origin_h2_max_streams, - zones_cache$$rules_origin_h2_max_streams_value, zones_cache$$rules_origin_max_http_version, - zones_cache$$rules_origin_max_http_version_value, zones_cache_level$$2, - zones_cache_level_value, zones_challenge_ttl, - zones_challenge_ttl_value, zones_china_network_enabled, - zones_china_network_enabled_value, zones_ciphers, zones_ciphers_value, zones_cname_flattening, - zones_cname_flattening_value, zones_content_converter, - zones_content_converter_value, zones_development_mode, - zones_development_mode_value, zones_early_hints, - zones_early_hints_value, zones_edge_cache_ttl$$2, - zones_edge_cache_ttl_value, zones_email_obfuscation$$2, - zones_email_obfuscation_value, zones_h2_prioritization, - zones_h2_prioritization_value, zones_hotlink_protection, - zones_hotlink_protection_value, zones_http2, - zones_http2_value, zones_http3, - zones_http3_value, zones_image_resizing, - zones_image_resizing_value, zones_ip_geolocation$$2, - zones_ip_geolocation_value, zones_ipv6, - zones_ipv6_value, zones_max_upload, - zones_max_upload_value, zones_min_tls_version, - zones_min_tls_version_value, zones_mirage$$2, - zones_mirage_value, zones_nel, zones_nel_value, zones_opportunistic_encryption$$2, - zones_opportunistic_encryption_value, zones_opportunistic_onion, - zones_opportunistic_onion_value, zones_orange_to_orange, - zones_orange_to_orange_value, zones_origin_error_page_pass_thru$$2, - zones_origin_error_page_pass_thru_value, zones_polish$$2, - zones_polish_value, zones_pre_render, - zones_pre_render_value, zones_prefetch_preload, - zones_prefetch_preload_value, zones_privacy_pass, - zones_privacy_pass_value, zones_proxy_read_timeout, - zones_proxy_read_timeout_value, zones_pseudo_ipv4, - zones_pseudo_ipv4_value, zones_redirects_for_ai_training, - zones_redirects_for_ai_training_value, zones_replace_insecure_js, - zones_replace_insecure_js_value, zones_response_buffering$$2, - zones_response_buffering_value, zones_rocket_loader$$2, - zones_rocket_loader_value, zones_schemas$$automatic_platform_optimization, zones_search_for_agents, - zones_search_for_agents_value, zones_security_header, zones_security_header_value, zones_security_level$$2, - zones_security_level_value, zones_server_side_exclude, - zones_server_side_exclude_value, zones_setting, zones_sha1_support, - zones_sha1_support_value, zones_sort_query_string_for_cache$$2, - zones_sort_query_string_for_cache_value, zones_ssl$$2, zones_ssl_recommender, - zones_ssl_recommender_enabled, - zones_ssl_value, zones_tls_1_2_only, - zones_tls_1_2_only_value, zones_tls_1_3, - zones_tls_1_3_value, zones_tls_client_auth, - zones_tls_client_auth_value, zones_transformations, zones_transformations_allowed_origins, - zones_transformations_allowed_origins_value, zones_true_client_ip_header$$2, - zones_true_client_ip_header_value, zones_waf$$2, - zones_waf_value, zones_webmcp_enabled, - zones_webmcp_enabled_value, zones_webmcp_mcp_url, - zones_webmcp_mcp_url_value, zones_webmcp_packs, - zones_webmcp_packs_value, zones_webp, - zones_webp_value, zones_websockets, - zones_websockets_value, } from "./outputs.js"; import { - zones_0rtt_value as zones_0rtt_value$, - zones_advanced_ddos_value as zones_advanced_ddos_value$, - zones_always_online_value as zones_always_online_value$, - zones_always_use_https_value as zones_always_use_https_value$, - zones_automatic_https_rewrites_value as zones_automatic_https_rewrites_value$, zones_automatic_platform_optimization as zones_automatic_platform_optimization$, - zones_brotli_value as zones_brotli_value$, - zones_browser_cache_ttl_value as zones_browser_cache_ttl_value$, - zones_browser_check_value as zones_browser_check_value$, zones_cache$$rules_aegis_value as zones_cache$$rules_aegis_value$, - zones_cache$$rules_origin_h2_max_streams_value as zones_cache$$rules_origin_h2_max_streams_value$, - zones_cache$$rules_origin_max_http_version_value as zones_cache$$rules_origin_max_http_version_value$, - zones_cache_level_value as zones_cache_level_value$, - zones_challenge_ttl_value as zones_challenge_ttl_value$, - zones_china_network_enabled_value as zones_china_network_enabled_value$, zones_ciphers_value as zones_ciphers_value$, - zones_cname_flattening_value as zones_cname_flattening_value$, - zones_content_converter_value as zones_content_converter_value$, - zones_development_mode_value as zones_development_mode_value$, - zones_early_hints_value as zones_early_hints_value$, - zones_edge_cache_ttl_value as zones_edge_cache_ttl_value$, - zones_email_obfuscation_value as zones_email_obfuscation_value$, - zones_h2_prioritization_value as zones_h2_prioritization_value$, - zones_hotlink_protection_value as zones_hotlink_protection_value$, - zones_http2_value as zones_http2_value$, - zones_http3_value as zones_http3_value$, - zones_image_resizing_value as zones_image_resizing_value$, - zones_ip_geolocation_value as zones_ip_geolocation_value$, - zones_ipv6_value as zones_ipv6_value$, - zones_max_upload_value as zones_max_upload_value$, - zones_min_tls_version_value as zones_min_tls_version_value$, - zones_mirage_value as zones_mirage_value$, zones_nel_value as zones_nel_value$, - zones_opportunistic_encryption_value as zones_opportunistic_encryption_value$, - zones_opportunistic_onion_value as zones_opportunistic_onion_value$, - zones_orange_to_orange_value as zones_orange_to_orange_value$, - zones_origin_error_page_pass_thru_value as zones_origin_error_page_pass_thru_value$, - zones_polish_value as zones_polish_value$, - zones_pre_render_value as zones_pre_render_value$, - zones_prefetch_preload_value as zones_prefetch_preload_value$, - zones_privacy_pass_value as zones_privacy_pass_value$, - zones_proxy_read_timeout_value as zones_proxy_read_timeout_value$, - zones_pseudo_ipv4_value as zones_pseudo_ipv4_value$, - zones_redirects_for_ai_training_value as zones_redirects_for_ai_training_value$, - zones_replace_insecure_js_value as zones_replace_insecure_js_value$, - zones_response_buffering_value as zones_response_buffering_value$, - zones_rocket_loader_value as zones_rocket_loader_value$, - zones_search_for_agents_value as zones_search_for_agents_value$, zones_security_header_value as zones_security_header_value$, - zones_security_level_value as zones_security_level_value$, - zones_server_side_exclude_value as zones_server_side_exclude_value$, - zones_setting_name, zones_setting_value, - zones_sha1_support_value as zones_sha1_support_value$, - zones_sort_query_string_for_cache_value as zones_sort_query_string_for_cache_value$, - zones_ssl_recommender_enabled as zones_ssl_recommender_enabled$, - zones_ssl_value as zones_ssl_value$, - zones_tls_1_2_only_value as zones_tls_1_2_only_value$, - zones_tls_1_3_value as zones_tls_1_3_value$, - zones_tls_client_auth_value as zones_tls_client_auth_value$, - zones_true_client_ip_header_value as zones_true_client_ip_header_value$, - zones_waf_value as zones_waf_value$, - zones_webmcp_enabled_value as zones_webmcp_enabled_value$, - zones_webmcp_mcp_url_value as zones_webmcp_mcp_url_value$, - zones_webmcp_packs_value as zones_webmcp_packs_value$, - zones_webp_value as zones_webp_value$, - zones_websockets_value as zones_websockets_value$, zones_zone_settings_single_request, } from "./schemas.js"; @@ -222,7 +99,7 @@ export const tools: readonly Tool[] = [ { name: "zones_settings_edit", title: "Edit zone setting", - description: "Updates a single zone setting by the identifier", + description: "Updates a single zone setting by the identifier\n\nPATCH /zones/{zone_id}/settings/{setting_id}", inputSchema: { type: "object", properties: { @@ -230,14 +107,15 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/zones_zone_settings_single_request" }, "path": { + "additionalProperties": false, "properties": { "setting_id": { - "$ref": "#/$defs/zones_setting_name", - "description": "Setting name" + "description": "Setting name", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -251,75 +129,14 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zones_0rtt_value": zones_0rtt_value$, - "zones_advanced_ddos_value": zones_advanced_ddos_value$, - "zones_always_online_value": zones_always_online_value$, - "zones_always_use_https_value": zones_always_use_https_value$, - "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value$, "zones_automatic_platform_optimization": zones_automatic_platform_optimization$, - "zones_brotli_value": zones_brotli_value$, - "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value$, - "zones_browser_check_value": zones_browser_check_value$, "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value$, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value$, - "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value$, - "zones_cache_level_value": zones_cache_level_value$, - "zones_challenge_ttl_value": zones_challenge_ttl_value$, - "zones_china_network_enabled_value": zones_china_network_enabled_value$, "zones_ciphers_value": zones_ciphers_value$, - "zones_cname_flattening_value": zones_cname_flattening_value$, - "zones_content_converter_value": zones_content_converter_value$, - "zones_development_mode_value": zones_development_mode_value$, - "zones_early_hints_value": zones_early_hints_value$, - "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value$, - "zones_email_obfuscation_value": zones_email_obfuscation_value$, - "zones_h2_prioritization_value": zones_h2_prioritization_value$, - "zones_hotlink_protection_value": zones_hotlink_protection_value$, - "zones_http2_value": zones_http2_value$, - "zones_http3_value": zones_http3_value$, - "zones_identifier": zones_identifier, - "zones_image_resizing_value": zones_image_resizing_value$, - "zones_ip_geolocation_value": zones_ip_geolocation_value$, - "zones_ipv6_value": zones_ipv6_value$, - "zones_max_upload_value": zones_max_upload_value$, - "zones_min_tls_version_value": zones_min_tls_version_value$, - "zones_mirage_value": zones_mirage_value$, "zones_nel_value": zones_nel_value$, - "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value$, - "zones_opportunistic_onion_value": zones_opportunistic_onion_value$, - "zones_orange_to_orange_value": zones_orange_to_orange_value$, - "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value$, - "zones_polish_value": zones_polish_value$, - "zones_pre_render_value": zones_pre_render_value$, - "zones_prefetch_preload_value": zones_prefetch_preload_value$, - "zones_privacy_pass_value": zones_privacy_pass_value$, - "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value$, - "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value$, - "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value$, - "zones_replace_insecure_js_value": zones_replace_insecure_js_value$, - "zones_response_buffering_value": zones_response_buffering_value$, - "zones_rocket_loader_value": zones_rocket_loader_value$, - "zones_search_for_agents_value": zones_search_for_agents_value$, "zones_security_header_value": zones_security_header_value$, - "zones_security_level_value": zones_security_level_value$, - "zones_server_side_exclude_value": zones_server_side_exclude_value$, - "zones_setting_name": zones_setting_name, "zones_setting_value": zones_setting_value, - "zones_sha1_support_value": zones_sha1_support_value$, - "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value$, - "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled$, - "zones_ssl_value": zones_ssl_value$, - "zones_tls_1_2_only_value": zones_tls_1_2_only_value$, - "zones_tls_1_3_value": zones_tls_1_3_value$, - "zones_tls_client_auth_value": zones_tls_client_auth_value$, - "zones_true_client_ip_header_value": zones_true_client_ip_header_value$, - "zones_waf_value": zones_waf_value$, - "zones_webmcp_enabled_value": zones_webmcp_enabled_value$, - "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value$, - "zones_webmcp_packs_value": zones_webmcp_packs_value$, - "zones_webp_value": zones_webp_value$, - "zones_websockets_value": zones_websockets_value$, "zones_zone_settings_single_request": zones_zone_settings_single_request, }, }, @@ -339,143 +156,82 @@ export const tools: readonly Tool[] = [ ], $defs: { "zones_0rtt": zones_0rtt, - "zones_0rtt_value": zones_0rtt_value, "zones_advanced_ddos": zones_advanced_ddos, - "zones_advanced_ddos_value": zones_advanced_ddos_value, "zones_always_online": zones_always_online, - "zones_always_online_value": zones_always_online_value, "zones_always_use_https-2": zones_always_use_https$$2, - "zones_always_use_https_value": zones_always_use_https_value, "zones_api-response-common-4": zones_api$$response$$common$$4, "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites$$2, - "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value, "zones_automatic_platform_optimization": zones_automatic_platform_optimization, "zones_base": zones_base, "zones_brotli": zones_brotli, - "zones_brotli_value": zones_brotli_value, "zones_browser_cache_ttl-2": zones_browser_cache_ttl$$2, - "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value, "zones_browser_check-2": zones_browser_check$$2, - "zones_browser_check_value": zones_browser_check_value, "zones_cache-rules_aegis": zones_cache$$rules_aegis, "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value, "zones_cache-rules_base": zones_cache$$rules_base, "zones_cache-rules_origin_h2_max_streams": zones_cache$$rules_origin_h2_max_streams, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value, "zones_cache-rules_origin_max_http_version": zones_cache$$rules_origin_max_http_version, - "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value, "zones_cache_level-2": zones_cache_level$$2, - "zones_cache_level_value": zones_cache_level_value, "zones_challenge_ttl": zones_challenge_ttl, - "zones_challenge_ttl_value": zones_challenge_ttl_value, "zones_china_network_enabled": zones_china_network_enabled, - "zones_china_network_enabled_value": zones_china_network_enabled_value, "zones_ciphers": zones_ciphers, "zones_ciphers_value": zones_ciphers_value, "zones_cname_flattening": zones_cname_flattening, - "zones_cname_flattening_value": zones_cname_flattening_value, "zones_content_converter": zones_content_converter, - "zones_content_converter_value": zones_content_converter_value, "zones_development_mode": zones_development_mode, - "zones_development_mode_value": zones_development_mode_value, "zones_early_hints": zones_early_hints, - "zones_early_hints_value": zones_early_hints_value, "zones_edge_cache_ttl-2": zones_edge_cache_ttl$$2, - "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value, "zones_email_obfuscation-2": zones_email_obfuscation$$2, - "zones_email_obfuscation_value": zones_email_obfuscation_value, "zones_h2_prioritization": zones_h2_prioritization, - "zones_h2_prioritization_value": zones_h2_prioritization_value, "zones_hotlink_protection": zones_hotlink_protection, - "zones_hotlink_protection_value": zones_hotlink_protection_value, "zones_http2": zones_http2, - "zones_http2_value": zones_http2_value, "zones_http3": zones_http3, - "zones_http3_value": zones_http3_value, "zones_image_resizing": zones_image_resizing, - "zones_image_resizing_value": zones_image_resizing_value, "zones_ip_geolocation-2": zones_ip_geolocation$$2, - "zones_ip_geolocation_value": zones_ip_geolocation_value, "zones_ipv6": zones_ipv6, - "zones_ipv6_value": zones_ipv6_value, "zones_max_upload": zones_max_upload, - "zones_max_upload_value": zones_max_upload_value, "zones_messages": zones_messages, "zones_min_tls_version": zones_min_tls_version, - "zones_min_tls_version_value": zones_min_tls_version_value, "zones_mirage-2": zones_mirage$$2, - "zones_mirage_value": zones_mirage_value, "zones_nel": zones_nel, "zones_nel_value": zones_nel_value, "zones_opportunistic_encryption-2": zones_opportunistic_encryption$$2, - "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value, "zones_opportunistic_onion": zones_opportunistic_onion, - "zones_opportunistic_onion_value": zones_opportunistic_onion_value, "zones_orange_to_orange": zones_orange_to_orange, - "zones_orange_to_orange_value": zones_orange_to_orange_value, "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru$$2, - "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value, "zones_polish-2": zones_polish$$2, - "zones_polish_value": zones_polish_value, "zones_pre_render": zones_pre_render, - "zones_pre_render_value": zones_pre_render_value, "zones_prefetch_preload": zones_prefetch_preload, - "zones_prefetch_preload_value": zones_prefetch_preload_value, "zones_privacy_pass": zones_privacy_pass, - "zones_privacy_pass_value": zones_privacy_pass_value, "zones_proxy_read_timeout": zones_proxy_read_timeout, - "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value, "zones_pseudo_ipv4": zones_pseudo_ipv4, - "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value, "zones_redirects_for_ai_training": zones_redirects_for_ai_training, - "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value, "zones_replace_insecure_js": zones_replace_insecure_js, - "zones_replace_insecure_js_value": zones_replace_insecure_js_value, "zones_response_buffering-2": zones_response_buffering$$2, - "zones_response_buffering_value": zones_response_buffering_value, "zones_rocket_loader-2": zones_rocket_loader$$2, - "zones_rocket_loader_value": zones_rocket_loader_value, "zones_schemas-automatic_platform_optimization": zones_schemas$$automatic_platform_optimization, "zones_search_for_agents": zones_search_for_agents, - "zones_search_for_agents_value": zones_search_for_agents_value, "zones_security_header": zones_security_header, "zones_security_header_value": zones_security_header_value, "zones_security_level-2": zones_security_level$$2, - "zones_security_level_value": zones_security_level_value, "zones_server_side_exclude": zones_server_side_exclude, - "zones_server_side_exclude_value": zones_server_side_exclude_value, "zones_setting": zones_setting, "zones_sha1_support": zones_sha1_support, - "zones_sha1_support_value": zones_sha1_support_value, "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache$$2, - "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value, "zones_ssl-2": zones_ssl$$2, "zones_ssl_recommender": zones_ssl_recommender, - "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled, - "zones_ssl_value": zones_ssl_value, "zones_tls_1_2_only": zones_tls_1_2_only, - "zones_tls_1_2_only_value": zones_tls_1_2_only_value, "zones_tls_1_3": zones_tls_1_3, - "zones_tls_1_3_value": zones_tls_1_3_value, "zones_tls_client_auth": zones_tls_client_auth, - "zones_tls_client_auth_value": zones_tls_client_auth_value, "zones_transformations": zones_transformations, "zones_transformations_allowed_origins": zones_transformations_allowed_origins, - "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value, "zones_true_client_ip_header-2": zones_true_client_ip_header$$2, - "zones_true_client_ip_header_value": zones_true_client_ip_header_value, "zones_waf-2": zones_waf$$2, - "zones_waf_value": zones_waf_value, "zones_webmcp_enabled": zones_webmcp_enabled, - "zones_webmcp_enabled_value": zones_webmcp_enabled_value, "zones_webmcp_mcp_url": zones_webmcp_mcp_url, - "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value, "zones_webmcp_packs": zones_webmcp_packs, - "zones_webmcp_packs_value": zones_webmcp_packs_value, "zones_webp": zones_webp, - "zones_webp_value": zones_webp_value, "zones_websockets": zones_websockets, - "zones_websockets_value": zones_websockets_value, }, }, annotations: { @@ -526,144 +282,83 @@ export const tools: readonly Tool[] = [ }, $defs: { "zones_0rtt": zones_0rtt, - "zones_0rtt_value": zones_0rtt_value, "zones_advanced_ddos": zones_advanced_ddos, - "zones_advanced_ddos_value": zones_advanced_ddos_value, "zones_always_online": zones_always_online, - "zones_always_online_value": zones_always_online_value, "zones_always_use_https-2": zones_always_use_https$$2, - "zones_always_use_https_value": zones_always_use_https_value, "zones_api-response-common-4": zones_api$$response$$common$$4, "zones_api-response-common-failure-3": zones_api$$response$$common$$failure$$3, "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites$$2, - "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value, "zones_automatic_platform_optimization": zones_automatic_platform_optimization, "zones_base": zones_base, "zones_brotli": zones_brotli, - "zones_brotli_value": zones_brotli_value, "zones_browser_cache_ttl-2": zones_browser_cache_ttl$$2, - "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value, "zones_browser_check-2": zones_browser_check$$2, - "zones_browser_check_value": zones_browser_check_value, "zones_cache-rules_aegis": zones_cache$$rules_aegis, "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value, "zones_cache-rules_base": zones_cache$$rules_base, "zones_cache-rules_origin_h2_max_streams": zones_cache$$rules_origin_h2_max_streams, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value, "zones_cache-rules_origin_max_http_version": zones_cache$$rules_origin_max_http_version, - "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value, "zones_cache_level-2": zones_cache_level$$2, - "zones_cache_level_value": zones_cache_level_value, "zones_challenge_ttl": zones_challenge_ttl, - "zones_challenge_ttl_value": zones_challenge_ttl_value, "zones_china_network_enabled": zones_china_network_enabled, - "zones_china_network_enabled_value": zones_china_network_enabled_value, "zones_ciphers": zones_ciphers, "zones_ciphers_value": zones_ciphers_value, "zones_cname_flattening": zones_cname_flattening, - "zones_cname_flattening_value": zones_cname_flattening_value, "zones_content_converter": zones_content_converter, - "zones_content_converter_value": zones_content_converter_value, "zones_development_mode": zones_development_mode, - "zones_development_mode_value": zones_development_mode_value, "zones_early_hints": zones_early_hints, - "zones_early_hints_value": zones_early_hints_value, "zones_edge_cache_ttl-2": zones_edge_cache_ttl$$2, - "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value, "zones_email_obfuscation-2": zones_email_obfuscation$$2, - "zones_email_obfuscation_value": zones_email_obfuscation_value, "zones_h2_prioritization": zones_h2_prioritization, - "zones_h2_prioritization_value": zones_h2_prioritization_value, "zones_hotlink_protection": zones_hotlink_protection, - "zones_hotlink_protection_value": zones_hotlink_protection_value, "zones_http2": zones_http2, - "zones_http2_value": zones_http2_value, "zones_http3": zones_http3, - "zones_http3_value": zones_http3_value, "zones_image_resizing": zones_image_resizing, - "zones_image_resizing_value": zones_image_resizing_value, "zones_ip_geolocation-2": zones_ip_geolocation$$2, - "zones_ip_geolocation_value": zones_ip_geolocation_value, "zones_ipv6": zones_ipv6, - "zones_ipv6_value": zones_ipv6_value, "zones_max_upload": zones_max_upload, - "zones_max_upload_value": zones_max_upload_value, "zones_messages": zones_messages, "zones_min_tls_version": zones_min_tls_version, - "zones_min_tls_version_value": zones_min_tls_version_value, "zones_mirage-2": zones_mirage$$2, - "zones_mirage_value": zones_mirage_value, "zones_nel": zones_nel, "zones_nel_value": zones_nel_value, "zones_opportunistic_encryption-2": zones_opportunistic_encryption$$2, - "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value, "zones_opportunistic_onion": zones_opportunistic_onion, - "zones_opportunistic_onion_value": zones_opportunistic_onion_value, "zones_orange_to_orange": zones_orange_to_orange, - "zones_orange_to_orange_value": zones_orange_to_orange_value, "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru$$2, - "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value, "zones_polish-2": zones_polish$$2, - "zones_polish_value": zones_polish_value, "zones_pre_render": zones_pre_render, - "zones_pre_render_value": zones_pre_render_value, "zones_prefetch_preload": zones_prefetch_preload, - "zones_prefetch_preload_value": zones_prefetch_preload_value, "zones_privacy_pass": zones_privacy_pass, - "zones_privacy_pass_value": zones_privacy_pass_value, "zones_proxy_read_timeout": zones_proxy_read_timeout, - "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value, "zones_pseudo_ipv4": zones_pseudo_ipv4, - "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value, "zones_redirects_for_ai_training": zones_redirects_for_ai_training, - "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value, "zones_replace_insecure_js": zones_replace_insecure_js, - "zones_replace_insecure_js_value": zones_replace_insecure_js_value, "zones_response_buffering-2": zones_response_buffering$$2, - "zones_response_buffering_value": zones_response_buffering_value, "zones_rocket_loader-2": zones_rocket_loader$$2, - "zones_rocket_loader_value": zones_rocket_loader_value, "zones_schemas-automatic_platform_optimization": zones_schemas$$automatic_platform_optimization, "zones_search_for_agents": zones_search_for_agents, - "zones_search_for_agents_value": zones_search_for_agents_value, "zones_security_header": zones_security_header, "zones_security_header_value": zones_security_header_value, "zones_security_level-2": zones_security_level$$2, - "zones_security_level_value": zones_security_level_value, "zones_server_side_exclude": zones_server_side_exclude, - "zones_server_side_exclude_value": zones_server_side_exclude_value, "zones_setting": zones_setting, "zones_sha1_support": zones_sha1_support, - "zones_sha1_support_value": zones_sha1_support_value, "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache$$2, - "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value, "zones_ssl-2": zones_ssl$$2, "zones_ssl_recommender": zones_ssl_recommender, - "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled, - "zones_ssl_value": zones_ssl_value, "zones_tls_1_2_only": zones_tls_1_2_only, - "zones_tls_1_2_only_value": zones_tls_1_2_only_value, "zones_tls_1_3": zones_tls_1_3, - "zones_tls_1_3_value": zones_tls_1_3_value, "zones_tls_client_auth": zones_tls_client_auth, - "zones_tls_client_auth_value": zones_tls_client_auth_value, "zones_transformations": zones_transformations, "zones_transformations_allowed_origins": zones_transformations_allowed_origins, - "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value, "zones_true_client_ip_header-2": zones_true_client_ip_header$$2, - "zones_true_client_ip_header_value": zones_true_client_ip_header_value, "zones_waf-2": zones_waf$$2, - "zones_waf_value": zones_waf_value, "zones_webmcp_enabled": zones_webmcp_enabled, - "zones_webmcp_enabled_value": zones_webmcp_enabled_value, "zones_webmcp_mcp_url": zones_webmcp_mcp_url, - "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value, "zones_webmcp_packs": zones_webmcp_packs, - "zones_webmcp_packs_value": zones_webmcp_packs_value, "zones_webp": zones_webp, - "zones_webp_value": zones_webp_value, "zones_websockets": zones_websockets, - "zones_websockets_value": zones_websockets_value, }, }, request: (args) => ({ @@ -674,19 +369,20 @@ export const tools: readonly Tool[] = [ { name: "zones_settings_get", title: "Get zone setting", - description: "Fetch a single zone setting by name", + description: "Fetch a single zone setting by name\n\nGET /zones/{zone_id}/settings/{setting_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "setting_id": { - "$ref": "#/$defs/zones_setting_name", - "description": "Setting name" + "description": "Setting name", + "type": "string" }, "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -699,10 +395,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zones_identifier": zones_identifier, - "zones_setting_name": zones_setting_name, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -720,143 +413,82 @@ export const tools: readonly Tool[] = [ ], $defs: { "zones_0rtt": zones_0rtt, - "zones_0rtt_value": zones_0rtt_value, "zones_advanced_ddos": zones_advanced_ddos, - "zones_advanced_ddos_value": zones_advanced_ddos_value, "zones_always_online": zones_always_online, - "zones_always_online_value": zones_always_online_value, "zones_always_use_https-2": zones_always_use_https$$2, - "zones_always_use_https_value": zones_always_use_https_value, "zones_api-response-common-4": zones_api$$response$$common$$4, "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites$$2, - "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value, "zones_automatic_platform_optimization": zones_automatic_platform_optimization, "zones_base": zones_base, "zones_brotli": zones_brotli, - "zones_brotli_value": zones_brotli_value, "zones_browser_cache_ttl-2": zones_browser_cache_ttl$$2, - "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value, "zones_browser_check-2": zones_browser_check$$2, - "zones_browser_check_value": zones_browser_check_value, "zones_cache-rules_aegis": zones_cache$$rules_aegis, "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value, "zones_cache-rules_base": zones_cache$$rules_base, "zones_cache-rules_origin_h2_max_streams": zones_cache$$rules_origin_h2_max_streams, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value, "zones_cache-rules_origin_max_http_version": zones_cache$$rules_origin_max_http_version, - "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value, "zones_cache_level-2": zones_cache_level$$2, - "zones_cache_level_value": zones_cache_level_value, "zones_challenge_ttl": zones_challenge_ttl, - "zones_challenge_ttl_value": zones_challenge_ttl_value, "zones_china_network_enabled": zones_china_network_enabled, - "zones_china_network_enabled_value": zones_china_network_enabled_value, "zones_ciphers": zones_ciphers, "zones_ciphers_value": zones_ciphers_value, "zones_cname_flattening": zones_cname_flattening, - "zones_cname_flattening_value": zones_cname_flattening_value, "zones_content_converter": zones_content_converter, - "zones_content_converter_value": zones_content_converter_value, "zones_development_mode": zones_development_mode, - "zones_development_mode_value": zones_development_mode_value, "zones_early_hints": zones_early_hints, - "zones_early_hints_value": zones_early_hints_value, "zones_edge_cache_ttl-2": zones_edge_cache_ttl$$2, - "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value, "zones_email_obfuscation-2": zones_email_obfuscation$$2, - "zones_email_obfuscation_value": zones_email_obfuscation_value, "zones_h2_prioritization": zones_h2_prioritization, - "zones_h2_prioritization_value": zones_h2_prioritization_value, "zones_hotlink_protection": zones_hotlink_protection, - "zones_hotlink_protection_value": zones_hotlink_protection_value, "zones_http2": zones_http2, - "zones_http2_value": zones_http2_value, "zones_http3": zones_http3, - "zones_http3_value": zones_http3_value, "zones_image_resizing": zones_image_resizing, - "zones_image_resizing_value": zones_image_resizing_value, "zones_ip_geolocation-2": zones_ip_geolocation$$2, - "zones_ip_geolocation_value": zones_ip_geolocation_value, "zones_ipv6": zones_ipv6, - "zones_ipv6_value": zones_ipv6_value, "zones_max_upload": zones_max_upload, - "zones_max_upload_value": zones_max_upload_value, "zones_messages": zones_messages, "zones_min_tls_version": zones_min_tls_version, - "zones_min_tls_version_value": zones_min_tls_version_value, "zones_mirage-2": zones_mirage$$2, - "zones_mirage_value": zones_mirage_value, "zones_nel": zones_nel, "zones_nel_value": zones_nel_value, "zones_opportunistic_encryption-2": zones_opportunistic_encryption$$2, - "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value, "zones_opportunistic_onion": zones_opportunistic_onion, - "zones_opportunistic_onion_value": zones_opportunistic_onion_value, "zones_orange_to_orange": zones_orange_to_orange, - "zones_orange_to_orange_value": zones_orange_to_orange_value, "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru$$2, - "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value, "zones_polish-2": zones_polish$$2, - "zones_polish_value": zones_polish_value, "zones_pre_render": zones_pre_render, - "zones_pre_render_value": zones_pre_render_value, "zones_prefetch_preload": zones_prefetch_preload, - "zones_prefetch_preload_value": zones_prefetch_preload_value, "zones_privacy_pass": zones_privacy_pass, - "zones_privacy_pass_value": zones_privacy_pass_value, "zones_proxy_read_timeout": zones_proxy_read_timeout, - "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value, "zones_pseudo_ipv4": zones_pseudo_ipv4, - "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value, "zones_redirects_for_ai_training": zones_redirects_for_ai_training, - "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value, "zones_replace_insecure_js": zones_replace_insecure_js, - "zones_replace_insecure_js_value": zones_replace_insecure_js_value, "zones_response_buffering-2": zones_response_buffering$$2, - "zones_response_buffering_value": zones_response_buffering_value, "zones_rocket_loader-2": zones_rocket_loader$$2, - "zones_rocket_loader_value": zones_rocket_loader_value, "zones_schemas-automatic_platform_optimization": zones_schemas$$automatic_platform_optimization, "zones_search_for_agents": zones_search_for_agents, - "zones_search_for_agents_value": zones_search_for_agents_value, "zones_security_header": zones_security_header, "zones_security_header_value": zones_security_header_value, "zones_security_level-2": zones_security_level$$2, - "zones_security_level_value": zones_security_level_value, "zones_server_side_exclude": zones_server_side_exclude, - "zones_server_side_exclude_value": zones_server_side_exclude_value, "zones_setting": zones_setting, "zones_sha1_support": zones_sha1_support, - "zones_sha1_support_value": zones_sha1_support_value, "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache$$2, - "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value, "zones_ssl-2": zones_ssl$$2, "zones_ssl_recommender": zones_ssl_recommender, - "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled, - "zones_ssl_value": zones_ssl_value, "zones_tls_1_2_only": zones_tls_1_2_only, - "zones_tls_1_2_only_value": zones_tls_1_2_only_value, "zones_tls_1_3": zones_tls_1_3, - "zones_tls_1_3_value": zones_tls_1_3_value, "zones_tls_client_auth": zones_tls_client_auth, - "zones_tls_client_auth_value": zones_tls_client_auth_value, "zones_transformations": zones_transformations, "zones_transformations_allowed_origins": zones_transformations_allowed_origins, - "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value, "zones_true_client_ip_header-2": zones_true_client_ip_header$$2, - "zones_true_client_ip_header_value": zones_true_client_ip_header_value, "zones_waf-2": zones_waf$$2, - "zones_waf_value": zones_waf_value, "zones_webmcp_enabled": zones_webmcp_enabled, - "zones_webmcp_enabled_value": zones_webmcp_enabled_value, "zones_webmcp_mcp_url": zones_webmcp_mcp_url, - "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value, "zones_webmcp_packs": zones_webmcp_packs, - "zones_webmcp_packs_value": zones_webmcp_packs_value, "zones_webp": zones_webp, - "zones_webp_value": zones_webp_value, "zones_websockets": zones_websockets, - "zones_websockets_value": zones_websockets_value, }, }, annotations: { @@ -908,144 +540,83 @@ export const tools: readonly Tool[] = [ }, $defs: { "zones_0rtt": zones_0rtt, - "zones_0rtt_value": zones_0rtt_value, "zones_advanced_ddos": zones_advanced_ddos, - "zones_advanced_ddos_value": zones_advanced_ddos_value, "zones_always_online": zones_always_online, - "zones_always_online_value": zones_always_online_value, "zones_always_use_https-2": zones_always_use_https$$2, - "zones_always_use_https_value": zones_always_use_https_value, "zones_api-response-common-4": zones_api$$response$$common$$4, "zones_api-response-common-failure-3": zones_api$$response$$common$$failure$$3, "zones_automatic_https_rewrites-2": zones_automatic_https_rewrites$$2, - "zones_automatic_https_rewrites_value": zones_automatic_https_rewrites_value, "zones_automatic_platform_optimization": zones_automatic_platform_optimization, "zones_base": zones_base, "zones_brotli": zones_brotli, - "zones_brotli_value": zones_brotli_value, "zones_browser_cache_ttl-2": zones_browser_cache_ttl$$2, - "zones_browser_cache_ttl_value": zones_browser_cache_ttl_value, "zones_browser_check-2": zones_browser_check$$2, - "zones_browser_check_value": zones_browser_check_value, "zones_cache-rules_aegis": zones_cache$$rules_aegis, "zones_cache-rules_aegis_value": zones_cache$$rules_aegis_value, "zones_cache-rules_base": zones_cache$$rules_base, "zones_cache-rules_origin_h2_max_streams": zones_cache$$rules_origin_h2_max_streams, - "zones_cache-rules_origin_h2_max_streams_value": zones_cache$$rules_origin_h2_max_streams_value, "zones_cache-rules_origin_max_http_version": zones_cache$$rules_origin_max_http_version, - "zones_cache-rules_origin_max_http_version_value": zones_cache$$rules_origin_max_http_version_value, "zones_cache_level-2": zones_cache_level$$2, - "zones_cache_level_value": zones_cache_level_value, "zones_challenge_ttl": zones_challenge_ttl, - "zones_challenge_ttl_value": zones_challenge_ttl_value, "zones_china_network_enabled": zones_china_network_enabled, - "zones_china_network_enabled_value": zones_china_network_enabled_value, "zones_ciphers": zones_ciphers, "zones_ciphers_value": zones_ciphers_value, "zones_cname_flattening": zones_cname_flattening, - "zones_cname_flattening_value": zones_cname_flattening_value, "zones_content_converter": zones_content_converter, - "zones_content_converter_value": zones_content_converter_value, "zones_development_mode": zones_development_mode, - "zones_development_mode_value": zones_development_mode_value, "zones_early_hints": zones_early_hints, - "zones_early_hints_value": zones_early_hints_value, "zones_edge_cache_ttl-2": zones_edge_cache_ttl$$2, - "zones_edge_cache_ttl_value": zones_edge_cache_ttl_value, "zones_email_obfuscation-2": zones_email_obfuscation$$2, - "zones_email_obfuscation_value": zones_email_obfuscation_value, "zones_h2_prioritization": zones_h2_prioritization, - "zones_h2_prioritization_value": zones_h2_prioritization_value, "zones_hotlink_protection": zones_hotlink_protection, - "zones_hotlink_protection_value": zones_hotlink_protection_value, "zones_http2": zones_http2, - "zones_http2_value": zones_http2_value, "zones_http3": zones_http3, - "zones_http3_value": zones_http3_value, "zones_image_resizing": zones_image_resizing, - "zones_image_resizing_value": zones_image_resizing_value, "zones_ip_geolocation-2": zones_ip_geolocation$$2, - "zones_ip_geolocation_value": zones_ip_geolocation_value, "zones_ipv6": zones_ipv6, - "zones_ipv6_value": zones_ipv6_value, "zones_max_upload": zones_max_upload, - "zones_max_upload_value": zones_max_upload_value, "zones_messages": zones_messages, "zones_min_tls_version": zones_min_tls_version, - "zones_min_tls_version_value": zones_min_tls_version_value, "zones_mirage-2": zones_mirage$$2, - "zones_mirage_value": zones_mirage_value, "zones_nel": zones_nel, "zones_nel_value": zones_nel_value, "zones_opportunistic_encryption-2": zones_opportunistic_encryption$$2, - "zones_opportunistic_encryption_value": zones_opportunistic_encryption_value, "zones_opportunistic_onion": zones_opportunistic_onion, - "zones_opportunistic_onion_value": zones_opportunistic_onion_value, "zones_orange_to_orange": zones_orange_to_orange, - "zones_orange_to_orange_value": zones_orange_to_orange_value, "zones_origin_error_page_pass_thru-2": zones_origin_error_page_pass_thru$$2, - "zones_origin_error_page_pass_thru_value": zones_origin_error_page_pass_thru_value, "zones_polish-2": zones_polish$$2, - "zones_polish_value": zones_polish_value, "zones_pre_render": zones_pre_render, - "zones_pre_render_value": zones_pre_render_value, "zones_prefetch_preload": zones_prefetch_preload, - "zones_prefetch_preload_value": zones_prefetch_preload_value, "zones_privacy_pass": zones_privacy_pass, - "zones_privacy_pass_value": zones_privacy_pass_value, "zones_proxy_read_timeout": zones_proxy_read_timeout, - "zones_proxy_read_timeout_value": zones_proxy_read_timeout_value, "zones_pseudo_ipv4": zones_pseudo_ipv4, - "zones_pseudo_ipv4_value": zones_pseudo_ipv4_value, "zones_redirects_for_ai_training": zones_redirects_for_ai_training, - "zones_redirects_for_ai_training_value": zones_redirects_for_ai_training_value, "zones_replace_insecure_js": zones_replace_insecure_js, - "zones_replace_insecure_js_value": zones_replace_insecure_js_value, "zones_response_buffering-2": zones_response_buffering$$2, - "zones_response_buffering_value": zones_response_buffering_value, "zones_rocket_loader-2": zones_rocket_loader$$2, - "zones_rocket_loader_value": zones_rocket_loader_value, "zones_schemas-automatic_platform_optimization": zones_schemas$$automatic_platform_optimization, "zones_search_for_agents": zones_search_for_agents, - "zones_search_for_agents_value": zones_search_for_agents_value, "zones_security_header": zones_security_header, "zones_security_header_value": zones_security_header_value, "zones_security_level-2": zones_security_level$$2, - "zones_security_level_value": zones_security_level_value, "zones_server_side_exclude": zones_server_side_exclude, - "zones_server_side_exclude_value": zones_server_side_exclude_value, "zones_setting": zones_setting, "zones_sha1_support": zones_sha1_support, - "zones_sha1_support_value": zones_sha1_support_value, "zones_sort_query_string_for_cache-2": zones_sort_query_string_for_cache$$2, - "zones_sort_query_string_for_cache_value": zones_sort_query_string_for_cache_value, "zones_ssl-2": zones_ssl$$2, "zones_ssl_recommender": zones_ssl_recommender, - "zones_ssl_recommender_enabled": zones_ssl_recommender_enabled, - "zones_ssl_value": zones_ssl_value, "zones_tls_1_2_only": zones_tls_1_2_only, - "zones_tls_1_2_only_value": zones_tls_1_2_only_value, "zones_tls_1_3": zones_tls_1_3, - "zones_tls_1_3_value": zones_tls_1_3_value, "zones_tls_client_auth": zones_tls_client_auth, - "zones_tls_client_auth_value": zones_tls_client_auth_value, "zones_transformations": zones_transformations, "zones_transformations_allowed_origins": zones_transformations_allowed_origins, - "zones_transformations_allowed_origins_value": zones_transformations_allowed_origins_value, "zones_true_client_ip_header-2": zones_true_client_ip_header$$2, - "zones_true_client_ip_header_value": zones_true_client_ip_header_value, "zones_waf-2": zones_waf$$2, - "zones_waf_value": zones_waf_value, "zones_webmcp_enabled": zones_webmcp_enabled, - "zones_webmcp_enabled_value": zones_webmcp_enabled_value, "zones_webmcp_mcp_url": zones_webmcp_mcp_url, - "zones_webmcp_mcp_url_value": zones_webmcp_mcp_url_value, "zones_webmcp_packs": zones_webmcp_packs, - "zones_webmcp_packs_value": zones_webmcp_packs_value, "zones_webp": zones_webp, - "zones_webp_value": zones_webp_value, "zones_websockets": zones_websockets, - "zones_websockets_value": zones_websockets_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/speedBrain/tools.ts b/src/generated/forge-mcp/zones/speedBrain/tools.ts index 02d5f2bcc..b5cf454e3 100644 --- a/src/generated/forge-mcp/zones/speedBrain/tools.ts +++ b/src/generated/forge-mcp/zones/speedBrain/tools.ts @@ -8,7 +8,6 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; import { speed_cloudflare_speed_brain_response } from "./outputs.js"; /** @@ -18,7 +17,7 @@ export const tools: readonly Tool[] = [ { name: "zones_speedBrain_edit", title: "Change Cloudflare Speed Brain setting", - description: "Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website\nnavigation faster. Refer to the Cloudflare Speed Brain documentation for more information.", + description: "Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website\nnavigation faster. Refer to the Cloudflare Speed Brain documentation for more information.\n\nPATCH /zones/{zone_id}/settings/speed_brain", inputSchema: { type: "object", properties: { @@ -39,10 +38,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,9 +55,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -142,15 +140,16 @@ export const tools: readonly Tool[] = [ { name: "zones_speedBrain_get", title: "Get Cloudflare Speed Brain setting", - description: "Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website\nnavigation faster. Refer to the Cloudflare Speed Brain documentation for more information.", + description: "Speed Brain lets compatible browsers speculate on content which can be prefetched or preloaded, making website\nnavigation faster. Refer to the Cloudflare Speed Brain documentation for more information.\n\nGET /zones/{zone_id}/settings/speed_brain", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -162,9 +161,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/src/generated/forge-mcp/zones/subscriptions/outputs.ts b/src/generated/forge-mcp/zones/subscriptions/outputs.ts index dcca18a5a..9d400669b 100644 --- a/src/generated/forge-mcp/zones/subscriptions/outputs.ts +++ b/src/generated/forge-mcp/zones/subscriptions/outputs.ts @@ -3,27 +3,6 @@ import type { JsonSchema } from "../../_/tool.js"; -/** - * The schema of `bill-subs-api_frequency_response` in responses. - */ -export const bill$$subs$$api_frequency_response: JsonSchema = { - "allOf": [ - { - "$ref": "#/$defs/bill-subs-api_frequency" - }, - { - "enum": [ - "weekly", - "monthly", - "quarterly", - "yearly", - "not-applicable" - ], - "type": "string" - } - ] -}; - /** * The schema of `bill-subs-api_subscription_response` in responses. */ @@ -35,7 +14,27 @@ export const bill$$subs$$api_subscription_response: JsonSchema = { { "properties": { "frequency": { - "$ref": "#/$defs/bill-subs-api_frequency_response" + "allOf": [ + { + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly" + ], + "type": "string" + }, + { + "enum": [ + "weekly", + "monthly", + "quarterly", + "yearly", + "not-applicable" + ], + "type": "string" + } + ] } }, "type": "object" diff --git a/src/generated/forge-mcp/zones/subscriptions/tools.ts b/src/generated/forge-mcp/zones/subscriptions/tools.ts index 1aa727c4f..950500996 100644 --- a/src/generated/forge-mcp/zones/subscriptions/tools.ts +++ b/src/generated/forge-mcp/zones/subscriptions/tools.ts @@ -8,33 +8,19 @@ import { bill$$subs$$api_api$$response$$single, bill$$subs$$api_component_value, bill$$subs$$api_component_values, - bill$$subs$$api_currency, - bill$$subs$$api_current_period_end, - bill$$subs$$api_current_period_start, - bill$$subs$$api_frequency, - bill$$subs$$api_identifier, - bill$$subs$$api_install_id, bill$$subs$$api_messages, - bill$$subs$$api_name, - bill$$subs$$api_price, bill$$subs$$api_rate_plan, - bill$$subs$$api_schemas$$identifier, - bill$$subs$$api_state, bill$$subs$$api_subscription$$v2, bill$$subs$$api_zone, } from "../../outputs.js"; import { bill$$subs$$api_component_value as bill$$subs$$api_component_value$, bill$$subs$$api_component_values as bill$$subs$$api_component_values$, - bill$$subs$$api_frequency as bill$$subs$$api_frequency$, - bill$$subs$$api_identifier as bill$$subs$$api_identifier$, - bill$$subs$$api_install_id as bill$$subs$$api_install_id$, bill$$subs$$api_rate_plan as bill$$subs$$api_rate_plan$, bill$$subs$$api_subscription$$v2 as bill$$subs$$api_subscription$$v2$, bill$$subs$$api_zone as bill$$subs$$api_zone$, } from "../../schemas.js"; import { - bill$$subs$$api_frequency_response, bill$$subs$$api_subscription_response, bill$$subs$$api_zone_subscription_response_single, } from "./outputs.js"; @@ -46,7 +32,7 @@ export const tools: readonly Tool[] = [ { name: "zones_subscriptions_create", title: "Create Zone Subscription", - description: "Create a zone subscription, either plan or add-ons.", + description: "Create a zone subscription, either plan or add-ons.\n\nPOST /zones/{zone_id}/subscription", inputSchema: { type: "object", properties: { @@ -54,10 +40,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_subscription-v2" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -70,12 +57,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "bill-subs-api_component_value": bill$$subs$$api_component_value$, "bill-subs-api_component_values": bill$$subs$$api_component_values$, - "bill-subs-api_frequency": bill$$subs$$api_frequency$, - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - "bill-subs-api_install_id": bill$$subs$$api_install_id$, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2$, "bill-subs-api_zone": bill$$subs$$api_zone$, @@ -88,19 +73,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, "bill-subs-api_zone": bill$$subs$$api_zone, @@ -148,19 +122,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, "bill-subs-api_zone": bill$$subs$$api_zone, @@ -175,15 +138,16 @@ export const tools: readonly Tool[] = [ { name: "zones_subscriptions_delete", title: "Delete Zone Subscription", - description: "Deletes a zone's subscription.", + description: "Deletes a zone's subscription.\n\nDELETE /zones/{zone_id}/subscription", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -195,9 +159,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -209,7 +171,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "subscription_id": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier" + "type": "string" } }, "type": "object" @@ -222,7 +184,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common": bill$$subs$$api_api$$response$$common, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, annotations: { @@ -262,7 +223,7 @@ export const tools: readonly Tool[] = [ "result": { "properties": { "subscription_id": { - "$ref": "#/$defs/bill-subs-api_schemas-identifier" + "type": "string" } }, "type": "object" @@ -281,7 +242,6 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-common-failure": bill$$subs$$api_api$$response$$common$$failure, "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, }, }, request: (args) => ({ @@ -291,15 +251,16 @@ export const tools: readonly Tool[] = [ { name: "zones_subscriptions_get", title: "Zone Subscription Details", - description: "Lists zone subscription details.", + description: "Lists zone subscription details.\n\nGET /zones/{zone_id}/subscription", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -311,9 +272,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/bill-subs-api_zone_subscription_response_single", @@ -322,19 +281,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, "bill-subs-api_zone": bill$$subs$$api_zone, @@ -382,19 +330,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, "bill-subs-api_zone": bill$$subs$$api_zone, @@ -408,7 +345,7 @@ export const tools: readonly Tool[] = [ { name: "zones_subscriptions_update", title: "Update Zone Subscription", - description: "Updates zone subscriptions, either plan or add-ons.", + description: "Updates zone subscriptions, either plan or add-ons.\n\nPUT /zones/{zone_id}/subscription", inputSchema: { type: "object", properties: { @@ -416,10 +353,11 @@ export const tools: readonly Tool[] = [ "$ref": "#/$defs/bill-subs-api_subscription-v2" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/bill-subs-api_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -432,12 +370,10 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { "bill-subs-api_component_value": bill$$subs$$api_component_value$, "bill-subs-api_component_values": bill$$subs$$api_component_values$, - "bill-subs-api_frequency": bill$$subs$$api_frequency$, - "bill-subs-api_identifier": bill$$subs$$api_identifier$, - "bill-subs-api_install_id": bill$$subs$$api_install_id$, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan$, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2$, "bill-subs-api_zone": bill$$subs$$api_zone$, @@ -450,19 +386,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, "bill-subs-api_zone": bill$$subs$$api_zone, @@ -510,19 +435,8 @@ export const tools: readonly Tool[] = [ "bill-subs-api_api-response-single": bill$$subs$$api_api$$response$$single, "bill-subs-api_component_value": bill$$subs$$api_component_value, "bill-subs-api_component_values": bill$$subs$$api_component_values, - "bill-subs-api_currency": bill$$subs$$api_currency, - "bill-subs-api_current_period_end": bill$$subs$$api_current_period_end, - "bill-subs-api_current_period_start": bill$$subs$$api_current_period_start, - "bill-subs-api_frequency": bill$$subs$$api_frequency, - "bill-subs-api_frequency_response": bill$$subs$$api_frequency_response, - "bill-subs-api_identifier": bill$$subs$$api_identifier, - "bill-subs-api_install_id": bill$$subs$$api_install_id, "bill-subs-api_messages": bill$$subs$$api_messages, - "bill-subs-api_name": bill$$subs$$api_name, - "bill-subs-api_price": bill$$subs$$api_price, "bill-subs-api_rate_plan": bill$$subs$$api_rate_plan, - "bill-subs-api_schemas-identifier": bill$$subs$$api_schemas$$identifier, - "bill-subs-api_state": bill$$subs$$api_state, "bill-subs-api_subscription-v2": bill$$subs$$api_subscription$$v2, "bill-subs-api_subscription_response": bill$$subs$$api_subscription_response, "bill-subs-api_zone": bill$$subs$$api_zone, diff --git a/src/generated/forge-mcp/zones/tools.ts b/src/generated/forge-mcp/zones/tools.ts index 3ee2930e7..4b826048f 100644 --- a/src/generated/forge-mcp/zones/tools.ts +++ b/src/generated/forge-mcp/zones/tools.ts @@ -6,20 +6,11 @@ import { zones_api$$response$$common, zones_api$$response$$common$$failure, zones_api$$response$$single$$id, - zones_identifier, zones_messages, - zones_paused, zones_result_info, - zones_type, zones_zone, } from "./outputs.js"; -import { - zones_identifier as zones_identifier$, - zones_name, - zones_paused as zones_paused$, - zones_type as zones_type$, - zones_vanity_name_servers, -} from "./schemas.js"; +import { zones_vanity_name_servers } from "./schemas.js"; /** * The tools of `zones`. @@ -28,7 +19,7 @@ export const tools: readonly Tool[] = [ { name: "zones_create", title: "Create Zone", - description: "Creates a new zone (domain) in your Cloudflare account.\n\nThe zone is created in a pending state and must be activated by updating your domain's\nnameservers to point to Cloudflare, or by completing the verification process for partial\n(CNAME) setups.", + description: "Creates a new zone (domain) in your Cloudflare account.\n\nThe zone is created in a pending state and must be activated by updating your domain's\nnameservers to point to Cloudflare, or by completing the verification process for partial\n(CNAME) setups.\n\nPOST /zones", inputSchema: { type: "object", properties: { @@ -37,20 +28,26 @@ export const tools: readonly Tool[] = [ "account": { "properties": { "id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "type": "object" }, "name": { - "$ref": "#/$defs/zones_name", - "description": "The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment (\"label\") not exceeding 63 characters." + "description": "The domain name. Per [RFC 1035](https://datatracker.ietf.org/doc/html/rfc1035#section-2.3.4) the overall zone name can be up to 253 characters, with each segment (\"label\") not exceeding 63 characters.", + "type": "string" }, "type": { - "$ref": "#/$defs/zones_type", "default": "full", - "description": "A full zone implies that DNS is hosted with Cloudflare. A partial zone is\ntypically a partner-hosted zone or a CNAME setup.\n" + "description": "A full zone implies that DNS is hosted with Cloudflare. A partial zone is\ntypically a partner-hosted zone or a CNAME setup.", + "enum": [ + "full", + "partial", + "secondary", + "internal" + ], + "type": "string" } }, "required": [ @@ -63,11 +60,7 @@ export const tools: readonly Tool[] = [ required: [ "body" ], - $defs: { - "zones_identifier": zones_identifier$, - "zones_name": zones_name, - "zones_type": zones_type$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -85,10 +78,7 @@ export const tools: readonly Tool[] = [ ], $defs: { "zones_api-response-common": zones_api$$response$$common, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, - "zones_paused": zones_paused, - "zones_type": zones_type, "zones_zone": zones_zone, }, }, @@ -131,10 +121,7 @@ export const tools: readonly Tool[] = [ $defs: { "zones_api-response-common": zones_api$$response$$common, "zones_api-response-common-failure": zones_api$$response$$common$$failure, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, - "zones_paused": zones_paused, - "zones_type": zones_type, "zones_zone": zones_zone, }, }, @@ -146,15 +133,16 @@ export const tools: readonly Tool[] = [ { name: "zones_delete", title: "Delete Zone", - description: "Deletes an existing zone.", + description: "Deletes an existing zone.\n\nDELETE /zones/{zone_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -166,16 +154,13 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zones_identifier": zones_identifier$, - }, + additionalProperties: false, }, outputSchema: { "$ref": "#/$defs/zones_api-response-single-id", $defs: { "zones_api-response-common": zones_api$$response$$common, "zones_api-response-single-id": zones_api$$response$$single$$id, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, }, }, @@ -217,7 +202,6 @@ export const tools: readonly Tool[] = [ "zones_api-response-common": zones_api$$response$$common, "zones_api-response-common-failure": zones_api$$response$$common$$failure, "zones_api-response-single-id": zones_api$$response$$single$$id, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, }, }, @@ -228,29 +212,29 @@ export const tools: readonly Tool[] = [ { name: "zones_edit", title: "Edit Zone", - description: "Edits a zone. Only one zone property can be changed at a time.", + description: "Edits a zone. Only one zone property can be changed at a time.\n\nPATCH /zones/{zone_id}", inputSchema: { type: "object", properties: { "body": { "properties": { "paused": { - "$ref": "#/$defs/zones_paused", "default": false, - "description": "Indicates whether the zone is only using Cloudflare DNS services. A\ntrue value means the zone will not receive security or performance\nbenefits.\n" + "description": "Indicates whether the zone is only using Cloudflare DNS services. A\ntrue value means the zone will not receive security or performance\nbenefits.", + "type": "boolean" }, "plan": { - "description": "(Deprecated) Please use the `/zones/{zone_id}/subscription` API\nto update a zone's plan. Changing this value will create/cancel\nassociated subscriptions. To view available plans for this zone,\nsee Zone Plans.\n", + "description": "(Deprecated) Please use the `/zones/{zone_id}/subscription` API\nto update a zone's plan. Changing this value will create/cancel\nassociated subscriptions. To view available plans for this zone,\nsee Zone Plans.", "properties": { "id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "type": "object" }, "type": { - "description": "A full zone implies that DNS is hosted with Cloudflare. A partial\nzone is typically a partner-hosted zone or a CNAME setup. This\nparameter is only available to Enterprise customers or if it has\nbeen explicitly enabled on a zone.\n", + "description": "A full zone implies that DNS is hosted with Cloudflare. A partial\nzone is typically a partner-hosted zone or a CNAME setup. This\nparameter is only available to Enterprise customers or if it has\nbeen explicitly enabled on a zone.", "enum": [ "full", "partial", @@ -268,10 +252,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -284,9 +269,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "zones_identifier": zones_identifier$, - "zones_paused": zones_paused$, "zones_vanity_name_servers": zones_vanity_name_servers, }, }, @@ -306,10 +290,7 @@ export const tools: readonly Tool[] = [ ], $defs: { "zones_api-response-common": zones_api$$response$$common, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, - "zones_paused": zones_paused, - "zones_type": zones_type, "zones_zone": zones_zone, }, }, @@ -357,10 +338,7 @@ export const tools: readonly Tool[] = [ $defs: { "zones_api-response-common": zones_api$$response$$common, "zones_api-response-common-failure": zones_api$$response$$common$$failure, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, - "zones_paused": zones_paused, - "zones_type": zones_type, "zones_zone": zones_zone, }, }, @@ -372,15 +350,16 @@ export const tools: readonly Tool[] = [ { name: "zones_get", title: "Zone Details", - description: "Retrieves detailed information about a specific zone identified by its zone ID.\n\nReturns zone configuration, status, nameservers, and associated metadata.", + description: "Retrieves detailed information about a specific zone identified by its zone ID.\n\nReturns zone configuration, status, nameservers, and associated metadata.\n\nGET /zones/{zone_id}", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/zones_identifier", - "description": "Identifier" + "description": "Identifier", + "type": "string" } }, "required": [ @@ -392,9 +371,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "zones_identifier": zones_identifier$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -412,10 +389,7 @@ export const tools: readonly Tool[] = [ ], $defs: { "zones_api-response-common": zones_api$$response$$common, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, - "zones_paused": zones_paused, - "zones_type": zones_type, "zones_zone": zones_zone, }, }, @@ -506,10 +480,7 @@ export const tools: readonly Tool[] = [ $defs: { "zones_api-response-common": zones_api$$response$$common, "zones_api-response-common-failure": zones_api$$response$$common$$failure, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, - "zones_paused": zones_paused, - "zones_type": zones_type, "zones_zone": zones_zone, }, }, @@ -520,18 +491,19 @@ export const tools: readonly Tool[] = [ { name: "zones_list", title: "List Zones", - description: "Lists, searches, sorts, and filters your zones. Listing zones across more than 500 accounts\nis currently not allowed.", + description: "Lists, searches, sorts, and filters your zones. Listing zones across more than 500 accounts\nis currently not allowed.\n\nGET /zones", inputSchema: { type: "object", properties: { "query": { + "additionalProperties": false, "properties": { "account.id": { "description": "Filter by an account ID.", "type": "string" }, "account.name": { - "description": "An account Name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`\n", + "description": "An account Name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`", "type": "string" }, "direction": { @@ -552,7 +524,7 @@ export const tools: readonly Tool[] = [ "type": "string" }, "name": { - "description": "A domain name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`\n", + "description": "A domain name. Optional filter operators can be provided to extend refine the search:\n * `equal` (default)\n * `not_equal`\n * `starts_with`\n * `ends_with`\n * `contains`\n * `starts_with_case_sensitive`\n * `ends_with_case_sensitive`\n * `contains_case_sensitive`", "type": "string" }, "order": { @@ -603,6 +575,7 @@ export const tools: readonly Tool[] = [ "type": "object" } }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -631,11 +604,8 @@ export const tools: readonly Tool[] = [ ], $defs: { "zones_api-response-common": zones_api$$response$$common, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, - "zones_paused": zones_paused, "zones_result_info": zones_result_info, - "zones_type": zones_type, "zones_zone": zones_zone, }, }, @@ -688,11 +658,8 @@ export const tools: readonly Tool[] = [ $defs: { "zones_api-response-common": zones_api$$response$$common, "zones_api-response-common-failure": zones_api$$response$$common$$failure, - "zones_identifier": zones_identifier, "zones_messages": zones_messages, - "zones_paused": zones_paused, "zones_result_info": zones_result_info, - "zones_type": zones_type, "zones_zone": zones_zone, }, }, diff --git a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts index 69f4384be..dc53ae851 100644 --- a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts +++ b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/outputs.ts @@ -20,17 +20,10 @@ export const speed_transformations_allowed_origins_response: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/speed_transformations_allowed_origins_value" + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `speed_transformations_allowed_origins_value` in responses. - */ -export const speed_transformations_allowed_origins_value: JsonSchema = { - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/schemas.ts b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/schemas.ts deleted file mode 100644 index 6fe537f69..000000000 --- a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/schemas.ts +++ /dev/null @@ -1,12 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `speed_transformations_allowed_origins_value`. - */ -export const speed_transformations_allowed_origins_value: JsonSchema = { - "description": "Comma-separated list of allowed origin domains for image and video transformations.\nUse \"*\" to allow all origins (default).\n", - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts index b3d72e748..d2c4d8661 100644 --- a/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts +++ b/src/generated/forge-mcp/zones/transformationsAllowedOrigins/tools.ts @@ -8,12 +8,7 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; -import { - speed_transformations_allowed_origins_response, - speed_transformations_allowed_origins_value, -} from "./outputs.js"; -import { speed_transformations_allowed_origins_value as speed_transformations_allowed_origins_value$ } from "./schemas.js"; +import { speed_transformations_allowed_origins_response } from "./outputs.js"; /** * The tools of `zones.transformationsAllowedOrigins`. @@ -22,15 +17,15 @@ export const tools: readonly Tool[] = [ { name: "zones_transformationsAllowedOrigins_edit", title: "Change Image Transformations Allowed Origins setting", - description: "Media Transformations Allowed Origins restricts transformations for images and video served through\nCloudflare's network to requests originating from specified domains. Refer to the\nImage Transformations and Video Transformations documentation for more information.", + description: "Media Transformations Allowed Origins restricts transformations for images and video served through\nCloudflare's network to requests originating from specified domains. Refer to the\nImage Transformations and Video Transformations documentation for more information.\n\nPATCH /zones/{zone_id}/settings/transformations_allowed_origins", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/speed_transformations_allowed_origins_value", - "description": "Comma-separated list of allowed origin domains for image and video transformations.\nUse \"*\" to allow all origins (default).\n" + "description": "Comma-separated list of allowed origin domains for image and video transformations.\nUse \"*\" to allow all origins (default).", + "type": "string" } }, "required": [ @@ -39,10 +34,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,10 +51,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "speed_identifier": speed_identifier, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -79,7 +72,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value, }, }, annotations: { @@ -129,7 +121,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value, }, }, request: (args) => ({ @@ -140,15 +131,16 @@ export const tools: readonly Tool[] = [ { name: "zones_transformationsAllowedOrigins_get", title: "Get Image Transformations Allowed Origins setting", - description: "Media Transformations Allowed Origins restricts transformations for images and video served through\nCloudflare's network to requests originating from specified domains. Refer to the\nImage Transformations and Video Transformations documentation for more information.", + description: "Media Transformations Allowed Origins restricts transformations for images and video served through\nCloudflare's network to requests originating from specified domains. Refer to the\nImage Transformations and Video Transformations documentation for more information.\n\nGET /zones/{zone_id}/settings/transformations_allowed_origins", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -160,9 +152,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -183,7 +173,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value, }, }, annotations: { @@ -234,7 +223,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_transformations_allowed_origins_response": speed_transformations_allowed_origins_response, - "speed_transformations_allowed_origins_value": speed_transformations_allowed_origins_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts b/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts index cb048f3a4..a061d29a7 100644 --- a/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts +++ b/src/generated/forge-mcp/zones/transformationsC2pa/outputs.ts @@ -20,21 +20,14 @@ export const speed_transformations_c2pa_response: JsonSchema = { "type": "string" }, "value": { - "$ref": "#/$defs/speed_transformations_c2pa_value" + "enum": [ + "off", + "on" + ], + "type": "string" } }, "type": "object" } ] }; - -/** - * The schema of `speed_transformations_c2pa_value` in responses. - */ -export const speed_transformations_c2pa_value: JsonSchema = { - "enum": [ - "off", - "on" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/transformationsC2pa/schemas.ts b/src/generated/forge-mcp/zones/transformationsC2pa/schemas.ts deleted file mode 100644 index 6dbedc480..000000000 --- a/src/generated/forge-mcp/zones/transformationsC2pa/schemas.ts +++ /dev/null @@ -1,16 +0,0 @@ -// Code generated by forge. DO NOT EDIT. -/* eslint-disable */ - -import type { JsonSchema } from "../../_/tool.js"; - -/** - * The schema of `speed_transformations_c2pa_value`. - */ -export const speed_transformations_c2pa_value: JsonSchema = { - "description": "Whether C2PA signing is enabled for image transformations.", - "enum": [ - "off", - "on" - ], - "type": "string" -}; diff --git a/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts b/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts index d3c68e307..26be9e0e7 100644 --- a/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts +++ b/src/generated/forge-mcp/zones/transformationsC2pa/tools.ts @@ -8,12 +8,7 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; -import { - speed_transformations_c2pa_response, - speed_transformations_c2pa_value, -} from "./outputs.js"; -import { speed_transformations_c2pa_value as speed_transformations_c2pa_value$ } from "./schemas.js"; +import { speed_transformations_c2pa_response } from "./outputs.js"; /** * The tools of `zones.transformationsC2pa`. @@ -22,15 +17,19 @@ export const tools: readonly Tool[] = [ { name: "zones_transformationsC2pa_edit", title: "Change Image Transformations C2PA setting", - description: "C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata\nto images processed through Cloudflare Image Transformations, enabling verification of image\nauthenticity and provenance.", + description: "C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata\nto images processed through Cloudflare Image Transformations, enabling verification of image\nauthenticity and provenance.\n\nPATCH /zones/{zone_id}/settings/transformations_c2pa", inputSchema: { type: "object", properties: { "body": { "properties": { "value": { - "$ref": "#/$defs/speed_transformations_c2pa_value", - "description": "Whether C2PA signing is enabled for image transformations." + "description": "Whether C2PA signing is enabled for image transformations.", + "enum": [ + "off", + "on" + ], + "type": "string" } }, "required": [ @@ -39,10 +38,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,10 +55,7 @@ export const tools: readonly Tool[] = [ "path", "body" ], - $defs: { - "speed_identifier": speed_identifier, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value$, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -79,7 +76,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_transformations_c2pa_response": speed_transformations_c2pa_response, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value, }, }, annotations: { @@ -129,7 +125,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_transformations_c2pa_response": speed_transformations_c2pa_response, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value, }, }, request: (args) => ({ @@ -140,15 +135,16 @@ export const tools: readonly Tool[] = [ { name: "zones_transformationsC2pa_get", title: "Get Image Transformations C2PA setting", - description: "C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata\nto images processed through Cloudflare Image Transformations, enabling verification of image\nauthenticity and provenance.", + description: "C2PA (Coalition for Content Provenance and Authenticity) signing adds cryptographic metadata\nto images processed through Cloudflare Image Transformations, enabling verification of image\nauthenticity and provenance.\n\nGET /zones/{zone_id}/settings/transformations_c2pa", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -160,9 +156,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ @@ -183,7 +177,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_transformations_c2pa_response": speed_transformations_c2pa_response, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value, }, }, annotations: { @@ -234,7 +227,6 @@ export const tools: readonly Tool[] = [ "speed_base": speed_base, "speed_messages": speed_messages, "speed_transformations_c2pa_response": speed_transformations_c2pa_response, - "speed_transformations_c2pa_value": speed_transformations_c2pa_value, }, }, request: (args) => ({ diff --git a/src/generated/forge-mcp/zones/transformationsConfig/schemas.ts b/src/generated/forge-mcp/zones/transformationsConfig/schemas.ts index ccf05a37c..e4426ea87 100644 --- a/src/generated/forge-mcp/zones/transformationsConfig/schemas.ts +++ b/src/generated/forge-mcp/zones/transformationsConfig/schemas.ts @@ -7,10 +7,10 @@ import type { JsonSchema } from "../../_/tool.js"; * The schema of `speed_transformations_config_value`. */ export const speed_transformations_config_value: JsonSchema = { - "description": "Combined configuration value for Transformations. All fields are optional on PATCH;\nomitted fields are left unchanged.\n", + "description": "Combined configuration value for Transformations. All fields are optional on PATCH;\nomitted fields are left unchanged.", "properties": { "allowed_origins": { - "description": "Comma-separated list of allowed origin domains for image and video transformations.\nUse \"*\" to allow all origins (default).\n", + "description": "Comma-separated list of allowed origin domains for image and video transformations.\nUse \"*\" to allow all origins (default).", "type": "string" }, "c2pa": { @@ -22,7 +22,7 @@ export const speed_transformations_config_value: JsonSchema = { "type": "string" }, "transformations": { - "description": "Controls Image Transformations behavior:\n- \"off\": Feature disabled.\n- \"on\": Transformations enabled for same-zone images only.\n- \"open\": Transformations enabled for images from any origin.\n- \"latest\": Transformations enabled using the latest version.\n", + "description": "Controls Image Transformations behavior:\n- \"off\": Feature disabled.\n- \"on\": Transformations enabled for same-zone images only.\n- \"open\": Transformations enabled for images from any origin.\n- \"latest\": Transformations enabled using the latest version.", "enum": [ "off", "on", diff --git a/src/generated/forge-mcp/zones/transformationsConfig/tools.ts b/src/generated/forge-mcp/zones/transformationsConfig/tools.ts index 1cbd0f91c..67122b1fe 100644 --- a/src/generated/forge-mcp/zones/transformationsConfig/tools.ts +++ b/src/generated/forge-mcp/zones/transformationsConfig/tools.ts @@ -8,7 +8,6 @@ import { speed_base, speed_messages, } from "../../outputs.js"; -import { speed_identifier } from "../../schemas.js"; import { speed_transformations_config_response, speed_transformations_config_value, @@ -22,7 +21,7 @@ export const tools: readonly Tool[] = [ { name: "zones_transformationsConfig_edit", title: "Change Transformations configuration", - description: "Updates one or more fields of the combined Transformations configuration for a zone.\nOmitted fields are left unchanged. The response always returns the full current state\nof all three sub-settings.", + description: "Updates one or more fields of the combined Transformations configuration for a zone.\nOmitted fields are left unchanged. The response always returns the full current state\nof all three sub-settings.\n\nPATCH /zones/{zone_id}/settings/transformations_config", inputSchema: { type: "object", properties: { @@ -30,7 +29,7 @@ export const tools: readonly Tool[] = [ "properties": { "value": { "$ref": "#/$defs/speed_transformations_config_value", - "description": "Combined configuration value for Transformations. All fields are optional on PATCH;\nomitted fields are left unchanged.\n" + "description": "Combined configuration value for Transformations. All fields are optional on PATCH;\nomitted fields are left unchanged." } }, "required": [ @@ -39,10 +38,11 @@ export const tools: readonly Tool[] = [ "type": "object" }, "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -55,8 +55,8 @@ export const tools: readonly Tool[] = [ "path", "body" ], + additionalProperties: false, $defs: { - "speed_identifier": speed_identifier, "speed_transformations_config_value": speed_transformations_config_value$, }, }, @@ -140,15 +140,16 @@ export const tools: readonly Tool[] = [ { name: "zones_transformationsConfig_get", title: "Get Transformations configuration", - description: "Returns the combined Transformations configuration for a zone, including the transformations\ntoggle, allowed origins, and C2PA signing settings in a single response.", + description: "Returns the combined Transformations configuration for a zone, including the transformations\ntoggle, allowed origins, and C2PA signing settings in a single response.\n\nGET /zones/{zone_id}/settings/transformations_config", inputSchema: { type: "object", properties: { "path": { + "additionalProperties": false, "properties": { "zone_id": { - "$ref": "#/$defs/speed_identifier", - "description": "Identifier." + "description": "Identifier.", + "type": "string" } }, "required": [ @@ -160,9 +161,7 @@ export const tools: readonly Tool[] = [ required: [ "path" ], - $defs: { - "speed_identifier": speed_identifier, - }, + additionalProperties: false, }, outputSchema: { "allOf": [ diff --git a/tests/forge-tools-plan.test.ts b/tests/forge-tools-plan.test.ts index f63a9d9fc..b21ec348a 100644 --- a/tests/forge-tools-plan.test.ts +++ b/tests/forge-tools-plan.test.ts @@ -37,6 +37,19 @@ describe('planning a generated tool call', () => { ).toEqual({ kind: 'needs_account', argument: 'path.account_or_zone_id' }) }) + it('refuses an argument of the wrong type with its name, before the API sees it', async () => { + const result = await plan( + 'd1_list', + { query: { per_page: 'two' } }, + { sessionAccountId: ACCOUNT } + ) + + expect(result.kind).toBe('invalid') + expect(result.kind === 'invalid' && result.message).toMatch( + /^Invalid arguments for d1_list: query\.per_page: .*"string".*"number"/ + ) + }) + it('refuses parameters passed at the top level, and says where they go', async () => { const result = await plan( 'd1_list', diff --git a/tests/response-validation-worker.test.ts b/tests/response-validation-worker.test.ts index ddc157e83..4818853e2 100644 --- a/tests/response-validation-worker.test.ts +++ b/tests/response-validation-worker.test.ts @@ -92,7 +92,7 @@ describe('direct-tool response schema checks', () => { 'd1_list', // the generated tool whose schema was used '200', 'type', - '#/components/schemas/d1_database-identifier/type', + '#/components/schemas/d1_database-response/properties/uuid/type', '/result/*/uuid', source.release ], @@ -133,7 +133,7 @@ describe('direct-tool response schema checks', () => { 'd1_list', '200', 'type', - '#/components/schemas/d1_database-identifier/type' + '#/components/schemas/d1_database-response/properties/uuid/type' ]) }) From b7ad49947994ac527cd67f8957392214e2a7db21 Mon Sep 17 00:00:00 2001 From: Matt Carey Date: Sat, 31 Oct 2026 18:18:32 +0000 Subject: [PATCH 5/5] refactor(forge): leave argument checks to forge, pin forge at b380789 forge's checkArguments refuses unknown names at the top level and inside path, query and headers, so plan() calls it before filling in the account and has no checks of its own. Wrong types are left to clients, which validate against the generated types, and to the API. --- AGENTS.md | 2 +- forge.json | 2 +- src/forge-tools/plan.ts | 35 ++--------------- src/generated/forge-mcp/_/tool.ts | 65 +++++++++++++++++++++---------- tests/forge-tools-plan.test.ts | 23 ++++++----- 5 files changed, 63 insertions(+), 64 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 676df4f03..50e6250d7 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -204,7 +204,7 @@ The consent page offers minimal, read-only and full-access templates. Minimal is - `src/tools/forge-tools.ts`, in the main Worker, serves `?codemode=false&experimentalForge=true`: `docs` and `whoami` itself, and the generated tools from the service. It sends each planned request with the session's token, which never leaves the main Worker, and explains refused calls and steps up OAuth scopes like the other direct tools - `&experimentalOutputSchema=true` (only with `?codemode=false&experimentalForge=true`) turns on output schemas for 2026-07-28 requests: `tools/list` sends each tool's generated `outputSchema`, and a successful call returns the whole response body, which its output schema describes, as `structuredContent`, never truncated, next to the text, which stays the whole response. A request is 2026-07-28 when its `_meta` envelope names a protocol version (`ctx.mcpReq.envelope`); 2025-era requests are served as without the flag, since their clients expect object output schemas and most generated ones are a `$ref`, `allOf` or scalar. The output schemas come straight from the generator, so the Worker only picks a listing. They are the soak's schemas, so a strict client will reject results the response schema checks flag (Hyperdrive's write-only `origin.password`, cloudflare/forge#63). The listing grows from ~6 MB to ~12 MB (0.64 to 0.98 MB gzipped), loaded only when asked for - Workers Builds deploys the service and the main Worker on every push to `main`. Ship a new RPC method in the service before the main Worker calls it, and in a new environment deploy the service first (`npm run deploy:forge-tools` / `deploy:forge-tools:prod`), since the main Worker binds to it. `npm run dev` runs both, and `npm run types` reads both configs to type the binding. Vitest builds the service with `wrangler deploy --dry-run` and runs it as an auxiliary Worker, so tests call it over the real binding -- Tool names are forge's: each group and the method in camelCase, joined by `_` (`d1_list`, `zeroTrust_access_applications_list`), not `src/openapi.ts`'s. Arguments are grouped by where they go: `path`, `query` and `headers`, each keyed by wire name, plus `body` (`{ path: { account_id }, query: { per_page }, body }`), not the endpoint tools' flat arguments. The generated input schemas set `additionalProperties: false`, so clients that validate refuse unknown arguments; forge's `buildRequest` refuses them too and says which place a misplaced parameter goes in, and `plan()` checks the arguments against the input schema, so a wrong type is refused with its name (`query.per_page`) before the API sees it. A missing account is asked for as `path.account_id`. So switching `?codemode=false` to forge renames every tool and changes its arguments for its clients; that is why the flag soaks first +- Tool names are forge's: each group and the method in camelCase, joined by `_` (`d1_list`, `zeroTrust_access_applications_list`), not `src/openapi.ts`'s. Arguments are grouped by where they go: `path`, `query` and `headers`, each keyed by wire name, plus `body` (`{ path: { account_id }, query: { per_page }, body }`), not the endpoint tools' flat arguments. The generated input schemas set `additionalProperties: false`, so clients that validate refuse unknown arguments; forge's `checkArguments` refuses them too, at the top level and inside `path`, `query` and `headers`, and says where a misplaced parameter goes or what a place takes; `plan()` calls it before filling in the account. Wrong types are left to clients, which validate against the generated types, and to the API, whose refusal the result shows. A missing account is asked for as `path.account_id`. So switching `?codemode=false` to forge renames every tool and changes its arguments for its clients; that is why the flag soaks first ### Skills over MCP diff --git a/forge.json b/forge.json index c9f3030d7..ff5836322 100644 --- a/forge.json +++ b/forge.json @@ -1,5 +1,5 @@ { "$comment": "The forge that generates src/generated/forge-mcp: a commit of cloudflare/forge. Bump ref to pick up generator changes; CI builds it.", "repository": "cloudflare/forge", - "ref": "9ebd355b0900309f1f408ffd4ec97393334b9c1d" + "ref": "b380789daec251e3f01168101e80c18ce1d19513" } diff --git a/src/forge-tools/plan.ts b/src/forge-tools/plan.ts index 5715cf391..fe85637bb 100644 --- a/src/forge-tools/plan.ts +++ b/src/forge-tools/plan.ts @@ -1,6 +1,6 @@ -import { dereference, validate, type Schema } from '@cfworker/json-schema' import { buildRequest, + checkArguments, InvalidArguments, param, type Args, @@ -8,7 +8,6 @@ import { type Tool } from '../generated/forge-mcp/_/tool' import { permissionsOf } from './cloudflare' -import { isolate } from '../lib/isolate' const ACCOUNT_OR_ZONE_PREFIX = '/{account_or_zone}/{account_or_zone_id}' @@ -53,6 +52,8 @@ export function planCall(tool: Tool, given: Args, options: PlanOptions): CallPla let request: HttpRequest let accountId: string | undefined try { + // Before filling in the account, so a misplaced account_id is reported as such. + checkArguments(tool, given) const key = accountKey(tool, given) let args = given if (key && param(given, 'path', key) === undefined) { @@ -60,8 +61,6 @@ export function planCall(tool: Tool, given: Args, options: PlanOptions): CallPla args = withPathParam(given, key, options.sessionAccountId) } request = buildRequest(tool, args, options.baseUrl) - const invalid = argumentErrors(tool, args) - if (invalid) return { kind: 'invalid', message: invalid } accountId = accountIdOf(args) } catch (error) { if (error instanceof InvalidArguments) return { kind: 'invalid', message: error.message } @@ -89,34 +88,6 @@ function accountKey(tool: Tool, args: Args): string | undefined { return undefined } -/** Each tool's input schema, compiled once per isolate. */ -const inputSchemas = isolate.map }>() - -/** Keywords whose errors only say that a nested error happened. */ -const NESTING_KEYWORDS = new Set(['properties', 'items', 'allOf', 'anyOf', 'oneOf', '$ref']) - -/** - * Why `args` don't match `tool`'s input schema, or `undefined` when they do, - * so a wrong type such as `query.per_page: "two"` is refused here with the - * argument's name rather than by the API. `buildRequest` has already refused - * unknown and missing arguments. - */ -function argumentErrors(tool: Tool, args: Args): string | undefined { - const { root, lookup } = inputSchemas.getOrSet(tool.name, () => { - // The validator annotates the schemas it indexes, so it gets a copy. - const root = structuredClone(tool.inputSchema) as Schema - return { root, lookup: dereference(root) } - }) - const result = validate(args, root, '2020-12', lookup, false) - if (result.valid) return undefined - const leaves = result.errors.filter((error) => !NESTING_KEYWORDS.has(error.keyword)) - const shown = (leaves.length > 0 ? leaves : result.errors).slice(0, 3).map((error) => { - const at = error.instanceLocation.replace(/^#\/?/, '').split('/').join('.') - return `${at || 'arguments'}: ${error.error}` - }) - return `Invalid arguments for ${tool.name}: ${shown.join('; ')}` -} - /** Returns `args` with the path parameter `key` set to `value`. */ function withPathParam(args: Args, key: string, value: string): Args { const path = (args.path ?? {}) as Readonly> diff --git a/src/generated/forge-mcp/_/tool.ts b/src/generated/forge-mcp/_/tool.ts index 16b0084f2..00cc3a9a0 100644 --- a/src/generated/forge-mcp/_/tool.ts +++ b/src/generated/forge-mcp/_/tool.ts @@ -144,26 +144,53 @@ export function pathParam(args: Args, name: string): string { /** * Throws {@link InvalidArguments} if `args` has an argument `tool` doesn't - * take, naming where it goes when it is a parameter passed in the wrong place, - * such as `per_page` at the top level instead of in `query`. + * take: a top-level one, naming the place it goes when it is a parameter, such + * as `per_page` at the top level instead of in `query`, or one inside `path`, + * `query` or `headers`, such as a misspelled `query.nmae`. */ function checkUnknownArguments(tool: Tool, args: Args): void { const properties = tool.inputSchema.properties ?? {}; - const unknown = Object.keys(args).filter((key) => !Object.hasOwn(properties, key)); - if (unknown.length === 0) { - return; - } - const hints = unknown.map((key) => { - const place = Object.keys(properties).find((name) => { - const params = properties[name]?.['properties']; - return typeof params === 'object' && params !== null && Object.hasOwn(params, key); + const placeParams = (place: string): readonly string[] => { + const params = properties[place]?.['properties']; + return typeof params === 'object' && params !== null ? Object.keys(params) : []; + }; + const problems = Object.keys(args) + .filter((key) => !Object.hasOwn(properties, key)) + .map((key) => { + const place = Object.keys(properties).find((name) => placeParams(name).includes(key)); + return place ? `${key} goes in ${place}: { "${place}": { "${key}": … } }` : `${key} is not an argument`; }); - return place ? `${key} goes in ${place}: { "${place}": { "${key}": … } }` : `${key} is not an argument`; - }); - const takes = Object.keys(properties); - throw new InvalidArguments( - `Unknown arguments for ${tool.name}: ${hints.join('; ')}. It takes ${takes.length > 0 ? takes.join(', ') : 'no arguments'}.`, - ); + for (const place of ['path', 'query', 'headers'] as const) { + const given = args[place]; + if (given === null || typeof given !== 'object' || Array.isArray(given) || !Object.hasOwn(properties, place)) { + continue; + } + const takes = placeParams(place); + for (const key of Object.keys(given).filter((name) => !takes.includes(name))) { + problems.push(`${place}.${key} is not an argument; ${place} takes ${takes.join(', ')}`); + } + } + if (problems.length > 0) { + const takes = Object.keys(properties); + throw new InvalidArguments( + `Unknown arguments for ${tool.name}: ${problems.join('; ')}. It takes ${takes.length > 0 ? takes.join(', ') : 'no arguments'}.`, + ); + } +} + +/** + * Throws {@link InvalidArguments} if `tool` can't be called with `args`: an + * argument it doesn't take, or a required one left out. {@link buildRequest} + * calls it; a server that fills in arguments, such as an account from the + * session, can call it first, so a misplaced argument isn't mistaken for a + * missing one. + */ +export function checkArguments(tool: Tool, args: Args): void { + checkUnknownArguments(tool, args); + const missing = missingArguments(tool, args); + if (missing.length > 0) { + throw new InvalidArguments(`Missing required arguments: ${missing.join(', ')}`); + } } /** @@ -194,11 +221,7 @@ function missingArguments(tool: Tool, args: Args): string[] { * Throws {@link InvalidArguments}. */ export function buildRequest(tool: Tool, args: Args, baseUrl: string): HttpRequest { - checkUnknownArguments(tool, args); - const missing = missingArguments(tool, args); - if (missing.length > 0) { - throw new InvalidArguments(`Missing required arguments: ${missing.join(', ')}`); - } + checkArguments(tool, args); const api = tool.request(args); const url = new URL(withoutTrailingSlashes(baseUrl) + api.path); for (const [name, value, explode] of api.query ?? []) { diff --git a/tests/forge-tools-plan.test.ts b/tests/forge-tools-plan.test.ts index b21ec348a..87226d8cd 100644 --- a/tests/forge-tools-plan.test.ts +++ b/tests/forge-tools-plan.test.ts @@ -37,17 +37,22 @@ describe('planning a generated tool call', () => { ).toEqual({ kind: 'needs_account', argument: 'path.account_or_zone_id' }) }) - it('refuses an argument of the wrong type with its name, before the API sees it', async () => { - const result = await plan( - 'd1_list', - { query: { per_page: 'two' } }, - { sessionAccountId: ACCOUNT } + it('refuses a misspelled parameter and lists the ones its place takes', async () => { + expect(await plan('d1_list', { query: { nmae: 'db' } }, { sessionAccountId: ACCOUNT })).toEqual( + { + kind: 'invalid', + message: + 'Unknown arguments for d1_list: query.nmae is not an argument; query takes name, page, per_page. ' + + 'It takes path, query.' + } ) + }) - expect(result.kind).toBe('invalid') - expect(result.kind === 'invalid' && result.message).toMatch( - /^Invalid arguments for d1_list: query\.per_page: .*"string".*"number"/ - ) + it('reports a misplaced account_id as misplaced, not as a missing account', async () => { + const result = await plan('d1_list', { account_id: ACCOUNT }) + + expect(result).toMatchObject({ kind: 'invalid' }) + expect(result.kind === 'invalid' && result.message).toContain('account_id goes in path') }) it('refuses parameters passed at the top level, and says where they go', async () => {